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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-real-time-collaboration",
3
- "version": "45.2.1-alpha.2",
3
+ "version": "45.2.1-alpha.4",
4
4
  "description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -47,19 +47,19 @@
47
47
  ],
48
48
  "dependencies": {
49
49
  "@ckeditor/ckeditor-cloud-services-collaboration": "53.0.0",
50
- "@ckeditor/ckeditor5-cloud-services": "45.2.1-alpha.2",
51
- "@ckeditor/ckeditor5-comments": "45.2.1-alpha.2",
52
- "@ckeditor/ckeditor5-core": "45.2.1-alpha.2",
53
- "@ckeditor/ckeditor5-editor-multi-root": "45.2.1-alpha.2",
54
- "@ckeditor/ckeditor5-engine": "45.2.1-alpha.2",
55
- "@ckeditor/ckeditor5-operations-compressor": "45.2.1-alpha.2",
56
- "@ckeditor/ckeditor5-revision-history": "45.2.1-alpha.2",
57
- "@ckeditor/ckeditor5-theme-lark": "45.2.1-alpha.2",
58
- "@ckeditor/ckeditor5-track-changes": "45.2.1-alpha.2",
59
- "@ckeditor/ckeditor5-ui": "45.2.1-alpha.2",
60
- "@ckeditor/ckeditor5-utils": "45.2.1-alpha.2",
61
- "ckeditor5": "45.2.1-alpha.2",
62
- "ckeditor5-collaboration": "45.2.1-alpha.2",
50
+ "@ckeditor/ckeditor5-cloud-services": "45.2.1-alpha.4",
51
+ "@ckeditor/ckeditor5-comments": "45.2.1-alpha.4",
52
+ "@ckeditor/ckeditor5-core": "45.2.1-alpha.4",
53
+ "@ckeditor/ckeditor5-editor-multi-root": "45.2.1-alpha.4",
54
+ "@ckeditor/ckeditor5-engine": "45.2.1-alpha.4",
55
+ "@ckeditor/ckeditor5-operations-compressor": "45.2.1-alpha.4",
56
+ "@ckeditor/ckeditor5-revision-history": "45.2.1-alpha.4",
57
+ "@ckeditor/ckeditor5-theme-lark": "45.2.1-alpha.4",
58
+ "@ckeditor/ckeditor5-track-changes": "45.2.1-alpha.4",
59
+ "@ckeditor/ckeditor5-ui": "45.2.1-alpha.4",
60
+ "@ckeditor/ckeditor5-utils": "45.2.1-alpha.4",
61
+ "ckeditor5": "45.2.1-alpha.4",
62
+ "ckeditor5-collaboration": "45.2.1-alpha.4",
63
63
  "es-toolkit": "1.32.0"
64
64
  },
65
65
  "types": "src/index.d.ts",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1ed7(_0x3dcfdf,_0x13ef05){const _0x2da170=_0x2da1();return _0x1ed7=function(_0x1ed722,_0x173111){_0x1ed722=_0x1ed722-0x1ae;let _0x21c8cf=_0x2da170[_0x1ed722];return _0x21c8cf;},_0x1ed7(_0x3dcfdf,_0x13ef05);}const _0x32e330=_0x1ed7;(function(_0x2a14dc,_0xb6d5bb){const _0x563523=_0x1ed7,_0xd8f2f=_0x2a14dc();while(!![]){try{const _0x593fe6=parseInt(_0x563523(0x1b5))/0x1*(-parseInt(_0x563523(0x1b6))/0x2)+parseInt(_0x563523(0x1b3))/0x3*(-parseInt(_0x563523(0x1ae))/0x4)+parseInt(_0x563523(0x1c3))/0x5*(parseInt(_0x563523(0x1c5))/0x6)+parseInt(_0x563523(0x1af))/0x7*(parseInt(_0x563523(0x1be))/0x8)+-parseInt(_0x563523(0x1b8))/0x9*(-parseInt(_0x563523(0x1c6))/0xa)+parseInt(_0x563523(0x1ba))/0xb*(-parseInt(_0x563523(0x1b0))/0xc)+parseInt(_0x563523(0x1c7))/0xd*(-parseInt(_0x563523(0x1bc))/0xe);if(_0x593fe6===_0xb6d5bb)break;else _0xd8f2f['push'](_0xd8f2f['shift']());}catch(_0x312965){_0xd8f2f['push'](_0xd8f2f['shift']());}}}(_0x2da1,0x5b3de));import{ListItemView as _0xab05d0}from'ckeditor5/src/ui.js';function _0x2da1(){const _0xcfd9f0=['name','28hYcJlD','ck-presence-list__dropdown-list-item','9872bcfxsf','presentation','color','ck-user__full-name','fire','2573695iIZpIr','getBackgroundColorClass','6mLiugA','11030eLzmFl','473135eAyYDa','execute','setTemplate','span','bindTemplate','focus','userView','10172VEgPQE','2212RsOIWx','1536nbBlvG','ck-presence-list__marker','element','489BsVmci','true','4tANOQV','814QucRyW','button','1278brfRTG','tag','17072qLVLCl'];_0x2da1=function(){return _0xcfd9f0;};return _0x2da1();}import{UserView as _0x257c3a}from'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0xab05d0{[_0x32e330(0x1cd)];constructor(_0x1f4fae,_0x8bd305,_0x55b86e){const _0x10f198=_0x32e330;super(_0x1f4fae);const _0xd23e98=this[_0x10f198(0x1cb)];this[_0x10f198(0x1cd)]=new _0x257c3a(_0x1f4fae,_0x8bd305);const _0x5721cc={'tag':'li','attributes':{'class':['ck',_0x10f198(0x1bd)],'tabindex':-0x1,'role':_0x10f198(0x1bf),'aria-label':_0x8bd305[_0x10f198(0x1bb)]},'children':[this[_0x10f198(0x1cd)],{'tag':_0x10f198(0x1ca),'attributes':{'class':['ck',_0x10f198(0x1c1)]},'children':[{'text':_0x8bd305[_0x10f198(0x1bb)]}]},{'tag':_0x10f198(0x1ca),'attributes':{'class':['ck',_0x10f198(0x1b1),_0x8bd305[_0x10f198(0x1c0)][_0x10f198(0x1c4)]()],'aria-hidden':_0x10f198(0x1b4)}}]};_0x55b86e&&(_0x5721cc[_0x10f198(0x1b9)]=_0x10f198(0x1b7),_0x5721cc['on']={'click':_0xd23e98['to'](()=>this[_0x10f198(0x1c2)](_0x10f198(0x1c8)))}),this[_0x10f198(0x1c9)](_0x5721cc);}[_0x32e330(0x1cc)](){const _0x279da4=_0x32e330;this[_0x279da4(0x1b2)][_0x279da4(0x1cc)]();}}
