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

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.2",
3
+ "version": "47.4.0-alpha.4",
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.2",
51
- "@ckeditor/ckeditor5-comments": "47.4.0-alpha.2",
52
- "@ckeditor/ckeditor5-core": "47.4.0-alpha.2",
53
- "@ckeditor/ckeditor5-editor-multi-root": "47.4.0-alpha.2",
54
- "@ckeditor/ckeditor5-engine": "47.4.0-alpha.2",
55
- "@ckeditor/ckeditor5-operations-compressor": "47.4.0-alpha.2",
56
- "@ckeditor/ckeditor5-revision-history": "47.4.0-alpha.2",
57
- "@ckeditor/ckeditor5-theme-lark": "47.4.0-alpha.2",
58
- "@ckeditor/ckeditor5-track-changes": "47.4.0-alpha.2",
59
- "@ckeditor/ckeditor5-ui": "47.4.0-alpha.2",
60
- "@ckeditor/ckeditor5-utils": "47.4.0-alpha.2",
61
- "ckeditor5": "47.4.0-alpha.2",
62
- "ckeditor5-collaboration": "47.4.0-alpha.2",
50
+ "@ckeditor/ckeditor5-cloud-services": "47.4.0-alpha.4",
51
+ "@ckeditor/ckeditor5-comments": "47.4.0-alpha.4",
52
+ "@ckeditor/ckeditor5-core": "47.4.0-alpha.4",
53
+ "@ckeditor/ckeditor5-editor-multi-root": "47.4.0-alpha.4",
54
+ "@ckeditor/ckeditor5-engine": "47.4.0-alpha.4",
55
+ "@ckeditor/ckeditor5-operations-compressor": "47.4.0-alpha.4",
56
+ "@ckeditor/ckeditor5-revision-history": "47.4.0-alpha.4",
57
+ "@ckeditor/ckeditor5-theme-lark": "47.4.0-alpha.4",
58
+ "@ckeditor/ckeditor5-track-changes": "47.4.0-alpha.4",
59
+ "@ckeditor/ckeditor5-ui": "47.4.0-alpha.4",
60
+ "@ckeditor/ckeditor5-utils": "47.4.0-alpha.4",
61
+ "ckeditor5": "47.4.0-alpha.4",
62
+ "ckeditor5-collaboration": "47.4.0-alpha.4",
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 _0x40d283=_0x2437;(function(_0x445eea,_0x54ed26){const _0x41c7fe=_0x2437,_0xe5b445=_0x445eea();while(!![]){try{const _0x3ee989=parseInt(_0x41c7fe(0xd7))/0x1+-parseInt(_0x41c7fe(0xdf))/0x2*(-parseInt(_0x41c7fe(0xe1))/0x3)+-parseInt(_0x41c7fe(0xdb))/0x4*(-parseInt(_0x41c7fe(0xa4))/0x5)+parseInt(_0x41c7fe(0xc5))/0x6+-parseInt(_0x41c7fe(0xe5))/0x7+parseInt(_0x41c7fe(0xc2))/0x8+-parseInt(_0x41c7fe(0xb6))/0x9;if(_0x3ee989===_0x54ed26)break;else _0xe5b445['push'](_0xe5b445['shift']());}catch(_0x32b8c8){_0xe5b445['push'](_0xe5b445['shift']());}}}(_0x17f9,0xbbc25));import{ContextPlugin as _0x26305d}from'ckeditor5/src/core.js';import{CKEditorError as _0x2f4183,Collection as _0x30028f}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x2a18d9,BalloonPanelView as _0x34474f,BodyCollection as _0x46384e}from'ckeditor5/src/ui.js';import{isElement as _0x5cf71f}from'es-toolkit/compat';function _0x2437(_0x28b3b0,_0x28d9b6){const _0x17f978=_0x17f9();return _0x2437=function(_0x243700,_0x5511c7){_0x243700=_0x243700-0x85;let _0x4c5385=_0x17f978[_0x243700];return _0x4c5385;},_0x2437(_0x28b3b0,_0x28d9b6);}import{Sessions as _0x20ed4d}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x2e6623}from'./view/presencelistview.js';function _0x17f9(){const _0x3099cd=['800169CTxltL','[tabindex]',':not([disabled]):not([tabindex=\x22-1\x22])','offsetWidth','1141236SKgaiR','isRendered','select','change:isFocused','156564tmajxx','ck\x20ck-presence-list__balloon','33yIKpbK','Esc','render','presenceList.container','1894375tUaeAi','execute','Tab','presenceDropdownView','using','allConnectedUsers','_handleUserAdd','listenTo','_createView','config','isMe','isCollapsed','length','_allConnectedUsers','offsetHeight','map','sort','appendChild','Shift+Tab','init','class','usersCount','body','_bodyCollection','bindTo','inlineListView','pluginName','filter','reverse','find','unpin','currentDisplayedUsers','get','keystrokes','presencelist-collapseat-invalid-format','presencelist:hide','focusTracker','input','PresenceListUI','tabIndex','add','5QUKmZw','plugins','isPremiumPlugin','button','view','hideDropdown','from','remove','querySelectorAll','detachFromDom','presenceList.displayMe','presenceList','number','activeElement','textarea','presencelist-missing-container','hasTooltip','pin','31204971gtIBWh','element','destroy','displayMe','isOfficialPlugin','presencelist:show','define','set','balloonPanelView','bind','checkIfScrollable','onClick','8957824IpkITt','context','Enter','8643582wWnLrU','_handleUserRemove','join','counterView','items','content','attachToDom','min','[contenteditable]','indexOf','focus','locale','showDropdown','isFocusable','requires','isVisible','presenceList.collapseAt','isExpanded'];_0x17f9=function(){return _0x3099cd;};return _0x17f9();}import{PresenceCounterView as _0x1a7c93}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x3d9fd4}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0x438b2c}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x54be2d}from'./view/presenceinlinelistitemview.js';const x={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x26305d{[_0x40d283(0x9a)];[_0x40d283(0xbe)];[_0x40d283(0xa8)];[_0x40d283(0xe8)];[_0x40d283(0x92)]=null;static get[_0x40d283(0x95)](){const _0x1aeb0a=_0x40d283;return _0x1aeb0a(0xa1);}static get[_0x40d283(0xba)](){return!0x0;}static get[_0x40d283(0xa6)](){return!0x0;}constructor(_0x345908){const _0x546521=_0x40d283;super(_0x345908),this[_0x546521(0xc3)][_0x546521(0xee)][_0x546521(0xbc)](_0x546521(0xaf),x);const _0x33b54f=_0x345908[_0x546521(0xee)][_0x546521(0x9b)](_0x546521(0xd5));if(_0x546521(0xb0)!=typeof _0x33b54f)throw new _0x2f4183(_0x546521(0x9d),this);if(_0x33b54f<0x1)throw new _0x2f4183(_0x546521(0x9d),this);this[_0x546521(0x88)]=this[_0x546521(0xc3)][_0x546521(0xa5)][_0x546521(0x9b)](_0x20ed4d)[_0x546521(0xea)],this[_0x546521(0xbd)](_0x546521(0x90),0x0),this[_0x546521(0x9a)]=new _0x30028f(),this[_0x546521(0xbe)]=new _0x34474f(),this[_0x546521(0xbe)][_0x546521(0x8f)]=_0x546521(0xe0),this[_0x546521(0xa8)]=this[_0x546521(0xed)](),this[_0x546521(0xe8)]=void 0x0;}static get[_0x40d283(0xd3)](){return[_0x20ed4d];}[_0x40d283(0x8e)](){const _0x2ec06b=_0x40d283;for(const _0xc765c4 of this[_0x2ec06b(0x88)])this[_0x2ec06b(0xeb)](_0xc765c4);this[_0x2ec06b(0xec)](this[_0x2ec06b(0x88)],_0x2ec06b(0xa3),(_0x58ef8b,_0xf97731)=>{const _0x2dcec8=_0x2ec06b;this[_0x2dcec8(0xeb)](_0xf97731);}),this[_0x2ec06b(0xec)](this[_0x2ec06b(0x88)],_0x2ec06b(0xab),(_0x2eef2f,_0x34b017)=>{const _0x41b52a=_0x2ec06b;this[_0x41b52a(0xc6)](_0x34b017);});}[_0x40d283(0xed)](){const _0x3b3bd0=_0x40d283,_0x48ffe2=this[_0x3b3bd0(0xc3)],_0x2c5078=new _0x2e6623(this[_0x3b3bd0(0xc3)][_0x3b3bd0(0xd0)],this[_0x3b3bd0(0xc3)][_0x3b3bd0(0xee)][_0x3b3bd0(0x9b)](_0x3b3bd0(0xd5))),_0x42e435=this[_0x3b3bd0(0xbe)];if(!_0x5cf71f(_0x48ffe2[_0x3b3bd0(0xee)][_0x3b3bd0(0x9b)](_0x3b3bd0(0xe4))))throw new _0x2f4183(_0x3b3bd0(0xb3),this);return _0x2c5078[_0x3b3bd0(0xc8)][_0x3b3bd0(0xbf)](_0x3b3bd0(0x90))['to'](this),_0x2c5078[_0x3b3bd0(0xbf)](_0x3b3bd0(0x86))['to'](this,_0x3b3bd0(0x90),_0x12341e=>{const _0x2d554b=_0x3b3bd0,{collapseAt:_0x219d7d}=_0x48ffe2[_0x2d554b(0xee)][_0x2d554b(0x9b)](_0x2d554b(0xaf)),_0x9c0cca=_0x12341e>=_0x219d7d;if(_0x9c0cca&&!_0x2c5078[_0x2d554b(0x94)][_0x2d554b(0xc9)][_0x2d554b(0x98)](_0x5cecf4=>_0x5cecf4 instanceof _0x1a7c93)){const _0x2f3f07=this[_0x2d554b(0xc3)][_0x2d554b(0xee)][_0x2d554b(0x9b)](_0x2d554b(0xd5))-0x1;this[_0x2d554b(0x9a)][_0x2d554b(0x87)]==_0x2f3f07&&this[_0x2d554b(0x9a)][_0x2d554b(0x87)]>0x1&&this[_0x2d554b(0x9a)][_0x2d554b(0xab)](this[_0x2d554b(0x9a)][_0x2d554b(0x87)]-0x1),_0x2c5078[_0x2d554b(0x94)][_0x2d554b(0xc9)][_0x2d554b(0xa3)](_0x2c5078[_0x2d554b(0xc8)]);}return _0x9c0cca||this[_0x2d554b(0xa9)](),_0x9c0cca;}),_0x2c5078[_0x3b3bd0(0x94)][_0x3b3bd0(0xc9)][_0x3b3bd0(0x93)](this[_0x3b3bd0(0x9a)])[_0x3b3bd0(0xe9)](_0x41cd4f=>{const _0x831a14=_0x3b3bd0,_0x58ef95=_0x48ffe2[_0x831a14(0xee)][_0x831a14(0x9b)](_0x831a14(0xaf)),_0x27b7cc=new _0x54be2d(_0x48ffe2[_0x831a14(0xd0)],_0x41cd4f,!!_0x58ef95[_0x831a14(0xc1)]);return _0x27b7cc[_0x831a14(0xbf)](_0x831a14(0xb4))['to'](_0x2c5078,_0x831a14(0x86),_0x12de62=>!_0x12de62),_0x27b7cc[_0x831a14(0xbf)](_0x831a14(0xd2))['to'](_0x2c5078,_0x831a14(0x86),_0x35fda6=>!_0x35fda6),_0x58ef95[_0x831a14(0xc1)]&&this[_0x831a14(0xec)](_0x27b7cc,_0x831a14(0xe6),()=>{const _0x93a1cf=_0x831a14;this[_0x93a1cf(0xa8)][_0x93a1cf(0x86)]||_0x58ef95[_0x93a1cf(0xc1)](_0x41cd4f,_0x27b7cc[_0x93a1cf(0xb7)]);}),_0x27b7cc;}),this[_0x3b3bd0(0xec)](_0x2c5078[_0x3b3bd0(0x94)],_0x3b3bd0(0xbb),()=>{const _0xf94edd=_0x3b3bd0;this[_0xf94edd(0xa8)][_0xf94edd(0x86)]&&this[_0xf94edd(0xd1)]();}),this[_0x3b3bd0(0xec)](_0x2c5078[_0x3b3bd0(0x94)],_0x3b3bd0(0x9e),()=>{const _0x8a6918=_0x3b3bd0;this[_0x8a6918(0xe8)]&&this[_0x8a6918(0xa9)]();}),_0x2c5078[_0x3b3bd0(0x94)][_0x3b3bd0(0x9c)][_0x3b3bd0(0xbd)](_0x3b3bd0(0xc4),(_0x385737,_0x5d8884)=>{const _0x47530f=_0x3b3bd0;this[_0x47530f(0xa8)][_0x47530f(0x86)]&&(this[_0x47530f(0xd1)](),_0x5d8884());}),_0x2c5078[_0x3b3bd0(0xe3)](),_0x42e435[_0x3b3bd0(0xe3)](),_0x2a18d9({'emitter':_0x2c5078,'activator':()=>_0x42e435[_0x3b3bd0(0xd4)],'contextElements':[_0x42e435[_0x3b3bd0(0xb7)],_0x2c5078[_0x3b3bd0(0x94)][_0x3b3bd0(0xb7)]],'callback':()=>this[_0x3b3bd0(0xa9)]()}),_0x48ffe2[_0x3b3bd0(0xee)][_0x3b3bd0(0x9b)](_0x3b3bd0(0xe4))[_0x3b3bd0(0x8c)](_0x2c5078[_0x3b3bd0(0xb7)]),this[_0x3b3bd0(0x92)]=new _0x46384e(this[_0x3b3bd0(0xc3)][_0x3b3bd0(0xd0)]),this[_0x3b3bd0(0x92)][_0x3b3bd0(0xcb)](),this[_0x3b3bd0(0x92)][_0x3b3bd0(0xa3)](this[_0x3b3bd0(0xbe)]),_0x2c5078;}[_0x40d283(0xeb)](_0x4710f7){const _0x1b5bb6=_0x40d283;if(!this[_0x1b5bb6(0xc3)][_0x1b5bb6(0xee)][_0x1b5bb6(0x9b)](_0x1b5bb6(0xae))&&_0x4710f7[_0x1b5bb6(0x85)])return;const _0x328e6a=this[_0x1b5bb6(0xc3)][_0x1b5bb6(0xee)][_0x1b5bb6(0x9b)](_0x1b5bb6(0xd5))-0x1;for(this[_0x1b5bb6(0x90)]++;this[_0x1b5bb6(0x9a)][_0x1b5bb6(0x87)]>=_0x328e6a-(this[_0x1b5bb6(0xa8)][_0x1b5bb6(0x86)]?0x1:0x0)&&this[_0x1b5bb6(0x9a)][_0x1b5bb6(0x87)]>0x1;)this[_0x1b5bb6(0x9a)][_0x1b5bb6(0xab)](0x1);const _0x568f4c=_0x4710f7[_0x1b5bb6(0x85)]?0x0:this[_0x1b5bb6(0x9a)][_0x1b5bb6(0x87)];this[_0x1b5bb6(0x9a)][_0x1b5bb6(0xa3)](_0x4710f7,_0x568f4c);}[_0x40d283(0xc6)](_0x140b21){const _0x5de81d=_0x40d283;this[_0x5de81d(0x90)]--;const {collapseAt:_0xadfc6}=this[_0x5de81d(0xc3)][_0x5de81d(0xee)][_0x5de81d(0x9b)](_0x5de81d(0xaf)),_0x1478e1=this[_0x5de81d(0x90)]>=_0xadfc6;if(this[_0x5de81d(0x9a)][_0x5de81d(0x9b)](_0x140b21['id']))this[_0x5de81d(0x9a)][_0x5de81d(0xab)](_0x140b21['id']);else{if(_0x1478e1&&this[_0x5de81d(0x9a)][_0x5de81d(0x87)]+0x1===_0xadfc6-0x1)return;}if(this[_0x5de81d(0x9a)][_0x5de81d(0x87)]+(_0x1478e1?0x1:0x0)<this[_0x5de81d(0x90)]){for(const _0x438bea of Array[_0x5de81d(0xaa)](this[_0x5de81d(0x88)])[_0x5de81d(0x97)]())if(!this[_0x5de81d(0x9a)][_0x5de81d(0x9b)](_0x438bea['id'])&&(this[_0x5de81d(0x9a)][_0x5de81d(0xa3)](_0x438bea,Math[_0x5de81d(0xcc)](this[_0x5de81d(0x9a)][_0x5de81d(0x87)]-(_0x1478e1?0x1:0x0),0x1)),this[_0x5de81d(0x9a)][_0x5de81d(0x87)]+(_0x1478e1?0x1:0x0)===_0xadfc6-0x1))return;}}[_0x40d283(0xd1)](){const _0x43492e=_0x40d283;if(this[_0x43492e(0xe8)])return;const _0x4b12b4=this[_0x43492e(0xc3)][_0x43492e(0xee)][_0x43492e(0x9b)](_0x43492e(0xaf));this[_0x43492e(0xe8)]=new _0x3d9fd4(this[_0x43492e(0xc3)][_0x43492e(0xd0)],!!_0x4b12b4[_0x43492e(0xc1)]),this[_0x43492e(0xa8)][_0x43492e(0x94)][_0x43492e(0xd6)]=!0x0,this[_0x43492e(0xec)](this[_0x43492e(0xe8)],_0x43492e(0x9e),()=>{const _0x176c1c=_0x43492e;this[_0x176c1c(0xe8)]&&this[_0x176c1c(0xa9)]();});const {listWrapperView:_0xdb35d1}=this[_0x43492e(0xe8)];_0xdb35d1[_0x43492e(0xc9)][_0x43492e(0x93)](this[_0x43492e(0x88)])[_0x43492e(0xe9)](_0x5b9566=>{const _0x35b5fb=_0x43492e;if(!_0x4b12b4[_0x35b5fb(0xb9)]&&_0x5b9566[_0x35b5fb(0x85)])return null;const _0x5b21a4=new _0x438b2c(this[_0x35b5fb(0xc3)][_0x35b5fb(0xd0)],_0x5b9566,!!_0x4b12b4[_0x35b5fb(0xc1)]);return _0x4b12b4[_0x35b5fb(0xc1)]&&this[_0x35b5fb(0xec)](_0x5b21a4,_0x35b5fb(0xe6),()=>{const _0x3d92d7=_0x35b5fb;_0x4b12b4[_0x3d92d7(0xc1)](_0x5b9566,_0x5b21a4[_0x3d92d7(0xb7)]);}),_0x5b21a4;}),this[_0x43492e(0xbe)][_0x43492e(0xca)][_0x43492e(0xa3)](this[_0x43492e(0xe8)]),this[_0x43492e(0xbe)][_0x43492e(0xb5)]({'target':this[_0x43492e(0xa8)][_0x43492e(0x94)][_0x43492e(0xb7)]}),_0xdb35d1[_0x43492e(0xcf)](),_0xdb35d1[_0x43492e(0xc0)]();const _0x3f50a2=(_0x366333,_0x43df5a)=>{const _0x27c764=_0x43492e;this[_0x27c764(0xa9)](),this[_0x27c764(0xa8)][_0x27c764(0x94)][_0x27c764(0xcf)](),_0x43df5a();};_0xdb35d1[_0x43492e(0x9c)][_0x43492e(0xbd)](_0x43492e(0xe2),_0x3f50a2),_0xdb35d1[_0x43492e(0x9c)][_0x43492e(0xbd)](_0x43492e(0x8d),_0x3f50a2),_0xdb35d1[_0x43492e(0x9c)][_0x43492e(0xbd)](_0x43492e(0xe7),(_0xe347bf,_0x3d92e4)=>{const _0x389ea7=_0x43492e;!function(_0x4272e2){const _0x45d905=_0x2437,_0x29249d=['a',_0x45d905(0xa7),_0x45d905(0xa0),_0x45d905(0xdd),_0x45d905(0xb2),_0x45d905(0xd8),_0x45d905(0xcd)][_0x45d905(0x8a)](_0x17e1b3=>_0x17e1b3+_0x45d905(0xd9))[_0x45d905(0xc7)](','),_0x1de0d6=[...document[_0x45d905(0x91)][_0x45d905(0xac)](_0x29249d)][_0x45d905(0x96)](_0x301d88=>_0x301d88===document[_0x45d905(0xb1)]||_0x301d88[_0x45d905(0xda)]+_0x301d88[_0x45d905(0x89)]>0x0)[_0x45d905(0x8b)]((_0x415189,_0x599b85)=>(_0x415189[_0x45d905(0xa2)]||0x0)-(_0x599b85[_0x45d905(0xa2)]||0x0)),_0x209c4b=_0x1de0d6[_0x45d905(0xce)](_0x4272e2),_0x26ffc7=_0x1de0d6[(_0x209c4b+0x1)%_0x1de0d6[_0x45d905(0x87)]];_0x26ffc7&&_0x26ffc7[_0x45d905(0xcf)]();}(this[_0x389ea7(0xa8)][_0x389ea7(0xb7)]),this[_0x389ea7(0xa9)](),_0x3d92e4();}),_0xdb35d1[_0x43492e(0x9f)][_0x43492e(0xa3)](this[_0x43492e(0xa8)][_0x43492e(0xb7)]),_0xdb35d1[_0x43492e(0x9f)]['on'](_0x43492e(0xde),(_0x2d073e,_0x30840b,_0x4eb01c)=>{const _0x1dfbcd=_0x43492e;_0x4eb01c||this[_0x1dfbcd(0xa9)]();});}[_0x40d283(0xa9)](){const _0x3ad41a=_0x40d283;this[_0x3ad41a(0xe8)]&&(this[_0x3ad41a(0xa8)][_0x3ad41a(0x94)][_0x3ad41a(0xd6)]=!0x1,this[_0x3ad41a(0xbe)][_0x3ad41a(0x99)](),this[_0x3ad41a(0xbe)][_0x3ad41a(0xca)][_0x3ad41a(0xab)](this[_0x3ad41a(0xe8)]),this[_0x3ad41a(0xe8)][_0x3ad41a(0xb8)](),this[_0x3ad41a(0xe8)]=void 0x0);}[_0x40d283(0xb8)](){const _0x59db32=_0x40d283;super[_0x59db32(0xb8)](),this[_0x59db32(0xa8)]&&this[_0x59db32(0xa8)][_0x59db32(0xdc)]&&this[_0x59db32(0xa8)][_0x59db32(0xb8)](),this[_0x59db32(0x92)]&&(this[_0x59db32(0x92)][_0x59db32(0xad)](),this[_0x59db32(0x92)][_0x59db32(0xb8)](),this[_0x59db32(0x92)]=null);}}
23
+ const _0x3995bf=_0x5366;(function(_0x1ad856,_0x43ae32){const _0x17812e=_0x5366,_0x40f6a6=_0x1ad856();while(!![]){try{const _0x5a4b69=-parseInt(_0x17812e(0x20d))/0x1*(-parseInt(_0x17812e(0x1d0))/0x2)+-parseInt(_0x17812e(0x1c3))/0x3+parseInt(_0x17812e(0x21d))/0x4*(-parseInt(_0x17812e(0x1fd))/0x5)+-parseInt(_0x17812e(0x1cc))/0x6*(parseInt(_0x17812e(0x200))/0x7)+-parseInt(_0x17812e(0x1ff))/0x8+parseInt(_0x17812e(0x1ec))/0x9+parseInt(_0x17812e(0x20c))/0xa*(parseInt(_0x17812e(0x1c0))/0xb);if(_0x5a4b69===_0x43ae32)break;else _0x40f6a6['push'](_0x40f6a6['shift']());}catch(_0x280ba2){_0x40f6a6['push'](_0x40f6a6['shift']());}}}(_0x196b,0x75883));import{ContextPlugin as _0x40a4da}from'ckeditor5/src/core.js';import{CKEditorError as _0x3ec9d5,Collection as _0x4dd59b}from'ckeditor5/src/utils.js';function _0x196b(){const _0x307282=['onClick','isMe','offsetWidth','hasTooltip','balloonPanelView','Enter','execute','presencelist:show','isExpanded','render','presencelist:hide','pin','2645640lofnlh','init','length','isOfficialPlugin','body','Tab','items','view','keystrokes','filter','sort','context','define','using','number','requires','_handleUserRemove','5OwZNdW','bindTo','6545376rHjIFL','4167646GukBdx','isPremiumPlugin','focus','unpin','_bodyCollection','appendChild','indexOf','inlineListView','remove','select','presenceDropdownView','currentDisplayedUsers','29922850bSXOMR','37YLFUEg','presencelist-collapseat-invalid-format','allConnectedUsers','textarea','presencelist-missing-container','content','find','bind','set','change:isFocused','presenceList','map','Shift+Tab','PresenceListUI','counterView','input','2370868jfxEwD','hideDropdown','get','add','checkIfScrollable','Esc','plugins','from','listenTo','tabIndex','presenceList.displayMe','isVisible','config','button','showDropdown','11AiyMHF','min','locale','2876997SBOPlU','isCollapsed','destroy','detachFromDom','join','ck\x20ck-presence-list__balloon','[contenteditable]','pluginName','querySelectorAll','6RYEjQO','presenceList.container','_handleUserAdd',':not([disabled]):not([tabindex=\x22-1\x22])','8672KiYecf','activeElement','[tabindex]','focusTracker','isRendered','presenceList.collapseAt','_allConnectedUsers','reverse','displayMe','isFocusable','usersCount','class','element','attachToDom','offsetHeight','_createView'];_0x196b=function(){return _0x307282;};return _0x196b();}function _0x5366(_0x39e82b,_0x555527){const _0x196b64=_0x196b();return _0x5366=function(_0x53666b,_0x3560c2){_0x53666b=_0x53666b-0x1be;let _0x5e7fa9=_0x196b64[_0x53666b];return _0x5e7fa9;},_0x5366(_0x39e82b,_0x555527);}import{clickOutsideHandler as _0x57f028,BalloonPanelView as _0x3084be,BodyCollection as _0x1b136c}from'ckeditor5/src/ui.js';import{isElement as _0x4a6ca8}from'es-toolkit/compat';import{Sessions as _0x437c7b}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x13a844}from'./view/presencelistview.js';import{PresenceCounterView as _0x23c192}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x1c6296}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0x5113b6}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x30bba2}from'./view/presenceinlinelistitemview.js';const U={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x40a4da{[_0x3995bf(0x20b)];[_0x3995bf(0x1e4)];[_0x3995bf(0x1f3)];[_0x3995bf(0x20a)];[_0x3995bf(0x204)]=null;static get[_0x3995bf(0x1ca)](){const _0xd18f95=_0x3995bf;return _0xd18f95(0x21a);}static get[_0x3995bf(0x1ef)](){return!0x0;}static get[_0x3995bf(0x201)](){return!0x0;}constructor(_0x470bf5){const _0x4366db=_0x3995bf;super(_0x470bf5),this[_0x4366db(0x1f7)][_0x4366db(0x229)][_0x4366db(0x1f8)](_0x4366db(0x217),U);const _0x255cf8=_0x470bf5[_0x4366db(0x229)][_0x4366db(0x21f)](_0x4366db(0x1d5));if(_0x4366db(0x1fa)!=typeof _0x255cf8)throw new _0x3ec9d5(_0x4366db(0x20e),this);if(_0x255cf8<0x1)throw new _0x3ec9d5(_0x4366db(0x20e),this);this[_0x4366db(0x1d6)]=this[_0x4366db(0x1f7)][_0x4366db(0x223)][_0x4366db(0x21f)](_0x437c7b)[_0x4366db(0x20f)],this[_0x4366db(0x215)](_0x4366db(0x1da),0x0),this[_0x4366db(0x20b)]=new _0x4dd59b(),this[_0x4366db(0x1e4)]=new _0x3084be(),this[_0x4366db(0x1e4)][_0x4366db(0x1db)]=_0x4366db(0x1c8),this[_0x4366db(0x1f3)]=this[_0x4366db(0x1df)](),this[_0x4366db(0x20a)]=void 0x0;}static get[_0x3995bf(0x1fb)](){return[_0x437c7b];}[_0x3995bf(0x1ed)](){const _0x5b7cad=_0x3995bf;for(const _0x373204 of this[_0x5b7cad(0x1d6)])this[_0x5b7cad(0x1ce)](_0x373204);this[_0x5b7cad(0x225)](this[_0x5b7cad(0x1d6)],_0x5b7cad(0x220),(_0x36689a,_0x4dfad5)=>{const _0x3df2a2=_0x5b7cad;this[_0x3df2a2(0x1ce)](_0x4dfad5);}),this[_0x5b7cad(0x225)](this[_0x5b7cad(0x1d6)],_0x5b7cad(0x208),(_0x4a9f41,_0x50b274)=>{const _0x154767=_0x5b7cad;this[_0x154767(0x1fc)](_0x50b274);});}[_0x3995bf(0x1df)](){const _0x53fc9a=_0x3995bf,_0xd9413a=this[_0x53fc9a(0x1f7)],_0x3d6e58=new _0x13a844(this[_0x53fc9a(0x1f7)][_0x53fc9a(0x1c2)],this[_0x53fc9a(0x1f7)][_0x53fc9a(0x229)][_0x53fc9a(0x21f)](_0x53fc9a(0x1d5))),_0xda2eb5=this[_0x53fc9a(0x1e4)];if(!_0x4a6ca8(_0xd9413a[_0x53fc9a(0x229)][_0x53fc9a(0x21f)](_0x53fc9a(0x1cd))))throw new _0x3ec9d5(_0x53fc9a(0x211),this);return _0x3d6e58[_0x53fc9a(0x21b)][_0x53fc9a(0x214)](_0x53fc9a(0x1da))['to'](this),_0x3d6e58[_0x53fc9a(0x214)](_0x53fc9a(0x1c4))['to'](this,_0x53fc9a(0x1da),_0x541d60=>{const _0x59c842=_0x53fc9a,{collapseAt:_0x44676f}=_0xd9413a[_0x59c842(0x229)][_0x59c842(0x21f)](_0x59c842(0x217)),_0x42ee3a=_0x541d60>=_0x44676f;if(_0x42ee3a&&!_0x3d6e58[_0x59c842(0x207)][_0x59c842(0x1f2)][_0x59c842(0x213)](_0x136edc=>_0x136edc instanceof _0x23c192)){const _0x1467a8=this[_0x59c842(0x1f7)][_0x59c842(0x229)][_0x59c842(0x21f)](_0x59c842(0x1d5))-0x1;this[_0x59c842(0x20b)][_0x59c842(0x1ee)]==_0x1467a8&&this[_0x59c842(0x20b)][_0x59c842(0x1ee)]>0x1&&this[_0x59c842(0x20b)][_0x59c842(0x208)](this[_0x59c842(0x20b)][_0x59c842(0x1ee)]-0x1),_0x3d6e58[_0x59c842(0x207)][_0x59c842(0x1f2)][_0x59c842(0x220)](_0x3d6e58[_0x59c842(0x21b)]);}return _0x42ee3a||this[_0x59c842(0x21e)](),_0x42ee3a;}),_0x3d6e58[_0x53fc9a(0x207)][_0x53fc9a(0x1f2)][_0x53fc9a(0x1fe)](this[_0x53fc9a(0x20b)])[_0x53fc9a(0x1f9)](_0x2a60db=>{const _0x4b3938=_0x53fc9a,_0x135cfd=_0xd9413a[_0x4b3938(0x229)][_0x4b3938(0x21f)](_0x4b3938(0x217)),_0x27d336=new _0x30bba2(_0xd9413a[_0x4b3938(0x1c2)],_0x2a60db,!!_0x135cfd[_0x4b3938(0x1e0)]);return _0x27d336[_0x4b3938(0x214)](_0x4b3938(0x1e3))['to'](_0x3d6e58,_0x4b3938(0x1c4),_0x4117bc=>!_0x4117bc),_0x27d336[_0x4b3938(0x214)](_0x4b3938(0x1d9))['to'](_0x3d6e58,_0x4b3938(0x1c4),_0xf0aacf=>!_0xf0aacf),_0x135cfd[_0x4b3938(0x1e0)]&&this[_0x4b3938(0x225)](_0x27d336,_0x4b3938(0x1e6),()=>{const _0x3cef76=_0x4b3938;this[_0x3cef76(0x1f3)][_0x3cef76(0x1c4)]||_0x135cfd[_0x3cef76(0x1e0)](_0x2a60db,_0x27d336[_0x3cef76(0x1dc)]);}),_0x27d336;}),this[_0x53fc9a(0x225)](_0x3d6e58[_0x53fc9a(0x207)],_0x53fc9a(0x1e7),()=>{const _0x5a47fe=_0x53fc9a;this[_0x5a47fe(0x1f3)][_0x5a47fe(0x1c4)]&&this[_0x5a47fe(0x1bf)]();}),this[_0x53fc9a(0x225)](_0x3d6e58[_0x53fc9a(0x207)],_0x53fc9a(0x1ea),()=>{const _0x2eee4d=_0x53fc9a;this[_0x2eee4d(0x20a)]&&this[_0x2eee4d(0x21e)]();}),_0x3d6e58[_0x53fc9a(0x207)][_0x53fc9a(0x1f4)][_0x53fc9a(0x215)](_0x53fc9a(0x1e5),(_0x959fd7,_0x5a193d)=>{const _0x1468ee=_0x53fc9a;this[_0x1468ee(0x1f3)][_0x1468ee(0x1c4)]&&(this[_0x1468ee(0x1bf)](),_0x5a193d());}),_0x3d6e58[_0x53fc9a(0x1e9)](),_0xda2eb5[_0x53fc9a(0x1e9)](),_0x57f028({'emitter':_0x3d6e58,'activator':()=>_0xda2eb5[_0x53fc9a(0x228)],'contextElements':[_0xda2eb5[_0x53fc9a(0x1dc)],_0x3d6e58[_0x53fc9a(0x207)][_0x53fc9a(0x1dc)]],'callback':()=>this[_0x53fc9a(0x21e)]()}),_0xd9413a[_0x53fc9a(0x229)][_0x53fc9a(0x21f)](_0x53fc9a(0x1cd))[_0x53fc9a(0x205)](_0x3d6e58[_0x53fc9a(0x1dc)]),this[_0x53fc9a(0x204)]=new _0x1b136c(this[_0x53fc9a(0x1f7)][_0x53fc9a(0x1c2)]),this[_0x53fc9a(0x204)][_0x53fc9a(0x1dd)](),this[_0x53fc9a(0x204)][_0x53fc9a(0x220)](this[_0x53fc9a(0x1e4)]),_0x3d6e58;}[_0x3995bf(0x1ce)](_0x3e17be){const _0x3b5b98=_0x3995bf;if(!this[_0x3b5b98(0x1f7)][_0x3b5b98(0x229)][_0x3b5b98(0x21f)](_0x3b5b98(0x227))&&_0x3e17be[_0x3b5b98(0x1e1)])return;const _0x58c2ab=this[_0x3b5b98(0x1f7)][_0x3b5b98(0x229)][_0x3b5b98(0x21f)](_0x3b5b98(0x1d5))-0x1;for(this[_0x3b5b98(0x1da)]++;this[_0x3b5b98(0x20b)][_0x3b5b98(0x1ee)]>=_0x58c2ab-(this[_0x3b5b98(0x1f3)][_0x3b5b98(0x1c4)]?0x1:0x0)&&this[_0x3b5b98(0x20b)][_0x3b5b98(0x1ee)]>0x1;)this[_0x3b5b98(0x20b)][_0x3b5b98(0x208)](0x1);const _0x35525b=_0x3e17be[_0x3b5b98(0x1e1)]?0x0:this[_0x3b5b98(0x20b)][_0x3b5b98(0x1ee)];this[_0x3b5b98(0x20b)][_0x3b5b98(0x220)](_0x3e17be,_0x35525b);}[_0x3995bf(0x1fc)](_0x4addfe){const _0x25872b=_0x3995bf;this[_0x25872b(0x1da)]--;const {collapseAt:_0x1efadf}=this[_0x25872b(0x1f7)][_0x25872b(0x229)][_0x25872b(0x21f)](_0x25872b(0x217)),_0x10af43=this[_0x25872b(0x1da)]>=_0x1efadf;if(this[_0x25872b(0x20b)][_0x25872b(0x21f)](_0x4addfe['id']))this[_0x25872b(0x20b)][_0x25872b(0x208)](_0x4addfe['id']);else{if(_0x10af43&&this[_0x25872b(0x20b)][_0x25872b(0x1ee)]+0x1===_0x1efadf-0x1)return;}if(this[_0x25872b(0x20b)][_0x25872b(0x1ee)]+(_0x10af43?0x1:0x0)<this[_0x25872b(0x1da)]){for(const _0x3070d3 of Array[_0x25872b(0x224)](this[_0x25872b(0x1d6)])[_0x25872b(0x1d7)]())if(!this[_0x25872b(0x20b)][_0x25872b(0x21f)](_0x3070d3['id'])&&(this[_0x25872b(0x20b)][_0x25872b(0x220)](_0x3070d3,Math[_0x25872b(0x1c1)](this[_0x25872b(0x20b)][_0x25872b(0x1ee)]-(_0x10af43?0x1:0x0),0x1)),this[_0x25872b(0x20b)][_0x25872b(0x1ee)]+(_0x10af43?0x1:0x0)===_0x1efadf-0x1))return;}}[_0x3995bf(0x1bf)](){const _0x47442c=_0x3995bf;if(this[_0x47442c(0x20a)])return;const _0x2a3ba6=this[_0x47442c(0x1f7)][_0x47442c(0x229)][_0x47442c(0x21f)](_0x47442c(0x217));this[_0x47442c(0x20a)]=new _0x1c6296(this[_0x47442c(0x1f7)][_0x47442c(0x1c2)],!!_0x2a3ba6[_0x47442c(0x1e0)]),this[_0x47442c(0x1f3)][_0x47442c(0x207)][_0x47442c(0x1e8)]=!0x0,this[_0x47442c(0x225)](this[_0x47442c(0x20a)],_0x47442c(0x1ea),()=>{const _0x4edfc1=_0x47442c;this[_0x4edfc1(0x20a)]&&this[_0x4edfc1(0x21e)]();});const {listWrapperView:_0x47ebb1}=this[_0x47442c(0x20a)];_0x47ebb1[_0x47442c(0x1f2)][_0x47442c(0x1fe)](this[_0x47442c(0x1d6)])[_0x47442c(0x1f9)](_0x415888=>{const _0x39804f=_0x47442c;if(!_0x2a3ba6[_0x39804f(0x1d8)]&&_0x415888[_0x39804f(0x1e1)])return null;const _0x33cb84=new _0x5113b6(this[_0x39804f(0x1f7)][_0x39804f(0x1c2)],_0x415888,!!_0x2a3ba6[_0x39804f(0x1e0)]);return _0x2a3ba6[_0x39804f(0x1e0)]&&this[_0x39804f(0x225)](_0x33cb84,_0x39804f(0x1e6),()=>{const _0x11a475=_0x39804f;_0x2a3ba6[_0x11a475(0x1e0)](_0x415888,_0x33cb84[_0x11a475(0x1dc)]);}),_0x33cb84;}),this[_0x47442c(0x1e4)][_0x47442c(0x212)][_0x47442c(0x220)](this[_0x47442c(0x20a)]),this[_0x47442c(0x1e4)][_0x47442c(0x1eb)]({'target':this[_0x47442c(0x1f3)][_0x47442c(0x207)][_0x47442c(0x1dc)]}),_0x47ebb1[_0x47442c(0x202)](),_0x47ebb1[_0x47442c(0x221)]();const _0x2bfb68=(_0x2fe8eb,_0x101225)=>{const _0x95e9e5=_0x47442c;this[_0x95e9e5(0x21e)](),this[_0x95e9e5(0x1f3)][_0x95e9e5(0x207)][_0x95e9e5(0x202)](),_0x101225();};_0x47ebb1[_0x47442c(0x1f4)][_0x47442c(0x215)](_0x47442c(0x222),_0x2bfb68),_0x47ebb1[_0x47442c(0x1f4)][_0x47442c(0x215)](_0x47442c(0x219),_0x2bfb68),_0x47ebb1[_0x47442c(0x1f4)][_0x47442c(0x215)](_0x47442c(0x1f1),(_0x16be54,_0x2e74f7)=>{const _0x34fb87=_0x47442c;!function(_0xda84c5){const _0x2bb7d4=_0x5366,_0xd0863c=['a',_0x2bb7d4(0x1be),_0x2bb7d4(0x21c),_0x2bb7d4(0x209),_0x2bb7d4(0x210),_0x2bb7d4(0x1d2),_0x2bb7d4(0x1c9)][_0x2bb7d4(0x218)](_0x193e9c=>_0x193e9c+_0x2bb7d4(0x1cf))[_0x2bb7d4(0x1c7)](','),_0x4c0093=[...document[_0x2bb7d4(0x1f0)][_0x2bb7d4(0x1cb)](_0xd0863c)][_0x2bb7d4(0x1f5)](_0x265995=>_0x265995===document[_0x2bb7d4(0x1d1)]||_0x265995[_0x2bb7d4(0x1e2)]+_0x265995[_0x2bb7d4(0x1de)]>0x0)[_0x2bb7d4(0x1f6)]((_0x4058a5,_0x516cef)=>(_0x4058a5[_0x2bb7d4(0x226)]||0x0)-(_0x516cef[_0x2bb7d4(0x226)]||0x0)),_0x3f0230=_0x4c0093[_0x2bb7d4(0x206)](_0xda84c5),_0x120c34=_0x4c0093[(_0x3f0230+0x1)%_0x4c0093[_0x2bb7d4(0x1ee)]];_0x120c34&&_0x120c34[_0x2bb7d4(0x202)]();}(this[_0x34fb87(0x1f3)][_0x34fb87(0x1dc)]),this[_0x34fb87(0x21e)](),_0x2e74f7();}),_0x47ebb1[_0x47442c(0x1d3)][_0x47442c(0x220)](this[_0x47442c(0x1f3)][_0x47442c(0x1dc)]),_0x47ebb1[_0x47442c(0x1d3)]['on'](_0x47442c(0x216),(_0x418cf3,_0x268c9e,_0x19363c)=>{const _0x4cfb99=_0x47442c;_0x19363c||this[_0x4cfb99(0x21e)]();});}[_0x3995bf(0x21e)](){const _0x1bd279=_0x3995bf;this[_0x1bd279(0x20a)]&&(this[_0x1bd279(0x1f3)][_0x1bd279(0x207)][_0x1bd279(0x1e8)]=!0x1,this[_0x1bd279(0x1e4)][_0x1bd279(0x203)](),this[_0x1bd279(0x1e4)][_0x1bd279(0x212)][_0x1bd279(0x208)](this[_0x1bd279(0x20a)]),this[_0x1bd279(0x20a)][_0x1bd279(0x1c5)](),this[_0x1bd279(0x20a)]=void 0x0);}[_0x3995bf(0x1c5)](){const _0x56326c=_0x3995bf;super[_0x56326c(0x1c5)](),this[_0x56326c(0x1f3)]&&this[_0x56326c(0x1f3)][_0x56326c(0x1d4)]&&this[_0x56326c(0x1f3)][_0x56326c(0x1c5)](),this[_0x56326c(0x204)]&&(this[_0x56326c(0x204)][_0x56326c(0x1c6)](),this[_0x56326c(0x204)][_0x56326c(0x1c5)](),this[_0x56326c(0x204)]=null);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe15d12=_0x2a72;(function(_0x2dfc76,_0x4640d0){const _0x389136=_0x2a72,_0x2f7b1a=_0x2dfc76();while(!![]){try{const _0x33de23=-parseInt(_0x389136(0x1c8))/0x1*(-parseInt(_0x389136(0x1cf))/0x2)+-parseInt(_0x389136(0x1c5))/0x3*(parseInt(_0x389136(0x1ca))/0x4)+parseInt(_0x389136(0x1cb))/0x5*(parseInt(_0x389136(0x1d2))/0x6)+parseInt(_0x389136(0x1c3))/0x7*(-parseInt(_0x389136(0x1ae))/0x8)+parseInt(_0x389136(0x1af))/0x9+parseInt(_0x389136(0x1d7))/0xa*(-parseInt(_0x389136(0x1be))/0xb)+parseInt(_0x389136(0x1b3))/0xc;if(_0x33de23===_0x4640d0)break;else _0x2f7b1a['push'](_0x2f7b1a['shift']());}catch(_0x50cda9){_0x2f7b1a['push'](_0x2f7b1a['shift']());}}}(_0x5810,0xae44a));import{ListView as _0x47bc58,View as _0x27cf24}from'ckeditor5/src/ui.js';import{global as _0x417943}from'ckeditor5/src/utils.js';function _0x5810(){const _0x20f563=['element','presencelist:hide','ck-presence-list__dropdown-list-wrapper','ariaLabel','set','11IvHdrA','.ck-balloon-panel_with-arrow','contains','application','Connected\x20users\x20list\x20dropdown\x20menu','4198523fxcPYR','div','885702WIeEzR','.ck-presence-list__list','checkIfScrollable','9sESyIm','items','12vkJNVr','2635yZTkqc','role','setTemplate','listWrapperView','241322mKVjeX','ck-reset','ck-list','426tTLQip','ck-presence-list__dropdown-list-wrapper_scrollable','ariaLabelledBy','max','change','13890230MFySYn','listenTo','ck-presence-list__dropdown-list','innerHeight','render','bindTemplate','8VsNIKr','6328692frOLRC','scrollHeight','resize','relatedTarget','21141144JXirBX','window','querySelector','_isScrollable','fire','clientHeight'];_0x5810=function(){return _0x20f563;};return _0x5810();}import{getTranslation as _0x378e50}from'../../common-translations.js';function _0x2a72(_0x2400c9,_0x300fbe){const _0x58103b=_0x5810();return _0x2a72=function(_0x2a72bb,_0x2736dd){_0x2a72bb=_0x2a72bb-0x1ab;let _0x45b6b2=_0x58103b[_0x2a72bb];return _0x45b6b2;},_0x2a72(_0x2400c9,_0x300fbe);}export class PresenceDropdownListView extends _0x27cf24{[_0xe15d12(0x1ce)];constructor(_0x324cc6,_0x155f67){const _0x100309=_0xe15d12;super(_0x324cc6);const _0x5b3d2e=this[_0x100309(0x1ad)];this[_0x100309(0x1ce)]=new PresenceDropdownListWrapperView(_0x324cc6,_0x155f67),this[_0x100309(0x1cd)]({'tag':_0x100309(0x1c4),'attributes':{'tabindex':-0x1,'role':_0x100309(0x1c1),'class':['ck',_0x100309(0x1d9)],'aria-label':_0x378e50(_0x324cc6,_0x100309(0x1c2))},'children':[this[_0x100309(0x1ce)]],'on':{'mouseleave':_0x5b3d2e['to'](_0x3a19d1=>{const _0x496ca8=_0x100309,_0x5501c1=_0x3a19d1,_0x1a4018=document[_0x496ca8(0x1b5)](_0x496ca8(0x1c6)),_0x500f87=document[_0x496ca8(0x1b5)](_0x496ca8(0x1bf));_0x1a4018?.[_0x496ca8(0x1c0)](_0x5501c1[_0x496ca8(0x1b2)])||_0x500f87?.[_0x496ca8(0x1c0)](_0x5501c1[_0x496ca8(0x1b2)])||this[_0x496ca8(0x1b7)](_0x496ca8(0x1ba));})}});}}export class PresenceDropdownListWrapperView extends _0x47bc58{constructor(_0x4aab56,_0x505f24){const _0x33045b=_0xe15d12;super(_0x4aab56);const _0x226a90=this[_0x33045b(0x1ad)];this[_0x33045b(0x1bd)](_0x33045b(0x1b6),!0x1),this[_0x33045b(0x1cd)]({'tag':_0x505f24?_0x33045b(0x1c4):'ul','attributes':{'class':['ck',_0x33045b(0x1d0),_0x33045b(0x1d1),_0x33045b(0x1bb),_0x226a90['if'](_0x33045b(0x1b6),_0x33045b(0x1d3))],'role':_0x226a90['to'](_0x33045b(0x1cc)),'aria-label':_0x226a90['to'](_0x33045b(0x1bc)),'aria-labelledby':_0x226a90['to'](_0x33045b(0x1d4))},'children':this[_0x33045b(0x1c9)]}),this[_0x33045b(0x1d8)](_0x417943[_0x33045b(0x1b4)],_0x33045b(0x1b1),()=>this[_0x33045b(0x1c7)]()),this[_0x33045b(0x1c9)]['on'](_0x33045b(0x1d6),()=>this[_0x33045b(0x1c7)]());}[_0xe15d12(0x1ac)](){const _0x508a3b=_0xe15d12;super[_0x508a3b(0x1ac)](),this[_0x508a3b(0x1c7)]();}[_0xe15d12(0x1c7)](){const _0x434b72=_0xe15d12,_0x5aa6ae=this[_0x434b72(0x1b9)];_0x5aa6ae&&(this[_0x434b72(0x1b6)]=Math[_0x434b72(0x1d5)](_0x5aa6ae[_0x434b72(0x1b0)],_0x5aa6ae[_0x434b72(0x1b8)])>0.8*window[_0x434b72(0x1ab)]);}}
23
+ const _0x415997=_0x4d3d;(function(_0x2b87d7,_0x292dac){const _0x152b68=_0x4d3d,_0x3a2662=_0x2b87d7();while(!![]){try{const _0x28378b=parseInt(_0x152b68(0x98))/0x1*(-parseInt(_0x152b68(0xb0))/0x2)+parseInt(_0x152b68(0x8f))/0x3+parseInt(_0x152b68(0x8b))/0x4*(parseInt(_0x152b68(0x9b))/0x5)+-parseInt(_0x152b68(0xa5))/0x6*(-parseInt(_0x152b68(0xa2))/0x7)+parseInt(_0x152b68(0x8a))/0x8+-parseInt(_0x152b68(0x85))/0x9+-parseInt(_0x152b68(0x89))/0xa;if(_0x28378b===_0x292dac)break;else _0x3a2662['push'](_0x3a2662['shift']());}catch(_0xef4540){_0x3a2662['push'](_0x3a2662['shift']());}}}(_0x231e,0x45673));import{ListView as _0x1f1c01,View as _0x450d7c}from'ckeditor5/src/ui.js';function _0x4d3d(_0x1d5727,_0x51700e){const _0x231e35=_0x231e();return _0x4d3d=function(_0x4d3d98,_0x3cd043){_0x4d3d98=_0x4d3d98-0x85;let _0x1cdbb6=_0x231e35[_0x4d3d98];return _0x1cdbb6;},_0x4d3d(_0x1d5727,_0x51700e);}import{global as _0xddbfd7}from'ckeditor5/src/utils.js';function _0x231e(){const _0xf6dea1=['setTemplate','clientHeight','div','ck-presence-list__dropdown-list-wrapper','resize','ck-reset','.ck-balloon-panel_with-arrow','2jazoJZ','ck-presence-list__dropdown-list','max','205cWqwMP','presencelist:hide','listWrapperView','contains','set','relatedTarget','render','3934XvGqrc','_isScrollable','listenTo','5094EuMUIb','items','ck-presence-list__dropdown-list-wrapper_scrollable','fire','bindTemplate','ariaLabel','scrollHeight','element','ck-list','ariaLabelledBy','application','164926wXybws','.ck-presence-list__list','4129056jHLsAL','window','Connected\x20users\x20list\x20dropdown\x20menu','change','5995900XgiHHP','2830312mumTKw','23988WMRhjo','role','checkIfScrollable','querySelector','1292313UhEGkh','innerHeight'];_0x231e=function(){return _0xf6dea1;};return _0x231e();}import{getTranslation as _0x36e6d8}from'../../common-translations.js';export class PresenceDropdownListView extends _0x450d7c{[_0x415997(0x9d)];constructor(_0x46e8d2,_0xe6d99){const _0x1c213f=_0x415997;super(_0x46e8d2);const _0x27da94=this[_0x1c213f(0xa9)];this[_0x1c213f(0x9d)]=new PresenceDropdownListWrapperView(_0x46e8d2,_0xe6d99),this[_0x1c213f(0x91)]({'tag':_0x1c213f(0x93),'attributes':{'tabindex':-0x1,'role':_0x1c213f(0xaf),'class':['ck',_0x1c213f(0x99)],'aria-label':_0x36e6d8(_0x46e8d2,_0x1c213f(0x87))},'children':[this[_0x1c213f(0x9d)]],'on':{'mouseleave':_0x27da94['to'](_0x25013c=>{const _0xfc0ce9=_0x1c213f,_0x80e030=_0x25013c,_0x214402=document[_0xfc0ce9(0x8e)](_0xfc0ce9(0xb1)),_0xc54a65=document[_0xfc0ce9(0x8e)](_0xfc0ce9(0x97));_0x214402?.[_0xfc0ce9(0x9e)](_0x80e030[_0xfc0ce9(0xa0)])||_0xc54a65?.[_0xfc0ce9(0x9e)](_0x80e030[_0xfc0ce9(0xa0)])||this[_0xfc0ce9(0xa8)](_0xfc0ce9(0x9c));})}});}}export class PresenceDropdownListWrapperView extends _0x1f1c01{constructor(_0x1e88ee,_0x3c6bc3){const _0x768073=_0x415997;super(_0x1e88ee);const _0x323c89=this[_0x768073(0xa9)];this[_0x768073(0x9f)](_0x768073(0xa3),!0x1),this[_0x768073(0x91)]({'tag':_0x3c6bc3?_0x768073(0x93):'ul','attributes':{'class':['ck',_0x768073(0x96),_0x768073(0xad),_0x768073(0x94),_0x323c89['if'](_0x768073(0xa3),_0x768073(0xa7))],'role':_0x323c89['to'](_0x768073(0x8c)),'aria-label':_0x323c89['to'](_0x768073(0xaa)),'aria-labelledby':_0x323c89['to'](_0x768073(0xae))},'children':this[_0x768073(0xa6)]}),this[_0x768073(0xa4)](_0xddbfd7[_0x768073(0x86)],_0x768073(0x95),()=>this[_0x768073(0x8d)]()),this[_0x768073(0xa6)]['on'](_0x768073(0x88),()=>this[_0x768073(0x8d)]());}[_0x415997(0xa1)](){const _0x5ae312=_0x415997;super[_0x5ae312(0xa1)](),this[_0x5ae312(0x8d)]();}[_0x415997(0x8d)](){const _0x19248a=_0x415997,_0xdc4992=this[_0x19248a(0xac)];_0xdc4992&&(this[_0x19248a(0xa3)]=Math[_0x19248a(0x9a)](_0xdc4992[_0x19248a(0xab)],_0xdc4992[_0x19248a(0x92)])>0.8*window[_0x19248a(0x90)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c5fbd=_0x3904;(function(_0x3189d9,_0x3c83b5){const _0x3d5a9c=_0x3904,_0x213581=_0x3189d9();while(!![]){try{const _0x4c744f=parseInt(_0x3d5a9c(0x181))/0x1*(-parseInt(_0x3d5a9c(0x191))/0x2)+parseInt(_0x3d5a9c(0x182))/0x3*(parseInt(_0x3d5a9c(0x17d))/0x4)+parseInt(_0x3d5a9c(0x196))/0x5*(-parseInt(_0x3d5a9c(0x185))/0x6)+parseInt(_0x3d5a9c(0x183))/0x7+parseInt(_0x3d5a9c(0x19a))/0x8*(parseInt(_0x3d5a9c(0x189))/0x9)+parseInt(_0x3d5a9c(0x184))/0xa*(-parseInt(_0x3d5a9c(0x199))/0xb)+-parseInt(_0x3d5a9c(0x19c))/0xc;if(_0x4c744f===_0x3c83b5)break;else _0x213581['push'](_0x213581['shift']());}catch(_0x5cf256){_0x213581['push'](_0x213581['shift']());}}}(_0xecd9,0x97993));import{View as _0x44faa9}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x1226d3}from'ckeditor5/src/utils.js';import{getTranslation as _0x57f1e7}from'../../common-translations.js';function _0x3904(_0x320194,_0x56cbb5){const _0xecd9d8=_0xecd9();return _0x3904=function(_0x390487,_0x1267eb){_0x390487=_0x390487-0x17d;let _0x90cbd2=_0xecd9d8[_0x390487];return _0x90cbd2;},_0x3904(_0x320194,_0x56cbb5);}export class PresenceInlineListView extends _0x44faa9{[_0x1c5fbd(0x1a5)];[_0x1c5fbd(0x1a2)];constructor(_0x4e53fa){const _0x489c33=_0x1c5fbd;super(_0x4e53fa);const _0x200155=this[_0x489c33(0x18b)];this[_0x489c33(0x1a5)]=this[_0x489c33(0x17e)](),this[_0x489c33(0x1a2)]=new _0x1226d3(),this[_0x489c33(0x187)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x489c33(0x18c)]({'tag':_0x489c33(0x195),'attributes':{'aria-haspopup':_0x200155['if'](_0x489c33(0x19f)),'aria-expanded':_0x200155['to'](_0x489c33(0x188),_0x1be2b1=>this[_0x489c33(0x19f)]&&String(_0x1be2b1)),'aria-label':_0x200155['to'](_0x489c33(0x19f),_0x2c580c=>_0x57f1e7(_0x4e53fa,_0x2c580c?_0x489c33(0x18a):_0x489c33(0x194))),'role':_0x489c33(0x197),'tabindex':_0x200155['to'](_0x489c33(0x19f),_0x490904=>!!_0x490904&&0x0),'class':['ck',_0x489c33(0x1a4)]},'children':this[_0x489c33(0x1a5)],'on':{'mouseenter':_0x200155['to'](()=>this[_0x489c33(0x180)](_0x489c33(0x198))),'mouseleave':_0x200155['to'](_0x205a7e=>{const _0x1c63e3=_0x489c33,_0x21ecbe=_0x205a7e,_0x252a8e=document[_0x1c63e3(0x19e)](_0x1c63e3(0x18d)),_0x4c536f=document[_0x1c63e3(0x19e)](_0x1c63e3(0x190));_0x252a8e?.[_0x1c63e3(0x192)](_0x21ecbe[_0x1c63e3(0x193)])||_0x4c536f?.[_0x1c63e3(0x192)](_0x21ecbe[_0x1c63e3(0x193)])||this[_0x1c63e3(0x180)](_0x1c63e3(0x186));})}}),this['on'](_0x489c33(0x18e),(_0x288ee1,_0x27559e,_0x483249)=>{const _0x40f976=_0x489c33;this[_0x40f976(0x1a1)]&&(_0x483249?this[_0x40f976(0x1a1)][_0x40f976(0x17f)](_0x40f976(0x1a0),String(this[_0x40f976(0x188)])):this[_0x40f976(0x1a1)][_0x40f976(0x19d)](_0x40f976(0x1a0)));});}[_0x1c5fbd(0x18f)](){const _0x3b635b=_0x1c5fbd;this[_0x3b635b(0x1a1)][_0x3b635b(0x18f)]();}[_0x1c5fbd(0x19b)](){const _0x16ce09=_0x1c5fbd;super[_0x16ce09(0x19b)](),this[_0x16ce09(0x1a2)][_0x16ce09(0x1a3)](this[_0x16ce09(0x1a1)]);}}function _0xecd9(){const _0x47e2f8=['8HIjOiC','createCollection','setAttribute','fire','21501odIonW','1166244SZMqmR','6608532WMRUud','472430ULFmAY','1416THxAnj','presencelist:hide','set','isExpanded','1017AQxurL','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','bindTemplate','setTemplate','.ck-presence-list__dropdown-list','change:hasPopup','focus','.ck-balloon-panel_with-arrow','6KbGuvb','contains','relatedTarget','Connected\x20users\x20list','div','20665DWONwE','list','presencelist:show','55bcnLUI','38536BmgUjM','render','4426080NaLItP','removeAttribute','querySelector','hasPopup','aria-expanded','element','keystrokes','listenTo','ck-presence-list__list','items'];_0xecd9=function(){return _0x47e2f8;};return _0xecd9();}
23
+ const _0x492207=_0x3329;(function(_0x33305f,_0x5ac134){const _0x28f56a=_0x3329,_0x5a192b=_0x33305f();while(!![]){try{const _0x7627c9=parseInt(_0x28f56a(0x77))/0x1*(parseInt(_0x28f56a(0x68))/0x2)+-parseInt(_0x28f56a(0x65))/0x3*(parseInt(_0x28f56a(0x8c))/0x4)+-parseInt(_0x28f56a(0x74))/0x5+parseInt(_0x28f56a(0x7f))/0x6*(parseInt(_0x28f56a(0x71))/0x7)+parseInt(_0x28f56a(0x78))/0x8+-parseInt(_0x28f56a(0x70))/0x9*(-parseInt(_0x28f56a(0x79))/0xa)+-parseInt(_0x28f56a(0x88))/0xb;if(_0x7627c9===_0x5ac134)break;else _0x5a192b['push'](_0x5a192b['shift']());}catch(_0x3c1fe4){_0x5a192b['push'](_0x5a192b['shift']());}}}(_0x49ec,0xa1a9d));import{View as _0x5088c4}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x405104}from'ckeditor5/src/utils.js';function _0x49ec(){const _0x259910=['isExpanded','listenTo','26otaaZk','list','focus','createCollection','keystrokes','Connected\x20users\x20list','hasPopup','relatedTarget','15201tpWwVj','7032634PaFpRW','items','aria-expanded','3630145IcaIjz','set','presencelist:show','1499BQZFWD','5237224yJAFKY','3510SDSXSM','change:hasPopup','setAttribute','bindTemplate','render','setTemplate','6KKkRtY','fire','ck-presence-list__list','.ck-presence-list__dropdown-list','contains','div','.ck-balloon-panel_with-arrow','element','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','9310961ifgbUr','removeAttribute','presencelist:hide','querySelector','112OZFDfF','3963ydosrA'];_0x49ec=function(){return _0x259910;};return _0x49ec();}function _0x3329(_0x1f8793,_0x5348f5){const _0x49ec85=_0x49ec();return _0x3329=function(_0x332967,_0x2eab1d){_0x332967=_0x332967-0x65;let _0x585a44=_0x49ec85[_0x332967];return _0x585a44;},_0x3329(_0x1f8793,_0x5348f5);}import{getTranslation as _0x1f8fcc}from'../../common-translations.js';export class PresenceInlineListView extends _0x5088c4{[_0x492207(0x72)];[_0x492207(0x6c)];constructor(_0x17eba5){const _0x316505=_0x492207;super(_0x17eba5);const _0x15750c=this[_0x316505(0x7c)];this[_0x316505(0x72)]=this[_0x316505(0x6b)](),this[_0x316505(0x6c)]=new _0x405104(),this[_0x316505(0x75)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x316505(0x7e)]({'tag':_0x316505(0x84),'attributes':{'aria-haspopup':_0x15750c['if'](_0x316505(0x6e)),'aria-expanded':_0x15750c['to'](_0x316505(0x66),_0x6133db=>this[_0x316505(0x6e)]&&String(_0x6133db)),'aria-label':_0x15750c['to'](_0x316505(0x6e),_0x2cb2fd=>_0x1f8fcc(_0x17eba5,_0x2cb2fd?_0x316505(0x87):_0x316505(0x6d))),'role':_0x316505(0x69),'tabindex':_0x15750c['to'](_0x316505(0x6e),_0x587ff9=>!!_0x587ff9&&0x0),'class':['ck',_0x316505(0x81)]},'children':this[_0x316505(0x72)],'on':{'mouseenter':_0x15750c['to'](()=>this[_0x316505(0x80)](_0x316505(0x76))),'mouseleave':_0x15750c['to'](_0x3b454b=>{const _0x6378b5=_0x316505,_0x35e907=_0x3b454b,_0x3ef3de=document[_0x6378b5(0x8b)](_0x6378b5(0x82)),_0x35c33a=document[_0x6378b5(0x8b)](_0x6378b5(0x85));_0x3ef3de?.[_0x6378b5(0x83)](_0x35e907[_0x6378b5(0x6f)])||_0x35c33a?.[_0x6378b5(0x83)](_0x35e907[_0x6378b5(0x6f)])||this[_0x6378b5(0x80)](_0x6378b5(0x8a));})}}),this['on'](_0x316505(0x7a),(_0x2224dd,_0x5d20e9,_0x49ffc6)=>{const _0x144828=_0x316505;this[_0x144828(0x86)]&&(_0x49ffc6?this[_0x144828(0x86)][_0x144828(0x7b)](_0x144828(0x73),String(this[_0x144828(0x66)])):this[_0x144828(0x86)][_0x144828(0x89)](_0x144828(0x73)));});}[_0x492207(0x6a)](){const _0x485128=_0x492207;this[_0x485128(0x86)][_0x485128(0x6a)]();}[_0x492207(0x7d)](){const _0x144b3c=_0x492207;super[_0x144b3c(0x7d)](),this[_0x144b3c(0x6c)][_0x144b3c(0x67)](this[_0x144b3c(0x86)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2699f4=_0x255d;(function(_0xb08b0d,_0x4e1145){const _0x5812bb=_0x255d,_0x435f4a=_0xb08b0d();while(!![]){try{const _0x1b2bcf=-parseInt(_0x5812bb(0x1a3))/0x1+parseInt(_0x5812bb(0x19b))/0x2+parseInt(_0x5812bb(0x1a7))/0x3*(parseInt(_0x5812bb(0x1a2))/0x4)+parseInt(_0x5812bb(0x199))/0x5*(parseInt(_0x5812bb(0x1a4))/0x6)+-parseInt(_0x5812bb(0x19a))/0x7+parseInt(_0x5812bb(0x1a5))/0x8*(-parseInt(_0x5812bb(0x19e))/0x9)+parseInt(_0x5812bb(0x19d))/0xa;if(_0x1b2bcf===_0x4e1145)break;else _0x435f4a['push'](_0x435f4a['shift']());}catch(_0x1d12a3){_0x435f4a['push'](_0x435f4a['shift']());}}}(_0x4fa9,0xef4c5));import{View as _0x4414b8}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x33ef7d}from'./presencecounterview.js';import{PresenceInlineListView as _0x458bab}from'./presenceinlinelistview.js';function _0x255d(_0x38aae5,_0x168d4f){const _0x4fa9db=_0x4fa9();return _0x255d=function(_0x255d35,_0x2eac20){_0x255d35=_0x255d35-0x18d;let _0x19a50a=_0x4fa9db[_0x255d35];return _0x19a50a;},_0x255d(_0x38aae5,_0x168d4f);}import'../../../theme/presencelist.css';function _0x4fa9(){const _0x10c2f6=['bindTemplate','3HFDDcs','isCollapsed','setTemplate','tooltipPosition','locale','ck-presence-list','ck-presence-list--collapsed','listenTo','change','items','bind','hasPopup','set','ck-reset','counterView','1708885LZKvoZ','4920013pWYvKP','334478sFtutz','ck-rounded-corners','28964410CsXZVm','275679pwhKgE','div','inlineListView','first','171528xWzJPl','1428374HdOoWu','6Snldxm','88FHXrux'];_0x4fa9=function(){return _0x10c2f6;};return _0x4fa9();}export class PresenceListView extends _0x4414b8{[_0x2699f4(0x198)];[_0x2699f4(0x1a0)];constructor(_0x421e6e,_0x2198b2=0x6){const _0x1a2825=_0x2699f4;super(_0x421e6e);const _0x159b29=this[_0x1a2825(0x1a6)];this[_0x1a2825(0x196)](_0x1a2825(0x1a8),!0x0),this[_0x1a2825(0x198)]=new _0x33ef7d(this[_0x1a2825(0x18e)],_0x2198b2),this[_0x1a2825(0x1a0)]=new _0x458bab(_0x421e6e),this[_0x1a2825(0x1a0)][_0x1a2825(0x194)](_0x1a2825(0x195))['to'](this,_0x1a2825(0x1a8)),this[_0x1a2825(0x191)](this[_0x1a2825(0x1a0)][_0x1a2825(0x193)],_0x1a2825(0x192),()=>{const _0x42177b=_0x1a2825;for(const _0x5d6857 of this[_0x42177b(0x1a0)][_0x42177b(0x193)])_0x5d6857[_0x42177b(0x18d)]='s';this[_0x42177b(0x1a0)][_0x42177b(0x193)][_0x42177b(0x1a1)]&&(this[_0x42177b(0x1a0)][_0x42177b(0x193)][_0x42177b(0x1a1)][_0x42177b(0x18d)]='se');}),this[_0x1a2825(0x1a9)]({'tag':_0x1a2825(0x19f),'attributes':{'class':['ck',_0x1a2825(0x18f),_0x1a2825(0x197),_0x1a2825(0x19c),_0x159b29['if'](_0x1a2825(0x1a8),_0x1a2825(0x190))]},'children':[this[_0x1a2825(0x1a0)]]});}}
23
+ const _0x23f93f=_0x31e5;(function(_0x1d2978,_0x4645e7){const _0x518052=_0x31e5,_0xddaa81=_0x1d2978();while(!![]){try{const _0x1a8319=parseInt(_0x518052(0xcb))/0x1+parseInt(_0x518052(0xc3))/0x2*(-parseInt(_0x518052(0xce))/0x3)+-parseInt(_0x518052(0xd8))/0x4+parseInt(_0x518052(0xd2))/0x5*(parseInt(_0x518052(0xc5))/0x6)+-parseInt(_0x518052(0xcf))/0x7*(-parseInt(_0x518052(0xd6))/0x8)+parseInt(_0x518052(0xd4))/0x9*(parseInt(_0x518052(0xd0))/0xa)+parseInt(_0x518052(0xc1))/0xb*(-parseInt(_0x518052(0xcc))/0xc);if(_0x1a8319===_0x4645e7)break;else _0xddaa81['push'](_0xddaa81['shift']());}catch(_0x37d91d){_0xddaa81['push'](_0xddaa81['shift']());}}}(_0x4a2a,0xc2b42));import{View as _0x5d22fb}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x49b094}from'./presencecounterview.js';import{PresenceInlineListView as _0x26f459}from'./presenceinlinelistview.js';function _0x4a2a(){const _0x580549=['2SjdYJx','ck-rounded-corners','120tAiOMC','items','ck-reset','div','bind','inlineListView','897616JrbOJp','7524dkWdcW','ck-presence-list--collapsed','386637CgRPaS','105pVsIFY','10OmyrOA','tooltipPosition','71525rKNXql','bindTemplate','6056109pMICzW','isCollapsed','418736LHiySU','listenTo','1516900DDelVs','counterView','ck-presence-list','change','setTemplate','locale','hasPopup','first','23441eNoFfx','set'];_0x4a2a=function(){return _0x580549;};return _0x4a2a();}import'../../../theme/presencelist.css';function _0x31e5(_0x11bb5d,_0x515fdc){const _0x4a2a02=_0x4a2a();return _0x31e5=function(_0x31e5f1,_0x1d975f){_0x31e5f1=_0x31e5f1-0xbe;let _0x33a0c3=_0x4a2a02[_0x31e5f1];return _0x33a0c3;},_0x31e5(_0x11bb5d,_0x515fdc);}export class PresenceListView extends _0x5d22fb{[_0x23f93f(0xd9)];[_0x23f93f(0xca)];constructor(_0x3df21c,_0x100771=0x6){const _0x370d64=_0x23f93f;super(_0x3df21c);const _0x28fea9=this[_0x370d64(0xd3)];this[_0x370d64(0xc2)](_0x370d64(0xd5),!0x0),this[_0x370d64(0xd9)]=new _0x49b094(this[_0x370d64(0xbe)],_0x100771),this[_0x370d64(0xca)]=new _0x26f459(_0x3df21c),this[_0x370d64(0xca)][_0x370d64(0xc9)](_0x370d64(0xbf))['to'](this,_0x370d64(0xd5)),this[_0x370d64(0xd7)](this[_0x370d64(0xca)][_0x370d64(0xc6)],_0x370d64(0xdb),()=>{const _0x4ebfea=_0x370d64;for(const _0x291979 of this[_0x4ebfea(0xca)][_0x4ebfea(0xc6)])_0x291979[_0x4ebfea(0xd1)]='s';this[_0x4ebfea(0xca)][_0x4ebfea(0xc6)][_0x4ebfea(0xc0)]&&(this[_0x4ebfea(0xca)][_0x4ebfea(0xc6)][_0x4ebfea(0xc0)][_0x4ebfea(0xd1)]='se');}),this[_0x370d64(0xdc)]({'tag':_0x370d64(0xc8),'attributes':{'class':['ck',_0x370d64(0xda),_0x370d64(0xc7),_0x370d64(0xc4),_0x28fea9['if'](_0x370d64(0xd5),_0x370d64(0xcd))]},'children':[this[_0x370d64(0xca)]]});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x252b77=_0xd625;(function(_0x4df3fc,_0x5c5e49){const _0x2af2b3=_0xd625,_0x236ed3=_0x4df3fc();while(!![]){try{const _0x2390ac=parseInt(_0x2af2b3(0xbd))/0x1+parseInt(_0x2af2b3(0xad))/0x2+parseInt(_0x2af2b3(0xc6))/0x3*(-parseInt(_0x2af2b3(0xb7))/0x4)+parseInt(_0x2af2b3(0xd8))/0x5*(-parseInt(_0x2af2b3(0xdd))/0x6)+parseInt(_0x2af2b3(0xde))/0x7*(-parseInt(_0x2af2b3(0xec))/0x8)+-parseInt(_0x2af2b3(0xd9))/0x9*(-parseInt(_0x2af2b3(0xfb))/0xa)+-parseInt(_0x2af2b3(0xb2))/0xb*(-parseInt(_0x2af2b3(0xa7))/0xc);if(_0x2390ac===_0x5c5e49)break;else _0x236ed3['push'](_0x236ed3['shift']());}catch(_0x35aad0){_0x236ed3['push'](_0x236ed3['shift']());}}}(_0x225a,0x6e935));import{Context as _0x15bc32,ContextPlugin as _0x227437}from'ckeditor5/src/core.js';import{CKEditorError as _0x381e19}from'ckeditor5/src/utils.js';function _0xd625(_0x4a0dc8,_0xac226d){const _0x225ab6=_0x225a();return _0xd625=function(_0xd625ed,_0x4092e2){_0xd625ed=_0xd625ed-0xa4;let _0xa54c3e=_0x225ab6[_0xd625ed];return _0xa54c3e;},_0xd625(_0x4a0dc8,_0xac226d);}import{Users as _0x3ef70d}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x100ae6,User as _0x25d22e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x31d550}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0xb29762}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x227437{static [_0x252b77(0xd6)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x100ae6)());[_0x252b77(0xed)];static get[_0x252b77(0xf9)](){const _0xe19e3a=_0x252b77;return[_0x31d550,_0xe19e3a(0xc1),_0xb29762,_0x3ef70d];}static get[_0x252b77(0xee)](){const _0x51e056=_0x252b77;return _0x51e056(0xce);}static get[_0x252b77(0xba)](){return!0x0;}static get[_0x252b77(0xf7)](){return!0x0;}constructor(_0x48d17d){const _0x49564e=_0x252b77;super(_0x48d17d),this[_0x49564e(0xed)]=new Map();}async[_0x252b77(0xc0)](){const _0x39efec=_0x252b77,_0x5d43a4=this[_0x39efec(0xd5)],_0x37a51f=_0x5d43a4[_0x39efec(0xb1)][_0x39efec(0xe7)](_0x39efec(0xc1));if(_0x5d43a4[_0x39efec(0xb1)][_0x39efec(0xe7)](_0x31d550)[_0x39efec(0xfc)](this),_0x37a51f[_0x39efec(0x101)]={'addCommentThread':async({channelId:_0x403c82,threadId:_0x35471e,comments:_0x5d79c4,resolvedAt:_0x53b194,resolvedBy:_0x18c6f8,context:_0x36de35,attributes:_0x4feb01})=>{const _0x3bc38d=_0x39efec,_0x1a230f=await this[_0x3bc38d(0x102)](_0x403c82)[_0x3bc38d(0xcb)]({'commentThreadId':_0x35471e,'comments':_0x5d79c4[_0x3bc38d(0xb3)](_0x5be646=>function(_0x4d9791,_0x3b0dc0,_0x162287){const _0x51c91f=_0x3bc38d;return{'commentThreadId':_0x162287,'commentId':_0x4d9791[_0x51c91f(0xd7)],'userId':_0x4d9791[_0x51c91f(0xeb)],'content':_0x4d9791[_0x51c91f(0xdb)],'documentId':_0x3b0dc0,'createdAt':_0x4d9791[_0x51c91f(0xca)],'attributes':_0x4d9791[_0x51c91f(0xd2)]||{}};}(_0x5be646,_0x403c82,_0x35471e)),'resolvedAt':_0x53b194,'resolvedBy':_0x18c6f8,'context':_0x36de35,'attributes':_0x4feb01})[_0x3bc38d(0xcc)](k);return{'threadId':_0x1a230f[_0x3bc38d(0xe8)],'comments':_0x1a230f[_0x3bc38d(0xe4)]};},'getCommentThread':async({channelId:_0x5d90b3,threadId:_0x564372})=>{const _0x3e1a83=_0x39efec,_0x3df9a2=await this[_0x3e1a83(0x102)](_0x5d90b3)[_0x3e1a83(0xc5)](_0x564372)[_0x3e1a83(0xcc)](F)[_0x3e1a83(0xcc)](k);return _0x3df9a2?_0x3df9a2[_0x3e1a83(0xbf)]?null:(await this[_0x3e1a83(0xb6)]([_0x3df9a2]),{'threadId':_0x3df9a2[_0x3e1a83(0xe8)],'comments':_0x3df9a2[_0x3e1a83(0xe4)][_0x3e1a83(0xb3)](S),'context':_0x3df9a2[_0x3e1a83(0xd5)],'resolvedAt':_0x3df9a2[_0x3e1a83(0x106)],'resolvedBy':_0x3df9a2[_0x3e1a83(0xaf)],'attributes':_0x3df9a2[_0x3e1a83(0xd2)]||{}}):null;},'updateCommentThread':async({channelId:_0x4a7ac1,threadId:_0x5bd241,context:_0x99c3ed,unlinkedAt:_0x509b5d,attributes:_0x1a5568})=>this[_0x39efec(0x102)](_0x4a7ac1)[_0x39efec(0xb5)]({'commentThreadId':_0x5bd241,'context':_0x99c3ed,'attributes':_0x1a5568,'unlinkedAt':_0x509b5d})[_0x39efec(0xcc)](F)[_0x39efec(0xcc)](k),'resolveCommentThread':async({channelId:_0x44e05f,threadId:_0x16cc3c})=>{const _0x4e8c04=_0x39efec,_0x1954bd=await this[_0x4e8c04(0x102)](_0x44e05f)[_0x4e8c04(0xe3)](_0x16cc3c)[_0x4e8c04(0xcc)](F)[_0x4e8c04(0xcc)](k);return{'threadId':_0x1954bd[_0x4e8c04(0xe8)],'resolvedAt':_0x1954bd[_0x4e8c04(0x106)],'resolvedBy':_0x1954bd[_0x4e8c04(0xaf)]};},'reopenCommentThread':async({channelId:_0x15c72f,threadId:_0x2cb8ea})=>this[_0x39efec(0x102)](_0x15c72f)[_0x39efec(0xae)](_0x2cb8ea)[_0x39efec(0xcc)](F)[_0x39efec(0xcc)](k),'removeCommentThread':({channelId:_0x51125f,threadId:_0x2c5729})=>this[_0x39efec(0x102)](_0x51125f)[_0x39efec(0xea)](_0x2c5729)[_0x39efec(0xcc)](F)[_0x39efec(0xcc)](k),'addComment':({channelId:_0x43a41b,threadId:_0x4ce562,commentId:_0x3ce710,content:_0x25af49,attributes:_0x299e06})=>this[_0x39efec(0x102)](_0x43a41b)[_0x39efec(0xd0)](_0x4ce562,_0x3ce710,_0x25af49,_0x299e06)[_0x39efec(0xcc)](k),'updateComment':({channelId:_0x301de8,threadId:_0x245f98,commentId:_0x2102e0,content:_0x42b193,attributes:_0x5cedb9})=>this[_0x39efec(0x102)](_0x301de8)[_0x39efec(0xbc)](_0x245f98,_0x2102e0,_0x42b193,_0x5cedb9)[_0x39efec(0xcc)](F)[_0x39efec(0xcc)](k),'removeComment':({channelId:_0x221fcd,threadId:_0x17aa99,commentId:_0x2b4b03})=>this[_0x39efec(0x102)](_0x221fcd)[_0x39efec(0xac)](_0x17aa99,_0x2b4b03)[_0x39efec(0xcc)](F)[_0x39efec(0xcc)](k)},_0x5d43a4 instanceof _0x15bc32){const _0x47e7c6=_0x5d43a4[_0x39efec(0xa8)][_0x39efec(0xe7)](_0x39efec(0x108)),_0x432209=_0x5d43a4[_0x39efec(0xb1)][_0x39efec(0xe7)](_0xb29762);await this[_0x39efec(0x109)](_0x47e7c6);const _0x3f33fb=await this[_0x39efec(0xed)][_0x39efec(0xe7)](_0x47e7c6)[_0x39efec(0xb8)]();this[_0x39efec(0xe0)](_0x432209,_0x39efec(0xfe)+_0x47e7c6,(_0x4195ec,{session:_0x444262})=>{const _0x4d137b=_0x39efec;_0x444262['id']===_0x432209[_0x4d137b(0x100)]&&(_0x4195ec[_0x4d137b(0xc9)](),this[_0x4d137b(0xd5)][_0x4d137b(0xb1)][_0x4d137b(0xe7)](_0x4d137b(0xf8))[_0x4d137b(0x103)](_0x444262[_0x4d137b(0x104)],_0x47e7c6));}),_0x432209[_0x39efec(0xa4)](_0x47e7c6,_0x3f33fb);}}async[_0x252b77(0x109)](_0x3c0aea){const _0x37f898=_0x252b77;if(this[_0x37f898(0xed)][_0x37f898(0xdc)](_0x3c0aea))throw new _0x381e19(_0x37f898(0x10a),null,{'channelId':_0x3c0aea});const _0x20c38d=this[_0x37f898(0xd5)][_0x37f898(0xb1)][_0x37f898(0xe7)](_0x37f898(0xc1)),_0x18b4ec=new CloudServicesCommentsAdapter[(_0x37f898(0xd6))](_0x3c0aea);this[_0x37f898(0xed)][_0x37f898(0xc7)](_0x3c0aea,_0x18b4ec),this[_0x37f898(0xe0)](_0x18b4ec,_0x37f898(0xf3),(_0x3bf28a,_0x166cef)=>{const _0x436ac0=_0x37f898,{commentThreadId:_0x4407b7,documentId:_0x4872ec,context:_0x5ce6e3,attributes:_0x1b7960,resolvedAt:_0x3bd325,resolvedBy:_0x458bf2,comments:_0x2d2969}=_0x166cef;_0x20c38d[_0x436ac0(0xc5)](_0x4407b7)||_0x20c38d[_0x436ac0(0xcb)]({'threadId':_0x4407b7,'channelId':_0x4872ec,'comments':_0x2d2969?_0x2d2969[_0x436ac0(0xb3)](S):[],'context':_0x5ce6e3,'attributes':_0x1b7960,'resolvedAt':_0x3bd325,'resolvedBy':_0x458bf2,'isFromAdapter':!0x0});}),this[_0x37f898(0xe0)](_0x18b4ec,_0x37f898(0xd1),(_0x1a8ab6,{commentThreadId:_0xdee2e2,documentId:_0x177fc4,context:_0x1fe3eb,unlinkedAt:_0x622afc,attributes:_0x479fd3})=>{const _0x4abb1e=_0x37f898;_0x20c38d[_0x4abb1e(0xc5)](_0xdee2e2)&&_0x20c38d[_0x4abb1e(0xb5)]({'threadId':_0xdee2e2,'channelId':_0x177fc4,'context':_0x1fe3eb,'unlinkedAt':_0x622afc,'attributes':_0x479fd3,'isFromAdapter':!0x0});}),this[_0x37f898(0xe0)](_0x18b4ec,_0x37f898(0xf6),(_0x4802f4,{commentThreadId:_0xe229bd,resolvedBy:_0x8942c5,resolvedAt:_0x432c74})=>{const _0x328903=_0x37f898,_0x40a3d5=_0x20c38d[_0x328903(0xc5)](_0xe229bd);_0x40a3d5&&_0x40a3d5[_0x328903(0xf1)]({'resolvedBy':_0x8942c5,'resolvedAt':_0x432c74,'isFromAdapter':!0x0});}),this[_0x37f898(0xe0)](_0x18b4ec,_0x37f898(0xfa),(_0x4f0091,{commentThreadId:_0x5c8d00})=>{const _0x3edf26=_0x37f898,_0x557887=_0x20c38d[_0x3edf26(0xc5)](_0x5c8d00);_0x557887&&_0x557887[_0x3edf26(0xab)]({'isFromAdapter':!0x0});}),this[_0x37f898(0xe0)](_0x18b4ec,_0x37f898(0xe9),(_0x1db594,{commentThreadId:_0x2b5f46})=>{const _0x4456f9=_0x37f898,_0x579443=_0x20c38d[_0x4456f9(0xc5)](_0x2b5f46);_0x579443&&_0x579443[_0x4456f9(0xf4)]({'isFromAdapter':!0x0});}),this[_0x37f898(0xe0)](_0x18b4ec,_0x37f898(0xaa),(_0x5014ce,_0x2a7e1d)=>{const _0x5ee35f=_0x37f898,_0x2ea57f=_0x2a7e1d[_0x5ee35f(0xe8)],_0x4a78cd=_0x20c38d[_0x5ee35f(0xc5)](_0x2ea57f);_0x4a78cd&&_0x4a78cd[_0x5ee35f(0xd0)]({...S(_0x2a7e1d),'isFromAdapter':!0x0});}),this[_0x37f898(0xe0)](_0x18b4ec,_0x37f898(0xc4),(_0x20de01,{commentThreadId:_0x1eaca8,commentId:_0x1e7e1e,content:_0x28c918,attributes:_0x1fcf1e})=>{const _0x172f9f=_0x37f898,_0x314f7d=_0x20c38d[_0x172f9f(0xc5)](_0x1eaca8);if(_0x314f7d){const _0x34ca88=_0x314f7d[_0x172f9f(0xc2)](_0x1e7e1e);_0x34ca88&&_0x34ca88[_0x172f9f(0xe1)]({'content':_0x28c918,'attributes':_0x1fcf1e,'isFromAdapter':!0x0});}}),this[_0x37f898(0xe0)](_0x18b4ec,_0x37f898(0xc8),(_0x51f481,{commentThreadId:_0x520c80,commentId:_0x531267})=>{const _0x19f1e7=_0x37f898,_0x13a18e=_0x20c38d[_0x19f1e7(0xc5)](_0x520c80);if(_0x13a18e){const _0x31bdbe=_0x13a18e[_0x19f1e7(0xc2)](_0x531267);_0x31bdbe&&_0x31bdbe[_0x19f1e7(0xf4)]({'isFromAdapter':!0x0});}}),await this[_0x37f898(0xcf)](_0x3c0aea);}[_0x252b77(0xda)](){const _0x5ca83c=_0x252b77;if(this[_0x5ca83c(0xd5)]instanceof _0x15bc32){const _0x1e7027=this[_0x5ca83c(0xd5)][_0x5ca83c(0xa8)][_0x5ca83c(0xe7)](_0x5ca83c(0x108));this[_0x5ca83c(0xa9)](_0x1e7027);}}[_0x252b77(0xa9)](_0x548867){const _0x2e64d1=_0x252b77;if(!this[_0x2e64d1(0xed)][_0x2e64d1(0xdc)](_0x548867))throw new _0x381e19(_0x2e64d1(0xdf),null,{'channelId':_0x548867});this[_0x2e64d1(0x102)](_0x548867)[_0x2e64d1(0xbe)](),this[_0x2e64d1(0xed)][_0x2e64d1(0xff)](_0x548867);}async[_0x252b77(0xe6)](){const _0x3f0118=_0x252b77;for(const _0x15005c of this[_0x3f0118(0xed)][_0x3f0118(0x105)]())await this[_0x3f0118(0xcf)](_0x15005c);if(this[_0x3f0118(0xd5)]instanceof _0x15bc32){const _0x15a6d7=this[_0x3f0118(0xd5)][_0x3f0118(0xa8)][_0x3f0118(0xe7)](_0x3f0118(0x108)),_0x1740bb=this[_0x3f0118(0xd5)][_0x3f0118(0xb1)][_0x3f0118(0xe7)](_0xb29762);_0x1740bb[_0x3f0118(0xfd)](_0x15a6d7);const _0xfe49b1=await this[_0x3f0118(0xed)][_0x3f0118(0xe7)](_0x15a6d7)[_0x3f0118(0xb8)]();_0x1740bb[_0x3f0118(0xa4)](_0x15a6d7,_0xfe49b1);}}async[_0x252b77(0xcf)](_0x4d5118){const _0xc1f9a2=_0x252b77,{connection:_0x2b2f52}=this[_0xc1f9a2(0xd5)][_0xc1f9a2(0xb1)][_0xc1f9a2(0xe7)](_0x31d550),_0x12e54c=this[_0xc1f9a2(0xd5)][_0xc1f9a2(0xb1)][_0xc1f9a2(0xe7)](_0xc1f9a2(0xc1)),_0x5568f8=this[_0xc1f9a2(0xed)][_0xc1f9a2(0xe7)](_0x4d5118),_0x4ad3b6=await _0x5568f8[_0xc1f9a2(0xcd)](_0x2b2f52);await this[_0xc1f9a2(0xb6)](_0x4ad3b6);const _0x3f61fb=new Set(Array[_0xc1f9a2(0xb9)](_0x12e54c[_0xc1f9a2(0xf5)]({'channelId':_0x4d5118}),_0x41b3a3=>_0x41b3a3['id']));for(const _0x5bbec9 of _0x4ad3b6)_0x5bbec9[_0xc1f9a2(0xbf)]||_0x3f61fb[_0xc1f9a2(0xff)](_0x5bbec9[_0xc1f9a2(0xe8)]);for(const _0x47b130 of _0x3f61fb)_0x12e54c[_0xc1f9a2(0xc5)](_0x47b130)[_0xc1f9a2(0xf4)]({'isFromAdapter':!0x0});for(const _0x1ac554 of _0x4ad3b6){let _0x1728b9=_0x12e54c[_0xc1f9a2(0xc5)](_0x1ac554[_0xc1f9a2(0xe8)]);const {commentThreadId:_0xa3e2bd,context:_0x1b55ec,attributes:_0x4c5f18,resolvedBy:_0x2b5677,resolvedAt:_0x3bd309,unlinkedAt:_0x3a1f75,deletedAt:_0x34b065}=_0x1ac554;if(_0x34b065)continue;_0x1728b9||(_0x1728b9=_0x12e54c[_0xc1f9a2(0xcb)]({'channelId':_0x4d5118,'threadId':_0xa3e2bd,'context':_0x1b55ec,'attributes':_0x4c5f18||{},'resolvedBy':_0x2b5677,'resolvedAt':_0x3bd309,'unlinkedAt':_0x3a1f75,'isFromAdapter':!0x0}));const _0x1e212d=new Set(Array[_0xc1f9a2(0xb9)](_0x1728b9[_0xc1f9a2(0xe4)],_0x330102=>_0x330102['id']));for(const _0x8092e4 of _0x1ac554[_0xc1f9a2(0xe4)])_0x1e212d[_0xc1f9a2(0xff)](_0x8092e4[_0xc1f9a2(0xd7)]);for(const _0x3016d9 of _0x1e212d)_0x1728b9[_0xc1f9a2(0xc2)](_0x3016d9)[_0xc1f9a2(0xf4)]({'isFromAdapter':!0x0});for(const _0xbc7d8a of _0x1ac554[_0xc1f9a2(0xe4)]){const _0x5dfac8=_0x1728b9[_0xc1f9a2(0xc2)](_0xbc7d8a[_0xc1f9a2(0xd7)]);_0x5dfac8?_0x5dfac8[_0xc1f9a2(0xdb)]!==_0xbc7d8a[_0xc1f9a2(0xdb)]&&_0x5dfac8[_0xc1f9a2(0xe1)]({'content':_0xbc7d8a[_0xc1f9a2(0xdb)],'isFromAdapter':!0x0}):_0x1728b9[_0xc1f9a2(0xd0)](Object[_0xc1f9a2(0xe5)](S(_0xbc7d8a),{'isFromAdapter':!0x0}));}}}[_0x252b77(0x102)](_0x4b70f0){const _0x4debef=_0x252b77;if(!this[_0x4debef(0xed)][_0x4debef(0xdc)](_0x4b70f0))throw new _0x381e19(_0x4debef(0xf2),null,{'channelId':_0x4b70f0});return this[_0x4debef(0xed)][_0x4debef(0xe7)](_0x4b70f0);}async[_0x252b77(0xb6)](_0xed981a){const _0x28e912=_0x252b77,_0x4b3de0=this[_0x28e912(0xd5)][_0x28e912(0xb1)][_0x28e912(0xe7)](_0x3ef70d),{connection:_0x5b7fd6}=this[_0x28e912(0xd5)][_0x28e912(0xb1)][_0x28e912(0xe7)](_0x31d550),_0x4ced52=new Set();for(const {resolvedBy:_0x136b3a,comments:_0x3bcc95}of _0xed981a){_0x136b3a&&!_0x4b3de0[_0x28e912(0xbb)](_0x136b3a)&&_0x4ced52[_0x28e912(0xf0)](_0x136b3a);for(const {userId:_0x249a01}of _0x3bcc95)_0x4b3de0[_0x28e912(0xbb)](_0x249a01)||_0x4ced52[_0x28e912(0xf0)](_0x249a01);}if(0x0===_0x4ced52[_0x28e912(0xb0)])return;const _0xf9ec52=await _0x25d22e[_0x28e912(0xd4)](_0x5b7fd6,Array[_0x28e912(0xb9)](_0x4ced52));for(const _0x1cdf58 of _0xf9ec52)_0x4b3de0[_0x28e912(0xbb)](_0x1cdf58['id'])||_0x4b3de0[_0x28e912(0xef)](_0x1cdf58);}}async function F(_0x300992){const _0x38d5a1=_0x252b77;if(_0x38d5a1(0xb4)!==_0x300992[_0x38d5a1(0xa6)])throw _0x300992;}function k(_0x4edb7a){const _0x46961e=_0x252b77;if((_0x261ff3=_0x4edb7a)[_0x46961e(0xc3)][_0x46961e(0x107)](_0x46961e(0xa5))||_0x261ff3[_0x46961e(0xc3)][_0x46961e(0x107)](_0x46961e(0x10b))||_0x261ff3[_0x46961e(0xc3)][_0x46961e(0x107)](_0x46961e(0xd3)))return new Promise(()=>{});var _0x261ff3;throw _0x4edb7a;}function _0x225a(){const _0x29084c=['reconnect','get','commentThreadId','commentThreadRemoved','removeCommentThread','authorId','410704RYUBPT','_services','pluginName','addUser','add','resolve','cloudservicescommentsadapter-service-not-exist','commentThreadAdded','remove','getCommentThreads','commentThreadResolved','isPremiumPlugin','Permissions','requires','commentThreadReopened','10UiHdIH','addToReconnectionStack','unregister','sessionAdd:','delete','mySessionId','adapter','_getService','setPermissions','permissions','keys','resolvedAt','startsWith','collaboration.channelId','_setUpService','cloudservicescommentsadapter-connect-already-connected','cloud-services-internal-error:\x20Not\x20connected.','register','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','code','48vSNpRB','config','_terminateService','commentAdded','reopen','removeComment','1230246DHFZCv','reopenCommentThread','resolvedBy','size','plugins','276353xlQmJo','map','404','updateCommentThread','_fetchMissingUsersForThreads','148RwFccQ','getConnectedSessions','from','isOfficialPlugin','getUser','updateComment','667099jBsZlF','disconnect','deletedAt','init','CommentsRepository','getComment','message','commentUpdated','getCommentThread','3582YMLzfI','set','commentRemoved','off','createdAt','addCommentThread','catch','connect','CloudServicesCommentsAdapter','_connectService','addComment','commentThreadUpdated','attributes','cloud-services-internal-error:\x20Request\x20timeout.','getMany','context','CommentsService','commentId','255dVcSke','284382GwJJWS','destroy','content','has','53550NKSCuo','63OKfOpm','cloudservicescommentsadapter-disconnect-not-exist','listenTo','update','userId','resolveCommentThread','comments','assign'];_0x225a=function(){return _0x29084c;};return _0x225a();}function S(_0x1a8866){const _0x4a6312=_0x252b77;return{'threadId':_0x1a8866[_0x4a6312(0xe8)],'commentId':_0x1a8866[_0x4a6312(0xd7)],'content':_0x1a8866[_0x4a6312(0xdb)],'createdAt':_0x1a8866[_0x4a6312(0xca)],'authorId':_0x1a8866[_0x4a6312(0xe2)],'attributes':_0x1a8866[_0x4a6312(0xd2)]||{}};}
23
+ const _0x208f37=_0x6993;function _0x5a8c(){const _0x3ecf8b=['collaboration.channelId','commentRemoved','getCommentThread','unregister','assign','_setUpService','updateCommentThread','2opzVUH','377804vHOIGD','getMany','commentThreadResolved','CommentsService','606496flfEOv','5185024DUyRNB','CloudServicesCommentsAdapter','reopen','update','getConnectedSessions','getUser','destroy','requires','adapter','startsWith','reopenCommentThread','isPremiumPlugin','commentId','config','attributes','deletedAt','commentThreadReopened','2856sYyVNd','_getService','catch','resolvedAt','get','from','commentUpdated','message','commentAdded','addToReconnectionStack','size','setPermissions','_services','disconnect','404','CommentsRepository','getCommentThreads','592875ESGgik','authorId','content','30pEmDlh','resolveCommentThread','6128630QBiPAK','cloudservicescommentsadapter-service-not-exist','isOfficialPlugin','listenTo','8246jcapAm','commentThreadAdded','reconnect','register','plugins','init','has','_connectService','context','addUser','keys','Permissions','createdAt','addCommentThread','map','_terminateService','set','cloud-services-internal-error:\x20Not\x20connected.','_fetchMissingUsersForThreads','connect','commentThreadUpdated','mySessionId','getComment','commentThreadRemoved','userId','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','pluginName','addComment','removeCommentThread','commentThreadId','1617687rpVLwg','cloudservicescommentsadapter-disconnect-not-exist','resolvedBy','cloudservicescommentsadapter-connect-already-connected','cloud-services-internal-error:\x20Request\x20timeout.','resolve','delete','sessionAdd:','code','remove','comments','permissions','off','updateComment','removeComment','add'];_0x5a8c=function(){return _0x3ecf8b;};return _0x5a8c();}(function(_0x4185ad,_0x66bf7c){const _0x2237c7=_0x6993,_0x4772a4=_0x4185ad();while(!![]){try{const _0x2c07a1=parseInt(_0x2237c7(0x1c9))/0x1*(-parseInt(_0x2237c7(0x1c8))/0x2)+parseInt(_0x2237c7(0x18a))/0x3+parseInt(_0x2237c7(0x1cd))/0x4*(-parseInt(_0x2237c7(0x18d))/0x5)+parseInt(_0x2237c7(0x1df))/0x6*(parseInt(_0x2237c7(0x193))/0x7)+parseInt(_0x2237c7(0x1ce))/0x8+-parseInt(_0x2237c7(0x1b1))/0x9+parseInt(_0x2237c7(0x18f))/0xa;if(_0x2c07a1===_0x66bf7c)break;else _0x4772a4['push'](_0x4772a4['shift']());}catch(_0x1885d8){_0x4772a4['push'](_0x4772a4['shift']());}}}(_0x5a8c,0x86c75));import{Context as _0x54ec97,ContextPlugin as _0x473a90}from'ckeditor5/src/core.js';import{CKEditorError as _0x37b358}from'ckeditor5/src/utils.js';import{Users as _0x449865}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x31831b,User as _0x5f5760}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x40134f}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0xad6dc5}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x473a90{static [_0x208f37(0x1cc)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x31831b)());[_0x208f37(0x185)];static get[_0x208f37(0x1d5)](){const _0x590675=_0x208f37;return[_0x40134f,_0x590675(0x188),_0xad6dc5,_0x449865];}static get[_0x208f37(0x1ad)](){const _0x4e1fdf=_0x208f37;return _0x4e1fdf(0x1cf);}static get[_0x208f37(0x191)](){return!0x0;}static get[_0x208f37(0x1d9)](){return!0x0;}constructor(_0x6d8f66){const _0x33b573=_0x208f37;super(_0x6d8f66),this[_0x33b573(0x185)]=new Map();}async[_0x208f37(0x198)](){const _0x53110b=_0x208f37,_0x20f87d=this[_0x53110b(0x19b)],_0x333a82=_0x20f87d[_0x53110b(0x197)][_0x53110b(0x17d)](_0x53110b(0x188));if(_0x20f87d[_0x53110b(0x197)][_0x53110b(0x17d)](_0x40134f)[_0x53110b(0x182)](this),_0x333a82[_0x53110b(0x1d6)]={'addCommentThread':async({channelId:_0x559980,threadId:_0xabdae6,comments:_0x4d9f84,resolvedAt:_0x58ab69,resolvedBy:_0x497b8a,context:_0x5228c7,attributes:_0x2267f4})=>{const _0x38f21f=_0x53110b,_0x429ac2=await this[_0x38f21f(0x1e0)](_0x559980)[_0x38f21f(0x1a0)]({'commentThreadId':_0xabdae6,'comments':_0x4d9f84[_0x38f21f(0x1a1)](_0x58bcc8=>function(_0x4b1e15,_0x225bd6,_0x531174){const _0x1f8090=_0x38f21f;return{'commentThreadId':_0x531174,'commentId':_0x4b1e15[_0x1f8090(0x1da)],'userId':_0x4b1e15[_0x1f8090(0x18b)],'content':_0x4b1e15[_0x1f8090(0x18c)],'documentId':_0x225bd6,'createdAt':_0x4b1e15[_0x1f8090(0x19f)],'attributes':_0x4b1e15[_0x1f8090(0x1dc)]||{}};}(_0x58bcc8,_0x559980,_0xabdae6)),'resolvedAt':_0x58ab69,'resolvedBy':_0x497b8a,'context':_0x5228c7,'attributes':_0x2267f4})[_0x38f21f(0x1e1)](A);return{'threadId':_0x429ac2[_0x38f21f(0x1b0)],'comments':_0x429ac2[_0x38f21f(0x1bb)]};},'getCommentThread':async({channelId:_0x5931ae,threadId:_0x9847f4})=>{const _0x195427=_0x53110b,_0x5aaa98=await this[_0x195427(0x1e0)](_0x5931ae)[_0x195427(0x1c3)](_0x9847f4)[_0x195427(0x1e1)](f)[_0x195427(0x1e1)](A);return _0x5aaa98?_0x5aaa98[_0x195427(0x1dd)]?null:(await this[_0x195427(0x1a5)]([_0x5aaa98]),{'threadId':_0x5aaa98[_0x195427(0x1b0)],'comments':_0x5aaa98[_0x195427(0x1bb)][_0x195427(0x1a1)](p),'context':_0x5aaa98[_0x195427(0x19b)],'resolvedAt':_0x5aaa98[_0x195427(0x1e2)],'resolvedBy':_0x5aaa98[_0x195427(0x1b3)],'attributes':_0x5aaa98[_0x195427(0x1dc)]||{}}):null;},'updateCommentThread':async({channelId:_0xa8c3e1,threadId:_0x401125,context:_0x5343de,unlinkedAt:_0xf0db88,attributes:_0x5b2f42})=>this[_0x53110b(0x1e0)](_0xa8c3e1)[_0x53110b(0x1c7)]({'commentThreadId':_0x401125,'context':_0x5343de,'attributes':_0x5b2f42,'unlinkedAt':_0xf0db88})[_0x53110b(0x1e1)](f)[_0x53110b(0x1e1)](A),'resolveCommentThread':async({channelId:_0x18ce2e,threadId:_0x322797})=>{const _0x4a3003=_0x53110b,_0x53df87=await this[_0x4a3003(0x1e0)](_0x18ce2e)[_0x4a3003(0x18e)](_0x322797)[_0x4a3003(0x1e1)](f)[_0x4a3003(0x1e1)](A);return{'threadId':_0x53df87[_0x4a3003(0x1b0)],'resolvedAt':_0x53df87[_0x4a3003(0x1e2)],'resolvedBy':_0x53df87[_0x4a3003(0x1b3)]};},'reopenCommentThread':async({channelId:_0x234fa4,threadId:_0x3e79ac})=>this[_0x53110b(0x1e0)](_0x234fa4)[_0x53110b(0x1d8)](_0x3e79ac)[_0x53110b(0x1e1)](f)[_0x53110b(0x1e1)](A),'removeCommentThread':({channelId:_0x3206c8,threadId:_0x1c2322})=>this[_0x53110b(0x1e0)](_0x3206c8)[_0x53110b(0x1af)](_0x1c2322)[_0x53110b(0x1e1)](f)[_0x53110b(0x1e1)](A),'addComment':({channelId:_0x52ec6b,threadId:_0x484db5,commentId:_0x30130a,content:_0x5332f7,attributes:_0x383e34})=>this[_0x53110b(0x1e0)](_0x52ec6b)[_0x53110b(0x1ae)](_0x484db5,_0x30130a,_0x5332f7,_0x383e34)[_0x53110b(0x1e1)](A),'updateComment':({channelId:_0x597294,threadId:_0x26ef80,commentId:_0x2f4878,content:_0x1785c0,attributes:_0x14cf48})=>this[_0x53110b(0x1e0)](_0x597294)[_0x53110b(0x1be)](_0x26ef80,_0x2f4878,_0x1785c0,_0x14cf48)[_0x53110b(0x1e1)](f)[_0x53110b(0x1e1)](A),'removeComment':({channelId:_0x39aefb,threadId:_0x3bf720,commentId:_0x59ae4a})=>this[_0x53110b(0x1e0)](_0x39aefb)[_0x53110b(0x1bf)](_0x3bf720,_0x59ae4a)[_0x53110b(0x1e1)](f)[_0x53110b(0x1e1)](A)},_0x20f87d instanceof _0x54ec97){const _0x3dbcdc=_0x20f87d[_0x53110b(0x1db)][_0x53110b(0x17d)](_0x53110b(0x1c1)),_0x3cb7e5=_0x20f87d[_0x53110b(0x197)][_0x53110b(0x17d)](_0xad6dc5);await this[_0x53110b(0x1c6)](_0x3dbcdc);const _0x326c73=await this[_0x53110b(0x185)][_0x53110b(0x17d)](_0x3dbcdc)[_0x53110b(0x1d2)]();this[_0x53110b(0x192)](_0x3cb7e5,_0x53110b(0x1b8)+_0x3dbcdc,(_0x528d3f,{session:_0x129880})=>{const _0x2e54c6=_0x53110b;_0x129880['id']===_0x3cb7e5[_0x2e54c6(0x1a8)]&&(_0x528d3f[_0x2e54c6(0x1bd)](),this[_0x2e54c6(0x19b)][_0x2e54c6(0x197)][_0x2e54c6(0x17d)](_0x2e54c6(0x19e))[_0x2e54c6(0x184)](_0x129880[_0x2e54c6(0x1bc)],_0x3dbcdc));}),_0x3cb7e5[_0x53110b(0x196)](_0x3dbcdc,_0x326c73);}}async[_0x208f37(0x1c6)](_0x5b9554){const _0x371f9e=_0x208f37;if(this[_0x371f9e(0x185)][_0x371f9e(0x199)](_0x5b9554))throw new _0x37b358(_0x371f9e(0x1b4),null,{'channelId':_0x5b9554});const _0x2c6609=this[_0x371f9e(0x19b)][_0x371f9e(0x197)][_0x371f9e(0x17d)](_0x371f9e(0x188)),_0x1f0d26=new CloudServicesCommentsAdapter[(_0x371f9e(0x1cc))](_0x5b9554);this[_0x371f9e(0x185)][_0x371f9e(0x1a3)](_0x5b9554,_0x1f0d26),this[_0x371f9e(0x192)](_0x1f0d26,_0x371f9e(0x194),(_0x5c5ae9,_0x3ad99c)=>{const _0xc98622=_0x371f9e,{commentThreadId:_0x33fcf6,documentId:_0x4a6771,context:_0x4ecd9a,attributes:_0x4c53ac,resolvedAt:_0x417f90,resolvedBy:_0x52827a,comments:_0x326173}=_0x3ad99c;_0x2c6609[_0xc98622(0x1c3)](_0x33fcf6)||_0x2c6609[_0xc98622(0x1a0)]({'threadId':_0x33fcf6,'channelId':_0x4a6771,'comments':_0x326173?_0x326173[_0xc98622(0x1a1)](p):[],'context':_0x4ecd9a,'attributes':_0x4c53ac,'resolvedAt':_0x417f90,'resolvedBy':_0x52827a,'isFromAdapter':!0x0});}),this[_0x371f9e(0x192)](_0x1f0d26,_0x371f9e(0x1a7),(_0x515da8,{commentThreadId:_0x343314,documentId:_0x3b4524,context:_0x26b01a,unlinkedAt:_0x13a23b,attributes:_0x1a8101})=>{const _0x2b164d=_0x371f9e;_0x2c6609[_0x2b164d(0x1c3)](_0x343314)&&_0x2c6609[_0x2b164d(0x1c7)]({'threadId':_0x343314,'channelId':_0x3b4524,'context':_0x26b01a,'unlinkedAt':_0x13a23b,'attributes':_0x1a8101,'isFromAdapter':!0x0});}),this[_0x371f9e(0x192)](_0x1f0d26,_0x371f9e(0x1cb),(_0x40c147,{commentThreadId:_0x398bca,resolvedBy:_0x3d6bbd,resolvedAt:_0x50263a})=>{const _0x412b73=_0x371f9e,_0x51c919=_0x2c6609[_0x412b73(0x1c3)](_0x398bca);_0x51c919&&_0x51c919[_0x412b73(0x1b6)]({'resolvedBy':_0x3d6bbd,'resolvedAt':_0x50263a,'isFromAdapter':!0x0});}),this[_0x371f9e(0x192)](_0x1f0d26,_0x371f9e(0x1de),(_0x5ade4b,{commentThreadId:_0xba8079})=>{const _0x5f373a=_0x371f9e,_0x4fe6d0=_0x2c6609[_0x5f373a(0x1c3)](_0xba8079);_0x4fe6d0&&_0x4fe6d0[_0x5f373a(0x1d0)]({'isFromAdapter':!0x0});}),this[_0x371f9e(0x192)](_0x1f0d26,_0x371f9e(0x1aa),(_0x56f50e,{commentThreadId:_0x5556c0})=>{const _0x4265b4=_0x371f9e,_0x5ddcb4=_0x2c6609[_0x4265b4(0x1c3)](_0x5556c0);_0x5ddcb4&&_0x5ddcb4[_0x4265b4(0x1ba)]({'isFromAdapter':!0x0});}),this[_0x371f9e(0x192)](_0x1f0d26,_0x371f9e(0x181),(_0x5ceba0,_0x1ff92c)=>{const _0x106a11=_0x371f9e,_0x416ebb=_0x1ff92c[_0x106a11(0x1b0)],_0x2d8fde=_0x2c6609[_0x106a11(0x1c3)](_0x416ebb);_0x2d8fde&&_0x2d8fde[_0x106a11(0x1ae)]({...p(_0x1ff92c),'isFromAdapter':!0x0});}),this[_0x371f9e(0x192)](_0x1f0d26,_0x371f9e(0x17f),(_0x2f87fb,{commentThreadId:_0x50922b,commentId:_0x49de04,content:_0x1d2beb,attributes:_0x23b7fa})=>{const _0x442cfd=_0x371f9e,_0x3e3163=_0x2c6609[_0x442cfd(0x1c3)](_0x50922b);if(_0x3e3163){const _0x5bf2e4=_0x3e3163[_0x442cfd(0x1a9)](_0x49de04);_0x5bf2e4&&_0x5bf2e4[_0x442cfd(0x1d1)]({'content':_0x1d2beb,'attributes':_0x23b7fa,'isFromAdapter':!0x0});}}),this[_0x371f9e(0x192)](_0x1f0d26,_0x371f9e(0x1c2),(_0x176450,{commentThreadId:_0x2fa468,commentId:_0x4a8e19})=>{const _0x10ecaa=_0x371f9e,_0x42c21e=_0x2c6609[_0x10ecaa(0x1c3)](_0x2fa468);if(_0x42c21e){const _0x2871e5=_0x42c21e[_0x10ecaa(0x1a9)](_0x4a8e19);_0x2871e5&&_0x2871e5[_0x10ecaa(0x1ba)]({'isFromAdapter':!0x0});}}),await this[_0x371f9e(0x19a)](_0x5b9554);}[_0x208f37(0x1d4)](){const _0x32e0a0=_0x208f37;if(this[_0x32e0a0(0x19b)]instanceof _0x54ec97){const _0x53cb23=this[_0x32e0a0(0x19b)][_0x32e0a0(0x1db)][_0x32e0a0(0x17d)](_0x32e0a0(0x1c1));this[_0x32e0a0(0x1a2)](_0x53cb23);}}[_0x208f37(0x1a2)](_0x4e4921){const _0x44f386=_0x208f37;if(!this[_0x44f386(0x185)][_0x44f386(0x199)](_0x4e4921))throw new _0x37b358(_0x44f386(0x1b2),null,{'channelId':_0x4e4921});this[_0x44f386(0x1e0)](_0x4e4921)[_0x44f386(0x186)](),this[_0x44f386(0x185)][_0x44f386(0x1b7)](_0x4e4921);}async[_0x208f37(0x195)](){const _0x29c03d=_0x208f37;for(const _0x2e0ed9 of this[_0x29c03d(0x185)][_0x29c03d(0x19d)]())await this[_0x29c03d(0x19a)](_0x2e0ed9);if(this[_0x29c03d(0x19b)]instanceof _0x54ec97){const _0x37ef88=this[_0x29c03d(0x19b)][_0x29c03d(0x1db)][_0x29c03d(0x17d)](_0x29c03d(0x1c1)),_0x2917ed=this[_0x29c03d(0x19b)][_0x29c03d(0x197)][_0x29c03d(0x17d)](_0xad6dc5);_0x2917ed[_0x29c03d(0x1c4)](_0x37ef88);const _0x3ad8d6=await this[_0x29c03d(0x185)][_0x29c03d(0x17d)](_0x37ef88)[_0x29c03d(0x1d2)]();_0x2917ed[_0x29c03d(0x196)](_0x37ef88,_0x3ad8d6);}}async[_0x208f37(0x19a)](_0x1372fa){const _0x545ddc=_0x208f37,{connection:_0x1f19d1}=this[_0x545ddc(0x19b)][_0x545ddc(0x197)][_0x545ddc(0x17d)](_0x40134f),_0xae38ce=this[_0x545ddc(0x19b)][_0x545ddc(0x197)][_0x545ddc(0x17d)](_0x545ddc(0x188)),_0x6d488e=this[_0x545ddc(0x185)][_0x545ddc(0x17d)](_0x1372fa),_0x2d9585=await _0x6d488e[_0x545ddc(0x1a6)](_0x1f19d1);await this[_0x545ddc(0x1a5)](_0x2d9585);const _0x43a015=new Set(Array[_0x545ddc(0x17e)](_0xae38ce[_0x545ddc(0x189)]({'channelId':_0x1372fa}),_0x494fb6=>_0x494fb6['id']));for(const _0x535ce1 of _0x2d9585)_0x535ce1[_0x545ddc(0x1dd)]||_0x43a015[_0x545ddc(0x1b7)](_0x535ce1[_0x545ddc(0x1b0)]);for(const _0x43fa5a of _0x43a015)_0xae38ce[_0x545ddc(0x1c3)](_0x43fa5a)[_0x545ddc(0x1ba)]({'isFromAdapter':!0x0});for(const _0x3a13ae of _0x2d9585){let _0x27a427=_0xae38ce[_0x545ddc(0x1c3)](_0x3a13ae[_0x545ddc(0x1b0)]);const {commentThreadId:_0x4a5457,context:_0x2c1fc5,attributes:_0x35f85a,resolvedBy:_0x5dddae,resolvedAt:_0x381ecb,unlinkedAt:_0x53fbbf,deletedAt:_0x526a2b}=_0x3a13ae;if(_0x526a2b)continue;_0x27a427||(_0x27a427=_0xae38ce[_0x545ddc(0x1a0)]({'channelId':_0x1372fa,'threadId':_0x4a5457,'context':_0x2c1fc5,'attributes':_0x35f85a||{},'resolvedBy':_0x5dddae,'resolvedAt':_0x381ecb,'unlinkedAt':_0x53fbbf,'isFromAdapter':!0x0}));const _0x4a4595=new Set(Array[_0x545ddc(0x17e)](_0x27a427[_0x545ddc(0x1bb)],_0x55f6c4=>_0x55f6c4['id']));for(const _0x10bce2 of _0x3a13ae[_0x545ddc(0x1bb)])_0x4a4595[_0x545ddc(0x1b7)](_0x10bce2[_0x545ddc(0x1da)]);for(const _0x5149d9 of _0x4a4595)_0x27a427[_0x545ddc(0x1a9)](_0x5149d9)[_0x545ddc(0x1ba)]({'isFromAdapter':!0x0});for(const _0x15098d of _0x3a13ae[_0x545ddc(0x1bb)]){const _0x2ba851=_0x27a427[_0x545ddc(0x1a9)](_0x15098d[_0x545ddc(0x1da)]);_0x2ba851?_0x2ba851[_0x545ddc(0x18c)]!==_0x15098d[_0x545ddc(0x18c)]&&_0x2ba851[_0x545ddc(0x1d1)]({'content':_0x15098d[_0x545ddc(0x18c)],'isFromAdapter':!0x0}):_0x27a427[_0x545ddc(0x1ae)](Object[_0x545ddc(0x1c5)](p(_0x15098d),{'isFromAdapter':!0x0}));}}}[_0x208f37(0x1e0)](_0x5e2912){const _0x3a6421=_0x208f37;if(!this[_0x3a6421(0x185)][_0x3a6421(0x199)](_0x5e2912))throw new _0x37b358(_0x3a6421(0x190),null,{'channelId':_0x5e2912});return this[_0x3a6421(0x185)][_0x3a6421(0x17d)](_0x5e2912);}async[_0x208f37(0x1a5)](_0x23c413){const _0x448868=_0x208f37,_0x2ab76a=this[_0x448868(0x19b)][_0x448868(0x197)][_0x448868(0x17d)](_0x449865),{connection:_0x55aa57}=this[_0x448868(0x19b)][_0x448868(0x197)][_0x448868(0x17d)](_0x40134f),_0x2fd259=new Set();for(const {resolvedBy:_0x252724,comments:_0x2116e0}of _0x23c413){_0x252724&&!_0x2ab76a[_0x448868(0x1d3)](_0x252724)&&_0x2fd259[_0x448868(0x1c0)](_0x252724);for(const {userId:_0x3543ff}of _0x2116e0)_0x2ab76a[_0x448868(0x1d3)](_0x3543ff)||_0x2fd259[_0x448868(0x1c0)](_0x3543ff);}if(0x0===_0x2fd259[_0x448868(0x183)])return;const _0x347590=await _0x5f5760[_0x448868(0x1ca)](_0x55aa57,Array[_0x448868(0x17e)](_0x2fd259));for(const _0x5afb87 of _0x347590)_0x2ab76a[_0x448868(0x1d3)](_0x5afb87['id'])||_0x2ab76a[_0x448868(0x19c)](_0x5afb87);}}async function f(_0x3e3685){const _0x20a94d=_0x208f37;if(_0x20a94d(0x187)!==_0x3e3685[_0x20a94d(0x1b9)])throw _0x3e3685;}function _0x6993(_0xa80dc7,_0x310f49){const _0x5a8cb0=_0x5a8c();return _0x6993=function(_0x6993cf,_0x23232d){_0x6993cf=_0x6993cf-0x17d;let _0x350b0f=_0x5a8cb0[_0x6993cf];return _0x350b0f;},_0x6993(_0xa80dc7,_0x310f49);}function A(_0x5dc2b2){const _0x20eeb8=_0x208f37;if((_0x397f50=_0x5dc2b2)[_0x20eeb8(0x180)][_0x20eeb8(0x1d7)](_0x20eeb8(0x1ac))||_0x397f50[_0x20eeb8(0x180)][_0x20eeb8(0x1d7)](_0x20eeb8(0x1a4))||_0x397f50[_0x20eeb8(0x180)][_0x20eeb8(0x1d7)](_0x20eeb8(0x1b5)))return new Promise(()=>{});var _0x397f50;throw _0x5dc2b2;}function p(_0x53a338){const _0x2e3eef=_0x208f37;return{'threadId':_0x53a338[_0x2e3eef(0x1b0)],'commentId':_0x53a338[_0x2e3eef(0x1da)],'content':_0x53a338[_0x2e3eef(0x18c)],'createdAt':_0x53a338[_0x2e3eef(0x19f)],'authorId':_0x53a338[_0x2e3eef(0x1ab)],'attributes':_0x53a338[_0x2e3eef(0x1dc)]||{}};}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35432b=_0x40df;(function(_0x5e470b,_0x19e542){const _0x32b415=_0x40df,_0x27d212=_0x5e470b();while(!![]){try{const _0x15f601=-parseInt(_0x32b415(0x19a))/0x1*(parseInt(_0x32b415(0x111))/0x2)+-parseInt(_0x32b415(0x194))/0x3*(parseInt(_0x32b415(0x10a))/0x4)+parseInt(_0x32b415(0x1bd))/0x5+parseInt(_0x32b415(0x11a))/0x6+parseInt(_0x32b415(0x197))/0x7*(-parseInt(_0x32b415(0x181))/0x8)+parseInt(_0x32b415(0x17e))/0x9*(-parseInt(_0x32b415(0xc8))/0xa)+parseInt(_0x32b415(0xc9))/0xb;if(_0x15f601===_0x19e542)break;else _0x27d212['push'](_0x27d212['shift']());}catch(_0x8f61d2){_0x27d212['push'](_0x27d212['shift']());}}}(_0x35b2,0xa57fc));import{Plugin as _0x5a7a56,PendingActions as _0x2e9a93}from'ckeditor5/src/core.js';import{CKEditorError as _0x8d2547,version as _0x5d150f,uid as _0x2ffcae}from'ckeditor5/src/utils.js';import{Notification as _0x278c50}from'ckeditor5/src/ui.js';function _0x35b2(){const _0x1c6a38=['loadRoot','newRange','move','change:_isEditingAllowed','lastSyncVersion','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_isConnected','entries','createUserMarkerOperations','roots','string','isPremiumPlugin','suppressErrorInCollaboration','_knownRootNames','baseVersion','insert','startsWith','Notification','plugins','multi-root-editor-root-attributes-no-root','_loadRoot','_isLoaded','config','editing','_addKnownRoot','serverHistory','state','_initThrowingOnDataSet','_decompressOperations','_handleInitialConnectionData','_channelId','error','_operationIdentifier','Permissions','enqueueChange','path','from','sessionCreatedAt','wereChangesApplied','targetPosition','initData','listenTo','currentDocumentSession','editor','slice','parse','bind','version','lastOperationId','permissions','remove','_refreshUserSelectionMarkers','sessionAdd:','_document','disableReadOnlyMode','_compressOperations','_applyOperationsSet','clone','addRoot','409','has','CommentsOnly','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.','createRoot','createdAt','filter','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','realtimecollaborationclient-init-service-internal-error','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','push','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','metadata','batch','PENDING_ACTION_SENDING_DATA','_shouldSendSelectionUpdate','selection','showWarning','decompress','addRootAttribute','_saveOperationInBuffer','_handleExternalOperations','_getOperationsFromInitData','addToReconnectionStack','disconnect','realtimecollaborationclient-error','realtimecollaborationclient-init-document-already-initialized','type','return','_pendingAction','channelSessions','disconnected','round','getOperationAuthor','_currentBufferDelay','_connectService','fire','_disconnectService','_sendBufferedOperations','rootsAttributes','477xaYXhl','_knownOperations','document','96IUwAwm','createRange','collaboration-missing-channelid','_hasSelectionChanged','_sendBufferedOperationsDelayId','addUser','affectedSelectable','unregister','_updateServerHistory','data','_hasSynchronizationProblem','start','_waitUntilSynced','createPositionFromPath','realtimecollaborationclient-init-non-existent-root','404','sendOperations','_connectAfterSessionHasBeenFlushed','register','153kzNiCC','removeFromReconnectionStack','collaboration','698278ZtregQ','toJSON','_isDisconnection','1osJnUY','rootName','getRoot','code','_offset','CollaborativeEditingService','forEach','requires','map','_bufferedOperations','_initSessionsHandling','_authorId','getIdOfTheLastOperation','connection','setPermissions','_sendBufferedOperationsDelayed','change:range','keys','_getAffectedRoot','stopListening','_lastSyncedOperationId','length','sessionId','_operationToId','_disconnectionOperations','markers','change:_isPendingUpdate','high','_compressor','isOfficialPlugin','cloud-services-internal-error:\x20Request\x20timeout.','operationsReceived','getOperations','rtc-destroyed','includes','26160BKZxtY','_setUpDataInit','finally','realtimecollaborationclient-init-connection-failed','getMany','InsertOperation','apply','fromJSON','_lastServerVersion','_setPendingAction','connect','__className','RealTimeCollaborationClient','_baseBufferDelay','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.','_bufferRootLoad','ready','realtimecollaborationclient-handleserverresponse','156630MvNiTc','30585841IlnRdh','get','realtimecollaborationclient','rtc-offline','_handleReconnectionError','_isEditingAllowed','collaboration.channelId','root','cloudServices.bundleVersion','reconnection:\x20flushed\x20session','set','stop','_handleReceivedOperations','locale','setIdForTheLastOperation','getUser','add','affectsData','_shouldSendUpdate','_clearPendingAction','_handleServerResponse','cs:removeUser','realtimecollaborationclient-init-session-connection-error','Synchronization\x20issue','_isAttached','history','real-time-collaboration','define','destroy','marker','addOperation','_isInit','getDocumentDetails','_handleReconnectionResponse','_ignoredOperations','_service','wasUndone','document:write','createPositionAt','then','offset','model','reconnect','size','lastOperationAcceptedAt','message','applyOperation','differ','off','change:hasDomSelection','_handleSendingSelectionMarkers','connected','reset','end','directChange','view','_crash','isReadOnly','getConnectedSessions','mySessionId','pluginName','compress','init','lastDocumentSession','_fetchMissingUsers','16096RdaXvV','attributes','_isPendingUpdate','$root','isDocumentOperation','enableReadOnlyMode','position','285220MrQzhU','isEnabled','cloud-services-internal-error:\x20Not\x20connected.','realtimecollaborationclient-sendbufferedoperations','userId','realtimecollaborationclient-init-service-incorrect-server-operation','cloudDocumentVersion','isUndoneOperation','catch','1602852FJQUcl'];_0x35b2=function(){return _0x1c6a38;};return _0x35b2();}import{transformOperationSets as _0x25eca8,NoOperation as _0x261110,InsertOperation as _0x1c5d40,MarkerOperation as _0x195287,RootAttributeOperation as _0x46e98a,OperationFactory as _0x3dbd72,History as _0x268ccc}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x3e8eea}from'./websocketgateway.js';import{Sessions as _0x49072b}from'./sessions.js';import{UserMarkers as _0x58ab1f}from'./usermarkers.js';import{getTranslation as _0x4c7266}from'../common-translations.js';import{Compressor as _0x5a158e}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x2b9cb9}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x40df(_0xc44897,_0x28ac44){const _0x35b230=_0x35b2();return _0x40df=function(_0x40df0d,_0x464dc5){_0x40df0d=_0x40df0d-0xc1;let _0x424d29=_0x35b230[_0x40df0d];return _0x424d29;},_0x40df(_0xc44897,_0x28ac44);}import{User as _0x24f185,CollaborativeEditingService as _0x7fb618}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x5a7a56{static [_0x35432b(0x19f)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x7fb618)());[_0x35432b(0x19e)];[_0x35432b(0x1b0)];[_0x35432b(0x134)];[_0x35432b(0x139)];[_0x35432b(0xec)];[_0x35432b(0x150)];[_0x35432b(0x1b6)];[_0x35432b(0x1a3)];[_0x35432b(0x17f)];[_0x35432b(0x128)];[_0x35432b(0x173)];[_0x35432b(0x184)];[_0x35432b(0x185)];[_0x35432b(0xc3)];[_0x35432b(0x178)];[_0x35432b(0x1ae)];[_0x35432b(0x1b2)];[_0x35432b(0x13b)];static get[_0x35432b(0x1a1)](){return[_0x3e8eea,_0x49072b,_0x58ab1f,_0x2e9a93,_0x2b9cb9,_0x278c50];}static get[_0x35432b(0x105)](){const _0x3933fe=_0x35432b;return _0x3933fe(0xc2);}static get[_0x35432b(0x1b7)](){return!0x0;}static get[_0x35432b(0x126)](){return!0x0;}get[_0x35432b(0x117)](){const _0x169a4b=_0x35432b;return this[_0x169a4b(0x1c5)]+this[_0x169a4b(0x19e)];}get[_0x35432b(0x1c5)](){const _0x1a2c51=_0x35432b;return this[_0x1a2c51(0x134)][_0x1a2c51(0x14a)]-this[_0x1a2c51(0x19e)];}get[_0x35432b(0x11f)](){const _0x4e1f1c=_0x35432b,_0x4bd418=this[_0x4e1f1c(0x134)][_0x4e1f1c(0x1ba)]();for(let _0x4ebbbb=_0x4bd418[_0x4e1f1c(0x1af)]-0x1;_0x4ebbbb>=0x0;_0x4ebbbb--){const _0x349157=_0x4bd418[_0x4ebbbb];if(!this[_0x4e1f1c(0x1b2)][_0x4e1f1c(0x157)](_0x349157))return _0x349157[_0x4e1f1c(0x129)]+0x1-this[_0x4e1f1c(0x19e)];}return 0x0;}constructor(_0x2aaafe){const _0x3c6317=_0x35432b;if(super(_0x2aaafe),this[_0x3c6317(0x19e)]=0x0,this[_0x3c6317(0x1b0)]=null,this[_0x3c6317(0x134)]=new _0x268ccc(),this[_0x3c6317(0x146)][_0x3c6317(0x131)][_0x3c6317(0xe4)](_0x3c6317(0x196),{}),this[_0x3c6317(0x139)]=this[_0x3c6317(0x146)][_0x3c6317(0x131)][_0x3c6317(0xca)](_0x3c6317(0xcf)),!this[_0x3c6317(0x139)])throw new _0x8d2547(_0x3c6317(0x183),this);const _0x20f29c=_0x2aaafe[_0x3c6317(0x131)][_0x3c6317(0xca)](_0x3c6317(0xd1))||_0x5d150f;this[_0x3c6317(0xec)]=new RealTimeCollaborationClient[(_0x3c6317(0x19f))](_0x20f29c,this[_0x3c6317(0x139)]),this[_0x3c6317(0x150)]=this[_0x3c6317(0x146)][_0x3c6317(0xf2)][_0x3c6317(0x180)],this[_0x3c6317(0x1b6)]=new _0x5a158e(),this[_0x3c6317(0x1a3)]=[],this[_0x3c6317(0x17f)]=new WeakSet(),this[_0x3c6317(0x128)]=new Set(),this[_0x3c6317(0xd3)](_0x3c6317(0x10c),!0x1),this[_0x3c6317(0xd3)](_0x3c6317(0x18b),!0x1),this[_0x3c6317(0x173)]=null,this[_0x3c6317(0x184)]=!0x1,this[_0x3c6317(0x185)]=null,this[_0x3c6317(0xc3)]=0x12c,this[_0x3c6317(0x178)]=this[_0x3c6317(0xc3)],this[_0x3c6317(0x1ae)]=null,this[_0x3c6317(0x1b2)]=new WeakSet(),this[_0x3c6317(0x13b)]=new J(this[_0x3c6317(0x1b2)]);}[_0x35432b(0x107)](){const _0x1abb3c=_0x35432b,_0x26d1b7=this[_0x1abb3c(0x146)],_0x358952=_0x26d1b7[_0x1abb3c(0x12d)][_0x1abb3c(0xca)](_0x2b9cb9),_0x1c3710=_0x26d1b7[_0x1abb3c(0x12d)][_0x1abb3c(0xca)](_0x3e8eea);this[_0x1abb3c(0x144)](_0x358952,_0x1abb3c(0x177),(_0x1ccb44,_0x6aacd2)=>{const _0x411e1f=_0x1abb3c,_0x6188f9=_0x6aacd2[0x0];_0x6188f9[_0x411e1f(0x1a5)]&&(_0x1ccb44[_0x411e1f(0x172)]=_0x358952[_0x411e1f(0xd8)](_0x6188f9[_0x411e1f(0x1a5)]),_0x1ccb44[_0x411e1f(0xd4)]()),null===_0x6188f9[_0x411e1f(0x1a5)]&&(_0x1ccb44[_0x411e1f(0x172)]=null,_0x1ccb44[_0x411e1f(0xd4)]());},{'priority':_0x1abb3c(0x1b5)}),this[_0x1abb3c(0x144)](_0x26d1b7[_0x1abb3c(0xf2)][_0x1abb3c(0x180)][_0x1abb3c(0x166)],_0x1abb3c(0x1aa),(_0x231686,_0x3d45f5)=>{const _0xddf7e8=_0x1abb3c;_0x3d45f5[_0xddf7e8(0xff)]&&this[_0xddf7e8(0x14e)]();}),this[_0x1abb3c(0x144)](_0x26d1b7[_0x1abb3c(0x132)][_0x1abb3c(0x100)],_0x1abb3c(0xfa),()=>{const _0x577db9=_0x1abb3c;this[_0x577db9(0x14e)]();}),this[_0x1abb3c(0x136)](),_0x26d1b7[_0x1abb3c(0xf2)]['on'](_0x1abb3c(0xf7),(_0x531e08,_0x2e3d6a)=>{const _0x26eff8=_0x1abb3c,_0x2718fa=_0x2e3d6a[0x0];_0x2718fa[_0x26eff8(0x10e)]&&(this[_0x26eff8(0x16a)](_0x2718fa),this[_0x26eff8(0xdb)]()&&this[_0x26eff8(0x1a9)]());}),this[_0x1abb3c(0x1be)](),this[_0x1abb3c(0x149)](_0x1abb3c(0xce))['to'](_0x1c3710,_0x1abb3c(0x135),this,_0x1abb3c(0x18b),(_0xa230b2,_0x596718)=>_0x1abb3c(0xfc)===_0xa230b2&&!_0x596718),this['on'](_0x1abb3c(0x11e),()=>{const _0x259d9a=_0x1abb3c;this[_0x259d9a(0xce)]?_0x26d1b7[_0x259d9a(0x151)](_0x259d9a(0xcc)):_0x26d1b7[_0x259d9a(0x10f)](_0x259d9a(0xcc));}),this[_0x1abb3c(0xce)]?_0x26d1b7[_0x1abb3c(0x151)](_0x1abb3c(0xcc)):_0x26d1b7[_0x1abb3c(0x10f)](_0x1abb3c(0xcc)),this[_0x1abb3c(0xd3)](_0x1abb3c(0x121),!0x1);}async[_0x35432b(0xf3)](){const _0x300247=_0x35432b,_0xedc9a8=this[_0x300247(0x146)][_0x300247(0x12d)][_0x300247(0xca)](_0x49072b),_0x43fc6e=this[_0x300247(0x146)][_0x300247(0x12d)][_0x300247(0xca)](_0x3e8eea);try{this[_0x300247(0x10c)]=!0x0,_0xedc9a8[_0x300247(0x188)](this[_0x300247(0x139)]);const _0x3a9519=await this[_0x300247(0xec)][_0x300247(0xf3)](_0x43fc6e[_0x300247(0x1a7)],this[_0x300247(0x11f)]);await this[_0x300247(0xea)](_0x3a9519)&&(this[_0x300247(0x10c)]=!0x1,this[_0x300247(0xdc)]());const _0x3c9e7e=await this[_0x300247(0xec)][_0x300247(0x103)]();_0xedc9a8[_0x300247(0x193)](this[_0x300247(0x139)],_0x3c9e7e),this[_0x300247(0xfb)](),this[_0x300247(0x121)]=!0x0;}catch(_0x36101b){if(function(_0x19cf16){const _0x5baa17=_0x300247;return _0x5baa17(0x190)===_0x19cf16[_0x5baa17(0x19d)];}(_0x36101b)&&this[_0x300247(0x1b0)])await this[_0x300247(0x192)]();else{if(function(_0x4aeaf1){const _0xcb6a6d=_0x300247;return _0xcb6a6d(0x156)===_0x4aeaf1[_0xcb6a6d(0x19d)];}(_0x36101b)){const _0x283549=_0x4c7266(this[_0x300247(0x146)][_0x300247(0xd6)],_0x300247(0x15f));this[_0x300247(0xcd)](_0x283549);}else{if(!(_0x36101b instanceof $))throw _0x36101b;this[_0x300247(0xcd)]();}}}}[_0x35432b(0xe5)](){const _0x5a604f=_0x35432b,_0x2f069b=this[_0x5a604f(0x146)][_0x5a604f(0x12d)][_0x5a604f(0xca)](_0x3e8eea),_0x58ab97=this[_0x5a604f(0x146)][_0x5a604f(0x12d)][_0x5a604f(0xca)](_0x49072b);this[_0x5a604f(0x146)][_0x5a604f(0x10f)](_0x5a604f(0x1bb)),_0x58ab97[_0x5a604f(0x174)][_0x5a604f(0x157)](this[_0x5a604f(0x139)])&&_0x58ab97[_0x5a604f(0x188)](this[_0x5a604f(0x139)]),_0x2f069b[_0x5a604f(0x195)](this),this[_0x5a604f(0x17b)](),super[_0x5a604f(0xe5)]();}async[_0x35432b(0xea)](_0x41a69b){const _0x4b4400=_0x35432b;if(this[_0x4b4400(0x1b0)]!==_0x41a69b[_0x4b4400(0x1b0)]&&this[_0x4b4400(0x1ae)]!==_0x41a69b[_0x4b4400(0x14b)])throw new $();return this[_0x4b4400(0x1b0)]=_0x41a69b[_0x4b4400(0x1b0)],this[_0x4b4400(0xdd)]([],{..._0x41a69b,'wereChangesApplied':!0x1,'data':_0x41a69b[_0x4b4400(0x18a)]},_0x4b4400(0xf3));}async[_0x35432b(0x179)](_0x241c65,_0x2e1d96=!0x1){const _0x526f7f=_0x35432b,{connection:_0x3c8811}=this[_0x526f7f(0x146)][_0x526f7f(0x12d)][_0x526f7f(0xca)](_0x3e8eea);RealTimeCollaborationClient[_0x526f7f(0x19f)][_0x526f7f(0x103)](_0x3c8811,this[_0x526f7f(0x139)])[_0x526f7f(0xf0)](_0x25aea1=>this[_0x526f7f(0x1a4)](_0x25aea1))[_0x526f7f(0x119)](_0x35c8ba=>{const _0x2e13ae=_0x526f7f;this[_0x2e13ae(0x101)](_0x2e13ae(0xdf),_0x35c8ba);}),this[_0x526f7f(0x144)](this[_0x526f7f(0xec)],_0x526f7f(0x1b9),this[_0x526f7f(0xd5)][_0x526f7f(0x149)](this)),this[_0x526f7f(0x144)](this[_0x526f7f(0xec)],_0x526f7f(0x13a),(_0x3ae0fc,_0x546c5c)=>{const _0x4d71ea=_0x526f7f;this[_0x4d71ea(0x101)](_0x4d71ea(0x15e),_0x546c5c);}),this[_0x526f7f(0x144)](this[_0x526f7f(0xec)],_0x526f7f(0x175),()=>{const _0x25f1c3=_0x526f7f;this[_0x25f1c3(0x121)]=!0x1;});const _0x23e9a1=this[_0x526f7f(0x13b)][_0x526f7f(0x1a6)](_0x241c65);this[_0x526f7f(0x10c)]=!0x0;const _0x1d763e=await this[_0x526f7f(0xec)][_0x526f7f(0x1c7)](_0x3c8811,this[_0x526f7f(0x152)](_0x241c65),_0x23e9a1);if(this[_0x526f7f(0x1b0)]=_0x1d763e[_0x526f7f(0x1b0)],_0x2e1d96){if(!_0x1d763e[_0x526f7f(0x141)])return void this[_0x526f7f(0xcd)]();this[_0x526f7f(0x10c)]=!0x1,this[_0x526f7f(0xdc)](),this[_0x526f7f(0x134)][_0x526f7f(0xfd)](),this[_0x526f7f(0x19e)]=_0x1d763e[_0x526f7f(0xf1)],this[_0x526f7f(0x134)][_0x526f7f(0x14a)]=this[_0x526f7f(0x19e)],await this[_0x526f7f(0xdd)](_0x241c65,_0x1d763e,_0x526f7f(0xd2));}else await this[_0x526f7f(0x138)](_0x1d763e,_0x241c65);this[_0x526f7f(0xfb)](),this[_0x526f7f(0x121)]=!0x0;}[_0x35432b(0xfb)](){const _0x4e19fe=_0x35432b,_0x280779=this[_0x4e19fe(0x146)][_0x4e19fe(0x12d)][_0x4e19fe(0xca)](_0x49072b),_0x40a569=this[_0x4e19fe(0x146)][_0x4e19fe(0x12d)][_0x4e19fe(0xca)](_0x58ab1f),_0x1e49f3=_0x280779[_0x4e19fe(0x174)][_0x4e19fe(0xca)](this[_0x4e19fe(0x139)]);_0x1e49f3&&_0x1e49f3[_0x4e19fe(0x1af)]>0x1?_0x40a569[_0x4e19fe(0x123)]():this[_0x4e19fe(0x144)](_0x280779,_0x4e19fe(0x14f)+this[_0x4e19fe(0x139)],()=>{const _0x46415b=_0x4e19fe;0x2===_0x280779[_0x46415b(0x174)][_0x46415b(0xca)](this[_0x46415b(0x139)])[_0x46415b(0x1af)]&&_0x40a569[_0x46415b(0x123)]();});}async[_0x35432b(0xd5)](_0x3a4e42,_0x5ae5b8,_0xd2bfb7,_0x19fa1e){const _0x4fc476=_0x35432b;if(!this[_0x4fc476(0x10c)]&&this[_0x4fc476(0x150)][_0x4fc476(0x14a)]==_0x5ae5b8){const _0x22da81=this[_0x4fc476(0x137)](_0xd2bfb7,_0x19fa1e);await this[_0x4fc476(0x109)](_0x22da81),this[_0x4fc476(0x16b)](_0x22da81,_0x5ae5b8,_0xd2bfb7[_0x4fc476(0x14b)])||this[_0x4fc476(0x101)](_0x4fc476(0x116));}}async[_0x35432b(0x192)](){const _0x33b712=_0x35432b;this[_0x33b712(0x17b)]();const {locale:_0x10b88b}=this[_0x33b712(0x146)];let _0x84ee40;try{_0x84ee40=await this[_0x33b712(0xec)][_0x33b712(0xe9)]();}catch{const _0x4974d1=_0x4c7266(_0x10b88b,_0x33b712(0x15d));return void this[_0x33b712(0xcd)](_0x4974d1);}const _0x1b67b5=_0x84ee40[_0x33b712(0x145)]||_0x84ee40[_0x33b712(0x108)];if(this[_0x33b712(0x1ae)]!==_0x1b67b5[_0x33b712(0x14b)]){const _0x52824f=_0x4c7266(_0x10b88b,_0x33b712(0x159));return void this[_0x33b712(0xcd)](_0x52824f);}await this[_0x33b712(0x179)](this[_0x33b712(0x146)][_0x33b712(0xf2)][_0x33b712(0x180)][_0x33b712(0xe2)][_0x33b712(0x1ba)](),!0x0);}[_0x35432b(0x17b)](){const _0x963b46=_0x35432b;this[_0x963b46(0xec)][_0x963b46(0x16e)](),this[_0x963b46(0x1a3)]=[],clearTimeout(this[_0x963b46(0x185)]),this[_0x963b46(0x1ad)](this[_0x963b46(0xec)]);}[_0x35432b(0x1a4)](_0x57588b){const _0x30906b=_0x35432b,_0x2be26c=this[_0x30906b(0x146)][_0x30906b(0x12d)][_0x30906b(0xca)](_0x49072b);this[_0x30906b(0x144)](_0x2be26c,_0x30906b(0x14f)+this[_0x30906b(0x139)],(_0x656dfc,{session:_0xd88fd7})=>{const _0x430ad8=_0x30906b;if(_0xd88fd7['id']===_0x2be26c[_0x430ad8(0x104)]){_0x656dfc[_0x430ad8(0xf9)]();const _0x5b4448=this[_0x430ad8(0x146)][_0x430ad8(0x12d)][_0x430ad8(0x157)](_0x430ad8(0x158))&&this[_0x430ad8(0x146)][_0x430ad8(0x12d)][_0x430ad8(0xca)](_0x430ad8(0x158));let _0xbfc042=_0xd88fd7[_0x430ad8(0x14c)];_0x5b4448&&_0x5b4448[_0x430ad8(0x112)]&&(_0xbfc042=_0xbfc042[_0x430ad8(0x15c)](_0x144c9a=>_0x430ad8(0xee)!==_0x144c9a)),this[_0x430ad8(0x146)][_0x430ad8(0x12d)][_0x430ad8(0xca)](_0x430ad8(0x13c))[_0x430ad8(0x1a8)](_0xbfc042,this[_0x430ad8(0x139)]);}}),_0x2be26c[_0x30906b(0x193)](this[_0x30906b(0x139)],_0x57588b);}[_0x35432b(0x136)](){const _0x41d237=_0x35432b,_0x414198=this[_0x41d237(0x146)][_0x41d237(0x18a)][_0x41d237(0xd3)];this[_0x41d237(0x146)][_0x41d237(0x18a)][_0x41d237(0xd3)]=(..._0x271d7c)=>{const _0x31fc0d=_0x41d237;if(!_0x271d7c[_0x271d7c[_0x31fc0d(0x1af)]-0x1][_0x31fc0d(0x127)])throw new _0x8d2547(_0x31fc0d(0x120),this);_0x414198[_0x31fc0d(0x1c3)](this[_0x31fc0d(0x146)][_0x31fc0d(0x18a)],_0x271d7c);};}[_0x35432b(0x1be)](){const _0x1553a5=_0x35432b;this[_0x1553a5(0x146)][_0x1553a5(0x18a)]['on'](_0x1553a5(0x107),(_0x4c8cf5,[_0x4101bc])=>{const _0xb961b5=_0x1553a5;if(this[_0xb961b5(0x150)][_0xb961b5(0x14a)])throw new _0x8d2547(_0xb961b5(0x170),this);_0x4c8cf5[_0xb961b5(0xd4)](),this[_0xb961b5(0x1c6)]();const _0x2d4c2f=this[_0xb961b5(0x146)][_0xb961b5(0x131)][_0xb961b5(0xca)](_0xb961b5(0x17d)),_0x49a0c8=this[_0xb961b5(0x16c)](_0x4101bc,_0x2d4c2f);0x0==_0x49a0c8[_0xb961b5(0x1af)]&&_0x49a0c8[_0xb961b5(0x160)](new _0x261110(0x0)),_0x4c8cf5[_0xb961b5(0x172)]=this[_0xb961b5(0x179)](_0x49a0c8)[_0xb961b5(0xf0)](()=>{const _0x1f340f=_0xb961b5;this[_0x1f340f(0x146)][_0x1f340f(0x12d)][_0x1f340f(0xca)](_0x3e8eea)[_0x1f340f(0x16d)](this),this[_0x1f340f(0x146)][_0x1f340f(0x18a)][_0x1f340f(0x17a)](_0x1f340f(0xc6));})[_0xb961b5(0x119)](_0xdba9d6=>this[_0xb961b5(0x101)](_0xb961b5(0x1c0),_0xdba9d6))[_0xb961b5(0x1bf)](()=>this[_0xb961b5(0xdc)]());},{'priority':_0x1553a5(0x1b5)}),this[_0x1553a5(0x146)]['on'](_0x1553a5(0x11b),async(_0x1a36d1,[_0x5d2022,_0x1550ca])=>{const _0x5a0099=_0x1553a5;_0x1a36d1[_0x5a0099(0xd4)]();const _0x384415=this[_0x5a0099(0x146)][_0x5a0099(0xf2)][_0x5a0099(0x180)][_0x5a0099(0x19c)](_0x5d2022);if(!this[_0x5a0099(0x128)][_0x5a0099(0x157)](_0x5d2022)){const _0x23349b=_0x1550ca&&_0x1550ca[_0x5a0099(0x18a)]?_0x1550ca[_0x5a0099(0x18a)]:'',_0x349fdb=_0x1550ca&&_0x1550ca[_0x5a0099(0x10b)]?_0x1550ca[_0x5a0099(0x10b)]:{};await this[_0x5a0099(0x12f)](_0x5d2022,_0x23349b,_0x349fdb);}this[_0x5a0099(0x146)][_0x5a0099(0xf2)][_0x5a0099(0x13d)]({'isUndoable':!0x1},()=>{const _0x5af431=_0x5a0099;_0x384415[_0x5af431(0x130)]=!0x0,this[_0x5af431(0x146)][_0x5af431(0xf2)][_0x5af431(0x180)][_0x5af431(0xf8)][_0x5af431(0xc5)](_0x384415);});},{'priority':_0x1553a5(0x1b5)});}async[_0x35432b(0x109)](_0x5b9e10){const _0x12fd3b=_0x35432b,_0x1f4734=this[_0x12fd3b(0x146)][_0x12fd3b(0x12d)][_0x12fd3b(0xca)](_0x2b9cb9),{connection:_0x55c7d5}=this[_0x12fd3b(0x146)][_0x12fd3b(0x12d)][_0x12fd3b(0xca)](_0x3e8eea),_0x530aa7=new Set();for(const _0x2ff385 of _0x5b9e10){const _0x3655b2=_0x2ff385[_0x12fd3b(0x1a5)];_0x3655b2&&!_0x1f4734[_0x12fd3b(0xd8)](_0x3655b2)&&_0x530aa7[_0x12fd3b(0xd9)](_0x3655b2);}if(0x0===_0x530aa7[_0x12fd3b(0xf4)])return;const _0x44eacc=await _0x24f185[_0x12fd3b(0x1c1)](_0x55c7d5,Array[_0x12fd3b(0x13f)](_0x530aa7));for(const _0x1ff660 of _0x44eacc)_0x1f4734[_0x12fd3b(0xd8)](_0x1ff660['id'])||_0x1f4734[_0x12fd3b(0x186)](_0x1ff660);}[_0x35432b(0x16c)](_0x42a319,_0x14c3b6={}){const _0x1aa656=_0x35432b,_0x4f96cc=this[_0x1aa656(0x146)][_0x1aa656(0xf2)],_0x117b66=[];let _0x360ad3=0x0;const _0x49d8a4=_0x1aa656(0x125)==typeof _0x42a319?{'main':_0x42a319}:_0x42a319;for(const _0x1caf22 of Object[_0x1aa656(0x1ab)](_0x49d8a4)){if(!this[_0x1aa656(0x150)][_0x1aa656(0x124)][_0x1aa656(0x157)](_0x1caf22))throw new _0x8d2547(_0x1aa656(0x18f),this);const _0x2bdbe7=this[_0x1aa656(0x146)][_0x1aa656(0x18a)][_0x1aa656(0x148)](_0x49d8a4[_0x1caf22]),_0x576785=this[_0x1aa656(0x150)][_0x1aa656(0x19c)](_0x1caf22),_0xbedd38=new _0x1c5d40(_0x4f96cc[_0x1aa656(0xef)](_0x576785,0x0),_0x2bdbe7,_0x360ad3++);_0x117b66[_0x1aa656(0x160)](_0xbedd38);for(const [_0x36151e,_0x1f5c5e]of _0x2bdbe7[_0x1aa656(0x1b3)]){const _0x5c7329=_0x4f96cc[_0x1aa656(0x182)](_0x4f96cc[_0x1aa656(0x18e)](_0x576785,_0x1f5c5e[_0x1aa656(0x18c)][_0x1aa656(0x13e)][_0x1aa656(0x147)]()),_0x4f96cc[_0x1aa656(0x18e)](_0x576785,_0x1f5c5e[_0x1aa656(0xfe)][_0x1aa656(0x13e)][_0x1aa656(0x147)]())),_0x3d77e3=new _0x195287(_0x36151e,null,_0x5c7329,_0x4f96cc[_0x1aa656(0x1b3)],!0x0,_0x360ad3++);_0x117b66[_0x1aa656(0x160)](_0x3d77e3);}}if(_0x14c3b6)for(const [_0x634578,_0x1a16a3]of Object[_0x1aa656(0x122)](_0x14c3b6)){const _0x36bf90=_0x4f96cc[_0x1aa656(0x180)][_0x1aa656(0x19c)](_0x634578);if(!_0x36bf90)throw new _0x8d2547(_0x1aa656(0x12e),null);for(const [_0x4269af,_0x15483c]of Object[_0x1aa656(0x122)](_0x1a16a3))if(null!==_0x15483c){const _0x326b78=new _0x46e98a(_0x36bf90,_0x4269af,null,_0x15483c,_0x360ad3++);_0x117b66[_0x1aa656(0x160)](_0x326b78);}}return _0x117b66;}async[_0x35432b(0x12f)](_0x586ab7,_0x16aa30,_0x2d8266){const _0x15d061=_0x35432b;this[_0x15d061(0x16c)]({[_0x586ab7]:_0x16aa30},{[_0x586ab7]:_0x2d8266})[_0x15d061(0x1a0)]((_0x306f91,_0x2ad94f)=>{const _0x147ebb=_0x15d061;_0x306f91[_0x147ebb(0x129)]=this[_0x147ebb(0x150)][_0x147ebb(0x14a)]+_0x2ad94f,_0x306f91[_0x147ebb(0xe8)]=!0x0,this[_0x147ebb(0x16a)](_0x306f91);}),this[_0x15d061(0x1a9)](),await this[_0x15d061(0x18d)]();}async[_0x35432b(0x138)](_0x4fe6c6,_0x1aaee7){const _0x267f75=_0x35432b;let _0x5aa0a8;this[_0x267f75(0x19e)]=_0x4fe6c6[_0x267f75(0xf1)];const _0x5c9fc9=_0x4fe6c6[_0x267f75(0x141)]&&!_0x4fe6c6[_0x267f75(0x143)],_0x22bfc3=_0x5c9fc9?0x0:_0x4fe6c6[_0x267f75(0x18a)][_0x267f75(0x129)];if(_0x1aaee7[_0x267f75(0x1a0)](_0x1bd12c=>{const _0xbeddd1=_0x267f75;_0x1bd12c[_0xbeddd1(0xe8)]=!0x0,_0x1bd12c[_0xbeddd1(0x15b)]=_0x4fe6c6[_0xbeddd1(0x140)],_0x1bd12c[_0xbeddd1(0x1a5)]=null;}),_0x5c9fc9)_0x5aa0a8=_0x1aaee7,this[_0x267f75(0x153)](_0x5aa0a8,_0x5c9fc9);else{if(_0x4fe6c6[_0x267f75(0x143)]){const _0x58f253=this[_0x267f75(0x16c)](_0x4fe6c6[_0x267f75(0x143)]);this[_0x267f75(0x150)][_0x267f75(0xe2)][_0x267f75(0x14a)]=-_0x58f253[_0x267f75(0x1af)],_0x58f253[_0x267f75(0x1a0)](_0x39fae5=>{const _0x65337b=_0x267f75;_0x39fae5[_0x65337b(0x129)]-=_0x58f253[_0x65337b(0x1af)],_0x39fae5[_0x65337b(0x15b)]=_0x4fe6c6[_0x65337b(0x140)],_0x39fae5[_0x65337b(0xe8)]=!0x0,_0x39fae5[_0x65337b(0x1a5)]=null;}),this[_0x267f75(0x153)](_0x58f253,!0x0),this[_0x267f75(0x134)][_0x267f75(0x14a)]=-_0x58f253[_0x267f75(0x1af)]+this[_0x267f75(0x19e)],this[_0x267f75(0x189)](_0x58f253);}this[_0x267f75(0x150)][_0x267f75(0xe2)][_0x267f75(0x14a)]=_0x22bfc3,_0x5aa0a8=this[_0x267f75(0x137)](_0x4fe6c6[_0x267f75(0x18a)],_0x4fe6c6[_0x267f75(0x162)]),await this[_0x267f75(0x109)](_0x5aa0a8),this[_0x267f75(0x153)](_0x5aa0a8,_0x5c9fc9);}_0x4fe6c6[_0x267f75(0x14b)]&&(this[_0x267f75(0x13b)][_0x267f75(0xd7)](_0x5aa0a8,_0x4fe6c6[_0x267f75(0x14b)]),this[_0x267f75(0x1ae)]=_0x4fe6c6[_0x267f75(0x14b)]),this[_0x267f75(0x134)][_0x267f75(0x14a)]=_0x22bfc3+this[_0x267f75(0x19e)],this[_0x267f75(0x189)](_0x5aa0a8),_0x1aaee7[_0x267f75(0x15c)](_0x52fd7c=>{const _0x2595b6=_0x267f75,_0x58750e=this[_0x2595b6(0x1ac)](_0x52fd7c);return _0x58750e&&!this[_0x2595b6(0x128)][_0x2595b6(0x157)](_0x58750e);})[_0x267f75(0x1a0)]((_0x5eceb1,_0x43fa32)=>{const _0x13a9e5=_0x267f75;_0x5eceb1[_0x13a9e5(0x129)]=this[_0x13a9e5(0x150)][_0x13a9e5(0x14a)]+_0x43fa32,this[_0x13a9e5(0x16a)](_0x5eceb1);}),this[_0x267f75(0xdb)]()?(this[_0x267f75(0x178)]=0x0,this[_0x267f75(0x1a9)](!0x0),await this[_0x267f75(0x18d)]()):(this[_0x267f75(0x10c)]=!0x1,this[_0x267f75(0xdc)]());}[_0x35432b(0x101)](_0x3fc90a,_0x56a292){const _0x5c5d1b=_0x35432b,_0x3c16a1=_0x56a292&&_0x56a292[_0x5c5d1b(0xf6)];if(_0x3c16a1&&_0x3c16a1[_0x5c5d1b(0x12b)](_0x5c5d1b(0xcb)))throw _0x56a292;const _0x24d36a=this[_0x5c5d1b(0x146)][_0x5c5d1b(0x12d)][_0x5c5d1b(0xca)](_0x3e8eea);throw this[_0x5c5d1b(0x10c)]=!0x0,_0x24d36a[_0x5c5d1b(0x16e)](),this[_0x5c5d1b(0x146)][_0x5c5d1b(0x10f)](_0x5c5d1b(0x16f)),new _0x8d2547(_0x3fc90a,this[_0x5c5d1b(0x146)],_0x3c16a1?{'originalError':_0x3c16a1}:void 0x0);}[_0x35432b(0x16a)](_0xb92079){const _0x2db916=_0x35432b;this[_0x2db916(0x17f)][_0x2db916(0x157)](_0xb92079)||(this[_0x2db916(0x17f)][_0x2db916(0xd9)](_0xb92079),this[_0x2db916(0x1a3)][_0x2db916(0x160)](_0xb92079),this[_0x2db916(0x173)]||_0x2db916(0xe6)==_0xb92079[_0x2db916(0x171)]&&!_0xb92079[_0x2db916(0xda)]||this[_0x2db916(0x1c6)]());}[_0x35432b(0x1a9)](_0x5af70f=!0x1){const _0x4414b9=_0x35432b;!_0x5af70f&&this[_0x4414b9(0x10c)]||(this[_0x4414b9(0x10c)]=!0x0,clearTimeout(this[_0x4414b9(0x185)]),this[_0x4414b9(0x185)]=setTimeout(()=>{const _0x2b6605=_0x4414b9;this[_0x2b6605(0x17c)]()[_0x2b6605(0xf0)](_0x406bac=>{const _0x545a91=_0x2b6605;_0x406bac&&(this[_0x545a91(0xdc)](),this[_0x545a91(0x10c)]=!0x1);})[_0x2b6605(0x119)](_0x3379cd=>{const _0x412160=_0x2b6605;this[_0x412160(0xdc)](),this[_0x412160(0x10c)]=!0x1,function(_0xc924db){const _0x190b75=_0x412160;return _0xc924db[_0x190b75(0xf6)][_0x190b75(0x12b)](_0x190b75(0x113))||_0xc924db[_0x190b75(0xf6)][_0x190b75(0x12b)](_0x190b75(0x161))||_0xc924db[_0x190b75(0xf6)][_0x190b75(0x12b)](_0x190b75(0x1b8));}(_0x3379cd)||this[_0x412160(0x101)](_0x3379cd[_0x412160(0xf6)],_0x3379cd);});},this[_0x4414b9(0x178)]));}[_0x35432b(0x18d)](){return new Promise(_0x57729a=>{const _0x47108b=_0x40df;this['on'](_0x47108b(0x1b4),()=>{_0x57729a();});});}async[_0x35432b(0x17c)](){const _0x2f393c=_0x35432b,_0x4b0495=this[_0x2f393c(0x146)][_0x2f393c(0x12d)][_0x2f393c(0xca)](_0x58ab1f);if(this[_0x2f393c(0x165)]()&&(_0x4b0495[_0x2f393c(0x123)](),this[_0x2f393c(0x184)]=!0x1),!this[_0x2f393c(0xdb)]())return!0x0;const _0x21708b=[...this[_0x2f393c(0x1a3)]];for(const _0x148037 of _0x21708b)_0x148037[_0x2f393c(0xed)]=this[_0x2f393c(0x150)][_0x2f393c(0xe2)][_0x2f393c(0x118)](_0x148037);const _0x3bbedf=this[_0x2f393c(0x13b)][_0x2f393c(0x1a6)](_0x21708b),_0x14ffcf=G++,_0x13769c=this[_0x2f393c(0x152)](_0x21708b),_0x7a9311=await this[_0x2f393c(0xec)][_0x2f393c(0x191)](_0x13769c,_0x13769c[_0x2f393c(0x129)],_0x3bbedf);try{return await this[_0x2f393c(0xdd)](_0x21708b,_0x7a9311,_0x14ffcf);}catch(_0x1b9761){return this[_0x2f393c(0x101)](_0x2f393c(0x114),_0x1b9761);}}async[_0x35432b(0xdd)](_0x31d65d,_0x13b21c,_0x417f63){const _0xc26efc=_0x35432b;if(_0xc26efc(0x13a)in _0x13b21c)throw _0x13b21c[_0xc26efc(0x13a)];let _0x6521d6=!0x1;if(_0x13b21c[_0xc26efc(0x141)]){_0x13b21c[_0xc26efc(0x14b)]&&(this[_0xc26efc(0x1ae)]=_0x13b21c[_0xc26efc(0x14b)]),this[_0xc26efc(0x1a3)]=this[_0xc26efc(0x1a3)][_0xc26efc(0x15c)](_0x4c90e8=>!_0x31d65d[_0xc26efc(0x1bc)](_0x4c90e8));for(const _0x3980ee of _0x31d65d)_0x3980ee[_0xc26efc(0x15b)]=_0xc26efc(0xf5)in _0x13b21c&&_0x13b21c[_0xc26efc(0xf5)]||void 0x0;K(_0x31d65d,_0x13b21c[_0xc26efc(0x14a)]-_0x31d65d[_0xc26efc(0x1af)]),this[_0xc26efc(0x189)](_0x31d65d);const _0x406f3a=_0x31d65d[_0xc26efc(0x15c)](_0x5dbd2b=>{const _0x426f99=_0xc26efc;if(!_0x5dbd2b[_0x426f99(0xe8)])return!0x1;const _0xba347e=this[_0x426f99(0x1ac)](_0x5dbd2b);return _0xba347e&&!this[_0x426f99(0x128)][_0x426f99(0x157)](_0xba347e);});K(_0x406f3a,this[_0xc26efc(0x150)][_0xc26efc(0x14a)]),this[_0xc26efc(0x153)](_0x406f3a),_0x6521d6=!0x0,this[_0xc26efc(0x178)]=this[_0xc26efc(0xc3)];}else{const _0x38b2b7=this[_0xc26efc(0x137)](_0x13b21c[_0xc26efc(0x18a)],_0x13b21c[_0xc26efc(0x162)])[_0xc26efc(0x15c)](_0x114d01=>_0x114d01[_0xc26efc(0x129)]>=this[_0xc26efc(0x1c5)]);_0x38b2b7[_0xc26efc(0x1a0)](_0x124bf3=>this[_0xc26efc(0x133)](_0x124bf3)),this[_0xc26efc(0x1a3)]=this[_0xc26efc(0x1a3)][_0xc26efc(0x15c)](_0x3eeb1d=>!_0x3eeb1d[_0xc26efc(0xe8)]||!this[_0xc26efc(0x128)][_0xc26efc(0x157)](this[_0xc26efc(0x1ac)](_0x3eeb1d))),this[_0xc26efc(0x1a3)][_0xc26efc(0x1af)]&&K(this[_0xc26efc(0x1a3)],this[_0xc26efc(0x1a3)][0x0][_0xc26efc(0x129)]),await this[_0xc26efc(0x109)](_0x38b2b7),_0x6521d6=this[_0xc26efc(0x16b)](_0x38b2b7,_0x13b21c[_0xc26efc(0x14a)],_0x13b21c[_0xc26efc(0x14b)]),this[_0xc26efc(0x178)]=Math[_0xc26efc(0x176)](this[_0xc26efc(0x178)]/0x2);}return _0x6521d6?!this[_0xc26efc(0xdb)]()||(this[_0xc26efc(0x1a9)](!0x0),!0x1):this[_0xc26efc(0x101)](_0xc26efc(0xc7));}[_0x35432b(0x16b)](_0xd695be,_0x22f961,_0x58e44a){const _0x499e00=_0x35432b;try{const _0x5f10ba={'document':this[_0x499e00(0x150)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x441330,operationsB:_0x48f236,originalOperations:_0x230ee3}=_0x25eca8(_0xd695be,this[_0x499e00(0x1a3)],_0x5f10ba);K(_0x441330,this[_0x499e00(0x150)][_0x499e00(0x14a)]),K(_0x48f236,_0x22f961);for(const _0x142ef9 of _0x441330){const _0x200300=_0x230ee3[_0x499e00(0xca)](_0x142ef9);_0x142ef9[_0x499e00(0x1a5)]=_0x200300?_0x200300[_0x499e00(0x1a5)]:null;}_0x58e44a&&(this[_0x499e00(0x13b)][_0x499e00(0xd7)](_0xd695be,_0x58e44a),this[_0x499e00(0x1ae)]=_0x58e44a),this[_0x499e00(0x1a3)]=[..._0x48f236],this[_0x499e00(0x153)](_0x441330),this[_0x499e00(0x189)](_0xd695be);}catch(_0x3acb12){return console[_0x499e00(0x13a)](_0x3acb12),!0x1;}return!0x0;}[_0x35432b(0x153)](_0x3c7ae,_0x46287b=!0x1){const _0x2dd7a4=_0x35432b;this[_0x2dd7a4(0x146)][_0x2dd7a4(0xf2)][_0x2dd7a4(0x13d)]({'isUndoable':!0x1,'isLocal':!0x1},_0x565c6d=>{const _0x20fa46=_0x2dd7a4;for(const _0x3963f4 of _0x3c7ae)this[_0x20fa46(0x17f)][_0x20fa46(0xd9)](_0x3963f4),this[_0x20fa46(0x133)](_0x3963f4),_0x565c6d[_0x20fa46(0x163)][_0x20fa46(0xe7)](_0x3963f4),this[_0x20fa46(0x146)][_0x20fa46(0xf2)][_0x20fa46(0xf7)](_0x3963f4);});}[_0x35432b(0x133)](_0x25aabf){const _0x2e7c78=_0x35432b,_0x160d8d=this[_0x2e7c78(0x1ac)](_0x25aabf);_0x160d8d&&this[_0x2e7c78(0x128)][_0x2e7c78(0xd9)](_0x160d8d);}[_0x35432b(0x1ac)](_0x5afeb9){const _0x1bab51=_0x35432b;let _0x9585e0,_0x5a9810;switch(_0x5afeb9[_0x1bab51(0x171)]){case _0x1bab51(0x12a):_0x9585e0=_0x5afeb9[_0x1bab51(0x110)][_0x1bab51(0xd0)];break;case _0x1bab51(0xe6):if(_0x5a9810=_0x5afeb9[_0x1bab51(0x11c)],!_0x5a9810)return null;_0x9585e0=_0x5a9810[_0x1bab51(0xd0)];break;case _0x1bab51(0x169):_0x9585e0=_0x5afeb9[_0x1bab51(0xd0)];break;case _0x1bab51(0x155):_0x9585e0=_0x5afeb9[_0x1bab51(0x187)];break;case _0x1bab51(0x11d):_0x9585e0=_0x5afeb9[_0x1bab51(0x142)][_0x1bab51(0xd0)];break;default:return null;}return _0x9585e0[_0x1bab51(0x19b)];}[_0x35432b(0x189)](_0x5a9d93){const _0x4c3697=_0x35432b;_0x5a9d93[_0x4c3697(0x1a0)](_0x52e1a2=>{const _0xee49e2=_0x4c3697,_0x2d69df=_0x52e1a2[_0xee49e2(0x154)]();_0x2d69df[_0xee49e2(0x1a5)]=_0x52e1a2[_0xee49e2(0x1a5)],_0x2d69df[_0xee49e2(0xe8)]=!!_0x52e1a2[_0xee49e2(0xe8)],_0x2d69df[_0xee49e2(0x15b)]=_0x52e1a2[_0xee49e2(0x15b)],_0x2d69df[_0xee49e2(0x129)]+=this[_0xee49e2(0x19e)],_0x52e1a2[_0xee49e2(0x199)]&&this[_0xee49e2(0x1b2)][_0xee49e2(0xd9)](_0x2d69df),this[_0xee49e2(0x134)][_0xee49e2(0xe7)](_0x2d69df);});}[_0x35432b(0xcd)](_0x592737){const _0x2bd0dc=_0x35432b,_0x321441=this[_0x2bd0dc(0x146)][_0x2bd0dc(0x12d)][_0x2bd0dc(0xca)](_0x2bd0dc(0x12c)),_0x40f0e8=this[_0x2bd0dc(0x146)][_0x2bd0dc(0xd6)];_0x592737||(_0x592737=_0x4c7266(_0x40f0e8,_0x2bd0dc(0xc4))),_0x321441[_0x2bd0dc(0x167)](_0x592737,{'title':_0x4c7266(_0x40f0e8,_0x2bd0dc(0xe0)),'namespace':_0x2bd0dc(0xe3)}),this[_0x2bd0dc(0x18b)]=!0x0,clearTimeout(this[_0x2bd0dc(0x185)]),this[_0x2bd0dc(0x1a3)]=[],this[_0x2bd0dc(0x146)][_0x2bd0dc(0x12d)][_0x2bd0dc(0xca)](_0x3e8eea)[_0x2bd0dc(0x16e)]();}[_0x35432b(0x1c6)](){const _0x2fc93f=_0x35432b;this[_0x2fc93f(0x173)]||(this[_0x2fc93f(0x173)]=this[_0x2fc93f(0x146)][_0x2fc93f(0x12d)][_0x2fc93f(0xca)](_0x2e9a93)[_0x2fc93f(0xd9)](_0x4c7266(this[_0x2fc93f(0x146)][_0x2fc93f(0xd6)],_0x2fc93f(0x164))));}[_0x35432b(0xdc)](){const _0x3296a6=_0x35432b;this[_0x3296a6(0x173)]&&(this[_0x3296a6(0x146)][_0x3296a6(0x12d)][_0x3296a6(0xca)](_0x2e9a93)[_0x3296a6(0x14d)](this[_0x3296a6(0x173)]),this[_0x3296a6(0x173)]=null);}[_0x35432b(0x152)](_0x2d1eaa){const _0x12f9d0=_0x35432b,_0x369c24=_0x2d1eaa[_0x12f9d0(0x1a2)](_0xf2c9d8=>_0xf2c9d8[_0x12f9d0(0x198)]());return this[_0x12f9d0(0x1b6)][_0x12f9d0(0x106)](_0x369c24);}[_0x35432b(0x137)](_0x3f1279,_0x56d43f){const _0x15657f=_0x35432b;return this[_0x15657f(0x1b6)][_0x15657f(0x168)](_0x3f1279)[_0x15657f(0x1a2)]((_0x3ed847,_0x5a0857)=>{const _0x130932=_0x15657f,_0x4bac5c=_0x130932(0x107)==_0x56d43f[_0x5a0857][_0x130932(0x171)];if(_0x130932(0x1c2)==_0x3ed847[_0x130932(0xc1)]){const _0x8649c7=_0x3ed847[_0x130932(0x110)][_0x130932(0xd0)];!this[_0x130932(0x150)][_0x130932(0x19c)](_0x8649c7)&&(this[_0x130932(0x150)][_0x130932(0x15a)](_0x130932(0x10d),_0x8649c7)[_0x130932(0xe1)]=!0x1);}const _0xddc270=_0x3dbd72[_0x130932(0x1c4)](_0x3ed847,this[_0x130932(0x150)]);return _0xddc270[_0x130932(0xed)]=_0x3ed847[_0x130932(0xed)],_0xddc270[_0x130932(0xe8)]=_0x4bac5c,_0xddc270[_0x130932(0x1a5)]=_0x4bac5c?null:_0x56d43f[_0x5a0857][_0x130932(0x115)],_0xddc270[_0x130932(0x199)]=_0x130932(0xde)===_0x56d43f[_0x5a0857][_0x130932(0x171)],_0xddc270[_0x130932(0x15b)]=_0x56d43f[_0x5a0857][_0x130932(0x15b)],_0xddc270;});}[_0x35432b(0x14e)](){const _0x13c22c=_0x35432b;this[_0x13c22c(0x184)]=!0x0,this[_0x13c22c(0x165)]()?this[_0x13c22c(0x1a9)]():this[_0x13c22c(0x184)]=!0x1;}[_0x35432b(0x165)](){const _0x469578=_0x35432b,_0x560bb2=this[_0x469578(0x146)][_0x469578(0x12d)][_0x469578(0xca)](_0x49072b)[_0x469578(0x174)][_0x469578(0xca)](this[_0x469578(0x139)]);return!this[_0x469578(0x146)][_0x469578(0x102)]&&!!_0x560bb2&&_0x560bb2[_0x469578(0x1af)]>0x1&&this[_0x469578(0x184)];}[_0x35432b(0xdb)](){const _0x3a9147=_0x35432b;return this[_0x3a9147(0x1a3)][_0x3a9147(0x1af)]>0x0||this[_0x3a9147(0x165)]();}}class $ extends Error{}function K(_0x4220af,_0x221e85){const _0x18421d=_0x35432b;for(const _0x3f3df7 of _0x4220af)_0x3f3df7[_0x18421d(0x129)]=_0x221e85++;}class J{[_0x35432b(0xeb)];[_0x35432b(0x1b1)];constructor(_0x88cb58){const _0x3154e1=_0x35432b;this[_0x3154e1(0xeb)]=_0x88cb58,this[_0x3154e1(0x1b1)]=new WeakMap();}[_0x35432b(0x1a6)](_0x529bc6){const _0x28d33f=_0x35432b;let _0x44eb53=_0x529bc6[_0x28d33f(0x1af)];for(;_0x44eb53--;){const _0x5016f6=_0x529bc6[_0x44eb53];if(!this[_0x28d33f(0xeb)][_0x28d33f(0x157)](_0x5016f6)){if(!this[_0x28d33f(0x1b1)][_0x28d33f(0x157)](_0x5016f6)){const _0xe03aa9=_0x2ffcae()[_0x28d33f(0x147)](0x1,0x12);this[_0x28d33f(0x1b1)][_0x28d33f(0xd3)](_0x5016f6,_0xe03aa9);}return this[_0x28d33f(0x1b1)][_0x28d33f(0xca)](_0x5016f6);}}}[_0x35432b(0xd7)](_0x1c0b9d,_0x209a70){const _0x10633d=_0x35432b;if(!_0x209a70)return;let _0x5df41c=_0x1c0b9d[_0x10633d(0x1af)];for(;_0x5df41c--;){const _0x489770=_0x1c0b9d[_0x5df41c];this[_0x10633d(0xeb)][_0x10633d(0x157)](_0x489770)||this[_0x10633d(0x1b1)][_0x10633d(0xd3)](_0x489770,_0x209a70);}}}
23
+ const _0x142698=_0x1058;(function(_0x536069,_0x11210d){const _0x37e1e4=_0x1058,_0x14ede0=_0x536069();while(!![]){try{const _0x459147=parseInt(_0x37e1e4(0x10c))/0x1*(-parseInt(_0x37e1e4(0x1d8))/0x2)+-parseInt(_0x37e1e4(0x145))/0x3*(-parseInt(_0x37e1e4(0x148))/0x4)+parseInt(_0x37e1e4(0x1e0))/0x5+-parseInt(_0x37e1e4(0x174))/0x6*(parseInt(_0x37e1e4(0x104))/0x7)+parseInt(_0x37e1e4(0x15e))/0x8+parseInt(_0x37e1e4(0xf8))/0x9+parseInt(_0x37e1e4(0x199))/0xa*(parseInt(_0x37e1e4(0x1e5))/0xb);if(_0x459147===_0x11210d)break;else _0x14ede0['push'](_0x14ede0['shift']());}catch(_0x39aef6){_0x14ede0['push'](_0x14ede0['shift']());}}}(_0x2692,0x6860b));import{Plugin as _0x361e19,PendingActions as _0x2a85d7}from'ckeditor5/src/core.js';import{CKEditorError as _0x8e8064,version as _0x23f934,uid as _0x2c3084}from'ckeditor5/src/utils.js';import{Notification as _0x205688}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x44f26a,NoOperation as _0xa7e1a8,InsertOperation as _0x48d033,MarkerOperation as _0x39e255,RootAttributeOperation as _0x31cadd,OperationFactory as _0x4c3971,History as _0x226237}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x315641}from'./websocketgateway.js';import{Sessions as _0x971859}from'./sessions.js';import{UserMarkers as _0x443f84}from'./usermarkers.js';import{getTranslation as _0x242cf3}from'../common-translations.js';import{Compressor as _0xd98168}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x3c967d}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2692(){const _0x4ff3b7=['_bufferRootLoad','_decompressOperations','__className','document:write','getDocumentDetails','model','disableReadOnlyMode','realtimecollaborationclient-error','code','getConnectedSessions','change:hasDomSelection','error','_sendBufferedOperationsDelayId','_fetchMissingUsers','sessionId','_knownOperations','_isConnected','2550scBdQx','lastSyncVersion','getUser','collaboration','_isDisconnection','isReadOnly','pluginName','_compressOperations','length','differ','isEnabled','ready','getIdOfTheLastOperation','fromJSON','PENDING_ACTION_SENDING_DATA','_sendBufferedOperations','high','sendOperations','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_clearPendingAction','push','selection','_handleInitialConnectionData','_lastSyncedOperationId','addRoot','keys','_handleSendingSelectionMarkers','offset','return','_setPendingAction','insert','_crash','initData','destroy','wasUndone','Notification','plugins','addOperation','position','compress','slice','_hasSynchronizationProblem','showWarning','addUser','_initThrowingOnDataSet','add','targetPosition','has','view','addToReconnectionStack','setPermissions','real-time-collaboration','realtimecollaborationclient-sendbufferedoperations','path','startsWith','_waitUntilSynced','parse','_offset','realtimecollaborationclient-init-service-internal-error','_shouldSendSelectionUpdate','init','enqueueChange','_channelId','262oUiRLF','InsertOperation','_lastServerVersion','_isInit','round','finally','operationsReceived','realtimecollaborationclient-init-session-connection-error','2561625HPnhhf','lastOperationAcceptedAt','_pendingAction','_bufferedOperations','CollaborativeEditingService','7238EUyxvD','_authorId','change:range','_updateServerHistory','data','filter','cs:removeUser','realtimecollaborationclient-init-document-already-initialized','attributes','bind','move','fire','cloudServices.bundleVersion','get','rtc-offline','_disconnectService','config','includes','unregister','loadRoot','_currentBufferDelay','lastOperationId','start','_connectAfterSessionHasBeenFlushed','_handleReceivedOperations','404','5071104fDTfUX','createPositionFromPath','catch','collaboration-missing-channelid','cloudDocumentVersion','change:_isPendingUpdate','affectedSelectable','end','createPositionAt','_hasSelectionChanged','_initSessionsHandling','wereChangesApplied','4833332KHYbLm','sessionAdd:','$root','editing','sessionCreatedAt','_compressor','_handleServerResponse','reset','4101ExSaVd','createUserMarkerOperations','forEach','_document','editor','realtimecollaborationclient-init-connection-failed','addRootAttribute','Synchronization\x20issue','multi-root-editor-root-attributes-no-root','permissions','entries','requires','RealTimeCollaborationClient','setIdForTheLastOperation','realtimecollaborationclient','channelSessions','disconnected','cloud-services-internal-error:\x20Request\x20timeout.','enableReadOnlyMode','userId','currentDocumentSession','stop','roots','getMany','lastDocumentSession','realtimecollaborationclient-init-non-existent-root','_isPendingUpdate','_sendBufferedOperationsDelayed','mySessionId','_operationIdentifier','reconnect','CommentsOnly','_setUpDataInit','root','newRange','applyOperation','stopListening','then','marker','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_addKnownRoot','_handleReconnectionError','_ignoredOperations','_operationToId','markers','state','string','_getOperationsFromInitData','_shouldSendUpdate','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_applyOperationsSet','cloud-services-internal-error:\x20Not\x20connected.','document','history','_isAttached','connection','Permissions','699eBDZBP','disconnect','collaboration.channelId','4204APkHBC','listenTo','from','connected','version','getOperations','reconnection:\x20flushed\x20session','_handleReconnectionResponse','metadata','getOperationAuthor','_isEditingAllowed','isUndoneOperation','directChange','_service','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.','baseVersion','serverHistory','createdAt','removeFromReconnectionStack','rootsAttributes','isPremiumPlugin','409','1334272YNoTey','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.','createRoot','realtimecollaborationclient-init-service-incorrect-server-operation','remove','_connectService','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','isOfficialPlugin','size','_disconnectionOperations','affectsData','getRoot','connect','define','_baseBufferDelay','_saveOperationInBuffer','decompress','set','off','_loadRoot','_handleExternalOperations','suppressErrorInCollaboration','6oAlOch','message','apply','_getAffectedRoot','_refreshUserSelectionMarkers','isDocumentOperation','rtc-destroyed','toJSON','clone','change:_isEditingAllowed','_knownRootNames','_isLoaded','realtimecollaborationclient-handleserverresponse','register','rootName','createRange','locale','batch','type','map'];_0x2692=function(){return _0x4ff3b7;};return _0x2692();}import{User as _0x3ab2c1,CollaborativeEditingService as _0x111f84}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x361e19{static [_0x142698(0x1e4)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x111f84)());[_0x142698(0x1d2)];[_0x142698(0x196)];[_0x142698(0x158)];[_0x142698(0x1d7)];[_0x142698(0x155)];[_0x142698(0x10f)];[_0x142698(0x109)];[_0x142698(0x1e3)];[_0x142698(0x197)];[_0x142698(0x17e)];[_0x142698(0x1e2)];[_0x142698(0x101)];[_0x142698(0x194)];[_0x142698(0x16c)];[_0x142698(0xf2)];[_0x142698(0x1b0)];[_0x142698(0x167)];[_0x142698(0x129)];static get[_0x142698(0x117)](){return[_0x315641,_0x971859,_0x443f84,_0x2a85d7,_0x3c967d,_0x205688];}static get[_0x142698(0x19f)](){const _0x28b0e1=_0x142698;return _0x28b0e1(0x118);}static get[_0x142698(0x165)](){return!0x0;}static get[_0x142698(0x15c)](){return!0x0;}get[_0x142698(0xfc)](){const _0xcc346b=_0x142698;return this[_0xcc346b(0x1da)]+this[_0xcc346b(0x1d2)];}get[_0x142698(0x1da)](){const _0x44b95c=_0x142698;return this[_0x44b95c(0x158)][_0x44b95c(0x14c)]-this[_0x44b95c(0x1d2)];}get[_0x142698(0x19a)](){const _0x20fb5c=_0x142698,_0x4852fa=this[_0x20fb5c(0x158)][_0x20fb5c(0x14d)]();for(let _0x391890=_0x4852fa[_0x20fb5c(0x1a1)]-0x1;_0x391890>=0x0;_0x391890--){const _0x4d83be=_0x4852fa[_0x391890];if(!this[_0x20fb5c(0x167)][_0x20fb5c(0x1c8)](_0x4d83be))return _0x4d83be[_0x20fb5c(0x157)]+0x1-this[_0x20fb5c(0x1d2)];}return 0x0;}constructor(_0x4a9ed3){const _0x304bb3=_0x142698;if(super(_0x4a9ed3),this[_0x304bb3(0x1d2)]=0x0,this[_0x304bb3(0x196)]=null,this[_0x304bb3(0x158)]=new _0x226237(),this[_0x304bb3(0x110)][_0x304bb3(0xee)][_0x304bb3(0x16b)](_0x304bb3(0x19c),{}),this[_0x304bb3(0x1d7)]=this[_0x304bb3(0x110)][_0x304bb3(0xee)][_0x304bb3(0x1f2)](_0x304bb3(0x147)),!this[_0x304bb3(0x1d7)])throw new _0x8e8064(_0x304bb3(0xfb),this);const _0xb82f7=_0x4a9ed3[_0x304bb3(0xee)][_0x304bb3(0x1f2)](_0x304bb3(0x1f1))||_0x23f934;this[_0x304bb3(0x155)]=new RealTimeCollaborationClient[(_0x304bb3(0x1e4))](_0xb82f7,this[_0x304bb3(0x1d7)]),this[_0x304bb3(0x10f)]=this[_0x304bb3(0x110)][_0x304bb3(0x18d)][_0x304bb3(0x140)],this[_0x304bb3(0x109)]=new _0xd98168(),this[_0x304bb3(0x1e3)]=[],this[_0x304bb3(0x197)]=new WeakSet(),this[_0x304bb3(0x17e)]=new Set(),this[_0x304bb3(0x16f)](_0x304bb3(0x126),!0x1),this[_0x304bb3(0x16f)](_0x304bb3(0x1c2),!0x1),this[_0x304bb3(0x1e2)]=null,this[_0x304bb3(0x101)]=!0x1,this[_0x304bb3(0x194)]=null,this[_0x304bb3(0x16c)]=0x12c,this[_0x304bb3(0xf2)]=this[_0x304bb3(0x16c)],this[_0x304bb3(0x1b0)]=null,this[_0x304bb3(0x167)]=new WeakSet(),this[_0x304bb3(0x129)]=new J(this[_0x304bb3(0x167)]);}[_0x142698(0x1d5)](){const _0x136acc=_0x142698,_0x456358=this[_0x136acc(0x110)],_0x3851b8=_0x456358[_0x136acc(0x1bd)][_0x136acc(0x1f2)](_0x3c967d),_0x46fcc0=_0x456358[_0x136acc(0x1bd)][_0x136acc(0x1f2)](_0x315641);this[_0x136acc(0x149)](_0x3851b8,_0x136acc(0x151),(_0x142208,_0x520d4a)=>{const _0x4b16ca=_0x136acc,_0x1e9910=_0x520d4a[0x0];_0x1e9910[_0x4b16ca(0x1e6)]&&(_0x142208[_0x4b16ca(0x1b5)]=_0x3851b8[_0x4b16ca(0x19b)](_0x1e9910[_0x4b16ca(0x1e6)]),_0x142208[_0x4b16ca(0x121)]()),null===_0x1e9910[_0x4b16ca(0x1e6)]&&(_0x142208[_0x4b16ca(0x1b5)]=null,_0x142208[_0x4b16ca(0x121)]());},{'priority':_0x136acc(0x1a9)}),this[_0x136acc(0x149)](_0x456358[_0x136acc(0x18d)][_0x136acc(0x140)][_0x136acc(0x1ae)],_0x136acc(0x1e7),(_0x4f20c7,_0x3da248)=>{const _0x453dd3=_0x136acc;_0x3da248[_0x453dd3(0x154)]&&this[_0x453dd3(0x178)]();}),this[_0x136acc(0x149)](_0x456358[_0x136acc(0x107)][_0x136acc(0x1c9)],_0x136acc(0x192),()=>{const _0x8c8ca=_0x136acc;this[_0x8c8ca(0x178)]();}),this[_0x136acc(0x1c5)](),_0x456358[_0x136acc(0x18d)]['on'](_0x136acc(0x12f),(_0xcaa89e,_0x72a56)=>{const _0x54b011=_0x136acc,_0x4845b0=_0x72a56[0x0];_0x4845b0[_0x54b011(0x179)]&&(this[_0x54b011(0x16d)](_0x4845b0),this[_0x54b011(0x13c)]()&&this[_0x54b011(0x127)]());}),this[_0x136acc(0x12c)](),this[_0x136acc(0x1ee)](_0x136acc(0x152))['to'](_0x46fcc0,_0x136acc(0x139),this,_0x136acc(0x1c2),(_0x4fd5dc,_0x15fb9d)=>_0x136acc(0x14b)===_0x4fd5dc&&!_0x15fb9d),this['on'](_0x136acc(0x17d),()=>{const _0x44198d=_0x136acc;this[_0x44198d(0x152)]?_0x456358[_0x44198d(0x18e)](_0x44198d(0x1f3)):_0x456358[_0x44198d(0x11e)](_0x44198d(0x1f3));}),this[_0x136acc(0x152)]?_0x456358[_0x136acc(0x18e)](_0x136acc(0x1f3)):_0x456358[_0x136acc(0x11e)](_0x136acc(0x1f3)),this[_0x136acc(0x16f)](_0x136acc(0x198),!0x1);}async[_0x142698(0x12a)](){const _0x38a45a=_0x142698,_0x5ebc27=this[_0x38a45a(0x110)][_0x38a45a(0x1bd)][_0x38a45a(0x1f2)](_0x971859),_0x24a620=this[_0x38a45a(0x110)][_0x38a45a(0x1bd)][_0x38a45a(0x1f2)](_0x315641);try{this[_0x38a45a(0x126)]=!0x0,_0x5ebc27[_0x38a45a(0xf0)](this[_0x38a45a(0x1d7)]);const _0x2ce6d2=await this[_0x38a45a(0x155)][_0x38a45a(0x12a)](_0x24a620[_0x38a45a(0x143)],this[_0x38a45a(0x19a)]);await this[_0x38a45a(0x14f)](_0x2ce6d2)&&(this[_0x38a45a(0x126)]=!0x1,this[_0x38a45a(0x1ac)]());const _0x56f8c2=await this[_0x38a45a(0x155)][_0x38a45a(0x191)]();_0x5ebc27[_0x38a45a(0x181)](this[_0x38a45a(0x1d7)],_0x56f8c2),this[_0x38a45a(0x1b3)](),this[_0x38a45a(0x198)]=!0x0;}catch(_0x5c9f2d){if(function(_0x47e4cb){const _0x5f2b07=_0x38a45a;return _0x5f2b07(0xf7)===_0x47e4cb[_0x5f2b07(0x190)];}(_0x5c9f2d)&&this[_0x38a45a(0x196)])await this[_0x38a45a(0xf5)]();else{if(function(_0x3bd1e3){const _0x488954=_0x38a45a;return _0x488954(0x15d)===_0x3bd1e3[_0x488954(0x190)];}(_0x5c9f2d)){const _0x450902=_0x242cf3(this[_0x38a45a(0x110)][_0x38a45a(0x184)],_0x38a45a(0x164));this[_0x38a45a(0x135)](_0x450902);}else{if(!(_0x5c9f2d instanceof $))throw _0x5c9f2d;this[_0x38a45a(0x135)]();}}}}[_0x142698(0x1ba)](){const _0x313225=_0x142698,_0x25b06d=this[_0x313225(0x110)][_0x313225(0x1bd)][_0x313225(0x1f2)](_0x315641),_0x53d833=this[_0x313225(0x110)][_0x313225(0x1bd)][_0x313225(0x1f2)](_0x971859);this[_0x313225(0x110)][_0x313225(0x11e)](_0x313225(0x17a)),_0x53d833[_0x313225(0x11b)][_0x313225(0x1c8)](this[_0x313225(0x1d7)])&&_0x53d833[_0x313225(0xf0)](this[_0x313225(0x1d7)]),_0x25b06d[_0x313225(0x15a)](this),this[_0x313225(0xed)](),super[_0x313225(0x1ba)]();}async[_0x142698(0x14f)](_0x7ed6e6){const _0x52fd0f=_0x142698;if(this[_0x52fd0f(0x196)]!==_0x7ed6e6[_0x52fd0f(0x196)]&&this[_0x52fd0f(0x1b0)]!==_0x7ed6e6[_0x52fd0f(0xf3)])throw new $();return this[_0x52fd0f(0x196)]=_0x7ed6e6[_0x52fd0f(0x196)],this[_0x52fd0f(0x10a)]([],{..._0x7ed6e6,'wereChangesApplied':!0x1,'data':_0x7ed6e6[_0x52fd0f(0x1e9)]},_0x52fd0f(0x12a));}async[_0x142698(0x163)](_0x6d4e6c,_0x12e77e=!0x1){const _0x69e887=_0x142698,{connection:_0x5aa2e6}=this[_0x69e887(0x110)][_0x69e887(0x1bd)][_0x69e887(0x1f2)](_0x315641);RealTimeCollaborationClient[_0x69e887(0x1e4)][_0x69e887(0x191)](_0x5aa2e6,this[_0x69e887(0x1d7)])[_0x69e887(0x131)](_0x628cf0=>this[_0x69e887(0x102)](_0x628cf0))[_0x69e887(0xfa)](_0x21c270=>{const _0x314c10=_0x69e887;this[_0x314c10(0x1b8)](_0x314c10(0x1df),_0x21c270);}),this[_0x69e887(0x149)](this[_0x69e887(0x155)],_0x69e887(0x1de),this[_0x69e887(0xf6)][_0x69e887(0x1ee)](this)),this[_0x69e887(0x149)](this[_0x69e887(0x155)],_0x69e887(0x193),(_0x3bec06,_0x38ad34)=>{const _0xb1fb74=_0x69e887;this[_0xb1fb74(0x1b8)](_0xb1fb74(0x1d3),_0x38ad34);}),this[_0x69e887(0x149)](this[_0x69e887(0x155)],_0x69e887(0x11c),()=>{const _0x1604c9=_0x69e887;this[_0x1604c9(0x198)]=!0x1;});const _0x51bfc0=this[_0x69e887(0x129)][_0x69e887(0x1a5)](_0x6d4e6c);this[_0x69e887(0x126)]=!0x0;const _0x43cb7e=await this[_0x69e887(0x155)][_0x69e887(0x16a)](_0x5aa2e6,this[_0x69e887(0x1a0)](_0x6d4e6c),_0x51bfc0);if(this[_0x69e887(0x196)]=_0x43cb7e[_0x69e887(0x196)],_0x12e77e){if(!_0x43cb7e[_0x69e887(0x103)])return void this[_0x69e887(0x135)]();this[_0x69e887(0x126)]=!0x1,this[_0x69e887(0x1ac)](),this[_0x69e887(0x158)][_0x69e887(0x10b)](),this[_0x69e887(0x1d2)]=_0x43cb7e[_0x69e887(0x1b4)],this[_0x69e887(0x158)][_0x69e887(0x14c)]=this[_0x69e887(0x1d2)],await this[_0x69e887(0x10a)](_0x6d4e6c,_0x43cb7e,_0x69e887(0x14e));}else await this[_0x69e887(0x1af)](_0x43cb7e,_0x6d4e6c);this[_0x69e887(0x1b3)](),this[_0x69e887(0x198)]=!0x0;}[_0x142698(0x1b3)](){const _0xe6e4a1=_0x142698,_0x5cde78=this[_0xe6e4a1(0x110)][_0xe6e4a1(0x1bd)][_0xe6e4a1(0x1f2)](_0x971859),_0x18e896=this[_0xe6e4a1(0x110)][_0xe6e4a1(0x1bd)][_0xe6e4a1(0x1f2)](_0x443f84),_0x1ded84=_0x5cde78[_0xe6e4a1(0x11b)][_0xe6e4a1(0x1f2)](this[_0xe6e4a1(0x1d7)]);_0x1ded84&&_0x1ded84[_0xe6e4a1(0x1a1)]>0x1?_0x18e896[_0xe6e4a1(0x10d)]():this[_0xe6e4a1(0x149)](_0x5cde78,_0xe6e4a1(0x105)+this[_0xe6e4a1(0x1d7)],()=>{const _0x4d8b91=_0xe6e4a1;0x2===_0x5cde78[_0x4d8b91(0x11b)][_0x4d8b91(0x1f2)](this[_0x4d8b91(0x1d7)])[_0x4d8b91(0x1a1)]&&_0x18e896[_0x4d8b91(0x10d)]();});}async[_0x142698(0xf6)](_0x13db25,_0x450598,_0x4bc015,_0x429df2){const _0x32a717=_0x142698;if(!this[_0x32a717(0x126)]&&this[_0x32a717(0x10f)][_0x32a717(0x14c)]==_0x450598){const _0x19958d=this[_0x32a717(0x189)](_0x4bc015,_0x429df2);await this[_0x32a717(0x195)](_0x19958d),this[_0x32a717(0x172)](_0x19958d,_0x450598,_0x4bc015[_0x32a717(0xf3)])||this[_0x32a717(0x1b8)](_0x32a717(0x161));}}async[_0x142698(0xf5)](){const _0x43efb8=_0x142698;this[_0x43efb8(0xed)]();const {locale:_0x54baf1}=this[_0x43efb8(0x110)];let _0x2d3463;try{_0x2d3463=await this[_0x43efb8(0x155)][_0x43efb8(0x18c)]();}catch{const _0x5bee8b=_0x242cf3(_0x54baf1,_0x43efb8(0x1ab));return void this[_0x43efb8(0x135)](_0x5bee8b);}const _0x47e9e9=_0x2d3463[_0x43efb8(0x120)]||_0x2d3463[_0x43efb8(0x124)];if(this[_0x43efb8(0x1b0)]!==_0x47e9e9[_0x43efb8(0xf3)]){const _0x48dba4=_0x242cf3(_0x54baf1,_0x43efb8(0x15f));return void this[_0x43efb8(0x135)](_0x48dba4);}await this[_0x43efb8(0x163)](this[_0x43efb8(0x110)][_0x43efb8(0x18d)][_0x43efb8(0x140)][_0x43efb8(0x141)][_0x43efb8(0x14d)](),!0x0);}[_0x142698(0xed)](){const _0x251a9f=_0x142698;this[_0x251a9f(0x155)][_0x251a9f(0x146)](),this[_0x251a9f(0x1e3)]=[],clearTimeout(this[_0x251a9f(0x194)]),this[_0x251a9f(0x130)](this[_0x251a9f(0x155)]);}[_0x142698(0x102)](_0xfd82df){const _0x173b96=_0x142698,_0x5acbdf=this[_0x173b96(0x110)][_0x173b96(0x1bd)][_0x173b96(0x1f2)](_0x971859);this[_0x173b96(0x149)](_0x5acbdf,_0x173b96(0x105)+this[_0x173b96(0x1d7)],(_0x497626,{session:_0x31339d})=>{const _0x3a61e8=_0x173b96;if(_0x31339d['id']===_0x5acbdf[_0x3a61e8(0x128)]){_0x497626[_0x3a61e8(0x170)]();const _0x3332ea=this[_0x3a61e8(0x110)][_0x3a61e8(0x1bd)][_0x3a61e8(0x1c8)](_0x3a61e8(0x12b))&&this[_0x3a61e8(0x110)][_0x3a61e8(0x1bd)][_0x3a61e8(0x1f2)](_0x3a61e8(0x12b));let _0x295abb=_0x31339d[_0x3a61e8(0x115)];_0x3332ea&&_0x3332ea[_0x3a61e8(0x1a3)]&&(_0x295abb=_0x295abb[_0x3a61e8(0x1ea)](_0x153f53=>_0x3a61e8(0x18b)!==_0x153f53)),this[_0x3a61e8(0x110)][_0x3a61e8(0x1bd)][_0x3a61e8(0x1f2)](_0x3a61e8(0x144))[_0x3a61e8(0x1cb)](_0x295abb,this[_0x3a61e8(0x1d7)]);}}),_0x5acbdf[_0x173b96(0x181)](this[_0x173b96(0x1d7)],_0xfd82df);}[_0x142698(0x1c5)](){const _0x40388c=_0x142698,_0x36ecfb=this[_0x40388c(0x110)][_0x40388c(0x1e9)][_0x40388c(0x16f)];this[_0x40388c(0x110)][_0x40388c(0x1e9)][_0x40388c(0x16f)]=(..._0x1d0726)=>{const _0x31989e=_0x40388c;if(!_0x1d0726[_0x1d0726[_0x31989e(0x1a1)]-0x1][_0x31989e(0x173)])throw new _0x8e8064(_0x31989e(0x13d),this);_0x36ecfb[_0x31989e(0x176)](this[_0x31989e(0x110)][_0x31989e(0x1e9)],_0x1d0726);};}[_0x142698(0x12c)](){const _0x3a41e6=_0x142698;this[_0x3a41e6(0x110)][_0x3a41e6(0x1e9)]['on'](_0x3a41e6(0x1d5),(_0x5e3f1b,[_0x243d6c])=>{const _0x54b59f=_0x3a41e6;if(this[_0x54b59f(0x10f)][_0x54b59f(0x14c)])throw new _0x8e8064(_0x54b59f(0x1ec),this);_0x5e3f1b[_0x54b59f(0x121)](),this[_0x54b59f(0x1b6)]();const _0x458f1d=this[_0x54b59f(0x110)][_0x54b59f(0xee)][_0x54b59f(0x1f2)](_0x54b59f(0x15b)),_0x51e8a9=this[_0x54b59f(0x13b)](_0x243d6c,_0x458f1d);0x0==_0x51e8a9[_0x54b59f(0x1a1)]&&_0x51e8a9[_0x54b59f(0x1ad)](new _0xa7e1a8(0x0)),_0x5e3f1b[_0x54b59f(0x1b5)]=this[_0x54b59f(0x163)](_0x51e8a9)[_0x54b59f(0x131)](()=>{const _0x5ae95c=_0x54b59f;this[_0x5ae95c(0x110)][_0x5ae95c(0x1bd)][_0x5ae95c(0x1f2)](_0x315641)[_0x5ae95c(0x1ca)](this),this[_0x5ae95c(0x110)][_0x5ae95c(0x1e9)][_0x5ae95c(0x1f0)](_0x5ae95c(0x1a4));})[_0x54b59f(0xfa)](_0x540cba=>this[_0x54b59f(0x1b8)](_0x54b59f(0x111),_0x540cba))[_0x54b59f(0x1dd)](()=>this[_0x54b59f(0x1ac)]());},{'priority':_0x3a41e6(0x1a9)}),this[_0x3a41e6(0x110)]['on'](_0x3a41e6(0xf1),async(_0x39c03f,[_0x5ac6d7,_0x2d47d7])=>{const _0x531e16=_0x3a41e6;_0x39c03f[_0x531e16(0x121)]();const _0x13c7aa=this[_0x531e16(0x110)][_0x531e16(0x18d)][_0x531e16(0x140)][_0x531e16(0x169)](_0x5ac6d7);if(!this[_0x531e16(0x17e)][_0x531e16(0x1c8)](_0x5ac6d7)){const _0x2de328=_0x2d47d7&&_0x2d47d7[_0x531e16(0x1e9)]?_0x2d47d7[_0x531e16(0x1e9)]:'',_0x17cf73=_0x2d47d7&&_0x2d47d7[_0x531e16(0x1ed)]?_0x2d47d7[_0x531e16(0x1ed)]:{};await this[_0x531e16(0x171)](_0x5ac6d7,_0x2de328,_0x17cf73);}this[_0x531e16(0x110)][_0x531e16(0x18d)][_0x531e16(0x1d6)]({'isUndoable':!0x1},()=>{const _0x17752b=_0x531e16;_0x13c7aa[_0x17752b(0x17f)]=!0x0,this[_0x17752b(0x110)][_0x17752b(0x18d)][_0x17752b(0x140)][_0x17752b(0x1a2)][_0x17752b(0x188)](_0x13c7aa);});},{'priority':_0x3a41e6(0x1a9)});}async[_0x142698(0x195)](_0x415d9c){const _0x141c87=_0x142698,_0x4c7f87=this[_0x141c87(0x110)][_0x141c87(0x1bd)][_0x141c87(0x1f2)](_0x3c967d),{connection:_0x563aa1}=this[_0x141c87(0x110)][_0x141c87(0x1bd)][_0x141c87(0x1f2)](_0x315641),_0x13270f=new Set();for(const _0x16cc0b of _0x415d9c){const _0x11d5b2=_0x16cc0b[_0x141c87(0x1e6)];_0x11d5b2&&!_0x4c7f87[_0x141c87(0x19b)](_0x11d5b2)&&_0x13270f[_0x141c87(0x1c6)](_0x11d5b2);}if(0x0===_0x13270f[_0x141c87(0x166)])return;const _0x35b415=await _0x3ab2c1[_0x141c87(0x123)](_0x563aa1,Array[_0x141c87(0x14a)](_0x13270f));for(const _0x4cc4e6 of _0x35b415)_0x4c7f87[_0x141c87(0x19b)](_0x4cc4e6['id'])||_0x4c7f87[_0x141c87(0x1c4)](_0x4cc4e6);}[_0x142698(0x13b)](_0x7fbf0d,_0x488f3a={}){const _0x26b86e=_0x142698,_0x3fab74=this[_0x26b86e(0x110)][_0x26b86e(0x18d)],_0x2f86af=[];let _0x20e994=0x0;const _0x3b51fe=_0x26b86e(0x13a)==typeof _0x7fbf0d?{'main':_0x7fbf0d}:_0x7fbf0d;for(const _0x18fc7c of Object[_0x26b86e(0x1b2)](_0x3b51fe)){if(!this[_0x26b86e(0x10f)][_0x26b86e(0x122)][_0x26b86e(0x1c8)](_0x18fc7c))throw new _0x8e8064(_0x26b86e(0x125),this);const _0x802b8f=this[_0x26b86e(0x110)][_0x26b86e(0x1e9)][_0x26b86e(0x1d1)](_0x3b51fe[_0x18fc7c]),_0x37338c=this[_0x26b86e(0x10f)][_0x26b86e(0x169)](_0x18fc7c),_0x29dd4b=new _0x48d033(_0x3fab74[_0x26b86e(0x100)](_0x37338c,0x0),_0x802b8f,_0x20e994++);_0x2f86af[_0x26b86e(0x1ad)](_0x29dd4b);for(const [_0x281c97,_0x306c45]of _0x802b8f[_0x26b86e(0x138)]){const _0x5794d8=_0x3fab74[_0x26b86e(0x183)](_0x3fab74[_0x26b86e(0xf9)](_0x37338c,_0x306c45[_0x26b86e(0xf4)][_0x26b86e(0x1ce)][_0x26b86e(0x1c1)]()),_0x3fab74[_0x26b86e(0xf9)](_0x37338c,_0x306c45[_0x26b86e(0xff)][_0x26b86e(0x1ce)][_0x26b86e(0x1c1)]())),_0x3233d6=new _0x39e255(_0x281c97,null,_0x5794d8,_0x3fab74[_0x26b86e(0x138)],!0x0,_0x20e994++);_0x2f86af[_0x26b86e(0x1ad)](_0x3233d6);}}if(_0x488f3a)for(const [_0x54e4c0,_0x9d2fad]of Object[_0x26b86e(0x116)](_0x488f3a)){const _0x4e10c1=_0x3fab74[_0x26b86e(0x140)][_0x26b86e(0x169)](_0x54e4c0);if(!_0x4e10c1)throw new _0x8e8064(_0x26b86e(0x114),null);for(const [_0x581296,_0x5cb900]of Object[_0x26b86e(0x116)](_0x9d2fad))if(null!==_0x5cb900){const _0x4ca337=new _0x31cadd(_0x4e10c1,_0x581296,null,_0x5cb900,_0x20e994++);_0x2f86af[_0x26b86e(0x1ad)](_0x4ca337);}}return _0x2f86af;}async[_0x142698(0x171)](_0x10ebb1,_0x498f50,_0x5ef031){const _0x477240=_0x142698;this[_0x477240(0x13b)]({[_0x10ebb1]:_0x498f50},{[_0x10ebb1]:_0x5ef031})[_0x477240(0x10e)]((_0x268952,_0x5f3d40)=>{const _0x193864=_0x477240;_0x268952[_0x193864(0x157)]=this[_0x193864(0x10f)][_0x193864(0x14c)]+_0x5f3d40,_0x268952[_0x193864(0x1db)]=!0x0,this[_0x193864(0x16d)](_0x268952);}),this[_0x477240(0x127)](),await this[_0x477240(0x1d0)]();}async[_0x142698(0x1af)](_0x246da4,_0x4e67b2){const _0x1b1e06=_0x142698;let _0x313ce7;this[_0x1b1e06(0x1d2)]=_0x246da4[_0x1b1e06(0x1b4)];const _0x398b51=_0x246da4[_0x1b1e06(0x103)]&&!_0x246da4[_0x1b1e06(0x1b9)],_0x47fbcc=_0x398b51?0x0:_0x246da4[_0x1b1e06(0x1e9)][_0x1b1e06(0x157)];if(_0x4e67b2[_0x1b1e06(0x10e)](_0x8f9fb6=>{const _0x31ac61=_0x1b1e06;_0x8f9fb6[_0x31ac61(0x1db)]=!0x0,_0x8f9fb6[_0x31ac61(0x159)]=_0x246da4[_0x31ac61(0x108)],_0x8f9fb6[_0x31ac61(0x1e6)]=null;}),_0x398b51)_0x313ce7=_0x4e67b2,this[_0x1b1e06(0x13e)](_0x313ce7,_0x398b51);else{if(_0x246da4[_0x1b1e06(0x1b9)]){const _0x8b6797=this[_0x1b1e06(0x13b)](_0x246da4[_0x1b1e06(0x1b9)]);this[_0x1b1e06(0x10f)][_0x1b1e06(0x141)][_0x1b1e06(0x14c)]=-_0x8b6797[_0x1b1e06(0x1a1)],_0x8b6797[_0x1b1e06(0x10e)](_0x4a7e03=>{const _0x4aa3bb=_0x1b1e06;_0x4a7e03[_0x4aa3bb(0x157)]-=_0x8b6797[_0x4aa3bb(0x1a1)],_0x4a7e03[_0x4aa3bb(0x159)]=_0x246da4[_0x4aa3bb(0x108)],_0x4a7e03[_0x4aa3bb(0x1db)]=!0x0,_0x4a7e03[_0x4aa3bb(0x1e6)]=null;}),this[_0x1b1e06(0x13e)](_0x8b6797,!0x0),this[_0x1b1e06(0x158)][_0x1b1e06(0x14c)]=-_0x8b6797[_0x1b1e06(0x1a1)]+this[_0x1b1e06(0x1d2)],this[_0x1b1e06(0x1e8)](_0x8b6797);}this[_0x1b1e06(0x10f)][_0x1b1e06(0x141)][_0x1b1e06(0x14c)]=_0x47fbcc,_0x313ce7=this[_0x1b1e06(0x189)](_0x246da4[_0x1b1e06(0x1e9)],_0x246da4[_0x1b1e06(0x150)]),await this[_0x1b1e06(0x195)](_0x313ce7),this[_0x1b1e06(0x13e)](_0x313ce7,_0x398b51);}_0x246da4[_0x1b1e06(0xf3)]&&(this[_0x1b1e06(0x129)][_0x1b1e06(0x119)](_0x313ce7,_0x246da4[_0x1b1e06(0xf3)]),this[_0x1b1e06(0x1b0)]=_0x246da4[_0x1b1e06(0xf3)]),this[_0x1b1e06(0x158)][_0x1b1e06(0x14c)]=_0x47fbcc+this[_0x1b1e06(0x1d2)],this[_0x1b1e06(0x1e8)](_0x313ce7),_0x4e67b2[_0x1b1e06(0x1ea)](_0x441993=>{const _0x1c2dc5=_0x1b1e06,_0x4681e5=this[_0x1c2dc5(0x177)](_0x441993);return _0x4681e5&&!this[_0x1c2dc5(0x17e)][_0x1c2dc5(0x1c8)](_0x4681e5);})[_0x1b1e06(0x10e)]((_0x291fb6,_0x35c72b)=>{const _0x268a11=_0x1b1e06;_0x291fb6[_0x268a11(0x157)]=this[_0x268a11(0x10f)][_0x268a11(0x14c)]+_0x35c72b,this[_0x268a11(0x16d)](_0x291fb6);}),this[_0x1b1e06(0x13c)]()?(this[_0x1b1e06(0xf2)]=0x0,this[_0x1b1e06(0x127)](!0x0),await this[_0x1b1e06(0x1d0)]()):(this[_0x1b1e06(0x126)]=!0x1,this[_0x1b1e06(0x1ac)]());}[_0x142698(0x1b8)](_0x2043f5,_0x134570){const _0x2d2fbc=_0x142698,_0x43eb16=_0x134570&&_0x134570[_0x2d2fbc(0x175)];if(_0x43eb16&&_0x43eb16[_0x2d2fbc(0x1cf)](_0x2d2fbc(0x11a)))throw _0x134570;const _0x1df03b=this[_0x2d2fbc(0x110)][_0x2d2fbc(0x1bd)][_0x2d2fbc(0x1f2)](_0x315641);throw this[_0x2d2fbc(0x126)]=!0x0,_0x1df03b[_0x2d2fbc(0x146)](),this[_0x2d2fbc(0x110)][_0x2d2fbc(0x11e)](_0x2d2fbc(0x18f)),new _0x8e8064(_0x2043f5,this[_0x2d2fbc(0x110)],_0x43eb16?{'originalError':_0x43eb16}:void 0x0);}[_0x142698(0x16d)](_0x678b43){const _0x3a8142=_0x142698;this[_0x3a8142(0x197)][_0x3a8142(0x1c8)](_0x678b43)||(this[_0x3a8142(0x197)][_0x3a8142(0x1c6)](_0x678b43),this[_0x3a8142(0x1e3)][_0x3a8142(0x1ad)](_0x678b43),this[_0x3a8142(0x1e2)]||_0x3a8142(0x132)==_0x678b43[_0x3a8142(0x186)]&&!_0x678b43[_0x3a8142(0x168)]||this[_0x3a8142(0x1b6)]());}[_0x142698(0x127)](_0xa66480=!0x1){const _0x50ac0a=_0x142698;!_0xa66480&&this[_0x50ac0a(0x126)]||(this[_0x50ac0a(0x126)]=!0x0,clearTimeout(this[_0x50ac0a(0x194)]),this[_0x50ac0a(0x194)]=setTimeout(()=>{const _0x310b4a=_0x50ac0a;this[_0x310b4a(0x1a8)]()[_0x310b4a(0x131)](_0x7f39c0=>{const _0x28c044=_0x310b4a;_0x7f39c0&&(this[_0x28c044(0x1ac)](),this[_0x28c044(0x126)]=!0x1);})[_0x310b4a(0xfa)](_0x34c30c=>{const _0x5d6c49=_0x310b4a;this[_0x5d6c49(0x1ac)](),this[_0x5d6c49(0x126)]=!0x1,function(_0x3a48c7){const _0x14667f=_0x5d6c49;return _0x3a48c7[_0x14667f(0x175)][_0x14667f(0x1cf)](_0x14667f(0x13f))||_0x3a48c7[_0x14667f(0x175)][_0x14667f(0x1cf)](_0x14667f(0x133))||_0x3a48c7[_0x14667f(0x175)][_0x14667f(0x1cf)](_0x14667f(0x11d));}(_0x34c30c)||this[_0x5d6c49(0x1b8)](_0x34c30c[_0x5d6c49(0x175)],_0x34c30c);});},this[_0x50ac0a(0xf2)]));}[_0x142698(0x1d0)](){return new Promise(_0x45946b=>{const _0x3c34b9=_0x1058;this['on'](_0x3c34b9(0xfd),()=>{_0x45946b();});});}async[_0x142698(0x1a8)](){const _0x2cce45=_0x142698,_0x556421=this[_0x2cce45(0x110)][_0x2cce45(0x1bd)][_0x2cce45(0x1f2)](_0x443f84);if(this[_0x2cce45(0x1d4)]()&&(_0x556421[_0x2cce45(0x10d)](),this[_0x2cce45(0x101)]=!0x1),!this[_0x2cce45(0x13c)]())return!0x0;const _0x1b10cb=[...this[_0x2cce45(0x1e3)]];for(const _0x3d18a1 of _0x1b10cb)_0x3d18a1[_0x2cce45(0x1bb)]=this[_0x2cce45(0x10f)][_0x2cce45(0x141)][_0x2cce45(0x153)](_0x3d18a1);const _0x440447=this[_0x2cce45(0x129)][_0x2cce45(0x1a5)](_0x1b10cb),_0x5cf22b=G++,_0x1303bc=this[_0x2cce45(0x1a0)](_0x1b10cb),_0x2a577c=await this[_0x2cce45(0x155)][_0x2cce45(0x1aa)](_0x1303bc,_0x1303bc[_0x2cce45(0x157)],_0x440447);try{return await this[_0x2cce45(0x10a)](_0x1b10cb,_0x2a577c,_0x5cf22b);}catch(_0x4fa171){return this[_0x2cce45(0x1b8)](_0x2cce45(0x1cd),_0x4fa171);}}async[_0x142698(0x10a)](_0x8d05a5,_0x1c35c4,_0x3459b0){const _0x175c43=_0x142698;if(_0x175c43(0x193)in _0x1c35c4)throw _0x1c35c4[_0x175c43(0x193)];let _0x3cee53=!0x1;if(_0x1c35c4[_0x175c43(0x103)]){_0x1c35c4[_0x175c43(0xf3)]&&(this[_0x175c43(0x1b0)]=_0x1c35c4[_0x175c43(0xf3)]),this[_0x175c43(0x1e3)]=this[_0x175c43(0x1e3)][_0x175c43(0x1ea)](_0x58d6d6=>!_0x8d05a5[_0x175c43(0xef)](_0x58d6d6));for(const _0x233d7d of _0x8d05a5)_0x233d7d[_0x175c43(0x159)]=_0x175c43(0x1e1)in _0x1c35c4&&_0x1c35c4[_0x175c43(0x1e1)]||void 0x0;K(_0x8d05a5,_0x1c35c4[_0x175c43(0x14c)]-_0x8d05a5[_0x175c43(0x1a1)]),this[_0x175c43(0x1e8)](_0x8d05a5);const _0x2efa7f=_0x8d05a5[_0x175c43(0x1ea)](_0x7ce474=>{const _0x21eeea=_0x175c43;if(!_0x7ce474[_0x21eeea(0x1db)])return!0x1;const _0x35f83c=this[_0x21eeea(0x177)](_0x7ce474);return _0x35f83c&&!this[_0x21eeea(0x17e)][_0x21eeea(0x1c8)](_0x35f83c);});K(_0x2efa7f,this[_0x175c43(0x10f)][_0x175c43(0x14c)]),this[_0x175c43(0x13e)](_0x2efa7f),_0x3cee53=!0x0,this[_0x175c43(0xf2)]=this[_0x175c43(0x16c)];}else{const _0x535513=this[_0x175c43(0x189)](_0x1c35c4[_0x175c43(0x1e9)],_0x1c35c4[_0x175c43(0x150)])[_0x175c43(0x1ea)](_0x1b5148=>_0x1b5148[_0x175c43(0x157)]>=this[_0x175c43(0x1da)]);_0x535513[_0x175c43(0x10e)](_0x14f864=>this[_0x175c43(0x134)](_0x14f864)),this[_0x175c43(0x1e3)]=this[_0x175c43(0x1e3)][_0x175c43(0x1ea)](_0x118092=>!_0x118092[_0x175c43(0x1db)]||!this[_0x175c43(0x17e)][_0x175c43(0x1c8)](this[_0x175c43(0x177)](_0x118092))),this[_0x175c43(0x1e3)][_0x175c43(0x1a1)]&&K(this[_0x175c43(0x1e3)],this[_0x175c43(0x1e3)][0x0][_0x175c43(0x157)]),await this[_0x175c43(0x195)](_0x535513),_0x3cee53=this[_0x175c43(0x172)](_0x535513,_0x1c35c4[_0x175c43(0x14c)],_0x1c35c4[_0x175c43(0xf3)]),this[_0x175c43(0xf2)]=Math[_0x175c43(0x1dc)](this[_0x175c43(0xf2)]/0x2);}return _0x3cee53?!this[_0x175c43(0x13c)]()||(this[_0x175c43(0x127)](!0x0),!0x1):this[_0x175c43(0x1b8)](_0x175c43(0x180));}[_0x142698(0x172)](_0x64f714,_0x49e2cb,_0x59dc59){const _0x48232a=_0x142698;try{const _0x723feb={'document':this[_0x48232a(0x10f)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x46b2fa,operationsB:_0xf0ddf9,originalOperations:_0x5bb71b}=_0x44f26a(_0x64f714,this[_0x48232a(0x1e3)],_0x723feb);K(_0x46b2fa,this[_0x48232a(0x10f)][_0x48232a(0x14c)]),K(_0xf0ddf9,_0x49e2cb);for(const _0x5203cd of _0x46b2fa){const _0x366288=_0x5bb71b[_0x48232a(0x1f2)](_0x5203cd);_0x5203cd[_0x48232a(0x1e6)]=_0x366288?_0x366288[_0x48232a(0x1e6)]:null;}_0x59dc59&&(this[_0x48232a(0x129)][_0x48232a(0x119)](_0x64f714,_0x59dc59),this[_0x48232a(0x1b0)]=_0x59dc59),this[_0x48232a(0x1e3)]=[..._0xf0ddf9],this[_0x48232a(0x13e)](_0x46b2fa),this[_0x48232a(0x1e8)](_0x64f714);}catch(_0x47075e){return console[_0x48232a(0x193)](_0x47075e),!0x1;}return!0x0;}[_0x142698(0x13e)](_0x14536b,_0x199099=!0x1){const _0x2fdc57=_0x142698;this[_0x2fdc57(0x110)][_0x2fdc57(0x18d)][_0x2fdc57(0x1d6)]({'isUndoable':!0x1,'isLocal':!0x1},_0x129b3a=>{const _0x44fa0e=_0x2fdc57;for(const _0x5cc27c of _0x14536b)this[_0x44fa0e(0x197)][_0x44fa0e(0x1c6)](_0x5cc27c),this[_0x44fa0e(0x134)](_0x5cc27c),_0x129b3a[_0x44fa0e(0x185)][_0x44fa0e(0x1be)](_0x5cc27c),this[_0x44fa0e(0x110)][_0x44fa0e(0x18d)][_0x44fa0e(0x12f)](_0x5cc27c);});}[_0x142698(0x134)](_0x1e0c68){const _0x23bd5e=_0x142698,_0x57cdb5=this[_0x23bd5e(0x177)](_0x1e0c68);_0x57cdb5&&this[_0x23bd5e(0x17e)][_0x23bd5e(0x1c6)](_0x57cdb5);}[_0x142698(0x177)](_0x581c1c){const _0x3be13d=_0x142698;let _0x666252,_0x1736fb;switch(_0x581c1c[_0x3be13d(0x186)]){case _0x3be13d(0x1b7):_0x666252=_0x581c1c[_0x3be13d(0x1bf)][_0x3be13d(0x12d)];break;case _0x3be13d(0x132):if(_0x1736fb=_0x581c1c[_0x3be13d(0x12e)],!_0x1736fb)return null;_0x666252=_0x1736fb[_0x3be13d(0x12d)];break;case _0x3be13d(0x112):_0x666252=_0x581c1c[_0x3be13d(0x12d)];break;case _0x3be13d(0x1b1):_0x666252=_0x581c1c[_0x3be13d(0xfe)];break;case _0x3be13d(0x1ef):_0x666252=_0x581c1c[_0x3be13d(0x1c7)][_0x3be13d(0x12d)];break;default:return null;}return _0x666252[_0x3be13d(0x182)];}[_0x142698(0x1e8)](_0xdef8be){const _0x45a88b=_0x142698;_0xdef8be[_0x45a88b(0x10e)](_0x18e8ef=>{const _0x2d2ddb=_0x45a88b,_0x2c806b=_0x18e8ef[_0x2d2ddb(0x17c)]();_0x2c806b[_0x2d2ddb(0x1e6)]=_0x18e8ef[_0x2d2ddb(0x1e6)],_0x2c806b[_0x2d2ddb(0x1db)]=!!_0x18e8ef[_0x2d2ddb(0x1db)],_0x2c806b[_0x2d2ddb(0x159)]=_0x18e8ef[_0x2d2ddb(0x159)],_0x2c806b[_0x2d2ddb(0x157)]+=this[_0x2d2ddb(0x1d2)],_0x18e8ef[_0x2d2ddb(0x19d)]&&this[_0x2d2ddb(0x167)][_0x2d2ddb(0x1c6)](_0x2c806b),this[_0x2d2ddb(0x158)][_0x2d2ddb(0x1be)](_0x2c806b);});}[_0x142698(0x135)](_0x403a1b){const _0xcb6ada=_0x142698,_0x442836=this[_0xcb6ada(0x110)][_0xcb6ada(0x1bd)][_0xcb6ada(0x1f2)](_0xcb6ada(0x1bc)),_0x2e199b=this[_0xcb6ada(0x110)][_0xcb6ada(0x184)];_0x403a1b||(_0x403a1b=_0x242cf3(_0x2e199b,_0xcb6ada(0x156))),_0x442836[_0xcb6ada(0x1c3)](_0x403a1b,{'title':_0x242cf3(_0x2e199b,_0xcb6ada(0x113)),'namespace':_0xcb6ada(0x1cc)}),this[_0xcb6ada(0x1c2)]=!0x0,clearTimeout(this[_0xcb6ada(0x194)]),this[_0xcb6ada(0x1e3)]=[],this[_0xcb6ada(0x110)][_0xcb6ada(0x1bd)][_0xcb6ada(0x1f2)](_0x315641)[_0xcb6ada(0x146)]();}[_0x142698(0x1b6)](){const _0x34d12c=_0x142698;this[_0x34d12c(0x1e2)]||(this[_0x34d12c(0x1e2)]=this[_0x34d12c(0x110)][_0x34d12c(0x1bd)][_0x34d12c(0x1f2)](_0x2a85d7)[_0x34d12c(0x1c6)](_0x242cf3(this[_0x34d12c(0x110)][_0x34d12c(0x184)],_0x34d12c(0x1a7))));}[_0x142698(0x1ac)](){const _0x4aabcc=_0x142698;this[_0x4aabcc(0x1e2)]&&(this[_0x4aabcc(0x110)][_0x4aabcc(0x1bd)][_0x4aabcc(0x1f2)](_0x2a85d7)[_0x4aabcc(0x162)](this[_0x4aabcc(0x1e2)]),this[_0x4aabcc(0x1e2)]=null);}[_0x142698(0x1a0)](_0x160807){const _0xc49c48=_0x142698,_0x1f6295=_0x160807[_0xc49c48(0x187)](_0x44c702=>_0x44c702[_0xc49c48(0x17b)]());return this[_0xc49c48(0x109)][_0xc49c48(0x1c0)](_0x1f6295);}[_0x142698(0x189)](_0x2e3730,_0x5415dd){const _0xb3336b=_0x142698;return this[_0xb3336b(0x109)][_0xb3336b(0x16e)](_0x2e3730)[_0xb3336b(0x187)]((_0x1451ef,_0x1b797d)=>{const _0xe9afb4=_0xb3336b,_0xc400d7=_0xe9afb4(0x1d5)==_0x5415dd[_0x1b797d][_0xe9afb4(0x186)];if(_0xe9afb4(0x1d9)==_0x1451ef[_0xe9afb4(0x18a)]){const _0xeca4b5=_0x1451ef[_0xe9afb4(0x1bf)][_0xe9afb4(0x12d)];!this[_0xe9afb4(0x10f)][_0xe9afb4(0x169)](_0xeca4b5)&&(this[_0xe9afb4(0x10f)][_0xe9afb4(0x160)](_0xe9afb4(0x106),_0xeca4b5)[_0xe9afb4(0x142)]=!0x1);}const _0x40960f=_0x4c3971[_0xe9afb4(0x1a6)](_0x1451ef,this[_0xe9afb4(0x10f)]);return _0x40960f[_0xe9afb4(0x1bb)]=_0x1451ef[_0xe9afb4(0x1bb)],_0x40960f[_0xe9afb4(0x1db)]=_0xc400d7,_0x40960f[_0xe9afb4(0x1e6)]=_0xc400d7?null:_0x5415dd[_0x1b797d][_0xe9afb4(0x11f)],_0x40960f[_0xe9afb4(0x19d)]=_0xe9afb4(0x1eb)===_0x5415dd[_0x1b797d][_0xe9afb4(0x186)],_0x40960f[_0xe9afb4(0x159)]=_0x5415dd[_0x1b797d][_0xe9afb4(0x159)],_0x40960f;});}[_0x142698(0x178)](){const _0x41ee2f=_0x142698;this[_0x41ee2f(0x101)]=!0x0,this[_0x41ee2f(0x1d4)]()?this[_0x41ee2f(0x127)]():this[_0x41ee2f(0x101)]=!0x1;}[_0x142698(0x1d4)](){const _0x4a33a7=_0x142698,_0x1facb0=this[_0x4a33a7(0x110)][_0x4a33a7(0x1bd)][_0x4a33a7(0x1f2)](_0x971859)[_0x4a33a7(0x11b)][_0x4a33a7(0x1f2)](this[_0x4a33a7(0x1d7)]);return!this[_0x4a33a7(0x110)][_0x4a33a7(0x19e)]&&!!_0x1facb0&&_0x1facb0[_0x4a33a7(0x1a1)]>0x1&&this[_0x4a33a7(0x101)];}[_0x142698(0x13c)](){const _0x337f0c=_0x142698;return this[_0x337f0c(0x1e3)][_0x337f0c(0x1a1)]>0x0||this[_0x337f0c(0x1d4)]();}}class $ extends Error{}function K(_0x150038,_0x1915a9){const _0x624196=_0x142698;for(const _0x4f0e34 of _0x150038)_0x4f0e34[_0x624196(0x157)]=_0x1915a9++;}function _0x1058(_0x5acf59,_0x1067f5){const _0x269200=_0x2692();return _0x1058=function(_0x10586b,_0xf032ed){_0x10586b=_0x10586b-0xed;let _0x3f17f5=_0x269200[_0x10586b];return _0x3f17f5;},_0x1058(_0x5acf59,_0x1067f5);}class J{[_0x142698(0x136)];[_0x142698(0x137)];constructor(_0x1026e3){const _0x9602e9=_0x142698;this[_0x9602e9(0x136)]=_0x1026e3,this[_0x9602e9(0x137)]=new WeakMap();}[_0x142698(0x1a5)](_0x1c8080){const _0x402d90=_0x142698;let _0x246f9f=_0x1c8080[_0x402d90(0x1a1)];for(;_0x246f9f--;){const _0x50e904=_0x1c8080[_0x246f9f];if(!this[_0x402d90(0x136)][_0x402d90(0x1c8)](_0x50e904)){if(!this[_0x402d90(0x137)][_0x402d90(0x1c8)](_0x50e904)){const _0x24542d=_0x2c3084()[_0x402d90(0x1c1)](0x1,0x12);this[_0x402d90(0x137)][_0x402d90(0x16f)](_0x50e904,_0x24542d);}return this[_0x402d90(0x137)][_0x402d90(0x1f2)](_0x50e904);}}}[_0x142698(0x119)](_0x341a9c,_0x6c08f5){const _0xe215ec=_0x142698;if(!_0x6c08f5)return;let _0x4c7271=_0x341a9c[_0xe215ec(0x1a1)];for(;_0x4c7271--;){const _0x17062b=_0x341a9c[_0x4c7271];this[_0xe215ec(0x136)][_0xe215ec(0x1c8)](_0x17062b)||this[_0xe215ec(0x137)][_0xe215ec(0x16f)](_0x17062b,_0x6c08f5);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x23a124=_0x4df8;function _0x4df8(_0x35a051,_0x11364){const _0x30dda8=_0x30dd();return _0x4df8=function(_0x4df84c,_0x17a1f6){_0x4df84c=_0x4df84c-0xe1;let _0x2d32b9=_0x30dda8[_0x4df84c];return _0x2d32b9;},_0x4df8(_0x35a051,_0x11364);}(function(_0x19c52a,_0x372a10){const _0x26e373=_0x4df8,_0x2c50c2=_0x19c52a();while(!![]){try{const _0xe3943a=-parseInt(_0x26e373(0xed))/0x1*(parseInt(_0x26e373(0xe6))/0x2)+parseInt(_0x26e373(0x102))/0x3*(parseInt(_0x26e373(0x11c))/0x4)+parseInt(_0x26e373(0xe3))/0x5+parseInt(_0x26e373(0x111))/0x6*(-parseInt(_0x26e373(0xfb))/0x7)+-parseInt(_0x26e373(0x10c))/0x8+-parseInt(_0x26e373(0xf9))/0x9*(-parseInt(_0x26e373(0xf3))/0xa)+-parseInt(_0x26e373(0xe8))/0xb*(parseInt(_0x26e373(0x110))/0xc);if(_0xe3943a===_0x372a10)break;else _0x2c50c2['push'](_0x2c50c2['shift']());}catch(_0x1992eb){_0x2c50c2['push'](_0x2c50c2['shift']());}}}(_0x30dd,0xbed74));import{ContextPlugin as _0x5c34fe}from'ckeditor5/src/core.js';import{Collection as _0x296a3b,CKEditorError as _0x49d0c1}from'ckeditor5/src/utils.js';function _0x30dd(){const _0x18ce63=['get','plugins','63gTUYWc','forEach','681555kPIQVI','addUser','remove','delete','clear','allConnectedUsers','context','135cBcJLv','orderNumber','requires','init','size','_handleSessionAdd','getUser','isMe','_uniqueUsersCount','_users','4141120EgFUrK','mySessionId','_handleSessionRemove','role','9035256fgKImA','24LNnRcA','getUserSessions','has','getUserBySessionId','sessionAdd:','_registeredSessions','assign','listenTo','pluginName','isOfficialPlugin','unregister','33148ZYWIsz','channelSessions','Sessions','add','register','sessions-unregister-not-exist','_createUser','sessions-register-already-registered','5840730dfeMFn','getUserRole','change:state','314akUgBa','sessionId','11AhEDks','state','connected','channelConnectedUsers','set','2903eeKuQG','user','values','isPremiumPlugin','fire','defineMe','1937760hIzKMP','stopListening','hiddenInPresenceList','connection'];_0x30dd=function(){return _0x18ce63;};return _0x30dd();}import{WebSocketGateway as _0x3e7ab7}from'./websocketgateway.js';import{Users as _0x2d8c4c}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x5c34fe{[_0x23a124(0x11d)];[_0x23a124(0xeb)];[_0x23a124(0x100)];[_0x23a124(0x116)];[_0x23a124(0x10a)];[_0x23a124(0x10b)];static get[_0x23a124(0x119)](){const _0x31f39e=_0x23a124;return _0x31f39e(0x11e);}static get[_0x23a124(0x11a)](){return!0x0;}static get[_0x23a124(0xf0)](){return!0x0;}static get[_0x23a124(0x104)](){return[_0x3e7ab7,_0x2d8c4c];}constructor(_0x44b341){const _0x57e68e=_0x23a124;super(_0x44b341),this[_0x57e68e(0x11d)]=new Map(),this[_0x57e68e(0xeb)]=new Map(),this[_0x57e68e(0x100)]=new _0x296a3b(),this[_0x57e68e(0x116)]=new Map(),this[_0x57e68e(0x10a)]=0x0,this[_0x57e68e(0x10b)]=this[_0x57e68e(0x101)][_0x57e68e(0xf8)][_0x57e68e(0xf7)](_0x2d8c4c);}[_0x23a124(0x105)](){const _0x3a223d=_0x23a124,_0x4e4dab=this[_0x3a223d(0x101)][_0x3a223d(0xf8)][_0x3a223d(0xf7)](_0x3e7ab7);this[_0x3a223d(0x118)](_0x4e4dab,_0x3a223d(0xe5),(_0x168e12,_0x165af5,_0x42d27d)=>{const _0x21cf8a=_0x3a223d;if(_0x21cf8a(0xea)!==_0x42d27d)this[_0x21cf8a(0x11d)][_0x21cf8a(0xfa)](_0x125b8c=>_0x125b8c[_0x21cf8a(0xff)]()),this[_0x21cf8a(0xeb)][_0x21cf8a(0xfa)](_0x35223d=>_0x35223d[_0x21cf8a(0xff)]()),this[_0x21cf8a(0x100)][_0x21cf8a(0xff)]();else{for(const [_0x52c8d8,_0x3c2696]of this[_0x21cf8a(0x116)])for(const _0x42633b of _0x3c2696)this[_0x21cf8a(0x107)](_0x52c8d8,_0x42633b);}}),this[_0x3a223d(0xe1)](_0x4e4dab[_0x3a223d(0xf6)]['me'],!0x0);}[_0x23a124(0x120)](_0x25106a,_0x445dc5){const _0xb080a4=_0x23a124;if(this[_0xb080a4(0x116)][_0xb080a4(0x113)](_0x25106a))throw new _0x49d0c1(_0xb080a4(0xe2),null,{'channelId':_0x25106a});this[_0xb080a4(0x116)][_0xb080a4(0xec)](_0x25106a,_0x445dc5),this[_0xb080a4(0x11d)][_0xb080a4(0xec)](_0x25106a,new _0x296a3b()),this[_0xb080a4(0xeb)][_0xb080a4(0xec)](_0x25106a,new _0x296a3b()),this[_0xb080a4(0x118)](_0x445dc5,_0xb080a4(0x11f),(_0x7b2061,_0x57e61f)=>this[_0xb080a4(0x107)](_0x25106a,_0x57e61f)),this[_0xb080a4(0x118)](_0x445dc5,_0xb080a4(0xfd),(_0x2ec06d,_0x26c2ad)=>this[_0xb080a4(0x10e)](_0x25106a,_0x26c2ad));for(const _0x2bfc42 of _0x445dc5)this[_0xb080a4(0x107)](_0x25106a,_0x2bfc42);}[_0x23a124(0x11b)](_0xa49413){const _0x16ac9c=_0x23a124;if(!this[_0x16ac9c(0x116)][_0x16ac9c(0x113)](_0xa49413))throw new _0x49d0c1(_0x16ac9c(0x121),null,{'channelId':_0xa49413});const _0x1e6ca6=this[_0x16ac9c(0x116)][_0x16ac9c(0xf7)](_0xa49413);this[_0x16ac9c(0xf4)](_0x1e6ca6);for(const _0x30daf9 of _0x1e6ca6)_0x16ac9c(0xea)===this[_0x16ac9c(0x101)][_0x16ac9c(0xf8)][_0x16ac9c(0xf7)](_0x3e7ab7)[_0x16ac9c(0xe9)]&&this[_0x16ac9c(0x10e)](_0xa49413,_0x30daf9);this[_0x16ac9c(0x116)][_0x16ac9c(0xfe)](_0xa49413),this[_0x16ac9c(0x11d)][_0x16ac9c(0xfe)](_0xa49413),this[_0x16ac9c(0xeb)][_0x16ac9c(0xfe)](_0xa49413);}get[_0x23a124(0x10d)](){const _0x13e652=_0x23a124;return this[_0x13e652(0x101)][_0x13e652(0xf8)][_0x13e652(0xf7)](_0x3e7ab7)[_0x13e652(0xf6)][_0x13e652(0xe7)];}[_0x23a124(0x114)](_0x148714){const _0x5daf53=_0x23a124;for(const _0x543ba6 of this[_0x5daf53(0x11d)][_0x5daf53(0xef)]())for(const _0x5121f4 of _0x543ba6)if(_0x5121f4['id']===_0x148714)return _0x5121f4[_0x5daf53(0xee)];}[_0x23a124(0x112)](_0x1934e0,_0x3fd731){const _0x861c89=_0x23a124,_0x16a7cb=_0x3fd731?[this[_0x861c89(0x11d)][_0x861c89(0xf7)](_0x3fd731)]:this[_0x861c89(0x11d)][_0x861c89(0xef)](),_0x7af0ad=new Set();for(const _0x33244b of _0x16a7cb)for(const _0x2cdd00 of _0x33244b)_0x2cdd00[_0x861c89(0xee)]['id']===_0x1934e0['id']&&_0x7af0ad[_0x861c89(0x11f)](_0x2cdd00['id']);return _0x7af0ad;}[_0x23a124(0xe4)](_0x2c5e95){const _0xa5fc22=_0x23a124;for(const _0x46d509 of this[_0xa5fc22(0x11d)][_0xa5fc22(0xef)]())for(const _0x40f5a4 of _0x46d509)if(_0x40f5a4[_0xa5fc22(0xee)]===_0x2c5e95)return _0x40f5a4[_0xa5fc22(0x10f)];}[_0x23a124(0x107)](_0x416843,_0x95c322){const _0x257704=_0x23a124;if(_0x257704(0xea)!==this[_0x257704(0x101)][_0x257704(0xf8)][_0x257704(0xf7)](_0x3e7ab7)[_0x257704(0xe9)])return;const _0x2f1204=_0x95c322[_0x257704(0xee)],_0x406b27=this[_0x257704(0x10b)][_0x257704(0x108)](_0x2f1204['id'])||this[_0x257704(0xe1)](_0x2f1204),_0x58f5e4=Object[_0x257704(0x117)]({},_0x95c322,{'user':_0x406b27});if(this[_0x257704(0x11d)][_0x257704(0xf7)](_0x416843)[_0x257704(0x11f)](_0x58f5e4),!_0x2f1204[_0x257704(0xf5)]){const _0xd2ae2c=this[_0x257704(0xeb)][_0x257704(0xf7)](_0x416843);_0xd2ae2c[_0x257704(0x113)](_0x406b27['id'])||_0xd2ae2c[_0x257704(0x11f)](_0x406b27),this[_0x257704(0x100)][_0x257704(0x113)](_0x406b27['id'])||_0x2f1204[_0x257704(0xf5)]||this[_0x257704(0x100)][_0x257704(0x11f)](_0x406b27,_0x406b27[_0x257704(0x109)]?0x0:void 0x0);}this[_0x257704(0xf1)](_0x257704(0x115)+_0x416843,{'channelId':_0x416843,'session':_0x58f5e4});}[_0x23a124(0x10e)](_0x12f74e,_0x2450b9){const _0x4a963c=_0x23a124;if(_0x4a963c(0xea)!==this[_0x4a963c(0x101)][_0x4a963c(0xf8)][_0x4a963c(0xf7)](_0x3e7ab7)[_0x4a963c(0xe9)])return;const _0x425cfb=this[_0x4a963c(0xeb)][_0x4a963c(0xf7)](_0x12f74e),_0x1fc9a4=_0x2450b9[_0x4a963c(0xee)];_0x1fc9a4['id']&&(this[_0x4a963c(0x11d)][_0x4a963c(0xf7)](_0x12f74e)[_0x4a963c(0xfd)](_0x2450b9['id']),_0x425cfb[_0x4a963c(0x113)](_0x1fc9a4['id'])&&!this[_0x4a963c(0x112)](_0x1fc9a4,_0x12f74e)[_0x4a963c(0x106)]&&_0x425cfb[_0x4a963c(0xfd)](_0x1fc9a4['id']),this[_0x4a963c(0x100)][_0x4a963c(0xf7)](_0x1fc9a4['id'])&&!this[_0x4a963c(0x112)](_0x1fc9a4)[_0x4a963c(0x106)]&&this[_0x4a963c(0x100)][_0x4a963c(0xfd)](_0x1fc9a4['id']));}[_0x23a124(0xe1)](_0x127bd0,_0x63e002){const _0x1666ee=_0x23a124,_0x466a63=this[_0x1666ee(0x10b)][_0x1666ee(0xfc)](_0x127bd0);return _0x63e002&&this[_0x1666ee(0x10b)][_0x1666ee(0xf2)](_0x127bd0['id']),_0x466a63[_0x1666ee(0x103)]=this[_0x1666ee(0x10a)]++,_0x466a63;}}
23
+ const _0x1bbd3f=_0x3efa;(function(_0x57f44c,_0x289fdb){const _0x378b76=_0x3efa,_0x41feef=_0x57f44c();while(!![]){try{const _0x1b7f6e=parseInt(_0x378b76(0x18d))/0x1+-parseInt(_0x378b76(0x183))/0x2*(-parseInt(_0x378b76(0x187))/0x3)+-parseInt(_0x378b76(0x1a5))/0x4+parseInt(_0x378b76(0x194))/0x5+parseInt(_0x378b76(0x1a8))/0x6+-parseInt(_0x378b76(0x178))/0x7+parseInt(_0x378b76(0x171))/0x8*(-parseInt(_0x378b76(0x1a6))/0x9);if(_0x1b7f6e===_0x289fdb)break;else _0x41feef['push'](_0x41feef['shift']());}catch(_0x3c28ea){_0x41feef['push'](_0x41feef['shift']());}}}(_0xb8c9,0x933c0));import{ContextPlugin as _0x3cd457}from'ckeditor5/src/core.js';import{Collection as _0x1adec7,CKEditorError as _0x14e4d8}from'ckeditor5/src/utils.js';function _0x3efa(_0x47ae08,_0x2b8e3b){const _0xb8c9bb=_0xb8c9();return _0x3efa=function(_0x3efacb,_0x486540){_0x3efacb=_0x3efacb-0x16b;let _0x5a626a=_0xb8c9bb[_0x3efacb];return _0x5a626a;},_0x3efa(_0x47ae08,_0x2b8e3b);}function _0xb8c9(){const _0x2968ae=['isPremiumPlugin','410092BErbAO','4707SgMoXl','plugins','138258ycLIjI','fire','forEach','sessionId','allConnectedUsers','assign','role','4936wPVKHJ','remove','get','clear','_uniqueUsersCount','getUser','add','4658437GHDFOK','isOfficialPlugin','delete','getUserBySessionId','getUserSessions','register','hiddenInPresenceList','isMe','_handleSessionRemove','user','unregister','78syAPan','connection','defineMe','set','35439lVMrrW','values','pluginName','context','Sessions','channelConnectedUsers','400998XQpzog','_handleSessionAdd','_registeredSessions','requires','state','orderNumber','sessions-unregister-not-exist','4045145uteedV','change:state','has','listenTo','size','connected','stopListening','addUser','init','sessionAdd:','getUserRole','_users','_createUser','mySessionId','channelSessions','sessions-register-already-registered'];_0xb8c9=function(){return _0x2968ae;};return _0xb8c9();}import{WebSocketGateway as _0x3a3ec2}from'./websocketgateway.js';import{Users as _0x2462a1}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x3cd457{[_0x1bbd3f(0x1a2)];[_0x1bbd3f(0x18c)];[_0x1bbd3f(0x16e)];[_0x1bbd3f(0x18f)];[_0x1bbd3f(0x175)];[_0x1bbd3f(0x19f)];static get[_0x1bbd3f(0x189)](){const _0x42f716=_0x1bbd3f;return _0x42f716(0x18b);}static get[_0x1bbd3f(0x179)](){return!0x0;}static get[_0x1bbd3f(0x1a4)](){return!0x0;}static get[_0x1bbd3f(0x190)](){return[_0x3a3ec2,_0x2462a1];}constructor(_0x58100e){const _0x3d666e=_0x1bbd3f;super(_0x58100e),this[_0x3d666e(0x1a2)]=new Map(),this[_0x3d666e(0x18c)]=new Map(),this[_0x3d666e(0x16e)]=new _0x1adec7(),this[_0x3d666e(0x18f)]=new Map(),this[_0x3d666e(0x175)]=0x0,this[_0x3d666e(0x19f)]=this[_0x3d666e(0x18a)][_0x3d666e(0x1a7)][_0x3d666e(0x173)](_0x2462a1);}[_0x1bbd3f(0x19c)](){const _0x4114b4=_0x1bbd3f,_0x18446c=this[_0x4114b4(0x18a)][_0x4114b4(0x1a7)][_0x4114b4(0x173)](_0x3a3ec2);this[_0x4114b4(0x197)](_0x18446c,_0x4114b4(0x195),(_0x520b9b,_0x62a7e6,_0x12c67e)=>{const _0x5a5aef=_0x4114b4;if(_0x5a5aef(0x199)!==_0x12c67e)this[_0x5a5aef(0x1a2)][_0x5a5aef(0x16c)](_0x333cae=>_0x333cae[_0x5a5aef(0x174)]()),this[_0x5a5aef(0x18c)][_0x5a5aef(0x16c)](_0x4db512=>_0x4db512[_0x5a5aef(0x174)]()),this[_0x5a5aef(0x16e)][_0x5a5aef(0x174)]();else{for(const [_0x10b0a8,_0x4cefe9]of this[_0x5a5aef(0x18f)])for(const _0x489979 of _0x4cefe9)this[_0x5a5aef(0x18e)](_0x10b0a8,_0x489979);}}),this[_0x4114b4(0x1a0)](_0x18446c[_0x4114b4(0x184)]['me'],!0x0);}[_0x1bbd3f(0x17d)](_0x1852a5,_0xa3c4ac){const _0x2532b2=_0x1bbd3f;if(this[_0x2532b2(0x18f)][_0x2532b2(0x196)](_0x1852a5))throw new _0x14e4d8(_0x2532b2(0x1a3),null,{'channelId':_0x1852a5});this[_0x2532b2(0x18f)][_0x2532b2(0x186)](_0x1852a5,_0xa3c4ac),this[_0x2532b2(0x1a2)][_0x2532b2(0x186)](_0x1852a5,new _0x1adec7()),this[_0x2532b2(0x18c)][_0x2532b2(0x186)](_0x1852a5,new _0x1adec7()),this[_0x2532b2(0x197)](_0xa3c4ac,_0x2532b2(0x177),(_0x36683a,_0x138e9c)=>this[_0x2532b2(0x18e)](_0x1852a5,_0x138e9c)),this[_0x2532b2(0x197)](_0xa3c4ac,_0x2532b2(0x172),(_0x44ae72,_0x1905d9)=>this[_0x2532b2(0x180)](_0x1852a5,_0x1905d9));for(const _0x1ad374 of _0xa3c4ac)this[_0x2532b2(0x18e)](_0x1852a5,_0x1ad374);}[_0x1bbd3f(0x182)](_0x53d9eb){const _0xa389fe=_0x1bbd3f;if(!this[_0xa389fe(0x18f)][_0xa389fe(0x196)](_0x53d9eb))throw new _0x14e4d8(_0xa389fe(0x193),null,{'channelId':_0x53d9eb});const _0x4e32cb=this[_0xa389fe(0x18f)][_0xa389fe(0x173)](_0x53d9eb);this[_0xa389fe(0x19a)](_0x4e32cb);for(const _0x3832a7 of _0x4e32cb)_0xa389fe(0x199)===this[_0xa389fe(0x18a)][_0xa389fe(0x1a7)][_0xa389fe(0x173)](_0x3a3ec2)[_0xa389fe(0x191)]&&this[_0xa389fe(0x180)](_0x53d9eb,_0x3832a7);this[_0xa389fe(0x18f)][_0xa389fe(0x17a)](_0x53d9eb),this[_0xa389fe(0x1a2)][_0xa389fe(0x17a)](_0x53d9eb),this[_0xa389fe(0x18c)][_0xa389fe(0x17a)](_0x53d9eb);}get[_0x1bbd3f(0x1a1)](){const _0x1433b6=_0x1bbd3f;return this[_0x1433b6(0x18a)][_0x1433b6(0x1a7)][_0x1433b6(0x173)](_0x3a3ec2)[_0x1433b6(0x184)][_0x1433b6(0x16d)];}[_0x1bbd3f(0x17b)](_0x345f07){const _0x5aa9f4=_0x1bbd3f;for(const _0x43476f of this[_0x5aa9f4(0x1a2)][_0x5aa9f4(0x188)]())for(const _0x469ce7 of _0x43476f)if(_0x469ce7['id']===_0x345f07)return _0x469ce7[_0x5aa9f4(0x181)];}[_0x1bbd3f(0x17c)](_0x5e31cc,_0x50389){const _0x5a695a=_0x1bbd3f,_0x2f27d7=_0x50389?[this[_0x5a695a(0x1a2)][_0x5a695a(0x173)](_0x50389)]:this[_0x5a695a(0x1a2)][_0x5a695a(0x188)](),_0x5782ca=new Set();for(const _0x1785bd of _0x2f27d7)for(const _0x321d4c of _0x1785bd)_0x321d4c[_0x5a695a(0x181)]['id']===_0x5e31cc['id']&&_0x5782ca[_0x5a695a(0x177)](_0x321d4c['id']);return _0x5782ca;}[_0x1bbd3f(0x19e)](_0x2fb177){const _0x41a6d6=_0x1bbd3f;for(const _0x27600c of this[_0x41a6d6(0x1a2)][_0x41a6d6(0x188)]())for(const _0x3d5a2e of _0x27600c)if(_0x3d5a2e[_0x41a6d6(0x181)]===_0x2fb177)return _0x3d5a2e[_0x41a6d6(0x170)];}[_0x1bbd3f(0x18e)](_0x3e9273,_0x4fb870){const _0x28198d=_0x1bbd3f;if(_0x28198d(0x199)!==this[_0x28198d(0x18a)][_0x28198d(0x1a7)][_0x28198d(0x173)](_0x3a3ec2)[_0x28198d(0x191)])return;const _0x496e71=_0x4fb870[_0x28198d(0x181)],_0x7e54ef=this[_0x28198d(0x19f)][_0x28198d(0x176)](_0x496e71['id'])||this[_0x28198d(0x1a0)](_0x496e71),_0x21cff3=Object[_0x28198d(0x16f)]({},_0x4fb870,{'user':_0x7e54ef});if(this[_0x28198d(0x1a2)][_0x28198d(0x173)](_0x3e9273)[_0x28198d(0x177)](_0x21cff3),!_0x496e71[_0x28198d(0x17e)]){const _0x6d5f5a=this[_0x28198d(0x18c)][_0x28198d(0x173)](_0x3e9273);_0x6d5f5a[_0x28198d(0x196)](_0x7e54ef['id'])||_0x6d5f5a[_0x28198d(0x177)](_0x7e54ef),this[_0x28198d(0x16e)][_0x28198d(0x196)](_0x7e54ef['id'])||_0x496e71[_0x28198d(0x17e)]||this[_0x28198d(0x16e)][_0x28198d(0x177)](_0x7e54ef,_0x7e54ef[_0x28198d(0x17f)]?0x0:void 0x0);}this[_0x28198d(0x16b)](_0x28198d(0x19d)+_0x3e9273,{'channelId':_0x3e9273,'session':_0x21cff3});}[_0x1bbd3f(0x180)](_0xc73a12,_0x3bb1a7){const _0x2da6ca=_0x1bbd3f;if(_0x2da6ca(0x199)!==this[_0x2da6ca(0x18a)][_0x2da6ca(0x1a7)][_0x2da6ca(0x173)](_0x3a3ec2)[_0x2da6ca(0x191)])return;const _0x2f1df1=this[_0x2da6ca(0x18c)][_0x2da6ca(0x173)](_0xc73a12),_0x5956de=_0x3bb1a7[_0x2da6ca(0x181)];_0x5956de['id']&&(this[_0x2da6ca(0x1a2)][_0x2da6ca(0x173)](_0xc73a12)[_0x2da6ca(0x172)](_0x3bb1a7['id']),_0x2f1df1[_0x2da6ca(0x196)](_0x5956de['id'])&&!this[_0x2da6ca(0x17c)](_0x5956de,_0xc73a12)[_0x2da6ca(0x198)]&&_0x2f1df1[_0x2da6ca(0x172)](_0x5956de['id']),this[_0x2da6ca(0x16e)][_0x2da6ca(0x173)](_0x5956de['id'])&&!this[_0x2da6ca(0x17c)](_0x5956de)[_0x2da6ca(0x198)]&&this[_0x2da6ca(0x16e)][_0x2da6ca(0x172)](_0x5956de['id']));}[_0x1bbd3f(0x1a0)](_0xd43628,_0x1eae06){const _0x5d2c6a=_0x1bbd3f,_0x5c41e9=this[_0x5d2c6a(0x19f)][_0x5d2c6a(0x19b)](_0xd43628);return _0x1eae06&&this[_0x5d2c6a(0x19f)][_0x5d2c6a(0x185)](_0xd43628['id']),_0x5c41e9[_0x5d2c6a(0x192)]=this[_0x5d2c6a(0x175)]++,_0x5c41e9;}}