@ckeditor/ckeditor5-real-time-collaboration 45.0.0-alpha.3 → 45.0.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-real-time-collaboration",
3
- "version": "45.0.0-alpha.3",
3
+ "version": "45.0.0-alpha.4",
4
4
  "description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -47,19 +47,19 @@
47
47
  ],
48
48
  "dependencies": {
49
49
  "@ckeditor/ckeditor-cloud-services-collaboration": "52.7.0",
50
- "@ckeditor/ckeditor5-cloud-services": "45.0.0-alpha.3",
51
- "@ckeditor/ckeditor5-comments": "45.0.0-alpha.3",
52
- "@ckeditor/ckeditor5-core": "45.0.0-alpha.3",
53
- "@ckeditor/ckeditor5-editor-multi-root": "45.0.0-alpha.3",
54
- "@ckeditor/ckeditor5-engine": "45.0.0-alpha.3",
55
- "@ckeditor/ckeditor5-operations-compressor": "45.0.0-alpha.3",
56
- "@ckeditor/ckeditor5-revision-history": "45.0.0-alpha.3",
57
- "@ckeditor/ckeditor5-theme-lark": "45.0.0-alpha.3",
58
- "@ckeditor/ckeditor5-track-changes": "45.0.0-alpha.3",
59
- "@ckeditor/ckeditor5-ui": "45.0.0-alpha.3",
60
- "@ckeditor/ckeditor5-utils": "45.0.0-alpha.3",
61
- "ckeditor5": "45.0.0-alpha.3",
62
- "ckeditor5-collaboration": "45.0.0-alpha.3",
50
+ "@ckeditor/ckeditor5-cloud-services": "45.0.0-alpha.4",
51
+ "@ckeditor/ckeditor5-comments": "45.0.0-alpha.4",
52
+ "@ckeditor/ckeditor5-core": "45.0.0-alpha.4",
53
+ "@ckeditor/ckeditor5-editor-multi-root": "45.0.0-alpha.4",
54
+ "@ckeditor/ckeditor5-engine": "45.0.0-alpha.4",
55
+ "@ckeditor/ckeditor5-operations-compressor": "45.0.0-alpha.4",
56
+ "@ckeditor/ckeditor5-revision-history": "45.0.0-alpha.4",
57
+ "@ckeditor/ckeditor5-theme-lark": "45.0.0-alpha.4",
58
+ "@ckeditor/ckeditor5-track-changes": "45.0.0-alpha.4",
59
+ "@ckeditor/ckeditor5-ui": "45.0.0-alpha.4",
60
+ "@ckeditor/ckeditor5-utils": "45.0.0-alpha.4",
61
+ "ckeditor5": "45.0.0-alpha.4",
62
+ "ckeditor5-collaboration": "45.0.0-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
- const _0x3daca7=_0x2cdc;(function(_0x46de8e,_0xd3a8c4){const _0x5ac3c9=_0x2cdc,_0x94324f=_0x46de8e();while(!![]){try{const _0x3bb436=parseInt(_0x5ac3c9(0x9f))/0x1*(-parseInt(_0x5ac3c9(0xab))/0x2)+parseInt(_0x5ac3c9(0xad))/0x3+-parseInt(_0x5ac3c9(0x9c))/0x4+-parseInt(_0x5ac3c9(0xa1))/0x5+parseInt(_0x5ac3c9(0x99))/0x6+-parseInt(_0x5ac3c9(0x95))/0x7+parseInt(_0x5ac3c9(0xa8))/0x8;if(_0x3bb436===_0xd3a8c4)break;else _0x94324f['push'](_0x94324f['shift']());}catch(_0x4f80c2){_0x94324f['push'](_0x94324f['shift']());}}}(_0x5dcb,0xd335a));function _0x2cdc(_0x12d200,_0x30b284){const _0x5dcbaa=_0x5dcb();return _0x2cdc=function(_0x2cdcda,_0x490336){_0x2cdcda=_0x2cdcda-0x94;let _0x44f247=_0x5dcbaa[_0x2cdcda];return _0x44f247;},_0x2cdc(_0x12d200,_0x30b284);}import{ListItemView as _0x1ff520}from'ckeditor5/src/ui.js';import{UserView as _0x285cc3}from'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x1ff520{[_0x3daca7(0xa2)];constructor(_0x5a3122,_0x52484d,_0x37ef8f){const _0x27f35e=_0x3daca7;super(_0x5a3122);const _0x453fdf=this[_0x27f35e(0xaa)];this[_0x27f35e(0xa2)]=new _0x285cc3(_0x5a3122,_0x52484d);const _0x1dd0ca={'tag':'li','attributes':{'class':['ck',_0x27f35e(0x9b)],'tabindex':-0x1,'role':_0x27f35e(0x96),'aria-label':_0x52484d[_0x27f35e(0x98)]},'children':[this[_0x27f35e(0xa2)],{'tag':_0x27f35e(0xa4),'attributes':{'class':['ck',_0x27f35e(0x9d)]},'children':[{'text':_0x52484d[_0x27f35e(0x98)]}]},{'tag':_0x27f35e(0xa4),'attributes':{'class':['ck',_0x27f35e(0x9e),_0x52484d[_0x27f35e(0xa5)][_0x27f35e(0x94)]()],'aria-hidden':_0x27f35e(0xa0)}}]};_0x37ef8f&&(_0x1dd0ca[_0x27f35e(0x9a)]=_0x27f35e(0xa7),_0x1dd0ca['on']={'click':_0x453fdf['to'](()=>this[_0x27f35e(0x97)](_0x27f35e(0xac)))}),this[_0x27f35e(0xa9)](_0x1dd0ca);}[_0x3daca7(0xa6)](){const _0x50597f=_0x3daca7;this[_0x50597f(0xa3)][_0x50597f(0xa6)]();}}function _0x5dcb(){const _0x408dd3=['focus','button','30327312yORLlX','setTemplate','bindTemplate','34jguICS','execute','3827166TyAuch','getBackgroundColorClass','9951515yTUtFl','presentation','fire','name','821964uscoqS','tag','ck-presence-list__dropdown-list-item','6441536MYRKZx','ck-user__full-name','ck-presence-list__marker','32506LDRmfe','true','3769425SfNRPo','userView','element','span','color'];_0x5dcb=function(){return _0x408dd3;};return _0x5dcb();}
23
+ const _0x485074=_0x3c71;(function(_0x341ba6,_0x31d663){const _0x79bc58=_0x3c71,_0x134011=_0x341ba6();while(!![]){try{const _0x37baf9=parseInt(_0x79bc58(0x1a8))/0x1*(parseInt(_0x79bc58(0x1a9))/0x2)+parseInt(_0x79bc58(0x19a))/0x3*(parseInt(_0x79bc58(0x1a7))/0x4)+-parseInt(_0x79bc58(0x1aa))/0x5+-parseInt(_0x79bc58(0x1a3))/0x6+-parseInt(_0x79bc58(0x19f))/0x7*(parseInt(_0x79bc58(0x1a0))/0x8)+parseInt(_0x79bc58(0x1ac))/0x9+parseInt(_0x79bc58(0x1a2))/0xa;if(_0x37baf9===_0x31d663)break;else _0x134011['push'](_0x134011['shift']());}catch(_0x508208){_0x134011['push'](_0x134011['shift']());}}}(_0x17e0,0x92f22));import{ListItemView as _0x1d8ad2}from'ckeditor5/src/ui.js';function _0x3c71(_0x3e0be5,_0x342dbf){const _0x17e032=_0x17e0();return _0x3c71=function(_0x3c7199,_0x3ed3ef){_0x3c7199=_0x3c7199-0x194;let _0x844094=_0x17e032[_0x3c7199];return _0x844094;},_0x3c71(_0x3e0be5,_0x342dbf);}import{UserView as _0x34dffb}from'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x1d8ad2{[_0x485074(0x194)];constructor(_0x3cf648,_0x357298,_0x426944){const _0x138702=_0x485074;super(_0x3cf648);const _0x573fb2=this[_0x138702(0x19b)];this[_0x138702(0x194)]=new _0x34dffb(_0x3cf648,_0x357298);const _0x14e4c8={'tag':'li','attributes':{'class':['ck',_0x138702(0x198)],'tabindex':-0x1,'role':_0x138702(0x196),'aria-label':_0x357298[_0x138702(0x1a1)]},'children':[this[_0x138702(0x194)],{'tag':_0x138702(0x1af),'attributes':{'class':['ck',_0x138702(0x1ae)]},'children':[{'text':_0x357298[_0x138702(0x1a1)]}]},{'tag':_0x138702(0x1af),'attributes':{'class':['ck',_0x138702(0x1a6),_0x357298[_0x138702(0x197)][_0x138702(0x1a4)]()],'aria-hidden':_0x138702(0x1a5)}}]};_0x426944&&(_0x14e4c8[_0x138702(0x19e)]=_0x138702(0x1ad),_0x14e4c8['on']={'click':_0x573fb2['to'](()=>this[_0x138702(0x19d)](_0x138702(0x1ab)))}),this[_0x138702(0x19c)](_0x14e4c8);}[_0x485074(0x195)](){const _0x53cecb=_0x485074;this[_0x53cecb(0x199)][_0x53cecb(0x195)]();}}function _0x17e0(){const _0x2da48a=['732272gvdQqx','name','7314930vcoQtW','3129246KAFPuR','getBackgroundColorClass','true','ck-presence-list__marker','4KJUmoi','3307wbxRRE','434WGsQVS','2830730LIIIfd','execute','2863854fXrppS','button','ck-user__full-name','span','userView','focus','presentation','color','ck-presence-list__dropdown-list-item','element','41379nNHTgN','bindTemplate','setTemplate','fire','tag','7kATLSa'];_0x17e0=function(){return _0x2da48a;};return _0x17e0();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe3cf6d=_0x20ec;function _0x20ec(_0x24c12d,_0x3e1d8a){const _0x3638db=_0x3638();return _0x20ec=function(_0x20ece5,_0x35eae7){_0x20ece5=_0x20ece5-0x10c;let _0x1886be=_0x3638db[_0x20ece5];return _0x1886be;},_0x20ec(_0x24c12d,_0x3e1d8a);}(function(_0x30102e,_0x17c750){const _0x4aee2e=_0x20ec,_0x226bfa=_0x30102e();while(!![]){try{const _0x43801d=-parseInt(_0x4aee2e(0x12a))/0x1+parseInt(_0x4aee2e(0x120))/0x2+parseInt(_0x4aee2e(0x131))/0x3+parseInt(_0x4aee2e(0x124))/0x4+-parseInt(_0x4aee2e(0x117))/0x5*(parseInt(_0x4aee2e(0x121))/0x6)+parseInt(_0x4aee2e(0x111))/0x7+-parseInt(_0x4aee2e(0x130))/0x8;if(_0x43801d===_0x17c750)break;else _0x226bfa['push'](_0x226bfa['shift']());}catch(_0x49718a){_0x226bfa['push'](_0x226bfa['shift']());}}}(_0x3638,0x5849c));import{ListView as _0x29cfe3,View as _0x219578}from'ckeditor5/src/ui.js';import{global as _0x37d316}from'ckeditor5/src/utils.js';function _0x3638(){const _0x50c4ef=['ariaLabel','ck-presence-list__dropdown-list','2097784LcpMyX','element','ck-presence-list__dropdown-list-wrapper','scrollHeight','bindTemplate','contains','454741xaMvzd','listenTo','div','window','checkIfScrollable','resize','4762808PYOTxT','962709cccAXb','listWrapperView','change','application','presencelist:hide','ariaLabelledBy','.ck-balloon-panel_with-arrow','role','Connected\x20users\x20list\x20dropdown\x20menu','ck-reset','.ck-presence-list__list','3542392icjhsW','render','fire','ck-presence-list__dropdown-list-wrapper_scrollable','innerHeight','ck-list','25785oxOeEB','max','items','clientHeight','relatedTarget','setTemplate','querySelector','_isScrollable','set','749784KxBjWL','366EdDwVq'];_0x3638=function(){return _0x50c4ef;};return _0x3638();}import{getTranslation as _0x3830ea}from'../../common-translations.js';export default class x extends _0x219578{[_0xe3cf6d(0x132)];constructor(_0x2e380d,_0x1d55a5){const _0x586355=_0xe3cf6d;super(_0x2e380d);const _0x45f808=this[_0x586355(0x128)];this[_0x586355(0x132)]=new PresenceDropdownListWrapperView(_0x2e380d,_0x1d55a5),this[_0x586355(0x11c)]({'tag':_0x586355(0x12c),'attributes':{'tabindex':-0x1,'role':_0x586355(0x134),'class':['ck',_0x586355(0x123)],'aria-label':_0x3830ea(_0x2e380d,_0x586355(0x10e))},'children':[this[_0x586355(0x132)]],'on':{'mouseleave':_0x45f808['to'](_0x5415d6=>{const _0x1ee9fa=_0x586355,_0x42e94c=_0x5415d6,_0x877754=document[_0x1ee9fa(0x11d)](_0x1ee9fa(0x110)),_0x5320f7=document[_0x1ee9fa(0x11d)](_0x1ee9fa(0x10c));_0x877754?.[_0x1ee9fa(0x129)](_0x42e94c[_0x1ee9fa(0x11b)])||_0x5320f7?.[_0x1ee9fa(0x129)](_0x42e94c[_0x1ee9fa(0x11b)])||this[_0x1ee9fa(0x113)](_0x1ee9fa(0x135));})}});}}export class PresenceDropdownListWrapperView extends _0x29cfe3{constructor(_0x366366,_0x55dc2f){const _0x1dbc17=_0xe3cf6d;super(_0x366366);const _0x56d945=this[_0x1dbc17(0x128)];this[_0x1dbc17(0x11f)](_0x1dbc17(0x11e),!0x1),this[_0x1dbc17(0x11c)]({'tag':_0x55dc2f?_0x1dbc17(0x12c):'ul','attributes':{'class':['ck',_0x1dbc17(0x10f),_0x1dbc17(0x116),_0x1dbc17(0x126),_0x56d945['if'](_0x1dbc17(0x11e),_0x1dbc17(0x114))],'role':_0x56d945['to'](_0x1dbc17(0x10d)),'aria-label':_0x56d945['to'](_0x1dbc17(0x122)),'aria-labelledby':_0x56d945['to'](_0x1dbc17(0x136))},'children':this[_0x1dbc17(0x119)]}),this[_0x1dbc17(0x12b)](_0x37d316[_0x1dbc17(0x12d)],_0x1dbc17(0x12f),()=>this[_0x1dbc17(0x12e)]()),this[_0x1dbc17(0x119)]['on'](_0x1dbc17(0x133),()=>this[_0x1dbc17(0x12e)]());}[_0xe3cf6d(0x112)](){const _0x4c8312=_0xe3cf6d;super[_0x4c8312(0x112)](),this[_0x4c8312(0x12e)]();}[_0xe3cf6d(0x12e)](){const _0x12677b=_0xe3cf6d,_0x5b3b85=this[_0x12677b(0x125)];_0x5b3b85&&(this[_0x12677b(0x11e)]=Math[_0x12677b(0x118)](_0x5b3b85[_0x12677b(0x127)],_0x5b3b85[_0x12677b(0x11a)])>0.8*window[_0x12677b(0x115)]);}}
23
+ const _0x4831b4=_0x3481;(function(_0x32186c,_0x2a5341){const _0x1500ee=_0x3481,_0x42ccce=_0x32186c();while(!![]){try{const _0x457c3c=-parseInt(_0x1500ee(0x177))/0x1*(parseInt(_0x1500ee(0x185))/0x2)+parseInt(_0x1500ee(0x16f))/0x3+-parseInt(_0x1500ee(0x194))/0x4*(-parseInt(_0x1500ee(0x18b))/0x5)+parseInt(_0x1500ee(0x197))/0x6*(parseInt(_0x1500ee(0x193))/0x7)+parseInt(_0x1500ee(0x173))/0x8+parseInt(_0x1500ee(0x199))/0x9*(parseInt(_0x1500ee(0x175))/0xa)+-parseInt(_0x1500ee(0x198))/0xb*(parseInt(_0x1500ee(0x17d))/0xc);if(_0x457c3c===_0x2a5341)break;else _0x42ccce['push'](_0x42ccce['shift']());}catch(_0x294e91){_0x42ccce['push'](_0x42ccce['shift']());}}}(_0x1c80,0xf2255));import{ListView as _0x45d6fe,View as _0x3e154e}from'ckeditor5/src/ui.js';function _0x1c80(){const _0x9934c8=['720618STVjrn','10821305lTPqTb','459rysQFY','scrollHeight','render','contains','window','966948QVntrn','ck-presence-list__dropdown-list-wrapper_scrollable','innerHeight','max','1696976kyjsQc','ck-reset','106060ZgNSTz','_isScrollable','23HjGJLB','.ck-presence-list__list','set','element','application','div','12VzoVCN','listenTo','resize','role','listWrapperView','ck-presence-list__dropdown-list-wrapper','ariaLabel','clientHeight','130170laTFcP','setTemplate','ariaLabelledBy','.ck-balloon-panel_with-arrow','bindTemplate','fire','85IMPOSf','checkIfScrollable','Connected\x20users\x20list\x20dropdown\x20menu','relatedTarget','ck-presence-list__dropdown-list','presencelist:hide','change','querySelector','91CXZUsL','196672xQnerh','ck-list','items'];_0x1c80=function(){return _0x9934c8;};return _0x1c80();}import{global as _0x4b06f3}from'ckeditor5/src/utils.js';import{getTranslation as _0x7a07e7}from'../../common-translations.js';function _0x3481(_0x4ddcab,_0x926ada){const _0x1c803a=_0x1c80();return _0x3481=function(_0x348128,_0x272698){_0x348128=_0x348128-0x16f;let _0x39c853=_0x1c803a[_0x348128];return _0x39c853;},_0x3481(_0x4ddcab,_0x926ada);}export default class x extends _0x3e154e{[_0x4831b4(0x181)];constructor(_0x5a9811,_0xbda7e9){const _0x541d78=_0x4831b4;super(_0x5a9811);const _0x152c83=this[_0x541d78(0x189)];this[_0x541d78(0x181)]=new PresenceDropdownListWrapperView(_0x5a9811,_0xbda7e9),this[_0x541d78(0x186)]({'tag':_0x541d78(0x17c),'attributes':{'tabindex':-0x1,'role':_0x541d78(0x17b),'class':['ck',_0x541d78(0x18f)],'aria-label':_0x7a07e7(_0x5a9811,_0x541d78(0x18d))},'children':[this[_0x541d78(0x181)]],'on':{'mouseleave':_0x152c83['to'](_0x4b925d=>{const _0x199904=_0x541d78,_0x18be4a=_0x4b925d,_0x262c3c=document[_0x199904(0x192)](_0x199904(0x178)),_0x4873aa=document[_0x199904(0x192)](_0x199904(0x188));_0x262c3c?.[_0x199904(0x19c)](_0x18be4a[_0x199904(0x18e)])||_0x4873aa?.[_0x199904(0x19c)](_0x18be4a[_0x199904(0x18e)])||this[_0x199904(0x18a)](_0x199904(0x190));})}});}}export class PresenceDropdownListWrapperView extends _0x45d6fe{constructor(_0x206b30,_0x308547){const _0x35ee3d=_0x4831b4;super(_0x206b30);const _0x302a0e=this[_0x35ee3d(0x189)];this[_0x35ee3d(0x179)](_0x35ee3d(0x176),!0x1),this[_0x35ee3d(0x186)]({'tag':_0x308547?_0x35ee3d(0x17c):'ul','attributes':{'class':['ck',_0x35ee3d(0x174),_0x35ee3d(0x195),_0x35ee3d(0x182),_0x302a0e['if'](_0x35ee3d(0x176),_0x35ee3d(0x170))],'role':_0x302a0e['to'](_0x35ee3d(0x180)),'aria-label':_0x302a0e['to'](_0x35ee3d(0x183)),'aria-labelledby':_0x302a0e['to'](_0x35ee3d(0x187))},'children':this[_0x35ee3d(0x196)]}),this[_0x35ee3d(0x17e)](_0x4b06f3[_0x35ee3d(0x19d)],_0x35ee3d(0x17f),()=>this[_0x35ee3d(0x18c)]()),this[_0x35ee3d(0x196)]['on'](_0x35ee3d(0x191),()=>this[_0x35ee3d(0x18c)]());}[_0x4831b4(0x19b)](){const _0x4b9fd5=_0x4831b4;super[_0x4b9fd5(0x19b)](),this[_0x4b9fd5(0x18c)]();}[_0x4831b4(0x18c)](){const _0x46748d=_0x4831b4,_0x2ebc68=this[_0x46748d(0x17a)];_0x2ebc68&&(this[_0x46748d(0x176)]=Math[_0x46748d(0x172)](_0x2ebc68[_0x46748d(0x19a)],_0x2ebc68[_0x46748d(0x184)])>0.8*window[_0x46748d(0x171)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d5181=_0xa535;(function(_0x289f0b,_0x25e56d){const _0x47b640=_0xa535,_0x52141e=_0x289f0b();while(!![]){try{const _0x3331a7=parseInt(_0x47b640(0x97))/0x1+-parseInt(_0x47b640(0x98))/0x2*(-parseInt(_0x47b640(0x95))/0x3)+parseInt(_0x47b640(0xa1))/0x4+parseInt(_0x47b640(0xa5))/0x5*(-parseInt(_0x47b640(0x90))/0x6)+parseInt(_0x47b640(0xa9))/0x7*(-parseInt(_0x47b640(0x9f))/0x8)+-parseInt(_0x47b640(0x93))/0x9*(parseInt(_0x47b640(0xaa))/0xa)+-parseInt(_0x47b640(0xa6))/0xb*(-parseInt(_0x47b640(0xa8))/0xc);if(_0x3331a7===_0x25e56d)break;else _0x52141e['push'](_0x52141e['shift']());}catch(_0x5caad5){_0x52141e['push'](_0x52141e['shift']());}}}(_0x1aae,0x82e73));import{LabelView as _0x5943e7,View as _0x4996e6}from'ckeditor5/src/ui.js';function _0xa535(_0x3bd256,_0x3999d6){const _0x1aae85=_0x1aae();return _0xa535=function(_0xa535ee,_0x2b51dd){_0xa535ee=_0xa535ee-0x8b;let _0x5db38c=_0x1aae85[_0xa535ee];return _0x5db38c;},_0xa535(_0x3bd256,_0x3999d6);}import{UserView as _0x1d9bd8}from'ckeditor5-collaboration/src/collaboration-core.js';export default class y extends _0x4996e6{[_0x1d5181(0xa0)];[_0x1d5181(0xa2)];constructor(_0x1fca09,_0x225346,_0x7aa570){const _0x2f0ef7=_0x1d5181;super(_0x1fca09);const _0x51d726=this[_0x2f0ef7(0x99)];this[_0x2f0ef7(0xac)](_0x2f0ef7(0xad),!0x1),this[_0x2f0ef7(0xac)](_0x2f0ef7(0x9c),!0x0),this[_0x2f0ef7(0xac)](_0x2f0ef7(0xa7),''),this[_0x2f0ef7(0xa0)]=new _0x1d9bd8(_0x1fca09,_0x225346),this[_0x2f0ef7(0xa2)]=new dt(_0x1fca09,_0x225346);const _0x3ed4b2=new _0x5943e7(_0x1fca09);_0x3ed4b2[_0x2f0ef7(0x9a)][_0x2f0ef7(0x8e)]=_0x2f0ef7(0x94),_0x3ed4b2[_0x2f0ef7(0xae)]=_0x225346[_0x2f0ef7(0x9d)];const _0x3316f7={'tag':_0x2f0ef7(0xa4),'attributes':{'class':['ck',_0x2f0ef7(0x8c)],'role':_0x2f0ef7(0x8d),'tabindex':_0x51d726['to'](_0x2f0ef7(0xad),_0x9c65b6=>!!_0x9c65b6&&0x0),'aria-labelledby':_0x3ed4b2['id'],'data-cke-tooltip-text':this[_0x2f0ef7(0xa0)][_0x2f0ef7(0x9d)],'data-cke-tooltip-position':_0x51d726['to'](_0x2f0ef7(0xa7)),'data-cke-tooltip-disabled':_0x51d726['to'](_0x2f0ef7(0x9c),_0x1270a5=>!_0x1270a5),'data-cke-tooltip-class':_0x2f0ef7(0x8f)},'children':[this[_0x2f0ef7(0xa0)],this[_0x2f0ef7(0xa2)],_0x3ed4b2]};_0x7aa570&&(_0x3316f7[_0x2f0ef7(0x8e)]=_0x2f0ef7(0xab),_0x3316f7['on']={'click':_0x51d726['to'](()=>this[_0x2f0ef7(0x9e)](_0x2f0ef7(0x91)))}),this[_0x2f0ef7(0xa3)](_0x3316f7);}}function _0x1aae(){const _0x4815da=['54SjYWMV','execute','ck-presence-list__marker','9MOFCae','span','33gxSLlt','getBackgroundColorClass','2545jpBgui','175292lrPIUO','bindTemplate','template','true','hasTooltip','name','fire','8VDCajg','userView','2147724zrhDPF','markerView','setTemplate','div','267660MiebIq','11OpWLxq','tooltipPosition','5616384bsqsaX','1179262EOxIsM','7851810DrEqrK','button','set','isFocusable','text','color','ck-presence-list__list-item','listitem','tag','ck-presence-list__list-item__tooltip'];_0x1aae=function(){return _0x4815da;};return _0x1aae();}class dt extends _0x4996e6{constructor(_0x1b23ec,_0x5927aa){const _0x2ef659=_0x1d5181;super(_0x1b23ec),this[_0x2ef659(0xa3)]({'tag':_0x2ef659(0x94),'attributes':{'class':['ck',_0x2ef659(0x92),_0x5927aa[_0x2ef659(0x8b)][_0x2ef659(0x96)]()],'aria-hidden':_0x2ef659(0x9b)}});}}
23
+ const _0x1cc76e=_0x4763;(function(_0x4f6e33,_0x669cc){const _0x2d9396=_0x4763,_0x1e3117=_0x4f6e33();while(!![]){try{const _0x231e27=-parseInt(_0x2d9396(0x92))/0x1+-parseInt(_0x2d9396(0x84))/0x2*(parseInt(_0x2d9396(0x8d))/0x3)+parseInt(_0x2d9396(0x79))/0x4+-parseInt(_0x2d9396(0x91))/0x5*(parseInt(_0x2d9396(0x74))/0x6)+parseInt(_0x2d9396(0x90))/0x7+-parseInt(_0x2d9396(0x75))/0x8+parseInt(_0x2d9396(0x8c))/0x9*(parseInt(_0x2d9396(0x82))/0xa);if(_0x231e27===_0x669cc)break;else _0x1e3117['push'](_0x1e3117['shift']());}catch(_0x13447c){_0x1e3117['push'](_0x1e3117['shift']());}}}(_0x1c2d,0x34bc3));import{LabelView as _0x16a945,View as _0x13946e}from'ckeditor5/src/ui.js';import{UserView as _0x2d4608}from'ckeditor5-collaboration/src/collaboration-core.js';export default class y extends _0x13946e{[_0x1cc76e(0x87)];[_0x1cc76e(0x8a)];constructor(_0x587e97,_0x11a8dc,_0x6a3f80){const _0x1b6748=_0x1cc76e;super(_0x587e97);const _0x357749=this[_0x1b6748(0x88)];this[_0x1b6748(0x7c)](_0x1b6748(0x85),!0x1),this[_0x1b6748(0x7c)](_0x1b6748(0x78),!0x0),this[_0x1b6748(0x7c)](_0x1b6748(0x7b),''),this[_0x1b6748(0x87)]=new _0x2d4608(_0x587e97,_0x11a8dc),this[_0x1b6748(0x8a)]=new at(_0x587e97,_0x11a8dc);const _0x3dc9c2=new _0x16a945(_0x587e97);_0x3dc9c2[_0x1b6748(0x7a)][_0x1b6748(0x8e)]=_0x1b6748(0x7e),_0x3dc9c2[_0x1b6748(0x89)]=_0x11a8dc[_0x1b6748(0x93)];const _0x3a421e={'tag':_0x1b6748(0x77),'attributes':{'class':['ck',_0x1b6748(0x7f)],'role':_0x1b6748(0x73),'tabindex':_0x357749['to'](_0x1b6748(0x85),_0x4c6875=>!!_0x4c6875&&0x0),'aria-labelledby':_0x3dc9c2['id'],'data-cke-tooltip-text':this[_0x1b6748(0x87)][_0x1b6748(0x93)],'data-cke-tooltip-position':_0x357749['to'](_0x1b6748(0x7b)),'data-cke-tooltip-disabled':_0x357749['to'](_0x1b6748(0x78),_0xc5675e=>!_0xc5675e),'data-cke-tooltip-class':_0x1b6748(0x8f)},'children':[this[_0x1b6748(0x87)],this[_0x1b6748(0x8a)],_0x3dc9c2]};_0x6a3f80&&(_0x3a421e[_0x1b6748(0x8e)]=_0x1b6748(0x7d),_0x3a421e['on']={'click':_0x357749['to'](()=>this[_0x1b6748(0x81)](_0x1b6748(0x76)))}),this[_0x1b6748(0x8b)](_0x3a421e);}}function _0x4763(_0xa0c0aa,_0x58b4c0){const _0x1c2dba=_0x1c2d();return _0x4763=function(_0x476393,_0x5205ca){_0x476393=_0x476393-0x73;let _0x17a525=_0x1c2dba[_0x476393];return _0x17a525;},_0x4763(_0xa0c0aa,_0x58b4c0);}class at extends _0x13946e{constructor(_0x55316d,_0x1cdc96){const _0x1d9e00=_0x1cc76e;super(_0x55316d),this[_0x1d9e00(0x8b)]({'tag':_0x1d9e00(0x7e),'attributes':{'class':['ck',_0x1d9e00(0x80),_0x1cdc96[_0x1d9e00(0x94)][_0x1d9e00(0x86)]()],'aria-hidden':_0x1d9e00(0x83)}});}}function _0x1c2d(){const _0x265c47=['tag','ck-presence-list__list-item__tooltip','1491700ScWoFw','8785lMYEEI','113649ujRqIm','name','color','listitem','702OWnTis','2873208NuFjSg','execute','div','hasTooltip','759776zOCGPz','template','tooltipPosition','set','button','span','ck-presence-list__list-item','ck-presence-list__marker','fire','5862950oIaueR','true','46FdjRaS','isFocusable','getBackgroundColorClass','userView','bindTemplate','text','markerView','setTemplate','9CIxHPt','12387bWFrhm'];_0x1c2d=function(){return _0x265c47;};return _0x1c2d();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x31be10=_0x2b77;(function(_0x3d8484,_0x2b82d1){const _0x59b540=_0x2b77,_0xccafd1=_0x3d8484();while(!![]){try{const _0x4d5f6e=-parseInt(_0x59b540(0x1a4))/0x1*(-parseInt(_0x59b540(0x1a9))/0x2)+-parseInt(_0x59b540(0x1b7))/0x3+-parseInt(_0x59b540(0x1ad))/0x4*(parseInt(_0x59b540(0x1b4))/0x5)+-parseInt(_0x59b540(0x1a8))/0x6+parseInt(_0x59b540(0x1c6))/0x7*(-parseInt(_0x59b540(0x1c3))/0x8)+-parseInt(_0x59b540(0x1bb))/0x9+-parseInt(_0x59b540(0x1b1))/0xa*(-parseInt(_0x59b540(0x1b6))/0xb);if(_0x4d5f6e===_0x2b82d1)break;else _0xccafd1['push'](_0xccafd1['shift']());}catch(_0x40c6d0){_0xccafd1['push'](_0xccafd1['shift']());}}}(_0x1042,0x38e3c));import{View as _0x2c4d82}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x581579}from'ckeditor5/src/utils.js';function _0x2b77(_0x963d1d,_0x31950f){const _0x1042f0=_0x1042();return _0x2b77=function(_0x2b7796,_0x1f50cc){_0x2b7796=_0x2b7796-0x1a1;let _0x129097=_0x1042f0[_0x2b7796];return _0x129097;},_0x2b77(_0x963d1d,_0x31950f);}import{getTranslation as _0x1f38d2}from'../../common-translations.js';export default class ts extends _0x2c4d82{[_0x31be10(0x1ab)];[_0x31be10(0x1a6)];constructor(_0x163fe6){const _0xfe7e91=_0x31be10;super(_0x163fe6);const _0x2ff24d=this[_0xfe7e91(0x1c0)];this[_0xfe7e91(0x1ab)]=this[_0xfe7e91(0x1aa)](),this[_0xfe7e91(0x1a6)]=new _0x581579(),this[_0xfe7e91(0x1c8)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0xfe7e91(0x1a7)]({'tag':_0xfe7e91(0x1b5),'attributes':{'aria-haspopup':_0x2ff24d['if'](_0xfe7e91(0x1af)),'aria-expanded':_0x2ff24d['to'](_0xfe7e91(0x1ba),_0x188e74=>this[_0xfe7e91(0x1af)]&&String(_0x188e74)),'aria-label':_0x2ff24d['to'](_0xfe7e91(0x1af),_0x475aae=>_0x1f38d2(_0x163fe6,_0x475aae?_0xfe7e91(0x1bf):_0xfe7e91(0x1a5))),'role':_0xfe7e91(0x1c5),'tabindex':_0x2ff24d['to'](_0xfe7e91(0x1af),_0xfa025=>!!_0xfa025&&0x0),'class':['ck',_0xfe7e91(0x1bd)]},'children':this[_0xfe7e91(0x1ab)],'on':{'mouseenter':_0x2ff24d['to'](()=>this[_0xfe7e91(0x1c7)](_0xfe7e91(0x1ac))),'mouseleave':_0x2ff24d['to'](_0x5c3842=>{const _0x317b6b=_0xfe7e91,_0x90afd0=_0x5c3842,_0x36db18=document[_0x317b6b(0x1a2)](_0x317b6b(0x1be)),_0x1345e1=document[_0x317b6b(0x1a2)](_0x317b6b(0x1ae));_0x36db18?.[_0x317b6b(0x1b2)](_0x90afd0[_0x317b6b(0x1c2)])||_0x1345e1?.[_0x317b6b(0x1b2)](_0x90afd0[_0x317b6b(0x1c2)])||this[_0x317b6b(0x1c7)](_0x317b6b(0x1a3));})}}),this['on'](_0xfe7e91(0x1c1),(_0x3a8a75,_0x5b2bf0,_0x500051)=>{const _0x4c3439=_0xfe7e91;this[_0x4c3439(0x1b9)]&&(_0x500051?this[_0x4c3439(0x1b9)][_0x4c3439(0x1bc)](_0x4c3439(0x1c4),String(this[_0x4c3439(0x1ba)])):this[_0x4c3439(0x1b9)][_0x4c3439(0x1b3)](_0x4c3439(0x1c4)));});}[_0x31be10(0x1b0)](){const _0x5c4316=_0x31be10;this[_0x5c4316(0x1b9)][_0x5c4316(0x1b0)]();}[_0x31be10(0x1b8)](){const _0xe7de3d=_0x31be10;super[_0xe7de3d(0x1b8)](),this[_0xe7de3d(0x1a6)][_0xe7de3d(0x1a1)](this[_0xe7de3d(0x1b9)]);}}function _0x1042(){const _0x633229=['19862dJbfKG','Connected\x20users\x20list','keystrokes','setTemplate','2700612sCNXuR','42LROiWA','createCollection','items','presencelist:show','1200yCMnUb','.ck-balloon-panel_with-arrow','hasPopup','focus','15977330GNXmhr','contains','removeAttribute','6220qLfwRA','div','11LCXjyu','1292679oSqjvB','render','element','isExpanded','1745424eUIJCR','setAttribute','ck-presence-list__list','.ck-presence-list__dropdown-list','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','bindTemplate','change:hasPopup','relatedTarget','889824KrfrrD','aria-expanded','list','21ZwIYQl','fire','set','listenTo','querySelector','presencelist:hide'];_0x1042=function(){return _0x633229;};return _0x1042();}
23
+ function _0x48da(){const _0x27d4b8=['contains','20710GaCqda','hasPopup','85716LaMFQE','331416xzYcZJ','element','2775176UyFPfj','setAttribute','3671740MBHZwp','div','presencelist:hide','322992tHydtm','createCollection','aria-expanded','keystrokes','listenTo','render','setTemplate','24ZWZYwW','1359657WAedYM','relatedTarget','Connected\x20users\x20list','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','querySelector','fire','isExpanded','.ck-presence-list__dropdown-list','focus','presencelist:show','list','21VuUwRq','420gSpUMx','removeAttribute','items','ck-presence-list__list','bindTemplate','change:hasPopup','.ck-balloon-panel_with-arrow','set'];_0x48da=function(){return _0x27d4b8;};return _0x48da();}const _0x15704d=_0x5457;(function(_0x64e50a,_0xcb549c){const _0x4c980e=_0x5457,_0x21ba88=_0x64e50a();while(!![]){try{const _0x544b54=parseInt(_0x4c980e(0x186))/0x1+parseInt(_0x4c980e(0x18d))/0x2*(parseInt(_0x4c980e(0x1a5))/0x3)+parseInt(_0x4c980e(0x19a))/0x4*(-parseInt(_0x4c980e(0x1a3))/0x5)+-parseInt(_0x4c980e(0x1a6))/0x6*(-parseInt(_0x4c980e(0x199))/0x7)+parseInt(_0x4c980e(0x181))/0x8+-parseInt(_0x4c980e(0x18e))/0x9+-parseInt(_0x4c980e(0x183))/0xa;if(_0x544b54===_0xcb549c)break;else _0x21ba88['push'](_0x21ba88['shift']());}catch(_0x48c059){_0x21ba88['push'](_0x21ba88['shift']());}}}(_0x48da,0x37018));import{View as _0x446177}from'ckeditor5/src/ui.js';function _0x5457(_0x38c33c,_0x3671b2){const _0x48da23=_0x48da();return _0x5457=function(_0x5457d7,_0x280365){_0x5457d7=_0x5457d7-0x180;let _0x5f1255=_0x48da23[_0x5457d7];return _0x5f1255;},_0x5457(_0x38c33c,_0x3671b2);}import{KeystrokeHandler as _0x3e9fbe}from'ckeditor5/src/utils.js';import{getTranslation as _0x27587b}from'../../common-translations.js';export default class ts extends _0x446177{[_0x15704d(0x19c)];[_0x15704d(0x189)];constructor(_0x56c82e){const _0x45799b=_0x15704d;super(_0x56c82e);const _0x5125b7=this[_0x45799b(0x19e)];this[_0x45799b(0x19c)]=this[_0x45799b(0x187)](),this[_0x45799b(0x189)]=new _0x3e9fbe(),this[_0x45799b(0x1a1)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x45799b(0x18c)]({'tag':_0x45799b(0x184),'attributes':{'aria-haspopup':_0x5125b7['if'](_0x45799b(0x1a4)),'aria-expanded':_0x5125b7['to'](_0x45799b(0x194),_0x421cef=>this[_0x45799b(0x1a4)]&&String(_0x421cef)),'aria-label':_0x5125b7['to'](_0x45799b(0x1a4),_0x3a6024=>_0x27587b(_0x56c82e,_0x3a6024?_0x45799b(0x191):_0x45799b(0x190))),'role':_0x45799b(0x198),'tabindex':_0x5125b7['to'](_0x45799b(0x1a4),_0x2c21d9=>!!_0x2c21d9&&0x0),'class':['ck',_0x45799b(0x19d)]},'children':this[_0x45799b(0x19c)],'on':{'mouseenter':_0x5125b7['to'](()=>this[_0x45799b(0x193)](_0x45799b(0x197))),'mouseleave':_0x5125b7['to'](_0x51d6ba=>{const _0x5f01d4=_0x45799b,_0xe9cfb7=_0x51d6ba,_0x36cf77=document[_0x5f01d4(0x192)](_0x5f01d4(0x195)),_0x1d4720=document[_0x5f01d4(0x192)](_0x5f01d4(0x1a0));_0x36cf77?.[_0x5f01d4(0x1a2)](_0xe9cfb7[_0x5f01d4(0x18f)])||_0x1d4720?.[_0x5f01d4(0x1a2)](_0xe9cfb7[_0x5f01d4(0x18f)])||this[_0x5f01d4(0x193)](_0x5f01d4(0x185));})}}),this['on'](_0x45799b(0x19f),(_0x10a56b,_0x1be4fa,_0x3f6c0c)=>{const _0x46661d=_0x45799b;this[_0x46661d(0x180)]&&(_0x3f6c0c?this[_0x46661d(0x180)][_0x46661d(0x182)](_0x46661d(0x188),String(this[_0x46661d(0x194)])):this[_0x46661d(0x180)][_0x46661d(0x19b)](_0x46661d(0x188)));});}[_0x15704d(0x196)](){const _0x181121=_0x15704d;this[_0x181121(0x180)][_0x181121(0x196)]();}[_0x15704d(0x18b)](){const _0x2a1dac=_0x15704d;super[_0x2a1dac(0x18b)](),this[_0x2a1dac(0x189)][_0x2a1dac(0x18a)](this[_0x2a1dac(0x180)]);}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5431de=_0x4749;(function(_0x30b460,_0x29f976){const _0x24fc1a=_0x4749,_0x2b3082=_0x30b460();while(!![]){try{const _0x3ef90d=-parseInt(_0x24fc1a(0x80))/0x1*(-parseInt(_0x24fc1a(0xb2))/0x2)+parseInt(_0x24fc1a(0x6a))/0x3*(parseInt(_0x24fc1a(0xaa))/0x4)+-parseInt(_0x24fc1a(0x8b))/0x5*(-parseInt(_0x24fc1a(0x68))/0x6)+-parseInt(_0x24fc1a(0x9a))/0x7*(parseInt(_0x24fc1a(0x7e))/0x8)+-parseInt(_0x24fc1a(0x70))/0x9*(-parseInt(_0x24fc1a(0xa1))/0xa)+-parseInt(_0x24fc1a(0x78))/0xb+-parseInt(_0x24fc1a(0x7c))/0xc*(-parseInt(_0x24fc1a(0xca))/0xd);if(_0x3ef90d===_0x29f976)break;else _0x2b3082['push'](_0x2b3082['shift']());}catch(_0x3d3d05){_0x2b3082['push'](_0x2b3082['shift']());}}}(_0x32e5,0x8098b));import{Context as _0x50880e,ContextPlugin as _0x1cd6ae}from'ckeditor5/src/core.js';import{CKEditorError as _0x2e8a1c}from'ckeditor5/src/utils.js';import{Users as _0x2c6e6a}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x1a6617,User as _0x530e41}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x3bfa6e from'../realtimecollaborativeediting/websocketgateway.js';import _0x4c1590 from'../realtimecollaborativeediting/sessions.js';function _0x4749(_0x4cd344,_0x39a8f6){const _0x32e565=_0x32e5();return _0x4749=function(_0x4749fd,_0x50947a){_0x4749fd=_0x4749fd-0x64;let _0x35fa71=_0x32e565[_0x4749fd];return _0x35fa71;},_0x4749(_0x4cd344,_0x39a8f6);}class a extends _0x1cd6ae{static [_0x5431de(0x72)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x1a6617)());[_0x5431de(0x9d)];static get[_0x5431de(0x92)](){const _0x2a584b=_0x5431de;return[_0x3bfa6e,_0x2a584b(0xc6),_0x4c1590,_0x2c6e6a];}static get[_0x5431de(0x96)](){const _0x2d713e=_0x5431de;return _0x2d713e(0x79);}static get[_0x5431de(0xcc)](){return!0x0;}static get[_0x5431de(0xc2)](){return!0x0;}constructor(_0xb3ca4e){const _0x579b6d=_0x5431de;super(_0xb3ca4e),this[_0x579b6d(0x9d)]=new Map();}async[_0x5431de(0x7f)](){const _0xf5d1e5=_0x5431de,_0x3ab107=this[_0xf5d1e5(0x8f)],_0x16a3b5=_0x3ab107[_0xf5d1e5(0x94)][_0xf5d1e5(0x7a)](_0xf5d1e5(0xc6));if(_0x3ab107[_0xf5d1e5(0x94)][_0xf5d1e5(0x7a)](_0x3bfa6e)[_0xf5d1e5(0x9b)](this),_0x16a3b5[_0xf5d1e5(0x85)]={'addCommentThread':async({channelId:_0xa45b3d,threadId:_0x354006,comments:_0x27b290,resolvedAt:_0x5aba63,resolvedBy:_0x33b830,context:_0x127548,attributes:_0x5d70e3})=>{const _0x45a9d7=_0xf5d1e5,_0x19d8b8=await this[_0x45a9d7(0x9f)](_0xa45b3d)[_0x45a9d7(0xa8)]({'commentThreadId':_0x354006,'comments':_0x27b290[_0x45a9d7(0x69)](_0x4e4c0c=>function(_0x3c88d5,_0x351f28,_0x11af4a){const _0x56840f=_0x45a9d7;return{'commentThreadId':_0x11af4a,'commentId':_0x3c88d5[_0x56840f(0x89)],'userId':_0x3c88d5[_0x56840f(0x6b)],'content':_0x3c88d5[_0x56840f(0x74)],'documentId':_0x351f28,'createdAt':_0x3c88d5[_0x56840f(0x82)],'attributes':_0x3c88d5[_0x56840f(0x84)]||{}};}(_0x4e4c0c,_0xa45b3d,_0x354006)),'resolvedAt':_0x5aba63,'resolvedBy':_0x33b830,'context':_0x127548,'attributes':_0x5d70e3})[_0x45a9d7(0x97)](rt);return{'threadId':_0x19d8b8[_0x45a9d7(0xad)],'comments':_0x19d8b8[_0x45a9d7(0x6d)]};},'getCommentThread':async({channelId:_0x3aecf8,threadId:_0x42d437})=>{const _0x3577fe=_0xf5d1e5,_0x79152f=await this[_0x3577fe(0x9f)](_0x3aecf8)[_0x3577fe(0xcb)](_0x42d437)[_0x3577fe(0x97)](rt);return _0x79152f[_0x3577fe(0xac)]?null:(await this[_0x3577fe(0x9c)]([_0x79152f]),{'threadId':_0x79152f[_0x3577fe(0xad)],'comments':_0x79152f[_0x3577fe(0x6d)][_0x3577fe(0x69)](ct),'context':_0x79152f[_0x3577fe(0x8f)],'resolvedAt':_0x79152f[_0x3577fe(0x8a)],'resolvedBy':_0x79152f[_0x3577fe(0xbf)],'attributes':_0x79152f[_0x3577fe(0x84)]||{}});},'updateCommentThread':async({channelId:_0x2ae6f3,threadId:_0x25a8db,context:_0x5c2cc2,unlinkedAt:_0xe4aed8,attributes:_0x353380})=>this[_0xf5d1e5(0x9f)](_0x2ae6f3)[_0xf5d1e5(0xb6)]({'commentThreadId':_0x25a8db,'context':_0x5c2cc2,'attributes':_0x353380,'unlinkedAt':_0xe4aed8})[_0xf5d1e5(0x97)](nt)[_0xf5d1e5(0x97)](rt),'resolveCommentThread':async({channelId:_0x1a5262,threadId:_0x20a882})=>{const _0x5e9383=_0xf5d1e5,_0x18d15d=await this[_0x5e9383(0x9f)](_0x1a5262)[_0x5e9383(0xc3)](_0x20a882)[_0x5e9383(0x97)](nt)[_0x5e9383(0x97)](rt);return{'threadId':_0x18d15d[_0x5e9383(0xad)],'resolvedAt':_0x18d15d[_0x5e9383(0x8a)],'resolvedBy':_0x18d15d[_0x5e9383(0xbf)]};},'reopenCommentThread':async({channelId:_0x127d25,threadId:_0x2aead9})=>this[_0xf5d1e5(0x9f)](_0x127d25)[_0xf5d1e5(0x6f)](_0x2aead9)[_0xf5d1e5(0x97)](nt)[_0xf5d1e5(0x97)](rt),'removeCommentThread':({channelId:_0x2c9139,threadId:_0x476b4e})=>this[_0xf5d1e5(0x9f)](_0x2c9139)[_0xf5d1e5(0x88)](_0x476b4e)[_0xf5d1e5(0x97)](nt)[_0xf5d1e5(0x97)](rt),'addComment':({channelId:_0x241332,threadId:_0x57a88f,commentId:_0x3dda93,content:_0x2b66ba,attributes:_0x4cbd7d})=>this[_0xf5d1e5(0x9f)](_0x241332)[_0xf5d1e5(0x8d)](_0x57a88f,_0x3dda93,_0x2b66ba,_0x4cbd7d)[_0xf5d1e5(0x97)](rt),'updateComment':({channelId:_0x5eb647,threadId:_0x1f9207,commentId:_0x2f2e23,content:_0x3a44c3,attributes:_0x47d44e})=>this[_0xf5d1e5(0x9f)](_0x5eb647)[_0xf5d1e5(0xc4)](_0x1f9207,_0x2f2e23,_0x3a44c3,_0x47d44e)[_0xf5d1e5(0x97)](nt)[_0xf5d1e5(0x97)](rt),'removeComment':({channelId:_0x1699e3,threadId:_0x2a9cdd,commentId:_0x37f9de})=>this[_0xf5d1e5(0x9f)](_0x1699e3)[_0xf5d1e5(0xc1)](_0x2a9cdd,_0x37f9de)[_0xf5d1e5(0x97)](nt)[_0xf5d1e5(0x97)](rt)},_0x3ab107 instanceof _0x50880e){const _0x1aaa4c=_0x3ab107[_0xf5d1e5(0x9e)][_0xf5d1e5(0x7a)](_0xf5d1e5(0x83)),_0xb60ead=_0x3ab107[_0xf5d1e5(0x94)][_0xf5d1e5(0x7a)](_0x4c1590);await this[_0xf5d1e5(0xc8)](_0x1aaa4c);const _0x223c47=await this[_0xf5d1e5(0x9d)][_0xf5d1e5(0x7a)](_0x1aaa4c)[_0xf5d1e5(0xa5)]();this[_0xf5d1e5(0x71)](_0xb60ead,_0xf5d1e5(0x66)+_0x1aaa4c,(_0x27d6d9,{session:_0x43dfe0})=>{const _0x59a2ee=_0xf5d1e5;_0x43dfe0['id']===_0xb60ead[_0x59a2ee(0xbe)]&&(_0x27d6d9[_0x59a2ee(0xc7)](),this[_0x59a2ee(0x8f)][_0x59a2ee(0x94)][_0x59a2ee(0x7a)](_0x59a2ee(0x93))[_0x59a2ee(0xc9)](_0x43dfe0[_0x59a2ee(0xbb)],_0x1aaa4c));}),_0xb60ead[_0xf5d1e5(0x6e)](_0x1aaa4c,_0x223c47);}}async[_0x5431de(0xc8)](_0x405c85){const _0x50bd8e=_0x5431de;if(this[_0x50bd8e(0x9d)][_0x50bd8e(0xae)](_0x405c85))throw new _0x2e8a1c(_0x50bd8e(0xb5),null,{'channelId':_0x405c85});const _0x16e76b=this[_0x50bd8e(0x8f)][_0x50bd8e(0x94)][_0x50bd8e(0x7a)](_0x50bd8e(0xc6)),_0x101157=new a[(_0x50bd8e(0x72))](_0x405c85);this[_0x50bd8e(0x9d)][_0x50bd8e(0xb1)](_0x405c85,_0x101157),this[_0x50bd8e(0x71)](_0x101157,_0x50bd8e(0x6c),(_0x249832,_0x3689e4)=>{const _0x32a7e1=_0x50bd8e,{commentThreadId:_0x379c40,documentId:_0x191a93,context:_0x433ea1,attributes:_0x2b9385,resolvedAt:_0x548541,resolvedBy:_0x42efff,comments:_0x4f0ba9}=_0x3689e4;_0x16e76b[_0x32a7e1(0xcb)](_0x379c40)||_0x16e76b[_0x32a7e1(0xa8)]({'threadId':_0x379c40,'channelId':_0x191a93,'comments':_0x4f0ba9?_0x4f0ba9[_0x32a7e1(0x69)](ct):[],'context':_0x433ea1,'attributes':_0x2b9385,'resolvedAt':_0x548541,'resolvedBy':_0x42efff,'isFromAdapter':!0x0});}),this[_0x50bd8e(0x71)](_0x101157,_0x50bd8e(0xb8),(_0x23db2d,{commentThreadId:_0x45d454,documentId:_0x2244bb,context:_0x54205f,unlinkedAt:_0x508223,attributes:_0x53f0c0})=>{const _0x234eae=_0x50bd8e;_0x16e76b[_0x234eae(0xcb)](_0x45d454)&&_0x16e76b[_0x234eae(0xb6)]({'threadId':_0x45d454,'channelId':_0x2244bb,'context':_0x54205f,'unlinkedAt':_0x508223,'attributes':_0x53f0c0,'isFromAdapter':!0x0});}),this[_0x50bd8e(0x71)](_0x101157,_0x50bd8e(0xb0),(_0x28e4e0,{commentThreadId:_0xfe1dfd,resolvedBy:_0x4b1f96,resolvedAt:_0x4638f7})=>{const _0xc12010=_0x50bd8e,_0x5f349f=_0x16e76b[_0xc12010(0xcb)](_0xfe1dfd);_0x5f349f&&_0x5f349f[_0xc12010(0xb7)]({'resolvedBy':_0x4b1f96,'resolvedAt':_0x4638f7,'isFromAdapter':!0x0});}),this[_0x50bd8e(0x71)](_0x101157,_0x50bd8e(0x76),(_0x191082,{commentThreadId:_0x4ad8e3})=>{const _0x420e10=_0x50bd8e,_0x249939=_0x16e76b[_0x420e10(0xcb)](_0x4ad8e3);_0x249939&&_0x249939[_0x420e10(0xa7)]({'isFromAdapter':!0x0});}),this[_0x50bd8e(0x71)](_0x101157,_0x50bd8e(0xa3),(_0x3f9198,{commentThreadId:_0x228373})=>{const _0x57fd23=_0x50bd8e,_0x33d63d=_0x16e76b[_0x57fd23(0xcb)](_0x228373);_0x33d63d&&_0x33d63d[_0x57fd23(0xbd)]({'isFromAdapter':!0x0});}),this[_0x50bd8e(0x71)](_0x101157,_0x50bd8e(0x99),(_0x26478e,_0x34a08d)=>{const _0xae0c4d=_0x50bd8e,_0x5d7709=_0x34a08d[_0xae0c4d(0xad)],_0x2bf61a=_0x16e76b[_0xae0c4d(0xcb)](_0x5d7709);_0x2bf61a&&_0x2bf61a[_0xae0c4d(0x8d)]({...ct(_0x34a08d),'isFromAdapter':!0x0});}),this[_0x50bd8e(0x71)](_0x101157,_0x50bd8e(0x65),(_0x297f3c,{commentThreadId:_0x4adb66,commentId:_0x5272ee,content:_0x5f05ce,attributes:_0x207e4d})=>{const _0x409e3c=_0x50bd8e,_0x46c283=_0x16e76b[_0x409e3c(0xcb)](_0x4adb66);if(_0x46c283){const _0x53d472=_0x46c283[_0x409e3c(0xba)](_0x5272ee);_0x53d472&&_0x53d472[_0x409e3c(0xa0)]({'content':_0x5f05ce,'attributes':_0x207e4d,'isFromAdapter':!0x0});}}),this[_0x50bd8e(0x71)](_0x101157,_0x50bd8e(0xb3),(_0x4021bb,{commentThreadId:_0x2c0df3,commentId:_0x321a5b})=>{const _0x469007=_0x50bd8e,_0x535277=_0x16e76b[_0x469007(0xcb)](_0x2c0df3);if(_0x535277){const _0x143a04=_0x535277[_0x469007(0xba)](_0x321a5b);_0x143a04&&_0x143a04[_0x469007(0xbd)]({'isFromAdapter':!0x0});}}),await this[_0x50bd8e(0x91)](_0x405c85);}[_0x5431de(0xc0)](){const _0x3f41b8=_0x5431de;if(this[_0x3f41b8(0x8f)]instanceof _0x50880e){const _0x5df333=this[_0x3f41b8(0x8f)][_0x3f41b8(0x9e)][_0x3f41b8(0x7a)](_0x3f41b8(0x83));this[_0x3f41b8(0xa2)](_0x5df333);}}[_0x5431de(0xa2)](_0x19fa29){const _0x495cc1=_0x5431de;if(!this[_0x495cc1(0x9d)][_0x495cc1(0xae)](_0x19fa29))throw new _0x2e8a1c(_0x495cc1(0x67),null,{'channelId':_0x19fa29});this[_0x495cc1(0x9f)](_0x19fa29)[_0x495cc1(0xab)](),this[_0x495cc1(0x9d)][_0x495cc1(0xa9)](_0x19fa29);}async[_0x5431de(0xbc)](){const _0x2325cf=_0x5431de;for(const _0xeffe82 of this[_0x2325cf(0x9d)][_0x2325cf(0x86)]())await this[_0x2325cf(0x91)](_0xeffe82);if(this[_0x2325cf(0x8f)]instanceof _0x50880e){const _0x5c59f1=this[_0x2325cf(0x8f)][_0x2325cf(0x9e)][_0x2325cf(0x7a)](_0x2325cf(0x83)),_0x1f5cb8=this[_0x2325cf(0x8f)][_0x2325cf(0x94)][_0x2325cf(0x7a)](_0x4c1590);_0x1f5cb8[_0x2325cf(0xb9)](_0x5c59f1);const _0x2ad69d=await this[_0x2325cf(0x9d)][_0x2325cf(0x7a)](_0x5c59f1)[_0x2325cf(0xa5)]();_0x1f5cb8[_0x2325cf(0x6e)](_0x5c59f1,_0x2ad69d);}}async[_0x5431de(0x91)](_0x17eed2){const _0x3dd2b0=_0x5431de,{connection:_0x4c92ae}=this[_0x3dd2b0(0x8f)][_0x3dd2b0(0x94)][_0x3dd2b0(0x7a)](_0x3bfa6e),_0x17a85b=this[_0x3dd2b0(0x8f)][_0x3dd2b0(0x94)][_0x3dd2b0(0x7a)](_0x3dd2b0(0xc6)),_0x98f9b4=this[_0x3dd2b0(0x9d)][_0x3dd2b0(0x7a)](_0x17eed2),_0x21ee07=await _0x98f9b4[_0x3dd2b0(0x98)](_0x4c92ae);await this[_0x3dd2b0(0x9c)](_0x21ee07);const _0x2aec38=new Set(Array[_0x3dd2b0(0x77)](_0x17a85b[_0x3dd2b0(0xa6)]({'channelId':_0x17eed2}),_0x2e3f6e=>_0x2e3f6e['id']));for(const _0x465ea6 of _0x21ee07)_0x465ea6[_0x3dd2b0(0xac)]||_0x2aec38[_0x3dd2b0(0xa9)](_0x465ea6[_0x3dd2b0(0xad)]);for(const _0x11dcaf of _0x2aec38)_0x17a85b[_0x3dd2b0(0xcb)](_0x11dcaf)[_0x3dd2b0(0xbd)]({'isFromAdapter':!0x0});for(const _0x4305c5 of _0x21ee07){let _0x4b76da=_0x17a85b[_0x3dd2b0(0xcb)](_0x4305c5[_0x3dd2b0(0xad)]);const {commentThreadId:_0x2289c7,context:_0x17e679,attributes:_0x33be14,resolvedBy:_0x536d01,resolvedAt:_0x25449d,unlinkedAt:_0x4d7436,deletedAt:_0x350776}=_0x4305c5;if(_0x350776)continue;_0x4b76da||(_0x4b76da=_0x17a85b[_0x3dd2b0(0xa8)]({'channelId':_0x17eed2,'threadId':_0x2289c7,'context':_0x17e679,'attributes':_0x33be14||{},'resolvedBy':_0x536d01,'resolvedAt':_0x25449d,'unlinkedAt':_0x4d7436,'isFromAdapter':!0x0}));const _0x523458=new Set(Array[_0x3dd2b0(0x77)](_0x4b76da[_0x3dd2b0(0x6d)],_0x2b6111=>_0x2b6111['id']));for(const _0x4c2712 of _0x4305c5[_0x3dd2b0(0x6d)])_0x523458[_0x3dd2b0(0xa9)](_0x4c2712[_0x3dd2b0(0x89)]);for(const _0x39712b of _0x523458)_0x4b76da[_0x3dd2b0(0xba)](_0x39712b)[_0x3dd2b0(0xbd)]({'isFromAdapter':!0x0});for(const _0x151b02 of _0x4305c5[_0x3dd2b0(0x6d)]){const _0xf18df5=_0x4b76da[_0x3dd2b0(0xba)](_0x151b02[_0x3dd2b0(0x89)]);_0xf18df5?_0xf18df5[_0x3dd2b0(0x74)]!==_0x151b02[_0x3dd2b0(0x74)]&&_0xf18df5[_0x3dd2b0(0xa0)]({'content':_0x151b02[_0x3dd2b0(0x74)],'isFromAdapter':!0x0}):_0x4b76da[_0x3dd2b0(0x8d)](Object[_0x3dd2b0(0xaf)](ct(_0x151b02),{'isFromAdapter':!0x0}));}}}[_0x5431de(0x9f)](_0x46bb83){const _0x3544d1=_0x5431de;if(!this[_0x3544d1(0x9d)][_0x3544d1(0xae)](_0x46bb83))throw new _0x2e8a1c(_0x3544d1(0xb4),null,{'channelId':_0x46bb83});return this[_0x3544d1(0x9d)][_0x3544d1(0x7a)](_0x46bb83);}async[_0x5431de(0x9c)](_0x135919){const _0x3cb638=_0x5431de,_0x30d7e5=this[_0x3cb638(0x8f)][_0x3cb638(0x94)][_0x3cb638(0x7a)](_0x2c6e6a),{connection:_0x50f2f2}=this[_0x3cb638(0x8f)][_0x3cb638(0x94)][_0x3cb638(0x7a)](_0x3bfa6e),_0xae7f68=new Set();for(const {resolvedBy:_0x304a7a,comments:_0xe25b6a}of _0x135919){_0x304a7a&&!_0x30d7e5[_0x3cb638(0x87)](_0x304a7a)&&_0xae7f68[_0x3cb638(0xa4)](_0x304a7a);for(const {userId:_0x4afcfd}of _0xe25b6a)_0x30d7e5[_0x3cb638(0x87)](_0x4afcfd)||_0xae7f68[_0x3cb638(0xa4)](_0x4afcfd);}if(0x0===_0xae7f68[_0x3cb638(0x95)])return;const _0x2603c9=await _0x530e41[_0x3cb638(0x64)](_0x50f2f2,Array[_0x3cb638(0x77)](_0xae7f68));for(const _0x101de0 of _0x2603c9)_0x30d7e5[_0x3cb638(0x87)](_0x101de0['id'])||_0x30d7e5[_0x3cb638(0x90)](_0x101de0);}}export default a;function _0x32e5(){const _0x2e7f7e=['keys','getUser','removeCommentThread','commentId','resolvedAt','719260HljRYC','userId','addComment','message','context','addUser','_connectService','requires','Permissions','plugins','size','pluginName','catch','connect','commentAdded','973jNtFXw','addToReconnectionStack','_fetchMissingUsersForThreads','_services','config','_getService','update','19270kIxeIX','_terminateService','commentThreadRemoved','add','getConnectedSessions','getCommentThreads','reopen','addCommentThread','delete','8eAjjVr','disconnect','deletedAt','commentThreadId','has','assign','commentThreadResolved','set','664294elXhFX','commentRemoved','cloudservicescommentsadapter-service-not-exist','cloudservicescommentsadapter-connect-already-connected','updateCommentThread','resolve','commentThreadUpdated','unregister','getComment','permissions','reconnect','remove','mySessionId','resolvedBy','destroy','removeComment','isPremiumPlugin','resolveCommentThread','updateComment','startsWith','CommentsRepository','off','_setUpService','setPermissions','29588XYTtCj','getCommentThread','isOfficialPlugin','getMany','commentUpdated','sessionAdd:','cloudservicescommentsadapter-disconnect-not-exist','6hlEGWX','map','1132851lHoMLG','authorId','commentThreadAdded','comments','register','reopenCommentThread','1746FgqSuH','listenTo','CommentsService','cloud-services-internal-error:\x20Not\x20connected.','content','code','commentThreadReopened','from','4629537ozseCL','CloudServicesCommentsAdapter','get','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','1956UrciNI','404','59192dyglxI','init','1CGNAEa','cloud-services-internal-error:\x20Request\x20timeout.','createdAt','collaboration.channelId','attributes','adapter'];_0x32e5=function(){return _0x2e7f7e;};return _0x32e5();}async function nt(_0x32e02d){const _0x5c054b=_0x5431de;if(_0x5c054b(0x7d)!==_0x32e02d[_0x5c054b(0x75)])throw _0x32e02d;}function rt(_0x4059bf){const _0x1f16bb=_0x5431de;if((_0x1938d7=_0x4059bf)[_0x1f16bb(0x8e)][_0x1f16bb(0xc5)](_0x1f16bb(0x7b))||_0x1938d7[_0x1f16bb(0x8e)][_0x1f16bb(0xc5)](_0x1f16bb(0x73))||_0x1938d7[_0x1f16bb(0x8e)][_0x1f16bb(0xc5)](_0x1f16bb(0x81)))return new Promise(()=>{});var _0x1938d7;throw _0x4059bf;}function ct(_0x417046){const _0xd983c8=_0x5431de;return{'threadId':_0x417046[_0xd983c8(0xad)],'commentId':_0x417046[_0xd983c8(0x89)],'content':_0x417046[_0xd983c8(0x74)],'createdAt':_0x417046[_0xd983c8(0x82)],'authorId':_0x417046[_0xd983c8(0x8c)],'attributes':_0x417046[_0xd983c8(0x84)]||{}};}
23
+ const _0x1513ab=_0x3a9e;(function(_0x1a0de3,_0x1c6a2b){const _0xf06102=_0x3a9e,_0x362920=_0x1a0de3();while(!![]){try{const _0x3c17cb=parseInt(_0xf06102(0xe6))/0x1*(parseInt(_0xf06102(0xed))/0x2)+-parseInt(_0xf06102(0xf8))/0x3*(-parseInt(_0xf06102(0xee))/0x4)+-parseInt(_0xf06102(0x10f))/0x5*(-parseInt(_0xf06102(0x110))/0x6)+parseInt(_0xf06102(0x129))/0x7*(-parseInt(_0xf06102(0x113))/0x8)+parseInt(_0xf06102(0xef))/0x9+-parseInt(_0xf06102(0xf4))/0xa+-parseInt(_0xf06102(0x126))/0xb;if(_0x3c17cb===_0x1c6a2b)break;else _0x362920['push'](_0x362920['shift']());}catch(_0x9d9ed3){_0x362920['push'](_0x362920['shift']());}}}(_0x56d4,0x91f13));import{Context as _0x353562,ContextPlugin as _0x14bcfa}from'ckeditor5/src/core.js';import{CKEditorError as _0x1aa9aa}from'ckeditor5/src/utils.js';import{Users as _0xa42ffa}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x5890d4,User as _0x48a7ea}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x38680b from'../realtimecollaborativeediting/websocketgateway.js';import _0x2b8f27 from'../realtimecollaborativeediting/sessions.js';class a extends _0x14bcfa{static [_0x1513ab(0x119)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x5890d4)());[_0x1513ab(0x137)];static get[_0x1513ab(0xf5)](){const _0x2b4360=_0x1513ab;return[_0x38680b,_0x2b4360(0xe7),_0x2b8f27,_0xa42ffa];}static get[_0x1513ab(0x12b)](){const _0x1b439a=_0x1513ab;return _0x1b439a(0x12a);}static get[_0x1513ab(0x11d)](){return!0x0;}static get[_0x1513ab(0x11b)](){return!0x0;}constructor(_0x5bfa3f){const _0x441406=_0x1513ab;super(_0x5bfa3f),this[_0x441406(0x137)]=new Map();}async[_0x1513ab(0x12e)](){const _0x51dd30=_0x1513ab,_0x224f7a=this[_0x51dd30(0xf0)],_0x4eaf1c=_0x224f7a[_0x51dd30(0x100)][_0x51dd30(0x122)](_0x51dd30(0xe7));if(_0x224f7a[_0x51dd30(0x100)][_0x51dd30(0x122)](_0x38680b)[_0x51dd30(0xfd)](this),_0x4eaf1c[_0x51dd30(0x10b)]={'addCommentThread':async({channelId:_0x41ae01,threadId:_0x1221e7,comments:_0x45f85f,resolvedAt:_0x12f940,resolvedBy:_0x398a51,context:_0x19380a,attributes:_0x252637})=>{const _0x465cce=_0x51dd30,_0x5c1e1f=await this[_0x465cce(0x13a)](_0x41ae01)[_0x465cce(0x12c)]({'commentThreadId':_0x1221e7,'comments':_0x45f85f[_0x465cce(0xf3)](_0x539071=>function(_0x404101,_0x434197,_0x1a6872){const _0x120088=_0x465cce;return{'commentThreadId':_0x1a6872,'commentId':_0x404101[_0x120088(0x11e)],'userId':_0x404101[_0x120088(0x116)],'content':_0x404101[_0x120088(0xeb)],'documentId':_0x434197,'createdAt':_0x404101[_0x120088(0x115)],'attributes':_0x404101[_0x120088(0x128)]||{}};}(_0x539071,_0x41ae01,_0x1221e7)),'resolvedAt':_0x12f940,'resolvedBy':_0x398a51,'context':_0x19380a,'attributes':_0x252637})[_0x465cce(0x11c)](R);return{'threadId':_0x5c1e1f[_0x465cce(0x142)],'comments':_0x5c1e1f[_0x465cce(0xf9)]};},'getCommentThread':async({channelId:_0x31dbdf,threadId:_0x3390c1})=>{const _0x47fd59=_0x51dd30,_0x11c662=await this[_0x47fd59(0x13a)](_0x31dbdf)[_0x47fd59(0xec)](_0x3390c1)[_0x47fd59(0x11c)](R);return _0x11c662[_0x47fd59(0x109)]?null:(await this[_0x47fd59(0xe2)]([_0x11c662]),{'threadId':_0x11c662[_0x47fd59(0x142)],'comments':_0x11c662[_0x47fd59(0xf9)][_0x47fd59(0xf3)](_),'context':_0x11c662[_0x47fd59(0xf0)],'resolvedAt':_0x11c662[_0x47fd59(0x148)],'resolvedBy':_0x11c662[_0x47fd59(0x112)],'attributes':_0x11c662[_0x47fd59(0x128)]||{}});},'updateCommentThread':async({channelId:_0xa98439,threadId:_0x51f52c,context:_0x2dd048,unlinkedAt:_0x109182,attributes:_0x39e7ef})=>this[_0x51dd30(0x13a)](_0xa98439)[_0x51dd30(0x111)]({'commentThreadId':_0x51f52c,'context':_0x2dd048,'attributes':_0x39e7ef,'unlinkedAt':_0x109182})[_0x51dd30(0x11c)](S)[_0x51dd30(0x11c)](R),'resolveCommentThread':async({channelId:_0xc29e3b,threadId:_0x49b472})=>{const _0x5dcff1=_0x51dd30,_0x5628c4=await this[_0x5dcff1(0x13a)](_0xc29e3b)[_0x5dcff1(0xfa)](_0x49b472)[_0x5dcff1(0x11c)](S)[_0x5dcff1(0x11c)](R);return{'threadId':_0x5628c4[_0x5dcff1(0x142)],'resolvedAt':_0x5628c4[_0x5dcff1(0x148)],'resolvedBy':_0x5628c4[_0x5dcff1(0x112)]};},'reopenCommentThread':async({channelId:_0x4d9e7c,threadId:_0x2cdd61})=>this[_0x51dd30(0x13a)](_0x4d9e7c)[_0x51dd30(0x141)](_0x2cdd61)[_0x51dd30(0x11c)](S)[_0x51dd30(0x11c)](R),'removeCommentThread':({channelId:_0x19db89,threadId:_0x49b9a0})=>this[_0x51dd30(0x13a)](_0x19db89)[_0x51dd30(0x102)](_0x49b9a0)[_0x51dd30(0x11c)](S)[_0x51dd30(0x11c)](R),'addComment':({channelId:_0x2a8112,threadId:_0x1aadb5,commentId:_0x2f7761,content:_0x4feddb,attributes:_0x2206d0})=>this[_0x51dd30(0x13a)](_0x2a8112)[_0x51dd30(0x140)](_0x1aadb5,_0x2f7761,_0x4feddb,_0x2206d0)[_0x51dd30(0x11c)](R),'updateComment':({channelId:_0x254506,threadId:_0x33ce72,commentId:_0x1663de,content:_0x54f7f2,attributes:_0x1b785a})=>this[_0x51dd30(0x13a)](_0x254506)[_0x51dd30(0xfe)](_0x33ce72,_0x1663de,_0x54f7f2,_0x1b785a)[_0x51dd30(0x11c)](S)[_0x51dd30(0x11c)](R),'removeComment':({channelId:_0xebf783,threadId:_0x228866,commentId:_0x2f2d4f})=>this[_0x51dd30(0x13a)](_0xebf783)[_0x51dd30(0xf7)](_0x228866,_0x2f2d4f)[_0x51dd30(0x11c)](S)[_0x51dd30(0x11c)](R)},_0x224f7a instanceof _0x353562){const _0x550a5c=_0x224f7a[_0x51dd30(0xf6)][_0x51dd30(0x122)](_0x51dd30(0xfb)),_0xc5eead=_0x224f7a[_0x51dd30(0x100)][_0x51dd30(0x122)](_0x2b8f27);await this[_0x51dd30(0x143)](_0x550a5c);const _0x1a0a01=await this[_0x51dd30(0x137)][_0x51dd30(0x122)](_0x550a5c)[_0x51dd30(0xe3)]();this[_0x51dd30(0x108)](_0xc5eead,_0x51dd30(0x103)+_0x550a5c,(_0x4308db,{session:_0x54b642})=>{const _0x203f8a=_0x51dd30;_0x54b642['id']===_0xc5eead[_0x203f8a(0x146)]&&(_0x4308db[_0x203f8a(0xff)](),this[_0x203f8a(0xf0)][_0x203f8a(0x100)][_0x203f8a(0x122)](_0x203f8a(0x131))[_0x203f8a(0x12d)](_0x54b642[_0x203f8a(0x13c)],_0x550a5c));}),_0xc5eead[_0x51dd30(0x139)](_0x550a5c,_0x1a0a01);}}async[_0x1513ab(0x143)](_0x3f30e7){const _0x1f5bf6=_0x1513ab;if(this[_0x1f5bf6(0x137)][_0x1f5bf6(0xe5)](_0x3f30e7))throw new _0x1aa9aa(_0x1f5bf6(0x135),null,{'channelId':_0x3f30e7});const _0x493477=this[_0x1f5bf6(0xf0)][_0x1f5bf6(0x100)][_0x1f5bf6(0x122)](_0x1f5bf6(0xe7)),_0x3c3500=new a[(_0x1f5bf6(0x119))](_0x3f30e7);this[_0x1f5bf6(0x137)][_0x1f5bf6(0x117)](_0x3f30e7,_0x3c3500),this[_0x1f5bf6(0x108)](_0x3c3500,_0x1f5bf6(0x101),(_0x1611b7,_0x54b709)=>{const _0x52ef97=_0x1f5bf6,{commentThreadId:_0x2646fd,documentId:_0x1f8d83,context:_0x58c50a,attributes:_0x56c532,resolvedAt:_0x10359e,resolvedBy:_0x388765,comments:_0x48296a}=_0x54b709;_0x493477[_0x52ef97(0xec)](_0x2646fd)||_0x493477[_0x52ef97(0x12c)]({'threadId':_0x2646fd,'channelId':_0x1f8d83,'comments':_0x48296a?_0x48296a[_0x52ef97(0xf3)](_):[],'context':_0x58c50a,'attributes':_0x56c532,'resolvedAt':_0x10359e,'resolvedBy':_0x388765,'isFromAdapter':!0x0});}),this[_0x1f5bf6(0x108)](_0x3c3500,_0x1f5bf6(0x13b),(_0x2e44bd,{commentThreadId:_0x4e2940,documentId:_0x55d315,context:_0x2390cd,unlinkedAt:_0x5d34f9,attributes:_0x566dd7})=>{const _0x29fe4c=_0x1f5bf6;_0x493477[_0x29fe4c(0xec)](_0x4e2940)&&_0x493477[_0x29fe4c(0x111)]({'threadId':_0x4e2940,'channelId':_0x55d315,'context':_0x2390cd,'unlinkedAt':_0x5d34f9,'attributes':_0x566dd7,'isFromAdapter':!0x0});}),this[_0x1f5bf6(0x108)](_0x3c3500,_0x1f5bf6(0xe8),(_0x217d28,{commentThreadId:_0x49cab6,resolvedBy:_0x28c05a,resolvedAt:_0x35bef0})=>{const _0xbe867d=_0x1f5bf6,_0x33afbe=_0x493477[_0xbe867d(0xec)](_0x49cab6);_0x33afbe&&_0x33afbe[_0xbe867d(0xe9)]({'resolvedBy':_0x28c05a,'resolvedAt':_0x35bef0,'isFromAdapter':!0x0});}),this[_0x1f5bf6(0x108)](_0x3c3500,_0x1f5bf6(0x105),(_0x3630d4,{commentThreadId:_0x435b60})=>{const _0x3eb488=_0x1f5bf6,_0x3c6af9=_0x493477[_0x3eb488(0xec)](_0x435b60);_0x3c6af9&&_0x3c6af9[_0x3eb488(0xe4)]({'isFromAdapter':!0x0});}),this[_0x1f5bf6(0x108)](_0x3c3500,_0x1f5bf6(0x106),(_0x4719dd,{commentThreadId:_0x39eb86})=>{const _0x42aa01=_0x1f5bf6,_0x4b9676=_0x493477[_0x42aa01(0xec)](_0x39eb86);_0x4b9676&&_0x4b9676[_0x42aa01(0x145)]({'isFromAdapter':!0x0});}),this[_0x1f5bf6(0x108)](_0x3c3500,_0x1f5bf6(0x13f),(_0x45d397,_0x5a4906)=>{const _0x40205e=_0x1f5bf6,_0x2c6378=_0x5a4906[_0x40205e(0x142)],_0x19b1b2=_0x493477[_0x40205e(0xec)](_0x2c6378);_0x19b1b2&&_0x19b1b2[_0x40205e(0x140)]({..._(_0x5a4906),'isFromAdapter':!0x0});}),this[_0x1f5bf6(0x108)](_0x3c3500,_0x1f5bf6(0x10d),(_0x5b2d5b,{commentThreadId:_0x10309a,commentId:_0x553c33,content:_0x54ef84,attributes:_0x2c0cb2})=>{const _0x426c48=_0x1f5bf6,_0x439fc9=_0x493477[_0x426c48(0xec)](_0x10309a);if(_0x439fc9){const _0x3e09a4=_0x439fc9[_0x426c48(0x10e)](_0x553c33);_0x3e09a4&&_0x3e09a4[_0x426c48(0x107)]({'content':_0x54ef84,'attributes':_0x2c0cb2,'isFromAdapter':!0x0});}}),this[_0x1f5bf6(0x108)](_0x3c3500,_0x1f5bf6(0x124),(_0x213331,{commentThreadId:_0x393c61,commentId:_0x25cea0})=>{const _0xf7f333=_0x1f5bf6,_0x5c23ba=_0x493477[_0xf7f333(0xec)](_0x393c61);if(_0x5c23ba){const _0x109c27=_0x5c23ba[_0xf7f333(0x10e)](_0x25cea0);_0x109c27&&_0x109c27[_0xf7f333(0x145)]({'isFromAdapter':!0x0});}}),await this[_0x1f5bf6(0x130)](_0x3f30e7);}[_0x1513ab(0x114)](){const _0x4fdacf=_0x1513ab;if(this[_0x4fdacf(0xf0)]instanceof _0x353562){const _0x1e575c=this[_0x4fdacf(0xf0)][_0x4fdacf(0xf6)][_0x4fdacf(0x122)](_0x4fdacf(0xfb));this[_0x4fdacf(0x13e)](_0x1e575c);}}[_0x1513ab(0x13e)](_0x234f79){const _0x5d4f08=_0x1513ab;if(!this[_0x5d4f08(0x137)][_0x5d4f08(0xe5)](_0x234f79))throw new _0x1aa9aa(_0x5d4f08(0x133),null,{'channelId':_0x234f79});this[_0x5d4f08(0x13a)](_0x234f79)[_0x5d4f08(0x118)](),this[_0x5d4f08(0x137)][_0x5d4f08(0xf2)](_0x234f79);}async[_0x1513ab(0xf1)](){const _0x615a67=_0x1513ab;for(const _0x4a8358 of this[_0x615a67(0x137)][_0x615a67(0x13d)]())await this[_0x615a67(0x130)](_0x4a8358);if(this[_0x615a67(0xf0)]instanceof _0x353562){const _0x5f2f8c=this[_0x615a67(0xf0)][_0x615a67(0xf6)][_0x615a67(0x122)](_0x615a67(0xfb)),_0x4a71ac=this[_0x615a67(0xf0)][_0x615a67(0x100)][_0x615a67(0x122)](_0x2b8f27);_0x4a71ac[_0x615a67(0x121)](_0x5f2f8c);const _0x4371a3=await this[_0x615a67(0x137)][_0x615a67(0x122)](_0x5f2f8c)[_0x615a67(0xe3)]();_0x4a71ac[_0x615a67(0x139)](_0x5f2f8c,_0x4371a3);}}async[_0x1513ab(0x130)](_0x4add72){const _0x53895b=_0x1513ab,{connection:_0x57348b}=this[_0x53895b(0xf0)][_0x53895b(0x100)][_0x53895b(0x122)](_0x38680b),_0x578245=this[_0x53895b(0xf0)][_0x53895b(0x100)][_0x53895b(0x122)](_0x53895b(0xe7)),_0x3989ec=this[_0x53895b(0x137)][_0x53895b(0x122)](_0x4add72),_0x347c17=await _0x3989ec[_0x53895b(0x11a)](_0x57348b);await this[_0x53895b(0xe2)](_0x347c17);const _0xe2107b=new Set(Array[_0x53895b(0x134)](_0x578245[_0x53895b(0x12f)]({'channelId':_0x4add72}),_0x5aeb0d=>_0x5aeb0d['id']));for(const _0x38a09c of _0x347c17)_0x38a09c[_0x53895b(0x109)]||_0xe2107b[_0x53895b(0xf2)](_0x38a09c[_0x53895b(0x142)]);for(const _0x4aaf9b of _0xe2107b)_0x578245[_0x53895b(0xec)](_0x4aaf9b)[_0x53895b(0x145)]({'isFromAdapter':!0x0});for(const _0x2845b2 of _0x347c17){let _0x47afa2=_0x578245[_0x53895b(0xec)](_0x2845b2[_0x53895b(0x142)]);const {commentThreadId:_0x36e05d,context:_0x582fa9,attributes:_0x4dd4b1,resolvedBy:_0x505d59,resolvedAt:_0x49d396,unlinkedAt:_0x21eb00,deletedAt:_0x4ad37c}=_0x2845b2;if(_0x4ad37c)continue;_0x47afa2||(_0x47afa2=_0x578245[_0x53895b(0x12c)]({'channelId':_0x4add72,'threadId':_0x36e05d,'context':_0x582fa9,'attributes':_0x4dd4b1||{},'resolvedBy':_0x505d59,'resolvedAt':_0x49d396,'unlinkedAt':_0x21eb00,'isFromAdapter':!0x0}));const _0x17d54b=new Set(Array[_0x53895b(0x134)](_0x47afa2[_0x53895b(0xf9)],_0x330c2b=>_0x330c2b['id']));for(const _0x419ffb of _0x2845b2[_0x53895b(0xf9)])_0x17d54b[_0x53895b(0xf2)](_0x419ffb[_0x53895b(0x11e)]);for(const _0x1ad74d of _0x17d54b)_0x47afa2[_0x53895b(0x10e)](_0x1ad74d)[_0x53895b(0x145)]({'isFromAdapter':!0x0});for(const _0xd06a2e of _0x2845b2[_0x53895b(0xf9)]){const _0x2331dc=_0x47afa2[_0x53895b(0x10e)](_0xd06a2e[_0x53895b(0x11e)]);_0x2331dc?_0x2331dc[_0x53895b(0xeb)]!==_0xd06a2e[_0x53895b(0xeb)]&&_0x2331dc[_0x53895b(0x107)]({'content':_0xd06a2e[_0x53895b(0xeb)],'isFromAdapter':!0x0}):_0x47afa2[_0x53895b(0x140)](Object[_0x53895b(0x132)](_(_0xd06a2e),{'isFromAdapter':!0x0}));}}}[_0x1513ab(0x13a)](_0xb89ef8){const _0x399c10=_0x1513ab;if(!this[_0x399c10(0x137)][_0x399c10(0xe5)](_0xb89ef8))throw new _0x1aa9aa(_0x399c10(0x144),null,{'channelId':_0xb89ef8});return this[_0x399c10(0x137)][_0x399c10(0x122)](_0xb89ef8);}async[_0x1513ab(0xe2)](_0x20f8b4){const _0x23f09b=_0x1513ab,_0x306003=this[_0x23f09b(0xf0)][_0x23f09b(0x100)][_0x23f09b(0x122)](_0xa42ffa),{connection:_0x530610}=this[_0x23f09b(0xf0)][_0x23f09b(0x100)][_0x23f09b(0x122)](_0x38680b),_0x472974=new Set();for(const {resolvedBy:_0x3e71d9,comments:_0x2b2fed}of _0x20f8b4){_0x3e71d9&&!_0x306003[_0x23f09b(0x10c)](_0x3e71d9)&&_0x472974[_0x23f09b(0x138)](_0x3e71d9);for(const {userId:_0x55fbc4}of _0x2b2fed)_0x306003[_0x23f09b(0x10c)](_0x55fbc4)||_0x472974[_0x23f09b(0x138)](_0x55fbc4);}if(0x0===_0x472974[_0x23f09b(0x11f)])return;const _0x37f9fb=await _0x48a7ea[_0x23f09b(0x120)](_0x530610,Array[_0x23f09b(0x134)](_0x472974));for(const _0x17b3cc of _0x37f9fb)_0x306003[_0x23f09b(0x10c)](_0x17b3cc['id'])||_0x306003[_0x23f09b(0x104)](_0x17b3cc);}}export default a;function _0x3a9e(_0x2466cd,_0x332047){const _0x56d4cb=_0x56d4();return _0x3a9e=function(_0x3a9ef2,_0x1e56ba){_0x3a9ef2=_0x3a9ef2-0xe2;let _0x5db870=_0x56d4cb[_0x3a9ef2];return _0x5db870;},_0x3a9e(_0x2466cd,_0x332047);}async function S(_0x530925){const _0x2b5b01=_0x1513ab;if(_0x2b5b01(0xea)!==_0x530925[_0x2b5b01(0x127)])throw _0x530925;}function R(_0x2466ca){const _0x2f5e11=_0x1513ab;if((_0x2be552=_0x2466ca)[_0x2f5e11(0x125)][_0x2f5e11(0x136)](_0x2f5e11(0x147))||_0x2be552[_0x2f5e11(0x125)][_0x2f5e11(0x136)](_0x2f5e11(0x123))||_0x2be552[_0x2f5e11(0x125)][_0x2f5e11(0x136)](_0x2f5e11(0xfc)))return new Promise(()=>{});var _0x2be552;throw _0x2466ca;}function _0x56d4(){const _0x3f5f8e=['resolvedBy','1159880RMKprn','destroy','createdAt','authorId','set','disconnect','CommentsService','connect','isPremiumPlugin','catch','isOfficialPlugin','commentId','size','getMany','unregister','get','cloud-services-internal-error:\x20Not\x20connected.','commentRemoved','message','8649091JRrIyS','code','attributes','21yLSpBR','CloudServicesCommentsAdapter','pluginName','addCommentThread','setPermissions','init','getCommentThreads','_connectService','Permissions','assign','cloudservicescommentsadapter-disconnect-not-exist','from','cloudservicescommentsadapter-connect-already-connected','startsWith','_services','add','register','_getService','commentThreadUpdated','permissions','keys','_terminateService','commentAdded','addComment','reopenCommentThread','commentThreadId','_setUpService','cloudservicescommentsadapter-service-not-exist','remove','mySessionId','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','resolvedAt','_fetchMissingUsersForThreads','getConnectedSessions','reopen','has','6BXBBju','CommentsRepository','commentThreadResolved','resolve','404','content','getCommentThread','98950jfnHFI','88SSEEVO','8976906rJgTbJ','context','reconnect','delete','map','5426230rYkDVD','requires','config','removeComment','13470hJzcxu','comments','resolveCommentThread','collaboration.channelId','cloud-services-internal-error:\x20Request\x20timeout.','addToReconnectionStack','updateComment','off','plugins','commentThreadAdded','removeCommentThread','sessionAdd:','addUser','commentThreadReopened','commentThreadRemoved','update','listenTo','deletedAt','userId','adapter','getUser','commentUpdated','getComment','545ujCTTc','53316gJESHE','updateCommentThread'];_0x56d4=function(){return _0x3f5f8e;};return _0x56d4();}function _(_0x53f519){const _0x27de42=_0x1513ab;return{'threadId':_0x53f519[_0x27de42(0x142)],'commentId':_0x53f519[_0x27de42(0x11e)],'content':_0x53f519[_0x27de42(0xeb)],'createdAt':_0x53f519[_0x27de42(0x115)],'authorId':_0x53f519[_0x27de42(0x10a)],'attributes':_0x53f519[_0x27de42(0x128)]||{}};}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1b1b(_0x34d8a5,_0x5714e7){const _0x4db2ae=_0x4db2();return _0x1b1b=function(_0x1b1bab,_0x41112b){_0x1b1bab=_0x1b1bab-0x1f1;let _0x163b42=_0x4db2ae[_0x1b1bab];return _0x163b42;},_0x1b1b(_0x34d8a5,_0x5714e7);}const _0x3836e8=_0x1b1b;(function(_0x12d8a8,_0xecefee){const _0x58e178=_0x1b1b,_0x4ab52a=_0x12d8a8();while(!![]){try{const _0x2bacf1=-parseInt(_0x58e178(0x22a))/0x1*(-parseInt(_0x58e178(0x224))/0x2)+parseInt(_0x58e178(0x221))/0x3*(-parseInt(_0x58e178(0x268))/0x4)+parseInt(_0x58e178(0x270))/0x5+parseInt(_0x58e178(0x2f5))/0x6+parseInt(_0x58e178(0x271))/0x7*(parseInt(_0x58e178(0x2a1))/0x8)+-parseInt(_0x58e178(0x2b2))/0x9*(parseInt(_0x58e178(0x2dc))/0xa)+-parseInt(_0x58e178(0x204))/0xb;if(_0x2bacf1===_0xecefee)break;else _0x4ab52a['push'](_0x4ab52a['shift']());}catch(_0x103740){_0x4ab52a['push'](_0x4ab52a['shift']());}}}(_0x4db2,0x34d1b));import{Plugin as _0x2a2fa8,PendingActions as _0x2c0db0}from'ckeditor5/src/core.js';import{CKEditorError as _0x423683,version as _0x255450,uid as _0xe7ab06}from'ckeditor5/src/utils.js';import{Notification as _0x506bfd}from'ckeditor5/src/ui.js';import{transformSets as _0x4b6ef6,NoOperation as _0xd0826b,InsertOperation as _0x4b7983,MarkerOperation as _0x6115ec,RootAttributeOperation as _0x2aa5f3,OperationFactory as _0x21590b,History as _0x5bffd0}from'ckeditor5/src/engine.js';import _0x1d7677 from'./websocketgateway.js';import _0x2dc5aa from'./sessions.js';import _0x809ba3 from'./usermarkers.js';import{getTranslation as _0x4e6e58}from'../common-translations.js';import{Compressor as _0x283b01}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x257107}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x144546,CollaborativeEditingService as _0x33608a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let F=0x1;class l extends _0x2a2fa8{static [_0x3836e8(0x293)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x33608a)());[_0x3836e8(0x23a)];[_0x3836e8(0x2e5)];[_0x3836e8(0x2cc)];[_0x3836e8(0x292)];[_0x3836e8(0x2a8)];[_0x3836e8(0x2ec)];[_0x3836e8(0x2e0)];[_0x3836e8(0x2a9)];[_0x3836e8(0x250)];[_0x3836e8(0x28c)];[_0x3836e8(0x26f)];[_0x3836e8(0x22e)];[_0x3836e8(0x2f0)];[_0x3836e8(0x211)];[_0x3836e8(0x278)];[_0x3836e8(0x239)];[_0x3836e8(0x237)];[_0x3836e8(0x249)];static get[_0x3836e8(0x22c)](){return[_0x1d7677,_0x2dc5aa,_0x809ba3,_0x2c0db0,_0x257107,_0x506bfd];}static get[_0x3836e8(0x216)](){const _0xc4ad9e=_0x3836e8;return _0xc4ad9e(0x202);}static get[_0x3836e8(0x1f4)](){return!0x0;}static get[_0x3836e8(0x27b)](){return!0x0;}get[_0x3836e8(0x285)](){const _0x888cd3=_0x3836e8;return this[_0x888cd3(0x209)]+this[_0x888cd3(0x23a)];}get[_0x3836e8(0x209)](){const _0x14e9d6=_0x3836e8;return this[_0x14e9d6(0x2cc)][_0x14e9d6(0x1f8)]-this[_0x14e9d6(0x23a)];}get[_0x3836e8(0x2ef)](){const _0x4f1d57=_0x3836e8,_0x2c721d=this[_0x4f1d57(0x2cc)][_0x4f1d57(0x26b)]();for(let _0x466e8a=_0x2c721d[_0x4f1d57(0x2d7)]-0x1;_0x466e8a>=0x0;_0x466e8a--){const _0x2ab71b=_0x2c721d[_0x466e8a];if(!this[_0x4f1d57(0x237)][_0x4f1d57(0x1fe)](_0x2ab71b))return _0x2ab71b[_0x4f1d57(0x222)]+0x1-this[_0x4f1d57(0x23a)];}return 0x0;}constructor(_0x39d082){const _0x24ae73=_0x3836e8;if(super(_0x39d082),this[_0x24ae73(0x23a)]=0x0,this[_0x24ae73(0x2e5)]=null,this[_0x24ae73(0x2cc)]=new _0x5bffd0(),this[_0x24ae73(0x2ca)][_0x24ae73(0x2ea)][_0x24ae73(0x2f7)](_0x24ae73(0x263),{}),this[_0x24ae73(0x292)]=this[_0x24ae73(0x2ca)][_0x24ae73(0x2ea)][_0x24ae73(0x288)](_0x24ae73(0x210)),!this[_0x24ae73(0x292)])throw new _0x423683(_0x24ae73(0x2cd),this);const _0x2c56e8=_0x39d082[_0x24ae73(0x2ea)][_0x24ae73(0x288)](_0x24ae73(0x21c))||_0x255450;this[_0x24ae73(0x2a8)]=new l[(_0x24ae73(0x293))](_0x2c56e8,this[_0x24ae73(0x292)]),this[_0x24ae73(0x2ec)]=this[_0x24ae73(0x2ca)][_0x24ae73(0x2b3)][_0x24ae73(0x2b4)],this[_0x24ae73(0x2e0)]=new _0x283b01(),this[_0x24ae73(0x2a9)]=[],this[_0x24ae73(0x250)]=new WeakSet(),this[_0x24ae73(0x28c)]=new Set(),this[_0x24ae73(0x23f)](_0x24ae73(0x1fb),!0x1),this[_0x24ae73(0x23f)](_0x24ae73(0x2ae),!0x1),this[_0x24ae73(0x26f)]=null,this[_0x24ae73(0x22e)]=!0x1,this[_0x24ae73(0x2f0)]=null,this[_0x24ae73(0x211)]=0x12c,this[_0x24ae73(0x278)]=this[_0x24ae73(0x211)],this[_0x24ae73(0x239)]=null,this[_0x24ae73(0x237)]=new WeakSet(),this[_0x24ae73(0x249)]=new $(this[_0x24ae73(0x237)]);}[_0x3836e8(0x248)](){const _0x3df52b=_0x3836e8,_0x2d90a9=this[_0x3df52b(0x2ca)],_0x48dcd2=_0x2d90a9[_0x3df52b(0x29b)][_0x3df52b(0x288)](_0x257107),_0x56d16f=_0x2d90a9[_0x3df52b(0x29b)][_0x3df52b(0x288)](_0x1d7677);this[_0x3df52b(0x1ff)](_0x48dcd2,_0x3df52b(0x220),(_0x32243a,_0x345126)=>{const _0x4d3157=_0x3df52b,_0x4be499=_0x345126[0x0];_0x4be499[_0x4d3157(0x29f)]&&(_0x32243a[_0x4d3157(0x2f3)]=_0x48dcd2[_0x4d3157(0x2f1)](_0x4be499[_0x4d3157(0x29f)]),_0x32243a[_0x4d3157(0x2a0)]()),null===_0x4be499[_0x4d3157(0x29f)]&&(_0x32243a[_0x4d3157(0x2f3)]=null,_0x32243a[_0x4d3157(0x2a0)]());},{'priority':_0x3df52b(0x26e)}),this[_0x3df52b(0x1ff)](_0x2d90a9[_0x3df52b(0x2b3)][_0x3df52b(0x2b4)][_0x3df52b(0x22d)],_0x3df52b(0x23c),(_0x2cd034,_0xf62726)=>{const _0x2fdc0e=_0x3df52b;_0xf62726[_0x2fdc0e(0x2d5)]&&this[_0x2fdc0e(0x214)]();}),this[_0x3df52b(0x1ff)](_0x2d90a9[_0x3df52b(0x29d)][_0x3df52b(0x2ba)],_0x3df52b(0x21d),()=>{const _0x51078f=_0x3df52b;this[_0x51078f(0x214)]();}),this[_0x3df52b(0x1fd)](),_0x2d90a9[_0x3df52b(0x2b3)]['on'](_0x3df52b(0x1f3),(_0x4416ff,_0x203da8)=>{const _0x201882=_0x3df52b,_0x22d529=_0x203da8[0x0];_0x22d529[_0x201882(0x20e)]&&(this[_0x201882(0x223)](_0x22d529),this[_0x201882(0x287)]()&&this[_0x201882(0x24f)]());}),this[_0x3df52b(0x2d9)](),this[_0x3df52b(0x286)](_0x3df52b(0x241))['to'](_0x56d16f,_0x3df52b(0x289),this,_0x3df52b(0x2ae),(_0x31e0b9,_0x5f120d)=>_0x3df52b(0x2a5)===_0x31e0b9&&!_0x5f120d),this['on'](_0x3df52b(0x203),()=>{const _0x294887=_0x3df52b;this[_0x294887(0x241)]?_0x2d90a9[_0x294887(0x236)](_0x294887(0x212)):_0x2d90a9[_0x294887(0x264)](_0x294887(0x212));}),this[_0x3df52b(0x241)]?_0x2d90a9[_0x3df52b(0x236)](_0x3df52b(0x212)):_0x2d90a9[_0x3df52b(0x264)](_0x3df52b(0x212)),this[_0x3df52b(0x23f)](_0x3df52b(0x2e6),!0x1);}async[_0x3836e8(0x2d4)](){const _0x221b72=_0x3836e8,_0x59b0de=this[_0x221b72(0x2ca)][_0x221b72(0x29b)][_0x221b72(0x288)](_0x2dc5aa),_0x31e9f8=this[_0x221b72(0x2ca)][_0x221b72(0x29b)][_0x221b72(0x288)](_0x1d7677);try{this[_0x221b72(0x1fb)]=!0x0,_0x59b0de[_0x221b72(0x260)](this[_0x221b72(0x292)]);const _0x10b039=await this[_0x221b72(0x2a8)][_0x221b72(0x2d4)](_0x31e9f8[_0x221b72(0x252)],this[_0x221b72(0x2ef)]);await this[_0x221b72(0x297)](_0x10b039)&&(this[_0x221b72(0x1fb)]=!0x1,this[_0x221b72(0x2d3)]());const _0x11c62d=await this[_0x221b72(0x2a8)][_0x221b72(0x247)]();_0x59b0de[_0x221b72(0x265)](this[_0x221b72(0x292)],_0x11c62d),this[_0x221b72(0x2de)](),this[_0x221b72(0x2e6)]=!0x0;}catch(_0x37331e){if(function(_0x5199d1){const _0xa4b4c=_0x221b72;return _0xa4b4c(0x2bd)===_0x5199d1[_0xa4b4c(0x2b0)];}(_0x37331e)&&this[_0x221b72(0x2e5)])await this[_0x221b72(0x230)]();else{if(function(_0xbaf031){const _0x346382=_0x221b72;return _0x346382(0x26a)===_0xbaf031[_0x346382(0x2b0)];}(_0x37331e)){const _0xd6d54e=_0x4e6e58(this[_0x221b72(0x2ca)][_0x221b72(0x226)],_0x221b72(0x2b1));this[_0x221b72(0x272)](_0xd6d54e);}else{if(!(_0x37331e instanceof q))throw _0x37331e;this[_0x221b72(0x272)]();}}}}[_0x3836e8(0x2e4)](){const _0xa2d3e8=_0x3836e8,_0x25eca7=this[_0xa2d3e8(0x2ca)][_0xa2d3e8(0x29b)][_0xa2d3e8(0x288)](_0x1d7677),_0x40a4c8=this[_0xa2d3e8(0x2ca)][_0xa2d3e8(0x29b)][_0xa2d3e8(0x288)](_0x2dc5aa);this[_0xa2d3e8(0x2ca)][_0xa2d3e8(0x264)](_0xa2d3e8(0x2ac)),_0x40a4c8[_0xa2d3e8(0x24a)][_0xa2d3e8(0x1fe)](this[_0xa2d3e8(0x292)])&&_0x40a4c8[_0xa2d3e8(0x260)](this[_0xa2d3e8(0x292)]),_0x25eca7[_0xa2d3e8(0x20d)](this),this[_0xa2d3e8(0x25e)](),super[_0xa2d3e8(0x2e4)]();}async[_0x3836e8(0x297)](_0x52895c){const _0x4137f7=_0x3836e8;if(this[_0x4137f7(0x2e5)]!==_0x52895c[_0x4137f7(0x2e5)]&&this[_0x4137f7(0x239)]!==_0x52895c[_0x4137f7(0x2a3)])throw new q();return this[_0x4137f7(0x2e5)]=_0x52895c[_0x4137f7(0x2e5)],this[_0x4137f7(0x267)]([],{..._0x52895c,'wereChangesApplied':!0x1,'data':_0x52895c[_0x4137f7(0x280)]},_0x4137f7(0x2d4));}async[_0x3836e8(0x24e)](_0x4162a9,_0x26f9c5=!0x1){const _0x3e6ade=_0x3836e8,{connection:_0x5099f0}=this[_0x3e6ade(0x2ca)][_0x3e6ade(0x29b)][_0x3e6ade(0x288)](_0x1d7677);l[_0x3e6ade(0x293)][_0x3e6ade(0x247)](_0x5099f0,this[_0x3e6ade(0x292)])[_0x3e6ade(0x208)](_0xb64768=>this[_0x3e6ade(0x2f6)](_0xb64768))[_0x3e6ade(0x2b7)](_0x3e589c=>{const _0x210fa2=_0x3e6ade;this[_0x210fa2(0x257)](_0x210fa2(0x24b),_0x3e589c);}),this[_0x3e6ade(0x1ff)](this[_0x3e6ade(0x2a8)],_0x3e6ade(0x25a),this[_0x3e6ade(0x2d8)][_0x3e6ade(0x286)](this)),this[_0x3e6ade(0x1ff)](this[_0x3e6ade(0x2a8)],_0x3e6ade(0x21a),(_0x24ebb0,_0x21dcd8)=>{const _0x45cdf7=_0x3e6ade;this[_0x45cdf7(0x257)](_0x45cdf7(0x205),_0x21dcd8);}),this[_0x3e6ade(0x1ff)](this[_0x3e6ade(0x2a8)],_0x3e6ade(0x294),()=>{const _0x30ef6e=_0x3e6ade;this[_0x30ef6e(0x2e6)]=!0x1;});const _0x501723=this[_0x3e6ade(0x249)][_0x3e6ade(0x2a2)](_0x4162a9);this[_0x3e6ade(0x1fb)]=!0x0;const _0x2f366c=await this[_0x3e6ade(0x2a8)][_0x3e6ade(0x2e3)](_0x5099f0,this[_0x3e6ade(0x27a)](_0x4162a9),_0x501723);if(this[_0x3e6ade(0x2e5)]=_0x2f366c[_0x3e6ade(0x2e5)],_0x26f9c5){if(!_0x2f366c[_0x3e6ade(0x281)])return void this[_0x3e6ade(0x272)]();this[_0x3e6ade(0x1fb)]=!0x1,this[_0x3e6ade(0x2d3)](),this[_0x3e6ade(0x2cc)][_0x3e6ade(0x234)](),this[_0x3e6ade(0x23a)]=_0x2f366c[_0x3e6ade(0x276)],this[_0x3e6ade(0x2cc)][_0x3e6ade(0x1f8)]=this[_0x3e6ade(0x23a)],await this[_0x3e6ade(0x267)](_0x4162a9,_0x2f366c,_0x3e6ade(0x1f6));}else await this[_0x3e6ade(0x254)](_0x2f366c,_0x4162a9);this[_0x3e6ade(0x2de)](),this[_0x3e6ade(0x2e6)]=!0x0;}[_0x3836e8(0x2de)](){const _0x513a97=_0x3836e8,_0x567b9d=this[_0x513a97(0x2ca)][_0x513a97(0x29b)][_0x513a97(0x288)](_0x2dc5aa),_0xbd5ae9=this[_0x513a97(0x2ca)][_0x513a97(0x29b)][_0x513a97(0x288)](_0x809ba3),_0xadc683=_0x567b9d[_0x513a97(0x24a)][_0x513a97(0x288)](this[_0x513a97(0x292)]);_0xadc683&&_0xadc683[_0x513a97(0x2d7)]>0x1?_0xbd5ae9[_0x513a97(0x253)]():this[_0x513a97(0x1ff)](_0x567b9d,_0x513a97(0x246)+this[_0x513a97(0x292)],()=>{const _0x2b9f66=_0x513a97;0x2===_0x567b9d[_0x2b9f66(0x24a)][_0x2b9f66(0x288)](this[_0x2b9f66(0x292)])[_0x2b9f66(0x2d7)]&&_0xbd5ae9[_0x2b9f66(0x253)]();});}async[_0x3836e8(0x2d8)](_0x31b042,_0x5aa532,_0x496308,_0x28796c){const _0x284eb4=_0x3836e8;if(!this[_0x284eb4(0x1fb)]&&this[_0x284eb4(0x2ec)][_0x284eb4(0x1f8)]==_0x5aa532){const _0x395d26=this[_0x284eb4(0x2c0)](_0x496308,_0x28796c);await this[_0x284eb4(0x207)](_0x395d26),this[_0x284eb4(0x2e9)](_0x395d26,_0x5aa532,_0x496308[_0x284eb4(0x2a3)])||this[_0x284eb4(0x257)](_0x284eb4(0x283));}}async[_0x3836e8(0x230)](){const _0x4a381b=_0x3836e8;this[_0x4a381b(0x25e)]();const {locale:_0x271bc5}=this[_0x4a381b(0x2ca)];let _0x48d12c;try{_0x48d12c=await this[_0x4a381b(0x2a8)][_0x4a381b(0x26c)]();}catch(_0x3ef10d){const _0x23418b=_0x4e6e58(_0x271bc5,_0x4a381b(0x2c6));return void this[_0x4a381b(0x272)](_0x23418b);}const _0x57a3c0=_0x48d12c[_0x4a381b(0x1f7)]||_0x48d12c[_0x4a381b(0x240)];if(this[_0x4a381b(0x239)]===_0x57a3c0[_0x4a381b(0x2a3)])await this[_0x4a381b(0x24e)](this[_0x4a381b(0x2ca)][_0x4a381b(0x2b3)][_0x4a381b(0x2b4)][_0x4a381b(0x256)][_0x4a381b(0x26b)](),!0x0);else{const _0x4c3e5e=_0x4e6e58(_0x271bc5,_0x4a381b(0x27c));this[_0x4a381b(0x272)](_0x4c3e5e);}}[_0x3836e8(0x25e)](){const _0x49838e=_0x3836e8;this[_0x49838e(0x2a8)][_0x49838e(0x24d)](),this[_0x49838e(0x2a9)]=[],clearTimeout(this[_0x49838e(0x2f0)]),this[_0x49838e(0x2e1)](this[_0x49838e(0x2a8)]);}[_0x3836e8(0x2f6)](_0x415bab){const _0x305c2e=_0x3836e8,_0x21f52a=this[_0x305c2e(0x2ca)][_0x305c2e(0x29b)][_0x305c2e(0x288)](_0x2dc5aa);this[_0x305c2e(0x1ff)](_0x21f52a,_0x305c2e(0x246)+this[_0x305c2e(0x292)],(_0x382f51,{session:_0x5a4837})=>{const _0x1a8736=_0x305c2e;if(_0x5a4837['id']===_0x21f52a[_0x1a8736(0x20a)]){_0x382f51[_0x1a8736(0x2bf)]();const _0x28a8c8=this[_0x1a8736(0x2ca)][_0x1a8736(0x29b)][_0x1a8736(0x1fe)](_0x1a8736(0x29c))&&this[_0x1a8736(0x2ca)][_0x1a8736(0x29b)][_0x1a8736(0x288)](_0x1a8736(0x29c));let _0x15b6ad=_0x5a4837[_0x1a8736(0x266)];_0x28a8c8&&_0x28a8c8[_0x1a8736(0x2a7)]&&(_0x15b6ad=_0x15b6ad[_0x1a8736(0x227)](_0x4909b2=>_0x1a8736(0x233)!==_0x4909b2)),this[_0x1a8736(0x2ca)][_0x1a8736(0x29b)][_0x1a8736(0x288)](_0x1a8736(0x2e8))[_0x1a8736(0x28e)](_0x15b6ad,this[_0x1a8736(0x292)]);}}),_0x21f52a[_0x305c2e(0x265)](this[_0x305c2e(0x292)],_0x415bab);}[_0x3836e8(0x1fd)](){const _0x1f4c2e=_0x3836e8,_0x12f4e1=this[_0x1f4c2e(0x2ca)][_0x1f4c2e(0x280)][_0x1f4c2e(0x23f)];this[_0x1f4c2e(0x2ca)][_0x1f4c2e(0x280)][_0x1f4c2e(0x23f)]=(..._0x42a21a)=>{const _0x171b1a=_0x1f4c2e;if(!_0x42a21a[_0x42a21a[_0x171b1a(0x2d7)]-0x1][_0x171b1a(0x284)])throw new _0x423683(_0x171b1a(0x2eb),this);_0x12f4e1[_0x171b1a(0x243)](this[_0x171b1a(0x2ca)][_0x171b1a(0x280)],_0x42a21a);};}[_0x3836e8(0x2d9)](){const _0x53f579=_0x3836e8;this[_0x53f579(0x2ca)][_0x53f579(0x280)]['on'](_0x53f579(0x248),(_0x1e901b,[_0x1ee770])=>{const _0x203563=_0x53f579;if(this[_0x203563(0x2ec)][_0x203563(0x1f8)])throw new _0x423683(_0x203563(0x2b8),this);_0x1e901b[_0x203563(0x2a0)](),this[_0x203563(0x28a)]();const _0xf1236=this[_0x203563(0x2ca)][_0x203563(0x2ea)][_0x203563(0x288)](_0x203563(0x200)),_0x17cc07=this[_0x203563(0x235)](_0x1ee770,_0xf1236);0x0==_0x17cc07[_0x203563(0x2d7)]&&_0x17cc07[_0x203563(0x20c)](new _0xd0826b(0x0)),_0x1e901b[_0x203563(0x2f3)]=this[_0x203563(0x24e)](_0x17cc07)[_0x203563(0x208)](()=>{const _0x379297=_0x203563;this[_0x379297(0x2ca)][_0x379297(0x29b)][_0x379297(0x288)](_0x1d7677)[_0x379297(0x2a6)](this),this[_0x379297(0x2ca)][_0x379297(0x280)][_0x379297(0x232)](_0x379297(0x29a));})[_0x203563(0x2b7)](_0x2d0085=>this[_0x203563(0x257)](_0x203563(0x21b),_0x2d0085))[_0x203563(0x277)](()=>this[_0x203563(0x2d3)]());},{'priority':_0x53f579(0x26e)}),this[_0x53f579(0x2ca)]['on'](_0x53f579(0x2c9),async(_0x372bbc,[_0x442372,_0x5b29c0])=>{const _0x4dfaa8=_0x53f579;_0x372bbc[_0x4dfaa8(0x2a0)]();const _0x15bc18=this[_0x4dfaa8(0x2ca)][_0x4dfaa8(0x2b3)][_0x4dfaa8(0x2b4)][_0x4dfaa8(0x215)](_0x442372);if(!this[_0x4dfaa8(0x28c)][_0x4dfaa8(0x1fe)](_0x442372)){const _0x25785a=_0x5b29c0&&_0x5b29c0[_0x4dfaa8(0x280)]?_0x5b29c0[_0x4dfaa8(0x280)]:'',_0x543c42=_0x5b29c0&&_0x5b29c0[_0x4dfaa8(0x274)]?_0x5b29c0[_0x4dfaa8(0x274)]:{};await this[_0x4dfaa8(0x2da)](_0x442372,_0x25785a,_0x543c42);}this[_0x4dfaa8(0x2ca)][_0x4dfaa8(0x2b3)][_0x4dfaa8(0x251)]({'isUndoable':!0x1},()=>{const _0x41e2ed=_0x4dfaa8;_0x15bc18[_0x41e2ed(0x279)]=!0x0,this[_0x41e2ed(0x2ca)][_0x41e2ed(0x2b3)][_0x41e2ed(0x2b4)][_0x41e2ed(0x228)][_0x41e2ed(0x25c)](_0x15bc18);});},{'priority':_0x53f579(0x26e)});}async[_0x3836e8(0x207)](_0x318d64){const _0x43d3b2=_0x3836e8,_0x3b2e35=this[_0x43d3b2(0x2ca)][_0x43d3b2(0x29b)][_0x43d3b2(0x288)](_0x257107),{connection:_0x23318b}=this[_0x43d3b2(0x2ca)][_0x43d3b2(0x29b)][_0x43d3b2(0x288)](_0x1d7677),_0x30d699=new Set();for(const _0x1187b4 of _0x318d64){const _0x2806b0=_0x1187b4[_0x43d3b2(0x29f)];_0x2806b0&&!_0x3b2e35[_0x43d3b2(0x2f1)](_0x2806b0)&&_0x30d699[_0x43d3b2(0x2dd)](_0x2806b0);}if(0x0===_0x30d699[_0x43d3b2(0x2f4)])return;const _0x4f0cb4=await _0x144546[_0x43d3b2(0x2ee)](_0x23318b,Array[_0x43d3b2(0x23b)](_0x30d699));for(const _0x14747b of _0x4f0cb4)_0x3b2e35[_0x43d3b2(0x2f1)](_0x14747b['id'])||_0x3b2e35[_0x43d3b2(0x29e)](_0x14747b);}[_0x3836e8(0x235)](_0x11c06b,_0x4dae2e={}){const _0x2c1512=_0x3836e8,_0x5cb9cf=this[_0x2c1512(0x2ca)][_0x2c1512(0x2b3)],_0x3b07a9=[];let _0x4661a3=0x0;const _0x1f00e5=_0x2c1512(0x2c5)==typeof _0x11c06b?{'main':_0x11c06b}:_0x11c06b;for(const _0x4f05c5 of Object[_0x2c1512(0x2ad)](_0x1f00e5)){if(!this[_0x2c1512(0x2ec)][_0x2c1512(0x20f)][_0x2c1512(0x1fe)](_0x4f05c5))throw new _0x423683(_0x2c1512(0x2b9),this);const _0x5413f6=this[_0x2c1512(0x2ca)][_0x2c1512(0x280)][_0x2c1512(0x21f)](_0x1f00e5[_0x4f05c5]),_0x1532ad=this[_0x2c1512(0x2ec)][_0x2c1512(0x215)](_0x4f05c5),_0x156804=new _0x4b7983(_0x5cb9cf[_0x2c1512(0x269)](_0x1532ad,0x0),_0x5413f6,_0x4661a3++);_0x3b07a9[_0x2c1512(0x20c)](_0x156804);for(const [_0x5268a2,_0x17ba03]of _0x5413f6[_0x2c1512(0x1fa)]){const _0xf41630=_0x5cb9cf[_0x2c1512(0x2be)](_0x5cb9cf[_0x2c1512(0x2e2)](_0x1532ad,_0x17ba03[_0x2c1512(0x299)][_0x2c1512(0x23d)][_0x2c1512(0x295)]()),_0x5cb9cf[_0x2c1512(0x2e2)](_0x1532ad,_0x17ba03[_0x2c1512(0x28b)][_0x2c1512(0x23d)][_0x2c1512(0x295)]())),_0x35d083=new _0x6115ec(_0x5268a2,null,_0xf41630,_0x5cb9cf[_0x2c1512(0x1fa)],!0x0,_0x4661a3++);_0x3b07a9[_0x2c1512(0x20c)](_0x35d083);}}if(_0x4dae2e)for(const [_0x3c18f3,_0x435998]of Object[_0x2c1512(0x22f)](_0x4dae2e)){const _0x4c7ce0=_0x5cb9cf[_0x2c1512(0x2b4)][_0x2c1512(0x215)](_0x3c18f3);if(!_0x4c7ce0)throw new _0x423683(_0x2c1512(0x290),null);for(const [_0x384d7f,_0x2aebe7]of Object[_0x2c1512(0x22f)](_0x435998))if(null!==_0x2aebe7){const _0x4da706=new _0x2aa5f3(_0x4c7ce0,_0x384d7f,null,_0x2aebe7,_0x4661a3++);_0x3b07a9[_0x2c1512(0x20c)](_0x4da706);}}return _0x3b07a9;}async[_0x3836e8(0x2da)](_0x2fe8cc,_0x445f49,_0x56da74){const _0x3f9f12=_0x3836e8;this[_0x3f9f12(0x235)]({[_0x2fe8cc]:_0x445f49},{[_0x2fe8cc]:_0x56da74})[_0x3f9f12(0x238)]((_0x1a5680,_0x26c5fc)=>{const _0x258860=_0x3f9f12;_0x1a5680[_0x258860(0x222)]=this[_0x258860(0x2ec)][_0x258860(0x1f8)]+_0x26c5fc,_0x1a5680[_0x258860(0x2d2)]=!0x0,this[_0x258860(0x223)](_0x1a5680);}),this[_0x3f9f12(0x24f)](),await this[_0x3f9f12(0x2cb)]();}async[_0x3836e8(0x254)](_0x3c4b43,_0x1e9450){const _0x40d0f5=_0x3836e8;let _0x178e1e;this[_0x40d0f5(0x23a)]=_0x3c4b43[_0x40d0f5(0x276)];const _0x240cbd=_0x3c4b43[_0x40d0f5(0x281)]&&!_0x3c4b43[_0x40d0f5(0x225)],_0x560133=_0x240cbd?0x0:_0x3c4b43[_0x40d0f5(0x280)][_0x40d0f5(0x222)];if(_0x1e9450[_0x40d0f5(0x238)](_0x40e994=>{const _0x584131=_0x40d0f5;_0x40e994[_0x584131(0x2d2)]=!0x0,_0x40e994[_0x584131(0x229)]=_0x3c4b43[_0x584131(0x298)],_0x40e994[_0x584131(0x29f)]=null;}),_0x240cbd)_0x178e1e=_0x1e9450,this[_0x40d0f5(0x275)](_0x178e1e,_0x240cbd);else{if(_0x3c4b43[_0x40d0f5(0x225)]){const _0x19e0d9=this[_0x40d0f5(0x235)](_0x3c4b43[_0x40d0f5(0x225)]);this[_0x40d0f5(0x2ec)][_0x40d0f5(0x256)][_0x40d0f5(0x1f8)]=-_0x19e0d9[_0x40d0f5(0x2d7)],_0x19e0d9[_0x40d0f5(0x238)](_0x17df93=>{const _0x3d1400=_0x40d0f5;_0x17df93[_0x3d1400(0x222)]-=_0x19e0d9[_0x3d1400(0x2d7)],_0x17df93[_0x3d1400(0x229)]=_0x3c4b43[_0x3d1400(0x298)],_0x17df93[_0x3d1400(0x2d2)]=!0x0,_0x17df93[_0x3d1400(0x29f)]=null;}),this[_0x40d0f5(0x275)](_0x19e0d9,!0x0),this[_0x40d0f5(0x2cc)][_0x40d0f5(0x1f8)]=-_0x19e0d9[_0x40d0f5(0x2d7)]+this[_0x40d0f5(0x23a)],this[_0x40d0f5(0x26d)](_0x19e0d9);}this[_0x40d0f5(0x2ec)][_0x40d0f5(0x256)][_0x40d0f5(0x1f8)]=_0x560133,_0x178e1e=this[_0x40d0f5(0x2c0)](_0x3c4b43[_0x40d0f5(0x280)],_0x3c4b43[_0x40d0f5(0x2a4)]),await this[_0x40d0f5(0x207)](_0x178e1e),this[_0x40d0f5(0x275)](_0x178e1e,_0x240cbd);}_0x3c4b43[_0x40d0f5(0x2a3)]&&(this[_0x40d0f5(0x249)][_0x40d0f5(0x245)](_0x178e1e,_0x3c4b43[_0x40d0f5(0x2a3)]),this[_0x40d0f5(0x239)]=_0x3c4b43[_0x40d0f5(0x2a3)]),this[_0x40d0f5(0x2cc)][_0x40d0f5(0x1f8)]=_0x560133+this[_0x40d0f5(0x23a)],this[_0x40d0f5(0x26d)](_0x178e1e),_0x1e9450[_0x40d0f5(0x227)](_0x31435a=>{const _0x154b2b=_0x40d0f5,_0x27d1b3=this[_0x154b2b(0x28f)](_0x31435a);return _0x27d1b3&&!this[_0x154b2b(0x28c)][_0x154b2b(0x1fe)](_0x27d1b3);})[_0x40d0f5(0x238)]((_0x4313e7,_0x4c4df6)=>{const _0x12b57b=_0x40d0f5;_0x4313e7[_0x12b57b(0x222)]=this[_0x12b57b(0x2ec)][_0x12b57b(0x1f8)]+_0x4c4df6,this[_0x12b57b(0x223)](_0x4313e7);}),this[_0x40d0f5(0x287)]()?(this[_0x40d0f5(0x278)]=0x0,this[_0x40d0f5(0x24f)](!0x0),await this[_0x40d0f5(0x2cb)]()):(this[_0x40d0f5(0x1fb)]=!0x1,this[_0x40d0f5(0x2d3)]());}[_0x3836e8(0x257)](_0x4bc63f,_0x188152){const _0x23e75d=_0x3836e8,_0x1f4c05=_0x188152&&_0x188152[_0x23e75d(0x2b6)];if(_0x1f4c05&&_0x1f4c05[_0x23e75d(0x2c7)](_0x23e75d(0x28d)))throw _0x188152;const _0x22f78e=this[_0x23e75d(0x2ca)][_0x23e75d(0x29b)][_0x23e75d(0x288)](_0x1d7677);throw this[_0x23e75d(0x1fb)]=!0x0,_0x22f78e[_0x23e75d(0x24d)](),this[_0x23e75d(0x2ca)][_0x23e75d(0x264)](_0x23e75d(0x2c8)),new _0x423683(_0x4bc63f,this[_0x23e75d(0x2ca)],_0x1f4c05?{'originalError':_0x1f4c05}:void 0x0);}[_0x3836e8(0x223)](_0x17cf11){const _0x4ad3af=_0x3836e8;this[_0x4ad3af(0x250)][_0x4ad3af(0x1fe)](_0x17cf11)||(this[_0x4ad3af(0x250)][_0x4ad3af(0x2dd)](_0x17cf11),this[_0x4ad3af(0x2a9)][_0x4ad3af(0x20c)](_0x17cf11),this[_0x4ad3af(0x26f)]||_0x4ad3af(0x206)==_0x17cf11[_0x4ad3af(0x25b)]&&!_0x17cf11[_0x4ad3af(0x22b)]||this[_0x4ad3af(0x28a)]());}[_0x3836e8(0x24f)](_0x22f0bd=!0x1){const _0x35c944=_0x3836e8;!_0x22f0bd&&this[_0x35c944(0x1fb)]||(this[_0x35c944(0x1fb)]=!0x0,clearTimeout(this[_0x35c944(0x2f0)]),this[_0x35c944(0x2f0)]=setTimeout(()=>{const _0x588d33=_0x35c944;this[_0x588d33(0x2aa)]()[_0x588d33(0x208)](_0x3e0da8=>{const _0x5aca96=_0x588d33;_0x3e0da8&&(this[_0x5aca96(0x2d3)](),this[_0x5aca96(0x1fb)]=!0x1);})[_0x588d33(0x2b7)](_0x4e0c47=>{const _0x4b0fc3=_0x588d33;this[_0x4b0fc3(0x2d3)](),this[_0x4b0fc3(0x1fb)]=!0x1,function(_0xd736a){const _0x574424=_0x4b0fc3;return _0xd736a[_0x574424(0x2b6)][_0x574424(0x2c7)](_0x574424(0x261))||_0xd736a[_0x574424(0x2b6)][_0x574424(0x2c7)](_0x574424(0x258))||_0xd736a[_0x574424(0x2b6)][_0x574424(0x2c7)](_0x574424(0x23e));}(_0x4e0c47)||this[_0x4b0fc3(0x257)](_0x4e0c47[_0x4b0fc3(0x2b6)],_0x4e0c47);});},this[_0x35c944(0x278)]));}[_0x3836e8(0x2cb)](){return new Promise(_0xc7b85d=>{const _0x54f397=_0x1b1b;this['on'](_0x54f397(0x2d6),()=>{_0xc7b85d();});});}async[_0x3836e8(0x2aa)](){const _0xbdcdc8=_0x3836e8,_0x2cde6b=this[_0xbdcdc8(0x2ca)][_0xbdcdc8(0x29b)][_0xbdcdc8(0x288)](_0x809ba3);if(this[_0xbdcdc8(0x2c2)]()&&(_0x2cde6b[_0xbdcdc8(0x253)](),this[_0xbdcdc8(0x22e)]=!0x1),!this[_0xbdcdc8(0x287)]())return!0x0;const _0x177ea3=[...this[_0xbdcdc8(0x2a9)]];for(const _0x5ab697 of _0x177ea3)_0x5ab697[_0xbdcdc8(0x296)]=this[_0xbdcdc8(0x2ec)][_0xbdcdc8(0x256)][_0xbdcdc8(0x2d1)](_0x5ab697);const _0x2d6725=this[_0xbdcdc8(0x249)][_0xbdcdc8(0x2a2)](_0x177ea3),_0x2f767a=F++,_0x2cfaae=this[_0xbdcdc8(0x27a)](_0x177ea3),_0x53624e=await this[_0xbdcdc8(0x2a8)][_0xbdcdc8(0x2af)](_0x2cfaae,_0x2cfaae[_0xbdcdc8(0x222)],_0x2d6725);try{return await this[_0xbdcdc8(0x267)](_0x177ea3,_0x53624e,_0x2f767a);}catch(_0x4573c2){return this[_0xbdcdc8(0x257)](_0xbdcdc8(0x2e7),_0x4573c2);}}async[_0x3836e8(0x267)](_0x205b74,_0x1ba4d0,_0x5cc235){const _0x24e16a=_0x3836e8;if(_0x24e16a(0x21a)in _0x1ba4d0)throw _0x1ba4d0[_0x24e16a(0x21a)];let _0x3dd7f9=!0x1;if(_0x1ba4d0[_0x24e16a(0x281)]){_0x1ba4d0[_0x24e16a(0x2a3)]&&(this[_0x24e16a(0x239)]=_0x1ba4d0[_0x24e16a(0x2a3)]),this[_0x24e16a(0x2a9)]=this[_0x24e16a(0x2a9)][_0x24e16a(0x227)](_0x1d134b=>!_0x205b74[_0x24e16a(0x2ce)](_0x1d134b));for(const _0x3cf743 of _0x205b74)_0x3cf743[_0x24e16a(0x229)]=_0x24e16a(0x244)in _0x1ba4d0&&_0x1ba4d0[_0x24e16a(0x244)]||void 0x0;G(_0x205b74,_0x1ba4d0[_0x24e16a(0x1f8)]-_0x205b74[_0x24e16a(0x2d7)]),this[_0x24e16a(0x26d)](_0x205b74);const _0x3266e7=_0x205b74[_0x24e16a(0x227)](_0x5ee524=>{const _0x5c9ab3=_0x24e16a;if(!_0x5ee524[_0x5c9ab3(0x2d2)])return!0x1;const _0x5d2d46=this[_0x5c9ab3(0x28f)](_0x5ee524);return _0x5d2d46&&!this[_0x5c9ab3(0x28c)][_0x5c9ab3(0x1fe)](_0x5d2d46);});G(_0x3266e7,this[_0x24e16a(0x2ec)][_0x24e16a(0x1f8)]),this[_0x24e16a(0x275)](_0x3266e7),_0x3dd7f9=!0x0,this[_0x24e16a(0x278)]=this[_0x24e16a(0x211)];}else{const _0x11fe7c=this[_0x24e16a(0x2c0)](_0x1ba4d0[_0x24e16a(0x280)],_0x1ba4d0[_0x24e16a(0x2a4)])[_0x24e16a(0x227)](_0x30dafa=>_0x30dafa[_0x24e16a(0x222)]>=this[_0x24e16a(0x209)]);_0x11fe7c[_0x24e16a(0x238)](_0x5c097d=>this[_0x24e16a(0x2bb)](_0x5c097d)),this[_0x24e16a(0x2a9)]=this[_0x24e16a(0x2a9)][_0x24e16a(0x227)](_0x5dde54=>!_0x5dde54[_0x24e16a(0x2d2)]||!this[_0x24e16a(0x28c)][_0x24e16a(0x1fe)](this[_0x24e16a(0x28f)](_0x5dde54))),this[_0x24e16a(0x2a9)][_0x24e16a(0x2d7)]&&G(this[_0x24e16a(0x2a9)],this[_0x24e16a(0x2a9)][0x0][_0x24e16a(0x222)]),await this[_0x24e16a(0x207)](_0x11fe7c),_0x3dd7f9=this[_0x24e16a(0x2e9)](_0x11fe7c,_0x1ba4d0[_0x24e16a(0x1f8)],_0x1ba4d0[_0x24e16a(0x2a3)]),this[_0x24e16a(0x278)]=Math[_0x24e16a(0x2db)](this[_0x24e16a(0x278)]/0x2);}return _0x3dd7f9?!this[_0x24e16a(0x287)]()||(this[_0x24e16a(0x24f)](!0x0),!0x1):this[_0x24e16a(0x257)](_0x24e16a(0x27e));}[_0x3836e8(0x2e9)](_0x46b4c5,_0x53f06d,_0x2cf260){const _0x23ab5f=_0x3836e8;try{const _0x27f32a={'document':this[_0x23ab5f(0x2ec)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x25a15d,operationsB:_0x583277,originalOperations:_0x2d4917}=_0x4b6ef6(_0x46b4c5,this[_0x23ab5f(0x2a9)],_0x27f32a);G(_0x25a15d,this[_0x23ab5f(0x2ec)][_0x23ab5f(0x1f8)]),G(_0x583277,_0x53f06d);for(const _0x3e940a of _0x25a15d){const _0x1d9583=_0x2d4917[_0x23ab5f(0x288)](_0x3e940a);_0x3e940a[_0x23ab5f(0x29f)]=_0x1d9583?_0x1d9583[_0x23ab5f(0x29f)]:null;}_0x2cf260&&(this[_0x23ab5f(0x249)][_0x23ab5f(0x245)](_0x46b4c5,_0x2cf260),this[_0x23ab5f(0x239)]=_0x2cf260),this[_0x23ab5f(0x2a9)]=[..._0x583277],this[_0x23ab5f(0x275)](_0x25a15d),this[_0x23ab5f(0x26d)](_0x46b4c5);}catch(_0x2dddab){return console[_0x23ab5f(0x21a)](_0x2dddab),!0x1;}return!0x0;}[_0x3836e8(0x275)](_0x34ffd2,_0x553e87=!0x1){const _0x446552=_0x3836e8;this[_0x446552(0x2ca)][_0x446552(0x2b3)][_0x446552(0x251)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5e1040=>{const _0x46b146=_0x446552;for(const _0x36b894 of _0x34ffd2)this[_0x46b146(0x250)][_0x46b146(0x2dd)](_0x36b894),this[_0x46b146(0x2bb)](_0x36b894),_0x5e1040[_0x46b146(0x2d0)][_0x46b146(0x1f9)](_0x36b894),this[_0x46b146(0x2ca)][_0x46b146(0x2b3)][_0x46b146(0x1f3)](_0x36b894);});}[_0x3836e8(0x2bb)](_0xfdb5a7){const _0x4d99eb=_0x3836e8,_0x523a9a=this[_0x4d99eb(0x28f)](_0xfdb5a7);_0x523a9a&&this[_0x4d99eb(0x28c)][_0x4d99eb(0x2dd)](_0x523a9a);}[_0x3836e8(0x28f)](_0x28f84a){const _0x2223b5=_0x3836e8;let _0x2f885e,_0x1f79c7;switch(_0x28f84a[_0x2223b5(0x25b)]){case _0x2223b5(0x218):_0x2f885e=_0x28f84a[_0x2223b5(0x2df)][_0x2223b5(0x1f2)];break;case _0x2223b5(0x206):if(_0x1f79c7=_0x28f84a[_0x2223b5(0x273)],!_0x1f79c7)return null;_0x2f885e=_0x1f79c7[_0x2223b5(0x1f2)];break;case _0x2223b5(0x2bc):_0x2f885e=_0x28f84a[_0x2223b5(0x1f2)];break;case _0x2223b5(0x2ed):_0x2f885e=_0x28f84a[_0x2223b5(0x25f)];break;case _0x2223b5(0x1f1):_0x2f885e=_0x28f84a[_0x2223b5(0x1f5)][_0x2223b5(0x1f2)];break;default:return null;}return _0x2f885e[_0x2223b5(0x217)];}[_0x3836e8(0x26d)](_0x441fe3){const _0x1b6752=_0x3836e8;_0x441fe3[_0x1b6752(0x238)](_0xaf4420=>{const _0x4dd61a=_0x1b6752,_0x36c04a=_0xaf4420[_0x4dd61a(0x2ab)]();_0x36c04a[_0x4dd61a(0x29f)]=_0xaf4420[_0x4dd61a(0x29f)],_0x36c04a[_0x4dd61a(0x2d2)]=!!_0xaf4420[_0x4dd61a(0x2d2)],_0x36c04a[_0x4dd61a(0x229)]=_0xaf4420[_0x4dd61a(0x229)],_0x36c04a[_0x4dd61a(0x222)]+=this[_0x4dd61a(0x23a)],_0xaf4420[_0x4dd61a(0x27f)]&&this[_0x4dd61a(0x237)][_0x4dd61a(0x2dd)](_0x36c04a),this[_0x4dd61a(0x2cc)][_0x4dd61a(0x1f9)](_0x36c04a);});}[_0x3836e8(0x272)](_0x4559db){const _0x4df5d5=_0x3836e8,_0x18873e=this[_0x4df5d5(0x2ca)][_0x4df5d5(0x29b)][_0x4df5d5(0x288)](_0x4df5d5(0x262)),_0x5ed2f3=this[_0x4df5d5(0x2ca)][_0x4df5d5(0x226)];_0x4559db||(_0x4559db=_0x4e6e58(_0x5ed2f3,_0x4df5d5(0x2cf))),_0x18873e[_0x4df5d5(0x282)](_0x4559db,{'title':_0x4e6e58(_0x5ed2f3,_0x4df5d5(0x259)),'namespace':_0x4df5d5(0x2f2)}),this[_0x4df5d5(0x2ae)]=!0x0,clearTimeout(this[_0x4df5d5(0x2f0)]),this[_0x4df5d5(0x2a9)]=[],this[_0x4df5d5(0x2ca)][_0x4df5d5(0x29b)][_0x4df5d5(0x288)](_0x1d7677)[_0x4df5d5(0x24d)]();}[_0x3836e8(0x28a)](){const _0x4b8843=_0x3836e8;this[_0x4b8843(0x26f)]||(this[_0x4b8843(0x26f)]=this[_0x4b8843(0x2ca)][_0x4b8843(0x29b)][_0x4b8843(0x288)](_0x2c0db0)[_0x4b8843(0x2dd)](_0x4e6e58(this[_0x4b8843(0x2ca)][_0x4b8843(0x226)],_0x4b8843(0x2c1))));}[_0x3836e8(0x2d3)](){const _0x5a3769=_0x3836e8;this[_0x5a3769(0x26f)]&&(this[_0x5a3769(0x2ca)][_0x5a3769(0x29b)][_0x5a3769(0x288)](_0x2c0db0)[_0x5a3769(0x24c)](this[_0x5a3769(0x26f)]),this[_0x5a3769(0x26f)]=null);}[_0x3836e8(0x27a)](_0x240f99){const _0x4cdb4f=_0x3836e8,_0xc57f89=_0x240f99[_0x4cdb4f(0x1fc)](_0x4807f5=>_0x4807f5[_0x4cdb4f(0x231)]());return this[_0x4cdb4f(0x2e0)][_0x4cdb4f(0x2c3)](_0xc57f89);}[_0x3836e8(0x2c0)](_0x2bccd7,_0x362176){const _0x430ae9=_0x3836e8;return this[_0x430ae9(0x2e0)][_0x430ae9(0x2c4)](_0x2bccd7)[_0x430ae9(0x1fc)]((_0x3425ad,_0x4637c2)=>{const _0x3309b0=_0x430ae9,_0x3475a2=_0x3309b0(0x248)==_0x362176[_0x4637c2][_0x3309b0(0x25b)];if(_0x3309b0(0x21e)==_0x3425ad[_0x3309b0(0x219)]){const _0x4a6808=_0x3425ad[_0x3309b0(0x2df)][_0x3309b0(0x1f2)];!this[_0x3309b0(0x2ec)][_0x3309b0(0x215)](_0x4a6808)&&(this[_0x3309b0(0x2ec)][_0x3309b0(0x213)](_0x3309b0(0x20b),_0x4a6808)[_0x3309b0(0x242)]=!0x1);}const _0x492914=_0x21590b[_0x3309b0(0x291)](_0x3425ad,this[_0x3309b0(0x2ec)]);return _0x492914[_0x3309b0(0x296)]=_0x3425ad[_0x3309b0(0x296)],_0x492914[_0x3309b0(0x2d2)]=_0x3475a2,_0x492914[_0x3309b0(0x29f)]=_0x3475a2?null:_0x362176[_0x4637c2][_0x3309b0(0x27d)],_0x492914[_0x3309b0(0x27f)]=_0x3309b0(0x25d)===_0x362176[_0x4637c2][_0x3309b0(0x25b)],_0x492914[_0x3309b0(0x229)]=_0x362176[_0x4637c2][_0x3309b0(0x229)],_0x492914;});}[_0x3836e8(0x214)](){const _0x2ff4d2=_0x3836e8;this[_0x2ff4d2(0x22e)]=!0x0,this[_0x2ff4d2(0x2c2)]()?this[_0x2ff4d2(0x24f)]():this[_0x2ff4d2(0x22e)]=!0x1;}[_0x3836e8(0x2c2)](){const _0x1246ef=_0x3836e8,_0x159463=this[_0x1246ef(0x2ca)][_0x1246ef(0x29b)][_0x1246ef(0x288)](_0x2dc5aa)[_0x1246ef(0x24a)][_0x1246ef(0x288)](this[_0x1246ef(0x292)]);return!this[_0x1246ef(0x2ca)][_0x1246ef(0x255)]&&!!_0x159463&&_0x159463[_0x1246ef(0x2d7)]>0x1&&this[_0x1246ef(0x22e)];}[_0x3836e8(0x287)](){const _0x1169de=_0x3836e8;return this[_0x1169de(0x2a9)][_0x1169de(0x2d7)]>0x0||this[_0x1169de(0x2c2)]();}}export default l;class q extends Error{}function G(_0x5a1472,_0x40c3f2){const _0x2684e3=_0x3836e8;for(const _0x6f4fe1 of _0x5a1472)_0x6f4fe1[_0x2684e3(0x222)]=_0x40c3f2++;}function _0x4db2(){const _0xc01e77=['parse','getOperationAuthor','6XXokmw','baseVersion','_saveOperationInBuffer','2hDZiKv','initData','locale','filter','differ','createdAt','229265ulSJoS','affectsData','requires','selection','_hasSelectionChanged','entries','_connectAfterSessionHasBeenFlushed','toJSON','fire','document:write','reset','_getOperationsFromInitData','disableReadOnlyMode','_disconnectionOperations','forEach','_lastSyncedOperationId','_offset','from','change:range','path','cloud-services-internal-error:\x20Request\x20timeout.','set','lastDocumentSession','_isEditingAllowed','_isAttached','apply','lastOperationAcceptedAt','setIdForTheLastOperation','sessionAdd:','getConnectedSessions','init','_operationIdentifier','channelSessions','realtimecollaborationclient-init-session-connection-error','remove','disconnect','_connectService','_sendBufferedOperationsDelayed','_knownOperations','enqueueChange','connection','createUserMarkerOperations','_handleInitialConnectionData','isReadOnly','history','_crash','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','Synchronization\x20issue','operationsReceived','type','_bufferRootLoad','cs:removeUser','_disconnectService','affectedSelectable','unregister','cloud-services-internal-error:\x20Not\x20connected.','Notification','collaboration','enableReadOnlyMode','register','permissions','_handleServerResponse','436932JEndjY','createPositionAt','409','getOperations','getDocumentDetails','_updateServerHistory','high','_pendingAction','2134490yxfZoX','14wGNdZI','_handleReconnectionError','newRange','attributes','_applyOperationsSet','offset','finally','_currentBufferDelay','_isLoaded','_compressOperations','isPremiumPlugin','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.','userId','realtimecollaborationclient-handleserverresponse','_isDisconnection','data','wereChangesApplied','showWarning','realtimecollaborationclient-init-service-incorrect-server-operation','suppressErrorInCollaboration','cloudDocumentVersion','bind','_shouldSendUpdate','get','state','_setPendingAction','end','_knownRootNames','realtimecollaborationclient','setPermissions','_getAffectedRoot','multi-root-editor-root-attributes-no-root','fromJSON','_channelId','CollaborativeEditingService','disconnected','slice','wasUndone','_handleReconnectionResponse','sessionCreatedAt','start','ready','plugins','CommentsOnly','editing','addUser','_authorId','stop','1494648ftzpqK','getIdOfTheLastOperation','lastOperationId','metadata','connected','addToReconnectionStack','isEnabled','_service','_bufferedOperations','_sendBufferedOperations','clone','rtc-destroyed','keys','_hasSynchronizationProblem','sendOperations','code','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','732429kVTDvD','model','document','_ignoredOperations','message','catch','realtimecollaborationclient-init-document-already-initialized','realtimecollaborationclient-init-non-existent-root','view','_addKnownRoot','addRootAttribute','404','createRange','off','_decompressOperations','PENDING_ACTION_SENDING_DATA','_shouldSendSelectionUpdate','compress','decompress','string','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','startsWith','realtimecollaborationclient-error','loadRoot','editor','_waitUntilSynced','serverHistory','collaboration-missing-channelid','includes','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.','batch','isUndoneOperation','_isInit','_clearPendingAction','reconnect','directChange','change:_isPendingUpdate','length','_handleReceivedOperations','_setUpDataInit','_loadRoot','round','30Jldizs','add','_handleSendingSelectionMarkers','position','_compressor','stopListening','createPositionFromPath','connect','destroy','sessionId','_isConnected','realtimecollaborationclient-sendbufferedoperations','Permissions','_handleExternalOperations','config','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_document','addRoot','getMany','lastSyncVersion','_sendBufferedOperationsDelayId','getUser','real-time-collaboration','return','size','795978DtQChs','_initSessionsHandling','define','move','root','applyOperation','isOfficialPlugin','targetPosition','reconnection:\x20flushed\x20session','currentDocumentSession','version','addOperation','markers','_isPendingUpdate','map','_initThrowingOnDataSet','has','listenTo','rootsAttributes','_operationToId','RealTimeCollaborationClient','change:_isEditingAllowed','5318852JwRNmm','realtimecollaborationclient-init-service-internal-error','marker','_fetchMissingUsers','then','_lastServerVersion','mySessionId','$root','push','removeFromReconnectionStack','isDocumentOperation','roots','collaboration.channelId','_baseBufferDelay','rtc-offline','createRoot','_refreshUserSelectionMarkers','getRoot','pluginName','rootName','insert','__className','error','realtimecollaborationclient-init-connection-failed','cloudServices.bundleVersion','change:hasDomSelection','InsertOperation'];_0x4db2=function(){return _0xc01e77;};return _0x4db2();}class ${[_0x3836e8(0x2b5)];[_0x3836e8(0x201)];constructor(_0x3a0431){const _0x3e7b22=_0x3836e8;this[_0x3e7b22(0x2b5)]=_0x3a0431,this[_0x3e7b22(0x201)]=new WeakMap();}[_0x3836e8(0x2a2)](_0xe2508a){const _0x3acd2a=_0x3836e8;let _0xdc4364=_0xe2508a[_0x3acd2a(0x2d7)];for(;_0xdc4364--;){const _0xfafaad=_0xe2508a[_0xdc4364];if(!this[_0x3acd2a(0x2b5)][_0x3acd2a(0x1fe)](_0xfafaad)){if(!this[_0x3acd2a(0x201)][_0x3acd2a(0x1fe)](_0xfafaad)){const _0x206a81=_0xe7ab06()[_0x3acd2a(0x295)](0x1,0x12);this[_0x3acd2a(0x201)][_0x3acd2a(0x23f)](_0xfafaad,_0x206a81);}return this[_0x3acd2a(0x201)][_0x3acd2a(0x288)](_0xfafaad);}}}[_0x3836e8(0x245)](_0x53891e,_0x1ebe1b){const _0x55439a=_0x3836e8;if(!_0x1ebe1b)return;let _0xa1c75a=_0x53891e[_0x55439a(0x2d7)];for(;_0xa1c75a--;){const _0x3286d4=_0x53891e[_0xa1c75a];this[_0x55439a(0x2b5)][_0x55439a(0x1fe)](_0x3286d4)||this[_0x55439a(0x201)][_0x55439a(0x23f)](_0x3286d4,_0x1ebe1b);}}}
23
+ const _0x3cc1d2=_0x29b6;(function(_0x5338f1,_0x1c5721){const _0xdd60b2=_0x29b6,_0x327990=_0x5338f1();while(!![]){try{const _0x1c0adb=parseInt(_0xdd60b2(0xc2))/0x1*(parseInt(_0xdd60b2(0x172))/0x2)+-parseInt(_0xdd60b2(0x183))/0x3*(parseInt(_0xdd60b2(0x175))/0x4)+-parseInt(_0xdd60b2(0xab))/0x5*(-parseInt(_0xdd60b2(0xa6))/0x6)+parseInt(_0xdd60b2(0x98))/0x7*(parseInt(_0xdd60b2(0x169))/0x8)+-parseInt(_0xdd60b2(0x148))/0x9*(-parseInt(_0xdd60b2(0xb8))/0xa)+parseInt(_0xdd60b2(0xe0))/0xb*(-parseInt(_0xdd60b2(0x184))/0xc)+-parseInt(_0xdd60b2(0x141))/0xd;if(_0x1c0adb===_0x1c5721)break;else _0x327990['push'](_0x327990['shift']());}catch(_0x3e60b8){_0x327990['push'](_0x327990['shift']());}}}(_0x1a51,0x8346a));function _0x1a51(){const _0x591507=['_isInit','lastDocumentSession','_bufferedOperations','forEach','collaboration','145423ClAUuS','differ','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_isDisconnection','affectsData','removeFromReconnectionStack','document','move','enableReadOnlyMode','getDocumentDetails','_service','realtimecollaborationclient-error','getMany','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','serverHistory','getOperations','end','applyOperation','_disconnectionOperations','Synchronization\x20issue','_crash','_sendBufferedOperations','realtimecollaborationclient-sendbufferedoperations','_shouldSendUpdate','entries','unregister','isUndoneOperation','_updateServerHistory','_saveOperationInBuffer','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','716551hKjZOf','createRange','_initSessionsHandling','_initThrowingOnDataSet','connect','rootsAttributes','_authorId','_operationToId','size','isPremiumPlugin','createUserMarkerOperations','InsertOperation','sessionId','high','multi-root-editor-root-attributes-no-root','isDocumentOperation','change:range','cloudDocumentVersion','lastOperationId','loadRoot','realtimecollaborationclient','real-time-collaboration','batch','plugins','_handleSendingSelectionMarkers','sessionCreatedAt','_knownRootNames','disconnected','finally','_document','_shouldSendSelectionUpdate','_hasSelectionChanged','marker','setIdForTheLastOperation','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.','rtc-destroyed','getRoot','operationsReceived','off','isReadOnly','collaboration.channelId','return','_isLoaded','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','push','_bufferRootLoad','version','CommentsOnly','permissions','round','_sendBufferedOperationsDelayId','slice','addOperation','destroy','model','parse','_currentBufferDelay','getOperationAuthor','_addKnownRoot','attributes','_lastSyncedOperationId','_setPendingAction','keys','wasUndone','_operationIdentifier','addUser','init','map','change:_isEditingAllowed','then','_ignoredOperations','createdAt','channelSessions','from','has','string','data','isEnabled','change:hasDomSelection','showWarning','state','_applyOperationsSet','_lastServerVersion','clone','_handleReconnectionResponse','position','editor','connection','_loadRoot','realtimecollaborationclient-init-document-already-initialized','_getOperationsFromInitData','stopListening','roots','set','Notification','add','CollaborativeEditingService','8949642qFBRml','toJSON','_isEditingAllowed','error','editing','fire','suppressErrorInCollaboration','3196971wbiqdy','realtimecollaborationclient-init-session-connection-error','code','_connectService','sendOperations','history','fromJSON','_decompressOperations','rootName','document:write','lastSyncVersion','__className','realtimecollaborationclient-init-service-internal-error','_handleReconnectionError','_fetchMissingUsers','lastOperationAcceptedAt','_isConnected','markers','selection','_refreshUserSelectionMarkers','config','register','catch','get','_handleExternalOperations','Permissions','_handleReceivedOperations','isOfficialPlugin','realtimecollaborationclient-init-service-incorrect-server-operation','mySessionId','_connectAfterSessionHasBeenFlushed','_knownOperations','sessionAdd:','30696JOogrO','rtc-offline','setPermissions','targetPosition','listenTo','path','affectedSelectable','cloudServices.bundleVersion','_offset','6etrJNU','_disconnectService','reconnect','356YJQHwL','start','locale','addRootAttribute','apply','baseVersion','_handleServerResponse','offset','PENDING_ACTION_SENDING_DATA','view','compress','_isPendingUpdate','realtimecollaborationclient-init-connection-failed','currentDocumentSession','13569jSOPwD','192YvMunN','insert','addRoot','_setUpDataInit','_compressor','reset','bind','_waitUntilSynced','filter','createPositionAt','startsWith','_isAttached','change:_isPendingUpdate','directChange','addToReconnectionStack','_hasSynchronizationProblem','includes','type','_sendBufferedOperationsDelayed','userId','enqueueChange','createRoot','ready','_baseBufferDelay','409','length','disableReadOnlyMode','createPositionFromPath','message','1470gHBQmt','_handleInitialConnectionData','pluginName','_getAffectedRoot','$root','root','newRange','realtimecollaborationclient-handleserverresponse','_channelId','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.','getUser','metadata','_clearPendingAction','_compressOperations','18cQVRjz','RealTimeCollaborationClient','connected','getIdOfTheLastOperation','wereChangesApplied','1789475ORgQIG','cloud-services-internal-error:\x20Request\x20timeout.','stop','remove','collaboration-missing-channelid','define','getConnectedSessions','cs:removeUser','initData','cloud-services-internal-error:\x20Not\x20connected.','decompress','reconnection:\x20flushed\x20session','404','10YrCSWB','disconnect','requires','realtimecollaborationclient-init-non-existent-root','_pendingAction'];_0x1a51=function(){return _0x591507;};return _0x1a51();}import{Plugin as _0x99f2f0,PendingActions as _0x174f4c}from'ckeditor5/src/core.js';function _0x29b6(_0x2ef8fb,_0x35a231){const _0x1a514c=_0x1a51();return _0x29b6=function(_0x29b6b2,_0x5bd394){_0x29b6b2=_0x29b6b2-0x87;let _0x594237=_0x1a514c[_0x29b6b2];return _0x594237;},_0x29b6(_0x2ef8fb,_0x35a231);}import{CKEditorError as _0x302b2d,version as _0x455929,uid as _0x525a66}from'ckeditor5/src/utils.js';import{Notification as _0x187e56}from'ckeditor5/src/ui.js';import{transformSets as _0x138b81,NoOperation as _0x4d54f6,InsertOperation as _0x4a3a65,MarkerOperation as _0x2467b5,RootAttributeOperation as _0x1ac4ef,OperationFactory as _0x33f2aa,History as _0xe8165b}from'ckeditor5/src/engine.js';import _0x42f097 from'./websocketgateway.js';import _0x280a30 from'./sessions.js';import _0x4887e4 from'./usermarkers.js';import{getTranslation as _0xc6776a}from'../common-translations.js';import{Compressor as _0x18a7c9}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x644a79}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x5a8b6a,CollaborativeEditingService as _0x4c7d6f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let J=0x1;class l extends _0x99f2f0{static [_0x3cc1d2(0x140)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x4c7d6f)());[_0x3cc1d2(0x171)];[_0x3cc1d2(0xec)];[_0x3cc1d2(0xd0)];[_0x3cc1d2(0xa0)];[_0x3cc1d2(0xcc)];[_0x3cc1d2(0xfd)];[_0x3cc1d2(0x188)];[_0x3cc1d2(0xbf)];[_0x3cc1d2(0x167)];[_0x3cc1d2(0xfa)];[_0x3cc1d2(0xbc)];[_0x3cc1d2(0xff)];[_0x3cc1d2(0x112)];[_0x3cc1d2(0x92)];[_0x3cc1d2(0x118)];[_0x3cc1d2(0x11c)];[_0x3cc1d2(0xd4)];[_0x3cc1d2(0x120)];static get[_0x3cc1d2(0xba)](){return[_0x42f097,_0x280a30,_0x4887e4,_0x174f4c,_0x644a79,_0x187e56];}static get[_0x3cc1d2(0x9a)](){const _0x35d82d=_0x3cc1d2;return _0x35d82d(0xa7);}static get[_0x3cc1d2(0x163)](){return!0x0;}static get[_0x3cc1d2(0xe9)](){return!0x0;}get[_0x3cc1d2(0xf1)](){const _0x51be22=_0x3cc1d2;return this[_0x51be22(0x132)]+this[_0x51be22(0x171)];}get[_0x3cc1d2(0x132)](){const _0x5c8ce9=_0x3cc1d2;return this[_0x5c8ce9(0xd0)][_0x5c8ce9(0x10e)]-this[_0x5c8ce9(0x171)];}get[_0x3cc1d2(0x152)](){const _0x3bd99c=_0x3cc1d2,_0x1cd032=this[_0x3bd99c(0xd0)][_0x3bd99c(0xd1)]();for(let _0x5e64a5=_0x1cd032[_0x3bd99c(0x94)]-0x1;_0x5e64a5>=0x0;_0x5e64a5--){const _0x1c07f9=_0x1cd032[_0x5e64a5];if(!this[_0x3bd99c(0xd4)][_0x3bd99c(0x12a)](_0x1c07f9))return _0x1c07f9[_0x3bd99c(0x17a)]+0x1-this[_0x3bd99c(0x171)];}return 0x0;}constructor(_0x5b1b00){const _0x555b00=_0x3cc1d2;if(super(_0x5b1b00),this[_0x555b00(0x171)]=0x0,this[_0x555b00(0xec)]=null,this[_0x555b00(0xd0)]=new _0xe8165b(),this[_0x555b00(0x136)][_0x555b00(0x15c)][_0x555b00(0xb0)](_0x555b00(0xc1),{}),this[_0x555b00(0xa0)]=this[_0x555b00(0x136)][_0x555b00(0x15c)][_0x555b00(0x15f)](_0x555b00(0x108)),!this[_0x555b00(0xa0)])throw new _0x302b2d(_0x555b00(0xaf),this);const _0x3aabe9=_0x5b1b00[_0x555b00(0x15c)][_0x555b00(0x15f)](_0x555b00(0x170))||_0x455929;this[_0x555b00(0xcc)]=new l[(_0x555b00(0x140))](_0x3aabe9,this[_0x555b00(0xa0)]),this[_0x555b00(0xfd)]=this[_0x555b00(0x136)][_0x555b00(0x116)][_0x555b00(0xc8)],this[_0x555b00(0x188)]=new _0x18a7c9(),this[_0x555b00(0xbf)]=[],this[_0x555b00(0x167)]=new WeakSet(),this[_0x555b00(0xfa)]=new Set(),this[_0x555b00(0x13d)](_0x555b00(0x180),!0x1),this[_0x555b00(0x13d)](_0x555b00(0x8a),!0x1),this[_0x555b00(0xbc)]=null,this[_0x555b00(0xff)]=!0x1,this[_0x555b00(0x112)]=null,this[_0x555b00(0x92)]=0x12c,this[_0x555b00(0x118)]=this[_0x555b00(0x92)],this[_0x555b00(0x11c)]=null,this[_0x555b00(0xd4)]=new WeakSet(),this[_0x555b00(0x120)]=new Y(this[_0x555b00(0xd4)]);}[_0x3cc1d2(0x122)](){const _0x2a8bae=_0x3cc1d2,_0x5d39df=this[_0x2a8bae(0x136)],_0x59384c=_0x5d39df[_0x2a8bae(0xf7)][_0x2a8bae(0x15f)](_0x644a79),_0x27e335=_0x5d39df[_0x2a8bae(0xf7)][_0x2a8bae(0x15f)](_0x42f097);this[_0x2a8bae(0x16d)](_0x59384c,_0x2a8bae(0x119),(_0x24fd7c,_0x1cd20a)=>{const _0x1faffa=_0x2a8bae,_0x29d196=_0x1cd20a[0x0];_0x29d196[_0x1faffa(0xe6)]&&(_0x24fd7c[_0x1faffa(0x109)]=_0x59384c[_0x1faffa(0xa2)](_0x29d196[_0x1faffa(0xe6)]),_0x24fd7c[_0x1faffa(0xad)]()),null===_0x29d196[_0x1faffa(0xe6)]&&(_0x24fd7c[_0x1faffa(0x109)]=null,_0x24fd7c[_0x1faffa(0xad)]());},{'priority':_0x2a8bae(0xed)}),this[_0x2a8bae(0x16d)](_0x5d39df[_0x2a8bae(0x116)][_0x2a8bae(0xc8)][_0x2a8bae(0x15a)],_0x2a8bae(0xf0),(_0x3248de,_0xedd5db)=>{const _0x1a043b=_0x2a8bae;_0xedd5db[_0x1a043b(0x88)]&&this[_0x1a043b(0x15b)]();}),this[_0x2a8bae(0x16d)](_0x5d39df[_0x2a8bae(0x145)][_0x2a8bae(0x17e)],_0x2a8bae(0x12e),()=>{const _0x43fbb3=_0x2a8bae;this[_0x43fbb3(0x15b)]();}),this[_0x2a8bae(0xe3)](),_0x5d39df[_0x2a8bae(0x116)]['on'](_0x2a8bae(0xd3),(_0x2507b4,_0x1d529f)=>{const _0x34cf1c=_0x2a8bae,_0x24a731=_0x1d529f[0x0];_0x24a731[_0x34cf1c(0xef)]&&(this[_0x34cf1c(0xde)](_0x24a731),this[_0x34cf1c(0xd9)]()&&this[_0x34cf1c(0x8d)]());}),this[_0x2a8bae(0x187)](),this[_0x2a8bae(0x18a)](_0x2a8bae(0x143))['to'](_0x27e335,_0x2a8bae(0x130),this,_0x2a8bae(0x8a),(_0x39857d,_0x41907a)=>_0x2a8bae(0xa8)===_0x39857d&&!_0x41907a),this['on'](_0x2a8bae(0x124),()=>{const _0x4c8d2c=_0x2a8bae;this[_0x4c8d2c(0x143)]?_0x5d39df[_0x4c8d2c(0x95)](_0x4c8d2c(0x16a)):_0x5d39df[_0x4c8d2c(0xca)](_0x4c8d2c(0x16a));}),this[_0x2a8bae(0x143)]?_0x5d39df[_0x2a8bae(0x95)](_0x2a8bae(0x16a)):_0x5d39df[_0x2a8bae(0xca)](_0x2a8bae(0x16a)),this[_0x2a8bae(0x13d)](_0x2a8bae(0x158),!0x1);}async[_0x3cc1d2(0x174)](){const _0x2cad3c=_0x3cc1d2,_0x428633=this[_0x2cad3c(0x136)][_0x2cad3c(0xf7)][_0x2cad3c(0x15f)](_0x280a30),_0x32fe9e=this[_0x2cad3c(0x136)][_0x2cad3c(0xf7)][_0x2cad3c(0x15f)](_0x42f097);try{this[_0x2cad3c(0x180)]=!0x0,_0x428633[_0x2cad3c(0xdb)](this[_0x2cad3c(0xa0)]);const _0x133a63=await this[_0x2cad3c(0xcc)][_0x2cad3c(0x174)](_0x32fe9e[_0x2cad3c(0x137)],this[_0x2cad3c(0x152)]);await this[_0x2cad3c(0x134)](_0x133a63)&&(this[_0x2cad3c(0x180)]=!0x1,this[_0x2cad3c(0xa4)]());const _0x41faca=await this[_0x2cad3c(0xcc)][_0x2cad3c(0xb1)]();_0x428633[_0x2cad3c(0x15d)](this[_0x2cad3c(0xa0)],_0x41faca),this[_0x2cad3c(0xf8)](),this[_0x2cad3c(0x158)]=!0x0;}catch(_0x46a1b6){if(function(_0x59ef8a){const _0xaa1969=_0x2cad3c;return _0xaa1969(0xb7)===_0x59ef8a[_0xaa1969(0x14a)];}(_0x46a1b6)&&this[_0x2cad3c(0xec)])await this[_0x2cad3c(0x166)]();else{if(function(_0x307ba9){const _0x428386=_0x2cad3c;return _0x428386(0x93)===_0x307ba9[_0x428386(0x14a)];}(_0x46a1b6)){const _0x266740=_0xc6776a(this[_0x2cad3c(0x136)][_0x2cad3c(0x177)],_0x2cad3c(0xdf));this[_0x2cad3c(0x155)](_0x266740);}else{if(!(_0x46a1b6 instanceof Q))throw _0x46a1b6;this[_0x2cad3c(0x155)]();}}}}[_0x3cc1d2(0x115)](){const _0x4aa891=_0x3cc1d2,_0x1fb91e=this[_0x4aa891(0x136)][_0x4aa891(0xf7)][_0x4aa891(0x15f)](_0x42f097),_0x1d4bb6=this[_0x4aa891(0x136)][_0x4aa891(0xf7)][_0x4aa891(0x15f)](_0x280a30);this[_0x4aa891(0x136)][_0x4aa891(0xca)](_0x4aa891(0x103)),_0x1d4bb6[_0x4aa891(0x128)][_0x4aa891(0x12a)](this[_0x4aa891(0xa0)])&&_0x1d4bb6[_0x4aa891(0xdb)](this[_0x4aa891(0xa0)]),_0x1fb91e[_0x4aa891(0xc7)](this),this[_0x4aa891(0x173)](),super[_0x4aa891(0x115)]();}async[_0x3cc1d2(0x134)](_0x5aca46){const _0x55fd19=_0x3cc1d2;if(this[_0x55fd19(0xec)]!==_0x5aca46[_0x55fd19(0xec)]&&this[_0x55fd19(0x11c)]!==_0x5aca46[_0x55fd19(0xf2)])throw new Q();return this[_0x55fd19(0xec)]=_0x5aca46[_0x55fd19(0xec)],this[_0x55fd19(0x17b)]([],{..._0x5aca46,'wereChangesApplied':!0x1,'data':_0x5aca46[_0x55fd19(0x12c)]},_0x55fd19(0x174));}async[_0x3cc1d2(0x14b)](_0xa8ca99,_0x5153f2=!0x1){const _0x30c780=_0x3cc1d2,{connection:_0x1f2c45}=this[_0x30c780(0x136)][_0x30c780(0xf7)][_0x30c780(0x15f)](_0x42f097);l[_0x30c780(0x140)][_0x30c780(0xb1)](_0x1f2c45,this[_0x30c780(0xa0)])[_0x30c780(0x125)](_0x35652e=>this[_0x30c780(0xe2)](_0x35652e))[_0x30c780(0x15e)](_0x45dc0c=>{const _0x23da24=_0x30c780;this[_0x23da24(0xd6)](_0x23da24(0x149),_0x45dc0c);}),this[_0x30c780(0x16d)](this[_0x30c780(0xcc)],_0x30c780(0x105),this[_0x30c780(0x162)][_0x30c780(0x18a)](this)),this[_0x30c780(0x16d)](this[_0x30c780(0xcc)],_0x30c780(0x144),(_0x335ea5,_0x31c7da)=>{const _0x55398a=_0x30c780;this[_0x55398a(0xd6)](_0x55398a(0x154),_0x31c7da);}),this[_0x30c780(0x16d)](this[_0x30c780(0xcc)],_0x30c780(0xfb),()=>{const _0x1dd774=_0x30c780;this[_0x1dd774(0x158)]=!0x1;});const _0x4194c3=this[_0x30c780(0x120)][_0x30c780(0xa9)](_0xa8ca99);this[_0x30c780(0x180)]=!0x0;const _0x205282=await this[_0x30c780(0xcc)][_0x30c780(0xe4)](_0x1f2c45,this[_0x30c780(0xa5)](_0xa8ca99),_0x4194c3);if(this[_0x30c780(0xec)]=_0x205282[_0x30c780(0xec)],_0x5153f2){if(!_0x205282[_0x30c780(0xaa)])return void this[_0x30c780(0x155)]();this[_0x30c780(0x180)]=!0x1,this[_0x30c780(0xa4)](),this[_0x30c780(0xd0)][_0x30c780(0x189)](),this[_0x30c780(0x171)]=_0x205282[_0x30c780(0x17c)],this[_0x30c780(0xd0)][_0x30c780(0x10e)]=this[_0x30c780(0x171)],await this[_0x30c780(0x17b)](_0xa8ca99,_0x205282,_0x30c780(0xb6));}else await this[_0x30c780(0x99)](_0x205282,_0xa8ca99);this[_0x30c780(0xf8)](),this[_0x30c780(0x158)]=!0x0;}[_0x3cc1d2(0xf8)](){const _0x34e788=_0x3cc1d2,_0x562921=this[_0x34e788(0x136)][_0x34e788(0xf7)][_0x34e788(0x15f)](_0x280a30),_0x33aa00=this[_0x34e788(0x136)][_0x34e788(0xf7)][_0x34e788(0x15f)](_0x4887e4),_0x4972d9=_0x562921[_0x34e788(0x128)][_0x34e788(0x15f)](this[_0x34e788(0xa0)]);_0x4972d9&&_0x4972d9[_0x34e788(0x94)]>0x1?_0x33aa00[_0x34e788(0xea)]():this[_0x34e788(0x16d)](_0x562921,_0x34e788(0x168)+this[_0x34e788(0xa0)],()=>{const _0x4900f5=_0x34e788;0x2===_0x562921[_0x4900f5(0x128)][_0x4900f5(0x15f)](this[_0x4900f5(0xa0)])[_0x4900f5(0x94)]&&_0x33aa00[_0x4900f5(0xea)]();});}async[_0x3cc1d2(0x162)](_0x4fd9af,_0x42be7d,_0x23ee79,_0x506b1b){const _0x35e10a=_0x3cc1d2;if(!this[_0x35e10a(0x180)]&&this[_0x35e10a(0xfd)][_0x35e10a(0x10e)]==_0x42be7d){const _0x94cc57=this[_0x35e10a(0x14f)](_0x23ee79,_0x506b1b);await this[_0x35e10a(0x156)](_0x94cc57),this[_0x35e10a(0x160)](_0x94cc57,_0x42be7d,_0x23ee79[_0x35e10a(0xf2)])||this[_0x35e10a(0xd6)](_0x35e10a(0x164));}}async[_0x3cc1d2(0x166)](){const _0x4837a7=_0x3cc1d2;this[_0x4837a7(0x173)]();const {locale:_0x401afb}=this[_0x4837a7(0x136)];let _0x4dac96;try{_0x4dac96=await this[_0x4837a7(0xcc)][_0x4837a7(0xcb)]();}catch(_0x42faee){const _0x15636e=_0xc6776a(_0x401afb,_0x4837a7(0xc4));return void this[_0x4837a7(0x155)](_0x15636e);}const _0x74a634=_0x4dac96[_0x4837a7(0x182)]||_0x4dac96[_0x4837a7(0xbe)];if(this[_0x4837a7(0x11c)]===_0x74a634[_0x4837a7(0xf2)])await this[_0x4837a7(0x14b)](this[_0x4837a7(0x136)][_0x4837a7(0x116)][_0x4837a7(0xc8)][_0x4837a7(0x14d)][_0x4837a7(0xd1)](),!0x0);else{const _0x509bcb=_0xc6776a(_0x401afb,_0x4837a7(0xa1));this[_0x4837a7(0x155)](_0x509bcb);}}[_0x3cc1d2(0x173)](){const _0x541dd3=_0x3cc1d2;this[_0x541dd3(0xcc)][_0x541dd3(0xb9)](),this[_0x541dd3(0xbf)]=[],clearTimeout(this[_0x541dd3(0x112)]),this[_0x541dd3(0x13b)](this[_0x541dd3(0xcc)]);}[_0x3cc1d2(0xe2)](_0x1a05c3){const _0x893617=_0x3cc1d2,_0x5d0b9a=this[_0x893617(0x136)][_0x893617(0xf7)][_0x893617(0x15f)](_0x280a30);this[_0x893617(0x16d)](_0x5d0b9a,_0x893617(0x168)+this[_0x893617(0xa0)],(_0x3f8b07,{session:_0x3ea35a})=>{const _0x59ec2d=_0x893617;if(_0x3ea35a['id']===_0x5d0b9a[_0x59ec2d(0x165)]){_0x3f8b07[_0x59ec2d(0x106)]();const _0x274e21=this[_0x59ec2d(0x136)][_0x59ec2d(0xf7)][_0x59ec2d(0x12a)](_0x59ec2d(0x10f))&&this[_0x59ec2d(0x136)][_0x59ec2d(0xf7)][_0x59ec2d(0x15f)](_0x59ec2d(0x10f));let _0x39dff9=_0x3ea35a[_0x59ec2d(0x110)];_0x274e21&&_0x274e21[_0x59ec2d(0x12d)]&&(_0x39dff9=_0x39dff9[_0x59ec2d(0x18c)](_0xf0f6cd=>_0x59ec2d(0x151)!==_0xf0f6cd)),this[_0x59ec2d(0x136)][_0x59ec2d(0xf7)][_0x59ec2d(0x15f)](_0x59ec2d(0x161))[_0x59ec2d(0x16b)](_0x39dff9,this[_0x59ec2d(0xa0)]);}}),_0x5d0b9a[_0x893617(0x15d)](this[_0x893617(0xa0)],_0x1a05c3);}[_0x3cc1d2(0xe3)](){const _0x2b6fc1=_0x3cc1d2,_0x3ad492=this[_0x2b6fc1(0x136)][_0x2b6fc1(0x12c)][_0x2b6fc1(0x13d)];this[_0x2b6fc1(0x136)][_0x2b6fc1(0x12c)][_0x2b6fc1(0x13d)]=(..._0x3da0ab)=>{const _0x6506c2=_0x2b6fc1;if(!_0x3da0ab[_0x3da0ab[_0x6506c2(0x94)]-0x1][_0x6506c2(0x147)])throw new _0x302b2d(_0x6506c2(0x10b),this);_0x3ad492[_0x6506c2(0x179)](this[_0x6506c2(0x136)][_0x6506c2(0x12c)],_0x3da0ab);};}[_0x3cc1d2(0x187)](){const _0x5293db=_0x3cc1d2;this[_0x5293db(0x136)][_0x5293db(0x12c)]['on'](_0x5293db(0x122),(_0xd53aa5,[_0x4326c8])=>{const _0x3c9c82=_0x5293db;if(this[_0x3c9c82(0xfd)][_0x3c9c82(0x10e)])throw new _0x302b2d(_0x3c9c82(0x139),this);_0xd53aa5[_0x3c9c82(0xad)](),this[_0x3c9c82(0x11d)]();const _0x4d5155=this[_0x3c9c82(0x136)][_0x3c9c82(0x15c)][_0x3c9c82(0x15f)](_0x3c9c82(0xe5)),_0x269e9d=this[_0x3c9c82(0x13a)](_0x4326c8,_0x4d5155);0x0==_0x269e9d[_0x3c9c82(0x94)]&&_0x269e9d[_0x3c9c82(0x10c)](new _0x4d54f6(0x0)),_0xd53aa5[_0x3c9c82(0x109)]=this[_0x3c9c82(0x14b)](_0x269e9d)[_0x3c9c82(0x125)](()=>{const _0x37c048=_0x3c9c82;this[_0x37c048(0x136)][_0x37c048(0xf7)][_0x37c048(0x15f)](_0x42f097)[_0x37c048(0x89)](this),this[_0x37c048(0x136)][_0x37c048(0x12c)][_0x37c048(0x146)](_0x37c048(0x91));})[_0x3c9c82(0x15e)](_0x8a83e6=>this[_0x3c9c82(0xd6)](_0x3c9c82(0x181),_0x8a83e6))[_0x3c9c82(0xfc)](()=>this[_0x3c9c82(0xa4)]());},{'priority':_0x5293db(0xed)}),this[_0x5293db(0x136)]['on'](_0x5293db(0xf3),async(_0x7677f6,[_0x188338,_0xfdfb73])=>{const _0x5390d1=_0x5293db;_0x7677f6[_0x5390d1(0xad)]();const _0x3ef7fe=this[_0x5390d1(0x136)][_0x5390d1(0x116)][_0x5390d1(0xc8)][_0x5390d1(0x104)](_0x188338);if(!this[_0x5390d1(0xfa)][_0x5390d1(0x12a)](_0x188338)){const _0x21eea2=_0xfdfb73&&_0xfdfb73[_0x5390d1(0x12c)]?_0xfdfb73[_0x5390d1(0x12c)]:'',_0x2181cc=_0xfdfb73&&_0xfdfb73[_0x5390d1(0x11b)]?_0xfdfb73[_0x5390d1(0x11b)]:{};await this[_0x5390d1(0x138)](_0x188338,_0x21eea2,_0x2181cc);}this[_0x5390d1(0x136)][_0x5390d1(0x116)][_0x5390d1(0x8f)]({'isUndoable':!0x1},()=>{const _0x46131a=_0x5390d1;_0x3ef7fe[_0x46131a(0x10a)]=!0x0,this[_0x46131a(0x136)][_0x46131a(0x116)][_0x46131a(0xc8)][_0x46131a(0xc3)][_0x46131a(0x10d)](_0x3ef7fe);});},{'priority':_0x5293db(0xed)});}async[_0x3cc1d2(0x156)](_0x109053){const _0x179625=_0x3cc1d2,_0x148628=this[_0x179625(0x136)][_0x179625(0xf7)][_0x179625(0x15f)](_0x644a79),{connection:_0xff1348}=this[_0x179625(0x136)][_0x179625(0xf7)][_0x179625(0x15f)](_0x42f097),_0x27f85a=new Set();for(const _0x10db25 of _0x109053){const _0x2f2bc7=_0x10db25[_0x179625(0xe6)];_0x2f2bc7&&!_0x148628[_0x179625(0xa2)](_0x2f2bc7)&&_0x27f85a[_0x179625(0x13f)](_0x2f2bc7);}if(0x0===_0x27f85a[_0x179625(0xe8)])return;const _0xac3bed=await _0x5a8b6a[_0x179625(0xce)](_0xff1348,Array[_0x179625(0x129)](_0x27f85a));for(const _0x3fc651 of _0xac3bed)_0x148628[_0x179625(0xa2)](_0x3fc651['id'])||_0x148628[_0x179625(0x121)](_0x3fc651);}[_0x3cc1d2(0x13a)](_0x261289,_0x5c4192={}){const _0x2b5b5c=_0x3cc1d2,_0x6f444d=this[_0x2b5b5c(0x136)][_0x2b5b5c(0x116)],_0x547937=[];let _0x31bfbc=0x0;const _0x1ac379=_0x2b5b5c(0x12b)==typeof _0x261289?{'main':_0x261289}:_0x261289;for(const _0x4077a6 of Object[_0x2b5b5c(0x11e)](_0x1ac379)){if(!this[_0x2b5b5c(0xfd)][_0x2b5b5c(0x13c)][_0x2b5b5c(0x12a)](_0x4077a6))throw new _0x302b2d(_0x2b5b5c(0xbb),this);const _0x4d7267=this[_0x2b5b5c(0x136)][_0x2b5b5c(0x12c)][_0x2b5b5c(0x117)](_0x1ac379[_0x4077a6]),_0x102b14=this[_0x2b5b5c(0xfd)][_0x2b5b5c(0x104)](_0x4077a6),_0x5e8167=new _0x4a3a65(_0x6f444d[_0x2b5b5c(0x18d)](_0x102b14,0x0),_0x4d7267,_0x31bfbc++);_0x547937[_0x2b5b5c(0x10c)](_0x5e8167);for(const [_0x47793e,_0x2e7a7c]of _0x4d7267[_0x2b5b5c(0x159)]){const _0x3b60dc=_0x6f444d[_0x2b5b5c(0xe1)](_0x6f444d[_0x2b5b5c(0x96)](_0x102b14,_0x2e7a7c[_0x2b5b5c(0x176)][_0x2b5b5c(0x16e)][_0x2b5b5c(0x113)]()),_0x6f444d[_0x2b5b5c(0x96)](_0x102b14,_0x2e7a7c[_0x2b5b5c(0xd2)][_0x2b5b5c(0x16e)][_0x2b5b5c(0x113)]())),_0x2b7099=new _0x2467b5(_0x47793e,null,_0x3b60dc,_0x6f444d[_0x2b5b5c(0x159)],!0x0,_0x31bfbc++);_0x547937[_0x2b5b5c(0x10c)](_0x2b7099);}}if(_0x5c4192)for(const [_0xf30039,_0x4d9ccc]of Object[_0x2b5b5c(0xda)](_0x5c4192)){const _0x1e6b36=_0x6f444d[_0x2b5b5c(0xc8)][_0x2b5b5c(0x104)](_0xf30039);if(!_0x1e6b36)throw new _0x302b2d(_0x2b5b5c(0xee),null);for(const [_0x19722d,_0xbae685]of Object[_0x2b5b5c(0xda)](_0x4d9ccc))if(null!==_0xbae685){const _0x1d2083=new _0x1ac4ef(_0x1e6b36,_0x19722d,null,_0xbae685,_0x31bfbc++);_0x547937[_0x2b5b5c(0x10c)](_0x1d2083);}}return _0x547937;}async[_0x3cc1d2(0x138)](_0x2eb47b,_0x38b1ac,_0x3d8909){const _0x3c407d=_0x3cc1d2;this[_0x3c407d(0x13a)]({[_0x2eb47b]:_0x38b1ac},{[_0x2eb47b]:_0x3d8909})[_0x3c407d(0xc0)]((_0x55d22a,_0x30c8ed)=>{const _0x42c94b=_0x3c407d;_0x55d22a[_0x42c94b(0x17a)]=this[_0x42c94b(0xfd)][_0x42c94b(0x10e)]+_0x30c8ed,_0x55d22a[_0x42c94b(0xbd)]=!0x0,this[_0x42c94b(0xde)](_0x55d22a);}),this[_0x3c407d(0x8d)](),await this[_0x3c407d(0x18b)]();}async[_0x3cc1d2(0x99)](_0x93c506,_0xec8a98){const _0x22d29b=_0x3cc1d2;let _0x42ed2e;this[_0x22d29b(0x171)]=_0x93c506[_0x22d29b(0x17c)];const _0xe3ccf0=_0x93c506[_0x22d29b(0xaa)]&&!_0x93c506[_0x22d29b(0xb3)],_0x25a7b1=_0xe3ccf0?0x0:_0x93c506[_0x22d29b(0x12c)][_0x22d29b(0x17a)];if(_0xec8a98[_0x22d29b(0xc0)](_0x19c6ee=>{const _0x4e8b8c=_0x22d29b;_0x19c6ee[_0x4e8b8c(0xbd)]=!0x0,_0x19c6ee[_0x4e8b8c(0x127)]=_0x93c506[_0x4e8b8c(0xf9)],_0x19c6ee[_0x4e8b8c(0xe6)]=null;}),_0xe3ccf0)_0x42ed2e=_0xec8a98,this[_0x22d29b(0x131)](_0x42ed2e,_0xe3ccf0);else{if(_0x93c506[_0x22d29b(0xb3)]){const _0x28b44f=this[_0x22d29b(0x13a)](_0x93c506[_0x22d29b(0xb3)]);this[_0x22d29b(0xfd)][_0x22d29b(0x14d)][_0x22d29b(0x10e)]=-_0x28b44f[_0x22d29b(0x94)],_0x28b44f[_0x22d29b(0xc0)](_0x5d05ff=>{const _0x1b5f50=_0x22d29b;_0x5d05ff[_0x1b5f50(0x17a)]-=_0x28b44f[_0x1b5f50(0x94)],_0x5d05ff[_0x1b5f50(0x127)]=_0x93c506[_0x1b5f50(0xf9)],_0x5d05ff[_0x1b5f50(0xbd)]=!0x0,_0x5d05ff[_0x1b5f50(0xe6)]=null;}),this[_0x22d29b(0x131)](_0x28b44f,!0x0),this[_0x22d29b(0xd0)][_0x22d29b(0x10e)]=-_0x28b44f[_0x22d29b(0x94)]+this[_0x22d29b(0x171)],this[_0x22d29b(0xdd)](_0x28b44f);}this[_0x22d29b(0xfd)][_0x22d29b(0x14d)][_0x22d29b(0x10e)]=_0x25a7b1,_0x42ed2e=this[_0x22d29b(0x14f)](_0x93c506[_0x22d29b(0x12c)],_0x93c506[_0x22d29b(0xa3)]),await this[_0x22d29b(0x156)](_0x42ed2e),this[_0x22d29b(0x131)](_0x42ed2e,_0xe3ccf0);}_0x93c506[_0x22d29b(0xf2)]&&(this[_0x22d29b(0x120)][_0x22d29b(0x101)](_0x42ed2e,_0x93c506[_0x22d29b(0xf2)]),this[_0x22d29b(0x11c)]=_0x93c506[_0x22d29b(0xf2)]),this[_0x22d29b(0xd0)][_0x22d29b(0x10e)]=_0x25a7b1+this[_0x22d29b(0x171)],this[_0x22d29b(0xdd)](_0x42ed2e),_0xec8a98[_0x22d29b(0x18c)](_0x5646aa=>{const _0x553f24=_0x22d29b,_0x57e65d=this[_0x553f24(0x9b)](_0x5646aa);return _0x57e65d&&!this[_0x553f24(0xfa)][_0x553f24(0x12a)](_0x57e65d);})[_0x22d29b(0xc0)]((_0x139de2,_0xad46ba)=>{const _0x424c5b=_0x22d29b;_0x139de2[_0x424c5b(0x17a)]=this[_0x424c5b(0xfd)][_0x424c5b(0x10e)]+_0xad46ba,this[_0x424c5b(0xde)](_0x139de2);}),this[_0x22d29b(0xd9)]()?(this[_0x22d29b(0x118)]=0x0,this[_0x22d29b(0x8d)](!0x0),await this[_0x22d29b(0x18b)]()):(this[_0x22d29b(0x180)]=!0x1,this[_0x22d29b(0xa4)]());}[_0x3cc1d2(0xd6)](_0x478297,_0xc66ecf){const _0x14b5bf=_0x3cc1d2,_0x92407f=_0xc66ecf&&_0xc66ecf[_0x14b5bf(0x97)];if(_0x92407f&&_0x92407f[_0x14b5bf(0x18e)](_0x14b5bf(0xf4)))throw _0xc66ecf;const _0x5a6680=this[_0x14b5bf(0x136)][_0x14b5bf(0xf7)][_0x14b5bf(0x15f)](_0x42f097);throw this[_0x14b5bf(0x180)]=!0x0,_0x5a6680[_0x14b5bf(0xb9)](),this[_0x14b5bf(0x136)][_0x14b5bf(0xca)](_0x14b5bf(0xcd)),new _0x302b2d(_0x478297,this[_0x14b5bf(0x136)],_0x92407f?{'originalError':_0x92407f}:void 0x0);}[_0x3cc1d2(0xde)](_0x5389a2){const _0x5752c6=_0x3cc1d2;this[_0x5752c6(0x167)][_0x5752c6(0x12a)](_0x5389a2)||(this[_0x5752c6(0x167)][_0x5752c6(0x13f)](_0x5389a2),this[_0x5752c6(0xbf)][_0x5752c6(0x10c)](_0x5389a2),this[_0x5752c6(0xbc)]||_0x5752c6(0x100)==_0x5389a2[_0x5752c6(0x8c)]&&!_0x5389a2[_0x5752c6(0xc6)]||this[_0x5752c6(0x11d)]());}[_0x3cc1d2(0x8d)](_0x400bb5=!0x1){const _0xae68ca=_0x3cc1d2;!_0x400bb5&&this[_0xae68ca(0x180)]||(this[_0xae68ca(0x180)]=!0x0,clearTimeout(this[_0xae68ca(0x112)]),this[_0xae68ca(0x112)]=setTimeout(()=>{const _0x2e6602=_0xae68ca;this[_0x2e6602(0xd7)]()[_0x2e6602(0x125)](_0x2d2f48=>{const _0x26598c=_0x2e6602;_0x2d2f48&&(this[_0x26598c(0xa4)](),this[_0x26598c(0x180)]=!0x1);})[_0x2e6602(0x15e)](_0xe61680=>{const _0x24bfc8=_0x2e6602;this[_0x24bfc8(0xa4)](),this[_0x24bfc8(0x180)]=!0x1,function(_0x55544b){const _0x5d09d3=_0x24bfc8;return _0x55544b[_0x5d09d3(0x97)][_0x5d09d3(0x18e)](_0x5d09d3(0xb4))||_0x55544b[_0x5d09d3(0x97)][_0x5d09d3(0x18e)](_0x5d09d3(0xcf))||_0x55544b[_0x5d09d3(0x97)][_0x5d09d3(0x18e)](_0x5d09d3(0xac));}(_0xe61680)||this[_0x24bfc8(0xd6)](_0xe61680[_0x24bfc8(0x97)],_0xe61680);});},this[_0xae68ca(0x118)]));}[_0x3cc1d2(0x18b)](){return new Promise(_0x682ab3=>{const _0x4af989=_0x29b6;this['on'](_0x4af989(0x87),()=>{_0x682ab3();});});}async[_0x3cc1d2(0xd7)](){const _0x1ef759=_0x3cc1d2,_0x19f8ed=this[_0x1ef759(0x136)][_0x1ef759(0xf7)][_0x1ef759(0x15f)](_0x4887e4);if(this[_0x1ef759(0xfe)]()&&(_0x19f8ed[_0x1ef759(0xea)](),this[_0x1ef759(0xff)]=!0x1),!this[_0x1ef759(0xd9)]())return!0x0;const _0x1fe383=[...this[_0x1ef759(0xbf)]];for(const _0x11e2fc of _0x1fe383)_0x11e2fc[_0x1ef759(0x11f)]=this[_0x1ef759(0xfd)][_0x1ef759(0x14d)][_0x1ef759(0xdc)](_0x11e2fc);const _0x2fa146=this[_0x1ef759(0x120)][_0x1ef759(0xa9)](_0x1fe383),_0x3a5eca=J++,_0x57d767=this[_0x1ef759(0xa5)](_0x1fe383),_0x57849a=await this[_0x1ef759(0xcc)][_0x1ef759(0x14c)](_0x57d767,_0x57d767[_0x1ef759(0x17a)],_0x2fa146);try{return await this[_0x1ef759(0x17b)](_0x1fe383,_0x57849a,_0x3a5eca);}catch(_0x2ae3a3){return this[_0x1ef759(0xd6)](_0x1ef759(0xd8),_0x2ae3a3);}}async[_0x3cc1d2(0x17b)](_0x40da21,_0x473e6f,_0x426a36){const _0x26e76b=_0x3cc1d2;if(_0x26e76b(0x144)in _0x473e6f)throw _0x473e6f[_0x26e76b(0x144)];let _0x37a2df=!0x1;if(_0x473e6f[_0x26e76b(0xaa)]){_0x473e6f[_0x26e76b(0xf2)]&&(this[_0x26e76b(0x11c)]=_0x473e6f[_0x26e76b(0xf2)]),this[_0x26e76b(0xbf)]=this[_0x26e76b(0xbf)][_0x26e76b(0x18c)](_0x1c239a=>!_0x40da21[_0x26e76b(0x8b)](_0x1c239a));for(const _0x240149 of _0x40da21)_0x240149[_0x26e76b(0x127)]=_0x26e76b(0x157)in _0x473e6f&&_0x473e6f[_0x26e76b(0x157)]||void 0x0;X(_0x40da21,_0x473e6f[_0x26e76b(0x10e)]-_0x40da21[_0x26e76b(0x94)]),this[_0x26e76b(0xdd)](_0x40da21);const _0x365f81=_0x40da21[_0x26e76b(0x18c)](_0xfdc374=>{const _0x39011d=_0x26e76b;if(!_0xfdc374[_0x39011d(0xbd)])return!0x1;const _0x57ddda=this[_0x39011d(0x9b)](_0xfdc374);return _0x57ddda&&!this[_0x39011d(0xfa)][_0x39011d(0x12a)](_0x57ddda);});X(_0x365f81,this[_0x26e76b(0xfd)][_0x26e76b(0x10e)]),this[_0x26e76b(0x131)](_0x365f81),_0x37a2df=!0x0,this[_0x26e76b(0x118)]=this[_0x26e76b(0x92)];}else{const _0x119a4a=this[_0x26e76b(0x14f)](_0x473e6f[_0x26e76b(0x12c)],_0x473e6f[_0x26e76b(0xa3)])[_0x26e76b(0x18c)](_0x7c282d=>_0x7c282d[_0x26e76b(0x17a)]>=this[_0x26e76b(0x132)]);_0x119a4a[_0x26e76b(0xc0)](_0x408724=>this[_0x26e76b(0x11a)](_0x408724)),this[_0x26e76b(0xbf)]=this[_0x26e76b(0xbf)][_0x26e76b(0x18c)](_0x195717=>!_0x195717[_0x26e76b(0xbd)]||!this[_0x26e76b(0xfa)][_0x26e76b(0x12a)](this[_0x26e76b(0x9b)](_0x195717))),this[_0x26e76b(0xbf)][_0x26e76b(0x94)]&&X(this[_0x26e76b(0xbf)],this[_0x26e76b(0xbf)][0x0][_0x26e76b(0x17a)]),await this[_0x26e76b(0x156)](_0x119a4a),_0x37a2df=this[_0x26e76b(0x160)](_0x119a4a,_0x473e6f[_0x26e76b(0x10e)],_0x473e6f[_0x26e76b(0xf2)]),this[_0x26e76b(0x118)]=Math[_0x26e76b(0x111)](this[_0x26e76b(0x118)]/0x2);}return _0x37a2df?!this[_0x26e76b(0xd9)]()||(this[_0x26e76b(0x8d)](!0x0),!0x1):this[_0x26e76b(0xd6)](_0x26e76b(0x9f));}[_0x3cc1d2(0x160)](_0x296519,_0x3b6fae,_0xc0e41b){const _0x7b5d13=_0x3cc1d2;try{const _0x427e0c={'document':this[_0x7b5d13(0xfd)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x14b945,operationsB:_0x155f85,originalOperations:_0xed84aa}=_0x138b81(_0x296519,this[_0x7b5d13(0xbf)],_0x427e0c);X(_0x14b945,this[_0x7b5d13(0xfd)][_0x7b5d13(0x10e)]),X(_0x155f85,_0x3b6fae);for(const _0x221c92 of _0x14b945){const _0x9b5e=_0xed84aa[_0x7b5d13(0x15f)](_0x221c92);_0x221c92[_0x7b5d13(0xe6)]=_0x9b5e?_0x9b5e[_0x7b5d13(0xe6)]:null;}_0xc0e41b&&(this[_0x7b5d13(0x120)][_0x7b5d13(0x101)](_0x296519,_0xc0e41b),this[_0x7b5d13(0x11c)]=_0xc0e41b),this[_0x7b5d13(0xbf)]=[..._0x155f85],this[_0x7b5d13(0x131)](_0x14b945),this[_0x7b5d13(0xdd)](_0x296519);}catch(_0x1384df){return console[_0x7b5d13(0x144)](_0x1384df),!0x1;}return!0x0;}[_0x3cc1d2(0x131)](_0x3aaca,_0x53e3a5=!0x1){const _0x561625=_0x3cc1d2;this[_0x561625(0x136)][_0x561625(0x116)][_0x561625(0x8f)]({'isUndoable':!0x1,'isLocal':!0x1},_0x58df27=>{const _0x169116=_0x561625;for(const _0x416c45 of _0x3aaca)this[_0x169116(0x167)][_0x169116(0x13f)](_0x416c45),this[_0x169116(0x11a)](_0x416c45),_0x58df27[_0x169116(0xf6)][_0x169116(0x114)](_0x416c45),this[_0x169116(0x136)][_0x169116(0x116)][_0x169116(0xd3)](_0x416c45);});}[_0x3cc1d2(0x11a)](_0x3fba58){const _0x5f250d=_0x3cc1d2,_0x159d07=this[_0x5f250d(0x9b)](_0x3fba58);_0x159d07&&this[_0x5f250d(0xfa)][_0x5f250d(0x13f)](_0x159d07);}[_0x3cc1d2(0x9b)](_0x119344){const _0x3cc492=_0x3cc1d2;let _0x229dd5,_0x865bae;switch(_0x119344[_0x3cc492(0x8c)]){case _0x3cc492(0x185):_0x229dd5=_0x119344[_0x3cc492(0x135)][_0x3cc492(0x9d)];break;case _0x3cc492(0x100):if(_0x865bae=_0x119344[_0x3cc492(0x9e)],!_0x865bae)return null;_0x229dd5=_0x865bae[_0x3cc492(0x9d)];break;case _0x3cc492(0x178):_0x229dd5=_0x119344[_0x3cc492(0x9d)];break;case _0x3cc492(0x186):_0x229dd5=_0x119344[_0x3cc492(0x16f)];break;case _0x3cc492(0xc9):_0x229dd5=_0x119344[_0x3cc492(0x16c)][_0x3cc492(0x9d)];break;default:return null;}return _0x229dd5[_0x3cc492(0x150)];}[_0x3cc1d2(0xdd)](_0x57d744){const _0x42690d=_0x3cc1d2;_0x57d744[_0x42690d(0xc0)](_0x2104d2=>{const _0x3a9ee0=_0x42690d,_0xc71cd1=_0x2104d2[_0x3a9ee0(0x133)]();_0xc71cd1[_0x3a9ee0(0xe6)]=_0x2104d2[_0x3a9ee0(0xe6)],_0xc71cd1[_0x3a9ee0(0xbd)]=!!_0x2104d2[_0x3a9ee0(0xbd)],_0xc71cd1[_0x3a9ee0(0x127)]=_0x2104d2[_0x3a9ee0(0x127)],_0xc71cd1[_0x3a9ee0(0x17a)]+=this[_0x3a9ee0(0x171)],_0x2104d2[_0x3a9ee0(0xc5)]&&this[_0x3a9ee0(0xd4)][_0x3a9ee0(0x13f)](_0xc71cd1),this[_0x3a9ee0(0xd0)][_0x3a9ee0(0x114)](_0xc71cd1);});}[_0x3cc1d2(0x155)](_0x341f7a){const _0x4dbdd9=_0x3cc1d2,_0x5aa82d=this[_0x4dbdd9(0x136)][_0x4dbdd9(0xf7)][_0x4dbdd9(0x15f)](_0x4dbdd9(0x13e)),_0x430b3d=this[_0x4dbdd9(0x136)][_0x4dbdd9(0x177)];_0x341f7a||(_0x341f7a=_0xc6776a(_0x430b3d,_0x4dbdd9(0x102))),_0x5aa82d[_0x4dbdd9(0x12f)](_0x341f7a,{'title':_0xc6776a(_0x430b3d,_0x4dbdd9(0xd5)),'namespace':_0x4dbdd9(0xf5)}),this[_0x4dbdd9(0x8a)]=!0x0,clearTimeout(this[_0x4dbdd9(0x112)]),this[_0x4dbdd9(0xbf)]=[],this[_0x4dbdd9(0x136)][_0x4dbdd9(0xf7)][_0x4dbdd9(0x15f)](_0x42f097)[_0x4dbdd9(0xb9)]();}[_0x3cc1d2(0x11d)](){const _0x3bbb29=_0x3cc1d2;this[_0x3bbb29(0xbc)]||(this[_0x3bbb29(0xbc)]=this[_0x3bbb29(0x136)][_0x3bbb29(0xf7)][_0x3bbb29(0x15f)](_0x174f4c)[_0x3bbb29(0x13f)](_0xc6776a(this[_0x3bbb29(0x136)][_0x3bbb29(0x177)],_0x3bbb29(0x17d))));}[_0x3cc1d2(0xa4)](){const _0x42a540=_0x3cc1d2;this[_0x42a540(0xbc)]&&(this[_0x42a540(0x136)][_0x42a540(0xf7)][_0x42a540(0x15f)](_0x174f4c)[_0x42a540(0xae)](this[_0x42a540(0xbc)]),this[_0x42a540(0xbc)]=null);}[_0x3cc1d2(0xa5)](_0x198451){const _0x20f35d=_0x3cc1d2,_0x47ac07=_0x198451[_0x20f35d(0x123)](_0x31c611=>_0x31c611[_0x20f35d(0x142)]());return this[_0x20f35d(0x188)][_0x20f35d(0x17f)](_0x47ac07);}[_0x3cc1d2(0x14f)](_0x3e1fe8,_0x261997){const _0x5c7a69=_0x3cc1d2;return this[_0x5c7a69(0x188)][_0x5c7a69(0xb5)](_0x3e1fe8)[_0x5c7a69(0x123)]((_0x2f4df5,_0x495367)=>{const _0x46e0e7=_0x5c7a69,_0x3b73c3=_0x46e0e7(0x122)==_0x261997[_0x495367][_0x46e0e7(0x8c)];if(_0x46e0e7(0xeb)==_0x2f4df5[_0x46e0e7(0x153)]){const _0x35ed56=_0x2f4df5[_0x46e0e7(0x135)][_0x46e0e7(0x9d)];!this[_0x46e0e7(0xfd)][_0x46e0e7(0x104)](_0x35ed56)&&(this[_0x46e0e7(0xfd)][_0x46e0e7(0x90)](_0x46e0e7(0x9c),_0x35ed56)[_0x46e0e7(0x18f)]=!0x1);}const _0x492cc3=_0x33f2aa[_0x46e0e7(0x14e)](_0x2f4df5,this[_0x46e0e7(0xfd)]);return _0x492cc3[_0x46e0e7(0x11f)]=_0x2f4df5[_0x46e0e7(0x11f)],_0x492cc3[_0x46e0e7(0xbd)]=_0x3b73c3,_0x492cc3[_0x46e0e7(0xe6)]=_0x3b73c3?null:_0x261997[_0x495367][_0x46e0e7(0x8e)],_0x492cc3[_0x46e0e7(0xc5)]=_0x46e0e7(0xb2)===_0x261997[_0x495367][_0x46e0e7(0x8c)],_0x492cc3[_0x46e0e7(0x127)]=_0x261997[_0x495367][_0x46e0e7(0x127)],_0x492cc3;});}[_0x3cc1d2(0x15b)](){const _0x2c1f14=_0x3cc1d2;this[_0x2c1f14(0xff)]=!0x0,this[_0x2c1f14(0xfe)]()?this[_0x2c1f14(0x8d)]():this[_0x2c1f14(0xff)]=!0x1;}[_0x3cc1d2(0xfe)](){const _0xcbabf3=_0x3cc1d2,_0x4badfc=this[_0xcbabf3(0x136)][_0xcbabf3(0xf7)][_0xcbabf3(0x15f)](_0x280a30)[_0xcbabf3(0x128)][_0xcbabf3(0x15f)](this[_0xcbabf3(0xa0)]);return!this[_0xcbabf3(0x136)][_0xcbabf3(0x107)]&&!!_0x4badfc&&_0x4badfc[_0xcbabf3(0x94)]>0x1&&this[_0xcbabf3(0xff)];}[_0x3cc1d2(0xd9)](){const _0x3fea9c=_0x3cc1d2;return this[_0x3fea9c(0xbf)][_0x3fea9c(0x94)]>0x0||this[_0x3fea9c(0xfe)]();}}export default l;class Q extends Error{}function X(_0x58308d,_0x5a3ecb){const _0x21e773=_0x3cc1d2;for(const _0x35f4ce of _0x58308d)_0x35f4ce[_0x21e773(0x17a)]=_0x5a3ecb++;}class Y{[_0x3cc1d2(0x126)];[_0x3cc1d2(0xe7)];constructor(_0x17d9a3){const _0x1e3056=_0x3cc1d2;this[_0x1e3056(0x126)]=_0x17d9a3,this[_0x1e3056(0xe7)]=new WeakMap();}[_0x3cc1d2(0xa9)](_0x3681ac){const _0xc537dc=_0x3cc1d2;let _0x1b7411=_0x3681ac[_0xc537dc(0x94)];for(;_0x1b7411--;){const _0x532eb5=_0x3681ac[_0x1b7411];if(!this[_0xc537dc(0x126)][_0xc537dc(0x12a)](_0x532eb5)){if(!this[_0xc537dc(0xe7)][_0xc537dc(0x12a)](_0x532eb5)){const _0x4ccd11=_0x525a66()[_0xc537dc(0x113)](0x1,0x12);this[_0xc537dc(0xe7)][_0xc537dc(0x13d)](_0x532eb5,_0x4ccd11);}return this[_0xc537dc(0xe7)][_0xc537dc(0x15f)](_0x532eb5);}}}[_0x3cc1d2(0x101)](_0x33d36c,_0x42c4db){const _0x472749=_0x3cc1d2;if(!_0x42c4db)return;let _0x5affe6=_0x33d36c[_0x472749(0x94)];for(;_0x5affe6--;){const _0x8c56da=_0x33d36c[_0x5affe6];this[_0x472749(0x126)][_0x472749(0x12a)](_0x8c56da)||this[_0x472749(0xe7)][_0x472749(0x13d)](_0x8c56da,_0x42c4db);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x287b5f=_0x4bc7;(function(_0x21a70e,_0x3f64f6){const _0x2d44ae=_0x4bc7,_0x20b4f6=_0x21a70e();while(!![]){try{const _0x1351a5=-parseInt(_0x2d44ae(0x1b6))/0x1+-parseInt(_0x2d44ae(0x1a4))/0x2+parseInt(_0x2d44ae(0x1c1))/0x3+parseInt(_0x2d44ae(0x19d))/0x4*(-parseInt(_0x2d44ae(0x1b9))/0x5)+-parseInt(_0x2d44ae(0x1c4))/0x6+parseInt(_0x2d44ae(0x197))/0x7+-parseInt(_0x2d44ae(0x199))/0x8*(-parseInt(_0x2d44ae(0x1a9))/0x9);if(_0x1351a5===_0x3f64f6)break;else _0x20b4f6['push'](_0x20b4f6['shift']());}catch(_0x25b5b5){_0x20b4f6['push'](_0x20b4f6['shift']());}}}(_0x2cf7,0x4227f));import{ContextPlugin as _0x45a14}from'ckeditor5/src/core.js';import{Collection as _0x533356,CKEditorError as _0x5c1353}from'ckeditor5/src/utils.js';import _0x2bb8d8 from'./websocketgateway.js';import{Users as _0x56fa41}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x45a14{[_0x287b5f(0x19b)];[_0x287b5f(0x19f)];[_0x287b5f(0x1a3)];[_0x287b5f(0x1a7)];[_0x287b5f(0x1c6)];[_0x287b5f(0x1c5)];static get[_0x287b5f(0x1aa)](){const _0x6611bd=_0x287b5f;return _0x6611bd(0x1c2);}static get[_0x287b5f(0x19a)](){return!0x0;}static get[_0x287b5f(0x19c)](){return!0x0;}static get[_0x287b5f(0x194)](){return[_0x2bb8d8,_0x56fa41];}constructor(_0xa0ad3e){const _0x3eba72=_0x287b5f;super(_0xa0ad3e),this[_0x3eba72(0x19b)]=new Map(),this[_0x3eba72(0x19f)]=new Map(),this[_0x3eba72(0x1a3)]=new _0x533356(),this[_0x3eba72(0x1a7)]=new Map(),this[_0x3eba72(0x1c6)]=0x0,this[_0x3eba72(0x1c5)]=this[_0x3eba72(0x1a5)][_0x3eba72(0x1a8)][_0x3eba72(0x1b5)](_0x56fa41);}[_0x287b5f(0x198)](){const _0x174f36=_0x287b5f,_0x14855c=this[_0x174f36(0x1a5)][_0x174f36(0x1a8)][_0x174f36(0x1b5)](_0x2bb8d8);this[_0x174f36(0x18b)](_0x14855c,_0x174f36(0x1a6),(_0x3bce30,_0x2593af,_0x4d036f)=>{const _0x556413=_0x174f36;if(_0x556413(0x1ae)!==_0x4d036f)this[_0x556413(0x19b)][_0x556413(0x1a2)](_0xb3b4d2=>_0xb3b4d2[_0x556413(0x1c3)]()),this[_0x556413(0x19f)][_0x556413(0x1a2)](_0x393868=>_0x393868[_0x556413(0x1c3)]()),this[_0x556413(0x1a3)][_0x556413(0x1c3)]();else{for(const [_0x57a370,_0x37b927]of this[_0x556413(0x1a7)])for(const _0x24d985 of _0x37b927)this[_0x556413(0x1bd)](_0x57a370,_0x24d985);}}),this[_0x174f36(0x1b7)](_0x14855c[_0x174f36(0x1ba)]['me'],!0x0);}[_0x287b5f(0x1ad)](_0x4c7c9d,_0x3688f2){const _0xfc8836=_0x287b5f;if(this[_0xfc8836(0x1a7)][_0xfc8836(0x1bf)](_0x4c7c9d))throw new _0x5c1353(_0xfc8836(0x18c),null,{'channelId':_0x4c7c9d});this[_0xfc8836(0x1a7)][_0xfc8836(0x1b2)](_0x4c7c9d,_0x3688f2),this[_0xfc8836(0x19b)][_0xfc8836(0x1b2)](_0x4c7c9d,new _0x533356()),this[_0xfc8836(0x19f)][_0xfc8836(0x1b2)](_0x4c7c9d,new _0x533356()),this[_0xfc8836(0x18b)](_0x3688f2,_0xfc8836(0x191),(_0x14835b,_0x53fa06)=>this[_0xfc8836(0x1bd)](_0x4c7c9d,_0x53fa06)),this[_0xfc8836(0x18b)](_0x3688f2,_0xfc8836(0x18f),(_0x460d9f,_0x5d5120)=>this[_0xfc8836(0x1a0)](_0x4c7c9d,_0x5d5120));for(const _0x5a3cff of _0x3688f2)this[_0xfc8836(0x1bd)](_0x4c7c9d,_0x5a3cff);}[_0x287b5f(0x1bb)](_0x35eeab){const _0x4f2be1=_0x287b5f;if(!this[_0x4f2be1(0x1a7)][_0x4f2be1(0x1bf)](_0x35eeab))throw new _0x5c1353(_0x4f2be1(0x18d),null,{'channelId':_0x35eeab});const _0x2fb3a7=this[_0x4f2be1(0x1a7)][_0x4f2be1(0x1b5)](_0x35eeab);this[_0x4f2be1(0x1bc)](_0x2fb3a7);for(const _0x4567ea of _0x2fb3a7)_0x4f2be1(0x1ae)===this[_0x4f2be1(0x1a5)][_0x4f2be1(0x1a8)][_0x4f2be1(0x1b5)](_0x2bb8d8)[_0x4f2be1(0x196)]&&this[_0x4f2be1(0x1a0)](_0x35eeab,_0x4567ea);this[_0x4f2be1(0x1a7)][_0x4f2be1(0x1ac)](_0x35eeab),this[_0x4f2be1(0x19b)][_0x4f2be1(0x1ac)](_0x35eeab),this[_0x4f2be1(0x19f)][_0x4f2be1(0x1ac)](_0x35eeab);}get[_0x287b5f(0x1a1)](){const _0x13572a=_0x287b5f;return this[_0x13572a(0x1a5)][_0x13572a(0x1a8)][_0x13572a(0x1b5)](_0x2bb8d8)[_0x13572a(0x1ba)][_0x13572a(0x19e)];}[_0x287b5f(0x1af)](_0x522837){const _0x264f93=_0x287b5f;for(const _0x236dad of this[_0x264f93(0x19b)][_0x264f93(0x18a)]())for(const _0x7a9daa of _0x236dad)if(_0x7a9daa['id']===_0x522837)return _0x7a9daa[_0x264f93(0x18e)];}[_0x287b5f(0x195)](_0x62378d,_0x372aed){const _0x444e47=_0x287b5f,_0x36d5d8=_0x372aed?[this[_0x444e47(0x19b)][_0x444e47(0x1b5)](_0x372aed)]:this[_0x444e47(0x19b)][_0x444e47(0x18a)](),_0x3e51ab=new Set();for(const _0x3aa80f of _0x36d5d8)for(const _0x93e632 of _0x3aa80f)_0x93e632[_0x444e47(0x18e)]['id']===_0x62378d['id']&&_0x3e51ab[_0x444e47(0x191)](_0x93e632['id']);return _0x3e51ab;}[_0x287b5f(0x193)](_0x4579c5){const _0x5aff53=_0x287b5f;for(const _0x565065 of this[_0x5aff53(0x19b)][_0x5aff53(0x18a)]())for(const _0x46ddfd of _0x565065)if(_0x46ddfd[_0x5aff53(0x18e)]===_0x4579c5)return _0x46ddfd[_0x5aff53(0x1ab)];}[_0x287b5f(0x1bd)](_0x3511df,_0x4739df){const _0x2732c7=_0x287b5f;if(_0x2732c7(0x1ae)!==this[_0x2732c7(0x1a5)][_0x2732c7(0x1a8)][_0x2732c7(0x1b5)](_0x2bb8d8)[_0x2732c7(0x196)])return;const _0x4968e3=_0x4739df[_0x2732c7(0x18e)],_0x1925a0=this[_0x2732c7(0x1c5)][_0x2732c7(0x1be)](_0x4968e3['id'])||this[_0x2732c7(0x1b7)](_0x4968e3),_0x504441=Object[_0x2732c7(0x192)]({},_0x4739df,{'user':_0x1925a0});this[_0x2732c7(0x19b)][_0x2732c7(0x1b5)](_0x3511df)[_0x2732c7(0x191)](_0x504441);const _0x356434=this[_0x2732c7(0x19f)][_0x2732c7(0x1b5)](_0x3511df);_0x356434[_0x2732c7(0x1bf)](_0x1925a0['id'])||_0x356434[_0x2732c7(0x191)](_0x1925a0),this[_0x2732c7(0x1a3)][_0x2732c7(0x1bf)](_0x1925a0['id'])||this[_0x2732c7(0x1a3)][_0x2732c7(0x191)](_0x1925a0,_0x1925a0[_0x2732c7(0x1b8)]?0x0:void 0x0),this[_0x2732c7(0x1b4)](_0x2732c7(0x1b1)+_0x3511df,{'channelId':_0x3511df,'session':_0x504441});}[_0x287b5f(0x1a0)](_0x255c3a,_0x1947ff){const _0x46c892=_0x287b5f;if(_0x46c892(0x1ae)!==this[_0x46c892(0x1a5)][_0x46c892(0x1a8)][_0x46c892(0x1b5)](_0x2bb8d8)[_0x46c892(0x196)])return;const _0x33c9ec=this[_0x46c892(0x19f)][_0x46c892(0x1b5)](_0x255c3a),_0x3d7097=_0x1947ff[_0x46c892(0x18e)];_0x3d7097['id']&&(this[_0x46c892(0x19b)][_0x46c892(0x1b5)](_0x255c3a)[_0x46c892(0x18f)](_0x1947ff['id']),_0x33c9ec[_0x46c892(0x1bf)](_0x3d7097['id'])&&!this[_0x46c892(0x195)](_0x3d7097,_0x255c3a)[_0x46c892(0x1b0)]&&_0x33c9ec[_0x46c892(0x18f)](_0x3d7097['id']),this[_0x46c892(0x1a3)][_0x46c892(0x1b5)](_0x3d7097['id'])&&!this[_0x46c892(0x195)](_0x3d7097)[_0x46c892(0x1b0)]&&this[_0x46c892(0x1a3)][_0x46c892(0x18f)](_0x3d7097['id']));}[_0x287b5f(0x1b7)](_0x10f4a8,_0x572990){const _0x146f4c=_0x287b5f,_0x5eec6b=this[_0x146f4c(0x1c5)][_0x146f4c(0x1b3)](_0x10f4a8);return _0x572990&&this[_0x146f4c(0x1c5)][_0x146f4c(0x190)](_0x10f4a8['id']),_0x5eec6b[_0x146f4c(0x1c0)]=this[_0x146f4c(0x1c6)]++,_0x5eec6b;}}function _0x4bc7(_0x9f81aa,_0x139e99){const _0x2cf73c=_0x2cf7();return _0x4bc7=function(_0x4bc7ea,_0x38cb31){_0x4bc7ea=_0x4bc7ea-0x18a;let _0x2f6d9a=_0x2cf73c[_0x4bc7ea];return _0x2f6d9a;},_0x4bc7(_0x9f81aa,_0x139e99);}function _0x2cf7(){const _0x1d2c32=['change:state','_registeredSessions','plugins','2070VpJFQT','pluginName','role','delete','register','connected','getUserBySessionId','size','sessionAdd:','set','addUser','fire','get','190463msFOqZ','_createUser','isMe','1097255iwXWwd','connection','unregister','stopListening','_handleSessionAdd','getUser','has','orderNumber','882627vqbLET','Sessions','clear','155148LPYtWk','_users','_uniqueUsersCount','values','listenTo','sessions-register-already-registered','sessions-unregister-not-exist','user','remove','defineMe','add','assign','getUserRole','requires','getUserSessions','state','3187079levyyJ','init','15784JbLFoV','isOfficialPlugin','channelSessions','isPremiumPlugin','4AnOXcp','sessionId','channelConnectedUsers','_handleSessionRemove','mySessionId','forEach','allConnectedUsers','993098BNjsOL','context'];_0x2cf7=function(){return _0x1d2c32;};return _0x2cf7();}
23
+ const _0x3b675e=_0x58c0;(function(_0x429891,_0x51f795){const _0x5d0d3e=_0x58c0,_0x1cf5e4=_0x429891();while(!![]){try{const _0x2db1fa=parseInt(_0x5d0d3e(0x143))/0x1+-parseInt(_0x5d0d3e(0x151))/0x2+-parseInt(_0x5d0d3e(0x154))/0x3+parseInt(_0x5d0d3e(0x158))/0x4+parseInt(_0x5d0d3e(0x156))/0x5+-parseInt(_0x5d0d3e(0x140))/0x6*(-parseInt(_0x5d0d3e(0x159))/0x7)+-parseInt(_0x5d0d3e(0x132))/0x8*(parseInt(_0x5d0d3e(0x147))/0x9);if(_0x2db1fa===_0x51f795)break;else _0x1cf5e4['push'](_0x1cf5e4['shift']());}catch(_0x5c3f5c){_0x1cf5e4['push'](_0x1cf5e4['shift']());}}}(_0x44c0,0x38ab9));import{ContextPlugin as _0x1d0940}from'ckeditor5/src/core.js';function _0x58c0(_0x5cde18,_0x45d970){const _0x44c0fe=_0x44c0();return _0x58c0=function(_0x58c0b2,_0x5088cf){_0x58c0b2=_0x58c0b2-0x12e;let _0x17e313=_0x44c0fe[_0x58c0b2];return _0x17e313;},_0x58c0(_0x5cde18,_0x45d970);}import{Collection as _0x515f58,CKEditorError as _0x2eeb39}from'ckeditor5/src/utils.js';import _0x1f07e5 from'./websocketgateway.js';function _0x44c0(){const _0x10a7ef=['getUserBySessionId','sessions-register-already-registered','_createUser','_users','role','set','allConnectedUsers','defineMe','getUserSessions','isOfficialPlugin','16HpPKFc','remove','requires','has','forEach','_handleSessionAdd','get','register','isPremiumPlugin','delete','getUser','getUserRole','_handleSessionRemove','sessionAdd:','123162TGtaBN','fire','addUser','152844jtetLr','size','listenTo','sessions-unregister-not-exist','1433736tKIGQx','_uniqueUsersCount','init','unregister','channelSessions','clear','connected','user','pluginName','add','904394TMxLmc','stopListening','change:state','48081vFqfel','state','2302680TzjjDl','values','1129644SRPgfb','42siaCsb','sessionId','context','channelConnectedUsers','orderNumber','assign','isMe','_registeredSessions','connection','mySessionId','plugins','Sessions'];_0x44c0=function(){return _0x10a7ef;};return _0x44c0();}import{Users as _0xfbfb53}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x1d0940{[_0x3b675e(0x14b)];[_0x3b675e(0x15c)];[_0x3b675e(0x12e)];[_0x3b675e(0x160)];[_0x3b675e(0x148)];[_0x3b675e(0x168)];static get[_0x3b675e(0x14f)](){const _0x3a5a08=_0x3b675e;return _0x3a5a08(0x164);}static get[_0x3b675e(0x131)](){return!0x0;}static get[_0x3b675e(0x13a)](){return!0x0;}static get[_0x3b675e(0x134)](){return[_0x1f07e5,_0xfbfb53];}constructor(_0x5737c6){const _0x4421c0=_0x3b675e;super(_0x5737c6),this[_0x4421c0(0x14b)]=new Map(),this[_0x4421c0(0x15c)]=new Map(),this[_0x4421c0(0x12e)]=new _0x515f58(),this[_0x4421c0(0x160)]=new Map(),this[_0x4421c0(0x148)]=0x0,this[_0x4421c0(0x168)]=this[_0x4421c0(0x15b)][_0x4421c0(0x163)][_0x4421c0(0x138)](_0xfbfb53);}[_0x3b675e(0x149)](){const _0x49e5be=_0x3b675e,_0x4d6e71=this[_0x49e5be(0x15b)][_0x49e5be(0x163)][_0x49e5be(0x138)](_0x1f07e5);this[_0x49e5be(0x145)](_0x4d6e71,_0x49e5be(0x153),(_0x5acd60,_0x5c152a,_0x46a9cf)=>{const _0xcedfd8=_0x49e5be;if(_0xcedfd8(0x14d)!==_0x46a9cf)this[_0xcedfd8(0x14b)][_0xcedfd8(0x136)](_0x5965b4=>_0x5965b4[_0xcedfd8(0x14c)]()),this[_0xcedfd8(0x15c)][_0xcedfd8(0x136)](_0xcce764=>_0xcce764[_0xcedfd8(0x14c)]()),this[_0xcedfd8(0x12e)][_0xcedfd8(0x14c)]();else{for(const [_0x34da5a,_0x3fb6bc]of this[_0xcedfd8(0x160)])for(const _0x1ee78d of _0x3fb6bc)this[_0xcedfd8(0x137)](_0x34da5a,_0x1ee78d);}}),this[_0x49e5be(0x167)](_0x4d6e71[_0x49e5be(0x161)]['me'],!0x0);}[_0x3b675e(0x139)](_0x124eed,_0x6a4161){const _0x58ab6c=_0x3b675e;if(this[_0x58ab6c(0x160)][_0x58ab6c(0x135)](_0x124eed))throw new _0x2eeb39(_0x58ab6c(0x166),null,{'channelId':_0x124eed});this[_0x58ab6c(0x160)][_0x58ab6c(0x16a)](_0x124eed,_0x6a4161),this[_0x58ab6c(0x14b)][_0x58ab6c(0x16a)](_0x124eed,new _0x515f58()),this[_0x58ab6c(0x15c)][_0x58ab6c(0x16a)](_0x124eed,new _0x515f58()),this[_0x58ab6c(0x145)](_0x6a4161,_0x58ab6c(0x150),(_0x49137f,_0x20dc89)=>this[_0x58ab6c(0x137)](_0x124eed,_0x20dc89)),this[_0x58ab6c(0x145)](_0x6a4161,_0x58ab6c(0x133),(_0x1eec57,_0x249ef7)=>this[_0x58ab6c(0x13e)](_0x124eed,_0x249ef7));for(const _0x4b94d6 of _0x6a4161)this[_0x58ab6c(0x137)](_0x124eed,_0x4b94d6);}[_0x3b675e(0x14a)](_0x260170){const _0x2df5f9=_0x3b675e;if(!this[_0x2df5f9(0x160)][_0x2df5f9(0x135)](_0x260170))throw new _0x2eeb39(_0x2df5f9(0x146),null,{'channelId':_0x260170});const _0x277938=this[_0x2df5f9(0x160)][_0x2df5f9(0x138)](_0x260170);this[_0x2df5f9(0x152)](_0x277938);for(const _0x151cc9 of _0x277938)_0x2df5f9(0x14d)===this[_0x2df5f9(0x15b)][_0x2df5f9(0x163)][_0x2df5f9(0x138)](_0x1f07e5)[_0x2df5f9(0x155)]&&this[_0x2df5f9(0x13e)](_0x260170,_0x151cc9);this[_0x2df5f9(0x160)][_0x2df5f9(0x13b)](_0x260170),this[_0x2df5f9(0x14b)][_0x2df5f9(0x13b)](_0x260170),this[_0x2df5f9(0x15c)][_0x2df5f9(0x13b)](_0x260170);}get[_0x3b675e(0x162)](){const _0x441aca=_0x3b675e;return this[_0x441aca(0x15b)][_0x441aca(0x163)][_0x441aca(0x138)](_0x1f07e5)[_0x441aca(0x161)][_0x441aca(0x15a)];}[_0x3b675e(0x165)](_0x956ed1){const _0x12d5ff=_0x3b675e;for(const _0x5b191c of this[_0x12d5ff(0x14b)][_0x12d5ff(0x157)]())for(const _0x5164b3 of _0x5b191c)if(_0x5164b3['id']===_0x956ed1)return _0x5164b3[_0x12d5ff(0x14e)];}[_0x3b675e(0x130)](_0xf7f41d,_0x4029c6){const _0x324ed6=_0x3b675e,_0x3bf81e=_0x4029c6?[this[_0x324ed6(0x14b)][_0x324ed6(0x138)](_0x4029c6)]:this[_0x324ed6(0x14b)][_0x324ed6(0x157)](),_0x132956=new Set();for(const _0x22e78a of _0x3bf81e)for(const _0x5ee1bd of _0x22e78a)_0x5ee1bd[_0x324ed6(0x14e)]['id']===_0xf7f41d['id']&&_0x132956[_0x324ed6(0x150)](_0x5ee1bd['id']);return _0x132956;}[_0x3b675e(0x13d)](_0x4df23e){const _0x191ce9=_0x3b675e;for(const _0xecb549 of this[_0x191ce9(0x14b)][_0x191ce9(0x157)]())for(const _0x4502f2 of _0xecb549)if(_0x4502f2[_0x191ce9(0x14e)]===_0x4df23e)return _0x4502f2[_0x191ce9(0x169)];}[_0x3b675e(0x137)](_0x355272,_0x2c16b1){const _0x5c07c1=_0x3b675e;if(_0x5c07c1(0x14d)!==this[_0x5c07c1(0x15b)][_0x5c07c1(0x163)][_0x5c07c1(0x138)](_0x1f07e5)[_0x5c07c1(0x155)])return;const _0x45e56d=_0x2c16b1[_0x5c07c1(0x14e)],_0x19e333=this[_0x5c07c1(0x168)][_0x5c07c1(0x13c)](_0x45e56d['id'])||this[_0x5c07c1(0x167)](_0x45e56d),_0x522487=Object[_0x5c07c1(0x15e)]({},_0x2c16b1,{'user':_0x19e333});this[_0x5c07c1(0x14b)][_0x5c07c1(0x138)](_0x355272)[_0x5c07c1(0x150)](_0x522487);const _0x9ad6ba=this[_0x5c07c1(0x15c)][_0x5c07c1(0x138)](_0x355272);_0x9ad6ba[_0x5c07c1(0x135)](_0x19e333['id'])||_0x9ad6ba[_0x5c07c1(0x150)](_0x19e333),this[_0x5c07c1(0x12e)][_0x5c07c1(0x135)](_0x19e333['id'])||this[_0x5c07c1(0x12e)][_0x5c07c1(0x150)](_0x19e333,_0x19e333[_0x5c07c1(0x15f)]?0x0:void 0x0),this[_0x5c07c1(0x141)](_0x5c07c1(0x13f)+_0x355272,{'channelId':_0x355272,'session':_0x522487});}[_0x3b675e(0x13e)](_0x4594dd,_0xcab043){const _0x150c81=_0x3b675e;if(_0x150c81(0x14d)!==this[_0x150c81(0x15b)][_0x150c81(0x163)][_0x150c81(0x138)](_0x1f07e5)[_0x150c81(0x155)])return;const _0x5ea88d=this[_0x150c81(0x15c)][_0x150c81(0x138)](_0x4594dd),_0x47e6f5=_0xcab043[_0x150c81(0x14e)];_0x47e6f5['id']&&(this[_0x150c81(0x14b)][_0x150c81(0x138)](_0x4594dd)[_0x150c81(0x133)](_0xcab043['id']),_0x5ea88d[_0x150c81(0x135)](_0x47e6f5['id'])&&!this[_0x150c81(0x130)](_0x47e6f5,_0x4594dd)[_0x150c81(0x144)]&&_0x5ea88d[_0x150c81(0x133)](_0x47e6f5['id']),this[_0x150c81(0x12e)][_0x150c81(0x138)](_0x47e6f5['id'])&&!this[_0x150c81(0x130)](_0x47e6f5)[_0x150c81(0x144)]&&this[_0x150c81(0x12e)][_0x150c81(0x133)](_0x47e6f5['id']));}[_0x3b675e(0x167)](_0x1f1087,_0x4c3455){const _0x237f9b=_0x3b675e,_0x1cb783=this[_0x237f9b(0x168)][_0x237f9b(0x142)](_0x1f1087);return _0x4c3455&&this[_0x237f9b(0x168)][_0x237f9b(0x12f)](_0x1f1087['id']),_0x1cb783[_0x237f9b(0x15d)]=this[_0x237f9b(0x148)]++,_0x1cb783;}}