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

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.7.2-alpha.0",
3
+ "version": "47.7.2",
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.6",
50
- "@ckeditor/ckeditor5-cloud-services": "47.7.2-alpha.0",
51
- "@ckeditor/ckeditor5-comments": "47.7.2-alpha.0",
52
- "@ckeditor/ckeditor5-core": "47.7.2-alpha.0",
53
- "@ckeditor/ckeditor5-editor-multi-root": "47.7.2-alpha.0",
54
- "@ckeditor/ckeditor5-engine": "47.7.2-alpha.0",
55
- "@ckeditor/ckeditor5-operations-compressor": "47.7.2-alpha.0",
56
- "@ckeditor/ckeditor5-revision-history": "47.7.2-alpha.0",
57
- "@ckeditor/ckeditor5-theme-lark": "47.7.2-alpha.0",
58
- "@ckeditor/ckeditor5-track-changes": "47.7.2-alpha.0",
59
- "@ckeditor/ckeditor5-ui": "47.7.2-alpha.0",
60
- "@ckeditor/ckeditor5-utils": "47.7.2-alpha.0",
61
- "ckeditor5": "47.7.2-alpha.0",
62
- "ckeditor5-collaboration": "47.7.2-alpha.0",
50
+ "@ckeditor/ckeditor5-cloud-services": "47.7.2",
51
+ "@ckeditor/ckeditor5-comments": "47.7.2",
52
+ "@ckeditor/ckeditor5-core": "47.7.2",
53
+ "@ckeditor/ckeditor5-editor-multi-root": "47.7.2",
54
+ "@ckeditor/ckeditor5-engine": "47.7.2",
55
+ "@ckeditor/ckeditor5-operations-compressor": "47.7.2",
56
+ "@ckeditor/ckeditor5-revision-history": "47.7.2",
57
+ "@ckeditor/ckeditor5-theme-lark": "47.7.2",
58
+ "@ckeditor/ckeditor5-track-changes": "47.7.2",
59
+ "@ckeditor/ckeditor5-ui": "47.7.2",
60
+ "@ckeditor/ckeditor5-utils": "47.7.2",
61
+ "ckeditor5": "47.7.2",
62
+ "ckeditor5-collaboration": "47.7.2",
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 _0x931168=_0x33c0;(function(_0x18bad7,_0x33b68a){const _0x40c287=_0x33c0,_0x24276b=_0x18bad7();while(!![]){try{const _0x462d30=-parseInt(_0x40c287(0x1df))/0x1+parseInt(_0x40c287(0x1dd))/0x2*(-parseInt(_0x40c287(0x1e0))/0x3)+parseInt(_0x40c287(0x1ee))/0x4+parseInt(_0x40c287(0x1f0))/0x5*(parseInt(_0x40c287(0x1ea))/0x6)+parseInt(_0x40c287(0x1e5))/0x7+parseInt(_0x40c287(0x1db))/0x8+-parseInt(_0x40c287(0x1d8))/0x9;if(_0x462d30===_0x33b68a)break;else _0x24276b['push'](_0x24276b['shift']());}catch(_0x400eb0){_0x24276b['push'](_0x24276b['shift']());}}}(_0x478f,0xc6fc3));import{ListItemView as _0x371bfd}from'ckeditor5/src/ui.js';import{UserView as _0x47f5a5}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x33c0(_0x2f4e42,_0x5c77fc){const _0x478f8d=_0x478f();return _0x33c0=function(_0x33c08b,_0x2e0a64){_0x33c08b=_0x33c08b-0x1d7;let _0xbe1060=_0x478f8d[_0x33c08b];return _0xbe1060;},_0x33c0(_0x2f4e42,_0x5c77fc);}function _0x478f(){const _0x5cdbbb=['getBackgroundColorClass','name','ck-presence-list__dropdown-list-item','579996CrLaWZ','bindTemplate','1469250jNEWZP','userView','tag','2945286ZgIkzs','button','true','5374352LaxbdF','presentation','2078gFCMox','element','12747JnoXva','1644VOEWfE','focus','span','setTemplate','ck-user__full-name','182511wNcBPF','color','ck-presence-list__marker','fire','execute','18jepHIO'];_0x478f=function(){return _0x5cdbbb;};return _0x478f();}export class PresenceDropdownListItemView extends _0x371bfd{[_0x931168(0x1f1)];constructor(_0x4f08a4,_0x1b09e1,_0x5d3dd5){const _0x4167b8=_0x931168;super(_0x4f08a4);const _0x2fb148=this[_0x4167b8(0x1ef)];this[_0x4167b8(0x1f1)]=new _0x47f5a5(_0x4f08a4,_0x1b09e1);const _0x153caf={'tag':'li','attributes':{'class':['ck',_0x4167b8(0x1ed)],'tabindex':-0x1,'role':_0x4167b8(0x1dc),'aria-label':_0x1b09e1[_0x4167b8(0x1ec)]},'children':[this[_0x4167b8(0x1f1)],{'tag':_0x4167b8(0x1e2),'attributes':{'class':['ck',_0x4167b8(0x1e4)]},'children':[{'text':_0x1b09e1[_0x4167b8(0x1ec)]}]},{'tag':_0x4167b8(0x1e2),'attributes':{'class':['ck',_0x4167b8(0x1e7),_0x1b09e1[_0x4167b8(0x1e6)][_0x4167b8(0x1eb)]()],'aria-hidden':_0x4167b8(0x1da)}}]};_0x5d3dd5&&(_0x153caf[_0x4167b8(0x1d7)]=_0x4167b8(0x1d9),_0x153caf['on']={'click':_0x2fb148['to'](()=>this[_0x4167b8(0x1e8)](_0x4167b8(0x1e9)))}),this[_0x4167b8(0x1e3)](_0x153caf);}[_0x931168(0x1e1)](){const _0x1482d5=_0x931168;this[_0x1482d5(0x1de)][_0x1482d5(0x1e1)]();}}
23
+ function _0x4530(){const _0x3c06ff=['189mJNwBA','execute','1269pNJadQ','470vsmEfs','275030cNVoUX','true','3311kmvjuj','userView','3699232iQrckX','ck-presence-list__dropdown-list-item','button','11638080EbHURp','presentation','7qSlFOu','1398mBKyBE','ck-user__full-name','fire','bindTemplate','1868fYCQyG','element','getBackgroundColorClass','ck-presence-list__marker','setTemplate','span','focus','12165oeqiPV','tag','5603686DITYNZ','name','color'];_0x4530=function(){return _0x3c06ff;};return _0x4530();}function _0x45d4(_0x10ebd1,_0x52f902){const _0x4530fd=_0x4530();return _0x45d4=function(_0x45d498,_0x4ea297){_0x45d498=_0x45d498-0x1d9;let _0x84f29b=_0x4530fd[_0x45d498];return _0x84f29b;},_0x45d4(_0x10ebd1,_0x52f902);}const _0x3a9f7a=_0x45d4;(function(_0x568c3c,_0x547668){const _0x788877=_0x45d4,_0x28e4d3=_0x568c3c();while(!![]){try{const _0x2515a7=-parseInt(_0x788877(0x1e8))/0x1*(parseInt(_0x788877(0x1e5))/0x2)+parseInt(_0x788877(0x1e4))/0x3*(parseInt(_0x788877(0x1f4))/0x4)+parseInt(_0x788877(0x1dd))/0x5*(parseInt(_0x788877(0x1f0))/0x6)+-parseInt(_0x788877(0x1ef))/0x7*(parseInt(_0x788877(0x1ea))/0x8)+parseInt(_0x788877(0x1e2))/0x9*(-parseInt(_0x788877(0x1e6))/0xa)+parseInt(_0x788877(0x1df))/0xb+parseInt(_0x788877(0x1ed))/0xc;if(_0x2515a7===_0x547668)break;else _0x28e4d3['push'](_0x28e4d3['shift']());}catch(_0x1218eb){_0x28e4d3['push'](_0x28e4d3['shift']());}}}(_0x4530,0x67eac));import{ListItemView as _0x24b5fe}from'ckeditor5/src/ui.js';import{UserView as _0x32caa1}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceDropdownListItemView extends _0x24b5fe{[_0x3a9f7a(0x1e9)];constructor(_0x139812,_0x1ff7a4,_0x5286ce){const _0x5b16f2=_0x3a9f7a;super(_0x139812);const _0xb4b4a0=this[_0x5b16f2(0x1f3)];this[_0x5b16f2(0x1e9)]=new _0x32caa1(_0x139812,_0x1ff7a4);const _0x550a89={'tag':'li','attributes':{'class':['ck',_0x5b16f2(0x1eb)],'tabindex':-0x1,'role':_0x5b16f2(0x1ee),'aria-label':_0x1ff7a4[_0x5b16f2(0x1e0)]},'children':[this[_0x5b16f2(0x1e9)],{'tag':_0x5b16f2(0x1db),'attributes':{'class':['ck',_0x5b16f2(0x1f1)]},'children':[{'text':_0x1ff7a4[_0x5b16f2(0x1e0)]}]},{'tag':_0x5b16f2(0x1db),'attributes':{'class':['ck',_0x5b16f2(0x1d9),_0x1ff7a4[_0x5b16f2(0x1e1)][_0x5b16f2(0x1f6)]()],'aria-hidden':_0x5b16f2(0x1e7)}}]};_0x5286ce&&(_0x550a89[_0x5b16f2(0x1de)]=_0x5b16f2(0x1ec),_0x550a89['on']={'click':_0xb4b4a0['to'](()=>this[_0x5b16f2(0x1f2)](_0x5b16f2(0x1e3)))}),this[_0x5b16f2(0x1da)](_0x550a89);}[_0x3a9f7a(0x1dc)](){const _0x37b14b=_0x3a9f7a;this[_0x37b14b(0x1f5)][_0x37b14b(0x1dc)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5de589=_0x2274;function _0x2274(_0x54cf02,_0xe35a9c){const _0xd26abd=_0xd26a();return _0x2274=function(_0x227470,_0x19bd8f){_0x227470=_0x227470-0x1d7;let _0x4be535=_0xd26abd[_0x227470];return _0x4be535;},_0x2274(_0x54cf02,_0xe35a9c);}(function(_0x3c5189,_0x31a8c0){const _0x43a6c8=_0x2274,_0x1cbc04=_0x3c5189();while(!![]){try{const _0x17f465=parseInt(_0x43a6c8(0x1f9))/0x1+-parseInt(_0x43a6c8(0x202))/0x2*(parseInt(_0x43a6c8(0x1f7))/0x3)+-parseInt(_0x43a6c8(0x1ea))/0x4+-parseInt(_0x43a6c8(0x1f3))/0x5+parseInt(_0x43a6c8(0x1f0))/0x6*(parseInt(_0x43a6c8(0x1de))/0x7)+-parseInt(_0x43a6c8(0x1f5))/0x8*(parseInt(_0x43a6c8(0x1f1))/0x9)+parseInt(_0x43a6c8(0x1df))/0xa;if(_0x17f465===_0x31a8c0)break;else _0x1cbc04['push'](_0x1cbc04['shift']());}catch(_0x315283){_0x1cbc04['push'](_0x1cbc04['shift']());}}}(_0xd26a,0xe9f9e));function _0xd26a(){const _0x15695a=['items','.ck-balloon-panel_with-arrow','5970BuyCuL','2655XqKaOH','element','1645740rllhMm','clientHeight','47016nYNgdK','window','1431519YfPkbC','div','664458WBbuCd','Connected\x20users\x20list\x20dropdown\x20menu','querySelector','render','ariaLabel','resize','presencelist:hide','checkIfScrollable','ariaLabelledBy','2AJfkWa','listWrapperView','ck-presence-list__dropdown-list-wrapper','contains','max','_isScrollable','change','ck-list','innerHeight','8057noGZGH','28163470CFYrsx','set','relatedTarget','ck-presence-list__dropdown-list-wrapper_scrollable','listenTo','scrollHeight','role','ck-reset','application','fire','.ck-presence-list__list','4510592NvHIai','ck-presence-list__dropdown-list','bindTemplate','setTemplate'];_0xd26a=function(){return _0x15695a;};return _0xd26a();}import{ListView as _0x4133cd,View as _0x4a40d5}from'ckeditor5/src/ui.js';import{global as _0x7af01b}from'ckeditor5/src/utils.js';import{getTranslation as _0x3b51d3}from'../../common-translations.js';export class PresenceDropdownListView extends _0x4a40d5{[_0x5de589(0x203)];constructor(_0x3deccb,_0xb17eb8){const _0xedbfba=_0x5de589;super(_0x3deccb);const _0x335eb9=this[_0xedbfba(0x1ec)];this[_0xedbfba(0x203)]=new PresenceDropdownListWrapperView(_0x3deccb,_0xb17eb8),this[_0xedbfba(0x1ed)]({'tag':_0xedbfba(0x1f8),'attributes':{'tabindex':-0x1,'role':_0xedbfba(0x1e7),'class':['ck',_0xedbfba(0x1eb)],'aria-label':_0x3b51d3(_0x3deccb,_0xedbfba(0x1fa))},'children':[this[_0xedbfba(0x203)]],'on':{'mouseleave':_0x335eb9['to'](_0x5bd548=>{const _0x5279b1=_0xedbfba,_0x360053=_0x5bd548,_0x4c5e25=document[_0x5279b1(0x1fb)](_0x5279b1(0x1e9)),_0x55448f=document[_0x5279b1(0x1fb)](_0x5279b1(0x1ef));_0x4c5e25?.[_0x5279b1(0x1d8)](_0x360053[_0x5279b1(0x1e1)])||_0x55448f?.[_0x5279b1(0x1d8)](_0x360053[_0x5279b1(0x1e1)])||this[_0x5279b1(0x1e8)](_0x5279b1(0x1ff));})}});}}export class PresenceDropdownListWrapperView extends _0x4133cd{constructor(_0x3aab12,_0x23ce22){const _0x5c86a3=_0x5de589;super(_0x3aab12);const _0x5a32c6=this[_0x5c86a3(0x1ec)];this[_0x5c86a3(0x1e0)](_0x5c86a3(0x1da),!0x1),this[_0x5c86a3(0x1ed)]({'tag':_0x23ce22?_0x5c86a3(0x1f8):'ul','attributes':{'class':['ck',_0x5c86a3(0x1e6),_0x5c86a3(0x1dc),_0x5c86a3(0x1d7),_0x5a32c6['if'](_0x5c86a3(0x1da),_0x5c86a3(0x1e2))],'role':_0x5a32c6['to'](_0x5c86a3(0x1e5)),'aria-label':_0x5a32c6['to'](_0x5c86a3(0x1fd)),'aria-labelledby':_0x5a32c6['to'](_0x5c86a3(0x201))},'children':this[_0x5c86a3(0x1ee)]}),this[_0x5c86a3(0x1e3)](_0x7af01b[_0x5c86a3(0x1f6)],_0x5c86a3(0x1fe),()=>this[_0x5c86a3(0x200)]()),this[_0x5c86a3(0x1ee)]['on'](_0x5c86a3(0x1db),()=>this[_0x5c86a3(0x200)]());}[_0x5de589(0x1fc)](){const _0x5d9a16=_0x5de589;super[_0x5d9a16(0x1fc)](),this[_0x5d9a16(0x200)]();}[_0x5de589(0x200)](){const _0x5347bf=_0x5de589,_0x8be9e4=this[_0x5347bf(0x1f2)];_0x8be9e4&&(this[_0x5347bf(0x1da)]=Math[_0x5347bf(0x1d9)](_0x8be9e4[_0x5347bf(0x1e4)],_0x8be9e4[_0x5347bf(0x1f4)])>0.8*window[_0x5347bf(0x1dd)]);}}
23
+ const _0x12136b=_0x5d26;(function(_0x1caa16,_0x219339){const _0x206a8f=_0x5d26,_0x2036c2=_0x1caa16();while(!![]){try{const _0x13e3c1=-parseInt(_0x206a8f(0x1fb))/0x1+parseInt(_0x206a8f(0x1ed))/0x2+parseInt(_0x206a8f(0x1e6))/0x3*(parseInt(_0x206a8f(0x209))/0x4)+-parseInt(_0x206a8f(0x1f3))/0x5+parseInt(_0x206a8f(0x200))/0x6+-parseInt(_0x206a8f(0x1f2))/0x7*(parseInt(_0x206a8f(0x20b))/0x8)+parseInt(_0x206a8f(0x1f0))/0x9*(parseInt(_0x206a8f(0x1e5))/0xa);if(_0x13e3c1===_0x219339)break;else _0x2036c2['push'](_0x2036c2['shift']());}catch(_0x40028b){_0x2036c2['push'](_0x2036c2['shift']());}}}(_0x5b6c,0x4769e));function _0x5d26(_0x234507,_0x3a6e26){const _0x5b6c3c=_0x5b6c();return _0x5d26=function(_0x5d26fc,_0x5d8590){_0x5d26fc=_0x5d26fc-0x1e5;let _0x294f62=_0x5b6c3c[_0x5d26fc];return _0x294f62;},_0x5d26(_0x234507,_0x3a6e26);}import{ListView as _0x131980,View as _0x191553}from'ckeditor5/src/ui.js';import{global as _0x3bc194}from'ckeditor5/src/utils.js';function _0x5b6c(){const _0x346ef1=['fire','listenTo','242645NOacBu','relatedTarget','role','div','ck-presence-list__dropdown-list','299268uKsBCq','ariaLabel','presencelist:hide','render','checkIfScrollable','contains','listWrapperView','element','ck-reset','42556Bjnqps','_isScrollable','88ZaSoYV','.ck-presence-list__list','scrollHeight','set','ariaLabelledBy','setTemplate','max','70WlowcY','48IdyytP','clientHeight','resize','change','bindTemplate','items','.ck-balloon-panel_with-arrow','4630MjMqDI','ck-presence-list__dropdown-list-wrapper_scrollable','window','1343124YsJlCS','Connected\x20users\x20list\x20dropdown\x20menu','237426qHvdBB','1794080hNhotK','ck-presence-list__dropdown-list-wrapper','application','querySelector','ck-list','innerHeight'];_0x5b6c=function(){return _0x346ef1;};return _0x5b6c();}import{getTranslation as _0x5ec476}from'../../common-translations.js';export class PresenceDropdownListView extends _0x191553{[_0x12136b(0x206)];constructor(_0x53c13a,_0xa2b0d1){const _0x5d0f22=_0x12136b;super(_0x53c13a);const _0xb92ad7=this[_0x5d0f22(0x1ea)];this[_0x5d0f22(0x206)]=new PresenceDropdownListWrapperView(_0x53c13a,_0xa2b0d1),this[_0x5d0f22(0x210)]({'tag':_0x5d0f22(0x1fe),'attributes':{'tabindex':-0x1,'role':_0x5d0f22(0x1f5),'class':['ck',_0x5d0f22(0x1ff)],'aria-label':_0x5ec476(_0x53c13a,_0x5d0f22(0x1f1))},'children':[this[_0x5d0f22(0x206)]],'on':{'mouseleave':_0xb92ad7['to'](_0x1d2a8c=>{const _0x136150=_0x5d0f22,_0x107a30=_0x1d2a8c,_0x20aad2=document[_0x136150(0x1f6)](_0x136150(0x20c)),_0x45afff=document[_0x136150(0x1f6)](_0x136150(0x1ec));_0x20aad2?.[_0x136150(0x205)](_0x107a30[_0x136150(0x1fc)])||_0x45afff?.[_0x136150(0x205)](_0x107a30[_0x136150(0x1fc)])||this[_0x136150(0x1f9)](_0x136150(0x202));})}});}}export class PresenceDropdownListWrapperView extends _0x131980{constructor(_0x32589e,_0x2aa0cf){const _0x59f7e8=_0x12136b;super(_0x32589e);const _0x99ab51=this[_0x59f7e8(0x1ea)];this[_0x59f7e8(0x20e)](_0x59f7e8(0x20a),!0x1),this[_0x59f7e8(0x210)]({'tag':_0x2aa0cf?_0x59f7e8(0x1fe):'ul','attributes':{'class':['ck',_0x59f7e8(0x208),_0x59f7e8(0x1f7),_0x59f7e8(0x1f4),_0x99ab51['if'](_0x59f7e8(0x20a),_0x59f7e8(0x1ee))],'role':_0x99ab51['to'](_0x59f7e8(0x1fd)),'aria-label':_0x99ab51['to'](_0x59f7e8(0x201)),'aria-labelledby':_0x99ab51['to'](_0x59f7e8(0x20f))},'children':this[_0x59f7e8(0x1eb)]}),this[_0x59f7e8(0x1fa)](_0x3bc194[_0x59f7e8(0x1ef)],_0x59f7e8(0x1e8),()=>this[_0x59f7e8(0x204)]()),this[_0x59f7e8(0x1eb)]['on'](_0x59f7e8(0x1e9),()=>this[_0x59f7e8(0x204)]());}[_0x12136b(0x203)](){const _0x4e436f=_0x12136b;super[_0x4e436f(0x203)](),this[_0x4e436f(0x204)]();}[_0x12136b(0x204)](){const _0x16f768=_0x12136b,_0x26c7f6=this[_0x16f768(0x207)];_0x26c7f6&&(this[_0x16f768(0x20a)]=Math[_0x16f768(0x211)](_0x26c7f6[_0x16f768(0x20d)],_0x26c7f6[_0x16f768(0x1e7)])>0.8*window[_0x16f768(0x1f8)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x208b(){const _0x2eb69c=['div','userView','tag','bindTemplate','80aUmqhS','312118OPjmkq','hasTooltip','name','listitem','2500CDzRfx','ck-presence-list__list-item','fire','span','2068110MdfDum','664qXqtqr','19369sQTXNM','ck-presence-list__marker','markerView','set','getBackgroundColorClass','color','setTemplate','execute','1216482wycoVX','tooltipPosition','template','375353MxcjaP','button','true','isFocusable','text','270692aTOEhs','284CRaMZo','ck-presence-list__list-item__tooltip','3PzARNc'];_0x208b=function(){return _0x2eb69c;};return _0x208b();}function _0x4cb7(_0x5794c0,_0x2ff5cf){const _0x208b38=_0x208b();return _0x4cb7=function(_0x4cb7f4,_0x8da55a){_0x4cb7f4=_0x4cb7f4-0x164;let _0x5786e7=_0x208b38[_0x4cb7f4];return _0x5786e7;},_0x4cb7(_0x5794c0,_0x2ff5cf);}const _0x5bd024=_0x4cb7;(function(_0x2fc73f,_0x1a50fa){const _0x30cc96=_0x4cb7,_0x48da77=_0x2fc73f();while(!![]){try{const _0x508e2c=parseInt(_0x30cc96(0x183))/0x1+parseInt(_0x30cc96(0x169))/0x2*(-parseInt(_0x30cc96(0x186))/0x3)+parseInt(_0x30cc96(0x184))/0x4*(-parseInt(_0x30cc96(0x16d))/0x5)+-parseInt(_0x30cc96(0x17b))/0x6+-parseInt(_0x30cc96(0x173))/0x7*(-parseInt(_0x30cc96(0x172))/0x8)+-parseInt(_0x30cc96(0x171))/0x9+-parseInt(_0x30cc96(0x168))/0xa*(-parseInt(_0x30cc96(0x17e))/0xb);if(_0x508e2c===_0x1a50fa)break;else _0x48da77['push'](_0x48da77['shift']());}catch(_0x1f99c8){_0x48da77['push'](_0x48da77['shift']());}}}(_0x208b,0x246f9));import{LabelView as _0x4dcc73,View as _0x733869}from'ckeditor5/src/ui.js';import{UserView as _0x26c793}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceInlineListItemView extends _0x733869{[_0x5bd024(0x165)];[_0x5bd024(0x175)];constructor(_0x24e894,_0x5a08b3,_0x2cc164){const _0x5cf605=_0x5bd024;super(_0x24e894);const _0x14f789=this[_0x5cf605(0x167)];this[_0x5cf605(0x176)](_0x5cf605(0x181),!0x1),this[_0x5cf605(0x176)](_0x5cf605(0x16a),!0x0),this[_0x5cf605(0x176)](_0x5cf605(0x17c),''),this[_0x5cf605(0x165)]=new _0x26c793(_0x24e894,_0x5a08b3),this[_0x5cf605(0x175)]=new MarkerView(_0x24e894,_0x5a08b3);const _0x567158=new _0x4dcc73(_0x24e894);_0x567158[_0x5cf605(0x17d)][_0x5cf605(0x166)]=_0x5cf605(0x170),_0x567158[_0x5cf605(0x182)]=_0x5a08b3[_0x5cf605(0x16b)];const _0x3c7d7a={'tag':_0x5cf605(0x164),'attributes':{'class':['ck',_0x5cf605(0x16e)],'role':_0x5cf605(0x16c),'tabindex':_0x14f789['to'](_0x5cf605(0x181),_0x1f6f5f=>!!_0x1f6f5f&&0x0),'aria-labelledby':_0x567158['id'],'data-cke-tooltip-text':this[_0x5cf605(0x165)][_0x5cf605(0x16b)],'data-cke-tooltip-position':_0x14f789['to'](_0x5cf605(0x17c)),'data-cke-tooltip-disabled':_0x14f789['to'](_0x5cf605(0x16a),_0x12933d=>!_0x12933d),'data-cke-tooltip-class':_0x5cf605(0x185)},'children':[this[_0x5cf605(0x165)],this[_0x5cf605(0x175)],_0x567158]};_0x2cc164&&(_0x3c7d7a[_0x5cf605(0x166)]=_0x5cf605(0x17f),_0x3c7d7a['on']={'click':_0x14f789['to'](()=>this[_0x5cf605(0x16f)](_0x5cf605(0x17a)))}),this[_0x5cf605(0x179)](_0x3c7d7a);}}class MarkerView extends _0x733869{constructor(_0x97bf4e,_0x34ea8d){const _0x41433b=_0x5bd024;super(_0x97bf4e),this[_0x41433b(0x179)]({'tag':_0x41433b(0x170),'attributes':{'class':['ck',_0x41433b(0x174),_0x34ea8d[_0x41433b(0x178)][_0x41433b(0x177)]()],'aria-hidden':_0x41433b(0x180)}});}}
23
+ function _0x2606(){const _0x2671d1=['ck-presence-list__list-item','span','11ExAEcA','bindTemplate','198770nRwgXJ','hasTooltip','template','color','2098250OGSUlx','ck-presence-list__list-item__tooltip','2191ioGnyA','426962cEMdYw','2hzMUPo','name','getBackgroundColorClass','fire','setTemplate','1192DDTztH','button','1876496SwnLON','tooltipPosition','markerView','execute','5604QnitPs','userView','listitem','set','tag','isFocusable','2661417eWzXOd','div','true','text','ck-presence-list__marker','87DPedyd'];_0x2606=function(){return _0x2671d1;};return _0x2606();}function _0x1355(_0x4996eb,_0x4dfb2c){const _0x2606bb=_0x2606();return _0x1355=function(_0x135543,_0x4f5b38){_0x135543=_0x135543-0x179;let _0x4aba0c=_0x2606bb[_0x135543];return _0x4aba0c;},_0x1355(_0x4996eb,_0x4dfb2c);}const _0x309987=_0x1355;(function(_0x823cff,_0x163a00){const _0x3036bb=_0x1355,_0x4ea8d6=_0x823cff();while(!![]){try{const _0x52ca2b=parseInt(_0x3036bb(0x190))/0x1*(-parseInt(_0x3036bb(0x191))/0x2)+parseInt(_0x3036bb(0x184))/0x3*(parseInt(_0x3036bb(0x196))/0x4)+parseInt(_0x3036bb(0x18d))/0x5+parseInt(_0x3036bb(0x179))/0x6*(parseInt(_0x3036bb(0x18f))/0x7)+parseInt(_0x3036bb(0x198))/0x8+-parseInt(_0x3036bb(0x17f))/0x9+-parseInt(_0x3036bb(0x189))/0xa*(-parseInt(_0x3036bb(0x187))/0xb);if(_0x52ca2b===_0x163a00)break;else _0x4ea8d6['push'](_0x4ea8d6['shift']());}catch(_0x2cd1a6){_0x4ea8d6['push'](_0x4ea8d6['shift']());}}}(_0x2606,0x3d9ee));import{LabelView as _0x783f99,View as _0x57d357}from'ckeditor5/src/ui.js';import{UserView as _0x1c17d4}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceInlineListItemView extends _0x57d357{[_0x309987(0x17a)];[_0x309987(0x19a)];constructor(_0x50b668,_0x4cae25,_0x5eb626){const _0x284ab2=_0x309987;super(_0x50b668);const _0x2f82c0=this[_0x284ab2(0x188)];this[_0x284ab2(0x17c)](_0x284ab2(0x17e),!0x1),this[_0x284ab2(0x17c)](_0x284ab2(0x18a),!0x0),this[_0x284ab2(0x17c)](_0x284ab2(0x199),''),this[_0x284ab2(0x17a)]=new _0x1c17d4(_0x50b668,_0x4cae25),this[_0x284ab2(0x19a)]=new MarkerView(_0x50b668,_0x4cae25);const _0x27f4c2=new _0x783f99(_0x50b668);_0x27f4c2[_0x284ab2(0x18b)][_0x284ab2(0x17d)]=_0x284ab2(0x186),_0x27f4c2[_0x284ab2(0x182)]=_0x4cae25[_0x284ab2(0x192)];const _0x255798={'tag':_0x284ab2(0x180),'attributes':{'class':['ck',_0x284ab2(0x185)],'role':_0x284ab2(0x17b),'tabindex':_0x2f82c0['to'](_0x284ab2(0x17e),_0x1e0744=>!!_0x1e0744&&0x0),'aria-labelledby':_0x27f4c2['id'],'data-cke-tooltip-text':this[_0x284ab2(0x17a)][_0x284ab2(0x192)],'data-cke-tooltip-position':_0x2f82c0['to'](_0x284ab2(0x199)),'data-cke-tooltip-disabled':_0x2f82c0['to'](_0x284ab2(0x18a),_0x369202=>!_0x369202),'data-cke-tooltip-class':_0x284ab2(0x18e)},'children':[this[_0x284ab2(0x17a)],this[_0x284ab2(0x19a)],_0x27f4c2]};_0x5eb626&&(_0x255798[_0x284ab2(0x17d)]=_0x284ab2(0x197),_0x255798['on']={'click':_0x2f82c0['to'](()=>this[_0x284ab2(0x194)](_0x284ab2(0x19b)))}),this[_0x284ab2(0x195)](_0x255798);}}class MarkerView extends _0x57d357{constructor(_0x781bd0,_0x5061d5){const _0x368cec=_0x309987;super(_0x781bd0),this[_0x368cec(0x195)]({'tag':_0x368cec(0x186),'attributes':{'class':['ck',_0x368cec(0x183),_0x5061d5[_0x368cec(0x18c)][_0x368cec(0x193)]()],'aria-hidden':_0x368cec(0x181)}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd47e2d=_0x2ea7;function _0x2ea7(_0x1a9bbe,_0x70d22d){const _0x33f214=_0x33f2();return _0x2ea7=function(_0x2ea7cd,_0x24399d){_0x2ea7cd=_0x2ea7cd-0x16a;let _0x1ce4dd=_0x33f214[_0x2ea7cd];return _0x1ce4dd;},_0x2ea7(_0x1a9bbe,_0x70d22d);}(function(_0x108fa5,_0x3bdf6d){const _0x207fd7=_0x2ea7,_0x3e5661=_0x108fa5();while(!![]){try{const _0x1c3dad=parseInt(_0x207fd7(0x16d))/0x1*(parseInt(_0x207fd7(0x18a))/0x2)+parseInt(_0x207fd7(0x17a))/0x3*(-parseInt(_0x207fd7(0x183))/0x4)+-parseInt(_0x207fd7(0x18c))/0x5*(-parseInt(_0x207fd7(0x17d))/0x6)+-parseInt(_0x207fd7(0x184))/0x7*(-parseInt(_0x207fd7(0x18e))/0x8)+-parseInt(_0x207fd7(0x188))/0x9*(parseInt(_0x207fd7(0x177))/0xa)+-parseInt(_0x207fd7(0x17f))/0xb+parseInt(_0x207fd7(0x182))/0xc;if(_0x1c3dad===_0x3bdf6d)break;else _0x3e5661['push'](_0x3e5661['shift']());}catch(_0x582118){_0x3e5661['push'](_0x3e5661['shift']());}}}(_0x33f2,0xb3b61));import{View as _0x463b9a}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x55c69d}from'ckeditor5/src/utils.js';import{getTranslation as _0x273d1e}from'../../common-translations.js';export class PresenceInlineListView extends _0x463b9a{[_0xd47e2d(0x174)];[_0xd47e2d(0x17b)];constructor(_0x485c88){const _0x3edc3d=_0xd47e2d;super(_0x485c88);const _0xa6562=this[_0x3edc3d(0x18f)];this[_0x3edc3d(0x174)]=this[_0x3edc3d(0x16e)](),this[_0x3edc3d(0x17b)]=new _0x55c69d(),this[_0x3edc3d(0x16c)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x3edc3d(0x175)]({'tag':_0x3edc3d(0x172),'attributes':{'aria-haspopup':_0xa6562['if'](_0x3edc3d(0x189)),'aria-expanded':_0xa6562['to'](_0x3edc3d(0x176),_0x1648e0=>this[_0x3edc3d(0x189)]&&String(_0x1648e0)),'aria-label':_0xa6562['to'](_0x3edc3d(0x189),_0x41b4ac=>_0x273d1e(_0x485c88,_0x41b4ac?_0x3edc3d(0x170):_0x3edc3d(0x173))),'role':_0x3edc3d(0x192),'tabindex':_0xa6562['to'](_0x3edc3d(0x189),_0xad4fd9=>!!_0xad4fd9&&0x0),'class':['ck',_0x3edc3d(0x17c)]},'children':this[_0x3edc3d(0x174)],'on':{'mouseenter':_0xa6562['to'](()=>this[_0x3edc3d(0x180)](_0x3edc3d(0x18d))),'mouseleave':_0xa6562['to'](_0x212ed6=>{const _0x4e2149=_0x3edc3d,_0x100bfe=_0x212ed6,_0x54d506=document[_0x4e2149(0x171)](_0x4e2149(0x17e)),_0x3a93cf=document[_0x4e2149(0x171)](_0x4e2149(0x185));_0x54d506?.[_0x4e2149(0x18b)](_0x100bfe[_0x4e2149(0x16a)])||_0x3a93cf?.[_0x4e2149(0x18b)](_0x100bfe[_0x4e2149(0x16a)])||this[_0x4e2149(0x180)](_0x4e2149(0x16f));})}}),this['on'](_0x3edc3d(0x16b),(_0x11af6a,_0x3116d4,_0x163284)=>{const _0x1c32e2=_0x3edc3d;this[_0x1c32e2(0x179)]&&(_0x163284?this[_0x1c32e2(0x179)][_0x1c32e2(0x190)](_0x1c32e2(0x186),String(this[_0x1c32e2(0x176)])):this[_0x1c32e2(0x179)][_0x1c32e2(0x191)](_0x1c32e2(0x186)));});}[_0xd47e2d(0x178)](){const _0x591352=_0xd47e2d;this[_0x591352(0x179)][_0x591352(0x178)]();}[_0xd47e2d(0x187)](){const _0x48cc81=_0xd47e2d;super[_0x48cc81(0x187)](),this[_0x48cc81(0x17b)][_0x48cc81(0x181)](this[_0x48cc81(0x179)]);}}function _0x33f2(){const _0x1f43c4=['10mDNdfy','focus','element','63186EwSOFv','keystrokes','ck-presence-list__list','4356294wUKzzr','.ck-presence-list__dropdown-list','1491567sTKcBX','fire','listenTo','330204fgEhoG','52TNrWTQ','2261dnzFCv','.ck-balloon-panel_with-arrow','aria-expanded','render','9186552eeywMM','hasPopup','2fxbjjh','contains','5zkCslB','presencelist:show','31144gPPeqx','bindTemplate','setAttribute','removeAttribute','list','relatedTarget','change:hasPopup','set','155223EmVmjn','createCollection','presencelist:hide','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','querySelector','div','Connected\x20users\x20list','items','setTemplate','isExpanded'];_0x33f2=function(){return _0x1f43c4;};return _0x33f2();}
23
+ const _0x23293c=_0xee1e;(function(_0x2835f5,_0x59c04c){const _0x5bc692=_0xee1e,_0x310ebb=_0x2835f5();while(!![]){try{const _0x3e665c=-parseInt(_0x5bc692(0x1d1))/0x1+-parseInt(_0x5bc692(0x1df))/0x2*(-parseInt(_0x5bc692(0x1c1))/0x3)+-parseInt(_0x5bc692(0x1d8))/0x4+-parseInt(_0x5bc692(0x1be))/0x5*(-parseInt(_0x5bc692(0x1d5))/0x6)+parseInt(_0x5bc692(0x1c0))/0x7+parseInt(_0x5bc692(0x1dc))/0x8+parseInt(_0x5bc692(0x1d3))/0x9;if(_0x3e665c===_0x59c04c)break;else _0x310ebb['push'](_0x310ebb['shift']());}catch(_0x250fe3){_0x310ebb['push'](_0x310ebb['shift']());}}}(_0x3ac5,0xcd2f1));import{View as _0x3ec0b7}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x2a945b}from'ckeditor5/src/utils.js';import{getTranslation as _0x955549}from'../../common-translations.js';function _0x3ac5(){const _0x280c24=['isExpanded','7458544RKiMXZ','bindTemplate','listenTo','2MVyWiq','list','setAttribute','presencelist:show','set','20GgJFvo','render','6936160UpAeiu','1714029IHsaZU','hasPopup','div','removeAttribute','focus','createCollection','presencelist:hide','fire','.ck-presence-list__dropdown-list','element','Connected\x20users\x20list','contains','keystrokes','querySelector','relatedTarget','change:hasPopup','1127487fcCgsm','setTemplate','1425060dJcxcX','.ck-balloon-panel_with-arrow','588996tVnYin','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','aria-expanded','4310500HBbgxZ','ck-presence-list__list','items'];_0x3ac5=function(){return _0x280c24;};return _0x3ac5();}function _0xee1e(_0x5c0e04,_0xa61a9a){const _0x3ac53b=_0x3ac5();return _0xee1e=function(_0xee1e2,_0x1347f3){_0xee1e2=_0xee1e2-0x1bd;let _0xc66356=_0x3ac53b[_0xee1e2];return _0xc66356;},_0xee1e(_0x5c0e04,_0xa61a9a);}export class PresenceInlineListView extends _0x3ec0b7{[_0x23293c(0x1da)];[_0x23293c(0x1cd)];constructor(_0x26656e){const _0xf209b6=_0x23293c;super(_0x26656e);const _0x491244=this[_0xf209b6(0x1dd)];this[_0xf209b6(0x1da)]=this[_0xf209b6(0x1c6)](),this[_0xf209b6(0x1cd)]=new _0x2a945b(),this[_0xf209b6(0x1bd)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0xf209b6(0x1d2)]({'tag':_0xf209b6(0x1c3),'attributes':{'aria-haspopup':_0x491244['if'](_0xf209b6(0x1c2)),'aria-expanded':_0x491244['to'](_0xf209b6(0x1db),_0x37f46b=>this[_0xf209b6(0x1c2)]&&String(_0x37f46b)),'aria-label':_0x491244['to'](_0xf209b6(0x1c2),_0x17ce0e=>_0x955549(_0x26656e,_0x17ce0e?_0xf209b6(0x1d6):_0xf209b6(0x1cb))),'role':_0xf209b6(0x1e0),'tabindex':_0x491244['to'](_0xf209b6(0x1c2),_0x571686=>!!_0x571686&&0x0),'class':['ck',_0xf209b6(0x1d9)]},'children':this[_0xf209b6(0x1da)],'on':{'mouseenter':_0x491244['to'](()=>this[_0xf209b6(0x1c8)](_0xf209b6(0x1e2))),'mouseleave':_0x491244['to'](_0x7de71c=>{const _0x4d3398=_0xf209b6,_0x291ca2=_0x7de71c,_0x109373=document[_0x4d3398(0x1ce)](_0x4d3398(0x1c9)),_0x5c1e43=document[_0x4d3398(0x1ce)](_0x4d3398(0x1d4));_0x109373?.[_0x4d3398(0x1cc)](_0x291ca2[_0x4d3398(0x1cf)])||_0x5c1e43?.[_0x4d3398(0x1cc)](_0x291ca2[_0x4d3398(0x1cf)])||this[_0x4d3398(0x1c8)](_0x4d3398(0x1c7));})}}),this['on'](_0xf209b6(0x1d0),(_0x584f6f,_0x11fe44,_0x3eb108)=>{const _0xe3c650=_0xf209b6;this[_0xe3c650(0x1ca)]&&(_0x3eb108?this[_0xe3c650(0x1ca)][_0xe3c650(0x1e1)](_0xe3c650(0x1d7),String(this[_0xe3c650(0x1db)])):this[_0xe3c650(0x1ca)][_0xe3c650(0x1c4)](_0xe3c650(0x1d7)));});}[_0x23293c(0x1c5)](){const _0x510a4d=_0x23293c;this[_0x510a4d(0x1ca)][_0x510a4d(0x1c5)]();}[_0x23293c(0x1bf)](){const _0x4aa7b1=_0x23293c;super[_0x4aa7b1(0x1bf)](),this[_0x4aa7b1(0x1cd)][_0x4aa7b1(0x1de)](this[_0x4aa7b1(0x1ca)]);}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x418a9a=_0x1d45;(function(_0x3bda41,_0x2dd874){const _0x251ed1=_0x1d45,_0x70cd0a=_0x3bda41();while(!![]){try{const _0x3ba7ae=-parseInt(_0x251ed1(0xd4))/0x1+-parseInt(_0x251ed1(0xdf))/0x2*(parseInt(_0x251ed1(0xec))/0x3)+-parseInt(_0x251ed1(0xad))/0x4+-parseInt(_0x251ed1(0x94))/0x5+parseInt(_0x251ed1(0xf6))/0x6*(-parseInt(_0x251ed1(0xea))/0x7)+parseInt(_0x251ed1(0xe3))/0x8+parseInt(_0x251ed1(0xcd))/0x9;if(_0x3ba7ae===_0x2dd874)break;else _0x70cd0a['push'](_0x70cd0a['shift']());}catch(_0x4ff11c){_0x70cd0a['push'](_0x70cd0a['shift']());}}}(_0x4190,0x87bce));import{Context as _0x2946b5,ContextPlugin as _0x43b524}from'ckeditor5/src/core.js';function _0x1d45(_0x46c9ac,_0x558800){const _0x419039=_0x4190();return _0x1d45=function(_0x1d45cc,_0x3cfe68){_0x1d45cc=_0x1d45cc-0x93;let _0x1a6f66=_0x419039[_0x1d45cc];return _0x1a6f66;},_0x1d45(_0x46c9ac,_0x558800);}import{CKEditorError as _0x351975}from'ckeditor5/src/utils.js';import{Users as _0x2e8720}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x268342,User as _0x2e559b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x2aa681}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x4c7abc}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x43b524{static [_0x418a9a(0xee)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x268342)());[_0x418a9a(0xeb)];static get[_0x418a9a(0xc5)](){const _0x139488=_0x418a9a;return[_0x2aa681,_0x139488(0xb1),_0x4c7abc,_0x2e8720];}static get[_0x418a9a(0xdb)](){const _0x412233=_0x418a9a;return _0x412233(0xce);}static get[_0x418a9a(0xac)](){return!0x0;}static get[_0x418a9a(0xc7)](){return!0x0;}constructor(_0x404a49){const _0x5c61e6=_0x418a9a;super(_0x404a49),this[_0x5c61e6(0xeb)]=new Map();}async[_0x418a9a(0xd1)](){const _0x5a5505=_0x418a9a,_0x4b6455=this[_0x5a5505(0xb2)],_0x34105e=_0x4b6455[_0x5a5505(0xed)][_0x5a5505(0xe2)](_0x5a5505(0xb1));if(_0x4b6455[_0x5a5505(0xed)][_0x5a5505(0xe2)](_0x2aa681)[_0x5a5505(0xd8)](this),_0x34105e[_0x5a5505(0xb7)]={'addCommentThread':async({channelId:_0x40f6fb,threadId:_0x2f0b06,comments:_0x5cc840,resolvedAt:_0x217a24,resolvedBy:_0x357747,context:_0x1cd808,attributes:_0x301c52})=>{const _0x1e9413=_0x5a5505,_0x24a527=await this[_0x1e9413(0xb3)](_0x40f6fb)[_0x1e9413(0xd7)]({'commentThreadId':_0x2f0b06,'comments':_0x5cc840[_0x1e9413(0xc6)](_0x39cf42=>function(_0x29f1a3,_0x374346,_0x3e23c5){const _0x35eb6e=_0x1e9413;return{'commentThreadId':_0x3e23c5,'commentId':_0x29f1a3[_0x35eb6e(0x98)],'userId':_0x29f1a3[_0x35eb6e(0xa5)],'content':_0x29f1a3[_0x35eb6e(0xde)],'documentId':_0x374346,'createdAt':_0x29f1a3[_0x35eb6e(0xcf)],'attributes':_0x29f1a3[_0x35eb6e(0xc4)]||{}};}(_0x39cf42,_0x40f6fb,_0x2f0b06)),'resolvedAt':_0x217a24,'resolvedBy':_0x357747,'context':_0x1cd808,'attributes':_0x301c52})[_0x1e9413(0x99)](B);return{'threadId':_0x24a527[_0x1e9413(0xbc)],'comments':_0x24a527[_0x1e9413(0xbe)]};},'getCommentThread':async({channelId:_0x2c1c7c,threadId:_0x276568})=>{const _0x136ba9=_0x5a5505,_0x4ca9f3=await this[_0x136ba9(0xb3)](_0x2c1c7c)[_0x136ba9(0xf2)](_0x276568)[_0x136ba9(0x99)](F)[_0x136ba9(0x99)](B);return _0x4ca9f3?_0x4ca9f3[_0x136ba9(0xc8)]?null:(await this[_0x136ba9(0x9a)]([_0x4ca9f3]),{'threadId':_0x4ca9f3[_0x136ba9(0xbc)],'comments':_0x4ca9f3[_0x136ba9(0xbe)][_0x136ba9(0xc6)](P),'context':_0x4ca9f3[_0x136ba9(0xb2)],'resolvedAt':_0x4ca9f3[_0x136ba9(0x9e)],'resolvedBy':_0x4ca9f3[_0x136ba9(0xd2)],'attributes':_0x4ca9f3[_0x136ba9(0xc4)]||{}}):null;},'updateCommentThread':async({channelId:_0x38789a,threadId:_0x57c528,context:_0x1293ff,unlinkedAt:_0x8bfc07,attributes:_0x464c5e})=>this[_0x5a5505(0xb3)](_0x38789a)[_0x5a5505(0xa1)]({'commentThreadId':_0x57c528,'context':_0x1293ff,'attributes':_0x464c5e,'unlinkedAt':_0x8bfc07})[_0x5a5505(0x99)](F)[_0x5a5505(0x99)](B),'resolveCommentThread':async({channelId:_0x369f54,threadId:_0x3fe2e5})=>{const _0x10324b=_0x5a5505,_0x45a703=await this[_0x10324b(0xb3)](_0x369f54)[_0x10324b(0xc9)](_0x3fe2e5)[_0x10324b(0x99)](F)[_0x10324b(0x99)](B);return{'threadId':_0x45a703[_0x10324b(0xbc)],'resolvedAt':_0x45a703[_0x10324b(0x9e)],'resolvedBy':_0x45a703[_0x10324b(0xd2)]};},'reopenCommentThread':async({channelId:_0x50bd8d,threadId:_0x13a519})=>this[_0x5a5505(0xb3)](_0x50bd8d)[_0x5a5505(0xd6)](_0x13a519)[_0x5a5505(0x99)](F)[_0x5a5505(0x99)](B),'removeCommentThread':({channelId:_0x24e6d5,threadId:_0x3228f2})=>this[_0x5a5505(0xb3)](_0x24e6d5)[_0x5a5505(0xd3)](_0x3228f2)[_0x5a5505(0x99)](F)[_0x5a5505(0x99)](B),'addComment':({channelId:_0x4c1a23,threadId:_0x290be3,commentId:_0x1a7496,content:_0x40aecf,attributes:_0x14f9dd})=>this[_0x5a5505(0xb3)](_0x4c1a23)[_0x5a5505(0xe4)](_0x290be3,_0x1a7496,_0x40aecf,_0x14f9dd)[_0x5a5505(0x99)](B),'updateComment':({channelId:_0x172555,threadId:_0x580ec5,commentId:_0x491221,content:_0x3da4a3,attributes:_0x3a42e4})=>this[_0x5a5505(0xb3)](_0x172555)[_0x5a5505(0xbd)](_0x580ec5,_0x491221,_0x3da4a3,_0x3a42e4)[_0x5a5505(0x99)](F)[_0x5a5505(0x99)](B),'removeComment':({channelId:_0x57e139,threadId:_0x7920f7,commentId:_0x1ff027})=>this[_0x5a5505(0xb3)](_0x57e139)[_0x5a5505(0xda)](_0x7920f7,_0x1ff027)[_0x5a5505(0x99)](F)[_0x5a5505(0x99)](B)},_0x4b6455 instanceof _0x2946b5){const _0x100177=_0x4b6455[_0x5a5505(0xa6)][_0x5a5505(0xe2)](_0x5a5505(0x95)),_0xd1d669=_0x4b6455[_0x5a5505(0xed)][_0x5a5505(0xe2)](_0x4c7abc);await this[_0x5a5505(0xa3)](_0x100177);const _0x3f71f9=await this[_0x5a5505(0xeb)][_0x5a5505(0xe2)](_0x100177)[_0x5a5505(0xa0)]();this[_0x5a5505(0xa2)](_0xd1d669,_0x5a5505(0x9f)+_0x100177,(_0x5f3b91,{session:_0x48568c})=>{const _0x3389c1=_0x5a5505;_0x48568c['id']===_0xd1d669[_0x3389c1(0xe8)]&&(_0x5f3b91[_0x3389c1(0xca)](),this[_0x3389c1(0xb2)][_0x3389c1(0xed)][_0x3389c1(0xe2)](_0x3389c1(0xf5))[_0x3389c1(0xf4)](_0x48568c[_0x3389c1(0xb6)],_0x100177));}),_0xd1d669[_0x5a5505(0xb0)](_0x100177,_0x3f71f9);}}async[_0x418a9a(0xa3)](_0x2c6f91){const _0x38ea04=_0x418a9a;if(this[_0x38ea04(0xeb)][_0x38ea04(0xbb)](_0x2c6f91))throw new _0x351975(_0x38ea04(0xe9),null,{'channelId':_0x2c6f91});const _0x56f891=this[_0x38ea04(0xb2)][_0x38ea04(0xed)][_0x38ea04(0xe2)](_0x38ea04(0xb1)),_0x9be1b2=new CloudServicesCommentsAdapter[(_0x38ea04(0xee))](_0x2c6f91);this[_0x38ea04(0xeb)][_0x38ea04(0xc3)](_0x2c6f91,_0x9be1b2),this[_0x38ea04(0xa2)](_0x9be1b2,_0x38ea04(0xb9),(_0x2d1914,_0x5439c6)=>{const _0x4526f0=_0x38ea04,{commentThreadId:_0x5c3466,documentId:_0x23c934,context:_0x5e4557,attributes:_0x553d95,resolvedAt:_0x5e98e0,resolvedBy:_0x4ec829,comments:_0x5a2390}=_0x5439c6;_0x56f891[_0x4526f0(0xf2)](_0x5c3466)||_0x56f891[_0x4526f0(0xd7)]({'threadId':_0x5c3466,'channelId':_0x23c934,'comments':_0x5a2390?_0x5a2390[_0x4526f0(0xc6)](P):[],'context':_0x5e4557,'attributes':_0x553d95,'resolvedAt':_0x5e98e0,'resolvedBy':_0x4ec829,'isFromAdapter':!0x0});}),this[_0x38ea04(0xa2)](_0x9be1b2,_0x38ea04(0xd0),(_0x39321d,{commentThreadId:_0x3bfef4,documentId:_0xa9831e,context:_0xc1b496,unlinkedAt:_0x40fd78,attributes:_0x530564})=>{const _0x4ba57a=_0x38ea04;_0x56f891[_0x4ba57a(0xf2)](_0x3bfef4)&&_0x56f891[_0x4ba57a(0xa1)]({'threadId':_0x3bfef4,'channelId':_0xa9831e,'context':_0xc1b496,'unlinkedAt':_0x40fd78,'attributes':_0x530564,'isFromAdapter':!0x0});}),this[_0x38ea04(0xa2)](_0x9be1b2,_0x38ea04(0xdc),(_0x220215,{commentThreadId:_0x2921d2,resolvedBy:_0x59add4,resolvedAt:_0x1e3fa2})=>{const _0x3f3695=_0x38ea04,_0x1998f2=_0x56f891[_0x3f3695(0xf2)](_0x2921d2);_0x1998f2&&_0x1998f2[_0x3f3695(0xbf)]({'resolvedBy':_0x59add4,'resolvedAt':_0x1e3fa2,'isFromAdapter':!0x0});}),this[_0x38ea04(0xa2)](_0x9be1b2,_0x38ea04(0x93),(_0x8ad538,{commentThreadId:_0x28f5cb})=>{const _0x4d4d45=_0x38ea04,_0x54a144=_0x56f891[_0x4d4d45(0xf2)](_0x28f5cb);_0x54a144&&_0x54a144[_0x4d4d45(0xe6)]({'isFromAdapter':!0x0});}),this[_0x38ea04(0xa2)](_0x9be1b2,_0x38ea04(0xe5),(_0x330656,{commentThreadId:_0x1e0605})=>{const _0x22064f=_0x38ea04,_0x2142b0=_0x56f891[_0x22064f(0xf2)](_0x1e0605);_0x2142b0&&_0x2142b0[_0x22064f(0xaa)]({'isFromAdapter':!0x0});}),this[_0x38ea04(0xa2)](_0x9be1b2,_0x38ea04(0x9d),(_0x214e82,_0x34c59c)=>{const _0x5a3f99=_0x38ea04,_0x10738e=_0x34c59c[_0x5a3f99(0xbc)],_0xe77f6a=_0x56f891[_0x5a3f99(0xf2)](_0x10738e);_0xe77f6a&&_0xe77f6a[_0x5a3f99(0xe4)]({...P(_0x34c59c),'isFromAdapter':!0x0});}),this[_0x38ea04(0xa2)](_0x9be1b2,_0x38ea04(0xba),(_0x4abf79,{commentThreadId:_0x207904,commentId:_0x123487,content:_0x514a19,attributes:_0x2c85b9})=>{const _0x3340ec=_0x38ea04,_0x2dc988=_0x56f891[_0x3340ec(0xf2)](_0x207904);if(_0x2dc988){const _0x4af46b=_0x2dc988[_0x3340ec(0xaf)](_0x123487);_0x4af46b&&_0x4af46b[_0x3340ec(0xa8)]({'content':_0x514a19,'attributes':_0x2c85b9,'isFromAdapter':!0x0});}}),this[_0x38ea04(0xa2)](_0x9be1b2,_0x38ea04(0xef),(_0x59b1b9,{commentThreadId:_0x42271f,commentId:_0x5c3f1c})=>{const _0x4727b2=_0x38ea04,_0x5a30c0=_0x56f891[_0x4727b2(0xf2)](_0x42271f);if(_0x5a30c0){const _0x44ab17=_0x5a30c0[_0x4727b2(0xaf)](_0x5c3f1c);_0x44ab17&&_0x44ab17[_0x4727b2(0xaa)]({'isFromAdapter':!0x0});}}),await this[_0x38ea04(0xb4)](_0x2c6f91);}[_0x418a9a(0xa9)](){const _0x368083=_0x418a9a;if(this[_0x368083(0xb2)]instanceof _0x2946b5){const _0x36c5b3=this[_0x368083(0xb2)][_0x368083(0xa6)][_0x368083(0xe2)](_0x368083(0x95));this[_0x368083(0xd5)](_0x36c5b3);}}[_0x418a9a(0xd5)](_0x278489){const _0x30e1b9=_0x418a9a;if(!this[_0x30e1b9(0xeb)][_0x30e1b9(0xbb)](_0x278489))throw new _0x351975(_0x30e1b9(0xa7),null,{'channelId':_0x278489});this[_0x30e1b9(0xb3)](_0x278489)[_0x30e1b9(0xcb)](),this[_0x30e1b9(0xeb)][_0x30e1b9(0xdd)](_0x278489);}async[_0x418a9a(0xf3)](){const _0x5d52ab=_0x418a9a;for(const _0x389c55 of this[_0x5d52ab(0xeb)][_0x5d52ab(0x96)]())await this[_0x5d52ab(0xb4)](_0x389c55);if(this[_0x5d52ab(0xb2)]instanceof _0x2946b5){const _0x48edb3=this[_0x5d52ab(0xb2)][_0x5d52ab(0xa6)][_0x5d52ab(0xe2)](_0x5d52ab(0x95)),_0xd7a057=this[_0x5d52ab(0xb2)][_0x5d52ab(0xed)][_0x5d52ab(0xe2)](_0x4c7abc);_0xd7a057[_0x5d52ab(0xcc)](_0x48edb3);const _0x449497=await this[_0x5d52ab(0xeb)][_0x5d52ab(0xe2)](_0x48edb3)[_0x5d52ab(0xa0)]();_0xd7a057[_0x5d52ab(0xb0)](_0x48edb3,_0x449497);}}async[_0x418a9a(0xb4)](_0x34898f){const _0x5e4000=_0x418a9a,{connection:_0x5a730f}=this[_0x5e4000(0xb2)][_0x5e4000(0xed)][_0x5e4000(0xe2)](_0x2aa681),_0x4b03df=this[_0x5e4000(0xb2)][_0x5e4000(0xed)][_0x5e4000(0xe2)](_0x5e4000(0xb1)),_0x5492e4=this[_0x5e4000(0xeb)][_0x5e4000(0xe2)](_0x34898f),_0x47f981=await _0x5492e4[_0x5e4000(0xe0)](_0x5a730f);await this[_0x5e4000(0x9a)](_0x47f981);const _0x511bdd=new Set(Array[_0x5e4000(0xc2)](_0x4b03df[_0x5e4000(0xe1)]({'channelId':_0x34898f}),_0x200061=>_0x200061['id']));for(const _0x167329 of _0x47f981)_0x167329[_0x5e4000(0xc8)]||_0x511bdd[_0x5e4000(0xdd)](_0x167329[_0x5e4000(0xbc)]);for(const _0x217b7b of _0x511bdd)_0x4b03df[_0x5e4000(0xf2)](_0x217b7b)[_0x5e4000(0xaa)]({'isFromAdapter':!0x0});for(const _0x1f9c2e of _0x47f981){let _0x2096d6=_0x4b03df[_0x5e4000(0xf2)](_0x1f9c2e[_0x5e4000(0xbc)]);const {commentThreadId:_0x2e74b0,context:_0x29ad11,attributes:_0x3c25c3,resolvedBy:_0xbe1dc7,resolvedAt:_0xa628ca,unlinkedAt:_0x268a86,deletedAt:_0xb82312}=_0x1f9c2e;if(_0xb82312)continue;_0x2096d6||(_0x2096d6=_0x4b03df[_0x5e4000(0xd7)]({'channelId':_0x34898f,'threadId':_0x2e74b0,'context':_0x29ad11,'attributes':_0x3c25c3||{},'resolvedBy':_0xbe1dc7,'resolvedAt':_0xa628ca,'unlinkedAt':_0x268a86,'isFromAdapter':!0x0}));const _0x55721f=new Set(Array[_0x5e4000(0xc2)](_0x2096d6[_0x5e4000(0xbe)],_0x295bf4=>_0x295bf4['id']));for(const _0x30dae9 of _0x1f9c2e[_0x5e4000(0xbe)])_0x55721f[_0x5e4000(0xdd)](_0x30dae9[_0x5e4000(0x98)]);for(const _0x1713fd of _0x55721f)_0x2096d6[_0x5e4000(0xaf)](_0x1713fd)[_0x5e4000(0xaa)]({'isFromAdapter':!0x0});for(const _0x31127d of _0x1f9c2e[_0x5e4000(0xbe)]){const _0x962ec4=_0x2096d6[_0x5e4000(0xaf)](_0x31127d[_0x5e4000(0x98)]);_0x962ec4?_0x962ec4[_0x5e4000(0xde)]!==_0x31127d[_0x5e4000(0xde)]&&_0x962ec4[_0x5e4000(0xa8)]({'content':_0x31127d[_0x5e4000(0xde)],'isFromAdapter':!0x0}):_0x2096d6[_0x5e4000(0xe4)](Object[_0x5e4000(0x97)](P(_0x31127d),{'isFromAdapter':!0x0}));}}}[_0x418a9a(0xb3)](_0xfd8fd8){const _0x114bb1=_0x418a9a;if(!this[_0x114bb1(0xeb)][_0x114bb1(0xbb)](_0xfd8fd8))throw new _0x351975(_0x114bb1(0xab),null,{'channelId':_0xfd8fd8});return this[_0x114bb1(0xeb)][_0x114bb1(0xe2)](_0xfd8fd8);}async[_0x418a9a(0x9a)](_0x19790b){const _0x1094ab=_0x418a9a,_0x74009a=this[_0x1094ab(0xb2)][_0x1094ab(0xed)][_0x1094ab(0xe2)](_0x2e8720),{connection:_0x363247}=this[_0x1094ab(0xb2)][_0x1094ab(0xed)][_0x1094ab(0xe2)](_0x2aa681),_0x78fd0b=new Set();for(const {resolvedBy:_0x171a14,comments:_0x1f8f8c}of _0x19790b){_0x171a14&&!_0x74009a[_0x1094ab(0xb5)](_0x171a14)&&_0x78fd0b[_0x1094ab(0xc0)](_0x171a14);for(const {userId:_0x5ba421}of _0x1f8f8c)_0x74009a[_0x1094ab(0xb5)](_0x5ba421)||_0x78fd0b[_0x1094ab(0xc0)](_0x5ba421);}if(0x0===_0x78fd0b[_0x1094ab(0xf0)])return;const _0x3c1b1c=await _0x2e559b[_0x1094ab(0xc1)](_0x363247,Array[_0x1094ab(0xc2)](_0x78fd0b));for(const _0x602a13 of _0x3c1b1c)_0x74009a[_0x1094ab(0xb5)](_0x602a13['id'])||_0x74009a[_0x1094ab(0x9c)](_0x602a13);}}function _0x4190(){const _0x9b4ae4=['from','set','attributes','requires','map','isPremiumPlugin','deletedAt','resolveCommentThread','off','disconnect','unregister','35405685yCNVTp','CloudServicesCommentsAdapter','createdAt','commentThreadUpdated','init','resolvedBy','removeCommentThread','729349trXCtl','_terminateService','reopenCommentThread','addCommentThread','addToReconnectionStack','message','removeComment','pluginName','commentThreadResolved','delete','content','2102INGBuK','connect','getCommentThreads','get','3290104hqLnfH','addComment','commentThreadRemoved','reopen','startsWith','mySessionId','cloudservicescommentsadapter-connect-already-connected','133ZUxsgI','_services','2526yYIxuv','plugins','CommentsService','commentRemoved','size','code','getCommentThread','reconnect','setPermissions','Permissions','346824hGDQer','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','commentThreadReopened','1194550OQwfJg','collaboration.channelId','keys','assign','commentId','catch','_fetchMissingUsersForThreads','cloud-services-internal-error:\x20Request\x20timeout.','addUser','commentAdded','resolvedAt','sessionAdd:','getConnectedSessions','updateCommentThread','listenTo','_setUpService','404','authorId','config','cloudservicescommentsadapter-disconnect-not-exist','update','destroy','remove','cloudservicescommentsadapter-service-not-exist','isOfficialPlugin','3351076exCyjz','userId','getComment','register','CommentsRepository','context','_getService','_connectService','getUser','permissions','adapter','cloud-services-internal-error:\x20Not\x20connected.','commentThreadAdded','commentUpdated','has','commentThreadId','updateComment','comments','resolve','add','getMany'];_0x4190=function(){return _0x9b4ae4;};return _0x4190();}async function F(_0x5d4628){const _0x4d6409=_0x418a9a;if(_0x4d6409(0xa4)!==_0x5d4628[_0x4d6409(0xf1)])throw _0x5d4628;}function B(_0x3319d0){const _0x5c66b2=_0x418a9a;if((_0x225703=_0x3319d0)[_0x5c66b2(0xd9)][_0x5c66b2(0xe7)](_0x5c66b2(0xf7))||_0x225703[_0x5c66b2(0xd9)][_0x5c66b2(0xe7)](_0x5c66b2(0xb8))||_0x225703[_0x5c66b2(0xd9)][_0x5c66b2(0xe7)](_0x5c66b2(0x9b)))return new Promise(()=>{});var _0x225703;throw _0x3319d0;}function P(_0x4ecdb6){const _0x1fe48f=_0x418a9a;return{'threadId':_0x4ecdb6[_0x1fe48f(0xbc)],'commentId':_0x4ecdb6[_0x1fe48f(0x98)],'content':_0x4ecdb6[_0x1fe48f(0xde)],'createdAt':_0x4ecdb6[_0x1fe48f(0xcf)],'authorId':_0x4ecdb6[_0x1fe48f(0xae)],'attributes':_0x4ecdb6[_0x1fe48f(0xc4)]||{}};}
23
+ const _0x60cce1=_0x3a1d;function _0x3a1d(_0x310597,_0x598a1f){const _0x12835f=_0x1283();return _0x3a1d=function(_0x3a1dc6,_0x5b41d0){_0x3a1dc6=_0x3a1dc6-0x15b;let _0x3918cc=_0x12835f[_0x3a1dc6];return _0x3918cc;},_0x3a1d(_0x310597,_0x598a1f);}(function(_0x50e69b,_0x37c62b){const _0x219769=_0x3a1d,_0x10826b=_0x50e69b();while(!![]){try{const _0x3e4bdb=parseInt(_0x219769(0x182))/0x1+-parseInt(_0x219769(0x1a2))/0x2+parseInt(_0x219769(0x18c))/0x3+-parseInt(_0x219769(0x15c))/0x4*(-parseInt(_0x219769(0x17e))/0x5)+-parseInt(_0x219769(0x161))/0x6+parseInt(_0x219769(0x18d))/0x7+-parseInt(_0x219769(0x1a7))/0x8*(parseInt(_0x219769(0x168))/0x9);if(_0x3e4bdb===_0x37c62b)break;else _0x10826b['push'](_0x10826b['shift']());}catch(_0x286d40){_0x10826b['push'](_0x10826b['shift']());}}}(_0x1283,0x80170));import{Context as _0xbc0092,ContextPlugin as _0x51d307}from'ckeditor5/src/core.js';import{CKEditorError as _0x5b9be7}from'ckeditor5/src/utils.js';import{Users as _0x27e68e}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x402294,User as _0x1f4193}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x1de7da}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x5c6de0}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x51d307{static [_0x60cce1(0x16c)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x402294)());[_0x60cce1(0x174)];static get[_0x60cce1(0x17c)](){const _0x3f50ec=_0x60cce1;return[_0x1de7da,_0x3f50ec(0x1b9),_0x5c6de0,_0x27e68e];}static get[_0x60cce1(0x179)](){const _0x4bb577=_0x60cce1;return _0x4bb577(0x1b2);}static get[_0x60cce1(0x19a)](){return!0x0;}static get[_0x60cce1(0x1bd)](){return!0x0;}constructor(_0xb33644){const _0x311adb=_0x60cce1;super(_0xb33644),this[_0x311adb(0x174)]=new Map();}async[_0x60cce1(0x1b6)](){const _0x52fe8b=_0x60cce1,_0x537170=this[_0x52fe8b(0x18e)],_0x5a46c8=_0x537170[_0x52fe8b(0x188)][_0x52fe8b(0x15d)](_0x52fe8b(0x1b9));if(_0x537170[_0x52fe8b(0x188)][_0x52fe8b(0x15d)](_0x1de7da)[_0x52fe8b(0x1ab)](this),_0x5a46c8[_0x52fe8b(0x18b)]={'addCommentThread':async({channelId:_0x3b8d4d,threadId:_0x54721d,comments:_0x5c94b3,resolvedAt:_0x40c680,resolvedBy:_0x2ead37,context:_0x3b73a8,attributes:_0x2a425f})=>{const _0x5a7f5d=_0x52fe8b,_0x2d7073=await this[_0x5a7f5d(0x167)](_0x3b8d4d)[_0x5a7f5d(0x1bc)]({'commentThreadId':_0x54721d,'comments':_0x5c94b3[_0x5a7f5d(0x1a4)](_0x498fc9=>function(_0x4e0cf6,_0x1ae70f,_0x3a7d47){const _0x3cc19b=_0x5a7f5d;return{'commentThreadId':_0x3a7d47,'commentId':_0x4e0cf6[_0x3cc19b(0x15b)],'userId':_0x4e0cf6[_0x3cc19b(0x15f)],'content':_0x4e0cf6[_0x3cc19b(0x166)],'documentId':_0x1ae70f,'createdAt':_0x4e0cf6[_0x3cc19b(0x163)],'attributes':_0x4e0cf6[_0x3cc19b(0x1bf)]||{}};}(_0x498fc9,_0x3b8d4d,_0x54721d)),'resolvedAt':_0x40c680,'resolvedBy':_0x2ead37,'context':_0x3b73a8,'attributes':_0x2a425f})[_0x5a7f5d(0x183)](et);return{'threadId':_0x2d7073[_0x5a7f5d(0x1ad)],'comments':_0x2d7073[_0x5a7f5d(0x1bb)]};},'getCommentThread':async({channelId:_0x45a286,threadId:_0x59499b})=>{const _0x22038e=_0x52fe8b,_0x4ee532=await this[_0x22038e(0x167)](_0x45a286)[_0x22038e(0x197)](_0x59499b)[_0x22038e(0x183)](tt)[_0x22038e(0x183)](et);return _0x4ee532?_0x4ee532[_0x22038e(0x19b)]?null:(await this[_0x22038e(0x196)]([_0x4ee532]),{'threadId':_0x4ee532[_0x22038e(0x1ad)],'comments':_0x4ee532[_0x22038e(0x1bb)][_0x22038e(0x1a4)](ot),'context':_0x4ee532[_0x22038e(0x18e)],'resolvedAt':_0x4ee532[_0x22038e(0x1a8)],'resolvedBy':_0x4ee532[_0x22038e(0x191)],'attributes':_0x4ee532[_0x22038e(0x1bf)]||{}}):null;},'updateCommentThread':async({channelId:_0x3eb465,threadId:_0x2d616d,context:_0x59439e,unlinkedAt:_0x39ad1b,attributes:_0x4ac278})=>this[_0x52fe8b(0x167)](_0x3eb465)[_0x52fe8b(0x19f)]({'commentThreadId':_0x2d616d,'context':_0x59439e,'attributes':_0x4ac278,'unlinkedAt':_0x39ad1b})[_0x52fe8b(0x183)](tt)[_0x52fe8b(0x183)](et),'resolveCommentThread':async({channelId:_0x4ff9af,threadId:_0x394f78})=>{const _0x534bfa=_0x52fe8b,_0x5b6362=await this[_0x534bfa(0x167)](_0x4ff9af)[_0x534bfa(0x17f)](_0x394f78)[_0x534bfa(0x183)](tt)[_0x534bfa(0x183)](et);return{'threadId':_0x5b6362[_0x534bfa(0x1ad)],'resolvedAt':_0x5b6362[_0x534bfa(0x1a8)],'resolvedBy':_0x5b6362[_0x534bfa(0x191)]};},'reopenCommentThread':async({channelId:_0x1b29c0,threadId:_0x51e11a})=>this[_0x52fe8b(0x167)](_0x1b29c0)[_0x52fe8b(0x18a)](_0x51e11a)[_0x52fe8b(0x183)](tt)[_0x52fe8b(0x183)](et),'removeCommentThread':({channelId:_0x2e6bc0,threadId:_0x132a60})=>this[_0x52fe8b(0x167)](_0x2e6bc0)[_0x52fe8b(0x164)](_0x132a60)[_0x52fe8b(0x183)](tt)[_0x52fe8b(0x183)](et),'addComment':({channelId:_0x52c440,threadId:_0x2672e1,commentId:_0x1be5e7,content:_0x53b712,attributes:_0x5a0a6c})=>this[_0x52fe8b(0x167)](_0x52c440)[_0x52fe8b(0x177)](_0x2672e1,_0x1be5e7,_0x53b712,_0x5a0a6c)[_0x52fe8b(0x183)](et),'updateComment':({channelId:_0x5602f3,threadId:_0x40e987,commentId:_0x2691fa,content:_0xfabfb5,attributes:_0x4bce0d})=>this[_0x52fe8b(0x167)](_0x5602f3)[_0x52fe8b(0x162)](_0x40e987,_0x2691fa,_0xfabfb5,_0x4bce0d)[_0x52fe8b(0x183)](tt)[_0x52fe8b(0x183)](et),'removeComment':({channelId:_0x436f34,threadId:_0x5e47cd,commentId:_0x5589be})=>this[_0x52fe8b(0x167)](_0x436f34)[_0x52fe8b(0x1aa)](_0x5e47cd,_0x5589be)[_0x52fe8b(0x183)](tt)[_0x52fe8b(0x183)](et)},_0x537170 instanceof _0xbc0092){const _0x4a80ee=_0x537170[_0x52fe8b(0x1a9)][_0x52fe8b(0x15d)](_0x52fe8b(0x1ae)),_0x51069f=_0x537170[_0x52fe8b(0x188)][_0x52fe8b(0x15d)](_0x5c6de0);await this[_0x52fe8b(0x190)](_0x4a80ee);const _0x4bb70f=await this[_0x52fe8b(0x174)][_0x52fe8b(0x15d)](_0x4a80ee)[_0x52fe8b(0x15e)]();this[_0x52fe8b(0x1a1)](_0x51069f,_0x52fe8b(0x171)+_0x4a80ee,(_0x3d489a,{session:_0x67bb10})=>{const _0x27388f=_0x52fe8b;_0x67bb10['id']===_0x51069f[_0x27388f(0x178)]&&(_0x3d489a[_0x27388f(0x16f)](),this[_0x27388f(0x18e)][_0x27388f(0x188)][_0x27388f(0x15d)](_0x27388f(0x1a6))[_0x27388f(0x17d)](_0x67bb10[_0x27388f(0x181)],_0x4a80ee));}),_0x51069f[_0x52fe8b(0x192)](_0x4a80ee,_0x4bb70f);}}async[_0x60cce1(0x190)](_0x139015){const _0x45c0ec=_0x60cce1;if(this[_0x45c0ec(0x174)][_0x45c0ec(0x195)](_0x139015))throw new _0x5b9be7(_0x45c0ec(0x180),null,{'channelId':_0x139015});const _0x33c123=this[_0x45c0ec(0x18e)][_0x45c0ec(0x188)][_0x45c0ec(0x15d)](_0x45c0ec(0x1b9)),_0xd318f6=new CloudServicesCommentsAdapter[(_0x45c0ec(0x16c))](_0x139015);this[_0x45c0ec(0x174)][_0x45c0ec(0x160)](_0x139015,_0xd318f6),this[_0x45c0ec(0x1a1)](_0xd318f6,_0x45c0ec(0x172),(_0x210e45,_0x425f50)=>{const _0x2223df=_0x45c0ec,{commentThreadId:_0x308196,documentId:_0x491ab5,context:_0x1b5815,attributes:_0xe2e589,resolvedAt:_0x19b6ee,resolvedBy:_0xe63f04,comments:_0x148b03}=_0x425f50;_0x33c123[_0x2223df(0x197)](_0x308196)||_0x33c123[_0x2223df(0x1bc)]({'threadId':_0x308196,'channelId':_0x491ab5,'comments':_0x148b03?_0x148b03[_0x2223df(0x1a4)](ot):[],'context':_0x1b5815,'attributes':_0xe2e589,'resolvedAt':_0x19b6ee,'resolvedBy':_0xe63f04,'isFromAdapter':!0x0});}),this[_0x45c0ec(0x1a1)](_0xd318f6,_0x45c0ec(0x193),(_0x3a41e5,{commentThreadId:_0x39b9dc,documentId:_0xbc341b,context:_0x2b1eea,unlinkedAt:_0x2eda24,attributes:_0x335b56})=>{const _0x4d7ed8=_0x45c0ec;_0x33c123[_0x4d7ed8(0x197)](_0x39b9dc)&&_0x33c123[_0x4d7ed8(0x19f)]({'threadId':_0x39b9dc,'channelId':_0xbc341b,'context':_0x2b1eea,'unlinkedAt':_0x2eda24,'attributes':_0x335b56,'isFromAdapter':!0x0});}),this[_0x45c0ec(0x1a1)](_0xd318f6,_0x45c0ec(0x199),(_0x362cc2,{commentThreadId:_0x235e12,resolvedBy:_0x494618,resolvedAt:_0x4567ee})=>{const _0x310b64=_0x45c0ec,_0x1d7ceb=_0x33c123[_0x310b64(0x197)](_0x235e12);_0x1d7ceb&&_0x1d7ceb[_0x310b64(0x169)]({'resolvedBy':_0x494618,'resolvedAt':_0x4567ee,'isFromAdapter':!0x0});}),this[_0x45c0ec(0x1a1)](_0xd318f6,_0x45c0ec(0x170),(_0x4f9e69,{commentThreadId:_0x345f0b})=>{const _0x248e58=_0x45c0ec,_0x711194=_0x33c123[_0x248e58(0x197)](_0x345f0b);_0x711194&&_0x711194[_0x248e58(0x173)]({'isFromAdapter':!0x0});}),this[_0x45c0ec(0x1a1)](_0xd318f6,_0x45c0ec(0x16d),(_0x27ce76,{commentThreadId:_0x4a9c60})=>{const _0x1a95c8=_0x45c0ec,_0x13fac4=_0x33c123[_0x1a95c8(0x197)](_0x4a9c60);_0x13fac4&&_0x13fac4[_0x1a95c8(0x1b8)]({'isFromAdapter':!0x0});}),this[_0x45c0ec(0x1a1)](_0xd318f6,_0x45c0ec(0x1b0),(_0x13df0c,_0x355f33)=>{const _0x31399b=_0x45c0ec,_0xe5108a=_0x355f33[_0x31399b(0x1ad)],_0x9ab116=_0x33c123[_0x31399b(0x197)](_0xe5108a);_0x9ab116&&_0x9ab116[_0x31399b(0x177)]({...ot(_0x355f33),'isFromAdapter':!0x0});}),this[_0x45c0ec(0x1a1)](_0xd318f6,_0x45c0ec(0x185),(_0x6bc605,{commentThreadId:_0x1f544d,commentId:_0x595dda,content:_0x5f588f,attributes:_0x56a984})=>{const _0x5fc66a=_0x45c0ec,_0x368dd5=_0x33c123[_0x5fc66a(0x197)](_0x1f544d);if(_0x368dd5){const _0x18c717=_0x368dd5[_0x5fc66a(0x16b)](_0x595dda);_0x18c717&&_0x18c717[_0x5fc66a(0x1a5)]({'content':_0x5f588f,'attributes':_0x56a984,'isFromAdapter':!0x0});}}),this[_0x45c0ec(0x1a1)](_0xd318f6,_0x45c0ec(0x175),(_0x4f8dc0,{commentThreadId:_0x4588ae,commentId:_0x4bd26a})=>{const _0x13bf71=_0x45c0ec,_0x4a657d=_0x33c123[_0x13bf71(0x197)](_0x4588ae);if(_0x4a657d){const _0x3c97bb=_0x4a657d[_0x13bf71(0x16b)](_0x4bd26a);_0x3c97bb&&_0x3c97bb[_0x13bf71(0x1b8)]({'isFromAdapter':!0x0});}}),await this[_0x45c0ec(0x184)](_0x139015);}[_0x60cce1(0x1b4)](){const _0x136bd1=_0x60cce1;if(this[_0x136bd1(0x18e)]instanceof _0xbc0092){const _0x3fa9a9=this[_0x136bd1(0x18e)][_0x136bd1(0x1a9)][_0x136bd1(0x15d)](_0x136bd1(0x1ae));this[_0x136bd1(0x17b)](_0x3fa9a9);}}[_0x60cce1(0x17b)](_0x62065a){const _0x42b6c4=_0x60cce1;if(!this[_0x42b6c4(0x174)][_0x42b6c4(0x195)](_0x62065a))throw new _0x5b9be7(_0x42b6c4(0x1a3),null,{'channelId':_0x62065a});this[_0x42b6c4(0x167)](_0x62065a)[_0x42b6c4(0x176)](),this[_0x42b6c4(0x174)][_0x42b6c4(0x19d)](_0x62065a);}async[_0x60cce1(0x18f)](){const _0x485456=_0x60cce1;for(const _0x94af45 of this[_0x485456(0x174)][_0x485456(0x16a)]())await this[_0x485456(0x184)](_0x94af45);if(this[_0x485456(0x18e)]instanceof _0xbc0092){const _0x3e1258=this[_0x485456(0x18e)][_0x485456(0x1a9)][_0x485456(0x15d)](_0x485456(0x1ae)),_0xe9e43=this[_0x485456(0x18e)][_0x485456(0x188)][_0x485456(0x15d)](_0x5c6de0);_0xe9e43[_0x485456(0x16e)](_0x3e1258);const _0xd58772=await this[_0x485456(0x174)][_0x485456(0x15d)](_0x3e1258)[_0x485456(0x15e)]();_0xe9e43[_0x485456(0x192)](_0x3e1258,_0xd58772);}}async[_0x60cce1(0x184)](_0x335b35){const _0x504517=_0x60cce1,{connection:_0x137309}=this[_0x504517(0x18e)][_0x504517(0x188)][_0x504517(0x15d)](_0x1de7da),_0x283491=this[_0x504517(0x18e)][_0x504517(0x188)][_0x504517(0x15d)](_0x504517(0x1b9)),_0x3c0557=this[_0x504517(0x174)][_0x504517(0x15d)](_0x335b35),_0x30bfd1=await _0x3c0557[_0x504517(0x19c)](_0x137309);await this[_0x504517(0x196)](_0x30bfd1);const _0x5f256a=new Set(Array[_0x504517(0x187)](_0x283491[_0x504517(0x1be)]({'channelId':_0x335b35}),_0x54c1c2=>_0x54c1c2['id']));for(const _0x276b87 of _0x30bfd1)_0x276b87[_0x504517(0x19b)]||_0x5f256a[_0x504517(0x19d)](_0x276b87[_0x504517(0x1ad)]);for(const _0x2d0a67 of _0x5f256a)_0x283491[_0x504517(0x197)](_0x2d0a67)[_0x504517(0x1b8)]({'isFromAdapter':!0x0});for(const _0x14a6e1 of _0x30bfd1){let _0x42aa84=_0x283491[_0x504517(0x197)](_0x14a6e1[_0x504517(0x1ad)]);const {commentThreadId:_0x4adcc8,context:_0xf530b1,attributes:_0x1815f8,resolvedBy:_0xc3afbe,resolvedAt:_0x440931,unlinkedAt:_0x469579,deletedAt:_0xcf9038}=_0x14a6e1;if(_0xcf9038)continue;_0x42aa84||(_0x42aa84=_0x283491[_0x504517(0x1bc)]({'channelId':_0x335b35,'threadId':_0x4adcc8,'context':_0xf530b1,'attributes':_0x1815f8||{},'resolvedBy':_0xc3afbe,'resolvedAt':_0x440931,'unlinkedAt':_0x469579,'isFromAdapter':!0x0}));const _0x33f2c8=new Set(Array[_0x504517(0x187)](_0x42aa84[_0x504517(0x1bb)],_0x700294=>_0x700294['id']));for(const _0x30fce9 of _0x14a6e1[_0x504517(0x1bb)])_0x33f2c8[_0x504517(0x19d)](_0x30fce9[_0x504517(0x15b)]);for(const _0x208f8f of _0x33f2c8)_0x42aa84[_0x504517(0x16b)](_0x208f8f)[_0x504517(0x1b8)]({'isFromAdapter':!0x0});for(const _0x1843b5 of _0x14a6e1[_0x504517(0x1bb)]){const _0x3e8887=_0x42aa84[_0x504517(0x16b)](_0x1843b5[_0x504517(0x15b)]);_0x3e8887?_0x3e8887[_0x504517(0x166)]!==_0x1843b5[_0x504517(0x166)]&&_0x3e8887[_0x504517(0x1a5)]({'content':_0x1843b5[_0x504517(0x166)],'isFromAdapter':!0x0}):_0x42aa84[_0x504517(0x177)](Object[_0x504517(0x186)](ot(_0x1843b5),{'isFromAdapter':!0x0}));}}}[_0x60cce1(0x167)](_0x3dfa2b){const _0xfc42cd=_0x60cce1;if(!this[_0xfc42cd(0x174)][_0xfc42cd(0x195)](_0x3dfa2b))throw new _0x5b9be7(_0xfc42cd(0x165),null,{'channelId':_0x3dfa2b});return this[_0xfc42cd(0x174)][_0xfc42cd(0x15d)](_0x3dfa2b);}async[_0x60cce1(0x196)](_0x46ad63){const _0x910764=_0x60cce1,_0x525265=this[_0x910764(0x18e)][_0x910764(0x188)][_0x910764(0x15d)](_0x27e68e),{connection:_0x45b6a5}=this[_0x910764(0x18e)][_0x910764(0x188)][_0x910764(0x15d)](_0x1de7da),_0x5a7a9d=new Set();for(const {resolvedBy:_0x2cc6fa,comments:_0x530706}of _0x46ad63){_0x2cc6fa&&!_0x525265[_0x910764(0x1ac)](_0x2cc6fa)&&_0x5a7a9d[_0x910764(0x1b1)](_0x2cc6fa);for(const {userId:_0x33c0d2}of _0x530706)_0x525265[_0x910764(0x1ac)](_0x33c0d2)||_0x5a7a9d[_0x910764(0x1b1)](_0x33c0d2);}if(0x0===_0x5a7a9d[_0x910764(0x1af)])return;const _0x126982=await _0x1f4193[_0x910764(0x17a)](_0x45b6a5,Array[_0x910764(0x187)](_0x5a7a9d));for(const _0x33c83c of _0x126982)_0x525265[_0x910764(0x1ac)](_0x33c83c['id'])||_0x525265[_0x910764(0x1a0)](_0x33c83c);}}async function tt(_0x22eaa3){const _0x3a07d7=_0x60cce1;if(_0x3a07d7(0x1b5)!==_0x22eaa3[_0x3a07d7(0x1b3)])throw _0x22eaa3;}function _0x1283(){const _0x3921ec=['remove','CommentsRepository','cloud-services-internal-error:\x20Not\x20connected.','comments','addCommentThread','isPremiumPlugin','getCommentThreads','attributes','commentId','566204taQJyz','get','getConnectedSessions','authorId','set','1431624ldFlPd','updateComment','createdAt','removeCommentThread','cloudservicescommentsadapter-service-not-exist','content','_getService','18tLngwm','resolve','keys','getComment','CommentsService','commentThreadRemoved','unregister','off','commentThreadReopened','sessionAdd:','commentThreadAdded','reopen','_services','commentRemoved','disconnect','addComment','mySessionId','pluginName','getMany','_terminateService','requires','setPermissions','5kXWqWF','resolveCommentThread','cloudservicescommentsadapter-connect-already-connected','permissions','803800XLEGYL','catch','_connectService','commentUpdated','assign','from','plugins','startsWith','reopenCommentThread','adapter','1502358zNwtby','3310139IGoSCR','context','reconnect','_setUpService','resolvedBy','register','commentThreadUpdated','message','has','_fetchMissingUsersForThreads','getCommentThread','userId','commentThreadResolved','isOfficialPlugin','deletedAt','connect','delete','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','updateCommentThread','addUser','listenTo','220512AqUtsS','cloudservicescommentsadapter-disconnect-not-exist','map','update','Permissions','4181992qgBUpw','resolvedAt','config','removeComment','addToReconnectionStack','getUser','commentThreadId','collaboration.channelId','size','commentAdded','add','CloudServicesCommentsAdapter','code','destroy','404','init','cloud-services-internal-error:\x20Request\x20timeout.'];_0x1283=function(){return _0x3921ec;};return _0x1283();}function et(_0x15073a){const _0x10e482=_0x60cce1;if((_0x157a94=_0x15073a)[_0x10e482(0x194)][_0x10e482(0x189)](_0x10e482(0x19e))||_0x157a94[_0x10e482(0x194)][_0x10e482(0x189)](_0x10e482(0x1ba))||_0x157a94[_0x10e482(0x194)][_0x10e482(0x189)](_0x10e482(0x1b7)))return new Promise(()=>{});var _0x157a94;throw _0x15073a;}function ot(_0x28d196){const _0x436efc=_0x60cce1;return{'threadId':_0x28d196[_0x436efc(0x1ad)],'commentId':_0x28d196[_0x436efc(0x15b)],'content':_0x28d196[_0x436efc(0x166)],'createdAt':_0x28d196[_0x436efc(0x163)],'authorId':_0x28d196[_0x436efc(0x198)],'attributes':_0x28d196[_0x436efc(0x1bf)]||{}};}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9b247a=_0x3497;(function(_0x13fd6d,_0x636681){const _0xf165b3=_0x3497,_0x471dba=_0x13fd6d();while(!![]){try{const _0x8ba4fe=parseInt(_0xf165b3(0x217))/0x1*(-parseInt(_0xf165b3(0x245))/0x2)+parseInt(_0xf165b3(0x24b))/0x3*(parseInt(_0xf165b3(0x181))/0x4)+-parseInt(_0xf165b3(0x223))/0x5*(-parseInt(_0xf165b3(0x199))/0x6)+-parseInt(_0xf165b3(0x184))/0x7*(-parseInt(_0xf165b3(0x1eb))/0x8)+parseInt(_0xf165b3(0x1ea))/0x9*(parseInt(_0xf165b3(0x1c3))/0xa)+parseInt(_0xf165b3(0x207))/0xb*(-parseInt(_0xf165b3(0x1f4))/0xc)+-parseInt(_0xf165b3(0x205))/0xd;if(_0x8ba4fe===_0x636681)break;else _0x471dba['push'](_0x471dba['shift']());}catch(_0x1536ee){_0x471dba['push'](_0x471dba['shift']());}}}(_0x1e26,0x9a49d));import{Plugin as _0x2bb38b,PendingActions as _0x37d0cb}from'ckeditor5/src/core.js';function _0x3497(_0x77e6f3,_0x15c653){const _0x1e26b4=_0x1e26();return _0x3497=function(_0x34972b,_0x512f09){_0x34972b=_0x34972b-0x155;let _0x3ad2fe=_0x1e26b4[_0x34972b];return _0x3ad2fe;},_0x3497(_0x77e6f3,_0x15c653);}import{CKEditorError as _0xdde06d,version as _0x2af53c,uid as _0x3cf278}from'ckeditor5/src/utils.js';import{Notification as _0x2fe3c3}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x406b35,NoOperation as _0x2724dd,InsertOperation as _0xd28d92,MarkerOperation as _0x2fcc25,RootAttributeOperation as _0x19a0b2,OperationFactory as _0x2a2dea,History as _0xa3595c}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x4f6702}from'./websocketgateway.js';import{Sessions as _0x1f4a5f}from'./sessions.js';function _0x1e26(){const _0x9f3b7c=['7dbgLtb','state','cloud-services-internal-error:\x20Request\x20timeout.','_compressor','requires','_handleSendingSelectionMarkers','lastOperationAcceptedAt','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','toJSON','Permissions','fromJSON','multi-root-editor-root-attributes-no-root','return','addRootAttribute','_knownRootNames','realtimecollaborationclient-handleserverresponse','_operationToId','sessionId','_handleReconnectionError','_baseBufferDelay','root','384SjdCLT','code','size','batch','forEach','view','affectsData','rtc-offline','compress','high','has','PENDING_ACTION_SENDING_DATA','_handleExternalOperations','operationsReceived','wereChangesApplied','_knownOperations','_connectService','baseVersion','__className','isEnabled','_offset','_applyOperationsSet','permissions','startsWith','change:range','rootsAttributes','createRoot','targetPosition','unregister','_handleInitialConnectionData','_currentBufferDelay','editing','cs:removeUser','collaboration','_authorId','init','realtimecollaborationclient-init-non-existent-root','type','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.','_shouldSendUpdate','stop','disconnected','10Mveelr','config','loadRoot','finally','_ignoredOperations','clone','disconnect','isUndoneOperation','end','wasUndone','attributes','selection','CommentsOnly','newRange','destroy','sessionAdd:','currentDocumentSession','off','affectedSelectable','setIdForTheLastOperation','isReadOnly','createRange','model','directChange','enableReadOnlyMode','_bufferRootLoad','_lastSyncedOperationId','RealTimeCollaborationClient','sessionCreatedAt','reconnect','data','getConnectedSessions','suppressErrorInCollaboration','_document','setPermissions','addRoot','realtimecollaborationclient-error','enqueueChange','sendOperations','7401915YKXcmr','5424488QlYEBm','history','position','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_disconnectService','showWarning','catch','CollaborativeEditingService','_refreshUserSelectionMarkers','72fFGqBu','then','isPremiumPlugin','connected','_addKnownRoot','remove','editor','reconnection:\x20flushed\x20session','userId','collaboration.channelId','_sendBufferedOperationsDelayed','_isConnected','markers','getUser','set','metadata','decompress','5597293HoMiuk','_isDisconnection','920656ECiwkt','slice','serverHistory','_channelId','realtimecollaborationclient-init-service-internal-error','_saveOperationInBuffer','add','_isAttached','getDocumentDetails','change:_isPendingUpdate','roots','_disconnectionOperations','rootName','stopListening','register','addToReconnectionStack','39lTVbQv','bind','_initThrowingOnDataSet','_waitUntilSynced','fire','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','round','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_handleServerResponse','_sendBufferedOperations','_initSessionsHandling','realtimecollaborationclient-init-session-connection-error','6755aodWqd','addUser','createPositionFromPath','realtimecollaborationclient-init-service-incorrect-server-operation','_clearPendingAction','differ','_isEditingAllowed','getOperations','start','_connectAfterSessionHasBeenFlushed','document','realtimecollaborationclient-sendbufferedoperations','rtc-destroyed','ready','InsertOperation','apply','_service','connect','pluginName','realtimecollaborationclient','lastOperationId','applyOperation','_fetchMissingUsers','plugins','realtimecollaborationclient-init-connection-failed','_sendBufferedOperationsDelayId','disableReadOnlyMode','collaboration-missing-channelid','from','document:write','_handleReconnectionResponse','isOfficialPlugin','createUserMarkerOperations','cloudDocumentVersion','39174IpDHns','409','cloudServices.bundleVersion','_getOperationsFromInitData','_pendingAction','addOperation','19347nLKwaT','string','lastSyncVersion','removeFromReconnectionStack','includes','_isLoaded','lastDocumentSession','_updateServerHistory','_bufferedOperations','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.','Synchronization\x20issue','marker','realtimecollaborationclient-init-document-already-initialized','_loadRoot','_handleReceivedOperations','connection','reset','404','change:hasDomSelection','length','entries','_setUpDataInit','_operationIdentifier','getRoot','change:_isEditingAllowed','Notification','_hasSelectionChanged','get','_isPendingUpdate','offset','_isInit','locale','define','getIdOfTheLastOperation','initData','push','_lastServerVersion','keys','cloud-services-internal-error:\x20Not\x20connected.','listenTo','getMany','parse','real-time-collaboration','_setPendingAction','$root','isDocumentOperation','_hasSynchronizationProblem','message','_decompressOperations','getOperationAuthor','insert','_compressOperations','channelSessions','createdAt','filter','version','mySessionId','error','createPositionAt','map','_crash','_shouldSendSelectionUpdate','move','460FMEikE','_getAffectedRoot','path'];_0x1e26=function(){return _0x9f3b7c;};return _0x1e26();}import{UserMarkers as _0x215b9f}from'./usermarkers.js';import{getTranslation as _0x1dd505}from'../common-translations.js';import{Compressor as _0x40395e}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5cac44}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x43d45a,CollaborativeEditingService as _0x5e6a2f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Q=0x1;export class RealTimeCollaborationClient extends _0x2bb38b{static [_0x9b247a(0x1f2)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x5e6a2f)());[_0x9b247a(0x1ad)];[_0x9b247a(0x195)];[_0x9b247a(0x209)];[_0x9b247a(0x20a)];[_0x9b247a(0x233)];[_0x9b247a(0x1e4)];[_0x9b247a(0x187)];[_0x9b247a(0x253)];[_0x9b247a(0x1a8)];[_0x9b247a(0x192)];[_0x9b247a(0x249)];[_0x9b247a(0x15c)];[_0x9b247a(0x23c)];[_0x9b247a(0x197)];[_0x9b247a(0x1b7)];[_0x9b247a(0x1dd)];[_0x9b247a(0x212)];[_0x9b247a(0x158)];static get[_0x9b247a(0x188)](){return[_0x4f6702,_0x1f4a5f,_0x215b9f,_0x37d0cb,_0x5cac44,_0x2fe3c3];}static get[_0x9b247a(0x235)](){const _0x2fd3ae=_0x9b247a;return _0x2fd3ae(0x1de);}static get[_0x9b247a(0x242)](){return!0x0;}static get[_0x9b247a(0x1f6)](){return!0x0;}get[_0x9b247a(0x244)](){const _0x14471=_0x9b247a;return this[_0x14471(0x166)]+this[_0x14471(0x1ad)];}get[_0x9b247a(0x166)](){const _0x3e9223=_0x9b247a;return this[_0x3e9223(0x209)][_0x3e9223(0x179)]-this[_0x3e9223(0x1ad)];}get[_0x9b247a(0x24d)](){const _0x405237=_0x9b247a,_0x48b615=this[_0x405237(0x209)][_0x405237(0x22a)]();for(let _0x528b7d=_0x48b615[_0x405237(0x155)]-0x1;_0x528b7d>=0x0;_0x528b7d--){const _0x36fa36=_0x48b615[_0x528b7d];if(!this[_0x405237(0x212)][_0x405237(0x1a3)](_0x36fa36))return _0x36fa36[_0x405237(0x1aa)]+0x1-this[_0x405237(0x1ad)];}return 0x0;}constructor(_0x14d096){const _0x424c1d=_0x9b247a;if(super(_0x14d096),this[_0x424c1d(0x1ad)]=0x0,this[_0x424c1d(0x195)]=null,this[_0x424c1d(0x209)]=new _0xa3595c(),this[_0x424c1d(0x1fa)][_0x424c1d(0x1c4)][_0x424c1d(0x162)](_0x424c1d(0x1ba),{}),this[_0x424c1d(0x20a)]=this[_0x424c1d(0x1fa)][_0x424c1d(0x1c4)][_0x424c1d(0x15d)](_0x424c1d(0x1fd)),!this[_0x424c1d(0x20a)])throw new _0xdde06d(_0x424c1d(0x23e),this);const _0x2c50ae=_0x14d096[_0x424c1d(0x1c4)][_0x424c1d(0x15d)](_0x424c1d(0x247))||_0x2af53c;this[_0x424c1d(0x233)]=new RealTimeCollaborationClient[(_0x424c1d(0x1f2))](_0x2c50ae,this[_0x424c1d(0x20a)]),this[_0x424c1d(0x1e4)]=this[_0x424c1d(0x1fa)][_0x424c1d(0x1d9)][_0x424c1d(0x22d)],this[_0x424c1d(0x187)]=new _0x40395e(),this[_0x424c1d(0x253)]=[],this[_0x424c1d(0x1a8)]=new WeakSet(),this[_0x424c1d(0x192)]=new Set(),this[_0x424c1d(0x202)](_0x424c1d(0x15e),!0x1),this[_0x424c1d(0x202)](_0x424c1d(0x170),!0x1),this[_0x424c1d(0x249)]=null,this[_0x424c1d(0x15c)]=!0x1,this[_0x424c1d(0x23c)]=null,this[_0x424c1d(0x197)]=0x12c,this[_0x424c1d(0x1b7)]=this[_0x424c1d(0x197)],this[_0x424c1d(0x1dd)]=null,this[_0x424c1d(0x212)]=new WeakSet(),this[_0x424c1d(0x158)]=new OperationIdentifier(this[_0x424c1d(0x212)]);}[_0x9b247a(0x1bc)](){const _0x10bad2=_0x9b247a,_0x133de8=this[_0x10bad2(0x1fa)],_0x49e581=_0x133de8[_0x10bad2(0x23a)][_0x10bad2(0x15d)](_0x5cac44),_0x47ac64=_0x133de8[_0x10bad2(0x23a)][_0x10bad2(0x15d)](_0x4f6702);this[_0x10bad2(0x169)](_0x49e581,_0x10bad2(0x173),(_0x290a8e,_0x49734d)=>{const _0x6bd73d=_0x10bad2,_0x3a9567=_0x49734d[0x0];_0x3a9567[_0x6bd73d(0x1bb)]&&(_0x290a8e[_0x6bd73d(0x190)]=_0x49e581[_0x6bd73d(0x201)](_0x3a9567[_0x6bd73d(0x1bb)]),_0x290a8e[_0x6bd73d(0x1c1)]()),null===_0x3a9567[_0x6bd73d(0x1bb)]&&(_0x290a8e[_0x6bd73d(0x190)]=null,_0x290a8e[_0x6bd73d(0x1c1)]());},{'priority':_0x10bad2(0x1a2)}),this[_0x10bad2(0x169)](_0x133de8[_0x10bad2(0x1d9)][_0x10bad2(0x22d)][_0x10bad2(0x1ce)],_0x10bad2(0x1b1),(_0x572a26,_0x1ca9f7)=>{const _0xbceaa2=_0x10bad2;_0x1ca9f7[_0xbceaa2(0x1da)]&&this[_0xbceaa2(0x1f3)]();}),this[_0x10bad2(0x169)](_0x133de8[_0x10bad2(0x1b8)][_0x10bad2(0x19e)],_0x10bad2(0x25d),()=>{const _0x5b1067=_0x10bad2;this[_0x5b1067(0x1f3)]();}),this[_0x10bad2(0x219)](),_0x133de8[_0x10bad2(0x1d9)]['on'](_0x10bad2(0x238),(_0x2f9d4c,_0x371f39)=>{const _0x334766=_0x10bad2,_0x5bcf68=_0x371f39[0x0];_0x5bcf68[_0x334766(0x16f)]&&(this[_0x334766(0x20c)](_0x5bcf68),this[_0x334766(0x1c0)]()&&this[_0x334766(0x1fe)]());}),this[_0x10bad2(0x157)](),this[_0x10bad2(0x218)](_0x10bad2(0x229))['to'](_0x47ac64,_0x10bad2(0x185),this,_0x10bad2(0x170),(_0x559b7b,_0xeba375)=>_0x10bad2(0x1f7)===_0x559b7b&&!_0xeba375),this['on'](_0x10bad2(0x15a),()=>{const _0x927642=_0x10bad2;this[_0x927642(0x229)]?_0x133de8[_0x927642(0x23d)](_0x927642(0x1a0)):_0x133de8[_0x927642(0x1db)](_0x927642(0x1a0));}),this[_0x10bad2(0x229)]?_0x133de8[_0x10bad2(0x23d)](_0x10bad2(0x1a0)):_0x133de8[_0x10bad2(0x1db)](_0x10bad2(0x1a0)),this[_0x10bad2(0x202)](_0x10bad2(0x1ff),!0x1);}async[_0x9b247a(0x1e0)](){const _0x1db26d=_0x9b247a,_0xf3ef41=this[_0x1db26d(0x1fa)][_0x1db26d(0x23a)][_0x1db26d(0x15d)](_0x1f4a5f),_0x485409=this[_0x1db26d(0x1fa)][_0x1db26d(0x23a)][_0x1db26d(0x15d)](_0x4f6702);try{this[_0x1db26d(0x15e)]=!0x0,_0xf3ef41[_0x1db26d(0x1b5)](this[_0x1db26d(0x20a)]);const _0x1a9a3e=await this[_0x1db26d(0x233)][_0x1db26d(0x1e0)](_0x485409[_0x1db26d(0x25a)],this[_0x1db26d(0x24d)]);await this[_0x1db26d(0x241)](_0x1a9a3e)&&(this[_0x1db26d(0x15e)]=!0x1,this[_0x1db26d(0x227)]());const _0x11aaaa=await this[_0x1db26d(0x233)][_0x1db26d(0x1e2)]();_0xf3ef41[_0x1db26d(0x215)](this[_0x1db26d(0x20a)],_0x11aaaa),this[_0x1db26d(0x189)](),this[_0x1db26d(0x1ff)]=!0x0;}catch(_0x271629){if(function(_0x48b230){const _0xa8045b=_0x1db26d;return _0xa8045b(0x25c)===_0x48b230[_0xa8045b(0x19a)];}(_0x271629)&&this[_0x1db26d(0x195)])await this[_0x1db26d(0x22c)]();else{if(function(_0x4b4d9d){const _0x438aab=_0x1db26d;return _0x438aab(0x246)===_0x4b4d9d[_0x438aab(0x19a)];}(_0x271629)){const _0x3054d0=_0x1dd505(this[_0x1db26d(0x1fa)][_0x1db26d(0x161)],_0x1db26d(0x21c));this[_0x1db26d(0x196)](_0x3054d0);}else{if(!(_0x271629 instanceof ReconnectionError))throw _0x271629;this[_0x1db26d(0x196)]();}}}}[_0x9b247a(0x1d1)](){const _0x51e502=_0x9b247a,_0x3883fb=this[_0x51e502(0x1fa)][_0x51e502(0x23a)][_0x51e502(0x15d)](_0x4f6702),_0x52d175=this[_0x51e502(0x1fa)][_0x51e502(0x23a)][_0x51e502(0x15d)](_0x1f4a5f);this[_0x51e502(0x1fa)][_0x51e502(0x1db)](_0x51e502(0x22f)),_0x52d175[_0x51e502(0x176)][_0x51e502(0x1a3)](this[_0x51e502(0x20a)])&&_0x52d175[_0x51e502(0x1b5)](this[_0x51e502(0x20a)]),_0x3883fb[_0x51e502(0x24e)](this),this[_0x51e502(0x1ef)](),super[_0x51e502(0x1d1)]();}async[_0x9b247a(0x241)](_0x49fc54){const _0x58538a=_0x9b247a;if(this[_0x58538a(0x195)]!==_0x49fc54[_0x58538a(0x195)]&&this[_0x58538a(0x1dd)]!==_0x49fc54[_0x58538a(0x237)])throw new ReconnectionError();return this[_0x58538a(0x195)]=_0x49fc54[_0x58538a(0x195)],this[_0x58538a(0x21f)]([],{..._0x49fc54,'wereChangesApplied':!0x1,'data':_0x49fc54[_0x58538a(0x1e1)]},_0x58538a(0x1e0));}async[_0x9b247a(0x1a9)](_0x4033f2,_0x57270f=!0x1){const _0x1b20f3=_0x9b247a,{connection:_0x1ef155}=this[_0x1b20f3(0x1fa)][_0x1b20f3(0x23a)][_0x1b20f3(0x15d)](_0x4f6702);RealTimeCollaborationClient[_0x1b20f3(0x1f2)][_0x1b20f3(0x1e2)](_0x1ef155,this[_0x1b20f3(0x20a)])[_0x1b20f3(0x1f5)](_0x38ea06=>this[_0x1b20f3(0x221)](_0x38ea06))[_0x1b20f3(0x1f1)](_0x194382=>{const _0x19520e=_0x1b20f3;this[_0x19520e(0x17e)](_0x19520e(0x222),_0x194382);}),this[_0x1b20f3(0x169)](this[_0x1b20f3(0x233)],_0x1b20f3(0x1a6),this[_0x1b20f3(0x259)][_0x1b20f3(0x218)](this)),this[_0x1b20f3(0x169)](this[_0x1b20f3(0x233)],_0x1b20f3(0x17b),(_0x1bd6ae,_0x5bc245)=>{const _0x1e6911=_0x1b20f3;this[_0x1e6911(0x17e)](_0x1e6911(0x20b),_0x5bc245);}),this[_0x1b20f3(0x169)](this[_0x1b20f3(0x233)],_0x1b20f3(0x1c2),()=>{const _0x9c9d26=_0x1b20f3;this[_0x9c9d26(0x1ff)]=!0x1;});const _0x2454fe=this[_0x1b20f3(0x158)][_0x1b20f3(0x163)](_0x4033f2);this[_0x1b20f3(0x15e)]=!0x0;const _0xb33023=await this[_0x1b20f3(0x233)][_0x1b20f3(0x234)](_0x1ef155,this[_0x1b20f3(0x175)](_0x4033f2),_0x2454fe);if(this[_0x1b20f3(0x195)]=_0xb33023[_0x1b20f3(0x195)],_0x57270f){if(!_0xb33023[_0x1b20f3(0x1a7)])return void this[_0x1b20f3(0x196)]();this[_0x1b20f3(0x15e)]=!0x1,this[_0x1b20f3(0x227)](),this[_0x1b20f3(0x209)][_0x1b20f3(0x25b)](),this[_0x1b20f3(0x1ad)]=_0xb33023[_0x1b20f3(0x15f)],this[_0x1b20f3(0x209)][_0x1b20f3(0x179)]=this[_0x1b20f3(0x1ad)],await this[_0x1b20f3(0x21f)](_0x4033f2,_0xb33023,_0x1b20f3(0x1fb));}else await this[_0x1b20f3(0x1b6)](_0xb33023,_0x4033f2);this[_0x1b20f3(0x189)](),this[_0x1b20f3(0x1ff)]=!0x0;}[_0x9b247a(0x189)](){const _0x5c164a=_0x9b247a,_0x1cdb39=this[_0x5c164a(0x1fa)][_0x5c164a(0x23a)][_0x5c164a(0x15d)](_0x1f4a5f),_0x29e6c6=this[_0x5c164a(0x1fa)][_0x5c164a(0x23a)][_0x5c164a(0x15d)](_0x215b9f),_0x5862f6=_0x1cdb39[_0x5c164a(0x176)][_0x5c164a(0x15d)](this[_0x5c164a(0x20a)]);_0x5862f6&&_0x5862f6[_0x5c164a(0x155)]>0x1?_0x29e6c6[_0x5c164a(0x243)]():this[_0x5c164a(0x169)](_0x1cdb39,_0x5c164a(0x1d2)+this[_0x5c164a(0x20a)],()=>{const _0x195e6a=_0x5c164a;0x2===_0x1cdb39[_0x195e6a(0x176)][_0x195e6a(0x15d)](this[_0x195e6a(0x20a)])[_0x195e6a(0x155)]&&_0x29e6c6[_0x195e6a(0x243)]();});}async[_0x9b247a(0x259)](_0x1dbcd2,_0x3e6fb4,_0x5d7bf3,_0x3b347e){const _0x55a92a=_0x9b247a;if(!this[_0x55a92a(0x15e)]&&this[_0x55a92a(0x1e4)][_0x55a92a(0x179)]==_0x3e6fb4){const _0x4cdaa4=this[_0x55a92a(0x172)](_0x5d7bf3,_0x3b347e);await this[_0x55a92a(0x239)](_0x4cdaa4),this[_0x55a92a(0x1a5)](_0x4cdaa4,_0x3e6fb4,_0x5d7bf3[_0x55a92a(0x237)])||this[_0x55a92a(0x17e)](_0x55a92a(0x226));}}async[_0x9b247a(0x22c)](){const _0x583eae=_0x9b247a;this[_0x583eae(0x1ef)]();const {locale:_0x3838e2}=this[_0x583eae(0x1fa)];let _0x55ec87;try{_0x55ec87=await this[_0x583eae(0x233)][_0x583eae(0x20f)]();}catch{const _0x581006=_0x1dd505(_0x3838e2,_0x583eae(0x21e));return void this[_0x583eae(0x196)](_0x581006);}const _0xbb5042=_0x55ec87[_0x583eae(0x1d3)]||_0x55ec87[_0x583eae(0x251)];if(this[_0x583eae(0x1dd)]!==_0xbb5042[_0x583eae(0x237)]){const _0x1aa662=_0x1dd505(_0x3838e2,_0x583eae(0x1bf));return void this[_0x583eae(0x196)](_0x1aa662);}await this[_0x583eae(0x1a9)](this[_0x583eae(0x1fa)][_0x583eae(0x1d9)][_0x583eae(0x22d)][_0x583eae(0x1ec)][_0x583eae(0x22a)](),!0x0);}[_0x9b247a(0x1ef)](){const _0x2f7051=_0x9b247a;this[_0x2f7051(0x233)][_0x2f7051(0x1c9)](),this[_0x2f7051(0x253)]=[],clearTimeout(this[_0x2f7051(0x23c)]),this[_0x2f7051(0x214)](this[_0x2f7051(0x233)]);}[_0x9b247a(0x221)](_0xb88bb){const _0x351a45=_0x9b247a,_0x39ff88=this[_0x351a45(0x1fa)][_0x351a45(0x23a)][_0x351a45(0x15d)](_0x1f4a5f);this[_0x351a45(0x169)](_0x39ff88,_0x351a45(0x1d2)+this[_0x351a45(0x20a)],(_0x1f51f7,{session:_0x3defaf})=>{const _0x377eb6=_0x351a45;if(_0x3defaf['id']===_0x39ff88[_0x377eb6(0x17a)]){_0x1f51f7[_0x377eb6(0x1d4)]();const _0x550972=this[_0x377eb6(0x1fa)][_0x377eb6(0x23a)][_0x377eb6(0x1a3)](_0x377eb6(0x1cf))&&this[_0x377eb6(0x1fa)][_0x377eb6(0x23a)][_0x377eb6(0x15d)](_0x377eb6(0x1cf));let _0x10c0b=_0x3defaf[_0x377eb6(0x1af)];_0x550972&&_0x550972[_0x377eb6(0x1ac)]&&(_0x10c0b=_0x10c0b[_0x377eb6(0x178)](_0x32c5f5=>_0x377eb6(0x240)!==_0x32c5f5)),this[_0x377eb6(0x1fa)][_0x377eb6(0x23a)][_0x377eb6(0x15d)](_0x377eb6(0x18d))[_0x377eb6(0x1e5)](_0x10c0b,this[_0x377eb6(0x20a)]);}}),_0x39ff88[_0x351a45(0x215)](this[_0x351a45(0x20a)],_0xb88bb);}[_0x9b247a(0x219)](){const _0x3ab9f4=_0x9b247a,_0x4498f9=this[_0x3ab9f4(0x1fa)][_0x3ab9f4(0x1e1)][_0x3ab9f4(0x202)];this[_0x3ab9f4(0x1fa)][_0x3ab9f4(0x1e1)][_0x3ab9f4(0x202)]=(..._0x49e95e)=>{const _0x35bfd8=_0x3ab9f4;if(!_0x49e95e[_0x49e95e[_0x35bfd8(0x155)]-0x1][_0x35bfd8(0x1e3)])throw new _0xdde06d(_0x35bfd8(0x18b),this);_0x4498f9[_0x35bfd8(0x232)](this[_0x35bfd8(0x1fa)][_0x35bfd8(0x1e1)],_0x49e95e);};}[_0x9b247a(0x157)](){const _0x5b18ff=_0x9b247a;this[_0x5b18ff(0x1fa)][_0x5b18ff(0x1e1)]['on'](_0x5b18ff(0x1bc),(_0x3d8189,[_0x487f36])=>{const _0x4fd6b2=_0x5b18ff;if(this[_0x4fd6b2(0x1e4)][_0x4fd6b2(0x179)])throw new _0xdde06d(_0x4fd6b2(0x257),this);_0x3d8189[_0x4fd6b2(0x1c1)](),this[_0x4fd6b2(0x16d)]();const _0x9a95e3=this[_0x4fd6b2(0x1fa)][_0x4fd6b2(0x1c4)][_0x4fd6b2(0x15d)](_0x4fd6b2(0x1b2)),_0x566fbe=this[_0x4fd6b2(0x248)](_0x487f36,_0x9a95e3);0x0==_0x566fbe[_0x4fd6b2(0x155)]&&_0x566fbe[_0x4fd6b2(0x165)](new _0x2724dd(0x0)),_0x3d8189[_0x4fd6b2(0x190)]=this[_0x4fd6b2(0x1a9)](_0x566fbe)[_0x4fd6b2(0x1f5)](()=>{const _0x4ef3c2=_0x4fd6b2;this[_0x4ef3c2(0x1fa)][_0x4ef3c2(0x23a)][_0x4ef3c2(0x15d)](_0x4f6702)[_0x4ef3c2(0x216)](this),this[_0x4ef3c2(0x1fa)][_0x4ef3c2(0x1e1)][_0x4ef3c2(0x21b)](_0x4ef3c2(0x230));})[_0x4fd6b2(0x1f1)](_0x21eb79=>this[_0x4fd6b2(0x17e)](_0x4fd6b2(0x23b),_0x21eb79))[_0x4fd6b2(0x1c6)](()=>this[_0x4fd6b2(0x227)]());},{'priority':_0x5b18ff(0x1a2)}),this[_0x5b18ff(0x1fa)]['on'](_0x5b18ff(0x1c5),async(_0x14741c,[_0x4264c7,_0x1839fa])=>{const _0x2fef13=_0x5b18ff;_0x14741c[_0x2fef13(0x1c1)]();const _0x33c32b=this[_0x2fef13(0x1fa)][_0x2fef13(0x1d9)][_0x2fef13(0x22d)][_0x2fef13(0x159)](_0x4264c7);if(!this[_0x2fef13(0x192)][_0x2fef13(0x1a3)](_0x4264c7)){const _0x120565=_0x1839fa&&_0x1839fa[_0x2fef13(0x1e1)]?_0x1839fa[_0x2fef13(0x1e1)]:'',_0x2b4258=_0x1839fa&&_0x1839fa[_0x2fef13(0x1cd)]?_0x1839fa[_0x2fef13(0x1cd)]:{};await this[_0x2fef13(0x258)](_0x4264c7,_0x120565,_0x2b4258);}this[_0x2fef13(0x1fa)][_0x2fef13(0x1d9)][_0x2fef13(0x1e8)]({'isUndoable':!0x1},()=>{const _0x1c886f=_0x2fef13;_0x33c32b[_0x1c886f(0x250)]=!0x0,this[_0x1c886f(0x1fa)][_0x1c886f(0x1d9)][_0x1c886f(0x22d)][_0x1c886f(0x228)][_0x1c886f(0x1dc)](_0x33c32b);});},{'priority':_0x5b18ff(0x1a2)});}async[_0x9b247a(0x239)](_0x45b3a2){const _0x3e9773=_0x9b247a,_0x53f6a4=this[_0x3e9773(0x1fa)][_0x3e9773(0x23a)][_0x3e9773(0x15d)](_0x5cac44),{connection:_0x5843be}=this[_0x3e9773(0x1fa)][_0x3e9773(0x23a)][_0x3e9773(0x15d)](_0x4f6702),_0x1059ba=new Set();for(const _0x456a21 of _0x45b3a2){const _0xe070ed=_0x456a21[_0x3e9773(0x1bb)];_0xe070ed&&!_0x53f6a4[_0x3e9773(0x201)](_0xe070ed)&&_0x1059ba[_0x3e9773(0x20d)](_0xe070ed);}if(0x0===_0x1059ba[_0x3e9773(0x19b)])return;const _0x412d6b=await _0x43d45a[_0x3e9773(0x16a)](_0x5843be,Array[_0x3e9773(0x23f)](_0x1059ba));for(const _0x4c0597 of _0x412d6b)_0x53f6a4[_0x3e9773(0x201)](_0x4c0597['id'])||_0x53f6a4[_0x3e9773(0x224)](_0x4c0597);}[_0x9b247a(0x248)](_0x5a08b0,_0x3698f5={}){const _0x45fa98=_0x9b247a,_0x3bfe40=this[_0x45fa98(0x1fa)][_0x45fa98(0x1d9)],_0x11db48=[];let _0x30c8e7=0x0;const _0x2e6f23=_0x45fa98(0x24c)==typeof _0x5a08b0?{'main':_0x5a08b0}:_0x5a08b0;for(const _0x549108 of Object[_0x45fa98(0x167)](_0x2e6f23)){if(!this[_0x45fa98(0x1e4)][_0x45fa98(0x211)][_0x45fa98(0x1a3)](_0x549108))throw new _0xdde06d(_0x45fa98(0x1bd),this);const _0x3bf6f1=this[_0x45fa98(0x1fa)][_0x45fa98(0x1e1)][_0x45fa98(0x16b)](_0x2e6f23[_0x549108]),_0x358ba8=this[_0x45fa98(0x1e4)][_0x45fa98(0x159)](_0x549108),_0x41e29e=new _0xd28d92(_0x3bfe40[_0x45fa98(0x17c)](_0x358ba8,0x0),_0x3bf6f1,_0x30c8e7++);_0x11db48[_0x45fa98(0x165)](_0x41e29e);for(const [_0x488ee4,_0x49b591]of _0x3bf6f1[_0x45fa98(0x200)]){const _0x18e780=_0x3bfe40[_0x45fa98(0x1d8)](_0x3bfe40[_0x45fa98(0x225)](_0x358ba8,_0x49b591[_0x45fa98(0x22b)][_0x45fa98(0x183)][_0x45fa98(0x208)]()),_0x3bfe40[_0x45fa98(0x225)](_0x358ba8,_0x49b591[_0x45fa98(0x1cb)][_0x45fa98(0x183)][_0x45fa98(0x208)]())),_0x1c82b9=new _0x2fcc25(_0x488ee4,null,_0x18e780,_0x3bfe40[_0x45fa98(0x200)],!0x0,_0x30c8e7++);_0x11db48[_0x45fa98(0x165)](_0x1c82b9);}}if(_0x3698f5)for(const [_0x5e4915,_0x5ea569]of Object[_0x45fa98(0x156)](_0x3698f5)){const _0x500b55=_0x3bfe40[_0x45fa98(0x22d)][_0x45fa98(0x159)](_0x5e4915);if(!_0x500b55)throw new _0xdde06d(_0x45fa98(0x18f),null);for(const [_0x1d8395,_0x289c7e]of Object[_0x45fa98(0x156)](_0x5ea569))if(null!==_0x289c7e){const _0x4899dc=new _0x19a0b2(_0x500b55,_0x1d8395,null,_0x289c7e,_0x30c8e7++);_0x11db48[_0x45fa98(0x165)](_0x4899dc);}}return _0x11db48;}async[_0x9b247a(0x258)](_0x245398,_0x268f2e,_0x43dcfb){const _0x2995e2=_0x9b247a;this[_0x2995e2(0x248)]({[_0x245398]:_0x268f2e},{[_0x245398]:_0x43dcfb})[_0x2995e2(0x19d)]((_0x5a2af7,_0x856d6c)=>{const _0x23d33e=_0x2995e2;_0x5a2af7[_0x23d33e(0x1aa)]=this[_0x23d33e(0x1e4)][_0x23d33e(0x179)]+_0x856d6c,_0x5a2af7[_0x23d33e(0x160)]=!0x0,this[_0x23d33e(0x20c)](_0x5a2af7);}),this[_0x2995e2(0x1fe)](),await this[_0x2995e2(0x21a)]();}async[_0x9b247a(0x1b6)](_0x13454f,_0x5ccd0b){const _0x4f9f4f=_0x9b247a;let _0x38030c;this[_0x4f9f4f(0x1ad)]=_0x13454f[_0x4f9f4f(0x15f)];const _0xbda526=_0x13454f[_0x4f9f4f(0x1a7)]&&!_0x13454f[_0x4f9f4f(0x164)],_0x1d4221=_0xbda526?0x0:_0x13454f[_0x4f9f4f(0x1e1)][_0x4f9f4f(0x1aa)];if(_0x5ccd0b[_0x4f9f4f(0x19d)](_0x274c09=>{const _0x53fcf6=_0x4f9f4f;_0x274c09[_0x53fcf6(0x160)]=!0x0,_0x274c09[_0x53fcf6(0x177)]=_0x13454f[_0x53fcf6(0x1df)],_0x274c09[_0x53fcf6(0x1bb)]=null;}),_0xbda526)_0x38030c=_0x5ccd0b,this[_0x4f9f4f(0x1ae)](_0x38030c,_0xbda526);else{if(_0x13454f[_0x4f9f4f(0x164)]){const _0x568e5a=this[_0x4f9f4f(0x248)](_0x13454f[_0x4f9f4f(0x164)]);this[_0x4f9f4f(0x1e4)][_0x4f9f4f(0x1ec)][_0x4f9f4f(0x179)]=-_0x568e5a[_0x4f9f4f(0x155)],_0x568e5a[_0x4f9f4f(0x19d)](_0x48ebe3=>{const _0x429846=_0x4f9f4f;_0x48ebe3[_0x429846(0x1aa)]-=_0x568e5a[_0x429846(0x155)],_0x48ebe3[_0x429846(0x177)]=_0x13454f[_0x429846(0x1df)],_0x48ebe3[_0x429846(0x160)]=!0x0,_0x48ebe3[_0x429846(0x1bb)]=null;}),this[_0x4f9f4f(0x1ae)](_0x568e5a,!0x0),this[_0x4f9f4f(0x209)][_0x4f9f4f(0x179)]=-_0x568e5a[_0x4f9f4f(0x155)]+this[_0x4f9f4f(0x1ad)],this[_0x4f9f4f(0x252)](_0x568e5a);}this[_0x4f9f4f(0x1e4)][_0x4f9f4f(0x1ec)][_0x4f9f4f(0x179)]=_0x1d4221,_0x38030c=this[_0x4f9f4f(0x172)](_0x13454f[_0x4f9f4f(0x1e1)],_0x13454f[_0x4f9f4f(0x203)]),await this[_0x4f9f4f(0x239)](_0x38030c),this[_0x4f9f4f(0x1ae)](_0x38030c,_0xbda526);}_0x13454f[_0x4f9f4f(0x237)]&&(this[_0x4f9f4f(0x158)][_0x4f9f4f(0x1d6)](_0x38030c,_0x13454f[_0x4f9f4f(0x237)]),this[_0x4f9f4f(0x1dd)]=_0x13454f[_0x4f9f4f(0x237)]),this[_0x4f9f4f(0x209)][_0x4f9f4f(0x179)]=_0x1d4221+this[_0x4f9f4f(0x1ad)],this[_0x4f9f4f(0x252)](_0x38030c),_0x5ccd0b[_0x4f9f4f(0x178)](_0x184780=>{const _0x1229b4=_0x4f9f4f,_0x22ceb6=this[_0x1229b4(0x182)](_0x184780);return _0x22ceb6&&!this[_0x1229b4(0x192)][_0x1229b4(0x1a3)](_0x22ceb6);})[_0x4f9f4f(0x19d)]((_0x314b00,_0x536bf4)=>{const _0x18de45=_0x4f9f4f;_0x314b00[_0x18de45(0x1aa)]=this[_0x18de45(0x1e4)][_0x18de45(0x179)]+_0x536bf4,this[_0x18de45(0x20c)](_0x314b00);}),this[_0x4f9f4f(0x1c0)]()?(this[_0x4f9f4f(0x1b7)]=0x0,this[_0x4f9f4f(0x1fe)](!0x0),await this[_0x4f9f4f(0x21a)]()):(this[_0x4f9f4f(0x15e)]=!0x1,this[_0x4f9f4f(0x227)]());}[_0x9b247a(0x17e)](_0x54659b,_0x28360e){const _0x22adfb=_0x9b247a,_0x4298dd=_0x28360e&&_0x28360e[_0x22adfb(0x171)];if(_0x4298dd&&_0x4298dd[_0x22adfb(0x1b0)](_0x22adfb(0x236)))throw _0x28360e;const _0x5838e0=this[_0x22adfb(0x1fa)][_0x22adfb(0x23a)][_0x22adfb(0x15d)](_0x4f6702);throw this[_0x22adfb(0x15e)]=!0x0,_0x5838e0[_0x22adfb(0x1c9)](),this[_0x22adfb(0x1fa)][_0x22adfb(0x1db)](_0x22adfb(0x1e7)),new _0xdde06d(_0x54659b,this[_0x22adfb(0x1fa)],_0x4298dd?{'originalError':_0x4298dd}:void 0x0);}[_0x9b247a(0x20c)](_0x373abd){const _0x3886b7=_0x9b247a;this[_0x3886b7(0x1a8)][_0x3886b7(0x1a3)](_0x373abd)||(this[_0x3886b7(0x1a8)][_0x3886b7(0x20d)](_0x373abd),this[_0x3886b7(0x253)][_0x3886b7(0x165)](_0x373abd),this[_0x3886b7(0x249)]||_0x3886b7(0x256)==_0x373abd[_0x3886b7(0x1be)]&&!_0x373abd[_0x3886b7(0x19f)]||this[_0x3886b7(0x16d)]());}[_0x9b247a(0x1fe)](_0xc838c0=!0x1){const _0x3d52b1=_0x9b247a;!_0xc838c0&&this[_0x3d52b1(0x15e)]||(this[_0x3d52b1(0x15e)]=!0x0,clearTimeout(this[_0x3d52b1(0x23c)]),this[_0x3d52b1(0x23c)]=setTimeout(()=>{const _0x1996c6=_0x3d52b1;this[_0x1996c6(0x220)]()[_0x1996c6(0x1f5)](_0x4c37e9=>{const _0x2bfbdf=_0x1996c6;_0x4c37e9&&(this[_0x2bfbdf(0x227)](),this[_0x2bfbdf(0x15e)]=!0x1);})[_0x1996c6(0x1f1)](_0x503cf3=>{const _0x5a38dd=_0x1996c6;this[_0x5a38dd(0x227)](),this[_0x5a38dd(0x15e)]=!0x1,function(_0x33465e){const _0xf80dd1=_0x5a38dd;return _0x33465e[_0xf80dd1(0x171)][_0xf80dd1(0x1b0)](_0xf80dd1(0x168))||_0x33465e[_0xf80dd1(0x171)][_0xf80dd1(0x1b0)](_0xf80dd1(0x1ee))||_0x33465e[_0xf80dd1(0x171)][_0xf80dd1(0x1b0)](_0xf80dd1(0x186));}(_0x503cf3)||this[_0x5a38dd(0x17e)](_0x503cf3[_0x5a38dd(0x171)],_0x503cf3);});},this[_0x3d52b1(0x1b7)]));}[_0x9b247a(0x21a)](){return new Promise(_0x373284=>{const _0x26f732=_0x3497;this['on'](_0x26f732(0x210),()=>{_0x373284();});});}async[_0x9b247a(0x220)](){const _0x451d2d=_0x9b247a,_0x86d112=this[_0x451d2d(0x1fa)][_0x451d2d(0x23a)][_0x451d2d(0x15d)](_0x215b9f);if(this[_0x451d2d(0x17f)]()&&(_0x86d112[_0x451d2d(0x243)](),this[_0x451d2d(0x15c)]=!0x1),!this[_0x451d2d(0x1c0)]())return!0x0;const _0x6a97be=[...this[_0x451d2d(0x253)]];for(const _0x3ffcca of _0x6a97be)_0x3ffcca[_0x451d2d(0x1cc)]=this[_0x451d2d(0x1e4)][_0x451d2d(0x1ec)][_0x451d2d(0x1ca)](_0x3ffcca);const _0x9cb286=this[_0x451d2d(0x158)][_0x451d2d(0x163)](_0x6a97be),_0x2a09dc=Q++,_0x589b41=this[_0x451d2d(0x175)](_0x6a97be),_0x17e8eb=await this[_0x451d2d(0x233)][_0x451d2d(0x1e9)](_0x589b41,_0x589b41[_0x451d2d(0x1aa)],_0x9cb286);try{return await this[_0x451d2d(0x21f)](_0x6a97be,_0x17e8eb,_0x2a09dc);}catch(_0x3fe238){return this[_0x451d2d(0x17e)](_0x451d2d(0x22e),_0x3fe238);}}async[_0x9b247a(0x21f)](_0x3350b5,_0x6147ad,_0x2c2306){const _0x5bceeb=_0x9b247a;if(_0x5bceeb(0x17b)in _0x6147ad)throw _0x6147ad[_0x5bceeb(0x17b)];let _0xa670d2=!0x1;if(_0x6147ad[_0x5bceeb(0x1a7)]){_0x6147ad[_0x5bceeb(0x237)]&&(this[_0x5bceeb(0x1dd)]=_0x6147ad[_0x5bceeb(0x237)]),this[_0x5bceeb(0x253)]=this[_0x5bceeb(0x253)][_0x5bceeb(0x178)](_0x40914e=>!_0x3350b5[_0x5bceeb(0x24f)](_0x40914e));for(const _0x23b735 of _0x3350b5)_0x23b735[_0x5bceeb(0x177)]=_0x5bceeb(0x18a)in _0x6147ad&&_0x6147ad[_0x5bceeb(0x18a)]||void 0x0;X(_0x3350b5,_0x6147ad[_0x5bceeb(0x179)]-_0x3350b5[_0x5bceeb(0x155)]),this[_0x5bceeb(0x252)](_0x3350b5);const _0x484a27=_0x3350b5[_0x5bceeb(0x178)](_0x3be2e1=>{const _0x1b733a=_0x5bceeb;if(!_0x3be2e1[_0x1b733a(0x160)])return!0x1;const _0x5abae6=this[_0x1b733a(0x182)](_0x3be2e1);return _0x5abae6&&!this[_0x1b733a(0x192)][_0x1b733a(0x1a3)](_0x5abae6);});X(_0x484a27,this[_0x5bceeb(0x1e4)][_0x5bceeb(0x179)]),this[_0x5bceeb(0x1ae)](_0x484a27),_0xa670d2=!0x0,this[_0x5bceeb(0x1b7)]=this[_0x5bceeb(0x197)];}else{const _0x4c7860=this[_0x5bceeb(0x172)](_0x6147ad[_0x5bceeb(0x1e1)],_0x6147ad[_0x5bceeb(0x203)])[_0x5bceeb(0x178)](_0x9f5385=>_0x9f5385[_0x5bceeb(0x1aa)]>=this[_0x5bceeb(0x166)]);_0x4c7860[_0x5bceeb(0x19d)](_0x107eb1=>this[_0x5bceeb(0x1f8)](_0x107eb1)),this[_0x5bceeb(0x253)]=this[_0x5bceeb(0x253)][_0x5bceeb(0x178)](_0x2307f2=>!_0x2307f2[_0x5bceeb(0x160)]||!this[_0x5bceeb(0x192)][_0x5bceeb(0x1a3)](this[_0x5bceeb(0x182)](_0x2307f2))),this[_0x5bceeb(0x253)][_0x5bceeb(0x155)]&&X(this[_0x5bceeb(0x253)],this[_0x5bceeb(0x253)][0x0][_0x5bceeb(0x1aa)]),await this[_0x5bceeb(0x239)](_0x4c7860),_0xa670d2=this[_0x5bceeb(0x1a5)](_0x4c7860,_0x6147ad[_0x5bceeb(0x179)],_0x6147ad[_0x5bceeb(0x237)]),this[_0x5bceeb(0x1b7)]=Math[_0x5bceeb(0x21d)](this[_0x5bceeb(0x1b7)]/0x2);}return _0xa670d2?!this[_0x5bceeb(0x1c0)]()||(this[_0x5bceeb(0x1fe)](!0x0),!0x1):this[_0x5bceeb(0x17e)](_0x5bceeb(0x193));}[_0x9b247a(0x1a5)](_0x3eaba2,_0x509e19,_0x396bf7){const _0xcf906f=_0x9b247a;try{const _0x58767f={'document':this[_0xcf906f(0x1e4)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1de8cf,operationsB:_0x3178d6,originalOperations:_0xdda2f9}=_0x406b35(_0x3eaba2,this[_0xcf906f(0x253)],_0x58767f);X(_0x1de8cf,this[_0xcf906f(0x1e4)][_0xcf906f(0x179)]),X(_0x3178d6,_0x509e19);for(const _0x232c8d of _0x1de8cf){const _0x5d76d6=_0xdda2f9[_0xcf906f(0x15d)](_0x232c8d);_0x232c8d[_0xcf906f(0x1bb)]=_0x5d76d6?_0x5d76d6[_0xcf906f(0x1bb)]:null;}_0x396bf7&&(this[_0xcf906f(0x158)][_0xcf906f(0x1d6)](_0x3eaba2,_0x396bf7),this[_0xcf906f(0x1dd)]=_0x396bf7),this[_0xcf906f(0x253)]=[..._0x3178d6],this[_0xcf906f(0x1ae)](_0x1de8cf),this[_0xcf906f(0x252)](_0x3eaba2);}catch(_0x5c97e4){return console[_0xcf906f(0x17b)](_0x5c97e4),!0x1;}return!0x0;}[_0x9b247a(0x1ae)](_0x4837cf,_0x39a342=!0x1){const _0x511151=_0x9b247a;this[_0x511151(0x1fa)][_0x511151(0x1d9)][_0x511151(0x1e8)]({'isUndoable':!0x1,'isLocal':!0x1},_0x370f1a=>{const _0x5cc514=_0x511151;for(const _0x18dd76 of _0x4837cf)this[_0x5cc514(0x1a8)][_0x5cc514(0x20d)](_0x18dd76),this[_0x5cc514(0x1f8)](_0x18dd76),_0x370f1a[_0x5cc514(0x19c)][_0x5cc514(0x24a)](_0x18dd76),this[_0x5cc514(0x1fa)][_0x5cc514(0x1d9)][_0x5cc514(0x238)](_0x18dd76);});}[_0x9b247a(0x1f8)](_0x3dc559){const _0x14609f=_0x9b247a,_0x26fbd5=this[_0x14609f(0x182)](_0x3dc559);_0x26fbd5&&this[_0x14609f(0x192)][_0x14609f(0x20d)](_0x26fbd5);}[_0x9b247a(0x182)](_0x3d815d){const _0x5f0f2a=_0x9b247a;let _0x26cf94,_0x1d6391;switch(_0x3d815d[_0x5f0f2a(0x1be)]){case _0x5f0f2a(0x174):_0x26cf94=_0x3d815d[_0x5f0f2a(0x1ed)][_0x5f0f2a(0x198)];break;case _0x5f0f2a(0x256):if(_0x1d6391=_0x3d815d[_0x5f0f2a(0x1d0)],!_0x1d6391)return null;_0x26cf94=_0x1d6391[_0x5f0f2a(0x198)];break;case _0x5f0f2a(0x191):_0x26cf94=_0x3d815d[_0x5f0f2a(0x198)];break;case _0x5f0f2a(0x1e6):_0x26cf94=_0x3d815d[_0x5f0f2a(0x1d5)];break;case _0x5f0f2a(0x180):_0x26cf94=_0x3d815d[_0x5f0f2a(0x1b4)][_0x5f0f2a(0x198)];break;default:return null;}return _0x26cf94[_0x5f0f2a(0x213)];}[_0x9b247a(0x252)](_0x2e6c49){const _0xdc3d25=_0x9b247a;_0x2e6c49[_0xdc3d25(0x19d)](_0x89dd78=>{const _0x4e12c1=_0xdc3d25,_0x3af3b5=_0x89dd78[_0x4e12c1(0x1c8)]();_0x3af3b5[_0x4e12c1(0x1bb)]=_0x89dd78[_0x4e12c1(0x1bb)],_0x3af3b5[_0x4e12c1(0x160)]=!!_0x89dd78[_0x4e12c1(0x160)],_0x3af3b5[_0x4e12c1(0x177)]=_0x89dd78[_0x4e12c1(0x177)],_0x3af3b5[_0x4e12c1(0x1aa)]+=this[_0x4e12c1(0x1ad)],_0x89dd78[_0x4e12c1(0x206)]&&this[_0x4e12c1(0x212)][_0x4e12c1(0x20d)](_0x3af3b5),this[_0x4e12c1(0x209)][_0x4e12c1(0x24a)](_0x3af3b5);});}[_0x9b247a(0x196)](_0x20bd64){const _0x421685=_0x9b247a,_0x39cd0d=this[_0x421685(0x1fa)][_0x421685(0x23a)][_0x421685(0x15d)](_0x421685(0x15b)),_0x1363fa=this[_0x421685(0x1fa)][_0x421685(0x161)];_0x20bd64||(_0x20bd64=_0x1dd505(_0x1363fa,_0x421685(0x254))),_0x39cd0d[_0x421685(0x1f0)](_0x20bd64,{'title':_0x1dd505(_0x1363fa,_0x421685(0x255)),'namespace':_0x421685(0x16c)}),this[_0x421685(0x170)]=!0x0,clearTimeout(this[_0x421685(0x23c)]),this[_0x421685(0x253)]=[],this[_0x421685(0x1fa)][_0x421685(0x23a)][_0x421685(0x15d)](_0x4f6702)[_0x421685(0x1c9)]();}[_0x9b247a(0x16d)](){const _0x5b5ff1=_0x9b247a;this[_0x5b5ff1(0x249)]||(this[_0x5b5ff1(0x249)]=this[_0x5b5ff1(0x1fa)][_0x5b5ff1(0x23a)][_0x5b5ff1(0x15d)](_0x37d0cb)[_0x5b5ff1(0x20d)](_0x1dd505(this[_0x5b5ff1(0x1fa)][_0x5b5ff1(0x161)],_0x5b5ff1(0x1a4))));}[_0x9b247a(0x227)](){const _0x5bd6e4=_0x9b247a;this[_0x5bd6e4(0x249)]&&(this[_0x5bd6e4(0x1fa)][_0x5bd6e4(0x23a)][_0x5bd6e4(0x15d)](_0x37d0cb)[_0x5bd6e4(0x1f9)](this[_0x5bd6e4(0x249)]),this[_0x5bd6e4(0x249)]=null);}[_0x9b247a(0x175)](_0x15e254){const _0x278f5c=_0x9b247a,_0x14a2eb=_0x15e254[_0x278f5c(0x17d)](_0x406c5f=>_0x406c5f[_0x278f5c(0x18c)]());return this[_0x278f5c(0x187)][_0x278f5c(0x1a1)](_0x14a2eb);}[_0x9b247a(0x172)](_0x965600,_0x5c65d8){const _0x436ad2=_0x9b247a;return this[_0x436ad2(0x187)][_0x436ad2(0x204)](_0x965600)[_0x436ad2(0x17d)]((_0x37c1f9,_0x31a5ec)=>{const _0x12e524=_0x436ad2,_0x3d5230=_0x12e524(0x1bc)==_0x5c65d8[_0x31a5ec][_0x12e524(0x1be)];if(_0x12e524(0x231)==_0x37c1f9[_0x12e524(0x1ab)]){const _0xf96722=_0x37c1f9[_0x12e524(0x1ed)][_0x12e524(0x198)];!this[_0x12e524(0x1e4)][_0x12e524(0x159)](_0xf96722)&&(this[_0x12e524(0x1e4)][_0x12e524(0x1b3)](_0x12e524(0x16e),_0xf96722)[_0x12e524(0x20e)]=!0x1);}const _0x1517c8=_0x2a2dea[_0x12e524(0x18e)](_0x37c1f9,this[_0x12e524(0x1e4)]);return _0x1517c8[_0x12e524(0x1cc)]=_0x37c1f9[_0x12e524(0x1cc)],_0x1517c8[_0x12e524(0x160)]=_0x3d5230,_0x1517c8[_0x12e524(0x1bb)]=_0x3d5230?null:_0x5c65d8[_0x31a5ec][_0x12e524(0x1fc)],_0x1517c8[_0x12e524(0x206)]=_0x12e524(0x1b9)===_0x5c65d8[_0x31a5ec][_0x12e524(0x1be)],_0x1517c8[_0x12e524(0x177)]=_0x5c65d8[_0x31a5ec][_0x12e524(0x177)],_0x1517c8;});}[_0x9b247a(0x1f3)](){const _0x54eebe=_0x9b247a;this[_0x54eebe(0x15c)]=!0x0,this[_0x54eebe(0x17f)]()?this[_0x54eebe(0x1fe)]():this[_0x54eebe(0x15c)]=!0x1;}[_0x9b247a(0x17f)](){const _0x4c611f=_0x9b247a,_0x149129=this[_0x4c611f(0x1fa)][_0x4c611f(0x23a)][_0x4c611f(0x15d)](_0x1f4a5f)[_0x4c611f(0x176)][_0x4c611f(0x15d)](this[_0x4c611f(0x20a)]);return!this[_0x4c611f(0x1fa)][_0x4c611f(0x1d7)]&&!!_0x149129&&_0x149129[_0x4c611f(0x155)]>0x1&&this[_0x4c611f(0x15c)];}[_0x9b247a(0x1c0)](){const _0x5e785c=_0x9b247a;return this[_0x5e785c(0x253)][_0x5e785c(0x155)]>0x0||this[_0x5e785c(0x17f)]();}}class ReconnectionError extends Error{}function X(_0x4f76c4,_0x28d432){const _0x505361=_0x9b247a;for(const _0x57b2dc of _0x4f76c4)_0x57b2dc[_0x505361(0x1aa)]=_0x28d432++;}class OperationIdentifier{[_0x9b247a(0x1c7)];[_0x9b247a(0x194)];constructor(_0x1c734d){const _0x3b4672=_0x9b247a;this[_0x3b4672(0x1c7)]=_0x1c734d,this[_0x3b4672(0x194)]=new WeakMap();}[_0x9b247a(0x163)](_0x3aef21){const _0xa1b9f4=_0x9b247a;let _0x3bfeb2=_0x3aef21[_0xa1b9f4(0x155)];for(;_0x3bfeb2--;){const _0x56f5db=_0x3aef21[_0x3bfeb2];if(!this[_0xa1b9f4(0x1c7)][_0xa1b9f4(0x1a3)](_0x56f5db)){if(!this[_0xa1b9f4(0x194)][_0xa1b9f4(0x1a3)](_0x56f5db)){const _0x105715=_0x3cf278()[_0xa1b9f4(0x208)](0x1,0x12);this[_0xa1b9f4(0x194)][_0xa1b9f4(0x202)](_0x56f5db,_0x105715);}return this[_0xa1b9f4(0x194)][_0xa1b9f4(0x15d)](_0x56f5db);}}}[_0x9b247a(0x1d6)](_0x2ae7ff,_0x260b76){const _0x262d01=_0x9b247a;if(!_0x260b76)return;let _0x1a4901=_0x2ae7ff[_0x262d01(0x155)];for(;_0x1a4901--;){const _0xd4dfec=_0x2ae7ff[_0x1a4901];this[_0x262d01(0x1c7)][_0x262d01(0x1a3)](_0xd4dfec)||this[_0x262d01(0x194)][_0x262d01(0x202)](_0xd4dfec,_0x260b76);}}}
23
+ const _0x34734c=_0x16b3;(function(_0x240fb8,_0x3f672d){const _0x17935f=_0x16b3,_0x2dc042=_0x240fb8();while(!![]){try{const _0x45546a=parseInt(_0x17935f(0x181))/0x1+parseInt(_0x17935f(0x14f))/0x2*(-parseInt(_0x17935f(0x173))/0x3)+-parseInt(_0x17935f(0x131))/0x4*(parseInt(_0x17935f(0x198))/0x5)+parseInt(_0x17935f(0x1b1))/0x6*(parseInt(_0x17935f(0x184))/0x7)+-parseInt(_0x17935f(0x182))/0x8+-parseInt(_0x17935f(0x1eb))/0x9*(parseInt(_0x17935f(0x19f))/0xa)+-parseInt(_0x17935f(0x103))/0xb*(-parseInt(_0x17935f(0x148))/0xc);if(_0x45546a===_0x3f672d)break;else _0x2dc042['push'](_0x2dc042['shift']());}catch(_0x2b83eb){_0x2dc042['push'](_0x2dc042['shift']());}}}(_0x4b89,0x3e130));import{Plugin as _0x588a2f,PendingActions as _0x544a7f}from'ckeditor5/src/core.js';import{CKEditorError as _0x2f849e,version as _0x1f56ea,uid as _0x21adc6}from'ckeditor5/src/utils.js';import{Notification as _0x2cf501}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x38bb68,NoOperation as _0x286b9d,InsertOperation as _0x19c6f9,MarkerOperation as _0x3044bb,RootAttributeOperation as _0x12dd06,OperationFactory as _0x11dfbb,History as _0x516b6b}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x27fc8c}from'./websocketgateway.js';import{Sessions as _0x271027}from'./sessions.js';import{UserMarkers as _0x55ae5f}from'./usermarkers.js';import{getTranslation as _0x289ccc}from'../common-translations.js';import{Compressor as _0xd8f597}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x35c07b}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x18a5fa,CollaborativeEditingService as _0x5a9f9e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x16b3(_0x450642,_0x417aa1){const _0x4b89cd=_0x4b89();return _0x16b3=function(_0x16b345,_0x1cf398){_0x16b345=_0x16b345-0xf3;let _0x32a10=_0x4b89cd[_0x16b345];return _0x32a10;},_0x16b3(_0x450642,_0x417aa1);}let q=0x1;export class RealTimeCollaborationClient extends _0x588a2f{static [_0x34734c(0x1b9)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x5a9f9e)());[_0x34734c(0x1f4)];[_0x34734c(0x138)];[_0x34734c(0x165)];[_0x34734c(0x153)];[_0x34734c(0xf7)];[_0x34734c(0xff)];[_0x34734c(0x1e2)];[_0x34734c(0x156)];[_0x34734c(0x1a6)];[_0x34734c(0x1df)];[_0x34734c(0x1cd)];[_0x34734c(0xf5)];[_0x34734c(0x12e)];[_0x34734c(0x160)];[_0x34734c(0x15d)];[_0x34734c(0x1bb)];[_0x34734c(0x10f)];[_0x34734c(0x19e)];static get[_0x34734c(0xfa)](){return[_0x27fc8c,_0x271027,_0x55ae5f,_0x544a7f,_0x35c07b,_0x2cf501];}static get[_0x34734c(0x12f)](){const _0x4c9ea6=_0x34734c;return _0x4c9ea6(0x1a9);}static get[_0x34734c(0x161)](){return!0x0;}static get[_0x34734c(0x159)](){return!0x0;}get[_0x34734c(0x146)](){const _0x2bd41c=_0x34734c;return this[_0x2bd41c(0x128)]+this[_0x2bd41c(0x1f4)];}get[_0x34734c(0x128)](){const _0x27111c=_0x34734c;return this[_0x27111c(0x165)][_0x27111c(0x166)]-this[_0x27111c(0x1f4)];}get[_0x34734c(0x110)](){const _0x1e22ab=_0x34734c,_0x2bde80=this[_0x1e22ab(0x165)][_0x1e22ab(0x1d0)]();for(let _0x1fff7e=_0x2bde80[_0x1e22ab(0x176)]-0x1;_0x1fff7e>=0x0;_0x1fff7e--){const _0x36b6bf=_0x2bde80[_0x1fff7e];if(!this[_0x1e22ab(0x10f)][_0x1e22ab(0x15a)](_0x36b6bf))return _0x36b6bf[_0x1e22ab(0x125)]+0x1-this[_0x1e22ab(0x1f4)];}return 0x0;}constructor(_0x58cbfc){const _0x170afe=_0x34734c;if(super(_0x58cbfc),this[_0x170afe(0x1f4)]=0x0,this[_0x170afe(0x138)]=null,this[_0x170afe(0x165)]=new _0x516b6b(),this[_0x170afe(0x1b4)][_0x170afe(0x12d)][_0x170afe(0x187)](_0x170afe(0x19a),{}),this[_0x170afe(0x153)]=this[_0x170afe(0x1b4)][_0x170afe(0x12d)][_0x170afe(0x16b)](_0x170afe(0x12c)),!this[_0x170afe(0x153)])throw new _0x2f849e(_0x170afe(0x100),this);const _0xf51c4=_0x58cbfc[_0x170afe(0x12d)][_0x170afe(0x16b)](_0x170afe(0x18c))||_0x1f56ea;this[_0x170afe(0xf7)]=new RealTimeCollaborationClient[(_0x170afe(0x1b9))](_0xf51c4,this[_0x170afe(0x153)]),this[_0x170afe(0xff)]=this[_0x170afe(0x1b4)][_0x170afe(0x1d2)][_0x170afe(0x17f)],this[_0x170afe(0x1e2)]=new _0xd8f597(),this[_0x170afe(0x156)]=[],this[_0x170afe(0x1a6)]=new WeakSet(),this[_0x170afe(0x1df)]=new Set(),this[_0x170afe(0x111)](_0x170afe(0x1be),!0x1),this[_0x170afe(0x111)](_0x170afe(0x1dd),!0x1),this[_0x170afe(0x1cd)]=null,this[_0x170afe(0xf5)]=!0x1,this[_0x170afe(0x12e)]=null,this[_0x170afe(0x160)]=0x12c,this[_0x170afe(0x15d)]=this[_0x170afe(0x160)],this[_0x170afe(0x1bb)]=null,this[_0x170afe(0x10f)]=new WeakSet(),this[_0x170afe(0x19e)]=new OperationIdentifier(this[_0x170afe(0x10f)]);}[_0x34734c(0x1f1)](){const _0x154229=_0x34734c,_0x44d37e=this[_0x154229(0x1b4)],_0x3c63c5=_0x44d37e[_0x154229(0x11d)][_0x154229(0x16b)](_0x35c07b),_0x58611d=_0x44d37e[_0x154229(0x11d)][_0x154229(0x16b)](_0x27fc8c);this[_0x154229(0x1ee)](_0x3c63c5,_0x154229(0x17e),(_0x53cf90,_0x414fa2)=>{const _0x2b3c80=_0x154229,_0x454a5b=_0x414fa2[0x0];_0x454a5b[_0x2b3c80(0x139)]&&(_0x53cf90[_0x2b3c80(0x1ae)]=_0x3c63c5[_0x2b3c80(0x1d3)](_0x454a5b[_0x2b3c80(0x139)]),_0x53cf90[_0x2b3c80(0x192)]()),null===_0x454a5b[_0x2b3c80(0x139)]&&(_0x53cf90[_0x2b3c80(0x1ae)]=null,_0x53cf90[_0x2b3c80(0x192)]());},{'priority':_0x154229(0x175)}),this[_0x154229(0x1ee)](_0x44d37e[_0x154229(0x1d2)][_0x154229(0x17f)][_0x154229(0x1a2)],_0x154229(0x1b6),(_0x448eea,_0x471ca1)=>{const _0x3f30e9=_0x154229;_0x471ca1[_0x3f30e9(0x1f0)]&&this[_0x3f30e9(0x1f5)]();}),this[_0x154229(0x1ee)](_0x44d37e[_0x154229(0x135)][_0x154229(0x1c8)],_0x154229(0x127),()=>{const _0x2483a5=_0x154229;this[_0x2483a5(0x1f5)]();}),this[_0x154229(0x12b)](),_0x44d37e[_0x154229(0x1d2)]['on'](_0x154229(0x11c),(_0x46fbe4,_0x2202a1)=>{const _0x2af4ca=_0x154229,_0x471e18=_0x2202a1[0x0];_0x471e18[_0x2af4ca(0x1cc)]&&(this[_0x2af4ca(0x1f8)](_0x471e18),this[_0x2af4ca(0x16d)]()&&this[_0x2af4ca(0x117)]());}),this[_0x154229(0x18d)](),this[_0x154229(0x15e)](_0x154229(0x1cf))['to'](_0x58611d,_0x154229(0x10d),this,_0x154229(0x1dd),(_0x6bb0d4,_0x3756bf)=>_0x154229(0x1e5)===_0x6bb0d4&&!_0x3756bf),this['on'](_0x154229(0x11a),()=>{const _0xbedc6d=_0x154229;this[_0xbedc6d(0x1cf)]?_0x44d37e[_0xbedc6d(0x1bd)](_0xbedc6d(0x1ef)):_0x44d37e[_0xbedc6d(0x1e0)](_0xbedc6d(0x1ef));}),this[_0x154229(0x1cf)]?_0x44d37e[_0x154229(0x1bd)](_0x154229(0x1ef)):_0x44d37e[_0x154229(0x1e0)](_0x154229(0x1ef)),this[_0x154229(0x111)](_0x154229(0x1f2),!0x1);}async[_0x34734c(0x1c5)](){const _0xb89120=_0x34734c,_0x3b7dba=this[_0xb89120(0x1b4)][_0xb89120(0x11d)][_0xb89120(0x16b)](_0x271027),_0x51ecfa=this[_0xb89120(0x1b4)][_0xb89120(0x11d)][_0xb89120(0x16b)](_0x27fc8c);try{this[_0xb89120(0x1be)]=!0x0,_0x3b7dba[_0xb89120(0x189)](this[_0xb89120(0x153)]);const _0x4af2fa=await this[_0xb89120(0xf7)][_0xb89120(0x1c5)](_0x51ecfa[_0xb89120(0x1a1)],this[_0xb89120(0x110)]);await this[_0xb89120(0x109)](_0x4af2fa)&&(this[_0xb89120(0x1be)]=!0x1,this[_0xb89120(0xf9)]());const _0x215aaa=await this[_0xb89120(0xf7)][_0xb89120(0x1bc)]();_0x3b7dba[_0xb89120(0x123)](this[_0xb89120(0x153)],_0x215aaa),this[_0xb89120(0x105)](),this[_0xb89120(0x1f2)]=!0x0;}catch(_0xb2feb){if(function(_0x3e5147){const _0x307228=_0xb89120;return _0x307228(0x1cb)===_0x3e5147[_0x307228(0x11b)];}(_0xb2feb)&&this[_0xb89120(0x138)])await this[_0xb89120(0x170)]();else{if(function(_0x157b7e){const _0x50daf7=_0xb89120;return _0x50daf7(0x1a8)===_0x157b7e[_0x50daf7(0x11b)];}(_0xb2feb)){const _0x17cc79=_0x289ccc(this[_0xb89120(0x1b4)][_0xb89120(0x178)],_0xb89120(0x118));this[_0xb89120(0x152)](_0x17cc79);}else{if(!(_0xb2feb instanceof ReconnectionError))throw _0xb2feb;this[_0xb89120(0x152)]();}}}}[_0x34734c(0x106)](){const _0x528379=_0x34734c,_0x2c452b=this[_0x528379(0x1b4)][_0x528379(0x11d)][_0x528379(0x16b)](_0x27fc8c),_0x183273=this[_0x528379(0x1b4)][_0x528379(0x11d)][_0x528379(0x16b)](_0x271027);this[_0x528379(0x1b4)][_0x528379(0x1e0)](_0x528379(0x101)),_0x183273[_0x528379(0x1c4)][_0x528379(0x15a)](this[_0x528379(0x153)])&&_0x183273[_0x528379(0x189)](this[_0x528379(0x153)]),_0x2c452b[_0x528379(0x186)](this),this[_0x528379(0x1af)](),super[_0x528379(0x106)]();}async[_0x34734c(0x109)](_0x4b12cb){const _0x3f8f3f=_0x34734c;if(this[_0x3f8f3f(0x138)]!==_0x4b12cb[_0x3f8f3f(0x138)]&&this[_0x3f8f3f(0x1bb)]!==_0x4b12cb[_0x3f8f3f(0x1aa)])throw new ReconnectionError();return this[_0x3f8f3f(0x138)]=_0x4b12cb[_0x3f8f3f(0x138)],this[_0x3f8f3f(0x18e)]([],{..._0x4b12cb,'wereChangesApplied':!0x1,'data':_0x4b12cb[_0x3f8f3f(0x140)]},_0x3f8f3f(0x1c5));}async[_0x34734c(0x18f)](_0x246bc2,_0x27ffea=!0x1){const _0x204510=_0x34734c,{connection:_0x253b11}=this[_0x204510(0x1b4)][_0x204510(0x11d)][_0x204510(0x16b)](_0x27fc8c);RealTimeCollaborationClient[_0x204510(0x1b9)][_0x204510(0x1bc)](_0x253b11,this[_0x204510(0x153)])[_0x204510(0x142)](_0x5b7f25=>this[_0x204510(0x1fa)](_0x5b7f25))[_0x204510(0x1e3)](_0xc7a8fd=>{const _0xdd7e4b=_0x204510;this[_0xdd7e4b(0x179)](_0xdd7e4b(0x194),_0xc7a8fd);}),this[_0x204510(0x1ee)](this[_0x204510(0xf7)],_0x204510(0x1ad),this[_0x204510(0x13b)][_0x204510(0x15e)](this)),this[_0x204510(0x1ee)](this[_0x204510(0xf7)],_0x204510(0x15c),(_0x1f5968,_0x261447)=>{const _0x5acfa7=_0x204510;this[_0x5acfa7(0x179)](_0x5acfa7(0x13e),_0x261447);}),this[_0x204510(0x1ee)](this[_0x204510(0xf7)],_0x204510(0x122),()=>{const _0x157089=_0x204510;this[_0x157089(0x1f2)]=!0x1;});const _0x3d4c4e=this[_0x204510(0x19e)][_0x204510(0x17b)](_0x246bc2);this[_0x204510(0x1be)]=!0x0;const _0xb5115b=await this[_0x204510(0xf7)][_0x204510(0x1ab)](_0x253b11,this[_0x204510(0x141)](_0x246bc2),_0x3d4c4e);if(this[_0x204510(0x138)]=_0xb5115b[_0x204510(0x138)],_0x27ffea){if(!_0xb5115b[_0x204510(0x136)])return void this[_0x204510(0x152)]();this[_0x204510(0x1be)]=!0x1,this[_0x204510(0xf9)](),this[_0x204510(0x165)][_0x204510(0x10a)](),this[_0x204510(0x1f4)]=_0xb5115b[_0x204510(0x104)],this[_0x204510(0x165)][_0x204510(0x166)]=this[_0x204510(0x1f4)],await this[_0x204510(0x18e)](_0x246bc2,_0xb5115b,_0x204510(0xf8));}else await this[_0x204510(0x1f7)](_0xb5115b,_0x246bc2);this[_0x204510(0x105)](),this[_0x204510(0x1f2)]=!0x0;}[_0x34734c(0x105)](){const _0x2b103f=_0x34734c,_0x20eaba=this[_0x2b103f(0x1b4)][_0x2b103f(0x11d)][_0x2b103f(0x16b)](_0x271027),_0x3ffcd5=this[_0x2b103f(0x1b4)][_0x2b103f(0x11d)][_0x2b103f(0x16b)](_0x55ae5f),_0x5b48d0=_0x20eaba[_0x2b103f(0x1c4)][_0x2b103f(0x16b)](this[_0x2b103f(0x153)]);_0x5b48d0&&_0x5b48d0[_0x2b103f(0x176)]>0x1?_0x3ffcd5[_0x2b103f(0x120)]():this[_0x2b103f(0x1ee)](_0x20eaba,_0x2b103f(0x1db)+this[_0x2b103f(0x153)],()=>{const _0x906c09=_0x2b103f;0x2===_0x20eaba[_0x906c09(0x1c4)][_0x906c09(0x16b)](this[_0x906c09(0x153)])[_0x906c09(0x176)]&&_0x3ffcd5[_0x906c09(0x120)]();});}async[_0x34734c(0x13b)](_0x393e29,_0x3576b1,_0x126d4e,_0xda47fe){const _0x59cb8b=_0x34734c;if(!this[_0x59cb8b(0x1be)]&&this[_0x59cb8b(0xff)][_0x59cb8b(0x166)]==_0x3576b1){const _0x7f7122=this[_0x59cb8b(0x174)](_0x126d4e,_0xda47fe);await this[_0x59cb8b(0x1e4)](_0x7f7122),this[_0x59cb8b(0x1de)](_0x7f7122,_0x3576b1,_0x126d4e[_0x59cb8b(0x1aa)])||this[_0x59cb8b(0x179)](_0x59cb8b(0x1a5));}}async[_0x34734c(0x170)](){const _0x5948d1=_0x34734c;this[_0x5948d1(0x1af)]();const {locale:_0x4e8f71}=this[_0x5948d1(0x1b4)];let _0x28aaa8;try{_0x28aaa8=await this[_0x5948d1(0xf7)][_0x5948d1(0x1ba)]();}catch{const _0x50a0ec=_0x289ccc(_0x4e8f71,_0x5948d1(0x108));return void this[_0x5948d1(0x152)](_0x50a0ec);}const _0x24f0a1=_0x28aaa8[_0x5948d1(0x1b3)]||_0x28aaa8[_0x5948d1(0x1c0)];if(this[_0x5948d1(0x1bb)]!==_0x24f0a1[_0x5948d1(0x1aa)]){const _0x489df7=_0x289ccc(_0x4e8f71,_0x5948d1(0x177));return void this[_0x5948d1(0x152)](_0x489df7);}await this[_0x5948d1(0x18f)](this[_0x5948d1(0x1b4)][_0x5948d1(0x1d2)][_0x5948d1(0x17f)][_0x5948d1(0x12a)][_0x5948d1(0x1d0)](),!0x0);}[_0x34734c(0x1af)](){const _0x12b806=_0x34734c;this[_0x12b806(0xf7)][_0x12b806(0x144)](),this[_0x12b806(0x156)]=[],clearTimeout(this[_0x12b806(0x12e)]),this[_0x12b806(0x1e1)](this[_0x12b806(0xf7)]);}[_0x34734c(0x1fa)](_0x4645cf){const _0x282ab8=_0x34734c,_0x4c4843=this[_0x282ab8(0x1b4)][_0x282ab8(0x11d)][_0x282ab8(0x16b)](_0x271027);this[_0x282ab8(0x1ee)](_0x4c4843,_0x282ab8(0x1db)+this[_0x282ab8(0x153)],(_0x529bd1,{session:_0x443f7a})=>{const _0x5d766c=_0x282ab8;if(_0x443f7a['id']===_0x4c4843[_0x5d766c(0x1d6)]){_0x529bd1[_0x5d766c(0x149)]();const _0x589de0=this[_0x5d766c(0x1b4)][_0x5d766c(0x11d)][_0x5d766c(0x15a)](_0x5d766c(0x14c))&&this[_0x5d766c(0x1b4)][_0x5d766c(0x11d)][_0x5d766c(0x16b)](_0x5d766c(0x14c));let _0x514477=_0x443f7a[_0x5d766c(0x1ec)];_0x589de0&&_0x589de0[_0x5d766c(0x1b5)]&&(_0x514477=_0x514477[_0x5d766c(0x113)](_0x5e494f=>_0x5d766c(0x172)!==_0x5e494f)),this[_0x5d766c(0x1b4)][_0x5d766c(0x11d)][_0x5d766c(0x16b)](_0x5d766c(0x1a4))[_0x5d766c(0x19c)](_0x514477,this[_0x5d766c(0x153)]);}}),_0x4c4843[_0x282ab8(0x123)](this[_0x282ab8(0x153)],_0x4645cf);}[_0x34734c(0x12b)](){const _0x4f9d42=_0x34734c,_0x4e4259=this[_0x4f9d42(0x1b4)][_0x4f9d42(0x140)][_0x4f9d42(0x111)];this[_0x4f9d42(0x1b4)][_0x4f9d42(0x140)][_0x4f9d42(0x111)]=(..._0x120698)=>{const _0x2d9c74=_0x4f9d42;if(!_0x120698[_0x120698[_0x2d9c74(0x176)]-0x1][_0x2d9c74(0x18a)])throw new _0x2f849e(_0x2d9c74(0x17d),this);_0x4e4259[_0x2d9c74(0x164)](this[_0x2d9c74(0x1b4)][_0x2d9c74(0x140)],_0x120698);};}[_0x34734c(0x18d)](){const _0x38f063=_0x34734c;this[_0x38f063(0x1b4)][_0x38f063(0x140)]['on'](_0x38f063(0x1f1),(_0x5917f4,[_0x1aa3e9])=>{const _0x2e8d8c=_0x38f063;if(this[_0x2e8d8c(0xff)][_0x2e8d8c(0x166)])throw new _0x2f849e(_0x2e8d8c(0xf6),this);_0x5917f4[_0x2e8d8c(0x192)](),this[_0x2e8d8c(0x145)]();const _0x1f0b17=this[_0x2e8d8c(0x1b4)][_0x2e8d8c(0x12d)][_0x2e8d8c(0x16b)](_0x2e8d8c(0x180)),_0x2e02ad=this[_0x2e8d8c(0x193)](_0x1aa3e9,_0x1f0b17);0x0==_0x2e02ad[_0x2e8d8c(0x176)]&&_0x2e02ad[_0x2e8d8c(0xfb)](new _0x286b9d(0x0)),_0x5917f4[_0x2e8d8c(0x1ae)]=this[_0x2e8d8c(0x18f)](_0x2e02ad)[_0x2e8d8c(0x142)](()=>{const _0x3dfcc2=_0x2e8d8c;this[_0x3dfcc2(0x1b4)][_0x3dfcc2(0x11d)][_0x3dfcc2(0x16b)](_0x27fc8c)[_0x3dfcc2(0x121)](this),this[_0x3dfcc2(0x1b4)][_0x3dfcc2(0x140)][_0x3dfcc2(0x1e6)](_0x3dfcc2(0x1a3));})[_0x2e8d8c(0x1e3)](_0x3ead52=>this[_0x2e8d8c(0x179)](_0x2e8d8c(0x116),_0x3ead52))[_0x2e8d8c(0x1bf)](()=>this[_0x2e8d8c(0xf9)]());},{'priority':_0x38f063(0x175)}),this[_0x38f063(0x1b4)]['on'](_0x38f063(0x16e),async(_0x1d4d91,[_0x519476,_0xacf1e3])=>{const _0x5923c8=_0x38f063;_0x1d4d91[_0x5923c8(0x192)]();const _0x35f2c1=this[_0x5923c8(0x1b4)][_0x5923c8(0x1d2)][_0x5923c8(0x17f)][_0x5923c8(0xfd)](_0x519476);if(!this[_0x5923c8(0x1df)][_0x5923c8(0x15a)](_0x519476)){const _0xc95803=_0xacf1e3&&_0xacf1e3[_0x5923c8(0x140)]?_0xacf1e3[_0x5923c8(0x140)]:'',_0x138293=_0xacf1e3&&_0xacf1e3[_0x5923c8(0x1c9)]?_0xacf1e3[_0x5923c8(0x1c9)]:{};await this[_0x5923c8(0x14d)](_0x519476,_0xc95803,_0x138293);}this[_0x5923c8(0x1b4)][_0x5923c8(0x1d2)][_0x5923c8(0x1c6)]({'isUndoable':!0x1},()=>{const _0x5b1fca=_0x5923c8;_0x35f2c1[_0x5b1fca(0x19d)]=!0x0,this[_0x5b1fca(0x1b4)][_0x5b1fca(0x1d2)][_0x5b1fca(0x17f)][_0x5b1fca(0xfc)][_0x5b1fca(0x1a0)](_0x35f2c1);});},{'priority':_0x38f063(0x175)});}async[_0x34734c(0x1e4)](_0x1322d3){const _0x16b06e=_0x34734c,_0x24066a=this[_0x16b06e(0x1b4)][_0x16b06e(0x11d)][_0x16b06e(0x16b)](_0x35c07b),{connection:_0x5e9a1b}=this[_0x16b06e(0x1b4)][_0x16b06e(0x11d)][_0x16b06e(0x16b)](_0x27fc8c),_0x18f532=new Set();for(const _0x55ea79 of _0x1322d3){const _0x28f16e=_0x55ea79[_0x16b06e(0x139)];_0x28f16e&&!_0x24066a[_0x16b06e(0x1d3)](_0x28f16e)&&_0x18f532[_0x16b06e(0x16c)](_0x28f16e);}if(0x0===_0x18f532[_0x16b06e(0x126)])return;const _0x1a4c4f=await _0x18a5fa[_0x16b06e(0x13f)](_0x5e9a1b,Array[_0x16b06e(0x1e7)](_0x18f532));for(const _0x132894 of _0x1a4c4f)_0x24066a[_0x16b06e(0x1d3)](_0x132894['id'])||_0x24066a[_0x16b06e(0x1a7)](_0x132894);}[_0x34734c(0x193)](_0x1e8eae,_0x322be0={}){const _0x3cfbc8=_0x34734c,_0x47b198=this[_0x3cfbc8(0x1b4)][_0x3cfbc8(0x1d2)],_0x3466ff=[];let _0x292399=0x0;const _0x17b2a1=_0x3cfbc8(0x1f6)==typeof _0x1e8eae?{'main':_0x1e8eae}:_0x1e8eae;for(const _0x3eb6bc of Object[_0x3cfbc8(0x18b)](_0x17b2a1)){if(!this[_0x3cfbc8(0xff)][_0x3cfbc8(0x15f)][_0x3cfbc8(0x15a)](_0x3eb6bc))throw new _0x2f849e(_0x3cfbc8(0x1b8),this);const _0x25edb7=this[_0x3cfbc8(0x1b4)][_0x3cfbc8(0x140)][_0x3cfbc8(0x1b7)](_0x17b2a1[_0x3eb6bc]),_0x5f068e=this[_0x3cfbc8(0xff)][_0x3cfbc8(0xfd)](_0x3eb6bc),_0x2ead4f=new _0x19c6f9(_0x47b198[_0x3cfbc8(0x1c2)](_0x5f068e,0x0),_0x25edb7,_0x292399++);_0x3466ff[_0x3cfbc8(0xfb)](_0x2ead4f);for(const [_0x1e48a7,_0x252750]of _0x25edb7[_0x3cfbc8(0x115)]){const _0x1ca035=_0x47b198[_0x3cfbc8(0x1ea)](_0x47b198[_0x3cfbc8(0x19b)](_0x5f068e,_0x252750[_0x3cfbc8(0x134)][_0x3cfbc8(0x119)][_0x3cfbc8(0x183)]()),_0x47b198[_0x3cfbc8(0x19b)](_0x5f068e,_0x252750[_0x3cfbc8(0x16f)][_0x3cfbc8(0x119)][_0x3cfbc8(0x183)]())),_0x36c40f=new _0x3044bb(_0x1e48a7,null,_0x1ca035,_0x47b198[_0x3cfbc8(0x115)],!0x0,_0x292399++);_0x3466ff[_0x3cfbc8(0xfb)](_0x36c40f);}}if(_0x322be0)for(const [_0x376dd8,_0x2d28df]of Object[_0x3cfbc8(0x1e9)](_0x322be0)){const _0xd37bc1=_0x47b198[_0x3cfbc8(0x17f)][_0x3cfbc8(0xfd)](_0x376dd8);if(!_0xd37bc1)throw new _0x2f849e(_0x3cfbc8(0x114),null);for(const [_0x50903f,_0x1b91e6]of Object[_0x3cfbc8(0x1e9)](_0x2d28df))if(null!==_0x1b91e6){const _0x2acb52=new _0x12dd06(_0xd37bc1,_0x50903f,null,_0x1b91e6,_0x292399++);_0x3466ff[_0x3cfbc8(0xfb)](_0x2acb52);}}return _0x3466ff;}async[_0x34734c(0x14d)](_0x4eef9c,_0x510f84,_0x19b4eb){const _0x460d40=_0x34734c;this[_0x460d40(0x193)]({[_0x4eef9c]:_0x510f84},{[_0x4eef9c]:_0x19b4eb})[_0x460d40(0x143)]((_0x5014e2,_0x10bc89)=>{const _0x4ba395=_0x460d40;_0x5014e2[_0x4ba395(0x125)]=this[_0x4ba395(0xff)][_0x4ba395(0x166)]+_0x10bc89,_0x5014e2[_0x4ba395(0x1d9)]=!0x0,this[_0x4ba395(0x1f8)](_0x5014e2);}),this[_0x460d40(0x117)](),await this[_0x460d40(0x10e)]();}async[_0x34734c(0x1f7)](_0x2c6972,_0xc1d993){const _0x2956cd=_0x34734c;let _0x5f4af1;this[_0x2956cd(0x1f4)]=_0x2c6972[_0x2956cd(0x104)];const _0x4ca48e=_0x2c6972[_0x2956cd(0x136)]&&!_0x2c6972[_0x2956cd(0x1c3)],_0x2e40f1=_0x4ca48e?0x0:_0x2c6972[_0x2956cd(0x140)][_0x2956cd(0x125)];if(_0xc1d993[_0x2956cd(0x143)](_0x4def93=>{const _0xf28588=_0x2956cd;_0x4def93[_0xf28588(0x1d9)]=!0x0,_0x4def93[_0xf28588(0x17a)]=_0x2c6972[_0xf28588(0x13d)],_0x4def93[_0xf28588(0x139)]=null;}),_0x4ca48e)_0x5f4af1=_0xc1d993,this[_0x2956cd(0x147)](_0x5f4af1,_0x4ca48e);else{if(_0x2c6972[_0x2956cd(0x1c3)]){const _0x396f8b=this[_0x2956cd(0x193)](_0x2c6972[_0x2956cd(0x1c3)]);this[_0x2956cd(0xff)][_0x2956cd(0x12a)][_0x2956cd(0x166)]=-_0x396f8b[_0x2956cd(0x176)],_0x396f8b[_0x2956cd(0x143)](_0x33ed63=>{const _0x105ac9=_0x2956cd;_0x33ed63[_0x105ac9(0x125)]-=_0x396f8b[_0x105ac9(0x176)],_0x33ed63[_0x105ac9(0x17a)]=_0x2c6972[_0x105ac9(0x13d)],_0x33ed63[_0x105ac9(0x1d9)]=!0x0,_0x33ed63[_0x105ac9(0x139)]=null;}),this[_0x2956cd(0x147)](_0x396f8b,!0x0),this[_0x2956cd(0x165)][_0x2956cd(0x166)]=-_0x396f8b[_0x2956cd(0x176)]+this[_0x2956cd(0x1f4)],this[_0x2956cd(0x1dc)](_0x396f8b);}this[_0x2956cd(0xff)][_0x2956cd(0x12a)][_0x2956cd(0x166)]=_0x2e40f1,_0x5f4af1=this[_0x2956cd(0x174)](_0x2c6972[_0x2956cd(0x140)],_0x2c6972[_0x2956cd(0x10c)]),await this[_0x2956cd(0x1e4)](_0x5f4af1),this[_0x2956cd(0x147)](_0x5f4af1,_0x4ca48e);}_0x2c6972[_0x2956cd(0x1aa)]&&(this[_0x2956cd(0x19e)][_0x2956cd(0x162)](_0x5f4af1,_0x2c6972[_0x2956cd(0x1aa)]),this[_0x2956cd(0x1bb)]=_0x2c6972[_0x2956cd(0x1aa)]),this[_0x2956cd(0x165)][_0x2956cd(0x166)]=_0x2e40f1+this[_0x2956cd(0x1f4)],this[_0x2956cd(0x1dc)](_0x5f4af1),_0xc1d993[_0x2956cd(0x113)](_0x21e682=>{const _0x4a04cf=_0x2956cd,_0x5a528d=this[_0x4a04cf(0x1ca)](_0x21e682);return _0x5a528d&&!this[_0x4a04cf(0x1df)][_0x4a04cf(0x15a)](_0x5a528d);})[_0x2956cd(0x143)]((_0x1addd5,_0x19fe5c)=>{const _0x1b7a17=_0x2956cd;_0x1addd5[_0x1b7a17(0x125)]=this[_0x1b7a17(0xff)][_0x1b7a17(0x166)]+_0x19fe5c,this[_0x1b7a17(0x1f8)](_0x1addd5);}),this[_0x2956cd(0x16d)]()?(this[_0x2956cd(0x15d)]=0x0,this[_0x2956cd(0x117)](!0x0),await this[_0x2956cd(0x10e)]()):(this[_0x2956cd(0x1be)]=!0x1,this[_0x2956cd(0xf9)]());}[_0x34734c(0x179)](_0x43388e,_0x14ee0d){const _0x1a88c1=_0x34734c,_0x4830e4=_0x14ee0d&&_0x14ee0d[_0x1a88c1(0x124)];if(_0x4830e4&&_0x4830e4[_0x1a88c1(0x1d7)](_0x1a88c1(0x10b)))throw _0x14ee0d;const _0x4fd855=this[_0x1a88c1(0x1b4)][_0x1a88c1(0x11d)][_0x1a88c1(0x16b)](_0x27fc8c);throw this[_0x1a88c1(0x1be)]=!0x0,_0x4fd855[_0x1a88c1(0x144)](),this[_0x1a88c1(0x1b4)][_0x1a88c1(0x1e0)](_0x1a88c1(0x13a)),new _0x2f849e(_0x43388e,this[_0x1a88c1(0x1b4)],_0x4830e4?{'originalError':_0x4830e4}:void 0x0);}[_0x34734c(0x1f8)](_0xdd36ad){const _0x49babb=_0x34734c;this[_0x49babb(0x1a6)][_0x49babb(0x15a)](_0xdd36ad)||(this[_0x49babb(0x1a6)][_0x49babb(0x16c)](_0xdd36ad),this[_0x49babb(0x156)][_0x49babb(0xfb)](_0xdd36ad),this[_0x49babb(0x1cd)]||_0x49babb(0x13c)==_0xdd36ad[_0x49babb(0x157)]&&!_0xdd36ad[_0x49babb(0x1f9)]||this[_0x49babb(0x145)]());}[_0x34734c(0x117)](_0x90b333=!0x1){const _0x161162=_0x34734c;!_0x90b333&&this[_0x161162(0x1be)]||(this[_0x161162(0x1be)]=!0x0,clearTimeout(this[_0x161162(0x12e)]),this[_0x161162(0x12e)]=setTimeout(()=>{const _0x24cf45=_0x161162;this[_0x24cf45(0x129)]()[_0x24cf45(0x142)](_0x3cf9f5=>{const _0x3199d3=_0x24cf45;_0x3cf9f5&&(this[_0x3199d3(0xf9)](),this[_0x3199d3(0x1be)]=!0x1);})[_0x24cf45(0x1e3)](_0x1bafc7=>{const _0x4a048c=_0x24cf45;this[_0x4a048c(0xf9)](),this[_0x4a048c(0x1be)]=!0x1,function(_0x11d3af){const _0x5f467f=_0x4a048c;return _0x11d3af[_0x5f467f(0x124)][_0x5f467f(0x1d7)](_0x5f467f(0x137))||_0x11d3af[_0x5f467f(0x124)][_0x5f467f(0x1d7)](_0x5f467f(0x154))||_0x11d3af[_0x5f467f(0x124)][_0x5f467f(0x1d7)](_0x5f467f(0x171));}(_0x1bafc7)||this[_0x4a048c(0x179)](_0x1bafc7[_0x4a048c(0x124)],_0x1bafc7);});},this[_0x161162(0x15d)]));}[_0x34734c(0x10e)](){return new Promise(_0x505bc4=>{const _0x4d35d8=_0x16b3;this['on'](_0x4d35d8(0x102),()=>{_0x505bc4();});});}async[_0x34734c(0x129)](){const _0x2ee601=_0x34734c,_0x2e4a49=this[_0x2ee601(0x1b4)][_0x2ee601(0x11d)][_0x2ee601(0x16b)](_0x55ae5f);if(this[_0x2ee601(0x150)]()&&(_0x2e4a49[_0x2ee601(0x120)](),this[_0x2ee601(0xf5)]=!0x1),!this[_0x2ee601(0x16d)]())return!0x0;const _0x2b8ade=[...this[_0x2ee601(0x156)]];for(const _0x3b8b14 of _0x2b8ade)_0x3b8b14[_0x2ee601(0x1b0)]=this[_0x2ee601(0xff)][_0x2ee601(0x12a)][_0x2ee601(0x195)](_0x3b8b14);const _0x45a1ba=this[_0x2ee601(0x19e)][_0x2ee601(0x17b)](_0x2b8ade),_0x2891db=q++,_0x5f3477=this[_0x2ee601(0x141)](_0x2b8ade),_0x118a7a=await this[_0x2ee601(0xf7)][_0x2ee601(0x112)](_0x5f3477,_0x5f3477[_0x2ee601(0x125)],_0x45a1ba);try{return await this[_0x2ee601(0x18e)](_0x2b8ade,_0x118a7a,_0x2891db);}catch(_0x48ec52){return this[_0x2ee601(0x179)](_0x2ee601(0x17c),_0x48ec52);}}async[_0x34734c(0x18e)](_0x3ecfc1,_0x563bc8,_0x406add){const _0x11f6d3=_0x34734c;if(_0x11f6d3(0x15c)in _0x563bc8)throw _0x563bc8[_0x11f6d3(0x15c)];let _0x154144=!0x1;if(_0x563bc8[_0x11f6d3(0x136)]){_0x563bc8[_0x11f6d3(0x1aa)]&&(this[_0x11f6d3(0x1bb)]=_0x563bc8[_0x11f6d3(0x1aa)]),this[_0x11f6d3(0x156)]=this[_0x11f6d3(0x156)][_0x11f6d3(0x113)](_0xea9ae0=>!_0x3ecfc1[_0x11f6d3(0x132)](_0xea9ae0));for(const _0x2da782 of _0x3ecfc1)_0x2da782[_0x11f6d3(0x17a)]=_0x11f6d3(0x16a)in _0x563bc8&&_0x563bc8[_0x11f6d3(0x16a)]||void 0x0;G(_0x3ecfc1,_0x563bc8[_0x11f6d3(0x166)]-_0x3ecfc1[_0x11f6d3(0x176)]),this[_0x11f6d3(0x1dc)](_0x3ecfc1);const _0x12e9b2=_0x3ecfc1[_0x11f6d3(0x113)](_0x4104ad=>{const _0x4e2725=_0x11f6d3;if(!_0x4104ad[_0x4e2725(0x1d9)])return!0x1;const _0x1a0c9e=this[_0x4e2725(0x1ca)](_0x4104ad);return _0x1a0c9e&&!this[_0x4e2725(0x1df)][_0x4e2725(0x15a)](_0x1a0c9e);});G(_0x12e9b2,this[_0x11f6d3(0xff)][_0x11f6d3(0x166)]),this[_0x11f6d3(0x147)](_0x12e9b2),_0x154144=!0x0,this[_0x11f6d3(0x15d)]=this[_0x11f6d3(0x160)];}else{const _0x4c3192=this[_0x11f6d3(0x174)](_0x563bc8[_0x11f6d3(0x140)],_0x563bc8[_0x11f6d3(0x10c)])[_0x11f6d3(0x113)](_0x3fa6f6=>_0x3fa6f6[_0x11f6d3(0x125)]>=this[_0x11f6d3(0x128)]);_0x4c3192[_0x11f6d3(0x143)](_0x3d062b=>this[_0x11f6d3(0x14e)](_0x3d062b)),this[_0x11f6d3(0x156)]=this[_0x11f6d3(0x156)][_0x11f6d3(0x113)](_0x231609=>!_0x231609[_0x11f6d3(0x1d9)]||!this[_0x11f6d3(0x1df)][_0x11f6d3(0x15a)](this[_0x11f6d3(0x1ca)](_0x231609))),this[_0x11f6d3(0x156)][_0x11f6d3(0x176)]&&G(this[_0x11f6d3(0x156)],this[_0x11f6d3(0x156)][0x0][_0x11f6d3(0x125)]),await this[_0x11f6d3(0x1e4)](_0x4c3192),_0x154144=this[_0x11f6d3(0x1de)](_0x4c3192,_0x563bc8[_0x11f6d3(0x166)],_0x563bc8[_0x11f6d3(0x1aa)]),this[_0x11f6d3(0x15d)]=Math[_0x11f6d3(0x190)](this[_0x11f6d3(0x15d)]/0x2);}return _0x154144?!this[_0x11f6d3(0x16d)]()||(this[_0x11f6d3(0x117)](!0x0),!0x1):this[_0x11f6d3(0x179)](_0x11f6d3(0x1c1));}[_0x34734c(0x1de)](_0x420948,_0x27f3e1,_0xf161a2){const _0x146486=_0x34734c;try{const _0x30cc88={'document':this[_0x146486(0xff)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4c7d7f,operationsB:_0x255203,originalOperations:_0x28c69f}=_0x38bb68(_0x420948,this[_0x146486(0x156)],_0x30cc88);G(_0x4c7d7f,this[_0x146486(0xff)][_0x146486(0x166)]),G(_0x255203,_0x27f3e1);for(const _0x45a0a1 of _0x4c7d7f){const _0x30054e=_0x28c69f[_0x146486(0x16b)](_0x45a0a1);_0x45a0a1[_0x146486(0x139)]=_0x30054e?_0x30054e[_0x146486(0x139)]:null;}_0xf161a2&&(this[_0x146486(0x19e)][_0x146486(0x162)](_0x420948,_0xf161a2),this[_0x146486(0x1bb)]=_0xf161a2),this[_0x146486(0x156)]=[..._0x255203],this[_0x146486(0x147)](_0x4c7d7f),this[_0x146486(0x1dc)](_0x420948);}catch(_0x2ef970){return console[_0x146486(0x15c)](_0x2ef970),!0x1;}return!0x0;}[_0x34734c(0x147)](_0x552f24,_0x4f29cc=!0x1){const _0x40861c=_0x34734c;this[_0x40861c(0x1b4)][_0x40861c(0x1d2)][_0x40861c(0x1c6)]({'isUndoable':!0x1,'isLocal':!0x1},_0x13a900=>{const _0x4091b4=_0x40861c;for(const _0x217d95 of _0x552f24)this[_0x4091b4(0x1a6)][_0x4091b4(0x16c)](_0x217d95),this[_0x4091b4(0x14e)](_0x217d95),_0x13a900[_0x4091b4(0x1e8)][_0x4091b4(0x1d8)](_0x217d95),this[_0x4091b4(0x1b4)][_0x4091b4(0x1d2)][_0x4091b4(0x11c)](_0x217d95);});}[_0x34734c(0x14e)](_0x4771c7){const _0x76867=_0x34734c,_0x25b1d1=this[_0x76867(0x1ca)](_0x4771c7);_0x25b1d1&&this[_0x76867(0x1df)][_0x76867(0x16c)](_0x25b1d1);}[_0x34734c(0x1ca)](_0x5cc17f){const _0x1aea5c=_0x34734c;let _0x31ef48,_0x402941;switch(_0x5cc17f[_0x1aea5c(0x157)]){case _0x1aea5c(0xf4):_0x31ef48=_0x5cc17f[_0x1aea5c(0x163)][_0x1aea5c(0x168)];break;case _0x1aea5c(0x13c):if(_0x402941=_0x5cc17f[_0x1aea5c(0x196)],!_0x402941)return null;_0x31ef48=_0x402941[_0x1aea5c(0x168)];break;case _0x1aea5c(0x107):_0x31ef48=_0x5cc17f[_0x1aea5c(0x168)];break;case _0x1aea5c(0x11f):_0x31ef48=_0x5cc17f[_0x1aea5c(0x1d1)];break;case _0x1aea5c(0x1ce):_0x31ef48=_0x5cc17f[_0x1aea5c(0x133)][_0x1aea5c(0x168)];break;default:return null;}return _0x31ef48[_0x1aea5c(0x1ac)];}[_0x34734c(0x1dc)](_0x34d7af){const _0x408935=_0x34734c;_0x34d7af[_0x408935(0x143)](_0x42f919=>{const _0x47a20a=_0x408935,_0x590255=_0x42f919[_0x47a20a(0x14b)]();_0x590255[_0x47a20a(0x139)]=_0x42f919[_0x47a20a(0x139)],_0x590255[_0x47a20a(0x1d9)]=!!_0x42f919[_0x47a20a(0x1d9)],_0x590255[_0x47a20a(0x17a)]=_0x42f919[_0x47a20a(0x17a)],_0x590255[_0x47a20a(0x125)]+=this[_0x47a20a(0x1f4)],_0x42f919[_0x47a20a(0x199)]&&this[_0x47a20a(0x10f)][_0x47a20a(0x16c)](_0x590255),this[_0x47a20a(0x165)][_0x47a20a(0x1d8)](_0x590255);});}[_0x34734c(0x152)](_0x40c0ea){const _0x2828b6=_0x34734c,_0x4497e6=this[_0x2828b6(0x1b4)][_0x2828b6(0x11d)][_0x2828b6(0x16b)](_0x2828b6(0x188)),_0x3ff6b4=this[_0x2828b6(0x1b4)][_0x2828b6(0x178)];_0x40c0ea||(_0x40c0ea=_0x289ccc(_0x3ff6b4,_0x2828b6(0x14a))),_0x4497e6[_0x2828b6(0x1d4)](_0x40c0ea,{'title':_0x289ccc(_0x3ff6b4,_0x2828b6(0x1f3)),'namespace':_0x2828b6(0x158)}),this[_0x2828b6(0x1dd)]=!0x0,clearTimeout(this[_0x2828b6(0x12e)]),this[_0x2828b6(0x156)]=[],this[_0x2828b6(0x1b4)][_0x2828b6(0x11d)][_0x2828b6(0x16b)](_0x27fc8c)[_0x2828b6(0x144)]();}[_0x34734c(0x145)](){const _0x21a726=_0x34734c;this[_0x21a726(0x1cd)]||(this[_0x21a726(0x1cd)]=this[_0x21a726(0x1b4)][_0x21a726(0x11d)][_0x21a726(0x16b)](_0x544a7f)[_0x21a726(0x16c)](_0x289ccc(this[_0x21a726(0x1b4)][_0x21a726(0x178)],_0x21a726(0x185))));}[_0x34734c(0xf9)](){const _0x57352b=_0x34734c;this[_0x57352b(0x1cd)]&&(this[_0x57352b(0x1b4)][_0x57352b(0x11d)][_0x57352b(0x16b)](_0x544a7f)[_0x57352b(0x197)](this[_0x57352b(0x1cd)]),this[_0x57352b(0x1cd)]=null);}[_0x34734c(0x141)](_0x1ccbee){const _0x3e6a5b=_0x34734c,_0x4922de=_0x1ccbee[_0x3e6a5b(0x155)](_0x2cf3c8=>_0x2cf3c8[_0x3e6a5b(0x11e)]());return this[_0x3e6a5b(0x1e2)][_0x3e6a5b(0x130)](_0x4922de);}[_0x34734c(0x174)](_0x5d1935,_0x47a748){const _0x1874a7=_0x34734c;return this[_0x1874a7(0x1e2)][_0x1874a7(0x1da)](_0x5d1935)[_0x1874a7(0x155)]((_0x2fd3e1,_0x367b23)=>{const _0x12b113=_0x1874a7,_0x6769d0=_0x12b113(0x1f1)==_0x47a748[_0x367b23][_0x12b113(0x157)];if(_0x12b113(0xf3)==_0x2fd3e1[_0x12b113(0x1ed)]){const _0x2cdd67=_0x2fd3e1[_0x12b113(0x163)][_0x12b113(0x168)];!this[_0x12b113(0xff)][_0x12b113(0xfd)](_0x2cdd67)&&(this[_0x12b113(0xff)][_0x12b113(0x1d5)](_0x12b113(0x191),_0x2cdd67)[_0x12b113(0x15b)]=!0x1);}const _0xa82f0b=_0x11dfbb[_0x12b113(0x1b2)](_0x2fd3e1,this[_0x12b113(0xff)]);return _0xa82f0b[_0x12b113(0x1b0)]=_0x2fd3e1[_0x12b113(0x1b0)],_0xa82f0b[_0x12b113(0x1d9)]=_0x6769d0,_0xa82f0b[_0x12b113(0x139)]=_0x6769d0?null:_0x47a748[_0x367b23][_0x12b113(0x1c7)],_0xa82f0b[_0x12b113(0x199)]=_0x12b113(0x151)===_0x47a748[_0x367b23][_0x12b113(0x157)],_0xa82f0b[_0x12b113(0x17a)]=_0x47a748[_0x367b23][_0x12b113(0x17a)],_0xa82f0b;});}[_0x34734c(0x1f5)](){const _0x2a094e=_0x34734c;this[_0x2a094e(0xf5)]=!0x0,this[_0x2a094e(0x150)]()?this[_0x2a094e(0x117)]():this[_0x2a094e(0xf5)]=!0x1;}[_0x34734c(0x150)](){const _0x329f0b=_0x34734c,_0x3344d5=this[_0x329f0b(0x1b4)][_0x329f0b(0x11d)][_0x329f0b(0x16b)](_0x271027)[_0x329f0b(0x1c4)][_0x329f0b(0x16b)](this[_0x329f0b(0x153)]);return!this[_0x329f0b(0x1b4)][_0x329f0b(0xfe)]&&!!_0x3344d5&&_0x3344d5[_0x329f0b(0x176)]>0x1&&this[_0x329f0b(0xf5)];}[_0x34734c(0x16d)](){const _0x39eb2e=_0x34734c;return this[_0x39eb2e(0x156)][_0x39eb2e(0x176)]>0x0||this[_0x39eb2e(0x150)]();}}class ReconnectionError extends Error{}function G(_0x57cd4b,_0x22429c){const _0x4e4eb3=_0x34734c;for(const _0x26f5bd of _0x57cd4b)_0x26f5bd[_0x4e4eb3(0x125)]=_0x22429c++;}function _0x4b89(){const _0x3f1234=['removeFromReconnectionStack','define','Notification','unregister','suppressErrorInCollaboration','keys','cloudServices.bundleVersion','_setUpDataInit','_handleServerResponse','_connectService','round','$root','stop','_getOperationsFromInitData','realtimecollaborationclient-init-session-connection-error','isUndoneOperation','newRange','remove','164705gAUasH','_isDisconnection','collaboration','createPositionFromPath','setPermissions','_isLoaded','_operationIdentifier','10YkfCCC','_bufferRootLoad','connection','selection','ready','Permissions','realtimecollaborationclient-init-service-incorrect-server-operation','_knownOperations','addUser','409','RealTimeCollaborationClient','lastOperationId','connect','rootName','operationsReceived','return','_disconnectService','wasUndone','85782nrudCS','fromJSON','currentDocumentSession','editor','isEnabled','change:range','parse','realtimecollaborationclient-init-non-existent-root','CollaborativeEditingService','getDocumentDetails','_lastSyncedOperationId','getConnectedSessions','disableReadOnlyMode','_isPendingUpdate','finally','lastDocumentSession','realtimecollaborationclient-handleserverresponse','createPositionAt','initData','channelSessions','reconnect','enqueueChange','userId','view','attributes','_getAffectedRoot','404','isDocumentOperation','_pendingAction','move','_isEditingAllowed','getOperations','affectedSelectable','model','getUser','showWarning','createRoot','mySessionId','startsWith','addOperation','_isInit','decompress','sessionAdd:','_updateServerHistory','_hasSynchronizationProblem','_handleExternalOperations','_knownRootNames','enableReadOnlyMode','stopListening','_compressor','catch','_fetchMissingUsers','connected','fire','from','batch','entries','createRange','2663091VdADWi','permissions','__className','listenTo','rtc-offline','directChange','init','_isConnected','Synchronization\x20issue','_offset','_refreshUserSelectionMarkers','string','_handleInitialConnectionData','_saveOperationInBuffer','affectsData','_initSessionsHandling','InsertOperation','insert','_hasSelectionChanged','realtimecollaborationclient-init-document-already-initialized','_service','reconnection:\x20flushed\x20session','_clearPendingAction','requires','push','differ','getRoot','isReadOnly','_document','collaboration-missing-channelid','rtc-destroyed','change:_isPendingUpdate','4222229zdICpW','offset','_handleSendingSelectionMarkers','destroy','addRootAttribute','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_handleReconnectionResponse','reset','realtimecollaborationclient','metadata','state','_waitUntilSynced','_disconnectionOperations','lastSyncVersion','set','sendOperations','filter','multi-root-editor-root-attributes-no-root','markers','realtimecollaborationclient-init-connection-failed','_sendBufferedOperationsDelayed','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','path','change:_isEditingAllowed','code','applyOperation','plugins','toJSON','addRoot','createUserMarkerOperations','addToReconnectionStack','disconnected','register','message','baseVersion','size','change:hasDomSelection','_lastServerVersion','_sendBufferedOperations','history','_initThrowingOnDataSet','collaboration.channelId','config','_sendBufferedOperationsDelayId','pluginName','compress','4WyDknQ','includes','targetPosition','start','editing','wereChangesApplied','cloud-services-internal-error:\x20Not\x20connected.','sessionId','_authorId','realtimecollaborationclient-error','_handleReceivedOperations','marker','sessionCreatedAt','realtimecollaborationclient-init-service-internal-error','getMany','data','_compressOperations','then','forEach','disconnect','_setPendingAction','cloudDocumentVersion','_applyOperationsSet','36knAksr','off','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.','clone','CommentsOnly','_loadRoot','_addKnownRoot','6yfcDEN','_shouldSendSelectionUpdate','cs:removeUser','_handleReconnectionError','_channelId','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','map','_bufferedOperations','type','real-time-collaboration','isPremiumPlugin','has','_isAttached','error','_currentBufferDelay','bind','roots','_baseBufferDelay','isOfficialPlugin','setIdForTheLastOperation','position','apply','serverHistory','version','_ignoredOperations','root','_operationToId','lastOperationAcceptedAt','get','add','_shouldSendUpdate','loadRoot','end','_connectAfterSessionHasBeenFlushed','cloud-services-internal-error:\x20Request\x20timeout.','document:write','328173ClniMq','_decompressOperations','high','length','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.','locale','_crash','createdAt','getIdOfTheLastOperation','realtimecollaborationclient-sendbufferedoperations','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','getOperationAuthor','document','rootsAttributes','97664qThnma','2817672TVVecD','slice','7HGTthc','PENDING_ACTION_SENDING_DATA'];_0x4b89=function(){return _0x3f1234;};return _0x4b89();}class OperationIdentifier{[_0x34734c(0x167)];[_0x34734c(0x169)];constructor(_0x37476f){const _0x4a2612=_0x34734c;this[_0x4a2612(0x167)]=_0x37476f,this[_0x4a2612(0x169)]=new WeakMap();}[_0x34734c(0x17b)](_0x448505){const _0x1b16dc=_0x34734c;let _0x16cb64=_0x448505[_0x1b16dc(0x176)];for(;_0x16cb64--;){const _0x2498f1=_0x448505[_0x16cb64];if(!this[_0x1b16dc(0x167)][_0x1b16dc(0x15a)](_0x2498f1)){if(!this[_0x1b16dc(0x169)][_0x1b16dc(0x15a)](_0x2498f1)){const _0x39d229=_0x21adc6()[_0x1b16dc(0x183)](0x1,0x12);this[_0x1b16dc(0x169)][_0x1b16dc(0x111)](_0x2498f1,_0x39d229);}return this[_0x1b16dc(0x169)][_0x1b16dc(0x16b)](_0x2498f1);}}}[_0x34734c(0x162)](_0x4580b7,_0x938299){const _0x18cfa8=_0x34734c;if(!_0x938299)return;let _0x68ae20=_0x4580b7[_0x18cfa8(0x176)];for(;_0x68ae20--;){const _0x41a22d=_0x4580b7[_0x68ae20];this[_0x18cfa8(0x167)][_0x18cfa8(0x15a)](_0x41a22d)||this[_0x18cfa8(0x169)][_0x18cfa8(0x111)](_0x41a22d,_0x938299);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x32f8(){const _0x55f768=['createUserMarkerOperations','createUIElement','isObject','schema','listenTo','reconvertMarker','fromRange','clear','highest','for','requires','rootName','plugins','getUserBySessionId','contenteditable','delete','spellcheck','1846134jilrSP','user:range:','markerRange','11826387iQKUpm','isOfficialPlugin','checkChild','false','document','userPositionMarker','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','getFirstRange','has','isDocumentOperation','UserMarkers','addMarker','detach','update:user:range','98KqPNHG','startsWith','destroy','getSelectionClass','init','tableCell','3843120hzcNne','removeMarker','getPositions','1442578prEsmm','3ZAfPrF','render','getAttribute','getMarkerClass','get','948683ttuAxV','_createdBatches','add','user:position','color','set','enqueueChange','innerHTML','mapper','conversion','createRange','addEventListener','element','textContent','batch','root','isPremiumPlugin','toRange','editor','user:range','oldRange','user:','getCustomProperty','mouseleave','markerNameToElements','hasDomSelection','markers','newRange','end','Escape','split','updateMarker','parent','afterInit','outerHTML','classList','size','ck-user__marker\x20','undo','pluginName','marker','toDomElement','195215ojFCxH','_domEmitter','setCustomProperty','user:position:','ck-user__marker_hovered','mySessionId','$graveyard','type','isCollapsed','255880ZcJDTC','change:range','isSimilar','createElement','isLimit','removeClass','span','stopListening','editing','markerToHighlight','ck-user__marker-tooltip','markerName','commands','nodeAfter','remove','data-session-id','setAttribute','deletionPosition','editingDowncast','84cdGLAf','orderNumber','view','getStart','change','$text','hasContent','getRange','applyOperation','getNearestSelectionRange','name','getContainedElement','isInline','selection','ck-user__selection','start','keydown','model','markerToElement','mouseenter'];_0x32f8=function(){return _0x55f768;};return _0x32f8();}const _0x3b7cba=_0x403b;(function(_0x597f29,_0x2e7e32){const _0x3bf528=_0x403b,_0x26da09=_0x597f29();while(!![]){try{const _0x46909f=-parseInt(_0x3bf528(0xb3))/0x1+parseInt(_0x3bf528(0xad))/0x2*(-parseInt(_0x3bf528(0xae))/0x3)+-parseInt(_0x3bf528(0xf9))/0x4*(-parseInt(_0x3bf528(0xdd))/0x5)+parseInt(_0x3bf528(0x93))/0x6+parseInt(_0x3bf528(0xa4))/0x7*(parseInt(_0x3bf528(0xe6))/0x8)+parseInt(_0x3bf528(0x96))/0x9+-parseInt(_0x3bf528(0xaa))/0xa;if(_0x46909f===_0x2e7e32)break;else _0x26da09['push'](_0x26da09['shift']());}catch(_0x159fd4){_0x26da09['push'](_0x26da09['shift']());}}}(_0x32f8,0xcbe45));function _0x403b(_0x192c0e,_0xe0293c){const _0x32f89c=_0x32f8();return _0x403b=function(_0x403b5d,_0x1fe21f){_0x403b5d=_0x403b5d-0x85;let _0x2f9d91=_0x32f89c[_0x403b5d];return _0x2f9d91;},_0x403b(_0x192c0e,_0xe0293c);}import{Plugin as _0x2e7556}from'ckeditor5/src/core.js';import{global as _0x8f43c3,DomEmitterMixin as _0x5e0e04}from'ckeditor5/src/utils.js';import{Sessions as _0x1632e0}from'./sessions.js';import{ModelLiveRange as _0x7b6cfe}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x2e7556{[_0x3b7cba(0xde)]=new(_0x5e0e04())();static get[_0x3b7cba(0x8c)](){return[_0x1632e0];}static get[_0x3b7cba(0xda)](){const _0x9ff3c1=_0x3b7cba;return _0x9ff3c1(0xa0);}static get[_0x3b7cba(0x97)](){return!0x0;}static get[_0x3b7cba(0xc3)](){return!0x0;}[_0x3b7cba(0xa8)](){const _0x3eb0cb=_0x3b7cba,_0x609e5a=this[_0x3eb0cb(0xc5)],_0xdc8931=_0x609e5a[_0x3eb0cb(0x8e)][_0x3eb0cb(0xb2)](_0x1632e0);_0x609e5a[_0x3eb0cb(0xbc)][_0x3eb0cb(0x8b)](_0x3eb0cb(0xf8))[_0x3eb0cb(0x10b)]({'model':_0x3eb0cb(0xb6),'view':(_0x36899b,{writer:_0x3e5584})=>function(_0x199bd7,_0xd61ad1,_0x79e99d,_0x6e4818){const _0x2a8013=_0x3eb0cb,_0x1c2d96=_0x199bd7[_0x2a8013(0xf1)][_0x2a8013(0xd1)](':')[0x2],_0x309cd0=_0x79e99d[_0x2a8013(0x8f)](_0x1c2d96);if(!_0x309cd0||_0x1c2d96===_0x79e99d[_0x2a8013(0xe2)])return;if(!_0x6e4818[_0x2a8013(0x10a)][_0x2a8013(0x85)][_0x2a8013(0x98)](_0x199bd7[_0x2a8013(0x95)][_0x2a8013(0x108)],_0x2a8013(0xfe)))return;const _0xed30c1={'class':_0x2a8013(0xd8)+_0x309cd0[_0x2a8013(0xb7)][_0x2a8013(0xb1)](),'data-name':_0x309cd0[_0x2a8013(0x103)],'data-session-id':_0x1c2d96},_0x38a5a4=_0x6e4818[_0x2a8013(0x10a)][_0x2a8013(0xcd)][_0x2a8013(0xb2)](_0x199bd7[_0x2a8013(0xf1)]),_0x47a7b2=_0x38a5a4[_0x2a8013(0xfc)](),_0x256253=_0x47a7b2[_0x2a8013(0xf3)],_0x531b13=_0x6e4818[_0x2a8013(0x10a)][_0x2a8013(0x85)];if(_0x256253&&_0x531b13[_0x2a8013(0x10f)](_0x256253)&&_0x531b13[_0x2a8013(0x105)](_0x256253)&&!_0x6e4818[_0x2a8013(0x10a)][_0x2a8013(0xcd)][_0x2a8013(0xb2)](_0x2a8013(0x94)+_0x1c2d96)[_0x2a8013(0x100)]()[_0x2a8013(0xe5)])return;const _0x361721=_0x47a7b2[_0x2a8013(0xd3)];return _0x6e4818[_0x2a8013(0x10a)][_0x2a8013(0x85)][_0x2a8013(0xea)](_0x361721)&&!_0x6e4818[_0x2a8013(0x10a)][_0x2a8013(0xff)](_0x361721)&&(_0xed30c1[_0x2a8013(0x90)]=!0x1),function(_0xd22a4,_0x51905f,_0x17a597){const _0x3c5e1f=_0x2a8013,_0x39dcdd=_0xd22a4[_0x3c5e1f(0x10e)](_0x3c5e1f(0xec),_0x51905f);return _0xd22a4[_0x3c5e1f(0xdf)](_0x3c5e1f(0x9b),!0x0,_0x39dcdd),_0x39dcdd[_0x3c5e1f(0xaf)]=function(_0x3a097e){const _0x340613=_0x3c5e1f,_0x17611e=this[_0x340613(0xdc)](_0x3a097e),_0x57eee1=document[_0x340613(0xe9)](_0x340613(0xec));return _0x57eee1[_0x340613(0xd6)][_0x340613(0xb5)](_0x340613(0xf0)),_0x57eee1[_0x340613(0xf6)](_0x340613(0x90),_0x340613(0x99)),_0x57eee1[_0x340613(0xf6)](_0x340613(0x92),_0x340613(0x99)),_0x57eee1[_0x340613(0xc0)]=_0x17a597[_0x340613(0x103)],_0x17611e[_0x340613(0xba)]=_0x340613(0x9c)+_0x57eee1[_0x340613(0xd5)]+'⁠',_0x17611e[_0x340613(0xbe)](_0x340613(0x10c),()=>{const _0x1785af=_0x340613;_0x17611e[_0x1785af(0xd6)][_0x1785af(0xb5)](_0x1785af(0xe1));}),_0x17611e[_0x340613(0xbe)](_0x340613(0xca),()=>{const _0x2d0499=_0x340613;_0x17611e[_0x2d0499(0xd6)][_0x2d0499(0xf4)](_0x2d0499(0xe1));}),_0x17611e;},_0x39dcdd[_0x3c5e1f(0xe8)]=function(_0x49d56d){const _0x2dd962=_0x3c5e1f;return!(!this[_0x2dd962(0xc9)](_0x2dd962(0x9b))||!_0x49d56d[_0x2dd962(0xc9)](_0x2dd962(0x9b))||this[_0x2dd962(0xb0)](_0x2dd962(0xf5))!=_0x49d56d[_0x2dd962(0xb0)](_0x2dd962(0xf5)));},_0x39dcdd;}(_0xd61ad1,_0xed30c1,_0x309cd0);}(_0x36899b,_0x3e5584,_0xdc8931,_0x609e5a)}),_0x609e5a[_0x3eb0cb(0xbc)][_0x3eb0cb(0x8b)](_0x3eb0cb(0xf8))[_0x3eb0cb(0xef)]({'model':_0x3eb0cb(0xc6),'view':_0x5a0899=>function(_0x2700f9,_0x14741b){const _0x55d32a=_0x3eb0cb,_0xda3eb6=_0x2700f9[_0x55d32a(0xf1)][_0x55d32a(0xd1)](':')[0x2];if(_0xda3eb6===_0x14741b[_0x55d32a(0xe2)])return null;const _0x510944=_0x14741b[_0x55d32a(0x8f)](_0xda3eb6);if(!_0x510944)return{'id':_0xda3eb6,'classes':[]};return{'id':_0xda3eb6,'classes':[_0x55d32a(0x107),_0x510944[_0x55d32a(0xb7)][_0x55d32a(0xa7)]()],'attributes':{'data-session-id':_0xda3eb6},'priority':0x7d0+_0x510944[_0x55d32a(0xfa)]};}(_0x5a0899,_0xdc8931)}),function(_0x553c91){const _0x337d4c=_0x3eb0cb,_0x46778c=_0x553c91[_0x337d4c(0x10a)],_0x2d69b5=new Map(),_0x123572=_0x553c91[_0x337d4c(0x8e)][_0x337d4c(0xb2)](_0x1632e0);_0x46778c[_0x337d4c(0xcd)]['on'](_0x337d4c(0xa3),(_0x249ef4,_0x3f3c2f,_0x3f3daf,_0x392a1a)=>{const _0x189c89=_0x337d4c;if(!_0x392a1a&&_0x2d69b5[_0x189c89(0xb2)](_0x3f3c2f[_0x189c89(0x103)]))return _0x2d69b5[_0x189c89(0xb2)](_0x3f3c2f[_0x189c89(0x103)])[_0x189c89(0xa2)](),void _0x2d69b5[_0x189c89(0x91)](_0x3f3c2f[_0x189c89(0x103)]);const _0x2b81fb=_0x3f3c2f[_0x189c89(0x103)][_0x189c89(0xd1)](':')[0x2];if(_0x2b81fb===_0x123572[_0x189c89(0xe2)])return;const _0x5eede4=_0x189c89(0xe0)+_0x2b81fb;_0x46778c[_0x189c89(0xcd)][_0x189c89(0x9e)](_0x5eede4)&&_0x553c91[_0x189c89(0xee)][_0x189c89(0x87)](_0x5eede4),_0x3f3c2f['on'](_0x189c89(0xe7),(_0x412857,_0x317c1a,_0x1e222e)=>{const _0x52f248=_0x189c89;if(_0x52f248(0xe3)!=_0x317c1a[_0x52f248(0xc2)][_0x52f248(0x8d)]&&_0x52f248(0xe3)==_0x3f3c2f[_0x52f248(0x100)]()[_0x52f248(0xc2)][_0x52f248(0x8d)]&&!_0x2d69b5[_0x52f248(0x9e)](_0x3f3c2f[_0x52f248(0x103)])){const _0x431a9a=_0x46778c[_0x52f248(0x85)][_0x52f248(0x102)](_0x1e222e[_0x52f248(0xf7)]);if(_0x431a9a){const _0x1d610c=_0x7b6cfe[_0x52f248(0x88)](_0x431a9a);_0x2d69b5[_0x52f248(0xb8)](_0x3f3c2f[_0x52f248(0x103)],_0x1d610c),_0x1d610c['on'](_0x52f248(0xe7),(_0x9e183b,_0x33e4c1,_0x1bc022)=>{const _0x19c248=_0x52f248;if(_0x19c248(0xe3)==_0x1d610c[_0x19c248(0xc2)][_0x19c248(0x8d)]){const _0x48c3f8=_0x46778c[_0x19c248(0x85)][_0x19c248(0x102)](_0x1bc022[_0x19c248(0xf7)]);_0x48c3f8?(_0x1d610c[_0x19c248(0x108)]=_0x48c3f8[_0x19c248(0x108)],_0x1d610c[_0x19c248(0xcf)]=_0x48c3f8[_0x19c248(0xcf)]):(_0x2d69b5[_0x19c248(0x91)](_0x3f3c2f[_0x19c248(0x103)]),_0x1d610c[_0x19c248(0xa2)]());}});}}});}),_0x46778c[_0x337d4c(0x9a)]['on'](_0x337d4c(0xfd),()=>{const _0x5513e4=_0x337d4c;_0x2d69b5[_0x5513e4(0xd7)]>0x0&&_0x46778c[_0x5513e4(0xb9)]({'isUndoable':!0x1},_0x44728d=>{const _0xd5970e=_0x5513e4;for(const [_0x5e8e0c,_0x46797f]of _0x2d69b5)_0xd5970e(0xe3)==_0x46778c[_0xd5970e(0xcd)][_0xd5970e(0xb2)](_0x5e8e0c)[_0xd5970e(0x100)]()[_0xd5970e(0xc2)][_0xd5970e(0x8d)]&&(re(_0x5e8e0c[_0xd5970e(0xd1)](':')[0x2],_0x46797f[_0xd5970e(0xc4)](),_0x46778c,_0x44728d),_0x46797f[_0xd5970e(0xa2)]());_0x2d69b5[_0xd5970e(0x89)]();});});}(_0x609e5a),this[_0x3eb0cb(0xde)][_0x3eb0cb(0x86)](_0x8f43c3[_0x3eb0cb(0x9a)],_0x3eb0cb(0x109),(_0x30b47f,{key:_0x767cd1})=>{const _0x4fc1c1=_0x3eb0cb;_0x4fc1c1(0xd0)===_0x767cd1&&function(_0x429ead){const _0x1934c4=_0x4fc1c1;_0x429ead[_0x1934c4(0xee)][_0x1934c4(0xfb)][_0x1934c4(0xfd)](_0x2d1efa=>{const _0x41cb0a=_0x1934c4;for(const _0x986f40 of _0x429ead[_0x41cb0a(0x10a)][_0x41cb0a(0xcd)]){if(!_0x986f40[_0x41cb0a(0x103)][_0x41cb0a(0xa5)](_0x41cb0a(0xb6)))continue;const _0x3e2fcb=_0x429ead[_0x41cb0a(0xee)][_0x41cb0a(0xbb)][_0x41cb0a(0xcb)](_0x986f40[_0x41cb0a(0x103)]);if(_0x3e2fcb){for(const _0x2ecd67 of _0x3e2fcb)_0x2d1efa[_0x41cb0a(0xeb)](_0x41cb0a(0xe1),_0x2ecd67);}}});}(_0x609e5a);},{'useCapture':!0x0});}[_0x3b7cba(0xd4)](){const _0x26ded7=_0x3b7cba,_0x40eb2b=this[_0x26ded7(0xc5)],_0x17738b=_0x40eb2b[_0x26ded7(0xf2)][_0x26ded7(0xb2)](_0x26ded7(0xd9));_0x17738b&&_0x40eb2b[_0x26ded7(0x10a)]['on'](_0x26ded7(0x101),(_0x2fed96,_0x4022b5)=>{const _0xbcddd2=_0x26ded7,_0x589f7c=_0x4022b5[0x0];if(!_0x589f7c[_0xbcddd2(0x9f)])return;if(_0xbcddd2(0xdb)!=_0x589f7c[_0xbcddd2(0xe4)]||!_0x589f7c[_0xbcddd2(0x103)][_0xbcddd2(0xa5)](_0xbcddd2(0xc8)))return;const _0x4cfc9d=_0x589f7c[_0xbcddd2(0xc1)];_0x17738b[_0xbcddd2(0xb4)][_0xbcddd2(0x9e)](_0x4cfc9d)&&(_0x589f7c[_0xbcddd2(0xce)]=_0x589f7c[_0xbcddd2(0xc7)]?_0x40eb2b[_0xbcddd2(0x10a)][_0xbcddd2(0xbd)](_0x589f7c[_0xbcddd2(0xc7)][_0xbcddd2(0x108)],_0x589f7c[_0xbcddd2(0xc7)][_0xbcddd2(0xcf)]):null);},{'priority':_0x26ded7(0x8a)});}[_0x3b7cba(0xa6)](){const _0x5c49be=_0x3b7cba;return this[_0x5c49be(0xde)][_0x5c49be(0xed)](),super[_0x5c49be(0xa6)]();}[_0x3b7cba(0x10d)](){const _0x15fa50=_0x3b7cba,_0x29d19c=this[_0x15fa50(0xc5)],_0xfc45c4=_0x29d19c[_0x15fa50(0x10a)][_0x15fa50(0x9a)],_0x40f2bd=_0x29d19c[_0x15fa50(0x8e)][_0x15fa50(0xb2)](_0x1632e0);_0x29d19c[_0x15fa50(0x10a)][_0x15fa50(0xb9)]({'isUndoable':!0x1},_0x3a0102=>{const _0x5d7f40=_0x15fa50,_0x1b17f8=_0x5d7f40(0x94)+_0x40f2bd[_0x5d7f40(0xe2)],_0x5a9d59=_0x5d7f40(0xe0)+_0x40f2bd[_0x5d7f40(0xe2)],_0x251f34=_0x29d19c[_0x5d7f40(0x10a)][_0x5d7f40(0xcd)][_0x5d7f40(0x9e)](_0x1b17f8);_0x29d19c[_0x5d7f40(0xee)][_0x5d7f40(0xfb)][_0x5d7f40(0xcc)]?re(_0x40f2bd[_0x5d7f40(0xe2)],_0xfc45c4[_0x5d7f40(0x106)][_0x5d7f40(0x9d)](),_0x29d19c[_0x5d7f40(0x10a)],_0x3a0102):_0x251f34&&(_0x3a0102[_0x5d7f40(0xab)](_0x1b17f8),_0x3a0102[_0x5d7f40(0xab)](_0x5a9d59));});}}function re(_0x30176f,_0x3111bf,_0x21b694,_0x2ac700){const _0x252d1e=_0x3b7cba,_0x2a4fe1=_0x252d1e(0x94)+_0x30176f,_0x22d14e=_0x252d1e(0xe0)+_0x30176f,_0x4cbd7d=_0x3111bf[_0x252d1e(0x104)]();let _0x3f3ac1=_0x3111bf[_0x252d1e(0x108)];if(_0x4cbd7d&&_0x4cbd7d['is'](_0x252d1e(0xbf),_0x252d1e(0xa9))){const _0x188ad4=function(_0x545c25,_0x2453b5){const _0x14f918=_0x252d1e;for(const _0x3ce587 of _0x545c25[_0x14f918(0xac)]())if(_0x2453b5[_0x14f918(0x85)][_0x14f918(0x98)](_0x3ce587,_0x14f918(0xfe)))return _0x3ce587;}(_0x3111bf,_0x21b694);_0x188ad4&&(_0x3f3ac1=_0x188ad4,_0x3111bf=_0x2ac700[_0x252d1e(0xbd)](_0x3f3ac1));}const _0x10727c=_0x2ac700[_0x252d1e(0xbd)](_0x3f3ac1);_0x21b694[_0x252d1e(0xcd)][_0x252d1e(0x9e)](_0x2a4fe1)?(_0x2ac700[_0x252d1e(0xd2)](_0x2a4fe1,{'range':_0x3111bf}),_0x2ac700[_0x252d1e(0xd2)](_0x22d14e,{'range':_0x10727c})):(_0x2ac700[_0x252d1e(0xa1)](_0x2a4fe1,{'range':_0x3111bf,'usingOperation':!0x0}),_0x2ac700[_0x252d1e(0xa1)](_0x22d14e,{'range':_0x10727c,'usingOperation':!0x0}));}
23
+ const _0x5f103a=_0x3e7d;(function(_0x2026e0,_0x1c2dd1){const _0x599697=_0x3e7d,_0xeffbb3=_0x2026e0();while(!![]){try{const _0x25fc8f=parseInt(_0x599697(0x15d))/0x1+-parseInt(_0x599697(0x17c))/0x2+-parseInt(_0x599697(0x185))/0x3+-parseInt(_0x599697(0x149))/0x4*(parseInt(_0x599697(0x137))/0x5)+-parseInt(_0x599697(0x16b))/0x6*(parseInt(_0x599697(0x176))/0x7)+parseInt(_0x599697(0x15b))/0x8*(-parseInt(_0x599697(0x146))/0x9)+parseInt(_0x599697(0x102))/0xa;if(_0x25fc8f===_0x1c2dd1)break;else _0xeffbb3['push'](_0xeffbb3['shift']());}catch(_0x1f5482){_0xeffbb3['push'](_0xeffbb3['shift']());}}}(_0x5517,0x58555));import{Plugin as _0x34a0c7}from'ckeditor5/src/core.js';import{global as _0x4c44ee,DomEmitterMixin as _0x1cd568}from'ckeditor5/src/utils.js';import{Sessions as _0x52fe8f}from'./sessions.js';function _0x5517(){const _0x1e8547=['undo','for','editingDowncast','getUserBySessionId','addEventListener','render','user:range:','classList','applyOperation','ck-user__selection','has','parent','oldRange','setAttribute','plugins','nodeAfter','createElement','span','contenteditable','createRange','toDomElement','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','getMarkerClass','1170095jkNNQS','UserMarkers','markerToElement','getAttribute','isCollapsed','init','createUIElement','getContainedElement','pluginName','schema','get','outerHTML','removeClass','ck-user__marker_hovered','rootName','9eiRFqk','ck-user__marker\x20','removeMarker','4PQNHPo','end','destroy','userPositionMarker','orderNumber','_createdBatches','editor','addMarker','getSelectionClass','name','mapper','marker','$graveyard','mySessionId','hasDomSelection','markerName','reconvertMarker','color','2894176DkjCGa','updateMarker','339713DqJYYo','tableCell','change','selection','remove','hasContent','setCustomProperty','stopListening','isOfficialPlugin','keydown','model','type','innerHTML','user:','864lCwwPd','afterInit','false','commands','listenTo','isDocumentOperation','detach','element','start','markers','mouseleave','4046PwbVdR','root','isObject','getNearestSelectionRange','createUserMarkerOperations','batch','1327396mMirXy','enqueueChange','editing','toRange','split','_domEmitter','$text','update:user:range','conversion','1747422bfRrdL','isPremiumPlugin','add','markerNameToElements','spellcheck','textContent','Escape','getCustomProperty','19472950UsJupr','getStart','getPositions','set','size','checkChild','delete','newRange','startsWith','change:range','isInline','mouseenter','highest','markerRange','fromRange','clear','markerToHighlight','requires','deletionPosition','user:position:','document','data-session-id','isLimit','user:position','getFirstRange','getRange','user:range','isSimilar','ck-user__marker-tooltip','view'];_0x5517=function(){return _0x1e8547;};return _0x5517();}function _0x3e7d(_0x55c3a9,_0x4329e6){const _0x551749=_0x5517();return _0x3e7d=function(_0x3e7d29,_0x22f4c6){_0x3e7d29=_0x3e7d29-0xfe;let _0x2aeb25=_0x551749[_0x3e7d29];return _0x2aeb25;},_0x3e7d(_0x55c3a9,_0x4329e6);}import{ModelLiveRange as _0x30da73}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x34a0c7{[_0x5f103a(0x181)]=new(_0x1cd568())();static get[_0x5f103a(0x113)](){return[_0x52fe8f];}static get[_0x5f103a(0x13f)](){const _0x4bca7c=_0x5f103a;return _0x4bca7c(0x138);}static get[_0x5f103a(0x165)](){return!0x0;}static get[_0x5f103a(0x186)](){return!0x0;}[_0x5f103a(0x13c)](){const _0x56b864=_0x5f103a,_0x3c7eaf=this[_0x56b864(0x14f)],_0x4229fa=_0x3c7eaf[_0x56b864(0x12e)][_0x56b864(0x141)](_0x52fe8f);_0x3c7eaf[_0x56b864(0x184)][_0x56b864(0x121)](_0x56b864(0x122))[_0x56b864(0x139)]({'model':_0x56b864(0x119),'view':(_0x4dddc0,{writer:_0x326bb8})=>function(_0x2ff7a8,_0x59c5e0,_0x5e7de2,_0x2e2727){const _0x47b28a=_0x56b864,_0x4096b3=_0x2ff7a8[_0x47b28a(0x158)][_0x47b28a(0x180)](':')[0x2],_0x154e4f=_0x5e7de2[_0x47b28a(0x123)](_0x4096b3);if(!_0x154e4f||_0x4096b3===_0x5e7de2[_0x47b28a(0x156)])return;if(!_0x2e2727[_0x47b28a(0x167)][_0x47b28a(0x140)][_0x47b28a(0x107)](_0x2ff7a8[_0x47b28a(0x10f)][_0x47b28a(0x173)],_0x47b28a(0x182)))return;const _0x2fadf2={'class':_0x47b28a(0x147)+_0x154e4f[_0x47b28a(0x15a)][_0x47b28a(0x136)](),'data-name':_0x154e4f[_0x47b28a(0x152)],'data-session-id':_0x4096b3},_0x2cc57f=_0x2e2727[_0x47b28a(0x167)][_0x47b28a(0x174)][_0x47b28a(0x141)](_0x2ff7a8[_0x47b28a(0x158)]),_0x400060=_0x2cc57f[_0x47b28a(0x103)](),_0x3445e9=_0x400060[_0x47b28a(0x12f)],_0x3083ed=_0x2e2727[_0x47b28a(0x167)][_0x47b28a(0x140)];if(_0x3445e9&&_0x3083ed[_0x47b28a(0x178)](_0x3445e9)&&_0x3083ed[_0x47b28a(0x10c)](_0x3445e9)&&!_0x2e2727[_0x47b28a(0x167)][_0x47b28a(0x174)][_0x47b28a(0x141)](_0x47b28a(0x126)+_0x4096b3)[_0x47b28a(0x11b)]()[_0x47b28a(0x13b)])return;const _0x4b3068=_0x400060[_0x47b28a(0x12b)];return _0x2e2727[_0x47b28a(0x167)][_0x47b28a(0x140)][_0x47b28a(0x118)](_0x4b3068)&&!_0x2e2727[_0x47b28a(0x167)][_0x47b28a(0x162)](_0x4b3068)&&(_0x2fadf2[_0x47b28a(0x132)]=!0x1),function(_0x1d18f7,_0x15b9c0,_0x5d6eab){const _0x4682e2=_0x47b28a,_0xeb1264=_0x1d18f7[_0x4682e2(0x13d)](_0x4682e2(0x131),_0x15b9c0);return _0x1d18f7[_0x4682e2(0x163)](_0x4682e2(0x14c),!0x0,_0xeb1264),_0xeb1264[_0x4682e2(0x125)]=function(_0x3d37db){const _0x4b8070=_0x4682e2,_0x3e7456=this[_0x4b8070(0x134)](_0x3d37db),_0x31f4b1=document[_0x4b8070(0x130)](_0x4b8070(0x131));return _0x31f4b1[_0x4b8070(0x127)][_0x4b8070(0x187)](_0x4b8070(0x11e)),_0x31f4b1[_0x4b8070(0x12d)](_0x4b8070(0x132),_0x4b8070(0x16d)),_0x31f4b1[_0x4b8070(0x12d)](_0x4b8070(0xfe),_0x4b8070(0x16d)),_0x31f4b1[_0x4b8070(0xff)]=_0x5d6eab[_0x4b8070(0x152)],_0x3e7456[_0x4b8070(0x169)]=_0x4b8070(0x135)+_0x31f4b1[_0x4b8070(0x142)]+'⁠',_0x3e7456[_0x4b8070(0x124)](_0x4b8070(0x10d),()=>{const _0x5bdce0=_0x4b8070;_0x3e7456[_0x5bdce0(0x127)][_0x5bdce0(0x187)](_0x5bdce0(0x144));}),_0x3e7456[_0x4b8070(0x124)](_0x4b8070(0x175),()=>{const _0x18ccbb=_0x4b8070;_0x3e7456[_0x18ccbb(0x127)][_0x18ccbb(0x161)](_0x18ccbb(0x144));}),_0x3e7456;},_0xeb1264[_0x4682e2(0x11d)]=function(_0x473430){const _0x69c83=_0x4682e2;return!(!this[_0x69c83(0x101)](_0x69c83(0x14c))||!_0x473430[_0x69c83(0x101)](_0x69c83(0x14c))||this[_0x69c83(0x13a)](_0x69c83(0x117))!=_0x473430[_0x69c83(0x13a)](_0x69c83(0x117)));},_0xeb1264;}(_0x59c5e0,_0x2fadf2,_0x154e4f);}(_0x4dddc0,_0x326bb8,_0x4229fa,_0x3c7eaf)}),_0x3c7eaf[_0x56b864(0x184)][_0x56b864(0x121)](_0x56b864(0x122))[_0x56b864(0x112)]({'model':_0x56b864(0x11c),'view':_0x3f6a1d=>function(_0x55d5aa,_0x300a17){const _0x330975=_0x56b864,_0x42e0a6=_0x55d5aa[_0x330975(0x158)][_0x330975(0x180)](':')[0x2];if(_0x42e0a6===_0x300a17[_0x330975(0x156)])return null;const _0x553343=_0x300a17[_0x330975(0x123)](_0x42e0a6);if(!_0x553343)return{'id':_0x42e0a6,'classes':[]};return{'id':_0x42e0a6,'classes':[_0x330975(0x129),_0x553343[_0x330975(0x15a)][_0x330975(0x151)]()],'attributes':{'data-session-id':_0x42e0a6},'priority':0x7d0+_0x553343[_0x330975(0x14d)]};}(_0x3f6a1d,_0x4229fa)}),function(_0xbf6a7b){const _0xc3126d=_0x56b864,_0x2e0c7f=_0xbf6a7b[_0xc3126d(0x167)],_0x5dbd70=new Map(),_0x543540=_0xbf6a7b[_0xc3126d(0x12e)][_0xc3126d(0x141)](_0x52fe8f);_0x2e0c7f[_0xc3126d(0x174)]['on'](_0xc3126d(0x183),(_0x385163,_0x2b20a0,_0x37a28e,_0x56d6cb)=>{const _0x532174=_0xc3126d;if(!_0x56d6cb&&_0x5dbd70[_0x532174(0x141)](_0x2b20a0[_0x532174(0x152)]))return _0x5dbd70[_0x532174(0x141)](_0x2b20a0[_0x532174(0x152)])[_0x532174(0x171)](),void _0x5dbd70[_0x532174(0x108)](_0x2b20a0[_0x532174(0x152)]);const _0x470127=_0x2b20a0[_0x532174(0x152)][_0x532174(0x180)](':')[0x2];if(_0x470127===_0x543540[_0x532174(0x156)])return;const _0x3f32d9=_0x532174(0x115)+_0x470127;_0x2e0c7f[_0x532174(0x174)][_0x532174(0x12a)](_0x3f32d9)&&_0xbf6a7b[_0x532174(0x17e)][_0x532174(0x159)](_0x3f32d9),_0x2b20a0['on'](_0x532174(0x10b),(_0x1d015b,_0x94c526,_0x4fce16)=>{const _0x5789ba=_0x532174;if(_0x5789ba(0x155)!=_0x94c526[_0x5789ba(0x177)][_0x5789ba(0x145)]&&_0x5789ba(0x155)==_0x2b20a0[_0x5789ba(0x11b)]()[_0x5789ba(0x177)][_0x5789ba(0x145)]&&!_0x5dbd70[_0x5789ba(0x12a)](_0x2b20a0[_0x5789ba(0x152)])){const _0x503f36=_0x2e0c7f[_0x5789ba(0x140)][_0x5789ba(0x179)](_0x4fce16[_0x5789ba(0x114)]);if(_0x503f36){const _0x229794=_0x30da73[_0x5789ba(0x110)](_0x503f36);_0x5dbd70[_0x5789ba(0x105)](_0x2b20a0[_0x5789ba(0x152)],_0x229794),_0x229794['on'](_0x5789ba(0x10b),(_0x159e05,_0xd57dc9,_0x29d326)=>{const _0x55fd93=_0x5789ba;if(_0x55fd93(0x155)==_0x229794[_0x55fd93(0x177)][_0x55fd93(0x145)]){const _0x46dece=_0x2e0c7f[_0x55fd93(0x140)][_0x55fd93(0x179)](_0x29d326[_0x55fd93(0x114)]);_0x46dece?(_0x229794[_0x55fd93(0x173)]=_0x46dece[_0x55fd93(0x173)],_0x229794[_0x55fd93(0x14a)]=_0x46dece[_0x55fd93(0x14a)]):(_0x5dbd70[_0x55fd93(0x108)](_0x2b20a0[_0x55fd93(0x152)]),_0x229794[_0x55fd93(0x171)]());}});}}});}),_0x2e0c7f[_0xc3126d(0x116)]['on'](_0xc3126d(0x15f),()=>{const _0x296d6e=_0xc3126d;_0x5dbd70[_0x296d6e(0x106)]>0x0&&_0x2e0c7f[_0x296d6e(0x17d)]({'isUndoable':!0x1},_0xbf4a81=>{const _0x439660=_0x296d6e;for(const [_0x3e775b,_0x112b0a]of _0x5dbd70)_0x439660(0x155)==_0x2e0c7f[_0x439660(0x174)][_0x439660(0x141)](_0x3e775b)[_0x439660(0x11b)]()[_0x439660(0x177)][_0x439660(0x145)]&&(Q(_0x3e775b[_0x439660(0x180)](':')[0x2],_0x112b0a[_0x439660(0x17f)](),_0x2e0c7f,_0xbf4a81),_0x112b0a[_0x439660(0x171)]());_0x5dbd70[_0x439660(0x111)]();});});}(_0x3c7eaf),this[_0x56b864(0x181)][_0x56b864(0x16f)](_0x4c44ee[_0x56b864(0x116)],_0x56b864(0x166),(_0x67a256,{key:_0x3b4200})=>{const _0xc37bed=_0x56b864;_0xc37bed(0x100)===_0x3b4200&&function(_0x43329e){const _0x44f9eb=_0xc37bed;_0x43329e[_0x44f9eb(0x17e)][_0x44f9eb(0x11f)][_0x44f9eb(0x15f)](_0x173e69=>{const _0x1fb0e3=_0x44f9eb;for(const _0xdf44a9 of _0x43329e[_0x1fb0e3(0x167)][_0x1fb0e3(0x174)]){if(!_0xdf44a9[_0x1fb0e3(0x152)][_0x1fb0e3(0x10a)](_0x1fb0e3(0x119)))continue;const _0x36ebb2=_0x43329e[_0x1fb0e3(0x17e)][_0x1fb0e3(0x153)][_0x1fb0e3(0x188)](_0xdf44a9[_0x1fb0e3(0x152)]);if(_0x36ebb2){for(const _0x4b198a of _0x36ebb2)_0x173e69[_0x1fb0e3(0x143)](_0x1fb0e3(0x144),_0x4b198a);}}});}(_0x3c7eaf);},{'useCapture':!0x0});}[_0x5f103a(0x16c)](){const _0x5233f7=_0x5f103a,_0x4fb355=this[_0x5233f7(0x14f)],_0x1ab6f6=_0x4fb355[_0x5233f7(0x16e)][_0x5233f7(0x141)](_0x5233f7(0x120));_0x1ab6f6&&_0x4fb355[_0x5233f7(0x167)]['on'](_0x5233f7(0x128),(_0xdf9d3b,_0xcd5063)=>{const _0x1c1779=_0x5233f7,_0x1a26bb=_0xcd5063[0x0];if(!_0x1a26bb[_0x1c1779(0x170)])return;if(_0x1c1779(0x154)!=_0x1a26bb[_0x1c1779(0x168)]||!_0x1a26bb[_0x1c1779(0x152)][_0x1c1779(0x10a)](_0x1c1779(0x16a)))return;const _0x574c10=_0x1a26bb[_0x1c1779(0x17b)];_0x1ab6f6[_0x1c1779(0x14e)][_0x1c1779(0x12a)](_0x574c10)&&(_0x1a26bb[_0x1c1779(0x109)]=_0x1a26bb[_0x1c1779(0x12c)]?_0x4fb355[_0x1c1779(0x167)][_0x1c1779(0x133)](_0x1a26bb[_0x1c1779(0x12c)][_0x1c1779(0x173)],_0x1a26bb[_0x1c1779(0x12c)][_0x1c1779(0x14a)]):null);},{'priority':_0x5233f7(0x10e)});}[_0x5f103a(0x14b)](){const _0x39f53c=_0x5f103a;return this[_0x39f53c(0x181)][_0x39f53c(0x164)](),super[_0x39f53c(0x14b)]();}[_0x5f103a(0x17a)](){const _0x9a8806=_0x5f103a,_0xe21ea0=this[_0x9a8806(0x14f)],_0x4b8c02=_0xe21ea0[_0x9a8806(0x167)][_0x9a8806(0x116)],_0x24f190=_0xe21ea0[_0x9a8806(0x12e)][_0x9a8806(0x141)](_0x52fe8f);_0xe21ea0[_0x9a8806(0x167)][_0x9a8806(0x17d)]({'isUndoable':!0x1},_0x24334c=>{const _0x499512=_0x9a8806,_0x1b2f0b=_0x499512(0x126)+_0x24f190[_0x499512(0x156)],_0x24cdcf=_0x499512(0x115)+_0x24f190[_0x499512(0x156)],_0x48cea5=_0xe21ea0[_0x499512(0x167)][_0x499512(0x174)][_0x499512(0x12a)](_0x1b2f0b);_0xe21ea0[_0x499512(0x17e)][_0x499512(0x11f)][_0x499512(0x157)]?Q(_0x24f190[_0x499512(0x156)],_0x4b8c02[_0x499512(0x160)][_0x499512(0x11a)](),_0xe21ea0[_0x499512(0x167)],_0x24334c):_0x48cea5&&(_0x24334c[_0x499512(0x148)](_0x1b2f0b),_0x24334c[_0x499512(0x148)](_0x24cdcf));});}}function Q(_0x9d329a,_0x2934cd,_0x5e9028,_0x3ce668){const _0x173d6=_0x5f103a,_0x1e3688=_0x173d6(0x126)+_0x9d329a,_0x2d024d=_0x173d6(0x115)+_0x9d329a,_0x19466b=_0x2934cd[_0x173d6(0x13e)]();let _0x54cf70=_0x2934cd[_0x173d6(0x173)];if(_0x19466b&&_0x19466b['is'](_0x173d6(0x172),_0x173d6(0x15e))){const _0x4c2c95=function(_0x52dc2a,_0x302135){const _0x5cd787=_0x173d6;for(const _0x381911 of _0x52dc2a[_0x5cd787(0x104)]())if(_0x302135[_0x5cd787(0x140)][_0x5cd787(0x107)](_0x381911,_0x5cd787(0x182)))return _0x381911;}(_0x2934cd,_0x5e9028);_0x4c2c95&&(_0x54cf70=_0x4c2c95,_0x2934cd=_0x3ce668[_0x173d6(0x133)](_0x54cf70));}const _0xf5137d=_0x3ce668[_0x173d6(0x133)](_0x54cf70);_0x5e9028[_0x173d6(0x174)][_0x173d6(0x12a)](_0x1e3688)?(_0x3ce668[_0x173d6(0x15c)](_0x1e3688,{'range':_0x2934cd}),_0x3ce668[_0x173d6(0x15c)](_0x2d024d,{'range':_0xf5137d})):(_0x3ce668[_0x173d6(0x150)](_0x1e3688,{'range':_0x2934cd,'usingOperation':!0x0}),_0x3ce668[_0x173d6(0x150)](_0x2d024d,{'range':_0xf5137d,'usingOperation':!0x0}));}