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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-real-time-collaboration",
3
- "version": "47.1.0-alpha.0",
3
+ "version": "47.1.0-alpha.1",
4
4
  "description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -47,19 +47,19 @@
47
47
  ],
48
48
  "dependencies": {
49
49
  "@ckeditor/ckeditor-cloud-services-collaboration": "53.0.1",
50
- "@ckeditor/ckeditor5-cloud-services": "47.1.0-alpha.0",
51
- "@ckeditor/ckeditor5-comments": "47.1.0-alpha.0",
52
- "@ckeditor/ckeditor5-core": "47.1.0-alpha.0",
53
- "@ckeditor/ckeditor5-editor-multi-root": "47.1.0-alpha.0",
54
- "@ckeditor/ckeditor5-engine": "47.1.0-alpha.0",
55
- "@ckeditor/ckeditor5-operations-compressor": "47.1.0-alpha.0",
56
- "@ckeditor/ckeditor5-revision-history": "47.1.0-alpha.0",
57
- "@ckeditor/ckeditor5-theme-lark": "47.1.0-alpha.0",
58
- "@ckeditor/ckeditor5-track-changes": "47.1.0-alpha.0",
59
- "@ckeditor/ckeditor5-ui": "47.1.0-alpha.0",
60
- "@ckeditor/ckeditor5-utils": "47.1.0-alpha.0",
61
- "ckeditor5": "47.1.0-alpha.0",
62
- "ckeditor5-collaboration": "47.1.0-alpha.0",
50
+ "@ckeditor/ckeditor5-cloud-services": "47.1.0-alpha.1",
51
+ "@ckeditor/ckeditor5-comments": "47.1.0-alpha.1",
52
+ "@ckeditor/ckeditor5-core": "47.1.0-alpha.1",
53
+ "@ckeditor/ckeditor5-editor-multi-root": "47.1.0-alpha.1",
54
+ "@ckeditor/ckeditor5-engine": "47.1.0-alpha.1",
55
+ "@ckeditor/ckeditor5-operations-compressor": "47.1.0-alpha.1",
56
+ "@ckeditor/ckeditor5-revision-history": "47.1.0-alpha.1",
57
+ "@ckeditor/ckeditor5-theme-lark": "47.1.0-alpha.1",
58
+ "@ckeditor/ckeditor5-track-changes": "47.1.0-alpha.1",
59
+ "@ckeditor/ckeditor5-ui": "47.1.0-alpha.1",
60
+ "@ckeditor/ckeditor5-utils": "47.1.0-alpha.1",
61
+ "ckeditor5": "47.1.0-alpha.1",
62
+ "ckeditor5-collaboration": "47.1.0-alpha.1",
63
63
  "es-toolkit": "1.39.5"
64
64
  },
65
65
  "types": "src/index.d.ts",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11a875=_0x2c97;function _0x2c97(_0xf5fb03,_0x39f1ea){const _0x1cd3cb=_0x1cd3();return _0x2c97=function(_0x2c9727,_0x2b58b5){_0x2c9727=_0x2c9727-0x1c8;let _0x276195=_0x1cd3cb[_0x2c9727];return _0x276195;},_0x2c97(_0xf5fb03,_0x39f1ea);}(function(_0x3931fa,_0x2e4ab6){const _0x153afa=_0x2c97,_0x315415=_0x3931fa();while(!![]){try{const _0x148c3a=parseInt(_0x153afa(0x1ca))/0x1*(parseInt(_0x153afa(0x1d5))/0x2)+parseInt(_0x153afa(0x1ed))/0x3*(parseInt(_0x153afa(0x1ee))/0x4)+parseInt(_0x153afa(0x1c9))/0x5+-parseInt(_0x153afa(0x1f3))/0x6+-parseInt(_0x153afa(0x1c8))/0x7+parseInt(_0x153afa(0x1db))/0x8+-parseInt(_0x153afa(0x1dc))/0x9;if(_0x148c3a===_0x2e4ab6)break;else _0x315415['push'](_0x315415['shift']());}catch(_0x230b7e){_0x315415['push'](_0x315415['shift']());}}}(_0x1cd3,0x24d84));import{ListView as _0x457db4,View as _0x4110c0}from'ckeditor5/src/ui.js';function _0x1cd3(){const _0x5578b5=['presencelist:hide','resize','604473MqXaTk','4FkcadC','ck-reset','fire','application','scrollHeight','1691004mBbEgC','1893577zRciAh','699255inMdYg','1JOSIJg','_isScrollable','div','bindTemplate','items','listWrapperView','ariaLabel','relatedTarget','window','contains','.ck-balloon-panel_with-arrow','574502GFdPKd','render','checkIfScrollable','role','set','ck-presence-list__dropdown-list','1851896Yttapl','1411371EQIbic','ck-list','innerHeight','setTemplate','querySelector','.ck-presence-list__list','clientHeight','change','max','ck-presence-list__dropdown-list-wrapper','listenTo','ariaLabelledBy','element','ck-presence-list__dropdown-list-wrapper_scrollable','Connected\x20users\x20list\x20dropdown\x20menu'];_0x1cd3=function(){return _0x5578b5;};return _0x1cd3();}import{global as _0x459ae6}from'ckeditor5/src/utils.js';import{getTranslation as _0x2e5d9c}from'../../common-translations.js';export class PresenceDropdownListView extends _0x4110c0{[_0x11a875(0x1cf)];constructor(_0x38468c,_0x17b7a1){const _0x270100=_0x11a875;super(_0x38468c);const _0x105bb5=this[_0x270100(0x1cd)];this[_0x270100(0x1cf)]=new PresenceDropdownListWrapperView(_0x38468c,_0x17b7a1),this[_0x270100(0x1df)]({'tag':_0x270100(0x1cc),'attributes':{'tabindex':-0x1,'role':_0x270100(0x1f1),'class':['ck',_0x270100(0x1da)],'aria-label':_0x2e5d9c(_0x38468c,_0x270100(0x1ea))},'children':[this[_0x270100(0x1cf)]],'on':{'mouseleave':_0x105bb5['to'](_0x20422a=>{const _0x39ab6e=_0x270100,_0x455cf5=_0x20422a,_0x4ee3b5=document[_0x39ab6e(0x1e0)](_0x39ab6e(0x1e1)),_0x5b70e5=document[_0x39ab6e(0x1e0)](_0x39ab6e(0x1d4));_0x4ee3b5?.[_0x39ab6e(0x1d3)](_0x455cf5[_0x39ab6e(0x1d1)])||_0x5b70e5?.[_0x39ab6e(0x1d3)](_0x455cf5[_0x39ab6e(0x1d1)])||this[_0x39ab6e(0x1f0)](_0x39ab6e(0x1eb));})}});}}export class PresenceDropdownListWrapperView extends _0x457db4{constructor(_0x573b73,_0x46fe52){const _0x58cbee=_0x11a875;super(_0x573b73);const _0x51625a=this[_0x58cbee(0x1cd)];this[_0x58cbee(0x1d9)](_0x58cbee(0x1cb),!0x1),this[_0x58cbee(0x1df)]({'tag':_0x46fe52?_0x58cbee(0x1cc):'ul','attributes':{'class':['ck',_0x58cbee(0x1ef),_0x58cbee(0x1dd),_0x58cbee(0x1e5),_0x51625a['if'](_0x58cbee(0x1cb),_0x58cbee(0x1e9))],'role':_0x51625a['to'](_0x58cbee(0x1d8)),'aria-label':_0x51625a['to'](_0x58cbee(0x1d0)),'aria-labelledby':_0x51625a['to'](_0x58cbee(0x1e7))},'children':this[_0x58cbee(0x1ce)]}),this[_0x58cbee(0x1e6)](_0x459ae6[_0x58cbee(0x1d2)],_0x58cbee(0x1ec),()=>this[_0x58cbee(0x1d7)]()),this[_0x58cbee(0x1ce)]['on'](_0x58cbee(0x1e3),()=>this[_0x58cbee(0x1d7)]());}[_0x11a875(0x1d6)](){const _0x50d1ee=_0x11a875;super[_0x50d1ee(0x1d6)](),this[_0x50d1ee(0x1d7)]();}[_0x11a875(0x1d7)](){const _0x505c47=_0x11a875,_0x513949=this[_0x505c47(0x1e8)];_0x513949&&(this[_0x505c47(0x1cb)]=Math[_0x505c47(0x1e4)](_0x513949[_0x505c47(0x1f2)],_0x513949[_0x505c47(0x1e2)])>0.8*window[_0x505c47(0x1de)]);}}
