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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-real-time-collaboration",
3
- "version": "47.3.0-alpha.7",
3
+ "version": "47.3.0",
4
4
  "description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -47,19 +47,19 @@
47
47
  ],
48
48
  "dependencies": {
49
49
  "@ckeditor/ckeditor-cloud-services-collaboration": "53.0.1",
50
- "@ckeditor/ckeditor5-cloud-services": "47.3.0-alpha.7",
51
- "@ckeditor/ckeditor5-comments": "47.3.0-alpha.7",
52
- "@ckeditor/ckeditor5-core": "47.3.0-alpha.7",
53
- "@ckeditor/ckeditor5-editor-multi-root": "47.3.0-alpha.7",
54
- "@ckeditor/ckeditor5-engine": "47.3.0-alpha.7",
55
- "@ckeditor/ckeditor5-operations-compressor": "47.3.0-alpha.7",
56
- "@ckeditor/ckeditor5-revision-history": "47.3.0-alpha.7",
57
- "@ckeditor/ckeditor5-theme-lark": "47.3.0-alpha.7",
58
- "@ckeditor/ckeditor5-track-changes": "47.3.0-alpha.7",
59
- "@ckeditor/ckeditor5-ui": "47.3.0-alpha.7",
60
- "@ckeditor/ckeditor5-utils": "47.3.0-alpha.7",
61
- "ckeditor5": "47.3.0-alpha.7",
62
- "ckeditor5-collaboration": "47.3.0-alpha.7",
50
+ "@ckeditor/ckeditor5-cloud-services": "47.3.0",
51
+ "@ckeditor/ckeditor5-comments": "47.3.0",
52
+ "@ckeditor/ckeditor5-core": "47.3.0",
53
+ "@ckeditor/ckeditor5-editor-multi-root": "47.3.0",
54
+ "@ckeditor/ckeditor5-engine": "47.3.0",
55
+ "@ckeditor/ckeditor5-operations-compressor": "47.3.0",
56
+ "@ckeditor/ckeditor5-revision-history": "47.3.0",
57
+ "@ckeditor/ckeditor5-theme-lark": "47.3.0",
58
+ "@ckeditor/ckeditor5-track-changes": "47.3.0",
59
+ "@ckeditor/ckeditor5-ui": "47.3.0",
60
+ "@ckeditor/ckeditor5-utils": "47.3.0",
61
+ "ckeditor5": "47.3.0",
62
+ "ckeditor5-collaboration": "47.3.0",
63
63
  "es-toolkit": "1.39.5"
64
64
  },
65
65
  "types": "src/index.d.ts",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1fb7b9=_0x1466;(function(_0x33933c,_0x2e50a9){const _0x6aa692=_0x1466,_0x1c0831=_0x33933c();while(!![]){try{const _0x3ac96a=-parseInt(_0x6aa692(0x1fc))/0x1*(parseInt(_0x6aa692(0x1ee))/0x2)+-parseInt(_0x6aa692(0x1e3))/0x3*(parseInt(_0x6aa692(0x1f3))/0x4)+parseInt(_0x6aa692(0x1e1))/0x5*(-parseInt(_0x6aa692(0x1f7))/0x6)+-parseInt(_0x6aa692(0x1f6))/0x7*(parseInt(_0x6aa692(0x1df))/0x8)+parseInt(_0x6aa692(0x1e8))/0x9*(-parseInt(_0x6aa692(0x1f1))/0xa)+-parseInt(_0x6aa692(0x1fa))/0xb*(-parseInt(_0x6aa692(0x1e4))/0xc)+-parseInt(_0x6aa692(0x1f9))/0xd*(-parseInt(_0x6aa692(0x1eb))/0xe);if(_0x3ac96a===_0x2e50a9)break;else _0x1c0831['push'](_0x1c0831['shift']());}catch(_0x4b1faf){_0x1c0831['push'](_0x1c0831['shift']());}}}(_0x3603,0x32725));function _0x3603(){const _0x223c43=['6weEDdP','bindTemplate','color','10EJrIXP','ck-user__full-name','396aMyPAP','element','getBackgroundColorClass','1288jHtggl','1057422VwXbIu','button','36881SWXFBk','550957ERpeFN','presentation','62737cJInjo','ck-presence-list__dropdown-list-item','name','10568iTSHGz','true','5ojXeoK','span','2727etXGYh','24sGNiDT','execute','focus','fire','245547ECHckt','setTemplate','tag','4102xiFHJo','ck-presence-list__marker','userView'];_0x3603=function(){return _0x223c43;};return _0x3603();}function _0x1466(_0xbac7d2,_0x461dc1){const _0x3603c4=_0x3603();return _0x1466=function(_0x14667b,_0x3a5919){_0x14667b=_0x14667b-0x1de;let _0x324616=_0x3603c4[_0x14667b];return _0x324616;},_0x1466(_0xbac7d2,_0x461dc1);}import{ListItemView as _0x40ed8a}from'ckeditor5/src/ui.js';import{UserView as _0x422b3d}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceDropdownListItemView extends _0x40ed8a{[_0x1fb7b9(0x1ed)];constructor(_0x27a5b4,_0x30d77a,_0x4a1b77){const _0x5e23b6=_0x1fb7b9;super(_0x27a5b4);const _0x293891=this[_0x5e23b6(0x1ef)];this[_0x5e23b6(0x1ed)]=new _0x422b3d(_0x27a5b4,_0x30d77a);const _0x499ae3={'tag':'li','attributes':{'class':['ck',_0x5e23b6(0x1fd)],'tabindex':-0x1,'role':_0x5e23b6(0x1fb),'aria-label':_0x30d77a[_0x5e23b6(0x1de)]},'children':[this[_0x5e23b6(0x1ed)],{'tag':_0x5e23b6(0x1e2),'attributes':{'class':['ck',_0x5e23b6(0x1f2)]},'children':[{'text':_0x30d77a[_0x5e23b6(0x1de)]}]},{'tag':_0x5e23b6(0x1e2),'attributes':{'class':['ck',_0x5e23b6(0x1ec),_0x30d77a[_0x5e23b6(0x1f0)][_0x5e23b6(0x1f5)]()],'aria-hidden':_0x5e23b6(0x1e0)}}]};_0x4a1b77&&(_0x499ae3[_0x5e23b6(0x1ea)]=_0x5e23b6(0x1f8),_0x499ae3['on']={'click':_0x293891['to'](()=>this[_0x5e23b6(0x1e7)](_0x5e23b6(0x1e5)))}),this[_0x5e23b6(0x1e9)](_0x499ae3);}[_0x1fb7b9(0x1e6)](){const _0x3ba075=_0x1fb7b9;this[_0x3ba075(0x1f4)][_0x3ba075(0x1e6)]();}}
