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

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.6",
3
+ "version": "47.4.0",
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.6",
51
- "@ckeditor/ckeditor5-comments": "47.4.0-alpha.6",
52
- "@ckeditor/ckeditor5-core": "47.4.0-alpha.6",
53
- "@ckeditor/ckeditor5-editor-multi-root": "47.4.0-alpha.6",
54
- "@ckeditor/ckeditor5-engine": "47.4.0-alpha.6",
55
- "@ckeditor/ckeditor5-operations-compressor": "47.4.0-alpha.6",
56
- "@ckeditor/ckeditor5-revision-history": "47.4.0-alpha.6",
57
- "@ckeditor/ckeditor5-theme-lark": "47.4.0-alpha.6",
58
- "@ckeditor/ckeditor5-track-changes": "47.4.0-alpha.6",
59
- "@ckeditor/ckeditor5-ui": "47.4.0-alpha.6",
60
- "@ckeditor/ckeditor5-utils": "47.4.0-alpha.6",
61
- "ckeditor5": "47.4.0-alpha.6",
62
- "ckeditor5-collaboration": "47.4.0-alpha.6",
50
+ "@ckeditor/ckeditor5-cloud-services": "47.4.0",
51
+ "@ckeditor/ckeditor5-comments": "47.4.0",
52
+ "@ckeditor/ckeditor5-core": "47.4.0",
53
+ "@ckeditor/ckeditor5-editor-multi-root": "47.4.0",
54
+ "@ckeditor/ckeditor5-engine": "47.4.0",
55
+ "@ckeditor/ckeditor5-operations-compressor": "47.4.0",
56
+ "@ckeditor/ckeditor5-revision-history": "47.4.0",
57
+ "@ckeditor/ckeditor5-theme-lark": "47.4.0",
58
+ "@ckeditor/ckeditor5-track-changes": "47.4.0",
59
+ "@ckeditor/ckeditor5-ui": "47.4.0",
60
+ "@ckeditor/ckeditor5-utils": "47.4.0",
61
+ "ckeditor5": "47.4.0",
62
+ "ckeditor5-collaboration": "47.4.0",
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 _0x4ded9e=_0x5eca;(function(_0x3f0f40,_0x284dc1){const _0x477319=_0x5eca,_0x4cc240=_0x3f0f40();while(!![]){try{const _0x27a718=-parseInt(_0x477319(0x100))/0x1*(-parseInt(_0x477319(0xad))/0x2)+parseInt(_0x477319(0xb6))/0x3*(-parseInt(_0x477319(0xfe))/0x4)+parseInt(_0x477319(0xc4))/0x5*(parseInt(_0x477319(0xc2))/0x6)+parseInt(_0x477319(0xf7))/0x7*(parseInt(_0x477319(0xb2))/0x8)+parseInt(_0x477319(0xa7))/0x9+-parseInt(_0x477319(0xac))/0xa*(parseInt(_0x477319(0xb9))/0xb)+parseInt(_0x477319(0xf8))/0xc;if(_0x27a718===_0x284dc1)break;else _0x4cc240['push'](_0x4cc240['shift']());}catch(_0x871c71){_0x4cc240['push'](_0x4cc240['shift']());}}}(_0x13c0,0xed55c));import{ContextPlugin as _0x51d78d}from'ckeditor5/src/core.js';function _0x13c0(){const _0x223806=['textarea','49VrsGAA','4590480xIUgQj','focus','isPremiumPlugin','presencelist-collapseat-invalid-format','isExpanded','input','8WvBrNv','activeElement','20873oLvJLQ','set','displayMe','_bodyCollection','inlineListView','onClick','isRendered','hasTooltip','presencelist-missing-container','Enter','requires','from','define','indexOf','ck\x20ck-presence-list__balloon','locale','listenTo','body','Esc','_handleUserAdd','6112863YqoDpP','counterView','PresenceListUI','isOfficialPlugin','map','7395670dySEdW','102nFCuQW','context','offsetHeight','min','get','120752iBZenm','change:isFocused','content','tabIndex','2302017WKNWFA','destroy','find','11nVsmCD','join',':not([disabled]):not([tabindex=\x22-1\x22])','select','_createView','isCollapsed','plugins','render','presencelist:hide','119346EnXoUq','view','255rSEfUF','isMe','allConnectedUsers','init','bindTo','remove','presenceDropdownView','presenceList.collapseAt','_handleUserRemove','presencelist:show','isVisible','bind','length','button','presenceList.displayMe','sort','execute','presenceList.container','[contenteditable]','keystrokes','showDropdown','pluginName','reverse','filter','add','[tabindex]','pin','appendChild','class','presenceList','using','usersCount','unpin','currentDisplayedUsers','element','Shift+Tab','items','attachToDom','querySelectorAll','detachFromDom','focusTracker','checkIfScrollable','balloonPanelView','offsetWidth','hideDropdown','_allConnectedUsers','isFocusable','Tab','number','config'];_0x13c0=function(){return _0x223806;};return _0x13c0();}import{CKEditorError as _0x1648c6,Collection as _0x2d3c2e}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x3bbc01,BalloonPanelView as _0xb723e6,BodyCollection as _0x2add77}from'ckeditor5/src/ui.js';import{isElement as _0x59aad1}from'es-toolkit/compat';import{Sessions as _0x39354a}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x2cf3aa}from'./view/presencelistview.js';import{PresenceCounterView as _0xb207e3}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x561ccb}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0x14eabf}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x390753}from'./view/presenceinlinelistitemview.js';function _0x5eca(_0x23998f,_0x11e9d0){const _0x13c0eb=_0x13c0();return _0x5eca=function(_0x5ecae7,_0x35d421){_0x5ecae7=_0x5ecae7-0xa1;let _0x25edc9=_0x13c0eb[_0x5ecae7];return _0x25edc9;},_0x5eca(_0x23998f,_0x11e9d0);}const x={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x51d78d{[_0x4ded9e(0xe5)];[_0x4ded9e(0xee)];[_0x4ded9e(0xc3)];[_0x4ded9e(0xca)];[_0x4ded9e(0x103)]=null;static get[_0x4ded9e(0xd9)](){const _0xbeaeaa=_0x4ded9e;return _0xbeaeaa(0xa9);}static get[_0x4ded9e(0xaa)](){return!0x0;}static get[_0x4ded9e(0xfa)](){return!0x0;}constructor(_0x5c7358){const _0x5b4d17=_0x4ded9e;super(_0x5c7358),this[_0x5b4d17(0xae)][_0x5b4d17(0xf5)][_0x5b4d17(0x10c)](_0x5b4d17(0xe1),x);const _0x2381d1=_0x5c7358[_0x5b4d17(0xf5)][_0x5b4d17(0xb1)](_0x5b4d17(0xcb));if(_0x5b4d17(0xf4)!=typeof _0x2381d1)throw new _0x1648c6(_0x5b4d17(0xfb),this);if(_0x2381d1<0x1)throw new _0x1648c6(_0x5b4d17(0xfb),this);this[_0x5b4d17(0xf1)]=this[_0x5b4d17(0xae)][_0x5b4d17(0xbf)][_0x5b4d17(0xb1)](_0x39354a)[_0x5b4d17(0xc6)],this[_0x5b4d17(0x101)](_0x5b4d17(0xe3),0x0),this[_0x5b4d17(0xe5)]=new _0x2d3c2e(),this[_0x5b4d17(0xee)]=new _0xb723e6(),this[_0x5b4d17(0xee)][_0x5b4d17(0xe0)]=_0x5b4d17(0xa1),this[_0x5b4d17(0xc3)]=this[_0x5b4d17(0xbd)](),this[_0x5b4d17(0xca)]=void 0x0;}static get[_0x4ded9e(0x10a)](){return[_0x39354a];}[_0x4ded9e(0xc7)](){const _0x32b78f=_0x4ded9e;for(const _0x5e519b of this[_0x32b78f(0xf1)])this[_0x32b78f(0xa6)](_0x5e519b);this[_0x32b78f(0xa3)](this[_0x32b78f(0xf1)],_0x32b78f(0xdc),(_0x1a9acd,_0x5e3102)=>{const _0x299304=_0x32b78f;this[_0x299304(0xa6)](_0x5e3102);}),this[_0x32b78f(0xa3)](this[_0x32b78f(0xf1)],_0x32b78f(0xc9),(_0x257dce,_0x209463)=>{const _0x4f0738=_0x32b78f;this[_0x4f0738(0xcc)](_0x209463);});}[_0x4ded9e(0xbd)](){const _0x12befc=_0x4ded9e,_0x22390d=this[_0x12befc(0xae)],_0x1e5616=new _0x2cf3aa(this[_0x12befc(0xae)][_0x12befc(0xa2)],this[_0x12befc(0xae)][_0x12befc(0xf5)][_0x12befc(0xb1)](_0x12befc(0xcb))),_0x29d9ed=this[_0x12befc(0xee)];if(!_0x59aad1(_0x22390d[_0x12befc(0xf5)][_0x12befc(0xb1)](_0x12befc(0xd5))))throw new _0x1648c6(_0x12befc(0x108),this);return _0x1e5616[_0x12befc(0xa8)][_0x12befc(0xcf)](_0x12befc(0xe3))['to'](this),_0x1e5616[_0x12befc(0xcf)](_0x12befc(0xbe))['to'](this,_0x12befc(0xe3),_0x100fc9=>{const _0x2ce5ac=_0x12befc,{collapseAt:_0x1d7c4c}=_0x22390d[_0x2ce5ac(0xf5)][_0x2ce5ac(0xb1)](_0x2ce5ac(0xe1)),_0x31861a=_0x100fc9>=_0x1d7c4c;if(_0x31861a&&!_0x1e5616[_0x2ce5ac(0x104)][_0x2ce5ac(0xe8)][_0x2ce5ac(0xb8)](_0x121e6a=>_0x121e6a instanceof _0xb207e3)){const _0xcf65bf=this[_0x2ce5ac(0xae)][_0x2ce5ac(0xf5)][_0x2ce5ac(0xb1)](_0x2ce5ac(0xcb))-0x1;this[_0x2ce5ac(0xe5)][_0x2ce5ac(0xd0)]==_0xcf65bf&&this[_0x2ce5ac(0xe5)][_0x2ce5ac(0xd0)]>0x1&&this[_0x2ce5ac(0xe5)][_0x2ce5ac(0xc9)](this[_0x2ce5ac(0xe5)][_0x2ce5ac(0xd0)]-0x1),_0x1e5616[_0x2ce5ac(0x104)][_0x2ce5ac(0xe8)][_0x2ce5ac(0xdc)](_0x1e5616[_0x2ce5ac(0xa8)]);}return _0x31861a||this[_0x2ce5ac(0xf0)](),_0x31861a;}),_0x1e5616[_0x12befc(0x104)][_0x12befc(0xe8)][_0x12befc(0xc8)](this[_0x12befc(0xe5)])[_0x12befc(0xe2)](_0x78700a=>{const _0x1dc507=_0x12befc,_0x28465a=_0x22390d[_0x1dc507(0xf5)][_0x1dc507(0xb1)](_0x1dc507(0xe1)),_0x1c7dff=new _0x390753(_0x22390d[_0x1dc507(0xa2)],_0x78700a,!!_0x28465a[_0x1dc507(0x105)]);return _0x1c7dff[_0x1dc507(0xcf)](_0x1dc507(0x107))['to'](_0x1e5616,_0x1dc507(0xbe),_0xa5159e=>!_0xa5159e),_0x1c7dff[_0x1dc507(0xcf)](_0x1dc507(0xf2))['to'](_0x1e5616,_0x1dc507(0xbe),_0x5c3802=>!_0x5c3802),_0x28465a[_0x1dc507(0x105)]&&this[_0x1dc507(0xa3)](_0x1c7dff,_0x1dc507(0xd4),()=>{const _0x3db23a=_0x1dc507;this[_0x3db23a(0xc3)][_0x3db23a(0xbe)]||_0x28465a[_0x3db23a(0x105)](_0x78700a,_0x1c7dff[_0x3db23a(0xe6)]);}),_0x1c7dff;}),this[_0x12befc(0xa3)](_0x1e5616[_0x12befc(0x104)],_0x12befc(0xcd),()=>{const _0x5322b4=_0x12befc;this[_0x5322b4(0xc3)][_0x5322b4(0xbe)]&&this[_0x5322b4(0xd8)]();}),this[_0x12befc(0xa3)](_0x1e5616[_0x12befc(0x104)],_0x12befc(0xc1),()=>{const _0x2598d0=_0x12befc;this[_0x2598d0(0xca)]&&this[_0x2598d0(0xf0)]();}),_0x1e5616[_0x12befc(0x104)][_0x12befc(0xd7)][_0x12befc(0x101)](_0x12befc(0x109),(_0x53f158,_0x3a8f26)=>{const _0x52da55=_0x12befc;this[_0x52da55(0xc3)][_0x52da55(0xbe)]&&(this[_0x52da55(0xd8)](),_0x3a8f26());}),_0x1e5616[_0x12befc(0xc0)](),_0x29d9ed[_0x12befc(0xc0)](),_0x3bbc01({'emitter':_0x1e5616,'activator':()=>_0x29d9ed[_0x12befc(0xce)],'contextElements':[_0x29d9ed[_0x12befc(0xe6)],_0x1e5616[_0x12befc(0x104)][_0x12befc(0xe6)]],'callback':()=>this[_0x12befc(0xf0)]()}),_0x22390d[_0x12befc(0xf5)][_0x12befc(0xb1)](_0x12befc(0xd5))[_0x12befc(0xdf)](_0x1e5616[_0x12befc(0xe6)]),this[_0x12befc(0x103)]=new _0x2add77(this[_0x12befc(0xae)][_0x12befc(0xa2)]),this[_0x12befc(0x103)][_0x12befc(0xe9)](),this[_0x12befc(0x103)][_0x12befc(0xdc)](this[_0x12befc(0xee)]),_0x1e5616;}[_0x4ded9e(0xa6)](_0x34c658){const _0x525b8c=_0x4ded9e;if(!this[_0x525b8c(0xae)][_0x525b8c(0xf5)][_0x525b8c(0xb1)](_0x525b8c(0xd2))&&_0x34c658[_0x525b8c(0xc5)])return;const _0x5ab598=this[_0x525b8c(0xae)][_0x525b8c(0xf5)][_0x525b8c(0xb1)](_0x525b8c(0xcb))-0x1;for(this[_0x525b8c(0xe3)]++;this[_0x525b8c(0xe5)][_0x525b8c(0xd0)]>=_0x5ab598-(this[_0x525b8c(0xc3)][_0x525b8c(0xbe)]?0x1:0x0)&&this[_0x525b8c(0xe5)][_0x525b8c(0xd0)]>0x1;)this[_0x525b8c(0xe5)][_0x525b8c(0xc9)](0x1);const _0x545850=_0x34c658[_0x525b8c(0xc5)]?0x0:this[_0x525b8c(0xe5)][_0x525b8c(0xd0)];this[_0x525b8c(0xe5)][_0x525b8c(0xdc)](_0x34c658,_0x545850);}[_0x4ded9e(0xcc)](_0x4e6510){const _0x42f565=_0x4ded9e;this[_0x42f565(0xe3)]--;const {collapseAt:_0xceb8d8}=this[_0x42f565(0xae)][_0x42f565(0xf5)][_0x42f565(0xb1)](_0x42f565(0xe1)),_0x5e470a=this[_0x42f565(0xe3)]>=_0xceb8d8;if(this[_0x42f565(0xe5)][_0x42f565(0xb1)](_0x4e6510['id']))this[_0x42f565(0xe5)][_0x42f565(0xc9)](_0x4e6510['id']);else{if(_0x5e470a&&this[_0x42f565(0xe5)][_0x42f565(0xd0)]+0x1===_0xceb8d8-0x1)return;}if(this[_0x42f565(0xe5)][_0x42f565(0xd0)]+(_0x5e470a?0x1:0x0)<this[_0x42f565(0xe3)]){for(const _0x65f937 of Array[_0x42f565(0x10b)](this[_0x42f565(0xf1)])[_0x42f565(0xda)]())if(!this[_0x42f565(0xe5)][_0x42f565(0xb1)](_0x65f937['id'])&&(this[_0x42f565(0xe5)][_0x42f565(0xdc)](_0x65f937,Math[_0x42f565(0xb0)](this[_0x42f565(0xe5)][_0x42f565(0xd0)]-(_0x5e470a?0x1:0x0),0x1)),this[_0x42f565(0xe5)][_0x42f565(0xd0)]+(_0x5e470a?0x1:0x0)===_0xceb8d8-0x1))return;}}[_0x4ded9e(0xd8)](){const _0x4a2166=_0x4ded9e;if(this[_0x4a2166(0xca)])return;const _0x420719=this[_0x4a2166(0xae)][_0x4a2166(0xf5)][_0x4a2166(0xb1)](_0x4a2166(0xe1));this[_0x4a2166(0xca)]=new _0x561ccb(this[_0x4a2166(0xae)][_0x4a2166(0xa2)],!!_0x420719[_0x4a2166(0x105)]),this[_0x4a2166(0xc3)][_0x4a2166(0x104)][_0x4a2166(0xfc)]=!0x0,this[_0x4a2166(0xa3)](this[_0x4a2166(0xca)],_0x4a2166(0xc1),()=>{const _0x2a7890=_0x4a2166;this[_0x2a7890(0xca)]&&this[_0x2a7890(0xf0)]();});const {listWrapperView:_0xb9da69}=this[_0x4a2166(0xca)];_0xb9da69[_0x4a2166(0xe8)][_0x4a2166(0xc8)](this[_0x4a2166(0xf1)])[_0x4a2166(0xe2)](_0x202c8f=>{const _0x5749a5=_0x4a2166;if(!_0x420719[_0x5749a5(0x102)]&&_0x202c8f[_0x5749a5(0xc5)])return null;const _0x4f9d79=new _0x14eabf(this[_0x5749a5(0xae)][_0x5749a5(0xa2)],_0x202c8f,!!_0x420719[_0x5749a5(0x105)]);return _0x420719[_0x5749a5(0x105)]&&this[_0x5749a5(0xa3)](_0x4f9d79,_0x5749a5(0xd4),()=>{const _0x41aca7=_0x5749a5;_0x420719[_0x41aca7(0x105)](_0x202c8f,_0x4f9d79[_0x41aca7(0xe6)]);}),_0x4f9d79;}),this[_0x4a2166(0xee)][_0x4a2166(0xb4)][_0x4a2166(0xdc)](this[_0x4a2166(0xca)]),this[_0x4a2166(0xee)][_0x4a2166(0xde)]({'target':this[_0x4a2166(0xc3)][_0x4a2166(0x104)][_0x4a2166(0xe6)]}),_0xb9da69[_0x4a2166(0xf9)](),_0xb9da69[_0x4a2166(0xed)]();const _0x5877f1=(_0x36092e,_0x404d84)=>{const _0x598ee5=_0x4a2166;this[_0x598ee5(0xf0)](),this[_0x598ee5(0xc3)][_0x598ee5(0x104)][_0x598ee5(0xf9)](),_0x404d84();};_0xb9da69[_0x4a2166(0xd7)][_0x4a2166(0x101)](_0x4a2166(0xa5),_0x5877f1),_0xb9da69[_0x4a2166(0xd7)][_0x4a2166(0x101)](_0x4a2166(0xe7),_0x5877f1),_0xb9da69[_0x4a2166(0xd7)][_0x4a2166(0x101)](_0x4a2166(0xf3),(_0x417d88,_0x1ca64c)=>{const _0x480814=_0x4a2166;!function(_0x2f94c8){const _0x578a7e=_0x5eca,_0x19af5a=['a',_0x578a7e(0xd1),_0x578a7e(0xfd),_0x578a7e(0xbc),_0x578a7e(0xf6),_0x578a7e(0xdd),_0x578a7e(0xd6)][_0x578a7e(0xab)](_0x4fecfa=>_0x4fecfa+_0x578a7e(0xbb))[_0x578a7e(0xba)](','),_0xaf5f0a=[...document[_0x578a7e(0xa4)][_0x578a7e(0xea)](_0x19af5a)][_0x578a7e(0xdb)](_0x291c33=>_0x291c33===document[_0x578a7e(0xff)]||_0x291c33[_0x578a7e(0xef)]+_0x291c33[_0x578a7e(0xaf)]>0x0)[_0x578a7e(0xd3)]((_0x148a95,_0x2d7872)=>(_0x148a95[_0x578a7e(0xb5)]||0x0)-(_0x2d7872[_0x578a7e(0xb5)]||0x0)),_0x5c5676=_0xaf5f0a[_0x578a7e(0x10d)](_0x2f94c8),_0x406c99=_0xaf5f0a[(_0x5c5676+0x1)%_0xaf5f0a[_0x578a7e(0xd0)]];_0x406c99&&_0x406c99[_0x578a7e(0xf9)]();}(this[_0x480814(0xc3)][_0x480814(0xe6)]),this[_0x480814(0xf0)](),_0x1ca64c();}),_0xb9da69[_0x4a2166(0xec)][_0x4a2166(0xdc)](this[_0x4a2166(0xc3)][_0x4a2166(0xe6)]),_0xb9da69[_0x4a2166(0xec)]['on'](_0x4a2166(0xb3),(_0xeed609,_0x52765a,_0xdfb793)=>{const _0x44f633=_0x4a2166;_0xdfb793||this[_0x44f633(0xf0)]();});}[_0x4ded9e(0xf0)](){const _0x16971a=_0x4ded9e;this[_0x16971a(0xca)]&&(this[_0x16971a(0xc3)][_0x16971a(0x104)][_0x16971a(0xfc)]=!0x1,this[_0x16971a(0xee)][_0x16971a(0xe4)](),this[_0x16971a(0xee)][_0x16971a(0xb4)][_0x16971a(0xc9)](this[_0x16971a(0xca)]),this[_0x16971a(0xca)][_0x16971a(0xb7)](),this[_0x16971a(0xca)]=void 0x0);}[_0x4ded9e(0xb7)](){const _0x1e1998=_0x4ded9e;super[_0x1e1998(0xb7)](),this[_0x1e1998(0xc3)]&&this[_0x1e1998(0xc3)][_0x1e1998(0x106)]&&this[_0x1e1998(0xc3)][_0x1e1998(0xb7)](),this[_0x1e1998(0x103)]&&(this[_0x1e1998(0x103)][_0x1e1998(0xeb)](),this[_0x1e1998(0x103)][_0x1e1998(0xb7)](),this[_0x1e1998(0x103)]=null);}}
23
+ const _0x4fd222=_0x31c9;(function(_0x1c38d7,_0xfb1391){const _0x48c7b7=_0x31c9,_0x5c384e=_0x1c38d7();while(!![]){try{const _0x3e31f0=-parseInt(_0x48c7b7(0x17d))/0x1*(parseInt(_0x48c7b7(0x186))/0x2)+-parseInt(_0x48c7b7(0x156))/0x3+-parseInt(_0x48c7b7(0x173))/0x4*(parseInt(_0x48c7b7(0x166))/0x5)+parseInt(_0x48c7b7(0x187))/0x6*(parseInt(_0x48c7b7(0x164))/0x7)+-parseInt(_0x48c7b7(0x184))/0x8+-parseInt(_0x48c7b7(0x18d))/0x9*(parseInt(_0x48c7b7(0x165))/0xa)+parseInt(_0x48c7b7(0x182))/0xb;if(_0x3e31f0===_0xfb1391)break;else _0x5c384e['push'](_0x5c384e['shift']());}catch(_0x259d92){_0x5c384e['push'](_0x5c384e['shift']());}}}(_0x1e97,0x8798b));import{ContextPlugin as _0x3ee8d3}from'ckeditor5/src/core.js';import{CKEditorError as _0x3439ae,Collection as _0x3ccc1e}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0xba52cf,BalloonPanelView as _0x31a58a,BodyCollection as _0x30a4ce}from'ckeditor5/src/ui.js';import{isElement as _0x287d5b}from'es-toolkit/compat';function _0x1e97(){const _0x3d5681=['PresenceListUI','focusTracker','length','presenceList.displayMe','ck\x20ck-presence-list__balloon','Enter','offsetWidth','class','remove','locale','pluginName','usersCount','content','isMe','map','destroy','indexOf','element','320040HQFXwy','button','select','number','tabIndex','presenceDropdownView','offsetHeight','get','filter','querySelectorAll','context','body','detachFromDom','presencelist-missing-container','6229657hlLCil','27440oIUERY','85IgvKzX','_createView','sort','activeElement','plugins','bindTo','presenceList','using','render','[tabindex]','inlineListView','from','execute','71772MNzOPK','requires','presenceList.container','textarea','counterView','isOfficialPlugin','presencelist:show','input','presenceList.collapseAt','config','374177mYkPXZ','isPremiumPlugin','currentDisplayedUsers','isVisible','presencelist-collapseat-invalid-format','24428602ELAgel','appendChild','7811408pUjIIq','reverse','2OUzOdw','6gTaqBD','_bodyCollection','onClick','items','focus','_allConnectedUsers','2601ocOdMX','checkIfScrollable','find','displayMe','Shift+Tab','add','isCollapsed','balloonPanelView','define','view','join','pin','isExpanded','init','showDropdown','Esc','_handleUserAdd','_handleUserRemove','Tab','attachToDom','change:isFocused','[contenteditable]','presencelist:hide','hasTooltip','allConnectedUsers','set','min','hideDropdown','unpin','listenTo','isFocusable','isRendered',':not([disabled]):not([tabindex=\x22-1\x22])','bind','keystrokes'];_0x1e97=function(){return _0x3d5681;};return _0x1e97();}import{Sessions as _0x334eca}from'../realtimecollaborativeediting/sessions.js';function _0x31c9(_0x4fd9e6,_0x253312){const _0x1e9781=_0x1e97();return _0x31c9=function(_0x31c90d,_0xeb50a9){_0x31c90d=_0x31c90d-0x122;let _0x1df1bb=_0x1e9781[_0x31c90d];return _0x1df1bb;},_0x31c9(_0x4fd9e6,_0x253312);}import{PresenceListView as _0xdfc7f6}from'./view/presencelistview.js';import{PresenceCounterView as _0x11ce7f}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x236bd1}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0x5792c6}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x18b3d3}from'./view/presenceinlinelistitemview.js';const Z={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x3ee8d3{[_0x4fd222(0x17f)];[_0x4fd222(0x128)];[_0x4fd222(0x12a)];[_0x4fd222(0x15b)];[_0x4fd222(0x188)]=null;static get[_0x4fd222(0x14e)](){const _0x5e017d=_0x4fd222;return _0x5e017d(0x144);}static get[_0x4fd222(0x178)](){return!0x0;}static get[_0x4fd222(0x17e)](){return!0x0;}constructor(_0x5d41bf){const _0x28b81e=_0x4fd222;super(_0x5d41bf),this[_0x28b81e(0x160)][_0x28b81e(0x17c)][_0x28b81e(0x129)](_0x28b81e(0x16c),Z);const _0x67347f=_0x5d41bf[_0x28b81e(0x17c)][_0x28b81e(0x15d)](_0x28b81e(0x17b));if(_0x28b81e(0x159)!=typeof _0x67347f)throw new _0x3439ae(_0x28b81e(0x181),this);if(_0x67347f<0x1)throw new _0x3439ae(_0x28b81e(0x181),this);this[_0x28b81e(0x18c)]=this[_0x28b81e(0x160)][_0x28b81e(0x16a)][_0x28b81e(0x15d)](_0x334eca)[_0x28b81e(0x139)],this[_0x28b81e(0x13a)](_0x28b81e(0x14f),0x0),this[_0x28b81e(0x17f)]=new _0x3ccc1e(),this[_0x28b81e(0x128)]=new _0x31a58a(),this[_0x28b81e(0x128)][_0x28b81e(0x14b)]=_0x28b81e(0x148),this[_0x28b81e(0x12a)]=this[_0x28b81e(0x167)](),this[_0x28b81e(0x15b)]=void 0x0;}static get[_0x4fd222(0x174)](){return[_0x334eca];}[_0x4fd222(0x12e)](){const _0x155188=_0x4fd222;for(const _0x177094 of this[_0x155188(0x18c)])this[_0x155188(0x131)](_0x177094);this[_0x155188(0x13e)](this[_0x155188(0x18c)],_0x155188(0x126),(_0x2afa14,_0x371271)=>{const _0x3c5703=_0x155188;this[_0x3c5703(0x131)](_0x371271);}),this[_0x155188(0x13e)](this[_0x155188(0x18c)],_0x155188(0x14c),(_0xaac671,_0x3e3ff)=>{const _0xe3dacb=_0x155188;this[_0xe3dacb(0x132)](_0x3e3ff);});}[_0x4fd222(0x167)](){const _0x50249f=_0x4fd222,_0xb64766=this[_0x50249f(0x160)],_0x53adfb=new _0xdfc7f6(this[_0x50249f(0x160)][_0x50249f(0x14d)],this[_0x50249f(0x160)][_0x50249f(0x17c)][_0x50249f(0x15d)](_0x50249f(0x17b))),_0xbcd079=this[_0x50249f(0x128)];if(!_0x287d5b(_0xb64766[_0x50249f(0x17c)][_0x50249f(0x15d)](_0x50249f(0x175))))throw new _0x3439ae(_0x50249f(0x163),this);return _0x53adfb[_0x50249f(0x177)][_0x50249f(0x142)](_0x50249f(0x14f))['to'](this),_0x53adfb[_0x50249f(0x142)](_0x50249f(0x127))['to'](this,_0x50249f(0x14f),_0x46b3f1=>{const _0x22665e=_0x50249f,{collapseAt:_0x2fd418}=_0xb64766[_0x22665e(0x17c)][_0x22665e(0x15d)](_0x22665e(0x16c)),_0x26ca09=_0x46b3f1>=_0x2fd418;if(_0x26ca09&&!_0x53adfb[_0x22665e(0x170)][_0x22665e(0x18a)][_0x22665e(0x123)](_0x40c39a=>_0x40c39a instanceof _0x11ce7f)){const _0x526818=this[_0x22665e(0x160)][_0x22665e(0x17c)][_0x22665e(0x15d)](_0x22665e(0x17b))-0x1;this[_0x22665e(0x17f)][_0x22665e(0x146)]==_0x526818&&this[_0x22665e(0x17f)][_0x22665e(0x146)]>0x1&&this[_0x22665e(0x17f)][_0x22665e(0x14c)](this[_0x22665e(0x17f)][_0x22665e(0x146)]-0x1),_0x53adfb[_0x22665e(0x170)][_0x22665e(0x18a)][_0x22665e(0x126)](_0x53adfb[_0x22665e(0x177)]);}return _0x26ca09||this[_0x22665e(0x13c)](),_0x26ca09;}),_0x53adfb[_0x50249f(0x170)][_0x50249f(0x18a)][_0x50249f(0x16b)](this[_0x50249f(0x17f)])[_0x50249f(0x16d)](_0x2b40bf=>{const _0x1da7f8=_0x50249f,_0x1de548=_0xb64766[_0x1da7f8(0x17c)][_0x1da7f8(0x15d)](_0x1da7f8(0x16c)),_0x1567a9=new _0x18b3d3(_0xb64766[_0x1da7f8(0x14d)],_0x2b40bf,!!_0x1de548[_0x1da7f8(0x189)]);return _0x1567a9[_0x1da7f8(0x142)](_0x1da7f8(0x138))['to'](_0x53adfb,_0x1da7f8(0x127),_0x290e18=>!_0x290e18),_0x1567a9[_0x1da7f8(0x142)](_0x1da7f8(0x13f))['to'](_0x53adfb,_0x1da7f8(0x127),_0x4e1381=>!_0x4e1381),_0x1de548[_0x1da7f8(0x189)]&&this[_0x1da7f8(0x13e)](_0x1567a9,_0x1da7f8(0x172),()=>{const _0x5681b9=_0x1da7f8;this[_0x5681b9(0x12a)][_0x5681b9(0x127)]||_0x1de548[_0x5681b9(0x189)](_0x2b40bf,_0x1567a9[_0x5681b9(0x155)]);}),_0x1567a9;}),this[_0x50249f(0x13e)](_0x53adfb[_0x50249f(0x170)],_0x50249f(0x179),()=>{const _0x3b07ff=_0x50249f;this[_0x3b07ff(0x12a)][_0x3b07ff(0x127)]&&this[_0x3b07ff(0x12f)]();}),this[_0x50249f(0x13e)](_0x53adfb[_0x50249f(0x170)],_0x50249f(0x137),()=>{const _0x7c2cab=_0x50249f;this[_0x7c2cab(0x15b)]&&this[_0x7c2cab(0x13c)]();}),_0x53adfb[_0x50249f(0x170)][_0x50249f(0x143)][_0x50249f(0x13a)](_0x50249f(0x149),(_0x41ba57,_0x4ecded)=>{const _0xa240a6=_0x50249f;this[_0xa240a6(0x12a)][_0xa240a6(0x127)]&&(this[_0xa240a6(0x12f)](),_0x4ecded());}),_0x53adfb[_0x50249f(0x16e)](),_0xbcd079[_0x50249f(0x16e)](),_0xba52cf({'emitter':_0x53adfb,'activator':()=>_0xbcd079[_0x50249f(0x180)],'contextElements':[_0xbcd079[_0x50249f(0x155)],_0x53adfb[_0x50249f(0x170)][_0x50249f(0x155)]],'callback':()=>this[_0x50249f(0x13c)]()}),_0xb64766[_0x50249f(0x17c)][_0x50249f(0x15d)](_0x50249f(0x175))[_0x50249f(0x183)](_0x53adfb[_0x50249f(0x155)]),this[_0x50249f(0x188)]=new _0x30a4ce(this[_0x50249f(0x160)][_0x50249f(0x14d)]),this[_0x50249f(0x188)][_0x50249f(0x134)](),this[_0x50249f(0x188)][_0x50249f(0x126)](this[_0x50249f(0x128)]),_0x53adfb;}[_0x4fd222(0x131)](_0x233f6a){const _0x21d928=_0x4fd222;if(!this[_0x21d928(0x160)][_0x21d928(0x17c)][_0x21d928(0x15d)](_0x21d928(0x147))&&_0x233f6a[_0x21d928(0x151)])return;const _0x22b09c=this[_0x21d928(0x160)][_0x21d928(0x17c)][_0x21d928(0x15d)](_0x21d928(0x17b))-0x1;for(this[_0x21d928(0x14f)]++;this[_0x21d928(0x17f)][_0x21d928(0x146)]>=_0x22b09c-(this[_0x21d928(0x12a)][_0x21d928(0x127)]?0x1:0x0)&&this[_0x21d928(0x17f)][_0x21d928(0x146)]>0x1;)this[_0x21d928(0x17f)][_0x21d928(0x14c)](0x1);const _0x16aaa5=_0x233f6a[_0x21d928(0x151)]?0x0:this[_0x21d928(0x17f)][_0x21d928(0x146)];this[_0x21d928(0x17f)][_0x21d928(0x126)](_0x233f6a,_0x16aaa5);}[_0x4fd222(0x132)](_0x56b98d){const _0x2a937b=_0x4fd222;this[_0x2a937b(0x14f)]--;const {collapseAt:_0x1853b7}=this[_0x2a937b(0x160)][_0x2a937b(0x17c)][_0x2a937b(0x15d)](_0x2a937b(0x16c)),_0xed2b51=this[_0x2a937b(0x14f)]>=_0x1853b7;if(this[_0x2a937b(0x17f)][_0x2a937b(0x15d)](_0x56b98d['id']))this[_0x2a937b(0x17f)][_0x2a937b(0x14c)](_0x56b98d['id']);else{if(_0xed2b51&&this[_0x2a937b(0x17f)][_0x2a937b(0x146)]+0x1===_0x1853b7-0x1)return;}if(this[_0x2a937b(0x17f)][_0x2a937b(0x146)]+(_0xed2b51?0x1:0x0)<this[_0x2a937b(0x14f)]){for(const _0x5ba39e of Array[_0x2a937b(0x171)](this[_0x2a937b(0x18c)])[_0x2a937b(0x185)]())if(!this[_0x2a937b(0x17f)][_0x2a937b(0x15d)](_0x5ba39e['id'])&&(this[_0x2a937b(0x17f)][_0x2a937b(0x126)](_0x5ba39e,Math[_0x2a937b(0x13b)](this[_0x2a937b(0x17f)][_0x2a937b(0x146)]-(_0xed2b51?0x1:0x0),0x1)),this[_0x2a937b(0x17f)][_0x2a937b(0x146)]+(_0xed2b51?0x1:0x0)===_0x1853b7-0x1))return;}}[_0x4fd222(0x12f)](){const _0x44080c=_0x4fd222;if(this[_0x44080c(0x15b)])return;const _0x383b71=this[_0x44080c(0x160)][_0x44080c(0x17c)][_0x44080c(0x15d)](_0x44080c(0x16c));this[_0x44080c(0x15b)]=new _0x236bd1(this[_0x44080c(0x160)][_0x44080c(0x14d)],!!_0x383b71[_0x44080c(0x189)]),this[_0x44080c(0x12a)][_0x44080c(0x170)][_0x44080c(0x12d)]=!0x0,this[_0x44080c(0x13e)](this[_0x44080c(0x15b)],_0x44080c(0x137),()=>{const _0x1e2a8e=_0x44080c;this[_0x1e2a8e(0x15b)]&&this[_0x1e2a8e(0x13c)]();});const {listWrapperView:_0x24e6ef}=this[_0x44080c(0x15b)];_0x24e6ef[_0x44080c(0x18a)][_0x44080c(0x16b)](this[_0x44080c(0x18c)])[_0x44080c(0x16d)](_0x2942ce=>{const _0x1b55be=_0x44080c;if(!_0x383b71[_0x1b55be(0x124)]&&_0x2942ce[_0x1b55be(0x151)])return null;const _0x5f2267=new _0x5792c6(this[_0x1b55be(0x160)][_0x1b55be(0x14d)],_0x2942ce,!!_0x383b71[_0x1b55be(0x189)]);return _0x383b71[_0x1b55be(0x189)]&&this[_0x1b55be(0x13e)](_0x5f2267,_0x1b55be(0x172),()=>{const _0x58943b=_0x1b55be;_0x383b71[_0x58943b(0x189)](_0x2942ce,_0x5f2267[_0x58943b(0x155)]);}),_0x5f2267;}),this[_0x44080c(0x128)][_0x44080c(0x150)][_0x44080c(0x126)](this[_0x44080c(0x15b)]),this[_0x44080c(0x128)][_0x44080c(0x12c)]({'target':this[_0x44080c(0x12a)][_0x44080c(0x170)][_0x44080c(0x155)]}),_0x24e6ef[_0x44080c(0x18b)](),_0x24e6ef[_0x44080c(0x122)]();const _0x1641ed=(_0x4f6ff1,_0x293b0e)=>{const _0x207373=_0x44080c;this[_0x207373(0x13c)](),this[_0x207373(0x12a)][_0x207373(0x170)][_0x207373(0x18b)](),_0x293b0e();};_0x24e6ef[_0x44080c(0x143)][_0x44080c(0x13a)](_0x44080c(0x130),_0x1641ed),_0x24e6ef[_0x44080c(0x143)][_0x44080c(0x13a)](_0x44080c(0x125),_0x1641ed),_0x24e6ef[_0x44080c(0x143)][_0x44080c(0x13a)](_0x44080c(0x133),(_0x3ce505,_0x1815ee)=>{const _0x1183e7=_0x44080c;!function(_0x258b20){const _0xaec9a1=_0x31c9,_0x5f05d7=['a',_0xaec9a1(0x157),_0xaec9a1(0x17a),_0xaec9a1(0x158),_0xaec9a1(0x176),_0xaec9a1(0x16f),_0xaec9a1(0x136)][_0xaec9a1(0x152)](_0x47c557=>_0x47c557+_0xaec9a1(0x141))[_0xaec9a1(0x12b)](','),_0x54ff4a=[...document[_0xaec9a1(0x161)][_0xaec9a1(0x15f)](_0x5f05d7)][_0xaec9a1(0x15e)](_0x590845=>_0x590845===document[_0xaec9a1(0x169)]||_0x590845[_0xaec9a1(0x14a)]+_0x590845[_0xaec9a1(0x15c)]>0x0)[_0xaec9a1(0x168)]((_0x1698d4,_0x295a97)=>(_0x1698d4[_0xaec9a1(0x15a)]||0x0)-(_0x295a97[_0xaec9a1(0x15a)]||0x0)),_0x4f1105=_0x54ff4a[_0xaec9a1(0x154)](_0x258b20),_0x4d14de=_0x54ff4a[(_0x4f1105+0x1)%_0x54ff4a[_0xaec9a1(0x146)]];_0x4d14de&&_0x4d14de[_0xaec9a1(0x18b)]();}(this[_0x1183e7(0x12a)][_0x1183e7(0x155)]),this[_0x1183e7(0x13c)](),_0x1815ee();}),_0x24e6ef[_0x44080c(0x145)][_0x44080c(0x126)](this[_0x44080c(0x12a)][_0x44080c(0x155)]),_0x24e6ef[_0x44080c(0x145)]['on'](_0x44080c(0x135),(_0xa664e7,_0x2568aa,_0x4102a7)=>{const _0x101ea3=_0x44080c;_0x4102a7||this[_0x101ea3(0x13c)]();});}[_0x4fd222(0x13c)](){const _0x6f17c1=_0x4fd222;this[_0x6f17c1(0x15b)]&&(this[_0x6f17c1(0x12a)][_0x6f17c1(0x170)][_0x6f17c1(0x12d)]=!0x1,this[_0x6f17c1(0x128)][_0x6f17c1(0x13d)](),this[_0x6f17c1(0x128)][_0x6f17c1(0x150)][_0x6f17c1(0x14c)](this[_0x6f17c1(0x15b)]),this[_0x6f17c1(0x15b)][_0x6f17c1(0x153)](),this[_0x6f17c1(0x15b)]=void 0x0);}[_0x4fd222(0x153)](){const _0x4c568b=_0x4fd222;super[_0x4c568b(0x153)](),this[_0x4c568b(0x12a)]&&this[_0x4c568b(0x12a)][_0x4c568b(0x140)]&&this[_0x4c568b(0x12a)][_0x4c568b(0x153)](),this[_0x4c568b(0x188)]&&(this[_0x4c568b(0x188)][_0x4c568b(0x162)](),this[_0x4c568b(0x188)][_0x4c568b(0x153)](),this[_0x4c568b(0x188)]=null);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x49d39e=_0x4a3d;(function(_0x5783ba,_0x570792){const _0x20a93f=_0x4a3d,_0x47918a=_0x5783ba();while(!![]){try{const _0x44e17b=parseInt(_0x20a93f(0x1c2))/0x1*(parseInt(_0x20a93f(0x1c0))/0x2)+parseInt(_0x20a93f(0x1ce))/0x3+parseInt(_0x20a93f(0x1d5))/0x4+-parseInt(_0x20a93f(0x1cc))/0x5*(parseInt(_0x20a93f(0x1e3))/0x6)+parseInt(_0x20a93f(0x1c1))/0x7*(-parseInt(_0x20a93f(0x1e6))/0x8)+parseInt(_0x20a93f(0x1e7))/0x9*(parseInt(_0x20a93f(0x1c6))/0xa)+-parseInt(_0x20a93f(0x1ea))/0xb;if(_0x44e17b===_0x570792)break;else _0x47918a['push'](_0x47918a['shift']());}catch(_0x5f393e){_0x47918a['push'](_0x47918a['shift']());}}}(_0x9b16,0x97709));function _0x4a3d(_0x4f53c1,_0x21473d){const _0x9b16eb=_0x9b16();return _0x4a3d=function(_0x4a3d8d,_0x5293c8){_0x4a3d8d=_0x4a3d8d-0x1bd;let _0x473db4=_0x9b16eb[_0x4a3d8d];return _0x473db4;},_0x4a3d(_0x4f53c1,_0x21473d);}import{ListView as _0x192ecf,View as _0x36e20c}from'ckeditor5/src/ui.js';import{global as _0x2afed7}from'ckeditor5/src/utils.js';import{getTranslation as _0xefb41e}from'../../common-translations.js';export class PresenceDropdownListView extends _0x36e20c{[_0x49d39e(0x1c3)];constructor(_0x34bbb3,_0x570ae7){const _0x30a733=_0x49d39e;super(_0x34bbb3);const _0x3d70f0=this[_0x30a733(0x1c9)];this[_0x30a733(0x1c3)]=new PresenceDropdownListWrapperView(_0x34bbb3,_0x570ae7),this[_0x30a733(0x1c7)]({'tag':_0x30a733(0x1d4),'attributes':{'tabindex':-0x1,'role':_0x30a733(0x1e9),'class':['ck',_0x30a733(0x1e2)],'aria-label':_0xefb41e(_0x34bbb3,_0x30a733(0x1d9))},'children':[this[_0x30a733(0x1c3)]],'on':{'mouseleave':_0x3d70f0['to'](_0x495f4c=>{const _0x389fd9=_0x30a733,_0x3be39a=_0x495f4c,_0xef9119=document[_0x389fd9(0x1cb)](_0x389fd9(0x1da)),_0x70b805=document[_0x389fd9(0x1cb)](_0x389fd9(0x1bf));_0xef9119?.[_0x389fd9(0x1cd)](_0x3be39a[_0x389fd9(0x1bd)])||_0x70b805?.[_0x389fd9(0x1cd)](_0x3be39a[_0x389fd9(0x1bd)])||this[_0x389fd9(0x1de)](_0x389fd9(0x1c8));})}});}}export class PresenceDropdownListWrapperView extends _0x192ecf{constructor(_0xf9c9cd,_0x4e7083){const _0x55712e=_0x49d39e;super(_0xf9c9cd);const _0x1e7830=this[_0x55712e(0x1c9)];this[_0x55712e(0x1cf)](_0x55712e(0x1d0),!0x1),this[_0x55712e(0x1c7)]({'tag':_0x4e7083?_0x55712e(0x1d4):'ul','attributes':{'class':['ck',_0x55712e(0x1db),_0x55712e(0x1e8),_0x55712e(0x1df),_0x1e7830['if'](_0x55712e(0x1d0),_0x55712e(0x1d2))],'role':_0x1e7830['to'](_0x55712e(0x1d7)),'aria-label':_0x1e7830['to'](_0x55712e(0x1d6)),'aria-labelledby':_0x1e7830['to'](_0x55712e(0x1be))},'children':this[_0x55712e(0x1ca)]}),this[_0x55712e(0x1d1)](_0x2afed7[_0x55712e(0x1d3)],_0x55712e(0x1e1),()=>this[_0x55712e(0x1e5)]()),this[_0x55712e(0x1ca)]['on'](_0x55712e(0x1c4),()=>this[_0x55712e(0x1e5)]());}[_0x49d39e(0x1dd)](){const _0x41908f=_0x49d39e;super[_0x41908f(0x1dd)](),this[_0x41908f(0x1e5)]();}[_0x49d39e(0x1e5)](){const _0x507c41=_0x49d39e,_0x2ca882=this[_0x507c41(0x1c5)];_0x2ca882&&(this[_0x507c41(0x1d0)]=Math[_0x507c41(0x1e0)](_0x2ca882[_0x507c41(0x1d8)],_0x2ca882[_0x507c41(0x1e4)])>0.8*window[_0x507c41(0x1dc)]);}}function _0x9b16(){const _0x1e453f=['clientHeight','checkIfScrollable','4751592ZeyUTD','2421jjVGxO','ck-list','application','17199468VgdfIE','relatedTarget','ariaLabelledBy','.ck-balloon-panel_with-arrow','42odiQdw','7rnhMpJ','29168VJJCrh','listWrapperView','change','element','9730gFhoPR','setTemplate','presencelist:hide','bindTemplate','items','querySelector','415hvPsVj','contains','3517122pDyLpJ','set','_isScrollable','listenTo','ck-presence-list__dropdown-list-wrapper_scrollable','window','div','3414480idhSno','ariaLabel','role','scrollHeight','Connected\x20users\x20list\x20dropdown\x20menu','.ck-presence-list__list','ck-reset','innerHeight','render','fire','ck-presence-list__dropdown-list-wrapper','max','resize','ck-presence-list__dropdown-list','8850yzIJfS'];_0x9b16=function(){return _0x1e453f;};return _0x9b16();}
23
+ const _0x5026bd=_0x66cd;function _0x66cd(_0xd4c137,_0x426578){const _0x114d58=_0x114d();return _0x66cd=function(_0x66cdf2,_0x514562){_0x66cdf2=_0x66cdf2-0x147;let _0x1c37a4=_0x114d58[_0x66cdf2];return _0x1c37a4;},_0x66cd(_0xd4c137,_0x426578);}(function(_0x310cb,_0x16f941){const _0x4d3fd3=_0x66cd,_0x3c0651=_0x310cb();while(!![]){try{const _0x19b80=-parseInt(_0x4d3fd3(0x15a))/0x1+parseInt(_0x4d3fd3(0x153))/0x2*(parseInt(_0x4d3fd3(0x169))/0x3)+parseInt(_0x4d3fd3(0x168))/0x4*(parseInt(_0x4d3fd3(0x165))/0x5)+parseInt(_0x4d3fd3(0x164))/0x6*(parseInt(_0x4d3fd3(0x170))/0x7)+parseInt(_0x4d3fd3(0x15b))/0x8+-parseInt(_0x4d3fd3(0x14f))/0x9+-parseInt(_0x4d3fd3(0x16c))/0xa;if(_0x19b80===_0x16f941)break;else _0x3c0651['push'](_0x3c0651['shift']());}catch(_0x25deda){_0x3c0651['push'](_0x3c0651['shift']());}}}(_0x114d,0x24ef7));import{ListView as _0x56a9fd,View as _0x4cb4e0}from'ckeditor5/src/ui.js';import{global as _0x327494}from'ckeditor5/src/utils.js';function _0x114d(){const _0x574d19=['scrollHeight','resize','checkIfScrollable','112814gYOOKN','2265616BYiIfq','.ck-balloon-panel_with-arrow','ck-presence-list__dropdown-list-wrapper_scrollable','.ck-presence-list__list','Connected\x20users\x20list\x20dropdown\x20menu','clientHeight','_isScrollable','listWrapperView','ck-reset','480TfuQDi','1023335ugJsoH','div','setTemplate','4gNXcdj','604473ShEdpB','ariaLabel','ck-list','4898590kRJGfW','bindTemplate','presencelist:hide','fire','18326XnvtxD','querySelector','render','ariaLabelledBy','set','max','contains','element','ck-presence-list__dropdown-list-wrapper','role','innerHeight','window','1303560uvMCsP','relatedTarget','listenTo','change','2TjuwUx','items','ck-presence-list__dropdown-list','application'];_0x114d=function(){return _0x574d19;};return _0x114d();}import{getTranslation as _0x3e78ca}from'../../common-translations.js';export class PresenceDropdownListView extends _0x4cb4e0{[_0x5026bd(0x162)];constructor(_0x59dee1,_0x1c7304){const _0x575b90=_0x5026bd;super(_0x59dee1);const _0x209624=this[_0x575b90(0x16d)];this[_0x575b90(0x162)]=new PresenceDropdownListWrapperView(_0x59dee1,_0x1c7304),this[_0x575b90(0x167)]({'tag':_0x575b90(0x166),'attributes':{'tabindex':-0x1,'role':_0x575b90(0x156),'class':['ck',_0x575b90(0x155)],'aria-label':_0x3e78ca(_0x59dee1,_0x575b90(0x15f))},'children':[this[_0x575b90(0x162)]],'on':{'mouseleave':_0x209624['to'](_0x4f8fde=>{const _0x3b9466=_0x575b90,_0x15de69=_0x4f8fde,_0x4cdd05=document[_0x3b9466(0x171)](_0x3b9466(0x15e)),_0x46a35d=document[_0x3b9466(0x171)](_0x3b9466(0x15c));_0x4cdd05?.[_0x3b9466(0x149)](_0x15de69[_0x3b9466(0x150)])||_0x46a35d?.[_0x3b9466(0x149)](_0x15de69[_0x3b9466(0x150)])||this[_0x3b9466(0x16f)](_0x3b9466(0x16e));})}});}}export class PresenceDropdownListWrapperView extends _0x56a9fd{constructor(_0x3e185a,_0x4d777a){const _0x20d0b0=_0x5026bd;super(_0x3e185a);const _0x1a5d9f=this[_0x20d0b0(0x16d)];this[_0x20d0b0(0x147)](_0x20d0b0(0x161),!0x1),this[_0x20d0b0(0x167)]({'tag':_0x4d777a?_0x20d0b0(0x166):'ul','attributes':{'class':['ck',_0x20d0b0(0x163),_0x20d0b0(0x16b),_0x20d0b0(0x14b),_0x1a5d9f['if'](_0x20d0b0(0x161),_0x20d0b0(0x15d))],'role':_0x1a5d9f['to'](_0x20d0b0(0x14c)),'aria-label':_0x1a5d9f['to'](_0x20d0b0(0x16a)),'aria-labelledby':_0x1a5d9f['to'](_0x20d0b0(0x173))},'children':this[_0x20d0b0(0x154)]}),this[_0x20d0b0(0x151)](_0x327494[_0x20d0b0(0x14e)],_0x20d0b0(0x158),()=>this[_0x20d0b0(0x159)]()),this[_0x20d0b0(0x154)]['on'](_0x20d0b0(0x152),()=>this[_0x20d0b0(0x159)]());}[_0x5026bd(0x172)](){const _0x4c7994=_0x5026bd;super[_0x4c7994(0x172)](),this[_0x4c7994(0x159)]();}[_0x5026bd(0x159)](){const _0x428229=_0x5026bd,_0xa23cc1=this[_0x428229(0x14a)];_0xa23cc1&&(this[_0x428229(0x161)]=Math[_0x428229(0x148)](_0xa23cc1[_0x428229(0x157)],_0xa23cc1[_0x428229(0x160)])>0.8*window[_0x428229(0x14d)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28422b=_0xf1de;(function(_0x1de9f2,_0x557f17){const _0x58f879=_0xf1de,_0x145efa=_0x1de9f2();while(!![]){try{const _0x4adc58=-parseInt(_0x58f879(0x159))/0x1*(parseInt(_0x58f879(0x13d))/0x2)+-parseInt(_0x58f879(0x15b))/0x3*(-parseInt(_0x58f879(0x13f))/0x4)+-parseInt(_0x58f879(0x14b))/0x5*(-parseInt(_0x58f879(0x13c))/0x6)+-parseInt(_0x58f879(0x148))/0x7*(parseInt(_0x58f879(0x14d))/0x8)+-parseInt(_0x58f879(0x14a))/0x9*(parseInt(_0x58f879(0x149))/0xa)+-parseInt(_0x58f879(0x14f))/0xb*(parseInt(_0x58f879(0x142))/0xc)+parseInt(_0x58f879(0x14c))/0xd;if(_0x4adc58===_0x557f17)break;else _0x145efa['push'](_0x145efa['shift']());}catch(_0x2235cc){_0x145efa['push'](_0x145efa['shift']());}}}(_0xc32f,0x30f6d));function _0xc32f(){const _0x2ce3e9=['bindTemplate','name','text','147ZnHVDH','1864970DgQJcB','9UmPBvd','565OFwBrX','2253082OomedT','44976nLKybN','getBackgroundColorClass','1130602hQRWUo','setTemplate','tag','tooltipPosition','span','markerView','set','true','hasTooltip','userView','1mESWbn','template','12qInXif','button','execute','ck-presence-list__list-item','listitem','fire','17322YOnnrJ','321182kPurGk','ck-presence-list__list-item__tooltip','268944sGQAuu','div','color','12EysYSP','ck-presence-list__marker','isFocusable'];_0xc32f=function(){return _0x2ce3e9;};return _0xc32f();}import{LabelView as _0x5103ac,View as _0x356922}from'ckeditor5/src/ui.js';import{UserView as _0x1f780c}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceInlineListItemView extends _0x356922{[_0x28422b(0x158)];[_0x28422b(0x154)];constructor(_0x1e5cd0,_0x339526,_0x4ed3ee){const _0x57c47e=_0x28422b;super(_0x1e5cd0);const _0x574158=this[_0x57c47e(0x145)];this[_0x57c47e(0x155)](_0x57c47e(0x144),!0x1),this[_0x57c47e(0x155)](_0x57c47e(0x157),!0x0),this[_0x57c47e(0x155)](_0x57c47e(0x152),''),this[_0x57c47e(0x158)]=new _0x1f780c(_0x1e5cd0,_0x339526),this[_0x57c47e(0x154)]=new at(_0x1e5cd0,_0x339526);const _0x2b6754=new _0x5103ac(_0x1e5cd0);_0x2b6754[_0x57c47e(0x15a)][_0x57c47e(0x151)]=_0x57c47e(0x153),_0x2b6754[_0x57c47e(0x147)]=_0x339526[_0x57c47e(0x146)];const _0x2bbd6b={'tag':_0x57c47e(0x140),'attributes':{'class':['ck',_0x57c47e(0x139)],'role':_0x57c47e(0x13a),'tabindex':_0x574158['to'](_0x57c47e(0x144),_0xc41980=>!!_0xc41980&&0x0),'aria-labelledby':_0x2b6754['id'],'data-cke-tooltip-text':this[_0x57c47e(0x158)][_0x57c47e(0x146)],'data-cke-tooltip-position':_0x574158['to'](_0x57c47e(0x152)),'data-cke-tooltip-disabled':_0x574158['to'](_0x57c47e(0x157),_0x6790dd=>!_0x6790dd),'data-cke-tooltip-class':_0x57c47e(0x13e)},'children':[this[_0x57c47e(0x158)],this[_0x57c47e(0x154)],_0x2b6754]};_0x4ed3ee&&(_0x2bbd6b[_0x57c47e(0x151)]=_0x57c47e(0x137),_0x2bbd6b['on']={'click':_0x574158['to'](()=>this[_0x57c47e(0x13b)](_0x57c47e(0x138)))}),this[_0x57c47e(0x150)](_0x2bbd6b);}}function _0xf1de(_0x1633d7,_0x48f544){const _0xc32f17=_0xc32f();return _0xf1de=function(_0xf1dedb,_0x16657a){_0xf1dedb=_0xf1dedb-0x137;let _0x477e7f=_0xc32f17[_0xf1dedb];return _0x477e7f;},_0xf1de(_0x1633d7,_0x48f544);}class at extends _0x356922{constructor(_0x4b7058,_0x148dc7){const _0x353411=_0x28422b;super(_0x4b7058),this[_0x353411(0x150)]({'tag':_0x353411(0x153),'attributes':{'class':['ck',_0x353411(0x143),_0x148dc7[_0x353411(0x141)][_0x353411(0x14e)]()],'aria-hidden':_0x353411(0x156)}});}}
23
+ function _0x1796(){const _0x4cf78a=['bindTemplate','ck-presence-list__list-item__tooltip','21061820rxZzPw','template','4610470gFMBhW','span','ck-presence-list__marker','true','text','tooltipPosition','hasTooltip','65233DcnNNq','tag','isFocusable','getBackgroundColorClass','312pGKDDL','div','ck-presence-list__list-item','set','679353BHVREs','2XYdtxe','setTemplate','name','868525pinmYC','490376YrOGFA','listitem','markerView','color','execute','button','userView','9384471BsKpKA','4xqBAMk','fire'];_0x1796=function(){return _0x4cf78a;};return _0x1796();}const _0x170602=_0x3ba2;(function(_0x51cfe2,_0x168457){const _0x5a7e38=_0x3ba2,_0x3bcad4=_0x51cfe2();while(!![]){try{const _0x1a824f=parseInt(_0x5a7e38(0x1b5))/0x1*(parseInt(_0x5a7e38(0x1b2))/0x2)+parseInt(_0x5a7e38(0x1b1))/0x3*(-parseInt(_0x5a7e38(0x1be))/0x4)+parseInt(_0x5a7e38(0x1c4))/0x5+-parseInt(_0x5a7e38(0x1cf))/0x6*(-parseInt(_0x5a7e38(0x1cb))/0x7)+-parseInt(_0x5a7e38(0x1b6))/0x8+parseInt(_0x5a7e38(0x1bd))/0x9+-parseInt(_0x5a7e38(0x1c2))/0xa;if(_0x1a824f===_0x168457)break;else _0x3bcad4['push'](_0x3bcad4['shift']());}catch(_0x3c4731){_0x3bcad4['push'](_0x3bcad4['shift']());}}}(_0x1796,0xe195c));import{LabelView as _0x64babe,View as _0x291538}from'ckeditor5/src/ui.js';import{UserView as _0x22ac30}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceInlineListItemView extends _0x291538{[_0x170602(0x1bc)];[_0x170602(0x1b8)];constructor(_0x2465f4,_0x4db667,_0x3457c7){const _0x1e2878=_0x170602;super(_0x2465f4);const _0xe14d2d=this[_0x1e2878(0x1c0)];this[_0x1e2878(0x1b0)](_0x1e2878(0x1cd),!0x1),this[_0x1e2878(0x1b0)](_0x1e2878(0x1ca),!0x0),this[_0x1e2878(0x1b0)](_0x1e2878(0x1c9),''),this[_0x1e2878(0x1bc)]=new _0x22ac30(_0x2465f4,_0x4db667),this[_0x1e2878(0x1b8)]=new lt(_0x2465f4,_0x4db667);const _0x2256c6=new _0x64babe(_0x2465f4);_0x2256c6[_0x1e2878(0x1c3)][_0x1e2878(0x1cc)]=_0x1e2878(0x1c5),_0x2256c6[_0x1e2878(0x1c8)]=_0x4db667[_0x1e2878(0x1b4)];const _0x21b1ae={'tag':_0x1e2878(0x1d0),'attributes':{'class':['ck',_0x1e2878(0x1af)],'role':_0x1e2878(0x1b7),'tabindex':_0xe14d2d['to'](_0x1e2878(0x1cd),_0x29f2d3=>!!_0x29f2d3&&0x0),'aria-labelledby':_0x2256c6['id'],'data-cke-tooltip-text':this[_0x1e2878(0x1bc)][_0x1e2878(0x1b4)],'data-cke-tooltip-position':_0xe14d2d['to'](_0x1e2878(0x1c9)),'data-cke-tooltip-disabled':_0xe14d2d['to'](_0x1e2878(0x1ca),_0x4d56bd=>!_0x4d56bd),'data-cke-tooltip-class':_0x1e2878(0x1c1)},'children':[this[_0x1e2878(0x1bc)],this[_0x1e2878(0x1b8)],_0x2256c6]};_0x3457c7&&(_0x21b1ae[_0x1e2878(0x1cc)]=_0x1e2878(0x1bb),_0x21b1ae['on']={'click':_0xe14d2d['to'](()=>this[_0x1e2878(0x1bf)](_0x1e2878(0x1ba)))}),this[_0x1e2878(0x1b3)](_0x21b1ae);}}function _0x3ba2(_0x3fdc16,_0x3325c6){const _0x179648=_0x1796();return _0x3ba2=function(_0x3ba29e,_0x4449cf){_0x3ba29e=_0x3ba29e-0x1af;let _0x16de8d=_0x179648[_0x3ba29e];return _0x16de8d;},_0x3ba2(_0x3fdc16,_0x3325c6);}class lt extends _0x291538{constructor(_0x12ed95,_0x346345){const _0x410cd8=_0x170602;super(_0x12ed95),this[_0x410cd8(0x1b3)]({'tag':_0x410cd8(0x1c5),'attributes':{'class':['ck',_0x410cd8(0x1c6),_0x346345[_0x410cd8(0x1b9)][_0x410cd8(0x1ce)]()],'aria-hidden':_0x410cd8(0x1c7)}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x559915=_0x4f73;(function(_0xa26094,_0x387c8f){const _0x31485b=_0x4f73,_0x462690=_0xa26094();while(!![]){try{const _0x56bfee=parseInt(_0x31485b(0x155))/0x1*(parseInt(_0x31485b(0x14a))/0x2)+parseInt(_0x31485b(0x149))/0x3+parseInt(_0x31485b(0x15b))/0x4+parseInt(_0x31485b(0x148))/0x5*(-parseInt(_0x31485b(0x157))/0x6)+parseInt(_0x31485b(0x15f))/0x7*(parseInt(_0x31485b(0x14b))/0x8)+parseInt(_0x31485b(0x153))/0x9*(-parseInt(_0x31485b(0x143))/0xa)+-parseInt(_0x31485b(0x156))/0xb;if(_0x56bfee===_0x387c8f)break;else _0x462690['push'](_0x462690['shift']());}catch(_0x3156c4){_0x462690['push'](_0x462690['shift']());}}}(_0x3474,0x81f0d));import{View as _0x84dc26}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x2d8047}from'ckeditor5/src/utils.js';import{getTranslation as _0x5f254c}from'../../common-translations.js';function _0x3474(){const _0x239260=['4559775weEAKR','84492dsFfTK','listenTo','presencelist:show','aria-expanded','1629416YodSxo','focus','hasPopup','presencelist:hide','235515mcEBmA','contains','render','removeAttribute','bindTemplate','.ck-balloon-panel_with-arrow','setTemplate','createCollection','ck-presence-list__list','fire','setAttribute','set','10ejkjbL','relatedTarget','div','querySelector','list','190bPsuTE','1681182ooEdMU','2AWOYJE','104LspebL','element','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','change:hasPopup','items','isExpanded','Connected\x20users\x20list','keystrokes','7213194rkEmiG','.ck-presence-list__dropdown-list','878211zimUAb'];_0x3474=function(){return _0x239260;};return _0x3474();}function _0x4f73(_0x4c6833,_0x28f1ec){const _0x347493=_0x3474();return _0x4f73=function(_0x4f73f8,_0x19f2b4){_0x4f73f8=_0x4f73f8-0x138;let _0x51595d=_0x347493[_0x4f73f8];return _0x51595d;},_0x4f73(_0x4c6833,_0x28f1ec);}export class PresenceInlineListView extends _0x84dc26{[_0x559915(0x14f)];[_0x559915(0x152)];constructor(_0x570fc5){const _0x4e9d4b=_0x559915;super(_0x570fc5);const _0x964b53=this[_0x4e9d4b(0x13b)];this[_0x4e9d4b(0x14f)]=this[_0x4e9d4b(0x13e)](),this[_0x4e9d4b(0x152)]=new _0x2d8047(),this[_0x4e9d4b(0x142)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x4e9d4b(0x13d)]({'tag':_0x4e9d4b(0x145),'attributes':{'aria-haspopup':_0x964b53['if'](_0x4e9d4b(0x15d)),'aria-expanded':_0x964b53['to'](_0x4e9d4b(0x150),_0xa8c376=>this[_0x4e9d4b(0x15d)]&&String(_0xa8c376)),'aria-label':_0x964b53['to'](_0x4e9d4b(0x15d),_0x107a1f=>_0x5f254c(_0x570fc5,_0x107a1f?_0x4e9d4b(0x14d):_0x4e9d4b(0x151))),'role':_0x4e9d4b(0x147),'tabindex':_0x964b53['to'](_0x4e9d4b(0x15d),_0x43f042=>!!_0x43f042&&0x0),'class':['ck',_0x4e9d4b(0x13f)]},'children':this[_0x4e9d4b(0x14f)],'on':{'mouseenter':_0x964b53['to'](()=>this[_0x4e9d4b(0x140)](_0x4e9d4b(0x159))),'mouseleave':_0x964b53['to'](_0x242a0c=>{const _0x207398=_0x4e9d4b,_0x3dc8c2=_0x242a0c,_0x3611c3=document[_0x207398(0x146)](_0x207398(0x154)),_0x4d1944=document[_0x207398(0x146)](_0x207398(0x13c));_0x3611c3?.[_0x207398(0x138)](_0x3dc8c2[_0x207398(0x144)])||_0x4d1944?.[_0x207398(0x138)](_0x3dc8c2[_0x207398(0x144)])||this[_0x207398(0x140)](_0x207398(0x15e));})}}),this['on'](_0x4e9d4b(0x14e),(_0x208fda,_0x45e89b,_0x23b990)=>{const _0x28781d=_0x4e9d4b;this[_0x28781d(0x14c)]&&(_0x23b990?this[_0x28781d(0x14c)][_0x28781d(0x141)](_0x28781d(0x15a),String(this[_0x28781d(0x150)])):this[_0x28781d(0x14c)][_0x28781d(0x13a)](_0x28781d(0x15a)));});}[_0x559915(0x15c)](){const _0x58a1fe=_0x559915;this[_0x58a1fe(0x14c)][_0x58a1fe(0x15c)]();}[_0x559915(0x139)](){const _0x481f79=_0x559915;super[_0x481f79(0x139)](),this[_0x481f79(0x152)][_0x481f79(0x158)](this[_0x481f79(0x14c)]);}}
23
+ function _0x1e2e(_0x45f746,_0x1f624a){const _0x4411e9=_0x4411();return _0x1e2e=function(_0x1e2e3a,_0xaa1a99){_0x1e2e3a=_0x1e2e3a-0xd0;let _0x352e26=_0x4411e9[_0x1e2e3a];return _0x352e26;},_0x1e2e(_0x45f746,_0x1f624a);}const _0x5464b3=_0x1e2e;(function(_0x1647fb,_0x14bfb0){const _0x2ef3cc=_0x1e2e,_0x2eaf9b=_0x1647fb();while(!![]){try{const _0x34223f=-parseInt(_0x2ef3cc(0xe0))/0x1*(-parseInt(_0x2ef3cc(0xf7))/0x2)+-parseInt(_0x2ef3cc(0xf6))/0x3*(-parseInt(_0x2ef3cc(0xd2))/0x4)+-parseInt(_0x2ef3cc(0xf2))/0x5+parseInt(_0x2ef3cc(0xdf))/0x6*(-parseInt(_0x2ef3cc(0xe2))/0x7)+-parseInt(_0x2ef3cc(0xd9))/0x8*(parseInt(_0x2ef3cc(0xf5))/0x9)+-parseInt(_0x2ef3cc(0xf1))/0xa+-parseInt(_0x2ef3cc(0xf3))/0xb*(-parseInt(_0x2ef3cc(0xf4))/0xc);if(_0x34223f===_0x14bfb0)break;else _0x2eaf9b['push'](_0x2eaf9b['shift']());}catch(_0x233218){_0x2eaf9b['push'](_0x2eaf9b['shift']());}}}(_0x4411,0x345c2));import{View as _0x125ea7}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x2d2b92}from'ckeditor5/src/utils.js';import{getTranslation as _0x373c4e}from'../../common-translations.js';function _0x4411(){const _0x2f77ed=['Connected\x20users\x20list','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','createCollection','relatedTarget','24FUMPob','21ZMeelp','fire','694498WoLKiS','setAttribute','render','querySelector','change:hasPopup','setTemplate','.ck-balloon-panel_with-arrow','keystrokes','listenTo','element','ck-presence-list__list','isExpanded','removeAttribute','contains','div','2985870VLKcRr','1647170AEzKop','11siVqSS','10909896gHFlaZ','1205919QEwPht','3Sjtely','36290ThrRSq','presencelist:show','list','set','1404452knCQNd','.ck-presence-list__dropdown-list','items','aria-expanded','presencelist:hide','focus','hasPopup','24PICEnv','bindTemplate'];_0x4411=function(){return _0x2f77ed;};return _0x4411();}export class PresenceInlineListView extends _0x125ea7{[_0x5464b3(0xd4)];[_0x5464b3(0xe9)];constructor(_0xdae673){const _0x2e3bad=_0x5464b3;super(_0xdae673);const _0x1cea2a=this[_0x2e3bad(0xda)];this[_0x2e3bad(0xd4)]=this[_0x2e3bad(0xdd)](),this[_0x2e3bad(0xe9)]=new _0x2d2b92(),this[_0x2e3bad(0xd1)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x2e3bad(0xe7)]({'tag':_0x2e3bad(0xf0),'attributes':{'aria-haspopup':_0x1cea2a['if'](_0x2e3bad(0xd8)),'aria-expanded':_0x1cea2a['to'](_0x2e3bad(0xed),_0x518ada=>this[_0x2e3bad(0xd8)]&&String(_0x518ada)),'aria-label':_0x1cea2a['to'](_0x2e3bad(0xd8),_0x16debe=>_0x373c4e(_0xdae673,_0x16debe?_0x2e3bad(0xdc):_0x2e3bad(0xdb))),'role':_0x2e3bad(0xd0),'tabindex':_0x1cea2a['to'](_0x2e3bad(0xd8),_0x4841e7=>!!_0x4841e7&&0x0),'class':['ck',_0x2e3bad(0xec)]},'children':this[_0x2e3bad(0xd4)],'on':{'mouseenter':_0x1cea2a['to'](()=>this[_0x2e3bad(0xe1)](_0x2e3bad(0xf8))),'mouseleave':_0x1cea2a['to'](_0x395c77=>{const _0x424547=_0x2e3bad,_0x5d77d8=_0x395c77,_0x247737=document[_0x424547(0xe5)](_0x424547(0xd3)),_0x2df69f=document[_0x424547(0xe5)](_0x424547(0xe8));_0x247737?.[_0x424547(0xef)](_0x5d77d8[_0x424547(0xde)])||_0x2df69f?.[_0x424547(0xef)](_0x5d77d8[_0x424547(0xde)])||this[_0x424547(0xe1)](_0x424547(0xd6));})}}),this['on'](_0x2e3bad(0xe6),(_0x3852ec,_0x16c058,_0x30e3c5)=>{const _0x4ea5f7=_0x2e3bad;this[_0x4ea5f7(0xeb)]&&(_0x30e3c5?this[_0x4ea5f7(0xeb)][_0x4ea5f7(0xe3)](_0x4ea5f7(0xd5),String(this[_0x4ea5f7(0xed)])):this[_0x4ea5f7(0xeb)][_0x4ea5f7(0xee)](_0x4ea5f7(0xd5)));});}[_0x5464b3(0xd7)](){const _0x3c0f17=_0x5464b3;this[_0x3c0f17(0xeb)][_0x3c0f17(0xd7)]();}[_0x5464b3(0xe4)](){const _0x1f6891=_0x5464b3;super[_0x1f6891(0xe4)](),this[_0x1f6891(0xe9)][_0x1f6891(0xea)](this[_0x1f6891(0xeb)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ad783=_0x26ea;function _0x12e7(){const _0x3b413d=['648846oklJtZ','tooltipPosition','listenTo','bindTemplate','div','20630CGXBym','items','set','counterView','16OYONlM','inlineListView','bind','change','first','locale','5618529oXQXrk','6526315JltFCW','ck-presence-list--collapsed','ck-rounded-corners','ck-presence-list','ck-reset','7837768UfzKQn','setTemplate','hasPopup','6389170qwGNze','isCollapsed','77cgMoFA','4gyYBjj','4119600ExjVPN'];_0x12e7=function(){return _0x3b413d;};return _0x12e7();}(function(_0x3f9a75,_0x2ce5eb){const _0x1ef16b=_0x26ea,_0x323aff=_0x3f9a75();while(!![]){try{const _0xf02f40=-parseInt(_0x1ef16b(0x195))/0x1*(-parseInt(_0x1ef16b(0x191))/0x2)+parseInt(_0x1ef16b(0x18b))/0x3+-parseInt(_0x1ef16b(0x18a))/0x4*(-parseInt(_0x1ef16b(0x19c))/0x5)+-parseInt(_0x1ef16b(0x18c))/0x6*(parseInt(_0x1ef16b(0x189))/0x7)+-parseInt(_0x1ef16b(0x184))/0x8+-parseInt(_0x1ef16b(0x19b))/0x9+parseInt(_0x1ef16b(0x187))/0xa;if(_0xf02f40===_0x2ce5eb)break;else _0x323aff['push'](_0x323aff['shift']());}catch(_0x298981){_0x323aff['push'](_0x323aff['shift']());}}}(_0x12e7,0xa82e3));import{View as _0xd73b98}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x592d87}from'./presencecounterview.js';import{PresenceInlineListView as _0x1d08c2}from'./presenceinlinelistview.js';function _0x26ea(_0x4e5c04,_0x3d616d){const _0x12e752=_0x12e7();return _0x26ea=function(_0x26ea9a,_0x514588){_0x26ea9a=_0x26ea9a-0x182;let _0x41dab5=_0x12e752[_0x26ea9a];return _0x41dab5;},_0x26ea(_0x4e5c04,_0x3d616d);}import'../../../theme/presencelist.css';export class PresenceListView extends _0xd73b98{[_0x4ad783(0x194)];[_0x4ad783(0x196)];constructor(_0x4434c3,_0x623fcd=0x6){const _0x1eb1d2=_0x4ad783;super(_0x4434c3);const _0x5ce8e8=this[_0x1eb1d2(0x18f)];this[_0x1eb1d2(0x193)](_0x1eb1d2(0x188),!0x0),this[_0x1eb1d2(0x194)]=new _0x592d87(this[_0x1eb1d2(0x19a)],_0x623fcd),this[_0x1eb1d2(0x196)]=new _0x1d08c2(_0x4434c3),this[_0x1eb1d2(0x196)][_0x1eb1d2(0x197)](_0x1eb1d2(0x186))['to'](this,_0x1eb1d2(0x188)),this[_0x1eb1d2(0x18e)](this[_0x1eb1d2(0x196)][_0x1eb1d2(0x192)],_0x1eb1d2(0x198),()=>{const _0x3cdb75=_0x1eb1d2;for(const _0xd7cfb4 of this[_0x3cdb75(0x196)][_0x3cdb75(0x192)])_0xd7cfb4[_0x3cdb75(0x18d)]='s';this[_0x3cdb75(0x196)][_0x3cdb75(0x192)][_0x3cdb75(0x199)]&&(this[_0x3cdb75(0x196)][_0x3cdb75(0x192)][_0x3cdb75(0x199)][_0x3cdb75(0x18d)]='se');}),this[_0x1eb1d2(0x185)]({'tag':_0x1eb1d2(0x190),'attributes':{'class':['ck',_0x1eb1d2(0x182),_0x1eb1d2(0x183),_0x1eb1d2(0x19e),_0x5ce8e8['if'](_0x1eb1d2(0x188),_0x1eb1d2(0x19d))]},'children':[this[_0x1eb1d2(0x196)]]});}}
23
+ function _0x43e5(_0x1cd835,_0x1f397c){const _0x250046=_0x2500();return _0x43e5=function(_0x43e587,_0x189235){_0x43e587=_0x43e587-0x193;let _0x420070=_0x250046[_0x43e587];return _0x420070;},_0x43e5(_0x1cd835,_0x1f397c);}const _0x1bb5da=_0x43e5;(function(_0x4191b4,_0x9b26af){const _0x27c9cf=_0x43e5,_0x32b4eb=_0x4191b4();while(!![]){try{const _0x4716a5=parseInt(_0x27c9cf(0x197))/0x1+parseInt(_0x27c9cf(0x1a2))/0x2*(-parseInt(_0x27c9cf(0x194))/0x3)+parseInt(_0x27c9cf(0x198))/0x4*(-parseInt(_0x27c9cf(0x1ad))/0x5)+-parseInt(_0x27c9cf(0x1a3))/0x6*(-parseInt(_0x27c9cf(0x19f))/0x7)+parseInt(_0x27c9cf(0x19c))/0x8*(parseInt(_0x27c9cf(0x1a0))/0x9)+parseInt(_0x27c9cf(0x1ab))/0xa*(-parseInt(_0x27c9cf(0x1a4))/0xb)+parseInt(_0x27c9cf(0x195))/0xc*(parseInt(_0x27c9cf(0x1a9))/0xd);if(_0x4716a5===_0x9b26af)break;else _0x32b4eb['push'](_0x32b4eb['shift']());}catch(_0x10d18c){_0x32b4eb['push'](_0x32b4eb['shift']());}}}(_0x2500,0xe504c));import{View as _0x361c61}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x1b225c}from'./presencecounterview.js';function _0x2500(){const _0x3965b4=['119959DtlrDN','478827xlsDKe','listenTo','2LmmACx','414ghQmZX','364529TxRhXr','set','change','counterView','locale','52dIXZIa','hasPopup','290CkaYdz','bindTemplate','5qhHmqt','first','inlineListView','bind','isCollapsed','ck-presence-list','setTemplate','4068291yfQItm','3635088cToXly','ck-rounded-corners','891035TgHSdC','2035292KIRLkq','ck-presence-list--collapsed','ck-reset','div','72mxTMwh','tooltipPosition','items'];_0x2500=function(){return _0x3965b4;};return _0x2500();}import{PresenceInlineListView as _0x1f159a}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x361c61{[_0x1bb5da(0x1a7)];[_0x1bb5da(0x1af)];constructor(_0x1ed4b1,_0x2a68ce=0x6){const _0x27edef=_0x1bb5da;super(_0x1ed4b1);const _0x1d1f40=this[_0x27edef(0x1ac)];this[_0x27edef(0x1a5)](_0x27edef(0x1b1),!0x0),this[_0x27edef(0x1a7)]=new _0x1b225c(this[_0x27edef(0x1a8)],_0x2a68ce),this[_0x27edef(0x1af)]=new _0x1f159a(_0x1ed4b1),this[_0x27edef(0x1af)][_0x27edef(0x1b0)](_0x27edef(0x1aa))['to'](this,_0x27edef(0x1b1)),this[_0x27edef(0x1a1)](this[_0x27edef(0x1af)][_0x27edef(0x19e)],_0x27edef(0x1a6),()=>{const _0x5acda3=_0x27edef;for(const _0x2e023b of this[_0x5acda3(0x1af)][_0x5acda3(0x19e)])_0x2e023b[_0x5acda3(0x19d)]='s';this[_0x5acda3(0x1af)][_0x5acda3(0x19e)][_0x5acda3(0x1ae)]&&(this[_0x5acda3(0x1af)][_0x5acda3(0x19e)][_0x5acda3(0x1ae)][_0x5acda3(0x19d)]='se');}),this[_0x27edef(0x193)]({'tag':_0x27edef(0x19b),'attributes':{'class':['ck',_0x27edef(0x1b2),_0x27edef(0x19a),_0x27edef(0x196),_0x1d1f40['if'](_0x27edef(0x1b1),_0x27edef(0x199))]},'children':[this[_0x27edef(0x1af)]]});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13e87f=_0x35a4;(function(_0x1b1ce0,_0x1ddb8f){const _0x501f70=_0x35a4,_0x280dd4=_0x1b1ce0();while(!![]){try{const _0x56ed91=parseInt(_0x501f70(0x1ec))/0x1+-parseInt(_0x501f70(0x1bc))/0x2*(-parseInt(_0x501f70(0x1bf))/0x3)+-parseInt(_0x501f70(0x1ae))/0x4*(parseInt(_0x501f70(0x207))/0x5)+parseInt(_0x501f70(0x1f6))/0x6+-parseInt(_0x501f70(0x1ef))/0x7+-parseInt(_0x501f70(0x1c5))/0x8+parseInt(_0x501f70(0x205))/0x9;if(_0x56ed91===_0x1ddb8f)break;else _0x280dd4['push'](_0x280dd4['shift']());}catch(_0x3cc058){_0x280dd4['push'](_0x280dd4['shift']());}}}(_0xbd53,0x480d2));import{Context as _0x28e16f,ContextPlugin as _0xe074ce}from'ckeditor5/src/core.js';function _0xbd53(){const _0xc50b6a=['3685320HAtDpK','commentThreadResolved','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','size','collaboration.channelId','addComment','_getService','startsWith','getUser','getComment','_setUpService','resolveCommentThread','CloudServicesCommentsAdapter','content','cloudservicescommentsadapter-disconnect-not-exist','_terminateService','attributes','addToReconnectionStack','getCommentThread','404','pluginName','register','createdAt','commentThreadReopened','isPremiumPlugin','userId','addCommentThread','mySessionId','cloudservicescommentsadapter-connect-already-connected','getMany','get','init','assign','_connectService','isOfficialPlugin','reopen','keys','listenTo','_fetchMissingUsersForThreads','210922DiMoij','_services','adapter','3159191wndTrA','resolvedBy','config','reopenCommentThread','context','cloud-services-internal-error:\x20Request\x20timeout.','from','2420808uCYrJE','Permissions','commentId','requires','message','getCommentThreads','off','cloudservicescommentsadapter-service-not-exist','commentUpdated','commentThreadRemoved','sessionAdd:','comments','CommentsService','update','add','6306444axrMzb','disconnect','24955SLasya','CommentsRepository','updateCommentThread','destroy','code','commentRemoved','setPermissions','delete','remove','resolvedAt','updateComment','commentThreadUpdated','452FgPbgJ','set','connect','reconnect','has','deletedAt','commentThreadId','removeCommentThread','getConnectedSessions','removeComment','commentAdded','authorId','unregister','map','2ldPimL','catch','resolve','1367931NrMjxP','commentThreadAdded','plugins','permissions','addUser','cloud-services-internal-error:\x20Not\x20connected.'];_0xbd53=function(){return _0xc50b6a;};return _0xbd53();}import{CKEditorError as _0x52e6d1}from'ckeditor5/src/utils.js';import{Users as _0x2eaf9b}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x156a5b,User as _0x3559ab}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x1eab12}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x10f6c9}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0xe074ce{static [_0x13e87f(0x202)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x156a5b)());[_0x13e87f(0x1ed)];static get[_0x13e87f(0x1f9)](){const _0x3e2006=_0x13e87f;return[_0x1eab12,_0x3e2006(0x208),_0x10f6c9,_0x2eaf9b];}static get[_0x13e87f(0x1d9)](){const _0x520dbc=_0x13e87f;return _0x520dbc(0x1d1);}static get[_0x13e87f(0x1e7)](){return!0x0;}static get[_0x13e87f(0x1dd)](){return!0x0;}constructor(_0x22ad45){const _0x515a7e=_0x13e87f;super(_0x22ad45),this[_0x515a7e(0x1ed)]=new Map();}async[_0x13e87f(0x1e4)](){const _0x50070b=_0x13e87f,_0x886534=this[_0x50070b(0x1f3)],_0x2934ae=_0x886534[_0x50070b(0x1c1)][_0x50070b(0x1e3)](_0x50070b(0x208));if(_0x886534[_0x50070b(0x1c1)][_0x50070b(0x1e3)](_0x1eab12)[_0x50070b(0x1d6)](this),_0x2934ae[_0x50070b(0x1ee)]={'addCommentThread':async({channelId:_0x20687e,threadId:_0x1dcb50,comments:_0x347582,resolvedAt:_0x221ea4,resolvedBy:_0x1b5194,context:_0x15cf79,attributes:_0x32e751})=>{const _0x45313a=_0x50070b,_0x269f6b=await this[_0x45313a(0x1cb)](_0x20687e)[_0x45313a(0x1df)]({'commentThreadId':_0x1dcb50,'comments':_0x347582[_0x45313a(0x1bb)](_0x5ece07=>function(_0x2b1f81,_0x1d8d17,_0x40040c){const _0x15964b=_0x45313a;return{'commentThreadId':_0x40040c,'commentId':_0x2b1f81[_0x15964b(0x1f8)],'userId':_0x2b1f81[_0x15964b(0x1b9)],'content':_0x2b1f81[_0x15964b(0x1d2)],'documentId':_0x1d8d17,'createdAt':_0x2b1f81[_0x15964b(0x1db)],'attributes':_0x2b1f81[_0x15964b(0x1d5)]||{}};}(_0x5ece07,_0x20687e,_0x1dcb50)),'resolvedAt':_0x221ea4,'resolvedBy':_0x1b5194,'context':_0x15cf79,'attributes':_0x32e751})[_0x45313a(0x1bd)](k);return{'threadId':_0x269f6b[_0x45313a(0x1b4)],'comments':_0x269f6b[_0x45313a(0x201)]};},'getCommentThread':async({channelId:_0x2c556d,threadId:_0x118e74})=>{const _0x14306f=_0x50070b,_0x12f9a9=await this[_0x14306f(0x1cb)](_0x2c556d)[_0x14306f(0x1d7)](_0x118e74)[_0x14306f(0x1bd)](F)[_0x14306f(0x1bd)](k);return _0x12f9a9?_0x12f9a9[_0x14306f(0x1b3)]?null:(await this[_0x14306f(0x1eb)]([_0x12f9a9]),{'threadId':_0x12f9a9[_0x14306f(0x1b4)],'comments':_0x12f9a9[_0x14306f(0x201)][_0x14306f(0x1bb)](S),'context':_0x12f9a9[_0x14306f(0x1f3)],'resolvedAt':_0x12f9a9[_0x14306f(0x1ab)],'resolvedBy':_0x12f9a9[_0x14306f(0x1f0)],'attributes':_0x12f9a9[_0x14306f(0x1d5)]||{}}):null;},'updateCommentThread':async({channelId:_0x3ee579,threadId:_0x546b59,context:_0x4f32fe,unlinkedAt:_0x3fc4f7,attributes:_0x372c91})=>this[_0x50070b(0x1cb)](_0x3ee579)[_0x50070b(0x209)]({'commentThreadId':_0x546b59,'context':_0x4f32fe,'attributes':_0x372c91,'unlinkedAt':_0x3fc4f7})[_0x50070b(0x1bd)](F)[_0x50070b(0x1bd)](k),'resolveCommentThread':async({channelId:_0x23c5fb,threadId:_0x55490f})=>{const _0x37dd7d=_0x50070b,_0x50291d=await this[_0x37dd7d(0x1cb)](_0x23c5fb)[_0x37dd7d(0x1d0)](_0x55490f)[_0x37dd7d(0x1bd)](F)[_0x37dd7d(0x1bd)](k);return{'threadId':_0x50291d[_0x37dd7d(0x1b4)],'resolvedAt':_0x50291d[_0x37dd7d(0x1ab)],'resolvedBy':_0x50291d[_0x37dd7d(0x1f0)]};},'reopenCommentThread':async({channelId:_0x47650d,threadId:_0x4428e4})=>this[_0x50070b(0x1cb)](_0x47650d)[_0x50070b(0x1f2)](_0x4428e4)[_0x50070b(0x1bd)](F)[_0x50070b(0x1bd)](k),'removeCommentThread':({channelId:_0x3d27e,threadId:_0x255a18})=>this[_0x50070b(0x1cb)](_0x3d27e)[_0x50070b(0x1b5)](_0x255a18)[_0x50070b(0x1bd)](F)[_0x50070b(0x1bd)](k),'addComment':({channelId:_0x1001a1,threadId:_0x3a22f2,commentId:_0x284c24,content:_0x86ff0a,attributes:_0x44ef0d})=>this[_0x50070b(0x1cb)](_0x1001a1)[_0x50070b(0x1ca)](_0x3a22f2,_0x284c24,_0x86ff0a,_0x44ef0d)[_0x50070b(0x1bd)](k),'updateComment':({channelId:_0x636dcc,threadId:_0x520f4b,commentId:_0x1945fd,content:_0x4d5cde,attributes:_0x1c12e7})=>this[_0x50070b(0x1cb)](_0x636dcc)[_0x50070b(0x1ac)](_0x520f4b,_0x1945fd,_0x4d5cde,_0x1c12e7)[_0x50070b(0x1bd)](F)[_0x50070b(0x1bd)](k),'removeComment':({channelId:_0x72139a,threadId:_0x52bfd1,commentId:_0x39c773})=>this[_0x50070b(0x1cb)](_0x72139a)[_0x50070b(0x1b7)](_0x52bfd1,_0x39c773)[_0x50070b(0x1bd)](F)[_0x50070b(0x1bd)](k)},_0x886534 instanceof _0x28e16f){const _0x17c3a3=_0x886534[_0x50070b(0x1f1)][_0x50070b(0x1e3)](_0x50070b(0x1c9)),_0x3e753d=_0x886534[_0x50070b(0x1c1)][_0x50070b(0x1e3)](_0x10f6c9);await this[_0x50070b(0x1cf)](_0x17c3a3);const _0x486295=await this[_0x50070b(0x1ed)][_0x50070b(0x1e3)](_0x17c3a3)[_0x50070b(0x1b6)]();this[_0x50070b(0x1ea)](_0x3e753d,_0x50070b(0x200)+_0x17c3a3,(_0xa2921,{session:_0x5dc320})=>{const _0x61bf8c=_0x50070b;_0x5dc320['id']===_0x3e753d[_0x61bf8c(0x1e0)]&&(_0xa2921[_0x61bf8c(0x1fc)](),this[_0x61bf8c(0x1f3)][_0x61bf8c(0x1c1)][_0x61bf8c(0x1e3)](_0x61bf8c(0x1f7))[_0x61bf8c(0x1a8)](_0x5dc320[_0x61bf8c(0x1c2)],_0x17c3a3));}),_0x3e753d[_0x50070b(0x1da)](_0x17c3a3,_0x486295);}}async[_0x13e87f(0x1cf)](_0x1605ba){const _0x26647a=_0x13e87f;if(this[_0x26647a(0x1ed)][_0x26647a(0x1b2)](_0x1605ba))throw new _0x52e6d1(_0x26647a(0x1e1),null,{'channelId':_0x1605ba});const _0x509a51=this[_0x26647a(0x1f3)][_0x26647a(0x1c1)][_0x26647a(0x1e3)](_0x26647a(0x208)),_0x1b5775=new CloudServicesCommentsAdapter[(_0x26647a(0x202))](_0x1605ba);this[_0x26647a(0x1ed)][_0x26647a(0x1af)](_0x1605ba,_0x1b5775),this[_0x26647a(0x1ea)](_0x1b5775,_0x26647a(0x1c0),(_0x1e31aa,_0x53cee6)=>{const _0x32822c=_0x26647a,{commentThreadId:_0x5b3388,documentId:_0x220d65,context:_0xedf066,attributes:_0x3e018b,resolvedAt:_0x5360a6,resolvedBy:_0x33903e,comments:_0x1fbe8c}=_0x53cee6;_0x509a51[_0x32822c(0x1d7)](_0x5b3388)||_0x509a51[_0x32822c(0x1df)]({'threadId':_0x5b3388,'channelId':_0x220d65,'comments':_0x1fbe8c?_0x1fbe8c[_0x32822c(0x1bb)](S):[],'context':_0xedf066,'attributes':_0x3e018b,'resolvedAt':_0x5360a6,'resolvedBy':_0x33903e,'isFromAdapter':!0x0});}),this[_0x26647a(0x1ea)](_0x1b5775,_0x26647a(0x1ad),(_0x595dd6,{commentThreadId:_0x21d18,documentId:_0x3edcf1,context:_0x383ec4,unlinkedAt:_0x14ba36,attributes:_0x2b8808})=>{const _0x14eb94=_0x26647a;_0x509a51[_0x14eb94(0x1d7)](_0x21d18)&&_0x509a51[_0x14eb94(0x209)]({'threadId':_0x21d18,'channelId':_0x3edcf1,'context':_0x383ec4,'unlinkedAt':_0x14ba36,'attributes':_0x2b8808,'isFromAdapter':!0x0});}),this[_0x26647a(0x1ea)](_0x1b5775,_0x26647a(0x1c6),(_0x444b9c,{commentThreadId:_0x2bdfca,resolvedBy:_0x56a192,resolvedAt:_0x57d0e5})=>{const _0x39ec42=_0x26647a,_0x5de70c=_0x509a51[_0x39ec42(0x1d7)](_0x2bdfca);_0x5de70c&&_0x5de70c[_0x39ec42(0x1be)]({'resolvedBy':_0x56a192,'resolvedAt':_0x57d0e5,'isFromAdapter':!0x0});}),this[_0x26647a(0x1ea)](_0x1b5775,_0x26647a(0x1dc),(_0x2d403c,{commentThreadId:_0x4aeabb})=>{const _0x563d51=_0x26647a,_0x114cfa=_0x509a51[_0x563d51(0x1d7)](_0x4aeabb);_0x114cfa&&_0x114cfa[_0x563d51(0x1e8)]({'isFromAdapter':!0x0});}),this[_0x26647a(0x1ea)](_0x1b5775,_0x26647a(0x1ff),(_0x30887c,{commentThreadId:_0x58dd9c})=>{const _0x177b90=_0x26647a,_0x1bc10=_0x509a51[_0x177b90(0x1d7)](_0x58dd9c);_0x1bc10&&_0x1bc10[_0x177b90(0x1aa)]({'isFromAdapter':!0x0});}),this[_0x26647a(0x1ea)](_0x1b5775,_0x26647a(0x1b8),(_0x34a77d,_0xdebd52)=>{const _0x37ab08=_0x26647a,_0x1d9f5f=_0xdebd52[_0x37ab08(0x1b4)],_0x555991=_0x509a51[_0x37ab08(0x1d7)](_0x1d9f5f);_0x555991&&_0x555991[_0x37ab08(0x1ca)]({...S(_0xdebd52),'isFromAdapter':!0x0});}),this[_0x26647a(0x1ea)](_0x1b5775,_0x26647a(0x1fe),(_0x2e6309,{commentThreadId:_0x469f7a,commentId:_0x40357a,content:_0x1457fe,attributes:_0x1e236})=>{const _0x48ac7f=_0x26647a,_0x1a4019=_0x509a51[_0x48ac7f(0x1d7)](_0x469f7a);if(_0x1a4019){const _0x1afc8d=_0x1a4019[_0x48ac7f(0x1ce)](_0x40357a);_0x1afc8d&&_0x1afc8d[_0x48ac7f(0x203)]({'content':_0x1457fe,'attributes':_0x1e236,'isFromAdapter':!0x0});}}),this[_0x26647a(0x1ea)](_0x1b5775,_0x26647a(0x20c),(_0x34824c,{commentThreadId:_0x433fe0,commentId:_0x5b68c7})=>{const _0x53fb42=_0x26647a,_0x121a8e=_0x509a51[_0x53fb42(0x1d7)](_0x433fe0);if(_0x121a8e){const _0x317fae=_0x121a8e[_0x53fb42(0x1ce)](_0x5b68c7);_0x317fae&&_0x317fae[_0x53fb42(0x1aa)]({'isFromAdapter':!0x0});}}),await this[_0x26647a(0x1e6)](_0x1605ba);}[_0x13e87f(0x20a)](){const _0x18afbf=_0x13e87f;if(this[_0x18afbf(0x1f3)]instanceof _0x28e16f){const _0x50fee0=this[_0x18afbf(0x1f3)][_0x18afbf(0x1f1)][_0x18afbf(0x1e3)](_0x18afbf(0x1c9));this[_0x18afbf(0x1d4)](_0x50fee0);}}[_0x13e87f(0x1d4)](_0x25482c){const _0x56c270=_0x13e87f;if(!this[_0x56c270(0x1ed)][_0x56c270(0x1b2)](_0x25482c))throw new _0x52e6d1(_0x56c270(0x1d3),null,{'channelId':_0x25482c});this[_0x56c270(0x1cb)](_0x25482c)[_0x56c270(0x206)](),this[_0x56c270(0x1ed)][_0x56c270(0x1a9)](_0x25482c);}async[_0x13e87f(0x1b1)](){const _0xa60954=_0x13e87f;for(const _0x205e88 of this[_0xa60954(0x1ed)][_0xa60954(0x1e9)]())await this[_0xa60954(0x1e6)](_0x205e88);if(this[_0xa60954(0x1f3)]instanceof _0x28e16f){const _0x37f37d=this[_0xa60954(0x1f3)][_0xa60954(0x1f1)][_0xa60954(0x1e3)](_0xa60954(0x1c9)),_0x5a3b42=this[_0xa60954(0x1f3)][_0xa60954(0x1c1)][_0xa60954(0x1e3)](_0x10f6c9);_0x5a3b42[_0xa60954(0x1ba)](_0x37f37d);const _0x191dcd=await this[_0xa60954(0x1ed)][_0xa60954(0x1e3)](_0x37f37d)[_0xa60954(0x1b6)]();_0x5a3b42[_0xa60954(0x1da)](_0x37f37d,_0x191dcd);}}async[_0x13e87f(0x1e6)](_0x32e3cb){const _0x2d74f4=_0x13e87f,{connection:_0x176cef}=this[_0x2d74f4(0x1f3)][_0x2d74f4(0x1c1)][_0x2d74f4(0x1e3)](_0x1eab12),_0xbf3ec=this[_0x2d74f4(0x1f3)][_0x2d74f4(0x1c1)][_0x2d74f4(0x1e3)](_0x2d74f4(0x208)),_0x8326b2=this[_0x2d74f4(0x1ed)][_0x2d74f4(0x1e3)](_0x32e3cb),_0x40ad29=await _0x8326b2[_0x2d74f4(0x1b0)](_0x176cef);await this[_0x2d74f4(0x1eb)](_0x40ad29);const _0x4551b0=new Set(Array[_0x2d74f4(0x1f5)](_0xbf3ec[_0x2d74f4(0x1fb)]({'channelId':_0x32e3cb}),_0x1dec3a=>_0x1dec3a['id']));for(const _0x37371a of _0x40ad29)_0x37371a[_0x2d74f4(0x1b3)]||_0x4551b0[_0x2d74f4(0x1a9)](_0x37371a[_0x2d74f4(0x1b4)]);for(const _0x39f364 of _0x4551b0)_0xbf3ec[_0x2d74f4(0x1d7)](_0x39f364)[_0x2d74f4(0x1aa)]({'isFromAdapter':!0x0});for(const _0x76c051 of _0x40ad29){let _0x55e195=_0xbf3ec[_0x2d74f4(0x1d7)](_0x76c051[_0x2d74f4(0x1b4)]);const {commentThreadId:_0x1128be,context:_0x121ae8,attributes:_0x81818b,resolvedBy:_0x1012e8,resolvedAt:_0x3da9d5,unlinkedAt:_0x60fda4,deletedAt:_0xb1b329}=_0x76c051;if(_0xb1b329)continue;_0x55e195||(_0x55e195=_0xbf3ec[_0x2d74f4(0x1df)]({'channelId':_0x32e3cb,'threadId':_0x1128be,'context':_0x121ae8,'attributes':_0x81818b||{},'resolvedBy':_0x1012e8,'resolvedAt':_0x3da9d5,'unlinkedAt':_0x60fda4,'isFromAdapter':!0x0}));const _0xc9a6c0=new Set(Array[_0x2d74f4(0x1f5)](_0x55e195[_0x2d74f4(0x201)],_0xb7a81=>_0xb7a81['id']));for(const _0x5f80bc of _0x76c051[_0x2d74f4(0x201)])_0xc9a6c0[_0x2d74f4(0x1a9)](_0x5f80bc[_0x2d74f4(0x1f8)]);for(const _0x2e2f3b of _0xc9a6c0)_0x55e195[_0x2d74f4(0x1ce)](_0x2e2f3b)[_0x2d74f4(0x1aa)]({'isFromAdapter':!0x0});for(const _0x38a616 of _0x76c051[_0x2d74f4(0x201)]){const _0x368b6e=_0x55e195[_0x2d74f4(0x1ce)](_0x38a616[_0x2d74f4(0x1f8)]);_0x368b6e?_0x368b6e[_0x2d74f4(0x1d2)]!==_0x38a616[_0x2d74f4(0x1d2)]&&_0x368b6e[_0x2d74f4(0x203)]({'content':_0x38a616[_0x2d74f4(0x1d2)],'isFromAdapter':!0x0}):_0x55e195[_0x2d74f4(0x1ca)](Object[_0x2d74f4(0x1e5)](S(_0x38a616),{'isFromAdapter':!0x0}));}}}[_0x13e87f(0x1cb)](_0x7ac9cb){const _0x3c9c57=_0x13e87f;if(!this[_0x3c9c57(0x1ed)][_0x3c9c57(0x1b2)](_0x7ac9cb))throw new _0x52e6d1(_0x3c9c57(0x1fd),null,{'channelId':_0x7ac9cb});return this[_0x3c9c57(0x1ed)][_0x3c9c57(0x1e3)](_0x7ac9cb);}async[_0x13e87f(0x1eb)](_0x34f9c4){const _0x2fdb02=_0x13e87f,_0x2bf7c8=this[_0x2fdb02(0x1f3)][_0x2fdb02(0x1c1)][_0x2fdb02(0x1e3)](_0x2eaf9b),{connection:_0x4e818e}=this[_0x2fdb02(0x1f3)][_0x2fdb02(0x1c1)][_0x2fdb02(0x1e3)](_0x1eab12),_0x5ab3d3=new Set();for(const {resolvedBy:_0x214c1c,comments:_0x20cfcb}of _0x34f9c4){_0x214c1c&&!_0x2bf7c8[_0x2fdb02(0x1cd)](_0x214c1c)&&_0x5ab3d3[_0x2fdb02(0x204)](_0x214c1c);for(const {userId:_0x413160}of _0x20cfcb)_0x2bf7c8[_0x2fdb02(0x1cd)](_0x413160)||_0x5ab3d3[_0x2fdb02(0x204)](_0x413160);}if(0x0===_0x5ab3d3[_0x2fdb02(0x1c8)])return;const _0x307644=await _0x3559ab[_0x2fdb02(0x1e2)](_0x4e818e,Array[_0x2fdb02(0x1f5)](_0x5ab3d3));for(const _0x3fc6cc of _0x307644)_0x2bf7c8[_0x2fdb02(0x1cd)](_0x3fc6cc['id'])||_0x2bf7c8[_0x2fdb02(0x1c3)](_0x3fc6cc);}}async function F(_0x809cb5){const _0x525a03=_0x13e87f;if(_0x525a03(0x1d8)!==_0x809cb5[_0x525a03(0x20b)])throw _0x809cb5;}function k(_0x4d198e){const _0x280b5c=_0x13e87f;if((_0x3ec407=_0x4d198e)[_0x280b5c(0x1fa)][_0x280b5c(0x1cc)](_0x280b5c(0x1c7))||_0x3ec407[_0x280b5c(0x1fa)][_0x280b5c(0x1cc)](_0x280b5c(0x1c4))||_0x3ec407[_0x280b5c(0x1fa)][_0x280b5c(0x1cc)](_0x280b5c(0x1f4)))return new Promise(()=>{});var _0x3ec407;throw _0x4d198e;}function _0x35a4(_0x1102fd,_0x2f56b4){const _0xbd537f=_0xbd53();return _0x35a4=function(_0x35a458,_0x12cb6a){_0x35a458=_0x35a458-0x1a8;let _0xf5dffd=_0xbd537f[_0x35a458];return _0xf5dffd;},_0x35a4(_0x1102fd,_0x2f56b4);}function S(_0x392ba8){const _0x10882d=_0x13e87f;return{'threadId':_0x392ba8[_0x10882d(0x1b4)],'commentId':_0x392ba8[_0x10882d(0x1f8)],'content':_0x392ba8[_0x10882d(0x1d2)],'createdAt':_0x392ba8[_0x10882d(0x1db)],'authorId':_0x392ba8[_0x10882d(0x1de)],'attributes':_0x392ba8[_0x10882d(0x1d5)]||{}};}
23
+ const _0x433317=_0x5284;(function(_0x517105,_0x10e281){const _0x10d200=_0x5284,_0x376c44=_0x517105();while(!![]){try{const _0x3997a4=parseInt(_0x10d200(0x141))/0x1+parseInt(_0x10d200(0x124))/0x2+parseInt(_0x10d200(0x159))/0x3*(parseInt(_0x10d200(0x12c))/0x4)+-parseInt(_0x10d200(0x121))/0x5+parseInt(_0x10d200(0x157))/0x6+parseInt(_0x10d200(0x11c))/0x7+parseInt(_0x10d200(0x16d))/0x8*(-parseInt(_0x10d200(0x112))/0x9);if(_0x3997a4===_0x10e281)break;else _0x376c44['push'](_0x376c44['shift']());}catch(_0x621971){_0x376c44['push'](_0x376c44['shift']());}}}(_0x595d,0x1efff));import{Context as _0x1b1259,ContextPlugin as _0x4b43cb}from'ckeditor5/src/core.js';function _0x595d(){const _0xa663ab=['commentThreadAdded','getUser','getCommentThread','resolvedBy','_connectService','commentThreadUpdated','delete','connect','getMany','removeCommentThread','attributes','comments','commentThreadRemoved','reconnect','content','cloudservicescommentsadapter-connect-already-connected','plugins','912168STaEXy','addToReconnectionStack','579753YuHTGe','collaboration.channelId','CommentsService','assign','createdAt','mySessionId','404','destroy','resolve','init','_setUpService','authorId','unregister','register','reopen','cloudservicescommentsadapter-disconnect-not-exist','_terminateService','removeComment','commentThreadId','startsWith','7392pOAQjd','_services','adapter','keys','resolvedAt','setPermissions','resolveCommentThread','context','has','off','5148kNPqKC','permissions','addComment','commentThreadResolved','map','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','size','updateComment','requires','cloud-services-internal-error:\x20Not\x20connected.','1617168FucWMU','commentAdded','from','getComment','commentUpdated','1076615FeaaKh','get','getCommentThreads','147632UrPPPS','remove','isOfficialPlugin','deletedAt','commentId','set','catch','reopenCommentThread','4XjQyLN','_fetchMissingUsersForThreads','getConnectedSessions','addUser','pluginName','add','code','commentRemoved','cloudservicescommentsadapter-service-not-exist','listenTo','cloud-services-internal-error:\x20Request\x20timeout.','CommentsRepository','update','sessionAdd:','isPremiumPlugin','message','commentThreadReopened','updateCommentThread','config','_getService','Permissions','220707IipWxu','disconnect','addCommentThread','userId','CloudServicesCommentsAdapter'];_0x595d=function(){return _0xa663ab;};return _0x595d();}import{CKEditorError as _0xd7cddc}from'ckeditor5/src/utils.js';import{Users as _0x107e48}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x245cf6,User as _0x4b06dd}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x540310}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x471404}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x4b43cb{static [_0x433317(0x15b)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x245cf6)());[_0x433317(0x16e)];static get[_0x433317(0x11a)](){const _0x5013bc=_0x433317;return[_0x540310,_0x5013bc(0x137),_0x471404,_0x107e48];}static get[_0x433317(0x130)](){const _0x9faabc=_0x433317;return _0x9faabc(0x145);}static get[_0x433317(0x126)](){return!0x0;}static get[_0x433317(0x13a)](){return!0x0;}constructor(_0x5d066f){const _0x4a149d=_0x433317;super(_0x5d066f),this[_0x4a149d(0x16e)]=new Map();}async[_0x433317(0x162)](){const _0x94dba6=_0x433317,_0x2d736a=this[_0x94dba6(0x10f)],_0x356096=_0x2d736a[_0x94dba6(0x156)][_0x94dba6(0x122)](_0x94dba6(0x137));if(_0x2d736a[_0x94dba6(0x156)][_0x94dba6(0x122)](_0x540310)[_0x94dba6(0x158)](this),_0x356096[_0x94dba6(0x16f)]={'addCommentThread':async({channelId:_0x40bb83,threadId:_0x1f3888,comments:_0x2c1656,resolvedAt:_0x5d1d31,resolvedBy:_0x269eb1,context:_0x510ea5,attributes:_0x8e9e9c})=>{const _0x4509ea=_0x94dba6,_0x1262a7=await this[_0x4509ea(0x13f)](_0x40bb83)[_0x4509ea(0x143)]({'commentThreadId':_0x1f3888,'comments':_0x2c1656[_0x4509ea(0x116)](_0x121d93=>function(_0x255f0e,_0x222096,_0x5ee394){const _0x4f9457=_0x4509ea;return{'commentThreadId':_0x5ee394,'commentId':_0x255f0e[_0x4f9457(0x128)],'userId':_0x255f0e[_0x4f9457(0x164)],'content':_0x255f0e[_0x4f9457(0x154)],'documentId':_0x222096,'createdAt':_0x255f0e[_0x4f9457(0x15d)],'attributes':_0x255f0e[_0x4f9457(0x150)]||{}};}(_0x121d93,_0x40bb83,_0x1f3888)),'resolvedAt':_0x5d1d31,'resolvedBy':_0x269eb1,'context':_0x510ea5,'attributes':_0x8e9e9c})[_0x4509ea(0x12a)](nt);return{'threadId':_0x1262a7[_0x4509ea(0x16b)],'comments':_0x1262a7[_0x4509ea(0x151)]};},'getCommentThread':async({channelId:_0x29e357,threadId:_0x1db081})=>{const _0x586d46=_0x94dba6,_0x37c504=await this[_0x586d46(0x13f)](_0x29e357)[_0x586d46(0x148)](_0x1db081)[_0x586d46(0x12a)](ot)[_0x586d46(0x12a)](nt);return _0x37c504?_0x37c504[_0x586d46(0x127)]?null:(await this[_0x586d46(0x12d)]([_0x37c504]),{'threadId':_0x37c504[_0x586d46(0x16b)],'comments':_0x37c504[_0x586d46(0x151)][_0x586d46(0x116)](st),'context':_0x37c504[_0x586d46(0x10f)],'resolvedAt':_0x37c504[_0x586d46(0x10c)],'resolvedBy':_0x37c504[_0x586d46(0x149)],'attributes':_0x37c504[_0x586d46(0x150)]||{}}):null;},'updateCommentThread':async({channelId:_0x16b0fe,threadId:_0x4bb2a8,context:_0x375573,unlinkedAt:_0x2f4a53,attributes:_0x3310f1})=>this[_0x94dba6(0x13f)](_0x16b0fe)[_0x94dba6(0x13d)]({'commentThreadId':_0x4bb2a8,'context':_0x375573,'attributes':_0x3310f1,'unlinkedAt':_0x2f4a53})[_0x94dba6(0x12a)](ot)[_0x94dba6(0x12a)](nt),'resolveCommentThread':async({channelId:_0x127aa7,threadId:_0x2d21a7})=>{const _0x94a252=_0x94dba6,_0x5bda46=await this[_0x94a252(0x13f)](_0x127aa7)[_0x94a252(0x10e)](_0x2d21a7)[_0x94a252(0x12a)](ot)[_0x94a252(0x12a)](nt);return{'threadId':_0x5bda46[_0x94a252(0x16b)],'resolvedAt':_0x5bda46[_0x94a252(0x10c)],'resolvedBy':_0x5bda46[_0x94a252(0x149)]};},'reopenCommentThread':async({channelId:_0x189d96,threadId:_0x132d1c})=>this[_0x94dba6(0x13f)](_0x189d96)[_0x94dba6(0x12b)](_0x132d1c)[_0x94dba6(0x12a)](ot)[_0x94dba6(0x12a)](nt),'removeCommentThread':({channelId:_0x1fc40f,threadId:_0x2cc701})=>this[_0x94dba6(0x13f)](_0x1fc40f)[_0x94dba6(0x14f)](_0x2cc701)[_0x94dba6(0x12a)](ot)[_0x94dba6(0x12a)](nt),'addComment':({channelId:_0x3fa40d,threadId:_0x5088db,commentId:_0x2d3ed8,content:_0x5375ce,attributes:_0x434ebb})=>this[_0x94dba6(0x13f)](_0x3fa40d)[_0x94dba6(0x114)](_0x5088db,_0x2d3ed8,_0x5375ce,_0x434ebb)[_0x94dba6(0x12a)](nt),'updateComment':({channelId:_0x4c6e00,threadId:_0x56617d,commentId:_0x2760a7,content:_0x1641f5,attributes:_0x12d94d})=>this[_0x94dba6(0x13f)](_0x4c6e00)[_0x94dba6(0x119)](_0x56617d,_0x2760a7,_0x1641f5,_0x12d94d)[_0x94dba6(0x12a)](ot)[_0x94dba6(0x12a)](nt),'removeComment':({channelId:_0x43f78d,threadId:_0x3ae0f7,commentId:_0xe39466})=>this[_0x94dba6(0x13f)](_0x43f78d)[_0x94dba6(0x16a)](_0x3ae0f7,_0xe39466)[_0x94dba6(0x12a)](ot)[_0x94dba6(0x12a)](nt)},_0x2d736a instanceof _0x1b1259){const _0x4cf37b=_0x2d736a[_0x94dba6(0x13e)][_0x94dba6(0x122)](_0x94dba6(0x15a)),_0x568dd6=_0x2d736a[_0x94dba6(0x156)][_0x94dba6(0x122)](_0x471404);await this[_0x94dba6(0x163)](_0x4cf37b);const _0x3ca883=await this[_0x94dba6(0x16e)][_0x94dba6(0x122)](_0x4cf37b)[_0x94dba6(0x12e)]();this[_0x94dba6(0x135)](_0x568dd6,_0x94dba6(0x139)+_0x4cf37b,(_0x4b1463,{session:_0x2e25b4})=>{const _0x106136=_0x94dba6;_0x2e25b4['id']===_0x568dd6[_0x106136(0x15e)]&&(_0x4b1463[_0x106136(0x111)](),this[_0x106136(0x10f)][_0x106136(0x156)][_0x106136(0x122)](_0x106136(0x140))[_0x106136(0x10d)](_0x2e25b4[_0x106136(0x113)],_0x4cf37b));}),_0x568dd6[_0x94dba6(0x166)](_0x4cf37b,_0x3ca883);}}async[_0x433317(0x163)](_0x511fad){const _0x3aca47=_0x433317;if(this[_0x3aca47(0x16e)][_0x3aca47(0x110)](_0x511fad))throw new _0xd7cddc(_0x3aca47(0x155),null,{'channelId':_0x511fad});const _0x1063bc=this[_0x3aca47(0x10f)][_0x3aca47(0x156)][_0x3aca47(0x122)](_0x3aca47(0x137)),_0x4afd63=new CloudServicesCommentsAdapter[(_0x3aca47(0x15b))](_0x511fad);this[_0x3aca47(0x16e)][_0x3aca47(0x129)](_0x511fad,_0x4afd63),this[_0x3aca47(0x135)](_0x4afd63,_0x3aca47(0x146),(_0x155829,_0x82694c)=>{const _0x1a5214=_0x3aca47,{commentThreadId:_0x1a38a9,documentId:_0x114e2b,context:_0x2f2adc,attributes:_0x2573b5,resolvedAt:_0x5de141,resolvedBy:_0x384adc,comments:_0x462792}=_0x82694c;_0x1063bc[_0x1a5214(0x148)](_0x1a38a9)||_0x1063bc[_0x1a5214(0x143)]({'threadId':_0x1a38a9,'channelId':_0x114e2b,'comments':_0x462792?_0x462792[_0x1a5214(0x116)](st):[],'context':_0x2f2adc,'attributes':_0x2573b5,'resolvedAt':_0x5de141,'resolvedBy':_0x384adc,'isFromAdapter':!0x0});}),this[_0x3aca47(0x135)](_0x4afd63,_0x3aca47(0x14b),(_0x188c17,{commentThreadId:_0x355352,documentId:_0xc42ea2,context:_0x180848,unlinkedAt:_0x32dc5a,attributes:_0x1e8a3c})=>{const _0x52a2de=_0x3aca47;_0x1063bc[_0x52a2de(0x148)](_0x355352)&&_0x1063bc[_0x52a2de(0x13d)]({'threadId':_0x355352,'channelId':_0xc42ea2,'context':_0x180848,'unlinkedAt':_0x32dc5a,'attributes':_0x1e8a3c,'isFromAdapter':!0x0});}),this[_0x3aca47(0x135)](_0x4afd63,_0x3aca47(0x115),(_0x2142cf,{commentThreadId:_0x5b6868,resolvedBy:_0x20dba0,resolvedAt:_0x32f0c0})=>{const _0x2c0f34=_0x3aca47,_0x49a6c3=_0x1063bc[_0x2c0f34(0x148)](_0x5b6868);_0x49a6c3&&_0x49a6c3[_0x2c0f34(0x161)]({'resolvedBy':_0x20dba0,'resolvedAt':_0x32f0c0,'isFromAdapter':!0x0});}),this[_0x3aca47(0x135)](_0x4afd63,_0x3aca47(0x13c),(_0x1d3d5a,{commentThreadId:_0x5eb05})=>{const _0x5dc1ca=_0x3aca47,_0x575ea6=_0x1063bc[_0x5dc1ca(0x148)](_0x5eb05);_0x575ea6&&_0x575ea6[_0x5dc1ca(0x167)]({'isFromAdapter':!0x0});}),this[_0x3aca47(0x135)](_0x4afd63,_0x3aca47(0x152),(_0x25f28d,{commentThreadId:_0x1988b3})=>{const _0x215ec4=_0x3aca47,_0x584816=_0x1063bc[_0x215ec4(0x148)](_0x1988b3);_0x584816&&_0x584816[_0x215ec4(0x125)]({'isFromAdapter':!0x0});}),this[_0x3aca47(0x135)](_0x4afd63,_0x3aca47(0x11d),(_0x40a3f5,_0x38dfe6)=>{const _0x1d79cc=_0x3aca47,_0x5cf8b8=_0x38dfe6[_0x1d79cc(0x16b)],_0x152305=_0x1063bc[_0x1d79cc(0x148)](_0x5cf8b8);_0x152305&&_0x152305[_0x1d79cc(0x114)]({...st(_0x38dfe6),'isFromAdapter':!0x0});}),this[_0x3aca47(0x135)](_0x4afd63,_0x3aca47(0x120),(_0xa6e191,{commentThreadId:_0x37952b,commentId:_0x43a5c0,content:_0x5ed495,attributes:_0x717f80})=>{const _0x27317b=_0x3aca47,_0x285225=_0x1063bc[_0x27317b(0x148)](_0x37952b);if(_0x285225){const _0x11df3a=_0x285225[_0x27317b(0x11f)](_0x43a5c0);_0x11df3a&&_0x11df3a[_0x27317b(0x138)]({'content':_0x5ed495,'attributes':_0x717f80,'isFromAdapter':!0x0});}}),this[_0x3aca47(0x135)](_0x4afd63,_0x3aca47(0x133),(_0x3f26d,{commentThreadId:_0x55b570,commentId:_0x33afb9})=>{const _0x1b3eb2=_0x3aca47,_0x52747a=_0x1063bc[_0x1b3eb2(0x148)](_0x55b570);if(_0x52747a){const _0x1a89dd=_0x52747a[_0x1b3eb2(0x11f)](_0x33afb9);_0x1a89dd&&_0x1a89dd[_0x1b3eb2(0x125)]({'isFromAdapter':!0x0});}}),await this[_0x3aca47(0x14a)](_0x511fad);}[_0x433317(0x160)](){const _0x42e60a=_0x433317;if(this[_0x42e60a(0x10f)]instanceof _0x1b1259){const _0x255d11=this[_0x42e60a(0x10f)][_0x42e60a(0x13e)][_0x42e60a(0x122)](_0x42e60a(0x15a));this[_0x42e60a(0x169)](_0x255d11);}}[_0x433317(0x169)](_0x202ee8){const _0x2edd7e=_0x433317;if(!this[_0x2edd7e(0x16e)][_0x2edd7e(0x110)](_0x202ee8))throw new _0xd7cddc(_0x2edd7e(0x168),null,{'channelId':_0x202ee8});this[_0x2edd7e(0x13f)](_0x202ee8)[_0x2edd7e(0x142)](),this[_0x2edd7e(0x16e)][_0x2edd7e(0x14c)](_0x202ee8);}async[_0x433317(0x153)](){const _0x1d908d=_0x433317;for(const _0x3c0eff of this[_0x1d908d(0x16e)][_0x1d908d(0x10b)]())await this[_0x1d908d(0x14a)](_0x3c0eff);if(this[_0x1d908d(0x10f)]instanceof _0x1b1259){const _0x54cc79=this[_0x1d908d(0x10f)][_0x1d908d(0x13e)][_0x1d908d(0x122)](_0x1d908d(0x15a)),_0x3977b3=this[_0x1d908d(0x10f)][_0x1d908d(0x156)][_0x1d908d(0x122)](_0x471404);_0x3977b3[_0x1d908d(0x165)](_0x54cc79);const _0xe406d9=await this[_0x1d908d(0x16e)][_0x1d908d(0x122)](_0x54cc79)[_0x1d908d(0x12e)]();_0x3977b3[_0x1d908d(0x166)](_0x54cc79,_0xe406d9);}}async[_0x433317(0x14a)](_0x49fe65){const _0x2f3c2b=_0x433317,{connection:_0x77e79a}=this[_0x2f3c2b(0x10f)][_0x2f3c2b(0x156)][_0x2f3c2b(0x122)](_0x540310),_0x57d3c9=this[_0x2f3c2b(0x10f)][_0x2f3c2b(0x156)][_0x2f3c2b(0x122)](_0x2f3c2b(0x137)),_0x2a141f=this[_0x2f3c2b(0x16e)][_0x2f3c2b(0x122)](_0x49fe65),_0x5f48d9=await _0x2a141f[_0x2f3c2b(0x14d)](_0x77e79a);await this[_0x2f3c2b(0x12d)](_0x5f48d9);const _0x3538db=new Set(Array[_0x2f3c2b(0x11e)](_0x57d3c9[_0x2f3c2b(0x123)]({'channelId':_0x49fe65}),_0x3d1106=>_0x3d1106['id']));for(const _0x33b562 of _0x5f48d9)_0x33b562[_0x2f3c2b(0x127)]||_0x3538db[_0x2f3c2b(0x14c)](_0x33b562[_0x2f3c2b(0x16b)]);for(const _0x230c95 of _0x3538db)_0x57d3c9[_0x2f3c2b(0x148)](_0x230c95)[_0x2f3c2b(0x125)]({'isFromAdapter':!0x0});for(const _0xbd2995 of _0x5f48d9){let _0x10539d=_0x57d3c9[_0x2f3c2b(0x148)](_0xbd2995[_0x2f3c2b(0x16b)]);const {commentThreadId:_0x4b793c,context:_0x100786,attributes:_0xdfe0fd,resolvedBy:_0x34a9b4,resolvedAt:_0x590556,unlinkedAt:_0x4f281a,deletedAt:_0x2da06f}=_0xbd2995;if(_0x2da06f)continue;_0x10539d||(_0x10539d=_0x57d3c9[_0x2f3c2b(0x143)]({'channelId':_0x49fe65,'threadId':_0x4b793c,'context':_0x100786,'attributes':_0xdfe0fd||{},'resolvedBy':_0x34a9b4,'resolvedAt':_0x590556,'unlinkedAt':_0x4f281a,'isFromAdapter':!0x0}));const _0x12e70c=new Set(Array[_0x2f3c2b(0x11e)](_0x10539d[_0x2f3c2b(0x151)],_0x24288e=>_0x24288e['id']));for(const _0x4d8d04 of _0xbd2995[_0x2f3c2b(0x151)])_0x12e70c[_0x2f3c2b(0x14c)](_0x4d8d04[_0x2f3c2b(0x128)]);for(const _0xe2cb48 of _0x12e70c)_0x10539d[_0x2f3c2b(0x11f)](_0xe2cb48)[_0x2f3c2b(0x125)]({'isFromAdapter':!0x0});for(const _0x2deb20 of _0xbd2995[_0x2f3c2b(0x151)]){const _0x3b1360=_0x10539d[_0x2f3c2b(0x11f)](_0x2deb20[_0x2f3c2b(0x128)]);_0x3b1360?_0x3b1360[_0x2f3c2b(0x154)]!==_0x2deb20[_0x2f3c2b(0x154)]&&_0x3b1360[_0x2f3c2b(0x138)]({'content':_0x2deb20[_0x2f3c2b(0x154)],'isFromAdapter':!0x0}):_0x10539d[_0x2f3c2b(0x114)](Object[_0x2f3c2b(0x15c)](st(_0x2deb20),{'isFromAdapter':!0x0}));}}}[_0x433317(0x13f)](_0x5a0c8c){const _0x3bee29=_0x433317;if(!this[_0x3bee29(0x16e)][_0x3bee29(0x110)](_0x5a0c8c))throw new _0xd7cddc(_0x3bee29(0x134),null,{'channelId':_0x5a0c8c});return this[_0x3bee29(0x16e)][_0x3bee29(0x122)](_0x5a0c8c);}async[_0x433317(0x12d)](_0x322569){const _0x597a3f=_0x433317,_0x490c7a=this[_0x597a3f(0x10f)][_0x597a3f(0x156)][_0x597a3f(0x122)](_0x107e48),{connection:_0x1e3cd8}=this[_0x597a3f(0x10f)][_0x597a3f(0x156)][_0x597a3f(0x122)](_0x540310),_0x3d6694=new Set();for(const {resolvedBy:_0x107357,comments:_0x986b02}of _0x322569){_0x107357&&!_0x490c7a[_0x597a3f(0x147)](_0x107357)&&_0x3d6694[_0x597a3f(0x131)](_0x107357);for(const {userId:_0x286edc}of _0x986b02)_0x490c7a[_0x597a3f(0x147)](_0x286edc)||_0x3d6694[_0x597a3f(0x131)](_0x286edc);}if(0x0===_0x3d6694[_0x597a3f(0x118)])return;const _0x4816e7=await _0x4b06dd[_0x597a3f(0x14e)](_0x1e3cd8,Array[_0x597a3f(0x11e)](_0x3d6694));for(const _0x4c96d5 of _0x4816e7)_0x490c7a[_0x597a3f(0x147)](_0x4c96d5['id'])||_0x490c7a[_0x597a3f(0x12f)](_0x4c96d5);}}async function ot(_0x350a20){const _0x288620=_0x433317;if(_0x288620(0x15f)!==_0x350a20[_0x288620(0x132)])throw _0x350a20;}function _0x5284(_0x418c90,_0x1871a3){const _0x595da7=_0x595d();return _0x5284=function(_0x5284c8,_0x420faa){_0x5284c8=_0x5284c8-0x10b;let _0x2c209e=_0x595da7[_0x5284c8];return _0x2c209e;},_0x5284(_0x418c90,_0x1871a3);}function nt(_0x5131f9){const _0x2d5095=_0x433317;if((_0x2fe44c=_0x5131f9)[_0x2d5095(0x13b)][_0x2d5095(0x16c)](_0x2d5095(0x117))||_0x2fe44c[_0x2d5095(0x13b)][_0x2d5095(0x16c)](_0x2d5095(0x11b))||_0x2fe44c[_0x2d5095(0x13b)][_0x2d5095(0x16c)](_0x2d5095(0x136)))return new Promise(()=>{});var _0x2fe44c;throw _0x5131f9;}function st(_0x4d9b91){const _0x48e2b2=_0x433317;return{'threadId':_0x4d9b91[_0x48e2b2(0x16b)],'commentId':_0x4d9b91[_0x48e2b2(0x128)],'content':_0x4d9b91[_0x48e2b2(0x154)],'createdAt':_0x4d9b91[_0x48e2b2(0x15d)],'authorId':_0x4d9b91[_0x48e2b2(0x144)],'attributes':_0x4d9b91[_0x48e2b2(0x150)]||{}};}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x274c8e=_0x4a06;(function(_0x19c0d7,_0x364d8d){const _0x569d2d=_0x4a06,_0x41e268=_0x19c0d7();while(!![]){try{const _0xd24854=-parseInt(_0x569d2d(0x1ca))/0x1+-parseInt(_0x569d2d(0x167))/0x2*(-parseInt(_0x569d2d(0x13e))/0x3)+-parseInt(_0x569d2d(0x18e))/0x4*(parseInt(_0x569d2d(0x148))/0x5)+-parseInt(_0x569d2d(0x1a6))/0x6+parseInt(_0x569d2d(0x139))/0x7+-parseInt(_0x569d2d(0x204))/0x8*(parseInt(_0x569d2d(0x21d))/0x9)+parseInt(_0x569d2d(0x161))/0xa;if(_0xd24854===_0x364d8d)break;else _0x41e268['push'](_0x41e268['shift']());}catch(_0x2a15a1){_0x41e268['push'](_0x41e268['shift']());}}}(_0x171d,0x27555));import{Plugin as _0x4fded9,PendingActions as _0x4dacc1}from'ckeditor5/src/core.js';import{CKEditorError as _0x1bb122,version as _0xcf13d3,uid as _0x32700c}from'ckeditor5/src/utils.js';import{Notification as _0x46aac3}from'ckeditor5/src/ui.js';function _0x4a06(_0x55ac48,_0x2fb5d1){const _0x171d6a=_0x171d();return _0x4a06=function(_0x4a061b,_0x44c1e1){_0x4a061b=_0x4a061b-0x137;let _0x45477c=_0x171d6a[_0x4a061b];return _0x45477c;},_0x4a06(_0x55ac48,_0x2fb5d1);}import{transformOperationSets as _0x5f3ca8,NoOperation as _0x37ffc1,InsertOperation as _0x2df9ed,MarkerOperation as _0x3e2de9,RootAttributeOperation as _0x4a077c,OperationFactory as _0x50eb62,History as _0x289794}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x33e6c9}from'./websocketgateway.js';function _0x171d(){const _0x2fec9b=['CommentsOnly','differ','_authorId','cloud-services-internal-error:\x20Not\x20connected.','realtimecollaborationclient-init-service-internal-error','affectsData','realtimecollaborationclient-error','has','118584kXXmPU','_currentBufferDelay','change:_isEditingAllowed','filter','mySessionId','setIdForTheLastOperation','_refreshUserSelectionMarkers','_lastServerVersion','change:range','rtc-offline','state','_operationIdentifier','realtimecollaborationclient-init-connection-failed','_handleReconnectionError','isEnabled','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.','409','permissions','realtimecollaborationclient-init-service-incorrect-server-operation','showWarning','newRange','offset','round','apply','1370832NwwPJZ','getDocumentDetails','add','multi-root-editor-root-attributes-no-root','currentDocumentSession','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','change:_isPendingUpdate','metadata','parse','_handleReceivedOperations','insert','_saveOperationInBuffer','set','isDocumentOperation','__className','model','lastDocumentSession','realtimecollaborationclient-sendbufferedoperations','createPositionAt','connected','CollaborativeEditingService','_handleInitialConnectionData','sessionAdd:','_knownRootNames','length','message','_isConnected','attributes','getRoot','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.','404','wereChangesApplied','_compressor','_bufferedOperations','root','clone','294596WDelDi','pluginName','map','connection','stop','realtimecollaborationclient-init-session-connection-error','realtimecollaborationclient-init-non-existent-root','marker','loadRoot','addOperation','fromJSON','_getAffectedRoot','change:hasDomSelection','createRoot','_isInit','reconnect','realtimecollaborationclient-init-document-already-initialized','_document','finally','_isPendingUpdate','_hasSynchronizationProblem','lastSyncVersion','editor','forEach','removeFromReconnectionStack','operationsReceived','_crash','_isAttached','from','_ignoredOperations','_sendBufferedOperationsDelayId','createRange','history','getIdOfTheLastOperation','_setPendingAction','_sendBufferedOperations','channelSessions','_operationToId','stopListening','collaboration','_shouldSendSelectionUpdate','_handleServerResponse','isReadOnly','serverHistory','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','isOfficialPlugin','cs:removeUser','sessionId','_handleExternalOperations','getMany','Permissions','then','compress','_hasSelectionChanged','_clearPendingAction','_initThrowingOnDataSet','lastOperationId','addToReconnectionStack','16viLWgW','string','size','listenTo','return','roots','connect','applyOperation','batch','wasUndone','_bufferRootLoad','_addKnownRoot','createdAt','baseVersion','define','remove','decompress','document','_service','register','addUser','addRootAttribute','sendOperations','slice','cloud-services-internal-error:\x20Request\x20timeout.','204048jHWLoW','$root','initData','editing','cloudDocumentVersion','lastOperationAcceptedAt','_shouldSendUpdate','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','cloudServices.bundleVersion','_waitUntilSynced','off','_isEditingAllowed','markers','_getOperationsFromInitData','selection','getConnectedSessions','view','realtimecollaborationclient','config','init','_disconnectionOperations','_loadRoot','_sendBufferedOperationsDelayed','position','enqueueChange','_knownOperations','type','suppressErrorInCollaboration','plugins','error','fire','real-time-collaboration','path','unregister','2241001QAWUtU','_compressOperations','affectedSelectable','collaboration.channelId','reset','129lvaLvI','keys','entries','userId','move','_disconnectService','_handleSendingSelectionMarkers','toJSON','_connectService','_decompressOperations','20jjuNsk','Synchronization\x20issue','rtc-destroyed','createUserMarkerOperations','RealTimeCollaborationClient','destroy','reconnection:\x20flushed\x20session','_setUpDataInit','start','document:write','version','isPremiumPlugin','_isDisconnection','InsertOperation','_connectAfterSessionHasBeenFlushed','setPermissions','isUndoneOperation','_updateServerHistory','_applyOperationsSet','PENDING_ACTION_SENDING_DATA','targetPosition','realtimecollaborationclient-handleserverresponse','_channelId','disconnect','_pendingAction','2779170RejbsA','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_baseBufferDelay','end','getOperations','directChange','11630ekHSph','_initSessionsHandling','startsWith','_fetchMissingUsers','Notification','enableReadOnlyMode','bind','sessionCreatedAt','disableReadOnlyMode','data','code','_offset','includes','ready','catch','rootsAttributes','high','_lastSyncedOperationId','get','createPositionFromPath','_handleReconnectionResponse','_isLoaded','getUser','rootName','collaboration-missing-channelid','push','locale','requires','getOperationAuthor','disconnected','addRoot'];_0x171d=function(){return _0x2fec9b;};return _0x171d();}import{Sessions as _0x49f860}from'./sessions.js';import{UserMarkers as _0xf0e334}from'./usermarkers.js';import{getTranslation as _0x287f85}from'../common-translations.js';import{Compressor as _0x11ee68}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x4a4c2d}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x2dedd4,CollaborativeEditingService as _0xe7bfba}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x4fded9{static [_0x274c8e(0x1ba)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0xe7bfba)());[_0x274c8e(0x172)];[_0x274c8e(0x1f9)];[_0x274c8e(0x1f5)];[_0x274c8e(0x15e)];[_0x274c8e(0x216)];[_0x274c8e(0x1db)];[_0x274c8e(0x1c6)];[_0x274c8e(0x1c7)];[_0x274c8e(0x236)];[_0x274c8e(0x1bd)];[_0x274c8e(0x160)];[_0x274c8e(0x1ff)];[_0x274c8e(0x1e8)];[_0x274c8e(0x163)];[_0x274c8e(0x18f)];[_0x274c8e(0x178)];[_0x274c8e(0x231)];[_0x274c8e(0x199)];static get[_0x274c8e(0x182)](){return[_0x33e6c9,_0x49f860,_0xf0e334,_0x4dacc1,_0x4a4c2d,_0x46aac3];}static get[_0x274c8e(0x1cb)](){const _0x17b555=_0x274c8e;return _0x17b555(0x14c);}static get[_0x274c8e(0x1f7)](){return!0x0;}static get[_0x274c8e(0x153)](){return!0x0;}get[_0x274c8e(0x221)](){const _0x35175d=_0x274c8e;return this[_0x35175d(0x195)]+this[_0x35175d(0x172)];}get[_0x274c8e(0x195)](){const _0x538cc7=_0x274c8e;return this[_0x538cc7(0x1f5)][_0x538cc7(0x152)]-this[_0x538cc7(0x172)];}get[_0x274c8e(0x1df)](){const _0x5806be=_0x274c8e,_0x242c9a=this[_0x5806be(0x1f5)][_0x5806be(0x165)]();for(let _0x179501=_0x242c9a[_0x5806be(0x1be)]-0x1;_0x179501>=0x0;_0x179501--){const _0x195f49=_0x242c9a[_0x179501];if(!this[_0x5806be(0x231)][_0x5806be(0x18d)](_0x195f49))return _0x195f49[_0x5806be(0x211)]+0x1-this[_0x5806be(0x172)];}return 0x0;}constructor(_0x2abcf9){const _0x242172=_0x274c8e;if(super(_0x2abcf9),this[_0x242172(0x172)]=0x0,this[_0x242172(0x1f9)]=null,this[_0x242172(0x1f5)]=new _0x289794(),this[_0x242172(0x1e0)][_0x242172(0x22f)][_0x242172(0x212)](_0x242172(0x1f1),{}),this[_0x242172(0x15e)]=this[_0x242172(0x1e0)][_0x242172(0x22f)][_0x242172(0x179)](_0x242172(0x13c)),!this[_0x242172(0x15e)])throw new _0x1bb122(_0x242172(0x17f),this);const _0x572333=_0x2abcf9[_0x242172(0x22f)][_0x242172(0x179)](_0x242172(0x225))||_0xcf13d3;this[_0x242172(0x216)]=new RealTimeCollaborationClient[(_0x242172(0x1ba))](_0x572333,this[_0x242172(0x15e)]),this[_0x242172(0x1db)]=this[_0x242172(0x1e0)][_0x242172(0x1b5)][_0x242172(0x215)],this[_0x242172(0x1c6)]=new _0x11ee68(),this[_0x242172(0x1c7)]=[],this[_0x242172(0x236)]=new WeakSet(),this[_0x242172(0x1bd)]=new Set(),this[_0x242172(0x1b2)](_0x242172(0x1dd),!0x1),this[_0x242172(0x1b2)](_0x242172(0x1de),!0x1),this[_0x242172(0x160)]=null,this[_0x242172(0x1ff)]=!0x1,this[_0x242172(0x1e8)]=null,this[_0x242172(0x163)]=0x12c,this[_0x242172(0x18f)]=this[_0x242172(0x163)],this[_0x242172(0x178)]=null,this[_0x242172(0x231)]=new WeakSet(),this[_0x242172(0x199)]=new J(this[_0x242172(0x231)]);}[_0x274c8e(0x230)](){const _0x1cbca5=_0x274c8e,_0x3b0864=this[_0x1cbca5(0x1e0)],_0x5b0c18=_0x3b0864[_0x1cbca5(0x239)][_0x1cbca5(0x179)](_0x4a4c2d),_0x50afe4=_0x3b0864[_0x1cbca5(0x239)][_0x1cbca5(0x179)](_0x33e6c9);this[_0x1cbca5(0x207)](_0x5b0c18,_0x1cbca5(0x183),(_0x527b97,_0x5f25c9)=>{const _0x380676=_0x1cbca5,_0x28240e=_0x5f25c9[0x0];_0x28240e[_0x380676(0x188)]&&(_0x527b97[_0x380676(0x208)]=_0x5b0c18[_0x380676(0x17d)](_0x28240e[_0x380676(0x188)]),_0x527b97[_0x380676(0x1ce)]()),null===_0x28240e[_0x380676(0x188)]&&(_0x527b97[_0x380676(0x208)]=null,_0x527b97[_0x380676(0x1ce)]());},{'priority':_0x1cbca5(0x177)}),this[_0x1cbca5(0x207)](_0x3b0864[_0x1cbca5(0x1b5)][_0x1cbca5(0x215)][_0x1cbca5(0x22b)],_0x1cbca5(0x196),(_0x2ef2d6,_0x5d65cd)=>{const _0x14c5a=_0x1cbca5;_0x5d65cd[_0x14c5a(0x166)]&&this[_0x14c5a(0x194)]();}),this[_0x1cbca5(0x207)](_0x3b0864[_0x1cbca5(0x220)][_0x1cbca5(0x22d)],_0x1cbca5(0x1d6),()=>{const _0x2f05a3=_0x1cbca5;this[_0x2f05a3(0x194)]();}),this[_0x1cbca5(0x201)](),_0x3b0864[_0x1cbca5(0x1b5)]['on'](_0x1cbca5(0x20b),(_0xe62aaa,_0x1fb851)=>{const _0xd75690=_0x1cbca5,_0x53f896=_0x1fb851[0x0];_0x53f896[_0xd75690(0x1b3)]&&(this[_0xd75690(0x1b1)](_0x53f896),this[_0xd75690(0x223)]()&&this[_0xd75690(0x233)]());}),this[_0x1cbca5(0x14f)](),this[_0x1cbca5(0x16d)](_0x1cbca5(0x228))['to'](_0x50afe4,_0x1cbca5(0x198),this,_0x1cbca5(0x1de),(_0x34c2c0,_0x55ce98)=>_0x1cbca5(0x1b9)===_0x34c2c0&&!_0x55ce98),this['on'](_0x1cbca5(0x190),()=>{const _0x163609=_0x1cbca5;this[_0x163609(0x228)]?_0x3b0864[_0x163609(0x16f)](_0x163609(0x197)):_0x3b0864[_0x163609(0x16c)](_0x163609(0x197));}),this[_0x1cbca5(0x228)]?_0x3b0864[_0x1cbca5(0x16f)](_0x1cbca5(0x197)):_0x3b0864[_0x1cbca5(0x16c)](_0x1cbca5(0x197)),this[_0x1cbca5(0x1b2)](_0x1cbca5(0x1c0),!0x1);}async[_0x274c8e(0x1d9)](){const _0x26549c=_0x274c8e,_0x4c329a=this[_0x26549c(0x1e0)][_0x26549c(0x239)][_0x26549c(0x179)](_0x49f860),_0xf992c7=this[_0x26549c(0x1e0)][_0x26549c(0x239)][_0x26549c(0x179)](_0x33e6c9);try{this[_0x26549c(0x1dd)]=!0x0,_0x4c329a[_0x26549c(0x138)](this[_0x26549c(0x15e)]);const _0x27f98c=await this[_0x26549c(0x216)][_0x26549c(0x1d9)](_0xf992c7[_0x26549c(0x1cd)],this[_0x26549c(0x1df)]);await this[_0x26549c(0x17b)](_0x27f98c)&&(this[_0x26549c(0x1dd)]=!0x1,this[_0x26549c(0x200)]());const _0x1148dd=await this[_0x26549c(0x216)][_0x26549c(0x22c)]();_0x4c329a[_0x26549c(0x217)](this[_0x26549c(0x15e)],_0x1148dd),this[_0x26549c(0x144)](),this[_0x26549c(0x1c0)]=!0x0;}catch(_0x39b758){if(function(_0x2dab29){const _0x4371f0=_0x26549c;return _0x4371f0(0x1c4)===_0x2dab29[_0x4371f0(0x171)];}(_0x39b758)&&this[_0x26549c(0x1f9)])await this[_0x26549c(0x156)]();else{if(function(_0x341eaf){const _0x1697e2=_0x26549c;return _0x1697e2(0x19e)===_0x341eaf[_0x1697e2(0x171)];}(_0x39b758)){const _0x112dc4=_0x287f85(this[_0x26549c(0x1e0)][_0x26549c(0x181)],_0x26549c(0x1f6));this[_0x26549c(0x19b)](_0x112dc4);}else{if(!(_0x39b758 instanceof $))throw _0x39b758;this[_0x26549c(0x19b)]();}}}}[_0x274c8e(0x14d)](){const _0x2bae46=_0x274c8e,_0x1cf1f1=this[_0x2bae46(0x1e0)][_0x2bae46(0x239)][_0x2bae46(0x179)](_0x33e6c9),_0x2df711=this[_0x2bae46(0x1e0)][_0x2bae46(0x239)][_0x2bae46(0x179)](_0x49f860);this[_0x2bae46(0x1e0)][_0x2bae46(0x16c)](_0x2bae46(0x14a)),_0x2df711[_0x2bae46(0x1ee)][_0x2bae46(0x18d)](this[_0x2bae46(0x15e)])&&_0x2df711[_0x2bae46(0x138)](this[_0x2bae46(0x15e)]),_0x1cf1f1[_0x2bae46(0x1e2)](this),this[_0x2bae46(0x143)](),super[_0x2bae46(0x14d)]();}async[_0x274c8e(0x17b)](_0x3ba652){const _0x5042f2=_0x274c8e;if(this[_0x5042f2(0x1f9)]!==_0x3ba652[_0x5042f2(0x1f9)]&&this[_0x5042f2(0x178)]!==_0x3ba652[_0x5042f2(0x202)])throw new $();return this[_0x5042f2(0x1f9)]=_0x3ba652[_0x5042f2(0x1f9)],this[_0x5042f2(0x1f3)]([],{..._0x3ba652,'wereChangesApplied':!0x1,'data':_0x3ba652[_0x5042f2(0x170)]},_0x5042f2(0x1d9));}async[_0x274c8e(0x146)](_0x3b3555,_0x3cb302=!0x1){const _0x458fdb=_0x274c8e,{connection:_0x57dd2c}=this[_0x458fdb(0x1e0)][_0x458fdb(0x239)][_0x458fdb(0x179)](_0x33e6c9);RealTimeCollaborationClient[_0x458fdb(0x1ba)][_0x458fdb(0x22c)](_0x57dd2c,this[_0x458fdb(0x15e)])[_0x458fdb(0x1fd)](_0x2ac141=>this[_0x458fdb(0x168)](_0x2ac141))[_0x458fdb(0x175)](_0x4f2048=>{const _0x270470=_0x458fdb;this[_0x270470(0x1e4)](_0x270470(0x1cf),_0x4f2048);}),this[_0x458fdb(0x207)](this[_0x458fdb(0x216)],_0x458fdb(0x1e3),this[_0x458fdb(0x1af)][_0x458fdb(0x16d)](this)),this[_0x458fdb(0x207)](this[_0x458fdb(0x216)],_0x458fdb(0x23a),(_0x2df406,_0x30b323)=>{const _0x3f155c=_0x458fdb;this[_0x3f155c(0x1e4)](_0x3f155c(0x18a),_0x30b323);}),this[_0x458fdb(0x207)](this[_0x458fdb(0x216)],_0x458fdb(0x184),()=>{const _0x3ece0b=_0x458fdb;this[_0x3ece0b(0x1c0)]=!0x1;});const _0x2ebeb4=this[_0x458fdb(0x199)][_0x458fdb(0x1eb)](_0x3b3555);this[_0x458fdb(0x1dd)]=!0x0;const _0x35db26=await this[_0x458fdb(0x216)][_0x458fdb(0x20a)](_0x57dd2c,this[_0x458fdb(0x13a)](_0x3b3555),_0x2ebeb4);if(this[_0x458fdb(0x1f9)]=_0x35db26[_0x458fdb(0x1f9)],_0x3cb302){if(!_0x35db26[_0x458fdb(0x1c5)])return void this[_0x458fdb(0x19b)]();this[_0x458fdb(0x1dd)]=!0x1,this[_0x458fdb(0x200)](),this[_0x458fdb(0x1f5)][_0x458fdb(0x13d)](),this[_0x458fdb(0x172)]=_0x35db26[_0x458fdb(0x1a3)],this[_0x458fdb(0x1f5)][_0x458fdb(0x152)]=this[_0x458fdb(0x172)],await this[_0x458fdb(0x1f3)](_0x3b3555,_0x35db26,_0x458fdb(0x14e));}else await this[_0x458fdb(0x1bb)](_0x35db26,_0x3b3555);this[_0x458fdb(0x144)](),this[_0x458fdb(0x1c0)]=!0x0;}[_0x274c8e(0x144)](){const _0x1e396e=_0x274c8e,_0x306a5a=this[_0x1e396e(0x1e0)][_0x1e396e(0x239)][_0x1e396e(0x179)](_0x49f860),_0x1eaf1e=this[_0x1e396e(0x1e0)][_0x1e396e(0x239)][_0x1e396e(0x179)](_0xf0e334),_0x1287f8=_0x306a5a[_0x1e396e(0x1ee)][_0x1e396e(0x179)](this[_0x1e396e(0x15e)]);_0x1287f8&&_0x1287f8[_0x1e396e(0x1be)]>0x1?_0x1eaf1e[_0x1e396e(0x14b)]():this[_0x1e396e(0x207)](_0x306a5a,_0x1e396e(0x1bc)+this[_0x1e396e(0x15e)],()=>{const _0xd18848=_0x1e396e;0x2===_0x306a5a[_0xd18848(0x1ee)][_0xd18848(0x179)](this[_0xd18848(0x15e)])[_0xd18848(0x1be)]&&_0x1eaf1e[_0xd18848(0x14b)]();});}async[_0x274c8e(0x1af)](_0x1ae0ab,_0x6bc7c1,_0x2980df,_0x2d3b4b){const _0x2e33c3=_0x274c8e;if(!this[_0x2e33c3(0x1dd)]&&this[_0x2e33c3(0x1db)][_0x2e33c3(0x152)]==_0x6bc7c1){const _0x4c6a8c=this[_0x2e33c3(0x147)](_0x2980df,_0x2d3b4b);await this[_0x2e33c3(0x16a)](_0x4c6a8c),this[_0x2e33c3(0x1fa)](_0x4c6a8c,_0x6bc7c1,_0x2980df[_0x2e33c3(0x202)])||this[_0x2e33c3(0x1e4)](_0x2e33c3(0x1a0));}}async[_0x274c8e(0x156)](){const _0xf5fbcc=_0x274c8e;this[_0xf5fbcc(0x143)]();const {locale:_0x3c351d}=this[_0xf5fbcc(0x1e0)];let _0x292a56;try{_0x292a56=await this[_0xf5fbcc(0x216)][_0xf5fbcc(0x1a7)]();}catch{const _0x344ea1=_0x287f85(_0x3c351d,_0xf5fbcc(0x162));return void this[_0xf5fbcc(0x19b)](_0x344ea1);}const _0x531a5b=_0x292a56[_0xf5fbcc(0x1aa)]||_0x292a56[_0xf5fbcc(0x1b6)];if(this[_0xf5fbcc(0x178)]!==_0x531a5b[_0xf5fbcc(0x202)]){const _0x41641c=_0x287f85(_0x3c351d,_0xf5fbcc(0x19d));return void this[_0xf5fbcc(0x19b)](_0x41641c);}await this[_0xf5fbcc(0x146)](this[_0xf5fbcc(0x1e0)][_0xf5fbcc(0x1b5)][_0xf5fbcc(0x215)][_0xf5fbcc(0x1ea)][_0xf5fbcc(0x165)](),!0x0);}[_0x274c8e(0x143)](){const _0x16d4ec=_0x274c8e;this[_0x16d4ec(0x216)][_0x16d4ec(0x15f)](),this[_0x16d4ec(0x1c7)]=[],clearTimeout(this[_0x16d4ec(0x1e8)]),this[_0x16d4ec(0x1f0)](this[_0x16d4ec(0x216)]);}[_0x274c8e(0x168)](_0x282df8){const _0x3f5eae=_0x274c8e,_0x3a9940=this[_0x3f5eae(0x1e0)][_0x3f5eae(0x239)][_0x3f5eae(0x179)](_0x49f860);this[_0x3f5eae(0x207)](_0x3a9940,_0x3f5eae(0x1bc)+this[_0x3f5eae(0x15e)],(_0x4332d6,{session:_0x451397})=>{const _0x39cb46=_0x3f5eae;if(_0x451397['id']===_0x3a9940[_0x39cb46(0x192)]){_0x4332d6[_0x39cb46(0x227)]();const _0x242e7a=this[_0x39cb46(0x1e0)][_0x39cb46(0x239)][_0x39cb46(0x18d)](_0x39cb46(0x186))&&this[_0x39cb46(0x1e0)][_0x39cb46(0x239)][_0x39cb46(0x179)](_0x39cb46(0x186));let _0x1c5cf6=_0x451397[_0x39cb46(0x19f)];_0x242e7a&&_0x242e7a[_0x39cb46(0x19c)]&&(_0x1c5cf6=_0x1c5cf6[_0x39cb46(0x191)](_0x423fa2=>_0x39cb46(0x151)!==_0x423fa2)),this[_0x39cb46(0x1e0)][_0x39cb46(0x239)][_0x39cb46(0x179)](_0x39cb46(0x1fc))[_0x39cb46(0x157)](_0x1c5cf6,this[_0x39cb46(0x15e)]);}}),_0x3a9940[_0x3f5eae(0x217)](this[_0x3f5eae(0x15e)],_0x282df8);}[_0x274c8e(0x201)](){const _0x1a4e51=_0x274c8e,_0x1f4e3e=this[_0x1a4e51(0x1e0)][_0x1a4e51(0x170)][_0x1a4e51(0x1b2)];this[_0x1a4e51(0x1e0)][_0x1a4e51(0x170)][_0x1a4e51(0x1b2)]=(..._0x6f2e83)=>{const _0x33f178=_0x1a4e51;if(!_0x6f2e83[_0x6f2e83[_0x33f178(0x1be)]-0x1][_0x33f178(0x238)])throw new _0x1bb122(_0x33f178(0x224),this);_0x1f4e3e[_0x33f178(0x1a5)](this[_0x33f178(0x1e0)][_0x33f178(0x170)],_0x6f2e83);};}[_0x274c8e(0x14f)](){const _0x4c89af=_0x274c8e;this[_0x4c89af(0x1e0)][_0x4c89af(0x170)]['on'](_0x4c89af(0x230),(_0x30d96e,[_0x8d220e])=>{const _0x150b24=_0x4c89af;if(this[_0x150b24(0x1db)][_0x150b24(0x152)])throw new _0x1bb122(_0x150b24(0x1da),this);_0x30d96e[_0x150b24(0x1ce)](),this[_0x150b24(0x1ec)]();const _0x54bc8a=this[_0x150b24(0x1e0)][_0x150b24(0x22f)][_0x150b24(0x179)](_0x150b24(0x176)),_0x3aa1bd=this[_0x150b24(0x22a)](_0x8d220e,_0x54bc8a);0x0==_0x3aa1bd[_0x150b24(0x1be)]&&_0x3aa1bd[_0x150b24(0x180)](new _0x37ffc1(0x0)),_0x30d96e[_0x150b24(0x208)]=this[_0x150b24(0x146)](_0x3aa1bd)[_0x150b24(0x1fd)](()=>{const _0x221e3b=_0x150b24;this[_0x221e3b(0x1e0)][_0x221e3b(0x239)][_0x221e3b(0x179)](_0x33e6c9)[_0x221e3b(0x203)](this),this[_0x221e3b(0x1e0)][_0x221e3b(0x170)][_0x221e3b(0x23b)](_0x221e3b(0x174));})[_0x150b24(0x175)](_0x5e02f5=>this[_0x150b24(0x1e4)](_0x150b24(0x19a),_0x5e02f5))[_0x150b24(0x1dc)](()=>this[_0x150b24(0x200)]());},{'priority':_0x4c89af(0x177)}),this[_0x4c89af(0x1e0)]['on'](_0x4c89af(0x1d2),async(_0x28d4e6,[_0x516b1e,_0x967cb6])=>{const _0x590b17=_0x4c89af;_0x28d4e6[_0x590b17(0x1ce)]();const _0x2bdc01=this[_0x590b17(0x1e0)][_0x590b17(0x1b5)][_0x590b17(0x215)][_0x590b17(0x1c2)](_0x516b1e);if(!this[_0x590b17(0x1bd)][_0x590b17(0x18d)](_0x516b1e)){const _0x424b33=_0x967cb6&&_0x967cb6[_0x590b17(0x170)]?_0x967cb6[_0x590b17(0x170)]:'',_0x549c92=_0x967cb6&&_0x967cb6[_0x590b17(0x1c1)]?_0x967cb6[_0x590b17(0x1c1)]:{};await this[_0x590b17(0x232)](_0x516b1e,_0x424b33,_0x549c92);}this[_0x590b17(0x1e0)][_0x590b17(0x1b5)][_0x590b17(0x235)]({'isUndoable':!0x1},()=>{const _0x4db593=_0x590b17;_0x2bdc01[_0x4db593(0x17c)]=!0x0,this[_0x4db593(0x1e0)][_0x4db593(0x1b5)][_0x4db593(0x215)][_0x4db593(0x187)][_0x4db593(0x20e)](_0x2bdc01);});},{'priority':_0x4c89af(0x177)});}async[_0x274c8e(0x16a)](_0x51de91){const _0xe49de6=_0x274c8e,_0x2535b7=this[_0xe49de6(0x1e0)][_0xe49de6(0x239)][_0xe49de6(0x179)](_0x4a4c2d),{connection:_0x243e23}=this[_0xe49de6(0x1e0)][_0xe49de6(0x239)][_0xe49de6(0x179)](_0x33e6c9),_0x4eff95=new Set();for(const _0x1ca036 of _0x51de91){const _0x172edf=_0x1ca036[_0xe49de6(0x188)];_0x172edf&&!_0x2535b7[_0xe49de6(0x17d)](_0x172edf)&&_0x4eff95[_0xe49de6(0x1a8)](_0x172edf);}if(0x0===_0x4eff95[_0xe49de6(0x206)])return;const _0x5c4944=await _0x2dedd4[_0xe49de6(0x1fb)](_0x243e23,Array[_0xe49de6(0x1e6)](_0x4eff95));for(const _0x4e02cc of _0x5c4944)_0x2535b7[_0xe49de6(0x17d)](_0x4e02cc['id'])||_0x2535b7[_0xe49de6(0x218)](_0x4e02cc);}[_0x274c8e(0x22a)](_0x30096c,_0x97628a={}){const _0x2e5584=_0x274c8e,_0x53a437=this[_0x2e5584(0x1e0)][_0x2e5584(0x1b5)],_0x8b9a2a=[];let _0x226105=0x0;const _0x108f4c=_0x2e5584(0x205)==typeof _0x30096c?{'main':_0x30096c}:_0x30096c;for(const _0x22e672 of Object[_0x2e5584(0x13f)](_0x108f4c)){if(!this[_0x2e5584(0x1db)][_0x2e5584(0x209)][_0x2e5584(0x18d)](_0x22e672))throw new _0x1bb122(_0x2e5584(0x1d0),this);const _0x2f1a0c=this[_0x2e5584(0x1e0)][_0x2e5584(0x170)][_0x2e5584(0x1ae)](_0x108f4c[_0x22e672]),_0x1463f9=this[_0x2e5584(0x1db)][_0x2e5584(0x1c2)](_0x22e672),_0x2646b5=new _0x2df9ed(_0x53a437[_0x2e5584(0x1b8)](_0x1463f9,0x0),_0x2f1a0c,_0x226105++);_0x8b9a2a[_0x2e5584(0x180)](_0x2646b5);for(const [_0xa2cc06,_0x29760f]of _0x2f1a0c[_0x2e5584(0x229)]){const _0x4c7ae8=_0x53a437[_0x2e5584(0x1e9)](_0x53a437[_0x2e5584(0x17a)](_0x1463f9,_0x29760f[_0x2e5584(0x150)][_0x2e5584(0x137)][_0x2e5584(0x21b)]()),_0x53a437[_0x2e5584(0x17a)](_0x1463f9,_0x29760f[_0x2e5584(0x164)][_0x2e5584(0x137)][_0x2e5584(0x21b)]())),_0x170ac1=new _0x3e2de9(_0xa2cc06,null,_0x4c7ae8,_0x53a437[_0x2e5584(0x229)],!0x0,_0x226105++);_0x8b9a2a[_0x2e5584(0x180)](_0x170ac1);}}if(_0x97628a)for(const [_0x2fbd4d,_0x1fc270]of Object[_0x2e5584(0x140)](_0x97628a)){const _0x28a32b=_0x53a437[_0x2e5584(0x215)][_0x2e5584(0x1c2)](_0x2fbd4d);if(!_0x28a32b)throw new _0x1bb122(_0x2e5584(0x1a9),null);for(const [_0x57e914,_0x29cc01]of Object[_0x2e5584(0x140)](_0x1fc270))if(null!==_0x29cc01){const _0x3cbf3c=new _0x4a077c(_0x28a32b,_0x57e914,null,_0x29cc01,_0x226105++);_0x8b9a2a[_0x2e5584(0x180)](_0x3cbf3c);}}return _0x8b9a2a;}async[_0x274c8e(0x232)](_0x47d52a,_0x4e7bd1,_0x23f2a7){const _0x330e1a=_0x274c8e;this[_0x330e1a(0x22a)]({[_0x47d52a]:_0x4e7bd1},{[_0x47d52a]:_0x23f2a7})[_0x330e1a(0x1e1)]((_0x17e530,_0x384008)=>{const _0x3710fc=_0x330e1a;_0x17e530[_0x3710fc(0x211)]=this[_0x3710fc(0x1db)][_0x3710fc(0x152)]+_0x384008,_0x17e530[_0x3710fc(0x1d8)]=!0x0,this[_0x3710fc(0x1b1)](_0x17e530);}),this[_0x330e1a(0x233)](),await this[_0x330e1a(0x226)]();}async[_0x274c8e(0x1bb)](_0x4af8d0,_0x3a9333){const _0x279f77=_0x274c8e;let _0x15d27a;this[_0x279f77(0x172)]=_0x4af8d0[_0x279f77(0x1a3)];const _0xe8b051=_0x4af8d0[_0x279f77(0x1c5)]&&!_0x4af8d0[_0x279f77(0x21f)],_0x23f03b=_0xe8b051?0x0:_0x4af8d0[_0x279f77(0x170)][_0x279f77(0x211)];if(_0x3a9333[_0x279f77(0x1e1)](_0x278a0c=>{const _0x36c013=_0x279f77;_0x278a0c[_0x36c013(0x1d8)]=!0x0,_0x278a0c[_0x36c013(0x210)]=_0x4af8d0[_0x36c013(0x16e)],_0x278a0c[_0x36c013(0x188)]=null;}),_0xe8b051)_0x15d27a=_0x3a9333,this[_0x279f77(0x15a)](_0x15d27a,_0xe8b051);else{if(_0x4af8d0[_0x279f77(0x21f)]){const _0x24ba8d=this[_0x279f77(0x22a)](_0x4af8d0[_0x279f77(0x21f)]);this[_0x279f77(0x1db)][_0x279f77(0x1ea)][_0x279f77(0x152)]=-_0x24ba8d[_0x279f77(0x1be)],_0x24ba8d[_0x279f77(0x1e1)](_0x2d1aee=>{const _0x3b2e35=_0x279f77;_0x2d1aee[_0x3b2e35(0x211)]-=_0x24ba8d[_0x3b2e35(0x1be)],_0x2d1aee[_0x3b2e35(0x210)]=_0x4af8d0[_0x3b2e35(0x16e)],_0x2d1aee[_0x3b2e35(0x1d8)]=!0x0,_0x2d1aee[_0x3b2e35(0x188)]=null;}),this[_0x279f77(0x15a)](_0x24ba8d,!0x0),this[_0x279f77(0x1f5)][_0x279f77(0x152)]=-_0x24ba8d[_0x279f77(0x1be)]+this[_0x279f77(0x172)],this[_0x279f77(0x159)](_0x24ba8d);}this[_0x279f77(0x1db)][_0x279f77(0x1ea)][_0x279f77(0x152)]=_0x23f03b,_0x15d27a=this[_0x279f77(0x147)](_0x4af8d0[_0x279f77(0x170)],_0x4af8d0[_0x279f77(0x1ad)]),await this[_0x279f77(0x16a)](_0x15d27a),this[_0x279f77(0x15a)](_0x15d27a,_0xe8b051);}_0x4af8d0[_0x279f77(0x202)]&&(this[_0x279f77(0x199)][_0x279f77(0x193)](_0x15d27a,_0x4af8d0[_0x279f77(0x202)]),this[_0x279f77(0x178)]=_0x4af8d0[_0x279f77(0x202)]),this[_0x279f77(0x1f5)][_0x279f77(0x152)]=_0x23f03b+this[_0x279f77(0x172)],this[_0x279f77(0x159)](_0x15d27a),_0x3a9333[_0x279f77(0x191)](_0x2f180e=>{const _0x326a78=_0x279f77,_0x4c0707=this[_0x326a78(0x1d5)](_0x2f180e);return _0x4c0707&&!this[_0x326a78(0x1bd)][_0x326a78(0x18d)](_0x4c0707);})[_0x279f77(0x1e1)]((_0x278453,_0x354cbd)=>{const _0x7e88a1=_0x279f77;_0x278453[_0x7e88a1(0x211)]=this[_0x7e88a1(0x1db)][_0x7e88a1(0x152)]+_0x354cbd,this[_0x7e88a1(0x1b1)](_0x278453);}),this[_0x279f77(0x223)]()?(this[_0x279f77(0x18f)]=0x0,this[_0x279f77(0x233)](!0x0),await this[_0x279f77(0x226)]()):(this[_0x279f77(0x1dd)]=!0x1,this[_0x279f77(0x200)]());}[_0x274c8e(0x1e4)](_0x279bfd,_0x2b33b8){const _0x5c0e5a=_0x274c8e,_0x2e8545=_0x2b33b8&&_0x2b33b8[_0x5c0e5a(0x1bf)];if(_0x2e8545&&_0x2e8545[_0x5c0e5a(0x169)](_0x5c0e5a(0x22e)))throw _0x2b33b8;const _0xe2be10=this[_0x5c0e5a(0x1e0)][_0x5c0e5a(0x239)][_0x5c0e5a(0x179)](_0x33e6c9);throw this[_0x5c0e5a(0x1dd)]=!0x0,_0xe2be10[_0x5c0e5a(0x15f)](),this[_0x5c0e5a(0x1e0)][_0x5c0e5a(0x16c)](_0x5c0e5a(0x18c)),new _0x1bb122(_0x279bfd,this[_0x5c0e5a(0x1e0)],_0x2e8545?{'originalError':_0x2e8545}:void 0x0);}[_0x274c8e(0x1b1)](_0x27a99d){const _0x13eb39=_0x274c8e;this[_0x13eb39(0x236)][_0x13eb39(0x18d)](_0x27a99d)||(this[_0x13eb39(0x236)][_0x13eb39(0x1a8)](_0x27a99d),this[_0x13eb39(0x1c7)][_0x13eb39(0x180)](_0x27a99d),this[_0x13eb39(0x160)]||_0x13eb39(0x1d1)==_0x27a99d[_0x13eb39(0x237)]&&!_0x27a99d[_0x13eb39(0x18b)]||this[_0x13eb39(0x1ec)]());}[_0x274c8e(0x233)](_0x3126d5=!0x1){const _0x375892=_0x274c8e;!_0x3126d5&&this[_0x375892(0x1dd)]||(this[_0x375892(0x1dd)]=!0x0,clearTimeout(this[_0x375892(0x1e8)]),this[_0x375892(0x1e8)]=setTimeout(()=>{const _0x42deb8=_0x375892;this[_0x42deb8(0x1ed)]()[_0x42deb8(0x1fd)](_0x33a4b8=>{const _0x1fbf9f=_0x42deb8;_0x33a4b8&&(this[_0x1fbf9f(0x200)](),this[_0x1fbf9f(0x1dd)]=!0x1);})[_0x42deb8(0x175)](_0x75195c=>{const _0x2eed5f=_0x42deb8;this[_0x2eed5f(0x200)](),this[_0x2eed5f(0x1dd)]=!0x1,function(_0x1d40dc){const _0x19a106=_0x2eed5f;return _0x1d40dc[_0x19a106(0x1bf)][_0x19a106(0x169)](_0x19a106(0x189))||_0x1d40dc[_0x19a106(0x1bf)][_0x19a106(0x169)](_0x19a106(0x1ab))||_0x1d40dc[_0x19a106(0x1bf)][_0x19a106(0x169)](_0x19a106(0x21c));}(_0x75195c)||this[_0x2eed5f(0x1e4)](_0x75195c[_0x2eed5f(0x1bf)],_0x75195c);});},this[_0x375892(0x18f)]));}[_0x274c8e(0x226)](){return new Promise(_0x1932ce=>{const _0x184e26=_0x4a06;this['on'](_0x184e26(0x1ac),()=>{_0x1932ce();});});}async[_0x274c8e(0x1ed)](){const _0x519a3f=_0x274c8e,_0x5b1c6a=this[_0x519a3f(0x1e0)][_0x519a3f(0x239)][_0x519a3f(0x179)](_0xf0e334);if(this[_0x519a3f(0x1f2)]()&&(_0x5b1c6a[_0x519a3f(0x14b)](),this[_0x519a3f(0x1ff)]=!0x1),!this[_0x519a3f(0x223)]())return!0x0;const _0x2a73d1=[...this[_0x519a3f(0x1c7)]];for(const _0x1d3877 of _0x2a73d1)_0x1d3877[_0x519a3f(0x20d)]=this[_0x519a3f(0x1db)][_0x519a3f(0x1ea)][_0x519a3f(0x158)](_0x1d3877);const _0x627c00=this[_0x519a3f(0x199)][_0x519a3f(0x1eb)](_0x2a73d1),_0x3a0b04=G++,_0x2986cc=this[_0x519a3f(0x13a)](_0x2a73d1),_0x3d8341=await this[_0x519a3f(0x216)][_0x519a3f(0x21a)](_0x2986cc,_0x2986cc[_0x519a3f(0x211)],_0x627c00);try{return await this[_0x519a3f(0x1f3)](_0x2a73d1,_0x3d8341,_0x3a0b04);}catch(_0x43a26f){return this[_0x519a3f(0x1e4)](_0x519a3f(0x1b7),_0x43a26f);}}async[_0x274c8e(0x1f3)](_0x50a675,_0x5e3604,_0x104e0f){const _0x2e939c=_0x274c8e;if(_0x2e939c(0x23a)in _0x5e3604)throw _0x5e3604[_0x2e939c(0x23a)];let _0x1a41a2=!0x1;if(_0x5e3604[_0x2e939c(0x1c5)]){_0x5e3604[_0x2e939c(0x202)]&&(this[_0x2e939c(0x178)]=_0x5e3604[_0x2e939c(0x202)]),this[_0x2e939c(0x1c7)]=this[_0x2e939c(0x1c7)][_0x2e939c(0x191)](_0x34a5ae=>!_0x50a675[_0x2e939c(0x173)](_0x34a5ae));for(const _0x3c2a60 of _0x50a675)_0x3c2a60[_0x2e939c(0x210)]=_0x2e939c(0x222)in _0x5e3604&&_0x5e3604[_0x2e939c(0x222)]||void 0x0;K(_0x50a675,_0x5e3604[_0x2e939c(0x152)]-_0x50a675[_0x2e939c(0x1be)]),this[_0x2e939c(0x159)](_0x50a675);const _0x4561da=_0x50a675[_0x2e939c(0x191)](_0x6d5aeb=>{const _0x3630c4=_0x2e939c;if(!_0x6d5aeb[_0x3630c4(0x1d8)])return!0x1;const _0x25d48e=this[_0x3630c4(0x1d5)](_0x6d5aeb);return _0x25d48e&&!this[_0x3630c4(0x1bd)][_0x3630c4(0x18d)](_0x25d48e);});K(_0x4561da,this[_0x2e939c(0x1db)][_0x2e939c(0x152)]),this[_0x2e939c(0x15a)](_0x4561da),_0x1a41a2=!0x0,this[_0x2e939c(0x18f)]=this[_0x2e939c(0x163)];}else{const _0x460d5e=this[_0x2e939c(0x147)](_0x5e3604[_0x2e939c(0x170)],_0x5e3604[_0x2e939c(0x1ad)])[_0x2e939c(0x191)](_0x5c043c=>_0x5c043c[_0x2e939c(0x211)]>=this[_0x2e939c(0x195)]);_0x460d5e[_0x2e939c(0x1e1)](_0xc4f055=>this[_0x2e939c(0x20f)](_0xc4f055)),this[_0x2e939c(0x1c7)]=this[_0x2e939c(0x1c7)][_0x2e939c(0x191)](_0x2c34e2=>!_0x2c34e2[_0x2e939c(0x1d8)]||!this[_0x2e939c(0x1bd)][_0x2e939c(0x18d)](this[_0x2e939c(0x1d5)](_0x2c34e2))),this[_0x2e939c(0x1c7)][_0x2e939c(0x1be)]&&K(this[_0x2e939c(0x1c7)],this[_0x2e939c(0x1c7)][0x0][_0x2e939c(0x211)]),await this[_0x2e939c(0x16a)](_0x460d5e),_0x1a41a2=this[_0x2e939c(0x1fa)](_0x460d5e,_0x5e3604[_0x2e939c(0x152)],_0x5e3604[_0x2e939c(0x202)]),this[_0x2e939c(0x18f)]=Math[_0x2e939c(0x1a4)](this[_0x2e939c(0x18f)]/0x2);}return _0x1a41a2?!this[_0x2e939c(0x223)]()||(this[_0x2e939c(0x233)](!0x0),!0x1):this[_0x2e939c(0x1e4)](_0x2e939c(0x15d));}[_0x274c8e(0x1fa)](_0x38846d,_0x3ecb87,_0x4e95c5){const _0xc5fe15=_0x274c8e;try{const _0x17f6c7={'document':this[_0xc5fe15(0x1db)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x59defa,operationsB:_0x33dd70,originalOperations:_0x28cb05}=_0x5f3ca8(_0x38846d,this[_0xc5fe15(0x1c7)],_0x17f6c7);K(_0x59defa,this[_0xc5fe15(0x1db)][_0xc5fe15(0x152)]),K(_0x33dd70,_0x3ecb87);for(const _0x18641e of _0x59defa){const _0x23adc2=_0x28cb05[_0xc5fe15(0x179)](_0x18641e);_0x18641e[_0xc5fe15(0x188)]=_0x23adc2?_0x23adc2[_0xc5fe15(0x188)]:null;}_0x4e95c5&&(this[_0xc5fe15(0x199)][_0xc5fe15(0x193)](_0x38846d,_0x4e95c5),this[_0xc5fe15(0x178)]=_0x4e95c5),this[_0xc5fe15(0x1c7)]=[..._0x33dd70],this[_0xc5fe15(0x15a)](_0x59defa),this[_0xc5fe15(0x159)](_0x38846d);}catch(_0x1db113){return console[_0xc5fe15(0x23a)](_0x1db113),!0x1;}return!0x0;}[_0x274c8e(0x15a)](_0x474cc5,_0xf8bbe4=!0x1){const _0x1003a5=_0x274c8e;this[_0x1003a5(0x1e0)][_0x1003a5(0x1b5)][_0x1003a5(0x235)]({'isUndoable':!0x1,'isLocal':!0x1},_0x89629e=>{const _0x22bc8f=_0x1003a5;for(const _0x3a5010 of _0x474cc5)this[_0x22bc8f(0x236)][_0x22bc8f(0x1a8)](_0x3a5010),this[_0x22bc8f(0x20f)](_0x3a5010),_0x89629e[_0x22bc8f(0x20c)][_0x22bc8f(0x1d3)](_0x3a5010),this[_0x22bc8f(0x1e0)][_0x22bc8f(0x1b5)][_0x22bc8f(0x20b)](_0x3a5010);});}[_0x274c8e(0x20f)](_0xea65a1){const _0x4d67f3=_0x274c8e,_0x4ccfb1=this[_0x4d67f3(0x1d5)](_0xea65a1);_0x4ccfb1&&this[_0x4d67f3(0x1bd)][_0x4d67f3(0x1a8)](_0x4ccfb1);}[_0x274c8e(0x1d5)](_0x33dc24){const _0x2570c0=_0x274c8e;let _0x4133a4,_0x16e332;switch(_0x33dc24[_0x2570c0(0x237)]){case _0x2570c0(0x1b0):_0x4133a4=_0x33dc24[_0x2570c0(0x234)][_0x2570c0(0x1c8)];break;case _0x2570c0(0x1d1):if(_0x16e332=_0x33dc24[_0x2570c0(0x1a2)],!_0x16e332)return null;_0x4133a4=_0x16e332[_0x2570c0(0x1c8)];break;case _0x2570c0(0x219):_0x4133a4=_0x33dc24[_0x2570c0(0x1c8)];break;case _0x2570c0(0x185):_0x4133a4=_0x33dc24[_0x2570c0(0x13b)];break;case _0x2570c0(0x142):_0x4133a4=_0x33dc24[_0x2570c0(0x15c)][_0x2570c0(0x1c8)];break;default:return null;}return _0x4133a4[_0x2570c0(0x17e)];}[_0x274c8e(0x159)](_0x2fa49f){const _0x6abcbd=_0x274c8e;_0x2fa49f[_0x6abcbd(0x1e1)](_0x486d92=>{const _0x13fde4=_0x6abcbd,_0x1f1865=_0x486d92[_0x13fde4(0x1c9)]();_0x1f1865[_0x13fde4(0x188)]=_0x486d92[_0x13fde4(0x188)],_0x1f1865[_0x13fde4(0x1d8)]=!!_0x486d92[_0x13fde4(0x1d8)],_0x1f1865[_0x13fde4(0x210)]=_0x486d92[_0x13fde4(0x210)],_0x1f1865[_0x13fde4(0x211)]+=this[_0x13fde4(0x172)],_0x486d92[_0x13fde4(0x154)]&&this[_0x13fde4(0x231)][_0x13fde4(0x1a8)](_0x1f1865),this[_0x13fde4(0x1f5)][_0x13fde4(0x1d3)](_0x1f1865);});}[_0x274c8e(0x19b)](_0x11c814){const _0x544143=_0x274c8e,_0x484365=this[_0x544143(0x1e0)][_0x544143(0x239)][_0x544143(0x179)](_0x544143(0x16b)),_0xca3d43=this[_0x544143(0x1e0)][_0x544143(0x181)];_0x11c814||(_0x11c814=_0x287f85(_0xca3d43,_0x544143(0x1c3))),_0x484365[_0x544143(0x1a1)](_0x11c814,{'title':_0x287f85(_0xca3d43,_0x544143(0x149)),'namespace':_0x544143(0x23c)}),this[_0x544143(0x1de)]=!0x0,clearTimeout(this[_0x544143(0x1e8)]),this[_0x544143(0x1c7)]=[],this[_0x544143(0x1e0)][_0x544143(0x239)][_0x544143(0x179)](_0x33e6c9)[_0x544143(0x15f)]();}[_0x274c8e(0x1ec)](){const _0x288dc2=_0x274c8e;this[_0x288dc2(0x160)]||(this[_0x288dc2(0x160)]=this[_0x288dc2(0x1e0)][_0x288dc2(0x239)][_0x288dc2(0x179)](_0x4dacc1)[_0x288dc2(0x1a8)](_0x287f85(this[_0x288dc2(0x1e0)][_0x288dc2(0x181)],_0x288dc2(0x15b))));}[_0x274c8e(0x200)](){const _0x5c93e3=_0x274c8e;this[_0x5c93e3(0x160)]&&(this[_0x5c93e3(0x1e0)][_0x5c93e3(0x239)][_0x5c93e3(0x179)](_0x4dacc1)[_0x5c93e3(0x213)](this[_0x5c93e3(0x160)]),this[_0x5c93e3(0x160)]=null);}[_0x274c8e(0x13a)](_0x5541d3){const _0x3f2752=_0x274c8e,_0x24210b=_0x5541d3[_0x3f2752(0x1cc)](_0x3ad19a=>_0x3ad19a[_0x3f2752(0x145)]());return this[_0x3f2752(0x1c6)][_0x3f2752(0x1fe)](_0x24210b);}[_0x274c8e(0x147)](_0x454fb1,_0x23d9ba){const _0x48dade=_0x274c8e;return this[_0x48dade(0x1c6)][_0x48dade(0x214)](_0x454fb1)[_0x48dade(0x1cc)]((_0x3ca750,_0x10eef5)=>{const _0xf1c787=_0x48dade,_0x580791=_0xf1c787(0x230)==_0x23d9ba[_0x10eef5][_0xf1c787(0x237)];if(_0xf1c787(0x155)==_0x3ca750[_0xf1c787(0x1b4)]){const _0x15d051=_0x3ca750[_0xf1c787(0x234)][_0xf1c787(0x1c8)];!this[_0xf1c787(0x1db)][_0xf1c787(0x1c2)](_0x15d051)&&(this[_0xf1c787(0x1db)][_0xf1c787(0x1d7)](_0xf1c787(0x21e),_0x15d051)[_0xf1c787(0x1e5)]=!0x1);}const _0x791e07=_0x50eb62[_0xf1c787(0x1d4)](_0x3ca750,this[_0xf1c787(0x1db)]);return _0x791e07[_0xf1c787(0x20d)]=_0x3ca750[_0xf1c787(0x20d)],_0x791e07[_0xf1c787(0x1d8)]=_0x580791,_0x791e07[_0xf1c787(0x188)]=_0x580791?null:_0x23d9ba[_0x10eef5][_0xf1c787(0x141)],_0x791e07[_0xf1c787(0x154)]=_0xf1c787(0x1f8)===_0x23d9ba[_0x10eef5][_0xf1c787(0x237)],_0x791e07[_0xf1c787(0x210)]=_0x23d9ba[_0x10eef5][_0xf1c787(0x210)],_0x791e07;});}[_0x274c8e(0x194)](){const _0x288fa7=_0x274c8e;this[_0x288fa7(0x1ff)]=!0x0,this[_0x288fa7(0x1f2)]()?this[_0x288fa7(0x233)]():this[_0x288fa7(0x1ff)]=!0x1;}[_0x274c8e(0x1f2)](){const _0x18d414=_0x274c8e,_0x21d417=this[_0x18d414(0x1e0)][_0x18d414(0x239)][_0x18d414(0x179)](_0x49f860)[_0x18d414(0x1ee)][_0x18d414(0x179)](this[_0x18d414(0x15e)]);return!this[_0x18d414(0x1e0)][_0x18d414(0x1f4)]&&!!_0x21d417&&_0x21d417[_0x18d414(0x1be)]>0x1&&this[_0x18d414(0x1ff)];}[_0x274c8e(0x223)](){const _0xaab3b9=_0x274c8e;return this[_0xaab3b9(0x1c7)][_0xaab3b9(0x1be)]>0x0||this[_0xaab3b9(0x1f2)]();}}class $ extends Error{}function K(_0x43d97a,_0x328c9b){const _0x216c5c=_0x274c8e;for(const _0x4001c7 of _0x43d97a)_0x4001c7[_0x216c5c(0x211)]=_0x328c9b++;}class J{[_0x274c8e(0x1e7)];[_0x274c8e(0x1ef)];constructor(_0x3ce811){const _0x1eda69=_0x274c8e;this[_0x1eda69(0x1e7)]=_0x3ce811,this[_0x1eda69(0x1ef)]=new WeakMap();}[_0x274c8e(0x1eb)](_0x17fc10){const _0x584f08=_0x274c8e;let _0x31178d=_0x17fc10[_0x584f08(0x1be)];for(;_0x31178d--;){const _0xdabb4a=_0x17fc10[_0x31178d];if(!this[_0x584f08(0x1e7)][_0x584f08(0x18d)](_0xdabb4a)){if(!this[_0x584f08(0x1ef)][_0x584f08(0x18d)](_0xdabb4a)){const _0x3b7843=_0x32700c()[_0x584f08(0x21b)](0x1,0x12);this[_0x584f08(0x1ef)][_0x584f08(0x1b2)](_0xdabb4a,_0x3b7843);}return this[_0x584f08(0x1ef)][_0x584f08(0x179)](_0xdabb4a);}}}[_0x274c8e(0x193)](_0x164af7,_0x456fd0){const _0x53b973=_0x274c8e;if(!_0x456fd0)return;let _0x51f1c2=_0x164af7[_0x53b973(0x1be)];for(;_0x51f1c2--;){const _0x583c8d=_0x164af7[_0x51f1c2];this[_0x53b973(0x1e7)][_0x53b973(0x18d)](_0x583c8d)||this[_0x53b973(0x1ef)][_0x53b973(0x1b2)](_0x583c8d,_0x456fd0);}}}
23
+ const _0x21f83e=_0x37f2;(function(_0x3e6284,_0x3f41ee){const _0x320894=_0x37f2,_0x12794=_0x3e6284();while(!![]){try{const _0x60cd8=-parseInt(_0x320894(0x258))/0x1*(parseInt(_0x320894(0x21e))/0x2)+-parseInt(_0x320894(0x27b))/0x3+-parseInt(_0x320894(0x232))/0x4+-parseInt(_0x320894(0x259))/0x5*(parseInt(_0x320894(0x298))/0x6)+-parseInt(_0x320894(0x254))/0x7+parseInt(_0x320894(0x244))/0x8+parseInt(_0x320894(0x28c))/0x9;if(_0x60cd8===_0x3f41ee)break;else _0x12794['push'](_0x12794['shift']());}catch(_0x570b4d){_0x12794['push'](_0x12794['shift']());}}}(_0x5c7d,0xc2522));import{Plugin as _0x4725cd,PendingActions as _0x40874c}from'ckeditor5/src/core.js';import{CKEditorError as _0x1518bb,version as _0x86a83,uid as _0x21fa48}from'ckeditor5/src/utils.js';import{Notification as _0x25b24f}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x759bf5,NoOperation as _0xc6fb9a,InsertOperation as _0x1e1af8,MarkerOperation as _0x93d634,RootAttributeOperation as _0x2e732a,OperationFactory as _0x2b858a,History as _0x3aff79}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x1a4867}from'./websocketgateway.js';import{Sessions as _0x206175}from'./sessions.js';function _0x37f2(_0x4f8594,_0x5acc1c){const _0x5c7de6=_0x5c7d();return _0x37f2=function(_0x37f2cb,_0x254e12){_0x37f2cb=_0x37f2cb-0x1d1;let _0x48c31b=_0x5c7de6[_0x37f2cb];return _0x48c31b;},_0x37f2(_0x4f8594,_0x5acc1c);}import{UserMarkers as _0x5660d6}from'./usermarkers.js';import{getTranslation as _0x4ec715}from'../common-translations.js';import{Compressor as _0x8e99b2}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x24b224}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x59374b,CollaborativeEditingService as _0x2abccd}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let j=0x1;export class RealTimeCollaborationClient extends _0x4725cd{static [_0x21f83e(0x1e0)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x2abccd)());[_0x21f83e(0x1f0)];[_0x21f83e(0x28d)];[_0x21f83e(0x24f)];[_0x21f83e(0x2af)];[_0x21f83e(0x2b0)];[_0x21f83e(0x2c0)];[_0x21f83e(0x2ab)];[_0x21f83e(0x206)];[_0x21f83e(0x216)];[_0x21f83e(0x2cc)];[_0x21f83e(0x28a)];[_0x21f83e(0x260)];[_0x21f83e(0x24a)];[_0x21f83e(0x226)];[_0x21f83e(0x2b8)];[_0x21f83e(0x2a0)];[_0x21f83e(0x288)];[_0x21f83e(0x20a)];static get[_0x21f83e(0x267)](){return[_0x1a4867,_0x206175,_0x5660d6,_0x40874c,_0x24b224,_0x25b24f];}static get[_0x21f83e(0x204)](){const _0x33024d=_0x21f83e;return _0x33024d(0x1ff);}static get[_0x21f83e(0x25f)](){return!0x0;}static get[_0x21f83e(0x203)](){return!0x0;}get[_0x21f83e(0x210)](){const _0x2d34a0=_0x21f83e;return this[_0x2d34a0(0x1d2)]+this[_0x2d34a0(0x1f0)];}get[_0x21f83e(0x1d2)](){const _0x4f0e7a=_0x21f83e;return this[_0x4f0e7a(0x24f)][_0x4f0e7a(0x2a2)]-this[_0x4f0e7a(0x1f0)];}get[_0x21f83e(0x234)](){const _0x14bbcc=_0x21f83e,_0x2dc65e=this[_0x14bbcc(0x24f)][_0x14bbcc(0x246)]();for(let _0x370f2b=_0x2dc65e[_0x14bbcc(0x266)]-0x1;_0x370f2b>=0x0;_0x370f2b--){const _0x208f20=_0x2dc65e[_0x370f2b];if(!this[_0x14bbcc(0x288)][_0x14bbcc(0x1d8)](_0x208f20))return _0x208f20[_0x14bbcc(0x29d)]+0x1-this[_0x14bbcc(0x1f0)];}return 0x0;}constructor(_0x2bc380){const _0x56b940=_0x21f83e;if(super(_0x2bc380),this[_0x56b940(0x1f0)]=0x0,this[_0x56b940(0x28d)]=null,this[_0x56b940(0x24f)]=new _0x3aff79(),this[_0x56b940(0x1fa)][_0x56b940(0x278)][_0x56b940(0x290)](_0x56b940(0x2bd),{}),this[_0x56b940(0x2af)]=this[_0x56b940(0x1fa)][_0x56b940(0x278)][_0x56b940(0x289)](_0x56b940(0x285)),!this[_0x56b940(0x2af)])throw new _0x1518bb(_0x56b940(0x2aa),this);const _0x3f4951=_0x2bc380[_0x56b940(0x278)][_0x56b940(0x289)](_0x56b940(0x27c))||_0x86a83;this[_0x56b940(0x2b0)]=new RealTimeCollaborationClient[(_0x56b940(0x1e0))](_0x3f4951,this[_0x56b940(0x2af)]),this[_0x56b940(0x2c0)]=this[_0x56b940(0x1fa)][_0x56b940(0x241)][_0x56b940(0x1e4)],this[_0x56b940(0x2ab)]=new _0x8e99b2(),this[_0x56b940(0x206)]=[],this[_0x56b940(0x216)]=new WeakSet(),this[_0x56b940(0x2cc)]=new Set(),this[_0x56b940(0x251)](_0x56b940(0x1e3),!0x1),this[_0x56b940(0x251)](_0x56b940(0x265),!0x1),this[_0x56b940(0x28a)]=null,this[_0x56b940(0x260)]=!0x1,this[_0x56b940(0x24a)]=null,this[_0x56b940(0x226)]=0x12c,this[_0x56b940(0x2b8)]=this[_0x56b940(0x226)],this[_0x56b940(0x2a0)]=null,this[_0x56b940(0x288)]=new WeakSet(),this[_0x56b940(0x20a)]=new U(this[_0x56b940(0x288)]);}[_0x21f83e(0x1e1)](){const _0x55a1e7=_0x21f83e,_0x5c96d4=this[_0x55a1e7(0x1fa)],_0x4dd33e=_0x5c96d4[_0x55a1e7(0x20b)][_0x55a1e7(0x289)](_0x24b224),_0x896562=_0x5c96d4[_0x55a1e7(0x20b)][_0x55a1e7(0x289)](_0x1a4867);this[_0x55a1e7(0x21d)](_0x4dd33e,_0x55a1e7(0x1d1),(_0x3c60e2,_0x312e48)=>{const _0x18bb7b=_0x55a1e7,_0x1acd81=_0x312e48[0x0];_0x1acd81[_0x18bb7b(0x252)]&&(_0x3c60e2[_0x18bb7b(0x2c5)]=_0x4dd33e[_0x18bb7b(0x1e8)](_0x1acd81[_0x18bb7b(0x252)]),_0x3c60e2[_0x18bb7b(0x230)]()),null===_0x1acd81[_0x18bb7b(0x252)]&&(_0x3c60e2[_0x18bb7b(0x2c5)]=null,_0x3c60e2[_0x18bb7b(0x230)]());},{'priority':_0x55a1e7(0x23a)}),this[_0x55a1e7(0x21d)](_0x5c96d4[_0x55a1e7(0x241)][_0x55a1e7(0x1e4)][_0x55a1e7(0x255)],_0x55a1e7(0x238),(_0x48977a,_0x470739)=>{const _0x51dfe4=_0x55a1e7;_0x470739[_0x51dfe4(0x295)]&&this[_0x51dfe4(0x2bf)]();}),this[_0x55a1e7(0x21d)](_0x5c96d4[_0x55a1e7(0x24b)][_0x55a1e7(0x2d0)],_0x55a1e7(0x2cd),()=>{const _0xea0069=_0x55a1e7;this[_0xea0069(0x2bf)]();}),this[_0x55a1e7(0x284)](),_0x5c96d4[_0x55a1e7(0x241)]['on'](_0x55a1e7(0x270),(_0x4f1109,_0x28ba53)=>{const _0x2b764e=_0x55a1e7,_0x2df5cb=_0x28ba53[0x0];_0x2df5cb[_0x2b764e(0x257)]&&(this[_0x2b764e(0x243)](_0x2df5cb),this[_0x2b764e(0x272)]()&&this[_0x2b764e(0x1fe)]());}),this[_0x55a1e7(0x2c7)](),this[_0x55a1e7(0x277)](_0x55a1e7(0x1fd))['to'](_0x896562,_0x55a1e7(0x249),this,_0x55a1e7(0x265),(_0x20fc3b,_0xf07c89)=>_0x55a1e7(0x2b7)===_0x20fc3b&&!_0xf07c89),this['on'](_0x55a1e7(0x245),()=>{const _0x388e7b=_0x55a1e7;this[_0x388e7b(0x1fd)]?_0x5c96d4[_0x388e7b(0x2cf)](_0x388e7b(0x1d6)):_0x5c96d4[_0x388e7b(0x205)](_0x388e7b(0x1d6));}),this[_0x55a1e7(0x1fd)]?_0x5c96d4[_0x55a1e7(0x2cf)](_0x55a1e7(0x1d6)):_0x5c96d4[_0x55a1e7(0x205)](_0x55a1e7(0x1d6)),this[_0x55a1e7(0x251)](_0x55a1e7(0x1da),!0x1);}async[_0x21f83e(0x291)](){const _0x52dd59=_0x21f83e,_0x3c9424=this[_0x52dd59(0x1fa)][_0x52dd59(0x20b)][_0x52dd59(0x289)](_0x206175),_0x1de4e9=this[_0x52dd59(0x1fa)][_0x52dd59(0x20b)][_0x52dd59(0x289)](_0x1a4867);try{this[_0x52dd59(0x1e3)]=!0x0,_0x3c9424[_0x52dd59(0x1f9)](this[_0x52dd59(0x2af)]);const _0x4f96f9=await this[_0x52dd59(0x2b0)][_0x52dd59(0x291)](_0x1de4e9[_0x52dd59(0x218)],this[_0x52dd59(0x234)]);await this[_0x52dd59(0x26f)](_0x4f96f9)&&(this[_0x52dd59(0x1e3)]=!0x1,this[_0x52dd59(0x225)]());const _0x324242=await this[_0x52dd59(0x2b0)][_0x52dd59(0x2c9)]();_0x3c9424[_0x52dd59(0x256)](this[_0x52dd59(0x2af)],_0x324242),this[_0x52dd59(0x27d)](),this[_0x52dd59(0x1da)]=!0x0;}catch(_0x316637){if(function(_0x2fc3ed){const _0xdb0273=_0x52dd59;return _0xdb0273(0x269)===_0x2fc3ed[_0xdb0273(0x215)];}(_0x316637)&&this[_0x52dd59(0x28d)])await this[_0x52dd59(0x279)]();else{if(function(_0x18d0ae){const _0x2b798e=_0x52dd59;return _0x2b798e(0x23b)===_0x18d0ae[_0x2b798e(0x215)];}(_0x316637)){const _0x3e32c7=_0x4ec715(this[_0x52dd59(0x1fa)][_0x52dd59(0x281)],_0x52dd59(0x2d4));this[_0x52dd59(0x296)](_0x3e32c7);}else{if(!(_0x316637 instanceof D))throw _0x316637;this[_0x52dd59(0x296)]();}}}}[_0x21f83e(0x294)](){const _0x405a7e=_0x21f83e,_0x44cfc5=this[_0x405a7e(0x1fa)][_0x405a7e(0x20b)][_0x405a7e(0x289)](_0x1a4867),_0x1d6a08=this[_0x405a7e(0x1fa)][_0x405a7e(0x20b)][_0x405a7e(0x289)](_0x206175);this[_0x405a7e(0x1fa)][_0x405a7e(0x205)](_0x405a7e(0x25a)),_0x1d6a08[_0x405a7e(0x2ce)][_0x405a7e(0x1d8)](this[_0x405a7e(0x2af)])&&_0x1d6a08[_0x405a7e(0x1f9)](this[_0x405a7e(0x2af)]),_0x44cfc5[_0x405a7e(0x2b4)](this),this[_0x405a7e(0x2a5)](),super[_0x405a7e(0x294)]();}async[_0x21f83e(0x26f)](_0x188e60){const _0x47a54e=_0x21f83e;if(this[_0x47a54e(0x28d)]!==_0x188e60[_0x47a54e(0x28d)]&&this[_0x47a54e(0x2a0)]!==_0x188e60[_0x47a54e(0x25e)])throw new D();return this[_0x47a54e(0x28d)]=_0x188e60[_0x47a54e(0x28d)],this[_0x47a54e(0x211)]([],{..._0x188e60,'wereChangesApplied':!0x1,'data':_0x188e60[_0x47a54e(0x23e)]},_0x47a54e(0x291));}async[_0x21f83e(0x280)](_0x3d795f,_0x233142=!0x1){const _0x239a9e=_0x21f83e,{connection:_0x5258c0}=this[_0x239a9e(0x1fa)][_0x239a9e(0x20b)][_0x239a9e(0x289)](_0x1a4867);RealTimeCollaborationClient[_0x239a9e(0x1e0)][_0x239a9e(0x2c9)](_0x5258c0,this[_0x239a9e(0x2af)])[_0x239a9e(0x297)](_0x5e8462=>this[_0x239a9e(0x27f)](_0x5e8462))[_0x239a9e(0x271)](_0x4f2e97=>{const _0x4cf5b4=_0x239a9e;this[_0x4cf5b4(0x21b)](_0x4cf5b4(0x29b),_0x4f2e97);}),this[_0x239a9e(0x21d)](this[_0x239a9e(0x2b0)],_0x239a9e(0x286),this[_0x239a9e(0x292)][_0x239a9e(0x277)](this)),this[_0x239a9e(0x21d)](this[_0x239a9e(0x2b0)],_0x239a9e(0x2cb),(_0x546490,_0x1299d6)=>{const _0xdb960=_0x239a9e;this[_0xdb960(0x21b)](_0xdb960(0x2a8),_0x1299d6);}),this[_0x239a9e(0x21d)](this[_0x239a9e(0x2b0)],_0x239a9e(0x1fc),()=>{const _0x51d8d1=_0x239a9e;this[_0x51d8d1(0x1da)]=!0x1;});const _0x406720=this[_0x239a9e(0x20a)][_0x239a9e(0x2ba)](_0x3d795f);this[_0x239a9e(0x1e3)]=!0x0;const _0x2e81c8=await this[_0x239a9e(0x2b0)][_0x239a9e(0x1d5)](_0x5258c0,this[_0x239a9e(0x2b2)](_0x3d795f),_0x406720);if(this[_0x239a9e(0x28d)]=_0x2e81c8[_0x239a9e(0x28d)],_0x233142){if(!_0x2e81c8[_0x239a9e(0x22f)])return void this[_0x239a9e(0x296)]();this[_0x239a9e(0x1e3)]=!0x1,this[_0x239a9e(0x225)](),this[_0x239a9e(0x24f)][_0x239a9e(0x222)](),this[_0x239a9e(0x1f0)]=_0x2e81c8[_0x239a9e(0x1de)],this[_0x239a9e(0x24f)][_0x239a9e(0x2a2)]=this[_0x239a9e(0x1f0)],await this[_0x239a9e(0x211)](_0x3d795f,_0x2e81c8,_0x239a9e(0x26a));}else await this[_0x239a9e(0x231)](_0x2e81c8,_0x3d795f);this[_0x239a9e(0x27d)](),this[_0x239a9e(0x1da)]=!0x0;}[_0x21f83e(0x27d)](){const _0x209970=_0x21f83e,_0x3cc189=this[_0x209970(0x1fa)][_0x209970(0x20b)][_0x209970(0x289)](_0x206175),_0x1d6ee0=this[_0x209970(0x1fa)][_0x209970(0x20b)][_0x209970(0x289)](_0x5660d6),_0x4c5ac9=_0x3cc189[_0x209970(0x2ce)][_0x209970(0x289)](this[_0x209970(0x2af)]);_0x4c5ac9&&_0x4c5ac9[_0x209970(0x266)]>0x1?_0x1d6ee0[_0x209970(0x239)]():this[_0x209970(0x21d)](_0x3cc189,_0x209970(0x1e6)+this[_0x209970(0x2af)],()=>{const _0x45b0a6=_0x209970;0x2===_0x3cc189[_0x45b0a6(0x2ce)][_0x45b0a6(0x289)](this[_0x45b0a6(0x2af)])[_0x45b0a6(0x266)]&&_0x1d6ee0[_0x45b0a6(0x239)]();});}async[_0x21f83e(0x292)](_0x58195b,_0x446ae1,_0x3ed446,_0x420153){const _0x399ce5=_0x21f83e;if(!this[_0x399ce5(0x1e3)]&&this[_0x399ce5(0x2c0)][_0x399ce5(0x2a2)]==_0x446ae1){const _0x4466d0=this[_0x399ce5(0x209)](_0x3ed446,_0x420153);await this[_0x399ce5(0x1ed)](_0x4466d0),this[_0x399ce5(0x24c)](_0x4466d0,_0x446ae1,_0x3ed446[_0x399ce5(0x25e)])||this[_0x399ce5(0x21b)](_0x399ce5(0x2ca));}}async[_0x21f83e(0x279)](){const _0x31cfb2=_0x21f83e;this[_0x31cfb2(0x2a5)]();const {locale:_0x505c67}=this[_0x31cfb2(0x1fa)];let _0xf51e97;try{_0xf51e97=await this[_0x31cfb2(0x2b0)][_0x31cfb2(0x25c)]();}catch{const _0x5615ad=_0x4ec715(_0x505c67,_0x31cfb2(0x21a));return void this[_0x31cfb2(0x296)](_0x5615ad);}const _0x4cbd0c=_0xf51e97[_0x31cfb2(0x224)]||_0xf51e97[_0x31cfb2(0x2c1)];if(this[_0x31cfb2(0x2a0)]!==_0x4cbd0c[_0x31cfb2(0x25e)]){const _0x4345df=_0x4ec715(_0x505c67,_0x31cfb2(0x29c));return void this[_0x31cfb2(0x296)](_0x4345df);}await this[_0x31cfb2(0x280)](this[_0x31cfb2(0x1fa)][_0x31cfb2(0x241)][_0x31cfb2(0x1e4)][_0x31cfb2(0x2d2)][_0x31cfb2(0x246)](),!0x0);}[_0x21f83e(0x2a5)](){const _0x413453=_0x21f83e;this[_0x413453(0x2b0)][_0x413453(0x208)](),this[_0x413453(0x206)]=[],clearTimeout(this[_0x413453(0x24a)]),this[_0x413453(0x1f5)](this[_0x413453(0x2b0)]);}[_0x21f83e(0x27f)](_0x4d10a5){const _0x19c857=_0x21f83e,_0x1a41a7=this[_0x19c857(0x1fa)][_0x19c857(0x20b)][_0x19c857(0x289)](_0x206175);this[_0x19c857(0x21d)](_0x1a41a7,_0x19c857(0x1e6)+this[_0x19c857(0x2af)],(_0x40716b,{session:_0x5362bf})=>{const _0x33b998=_0x19c857;if(_0x5362bf['id']===_0x1a41a7[_0x33b998(0x1d7)]){_0x40716b[_0x33b998(0x2c4)]();const _0x3cd19e=this[_0x33b998(0x1fa)][_0x33b998(0x20b)][_0x33b998(0x1d8)](_0x33b998(0x240))&&this[_0x33b998(0x1fa)][_0x33b998(0x20b)][_0x33b998(0x289)](_0x33b998(0x240));let _0x1de770=_0x5362bf[_0x33b998(0x2a7)];_0x3cd19e&&_0x3cd19e[_0x33b998(0x20c)]&&(_0x1de770=_0x1de770[_0x33b998(0x2a4)](_0x54d14f=>_0x33b998(0x22b)!==_0x54d14f)),this[_0x33b998(0x1fa)][_0x33b998(0x20b)][_0x33b998(0x289)](_0x33b998(0x275))[_0x33b998(0x22e)](_0x1de770,this[_0x33b998(0x2af)]);}}),_0x1a41a7[_0x19c857(0x256)](this[_0x19c857(0x2af)],_0x4d10a5);}[_0x21f83e(0x284)](){const _0x456596=_0x21f83e,_0x50dda0=this[_0x456596(0x1fa)][_0x456596(0x23e)][_0x456596(0x251)];this[_0x456596(0x1fa)][_0x456596(0x23e)][_0x456596(0x251)]=(..._0x45804a)=>{const _0x29cf25=_0x456596;if(!_0x45804a[_0x45804a[_0x29cf25(0x266)]-0x1][_0x29cf25(0x283)])throw new _0x1518bb(_0x29cf25(0x1f8),this);_0x50dda0[_0x29cf25(0x201)](this[_0x29cf25(0x1fa)][_0x29cf25(0x23e)],_0x45804a);};}[_0x21f83e(0x2c7)](){const _0xc3e957=_0x21f83e;this[_0xc3e957(0x1fa)][_0xc3e957(0x23e)]['on'](_0xc3e957(0x1e1),(_0x2f75aa,[_0x36e2ce])=>{const _0xff3d3f=_0xc3e957;if(this[_0xff3d3f(0x2c0)][_0xff3d3f(0x2a2)])throw new _0x1518bb(_0xff3d3f(0x264),this);_0x2f75aa[_0xff3d3f(0x230)](),this[_0xff3d3f(0x23f)]();const _0x57aac8=this[_0xff3d3f(0x1fa)][_0xff3d3f(0x278)][_0xff3d3f(0x289)](_0xff3d3f(0x1ee)),_0x59b488=this[_0xff3d3f(0x1f6)](_0x36e2ce,_0x57aac8);0x0==_0x59b488[_0xff3d3f(0x266)]&&_0x59b488[_0xff3d3f(0x2a9)](new _0xc6fb9a(0x0)),_0x2f75aa[_0xff3d3f(0x2c5)]=this[_0xff3d3f(0x280)](_0x59b488)[_0xff3d3f(0x297)](()=>{const _0x28909b=_0xff3d3f;this[_0x28909b(0x1fa)][_0x28909b(0x20b)][_0x28909b(0x289)](_0x1a4867)[_0x28909b(0x26d)](this),this[_0x28909b(0x1fa)][_0x28909b(0x23e)][_0x28909b(0x2d5)](_0x28909b(0x22d));})[_0xff3d3f(0x271)](_0x364b0d=>this[_0xff3d3f(0x21b)](_0xff3d3f(0x1d4),_0x364b0d))[_0xff3d3f(0x1e9)](()=>this[_0xff3d3f(0x225)]());},{'priority':_0xc3e957(0x23a)}),this[_0xc3e957(0x1fa)]['on'](_0xc3e957(0x200),async(_0x3f2451,[_0x45cf16,_0x4afeac])=>{const _0xd7a732=_0xc3e957;_0x3f2451[_0xd7a732(0x230)]();const _0x1f1c01=this[_0xd7a732(0x1fa)][_0xd7a732(0x241)][_0xd7a732(0x1e4)][_0xd7a732(0x235)](_0x45cf16);if(!this[_0xd7a732(0x2cc)][_0xd7a732(0x1d8)](_0x45cf16)){const _0x69bf6d=_0x4afeac&&_0x4afeac[_0xd7a732(0x23e)]?_0x4afeac[_0xd7a732(0x23e)]:'',_0x16ab22=_0x4afeac&&_0x4afeac[_0xd7a732(0x299)]?_0x4afeac[_0xd7a732(0x299)]:{};await this[_0xd7a732(0x2a1)](_0x45cf16,_0x69bf6d,_0x16ab22);}this[_0xd7a732(0x1fa)][_0xd7a732(0x241)][_0xd7a732(0x2b6)]({'isUndoable':!0x1},()=>{const _0x3e060f=_0xd7a732;_0x1f1c01[_0x3e060f(0x207)]=!0x0,this[_0x3e060f(0x1fa)][_0x3e060f(0x241)][_0x3e060f(0x1e4)][_0x3e060f(0x214)][_0x3e060f(0x262)](_0x1f1c01);});},{'priority':_0xc3e957(0x23a)});}async[_0x21f83e(0x1ed)](_0x2090b5){const _0x39b483=_0x21f83e,_0x5eebae=this[_0x39b483(0x1fa)][_0x39b483(0x20b)][_0x39b483(0x289)](_0x24b224),{connection:_0x3677ae}=this[_0x39b483(0x1fa)][_0x39b483(0x20b)][_0x39b483(0x289)](_0x1a4867),_0x2c86d0=new Set();for(const _0x400a28 of _0x2090b5){const _0x2d3104=_0x400a28[_0x39b483(0x252)];_0x2d3104&&!_0x5eebae[_0x39b483(0x1e8)](_0x2d3104)&&_0x2c86d0[_0x39b483(0x25d)](_0x2d3104);}if(0x0===_0x2c86d0[_0x39b483(0x213)])return;const _0x4a0a0d=await _0x59374b[_0x39b483(0x1dc)](_0x3677ae,Array[_0x39b483(0x2b5)](_0x2c86d0));for(const _0xd6c2e0 of _0x4a0a0d)_0x5eebae[_0x39b483(0x1e8)](_0xd6c2e0['id'])||_0x5eebae[_0x39b483(0x22c)](_0xd6c2e0);}[_0x21f83e(0x1f6)](_0x1e09f5,_0x2127c5={}){const _0x1cfa76=_0x21f83e,_0xaca88f=this[_0x1cfa76(0x1fa)][_0x1cfa76(0x241)],_0x9658d5=[];let _0x26a0ec=0x0;const _0x2cde20=_0x1cfa76(0x26c)==typeof _0x1e09f5?{'main':_0x1e09f5}:_0x1e09f5;for(const _0x12896e of Object[_0x1cfa76(0x223)](_0x2cde20)){if(!this[_0x1cfa76(0x2c0)][_0x1cfa76(0x287)][_0x1cfa76(0x1d8)](_0x12896e))throw new _0x1518bb(_0x1cfa76(0x1f7),this);const _0x17f9de=this[_0x1cfa76(0x1fa)][_0x1cfa76(0x23e)][_0x1cfa76(0x20f)](_0x2cde20[_0x12896e]),_0x24e4c6=this[_0x1cfa76(0x2c0)][_0x1cfa76(0x235)](_0x12896e),_0x557684=new _0x1e1af8(_0xaca88f[_0x1cfa76(0x24d)](_0x24e4c6,0x0),_0x17f9de,_0x26a0ec++);_0x9658d5[_0x1cfa76(0x2a9)](_0x557684);for(const [_0x18f742,_0xdf5195]of _0x17f9de[_0x1cfa76(0x27e)]){const _0x47f36f=_0xaca88f[_0x1cfa76(0x273)](_0xaca88f[_0x1cfa76(0x227)](_0x24e4c6,_0xdf5195[_0x1cfa76(0x24e)][_0x1cfa76(0x2d3)][_0x1cfa76(0x237)]()),_0xaca88f[_0x1cfa76(0x227)](_0x24e4c6,_0xdf5195[_0x1cfa76(0x26e)][_0x1cfa76(0x2d3)][_0x1cfa76(0x237)]())),_0x1d32bb=new _0x93d634(_0x18f742,null,_0x47f36f,_0xaca88f[_0x1cfa76(0x27e)],!0x0,_0x26a0ec++);_0x9658d5[_0x1cfa76(0x2a9)](_0x1d32bb);}}if(_0x2127c5)for(const [_0x1aa803,_0xb6caf2]of Object[_0x1cfa76(0x1e5)](_0x2127c5)){const _0x5182c7=_0xaca88f[_0x1cfa76(0x1e4)][_0x1cfa76(0x235)](_0x1aa803);if(!_0x5182c7)throw new _0x1518bb(_0x1cfa76(0x1e7),null);for(const [_0x55a1c9,_0x1a52fd]of Object[_0x1cfa76(0x1e5)](_0xb6caf2))if(null!==_0x1a52fd){const _0x476ab6=new _0x2e732a(_0x5182c7,_0x55a1c9,null,_0x1a52fd,_0x26a0ec++);_0x9658d5[_0x1cfa76(0x2a9)](_0x476ab6);}}return _0x9658d5;}async[_0x21f83e(0x2a1)](_0x56c25a,_0x4b2ff2,_0x568101){const _0x4920f7=_0x21f83e;this[_0x4920f7(0x1f6)]({[_0x56c25a]:_0x4b2ff2},{[_0x56c25a]:_0x568101})[_0x4920f7(0x228)]((_0x120127,_0x3b8b31)=>{const _0x47c4aa=_0x4920f7;_0x120127[_0x47c4aa(0x29d)]=this[_0x47c4aa(0x2c0)][_0x47c4aa(0x2a2)]+_0x3b8b31,_0x120127[_0x47c4aa(0x261)]=!0x0,this[_0x47c4aa(0x243)](_0x120127);}),this[_0x4920f7(0x1fe)](),await this[_0x4920f7(0x25b)]();}async[_0x21f83e(0x231)](_0x10f133,_0x4d1f37){const _0x94bfed=_0x21f83e;let _0x592393;this[_0x94bfed(0x1f0)]=_0x10f133[_0x94bfed(0x1de)];const _0xccc34a=_0x10f133[_0x94bfed(0x22f)]&&!_0x10f133[_0x94bfed(0x2bc)],_0x3ab18e=_0xccc34a?0x0:_0x10f133[_0x94bfed(0x23e)][_0x94bfed(0x29d)];if(_0x4d1f37[_0x94bfed(0x228)](_0x1b004c=>{const _0x4f93d3=_0x94bfed;_0x1b004c[_0x4f93d3(0x261)]=!0x0,_0x1b004c[_0x4f93d3(0x1d3)]=_0x10f133[_0x4f93d3(0x1ea)],_0x1b004c[_0x4f93d3(0x252)]=null;}),_0xccc34a)_0x592393=_0x4d1f37,this[_0x94bfed(0x20e)](_0x592393,_0xccc34a);else{if(_0x10f133[_0x94bfed(0x2bc)]){const _0x451597=this[_0x94bfed(0x1f6)](_0x10f133[_0x94bfed(0x2bc)]);this[_0x94bfed(0x2c0)][_0x94bfed(0x2d2)][_0x94bfed(0x2a2)]=-_0x451597[_0x94bfed(0x266)],_0x451597[_0x94bfed(0x228)](_0xb6a7b=>{const _0x4de013=_0x94bfed;_0xb6a7b[_0x4de013(0x29d)]-=_0x451597[_0x4de013(0x266)],_0xb6a7b[_0x4de013(0x1d3)]=_0x10f133[_0x4de013(0x1ea)],_0xb6a7b[_0x4de013(0x261)]=!0x0,_0xb6a7b[_0x4de013(0x252)]=null;}),this[_0x94bfed(0x20e)](_0x451597,!0x0),this[_0x94bfed(0x24f)][_0x94bfed(0x2a2)]=-_0x451597[_0x94bfed(0x266)]+this[_0x94bfed(0x1f0)],this[_0x94bfed(0x1eb)](_0x451597);}this[_0x94bfed(0x2c0)][_0x94bfed(0x2d2)][_0x94bfed(0x2a2)]=_0x3ab18e,_0x592393=this[_0x94bfed(0x209)](_0x10f133[_0x94bfed(0x23e)],_0x10f133[_0x94bfed(0x1e2)]),await this[_0x94bfed(0x1ed)](_0x592393),this[_0x94bfed(0x20e)](_0x592393,_0xccc34a);}_0x10f133[_0x94bfed(0x25e)]&&(this[_0x94bfed(0x20a)][_0x94bfed(0x1fb)](_0x592393,_0x10f133[_0x94bfed(0x25e)]),this[_0x94bfed(0x2a0)]=_0x10f133[_0x94bfed(0x25e)]),this[_0x94bfed(0x24f)][_0x94bfed(0x2a2)]=_0x3ab18e+this[_0x94bfed(0x1f0)],this[_0x94bfed(0x1eb)](_0x592393),_0x4d1f37[_0x94bfed(0x2a4)](_0x301544=>{const _0x4ea263=_0x94bfed,_0x35e894=this[_0x4ea263(0x2ac)](_0x301544);return _0x35e894&&!this[_0x4ea263(0x2cc)][_0x4ea263(0x1d8)](_0x35e894);})[_0x94bfed(0x228)]((_0x24150c,_0x59e098)=>{const _0x1ec3ef=_0x94bfed;_0x24150c[_0x1ec3ef(0x29d)]=this[_0x1ec3ef(0x2c0)][_0x1ec3ef(0x2a2)]+_0x59e098,this[_0x1ec3ef(0x243)](_0x24150c);}),this[_0x94bfed(0x272)]()?(this[_0x94bfed(0x2b8)]=0x0,this[_0x94bfed(0x1fe)](!0x0),await this[_0x94bfed(0x25b)]()):(this[_0x94bfed(0x1e3)]=!0x1,this[_0x94bfed(0x225)]());}[_0x21f83e(0x21b)](_0x401357,_0x46db2a){const _0x152096=_0x21f83e,_0x29c5c0=_0x46db2a&&_0x46db2a[_0x152096(0x250)];if(_0x29c5c0&&_0x29c5c0[_0x152096(0x1f1)](_0x152096(0x2a3)))throw _0x46db2a;const _0x30c1de=this[_0x152096(0x1fa)][_0x152096(0x20b)][_0x152096(0x289)](_0x1a4867);throw this[_0x152096(0x1e3)]=!0x0,_0x30c1de[_0x152096(0x208)](),this[_0x152096(0x1fa)][_0x152096(0x205)](_0x152096(0x2c3)),new _0x1518bb(_0x401357,this[_0x152096(0x1fa)],_0x29c5c0?{'originalError':_0x29c5c0}:void 0x0);}[_0x21f83e(0x243)](_0x26ae81){const _0x3979ed=_0x21f83e;this[_0x3979ed(0x216)][_0x3979ed(0x1d8)](_0x26ae81)||(this[_0x3979ed(0x216)][_0x3979ed(0x25d)](_0x26ae81),this[_0x3979ed(0x206)][_0x3979ed(0x2a9)](_0x26ae81),this[_0x3979ed(0x28a)]||_0x3979ed(0x242)==_0x26ae81[_0x3979ed(0x217)]&&!_0x26ae81[_0x3979ed(0x2a6)]||this[_0x3979ed(0x23f)]());}[_0x21f83e(0x1fe)](_0x2b5a89=!0x1){const _0x46d4e7=_0x21f83e;!_0x2b5a89&&this[_0x46d4e7(0x1e3)]||(this[_0x46d4e7(0x1e3)]=!0x0,clearTimeout(this[_0x46d4e7(0x24a)]),this[_0x46d4e7(0x24a)]=setTimeout(()=>{const _0x55c04c=_0x46d4e7;this[_0x55c04c(0x274)]()[_0x55c04c(0x297)](_0x5d3c2c=>{const _0x42c837=_0x55c04c;_0x5d3c2c&&(this[_0x42c837(0x225)](),this[_0x42c837(0x1e3)]=!0x1);})[_0x55c04c(0x271)](_0x45b6fb=>{const _0x84b675=_0x55c04c;this[_0x84b675(0x225)](),this[_0x84b675(0x1e3)]=!0x1,function(_0x4142a3){const _0x3c9d5e=_0x84b675;return _0x4142a3[_0x3c9d5e(0x250)][_0x3c9d5e(0x1f1)](_0x3c9d5e(0x220))||_0x4142a3[_0x3c9d5e(0x250)][_0x3c9d5e(0x1f1)](_0x3c9d5e(0x1db))||_0x4142a3[_0x3c9d5e(0x250)][_0x3c9d5e(0x1f1)](_0x3c9d5e(0x236));}(_0x45b6fb)||this[_0x84b675(0x21b)](_0x45b6fb[_0x84b675(0x250)],_0x45b6fb);});},this[_0x46d4e7(0x2b8)]));}[_0x21f83e(0x25b)](){return new Promise(_0x46c659=>{const _0x433460=_0x37f2;this['on'](_0x433460(0x23d),()=>{_0x46c659();});});}async[_0x21f83e(0x274)](){const _0x51fe3d=_0x21f83e,_0x562caa=this[_0x51fe3d(0x1fa)][_0x51fe3d(0x20b)][_0x51fe3d(0x289)](_0x5660d6);if(this[_0x51fe3d(0x2d1)]()&&(_0x562caa[_0x51fe3d(0x239)](),this[_0x51fe3d(0x260)]=!0x1),!this[_0x51fe3d(0x272)]())return!0x0;const _0xa75802=[...this[_0x51fe3d(0x206)]];for(const _0x37a8dc of _0xa75802)_0x37a8dc[_0x51fe3d(0x28e)]=this[_0x51fe3d(0x2c0)][_0x51fe3d(0x2d2)][_0x51fe3d(0x282)](_0x37a8dc);const _0x53affd=this[_0x51fe3d(0x20a)][_0x51fe3d(0x2ba)](_0xa75802),_0x1d7cc3=j++,_0x10036a=this[_0x51fe3d(0x2b2)](_0xa75802),_0x32a202=await this[_0x51fe3d(0x2b0)][_0x51fe3d(0x28f)](_0x10036a,_0x10036a[_0x51fe3d(0x29d)],_0x53affd);try{return await this[_0x51fe3d(0x211)](_0xa75802,_0x32a202,_0x1d7cc3);}catch(_0x398403){return this[_0x51fe3d(0x21b)](_0x51fe3d(0x219),_0x398403);}}async[_0x21f83e(0x211)](_0x738bb1,_0x2ba91f,_0x1db63b){const _0x2a4852=_0x21f83e;if(_0x2a4852(0x2cb)in _0x2ba91f)throw _0x2ba91f[_0x2a4852(0x2cb)];let _0x42b4a7=!0x1;if(_0x2ba91f[_0x2a4852(0x22f)]){_0x2ba91f[_0x2a4852(0x25e)]&&(this[_0x2a4852(0x2a0)]=_0x2ba91f[_0x2a4852(0x25e)]),this[_0x2a4852(0x206)]=this[_0x2a4852(0x206)][_0x2a4852(0x2a4)](_0x46a15a=>!_0x738bb1[_0x2a4852(0x2b1)](_0x46a15a));for(const _0x4745a1 of _0x738bb1)_0x4745a1[_0x2a4852(0x1d3)]=_0x2a4852(0x2c6)in _0x2ba91f&&_0x2ba91f[_0x2a4852(0x2c6)]||void 0x0;P(_0x738bb1,_0x2ba91f[_0x2a4852(0x2a2)]-_0x738bb1[_0x2a4852(0x266)]),this[_0x2a4852(0x1eb)](_0x738bb1);const _0xd9abc5=_0x738bb1[_0x2a4852(0x2a4)](_0x1fb70f=>{const _0x499ec4=_0x2a4852;if(!_0x1fb70f[_0x499ec4(0x261)])return!0x1;const _0x557eae=this[_0x499ec4(0x2ac)](_0x1fb70f);return _0x557eae&&!this[_0x499ec4(0x2cc)][_0x499ec4(0x1d8)](_0x557eae);});P(_0xd9abc5,this[_0x2a4852(0x2c0)][_0x2a4852(0x2a2)]),this[_0x2a4852(0x20e)](_0xd9abc5),_0x42b4a7=!0x0,this[_0x2a4852(0x2b8)]=this[_0x2a4852(0x226)];}else{const _0x295126=this[_0x2a4852(0x209)](_0x2ba91f[_0x2a4852(0x23e)],_0x2ba91f[_0x2a4852(0x1e2)])[_0x2a4852(0x2a4)](_0x2af095=>_0x2af095[_0x2a4852(0x29d)]>=this[_0x2a4852(0x1d2)]);_0x295126[_0x2a4852(0x228)](_0x76263=>this[_0x2a4852(0x28b)](_0x76263)),this[_0x2a4852(0x206)]=this[_0x2a4852(0x206)][_0x2a4852(0x2a4)](_0x477eec=>!_0x477eec[_0x2a4852(0x261)]||!this[_0x2a4852(0x2cc)][_0x2a4852(0x1d8)](this[_0x2a4852(0x2ac)](_0x477eec))),this[_0x2a4852(0x206)][_0x2a4852(0x266)]&&P(this[_0x2a4852(0x206)],this[_0x2a4852(0x206)][0x0][_0x2a4852(0x29d)]),await this[_0x2a4852(0x1ed)](_0x295126),_0x42b4a7=this[_0x2a4852(0x24c)](_0x295126,_0x2ba91f[_0x2a4852(0x2a2)],_0x2ba91f[_0x2a4852(0x25e)]),this[_0x2a4852(0x2b8)]=Math[_0x2a4852(0x268)](this[_0x2a4852(0x2b8)]/0x2);}return _0x42b4a7?!this[_0x2a4852(0x272)]()||(this[_0x2a4852(0x1fe)](!0x0),!0x1):this[_0x2a4852(0x21b)](_0x2a4852(0x20d));}[_0x21f83e(0x24c)](_0x1e7f85,_0x2e93a0,_0x3d05f0){const _0x37fd13=_0x21f83e;try{const _0x245c77={'document':this[_0x37fd13(0x2c0)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4fe327,operationsB:_0x3d6db3,originalOperations:_0x62f945}=_0x759bf5(_0x1e7f85,this[_0x37fd13(0x206)],_0x245c77);P(_0x4fe327,this[_0x37fd13(0x2c0)][_0x37fd13(0x2a2)]),P(_0x3d6db3,_0x2e93a0);for(const _0x5e8dd7 of _0x4fe327){const _0x11a866=_0x62f945[_0x37fd13(0x289)](_0x5e8dd7);_0x5e8dd7[_0x37fd13(0x252)]=_0x11a866?_0x11a866[_0x37fd13(0x252)]:null;}_0x3d05f0&&(this[_0x37fd13(0x20a)][_0x37fd13(0x1fb)](_0x1e7f85,_0x3d05f0),this[_0x37fd13(0x2a0)]=_0x3d05f0),this[_0x37fd13(0x206)]=[..._0x3d6db3],this[_0x37fd13(0x20e)](_0x4fe327),this[_0x37fd13(0x1eb)](_0x1e7f85);}catch(_0x4d89e8){return console[_0x37fd13(0x2cb)](_0x4d89e8),!0x1;}return!0x0;}[_0x21f83e(0x20e)](_0x5e7f3e,_0x399b84=!0x1){const _0x5cd685=_0x21f83e;this[_0x5cd685(0x1fa)][_0x5cd685(0x241)][_0x5cd685(0x2b6)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1a55db=>{const _0x120e0a=_0x5cd685;for(const _0x394b60 of _0x5e7f3e)this[_0x120e0a(0x216)][_0x120e0a(0x25d)](_0x394b60),this[_0x120e0a(0x28b)](_0x394b60),_0x1a55db[_0x120e0a(0x247)][_0x120e0a(0x2ae)](_0x394b60),this[_0x120e0a(0x1fa)][_0x120e0a(0x241)][_0x120e0a(0x270)](_0x394b60);});}[_0x21f83e(0x28b)](_0x44d694){const _0x34ab18=_0x21f83e,_0x4b96aa=this[_0x34ab18(0x2ac)](_0x44d694);_0x4b96aa&&this[_0x34ab18(0x2cc)][_0x34ab18(0x25d)](_0x4b96aa);}[_0x21f83e(0x2ac)](_0x183dbc){const _0x535557=_0x21f83e;let _0xd67a3f,_0xdc7157;switch(_0x183dbc[_0x535557(0x217)]){case _0x535557(0x276):_0xd67a3f=_0x183dbc[_0x535557(0x1dd)][_0x535557(0x1ef)];break;case _0x535557(0x242):if(_0xdc7157=_0x183dbc[_0x535557(0x23c)],!_0xdc7157)return null;_0xd67a3f=_0xdc7157[_0x535557(0x1ef)];break;case _0x535557(0x229):_0xd67a3f=_0x183dbc[_0x535557(0x1ef)];break;case _0x535557(0x1d9):_0xd67a3f=_0x183dbc[_0x535557(0x263)];break;case _0x535557(0x1f2):_0xd67a3f=_0x183dbc[_0x535557(0x233)][_0x535557(0x1ef)];break;default:return null;}return _0xd67a3f[_0x535557(0x2b9)];}[_0x21f83e(0x1eb)](_0x50b2fe){const _0x1f32d3=_0x21f83e;_0x50b2fe[_0x1f32d3(0x228)](_0x248f48=>{const _0x44b307=_0x1f32d3,_0x5f321b=_0x248f48[_0x44b307(0x2bb)]();_0x5f321b[_0x44b307(0x252)]=_0x248f48[_0x44b307(0x252)],_0x5f321b[_0x44b307(0x261)]=!!_0x248f48[_0x44b307(0x261)],_0x5f321b[_0x44b307(0x1d3)]=_0x248f48[_0x44b307(0x1d3)],_0x5f321b[_0x44b307(0x29d)]+=this[_0x44b307(0x1f0)],_0x248f48[_0x44b307(0x202)]&&this[_0x44b307(0x288)][_0x44b307(0x25d)](_0x5f321b),this[_0x44b307(0x24f)][_0x44b307(0x2ae)](_0x5f321b);});}[_0x21f83e(0x296)](_0x976b41){const _0x1d35c8=_0x21f83e,_0x176239=this[_0x1d35c8(0x1fa)][_0x1d35c8(0x20b)][_0x1d35c8(0x289)](_0x1d35c8(0x2b3)),_0x2bd1fc=this[_0x1d35c8(0x1fa)][_0x1d35c8(0x281)];_0x976b41||(_0x976b41=_0x4ec715(_0x2bd1fc,_0x1d35c8(0x293))),_0x176239[_0x1d35c8(0x1ec)](_0x976b41,{'title':_0x4ec715(_0x2bd1fc,_0x1d35c8(0x21f)),'namespace':_0x1d35c8(0x2ad)}),this[_0x1d35c8(0x265)]=!0x0,clearTimeout(this[_0x1d35c8(0x24a)]),this[_0x1d35c8(0x206)]=[],this[_0x1d35c8(0x1fa)][_0x1d35c8(0x20b)][_0x1d35c8(0x289)](_0x1a4867)[_0x1d35c8(0x208)]();}[_0x21f83e(0x23f)](){const _0x56a8bc=_0x21f83e;this[_0x56a8bc(0x28a)]||(this[_0x56a8bc(0x28a)]=this[_0x56a8bc(0x1fa)][_0x56a8bc(0x20b)][_0x56a8bc(0x289)](_0x40874c)[_0x56a8bc(0x25d)](_0x4ec715(this[_0x56a8bc(0x1fa)][_0x56a8bc(0x281)],_0x56a8bc(0x29a))));}[_0x21f83e(0x225)](){const _0x3ce04d=_0x21f83e;this[_0x3ce04d(0x28a)]&&(this[_0x3ce04d(0x1fa)][_0x3ce04d(0x20b)][_0x3ce04d(0x289)](_0x40874c)[_0x3ce04d(0x26b)](this[_0x3ce04d(0x28a)]),this[_0x3ce04d(0x28a)]=null);}[_0x21f83e(0x2b2)](_0x583dd2){const _0x513d23=_0x21f83e,_0x3689ed=_0x583dd2[_0x513d23(0x29f)](_0x2f59c4=>_0x2f59c4[_0x513d23(0x27a)]());return this[_0x513d23(0x2ab)][_0x513d23(0x1f4)](_0x3689ed);}[_0x21f83e(0x209)](_0x22ad9d,_0x3df945){const _0x494a3e=_0x21f83e;return this[_0x494a3e(0x2ab)][_0x494a3e(0x21c)](_0x22ad9d)[_0x494a3e(0x29f)]((_0x15c054,_0x48d975)=>{const _0x3df695=_0x494a3e,_0x2f815b=_0x3df695(0x1e1)==_0x3df945[_0x48d975][_0x3df695(0x217)];if(_0x3df695(0x1df)==_0x15c054[_0x3df695(0x248)]){const _0x45ebd9=_0x15c054[_0x3df695(0x1dd)][_0x3df695(0x1ef)];!this[_0x3df695(0x2c0)][_0x3df695(0x235)](_0x45ebd9)&&(this[_0x3df695(0x2c0)][_0x3df695(0x29e)](_0x3df695(0x1f3),_0x45ebd9)[_0x3df695(0x2c2)]=!0x1);}const _0x1fc715=_0x2b858a[_0x3df695(0x22a)](_0x15c054,this[_0x3df695(0x2c0)]);return _0x1fc715[_0x3df695(0x28e)]=_0x15c054[_0x3df695(0x28e)],_0x1fc715[_0x3df695(0x261)]=_0x2f815b,_0x1fc715[_0x3df695(0x252)]=_0x2f815b?null:_0x3df945[_0x48d975][_0x3df695(0x2be)],_0x1fc715[_0x3df695(0x202)]=_0x3df695(0x253)===_0x3df945[_0x48d975][_0x3df695(0x217)],_0x1fc715[_0x3df695(0x1d3)]=_0x3df945[_0x48d975][_0x3df695(0x1d3)],_0x1fc715;});}[_0x21f83e(0x2bf)](){const _0x355bc1=_0x21f83e;this[_0x355bc1(0x260)]=!0x0,this[_0x355bc1(0x2d1)]()?this[_0x355bc1(0x1fe)]():this[_0x355bc1(0x260)]=!0x1;}[_0x21f83e(0x2d1)](){const _0x288ed4=_0x21f83e,_0x1d75f1=this[_0x288ed4(0x1fa)][_0x288ed4(0x20b)][_0x288ed4(0x289)](_0x206175)[_0x288ed4(0x2ce)][_0x288ed4(0x289)](this[_0x288ed4(0x2af)]);return!this[_0x288ed4(0x1fa)][_0x288ed4(0x212)]&&!!_0x1d75f1&&_0x1d75f1[_0x288ed4(0x266)]>0x1&&this[_0x288ed4(0x260)];}[_0x21f83e(0x272)](){const _0x46842d=_0x21f83e;return this[_0x46842d(0x206)][_0x46842d(0x266)]>0x0||this[_0x46842d(0x2d1)]();}}class D extends Error{}function _0x5c7d(){const _0x4d5257=['state','_sendBufferedOperationsDelayId','editing','_handleExternalOperations','createPositionAt','start','serverHistory','message','set','_authorId','cs:removeUser','197568SxDmqG','selection','register','isDocumentOperation','10778RCHJIo','91055QhaYxS','rtc-destroyed','_waitUntilSynced','getDocumentDetails','add','lastOperationId','isOfficialPlugin','_hasSelectionChanged','_isInit','_bufferRootLoad','affectedSelectable','realtimecollaborationclient-init-document-already-initialized','_hasSynchronizationProblem','length','requires','round','404','reconnection:\x20flushed\x20session','remove','string','addToReconnectionStack','end','_handleReconnectionResponse','applyOperation','catch','_shouldSendUpdate','createRange','_sendBufferedOperations','Permissions','insert','bind','config','_connectAfterSessionHasBeenFlushed','toJSON','2478228aBujsG','cloudServices.bundleVersion','_handleSendingSelectionMarkers','markers','_initSessionsHandling','_connectService','locale','isUndoneOperation','suppressErrorInCollaboration','_initThrowingOnDataSet','collaboration.channelId','operationsReceived','roots','_disconnectionOperations','get','_pendingAction','_addKnownRoot','38622663VtnqKr','sessionId','wasUndone','sendOperations','define','reconnect','_handleReceivedOperations','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.','destroy','directChange','_handleReconnectionError','then','324oDvkTv','attributes','PENDING_ACTION_SENDING_DATA','realtimecollaborationclient-init-session-connection-error','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.','baseVersion','createRoot','map','_lastSyncedOperationId','_loadRoot','version','realtimecollaborationclient','filter','_disconnectService','affectsData','permissions','realtimecollaborationclient-init-service-internal-error','push','collaboration-missing-channelid','_compressor','_getAffectedRoot','real-time-collaboration','addOperation','_channelId','_service','includes','_compressOperations','Notification','removeFromReconnectionStack','from','enqueueChange','connected','_currentBufferDelay','rootName','getIdOfTheLastOperation','clone','initData','collaboration','userId','_refreshUserSelectionMarkers','_document','lastDocumentSession','_isAttached','realtimecollaborationclient-error','off','return','lastOperationAcceptedAt','_setUpDataInit','_operationToId','getConnectedSessions','realtimecollaborationclient-init-service-incorrect-server-operation','error','_knownRootNames','change:hasDomSelection','channelSessions','disableReadOnlyMode','view','_shouldSendSelectionUpdate','history','path','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','fire','getOperationAuthor','_lastServerVersion','createdAt','realtimecollaborationclient-init-connection-failed','connect','rtc-offline','mySessionId','has','addRoot','_isConnected','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','getMany','position','offset','InsertOperation','CollaborativeEditingService','init','metadata','_isPendingUpdate','document','entries','sessionAdd:','multi-root-editor-root-attributes-no-root','getUser','finally','sessionCreatedAt','_updateServerHistory','showWarning','_fetchMissingUsers','rootsAttributes','root','_offset','startsWith','move','$root','compress','stopListening','_getOperationsFromInitData','realtimecollaborationclient-init-non-existent-root','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','unregister','editor','setIdForTheLastOperation','disconnected','_isEditingAllowed','_sendBufferedOperationsDelayed','RealTimeCollaborationClient','loadRoot','apply','_isDisconnection','isPremiumPlugin','pluginName','enableReadOnlyMode','_bufferedOperations','_isLoaded','disconnect','_decompressOperations','_operationIdentifier','plugins','isEnabled','realtimecollaborationclient-handleserverresponse','_applyOperationsSet','parse','cloudDocumentVersion','_handleServerResponse','isReadOnly','size','differ','code','_knownOperations','type','connection','realtimecollaborationclient-sendbufferedoperations','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_crash','decompress','listenTo','254GGnXtH','Synchronization\x20issue','cloud-services-internal-error:\x20Not\x20connected.','_ignoredOperations','reset','keys','currentDocumentSession','_clearPendingAction','_baseBufferDelay','createPositionFromPath','forEach','addRootAttribute','fromJSON','document:write','addUser','ready','setPermissions','wereChangesApplied','stop','_handleInitialConnectionData','6102744ykNZqb','targetPosition','lastSyncVersion','getRoot','cloud-services-internal-error:\x20Request\x20timeout.','slice','change:range','createUserMarkerOperations','high','409','newRange','change:_isPendingUpdate','data','_setPendingAction','CommentsOnly','model','marker','_saveOperationInBuffer','9893736gHWfPl','change:_isEditingAllowed','getOperations','batch','__className'];_0x5c7d=function(){return _0x4d5257;};return _0x5c7d();}function P(_0x374cdb,_0x1cd507){const _0xa5bf1f=_0x21f83e;for(const _0x26f676 of _0x374cdb)_0x26f676[_0xa5bf1f(0x29d)]=_0x1cd507++;}class U{[_0x21f83e(0x221)];[_0x21f83e(0x2c8)];constructor(_0x5c51a3){const _0x5f4424=_0x21f83e;this[_0x5f4424(0x221)]=_0x5c51a3,this[_0x5f4424(0x2c8)]=new WeakMap();}[_0x21f83e(0x2ba)](_0x381ee9){const _0x16eccf=_0x21f83e;let _0x423f98=_0x381ee9[_0x16eccf(0x266)];for(;_0x423f98--;){const _0x3b5a05=_0x381ee9[_0x423f98];if(!this[_0x16eccf(0x221)][_0x16eccf(0x1d8)](_0x3b5a05)){if(!this[_0x16eccf(0x2c8)][_0x16eccf(0x1d8)](_0x3b5a05)){const _0x3b65a7=_0x21fa48()[_0x16eccf(0x237)](0x1,0x12);this[_0x16eccf(0x2c8)][_0x16eccf(0x251)](_0x3b5a05,_0x3b65a7);}return this[_0x16eccf(0x2c8)][_0x16eccf(0x289)](_0x3b5a05);}}}[_0x21f83e(0x1fb)](_0x40d574,_0x861c3e){const _0x4d4243=_0x21f83e;if(!_0x861c3e)return;let _0x1e6401=_0x40d574[_0x4d4243(0x266)];for(;_0x1e6401--;){const _0x1b0eaa=_0x40d574[_0x1e6401];this[_0x4d4243(0x221)][_0x4d4243(0x1d8)](_0x1b0eaa)||this[_0x4d4243(0x2c8)][_0x4d4243(0x251)](_0x1b0eaa,_0x861c3e);}}}