23
+ const _0x4e3711=_0x7a5f;function _0x7a5f(_0x1fd467,_0x5378c8){const _0x6f581=_0x6f58();return _0x7a5f=function(_0x7a5fd6,_0x4f21f0){_0x7a5fd6=_0x7a5fd6-0x8c;let _0xa80d9d=_0x6f581[_0x7a5fd6];return _0xa80d9d;},_0x7a5f(_0x1fd467,_0x5378c8);}(function(_0x33af9a,_0x56c7af){const _0x2f1abd=_0x7a5f,_0x4894d1=_0x33af9a();while(!![]){try{const _0x529775=-parseInt(_0x2f1abd(0x93))/0x1+parseInt(_0x2f1abd(0x90))/0x2+parseInt(_0x2f1abd(0xa3))/0x3+parseInt(_0x2f1abd(0x8d))/0x4*(parseInt(_0x2f1abd(0xa4))/0x5)+parseInt(_0x2f1abd(0x95))/0x6+parseInt(_0x2f1abd(0x97))/0x7+parseInt(_0x2f1abd(0xa5))/0x8*(-parseInt(_0x2f1abd(0x96))/0x9);if(_0x529775===_0x56c7af)break;else _0x4894d1['push'](_0x4894d1['shift']());}catch(_0x359c0c){_0x4894d1['push'](_0x4894d1['shift']());}}}(_0x6f58,0x88728));function _0x6f58(){const _0x1e9252=['ck-user__full-name','button','true','fire','1627581XixedF','245uhVpkW','3112vveGCt','name','bindTemplate','45316YncdUW','color','focus','1101894exzUAS','ck-presence-list__dropdown-list-item','span','384894vBhuKQ','element','6060018AUlODW','44883gJqNRY','1575889RojwDG','ck-presence-list__marker','getBackgroundColorClass','setTemplate','userView','execute','tag','presentation'];_0x6f58=function(){return _0x1e9252;};return _0x6f58();}import{ListItemView as _0x34c7f2}from'ckeditor5/src/ui.js';import{UserView as _0x31519f}from'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x34c7f2{[_0x4e3711(0x9b)];constructor(_0x532803,_0x106385,_0x3f9cd8){const _0x4139f2=_0x4e3711;super(_0x532803);const _0x4a386e=this[_0x4139f2(0x8c)];this[_0x4139f2(0x9b)]=new _0x31519f(_0x532803,_0x106385);const _0x4720bb={'tag':'li','attributes':{'class':['ck',_0x4139f2(0x91)],'tabindex':-0x1,'role':_0x4139f2(0x9e),'aria-label':_0x106385[_0x4139f2(0xa6)]},'children':[this[_0x4139f2(0x9b)],{'tag':_0x4139f2(0x92),'attributes':{'class':['ck',_0x4139f2(0x9f)]},'children':[{'text':_0x106385[_0x4139f2(0xa6)]}]},{'tag':_0x4139f2(0x92),'attributes':{'class':['ck',_0x4139f2(0x98),_0x106385[_0x4139f2(0x8e)][_0x4139f2(0x99)]()],'aria-hidden':_0x4139f2(0xa1)}}]};_0x3f9cd8&&(_0x4720bb[_0x4139f2(0x9d)]=_0x4139f2(0xa0),_0x4720bb['on']={'click':_0x4a386e['to'](()=>this[_0x4139f2(0xa2)](_0x4139f2(0x9c)))}),this[_0x4139f2(0x9a)](_0x4720bb);}[_0x4e3711(0x8f)](){const _0x28037a=_0x4e3711;this[_0x28037a(0x94)][_0x28037a(0x8f)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x59be(){const _0x23344e=['checkIfScrollable','items','3989620kAqNbE','div','ck-reset','scrollHeight','ariaLabelledBy','6364MTkqsY','resize','Connected\x20users\x20list\x20dropdown\x20menu','ck-list','listenTo','relatedTarget','application','querySelector','render','element','clientHeight','fire','7427tDQnyK','window','5934jypCTA','.ck-presence-list__list','7816496tCSPAY','ck-presence-list__dropdown-list','ck-presence-list__dropdown-list-wrapper','contains','role','set','setTemplate','presencelist:hide','5423SyEOdE','change','_isScrollable','ariaLabel','innerHeight','19260560byIoSW','ck-presence-list__dropdown-list-wrapper_scrollable','1158DFSgyP','max','404gEaHWI','7361640FYdudg','bindTemplate','listWrapperView','.ck-balloon-panel_with-arrow'];_0x59be=function(){return _0x23344e;};return _0x59be();}const _0x8ae605=_0x329c;(function(_0x3c7202,_0x341524){const _0x1ab920=_0x329c,_0x480c5a=_0x3c7202();while(!![]){try{const _0x4f3718=parseInt(_0x1ab920(0xb2))/0x1*(parseInt(_0x1ab920(0xbb))/0x2)+-parseInt(_0x1ab920(0xb9))/0x3*(parseInt(_0x1ab920(0x9a))/0x4)+parseInt(_0x1ab920(0x95))/0x5+parseInt(_0x1ab920(0xa8))/0x6*(parseInt(_0x1ab920(0xa6))/0x7)+parseInt(_0x1ab920(0xaa))/0x8+-parseInt(_0x1ab920(0xbc))/0x9+-parseInt(_0x1ab920(0xb7))/0xa;if(_0x4f3718===_0x341524)break;else _0x480c5a['push'](_0x480c5a['shift']());}catch(_0x42f1bc){_0x480c5a['push'](_0x480c5a['shift']());}}}(_0x59be,0x891d3));import{ListView as _0x2f009d,View as _0x4ae78}from'ckeditor5/src/ui.js';function _0x329c(_0x1a4aa8,_0x4e24c4){const _0x59befd=_0x59be();return _0x329c=function(_0x329c66,_0x4aad9e){_0x329c66=_0x329c66-0x94;let _0x4d1f74=_0x59befd[_0x329c66];return _0x4d1f74;},_0x329c(_0x1a4aa8,_0x4e24c4);}import{global as _0x1de3c2}from'ckeditor5/src/utils.js';import{getTranslation as _0x24bc66}from'../../common-translations.js';export default class x extends _0x4ae78{[_0x8ae605(0xbe)];constructor(_0xd3b926,_0x30b084){const _0x3a5ebd=_0x8ae605;super(_0xd3b926);const _0xfc3f58=this[_0x3a5ebd(0xbd)];this[_0x3a5ebd(0xbe)]=new PresenceDropdownListWrapperView(_0xd3b926,_0x30b084),this[_0x3a5ebd(0xb0)]({'tag':_0x3a5ebd(0x96),'attributes':{'tabindex':-0x1,'role':_0x3a5ebd(0xa0),'class':['ck',_0x3a5ebd(0xab)],'aria-label':_0x24bc66(_0xd3b926,_0x3a5ebd(0x9c))},'children':[this[_0x3a5ebd(0xbe)]],'on':{'mouseleave':_0xfc3f58['to'](_0x565716=>{const _0x49d2d6=_0x3a5ebd,_0x56957a=_0x565716,_0x4eff96=document[_0x49d2d6(0xa1)](_0x49d2d6(0xa9)),_0x40f04c=document[_0x49d2d6(0xa1)](_0x49d2d6(0xbf));_0x4eff96?.[_0x49d2d6(0xad)](_0x56957a[_0x49d2d6(0x9f)])||_0x40f04c?.[_0x49d2d6(0xad)](_0x56957a[_0x49d2d6(0x9f)])||this[_0x49d2d6(0xa5)](_0x49d2d6(0xb1));})}});}}export class PresenceDropdownListWrapperView extends _0x2f009d{constructor(_0x229f7b,_0x22ff92){const _0x4522d1=_0x8ae605;super(_0x229f7b);const _0x17cf84=this[_0x4522d1(0xbd)];this[_0x4522d1(0xaf)](_0x4522d1(0xb4),!0x1),this[_0x4522d1(0xb0)]({'tag':_0x22ff92?_0x4522d1(0x96):'ul','attributes':{'class':['ck',_0x4522d1(0x97),_0x4522d1(0x9d),_0x4522d1(0xac),_0x17cf84['if'](_0x4522d1(0xb4),_0x4522d1(0xb8))],'role':_0x17cf84['to'](_0x4522d1(0xae)),'aria-label':_0x17cf84['to'](_0x4522d1(0xb5)),'aria-labelledby':_0x17cf84['to'](_0x4522d1(0x99))},'children':this[_0x4522d1(0x94)]}),this[_0x4522d1(0x9e)](_0x1de3c2[_0x4522d1(0xa7)],_0x4522d1(0x9b),()=>this[_0x4522d1(0xc0)]()),this[_0x4522d1(0x94)]['on'](_0x4522d1(0xb3),()=>this[_0x4522d1(0xc0)]());}[_0x8ae605(0xa2)](){const _0x192c25=_0x8ae605;super[_0x192c25(0xa2)](),this[_0x192c25(0xc0)]();}[_0x8ae605(0xc0)](){const _0x44412e=_0x8ae605,_0x1b1255=this[_0x44412e(0xa3)];_0x1b1255&&(this[_0x44412e(0xb4)]=Math[_0x44412e(0xba)](_0x1b1255[_0x44412e(0x98)],_0x1b1255[_0x44412e(0xa4)])>0.8*window[_0x44412e(0xb6)]);}}
23
+ function _0x671d(){const _0x5558f3=['presencelist:hide','clientHeight','change','innerHeight','ck-presence-list__dropdown-list','91395MzMjIy','setTemplate','scrollHeight','_isScrollable','relatedTarget','1940533BBASAD','resize','set','div','ck-presence-list__dropdown-list-wrapper','.ck-presence-list__list','checkIfScrollable','92616StSYpd','880302tRgjjZ','369594RvnXmD','bindTemplate','element','114rwudBL','ck-reset','window','listWrapperView','Connected\x20users\x20list\x20dropdown\x20menu','contains','749408pLFarD','application','items','max','render','fire','ck-presence-list__dropdown-list-wrapper_scrollable','7797352rWAHCu','.ck-balloon-panel_with-arrow','ariaLabelledBy','ck-list','querySelector','ariaLabel','role','listenTo'];_0x671d=function(){return _0x5558f3;};return _0x671d();}const _0x4feb68=_0x389f;(function(_0x278e71,_0x33d623){const _0xf40316=_0x389f,_0x329a86=_0x278e71();while(!![]){try{const _0x237cc1=-parseInt(_0xf40316(0x8c))/0x1+-parseInt(_0xf40316(0x96))/0x2+parseInt(_0xf40316(0x8d))/0x3+parseInt(_0xf40316(0x8b))/0x4+-parseInt(_0xf40316(0x7f))/0x5*(-parseInt(_0xf40316(0x90))/0x6)+parseInt(_0xf40316(0x84))/0x7+parseInt(_0xf40316(0x72))/0x8;if(_0x237cc1===_0x33d623)break;else _0x329a86['push'](_0x329a86['shift']());}catch(_0x3082a6){_0x329a86['push'](_0x329a86['shift']());}}}(_0x671d,0x77c27));import{ListView as _0x553c69,View as _0x557469}from'ckeditor5/src/ui.js';function _0x389f(_0x46d589,_0x3e9080){const _0x671d56=_0x671d();return _0x389f=function(_0x389f59,_0x346224){_0x389f59=_0x389f59-0x6c;let _0x5e4eac=_0x671d56[_0x389f59];return _0x5e4eac;},_0x389f(_0x46d589,_0x3e9080);}import{global as _0x5476a0}from'ckeditor5/src/utils.js';import{getTranslation as _0x26282a}from'../../common-translations.js';export default class x extends _0x557469{[_0x4feb68(0x93)];constructor(_0xe0493d,_0x11818b){const _0x3462ca=_0x4feb68;super(_0xe0493d);const _0xaabe4f=this[_0x3462ca(0x8e)];this[_0x3462ca(0x93)]=new PresenceDropdownListWrapperView(_0xe0493d,_0x11818b),this[_0x3462ca(0x80)]({'tag':_0x3462ca(0x87),'attributes':{'tabindex':-0x1,'role':_0x3462ca(0x6c),'class':['ck',_0x3462ca(0x7e)],'aria-label':_0x26282a(_0xe0493d,_0x3462ca(0x94))},'children':[this[_0x3462ca(0x93)]],'on':{'mouseleave':_0xaabe4f['to'](_0x5ebaf7=>{const _0x14a246=_0x3462ca,_0x39df3e=_0x5ebaf7,_0x209310=document[_0x14a246(0x76)](_0x14a246(0x89)),_0x45d78d=document[_0x14a246(0x76)](_0x14a246(0x73));_0x209310?.[_0x14a246(0x95)](_0x39df3e[_0x14a246(0x83)])||_0x45d78d?.[_0x14a246(0x95)](_0x39df3e[_0x14a246(0x83)])||this[_0x14a246(0x70)](_0x14a246(0x7a));})}});}}export class PresenceDropdownListWrapperView extends _0x553c69{constructor(_0xaa48fa,_0x587f89){const _0x5c5d2d=_0x4feb68;super(_0xaa48fa);const _0x56cc57=this[_0x5c5d2d(0x8e)];this[_0x5c5d2d(0x86)](_0x5c5d2d(0x82),!0x1),this[_0x5c5d2d(0x80)]({'tag':_0x587f89?_0x5c5d2d(0x87):'ul','attributes':{'class':['ck',_0x5c5d2d(0x91),_0x5c5d2d(0x75),_0x5c5d2d(0x88),_0x56cc57['if'](_0x5c5d2d(0x82),_0x5c5d2d(0x71))],'role':_0x56cc57['to'](_0x5c5d2d(0x78)),'aria-label':_0x56cc57['to'](_0x5c5d2d(0x77)),'aria-labelledby':_0x56cc57['to'](_0x5c5d2d(0x74))},'children':this[_0x5c5d2d(0x6d)]}),this[_0x5c5d2d(0x79)](_0x5476a0[_0x5c5d2d(0x92)],_0x5c5d2d(0x85),()=>this[_0x5c5d2d(0x8a)]()),this[_0x5c5d2d(0x6d)]['on'](_0x5c5d2d(0x7c),()=>this[_0x5c5d2d(0x8a)]());}[_0x4feb68(0x6f)](){const _0x2df39a=_0x4feb68;super[_0x2df39a(0x6f)](),this[_0x2df39a(0x8a)]();}[_0x4feb68(0x8a)](){const _0x4b8446=_0x4feb68,_0x183849=this[_0x4b8446(0x8f)];_0x183849&&(this[_0x4b8446(0x82)]=Math[_0x4b8446(0x6e)](_0x183849[_0x4b8446(0x81)],_0x183849[_0x4b8446(0x7b)])>0.8*window[_0x4b8446(0x7d)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x501f(){const _0x129b71=['tag','20yRHDGO','29896rMKtIs','color','span','isFocusable','24FIyEiV','set','div','markerView','template','104RlYhYW','5929244ovyDkU','setTemplate','getBackgroundColorClass','2112225TKidYF','14351150XeeSaM','true','name','hasTooltip','userView','6815448PfvVCt','20322YVPcUR','button','ck-presence-list__list-item__tooltip','execute','tooltipPosition','bindTemplate','ck-presence-list__marker','1757CRdeMS','listitem','fire','3660828kZqkGH','text','ck-presence-list__list-item'];_0x501f=function(){return _0x129b71;};return _0x501f();}const _0x31829e=_0x397f;(function(_0x28f6ae,_0x5db56f){const _0x2fbd6b=_0x397f,_0x7d7fb0=_0x28f6ae();while(!![]){try{const _0x4c2704=parseInt(_0x2fbd6b(0x117))/0x1*(parseInt(_0x2fbd6b(0x122))/0x2)+parseInt(_0x2fbd6b(0x12c))/0x3+-parseInt(_0x2fbd6b(0x118))/0x4+-parseInt(_0x2fbd6b(0x11b))/0x5*(parseInt(_0x2fbd6b(0x112))/0x6)+parseInt(_0x2fbd6b(0x129))/0x7*(-parseInt(_0x2fbd6b(0x10e))/0x8)+-parseInt(_0x2fbd6b(0x121))/0x9*(-parseInt(_0x2fbd6b(0x10d))/0xa)+parseInt(_0x2fbd6b(0x11c))/0xb;if(_0x4c2704===_0x5db56f)break;else _0x7d7fb0['push'](_0x7d7fb0['shift']());}catch(_0x198104){_0x7d7fb0['push'](_0x7d7fb0['shift']());}}}(_0x501f,0xf0c18));function _0x397f(_0x100480,_0x29395e){const _0x501fd2=_0x501f();return _0x397f=function(_0x397fef,_0x3d783e){_0x397fef=_0x397fef-0x10c;let _0x4d611d=_0x501fd2[_0x397fef];return _0x4d611d;},_0x397f(_0x100480,_0x29395e);}import{LabelView as _0xf058d5,View as _0x1dc0e0}from'ckeditor5/src/ui.js';import{UserView as _0x1979d0}from'ckeditor5-collaboration/src/collaboration-core.js';export default class y extends _0x1dc0e0{[_0x31829e(0x120)];[_0x31829e(0x115)];constructor(_0x264af3,_0x400351,_0x47828d){const _0x2042f7=_0x31829e;super(_0x264af3);const _0x1e2398=this[_0x2042f7(0x127)];this[_0x2042f7(0x113)](_0x2042f7(0x111),!0x1),this[_0x2042f7(0x113)](_0x2042f7(0x11f),!0x0),this[_0x2042f7(0x113)](_0x2042f7(0x126),''),this[_0x2042f7(0x120)]=new _0x1979d0(_0x264af3,_0x400351),this[_0x2042f7(0x115)]=new dt(_0x264af3,_0x400351);const _0x5560d3=new _0xf058d5(_0x264af3);_0x5560d3[_0x2042f7(0x116)][_0x2042f7(0x10c)]=_0x2042f7(0x110),_0x5560d3[_0x2042f7(0x12d)]=_0x400351[_0x2042f7(0x11e)];const _0x50c70e={'tag':_0x2042f7(0x114),'attributes':{'class':['ck',_0x2042f7(0x12e)],'role':_0x2042f7(0x12a),'tabindex':_0x1e2398['to'](_0x2042f7(0x111),_0x5e1917=>!!_0x5e1917&&0x0),'aria-labelledby':_0x5560d3['id'],'data-cke-tooltip-text':this[_0x2042f7(0x120)][_0x2042f7(0x11e)],'data-cke-tooltip-position':_0x1e2398['to'](_0x2042f7(0x126)),'data-cke-tooltip-disabled':_0x1e2398['to'](_0x2042f7(0x11f),_0x3e8231=>!_0x3e8231),'data-cke-tooltip-class':_0x2042f7(0x124)},'children':[this[_0x2042f7(0x120)],this[_0x2042f7(0x115)],_0x5560d3]};_0x47828d&&(_0x50c70e[_0x2042f7(0x10c)]=_0x2042f7(0x123),_0x50c70e['on']={'click':_0x1e2398['to'](()=>this[_0x2042f7(0x12b)](_0x2042f7(0x125)))}),this[_0x2042f7(0x119)](_0x50c70e);}}class dt extends _0x1dc0e0{constructor(_0xda892c,_0x50cffc){const _0xab579a=_0x31829e;super(_0xda892c),this[_0xab579a(0x119)]({'tag':_0xab579a(0x110),'attributes':{'class':['ck',_0xab579a(0x128),_0x50cffc[_0xab579a(0x10f)][_0xab579a(0x11a)]()],'aria-hidden':_0xab579a(0x11d)}});}}
23
+ const _0x27c7b5=_0x20f5;(function(_0x350d75,_0x28a0f1){const _0x972460=_0x20f5,_0xcdf353=_0x350d75();while(!![]){try{const _0x285893=parseInt(_0x972460(0xbf))/0x1+-parseInt(_0x972460(0xb4))/0x2+parseInt(_0x972460(0xc5))/0x3+parseInt(_0x972460(0xbd))/0x4*(parseInt(_0x972460(0xb9))/0x5)+parseInt(_0x972460(0xc0))/0x6*(-parseInt(_0x972460(0xb5))/0x7)+parseInt(_0x972460(0xb8))/0x8+parseInt(_0x972460(0xcd))/0x9*(-parseInt(_0x972460(0xcb))/0xa);if(_0x285893===_0x28a0f1)break;else _0xcdf353['push'](_0xcdf353['shift']());}catch(_0x520a18){_0xcdf353['push'](_0xcdf353['shift']());}}}(_0x292a,0x1970d));import{LabelView as _0x1afcc0,View as _0x560b8d}from'ckeditor5/src/ui.js';function _0x292a(){const _0x2c69d7=['getBackgroundColorClass','fire','330078alSnRp','set','bindTemplate','setTemplate','text','color','80znArFx','isFocusable','94716wmXiIj','hasTooltip','ck-presence-list__list-item__tooltip','ck-presence-list__list-item','true','button','template','listitem','tag','276812FZLVrM','14lNJQLJ','tooltipPosition','markerView','377968YrAlbC','913465YmPoSV','name','ck-presence-list__marker','div','4CLobrU','span','127212waKzUV','421122PPvhex','userView','execute'];_0x292a=function(){return _0x2c69d7;};return _0x292a();}import{UserView as _0x5e0b39}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x20f5(_0xeea69b,_0x381c5b){const _0x292a9d=_0x292a();return _0x20f5=function(_0x20f59a,_0x18045b){_0x20f59a=_0x20f59a-0xb3;let _0x429435=_0x292a9d[_0x20f59a];return _0x429435;},_0x20f5(_0xeea69b,_0x381c5b);}export default class y extends _0x560b8d{[_0x27c7b5(0xc1)];[_0x27c7b5(0xb7)];constructor(_0x4a7f8c,_0x22941c,_0xc63c9f){const _0xa2247e=_0x27c7b5;super(_0x4a7f8c);const _0x207390=this[_0xa2247e(0xc7)];this[_0xa2247e(0xc6)](_0xa2247e(0xcc),!0x1),this[_0xa2247e(0xc6)](_0xa2247e(0xce),!0x0),this[_0xa2247e(0xc6)](_0xa2247e(0xb6),''),this[_0xa2247e(0xc1)]=new _0x5e0b39(_0x4a7f8c,_0x22941c),this[_0xa2247e(0xb7)]=new at(_0x4a7f8c,_0x22941c);const _0x38a6b4=new _0x1afcc0(_0x4a7f8c);_0x38a6b4[_0xa2247e(0xd3)][_0xa2247e(0xb3)]=_0xa2247e(0xbe),_0x38a6b4[_0xa2247e(0xc9)]=_0x22941c[_0xa2247e(0xba)];const _0x135c0={'tag':_0xa2247e(0xbc),'attributes':{'class':['ck',_0xa2247e(0xd0)],'role':_0xa2247e(0xd4),'tabindex':_0x207390['to'](_0xa2247e(0xcc),_0x564fb6=>!!_0x564fb6&&0x0),'aria-labelledby':_0x38a6b4['id'],'data-cke-tooltip-text':this[_0xa2247e(0xc1)][_0xa2247e(0xba)],'data-cke-tooltip-position':_0x207390['to'](_0xa2247e(0xb6)),'data-cke-tooltip-disabled':_0x207390['to'](_0xa2247e(0xce),_0x32b85e=>!_0x32b85e),'data-cke-tooltip-class':_0xa2247e(0xcf)},'children':[this[_0xa2247e(0xc1)],this[_0xa2247e(0xb7)],_0x38a6b4]};_0xc63c9f&&(_0x135c0[_0xa2247e(0xb3)]=_0xa2247e(0xd2),_0x135c0['on']={'click':_0x207390['to'](()=>this[_0xa2247e(0xc4)](_0xa2247e(0xc2)))}),this[_0xa2247e(0xc8)](_0x135c0);}}class at extends _0x560b8d{constructor(_0x7a114a,_0x5ed3c0){const _0x265616=_0x27c7b5;super(_0x7a114a),this[_0x265616(0xc8)]({'tag':_0x265616(0xbe),'attributes':{'class':['ck',_0x265616(0xbb),_0x5ed3c0[_0x265616(0xca)][_0x265616(0xc3)]()],'aria-hidden':_0x265616(0xd1)}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2669(_0x1eb862,_0x227fc9){const _0x4794cc=_0x4794();return _0x2669=function(_0x2669f3,_0x2002ff){_0x2669f3=_0x2669f3-0x10f;let _0x390e1a=_0x4794cc[_0x2669f3];return _0x390e1a;},_0x2669(_0x1eb862,_0x227fc9);}const _0x7b4e75=_0x2669;(function(_0x1c2bcd,_0x2b8323){const _0xad1a9d=_0x2669,_0x1c6152=_0x1c2bcd();while(!![]){try{const _0x461641=-parseInt(_0xad1a9d(0x121))/0x1+parseInt(_0xad1a9d(0x122))/0x2*(parseInt(_0xad1a9d(0x112))/0x3)+parseInt(_0xad1a9d(0x129))/0x4*(parseInt(_0xad1a9d(0x12c))/0x5)+parseInt(_0xad1a9d(0x119))/0x6*(-parseInt(_0xad1a9d(0x11d))/0x7)+-parseInt(_0xad1a9d(0x111))/0x8+-parseInt(_0xad1a9d(0x11c))/0x9*(parseInt(_0xad1a9d(0x11f))/0xa)+-parseInt(_0xad1a9d(0x137))/0xb*(-parseInt(_0xad1a9d(0x110))/0xc);if(_0x461641===_0x2b8323)break;else _0x1c6152['push'](_0x1c6152['shift']());}catch(_0xaba64f){_0x1c6152['push'](_0x1c6152['shift']());}}}(_0x4794,0xe60cf));import{View as _0x1b37da}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x146584}from'ckeditor5/src/utils.js';import{getTranslation as _0x26d7fa}from'../../common-translations.js';export default class ts extends _0x1b37da{[_0x7b4e75(0x113)];[_0x7b4e75(0x116)];constructor(_0x14a35c){const _0x54881c=_0x7b4e75;super(_0x14a35c);const _0x24af37=this[_0x54881c(0x115)];this[_0x54881c(0x113)]=this[_0x54881c(0x118)](),this[_0x54881c(0x116)]=new _0x146584(),this[_0x54881c(0x11a)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x54881c(0x123)]({'tag':_0x54881c(0x11b),'attributes':{'aria-haspopup':_0x24af37['if'](_0x54881c(0x10f)),'aria-expanded':_0x24af37['to'](_0x54881c(0x132),_0x3efbb2=>this[_0x54881c(0x10f)]&&String(_0x3efbb2)),'aria-label':_0x24af37['to'](_0x54881c(0x10f),_0x579bea=>_0x26d7fa(_0x14a35c,_0x579bea?_0x54881c(0x127):_0x54881c(0x12a))),'role':_0x54881c(0x130),'tabindex':_0x24af37['to'](_0x54881c(0x10f),_0xbc04d=>!!_0xbc04d&&0x0),'class':['ck',_0x54881c(0x11e)]},'children':this[_0x54881c(0x113)],'on':{'mouseenter':_0x24af37['to'](()=>this[_0x54881c(0x134)](_0x54881c(0x131))),'mouseleave':_0x24af37['to'](_0x500f0d=>{const _0x5787ac=_0x54881c,_0x1b4a9a=_0x500f0d,_0x53f440=document[_0x5787ac(0x12f)](_0x5787ac(0x125)),_0x4da61b=document[_0x5787ac(0x12f)](_0x5787ac(0x12d));_0x53f440?.[_0x5787ac(0x114)](_0x1b4a9a[_0x5787ac(0x126)])||_0x4da61b?.[_0x5787ac(0x114)](_0x1b4a9a[_0x5787ac(0x126)])||this[_0x5787ac(0x134)](_0x5787ac(0x128));})}}),this['on'](_0x54881c(0x135),(_0x56bb2a,_0x243d1b,_0x499701)=>{const _0x538442=_0x54881c;this[_0x538442(0x133)]&&(_0x499701?this[_0x538442(0x133)][_0x538442(0x120)](_0x538442(0x124),String(this[_0x538442(0x132)])):this[_0x538442(0x133)][_0x538442(0x12b)](_0x538442(0x124)));});}[_0x7b4e75(0x117)](){const _0x319364=_0x7b4e75;this[_0x319364(0x133)][_0x319364(0x117)]();}[_0x7b4e75(0x136)](){const _0xba231f=_0x7b4e75;super[_0xba231f(0x136)](),this[_0xba231f(0x116)][_0xba231f(0x12e)](this[_0xba231f(0x133)]);}}function _0x4794(){const _0x39dbb5=['focus','createCollection','822TphpVW','set','div','3627asMohb','259wZbPxE','ck-presence-list__list','250CScKuo','setAttribute','1500706iGZILI','82OwuVlB','setTemplate','aria-expanded','.ck-presence-list__dropdown-list','relatedTarget','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','presencelist:hide','4yjLYXA','Connected\x20users\x20list','removeAttribute','3537135YYDWMc','.ck-balloon-panel_with-arrow','listenTo','querySelector','list','presencelist:show','isExpanded','element','fire','change:hasPopup','render','22QQSsWV','hasPopup','10907376zaTaSW','3713512hXnkgf','29049GkYyxP','items','contains','bindTemplate','keystrokes'];_0x4794=function(){return _0x39dbb5;};return _0x4794();}
23
+ const _0x32ece3=_0x50e7;function _0x50e7(_0x3d1e64,_0x163709){const _0x542c7e=_0x542c();return _0x50e7=function(_0x50e73c,_0x5d04ff){_0x50e73c=_0x50e73c-0x1af;let _0x37ca9d=_0x542c7e[_0x50e73c];return _0x37ca9d;},_0x50e7(_0x3d1e64,_0x163709);}function _0x542c(){const _0x594e3f=['isExpanded','querySelector','.ck-presence-list__dropdown-list','5876640qPMvbV','6885880aZUtri','render','hasPopup','setAttribute','93969UtNlqn','presencelist:show','list','listenTo','.ck-balloon-panel_with-arrow','presencelist:hide','focus','Connected\x20users\x20list','set','keystrokes','9wYtZFk','12lxIrWU','items','991739hhPDZZ','div','relatedTarget','2370529KlVJFc','element','bindTemplate','49464GPxbRk','contains','fire','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','29983010ScXORf','createCollection','change:hasPopup','8XLFFKO','removeAttribute','ck-presence-list__list','setTemplate','aria-expanded'];_0x542c=function(){return _0x594e3f;};return _0x542c();}(function(_0x483443,_0x58e701){const _0x5d59a6=_0x50e7,_0x59de48=_0x483443();while(!![]){try{const _0x56d3bd=parseInt(_0x5d59a6(0x1b2))/0x1+-parseInt(_0x5d59a6(0x1bf))/0x2*(-parseInt(_0x5d59a6(0x1cc))/0x3)+parseInt(_0x5d59a6(0x1b8))/0x4+parseInt(_0x5d59a6(0x1c8))/0x5+parseInt(_0x5d59a6(0x1b0))/0x6*(parseInt(_0x5d59a6(0x1b5))/0x7)+parseInt(_0x5d59a6(0x1c7))/0x8+parseInt(_0x5d59a6(0x1af))/0x9*(-parseInt(_0x5d59a6(0x1bc))/0xa);if(_0x56d3bd===_0x58e701)break;else _0x59de48['push'](_0x59de48['shift']());}catch(_0x2c5fad){_0x59de48['push'](_0x59de48['shift']());}}}(_0x542c,0xe0a52));import{View as _0x1c2b46}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x346d9e}from'ckeditor5/src/utils.js';import{getTranslation as _0x3cff13}from'../../common-translations.js';export default class ts extends _0x1c2b46{[_0x32ece3(0x1b1)];[_0x32ece3(0x1d5)];constructor(_0x4d1e76){const _0x43edc8=_0x32ece3;super(_0x4d1e76);const _0x378659=this[_0x43edc8(0x1b7)];this[_0x43edc8(0x1b1)]=this[_0x43edc8(0x1bd)](),this[_0x43edc8(0x1d5)]=new _0x346d9e(),this[_0x43edc8(0x1d4)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x43edc8(0x1c2)]({'tag':_0x43edc8(0x1b3),'attributes':{'aria-haspopup':_0x378659['if'](_0x43edc8(0x1ca)),'aria-expanded':_0x378659['to'](_0x43edc8(0x1c4),_0x3802af=>this[_0x43edc8(0x1ca)]&&String(_0x3802af)),'aria-label':_0x378659['to'](_0x43edc8(0x1ca),_0x3849b7=>_0x3cff13(_0x4d1e76,_0x3849b7?_0x43edc8(0x1bb):_0x43edc8(0x1d3))),'role':_0x43edc8(0x1ce),'tabindex':_0x378659['to'](_0x43edc8(0x1ca),_0x52ff5a=>!!_0x52ff5a&&0x0),'class':['ck',_0x43edc8(0x1c1)]},'children':this[_0x43edc8(0x1b1)],'on':{'mouseenter':_0x378659['to'](()=>this[_0x43edc8(0x1ba)](_0x43edc8(0x1cd))),'mouseleave':_0x378659['to'](_0x35085f=>{const _0xe78f93=_0x43edc8,_0x18b7e4=_0x35085f,_0x46e024=document[_0xe78f93(0x1c5)](_0xe78f93(0x1c6)),_0x31c0ea=document[_0xe78f93(0x1c5)](_0xe78f93(0x1d0));_0x46e024?.[_0xe78f93(0x1b9)](_0x18b7e4[_0xe78f93(0x1b4)])||_0x31c0ea?.[_0xe78f93(0x1b9)](_0x18b7e4[_0xe78f93(0x1b4)])||this[_0xe78f93(0x1ba)](_0xe78f93(0x1d1));})}}),this['on'](_0x43edc8(0x1be),(_0x8ca8a5,_0x26a817,_0x3cfe08)=>{const _0xe22c6f=_0x43edc8;this[_0xe22c6f(0x1b6)]&&(_0x3cfe08?this[_0xe22c6f(0x1b6)][_0xe22c6f(0x1cb)](_0xe22c6f(0x1c3),String(this[_0xe22c6f(0x1c4)])):this[_0xe22c6f(0x1b6)][_0xe22c6f(0x1c0)](_0xe22c6f(0x1c3)));});}[_0x32ece3(0x1d2)](){const _0x4e4b33=_0x32ece3;this[_0x4e4b33(0x1b6)][_0x4e4b33(0x1d2)]();}[_0x32ece3(0x1c9)](){const _0x1e32d5=_0x32ece3;super[_0x1e32d5(0x1c9)](),this[_0x1e32d5(0x1d5)][_0x1e32d5(0x1cf)](this[_0x1e32d5(0x1b6)]);}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x409f3a=_0x451c;(function(_0x278132,_0x2be851){const _0x178e18=_0x451c,_0x1c5d4e=_0x278132();while(!![]){try{const _0x2204a2=parseInt(_0x178e18(0x80))/0x1*(-parseInt(_0x178e18(0xb7))/0x2)+-parseInt(_0x178e18(0xd6))/0x3+-parseInt(_0x178e18(0x89))/0x4*(-parseInt(_0x178e18(0xd9))/0x5)+-parseInt(_0x178e18(0xbf))/0x6*(parseInt(_0x178e18(0xb0))/0x7)+-parseInt(_0x178e18(0xd0))/0x8*(parseInt(_0x178e18(0x82))/0x9)+parseInt(_0x178e18(0xb6))/0xa*(-parseInt(_0x178e18(0xc4))/0xb)+parseInt(_0x178e18(0x85))/0xc;if(_0x2204a2===_0x2be851)break;else _0x1c5d4e['push'](_0x1c5d4e['shift']());}catch(_0x3ebdcf){_0x1c5d4e['push'](_0x1c5d4e['shift']());}}}(_0x17c7,0x9b8d3));import{Context as _0x298997,ContextPlugin as _0x87a235}from'ckeditor5/src/core.js';import{CKEditorError as _0x46e55f}from'ckeditor5/src/utils.js';function _0x451c(_0x14587a,_0x556b81){const _0x17c726=_0x17c7();return _0x451c=function(_0x451c68,_0xa91790){_0x451c68=_0x451c68-0x72;let _0x4d1837=_0x17c726[_0x451c68];return _0x4d1837;},_0x451c(_0x14587a,_0x556b81);}import{Users as _0x6a56a9}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x10adfd,User as _0x202e21}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x2a7399 from'../realtimecollaborativeediting/websocketgateway.js';import _0x51d60d from'../realtimecollaborativeediting/sessions.js';class a extends _0x87a235{static [_0x409f3a(0x7f)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x10adfd)());[_0x409f3a(0xbc)];static get[_0x409f3a(0xd2)](){const _0x55555c=_0x409f3a;return[_0x2a7399,_0x55555c(0xa1),_0x51d60d,_0x6a56a9];}static get[_0x409f3a(0x95)](){const _0x4f3033=_0x409f3a;return _0x4f3033(0xc1);}static get[_0x409f3a(0xd4)](){return!0x0;}static get[_0x409f3a(0x96)](){return!0x0;}constructor(_0xb0ccb2){const _0x1ead03=_0x409f3a;super(_0xb0ccb2),this[_0x1ead03(0xbc)]=new Map();}async[_0x409f3a(0x73)](){const _0x44ef62=_0x409f3a,_0x3179ce=this[_0x44ef62(0x7e)],_0x577fdb=_0x3179ce[_0x44ef62(0xb8)][_0x44ef62(0xcd)](_0x44ef62(0xa1));if(_0x3179ce[_0x44ef62(0xb8)][_0x44ef62(0xcd)](_0x2a7399)[_0x44ef62(0xcc)](this),_0x577fdb[_0x44ef62(0x72)]={'addCommentThread':async({channelId:_0x11aedf,threadId:_0x5a534a,comments:_0x4e9081,resolvedAt:_0x2a6b32,resolvedBy:_0x7830ff,context:_0x1ec751,attributes:_0x4cc363})=>{const _0x2f4048=_0x44ef62,_0x368270=await this[_0x2f4048(0xc0)](_0x11aedf)[_0x2f4048(0xa2)]({'commentThreadId':_0x5a534a,'comments':_0x4e9081[_0x2f4048(0xab)](_0x32a884=>function(_0xace420,_0x333e40,_0x31a90d){const _0x280dc4=_0x2f4048;return{'commentThreadId':_0x31a90d,'commentId':_0xace420[_0x280dc4(0xd8)],'userId':_0xace420[_0x280dc4(0x99)],'content':_0xace420[_0x280dc4(0xa6)],'documentId':_0x333e40,'createdAt':_0xace420[_0x280dc4(0x84)],'attributes':_0xace420[_0x280dc4(0xa0)]||{}};}(_0x32a884,_0x11aedf,_0x5a534a)),'resolvedAt':_0x2a6b32,'resolvedBy':_0x7830ff,'context':_0x1ec751,'attributes':_0x4cc363})[_0x2f4048(0x78)](nt);return{'threadId':_0x368270[_0x2f4048(0x83)],'comments':_0x368270[_0x2f4048(0x86)]};},'getCommentThread':async({channelId:_0xfbcebe,threadId:_0x3deef3})=>{const _0x364a17=_0x44ef62,_0x28f30d=await this[_0x364a17(0xc0)](_0xfbcebe)[_0x364a17(0xb2)](_0x3deef3)[_0x364a17(0x78)](nt);return _0x28f30d[_0x364a17(0x9a)]?null:(await this[_0x364a17(0x88)]([_0x28f30d]),{'threadId':_0x28f30d[_0x364a17(0x83)],'comments':_0x28f30d[_0x364a17(0x86)][_0x364a17(0xab)](st),'context':_0x28f30d[_0x364a17(0x7e)],'resolvedAt':_0x28f30d[_0x364a17(0x75)],'resolvedBy':_0x28f30d[_0x364a17(0xa9)],'attributes':_0x28f30d[_0x364a17(0xa0)]||{}});},'updateCommentThread':async({channelId:_0x4d7d11,threadId:_0x137475,context:_0x6fbd46,unlinkedAt:_0x1cad8c,attributes:_0x4720c7})=>this[_0x44ef62(0xc0)](_0x4d7d11)[_0x44ef62(0xa3)]({'commentThreadId':_0x137475,'context':_0x6fbd46,'attributes':_0x4720c7,'unlinkedAt':_0x1cad8c})[_0x44ef62(0x78)](ot)[_0x44ef62(0x78)](nt),'resolveCommentThread':async({channelId:_0x119757,threadId:_0x1339d3})=>{const _0xa3b5b7=_0x44ef62,_0x2bd604=await this[_0xa3b5b7(0xc0)](_0x119757)[_0xa3b5b7(0x87)](_0x1339d3)[_0xa3b5b7(0x78)](ot)[_0xa3b5b7(0x78)](nt);return{'threadId':_0x2bd604[_0xa3b5b7(0x83)],'resolvedAt':_0x2bd604[_0xa3b5b7(0x75)],'resolvedBy':_0x2bd604[_0xa3b5b7(0xa9)]};},'reopenCommentThread':async({channelId:_0x4eb9e7,threadId:_0x1f5d42})=>this[_0x44ef62(0xc0)](_0x4eb9e7)[_0x44ef62(0xa8)](_0x1f5d42)[_0x44ef62(0x78)](ot)[_0x44ef62(0x78)](nt),'removeCommentThread':({channelId:_0x490229,threadId:_0x1f2fd3})=>this[_0x44ef62(0xc0)](_0x490229)[_0x44ef62(0xcf)](_0x1f2fd3)[_0x44ef62(0x78)](ot)[_0x44ef62(0x78)](nt),'addComment':({channelId:_0x231b27,threadId:_0x3c28ae,commentId:_0x36bb98,content:_0x4c0562,attributes:_0x5dcdd9})=>this[_0x44ef62(0xc0)](_0x231b27)[_0x44ef62(0xb4)](_0x3c28ae,_0x36bb98,_0x4c0562,_0x5dcdd9)[_0x44ef62(0x78)](nt),'updateComment':({channelId:_0x2e3884,threadId:_0xcb90e,commentId:_0x50d38b,content:_0x4bd093,attributes:_0x13d922})=>this[_0x44ef62(0xc0)](_0x2e3884)[_0x44ef62(0x9f)](_0xcb90e,_0x50d38b,_0x4bd093,_0x13d922)[_0x44ef62(0x78)](ot)[_0x44ef62(0x78)](nt),'removeComment':({channelId:_0x3d4cb6,threadId:_0x426b42,commentId:_0x29035f})=>this[_0x44ef62(0xc0)](_0x3d4cb6)[_0x44ef62(0xb9)](_0x426b42,_0x29035f)[_0x44ef62(0x78)](ot)[_0x44ef62(0x78)](nt)},_0x3179ce instanceof _0x298997){const _0x4b3453=_0x3179ce[_0x44ef62(0x81)][_0x44ef62(0xcd)](_0x44ef62(0xc5)),_0x59319c=_0x3179ce[_0x44ef62(0xb8)][_0x44ef62(0xcd)](_0x51d60d);await this[_0x44ef62(0xd3)](_0x4b3453);const _0x376b91=await this[_0x44ef62(0xbc)][_0x44ef62(0xcd)](_0x4b3453)[_0x44ef62(0x8b)]();this[_0x44ef62(0xc8)](_0x59319c,_0x44ef62(0x8c)+_0x4b3453,(_0x52aa5a,{session:_0x329cc4})=>{const _0x4cdb34=_0x44ef62;_0x329cc4['id']===_0x59319c[_0x4cdb34(0x8f)]&&(_0x52aa5a[_0x4cdb34(0xae)](),this[_0x4cdb34(0x7e)][_0x4cdb34(0xb8)][_0x4cdb34(0xcd)](_0x4cdb34(0x7a))[_0x4cdb34(0xcb)](_0x329cc4[_0x4cdb34(0xbb)],_0x4b3453));}),_0x59319c[_0x44ef62(0xbd)](_0x4b3453,_0x376b91);}}async[_0x409f3a(0xd3)](_0x1e941f){const _0x368e65=_0x409f3a;if(this[_0x368e65(0xbc)][_0x368e65(0xb5)](_0x1e941f))throw new _0x46e55f(_0x368e65(0x92),null,{'channelId':_0x1e941f});const _0x1d429c=this[_0x368e65(0x7e)][_0x368e65(0xb8)][_0x368e65(0xcd)](_0x368e65(0xa1)),_0x118ec3=new a[(_0x368e65(0x7f))](_0x1e941f);this[_0x368e65(0xbc)][_0x368e65(0xbe)](_0x1e941f,_0x118ec3),this[_0x368e65(0xc8)](_0x118ec3,_0x368e65(0x9d),(_0xf0b7ca,_0x40952e)=>{const _0x27140c=_0x368e65,{commentThreadId:_0x4ffb4e,documentId:_0x62bc35,context:_0x77b0dc,attributes:_0x5c60da,resolvedAt:_0x5c7570,resolvedBy:_0x260084,comments:_0x402fd1}=_0x40952e;_0x1d429c[_0x27140c(0xb2)](_0x4ffb4e)||_0x1d429c[_0x27140c(0xa2)]({'threadId':_0x4ffb4e,'channelId':_0x62bc35,'comments':_0x402fd1?_0x402fd1[_0x27140c(0xab)](st):[],'context':_0x77b0dc,'attributes':_0x5c60da,'resolvedAt':_0x5c7570,'resolvedBy':_0x260084,'isFromAdapter':!0x0});}),this[_0x368e65(0xc8)](_0x118ec3,_0x368e65(0xc2),(_0x4073db,{commentThreadId:_0x31d830,documentId:_0x159c32,context:_0x56b52d,unlinkedAt:_0x3bc571,attributes:_0xc8a445})=>{const _0x9f450f=_0x368e65;_0x1d429c[_0x9f450f(0xb2)](_0x31d830)&&_0x1d429c[_0x9f450f(0xa3)]({'threadId':_0x31d830,'channelId':_0x159c32,'context':_0x56b52d,'unlinkedAt':_0x3bc571,'attributes':_0xc8a445,'isFromAdapter':!0x0});}),this[_0x368e65(0xc8)](_0x118ec3,_0x368e65(0x9e),(_0x284bc1,{commentThreadId:_0x507ec5,resolvedBy:_0x498264,resolvedAt:_0x33a2f6})=>{const _0x4e3b1b=_0x368e65,_0x6b05c=_0x1d429c[_0x4e3b1b(0xb2)](_0x507ec5);_0x6b05c&&_0x6b05c[_0x4e3b1b(0xac)]({'resolvedBy':_0x498264,'resolvedAt':_0x33a2f6,'isFromAdapter':!0x0});}),this[_0x368e65(0xc8)](_0x118ec3,_0x368e65(0xd7),(_0x26354e,{commentThreadId:_0x59f76d})=>{const _0x363251=_0x368e65,_0x14d9fe=_0x1d429c[_0x363251(0xb2)](_0x59f76d);_0x14d9fe&&_0x14d9fe[_0x363251(0x79)]({'isFromAdapter':!0x0});}),this[_0x368e65(0xc8)](_0x118ec3,_0x368e65(0xce),(_0x9bf0c4,{commentThreadId:_0x5e3dd1})=>{const _0xeffcfb=_0x368e65,_0x341d01=_0x1d429c[_0xeffcfb(0xb2)](_0x5e3dd1);_0x341d01&&_0x341d01[_0xeffcfb(0x7c)]({'isFromAdapter':!0x0});}),this[_0x368e65(0xc8)](_0x118ec3,_0x368e65(0x76),(_0x3c15d9,_0x3065fb)=>{const _0x179baa=_0x368e65,_0x24dd6b=_0x3065fb[_0x179baa(0x83)],_0x1c4ce6=_0x1d429c[_0x179baa(0xb2)](_0x24dd6b);_0x1c4ce6&&_0x1c4ce6[_0x179baa(0xb4)]({...st(_0x3065fb),'isFromAdapter':!0x0});}),this[_0x368e65(0xc8)](_0x118ec3,_0x368e65(0xc7),(_0x50c4bc,{commentThreadId:_0x4f5f7b,commentId:_0x550545,content:_0x2d38fb,attributes:_0x64d64a})=>{const _0x5bc6bc=_0x368e65,_0x38d877=_0x1d429c[_0x5bc6bc(0xb2)](_0x4f5f7b);if(_0x38d877){const _0x162644=_0x38d877[_0x5bc6bc(0xd1)](_0x550545);_0x162644&&_0x162644[_0x5bc6bc(0xb3)]({'content':_0x2d38fb,'attributes':_0x64d64a,'isFromAdapter':!0x0});}}),this[_0x368e65(0xc8)](_0x118ec3,_0x368e65(0x97),(_0x3fabc4,{commentThreadId:_0x21e2bf,commentId:_0x37e667})=>{const _0x128220=_0x368e65,_0x5a3605=_0x1d429c[_0x128220(0xb2)](_0x21e2bf);if(_0x5a3605){const _0x4fde84=_0x5a3605[_0x128220(0xd1)](_0x37e667);_0x4fde84&&_0x4fde84[_0x128220(0x7c)]({'isFromAdapter':!0x0});}}),await this[_0x368e65(0xa7)](_0x1e941f);}[_0x409f3a(0x7b)](){const _0x42652b=_0x409f3a;if(this[_0x42652b(0x7e)]instanceof _0x298997){const _0x207c27=this[_0x42652b(0x7e)][_0x42652b(0x81)][_0x42652b(0xcd)](_0x42652b(0xc5));this[_0x42652b(0x9b)](_0x207c27);}}[_0x409f3a(0x9b)](_0xf2d48e){const _0x3dc094=_0x409f3a;if(!this[_0x3dc094(0xbc)][_0x3dc094(0xb5)](_0xf2d48e))throw new _0x46e55f(_0x3dc094(0xc9),null,{'channelId':_0xf2d48e});this[_0x3dc094(0xc0)](_0xf2d48e)[_0x3dc094(0x98)](),this[_0x3dc094(0xbc)][_0x3dc094(0xaf)](_0xf2d48e);}async[_0x409f3a(0x8a)](){const _0x53388a=_0x409f3a;for(const _0x21e1d0 of this[_0x53388a(0xbc)][_0x53388a(0x77)]())await this[_0x53388a(0xa7)](_0x21e1d0);if(this[_0x53388a(0x7e)]instanceof _0x298997){const _0x451c66=this[_0x53388a(0x7e)][_0x53388a(0x81)][_0x53388a(0xcd)](_0x53388a(0xc5)),_0xd579d7=this[_0x53388a(0x7e)][_0x53388a(0xb8)][_0x53388a(0xcd)](_0x51d60d);_0xd579d7[_0x53388a(0xaa)](_0x451c66);const _0x3741e1=await this[_0x53388a(0xbc)][_0x53388a(0xcd)](_0x451c66)[_0x53388a(0x8b)]();_0xd579d7[_0x53388a(0xbd)](_0x451c66,_0x3741e1);}}async[_0x409f3a(0xa7)](_0x4fc9e5){const _0x4831ec=_0x409f3a,{connection:_0x3c0440}=this[_0x4831ec(0x7e)][_0x4831ec(0xb8)][_0x4831ec(0xcd)](_0x2a7399),_0x26c7c4=this[_0x4831ec(0x7e)][_0x4831ec(0xb8)][_0x4831ec(0xcd)](_0x4831ec(0xa1)),_0x2678f5=this[_0x4831ec(0xbc)][_0x4831ec(0xcd)](_0x4fc9e5),_0x438b31=await _0x2678f5[_0x4831ec(0xb1)](_0x3c0440);await this[_0x4831ec(0x88)](_0x438b31);const _0xf6f854=new Set(Array[_0x4831ec(0x74)](_0x26c7c4[_0x4831ec(0x91)]({'channelId':_0x4fc9e5}),_0x1485da=>_0x1485da['id']));for(const _0x25d863 of _0x438b31)_0x25d863[_0x4831ec(0x9a)]||_0xf6f854[_0x4831ec(0xaf)](_0x25d863[_0x4831ec(0x83)]);for(const _0x5f2b48 of _0xf6f854)_0x26c7c4[_0x4831ec(0xb2)](_0x5f2b48)[_0x4831ec(0x7c)]({'isFromAdapter':!0x0});for(const _0x38b3fa of _0x438b31){let _0x91e609=_0x26c7c4[_0x4831ec(0xb2)](_0x38b3fa[_0x4831ec(0x83)]);const {commentThreadId:_0x19e1cb,context:_0x4c02ca,attributes:_0x19a455,resolvedBy:_0x318b96,resolvedAt:_0xc1e2af,unlinkedAt:_0x17bb91,deletedAt:_0x8c4e5c}=_0x38b3fa;if(_0x8c4e5c)continue;_0x91e609||(_0x91e609=_0x26c7c4[_0x4831ec(0xa2)]({'channelId':_0x4fc9e5,'threadId':_0x19e1cb,'context':_0x4c02ca,'attributes':_0x19a455||{},'resolvedBy':_0x318b96,'resolvedAt':_0xc1e2af,'unlinkedAt':_0x17bb91,'isFromAdapter':!0x0}));const _0x1ddd2a=new Set(Array[_0x4831ec(0x74)](_0x91e609[_0x4831ec(0x86)],_0x4b83c8=>_0x4b83c8['id']));for(const _0x11a260 of _0x38b3fa[_0x4831ec(0x86)])_0x1ddd2a[_0x4831ec(0xaf)](_0x11a260[_0x4831ec(0xd8)]);for(const _0x2a4b1b of _0x1ddd2a)_0x91e609[_0x4831ec(0xd1)](_0x2a4b1b)[_0x4831ec(0x7c)]({'isFromAdapter':!0x0});for(const _0x1638c6 of _0x38b3fa[_0x4831ec(0x86)]){const _0xc01576=_0x91e609[_0x4831ec(0xd1)](_0x1638c6[_0x4831ec(0xd8)]);_0xc01576?_0xc01576[_0x4831ec(0xa6)]!==_0x1638c6[_0x4831ec(0xa6)]&&_0xc01576[_0x4831ec(0xb3)]({'content':_0x1638c6[_0x4831ec(0xa6)],'isFromAdapter':!0x0}):_0x91e609[_0x4831ec(0xb4)](Object[_0x4831ec(0x8d)](st(_0x1638c6),{'isFromAdapter':!0x0}));}}}[_0x409f3a(0xc0)](_0x38b3ab){const _0x5642b7=_0x409f3a;if(!this[_0x5642b7(0xbc)][_0x5642b7(0xb5)](_0x38b3ab))throw new _0x46e55f(_0x5642b7(0x90),null,{'channelId':_0x38b3ab});return this[_0x5642b7(0xbc)][_0x5642b7(0xcd)](_0x38b3ab);}async[_0x409f3a(0x88)](_0x3b33e0){const _0x1c5458=_0x409f3a,_0x137497=this[_0x1c5458(0x7e)][_0x1c5458(0xb8)][_0x1c5458(0xcd)](_0x6a56a9),{connection:_0x4aba22}=this[_0x1c5458(0x7e)][_0x1c5458(0xb8)][_0x1c5458(0xcd)](_0x2a7399),_0x4d2cb3=new Set();for(const {resolvedBy:_0x4d7a08,comments:_0x37811f}of _0x3b33e0){_0x4d7a08&&!_0x137497[_0x1c5458(0xc3)](_0x4d7a08)&&_0x4d2cb3[_0x1c5458(0xd5)](_0x4d7a08);for(const {userId:_0x4c1f8a}of _0x37811f)_0x137497[_0x1c5458(0xc3)](_0x4c1f8a)||_0x4d2cb3[_0x1c5458(0xd5)](_0x4c1f8a);}if(0x0===_0x4d2cb3[_0x1c5458(0xad)])return;const _0x5e2442=await _0x202e21[_0x1c5458(0x93)](_0x4aba22,Array[_0x1c5458(0x74)](_0x4d2cb3));for(const _0xb79d2b of _0x5e2442)_0x137497[_0x1c5458(0xc3)](_0xb79d2b['id'])||_0x137497[_0x1c5458(0x9c)](_0xb79d2b);}}export default a;async function ot(_0x14fd8a){const _0x3b91df=_0x409f3a;if(_0x3b91df(0xc6)!==_0x14fd8a[_0x3b91df(0x7d)])throw _0x14fd8a;}function nt(_0x4450b9){const _0x405cb1=_0x409f3a;if((_0x338e1b=_0x4450b9)[_0x405cb1(0xca)][_0x405cb1(0x94)](_0x405cb1(0xa5))||_0x338e1b[_0x405cb1(0xca)][_0x405cb1(0x94)](_0x405cb1(0xba))||_0x338e1b[_0x405cb1(0xca)][_0x405cb1(0x94)](_0x405cb1(0xa4)))return new Promise(()=>{});var _0x338e1b;throw _0x4450b9;}function st(_0x280498){const _0x4787c7=_0x409f3a;return{'threadId':_0x280498[_0x4787c7(0x83)],'commentId':_0x280498[_0x4787c7(0xd8)],'content':_0x280498[_0x4787c7(0xa6)],'createdAt':_0x280498[_0x4787c7(0x84)],'authorId':_0x280498[_0x4787c7(0x8e)],'attributes':_0x280498[_0x4787c7(0xa0)]||{}};}function _0x17c7(){const _0x458e30=['resolveCommentThread','_fetchMissingUsersForThreads','88756bgiAhp','reconnect','getConnectedSessions','sessionAdd:','assign','userId','mySessionId','cloudservicescommentsadapter-service-not-exist','getCommentThreads','cloudservicescommentsadapter-connect-already-connected','getMany','startsWith','pluginName','isPremiumPlugin','commentRemoved','disconnect','authorId','deletedAt','_terminateService','addUser','commentThreadAdded','commentThreadResolved','updateComment','attributes','CommentsRepository','addCommentThread','updateCommentThread','cloud-services-internal-error:\x20Request\x20timeout.','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','content','_connectService','reopenCommentThread','resolvedBy','unregister','map','resolve','size','off','delete','13580rUPHVf','connect','getCommentThread','update','addComment','has','10KnbYhN','3502fJZFYS','plugins','removeComment','cloud-services-internal-error:\x20Not\x20connected.','permissions','_services','register','set','3252UcJepf','_getService','CloudServicesCommentsAdapter','commentThreadUpdated','getUser','10170677incTKn','collaboration.channelId','404','commentUpdated','listenTo','cloudservicescommentsadapter-disconnect-not-exist','message','setPermissions','addToReconnectionStack','get','commentThreadRemoved','removeCommentThread','24wXjbwG','getComment','requires','_setUpService','isOfficialPlugin','add','1416243tyNSEC','commentThreadReopened','commentId','205MSJIfQ','adapter','init','from','resolvedAt','commentAdded','keys','catch','reopen','Permissions','destroy','remove','code','context','CommentsService','124ijXtFk','config','2149074JcwQNj','commentThreadId','createdAt','37308480BdUjID','comments'];_0x17c7=function(){return _0x458e30;};return _0x17c7();}
23
+ const _0x1e5147=_0x45b9;(function(_0x4d65d2,_0x557a7f){const _0x4f0a1a=_0x45b9,_0x211843=_0x4d65d2();while(!![]){try{const _0x37daf7=parseInt(_0x4f0a1a(0xe5))/0x1*(-parseInt(_0x4f0a1a(0xca))/0x2)+-parseInt(_0x4f0a1a(0xdf))/0x3*(-parseInt(_0x4f0a1a(0x8a))/0x4)+-parseInt(_0x4f0a1a(0xe7))/0x5+parseInt(_0x4f0a1a(0xb7))/0x6+parseInt(_0x4f0a1a(0xbb))/0x7+-parseInt(_0x4f0a1a(0xd8))/0x8*(-parseInt(_0x4f0a1a(0x8b))/0x9)+-parseInt(_0x4f0a1a(0xba))/0xa*(-parseInt(_0x4f0a1a(0xad))/0xb);if(_0x37daf7===_0x557a7f)break;else _0x211843['push'](_0x211843['shift']());}catch(_0x1b2d4c){_0x211843['push'](_0x211843['shift']());}}}(_0x18a5,0xc1ed5));import{Context as _0xafe476,ContextPlugin as _0x8d23b8}from'ckeditor5/src/core.js';import{CKEditorError as _0x32afb8}from'ckeditor5/src/utils.js';import{Users as _0x5d8f2a}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x1860f5,User as _0x237848}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x42ab98 from'../realtimecollaborativeediting/websocketgateway.js';import _0x50ee1f from'../realtimecollaborativeediting/sessions.js';function _0x45b9(_0x56668b,_0x4bb143){const _0x18a559=_0x18a5();return _0x45b9=function(_0x45b923,_0x294bac){_0x45b923=_0x45b923-0x81;let _0x1c5f4c=_0x18a559[_0x45b923];return _0x1c5f4c;},_0x45b9(_0x56668b,_0x4bb143);}class a extends _0x8d23b8{static [_0x1e5147(0x90)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x1860f5)());[_0x1e5147(0xe4)];static get[_0x1e5147(0xb2)](){const _0x15b453=_0x1e5147;return[_0x42ab98,_0x15b453(0xd6),_0x50ee1f,_0x5d8f2a];}static get[_0x1e5147(0x8c)](){const _0x52d566=_0x1e5147;return _0x52d566(0xcc);}static get[_0x1e5147(0xd4)](){return!0x0;}static get[_0x1e5147(0xd3)](){return!0x0;}constructor(_0x2aba5c){const _0x199b10=_0x1e5147;super(_0x2aba5c),this[_0x199b10(0xe4)]=new Map();}async[_0x1e5147(0xa8)](){const _0x10a16f=_0x1e5147,_0x4466fa=this[_0x10a16f(0xb8)],_0xec0a70=_0x4466fa[_0x10a16f(0x99)][_0x10a16f(0xcf)](_0x10a16f(0xd6));if(_0x4466fa[_0x10a16f(0x99)][_0x10a16f(0xcf)](_0x42ab98)[_0x10a16f(0xd0)](this),_0xec0a70[_0x10a16f(0xb9)]={'addCommentThread':async({channelId:_0x3ed341,threadId:_0x58015f,comments:_0xab1582,resolvedAt:_0x270378,resolvedBy:_0x5ef3f1,context:_0x3d1048,attributes:_0x41f8e6})=>{const _0x50ffa0=_0x10a16f,_0x297e6a=await this[_0x50ffa0(0x96)](_0x3ed341)[_0x50ffa0(0xdd)]({'commentThreadId':_0x58015f,'comments':_0xab1582[_0x50ffa0(0x9e)](_0x12c18b=>function(_0x5aaf1f,_0x3d6ea8,_0x349f47){const _0x4e68eb=_0x50ffa0;return{'commentThreadId':_0x349f47,'commentId':_0x5aaf1f[_0x4e68eb(0x9d)],'userId':_0x5aaf1f[_0x4e68eb(0x97)],'content':_0x5aaf1f[_0x4e68eb(0xb6)],'documentId':_0x3d6ea8,'createdAt':_0x5aaf1f[_0x4e68eb(0x83)],'attributes':_0x5aaf1f[_0x4e68eb(0xe2)]||{}};}(_0x12c18b,_0x3ed341,_0x58015f)),'resolvedAt':_0x270378,'resolvedBy':_0x5ef3f1,'context':_0x3d1048,'attributes':_0x41f8e6})[_0x50ffa0(0xe3)](R);return{'threadId':_0x297e6a[_0x50ffa0(0xc6)],'comments':_0x297e6a[_0x50ffa0(0xa6)]};},'getCommentThread':async({channelId:_0x586108,threadId:_0x16f470})=>{const _0x543b98=_0x10a16f,_0xa1c60f=await this[_0x543b98(0x96)](_0x586108)[_0x543b98(0x89)](_0x16f470)[_0x543b98(0xe3)](R);return _0xa1c60f[_0x543b98(0xd7)]?null:(await this[_0x543b98(0xe1)]([_0xa1c60f]),{'threadId':_0xa1c60f[_0x543b98(0xc6)],'comments':_0xa1c60f[_0x543b98(0xa6)][_0x543b98(0x9e)](_),'context':_0xa1c60f[_0x543b98(0xb8)],'resolvedAt':_0xa1c60f[_0x543b98(0xce)],'resolvedBy':_0xa1c60f[_0x543b98(0xc1)],'attributes':_0xa1c60f[_0x543b98(0xe2)]||{}});},'updateCommentThread':async({channelId:_0x22ef55,threadId:_0x4d48fd,context:_0x34712d,unlinkedAt:_0x40a4ba,attributes:_0x4a1c4b})=>this[_0x10a16f(0x96)](_0x22ef55)[_0x10a16f(0xa7)]({'commentThreadId':_0x4d48fd,'context':_0x34712d,'attributes':_0x4a1c4b,'unlinkedAt':_0x40a4ba})[_0x10a16f(0xe3)](S)[_0x10a16f(0xe3)](R),'resolveCommentThread':async({channelId:_0x37a4e9,threadId:_0x312b96})=>{const _0x3c2e47=_0x10a16f,_0x295c5c=await this[_0x3c2e47(0x96)](_0x37a4e9)[_0x3c2e47(0xac)](_0x312b96)[_0x3c2e47(0xe3)](S)[_0x3c2e47(0xe3)](R);return{'threadId':_0x295c5c[_0x3c2e47(0xc6)],'resolvedAt':_0x295c5c[_0x3c2e47(0xce)],'resolvedBy':_0x295c5c[_0x3c2e47(0xc1)]};},'reopenCommentThread':async({channelId:_0x46f833,threadId:_0x20d446})=>this[_0x10a16f(0x96)](_0x46f833)[_0x10a16f(0xb5)](_0x20d446)[_0x10a16f(0xe3)](S)[_0x10a16f(0xe3)](R),'removeCommentThread':({channelId:_0x5e98fa,threadId:_0x22c2da})=>this[_0x10a16f(0x96)](_0x5e98fa)[_0x10a16f(0x82)](_0x22c2da)[_0x10a16f(0xe3)](S)[_0x10a16f(0xe3)](R),'addComment':({channelId:_0x445efc,threadId:_0x29c92d,commentId:_0x54388b,content:_0x462130,attributes:_0x1d1842})=>this[_0x10a16f(0x96)](_0x445efc)[_0x10a16f(0x95)](_0x29c92d,_0x54388b,_0x462130,_0x1d1842)[_0x10a16f(0xe3)](R),'updateComment':({channelId:_0x282cf3,threadId:_0x12023b,commentId:_0x4e8969,content:_0x545958,attributes:_0x3aa6d0})=>this[_0x10a16f(0x96)](_0x282cf3)[_0x10a16f(0xdb)](_0x12023b,_0x4e8969,_0x545958,_0x3aa6d0)[_0x10a16f(0xe3)](S)[_0x10a16f(0xe3)](R),'removeComment':({channelId:_0x31ac3b,threadId:_0xdcd394,commentId:_0x11dcc9})=>this[_0x10a16f(0x96)](_0x31ac3b)[_0x10a16f(0xae)](_0xdcd394,_0x11dcc9)[_0x10a16f(0xe3)](S)[_0x10a16f(0xe3)](R)},_0x4466fa instanceof _0xafe476){const _0xaf0778=_0x4466fa[_0x10a16f(0xcd)][_0x10a16f(0xcf)](_0x10a16f(0x8d)),_0x464c59=_0x4466fa[_0x10a16f(0x99)][_0x10a16f(0xcf)](_0x50ee1f);await this[_0x10a16f(0xb3)](_0xaf0778);const _0x390018=await this[_0x10a16f(0xe4)][_0x10a16f(0xcf)](_0xaf0778)[_0x10a16f(0xa2)]();this[_0x10a16f(0xdc)](_0x464c59,_0x10a16f(0xe6)+_0xaf0778,(_0x50d694,{session:_0x533a67})=>{const _0x1e609b=_0x10a16f;_0x533a67['id']===_0x464c59[_0x1e609b(0x8f)]&&(_0x50d694[_0x1e609b(0xab)](),this[_0x1e609b(0xb8)][_0x1e609b(0x99)][_0x1e609b(0xcf)](_0x1e609b(0xc5))[_0x1e609b(0x9a)](_0x533a67[_0x1e609b(0xde)],_0xaf0778));}),_0x464c59[_0x10a16f(0xc0)](_0xaf0778,_0x390018);}}async[_0x1e5147(0xb3)](_0x3b024c){const _0xb8e825=_0x1e5147;if(this[_0xb8e825(0xe4)][_0xb8e825(0xbe)](_0x3b024c))throw new _0x32afb8(_0xb8e825(0xa1),null,{'channelId':_0x3b024c});const _0x210009=this[_0xb8e825(0xb8)][_0xb8e825(0x99)][_0xb8e825(0xcf)](_0xb8e825(0xd6)),_0x1b08bc=new a[(_0xb8e825(0x90))](_0x3b024c);this[_0xb8e825(0xe4)][_0xb8e825(0x9f)](_0x3b024c,_0x1b08bc),this[_0xb8e825(0xdc)](_0x1b08bc,_0xb8e825(0x8e),(_0x32e665,_0x5c382f)=>{const _0x66d32b=_0xb8e825,{commentThreadId:_0x88fbeb,documentId:_0x19a360,context:_0x32cb49,attributes:_0xb5b723,resolvedAt:_0x479108,resolvedBy:_0x8bf1d1,comments:_0x55864b}=_0x5c382f;_0x210009[_0x66d32b(0x89)](_0x88fbeb)||_0x210009[_0x66d32b(0xdd)]({'threadId':_0x88fbeb,'channelId':_0x19a360,'comments':_0x55864b?_0x55864b[_0x66d32b(0x9e)](_):[],'context':_0x32cb49,'attributes':_0xb5b723,'resolvedAt':_0x479108,'resolvedBy':_0x8bf1d1,'isFromAdapter':!0x0});}),this[_0xb8e825(0xdc)](_0x1b08bc,_0xb8e825(0xcb),(_0x57ee14,{commentThreadId:_0x4cec87,documentId:_0x4b9786,context:_0x5c7d25,unlinkedAt:_0x8ab461,attributes:_0x1ce430})=>{const _0x5e7317=_0xb8e825;_0x210009[_0x5e7317(0x89)](_0x4cec87)&&_0x210009[_0x5e7317(0xa7)]({'threadId':_0x4cec87,'channelId':_0x4b9786,'context':_0x5c7d25,'unlinkedAt':_0x8ab461,'attributes':_0x1ce430,'isFromAdapter':!0x0});}),this[_0xb8e825(0xdc)](_0x1b08bc,_0xb8e825(0x81),(_0x5ef85d,{commentThreadId:_0x231032,resolvedBy:_0x2fa56d,resolvedAt:_0x34095c})=>{const _0x304d6d=_0xb8e825,_0x1ecde7=_0x210009[_0x304d6d(0x89)](_0x231032);_0x1ecde7&&_0x1ecde7[_0x304d6d(0x85)]({'resolvedBy':_0x2fa56d,'resolvedAt':_0x34095c,'isFromAdapter':!0x0});}),this[_0xb8e825(0xdc)](_0x1b08bc,_0xb8e825(0x88),(_0x234021,{commentThreadId:_0x3a2b22})=>{const _0x1d0cea=_0xb8e825,_0x4da31c=_0x210009[_0x1d0cea(0x89)](_0x3a2b22);_0x4da31c&&_0x4da31c[_0x1d0cea(0xaf)]({'isFromAdapter':!0x0});}),this[_0xb8e825(0xdc)](_0x1b08bc,_0xb8e825(0xc9),(_0x178c8b,{commentThreadId:_0x12e88d})=>{const _0x3c847d=_0xb8e825,_0x4dce35=_0x210009[_0x3c847d(0x89)](_0x12e88d);_0x4dce35&&_0x4dce35[_0x3c847d(0xd9)]({'isFromAdapter':!0x0});}),this[_0xb8e825(0xdc)](_0x1b08bc,_0xb8e825(0xb4),(_0x1eeaa9,_0x46df8e)=>{const _0x3cdcff=_0xb8e825,_0x145a60=_0x46df8e[_0x3cdcff(0xc6)],_0x39c5eb=_0x210009[_0x3cdcff(0x89)](_0x145a60);_0x39c5eb&&_0x39c5eb[_0x3cdcff(0x95)]({..._(_0x46df8e),'isFromAdapter':!0x0});}),this[_0xb8e825(0xdc)](_0x1b08bc,_0xb8e825(0xe0),(_0x3432af,{commentThreadId:_0x57b92e,commentId:_0x3bba1e,content:_0x534807,attributes:_0x2a797a})=>{const _0x89f84d=_0xb8e825,_0x241430=_0x210009[_0x89f84d(0x89)](_0x57b92e);if(_0x241430){const _0x1b46e1=_0x241430[_0x89f84d(0xa3)](_0x3bba1e);_0x1b46e1&&_0x1b46e1[_0x89f84d(0x9b)]({'content':_0x534807,'attributes':_0x2a797a,'isFromAdapter':!0x0});}}),this[_0xb8e825(0xdc)](_0x1b08bc,_0xb8e825(0xa4),(_0x278616,{commentThreadId:_0x36561f,commentId:_0x43fd14})=>{const _0xd16ad2=_0xb8e825,_0x11dd9a=_0x210009[_0xd16ad2(0x89)](_0x36561f);if(_0x11dd9a){const _0x1bcdc2=_0x11dd9a[_0xd16ad2(0xa3)](_0x43fd14);_0x1bcdc2&&_0x1bcdc2[_0xd16ad2(0xd9)]({'isFromAdapter':!0x0});}}),await this[_0xb8e825(0xc2)](_0x3b024c);}[_0x1e5147(0xc7)](){const _0x28e47b=_0x1e5147;if(this[_0x28e47b(0xb8)]instanceof _0xafe476){const _0x11520b=this[_0x28e47b(0xb8)][_0x28e47b(0xcd)][_0x28e47b(0xcf)](_0x28e47b(0x8d));this[_0x28e47b(0x84)](_0x11520b);}}[_0x1e5147(0x84)](_0x426ca0){const _0x3d2823=_0x1e5147;if(!this[_0x3d2823(0xe4)][_0x3d2823(0xbe)](_0x426ca0))throw new _0x32afb8(_0x3d2823(0xd1),null,{'channelId':_0x426ca0});this[_0x3d2823(0x96)](_0x426ca0)[_0x3d2823(0x92)](),this[_0x3d2823(0xe4)][_0x3d2823(0x86)](_0x426ca0);}async[_0x1e5147(0xbc)](){const _0x27d2cb=_0x1e5147;for(const _0x3ed388 of this[_0x27d2cb(0xe4)][_0x27d2cb(0xbd)]())await this[_0x27d2cb(0xc2)](_0x3ed388);if(this[_0x27d2cb(0xb8)]instanceof _0xafe476){const _0x3ab252=this[_0x27d2cb(0xb8)][_0x27d2cb(0xcd)][_0x27d2cb(0xcf)](_0x27d2cb(0x8d)),_0x34dbf9=this[_0x27d2cb(0xb8)][_0x27d2cb(0x99)][_0x27d2cb(0xcf)](_0x50ee1f);_0x34dbf9[_0x27d2cb(0xb0)](_0x3ab252);const _0x128ed1=await this[_0x27d2cb(0xe4)][_0x27d2cb(0xcf)](_0x3ab252)[_0x27d2cb(0xa2)]();_0x34dbf9[_0x27d2cb(0xc0)](_0x3ab252,_0x128ed1);}}async[_0x1e5147(0xc2)](_0x4cadbc){const _0x1c14dd=_0x1e5147,{connection:_0x311b82}=this[_0x1c14dd(0xb8)][_0x1c14dd(0x99)][_0x1c14dd(0xcf)](_0x42ab98),_0x5ecf97=this[_0x1c14dd(0xb8)][_0x1c14dd(0x99)][_0x1c14dd(0xcf)](_0x1c14dd(0xd6)),_0x7696f5=this[_0x1c14dd(0xe4)][_0x1c14dd(0xcf)](_0x4cadbc),_0xd8d8b=await _0x7696f5[_0x1c14dd(0xa0)](_0x311b82);await this[_0x1c14dd(0xe1)](_0xd8d8b);const _0x50a704=new Set(Array[_0x1c14dd(0xa9)](_0x5ecf97[_0x1c14dd(0x87)]({'channelId':_0x4cadbc}),_0x582d53=>_0x582d53['id']));for(const _0x1e5c00 of _0xd8d8b)_0x1e5c00[_0x1c14dd(0xd7)]||_0x50a704[_0x1c14dd(0x86)](_0x1e5c00[_0x1c14dd(0xc6)]);for(const _0x20d852 of _0x50a704)_0x5ecf97[_0x1c14dd(0x89)](_0x20d852)[_0x1c14dd(0xd9)]({'isFromAdapter':!0x0});for(const _0x5d0ae1 of _0xd8d8b){let _0x2d3b49=_0x5ecf97[_0x1c14dd(0x89)](_0x5d0ae1[_0x1c14dd(0xc6)]);const {commentThreadId:_0x1d67cb,context:_0x23f1ab,attributes:_0x4fd132,resolvedBy:_0x201343,resolvedAt:_0x5ae449,unlinkedAt:_0x45ab5a,deletedAt:_0x59000b}=_0x5d0ae1;if(_0x59000b)continue;_0x2d3b49||(_0x2d3b49=_0x5ecf97[_0x1c14dd(0xdd)]({'channelId':_0x4cadbc,'threadId':_0x1d67cb,'context':_0x23f1ab,'attributes':_0x4fd132||{},'resolvedBy':_0x201343,'resolvedAt':_0x5ae449,'unlinkedAt':_0x45ab5a,'isFromAdapter':!0x0}));const _0x32677a=new Set(Array[_0x1c14dd(0xa9)](_0x2d3b49[_0x1c14dd(0xa6)],_0x3bef19=>_0x3bef19['id']));for(const _0x16d2ed of _0x5d0ae1[_0x1c14dd(0xa6)])_0x32677a[_0x1c14dd(0x86)](_0x16d2ed[_0x1c14dd(0x9d)]);for(const _0x58e268 of _0x32677a)_0x2d3b49[_0x1c14dd(0xa3)](_0x58e268)[_0x1c14dd(0xd9)]({'isFromAdapter':!0x0});for(const _0x242b69 of _0x5d0ae1[_0x1c14dd(0xa6)]){const _0x1d230a=_0x2d3b49[_0x1c14dd(0xa3)](_0x242b69[_0x1c14dd(0x9d)]);_0x1d230a?_0x1d230a[_0x1c14dd(0xb6)]!==_0x242b69[_0x1c14dd(0xb6)]&&_0x1d230a[_0x1c14dd(0x9b)]({'content':_0x242b69[_0x1c14dd(0xb6)],'isFromAdapter':!0x0}):_0x2d3b49[_0x1c14dd(0x95)](Object[_0x1c14dd(0xaa)](_(_0x242b69),{'isFromAdapter':!0x0}));}}}[_0x1e5147(0x96)](_0x1d59c7){const _0x5c3855=_0x1e5147;if(!this[_0x5c3855(0xe4)][_0x5c3855(0xbe)](_0x1d59c7))throw new _0x32afb8(_0x5c3855(0xda),null,{'channelId':_0x1d59c7});return this[_0x5c3855(0xe4)][_0x5c3855(0xcf)](_0x1d59c7);}async[_0x1e5147(0xe1)](_0xe8bc1e){const _0x1695fa=_0x1e5147,_0x255f15=this[_0x1695fa(0xb8)][_0x1695fa(0x99)][_0x1695fa(0xcf)](_0x5d8f2a),{connection:_0x3dc78a}=this[_0x1695fa(0xb8)][_0x1695fa(0x99)][_0x1695fa(0xcf)](_0x42ab98),_0xfe1659=new Set();for(const {resolvedBy:_0x362728,comments:_0x5b3395}of _0xe8bc1e){_0x362728&&!_0x255f15[_0x1695fa(0xc3)](_0x362728)&&_0xfe1659[_0x1695fa(0x98)](_0x362728);for(const {userId:_0x53e100}of _0x5b3395)_0x255f15[_0x1695fa(0xc3)](_0x53e100)||_0xfe1659[_0x1695fa(0x98)](_0x53e100);}if(0x0===_0xfe1659[_0x1695fa(0x91)])return;const _0x4548ca=await _0x237848[_0x1695fa(0xd5)](_0x3dc78a,Array[_0x1695fa(0xa9)](_0xfe1659));for(const _0x53b58c of _0x4548ca)_0x255f15[_0x1695fa(0xc3)](_0x53b58c['id'])||_0x255f15[_0x1695fa(0xc4)](_0x53b58c);}}export default a;async function S(_0x1d2dd2){const _0x438cb3=_0x1e5147;if(_0x438cb3(0xd2)!==_0x1d2dd2[_0x438cb3(0x94)])throw _0x1d2dd2;}function R(_0x310624){const _0x12a3ab=_0x1e5147;if((_0x3ae4ad=_0x310624)[_0x12a3ab(0xbf)][_0x12a3ab(0xc8)](_0x12a3ab(0x93))||_0x3ae4ad[_0x12a3ab(0xbf)][_0x12a3ab(0xc8)](_0x12a3ab(0xa5))||_0x3ae4ad[_0x12a3ab(0xbf)][_0x12a3ab(0xc8)](_0x12a3ab(0xb1)))return new Promise(()=>{});var _0x3ae4ad;throw _0x310624;}function _0x18a5(){const _0x48edb6=['set','connect','cloudservicescommentsadapter-connect-already-connected','getConnectedSessions','getComment','commentRemoved','cloud-services-internal-error:\x20Not\x20connected.','comments','updateCommentThread','init','from','assign','off','resolveCommentThread','4120853zlhnXL','removeComment','reopen','unregister','cloud-services-internal-error:\x20Request\x20timeout.','requires','_setUpService','commentAdded','reopenCommentThread','content','8635470SSFthY','context','adapter','10VZYCHu','2447837tbtuIQ','reconnect','keys','has','message','register','resolvedBy','_connectService','getUser','addUser','Permissions','commentThreadId','destroy','startsWith','commentThreadRemoved','1242faHVPC','commentThreadUpdated','CloudServicesCommentsAdapter','config','resolvedAt','get','addToReconnectionStack','cloudservicescommentsadapter-disconnect-not-exist','404','isPremiumPlugin','isOfficialPlugin','getMany','CommentsRepository','deletedAt','16rTRraF','remove','cloudservicescommentsadapter-service-not-exist','updateComment','listenTo','addCommentThread','permissions','72273yzXHwk','commentUpdated','_fetchMissingUsersForThreads','attributes','catch','_services','2039hdScdo','sessionAdd:','3579410rUYYQl','commentThreadResolved','removeCommentThread','createdAt','_terminateService','resolve','delete','getCommentThreads','commentThreadReopened','getCommentThread','76PwiIpp','698121dSJdpg','pluginName','collaboration.channelId','commentThreadAdded','mySessionId','CommentsService','size','disconnect','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','code','addComment','_getService','authorId','add','plugins','setPermissions','update','userId','commentId','map'];_0x18a5=function(){return _0x48edb6;};return _0x18a5();}function _(_0x33e0fe){const _0x1711be=_0x1e5147;return{'threadId':_0x33e0fe[_0x1711be(0xc6)],'commentId':_0x33e0fe[_0x1711be(0x9d)],'content':_0x33e0fe[_0x1711be(0xb6)],'createdAt':_0x33e0fe[_0x1711be(0x83)],'authorId':_0x33e0fe[_0x1711be(0x9c)],'attributes':_0x33e0fe[_0x1711be(0xe2)]||{}};}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a1877=_0x5751;(function(_0x236bb5,_0x57f552){const _0x10fffd=_0x5751,_0x4f726d=_0x236bb5();while(!![]){try{const _0x440762=-parseInt(_0x10fffd(0x24d))/0x1*(-parseInt(_0x10fffd(0x191))/0x2)+-parseInt(_0x10fffd(0x230))/0x3+-parseInt(_0x10fffd(0x1fc))/0x4+parseInt(_0x10fffd(0x1fe))/0x5+-parseInt(_0x10fffd(0x1f4))/0x6+-parseInt(_0x10fffd(0x1f7))/0x7*(parseInt(_0x10fffd(0x177))/0x8)+parseInt(_0x10fffd(0x16f))/0x9;if(_0x440762===_0x57f552)break;else _0x4f726d['push'](_0x4f726d['shift']());}catch(_0x201a0c){_0x4f726d['push'](_0x4f726d['shift']());}}}(_0x58ee,0xc6140));import{Plugin as _0xe3ca4,PendingActions as _0x5bcf16}from'ckeditor5/src/core.js';import{CKEditorError as _0xd64ee2,version as _0x28efa7,uid as _0x51e98e}from'ckeditor5/src/utils.js';function _0x58ee(){const _0x53e192=['targetPosition','filter','fire','_document','sendOperations','_isLoaded','connect','getOperations','_sendBufferedOperationsDelayId','includes','userId','_isAttached','decompress','_pendingAction','_fetchMissingUsers','document:write','apply','markers','compress','clone','path','message','InsertOperation','_channelId','suppressErrorInCollaboration','_hasSelectionChanged','requires','addToReconnectionStack','keys','map','_initThrowingOnDataSet','batch','change:range','offset','disableReadOnlyMode','has','_connectAfterSessionHasBeenFlushed','startsWith','forEach','addRootAttribute','_handleExternalOperations','getIdOfTheLastOperation','_loadRoot','3191490gNPNvJ','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.','_sendBufferedOperationsDelayed','parse','_baseBufferDelay','_ignoredOperations','init','_waitUntilSynced','$root','unregister','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','position','addOperation','_saveOperationInBuffer','stop','_isDisconnection','_shouldSendSelectionUpdate','newRange','operationsReceived','createRoot','rtc-destroyed','sessionId','connection','rootsAttributes','_addKnownRoot','_handleReceivedOperations','root','_bufferedOperations','_compressor','6393ORaShB','409','catch','marker','editor','size','createPositionFromPath','define','getDocumentDetails','return','isPremiumPlugin','_isPendingUpdate','isOfficialPlugin','addRoot','_shouldSendUpdate','rootName','cloudDocumentVersion','push','_lastSyncedOperationId','directChange','RealTimeCollaborationClient','listenTo','applyOperation','_currentBufferDelay','enqueueChange','disconnect','_bufferRootLoad','lastDocumentSession','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','getUser','view','bind','_applyOperationsSet','realtimecollaborationclient-handleserverresponse','cloud-services-internal-error:\x20Request\x20timeout.','enableReadOnlyMode','pluginName','baseVersion','isReadOnly','25884963uYVech','finally','Permissions','version','_isEditingAllowed','cloudServices.bundleVersion','_knownRootNames','_decompressOperations','544ezXgqH','getRoot','_sendBufferedOperations','_getOperationsFromInitData','CollaborativeEditingService','createPositionAt','_refreshUserSelectionMarkers','createdAt','404','stopListening','high','_setUpDataInit','_handleReconnectionResponse','wasUndone','PENDING_ACTION_SENDING_DATA','_handleSendingSelectionMarkers','config','_compressOperations','collaboration-missing-channelid','type','_authorId','_isConnected','change:_isPendingUpdate','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.','realtimecollaborationclient-init-document-already-initialized','realtimecollaborationclient','12KDvCTQ','state','serverHistory','multi-root-editor-root-attributes-no-root','affectedSelectable','_knownOperations','_setPendingAction','_handleReconnectionError','isUndoneOperation','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','slice','history','__className','cloud-services-internal-error:\x20Not\x20connected.','createRange','fromJSON','model','_initSessionsHandling','realtimecollaborationclient-init-non-existent-root','_clearPendingAction','from','_getAffectedRoot','start','realtimecollaborationclient-error','rtc-offline','getOperationAuthor','roots','cs:removeUser','realtimecollaborationclient-init-service-incorrect-server-operation','setIdForTheLastOperation','_service','length','_operationToId','string','setPermissions','_lastServerVersion','mySessionId','CommentsOnly','permissions','entries','_hasSynchronizationProblem','data','_operationIdentifier','lastOperationId','_crash','isDocumentOperation','collaboration','reconnection:\x20flushed\x20session','isEnabled','removeFromReconnectionStack','end','code','realtimecollaborationclient-init-connection-failed','createUserMarkerOperations','wereChangesApplied','locale','attributes','lastOperationAcceptedAt','showWarning','_connectService','insert','realtimecollaborationclient-sendbufferedoperations','metadata','connected','realtimecollaborationclient-init-service-internal-error','collaboration.channelId','currentDocumentSession','add','_isInit','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_updateServerHistory','register','channelSessions','editing','destroy','differ','reconnect','_handleInitialConnectionData','affectsData','disconnected','lastSyncVersion','loadRoot','move','getMany','_disconnectionOperations','round','set','off','real-time-collaboration','initData','document','then','realtimecollaborationclient-init-session-connection-error','change:hasDomSelection','Synchronization\x20issue','plugins','selection','ready','change:_isEditingAllowed','3956082ObRTmn','sessionAdd:','sessionCreatedAt','146783QSthUS','reset','_offset','_disconnectService','getConnectedSessions','1874020bTcfNK','error','7572185WsTtYe','Notification','_handleServerResponse','get','remove','toJSON','addUser'];_0x58ee=function(){return _0x53e192;};return _0x58ee();}import{Notification as _0x3ccb09}from'ckeditor5/src/ui.js';import{transformSets as _0x59c407,NoOperation as _0x47ca6c,InsertOperation as _0x3c0277,MarkerOperation as _0x1d31d9,RootAttributeOperation as _0x2ffcbc,OperationFactory as _0x483045,History as _0x35de09}from'ckeditor5/src/engine.js';import _0x575c49 from'./websocketgateway.js';function _0x5751(_0x5c7c64,_0x550dc8){const _0x58ee99=_0x58ee();return _0x5751=function(_0x5751b9,_0x26ac79){_0x5751b9=_0x5751b9-0x16e;let _0x594143=_0x58ee99[_0x5751b9];return _0x594143;},_0x5751(_0x5c7c64,_0x550dc8);}import _0x1c66ec from'./sessions.js';import _0x514c05 from'./usermarkers.js';import{getTranslation as _0x378364}from'../common-translations.js';import{Compressor as _0x447c11}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x24138d}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x4c7443,CollaborativeEditingService as _0x125197}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let F=0x1;class l extends _0xe3ca4{static [_0x5a1877(0x17b)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x125197)());[_0x5a1877(0x1f9)];[_0x5a1877(0x245)];[_0x5a1877(0x193)];[_0x5a1877(0x21c)];[_0x5a1877(0x1af)];[_0x5a1877(0x208)];[_0x5a1877(0x24c)];[_0x5a1877(0x24b)];[_0x5a1877(0x196)];[_0x5a1877(0x175)];[_0x5a1877(0x212)];[_0x5a1877(0x21e)];[_0x5a1877(0x20d)];[_0x5a1877(0x234)];[_0x5a1877(0x264)];[_0x5a1877(0x25f)];[_0x5a1877(0x1e5)];[_0x5a1877(0x1bb)];static get[_0x5a1877(0x21f)](){return[_0x575c49,_0x1c66ec,_0x514c05,_0x5bcf16,_0x24138d,_0x3ccb09];}static get[_0x5a1877(0x271)](){const _0x529170=_0x5a1877;return _0x529170(0x261);}static get[_0x5a1877(0x259)](){return!0x0;}static get[_0x5a1877(0x257)](){return!0x0;}get[_0x5a1877(0x25d)](){const _0x24f61c=_0x5a1877;return this[_0x24f61c(0x1b4)]+this[_0x24f61c(0x1f9)];}get[_0x5a1877(0x1b4)](){const _0x2b3a91=_0x5a1877;return this[_0x2b3a91(0x193)][_0x2b3a91(0x172)]-this[_0x2b3a91(0x1f9)];}get[_0x5a1877(0x1e1)](){const _0x4885c4=_0x5a1877,_0x326647=this[_0x4885c4(0x193)][_0x4885c4(0x20c)]();for(let _0x4a2fbf=_0x326647[_0x4885c4(0x1b0)]-0x1;_0x4a2fbf>=0x0;_0x4a2fbf--){const _0x115618=_0x326647[_0x4a2fbf];if(!this[_0x4885c4(0x1e5)][_0x4885c4(0x228)](_0x115618))return _0x115618[_0x4885c4(0x272)]+0x1-this[_0x4885c4(0x1f9)];}return 0x0;}constructor(_0x16ff8b){const _0x3a9532=_0x5a1877;if(super(_0x16ff8b),this[_0x3a9532(0x1f9)]=0x0,this[_0x3a9532(0x245)]=null,this[_0x3a9532(0x193)]=new _0x35de09(),this[_0x3a9532(0x251)][_0x3a9532(0x187)][_0x3a9532(0x254)](_0x3a9532(0x1bf),{}),this[_0x3a9532(0x21c)]=this[_0x3a9532(0x251)][_0x3a9532(0x187)][_0x3a9532(0x201)](_0x3a9532(0x1d2)),!this[_0x3a9532(0x21c)])throw new _0xd64ee2(_0x3a9532(0x189),this);const _0x5855c3=_0x16ff8b[_0x3a9532(0x187)][_0x3a9532(0x201)](_0x3a9532(0x174))||_0x28efa7;this[_0x3a9532(0x1af)]=new l[(_0x3a9532(0x17b))](_0x5855c3,this[_0x3a9532(0x21c)]),this[_0x3a9532(0x208)]=this[_0x3a9532(0x251)][_0x3a9532(0x1a1)][_0x3a9532(0x1eb)],this[_0x3a9532(0x24c)]=new _0x447c11(),this[_0x3a9532(0x24b)]=[],this[_0x3a9532(0x196)]=new WeakSet(),this[_0x3a9532(0x175)]=new Set(),this[_0x3a9532(0x1e7)](_0x3a9532(0x258),!0x1),this[_0x3a9532(0x1e7)](_0x3a9532(0x1b9),!0x1),this[_0x3a9532(0x212)]=null,this[_0x3a9532(0x21e)]=!0x1,this[_0x3a9532(0x20d)]=null,this[_0x3a9532(0x234)]=0x12c,this[_0x3a9532(0x264)]=this[_0x3a9532(0x234)],this[_0x3a9532(0x25f)]=null,this[_0x3a9532(0x1e5)]=new WeakSet(),this[_0x3a9532(0x1bb)]=new $(this[_0x3a9532(0x1e5)]);}[_0x5a1877(0x236)](){const _0x12cbd1=_0x5a1877,_0x4f9e3f=this[_0x12cbd1(0x251)],_0x37f1e9=_0x4f9e3f[_0x12cbd1(0x1f0)][_0x12cbd1(0x201)](_0x24138d),_0xc1916c=_0x4f9e3f[_0x12cbd1(0x1f0)][_0x12cbd1(0x201)](_0x575c49);this[_0x12cbd1(0x262)](_0x37f1e9,_0x12cbd1(0x1aa),(_0x414a12,_0x49f4aa)=>{const _0x250680=_0x12cbd1,_0x524b59=_0x49f4aa[0x0];_0x524b59[_0x250680(0x18b)]&&(_0x414a12[_0x250680(0x256)]=_0x37f1e9[_0x250680(0x26a)](_0x524b59[_0x250680(0x18b)]),_0x414a12[_0x250680(0x23e)]()),null===_0x524b59[_0x250680(0x18b)]&&(_0x414a12[_0x250680(0x256)]=null,_0x414a12[_0x250680(0x23e)]());},{'priority':_0x12cbd1(0x181)}),this[_0x12cbd1(0x262)](_0x4f9e3f[_0x12cbd1(0x1a1)][_0x12cbd1(0x1eb)][_0x12cbd1(0x1f1)],_0x12cbd1(0x225),(_0x65cc28,_0x53c926)=>{const _0x499c27=_0x12cbd1;_0x53c926[_0x499c27(0x260)]&&this[_0x499c27(0x17d)]();}),this[_0x12cbd1(0x262)](_0x4f9e3f[_0x12cbd1(0x1da)][_0x12cbd1(0x26b)],_0x12cbd1(0x1ee),()=>{const _0x40f5a3=_0x12cbd1;this[_0x40f5a3(0x17d)]();}),this[_0x12cbd1(0x223)](),_0x4f9e3f[_0x12cbd1(0x1a1)]['on'](_0x12cbd1(0x263),(_0x2e08e8,_0x2c712e)=>{const _0x49c9d4=_0x12cbd1,_0x3bb3d6=_0x2c712e[0x0];_0x3bb3d6[_0x49c9d4(0x1be)]&&(this[_0x49c9d4(0x23d)](_0x3bb3d6),this[_0x49c9d4(0x25b)]()&&this[_0x49c9d4(0x232)]());}),this[_0x12cbd1(0x182)](),this[_0x12cbd1(0x26c)](_0x12cbd1(0x173))['to'](_0xc1916c,_0x12cbd1(0x192),this,_0x12cbd1(0x1b9),(_0x5a8eef,_0x4e8f28)=>_0x12cbd1(0x1d0)===_0x5a8eef&&!_0x4e8f28),this['on'](_0x12cbd1(0x1f3),()=>{const _0x3011a2=_0x12cbd1;this[_0x3011a2(0x173)]?_0x4f9e3f[_0x3011a2(0x227)](_0x3011a2(0x1a9)):_0x4f9e3f[_0x3011a2(0x270)](_0x3011a2(0x1a9));}),this[_0x12cbd1(0x173)]?_0x4f9e3f[_0x12cbd1(0x227)](_0x12cbd1(0x1a9)):_0x4f9e3f[_0x12cbd1(0x270)](_0x12cbd1(0x1a9)),this[_0x12cbd1(0x1e7)](_0x12cbd1(0x18c),!0x1);}async[_0x5a1877(0x1dd)](){const _0x5a46ec=_0x5a1877,_0x1d2b49=this[_0x5a46ec(0x251)][_0x5a46ec(0x1f0)][_0x5a46ec(0x201)](_0x1c66ec),_0xf12f7f=this[_0x5a46ec(0x251)][_0x5a46ec(0x1f0)][_0x5a46ec(0x201)](_0x575c49);try{this[_0x5a46ec(0x258)]=!0x0,_0x1d2b49[_0x5a46ec(0x239)](this[_0x5a46ec(0x21c)]);const _0x291267=await this[_0x5a46ec(0x1af)][_0x5a46ec(0x1dd)](_0xf12f7f[_0x5a46ec(0x246)],this[_0x5a46ec(0x1e1)]);await this[_0x5a46ec(0x183)](_0x291267)&&(this[_0x5a46ec(0x258)]=!0x1,this[_0x5a46ec(0x1a4)]());const _0x8d6d5c=await this[_0x5a46ec(0x1af)][_0x5a46ec(0x1fb)]();_0x1d2b49[_0x5a46ec(0x1d8)](this[_0x5a46ec(0x21c)],_0x8d6d5c),this[_0x5a46ec(0x186)](),this[_0x5a46ec(0x18c)]=!0x0;}catch(_0x46065a){if(function(_0x41fdbf){const _0x547c5f=_0x5a46ec;return _0x547c5f(0x17f)===_0x41fdbf[_0x547c5f(0x1c4)];}(_0x46065a)&&this[_0x5a46ec(0x245)])await this[_0x5a46ec(0x229)]();else{if(function(_0x3331a7){const _0x5011d9=_0x5a46ec;return _0x5011d9(0x24e)===_0x3331a7[_0x5011d9(0x1c4)];}(_0x46065a)){const _0x6d6443=_0x378364(this[_0x5a46ec(0x251)][_0x5a46ec(0x1c8)],_0x5a46ec(0x1d6));this[_0x5a46ec(0x198)](_0x6d6443);}else{if(!(_0x46065a instanceof q))throw _0x46065a;this[_0x5a46ec(0x198)]();}}}}[_0x5a1877(0x1db)](){const _0x59bb59=_0x5a1877,_0x24824c=this[_0x59bb59(0x251)][_0x59bb59(0x1f0)][_0x59bb59(0x201)](_0x575c49),_0x410c25=this[_0x59bb59(0x251)][_0x59bb59(0x1f0)][_0x59bb59(0x201)](_0x1c66ec);this[_0x59bb59(0x251)][_0x59bb59(0x270)](_0x59bb59(0x244)),_0x410c25[_0x59bb59(0x1d9)][_0x59bb59(0x228)](this[_0x59bb59(0x21c)])&&_0x410c25[_0x59bb59(0x239)](this[_0x59bb59(0x21c)]),_0x24824c[_0x59bb59(0x1c2)](this),this[_0x59bb59(0x1fa)](),super[_0x59bb59(0x1db)]();}async[_0x5a1877(0x183)](_0x452e5b){const _0x15a4de=_0x5a1877;if(this[_0x15a4de(0x245)]!==_0x452e5b[_0x15a4de(0x245)]&&this[_0x15a4de(0x25f)]!==_0x452e5b[_0x15a4de(0x1bc)])throw new q();return this[_0x15a4de(0x245)]=_0x452e5b[_0x15a4de(0x245)],this[_0x15a4de(0x200)]([],{..._0x452e5b,'wereChangesApplied':!0x1,'data':_0x452e5b[_0x15a4de(0x1ba)]},_0x15a4de(0x1dd));}async[_0x5a1877(0x1cc)](_0x4f0f72,_0x45cc26=!0x1){const _0x45d023=_0x5a1877,{connection:_0x5f2a95}=this[_0x45d023(0x251)][_0x45d023(0x1f0)][_0x45d023(0x201)](_0x575c49);l[_0x45d023(0x17b)][_0x45d023(0x1fb)](_0x5f2a95,this[_0x45d023(0x21c)])[_0x45d023(0x1ec)](_0x65216=>this[_0x45d023(0x1a2)](_0x65216))[_0x45d023(0x24f)](_0x3d81c0=>{const _0x31206d=_0x45d023;this[_0x31206d(0x1bd)](_0x31206d(0x1ed),_0x3d81c0);}),this[_0x45d023(0x262)](this[_0x45d023(0x1af)],_0x45d023(0x242),this[_0x45d023(0x249)][_0x45d023(0x26c)](this)),this[_0x45d023(0x262)](this[_0x45d023(0x1af)],_0x45d023(0x1fd),(_0x3c0726,_0x379315)=>{const _0x4c52b1=_0x45d023;this[_0x4c52b1(0x1bd)](_0x4c52b1(0x1d1),_0x379315);}),this[_0x45d023(0x262)](this[_0x45d023(0x1af)],_0x45d023(0x1e0),()=>{const _0x3e9542=_0x45d023;this[_0x3e9542(0x18c)]=!0x1;});const _0x407319=this[_0x45d023(0x1bb)][_0x45d023(0x22e)](_0x4f0f72);this[_0x45d023(0x258)]=!0x0;const _0x4b31da=await this[_0x45d023(0x1af)][_0x45d023(0x20b)](_0x5f2a95,this[_0x45d023(0x188)](_0x4f0f72),_0x407319);if(this[_0x45d023(0x245)]=_0x4b31da[_0x45d023(0x245)],_0x45cc26){if(!_0x4b31da[_0x45d023(0x1c7)])return void this[_0x45d023(0x198)]();this[_0x45d023(0x258)]=!0x1,this[_0x45d023(0x1a4)](),this[_0x45d023(0x193)][_0x45d023(0x1f8)](),this[_0x45d023(0x1f9)]=_0x4b31da[_0x45d023(0x226)],this[_0x45d023(0x193)][_0x45d023(0x172)]=this[_0x45d023(0x1f9)],await this[_0x45d023(0x200)](_0x4f0f72,_0x4b31da,_0x45d023(0x1c0));}else await this[_0x45d023(0x1de)](_0x4b31da,_0x4f0f72);this[_0x45d023(0x186)](),this[_0x45d023(0x18c)]=!0x0;}[_0x5a1877(0x186)](){const _0x5a2a91=_0x5a1877,_0x556e07=this[_0x5a2a91(0x251)][_0x5a2a91(0x1f0)][_0x5a2a91(0x201)](_0x1c66ec),_0x4ee8ca=this[_0x5a2a91(0x251)][_0x5a2a91(0x1f0)][_0x5a2a91(0x201)](_0x514c05),_0x9e1eaf=_0x556e07[_0x5a2a91(0x1d9)][_0x5a2a91(0x201)](this[_0x5a2a91(0x21c)]);_0x9e1eaf&&_0x9e1eaf[_0x5a2a91(0x1b0)]>0x1?_0x4ee8ca[_0x5a2a91(0x1c6)]():this[_0x5a2a91(0x262)](_0x556e07,_0x5a2a91(0x1f5)+this[_0x5a2a91(0x21c)],()=>{const _0x4aa0d7=_0x5a2a91;0x2===_0x556e07[_0x4aa0d7(0x1d9)][_0x4aa0d7(0x201)](this[_0x4aa0d7(0x21c)])[_0x4aa0d7(0x1b0)]&&_0x4ee8ca[_0x4aa0d7(0x1c6)]();});}async[_0x5a1877(0x249)](_0x399585,_0x3ad8f9,_0x1a5f5c,_0x39d1c3){const _0x5ab55c=_0x5a1877;if(!this[_0x5ab55c(0x258)]&&this[_0x5ab55c(0x208)][_0x5ab55c(0x172)]==_0x3ad8f9){const _0x3a0d7b=this[_0x5ab55c(0x176)](_0x1a5f5c,_0x39d1c3);await this[_0x5ab55c(0x213)](_0x3a0d7b),this[_0x5ab55c(0x22d)](_0x3a0d7b,_0x3ad8f9,_0x1a5f5c[_0x5ab55c(0x1bc)])||this[_0x5ab55c(0x1bd)](_0x5ab55c(0x1ad));}}async[_0x5a1877(0x229)](){const _0x4ad459=_0x5a1877;this[_0x4ad459(0x1fa)]();const {locale:_0x10d9c1}=this[_0x4ad459(0x251)];let _0x490190;try{_0x490190=await this[_0x4ad459(0x1af)][_0x4ad459(0x255)]();}catch{const _0x4f36a2=_0x378364(_0x10d9c1,_0x4ad459(0x19a));return void this[_0x4ad459(0x198)](_0x4f36a2);}const _0x2d377c=_0x490190[_0x4ad459(0x1d3)]||_0x490190[_0x4ad459(0x268)];if(this[_0x4ad459(0x25f)]===_0x2d377c[_0x4ad459(0x1bc)])await this[_0x4ad459(0x1cc)](this[_0x4ad459(0x251)][_0x4ad459(0x1a1)][_0x4ad459(0x1eb)][_0x4ad459(0x19c)][_0x4ad459(0x20c)](),!0x0);else{const _0x3077cc=_0x378364(_0x10d9c1,_0x4ad459(0x18e));this[_0x4ad459(0x198)](_0x3077cc);}}[_0x5a1877(0x1fa)](){const _0x254b58=_0x5a1877;this[_0x254b58(0x1af)][_0x254b58(0x266)](),this[_0x254b58(0x24b)]=[],clearTimeout(this[_0x254b58(0x20d)]),this[_0x254b58(0x180)](this[_0x254b58(0x1af)]);}[_0x5a1877(0x1a2)](_0x10a3b0){const _0x5c0f66=_0x5a1877,_0x5a59ef=this[_0x5c0f66(0x251)][_0x5c0f66(0x1f0)][_0x5c0f66(0x201)](_0x1c66ec);this[_0x5c0f66(0x262)](_0x5a59ef,_0x5c0f66(0x1f5)+this[_0x5c0f66(0x21c)],(_0x1c8c85,{session:_0x41fcf9})=>{const _0x5287b3=_0x5c0f66;if(_0x41fcf9['id']===_0x5a59ef[_0x5287b3(0x1b5)]){_0x1c8c85[_0x5287b3(0x1e8)]();const _0xbb6bf2=this[_0x5287b3(0x251)][_0x5287b3(0x1f0)][_0x5287b3(0x228)](_0x5287b3(0x1b6))&&this[_0x5287b3(0x251)][_0x5287b3(0x1f0)][_0x5287b3(0x201)](_0x5287b3(0x1b6));let _0x5214c1=_0x41fcf9[_0x5287b3(0x1b7)];_0xbb6bf2&&_0xbb6bf2[_0x5287b3(0x1c1)]&&(_0x5214c1=_0x5214c1[_0x5287b3(0x206)](_0x50a04f=>_0x5287b3(0x214)!==_0x50a04f)),this[_0x5287b3(0x251)][_0x5287b3(0x1f0)][_0x5287b3(0x201)](_0x5287b3(0x171))[_0x5287b3(0x1b3)](_0x5214c1,this[_0x5287b3(0x21c)]);}}),_0x5a59ef[_0x5c0f66(0x1d8)](this[_0x5c0f66(0x21c)],_0x10a3b0);}[_0x5a1877(0x223)](){const _0x15cc2d=_0x5a1877,_0x1e4a8=this[_0x15cc2d(0x251)][_0x15cc2d(0x1ba)][_0x15cc2d(0x1e7)];this[_0x15cc2d(0x251)][_0x15cc2d(0x1ba)][_0x15cc2d(0x1e7)]=(..._0x5a7e6c)=>{const _0x143e5b=_0x15cc2d;if(!_0x5a7e6c[_0x5a7e6c[_0x143e5b(0x1b0)]-0x1][_0x143e5b(0x21d)])throw new _0xd64ee2(_0x143e5b(0x269),this);_0x1e4a8[_0x143e5b(0x215)](this[_0x143e5b(0x251)][_0x143e5b(0x1ba)],_0x5a7e6c);};}[_0x5a1877(0x182)](){const _0x484b64=_0x5a1877;this[_0x484b64(0x251)][_0x484b64(0x1ba)]['on'](_0x484b64(0x236),(_0x4a1648,[_0x1cec90])=>{const _0xe9da1f=_0x484b64;if(this[_0xe9da1f(0x208)][_0xe9da1f(0x172)])throw new _0xd64ee2(_0xe9da1f(0x18f),this);_0x4a1648[_0xe9da1f(0x23e)](),this[_0xe9da1f(0x197)]();const _0x5c5ebb=this[_0xe9da1f(0x251)][_0xe9da1f(0x187)][_0xe9da1f(0x201)](_0xe9da1f(0x247)),_0x29995b=this[_0xe9da1f(0x17a)](_0x1cec90,_0x5c5ebb);0x0==_0x29995b[_0xe9da1f(0x1b0)]&&_0x29995b[_0xe9da1f(0x25e)](new _0x47ca6c(0x0)),_0x4a1648[_0xe9da1f(0x256)]=this[_0xe9da1f(0x1cc)](_0x29995b)[_0xe9da1f(0x1ec)](()=>{const _0x5204ab=_0xe9da1f;this[_0x5204ab(0x251)][_0x5204ab(0x1f0)][_0x5204ab(0x201)](_0x575c49)[_0x5204ab(0x220)](this),this[_0x5204ab(0x251)][_0x5204ab(0x1ba)][_0x5204ab(0x207)](_0x5204ab(0x1f2));})[_0xe9da1f(0x24f)](_0x5d77b6=>this[_0xe9da1f(0x1bd)](_0xe9da1f(0x1c5),_0x5d77b6))[_0xe9da1f(0x170)](()=>this[_0xe9da1f(0x1a4)]());},{'priority':_0x484b64(0x181)}),this[_0x484b64(0x251)]['on'](_0x484b64(0x1e2),async(_0x5c5789,[_0x2b3625,_0x11490f])=>{const _0x2ec131=_0x484b64;_0x5c5789[_0x2ec131(0x23e)]();const _0x316bfe=this[_0x2ec131(0x251)][_0x2ec131(0x1a1)][_0x2ec131(0x1eb)][_0x2ec131(0x178)](_0x2b3625);if(!this[_0x2ec131(0x175)][_0x2ec131(0x228)](_0x2b3625)){const _0x50d00d=_0x11490f&&_0x11490f[_0x2ec131(0x1ba)]?_0x11490f[_0x2ec131(0x1ba)]:'',_0x3fe8f7=_0x11490f&&_0x11490f[_0x2ec131(0x1c9)]?_0x11490f[_0x2ec131(0x1c9)]:{};await this[_0x2ec131(0x22f)](_0x2b3625,_0x50d00d,_0x3fe8f7);}this[_0x2ec131(0x251)][_0x2ec131(0x1a1)][_0x2ec131(0x265)]({'isUndoable':!0x1},()=>{const _0x56bea7=_0x2ec131;_0x316bfe[_0x56bea7(0x20a)]=!0x0,this[_0x56bea7(0x251)][_0x56bea7(0x1a1)][_0x56bea7(0x1eb)][_0x56bea7(0x1dc)][_0x56bea7(0x267)](_0x316bfe);});},{'priority':_0x484b64(0x181)});}async[_0x5a1877(0x213)](_0x1dc67f){const _0xa39799=_0x5a1877,_0x59a4fc=this[_0xa39799(0x251)][_0xa39799(0x1f0)][_0xa39799(0x201)](_0x24138d),{connection:_0x58ba00}=this[_0xa39799(0x251)][_0xa39799(0x1f0)][_0xa39799(0x201)](_0x575c49),_0x5184c8=new Set();for(const _0x416cdc of _0x1dc67f){const _0x2e8780=_0x416cdc[_0xa39799(0x18b)];_0x2e8780&&!_0x59a4fc[_0xa39799(0x26a)](_0x2e8780)&&_0x5184c8[_0xa39799(0x1d4)](_0x2e8780);}if(0x0===_0x5184c8[_0xa39799(0x252)])return;const _0x5d93e7=await _0x4c7443[_0xa39799(0x1e4)](_0x58ba00,Array[_0xa39799(0x1a5)](_0x5184c8));for(const _0x1ecc12 of _0x5d93e7)_0x59a4fc[_0xa39799(0x26a)](_0x1ecc12['id'])||_0x59a4fc[_0xa39799(0x204)](_0x1ecc12);}[_0x5a1877(0x17a)](_0x31d67e,_0x5026a0={}){const _0x1455a6=_0x5a1877,_0x49b908=this[_0x1455a6(0x251)][_0x1455a6(0x1a1)],_0x92a427=[];let _0x516dc3=0x0;const _0x438eee=_0x1455a6(0x1b2)==typeof _0x31d67e?{'main':_0x31d67e}:_0x31d67e;for(const _0x4b60f3 of Object[_0x1455a6(0x221)](_0x438eee)){if(!this[_0x1455a6(0x208)][_0x1455a6(0x1ab)][_0x1455a6(0x228)](_0x4b60f3))throw new _0xd64ee2(_0x1455a6(0x1a3),this);const _0x1cbc1b=this[_0x1455a6(0x251)][_0x1455a6(0x1ba)][_0x1455a6(0x233)](_0x438eee[_0x4b60f3]),_0x52b782=this[_0x1455a6(0x208)][_0x1455a6(0x178)](_0x4b60f3),_0x428acd=new _0x3c0277(_0x49b908[_0x1455a6(0x17c)](_0x52b782,0x0),_0x1cbc1b,_0x516dc3++);_0x92a427[_0x1455a6(0x25e)](_0x428acd);for(const [_0x4fe3cb,_0x4505e5]of _0x1cbc1b[_0x1455a6(0x216)]){const _0x50c079=_0x49b908[_0x1455a6(0x19f)](_0x49b908[_0x1455a6(0x253)](_0x52b782,_0x4505e5[_0x1455a6(0x1a7)][_0x1455a6(0x219)][_0x1455a6(0x19b)]()),_0x49b908[_0x1455a6(0x253)](_0x52b782,_0x4505e5[_0x1455a6(0x1c3)][_0x1455a6(0x219)][_0x1455a6(0x19b)]())),_0x1bded0=new _0x1d31d9(_0x4fe3cb,null,_0x50c079,_0x49b908[_0x1455a6(0x216)],!0x0,_0x516dc3++);_0x92a427[_0x1455a6(0x25e)](_0x1bded0);}}if(_0x5026a0)for(const [_0x5c8fe0,_0x4f2578]of Object[_0x1455a6(0x1b8)](_0x5026a0)){const _0x30e846=_0x49b908[_0x1455a6(0x1eb)][_0x1455a6(0x178)](_0x5c8fe0);if(!_0x30e846)throw new _0xd64ee2(_0x1455a6(0x194),null);for(const [_0x131a4f,_0x1d82f2]of Object[_0x1455a6(0x1b8)](_0x4f2578))if(null!==_0x1d82f2){const _0x5cd5e7=new _0x2ffcbc(_0x30e846,_0x131a4f,null,_0x1d82f2,_0x516dc3++);_0x92a427[_0x1455a6(0x25e)](_0x5cd5e7);}}return _0x92a427;}async[_0x5a1877(0x22f)](_0x2c4fce,_0xc8a0c4,_0xa9804f){const _0x2ef3d8=_0x5a1877;this[_0x2ef3d8(0x17a)]({[_0x2c4fce]:_0xc8a0c4},{[_0x2c4fce]:_0xa9804f})[_0x2ef3d8(0x22b)]((_0x3ee7ca,_0x54fb3a)=>{const _0x39cccf=_0x2ef3d8;_0x3ee7ca[_0x39cccf(0x272)]=this[_0x39cccf(0x208)][_0x39cccf(0x172)]+_0x54fb3a,_0x3ee7ca[_0x39cccf(0x1d5)]=!0x0,this[_0x39cccf(0x23d)](_0x3ee7ca);}),this[_0x2ef3d8(0x232)](),await this[_0x2ef3d8(0x237)]();}async[_0x5a1877(0x1de)](_0x201ba4,_0x1972e6){const _0x468123=_0x5a1877;let _0x3c55e5;this[_0x468123(0x1f9)]=_0x201ba4[_0x468123(0x226)];const _0x4b9ec2=_0x201ba4[_0x468123(0x1c7)]&&!_0x201ba4[_0x468123(0x1ea)],_0x8e9dc9=_0x4b9ec2?0x0:_0x201ba4[_0x468123(0x1ba)][_0x468123(0x272)];if(_0x1972e6[_0x468123(0x22b)](_0x51844c=>{const _0x3fda1e=_0x468123;_0x51844c[_0x3fda1e(0x1d5)]=!0x0,_0x51844c[_0x3fda1e(0x17e)]=_0x201ba4[_0x3fda1e(0x1f6)],_0x51844c[_0x3fda1e(0x18b)]=null;}),_0x4b9ec2)_0x3c55e5=_0x1972e6,this[_0x468123(0x26d)](_0x3c55e5,_0x4b9ec2);else{if(_0x201ba4[_0x468123(0x1ea)]){const _0x1bf093=this[_0x468123(0x17a)](_0x201ba4[_0x468123(0x1ea)]);this[_0x468123(0x208)][_0x468123(0x19c)][_0x468123(0x172)]=-_0x1bf093[_0x468123(0x1b0)],_0x1bf093[_0x468123(0x22b)](_0x5cf217=>{const _0x4ac1ae=_0x468123;_0x5cf217[_0x4ac1ae(0x272)]-=_0x1bf093[_0x4ac1ae(0x1b0)],_0x5cf217[_0x4ac1ae(0x17e)]=_0x201ba4[_0x4ac1ae(0x1f6)],_0x5cf217[_0x4ac1ae(0x1d5)]=!0x0,_0x5cf217[_0x4ac1ae(0x18b)]=null;}),this[_0x468123(0x26d)](_0x1bf093,!0x0),this[_0x468123(0x193)][_0x468123(0x172)]=-_0x1bf093[_0x468123(0x1b0)]+this[_0x468123(0x1f9)],this[_0x468123(0x1d7)](_0x1bf093);}this[_0x468123(0x208)][_0x468123(0x19c)][_0x468123(0x172)]=_0x8e9dc9,_0x3c55e5=this[_0x468123(0x176)](_0x201ba4[_0x468123(0x1ba)],_0x201ba4[_0x468123(0x1cf)]),await this[_0x468123(0x213)](_0x3c55e5),this[_0x468123(0x26d)](_0x3c55e5,_0x4b9ec2);}_0x201ba4[_0x468123(0x1bc)]&&(this[_0x468123(0x1bb)][_0x468123(0x1ae)](_0x3c55e5,_0x201ba4[_0x468123(0x1bc)]),this[_0x468123(0x25f)]=_0x201ba4[_0x468123(0x1bc)]),this[_0x468123(0x193)][_0x468123(0x172)]=_0x8e9dc9+this[_0x468123(0x1f9)],this[_0x468123(0x1d7)](_0x3c55e5),_0x1972e6[_0x468123(0x206)](_0x2d5d84=>{const _0xca76f2=_0x468123,_0x299480=this[_0xca76f2(0x1a6)](_0x2d5d84);return _0x299480&&!this[_0xca76f2(0x175)][_0xca76f2(0x228)](_0x299480);})[_0x468123(0x22b)]((_0x2dffe7,_0x32b1e1)=>{const _0x5010e7=_0x468123;_0x2dffe7[_0x5010e7(0x272)]=this[_0x5010e7(0x208)][_0x5010e7(0x172)]+_0x32b1e1,this[_0x5010e7(0x23d)](_0x2dffe7);}),this[_0x468123(0x25b)]()?(this[_0x468123(0x264)]=0x0,this[_0x468123(0x232)](!0x0),await this[_0x468123(0x237)]()):(this[_0x468123(0x258)]=!0x1,this[_0x468123(0x1a4)]());}[_0x5a1877(0x1bd)](_0x26784c,_0x3b352f){const _0x26f3cd=_0x5a1877,_0x479c23=_0x3b352f&&_0x3b352f[_0x26f3cd(0x21a)];if(_0x479c23&&_0x479c23[_0x26f3cd(0x22a)](_0x26f3cd(0x190)))throw _0x3b352f;const _0x2dab19=this[_0x26f3cd(0x251)][_0x26f3cd(0x1f0)][_0x26f3cd(0x201)](_0x575c49);throw this[_0x26f3cd(0x258)]=!0x0,_0x2dab19[_0x26f3cd(0x266)](),this[_0x26f3cd(0x251)][_0x26f3cd(0x270)](_0x26f3cd(0x1a8)),new _0xd64ee2(_0x26784c,this[_0x26f3cd(0x251)],_0x479c23?{'originalError':_0x479c23}:void 0x0);}[_0x5a1877(0x23d)](_0x28025e){const _0x57c861=_0x5a1877;this[_0x57c861(0x196)][_0x57c861(0x228)](_0x28025e)||(this[_0x57c861(0x196)][_0x57c861(0x1d4)](_0x28025e),this[_0x57c861(0x24b)][_0x57c861(0x25e)](_0x28025e),this[_0x57c861(0x212)]||_0x57c861(0x250)==_0x28025e[_0x57c861(0x18a)]&&!_0x28025e[_0x57c861(0x1df)]||this[_0x57c861(0x197)]());}[_0x5a1877(0x232)](_0x3b3038=!0x1){const _0x3a04e7=_0x5a1877;!_0x3b3038&&this[_0x3a04e7(0x258)]||(this[_0x3a04e7(0x258)]=!0x0,clearTimeout(this[_0x3a04e7(0x20d)]),this[_0x3a04e7(0x20d)]=setTimeout(()=>{const _0x599004=_0x3a04e7;this[_0x599004(0x179)]()[_0x599004(0x1ec)](_0x296d77=>{const _0x449556=_0x599004;_0x296d77&&(this[_0x449556(0x1a4)](),this[_0x449556(0x258)]=!0x1);})[_0x599004(0x24f)](_0x245bea=>{const _0x4dbec0=_0x599004;this[_0x4dbec0(0x1a4)](),this[_0x4dbec0(0x258)]=!0x1,function(_0x5562be){const _0x4d2116=_0x4dbec0;return _0x5562be[_0x4d2116(0x21a)][_0x4d2116(0x22a)](_0x4d2116(0x19e))||_0x5562be[_0x4d2116(0x21a)][_0x4d2116(0x22a)](_0x4d2116(0x23a))||_0x5562be[_0x4d2116(0x21a)][_0x4d2116(0x22a)](_0x4d2116(0x26f));}(_0x245bea)||this[_0x4dbec0(0x1bd)](_0x245bea[_0x4dbec0(0x21a)],_0x245bea);});},this[_0x3a04e7(0x264)]));}[_0x5a1877(0x237)](){return new Promise(_0x3561a9=>{const _0x17e88f=_0x5751;this['on'](_0x17e88f(0x18d),()=>{_0x3561a9();});});}async[_0x5a1877(0x179)](){const _0x229901=_0x5a1877,_0x455713=this[_0x229901(0x251)][_0x229901(0x1f0)][_0x229901(0x201)](_0x514c05);if(this[_0x229901(0x240)]()&&(_0x455713[_0x229901(0x1c6)](),this[_0x229901(0x21e)]=!0x1),!this[_0x229901(0x25b)]())return!0x0;const _0x4c7b82=[...this[_0x229901(0x24b)]];for(const _0xd47437 of _0x4c7b82)_0xd47437[_0x229901(0x184)]=this[_0x229901(0x208)][_0x229901(0x19c)][_0x229901(0x199)](_0xd47437);const _0x343bad=this[_0x229901(0x1bb)][_0x229901(0x22e)](_0x4c7b82),_0x1a6d02=F++,_0x2a6d10=this[_0x229901(0x188)](_0x4c7b82),_0x316d73=await this[_0x229901(0x1af)][_0x229901(0x209)](_0x2a6d10,_0x2a6d10[_0x229901(0x272)],_0x343bad);try{return await this[_0x229901(0x200)](_0x4c7b82,_0x316d73,_0x1a6d02);}catch(_0x5c9185){return this[_0x229901(0x1bd)](_0x229901(0x1ce),_0x5c9185);}}async[_0x5a1877(0x200)](_0x298562,_0x4e2439,_0x1abde4){const _0x186f56=_0x5a1877;if(_0x186f56(0x1fd)in _0x4e2439)throw _0x4e2439[_0x186f56(0x1fd)];let _0x1353b3=!0x1;if(_0x4e2439[_0x186f56(0x1c7)]){_0x4e2439[_0x186f56(0x1bc)]&&(this[_0x186f56(0x25f)]=_0x4e2439[_0x186f56(0x1bc)]),this[_0x186f56(0x24b)]=this[_0x186f56(0x24b)][_0x186f56(0x206)](_0x5ef7da=>!_0x298562[_0x186f56(0x20e)](_0x5ef7da));for(const _0x5e23ca of _0x298562)_0x5e23ca[_0x186f56(0x17e)]=_0x186f56(0x1ca)in _0x4e2439&&_0x4e2439[_0x186f56(0x1ca)]||void 0x0;G(_0x298562,_0x4e2439[_0x186f56(0x172)]-_0x298562[_0x186f56(0x1b0)]),this[_0x186f56(0x1d7)](_0x298562);const _0x46a1ff=_0x298562[_0x186f56(0x206)](_0x1a355f=>{const _0x2b2b3c=_0x186f56;if(!_0x1a355f[_0x2b2b3c(0x1d5)])return!0x1;const _0x133388=this[_0x2b2b3c(0x1a6)](_0x1a355f);return _0x133388&&!this[_0x2b2b3c(0x175)][_0x2b2b3c(0x228)](_0x133388);});G(_0x46a1ff,this[_0x186f56(0x208)][_0x186f56(0x172)]),this[_0x186f56(0x26d)](_0x46a1ff),_0x1353b3=!0x0,this[_0x186f56(0x264)]=this[_0x186f56(0x234)];}else{const _0x5652b8=this[_0x186f56(0x176)](_0x4e2439[_0x186f56(0x1ba)],_0x4e2439[_0x186f56(0x1cf)])[_0x186f56(0x206)](_0x33a399=>_0x33a399[_0x186f56(0x272)]>=this[_0x186f56(0x1b4)]);_0x5652b8[_0x186f56(0x22b)](_0x340957=>this[_0x186f56(0x248)](_0x340957)),this[_0x186f56(0x24b)]=this[_0x186f56(0x24b)][_0x186f56(0x206)](_0x409af4=>!_0x409af4[_0x186f56(0x1d5)]||!this[_0x186f56(0x175)][_0x186f56(0x228)](this[_0x186f56(0x1a6)](_0x409af4))),this[_0x186f56(0x24b)][_0x186f56(0x1b0)]&&G(this[_0x186f56(0x24b)],this[_0x186f56(0x24b)][0x0][_0x186f56(0x272)]),await this[_0x186f56(0x213)](_0x5652b8),_0x1353b3=this[_0x186f56(0x22d)](_0x5652b8,_0x4e2439[_0x186f56(0x172)],_0x4e2439[_0x186f56(0x1bc)]),this[_0x186f56(0x264)]=Math[_0x186f56(0x1e6)](this[_0x186f56(0x264)]/0x2);}return _0x1353b3?!this[_0x186f56(0x25b)]()||(this[_0x186f56(0x232)](!0x0),!0x1):this[_0x186f56(0x1bd)](_0x186f56(0x26e));}[_0x5a1877(0x22d)](_0x4ce937,_0x173cfb,_0x14b9e1){const _0x49dc33=_0x5a1877;try{const _0x35de61={'document':this[_0x49dc33(0x208)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x557775,operationsB:_0x1a08c5,originalOperations:_0x3959bc}=_0x59c407(_0x4ce937,this[_0x49dc33(0x24b)],_0x35de61);G(_0x557775,this[_0x49dc33(0x208)][_0x49dc33(0x172)]),G(_0x1a08c5,_0x173cfb);for(const _0x337d68 of _0x557775){const _0x297588=_0x3959bc[_0x49dc33(0x201)](_0x337d68);_0x337d68[_0x49dc33(0x18b)]=_0x297588?_0x297588[_0x49dc33(0x18b)]:null;}_0x14b9e1&&(this[_0x49dc33(0x1bb)][_0x49dc33(0x1ae)](_0x4ce937,_0x14b9e1),this[_0x49dc33(0x25f)]=_0x14b9e1),this[_0x49dc33(0x24b)]=[..._0x1a08c5],this[_0x49dc33(0x26d)](_0x557775),this[_0x49dc33(0x1d7)](_0x4ce937);}catch(_0x23427c){return console[_0x49dc33(0x1fd)](_0x23427c),!0x1;}return!0x0;}[_0x5a1877(0x26d)](_0x1de01a,_0x47cbbe=!0x1){const _0x5e742c=_0x5a1877;this[_0x5e742c(0x251)][_0x5e742c(0x1a1)][_0x5e742c(0x265)]({'isUndoable':!0x1,'isLocal':!0x1},_0x54e4e6=>{const _0x32e8ea=_0x5e742c;for(const _0xfd781 of _0x1de01a)this[_0x32e8ea(0x196)][_0x32e8ea(0x1d4)](_0xfd781),this[_0x32e8ea(0x248)](_0xfd781),_0x54e4e6[_0x32e8ea(0x224)][_0x32e8ea(0x23c)](_0xfd781),this[_0x32e8ea(0x251)][_0x32e8ea(0x1a1)][_0x32e8ea(0x263)](_0xfd781);});}[_0x5a1877(0x248)](_0x1747ad){const _0x279c91=_0x5a1877,_0x539f28=this[_0x279c91(0x1a6)](_0x1747ad);_0x539f28&&this[_0x279c91(0x175)][_0x279c91(0x1d4)](_0x539f28);}[_0x5a1877(0x1a6)](_0x1b28c8){const _0x5a756a=_0x5a1877;let _0x436dbb,_0x1905c2;switch(_0x1b28c8[_0x5a756a(0x18a)]){case _0x5a756a(0x1cd):_0x436dbb=_0x1b28c8[_0x5a756a(0x23b)][_0x5a756a(0x24a)];break;case _0x5a756a(0x250):if(_0x1905c2=_0x1b28c8[_0x5a756a(0x241)],!_0x1905c2)return null;_0x436dbb=_0x1905c2[_0x5a756a(0x24a)];break;case _0x5a756a(0x22c):_0x436dbb=_0x1b28c8[_0x5a756a(0x24a)];break;case _0x5a756a(0x25a):_0x436dbb=_0x1b28c8[_0x5a756a(0x195)];break;case _0x5a756a(0x1e3):_0x436dbb=_0x1b28c8[_0x5a756a(0x205)][_0x5a756a(0x24a)];break;default:return null;}return _0x436dbb[_0x5a756a(0x25c)];}[_0x5a1877(0x1d7)](_0x24ed95){const _0x406fbb=_0x5a1877;_0x24ed95[_0x406fbb(0x22b)](_0x536a01=>{const _0x5389e6=_0x406fbb,_0x2bd9b4=_0x536a01[_0x5389e6(0x218)]();_0x2bd9b4[_0x5389e6(0x18b)]=_0x536a01[_0x5389e6(0x18b)],_0x2bd9b4[_0x5389e6(0x1d5)]=!!_0x536a01[_0x5389e6(0x1d5)],_0x2bd9b4[_0x5389e6(0x17e)]=_0x536a01[_0x5389e6(0x17e)],_0x2bd9b4[_0x5389e6(0x272)]+=this[_0x5389e6(0x1f9)],_0x536a01[_0x5389e6(0x23f)]&&this[_0x5389e6(0x1e5)][_0x5389e6(0x1d4)](_0x2bd9b4),this[_0x5389e6(0x193)][_0x5389e6(0x23c)](_0x2bd9b4);});}[_0x5a1877(0x198)](_0x362e5a){const _0x513059=_0x5a1877,_0xf02e26=this[_0x513059(0x251)][_0x513059(0x1f0)][_0x513059(0x201)](_0x513059(0x1ff)),_0x57f49a=this[_0x513059(0x251)][_0x513059(0x1c8)];_0x362e5a||(_0x362e5a=_0x378364(_0x57f49a,_0x513059(0x231))),_0xf02e26[_0x513059(0x1cb)](_0x362e5a,{'title':_0x378364(_0x57f49a,_0x513059(0x1ef)),'namespace':_0x513059(0x1e9)}),this[_0x513059(0x1b9)]=!0x0,clearTimeout(this[_0x513059(0x20d)]),this[_0x513059(0x24b)]=[],this[_0x513059(0x251)][_0x513059(0x1f0)][_0x513059(0x201)](_0x575c49)[_0x513059(0x266)]();}[_0x5a1877(0x197)](){const _0x4ec00=_0x5a1877;this[_0x4ec00(0x212)]||(this[_0x4ec00(0x212)]=this[_0x4ec00(0x251)][_0x4ec00(0x1f0)][_0x4ec00(0x201)](_0x5bcf16)[_0x4ec00(0x1d4)](_0x378364(this[_0x4ec00(0x251)][_0x4ec00(0x1c8)],_0x4ec00(0x185))));}[_0x5a1877(0x1a4)](){const _0x3fa254=_0x5a1877;this[_0x3fa254(0x212)]&&(this[_0x3fa254(0x251)][_0x3fa254(0x1f0)][_0x3fa254(0x201)](_0x5bcf16)[_0x3fa254(0x202)](this[_0x3fa254(0x212)]),this[_0x3fa254(0x212)]=null);}[_0x5a1877(0x188)](_0x3e0eee){const _0x522065=_0x5a1877,_0x287166=_0x3e0eee[_0x522065(0x222)](_0x337ecf=>_0x337ecf[_0x522065(0x203)]());return this[_0x522065(0x24c)][_0x522065(0x217)](_0x287166);}[_0x5a1877(0x176)](_0x543e61,_0x1e5cb6){const _0x1469e8=_0x5a1877;return this[_0x1469e8(0x24c)][_0x1469e8(0x211)](_0x543e61)[_0x1469e8(0x222)]((_0x2560e7,_0x437d66)=>{const _0xcb35bf=_0x1469e8,_0x3d0dd5=_0xcb35bf(0x236)==_0x1e5cb6[_0x437d66][_0xcb35bf(0x18a)];if(_0xcb35bf(0x21b)==_0x2560e7[_0xcb35bf(0x19d)]){const _0x3e6cd4=_0x2560e7[_0xcb35bf(0x23b)][_0xcb35bf(0x24a)];!this[_0xcb35bf(0x208)][_0xcb35bf(0x178)](_0x3e6cd4)&&(this[_0xcb35bf(0x208)][_0xcb35bf(0x243)](_0xcb35bf(0x238),_0x3e6cd4)[_0xcb35bf(0x210)]=!0x1);}const _0x11133e=_0x483045[_0xcb35bf(0x1a0)](_0x2560e7,this[_0xcb35bf(0x208)]);return _0x11133e[_0xcb35bf(0x184)]=_0x2560e7[_0xcb35bf(0x184)],_0x11133e[_0xcb35bf(0x1d5)]=_0x3d0dd5,_0x11133e[_0xcb35bf(0x18b)]=_0x3d0dd5?null:_0x1e5cb6[_0x437d66][_0xcb35bf(0x20f)],_0x11133e[_0xcb35bf(0x23f)]=_0xcb35bf(0x1ac)===_0x1e5cb6[_0x437d66][_0xcb35bf(0x18a)],_0x11133e[_0xcb35bf(0x17e)]=_0x1e5cb6[_0x437d66][_0xcb35bf(0x17e)],_0x11133e;});}[_0x5a1877(0x17d)](){const _0x55655a=_0x5a1877;this[_0x55655a(0x21e)]=!0x0,this[_0x55655a(0x240)]()?this[_0x55655a(0x232)]():this[_0x55655a(0x21e)]=!0x1;}[_0x5a1877(0x240)](){const _0x50a4ba=_0x5a1877,_0x528ffe=this[_0x50a4ba(0x251)][_0x50a4ba(0x1f0)][_0x50a4ba(0x201)](_0x1c66ec)[_0x50a4ba(0x1d9)][_0x50a4ba(0x201)](this[_0x50a4ba(0x21c)]);return!this[_0x50a4ba(0x251)][_0x50a4ba(0x16e)]&&!!_0x528ffe&&_0x528ffe[_0x50a4ba(0x1b0)]>0x1&&this[_0x50a4ba(0x21e)];}[_0x5a1877(0x25b)](){const _0x57d290=_0x5a1877;return this[_0x57d290(0x24b)][_0x57d290(0x1b0)]>0x0||this[_0x57d290(0x240)]();}}export default l;class q extends Error{}function G(_0x38f14f,_0x22281c){const _0x11046b=_0x5a1877;for(const _0x3ffaab of _0x38f14f)_0x3ffaab[_0x11046b(0x272)]=_0x22281c++;}class ${[_0x5a1877(0x235)];[_0x5a1877(0x1b1)];constructor(_0xf6f545){const _0x3561f7=_0x5a1877;this[_0x3561f7(0x235)]=_0xf6f545,this[_0x3561f7(0x1b1)]=new WeakMap();}[_0x5a1877(0x22e)](_0x4ecb1b){const _0x92937d=_0x5a1877;let _0x5c7ee1=_0x4ecb1b[_0x92937d(0x1b0)];for(;_0x5c7ee1--;){const _0x4299cb=_0x4ecb1b[_0x5c7ee1];if(!this[_0x92937d(0x235)][_0x92937d(0x228)](_0x4299cb)){if(!this[_0x92937d(0x1b1)][_0x92937d(0x228)](_0x4299cb)){const _0x285b21=_0x51e98e()[_0x92937d(0x19b)](0x1,0x12);this[_0x92937d(0x1b1)][_0x92937d(0x1e7)](_0x4299cb,_0x285b21);}return this[_0x92937d(0x1b1)][_0x92937d(0x201)](_0x4299cb);}}}[_0x5a1877(0x1ae)](_0x5aa026,_0x2f4fb4){const _0x214885=_0x5a1877;if(!_0x2f4fb4)return;let _0x109493=_0x5aa026[_0x214885(0x1b0)];for(;_0x109493--;){const _0x1a1e4d=_0x5aa026[_0x109493];this[_0x214885(0x235)][_0x214885(0x228)](_0x1a1e4d)||this[_0x214885(0x1b1)][_0x214885(0x1e7)](_0x1a1e4d,_0x2f4fb4);}}}
23
+ const _0x3abefa=_0xd162;(function(_0x6e16cc,_0x5bb815){const _0x4d7319=_0xd162,_0x56f7a8=_0x6e16cc();while(!![]){try{const _0x24eb79=parseInt(_0x4d7319(0x24f))/0x1+parseInt(_0x4d7319(0x255))/0x2*(parseInt(_0x4d7319(0x220))/0x3)+-parseInt(_0x4d7319(0x291))/0x4+parseInt(_0x4d7319(0x204))/0x5*(-parseInt(_0x4d7319(0x298))/0x6)+-parseInt(_0x4d7319(0x237))/0x7+parseInt(_0x4d7319(0x214))/0x8*(-parseInt(_0x4d7319(0x211))/0x9)+parseInt(_0x4d7319(0x243))/0xa;if(_0x24eb79===_0x5bb815)break;else _0x56f7a8['push'](_0x56f7a8['shift']());}catch(_0x109cc9){_0x56f7a8['push'](_0x56f7a8['shift']());}}}(_0x18c8,0x717a0));import{Plugin as _0x5534b1,PendingActions as _0x229b19}from'ckeditor5/src/core.js';import{CKEditorError as _0xcd5801,version as _0x4390f7,uid as _0x421675}from'ckeditor5/src/utils.js';import{Notification as _0x1175df}from'ckeditor5/src/ui.js';import{transformSets as _0x351504,NoOperation as _0x408bcc,InsertOperation as _0x4f994b,MarkerOperation as _0x4c7309,RootAttributeOperation as _0x10392c,OperationFactory as _0x15c734,History as _0x4f20a1}from'ckeditor5/src/engine.js';import _0xc1ba9c from'./websocketgateway.js';import _0xc90e44 from'./sessions.js';import _0x231b03 from'./usermarkers.js';function _0xd162(_0x4f684b,_0x1b2b5b){const _0x18c809=_0x18c8();return _0xd162=function(_0xd1622e,_0x59956d){_0xd1622e=_0xd1622e-0x1ea;let _0x34acc1=_0x18c809[_0xd1622e];return _0x34acc1;},_0xd162(_0x4f684b,_0x1b2b5b);}import{getTranslation as _0x17c53c}from'../common-translations.js';import{Compressor as _0x91a970}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x573af9}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x337346,CollaborativeEditingService as _0x1acb71}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let J=0x1;class l extends _0x5534b1{static [_0x3abefa(0x20f)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x1acb71)());[_0x3abefa(0x2d8)];[_0x3abefa(0x2a6)];[_0x3abefa(0x1f7)];[_0x3abefa(0x260)];[_0x3abefa(0x289)];[_0x3abefa(0x2e4)];[_0x3abefa(0x2a5)];[_0x3abefa(0x2ac)];[_0x3abefa(0x2d5)];[_0x3abefa(0x207)];[_0x3abefa(0x20a)];[_0x3abefa(0x2db)];[_0x3abefa(0x2a0)];[_0x3abefa(0x226)];[_0x3abefa(0x299)];[_0x3abefa(0x2c9)];[_0x3abefa(0x25a)];[_0x3abefa(0x271)];static get[_0x3abefa(0x2d4)](){return[_0xc1ba9c,_0xc90e44,_0x231b03,_0x229b19,_0x573af9,_0x1175df];}static get[_0x3abefa(0x2dd)](){const _0x2feb0e=_0x3abefa;return _0x2feb0e(0x1ed);}static get[_0x3abefa(0x1ea)](){return!0x0;}static get[_0x3abefa(0x2c8)](){return!0x0;}get[_0x3abefa(0x2e7)](){const _0x2bef30=_0x3abefa;return this[_0x2bef30(0x274)]+this[_0x2bef30(0x2d8)];}get[_0x3abefa(0x274)](){const _0x2f2eb0=_0x3abefa;return this[_0x2f2eb0(0x1f7)][_0x2f2eb0(0x2c1)]-this[_0x2f2eb0(0x2d8)];}get[_0x3abefa(0x1ff)](){const _0x44bbba=_0x3abefa,_0x3ce196=this[_0x44bbba(0x1f7)][_0x44bbba(0x2a1)]();for(let _0xd0148f=_0x3ce196[_0x44bbba(0x2df)]-0x1;_0xd0148f>=0x0;_0xd0148f--){const _0x269b35=_0x3ce196[_0xd0148f];if(!this[_0x44bbba(0x25a)][_0x44bbba(0x225)](_0x269b35))return _0x269b35[_0x44bbba(0x254)]+0x1-this[_0x44bbba(0x2d8)];}return 0x0;}constructor(_0x1d2323){const _0x66ffba=_0x3abefa;if(super(_0x1d2323),this[_0x66ffba(0x2d8)]=0x0,this[_0x66ffba(0x2a6)]=null,this[_0x66ffba(0x1f7)]=new _0x4f20a1(),this[_0x66ffba(0x29b)][_0x66ffba(0x282)][_0x66ffba(0x20d)](_0x66ffba(0x2cf),{}),this[_0x66ffba(0x260)]=this[_0x66ffba(0x29b)][_0x66ffba(0x282)][_0x66ffba(0x1ec)](_0x66ffba(0x21a)),!this[_0x66ffba(0x260)])throw new _0xcd5801(_0x66ffba(0x202),this);const _0x3cb12e=_0x1d2323[_0x66ffba(0x282)][_0x66ffba(0x1ec)](_0x66ffba(0x205))||_0x4390f7;this[_0x66ffba(0x289)]=new l[(_0x66ffba(0x20f))](_0x3cb12e,this[_0x66ffba(0x260)]),this[_0x66ffba(0x2e4)]=this[_0x66ffba(0x29b)][_0x66ffba(0x1eb)][_0x66ffba(0x2d2)],this[_0x66ffba(0x2a5)]=new _0x91a970(),this[_0x66ffba(0x2ac)]=[],this[_0x66ffba(0x2d5)]=new WeakSet(),this[_0x66ffba(0x207)]=new Set(),this[_0x66ffba(0x219)](_0x66ffba(0x266),!0x1),this[_0x66ffba(0x219)](_0x66ffba(0x29d),!0x1),this[_0x66ffba(0x20a)]=null,this[_0x66ffba(0x2db)]=!0x1,this[_0x66ffba(0x2a0)]=null,this[_0x66ffba(0x226)]=0x12c,this[_0x66ffba(0x299)]=this[_0x66ffba(0x226)],this[_0x66ffba(0x2c9)]=null,this[_0x66ffba(0x25a)]=new WeakSet(),this[_0x66ffba(0x271)]=new Y(this[_0x66ffba(0x25a)]);}[_0x3abefa(0x2be)](){const _0x407f36=_0x3abefa,_0xf04587=this[_0x407f36(0x29b)],_0x661dec=_0xf04587[_0x407f36(0x23d)][_0x407f36(0x1ec)](_0x573af9),_0x25df0b=_0xf04587[_0x407f36(0x23d)][_0x407f36(0x1ec)](_0xc1ba9c);this[_0x407f36(0x2b4)](_0x661dec,_0x407f36(0x1fd),(_0x483517,_0x116e6d)=>{const _0x42d64d=_0x407f36,_0x4835f0=_0x116e6d[0x0];_0x4835f0[_0x42d64d(0x275)]&&(_0x483517[_0x42d64d(0x22d)]=_0x661dec[_0x42d64d(0x249)](_0x4835f0[_0x42d64d(0x275)]),_0x483517[_0x42d64d(0x2d7)]()),null===_0x4835f0[_0x42d64d(0x275)]&&(_0x483517[_0x42d64d(0x22d)]=null,_0x483517[_0x42d64d(0x2d7)]());},{'priority':_0x407f36(0x229)}),this[_0x407f36(0x2b4)](_0xf04587[_0x407f36(0x1eb)][_0x407f36(0x2d2)][_0x407f36(0x240)],_0x407f36(0x213),(_0x327c60,_0x1faf2e)=>{const _0xd7b64a=_0x407f36;_0x1faf2e[_0xd7b64a(0x208)]&&this[_0xd7b64a(0x238)]();}),this[_0x407f36(0x2b4)](_0xf04587[_0x407f36(0x21c)][_0x407f36(0x2af)],_0x407f36(0x27c),()=>{const _0x2819d6=_0x407f36;this[_0x2819d6(0x238)]();}),this[_0x407f36(0x2cd)](),_0xf04587[_0x407f36(0x1eb)]['on'](_0x407f36(0x2d1),(_0x407de5,_0x272449)=>{const _0x11a85b=_0x407f36,_0x459de5=_0x272449[0x0];_0x459de5[_0x11a85b(0x287)]&&(this[_0x11a85b(0x241)](_0x459de5),this[_0x11a85b(0x2b0)]()&&this[_0x11a85b(0x263)]());}),this[_0x407f36(0x2d6)](),this[_0x407f36(0x2ca)](_0x407f36(0x23e))['to'](_0x25df0b,_0x407f36(0x2b8),this,_0x407f36(0x29d),(_0x115be5,_0x3fbf0e)=>_0x407f36(0x281)===_0x115be5&&!_0x3fbf0e),this['on'](_0x407f36(0x2d3),()=>{const _0x341a6a=_0x407f36;this[_0x341a6a(0x23e)]?_0xf04587[_0x341a6a(0x23a)](_0x341a6a(0x228)):_0xf04587[_0x341a6a(0x278)](_0x341a6a(0x228));}),this[_0x407f36(0x23e)]?_0xf04587[_0x407f36(0x23a)](_0x407f36(0x228)):_0xf04587[_0x407f36(0x278)](_0x407f36(0x228)),this[_0x407f36(0x219)](_0x407f36(0x25c),!0x1);}async[_0x3abefa(0x2bb)](){const _0x1e3fd6=_0x3abefa,_0x584dd7=this[_0x1e3fd6(0x29b)][_0x1e3fd6(0x23d)][_0x1e3fd6(0x1ec)](_0xc90e44),_0x526be5=this[_0x1e3fd6(0x29b)][_0x1e3fd6(0x23d)][_0x1e3fd6(0x1ec)](_0xc1ba9c);try{this[_0x1e3fd6(0x266)]=!0x0,_0x584dd7[_0x1e3fd6(0x22a)](this[_0x1e3fd6(0x260)]);const _0x30cd90=await this[_0x1e3fd6(0x289)][_0x1e3fd6(0x2bb)](_0x526be5[_0x1e3fd6(0x256)],this[_0x1e3fd6(0x1ff)]);await this[_0x1e3fd6(0x246)](_0x30cd90)&&(this[_0x1e3fd6(0x266)]=!0x1,this[_0x1e3fd6(0x22e)]());const _0x4de68c=await this[_0x1e3fd6(0x289)][_0x1e3fd6(0x262)]();_0x584dd7[_0x1e3fd6(0x26b)](this[_0x1e3fd6(0x260)],_0x4de68c),this[_0x1e3fd6(0x273)](),this[_0x1e3fd6(0x25c)]=!0x0;}catch(_0x2d1a1e){if(function(_0x188576){const _0x510f21=_0x1e3fd6;return _0x510f21(0x27b)===_0x188576[_0x510f21(0x295)];}(_0x2d1a1e)&&this[_0x1e3fd6(0x2a6)])await this[_0x1e3fd6(0x25f)]();else{if(function(_0x4e0fed){const _0x42550e=_0x1e3fd6;return _0x42550e(0x250)===_0x4e0fed[_0x42550e(0x295)];}(_0x2d1a1e)){const _0x3ccae6=_0x17c53c(this[_0x1e3fd6(0x29b)][_0x1e3fd6(0x1fb)],_0x1e3fd6(0x28c));this[_0x1e3fd6(0x216)](_0x3ccae6);}else{if(!(_0x2d1a1e instanceof Q))throw _0x2d1a1e;this[_0x1e3fd6(0x216)]();}}}}[_0x3abefa(0x2a3)](){const _0x4c3884=_0x3abefa,_0x2579c1=this[_0x4c3884(0x29b)][_0x4c3884(0x23d)][_0x4c3884(0x1ec)](_0xc1ba9c),_0x12d5b0=this[_0x4c3884(0x29b)][_0x4c3884(0x23d)][_0x4c3884(0x1ec)](_0xc90e44);this[_0x4c3884(0x29b)][_0x4c3884(0x278)](_0x4c3884(0x28e)),_0x12d5b0[_0x4c3884(0x2c0)][_0x4c3884(0x225)](this[_0x4c3884(0x260)])&&_0x12d5b0[_0x4c3884(0x22a)](this[_0x4c3884(0x260)]),_0x2579c1[_0x4c3884(0x253)](this),this[_0x4c3884(0x2c7)](),super[_0x4c3884(0x2a3)]();}async[_0x3abefa(0x246)](_0x497c18){const _0x39c0cb=_0x3abefa;if(this[_0x39c0cb(0x2a6)]!==_0x497c18[_0x39c0cb(0x2a6)]&&this[_0x39c0cb(0x2c9)]!==_0x497c18[_0x39c0cb(0x2da)])throw new Q();return this[_0x39c0cb(0x2a6)]=_0x497c18[_0x39c0cb(0x2a6)],this[_0x39c0cb(0x1f5)]([],{..._0x497c18,'wereChangesApplied':!0x1,'data':_0x497c18[_0x39c0cb(0x2a4)]},_0x39c0cb(0x2bb));}async[_0x3abefa(0x251)](_0x5a8e06,_0x216756=!0x1){const _0xb4c386=_0x3abefa,{connection:_0x564ca7}=this[_0xb4c386(0x29b)][_0xb4c386(0x23d)][_0xb4c386(0x1ec)](_0xc1ba9c);l[_0xb4c386(0x20f)][_0xb4c386(0x262)](_0x564ca7,this[_0xb4c386(0x260)])[_0xb4c386(0x28d)](_0x11be78=>this[_0xb4c386(0x27d)](_0x11be78))[_0xb4c386(0x264)](_0x4f0903=>{const _0x45febf=_0xb4c386;this[_0x45febf(0x297)](_0x45febf(0x23b),_0x4f0903);}),this[_0xb4c386(0x2b4)](this[_0xb4c386(0x289)],_0xb4c386(0x2b6),this[_0xb4c386(0x2c5)][_0xb4c386(0x2ca)](this)),this[_0xb4c386(0x2b4)](this[_0xb4c386(0x289)],_0xb4c386(0x2c4),(_0xdf8173,_0x4148b2)=>{const _0x3ebbbf=_0xb4c386;this[_0x3ebbbf(0x297)](_0x3ebbbf(0x248),_0x4148b2);}),this[_0xb4c386(0x2b4)](this[_0xb4c386(0x289)],_0xb4c386(0x222),()=>{const _0xbcae3c=_0xb4c386;this[_0xbcae3c(0x25c)]=!0x1;});const _0x54b5df=this[_0xb4c386(0x271)][_0xb4c386(0x1ee)](_0x5a8e06);this[_0xb4c386(0x266)]=!0x0;const _0x264ef5=await this[_0xb4c386(0x289)][_0xb4c386(0x2cb)](_0x564ca7,this[_0xb4c386(0x2c3)](_0x5a8e06),_0x54b5df);if(this[_0xb4c386(0x2a6)]=_0x264ef5[_0xb4c386(0x2a6)],_0x216756){if(!_0x264ef5[_0xb4c386(0x218)])return void this[_0xb4c386(0x216)]();this[_0xb4c386(0x266)]=!0x1,this[_0xb4c386(0x22e)](),this[_0xb4c386(0x1f7)][_0xb4c386(0x2e1)](),this[_0xb4c386(0x2d8)]=_0x264ef5[_0xb4c386(0x2b9)],this[_0xb4c386(0x1f7)][_0xb4c386(0x2c1)]=this[_0xb4c386(0x2d8)],await this[_0xb4c386(0x1f5)](_0x5a8e06,_0x264ef5,_0xb4c386(0x257));}else await this[_0xb4c386(0x28f)](_0x264ef5,_0x5a8e06);this[_0xb4c386(0x273)](),this[_0xb4c386(0x25c)]=!0x0;}[_0x3abefa(0x273)](){const _0x47681c=_0x3abefa,_0xfd01ea=this[_0x47681c(0x29b)][_0x47681c(0x23d)][_0x47681c(0x1ec)](_0xc90e44),_0x8b3aef=this[_0x47681c(0x29b)][_0x47681c(0x23d)][_0x47681c(0x1ec)](_0x231b03),_0x1cf378=_0xfd01ea[_0x47681c(0x2c0)][_0x47681c(0x1ec)](this[_0x47681c(0x260)]);_0x1cf378&&_0x1cf378[_0x47681c(0x2df)]>0x1?_0x8b3aef[_0x47681c(0x1f0)]():this[_0x47681c(0x2b4)](_0xfd01ea,_0x47681c(0x1fe)+this[_0x47681c(0x260)],()=>{const _0xf41f97=_0x47681c;0x2===_0xfd01ea[_0xf41f97(0x2c0)][_0xf41f97(0x1ec)](this[_0xf41f97(0x260)])[_0xf41f97(0x2df)]&&_0x8b3aef[_0xf41f97(0x1f0)]();});}async[_0x3abefa(0x2c5)](_0x3aa756,_0x3e577d,_0x27be0a,_0x556980){const _0x57dfee=_0x3abefa;if(!this[_0x57dfee(0x266)]&&this[_0x57dfee(0x2e4)][_0x57dfee(0x2c1)]==_0x3e577d){const _0x3671fb=this[_0x57dfee(0x270)](_0x27be0a,_0x556980);await this[_0x57dfee(0x1fc)](_0x3671fb),this[_0x57dfee(0x28b)](_0x3671fb,_0x3e577d,_0x27be0a[_0x57dfee(0x2da)])||this[_0x57dfee(0x297)](_0x57dfee(0x2e0));}}async[_0x3abefa(0x25f)](){const _0x1cdb74=_0x3abefa;this[_0x1cdb74(0x2c7)]();const {locale:_0x1c148d}=this[_0x1cdb74(0x29b)];let _0x1f7dfd;try{_0x1f7dfd=await this[_0x1cdb74(0x289)][_0x1cdb74(0x245)]();}catch{const _0x269ebb=_0x17c53c(_0x1c148d,_0x1cdb74(0x277));return void this[_0x1cdb74(0x216)](_0x269ebb);}const _0x1236f5=_0x1f7dfd[_0x1cdb74(0x210)]||_0x1f7dfd[_0x1cdb74(0x200)];if(this[_0x1cdb74(0x2c9)]===_0x1236f5[_0x1cdb74(0x2da)])await this[_0x1cdb74(0x251)](this[_0x1cdb74(0x29b)][_0x1cdb74(0x1eb)][_0x1cdb74(0x2d2)][_0x1cdb74(0x2d9)][_0x1cdb74(0x2a1)](),!0x0);else{const _0x2a4c4a=_0x17c53c(_0x1c148d,_0x1cdb74(0x224));this[_0x1cdb74(0x216)](_0x2a4c4a);}}[_0x3abefa(0x2c7)](){const _0x48aa72=_0x3abefa;this[_0x48aa72(0x289)][_0x48aa72(0x2b2)](),this[_0x48aa72(0x2ac)]=[],clearTimeout(this[_0x48aa72(0x2a0)]),this[_0x48aa72(0x2ba)](this[_0x48aa72(0x289)]);}[_0x3abefa(0x27d)](_0x7fed08){const _0x1ec7d4=_0x3abefa,_0x1d3492=this[_0x1ec7d4(0x29b)][_0x1ec7d4(0x23d)][_0x1ec7d4(0x1ec)](_0xc90e44);this[_0x1ec7d4(0x2b4)](_0x1d3492,_0x1ec7d4(0x1fe)+this[_0x1ec7d4(0x260)],(_0x11be48,{session:_0x213bc5})=>{const _0x44d675=_0x1ec7d4;if(_0x213bc5['id']===_0x1d3492[_0x44d675(0x2dc)]){_0x11be48[_0x44d675(0x22f)]();const _0x4cc1bb=this[_0x44d675(0x29b)][_0x44d675(0x23d)][_0x44d675(0x225)](_0x44d675(0x22b))&&this[_0x44d675(0x29b)][_0x44d675(0x23d)][_0x44d675(0x1ec)](_0x44d675(0x22b));let _0x48733b=_0x213bc5[_0x44d675(0x2e2)];_0x4cc1bb&&_0x4cc1bb[_0x44d675(0x283)]&&(_0x48733b=_0x48733b[_0x44d675(0x1ef)](_0x5950e7=>_0x44d675(0x230)!==_0x5950e7)),this[_0x44d675(0x29b)][_0x44d675(0x23d)][_0x44d675(0x1ec)](_0x44d675(0x2bd))[_0x44d675(0x2ee)](_0x48733b,this[_0x44d675(0x260)]);}}),_0x1d3492[_0x1ec7d4(0x26b)](this[_0x1ec7d4(0x260)],_0x7fed08);}[_0x3abefa(0x2cd)](){const _0x2e4dad=_0x3abefa,_0x5dc4a6=this[_0x2e4dad(0x29b)][_0x2e4dad(0x2a4)][_0x2e4dad(0x219)];this[_0x2e4dad(0x29b)][_0x2e4dad(0x2a4)][_0x2e4dad(0x219)]=(..._0xdfca3f)=>{const _0x21ed2e=_0x2e4dad;if(!_0xdfca3f[_0xdfca3f[_0x21ed2e(0x2df)]-0x1][_0x21ed2e(0x25b)])throw new _0xcd5801(_0x21ed2e(0x24b),this);_0x5dc4a6[_0x21ed2e(0x2e3)](this[_0x21ed2e(0x29b)][_0x21ed2e(0x2a4)],_0xdfca3f);};}[_0x3abefa(0x2d6)](){const _0x1aa2b6=_0x3abefa;this[_0x1aa2b6(0x29b)][_0x1aa2b6(0x2a4)]['on'](_0x1aa2b6(0x2be),(_0x22f175,[_0x24d0de])=>{const _0x2cbbb1=_0x1aa2b6;if(this[_0x2cbbb1(0x2e4)][_0x2cbbb1(0x2c1)])throw new _0xcd5801(_0x2cbbb1(0x232),this);_0x22f175[_0x2cbbb1(0x2d7)](),this[_0x2cbbb1(0x2ae)]();const _0xd7f3eb=this[_0x2cbbb1(0x29b)][_0x2cbbb1(0x282)][_0x2cbbb1(0x1ec)](_0x2cbbb1(0x2ec)),_0x1d23a4=this[_0x2cbbb1(0x20b)](_0x24d0de,_0xd7f3eb);0x0==_0x1d23a4[_0x2cbbb1(0x2df)]&&_0x1d23a4[_0x2cbbb1(0x2b5)](new _0x408bcc(0x0)),_0x22f175[_0x2cbbb1(0x22d)]=this[_0x2cbbb1(0x251)](_0x1d23a4)[_0x2cbbb1(0x28d)](()=>{const _0x546406=_0x2cbbb1;this[_0x546406(0x29b)][_0x546406(0x23d)][_0x546406(0x1ec)](_0xc1ba9c)[_0x546406(0x2a9)](this),this[_0x546406(0x29b)][_0x546406(0x2a4)][_0x546406(0x2a2)](_0x546406(0x21e));})[_0x2cbbb1(0x264)](_0x19ae1d=>this[_0x2cbbb1(0x297)](_0x2cbbb1(0x2c6),_0x19ae1d))[_0x2cbbb1(0x29f)](()=>this[_0x2cbbb1(0x22e)]());},{'priority':_0x1aa2b6(0x229)}),this[_0x1aa2b6(0x29b)]['on'](_0x1aa2b6(0x2e8),async(_0x33a1bb,[_0x43ede6,_0x462eb6])=>{const _0x3593fd=_0x1aa2b6;_0x33a1bb[_0x3593fd(0x2d7)]();const _0x20da96=this[_0x3593fd(0x29b)][_0x3593fd(0x1eb)][_0x3593fd(0x2d2)][_0x3593fd(0x284)](_0x43ede6);if(!this[_0x3593fd(0x207)][_0x3593fd(0x225)](_0x43ede6)){const _0x5d826d=_0x462eb6&&_0x462eb6[_0x3593fd(0x2a4)]?_0x462eb6[_0x3593fd(0x2a4)]:'',_0x5bcf67=_0x462eb6&&_0x462eb6[_0x3593fd(0x279)]?_0x462eb6[_0x3593fd(0x279)]:{};await this[_0x3593fd(0x29a)](_0x43ede6,_0x5d826d,_0x5bcf67);}this[_0x3593fd(0x29b)][_0x3593fd(0x1eb)][_0x3593fd(0x1fa)]({'isUndoable':!0x1},()=>{const _0x45b17b=_0x3593fd;_0x20da96[_0x45b17b(0x201)]=!0x0,this[_0x45b17b(0x29b)][_0x45b17b(0x1eb)][_0x45b17b(0x2d2)][_0x45b17b(0x26c)][_0x45b17b(0x27f)](_0x20da96);});},{'priority':_0x1aa2b6(0x229)});}async[_0x3abefa(0x1fc)](_0x466af7){const _0x5e499f=_0x3abefa,_0xcefb47=this[_0x5e499f(0x29b)][_0x5e499f(0x23d)][_0x5e499f(0x1ec)](_0x573af9),{connection:_0x5c6c47}=this[_0x5e499f(0x29b)][_0x5e499f(0x23d)][_0x5e499f(0x1ec)](_0xc1ba9c),_0x25a17b=new Set();for(const _0x7428b2 of _0x466af7){const _0x37c504=_0x7428b2[_0x5e499f(0x275)];_0x37c504&&!_0xcefb47[_0x5e499f(0x249)](_0x37c504)&&_0x25a17b[_0x5e499f(0x252)](_0x37c504);}if(0x0===_0x25a17b[_0x5e499f(0x2ea)])return;const _0x2472d9=await _0x337346[_0x5e499f(0x2ef)](_0x5c6c47,Array[_0x5e499f(0x2b7)](_0x25a17b));for(const _0x39697d of _0x2472d9)_0xcefb47[_0x5e499f(0x249)](_0x39697d['id'])||_0xcefb47[_0x5e499f(0x294)](_0x39697d);}[_0x3abefa(0x20b)](_0x57af28,_0x702407={}){const _0x3fc7ff=_0x3abefa,_0x2b7664=this[_0x3fc7ff(0x29b)][_0x3fc7ff(0x1eb)],_0x31f5f4=[];let _0x39ac54=0x0;const _0x28c431=_0x3fc7ff(0x2d0)==typeof _0x57af28?{'main':_0x57af28}:_0x57af28;for(const _0x1baecd of Object[_0x3fc7ff(0x24e)](_0x28c431)){if(!this[_0x3fc7ff(0x2e4)][_0x3fc7ff(0x272)][_0x3fc7ff(0x225)](_0x1baecd))throw new _0xcd5801(_0x3fc7ff(0x2eb),this);const _0x57d968=this[_0x3fc7ff(0x29b)][_0x3fc7ff(0x2a4)][_0x3fc7ff(0x2bc)](_0x28c431[_0x1baecd]),_0x241a03=this[_0x3fc7ff(0x2e4)][_0x3fc7ff(0x284)](_0x1baecd),_0x13c2b3=new _0x4f994b(_0x2b7664[_0x3fc7ff(0x206)](_0x241a03,0x0),_0x57d968,_0x39ac54++);_0x31f5f4[_0x3fc7ff(0x2b5)](_0x13c2b3);for(const [_0xfe2f40,_0x5dfa30]of _0x57d968[_0x3fc7ff(0x2e9)]){const _0x34259a=_0x2b7664[_0x3fc7ff(0x227)](_0x2b7664[_0x3fc7ff(0x223)](_0x241a03,_0x5dfa30[_0x3fc7ff(0x2ce)][_0x3fc7ff(0x290)][_0x3fc7ff(0x268)]()),_0x2b7664[_0x3fc7ff(0x223)](_0x241a03,_0x5dfa30[_0x3fc7ff(0x2b1)][_0x3fc7ff(0x290)][_0x3fc7ff(0x268)]())),_0x32785d=new _0x4c7309(_0xfe2f40,null,_0x34259a,_0x2b7664[_0x3fc7ff(0x2e9)],!0x0,_0x39ac54++);_0x31f5f4[_0x3fc7ff(0x2b5)](_0x32785d);}}if(_0x702407)for(const [_0x365238,_0x3b6deb]of Object[_0x3fc7ff(0x2aa)](_0x702407)){const _0x5a026f=_0x2b7664[_0x3fc7ff(0x2d2)][_0x3fc7ff(0x284)](_0x365238);if(!_0x5a026f)throw new _0xcd5801(_0x3fc7ff(0x293),null);for(const [_0x1ca7ce,_0xdd1081]of Object[_0x3fc7ff(0x2aa)](_0x3b6deb))if(null!==_0xdd1081){const _0x4cf0bd=new _0x10392c(_0x5a026f,_0x1ca7ce,null,_0xdd1081,_0x39ac54++);_0x31f5f4[_0x3fc7ff(0x2b5)](_0x4cf0bd);}}return _0x31f5f4;}async[_0x3abefa(0x29a)](_0xe4a690,_0x4ab64f,_0x57a6d0){const _0x4e6300=_0x3abefa;this[_0x4e6300(0x20b)]({[_0xe4a690]:_0x4ab64f},{[_0xe4a690]:_0x57a6d0})[_0x4e6300(0x26e)]((_0x1a871b,_0xe6b4ab)=>{const _0x1b2ef8=_0x4e6300;_0x1a871b[_0x1b2ef8(0x254)]=this[_0x1b2ef8(0x2e4)][_0x1b2ef8(0x2c1)]+_0xe6b4ab,_0x1a871b[_0x1b2ef8(0x276)]=!0x0,this[_0x1b2ef8(0x241)](_0x1a871b);}),this[_0x4e6300(0x263)](),await this[_0x4e6300(0x292)]();}async[_0x3abefa(0x28f)](_0x577054,_0x20c65f){const _0x4a45e5=_0x3abefa;let _0x21af86;this[_0x4a45e5(0x2d8)]=_0x577054[_0x4a45e5(0x2b9)];const _0x499bfe=_0x577054[_0x4a45e5(0x218)]&&!_0x577054[_0x4a45e5(0x2ab)],_0x1b0988=_0x499bfe?0x0:_0x577054[_0x4a45e5(0x2a4)][_0x4a45e5(0x254)];if(_0x20c65f[_0x4a45e5(0x26e)](_0x509e35=>{const _0x56dade=_0x4a45e5;_0x509e35[_0x56dade(0x276)]=!0x0,_0x509e35[_0x56dade(0x2c2)]=_0x577054[_0x56dade(0x2b3)],_0x509e35[_0x56dade(0x275)]=null;}),_0x499bfe)_0x21af86=_0x20c65f,this[_0x4a45e5(0x203)](_0x21af86,_0x499bfe);else{if(_0x577054[_0x4a45e5(0x2ab)]){const _0x288728=this[_0x4a45e5(0x20b)](_0x577054[_0x4a45e5(0x2ab)]);this[_0x4a45e5(0x2e4)][_0x4a45e5(0x2d9)][_0x4a45e5(0x2c1)]=-_0x288728[_0x4a45e5(0x2df)],_0x288728[_0x4a45e5(0x26e)](_0xe5b2f7=>{const _0x42928b=_0x4a45e5;_0xe5b2f7[_0x42928b(0x254)]-=_0x288728[_0x42928b(0x2df)],_0xe5b2f7[_0x42928b(0x2c2)]=_0x577054[_0x42928b(0x2b3)],_0xe5b2f7[_0x42928b(0x276)]=!0x0,_0xe5b2f7[_0x42928b(0x275)]=null;}),this[_0x4a45e5(0x203)](_0x288728,!0x0),this[_0x4a45e5(0x1f7)][_0x4a45e5(0x2c1)]=-_0x288728[_0x4a45e5(0x2df)]+this[_0x4a45e5(0x2d8)],this[_0x4a45e5(0x265)](_0x288728);}this[_0x4a45e5(0x2e4)][_0x4a45e5(0x2d9)][_0x4a45e5(0x2c1)]=_0x1b0988,_0x21af86=this[_0x4a45e5(0x270)](_0x577054[_0x4a45e5(0x2a4)],_0x577054[_0x4a45e5(0x236)]),await this[_0x4a45e5(0x1fc)](_0x21af86),this[_0x4a45e5(0x203)](_0x21af86,_0x499bfe);}_0x577054[_0x4a45e5(0x2da)]&&(this[_0x4a45e5(0x271)][_0x4a45e5(0x23c)](_0x21af86,_0x577054[_0x4a45e5(0x2da)]),this[_0x4a45e5(0x2c9)]=_0x577054[_0x4a45e5(0x2da)]),this[_0x4a45e5(0x1f7)][_0x4a45e5(0x2c1)]=_0x1b0988+this[_0x4a45e5(0x2d8)],this[_0x4a45e5(0x265)](_0x21af86),_0x20c65f[_0x4a45e5(0x1ef)](_0x2bd648=>{const _0x36f0c7=_0x4a45e5,_0x3d20bc=this[_0x36f0c7(0x288)](_0x2bd648);return _0x3d20bc&&!this[_0x36f0c7(0x207)][_0x36f0c7(0x225)](_0x3d20bc);})[_0x4a45e5(0x26e)]((_0x2eb919,_0x292d63)=>{const _0x2e3182=_0x4a45e5;_0x2eb919[_0x2e3182(0x254)]=this[_0x2e3182(0x2e4)][_0x2e3182(0x2c1)]+_0x292d63,this[_0x2e3182(0x241)](_0x2eb919);}),this[_0x4a45e5(0x2b0)]()?(this[_0x4a45e5(0x299)]=0x0,this[_0x4a45e5(0x263)](!0x0),await this[_0x4a45e5(0x292)]()):(this[_0x4a45e5(0x266)]=!0x1,this[_0x4a45e5(0x22e)]());}[_0x3abefa(0x297)](_0x48c5cd,_0x497919){const _0x3710cb=_0x3abefa,_0x4a17b5=_0x497919&&_0x497919[_0x3710cb(0x21b)];if(_0x4a17b5&&_0x4a17b5[_0x3710cb(0x259)](_0x3710cb(0x2a7)))throw _0x497919;const _0x51bad4=this[_0x3710cb(0x29b)][_0x3710cb(0x23d)][_0x3710cb(0x1ec)](_0xc1ba9c);throw this[_0x3710cb(0x266)]=!0x0,_0x51bad4[_0x3710cb(0x2b2)](),this[_0x3710cb(0x29b)][_0x3710cb(0x278)](_0x3710cb(0x239)),new _0xcd5801(_0x48c5cd,this[_0x3710cb(0x29b)],_0x4a17b5?{'originalError':_0x4a17b5}:void 0x0);}[_0x3abefa(0x241)](_0xa830df){const _0x59a4a4=_0x3abefa;this[_0x59a4a4(0x2d5)][_0x59a4a4(0x225)](_0xa830df)||(this[_0x59a4a4(0x2d5)][_0x59a4a4(0x252)](_0xa830df),this[_0x59a4a4(0x2ac)][_0x59a4a4(0x2b5)](_0xa830df),this[_0x59a4a4(0x20a)]||_0x59a4a4(0x2a8)==_0xa830df[_0x59a4a4(0x26d)]&&!_0xa830df[_0x59a4a4(0x215)]||this[_0x59a4a4(0x2ae)]());}[_0x3abefa(0x263)](_0x37600b=!0x1){const _0x4c5861=_0x3abefa;!_0x37600b&&this[_0x4c5861(0x266)]||(this[_0x4c5861(0x266)]=!0x0,clearTimeout(this[_0x4c5861(0x2a0)]),this[_0x4c5861(0x2a0)]=setTimeout(()=>{const _0x5c6f3f=_0x4c5861;this[_0x5c6f3f(0x234)]()[_0x5c6f3f(0x28d)](_0x3eb1cc=>{const _0x19a75f=_0x5c6f3f;_0x3eb1cc&&(this[_0x19a75f(0x22e)](),this[_0x19a75f(0x266)]=!0x1);})[_0x5c6f3f(0x264)](_0x8e25d6=>{const _0x1d5246=_0x5c6f3f;this[_0x1d5246(0x22e)](),this[_0x1d5246(0x266)]=!0x1,function(_0x2088f3){const _0x42951b=_0x1d5246;return _0x2088f3[_0x42951b(0x21b)][_0x42951b(0x259)](_0x42951b(0x2ed))||_0x2088f3[_0x42951b(0x21b)][_0x42951b(0x259)](_0x42951b(0x2e5))||_0x2088f3[_0x42951b(0x21b)][_0x42951b(0x259)](_0x42951b(0x269));}(_0x8e25d6)||this[_0x1d5246(0x297)](_0x8e25d6[_0x1d5246(0x21b)],_0x8e25d6);});},this[_0x4c5861(0x299)]));}[_0x3abefa(0x292)](){return new Promise(_0x3649fc=>{const _0x3786f5=_0xd162;this['on'](_0x3786f5(0x23f),()=>{_0x3649fc();});});}async[_0x3abefa(0x234)](){const _0x54ce4d=_0x3abefa,_0x510e02=this[_0x54ce4d(0x29b)][_0x54ce4d(0x23d)][_0x54ce4d(0x1ec)](_0x231b03);if(this[_0x54ce4d(0x285)]()&&(_0x510e02[_0x54ce4d(0x1f0)](),this[_0x54ce4d(0x2db)]=!0x1),!this[_0x54ce4d(0x2b0)]())return!0x0;const _0x3d55e2=[...this[_0x54ce4d(0x2ac)]];for(const _0x851b3d of _0x3d55e2)_0x851b3d[_0x54ce4d(0x296)]=this[_0x54ce4d(0x2e4)][_0x54ce4d(0x2d9)][_0x54ce4d(0x1f6)](_0x851b3d);const _0x570da8=this[_0x54ce4d(0x271)][_0x54ce4d(0x1ee)](_0x3d55e2),_0x23851c=J++,_0x56c883=this[_0x54ce4d(0x2c3)](_0x3d55e2),_0x45eea8=await this[_0x54ce4d(0x289)][_0x54ce4d(0x244)](_0x56c883,_0x56c883[_0x54ce4d(0x254)],_0x570da8);try{return await this[_0x54ce4d(0x1f5)](_0x3d55e2,_0x45eea8,_0x23851c);}catch(_0x512964){return this[_0x54ce4d(0x297)](_0x54ce4d(0x25d),_0x512964);}}async[_0x3abefa(0x1f5)](_0x5cf42d,_0x59a49a,_0x324cef){const _0x1b976c=_0x3abefa;if(_0x1b976c(0x2c4)in _0x59a49a)throw _0x59a49a[_0x1b976c(0x2c4)];let _0x4dca24=!0x1;if(_0x59a49a[_0x1b976c(0x218)]){_0x59a49a[_0x1b976c(0x2da)]&&(this[_0x1b976c(0x2c9)]=_0x59a49a[_0x1b976c(0x2da)]),this[_0x1b976c(0x2ac)]=this[_0x1b976c(0x2ac)][_0x1b976c(0x1ef)](_0x5cc6f0=>!_0x5cf42d[_0x1b976c(0x242)](_0x5cc6f0));for(const _0x9a862f of _0x5cf42d)_0x9a862f[_0x1b976c(0x2c2)]=_0x1b976c(0x1f1)in _0x59a49a&&_0x59a49a[_0x1b976c(0x1f1)]||void 0x0;X(_0x5cf42d,_0x59a49a[_0x1b976c(0x2c1)]-_0x5cf42d[_0x1b976c(0x2df)]),this[_0x1b976c(0x265)](_0x5cf42d);const _0x5b67da=_0x5cf42d[_0x1b976c(0x1ef)](_0x105e6f=>{const _0x1c7a78=_0x1b976c;if(!_0x105e6f[_0x1c7a78(0x276)])return!0x1;const _0x294684=this[_0x1c7a78(0x288)](_0x105e6f);return _0x294684&&!this[_0x1c7a78(0x207)][_0x1c7a78(0x225)](_0x294684);});X(_0x5b67da,this[_0x1b976c(0x2e4)][_0x1b976c(0x2c1)]),this[_0x1b976c(0x203)](_0x5b67da),_0x4dca24=!0x0,this[_0x1b976c(0x299)]=this[_0x1b976c(0x226)];}else{const _0x406fc6=this[_0x1b976c(0x270)](_0x59a49a[_0x1b976c(0x2a4)],_0x59a49a[_0x1b976c(0x236)])[_0x1b976c(0x1ef)](_0xd9f7cb=>_0xd9f7cb[_0x1b976c(0x254)]>=this[_0x1b976c(0x274)]);_0x406fc6[_0x1b976c(0x26e)](_0x1c4cfc=>this[_0x1b976c(0x2ad)](_0x1c4cfc)),this[_0x1b976c(0x2ac)]=this[_0x1b976c(0x2ac)][_0x1b976c(0x1ef)](_0x57177d=>!_0x57177d[_0x1b976c(0x276)]||!this[_0x1b976c(0x207)][_0x1b976c(0x225)](this[_0x1b976c(0x288)](_0x57177d))),this[_0x1b976c(0x2ac)][_0x1b976c(0x2df)]&&X(this[_0x1b976c(0x2ac)],this[_0x1b976c(0x2ac)][0x0][_0x1b976c(0x254)]),await this[_0x1b976c(0x1fc)](_0x406fc6),_0x4dca24=this[_0x1b976c(0x28b)](_0x406fc6,_0x59a49a[_0x1b976c(0x2c1)],_0x59a49a[_0x1b976c(0x2da)]),this[_0x1b976c(0x299)]=Math[_0x1b976c(0x267)](this[_0x1b976c(0x299)]/0x2);}return _0x4dca24?!this[_0x1b976c(0x2b0)]()||(this[_0x1b976c(0x263)](!0x0),!0x1):this[_0x1b976c(0x297)](_0x1b976c(0x209));}[_0x3abefa(0x28b)](_0xacf08f,_0x4641e1,_0x319f49){const _0x2aa9c5=_0x3abefa;try{const _0x487921={'document':this[_0x2aa9c5(0x2e4)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x2da6ff,operationsB:_0x5ec739,originalOperations:_0x34991d}=_0x351504(_0xacf08f,this[_0x2aa9c5(0x2ac)],_0x487921);X(_0x2da6ff,this[_0x2aa9c5(0x2e4)][_0x2aa9c5(0x2c1)]),X(_0x5ec739,_0x4641e1);for(const _0x5f31b9 of _0x2da6ff){const _0x444b7a=_0x34991d[_0x2aa9c5(0x1ec)](_0x5f31b9);_0x5f31b9[_0x2aa9c5(0x275)]=_0x444b7a?_0x444b7a[_0x2aa9c5(0x275)]:null;}_0x319f49&&(this[_0x2aa9c5(0x271)][_0x2aa9c5(0x23c)](_0xacf08f,_0x319f49),this[_0x2aa9c5(0x2c9)]=_0x319f49),this[_0x2aa9c5(0x2ac)]=[..._0x5ec739],this[_0x2aa9c5(0x203)](_0x2da6ff),this[_0x2aa9c5(0x265)](_0xacf08f);}catch(_0xf8e9cd){return console[_0x2aa9c5(0x2c4)](_0xf8e9cd),!0x1;}return!0x0;}[_0x3abefa(0x203)](_0x599f4b,_0x61cc42=!0x1){const _0x45c54f=_0x3abefa;this[_0x45c54f(0x29b)][_0x45c54f(0x1eb)][_0x45c54f(0x1fa)]({'isUndoable':!0x1,'isLocal':!0x1},_0x59b67b=>{const _0x4c0692=_0x45c54f;for(const _0x311431 of _0x599f4b)this[_0x4c0692(0x2d5)][_0x4c0692(0x252)](_0x311431),this[_0x4c0692(0x2ad)](_0x311431),_0x59b67b[_0x4c0692(0x212)][_0x4c0692(0x221)](_0x311431),this[_0x4c0692(0x29b)][_0x4c0692(0x1eb)][_0x4c0692(0x2d1)](_0x311431);});}[_0x3abefa(0x2ad)](_0x52d483){const _0x678ed6=_0x3abefa,_0x151c09=this[_0x678ed6(0x288)](_0x52d483);_0x151c09&&this[_0x678ed6(0x207)][_0x678ed6(0x252)](_0x151c09);}[_0x3abefa(0x288)](_0xa1d1fe){const _0x1d0302=_0x3abefa;let _0x41bf36,_0x3928b6;switch(_0xa1d1fe[_0x1d0302(0x26d)]){case _0x1d0302(0x235):_0x41bf36=_0xa1d1fe[_0x1d0302(0x2bf)][_0x1d0302(0x22c)];break;case _0x1d0302(0x2a8):if(_0x3928b6=_0xa1d1fe[_0x1d0302(0x26f)],!_0x3928b6)return null;_0x41bf36=_0x3928b6[_0x1d0302(0x22c)];break;case _0x1d0302(0x286):_0x41bf36=_0xa1d1fe[_0x1d0302(0x22c)];break;case _0x1d0302(0x27a):_0x41bf36=_0xa1d1fe[_0x1d0302(0x29e)];break;case _0x1d0302(0x21d):_0x41bf36=_0xa1d1fe[_0x1d0302(0x27e)][_0x1d0302(0x22c)];break;default:return null;}return _0x41bf36[_0x1d0302(0x1f2)];}[_0x3abefa(0x265)](_0x4f7cf6){const _0xe2c88f=_0x3abefa;_0x4f7cf6[_0xe2c88f(0x26e)](_0x35dccf=>{const _0x4c880f=_0xe2c88f,_0xc474bc=_0x35dccf[_0x4c880f(0x2de)]();_0xc474bc[_0x4c880f(0x275)]=_0x35dccf[_0x4c880f(0x275)],_0xc474bc[_0x4c880f(0x276)]=!!_0x35dccf[_0x4c880f(0x276)],_0xc474bc[_0x4c880f(0x2c2)]=_0x35dccf[_0x4c880f(0x2c2)],_0xc474bc[_0x4c880f(0x254)]+=this[_0x4c880f(0x2d8)],_0x35dccf[_0x4c880f(0x1f3)]&&this[_0x4c880f(0x25a)][_0x4c880f(0x252)](_0xc474bc),this[_0x4c880f(0x1f7)][_0x4c880f(0x221)](_0xc474bc);});}[_0x3abefa(0x216)](_0x359be2){const _0x2ed43d=_0x3abefa,_0x2f839a=this[_0x2ed43d(0x29b)][_0x2ed43d(0x23d)][_0x2ed43d(0x1ec)](_0x2ed43d(0x231)),_0x5221f3=this[_0x2ed43d(0x29b)][_0x2ed43d(0x1fb)];_0x359be2||(_0x359be2=_0x17c53c(_0x5221f3,_0x2ed43d(0x20c))),_0x2f839a[_0x2ed43d(0x26a)](_0x359be2,{'title':_0x17c53c(_0x5221f3,_0x2ed43d(0x1f9)),'namespace':_0x2ed43d(0x2e6)}),this[_0x2ed43d(0x29d)]=!0x0,clearTimeout(this[_0x2ed43d(0x2a0)]),this[_0x2ed43d(0x2ac)]=[],this[_0x2ed43d(0x29b)][_0x2ed43d(0x23d)][_0x2ed43d(0x1ec)](_0xc1ba9c)[_0x2ed43d(0x2b2)]();}[_0x3abefa(0x2ae)](){const _0x3af397=_0x3abefa;this[_0x3af397(0x20a)]||(this[_0x3af397(0x20a)]=this[_0x3af397(0x29b)][_0x3af397(0x23d)][_0x3af397(0x1ec)](_0x229b19)[_0x3af397(0x252)](_0x17c53c(this[_0x3af397(0x29b)][_0x3af397(0x1fb)],_0x3af397(0x24c))));}[_0x3abefa(0x22e)](){const _0x3c1744=_0x3abefa;this[_0x3c1744(0x20a)]&&(this[_0x3c1744(0x29b)][_0x3c1744(0x23d)][_0x3c1744(0x1ec)](_0x229b19)[_0x3c1744(0x24d)](this[_0x3c1744(0x20a)]),this[_0x3c1744(0x20a)]=null);}[_0x3abefa(0x2c3)](_0x42534e){const _0x141581=_0x3abefa,_0x34344c=_0x42534e[_0x141581(0x21f)](_0x4e7d84=>_0x4e7d84[_0x141581(0x24a)]());return this[_0x141581(0x2a5)][_0x141581(0x20e)](_0x34344c);}[_0x3abefa(0x270)](_0x47c646,_0x54c0a4){const _0x27a532=_0x3abefa;return this[_0x27a532(0x2a5)][_0x27a532(0x2cc)](_0x47c646)[_0x27a532(0x21f)]((_0xc8885c,_0x4d85d9)=>{const _0x247b92=_0x27a532,_0x33ceea=_0x247b92(0x2be)==_0x54c0a4[_0x4d85d9][_0x247b92(0x26d)];if(_0x247b92(0x280)==_0xc8885c[_0x247b92(0x1f8)]){const _0x1004c9=_0xc8885c[_0x247b92(0x2bf)][_0x247b92(0x22c)];!this[_0x247b92(0x2e4)][_0x247b92(0x284)](_0x1004c9)&&(this[_0x247b92(0x2e4)][_0x247b92(0x25e)](_0x247b92(0x258),_0x1004c9)[_0x247b92(0x233)]=!0x1);}const _0x2200ca=_0x15c734[_0x247b92(0x1f4)](_0xc8885c,this[_0x247b92(0x2e4)]);return _0x2200ca[_0x247b92(0x296)]=_0xc8885c[_0x247b92(0x296)],_0x2200ca[_0x247b92(0x276)]=_0x33ceea,_0x2200ca[_0x247b92(0x275)]=_0x33ceea?null:_0x54c0a4[_0x4d85d9][_0x247b92(0x28a)],_0x2200ca[_0x247b92(0x1f3)]=_0x247b92(0x217)===_0x54c0a4[_0x4d85d9][_0x247b92(0x26d)],_0x2200ca[_0x247b92(0x2c2)]=_0x54c0a4[_0x4d85d9][_0x247b92(0x2c2)],_0x2200ca;});}[_0x3abefa(0x238)](){const _0x4a27ee=_0x3abefa;this[_0x4a27ee(0x2db)]=!0x0,this[_0x4a27ee(0x285)]()?this[_0x4a27ee(0x263)]():this[_0x4a27ee(0x2db)]=!0x1;}[_0x3abefa(0x285)](){const _0xd9190b=_0x3abefa,_0x25e39b=this[_0xd9190b(0x29b)][_0xd9190b(0x23d)][_0xd9190b(0x1ec)](_0xc90e44)[_0xd9190b(0x2c0)][_0xd9190b(0x1ec)](this[_0xd9190b(0x260)]);return!this[_0xd9190b(0x29b)][_0xd9190b(0x247)]&&!!_0x25e39b&&_0x25e39b[_0xd9190b(0x2df)]>0x1&&this[_0xd9190b(0x2db)];}[_0x3abefa(0x2b0)](){const _0x48ee36=_0x3abefa;return this[_0x48ee36(0x2ac)][_0x48ee36(0x2df)]>0x0||this[_0x48ee36(0x285)]();}}export default l;class Q extends Error{}function _0x18c8(){const _0x1c33bb=['_bufferedOperations','_addKnownRoot','_setPendingAction','view','_shouldSendUpdate','end','disconnect','sessionCreatedAt','listenTo','push','operationsReceived','from','state','offset','stopListening','reconnect','parse','Permissions','init','position','channelSessions','version','createdAt','_compressOperations','error','_handleReceivedOperations','realtimecollaborationclient-init-connection-failed','_disconnectService','isPremiumPlugin','_lastSyncedOperationId','bind','connect','decompress','_initThrowingOnDataSet','start','collaboration','string','applyOperation','document','change:_isEditingAllowed','requires','_knownOperations','_setUpDataInit','stop','_offset','history','lastOperationId','_hasSelectionChanged','mySessionId','pluginName','clone','length','realtimecollaborationclient-init-service-incorrect-server-operation','reset','permissions','apply','_document','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','real-time-collaboration','cloudDocumentVersion','loadRoot','markers','size','realtimecollaborationclient-init-non-existent-root','rootsAttributes','cloud-services-internal-error:\x20Not\x20connected.','setPermissions','getMany','isOfficialPlugin','model','get','RealTimeCollaborationClient','getIdOfTheLastOperation','filter','createUserMarkerOperations','lastOperationAcceptedAt','rootName','_isDisconnection','fromJSON','_handleServerResponse','isUndoneOperation','serverHistory','__className','Synchronization\x20issue','enqueueChange','locale','_fetchMissingUsers','getOperationAuthor','sessionAdd:','lastSyncVersion','lastDocumentSession','_isLoaded','collaboration-missing-channelid','_applyOperationsSet','5gNKshi','cloudServices.bundleVersion','createPositionAt','_knownRootNames','directChange','realtimecollaborationclient-handleserverresponse','_pendingAction','_getOperationsFromInitData','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.','define','compress','CollaborativeEditingService','currentDocumentSession','360BykWnk','batch','change:range','24328ykpeqw','affectsData','_handleReconnectionError','cs:removeUser','wereChangesApplied','set','collaboration.channelId','message','editing','move','ready','map','18MVQaBN','addOperation','disconnected','createPositionFromPath','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.','has','_baseBufferDelay','createRange','rtc-offline','high','unregister','CommentsOnly','root','return','_clearPendingAction','off','document:write','Notification','realtimecollaborationclient-init-document-already-initialized','_isAttached','_sendBufferedOperations','insert','metadata','6015877pKZtrd','_refreshUserSelectionMarkers','realtimecollaborationclient-error','disableReadOnlyMode','realtimecollaborationclient-init-session-connection-error','setIdForTheLastOperation','plugins','_isEditingAllowed','change:_isPendingUpdate','selection','_saveOperationInBuffer','includes','18490370MdoygH','sendOperations','getDocumentDetails','_handleReconnectionResponse','isReadOnly','realtimecollaborationclient-init-service-internal-error','getUser','toJSON','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','PENDING_ACTION_SENDING_DATA','remove','keys','264611szvzku','409','_connectService','add','removeFromReconnectionStack','baseVersion','17142YPkpCC','connection','reconnection:\x20flushed\x20session','$root','startsWith','_disconnectionOperations','suppressErrorInCollaboration','_isConnected','realtimecollaborationclient-sendbufferedoperations','createRoot','_connectAfterSessionHasBeenFlushed','_channelId','_ignoredOperations','getConnectedSessions','_sendBufferedOperationsDelayed','catch','_updateServerHistory','_isPendingUpdate','round','slice','cloud-services-internal-error:\x20Request\x20timeout.','showWarning','register','differ','type','forEach','newRange','_decompressOperations','_operationIdentifier','roots','_handleSendingSelectionMarkers','_lastServerVersion','_authorId','_isInit','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','enableReadOnlyMode','attributes','addRoot','404','change:hasDomSelection','_initSessionsHandling','targetPosition','_bufferRootLoad','InsertOperation','connected','config','isEnabled','getRoot','_shouldSendSelectionUpdate','addRootAttribute','isDocumentOperation','_getAffectedRoot','_service','userId','_handleExternalOperations','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','then','rtc-destroyed','_handleInitialConnectionData','path','2539112gbjzQx','_waitUntilSynced','multi-root-editor-root-attributes-no-root','addUser','code','wasUndone','_crash','506670xvCLbZ','_currentBufferDelay','_loadRoot','editor','_operationToId','_hasSynchronizationProblem','affectedSelectable','finally','_sendBufferedOperationsDelayId','getOperations','fire','destroy','data','_compressor','sessionId','realtimecollaborationclient','marker','addToReconnectionStack','entries','initData'];_0x18c8=function(){return _0x1c33bb;};return _0x18c8();}function X(_0x15c350,_0x17c42c){const _0x4d1821=_0x3abefa;for(const _0x311226 of _0x15c350)_0x311226[_0x4d1821(0x254)]=_0x17c42c++;}class Y{[_0x3abefa(0x261)];[_0x3abefa(0x29c)];constructor(_0xdc6eec){const _0x3bb10e=_0x3abefa;this[_0x3bb10e(0x261)]=_0xdc6eec,this[_0x3bb10e(0x29c)]=new WeakMap();}[_0x3abefa(0x1ee)](_0x5bdef2){const _0x2b03e0=_0x3abefa;let _0x124f48=_0x5bdef2[_0x2b03e0(0x2df)];for(;_0x124f48--;){const _0x3cf00f=_0x5bdef2[_0x124f48];if(!this[_0x2b03e0(0x261)][_0x2b03e0(0x225)](_0x3cf00f)){if(!this[_0x2b03e0(0x29c)][_0x2b03e0(0x225)](_0x3cf00f)){const _0x5f340b=_0x421675()[_0x2b03e0(0x268)](0x1,0x12);this[_0x2b03e0(0x29c)][_0x2b03e0(0x219)](_0x3cf00f,_0x5f340b);}return this[_0x2b03e0(0x29c)][_0x2b03e0(0x1ec)](_0x3cf00f);}}}[_0x3abefa(0x23c)](_0x32182f,_0x4c2bed){const _0x3b1f98=_0x3abefa;if(!_0x4c2bed)return;let _0xc0f688=_0x32182f[_0x3b1f98(0x2df)];for(;_0xc0f688--;){const _0x122d24=_0x32182f[_0xc0f688];this[_0x3b1f98(0x261)][_0x3b1f98(0x225)](_0x122d24)||this[_0x3b1f98(0x29c)][_0x3b1f98(0x219)](_0x122d24,_0x4c2bed);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2541(){const _0x12e3b1=['change:state','239736JPaZKB','forEach','init','_handleSessionRemove','orderNumber','24suVfLh','1551320MhRDRl','register','state','333FNIWro','147WDekQs','isMe','clear','assign','getUserSessions','connection','1612395OjjlVI','user','unregister','11977KaniRC','defineMe','plugins','sessions-register-already-registered','fire','role','context','size','add','has','isPremiumPlugin','values','45136Xrnqyp','delete','pluginName','Sessions','listenTo','getUser','connected','channelConnectedUsers','_handleSessionAdd','getUserRole','addUser','stopListening','get','_registeredSessions','allConnectedUsers','sessionAdd:','sessionId','remove','getUserBySessionId','3818089LsbeOG','channelSessions','_createUser','_users','sessions-unregister-not-exist','_uniqueUsersCount','4wVGmeM','132414PnWyec','requires','isOfficialPlugin','16AnriVJ','mySessionId','set'];_0x2541=function(){return _0x12e3b1;};return _0x2541();}const _0x2c186c=_0x3b04;(function(_0x1b7ca5,_0x2ac73e){const _0x1b5b81=_0x3b04,_0x335717=_0x1b7ca5();while(!![]){try{const _0xc7a6f9=-parseInt(_0x1b5b81(0x1bb))/0x1*(parseInt(_0x1b5b81(0x1a0))/0x2)+parseInt(_0x1b5b81(0x1a8))/0x3*(parseInt(_0x1b5b81(0x1a4))/0x4)+parseInt(_0x1b5b81(0x1b8))/0x5+-parseInt(_0x1b5b81(0x1a1))/0x6*(-parseInt(_0x1b5b81(0x1b2))/0x7)+-parseInt(_0x1b5b81(0x1c7))/0x8*(-parseInt(_0x1b5b81(0x1b1))/0x9)+-parseInt(_0x1b5b81(0x1ae))/0xa+-parseInt(_0x1b5b81(0x19a))/0xb*(parseInt(_0x1b5b81(0x1ad))/0xc);if(_0xc7a6f9===_0x2ac73e)break;else _0x335717['push'](_0x335717['shift']());}catch(_0x10e91c){_0x335717['push'](_0x335717['shift']());}}}(_0x2541,0x6bad6));function _0x3b04(_0x4806ca,_0x4185be){const _0x2541e5=_0x2541();return _0x3b04=function(_0x3b04c9,_0x17ee75){_0x3b04c9=_0x3b04c9-0x194;let _0x26e39d=_0x2541e5[_0x3b04c9];return _0x26e39d;},_0x3b04(_0x4806ca,_0x4185be);}import{ContextPlugin as _0x319fb9}from'ckeditor5/src/core.js';import{Collection as _0x397c07,CKEditorError as _0x2531d8}from'ckeditor5/src/utils.js';import _0x21b68c from'./websocketgateway.js';import{Users as _0x41d440}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x319fb9{[_0x2c186c(0x19b)];[_0x2c186c(0x1ce)];[_0x2c186c(0x195)];[_0x2c186c(0x194)];[_0x2c186c(0x19f)];[_0x2c186c(0x19d)];static get[_0x2c186c(0x1c9)](){const _0x1d2867=_0x2c186c;return _0x1d2867(0x1ca);}static get[_0x2c186c(0x1a3)](){return!0x0;}static get[_0x2c186c(0x1c5)](){return!0x0;}static get[_0x2c186c(0x1a2)](){return[_0x21b68c,_0x41d440];}constructor(_0x23c0fd){const _0x494353=_0x2c186c;super(_0x23c0fd),this[_0x494353(0x19b)]=new Map(),this[_0x494353(0x1ce)]=new Map(),this[_0x494353(0x195)]=new _0x397c07(),this[_0x494353(0x194)]=new Map(),this[_0x494353(0x19f)]=0x0,this[_0x494353(0x19d)]=this[_0x494353(0x1c1)][_0x494353(0x1bd)][_0x494353(0x1d3)](_0x41d440);}[_0x2c186c(0x1aa)](){const _0x3c7df0=_0x2c186c,_0x217a45=this[_0x3c7df0(0x1c1)][_0x3c7df0(0x1bd)][_0x3c7df0(0x1d3)](_0x21b68c);this[_0x3c7df0(0x1cb)](_0x217a45,_0x3c7df0(0x1a7),(_0x21708b,_0x950ae7,_0x1ff24a)=>{const _0x54a167=_0x3c7df0;if(_0x54a167(0x1cd)!==_0x1ff24a)this[_0x54a167(0x19b)][_0x54a167(0x1a9)](_0xc3ed7f=>_0xc3ed7f[_0x54a167(0x1b4)]()),this[_0x54a167(0x1ce)][_0x54a167(0x1a9)](_0x4bb87b=>_0x4bb87b[_0x54a167(0x1b4)]()),this[_0x54a167(0x195)][_0x54a167(0x1b4)]();else{for(const [_0x3a811f,_0x250195]of this[_0x54a167(0x194)])for(const _0x2f5b7c of _0x250195)this[_0x54a167(0x1cf)](_0x3a811f,_0x2f5b7c);}}),this[_0x3c7df0(0x19c)](_0x217a45[_0x3c7df0(0x1b7)]['me'],!0x0);}[_0x2c186c(0x1af)](_0x2c119e,_0x43ad7f){const _0x509473=_0x2c186c;if(this[_0x509473(0x194)][_0x509473(0x1c4)](_0x2c119e))throw new _0x2531d8(_0x509473(0x1be),null,{'channelId':_0x2c119e});this[_0x509473(0x194)][_0x509473(0x1a6)](_0x2c119e,_0x43ad7f),this[_0x509473(0x19b)][_0x509473(0x1a6)](_0x2c119e,new _0x397c07()),this[_0x509473(0x1ce)][_0x509473(0x1a6)](_0x2c119e,new _0x397c07()),this[_0x509473(0x1cb)](_0x43ad7f,_0x509473(0x1c3),(_0x5c7ba4,_0x3d24fc)=>this[_0x509473(0x1cf)](_0x2c119e,_0x3d24fc)),this[_0x509473(0x1cb)](_0x43ad7f,_0x509473(0x198),(_0x87b9bf,_0xc42ab3)=>this[_0x509473(0x1ab)](_0x2c119e,_0xc42ab3));for(const _0x58d80f of _0x43ad7f)this[_0x509473(0x1cf)](_0x2c119e,_0x58d80f);}[_0x2c186c(0x1ba)](_0x53c726){const _0x2202fa=_0x2c186c;if(!this[_0x2202fa(0x194)][_0x2202fa(0x1c4)](_0x53c726))throw new _0x2531d8(_0x2202fa(0x19e),null,{'channelId':_0x53c726});const _0x1b385b=this[_0x2202fa(0x194)][_0x2202fa(0x1d3)](_0x53c726);this[_0x2202fa(0x1d2)](_0x1b385b);for(const _0xe59615 of _0x1b385b)_0x2202fa(0x1cd)===this[_0x2202fa(0x1c1)][_0x2202fa(0x1bd)][_0x2202fa(0x1d3)](_0x21b68c)[_0x2202fa(0x1b0)]&&this[_0x2202fa(0x1ab)](_0x53c726,_0xe59615);this[_0x2202fa(0x194)][_0x2202fa(0x1c8)](_0x53c726),this[_0x2202fa(0x19b)][_0x2202fa(0x1c8)](_0x53c726),this[_0x2202fa(0x1ce)][_0x2202fa(0x1c8)](_0x53c726);}get[_0x2c186c(0x1a5)](){const _0x33d93d=_0x2c186c;return this[_0x33d93d(0x1c1)][_0x33d93d(0x1bd)][_0x33d93d(0x1d3)](_0x21b68c)[_0x33d93d(0x1b7)][_0x33d93d(0x197)];}[_0x2c186c(0x199)](_0x291240){const _0x425a3b=_0x2c186c;for(const _0x11e0a3 of this[_0x425a3b(0x19b)][_0x425a3b(0x1c6)]())for(const _0x1f6d2f of _0x11e0a3)if(_0x1f6d2f['id']===_0x291240)return _0x1f6d2f[_0x425a3b(0x1b9)];}[_0x2c186c(0x1b6)](_0x120828,_0x13dd12){const _0x3b72ee=_0x2c186c,_0x2db280=_0x13dd12?[this[_0x3b72ee(0x19b)][_0x3b72ee(0x1d3)](_0x13dd12)]:this[_0x3b72ee(0x19b)][_0x3b72ee(0x1c6)](),_0x221b7d=new Set();for(const _0x454778 of _0x2db280)for(const _0x15c38c of _0x454778)_0x15c38c[_0x3b72ee(0x1b9)]['id']===_0x120828['id']&&_0x221b7d[_0x3b72ee(0x1c3)](_0x15c38c['id']);return _0x221b7d;}[_0x2c186c(0x1d0)](_0x158d2e){const _0x512eb1=_0x2c186c;for(const _0x4c5e04 of this[_0x512eb1(0x19b)][_0x512eb1(0x1c6)]())for(const _0x5ee9d1 of _0x4c5e04)if(_0x5ee9d1[_0x512eb1(0x1b9)]===_0x158d2e)return _0x5ee9d1[_0x512eb1(0x1c0)];}[_0x2c186c(0x1cf)](_0x1db8f5,_0x34f42c){const _0x15f951=_0x2c186c;if(_0x15f951(0x1cd)!==this[_0x15f951(0x1c1)][_0x15f951(0x1bd)][_0x15f951(0x1d3)](_0x21b68c)[_0x15f951(0x1b0)])return;const _0x3121af=_0x34f42c[_0x15f951(0x1b9)],_0x117148=this[_0x15f951(0x19d)][_0x15f951(0x1cc)](_0x3121af['id'])||this[_0x15f951(0x19c)](_0x3121af),_0x4e42f4=Object[_0x15f951(0x1b5)]({},_0x34f42c,{'user':_0x117148});this[_0x15f951(0x19b)][_0x15f951(0x1d3)](_0x1db8f5)[_0x15f951(0x1c3)](_0x4e42f4);const _0xe416c9=this[_0x15f951(0x1ce)][_0x15f951(0x1d3)](_0x1db8f5);_0xe416c9[_0x15f951(0x1c4)](_0x117148['id'])||_0xe416c9[_0x15f951(0x1c3)](_0x117148),this[_0x15f951(0x195)][_0x15f951(0x1c4)](_0x117148['id'])||this[_0x15f951(0x195)][_0x15f951(0x1c3)](_0x117148,_0x117148[_0x15f951(0x1b3)]?0x0:void 0x0),this[_0x15f951(0x1bf)](_0x15f951(0x196)+_0x1db8f5,{'channelId':_0x1db8f5,'session':_0x4e42f4});}[_0x2c186c(0x1ab)](_0x92ec86,_0x3ceda0){const _0x2576bb=_0x2c186c;if(_0x2576bb(0x1cd)!==this[_0x2576bb(0x1c1)][_0x2576bb(0x1bd)][_0x2576bb(0x1d3)](_0x21b68c)[_0x2576bb(0x1b0)])return;const _0x5eca3d=this[_0x2576bb(0x1ce)][_0x2576bb(0x1d3)](_0x92ec86),_0x686931=_0x3ceda0[_0x2576bb(0x1b9)];_0x686931['id']&&(this[_0x2576bb(0x19b)][_0x2576bb(0x1d3)](_0x92ec86)[_0x2576bb(0x198)](_0x3ceda0['id']),_0x5eca3d[_0x2576bb(0x1c4)](_0x686931['id'])&&!this[_0x2576bb(0x1b6)](_0x686931,_0x92ec86)[_0x2576bb(0x1c2)]&&_0x5eca3d[_0x2576bb(0x198)](_0x686931['id']),this[_0x2576bb(0x195)][_0x2576bb(0x1d3)](_0x686931['id'])&&!this[_0x2576bb(0x1b6)](_0x686931)[_0x2576bb(0x1c2)]&&this[_0x2576bb(0x195)][_0x2576bb(0x198)](_0x686931['id']));}[_0x2c186c(0x19c)](_0x3e2769,_0x22a19e){const _0x1cc4b5=_0x2c186c,_0x49aa2a=this[_0x1cc4b5(0x19d)][_0x1cc4b5(0x1d1)](_0x3e2769);return _0x22a19e&&this[_0x1cc4b5(0x19d)][_0x1cc4b5(0x1bc)](_0x3e2769['id']),_0x49aa2a[_0x1cc4b5(0x1ac)]=this[_0x1cc4b5(0x19f)]++,_0x49aa2a;}}
23
+ const _0x24a240=_0xf562;(function(_0x2f3d48,_0x54c291){const _0xcf6b5e=_0xf562,_0x28bf02=_0x2f3d48();while(!![]){try{const _0x53e181=-parseInt(_0xcf6b5e(0xd1))/0x1+-parseInt(_0xcf6b5e(0xdc))/0x2*(parseInt(_0xcf6b5e(0xf8))/0x3)+-parseInt(_0xcf6b5e(0x107))/0x4+-parseInt(_0xcf6b5e(0xe1))/0x5*(parseInt(_0xcf6b5e(0x103))/0x6)+parseInt(_0xcf6b5e(0xf0))/0x7+parseInt(_0xcf6b5e(0xdd))/0x8*(parseInt(_0xcf6b5e(0xde))/0x9)+parseInt(_0xcf6b5e(0xcc))/0xa*(parseInt(_0xcf6b5e(0x100))/0xb);if(_0x53e181===_0x54c291)break;else _0x28bf02['push'](_0x28bf02['shift']());}catch(_0x18ca79){_0x28bf02['push'](_0x28bf02['shift']());}}}(_0x346a,0x75388));function _0xf562(_0x2d5cc5,_0x1fb838){const _0x346a31=_0x346a();return _0xf562=function(_0xf562f8,_0x244121){_0xf562f8=_0xf562f8-0xcb;let _0x3c9b42=_0x346a31[_0xf562f8];return _0x3c9b42;},_0xf562(_0x2d5cc5,_0x1fb838);}import{ContextPlugin as _0x35089c}from'ckeditor5/src/core.js';import{Collection as _0xd80f5d,CKEditorError as _0x55c523}from'ckeditor5/src/utils.js';import _0x35c945 from'./websocketgateway.js';import{Users as _0x45efdf}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x346a(){const _0x4b8e7d=['_createUser','3197800ynalbF','_uniqueUsersCount','connected','get','7551270MDVUcM','getUserRole','connection','remove','values','957830PNkwOx','clear','plugins','_handleSessionRemove','set','unregister','fire','init','getUserSessions','forEach','stopListening','358cYPGvO','4308480OBqfpf','9nSclqI','pluginName','Sessions','10tqBpeW','channelConnectedUsers','requires','channelSessions','sessions-unregister-not-exist','context','listenTo','mySessionId','register','_handleSessionAdd','isOfficialPlugin','delete','change:state','assign','addUser','564081FiuqBA','user','getUser','allConnectedUsers','defineMe','isPremiumPlugin','state','add','2934LVAwOK','role','orderNumber','has','isMe','sessionAdd:','_registeredSessions','sessions-register-already-registered','33sPaToH','sessionId','_users','1416138TJaZsq','size','getUserBySessionId'];_0x346a=function(){return _0x4b8e7d;};return _0x346a();}export default class i extends _0x35089c{[_0x24a240(0xe4)];[_0x24a240(0xe2)];[_0x24a240(0xf3)];[_0x24a240(0xfe)];[_0x24a240(0x108)];[_0x24a240(0x102)];static get[_0x24a240(0xdf)](){const _0xfaa82c=_0x24a240;return _0xfaa82c(0xe0);}static get[_0x24a240(0xeb)](){return!0x0;}static get[_0x24a240(0xf5)](){return!0x0;}static get[_0x24a240(0xe3)](){return[_0x35c945,_0x45efdf];}constructor(_0x3e0bdf){const _0x28e302=_0x24a240;super(_0x3e0bdf),this[_0x28e302(0xe4)]=new Map(),this[_0x28e302(0xe2)]=new Map(),this[_0x28e302(0xf3)]=new _0xd80f5d(),this[_0x28e302(0xfe)]=new Map(),this[_0x28e302(0x108)]=0x0,this[_0x28e302(0x102)]=this[_0x28e302(0xe6)][_0x28e302(0xd3)][_0x28e302(0xcb)](_0x45efdf);}[_0x24a240(0xd8)](){const _0x44bc65=_0x24a240,_0x209bd6=this[_0x44bc65(0xe6)][_0x44bc65(0xd3)][_0x44bc65(0xcb)](_0x35c945);this[_0x44bc65(0xe7)](_0x209bd6,_0x44bc65(0xed),(_0x1ff544,_0x1fd037,_0x15c066)=>{const _0xd07a90=_0x44bc65;if(_0xd07a90(0x109)!==_0x15c066)this[_0xd07a90(0xe4)][_0xd07a90(0xda)](_0x5c2427=>_0x5c2427[_0xd07a90(0xd2)]()),this[_0xd07a90(0xe2)][_0xd07a90(0xda)](_0x3757bd=>_0x3757bd[_0xd07a90(0xd2)]()),this[_0xd07a90(0xf3)][_0xd07a90(0xd2)]();else{for(const [_0x49f981,_0x250ab8]of this[_0xd07a90(0xfe)])for(const _0x44e83e of _0x250ab8)this[_0xd07a90(0xea)](_0x49f981,_0x44e83e);}}),this[_0x44bc65(0x106)](_0x209bd6[_0x44bc65(0xce)]['me'],!0x0);}[_0x24a240(0xe9)](_0x3a1f7a,_0x5ac640){const _0x257a86=_0x24a240;if(this[_0x257a86(0xfe)][_0x257a86(0xfb)](_0x3a1f7a))throw new _0x55c523(_0x257a86(0xff),null,{'channelId':_0x3a1f7a});this[_0x257a86(0xfe)][_0x257a86(0xd5)](_0x3a1f7a,_0x5ac640),this[_0x257a86(0xe4)][_0x257a86(0xd5)](_0x3a1f7a,new _0xd80f5d()),this[_0x257a86(0xe2)][_0x257a86(0xd5)](_0x3a1f7a,new _0xd80f5d()),this[_0x257a86(0xe7)](_0x5ac640,_0x257a86(0xf7),(_0x4aed9b,_0xad4574)=>this[_0x257a86(0xea)](_0x3a1f7a,_0xad4574)),this[_0x257a86(0xe7)](_0x5ac640,_0x257a86(0xcf),(_0x15621a,_0x1433de)=>this[_0x257a86(0xd4)](_0x3a1f7a,_0x1433de));for(const _0x29cd76 of _0x5ac640)this[_0x257a86(0xea)](_0x3a1f7a,_0x29cd76);}[_0x24a240(0xd6)](_0x707432){const _0x244888=_0x24a240;if(!this[_0x244888(0xfe)][_0x244888(0xfb)](_0x707432))throw new _0x55c523(_0x244888(0xe5),null,{'channelId':_0x707432});const _0x1c7a8e=this[_0x244888(0xfe)][_0x244888(0xcb)](_0x707432);this[_0x244888(0xdb)](_0x1c7a8e);for(const _0x592cbd of _0x1c7a8e)_0x244888(0x109)===this[_0x244888(0xe6)][_0x244888(0xd3)][_0x244888(0xcb)](_0x35c945)[_0x244888(0xf6)]&&this[_0x244888(0xd4)](_0x707432,_0x592cbd);this[_0x244888(0xfe)][_0x244888(0xec)](_0x707432),this[_0x244888(0xe4)][_0x244888(0xec)](_0x707432),this[_0x244888(0xe2)][_0x244888(0xec)](_0x707432);}get[_0x24a240(0xe8)](){const _0x3fdcf2=_0x24a240;return this[_0x3fdcf2(0xe6)][_0x3fdcf2(0xd3)][_0x3fdcf2(0xcb)](_0x35c945)[_0x3fdcf2(0xce)][_0x3fdcf2(0x101)];}[_0x24a240(0x105)](_0x9f5015){const _0x30203d=_0x24a240;for(const _0x21403c of this[_0x30203d(0xe4)][_0x30203d(0xd0)]())for(const _0x183961 of _0x21403c)if(_0x183961['id']===_0x9f5015)return _0x183961[_0x30203d(0xf1)];}[_0x24a240(0xd9)](_0x410040,_0x46e5b2){const _0x3962e8=_0x24a240,_0x1297ef=_0x46e5b2?[this[_0x3962e8(0xe4)][_0x3962e8(0xcb)](_0x46e5b2)]:this[_0x3962e8(0xe4)][_0x3962e8(0xd0)](),_0x58c7b0=new Set();for(const _0x259604 of _0x1297ef)for(const _0x320aaf of _0x259604)_0x320aaf[_0x3962e8(0xf1)]['id']===_0x410040['id']&&_0x58c7b0[_0x3962e8(0xf7)](_0x320aaf['id']);return _0x58c7b0;}[_0x24a240(0xcd)](_0x11b089){const _0x4cccb1=_0x24a240;for(const _0x1a44d2 of this[_0x4cccb1(0xe4)][_0x4cccb1(0xd0)]())for(const _0x2746dc of _0x1a44d2)if(_0x2746dc[_0x4cccb1(0xf1)]===_0x11b089)return _0x2746dc[_0x4cccb1(0xf9)];}[_0x24a240(0xea)](_0x1830bb,_0x215af7){const _0x212b73=_0x24a240;if(_0x212b73(0x109)!==this[_0x212b73(0xe6)][_0x212b73(0xd3)][_0x212b73(0xcb)](_0x35c945)[_0x212b73(0xf6)])return;const _0x2fe3df=_0x215af7[_0x212b73(0xf1)],_0x5f1dbd=this[_0x212b73(0x102)][_0x212b73(0xf2)](_0x2fe3df['id'])||this[_0x212b73(0x106)](_0x2fe3df),_0xa2e715=Object[_0x212b73(0xee)]({},_0x215af7,{'user':_0x5f1dbd});this[_0x212b73(0xe4)][_0x212b73(0xcb)](_0x1830bb)[_0x212b73(0xf7)](_0xa2e715);const _0x3aab3c=this[_0x212b73(0xe2)][_0x212b73(0xcb)](_0x1830bb);_0x3aab3c[_0x212b73(0xfb)](_0x5f1dbd['id'])||_0x3aab3c[_0x212b73(0xf7)](_0x5f1dbd),this[_0x212b73(0xf3)][_0x212b73(0xfb)](_0x5f1dbd['id'])||this[_0x212b73(0xf3)][_0x212b73(0xf7)](_0x5f1dbd,_0x5f1dbd[_0x212b73(0xfc)]?0x0:void 0x0),this[_0x212b73(0xd7)](_0x212b73(0xfd)+_0x1830bb,{'channelId':_0x1830bb,'session':_0xa2e715});}[_0x24a240(0xd4)](_0x286a82,_0x273d66){const _0x2a2a1a=_0x24a240;if(_0x2a2a1a(0x109)!==this[_0x2a2a1a(0xe6)][_0x2a2a1a(0xd3)][_0x2a2a1a(0xcb)](_0x35c945)[_0x2a2a1a(0xf6)])return;const _0x48a729=this[_0x2a2a1a(0xe2)][_0x2a2a1a(0xcb)](_0x286a82),_0xb3038=_0x273d66[_0x2a2a1a(0xf1)];_0xb3038['id']&&(this[_0x2a2a1a(0xe4)][_0x2a2a1a(0xcb)](_0x286a82)[_0x2a2a1a(0xcf)](_0x273d66['id']),_0x48a729[_0x2a2a1a(0xfb)](_0xb3038['id'])&&!this[_0x2a2a1a(0xd9)](_0xb3038,_0x286a82)[_0x2a2a1a(0x104)]&&_0x48a729[_0x2a2a1a(0xcf)](_0xb3038['id']),this[_0x2a2a1a(0xf3)][_0x2a2a1a(0xcb)](_0xb3038['id'])&&!this[_0x2a2a1a(0xd9)](_0xb3038)[_0x2a2a1a(0x104)]&&this[_0x2a2a1a(0xf3)][_0x2a2a1a(0xcf)](_0xb3038['id']));}[_0x24a240(0x106)](_0x26e820,_0x2c2a0d){const _0xa03e5a=_0x24a240,_0x453245=this[_0xa03e5a(0x102)][_0xa03e5a(0xef)](_0x26e820);return _0x2c2a0d&&this[_0xa03e5a(0x102)][_0xa03e5a(0xf4)](_0x26e820['id']),_0x453245[_0xa03e5a(0xfa)]=this[_0xa03e5a(0x108)]++,_0x453245;}}