23
+ const _0x26aa1e=_0x39f0;(function(_0x486437,_0x13910a){const _0xc8620a=_0x39f0,_0x233e3b=_0x486437();while(!![]){try{const _0x269e88=-parseInt(_0xc8620a(0x1a0))/0x1+parseInt(_0xc8620a(0x1a7))/0x2+parseInt(_0xc8620a(0x1ac))/0x3+parseInt(_0xc8620a(0x1a1))/0x4*(parseInt(_0xc8620a(0x19b))/0x5)+parseInt(_0xc8620a(0x1a3))/0x6*(-parseInt(_0xc8620a(0x1ab))/0x7)+parseInt(_0xc8620a(0x1a9))/0x8+parseInt(_0xc8620a(0x1aa))/0x9*(-parseInt(_0xc8620a(0x1ad))/0xa);if(_0x269e88===_0x13910a)break;else _0x233e3b['push'](_0x233e3b['shift']());}catch(_0x32f3ed){_0x233e3b['push'](_0x233e3b['shift']());}}}(_0x266d,0xb93ed));function _0x39f0(_0x54857a,_0x41f0b8){const _0x266d38=_0x266d();return _0x39f0=function(_0x39f09b,_0x117b02){_0x39f09b=_0x39f09b-0x197;let _0x4eca7a=_0x266d38[_0x39f09b];return _0x4eca7a;},_0x39f0(_0x54857a,_0x41f0b8);}import{ListItemView as _0x499701}from'ckeditor5/src/ui.js';function _0x266d(){const _0x28ed05=['63slWHQN','4038744nekhvT','70quyeVH','fire','bindTemplate','userView','color','getBackgroundColorClass','ck-presence-list__dropdown-list-item','ck-presence-list__marker','element','setTemplate','5835ulBmLe','true','ck-user__full-name','focus','span','64280jjSXjd','2428ZXuGlk','presentation','97512ArjNKO','tag','name','button','2015118bHYlHz','execute','9961760dgSjqU','4291821mgcURU'];_0x266d=function(){return _0x28ed05;};return _0x266d();}import{UserView as _0x30a76f}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceDropdownListItemView extends _0x499701{[_0x26aa1e(0x1b0)];constructor(_0x411f81,_0x417b95,_0x39b5b4){const _0x5e5cf7=_0x26aa1e;super(_0x411f81);const _0x5d33ce=this[_0x5e5cf7(0x1af)];this[_0x5e5cf7(0x1b0)]=new _0x30a76f(_0x411f81,_0x417b95);const _0x335c08={'tag':'li','attributes':{'class':['ck',_0x5e5cf7(0x197)],'tabindex':-0x1,'role':_0x5e5cf7(0x1a2),'aria-label':_0x417b95[_0x5e5cf7(0x1a5)]},'children':[this[_0x5e5cf7(0x1b0)],{'tag':_0x5e5cf7(0x19f),'attributes':{'class':['ck',_0x5e5cf7(0x19d)]},'children':[{'text':_0x417b95[_0x5e5cf7(0x1a5)]}]},{'tag':_0x5e5cf7(0x19f),'attributes':{'class':['ck',_0x5e5cf7(0x198),_0x417b95[_0x5e5cf7(0x1b1)][_0x5e5cf7(0x1b2)]()],'aria-hidden':_0x5e5cf7(0x19c)}}]};_0x39b5b4&&(_0x335c08[_0x5e5cf7(0x1a4)]=_0x5e5cf7(0x1a6),_0x335c08['on']={'click':_0x5d33ce['to'](()=>this[_0x5e5cf7(0x1ae)](_0x5e5cf7(0x1a8)))}),this[_0x5e5cf7(0x19a)](_0x335c08);}[_0x26aa1e(0x19e)](){const _0x2793ce=_0x26aa1e;this[_0x2793ce(0x199)][_0x2793ce(0x19e)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c3aca=_0x4f8f;(function(_0x27f4b7,_0x57d7df){const _0x25a142=_0x4f8f,_0x4c742b=_0x27f4b7();while(!![]){try{const _0x5ede1c=parseInt(_0x25a142(0x180))/0x1*(-parseInt(_0x25a142(0x176))/0x2)+parseInt(_0x25a142(0x17c))/0x3+parseInt(_0x25a142(0x18c))/0x4*(-parseInt(_0x25a142(0x173))/0x5)+-parseInt(_0x25a142(0x17d))/0x6*(parseInt(_0x25a142(0x16e))/0x7)+-parseInt(_0x25a142(0x172))/0x8*(parseInt(_0x25a142(0x16f))/0x9)+parseInt(_0x25a142(0x18d))/0xa*(parseInt(_0x25a142(0x178))/0xb)+parseInt(_0x25a142(0x17f))/0xc*(parseInt(_0x25a142(0x193))/0xd);if(_0x5ede1c===_0x57d7df)break;else _0x4c742b['push'](_0x4c742b['shift']());}catch(_0x3432b9){_0x4c742b['push'](_0x4c742b['shift']());}}}(_0x17a9,0x85d6e));import{ListView as _0x50619d,View as _0x1ccceb}from'ckeditor5/src/ui.js';import{global as _0x25d594}from'ckeditor5/src/utils.js';import{getTranslation as _0x24e2a7}from'../../common-translations.js';export class PresenceDropdownListView extends _0x1ccceb{[_0x4c3aca(0x18e)];constructor(_0x6d300f,_0x8a0792){const _0x2274a0=_0x4c3aca;super(_0x6d300f);const _0x4abd61=this[_0x2274a0(0x18a)];this[_0x2274a0(0x18e)]=new PresenceDropdownListWrapperView(_0x6d300f,_0x8a0792),this[_0x2274a0(0x168)]({'tag':_0x2274a0(0x179),'attributes':{'tabindex':-0x1,'role':_0x2274a0(0x181),'class':['ck',_0x2274a0(0x191)],'aria-label':_0x24e2a7(_0x6d300f,_0x2274a0(0x187))},'children':[this[_0x2274a0(0x18e)]],'on':{'mouseleave':_0x4abd61['to'](_0x5bd8f6=>{const _0x59f24d=_0x2274a0,_0x2aa967=_0x5bd8f6,_0x3b7408=document[_0x59f24d(0x171)](_0x59f24d(0x17a)),_0x511935=document[_0x59f24d(0x171)](_0x59f24d(0x165));_0x3b7408?.[_0x59f24d(0x16c)](_0x2aa967[_0x59f24d(0x17b)])||_0x511935?.[_0x59f24d(0x16c)](_0x2aa967[_0x59f24d(0x17b)])||this[_0x59f24d(0x18f)](_0x59f24d(0x183));})}});}}function _0x17a9(){const _0x5ba71f=['Connected\x20users\x20list\x20dropdown\x20menu','ck-presence-list__dropdown-list-wrapper','listenTo','bindTemplate','clientHeight','4OwDvJg','103160RjOomc','listWrapperView','fire','ariaLabel','ck-presence-list__dropdown-list','set','1391XuxdLe','ck-list','.ck-balloon-panel_with-arrow','scrollHeight','render','setTemplate','element','innerHeight','window','contains','_isScrollable','3703098xRmYwh','2115mwTfSW','change','querySelector','19528Odzvvq','4569710wQgJFr','max','ck-reset','25514VXyojl','resize','814ybhGgV','div','.ck-presence-list__list','relatedTarget','2604903UHcend','12mzKWpM','role','274140RjuszL','77ysguNJ','application','ariaLabelledBy','presencelist:hide','ck-presence-list__dropdown-list-wrapper_scrollable','checkIfScrollable','items'];_0x17a9=function(){return _0x5ba71f;};return _0x17a9();}function _0x4f8f(_0x3e447a,_0x4680bd){const _0x17a95d=_0x17a9();return _0x4f8f=function(_0x4f8f05,_0x2abf7c){_0x4f8f05=_0x4f8f05-0x164;let _0x2f1eb2=_0x17a95d[_0x4f8f05];return _0x2f1eb2;},_0x4f8f(_0x3e447a,_0x4680bd);}export class PresenceDropdownListWrapperView extends _0x50619d{constructor(_0x518741,_0x24542b){const _0x1aff50=_0x4c3aca;super(_0x518741);const _0x518647=this[_0x1aff50(0x18a)];this[_0x1aff50(0x192)](_0x1aff50(0x16d),!0x1),this[_0x1aff50(0x168)]({'tag':_0x24542b?_0x1aff50(0x179):'ul','attributes':{'class':['ck',_0x1aff50(0x175),_0x1aff50(0x164),_0x1aff50(0x188),_0x518647['if'](_0x1aff50(0x16d),_0x1aff50(0x184))],'role':_0x518647['to'](_0x1aff50(0x17e)),'aria-label':_0x518647['to'](_0x1aff50(0x190)),'aria-labelledby':_0x518647['to'](_0x1aff50(0x182))},'children':this[_0x1aff50(0x186)]}),this[_0x1aff50(0x189)](_0x25d594[_0x1aff50(0x16b)],_0x1aff50(0x177),()=>this[_0x1aff50(0x185)]()),this[_0x1aff50(0x186)]['on'](_0x1aff50(0x170),()=>this[_0x1aff50(0x185)]());}[_0x4c3aca(0x167)](){const _0x166126=_0x4c3aca;super[_0x166126(0x167)](),this[_0x166126(0x185)]();}[_0x4c3aca(0x185)](){const _0x50af2e=_0x4c3aca,_0x3c9d4a=this[_0x50af2e(0x169)];_0x3c9d4a&&(this[_0x50af2e(0x16d)]=Math[_0x50af2e(0x174)](_0x3c9d4a[_0x50af2e(0x166)],_0x3c9d4a[_0x50af2e(0x18b)])>0.8*window[_0x50af2e(0x16a)]);}}
23
+ const _0x5ca77a=_0x258f;(function(_0x180ced,_0x408e3b){const _0x3a3a58=_0x258f,_0xc1ecc8=_0x180ced();while(!![]){try{const _0x1a017e=parseInt(_0x3a3a58(0x1fc))/0x1*(parseInt(_0x3a3a58(0x1eb))/0x2)+parseInt(_0x3a3a58(0x202))/0x3*(parseInt(_0x3a3a58(0x207))/0x4)+parseInt(_0x3a3a58(0x205))/0x5+-parseInt(_0x3a3a58(0x1f5))/0x6*(parseInt(_0x3a3a58(0x1f9))/0x7)+parseInt(_0x3a3a58(0x1fd))/0x8+-parseInt(_0x3a3a58(0x1e1))/0x9*(-parseInt(_0x3a3a58(0x1e8))/0xa)+-parseInt(_0x3a3a58(0x1fb))/0xb;if(_0x1a017e===_0x408e3b)break;else _0xc1ecc8['push'](_0xc1ecc8['shift']());}catch(_0x13ff8f){_0xc1ecc8['push'](_0xc1ecc8['shift']());}}}(_0x821e,0x21b65));import{ListView as _0x29edf5,View as _0x436c48}from'ckeditor5/src/ui.js';import{global as _0x878c3b}from'ckeditor5/src/utils.js';import{getTranslation as _0x1fdb53}from'../../common-translations.js';export class PresenceDropdownListView extends _0x436c48{[_0x5ca77a(0x20e)];constructor(_0x17b005,_0x504afb){const _0x1789cb=_0x5ca77a;super(_0x17b005);const _0x5acd98=this[_0x1789cb(0x1e6)];this[_0x1789cb(0x20e)]=new PresenceDropdownListWrapperView(_0x17b005,_0x504afb),this[_0x1789cb(0x1e3)]({'tag':_0x1789cb(0x20d),'attributes':{'tabindex':-0x1,'role':_0x1789cb(0x20b),'class':['ck',_0x1789cb(0x1fa)],'aria-label':_0x1fdb53(_0x17b005,_0x1789cb(0x206))},'children':[this[_0x1789cb(0x20e)]],'on':{'mouseleave':_0x5acd98['to'](_0x2f6165=>{const _0x394124=_0x1789cb,_0x504e91=_0x2f6165,_0x11647e=document[_0x394124(0x1e9)](_0x394124(0x208)),_0x455442=document[_0x394124(0x1e9)](_0x394124(0x1ef));_0x11647e?.[_0x394124(0x1e5)](_0x504e91[_0x394124(0x209)])||_0x455442?.[_0x394124(0x1e5)](_0x504e91[_0x394124(0x209)])||this[_0x394124(0x1ec)](_0x394124(0x1ed));})}});}}export class PresenceDropdownListWrapperView extends _0x29edf5{constructor(_0x2e94d0,_0x5e882b){const _0x1e3023=_0x5ca77a;super(_0x2e94d0);const _0x4273db=this[_0x1e3023(0x1e6)];this[_0x1e3023(0x1f2)](_0x1e3023(0x1f3),!0x1),this[_0x1e3023(0x1e3)]({'tag':_0x5e882b?_0x1e3023(0x20d):'ul','attributes':{'class':['ck',_0x1e3023(0x1f1),_0x1e3023(0x204),_0x1e3023(0x1f0),_0x4273db['if'](_0x1e3023(0x1f3),_0x1e3023(0x1f6))],'role':_0x4273db['to'](_0x1e3023(0x203)),'aria-label':_0x4273db['to'](_0x1e3023(0x1f8)),'aria-labelledby':_0x4273db['to'](_0x1e3023(0x1ee))},'children':this[_0x1e3023(0x1fe)]}),this[_0x1e3023(0x1f4)](_0x878c3b[_0x1e3023(0x1e7)],_0x1e3023(0x201),()=>this[_0x1e3023(0x1ff)]()),this[_0x1e3023(0x1fe)]['on'](_0x1e3023(0x200),()=>this[_0x1e3023(0x1ff)]());}[_0x5ca77a(0x1f7)](){const _0x2a94b5=_0x5ca77a;super[_0x2a94b5(0x1f7)](),this[_0x2a94b5(0x1ff)]();}[_0x5ca77a(0x1ff)](){const _0x28aed1=_0x5ca77a,_0x2e840e=this[_0x28aed1(0x20c)];_0x2e840e&&(this[_0x28aed1(0x1f3)]=Math[_0x28aed1(0x1e2)](_0x2e840e[_0x28aed1(0x1e4)],_0x2e840e[_0x28aed1(0x1ea)])>0.8*window[_0x28aed1(0x20a)]);}}function _0x258f(_0x4f62d2,_0x41ea24){const _0x821e97=_0x821e();return _0x258f=function(_0x258f8c,_0x39d493){_0x258f8c=_0x258f8c-0x1e1;let _0x703167=_0x821e97[_0x258f8c];return _0x703167;},_0x258f(_0x4f62d2,_0x41ea24);}function _0x821e(){const _0x3a1fc3=['resize','1539WMoCvN','role','ck-list','1277060vfjPbP','Connected\x20users\x20list\x20dropdown\x20menu','1116cgOjuk','.ck-presence-list__list','relatedTarget','innerHeight','application','element','div','listWrapperView','2095047sWWKfq','max','setTemplate','scrollHeight','contains','bindTemplate','window','10MGmQCZ','querySelector','clientHeight','60440JcgvAj','fire','presencelist:hide','ariaLabelledBy','.ck-balloon-panel_with-arrow','ck-presence-list__dropdown-list-wrapper','ck-reset','set','_isScrollable','listenTo','41526Kvidoc','ck-presence-list__dropdown-list-wrapper_scrollable','render','ariaLabel','63GmZody','ck-presence-list__dropdown-list','8682949CgbjAp','8wGuEPu','933208hxrEnX','items','checkIfScrollable','change'];_0x821e=function(){return _0x3a1fc3;};return _0x821e();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x30a07f=_0x3a02;(function(_0x162b66,_0x243f95){const _0x490ac4=_0x3a02,_0x5c0bae=_0x162b66();while(!![]){try{const _0x56eb01=-parseInt(_0x490ac4(0x121))/0x1+parseInt(_0x490ac4(0x110))/0x2*(parseInt(_0x490ac4(0x117))/0x3)+-parseInt(_0x490ac4(0x12a))/0x4*(-parseInt(_0x490ac4(0x120))/0x5)+parseInt(_0x490ac4(0x113))/0x6+parseInt(_0x490ac4(0x122))/0x7*(-parseInt(_0x490ac4(0x11b))/0x8)+-parseInt(_0x490ac4(0x114))/0x9+parseInt(_0x490ac4(0x10b))/0xa*(parseInt(_0x490ac4(0x10f))/0xb);if(_0x56eb01===_0x243f95)break;else _0x5c0bae['push'](_0x5c0bae['shift']());}catch(_0x394482){_0x5c0bae['push'](_0x5c0bae['shift']());}}}(_0x3fba,0x9e3c9));import{LabelView as _0x17b3c6,View as _0x588516}from'ckeditor5/src/ui.js';function _0x3fba(){const _0x5b12e0=['isFocusable','ck-presence-list__list-item__tooltip','markerView','105YCHPpZ','413978fjdpxy','5160715sXZXti','name','getBackgroundColorClass','template','set','bindTemplate','userView','button','77780oTfIHv','true','ck-presence-list__marker','execute','10qfJOyS','tooltipPosition','text','ck-presence-list__list-item','758879tPwCOW','14SBcUYz','listitem','tag','6193176wbgyul','1392597zSLuyf','setTemplate','hasTooltip','190527YvnnyE','div','span','fire','8ASNLov','color'];_0x3fba=function(){return _0x5b12e0;};return _0x3fba();}import{UserView as _0x4e3bac}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceInlineListItemView extends _0x588516{[_0x30a07f(0x128)];[_0x30a07f(0x11f)];constructor(_0x3bc1d7,_0x3eaa9d,_0x315b47){const _0xafd933=_0x30a07f;super(_0x3bc1d7);const _0x44144f=this[_0xafd933(0x127)];this[_0xafd933(0x126)](_0xafd933(0x11d),!0x1),this[_0xafd933(0x126)](_0xafd933(0x116),!0x0),this[_0xafd933(0x126)](_0xafd933(0x10c),''),this[_0xafd933(0x128)]=new _0x4e3bac(_0x3bc1d7,_0x3eaa9d),this[_0xafd933(0x11f)]=new at(_0x3bc1d7,_0x3eaa9d);const _0x7cdae3=new _0x17b3c6(_0x3bc1d7);_0x7cdae3[_0xafd933(0x125)][_0xafd933(0x112)]=_0xafd933(0x119),_0x7cdae3[_0xafd933(0x10d)]=_0x3eaa9d[_0xafd933(0x123)];const _0x4675c={'tag':_0xafd933(0x118),'attributes':{'class':['ck',_0xafd933(0x10e)],'role':_0xafd933(0x111),'tabindex':_0x44144f['to'](_0xafd933(0x11d),_0x373920=>!!_0x373920&&0x0),'aria-labelledby':_0x7cdae3['id'],'data-cke-tooltip-text':this[_0xafd933(0x128)][_0xafd933(0x123)],'data-cke-tooltip-position':_0x44144f['to'](_0xafd933(0x10c)),'data-cke-tooltip-disabled':_0x44144f['to'](_0xafd933(0x116),_0x32f3b2=>!_0x32f3b2),'data-cke-tooltip-class':_0xafd933(0x11e)},'children':[this[_0xafd933(0x128)],this[_0xafd933(0x11f)],_0x7cdae3]};_0x315b47&&(_0x4675c[_0xafd933(0x112)]=_0xafd933(0x129),_0x4675c['on']={'click':_0x44144f['to'](()=>this[_0xafd933(0x11a)](_0xafd933(0x10a)))}),this[_0xafd933(0x115)](_0x4675c);}}function _0x3a02(_0x4f7ce8,_0x384e4b){const _0x3fbadb=_0x3fba();return _0x3a02=function(_0x3a02e4,_0x4733be){_0x3a02e4=_0x3a02e4-0x109;let _0x2d6fb5=_0x3fbadb[_0x3a02e4];return _0x2d6fb5;},_0x3a02(_0x4f7ce8,_0x384e4b);}class at extends _0x588516{constructor(_0x561b63,_0x46c96c){const _0x96efd9=_0x30a07f;super(_0x561b63),this[_0x96efd9(0x115)]({'tag':_0x96efd9(0x119),'attributes':{'class':['ck',_0x96efd9(0x109),_0x46c96c[_0x96efd9(0x11c)][_0x96efd9(0x124)]()],'aria-hidden':_0x96efd9(0x12b)}});}}
23
+ const _0x3722d5=_0x1f47;(function(_0xfdc8fc,_0x2bce8e){const _0x4cbcf3=_0x1f47,_0x5bb025=_0xfdc8fc();while(!![]){try{const _0x21c7fb=parseInt(_0x4cbcf3(0x1d6))/0x1*(parseInt(_0x4cbcf3(0x1bf))/0x2)+parseInt(_0x4cbcf3(0x1d5))/0x3+parseInt(_0x4cbcf3(0x1cf))/0x4+-parseInt(_0x4cbcf3(0x1d2))/0x5+parseInt(_0x4cbcf3(0x1c5))/0x6*(-parseInt(_0x4cbcf3(0x1bd))/0x7)+parseInt(_0x4cbcf3(0x1c0))/0x8+-parseInt(_0x4cbcf3(0x1c4))/0x9;if(_0x21c7fb===_0x2bce8e)break;else _0x5bb025['push'](_0x5bb025['shift']());}catch(_0x2c9894){_0x5bb025['push'](_0x5bb025['shift']());}}}(_0x31f5,0xd515b));function _0x31f5(){const _0x564b1c=['execute','setTemplate','hasTooltip','2515440QXpPsp','userView','text','6463480XrZRpa','bindTemplate','getBackgroundColorClass','1494369iIiFim','1kYiwql','listitem','tag','ck-presence-list__list-item__tooltip','ck-presence-list__marker','ck-presence-list__list-item','set','template','608398RGzhkn','button','990228YNUijN','5880032SUWPbw','tooltipPosition','div','span','160038gQkKKU','12rrnmWG','isFocusable','true','fire','color','markerView','name'];_0x31f5=function(){return _0x564b1c;};return _0x31f5();}import{LabelView as _0x314767,View as _0x42b8c1}from'ckeditor5/src/ui.js';import{UserView as _0x2343b4}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1f47(_0x410a8c,_0x48e800){const _0x31f520=_0x31f5();return _0x1f47=function(_0x1f47de,_0x38c2d3){_0x1f47de=_0x1f47de-0x1b6;let _0x264a4b=_0x31f520[_0x1f47de];return _0x264a4b;},_0x1f47(_0x410a8c,_0x48e800);}export class PresenceInlineListItemView extends _0x42b8c1{[_0x3722d5(0x1d0)];[_0x3722d5(0x1ca)];constructor(_0x41695d,_0x591c3d,_0x4d834e){const _0x487737=_0x3722d5;super(_0x41695d);const _0x32d4d6=this[_0x487737(0x1d3)];this[_0x487737(0x1bb)](_0x487737(0x1c6),!0x1),this[_0x487737(0x1bb)](_0x487737(0x1ce),!0x0),this[_0x487737(0x1bb)](_0x487737(0x1c1),''),this[_0x487737(0x1d0)]=new _0x2343b4(_0x41695d,_0x591c3d),this[_0x487737(0x1ca)]=new ct(_0x41695d,_0x591c3d);const _0x1e4e85=new _0x314767(_0x41695d);_0x1e4e85[_0x487737(0x1bc)][_0x487737(0x1b7)]=_0x487737(0x1c3),_0x1e4e85[_0x487737(0x1d1)]=_0x591c3d[_0x487737(0x1cb)];const _0x42011f={'tag':_0x487737(0x1c2),'attributes':{'class':['ck',_0x487737(0x1ba)],'role':_0x487737(0x1b6),'tabindex':_0x32d4d6['to'](_0x487737(0x1c6),_0x20c908=>!!_0x20c908&&0x0),'aria-labelledby':_0x1e4e85['id'],'data-cke-tooltip-text':this[_0x487737(0x1d0)][_0x487737(0x1cb)],'data-cke-tooltip-position':_0x32d4d6['to'](_0x487737(0x1c1)),'data-cke-tooltip-disabled':_0x32d4d6['to'](_0x487737(0x1ce),_0x5a762f=>!_0x5a762f),'data-cke-tooltip-class':_0x487737(0x1b8)},'children':[this[_0x487737(0x1d0)],this[_0x487737(0x1ca)],_0x1e4e85]};_0x4d834e&&(_0x42011f[_0x487737(0x1b7)]=_0x487737(0x1be),_0x42011f['on']={'click':_0x32d4d6['to'](()=>this[_0x487737(0x1c8)](_0x487737(0x1cc)))}),this[_0x487737(0x1cd)](_0x42011f);}}class ct extends _0x42b8c1{constructor(_0x140b9f,_0x6e9cfe){const _0x2fc86c=_0x3722d5;super(_0x140b9f),this[_0x2fc86c(0x1cd)]({'tag':_0x2fc86c(0x1c3),'attributes':{'class':['ck',_0x2fc86c(0x1b9),_0x6e9cfe[_0x2fc86c(0x1c9)][_0x2fc86c(0x1d4)]()],'aria-hidden':_0x2fc86c(0x1c7)}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x263f01=_0x1e07;function _0x1e07(_0x48183c,_0x196d93){const _0x584525=_0x5845();return _0x1e07=function(_0x1e07e1,_0xa4dbe8){_0x1e07e1=_0x1e07e1-0xfc;let _0x4fbeef=_0x584525[_0x1e07e1];return _0x4fbeef;},_0x1e07(_0x48183c,_0x196d93);}(function(_0x6890aa,_0x19a47b){const _0x44cab1=_0x1e07,_0x25ecca=_0x6890aa();while(!![]){try{const _0x256709=parseInt(_0x44cab1(0xff))/0x1+-parseInt(_0x44cab1(0x10e))/0x2+parseInt(_0x44cab1(0x102))/0x3+-parseInt(_0x44cab1(0xfd))/0x4+parseInt(_0x44cab1(0x118))/0x5+-parseInt(_0x44cab1(0x100))/0x6*(parseInt(_0x44cab1(0x117))/0x7)+-parseInt(_0x44cab1(0x106))/0x8*(-parseInt(_0x44cab1(0x11b))/0x9);if(_0x256709===_0x19a47b)break;else _0x25ecca['push'](_0x25ecca['shift']());}catch(_0x41448e){_0x25ecca['push'](_0x25ecca['shift']());}}}(_0x5845,0xec3a4));import{View as _0x48717e}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x4f81d2}from'ckeditor5/src/utils.js';import{getTranslation as _0x55d980}from'../../common-translations.js';function _0x5845(){const _0x147551=['contains','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','1313703UiQQuZ','removeAttribute','ck-presence-list__list','keystrokes','fire','relatedTarget','items','aria-expanded','7482952bGvZPe','focus','926446qgyaIl','150ruTCSh','querySelector','5700768XePbVN','bindTemplate','.ck-presence-list__dropdown-list','isExpanded','48HoztxE','listenTo','change:hasPopup','.ck-balloon-panel_with-arrow','render','list','hasPopup','set','1400472roKWGu','element','presencelist:hide','setTemplate','createCollection','Connected\x20users\x20list','setAttribute','presencelist:show','div','108227FGpyxq','1112915LGdTuH'];_0x5845=function(){return _0x147551;};return _0x5845();}export class PresenceInlineListView extends _0x48717e{[_0x263f01(0x121)];[_0x263f01(0x11e)];constructor(_0x22577a){const _0x26480e=_0x263f01;super(_0x22577a);const _0x22c74b=this[_0x26480e(0x103)];this[_0x26480e(0x121)]=this[_0x26480e(0x112)](),this[_0x26480e(0x11e)]=new _0x4f81d2(),this[_0x26480e(0x10d)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x26480e(0x111)]({'tag':_0x26480e(0x116),'attributes':{'aria-haspopup':_0x22c74b['if'](_0x26480e(0x10c)),'aria-expanded':_0x22c74b['to'](_0x26480e(0x105),_0x4a31dd=>this[_0x26480e(0x10c)]&&String(_0x4a31dd)),'aria-label':_0x22c74b['to'](_0x26480e(0x10c),_0x3e23eb=>_0x55d980(_0x22577a,_0x3e23eb?_0x26480e(0x11a):_0x26480e(0x113))),'role':_0x26480e(0x10b),'tabindex':_0x22c74b['to'](_0x26480e(0x10c),_0x3c15e4=>!!_0x3c15e4&&0x0),'class':['ck',_0x26480e(0x11d)]},'children':this[_0x26480e(0x121)],'on':{'mouseenter':_0x22c74b['to'](()=>this[_0x26480e(0x11f)](_0x26480e(0x115))),'mouseleave':_0x22c74b['to'](_0xb890de=>{const _0x4d9b97=_0x26480e,_0x43e76d=_0xb890de,_0x4223f8=document[_0x4d9b97(0x101)](_0x4d9b97(0x104)),_0x3aa515=document[_0x4d9b97(0x101)](_0x4d9b97(0x109));_0x4223f8?.[_0x4d9b97(0x119)](_0x43e76d[_0x4d9b97(0x120)])||_0x3aa515?.[_0x4d9b97(0x119)](_0x43e76d[_0x4d9b97(0x120)])||this[_0x4d9b97(0x11f)](_0x4d9b97(0x110));})}}),this['on'](_0x26480e(0x108),(_0x5a362a,_0x54d37f,_0x4203bc)=>{const _0x2a3dec=_0x26480e;this[_0x2a3dec(0x10f)]&&(_0x4203bc?this[_0x2a3dec(0x10f)][_0x2a3dec(0x114)](_0x2a3dec(0xfc),String(this[_0x2a3dec(0x105)])):this[_0x2a3dec(0x10f)][_0x2a3dec(0x11c)](_0x2a3dec(0xfc)));});}[_0x263f01(0xfe)](){const _0x42e367=_0x263f01;this[_0x42e367(0x10f)][_0x42e367(0xfe)]();}[_0x263f01(0x10a)](){const _0x26cc25=_0x263f01;super[_0x26cc25(0x10a)](),this[_0x26cc25(0x11e)][_0x26cc25(0x107)](this[_0x26cc25(0x10f)]);}}
23
+ function _0x4574(){const _0x2d6b06=['removeAttribute','.ck-balloon-panel_with-arrow','change:hasPopup','presencelist:show','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','bindTemplate','hasPopup','.ck-presence-list__dropdown-list','748528fXhAmz','createCollection','fire','isExpanded','render','63uvxdgU','element','presencelist:hide','set','keystrokes','182864ukDFyD','querySelector','contains','631449dhqqoC','408896vcAtux','setTemplate','186481lJyZHD','Connected\x20users\x20list','div','list','listenTo','aria-expanded','relatedTarget','focus','770262yQVjAB','474630kFaSqC','setAttribute','ck-presence-list__list','items'];_0x4574=function(){return _0x2d6b06;};return _0x4574();}const _0x1ba262=_0x2ec4;function _0x2ec4(_0x1e6dcb,_0x338057){const _0x457485=_0x4574();return _0x2ec4=function(_0x2ec4f7,_0x18a465){_0x2ec4f7=_0x2ec4f7-0x1de;let _0x2f5991=_0x457485[_0x2ec4f7];return _0x2f5991;},_0x2ec4(_0x1e6dcb,_0x338057);}(function(_0x243268,_0x46a30f){const _0x3b79f2=_0x2ec4,_0x2e6281=_0x243268();while(!![]){try{const _0x1c6d68=parseInt(_0x3b79f2(0x1f7))/0x1+parseInt(_0x3b79f2(0x1f5))/0x2+parseInt(_0x3b79f2(0x1f4))/0x3+-parseInt(_0x3b79f2(0x1e7))/0x4+parseInt(_0x3b79f2(0x200))/0x5+-parseInt(_0x3b79f2(0x1ff))/0x6+parseInt(_0x3b79f2(0x1ec))/0x7*(-parseInt(_0x3b79f2(0x1f1))/0x8);if(_0x1c6d68===_0x46a30f)break;else _0x2e6281['push'](_0x2e6281['shift']());}catch(_0x4b9285){_0x2e6281['push'](_0x2e6281['shift']());}}}(_0x4574,0x2ac03));import{View as _0x3de3aa}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x21d9dd}from'ckeditor5/src/utils.js';import{getTranslation as _0x2c7d68}from'../../common-translations.js';export class PresenceInlineListView extends _0x3de3aa{[_0x1ba262(0x1de)];[_0x1ba262(0x1f0)];constructor(_0x5c9183){const _0x397af8=_0x1ba262;super(_0x5c9183);const _0x354b26=this[_0x397af8(0x1e4)];this[_0x397af8(0x1de)]=this[_0x397af8(0x1e8)](),this[_0x397af8(0x1f0)]=new _0x21d9dd(),this[_0x397af8(0x1ef)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x397af8(0x1f6)]({'tag':_0x397af8(0x1f9),'attributes':{'aria-haspopup':_0x354b26['if'](_0x397af8(0x1e5)),'aria-expanded':_0x354b26['to'](_0x397af8(0x1ea),_0x28673b=>this[_0x397af8(0x1e5)]&&String(_0x28673b)),'aria-label':_0x354b26['to'](_0x397af8(0x1e5),_0x356faf=>_0x2c7d68(_0x5c9183,_0x356faf?_0x397af8(0x1e3):_0x397af8(0x1f8))),'role':_0x397af8(0x1fa),'tabindex':_0x354b26['to'](_0x397af8(0x1e5),_0x58e313=>!!_0x58e313&&0x0),'class':['ck',_0x397af8(0x202)]},'children':this[_0x397af8(0x1de)],'on':{'mouseenter':_0x354b26['to'](()=>this[_0x397af8(0x1e9)](_0x397af8(0x1e2))),'mouseleave':_0x354b26['to'](_0x1f08c7=>{const _0x1af93b=_0x397af8,_0x3668b8=_0x1f08c7,_0x58e679=document[_0x1af93b(0x1f2)](_0x1af93b(0x1e6)),_0x10d212=document[_0x1af93b(0x1f2)](_0x1af93b(0x1e0));_0x58e679?.[_0x1af93b(0x1f3)](_0x3668b8[_0x1af93b(0x1fd)])||_0x10d212?.[_0x1af93b(0x1f3)](_0x3668b8[_0x1af93b(0x1fd)])||this[_0x1af93b(0x1e9)](_0x1af93b(0x1ee));})}}),this['on'](_0x397af8(0x1e1),(_0x2af6a3,_0x28b420,_0xd5f652)=>{const _0x3e342b=_0x397af8;this[_0x3e342b(0x1ed)]&&(_0xd5f652?this[_0x3e342b(0x1ed)][_0x3e342b(0x201)](_0x3e342b(0x1fc),String(this[_0x3e342b(0x1ea)])):this[_0x3e342b(0x1ed)][_0x3e342b(0x1df)](_0x3e342b(0x1fc)));});}[_0x1ba262(0x1fe)](){const _0x3de6ee=_0x1ba262;this[_0x3de6ee(0x1ed)][_0x3de6ee(0x1fe)]();}[_0x1ba262(0x1eb)](){const _0x2f0bc2=_0x1ba262;super[_0x2f0bc2(0x1eb)](),this[_0x2f0bc2(0x1f0)][_0x2f0bc2(0x1fb)](this[_0x2f0bc2(0x1ed)]);}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f20ce=_0x2fd8;function _0x2fd8(_0x2062dc,_0x24a341){const _0x1cefa4=_0x1cef();return _0x2fd8=function(_0x2fd84a,_0x1d7488){_0x2fd84a=_0x2fd84a-0xbc;let _0x1fcd89=_0x1cefa4[_0x2fd84a];return _0x1fcd89;},_0x2fd8(_0x2062dc,_0x24a341);}(function(_0x13ac9b,_0x5a8564){const _0x190911=_0x2fd8,_0x2425ee=_0x13ac9b();while(!![]){try{const _0x468fe=-parseInt(_0x190911(0xe5))/0x1*(parseInt(_0x190911(0xc5))/0x2)+-parseInt(_0x190911(0x11b))/0x3*(parseInt(_0x190911(0x111))/0x4)+-parseInt(_0x190911(0x186))/0x5*(parseInt(_0x190911(0xf3))/0x6)+parseInt(_0x190911(0x115))/0x7*(-parseInt(_0x190911(0x197))/0x8)+-parseInt(_0x190911(0x14e))/0x9+parseInt(_0x190911(0x154))/0xa+parseInt(_0x190911(0x185))/0xb;if(_0x468fe===_0x5a8564)break;else _0x2425ee['push'](_0x2425ee['shift']());}catch(_0x31f638){_0x2425ee['push'](_0x2425ee['shift']());}}}(_0x1cef,0xb85ea));import{Plugin as _0x465e3d,PendingActions as _0x26c835}from'ckeditor5/src/core.js';import{CKEditorError as _0x4e9e26,version as _0x3fd523,uid as _0xa2d85d}from'ckeditor5/src/utils.js';import{Notification as _0x507419}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x5b3a29,NoOperation as _0x13d4a6,InsertOperation as _0xa9eeb7,MarkerOperation as _0x23ac2e,RootAttributeOperation as _0x104001,OperationFactory as _0x25d0ed,History as _0x194790}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x4bb3c7}from'./websocketgateway.js';import{Sessions as _0x581946}from'./sessions.js';import{UserMarkers as _0x41c88b}from'./usermarkers.js';function _0x1cef(){const _0x2c3666=['mySessionId','66078ffzriS','sessionId','InsertOperation','_isPendingUpdate','return','getOperationAuthor','version','_waitUntilSynced','enqueueChange','toJSON','collaboration.channelId','realtimecollaborationclient-init-document-already-initialized','requires','$root','_ignoredOperations','_updateServerHistory','_decompressOperations','filter','rtc-offline','affectedSelectable','position','_lastSyncedOperationId','409','type','_compressor','map','reconnect','isUndoneOperation','from','_handleServerResponse','CollaborativeEditingService','_sendBufferedOperationsDelayId','length','lastSyncVersion','_disconnectService','cloudDocumentVersion','showWarning','_getOperationsFromInitData','_bufferRootLoad','has','connect','cs:removeUser','createRange','_isConnected','getRoot','lastOperationAcceptedAt','permissions','PENDING_ACTION_SENDING_DATA','directChange','setIdForTheLastOperation','metadata','253638BEOTFe','getConnectedSessions','disconnect','unregister','_connectAfterSessionHasBeenFlushed','finally','5684210xvuDWV','_knownOperations','404','_isDisconnection','baseVersion','stopListening','_operationToId','initData','view','_handleInitialConnectionData','data','keys','document','high','_baseBufferDelay','reconnection:\x20flushed\x20session','_handleExternalOperations','multi-root-editor-root-attributes-no-root','isPremiumPlugin','sessionAdd:','stop','reset','error','ready','_setUpDataInit','_refreshUserSelectionMarkers','path','set','markers','affectsData','_hasSelectionChanged','RealTimeCollaborationClient','sendOperations','end','_shouldSendSelectionUpdate','differ','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.','_compressOperations','enableReadOnlyMode','change:range','addRootAttribute','off','createUserMarkerOperations','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','addUser','wasUndone','collaboration','userId','change:_isPendingUpdate','52225844jCPauw','2390iQVrOL','_handleSendingSelectionMarkers','model','rtc-destroyed','_lastServerVersion','_getAffectedRoot','_knownRootNames','slice','_isLoaded','attributes','realtimecollaborationclient','_handleReceivedOperations','_isEditingAllowed','pluginName','collaboration-missing-channelid','batch','_connectService','53432WFwqQU','createPositionFromPath','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','root','insert','startsWith','lastOperationId','round','clone','catch','_hasSynchronizationProblem','addOperation','_isAttached','realtimecollaborationclient-init-non-existent-root','bind','getDocumentDetails','createRoot','fromJSON','_channelId','loadRoot','_setPendingAction','config','targetPosition','operationsReceived','Notification','realtimecollaborationclient-init-service-internal-error','currentDocumentSession','suppressErrorInCollaboration','createPositionAt','cloud-services-internal-error:\x20Request\x20timeout.','history','listenTo','channelSessions','plugins','createdAt','includes','real-time-collaboration','_applyOperationsSet','CommentsOnly','cloudServices.bundleVersion','_sendBufferedOperations','rootName','realtimecollaborationclient-sendbufferedoperations','_service','push','_bufferedOperations','selection','_currentBufferDelay','Synchronization\x20issue','compress','locale','getIdOfTheLastOperation','define','1168054fTkIjM','forEach','connected','remove','document:write','_offset','connection','_addKnownRoot','_sendBufferedOperationsDelayed','_initThrowingOnDataSet','sessionCreatedAt','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','register','isReadOnly','add','_document','_initSessionsHandling','decompress','fire','Permissions','lastDocumentSession','realtimecollaborationclient-error','__className','message','get','getUser','_handleReconnectionResponse','marker','roots','init','getOperations','move','2WiuZGN','_operationIdentifier','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','addToReconnectionStack','realtimecollaborationclient-handleserverresponse','isEnabled','disconnected','_fetchMissingUsers','_crash','setPermissions','editor','destroy','parse','rootsAttributes','11652JQppAV','string','cloud-services-internal-error:\x20Not\x20connected.','then','applyOperation','_isInit','start','wereChangesApplied','_pendingAction','code','offset','isOfficialPlugin','newRange','getMany','isDocumentOperation','_authorId','realtimecollaborationclient-init-connection-failed','_disconnectionOperations','editing','change:hasDomSelection','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.','serverHistory','apply','addRoot','realtimecollaborationclient-init-session-connection-error','_loadRoot','realtimecollaborationclient-init-service-incorrect-server-operation','_saveOperationInBuffer','state','size','172VGhwhb','entries','disableReadOnlyMode','_shouldSendUpdate','1561CGpRsK','change:_isEditingAllowed','removeFromReconnectionStack','_handleReconnectionError','_clearPendingAction'];_0x1cef=function(){return _0x2c3666;};return _0x1cef();}import{getTranslation as _0x1338b4}from'../common-translations.js';import{Compressor as _0x42d36a}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1281e4}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x57115b,CollaborativeEditingService as _0x1f74a1}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x465e3d{static [_0x3f20ce(0x139)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x1f74a1)());[_0x3f20ce(0xca)];[_0x3f20ce(0x11c)];[_0x3f20ce(0x108)];[_0x3f20ce(0x1a9)];[_0x3f20ce(0x1c2)];[_0x3f20ce(0xd4)];[_0x3f20ce(0x133)];[_0x3f20ce(0xbd)];[_0x3f20ce(0x155)];[_0x3f20ce(0x18c)];[_0x3f20ce(0xfb)];[_0x3f20ce(0x172)];[_0x3f20ce(0x13a)];[_0x3f20ce(0x162)];[_0x3f20ce(0xbf)];[_0x3f20ce(0x130)];[_0x3f20ce(0x104)];[_0x3f20ce(0xe6)];static get[_0x3f20ce(0x127)](){return[_0x4bb3c7,_0x581946,_0x41c88b,_0x26c835,_0x1281e4,_0x507419];}static get[_0x3f20ce(0x193)](){const _0x3457cf=_0x3f20ce;return _0x3457cf(0x173);}static get[_0x3f20ce(0xfe)](){return!0x0;}static get[_0x3f20ce(0x166)](){return!0x0;}get[_0x3f20ce(0x13e)](){const _0x2d48ab=_0x3f20ce;return this[_0x2d48ab(0x18a)]+this[_0x2d48ab(0xca)];}get[_0x3f20ce(0x18a)](){const _0x21cd89=_0x3f20ce;return this[_0x21cd89(0x108)][_0x21cd89(0x121)]-this[_0x21cd89(0xca)];}get[_0x3f20ce(0x13c)](){const _0x2c393a=_0x3f20ce,_0x43ce1d=this[_0x2c393a(0x108)][_0x2c393a(0xe3)]();for(let _0x17aa6e=_0x43ce1d[_0x2c393a(0x13b)]-0x1;_0x17aa6e>=0x0;_0x17aa6e--){const _0x11f534=_0x43ce1d[_0x17aa6e];if(!this[_0x2c393a(0x104)][_0x2c393a(0x142)](_0x11f534))return _0x11f534[_0x2c393a(0x158)]+0x1-this[_0x2c393a(0xca)];}return 0x0;}constructor(_0x1720a6){const _0x2cd710=_0x3f20ce;if(super(_0x1720a6),this[_0x2cd710(0xca)]=0x0,this[_0x2cd710(0x11c)]=null,this[_0x2cd710(0x108)]=new _0x194790(),this[_0x2cd710(0xef)][_0x2cd710(0x1ac)][_0x2cd710(0xc4)](_0x2cd710(0x182),{}),this[_0x2cd710(0x1a9)]=this[_0x2cd710(0xef)][_0x2cd710(0x1ac)][_0x2cd710(0xdd)](_0x2cd710(0x125)),!this[_0x2cd710(0x1a9)])throw new _0x4e9e26(_0x2cd710(0x194),this);const _0x2da8fe=_0x1720a6[_0x2cd710(0x1ac)][_0x2cd710(0xdd)](_0x2cd710(0x1be))||_0x3fd523;this[_0x2cd710(0x1c2)]=new RealTimeCollaborationClient[(_0x2cd710(0x139))](_0x2da8fe,this[_0x2cd710(0x1a9)]),this[_0x2cd710(0xd4)]=this[_0x2cd710(0xef)][_0x2cd710(0x188)][_0x2cd710(0x160)],this[_0x2cd710(0x133)]=new _0x42d36a(),this[_0x2cd710(0xbd)]=[],this[_0x2cd710(0x155)]=new WeakSet(),this[_0x2cd710(0x18c)]=new Set(),this[_0x2cd710(0x16f)](_0x2cd710(0x11e),!0x1),this[_0x2cd710(0x16f)](_0x2cd710(0x1a1),!0x1),this[_0x2cd710(0xfb)]=null,this[_0x2cd710(0x172)]=!0x1,this[_0x2cd710(0x13a)]=null,this[_0x2cd710(0x162)]=0x12c,this[_0x2cd710(0xbf)]=this[_0x2cd710(0x162)],this[_0x2cd710(0x130)]=null,this[_0x2cd710(0x104)]=new WeakSet(),this[_0x2cd710(0xe6)]=new J(this[_0x2cd710(0x104)]);}[_0x3f20ce(0xe2)](){const _0x44ff04=_0x3f20ce,_0x5a7c84=this[_0x44ff04(0xef)],_0x185f1b=_0x5a7c84[_0x44ff04(0x1b8)][_0x44ff04(0xdd)](_0x1281e4),_0x5081f9=_0x5a7c84[_0x44ff04(0x1b8)][_0x44ff04(0xdd)](_0x4bb3c7);this[_0x44ff04(0x1b6)](_0x185f1b,_0x44ff04(0x120),(_0x31c597,_0xec394b)=>{const _0x454fc1=_0x44ff04,_0x8b43ce=_0xec394b[0x0];_0x8b43ce[_0x454fc1(0x102)]&&(_0x31c597[_0x454fc1(0x11f)]=_0x185f1b[_0x454fc1(0xde)](_0x8b43ce[_0x454fc1(0x102)]),_0x31c597[_0x454fc1(0x168)]()),null===_0x8b43ce[_0x454fc1(0x102)]&&(_0x31c597[_0x454fc1(0x11f)]=null,_0x31c597[_0x454fc1(0x168)]());},{'priority':_0x44ff04(0x161)}),this[_0x44ff04(0x1b6)](_0x5a7c84[_0x44ff04(0x188)][_0x44ff04(0x160)][_0x44ff04(0xbe)],_0x44ff04(0x17b),(_0x55c607,_0x345ee2)=>{const _0x4d9a20=_0x44ff04;_0x345ee2[_0x4d9a20(0x14b)]&&this[_0x4d9a20(0x16d)]();}),this[_0x44ff04(0x1b6)](_0x5a7c84[_0x44ff04(0x105)][_0x44ff04(0x15c)],_0x44ff04(0x106),()=>{const _0xff6462=_0x44ff04;this[_0xff6462(0x16d)]();}),this[_0x44ff04(0xce)](),_0x5a7c84[_0x44ff04(0x188)]['on'](_0x44ff04(0xf7),(_0x115e48,_0x838e54)=>{const _0x60187b=_0x44ff04,_0x8c5844=_0x838e54[0x0];_0x8c5844[_0x60187b(0x101)]&&(this[_0x60187b(0x10e)](_0x8c5844),this[_0x60187b(0x114)]()&&this[_0x60187b(0xcd)]());}),this[_0x44ff04(0x16c)](),this[_0x44ff04(0x1a5)](_0x44ff04(0x192))['to'](_0x5081f9,_0x44ff04(0x10f),this,_0x44ff04(0x1a1),(_0xe9c6f4,_0x33518e)=>_0x44ff04(0xc7)===_0xe9c6f4&&!_0x33518e),this['on'](_0x44ff04(0x116),()=>{const _0x44dc88=_0x44ff04;this[_0x44dc88(0x192)]?_0x5a7c84[_0x44dc88(0x113)](_0x44dc88(0x12d)):_0x5a7c84[_0x44dc88(0x17a)](_0x44dc88(0x12d));}),this[_0x44ff04(0x192)]?_0x5a7c84[_0x44ff04(0x113)](_0x44ff04(0x12d)):_0x5a7c84[_0x44ff04(0x17a)](_0x44ff04(0x12d)),this[_0x44ff04(0x16f)](_0x44ff04(0x146),!0x1);}async[_0x3f20ce(0x135)](){const _0x44eee6=_0x3f20ce,_0x4cea5a=this[_0x44eee6(0xef)][_0x44eee6(0x1b8)][_0x44eee6(0xdd)](_0x581946),_0x58189f=this[_0x44eee6(0xef)][_0x44eee6(0x1b8)][_0x44eee6(0xdd)](_0x4bb3c7);try{this[_0x44eee6(0x11e)]=!0x0,_0x4cea5a[_0x44eee6(0x151)](this[_0x44eee6(0x1a9)]);const _0x3b4f81=await this[_0x44eee6(0x1c2)][_0x44eee6(0x135)](_0x58189f[_0x44eee6(0xcb)],this[_0x44eee6(0x13c)]);await this[_0x44eee6(0xdf)](_0x3b4f81)&&(this[_0x44eee6(0x11e)]=!0x1,this[_0x44eee6(0x119)]());const _0x23eda7=await this[_0x44eee6(0x1c2)][_0x44eee6(0x14f)]();_0x4cea5a[_0x44eee6(0xd1)](this[_0x44eee6(0x1a9)],_0x23eda7),this[_0x44eee6(0x187)](),this[_0x44eee6(0x146)]=!0x0;}catch(_0x35a188){if(function(_0x37f7fb){const _0x735d8d=_0x44eee6;return _0x735d8d(0x156)===_0x37f7fb[_0x735d8d(0xfc)];}(_0x35a188)&&this[_0x44eee6(0x11c)])await this[_0x44eee6(0x152)]();else{if(function(_0x123842){const _0x130329=_0x44eee6;return _0x130329(0x131)===_0x123842[_0x130329(0xfc)];}(_0x35a188)){const _0x191758=_0x1338b4(this[_0x44eee6(0xef)][_0x44eee6(0xc2)],_0x44eee6(0x17f));this[_0x44eee6(0x118)](_0x191758);}else{if(!(_0x35a188 instanceof $))throw _0x35a188;this[_0x44eee6(0x118)]();}}}}[_0x3f20ce(0xf0)](){const _0x2fbe55=_0x3f20ce,_0x2f1a5e=this[_0x2fbe55(0xef)][_0x2fbe55(0x1b8)][_0x2fbe55(0xdd)](_0x4bb3c7),_0x346594=this[_0x2fbe55(0xef)][_0x2fbe55(0x1b8)][_0x2fbe55(0xdd)](_0x581946);this[_0x2fbe55(0xef)][_0x2fbe55(0x17a)](_0x2fbe55(0x189)),_0x346594[_0x2fbe55(0x1b7)][_0x2fbe55(0x142)](this[_0x2fbe55(0x1a9)])&&_0x346594[_0x2fbe55(0x151)](this[_0x2fbe55(0x1a9)]),_0x2f1a5e[_0x2fbe55(0x117)](this),this[_0x2fbe55(0x13d)](),super[_0x2fbe55(0xf0)]();}async[_0x3f20ce(0xdf)](_0x28e384){const _0x1cf6c9=_0x3f20ce;if(this[_0x1cf6c9(0x11c)]!==_0x28e384[_0x1cf6c9(0x11c)]&&this[_0x1cf6c9(0x130)]!==_0x28e384[_0x1cf6c9(0x19d)])throw new $();return this[_0x1cf6c9(0x11c)]=_0x28e384[_0x1cf6c9(0x11c)],this[_0x1cf6c9(0x138)]([],{..._0x28e384,'wereChangesApplied':!0x1,'data':_0x28e384[_0x1cf6c9(0x15e)]},_0x1cf6c9(0x135));}async[_0x3f20ce(0x196)](_0x34c09e,_0x26eb61=!0x1){const _0x17f599=_0x3f20ce,{connection:_0x3f8991}=this[_0x17f599(0xef)][_0x17f599(0x1b8)][_0x17f599(0xdd)](_0x4bb3c7);RealTimeCollaborationClient[_0x17f599(0x139)][_0x17f599(0x14f)](_0x3f8991,this[_0x17f599(0x1a9)])[_0x17f599(0xf6)](_0x513e68=>this[_0x17f599(0xd5)](_0x513e68))[_0x17f599(0x1a0)](_0x529e59=>{const _0x2586da=_0x17f599;this[_0x2586da(0xed)](_0x2586da(0x10b),_0x529e59);}),this[_0x17f599(0x1b6)](this[_0x17f599(0x1c2)],_0x17f599(0x1ae),this[_0x17f599(0x191)][_0x17f599(0x1a5)](this)),this[_0x17f599(0x1b6)](this[_0x17f599(0x1c2)],_0x17f599(0x16a),(_0x449917,_0x4865c0)=>{const _0xb3bb85=_0x17f599;this[_0xb3bb85(0xed)](_0xb3bb85(0x1b0),_0x4865c0);}),this[_0x17f599(0x1b6)](this[_0x17f599(0x1c2)],_0x17f599(0xeb),()=>{const _0x4c04c0=_0x17f599;this[_0x4c04c0(0x146)]=!0x1;});const _0x5b4611=this[_0x17f599(0xe6)][_0x17f599(0xc3)](_0x34c09e);this[_0x17f599(0x11e)]=!0x0;const _0x37452b=await this[_0x17f599(0x1c2)][_0x17f599(0x143)](_0x3f8991,this[_0x17f599(0x179)](_0x34c09e),_0x5b4611);if(this[_0x17f599(0x11c)]=_0x37452b[_0x17f599(0x11c)],_0x26eb61){if(!_0x37452b[_0x17f599(0xfa)])return void this[_0x17f599(0x118)]();this[_0x17f599(0x11e)]=!0x1,this[_0x17f599(0x119)](),this[_0x17f599(0x108)][_0x17f599(0x169)](),this[_0x17f599(0xca)]=_0x37452b[_0x17f599(0xfd)],this[_0x17f599(0x108)][_0x17f599(0x121)]=this[_0x17f599(0xca)],await this[_0x17f599(0x138)](_0x34c09e,_0x37452b,_0x17f599(0x163));}else await this[_0x17f599(0x15d)](_0x37452b,_0x34c09e);this[_0x17f599(0x187)](),this[_0x17f599(0x146)]=!0x0;}[_0x3f20ce(0x187)](){const _0x25b082=_0x3f20ce,_0x55ff1a=this[_0x25b082(0xef)][_0x25b082(0x1b8)][_0x25b082(0xdd)](_0x581946),_0x350fc3=this[_0x25b082(0xef)][_0x25b082(0x1b8)][_0x25b082(0xdd)](_0x41c88b),_0x110de8=_0x55ff1a[_0x25b082(0x1b7)][_0x25b082(0xdd)](this[_0x25b082(0x1a9)]);_0x110de8&&_0x110de8[_0x25b082(0x13b)]>0x1?_0x350fc3[_0x25b082(0x17e)]():this[_0x25b082(0x1b6)](_0x55ff1a,_0x25b082(0x167)+this[_0x25b082(0x1a9)],()=>{const _0x23d6e0=_0x25b082;0x2===_0x55ff1a[_0x23d6e0(0x1b7)][_0x23d6e0(0xdd)](this[_0x23d6e0(0x1a9)])[_0x23d6e0(0x13b)]&&_0x350fc3[_0x23d6e0(0x17e)]();});}async[_0x3f20ce(0x191)](_0x4d4825,_0x5dd9d0,_0x6ef9c0,_0x939243){const _0x1612ce=_0x3f20ce;if(!this[_0x1612ce(0x11e)]&&this[_0x1612ce(0xd4)][_0x1612ce(0x121)]==_0x5dd9d0){const _0x5b41b0=this[_0x1612ce(0x12b)](_0x6ef9c0,_0x939243);await this[_0x1612ce(0xec)](_0x5b41b0),this[_0x1612ce(0x164)](_0x5b41b0,_0x5dd9d0,_0x6ef9c0[_0x1612ce(0x19d)])||this[_0x1612ce(0xed)](_0x1612ce(0x10d));}}async[_0x3f20ce(0x152)](){const _0x37bfb4=_0x3f20ce;this[_0x37bfb4(0x13d)]();const {locale:_0x7d3261}=this[_0x37bfb4(0xef)];let _0x21c167;try{_0x21c167=await this[_0x37bfb4(0x1c2)][_0x37bfb4(0x1a6)]();}catch{const _0x3ea97f=_0x1338b4(_0x7d3261,_0x37bfb4(0xe7));return void this[_0x37bfb4(0x118)](_0x3ea97f);}const _0xc484cc=_0x21c167[_0x37bfb4(0x1b1)]||_0x21c167[_0x37bfb4(0xd9)];if(this[_0x37bfb4(0x130)]!==_0xc484cc[_0x37bfb4(0x19d)]){const _0x4f3238=_0x1338b4(_0x7d3261,_0x37bfb4(0x178));return void this[_0x37bfb4(0x118)](_0x4f3238);}await this[_0x37bfb4(0x196)](this[_0x37bfb4(0xef)][_0x37bfb4(0x188)][_0x37bfb4(0x160)][_0x37bfb4(0x1b5)][_0x37bfb4(0xe3)](),!0x0);}[_0x3f20ce(0x13d)](){const _0x3fdc63=_0x3f20ce;this[_0x3fdc63(0x1c2)][_0x3fdc63(0x150)](),this[_0x3fdc63(0xbd)]=[],clearTimeout(this[_0x3fdc63(0x13a)]),this[_0x3fdc63(0x159)](this[_0x3fdc63(0x1c2)]);}[_0x3f20ce(0xd5)](_0x5e7eb1){const _0x32833b=_0x3f20ce,_0x58be87=this[_0x32833b(0xef)][_0x32833b(0x1b8)][_0x32833b(0xdd)](_0x581946);this[_0x32833b(0x1b6)](_0x58be87,_0x32833b(0x167)+this[_0x32833b(0x1a9)],(_0x176dd6,{session:_0x4a4a55})=>{const _0x51a340=_0x32833b;if(_0x4a4a55['id']===_0x58be87[_0x51a340(0x11a)]){_0x176dd6[_0x51a340(0x17d)]();const _0x4cda8c=this[_0x51a340(0xef)][_0x51a340(0x1b8)][_0x51a340(0x142)](_0x51a340(0x1bd))&&this[_0x51a340(0xef)][_0x51a340(0x1b8)][_0x51a340(0xdd)](_0x51a340(0x1bd));let _0x4b3377=_0x4a4a55[_0x51a340(0x149)];_0x4cda8c&&_0x4cda8c[_0x51a340(0xea)]&&(_0x4b3377=_0x4b3377[_0x51a340(0x12c)](_0x975785=>_0x51a340(0xc9)!==_0x975785)),this[_0x51a340(0xef)][_0x51a340(0x1b8)][_0x51a340(0xdd)](_0x51a340(0xd8))[_0x51a340(0xee)](_0x4b3377,this[_0x51a340(0x1a9)]);}}),_0x58be87[_0x32833b(0xd1)](this[_0x32833b(0x1a9)],_0x5e7eb1);}[_0x3f20ce(0xce)](){const _0x55f2cd=_0x3f20ce,_0x17551b=this[_0x55f2cd(0xef)][_0x55f2cd(0x15e)][_0x55f2cd(0x16f)];this[_0x55f2cd(0xef)][_0x55f2cd(0x15e)][_0x55f2cd(0x16f)]=(..._0x3db0bd)=>{const _0x81432a=_0x55f2cd;if(!_0x3db0bd[_0x3db0bd[_0x81432a(0x13b)]-0x1][_0x81432a(0x1b2)])throw new _0x4e9e26(_0x81432a(0xd0),this);_0x17551b[_0x81432a(0x109)](this[_0x81432a(0xef)][_0x81432a(0x15e)],_0x3db0bd);};}[_0x3f20ce(0x16c)](){const _0x8e4ef1=_0x3f20ce;this[_0x8e4ef1(0xef)][_0x8e4ef1(0x15e)]['on'](_0x8e4ef1(0xe2),(_0x5ebbeb,[_0x46a943])=>{const _0x2877bc=_0x8e4ef1;if(this[_0x2877bc(0xd4)][_0x2877bc(0x121)])throw new _0x4e9e26(_0x2877bc(0x126),this);_0x5ebbeb[_0x2877bc(0x168)](),this[_0x2877bc(0x1ab)]();const _0x4bc84d=this[_0x2877bc(0xef)][_0x2877bc(0x1ac)][_0x2877bc(0xdd)](_0x2877bc(0xf2)),_0x54fa05=this[_0x2877bc(0x140)](_0x46a943,_0x4bc84d);0x0==_0x54fa05[_0x2877bc(0x13b)]&&_0x54fa05[_0x2877bc(0xbc)](new _0x13d4a6(0x0)),_0x5ebbeb[_0x2877bc(0x11f)]=this[_0x2877bc(0x196)](_0x54fa05)[_0x2877bc(0xf6)](()=>{const _0x2aa82c=_0x2877bc;this[_0x2aa82c(0xef)][_0x2aa82c(0x1b8)][_0x2aa82c(0xdd)](_0x4bb3c7)[_0x2aa82c(0xe8)](this),this[_0x2aa82c(0xef)][_0x2aa82c(0x15e)][_0x2aa82c(0xd7)](_0x2aa82c(0x16b));})[_0x2877bc(0x1a0)](_0x3f06a4=>this[_0x2877bc(0xed)](_0x2877bc(0x103),_0x3f06a4))[_0x2877bc(0x153)](()=>this[_0x2877bc(0x119)]());},{'priority':_0x8e4ef1(0x161)}),this[_0x8e4ef1(0xef)]['on'](_0x8e4ef1(0x1aa),async(_0x437a38,[_0x55c09b,_0x2877ae])=>{const _0x270878=_0x8e4ef1;_0x437a38[_0x270878(0x168)]();const _0x2f9919=this[_0x270878(0xef)][_0x270878(0x188)][_0x270878(0x160)][_0x270878(0x147)](_0x55c09b);if(!this[_0x270878(0x18c)][_0x270878(0x142)](_0x55c09b)){const _0xd5b9a9=_0x2877ae&&_0x2877ae[_0x270878(0x15e)]?_0x2877ae[_0x270878(0x15e)]:'',_0x3a6d05=_0x2877ae&&_0x2877ae[_0x270878(0x18f)]?_0x2877ae[_0x270878(0x18f)]:{};await this[_0x270878(0x10c)](_0x55c09b,_0xd5b9a9,_0x3a6d05);}this[_0x270878(0xef)][_0x270878(0x188)][_0x270878(0x123)]({'isUndoable':!0x1},()=>{const _0x2a6fdd=_0x270878;_0x2f9919[_0x2a6fdd(0x18e)]=!0x0,this[_0x2a6fdd(0xef)][_0x2a6fdd(0x188)][_0x2a6fdd(0x160)][_0x2a6fdd(0x177)][_0x2a6fdd(0x141)](_0x2f9919);});},{'priority':_0x8e4ef1(0x161)});}async[_0x3f20ce(0xec)](_0xfcc13d){const _0x116b0b=_0x3f20ce,_0x394257=this[_0x116b0b(0xef)][_0x116b0b(0x1b8)][_0x116b0b(0xdd)](_0x1281e4),{connection:_0x525128}=this[_0x116b0b(0xef)][_0x116b0b(0x1b8)][_0x116b0b(0xdd)](_0x4bb3c7),_0x8ae2b3=new Set();for(const _0x37adac of _0xfcc13d){const _0x1f1669=_0x37adac[_0x116b0b(0x102)];_0x1f1669&&!_0x394257[_0x116b0b(0xde)](_0x1f1669)&&_0x8ae2b3[_0x116b0b(0xd3)](_0x1f1669);}if(0x0===_0x8ae2b3[_0x116b0b(0x110)])return;const _0x1785b0=await _0x57115b[_0x116b0b(0x100)](_0x525128,Array[_0x116b0b(0x137)](_0x8ae2b3));for(const _0x3771d3 of _0x1785b0)_0x394257[_0x116b0b(0xde)](_0x3771d3['id'])||_0x394257[_0x116b0b(0x180)](_0x3771d3);}[_0x3f20ce(0x140)](_0x1abff7,_0x3448cc={}){const _0xd55fcc=_0x3f20ce,_0x1c093f=this[_0xd55fcc(0xef)][_0xd55fcc(0x188)],_0x266820=[];let _0x1aa40a=0x0;const _0x1a40ae=_0xd55fcc(0xf4)==typeof _0x1abff7?{'main':_0x1abff7}:_0x1abff7;for(const _0x54d865 of Object[_0xd55fcc(0x15f)](_0x1a40ae)){if(!this[_0xd55fcc(0xd4)][_0xd55fcc(0xe1)][_0xd55fcc(0x142)](_0x54d865))throw new _0x4e9e26(_0xd55fcc(0x1a4),this);const _0x200818=this[_0xd55fcc(0xef)][_0xd55fcc(0x15e)][_0xd55fcc(0xf1)](_0x1a40ae[_0x54d865]),_0x117b24=this[_0xd55fcc(0xd4)][_0xd55fcc(0x147)](_0x54d865),_0x19e900=new _0xa9eeb7(_0x1c093f[_0xd55fcc(0x1b3)](_0x117b24,0x0),_0x200818,_0x1aa40a++);_0x266820[_0xd55fcc(0xbc)](_0x19e900);for(const [_0x283dec,_0x3f07af]of _0x200818[_0xd55fcc(0x170)]){const _0xabd7af=_0x1c093f[_0xd55fcc(0x145)](_0x1c093f[_0xd55fcc(0x198)](_0x117b24,_0x3f07af[_0xd55fcc(0xf9)][_0xd55fcc(0x16e)][_0xd55fcc(0x18d)]()),_0x1c093f[_0xd55fcc(0x198)](_0x117b24,_0x3f07af[_0xd55fcc(0x175)][_0xd55fcc(0x16e)][_0xd55fcc(0x18d)]())),_0x5760bf=new _0x23ac2e(_0x283dec,null,_0xabd7af,_0x1c093f[_0xd55fcc(0x170)],!0x0,_0x1aa40a++);_0x266820[_0xd55fcc(0xbc)](_0x5760bf);}}if(_0x3448cc)for(const [_0x15c61e,_0x35a5ea]of Object[_0xd55fcc(0x112)](_0x3448cc)){const _0x459ef5=_0x1c093f[_0xd55fcc(0x160)][_0xd55fcc(0x147)](_0x15c61e);if(!_0x459ef5)throw new _0x4e9e26(_0xd55fcc(0x165),null);for(const [_0x548614,_0x14584f]of Object[_0xd55fcc(0x112)](_0x35a5ea))if(null!==_0x14584f){const _0x450c39=new _0x104001(_0x459ef5,_0x548614,null,_0x14584f,_0x1aa40a++);_0x266820[_0xd55fcc(0xbc)](_0x450c39);}}return _0x266820;}async[_0x3f20ce(0x10c)](_0x36c888,_0xaa195,_0x16142d){const _0x14612c=_0x3f20ce;this[_0x14612c(0x140)]({[_0x36c888]:_0xaa195},{[_0x36c888]:_0x16142d})[_0x14612c(0xc6)]((_0x2fde74,_0x531754)=>{const _0x24e168=_0x14612c;_0x2fde74[_0x24e168(0x158)]=this[_0x24e168(0xd4)][_0x24e168(0x121)]+_0x531754,_0x2fde74[_0x24e168(0xf8)]=!0x0,this[_0x24e168(0x10e)](_0x2fde74);}),this[_0x14612c(0xcd)](),await this[_0x14612c(0x122)]();}async[_0x3f20ce(0x15d)](_0x279fd9,_0x5ac96d){const _0x53753c=_0x3f20ce;let _0x4341f4;this[_0x53753c(0xca)]=_0x279fd9[_0x53753c(0xfd)];const _0x13c428=_0x279fd9[_0x53753c(0xfa)]&&!_0x279fd9[_0x53753c(0x15b)],_0x2c21a6=_0x13c428?0x0:_0x279fd9[_0x53753c(0x15e)][_0x53753c(0x158)];if(_0x5ac96d[_0x53753c(0xc6)](_0x4917c4=>{const _0x24f03f=_0x53753c;_0x4917c4[_0x24f03f(0xf8)]=!0x0,_0x4917c4[_0x24f03f(0x1b9)]=_0x279fd9[_0x24f03f(0xcf)],_0x4917c4[_0x24f03f(0x102)]=null;}),_0x13c428)_0x4341f4=_0x5ac96d,this[_0x53753c(0x1bc)](_0x4341f4,_0x13c428);else{if(_0x279fd9[_0x53753c(0x15b)]){const _0x1e6ccc=this[_0x53753c(0x140)](_0x279fd9[_0x53753c(0x15b)]);this[_0x53753c(0xd4)][_0x53753c(0x1b5)][_0x53753c(0x121)]=-_0x1e6ccc[_0x53753c(0x13b)],_0x1e6ccc[_0x53753c(0xc6)](_0x477a49=>{const _0x3a09d4=_0x53753c;_0x477a49[_0x3a09d4(0x158)]-=_0x1e6ccc[_0x3a09d4(0x13b)],_0x477a49[_0x3a09d4(0x1b9)]=_0x279fd9[_0x3a09d4(0xcf)],_0x477a49[_0x3a09d4(0xf8)]=!0x0,_0x477a49[_0x3a09d4(0x102)]=null;}),this[_0x53753c(0x1bc)](_0x1e6ccc,!0x0),this[_0x53753c(0x108)][_0x53753c(0x121)]=-_0x1e6ccc[_0x53753c(0x13b)]+this[_0x53753c(0xca)],this[_0x53753c(0x12a)](_0x1e6ccc);}this[_0x53753c(0xd4)][_0x53753c(0x1b5)][_0x53753c(0x121)]=_0x2c21a6,_0x4341f4=this[_0x53753c(0x12b)](_0x279fd9[_0x53753c(0x15e)],_0x279fd9[_0x53753c(0x14d)]),await this[_0x53753c(0xec)](_0x4341f4),this[_0x53753c(0x1bc)](_0x4341f4,_0x13c428);}_0x279fd9[_0x53753c(0x19d)]&&(this[_0x53753c(0xe6)][_0x53753c(0x14c)](_0x4341f4,_0x279fd9[_0x53753c(0x19d)]),this[_0x53753c(0x130)]=_0x279fd9[_0x53753c(0x19d)]),this[_0x53753c(0x108)][_0x53753c(0x121)]=_0x2c21a6+this[_0x53753c(0xca)],this[_0x53753c(0x12a)](_0x4341f4),_0x5ac96d[_0x53753c(0x12c)](_0x5470f6=>{const _0x1d4854=_0x53753c,_0x368e75=this[_0x1d4854(0x18b)](_0x5470f6);return _0x368e75&&!this[_0x1d4854(0x18c)][_0x1d4854(0x142)](_0x368e75);})[_0x53753c(0xc6)]((_0x104165,_0x3aeaa8)=>{const _0x4b7398=_0x53753c;_0x104165[_0x4b7398(0x158)]=this[_0x4b7398(0xd4)][_0x4b7398(0x121)]+_0x3aeaa8,this[_0x4b7398(0x10e)](_0x104165);}),this[_0x53753c(0x114)]()?(this[_0x53753c(0xbf)]=0x0,this[_0x53753c(0xcd)](!0x0),await this[_0x53753c(0x122)]()):(this[_0x53753c(0x11e)]=!0x1,this[_0x53753c(0x119)]());}[_0x3f20ce(0xed)](_0x891748,_0x5707ee){const _0x227662=_0x3f20ce,_0x14a1e4=_0x5707ee&&_0x5707ee[_0x227662(0xdc)];if(_0x14a1e4&&_0x14a1e4[_0x227662(0x19c)](_0x227662(0x190)))throw _0x5707ee;const _0x474e3d=this[_0x227662(0xef)][_0x227662(0x1b8)][_0x227662(0xdd)](_0x4bb3c7);throw this[_0x227662(0x11e)]=!0x0,_0x474e3d[_0x227662(0x150)](),this[_0x227662(0xef)][_0x227662(0x17a)](_0x227662(0xda)),new _0x4e9e26(_0x891748,this[_0x227662(0xef)],_0x14a1e4?{'originalError':_0x14a1e4}:void 0x0);}[_0x3f20ce(0x10e)](_0x3e26e0){const _0x18935d=_0x3f20ce;this[_0x18935d(0x155)][_0x18935d(0x142)](_0x3e26e0)||(this[_0x18935d(0x155)][_0x18935d(0xd3)](_0x3e26e0),this[_0x18935d(0xbd)][_0x18935d(0xbc)](_0x3e26e0),this[_0x18935d(0xfb)]||_0x18935d(0xe0)==_0x3e26e0[_0x18935d(0x132)]&&!_0x3e26e0[_0x18935d(0x171)]||this[_0x18935d(0x1ab)]());}[_0x3f20ce(0xcd)](_0x1b03dc=!0x1){const _0x3fd25a=_0x3f20ce;!_0x1b03dc&&this[_0x3fd25a(0x11e)]||(this[_0x3fd25a(0x11e)]=!0x0,clearTimeout(this[_0x3fd25a(0x13a)]),this[_0x3fd25a(0x13a)]=setTimeout(()=>{const _0x49cedf=_0x3fd25a;this[_0x49cedf(0x1bf)]()[_0x49cedf(0xf6)](_0x46afd7=>{const _0x1f3cc3=_0x49cedf;_0x46afd7&&(this[_0x1f3cc3(0x119)](),this[_0x1f3cc3(0x11e)]=!0x1);})[_0x49cedf(0x1a0)](_0x9fea3e=>{const _0x3726b1=_0x49cedf;this[_0x3726b1(0x119)](),this[_0x3726b1(0x11e)]=!0x1,function(_0x3cfc5e){const _0x18257b=_0x3726b1;return _0x3cfc5e[_0x18257b(0xdc)][_0x18257b(0x19c)](_0x18257b(0xf5))||_0x3cfc5e[_0x18257b(0xdc)][_0x18257b(0x19c)](_0x18257b(0x199))||_0x3cfc5e[_0x18257b(0xdc)][_0x18257b(0x19c)](_0x18257b(0x1b4));}(_0x9fea3e)||this[_0x3726b1(0xed)](_0x9fea3e[_0x3726b1(0xdc)],_0x9fea3e);});},this[_0x3fd25a(0xbf)]));}[_0x3f20ce(0x122)](){return new Promise(_0x31b932=>{const _0x5e5c35=_0x2fd8;this['on'](_0x5e5c35(0x184),()=>{_0x31b932();});});}async[_0x3f20ce(0x1bf)](){const _0x24d141=_0x3f20ce,_0x29a2cb=this[_0x24d141(0xef)][_0x24d141(0x1b8)][_0x24d141(0xdd)](_0x41c88b);if(this[_0x24d141(0x176)]()&&(_0x29a2cb[_0x24d141(0x17e)](),this[_0x24d141(0x172)]=!0x1),!this[_0x24d141(0x114)]())return!0x0;const _0x32e165=[...this[_0x24d141(0xbd)]];for(const _0x26ab49 of _0x32e165)_0x26ab49[_0x24d141(0x181)]=this[_0x24d141(0xd4)][_0x24d141(0x1b5)][_0x24d141(0x136)](_0x26ab49);const _0x1ae56d=this[_0x24d141(0xe6)][_0x24d141(0xc3)](_0x32e165),_0x485a09=G++,_0x479dc0=this[_0x24d141(0x179)](_0x32e165),_0x129710=await this[_0x24d141(0x1c2)][_0x24d141(0x174)](_0x479dc0,_0x479dc0[_0x24d141(0x158)],_0x1ae56d);try{return await this[_0x24d141(0x138)](_0x32e165,_0x129710,_0x485a09);}catch(_0x1518d7){return this[_0x24d141(0xed)](_0x24d141(0x1c1),_0x1518d7);}}async[_0x3f20ce(0x138)](_0xb022cc,_0x1e7bc9,_0x1a613c){const _0x3c4835=_0x3f20ce;if(_0x3c4835(0x16a)in _0x1e7bc9)throw _0x1e7bc9[_0x3c4835(0x16a)];let _0x3a1c34=!0x1;if(_0x1e7bc9[_0x3c4835(0xfa)]){_0x1e7bc9[_0x3c4835(0x19d)]&&(this[_0x3c4835(0x130)]=_0x1e7bc9[_0x3c4835(0x19d)]),this[_0x3c4835(0xbd)]=this[_0x3c4835(0xbd)][_0x3c4835(0x12c)](_0x4965ac=>!_0xb022cc[_0x3c4835(0x1ba)](_0x4965ac));for(const _0x93b349 of _0xb022cc)_0x93b349[_0x3c4835(0x1b9)]=_0x3c4835(0x148)in _0x1e7bc9&&_0x1e7bc9[_0x3c4835(0x148)]||void 0x0;K(_0xb022cc,_0x1e7bc9[_0x3c4835(0x121)]-_0xb022cc[_0x3c4835(0x13b)]),this[_0x3c4835(0x12a)](_0xb022cc);const _0xbb6864=_0xb022cc[_0x3c4835(0x12c)](_0x1af319=>{const _0x4e5b06=_0x3c4835;if(!_0x1af319[_0x4e5b06(0xf8)])return!0x1;const _0x33df07=this[_0x4e5b06(0x18b)](_0x1af319);return _0x33df07&&!this[_0x4e5b06(0x18c)][_0x4e5b06(0x142)](_0x33df07);});K(_0xbb6864,this[_0x3c4835(0xd4)][_0x3c4835(0x121)]),this[_0x3c4835(0x1bc)](_0xbb6864),_0x3a1c34=!0x0,this[_0x3c4835(0xbf)]=this[_0x3c4835(0x162)];}else{const _0x4e55fb=this[_0x3c4835(0x12b)](_0x1e7bc9[_0x3c4835(0x15e)],_0x1e7bc9[_0x3c4835(0x14d)])[_0x3c4835(0x12c)](_0x224142=>_0x224142[_0x3c4835(0x158)]>=this[_0x3c4835(0x18a)]);_0x4e55fb[_0x3c4835(0xc6)](_0x32001e=>this[_0x3c4835(0xcc)](_0x32001e)),this[_0x3c4835(0xbd)]=this[_0x3c4835(0xbd)][_0x3c4835(0x12c)](_0x5879a3=>!_0x5879a3[_0x3c4835(0xf8)]||!this[_0x3c4835(0x18c)][_0x3c4835(0x142)](this[_0x3c4835(0x18b)](_0x5879a3))),this[_0x3c4835(0xbd)][_0x3c4835(0x13b)]&&K(this[_0x3c4835(0xbd)],this[_0x3c4835(0xbd)][0x0][_0x3c4835(0x158)]),await this[_0x3c4835(0xec)](_0x4e55fb),_0x3a1c34=this[_0x3c4835(0x164)](_0x4e55fb,_0x1e7bc9[_0x3c4835(0x121)],_0x1e7bc9[_0x3c4835(0x19d)]),this[_0x3c4835(0xbf)]=Math[_0x3c4835(0x19e)](this[_0x3c4835(0xbf)]/0x2);}return _0x3a1c34?!this[_0x3c4835(0x114)]()||(this[_0x3c4835(0xcd)](!0x0),!0x1):this[_0x3c4835(0xed)](_0x3c4835(0xe9));}[_0x3f20ce(0x164)](_0x2e0066,_0x328a04,_0x3f78de){const _0x342f40=_0x3f20ce;try{const _0x85a931={'document':this[_0x342f40(0xd4)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1c695d,operationsB:_0x5a1b3b,originalOperations:_0x29671e}=_0x5b3a29(_0x2e0066,this[_0x342f40(0xbd)],_0x85a931);K(_0x1c695d,this[_0x342f40(0xd4)][_0x342f40(0x121)]),K(_0x5a1b3b,_0x328a04);for(const _0x433463 of _0x1c695d){const _0x4b5280=_0x29671e[_0x342f40(0xdd)](_0x433463);_0x433463[_0x342f40(0x102)]=_0x4b5280?_0x4b5280[_0x342f40(0x102)]:null;}_0x3f78de&&(this[_0x342f40(0xe6)][_0x342f40(0x14c)](_0x2e0066,_0x3f78de),this[_0x342f40(0x130)]=_0x3f78de),this[_0x342f40(0xbd)]=[..._0x5a1b3b],this[_0x342f40(0x1bc)](_0x1c695d),this[_0x342f40(0x12a)](_0x2e0066);}catch(_0x48e21c){return console[_0x342f40(0x16a)](_0x48e21c),!0x1;}return!0x0;}[_0x3f20ce(0x1bc)](_0xba34b1,_0x8a723d=!0x1){const _0x227fe1=_0x3f20ce;this[_0x227fe1(0xef)][_0x227fe1(0x188)][_0x227fe1(0x123)]({'isUndoable':!0x1,'isLocal':!0x1},_0x39f658=>{const _0x42d654=_0x227fe1;for(const _0x5143dc of _0xba34b1)this[_0x42d654(0x155)][_0x42d654(0xd3)](_0x5143dc),this[_0x42d654(0xcc)](_0x5143dc),_0x39f658[_0x42d654(0x195)][_0x42d654(0x1a2)](_0x5143dc),this[_0x42d654(0xef)][_0x42d654(0x188)][_0x42d654(0xf7)](_0x5143dc);});}[_0x3f20ce(0xcc)](_0x16668b){const _0x575540=_0x3f20ce,_0x168463=this[_0x575540(0x18b)](_0x16668b);_0x168463&&this[_0x575540(0x18c)][_0x575540(0xd3)](_0x168463);}[_0x3f20ce(0x18b)](_0x513997){const _0x5725e6=_0x3f20ce;let _0x120628,_0x4db2cf;switch(_0x513997[_0x5725e6(0x132)]){case _0x5725e6(0x19b):_0x120628=_0x513997[_0x5725e6(0x12f)][_0x5725e6(0x19a)];break;case _0x5725e6(0xe0):if(_0x4db2cf=_0x513997[_0x5725e6(0xff)],!_0x4db2cf)return null;_0x120628=_0x4db2cf[_0x5725e6(0x19a)];break;case _0x5725e6(0x17c):_0x120628=_0x513997[_0x5725e6(0x19a)];break;case _0x5725e6(0x10a):_0x120628=_0x513997[_0x5725e6(0x12e)];break;case _0x5725e6(0xe4):_0x120628=_0x513997[_0x5725e6(0x1ad)][_0x5725e6(0x19a)];break;default:return null;}return _0x120628[_0x5725e6(0x1c0)];}[_0x3f20ce(0x12a)](_0xdf05f5){const _0x2fab9d=_0x3f20ce;_0xdf05f5[_0x2fab9d(0xc6)](_0x17e66d=>{const _0x3ce55a=_0x2fab9d,_0x50435b=_0x17e66d[_0x3ce55a(0x19f)]();_0x50435b[_0x3ce55a(0x102)]=_0x17e66d[_0x3ce55a(0x102)],_0x50435b[_0x3ce55a(0xf8)]=!!_0x17e66d[_0x3ce55a(0xf8)],_0x50435b[_0x3ce55a(0x1b9)]=_0x17e66d[_0x3ce55a(0x1b9)],_0x50435b[_0x3ce55a(0x158)]+=this[_0x3ce55a(0xca)],_0x17e66d[_0x3ce55a(0x157)]&&this[_0x3ce55a(0x104)][_0x3ce55a(0xd3)](_0x50435b),this[_0x3ce55a(0x108)][_0x3ce55a(0x1a2)](_0x50435b);});}[_0x3f20ce(0x118)](_0x26093a){const _0x31874f=_0x3f20ce,_0x399956=this[_0x31874f(0xef)][_0x31874f(0x1b8)][_0x31874f(0xdd)](_0x31874f(0x1af)),_0x1e6caf=this[_0x31874f(0xef)][_0x31874f(0xc2)];_0x26093a||(_0x26093a=_0x1338b4(_0x1e6caf,_0x31874f(0x107))),_0x399956[_0x31874f(0x13f)](_0x26093a,{'title':_0x1338b4(_0x1e6caf,_0x31874f(0xc0)),'namespace':_0x31874f(0x1bb)}),this[_0x31874f(0x1a1)]=!0x0,clearTimeout(this[_0x31874f(0x13a)]),this[_0x31874f(0xbd)]=[],this[_0x31874f(0xef)][_0x31874f(0x1b8)][_0x31874f(0xdd)](_0x4bb3c7)[_0x31874f(0x150)]();}[_0x3f20ce(0x1ab)](){const _0x15cd64=_0x3f20ce;this[_0x15cd64(0xfb)]||(this[_0x15cd64(0xfb)]=this[_0x15cd64(0xef)][_0x15cd64(0x1b8)][_0x15cd64(0xdd)](_0x26c835)[_0x15cd64(0xd3)](_0x1338b4(this[_0x15cd64(0xef)][_0x15cd64(0xc2)],_0x15cd64(0x14a))));}[_0x3f20ce(0x119)](){const _0x14567d=_0x3f20ce;this[_0x14567d(0xfb)]&&(this[_0x14567d(0xef)][_0x14567d(0x1b8)][_0x14567d(0xdd)](_0x26c835)[_0x14567d(0xc8)](this[_0x14567d(0xfb)]),this[_0x14567d(0xfb)]=null);}[_0x3f20ce(0x179)](_0x5ddbb4){const _0x36cdc6=_0x3f20ce,_0x509f04=_0x5ddbb4[_0x36cdc6(0x134)](_0x2a1a8b=>_0x2a1a8b[_0x36cdc6(0x124)]());return this[_0x36cdc6(0x133)][_0x36cdc6(0xc1)](_0x509f04);}[_0x3f20ce(0x12b)](_0x244dff,_0x3e16b1){const _0x186363=_0x3f20ce;return this[_0x186363(0x133)][_0x186363(0xd6)](_0x244dff)[_0x186363(0x134)]((_0x1fee35,_0x5b893b)=>{const _0x46333c=_0x186363,_0x3a08e1=_0x46333c(0xe2)==_0x3e16b1[_0x5b893b][_0x46333c(0x132)];if(_0x46333c(0x11d)==_0x1fee35[_0x46333c(0xdb)]){const _0x4ccf20=_0x1fee35[_0x46333c(0x12f)][_0x46333c(0x19a)];!this[_0x46333c(0xd4)][_0x46333c(0x147)](_0x4ccf20)&&(this[_0x46333c(0xd4)][_0x46333c(0x1a7)](_0x46333c(0x128),_0x4ccf20)[_0x46333c(0x1a3)]=!0x1);}const _0x12428a=_0x25d0ed[_0x46333c(0x1a8)](_0x1fee35,this[_0x46333c(0xd4)]);return _0x12428a[_0x46333c(0x181)]=_0x1fee35[_0x46333c(0x181)],_0x12428a[_0x46333c(0xf8)]=_0x3a08e1,_0x12428a[_0x46333c(0x102)]=_0x3a08e1?null:_0x3e16b1[_0x5b893b][_0x46333c(0x183)],_0x12428a[_0x46333c(0x157)]=_0x46333c(0x144)===_0x3e16b1[_0x5b893b][_0x46333c(0x132)],_0x12428a[_0x46333c(0x1b9)]=_0x3e16b1[_0x5b893b][_0x46333c(0x1b9)],_0x12428a;});}[_0x3f20ce(0x16d)](){const _0x309e37=_0x3f20ce;this[_0x309e37(0x172)]=!0x0,this[_0x309e37(0x176)]()?this[_0x309e37(0xcd)]():this[_0x309e37(0x172)]=!0x1;}[_0x3f20ce(0x176)](){const _0x24a41f=_0x3f20ce,_0x14fca6=this[_0x24a41f(0xef)][_0x24a41f(0x1b8)][_0x24a41f(0xdd)](_0x581946)[_0x24a41f(0x1b7)][_0x24a41f(0xdd)](this[_0x24a41f(0x1a9)]);return!this[_0x24a41f(0xef)][_0x24a41f(0xd2)]&&!!_0x14fca6&&_0x14fca6[_0x24a41f(0x13b)]>0x1&&this[_0x24a41f(0x172)];}[_0x3f20ce(0x114)](){const _0x24b39f=_0x3f20ce;return this[_0x24b39f(0xbd)][_0x24b39f(0x13b)]>0x0||this[_0x24b39f(0x176)]();}}class $ extends Error{}function K(_0x1e96a7,_0x35c6cd){const _0x372288=_0x3f20ce;for(const _0x117339 of _0x1e96a7)_0x117339[_0x372288(0x158)]=_0x35c6cd++;}class J{[_0x3f20ce(0x129)];[_0x3f20ce(0x15a)];constructor(_0x121b75){const _0x59bd59=_0x3f20ce;this[_0x59bd59(0x129)]=_0x121b75,this[_0x59bd59(0x15a)]=new WeakMap();}[_0x3f20ce(0xc3)](_0x4a7f74){const _0x49abfa=_0x3f20ce;let _0x23cd6d=_0x4a7f74[_0x49abfa(0x13b)];for(;_0x23cd6d--;){const _0x496d2b=_0x4a7f74[_0x23cd6d];if(!this[_0x49abfa(0x129)][_0x49abfa(0x142)](_0x496d2b)){if(!this[_0x49abfa(0x15a)][_0x49abfa(0x142)](_0x496d2b)){const _0x1e166=_0xa2d85d()[_0x49abfa(0x18d)](0x1,0x12);this[_0x49abfa(0x15a)][_0x49abfa(0x16f)](_0x496d2b,_0x1e166);}return this[_0x49abfa(0x15a)][_0x49abfa(0xdd)](_0x496d2b);}}}[_0x3f20ce(0x14c)](_0x1f48ed,_0x58b0d8){const _0x2b01c0=_0x3f20ce;if(!_0x58b0d8)return;let _0x10186f=_0x1f48ed[_0x2b01c0(0x13b)];for(;_0x10186f--;){const _0x4fc176=_0x1f48ed[_0x10186f];this[_0x2b01c0(0x129)][_0x2b01c0(0x142)](_0x4fc176)||this[_0x2b01c0(0x15a)][_0x2b01c0(0x16f)](_0x4fc176,_0x58b0d8);}}}
23
+ function _0x5d62(_0x3499c1,_0x13a46d){const _0x3e0fd3=_0x3e0f();return _0x5d62=function(_0x5d62f9,_0xe40c3c){_0x5d62f9=_0x5d62f9-0x147;let _0x134a0b=_0x3e0fd3[_0x5d62f9];return _0x134a0b;},_0x5d62(_0x3499c1,_0x13a46d);}const _0x42231a=_0x5d62;(function(_0x2d4ce3,_0x32eae7){const _0x46a10a=_0x5d62,_0x366b75=_0x2d4ce3();while(!![]){try{const _0x483a1f=parseInt(_0x46a10a(0x1b2))/0x1*(-parseInt(_0x46a10a(0x1af))/0x2)+parseInt(_0x46a10a(0x198))/0x3+parseInt(_0x46a10a(0x184))/0x4+parseInt(_0x46a10a(0x179))/0x5*(-parseInt(_0x46a10a(0x176))/0x6)+parseInt(_0x46a10a(0x1f3))/0x7+parseInt(_0x46a10a(0x225))/0x8+-parseInt(_0x46a10a(0x23b))/0x9;if(_0x483a1f===_0x32eae7)break;else _0x366b75['push'](_0x366b75['shift']());}catch(_0x44588d){_0x366b75['push'](_0x366b75['shift']());}}}(_0x3e0f,0xd9d75));import{Plugin as _0x3134c0,PendingActions as _0x4bd464}from'ckeditor5/src/core.js';import{CKEditorError as _0x2c870b,version as _0x1cff5b,uid as _0x585be3}from'ckeditor5/src/utils.js';import{Notification as _0x4cfb02}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x1e0f51,NoOperation as _0x256757,InsertOperation as _0x41d737,MarkerOperation as _0x2f2e78,RootAttributeOperation as _0x4bb47a,OperationFactory as _0x495498,History as _0x36b72c}from'ckeditor5/src/engine.js';function _0x3e0f(){const _0x4e367e=['fromJSON','_bufferRootLoad','locale','toJSON','getOperationAuthor','unregister','lastDocumentSession','_channelId','then','compress','setIdForTheLastOperation','getConnectedSessions','reconnect','suppressErrorInCollaboration','isEnabled','history','_lastSyncedOperationId','real-time-collaboration','length','targetPosition','channelSessions','2542792TrPtyf','string','apply','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','$root','isDocumentOperation','batch','sendOperations','end','define','Synchronization\x20issue','addRoot','version','mySessionId','_isPendingUpdate','isOfficialPlugin','CommentsOnly','connect','root','multi-root-editor-root-attributes-no-root','_isAttached','isUndoneOperation','_connectService','realtimecollaborationclient-init-service-internal-error','_decompressOperations','listenTo','_knownRootNames','createRange','addOperation','realtimecollaborationclient-handleserverresponse','_authorId','_handleReconnectionResponse','_currentBufferDelay','wereChangesApplied','_handleSendingSelectionMarkers','getMany','realtimecollaborationclient-init-service-incorrect-server-operation','realtimecollaborationclient-init-non-existent-root','connected','change:_isEditingAllowed','cloud-services-internal-error:\x20Not\x20connected.','disconnected','createPositionAt','realtimecollaborationclient','realtimecollaborationclient-sendbufferedoperations','cloudServices.bundleVersion','showWarning','pluginName','currentDocumentSession','message','8949168NQZjAC','keys','_sendBufferedOperations','collaboration-missing-channelid','finally','cloud-services-internal-error:\x20Request\x20timeout.','_refreshUserSelectionMarkers','map','type','_getOperationsFromInitData','start','metadata','bind','createRoot','size','createdAt','_updateServerHistory','collaboration.channelId','ready','operationsReceived','round','setPermissions','17319960uuPvDQ','entries','_handleExternalOperations','_applyOperationsSet','plugins','_sendBufferedOperationsDelayed','_isEditingAllowed','slice','differ','rtc-offline','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','push','get','realtimecollaborationclient-init-connection-failed','disconnect','remove','applyOperation','_loadRoot','init','config','_hasSynchronizationProblem','enqueueChange','sessionId','change:_isPendingUpdate','editor','getOperations','position','realtimecollaborationclient-init-document-already-initialized','Notification','_bufferedOperations','from','serverHistory','offset','disableReadOnlyMode','add','rootsAttributes','requires','InsertOperation','destroy','collaboration','marker','_isInit','RealTimeCollaborationClient','code','connection','_waitUntilSynced','addUser','_offset','insert','change:range','_handleServerResponse','error','_addKnownRoot','change:hasDomSelection','model','getDocumentDetails','_hasSelectionChanged','set','state','fire','data','409','parse','loadRoot','18HJZcsW','getIdOfTheLastOperation','404','1003285FoWOcU','affectedSelectable','rtc-destroyed','_isLoaded','off','baseVersion','_clearPendingAction','document:write','getRoot','_lastServerVersion','removeFromReconnectionStack','4485712EtQxAK','enableReadOnlyMode','filter','roots','reconnection:\x20flushed\x20session','createUserMarkerOperations','startsWith','Permissions','includes','_pendingAction','_handleReconnectionError','_handleReceivedOperations','_handleInitialConnectionData','lastOperationId','permissions','_setPendingAction','newRange','getUser','sessionAdd:','PENDING_ACTION_SENDING_DATA','4573995yaZQOF','_isConnected','affectsData','selection','realtimecollaborationclient-error','createPositionFromPath','_connectAfterSessionHasBeenFlushed','_compressOperations','_shouldSendUpdate','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.','_disconnectionOperations','_saveOperationInBuffer','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','forEach','move','addToReconnectionStack','userId','stopListening','_service','decompress','isReadOnly','directChange','_ignoredOperations','2SPJXGh','_isDisconnection','_fetchMissingUsers','709307xIjErz','catch','_disconnectService','lastSyncVersion','initData','sessionCreatedAt','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','return','__className','_operationToId','_baseBufferDelay','view','register','high','_setUpDataInit','stop','has','isPremiumPlugin','_operationIdentifier','editing','_shouldSendSelectionUpdate','_initSessionsHandling','_document','_initThrowingOnDataSet','rootName','_knownOperations','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.','_compressor','clone','lastOperationAcceptedAt','_sendBufferedOperationsDelayId','wasUndone','cs:removeUser','document','_getAffectedRoot','attributes','reset','_crash','path','addRootAttribute','cloudDocumentVersion','markers','CollaborativeEditingService','realtimecollaborationclient-init-session-connection-error'];_0x3e0f=function(){return _0x4e367e;};return _0x3e0f();}import{WebSocketGateway as _0x1a8d74}from'./websocketgateway.js';import{Sessions as _0x9eb648}from'./sessions.js';import{UserMarkers as _0x2a1ed3}from'./usermarkers.js';import{getTranslation as _0x21bf21}from'../common-translations.js';import{Compressor as _0x413d4c}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1cc2b3}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x3058f7,CollaborativeEditingService as _0x18e5ee}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;export class RealTimeCollaborationClient extends _0x3134c0{static [_0x42231a(0x1dc)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x18e5ee)());[_0x42231a(0x165)];[_0x42231a(0x14c)];[_0x42231a(0x155)];[_0x42231a(0x1e5)];[_0x42231a(0x1aa)];[_0x42231a(0x1c8)];[_0x42231a(0x1cd)];[_0x42231a(0x153)];[_0x42231a(0x1cb)];[_0x42231a(0x20d)];[_0x42231a(0x18d)];[_0x42231a(0x16e)];[_0x42231a(0x1d0)];[_0x42231a(0x1bc)];[_0x42231a(0x213)];[_0x42231a(0x1ee)];[_0x42231a(0x1a2)];[_0x42231a(0x1c4)];static get[_0x42231a(0x15a)](){return[_0x1a8d74,_0x9eb648,_0x2a1ed3,_0x4bd464,_0x1cc2b3,_0x4cfb02];}static get[_0x42231a(0x222)](){const _0x1abf03=_0x42231a;return _0x1abf03(0x160);}static get[_0x42231a(0x202)](){return!0x0;}static get[_0x42231a(0x1c3)](){return!0x0;}get[_0x42231a(0x1da)](){const _0x215071=_0x42231a;return this[_0x215071(0x182)]+this[_0x215071(0x165)];}get[_0x42231a(0x182)](){const _0x227c99=_0x42231a;return this[_0x227c99(0x155)][_0x227c99(0x1ff)]-this[_0x227c99(0x165)];}get[_0x42231a(0x1b5)](){const _0x36d11f=_0x42231a,_0x593709=this[_0x36d11f(0x155)][_0x36d11f(0x14f)]();for(let _0x4c47bf=_0x593709[_0x36d11f(0x1f0)]-0x1;_0x4c47bf>=0x0;_0x4c47bf--){const _0x43783d=_0x593709[_0x4c47bf];if(!this[_0x36d11f(0x1a2)][_0x36d11f(0x1c2)](_0x43783d))return _0x43783d[_0x36d11f(0x17e)]+0x1-this[_0x36d11f(0x165)];}return 0x0;}constructor(_0x1b2b6d){const _0x49ee0f=_0x42231a;if(super(_0x1b2b6d),this[_0x49ee0f(0x165)]=0x0,this[_0x49ee0f(0x14c)]=null,this[_0x49ee0f(0x155)]=new _0x36b72c(),this[_0x49ee0f(0x14e)][_0x49ee0f(0x149)][_0x49ee0f(0x1fc)](_0x49ee0f(0x15d),{}),this[_0x49ee0f(0x1e5)]=this[_0x49ee0f(0x14e)][_0x49ee0f(0x149)][_0x49ee0f(0x247)](_0x49ee0f(0x236)),!this[_0x49ee0f(0x1e5)])throw new _0x2c870b(_0x49ee0f(0x228),this);const _0x3ce55c=_0x1b2b6d[_0x49ee0f(0x149)][_0x49ee0f(0x247)](_0x49ee0f(0x220))||_0x1cff5b;this[_0x49ee0f(0x1aa)]=new RealTimeCollaborationClient[(_0x49ee0f(0x1dc))](_0x3ce55c,this[_0x49ee0f(0x1e5)]),this[_0x49ee0f(0x1c8)]=this[_0x49ee0f(0x14e)][_0x49ee0f(0x16c)][_0x49ee0f(0x1d3)],this[_0x49ee0f(0x1cd)]=new _0x413d4c(),this[_0x49ee0f(0x153)]=[],this[_0x49ee0f(0x1cb)]=new WeakSet(),this[_0x49ee0f(0x20d)]=new Set(),this[_0x49ee0f(0x16f)](_0x49ee0f(0x201),!0x1),this[_0x49ee0f(0x16f)](_0x49ee0f(0x14a),!0x1),this[_0x49ee0f(0x18d)]=null,this[_0x49ee0f(0x16e)]=!0x1,this[_0x49ee0f(0x1d0)]=null,this[_0x49ee0f(0x1bc)]=0x12c,this[_0x49ee0f(0x213)]=this[_0x49ee0f(0x1bc)],this[_0x49ee0f(0x1ee)]=null,this[_0x49ee0f(0x1a2)]=new WeakSet(),this[_0x49ee0f(0x1c4)]=new X(this[_0x49ee0f(0x1a2)]);}[_0x42231a(0x148)](){const _0x4d89a3=_0x42231a,_0x5f2fbb=this[_0x4d89a3(0x14e)],_0x1bd7c6=_0x5f2fbb[_0x4d89a3(0x23f)][_0x4d89a3(0x247)](_0x1cc2b3),_0x48b0df=_0x5f2fbb[_0x4d89a3(0x23f)][_0x4d89a3(0x247)](_0x1a8d74);this[_0x4d89a3(0x20c)](_0x1bd7c6,_0x4d89a3(0x1e2),(_0x4d9fb3,_0x44cf02)=>{const _0xfffc0=_0x4d89a3,_0x1d92cd=_0x44cf02[0x0];_0x1d92cd[_0xfffc0(0x211)]&&(_0x4d9fb3[_0xfffc0(0x1b9)]=_0x1bd7c6[_0xfffc0(0x195)](_0x1d92cd[_0xfffc0(0x211)]),_0x4d9fb3[_0xfffc0(0x1c1)]()),null===_0x1d92cd[_0xfffc0(0x211)]&&(_0x4d9fb3[_0xfffc0(0x1b9)]=null,_0x4d9fb3[_0xfffc0(0x1c1)]());},{'priority':_0x4d89a3(0x1bf)}),this[_0x4d89a3(0x20c)](_0x5f2fbb[_0x4d89a3(0x16c)][_0x4d89a3(0x1d3)][_0x4d89a3(0x19b)],_0x4d89a3(0x167),(_0xfd79bc,_0x3f9f71)=>{const _0x16ea97=_0x4d89a3;_0x3f9f71[_0x16ea97(0x1ad)]&&this[_0x16ea97(0x22b)]();}),this[_0x4d89a3(0x20c)](_0x5f2fbb[_0x4d89a3(0x1c5)][_0x4d89a3(0x1bd)],_0x4d89a3(0x16b),()=>{const _0x4db3a9=_0x4d89a3;this[_0x4db3a9(0x22b)]();}),this[_0x4d89a3(0x1c9)](),_0x5f2fbb[_0x4d89a3(0x16c)]['on'](_0x4d89a3(0x24b),(_0xfca395,_0x31899b)=>{const _0x3ff826=_0x4d89a3,_0x44c615=_0x31899b[0x0];_0x44c615[_0x3ff826(0x1f8)]&&(this[_0x3ff826(0x1a3)](_0x44c615),this[_0x3ff826(0x1a0)]()&&this[_0x3ff826(0x240)]());}),this[_0x4d89a3(0x1c0)](),this[_0x4d89a3(0x231)](_0x4d89a3(0x241))['to'](_0x48b0df,_0x4d89a3(0x170),this,_0x4d89a3(0x14a),(_0x4195b0,_0x4ed38c)=>_0x4d89a3(0x219)===_0x4195b0&&!_0x4ed38c),this['on'](_0x4d89a3(0x21a),()=>{const _0x46ffbb=_0x4d89a3;this[_0x46ffbb(0x241)]?_0x5f2fbb[_0x46ffbb(0x157)](_0x46ffbb(0x244)):_0x5f2fbb[_0x46ffbb(0x185)](_0x46ffbb(0x244));}),this[_0x4d89a3(0x241)]?_0x5f2fbb[_0x4d89a3(0x157)](_0x4d89a3(0x244)):_0x5f2fbb[_0x4d89a3(0x185)](_0x4d89a3(0x244)),this[_0x4d89a3(0x16f)](_0x4d89a3(0x199),!0x1);}async[_0x42231a(0x1ea)](){const _0x181a88=_0x42231a,_0x172de0=this[_0x181a88(0x14e)][_0x181a88(0x23f)][_0x181a88(0x247)](_0x9eb648),_0x2e9502=this[_0x181a88(0x14e)][_0x181a88(0x23f)][_0x181a88(0x247)](_0x1a8d74);try{this[_0x181a88(0x201)]=!0x0,_0x172de0[_0x181a88(0x1e3)](this[_0x181a88(0x1e5)]);const _0x419abb=await this[_0x181a88(0x1aa)][_0x181a88(0x1ea)](_0x2e9502[_0x181a88(0x162)],this[_0x181a88(0x1b5)]);await this[_0x181a88(0x212)](_0x419abb)&&(this[_0x181a88(0x201)]=!0x1,this[_0x181a88(0x17f)]());const _0x5693db=await this[_0x181a88(0x1aa)][_0x181a88(0x1e9)]();_0x172de0[_0x181a88(0x1be)](this[_0x181a88(0x1e5)],_0x5693db),this[_0x181a88(0x215)](),this[_0x181a88(0x199)]=!0x0;}catch(_0x2a23b1){if(function(_0x47c01c){const _0x273f3e=_0x181a88;return _0x273f3e(0x178)===_0x47c01c[_0x273f3e(0x161)];}(_0x2a23b1)&&this[_0x181a88(0x14c)])await this[_0x181a88(0x19e)]();else{if(function(_0x3d03c8){const _0x37239e=_0x181a88;return _0x37239e(0x173)===_0x3d03c8[_0x37239e(0x161)];}(_0x2a23b1)){const _0x98ec08=_0x21bf21(this[_0x181a88(0x14e)][_0x181a88(0x1e0)],_0x181a88(0x245));this[_0x181a88(0x18e)](_0x98ec08);}else{if(!(_0x2a23b1 instanceof J))throw _0x2a23b1;this[_0x181a88(0x18e)]();}}}}[_0x42231a(0x15c)](){const _0x507293=_0x42231a,_0x3dd62c=this[_0x507293(0x14e)][_0x507293(0x23f)][_0x507293(0x247)](_0x1a8d74),_0x4b5616=this[_0x507293(0x14e)][_0x507293(0x23f)][_0x507293(0x247)](_0x9eb648);this[_0x507293(0x14e)][_0x507293(0x185)](_0x507293(0x17b)),_0x4b5616[_0x507293(0x1f2)][_0x507293(0x1c2)](this[_0x507293(0x1e5)])&&_0x4b5616[_0x507293(0x1e3)](this[_0x507293(0x1e5)]),_0x3dd62c[_0x507293(0x183)](this),this[_0x507293(0x1b4)](),super[_0x507293(0x15c)]();}async[_0x42231a(0x212)](_0x185bd1){const _0x38b6af=_0x42231a;if(this[_0x38b6af(0x14c)]!==_0x185bd1[_0x38b6af(0x14c)]&&this[_0x38b6af(0x1ee)]!==_0x185bd1[_0x38b6af(0x191)])throw new J();return this[_0x38b6af(0x14c)]=_0x185bd1[_0x38b6af(0x14c)],this[_0x38b6af(0x168)]([],{..._0x185bd1,'wereChangesApplied':!0x1,'data':_0x185bd1[_0x38b6af(0x172)]},_0x38b6af(0x1ea));}async[_0x42231a(0x209)](_0x8eba47,_0x7de281=!0x1){const _0x4d50c9=_0x42231a,{connection:_0x4b17b1}=this[_0x4d50c9(0x14e)][_0x4d50c9(0x23f)][_0x4d50c9(0x247)](_0x1a8d74);RealTimeCollaborationClient[_0x4d50c9(0x1dc)][_0x4d50c9(0x1e9)](_0x4b17b1,this[_0x4d50c9(0x1e5)])[_0x4d50c9(0x1e6)](_0x2ef889=>this[_0x4d50c9(0x1c7)](_0x2ef889))[_0x4d50c9(0x1b3)](_0x1228f0=>{const _0x56c906=_0x4d50c9;this[_0x56c906(0x1d7)](_0x56c906(0x1dd),_0x1228f0);}),this[_0x4d50c9(0x20c)](this[_0x4d50c9(0x1aa)],_0x4d50c9(0x238),this[_0x4d50c9(0x18f)][_0x4d50c9(0x231)](this)),this[_0x4d50c9(0x20c)](this[_0x4d50c9(0x1aa)],_0x4d50c9(0x169),(_0x3049bc,_0x1910da)=>{const _0x3748ea=_0x4d50c9;this[_0x3748ea(0x1d7)](_0x3748ea(0x20a),_0x1910da);}),this[_0x4d50c9(0x20c)](this[_0x4d50c9(0x1aa)],_0x4d50c9(0x21c),()=>{const _0x4781a2=_0x4d50c9;this[_0x4781a2(0x199)]=!0x1;});const _0x3f9f0f=this[_0x4d50c9(0x1c4)][_0x4d50c9(0x177)](_0x8eba47);this[_0x4d50c9(0x201)]=!0x0;const _0x141a21=await this[_0x4d50c9(0x1aa)][_0x4d50c9(0x204)](_0x4b17b1,this[_0x4d50c9(0x19f)](_0x8eba47),_0x3f9f0f);if(this[_0x4d50c9(0x14c)]=_0x141a21[_0x4d50c9(0x14c)],_0x7de281){if(!_0x141a21[_0x4d50c9(0x214)])return void this[_0x4d50c9(0x18e)]();this[_0x4d50c9(0x201)]=!0x1,this[_0x4d50c9(0x17f)](),this[_0x4d50c9(0x155)][_0x4d50c9(0x1d6)](),this[_0x4d50c9(0x165)]=_0x141a21[_0x4d50c9(0x156)],this[_0x4d50c9(0x155)][_0x4d50c9(0x1ff)]=this[_0x4d50c9(0x165)],await this[_0x4d50c9(0x168)](_0x8eba47,_0x141a21,_0x4d50c9(0x188));}else await this[_0x4d50c9(0x190)](_0x141a21,_0x8eba47);this[_0x4d50c9(0x215)](),this[_0x4d50c9(0x199)]=!0x0;}[_0x42231a(0x215)](){const _0x593e87=_0x42231a,_0x1984d5=this[_0x593e87(0x14e)][_0x593e87(0x23f)][_0x593e87(0x247)](_0x9eb648),_0x209a5f=this[_0x593e87(0x14e)][_0x593e87(0x23f)][_0x593e87(0x247)](_0x2a1ed3),_0x23da99=_0x1984d5[_0x593e87(0x1f2)][_0x593e87(0x247)](this[_0x593e87(0x1e5)]);_0x23da99&&_0x23da99[_0x593e87(0x1f0)]>0x1?_0x209a5f[_0x593e87(0x189)]():this[_0x593e87(0x20c)](_0x1984d5,_0x593e87(0x196)+this[_0x593e87(0x1e5)],()=>{const _0x5a5cc8=_0x593e87;0x2===_0x1984d5[_0x5a5cc8(0x1f2)][_0x5a5cc8(0x247)](this[_0x5a5cc8(0x1e5)])[_0x5a5cc8(0x1f0)]&&_0x209a5f[_0x5a5cc8(0x189)]();});}async[_0x42231a(0x18f)](_0xc77258,_0x3f7b49,_0x2a5049,_0x53ea63){const _0x582ed4=_0x42231a;if(!this[_0x582ed4(0x201)]&&this[_0x582ed4(0x1c8)][_0x582ed4(0x1ff)]==_0x3f7b49){const _0x2d3847=this[_0x582ed4(0x20b)](_0x2a5049,_0x53ea63);await this[_0x582ed4(0x1b1)](_0x2d3847),this[_0x582ed4(0x23d)](_0x2d3847,_0x3f7b49,_0x2a5049[_0x582ed4(0x191)])||this[_0x582ed4(0x1d7)](_0x582ed4(0x217));}}async[_0x42231a(0x19e)](){const _0x33676d=_0x42231a;this[_0x33676d(0x1b4)]();const {locale:_0x55b57a}=this[_0x33676d(0x14e)];let _0x1489b3;try{_0x1489b3=await this[_0x33676d(0x1aa)][_0x33676d(0x16d)]();}catch{const _0x5dbd2e=_0x21bf21(_0x55b57a,_0x33676d(0x1a4));return void this[_0x33676d(0x18e)](_0x5dbd2e);}const _0x39b356=_0x1489b3[_0x33676d(0x223)]||_0x1489b3[_0x33676d(0x1e4)];if(this[_0x33676d(0x1ee)]!==_0x39b356[_0x33676d(0x191)]){const _0x148444=_0x21bf21(_0x55b57a,_0x33676d(0x1a1));return void this[_0x33676d(0x18e)](_0x148444);}await this[_0x33676d(0x209)](this[_0x33676d(0x14e)][_0x33676d(0x16c)][_0x33676d(0x1d3)][_0x33676d(0x1ed)][_0x33676d(0x14f)](),!0x0);}[_0x42231a(0x1b4)](){const _0x1896a3=_0x42231a;this[_0x1896a3(0x1aa)][_0x1896a3(0x249)](),this[_0x1896a3(0x153)]=[],clearTimeout(this[_0x1896a3(0x1d0)]),this[_0x1896a3(0x1a9)](this[_0x1896a3(0x1aa)]);}[_0x42231a(0x1c7)](_0x3629d6){const _0x34ff85=_0x42231a,_0x23adcb=this[_0x34ff85(0x14e)][_0x34ff85(0x23f)][_0x34ff85(0x247)](_0x9eb648);this[_0x34ff85(0x20c)](_0x23adcb,_0x34ff85(0x196)+this[_0x34ff85(0x1e5)],(_0x12fdfd,{session:_0x16866f})=>{const _0x3df4ae=_0x34ff85;if(_0x16866f['id']===_0x23adcb[_0x3df4ae(0x200)]){_0x12fdfd[_0x3df4ae(0x17d)]();const _0x33b2b7=this[_0x3df4ae(0x14e)][_0x3df4ae(0x23f)][_0x3df4ae(0x1c2)](_0x3df4ae(0x203))&&this[_0x3df4ae(0x14e)][_0x3df4ae(0x23f)][_0x3df4ae(0x247)](_0x3df4ae(0x203));let _0x538514=_0x16866f[_0x3df4ae(0x192)];_0x33b2b7&&_0x33b2b7[_0x3df4ae(0x1ec)]&&(_0x538514=_0x538514[_0x3df4ae(0x186)](_0x345388=>_0x3df4ae(0x180)!==_0x345388)),this[_0x3df4ae(0x14e)][_0x3df4ae(0x23f)][_0x3df4ae(0x247)](_0x3df4ae(0x18b))[_0x3df4ae(0x23a)](_0x538514,this[_0x3df4ae(0x1e5)]);}}),_0x23adcb[_0x34ff85(0x1be)](this[_0x34ff85(0x1e5)],_0x3629d6);}[_0x42231a(0x1c9)](){const _0x42f567=_0x42231a,_0x70f9a8=this[_0x42f567(0x14e)][_0x42f567(0x172)][_0x42f567(0x16f)];this[_0x42f567(0x14e)][_0x42f567(0x172)][_0x42f567(0x16f)]=(..._0x4c4189)=>{const _0x1a2e63=_0x42f567;if(!_0x4c4189[_0x4c4189[_0x1a2e63(0x1f0)]-0x1][_0x1a2e63(0x1eb)])throw new _0x2c870b(_0x1a2e63(0x1f6),this);_0x70f9a8[_0x1a2e63(0x1f5)](this[_0x1a2e63(0x14e)][_0x1a2e63(0x172)],_0x4c4189);};}[_0x42231a(0x1c0)](){const _0x1d2a18=_0x42231a;this[_0x1d2a18(0x14e)][_0x1d2a18(0x172)]['on'](_0x1d2a18(0x148),(_0x595e03,[_0x3452d6])=>{const _0x540790=_0x1d2a18;if(this[_0x540790(0x1c8)][_0x540790(0x1ff)])throw new _0x2c870b(_0x540790(0x151),this);_0x595e03[_0x540790(0x1c1)](),this[_0x540790(0x193)]();const _0xb2cad0=this[_0x540790(0x14e)][_0x540790(0x149)][_0x540790(0x247)](_0x540790(0x159)),_0xc72ddd=this[_0x540790(0x22e)](_0x3452d6,_0xb2cad0);0x0==_0xc72ddd[_0x540790(0x1f0)]&&_0xc72ddd[_0x540790(0x246)](new _0x256757(0x0)),_0x595e03[_0x540790(0x1b9)]=this[_0x540790(0x209)](_0xc72ddd)[_0x540790(0x1e6)](()=>{const _0x828a97=_0x540790;this[_0x828a97(0x14e)][_0x828a97(0x23f)][_0x828a97(0x247)](_0x1a8d74)[_0x828a97(0x1a7)](this),this[_0x828a97(0x14e)][_0x828a97(0x172)][_0x828a97(0x171)](_0x828a97(0x237));})[_0x540790(0x1b3)](_0x314c51=>this[_0x540790(0x1d7)](_0x540790(0x248),_0x314c51))[_0x540790(0x229)](()=>this[_0x540790(0x17f)]());},{'priority':_0x1d2a18(0x1bf)}),this[_0x1d2a18(0x14e)]['on'](_0x1d2a18(0x175),async(_0x2097e3,[_0x4e977f,_0x5b5f37])=>{const _0x3db0a9=_0x1d2a18;_0x2097e3[_0x3db0a9(0x1c1)]();const _0xc8f40=this[_0x3db0a9(0x14e)][_0x3db0a9(0x16c)][_0x3db0a9(0x1d3)][_0x3db0a9(0x181)](_0x4e977f);if(!this[_0x3db0a9(0x20d)][_0x3db0a9(0x1c2)](_0x4e977f)){const _0x2d36d5=_0x5b5f37&&_0x5b5f37[_0x3db0a9(0x172)]?_0x5b5f37[_0x3db0a9(0x172)]:'',_0x4df377=_0x5b5f37&&_0x5b5f37[_0x3db0a9(0x1d5)]?_0x5b5f37[_0x3db0a9(0x1d5)]:{};await this[_0x3db0a9(0x147)](_0x4e977f,_0x2d36d5,_0x4df377);}this[_0x3db0a9(0x14e)][_0x3db0a9(0x16c)][_0x3db0a9(0x14b)]({'isUndoable':!0x1},()=>{const _0xfa6491=_0x3db0a9;_0xc8f40[_0xfa6491(0x17c)]=!0x0,this[_0xfa6491(0x14e)][_0xfa6491(0x16c)][_0xfa6491(0x1d3)][_0xfa6491(0x243)][_0xfa6491(0x1df)](_0xc8f40);});},{'priority':_0x1d2a18(0x1bf)});}async[_0x42231a(0x1b1)](_0x5e1a4d){const _0x2005a1=_0x42231a,_0x44ab7f=this[_0x2005a1(0x14e)][_0x2005a1(0x23f)][_0x2005a1(0x247)](_0x1cc2b3),{connection:_0x23c65d}=this[_0x2005a1(0x14e)][_0x2005a1(0x23f)][_0x2005a1(0x247)](_0x1a8d74),_0x2d84af=new Set();for(const _0xafa6db of _0x5e1a4d){const _0x49db21=_0xafa6db[_0x2005a1(0x211)];_0x49db21&&!_0x44ab7f[_0x2005a1(0x195)](_0x49db21)&&_0x2d84af[_0x2005a1(0x158)](_0x49db21);}if(0x0===_0x2d84af[_0x2005a1(0x233)])return;const _0x12ac9b=await _0x3058f7[_0x2005a1(0x216)](_0x23c65d,Array[_0x2005a1(0x154)](_0x2d84af));for(const _0x1a5631 of _0x12ac9b)_0x44ab7f[_0x2005a1(0x195)](_0x1a5631['id'])||_0x44ab7f[_0x2005a1(0x164)](_0x1a5631);}[_0x42231a(0x22e)](_0x35633b,_0x5ba853={}){const _0x3ab9c8=_0x42231a,_0x294456=this[_0x3ab9c8(0x14e)][_0x3ab9c8(0x16c)],_0x56a33c=[];let _0x2b3251=0x0;const _0x5f3585=_0x3ab9c8(0x1f4)==typeof _0x35633b?{'main':_0x35633b}:_0x35633b;for(const _0x499d1b of Object[_0x3ab9c8(0x226)](_0x5f3585)){if(!this[_0x3ab9c8(0x1c8)][_0x3ab9c8(0x187)][_0x3ab9c8(0x1c2)](_0x499d1b))throw new _0x2c870b(_0x3ab9c8(0x218),this);const _0x94ee5c=this[_0x3ab9c8(0x14e)][_0x3ab9c8(0x172)][_0x3ab9c8(0x174)](_0x5f3585[_0x499d1b]),_0x54b6ce=this[_0x3ab9c8(0x1c8)][_0x3ab9c8(0x181)](_0x499d1b),_0x4fcbc2=new _0x41d737(_0x294456[_0x3ab9c8(0x21d)](_0x54b6ce,0x0),_0x94ee5c,_0x2b3251++);_0x56a33c[_0x3ab9c8(0x246)](_0x4fcbc2);for(const [_0x36bd1e,_0x5b5180]of _0x94ee5c[_0x3ab9c8(0x1db)]){const _0x4a79a2=_0x294456[_0x3ab9c8(0x20e)](_0x294456[_0x3ab9c8(0x19d)](_0x54b6ce,_0x5b5180[_0x3ab9c8(0x22f)][_0x3ab9c8(0x1d8)][_0x3ab9c8(0x242)]()),_0x294456[_0x3ab9c8(0x19d)](_0x54b6ce,_0x5b5180[_0x3ab9c8(0x1fb)][_0x3ab9c8(0x1d8)][_0x3ab9c8(0x242)]())),_0x3eff05=new _0x2f2e78(_0x36bd1e,null,_0x4a79a2,_0x294456[_0x3ab9c8(0x1db)],!0x0,_0x2b3251++);_0x56a33c[_0x3ab9c8(0x246)](_0x3eff05);}}if(_0x5ba853)for(const [_0x51fef1,_0x393f1d]of Object[_0x3ab9c8(0x23c)](_0x5ba853)){const _0x57ed23=_0x294456[_0x3ab9c8(0x1d3)][_0x3ab9c8(0x181)](_0x51fef1);if(!_0x57ed23)throw new _0x2c870b(_0x3ab9c8(0x206),null);for(const [_0xa82548,_0x19d554]of Object[_0x3ab9c8(0x23c)](_0x393f1d))if(null!==_0x19d554){const _0x5d6f0c=new _0x4bb47a(_0x57ed23,_0xa82548,null,_0x19d554,_0x2b3251++);_0x56a33c[_0x3ab9c8(0x246)](_0x5d6f0c);}}return _0x56a33c;}async[_0x42231a(0x147)](_0x53846e,_0x41242b,_0x5a3797){const _0x4622df=_0x42231a;this[_0x4622df(0x22e)]({[_0x53846e]:_0x41242b},{[_0x53846e]:_0x5a3797})[_0x4622df(0x1a5)]((_0x3d9f73,_0x877d48)=>{const _0x561ba6=_0x4622df;_0x3d9f73[_0x561ba6(0x17e)]=this[_0x561ba6(0x1c8)][_0x561ba6(0x1ff)]+_0x877d48,_0x3d9f73[_0x561ba6(0x15f)]=!0x0,this[_0x561ba6(0x1a3)](_0x3d9f73);}),this[_0x4622df(0x240)](),await this[_0x4622df(0x163)]();}async[_0x42231a(0x190)](_0x15f70a,_0x3b3396){const _0x43377f=_0x42231a;let _0x2132a8;this[_0x43377f(0x165)]=_0x15f70a[_0x43377f(0x156)];const _0x4319d4=_0x15f70a[_0x43377f(0x214)]&&!_0x15f70a[_0x43377f(0x1b6)],_0x4bbad2=_0x4319d4?0x0:_0x15f70a[_0x43377f(0x172)][_0x43377f(0x17e)];if(_0x3b3396[_0x43377f(0x1a5)](_0x381134=>{const _0x5ff7b9=_0x43377f;_0x381134[_0x5ff7b9(0x15f)]=!0x0,_0x381134[_0x5ff7b9(0x234)]=_0x15f70a[_0x5ff7b9(0x1b7)],_0x381134[_0x5ff7b9(0x211)]=null;}),_0x4319d4)_0x2132a8=_0x3b3396,this[_0x43377f(0x23e)](_0x2132a8,_0x4319d4);else{if(_0x15f70a[_0x43377f(0x1b6)]){const _0x1de496=this[_0x43377f(0x22e)](_0x15f70a[_0x43377f(0x1b6)]);this[_0x43377f(0x1c8)][_0x43377f(0x1ed)][_0x43377f(0x1ff)]=-_0x1de496[_0x43377f(0x1f0)],_0x1de496[_0x43377f(0x1a5)](_0x16098e=>{const _0x1f141c=_0x43377f;_0x16098e[_0x1f141c(0x17e)]-=_0x1de496[_0x1f141c(0x1f0)],_0x16098e[_0x1f141c(0x234)]=_0x15f70a[_0x1f141c(0x1b7)],_0x16098e[_0x1f141c(0x15f)]=!0x0,_0x16098e[_0x1f141c(0x211)]=null;}),this[_0x43377f(0x23e)](_0x1de496,!0x0),this[_0x43377f(0x155)][_0x43377f(0x1ff)]=-_0x1de496[_0x43377f(0x1f0)]+this[_0x43377f(0x165)],this[_0x43377f(0x235)](_0x1de496);}this[_0x43377f(0x1c8)][_0x43377f(0x1ed)][_0x43377f(0x1ff)]=_0x4bbad2,_0x2132a8=this[_0x43377f(0x20b)](_0x15f70a[_0x43377f(0x172)],_0x15f70a[_0x43377f(0x230)]),await this[_0x43377f(0x1b1)](_0x2132a8),this[_0x43377f(0x23e)](_0x2132a8,_0x4319d4);}_0x15f70a[_0x43377f(0x191)]&&(this[_0x43377f(0x1c4)][_0x43377f(0x1e8)](_0x2132a8,_0x15f70a[_0x43377f(0x191)]),this[_0x43377f(0x1ee)]=_0x15f70a[_0x43377f(0x191)]),this[_0x43377f(0x155)][_0x43377f(0x1ff)]=_0x4bbad2+this[_0x43377f(0x165)],this[_0x43377f(0x235)](_0x2132a8),_0x3b3396[_0x43377f(0x186)](_0x53dcad=>{const _0x10eec0=_0x43377f,_0x546085=this[_0x10eec0(0x1d4)](_0x53dcad);return _0x546085&&!this[_0x10eec0(0x20d)][_0x10eec0(0x1c2)](_0x546085);})[_0x43377f(0x1a5)]((_0x1b5d68,_0x196696)=>{const _0x40d3cd=_0x43377f;_0x1b5d68[_0x40d3cd(0x17e)]=this[_0x40d3cd(0x1c8)][_0x40d3cd(0x1ff)]+_0x196696,this[_0x40d3cd(0x1a3)](_0x1b5d68);}),this[_0x43377f(0x1a0)]()?(this[_0x43377f(0x213)]=0x0,this[_0x43377f(0x240)](!0x0),await this[_0x43377f(0x163)]()):(this[_0x43377f(0x201)]=!0x1,this[_0x43377f(0x17f)]());}[_0x42231a(0x1d7)](_0x4f8e8d,_0x1e94a4){const _0x433931=_0x42231a,_0x20e8c9=_0x1e94a4&&_0x1e94a4[_0x433931(0x224)];if(_0x20e8c9&&_0x20e8c9[_0x433931(0x18a)](_0x433931(0x21e)))throw _0x1e94a4;const _0x3562b8=this[_0x433931(0x14e)][_0x433931(0x23f)][_0x433931(0x247)](_0x1a8d74);throw this[_0x433931(0x201)]=!0x0,_0x3562b8[_0x433931(0x249)](),this[_0x433931(0x14e)][_0x433931(0x185)](_0x433931(0x19c)),new _0x2c870b(_0x4f8e8d,this[_0x433931(0x14e)],_0x20e8c9?{'originalError':_0x20e8c9}:void 0x0);}[_0x42231a(0x1a3)](_0x3ca0e4){const _0x158c25=_0x42231a;this[_0x158c25(0x1cb)][_0x158c25(0x1c2)](_0x3ca0e4)||(this[_0x158c25(0x1cb)][_0x158c25(0x158)](_0x3ca0e4),this[_0x158c25(0x153)][_0x158c25(0x246)](_0x3ca0e4),this[_0x158c25(0x18d)]||_0x158c25(0x15e)==_0x3ca0e4[_0x158c25(0x22d)]&&!_0x3ca0e4[_0x158c25(0x19a)]||this[_0x158c25(0x193)]());}[_0x42231a(0x240)](_0x2481f1=!0x1){const _0x124528=_0x42231a;!_0x2481f1&&this[_0x124528(0x201)]||(this[_0x124528(0x201)]=!0x0,clearTimeout(this[_0x124528(0x1d0)]),this[_0x124528(0x1d0)]=setTimeout(()=>{const _0x119142=_0x124528;this[_0x119142(0x227)]()[_0x119142(0x1e6)](_0x2a3f71=>{const _0x896b08=_0x119142;_0x2a3f71&&(this[_0x896b08(0x17f)](),this[_0x896b08(0x201)]=!0x1);})[_0x119142(0x1b3)](_0x26bf31=>{const _0x115322=_0x119142;this[_0x115322(0x17f)](),this[_0x115322(0x201)]=!0x1,function(_0x1afcac){const _0x1b2c85=_0x115322;return _0x1afcac[_0x1b2c85(0x224)][_0x1b2c85(0x18a)](_0x1b2c85(0x21b))||_0x1afcac[_0x1b2c85(0x224)][_0x1b2c85(0x18a)](_0x1b2c85(0x1b8))||_0x1afcac[_0x1b2c85(0x224)][_0x1b2c85(0x18a)](_0x1b2c85(0x22a));}(_0x26bf31)||this[_0x115322(0x1d7)](_0x26bf31[_0x115322(0x224)],_0x26bf31);});},this[_0x124528(0x213)]));}[_0x42231a(0x163)](){return new Promise(_0x4d03f2=>{const _0x42bdf7=_0x5d62;this['on'](_0x42bdf7(0x14d),()=>{_0x4d03f2();});});}async[_0x42231a(0x227)](){const _0x48a5df=_0x42231a,_0x229294=this[_0x48a5df(0x14e)][_0x48a5df(0x23f)][_0x48a5df(0x247)](_0x2a1ed3);if(this[_0x48a5df(0x1c6)]()&&(_0x229294[_0x48a5df(0x189)](),this[_0x48a5df(0x16e)]=!0x1),!this[_0x48a5df(0x1a0)]())return!0x0;const _0x21439e=[...this[_0x48a5df(0x153)]];for(const _0x361a1a of _0x21439e)_0x361a1a[_0x48a5df(0x1d1)]=this[_0x48a5df(0x1c8)][_0x48a5df(0x1ed)][_0x48a5df(0x208)](_0x361a1a);const _0x51d44f=this[_0x48a5df(0x1c4)][_0x48a5df(0x177)](_0x21439e),_0x4f74c1=K++,_0x100862=this[_0x48a5df(0x19f)](_0x21439e),_0x98312e=await this[_0x48a5df(0x1aa)][_0x48a5df(0x1fa)](_0x100862,_0x100862[_0x48a5df(0x17e)],_0x51d44f);try{return await this[_0x48a5df(0x168)](_0x21439e,_0x98312e,_0x4f74c1);}catch(_0x5d7857){return this[_0x48a5df(0x1d7)](_0x48a5df(0x21f),_0x5d7857);}}async[_0x42231a(0x168)](_0x26f1b6,_0x283662,_0x432fc1){const _0x4c74cf=_0x42231a;if(_0x4c74cf(0x169)in _0x283662)throw _0x283662[_0x4c74cf(0x169)];let _0x1ae37c=!0x1;if(_0x283662[_0x4c74cf(0x214)]){_0x283662[_0x4c74cf(0x191)]&&(this[_0x4c74cf(0x1ee)]=_0x283662[_0x4c74cf(0x191)]),this[_0x4c74cf(0x153)]=this[_0x4c74cf(0x153)][_0x4c74cf(0x186)](_0x499f32=>!_0x26f1b6[_0x4c74cf(0x18c)](_0x499f32));for(const _0x2ef49d of _0x26f1b6)_0x2ef49d[_0x4c74cf(0x234)]=_0x4c74cf(0x1cf)in _0x283662&&_0x283662[_0x4c74cf(0x1cf)]||void 0x0;Q(_0x26f1b6,_0x283662[_0x4c74cf(0x1ff)]-_0x26f1b6[_0x4c74cf(0x1f0)]),this[_0x4c74cf(0x235)](_0x26f1b6);const _0x1e9d39=_0x26f1b6[_0x4c74cf(0x186)](_0x31006c=>{const _0x488906=_0x4c74cf;if(!_0x31006c[_0x488906(0x15f)])return!0x1;const _0x35705c=this[_0x488906(0x1d4)](_0x31006c);return _0x35705c&&!this[_0x488906(0x20d)][_0x488906(0x1c2)](_0x35705c);});Q(_0x1e9d39,this[_0x4c74cf(0x1c8)][_0x4c74cf(0x1ff)]),this[_0x4c74cf(0x23e)](_0x1e9d39),_0x1ae37c=!0x0,this[_0x4c74cf(0x213)]=this[_0x4c74cf(0x1bc)];}else{const _0x23c0b5=this[_0x4c74cf(0x20b)](_0x283662[_0x4c74cf(0x172)],_0x283662[_0x4c74cf(0x230)])[_0x4c74cf(0x186)](_0x35f2a5=>_0x35f2a5[_0x4c74cf(0x17e)]>=this[_0x4c74cf(0x182)]);_0x23c0b5[_0x4c74cf(0x1a5)](_0x16949e=>this[_0x4c74cf(0x16a)](_0x16949e)),this[_0x4c74cf(0x153)]=this[_0x4c74cf(0x153)][_0x4c74cf(0x186)](_0x2ba49a=>!_0x2ba49a[_0x4c74cf(0x15f)]||!this[_0x4c74cf(0x20d)][_0x4c74cf(0x1c2)](this[_0x4c74cf(0x1d4)](_0x2ba49a))),this[_0x4c74cf(0x153)][_0x4c74cf(0x1f0)]&&Q(this[_0x4c74cf(0x153)],this[_0x4c74cf(0x153)][0x0][_0x4c74cf(0x17e)]),await this[_0x4c74cf(0x1b1)](_0x23c0b5),_0x1ae37c=this[_0x4c74cf(0x23d)](_0x23c0b5,_0x283662[_0x4c74cf(0x1ff)],_0x283662[_0x4c74cf(0x191)]),this[_0x4c74cf(0x213)]=Math[_0x4c74cf(0x239)](this[_0x4c74cf(0x213)]/0x2);}return _0x1ae37c?!this[_0x4c74cf(0x1a0)]()||(this[_0x4c74cf(0x240)](!0x0),!0x1):this[_0x4c74cf(0x1d7)](_0x4c74cf(0x210));}[_0x42231a(0x23d)](_0x223921,_0x242dd8,_0x407db5){const _0x41270d=_0x42231a;try{const _0x5ae75c={'document':this[_0x41270d(0x1c8)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x249d4d,operationsB:_0x3ba9bb,originalOperations:_0x379732}=_0x1e0f51(_0x223921,this[_0x41270d(0x153)],_0x5ae75c);Q(_0x249d4d,this[_0x41270d(0x1c8)][_0x41270d(0x1ff)]),Q(_0x3ba9bb,_0x242dd8);for(const _0x1df8fc of _0x249d4d){const _0x39a0e1=_0x379732[_0x41270d(0x247)](_0x1df8fc);_0x1df8fc[_0x41270d(0x211)]=_0x39a0e1?_0x39a0e1[_0x41270d(0x211)]:null;}_0x407db5&&(this[_0x41270d(0x1c4)][_0x41270d(0x1e8)](_0x223921,_0x407db5),this[_0x41270d(0x1ee)]=_0x407db5),this[_0x41270d(0x153)]=[..._0x3ba9bb],this[_0x41270d(0x23e)](_0x249d4d),this[_0x41270d(0x235)](_0x223921);}catch(_0x3c0683){return console[_0x41270d(0x169)](_0x3c0683),!0x1;}return!0x0;}[_0x42231a(0x23e)](_0x184d29,_0x39d798=!0x1){const _0x5d0aa5=_0x42231a;this[_0x5d0aa5(0x14e)][_0x5d0aa5(0x16c)][_0x5d0aa5(0x14b)]({'isUndoable':!0x1,'isLocal':!0x1},_0x12db8d=>{const _0x5e004c=_0x5d0aa5;for(const _0x2a7226 of _0x184d29)this[_0x5e004c(0x1cb)][_0x5e004c(0x158)](_0x2a7226),this[_0x5e004c(0x16a)](_0x2a7226),_0x12db8d[_0x5e004c(0x1f9)][_0x5e004c(0x20f)](_0x2a7226),this[_0x5e004c(0x14e)][_0x5e004c(0x16c)][_0x5e004c(0x24b)](_0x2a7226);});}[_0x42231a(0x16a)](_0x47e1a2){const _0x14c8d7=_0x42231a,_0x36b4b8=this[_0x14c8d7(0x1d4)](_0x47e1a2);_0x36b4b8&&this[_0x14c8d7(0x20d)][_0x14c8d7(0x158)](_0x36b4b8);}[_0x42231a(0x1d4)](_0x41f72e){const _0x5da9ca=_0x42231a;let _0x30df93,_0xc4de89;switch(_0x41f72e[_0x5da9ca(0x22d)]){case _0x5da9ca(0x166):_0x30df93=_0x41f72e[_0x5da9ca(0x150)][_0x5da9ca(0x205)];break;case _0x5da9ca(0x15e):if(_0xc4de89=_0x41f72e[_0x5da9ca(0x194)],!_0xc4de89)return null;_0x30df93=_0xc4de89[_0x5da9ca(0x205)];break;case _0x5da9ca(0x1d9):_0x30df93=_0x41f72e[_0x5da9ca(0x205)];break;case _0x5da9ca(0x1fe):_0x30df93=_0x41f72e[_0x5da9ca(0x17a)];break;case _0x5da9ca(0x1a6):_0x30df93=_0x41f72e[_0x5da9ca(0x1f1)][_0x5da9ca(0x205)];break;default:return null;}return _0x30df93[_0x5da9ca(0x1ca)];}[_0x42231a(0x235)](_0x534f3a){const _0x25e701=_0x42231a;_0x534f3a[_0x25e701(0x1a5)](_0x41b9cf=>{const _0x365971=_0x25e701,_0x862b18=_0x41b9cf[_0x365971(0x1ce)]();_0x862b18[_0x365971(0x211)]=_0x41b9cf[_0x365971(0x211)],_0x862b18[_0x365971(0x15f)]=!!_0x41b9cf[_0x365971(0x15f)],_0x862b18[_0x365971(0x234)]=_0x41b9cf[_0x365971(0x234)],_0x862b18[_0x365971(0x17e)]+=this[_0x365971(0x165)],_0x41b9cf[_0x365971(0x1b0)]&&this[_0x365971(0x1a2)][_0x365971(0x158)](_0x862b18),this[_0x365971(0x155)][_0x365971(0x20f)](_0x862b18);});}[_0x42231a(0x18e)](_0xdb4dca){const _0x125038=_0x42231a,_0xf4db2f=this[_0x125038(0x14e)][_0x125038(0x23f)][_0x125038(0x247)](_0x125038(0x152)),_0x3bcbe0=this[_0x125038(0x14e)][_0x125038(0x1e0)];_0xdb4dca||(_0xdb4dca=_0x21bf21(_0x3bcbe0,_0x125038(0x1cc))),_0xf4db2f[_0x125038(0x221)](_0xdb4dca,{'title':_0x21bf21(_0x3bcbe0,_0x125038(0x1fd)),'namespace':_0x125038(0x1ef)}),this[_0x125038(0x14a)]=!0x0,clearTimeout(this[_0x125038(0x1d0)]),this[_0x125038(0x153)]=[],this[_0x125038(0x14e)][_0x125038(0x23f)][_0x125038(0x247)](_0x1a8d74)[_0x125038(0x249)]();}[_0x42231a(0x193)](){const _0x55d3af=_0x42231a;this[_0x55d3af(0x18d)]||(this[_0x55d3af(0x18d)]=this[_0x55d3af(0x14e)][_0x55d3af(0x23f)][_0x55d3af(0x247)](_0x4bd464)[_0x55d3af(0x158)](_0x21bf21(this[_0x55d3af(0x14e)][_0x55d3af(0x1e0)],_0x55d3af(0x197))));}[_0x42231a(0x17f)](){const _0xc4eb27=_0x42231a;this[_0xc4eb27(0x18d)]&&(this[_0xc4eb27(0x14e)][_0xc4eb27(0x23f)][_0xc4eb27(0x247)](_0x4bd464)[_0xc4eb27(0x24a)](this[_0xc4eb27(0x18d)]),this[_0xc4eb27(0x18d)]=null);}[_0x42231a(0x19f)](_0x26a715){const _0x6a5a76=_0x42231a,_0x39e54a=_0x26a715[_0x6a5a76(0x22c)](_0x3dd346=>_0x3dd346[_0x6a5a76(0x1e1)]());return this[_0x6a5a76(0x1cd)][_0x6a5a76(0x1e7)](_0x39e54a);}[_0x42231a(0x20b)](_0x4a2a70,_0x22df02){const _0x4412eb=_0x42231a;return this[_0x4412eb(0x1cd)][_0x4412eb(0x1ab)](_0x4a2a70)[_0x4412eb(0x22c)]((_0x15e401,_0x448320)=>{const _0x4c9cd3=_0x4412eb,_0x3e29aa=_0x4c9cd3(0x148)==_0x22df02[_0x448320][_0x4c9cd3(0x22d)];if(_0x4c9cd3(0x15b)==_0x15e401[_0x4c9cd3(0x1ba)]){const _0x102e70=_0x15e401[_0x4c9cd3(0x150)][_0x4c9cd3(0x205)];!this[_0x4c9cd3(0x1c8)][_0x4c9cd3(0x181)](_0x102e70)&&(this[_0x4c9cd3(0x1c8)][_0x4c9cd3(0x232)](_0x4c9cd3(0x1f7),_0x102e70)[_0x4c9cd3(0x207)]=!0x1);}const _0x2d3223=_0x495498[_0x4c9cd3(0x1de)](_0x15e401,this[_0x4c9cd3(0x1c8)]);return _0x2d3223[_0x4c9cd3(0x1d1)]=_0x15e401[_0x4c9cd3(0x1d1)],_0x2d3223[_0x4c9cd3(0x15f)]=_0x3e29aa,_0x2d3223[_0x4c9cd3(0x211)]=_0x3e29aa?null:_0x22df02[_0x448320][_0x4c9cd3(0x1a8)],_0x2d3223[_0x4c9cd3(0x1b0)]=_0x4c9cd3(0x1d2)===_0x22df02[_0x448320][_0x4c9cd3(0x22d)],_0x2d3223[_0x4c9cd3(0x234)]=_0x22df02[_0x448320][_0x4c9cd3(0x234)],_0x2d3223;});}[_0x42231a(0x22b)](){const _0x257d14=_0x42231a;this[_0x257d14(0x16e)]=!0x0,this[_0x257d14(0x1c6)]()?this[_0x257d14(0x240)]():this[_0x257d14(0x16e)]=!0x1;}[_0x42231a(0x1c6)](){const _0x3efa23=_0x42231a,_0xd512e2=this[_0x3efa23(0x14e)][_0x3efa23(0x23f)][_0x3efa23(0x247)](_0x9eb648)[_0x3efa23(0x1f2)][_0x3efa23(0x247)](this[_0x3efa23(0x1e5)]);return!this[_0x3efa23(0x14e)][_0x3efa23(0x1ac)]&&!!_0xd512e2&&_0xd512e2[_0x3efa23(0x1f0)]>0x1&&this[_0x3efa23(0x16e)];}[_0x42231a(0x1a0)](){const _0x5d0f47=_0x42231a;return this[_0x5d0f47(0x153)][_0x5d0f47(0x1f0)]>0x0||this[_0x5d0f47(0x1c6)]();}}class J extends Error{}function Q(_0x4716a4,_0x1754da){const _0x4be83f=_0x42231a;for(const _0x19f32c of _0x4716a4)_0x19f32c[_0x4be83f(0x17e)]=_0x1754da++;}class X{[_0x42231a(0x1ae)];[_0x42231a(0x1bb)];constructor(_0x498de4){const _0x5293d1=_0x42231a;this[_0x5293d1(0x1ae)]=_0x498de4,this[_0x5293d1(0x1bb)]=new WeakMap();}[_0x42231a(0x177)](_0x887d27){const _0x6de75c=_0x42231a;let _0x172016=_0x887d27[_0x6de75c(0x1f0)];for(;_0x172016--;){const _0x57163a=_0x887d27[_0x172016];if(!this[_0x6de75c(0x1ae)][_0x6de75c(0x1c2)](_0x57163a)){if(!this[_0x6de75c(0x1bb)][_0x6de75c(0x1c2)](_0x57163a)){const _0xb5bc82=_0x585be3()[_0x6de75c(0x242)](0x1,0x12);this[_0x6de75c(0x1bb)][_0x6de75c(0x16f)](_0x57163a,_0xb5bc82);}return this[_0x6de75c(0x1bb)][_0x6de75c(0x247)](_0x57163a);}}}[_0x42231a(0x1e8)](_0x206ec5,_0x3d8e79){const _0x5753cd=_0x42231a;if(!_0x3d8e79)return;let _0xb5d03f=_0x206ec5[_0x5753cd(0x1f0)];for(;_0xb5d03f--;){const _0x4ddc48=_0x206ec5[_0xb5d03f];this[_0x5753cd(0x1ae)][_0x5753cd(0x1c2)](_0x4ddc48)||this[_0x5753cd(0x1bb)][_0x5753cd(0x16f)](_0x4ddc48,_0x3d8e79);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3c33(){const _0x3024e3=['change','isInline','isObject','Escape','_domEmitter','name','destroy','stopListening','3267126QfMXBh','end','rootName','classList','span','setCustomProperty','markerName','getNearestSelectionRange','createElement','ck-user__selection','document','getRange','isDocumentOperation','marker','hasContent','split','updateMarker','enqueueChange','batch','tableCell','markerRange','892967YKrTpN','681357YBoNIn','set','isPremiumPlugin','type','2010272Rrciix','innerHTML','color','getContainedElement','oldRange','spellcheck','editing','user:position','size','commands','hasDomSelection','setAttribute','mySessionId','reconvertMarker','isLimit','markers','data-session-id','getPositions','highest','clear','editor','createUserMarkerOperations','parent','afterInit','conversion','render','deletionPosition','$graveyard','fromRange','mouseenter','12614616cLyZsP','addMarker','toRange','change:range','isSimilar','user:range:','toDomElement','ck-user__marker_hovered','removeMarker','getFirstRange','selection','view','user:range','newRange','applyOperation','nodeAfter','isCollapsed','createUIElement','for','remove','startsWith','markerToElement','getAttribute','element','schema','UserMarkers','contenteditable','checkChild','getCustomProperty','editingDowncast','17350056sKhxKY','createRange','update:user:range','has','detach','undo','getSelectionClass','mapper','userPositionMarker','mouseleave','addEventListener','getStart','requires','removeClass','getMarkerClass','root','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','_createdBatches','orderNumber','model','delete','listenTo','markerToHighlight','start','10RPbGBs','textContent','ck-user__marker-tooltip','get','isOfficialPlugin','false','plugins','outerHTML','init','getUserBySessionId','markerNameToElements','1500774qeixCW','keydown','user:position:','$text','user:','add','32WZCdOX','pluginName','ck-user__marker\x20'];_0x3c33=function(){return _0x3024e3;};return _0x3c33();}function _0x3527(_0x467a12,_0xcf9f3c){const _0x3c33e1=_0x3c33();return _0x3527=function(_0x3527e1,_0x3445c3){_0x3527e1=_0x3527e1-0x16e;let _0x2815fa=_0x3c33e1[_0x3527e1];return _0x2815fa;},_0x3527(_0x467a12,_0xcf9f3c);}const _0x581e5e=_0x3527;(function(_0xb3146d,_0x240403){const _0x340d80=_0x3527,_0x226d02=_0xb3146d();while(!![]){try{const _0x137e9c=parseInt(_0x340d80(0x193))/0x1+-parseInt(_0x340d80(0x17e))/0x2+-parseInt(_0x340d80(0x194))/0x3*(parseInt(_0x340d80(0x173))/0x4)+-parseInt(_0x340d80(0x1ec))/0x5*(parseInt(_0x340d80(0x1f7))/0x6)+parseInt(_0x340d80(0x1b6))/0x7+parseInt(_0x340d80(0x198))/0x8+parseInt(_0x340d80(0x1d4))/0x9;if(_0x137e9c===_0x240403)break;else _0x226d02['push'](_0x226d02['shift']());}catch(_0x5870b0){_0x226d02['push'](_0x226d02['shift']());}}}(_0x3c33,0xe16d6));import{Plugin as _0x2a19e5}from'ckeditor5/src/core.js';import{global as _0x369916,DomEmitterMixin as _0x105b5f}from'ckeditor5/src/utils.js';import{Sessions as _0x4c7916}from'./sessions.js';import{ModelLiveRange as _0x19c483}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x2a19e5{[_0x581e5e(0x17a)]=new(_0x105b5f())();static get[_0x581e5e(0x1e0)](){return[_0x4c7916];}static get[_0x581e5e(0x174)](){const _0x786022=_0x581e5e;return _0x786022(0x1cf);}static get[_0x581e5e(0x1f0)](){return!0x0;}static get[_0x581e5e(0x196)](){return!0x0;}[_0x581e5e(0x1f4)](){const _0x505ba8=_0x581e5e,_0x4d1aa5=this[_0x505ba8(0x1ac)],_0x398f64=_0x4d1aa5[_0x505ba8(0x1f2)][_0x505ba8(0x1ef)](_0x4c7916);_0x4d1aa5[_0x505ba8(0x1b0)][_0x505ba8(0x1c8)](_0x505ba8(0x1d3))[_0x505ba8(0x1cb)]({'model':_0x505ba8(0x19f),'view':(_0x18bb07,{writer:_0x17f9fe})=>function(_0x476ab6,_0x2e37ba,_0x2980d9,_0x3e5ede){const _0x4269af=_0x505ba8,_0x4e6a36=_0x476ab6[_0x4269af(0x184)][_0x4269af(0x18d)](':')[0x2],_0x2a125f=_0x2980d9[_0x4269af(0x1f5)](_0x4e6a36);if(!_0x2a125f||_0x4e6a36===_0x2980d9[_0x4269af(0x1a4)])return;if(!_0x3e5ede[_0x4269af(0x1e7)][_0x4269af(0x1ce)][_0x4269af(0x1d1)](_0x476ab6[_0x4269af(0x192)][_0x4269af(0x1eb)],_0x4269af(0x170)))return;const _0x1c2b61={'class':_0x4269af(0x175)+_0x2a125f[_0x4269af(0x19a)][_0x4269af(0x1e2)](),'data-name':_0x2a125f[_0x4269af(0x17b)],'data-session-id':_0x4e6a36},_0x50e671=_0x3e5ede[_0x4269af(0x1e7)][_0x4269af(0x1a7)][_0x4269af(0x1ef)](_0x476ab6[_0x4269af(0x184)]),_0x2f4d0c=_0x50e671[_0x4269af(0x1df)](),_0x3c0426=_0x2f4d0c[_0x4269af(0x1c5)],_0x2f3b0d=_0x3e5ede[_0x4269af(0x1e7)][_0x4269af(0x1ce)];if(_0x3c0426&&_0x2f3b0d[_0x4269af(0x178)](_0x3c0426)&&_0x2f3b0d[_0x4269af(0x177)](_0x3c0426)&&!_0x3e5ede[_0x4269af(0x1e7)][_0x4269af(0x1a7)][_0x4269af(0x1ef)](_0x4269af(0x1bb)+_0x4e6a36)[_0x4269af(0x189)]()[_0x4269af(0x1c6)])return;const _0x7979ba=_0x2f4d0c[_0x4269af(0x1ae)];return _0x3e5ede[_0x4269af(0x1e7)][_0x4269af(0x1ce)][_0x4269af(0x1a6)](_0x7979ba)&&!_0x3e5ede[_0x4269af(0x1e7)][_0x4269af(0x18c)](_0x7979ba)&&(_0x1c2b61[_0x4269af(0x1d0)]=!0x1),function(_0x506c9d,_0x57251a,_0xbe5b49){const _0x3a9b7d=_0x4269af,_0x1ea753=_0x506c9d[_0x3a9b7d(0x1c7)](_0x3a9b7d(0x182),_0x57251a);return _0x506c9d[_0x3a9b7d(0x183)](_0x3a9b7d(0x1dc),!0x0,_0x1ea753),_0x1ea753[_0x3a9b7d(0x1b1)]=function(_0x1940d8){const _0x3d667f=_0x3a9b7d,_0x2d5f74=this[_0x3d667f(0x1bc)](_0x1940d8),_0x4a8439=document[_0x3d667f(0x186)](_0x3d667f(0x182));return _0x4a8439[_0x3d667f(0x181)][_0x3d667f(0x172)](_0x3d667f(0x1ee)),_0x4a8439[_0x3d667f(0x1a3)](_0x3d667f(0x1d0),_0x3d667f(0x1f1)),_0x4a8439[_0x3d667f(0x1a3)](_0x3d667f(0x19d),_0x3d667f(0x1f1)),_0x4a8439[_0x3d667f(0x1ed)]=_0xbe5b49[_0x3d667f(0x17b)],_0x2d5f74[_0x3d667f(0x199)]=_0x3d667f(0x1e4)+_0x4a8439[_0x3d667f(0x1f3)]+'⁠',_0x2d5f74[_0x3d667f(0x1de)](_0x3d667f(0x1b5),()=>{const _0x4b55a6=_0x3d667f;_0x2d5f74[_0x4b55a6(0x181)][_0x4b55a6(0x172)](_0x4b55a6(0x1bd));}),_0x2d5f74[_0x3d667f(0x1de)](_0x3d667f(0x1dd),()=>{const _0x5573f6=_0x3d667f;_0x2d5f74[_0x5573f6(0x181)][_0x5573f6(0x1c9)](_0x5573f6(0x1bd));}),_0x2d5f74;},_0x1ea753[_0x3a9b7d(0x1ba)]=function(_0x3188a2){const _0x2f0bdb=_0x3a9b7d;return!(!this[_0x2f0bdb(0x1d2)](_0x2f0bdb(0x1dc))||!_0x3188a2[_0x2f0bdb(0x1d2)](_0x2f0bdb(0x1dc))||this[_0x2f0bdb(0x1cc)](_0x2f0bdb(0x1a8))!=_0x3188a2[_0x2f0bdb(0x1cc)](_0x2f0bdb(0x1a8)));},_0x1ea753;}(_0x2e37ba,_0x1c2b61,_0x2a125f);}(_0x18bb07,_0x17f9fe,_0x398f64,_0x4d1aa5)}),_0x4d1aa5[_0x505ba8(0x1b0)][_0x505ba8(0x1c8)](_0x505ba8(0x1d3))[_0x505ba8(0x1ea)]({'model':_0x505ba8(0x1c2),'view':_0x3eab43=>function(_0x3a9248,_0x325319){const _0x54aa04=_0x505ba8,_0xda1a1d=_0x3a9248[_0x54aa04(0x184)][_0x54aa04(0x18d)](':')[0x2];if(_0xda1a1d===_0x325319[_0x54aa04(0x1a4)])return null;const _0x1467bf=_0x325319[_0x54aa04(0x1f5)](_0xda1a1d);if(!_0x1467bf)return{'id':_0xda1a1d,'classes':[]};return{'id':_0xda1a1d,'classes':[_0x54aa04(0x187),_0x1467bf[_0x54aa04(0x19a)][_0x54aa04(0x1da)]()],'attributes':{'data-session-id':_0xda1a1d},'priority':0x7d0+_0x1467bf[_0x54aa04(0x1e6)]};}(_0x3eab43,_0x398f64)}),function(_0x28aa25){const _0x5a608e=_0x505ba8,_0x5a9587=_0x28aa25[_0x5a608e(0x1e7)],_0x18e62d=new Map(),_0x378110=_0x28aa25[_0x5a608e(0x1f2)][_0x5a608e(0x1ef)](_0x4c7916);_0x5a9587[_0x5a608e(0x1a7)]['on'](_0x5a608e(0x1d6),(_0xfa9eeb,_0x4b01ec,_0x2919bb,_0x380479)=>{const _0x4fafec=_0x5a608e;if(!_0x380479&&_0x18e62d[_0x4fafec(0x1ef)](_0x4b01ec[_0x4fafec(0x17b)]))return _0x18e62d[_0x4fafec(0x1ef)](_0x4b01ec[_0x4fafec(0x17b)])[_0x4fafec(0x1d8)](),void _0x18e62d[_0x4fafec(0x1e8)](_0x4b01ec[_0x4fafec(0x17b)]);const _0x405b31=_0x4b01ec[_0x4fafec(0x17b)][_0x4fafec(0x18d)](':')[0x2];if(_0x405b31===_0x378110[_0x4fafec(0x1a4)])return;const _0x30c23a=_0x4fafec(0x16f)+_0x405b31;_0x5a9587[_0x4fafec(0x1a7)][_0x4fafec(0x1d7)](_0x30c23a)&&_0x28aa25[_0x4fafec(0x19e)][_0x4fafec(0x1a5)](_0x30c23a),_0x4b01ec['on'](_0x4fafec(0x1b9),(_0x3fb7c4,_0x2f0e64,_0x445230)=>{const _0x5e0487=_0x4fafec;if(_0x5e0487(0x1b3)!=_0x2f0e64[_0x5e0487(0x1e3)][_0x5e0487(0x180)]&&_0x5e0487(0x1b3)==_0x4b01ec[_0x5e0487(0x189)]()[_0x5e0487(0x1e3)][_0x5e0487(0x180)]&&!_0x18e62d[_0x5e0487(0x1d7)](_0x4b01ec[_0x5e0487(0x17b)])){const _0x3a9492=_0x5a9587[_0x5e0487(0x1ce)][_0x5e0487(0x185)](_0x445230[_0x5e0487(0x1b2)]);if(_0x3a9492){const _0x3e6889=_0x19c483[_0x5e0487(0x1b4)](_0x3a9492);_0x18e62d[_0x5e0487(0x195)](_0x4b01ec[_0x5e0487(0x17b)],_0x3e6889),_0x3e6889['on'](_0x5e0487(0x1b9),(_0x44c87f,_0x799d1f,_0x794ddc)=>{const _0x463c44=_0x5e0487;if(_0x463c44(0x1b3)==_0x3e6889[_0x463c44(0x1e3)][_0x463c44(0x180)]){const _0x26c643=_0x5a9587[_0x463c44(0x1ce)][_0x463c44(0x185)](_0x794ddc[_0x463c44(0x1b2)]);_0x26c643?(_0x3e6889[_0x463c44(0x1eb)]=_0x26c643[_0x463c44(0x1eb)],_0x3e6889[_0x463c44(0x17f)]=_0x26c643[_0x463c44(0x17f)]):(_0x18e62d[_0x463c44(0x1e8)](_0x4b01ec[_0x463c44(0x17b)]),_0x3e6889[_0x463c44(0x1d8)]());}});}}});}),_0x5a9587[_0x5a608e(0x188)]['on'](_0x5a608e(0x176),()=>{const _0x42c05d=_0x5a608e;_0x18e62d[_0x42c05d(0x1a0)]>0x0&&_0x5a9587[_0x42c05d(0x18f)]({'isUndoable':!0x1},_0x575822=>{const _0x3760ab=_0x42c05d;for(const [_0x2b8a91,_0x4d865e]of _0x18e62d)_0x3760ab(0x1b3)==_0x5a9587[_0x3760ab(0x1a7)][_0x3760ab(0x1ef)](_0x2b8a91)[_0x3760ab(0x189)]()[_0x3760ab(0x1e3)][_0x3760ab(0x180)]&&(Z(_0x2b8a91[_0x3760ab(0x18d)](':')[0x2],_0x4d865e[_0x3760ab(0x1b8)](),_0x5a9587,_0x575822),_0x4d865e[_0x3760ab(0x1d8)]());_0x18e62d[_0x3760ab(0x1ab)]();});});}(_0x4d1aa5),this[_0x505ba8(0x17a)][_0x505ba8(0x1e9)](_0x369916[_0x505ba8(0x188)],_0x505ba8(0x16e),(_0x503fc3,{key:_0x3bfd56})=>{const _0x4daeaf=_0x505ba8;_0x4daeaf(0x179)===_0x3bfd56&&function(_0x3ed013){const _0x2937d6=_0x4daeaf;_0x3ed013[_0x2937d6(0x19e)][_0x2937d6(0x1c1)][_0x2937d6(0x176)](_0x250997=>{const _0x441cb6=_0x2937d6;for(const _0x41453c of _0x3ed013[_0x441cb6(0x1e7)][_0x441cb6(0x1a7)]){if(!_0x41453c[_0x441cb6(0x17b)][_0x441cb6(0x1ca)](_0x441cb6(0x19f)))continue;const _0x45384c=_0x3ed013[_0x441cb6(0x19e)][_0x441cb6(0x1db)][_0x441cb6(0x1f6)](_0x41453c[_0x441cb6(0x17b)]);if(_0x45384c){for(const _0x3628d8 of _0x45384c)_0x250997[_0x441cb6(0x1e1)](_0x441cb6(0x1bd),_0x3628d8);}}});}(_0x4d1aa5);},{'useCapture':!0x0});}[_0x581e5e(0x1af)](){const _0x1f4376=_0x581e5e,_0x5b1a21=this[_0x1f4376(0x1ac)],_0x4fd8f2=_0x5b1a21[_0x1f4376(0x1a1)][_0x1f4376(0x1ef)](_0x1f4376(0x1d9));_0x4fd8f2&&_0x5b1a21[_0x1f4376(0x1e7)]['on'](_0x1f4376(0x1c4),(_0x56e71e,_0x3266ac)=>{const _0x3fe465=_0x1f4376,_0x659d3e=_0x3266ac[0x0];if(!_0x659d3e[_0x3fe465(0x18a)])return;if(_0x3fe465(0x18b)!=_0x659d3e[_0x3fe465(0x197)]||!_0x659d3e[_0x3fe465(0x17b)][_0x3fe465(0x1ca)](_0x3fe465(0x171)))return;const _0x3b3ca0=_0x659d3e[_0x3fe465(0x190)];_0x4fd8f2[_0x3fe465(0x1e5)][_0x3fe465(0x1d7)](_0x3b3ca0)&&(_0x659d3e[_0x3fe465(0x1c3)]=_0x659d3e[_0x3fe465(0x19c)]?_0x5b1a21[_0x3fe465(0x1e7)][_0x3fe465(0x1d5)](_0x659d3e[_0x3fe465(0x19c)][_0x3fe465(0x1eb)],_0x659d3e[_0x3fe465(0x19c)][_0x3fe465(0x17f)]):null);},{'priority':_0x1f4376(0x1aa)});}[_0x581e5e(0x17c)](){const _0x1176eb=_0x581e5e;return this[_0x1176eb(0x17a)][_0x1176eb(0x17d)](),super[_0x1176eb(0x17c)]();}[_0x581e5e(0x1ad)](){const _0x2aa289=_0x581e5e,_0x3b241a=this[_0x2aa289(0x1ac)],_0x546e5f=_0x3b241a[_0x2aa289(0x1e7)][_0x2aa289(0x188)],_0x2480be=_0x3b241a[_0x2aa289(0x1f2)][_0x2aa289(0x1ef)](_0x4c7916);_0x3b241a[_0x2aa289(0x1e7)][_0x2aa289(0x18f)]({'isUndoable':!0x1},_0x3e60e2=>{const _0x107efd=_0x2aa289,_0xad21f1=_0x107efd(0x1bb)+_0x2480be[_0x107efd(0x1a4)],_0x10a419=_0x107efd(0x16f)+_0x2480be[_0x107efd(0x1a4)],_0x139847=_0x3b241a[_0x107efd(0x1e7)][_0x107efd(0x1a7)][_0x107efd(0x1d7)](_0xad21f1);_0x3b241a[_0x107efd(0x19e)][_0x107efd(0x1c1)][_0x107efd(0x1a2)]?Z(_0x2480be[_0x107efd(0x1a4)],_0x546e5f[_0x107efd(0x1c0)][_0x107efd(0x1bf)](),_0x3b241a[_0x107efd(0x1e7)],_0x3e60e2):_0x139847&&(_0x3e60e2[_0x107efd(0x1be)](_0xad21f1),_0x3e60e2[_0x107efd(0x1be)](_0x10a419));});}}function Z(_0x271a9b,_0x2d16d6,_0x60d5fd,_0x3a35d5){const _0x415d49=_0x581e5e,_0x50fc2a=_0x415d49(0x1bb)+_0x271a9b,_0x3a8c79=_0x415d49(0x16f)+_0x271a9b,_0x634e19=_0x2d16d6[_0x415d49(0x19b)]();let _0x45aea9=_0x2d16d6[_0x415d49(0x1eb)];if(_0x634e19&&_0x634e19['is'](_0x415d49(0x1cd),_0x415d49(0x191))){const _0x332c63=function(_0x5b9b27,_0x47af7a){const _0x4946fc=_0x415d49;for(const _0x19c0aa of _0x5b9b27[_0x4946fc(0x1a9)]())if(_0x47af7a[_0x4946fc(0x1ce)][_0x4946fc(0x1d1)](_0x19c0aa,_0x4946fc(0x170)))return _0x19c0aa;}(_0x2d16d6,_0x60d5fd);_0x332c63&&(_0x45aea9=_0x332c63,_0x2d16d6=_0x3a35d5[_0x415d49(0x1d5)](_0x45aea9));}const _0x3c803a=_0x3a35d5[_0x415d49(0x1d5)](_0x45aea9);_0x60d5fd[_0x415d49(0x1a7)][_0x415d49(0x1d7)](_0x50fc2a)?(_0x3a35d5[_0x415d49(0x18e)](_0x50fc2a,{'range':_0x2d16d6}),_0x3a35d5[_0x415d49(0x18e)](_0x3a8c79,{'range':_0x3c803a})):(_0x3a35d5[_0x415d49(0x1b7)](_0x50fc2a,{'range':_0x2d16d6,'usingOperation':!0x0}),_0x3a35d5[_0x415d49(0x1b7)](_0x3a8c79,{'range':_0x3c803a,'usingOperation':!0x0}));}
23
+ function _0x31f5(_0x567c05,_0x5cd93d){const _0x369c60=_0x369c();return _0x31f5=function(_0x31f5c7,_0xe21d7c){_0x31f5c7=_0x31f5c7-0x150;let _0x26cba5=_0x369c60[_0x31f5c7];return _0x26cba5;},_0x31f5(_0x567c05,_0x5cd93d);}const _0x1e4268=_0x31f5;(function(_0x5b0a03,_0x149df7){const _0x149b18=_0x31f5,_0x410808=_0x5b0a03();while(!![]){try{const _0x38bf22=parseInt(_0x149b18(0x1c0))/0x1+-parseInt(_0x149b18(0x1b0))/0x2+-parseInt(_0x149b18(0x16e))/0x3+-parseInt(_0x149b18(0x182))/0x4+-parseInt(_0x149b18(0x15b))/0x5+-parseInt(_0x149b18(0x15f))/0x6*(parseInt(_0x149b18(0x1bd))/0x7)+parseInt(_0x149b18(0x180))/0x8;if(_0x38bf22===_0x149df7)break;else _0x410808['push'](_0x410808['shift']());}catch(_0x581397){_0x410808['push'](_0x410808['shift']());}}}(_0x369c,0xcad8a));import{Plugin as _0x1c774e}from'ckeditor5/src/core.js';import{global as _0x31ba7b,DomEmitterMixin as _0x26bbc5}from'ckeditor5/src/utils.js';import{Sessions as _0x2b0523}from'./sessions.js';import{ModelLiveRange as _0x43a2ba}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x369c(){const _0x505a21=['get','textContent','stopListening','name','color','getNearestSelectionRange','markers','Escape','setAttribute','split','end','clear','getAttribute','keydown','markerToHighlight','batch','getPositions','user:position','updateMarker','model','1062520WmRMLS','schema','markerRange','$text','markerToElement','size','data-session-id','_createdBatches','mouseleave','markerNameToElements','hasDomSelection','getSelectionClass','highest','1239FskvRk','toDomElement','fromRange','656894wkPOlV','root','toRange','isDocumentOperation','false','getUserBySessionId','selection','commands','user:range','removeClass','plugins','delete','requires','$graveyard','mySessionId','element','user:range:','applyOperation','createUIElement','remove','startsWith','createElement','UserMarkers','userPositionMarker','getRange','listenTo','editing','set','isOfficialPlugin','setCustomProperty','isPremiumPlugin','isObject','isInline','change:range','editingDowncast','conversion','3954565qlFEQV','has','getContainedElement','span','20106LNdXoW','checkChild','init','marker','removeMarker','rootName','_domEmitter','mouseenter','getFirstRange','isCollapsed','detach','document','ck-user__marker_hovered','hasContent','afterInit','405978WQsNcl','createRange','user:position:','for','nodeAfter','type','newRange','destroy','orderNumber','innerHTML','tableCell','ck-user__marker-tooltip','markerName','isLimit','parent','undo','ck-user__selection','reconvertMarker','18756136nUTXER','contenteditable','479708wlshga','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','add','addEventListener','view','addMarker','render','pluginName','classList','change','enqueueChange','deletionPosition','getCustomProperty','editor','getStart','createUserMarkerOperations','update:user:range','start','mapper','isSimilar','spellcheck','oldRange','user:','getMarkerClass','outerHTML','ck-user__marker\x20'];_0x369c=function(){return _0x505a21;};return _0x369c();}export class UserMarkers extends _0x1c774e{[_0x1e4268(0x165)]=new(_0x26bbc5())();static get[_0x1e4268(0x1cc)](){return[_0x2b0523];}static get[_0x1e4268(0x189)](){const _0x13b38e=_0x1e4268;return _0x13b38e(0x1d6);}static get[_0x1e4268(0x153)](){return!0x0;}static get[_0x1e4268(0x155)](){return!0x0;}[_0x1e4268(0x161)](){const _0x2426b5=_0x1e4268,_0x167343=this[_0x2426b5(0x18f)],_0x29188c=_0x167343[_0x2426b5(0x1ca)][_0x2426b5(0x19c)](_0x2b0523);_0x167343[_0x2426b5(0x15a)][_0x2426b5(0x171)](_0x2426b5(0x159))[_0x2426b5(0x1b4)]({'model':_0x2426b5(0x1ad),'view':(_0x2da7ea,{writer:_0x1edcb8})=>function(_0xa237c1,_0x40c52f,_0x246c83,_0x3bfb35){const _0x3b1027=_0x2426b5,_0x259a2e=_0xa237c1[_0x3b1027(0x17a)][_0x3b1027(0x1a5)](':')[0x2],_0x4bbf9d=_0x246c83[_0x3b1027(0x1c5)](_0x259a2e);if(!_0x4bbf9d||_0x259a2e===_0x246c83[_0x3b1027(0x1ce)])return;if(!_0x3bfb35[_0x3b1027(0x1af)][_0x3b1027(0x1b1)][_0x3b1027(0x160)](_0xa237c1[_0x3b1027(0x1b2)][_0x3b1027(0x193)],_0x3b1027(0x1b3)))return;const _0x574691={'class':_0x3b1027(0x19b)+_0x4bbf9d[_0x3b1027(0x1a0)][_0x3b1027(0x199)](),'data-name':_0x4bbf9d[_0x3b1027(0x19f)],'data-session-id':_0x259a2e},_0x319453=_0x3bfb35[_0x3b1027(0x1af)][_0x3b1027(0x1a2)][_0x3b1027(0x19c)](_0xa237c1[_0x3b1027(0x17a)]),_0xd1c847=_0x319453[_0x3b1027(0x190)](),_0x4d2f7c=_0xd1c847[_0x3b1027(0x172)],_0x5c6d52=_0x3bfb35[_0x3b1027(0x1af)][_0x3b1027(0x1b1)];if(_0x4d2f7c&&_0x5c6d52[_0x3b1027(0x156)](_0x4d2f7c)&&_0x5c6d52[_0x3b1027(0x157)](_0x4d2f7c)&&!_0x3bfb35[_0x3b1027(0x1af)][_0x3b1027(0x1a2)][_0x3b1027(0x19c)](_0x3b1027(0x1d0)+_0x259a2e)[_0x3b1027(0x1d8)]()[_0x3b1027(0x168)])return;const _0x2a92d8=_0xd1c847[_0x3b1027(0x17c)];return _0x3bfb35[_0x3b1027(0x1af)][_0x3b1027(0x1b1)][_0x3b1027(0x17b)](_0x2a92d8)&&!_0x3bfb35[_0x3b1027(0x1af)][_0x3b1027(0x16c)](_0x2a92d8)&&(_0x574691[_0x3b1027(0x181)]=!0x1),function(_0x36c2cd,_0x3b58d2,_0x35d840){const _0x37a9f4=_0x3b1027,_0x2b97d1=_0x36c2cd[_0x37a9f4(0x1d2)](_0x37a9f4(0x15e),_0x3b58d2);return _0x36c2cd[_0x37a9f4(0x154)](_0x37a9f4(0x1d7),!0x0,_0x2b97d1),_0x2b97d1[_0x37a9f4(0x188)]=function(_0x286fe5){const _0x1b4f0e=_0x37a9f4,_0x583734=this[_0x1b4f0e(0x1be)](_0x286fe5),_0x3d5074=document[_0x1b4f0e(0x1d5)](_0x1b4f0e(0x15e));return _0x3d5074[_0x1b4f0e(0x18a)][_0x1b4f0e(0x184)](_0x1b4f0e(0x179)),_0x3d5074[_0x1b4f0e(0x1a4)](_0x1b4f0e(0x181),_0x1b4f0e(0x1c4)),_0x3d5074[_0x1b4f0e(0x1a4)](_0x1b4f0e(0x196),_0x1b4f0e(0x1c4)),_0x3d5074[_0x1b4f0e(0x19d)]=_0x35d840[_0x1b4f0e(0x19f)],_0x583734[_0x1b4f0e(0x177)]=_0x1b4f0e(0x183)+_0x3d5074[_0x1b4f0e(0x19a)]+'⁠',_0x583734[_0x1b4f0e(0x185)](_0x1b4f0e(0x166),()=>{const _0x235537=_0x1b4f0e;_0x583734[_0x235537(0x18a)][_0x235537(0x184)](_0x235537(0x16b));}),_0x583734[_0x1b4f0e(0x185)](_0x1b4f0e(0x1b8),()=>{const _0x48c46c=_0x1b4f0e;_0x583734[_0x48c46c(0x18a)][_0x48c46c(0x1d3)](_0x48c46c(0x16b));}),_0x583734;},_0x2b97d1[_0x37a9f4(0x195)]=function(_0x4e96b1){const _0x181572=_0x37a9f4;return!(!this[_0x181572(0x18e)](_0x181572(0x1d7))||!_0x4e96b1[_0x181572(0x18e)](_0x181572(0x1d7))||this[_0x181572(0x1a8)](_0x181572(0x1b6))!=_0x4e96b1[_0x181572(0x1a8)](_0x181572(0x1b6)));},_0x2b97d1;}(_0x40c52f,_0x574691,_0x4bbf9d);}(_0x2da7ea,_0x1edcb8,_0x29188c,_0x167343)}),_0x167343[_0x2426b5(0x15a)][_0x2426b5(0x171)](_0x2426b5(0x159))[_0x2426b5(0x1aa)]({'model':_0x2426b5(0x1c8),'view':_0x51c6ac=>function(_0x490082,_0x2f9310){const _0x44409d=_0x2426b5,_0x3c5587=_0x490082[_0x44409d(0x17a)][_0x44409d(0x1a5)](':')[0x2];if(_0x3c5587===_0x2f9310[_0x44409d(0x1ce)])return null;const _0x58eb44=_0x2f9310[_0x44409d(0x1c5)](_0x3c5587);if(!_0x58eb44)return{'id':_0x3c5587,'classes':[]};return{'id':_0x3c5587,'classes':[_0x44409d(0x17e),_0x58eb44[_0x44409d(0x1a0)][_0x44409d(0x1bb)]()],'attributes':{'data-session-id':_0x3c5587},'priority':0x7d0+_0x58eb44[_0x44409d(0x176)]};}(_0x51c6ac,_0x29188c)}),function(_0x64388e){const _0x48904=_0x2426b5,_0x494d64=_0x64388e[_0x48904(0x1af)],_0xa3ed22=new Map(),_0x175fe8=_0x64388e[_0x48904(0x1ca)][_0x48904(0x19c)](_0x2b0523);_0x494d64[_0x48904(0x1a2)]['on'](_0x48904(0x192),(_0x540750,_0x4691dd,_0x9e681f,_0x16ffce)=>{const _0x139552=_0x48904;if(!_0x16ffce&&_0xa3ed22[_0x139552(0x19c)](_0x4691dd[_0x139552(0x19f)]))return _0xa3ed22[_0x139552(0x19c)](_0x4691dd[_0x139552(0x19f)])[_0x139552(0x169)](),void _0xa3ed22[_0x139552(0x1cb)](_0x4691dd[_0x139552(0x19f)]);const _0x671301=_0x4691dd[_0x139552(0x19f)][_0x139552(0x1a5)](':')[0x2];if(_0x671301===_0x175fe8[_0x139552(0x1ce)])return;const _0x12264d=_0x139552(0x170)+_0x671301;_0x494d64[_0x139552(0x1a2)][_0x139552(0x15c)](_0x12264d)&&_0x64388e[_0x139552(0x151)][_0x139552(0x17f)](_0x12264d),_0x4691dd['on'](_0x139552(0x158),(_0x54992c,_0x276c6d,_0x2d2d9d)=>{const _0x4cefde=_0x139552;if(_0x4cefde(0x1cd)!=_0x276c6d[_0x4cefde(0x1c1)][_0x4cefde(0x164)]&&_0x4cefde(0x1cd)==_0x4691dd[_0x4cefde(0x1d8)]()[_0x4cefde(0x1c1)][_0x4cefde(0x164)]&&!_0xa3ed22[_0x4cefde(0x15c)](_0x4691dd[_0x4cefde(0x19f)])){const _0x445a0f=_0x494d64[_0x4cefde(0x1b1)][_0x4cefde(0x1a1)](_0x2d2d9d[_0x4cefde(0x18d)]);if(_0x445a0f){const _0x130ea4=_0x43a2ba[_0x4cefde(0x1bf)](_0x445a0f);_0xa3ed22[_0x4cefde(0x152)](_0x4691dd[_0x4cefde(0x19f)],_0x130ea4),_0x130ea4['on'](_0x4cefde(0x158),(_0x15b2c3,_0x59cf38,_0x58ee82)=>{const _0x15e7dc=_0x4cefde;if(_0x15e7dc(0x1cd)==_0x130ea4[_0x15e7dc(0x1c1)][_0x15e7dc(0x164)]){const _0x5a4efb=_0x494d64[_0x15e7dc(0x1b1)][_0x15e7dc(0x1a1)](_0x58ee82[_0x15e7dc(0x18d)]);_0x5a4efb?(_0x130ea4[_0x15e7dc(0x193)]=_0x5a4efb[_0x15e7dc(0x193)],_0x130ea4[_0x15e7dc(0x1a6)]=_0x5a4efb[_0x15e7dc(0x1a6)]):(_0xa3ed22[_0x15e7dc(0x1cb)](_0x4691dd[_0x15e7dc(0x19f)]),_0x130ea4[_0x15e7dc(0x169)]());}});}}});}),_0x494d64[_0x48904(0x16a)]['on'](_0x48904(0x18b),()=>{const _0x525b85=_0x48904;_0xa3ed22[_0x525b85(0x1b5)]>0x0&&_0x494d64[_0x525b85(0x18c)]({'isUndoable':!0x1},_0x3128e3=>{const _0x439b89=_0x525b85;for(const [_0x4feb06,_0x138e39]of _0xa3ed22)_0x439b89(0x1cd)==_0x494d64[_0x439b89(0x1a2)][_0x439b89(0x19c)](_0x4feb06)[_0x439b89(0x1d8)]()[_0x439b89(0x1c1)][_0x439b89(0x164)]&&(re(_0x4feb06[_0x439b89(0x1a5)](':')[0x2],_0x138e39[_0x439b89(0x1c2)](),_0x494d64,_0x3128e3),_0x138e39[_0x439b89(0x169)]());_0xa3ed22[_0x439b89(0x1a7)]();});});}(_0x167343),this[_0x2426b5(0x165)][_0x2426b5(0x150)](_0x31ba7b[_0x2426b5(0x16a)],_0x2426b5(0x1a9),(_0x248b8c,{key:_0x3f7060})=>{const _0x4aa1da=_0x2426b5;_0x4aa1da(0x1a3)===_0x3f7060&&function(_0x47ccae){const _0x2056da=_0x4aa1da;_0x47ccae[_0x2056da(0x151)][_0x2056da(0x186)][_0x2056da(0x18b)](_0x343c8e=>{const _0x1c22c7=_0x2056da;for(const _0x573974 of _0x47ccae[_0x1c22c7(0x1af)][_0x1c22c7(0x1a2)]){if(!_0x573974[_0x1c22c7(0x19f)][_0x1c22c7(0x1d4)](_0x1c22c7(0x1ad)))continue;const _0x1c3c18=_0x47ccae[_0x1c22c7(0x151)][_0x1c22c7(0x194)][_0x1c22c7(0x1b9)](_0x573974[_0x1c22c7(0x19f)]);if(_0x1c3c18){for(const _0x3f447e of _0x1c3c18)_0x343c8e[_0x1c22c7(0x1c9)](_0x1c22c7(0x16b),_0x3f447e);}}});}(_0x167343);},{'useCapture':!0x0});}[_0x1e4268(0x16d)](){const _0x42b08e=_0x1e4268,_0x5c4973=this[_0x42b08e(0x18f)],_0xede4a=_0x5c4973[_0x42b08e(0x1c7)][_0x42b08e(0x19c)](_0x42b08e(0x17d));_0xede4a&&_0x5c4973[_0x42b08e(0x1af)]['on'](_0x42b08e(0x1d1),(_0x5b49b0,_0x346fa4)=>{const _0x21df14=_0x42b08e,_0x42fa6e=_0x346fa4[0x0];if(!_0x42fa6e[_0x21df14(0x1c3)])return;if(_0x21df14(0x162)!=_0x42fa6e[_0x21df14(0x173)]||!_0x42fa6e[_0x21df14(0x19f)][_0x21df14(0x1d4)](_0x21df14(0x198)))return;const _0x5f5591=_0x42fa6e[_0x21df14(0x1ab)];_0xede4a[_0x21df14(0x1b7)][_0x21df14(0x15c)](_0x5f5591)&&(_0x42fa6e[_0x21df14(0x174)]=_0x42fa6e[_0x21df14(0x197)]?_0x5c4973[_0x21df14(0x1af)][_0x21df14(0x16f)](_0x42fa6e[_0x21df14(0x197)][_0x21df14(0x193)],_0x42fa6e[_0x21df14(0x197)][_0x21df14(0x1a6)]):null);},{'priority':_0x42b08e(0x1bc)});}[_0x1e4268(0x175)](){const _0x4039b2=_0x1e4268;return this[_0x4039b2(0x165)][_0x4039b2(0x19e)](),super[_0x4039b2(0x175)]();}[_0x1e4268(0x191)](){const _0x1218f1=_0x1e4268,_0x293526=this[_0x1218f1(0x18f)],_0x2fb66d=_0x293526[_0x1218f1(0x1af)][_0x1218f1(0x16a)],_0xb87723=_0x293526[_0x1218f1(0x1ca)][_0x1218f1(0x19c)](_0x2b0523);_0x293526[_0x1218f1(0x1af)][_0x1218f1(0x18c)]({'isUndoable':!0x1},_0x58e99b=>{const _0x13b136=_0x1218f1,_0x423a66=_0x13b136(0x1d0)+_0xb87723[_0x13b136(0x1ce)],_0xa74016=_0x13b136(0x170)+_0xb87723[_0x13b136(0x1ce)],_0x58252b=_0x293526[_0x13b136(0x1af)][_0x13b136(0x1a2)][_0x13b136(0x15c)](_0x423a66);_0x293526[_0x13b136(0x151)][_0x13b136(0x186)][_0x13b136(0x1ba)]?re(_0xb87723[_0x13b136(0x1ce)],_0x2fb66d[_0x13b136(0x1c6)][_0x13b136(0x167)](),_0x293526[_0x13b136(0x1af)],_0x58e99b):_0x58252b&&(_0x58e99b[_0x13b136(0x163)](_0x423a66),_0x58e99b[_0x13b136(0x163)](_0xa74016));});}}function re(_0x3ea91a,_0xd298a5,_0x3430e9,_0x2bb982){const _0x190caf=_0x1e4268,_0x249f24=_0x190caf(0x1d0)+_0x3ea91a,_0x19ccef=_0x190caf(0x170)+_0x3ea91a,_0x3ba149=_0xd298a5[_0x190caf(0x15d)]();let _0xafe77b=_0xd298a5[_0x190caf(0x193)];if(_0x3ba149&&_0x3ba149['is'](_0x190caf(0x1cf),_0x190caf(0x178))){const _0x246327=function(_0x50118e,_0x2ecc6d){const _0x246d51=_0x190caf;for(const _0x53301f of _0x50118e[_0x246d51(0x1ac)]())if(_0x2ecc6d[_0x246d51(0x1b1)][_0x246d51(0x160)](_0x53301f,_0x246d51(0x1b3)))return _0x53301f;}(_0xd298a5,_0x3430e9);_0x246327&&(_0xafe77b=_0x246327,_0xd298a5=_0x2bb982[_0x190caf(0x16f)](_0xafe77b));}const _0x79b077=_0x2bb982[_0x190caf(0x16f)](_0xafe77b);_0x3430e9[_0x190caf(0x1a2)][_0x190caf(0x15c)](_0x249f24)?(_0x2bb982[_0x190caf(0x1ae)](_0x249f24,{'range':_0xd298a5}),_0x2bb982[_0x190caf(0x1ae)](_0x19ccef,{'range':_0x79b077})):(_0x2bb982[_0x190caf(0x187)](_0x249f24,{'range':_0xd298a5,'usingOperation':!0x0}),_0x2bb982[_0x190caf(0x187)](_0x19ccef,{'range':_0x79b077,'usingOperation':!0x0}));}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4efa(_0xa71360,_0x107e8b){const _0x2120f1=_0x2120();return _0x4efa=function(_0x4efaba,_0x51b66b){_0x4efaba=_0x4efaba-0x12e;let _0x54926c=_0x2120f1[_0x4efaba];return _0x54926c;},_0x4efa(_0xa71360,_0x107e8b);}const _0x5d02a8=_0x4efa;(function(_0x10cf9c,_0x3d1c12){const _0x1140d0=_0x4efa,_0x40d468=_0x10cf9c();while(!![]){try{const _0x2973db=-parseInt(_0x1140d0(0x172))/0x1+parseInt(_0x1140d0(0x169))/0x2+-parseInt(_0x1140d0(0x148))/0x3+parseInt(_0x1140d0(0x163))/0x4*(-parseInt(_0x1140d0(0x137))/0x5)+-parseInt(_0x1140d0(0x161))/0x6*(parseInt(_0x1140d0(0x165))/0x7)+parseInt(_0x1140d0(0x166))/0x8*(-parseInt(_0x1140d0(0x15e))/0x9)+parseInt(_0x1140d0(0x155))/0xa;if(_0x2973db===_0x3d1c12)break;else _0x40d468['push'](_0x40d468['shift']());}catch(_0x477f01){_0x40d468['push'](_0x40d468['shift']());}}}(_0x2120,0x5c908));function _0x2120(){const _0x1ec3a5=['connect','websocketgateway-missing-token','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','_isBrowserOffline','state','connected','1320564qorFDA','WebSocketGateway','destroy','delete','cloudServices.requestTimeout','initialReconnectionInterval','config','init','showWarning','listenTo','real-time-collaboration','cloudservices-reconnection-error','_domEmitter','21339110CBjOol','disconnect','CONNECTING','limitExceeded','add','removeFromReconnectionStack','code','addToReconnectionStack','isOfficialPlugin','38034TCfMkX','context','token','336138nAGhto','websocketgateway-plugin-already-registered','9320LCXPPB','bind','84rpNSrP','424OwNDsR','set','offline','1211964COuimw','all','DISCONNECTED','change:me','reconnect','Connected\x20users\x20limit\x20exceeded','CloudServices','define','cloudServices.connectionTimeout','514037dppXgD','webSocketUrl','isInReconnectionStack','constructor','_reconnectionStack','has','websocketgateway-invalid-plugin-interface','from','online','_reconnect','pluginName','connection','websocketgateway-missing-websocket-url','cloudservices-init','then','1095ZtGeJD','stopListening','CONNECTED','catch','isPremiumPlugin','function','error','get','_shouldPluginsReconnect','requires','plugins'];_0x2120=function(){return _0x1ec3a5;};return _0x2120();}import{ContextPlugin as _0x14e89a}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x3e4bd5,CKEditorError as _0x384baa}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x332b10,WEB_SOCKET_GATEWAY_STATES as _0xcf0e52}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x2e1237}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x14e89a{static [_0x5d02a8(0x149)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x332b10)());static [_0x5d02a8(0x14d)]=0x3e8;[_0x5d02a8(0x133)];[_0x5d02a8(0x176)];[_0x5d02a8(0x13f)];[_0x5d02a8(0x154)];static get[_0x5d02a8(0x140)](){const _0x45dfdb=_0x5d02a8;return[_0x45dfdb(0x16f),_0x2e1237];}static get[_0x5d02a8(0x132)](){const _0x3ea3a4=_0x5d02a8;return _0x3ea3a4(0x149);}static get[_0x5d02a8(0x15d)](){return!0x0;}static get[_0x5d02a8(0x13b)](){return!0x0;}constructor(_0x197e88){const _0x226045=_0x5d02a8;super(_0x197e88),this[_0x226045(0x167)](_0x226045(0x146),_0xcf0e52[_0x226045(0x139)]),this[_0x226045(0x167)](_0x226045(0x145),!0x1),this[_0x226045(0x176)]=new Set(),this[_0x226045(0x13f)]=!0x1,this[_0x226045(0x154)]=new(_0x3e4bd5())();}[_0x5d02a8(0x14f)](){const _0x3e131f=_0x5d02a8,_0x4afde7=this[_0x3e131f(0x15f)],_0x3984a9=_0x4afde7[_0x3e131f(0x141)][_0x3e131f(0x13e)](_0x3e131f(0x16f)),_0x2fc5a4=_0x4afde7[_0x3e131f(0x141)][_0x3e131f(0x13e)](_0x2e1237);if(!_0x3984a9[_0x3e131f(0x160)])throw new _0x384baa(_0x3e131f(0x143),this);if(!_0x3984a9[_0x3e131f(0x173)])throw new _0x384baa(_0x3e131f(0x134),this);return this[_0x3e131f(0x154)][_0x3e131f(0x151)](window,_0x3e131f(0x168),()=>this[_0x3e131f(0x145)]=!0x0),this[_0x3e131f(0x154)][_0x3e131f(0x151)](window,_0x3e131f(0x130),()=>this[_0x3e131f(0x145)]=!0x1),this[_0x3e131f(0x15f)][_0x3e131f(0x14e)][_0x3e131f(0x170)](_0x3e131f(0x171),0xa),this[_0x3e131f(0x15f)][_0x3e131f(0x14e)][_0x3e131f(0x170)](_0x3e131f(0x14c),0x14),WebSocketGateway[_0x3e131f(0x149)][_0x3e131f(0x142)](_0x3984a9[_0x3e131f(0x160)],_0x3984a9[_0x3e131f(0x173)],{'timeout':0x3e8*this[_0x3e131f(0x15f)][_0x3e131f(0x14e)][_0x3e131f(0x13e)](_0x3e131f(0x171)),'requestTimeout':0x3e8*this[_0x3e131f(0x15f)][_0x3e131f(0x14e)][_0x3e131f(0x13e)](_0x3e131f(0x14c))})[_0x3e131f(0x136)](_0x104818=>{const _0x52aeda=_0x3e131f;if(this[_0x52aeda(0x133)]=_0x104818,this[_0x52aeda(0x164)](_0x52aeda(0x146))['to'](_0x104818,_0x52aeda(0x146),this,_0x52aeda(0x145),(_0x2f0b93,_0x22355d)=>(_0x52aeda(0x147)!==_0x2f0b93&&(this[_0x52aeda(0x13f)]=!0x0),_0x22355d||_0x2f0b93!==_0xcf0e52[_0x52aeda(0x139)]?_0xcf0e52[_0x52aeda(0x16b)]:this[_0x52aeda(0x146)]==_0xcf0e52[_0x52aeda(0x16b)]&&this[_0x52aeda(0x13f)]?(this[_0x52aeda(0x13f)]=!0x1,this[_0x52aeda(0x131)](),_0xcf0e52[_0x52aeda(0x157)]):_0xcf0e52[_0x52aeda(0x139)])),this[_0x52aeda(0x133)]['on'](_0x52aeda(0x13d),(_0x5a7677,_0x2096aa)=>{const _0x43af2e=_0x52aeda;if(_0x43af2e(0x158)!==_0x2096aa[_0x43af2e(0x15b)])throw console[_0x43af2e(0x13d)](_0x2096aa),new _0x384baa(_0x43af2e(0x135),null,{'originalError':_0x2096aa});_0x2fc5a4[_0x43af2e(0x150)](_0x43af2e(0x144),{'title':_0x43af2e(0x16e),'namespace':_0x43af2e(0x152)});}),!_0x104818['me'])return new Promise(_0x1e4fd3=>_0x104818['on'](_0x52aeda(0x16c),_0x1e4fd3));})[_0x3e131f(0x13a)](_0x3e2346=>{const _0x2dca71=_0x3e131f;throw console[_0x2dca71(0x13d)](_0x3e2346),new _0x384baa(_0x2dca71(0x135),null,{'originalError':_0x3e2346});});}[_0x5d02a8(0x15c)](_0x3a1d55){const _0x37c07b=_0x5d02a8;if(_0x37c07b(0x13c)!=typeof _0x3a1d55[_0x37c07b(0x16d)])throw new _0x384baa(_0x37c07b(0x12e),this);if(this[_0x37c07b(0x174)](_0x3a1d55))throw new _0x384baa(_0x37c07b(0x162),this,{'name':_0x3a1d55[_0x37c07b(0x175)][_0x37c07b(0x132)]});this[_0x37c07b(0x176)][_0x37c07b(0x159)](_0x3a1d55);}[_0x5d02a8(0x15a)](_0x4077fc){const _0x4836b4=_0x5d02a8;this[_0x4836b4(0x176)][_0x4836b4(0x14b)](_0x4077fc);}[_0x5d02a8(0x174)](_0x4fe1a4){const _0x4203a2=_0x5d02a8;return this[_0x4203a2(0x176)][_0x4203a2(0x177)](_0x4fe1a4);}[_0x5d02a8(0x131)](){const _0x14ede2=_0x5d02a8;return this[_0x14ede2(0x133)][_0x14ede2(0x16d)]()[_0x14ede2(0x136)](()=>Promise[_0x14ede2(0x16a)](Array[_0x14ede2(0x12f)](this[_0x14ede2(0x176)],_0x2579c1=>_0x2579c1[_0x14ede2(0x16d)]())))[_0x14ede2(0x136)](()=>this[_0x14ede2(0x146)]=_0xcf0e52[_0x14ede2(0x139)])[_0x14ede2(0x13a)](_0x500343=>{const _0x269d7e=_0x14ede2;throw console[_0x269d7e(0x13d)](_0x500343),new _0x384baa(_0x269d7e(0x153),this[_0x269d7e(0x15f)]);});}[_0x5d02a8(0x156)](){const _0x512982=_0x5d02a8;this[_0x512982(0x133)]&&this[_0x512982(0x133)][_0x512982(0x156)](),this[_0x512982(0x146)]=_0xcf0e52[_0x512982(0x16b)],this[_0x512982(0x154)][_0x512982(0x138)]();}[_0x5d02a8(0x14a)](){const _0x4a6ba3=_0x5d02a8;this[_0x4a6ba3(0x156)](),super[_0x4a6ba3(0x14a)]();}}
23
+ const _0x41788e=_0x36a2;(function(_0x169b7a,_0x528866){const _0x2e8afd=_0x36a2,_0x2174fe=_0x169b7a();while(!![]){try{const _0x5e52d8=parseInt(_0x2e8afd(0xcd))/0x1+-parseInt(_0x2e8afd(0xe9))/0x2+parseInt(_0x2e8afd(0xfa))/0x3+parseInt(_0x2e8afd(0xdb))/0x4+-parseInt(_0x2e8afd(0x10b))/0x5+parseInt(_0x2e8afd(0xe6))/0x6*(-parseInt(_0x2e8afd(0xcf))/0x7)+-parseInt(_0x2e8afd(0xfd))/0x8;if(_0x5e52d8===_0x528866)break;else _0x2174fe['push'](_0x2174fe['shift']());}catch(_0x3767c6){_0x2174fe['push'](_0x2174fe['shift']());}}}(_0xc56a,0xe63c6));import{ContextPlugin as _0x338963}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x46da0e,CKEditorError as _0x860ca1}from'ckeditor5/src/utils.js';function _0x36a2(_0x2aeb56,_0x2b56a8){const _0xc56a41=_0xc56a();return _0x36a2=function(_0x36a2b6,_0x5f4db0){_0x36a2b6=_0x36a2b6-0xc7;let _0x22c060=_0xc56a41[_0x36a2b6];return _0x22c060;},_0x36a2(_0x2aeb56,_0x2b56a8);}import{WebSocketGateway as _0x2bb010,WEB_SOCKET_GATEWAY_STATES as _0x49d189}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x5a6098}from'ckeditor5/src/ui.js';function _0xc56a(){const _0x1792a1=['882972olpuYE','limitExceeded','real-time-collaboration','CloudServices','from','CONNECTED','disconnect','websocketgateway-plugin-already-registered','WebSocketGateway','token','isOfficialPlugin','6NtZpFQ','bind','pluginName','1019780JQRmrw','_reconnect','has','init','get','requires','cloudservices-reconnection-error','stopListening','websocketgateway-invalid-plugin-interface','define','cloudservices-init','code','plugins','online','cloudServices.requestTimeout','add','state','2355768BXgioD','_domEmitter','CONNECTING','1617856eFoyRj','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','then','function','websocketgateway-missing-websocket-url','connection','delete','constructor','webSocketUrl','DISCONNECTED','set','change:me','removeFromReconnectionStack','error','4213380tDOkbZ','initialReconnectionInterval','destroy','_reconnectionStack','all','Connected\x20users\x20limit\x20exceeded','_shouldPluginsReconnect','_isBrowserOffline','listenTo','showWarning','1621264taidBN','config','905933EqFQLx','cloudServices.connectionTimeout','isInReconnectionStack','connected','isPremiumPlugin','catch','addToReconnectionStack','offline','connect','reconnect','websocketgateway-missing-token','context'];_0xc56a=function(){return _0x1792a1;};return _0xc56a();}export class WebSocketGateway extends _0x338963{static [_0x41788e(0xe3)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x2bb010)());static [_0x41788e(0x10c)]=0x3e8;[_0x41788e(0x102)];[_0x41788e(0x10e)];[_0x41788e(0xc9)];[_0x41788e(0xfb)];static get[_0x41788e(0xee)](){const _0x51bafe=_0x41788e;return[_0x51bafe(0xde),_0x5a6098];}static get[_0x41788e(0xe8)](){const _0xe41756=_0x41788e;return _0xe41756(0xe3);}static get[_0x41788e(0xe5)](){return!0x0;}static get[_0x41788e(0xd3)](){return!0x0;}constructor(_0x13217a){const _0x280473=_0x41788e;super(_0x13217a),this[_0x280473(0x107)](_0x280473(0xf9),_0x49d189[_0x280473(0xe0)]),this[_0x280473(0x107)](_0x280473(0xca),!0x1),this[_0x280473(0x10e)]=new Set(),this[_0x280473(0xc9)]=!0x1,this[_0x280473(0xfb)]=new(_0x46da0e())();}[_0x41788e(0xec)](){const _0x450d66=_0x41788e,_0x101201=this[_0x450d66(0xda)],_0x1f78c6=_0x101201[_0x450d66(0xf5)][_0x450d66(0xed)](_0x450d66(0xde)),_0x1c3f5d=_0x101201[_0x450d66(0xf5)][_0x450d66(0xed)](_0x5a6098);if(!_0x1f78c6[_0x450d66(0xe4)])throw new _0x860ca1(_0x450d66(0xd9),this);if(!_0x1f78c6[_0x450d66(0x105)])throw new _0x860ca1(_0x450d66(0x101),this);return this[_0x450d66(0xfb)][_0x450d66(0xcb)](window,_0x450d66(0xd6),()=>this[_0x450d66(0xca)]=!0x0),this[_0x450d66(0xfb)][_0x450d66(0xcb)](window,_0x450d66(0xf6),()=>this[_0x450d66(0xca)]=!0x1),this[_0x450d66(0xda)][_0x450d66(0xce)][_0x450d66(0xf2)](_0x450d66(0xd0),0xa),this[_0x450d66(0xda)][_0x450d66(0xce)][_0x450d66(0xf2)](_0x450d66(0xf7),0x14),WebSocketGateway[_0x450d66(0xe3)][_0x450d66(0xd7)](_0x1f78c6[_0x450d66(0xe4)],_0x1f78c6[_0x450d66(0x105)],{'timeout':0x3e8*this[_0x450d66(0xda)][_0x450d66(0xce)][_0x450d66(0xed)](_0x450d66(0xd0)),'requestTimeout':0x3e8*this[_0x450d66(0xda)][_0x450d66(0xce)][_0x450d66(0xed)](_0x450d66(0xf7))})[_0x450d66(0xff)](_0x699679=>{const _0x3922f1=_0x450d66;if(this[_0x3922f1(0x102)]=_0x699679,this[_0x3922f1(0xe7)](_0x3922f1(0xf9))['to'](_0x699679,_0x3922f1(0xf9),this,_0x3922f1(0xca),(_0x332043,_0x2ba9df)=>(_0x3922f1(0xd2)!==_0x332043&&(this[_0x3922f1(0xc9)]=!0x0),_0x2ba9df||_0x332043!==_0x49d189[_0x3922f1(0xe0)]?_0x49d189[_0x3922f1(0x106)]:this[_0x3922f1(0xf9)]==_0x49d189[_0x3922f1(0x106)]&&this[_0x3922f1(0xc9)]?(this[_0x3922f1(0xc9)]=!0x1,this[_0x3922f1(0xea)](),_0x49d189[_0x3922f1(0xfc)]):_0x49d189[_0x3922f1(0xe0)])),this[_0x3922f1(0x102)]['on'](_0x3922f1(0x10a),(_0x1968dd,_0x1bf950)=>{const _0x40e2b7=_0x3922f1;if(_0x40e2b7(0xdc)!==_0x1bf950[_0x40e2b7(0xf4)])throw console[_0x40e2b7(0x10a)](_0x1bf950),new _0x860ca1(_0x40e2b7(0xf3),null,{'originalError':_0x1bf950});_0x1c3f5d[_0x40e2b7(0xcc)](_0x40e2b7(0xfe),{'title':_0x40e2b7(0xc8),'namespace':_0x40e2b7(0xdd)});}),!_0x699679['me'])return new Promise(_0x3efeef=>_0x699679['on'](_0x3922f1(0x108),_0x3efeef));})[_0x450d66(0xd4)](_0x191e81=>{const _0x5120c4=_0x450d66;throw console[_0x5120c4(0x10a)](_0x191e81),new _0x860ca1(_0x5120c4(0xf3),null,{'originalError':_0x191e81});});}[_0x41788e(0xd5)](_0x566896){const _0x3bc5e9=_0x41788e;if(_0x3bc5e9(0x100)!=typeof _0x566896[_0x3bc5e9(0xd8)])throw new _0x860ca1(_0x3bc5e9(0xf1),this);if(this[_0x3bc5e9(0xd1)](_0x566896))throw new _0x860ca1(_0x3bc5e9(0xe2),this,{'name':_0x566896[_0x3bc5e9(0x104)][_0x3bc5e9(0xe8)]});this[_0x3bc5e9(0x10e)][_0x3bc5e9(0xf8)](_0x566896);}[_0x41788e(0x109)](_0x5813e0){const _0x512f6c=_0x41788e;this[_0x512f6c(0x10e)][_0x512f6c(0x103)](_0x5813e0);}[_0x41788e(0xd1)](_0x32b8dd){const _0x3eb939=_0x41788e;return this[_0x3eb939(0x10e)][_0x3eb939(0xeb)](_0x32b8dd);}[_0x41788e(0xea)](){const _0x12a29c=_0x41788e;return this[_0x12a29c(0x102)][_0x12a29c(0xd8)]()[_0x12a29c(0xff)](()=>Promise[_0x12a29c(0xc7)](Array[_0x12a29c(0xdf)](this[_0x12a29c(0x10e)],_0x2301dd=>_0x2301dd[_0x12a29c(0xd8)]())))[_0x12a29c(0xff)](()=>this[_0x12a29c(0xf9)]=_0x49d189[_0x12a29c(0xe0)])[_0x12a29c(0xd4)](_0x1ff8d6=>{const _0x55ae3a=_0x12a29c;throw console[_0x55ae3a(0x10a)](_0x1ff8d6),new _0x860ca1(_0x55ae3a(0xef),this[_0x55ae3a(0xda)]);});}[_0x41788e(0xe1)](){const _0x4417bd=_0x41788e;this[_0x4417bd(0x102)]&&this[_0x4417bd(0x102)][_0x4417bd(0xe1)](),this[_0x4417bd(0xf9)]=_0x49d189[_0x4417bd(0x106)],this[_0x4417bd(0xfb)][_0x4417bd(0xf0)]();}[_0x41788e(0x10d)](){const _0x55eeb3=_0x41788e;this[_0x55eeb3(0xe1)](),super[_0x55eeb3(0x10d)]();}}