23
+ const _0x5e9c92=_0x541b;(function(_0x1d0577,_0x10a0ae){const _0x794794=_0x541b,_0x2ea706=_0x1d0577();while(!![]){try{const _0xff324f=parseInt(_0x794794(0xb5))/0x1+parseInt(_0x794794(0xd1))/0x2*(-parseInt(_0x794794(0xc7))/0x3)+parseInt(_0x794794(0xce))/0x4+parseInt(_0x794794(0xaf))/0x5+parseInt(_0x794794(0xb7))/0x6+parseInt(_0x794794(0xd7))/0x7*(-parseInt(_0x794794(0xcc))/0x8)+-parseInt(_0x794794(0xba))/0x9;if(_0xff324f===_0x10a0ae)break;else _0x2ea706['push'](_0x2ea706['shift']());}catch(_0x24277a){_0x2ea706['push'](_0x2ea706['shift']());}}}(_0x34af,0x6e2a4));import{ListView as _0xf23537,View as _0xec0178}from'ckeditor5/src/ui.js';import{global as _0x173a09}from'ckeditor5/src/utils.js';import{getTranslation as _0x5c349f}from'../../common-translations.js';export class PresenceDropdownListView extends _0xec0178{[_0x5e9c92(0xd3)];constructor(_0x202055,_0x35e3a2){const _0x5640a9=_0x5e9c92;super(_0x202055);const _0x35f6b1=this[_0x5640a9(0xbe)];this[_0x5640a9(0xd3)]=new PresenceDropdownListWrapperView(_0x202055,_0x35e3a2),this[_0x5640a9(0xc0)]({'tag':_0x5640a9(0xb8),'attributes':{'tabindex':-0x1,'role':_0x5640a9(0xcd),'class':['ck',_0x5640a9(0xb6)],'aria-label':_0x5c349f(_0x202055,_0x5640a9(0xc5))},'children':[this[_0x5640a9(0xd3)]],'on':{'mouseleave':_0x35f6b1['to'](_0xbe1391=>{const _0x28bc0a=_0x5640a9,_0x4389b4=_0xbe1391,_0x403897=document[_0x28bc0a(0xbd)](_0x28bc0a(0xd9)),_0x51cdd0=document[_0x28bc0a(0xbd)](_0x28bc0a(0xbb));_0x403897?.[_0x28bc0a(0xca)](_0x4389b4[_0x28bc0a(0xbf)])||_0x51cdd0?.[_0x28bc0a(0xca)](_0x4389b4[_0x28bc0a(0xbf)])||this[_0x28bc0a(0xb4)](_0x28bc0a(0xc9));})}});}}function _0x34af(){const _0x4f426d=['set','innerHeight','_isScrollable','window','Connected\x20users\x20list\x20dropdown\x20menu','change','75uTJpuN','ck-presence-list__dropdown-list-wrapper','presencelist:hide','contains','ck-presence-list__dropdown-list-wrapper_scrollable','184vrBykj','application','3505128RiNxzn','resize','ariaLabelledBy','10502QJfcJK','checkIfScrollable','listWrapperView','ck-list','ariaLabel','clientHeight','40523VzdPwl','ck-reset','.ck-presence-list__list','max','1892375xLLOqY','listenTo','render','items','role','fire','207703aZHWiu','ck-presence-list__dropdown-list','3107268IpzbrN','div','element','11382120IegxOb','.ck-balloon-panel_with-arrow','scrollHeight','querySelector','bindTemplate','relatedTarget','setTemplate'];_0x34af=function(){return _0x4f426d;};return _0x34af();}function _0x541b(_0x4b5fb7,_0x6d84bf){const _0x34af5e=_0x34af();return _0x541b=function(_0x541b7c,_0x388791){_0x541b7c=_0x541b7c-0xaf;let _0xc940dc=_0x34af5e[_0x541b7c];return _0xc940dc;},_0x541b(_0x4b5fb7,_0x6d84bf);}export class PresenceDropdownListWrapperView extends _0xf23537{constructor(_0x59811e,_0x9fe2ac){const _0x2501c8=_0x5e9c92;super(_0x59811e);const _0x497211=this[_0x2501c8(0xbe)];this[_0x2501c8(0xc1)](_0x2501c8(0xc3),!0x1),this[_0x2501c8(0xc0)]({'tag':_0x9fe2ac?_0x2501c8(0xb8):'ul','attributes':{'class':['ck',_0x2501c8(0xd8),_0x2501c8(0xd4),_0x2501c8(0xc8),_0x497211['if'](_0x2501c8(0xc3),_0x2501c8(0xcb))],'role':_0x497211['to'](_0x2501c8(0xb3)),'aria-label':_0x497211['to'](_0x2501c8(0xd5)),'aria-labelledby':_0x497211['to'](_0x2501c8(0xd0))},'children':this[_0x2501c8(0xb2)]}),this[_0x2501c8(0xb0)](_0x173a09[_0x2501c8(0xc4)],_0x2501c8(0xcf),()=>this[_0x2501c8(0xd2)]()),this[_0x2501c8(0xb2)]['on'](_0x2501c8(0xc6),()=>this[_0x2501c8(0xd2)]());}[_0x5e9c92(0xb1)](){const _0x3d72d7=_0x5e9c92;super[_0x3d72d7(0xb1)](),this[_0x3d72d7(0xd2)]();}[_0x5e9c92(0xd2)](){const _0x4dc570=_0x5e9c92,_0x15ae2d=this[_0x4dc570(0xb9)];_0x15ae2d&&(this[_0x4dc570(0xc3)]=Math[_0x4dc570(0xda)](_0x15ae2d[_0x4dc570(0xbc)],_0x15ae2d[_0x4dc570(0xd6)])>0.8*window[_0x4dc570(0xc2)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28a40f=_0x1d71;(function(_0x41336a,_0x155765){const _0x4520bc=_0x1d71,_0xee75fb=_0x41336a();while(!![]){try{const _0x22f517=-parseInt(_0x4520bc(0x159))/0x1+-parseInt(_0x4520bc(0x14d))/0x2+-parseInt(_0x4520bc(0x148))/0x3+-parseInt(_0x4520bc(0x142))/0x4*(parseInt(_0x4520bc(0x13d))/0x5)+parseInt(_0x4520bc(0x14b))/0x6*(parseInt(_0x4520bc(0x156))/0x7)+-parseInt(_0x4520bc(0x144))/0x8+parseInt(_0x4520bc(0x155))/0x9;if(_0x22f517===_0x155765)break;else _0xee75fb['push'](_0xee75fb['shift']());}catch(_0x35a2e1){_0xee75fb['push'](_0xee75fb['shift']());}}}(_0x46a3,0xe7263));import{View as _0x29c971}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x3f46a4}from'ckeditor5/src/utils.js';function _0x1d71(_0x1ec9e3,_0xdb3d29){const _0x46a3bf=_0x46a3();return _0x1d71=function(_0x1d719c,_0x1bfa07){_0x1d719c=_0x1d719c-0x139;let _0x25b5cd=_0x46a3bf[_0x1d719c];return _0x25b5cd;},_0x1d71(_0x1ec9e3,_0xdb3d29);}import{getTranslation as _0x5e491d}from'../../common-translations.js';export class PresenceInlineListView extends _0x29c971{[_0x28a40f(0x153)];[_0x28a40f(0x13f)];constructor(_0xae594f){const _0xd5f06a=_0x28a40f;super(_0xae594f);const _0x19d9b8=this[_0xd5f06a(0x13e)];this[_0xd5f06a(0x153)]=this[_0xd5f06a(0x14f)](),this[_0xd5f06a(0x13f)]=new _0x3f46a4(),this[_0xd5f06a(0x14a)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0xd5f06a(0x14c)]({'tag':_0xd5f06a(0x15a),'attributes':{'aria-haspopup':_0x19d9b8['if'](_0xd5f06a(0x150)),'aria-expanded':_0x19d9b8['to'](_0xd5f06a(0x140),_0xfc3844=>this[_0xd5f06a(0x150)]&&String(_0xfc3844)),'aria-label':_0x19d9b8['to'](_0xd5f06a(0x150),_0x3cf99c=>_0x5e491d(_0xae594f,_0x3cf99c?_0xd5f06a(0x146):_0xd5f06a(0x147))),'role':_0xd5f06a(0x13b),'tabindex':_0x19d9b8['to'](_0xd5f06a(0x150),_0x2390e6=>!!_0x2390e6&&0x0),'class':['ck',_0xd5f06a(0x154)]},'children':this[_0xd5f06a(0x153)],'on':{'mouseenter':_0x19d9b8['to'](()=>this[_0xd5f06a(0x151)](_0xd5f06a(0x139))),'mouseleave':_0x19d9b8['to'](_0x26ad63=>{const _0x4147cf=_0xd5f06a,_0x2c3948=_0x26ad63,_0x442dcc=document[_0x4147cf(0x149)](_0x4147cf(0x15d)),_0x2acf36=document[_0x4147cf(0x149)](_0x4147cf(0x141));_0x442dcc?.[_0x4147cf(0x15c)](_0x2c3948[_0x4147cf(0x13a)])||_0x2acf36?.[_0x4147cf(0x15c)](_0x2c3948[_0x4147cf(0x13a)])||this[_0x4147cf(0x151)](_0x4147cf(0x15b));})}}),this['on'](_0xd5f06a(0x143),(_0x5dc764,_0x3bfc9b,_0xa99eec)=>{const _0x4773fc=_0xd5f06a;this[_0x4773fc(0x152)]&&(_0xa99eec?this[_0x4773fc(0x152)][_0x4773fc(0x13c)](_0x4773fc(0x14e),String(this[_0x4773fc(0x140)])):this[_0x4773fc(0x152)][_0x4773fc(0x145)](_0x4773fc(0x14e)));});}[_0x28a40f(0x15e)](){const _0x4746e2=_0x28a40f;this[_0x4746e2(0x152)][_0x4746e2(0x15e)]();}[_0x28a40f(0x158)](){const _0x2d1893=_0x28a40f;super[_0x2d1893(0x158)](),this[_0x2d1893(0x13f)][_0x2d1893(0x157)](this[_0x2d1893(0x152)]);}}function _0x46a3(){const _0x49705e=['list','setAttribute','110grhHMj','bindTemplate','keystrokes','isExpanded','.ck-balloon-panel_with-arrow','208748mwpyAw','change:hasPopup','3566616TmeUqw','removeAttribute','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','Connected\x20users\x20list','2194980coYPPI','querySelector','set','2534196CjxWHk','setTemplate','2588900kyRKsy','aria-expanded','createCollection','hasPopup','fire','element','items','ck-presence-list__list','35389368lLNrgG','28COvcMJ','listenTo','render','1054778oGwPjk','div','presencelist:hide','contains','.ck-presence-list__dropdown-list','focus','presencelist:show','relatedTarget'];_0x46a3=function(){return _0x49705e;};return _0x46a3();}
23
+ const _0x55b621=_0x2a36;(function(_0x386ef1,_0x597134){const _0x50e52a=_0x2a36,_0x349f44=_0x386ef1();while(!![]){try{const _0x1fc846=-parseInt(_0x50e52a(0xf3))/0x1*(-parseInt(_0x50e52a(0x10a))/0x2)+-parseInt(_0x50e52a(0xfb))/0x3+parseInt(_0x50e52a(0x102))/0x4*(-parseInt(_0x50e52a(0xee))/0x5)+parseInt(_0x50e52a(0xf8))/0x6+-parseInt(_0x50e52a(0x103))/0x7*(parseInt(_0x50e52a(0xf2))/0x8)+-parseInt(_0x50e52a(0x107))/0x9*(-parseInt(_0x50e52a(0xfd))/0xa)+parseInt(_0x50e52a(0xff))/0xb;if(_0x1fc846===_0x597134)break;else _0x349f44['push'](_0x349f44['shift']());}catch(_0x5ac614){_0x349f44['push'](_0x349f44['shift']());}}}(_0x133b,0x87d21));import{View as _0x4ed3e4}from'ckeditor5/src/ui.js';function _0x133b(){const _0x140147=['5534771pwpEON','list','querySelector','247348oFLgpg','5339159pcrwKh','Connected\x20users\x20list','presencelist:show','bindTemplate','9VackIF','setTemplate','createCollection','4RvVGtn','relatedTarget','keystrokes','set','presencelist:hide','setAttribute','element','hasPopup','items','ck-presence-list__list','.ck-balloon-panel_with-arrow','div','10MuWXXl','aria-expanded','listenTo','removeAttribute','8YXlSOc','11123HdsNRs','render','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','isExpanded','.ck-presence-list__dropdown-list','6403086fAvMQC','fire','contains','971517fyPHMJ','focus','1739830PQJcXr','change:hasPopup'];_0x133b=function(){return _0x140147;};return _0x133b();}import{KeystrokeHandler as _0x4481f8}from'ckeditor5/src/utils.js';function _0x2a36(_0x4d624d,_0x1f955d){const _0x133b1d=_0x133b();return _0x2a36=function(_0x2a3622,_0x476979){_0x2a3622=_0x2a3622-0xe9;let _0xbab37a=_0x133b1d[_0x2a3622];return _0xbab37a;},_0x2a36(_0x4d624d,_0x1f955d);}import{getTranslation as _0x3427f6}from'../../common-translations.js';export class PresenceInlineListView extends _0x4ed3e4{[_0x55b621(0xea)];[_0x55b621(0x10c)];constructor(_0x466bc2){const _0xe48d03=_0x55b621;super(_0x466bc2);const _0x2d7d62=this[_0xe48d03(0x106)];this[_0xe48d03(0xea)]=this[_0xe48d03(0x109)](),this[_0xe48d03(0x10c)]=new _0x4481f8(),this[_0xe48d03(0x10d)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0xe48d03(0x108)]({'tag':_0xe48d03(0xed),'attributes':{'aria-haspopup':_0x2d7d62['if'](_0xe48d03(0xe9)),'aria-expanded':_0x2d7d62['to'](_0xe48d03(0xf6),_0x5e1937=>this[_0xe48d03(0xe9)]&&String(_0x5e1937)),'aria-label':_0x2d7d62['to'](_0xe48d03(0xe9),_0x327763=>_0x3427f6(_0x466bc2,_0x327763?_0xe48d03(0xf5):_0xe48d03(0x104))),'role':_0xe48d03(0x100),'tabindex':_0x2d7d62['to'](_0xe48d03(0xe9),_0x120498=>!!_0x120498&&0x0),'class':['ck',_0xe48d03(0xeb)]},'children':this[_0xe48d03(0xea)],'on':{'mouseenter':_0x2d7d62['to'](()=>this[_0xe48d03(0xf9)](_0xe48d03(0x105))),'mouseleave':_0x2d7d62['to'](_0x2d1fc6=>{const _0x21360f=_0xe48d03,_0x25c581=_0x2d1fc6,_0x32a854=document[_0x21360f(0x101)](_0x21360f(0xf7)),_0x1401af=document[_0x21360f(0x101)](_0x21360f(0xec));_0x32a854?.[_0x21360f(0xfa)](_0x25c581[_0x21360f(0x10b)])||_0x1401af?.[_0x21360f(0xfa)](_0x25c581[_0x21360f(0x10b)])||this[_0x21360f(0xf9)](_0x21360f(0x10e));})}}),this['on'](_0xe48d03(0xfe),(_0x344f7a,_0x1f99d3,_0x3b51bf)=>{const _0x4136c0=_0xe48d03;this[_0x4136c0(0x110)]&&(_0x3b51bf?this[_0x4136c0(0x110)][_0x4136c0(0x10f)](_0x4136c0(0xef),String(this[_0x4136c0(0xf6)])):this[_0x4136c0(0x110)][_0x4136c0(0xf1)](_0x4136c0(0xef)));});}[_0x55b621(0xfc)](){const _0x3bd8ab=_0x55b621;this[_0x3bd8ab(0x110)][_0x3bd8ab(0xfc)]();}[_0x55b621(0xf4)](){const _0x41198d=_0x55b621;super[_0x41198d(0xf4)](),this[_0x41198d(0x10c)][_0x41198d(0xf0)](this[_0x41198d(0x110)]);}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42fb72=_0x4f0b;(function(_0x4b329a,_0x2a592f){const _0x14e209=_0x4f0b,_0x1f6afd=_0x4b329a();while(!![]){try{const _0xa6b445=-parseInt(_0x14e209(0x16b))/0x1*(-parseInt(_0x14e209(0x19a))/0x2)+parseInt(_0x14e209(0x10a))/0x3+parseInt(_0x14e209(0xda))/0x4*(-parseInt(_0x14e209(0x10e))/0x5)+parseInt(_0x14e209(0xf5))/0x6+-parseInt(_0x14e209(0x1a6))/0x7*(-parseInt(_0x14e209(0x1ab))/0x8)+parseInt(_0x14e209(0x18a))/0x9+-parseInt(_0x14e209(0x13a))/0xa;if(_0xa6b445===_0x2a592f)break;else _0x1f6afd['push'](_0x1f6afd['shift']());}catch(_0xd7f725){_0x1f6afd['push'](_0x1f6afd['shift']());}}}(_0x3899,0x320f3));import{Plugin as _0x3d232b,PendingActions as _0x27ab19}from'ckeditor5/src/core.js';import{CKEditorError as _0x3b0f49,version as _0x2c48e8,uid as _0x44f418}from'ckeditor5/src/utils.js';import{Notification as _0x1e57dc}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x18b207,NoOperation as _0x31c058,InsertOperation as _0x5a4df1,MarkerOperation as _0x1f13da,RootAttributeOperation as _0x3eaf38,OperationFactory as _0x986bca,History as _0x57091f}from'ckeditor5/src/engine.js';function _0x3899(){const _0x4413c4=['InsertOperation','_isDisconnection','getIdOfTheLastOperation','_applyOperationsSet','_clearPendingAction','realtimecollaborationclient-init-non-existent-root','_setPendingAction','destroy','collaboration-missing-channelid','1204782KBQzdJ','isPremiumPlugin','plugins','realtimecollaborationclient-error','_setUpDataInit','editor','isOfficialPlugin','_connectAfterSessionHasBeenFlushed','root','_shouldSendUpdate','409','_currentBufferDelay','includes','initData','_pendingAction','change:_isEditingAllowed','setIdForTheLastOperation','sendOperations','targetPosition','_baseBufferDelay','has','654090hOiGyw','_handleInitialConnectionData','_loadRoot','_handleExternalOperations','183155KnKQIs','start','code','addOperation','getOperations','insert','_sendBufferedOperationsDelayed','PENDING_ACTION_SENDING_DATA','parse','metadata','selection','differ','_disconnectionOperations','clone','view','compress','_fetchMissingUsers','addToReconnectionStack','sessionCreatedAt','operationsReceived','realtimecollaborationclient-init-service-incorrect-server-operation','_decompressOperations','realtimecollaborationclient','register','cloud-services-internal-error:\x20Not\x20connected.','reconnection:\x20flushed\x20session','_crash','_isLoaded','define','getConnectedSessions','multi-root-editor-root-attributes-no-root','Synchronization\x20issue','_sendBufferedOperations','createPositionAt','_hasSynchronizationProblem','from','marker','rootsAttributes','channelSessions','addRootAttribute','round','Notification','createPositionFromPath','size','1056230elDUma','newRange','createdAt','_handleSendingSelectionMarkers','rtc-offline','unregister','get','directChange','then','_knownRootNames','requires','userId','isDocumentOperation','_handleReconnectionError','editing','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_operationIdentifier','_initThrowingOnDataSet','remove','_channelId','_isPendingUpdate','type','createRange','isEnabled','serverHistory','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','return','_compressOperations','_getOperationsFromInitData','string','affectedSelectable','finally','offset','document:write','getOperationAuthor','decompress','realtimecollaborationclient-init-document-already-initialized','stopListening','lastOperationAcceptedAt','change:_isPendingUpdate','disconnect','realtimecollaborationclient-init-service-internal-error','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.','currentDocumentSession','move','length','forEach','end','rtc-destroyed','191813nfvjun','fromJSON','createRoot','filter','__className','disconnected','map','isReadOnly','startsWith','set','error','change:hasDomSelection','connected','addUser','locale','_isEditingAllowed','_offset','realtimecollaborationclient-init-session-connection-error','add','enableReadOnlyMode','_ignoredOperations','collaboration.channelId','push','_authorId','_handleReceivedOperations','high','affectsData','message','_sendBufferedOperationsDelayId','data','_hasSelectionChanged','871182OtFIDI','CommentsOnly','sessionAdd:','connect','realtimecollaborationclient-sendbufferedoperations','_connectService','off','_service','_lastSyncedOperationId','lastOperationId','CollaborativeEditingService','loadRoot','position','removeFromReconnectionStack','pluginName','suppressErrorInCollaboration','2oCibzC','history','connection','catch','_addKnownRoot','cloud-services-internal-error:\x20Request\x20timeout.','_initSessionsHandling','reconnect','roots','_compressor','getUser','markers','217QJeerS','_updateServerHistory','_handleServerResponse','wasUndone','ready','1592NMzSpn','_waitUntilSynced','cs:removeUser','change:range','stop','_shouldSendSelectionUpdate','cloudServices.bundleVersion','sessionId','404','config','_isConnected','cloudDocumentVersion','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.','_bufferedOperations','_isAttached','baseVersion','version','createUserMarkerOperations','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_refreshUserSelectionMarkers','getMany','toJSON','listenTo','mySessionId','getDocumentDetails','reset','_disconnectService','path','wereChangesApplied','addRoot','lastSyncVersion','_knownOperations','RealTimeCollaborationClient','batch','getRoot','setPermissions','apply','real-time-collaboration','enqueueChange','_isInit','fire','_document','state','showWarning','entries','lastDocumentSession','$root','keys','isUndoneOperation','attributes','_saveOperationInBuffer','permissions','slice','44gkxuOr','Permissions','_bufferRootLoad','disableReadOnlyMode','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','rootName','realtimecollaborationclient-init-connection-failed','_operationToId','_handleReconnectionResponse','init','realtimecollaborationclient-handleserverresponse','applyOperation','bind','model','_getAffectedRoot','collaboration','_lastServerVersion','document'];_0x3899=function(){return _0x4413c4;};return _0x3899();}import{WebSocketGateway as _0x118ea7}from'./websocketgateway.js';import{Sessions as _0x47cd51}from'./sessions.js';import{UserMarkers as _0x18495b}from'./usermarkers.js';import{getTranslation as _0x1cd720}from'../common-translations.js';import{Compressor as _0x26073d}from'@ckeditor/ckeditor5-operations-compressor';function _0x4f0b(_0xb6733e,_0xcdf0b1){const _0x389930=_0x3899();return _0x4f0b=function(_0x4f0b3b,_0xcd4516){_0x4f0b3b=_0x4f0b3b-0xc5;let _0x11cb3b=_0x389930[_0x4f0b3b];return _0x11cb3b;},_0x4f0b(_0xb6733e,_0xcdf0b1);}import{Users as _0x563c81}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x404595,CollaborativeEditingService as _0x10d7cc}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let z=0x1;export class RealTimeCollaborationClient extends _0x3d232b{static [_0x42fb72(0x194)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x10d7cc)());[_0x42fb72(0x17b)];[_0x42fb72(0x1b2)];[_0x42fb72(0x152)];[_0x42fb72(0x14d)];[_0x42fb72(0x191)];[_0x42fb72(0xce)];[_0x42fb72(0x1a3)];[_0x42fb72(0x1b8)];[_0x42fb72(0x1ca)];[_0x42fb72(0x143)];[_0x42fb72(0x103)];[_0x42fb72(0x189)];[_0x42fb72(0x187)];[_0x42fb72(0x108)];[_0x42fb72(0x100)];[_0x42fb72(0x192)];[_0x42fb72(0x11a)];[_0x42fb72(0x14a)];static get[_0x42fb72(0x144)](){return[_0x118ea7,_0x47cd51,_0x18495b,_0x27ab19,_0x563c81,_0x1e57dc];}static get[_0x42fb72(0x198)](){const _0x317a9b=_0x42fb72;return _0x317a9b(0xc5);}static get[_0x42fb72(0xfb)](){return!0x0;}static get[_0x42fb72(0xf6)](){return!0x0;}get[_0x42fb72(0x1b6)](){const _0x9132f5=_0x42fb72;return this[_0x9132f5(0xea)]+this[_0x9132f5(0x17b)];}get[_0x42fb72(0xea)](){const _0x23d137=_0x42fb72;return this[_0x23d137(0x152)][_0x23d137(0x1bb)]-this[_0x23d137(0x17b)];}get[_0x42fb72(0x1c9)](){const _0x5bc901=_0x42fb72,_0x9e4c4b=this[_0x5bc901(0x152)][_0x5bc901(0x112)]();for(let _0x192926=_0x9e4c4b[_0x5bc901(0x167)]-0x1;_0x192926>=0x0;_0x192926--){const _0x3d8064=_0x9e4c4b[_0x192926];if(!this[_0x5bc901(0x11a)][_0x5bc901(0x109)](_0x3d8064))return _0x3d8064[_0x5bc901(0x1ba)]+0x1-this[_0x5bc901(0x17b)];}return 0x0;}constructor(_0x48b68a){const _0x306af8=_0x42fb72;if(super(_0x48b68a),this[_0x306af8(0x17b)]=0x0,this[_0x306af8(0x1b2)]=null,this[_0x306af8(0x152)]=new _0x57091f(),this[_0x306af8(0xfa)][_0x306af8(0x1b4)][_0x306af8(0x12a)](_0x306af8(0xe9),{}),this[_0x306af8(0x14d)]=this[_0x306af8(0xfa)][_0x306af8(0x1b4)][_0x306af8(0x140)](_0x306af8(0x180)),!this[_0x306af8(0x14d)])throw new _0x3b0f49(_0x306af8(0xf4),this);const _0x284368=_0x48b68a[_0x306af8(0x1b4)][_0x306af8(0x140)](_0x306af8(0x1b1))||_0x2c48e8;this[_0x306af8(0x191)]=new RealTimeCollaborationClient[(_0x306af8(0x194))](_0x284368,this[_0x306af8(0x14d)]),this[_0x306af8(0xce)]=this[_0x306af8(0xfa)][_0x306af8(0xe7)][_0x306af8(0xeb)],this[_0x306af8(0x1a3)]=new _0x26073d(),this[_0x306af8(0x1b8)]=[],this[_0x306af8(0x1ca)]=new WeakSet(),this[_0x306af8(0x143)]=new Set(),this[_0x306af8(0x174)](_0x306af8(0x14e),!0x1),this[_0x306af8(0x174)](_0x306af8(0x130),!0x1),this[_0x306af8(0x103)]=null,this[_0x306af8(0x189)]=!0x1,this[_0x306af8(0x187)]=null,this[_0x306af8(0x108)]=0x12c,this[_0x306af8(0x100)]=this[_0x306af8(0x108)],this[_0x306af8(0x192)]=null,this[_0x306af8(0x11a)]=new WeakSet(),this[_0x306af8(0x14a)]=new W(this[_0x306af8(0x11a)]);}[_0x42fb72(0xe3)](){const _0x86c0a7=_0x42fb72,_0x1744bb=this[_0x86c0a7(0xfa)],_0x1570f1=_0x1744bb[_0x86c0a7(0xf7)][_0x86c0a7(0x140)](_0x563c81),_0x10e06b=_0x1744bb[_0x86c0a7(0xf7)][_0x86c0a7(0x140)](_0x118ea7);this[_0x86c0a7(0x1c1)](_0x1570f1,_0x86c0a7(0x15c),(_0x5972db,_0x16f7ef)=>{const _0xbd36b1=_0x86c0a7,_0x37f372=_0x16f7ef[0x0];_0x37f372[_0xbd36b1(0x182)]&&(_0x5972db[_0xbd36b1(0x154)]=_0x1570f1[_0xbd36b1(0x1a4)](_0x37f372[_0xbd36b1(0x182)]),_0x5972db[_0xbd36b1(0x1af)]()),null===_0x37f372[_0xbd36b1(0x182)]&&(_0x5972db[_0xbd36b1(0x154)]=null,_0x5972db[_0xbd36b1(0x1af)]());},{'priority':_0x86c0a7(0x184)}),this[_0x86c0a7(0x1c1)](_0x1744bb[_0x86c0a7(0xe7)][_0x86c0a7(0xeb)][_0x86c0a7(0x118)],_0x86c0a7(0x1ae),(_0x2be585,_0x48f955)=>{const _0xdd7d0a=_0x86c0a7;_0x48f955[_0xdd7d0a(0x141)]&&this[_0xdd7d0a(0x1be)]();}),this[_0x86c0a7(0x1c1)](_0x1744bb[_0x86c0a7(0x148)][_0x86c0a7(0x11c)],_0x86c0a7(0x176),()=>{const _0x3d842d=_0x86c0a7;this[_0x3d842d(0x1be)]();}),this[_0x86c0a7(0x14b)](),_0x1744bb[_0x86c0a7(0xe7)]['on'](_0x86c0a7(0xe5),(_0xfa520c,_0x52ae20)=>{const _0x339153=_0x86c0a7,_0x120a7c=_0x52ae20[0x0];_0x120a7c[_0x339153(0x146)]&&(this[_0x339153(0xd7)](_0x120a7c),this[_0x339153(0xfe)]()&&this[_0x339153(0x114)]());}),this[_0x86c0a7(0xf9)](),this[_0x86c0a7(0xe6)](_0x86c0a7(0x17a))['to'](_0x10e06b,_0x86c0a7(0xcf),this,_0x86c0a7(0x130),(_0x4687ab,_0x58f34b)=>_0x86c0a7(0x177)===_0x4687ab&&!_0x58f34b),this['on'](_0x86c0a7(0x104),()=>{const _0x274183=_0x86c0a7;this[_0x274183(0x17a)]?_0x1744bb[_0x274183(0xdd)](_0x274183(0x13e)):_0x1744bb[_0x274183(0x17e)](_0x274183(0x13e));}),this[_0x86c0a7(0x17a)]?_0x1744bb[_0x86c0a7(0xdd)](_0x86c0a7(0x13e)):_0x1744bb[_0x86c0a7(0x17e)](_0x86c0a7(0x13e)),this[_0x86c0a7(0x174)](_0x86c0a7(0x1b5),!0x1);}async[_0x42fb72(0x1a1)](){const _0x336858=_0x42fb72,_0x35e8c4=this[_0x336858(0xfa)][_0x336858(0xf7)][_0x336858(0x140)](_0x47cd51),_0x371d1e=this[_0x336858(0xfa)][_0x336858(0xf7)][_0x336858(0x140)](_0x118ea7);try{this[_0x336858(0x14e)]=!0x0,_0x35e8c4[_0x336858(0x13f)](this[_0x336858(0x14d)]);const _0x22bbdc=await this[_0x336858(0x191)][_0x336858(0x1a1)](_0x371d1e[_0x336858(0x19c)],this[_0x336858(0x1c9)]);await this[_0x336858(0xe2)](_0x22bbdc)&&(this[_0x336858(0x14e)]=!0x1,this[_0x336858(0xf0)]());const _0x41c2df=await this[_0x336858(0x191)][_0x336858(0x12b)]();_0x35e8c4[_0x336858(0x125)](this[_0x336858(0x14d)],_0x41c2df),this[_0x336858(0x13d)](),this[_0x336858(0x1b5)]=!0x0;}catch(_0x18c6a3){if(function(_0x4d5109){const _0x468481=_0x336858;return _0x468481(0x1b3)===_0x4d5109[_0x468481(0x110)];}(_0x18c6a3)&&this[_0x336858(0x1b2)])await this[_0x336858(0xfc)]();else{if(function(_0x3966e0){const _0x821235=_0x336858;return _0x821235(0xff)===_0x3966e0[_0x821235(0x110)];}(_0x18c6a3)){const _0x5cd10e=_0x1cd720(this[_0x336858(0xfa)][_0x336858(0x179)],_0x336858(0xde));this[_0x336858(0x147)](_0x5cd10e);}else{if(!(_0x18c6a3 instanceof H))throw _0x18c6a3;this[_0x336858(0x147)]();}}}}[_0x42fb72(0xf3)](){const _0x4a5291=_0x42fb72,_0x2ab7ce=this[_0x4a5291(0xfa)][_0x4a5291(0xf7)][_0x4a5291(0x140)](_0x118ea7),_0x2d4df4=this[_0x4a5291(0xfa)][_0x4a5291(0xf7)][_0x4a5291(0x140)](_0x47cd51);this[_0x4a5291(0xfa)][_0x4a5291(0x17e)](_0x4a5291(0x16a)),_0x2d4df4[_0x4a5291(0x134)][_0x4a5291(0x109)](this[_0x4a5291(0x14d)])&&_0x2d4df4[_0x4a5291(0x13f)](this[_0x4a5291(0x14d)]),_0x2ab7ce[_0x4a5291(0x197)](this),this[_0x4a5291(0x1c5)](),super[_0x4a5291(0xf3)]();}async[_0x42fb72(0xe2)](_0x3fdd4d){const _0x303d06=_0x42fb72;if(this[_0x303d06(0x1b2)]!==_0x3fdd4d[_0x303d06(0x1b2)]&&this[_0x303d06(0x192)]!==_0x3fdd4d[_0x303d06(0x193)])throw new H();return this[_0x303d06(0x1b2)]=_0x3fdd4d[_0x303d06(0x1b2)],this[_0x303d06(0x1a8)]([],{..._0x3fdd4d,'wereChangesApplied':!0x1,'data':_0x3fdd4d[_0x303d06(0x188)]},_0x303d06(0x1a1));}async[_0x42fb72(0x18f)](_0x3fae3d,_0x16f923=!0x1){const _0xb52f6d=_0x42fb72,{connection:_0x5b1853}=this[_0xb52f6d(0xfa)][_0xb52f6d(0xf7)][_0xb52f6d(0x140)](_0x118ea7);RealTimeCollaborationClient[_0xb52f6d(0x194)][_0xb52f6d(0x12b)](_0x5b1853,this[_0xb52f6d(0x14d)])[_0xb52f6d(0x142)](_0x485941=>this[_0xb52f6d(0x1a0)](_0x485941))[_0xb52f6d(0x19d)](_0x51bd92=>{const _0x3286b1=_0xb52f6d;this[_0x3286b1(0x128)](_0x3286b1(0x17c),_0x51bd92);}),this[_0xb52f6d(0x1c1)](this[_0xb52f6d(0x191)],_0xb52f6d(0x121),this[_0xb52f6d(0x183)][_0xb52f6d(0xe6)](this)),this[_0xb52f6d(0x1c1)](this[_0xb52f6d(0x191)],_0xb52f6d(0x175),(_0x3a270a,_0x34acd9)=>{const _0xb891ae=_0xb52f6d;this[_0xb891ae(0x128)](_0xb891ae(0x163),_0x34acd9);}),this[_0xb52f6d(0x1c1)](this[_0xb52f6d(0x191)],_0xb52f6d(0x170),()=>{const _0x55f98d=_0xb52f6d;this[_0x55f98d(0x1b5)]=!0x1;});const _0x1a3566=this[_0xb52f6d(0x14a)][_0xb52f6d(0xee)](_0x3fae3d);this[_0xb52f6d(0x14e)]=!0x0;const _0x1bd9bd=await this[_0xb52f6d(0x191)][_0xb52f6d(0x18d)](_0x5b1853,this[_0xb52f6d(0x155)](_0x3fae3d),_0x1a3566);if(this[_0xb52f6d(0x1b2)]=_0x1bd9bd[_0xb52f6d(0x1b2)],_0x16f923){if(!_0x1bd9bd[_0xb52f6d(0x1c7)])return void this[_0xb52f6d(0x147)]();this[_0xb52f6d(0x14e)]=!0x1,this[_0xb52f6d(0xf0)](),this[_0xb52f6d(0x152)][_0xb52f6d(0x1c4)](),this[_0xb52f6d(0x17b)]=_0x1bd9bd[_0xb52f6d(0x15a)],this[_0xb52f6d(0x152)][_0xb52f6d(0x1bb)]=this[_0xb52f6d(0x17b)],await this[_0xb52f6d(0x1a8)](_0x3fae3d,_0x1bd9bd,_0xb52f6d(0x127));}else await this[_0xb52f6d(0x10b)](_0x1bd9bd,_0x3fae3d);this[_0xb52f6d(0x13d)](),this[_0xb52f6d(0x1b5)]=!0x0;}[_0x42fb72(0x13d)](){const _0x23a798=_0x42fb72,_0x499907=this[_0x23a798(0xfa)][_0x23a798(0xf7)][_0x23a798(0x140)](_0x47cd51),_0x1d402b=this[_0x23a798(0xfa)][_0x23a798(0xf7)][_0x23a798(0x140)](_0x18495b),_0x4017a8=_0x499907[_0x23a798(0x134)][_0x23a798(0x140)](this[_0x23a798(0x14d)]);_0x4017a8&&_0x4017a8[_0x23a798(0x167)]>0x1?_0x1d402b[_0x23a798(0x1bc)]():this[_0x23a798(0x1c1)](_0x499907,_0x23a798(0x18c)+this[_0x23a798(0x14d)],()=>{const _0x5b73df=_0x23a798;0x2===_0x499907[_0x5b73df(0x134)][_0x5b73df(0x140)](this[_0x5b73df(0x14d)])[_0x5b73df(0x167)]&&_0x1d402b[_0x5b73df(0x1bc)]();});}async[_0x42fb72(0x183)](_0x2d599d,_0x3d12c8,_0x477b17,_0x197097){const _0x203dd1=_0x42fb72;if(!this[_0x203dd1(0x14e)]&&this[_0x203dd1(0xce)][_0x203dd1(0x1bb)]==_0x3d12c8){const _0x2ca811=this[_0x203dd1(0x123)](_0x477b17,_0x197097);await this[_0x203dd1(0x11e)](_0x2ca811),this[_0x203dd1(0x10d)](_0x2ca811,_0x3d12c8,_0x477b17[_0x203dd1(0x193)])||this[_0x203dd1(0x128)](_0x203dd1(0x122));}}async[_0x42fb72(0xfc)](){const _0x3c918f=_0x42fb72;this[_0x3c918f(0x1c5)]();const {locale:_0x3632c9}=this[_0x3c918f(0xfa)];let _0x3582f2;try{_0x3582f2=await this[_0x3c918f(0x191)][_0x3c918f(0x1c3)]();}catch{const _0x3639e2=_0x1cd720(_0x3632c9,_0x3c918f(0x153));return void this[_0x3c918f(0x147)](_0x3639e2);}const _0x3c1641=_0x3582f2[_0x3c918f(0x165)]||_0x3582f2[_0x3c918f(0xd2)];if(this[_0x3c918f(0x192)]!==_0x3c1641[_0x3c918f(0x193)]){const _0x22c3fd=_0x1cd720(_0x3632c9,_0x3c918f(0x1b7));return void this[_0x3c918f(0x147)](_0x22c3fd);}await this[_0x3c918f(0x18f)](this[_0x3c918f(0xfa)][_0x3c918f(0xe7)][_0x3c918f(0xeb)][_0x3c918f(0x19b)][_0x3c918f(0x112)](),!0x0);}[_0x42fb72(0x1c5)](){const _0x5005d8=_0x42fb72;this[_0x5005d8(0x191)][_0x5005d8(0x162)](),this[_0x5005d8(0x1b8)]=[],clearTimeout(this[_0x5005d8(0x187)]),this[_0x5005d8(0x15f)](this[_0x5005d8(0x191)]);}[_0x42fb72(0x1a0)](_0x3781c2){const _0x5086d3=_0x42fb72,_0xea589e=this[_0x5086d3(0xfa)][_0x5086d3(0xf7)][_0x5086d3(0x140)](_0x47cd51);this[_0x5086d3(0x1c1)](_0xea589e,_0x5086d3(0x18c)+this[_0x5086d3(0x14d)],(_0x289840,{session:_0x57f762})=>{const _0x26ba9c=_0x5086d3;if(_0x57f762['id']===_0xea589e[_0x26ba9c(0x1c2)]){_0x289840[_0x26ba9c(0x190)]();const _0x2c2e61=this[_0x26ba9c(0xfa)][_0x26ba9c(0xf7)][_0x26ba9c(0x109)](_0x26ba9c(0x18b))&&this[_0x26ba9c(0xfa)][_0x26ba9c(0xf7)][_0x26ba9c(0x140)](_0x26ba9c(0x18b));let _0x58de1d=_0x57f762[_0x26ba9c(0xd8)];_0x2c2e61&&_0x2c2e61[_0x26ba9c(0x151)]&&(_0x58de1d=_0x58de1d[_0x26ba9c(0x16e)](_0x3d9cb9=>_0x26ba9c(0x15b)!==_0x3d9cb9)),this[_0x26ba9c(0xfa)][_0x26ba9c(0xf7)][_0x26ba9c(0x140)](_0x26ba9c(0xdb))[_0x26ba9c(0xc8)](_0x58de1d,this[_0x26ba9c(0x14d)]);}}),_0xea589e[_0x5086d3(0x125)](this[_0x5086d3(0x14d)],_0x3781c2);}[_0x42fb72(0x14b)](){const _0x9b2c01=_0x42fb72,_0x593e33=this[_0x9b2c01(0xfa)][_0x9b2c01(0x188)][_0x9b2c01(0x174)];this[_0x9b2c01(0xfa)][_0x9b2c01(0x188)][_0x9b2c01(0x174)]=(..._0x5c138e)=>{const _0x9e1a15=_0x9b2c01;if(!_0x5c138e[_0x5c138e[_0x9e1a15(0x167)]-0x1][_0x9e1a15(0x199)])throw new _0x3b0f49(_0x9e1a15(0x149),this);_0x593e33[_0x9e1a15(0xc9)](this[_0x9e1a15(0xfa)][_0x9e1a15(0x188)],_0x5c138e);};}[_0x42fb72(0xf9)](){const _0x1b8089=_0x42fb72;this[_0x1b8089(0xfa)][_0x1b8089(0x188)]['on'](_0x1b8089(0xe3),(_0x3cb72f,[_0x9e062])=>{const _0x120525=_0x1b8089;if(this[_0x120525(0xce)][_0x120525(0x1bb)])throw new _0x3b0f49(_0x120525(0x15e),this);_0x3cb72f[_0x120525(0x1af)](),this[_0x120525(0xf2)]();const _0x37bf97=this[_0x120525(0xfa)][_0x120525(0x1b4)][_0x120525(0x140)](_0x120525(0x133)),_0x293187=this[_0x120525(0x156)](_0x9e062,_0x37bf97);0x0==_0x293187[_0x120525(0x167)]&&_0x293187[_0x120525(0x181)](new _0x31c058(0x0)),_0x3cb72f[_0x120525(0x154)]=this[_0x120525(0x18f)](_0x293187)[_0x120525(0x142)](()=>{const _0x11f4ab=_0x120525;this[_0x11f4ab(0xfa)][_0x11f4ab(0xf7)][_0x11f4ab(0x140)](_0x118ea7)[_0x11f4ab(0x11f)](this),this[_0x11f4ab(0xfa)][_0x11f4ab(0x188)][_0x11f4ab(0xcd)](_0x11f4ab(0x1aa));})[_0x120525(0x19d)](_0x1fabae=>this[_0x120525(0x128)](_0x120525(0xe0),_0x1fabae))[_0x120525(0x159)](()=>this[_0x120525(0xf0)]());},{'priority':_0x1b8089(0x184)}),this[_0x1b8089(0xfa)]['on'](_0x1b8089(0x195),async(_0x3e5bd9,[_0x13c340,_0x29dbef])=>{const _0x5b8246=_0x1b8089;_0x3e5bd9[_0x5b8246(0x1af)]();const _0x55a41c=this[_0x5b8246(0xfa)][_0x5b8246(0xe7)][_0x5b8246(0xeb)][_0x5b8246(0xc7)](_0x13c340);if(!this[_0x5b8246(0x143)][_0x5b8246(0x109)](_0x13c340)){const _0x122596=_0x29dbef&&_0x29dbef[_0x5b8246(0x188)]?_0x29dbef[_0x5b8246(0x188)]:'',_0x3d13aa=_0x29dbef&&_0x29dbef[_0x5b8246(0xd6)]?_0x29dbef[_0x5b8246(0xd6)]:{};await this[_0x5b8246(0x10c)](_0x13c340,_0x122596,_0x3d13aa);}this[_0x5b8246(0xfa)][_0x5b8246(0xe7)][_0x5b8246(0xcb)]({'isUndoable':!0x1},()=>{const _0x35c034=_0x5b8246;_0x55a41c[_0x35c034(0x129)]=!0x0,this[_0x35c034(0xfa)][_0x35c034(0xe7)][_0x35c034(0xeb)][_0x35c034(0x119)][_0x35c034(0xdc)](_0x55a41c);});},{'priority':_0x1b8089(0x184)});}async[_0x42fb72(0x11e)](_0x15a8f8){const _0x52f7e8=_0x42fb72,_0x3b4670=this[_0x52f7e8(0xfa)][_0x52f7e8(0xf7)][_0x52f7e8(0x140)](_0x563c81),{connection:_0x17bfef}=this[_0x52f7e8(0xfa)][_0x52f7e8(0xf7)][_0x52f7e8(0x140)](_0x118ea7),_0x165d64=new Set();for(const _0x1fa051 of _0x15a8f8){const _0xc9081f=_0x1fa051[_0x52f7e8(0x182)];_0xc9081f&&!_0x3b4670[_0x52f7e8(0x1a4)](_0xc9081f)&&_0x165d64[_0x52f7e8(0x17d)](_0xc9081f);}if(0x0===_0x165d64[_0x52f7e8(0x139)])return;const _0xc9736b=await _0x404595[_0x52f7e8(0x1bf)](_0x17bfef,Array[_0x52f7e8(0x131)](_0x165d64));for(const _0x2931f2 of _0xc9736b)_0x3b4670[_0x52f7e8(0x1a4)](_0x2931f2['id'])||_0x3b4670[_0x52f7e8(0x178)](_0x2931f2);}[_0x42fb72(0x156)](_0x280265,_0x1cc976={}){const _0x163235=_0x42fb72,_0x2739ea=this[_0x163235(0xfa)][_0x163235(0xe7)],_0x4e3898=[];let _0x1ea27f=0x0;const _0x45a429=_0x163235(0x157)==typeof _0x280265?{'main':_0x280265}:_0x280265;for(const _0x3a26c8 of Object[_0x163235(0xd4)](_0x45a429)){if(!this[_0x163235(0xce)][_0x163235(0x1a2)][_0x163235(0x109)](_0x3a26c8))throw new _0x3b0f49(_0x163235(0xf1),this);const _0x2e2f92=this[_0x163235(0xfa)][_0x163235(0x188)][_0x163235(0x116)](_0x45a429[_0x3a26c8]),_0x30dbec=this[_0x163235(0xce)][_0x163235(0xc7)](_0x3a26c8),_0x472b6b=new _0x5a4df1(_0x2739ea[_0x163235(0x12f)](_0x30dbec,0x0),_0x2e2f92,_0x1ea27f++);_0x4e3898[_0x163235(0x181)](_0x472b6b);for(const [_0x159719,_0x497383]of _0x2e2f92[_0x163235(0x1a5)]){const _0x27dbe4=_0x2739ea[_0x163235(0x150)](_0x2739ea[_0x163235(0x138)](_0x30dbec,_0x497383[_0x163235(0x10f)][_0x163235(0x1c6)][_0x163235(0xd9)]()),_0x2739ea[_0x163235(0x138)](_0x30dbec,_0x497383[_0x163235(0x169)][_0x163235(0x1c6)][_0x163235(0xd9)]())),_0x51e87c=new _0x1f13da(_0x159719,null,_0x27dbe4,_0x2739ea[_0x163235(0x1a5)],!0x0,_0x1ea27f++);_0x4e3898[_0x163235(0x181)](_0x51e87c);}}if(_0x1cc976)for(const [_0x5496a1,_0x2e145c]of Object[_0x163235(0xd1)](_0x1cc976)){const _0x4f6487=_0x2739ea[_0x163235(0xeb)][_0x163235(0xc7)](_0x5496a1);if(!_0x4f6487)throw new _0x3b0f49(_0x163235(0x12c),null);for(const [_0x219069,_0x3e5c80]of Object[_0x163235(0xd1)](_0x2e145c))if(null!==_0x3e5c80){const _0x203cfa=new _0x3eaf38(_0x4f6487,_0x219069,null,_0x3e5c80,_0x1ea27f++);_0x4e3898[_0x163235(0x181)](_0x203cfa);}}return _0x4e3898;}async[_0x42fb72(0x10c)](_0x54e1fa,_0xed9d73,_0x4b08f6){const _0x2623b5=_0x42fb72;this[_0x2623b5(0x156)]({[_0x54e1fa]:_0xed9d73},{[_0x54e1fa]:_0x4b08f6})[_0x2623b5(0x168)]((_0x176ee5,_0x1eec73)=>{const _0x2ed57b=_0x2623b5;_0x176ee5[_0x2ed57b(0x1ba)]=this[_0x2ed57b(0xce)][_0x2ed57b(0x1bb)]+_0x1eec73,_0x176ee5[_0x2ed57b(0xcc)]=!0x0,this[_0x2ed57b(0xd7)](_0x176ee5);}),this[_0x2623b5(0x114)](),await this[_0x2623b5(0x1ac)]();}async[_0x42fb72(0x10b)](_0x56355d,_0x33a0b9){const _0x35a590=_0x42fb72;let _0x4f2b81;this[_0x35a590(0x17b)]=_0x56355d[_0x35a590(0x15a)];const _0xcac0c2=_0x56355d[_0x35a590(0x1c7)]&&!_0x56355d[_0x35a590(0x102)],_0x37426f=_0xcac0c2?0x0:_0x56355d[_0x35a590(0x188)][_0x35a590(0x1ba)];if(_0x33a0b9[_0x35a590(0x168)](_0x214370=>{const _0x149310=_0x35a590;_0x214370[_0x149310(0xcc)]=!0x0,_0x214370[_0x149310(0x13c)]=_0x56355d[_0x149310(0x120)],_0x214370[_0x149310(0x182)]=null;}),_0xcac0c2)_0x4f2b81=_0x33a0b9,this[_0x35a590(0xef)](_0x4f2b81,_0xcac0c2);else{if(_0x56355d[_0x35a590(0x102)]){const _0x599b2a=this[_0x35a590(0x156)](_0x56355d[_0x35a590(0x102)]);this[_0x35a590(0xce)][_0x35a590(0x19b)][_0x35a590(0x1bb)]=-_0x599b2a[_0x35a590(0x167)],_0x599b2a[_0x35a590(0x168)](_0x4c6f05=>{const _0x30c06f=_0x35a590;_0x4c6f05[_0x30c06f(0x1ba)]-=_0x599b2a[_0x30c06f(0x167)],_0x4c6f05[_0x30c06f(0x13c)]=_0x56355d[_0x30c06f(0x120)],_0x4c6f05[_0x30c06f(0xcc)]=!0x0,_0x4c6f05[_0x30c06f(0x182)]=null;}),this[_0x35a590(0xef)](_0x599b2a,!0x0),this[_0x35a590(0x152)][_0x35a590(0x1bb)]=-_0x599b2a[_0x35a590(0x167)]+this[_0x35a590(0x17b)],this[_0x35a590(0x1a7)](_0x599b2a);}this[_0x35a590(0xce)][_0x35a590(0x19b)][_0x35a590(0x1bb)]=_0x37426f,_0x4f2b81=this[_0x35a590(0x123)](_0x56355d[_0x35a590(0x188)],_0x56355d[_0x35a590(0x117)]),await this[_0x35a590(0x11e)](_0x4f2b81),this[_0x35a590(0xef)](_0x4f2b81,_0xcac0c2);}_0x56355d[_0x35a590(0x193)]&&(this[_0x35a590(0x14a)][_0x35a590(0x105)](_0x4f2b81,_0x56355d[_0x35a590(0x193)]),this[_0x35a590(0x192)]=_0x56355d[_0x35a590(0x193)]),this[_0x35a590(0x152)][_0x35a590(0x1bb)]=_0x37426f+this[_0x35a590(0x17b)],this[_0x35a590(0x1a7)](_0x4f2b81),_0x33a0b9[_0x35a590(0x16e)](_0x3d5e3d=>{const _0x451109=_0x35a590,_0x287248=this[_0x451109(0xe8)](_0x3d5e3d);return _0x287248&&!this[_0x451109(0x143)][_0x451109(0x109)](_0x287248);})[_0x35a590(0x168)]((_0x3bc73b,_0x1b1db2)=>{const _0x4fc1f6=_0x35a590;_0x3bc73b[_0x4fc1f6(0x1ba)]=this[_0x4fc1f6(0xce)][_0x4fc1f6(0x1bb)]+_0x1b1db2,this[_0x4fc1f6(0xd7)](_0x3bc73b);}),this[_0x35a590(0xfe)]()?(this[_0x35a590(0x100)]=0x0,this[_0x35a590(0x114)](!0x0),await this[_0x35a590(0x1ac)]()):(this[_0x35a590(0x14e)]=!0x1,this[_0x35a590(0xf0)]());}[_0x42fb72(0x128)](_0x356c70,_0x233ff7){const _0x16b42c=_0x42fb72,_0x1bfc21=_0x233ff7&&_0x233ff7[_0x16b42c(0x186)];if(_0x1bfc21&&_0x1bfc21[_0x16b42c(0x173)](_0x16b42c(0x124)))throw _0x233ff7;const _0x1b3084=this[_0x16b42c(0xfa)][_0x16b42c(0xf7)][_0x16b42c(0x140)](_0x118ea7);throw this[_0x16b42c(0x14e)]=!0x0,_0x1b3084[_0x16b42c(0x162)](),this[_0x16b42c(0xfa)][_0x16b42c(0x17e)](_0x16b42c(0xf8)),new _0x3b0f49(_0x356c70,this[_0x16b42c(0xfa)],_0x1bfc21?{'originalError':_0x1bfc21}:void 0x0);}[_0x42fb72(0xd7)](_0x312b87){const _0x405feb=_0x42fb72;this[_0x405feb(0x1ca)][_0x405feb(0x109)](_0x312b87)||(this[_0x405feb(0x1ca)][_0x405feb(0x17d)](_0x312b87),this[_0x405feb(0x1b8)][_0x405feb(0x181)](_0x312b87),this[_0x405feb(0x103)]||_0x405feb(0x132)==_0x312b87[_0x405feb(0x14f)]&&!_0x312b87[_0x405feb(0x185)]||this[_0x405feb(0xf2)]());}[_0x42fb72(0x114)](_0x3d5717=!0x1){const _0x422807=_0x42fb72;!_0x3d5717&&this[_0x422807(0x14e)]||(this[_0x422807(0x14e)]=!0x0,clearTimeout(this[_0x422807(0x187)]),this[_0x422807(0x187)]=setTimeout(()=>{const _0x3c2e2c=_0x422807;this[_0x3c2e2c(0x12e)]()[_0x3c2e2c(0x142)](_0x332274=>{const _0x17488a=_0x3c2e2c;_0x332274&&(this[_0x17488a(0xf0)](),this[_0x17488a(0x14e)]=!0x1);})[_0x3c2e2c(0x19d)](_0xc3661f=>{const _0x51fb34=_0x3c2e2c;this[_0x51fb34(0xf0)](),this[_0x51fb34(0x14e)]=!0x1,function(_0x4da6c6){const _0x5f3d13=_0x51fb34;return _0x4da6c6[_0x5f3d13(0x186)][_0x5f3d13(0x173)](_0x5f3d13(0x126))||_0x4da6c6[_0x5f3d13(0x186)][_0x5f3d13(0x173)](_0x5f3d13(0x1bd))||_0x4da6c6[_0x5f3d13(0x186)][_0x5f3d13(0x173)](_0x5f3d13(0x19f));}(_0xc3661f)||this[_0x51fb34(0x128)](_0xc3661f[_0x51fb34(0x186)],_0xc3661f);});},this[_0x422807(0x100)]));}[_0x42fb72(0x1ac)](){return new Promise(_0x9e3823=>{const _0x30228e=_0x4f0b;this['on'](_0x30228e(0x161),()=>{_0x9e3823();});});}async[_0x42fb72(0x12e)](){const _0x4c39d4=_0x42fb72,_0x1739d4=this[_0x4c39d4(0xfa)][_0x4c39d4(0xf7)][_0x4c39d4(0x140)](_0x18495b);if(this[_0x4c39d4(0x1b0)]()&&(_0x1739d4[_0x4c39d4(0x1bc)](),this[_0x4c39d4(0x189)]=!0x1),!this[_0x4c39d4(0xfe)]())return!0x0;const _0x4e5fc5=[...this[_0x4c39d4(0x1b8)]];for(const _0x4064ce of _0x4e5fc5)_0x4064ce[_0x4c39d4(0x1a9)]=this[_0x4c39d4(0xce)][_0x4c39d4(0x19b)][_0x4c39d4(0xd5)](_0x4064ce);const _0x1ca411=this[_0x4c39d4(0x14a)][_0x4c39d4(0xee)](_0x4e5fc5),_0x37d156=z++,_0x169840=this[_0x4c39d4(0x155)](_0x4e5fc5),_0x549d45=await this[_0x4c39d4(0x191)][_0x4c39d4(0x106)](_0x169840,_0x169840[_0x4c39d4(0x1ba)],_0x1ca411);try{return await this[_0x4c39d4(0x1a8)](_0x4e5fc5,_0x549d45,_0x37d156);}catch(_0xdae8d3){return this[_0x4c39d4(0x128)](_0x4c39d4(0x18e),_0xdae8d3);}}async[_0x42fb72(0x1a8)](_0x5d50cc,_0x1db361,_0xeee274){const _0x26358b=_0x42fb72;if(_0x26358b(0x175)in _0x1db361)throw _0x1db361[_0x26358b(0x175)];let _0x466b9a=!0x1;if(_0x1db361[_0x26358b(0x1c7)]){_0x1db361[_0x26358b(0x193)]&&(this[_0x26358b(0x192)]=_0x1db361[_0x26358b(0x193)]),this[_0x26358b(0x1b8)]=this[_0x26358b(0x1b8)][_0x26358b(0x16e)](_0x3e25c0=>!_0x5d50cc[_0x26358b(0x101)](_0x3e25c0));for(const _0x203b97 of _0x5d50cc)_0x203b97[_0x26358b(0x13c)]=_0x26358b(0x160)in _0x1db361&&_0x1db361[_0x26358b(0x160)]||void 0x0;V(_0x5d50cc,_0x1db361[_0x26358b(0x1bb)]-_0x5d50cc[_0x26358b(0x167)]),this[_0x26358b(0x1a7)](_0x5d50cc);const _0x4c4574=_0x5d50cc[_0x26358b(0x16e)](_0x2be695=>{const _0x1d9de4=_0x26358b;if(!_0x2be695[_0x1d9de4(0xcc)])return!0x1;const _0x155a95=this[_0x1d9de4(0xe8)](_0x2be695);return _0x155a95&&!this[_0x1d9de4(0x143)][_0x1d9de4(0x109)](_0x155a95);});V(_0x4c4574,this[_0x26358b(0xce)][_0x26358b(0x1bb)]),this[_0x26358b(0xef)](_0x4c4574),_0x466b9a=!0x0,this[_0x26358b(0x100)]=this[_0x26358b(0x108)];}else{const _0x4f2893=this[_0x26358b(0x123)](_0x1db361[_0x26358b(0x188)],_0x1db361[_0x26358b(0x117)])[_0x26358b(0x16e)](_0x23381b=>_0x23381b[_0x26358b(0x1ba)]>=this[_0x26358b(0xea)]);_0x4f2893[_0x26358b(0x168)](_0x30e6fa=>this[_0x26358b(0x19e)](_0x30e6fa)),this[_0x26358b(0x1b8)]=this[_0x26358b(0x1b8)][_0x26358b(0x16e)](_0x3d3c75=>!_0x3d3c75[_0x26358b(0xcc)]||!this[_0x26358b(0x143)][_0x26358b(0x109)](this[_0x26358b(0xe8)](_0x3d3c75))),this[_0x26358b(0x1b8)][_0x26358b(0x167)]&&V(this[_0x26358b(0x1b8)],this[_0x26358b(0x1b8)][0x0][_0x26358b(0x1ba)]),await this[_0x26358b(0x11e)](_0x4f2893),_0x466b9a=this[_0x26358b(0x10d)](_0x4f2893,_0x1db361[_0x26358b(0x1bb)],_0x1db361[_0x26358b(0x193)]),this[_0x26358b(0x100)]=Math[_0x26358b(0x136)](this[_0x26358b(0x100)]/0x2);}return _0x466b9a?!this[_0x26358b(0xfe)]()||(this[_0x26358b(0x114)](!0x0),!0x1):this[_0x26358b(0x128)](_0x26358b(0xe4));}[_0x42fb72(0x10d)](_0x26218d,_0x3e963c,_0x4afb31){const _0x196cb1=_0x42fb72;try{const _0x39ddbb={'document':this[_0x196cb1(0xce)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x59c23a,operationsB:_0x3db10c,originalOperations:_0x31346a}=_0x18b207(_0x26218d,this[_0x196cb1(0x1b8)],_0x39ddbb);V(_0x59c23a,this[_0x196cb1(0xce)][_0x196cb1(0x1bb)]),V(_0x3db10c,_0x3e963c);for(const _0x1c2767 of _0x59c23a){const _0x575d2d=_0x31346a[_0x196cb1(0x140)](_0x1c2767);_0x1c2767[_0x196cb1(0x182)]=_0x575d2d?_0x575d2d[_0x196cb1(0x182)]:null;}_0x4afb31&&(this[_0x196cb1(0x14a)][_0x196cb1(0x105)](_0x26218d,_0x4afb31),this[_0x196cb1(0x192)]=_0x4afb31),this[_0x196cb1(0x1b8)]=[..._0x3db10c],this[_0x196cb1(0xef)](_0x59c23a),this[_0x196cb1(0x1a7)](_0x26218d);}catch(_0x26661a){return console[_0x196cb1(0x175)](_0x26661a),!0x1;}return!0x0;}[_0x42fb72(0xef)](_0x486e66,_0x4cf04b=!0x1){const _0x1bfd37=_0x42fb72;this[_0x1bfd37(0xfa)][_0x1bfd37(0xe7)][_0x1bfd37(0xcb)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3ac3c8=>{const _0x3c2ed3=_0x1bfd37;for(const _0x1f413b of _0x486e66)this[_0x3c2ed3(0x1ca)][_0x3c2ed3(0x17d)](_0x1f413b),this[_0x3c2ed3(0x19e)](_0x1f413b),_0x3ac3c8[_0x3c2ed3(0xc6)][_0x3c2ed3(0x111)](_0x1f413b),this[_0x3c2ed3(0xfa)][_0x3c2ed3(0xe7)][_0x3c2ed3(0xe5)](_0x1f413b);});}[_0x42fb72(0x19e)](_0x468675){const _0x4543f5=_0x42fb72,_0x2e9e4e=this[_0x4543f5(0xe8)](_0x468675);_0x2e9e4e&&this[_0x4543f5(0x143)][_0x4543f5(0x17d)](_0x2e9e4e);}[_0x42fb72(0xe8)](_0x35b4c8){const _0x3ec7fa=_0x42fb72;let _0x456860,_0x340666;switch(_0x35b4c8[_0x3ec7fa(0x14f)]){case _0x3ec7fa(0x113):_0x456860=_0x35b4c8[_0x3ec7fa(0x196)][_0x3ec7fa(0xfd)];break;case _0x3ec7fa(0x132):if(_0x340666=_0x35b4c8[_0x3ec7fa(0x13b)],!_0x340666)return null;_0x456860=_0x340666[_0x3ec7fa(0xfd)];break;case _0x3ec7fa(0x135):_0x456860=_0x35b4c8[_0x3ec7fa(0xfd)];break;case _0x3ec7fa(0x1c8):_0x456860=_0x35b4c8[_0x3ec7fa(0x158)];break;case _0x3ec7fa(0x166):_0x456860=_0x35b4c8[_0x3ec7fa(0x107)][_0x3ec7fa(0xfd)];break;default:return null;}return _0x456860[_0x3ec7fa(0xdf)];}[_0x42fb72(0x1a7)](_0x1cac33){const _0x53a3ff=_0x42fb72;_0x1cac33[_0x53a3ff(0x168)](_0x43f485=>{const _0x4303f9=_0x53a3ff,_0x50f17a=_0x43f485[_0x4303f9(0x11b)]();_0x50f17a[_0x4303f9(0x182)]=_0x43f485[_0x4303f9(0x182)],_0x50f17a[_0x4303f9(0xcc)]=!!_0x43f485[_0x4303f9(0xcc)],_0x50f17a[_0x4303f9(0x13c)]=_0x43f485[_0x4303f9(0x13c)],_0x50f17a[_0x4303f9(0x1ba)]+=this[_0x4303f9(0x17b)],_0x43f485[_0x4303f9(0xed)]&&this[_0x4303f9(0x11a)][_0x4303f9(0x17d)](_0x50f17a),this[_0x4303f9(0x152)][_0x4303f9(0x111)](_0x50f17a);});}[_0x42fb72(0x147)](_0x5446ef){const _0x168d8b=_0x42fb72,_0x2535e8=this[_0x168d8b(0xfa)][_0x168d8b(0xf7)][_0x168d8b(0x140)](_0x168d8b(0x137)),_0x356c09=this[_0x168d8b(0xfa)][_0x168d8b(0x179)];_0x5446ef||(_0x5446ef=_0x1cd720(_0x356c09,_0x168d8b(0x164))),_0x2535e8[_0x168d8b(0xd0)](_0x5446ef,{'title':_0x1cd720(_0x356c09,_0x168d8b(0x12d)),'namespace':_0x168d8b(0xca)}),this[_0x168d8b(0x130)]=!0x0,clearTimeout(this[_0x168d8b(0x187)]),this[_0x168d8b(0x1b8)]=[],this[_0x168d8b(0xfa)][_0x168d8b(0xf7)][_0x168d8b(0x140)](_0x118ea7)[_0x168d8b(0x162)]();}[_0x42fb72(0xf2)](){const _0x2b1755=_0x42fb72;this[_0x2b1755(0x103)]||(this[_0x2b1755(0x103)]=this[_0x2b1755(0xfa)][_0x2b1755(0xf7)][_0x2b1755(0x140)](_0x27ab19)[_0x2b1755(0x17d)](_0x1cd720(this[_0x2b1755(0xfa)][_0x2b1755(0x179)],_0x2b1755(0x115))));}[_0x42fb72(0xf0)](){const _0x1d325b=_0x42fb72;this[_0x1d325b(0x103)]&&(this[_0x1d325b(0xfa)][_0x1d325b(0xf7)][_0x1d325b(0x140)](_0x27ab19)[_0x1d325b(0x14c)](this[_0x1d325b(0x103)]),this[_0x1d325b(0x103)]=null);}[_0x42fb72(0x155)](_0x49a993){const _0x304703=_0x42fb72,_0x327ffc=_0x49a993[_0x304703(0x171)](_0x509aaf=>_0x509aaf[_0x304703(0x1c0)]());return this[_0x304703(0x1a3)][_0x304703(0x11d)](_0x327ffc);}[_0x42fb72(0x123)](_0x579e36,_0x13c643){const _0x22c254=_0x42fb72;return this[_0x22c254(0x1a3)][_0x22c254(0x15d)](_0x579e36)[_0x22c254(0x171)]((_0x2918d0,_0x570804)=>{const _0x3ba2ad=_0x22c254,_0x5a163a=_0x3ba2ad(0xe3)==_0x13c643[_0x570804][_0x3ba2ad(0x14f)];if(_0x3ba2ad(0xec)==_0x2918d0[_0x3ba2ad(0x16f)]){const _0x5367e3=_0x2918d0[_0x3ba2ad(0x196)][_0x3ba2ad(0xfd)];!this[_0x3ba2ad(0xce)][_0x3ba2ad(0xc7)](_0x5367e3)&&(this[_0x3ba2ad(0xce)][_0x3ba2ad(0x16d)](_0x3ba2ad(0xd3),_0x5367e3)[_0x3ba2ad(0x1b9)]=!0x1);}const _0x120adc=_0x986bca[_0x3ba2ad(0x16c)](_0x2918d0,this[_0x3ba2ad(0xce)]);return _0x120adc[_0x3ba2ad(0x1a9)]=_0x2918d0[_0x3ba2ad(0x1a9)],_0x120adc[_0x3ba2ad(0xcc)]=_0x5a163a,_0x120adc[_0x3ba2ad(0x182)]=_0x5a163a?null:_0x13c643[_0x570804][_0x3ba2ad(0x145)],_0x120adc[_0x3ba2ad(0xed)]=_0x3ba2ad(0x1ad)===_0x13c643[_0x570804][_0x3ba2ad(0x14f)],_0x120adc[_0x3ba2ad(0x13c)]=_0x13c643[_0x570804][_0x3ba2ad(0x13c)],_0x120adc;});}[_0x42fb72(0x1be)](){const _0x5d29db=_0x42fb72;this[_0x5d29db(0x189)]=!0x0,this[_0x5d29db(0x1b0)]()?this[_0x5d29db(0x114)]():this[_0x5d29db(0x189)]=!0x1;}[_0x42fb72(0x1b0)](){const _0x4e8e16=_0x42fb72,_0x4f8431=this[_0x4e8e16(0xfa)][_0x4e8e16(0xf7)][_0x4e8e16(0x140)](_0x47cd51)[_0x4e8e16(0x134)][_0x4e8e16(0x140)](this[_0x4e8e16(0x14d)]);return!this[_0x4e8e16(0xfa)][_0x4e8e16(0x172)]&&!!_0x4f8431&&_0x4f8431[_0x4e8e16(0x167)]>0x1&&this[_0x4e8e16(0x189)];}[_0x42fb72(0xfe)](){const _0x1b9f46=_0x42fb72;return this[_0x1b9f46(0x1b8)][_0x1b9f46(0x167)]>0x0||this[_0x1b9f46(0x1b0)]();}}class H extends Error{}function V(_0x4f84b9,_0xd7e962){const _0x54cbb0=_0x42fb72;for(const _0x19b358 of _0x4f84b9)_0x19b358[_0x54cbb0(0x1ba)]=_0xd7e962++;}class W{[_0x42fb72(0x17f)];[_0x42fb72(0xe1)];constructor(_0x3f7dd1){const _0x553647=_0x42fb72;this[_0x553647(0x17f)]=_0x3f7dd1,this[_0x553647(0xe1)]=new WeakMap();}[_0x42fb72(0xee)](_0x1e162d){const _0x1aec74=_0x42fb72;let _0x535ae2=_0x1e162d[_0x1aec74(0x167)];for(;_0x535ae2--;){const _0x26fdaf=_0x1e162d[_0x535ae2];if(!this[_0x1aec74(0x17f)][_0x1aec74(0x109)](_0x26fdaf)){if(!this[_0x1aec74(0xe1)][_0x1aec74(0x109)](_0x26fdaf)){const _0x117187=_0x44f418()[_0x1aec74(0xd9)](0x1,0x12);this[_0x1aec74(0xe1)][_0x1aec74(0x174)](_0x26fdaf,_0x117187);}return this[_0x1aec74(0xe1)][_0x1aec74(0x140)](_0x26fdaf);}}}[_0x42fb72(0x105)](_0x434d4c,_0x272040){const _0x3fad16=_0x42fb72;if(!_0x272040)return;let _0x14631c=_0x434d4c[_0x3fad16(0x167)];for(;_0x14631c--;){const _0x449db6=_0x434d4c[_0x14631c];this[_0x3fad16(0x17f)][_0x3fad16(0x109)](_0x449db6)||this[_0x3fad16(0xe1)][_0x3fad16(0x174)](_0x449db6,_0x272040);}}}
23
+ const _0x1ff9b6=_0x3aa7;(function(_0x17d0e8,_0x1dbeac){const _0x3ab3c0=_0x3aa7,_0x1a2593=_0x17d0e8();while(!![]){try{const _0x1bd6df=parseInt(_0x3ab3c0(0x13a))/0x1+-parseInt(_0x3ab3c0(0x189))/0x2+parseInt(_0x3ab3c0(0x102))/0x3+parseInt(_0x3ab3c0(0x160))/0x4+-parseInt(_0x3ab3c0(0x18c))/0x5*(parseInt(_0x3ab3c0(0x109))/0x6)+parseInt(_0x3ab3c0(0xdd))/0x7*(parseInt(_0x3ab3c0(0x18d))/0x8)+-parseInt(_0x3ab3c0(0x103))/0x9;if(_0x1bd6df===_0x1dbeac)break;else _0x1a2593['push'](_0x1a2593['shift']());}catch(_0xa431dc){_0x1a2593['push'](_0x1a2593['shift']());}}}(_0x5491,0xb1485));import{Plugin as _0x4014b2,PendingActions as _0x39ddd0}from'ckeditor5/src/core.js';import{CKEditorError as _0x46347f,version as _0x5a252d,uid as _0x20d944}from'ckeditor5/src/utils.js';import{Notification as _0x2f9dee}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x46a19b,NoOperation as _0x353047,InsertOperation as _0x320c58,MarkerOperation as _0x147aaa,RootAttributeOperation as _0x321385,OperationFactory as _0x2a893d,History as _0x370750}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x1a35a6}from'./websocketgateway.js';import{Sessions as _0x24815b}from'./sessions.js';import{UserMarkers as _0x1fb8e1}from'./usermarkers.js';import{getTranslation as _0x7461af}from'../common-translations.js';import{Compressor as _0x7f617c}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x109044}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x56a287,CollaborativeEditingService as _0x51ed10}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let N=0x1;export class RealTimeCollaborationClient extends _0x4014b2{static [_0x1ff9b6(0x188)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x51ed10)());[_0x1ff9b6(0x147)];[_0x1ff9b6(0xce)];[_0x1ff9b6(0xfc)];[_0x1ff9b6(0xea)];[_0x1ff9b6(0x1af)];[_0x1ff9b6(0x141)];[_0x1ff9b6(0x15c)];[_0x1ff9b6(0x169)];[_0x1ff9b6(0x10d)];[_0x1ff9b6(0x10c)];[_0x1ff9b6(0x161)];[_0x1ff9b6(0xee)];[_0x1ff9b6(0x18f)];[_0x1ff9b6(0x133)];[_0x1ff9b6(0x137)];[_0x1ff9b6(0xe9)];[_0x1ff9b6(0x1b0)];[_0x1ff9b6(0xf1)];static get[_0x1ff9b6(0x104)](){return[_0x1a35a6,_0x24815b,_0x1fb8e1,_0x39ddd0,_0x109044,_0x2f9dee];}static get[_0x1ff9b6(0xd4)](){const _0x4ce597=_0x1ff9b6;return _0x4ce597(0x13e);}static get[_0x1ff9b6(0x10b)](){return!0x0;}static get[_0x1ff9b6(0x108)](){return!0x0;}get[_0x1ff9b6(0xd7)](){const _0x35126a=_0x1ff9b6;return this[_0x35126a(0x14f)]+this[_0x35126a(0x147)];}get[_0x1ff9b6(0x14f)](){const _0x5a1da5=_0x1ff9b6;return this[_0x5a1da5(0xfc)][_0x5a1da5(0x1b3)]-this[_0x5a1da5(0x147)];}get[_0x1ff9b6(0x17f)](){const _0x5289da=_0x1ff9b6,_0x45af12=this[_0x5289da(0xfc)][_0x5289da(0x182)]();for(let _0x390c4b=_0x45af12[_0x5289da(0xb3)]-0x1;_0x390c4b>=0x0;_0x390c4b--){const _0x59699a=_0x45af12[_0x390c4b];if(!this[_0x5289da(0x1b0)][_0x5289da(0xbe)](_0x59699a))return _0x59699a[_0x5289da(0x129)]+0x1-this[_0x5289da(0x147)];}return 0x0;}constructor(_0x23645a){const _0x48738a=_0x1ff9b6;if(super(_0x23645a),this[_0x48738a(0x147)]=0x0,this[_0x48738a(0xce)]=null,this[_0x48738a(0xfc)]=new _0x370750(),this[_0x48738a(0xe6)][_0x48738a(0x1ac)][_0x48738a(0xb4)](_0x48738a(0xc4),{}),this[_0x48738a(0xea)]=this[_0x48738a(0xe6)][_0x48738a(0x1ac)][_0x48738a(0xe2)](_0x48738a(0x17a)),!this[_0x48738a(0xea)])throw new _0x46347f(_0x48738a(0x134),this);const _0xb353a6=_0x23645a[_0x48738a(0x1ac)][_0x48738a(0xe2)](_0x48738a(0x19b))||_0x5a252d;this[_0x48738a(0x1af)]=new RealTimeCollaborationClient[(_0x48738a(0x188))](_0xb353a6,this[_0x48738a(0xea)]),this[_0x48738a(0x141)]=this[_0x48738a(0xe6)][_0x48738a(0x1a8)][_0x48738a(0x142)],this[_0x48738a(0x15c)]=new _0x7f617c(),this[_0x48738a(0x169)]=[],this[_0x48738a(0x10d)]=new WeakSet(),this[_0x48738a(0x10c)]=new Set(),this[_0x48738a(0x183)](_0x48738a(0x111),!0x1),this[_0x48738a(0x183)](_0x48738a(0x117),!0x1),this[_0x48738a(0x161)]=null,this[_0x48738a(0xee)]=!0x1,this[_0x48738a(0x18f)]=null,this[_0x48738a(0x133)]=0x12c,this[_0x48738a(0x137)]=this[_0x48738a(0x133)],this[_0x48738a(0xe9)]=null,this[_0x48738a(0x1b0)]=new WeakSet(),this[_0x48738a(0xf1)]=new M(this[_0x48738a(0x1b0)]);}[_0x1ff9b6(0x17c)](){const _0x180fdd=_0x1ff9b6,_0x10e4a5=this[_0x180fdd(0xe6)],_0x361a5a=_0x10e4a5[_0x180fdd(0x145)][_0x180fdd(0xe2)](_0x109044),_0x2e2b51=_0x10e4a5[_0x180fdd(0x145)][_0x180fdd(0xe2)](_0x1a35a6);this[_0x180fdd(0x15f)](_0x361a5a,_0x180fdd(0x185),(_0xa5722,_0x10aa97)=>{const _0x26799b=_0x180fdd,_0x4cf557=_0x10aa97[0x0];_0x4cf557[_0x26799b(0xec)]&&(_0xa5722[_0x26799b(0x10e)]=_0x361a5a[_0x26799b(0x164)](_0x4cf557[_0x26799b(0xec)]),_0xa5722[_0x26799b(0x180)]()),null===_0x4cf557[_0x26799b(0xec)]&&(_0xa5722[_0x26799b(0x10e)]=null,_0xa5722[_0x26799b(0x180)]());},{'priority':_0x180fdd(0x136)}),this[_0x180fdd(0x15f)](_0x10e4a5[_0x180fdd(0x1a8)][_0x180fdd(0x142)][_0x180fdd(0x105)],_0x180fdd(0xc3),(_0x513be5,_0x2dc553)=>{const _0x31f6c1=_0x180fdd;_0x2dc553[_0x31f6c1(0x17d)]&&this[_0x31f6c1(0xd3)]();}),this[_0x180fdd(0x15f)](_0x10e4a5[_0x180fdd(0x168)][_0x180fdd(0x152)],_0x180fdd(0xde),()=>{const _0x1989c0=_0x180fdd;this[_0x1989c0(0xd3)]();}),this[_0x180fdd(0x1a4)](),_0x10e4a5[_0x180fdd(0x1a8)]['on'](_0x180fdd(0x155),(_0x18baca,_0x4920fd)=>{const _0x17f3e3=_0x180fdd,_0x54492d=_0x4920fd[0x0];_0x54492d[_0x17f3e3(0x193)]&&(this[_0x17f3e3(0xfa)](_0x54492d),this[_0x17f3e3(0xd5)]()&&this[_0x17f3e3(0xef)]());}),this[_0x180fdd(0xed)](),this[_0x180fdd(0xe1)](_0x180fdd(0x118))['to'](_0x2e2b51,_0x180fdd(0x138),this,_0x180fdd(0x117),(_0x51c647,_0x4a8e0f)=>_0x180fdd(0x17b)===_0x51c647&&!_0x4a8e0f),this['on'](_0x180fdd(0x127),()=>{const _0x1f757e=_0x180fdd;this[_0x1f757e(0x118)]?_0x10e4a5[_0x1f757e(0xcc)](_0x1f757e(0x1a3)):_0x10e4a5[_0x1f757e(0x1a2)](_0x1f757e(0x1a3));}),this[_0x180fdd(0x118)]?_0x10e4a5[_0x180fdd(0xcc)](_0x180fdd(0x1a3)):_0x10e4a5[_0x180fdd(0x1a2)](_0x180fdd(0x1a3)),this[_0x180fdd(0x183)](_0x180fdd(0x10f),!0x1);}async[_0x1ff9b6(0xe3)](){const _0x13b462=_0x1ff9b6,_0x13c140=this[_0x13b462(0xe6)][_0x13b462(0x145)][_0x13b462(0xe2)](_0x24815b),_0x30b501=this[_0x13b462(0xe6)][_0x13b462(0x145)][_0x13b462(0xe2)](_0x1a35a6);try{this[_0x13b462(0x111)]=!0x0,_0x13c140[_0x13b462(0x1ab)](this[_0x13b462(0xea)]);const _0xdfede0=await this[_0x13b462(0x1af)][_0x13b462(0xe3)](_0x30b501[_0x13b462(0x199)],this[_0x13b462(0x17f)]);await this[_0x13b462(0x140)](_0xdfede0)&&(this[_0x13b462(0x111)]=!0x1,this[_0x13b462(0xc9)]());const _0x4b4c3c=await this[_0x13b462(0x1af)][_0x13b462(0xf4)]();_0x13c140[_0x13b462(0x196)](this[_0x13b462(0xea)],_0x4b4c3c),this[_0x13b462(0x110)](),this[_0x13b462(0x10f)]=!0x0;}catch(_0x100dd1){if(function(_0x350422){const _0x3ee85a=_0x13b462;return _0x3ee85a(0x115)===_0x350422[_0x3ee85a(0xb6)];}(_0x100dd1)&&this[_0x13b462(0xce)])await this[_0x13b462(0xe4)]();else{if(function(_0x413a16){const _0x3144c5=_0x13b462;return _0x3144c5(0x172)===_0x413a16[_0x3144c5(0xb6)];}(_0x100dd1)){const _0x5033b1=_0x7461af(this[_0x13b462(0xe6)][_0x13b462(0xb5)],_0x13b462(0x11f));this[_0x13b462(0x11a)](_0x5033b1);}else{if(!(_0x100dd1 instanceof B))throw _0x100dd1;this[_0x13b462(0x11a)]();}}}}[_0x1ff9b6(0x194)](){const _0x9cf39e=_0x1ff9b6,_0xca504b=this[_0x9cf39e(0xe6)][_0x9cf39e(0x145)][_0x9cf39e(0xe2)](_0x1a35a6),_0x42fa87=this[_0x9cf39e(0xe6)][_0x9cf39e(0x145)][_0x9cf39e(0xe2)](_0x24815b);this[_0x9cf39e(0xe6)][_0x9cf39e(0x1a2)](_0x9cf39e(0x106)),_0x42fa87[_0x9cf39e(0x13b)][_0x9cf39e(0xbe)](this[_0x9cf39e(0xea)])&&_0x42fa87[_0x9cf39e(0x1ab)](this[_0x9cf39e(0xea)]),_0xca504b[_0x9cf39e(0x1a1)](this),this[_0x9cf39e(0x12c)](),super[_0x9cf39e(0x194)]();}async[_0x1ff9b6(0x140)](_0xc0f478){const _0x3862c9=_0x1ff9b6;if(this[_0x3862c9(0xce)]!==_0xc0f478[_0x3862c9(0xce)]&&this[_0x3862c9(0xe9)]!==_0xc0f478[_0x3862c9(0x121)])throw new B();return this[_0x3862c9(0xce)]=_0xc0f478[_0x3862c9(0xce)],this[_0x3862c9(0x12a)]([],{..._0xc0f478,'wereChangesApplied':!0x1,'data':_0xc0f478[_0x3862c9(0x11e)]},_0x3862c9(0xe3));}async[_0x1ff9b6(0x107)](_0x61915b,_0x3ffdc9=!0x1){const _0x315fed=_0x1ff9b6,{connection:_0x1fd21b}=this[_0x315fed(0xe6)][_0x315fed(0x145)][_0x315fed(0xe2)](_0x1a35a6);RealTimeCollaborationClient[_0x315fed(0x188)][_0x315fed(0xf4)](_0x1fd21b,this[_0x315fed(0xea)])[_0x315fed(0x165)](_0x3390d4=>this[_0x315fed(0x19e)](_0x3390d4))[_0x315fed(0x1a9)](_0x4279d9=>{const _0x121596=_0x315fed;this[_0x121596(0x179)](_0x121596(0x130),_0x4279d9);}),this[_0x315fed(0x15f)](this[_0x315fed(0x1af)],_0x315fed(0xdc),this[_0x315fed(0x19a)][_0x315fed(0xe1)](this)),this[_0x315fed(0x15f)](this[_0x315fed(0x1af)],_0x315fed(0x14b),(_0x1a97e4,_0xbe33bc)=>{const _0x5061b9=_0x315fed;this[_0x5061b9(0x179)](_0x5061b9(0xf7),_0xbe33bc);}),this[_0x315fed(0x15f)](this[_0x315fed(0x1af)],_0x315fed(0x157),()=>{const _0x3e5101=_0x315fed;this[_0x3e5101(0x10f)]=!0x1;});const _0x1d15cc=this[_0x315fed(0xf1)][_0x315fed(0xc7)](_0x61915b);this[_0x315fed(0x111)]=!0x0;const _0x4a3187=await this[_0x315fed(0x1af)][_0x315fed(0x16d)](_0x1fd21b,this[_0x315fed(0xb2)](_0x61915b),_0x1d15cc);if(this[_0x315fed(0xce)]=_0x4a3187[_0x315fed(0xce)],_0x3ffdc9){if(!_0x4a3187[_0x315fed(0x11b)])return void this[_0x315fed(0x11a)]();this[_0x315fed(0x111)]=!0x1,this[_0x315fed(0xc9)](),this[_0x315fed(0xfc)][_0x315fed(0x192)](),this[_0x315fed(0x147)]=_0x4a3187[_0x315fed(0xd0)],this[_0x315fed(0xfc)][_0x315fed(0x1b3)]=this[_0x315fed(0x147)],await this[_0x315fed(0x12a)](_0x61915b,_0x4a3187,_0x315fed(0x1ad));}else await this[_0x315fed(0x122)](_0x4a3187,_0x61915b);this[_0x315fed(0x110)](),this[_0x315fed(0x10f)]=!0x0;}[_0x1ff9b6(0x110)](){const _0xcd04ce=_0x1ff9b6,_0x5e053c=this[_0xcd04ce(0xe6)][_0xcd04ce(0x145)][_0xcd04ce(0xe2)](_0x24815b),_0x1dea17=this[_0xcd04ce(0xe6)][_0xcd04ce(0x145)][_0xcd04ce(0xe2)](_0x1fb8e1),_0x4b58d0=_0x5e053c[_0xcd04ce(0x13b)][_0xcd04ce(0xe2)](this[_0xcd04ce(0xea)]);_0x4b58d0&&_0x4b58d0[_0xcd04ce(0xb3)]>0x1?_0x1dea17[_0xcd04ce(0x124)]():this[_0xcd04ce(0x15f)](_0x5e053c,_0xcd04ce(0x148)+this[_0xcd04ce(0xea)],()=>{const _0x38cfff=_0xcd04ce;0x2===_0x5e053c[_0x38cfff(0x13b)][_0x38cfff(0xe2)](this[_0x38cfff(0xea)])[_0x38cfff(0xb3)]&&_0x1dea17[_0x38cfff(0x124)]();});}async[_0x1ff9b6(0x19a)](_0x2a86ac,_0xd92ce2,_0x1af054,_0x54719a){const _0x1d2b3=_0x1ff9b6;if(!this[_0x1d2b3(0x111)]&&this[_0x1d2b3(0x141)][_0x1d2b3(0x1b3)]==_0xd92ce2){const _0x2171bd=this[_0x1d2b3(0x112)](_0x1af054,_0x54719a);await this[_0x1d2b3(0x12e)](_0x2171bd),this[_0x1d2b3(0x12d)](_0x2171bd,_0xd92ce2,_0x1af054[_0x1d2b3(0x121)])||this[_0x1d2b3(0x179)](_0x1d2b3(0x15d));}}async[_0x1ff9b6(0xe4)](){const _0x235c6d=_0x1ff9b6;this[_0x235c6d(0x12c)]();const {locale:_0xc786cd}=this[_0x235c6d(0xe6)];let _0x418eb8;try{_0x418eb8=await this[_0x235c6d(0x1af)][_0x235c6d(0x156)]();}catch{const _0xd5a18b=_0x7461af(_0xc786cd,_0x235c6d(0x135));return void this[_0x235c6d(0x11a)](_0xd5a18b);}const _0x2ad261=_0x418eb8[_0x235c6d(0xf9)]||_0x418eb8[_0x235c6d(0xba)];if(this[_0x235c6d(0xe9)]!==_0x2ad261[_0x235c6d(0x121)]){const _0xbda633=_0x7461af(_0xc786cd,_0x235c6d(0x14c));return void this[_0x235c6d(0x11a)](_0xbda633);}await this[_0x235c6d(0x107)](this[_0x235c6d(0xe6)][_0x235c6d(0x1a8)][_0x235c6d(0x142)][_0x235c6d(0xd6)][_0x235c6d(0x182)](),!0x0);}[_0x1ff9b6(0x12c)](){const _0x1eeda3=_0x1ff9b6;this[_0x1eeda3(0x1af)][_0x1eeda3(0x14d)](),this[_0x1eeda3(0x169)]=[],clearTimeout(this[_0x1eeda3(0x18f)]),this[_0x1eeda3(0x16e)](this[_0x1eeda3(0x1af)]);}[_0x1ff9b6(0x19e)](_0x5d002d){const _0x25cd52=_0x1ff9b6,_0x1f725a=this[_0x25cd52(0xe6)][_0x25cd52(0x145)][_0x25cd52(0xe2)](_0x24815b);this[_0x25cd52(0x15f)](_0x1f725a,_0x25cd52(0x148)+this[_0x25cd52(0xea)],(_0x1bee75,{session:_0x5db230})=>{const _0x1dbf4c=_0x25cd52;if(_0x5db230['id']===_0x1f725a[_0x1dbf4c(0x114)]){_0x1bee75[_0x1dbf4c(0x191)]();const _0x5aa889=this[_0x1dbf4c(0xe6)][_0x1dbf4c(0x145)][_0x1dbf4c(0xbe)](_0x1dbf4c(0x16b))&&this[_0x1dbf4c(0xe6)][_0x1dbf4c(0x145)][_0x1dbf4c(0xe2)](_0x1dbf4c(0x16b));let _0x5b09b4=_0x5db230[_0x1dbf4c(0xff)];_0x5aa889&&_0x5aa889[_0x1dbf4c(0x13d)]&&(_0x5b09b4=_0x5b09b4[_0x1dbf4c(0x15b)](_0xa8a167=>_0x1dbf4c(0x187)!==_0xa8a167)),this[_0x1dbf4c(0xe6)][_0x1dbf4c(0x145)][_0x1dbf4c(0xe2)](_0x1dbf4c(0x120))[_0x1dbf4c(0xdb)](_0x5b09b4,this[_0x1dbf4c(0xea)]);}}),_0x1f725a[_0x25cd52(0x196)](this[_0x25cd52(0xea)],_0x5d002d);}[_0x1ff9b6(0x1a4)](){const _0x4d70d6=_0x1ff9b6,_0x4ee567=this[_0x4d70d6(0xe6)][_0x4d70d6(0x11e)][_0x4d70d6(0x183)];this[_0x4d70d6(0xe6)][_0x4d70d6(0x11e)][_0x4d70d6(0x183)]=(..._0x1755dc)=>{const _0x525f2e=_0x4d70d6;if(!_0x1755dc[_0x1755dc[_0x525f2e(0xb3)]-0x1][_0x525f2e(0x181)])throw new _0x46347f(_0x525f2e(0xd2),this);_0x4ee567[_0x525f2e(0x11c)](this[_0x525f2e(0xe6)][_0x525f2e(0x11e)],_0x1755dc);};}[_0x1ff9b6(0xed)](){const _0x2b5fa5=_0x1ff9b6;this[_0x2b5fa5(0xe6)][_0x2b5fa5(0x11e)]['on'](_0x2b5fa5(0x17c),(_0x1ae975,[_0x25c499])=>{const _0x2dad5f=_0x2b5fa5;if(this[_0x2dad5f(0x141)][_0x2dad5f(0x1b3)])throw new _0x46347f(_0x2dad5f(0xe5),this);_0x1ae975[_0x2dad5f(0x180)](),this[_0x2dad5f(0xdf)]();const _0x159150=this[_0x2dad5f(0xe6)][_0x2dad5f(0x1ac)][_0x2dad5f(0xe2)](_0x2dad5f(0x174)),_0xe3f4da=this[_0x2dad5f(0x171)](_0x25c499,_0x159150);0x0==_0xe3f4da[_0x2dad5f(0xb3)]&&_0xe3f4da[_0x2dad5f(0x163)](new _0x353047(0x0)),_0x1ae975[_0x2dad5f(0x10e)]=this[_0x2dad5f(0x107)](_0xe3f4da)[_0x2dad5f(0x165)](()=>{const _0xf4ee5b=_0x2dad5f;this[_0xf4ee5b(0xe6)][_0xf4ee5b(0x145)][_0xf4ee5b(0xe2)](_0x1a35a6)[_0xf4ee5b(0x1a7)](this),this[_0xf4ee5b(0xe6)][_0xf4ee5b(0x11e)][_0xf4ee5b(0x167)](_0xf4ee5b(0xf5));})[_0x2dad5f(0x1a9)](_0x25ebaa=>this[_0x2dad5f(0x179)](_0x2dad5f(0x113),_0x25ebaa))[_0x2dad5f(0x159)](()=>this[_0x2dad5f(0xc9)]());},{'priority':_0x2b5fa5(0x136)}),this[_0x2b5fa5(0xe6)]['on'](_0x2b5fa5(0x154),async(_0x3d2e7e,[_0x5f0345,_0x451321])=>{const _0x2e1286=_0x2b5fa5;_0x3d2e7e[_0x2e1286(0x180)]();const _0x290ce0=this[_0x2e1286(0xe6)][_0x2e1286(0x1a8)][_0x2e1286(0x142)][_0x2e1286(0x195)](_0x5f0345);if(!this[_0x2e1286(0x10c)][_0x2e1286(0xbe)](_0x5f0345)){const _0x40be6a=_0x451321&&_0x451321[_0x2e1286(0x11e)]?_0x451321[_0x2e1286(0x11e)]:'',_0x2bf787=_0x451321&&_0x451321[_0x2e1286(0x1b2)]?_0x451321[_0x2e1286(0x1b2)]:{};await this[_0x2e1286(0xeb)](_0x5f0345,_0x40be6a,_0x2bf787);}this[_0x2e1286(0xe6)][_0x2e1286(0x1a8)][_0x2e1286(0xda)]({'isUndoable':!0x1},()=>{const _0x40f912=_0x2e1286;_0x290ce0[_0x40f912(0x16a)]=!0x0,this[_0x40f912(0xe6)][_0x40f912(0x1a8)][_0x40f912(0x142)][_0x40f912(0x10a)][_0x40f912(0x1a0)](_0x290ce0);});},{'priority':_0x2b5fa5(0x136)});}async[_0x1ff9b6(0x12e)](_0x4d27c3){const _0x201917=_0x1ff9b6,_0x22eb73=this[_0x201917(0xe6)][_0x201917(0x145)][_0x201917(0xe2)](_0x109044),{connection:_0x22d818}=this[_0x201917(0xe6)][_0x201917(0x145)][_0x201917(0xe2)](_0x1a35a6),_0x510064=new Set();for(const _0x3c8774 of _0x4d27c3){const _0x4465d0=_0x3c8774[_0x201917(0xec)];_0x4465d0&&!_0x22eb73[_0x201917(0x164)](_0x4465d0)&&_0x510064[_0x201917(0x162)](_0x4465d0);}if(0x0===_0x510064[_0x201917(0xe8)])return;const _0x6c711c=await _0x56a287[_0x201917(0x19d)](_0x22d818,Array[_0x201917(0x158)](_0x510064));for(const _0x3cc3f6 of _0x6c711c)_0x22eb73[_0x201917(0x164)](_0x3cc3f6['id'])||_0x22eb73[_0x201917(0x11d)](_0x3cc3f6);}[_0x1ff9b6(0x171)](_0x4b8207,_0x30cd61={}){const _0x3efc5f=_0x1ff9b6,_0x3e3a2a=this[_0x3efc5f(0xe6)][_0x3efc5f(0x1a8)],_0xad2745=[];let _0x1d3f69=0x0;const _0x28be1f=_0x3efc5f(0x198)==typeof _0x4b8207?{'main':_0x4b8207}:_0x4b8207;for(const _0x4adb42 of Object[_0x3efc5f(0x15a)](_0x28be1f)){if(!this[_0x3efc5f(0x141)][_0x3efc5f(0x177)][_0x3efc5f(0xbe)](_0x4adb42))throw new _0x46347f(_0x3efc5f(0xcb),this);const _0x245e1b=this[_0x3efc5f(0xe6)][_0x3efc5f(0x11e)][_0x3efc5f(0xc6)](_0x28be1f[_0x4adb42]),_0x185a48=this[_0x3efc5f(0x141)][_0x3efc5f(0x195)](_0x4adb42),_0x2a090d=new _0x320c58(_0x3e3a2a[_0x3efc5f(0x170)](_0x185a48,0x0),_0x245e1b,_0x1d3f69++);_0xad2745[_0x3efc5f(0x163)](_0x2a090d);for(const [_0x2ed280,_0xf41651]of _0x245e1b[_0x3efc5f(0x126)]){const _0x9fa1cc=_0x3e3a2a[_0x3efc5f(0x16c)](_0x3e3a2a[_0x3efc5f(0xcd)](_0x185a48,_0xf41651[_0x3efc5f(0xfb)][_0x3efc5f(0xbc)][_0x3efc5f(0x1b5)]()),_0x3e3a2a[_0x3efc5f(0xcd)](_0x185a48,_0xf41651[_0x3efc5f(0xb9)][_0x3efc5f(0xbc)][_0x3efc5f(0x1b5)]())),_0x14a5d4=new _0x147aaa(_0x2ed280,null,_0x9fa1cc,_0x3e3a2a[_0x3efc5f(0x126)],!0x0,_0x1d3f69++);_0xad2745[_0x3efc5f(0x163)](_0x14a5d4);}}if(_0x30cd61)for(const [_0xe6483b,_0x393a7d]of Object[_0x3efc5f(0x184)](_0x30cd61)){const _0x4a4ff7=_0x3e3a2a[_0x3efc5f(0x142)][_0x3efc5f(0x195)](_0xe6483b);if(!_0x4a4ff7)throw new _0x46347f(_0x3efc5f(0x14e),null);for(const [_0x4e5355,_0x1aec23]of Object[_0x3efc5f(0x184)](_0x393a7d))if(null!==_0x1aec23){const _0x470ba2=new _0x321385(_0x4a4ff7,_0x4e5355,null,_0x1aec23,_0x1d3f69++);_0xad2745[_0x3efc5f(0x163)](_0x470ba2);}}return _0xad2745;}async[_0x1ff9b6(0xeb)](_0xe557fe,_0x493b98,_0x3cc9b7){const _0x4d29bc=_0x1ff9b6;this[_0x4d29bc(0x171)]({[_0xe557fe]:_0x493b98},{[_0xe557fe]:_0x3cc9b7})[_0x4d29bc(0x123)]((_0x5048e4,_0x5f4b02)=>{const _0x39a65e=_0x4d29bc;_0x5048e4[_0x39a65e(0x129)]=this[_0x39a65e(0x141)][_0x39a65e(0x1b3)]+_0x5f4b02,_0x5048e4[_0x39a65e(0x15e)]=!0x0,this[_0x39a65e(0xfa)](_0x5048e4);}),this[_0x4d29bc(0xef)](),await this[_0x4d29bc(0x139)]();}async[_0x1ff9b6(0x122)](_0x4ce10a,_0x46030f){const _0x2a92ad=_0x1ff9b6;let _0x1d3b98;this[_0x2a92ad(0x147)]=_0x4ce10a[_0x2a92ad(0xd0)];const _0x4b0895=_0x4ce10a[_0x2a92ad(0x11b)]&&!_0x4ce10a[_0x2a92ad(0x128)],_0x4b1fc2=_0x4b0895?0x0:_0x4ce10a[_0x2a92ad(0x11e)][_0x2a92ad(0x129)];if(_0x46030f[_0x2a92ad(0x123)](_0x53a758=>{const _0x5ed53f=_0x2a92ad;_0x53a758[_0x5ed53f(0x15e)]=!0x0,_0x53a758[_0x5ed53f(0xb7)]=_0x4ce10a[_0x5ed53f(0x150)],_0x53a758[_0x5ed53f(0xec)]=null;}),_0x4b0895)_0x1d3b98=_0x46030f,this[_0x2a92ad(0x18a)](_0x1d3b98,_0x4b0895);else{if(_0x4ce10a[_0x2a92ad(0x128)]){const _0x5e09f5=this[_0x2a92ad(0x171)](_0x4ce10a[_0x2a92ad(0x128)]);this[_0x2a92ad(0x141)][_0x2a92ad(0xd6)][_0x2a92ad(0x1b3)]=-_0x5e09f5[_0x2a92ad(0xb3)],_0x5e09f5[_0x2a92ad(0x123)](_0x2d4394=>{const _0x143e3d=_0x2a92ad;_0x2d4394[_0x143e3d(0x129)]-=_0x5e09f5[_0x143e3d(0xb3)],_0x2d4394[_0x143e3d(0xb7)]=_0x4ce10a[_0x143e3d(0x150)],_0x2d4394[_0x143e3d(0x15e)]=!0x0,_0x2d4394[_0x143e3d(0xec)]=null;}),this[_0x2a92ad(0x18a)](_0x5e09f5,!0x0),this[_0x2a92ad(0xfc)][_0x2a92ad(0x1b3)]=-_0x5e09f5[_0x2a92ad(0xb3)]+this[_0x2a92ad(0x147)],this[_0x2a92ad(0x18e)](_0x5e09f5);}this[_0x2a92ad(0x141)][_0x2a92ad(0xd6)][_0x2a92ad(0x1b3)]=_0x4b1fc2,_0x1d3b98=this[_0x2a92ad(0x112)](_0x4ce10a[_0x2a92ad(0x11e)],_0x4ce10a[_0x2a92ad(0xb8)]),await this[_0x2a92ad(0x12e)](_0x1d3b98),this[_0x2a92ad(0x18a)](_0x1d3b98,_0x4b0895);}_0x4ce10a[_0x2a92ad(0x121)]&&(this[_0x2a92ad(0xf1)][_0x2a92ad(0xbf)](_0x1d3b98,_0x4ce10a[_0x2a92ad(0x121)]),this[_0x2a92ad(0xe9)]=_0x4ce10a[_0x2a92ad(0x121)]),this[_0x2a92ad(0xfc)][_0x2a92ad(0x1b3)]=_0x4b1fc2+this[_0x2a92ad(0x147)],this[_0x2a92ad(0x18e)](_0x1d3b98),_0x46030f[_0x2a92ad(0x15b)](_0x3fffcd=>{const _0x1b4f41=_0x2a92ad,_0xddb9a6=this[_0x1b4f41(0x1b1)](_0x3fffcd);return _0xddb9a6&&!this[_0x1b4f41(0x10c)][_0x1b4f41(0xbe)](_0xddb9a6);})[_0x2a92ad(0x123)]((_0x50085f,_0x415df3)=>{const _0x266793=_0x2a92ad;_0x50085f[_0x266793(0x129)]=this[_0x266793(0x141)][_0x266793(0x1b3)]+_0x415df3,this[_0x266793(0xfa)](_0x50085f);}),this[_0x2a92ad(0xd5)]()?(this[_0x2a92ad(0x137)]=0x0,this[_0x2a92ad(0xef)](!0x0),await this[_0x2a92ad(0x139)]()):(this[_0x2a92ad(0x111)]=!0x1,this[_0x2a92ad(0xc9)]());}[_0x1ff9b6(0x179)](_0x4b60ea,_0x2b9f20){const _0x257634=_0x1ff9b6,_0x180458=_0x2b9f20&&_0x2b9f20[_0x257634(0xf6)];if(_0x180458&&_0x180458[_0x257634(0x13c)](_0x257634(0x1ae)))throw _0x2b9f20;const _0x4d6bb0=this[_0x257634(0xe6)][_0x257634(0x145)][_0x257634(0xe2)](_0x1a35a6);throw this[_0x257634(0x111)]=!0x0,_0x4d6bb0[_0x257634(0x14d)](),this[_0x257634(0xe6)][_0x257634(0x1a2)](_0x257634(0x125)),new _0x46347f(_0x4b60ea,this[_0x257634(0xe6)],_0x180458?{'originalError':_0x180458}:void 0x0);}[_0x1ff9b6(0xfa)](_0x53ebfb){const _0x28bdb2=_0x1ff9b6;this[_0x28bdb2(0x10d)][_0x28bdb2(0xbe)](_0x53ebfb)||(this[_0x28bdb2(0x10d)][_0x28bdb2(0x162)](_0x53ebfb),this[_0x28bdb2(0x169)][_0x28bdb2(0x163)](_0x53ebfb),this[_0x28bdb2(0x161)]||_0x28bdb2(0x132)==_0x53ebfb[_0x28bdb2(0x166)]&&!_0x53ebfb[_0x28bdb2(0x1a5)]||this[_0x28bdb2(0xdf)]());}[_0x1ff9b6(0xef)](_0x4aa0f8=!0x1){const _0x38ad3b=_0x1ff9b6;!_0x4aa0f8&&this[_0x38ad3b(0x111)]||(this[_0x38ad3b(0x111)]=!0x0,clearTimeout(this[_0x38ad3b(0x18f)]),this[_0x38ad3b(0x18f)]=setTimeout(()=>{const _0x4bacfe=_0x38ad3b;this[_0x4bacfe(0xbb)]()[_0x4bacfe(0x165)](_0x278e0f=>{const _0x4bceff=_0x4bacfe;_0x278e0f&&(this[_0x4bceff(0xc9)](),this[_0x4bceff(0x111)]=!0x1);})[_0x4bacfe(0x1a9)](_0x474cb4=>{const _0xbb2533=_0x4bacfe;this[_0xbb2533(0xc9)](),this[_0xbb2533(0x111)]=!0x1,function(_0x2ce8be){const _0x2ecc1a=_0xbb2533;return _0x2ce8be[_0x2ecc1a(0xf6)][_0x2ecc1a(0x13c)](_0x2ecc1a(0xfe))||_0x2ce8be[_0x2ecc1a(0xf6)][_0x2ecc1a(0x13c)](_0x2ecc1a(0x1a6))||_0x2ce8be[_0x2ecc1a(0xf6)][_0x2ecc1a(0x13c)](_0x2ecc1a(0x100));}(_0x474cb4)||this[_0xbb2533(0x179)](_0x474cb4[_0xbb2533(0xf6)],_0x474cb4);});},this[_0x38ad3b(0x137)]));}[_0x1ff9b6(0x139)](){return new Promise(_0x5e36f5=>{const _0x39be15=_0x3aa7;this['on'](_0x39be15(0x12b),()=>{_0x5e36f5();});});}async[_0x1ff9b6(0xbb)](){const _0x1ca669=_0x1ff9b6,_0x2a430f=this[_0x1ca669(0xe6)][_0x1ca669(0x145)][_0x1ca669(0xe2)](_0x1fb8e1);if(this[_0x1ca669(0xc5)]()&&(_0x2a430f[_0x1ca669(0x124)](),this[_0x1ca669(0xee)]=!0x1),!this[_0x1ca669(0xd5)]())return!0x0;const _0x4b71f0=[...this[_0x1ca669(0x169)]];for(const _0x591810 of _0x4b71f0)_0x591810[_0x1ca669(0x1aa)]=this[_0x1ca669(0x141)][_0x1ca669(0xd6)][_0x1ca669(0x1b4)](_0x591810);const _0x1ba30c=this[_0x1ca669(0xf1)][_0x1ca669(0xc7)](_0x4b71f0),_0x123cbd=N++,_0x3f201e=this[_0x1ca669(0xb2)](_0x4b71f0),_0x309763=await this[_0x1ca669(0x1af)][_0x1ca669(0x19f)](_0x3f201e,_0x3f201e[_0x1ca669(0x129)],_0x1ba30c);try{return await this[_0x1ca669(0x12a)](_0x4b71f0,_0x309763,_0x123cbd);}catch(_0x18a130){return this[_0x1ca669(0x179)](_0x1ca669(0xbd),_0x18a130);}}async[_0x1ff9b6(0x12a)](_0x4396bd,_0x56a012,_0x266779){const _0x22410e=_0x1ff9b6;if(_0x22410e(0x14b)in _0x56a012)throw _0x56a012[_0x22410e(0x14b)];let _0x1a3bdd=!0x1;if(_0x56a012[_0x22410e(0x11b)]){_0x56a012[_0x22410e(0x121)]&&(this[_0x22410e(0xe9)]=_0x56a012[_0x22410e(0x121)]),this[_0x22410e(0x169)]=this[_0x22410e(0x169)][_0x22410e(0x15b)](_0x1ff281=>!_0x4396bd[_0x22410e(0x173)](_0x1ff281));for(const _0x1f159c of _0x4396bd)_0x1f159c[_0x22410e(0xb7)]=_0x22410e(0xd1)in _0x56a012&&_0x56a012[_0x22410e(0xd1)]||void 0x0;x(_0x4396bd,_0x56a012[_0x22410e(0x1b3)]-_0x4396bd[_0x22410e(0xb3)]),this[_0x22410e(0x18e)](_0x4396bd);const _0x31cc99=_0x4396bd[_0x22410e(0x15b)](_0x18f552=>{const _0x1048c9=_0x22410e;if(!_0x18f552[_0x1048c9(0x15e)])return!0x1;const _0x1d1643=this[_0x1048c9(0x1b1)](_0x18f552);return _0x1d1643&&!this[_0x1048c9(0x10c)][_0x1048c9(0xbe)](_0x1d1643);});x(_0x31cc99,this[_0x22410e(0x141)][_0x22410e(0x1b3)]),this[_0x22410e(0x18a)](_0x31cc99),_0x1a3bdd=!0x0,this[_0x22410e(0x137)]=this[_0x22410e(0x133)];}else{const _0x39963d=this[_0x22410e(0x112)](_0x56a012[_0x22410e(0x11e)],_0x56a012[_0x22410e(0xb8)])[_0x22410e(0x15b)](_0x32b169=>_0x32b169[_0x22410e(0x129)]>=this[_0x22410e(0x14f)]);_0x39963d[_0x22410e(0x123)](_0xc4afbb=>this[_0x22410e(0xca)](_0xc4afbb)),this[_0x22410e(0x169)]=this[_0x22410e(0x169)][_0x22410e(0x15b)](_0x2fbee8=>!_0x2fbee8[_0x22410e(0x15e)]||!this[_0x22410e(0x10c)][_0x22410e(0xbe)](this[_0x22410e(0x1b1)](_0x2fbee8))),this[_0x22410e(0x169)][_0x22410e(0xb3)]&&x(this[_0x22410e(0x169)],this[_0x22410e(0x169)][0x0][_0x22410e(0x129)]),await this[_0x22410e(0x12e)](_0x39963d),_0x1a3bdd=this[_0x22410e(0x12d)](_0x39963d,_0x56a012[_0x22410e(0x1b3)],_0x56a012[_0x22410e(0x121)]),this[_0x22410e(0x137)]=Math[_0x22410e(0x119)](this[_0x22410e(0x137)]/0x2);}return _0x1a3bdd?!this[_0x22410e(0xd5)]()||(this[_0x22410e(0xef)](!0x0),!0x1):this[_0x22410e(0x179)](_0x22410e(0x175));}[_0x1ff9b6(0x12d)](_0x2a7693,_0x562e57,_0x1af65d){const _0x564d1d=_0x1ff9b6;try{const _0x3a6666={'document':this[_0x564d1d(0x141)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x421cb8,operationsB:_0x100f97,originalOperations:_0x1b7a62}=_0x46a19b(_0x2a7693,this[_0x564d1d(0x169)],_0x3a6666);x(_0x421cb8,this[_0x564d1d(0x141)][_0x564d1d(0x1b3)]),x(_0x100f97,_0x562e57);for(const _0x4e3d13 of _0x421cb8){const _0x35d3e2=_0x1b7a62[_0x564d1d(0xe2)](_0x4e3d13);_0x4e3d13[_0x564d1d(0xec)]=_0x35d3e2?_0x35d3e2[_0x564d1d(0xec)]:null;}_0x1af65d&&(this[_0x564d1d(0xf1)][_0x564d1d(0xbf)](_0x2a7693,_0x1af65d),this[_0x564d1d(0xe9)]=_0x1af65d),this[_0x564d1d(0x169)]=[..._0x100f97],this[_0x564d1d(0x18a)](_0x421cb8),this[_0x564d1d(0x18e)](_0x2a7693);}catch(_0x5a6075){return console[_0x564d1d(0x14b)](_0x5a6075),!0x1;}return!0x0;}[_0x1ff9b6(0x18a)](_0xbf540d,_0x43ceef=!0x1){const _0x5f05bf=_0x1ff9b6;this[_0x5f05bf(0xe6)][_0x5f05bf(0x1a8)][_0x5f05bf(0xda)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1d39fa=>{const _0x319bbf=_0x5f05bf;for(const _0x557ae9 of _0xbf540d)this[_0x319bbf(0x10d)][_0x319bbf(0x162)](_0x557ae9),this[_0x319bbf(0xca)](_0x557ae9),_0x1d39fa[_0x319bbf(0x190)][_0x319bbf(0x16f)](_0x557ae9),this[_0x319bbf(0xe6)][_0x319bbf(0x1a8)][_0x319bbf(0x155)](_0x557ae9);});}[_0x1ff9b6(0xca)](_0x25ce8d){const _0x3f8322=_0x1ff9b6,_0x8ebb6c=this[_0x3f8322(0x1b1)](_0x25ce8d);_0x8ebb6c&&this[_0x3f8322(0x10c)][_0x3f8322(0x162)](_0x8ebb6c);}[_0x1ff9b6(0x1b1)](_0x55b6c3){const _0xd4f26b=_0x1ff9b6;let _0x52dee7,_0x26255f;switch(_0x55b6c3[_0xd4f26b(0x166)]){case _0xd4f26b(0xfd):_0x52dee7=_0x55b6c3[_0xd4f26b(0xf2)][_0xd4f26b(0xb1)];break;case _0xd4f26b(0x132):if(_0x26255f=_0x55b6c3[_0xd4f26b(0x144)],!_0x26255f)return null;_0x52dee7=_0x26255f[_0xd4f26b(0xb1)];break;case _0xd4f26b(0xf8):_0x52dee7=_0x55b6c3[_0xd4f26b(0xb1)];break;case _0xd4f26b(0x131):_0x52dee7=_0x55b6c3[_0xd4f26b(0x18b)];break;case _0xd4f26b(0xcf):_0x52dee7=_0x55b6c3[_0xd4f26b(0x153)][_0xd4f26b(0xb1)];break;default:return null;}return _0x52dee7[_0xd4f26b(0x146)];}[_0x1ff9b6(0x18e)](_0x735ed0){const _0x7d7b99=_0x1ff9b6;_0x735ed0[_0x7d7b99(0x123)](_0x511fd9=>{const _0x35eb60=_0x7d7b99,_0x2aeb48=_0x511fd9[_0x35eb60(0x12f)]();_0x2aeb48[_0x35eb60(0xec)]=_0x511fd9[_0x35eb60(0xec)],_0x2aeb48[_0x35eb60(0x15e)]=!!_0x511fd9[_0x35eb60(0x15e)],_0x2aeb48[_0x35eb60(0xb7)]=_0x511fd9[_0x35eb60(0xb7)],_0x2aeb48[_0x35eb60(0x129)]+=this[_0x35eb60(0x147)],_0x511fd9[_0x35eb60(0x197)]&&this[_0x35eb60(0x1b0)][_0x35eb60(0x162)](_0x2aeb48),this[_0x35eb60(0xfc)][_0x35eb60(0x16f)](_0x2aeb48);});}[_0x1ff9b6(0x11a)](_0x39d331){const _0x289657=_0x1ff9b6,_0x9d8f3a=this[_0x289657(0xe6)][_0x289657(0x145)][_0x289657(0xe2)](_0x289657(0x143)),_0x1a0f3a=this[_0x289657(0xe6)][_0x289657(0xb5)];_0x39d331||(_0x39d331=_0x7461af(_0x1a0f3a,_0x289657(0xe7))),_0x9d8f3a[_0x289657(0xd9)](_0x39d331,{'title':_0x7461af(_0x1a0f3a,_0x289657(0x178)),'namespace':_0x289657(0xc2)}),this[_0x289657(0x117)]=!0x0,clearTimeout(this[_0x289657(0x18f)]),this[_0x289657(0x169)]=[],this[_0x289657(0xe6)][_0x289657(0x145)][_0x289657(0xe2)](_0x1a35a6)[_0x289657(0x14d)]();}[_0x1ff9b6(0xdf)](){const _0x30f0d9=_0x1ff9b6;this[_0x30f0d9(0x161)]||(this[_0x30f0d9(0x161)]=this[_0x30f0d9(0xe6)][_0x30f0d9(0x145)][_0x30f0d9(0xe2)](_0x39ddd0)[_0x30f0d9(0x162)](_0x7461af(this[_0x30f0d9(0xe6)][_0x30f0d9(0xb5)],_0x30f0d9(0x14a))));}[_0x1ff9b6(0xc9)](){const _0x3a899f=_0x1ff9b6;this[_0x3a899f(0x161)]&&(this[_0x3a899f(0xe6)][_0x3a899f(0x145)][_0x3a899f(0xe2)](_0x39ddd0)[_0x3a899f(0x176)](this[_0x3a899f(0x161)]),this[_0x3a899f(0x161)]=null);}[_0x1ff9b6(0xb2)](_0x18e08b){const _0x283c0d=_0x1ff9b6,_0x26c2fb=_0x18e08b[_0x283c0d(0xf3)](_0x4452a2=>_0x4452a2[_0x283c0d(0xd8)]());return this[_0x283c0d(0x15c)][_0x283c0d(0xc0)](_0x26c2fb);}[_0x1ff9b6(0x112)](_0x187d1c,_0x417b9e){const _0x553f9e=_0x1ff9b6;return this[_0x553f9e(0x15c)][_0x553f9e(0x17e)](_0x187d1c)[_0x553f9e(0xf3)]((_0x1df4aa,_0x17ac94)=>{const _0x818d7=_0x553f9e,_0x31dae2=_0x818d7(0x17c)==_0x417b9e[_0x17ac94][_0x818d7(0x166)];if(_0x818d7(0x151)==_0x1df4aa[_0x818d7(0xf0)]){const _0x2d3aa4=_0x1df4aa[_0x818d7(0xf2)][_0x818d7(0xb1)];!this[_0x818d7(0x141)][_0x818d7(0x195)](_0x2d3aa4)&&(this[_0x818d7(0x141)][_0x818d7(0xc8)](_0x818d7(0x116),_0x2d3aa4)[_0x818d7(0x19c)]=!0x1);}const _0xab7d75=_0x2a893d[_0x818d7(0x13f)](_0x1df4aa,this[_0x818d7(0x141)]);return _0xab7d75[_0x818d7(0x1aa)]=_0x1df4aa[_0x818d7(0x1aa)],_0xab7d75[_0x818d7(0x15e)]=_0x31dae2,_0xab7d75[_0x818d7(0xec)]=_0x31dae2?null:_0x417b9e[_0x17ac94][_0x818d7(0xe0)],_0xab7d75[_0x818d7(0x197)]=_0x818d7(0x101)===_0x417b9e[_0x17ac94][_0x818d7(0x166)],_0xab7d75[_0x818d7(0xb7)]=_0x417b9e[_0x17ac94][_0x818d7(0xb7)],_0xab7d75;});}[_0x1ff9b6(0xd3)](){const _0x179e10=_0x1ff9b6;this[_0x179e10(0xee)]=!0x0,this[_0x179e10(0xc5)]()?this[_0x179e10(0xef)]():this[_0x179e10(0xee)]=!0x1;}[_0x1ff9b6(0xc5)](){const _0x1da496=_0x1ff9b6,_0x3816d4=this[_0x1da496(0xe6)][_0x1da496(0x145)][_0x1da496(0xe2)](_0x24815b)[_0x1da496(0x13b)][_0x1da496(0xe2)](this[_0x1da496(0xea)]);return!this[_0x1da496(0xe6)][_0x1da496(0x149)]&&!!_0x3816d4&&_0x3816d4[_0x1da496(0xb3)]>0x1&&this[_0x1da496(0xee)];}[_0x1ff9b6(0xd5)](){const _0x3e513a=_0x1ff9b6;return this[_0x3e513a(0x169)][_0x3e513a(0xb3)]>0x0||this[_0x3e513a(0xc5)]();}}class B extends Error{}function _0x3aa7(_0x4326c8,_0x5996df){const _0x5491d4=_0x5491();return _0x3aa7=function(_0x3aa72e,_0x460c9b){_0x3aa72e=_0x3aa72e-0xb1;let _0x253611=_0x5491d4[_0x3aa72e];return _0x253611;},_0x3aa7(_0x4326c8,_0x5996df);}function x(_0x375137,_0x19fc25){const _0x51e8eb=_0x1ff9b6;for(const _0x5e5dd6 of _0x375137)_0x5e5dd6[_0x51e8eb(0x129)]=_0x19fc25++;}function _0x5491(){const _0x16264a=['_connectService','isPremiumPlugin','18DsSMrF','differ','isOfficialPlugin','_knownRootNames','_knownOperations','return','_isConnected','_handleSendingSelectionMarkers','_isPendingUpdate','_decompressOperations','realtimecollaborationclient-init-connection-failed','mySessionId','404','$root','_hasSynchronizationProblem','_isEditingAllowed','round','_handleReconnectionError','wereChangesApplied','apply','addUser','data','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','Permissions','lastOperationId','_handleInitialConnectionData','forEach','createUserMarkerOperations','realtimecollaborationclient-error','markers','change:_isEditingAllowed','initData','baseVersion','_handleServerResponse','change:_isPendingUpdate','_disconnectService','_handleExternalOperations','_fetchMissingUsers','clone','realtimecollaborationclient-init-session-connection-error','addRoot','marker','_baseBufferDelay','collaboration-missing-channelid','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','high','_currentBufferDelay','state','_waitUntilSynced','220557MIFxbl','channelSessions','startsWith','isEnabled','RealTimeCollaborationClient','fromJSON','_handleReconnectionResponse','_document','document','Notification','newRange','plugins','rootName','_offset','sessionAdd:','isReadOnly','PENDING_ACTION_SENDING_DATA','error','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','disconnect','multi-root-editor-root-attributes-no-root','_lastServerVersion','sessionCreatedAt','InsertOperation','view','targetPosition','loadRoot','applyOperation','getDocumentDetails','disconnected','from','finally','keys','filter','_compressor','realtimecollaborationclient-init-service-incorrect-server-operation','_isInit','listenTo','3473448gETpvC','_pendingAction','add','push','getUser','then','type','fire','editing','_bufferedOperations','_isLoaded','CommentsOnly','createRange','connect','stopListening','addOperation','createPositionAt','_getOperationsFromInitData','409','includes','rootsAttributes','realtimecollaborationclient-handleserverresponse','remove','roots','Synchronization\x20issue','_crash','collaboration.channelId','connected','init','directChange','decompress','lastSyncVersion','stop','suppressErrorInCollaboration','getOperations','set','entries','getOperationAuthor','_operationToId','document:write','CollaborativeEditingService','882736bbWurf','_applyOperationsSet','affectedSelectable','1505005rldmFR','178576NRcIZA','_updateServerHistory','_sendBufferedOperationsDelayId','batch','off','reset','isDocumentOperation','destroy','getRoot','register','_isDisconnection','string','connection','_handleReceivedOperations','cloudServices.bundleVersion','_isAttached','getMany','_initSessionsHandling','sendOperations','_bufferRootLoad','removeFromReconnectionStack','enableReadOnlyMode','rtc-offline','_initThrowingOnDataSet','affectsData','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','addToReconnectionStack','model','catch','wasUndone','unregister','config','reconnection:\x20flushed\x20session','realtimecollaborationclient','_service','_disconnectionOperations','_getAffectedRoot','attributes','version','isUndoneOperation','slice','root','_compressOperations','length','define','locale','code','createdAt','metadata','end','lastDocumentSession','_sendBufferedOperations','path','realtimecollaborationclient-sendbufferedoperations','has','setIdForTheLastOperation','compress','_ignoredOperations','real-time-collaboration','change:range','collaboration','_shouldSendSelectionUpdate','parse','getIdOfTheLastOperation','createRoot','_clearPendingAction','_addKnownRoot','realtimecollaborationclient-init-non-existent-root','disableReadOnlyMode','createPositionFromPath','sessionId','move','offset','lastOperationAcceptedAt','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_refreshUserSelectionMarkers','pluginName','_shouldSendUpdate','history','cloudDocumentVersion','toJSON','showWarning','enqueueChange','setPermissions','operationsReceived','420wPczwy','change:hasDomSelection','_setPendingAction','userId','bind','get','reconnect','_connectAfterSessionHasBeenFlushed','realtimecollaborationclient-init-document-already-initialized','editor','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','size','_lastSyncedOperationId','_channelId','_loadRoot','_authorId','_setUpDataInit','_hasSelectionChanged','_sendBufferedOperationsDelayed','__className','_operationIdentifier','position','map','getConnectedSessions','ready','message','realtimecollaborationclient-init-service-internal-error','addRootAttribute','currentDocumentSession','_saveOperationInBuffer','start','serverHistory','insert','cloud-services-internal-error:\x20Not\x20connected.','permissions','cloud-services-internal-error:\x20Request\x20timeout.','cs:removeUser','2759943CImTCi','11499300vypMcw','requires','selection','rtc-destroyed'];_0x5491=function(){return _0x16264a;};return _0x5491();}class M{[_0x1ff9b6(0xc1)];[_0x1ff9b6(0x186)];constructor(_0xf412ec){const _0x4778ad=_0x1ff9b6;this[_0x4778ad(0xc1)]=_0xf412ec,this[_0x4778ad(0x186)]=new WeakMap();}[_0x1ff9b6(0xc7)](_0x5efe17){const _0x3b4f72=_0x1ff9b6;let _0x1b0100=_0x5efe17[_0x3b4f72(0xb3)];for(;_0x1b0100--;){const _0x174951=_0x5efe17[_0x1b0100];if(!this[_0x3b4f72(0xc1)][_0x3b4f72(0xbe)](_0x174951)){if(!this[_0x3b4f72(0x186)][_0x3b4f72(0xbe)](_0x174951)){const _0x9e3318=_0x20d944()[_0x3b4f72(0x1b5)](0x1,0x12);this[_0x3b4f72(0x186)][_0x3b4f72(0x183)](_0x174951,_0x9e3318);}return this[_0x3b4f72(0x186)][_0x3b4f72(0xe2)](_0x174951);}}}[_0x1ff9b6(0xbf)](_0x8864c6,_0x1b5e8b){const _0x3825cf=_0x1ff9b6;if(!_0x1b5e8b)return;let _0x3281a3=_0x8864c6[_0x3825cf(0xb3)];for(;_0x3281a3--;){const _0x37ff4a=_0x8864c6[_0x3281a3];this[_0x3825cf(0xc1)][_0x3825cf(0xbe)](_0x37ff4a)||this[_0x3825cf(0x186)][_0x3825cf(0x183)](_0x37ff4a,_0x1b5e8b);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x59f2(_0x32ee0c,_0x13144a){const _0x5e6d4f=_0x5e6d();return _0x59f2=function(_0x59f252,_0x232547){_0x59f252=_0x59f252-0x9c;let _0x48c688=_0x5e6d4f[_0x59f252];return _0x48c688;},_0x59f2(_0x32ee0c,_0x13144a);}const _0x53d8b5=_0x59f2;function _0x5e6d(){const _0xb697cb=['stopListening','pluginName','getNearestSelectionRange','getMarkerClass','user:range','listenTo','getContainedElement','span','destroy','editingDowncast','getFirstRange','markerNameToElements','getAttribute','reconvertMarker','detach','clear','plugins','createUserMarkerOperations','size','getCustomProperty','split','$text','render','781300roLBQc','nodeAfter','markerName','set','name','parent','element','type','createElement','enqueueChange','UserMarkers','newRange','mySessionId','Escape','orderNumber','hasContent','requires','update:user:range','mouseenter','marker','init','11108388qwtaJq','document','editing','tableCell','outerHTML','isCollapsed','deletionPosition','selection','false','user:','getPositions','remove','userPositionMarker','isSimilar','isInline','schema','editor','rootName','contenteditable','user:position:','get','$graveyard','afterInit','_createdBatches','118228UoZcwu','oldRange','mouseleave','delete','11dEBZKl','view','fromRange','isLimit','has','ck-user__selection','root','addEventListener','createUIElement','end','removeClass','8Yolhgo','innerHTML','189eSTHVR','markerToHighlight','removeMarker','getRange','change','isOfficialPlugin','setCustomProperty','model','getSelectionClass','ck-user__marker_hovered','toRange','createRange','markerToElement','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','getUserBySessionId','conversion','classList','getStart','change:range','startsWith','addMarker','checkChild','markers','isDocumentOperation','setAttribute','spellcheck','hasDomSelection','1099qJifrD','keydown','textContent','color','5916jeSMMw','toDomElement','batch','_domEmitter','markerRange','isObject','user:position','highest','data-session-id','ck-user__marker\x20','start','for','ck-user__marker-tooltip','mapper','153811GUNVfS','updateMarker','undo','isPremiumPlugin','add','7206YdaerU','1162737mKyLkk','applyOperation','15eyMqdB','commands','user:range:'];_0x5e6d=function(){return _0xb697cb;};return _0x5e6d();}(function(_0x3fc3d2,_0x25e1b8){const _0x47db80=_0x59f2,_0x20cb5b=_0x3fc3d2();while(!![]){try{const _0xe2e6b5=-parseInt(_0x47db80(0x10e))/0x1+-parseInt(_0x47db80(0x100))/0x2*(parseInt(_0x47db80(0xe1))/0x3)+-parseInt(_0x47db80(0xd0))/0x4*(parseInt(_0x47db80(0x116))/0x5)+-parseInt(_0x47db80(0x113))/0x6*(parseInt(_0x47db80(0xfc))/0x7)+parseInt(_0x47db80(0xdf))/0x8*(-parseInt(_0x47db80(0x114))/0x9)+-parseInt(_0x47db80(0xa3))/0xa*(parseInt(_0x47db80(0xd4))/0xb)+parseInt(_0x47db80(0xb8))/0xc;if(_0xe2e6b5===_0x25e1b8)break;else _0x20cb5b['push'](_0x20cb5b['shift']());}catch(_0x88b369){_0x20cb5b['push'](_0x20cb5b['shift']());}}}(_0x5e6d,0x18a77));import{Plugin as _0x30bbf1}from'ckeditor5/src/core.js';import{global as _0xd5406d,DomEmitterMixin as _0x3ba06e}from'ckeditor5/src/utils.js';import{Sessions as _0x469db9}from'./sessions.js';import{ModelLiveRange as _0x1f9f9b}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x30bbf1{[_0x53d8b5(0x103)]=new(_0x3ba06e())();static get[_0x53d8b5(0xb3)](){return[_0x469db9];}static get[_0x53d8b5(0x11a)](){const _0x29b60b=_0x53d8b5;return _0x29b60b(0xad);}static get[_0x53d8b5(0xe6)](){return!0x0;}static get[_0x53d8b5(0x111)](){return!0x0;}[_0x53d8b5(0xb7)](){const _0x2e8d74=_0x53d8b5,_0x15fb4d=this[_0x2e8d74(0xc8)],_0x553f67=_0x15fb4d[_0x2e8d74(0x9c)][_0x2e8d74(0xcc)](_0x469db9);_0x15fb4d[_0x2e8d74(0xf0)][_0x2e8d74(0x10b)](_0x2e8d74(0x122))[_0x2e8d74(0xed)]({'model':_0x2e8d74(0x106),'view':(_0xdc2bdc,{writer:_0x2f0bdd})=>function(_0x2fc218,_0x2c691a,_0x3badcf,_0x51b2a4){const _0x28b261=_0x2e8d74,_0x378e05=_0x2fc218[_0x28b261(0xa5)][_0x28b261(0xa0)](':')[0x2],_0x2f7892=_0x3badcf[_0x28b261(0xef)](_0x378e05);if(!_0x2f7892||_0x378e05===_0x3badcf[_0x28b261(0xaf)])return;if(!_0x51b2a4[_0x28b261(0xe8)][_0x28b261(0xc7)][_0x28b261(0xf6)](_0x2fc218[_0x28b261(0x104)][_0x28b261(0x10a)],_0x28b261(0xa1)))return;const _0x55fcab={'class':_0x28b261(0x109)+_0x2f7892[_0x28b261(0xff)][_0x28b261(0x11c)](),'data-name':_0x2f7892[_0x28b261(0xa7)],'data-session-id':_0x378e05},_0x32ad9e=_0x51b2a4[_0x28b261(0xe8)][_0x28b261(0xf7)][_0x28b261(0xcc)](_0x2fc218[_0x28b261(0xa5)]),_0x228ae1=_0x32ad9e[_0x28b261(0xf2)](),_0x2015b2=_0x228ae1[_0x28b261(0xa4)],_0x310c36=_0x51b2a4[_0x28b261(0xe8)][_0x28b261(0xc7)];if(_0x2015b2&&_0x310c36[_0x28b261(0x105)](_0x2015b2)&&_0x310c36[_0x28b261(0xc6)](_0x2015b2)&&!_0x51b2a4[_0x28b261(0xe8)][_0x28b261(0xf7)][_0x28b261(0xcc)](_0x28b261(0x118)+_0x378e05)[_0x28b261(0xe4)]()[_0x28b261(0xbd)])return;const _0x5b3f90=_0x228ae1[_0x28b261(0xa8)];return _0x51b2a4[_0x28b261(0xe8)][_0x28b261(0xc7)][_0x28b261(0xd7)](_0x5b3f90)&&!_0x51b2a4[_0x28b261(0xe8)][_0x28b261(0xb2)](_0x5b3f90)&&(_0x55fcab[_0x28b261(0xca)]=!0x1),function(_0x1ec824,_0x4be0a1,_0x4f489e){const _0x9daee3=_0x28b261,_0x48b68d=_0x1ec824[_0x9daee3(0xdc)](_0x9daee3(0x120),_0x4be0a1);return _0x1ec824[_0x9daee3(0xe7)](_0x9daee3(0xc4),!0x0,_0x48b68d),_0x48b68d[_0x9daee3(0xa2)]=function(_0x51bd11){const _0x46b926=_0x9daee3,_0x4b0ded=this[_0x46b926(0x101)](_0x51bd11),_0x4edae3=document[_0x46b926(0xab)](_0x46b926(0x120));return _0x4edae3[_0x46b926(0xf1)][_0x46b926(0x112)](_0x46b926(0x10c)),_0x4edae3[_0x46b926(0xf9)](_0x46b926(0xca),_0x46b926(0xc0)),_0x4edae3[_0x46b926(0xf9)](_0x46b926(0xfa),_0x46b926(0xc0)),_0x4edae3[_0x46b926(0xfe)]=_0x4f489e[_0x46b926(0xa7)],_0x4b0ded[_0x46b926(0xe0)]=_0x46b926(0xee)+_0x4edae3[_0x46b926(0xbc)]+'⁠',_0x4b0ded[_0x46b926(0xdb)](_0x46b926(0xb5),()=>{const _0x51ebdb=_0x46b926;_0x4b0ded[_0x51ebdb(0xf1)][_0x51ebdb(0x112)](_0x51ebdb(0xea));}),_0x4b0ded[_0x46b926(0xdb)](_0x46b926(0xd2),()=>{const _0x7a3c05=_0x46b926;_0x4b0ded[_0x7a3c05(0xf1)][_0x7a3c05(0xc3)](_0x7a3c05(0xea));}),_0x4b0ded;},_0x48b68d[_0x9daee3(0xc5)]=function(_0x10a53c){const _0x549a3b=_0x9daee3;return!(!this[_0x549a3b(0x9f)](_0x549a3b(0xc4))||!_0x10a53c[_0x549a3b(0x9f)](_0x549a3b(0xc4))||this[_0x549a3b(0x125)](_0x549a3b(0x108))!=_0x10a53c[_0x549a3b(0x125)](_0x549a3b(0x108)));},_0x48b68d;}(_0x2c691a,_0x55fcab,_0x2f7892);}(_0xdc2bdc,_0x2f0bdd,_0x553f67,_0x15fb4d)}),_0x15fb4d[_0x2e8d74(0xf0)][_0x2e8d74(0x10b)](_0x2e8d74(0x122))[_0x2e8d74(0xe2)]({'model':_0x2e8d74(0x11d),'view':_0x3406ec=>function(_0x40d26b,_0x10ab8c){const _0x3f916d=_0x2e8d74,_0x4fdf85=_0x40d26b[_0x3f916d(0xa5)][_0x3f916d(0xa0)](':')[0x2];if(_0x4fdf85===_0x10ab8c[_0x3f916d(0xaf)])return null;const _0x261ee6=_0x10ab8c[_0x3f916d(0xef)](_0x4fdf85);if(!_0x261ee6)return{'id':_0x4fdf85,'classes':[]};return{'id':_0x4fdf85,'classes':[_0x3f916d(0xd9),_0x261ee6[_0x3f916d(0xff)][_0x3f916d(0xe9)]()],'attributes':{'data-session-id':_0x4fdf85},'priority':0x7d0+_0x261ee6[_0x3f916d(0xb1)]};}(_0x3406ec,_0x553f67)}),function(_0x552ea3){const _0x10694f=_0x2e8d74,_0x1f0bf5=_0x552ea3[_0x10694f(0xe8)],_0x34a3c7=new Map(),_0x4f9b7a=_0x552ea3[_0x10694f(0x9c)][_0x10694f(0xcc)](_0x469db9);_0x1f0bf5[_0x10694f(0xf7)]['on'](_0x10694f(0xb4),(_0x4d05e6,_0x575f57,_0x597b7a,_0x5c6568)=>{const _0x344f83=_0x10694f;if(!_0x5c6568&&_0x34a3c7[_0x344f83(0xcc)](_0x575f57[_0x344f83(0xa7)]))return _0x34a3c7[_0x344f83(0xcc)](_0x575f57[_0x344f83(0xa7)])[_0x344f83(0x127)](),void _0x34a3c7[_0x344f83(0xd3)](_0x575f57[_0x344f83(0xa7)]);const _0x54064b=_0x575f57[_0x344f83(0xa7)][_0x344f83(0xa0)](':')[0x2];if(_0x54064b===_0x4f9b7a[_0x344f83(0xaf)])return;const _0x45b778=_0x344f83(0xcb)+_0x54064b;_0x1f0bf5[_0x344f83(0xf7)][_0x344f83(0xd8)](_0x45b778)&&_0x552ea3[_0x344f83(0xba)][_0x344f83(0x126)](_0x45b778),_0x575f57['on'](_0x344f83(0xf3),(_0x496019,_0x5a3463,_0x28a355)=>{const _0x3125cc=_0x344f83;if(_0x3125cc(0xcd)!=_0x5a3463[_0x3125cc(0xda)][_0x3125cc(0xc9)]&&_0x3125cc(0xcd)==_0x575f57[_0x3125cc(0xe4)]()[_0x3125cc(0xda)][_0x3125cc(0xc9)]&&!_0x34a3c7[_0x3125cc(0xd8)](_0x575f57[_0x3125cc(0xa7)])){const _0x20c9b8=_0x1f0bf5[_0x3125cc(0xc7)][_0x3125cc(0x11b)](_0x28a355[_0x3125cc(0xbe)]);if(_0x20c9b8){const _0x521c8f=_0x1f9f9b[_0x3125cc(0xd6)](_0x20c9b8);_0x34a3c7[_0x3125cc(0xa6)](_0x575f57[_0x3125cc(0xa7)],_0x521c8f),_0x521c8f['on'](_0x3125cc(0xf3),(_0x3b3f2c,_0x242cc1,_0x4f9647)=>{const _0x5e04fa=_0x3125cc;if(_0x5e04fa(0xcd)==_0x521c8f[_0x5e04fa(0xda)][_0x5e04fa(0xc9)]){const _0x11602b=_0x1f0bf5[_0x5e04fa(0xc7)][_0x5e04fa(0x11b)](_0x4f9647[_0x5e04fa(0xbe)]);_0x11602b?(_0x521c8f[_0x5e04fa(0x10a)]=_0x11602b[_0x5e04fa(0x10a)],_0x521c8f[_0x5e04fa(0xdd)]=_0x11602b[_0x5e04fa(0xdd)]):(_0x34a3c7[_0x5e04fa(0xd3)](_0x575f57[_0x5e04fa(0xa7)]),_0x521c8f[_0x5e04fa(0x127)]());}});}}});}),_0x1f0bf5[_0x10694f(0xb9)]['on'](_0x10694f(0xe5),()=>{const _0x29334d=_0x10694f;_0x34a3c7[_0x29334d(0x9e)]>0x0&&_0x1f0bf5[_0x29334d(0xac)]({'isUndoable':!0x1},_0x21ed73=>{const _0x2d0af5=_0x29334d;for(const [_0x417ecb,_0x5218fe]of _0x34a3c7)_0x2d0af5(0xcd)==_0x1f0bf5[_0x2d0af5(0xf7)][_0x2d0af5(0xcc)](_0x417ecb)[_0x2d0af5(0xe4)]()[_0x2d0af5(0xda)][_0x2d0af5(0xc9)]&&(J(_0x417ecb[_0x2d0af5(0xa0)](':')[0x2],_0x5218fe[_0x2d0af5(0xeb)](),_0x1f0bf5,_0x21ed73),_0x5218fe[_0x2d0af5(0x127)]());_0x34a3c7[_0x2d0af5(0x128)]();});});}(_0x15fb4d),this[_0x2e8d74(0x103)][_0x2e8d74(0x11e)](_0xd5406d[_0x2e8d74(0xb9)],_0x2e8d74(0xfd),(_0xa7789a,{key:_0x55b94a})=>{const _0x1ef566=_0x2e8d74;_0x1ef566(0xb0)===_0x55b94a&&function(_0x84dd4a){const _0x384605=_0x1ef566;_0x84dd4a[_0x384605(0xba)][_0x384605(0xd5)][_0x384605(0xe5)](_0x2c7fcf=>{const _0x3268c8=_0x384605;for(const _0x568185 of _0x84dd4a[_0x3268c8(0xe8)][_0x3268c8(0xf7)]){if(!_0x568185[_0x3268c8(0xa7)][_0x3268c8(0xf4)](_0x3268c8(0x106)))continue;const _0x3cc5fa=_0x84dd4a[_0x3268c8(0xba)][_0x3268c8(0x10d)][_0x3268c8(0x124)](_0x568185[_0x3268c8(0xa7)]);if(_0x3cc5fa){for(const _0x2e7423 of _0x3cc5fa)_0x2c7fcf[_0x3268c8(0xde)](_0x3268c8(0xea),_0x2e7423);}}});}(_0x15fb4d);},{'useCapture':!0x0});}[_0x53d8b5(0xce)](){const _0x1868fa=_0x53d8b5,_0x505d1e=this[_0x1868fa(0xc8)],_0x3b720d=_0x505d1e[_0x1868fa(0x117)][_0x1868fa(0xcc)](_0x1868fa(0x110));_0x3b720d&&_0x505d1e[_0x1868fa(0xe8)]['on'](_0x1868fa(0x115),(_0x4203b9,_0x2de84c)=>{const _0x18b209=_0x1868fa,_0x55a176=_0x2de84c[0x0];if(!_0x55a176[_0x18b209(0xf8)])return;if(_0x18b209(0xb6)!=_0x55a176[_0x18b209(0xaa)]||!_0x55a176[_0x18b209(0xa7)][_0x18b209(0xf4)](_0x18b209(0xc1)))return;const _0x406b63=_0x55a176[_0x18b209(0x102)];_0x3b720d[_0x18b209(0xcf)][_0x18b209(0xd8)](_0x406b63)&&(_0x55a176[_0x18b209(0xae)]=_0x55a176[_0x18b209(0xd1)]?_0x505d1e[_0x18b209(0xe8)][_0x18b209(0xec)](_0x55a176[_0x18b209(0xd1)][_0x18b209(0x10a)],_0x55a176[_0x18b209(0xd1)][_0x18b209(0xdd)]):null);},{'priority':_0x1868fa(0x107)});}[_0x53d8b5(0x121)](){const _0x27f3f1=_0x53d8b5;return this[_0x27f3f1(0x103)][_0x27f3f1(0x119)](),super[_0x27f3f1(0x121)]();}[_0x53d8b5(0x9d)](){const _0x4720f7=_0x53d8b5,_0x1c0762=this[_0x4720f7(0xc8)],_0x259601=_0x1c0762[_0x4720f7(0xe8)][_0x4720f7(0xb9)],_0x58e32a=_0x1c0762[_0x4720f7(0x9c)][_0x4720f7(0xcc)](_0x469db9);_0x1c0762[_0x4720f7(0xe8)][_0x4720f7(0xac)]({'isUndoable':!0x1},_0x409fb6=>{const _0x4f1846=_0x4720f7,_0x3a9ac2=_0x4f1846(0x118)+_0x58e32a[_0x4f1846(0xaf)],_0x32e9a7=_0x4f1846(0xcb)+_0x58e32a[_0x4f1846(0xaf)],_0x4278dc=_0x1c0762[_0x4f1846(0xe8)][_0x4f1846(0xf7)][_0x4f1846(0xd8)](_0x3a9ac2);_0x1c0762[_0x4f1846(0xba)][_0x4f1846(0xd5)][_0x4f1846(0xfb)]?J(_0x58e32a[_0x4f1846(0xaf)],_0x259601[_0x4f1846(0xbf)][_0x4f1846(0x123)](),_0x1c0762[_0x4f1846(0xe8)],_0x409fb6):_0x4278dc&&(_0x409fb6[_0x4f1846(0xe3)](_0x3a9ac2),_0x409fb6[_0x4f1846(0xe3)](_0x32e9a7));});}}function J(_0x5508df,_0x3decf3,_0x5960b3,_0x4d0d93){const _0x2bd536=_0x53d8b5,_0xfd51e6=_0x2bd536(0x118)+_0x5508df,_0x532829=_0x2bd536(0xcb)+_0x5508df,_0x4f8b78=_0x3decf3[_0x2bd536(0x11f)]();let _0x60f9f=_0x3decf3[_0x2bd536(0x10a)];if(_0x4f8b78&&_0x4f8b78['is'](_0x2bd536(0xa9),_0x2bd536(0xbb))){const _0x2f4020=function(_0x596a65,_0xf13b2){const _0x23b486=_0x2bd536;for(const _0x171553 of _0x596a65[_0x23b486(0xc2)]())if(_0xf13b2[_0x23b486(0xc7)][_0x23b486(0xf6)](_0x171553,_0x23b486(0xa1)))return _0x171553;}(_0x3decf3,_0x5960b3);_0x2f4020&&(_0x60f9f=_0x2f4020,_0x3decf3=_0x4d0d93[_0x2bd536(0xec)](_0x60f9f));}const _0x3de607=_0x4d0d93[_0x2bd536(0xec)](_0x60f9f);_0x5960b3[_0x2bd536(0xf7)][_0x2bd536(0xd8)](_0xfd51e6)?(_0x4d0d93[_0x2bd536(0x10f)](_0xfd51e6,{'range':_0x3decf3}),_0x4d0d93[_0x2bd536(0x10f)](_0x532829,{'range':_0x3de607})):(_0x4d0d93[_0x2bd536(0xf5)](_0xfd51e6,{'range':_0x3decf3,'usingOperation':!0x0}),_0x4d0d93[_0x2bd536(0xf5)](_0x532829,{'range':_0x3de607,'usingOperation':!0x0}));}
23
+ const _0x12fba5=_0x12bc;(function(_0x47e7d9,_0x31cdfc){const _0x5932eb=_0x12bc,_0x10e266=_0x47e7d9();while(!![]){try{const _0x5a1f7b=parseInt(_0x5932eb(0x202))/0x1+parseInt(_0x5932eb(0x1e2))/0x2*(parseInt(_0x5932eb(0x1ce))/0x3)+-parseInt(_0x5932eb(0x1f6))/0x4*(-parseInt(_0x5932eb(0x1d6))/0x5)+-parseInt(_0x5932eb(0x1e5))/0x6+parseInt(_0x5932eb(0x235))/0x7+parseInt(_0x5932eb(0x1de))/0x8+-parseInt(_0x5932eb(0x1d4))/0x9*(parseInt(_0x5932eb(0x1c6))/0xa);if(_0x5a1f7b===_0x31cdfc)break;else _0x10e266['push'](_0x10e266['shift']());}catch(_0x3519ca){_0x10e266['push'](_0x10e266['shift']());}}}(_0x1e4b,0x50248));import{Plugin as _0x5071db}from'ckeditor5/src/core.js';function _0x12bc(_0x1c195c,_0x10dd4d){const _0x1e4b48=_0x1e4b();return _0x12bc=function(_0x12bcf0,_0x3226e1){_0x12bcf0=_0x12bcf0-0x1ad;let _0x55aaf3=_0x1e4b48[_0x12bcf0];return _0x55aaf3;},_0x12bc(_0x1c195c,_0x10dd4d);}import{global as _0x337863,DomEmitterMixin as _0x3d92bc}from'ckeditor5/src/utils.js';import{Sessions as _0x5d21ec}from'./sessions.js';import{ModelLiveRange as _0x43d3c2}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x1e4b(){const _0x29438b=['batch','reconvertMarker','createUIElement','getUserBySessionId','markerRange','user:position','markerName','requires','removeMarker','addMarker','view','fromRange','tableCell','document','createRange','init','keydown','selection','isInline','setAttribute','end','outerHTML','update:user:range','getPositions','enqueueChange','isDocumentOperation','isCollapsed','Escape','classList','color','start','add','set','deletionPosition','listenTo','toDomElement','isLimit','getAttribute','markerNameToElements','markerToElement','markers','applyOperation','orderNumber','contenteditable','getContainedElement','2011842FOYwjF','root','updateMarker','type','textContent','innerHTML','user:range','get','mouseenter','undo','detach','model','parent','ck-user__marker_hovered','delete','UserMarkers','data-session-id','hasContent','mySessionId','removeClass','spellcheck','isPremiumPlugin','mouseleave','getFirstRange','user:range:','marker','oldRange','has','90dwxFtc','clear','checkChild','isSimilar','ck-user__marker\x20','userPositionMarker','remove','getNearestSelectionRange','6684xSqOVd','change','getCustomProperty','schema','size','stopListening','1461501BXYQGF','span','135YWULJH','false','getMarkerClass','isOfficialPlugin','_createdBatches','ck-user__marker-tooltip','pluginName','destroy','1919232DizMlZ','render','$graveyard','conversion','156BGDWxZ','afterInit','hasDomSelection','514260VppFuc','createElement','mapper','editingDowncast','getSelectionClass','user:','$text','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','highest','getStart','toRange','isObject','editing','_domEmitter','createUserMarkerOperations','addEventListener','getRange','83416JhthTX','setCustomProperty','commands','plugins','for','newRange','startsWith','editor','rootName','nodeAfter','ck-user__selection','markerToHighlight','611323zVMdYO','split','change:range','name','user:position:','element'];_0x1e4b=function(){return _0x29438b;};return _0x1e4b();}export class UserMarkers extends _0x5071db{[_0x12fba5(0x1f2)]=new(_0x3d92bc())();static get[_0x12fba5(0x20f)](){return[_0x5d21ec];}static get[_0x12fba5(0x1dc)](){const _0x1a61ac=_0x12fba5;return _0x1a61ac(0x1b9);}static get[_0x12fba5(0x1d9)](){return!0x0;}static get[_0x12fba5(0x1bf)](){return!0x0;}[_0x12fba5(0x217)](){const _0x1227ad=_0x12fba5,_0x4d42b0=this[_0x1227ad(0x1fd)],_0x19a118=_0x4d42b0[_0x1227ad(0x1f9)][_0x1227ad(0x1b1)](_0x5d21ec);_0x4d42b0[_0x1227ad(0x1e1)][_0x1227ad(0x1fa)](_0x1227ad(0x1e8))[_0x1227ad(0x22f)]({'model':_0x1227ad(0x20d),'view':(_0x50f405,{writer:_0x597631})=>function(_0x4e0e3d,_0x1d107a,_0x20f9ae,_0x274158){const _0x20bb62=_0x1227ad,_0x306cd9=_0x4e0e3d[_0x20bb62(0x20e)][_0x20bb62(0x203)](':')[0x2],_0x238e11=_0x20f9ae[_0x20bb62(0x20b)](_0x306cd9);if(!_0x238e11||_0x306cd9===_0x20f9ae[_0x20bb62(0x1bc)])return;if(!_0x274158[_0x20bb62(0x1b5)][_0x20bb62(0x1d1)][_0x20bb62(0x1c8)](_0x4e0e3d[_0x20bb62(0x20c)][_0x20bb62(0x226)],_0x20bb62(0x1eb)))return;const _0x4e16b1={'class':_0x20bb62(0x1ca)+_0x238e11[_0x20bb62(0x225)][_0x20bb62(0x1d8)](),'data-name':_0x238e11[_0x20bb62(0x205)],'data-session-id':_0x306cd9},_0x540b7b=_0x274158[_0x20bb62(0x1b5)][_0x20bb62(0x230)][_0x20bb62(0x1b1)](_0x4e0e3d[_0x20bb62(0x20e)]),_0x99b498=_0x540b7b[_0x20bb62(0x1ee)](),_0x254c52=_0x99b498[_0x20bb62(0x1ff)],_0x36ee20=_0x274158[_0x20bb62(0x1b5)][_0x20bb62(0x1d1)];if(_0x254c52&&_0x36ee20[_0x20bb62(0x1f0)](_0x254c52)&&_0x36ee20[_0x20bb62(0x21a)](_0x254c52)&&!_0x274158[_0x20bb62(0x1b5)][_0x20bb62(0x230)][_0x20bb62(0x1b1)](_0x20bb62(0x1c2)+_0x306cd9)[_0x20bb62(0x1f5)]()[_0x20bb62(0x222)])return;const _0x1474c1=_0x99b498[_0x20bb62(0x1b6)];return _0x274158[_0x20bb62(0x1b5)][_0x20bb62(0x1d1)][_0x20bb62(0x22c)](_0x1474c1)&&!_0x274158[_0x20bb62(0x1b5)][_0x20bb62(0x1bb)](_0x1474c1)&&(_0x4e16b1[_0x20bb62(0x233)]=!0x1),function(_0x440d5e,_0x59beb1,_0x152439){const _0x5f06e8=_0x20bb62,_0x495f04=_0x440d5e[_0x5f06e8(0x20a)](_0x5f06e8(0x1d5),_0x59beb1);return _0x440d5e[_0x5f06e8(0x1f7)](_0x5f06e8(0x1cb),!0x0,_0x495f04),_0x495f04[_0x5f06e8(0x1df)]=function(_0x25ab18){const _0x331672=_0x5f06e8,_0x2ef61a=this[_0x331672(0x22b)](_0x25ab18),_0x237348=document[_0x331672(0x1e6)](_0x331672(0x1d5));return _0x237348[_0x331672(0x224)][_0x331672(0x227)](_0x331672(0x1db)),_0x237348[_0x331672(0x21b)](_0x331672(0x233),_0x331672(0x1d7)),_0x237348[_0x331672(0x21b)](_0x331672(0x1be),_0x331672(0x1d7)),_0x237348[_0x331672(0x1ae)]=_0x152439[_0x331672(0x205)],_0x2ef61a[_0x331672(0x1af)]=_0x331672(0x1ec)+_0x237348[_0x331672(0x21d)]+'⁠',_0x2ef61a[_0x331672(0x1f4)](_0x331672(0x1b2),()=>{const _0x499f15=_0x331672;_0x2ef61a[_0x499f15(0x224)][_0x499f15(0x227)](_0x499f15(0x1b7));}),_0x2ef61a[_0x331672(0x1f4)](_0x331672(0x1c0),()=>{const _0x4bea14=_0x331672;_0x2ef61a[_0x4bea14(0x224)][_0x4bea14(0x1cc)](_0x4bea14(0x1b7));}),_0x2ef61a;},_0x495f04[_0x5f06e8(0x1c9)]=function(_0x40387c){const _0x26a9e2=_0x5f06e8;return!(!this[_0x26a9e2(0x1d0)](_0x26a9e2(0x1cb))||!_0x40387c[_0x26a9e2(0x1d0)](_0x26a9e2(0x1cb))||this[_0x26a9e2(0x22d)](_0x26a9e2(0x1ba))!=_0x40387c[_0x26a9e2(0x22d)](_0x26a9e2(0x1ba)));},_0x495f04;}(_0x1d107a,_0x4e16b1,_0x238e11);}(_0x50f405,_0x597631,_0x19a118,_0x4d42b0)}),_0x4d42b0[_0x1227ad(0x1e1)][_0x1227ad(0x1fa)](_0x1227ad(0x1e8))[_0x1227ad(0x201)]({'model':_0x1227ad(0x1b0),'view':_0x463e87=>function(_0xa6346d,_0x17724d){const _0x34fa08=_0x1227ad,_0x51fcc9=_0xa6346d[_0x34fa08(0x20e)][_0x34fa08(0x203)](':')[0x2];if(_0x51fcc9===_0x17724d[_0x34fa08(0x1bc)])return null;const _0xfff2e3=_0x17724d[_0x34fa08(0x20b)](_0x51fcc9);if(!_0xfff2e3)return{'id':_0x51fcc9,'classes':[]};return{'id':_0x51fcc9,'classes':[_0x34fa08(0x200),_0xfff2e3[_0x34fa08(0x225)][_0x34fa08(0x1e9)]()],'attributes':{'data-session-id':_0x51fcc9},'priority':0x7d0+_0xfff2e3[_0x34fa08(0x232)]};}(_0x463e87,_0x19a118)}),function(_0x28ef6b){const _0x493861=_0x1227ad,_0x570aa0=_0x28ef6b[_0x493861(0x1b5)],_0x38e1d4=new Map(),_0x51904d=_0x28ef6b[_0x493861(0x1f9)][_0x493861(0x1b1)](_0x5d21ec);_0x570aa0[_0x493861(0x230)]['on'](_0x493861(0x21e),(_0x12f364,_0xb97e5e,_0x34664a,_0x408ba8)=>{const _0x3e0255=_0x493861;if(!_0x408ba8&&_0x38e1d4[_0x3e0255(0x1b1)](_0xb97e5e[_0x3e0255(0x205)]))return _0x38e1d4[_0x3e0255(0x1b1)](_0xb97e5e[_0x3e0255(0x205)])[_0x3e0255(0x1b4)](),void _0x38e1d4[_0x3e0255(0x1b8)](_0xb97e5e[_0x3e0255(0x205)]);const _0x2e62cf=_0xb97e5e[_0x3e0255(0x205)][_0x3e0255(0x203)](':')[0x2];if(_0x2e62cf===_0x51904d[_0x3e0255(0x1bc)])return;const _0x409ce2=_0x3e0255(0x206)+_0x2e62cf;_0x570aa0[_0x3e0255(0x230)][_0x3e0255(0x1c5)](_0x409ce2)&&_0x28ef6b[_0x3e0255(0x1f1)][_0x3e0255(0x209)](_0x409ce2),_0xb97e5e['on'](_0x3e0255(0x204),(_0x3a2552,_0x4d6571,_0x38c5e9)=>{const _0x1cfaf8=_0x3e0255;if(_0x1cfaf8(0x1e0)!=_0x4d6571[_0x1cfaf8(0x236)][_0x1cfaf8(0x1fe)]&&_0x1cfaf8(0x1e0)==_0xb97e5e[_0x1cfaf8(0x1f5)]()[_0x1cfaf8(0x236)][_0x1cfaf8(0x1fe)]&&!_0x38e1d4[_0x1cfaf8(0x1c5)](_0xb97e5e[_0x1cfaf8(0x205)])){const _0x1ff9d1=_0x570aa0[_0x1cfaf8(0x1d1)][_0x1cfaf8(0x1cd)](_0x38c5e9[_0x1cfaf8(0x229)]);if(_0x1ff9d1){const _0x27de0e=_0x43d3c2[_0x1cfaf8(0x213)](_0x1ff9d1);_0x38e1d4[_0x1cfaf8(0x228)](_0xb97e5e[_0x1cfaf8(0x205)],_0x27de0e),_0x27de0e['on'](_0x1cfaf8(0x204),(_0x548d91,_0x2fc64c,_0xdadad8)=>{const _0x3f13d6=_0x1cfaf8;if(_0x3f13d6(0x1e0)==_0x27de0e[_0x3f13d6(0x236)][_0x3f13d6(0x1fe)]){const _0x28652f=_0x570aa0[_0x3f13d6(0x1d1)][_0x3f13d6(0x1cd)](_0xdadad8[_0x3f13d6(0x229)]);_0x28652f?(_0x27de0e[_0x3f13d6(0x226)]=_0x28652f[_0x3f13d6(0x226)],_0x27de0e[_0x3f13d6(0x21c)]=_0x28652f[_0x3f13d6(0x21c)]):(_0x38e1d4[_0x3f13d6(0x1b8)](_0xb97e5e[_0x3f13d6(0x205)]),_0x27de0e[_0x3f13d6(0x1b4)]());}});}}});}),_0x570aa0[_0x493861(0x215)]['on'](_0x493861(0x1cf),()=>{const _0x5ef83c=_0x493861;_0x38e1d4[_0x5ef83c(0x1d2)]>0x0&&_0x570aa0[_0x5ef83c(0x220)]({'isUndoable':!0x1},_0x2703ee=>{const _0x5ac35e=_0x5ef83c;for(const [_0x3f60e1,_0x4e1e87]of _0x38e1d4)_0x5ac35e(0x1e0)==_0x570aa0[_0x5ac35e(0x230)][_0x5ac35e(0x1b1)](_0x3f60e1)[_0x5ac35e(0x1f5)]()[_0x5ac35e(0x236)][_0x5ac35e(0x1fe)]&&(G(_0x3f60e1[_0x5ac35e(0x203)](':')[0x2],_0x4e1e87[_0x5ac35e(0x1ef)](),_0x570aa0,_0x2703ee),_0x4e1e87[_0x5ac35e(0x1b4)]());_0x38e1d4[_0x5ac35e(0x1c7)]();});});}(_0x4d42b0),this[_0x1227ad(0x1f2)][_0x1227ad(0x22a)](_0x337863[_0x1227ad(0x215)],_0x1227ad(0x218),(_0x2c2e66,{key:_0x127e55})=>{const _0xad3504=_0x1227ad;_0xad3504(0x223)===_0x127e55&&function(_0x3f1abc){const _0x4b31ca=_0xad3504;_0x3f1abc[_0x4b31ca(0x1f1)][_0x4b31ca(0x212)][_0x4b31ca(0x1cf)](_0x7d5c5=>{const _0x466abb=_0x4b31ca;for(const _0x421008 of _0x3f1abc[_0x466abb(0x1b5)][_0x466abb(0x230)]){if(!_0x421008[_0x466abb(0x205)][_0x466abb(0x1fc)](_0x466abb(0x20d)))continue;const _0x192c78=_0x3f1abc[_0x466abb(0x1f1)][_0x466abb(0x1e7)][_0x466abb(0x22e)](_0x421008[_0x466abb(0x205)]);if(_0x192c78){for(const _0x2bc986 of _0x192c78)_0x7d5c5[_0x466abb(0x1bd)](_0x466abb(0x1b7),_0x2bc986);}}});}(_0x4d42b0);},{'useCapture':!0x0});}[_0x12fba5(0x1e3)](){const _0x205173=_0x12fba5,_0x225158=this[_0x205173(0x1fd)],_0x3fb48b=_0x225158[_0x205173(0x1f8)][_0x205173(0x1b1)](_0x205173(0x1b3));_0x3fb48b&&_0x225158[_0x205173(0x1b5)]['on'](_0x205173(0x231),(_0x23382f,_0x149202)=>{const _0x40e6ff=_0x205173,_0x589d01=_0x149202[0x0];if(!_0x589d01[_0x40e6ff(0x221)])return;if(_0x40e6ff(0x1c3)!=_0x589d01[_0x40e6ff(0x1ad)]||!_0x589d01[_0x40e6ff(0x205)][_0x40e6ff(0x1fc)](_0x40e6ff(0x1ea)))return;const _0x45c8a8=_0x589d01[_0x40e6ff(0x208)];_0x3fb48b[_0x40e6ff(0x1da)][_0x40e6ff(0x1c5)](_0x45c8a8)&&(_0x589d01[_0x40e6ff(0x1fb)]=_0x589d01[_0x40e6ff(0x1c4)]?_0x225158[_0x40e6ff(0x1b5)][_0x40e6ff(0x216)](_0x589d01[_0x40e6ff(0x1c4)][_0x40e6ff(0x226)],_0x589d01[_0x40e6ff(0x1c4)][_0x40e6ff(0x21c)]):null);},{'priority':_0x205173(0x1ed)});}[_0x12fba5(0x1dd)](){const _0xf62c05=_0x12fba5;return this[_0xf62c05(0x1f2)][_0xf62c05(0x1d3)](),super[_0xf62c05(0x1dd)]();}[_0x12fba5(0x1f3)](){const _0x141a9c=_0x12fba5,_0x498dac=this[_0x141a9c(0x1fd)],_0xd1baff=_0x498dac[_0x141a9c(0x1b5)][_0x141a9c(0x215)],_0x559f82=_0x498dac[_0x141a9c(0x1f9)][_0x141a9c(0x1b1)](_0x5d21ec);_0x498dac[_0x141a9c(0x1b5)][_0x141a9c(0x220)]({'isUndoable':!0x1},_0x2d645c=>{const _0x4358bd=_0x141a9c,_0x28af5d=_0x4358bd(0x1c2)+_0x559f82[_0x4358bd(0x1bc)],_0x1998e0=_0x4358bd(0x206)+_0x559f82[_0x4358bd(0x1bc)],_0x34bde2=_0x498dac[_0x4358bd(0x1b5)][_0x4358bd(0x230)][_0x4358bd(0x1c5)](_0x28af5d);_0x498dac[_0x4358bd(0x1f1)][_0x4358bd(0x212)][_0x4358bd(0x1e4)]?G(_0x559f82[_0x4358bd(0x1bc)],_0xd1baff[_0x4358bd(0x219)][_0x4358bd(0x1c1)](),_0x498dac[_0x4358bd(0x1b5)],_0x2d645c):_0x34bde2&&(_0x2d645c[_0x4358bd(0x210)](_0x28af5d),_0x2d645c[_0x4358bd(0x210)](_0x1998e0));});}}function G(_0x240771,_0x22b6ab,_0x5cc73d,_0x1af846){const _0x2e021f=_0x12fba5,_0x36b506=_0x2e021f(0x1c2)+_0x240771,_0x4f7735=_0x2e021f(0x206)+_0x240771,_0x2fcb00=_0x22b6ab[_0x2e021f(0x234)]();let _0x530f90=_0x22b6ab[_0x2e021f(0x226)];if(_0x2fcb00&&_0x2fcb00['is'](_0x2e021f(0x207),_0x2e021f(0x214))){const _0x18aad3=function(_0x1119c5,_0x48eb94){const _0x48fe0c=_0x2e021f;for(const _0x49c797 of _0x1119c5[_0x48fe0c(0x21f)]())if(_0x48eb94[_0x48fe0c(0x1d1)][_0x48fe0c(0x1c8)](_0x49c797,_0x48fe0c(0x1eb)))return _0x49c797;}(_0x22b6ab,_0x5cc73d);_0x18aad3&&(_0x530f90=_0x18aad3,_0x22b6ab=_0x1af846[_0x2e021f(0x216)](_0x530f90));}const _0x4cd0f0=_0x1af846[_0x2e021f(0x216)](_0x530f90);_0x5cc73d[_0x2e021f(0x230)][_0x2e021f(0x1c5)](_0x36b506)?(_0x1af846[_0x2e021f(0x237)](_0x36b506,{'range':_0x22b6ab}),_0x1af846[_0x2e021f(0x237)](_0x4f7735,{'range':_0x4cd0f0})):(_0x1af846[_0x2e021f(0x211)](_0x36b506,{'range':_0x22b6ab,'usingOperation':!0x0}),_0x1af846[_0x2e021f(0x211)](_0x4f7735,{'range':_0x4cd0f0,'usingOperation':!0x0}));}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2e03(){const _0x595f28=['catch','9757930gBzXfg','connected','20tMLQqN','delete','context','CONNECTING','change:me','from','initialReconnectionInterval','offline','cloudservices-reconnection-error','9834100QfKXLt','1054tHudmm','isPremiumPlugin','constructor','state','connect','config','bind','all','removeFromReconnectionStack','error','5202312izjvSV','set','_reconnectionStack','showWarning','then','requires','addToReconnectionStack','_isBrowserOffline','CONNECTED','limitExceeded','destroy','_shouldPluginsReconnect','connection','WebSocketGateway','2453202gSYuiB','352490oBDkgV','online','websocketgateway-plugin-already-registered','listenTo','disconnect','reconnect','get','plugins','isInReconnectionStack','9cOPXgU','init','websocketgateway-missing-token','add','_reconnect','6412936NmjIbk','token','websocketgateway-invalid-plugin-interface','isOfficialPlugin','websocketgateway-missing-websocket-url','DISCONNECTED','stopListening','cloudServices.connectionTimeout','1369tTPwdO','Connected\x20users\x20limit\x20exceeded','function','code','has','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.','CloudServices','pluginName','webSocketUrl','cloudServices.requestTimeout','cloudservices-init','define','_domEmitter','real-time-collaboration'];_0x2e03=function(){return _0x595f28;};return _0x2e03();}const _0xe473c3=_0x525f;(function(_0x1fad17,_0x455a35){const _0x4d3ad9=_0x525f,_0x48cda8=_0x1fad17();while(!![]){try{const _0x3df9f3=-parseInt(_0x4d3ad9(0x81))/0x1*(-parseInt(_0x4d3ad9(0x9c))/0x2)+-parseInt(_0x4d3ad9(0xb4))/0x3+-parseInt(_0x4d3ad9(0x92))/0x4*(-parseInt(_0x4d3ad9(0xb5))/0x5)+parseInt(_0x4d3ad9(0xa6))/0x6+parseInt(_0x4d3ad9(0x90))/0x7+parseInt(_0x4d3ad9(0x79))/0x8*(-parseInt(_0x4d3ad9(0x74))/0x9)+-parseInt(_0x4d3ad9(0x9b))/0xa;if(_0x3df9f3===_0x455a35)break;else _0x48cda8['push'](_0x48cda8['shift']());}catch(_0x10599e){_0x48cda8['push'](_0x48cda8['shift']());}}}(_0x2e03,0xb2c4a));import{ContextPlugin as _0x558284}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x352a88,CKEditorError as _0x586775}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x547774,WEB_SOCKET_GATEWAY_STATES as _0x21012b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x525f(_0x49feae,_0x282e72){const _0x2e0314=_0x2e03();return _0x525f=function(_0x525f22,_0x648659){_0x525f22=_0x525f22-0x6d;let _0x5ad462=_0x2e0314[_0x525f22];return _0x5ad462;},_0x525f(_0x49feae,_0x282e72);}import{Notification as _0x4a04ad}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x558284{static [_0xe473c3(0xb3)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x547774)());static [_0xe473c3(0x98)]=0x3e8;[_0xe473c3(0xb2)];[_0xe473c3(0xa8)];[_0xe473c3(0xb1)];[_0xe473c3(0x8d)];static get[_0xe473c3(0xab)](){const _0x3c1ab0=_0xe473c3;return[_0x3c1ab0(0x87),_0x4a04ad];}static get[_0xe473c3(0x88)](){const _0x2c624d=_0xe473c3;return _0x2c624d(0xb3);}static get[_0xe473c3(0x7c)](){return!0x0;}static get[_0xe473c3(0x9d)](){return!0x0;}constructor(_0x1ed204){const _0x529a79=_0xe473c3;super(_0x1ed204),this[_0x529a79(0xa7)](_0x529a79(0x9f),_0x21012b[_0x529a79(0xae)]),this[_0x529a79(0xa7)](_0x529a79(0xad),!0x1),this[_0x529a79(0xa8)]=new Set(),this[_0x529a79(0xb1)]=!0x1,this[_0x529a79(0x8d)]=new(_0x352a88())();}[_0xe473c3(0x75)](){const _0x4ef965=_0xe473c3,_0x57e3d9=this[_0x4ef965(0x94)],_0x55d3a6=_0x57e3d9[_0x4ef965(0x72)][_0x4ef965(0x71)](_0x4ef965(0x87)),_0x5e359c=_0x57e3d9[_0x4ef965(0x72)][_0x4ef965(0x71)](_0x4a04ad);if(!_0x55d3a6[_0x4ef965(0x7a)])throw new _0x586775(_0x4ef965(0x76),this);if(!_0x55d3a6[_0x4ef965(0x89)])throw new _0x586775(_0x4ef965(0x7d),this);return this[_0x4ef965(0x8d)][_0x4ef965(0x6e)](window,_0x4ef965(0x99),()=>this[_0x4ef965(0xad)]=!0x0),this[_0x4ef965(0x8d)][_0x4ef965(0x6e)](window,_0x4ef965(0xb6),()=>this[_0x4ef965(0xad)]=!0x1),this[_0x4ef965(0x94)][_0x4ef965(0xa1)][_0x4ef965(0x8c)](_0x4ef965(0x80),0xa),this[_0x4ef965(0x94)][_0x4ef965(0xa1)][_0x4ef965(0x8c)](_0x4ef965(0x8a),0x14),WebSocketGateway[_0x4ef965(0xb3)][_0x4ef965(0xa0)](_0x55d3a6[_0x4ef965(0x7a)],_0x55d3a6[_0x4ef965(0x89)],{'timeout':0x3e8*this[_0x4ef965(0x94)][_0x4ef965(0xa1)][_0x4ef965(0x71)](_0x4ef965(0x80)),'requestTimeout':0x3e8*this[_0x4ef965(0x94)][_0x4ef965(0xa1)][_0x4ef965(0x71)](_0x4ef965(0x8a))})[_0x4ef965(0xaa)](_0x5a9247=>{const _0x446e33=_0x4ef965;if(this[_0x446e33(0xb2)]=_0x5a9247,this[_0x446e33(0xa2)](_0x446e33(0x9f))['to'](_0x5a9247,_0x446e33(0x9f),this,_0x446e33(0xad),(_0xc5182d,_0x842f92)=>(_0x446e33(0x91)!==_0xc5182d&&(this[_0x446e33(0xb1)]=!0x0),_0x842f92||_0xc5182d!==_0x21012b[_0x446e33(0xae)]?_0x21012b[_0x446e33(0x7e)]:this[_0x446e33(0x9f)]==_0x21012b[_0x446e33(0x7e)]&&this[_0x446e33(0xb1)]?(this[_0x446e33(0xb1)]=!0x1,this[_0x446e33(0x78)](),_0x21012b[_0x446e33(0x95)]):_0x21012b[_0x446e33(0xae)])),this[_0x446e33(0xb2)]['on'](_0x446e33(0xa5),(_0x3c617a,_0x39a7ad)=>{const _0x7aa381=_0x446e33;if(_0x7aa381(0xaf)!==_0x39a7ad[_0x7aa381(0x84)])throw console[_0x7aa381(0xa5)](_0x39a7ad),new _0x586775(_0x7aa381(0x8b),null,{'originalError':_0x39a7ad});_0x5e359c[_0x7aa381(0xa9)](_0x7aa381(0x86),{'title':_0x7aa381(0x82),'namespace':_0x7aa381(0x8e)});}),!_0x5a9247['me'])return new Promise(_0x13fab6=>_0x5a9247['on'](_0x446e33(0x96),_0x13fab6));})[_0x4ef965(0x8f)](_0x7be79f=>{const _0x1e7d0c=_0x4ef965;throw console[_0x1e7d0c(0xa5)](_0x7be79f),new _0x586775(_0x1e7d0c(0x8b),null,{'originalError':_0x7be79f});});}[_0xe473c3(0xac)](_0x12c03f){const _0x115edf=_0xe473c3;if(_0x115edf(0x83)!=typeof _0x12c03f[_0x115edf(0x70)])throw new _0x586775(_0x115edf(0x7b),this);if(this[_0x115edf(0x73)](_0x12c03f))throw new _0x586775(_0x115edf(0x6d),this,{'name':_0x12c03f[_0x115edf(0x9e)][_0x115edf(0x88)]});this[_0x115edf(0xa8)][_0x115edf(0x77)](_0x12c03f);}[_0xe473c3(0xa4)](_0x4235d3){const _0x53ac55=_0xe473c3;this[_0x53ac55(0xa8)][_0x53ac55(0x93)](_0x4235d3);}[_0xe473c3(0x73)](_0x7f71c5){const _0x2cd31d=_0xe473c3;return this[_0x2cd31d(0xa8)][_0x2cd31d(0x85)](_0x7f71c5);}[_0xe473c3(0x78)](){const _0x26ba70=_0xe473c3;return this[_0x26ba70(0xb2)][_0x26ba70(0x70)]()[_0x26ba70(0xaa)](()=>Promise[_0x26ba70(0xa3)](Array[_0x26ba70(0x97)](this[_0x26ba70(0xa8)],_0x21b8e4=>_0x21b8e4[_0x26ba70(0x70)]())))[_0x26ba70(0xaa)](()=>this[_0x26ba70(0x9f)]=_0x21012b[_0x26ba70(0xae)])[_0x26ba70(0x8f)](_0x4a299f=>{const _0x3d2678=_0x26ba70;throw console[_0x3d2678(0xa5)](_0x4a299f),new _0x586775(_0x3d2678(0x9a),this[_0x3d2678(0x94)]);});}[_0xe473c3(0x6f)](){const _0x5f2b96=_0xe473c3;this[_0x5f2b96(0xb2)]&&this[_0x5f2b96(0xb2)][_0x5f2b96(0x6f)](),this[_0x5f2b96(0x9f)]=_0x21012b[_0x5f2b96(0x7e)],this[_0x5f2b96(0x8d)][_0x5f2b96(0x7f)]();}[_0xe473c3(0xb0)](){const _0x2df56a=_0xe473c3;this[_0x2df56a(0x6f)](),super[_0x2df56a(0xb0)]();}}
23
+ function _0x171e(){const _0x226bf8=['constructor','343731EukTCB','751797mbKCSE','connected','DISCONNECTED','requires','has','offline','disconnect','limitExceeded','_shouldPluginsReconnect','showWarning','8SeOuid','238658Gydwpj','reconnect','from','add','code','all','websocketgateway-plugin-already-registered','websocketgateway-missing-token','Connected\x20users\x20limit\x20exceeded','config','WebSocketGateway','delete','connect','pluginName','get','cloudServices.requestTimeout','removeFromReconnectionStack','isOfficialPlugin','websocketgateway-invalid-plugin-interface','2zQsRkZ','33QtXWzO','addToReconnectionStack','cloudservices-reconnection-error','104zwuPkC','then','websocketgateway-missing-websocket-url','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.','198648ChSTBH','change:me','init','130cIjLTR','bind','context','state','set','listenTo','function','_reconnectionStack','_domEmitter','isInReconnectionStack','error','6743796rgrehy','initialReconnectionInterval','2414438QKbWTT','cloudservices-init','catch','cloudServices.connectionTimeout','online','plugins','define','webSocketUrl','160XlHPYo','CONNECTED','_reconnect','CloudServices','_isBrowserOffline','isPremiumPlugin','CONNECTING','stopListening','real-time-collaboration','destroy','token','908060VKAROD','connection'];_0x171e=function(){return _0x226bf8;};return _0x171e();}const _0x353845=_0x2164;function _0x2164(_0x374172,_0x3b551e){const _0x171e88=_0x171e();return _0x2164=function(_0x2164a7,_0x41b330){_0x2164a7=_0x2164a7-0x81;let _0x160332=_0x171e88[_0x2164a7];return _0x160332;},_0x2164(_0x374172,_0x3b551e);}(function(_0x3c3977,_0x1a86ad){const _0x4ff33c=_0x2164,_0x1a9e5c=_0x3c3977();while(!![]){try{const _0x258b59=-parseInt(_0x4ff33c(0xbb))/0x1*(parseInt(_0x4ff33c(0x99))/0x2)+parseInt(_0x4ff33c(0x9c))/0x3*(parseInt(_0x4ff33c(0xa7))/0x4)+parseInt(_0x4ff33c(0xc6))/0x5*(-parseInt(_0x4ff33c(0xc3))/0x6)+-parseInt(_0x4ff33c(0xa8))/0x7*(parseInt(_0x4ff33c(0xbf))/0x8)+parseInt(_0x4ff33c(0x9d))/0x9*(parseInt(_0x4ff33c(0x8e))/0xa)+parseInt(_0x4ff33c(0xbc))/0xb*(parseInt(_0x4ff33c(0x84))/0xc)+-parseInt(_0x4ff33c(0x86))/0xd;if(_0x258b59===_0x1a86ad)break;else _0x1a9e5c['push'](_0x1a9e5c['shift']());}catch(_0x3ee77a){_0x1a9e5c['push'](_0x1a9e5c['shift']());}}}(_0x171e,0xd0737));import{ContextPlugin as _0x17eefa}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x3bfd41,CKEditorError as _0x7585ee}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x51b9f5,WEB_SOCKET_GATEWAY_STATES as _0x2b3e5e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x483eea}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x17eefa{static [_0x353845(0xb2)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x51b9f5)());static [_0x353845(0x85)]=0x3e8;[_0x353845(0x9a)];[_0x353845(0xcd)];[_0x353845(0xa5)];[_0x353845(0x81)];static get[_0x353845(0xa0)](){const _0x276230=_0x353845;return[_0x276230(0x91),_0x483eea];}static get[_0x353845(0xb5)](){const _0x19f876=_0x353845;return _0x19f876(0xb2);}static get[_0x353845(0xb9)](){return!0x0;}static get[_0x353845(0x93)](){return!0x0;}constructor(_0x3e26d3){const _0x40d400=_0x353845;super(_0x3e26d3),this[_0x40d400(0xca)](_0x40d400(0xc9),_0x2b3e5e[_0x40d400(0x8f)]),this[_0x40d400(0xca)](_0x40d400(0x92),!0x1),this[_0x40d400(0xcd)]=new Set(),this[_0x40d400(0xa5)]=!0x1,this[_0x40d400(0x81)]=new(_0x3bfd41())();}[_0x353845(0xc5)](){const _0x196100=_0x353845,_0x2c8505=this[_0x196100(0xc8)],_0x51626a=_0x2c8505[_0x196100(0x8b)][_0x196100(0xb6)](_0x196100(0x91)),_0x4aefb4=_0x2c8505[_0x196100(0x8b)][_0x196100(0xb6)](_0x483eea);if(!_0x51626a[_0x196100(0x98)])throw new _0x7585ee(_0x196100(0xaf),this);if(!_0x51626a[_0x196100(0x8d)])throw new _0x7585ee(_0x196100(0xc1),this);return this[_0x196100(0x81)][_0x196100(0xcb)](window,_0x196100(0xa2),()=>this[_0x196100(0x92)]=!0x0),this[_0x196100(0x81)][_0x196100(0xcb)](window,_0x196100(0x8a),()=>this[_0x196100(0x92)]=!0x1),this[_0x196100(0xc8)][_0x196100(0xb1)][_0x196100(0x8c)](_0x196100(0x89),0xa),this[_0x196100(0xc8)][_0x196100(0xb1)][_0x196100(0x8c)](_0x196100(0xb7),0x14),WebSocketGateway[_0x196100(0xb2)][_0x196100(0xb4)](_0x51626a[_0x196100(0x98)],_0x51626a[_0x196100(0x8d)],{'timeout':0x3e8*this[_0x196100(0xc8)][_0x196100(0xb1)][_0x196100(0xb6)](_0x196100(0x89)),'requestTimeout':0x3e8*this[_0x196100(0xc8)][_0x196100(0xb1)][_0x196100(0xb6)](_0x196100(0xb7))})[_0x196100(0xc0)](_0x41e32c=>{const _0xd5ad7f=_0x196100;if(this[_0xd5ad7f(0x9a)]=_0x41e32c,this[_0xd5ad7f(0xc7)](_0xd5ad7f(0xc9))['to'](_0x41e32c,_0xd5ad7f(0xc9),this,_0xd5ad7f(0x92),(_0xf62170,_0x2332c9)=>(_0xd5ad7f(0x9e)!==_0xf62170&&(this[_0xd5ad7f(0xa5)]=!0x0),_0x2332c9||_0xf62170!==_0x2b3e5e[_0xd5ad7f(0x8f)]?_0x2b3e5e[_0xd5ad7f(0x9f)]:this[_0xd5ad7f(0xc9)]==_0x2b3e5e[_0xd5ad7f(0x9f)]&&this[_0xd5ad7f(0xa5)]?(this[_0xd5ad7f(0xa5)]=!0x1,this[_0xd5ad7f(0x90)](),_0x2b3e5e[_0xd5ad7f(0x94)]):_0x2b3e5e[_0xd5ad7f(0x8f)])),this[_0xd5ad7f(0x9a)]['on'](_0xd5ad7f(0x83),(_0x5b2716,_0x38c58d)=>{const _0x4103ac=_0xd5ad7f;if(_0x4103ac(0xa4)!==_0x38c58d[_0x4103ac(0xac)])throw console[_0x4103ac(0x83)](_0x38c58d),new _0x7585ee(_0x4103ac(0x87),null,{'originalError':_0x38c58d});_0x4aefb4[_0x4103ac(0xa6)](_0x4103ac(0xc2),{'title':_0x4103ac(0xb0),'namespace':_0x4103ac(0x96)});}),!_0x41e32c['me'])return new Promise(_0x332b38=>_0x41e32c['on'](_0xd5ad7f(0xc4),_0x332b38));})[_0x196100(0x88)](_0x238c31=>{const _0x16bfdf=_0x196100;throw console[_0x16bfdf(0x83)](_0x238c31),new _0x7585ee(_0x16bfdf(0x87),null,{'originalError':_0x238c31});});}[_0x353845(0xbd)](_0x1d0746){const _0x1e3af9=_0x353845;if(_0x1e3af9(0xcc)!=typeof _0x1d0746[_0x1e3af9(0xa9)])throw new _0x7585ee(_0x1e3af9(0xba),this);if(this[_0x1e3af9(0x82)](_0x1d0746))throw new _0x7585ee(_0x1e3af9(0xae),this,{'name':_0x1d0746[_0x1e3af9(0x9b)][_0x1e3af9(0xb5)]});this[_0x1e3af9(0xcd)][_0x1e3af9(0xab)](_0x1d0746);}[_0x353845(0xb8)](_0x51928e){const _0x4b9c7c=_0x353845;this[_0x4b9c7c(0xcd)][_0x4b9c7c(0xb3)](_0x51928e);}[_0x353845(0x82)](_0x5c8890){const _0x58a2b5=_0x353845;return this[_0x58a2b5(0xcd)][_0x58a2b5(0xa1)](_0x5c8890);}[_0x353845(0x90)](){const _0x28b40e=_0x353845;return this[_0x28b40e(0x9a)][_0x28b40e(0xa9)]()[_0x28b40e(0xc0)](()=>Promise[_0x28b40e(0xad)](Array[_0x28b40e(0xaa)](this[_0x28b40e(0xcd)],_0x112329=>_0x112329[_0x28b40e(0xa9)]())))[_0x28b40e(0xc0)](()=>this[_0x28b40e(0xc9)]=_0x2b3e5e[_0x28b40e(0x8f)])[_0x28b40e(0x88)](_0x14a477=>{const _0x333e20=_0x28b40e;throw console[_0x333e20(0x83)](_0x14a477),new _0x7585ee(_0x333e20(0xbe),this[_0x333e20(0xc8)]);});}[_0x353845(0xa3)](){const _0x4941bc=_0x353845;this[_0x4941bc(0x9a)]&&this[_0x4941bc(0x9a)][_0x4941bc(0xa3)](),this[_0x4941bc(0xc9)]=_0x2b3e5e[_0x4941bc(0x9f)],this[_0x4941bc(0x81)][_0x4941bc(0x95)]();}[_0x353845(0x97)](){const _0x3c1fad=_0x353845;this[_0x3c1fad(0xa3)](),super[_0x3c1fad(0x97)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x35e9(){const _0x29fbd0=['data','47686540OoMCIj','baseVersion','from','_bufferedUpdates','currentRevision','connected','isPremiumPlugin','reInit','code','_startingVersion','listenTo','getMany','has','_revisionHistoryService','2573268wHrdwR','CloudServicesRevisionHistoryAdapter','creatorId','50bgfIDe','bind','setSource','_getLatestVersion','_revisions','keys','sendBufferedUpdates','12403792ejceRJ','addUser','destroy','catch','length','change:_isConnected','_waitForServiceReady','_preventResendingRevisionData','diffData','wrongRequestId','reconnect','type','addToReconnectionStack','add','pluginName','_createCurrentRevision','_update','34420BqpNUQ','plugins','requires','editor','startsWith','RevisionHistoryService','affectsData','repository','_isConnected','_getLatestVersionFromServerOperations','_lastRequestId','message','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','14722875vhEVQC','marker','1104QZDiPR','getUser','adapter','1099104zIDPfu','CONNECTED','cloud-services-internal-error:\x20Request\x20timeout.','addRevisionData','RevisionTracker','cloud-services-internal-error:\x20Not\x20connected.','isBundleUploaded','isConnected','_revisionDataBuilder','_handleReconnectionError','state','off','change:_isPendingUpdate','7TjDNTS','size','_isPendingUpdate','sessionId','serverHistory','reverse','400','connection','authorsIds','_fetchMissingUsers','_offset','once','map','max','isEmptyCurrent','70139dnwqgP','getOperations','remove','getRevision','collaboration.channelId','RevisionHistory','revisionsUpdated','authors','get','then','fromVersion','getRevisions','_handleRevisionsUpdate','isOfficialPlugin','_fixRevision','_bufferUpdate','connect','cloudServices.bundleVersion','buildRevisionData','toVersion','setRevisionData','_revisionTracker','_oldOffset','init','isEnabled','createdAt','config','updateRevisions'];_0x35e9=function(){return _0x29fbd0;};return _0x35e9();}const _0x16189c=_0x5b42;(function(_0x1f077b,_0x9ca681){const _0x46982e=_0x5b42,_0x48a644=_0x1f077b();while(!![]){try{const _0x4d759f=-parseInt(_0x46982e(0x132))/0x1*(-parseInt(_0x46982e(0xec))/0x2)+-parseInt(_0x46982e(0xe9))/0x3+-parseInt(_0x46982e(0x116))/0x4+-parseInt(_0x46982e(0x104))/0x5*(parseInt(_0x46982e(0x113))/0x6)+parseInt(_0x46982e(0x123))/0x7*(-parseInt(_0x46982e(0xf3))/0x8)+-parseInt(_0x46982e(0x111))/0x9+parseInt(_0x46982e(0x14f))/0xa;if(_0x4d759f===_0x9ca681)break;else _0x48a644['push'](_0x48a644['shift']());}catch(_0x33478a){_0x48a644['push'](_0x48a644['shift']());}}}(_0x35e9,0xe4a90));import{Plugin as _0x470fbb}from'ckeditor5/src/core.js';import{version as _0x369651}from'ckeditor5/src/utils.js';function _0x5b42(_0x54ba61,_0x37188a){const _0x35e93f=_0x35e9();return _0x5b42=function(_0x5b4243,_0x5a834e){_0x5b4243=_0x5b4243-0xe8;let _0x3d9a2b=_0x35e93f[_0x5b4243];return _0x3d9a2b;},_0x5b42(_0x54ba61,_0x37188a);}import{Users as _0x57a8c2}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0xc6b2ab}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x3882e7}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x2fbe22}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x48504d,RevisionHistoryService as _0xc0fe86,User as _0x43679e,WEB_SOCKET_GATEWAY_STATES as _0x581211}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x470fbb{static [_0x16189c(0x109)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0xc0fe86)());[_0x16189c(0x10e)];[_0x16189c(0x147)];[_0x16189c(0xe8)];[_0x16189c(0x148)];static get[_0x16189c(0x106)](){const _0x48774a=_0x16189c;return[_0x3882e7,_0xc6b2ab,_0x48774a(0x137),_0x2fbe22,_0x57a8c2];}static get[_0x16189c(0x101)](){const _0x2e133a=_0x16189c;return _0x2e133a(0xea);}static get[_0x16189c(0x13f)](){return!0x0;}static get[_0x16189c(0x155)](){return!0x0;}constructor(_0x872973){const _0x4ca366=_0x16189c;super(_0x872973);const _0x432456=this[_0x4ca366(0x107)][_0x4ca366(0x14c)][_0x4ca366(0x13a)](_0x4ca366(0x136));this[_0x4ca366(0x10e)]=null,this[_0x4ca366(0x147)]=this[_0x4ca366(0x107)][_0x4ca366(0x105)][_0x4ca366(0x13a)](_0x4ca366(0x11a)),this[_0x4ca366(0xe8)]=new CloudServicesRevisionHistoryAdapter[(_0x4ca366(0x109))](_0x432456);}async[_0x16189c(0x149)](){const _0x1d848b=_0x16189c,_0x269899=this[_0x1d848b(0x107)][_0x1d848b(0x105)][_0x1d848b(0x13a)](_0xc6b2ab),_0x55a680=_0x269899[_0x1d848b(0x127)],_0x39d6ed=this[_0x1d848b(0x107)][_0x1d848b(0x105)][_0x1d848b(0x13a)](_0x3882e7);this[_0x1d848b(0x147)][_0x1d848b(0xee)]({'history':_0x55a680,'getLatestVersion':()=>this[_0x1d848b(0xef)](),'getCurrentRevisionId':()=>_0x269899[_0x1d848b(0x126)]});const _0x5dcc8a=this[_0x1d848b(0x107)][_0x1d848b(0x14c)][_0x1d848b(0x13a)](_0x1d848b(0x143))||_0x369651,_0x145882=await _0x48504d[_0x1d848b(0x11c)](_0x39d6ed[_0x1d848b(0x12a)],_0x5dcc8a);this[_0x1d848b(0x107)][_0x1d848b(0x105)][_0x1d848b(0x13a)](_0x1d848b(0x137))[_0x1d848b(0x115)]={'getRevision':async({revisionId:_0x540172})=>(await this[_0x1d848b(0xf9)](),await this[_0x1d848b(0xe8)][_0x1d848b(0x135)](_0x540172)),'updateRevisions':async _0x49dd8b=>{const _0x1e5d75=_0x1d848b;await this[_0x1e5d75(0xf9)]();const _0x3729b5=this[_0x1e5d75(0x147)][_0x1e5d75(0x153)];if(_0x145882&&0x1===_0x49dd8b[_0x1e5d75(0xf7)]&&_0x49dd8b[0x0]['id']===_0x3729b5['id'])return _0x49dd8b;for(const _0x3d0b73 of _0x49dd8b)_0x3d0b73['id']===_0x3729b5['id']&&(_0x3d0b73[_0x1e5d75(0x131)]=_0x3d0b73[_0x1e5d75(0x13c)]===_0x3d0b73[_0x1e5d75(0x145)]);return this[_0x1e5d75(0xe8)][_0x1e5d75(0x14d)](_0x49dd8b,this[_0x1e5d75(0x10e)])[_0x1e5d75(0x13b)](_0x3dea09=>(this[_0x1e5d75(0x10e)]=_0x3dea09,_0x49dd8b))[_0x1e5d75(0xf6)](_0x55d98d=>{const _0x2da52e=_0x1e5d75;if(b(_0x55d98d)||_0x2da52e(0x129)===_0x55d98d[_0x2da52e(0x157)]&&void 0x0!==_0x55d98d[_0x2da52e(0x14e)][_0x2da52e(0xfc)]){for(const _0xad2e71 of _0x49dd8b){!this[_0x2da52e(0x147)][_0x2da52e(0x10b)][_0x2da52e(0x135)](_0xad2e71['id'])||this[_0x2da52e(0x147)][_0x2da52e(0x141)](_0xad2e71['id'],_0xad2e71,!0x1);}if(b(_0x55d98d))throw _0x55d98d;return _0x49dd8b;}throw _0x55d98d;});}},this[_0x1d848b(0x159)](this[_0x1d848b(0xe8)],_0x1d848b(0x138),(_0x44b44f,{revisionsData:_0x515535,requestId:_0x3db5af})=>{const _0x2650ea=_0x1d848b;Math[_0x2650ea(0x130)](..._0x515535[_0x2650ea(0x12f)](_0x1582e6=>_0x1582e6[_0x2650ea(0x145)]))>this[_0x2650ea(0x10d)]()-0x1?this[_0x2650ea(0xef)]()[_0x2650ea(0x13b)](()=>{const _0x4500fd=_0x2650ea;this[_0x4500fd(0x13e)](_0x515535,_0x3db5af);}):this[_0x2650ea(0x13e)](_0x515535,_0x3db5af);});const {revisions:_0x4f375e,requestId:_0x3f2bfc}=await this[_0x1d848b(0xe8)][_0x1d848b(0x142)](_0x39d6ed[_0x1d848b(0x12a)]);_0x39d6ed[_0x1d848b(0xff)](this),this[_0x1d848b(0x10e)]=_0x3f2bfc,await this[_0x1d848b(0x12c)](_0x4f375e);for(const _0x4f5ad8 of _0x4f375e)this[_0x1d848b(0x147)][_0x1d848b(0x119)](_0x4f5ad8);this[_0x1d848b(0x159)](_0x269899,_0x1d848b(0xf8),(_0x43e60b,_0x18c3b1,_0x538c91)=>{const _0x1e4b08=_0x1d848b;_0x538c91&&(this[_0x1e4b08(0x148)]=_0x269899[_0x1e4b08(0x12d)],_0x43e60b[_0x1e4b08(0x121)]());}),this[_0x1d848b(0x147)][_0x1d848b(0xed)](_0x1d848b(0x14a))['to'](_0x39d6ed,_0x1d848b(0x120),_0x185220=>_0x185220===_0x581211[_0x1d848b(0x117)]);}async[_0x16189c(0xfd)](){const _0x345965=_0x16189c,_0xabc502=this[_0x345965(0x107)][_0x345965(0x105)][_0x345965(0x13a)](_0x3882e7),_0x11f551=this[_0x345965(0x107)][_0x345965(0x105)][_0x345965(0x13a)](_0xc6b2ab),_0x1ff95d=async()=>{const _0x587a8d=_0x345965,_0x13ab51=this[_0x587a8d(0x147)][_0x587a8d(0x153)],_0x493648=_0x13ab51['id'],_0x1dd666=_0x493648!==_0x11f551[_0x587a8d(0x126)];if(_0x1dd666){const _0x4478c9=_0x11f551[_0x587a8d(0x12d)]-this[_0x587a8d(0x148)],_0x4487cf=this[_0x587a8d(0x10d)]();this[_0x587a8d(0x147)][_0x587a8d(0x11e)][_0x587a8d(0x156)]();if(_0x13ab51[_0x587a8d(0x145)]+_0x4478c9!==_0x4487cf){const _0x324897=_0x13ab51[_0x587a8d(0x13c)]+_0x4478c9,_0x29600c=this[_0x587a8d(0x107)][_0x587a8d(0x105)][_0x587a8d(0x13a)](_0x57a8c2),_0x3f2d40=this[_0x587a8d(0x147)][_0x587a8d(0x144)]({'revision':_0x13ab51,'from':_0x324897,'to':_0x4487cf});_0x3f2d40['id']=_0x13ab51['id'];const _0xbfd798=_0x3f2d40[_0x587a8d(0x12b)][_0x587a8d(0x12f)](_0x91f8cc=>_0x29600c[_0x587a8d(0x114)](_0x91f8cc));_0x13ab51[_0x587a8d(0x103)]({..._0x3f2d40,'authors':_0xbfd798},!0x0),this[_0x587a8d(0x147)][_0x587a8d(0x141)](_0x13ab51['id'],_0x3f2d40,!0x0);}this[_0x587a8d(0x147)][_0x587a8d(0x158)]=_0x4487cf,(_0x13ab51[_0x587a8d(0x145)]===_0x13ab51[_0x587a8d(0x13c)]&&!this[_0x587a8d(0x147)][_0x587a8d(0x152)][_0x587a8d(0x15b)](_0x493648)&&this[_0x587a8d(0x147)][_0x587a8d(0x10b)][_0x587a8d(0xf0)][_0x587a8d(0x134)](_0x493648),this[_0x587a8d(0x147)][_0x587a8d(0x102)](_0x4487cf));}const {revisions:_0x47fc79,requestId:_0x1aba12}=await this[_0x587a8d(0xe8)][_0x587a8d(0xfd)](_0xabc502[_0x587a8d(0x12a)],this[_0x587a8d(0x10e)]);_0x1dd666&&_0x47fc79[_0x587a8d(0xf7)]>0x0?_0x11f551[_0x587a8d(0x11f)]():(await this[_0x587a8d(0x12c)](_0x47fc79),this[_0x587a8d(0x13e)](_0x47fc79,_0x1aba12),this[_0x587a8d(0x147)][_0x587a8d(0xf2)]());};return _0x11f551[_0x345965(0x10c)]?_0x1ff95d():new Promise((_0x50f8dd,_0x4fa317)=>{const _0x3bcf6c=_0x345965;_0x11f551[_0x3bcf6c(0x12e)](_0x3bcf6c(0xf8),()=>{const _0x1236dd=_0x3bcf6c;_0x1ff95d()[_0x1236dd(0x13b)](_0x50f8dd)[_0x1236dd(0xf6)](_0x4fa317);});});}[_0x16189c(0xf5)](){const _0x226e58=_0x16189c;super[_0x226e58(0xf5)]();}async[_0x16189c(0xf9)](){const _0x1de3c7=_0x16189c;this[_0x1de3c7(0xe8)][_0x1de3c7(0x11d)]||await new Promise(_0x14eb88=>{const _0x27864d=_0x1de3c7;this[_0x27864d(0x159)](this[_0x27864d(0xe8)],_0x27864d(0x154),_0x5d9082=>{const _0x5e717b=_0x27864d;_0x5d9082[_0x5e717b(0x121)](),_0x14eb88();});});}[_0x16189c(0x10d)](){const _0x26af7b=_0x16189c,_0x24320d=this[_0x26af7b(0x107)][_0x26af7b(0x105)][_0x26af7b(0x13a)](_0xc6b2ab)[_0x26af7b(0x127)][_0x26af7b(0x133)]()[_0x26af7b(0x128)]();for(const _0x3b9497 of _0x24320d)if(_0x26af7b(0x112)!==_0x3b9497[_0x26af7b(0xfe)]||_0x3b9497[_0x26af7b(0x10a)])return _0x3b9497[_0x26af7b(0x150)]+0x1;}[_0x16189c(0xef)](){const _0x38a967=_0x16189c,_0xc3b57c=this[_0x38a967(0x107)][_0x38a967(0x105)][_0x38a967(0x13a)](_0xc6b2ab);return new Promise(_0x12b522=>{const _0x483c23=_0x38a967;_0xc3b57c[_0x483c23(0x125)]?_0xc3b57c[_0x483c23(0x12e)](_0x483c23(0x122),()=>{const _0x1a6448=_0x483c23;_0x12b522(this[_0x1a6448(0x10d)]());}):_0x12b522(this[_0x483c23(0x10d)]());});}[_0x16189c(0x13e)](_0x37c91b,_0x38ac48){const _0x5ac288=_0x16189c,_0x5d58cd=this[_0x5ac288(0x147)][_0x5ac288(0x10b)];this[_0x5ac288(0x10e)]=_0x38ac48;for(const _0x4b42b5 of _0x37c91b){const _0x2c8db5=_0x5d58cd[_0x5ac288(0x135)](_0x4b42b5['id']);if(_0x2c8db5){if((_0x4b42b5[_0x5ac288(0x13c)]||_0x4b42b5[_0x5ac288(0x145)])&&(_0x4b42b5[_0x5ac288(0xfb)]=null),_0x2c8db5===this[_0x5ac288(0x147)][_0x5ac288(0x153)]){const _0x230b64=Math[_0x5ac288(0x130)](_0x2c8db5[_0x5ac288(0x145)],_0x4b42b5[_0x5ac288(0x145)]),_0xc6fa29=Math[_0x5ac288(0x130)](_0x2c8db5[_0x5ac288(0x13c)],_0x4b42b5[_0x5ac288(0x13c)]);let _0x3507f4;_0x2c8db5[_0x5ac288(0x145)]===_0x4b42b5[_0x5ac288(0x145)]&&_0x2c8db5[_0x5ac288(0x13c)]===_0x4b42b5[_0x5ac288(0x13c)]?(_0x3507f4=!0x0,this[_0x5ac288(0xfa)](_0x4b42b5)):_0x4b42b5[_0x5ac288(0x145)]===_0x230b64&&_0x4b42b5[_0x5ac288(0x13c)]===_0xc6fa29?_0x3507f4=!0x1:(_0x2c8db5[_0x5ac288(0x145)]===_0x230b64&&_0x2c8db5[_0x5ac288(0x13c)]===_0xc6fa29||this[_0x5ac288(0x140)]({'revision':_0x2c8db5,'from':_0xc6fa29,'to':_0x230b64}),_0x3507f4=!0x0),_0x3507f4&&(delete _0x4b42b5[_0x5ac288(0x13c)],delete _0x4b42b5[_0x5ac288(0x145)],delete _0x4b42b5[_0x5ac288(0xfb)],delete _0x4b42b5[_0x5ac288(0x14b)],delete _0x4b42b5[_0x5ac288(0x12b)]);}this[_0x5ac288(0x147)][_0x5ac288(0x146)](_0x4b42b5),this[_0x5ac288(0xfa)](_0x4b42b5);}else this[_0x5ac288(0x147)][_0x5ac288(0x119)](_0x4b42b5);}const _0x4337d8=_0x5d58cd[_0x5ac288(0x13d)]();_0x4337d8[_0x5ac288(0x128)]();for(let _0x36d008=0x0;_0x36d008<_0x4337d8[_0x5ac288(0xf7)]-0x1;_0x36d008++){const _0x168240=_0x4337d8[_0x36d008],_0x5b3fe2=_0x4337d8[_0x36d008+0x1];if(_0x168240[_0x5ac288(0x13c)]<_0x5b3fe2[_0x5ac288(0x145)]){const _0x265832=_0x5b3fe2[_0x5ac288(0x145)],_0x3e5413=Math[_0x5ac288(0x130)](_0x265832,_0x168240[_0x5ac288(0x145)]);this[_0x5ac288(0x140)]({'revision':_0x168240,'from':_0x265832,'to':_0x3e5413});}}}[_0x16189c(0x140)]({revision:_0x6b229c,from:_0x3813f0,to:_0x4c6fa5}={}){const _0x57a6fb=_0x16189c,_0x20322c=this[_0x57a6fb(0x107)][_0x57a6fb(0x105)][_0x57a6fb(0x13a)](_0x57a8c2),_0x284c58=this[_0x57a6fb(0x147)][_0x57a6fb(0x144)]({'revision':_0x6b229c,'from':_0x3813f0,'to':_0x4c6fa5});_0x284c58[_0x57a6fb(0x139)]=_0x284c58[_0x57a6fb(0x12b)][_0x57a6fb(0x12f)](_0x2b4f2b=>_0x20322c[_0x57a6fb(0x114)](_0x2b4f2b)),_0x6b229c[_0x57a6fb(0x103)](_0x284c58);}[_0x16189c(0xfa)](_0x1906a6){const _0x21ff6d=_0x16189c,_0x14a00e={};_0x14a00e['id']=_0x1906a6['id'];for(const _0x450540 of Object[_0x21ff6d(0xf1)](_0x1906a6))'id'!==_0x450540&&(_0x14a00e[_0x450540]=void 0x0);this[_0x21ff6d(0x147)][_0x21ff6d(0x141)](_0x14a00e['id'],_0x14a00e,!0x0);}async[_0x16189c(0x12c)](_0x34604b){const _0x477f74=_0x16189c,_0x18b7d4=this[_0x477f74(0x107)][_0x477f74(0x105)][_0x477f74(0x13a)](_0x57a8c2),{connection:_0x442e70}=this[_0x477f74(0x107)][_0x477f74(0x105)][_0x477f74(0x13a)](_0x3882e7),_0x582530=new Set();for(const _0xd1c2e of _0x34604b){for(const _0x2afea0 of _0xd1c2e[_0x477f74(0x12b)])_0x2cea75(_0x2afea0);_0xd1c2e[_0x477f74(0xeb)]&&_0x2cea75(_0xd1c2e[_0x477f74(0xeb)]);}if(0x0===_0x582530[_0x477f74(0x124)])return;const _0x1b82af=await _0x43679e[_0x477f74(0x15a)](_0x442e70,Array[_0x477f74(0x151)](_0x582530));for(const _0x4a15fe of _0x1b82af)_0x18b7d4[_0x477f74(0x114)](_0x4a15fe['id'])||_0x18b7d4[_0x477f74(0xf4)](_0x4a15fe);function _0x2cea75(_0x11f3f0){const _0x367e8f=_0x477f74;_0x18b7d4[_0x367e8f(0x114)](_0x11f3f0)||_0x582530[_0x367e8f(0x100)](_0x11f3f0);}}}function b(_0x5152ed){const _0xfc0e36=_0x16189c;return _0x5152ed[_0xfc0e36(0x10f)][_0xfc0e36(0x108)](_0xfc0e36(0x110))||_0x5152ed[_0xfc0e36(0x10f)][_0xfc0e36(0x108)](_0xfc0e36(0x11b))||_0x5152ed[_0xfc0e36(0x10f)][_0xfc0e36(0x108)](_0xfc0e36(0x118));}
23
+ function _0x29be(){const _0x33240d=['wrongRequestId','_createCurrentRevision','catch','diffData','message','length','98433SeTIad','_update','isConnected','size','_isConnected','config','sessionId','setRevisionData','creatorId','marker','_lastRequestId','_bufferUpdate','getUser','type','currentRevision','_getLatestVersion','add','plugins','addUser','4272450OKDFWu','_isPendingUpdate','state','117IGcXhy','reInit','destroy','RevisionTracker','connected','_preventResendingRevisionData','isPremiumPlugin','editor','cloud-services-internal-error:\x20Request\x20timeout.','createdAt','getOperations','_revisionTracker','adapter','getRevision','get','isBundleUploaded','42236qGPACB','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','baseVersion','cloudServices.bundleVersion','isEmptyCurrent','400','buildRevisionData','connect','addRevisionData','_startingVersion','_revisionHistoryService','_oldOffset','_waitForServiceReady','affectsData','toVersion','max','8MDkPXy','listenTo','revisionsUpdated','init','off','setSource','remove','code','pluginName','_handleRevisionsUpdate','_fetchMissingUsers','_handleReconnectionError','authorsIds','startsWith','getRevisions','RevisionHistoryService','requires','CONNECTED','_revisions','once','map','connection','13FvSwyy','1acSwYr','getMany','fromVersion','reverse','has','_offset','sendBufferedUpdates','RevisionHistory','from','repository','bind','2449810eupkyv','isOfficialPlugin','keys','change:_isConnected','_bufferedUpdates','978110gTurgB','authors','890RuSZPu','data','6OemVeH','13535700ILsylh','765298VeeoAg','_revisionDataBuilder','cloud-services-internal-error:\x20Not\x20connected.','reconnect','addToReconnectionStack','collaboration.channelId','isEnabled','updateRevisions','CloudServicesRevisionHistoryAdapter','_fixRevision','_getLatestVersionFromServerOperations','change:_isPendingUpdate','then','serverHistory'];_0x29be=function(){return _0x33240d;};return _0x29be();}const _0x3da807=_0x1a7f;(function(_0x14920c,_0x25abd1){const _0x507189=_0x1a7f,_0x28d2c0=_0x14920c();while(!![]){try{const _0xffe6fc=parseInt(_0x507189(0x17b))/0x1*(-parseInt(_0x507189(0x11a))/0x2)+-parseInt(_0x507189(0x144))/0x3*(parseInt(_0x507189(0x154))/0x4)+-parseInt(_0x507189(0x141))/0x5*(parseInt(_0x507189(0x118))/0x6)+-parseInt(_0x507189(0x114))/0x7*(parseInt(_0x507189(0x164))/0x8)+parseInt(_0x507189(0x12e))/0x9*(parseInt(_0x507189(0x116))/0xa)+parseInt(_0x507189(0x10f))/0xb+-parseInt(_0x507189(0x119))/0xc*(-parseInt(_0x507189(0x17a))/0xd);if(_0xffe6fc===_0x25abd1)break;else _0x28d2c0['push'](_0x28d2c0['shift']());}catch(_0x37e080){_0x28d2c0['push'](_0x28d2c0['shift']());}}}(_0x29be,0x82b70));import{Plugin as _0x5e2db0}from'ckeditor5/src/core.js';import{version as _0x594537}from'ckeditor5/src/utils.js';import{Users as _0x478c9d}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x4b42ba}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x38d897}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0xda2177}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x104b27,RevisionHistoryService as _0x499804,User as _0x428dcd,WEB_SOCKET_GATEWAY_STATES as _0x2a3b28}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x5e2db0{static [_0x3da807(0x173)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x499804)());[_0x3da807(0x138)];[_0x3da807(0x14f)];[_0x3da807(0x15e)];[_0x3da807(0x15f)];static get[_0x3da807(0x174)](){const _0x3f37b7=_0x3da807;return[_0x38d897,_0x4b42ba,_0x3f37b7(0x10b),_0xda2177,_0x478c9d];}static get[_0x3da807(0x16c)](){const _0x56bef4=_0x3da807;return _0x56bef4(0x122);}static get[_0x3da807(0x110)](){return!0x0;}static get[_0x3da807(0x14a)](){return!0x0;}constructor(_0x3fc07b){const _0x1488f4=_0x3da807;super(_0x3fc07b);const _0x48fdd7=this[_0x1488f4(0x14b)][_0x1488f4(0x133)][_0x1488f4(0x152)](_0x1488f4(0x11f));this[_0x1488f4(0x138)]=null,this[_0x1488f4(0x14f)]=this[_0x1488f4(0x14b)][_0x1488f4(0x13f)][_0x1488f4(0x152)](_0x1488f4(0x147)),this[_0x1488f4(0x15e)]=new CloudServicesRevisionHistoryAdapter[(_0x1488f4(0x173))](_0x48fdd7);}async[_0x3da807(0x167)](){const _0x9514e=_0x3da807,_0x2f81c7=this[_0x9514e(0x14b)][_0x9514e(0x13f)][_0x9514e(0x152)](_0x4b42ba),_0x4280b0=_0x2f81c7[_0x9514e(0x127)],_0x586ef4=this[_0x9514e(0x14b)][_0x9514e(0x13f)][_0x9514e(0x152)](_0x38d897);this[_0x9514e(0x14f)][_0x9514e(0x169)]({'history':_0x4280b0,'getLatestVersion':()=>this[_0x9514e(0x13d)](),'getCurrentRevisionId':()=>_0x2f81c7[_0x9514e(0x134)]});const _0x37f475=this[_0x9514e(0x14b)][_0x9514e(0x133)][_0x9514e(0x152)](_0x9514e(0x157))||_0x594537,_0x1ec2ae=await _0x104b27[_0x9514e(0x153)](_0x586ef4[_0x9514e(0x179)],_0x37f475);this[_0x9514e(0x14b)][_0x9514e(0x13f)][_0x9514e(0x152)](_0x9514e(0x10b))[_0x9514e(0x150)]={'getRevision':async({revisionId:_0x879057})=>(await this[_0x9514e(0x160)](),await this[_0x9514e(0x15e)][_0x9514e(0x151)](_0x879057)),'updateRevisions':async _0x5c780c=>{const _0x14f96c=_0x9514e;await this[_0x14f96c(0x160)]();const _0x16e25e=this[_0x14f96c(0x14f)][_0x14f96c(0x13c)];if(_0x1ec2ae&&0x1===_0x5c780c[_0x14f96c(0x12d)]&&_0x5c780c[0x0]['id']===_0x16e25e['id'])return _0x5c780c;for(const _0x58ebc2 of _0x5c780c)_0x58ebc2['id']===_0x16e25e['id']&&(_0x58ebc2[_0x14f96c(0x158)]=_0x58ebc2[_0x14f96c(0x17d)]===_0x58ebc2[_0x14f96c(0x162)]);return this[_0x14f96c(0x15e)][_0x14f96c(0x121)](_0x5c780c,this[_0x14f96c(0x138)])[_0x14f96c(0x126)](_0x2b4e24=>(this[_0x14f96c(0x138)]=_0x2b4e24,_0x5c780c))[_0x14f96c(0x12a)](_0x3adde4=>{const _0x788e44=_0x14f96c;if(J(_0x3adde4)||_0x788e44(0x159)===_0x3adde4[_0x788e44(0x16b)]&&void 0x0!==_0x3adde4[_0x788e44(0x117)][_0x788e44(0x128)]){for(const _0x59b23b of _0x5c780c){!this[_0x788e44(0x14f)][_0x788e44(0x10d)][_0x788e44(0x151)](_0x59b23b['id'])||this[_0x788e44(0x14f)][_0x788e44(0x139)](_0x59b23b['id'],_0x59b23b,!0x1);}if(J(_0x3adde4))throw _0x3adde4;return _0x5c780c;}throw _0x3adde4;});}},this[_0x9514e(0x165)](this[_0x9514e(0x15e)],_0x9514e(0x166),(_0x4ac28a,{revisionsData:_0xaafd10,requestId:_0x1dae66})=>{const _0x3b7f03=_0x9514e;Math[_0x3b7f03(0x163)](..._0xaafd10[_0x3b7f03(0x178)](_0x31ba7c=>_0x31ba7c[_0x3b7f03(0x162)]))>this[_0x3b7f03(0x124)]()-0x1?this[_0x3b7f03(0x13d)]()[_0x3b7f03(0x126)](()=>{const _0x1ed352=_0x3b7f03;this[_0x1ed352(0x16d)](_0xaafd10,_0x1dae66);}):this[_0x3b7f03(0x16d)](_0xaafd10,_0x1dae66);});const {revisions:_0x482e97,requestId:_0x1c0540}=await this[_0x9514e(0x15e)][_0x9514e(0x15b)](_0x586ef4[_0x9514e(0x179)]);_0x586ef4[_0x9514e(0x11e)](this),this[_0x9514e(0x138)]=_0x1c0540,await this[_0x9514e(0x16e)](_0x482e97);for(const _0x2b36ce of _0x482e97)this[_0x9514e(0x14f)][_0x9514e(0x15c)](_0x2b36ce);this[_0x9514e(0x165)](_0x2f81c7,_0x9514e(0x112),(_0x24c09e,_0x22e356,_0xbdcde2)=>{const _0x57884d=_0x9514e;_0xbdcde2&&(this[_0x57884d(0x15f)]=_0x2f81c7[_0x57884d(0x109)],_0x24c09e[_0x57884d(0x168)]());}),this[_0x9514e(0x14f)][_0x9514e(0x10e)](_0x9514e(0x120))['to'](_0x586ef4,_0x9514e(0x143),_0x246590=>_0x246590===_0x2a3b28[_0x9514e(0x175)]);}async[_0x3da807(0x11d)](){const _0x2dd369=_0x3da807,_0x878bfe=this[_0x2dd369(0x14b)][_0x2dd369(0x13f)][_0x2dd369(0x152)](_0x38d897),_0x5d5adf=this[_0x2dd369(0x14b)][_0x2dd369(0x13f)][_0x2dd369(0x152)](_0x4b42ba),_0x179417=async()=>{const _0x208027=_0x2dd369,_0x31a3a6=this[_0x208027(0x14f)][_0x208027(0x13c)],_0x388cca=_0x31a3a6['id'],_0xf695ff=_0x388cca!==_0x5d5adf[_0x208027(0x134)];if(_0xf695ff){const _0x8c1df3=_0x5d5adf[_0x208027(0x109)]-this[_0x208027(0x15f)],_0x42f481=this[_0x208027(0x124)]();this[_0x208027(0x14f)][_0x208027(0x11b)][_0x208027(0x145)]();if(_0x31a3a6[_0x208027(0x162)]+_0x8c1df3!==_0x42f481){const _0x148bf=_0x31a3a6[_0x208027(0x17d)]+_0x8c1df3,_0xd9a7c6=this[_0x208027(0x14b)][_0x208027(0x13f)][_0x208027(0x152)](_0x478c9d),_0x4cae94=this[_0x208027(0x14f)][_0x208027(0x15a)]({'revision':_0x31a3a6,'from':_0x148bf,'to':_0x42f481});_0x4cae94['id']=_0x31a3a6['id'];const _0x21aa47=_0x4cae94[_0x208027(0x170)][_0x208027(0x178)](_0x506c7d=>_0xd9a7c6[_0x208027(0x13a)](_0x506c7d));_0x31a3a6[_0x208027(0x12f)]({..._0x4cae94,'authors':_0x21aa47},!0x0),this[_0x208027(0x14f)][_0x208027(0x139)](_0x31a3a6['id'],_0x4cae94,!0x0);}this[_0x208027(0x14f)][_0x208027(0x15d)]=_0x42f481,(_0x31a3a6[_0x208027(0x162)]===_0x31a3a6[_0x208027(0x17d)]&&!this[_0x208027(0x14f)][_0x208027(0x113)][_0x208027(0x108)](_0x388cca)&&this[_0x208027(0x14f)][_0x208027(0x10d)][_0x208027(0x176)][_0x208027(0x16a)](_0x388cca),this[_0x208027(0x14f)][_0x208027(0x129)](_0x42f481));}const {revisions:_0x2793d6,requestId:_0x2f5dc0}=await this[_0x208027(0x15e)][_0x208027(0x11d)](_0x878bfe[_0x208027(0x179)],this[_0x208027(0x138)]);_0xf695ff&&_0x2793d6[_0x208027(0x12d)]>0x0?_0x5d5adf[_0x208027(0x16f)]():(await this[_0x208027(0x16e)](_0x2793d6),this[_0x208027(0x16d)](_0x2793d6,_0x2f5dc0),this[_0x208027(0x14f)][_0x208027(0x10a)]());};return _0x5d5adf[_0x2dd369(0x132)]?_0x179417():new Promise((_0x49a254,_0x31d924)=>{const _0x5d977c=_0x2dd369;_0x5d5adf[_0x5d977c(0x177)](_0x5d977c(0x112),()=>{const _0x1cf7c0=_0x5d977c;_0x179417()[_0x1cf7c0(0x126)](_0x49a254)[_0x1cf7c0(0x12a)](_0x31d924);});});}[_0x3da807(0x146)](){const _0x48c0a8=_0x3da807;super[_0x48c0a8(0x146)]();}async[_0x3da807(0x160)](){const _0x2b806a=_0x3da807;this[_0x2b806a(0x15e)][_0x2b806a(0x130)]||await new Promise(_0x1726af=>{const _0x146c32=_0x2b806a;this[_0x146c32(0x165)](this[_0x146c32(0x15e)],_0x146c32(0x148),_0x30b147=>{const _0x3c24bf=_0x146c32;_0x30b147[_0x3c24bf(0x168)](),_0x1726af();});});}[_0x3da807(0x124)](){const _0x3cc916=_0x3da807,_0x3ac162=this[_0x3cc916(0x14b)][_0x3cc916(0x13f)][_0x3cc916(0x152)](_0x4b42ba)[_0x3cc916(0x127)][_0x3cc916(0x14e)]()[_0x3cc916(0x107)]();for(const _0x19b655 of _0x3ac162)if(_0x3cc916(0x137)!==_0x19b655[_0x3cc916(0x13b)]||_0x19b655[_0x3cc916(0x161)])return _0x19b655[_0x3cc916(0x156)]+0x1;}[_0x3da807(0x13d)](){const _0x5958c4=_0x3da807,_0x5b3bee=this[_0x5958c4(0x14b)][_0x5958c4(0x13f)][_0x5958c4(0x152)](_0x4b42ba);return new Promise(_0x41b3fb=>{const _0x41829b=_0x5958c4;_0x5b3bee[_0x41829b(0x142)]?_0x5b3bee[_0x41829b(0x177)](_0x41829b(0x125),()=>{const _0x54c5fd=_0x41829b;_0x41b3fb(this[_0x54c5fd(0x124)]());}):_0x41b3fb(this[_0x41829b(0x124)]());});}[_0x3da807(0x16d)](_0x3ed70b,_0x2f8728){const _0x12024=_0x3da807,_0x19ccbb=this[_0x12024(0x14f)][_0x12024(0x10d)];this[_0x12024(0x138)]=_0x2f8728;for(const _0x4e3c1a of _0x3ed70b){const _0x490054=_0x19ccbb[_0x12024(0x151)](_0x4e3c1a['id']);if(_0x490054){if((_0x4e3c1a[_0x12024(0x17d)]||_0x4e3c1a[_0x12024(0x162)])&&(_0x4e3c1a[_0x12024(0x12b)]=null),_0x490054===this[_0x12024(0x14f)][_0x12024(0x13c)]){const _0x3cb672=Math[_0x12024(0x163)](_0x490054[_0x12024(0x162)],_0x4e3c1a[_0x12024(0x162)]),_0x59137f=Math[_0x12024(0x163)](_0x490054[_0x12024(0x17d)],_0x4e3c1a[_0x12024(0x17d)]);let _0xf4714e;_0x490054[_0x12024(0x162)]===_0x4e3c1a[_0x12024(0x162)]&&_0x490054[_0x12024(0x17d)]===_0x4e3c1a[_0x12024(0x17d)]?(_0xf4714e=!0x0,this[_0x12024(0x149)](_0x4e3c1a)):_0x4e3c1a[_0x12024(0x162)]===_0x3cb672&&_0x4e3c1a[_0x12024(0x17d)]===_0x59137f?_0xf4714e=!0x1:(_0x490054[_0x12024(0x162)]===_0x3cb672&&_0x490054[_0x12024(0x17d)]===_0x59137f||this[_0x12024(0x123)]({'revision':_0x490054,'from':_0x59137f,'to':_0x3cb672}),_0xf4714e=!0x0),_0xf4714e&&(delete _0x4e3c1a[_0x12024(0x17d)],delete _0x4e3c1a[_0x12024(0x162)],delete _0x4e3c1a[_0x12024(0x12b)],delete _0x4e3c1a[_0x12024(0x14d)],delete _0x4e3c1a[_0x12024(0x170)]);}this[_0x12024(0x14f)][_0x12024(0x135)](_0x4e3c1a),this[_0x12024(0x149)](_0x4e3c1a);}else this[_0x12024(0x14f)][_0x12024(0x15c)](_0x4e3c1a);}const _0x261779=_0x19ccbb[_0x12024(0x172)]();_0x261779[_0x12024(0x107)]();for(let _0x309928=0x0;_0x309928<_0x261779[_0x12024(0x12d)]-0x1;_0x309928++){const _0x50b806=_0x261779[_0x309928],_0xbd79ba=_0x261779[_0x309928+0x1];if(_0x50b806[_0x12024(0x17d)]<_0xbd79ba[_0x12024(0x162)]){const _0x352b7d=_0xbd79ba[_0x12024(0x162)],_0x2723be=Math[_0x12024(0x163)](_0x352b7d,_0x50b806[_0x12024(0x162)]);this[_0x12024(0x123)]({'revision':_0x50b806,'from':_0x352b7d,'to':_0x2723be});}}}[_0x3da807(0x123)]({revision:_0x4c1f53,from:_0x12708e,to:_0x2a993b}={}){const _0x44e655=_0x3da807,_0x58239c=this[_0x44e655(0x14b)][_0x44e655(0x13f)][_0x44e655(0x152)](_0x478c9d),_0x51af0b=this[_0x44e655(0x14f)][_0x44e655(0x15a)]({'revision':_0x4c1f53,'from':_0x12708e,'to':_0x2a993b});_0x51af0b[_0x44e655(0x115)]=_0x51af0b[_0x44e655(0x170)][_0x44e655(0x178)](_0x29e77d=>_0x58239c[_0x44e655(0x13a)](_0x29e77d)),_0x4c1f53[_0x44e655(0x12f)](_0x51af0b);}[_0x3da807(0x149)](_0x30a9ec){const _0x2a37f9=_0x3da807,_0x5d1150={};_0x5d1150['id']=_0x30a9ec['id'];for(const _0x12583c of Object[_0x2a37f9(0x111)](_0x30a9ec))'id'!==_0x12583c&&(_0x5d1150[_0x12583c]=void 0x0);this[_0x2a37f9(0x14f)][_0x2a37f9(0x139)](_0x5d1150['id'],_0x5d1150,!0x0);}async[_0x3da807(0x16e)](_0x2d7216){const _0x1dfc2b=_0x3da807,_0x483b01=this[_0x1dfc2b(0x14b)][_0x1dfc2b(0x13f)][_0x1dfc2b(0x152)](_0x478c9d),{connection:_0x5f2f25}=this[_0x1dfc2b(0x14b)][_0x1dfc2b(0x13f)][_0x1dfc2b(0x152)](_0x38d897),_0x213109=new Set();for(const _0x353bdc of _0x2d7216){for(const _0x4daa0c of _0x353bdc[_0x1dfc2b(0x170)])_0x29e8f8(_0x4daa0c);_0x353bdc[_0x1dfc2b(0x136)]&&_0x29e8f8(_0x353bdc[_0x1dfc2b(0x136)]);}if(0x0===_0x213109[_0x1dfc2b(0x131)])return;const _0xf522f=await _0x428dcd[_0x1dfc2b(0x17c)](_0x5f2f25,Array[_0x1dfc2b(0x10c)](_0x213109));for(const _0x23562f of _0xf522f)_0x483b01[_0x1dfc2b(0x13a)](_0x23562f['id'])||_0x483b01[_0x1dfc2b(0x140)](_0x23562f);function _0x29e8f8(_0x4cbf1c){const _0x264999=_0x1dfc2b;_0x483b01[_0x264999(0x13a)](_0x4cbf1c)||_0x213109[_0x264999(0x13e)](_0x4cbf1c);}}}function _0x1a7f(_0x333775,_0x11ce62){const _0x29be42=_0x29be();return _0x1a7f=function(_0x1a7f9c,_0x22a6c2){_0x1a7f9c=_0x1a7f9c-0x107;let _0x7d60eb=_0x29be42[_0x1a7f9c];return _0x7d60eb;},_0x1a7f(_0x333775,_0x11ce62);}function J(_0x462c29){const _0xbe2007=_0x3da807;return _0x462c29[_0xbe2007(0x12c)][_0xbe2007(0x171)](_0xbe2007(0x155))||_0x462c29[_0xbe2007(0x12c)][_0xbe2007(0x171)](_0xbe2007(0x11c))||_0x462c29[_0xbe2007(0x12c)][_0xbe2007(0x171)](_0xbe2007(0x14c));}