@ckeditor/ckeditor5-real-time-collaboration 45.1.0-alpha.3 → 45.1.0-alpha.5
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/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/package.json +14 -14
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-real-time-collaboration",
|
|
3
|
-
"version": "45.1.0-alpha.
|
|
3
|
+
"version": "45.1.0-alpha.5",
|
|
4
4
|
"description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -47,19 +47,19 @@
|
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@ckeditor/ckeditor-cloud-services-collaboration": "53.0.0",
|
|
50
|
-
"@ckeditor/ckeditor5-cloud-services": "45.1.0-alpha.
|
|
51
|
-
"@ckeditor/ckeditor5-comments": "45.1.0-alpha.
|
|
52
|
-
"@ckeditor/ckeditor5-core": "45.1.0-alpha.
|
|
53
|
-
"@ckeditor/ckeditor5-editor-multi-root": "45.1.0-alpha.
|
|
54
|
-
"@ckeditor/ckeditor5-engine": "45.1.0-alpha.
|
|
55
|
-
"@ckeditor/ckeditor5-operations-compressor": "45.1.0-alpha.
|
|
56
|
-
"@ckeditor/ckeditor5-revision-history": "45.1.0-alpha.
|
|
57
|
-
"@ckeditor/ckeditor5-theme-lark": "45.1.0-alpha.
|
|
58
|
-
"@ckeditor/ckeditor5-track-changes": "45.1.0-alpha.
|
|
59
|
-
"@ckeditor/ckeditor5-ui": "45.1.0-alpha.
|
|
60
|
-
"@ckeditor/ckeditor5-utils": "45.1.0-alpha.
|
|
61
|
-
"ckeditor5": "45.1.0-alpha.
|
|
62
|
-
"ckeditor5-collaboration": "45.1.0-alpha.
|
|
50
|
+
"@ckeditor/ckeditor5-cloud-services": "45.1.0-alpha.5",
|
|
51
|
+
"@ckeditor/ckeditor5-comments": "45.1.0-alpha.5",
|
|
52
|
+
"@ckeditor/ckeditor5-core": "45.1.0-alpha.5",
|
|
53
|
+
"@ckeditor/ckeditor5-editor-multi-root": "45.1.0-alpha.5",
|
|
54
|
+
"@ckeditor/ckeditor5-engine": "45.1.0-alpha.5",
|
|
55
|
+
"@ckeditor/ckeditor5-operations-compressor": "45.1.0-alpha.5",
|
|
56
|
+
"@ckeditor/ckeditor5-revision-history": "45.1.0-alpha.5",
|
|
57
|
+
"@ckeditor/ckeditor5-theme-lark": "45.1.0-alpha.5",
|
|
58
|
+
"@ckeditor/ckeditor5-track-changes": "45.1.0-alpha.5",
|
|
59
|
+
"@ckeditor/ckeditor5-ui": "45.1.0-alpha.5",
|
|
60
|
+
"@ckeditor/ckeditor5-utils": "45.1.0-alpha.5",
|
|
61
|
+
"ckeditor5": "45.1.0-alpha.5",
|
|
62
|
+
"ckeditor5-collaboration": "45.1.0-alpha.5",
|
|
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
|
|
23
|
+
const _0x2bc6ef=_0x2e09;function _0x8bb4(){const _0x505c14=['button','fire','setTemplate','1173733YHrupl','presentation','execute','1460wiBkdt','userView','ck-presence-list__dropdown-list-item','getBackgroundColorClass','2flNRRJ','span','color','4569140oCXKyY','true','5810721zdztEP','293744dmKKZB','ck-presence-list__marker','6764358skeQPm','element','87FlsaOM','168AdXVdf','44316abWEVA','ck-user__full-name','8GCvWIh','name','tag','71444vcmoqn','focus','bindTemplate'];_0x8bb4=function(){return _0x505c14;};return _0x8bb4();}(function(_0x55ebd6,_0x472c68){const _0x49d008=_0x2e09,_0xf3b426=_0x55ebd6();while(!![]){try{const _0x5911b2=parseInt(_0x49d008(0x101))/0x1*(-parseInt(_0x49d008(0x108))/0x2)+parseInt(_0x49d008(0x112))/0x3*(-parseInt(_0x49d008(0xfb))/0x4)+parseInt(_0x49d008(0x10b))/0x5+parseInt(_0x49d008(0x110))/0x6+parseInt(_0x49d008(0x10d))/0x7*(-parseInt(_0x49d008(0xf8))/0x8)+parseInt(_0x49d008(0xf6))/0x9*(parseInt(_0x49d008(0x104))/0xa)+-parseInt(_0x49d008(0x10e))/0xb*(-parseInt(_0x49d008(0x113))/0xc);if(_0x5911b2===_0x472c68)break;else _0xf3b426['push'](_0xf3b426['shift']());}catch(_0x21cd9e){_0xf3b426['push'](_0xf3b426['shift']());}}}(_0x8bb4,0x95750));import{ListItemView as _0x1764a0}from'ckeditor5/src/ui.js';function _0x2e09(_0xa4276a,_0x15a84a){const _0x8bb449=_0x8bb4();return _0x2e09=function(_0x2e0931,_0x73780c){_0x2e0931=_0x2e0931-0xf6;let _0x2701a6=_0x8bb449[_0x2e0931];return _0x2701a6;},_0x2e09(_0xa4276a,_0x15a84a);}import{UserView as _0x49e1ce}from'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x1764a0{[_0x2bc6ef(0x105)];constructor(_0x4f4b79,_0x124c1e,_0x292355){const _0xd90fbf=_0x2bc6ef;super(_0x4f4b79);const _0x21ee31=this[_0xd90fbf(0xfd)];this[_0xd90fbf(0x105)]=new _0x49e1ce(_0x4f4b79,_0x124c1e);const _0x525aed={'tag':'li','attributes':{'class':['ck',_0xd90fbf(0x106)],'tabindex':-0x1,'role':_0xd90fbf(0x102),'aria-label':_0x124c1e[_0xd90fbf(0xf9)]},'children':[this[_0xd90fbf(0x105)],{'tag':_0xd90fbf(0x109),'attributes':{'class':['ck',_0xd90fbf(0xf7)]},'children':[{'text':_0x124c1e[_0xd90fbf(0xf9)]}]},{'tag':_0xd90fbf(0x109),'attributes':{'class':['ck',_0xd90fbf(0x10f),_0x124c1e[_0xd90fbf(0x10a)][_0xd90fbf(0x107)]()],'aria-hidden':_0xd90fbf(0x10c)}}]};_0x292355&&(_0x525aed[_0xd90fbf(0xfa)]=_0xd90fbf(0xfe),_0x525aed['on']={'click':_0x21ee31['to'](()=>this[_0xd90fbf(0xff)](_0xd90fbf(0x103)))}),this[_0xd90fbf(0x100)](_0x525aed);}[_0x2bc6ef(0xfc)](){const _0x16c2b8=_0x2bc6ef;this[_0x16c2b8(0x111)][_0x16c2b8(0xfc)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x4212a7=_0x48de;function _0xc9cb(){const _0x5abeaf=['relatedTarget','resize','ck-reset','set','change','presencelist:hide','189735AOeEze','window','19172suXRAy','application','.ck-presence-list__list','div','ck-list','ck-presence-list__dropdown-list-wrapper_scrollable','element','ck-presence-list__dropdown-list','ck-presence-list__dropdown-list-wrapper','203008npqrzR','listWrapperView','innerHeight','setTemplate','items','fire','_isScrollable','listenTo','role','checkIfScrollable','Connected\x20users\x20list\x20dropdown\x20menu','querySelector','191338hxFPFI','5432UNqrut','bindTemplate','2343890yVknmP','render','1247454dvpVCK','clientHeight','ariaLabelledBy','ariaLabel','contains','5GYvpDw','171YOGXgt','max','1269WBOrjf','.ck-balloon-panel_with-arrow','scrollHeight'];_0xc9cb=function(){return _0x5abeaf;};return _0xc9cb();}function _0x48de(_0x3dca6e,_0x289e67){const _0xc9cba4=_0xc9cb();return _0x48de=function(_0x48de89,_0x23aebd){_0x48de89=_0x48de89-0xed;let _0x36d19e=_0xc9cba4[_0x48de89];return _0x36d19e;},_0x48de(_0x3dca6e,_0x289e67);}(function(_0x4619d5,_0x1b0f17){const _0x3f4359=_0x48de,_0x5af5e7=_0x4619d5();while(!![]){try{const _0x4474fe=-parseInt(_0x3f4359(0x116))/0x1+parseInt(_0x3f4359(0xf4))/0x2+-parseInt(_0x3f4359(0x10b))/0x3*(-parseInt(_0x3f4359(0x118))/0x4)+-parseInt(_0x3f4359(0x10a))/0x5*(parseInt(_0x3f4359(0x105))/0x6)+-parseInt(_0x3f4359(0x100))/0x7+parseInt(_0x3f4359(0x101))/0x8*(parseInt(_0x3f4359(0x10d))/0x9)+parseInt(_0x3f4359(0x103))/0xa;if(_0x4474fe===_0x1b0f17)break;else _0x5af5e7['push'](_0x5af5e7['shift']());}catch(_0x139231){_0x5af5e7['push'](_0x5af5e7['shift']());}}}(_0xc9cb,0x4452f));import{ListView as _0xcfabb4,View as _0x3fbc99}from'ckeditor5/src/ui.js';import{global as _0x511e91}from'ckeditor5/src/utils.js';import{getTranslation as _0x41eb56}from'../../common-translations.js';export default class x extends _0x3fbc99{[_0x4212a7(0xf5)];constructor(_0x2f3cd0,_0x10a001){const _0x5d06fe=_0x4212a7;super(_0x2f3cd0);const _0x2d5cd3=this[_0x5d06fe(0x102)];this[_0x5d06fe(0xf5)]=new PresenceDropdownListWrapperView(_0x2f3cd0,_0x10a001),this[_0x5d06fe(0xf7)]({'tag':_0x5d06fe(0xee),'attributes':{'tabindex':-0x1,'role':_0x5d06fe(0x119),'class':['ck',_0x5d06fe(0xf2)],'aria-label':_0x41eb56(_0x2f3cd0,_0x5d06fe(0xfe))},'children':[this[_0x5d06fe(0xf5)]],'on':{'mouseleave':_0x2d5cd3['to'](_0x4da3c1=>{const _0x404d96=_0x5d06fe,_0x4477b7=_0x4da3c1,_0x79778d=document[_0x404d96(0xff)](_0x404d96(0xed)),_0x5d45c7=document[_0x404d96(0xff)](_0x404d96(0x10e));_0x79778d?.[_0x404d96(0x109)](_0x4477b7[_0x404d96(0x110)])||_0x5d45c7?.[_0x404d96(0x109)](_0x4477b7[_0x404d96(0x110)])||this[_0x404d96(0xf9)](_0x404d96(0x115));})}});}}export class PresenceDropdownListWrapperView extends _0xcfabb4{constructor(_0x5e3108,_0xb0f4f6){const _0x11c0d5=_0x4212a7;super(_0x5e3108);const _0x3eb228=this[_0x11c0d5(0x102)];this[_0x11c0d5(0x113)](_0x11c0d5(0xfa),!0x1),this[_0x11c0d5(0xf7)]({'tag':_0xb0f4f6?_0x11c0d5(0xee):'ul','attributes':{'class':['ck',_0x11c0d5(0x112),_0x11c0d5(0xef),_0x11c0d5(0xf3),_0x3eb228['if'](_0x11c0d5(0xfa),_0x11c0d5(0xf0))],'role':_0x3eb228['to'](_0x11c0d5(0xfc)),'aria-label':_0x3eb228['to'](_0x11c0d5(0x108)),'aria-labelledby':_0x3eb228['to'](_0x11c0d5(0x107))},'children':this[_0x11c0d5(0xf8)]}),this[_0x11c0d5(0xfb)](_0x511e91[_0x11c0d5(0x117)],_0x11c0d5(0x111),()=>this[_0x11c0d5(0xfd)]()),this[_0x11c0d5(0xf8)]['on'](_0x11c0d5(0x114),()=>this[_0x11c0d5(0xfd)]());}[_0x4212a7(0x104)](){const _0x2e8b59=_0x4212a7;super[_0x2e8b59(0x104)](),this[_0x2e8b59(0xfd)]();}[_0x4212a7(0xfd)](){const _0x31fb9c=_0x4212a7,_0x2c69d4=this[_0x31fb9c(0xf1)];_0x2c69d4&&(this[_0x31fb9c(0xfa)]=Math[_0x31fb9c(0x10c)](_0x2c69d4[_0x31fb9c(0x10f)],_0x2c69d4[_0x31fb9c(0x106)])>0.8*window[_0x31fb9c(0xf6)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e71e1=_0x22aa;function _0x22aa(_0x5ca464,_0x352ecf){const _0x42dfb0=_0x42df();return _0x22aa=function(_0x22aab7,_0x529f9c){_0x22aab7=_0x22aab7-0xe7;let _0x10f8ad=_0x42dfb0[_0x22aab7];return _0x10f8ad;},_0x22aa(_0x5ca464,_0x352ecf);}function _0x42df(){const _0x1d844e=['span','markerView','bindTemplate','ck-presence-list__list-item__tooltip','button','1821457xJhYXn','1378764eVbJbc','setTemplate','10hQaCbP','ck-presence-list__marker','ck-presence-list__list-item','7msXESZ','isFocusable','template','div','tag','tooltipPosition','hasTooltip','name','listitem','15594vDexzz','fire','text','2uANmJa','true','set','65OvGiqA','1331226LAWYvY','color','243394jOhkYm','userView','3517011qBjkCQ','getBackgroundColorClass','execute','350440wqfnbg'];_0x42df=function(){return _0x1d844e;};return _0x42df();}(function(_0x4d970a,_0x2fce8b){const _0x57e023=_0x22aa,_0x1319e8=_0x4d970a();while(!![]){try{const _0x32a1b7=-parseInt(_0x57e023(0x108))/0x1*(parseInt(_0x57e023(0xeb))/0x2)+parseInt(_0x57e023(0xe9))/0x3+-parseInt(_0x57e023(0xf7))/0x4+parseInt(_0x57e023(0xe8))/0x5*(-parseInt(_0x57e023(0x105))/0x6)+parseInt(_0x57e023(0xfc))/0x7*(parseInt(_0x57e023(0xf0))/0x8)+parseInt(_0x57e023(0xed))/0x9+parseInt(_0x57e023(0xf9))/0xa*(parseInt(_0x57e023(0xf6))/0xb);if(_0x32a1b7===_0x2fce8b)break;else _0x1319e8['push'](_0x1319e8['shift']());}catch(_0x311a55){_0x1319e8['push'](_0x1319e8['shift']());}}}(_0x42df,0x67099));import{LabelView as _0x1b2224,View as _0x1b4f20}from'ckeditor5/src/ui.js';import{UserView as _0x31004e}from'ckeditor5-collaboration/src/collaboration-core.js';export default class y extends _0x1b4f20{[_0x3e71e1(0xec)];[_0x3e71e1(0xf2)];constructor(_0x35a603,_0x537fc3,_0x11aa12){const _0x5f078a=_0x3e71e1;super(_0x35a603);const _0x8b7cab=this[_0x5f078a(0xf3)];this[_0x5f078a(0xe7)](_0x5f078a(0xfd),!0x1),this[_0x5f078a(0xe7)](_0x5f078a(0x102),!0x0),this[_0x5f078a(0xe7)](_0x5f078a(0x101),''),this[_0x5f078a(0xec)]=new _0x31004e(_0x35a603,_0x537fc3),this[_0x5f078a(0xf2)]=new dt(_0x35a603,_0x537fc3);const _0x3bb6be=new _0x1b2224(_0x35a603);_0x3bb6be[_0x5f078a(0xfe)][_0x5f078a(0x100)]=_0x5f078a(0xf1),_0x3bb6be[_0x5f078a(0x107)]=_0x537fc3[_0x5f078a(0x103)];const _0x189d9b={'tag':_0x5f078a(0xff),'attributes':{'class':['ck',_0x5f078a(0xfb)],'role':_0x5f078a(0x104),'tabindex':_0x8b7cab['to'](_0x5f078a(0xfd),_0x445f6b=>!!_0x445f6b&&0x0),'aria-labelledby':_0x3bb6be['id'],'data-cke-tooltip-text':this[_0x5f078a(0xec)][_0x5f078a(0x103)],'data-cke-tooltip-position':_0x8b7cab['to'](_0x5f078a(0x101)),'data-cke-tooltip-disabled':_0x8b7cab['to'](_0x5f078a(0x102),_0xc54042=>!_0xc54042),'data-cke-tooltip-class':_0x5f078a(0xf4)},'children':[this[_0x5f078a(0xec)],this[_0x5f078a(0xf2)],_0x3bb6be]};_0x11aa12&&(_0x189d9b[_0x5f078a(0x100)]=_0x5f078a(0xf5),_0x189d9b['on']={'click':_0x8b7cab['to'](()=>this[_0x5f078a(0x106)](_0x5f078a(0xef)))}),this[_0x5f078a(0xf8)](_0x189d9b);}}class dt extends _0x1b4f20{constructor(_0x313626,_0x9a37d6){const _0xf06220=_0x3e71e1;super(_0x313626),this[_0xf06220(0xf8)]({'tag':_0xf06220(0xf1),'attributes':{'class':['ck',_0xf06220(0xfa),_0x9a37d6[_0xf06220(0xea)][_0xf06220(0xee)]()],'aria-hidden':_0xf06220(0x109)}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x555bcd=_0x4a40;function _0x4a40(_0x53235e,_0x5f3b51){const _0x5d0e0e=_0x5d0e();return _0x4a40=function(_0x4a4015,_0x53e170){_0x4a4015=_0x4a4015-0xe1;let _0x38764d=_0x5d0e0e[_0x4a4015];return _0x38764d;},_0x4a40(_0x53235e,_0x5f3b51);}(function(_0x5cde6e,_0x4aabf6){const _0x44bb5b=_0x4a40,_0x2ed62f=_0x5cde6e();while(!![]){try{const _0x31f5f8=-parseInt(_0x44bb5b(0x101))/0x1+-parseInt(_0x44bb5b(0xf2))/0x2*(-parseInt(_0x44bb5b(0x105))/0x3)+-parseInt(_0x44bb5b(0xe1))/0x4+-parseInt(_0x44bb5b(0x104))/0x5+-parseInt(_0x44bb5b(0xf8))/0x6*(-parseInt(_0x44bb5b(0xe4))/0x7)+parseInt(_0x44bb5b(0x106))/0x8+parseInt(_0x44bb5b(0x102))/0x9*(parseInt(_0x44bb5b(0xe2))/0xa);if(_0x31f5f8===_0x4aabf6)break;else _0x2ed62f['push'](_0x2ed62f['shift']());}catch(_0x10ca56){_0x2ed62f['push'](_0x2ed62f['shift']());}}}(_0x5d0e,0x2ce95));import{View as _0x206b0b}from'ckeditor5/src/ui.js';function _0x5d0e(){const _0x1932f3=['Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','keystrokes','contains','items','12306alaQUn','setTemplate','isExpanded','hasPopup','relatedTarget','focus','aria-expanded','.ck-balloon-panel_with-arrow','element','113744bIAZgT','1539558OESVfQ','presencelist:hide','1504835UvSeEw','958227AyzTTu','343536LhDHgz','div','756276wKBzGo','10dKtZbC','removeAttribute','868RMpxSw','presencelist:show','fire','querySelector','Connected\x20users\x20list','change:hasPopup','list','setAttribute','.ck-presence-list__dropdown-list','createCollection','bindTemplate','render','ck-presence-list__list','listenTo','2IhvYIF','set'];_0x5d0e=function(){return _0x1932f3;};return _0x5d0e();}import{KeystrokeHandler as _0x2b6f72}from'ckeditor5/src/utils.js';import{getTranslation as _0x57b64e}from'../../common-translations.js';export default class ts extends _0x206b0b{[_0x555bcd(0xf7)];[_0x555bcd(0xf5)];constructor(_0x5e5ab1){const _0x333d3a=_0x555bcd;super(_0x5e5ab1);const _0x133408=this[_0x333d3a(0xee)];this[_0x333d3a(0xf7)]=this[_0x333d3a(0xed)](),this[_0x333d3a(0xf5)]=new _0x2b6f72(),this[_0x333d3a(0xf3)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x333d3a(0xf9)]({'tag':_0x333d3a(0x107),'attributes':{'aria-haspopup':_0x133408['if'](_0x333d3a(0xfb)),'aria-expanded':_0x133408['to'](_0x333d3a(0xfa),_0x141ec5=>this[_0x333d3a(0xfb)]&&String(_0x141ec5)),'aria-label':_0x133408['to'](_0x333d3a(0xfb),_0x24fa3a=>_0x57b64e(_0x5e5ab1,_0x24fa3a?_0x333d3a(0xf4):_0x333d3a(0xe8))),'role':_0x333d3a(0xea),'tabindex':_0x133408['to'](_0x333d3a(0xfb),_0x3cd2d9=>!!_0x3cd2d9&&0x0),'class':['ck',_0x333d3a(0xf0)]},'children':this[_0x333d3a(0xf7)],'on':{'mouseenter':_0x133408['to'](()=>this[_0x333d3a(0xe6)](_0x333d3a(0xe5))),'mouseleave':_0x133408['to'](_0x15a5f=>{const _0x4e3d24=_0x333d3a,_0x264c64=_0x15a5f,_0x33ed69=document[_0x4e3d24(0xe7)](_0x4e3d24(0xec)),_0x5e67f7=document[_0x4e3d24(0xe7)](_0x4e3d24(0xff));_0x33ed69?.[_0x4e3d24(0xf6)](_0x264c64[_0x4e3d24(0xfc)])||_0x5e67f7?.[_0x4e3d24(0xf6)](_0x264c64[_0x4e3d24(0xfc)])||this[_0x4e3d24(0xe6)](_0x4e3d24(0x103));})}}),this['on'](_0x333d3a(0xe9),(_0x2e2a43,_0x39a2e9,_0x47109d)=>{const _0x1e3cbc=_0x333d3a;this[_0x1e3cbc(0x100)]&&(_0x47109d?this[_0x1e3cbc(0x100)][_0x1e3cbc(0xeb)](_0x1e3cbc(0xfe),String(this[_0x1e3cbc(0xfa)])):this[_0x1e3cbc(0x100)][_0x1e3cbc(0xe3)](_0x1e3cbc(0xfe)));});}[_0x555bcd(0xfd)](){const _0x263015=_0x555bcd;this[_0x263015(0x100)][_0x263015(0xfd)]();}[_0x555bcd(0xef)](){const _0x249658=_0x555bcd;super[_0x249658(0xef)](),this[_0x249658(0xf5)][_0x249658(0xf1)](this[_0x249658(0x100)]);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x4d3c46)());[_0xf1591a(0x1f8)];static get[_0xf1591a(0x1ca)](){const _0x9e58b5=_0xf1591a;return[_0x307520,_0x9e58b5(0x1dc),_0x3a1edf,_0x465582];}static get[_0xf1591a(0x1e6)](){const _0x48c115=_0xf1591a;return _0x48c115(0x1d7);}static get[_0xf1591a(0x1b9)](){return!0x0;}static get[_0xf1591a(0x1d2)](){return!0x0;}constructor(_0x45ee2c){const _0x2d6a46=_0xf1591a;super(_0x45ee2c),this[_0x2d6a46(0x1f8)]=new Map();}async[_0xf1591a(0x1d1)](){const _0x1138af=_0xf1591a,_0x5658ff=this[_0x1138af(0x1bd)],_0x36a38c=_0x5658ff[_0x1138af(0x217)][_0x1138af(0x1d5)](_0x1138af(0x1dc));if(_0x5658ff[_0x1138af(0x217)][_0x1138af(0x1d5)](_0x307520)[_0x1138af(0x1cb)](this),_0x36a38c[_0x1138af(0x212)]={'addCommentThread':async({channelId:_0x1441e9,threadId:_0x3fa84b,comments:_0x361224,resolvedAt:_0x521d4b,resolvedBy:_0x23a540,context:_0x2ef9ef,attributes:_0x11b98a})=>{const _0x4bcc5f=_0x1138af,_0x4b8e42=await this[_0x4bcc5f(0x1ce)](_0x1441e9)[_0x4bcc5f(0x1c0)]({'commentThreadId':_0x3fa84b,'comments':_0x361224[_0x4bcc5f(0x1e4)](_0x2d24b7=>function(_0x3d3d3c,_0x14fe75,_0x26304d){const _0x4eab8a=_0x4bcc5f;return{'commentThreadId':_0x26304d,'commentId':_0x3d3d3c[_0x4eab8a(0x1fb)],'userId':_0x3d3d3c[_0x4eab8a(0x1c3)],'content':_0x3d3d3c[_0x4eab8a(0x20f)],'documentId':_0x14fe75,'createdAt':_0x3d3d3c[_0x4eab8a(0x1f6)],'attributes':_0x3d3d3c[_0x4eab8a(0x1cc)]||{}};}(_0x2d24b7,_0x1441e9,_0x3fa84b)),'resolvedAt':_0x521d4b,'resolvedBy':_0x23a540,'context':_0x2ef9ef,'attributes':_0x11b98a})[_0x4bcc5f(0x1ba)](R);return{'threadId':_0x4b8e42[_0x4bcc5f(0x206)],'comments':_0x4b8e42[_0x4bcc5f(0x1ff)]};},'getCommentThread':async({channelId:_0xa47153,threadId:_0x3592d6})=>{const _0x4bef38=_0x1138af,_0x4724b4=await this[_0x4bef38(0x1ce)](_0xa47153)[_0x4bef38(0x20e)](_0x3592d6)[_0x4bef38(0x1ba)](R);return _0x4724b4[_0x4bef38(0x202)]?null:(await this[_0x4bef38(0x1e5)]([_0x4724b4]),{'threadId':_0x4724b4[_0x4bef38(0x206)],'comments':_0x4724b4[_0x4bef38(0x1ff)][_0x4bef38(0x1e4)](_),'context':_0x4724b4[_0x4bef38(0x1bd)],'resolvedAt':_0x4724b4[_0x4bef38(0x208)],'resolvedBy':_0x4724b4[_0x4bef38(0x1eb)],'attributes':_0x4724b4[_0x4bef38(0x1cc)]||{}});},'updateCommentThread':async({channelId:_0x4f7db3,threadId:_0xa68076,context:_0x3de4d5,unlinkedAt:_0x544630,attributes:_0x3b72f9})=>this[_0x1138af(0x1ce)](_0x4f7db3)[_0x1138af(0x1ea)]({'commentThreadId':_0xa68076,'context':_0x3de4d5,'attributes':_0x3b72f9,'unlinkedAt':_0x544630})[_0x1138af(0x1ba)](S)[_0x1138af(0x1ba)](R),'resolveCommentThread':async({channelId:_0x545450,threadId:_0x4625a1})=>{const _0xa8301f=_0x1138af,_0x1b8b74=await this[_0xa8301f(0x1ce)](_0x545450)[_0xa8301f(0x1c6)](_0x4625a1)[_0xa8301f(0x1ba)](S)[_0xa8301f(0x1ba)](R);return{'threadId':_0x1b8b74[_0xa8301f(0x206)],'resolvedAt':_0x1b8b74[_0xa8301f(0x208)],'resolvedBy':_0x1b8b74[_0xa8301f(0x1eb)]};},'reopenCommentThread':async({channelId:_0x5d7072,threadId:_0x298c08})=>this[_0x1138af(0x1ce)](_0x5d7072)[_0x1138af(0x1d0)](_0x298c08)[_0x1138af(0x1ba)](S)[_0x1138af(0x1ba)](R),'removeCommentThread':({channelId:_0x1daa41,threadId:_0x3cf2cc})=>this[_0x1138af(0x1ce)](_0x1daa41)[_0x1138af(0x219)](_0x3cf2cc)[_0x1138af(0x1ba)](S)[_0x1138af(0x1ba)](R),'addComment':({channelId:_0xa05df7,threadId:_0x1c5792,commentId:_0x275c0b,content:_0xfe138b,attributes:_0x3ae315})=>this[_0x1138af(0x1ce)](_0xa05df7)[_0x1138af(0x1f7)](_0x1c5792,_0x275c0b,_0xfe138b,_0x3ae315)[_0x1138af(0x1ba)](R),'updateComment':({channelId:_0x23f2ac,threadId:_0x3510c0,commentId:_0x244650,content:_0x38a6a7,attributes:_0x4e0d38})=>this[_0x1138af(0x1ce)](_0x23f2ac)[_0x1138af(0x1b6)](_0x3510c0,_0x244650,_0x38a6a7,_0x4e0d38)[_0x1138af(0x1ba)](S)[_0x1138af(0x1ba)](R),'removeComment':({channelId:_0x5afb4f,threadId:_0x5e4543,commentId:_0x14161d})=>this[_0x1138af(0x1ce)](_0x5afb4f)[_0x1138af(0x20a)](_0x5e4543,_0x14161d)[_0x1138af(0x1ba)](S)[_0x1138af(0x1ba)](R)},_0x5658ff instanceof _0x52f926){const _0x57c3d6=_0x5658ff[_0x1138af(0x20c)][_0x1138af(0x1d5)](_0x1138af(0x214)),_0x191a1a=_0x5658ff[_0x1138af(0x217)][_0x1138af(0x1d5)](_0x3a1edf);await this[_0x1138af(0x218)](_0x57c3d6);const _0x32aba5=await this[_0x1138af(0x1f8)][_0x1138af(0x1d5)](_0x57c3d6)[_0x1138af(0x1f2)]();this[_0x1138af(0x1db)](_0x191a1a,_0x1138af(0x1f3)+_0x57c3d6,(_0x5b1b9e,{session:_0x51fa00})=>{const _0x338a29=_0x1138af;_0x51fa00['id']===_0x191a1a[_0x338a29(0x1df)]&&(_0x5b1b9e[_0x338a29(0x1f9)](),this[_0x338a29(0x1bd)][_0x338a29(0x217)][_0x338a29(0x1d5)](_0x338a29(0x1be))[_0x338a29(0x20b)](_0x51fa00[_0x338a29(0x1cd)],_0x57c3d6));}),_0x191a1a[_0x1138af(0x1c8)](_0x57c3d6,_0x32aba5);}}async[_0xf1591a(0x218)](_0x1913e8){const _0x2ee4d6=_0xf1591a;if(this[_0x2ee4d6(0x1f8)][_0x2ee4d6(0x200)](_0x1913e8))throw new _0x1a40c5(_0x2ee4d6(0x1ef),null,{'channelId':_0x1913e8});const _0x5a62c5=this[_0x2ee4d6(0x1bd)][_0x2ee4d6(0x217)][_0x2ee4d6(0x1d5)](_0x2ee4d6(0x1dc)),_0x113203=new a[(_0x2ee4d6(0x1cf))](_0x1913e8);this[_0x2ee4d6(0x1f8)][_0x2ee4d6(0x203)](_0x1913e8,_0x113203),this[_0x2ee4d6(0x1db)](_0x113203,_0x2ee4d6(0x1e8),(_0x2b9273,_0x575084)=>{const _0x432c5b=_0x2ee4d6,{commentThreadId:_0x352838,documentId:_0x504161,context:_0x3c1318,attributes:_0x17c030,resolvedAt:_0x4e2608,resolvedBy:_0x325af0,comments:_0xffe384}=_0x575084;_0x5a62c5[_0x432c5b(0x20e)](_0x352838)||_0x5a62c5[_0x432c5b(0x1c0)]({'threadId':_0x352838,'channelId':_0x504161,'comments':_0xffe384?_0xffe384[_0x432c5b(0x1e4)](_):[],'context':_0x3c1318,'attributes':_0x17c030,'resolvedAt':_0x4e2608,'resolvedBy':_0x325af0,'isFromAdapter':!0x0});}),this[_0x2ee4d6(0x1db)](_0x113203,_0x2ee4d6(0x209),(_0x3a91f0,{commentThreadId:_0x2ae457,documentId:_0x2b4ab1,context:_0x4062ea,unlinkedAt:_0x2b58bd,attributes:_0xbec0b6})=>{const _0x3bc55f=_0x2ee4d6;_0x5a62c5[_0x3bc55f(0x20e)](_0x2ae457)&&_0x5a62c5[_0x3bc55f(0x1ea)]({'threadId':_0x2ae457,'channelId':_0x2b4ab1,'context':_0x4062ea,'unlinkedAt':_0x2b58bd,'attributes':_0xbec0b6,'isFromAdapter':!0x0});}),this[_0x2ee4d6(0x1db)](_0x113203,_0x2ee4d6(0x1e3),(_0x655f52,{commentThreadId:_0x2a3890,resolvedBy:_0x3aa87d,resolvedAt:_0x4d02bc})=>{const _0x38f74b=_0x2ee4d6,_0x454922=_0x5a62c5[_0x38f74b(0x20e)](_0x2a3890);_0x454922&&_0x454922[_0x38f74b(0x21b)]({'resolvedBy':_0x3aa87d,'resolvedAt':_0x4d02bc,'isFromAdapter':!0x0});}),this[_0x2ee4d6(0x1db)](_0x113203,_0x2ee4d6(0x1b7),(_0x34d282,{commentThreadId:_0x5a8e6a})=>{const _0x17c212=_0x2ee4d6,_0x4342de=_0x5a62c5[_0x17c212(0x20e)](_0x5a8e6a);_0x4342de&&_0x4342de[_0x17c212(0x216)]({'isFromAdapter':!0x0});}),this[_0x2ee4d6(0x1db)](_0x113203,_0x2ee4d6(0x210),(_0x563837,{commentThreadId:_0x5ca58b})=>{const _0x1f8c18=_0x2ee4d6,_0x5c70b4=_0x5a62c5[_0x1f8c18(0x20e)](_0x5ca58b);_0x5c70b4&&_0x5c70b4[_0x1f8c18(0x1fc)]({'isFromAdapter':!0x0});}),this[_0x2ee4d6(0x1db)](_0x113203,_0x2ee4d6(0x1ee),(_0x17ec7a,_0x37730b)=>{const _0x4a0fff=_0x2ee4d6,_0x1ba883=_0x37730b[_0x4a0fff(0x206)],_0x5de8f7=_0x5a62c5[_0x4a0fff(0x20e)](_0x1ba883);_0x5de8f7&&_0x5de8f7[_0x4a0fff(0x1f7)]({..._(_0x37730b),'isFromAdapter':!0x0});}),this[_0x2ee4d6(0x1db)](_0x113203,_0x2ee4d6(0x211),(_0x2b084b,{commentThreadId:_0x1e824c,commentId:_0x320fd0,content:_0x23d4f8,attributes:_0x2bad81})=>{const _0x1bd1ef=_0x2ee4d6,_0x582012=_0x5a62c5[_0x1bd1ef(0x20e)](_0x1e824c);if(_0x582012){const _0x235fef=_0x582012[_0x1bd1ef(0x1d6)](_0x320fd0);_0x235fef&&_0x235fef[_0x1bd1ef(0x1f5)]({'content':_0x23d4f8,'attributes':_0x2bad81,'isFromAdapter':!0x0});}}),this[_0x2ee4d6(0x1db)](_0x113203,_0x2ee4d6(0x205),(_0x485e1b,{commentThreadId:_0x1de342,commentId:_0x133208})=>{const _0x181825=_0x2ee4d6,_0x2cf68e=_0x5a62c5[_0x181825(0x20e)](_0x1de342);if(_0x2cf68e){const _0x2ea971=_0x2cf68e[_0x181825(0x1d6)](_0x133208);_0x2ea971&&_0x2ea971[_0x181825(0x1fc)]({'isFromAdapter':!0x0});}}),await this[_0x2ee4d6(0x1f0)](_0x1913e8);}[_0xf1591a(0x1fa)](){const _0x5a9bfa=_0xf1591a;if(this[_0x5a9bfa(0x1bd)]instanceof _0x52f926){const _0x4ff642=this[_0x5a9bfa(0x1bd)][_0x5a9bfa(0x20c)][_0x5a9bfa(0x1d5)](_0x5a9bfa(0x214));this[_0x5a9bfa(0x1e2)](_0x4ff642);}}[_0xf1591a(0x1e2)](_0x4678e7){const _0x2254f1=_0xf1591a;if(!this[_0x2254f1(0x1f8)][_0x2254f1(0x200)](_0x4678e7))throw new _0x1a40c5(_0x2254f1(0x204),null,{'channelId':_0x4678e7});this[_0x2254f1(0x1ce)](_0x4678e7)[_0x2254f1(0x1bb)](),this[_0x2254f1(0x1f8)][_0x2254f1(0x1b8)](_0x4678e7);}async[_0xf1591a(0x201)](){const _0x48dd6e=_0xf1591a;for(const _0x1e570d of this[_0x48dd6e(0x1f8)][_0x48dd6e(0x21a)]())await this[_0x48dd6e(0x1f0)](_0x1e570d);if(this[_0x48dd6e(0x1bd)]instanceof _0x52f926){const _0xa488e=this[_0x48dd6e(0x1bd)][_0x48dd6e(0x20c)][_0x48dd6e(0x1d5)](_0x48dd6e(0x214)),_0x380cc2=this[_0x48dd6e(0x1bd)][_0x48dd6e(0x217)][_0x48dd6e(0x1d5)](_0x3a1edf);_0x380cc2[_0x48dd6e(0x1c1)](_0xa488e);const _0x20b364=await this[_0x48dd6e(0x1f8)][_0x48dd6e(0x1d5)](_0xa488e)[_0x48dd6e(0x1f2)]();_0x380cc2[_0x48dd6e(0x1c8)](_0xa488e,_0x20b364);}}async[_0xf1591a(0x1f0)](_0x2f1d0d){const _0x1e8e8e=_0xf1591a,{connection:_0x4ea627}=this[_0x1e8e8e(0x1bd)][_0x1e8e8e(0x217)][_0x1e8e8e(0x1d5)](_0x307520),_0x3e60cb=this[_0x1e8e8e(0x1bd)][_0x1e8e8e(0x217)][_0x1e8e8e(0x1d5)](_0x1e8e8e(0x1dc)),_0x1c64ed=this[_0x1e8e8e(0x1f8)][_0x1e8e8e(0x1d5)](_0x2f1d0d),_0x3be162=await _0x1c64ed[_0x1e8e8e(0x1fd)](_0x4ea627);await this[_0x1e8e8e(0x1e5)](_0x3be162);const _0x47756d=new Set(Array[_0x1e8e8e(0x1da)](_0x3e60cb[_0x1e8e8e(0x1b5)]({'channelId':_0x2f1d0d}),_0x41ad7b=>_0x41ad7b['id']));for(const _0x1d7489 of _0x3be162)_0x1d7489[_0x1e8e8e(0x202)]||_0x47756d[_0x1e8e8e(0x1b8)](_0x1d7489[_0x1e8e8e(0x206)]);for(const _0x2135ad of _0x47756d)_0x3e60cb[_0x1e8e8e(0x20e)](_0x2135ad)[_0x1e8e8e(0x1fc)]({'isFromAdapter':!0x0});for(const _0x443255 of _0x3be162){let _0xa2a9d6=_0x3e60cb[_0x1e8e8e(0x20e)](_0x443255[_0x1e8e8e(0x206)]);const {commentThreadId:_0x1b8aec,context:_0x1c9367,attributes:_0x3690c4,resolvedBy:_0x4ea8db,resolvedAt:_0x524ef5,unlinkedAt:_0x4245f6,deletedAt:_0x34c3d9}=_0x443255;if(_0x34c3d9)continue;_0xa2a9d6||(_0xa2a9d6=_0x3e60cb[_0x1e8e8e(0x1c0)]({'channelId':_0x2f1d0d,'threadId':_0x1b8aec,'context':_0x1c9367,'attributes':_0x3690c4||{},'resolvedBy':_0x4ea8db,'resolvedAt':_0x524ef5,'unlinkedAt':_0x4245f6,'isFromAdapter':!0x0}));const _0x2aa309=new Set(Array[_0x1e8e8e(0x1da)](_0xa2a9d6[_0x1e8e8e(0x1ff)],_0x2bcb38=>_0x2bcb38['id']));for(const _0x2292f5 of _0x443255[_0x1e8e8e(0x1ff)])_0x2aa309[_0x1e8e8e(0x1b8)](_0x2292f5[_0x1e8e8e(0x1fb)]);for(const _0x566048 of _0x2aa309)_0xa2a9d6[_0x1e8e8e(0x1d6)](_0x566048)[_0x1e8e8e(0x1fc)]({'isFromAdapter':!0x0});for(const _0x762c3a of _0x443255[_0x1e8e8e(0x1ff)]){const _0x1b56fb=_0xa2a9d6[_0x1e8e8e(0x1d6)](_0x762c3a[_0x1e8e8e(0x1fb)]);_0x1b56fb?_0x1b56fb[_0x1e8e8e(0x20f)]!==_0x762c3a[_0x1e8e8e(0x20f)]&&_0x1b56fb[_0x1e8e8e(0x1f5)]({'content':_0x762c3a[_0x1e8e8e(0x20f)],'isFromAdapter':!0x0}):_0xa2a9d6[_0x1e8e8e(0x1f7)](Object[_0x1e8e8e(0x1d8)](_(_0x762c3a),{'isFromAdapter':!0x0}));}}}[_0xf1591a(0x1ce)](_0x4f2ebe){const _0x117c12=_0xf1591a;if(!this[_0x117c12(0x1f8)][_0x117c12(0x200)](_0x4f2ebe))throw new _0x1a40c5(_0x117c12(0x1e0),null,{'channelId':_0x4f2ebe});return this[_0x117c12(0x1f8)][_0x117c12(0x1d5)](_0x4f2ebe);}async[_0xf1591a(0x1e5)](_0x232268){const _0x39906c=_0xf1591a,_0x45a2d5=this[_0x39906c(0x1bd)][_0x39906c(0x217)][_0x39906c(0x1d5)](_0x465582),{connection:_0x2a3378}=this[_0x39906c(0x1bd)][_0x39906c(0x217)][_0x39906c(0x1d5)](_0x307520),_0x274b91=new Set();for(const {resolvedBy:_0x1fbe04,comments:_0xce18da}of _0x232268){_0x1fbe04&&!_0x45a2d5[_0x39906c(0x1ec)](_0x1fbe04)&&_0x274b91[_0x39906c(0x1c7)](_0x1fbe04);for(const {userId:_0x2963ce}of _0xce18da)_0x45a2d5[_0x39906c(0x1ec)](_0x2963ce)||_0x274b91[_0x39906c(0x1c7)](_0x2963ce);}if(0x0===_0x274b91[_0x39906c(0x213)])return;const _0x45104b=await _0x26d0c8[_0x39906c(0x1dd)](_0x2a3378,Array[_0x39906c(0x1da)](_0x274b91));for(const _0x13a1f3 of _0x45104b)_0x45a2d5[_0x39906c(0x1ec)](_0x13a1f3['id'])||_0x45a2d5[_0x39906c(0x1ed)](_0x13a1f3);}}export default a;async function S(_0x4db637){const _0x53c2e3=_0xf1591a;if(_0x53c2e3(0x1bc)!==_0x4db637[_0x53c2e3(0x1c9)])throw _0x4db637;}function _0x27da(_0x21e77c,_0x233235){const _0x23183c=_0x2318();return _0x27da=function(_0x27da08,_0x1da9e5){_0x27da08=_0x27da08-0x1b5;let _0x1d56e2=_0x23183c[_0x27da08];return _0x1d56e2;},_0x27da(_0x21e77c,_0x233235);}function R(_0x325fed){const _0x5d6298=_0xf1591a;if((_0x5b853f=_0x325fed)[_0x5d6298(0x1bf)][_0x5d6298(0x1c2)](_0x5d6298(0x1e7))||_0x5b853f[_0x5d6298(0x1bf)][_0x5d6298(0x1c2)](_0x5d6298(0x1c5))||_0x5b853f[_0x5d6298(0x1bf)][_0x5d6298(0x1c2)](_0x5d6298(0x1f1)))return new Promise(()=>{});var _0x5b853f;throw _0x325fed;}function _(_0x3a8363){const _0x212eae=_0xf1591a;return{'threadId':_0x3a8363[_0x212eae(0x206)],'commentId':_0x3a8363[_0x212eae(0x1fb)],'content':_0x3a8363[_0x212eae(0x20f)],'createdAt':_0x3a8363[_0x212eae(0x1f6)],'authorId':_0x3a8363[_0x212eae(0x207)],'attributes':_0x3a8363[_0x212eae(0x1cc)]||{}};}
|
|
23
|
+
const _0x44665b=_0x5831;(function(_0xa6346c,_0x402121){const _0x3bf4a2=_0x5831,_0x1ecec2=_0xa6346c();while(!![]){try{const _0x4c73d7=-parseInt(_0x3bf4a2(0x1ee))/0x1+parseInt(_0x3bf4a2(0x1ed))/0x2+-parseInt(_0x3bf4a2(0x1d1))/0x3+-parseInt(_0x3bf4a2(0x1e8))/0x4*(parseInt(_0x3bf4a2(0x22f))/0x5)+parseInt(_0x3bf4a2(0x204))/0x6*(-parseInt(_0x3bf4a2(0x202))/0x7)+parseInt(_0x3bf4a2(0x1f9))/0x8*(parseInt(_0x3bf4a2(0x1d6))/0x9)+parseInt(_0x3bf4a2(0x203))/0xa;if(_0x4c73d7===_0x402121)break;else _0x1ecec2['push'](_0x1ecec2['shift']());}catch(_0x33b743){_0x1ecec2['push'](_0x1ecec2['shift']());}}}(_0x1d31,0x6bdb2));import{Context as _0x234a0d,ContextPlugin as _0x3ca9f7}from'ckeditor5/src/core.js';import{CKEditorError as _0x52165a}from'ckeditor5/src/utils.js';import{Users as _0x52483b}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x204580,User as _0x40a02d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x150938 from'../realtimecollaborativeediting/websocketgateway.js';import _0x1cf3e5 from'../realtimecollaborativeediting/sessions.js';function _0x1d31(){const _0x14f48c=['unregister','attributes','getConnectedSessions','has','addToReconnectionStack','Permissions','reopen','CommentsRepository','404','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','content','cloud-services-internal-error:\x20Request\x20timeout.','code','getUser','keys','message','permissions','CloudServicesCommentsAdapter','getComment','plugins','setPermissions','addComment','commentThreadAdded','get','adapter','startsWith','updateComment','cloudservicescommentsadapter-connect-already-connected','mySessionId','assign','reopenCommentThread','addUser','destroy','getMany','getCommentThread','updateCommentThread','_terminateService','2901110mIXVUV','authorId','commentThreadUpdated','cloud-services-internal-error:\x20Not\x20connected.','listenTo','commentThreadId','from','commentRemoved','936111IrMBLO','isOfficialPlugin','commentThreadRemoved','cloudservicescommentsadapter-service-not-exist','_connectService','4278825tEMYdz','userId','deletedAt','sessionAdd:','resolvedBy','commentUpdated','reconnect','commentAdded','resolvedAt','delete','init','resolveCommentThread','set','disconnect','add','collaboration.channelId','config','register','4fBVYnW','pluginName','_setUpService','getCommentThreads','catch','1207482UMNvql','318211qVSLCZ','removeCommentThread','map','addCommentThread','comments','isPremiumPlugin','remove','_getService','commentThreadReopened','requires','size','8rkwKlt','update','cloudservicescommentsadapter-disconnect-not-exist','commentThreadResolved','createdAt','connect','_services','commentId','CommentsService','21iafyiF','6104980lFWvfq','74832CHrbGa','context','off','resolve','_fetchMissingUsersForThreads','removeComment'];_0x1d31=function(){return _0x14f48c;};return _0x1d31();}class a extends _0x3ca9f7{static [_0x44665b(0x201)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x204580)());[_0x44665b(0x1ff)];static get[_0x44665b(0x1f7)](){const _0x4d5c95=_0x44665b;return[_0x150938,_0x4d5c95(0x211),_0x1cf3e5,_0x52483b];}static get[_0x44665b(0x1e9)](){const _0x7cf04c=_0x44665b;return _0x7cf04c(0x21b);}static get[_0x44665b(0x1d2)](){return!0x0;}static get[_0x44665b(0x1f3)](){return!0x0;}constructor(_0x55fc4b){const _0x3502af=_0x44665b;super(_0x55fc4b),this[_0x3502af(0x1ff)]=new Map();}async[_0x44665b(0x1e0)](){const _0x35790f=_0x44665b,_0xa30f03=this[_0x35790f(0x205)],_0x1c2e4c=_0xa30f03[_0x35790f(0x21d)][_0x35790f(0x221)](_0x35790f(0x211));if(_0xa30f03[_0x35790f(0x21d)][_0x35790f(0x221)](_0x150938)[_0x35790f(0x20e)](this),_0x1c2e4c[_0x35790f(0x222)]={'addCommentThread':async({channelId:_0x503801,threadId:_0x36035e,comments:_0x3ffbfa,resolvedAt:_0x318f2e,resolvedBy:_0x450261,context:_0x5643d8,attributes:_0x54a2ff})=>{const _0x42a77d=_0x35790f,_0x5f4a0a=await this[_0x42a77d(0x1f5)](_0x503801)[_0x42a77d(0x1f1)]({'commentThreadId':_0x36035e,'comments':_0x3ffbfa[_0x42a77d(0x1f0)](_0x39ea9e=>function(_0x33f2b8,_0x3107d2,_0x63545e){const _0x3884e8=_0x42a77d;return{'commentThreadId':_0x63545e,'commentId':_0x33f2b8[_0x3884e8(0x200)],'userId':_0x33f2b8[_0x3884e8(0x230)],'content':_0x33f2b8[_0x3884e8(0x214)],'documentId':_0x3107d2,'createdAt':_0x33f2b8[_0x3884e8(0x1fd)],'attributes':_0x33f2b8[_0x3884e8(0x20b)]||{}};}(_0x39ea9e,_0x503801,_0x36035e)),'resolvedAt':_0x318f2e,'resolvedBy':_0x450261,'context':_0x5643d8,'attributes':_0x54a2ff})[_0x42a77d(0x1ec)](nt);return{'threadId':_0x5f4a0a[_0x42a77d(0x234)],'comments':_0x5f4a0a[_0x42a77d(0x1f2)]};},'getCommentThread':async({channelId:_0x187e01,threadId:_0x556f42})=>{const _0x414add=_0x35790f,_0xf3ed2c=await this[_0x414add(0x1f5)](_0x187e01)[_0x414add(0x22c)](_0x556f42)[_0x414add(0x1ec)](nt);return _0xf3ed2c[_0x414add(0x1d8)]?null:(await this[_0x414add(0x208)]([_0xf3ed2c]),{'threadId':_0xf3ed2c[_0x414add(0x234)],'comments':_0xf3ed2c[_0x414add(0x1f2)][_0x414add(0x1f0)](st),'context':_0xf3ed2c[_0x414add(0x205)],'resolvedAt':_0xf3ed2c[_0x414add(0x1de)],'resolvedBy':_0xf3ed2c[_0x414add(0x1da)],'attributes':_0xf3ed2c[_0x414add(0x20b)]||{}});},'updateCommentThread':async({channelId:_0x5948fc,threadId:_0x2e0060,context:_0x273a73,unlinkedAt:_0x4af73a,attributes:_0x4f62f1})=>this[_0x35790f(0x1f5)](_0x5948fc)[_0x35790f(0x22d)]({'commentThreadId':_0x2e0060,'context':_0x273a73,'attributes':_0x4f62f1,'unlinkedAt':_0x4af73a})[_0x35790f(0x1ec)](ot)[_0x35790f(0x1ec)](nt),'resolveCommentThread':async({channelId:_0x1523a4,threadId:_0x2d6a11})=>{const _0x43e7cd=_0x35790f,_0x19987b=await this[_0x43e7cd(0x1f5)](_0x1523a4)[_0x43e7cd(0x1e1)](_0x2d6a11)[_0x43e7cd(0x1ec)](ot)[_0x43e7cd(0x1ec)](nt);return{'threadId':_0x19987b[_0x43e7cd(0x234)],'resolvedAt':_0x19987b[_0x43e7cd(0x1de)],'resolvedBy':_0x19987b[_0x43e7cd(0x1da)]};},'reopenCommentThread':async({channelId:_0x1f16fb,threadId:_0x208000})=>this[_0x35790f(0x1f5)](_0x1f16fb)[_0x35790f(0x228)](_0x208000)[_0x35790f(0x1ec)](ot)[_0x35790f(0x1ec)](nt),'removeCommentThread':({channelId:_0x1662ca,threadId:_0x46a8d8})=>this[_0x35790f(0x1f5)](_0x1662ca)[_0x35790f(0x1ef)](_0x46a8d8)[_0x35790f(0x1ec)](ot)[_0x35790f(0x1ec)](nt),'addComment':({channelId:_0x4a810d,threadId:_0x2161dd,commentId:_0x3513cf,content:_0x3bc717,attributes:_0x4773f5})=>this[_0x35790f(0x1f5)](_0x4a810d)[_0x35790f(0x21f)](_0x2161dd,_0x3513cf,_0x3bc717,_0x4773f5)[_0x35790f(0x1ec)](nt),'updateComment':({channelId:_0x39c167,threadId:_0x26fd51,commentId:_0x28d9a8,content:_0x148458,attributes:_0x31001d})=>this[_0x35790f(0x1f5)](_0x39c167)[_0x35790f(0x224)](_0x26fd51,_0x28d9a8,_0x148458,_0x31001d)[_0x35790f(0x1ec)](ot)[_0x35790f(0x1ec)](nt),'removeComment':({channelId:_0x2bc229,threadId:_0x37c963,commentId:_0x1d6217})=>this[_0x35790f(0x1f5)](_0x2bc229)[_0x35790f(0x209)](_0x37c963,_0x1d6217)[_0x35790f(0x1ec)](ot)[_0x35790f(0x1ec)](nt)},_0xa30f03 instanceof _0x234a0d){const _0x4bf73d=_0xa30f03[_0x35790f(0x1e6)][_0x35790f(0x221)](_0x35790f(0x1e5)),_0x4f933a=_0xa30f03[_0x35790f(0x21d)][_0x35790f(0x221)](_0x1cf3e5);await this[_0x35790f(0x1ea)](_0x4bf73d);const _0x3c183e=await this[_0x35790f(0x1ff)][_0x35790f(0x221)](_0x4bf73d)[_0x35790f(0x20c)]();this[_0x35790f(0x233)](_0x4f933a,_0x35790f(0x1d9)+_0x4bf73d,(_0x388aee,{session:_0x525896})=>{const _0x3f2c8c=_0x35790f;_0x525896['id']===_0x4f933a[_0x3f2c8c(0x226)]&&(_0x388aee[_0x3f2c8c(0x206)](),this[_0x3f2c8c(0x205)][_0x3f2c8c(0x21d)][_0x3f2c8c(0x221)](_0x3f2c8c(0x20f))[_0x3f2c8c(0x21e)](_0x525896[_0x3f2c8c(0x21a)],_0x4bf73d));}),_0x4f933a[_0x35790f(0x1e7)](_0x4bf73d,_0x3c183e);}}async[_0x44665b(0x1ea)](_0x480bc1){const _0x29847d=_0x44665b;if(this[_0x29847d(0x1ff)][_0x29847d(0x20d)](_0x480bc1))throw new _0x52165a(_0x29847d(0x225),null,{'channelId':_0x480bc1});const _0x1c0c0e=this[_0x29847d(0x205)][_0x29847d(0x21d)][_0x29847d(0x221)](_0x29847d(0x211)),_0x408020=new a[(_0x29847d(0x201))](_0x480bc1);this[_0x29847d(0x1ff)][_0x29847d(0x1e2)](_0x480bc1,_0x408020),this[_0x29847d(0x233)](_0x408020,_0x29847d(0x220),(_0x4c4861,_0x3ccdc7)=>{const _0x20a636=_0x29847d,{commentThreadId:_0x486d29,documentId:_0x524f82,context:_0x2fc952,attributes:_0x50a078,resolvedAt:_0x40cde6,resolvedBy:_0x366bc5,comments:_0x5762d2}=_0x3ccdc7;_0x1c0c0e[_0x20a636(0x22c)](_0x486d29)||_0x1c0c0e[_0x20a636(0x1f1)]({'threadId':_0x486d29,'channelId':_0x524f82,'comments':_0x5762d2?_0x5762d2[_0x20a636(0x1f0)](st):[],'context':_0x2fc952,'attributes':_0x50a078,'resolvedAt':_0x40cde6,'resolvedBy':_0x366bc5,'isFromAdapter':!0x0});}),this[_0x29847d(0x233)](_0x408020,_0x29847d(0x231),(_0x35f544,{commentThreadId:_0x22c319,documentId:_0x1138e5,context:_0x350e4c,unlinkedAt:_0x5e1f21,attributes:_0x5d9bb4})=>{const _0x4613a6=_0x29847d;_0x1c0c0e[_0x4613a6(0x22c)](_0x22c319)&&_0x1c0c0e[_0x4613a6(0x22d)]({'threadId':_0x22c319,'channelId':_0x1138e5,'context':_0x350e4c,'unlinkedAt':_0x5e1f21,'attributes':_0x5d9bb4,'isFromAdapter':!0x0});}),this[_0x29847d(0x233)](_0x408020,_0x29847d(0x1fc),(_0x3d7bcd,{commentThreadId:_0x28305a,resolvedBy:_0x53da77,resolvedAt:_0x21de22})=>{const _0x108a32=_0x29847d,_0x289908=_0x1c0c0e[_0x108a32(0x22c)](_0x28305a);_0x289908&&_0x289908[_0x108a32(0x207)]({'resolvedBy':_0x53da77,'resolvedAt':_0x21de22,'isFromAdapter':!0x0});}),this[_0x29847d(0x233)](_0x408020,_0x29847d(0x1f6),(_0x4191f8,{commentThreadId:_0xce9045})=>{const _0x29792a=_0x29847d,_0x44f739=_0x1c0c0e[_0x29792a(0x22c)](_0xce9045);_0x44f739&&_0x44f739[_0x29792a(0x210)]({'isFromAdapter':!0x0});}),this[_0x29847d(0x233)](_0x408020,_0x29847d(0x1d3),(_0x407b0e,{commentThreadId:_0x4bb29b})=>{const _0xa70695=_0x29847d,_0x1a1edb=_0x1c0c0e[_0xa70695(0x22c)](_0x4bb29b);_0x1a1edb&&_0x1a1edb[_0xa70695(0x1f4)]({'isFromAdapter':!0x0});}),this[_0x29847d(0x233)](_0x408020,_0x29847d(0x1dd),(_0x53a98f,_0x292832)=>{const _0x432916=_0x29847d,_0x569882=_0x292832[_0x432916(0x234)],_0x518719=_0x1c0c0e[_0x432916(0x22c)](_0x569882);_0x518719&&_0x518719[_0x432916(0x21f)]({...st(_0x292832),'isFromAdapter':!0x0});}),this[_0x29847d(0x233)](_0x408020,_0x29847d(0x1db),(_0x592ae5,{commentThreadId:_0x3c0c87,commentId:_0x234180,content:_0x2721fb,attributes:_0x4fd071})=>{const _0x550847=_0x29847d,_0x38662f=_0x1c0c0e[_0x550847(0x22c)](_0x3c0c87);if(_0x38662f){const _0x3b433e=_0x38662f[_0x550847(0x21c)](_0x234180);_0x3b433e&&_0x3b433e[_0x550847(0x1fa)]({'content':_0x2721fb,'attributes':_0x4fd071,'isFromAdapter':!0x0});}}),this[_0x29847d(0x233)](_0x408020,_0x29847d(0x1d0),(_0x1891ab,{commentThreadId:_0xb3558f,commentId:_0x10d89b})=>{const _0x431546=_0x29847d,_0x1594ff=_0x1c0c0e[_0x431546(0x22c)](_0xb3558f);if(_0x1594ff){const _0x2a7336=_0x1594ff[_0x431546(0x21c)](_0x10d89b);_0x2a7336&&_0x2a7336[_0x431546(0x1f4)]({'isFromAdapter':!0x0});}}),await this[_0x29847d(0x1d5)](_0x480bc1);}[_0x44665b(0x22a)](){const _0xed5ee4=_0x44665b;if(this[_0xed5ee4(0x205)]instanceof _0x234a0d){const _0x46f2a1=this[_0xed5ee4(0x205)][_0xed5ee4(0x1e6)][_0xed5ee4(0x221)](_0xed5ee4(0x1e5));this[_0xed5ee4(0x22e)](_0x46f2a1);}}[_0x44665b(0x22e)](_0x236b67){const _0x5b946a=_0x44665b;if(!this[_0x5b946a(0x1ff)][_0x5b946a(0x20d)](_0x236b67))throw new _0x52165a(_0x5b946a(0x1fb),null,{'channelId':_0x236b67});this[_0x5b946a(0x1f5)](_0x236b67)[_0x5b946a(0x1e3)](),this[_0x5b946a(0x1ff)][_0x5b946a(0x1df)](_0x236b67);}async[_0x44665b(0x1dc)](){const _0x62ac71=_0x44665b;for(const _0xc78047 of this[_0x62ac71(0x1ff)][_0x62ac71(0x218)]())await this[_0x62ac71(0x1d5)](_0xc78047);if(this[_0x62ac71(0x205)]instanceof _0x234a0d){const _0x5d6ed9=this[_0x62ac71(0x205)][_0x62ac71(0x1e6)][_0x62ac71(0x221)](_0x62ac71(0x1e5)),_0x5d4301=this[_0x62ac71(0x205)][_0x62ac71(0x21d)][_0x62ac71(0x221)](_0x1cf3e5);_0x5d4301[_0x62ac71(0x20a)](_0x5d6ed9);const _0x252240=await this[_0x62ac71(0x1ff)][_0x62ac71(0x221)](_0x5d6ed9)[_0x62ac71(0x20c)]();_0x5d4301[_0x62ac71(0x1e7)](_0x5d6ed9,_0x252240);}}async[_0x44665b(0x1d5)](_0x1a67dd){const _0x47baa3=_0x44665b,{connection:_0x38affb}=this[_0x47baa3(0x205)][_0x47baa3(0x21d)][_0x47baa3(0x221)](_0x150938),_0x5656c4=this[_0x47baa3(0x205)][_0x47baa3(0x21d)][_0x47baa3(0x221)](_0x47baa3(0x211)),_0x185950=this[_0x47baa3(0x1ff)][_0x47baa3(0x221)](_0x1a67dd),_0x158cee=await _0x185950[_0x47baa3(0x1fe)](_0x38affb);await this[_0x47baa3(0x208)](_0x158cee);const _0x312d21=new Set(Array[_0x47baa3(0x1cf)](_0x5656c4[_0x47baa3(0x1eb)]({'channelId':_0x1a67dd}),_0xd3d2a9=>_0xd3d2a9['id']));for(const _0x2c7b3f of _0x158cee)_0x2c7b3f[_0x47baa3(0x1d8)]||_0x312d21[_0x47baa3(0x1df)](_0x2c7b3f[_0x47baa3(0x234)]);for(const _0x25fccf of _0x312d21)_0x5656c4[_0x47baa3(0x22c)](_0x25fccf)[_0x47baa3(0x1f4)]({'isFromAdapter':!0x0});for(const _0x13504a of _0x158cee){let _0x152430=_0x5656c4[_0x47baa3(0x22c)](_0x13504a[_0x47baa3(0x234)]);const {commentThreadId:_0x2a4343,context:_0x1ade5c,attributes:_0x397189,resolvedBy:_0x280fb5,resolvedAt:_0x4d8dfa,unlinkedAt:_0x29fe1c,deletedAt:_0x1d8d1d}=_0x13504a;if(_0x1d8d1d)continue;_0x152430||(_0x152430=_0x5656c4[_0x47baa3(0x1f1)]({'channelId':_0x1a67dd,'threadId':_0x2a4343,'context':_0x1ade5c,'attributes':_0x397189||{},'resolvedBy':_0x280fb5,'resolvedAt':_0x4d8dfa,'unlinkedAt':_0x29fe1c,'isFromAdapter':!0x0}));const _0x23699e=new Set(Array[_0x47baa3(0x1cf)](_0x152430[_0x47baa3(0x1f2)],_0x5470c8=>_0x5470c8['id']));for(const _0x117847 of _0x13504a[_0x47baa3(0x1f2)])_0x23699e[_0x47baa3(0x1df)](_0x117847[_0x47baa3(0x200)]);for(const _0x4e2091 of _0x23699e)_0x152430[_0x47baa3(0x21c)](_0x4e2091)[_0x47baa3(0x1f4)]({'isFromAdapter':!0x0});for(const _0x28c81b of _0x13504a[_0x47baa3(0x1f2)]){const _0x3c6808=_0x152430[_0x47baa3(0x21c)](_0x28c81b[_0x47baa3(0x200)]);_0x3c6808?_0x3c6808[_0x47baa3(0x214)]!==_0x28c81b[_0x47baa3(0x214)]&&_0x3c6808[_0x47baa3(0x1fa)]({'content':_0x28c81b[_0x47baa3(0x214)],'isFromAdapter':!0x0}):_0x152430[_0x47baa3(0x21f)](Object[_0x47baa3(0x227)](st(_0x28c81b),{'isFromAdapter':!0x0}));}}}[_0x44665b(0x1f5)](_0x1688ba){const _0x3d50c9=_0x44665b;if(!this[_0x3d50c9(0x1ff)][_0x3d50c9(0x20d)](_0x1688ba))throw new _0x52165a(_0x3d50c9(0x1d4),null,{'channelId':_0x1688ba});return this[_0x3d50c9(0x1ff)][_0x3d50c9(0x221)](_0x1688ba);}async[_0x44665b(0x208)](_0x33df7e){const _0x2c395b=_0x44665b,_0x3e80c6=this[_0x2c395b(0x205)][_0x2c395b(0x21d)][_0x2c395b(0x221)](_0x52483b),{connection:_0x3ca396}=this[_0x2c395b(0x205)][_0x2c395b(0x21d)][_0x2c395b(0x221)](_0x150938),_0x2a5a9d=new Set();for(const {resolvedBy:_0x40d02e,comments:_0x11fe1b}of _0x33df7e){_0x40d02e&&!_0x3e80c6[_0x2c395b(0x217)](_0x40d02e)&&_0x2a5a9d[_0x2c395b(0x1e4)](_0x40d02e);for(const {userId:_0x25f6bc}of _0x11fe1b)_0x3e80c6[_0x2c395b(0x217)](_0x25f6bc)||_0x2a5a9d[_0x2c395b(0x1e4)](_0x25f6bc);}if(0x0===_0x2a5a9d[_0x2c395b(0x1f8)])return;const _0x252a6a=await _0x40a02d[_0x2c395b(0x22b)](_0x3ca396,Array[_0x2c395b(0x1cf)](_0x2a5a9d));for(const _0x1fe50b of _0x252a6a)_0x3e80c6[_0x2c395b(0x217)](_0x1fe50b['id'])||_0x3e80c6[_0x2c395b(0x229)](_0x1fe50b);}}export default a;function _0x5831(_0x12c3fb,_0x33d384){const _0x1d317a=_0x1d31();return _0x5831=function(_0x5831d6,_0x3365b0){_0x5831d6=_0x5831d6-0x1cf;let _0x250761=_0x1d317a[_0x5831d6];return _0x250761;},_0x5831(_0x12c3fb,_0x33d384);}async function ot(_0x57c56f){const _0x2055ed=_0x44665b;if(_0x2055ed(0x212)!==_0x57c56f[_0x2055ed(0x216)])throw _0x57c56f;}function nt(_0x40bf0f){const _0x568d8f=_0x44665b;if((_0x38adc7=_0x40bf0f)[_0x568d8f(0x219)][_0x568d8f(0x223)](_0x568d8f(0x213))||_0x38adc7[_0x568d8f(0x219)][_0x568d8f(0x223)](_0x568d8f(0x232))||_0x38adc7[_0x568d8f(0x219)][_0x568d8f(0x223)](_0x568d8f(0x215)))return new Promise(()=>{});var _0x38adc7;throw _0x40bf0f;}function st(_0x3b8cb9){const _0x45c403=_0x44665b;return{'threadId':_0x3b8cb9[_0x45c403(0x234)],'commentId':_0x3b8cb9[_0x45c403(0x200)],'content':_0x3b8cb9[_0x45c403(0x214)],'createdAt':_0x3b8cb9[_0x45c403(0x1fd)],'authorId':_0x3b8cb9[_0x45c403(0x1d7)],'attributes':_0x3b8cb9[_0x45c403(0x20b)]||{}};}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x413d05)());[_0x1d9750(0x100)];[_0x1d9750(0x1e4)];[_0x1d9750(0x160)];[_0x1d9750(0xf8)];[_0x1d9750(0x131)];[_0x1d9750(0x14c)];[_0x1d9750(0x117)];[_0x1d9750(0x1ed)];[_0x1d9750(0x17d)];[_0x1d9750(0x169)];[_0x1d9750(0x1a7)];[_0x1d9750(0x1f2)];[_0x1d9750(0x10a)];[_0x1d9750(0x10d)];[_0x1d9750(0x168)];[_0x1d9750(0x1ba)];[_0x1d9750(0x1d3)];[_0x1d9750(0x166)];static get[_0x1d9750(0x120)](){return[_0x37cbb4,_0x30f466,_0x36c406,_0x24976f,_0x2aeab1,_0x3e5185];}static get[_0x1d9750(0x185)](){const _0x1553cb=_0x1d9750;return _0x1553cb(0x189);}static get[_0x1d9750(0x152)](){return!0x0;}static get[_0x1d9750(0xfe)](){return!0x0;}get[_0x1d9750(0x144)](){const _0x4fd34a=_0x1d9750;return this[_0x4fd34a(0x184)]+this[_0x4fd34a(0x100)];}get[_0x1d9750(0x184)](){const _0x2384a7=_0x1d9750;return this[_0x2384a7(0x160)][_0x2384a7(0x194)]-this[_0x2384a7(0x100)];}get[_0x1d9750(0x16f)](){const _0x36fba4=_0x1d9750,_0x5d8b96=this[_0x36fba4(0x160)][_0x36fba4(0x135)]();for(let _0x1c4d06=_0x5d8b96[_0x36fba4(0x149)]-0x1;_0x1c4d06>=0x0;_0x1c4d06--){const _0x7e130d=_0x5d8b96[_0x1c4d06];if(!this[_0x36fba4(0x1d3)][_0x36fba4(0x12c)](_0x7e130d))return _0x7e130d[_0x36fba4(0x174)]+0x1-this[_0x36fba4(0x100)];}return 0x0;}constructor(_0x4966e0){const _0x3b2cb0=_0x1d9750;if(super(_0x4966e0),this[_0x3b2cb0(0x100)]=0x0,this[_0x3b2cb0(0x1e4)]=null,this[_0x3b2cb0(0x160)]=new _0x20def2(),this[_0x3b2cb0(0x124)][_0x3b2cb0(0x116)][_0x3b2cb0(0x1bf)](_0x3b2cb0(0x1da),{}),this[_0x3b2cb0(0xf8)]=this[_0x3b2cb0(0x124)][_0x3b2cb0(0x116)][_0x3b2cb0(0x102)](_0x3b2cb0(0x133)),!this[_0x3b2cb0(0xf8)])throw new _0x459194(_0x3b2cb0(0x1a3),this);const _0x4cc8d7=_0x4966e0[_0x3b2cb0(0x116)][_0x3b2cb0(0x102)](_0x3b2cb0(0x118))||_0x34bc48;this[_0x3b2cb0(0x131)]=new l[(_0x3b2cb0(0x171))](_0x4cc8d7,this[_0x3b2cb0(0xf8)]),this[_0x3b2cb0(0x14c)]=this[_0x3b2cb0(0x124)][_0x3b2cb0(0x1d2)][_0x3b2cb0(0x1bc)],this[_0x3b2cb0(0x117)]=new _0x2fc9ea(),this[_0x3b2cb0(0x1ed)]=[],this[_0x3b2cb0(0x17d)]=new WeakSet(),this[_0x3b2cb0(0x169)]=new Set(),this[_0x3b2cb0(0x114)](_0x3b2cb0(0x159),!0x1),this[_0x3b2cb0(0x114)](_0x3b2cb0(0x1db),!0x1),this[_0x3b2cb0(0x1a7)]=null,this[_0x3b2cb0(0x1f2)]=!0x1,this[_0x3b2cb0(0x10a)]=null,this[_0x3b2cb0(0x10d)]=0x12c,this[_0x3b2cb0(0x168)]=this[_0x3b2cb0(0x10d)],this[_0x3b2cb0(0x1ba)]=null,this[_0x3b2cb0(0x1d3)]=new WeakSet(),this[_0x3b2cb0(0x166)]=new Y(this[_0x3b2cb0(0x1d3)]);}[_0x1d9750(0x1b3)](){const _0x51f1f4=_0x1d9750,_0x162662=this[_0x51f1f4(0x124)],_0x2aaf2e=_0x162662[_0x51f1f4(0x177)][_0x51f1f4(0x102)](_0x2aeab1),_0x4aba7e=_0x162662[_0x51f1f4(0x177)][_0x51f1f4(0x102)](_0x37cbb4);this[_0x51f1f4(0x1d7)](_0x2aaf2e,_0x51f1f4(0x187),(_0x85858e,_0x2ba511)=>{const _0x19e950=_0x51f1f4,_0x355c55=_0x2ba511[0x0];_0x355c55[_0x19e950(0xf4)]&&(_0x85858e[_0x19e950(0x16c)]=_0x2aaf2e[_0x19e950(0x109)](_0x355c55[_0x19e950(0xf4)]),_0x85858e[_0x19e950(0x162)]()),null===_0x355c55[_0x19e950(0xf4)]&&(_0x85858e[_0x19e950(0x16c)]=null,_0x85858e[_0x19e950(0x162)]());},{'priority':_0x51f1f4(0x1e7)}),this[_0x51f1f4(0x1d7)](_0x162662[_0x51f1f4(0x1d2)][_0x51f1f4(0x1bc)][_0x51f1f4(0x17b)],_0x51f1f4(0x13e),(_0x18bc77,_0x3332ad)=>{const _0x1976e8=_0x51f1f4;_0x3332ad[_0x1976e8(0x1d0)]&&this[_0x1976e8(0x143)]();}),this[_0x51f1f4(0x1d7)](_0x162662[_0x51f1f4(0x1b7)][_0x51f1f4(0x11b)],_0x51f1f4(0x1d8),()=>{const _0x4f7a54=_0x51f1f4;this[_0x4f7a54(0x143)]();}),this[_0x51f1f4(0x1a9)](),_0x162662[_0x51f1f4(0x1d2)]['on'](_0x51f1f4(0x1c1),(_0x4521b3,_0x53d286)=>{const _0x57fe9e=_0x51f1f4,_0x1e4b35=_0x53d286[0x0];_0x1e4b35[_0x57fe9e(0x148)]&&(this[_0x57fe9e(0x1e1)](_0x1e4b35),this[_0x57fe9e(0x172)]()&&this[_0x57fe9e(0xff)]());}),this[_0x51f1f4(0x17e)](),this[_0x51f1f4(0x190)](_0x51f1f4(0x1e3))['to'](_0x4aba7e,_0x51f1f4(0x111),this,_0x51f1f4(0x1db),(_0x189f03,_0x51112e)=>_0x51f1f4(0x1e5)===_0x189f03&&!_0x51112e),this['on'](_0x51f1f4(0x122),()=>{const _0x3766db=_0x51f1f4;this[_0x3766db(0x1e3)]?_0x162662[_0x3766db(0x191)](_0x3766db(0x15b)):_0x162662[_0x3766db(0x115)](_0x3766db(0x15b));}),this[_0x51f1f4(0x1e3)]?_0x162662[_0x51f1f4(0x191)](_0x51f1f4(0x15b)):_0x162662[_0x51f1f4(0x115)](_0x51f1f4(0x15b)),this[_0x51f1f4(0x114)](_0x51f1f4(0x132),!0x1);}async[_0x1d9750(0xf9)](){const _0x14f218=_0x1d9750,_0xf4a4fe=this[_0x14f218(0x124)][_0x14f218(0x177)][_0x14f218(0x102)](_0x30f466),_0x1051be=this[_0x14f218(0x124)][_0x14f218(0x177)][_0x14f218(0x102)](_0x37cbb4);try{this[_0x14f218(0x159)]=!0x0,_0xf4a4fe[_0x14f218(0x1ad)](this[_0x14f218(0xf8)]);const _0xa06431=await this[_0x14f218(0x131)][_0x14f218(0xf9)](_0x1051be[_0x14f218(0xf7)],this[_0x14f218(0x16f)]);await this[_0x14f218(0x125)](_0xa06431)&&(this[_0x14f218(0x159)]=!0x1,this[_0x14f218(0x126)]());const _0xa2b4d7=await this[_0x14f218(0x131)][_0x14f218(0x175)]();_0xf4a4fe[_0x14f218(0x146)](this[_0x14f218(0xf8)],_0xa2b4d7),this[_0x14f218(0x156)](),this[_0x14f218(0x132)]=!0x0;}catch(_0x4d1c2d){if(function(_0x4e249a){const _0x1e6f5d=_0x14f218;return _0x1e6f5d(0x17a)===_0x4e249a[_0x1e6f5d(0x1a4)];}(_0x4d1c2d)&&this[_0x14f218(0x1e4)])await this[_0x14f218(0x1f6)]();else{if(function(_0x5f004f){const _0x5385a4=_0x14f218;return _0x5385a4(0x163)===_0x5f004f[_0x5385a4(0x1a4)];}(_0x4d1c2d)){const _0x58c60f=_0x3bdffb(this[_0x14f218(0x124)][_0x14f218(0x1b9)],_0x14f218(0x11e));this[_0x14f218(0x18a)](_0x58c60f);}else{if(!(_0x4d1c2d instanceof Q))throw _0x4d1c2d;this[_0x14f218(0x18a)]();}}}}[_0x1d9750(0x139)](){const _0x416e65=_0x1d9750,_0x21e73d=this[_0x416e65(0x124)][_0x416e65(0x177)][_0x416e65(0x102)](_0x37cbb4),_0xa94a8=this[_0x416e65(0x124)][_0x416e65(0x177)][_0x416e65(0x102)](_0x30f466);this[_0x416e65(0x124)][_0x416e65(0x115)](_0x416e65(0x173)),_0xa94a8[_0x416e65(0xfa)][_0x416e65(0x12c)](this[_0x416e65(0xf8)])&&_0xa94a8[_0x416e65(0x1ad)](this[_0x416e65(0xf8)]),_0x21e73d[_0x416e65(0x1e6)](this),this[_0x416e65(0x1c9)](),super[_0x416e65(0x139)]();}async[_0x1d9750(0x125)](_0x29f9c1){const _0x551ed0=_0x1d9750;if(this[_0x551ed0(0x1e4)]!==_0x29f9c1[_0x551ed0(0x1e4)]&&this[_0x551ed0(0x1ba)]!==_0x29f9c1[_0x551ed0(0x1aa)])throw new Q();return this[_0x551ed0(0x1e4)]=_0x29f9c1[_0x551ed0(0x1e4)],this[_0x551ed0(0x19e)]([],{..._0x29f9c1,'wereChangesApplied':!0x1,'data':_0x29f9c1[_0x551ed0(0x19a)]},_0x551ed0(0xf9));}async[_0x1d9750(0x1cb)](_0x4fee5a,_0x161bdc=!0x1){const _0x4d5af4=_0x1d9750,{connection:_0x5e6fae}=this[_0x4d5af4(0x124)][_0x4d5af4(0x177)][_0x4d5af4(0x102)](_0x37cbb4);l[_0x4d5af4(0x171)][_0x4d5af4(0x175)](_0x5e6fae,this[_0x4d5af4(0xf8)])[_0x4d5af4(0x18c)](_0x295f72=>this[_0x4d5af4(0x113)](_0x295f72))[_0x4d5af4(0x1bd)](_0x5ec239=>{const _0x34125c=_0x4d5af4;this[_0x34125c(0x14d)](_0x34125c(0x12b),_0x5ec239);}),this[_0x4d5af4(0x1d7)](this[_0x4d5af4(0x131)],_0x4d5af4(0x198),this[_0x4d5af4(0x141)][_0x4d5af4(0x190)](this)),this[_0x4d5af4(0x1d7)](this[_0x4d5af4(0x131)],_0x4d5af4(0x1ca),(_0x296c64,_0x4c640f)=>{const _0x21e039=_0x4d5af4;this[_0x21e039(0x14d)](_0x21e039(0x140),_0x4c640f);}),this[_0x4d5af4(0x1d7)](this[_0x4d5af4(0x131)],_0x4d5af4(0x19b),()=>{const _0x487e2b=_0x4d5af4;this[_0x487e2b(0x132)]=!0x1;});const _0x1a24ea=this[_0x4d5af4(0x166)][_0x4d5af4(0x12d)](_0x4fee5a);this[_0x4d5af4(0x159)]=!0x0;const _0x252076=await this[_0x4d5af4(0x131)][_0x4d5af4(0x123)](_0x5e6fae,this[_0x4d5af4(0x1dd)](_0x4fee5a),_0x1a24ea);if(this[_0x4d5af4(0x1e4)]=_0x252076[_0x4d5af4(0x1e4)],_0x161bdc){if(!_0x252076[_0x4d5af4(0x1e2)])return void this[_0x4d5af4(0x18a)]();this[_0x4d5af4(0x159)]=!0x1,this[_0x4d5af4(0x126)](),this[_0x4d5af4(0x160)][_0x4d5af4(0x1f7)](),this[_0x4d5af4(0x100)]=_0x252076[_0x4d5af4(0x15a)],this[_0x4d5af4(0x160)][_0x4d5af4(0x194)]=this[_0x4d5af4(0x100)],await this[_0x4d5af4(0x19e)](_0x4fee5a,_0x252076,_0x4d5af4(0x13b));}else await this[_0x4d5af4(0x1a0)](_0x252076,_0x4fee5a);this[_0x4d5af4(0x156)](),this[_0x4d5af4(0x132)]=!0x0;}[_0x1d9750(0x156)](){const _0x562b53=_0x1d9750,_0x2e931f=this[_0x562b53(0x124)][_0x562b53(0x177)][_0x562b53(0x102)](_0x30f466),_0x4d4545=this[_0x562b53(0x124)][_0x562b53(0x177)][_0x562b53(0x102)](_0x36c406),_0x2e7bd9=_0x2e931f[_0x562b53(0xfa)][_0x562b53(0x102)](this[_0x562b53(0xf8)]);_0x2e7bd9&&_0x2e7bd9[_0x562b53(0x149)]>0x1?_0x4d4545[_0x562b53(0x161)]():this[_0x562b53(0x1d7)](_0x2e931f,_0x562b53(0x142)+this[_0x562b53(0xf8)],()=>{const _0x57009c=_0x562b53;0x2===_0x2e931f[_0x57009c(0xfa)][_0x57009c(0x102)](this[_0x57009c(0xf8)])[_0x57009c(0x149)]&&_0x4d4545[_0x57009c(0x161)]();});}async[_0x1d9750(0x141)](_0xf7eab8,_0x262943,_0x3e0306,_0x5c5c1e){const _0x9b0d1c=_0x1d9750;if(!this[_0x9b0d1c(0x159)]&&this[_0x9b0d1c(0x14c)][_0x9b0d1c(0x194)]==_0x262943){const _0x30646d=this[_0x9b0d1c(0x165)](_0x3e0306,_0x5c5c1e);await this[_0x9b0d1c(0x1d5)](_0x30646d),this[_0x9b0d1c(0x18f)](_0x30646d,_0x262943,_0x3e0306[_0x9b0d1c(0x1aa)])||this[_0x9b0d1c(0x14d)](_0x9b0d1c(0x1b1));}}async[_0x1d9750(0x1f6)](){const _0x453ce9=_0x1d9750;this[_0x453ce9(0x1c9)]();const {locale:_0x38d0d1}=this[_0x453ce9(0x124)];let _0x9895bc;try{_0x9895bc=await this[_0x453ce9(0x131)][_0x453ce9(0x182)]();}catch(_0x5de8b6){const _0x5dd424=_0x3bdffb(_0x38d0d1,_0x453ce9(0x1df));return void this[_0x453ce9(0x18a)](_0x5dd424);}const _0x4cf6a5=_0x9895bc[_0x453ce9(0x19c)]||_0x9895bc[_0x453ce9(0x183)];if(this[_0x453ce9(0x1ba)]===_0x4cf6a5[_0x453ce9(0x1aa)])await this[_0x453ce9(0x1cb)](this[_0x453ce9(0x124)][_0x453ce9(0x1d2)][_0x453ce9(0x1bc)][_0x453ce9(0x18d)][_0x453ce9(0x135)](),!0x0);else{const _0x13d711=_0x3bdffb(_0x38d0d1,_0x453ce9(0xf2));this[_0x453ce9(0x18a)](_0x13d711);}}[_0x1d9750(0x1c9)](){const _0x2ac860=_0x1d9750;this[_0x2ac860(0x131)][_0x2ac860(0x110)](),this[_0x2ac860(0x1ed)]=[],clearTimeout(this[_0x2ac860(0x10a)]),this[_0x2ac860(0x1b2)](this[_0x2ac860(0x131)]);}[_0x1d9750(0x113)](_0x446161){const _0x470df8=_0x1d9750,_0x505f6d=this[_0x470df8(0x124)][_0x470df8(0x177)][_0x470df8(0x102)](_0x30f466);this[_0x470df8(0x1d7)](_0x505f6d,_0x470df8(0x142)+this[_0x470df8(0xf8)],(_0x1f4f36,{session:_0x2a0c8b})=>{const _0x84adcf=_0x470df8;if(_0x2a0c8b['id']===_0x505f6d[_0x84adcf(0x121)]){_0x1f4f36[_0x84adcf(0x12f)]();const _0x573de8=this[_0x84adcf(0x124)][_0x84adcf(0x177)][_0x84adcf(0x12c)](_0x84adcf(0x1c2))&&this[_0x84adcf(0x124)][_0x84adcf(0x177)][_0x84adcf(0x102)](_0x84adcf(0x1c2));let _0x33e7eb=_0x2a0c8b[_0x84adcf(0x1dc)];_0x573de8&&_0x573de8[_0x84adcf(0x1be)]&&(_0x33e7eb=_0x33e7eb[_0x84adcf(0x18b)](_0x34c058=>_0x84adcf(0x1d9)!==_0x34c058)),this[_0x84adcf(0x124)][_0x84adcf(0x177)][_0x84adcf(0x102)](_0x84adcf(0xfb))[_0x84adcf(0x1af)](_0x33e7eb,this[_0x84adcf(0xf8)]);}}),_0x505f6d[_0x470df8(0x146)](this[_0x470df8(0xf8)],_0x446161);}[_0x1d9750(0x1a9)](){const _0x315921=_0x1d9750,_0x406409=this[_0x315921(0x124)][_0x315921(0x19a)][_0x315921(0x114)];this[_0x315921(0x124)][_0x315921(0x19a)][_0x315921(0x114)]=(..._0x1be783)=>{const _0x4403ad=_0x315921;if(!_0x1be783[_0x1be783[_0x4403ad(0x149)]-0x1][_0x4403ad(0x193)])throw new _0x459194(_0x4403ad(0x13d),this);_0x406409[_0x4403ad(0x1ab)](this[_0x4403ad(0x124)][_0x4403ad(0x19a)],_0x1be783);};}[_0x1d9750(0x17e)](){const _0x5b8a63=_0x1d9750;this[_0x5b8a63(0x124)][_0x5b8a63(0x19a)]['on'](_0x5b8a63(0x1b3),(_0x156da6,[_0x4c419e])=>{const _0x24a837=_0x5b8a63;if(this[_0x24a837(0x14c)][_0x24a837(0x194)])throw new _0x459194(_0x24a837(0x10e),this);_0x156da6[_0x24a837(0x162)](),this[_0x24a837(0x11d)]();const _0x18faf0=this[_0x24a837(0x124)][_0x24a837(0x116)][_0x24a837(0x102)](_0x24a837(0x147)),_0x288b67=this[_0x24a837(0x11a)](_0x4c419e,_0x18faf0);0x0==_0x288b67[_0x24a837(0x149)]&&_0x288b67[_0x24a837(0x1ee)](new _0x2afa1d(0x0)),_0x156da6[_0x24a837(0x16c)]=this[_0x24a837(0x1cb)](_0x288b67)[_0x24a837(0x18c)](()=>{const _0x1f67df=_0x24a837;this[_0x1f67df(0x124)][_0x1f67df(0x177)][_0x1f67df(0x102)](_0x37cbb4)[_0x1f67df(0x106)](this),this[_0x1f67df(0x124)][_0x1f67df(0x19a)][_0x1f67df(0x1eb)](_0x1f67df(0xfd));})[_0x24a837(0x1bd)](_0x4d2bd4=>this[_0x24a837(0x14d)](_0x24a837(0x155),_0x4d2bd4))[_0x24a837(0x16e)](()=>this[_0x24a837(0x126)]());},{'priority':_0x5b8a63(0x1e7)}),this[_0x5b8a63(0x124)]['on'](_0x5b8a63(0xf5),async(_0x46cfaf,[_0x360999,_0xeea9f3])=>{const _0x1d7e63=_0x5b8a63;_0x46cfaf[_0x1d7e63(0x162)]();const _0x258014=this[_0x1d7e63(0x124)][_0x1d7e63(0x1d2)][_0x1d7e63(0x1bc)][_0x1d7e63(0x16b)](_0x360999);if(!this[_0x1d7e63(0x169)][_0x1d7e63(0x12c)](_0x360999)){const _0x344dc2=_0xeea9f3&&_0xeea9f3[_0x1d7e63(0x19a)]?_0xeea9f3[_0x1d7e63(0x19a)]:'',_0x58741a=_0xeea9f3&&_0xeea9f3[_0x1d7e63(0x134)]?_0xeea9f3[_0x1d7e63(0x134)]:{};await this[_0x1d7e63(0x16d)](_0x360999,_0x344dc2,_0x58741a);}this[_0x1d7e63(0x124)][_0x1d7e63(0x1d2)][_0x1d7e63(0x1c3)]({'isUndoable':!0x1},()=>{const _0x4d8e89=_0x1d7e63;_0x258014[_0x4d8e89(0x1e0)]=!0x0,this[_0x4d8e89(0x124)][_0x4d8e89(0x1d2)][_0x4d8e89(0x1bc)][_0x4d8e89(0x136)][_0x4d8e89(0x1c6)](_0x258014);});},{'priority':_0x5b8a63(0x1e7)});}async[_0x1d9750(0x1d5)](_0x5f0bfd){const _0x311760=_0x1d9750,_0x31b816=this[_0x311760(0x124)][_0x311760(0x177)][_0x311760(0x102)](_0x2aeab1),{connection:_0x489486}=this[_0x311760(0x124)][_0x311760(0x177)][_0x311760(0x102)](_0x37cbb4),_0x1f1c23=new Set();for(const _0x2f817f of _0x5f0bfd){const _0x4a4009=_0x2f817f[_0x311760(0xf4)];_0x4a4009&&!_0x31b816[_0x311760(0x109)](_0x4a4009)&&_0x1f1c23[_0x311760(0x10c)](_0x4a4009);}if(0x0===_0x1f1c23[_0x311760(0x145)])return;const _0x44500a=await _0x165eb0[_0x311760(0x153)](_0x489486,Array[_0x311760(0x195)](_0x1f1c23));for(const _0x15ef35 of _0x44500a)_0x31b816[_0x311760(0x109)](_0x15ef35['id'])||_0x31b816[_0x311760(0x196)](_0x15ef35);}[_0x1d9750(0x11a)](_0x4bc8fc,_0x5cb42b={}){const _0x39d611=_0x1d9750,_0x3f8388=this[_0x39d611(0x124)][_0x39d611(0x1d2)],_0x65fb73=[];let _0x291ad5=0x0;const _0x1d4bfd=_0x39d611(0x13c)==typeof _0x4bc8fc?{'main':_0x4bc8fc}:_0x4bc8fc;for(const _0x5d3a74 of Object[_0x39d611(0x18e)](_0x1d4bfd)){if(!this[_0x39d611(0x14c)][_0x39d611(0x103)][_0x39d611(0x12c)](_0x5d3a74))throw new _0x459194(_0x39d611(0x1a1),this);const _0x2b2923=this[_0x39d611(0x124)][_0x39d611(0x19a)][_0x39d611(0x107)](_0x1d4bfd[_0x5d3a74]),_0x527c3f=this[_0x39d611(0x14c)][_0x39d611(0x16b)](_0x5d3a74),_0x2efa27=new _0x1833d2(_0x3f8388[_0x39d611(0x12e)](_0x527c3f,0x0),_0x2b2923,_0x291ad5++);_0x65fb73[_0x39d611(0x1ee)](_0x2efa27);for(const [_0x2e02ef,_0x175ca8]of _0x2b2923[_0x39d611(0xf1)]){const _0x4c3770=_0x3f8388[_0x39d611(0x15c)](_0x3f8388[_0x39d611(0xfc)](_0x527c3f,_0x175ca8[_0x39d611(0x1c0)][_0x39d611(0xf6)][_0x39d611(0x130)]()),_0x3f8388[_0x39d611(0xfc)](_0x527c3f,_0x175ca8[_0x39d611(0x1b6)][_0x39d611(0xf6)][_0x39d611(0x130)]())),_0x588bea=new _0x4f51ec(_0x2e02ef,null,_0x4c3770,_0x3f8388[_0x39d611(0xf1)],!0x0,_0x291ad5++);_0x65fb73[_0x39d611(0x1ee)](_0x588bea);}}if(_0x5cb42b)for(const [_0x3fb0df,_0xd6408a]of Object[_0x39d611(0x1cc)](_0x5cb42b)){const _0x3f640f=_0x3f8388[_0x39d611(0x1bc)][_0x39d611(0x16b)](_0x3fb0df);if(!_0x3f640f)throw new _0x459194(_0x39d611(0x10b),null);for(const [_0x5c8414,_0x403305]of Object[_0x39d611(0x1cc)](_0xd6408a))if(null!==_0x403305){const _0x4bc712=new _0x229a96(_0x3f640f,_0x5c8414,null,_0x403305,_0x291ad5++);_0x65fb73[_0x39d611(0x1ee)](_0x4bc712);}}return _0x65fb73;}async[_0x1d9750(0x16d)](_0x508f2f,_0x3eaabb,_0x2f4b44){const _0x2b7a7c=_0x1d9750;this[_0x2b7a7c(0x11a)]({[_0x508f2f]:_0x3eaabb},{[_0x508f2f]:_0x2f4b44})[_0x2b7a7c(0x179)]((_0x4fc152,_0x330501)=>{const _0x10eb79=_0x2b7a7c;_0x4fc152[_0x10eb79(0x174)]=this[_0x10eb79(0x14c)][_0x10eb79(0x194)]+_0x330501,_0x4fc152[_0x10eb79(0x129)]=!0x0,this[_0x10eb79(0x1e1)](_0x4fc152);}),this[_0x2b7a7c(0xff)](),await this[_0x2b7a7c(0xf3)]();}async[_0x1d9750(0x1a0)](_0x2f513d,_0x5be6f7){const _0x4a18b2=_0x1d9750;let _0x552bd4;this[_0x4a18b2(0x100)]=_0x2f513d[_0x4a18b2(0x15a)];const _0x472552=_0x2f513d[_0x4a18b2(0x1e2)]&&!_0x2f513d[_0x4a18b2(0x1d6)],_0x26be20=_0x472552?0x0:_0x2f513d[_0x4a18b2(0x19a)][_0x4a18b2(0x174)];if(_0x5be6f7[_0x4a18b2(0x179)](_0x589ba4=>{const _0x51cfa4=_0x4a18b2;_0x589ba4[_0x51cfa4(0x129)]=!0x0,_0x589ba4[_0x51cfa4(0x1a6)]=_0x2f513d[_0x51cfa4(0xf0)],_0x589ba4[_0x51cfa4(0xf4)]=null;}),_0x472552)_0x552bd4=_0x5be6f7,this[_0x4a18b2(0x1b4)](_0x552bd4,_0x472552);else{if(_0x2f513d[_0x4a18b2(0x1d6)]){const _0x5b86db=this[_0x4a18b2(0x11a)](_0x2f513d[_0x4a18b2(0x1d6)]);this[_0x4a18b2(0x14c)][_0x4a18b2(0x18d)][_0x4a18b2(0x194)]=-_0x5b86db[_0x4a18b2(0x149)],_0x5b86db[_0x4a18b2(0x179)](_0x591229=>{const _0x948798=_0x4a18b2;_0x591229[_0x948798(0x174)]-=_0x5b86db[_0x948798(0x149)],_0x591229[_0x948798(0x1a6)]=_0x2f513d[_0x948798(0xf0)],_0x591229[_0x948798(0x129)]=!0x0,_0x591229[_0x948798(0xf4)]=null;}),this[_0x4a18b2(0x1b4)](_0x5b86db,!0x0),this[_0x4a18b2(0x160)][_0x4a18b2(0x194)]=-_0x5b86db[_0x4a18b2(0x149)]+this[_0x4a18b2(0x100)],this[_0x4a18b2(0x170)](_0x5b86db);}this[_0x4a18b2(0x14c)][_0x4a18b2(0x18d)][_0x4a18b2(0x194)]=_0x26be20,_0x552bd4=this[_0x4a18b2(0x165)](_0x2f513d[_0x4a18b2(0x19a)],_0x2f513d[_0x4a18b2(0x1cd)]),await this[_0x4a18b2(0x1d5)](_0x552bd4),this[_0x4a18b2(0x1b4)](_0x552bd4,_0x472552);}_0x2f513d[_0x4a18b2(0x1aa)]&&(this[_0x4a18b2(0x166)][_0x4a18b2(0x178)](_0x552bd4,_0x2f513d[_0x4a18b2(0x1aa)]),this[_0x4a18b2(0x1ba)]=_0x2f513d[_0x4a18b2(0x1aa)]),this[_0x4a18b2(0x160)][_0x4a18b2(0x194)]=_0x26be20+this[_0x4a18b2(0x100)],this[_0x4a18b2(0x170)](_0x552bd4),_0x5be6f7[_0x4a18b2(0x18b)](_0x490400=>{const _0x50b673=_0x4a18b2,_0x15cce5=this[_0x50b673(0x1ac)](_0x490400);return _0x15cce5&&!this[_0x50b673(0x169)][_0x50b673(0x12c)](_0x15cce5);})[_0x4a18b2(0x179)]((_0x4e6017,_0x338024)=>{const _0x589725=_0x4a18b2;_0x4e6017[_0x589725(0x174)]=this[_0x589725(0x14c)][_0x589725(0x194)]+_0x338024,this[_0x589725(0x1e1)](_0x4e6017);}),this[_0x4a18b2(0x172)]()?(this[_0x4a18b2(0x168)]=0x0,this[_0x4a18b2(0xff)](!0x0),await this[_0x4a18b2(0xf3)]()):(this[_0x4a18b2(0x159)]=!0x1,this[_0x4a18b2(0x126)]());}[_0x1d9750(0x14d)](_0x518bd3,_0x128a16){const _0x5190a7=_0x1d9750,_0x29161b=_0x128a16&&_0x128a16[_0x5190a7(0x158)];if(_0x29161b&&_0x29161b[_0x5190a7(0x197)](_0x5190a7(0x1f0)))throw _0x128a16;const _0x245f0a=this[_0x5190a7(0x124)][_0x5190a7(0x177)][_0x5190a7(0x102)](_0x37cbb4);throw this[_0x5190a7(0x159)]=!0x0,_0x245f0a[_0x5190a7(0x110)](),this[_0x5190a7(0x124)][_0x5190a7(0x115)](_0x5190a7(0x14f)),new _0x459194(_0x518bd3,this[_0x5190a7(0x124)],_0x29161b?{'originalError':_0x29161b}:void 0x0);}[_0x1d9750(0x1e1)](_0xf5fb8a){const _0x3eebac=_0x1d9750;this[_0x3eebac(0x17d)][_0x3eebac(0x12c)](_0xf5fb8a)||(this[_0x3eebac(0x17d)][_0x3eebac(0x10c)](_0xf5fb8a),this[_0x3eebac(0x1ed)][_0x3eebac(0x1ee)](_0xf5fb8a),this[_0x3eebac(0x1a7)]||_0x3eebac(0x17c)==_0xf5fb8a[_0x3eebac(0x1c4)]&&!_0xf5fb8a[_0x3eebac(0x199)]||this[_0x3eebac(0x11d)]());}[_0x1d9750(0xff)](_0x2555a8=!0x1){const _0x4420a6=_0x1d9750;!_0x2555a8&&this[_0x4420a6(0x159)]||(this[_0x4420a6(0x159)]=!0x0,clearTimeout(this[_0x4420a6(0x10a)]),this[_0x4420a6(0x10a)]=setTimeout(()=>{const _0x5db52b=_0x4420a6;this[_0x5db52b(0x1a2)]()[_0x5db52b(0x18c)](_0x175409=>{const _0x51393f=_0x5db52b;_0x175409&&(this[_0x51393f(0x126)](),this[_0x51393f(0x159)]=!0x1);})[_0x5db52b(0x1bd)](_0x4c74ca=>{const _0x394f26=_0x5db52b;this[_0x394f26(0x126)](),this[_0x394f26(0x159)]=!0x1,function(_0x45cf12){const _0x1ab01f=_0x394f26;return _0x45cf12[_0x1ab01f(0x158)][_0x1ab01f(0x197)](_0x1ab01f(0x176))||_0x45cf12[_0x1ab01f(0x158)][_0x1ab01f(0x197)](_0x1ab01f(0x1ea))||_0x45cf12[_0x1ab01f(0x158)][_0x1ab01f(0x197)](_0x1ab01f(0x1a8));}(_0x4c74ca)||this[_0x394f26(0x14d)](_0x4c74ca[_0x394f26(0x158)],_0x4c74ca);});},this[_0x4420a6(0x168)]));}[_0x1d9750(0xf3)](){return new Promise(_0x51eb76=>{const _0x5f10d6=_0x1a1a;this['on'](_0x5f10d6(0x180),()=>{_0x51eb76();});});}async[_0x1d9750(0x1a2)](){const _0x409245=_0x1d9750,_0x5be5d2=this[_0x409245(0x124)][_0x409245(0x177)][_0x409245(0x102)](_0x36c406);if(this[_0x409245(0x12a)]()&&(_0x5be5d2[_0x409245(0x161)](),this[_0x409245(0x1f2)]=!0x1),!this[_0x409245(0x172)]())return!0x0;const _0x457fae=[...this[_0x409245(0x1ed)]];for(const _0x300e58 of _0x457fae)_0x300e58[_0x409245(0x119)]=this[_0x409245(0x14c)][_0x409245(0x18d)][_0x409245(0x1b8)](_0x300e58);const _0x4a2d36=this[_0x409245(0x166)][_0x409245(0x12d)](_0x457fae),_0x1e6d94=J++,_0x245a4d=this[_0x409245(0x1dd)](_0x457fae),_0x4e9a4b=await this[_0x409245(0x131)][_0x409245(0x104)](_0x245a4d,_0x245a4d[_0x409245(0x174)],_0x4a2d36);try{return await this[_0x409245(0x19e)](_0x457fae,_0x4e9a4b,_0x1e6d94);}catch(_0x17eabd){return this[_0x409245(0x14d)](_0x409245(0x1ce),_0x17eabd);}}async[_0x1d9750(0x19e)](_0xf0450,_0x10de8e,_0x253c7f){const _0x1bb5da=_0x1d9750;if(_0x1bb5da(0x1ca)in _0x10de8e)throw _0x10de8e[_0x1bb5da(0x1ca)];let _0x280971=!0x1;if(_0x10de8e[_0x1bb5da(0x1e2)]){_0x10de8e[_0x1bb5da(0x1aa)]&&(this[_0x1bb5da(0x1ba)]=_0x10de8e[_0x1bb5da(0x1aa)]),this[_0x1bb5da(0x1ed)]=this[_0x1bb5da(0x1ed)][_0x1bb5da(0x18b)](_0x1b8118=>!_0xf0450[_0x1bb5da(0x192)](_0x1b8118));for(const _0x12f47f of _0xf0450)_0x12f47f[_0x1bb5da(0x1a6)]=_0x1bb5da(0x128)in _0x10de8e&&_0x10de8e[_0x1bb5da(0x128)]||void 0x0;X(_0xf0450,_0x10de8e[_0x1bb5da(0x194)]-_0xf0450[_0x1bb5da(0x149)]),this[_0x1bb5da(0x170)](_0xf0450);const _0x1fce44=_0xf0450[_0x1bb5da(0x18b)](_0x8be8f=>{const _0x28e209=_0x1bb5da;if(!_0x8be8f[_0x28e209(0x129)])return!0x1;const _0x4cf129=this[_0x28e209(0x1ac)](_0x8be8f);return _0x4cf129&&!this[_0x28e209(0x169)][_0x28e209(0x12c)](_0x4cf129);});X(_0x1fce44,this[_0x1bb5da(0x14c)][_0x1bb5da(0x194)]),this[_0x1bb5da(0x1b4)](_0x1fce44),_0x280971=!0x0,this[_0x1bb5da(0x168)]=this[_0x1bb5da(0x10d)];}else{const _0x1514fa=this[_0x1bb5da(0x165)](_0x10de8e[_0x1bb5da(0x19a)],_0x10de8e[_0x1bb5da(0x1cd)])[_0x1bb5da(0x18b)](_0xa2246a=>_0xa2246a[_0x1bb5da(0x174)]>=this[_0x1bb5da(0x184)]);_0x1514fa[_0x1bb5da(0x179)](_0x4cab94=>this[_0x1bb5da(0x1c8)](_0x4cab94)),this[_0x1bb5da(0x1ed)]=this[_0x1bb5da(0x1ed)][_0x1bb5da(0x18b)](_0x560bc9=>!_0x560bc9[_0x1bb5da(0x129)]||!this[_0x1bb5da(0x169)][_0x1bb5da(0x12c)](this[_0x1bb5da(0x1ac)](_0x560bc9))),this[_0x1bb5da(0x1ed)][_0x1bb5da(0x149)]&&X(this[_0x1bb5da(0x1ed)],this[_0x1bb5da(0x1ed)][0x0][_0x1bb5da(0x174)]),await this[_0x1bb5da(0x1d5)](_0x1514fa),_0x280971=this[_0x1bb5da(0x18f)](_0x1514fa,_0x10de8e[_0x1bb5da(0x194)],_0x10de8e[_0x1bb5da(0x1aa)]),this[_0x1bb5da(0x168)]=Math[_0x1bb5da(0x1b5)](this[_0x1bb5da(0x168)]/0x2);}return _0x280971?!this[_0x1bb5da(0x172)]()||(this[_0x1bb5da(0xff)](!0x0),!0x1):this[_0x1bb5da(0x14d)](_0x1bb5da(0x1ec));}[_0x1d9750(0x18f)](_0x3ac120,_0x58accc,_0x3d77b4){const _0x4d76f4=_0x1d9750;try{const _0x10c257={'document':this[_0x4d76f4(0x14c)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x286f9f,operationsB:_0x39cec5,originalOperations:_0x126aca}=_0x2b03f5(_0x3ac120,this[_0x4d76f4(0x1ed)],_0x10c257);X(_0x286f9f,this[_0x4d76f4(0x14c)][_0x4d76f4(0x194)]),X(_0x39cec5,_0x58accc);for(const _0x3d30be of _0x286f9f){const _0x5b2938=_0x126aca[_0x4d76f4(0x102)](_0x3d30be);_0x3d30be[_0x4d76f4(0xf4)]=_0x5b2938?_0x5b2938[_0x4d76f4(0xf4)]:null;}_0x3d77b4&&(this[_0x4d76f4(0x166)][_0x4d76f4(0x178)](_0x3ac120,_0x3d77b4),this[_0x4d76f4(0x1ba)]=_0x3d77b4),this[_0x4d76f4(0x1ed)]=[..._0x39cec5],this[_0x4d76f4(0x1b4)](_0x286f9f),this[_0x4d76f4(0x170)](_0x3ac120);}catch(_0x56a826){return console[_0x4d76f4(0x1ca)](_0x56a826),!0x1;}return!0x0;}[_0x1d9750(0x1b4)](_0x2d5312,_0x5e2886=!0x1){const _0x2f8d69=_0x1d9750;this[_0x2f8d69(0x124)][_0x2f8d69(0x1d2)][_0x2f8d69(0x1c3)]({'isUndoable':!0x1,'isLocal':!0x1},_0x2a4948=>{const _0x136a5a=_0x2f8d69;for(const _0x12c4fc of _0x2d5312)this[_0x136a5a(0x17d)][_0x136a5a(0x10c)](_0x12c4fc),this[_0x136a5a(0x1c8)](_0x12c4fc),_0x2a4948[_0x136a5a(0x11c)][_0x136a5a(0x14e)](_0x12c4fc),this[_0x136a5a(0x124)][_0x136a5a(0x1d2)][_0x136a5a(0x1c1)](_0x12c4fc);});}[_0x1d9750(0x1c8)](_0x49b262){const _0x1d0a9c=_0x1d9750,_0x315b0e=this[_0x1d0a9c(0x1ac)](_0x49b262);_0x315b0e&&this[_0x1d0a9c(0x169)][_0x1d0a9c(0x10c)](_0x315b0e);}[_0x1d9750(0x1ac)](_0x524db0){const _0x1be916=_0x1d9750;let _0x35b341,_0x50a481;switch(_0x524db0[_0x1be916(0x1c4)]){case _0x1be916(0x154):_0x35b341=_0x524db0[_0x1be916(0x1c7)][_0x1be916(0x112)];break;case _0x1be916(0x17c):if(_0x50a481=_0x524db0[_0x1be916(0x101)],!_0x50a481)return null;_0x35b341=_0x50a481[_0x1be916(0x112)];break;case _0x1be916(0x150):_0x35b341=_0x524db0[_0x1be916(0x112)];break;case _0x1be916(0x1f4):_0x35b341=_0x524db0[_0x1be916(0x17f)];break;case _0x1be916(0x1e8):_0x35b341=_0x524db0[_0x1be916(0x138)][_0x1be916(0x112)];break;default:return null;}return _0x35b341[_0x1be916(0x1a5)];}[_0x1d9750(0x170)](_0x4e9a12){const _0x33dedc=_0x1d9750;_0x4e9a12[_0x33dedc(0x179)](_0x1bd2b8=>{const _0x2de451=_0x33dedc,_0x2b1edd=_0x1bd2b8[_0x2de451(0x11f)]();_0x2b1edd[_0x2de451(0xf4)]=_0x1bd2b8[_0x2de451(0xf4)],_0x2b1edd[_0x2de451(0x129)]=!!_0x1bd2b8[_0x2de451(0x129)],_0x2b1edd[_0x2de451(0x1a6)]=_0x1bd2b8[_0x2de451(0x1a6)],_0x2b1edd[_0x2de451(0x174)]+=this[_0x2de451(0x100)],_0x1bd2b8[_0x2de451(0x14a)]&&this[_0x2de451(0x1d3)][_0x2de451(0x10c)](_0x2b1edd),this[_0x2de451(0x160)][_0x2de451(0x14e)](_0x2b1edd);});}[_0x1d9750(0x18a)](_0x1b4950){const _0x43969e=_0x1d9750,_0x566b4a=this[_0x43969e(0x124)][_0x43969e(0x177)][_0x43969e(0x102)](_0x43969e(0x1f1)),_0x2eb0b7=this[_0x43969e(0x124)][_0x43969e(0x1b9)];_0x1b4950||(_0x1b4950=_0x3bdffb(_0x2eb0b7,_0x43969e(0x10f))),_0x566b4a[_0x43969e(0x157)](_0x1b4950,{'title':_0x3bdffb(_0x2eb0b7,_0x43969e(0x151)),'namespace':_0x43969e(0x164)}),this[_0x43969e(0x1db)]=!0x0,clearTimeout(this[_0x43969e(0x10a)]),this[_0x43969e(0x1ed)]=[],this[_0x43969e(0x124)][_0x43969e(0x177)][_0x43969e(0x102)](_0x37cbb4)[_0x43969e(0x110)]();}[_0x1d9750(0x11d)](){const _0x225c05=_0x1d9750;this[_0x225c05(0x1a7)]||(this[_0x225c05(0x1a7)]=this[_0x225c05(0x124)][_0x225c05(0x177)][_0x225c05(0x102)](_0x24976f)[_0x225c05(0x10c)](_0x3bdffb(this[_0x225c05(0x124)][_0x225c05(0x1b9)],_0x225c05(0x15d))));}[_0x1d9750(0x126)](){const _0x3c4080=_0x1d9750;this[_0x3c4080(0x1a7)]&&(this[_0x3c4080(0x124)][_0x3c4080(0x177)][_0x3c4080(0x102)](_0x24976f)[_0x3c4080(0x188)](this[_0x3c4080(0x1a7)]),this[_0x3c4080(0x1a7)]=null);}[_0x1d9750(0x1dd)](_0x367edd){const _0x782ee3=_0x1d9750,_0x5ce415=_0x367edd[_0x782ee3(0x1cf)](_0x575f59=>_0x575f59[_0x782ee3(0x137)]());return this[_0x782ee3(0x117)][_0x782ee3(0x1e9)](_0x5ce415);}[_0x1d9750(0x165)](_0x3f9e9,_0x15ffc1){const _0x124199=_0x1d9750;return this[_0x124199(0x117)][_0x124199(0x1b0)](_0x3f9e9)[_0x124199(0x1cf)]((_0x218fa0,_0x21a254)=>{const _0x39810f=_0x124199,_0x3fb77c=_0x39810f(0x1b3)==_0x15ffc1[_0x21a254][_0x39810f(0x1c4)];if(_0x39810f(0x1f5)==_0x218fa0[_0x39810f(0x108)]){const _0x29101e=_0x218fa0[_0x39810f(0x1c7)][_0x39810f(0x112)];!this[_0x39810f(0x14c)][_0x39810f(0x16b)](_0x29101e)&&(this[_0x39810f(0x14c)][_0x39810f(0x1de)](_0x39810f(0x1c5),_0x29101e)[_0x39810f(0x15e)]=!0x1);}const _0x17dfac=_0x21dae0[_0x39810f(0x105)](_0x218fa0,this[_0x39810f(0x14c)]);return _0x17dfac[_0x39810f(0x119)]=_0x218fa0[_0x39810f(0x119)],_0x17dfac[_0x39810f(0x129)]=_0x3fb77c,_0x17dfac[_0x39810f(0xf4)]=_0x3fb77c?null:_0x15ffc1[_0x21a254][_0x39810f(0x167)],_0x17dfac[_0x39810f(0x14a)]=_0x39810f(0x13a)===_0x15ffc1[_0x21a254][_0x39810f(0x1c4)],_0x17dfac[_0x39810f(0x1a6)]=_0x15ffc1[_0x21a254][_0x39810f(0x1a6)],_0x17dfac;});}[_0x1d9750(0x143)](){const _0x2d58a3=_0x1d9750;this[_0x2d58a3(0x1f2)]=!0x0,this[_0x2d58a3(0x12a)]()?this[_0x2d58a3(0xff)]():this[_0x2d58a3(0x1f2)]=!0x1;}[_0x1d9750(0x12a)](){const _0x5da97d=_0x1d9750,_0x1a5746=this[_0x5da97d(0x124)][_0x5da97d(0x177)][_0x5da97d(0x102)](_0x30f466)[_0x5da97d(0xfa)][_0x5da97d(0x102)](this[_0x5da97d(0xf8)]);return!this[_0x5da97d(0x124)][_0x5da97d(0x1d4)]&&!!_0x1a5746&&_0x1a5746[_0x5da97d(0x149)]>0x1&&this[_0x5da97d(0x1f2)];}[_0x1d9750(0x172)](){const _0x3c504b=_0x1d9750;return this[_0x3c504b(0x1ed)][_0x3c504b(0x149)]>0x0||this[_0x3c504b(0x12a)]();}}export default l;class Q extends Error{}function X(_0x715983,_0x52046e){const _0x13596b=_0x1d9750;for(const _0x463d1e of _0x715983)_0x463d1e[_0x13596b(0x174)]=_0x52046e++;}function _0x1a1a(_0x467653,_0x3985b4){const _0x9479e6=_0x9479();return _0x1a1a=function(_0x1a1ad0,_0x18881b){_0x1a1ad0=_0x1a1ad0-0xf0;let _0x15866e=_0x9479e6[_0x1a1ad0];return _0x15866e;},_0x1a1a(_0x467653,_0x3985b4);}class Y{[_0x1d9750(0x1ef)];[_0x1d9750(0x181)];constructor(_0x1d36c5){const _0x1b061a=_0x1d9750;this[_0x1b061a(0x1ef)]=_0x1d36c5,this[_0x1b061a(0x181)]=new WeakMap();}[_0x1d9750(0x12d)](_0x1b17e7){const _0x181916=_0x1d9750;let _0x550734=_0x1b17e7[_0x181916(0x149)];for(;_0x550734--;){const _0x5e2737=_0x1b17e7[_0x550734];if(!this[_0x181916(0x1ef)][_0x181916(0x12c)](_0x5e2737)){if(!this[_0x181916(0x181)][_0x181916(0x12c)](_0x5e2737)){const _0x538be5=_0x4c2d54()[_0x181916(0x130)](0x1,0x12);this[_0x181916(0x181)][_0x181916(0x114)](_0x5e2737,_0x538be5);}return this[_0x181916(0x181)][_0x181916(0x102)](_0x5e2737);}}}[_0x1d9750(0x178)](_0x31b6bd,_0x2c4c31){const _0x166ea7=_0x1d9750;if(!_0x2c4c31)return;let _0x2d7b48=_0x31b6bd[_0x166ea7(0x149)];for(;_0x2d7b48--;){const _0x2d3125=_0x31b6bd[_0x2d7b48];this[_0x166ea7(0x1ef)][_0x166ea7(0x12c)](_0x2d3125)||this[_0x166ea7(0x181)][_0x166ea7(0x114)](_0x2d3125,_0x2c4c31);}}}
|
|
23
|
+
const _0x5a58f4=_0x201c;(function(_0x47a94a,_0x545d58){const _0x5a5cd8=_0x201c,_0x5456ca=_0x47a94a();while(!![]){try{const _0x2f931b=parseInt(_0x5a5cd8(0x1f2))/0x1*(parseInt(_0x5a5cd8(0x2a6))/0x2)+-parseInt(_0x5a5cd8(0x2be))/0x3+parseInt(_0x5a5cd8(0x206))/0x4*(-parseInt(_0x5a5cd8(0x26e))/0x5)+parseInt(_0x5a5cd8(0x20f))/0x6+-parseInt(_0x5a5cd8(0x205))/0x7*(parseInt(_0x5a5cd8(0x2d8))/0x8)+parseInt(_0x5a5cd8(0x281))/0x9*(parseInt(_0x5a5cd8(0x2c8))/0xa)+parseInt(_0x5a5cd8(0x2d3))/0xb*(parseInt(_0x5a5cd8(0x2af))/0xc);if(_0x2f931b===_0x545d58)break;else _0x5456ca['push'](_0x5456ca['shift']());}catch(_0x1972e5){_0x5456ca['push'](_0x5456ca['shift']());}}}(_0xed55,0x3b939));import{Plugin as _0x16b606,PendingActions as _0x4b1f9f}from'ckeditor5/src/core.js';import{CKEditorError as _0x48b0d2,version as _0x4b5cb4,uid as _0x45de8c}from'ckeditor5/src/utils.js';import{Notification as _0xc1d24a}from'ckeditor5/src/ui.js';import{transformSets as _0x427581,NoOperation as _0x14ad0b,InsertOperation as _0x275613,MarkerOperation as _0x386437,RootAttributeOperation as _0x2ed1ca,OperationFactory as _0x381e3f,History as _0x17a2f0}from'ckeditor5/src/engine.js';import _0x50f12f from'./websocketgateway.js';import _0x4cbe40 from'./sessions.js';function _0xed55(){const _0x412c73=['position','realtimecollaborationclient-init-connection-failed','$root','setPermissions','enqueueChange','createRoot','_sendBufferedOperationsDelayed','then','_setPendingAction','clone','_handleReceivedOperations','fromJSON','finally','_addKnownRoot','_operationToId','wereChangesApplied','_currentBufferDelay','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.','_updateServerHistory','change:hasDomSelection','lastOperationAcceptedAt','state','_handleInitialConnectionData','27QYRVgq','_offset','ready','push','_disconnectService','_knownOperations','pluginName','lastOperationId','data','__className','createRange','_service','isOfficialPlugin','return','stopListening','_handleExternalOperations','connect','directChange','_saveOperationInBuffer','7THpDGr','885616tqmYlx','PENDING_ACTION_SENDING_DATA','addToReconnectionStack','from','setIdForTheLastOperation','roots','size','_operationIdentifier','config','1924086LroWXH','createUserMarkerOperations','getRoot','_document','markers','change:_isPendingUpdate','code','root','_hasSelectionChanged','_isInit','isReadOnly','has','createPositionAt','_isConnected','getDocumentDetails','reset','newRange','insert','parse','addRootAttribute','collaboration-missing-channelid','_handleReconnectionResponse','realtimecollaborationclient-sendbufferedoperations','multi-root-editor-root-attributes-no-root','409','getConnectedSessions','type','userId','currentDocumentSession','_hasSynchronizationProblem','round','error','_waitUntilSynced','_sendBufferedOperationsDelayId','affectsData','connected','_pendingAction','high','reconnection:\x20flushed\x20session','start','_applyOperationsSet','_clearPendingAction','_compressor','length','metadata','attributes','_lastSyncedOperationId','includes','toJSON','_handleServerResponse','channelSessions','_connectService','stop','realtimecollaborationclient-init-session-connection-error','lastSyncVersion','affectedSelectable','locale','_bufferRootLoad','fire','cloudServices.bundleVersion','rootsAttributes','get','compress','entries','_connectAfterSessionHasBeenFlushed','Synchronization\x20issue','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_decompressOperations','targetPosition','_compressOperations','_isPendingUpdate','_shouldSendUpdate','isPremiumPlugin','_crash','removeFromReconnectionStack','_isLoaded','decompress','disconnect','sessionCreatedAt','_isEditingAllowed','string','realtimecollaborationclient-init-service-incorrect-server-operation','isDocumentOperation','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','getIdOfTheLastOperation','getOperationAuthor','move','_getOperationsFromInitData','_channelId','_knownRootNames','startsWith','cs:removeUser','connection','Permissions','destroy','10oHxcdM','collaboration.channelId','_disconnectionOperations','cloud-services-internal-error:\x20Not\x20connected.','model','_ignoredOperations','init','remove','applyOperation','_shouldSendSelectionUpdate','sessionAdd:','view','_initThrowingOnDataSet','_initSessionsHandling','realtimecollaborationclient-handleserverresponse','loadRoot','rtc-offline','_sendBufferedOperations','offset','539523uNvIpL','set','createdAt','_loadRoot','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','CommentsOnly','suppressErrorInCollaboration','listenTo','catch','change:range','getMany','document:write','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','serverHistory','message','map','sendOperations','_setUpDataInit','getOperations','wasUndone','enableReadOnlyMode','register','realtimecollaborationclient','rootName','version','_bufferedOperations','requires','_isAttached','InsertOperation','change:_isEditingAllowed','_refreshUserSelectionMarkers','real-time-collaboration','CollaborativeEditingService','operationsReceived','_handleSendingSelectionMarkers','RealTimeCollaborationClient','initData','7842gpkhCZ','_handleReconnectionError','404','isUndoneOperation','addOperation','reconnect','mySessionId','apply','_authorId','12BLrxjK','Notification','slice','_lastServerVersion','collaboration','_isDisconnection','plugins','path','getUser','permissions','disconnected','isEnabled','bind','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','off','589749osUXtS','realtimecollaborationclient-error','selection','_fetchMissingUsers','forEach','define','history','showWarning','rtc-destroyed','add','80EQCeZY','createPositionFromPath','lastDocumentSession','addUser','editing','editor','cloud-services-internal-error:\x20Request\x20timeout.','realtimecollaborationclient-init-non-existent-root','differ','marker','end','1081289IVFxGD','addRoot','disableReadOnlyMode','realtimecollaborationclient-init-service-internal-error','_baseBufferDelay','968056EEczFA','cloudDocumentVersion','realtimecollaborationclient-init-document-already-initialized','sessionId','filter','keys','unregister','_getAffectedRoot','document','baseVersion','batch'];_0xed55=function(){return _0x412c73;};return _0xed55();}import _0x350917 from'./usermarkers.js';import{getTranslation as _0x2d0164}from'../common-translations.js';import{Compressor as _0xff9296}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x30cf9c}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x201c(_0x22ebed,_0x4a4f88){const _0xed55bf=_0xed55();return _0x201c=function(_0x201c6f,_0x4d1928){_0x201c6f=_0x201c6f-0x1e5;let _0x27909a=_0xed55bf[_0x201c6f];return _0x27909a;},_0x201c(_0x22ebed,_0x4a4f88);}import{User as _0x5edb69,CollaborativeEditingService as _0x2eaf62}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let F=0x1;class l extends _0x16b606{static [_0x5a58f4(0x2a1)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x2eaf62)());[_0x5a58f4(0x1f3)];[_0x5a58f4(0x2db)];[_0x5a58f4(0x28e)];[_0x5a58f4(0x267)];[_0x5a58f4(0x1fd)];[_0x5a58f4(0x212)];[_0x5a58f4(0x239)];[_0x5a58f4(0x29a)];[_0x5a58f4(0x1f7)];[_0x5a58f4(0x268)];[_0x5a58f4(0x233)];[_0x5a58f4(0x217)];[_0x5a58f4(0x230)];[_0x5a58f4(0x2d7)];[_0x5a58f4(0x1eb)];[_0x5a58f4(0x23d)];[_0x5a58f4(0x270)];[_0x5a58f4(0x20d)];static get[_0x5a58f4(0x29b)](){return[_0x50f12f,_0x4cbe40,_0x350917,_0x4b1f9f,_0x30cf9c,_0xc1d24a];}static get[_0x5a58f4(0x1f8)](){const _0x44572e=_0x5a58f4;return _0x44572e(0x2a4);}static get[_0x5a58f4(0x1fe)](){return!0x0;}static get[_0x5a58f4(0x257)](){return!0x0;}get[_0x5a58f4(0x2d9)](){const _0x5c568c=_0x5a58f4;return this[_0x5c568c(0x2b2)]+this[_0x5c568c(0x1f3)];}get[_0x5a58f4(0x2b2)](){const _0x2961ff=_0x5a58f4;return this[_0x2961ff(0x28e)][_0x2961ff(0x299)]-this[_0x2961ff(0x1f3)];}get[_0x5a58f4(0x245)](){const _0x141e11=_0x5a58f4,_0x2a66e9=this[_0x141e11(0x28e)][_0x141e11(0x293)]();for(let _0x3d57f7=_0x2a66e9[_0x141e11(0x23a)]-0x1;_0x3d57f7>=0x0;_0x3d57f7--){const _0x491c7e=_0x2a66e9[_0x3d57f7];if(!this[_0x141e11(0x270)][_0x141e11(0x21a)](_0x491c7e))return _0x491c7e[_0x141e11(0x2e1)]+0x1-this[_0x141e11(0x1f3)];}return 0x0;}constructor(_0x3430c5){const _0x562f64=_0x5a58f4;if(super(_0x3430c5),this[_0x562f64(0x1f3)]=0x0,this[_0x562f64(0x2db)]=null,this[_0x562f64(0x28e)]=new _0x17a2f0(),this[_0x562f64(0x2cd)][_0x562f64(0x20e)][_0x562f64(0x2c3)](_0x562f64(0x2b3),{}),this[_0x562f64(0x267)]=this[_0x562f64(0x2cd)][_0x562f64(0x20e)][_0x562f64(0x24c)](_0x562f64(0x26f)),!this[_0x562f64(0x267)])throw new _0x48b0d2(_0x562f64(0x223),this);const _0x59189a=_0x3430c5[_0x562f64(0x20e)][_0x562f64(0x24c)](_0x562f64(0x24a))||_0x4b5cb4;this[_0x562f64(0x1fd)]=new l[(_0x562f64(0x2a1))](_0x59189a,this[_0x562f64(0x267)]),this[_0x562f64(0x212)]=this[_0x562f64(0x2cd)][_0x562f64(0x272)][_0x562f64(0x2e0)],this[_0x562f64(0x239)]=new _0xff9296(),this[_0x562f64(0x29a)]=[],this[_0x562f64(0x1f7)]=new WeakSet(),this[_0x562f64(0x268)]=new Set(),this[_0x562f64(0x282)](_0x562f64(0x255),!0x1),this[_0x562f64(0x282)](_0x562f64(0x22c),!0x1),this[_0x562f64(0x233)]=null,this[_0x562f64(0x217)]=!0x1,this[_0x562f64(0x230)]=null,this[_0x562f64(0x2d7)]=0x12c,this[_0x562f64(0x1eb)]=this[_0x562f64(0x2d7)],this[_0x562f64(0x23d)]=null,this[_0x562f64(0x270)]=new WeakSet(),this[_0x562f64(0x20d)]=new $(this[_0x562f64(0x270)]);}[_0x5a58f4(0x274)](){const _0x2d63d5=_0x5a58f4,_0x45089e=this[_0x2d63d5(0x2cd)],_0x4a8c4a=_0x45089e[_0x2d63d5(0x2b5)][_0x2d63d5(0x24c)](_0x30cf9c),_0x380d14=_0x45089e[_0x2d63d5(0x2b5)][_0x2d63d5(0x24c)](_0x50f12f);this[_0x2d63d5(0x288)](_0x4a8c4a,_0x2d63d5(0x264),(_0x579250,_0x3df299)=>{const _0x3df809=_0x2d63d5,_0x203e84=_0x3df299[0x0];_0x203e84[_0x3df809(0x2ae)]&&(_0x579250[_0x3df809(0x1ff)]=_0x4a8c4a[_0x3df809(0x2b7)](_0x203e84[_0x3df809(0x2ae)]),_0x579250[_0x3df809(0x243)]()),null===_0x203e84[_0x3df809(0x2ae)]&&(_0x579250[_0x3df809(0x1ff)]=null,_0x579250[_0x3df809(0x243)]());},{'priority':_0x2d63d5(0x234)}),this[_0x2d63d5(0x288)](_0x45089e[_0x2d63d5(0x272)][_0x2d63d5(0x2e0)][_0x2d63d5(0x2c0)],_0x2d63d5(0x28a),(_0xe33674,_0x463e74)=>{const _0x207037=_0x2d63d5;_0x463e74[_0x207037(0x203)]&&this[_0x207037(0x29f)]();}),this[_0x2d63d5(0x288)](_0x45089e[_0x2d63d5(0x2cc)][_0x2d63d5(0x279)],_0x2d63d5(0x1ee),()=>{const _0x6a57c7=_0x2d63d5;this[_0x6a57c7(0x29f)]();}),this[_0x2d63d5(0x27a)](),_0x45089e[_0x2d63d5(0x272)]['on'](_0x2d63d5(0x276),(_0x160451,_0x382fb6)=>{const _0x459346=_0x2d63d5,_0x1229b6=_0x382fb6[0x0];_0x1229b6[_0x459346(0x261)]&&(this[_0x459346(0x204)](_0x1229b6),this[_0x459346(0x256)]()&&this[_0x459346(0x2e9)]());}),this[_0x2d63d5(0x292)](),this[_0x2d63d5(0x2bb)](_0x2d63d5(0x25e))['to'](_0x380d14,_0x2d63d5(0x1f0),this,_0x2d63d5(0x22c),(_0x52ac69,_0x447b69)=>_0x2d63d5(0x232)===_0x52ac69&&!_0x447b69),this['on'](_0x2d63d5(0x29e),()=>{const _0x523ff7=_0x2d63d5;this[_0x523ff7(0x25e)]?_0x45089e[_0x523ff7(0x2d5)](_0x523ff7(0x27e)):_0x45089e[_0x523ff7(0x295)](_0x523ff7(0x27e));}),this[_0x2d63d5(0x25e)]?_0x45089e[_0x2d63d5(0x2d5)](_0x2d63d5(0x27e)):_0x45089e[_0x2d63d5(0x295)](_0x2d63d5(0x27e)),this[_0x2d63d5(0x282)](_0x2d63d5(0x21c),!0x1);}async[_0x5a58f4(0x2ab)](){const _0x1ad4b9=_0x5a58f4,_0x1faf94=this[_0x1ad4b9(0x2cd)][_0x1ad4b9(0x2b5)][_0x1ad4b9(0x24c)](_0x4cbe40),_0x191a9f=this[_0x1ad4b9(0x2cd)][_0x1ad4b9(0x2b5)][_0x1ad4b9(0x24c)](_0x50f12f);try{this[_0x1ad4b9(0x255)]=!0x0,_0x1faf94[_0x1ad4b9(0x2de)](this[_0x1ad4b9(0x267)]);const _0x281536=await this[_0x1ad4b9(0x1fd)][_0x1ad4b9(0x2ab)](_0x191a9f[_0x1ad4b9(0x26b)],this[_0x1ad4b9(0x245)]);await this[_0x1ad4b9(0x224)](_0x281536)&&(this[_0x1ad4b9(0x255)]=!0x1,this[_0x1ad4b9(0x238)]());const _0xc4ff8=await this[_0x1ad4b9(0x1fd)][_0x1ad4b9(0x228)]();_0x1faf94[_0x1ad4b9(0x296)](this[_0x1ad4b9(0x267)],_0xc4ff8),this[_0x1ad4b9(0x2a3)](),this[_0x1ad4b9(0x21c)]=!0x0;}catch(_0x418731){if(function(_0x56cbe4){const _0x35ef49=_0x1ad4b9;return _0x35ef49(0x2a8)===_0x56cbe4[_0x35ef49(0x215)];}(_0x418731)&&this[_0x1ad4b9(0x2db)])await this[_0x1ad4b9(0x24f)]();else{if(function(_0x80fb2c){const _0x282017=_0x1ad4b9;return _0x282017(0x227)===_0x80fb2c[_0x282017(0x215)];}(_0x418731)){const _0x14b2ea=_0x2d0164(this[_0x1ad4b9(0x2cd)][_0x1ad4b9(0x247)],_0x1ad4b9(0x262));this[_0x1ad4b9(0x2a7)](_0x14b2ea);}else{if(!(_0x418731 instanceof q))throw _0x418731;this[_0x1ad4b9(0x2a7)]();}}}}[_0x5a58f4(0x26d)](){const _0x53f8a7=_0x5a58f4,_0x5552ab=this[_0x53f8a7(0x2cd)][_0x53f8a7(0x2b5)][_0x53f8a7(0x24c)](_0x50f12f),_0x3e6c37=this[_0x53f8a7(0x2cd)][_0x53f8a7(0x2b5)][_0x53f8a7(0x24c)](_0x4cbe40);this[_0x53f8a7(0x2cd)][_0x53f8a7(0x295)](_0x53f8a7(0x2c6)),_0x3e6c37[_0x53f8a7(0x241)][_0x53f8a7(0x21a)](this[_0x53f8a7(0x267)])&&_0x3e6c37[_0x53f8a7(0x2de)](this[_0x53f8a7(0x267)]),_0x5552ab[_0x53f8a7(0x259)](this),this[_0x53f8a7(0x1f6)](),super[_0x53f8a7(0x26d)]();}async[_0x5a58f4(0x224)](_0x29f75d){const _0x20f167=_0x5a58f4;if(this[_0x20f167(0x2db)]!==_0x29f75d[_0x20f167(0x2db)]&&this[_0x20f167(0x23d)]!==_0x29f75d[_0x20f167(0x1f9)])throw new q();return this[_0x20f167(0x2db)]=_0x29f75d[_0x20f167(0x2db)],this[_0x20f167(0x240)]([],{..._0x29f75d,'wereChangesApplied':!0x1,'data':_0x29f75d[_0x20f167(0x1fa)]},_0x20f167(0x2ab));}async[_0x5a58f4(0x242)](_0x5b5bc9,_0x5ed492=!0x1){const _0x4ed7b0=_0x5a58f4,{connection:_0x4d8799}=this[_0x4ed7b0(0x2cd)][_0x4ed7b0(0x2b5)][_0x4ed7b0(0x24c)](_0x50f12f);l[_0x4ed7b0(0x2a1)][_0x4ed7b0(0x228)](_0x4d8799,this[_0x4ed7b0(0x267)])[_0x4ed7b0(0x2ea)](_0x3f1368=>this[_0x4ed7b0(0x27b)](_0x3f1368))[_0x4ed7b0(0x289)](_0x2c5b1a=>{const _0x15a70a=_0x4ed7b0;this[_0x15a70a(0x258)](_0x15a70a(0x244),_0x2c5b1a);}),this[_0x4ed7b0(0x288)](this[_0x4ed7b0(0x1fd)],_0x4ed7b0(0x2a2),this[_0x4ed7b0(0x1e5)][_0x4ed7b0(0x2bb)](this)),this[_0x4ed7b0(0x288)](this[_0x4ed7b0(0x1fd)],_0x4ed7b0(0x22e),(_0x68c29d,_0x1e3665)=>{const _0x3a257b=_0x4ed7b0;this[_0x3a257b(0x258)](_0x3a257b(0x2d6),_0x1e3665);}),this[_0x4ed7b0(0x288)](this[_0x4ed7b0(0x1fd)],_0x4ed7b0(0x2b9),()=>{const _0x3d9a8b=_0x4ed7b0;this[_0x3d9a8b(0x21c)]=!0x1;});const _0x56befe=this[_0x4ed7b0(0x20d)][_0x4ed7b0(0x263)](_0x5b5bc9);this[_0x4ed7b0(0x255)]=!0x0;const _0x5ba566=await this[_0x4ed7b0(0x1fd)][_0x4ed7b0(0x202)](_0x4d8799,this[_0x4ed7b0(0x254)](_0x5b5bc9),_0x56befe);if(this[_0x4ed7b0(0x2db)]=_0x5ba566[_0x4ed7b0(0x2db)],_0x5ed492){if(!_0x5ba566[_0x4ed7b0(0x1ea)])return void this[_0x4ed7b0(0x2a7)]();this[_0x4ed7b0(0x255)]=!0x1,this[_0x4ed7b0(0x238)](),this[_0x4ed7b0(0x28e)][_0x4ed7b0(0x21e)](),this[_0x4ed7b0(0x1f3)]=_0x5ba566[_0x4ed7b0(0x280)],this[_0x4ed7b0(0x28e)][_0x4ed7b0(0x299)]=this[_0x4ed7b0(0x1f3)],await this[_0x4ed7b0(0x240)](_0x5b5bc9,_0x5ba566,_0x4ed7b0(0x235));}else await this[_0x4ed7b0(0x1f1)](_0x5ba566,_0x5b5bc9);this[_0x4ed7b0(0x2a3)](),this[_0x4ed7b0(0x21c)]=!0x0;}[_0x5a58f4(0x2a3)](){const _0x37d00a=_0x5a58f4,_0xfaf6f6=this[_0x37d00a(0x2cd)][_0x37d00a(0x2b5)][_0x37d00a(0x24c)](_0x4cbe40),_0x87234=this[_0x37d00a(0x2cd)][_0x37d00a(0x2b5)][_0x37d00a(0x24c)](_0x350917),_0xc43a03=_0xfaf6f6[_0x37d00a(0x241)][_0x37d00a(0x24c)](this[_0x37d00a(0x267)]);_0xc43a03&&_0xc43a03[_0x37d00a(0x23a)]>0x1?_0x87234[_0x37d00a(0x210)]():this[_0x37d00a(0x288)](_0xfaf6f6,_0x37d00a(0x278)+this[_0x37d00a(0x267)],()=>{const _0x78566c=_0x37d00a;0x2===_0xfaf6f6[_0x78566c(0x241)][_0x78566c(0x24c)](this[_0x78566c(0x267)])[_0x78566c(0x23a)]&&_0x87234[_0x78566c(0x210)]();});}async[_0x5a58f4(0x1e5)](_0x32a3cf,_0x3ae297,_0x4d78b7,_0x15c9e5){const _0x3dae5f=_0x5a58f4;if(!this[_0x3dae5f(0x255)]&&this[_0x3dae5f(0x212)][_0x3dae5f(0x299)]==_0x3ae297){const _0x5f2642=this[_0x3dae5f(0x252)](_0x4d78b7,_0x15c9e5);await this[_0x3dae5f(0x2c1)](_0x5f2642),this[_0x3dae5f(0x201)](_0x5f2642,_0x3ae297,_0x4d78b7[_0x3dae5f(0x1f9)])||this[_0x3dae5f(0x258)](_0x3dae5f(0x260));}}async[_0x5a58f4(0x24f)](){const _0x42373a=_0x5a58f4;this[_0x42373a(0x1f6)]();const {locale:_0x585175}=this[_0x42373a(0x2cd)];let _0x5f3ba2;try{_0x5f3ba2=await this[_0x42373a(0x1fd)][_0x42373a(0x21d)]();}catch(_0x33f436){const _0x10a535=_0x2d0164(_0x585175,_0x42373a(0x251));return void this[_0x42373a(0x2a7)](_0x10a535);}const _0x38b339=_0x5f3ba2[_0x42373a(0x22b)]||_0x5f3ba2[_0x42373a(0x2ca)];if(this[_0x42373a(0x23d)]===_0x38b339[_0x42373a(0x1f9)])await this[_0x42373a(0x242)](this[_0x42373a(0x2cd)][_0x42373a(0x272)][_0x42373a(0x2e0)][_0x42373a(0x2c4)][_0x42373a(0x293)](),!0x0);else{const _0x24704c=_0x2d0164(_0x585175,_0x42373a(0x1ec));this[_0x42373a(0x2a7)](_0x24704c);}}[_0x5a58f4(0x1f6)](){const _0x40bf33=_0x5a58f4;this[_0x40bf33(0x1fd)][_0x40bf33(0x25c)](),this[_0x40bf33(0x29a)]=[],clearTimeout(this[_0x40bf33(0x230)]),this[_0x40bf33(0x200)](this[_0x40bf33(0x1fd)]);}[_0x5a58f4(0x27b)](_0x108dd2){const _0x229cf1=_0x5a58f4,_0x288ad5=this[_0x229cf1(0x2cd)][_0x229cf1(0x2b5)][_0x229cf1(0x24c)](_0x4cbe40);this[_0x229cf1(0x288)](_0x288ad5,_0x229cf1(0x278)+this[_0x229cf1(0x267)],(_0x57b8b6,{session:_0x44e32d})=>{const _0xe6ca4c=_0x229cf1;if(_0x44e32d['id']===_0x288ad5[_0xe6ca4c(0x2ac)]){_0x57b8b6[_0xe6ca4c(0x2bd)]();const _0x36ec2c=this[_0xe6ca4c(0x2cd)][_0xe6ca4c(0x2b5)][_0xe6ca4c(0x21a)](_0xe6ca4c(0x286))&&this[_0xe6ca4c(0x2cd)][_0xe6ca4c(0x2b5)][_0xe6ca4c(0x24c)](_0xe6ca4c(0x286));let _0xf9cb72=_0x44e32d[_0xe6ca4c(0x2b8)];_0x36ec2c&&_0x36ec2c[_0xe6ca4c(0x2ba)]&&(_0xf9cb72=_0xf9cb72[_0xe6ca4c(0x2dc)](_0x57781b=>_0xe6ca4c(0x28c)!==_0x57781b)),this[_0xe6ca4c(0x2cd)][_0xe6ca4c(0x2b5)][_0xe6ca4c(0x24c)](_0xe6ca4c(0x26c))[_0xe6ca4c(0x2e6)](_0xf9cb72,this[_0xe6ca4c(0x267)]);}}),_0x288ad5[_0x229cf1(0x296)](this[_0x229cf1(0x267)],_0x108dd2);}[_0x5a58f4(0x27a)](){const _0x46487a=_0x5a58f4,_0x2569db=this[_0x46487a(0x2cd)][_0x46487a(0x1fa)][_0x46487a(0x282)];this[_0x46487a(0x2cd)][_0x46487a(0x1fa)][_0x46487a(0x282)]=(..._0x5dae6d)=>{const _0x530653=_0x46487a;if(!_0x5dae6d[_0x5dae6d[_0x530653(0x23a)]-0x1][_0x530653(0x287)])throw new _0x48b0d2(_0x530653(0x2bc),this);_0x2569db[_0x530653(0x2ad)](this[_0x530653(0x2cd)][_0x530653(0x1fa)],_0x5dae6d);};}[_0x5a58f4(0x292)](){const _0x3c93a8=_0x5a58f4;this[_0x3c93a8(0x2cd)][_0x3c93a8(0x1fa)]['on'](_0x3c93a8(0x274),(_0x565ac3,[_0x555f2e])=>{const _0x21d627=_0x3c93a8;if(this[_0x21d627(0x212)][_0x21d627(0x299)])throw new _0x48b0d2(_0x21d627(0x2da),this);_0x565ac3[_0x21d627(0x243)](),this[_0x21d627(0x2eb)]();const _0x1b85bc=this[_0x21d627(0x2cd)][_0x21d627(0x20e)][_0x21d627(0x24c)](_0x21d627(0x24b)),_0x2f6805=this[_0x21d627(0x266)](_0x555f2e,_0x1b85bc);0x0==_0x2f6805[_0x21d627(0x23a)]&&_0x2f6805[_0x21d627(0x1f5)](new _0x14ad0b(0x0)),_0x565ac3[_0x21d627(0x1ff)]=this[_0x21d627(0x242)](_0x2f6805)[_0x21d627(0x2ea)](()=>{const _0x53ccd6=_0x21d627;this[_0x53ccd6(0x2cd)][_0x53ccd6(0x2b5)][_0x53ccd6(0x24c)](_0x50f12f)[_0x53ccd6(0x208)](this),this[_0x53ccd6(0x2cd)][_0x53ccd6(0x1fa)][_0x53ccd6(0x249)](_0x53ccd6(0x1f4));})[_0x21d627(0x289)](_0x39cedb=>this[_0x21d627(0x258)](_0x21d627(0x2e4),_0x39cedb))[_0x21d627(0x1e7)](()=>this[_0x21d627(0x238)]());},{'priority':_0x3c93a8(0x234)}),this[_0x3c93a8(0x2cd)]['on'](_0x3c93a8(0x27d),async(_0x244cf3,[_0x585020,_0xeb756])=>{const _0x37639b=_0x3c93a8;_0x244cf3[_0x37639b(0x243)]();const _0x45523e=this[_0x37639b(0x2cd)][_0x37639b(0x272)][_0x37639b(0x2e0)][_0x37639b(0x211)](_0x585020);if(!this[_0x37639b(0x268)][_0x37639b(0x21a)](_0x585020)){const _0x25fdfc=_0xeb756&&_0xeb756[_0x37639b(0x1fa)]?_0xeb756[_0x37639b(0x1fa)]:'',_0x285d7d=_0xeb756&&_0xeb756[_0x37639b(0x23c)]?_0xeb756[_0x37639b(0x23c)]:{};await this[_0x37639b(0x284)](_0x585020,_0x25fdfc,_0x285d7d);}this[_0x37639b(0x2cd)][_0x37639b(0x272)][_0x37639b(0x2e7)]({'isUndoable':!0x1},()=>{const _0x530db7=_0x37639b;_0x45523e[_0x530db7(0x25a)]=!0x0,this[_0x530db7(0x2cd)][_0x530db7(0x272)][_0x530db7(0x2e0)][_0x530db7(0x2d0)][_0x530db7(0x248)](_0x45523e);});},{'priority':_0x3c93a8(0x234)});}async[_0x5a58f4(0x2c1)](_0x3d8203){const _0x339d1c=_0x5a58f4,_0xb81e00=this[_0x339d1c(0x2cd)][_0x339d1c(0x2b5)][_0x339d1c(0x24c)](_0x30cf9c),{connection:_0x23bf5f}=this[_0x339d1c(0x2cd)][_0x339d1c(0x2b5)][_0x339d1c(0x24c)](_0x50f12f),_0xb826d9=new Set();for(const _0x47b130 of _0x3d8203){const _0x41b70c=_0x47b130[_0x339d1c(0x2ae)];_0x41b70c&&!_0xb81e00[_0x339d1c(0x2b7)](_0x41b70c)&&_0xb826d9[_0x339d1c(0x2c7)](_0x41b70c);}if(0x0===_0xb826d9[_0x339d1c(0x20c)])return;const _0x58add3=await _0x5edb69[_0x339d1c(0x28b)](_0x23bf5f,Array[_0x339d1c(0x209)](_0xb826d9));for(const _0x12aee9 of _0x58add3)_0xb81e00[_0x339d1c(0x2b7)](_0x12aee9['id'])||_0xb81e00[_0x339d1c(0x2cb)](_0x12aee9);}[_0x5a58f4(0x266)](_0x5a35ae,_0x1e70ae={}){const _0x4b0ac1=_0x5a58f4,_0x4015ef=this[_0x4b0ac1(0x2cd)][_0x4b0ac1(0x272)],_0x548191=[];let _0x32d9c0=0x0;const _0x3e097a=_0x4b0ac1(0x25f)==typeof _0x5a35ae?{'main':_0x5a35ae}:_0x5a35ae;for(const _0x1b51ca of Object[_0x4b0ac1(0x2dd)](_0x3e097a)){if(!this[_0x4b0ac1(0x212)][_0x4b0ac1(0x20b)][_0x4b0ac1(0x21a)](_0x1b51ca))throw new _0x48b0d2(_0x4b0ac1(0x2cf),this);const _0x49fb63=this[_0x4b0ac1(0x2cd)][_0x4b0ac1(0x1fa)][_0x4b0ac1(0x221)](_0x3e097a[_0x1b51ca]),_0x312ec5=this[_0x4b0ac1(0x212)][_0x4b0ac1(0x211)](_0x1b51ca),_0x2bec0e=new _0x275613(_0x4015ef[_0x4b0ac1(0x21b)](_0x312ec5,0x0),_0x49fb63,_0x32d9c0++);_0x548191[_0x4b0ac1(0x1f5)](_0x2bec0e);for(const [_0x20fba7,_0xada360]of _0x49fb63[_0x4b0ac1(0x213)]){const _0x331a7e=_0x4015ef[_0x4b0ac1(0x1fc)](_0x4015ef[_0x4b0ac1(0x2c9)](_0x312ec5,_0xada360[_0x4b0ac1(0x236)][_0x4b0ac1(0x2b6)][_0x4b0ac1(0x2b1)]()),_0x4015ef[_0x4b0ac1(0x2c9)](_0x312ec5,_0xada360[_0x4b0ac1(0x2d2)][_0x4b0ac1(0x2b6)][_0x4b0ac1(0x2b1)]())),_0x487c0d=new _0x386437(_0x20fba7,null,_0x331a7e,_0x4015ef[_0x4b0ac1(0x213)],!0x0,_0x32d9c0++);_0x548191[_0x4b0ac1(0x1f5)](_0x487c0d);}}if(_0x1e70ae)for(const [_0x2f2b80,_0x24dbe3]of Object[_0x4b0ac1(0x24e)](_0x1e70ae)){const _0x486386=_0x4015ef[_0x4b0ac1(0x2e0)][_0x4b0ac1(0x211)](_0x2f2b80);if(!_0x486386)throw new _0x48b0d2(_0x4b0ac1(0x226),null);for(const [_0x1b3821,_0x1f552d]of Object[_0x4b0ac1(0x24e)](_0x24dbe3))if(null!==_0x1f552d){const _0x20e980=new _0x2ed1ca(_0x486386,_0x1b3821,null,_0x1f552d,_0x32d9c0++);_0x548191[_0x4b0ac1(0x1f5)](_0x20e980);}}return _0x548191;}async[_0x5a58f4(0x284)](_0x17f608,_0xd169c1,_0x1cf106){const _0x184aa6=_0x5a58f4;this[_0x184aa6(0x266)]({[_0x17f608]:_0xd169c1},{[_0x17f608]:_0x1cf106})[_0x184aa6(0x2c2)]((_0x23e39d,_0x33962e)=>{const _0x5af489=_0x184aa6;_0x23e39d[_0x5af489(0x2e1)]=this[_0x5af489(0x212)][_0x5af489(0x299)]+_0x33962e,_0x23e39d[_0x5af489(0x218)]=!0x0,this[_0x5af489(0x204)](_0x23e39d);}),this[_0x184aa6(0x2e9)](),await this[_0x184aa6(0x22f)]();}async[_0x5a58f4(0x1f1)](_0x3261cd,_0x3c026b){const _0x3d29bc=_0x5a58f4;let _0x3fa474;this[_0x3d29bc(0x1f3)]=_0x3261cd[_0x3d29bc(0x280)];const _0x59d574=_0x3261cd[_0x3d29bc(0x1ea)]&&!_0x3261cd[_0x3d29bc(0x2a5)],_0xc9a27b=_0x59d574?0x0:_0x3261cd[_0x3d29bc(0x1fa)][_0x3d29bc(0x2e1)];if(_0x3c026b[_0x3d29bc(0x2c2)](_0x134d56=>{const _0xd4d0ab=_0x3d29bc;_0x134d56[_0xd4d0ab(0x218)]=!0x0,_0x134d56[_0xd4d0ab(0x283)]=_0x3261cd[_0xd4d0ab(0x25d)],_0x134d56[_0xd4d0ab(0x2ae)]=null;}),_0x59d574)_0x3fa474=_0x3c026b,this[_0x3d29bc(0x237)](_0x3fa474,_0x59d574);else{if(_0x3261cd[_0x3d29bc(0x2a5)]){const _0x1e5af9=this[_0x3d29bc(0x266)](_0x3261cd[_0x3d29bc(0x2a5)]);this[_0x3d29bc(0x212)][_0x3d29bc(0x2c4)][_0x3d29bc(0x299)]=-_0x1e5af9[_0x3d29bc(0x23a)],_0x1e5af9[_0x3d29bc(0x2c2)](_0x1c81ea=>{const _0x396387=_0x3d29bc;_0x1c81ea[_0x396387(0x2e1)]-=_0x1e5af9[_0x396387(0x23a)],_0x1c81ea[_0x396387(0x283)]=_0x3261cd[_0x396387(0x25d)],_0x1c81ea[_0x396387(0x218)]=!0x0,_0x1c81ea[_0x396387(0x2ae)]=null;}),this[_0x3d29bc(0x237)](_0x1e5af9,!0x0),this[_0x3d29bc(0x28e)][_0x3d29bc(0x299)]=-_0x1e5af9[_0x3d29bc(0x23a)]+this[_0x3d29bc(0x1f3)],this[_0x3d29bc(0x1ed)](_0x1e5af9);}this[_0x3d29bc(0x212)][_0x3d29bc(0x2c4)][_0x3d29bc(0x299)]=_0xc9a27b,_0x3fa474=this[_0x3d29bc(0x252)](_0x3261cd[_0x3d29bc(0x1fa)],_0x3261cd[_0x3d29bc(0x23b)]),await this[_0x3d29bc(0x2c1)](_0x3fa474),this[_0x3d29bc(0x237)](_0x3fa474,_0x59d574);}_0x3261cd[_0x3d29bc(0x1f9)]&&(this[_0x3d29bc(0x20d)][_0x3d29bc(0x20a)](_0x3fa474,_0x3261cd[_0x3d29bc(0x1f9)]),this[_0x3d29bc(0x23d)]=_0x3261cd[_0x3d29bc(0x1f9)]),this[_0x3d29bc(0x28e)][_0x3d29bc(0x299)]=_0xc9a27b+this[_0x3d29bc(0x1f3)],this[_0x3d29bc(0x1ed)](_0x3fa474),_0x3c026b[_0x3d29bc(0x2dc)](_0x2e6efe=>{const _0x2966c0=_0x3d29bc,_0x5e4b13=this[_0x2966c0(0x2df)](_0x2e6efe);return _0x5e4b13&&!this[_0x2966c0(0x268)][_0x2966c0(0x21a)](_0x5e4b13);})[_0x3d29bc(0x2c2)]((_0x3ba6fa,_0x10ed4a)=>{const _0x5522a4=_0x3d29bc;_0x3ba6fa[_0x5522a4(0x2e1)]=this[_0x5522a4(0x212)][_0x5522a4(0x299)]+_0x10ed4a,this[_0x5522a4(0x204)](_0x3ba6fa);}),this[_0x3d29bc(0x256)]()?(this[_0x3d29bc(0x1eb)]=0x0,this[_0x3d29bc(0x2e9)](!0x0),await this[_0x3d29bc(0x22f)]()):(this[_0x3d29bc(0x255)]=!0x1,this[_0x3d29bc(0x238)]());}[_0x5a58f4(0x258)](_0x5210f4,_0x312dd2){const _0x5b2a69=_0x5a58f4,_0x38588b=_0x312dd2&&_0x312dd2[_0x5b2a69(0x28f)];if(_0x38588b&&_0x38588b[_0x5b2a69(0x269)](_0x5b2a69(0x297)))throw _0x312dd2;const _0x135379=this[_0x5b2a69(0x2cd)][_0x5b2a69(0x2b5)][_0x5b2a69(0x24c)](_0x50f12f);throw this[_0x5b2a69(0x255)]=!0x0,_0x135379[_0x5b2a69(0x25c)](),this[_0x5b2a69(0x2cd)][_0x5b2a69(0x295)](_0x5b2a69(0x2bf)),new _0x48b0d2(_0x5210f4,this[_0x5b2a69(0x2cd)],_0x38588b?{'originalError':_0x38588b}:void 0x0);}[_0x5a58f4(0x204)](_0x56000e){const _0x2931c8=_0x5a58f4;this[_0x2931c8(0x1f7)][_0x2931c8(0x21a)](_0x56000e)||(this[_0x2931c8(0x1f7)][_0x2931c8(0x2c7)](_0x56000e),this[_0x2931c8(0x29a)][_0x2931c8(0x1f5)](_0x56000e),this[_0x2931c8(0x233)]||_0x2931c8(0x2d1)==_0x56000e[_0x2931c8(0x229)]&&!_0x56000e[_0x2931c8(0x231)]||this[_0x2931c8(0x2eb)]());}[_0x5a58f4(0x2e9)](_0x19dd57=!0x1){const _0x151aa6=_0x5a58f4;!_0x19dd57&&this[_0x151aa6(0x255)]||(this[_0x151aa6(0x255)]=!0x0,clearTimeout(this[_0x151aa6(0x230)]),this[_0x151aa6(0x230)]=setTimeout(()=>{const _0x30a939=_0x151aa6;this[_0x30a939(0x27f)]()[_0x30a939(0x2ea)](_0x1c3e0b=>{const _0x345474=_0x30a939;_0x1c3e0b&&(this[_0x345474(0x238)](),this[_0x345474(0x255)]=!0x1);})[_0x30a939(0x289)](_0x1844ac=>{const _0x469813=_0x30a939;this[_0x469813(0x238)](),this[_0x469813(0x255)]=!0x1,function(_0x30e3ce){const _0x332444=_0x469813;return _0x30e3ce[_0x332444(0x28f)][_0x332444(0x269)](_0x332444(0x271))||_0x30e3ce[_0x332444(0x28f)][_0x332444(0x269)](_0x332444(0x285))||_0x30e3ce[_0x332444(0x28f)][_0x332444(0x269)](_0x332444(0x2ce));}(_0x1844ac)||this[_0x469813(0x258)](_0x1844ac[_0x469813(0x28f)],_0x1844ac);});},this[_0x151aa6(0x1eb)]));}[_0x5a58f4(0x22f)](){return new Promise(_0x3ca525=>{const _0x5a3f8c=_0x201c;this['on'](_0x5a3f8c(0x214),()=>{_0x3ca525();});});}async[_0x5a58f4(0x27f)](){const _0x2ac83b=_0x5a58f4,_0x86e63=this[_0x2ac83b(0x2cd)][_0x2ac83b(0x2b5)][_0x2ac83b(0x24c)](_0x350917);if(this[_0x2ac83b(0x277)]()&&(_0x86e63[_0x2ac83b(0x210)](),this[_0x2ac83b(0x217)]=!0x1),!this[_0x2ac83b(0x256)]())return!0x0;const _0xd0cf7b=[...this[_0x2ac83b(0x29a)]];for(const _0x43cea3 of _0xd0cf7b)_0x43cea3[_0x2ac83b(0x294)]=this[_0x2ac83b(0x212)][_0x2ac83b(0x2c4)][_0x2ac83b(0x2a9)](_0x43cea3);const _0x1c806e=this[_0x2ac83b(0x20d)][_0x2ac83b(0x263)](_0xd0cf7b),_0x3871eb=F++,_0x4e93fa=this[_0x2ac83b(0x254)](_0xd0cf7b),_0x44733d=await this[_0x2ac83b(0x1fd)][_0x2ac83b(0x291)](_0x4e93fa,_0x4e93fa[_0x2ac83b(0x2e1)],_0x1c806e);try{return await this[_0x2ac83b(0x240)](_0xd0cf7b,_0x44733d,_0x3871eb);}catch(_0x31449f){return this[_0x2ac83b(0x258)](_0x2ac83b(0x225),_0x31449f);}}async[_0x5a58f4(0x240)](_0x4a607b,_0xddcb76,_0x5ea589){const _0x79e702=_0x5a58f4;if(_0x79e702(0x22e)in _0xddcb76)throw _0xddcb76[_0x79e702(0x22e)];let _0x3a8224=!0x1;if(_0xddcb76[_0x79e702(0x1ea)]){_0xddcb76[_0x79e702(0x1f9)]&&(this[_0x79e702(0x23d)]=_0xddcb76[_0x79e702(0x1f9)]),this[_0x79e702(0x29a)]=this[_0x79e702(0x29a)][_0x79e702(0x2dc)](_0x363fb2=>!_0x4a607b[_0x79e702(0x23e)](_0x363fb2));for(const _0x34a9c0 of _0x4a607b)_0x34a9c0[_0x79e702(0x283)]=_0x79e702(0x1ef)in _0xddcb76&&_0xddcb76[_0x79e702(0x1ef)]||void 0x0;G(_0x4a607b,_0xddcb76[_0x79e702(0x299)]-_0x4a607b[_0x79e702(0x23a)]),this[_0x79e702(0x1ed)](_0x4a607b);const _0x5b0aa6=_0x4a607b[_0x79e702(0x2dc)](_0x4af700=>{const _0x301571=_0x79e702;if(!_0x4af700[_0x301571(0x218)])return!0x1;const _0xbf3065=this[_0x301571(0x2df)](_0x4af700);return _0xbf3065&&!this[_0x301571(0x268)][_0x301571(0x21a)](_0xbf3065);});G(_0x5b0aa6,this[_0x79e702(0x212)][_0x79e702(0x299)]),this[_0x79e702(0x237)](_0x5b0aa6),_0x3a8224=!0x0,this[_0x79e702(0x1eb)]=this[_0x79e702(0x2d7)];}else{const _0x360f33=this[_0x79e702(0x252)](_0xddcb76[_0x79e702(0x1fa)],_0xddcb76[_0x79e702(0x23b)])[_0x79e702(0x2dc)](_0x3b5d87=>_0x3b5d87[_0x79e702(0x2e1)]>=this[_0x79e702(0x2b2)]);_0x360f33[_0x79e702(0x2c2)](_0x55b89f=>this[_0x79e702(0x1e8)](_0x55b89f)),this[_0x79e702(0x29a)]=this[_0x79e702(0x29a)][_0x79e702(0x2dc)](_0x220383=>!_0x220383[_0x79e702(0x218)]||!this[_0x79e702(0x268)][_0x79e702(0x21a)](this[_0x79e702(0x2df)](_0x220383))),this[_0x79e702(0x29a)][_0x79e702(0x23a)]&&G(this[_0x79e702(0x29a)],this[_0x79e702(0x29a)][0x0][_0x79e702(0x2e1)]),await this[_0x79e702(0x2c1)](_0x360f33),_0x3a8224=this[_0x79e702(0x201)](_0x360f33,_0xddcb76[_0x79e702(0x299)],_0xddcb76[_0x79e702(0x1f9)]),this[_0x79e702(0x1eb)]=Math[_0x79e702(0x22d)](this[_0x79e702(0x1eb)]/0x2);}return _0x3a8224?!this[_0x79e702(0x256)]()||(this[_0x79e702(0x2e9)](!0x0),!0x1):this[_0x79e702(0x258)](_0x79e702(0x27c));}[_0x5a58f4(0x201)](_0x14e971,_0x193bfe,_0x520454){const _0x5bae7b=_0x5a58f4;try{const _0x2ddb91={'document':this[_0x5bae7b(0x212)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xf79f89,operationsB:_0x55a447,originalOperations:_0x248f3e}=_0x427581(_0x14e971,this[_0x5bae7b(0x29a)],_0x2ddb91);G(_0xf79f89,this[_0x5bae7b(0x212)][_0x5bae7b(0x299)]),G(_0x55a447,_0x193bfe);for(const _0xb8f2db of _0xf79f89){const _0x29f771=_0x248f3e[_0x5bae7b(0x24c)](_0xb8f2db);_0xb8f2db[_0x5bae7b(0x2ae)]=_0x29f771?_0x29f771[_0x5bae7b(0x2ae)]:null;}_0x520454&&(this[_0x5bae7b(0x20d)][_0x5bae7b(0x20a)](_0x14e971,_0x520454),this[_0x5bae7b(0x23d)]=_0x520454),this[_0x5bae7b(0x29a)]=[..._0x55a447],this[_0x5bae7b(0x237)](_0xf79f89),this[_0x5bae7b(0x1ed)](_0x14e971);}catch(_0x45eb93){return console[_0x5bae7b(0x22e)](_0x45eb93),!0x1;}return!0x0;}[_0x5a58f4(0x237)](_0x585c0b,_0x3ea148=!0x1){const _0x358f6a=_0x5a58f4;this[_0x358f6a(0x2cd)][_0x358f6a(0x272)][_0x358f6a(0x2e7)]({'isUndoable':!0x1,'isLocal':!0x1},_0x348dfb=>{const _0x59f8f1=_0x358f6a;for(const _0x5e5bd9 of _0x585c0b)this[_0x59f8f1(0x1f7)][_0x59f8f1(0x2c7)](_0x5e5bd9),this[_0x59f8f1(0x1e8)](_0x5e5bd9),_0x348dfb[_0x59f8f1(0x2e2)][_0x59f8f1(0x2aa)](_0x5e5bd9),this[_0x59f8f1(0x2cd)][_0x59f8f1(0x272)][_0x59f8f1(0x276)](_0x5e5bd9);});}[_0x5a58f4(0x1e8)](_0x5ea936){const _0x2bf0a2=_0x5a58f4,_0x13ecb4=this[_0x2bf0a2(0x2df)](_0x5ea936);_0x13ecb4&&this[_0x2bf0a2(0x268)][_0x2bf0a2(0x2c7)](_0x13ecb4);}[_0x5a58f4(0x2df)](_0x343a3e){const _0x23ef9b=_0x5a58f4;let _0x5718fe,_0x3f4fc6;switch(_0x343a3e[_0x23ef9b(0x229)]){case _0x23ef9b(0x220):_0x5718fe=_0x343a3e[_0x23ef9b(0x2e3)][_0x23ef9b(0x216)];break;case _0x23ef9b(0x2d1):if(_0x3f4fc6=_0x343a3e[_0x23ef9b(0x21f)],!_0x3f4fc6)return null;_0x5718fe=_0x3f4fc6[_0x23ef9b(0x216)];break;case _0x23ef9b(0x222):_0x5718fe=_0x343a3e[_0x23ef9b(0x216)];break;case _0x23ef9b(0x2d4):_0x5718fe=_0x343a3e[_0x23ef9b(0x246)];break;case _0x23ef9b(0x265):_0x5718fe=_0x343a3e[_0x23ef9b(0x253)][_0x23ef9b(0x216)];break;default:return null;}return _0x5718fe[_0x23ef9b(0x298)];}[_0x5a58f4(0x1ed)](_0x3f6286){const _0x1910a7=_0x5a58f4;_0x3f6286[_0x1910a7(0x2c2)](_0x52bf25=>{const _0x3298fc=_0x1910a7,_0x5c49f4=_0x52bf25[_0x3298fc(0x2ec)]();_0x5c49f4[_0x3298fc(0x2ae)]=_0x52bf25[_0x3298fc(0x2ae)],_0x5c49f4[_0x3298fc(0x218)]=!!_0x52bf25[_0x3298fc(0x218)],_0x5c49f4[_0x3298fc(0x283)]=_0x52bf25[_0x3298fc(0x283)],_0x5c49f4[_0x3298fc(0x2e1)]+=this[_0x3298fc(0x1f3)],_0x52bf25[_0x3298fc(0x2b4)]&&this[_0x3298fc(0x270)][_0x3298fc(0x2c7)](_0x5c49f4),this[_0x3298fc(0x28e)][_0x3298fc(0x2aa)](_0x5c49f4);});}[_0x5a58f4(0x2a7)](_0x359389){const _0x42d2de=_0x5a58f4,_0x47ddab=this[_0x42d2de(0x2cd)][_0x42d2de(0x2b5)][_0x42d2de(0x24c)](_0x42d2de(0x2b0)),_0x458fc7=this[_0x42d2de(0x2cd)][_0x42d2de(0x247)];_0x359389||(_0x359389=_0x2d0164(_0x458fc7,_0x42d2de(0x28d))),_0x47ddab[_0x42d2de(0x2c5)](_0x359389,{'title':_0x2d0164(_0x458fc7,_0x42d2de(0x250)),'namespace':_0x42d2de(0x2a0)}),this[_0x42d2de(0x22c)]=!0x0,clearTimeout(this[_0x42d2de(0x230)]),this[_0x42d2de(0x29a)]=[],this[_0x42d2de(0x2cd)][_0x42d2de(0x2b5)][_0x42d2de(0x24c)](_0x50f12f)[_0x42d2de(0x25c)]();}[_0x5a58f4(0x2eb)](){const _0x49f0cf=_0x5a58f4;this[_0x49f0cf(0x233)]||(this[_0x49f0cf(0x233)]=this[_0x49f0cf(0x2cd)][_0x49f0cf(0x2b5)][_0x49f0cf(0x24c)](_0x4b1f9f)[_0x49f0cf(0x2c7)](_0x2d0164(this[_0x49f0cf(0x2cd)][_0x49f0cf(0x247)],_0x49f0cf(0x207))));}[_0x5a58f4(0x238)](){const _0x302cce=_0x5a58f4;this[_0x302cce(0x233)]&&(this[_0x302cce(0x2cd)][_0x302cce(0x2b5)][_0x302cce(0x24c)](_0x4b1f9f)[_0x302cce(0x275)](this[_0x302cce(0x233)]),this[_0x302cce(0x233)]=null);}[_0x5a58f4(0x254)](_0x3bca7f){const _0x3fdf83=_0x5a58f4,_0x40d758=_0x3bca7f[_0x3fdf83(0x290)](_0x4292f0=>_0x4292f0[_0x3fdf83(0x23f)]());return this[_0x3fdf83(0x239)][_0x3fdf83(0x24d)](_0x40d758);}[_0x5a58f4(0x252)](_0x397201,_0x2f4d35){const _0xe7a550=_0x5a58f4;return this[_0xe7a550(0x239)][_0xe7a550(0x25b)](_0x397201)[_0xe7a550(0x290)]((_0x2f8b34,_0xe507a1)=>{const _0x41d6b9=_0xe7a550,_0x2c332f=_0x41d6b9(0x274)==_0x2f4d35[_0xe507a1][_0x41d6b9(0x229)];if(_0x41d6b9(0x29d)==_0x2f8b34[_0x41d6b9(0x1fb)]){const _0x37f245=_0x2f8b34[_0x41d6b9(0x2e3)][_0x41d6b9(0x216)];!this[_0x41d6b9(0x212)][_0x41d6b9(0x211)](_0x37f245)&&(this[_0x41d6b9(0x212)][_0x41d6b9(0x2e8)](_0x41d6b9(0x2e5),_0x37f245)[_0x41d6b9(0x29c)]=!0x1);}const _0x4d2985=_0x381e3f[_0x41d6b9(0x1e6)](_0x2f8b34,this[_0x41d6b9(0x212)]);return _0x4d2985[_0x41d6b9(0x294)]=_0x2f8b34[_0x41d6b9(0x294)],_0x4d2985[_0x41d6b9(0x218)]=_0x2c332f,_0x4d2985[_0x41d6b9(0x2ae)]=_0x2c332f?null:_0x2f4d35[_0xe507a1][_0x41d6b9(0x22a)],_0x4d2985[_0x41d6b9(0x2b4)]=_0x41d6b9(0x26a)===_0x2f4d35[_0xe507a1][_0x41d6b9(0x229)],_0x4d2985[_0x41d6b9(0x283)]=_0x2f4d35[_0xe507a1][_0x41d6b9(0x283)],_0x4d2985;});}[_0x5a58f4(0x29f)](){const _0x45386f=_0x5a58f4;this[_0x45386f(0x217)]=!0x0,this[_0x45386f(0x277)]()?this[_0x45386f(0x2e9)]():this[_0x45386f(0x217)]=!0x1;}[_0x5a58f4(0x277)](){const _0x5442da=_0x5a58f4,_0x4588a7=this[_0x5442da(0x2cd)][_0x5442da(0x2b5)][_0x5442da(0x24c)](_0x4cbe40)[_0x5442da(0x241)][_0x5442da(0x24c)](this[_0x5442da(0x267)]);return!this[_0x5442da(0x2cd)][_0x5442da(0x219)]&&!!_0x4588a7&&_0x4588a7[_0x5442da(0x23a)]>0x1&&this[_0x5442da(0x217)];}[_0x5a58f4(0x256)](){const _0x2f2863=_0x5a58f4;return this[_0x2f2863(0x29a)][_0x2f2863(0x23a)]>0x0||this[_0x2f2863(0x277)]();}}export default l;class q extends Error{}function G(_0x369479,_0x466975){const _0x474a27=_0x5a58f4;for(const _0x4cac8e of _0x369479)_0x4cac8e[_0x474a27(0x2e1)]=_0x466975++;}class ${[_0x5a58f4(0x273)];[_0x5a58f4(0x1e9)];constructor(_0x599f4b){const _0x3c5059=_0x5a58f4;this[_0x3c5059(0x273)]=_0x599f4b,this[_0x3c5059(0x1e9)]=new WeakMap();}[_0x5a58f4(0x263)](_0x43c912){const _0x1fbafa=_0x5a58f4;let _0x44204a=_0x43c912[_0x1fbafa(0x23a)];for(;_0x44204a--;){const _0x34fbb4=_0x43c912[_0x44204a];if(!this[_0x1fbafa(0x273)][_0x1fbafa(0x21a)](_0x34fbb4)){if(!this[_0x1fbafa(0x1e9)][_0x1fbafa(0x21a)](_0x34fbb4)){const _0x985984=_0x45de8c()[_0x1fbafa(0x2b1)](0x1,0x12);this[_0x1fbafa(0x1e9)][_0x1fbafa(0x282)](_0x34fbb4,_0x985984);}return this[_0x1fbafa(0x1e9)][_0x1fbafa(0x24c)](_0x34fbb4);}}}[_0x5a58f4(0x20a)](_0x5ed821,_0xcd68c5){const _0x70b9ba=_0x5a58f4;if(!_0xcd68c5)return;let _0x3e22f2=_0x5ed821[_0x70b9ba(0x23a)];for(;_0x3e22f2--;){const _0x10e696=_0x5ed821[_0x3e22f2];this[_0x70b9ba(0x273)][_0x70b9ba(0x21a)](_0x10e696)||this[_0x70b9ba(0x1e9)][_0x70b9ba(0x282)](_0x10e696,_0xcd68c5);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x16c3b7=_0xfbf9;(function(_0x1ca281,_0x968a7){const _0x1b42fd=_0xfbf9,_0x5578c5=_0x1ca281();while(!![]){try{const _0x1c4fe0=-parseInt(_0x1b42fd(0x1b5))/0x1*(-parseInt(_0x1b42fd(0x1a7))/0x2)+parseInt(_0x1b42fd(0x199))/0x3+-parseInt(_0x1b42fd(0x1c4))/0x4+parseInt(_0x1b42fd(0x1c1))/0x5*(parseInt(_0x1b42fd(0x19f))/0x6)+-parseInt(_0x1b42fd(0x1cc))/0x7*(parseInt(_0x1b42fd(0x1af))/0x8)+parseInt(_0x1b42fd(0x19a))/0x9+-parseInt(_0x1b42fd(0x1d2))/0xa*(parseInt(_0x1b42fd(0x1a5))/0xb);if(_0x1c4fe0===_0x968a7)break;else _0x5578c5['push'](_0x5578c5['shift']());}catch(_0x40c628){_0x5578c5['push'](_0x5578c5['shift']());}}}(_0x2983,0xa59b8));import{ContextPlugin as _0x50fe76}from'ckeditor5/src/core.js';function _0x2983(){const _0x443c56=['pluginName','2sZpgYR','stopListening','get','register','defineMe','allConnectedUsers','remove','addUser','8HDrmjZ','init','size','connection','getUserSessions','set','233609unpAEG','sessionAdd:','getUser','has','_handleSessionAdd','channelSessions','user','assign','delete','sessions-register-already-registered','_users','mySessionId','135ukAWLr','change:state','requires','3338108XSbcMR','sessionId','isOfficialPlugin','listenTo','isMe','_uniqueUsersCount','channelConnectedUsers','values','4916898LDysan','getUserRole','unregister','Sessions','fire','_handleSessionRemove','274790mVBvmT','state','_registeredSessions','connected','plugins','role','1708314ZNhRha','12198411asxnRW','_createUser','sessions-unregister-not-exist','clear','context','208038zyjKEQ','forEach','isPremiumPlugin','orderNumber','add','getUserBySessionId','352wzQFCr'];_0x2983=function(){return _0x443c56;};return _0x2983();}import{Collection as _0x291e5d,CKEditorError as _0x4522b6}from'ckeditor5/src/utils.js';import _0x114791 from'./websocketgateway.js';import{Users as _0x5cabd4}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xfbf9(_0x11bdce,_0x3f32c1){const _0x2983ba=_0x2983();return _0xfbf9=function(_0xfbf9e0,_0xca8f18){_0xfbf9e0=_0xfbf9e0-0x196;let _0x36bf42=_0x2983ba[_0xfbf9e0];return _0x36bf42;},_0xfbf9(_0x11bdce,_0x3f32c1);}export default class i extends _0x50fe76{[_0x16c3b7(0x1ba)];[_0x16c3b7(0x1ca)];[_0x16c3b7(0x1ac)];[_0x16c3b7(0x1d4)];[_0x16c3b7(0x1c9)];[_0x16c3b7(0x1bf)];static get[_0x16c3b7(0x1a6)](){const _0x25876d=_0x16c3b7;return _0x25876d(0x1cf);}static get[_0x16c3b7(0x1c6)](){return!0x0;}static get[_0x16c3b7(0x1a1)](){return!0x0;}static get[_0x16c3b7(0x1c3)](){return[_0x114791,_0x5cabd4];}constructor(_0x8bd468){const _0x51e0ac=_0x16c3b7;super(_0x8bd468),this[_0x51e0ac(0x1ba)]=new Map(),this[_0x51e0ac(0x1ca)]=new Map(),this[_0x51e0ac(0x1ac)]=new _0x291e5d(),this[_0x51e0ac(0x1d4)]=new Map(),this[_0x51e0ac(0x1c9)]=0x0,this[_0x51e0ac(0x1bf)]=this[_0x51e0ac(0x19e)][_0x51e0ac(0x197)][_0x51e0ac(0x1a9)](_0x5cabd4);}[_0x16c3b7(0x1b0)](){const _0x452b55=_0x16c3b7,_0x220318=this[_0x452b55(0x19e)][_0x452b55(0x197)][_0x452b55(0x1a9)](_0x114791);this[_0x452b55(0x1c7)](_0x220318,_0x452b55(0x1c2),(_0x22c1e7,_0xf3ce19,_0x1f51e4)=>{const _0x51432e=_0x452b55;if(_0x51432e(0x196)!==_0x1f51e4)this[_0x51432e(0x1ba)][_0x51432e(0x1a0)](_0x54cc6a=>_0x54cc6a[_0x51432e(0x19d)]()),this[_0x51432e(0x1ca)][_0x51432e(0x1a0)](_0x15a671=>_0x15a671[_0x51432e(0x19d)]()),this[_0x51432e(0x1ac)][_0x51432e(0x19d)]();else{for(const [_0x1ac3a8,_0x2d1a4a]of this[_0x51432e(0x1d4)])for(const _0x3593ac of _0x2d1a4a)this[_0x51432e(0x1b9)](_0x1ac3a8,_0x3593ac);}}),this[_0x452b55(0x19b)](_0x220318[_0x452b55(0x1b2)]['me'],!0x0);}[_0x16c3b7(0x1aa)](_0x47a9c2,_0x591900){const _0x4f7e32=_0x16c3b7;if(this[_0x4f7e32(0x1d4)][_0x4f7e32(0x1b8)](_0x47a9c2))throw new _0x4522b6(_0x4f7e32(0x1be),null,{'channelId':_0x47a9c2});this[_0x4f7e32(0x1d4)][_0x4f7e32(0x1b4)](_0x47a9c2,_0x591900),this[_0x4f7e32(0x1ba)][_0x4f7e32(0x1b4)](_0x47a9c2,new _0x291e5d()),this[_0x4f7e32(0x1ca)][_0x4f7e32(0x1b4)](_0x47a9c2,new _0x291e5d()),this[_0x4f7e32(0x1c7)](_0x591900,_0x4f7e32(0x1a3),(_0x1ca92d,_0x27fdbb)=>this[_0x4f7e32(0x1b9)](_0x47a9c2,_0x27fdbb)),this[_0x4f7e32(0x1c7)](_0x591900,_0x4f7e32(0x1ad),(_0xaba841,_0x57faea)=>this[_0x4f7e32(0x1d1)](_0x47a9c2,_0x57faea));for(const _0x46c4bf of _0x591900)this[_0x4f7e32(0x1b9)](_0x47a9c2,_0x46c4bf);}[_0x16c3b7(0x1ce)](_0x5949a0){const _0xe0aa7e=_0x16c3b7;if(!this[_0xe0aa7e(0x1d4)][_0xe0aa7e(0x1b8)](_0x5949a0))throw new _0x4522b6(_0xe0aa7e(0x19c),null,{'channelId':_0x5949a0});const _0x458fd9=this[_0xe0aa7e(0x1d4)][_0xe0aa7e(0x1a9)](_0x5949a0);this[_0xe0aa7e(0x1a8)](_0x458fd9);for(const _0x4d3c46 of _0x458fd9)_0xe0aa7e(0x196)===this[_0xe0aa7e(0x19e)][_0xe0aa7e(0x197)][_0xe0aa7e(0x1a9)](_0x114791)[_0xe0aa7e(0x1d3)]&&this[_0xe0aa7e(0x1d1)](_0x5949a0,_0x4d3c46);this[_0xe0aa7e(0x1d4)][_0xe0aa7e(0x1bd)](_0x5949a0),this[_0xe0aa7e(0x1ba)][_0xe0aa7e(0x1bd)](_0x5949a0),this[_0xe0aa7e(0x1ca)][_0xe0aa7e(0x1bd)](_0x5949a0);}get[_0x16c3b7(0x1c0)](){const _0x5c8ca9=_0x16c3b7;return this[_0x5c8ca9(0x19e)][_0x5c8ca9(0x197)][_0x5c8ca9(0x1a9)](_0x114791)[_0x5c8ca9(0x1b2)][_0x5c8ca9(0x1c5)];}[_0x16c3b7(0x1a4)](_0x5e4f3){const _0x26e26e=_0x16c3b7;for(const _0x39804c of this[_0x26e26e(0x1ba)][_0x26e26e(0x1cb)]())for(const _0x7d020f of _0x39804c)if(_0x7d020f['id']===_0x5e4f3)return _0x7d020f[_0x26e26e(0x1bb)];}[_0x16c3b7(0x1b3)](_0x52786f,_0x5d18a8){const _0x4e3308=_0x16c3b7,_0x5534a8=_0x5d18a8?[this[_0x4e3308(0x1ba)][_0x4e3308(0x1a9)](_0x5d18a8)]:this[_0x4e3308(0x1ba)][_0x4e3308(0x1cb)](),_0x148239=new Set();for(const _0x21cdf6 of _0x5534a8)for(const _0x5a4bb6 of _0x21cdf6)_0x5a4bb6[_0x4e3308(0x1bb)]['id']===_0x52786f['id']&&_0x148239[_0x4e3308(0x1a3)](_0x5a4bb6['id']);return _0x148239;}[_0x16c3b7(0x1cd)](_0x4ca073){const _0x22edd5=_0x16c3b7;for(const _0xeac012 of this[_0x22edd5(0x1ba)][_0x22edd5(0x1cb)]())for(const _0x25144a of _0xeac012)if(_0x25144a[_0x22edd5(0x1bb)]===_0x4ca073)return _0x25144a[_0x22edd5(0x198)];}[_0x16c3b7(0x1b9)](_0x81f880,_0x34664c){const _0x3dab85=_0x16c3b7;if(_0x3dab85(0x196)!==this[_0x3dab85(0x19e)][_0x3dab85(0x197)][_0x3dab85(0x1a9)](_0x114791)[_0x3dab85(0x1d3)])return;const _0x171178=_0x34664c[_0x3dab85(0x1bb)],_0x198a9c=this[_0x3dab85(0x1bf)][_0x3dab85(0x1b7)](_0x171178['id'])||this[_0x3dab85(0x19b)](_0x171178),_0x5815b6=Object[_0x3dab85(0x1bc)]({},_0x34664c,{'user':_0x198a9c});this[_0x3dab85(0x1ba)][_0x3dab85(0x1a9)](_0x81f880)[_0x3dab85(0x1a3)](_0x5815b6);const _0x381c92=this[_0x3dab85(0x1ca)][_0x3dab85(0x1a9)](_0x81f880);_0x381c92[_0x3dab85(0x1b8)](_0x198a9c['id'])||_0x381c92[_0x3dab85(0x1a3)](_0x198a9c),this[_0x3dab85(0x1ac)][_0x3dab85(0x1b8)](_0x198a9c['id'])||this[_0x3dab85(0x1ac)][_0x3dab85(0x1a3)](_0x198a9c,_0x198a9c[_0x3dab85(0x1c8)]?0x0:void 0x0),this[_0x3dab85(0x1d0)](_0x3dab85(0x1b6)+_0x81f880,{'channelId':_0x81f880,'session':_0x5815b6});}[_0x16c3b7(0x1d1)](_0xb4a203,_0x3b7952){const _0x22bb50=_0x16c3b7;if(_0x22bb50(0x196)!==this[_0x22bb50(0x19e)][_0x22bb50(0x197)][_0x22bb50(0x1a9)](_0x114791)[_0x22bb50(0x1d3)])return;const _0x6bac64=this[_0x22bb50(0x1ca)][_0x22bb50(0x1a9)](_0xb4a203),_0x5e83ea=_0x3b7952[_0x22bb50(0x1bb)];_0x5e83ea['id']&&(this[_0x22bb50(0x1ba)][_0x22bb50(0x1a9)](_0xb4a203)[_0x22bb50(0x1ad)](_0x3b7952['id']),_0x6bac64[_0x22bb50(0x1b8)](_0x5e83ea['id'])&&!this[_0x22bb50(0x1b3)](_0x5e83ea,_0xb4a203)[_0x22bb50(0x1b1)]&&_0x6bac64[_0x22bb50(0x1ad)](_0x5e83ea['id']),this[_0x22bb50(0x1ac)][_0x22bb50(0x1a9)](_0x5e83ea['id'])&&!this[_0x22bb50(0x1b3)](_0x5e83ea)[_0x22bb50(0x1b1)]&&this[_0x22bb50(0x1ac)][_0x22bb50(0x1ad)](_0x5e83ea['id']));}[_0x16c3b7(0x19b)](_0x5ef7d8,_0x4152ef){const _0x3ac7c1=_0x16c3b7,_0x28b5c0=this[_0x3ac7c1(0x1bf)][_0x3ac7c1(0x1ae)](_0x5ef7d8);return _0x4152ef&&this[_0x3ac7c1(0x1bf)][_0x3ac7c1(0x1ab)](_0x5ef7d8['id']),_0x28b5c0[_0x3ac7c1(0x1a2)]=this[_0x3ac7c1(0x1c9)]++,_0x28b5c0;}}
|