@ckeditor/ckeditor5-real-time-collaboration 46.1.1-alpha.2 → 46.1.1-alpha.3
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/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.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": "46.1.1-alpha.
|
|
3
|
+
"version": "46.1.1-alpha.3",
|
|
4
4
|
"description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -47,19 +47,19 @@
|
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@ckeditor/ckeditor-cloud-services-collaboration": "53.0.1",
|
|
50
|
-
"@ckeditor/ckeditor5-cloud-services": "46.1.1-alpha.
|
|
51
|
-
"@ckeditor/ckeditor5-comments": "46.1.1-alpha.
|
|
52
|
-
"@ckeditor/ckeditor5-core": "46.1.1-alpha.
|
|
53
|
-
"@ckeditor/ckeditor5-editor-multi-root": "46.1.1-alpha.
|
|
54
|
-
"@ckeditor/ckeditor5-engine": "46.1.1-alpha.
|
|
55
|
-
"@ckeditor/ckeditor5-operations-compressor": "46.1.1-alpha.
|
|
56
|
-
"@ckeditor/ckeditor5-revision-history": "46.1.1-alpha.
|
|
57
|
-
"@ckeditor/ckeditor5-theme-lark": "46.1.1-alpha.
|
|
58
|
-
"@ckeditor/ckeditor5-track-changes": "46.1.1-alpha.
|
|
59
|
-
"@ckeditor/ckeditor5-ui": "46.1.1-alpha.
|
|
60
|
-
"@ckeditor/ckeditor5-utils": "46.1.1-alpha.
|
|
61
|
-
"ckeditor5": "46.1.1-alpha.
|
|
62
|
-
"ckeditor5-collaboration": "46.1.1-alpha.
|
|
50
|
+
"@ckeditor/ckeditor5-cloud-services": "46.1.1-alpha.3",
|
|
51
|
+
"@ckeditor/ckeditor5-comments": "46.1.1-alpha.3",
|
|
52
|
+
"@ckeditor/ckeditor5-core": "46.1.1-alpha.3",
|
|
53
|
+
"@ckeditor/ckeditor5-editor-multi-root": "46.1.1-alpha.3",
|
|
54
|
+
"@ckeditor/ckeditor5-engine": "46.1.1-alpha.3",
|
|
55
|
+
"@ckeditor/ckeditor5-operations-compressor": "46.1.1-alpha.3",
|
|
56
|
+
"@ckeditor/ckeditor5-revision-history": "46.1.1-alpha.3",
|
|
57
|
+
"@ckeditor/ckeditor5-theme-lark": "46.1.1-alpha.3",
|
|
58
|
+
"@ckeditor/ckeditor5-track-changes": "46.1.1-alpha.3",
|
|
59
|
+
"@ckeditor/ckeditor5-ui": "46.1.1-alpha.3",
|
|
60
|
+
"@ckeditor/ckeditor5-utils": "46.1.1-alpha.3",
|
|
61
|
+
"ckeditor5": "46.1.1-alpha.3",
|
|
62
|
+
"ckeditor5-collaboration": "46.1.1-alpha.3",
|
|
63
63
|
"es-toolkit": "1.39.5"
|
|
64
64
|
},
|
|
65
65
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x273188=_0x203a;(function(_0x45f3aa,_0x1495f5){const _0x435b41=_0x203a,_0x6b7b2a=_0x45f3aa();while(!![]){try{const _0x33369e=-parseInt(_0x435b41(0xf8))/0x1+-parseInt(_0x435b41(0xe6))/0x2*(parseInt(_0x435b41(0xff))/0x3)+parseInt(_0x435b41(0x103))/0x4*(parseInt(_0x435b41(0x10e))/0x5)+-parseInt(_0x435b41(0xeb))/0x6*(-parseInt(_0x435b41(0xf3))/0x7)+-parseInt(_0x435b41(0xfe))/0x8+-parseInt(_0x435b41(0xe4))/0x9*(parseInt(_0x435b41(0x10a))/0xa)+parseInt(_0x435b41(0x109))/0xb*(parseInt(_0x435b41(0xfb))/0xc);if(_0x33369e===_0x1495f5)break;else _0x6b7b2a['push'](_0x6b7b2a['shift']());}catch(_0x22c403){_0x6b7b2a['push'](_0x6b7b2a['shift']());}}}(_0x5589,0x79b3f));function _0x203a(_0x574536,_0xcb06f9){const _0x5589c7=_0x5589();return _0x203a=function(_0x203a7a,_0x56dc0f){_0x203a7a=_0x203a7a-0xe4;let _0xad0632=_0x5589c7[_0x203a7a];return _0xad0632;},_0x203a(_0x574536,_0xcb06f9);}import{ListView as _0x37167e,View as _0x7c65bf}from'ckeditor5/src/ui.js';import{global as _0x28b455}from'ckeditor5/src/utils.js';import{getTranslation as _0x527aa8}from'../../common-translations.js';function _0x5589(){const _0x47e271=['19794WiKpyM','change','ariaLabelledBy','window','ariaLabel','Connected\x20users\x20list\x20dropdown\x20menu','relatedTarget','.ck-balloon-panel_with-arrow','1092IfqLlP','items','checkIfScrollable','setTemplate','ck-presence-list__dropdown-list','794264RolemX','element','render','132woNfaC','ck-presence-list__dropdown-list-wrapper','ck-reset','1620368nowKob','12EOADDb','resize','set','innerHeight','2764460HNxzVm','_isScrollable','contains','max','.ck-presence-list__list','bindTemplate','1867052usqqNB','108730KXmTFB','application','ck-list','fire','5vhcHuT','div','querySelector','clientHeight','ck-presence-list__dropdown-list-wrapper_scrollable','630TyPFvJ','role','408198fbbQHH','listenTo','listWrapperView','scrollHeight','presencelist:hide'];_0x5589=function(){return _0x47e271;};return _0x5589();}export class PresenceDropdownListView extends _0x7c65bf{[_0x273188(0xe8)];constructor(_0x422489,_0x303219){const _0x486f63=_0x273188;super(_0x422489);const _0x4a417f=this[_0x486f63(0x108)];this[_0x486f63(0xe8)]=new PresenceDropdownListWrapperView(_0x422489,_0x303219),this[_0x486f63(0xf6)]({'tag':_0x486f63(0x10f),'attributes':{'tabindex':-0x1,'role':_0x486f63(0x10b),'class':['ck',_0x486f63(0xf7)],'aria-label':_0x527aa8(_0x422489,_0x486f63(0xf0))},'children':[this[_0x486f63(0xe8)]],'on':{'mouseleave':_0x4a417f['to'](_0x1c52f1=>{const _0x2ebdb1=_0x486f63,_0xf4dc0a=_0x1c52f1,_0x33d31c=document[_0x2ebdb1(0x110)](_0x2ebdb1(0x107)),_0x90f19b=document[_0x2ebdb1(0x110)](_0x2ebdb1(0xf2));_0x33d31c?.[_0x2ebdb1(0x105)](_0xf4dc0a[_0x2ebdb1(0xf1)])||_0x90f19b?.[_0x2ebdb1(0x105)](_0xf4dc0a[_0x2ebdb1(0xf1)])||this[_0x2ebdb1(0x10d)](_0x2ebdb1(0xea));})}});}}export class PresenceDropdownListWrapperView extends _0x37167e{constructor(_0x3233d9,_0x2c49af){const _0x466669=_0x273188;super(_0x3233d9);const _0x2485e3=this[_0x466669(0x108)];this[_0x466669(0x101)](_0x466669(0x104),!0x1),this[_0x466669(0xf6)]({'tag':_0x2c49af?_0x466669(0x10f):'ul','attributes':{'class':['ck',_0x466669(0xfd),_0x466669(0x10c),_0x466669(0xfc),_0x2485e3['if'](_0x466669(0x104),_0x466669(0x112))],'role':_0x2485e3['to'](_0x466669(0xe5)),'aria-label':_0x2485e3['to'](_0x466669(0xef)),'aria-labelledby':_0x2485e3['to'](_0x466669(0xed))},'children':this[_0x466669(0xf4)]}),this[_0x466669(0xe7)](_0x28b455[_0x466669(0xee)],_0x466669(0x100),()=>this[_0x466669(0xf5)]()),this[_0x466669(0xf4)]['on'](_0x466669(0xec),()=>this[_0x466669(0xf5)]());}[_0x273188(0xfa)](){const _0x2a813b=_0x273188;super[_0x2a813b(0xfa)](),this[_0x2a813b(0xf5)]();}[_0x273188(0xf5)](){const _0x32106e=_0x273188,_0xc45268=this[_0x32106e(0xf9)];_0xc45268&&(this[_0x32106e(0x104)]=Math[_0x32106e(0x106)](_0xc45268[_0x32106e(0xe9)],_0xc45268[_0x32106e(0x111)])>0.8*window[_0x32106e(0x102)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x55c258=_0x5c14;function _0x5c14(_0xa64a42,_0x1dbb87){const _0x27ee87=_0x27ee();return _0x5c14=function(_0x5c14d9,_0x1ef407){_0x5c14d9=_0x5c14d9-0x1ba;let _0x1ced32=_0x27ee87[_0x5c14d9];return _0x1ced32;},_0x5c14(_0xa64a42,_0x1dbb87);}(function(_0xb1892a,_0x4a2f92){const _0x1d12f7=_0x5c14,_0xdad509=_0xb1892a();while(!![]){try{const _0x31acdf=-parseInt(_0x1d12f7(0x1d1))/0x1*(-parseInt(_0x1d12f7(0x1d5))/0x2)+parseInt(_0x1d12f7(0x1bc))/0x3*(parseInt(_0x1d12f7(0x1bb))/0x4)+-parseInt(_0x1d12f7(0x1bf))/0x5+parseInt(_0x1d12f7(0x1db))/0x6+-parseInt(_0x1d12f7(0x1cf))/0x7+-parseInt(_0x1d12f7(0x1c2))/0x8*(parseInt(_0x1d12f7(0x1d0))/0x9)+parseInt(_0x1d12f7(0x1d4))/0xa*(parseInt(_0x1d12f7(0x1dc))/0xb);if(_0x31acdf===_0x4a2f92)break;else _0xdad509['push'](_0xdad509['shift']());}catch(_0x3266cc){_0xdad509['push'](_0xdad509['shift']());}}}(_0x27ee,0x524fc));import{LabelView as _0x40d882,View as _0x4404d6}from'ckeditor5/src/ui.js';import{UserView as _0x58df19}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceInlineListItemView extends _0x4404d6{[_0x55c258(0x1ca)];[_0x55c258(0x1c5)];constructor(_0x11793e,_0x5c8228,_0x31d12b){const _0x349e54=_0x55c258;super(_0x11793e);const _0xa029d8=this[_0x349e54(0x1d9)];this[_0x349e54(0x1be)](_0x349e54(0x1c8),!0x1),this[_0x349e54(0x1be)](_0x349e54(0x1d3),!0x0),this[_0x349e54(0x1be)](_0x349e54(0x1d8),''),this[_0x349e54(0x1ca)]=new _0x58df19(_0x11793e,_0x5c8228),this[_0x349e54(0x1c5)]=new lt(_0x11793e,_0x5c8228);const _0x2d1947=new _0x40d882(_0x11793e);_0x2d1947[_0x349e54(0x1cb)][_0x349e54(0x1c9)]=_0x349e54(0x1d2),_0x2d1947[_0x349e54(0x1d6)]=_0x5c8228[_0x349e54(0x1cd)];const _0x4077d2={'tag':_0x349e54(0x1ba),'attributes':{'class':['ck',_0x349e54(0x1c4)],'role':_0x349e54(0x1c3),'tabindex':_0xa029d8['to'](_0x349e54(0x1c8),_0x25a2bf=>!!_0x25a2bf&&0x0),'aria-labelledby':_0x2d1947['id'],'data-cke-tooltip-text':this[_0x349e54(0x1ca)][_0x349e54(0x1cd)],'data-cke-tooltip-position':_0xa029d8['to'](_0x349e54(0x1d8)),'data-cke-tooltip-disabled':_0xa029d8['to'](_0x349e54(0x1d3),_0x49323a=>!_0x49323a),'data-cke-tooltip-class':_0x349e54(0x1c0)},'children':[this[_0x349e54(0x1ca)],this[_0x349e54(0x1c5)],_0x2d1947]};_0x31d12b&&(_0x4077d2[_0x349e54(0x1c9)]=_0x349e54(0x1d7),_0x4077d2['on']={'click':_0xa029d8['to'](()=>this[_0x349e54(0x1bd)](_0x349e54(0x1c1)))}),this[_0x349e54(0x1cc)](_0x4077d2);}}function _0x27ee(){const _0x5d5520=['span','hasTooltip','10rjsXpm','2xqYkli','text','button','tooltipPosition','bindTemplate','ck-presence-list__marker','1901874oTuYRK','5022699LPecTi','div','4MTihXx','1505451sPOCmG','fire','set','1928660gkJkEO','ck-presence-list__list-item__tooltip','execute','43528JosIeD','listitem','ck-presence-list__list-item','markerView','getBackgroundColorClass','true','isFocusable','tag','userView','template','setTemplate','name','color','1727194ehaDmi','1017DUYoFN','309050BFypba'];_0x27ee=function(){return _0x5d5520;};return _0x27ee();}class lt extends _0x4404d6{constructor(_0x199415,_0x276021){const _0x3482a4=_0x55c258;super(_0x199415),this[_0x3482a4(0x1cc)]({'tag':_0x3482a4(0x1d2),'attributes':{'class':['ck',_0x3482a4(0x1da),_0x276021[_0x3482a4(0x1ce)][_0x3482a4(0x1c6)]()],'aria-hidden':_0x3482a4(0x1c7)}});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x1079ed)());[_0x4c11a4(0x1d6)];static get[_0x4c11a4(0x1ec)](){const _0x2d6ff5=_0x4c11a4;return[_0x12c0df,_0x2d6ff5(0x1c1),_0x12938f,_0x35c914];}static get[_0x4c11a4(0x1a0)](){const _0x514fa8=_0x4c11a4;return _0x514fa8(0x1cb);}static get[_0x4c11a4(0x18d)](){return!0x0;}static get[_0x4c11a4(0x1c9)](){return!0x0;}constructor(_0x472e84){const _0x583f71=_0x4c11a4;super(_0x472e84),this[_0x583f71(0x1d6)]=new Map();}async[_0x4c11a4(0x1dc)](){const _0x5bc408=_0x4c11a4,_0x1d6101=this[_0x5bc408(0x187)],_0x3ead90=_0x1d6101[_0x5bc408(0x1da)][_0x5bc408(0x1e8)](_0x5bc408(0x1c1));if(_0x1d6101[_0x5bc408(0x1da)][_0x5bc408(0x1e8)](_0x12c0df)[_0x5bc408(0x197)](this),_0x3ead90[_0x5bc408(0x1d8)]={'addCommentThread':async({channelId:_0x97a2a1,threadId:_0x26d34d,comments:_0x8dc9bb,resolvedAt:_0x5bded5,resolvedBy:_0x1dc136,context:_0x176bcf,attributes:_0x580dc4})=>{const _0x3e2f71=_0x5bc408,_0x565841=await this[_0x3e2f71(0x1a8)](_0x97a2a1)[_0x3e2f71(0x188)]({'commentThreadId':_0x26d34d,'comments':_0x8dc9bb[_0x3e2f71(0x193)](_0x3cab4e=>function(_0x30d33b,_0x18672b,_0x342a41){const _0x5c5b5e=_0x3e2f71;return{'commentThreadId':_0x342a41,'commentId':_0x30d33b[_0x5c5b5e(0x1e1)],'userId':_0x30d33b[_0x5c5b5e(0x1c7)],'content':_0x30d33b[_0x5c5b5e(0x19d)],'documentId':_0x18672b,'createdAt':_0x30d33b[_0x5c5b5e(0x199)],'attributes':_0x30d33b[_0x5c5b5e(0x1d4)]||{}};}(_0x3cab4e,_0x97a2a1,_0x26d34d)),'resolvedAt':_0x5bded5,'resolvedBy':_0x1dc136,'context':_0x176bcf,'attributes':_0x580dc4})[_0x3e2f71(0x1b2)](k);return{'threadId':_0x565841[_0x3e2f71(0x1ed)],'comments':_0x565841[_0x3e2f71(0x18a)]};},'getCommentThread':async({channelId:_0x25e755,threadId:_0x19cac5})=>{const _0x10516b=_0x5bc408,_0xe3e452=await this[_0x10516b(0x1a8)](_0x25e755)[_0x10516b(0x1c0)](_0x19cac5)[_0x10516b(0x1b2)](F)[_0x10516b(0x1b2)](k);return _0xe3e452?_0xe3e452[_0x10516b(0x1df)]?null:(await this[_0x10516b(0x1ae)]([_0xe3e452]),{'threadId':_0xe3e452[_0x10516b(0x1ed)],'comments':_0xe3e452[_0x10516b(0x18a)][_0x10516b(0x193)](B),'context':_0xe3e452[_0x10516b(0x187)],'resolvedAt':_0xe3e452[_0x10516b(0x1bd)],'resolvedBy':_0xe3e452[_0x10516b(0x194)],'attributes':_0xe3e452[_0x10516b(0x1d4)]||{}}):null;},'updateCommentThread':async({channelId:_0x1f7758,threadId:_0x1b8f56,context:_0x297d93,unlinkedAt:_0x4a3454,attributes:_0x2eee5f})=>this[_0x5bc408(0x1a8)](_0x1f7758)[_0x5bc408(0x1e5)]({'commentThreadId':_0x1b8f56,'context':_0x297d93,'attributes':_0x2eee5f,'unlinkedAt':_0x4a3454})[_0x5bc408(0x1b2)](F)[_0x5bc408(0x1b2)](k),'resolveCommentThread':async({channelId:_0x434d4e,threadId:_0x18f339})=>{const _0x34e89f=_0x5bc408,_0x3eb80a=await this[_0x34e89f(0x1a8)](_0x434d4e)[_0x34e89f(0x1de)](_0x18f339)[_0x34e89f(0x1b2)](F)[_0x34e89f(0x1b2)](k);return{'threadId':_0x3eb80a[_0x34e89f(0x1ed)],'resolvedAt':_0x3eb80a[_0x34e89f(0x1bd)],'resolvedBy':_0x3eb80a[_0x34e89f(0x194)]};},'reopenCommentThread':async({channelId:_0x125c8f,threadId:_0x120e63})=>this[_0x5bc408(0x1a8)](_0x125c8f)[_0x5bc408(0x190)](_0x120e63)[_0x5bc408(0x1b2)](F)[_0x5bc408(0x1b2)](k),'removeCommentThread':({channelId:_0x4c9e9a,threadId:_0x4b2cc0})=>this[_0x5bc408(0x1a8)](_0x4c9e9a)[_0x5bc408(0x19f)](_0x4b2cc0)[_0x5bc408(0x1b2)](F)[_0x5bc408(0x1b2)](k),'addComment':({channelId:_0x1f459c,threadId:_0x257465,commentId:_0x534cc1,content:_0x520a41,attributes:_0x38a96a})=>this[_0x5bc408(0x1a8)](_0x1f459c)[_0x5bc408(0x18b)](_0x257465,_0x534cc1,_0x520a41,_0x38a96a)[_0x5bc408(0x1b2)](k),'updateComment':({channelId:_0x36d43d,threadId:_0x4f01c6,commentId:_0x3cc426,content:_0x4dcc3a,attributes:_0xf17cce})=>this[_0x5bc408(0x1a8)](_0x36d43d)[_0x5bc408(0x1b7)](_0x4f01c6,_0x3cc426,_0x4dcc3a,_0xf17cce)[_0x5bc408(0x1b2)](F)[_0x5bc408(0x1b2)](k),'removeComment':({channelId:_0x31543e,threadId:_0x23fb6e,commentId:_0x294db6})=>this[_0x5bc408(0x1a8)](_0x31543e)[_0x5bc408(0x1bc)](_0x23fb6e,_0x294db6)[_0x5bc408(0x1b2)](F)[_0x5bc408(0x1b2)](k)},_0x1d6101 instanceof _0x3ecf2c){const _0x2c427b=_0x1d6101[_0x5bc408(0x1eb)][_0x5bc408(0x1e8)](_0x5bc408(0x1e3)),_0x4b0a7b=_0x1d6101[_0x5bc408(0x1da)][_0x5bc408(0x1e8)](_0x12938f);await this[_0x5bc408(0x1b0)](_0x2c427b);const _0x3e96f4=await this[_0x5bc408(0x1d6)][_0x5bc408(0x1e8)](_0x2c427b)[_0x5bc408(0x1be)]();this[_0x5bc408(0x1b5)](_0x4b0a7b,_0x5bc408(0x1ee)+_0x2c427b,(_0x274cfd,{session:_0x2d9e4f})=>{const _0x4e2809=_0x5bc408;_0x2d9e4f['id']===_0x4b0a7b[_0x4e2809(0x196)]&&(_0x274cfd[_0x4e2809(0x1a3)](),this[_0x4e2809(0x187)][_0x4e2809(0x1da)][_0x4e2809(0x1e8)](_0x4e2809(0x1a7))[_0x4e2809(0x1dd)](_0x2d9e4f[_0x4e2809(0x189)],_0x2c427b));}),_0x4b0a7b[_0x5bc408(0x1ba)](_0x2c427b,_0x3e96f4);}}async[_0x4c11a4(0x1b0)](_0xa7dee7){const _0x592a61=_0x4c11a4;if(this[_0x592a61(0x1d6)][_0x592a61(0x1ea)](_0xa7dee7))throw new _0x19e6b2(_0x592a61(0x1b9),null,{'channelId':_0xa7dee7});const _0x497364=this[_0x592a61(0x187)][_0x592a61(0x1da)][_0x592a61(0x1e8)](_0x592a61(0x1c1)),_0x492d16=new s[(_0x592a61(0x1e7))](_0xa7dee7);this[_0x592a61(0x1d6)][_0x592a61(0x1c6)](_0xa7dee7,_0x492d16),this[_0x592a61(0x1b5)](_0x492d16,_0x592a61(0x1a2),(_0x18adc8,_0x5a202c)=>{const _0x595bc4=_0x592a61,{commentThreadId:_0x5364d9,documentId:_0x2fa986,context:_0x210d1a,attributes:_0x2f5476,resolvedAt:_0x4bef71,resolvedBy:_0x5c86fa,comments:_0x323d1b}=_0x5a202c;_0x497364[_0x595bc4(0x1c0)](_0x5364d9)||_0x497364[_0x595bc4(0x188)]({'threadId':_0x5364d9,'channelId':_0x2fa986,'comments':_0x323d1b?_0x323d1b[_0x595bc4(0x193)](B):[],'context':_0x210d1a,'attributes':_0x2f5476,'resolvedAt':_0x4bef71,'resolvedBy':_0x5c86fa,'isFromAdapter':!0x0});}),this[_0x592a61(0x1b5)](_0x492d16,_0x592a61(0x192),(_0x548661,{commentThreadId:_0x14edb1,documentId:_0x2fb4b7,context:_0x2bf9e6,unlinkedAt:_0x1c2da7,attributes:_0x1828c0})=>{const _0xe38a38=_0x592a61;_0x497364[_0xe38a38(0x1c0)](_0x14edb1)&&_0x497364[_0xe38a38(0x1e5)]({'threadId':_0x14edb1,'channelId':_0x2fb4b7,'context':_0x2bf9e6,'unlinkedAt':_0x1c2da7,'attributes':_0x1828c0,'isFromAdapter':!0x0});}),this[_0x592a61(0x1b5)](_0x492d16,_0x592a61(0x19e),(_0x49b83d,{commentThreadId:_0x4e0fdd,resolvedBy:_0x4d0651,resolvedAt:_0x2582ad})=>{const _0x3a7f0f=_0x592a61,_0x317ec7=_0x497364[_0x3a7f0f(0x1c0)](_0x4e0fdd);_0x317ec7&&_0x317ec7[_0x3a7f0f(0x1d7)]({'resolvedBy':_0x4d0651,'resolvedAt':_0x2582ad,'isFromAdapter':!0x0});}),this[_0x592a61(0x1b5)](_0x492d16,_0x592a61(0x1b3),(_0x4841a5,{commentThreadId:_0x59828f})=>{const _0x3dfcf1=_0x592a61,_0xe6b25e=_0x497364[_0x3dfcf1(0x1c0)](_0x59828f);_0xe6b25e&&_0xe6b25e[_0x3dfcf1(0x1d0)]({'isFromAdapter':!0x0});}),this[_0x592a61(0x1b5)](_0x492d16,_0x592a61(0x1c5),(_0x48a0f6,{commentThreadId:_0x27a3c6})=>{const _0x3476d8=_0x592a61,_0x4793d2=_0x497364[_0x3476d8(0x1c0)](_0x27a3c6);_0x4793d2&&_0x4793d2[_0x3476d8(0x1bf)]({'isFromAdapter':!0x0});}),this[_0x592a61(0x1b5)](_0x492d16,_0x592a61(0x1c8),(_0x34568e,_0x360c75)=>{const _0x42d099=_0x592a61,_0x32c57e=_0x360c75[_0x42d099(0x1ed)],_0x34e9b7=_0x497364[_0x42d099(0x1c0)](_0x32c57e);_0x34e9b7&&_0x34e9b7[_0x42d099(0x18b)]({...B(_0x360c75),'isFromAdapter':!0x0});}),this[_0x592a61(0x1b5)](_0x492d16,_0x592a61(0x1c3),(_0x3bd2b9,{commentThreadId:_0x21a349,commentId:_0x5cb704,content:_0xeb543b,attributes:_0x5ec6ba})=>{const _0x45a134=_0x592a61,_0x5d5268=_0x497364[_0x45a134(0x1c0)](_0x21a349);if(_0x5d5268){const _0x3d9911=_0x5d5268[_0x45a134(0x19a)](_0x5cb704);_0x3d9911&&_0x3d9911[_0x45a134(0x1aa)]({'content':_0xeb543b,'attributes':_0x5ec6ba,'isFromAdapter':!0x0});}}),this[_0x592a61(0x1b5)](_0x492d16,_0x592a61(0x1b8),(_0x25b299,{commentThreadId:_0x358f62,commentId:_0x310823})=>{const _0x1e4f44=_0x592a61,_0x4ffda8=_0x497364[_0x1e4f44(0x1c0)](_0x358f62);if(_0x4ffda8){const _0x26cc4d=_0x4ffda8[_0x1e4f44(0x19a)](_0x310823);_0x26cc4d&&_0x26cc4d[_0x1e4f44(0x1bf)]({'isFromAdapter':!0x0});}}),await this[_0x592a61(0x1a9)](_0xa7dee7);}[_0x4c11a4(0x1a5)](){const _0x198d65=_0x4c11a4;if(this[_0x198d65(0x187)]instanceof _0x3ecf2c){const _0x5f1ee7=this[_0x198d65(0x187)][_0x198d65(0x1eb)][_0x198d65(0x1e8)](_0x198d65(0x1e3));this[_0x198d65(0x1ac)](_0x5f1ee7);}}[_0x4c11a4(0x1ac)](_0x3eee46){const _0x5f24cf=_0x4c11a4;if(!this[_0x5f24cf(0x1d6)][_0x5f24cf(0x1ea)](_0x3eee46))throw new _0x19e6b2(_0x5f24cf(0x1e0),null,{'channelId':_0x3eee46});this[_0x5f24cf(0x1a8)](_0x3eee46)[_0x5f24cf(0x1cc)](),this[_0x5f24cf(0x1d6)][_0x5f24cf(0x1ad)](_0x3eee46);}async[_0x4c11a4(0x19b)](){const _0x2d7283=_0x4c11a4;for(const _0x565dd9 of this[_0x2d7283(0x1d6)][_0x2d7283(0x1c2)]())await this[_0x2d7283(0x1a9)](_0x565dd9);if(this[_0x2d7283(0x187)]instanceof _0x3ecf2c){const _0x2549bc=this[_0x2d7283(0x187)][_0x2d7283(0x1eb)][_0x2d7283(0x1e8)](_0x2d7283(0x1e3)),_0x14fab1=this[_0x2d7283(0x187)][_0x2d7283(0x1da)][_0x2d7283(0x1e8)](_0x12938f);_0x14fab1[_0x2d7283(0x1bb)](_0x2549bc);const _0x31acf3=await this[_0x2d7283(0x1d6)][_0x2d7283(0x1e8)](_0x2549bc)[_0x2d7283(0x1be)]();_0x14fab1[_0x2d7283(0x1ba)](_0x2549bc,_0x31acf3);}}async[_0x4c11a4(0x1a9)](_0x34458b){const _0x3e5a7f=_0x4c11a4,{connection:_0x5ae2fa}=this[_0x3e5a7f(0x187)][_0x3e5a7f(0x1da)][_0x3e5a7f(0x1e8)](_0x12c0df),_0x45a04b=this[_0x3e5a7f(0x187)][_0x3e5a7f(0x1da)][_0x3e5a7f(0x1e8)](_0x3e5a7f(0x1c1)),_0x2703cb=this[_0x3e5a7f(0x1d6)][_0x3e5a7f(0x1e8)](_0x34458b),_0x43075f=await _0x2703cb[_0x3e5a7f(0x19c)](_0x5ae2fa);await this[_0x3e5a7f(0x1ae)](_0x43075f);const _0x1cf98a=new Set(Array[_0x3e5a7f(0x1a1)](_0x45a04b[_0x3e5a7f(0x1db)]({'channelId':_0x34458b}),_0x2347bb=>_0x2347bb['id']));for(const _0x4a8e1a of _0x43075f)_0x4a8e1a[_0x3e5a7f(0x1df)]||_0x1cf98a[_0x3e5a7f(0x1ad)](_0x4a8e1a[_0x3e5a7f(0x1ed)]);for(const _0x280b98 of _0x1cf98a)_0x45a04b[_0x3e5a7f(0x1c0)](_0x280b98)[_0x3e5a7f(0x1bf)]({'isFromAdapter':!0x0});for(const _0x4b5861 of _0x43075f){let _0x4248ac=_0x45a04b[_0x3e5a7f(0x1c0)](_0x4b5861[_0x3e5a7f(0x1ed)]);const {commentThreadId:_0x4bb7a7,context:_0xe802bf,attributes:_0x4efd04,resolvedBy:_0x4d832f,resolvedAt:_0x2f8dd4,unlinkedAt:_0xa1c3af,deletedAt:_0x51e507}=_0x4b5861;if(_0x51e507)continue;_0x4248ac||(_0x4248ac=_0x45a04b[_0x3e5a7f(0x188)]({'channelId':_0x34458b,'threadId':_0x4bb7a7,'context':_0xe802bf,'attributes':_0x4efd04||{},'resolvedBy':_0x4d832f,'resolvedAt':_0x2f8dd4,'unlinkedAt':_0xa1c3af,'isFromAdapter':!0x0}));const _0x13a668=new Set(Array[_0x3e5a7f(0x1a1)](_0x4248ac[_0x3e5a7f(0x18a)],_0x2f289e=>_0x2f289e['id']));for(const _0x14409f of _0x4b5861[_0x3e5a7f(0x18a)])_0x13a668[_0x3e5a7f(0x1ad)](_0x14409f[_0x3e5a7f(0x1e1)]);for(const _0x192f6d of _0x13a668)_0x4248ac[_0x3e5a7f(0x19a)](_0x192f6d)[_0x3e5a7f(0x1bf)]({'isFromAdapter':!0x0});for(const _0x5734 of _0x4b5861[_0x3e5a7f(0x18a)]){const _0x2a7da9=_0x4248ac[_0x3e5a7f(0x19a)](_0x5734[_0x3e5a7f(0x1e1)]);_0x2a7da9?_0x2a7da9[_0x3e5a7f(0x19d)]!==_0x5734[_0x3e5a7f(0x19d)]&&_0x2a7da9[_0x3e5a7f(0x1aa)]({'content':_0x5734[_0x3e5a7f(0x19d)],'isFromAdapter':!0x0}):_0x4248ac[_0x3e5a7f(0x18b)](Object[_0x3e5a7f(0x1e9)](B(_0x5734),{'isFromAdapter':!0x0}));}}}[_0x4c11a4(0x1a8)](_0x4ad5c0){const _0x366835=_0x4c11a4;if(!this[_0x366835(0x1d6)][_0x366835(0x1ea)](_0x4ad5c0))throw new _0x19e6b2(_0x366835(0x1cd),null,{'channelId':_0x4ad5c0});return this[_0x366835(0x1d6)][_0x366835(0x1e8)](_0x4ad5c0);}async[_0x4c11a4(0x1ae)](_0x50b0ba){const _0x3eb27d=_0x4c11a4,_0x279ad4=this[_0x3eb27d(0x187)][_0x3eb27d(0x1da)][_0x3eb27d(0x1e8)](_0x35c914),{connection:_0x2bdbee}=this[_0x3eb27d(0x187)][_0x3eb27d(0x1da)][_0x3eb27d(0x1e8)](_0x12c0df),_0x27b43d=new Set();for(const {resolvedBy:_0x290b02,comments:_0x57765c}of _0x50b0ba){_0x290b02&&!_0x279ad4[_0x3eb27d(0x1ce)](_0x290b02)&&_0x27b43d[_0x3eb27d(0x1e2)](_0x290b02);for(const {userId:_0x197d59}of _0x57765c)_0x279ad4[_0x3eb27d(0x1ce)](_0x197d59)||_0x27b43d[_0x3eb27d(0x1e2)](_0x197d59);}if(0x0===_0x27b43d[_0x3eb27d(0x18f)])return;const _0x32960d=await _0x3f1ef5[_0x3eb27d(0x1e4)](_0x2bdbee,Array[_0x3eb27d(0x1a1)](_0x27b43d));for(const _0x5410f3 of _0x32960d)_0x279ad4[_0x3eb27d(0x1ce)](_0x5410f3['id'])||_0x279ad4[_0x3eb27d(0x18c)](_0x5410f3);}}export{s as CloudServicesCommentsAdapter};function _0x2d2f(_0x2a6a47,_0x23cf8b){const _0x297ae5=_0x297a();return _0x2d2f=function(_0x2d2f0b,_0x2b0f43){_0x2d2f0b=_0x2d2f0b-0x186;let _0x3121b9=_0x297ae5[_0x2d2f0b];return _0x3121b9;},_0x2d2f(_0x2a6a47,_0x23cf8b);}async function F(_0x51b852){const _0x462842=_0x4c11a4;if(_0x462842(0x1ab)!==_0x51b852[_0x462842(0x1d5)])throw _0x51b852;}function k(_0x2085b0){const _0x3b069a=_0x4c11a4;if((_0x12d7df=_0x2085b0)[_0x3b069a(0x1e6)][_0x3b069a(0x1b4)](_0x3b069a(0x1b1))||_0x12d7df[_0x3b069a(0x1e6)][_0x3b069a(0x1b4)](_0x3b069a(0x1d1))||_0x12d7df[_0x3b069a(0x1e6)][_0x3b069a(0x1b4)](_0x3b069a(0x1d3)))return new Promise(()=>{});var _0x12d7df;throw _0x2085b0;}function B(_0x240ee3){const _0x5d68a5=_0x4c11a4;return{'threadId':_0x240ee3[_0x5d68a5(0x1ed)],'commentId':_0x240ee3[_0x5d68a5(0x1e1)],'content':_0x240ee3[_0x5d68a5(0x19d)],'createdAt':_0x240ee3[_0x5d68a5(0x199)],'authorId':_0x240ee3[_0x5d68a5(0x1c4)],'attributes':_0x240ee3[_0x5d68a5(0x1d4)]||{}};}
|
|
23
|
+
const _0x2d8ec5=_0x2941;(function(_0x2bee52,_0x2560c9){const _0x231bed=_0x2941,_0x31a0c2=_0x2bee52();while(!![]){try{const _0x5b4b61=parseInt(_0x231bed(0x94))/0x1*(-parseInt(_0x231bed(0xc8))/0x2)+parseInt(_0x231bed(0xbc))/0x3+parseInt(_0x231bed(0xac))/0x4*(parseInt(_0x231bed(0x9f))/0x5)+-parseInt(_0x231bed(0x90))/0x6+parseInt(_0x231bed(0xcc))/0x7*(-parseInt(_0x231bed(0xbe))/0x8)+-parseInt(_0x231bed(0x97))/0x9+parseInt(_0x231bed(0x86))/0xa;if(_0x5b4b61===_0x2560c9)break;else _0x31a0c2['push'](_0x31a0c2['shift']());}catch(_0x20a530){_0x31a0c2['push'](_0x31a0c2['shift']());}}}(_0x50ec,0x4f189));import{Context as _0x224283,ContextPlugin as _0x153c4a}from'ckeditor5/src/core.js';import{CKEditorError as _0x459f0e}from'ckeditor5/src/utils.js';import{Users as _0x366f56}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0xb7806a,User as _0xdb970c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x4a4559}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x1f0c06}from'../realtimecollaborativeediting/sessions.js';class s extends _0x153c4a{static [_0x2d8ec5(0xb2)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0xb7806a)());[_0x2d8ec5(0x9e)];static get[_0x2d8ec5(0x95)](){const _0x383142=_0x2d8ec5;return[_0x4a4559,_0x383142(0x93),_0x1f0c06,_0x366f56];}static get[_0x2d8ec5(0xc0)](){const _0x1578f8=_0x2d8ec5;return _0x1578f8(0xd1);}static get[_0x2d8ec5(0x89)](){return!0x0;}static get[_0x2d8ec5(0xa7)](){return!0x0;}constructor(_0xb457bd){const _0x200ff4=_0x2d8ec5;super(_0xb457bd),this[_0x200ff4(0x9e)]=new Map();}async[_0x2d8ec5(0x8d)](){const _0x2b8d38=_0x2d8ec5,_0x4962ce=this[_0x2b8d38(0x96)],_0x4a1629=_0x4962ce[_0x2b8d38(0xdf)][_0x2b8d38(0xa3)](_0x2b8d38(0x93));if(_0x4962ce[_0x2b8d38(0xdf)][_0x2b8d38(0xa3)](_0x4a4559)[_0x2b8d38(0xb8)](this),_0x4a1629[_0x2b8d38(0xab)]={'addCommentThread':async({channelId:_0x5136a3,threadId:_0x1107ed,comments:_0x41f140,resolvedAt:_0x1205c6,resolvedBy:_0xde4bf7,context:_0x48d106,attributes:_0xa5913c})=>{const _0x5f4ba0=_0x2b8d38,_0x3539e2=await this[_0x5f4ba0(0x8e)](_0x5136a3)[_0x5f4ba0(0xc7)]({'commentThreadId':_0x1107ed,'comments':_0x41f140[_0x5f4ba0(0xc6)](_0x44c72d=>function(_0x5301ff,_0x57ccee,_0xb6277f){const _0x589e37=_0x5f4ba0;return{'commentThreadId':_0xb6277f,'commentId':_0x5301ff[_0x589e37(0x84)],'userId':_0x5301ff[_0x589e37(0xa6)],'content':_0x5301ff[_0x589e37(0xce)],'documentId':_0x57ccee,'createdAt':_0x5301ff[_0x589e37(0xd4)],'attributes':_0x5301ff[_0x589e37(0xcf)]||{}};}(_0x44c72d,_0x5136a3,_0x1107ed)),'resolvedAt':_0x1205c6,'resolvedBy':_0xde4bf7,'context':_0x48d106,'attributes':_0xa5913c})[_0x5f4ba0(0x9d)](nt);return{'threadId':_0x3539e2[_0x5f4ba0(0x8b)],'comments':_0x3539e2[_0x5f4ba0(0xc1)]};},'getCommentThread':async({channelId:_0x5085fa,threadId:_0x17da11})=>{const _0x1a8073=_0x2b8d38,_0x1ab13d=await this[_0x1a8073(0x8e)](_0x5085fa)[_0x1a8073(0x91)](_0x17da11)[_0x1a8073(0x9d)](ot)[_0x1a8073(0x9d)](nt);return _0x1ab13d?_0x1ab13d[_0x1a8073(0xd9)]?null:(await this[_0x1a8073(0xd7)]([_0x1ab13d]),{'threadId':_0x1ab13d[_0x1a8073(0x8b)],'comments':_0x1ab13d[_0x1a8073(0xc1)][_0x1a8073(0xc6)](st),'context':_0x1ab13d[_0x1a8073(0x96)],'resolvedAt':_0x1ab13d[_0x1a8073(0xca)],'resolvedBy':_0x1ab13d[_0x1a8073(0xda)],'attributes':_0x1ab13d[_0x1a8073(0xcf)]||{}}):null;},'updateCommentThread':async({channelId:_0x2ed215,threadId:_0x637ee5,context:_0x2e3fbe,unlinkedAt:_0x5ed111,attributes:_0x46ad6e})=>this[_0x2b8d38(0x8e)](_0x2ed215)[_0x2b8d38(0xb4)]({'commentThreadId':_0x637ee5,'context':_0x2e3fbe,'attributes':_0x46ad6e,'unlinkedAt':_0x5ed111})[_0x2b8d38(0x9d)](ot)[_0x2b8d38(0x9d)](nt),'resolveCommentThread':async({channelId:_0x2361f6,threadId:_0x2d4a26})=>{const _0x3721b=_0x2b8d38,_0x460fbb=await this[_0x3721b(0x8e)](_0x2361f6)[_0x3721b(0xe1)](_0x2d4a26)[_0x3721b(0x9d)](ot)[_0x3721b(0x9d)](nt);return{'threadId':_0x460fbb[_0x3721b(0x8b)],'resolvedAt':_0x460fbb[_0x3721b(0xca)],'resolvedBy':_0x460fbb[_0x3721b(0xda)]};},'reopenCommentThread':async({channelId:_0x66e55c,threadId:_0x3fe674})=>this[_0x2b8d38(0x8e)](_0x66e55c)[_0x2b8d38(0xdd)](_0x3fe674)[_0x2b8d38(0x9d)](ot)[_0x2b8d38(0x9d)](nt),'removeCommentThread':({channelId:_0x3199fb,threadId:_0x104f94})=>this[_0x2b8d38(0x8e)](_0x3199fb)[_0x2b8d38(0x8f)](_0x104f94)[_0x2b8d38(0x9d)](ot)[_0x2b8d38(0x9d)](nt),'addComment':({channelId:_0x2e2279,threadId:_0x707619,commentId:_0x50bc81,content:_0x44f714,attributes:_0x598c6d})=>this[_0x2b8d38(0x8e)](_0x2e2279)[_0x2b8d38(0xc9)](_0x707619,_0x50bc81,_0x44f714,_0x598c6d)[_0x2b8d38(0x9d)](nt),'updateComment':({channelId:_0x146deb,threadId:_0x256865,commentId:_0x1f4b02,content:_0x368444,attributes:_0x50ac96})=>this[_0x2b8d38(0x8e)](_0x146deb)[_0x2b8d38(0xb0)](_0x256865,_0x1f4b02,_0x368444,_0x50ac96)[_0x2b8d38(0x9d)](ot)[_0x2b8d38(0x9d)](nt),'removeComment':({channelId:_0x261854,threadId:_0x56077b,commentId:_0x34a71c})=>this[_0x2b8d38(0x8e)](_0x261854)[_0x2b8d38(0x9b)](_0x56077b,_0x34a71c)[_0x2b8d38(0x9d)](ot)[_0x2b8d38(0x9d)](nt)},_0x4962ce instanceof _0x224283){const _0xec7f5a=_0x4962ce[_0x2b8d38(0xba)][_0x2b8d38(0xa3)](_0x2b8d38(0xd6)),_0x4c2798=_0x4962ce[_0x2b8d38(0xdf)][_0x2b8d38(0xa3)](_0x1f0c06);await this[_0x2b8d38(0xc4)](_0xec7f5a);const _0x42bf21=await this[_0x2b8d38(0x9e)][_0x2b8d38(0xa3)](_0xec7f5a)[_0x2b8d38(0x87)]();this[_0x2b8d38(0xb7)](_0x4c2798,_0x2b8d38(0x99)+_0xec7f5a,(_0x37975c,{session:_0x330175})=>{const _0x3036cf=_0x2b8d38;_0x330175['id']===_0x4c2798[_0x3036cf(0xaa)]&&(_0x37975c[_0x3036cf(0x83)](),this[_0x3036cf(0x96)][_0x3036cf(0xdf)][_0x3036cf(0xa3)](_0x3036cf(0xbb))[_0x3036cf(0xb6)](_0x330175[_0x3036cf(0xa1)],_0xec7f5a));}),_0x4c2798[_0x2b8d38(0xa8)](_0xec7f5a,_0x42bf21);}}async[_0x2d8ec5(0xc4)](_0x4ca009){const _0x4f405d=_0x2d8ec5;if(this[_0x4f405d(0x9e)][_0x4f405d(0x9c)](_0x4ca009))throw new _0x459f0e(_0x4f405d(0xa5),null,{'channelId':_0x4ca009});const _0x4b25ba=this[_0x4f405d(0x96)][_0x4f405d(0xdf)][_0x4f405d(0xa3)](_0x4f405d(0x93)),_0x52594c=new s[(_0x4f405d(0xb2))](_0x4ca009);this[_0x4f405d(0x9e)][_0x4f405d(0xd5)](_0x4ca009,_0x52594c),this[_0x4f405d(0xb7)](_0x52594c,_0x4f405d(0xe8),(_0x1f24e1,_0xa37d97)=>{const _0x3d5260=_0x4f405d,{commentThreadId:_0x3b4e1e,documentId:_0x5e4d62,context:_0x20c460,attributes:_0x2f0b4e,resolvedAt:_0x152286,resolvedBy:_0x20d1b0,comments:_0x4ae3fd}=_0xa37d97;_0x4b25ba[_0x3d5260(0x91)](_0x3b4e1e)||_0x4b25ba[_0x3d5260(0xc7)]({'threadId':_0x3b4e1e,'channelId':_0x5e4d62,'comments':_0x4ae3fd?_0x4ae3fd[_0x3d5260(0xc6)](st):[],'context':_0x20c460,'attributes':_0x2f0b4e,'resolvedAt':_0x152286,'resolvedBy':_0x20d1b0,'isFromAdapter':!0x0});}),this[_0x4f405d(0xb7)](_0x52594c,_0x4f405d(0xe2),(_0x31302c,{commentThreadId:_0x573b7e,documentId:_0x408add,context:_0x42f011,unlinkedAt:_0xf6ded8,attributes:_0x4fde71})=>{const _0x58635c=_0x4f405d;_0x4b25ba[_0x58635c(0x91)](_0x573b7e)&&_0x4b25ba[_0x58635c(0xb4)]({'threadId':_0x573b7e,'channelId':_0x408add,'context':_0x42f011,'unlinkedAt':_0xf6ded8,'attributes':_0x4fde71,'isFromAdapter':!0x0});}),this[_0x4f405d(0xb7)](_0x52594c,_0x4f405d(0xd3),(_0x4dce43,{commentThreadId:_0x1c3c69,resolvedBy:_0x2d4c36,resolvedAt:_0x7bbcde})=>{const _0x47c439=_0x4f405d,_0x5cb7af=_0x4b25ba[_0x47c439(0x91)](_0x1c3c69);_0x5cb7af&&_0x5cb7af[_0x47c439(0xde)]({'resolvedBy':_0x2d4c36,'resolvedAt':_0x7bbcde,'isFromAdapter':!0x0});}),this[_0x4f405d(0xb7)](_0x52594c,_0x4f405d(0xd8),(_0xe0f2e4,{commentThreadId:_0xa12337})=>{const _0x3fc3e8=_0x4f405d,_0x139d37=_0x4b25ba[_0x3fc3e8(0x91)](_0xa12337);_0x139d37&&_0x139d37[_0x3fc3e8(0xe3)]({'isFromAdapter':!0x0});}),this[_0x4f405d(0xb7)](_0x52594c,_0x4f405d(0x85),(_0x999a09,{commentThreadId:_0x4f2ca1})=>{const _0x4e47a5=_0x4f405d,_0x2e04d5=_0x4b25ba[_0x4e47a5(0x91)](_0x4f2ca1);_0x2e04d5&&_0x2e04d5[_0x4e47a5(0x8c)]({'isFromAdapter':!0x0});}),this[_0x4f405d(0xb7)](_0x52594c,_0x4f405d(0xae),(_0x1aa5a4,_0x5768b0)=>{const _0x52604a=_0x4f405d,_0x224b71=_0x5768b0[_0x52604a(0x8b)],_0x310b5e=_0x4b25ba[_0x52604a(0x91)](_0x224b71);_0x310b5e&&_0x310b5e[_0x52604a(0xc9)]({...st(_0x5768b0),'isFromAdapter':!0x0});}),this[_0x4f405d(0xb7)](_0x52594c,_0x4f405d(0x88),(_0x2b1650,{commentThreadId:_0x3bb1c8,commentId:_0x17a12b,content:_0x240f72,attributes:_0x109cdc})=>{const _0x5de285=_0x4f405d,_0x5b4e6b=_0x4b25ba[_0x5de285(0x91)](_0x3bb1c8);if(_0x5b4e6b){const _0x1d1f7c=_0x5b4e6b[_0x5de285(0xbd)](_0x17a12b);_0x1d1f7c&&_0x1d1f7c[_0x5de285(0xc2)]({'content':_0x240f72,'attributes':_0x109cdc,'isFromAdapter':!0x0});}}),this[_0x4f405d(0xb7)](_0x52594c,_0x4f405d(0xa9),(_0x165cc9,{commentThreadId:_0x4da9ab,commentId:_0x354662})=>{const _0x3b2786=_0x4f405d,_0x407f03=_0x4b25ba[_0x3b2786(0x91)](_0x4da9ab);if(_0x407f03){const _0x2ebbf0=_0x407f03[_0x3b2786(0xbd)](_0x354662);_0x2ebbf0&&_0x2ebbf0[_0x3b2786(0x8c)]({'isFromAdapter':!0x0});}}),await this[_0x4f405d(0xb9)](_0x4ca009);}[_0x2d8ec5(0xb1)](){const _0xc1eccb=_0x2d8ec5;if(this[_0xc1eccb(0x96)]instanceof _0x224283){const _0x14ef75=this[_0xc1eccb(0x96)][_0xc1eccb(0xba)][_0xc1eccb(0xa3)](_0xc1eccb(0xd6));this[_0xc1eccb(0xa4)](_0x14ef75);}}[_0x2d8ec5(0xa4)](_0x10877c){const _0x32b6eb=_0x2d8ec5;if(!this[_0x32b6eb(0x9e)][_0x32b6eb(0x9c)](_0x10877c))throw new _0x459f0e(_0x32b6eb(0x98),null,{'channelId':_0x10877c});this[_0x32b6eb(0x8e)](_0x10877c)[_0x32b6eb(0x92)](),this[_0x32b6eb(0x9e)][_0x32b6eb(0xcd)](_0x10877c);}async[_0x2d8ec5(0xa0)](){const _0x4189d6=_0x2d8ec5;for(const _0x4a2d72 of this[_0x4189d6(0x9e)][_0x4189d6(0xa2)]())await this[_0x4189d6(0xb9)](_0x4a2d72);if(this[_0x4189d6(0x96)]instanceof _0x224283){const _0x14002a=this[_0x4189d6(0x96)][_0x4189d6(0xba)][_0x4189d6(0xa3)](_0x4189d6(0xd6)),_0x34d256=this[_0x4189d6(0x96)][_0x4189d6(0xdf)][_0x4189d6(0xa3)](_0x1f0c06);_0x34d256[_0x4189d6(0xe0)](_0x14002a);const _0xe20564=await this[_0x4189d6(0x9e)][_0x4189d6(0xa3)](_0x14002a)[_0x4189d6(0x87)]();_0x34d256[_0x4189d6(0xa8)](_0x14002a,_0xe20564);}}async[_0x2d8ec5(0xb9)](_0xac6f74){const _0x385c3c=_0x2d8ec5,{connection:_0x1d7753}=this[_0x385c3c(0x96)][_0x385c3c(0xdf)][_0x385c3c(0xa3)](_0x4a4559),_0x5b4ee8=this[_0x385c3c(0x96)][_0x385c3c(0xdf)][_0x385c3c(0xa3)](_0x385c3c(0x93)),_0x1e4b9e=this[_0x385c3c(0x9e)][_0x385c3c(0xa3)](_0xac6f74),_0x426050=await _0x1e4b9e[_0x385c3c(0xb5)](_0x1d7753);await this[_0x385c3c(0xd7)](_0x426050);const _0x523381=new Set(Array[_0x385c3c(0x9a)](_0x5b4ee8[_0x385c3c(0xdb)]({'channelId':_0xac6f74}),_0x4bcf5b=>_0x4bcf5b['id']));for(const _0x35664f of _0x426050)_0x35664f[_0x385c3c(0xd9)]||_0x523381[_0x385c3c(0xcd)](_0x35664f[_0x385c3c(0x8b)]);for(const _0x47865a of _0x523381)_0x5b4ee8[_0x385c3c(0x91)](_0x47865a)[_0x385c3c(0x8c)]({'isFromAdapter':!0x0});for(const _0x258dda of _0x426050){let _0x334a3c=_0x5b4ee8[_0x385c3c(0x91)](_0x258dda[_0x385c3c(0x8b)]);const {commentThreadId:_0x1bd1ee,context:_0x4dbecb,attributes:_0x547687,resolvedBy:_0x53f573,resolvedAt:_0x91ca1c,unlinkedAt:_0x433013,deletedAt:_0xc76bce}=_0x258dda;if(_0xc76bce)continue;_0x334a3c||(_0x334a3c=_0x5b4ee8[_0x385c3c(0xc7)]({'channelId':_0xac6f74,'threadId':_0x1bd1ee,'context':_0x4dbecb,'attributes':_0x547687||{},'resolvedBy':_0x53f573,'resolvedAt':_0x91ca1c,'unlinkedAt':_0x433013,'isFromAdapter':!0x0}));const _0x2aedf6=new Set(Array[_0x385c3c(0x9a)](_0x334a3c[_0x385c3c(0xc1)],_0x5c8d6d=>_0x5c8d6d['id']));for(const _0x25f3fd of _0x258dda[_0x385c3c(0xc1)])_0x2aedf6[_0x385c3c(0xcd)](_0x25f3fd[_0x385c3c(0x84)]);for(const _0x33ad38 of _0x2aedf6)_0x334a3c[_0x385c3c(0xbd)](_0x33ad38)[_0x385c3c(0x8c)]({'isFromAdapter':!0x0});for(const _0x6dfb83 of _0x258dda[_0x385c3c(0xc1)]){const _0x1e29d1=_0x334a3c[_0x385c3c(0xbd)](_0x6dfb83[_0x385c3c(0x84)]);_0x1e29d1?_0x1e29d1[_0x385c3c(0xce)]!==_0x6dfb83[_0x385c3c(0xce)]&&_0x1e29d1[_0x385c3c(0xc2)]({'content':_0x6dfb83[_0x385c3c(0xce)],'isFromAdapter':!0x0}):_0x334a3c[_0x385c3c(0xc9)](Object[_0x385c3c(0xe6)](st(_0x6dfb83),{'isFromAdapter':!0x0}));}}}[_0x2d8ec5(0x8e)](_0x5eb9b8){const _0x1e7681=_0x2d8ec5;if(!this[_0x1e7681(0x9e)][_0x1e7681(0x9c)](_0x5eb9b8))throw new _0x459f0e(_0x1e7681(0xe5),null,{'channelId':_0x5eb9b8});return this[_0x1e7681(0x9e)][_0x1e7681(0xa3)](_0x5eb9b8);}async[_0x2d8ec5(0xd7)](_0x2467f1){const _0x530ea0=_0x2d8ec5,_0x3ab2bb=this[_0x530ea0(0x96)][_0x530ea0(0xdf)][_0x530ea0(0xa3)](_0x366f56),{connection:_0x33b880}=this[_0x530ea0(0x96)][_0x530ea0(0xdf)][_0x530ea0(0xa3)](_0x4a4559),_0x58b963=new Set();for(const {resolvedBy:_0x1e89ae,comments:_0x1c2e26}of _0x2467f1){_0x1e89ae&&!_0x3ab2bb[_0x530ea0(0xd0)](_0x1e89ae)&&_0x58b963[_0x530ea0(0xe7)](_0x1e89ae);for(const {userId:_0x5b3d44}of _0x1c2e26)_0x3ab2bb[_0x530ea0(0xd0)](_0x5b3d44)||_0x58b963[_0x530ea0(0xe7)](_0x5b3d44);}if(0x0===_0x58b963[_0x530ea0(0xe4)])return;const _0x945302=await _0xdb970c[_0x530ea0(0xbf)](_0x33b880,Array[_0x530ea0(0x9a)](_0x58b963));for(const _0x72a275 of _0x945302)_0x3ab2bb[_0x530ea0(0xd0)](_0x72a275['id'])||_0x3ab2bb[_0x530ea0(0xdc)](_0x72a275);}}function _0x50ec(){const _0x3748f1=['addComment','resolvedAt','code','7EdeXoN','delete','content','attributes','getUser','CloudServicesCommentsAdapter','startsWith','commentThreadResolved','createdAt','set','collaboration.channelId','_fetchMissingUsersForThreads','commentThreadReopened','deletedAt','resolvedBy','getCommentThreads','addUser','reopenCommentThread','resolve','plugins','unregister','resolveCommentThread','commentThreadUpdated','reopen','size','cloudservicescommentsadapter-service-not-exist','assign','add','commentThreadAdded','off','commentId','commentThreadRemoved','9906950HnhQgz','getConnectedSessions','commentUpdated','isOfficialPlugin','cloud-services-internal-error:\x20Request\x20timeout.','commentThreadId','remove','init','_getService','removeCommentThread','2322156zRtptl','getCommentThread','disconnect','CommentsRepository','523iKxWkV','requires','context','4878783vbFnpU','cloudservicescommentsadapter-disconnect-not-exist','sessionAdd:','from','removeComment','has','catch','_services','10Cgmwxf','reconnect','permissions','keys','get','_terminateService','cloudservicescommentsadapter-connect-already-connected','authorId','isPremiumPlugin','register','commentRemoved','mySessionId','adapter','579016pbzpHG','userId','commentAdded','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','updateComment','destroy','CommentsService','message','updateCommentThread','connect','setPermissions','listenTo','addToReconnectionStack','_connectService','config','Permissions','1908009uPzBJy','getComment','3568568MlqSPQ','getMany','pluginName','comments','update','cloud-services-internal-error:\x20Not\x20connected.','_setUpService','404','map','addCommentThread','830aiESST'];_0x50ec=function(){return _0x3748f1;};return _0x50ec();}export{s as CloudServicesCommentsAdapter};async function ot(_0x5832fa){const _0x59c326=_0x2d8ec5;if(_0x59c326(0xc5)!==_0x5832fa[_0x59c326(0xcb)])throw _0x5832fa;}function nt(_0x124d50){const _0x4cb0c6=_0x2d8ec5;if((_0x43df26=_0x124d50)[_0x4cb0c6(0xb3)][_0x4cb0c6(0xd2)](_0x4cb0c6(0xaf))||_0x43df26[_0x4cb0c6(0xb3)][_0x4cb0c6(0xd2)](_0x4cb0c6(0xc3))||_0x43df26[_0x4cb0c6(0xb3)][_0x4cb0c6(0xd2)](_0x4cb0c6(0x8a)))return new Promise(()=>{});var _0x43df26;throw _0x124d50;}function _0x2941(_0x5a265c,_0x4d2ae7){const _0x50ec4e=_0x50ec();return _0x2941=function(_0x294163,_0x4da694){_0x294163=_0x294163-0x83;let _0x7934f4=_0x50ec4e[_0x294163];return _0x7934f4;},_0x2941(_0x5a265c,_0x4d2ae7);}function st(_0x2ea301){const _0x49fdf9=_0x2d8ec5;return{'threadId':_0x2ea301[_0x49fdf9(0x8b)],'commentId':_0x2ea301[_0x49fdf9(0x84)],'content':_0x2ea301[_0x49fdf9(0xce)],'createdAt':_0x2ea301[_0x49fdf9(0xd4)],'authorId':_0x2ea301[_0x49fdf9(0xad)],'attributes':_0x2ea301[_0x49fdf9(0xcf)]||{}};}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x322258)());[_0x1d0e15(0x1ef)];[_0x1d0e15(0x26d)];[_0x1d0e15(0x1c4)];[_0x1d0e15(0x221)];[_0x1d0e15(0x28b)];[_0x1d0e15(0x1d1)];[_0x1d0e15(0x1ca)];[_0x1d0e15(0x209)];[_0x1d0e15(0x1e2)];[_0x1d0e15(0x203)];[_0x1d0e15(0x23a)];[_0x1d0e15(0x28e)];[_0x1d0e15(0x1c1)];[_0x1d0e15(0x205)];[_0x1d0e15(0x1a3)];[_0x1d0e15(0x19f)];[_0x1d0e15(0x243)];[_0x1d0e15(0x25d)];static get[_0x1d0e15(0x22b)](){return[_0xd4b253,_0x57dd5b,_0x374c6d,_0x243eed,_0x14e331,_0x1133f7];}static get[_0x1d0e15(0x21d)](){const _0x4698af=_0x1d0e15;return _0x4698af(0x1a9);}static get[_0x1d0e15(0x230)](){return!0x0;}static get[_0x1d0e15(0x20b)](){return!0x0;}get[_0x1d0e15(0x210)](){const _0x521e8c=_0x1d0e15;return this[_0x521e8c(0x27b)]+this[_0x521e8c(0x1ef)];}get[_0x1d0e15(0x27b)](){const _0x2055df=_0x1d0e15;return this[_0x2055df(0x1c4)][_0x2055df(0x290)]-this[_0x2055df(0x1ef)];}get[_0x1d0e15(0x1ce)](){const _0x323ead=_0x1d0e15,_0x54d09b=this[_0x323ead(0x1c4)][_0x323ead(0x236)]();for(let _0x59d845=_0x54d09b[_0x323ead(0x20c)]-0x1;_0x59d845>=0x0;_0x59d845--){const _0x305b9d=_0x54d09b[_0x59d845];if(!this[_0x323ead(0x243)][_0x323ead(0x287)](_0x305b9d))return _0x305b9d[_0x323ead(0x1c5)]+0x1-this[_0x323ead(0x1ef)];}return 0x0;}constructor(_0x4e137f){const _0x3794dd=_0x1d0e15;if(super(_0x4e137f),this[_0x3794dd(0x1ef)]=0x0,this[_0x3794dd(0x26d)]=null,this[_0x3794dd(0x1c4)]=new _0xcfbd47(),this[_0x3794dd(0x1b2)][_0x3794dd(0x206)][_0x3794dd(0x24d)](_0x3794dd(0x277),{}),this[_0x3794dd(0x221)]=this[_0x3794dd(0x1b2)][_0x3794dd(0x206)][_0x3794dd(0x211)](_0x3794dd(0x293)),!this[_0x3794dd(0x221)])throw new _0x18ae33(_0x3794dd(0x200),this);const _0x26c1ff=_0x4e137f[_0x3794dd(0x206)][_0x3794dd(0x211)](_0x3794dd(0x291))||_0x7f2517;this[_0x3794dd(0x28b)]=new l[(_0x3794dd(0x251))](_0x26c1ff,this[_0x3794dd(0x221)]),this[_0x3794dd(0x1d1)]=this[_0x3794dd(0x1b2)][_0x3794dd(0x289)][_0x3794dd(0x1fe)],this[_0x3794dd(0x1ca)]=new _0x3509c1(),this[_0x3794dd(0x209)]=[],this[_0x3794dd(0x1e2)]=new WeakSet(),this[_0x3794dd(0x203)]=new Set(),this[_0x3794dd(0x1e7)](_0x3794dd(0x1c0),!0x1),this[_0x3794dd(0x1e7)](_0x3794dd(0x1bd),!0x1),this[_0x3794dd(0x23a)]=null,this[_0x3794dd(0x28e)]=!0x1,this[_0x3794dd(0x1c1)]=null,this[_0x3794dd(0x205)]=0x12c,this[_0x3794dd(0x1a3)]=this[_0x3794dd(0x205)],this[_0x3794dd(0x19f)]=null,this[_0x3794dd(0x243)]=new WeakSet(),this[_0x3794dd(0x25d)]=new J(this[_0x3794dd(0x243)]);}[_0x1d0e15(0x261)](){const _0x4ef3eb=_0x1d0e15,_0x4b96a4=this[_0x4ef3eb(0x1b2)],_0x25472b=_0x4b96a4[_0x4ef3eb(0x1ac)][_0x4ef3eb(0x211)](_0x14e331),_0x40efc8=_0x4b96a4[_0x4ef3eb(0x1ac)][_0x4ef3eb(0x211)](_0xd4b253);this[_0x4ef3eb(0x26c)](_0x25472b,_0x4ef3eb(0x1c6),(_0x1c485f,_0x4aa1a1)=>{const _0x2c2f53=_0x4ef3eb,_0x4a5335=_0x4aa1a1[0x0];_0x4a5335[_0x2c2f53(0x292)]&&(_0x1c485f[_0x2c2f53(0x280)]=_0x25472b[_0x2c2f53(0x23f)](_0x4a5335[_0x2c2f53(0x292)]),_0x1c485f[_0x2c2f53(0x278)]()),null===_0x4a5335[_0x2c2f53(0x292)]&&(_0x1c485f[_0x2c2f53(0x280)]=null,_0x1c485f[_0x2c2f53(0x278)]());},{'priority':_0x4ef3eb(0x1d9)}),this[_0x4ef3eb(0x26c)](_0x4b96a4[_0x4ef3eb(0x289)][_0x4ef3eb(0x1fe)][_0x4ef3eb(0x1db)],_0x4ef3eb(0x1c7),(_0x31473b,_0x1da2af)=>{const _0x4847a4=_0x4ef3eb;_0x1da2af[_0x4847a4(0x237)]&&this[_0x4847a4(0x227)]();}),this[_0x4ef3eb(0x26c)](_0x4b96a4[_0x4ef3eb(0x262)][_0x4ef3eb(0x245)],_0x4ef3eb(0x23b),()=>{const _0x263304=_0x4ef3eb;this[_0x263304(0x227)]();}),this[_0x4ef3eb(0x26e)](),_0x4b96a4[_0x4ef3eb(0x289)]['on'](_0x4ef3eb(0x255),(_0x155538,_0x24432f)=>{const _0x237934=_0x4ef3eb,_0xe63b55=_0x24432f[0x0];_0xe63b55[_0x237934(0x264)]&&(this[_0x237934(0x1f3)](_0xe63b55),this[_0x237934(0x1b5)]()&&this[_0x237934(0x20d)]());}),this[_0x4ef3eb(0x22c)](),this[_0x4ef3eb(0x1a1)](_0x4ef3eb(0x244))['to'](_0x40efc8,_0x4ef3eb(0x19d),this,_0x4ef3eb(0x1bd),(_0x58841e,_0x44930d)=>_0x4ef3eb(0x283)===_0x58841e&&!_0x44930d),this['on'](_0x4ef3eb(0x1f4),()=>{const _0x3126fa=_0x4ef3eb;this[_0x3126fa(0x244)]?_0x4b96a4[_0x3126fa(0x224)](_0x3126fa(0x28a)):_0x4b96a4[_0x3126fa(0x1ad)](_0x3126fa(0x28a));}),this[_0x4ef3eb(0x244)]?_0x4b96a4[_0x4ef3eb(0x224)](_0x4ef3eb(0x28a)):_0x4b96a4[_0x4ef3eb(0x1ad)](_0x4ef3eb(0x28a)),this[_0x4ef3eb(0x1e7)](_0x4ef3eb(0x296),!0x1);}async[_0x1d0e15(0x274)](){const _0x67adb=_0x1d0e15,_0x515025=this[_0x67adb(0x1b2)][_0x67adb(0x1ac)][_0x67adb(0x211)](_0x57dd5b),_0x4242ac=this[_0x67adb(0x1b2)][_0x67adb(0x1ac)][_0x67adb(0x211)](_0xd4b253);try{this[_0x67adb(0x1c0)]=!0x0,_0x515025[_0x67adb(0x1fc)](this[_0x67adb(0x221)]);const _0x39dd4b=await this[_0x67adb(0x28b)][_0x67adb(0x274)](_0x4242ac[_0x67adb(0x22a)],this[_0x67adb(0x1ce)]);await this[_0x67adb(0x1f5)](_0x39dd4b)&&(this[_0x67adb(0x1c0)]=!0x1,this[_0x67adb(0x234)]());const _0x36c3ee=await this[_0x67adb(0x28b)][_0x67adb(0x295)]();_0x515025[_0x67adb(0x1e5)](this[_0x67adb(0x221)],_0x36c3ee),this[_0x67adb(0x226)](),this[_0x67adb(0x296)]=!0x0;}catch(_0x30515e){if(function(_0x23036d){const _0x1b9186=_0x67adb;return _0x1b9186(0x1f0)===_0x23036d[_0x1b9186(0x24f)];}(_0x30515e)&&this[_0x67adb(0x26d)])await this[_0x67adb(0x1e6)]();else{if(function(_0x1bd711){const _0x56ef46=_0x67adb;return _0x56ef46(0x1bc)===_0x1bd711[_0x56ef46(0x24f)];}(_0x30515e)){const _0x2f52e3=_0x392d5a(this[_0x67adb(0x1b2)][_0x67adb(0x266)],_0x67adb(0x1d0));this[_0x67adb(0x248)](_0x2f52e3);}else{if(!(_0x30515e instanceof $))throw _0x30515e;this[_0x67adb(0x248)]();}}}}[_0x1d0e15(0x1f2)](){const _0x148854=_0x1d0e15,_0x2a50ca=this[_0x148854(0x1b2)][_0x148854(0x1ac)][_0x148854(0x211)](_0xd4b253),_0x32662a=this[_0x148854(0x1b2)][_0x148854(0x1ac)][_0x148854(0x211)](_0x57dd5b);this[_0x148854(0x1b2)][_0x148854(0x1ad)](_0x148854(0x220)),_0x32662a[_0x148854(0x29a)][_0x148854(0x287)](this[_0x148854(0x221)])&&_0x32662a[_0x148854(0x1fc)](this[_0x148854(0x221)]),_0x2a50ca[_0x148854(0x21a)](this),this[_0x148854(0x235)](),super[_0x148854(0x1f2)]();}async[_0x1d0e15(0x1f5)](_0x3df276){const _0x4e904f=_0x1d0e15;if(this[_0x4e904f(0x26d)]!==_0x3df276[_0x4e904f(0x26d)]&&this[_0x4e904f(0x19f)]!==_0x3df276[_0x4e904f(0x1a8)])throw new $();return this[_0x4e904f(0x26d)]=_0x3df276[_0x4e904f(0x26d)],this[_0x4e904f(0x20f)]([],{..._0x3df276,'wereChangesApplied':!0x1,'data':_0x3df276[_0x4e904f(0x213)]},_0x4e904f(0x274));}async[_0x1d0e15(0x27c)](_0x306923,_0x57d81b=!0x1){const _0x253ee2=_0x1d0e15,{connection:_0x20fe91}=this[_0x253ee2(0x1b2)][_0x253ee2(0x1ac)][_0x253ee2(0x211)](_0xd4b253);l[_0x253ee2(0x251)][_0x253ee2(0x295)](_0x20fe91,this[_0x253ee2(0x221)])[_0x253ee2(0x1b7)](_0xb692da=>this[_0x253ee2(0x24b)](_0xb692da))[_0x253ee2(0x1c8)](_0x2d6399=>{const _0x1670b8=_0x253ee2;this[_0x1670b8(0x1b6)](_0x1670b8(0x23c),_0x2d6399);}),this[_0x253ee2(0x26c)](this[_0x253ee2(0x28b)],_0x253ee2(0x288),this[_0x253ee2(0x1ff)][_0x253ee2(0x1a1)](this)),this[_0x253ee2(0x26c)](this[_0x253ee2(0x28b)],_0x253ee2(0x1b0),(_0x685e09,_0x150ad6)=>{const _0x23892d=_0x253ee2;this[_0x23892d(0x1b6)](_0x23892d(0x1aa),_0x150ad6);}),this[_0x253ee2(0x26c)](this[_0x253ee2(0x28b)],_0x253ee2(0x1e0),()=>{const _0x523dbd=_0x253ee2;this[_0x523dbd(0x296)]=!0x1;});const _0x226081=this[_0x253ee2(0x25d)][_0x253ee2(0x1a6)](_0x306923);this[_0x253ee2(0x1c0)]=!0x0;const _0x386a28=await this[_0x253ee2(0x28b)][_0x253ee2(0x199)](_0x20fe91,this[_0x253ee2(0x1c2)](_0x306923),_0x226081);if(this[_0x253ee2(0x26d)]=_0x386a28[_0x253ee2(0x26d)],_0x57d81b){if(!_0x386a28[_0x253ee2(0x241)])return void this[_0x253ee2(0x248)]();this[_0x253ee2(0x1c0)]=!0x1,this[_0x253ee2(0x234)](),this[_0x253ee2(0x1c4)][_0x253ee2(0x27d)](),this[_0x253ee2(0x1ef)]=_0x386a28[_0x253ee2(0x1f6)],this[_0x253ee2(0x1c4)][_0x253ee2(0x290)]=this[_0x253ee2(0x1ef)],await this[_0x253ee2(0x20f)](_0x306923,_0x386a28,_0x253ee2(0x1be));}else await this[_0x253ee2(0x24a)](_0x386a28,_0x306923);this[_0x253ee2(0x226)](),this[_0x253ee2(0x296)]=!0x0;}[_0x1d0e15(0x226)](){const _0x4febad=_0x1d0e15,_0x3b0290=this[_0x4febad(0x1b2)][_0x4febad(0x1ac)][_0x4febad(0x211)](_0x57dd5b),_0x44e425=this[_0x4febad(0x1b2)][_0x4febad(0x1ac)][_0x4febad(0x211)](_0x374c6d),_0x5305e2=_0x3b0290[_0x4febad(0x29a)][_0x4febad(0x211)](this[_0x4febad(0x221)]);_0x5305e2&&_0x5305e2[_0x4febad(0x20c)]>0x1?_0x44e425[_0x4febad(0x253)]():this[_0x4febad(0x26c)](_0x3b0290,_0x4febad(0x215)+this[_0x4febad(0x221)],()=>{const _0x2b97df=_0x4febad;0x2===_0x3b0290[_0x2b97df(0x29a)][_0x2b97df(0x211)](this[_0x2b97df(0x221)])[_0x2b97df(0x20c)]&&_0x44e425[_0x2b97df(0x253)]();});}async[_0x1d0e15(0x1ff)](_0xfe5d37,_0x587823,_0x3a7088,_0x4baf8c){const _0x5e2271=_0x1d0e15;if(!this[_0x5e2271(0x1c0)]&&this[_0x5e2271(0x1d1)][_0x5e2271(0x290)]==_0x587823){const _0x5c832b=this[_0x5e2271(0x1bb)](_0x3a7088,_0x4baf8c);await this[_0x5e2271(0x294)](_0x5c832b),this[_0x5e2271(0x28f)](_0x5c832b,_0x587823,_0x3a7088[_0x5e2271(0x1a8)])||this[_0x5e2271(0x1b6)](_0x5e2271(0x1b4));}}async[_0x1d0e15(0x1e6)](){const _0x57e614=_0x1d0e15;this[_0x57e614(0x235)]();const {locale:_0x47a4b2}=this[_0x57e614(0x1b2)];let _0x38b337;try{_0x38b337=await this[_0x57e614(0x28b)][_0x57e614(0x225)]();}catch{const _0x314e1e=_0x392d5a(_0x47a4b2,_0x57e614(0x1e3));return void this[_0x57e614(0x248)](_0x314e1e);}const _0x3ff22f=_0x38b337[_0x57e614(0x20a)]||_0x38b337[_0x57e614(0x29e)];if(this[_0x57e614(0x19f)]!==_0x3ff22f[_0x57e614(0x1a8)]){const _0x413c57=_0x392d5a(_0x47a4b2,_0x57e614(0x297));return void this[_0x57e614(0x248)](_0x413c57);}await this[_0x57e614(0x27c)](this[_0x57e614(0x1b2)][_0x57e614(0x289)][_0x57e614(0x1fe)][_0x57e614(0x246)][_0x57e614(0x236)](),!0x0);}[_0x1d0e15(0x235)](){const _0x20bef1=_0x1d0e15;this[_0x20bef1(0x28b)][_0x20bef1(0x22e)](),this[_0x20bef1(0x209)]=[],clearTimeout(this[_0x20bef1(0x1c1)]),this[_0x20bef1(0x29c)](this[_0x20bef1(0x28b)]);}[_0x1d0e15(0x24b)](_0x4f4de3){const _0x547512=_0x1d0e15,_0x37b275=this[_0x547512(0x1b2)][_0x547512(0x1ac)][_0x547512(0x211)](_0x57dd5b);this[_0x547512(0x26c)](_0x37b275,_0x547512(0x215)+this[_0x547512(0x221)],(_0x2f962e,{session:_0x4b6e87})=>{const _0x384f0d=_0x547512;if(_0x4b6e87['id']===_0x37b275[_0x384f0d(0x1da)]){_0x2f962e[_0x384f0d(0x25c)]();const _0x29c1b0=this[_0x384f0d(0x1b2)][_0x384f0d(0x1ac)][_0x384f0d(0x287)](_0x384f0d(0x25f))&&this[_0x384f0d(0x1b2)][_0x384f0d(0x1ac)][_0x384f0d(0x211)](_0x384f0d(0x25f));let _0x50f83b=_0x4b6e87[_0x384f0d(0x1cf)];_0x29c1b0&&_0x29c1b0[_0x384f0d(0x1df)]&&(_0x50f83b=_0x50f83b[_0x384f0d(0x1ed)](_0x10bf69=>_0x384f0d(0x282)!==_0x10bf69)),this[_0x384f0d(0x1b2)][_0x384f0d(0x1ac)][_0x384f0d(0x211)](_0x384f0d(0x249))[_0x384f0d(0x1b8)](_0x50f83b,this[_0x384f0d(0x221)]);}}),_0x37b275[_0x547512(0x1e5)](this[_0x547512(0x221)],_0x4f4de3);}[_0x1d0e15(0x26e)](){const _0x5f0027=_0x1d0e15,_0x113e91=this[_0x5f0027(0x1b2)][_0x5f0027(0x213)][_0x5f0027(0x1e7)];this[_0x5f0027(0x1b2)][_0x5f0027(0x213)][_0x5f0027(0x1e7)]=(..._0x186fa6)=>{const _0x4240d6=_0x5f0027;if(!_0x186fa6[_0x186fa6[_0x4240d6(0x20c)]-0x1][_0x4240d6(0x1d5)])throw new _0x18ae33(_0x4240d6(0x26a),this);_0x113e91[_0x4240d6(0x256)](this[_0x4240d6(0x1b2)][_0x4240d6(0x213)],_0x186fa6);};}[_0x1d0e15(0x22c)](){const _0x39e554=_0x1d0e15;this[_0x39e554(0x1b2)][_0x39e554(0x213)]['on'](_0x39e554(0x261),(_0xa221b2,[_0x9273f7])=>{const _0x27b0e3=_0x39e554;if(this[_0x27b0e3(0x1d1)][_0x27b0e3(0x290)])throw new _0x18ae33(_0x27b0e3(0x285),this);_0xa221b2[_0x27b0e3(0x278)](),this[_0x27b0e3(0x1ea)]();const _0x34a641=this[_0x27b0e3(0x1b2)][_0x27b0e3(0x206)][_0x27b0e3(0x211)](_0x27b0e3(0x216)),_0x5f3532=this[_0x27b0e3(0x21e)](_0x9273f7,_0x34a641);0x0==_0x5f3532[_0x27b0e3(0x20c)]&&_0x5f3532[_0x27b0e3(0x281)](new _0x3dcf23(0x0)),_0xa221b2[_0x27b0e3(0x280)]=this[_0x27b0e3(0x27c)](_0x5f3532)[_0x27b0e3(0x1b7)](()=>{const _0x1985ec=_0x27b0e3;this[_0x1985ec(0x1b2)][_0x1985ec(0x1ac)][_0x1985ec(0x211)](_0xd4b253)[_0x1985ec(0x250)](this),this[_0x1985ec(0x1b2)][_0x1985ec(0x213)][_0x1985ec(0x275)](_0x1985ec(0x27f));})[_0x27b0e3(0x1c8)](_0x1c205e=>this[_0x27b0e3(0x1b6)](_0x27b0e3(0x218),_0x1c205e))[_0x27b0e3(0x28c)](()=>this[_0x27b0e3(0x234)]());},{'priority':_0x39e554(0x1d9)}),this[_0x39e554(0x1b2)]['on'](_0x39e554(0x257),async(_0x542aca,[_0x30228e,_0x2edcc0])=>{const _0x5ce075=_0x39e554;_0x542aca[_0x5ce075(0x278)]();const _0x537417=this[_0x5ce075(0x1b2)][_0x5ce075(0x289)][_0x5ce075(0x1fe)][_0x5ce075(0x22d)](_0x30228e);if(!this[_0x5ce075(0x203)][_0x5ce075(0x287)](_0x30228e)){const _0xf0057c=_0x2edcc0&&_0x2edcc0[_0x5ce075(0x213)]?_0x2edcc0[_0x5ce075(0x213)]:'',_0x52c723=_0x2edcc0&&_0x2edcc0[_0x5ce075(0x1e1)]?_0x2edcc0[_0x5ce075(0x1e1)]:{};await this[_0x5ce075(0x217)](_0x30228e,_0xf0057c,_0x52c723);}this[_0x5ce075(0x1b2)][_0x5ce075(0x289)][_0x5ce075(0x1af)]({'isUndoable':!0x1},()=>{const _0x3485f8=_0x5ce075;_0x537417[_0x3485f8(0x267)]=!0x0,this[_0x3485f8(0x1b2)][_0x3485f8(0x289)][_0x3485f8(0x1fe)][_0x3485f8(0x1ab)][_0x3485f8(0x229)](_0x537417);});},{'priority':_0x39e554(0x1d9)});}async[_0x1d0e15(0x294)](_0xaa6aae){const _0x437d9e=_0x1d0e15,_0x197e1b=this[_0x437d9e(0x1b2)][_0x437d9e(0x1ac)][_0x437d9e(0x211)](_0x14e331),{connection:_0x4f3768}=this[_0x437d9e(0x1b2)][_0x437d9e(0x1ac)][_0x437d9e(0x211)](_0xd4b253),_0x59911e=new Set();for(const _0x3ea7fd of _0xaa6aae){const _0x17fb3b=_0x3ea7fd[_0x437d9e(0x292)];_0x17fb3b&&!_0x197e1b[_0x437d9e(0x23f)](_0x17fb3b)&&_0x59911e[_0x437d9e(0x242)](_0x17fb3b);}if(0x0===_0x59911e[_0x437d9e(0x1eb)])return;const _0x3b15a9=await _0x391365[_0x437d9e(0x27a)](_0x4f3768,Array[_0x437d9e(0x239)](_0x59911e));for(const _0x44ebae of _0x3b15a9)_0x197e1b[_0x437d9e(0x23f)](_0x44ebae['id'])||_0x197e1b[_0x437d9e(0x29d)](_0x44ebae);}[_0x1d0e15(0x21e)](_0x1d576a,_0x3af6c6={}){const _0xbcaa92=_0x1d0e15,_0x8cc79a=this[_0xbcaa92(0x1b2)][_0xbcaa92(0x289)],_0x4971bf=[];let _0x2a1be1=0x0;const _0x25782f=_0xbcaa92(0x1c3)==typeof _0x1d576a?{'main':_0x1d576a}:_0x1d576a;for(const _0x3edbce of Object[_0xbcaa92(0x201)](_0x25782f)){if(!this[_0xbcaa92(0x1d1)][_0xbcaa92(0x1f9)][_0xbcaa92(0x287)](_0x3edbce))throw new _0x18ae33(_0xbcaa92(0x271),this);const _0x623fa3=this[_0xbcaa92(0x1b2)][_0xbcaa92(0x213)][_0xbcaa92(0x247)](_0x25782f[_0x3edbce]),_0x49c552=this[_0xbcaa92(0x1d1)][_0xbcaa92(0x22d)](_0x3edbce),_0x3ea8fe=new _0x57da47(_0x8cc79a[_0xbcaa92(0x1ee)](_0x49c552,0x0),_0x623fa3,_0x2a1be1++);_0x4971bf[_0xbcaa92(0x281)](_0x3ea8fe);for(const [_0x4f2e20,_0x4bd3bf]of _0x623fa3[_0xbcaa92(0x1d7)]){const _0x3c29ac=_0x8cc79a[_0xbcaa92(0x1e8)](_0x8cc79a[_0xbcaa92(0x273)](_0x49c552,_0x4bd3bf[_0xbcaa92(0x1e4)][_0xbcaa92(0x238)][_0xbcaa92(0x1d6)]()),_0x8cc79a[_0xbcaa92(0x273)](_0x49c552,_0x4bd3bf[_0xbcaa92(0x25b)][_0xbcaa92(0x238)][_0xbcaa92(0x1d6)]())),_0x52c1dd=new _0x426096(_0x4f2e20,null,_0x3c29ac,_0x8cc79a[_0xbcaa92(0x1d7)],!0x0,_0x2a1be1++);_0x4971bf[_0xbcaa92(0x281)](_0x52c1dd);}}if(_0x3af6c6)for(const [_0x478ffb,_0x5ec917]of Object[_0xbcaa92(0x1bf)](_0x3af6c6)){const _0x949832=_0x8cc79a[_0xbcaa92(0x1fe)][_0xbcaa92(0x22d)](_0x478ffb);if(!_0x949832)throw new _0x18ae33(_0xbcaa92(0x25a),null);for(const [_0x902b7f,_0x2c9594]of Object[_0xbcaa92(0x1bf)](_0x5ec917))if(null!==_0x2c9594){const _0x23cb78=new _0x3c4730(_0x949832,_0x902b7f,null,_0x2c9594,_0x2a1be1++);_0x4971bf[_0xbcaa92(0x281)](_0x23cb78);}}return _0x4971bf;}async[_0x1d0e15(0x217)](_0x4e8525,_0xf8dd68,_0x176332){const _0x27c0a3=_0x1d0e15;this[_0x27c0a3(0x21e)]({[_0x4e8525]:_0xf8dd68},{[_0x4e8525]:_0x176332})[_0x27c0a3(0x212)]((_0x52b729,_0x429364)=>{const _0x4e7f60=_0x27c0a3;_0x52b729[_0x4e7f60(0x1c5)]=this[_0x4e7f60(0x1d1)][_0x4e7f60(0x290)]+_0x429364,_0x52b729[_0x4e7f60(0x25e)]=!0x0,this[_0x4e7f60(0x1f3)](_0x52b729);}),this[_0x27c0a3(0x20d)](),await this[_0x27c0a3(0x1b3)]();}async[_0x1d0e15(0x24a)](_0x2c6f60,_0x3af356){const _0x1033a8=_0x1d0e15;let _0x210c20;this[_0x1033a8(0x1ef)]=_0x2c6f60[_0x1033a8(0x1f6)];const _0x1506b5=_0x2c6f60[_0x1033a8(0x241)]&&!_0x2c6f60[_0x1033a8(0x252)],_0x267e34=_0x1506b5?0x0:_0x2c6f60[_0x1033a8(0x213)][_0x1033a8(0x1c5)];if(_0x3af356[_0x1033a8(0x212)](_0x319844=>{const _0x30fa92=_0x1033a8;_0x319844[_0x30fa92(0x25e)]=!0x0,_0x319844[_0x30fa92(0x204)]=_0x2c6f60[_0x30fa92(0x298)],_0x319844[_0x30fa92(0x292)]=null;}),_0x1506b5)_0x210c20=_0x3af356,this[_0x1033a8(0x19b)](_0x210c20,_0x1506b5);else{if(_0x2c6f60[_0x1033a8(0x252)]){const _0x27a47c=this[_0x1033a8(0x21e)](_0x2c6f60[_0x1033a8(0x252)]);this[_0x1033a8(0x1d1)][_0x1033a8(0x246)][_0x1033a8(0x290)]=-_0x27a47c[_0x1033a8(0x20c)],_0x27a47c[_0x1033a8(0x212)](_0x48c346=>{const _0x1fa24d=_0x1033a8;_0x48c346[_0x1fa24d(0x1c5)]-=_0x27a47c[_0x1fa24d(0x20c)],_0x48c346[_0x1fa24d(0x204)]=_0x2c6f60[_0x1fa24d(0x298)],_0x48c346[_0x1fa24d(0x25e)]=!0x0,_0x48c346[_0x1fa24d(0x292)]=null;}),this[_0x1033a8(0x19b)](_0x27a47c,!0x0),this[_0x1033a8(0x1c4)][_0x1033a8(0x290)]=-_0x27a47c[_0x1033a8(0x20c)]+this[_0x1033a8(0x1ef)],this[_0x1033a8(0x21c)](_0x27a47c);}this[_0x1033a8(0x1d1)][_0x1033a8(0x246)][_0x1033a8(0x290)]=_0x267e34,_0x210c20=this[_0x1033a8(0x1bb)](_0x2c6f60[_0x1033a8(0x213)],_0x2c6f60[_0x1033a8(0x28d)]),await this[_0x1033a8(0x294)](_0x210c20),this[_0x1033a8(0x19b)](_0x210c20,_0x1506b5);}_0x2c6f60[_0x1033a8(0x1a8)]&&(this[_0x1033a8(0x25d)][_0x1033a8(0x1a0)](_0x210c20,_0x2c6f60[_0x1033a8(0x1a8)]),this[_0x1033a8(0x19f)]=_0x2c6f60[_0x1033a8(0x1a8)]),this[_0x1033a8(0x1c4)][_0x1033a8(0x290)]=_0x267e34+this[_0x1033a8(0x1ef)],this[_0x1033a8(0x21c)](_0x210c20),_0x3af356[_0x1033a8(0x1ed)](_0x1f389c=>{const _0x5db52e=_0x1033a8,_0x58ed46=this[_0x5db52e(0x1cd)](_0x1f389c);return _0x58ed46&&!this[_0x5db52e(0x203)][_0x5db52e(0x287)](_0x58ed46);})[_0x1033a8(0x212)]((_0x4aed72,_0x5c5fa7)=>{const _0x107920=_0x1033a8;_0x4aed72[_0x107920(0x1c5)]=this[_0x107920(0x1d1)][_0x107920(0x290)]+_0x5c5fa7,this[_0x107920(0x1f3)](_0x4aed72);}),this[_0x1033a8(0x1b5)]()?(this[_0x1033a8(0x1a3)]=0x0,this[_0x1033a8(0x20d)](!0x0),await this[_0x1033a8(0x1b3)]()):(this[_0x1033a8(0x1c0)]=!0x1,this[_0x1033a8(0x234)]());}[_0x1d0e15(0x1b6)](_0x1662ba,_0x38947c){const _0x35acb2=_0x1d0e15,_0x1592bc=_0x38947c&&_0x38947c[_0x35acb2(0x254)];if(_0x1592bc&&_0x1592bc[_0x35acb2(0x260)](_0x35acb2(0x231)))throw _0x38947c;const _0x3a83cf=this[_0x35acb2(0x1b2)][_0x35acb2(0x1ac)][_0x35acb2(0x211)](_0xd4b253);throw this[_0x35acb2(0x1c0)]=!0x0,_0x3a83cf[_0x35acb2(0x22e)](),this[_0x35acb2(0x1b2)][_0x35acb2(0x1ad)](_0x35acb2(0x270)),new _0x18ae33(_0x1662ba,this[_0x35acb2(0x1b2)],_0x1592bc?{'originalError':_0x1592bc}:void 0x0);}[_0x1d0e15(0x1f3)](_0x174258){const _0x3d244f=_0x1d0e15;this[_0x3d244f(0x1e2)][_0x3d244f(0x287)](_0x174258)||(this[_0x3d244f(0x1e2)][_0x3d244f(0x242)](_0x174258),this[_0x3d244f(0x209)][_0x3d244f(0x281)](_0x174258),this[_0x3d244f(0x23a)]||_0x3d244f(0x1f7)==_0x174258[_0x3d244f(0x228)]&&!_0x174258[_0x3d244f(0x21b)]||this[_0x3d244f(0x1ea)]());}[_0x1d0e15(0x20d)](_0x139050=!0x1){const _0x2bafc4=_0x1d0e15;!_0x139050&&this[_0x2bafc4(0x1c0)]||(this[_0x2bafc4(0x1c0)]=!0x0,clearTimeout(this[_0x2bafc4(0x1c1)]),this[_0x2bafc4(0x1c1)]=setTimeout(()=>{const _0x5af990=_0x2bafc4;this[_0x5af990(0x286)]()[_0x5af990(0x1b7)](_0xa6e0ee=>{const _0x37b5ad=_0x5af990;_0xa6e0ee&&(this[_0x37b5ad(0x234)](),this[_0x37b5ad(0x1c0)]=!0x1);})[_0x5af990(0x1c8)](_0x518dc1=>{const _0x4de939=_0x5af990;this[_0x4de939(0x234)](),this[_0x4de939(0x1c0)]=!0x1,function(_0x515b50){const _0x18aec5=_0x4de939;return _0x515b50[_0x18aec5(0x254)][_0x18aec5(0x260)](_0x18aec5(0x23e))||_0x515b50[_0x18aec5(0x254)][_0x18aec5(0x260)](_0x18aec5(0x269))||_0x515b50[_0x18aec5(0x254)][_0x18aec5(0x260)](_0x18aec5(0x1a2));}(_0x518dc1)||this[_0x4de939(0x1b6)](_0x518dc1[_0x4de939(0x254)],_0x518dc1);});},this[_0x2bafc4(0x1a3)]));}[_0x1d0e15(0x1b3)](){return new Promise(_0xfb386c=>{const _0x57fbfd=_0x1b4d;this['on'](_0x57fbfd(0x1fa),()=>{_0xfb386c();});});}async[_0x1d0e15(0x286)](){const _0x41c24=_0x1d0e15,_0x58f8af=this[_0x41c24(0x1b2)][_0x41c24(0x1ac)][_0x41c24(0x211)](_0x374c6d);if(this[_0x41c24(0x1f8)]()&&(_0x58f8af[_0x41c24(0x253)](),this[_0x41c24(0x28e)]=!0x1),!this[_0x41c24(0x1b5)]())return!0x0;const _0x36a74f=[...this[_0x41c24(0x209)]];for(const _0x15264f of _0x36a74f)_0x15264f[_0x41c24(0x232)]=this[_0x41c24(0x1d1)][_0x41c24(0x246)][_0x41c24(0x1b1)](_0x15264f);const _0xa37e75=this[_0x41c24(0x25d)][_0x41c24(0x1a6)](_0x36a74f),_0x5989b6=G++,_0x2d2cf5=this[_0x41c24(0x1c2)](_0x36a74f),_0x396045=await this[_0x41c24(0x28b)][_0x41c24(0x219)](_0x2d2cf5,_0x2d2cf5[_0x41c24(0x1c5)],_0xa37e75);try{return await this[_0x41c24(0x20f)](_0x36a74f,_0x396045,_0x5989b6);}catch(_0x51532e){return this[_0x41c24(0x1b6)](_0x41c24(0x27e),_0x51532e);}}async[_0x1d0e15(0x20f)](_0x8e7ea5,_0x4f5817,_0x56a973){const _0x535b83=_0x1d0e15;if(_0x535b83(0x1b0)in _0x4f5817)throw _0x4f5817[_0x535b83(0x1b0)];let _0x51a8de=!0x1;if(_0x4f5817[_0x535b83(0x241)]){_0x4f5817[_0x535b83(0x1a8)]&&(this[_0x535b83(0x19f)]=_0x4f5817[_0x535b83(0x1a8)]),this[_0x535b83(0x209)]=this[_0x535b83(0x209)][_0x535b83(0x1ed)](_0x58c401=>!_0x8e7ea5[_0x535b83(0x1ae)](_0x58c401));for(const _0x1b45ed of _0x8e7ea5)_0x1b45ed[_0x535b83(0x204)]=_0x535b83(0x1de)in _0x4f5817&&_0x4f5817[_0x535b83(0x1de)]||void 0x0;K(_0x8e7ea5,_0x4f5817[_0x535b83(0x290)]-_0x8e7ea5[_0x535b83(0x20c)]),this[_0x535b83(0x21c)](_0x8e7ea5);const _0x5d8a19=_0x8e7ea5[_0x535b83(0x1ed)](_0x1557bf=>{const _0x49a260=_0x535b83;if(!_0x1557bf[_0x49a260(0x25e)])return!0x1;const _0x5f1613=this[_0x49a260(0x1cd)](_0x1557bf);return _0x5f1613&&!this[_0x49a260(0x203)][_0x49a260(0x287)](_0x5f1613);});K(_0x5d8a19,this[_0x535b83(0x1d1)][_0x535b83(0x290)]),this[_0x535b83(0x19b)](_0x5d8a19),_0x51a8de=!0x0,this[_0x535b83(0x1a3)]=this[_0x535b83(0x205)];}else{const _0x226ec6=this[_0x535b83(0x1bb)](_0x4f5817[_0x535b83(0x213)],_0x4f5817[_0x535b83(0x28d)])[_0x535b83(0x1ed)](_0x378482=>_0x378482[_0x535b83(0x1c5)]>=this[_0x535b83(0x27b)]);_0x226ec6[_0x535b83(0x212)](_0x8af895=>this[_0x535b83(0x233)](_0x8af895)),this[_0x535b83(0x209)]=this[_0x535b83(0x209)][_0x535b83(0x1ed)](_0x4adb8c=>!_0x4adb8c[_0x535b83(0x25e)]||!this[_0x535b83(0x203)][_0x535b83(0x287)](this[_0x535b83(0x1cd)](_0x4adb8c))),this[_0x535b83(0x209)][_0x535b83(0x20c)]&&K(this[_0x535b83(0x209)],this[_0x535b83(0x209)][0x0][_0x535b83(0x1c5)]),await this[_0x535b83(0x294)](_0x226ec6),_0x51a8de=this[_0x535b83(0x28f)](_0x226ec6,_0x4f5817[_0x535b83(0x290)],_0x4f5817[_0x535b83(0x1a8)]),this[_0x535b83(0x1a3)]=Math[_0x535b83(0x22f)](this[_0x535b83(0x1a3)]/0x2);}return _0x51a8de?!this[_0x535b83(0x1b5)]()||(this[_0x535b83(0x20d)](!0x0),!0x1):this[_0x535b83(0x1b6)](_0x535b83(0x1d3));}[_0x1d0e15(0x28f)](_0x3b51c1,_0x2752b7,_0x58a500){const _0x42c144=_0x1d0e15;try{const _0x4dae35={'document':this[_0x42c144(0x1d1)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x26c3c2,operationsB:_0x13b383,originalOperations:_0x2beb5e}=_0x514618(_0x3b51c1,this[_0x42c144(0x209)],_0x4dae35);K(_0x26c3c2,this[_0x42c144(0x1d1)][_0x42c144(0x290)]),K(_0x13b383,_0x2752b7);for(const _0x459337 of _0x26c3c2){const _0x223433=_0x2beb5e[_0x42c144(0x211)](_0x459337);_0x459337[_0x42c144(0x292)]=_0x223433?_0x223433[_0x42c144(0x292)]:null;}_0x58a500&&(this[_0x42c144(0x25d)][_0x42c144(0x1a0)](_0x3b51c1,_0x58a500),this[_0x42c144(0x19f)]=_0x58a500),this[_0x42c144(0x209)]=[..._0x13b383],this[_0x42c144(0x19b)](_0x26c3c2),this[_0x42c144(0x21c)](_0x3b51c1);}catch(_0x442479){return console[_0x42c144(0x1b0)](_0x442479),!0x1;}return!0x0;}[_0x1d0e15(0x19b)](_0x16c90a,_0x5ee2be=!0x1){const _0x5bd952=_0x1d0e15;this[_0x5bd952(0x1b2)][_0x5bd952(0x289)][_0x5bd952(0x1af)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4f410a=>{const _0x3e06b1=_0x5bd952;for(const _0xd29d51 of _0x16c90a)this[_0x3e06b1(0x1e2)][_0x3e06b1(0x242)](_0xd29d51),this[_0x3e06b1(0x233)](_0xd29d51),_0x4f410a[_0x3e06b1(0x284)][_0x3e06b1(0x26b)](_0xd29d51),this[_0x3e06b1(0x1b2)][_0x3e06b1(0x289)][_0x3e06b1(0x255)](_0xd29d51);});}[_0x1d0e15(0x233)](_0x136441){const _0x3a3ef4=_0x1d0e15,_0x44c36f=this[_0x3a3ef4(0x1cd)](_0x136441);_0x44c36f&&this[_0x3a3ef4(0x203)][_0x3a3ef4(0x242)](_0x44c36f);}[_0x1d0e15(0x1cd)](_0x20f69c){const _0x12b95c=_0x1d0e15;let _0x4d672a,_0x1ecf99;switch(_0x20f69c[_0x12b95c(0x228)]){case _0x12b95c(0x265):_0x4d672a=_0x20f69c[_0x12b95c(0x1d4)][_0x12b95c(0x1a5)];break;case _0x12b95c(0x1f7):if(_0x1ecf99=_0x20f69c[_0x12b95c(0x24e)],!_0x1ecf99)return null;_0x4d672a=_0x1ecf99[_0x12b95c(0x1a5)];break;case _0x12b95c(0x258):_0x4d672a=_0x20f69c[_0x12b95c(0x1a5)];break;case _0x12b95c(0x1cb):_0x4d672a=_0x20f69c[_0x12b95c(0x222)];break;case _0x12b95c(0x272):_0x4d672a=_0x20f69c[_0x12b95c(0x1b9)][_0x12b95c(0x1a5)];break;default:return null;}return _0x4d672a[_0x12b95c(0x202)];}[_0x1d0e15(0x21c)](_0x5adf97){const _0x46507c=_0x1d0e15;_0x5adf97[_0x46507c(0x212)](_0x5212aa=>{const _0x8e6a46=_0x46507c,_0x395464=_0x5212aa[_0x8e6a46(0x240)]();_0x395464[_0x8e6a46(0x292)]=_0x5212aa[_0x8e6a46(0x292)],_0x395464[_0x8e6a46(0x25e)]=!!_0x5212aa[_0x8e6a46(0x25e)],_0x395464[_0x8e6a46(0x204)]=_0x5212aa[_0x8e6a46(0x204)],_0x395464[_0x8e6a46(0x1c5)]+=this[_0x8e6a46(0x1ef)],_0x5212aa[_0x8e6a46(0x1d8)]&&this[_0x8e6a46(0x243)][_0x8e6a46(0x242)](_0x395464),this[_0x8e6a46(0x1c4)][_0x8e6a46(0x26b)](_0x395464);});}[_0x1d0e15(0x248)](_0x13166b){const _0x5ad5f4=_0x1d0e15,_0x363c42=this[_0x5ad5f4(0x1b2)][_0x5ad5f4(0x1ac)][_0x5ad5f4(0x211)](_0x5ad5f4(0x1e9)),_0x2a29bc=this[_0x5ad5f4(0x1b2)][_0x5ad5f4(0x266)];_0x13166b||(_0x13166b=_0x392d5a(_0x2a29bc,_0x5ad5f4(0x279))),_0x363c42[_0x5ad5f4(0x1c9)](_0x13166b,{'title':_0x392d5a(_0x2a29bc,_0x5ad5f4(0x263)),'namespace':_0x5ad5f4(0x276)}),this[_0x5ad5f4(0x1bd)]=!0x0,clearTimeout(this[_0x5ad5f4(0x1c1)]),this[_0x5ad5f4(0x209)]=[],this[_0x5ad5f4(0x1b2)][_0x5ad5f4(0x1ac)][_0x5ad5f4(0x211)](_0xd4b253)[_0x5ad5f4(0x22e)]();}[_0x1d0e15(0x1ea)](){const _0x4e351d=_0x1d0e15;this[_0x4e351d(0x23a)]||(this[_0x4e351d(0x23a)]=this[_0x4e351d(0x1b2)][_0x4e351d(0x1ac)][_0x4e351d(0x211)](_0x243eed)[_0x4e351d(0x242)](_0x392d5a(this[_0x4e351d(0x1b2)][_0x4e351d(0x266)],_0x4e351d(0x223))));}[_0x1d0e15(0x234)](){const _0x158022=_0x1d0e15;this[_0x158022(0x23a)]&&(this[_0x158022(0x1b2)][_0x158022(0x1ac)][_0x158022(0x211)](_0x243eed)[_0x158022(0x23d)](this[_0x158022(0x23a)]),this[_0x158022(0x23a)]=null);}[_0x1d0e15(0x1c2)](_0x5331c5){const _0x492b8e=_0x1d0e15,_0x3f6d81=_0x5331c5[_0x492b8e(0x1dc)](_0x3f6618=>_0x3f6618[_0x492b8e(0x29b)]());return this[_0x492b8e(0x1ca)][_0x492b8e(0x1a7)](_0x3f6d81);}[_0x1d0e15(0x1bb)](_0x3abc0d,_0x213914){const _0x26148c=_0x1d0e15;return this[_0x26148c(0x1ca)][_0x26148c(0x208)](_0x3abc0d)[_0x26148c(0x1dc)]((_0x1c77d6,_0x314f2a)=>{const _0x5cf71c=_0x26148c,_0x160f5a=_0x5cf71c(0x261)==_0x213914[_0x314f2a][_0x5cf71c(0x228)];if(_0x5cf71c(0x24c)==_0x1c77d6[_0x5cf71c(0x268)]){const _0x12759f=_0x1c77d6[_0x5cf71c(0x1d4)][_0x5cf71c(0x1a5)];!this[_0x5cf71c(0x1d1)][_0x5cf71c(0x22d)](_0x12759f)&&(this[_0x5cf71c(0x1d1)][_0x5cf71c(0x299)](_0x5cf71c(0x1cc),_0x12759f)[_0x5cf71c(0x214)]=!0x1);}const _0x5cd2dc=_0x1629a3[_0x5cf71c(0x1ec)](_0x1c77d6,this[_0x5cf71c(0x1d1)]);return _0x5cd2dc[_0x5cf71c(0x232)]=_0x1c77d6[_0x5cf71c(0x232)],_0x5cd2dc[_0x5cf71c(0x25e)]=_0x160f5a,_0x5cd2dc[_0x5cf71c(0x292)]=_0x160f5a?null:_0x213914[_0x314f2a][_0x5cf71c(0x1d2)],_0x5cd2dc[_0x5cf71c(0x1d8)]=_0x5cf71c(0x19c)===_0x213914[_0x314f2a][_0x5cf71c(0x228)],_0x5cd2dc[_0x5cf71c(0x204)]=_0x213914[_0x314f2a][_0x5cf71c(0x204)],_0x5cd2dc;});}[_0x1d0e15(0x227)](){const _0x3d9ff5=_0x1d0e15;this[_0x3d9ff5(0x28e)]=!0x0,this[_0x3d9ff5(0x1f8)]()?this[_0x3d9ff5(0x20d)]():this[_0x3d9ff5(0x28e)]=!0x1;}[_0x1d0e15(0x1f8)](){const _0x542934=_0x1d0e15,_0x289bee=this[_0x542934(0x1b2)][_0x542934(0x1ac)][_0x542934(0x211)](_0x57dd5b)[_0x542934(0x29a)][_0x542934(0x211)](this[_0x542934(0x221)]);return!this[_0x542934(0x1b2)][_0x542934(0x1fb)]&&!!_0x289bee&&_0x289bee[_0x542934(0x20c)]>0x1&&this[_0x542934(0x28e)];}[_0x1d0e15(0x1b5)](){const _0x3d6a5d=_0x1d0e15;return this[_0x3d6a5d(0x209)][_0x3d6a5d(0x20c)]>0x0||this[_0x3d6a5d(0x1f8)]();}}export{l as RealTimeCollaborationClient};class $ extends Error{}function K(_0x32ab20,_0x168f44){const _0x5c158d=_0x1d0e15;for(const _0x4efdfb of _0x32ab20)_0x4efdfb[_0x5c158d(0x1c5)]=_0x168f44++;}class J{[_0x1d0e15(0x1f1)];[_0x1d0e15(0x207)];constructor(_0x4144be){const _0x6d9bce=_0x1d0e15;this[_0x6d9bce(0x1f1)]=_0x4144be,this[_0x6d9bce(0x207)]=new WeakMap();}[_0x1d0e15(0x1a6)](_0x31d5a4){const _0x5bdd30=_0x1d0e15;let _0x4c73ec=_0x31d5a4[_0x5bdd30(0x20c)];for(;_0x4c73ec--;){const _0x388945=_0x31d5a4[_0x4c73ec];if(!this[_0x5bdd30(0x1f1)][_0x5bdd30(0x287)](_0x388945)){if(!this[_0x5bdd30(0x207)][_0x5bdd30(0x287)](_0x388945)){const _0x4efbba=_0x1b5c84()[_0x5bdd30(0x1d6)](0x1,0x12);this[_0x5bdd30(0x207)][_0x5bdd30(0x1e7)](_0x388945,_0x4efbba);}return this[_0x5bdd30(0x207)][_0x5bdd30(0x211)](_0x388945);}}}[_0x1d0e15(0x1a0)](_0x4260d5,_0x5b0ceb){const _0x58ee41=_0x1d0e15;if(!_0x5b0ceb)return;let _0xf4972f=_0x4260d5[_0x58ee41(0x20c)];for(;_0xf4972f--;){const _0x227ef2=_0x4260d5[_0xf4972f];this[_0x58ee41(0x1f1)][_0x58ee41(0x287)](_0x227ef2)||this[_0x58ee41(0x207)][_0x58ee41(0x1e7)](_0x227ef2,_0x5b0ceb);}}}
|
|
23
|
+
function _0x8480(_0x421372,_0x21c5e5){const _0x4c860e=_0x4c86();return _0x8480=function(_0x84803c,_0x1fa786){_0x84803c=_0x84803c-0x1d5;let _0x3442f5=_0x4c860e[_0x84803c];return _0x3442f5;},_0x8480(_0x421372,_0x21c5e5);}const _0x1ec44f=_0x8480;(function(_0x1ebcbc,_0x29dc65){const _0x2fe293=_0x8480,_0x116285=_0x1ebcbc();while(!![]){try{const _0x4b6411=-parseInt(_0x2fe293(0x1f5))/0x1+-parseInt(_0x2fe293(0x286))/0x2*(-parseInt(_0x2fe293(0x2a1))/0x3)+parseInt(_0x2fe293(0x216))/0x4+parseInt(_0x2fe293(0x24f))/0x5+parseInt(_0x2fe293(0x29e))/0x6*(parseInt(_0x2fe293(0x1f6))/0x7)+-parseInt(_0x2fe293(0x294))/0x8+-parseInt(_0x2fe293(0x2ac))/0x9;if(_0x4b6411===_0x29dc65)break;else _0x116285['push'](_0x116285['shift']());}catch(_0x337f46){_0x116285['push'](_0x116285['shift']());}}}(_0x4c86,0x7c251));import{Plugin as _0x33dbd6,PendingActions as _0x335996}from'ckeditor5/src/core.js';import{CKEditorError as _0x454af8,version as _0x57a5ee,uid as _0x5eccf6}from'ckeditor5/src/utils.js';import{Notification as _0x195027}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x57b2e1,NoOperation as _0x158705,InsertOperation as _0x5ade7c,MarkerOperation as _0x17ab8a,RootAttributeOperation as _0x2b0723,OperationFactory as _0x18e4d8,History as _0x12243b}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x3511c3}from'./websocketgateway.js';import{Sessions as _0x59f71b}from'./sessions.js';import{UserMarkers as _0xe885b3}from'./usermarkers.js';import{getTranslation as _0x5545a9}from'../common-translations.js';import{Compressor as _0x3c8e6f}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x37a2dc}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x18b2a9,CollaborativeEditingService as _0x183c49}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let q=0x1;class l extends _0x33dbd6{static [_0x1ec44f(0x22e)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x183c49)());[_0x1ec44f(0x1e7)];[_0x1ec44f(0x2c5)];[_0x1ec44f(0x219)];[_0x1ec44f(0x2a4)];[_0x1ec44f(0x1fc)];[_0x1ec44f(0x2d0)];[_0x1ec44f(0x23f)];[_0x1ec44f(0x25a)];[_0x1ec44f(0x21d)];[_0x1ec44f(0x21e)];[_0x1ec44f(0x1f4)];[_0x1ec44f(0x2b1)];[_0x1ec44f(0x24a)];[_0x1ec44f(0x22a)];[_0x1ec44f(0x23d)];[_0x1ec44f(0x2c8)];[_0x1ec44f(0x29f)];[_0x1ec44f(0x232)];static get[_0x1ec44f(0x2b2)](){return[_0x3511c3,_0x59f71b,_0xe885b3,_0x335996,_0x37a2dc,_0x195027];}static get[_0x1ec44f(0x212)](){const _0x37d6e6=_0x1ec44f;return _0x37d6e6(0x254);}static get[_0x1ec44f(0x2bf)](){return!0x0;}static get[_0x1ec44f(0x276)](){return!0x0;}get[_0x1ec44f(0x26b)](){const _0x3406f4=_0x1ec44f;return this[_0x3406f4(0x25b)]+this[_0x3406f4(0x1e7)];}get[_0x1ec44f(0x25b)](){const _0xe880da=_0x1ec44f;return this[_0xe880da(0x219)][_0xe880da(0x2d7)]-this[_0xe880da(0x1e7)];}get[_0x1ec44f(0x1e2)](){const _0x3e8d2f=_0x1ec44f,_0x386f59=this[_0x3e8d2f(0x219)][_0x3e8d2f(0x228)]();for(let _0x3b840d=_0x386f59[_0x3e8d2f(0x22b)]-0x1;_0x3b840d>=0x0;_0x3b840d--){const _0x10c8f7=_0x386f59[_0x3b840d];if(!this[_0x3e8d2f(0x29f)][_0x3e8d2f(0x223)](_0x10c8f7))return _0x10c8f7[_0x3e8d2f(0x222)]+0x1-this[_0x3e8d2f(0x1e7)];}return 0x0;}constructor(_0x4d9e0e){const _0x32a42a=_0x1ec44f;if(super(_0x4d9e0e),this[_0x32a42a(0x1e7)]=0x0,this[_0x32a42a(0x2c5)]=null,this[_0x32a42a(0x219)]=new _0x12243b(),this[_0x32a42a(0x20b)][_0x32a42a(0x1d7)][_0x32a42a(0x227)](_0x32a42a(0x231),{}),this[_0x32a42a(0x2a4)]=this[_0x32a42a(0x20b)][_0x32a42a(0x1d7)][_0x32a42a(0x2c9)](_0x32a42a(0x1f8)),!this[_0x32a42a(0x2a4)])throw new _0x454af8(_0x32a42a(0x26f),this);const _0x16db80=_0x4d9e0e[_0x32a42a(0x1d7)][_0x32a42a(0x2c9)](_0x32a42a(0x2c4))||_0x57a5ee;this[_0x32a42a(0x1fc)]=new l[(_0x32a42a(0x22e))](_0x16db80,this[_0x32a42a(0x2a4)]),this[_0x32a42a(0x2d0)]=this[_0x32a42a(0x20b)][_0x32a42a(0x215)][_0x32a42a(0x224)],this[_0x32a42a(0x23f)]=new _0x3c8e6f(),this[_0x32a42a(0x25a)]=[],this[_0x32a42a(0x21d)]=new WeakSet(),this[_0x32a42a(0x21e)]=new Set(),this[_0x32a42a(0x2d8)](_0x32a42a(0x29d),!0x1),this[_0x32a42a(0x2d8)](_0x32a42a(0x211),!0x1),this[_0x32a42a(0x1f4)]=null,this[_0x32a42a(0x2b1)]=!0x1,this[_0x32a42a(0x24a)]=null,this[_0x32a42a(0x22a)]=0x12c,this[_0x32a42a(0x23d)]=this[_0x32a42a(0x22a)],this[_0x32a42a(0x2c8)]=null,this[_0x32a42a(0x29f)]=new WeakSet(),this[_0x32a42a(0x232)]=new K(this[_0x32a42a(0x29f)]);}[_0x1ec44f(0x235)](){const _0x52cd69=_0x1ec44f,_0x490616=this[_0x52cd69(0x20b)],_0x3bc627=_0x490616[_0x52cd69(0x26d)][_0x52cd69(0x2c9)](_0x37a2dc),_0x1ceb63=_0x490616[_0x52cd69(0x26d)][_0x52cd69(0x2c9)](_0x3511c3);this[_0x52cd69(0x28c)](_0x3bc627,_0x52cd69(0x1e8),(_0x453639,_0x1f73c4)=>{const _0x23ad71=_0x52cd69,_0x137c94=_0x1f73c4[0x0];_0x137c94[_0x23ad71(0x2aa)]&&(_0x453639[_0x23ad71(0x2c7)]=_0x3bc627[_0x23ad71(0x1e0)](_0x137c94[_0x23ad71(0x2aa)]),_0x453639[_0x23ad71(0x257)]()),null===_0x137c94[_0x23ad71(0x2aa)]&&(_0x453639[_0x23ad71(0x2c7)]=null,_0x453639[_0x23ad71(0x257)]());},{'priority':_0x52cd69(0x2d5)}),this[_0x52cd69(0x28c)](_0x490616[_0x52cd69(0x215)][_0x52cd69(0x224)][_0x52cd69(0x29b)],_0x52cd69(0x26a),(_0x29c9dc,_0x5e2ca9)=>{const _0x19c24c=_0x52cd69;_0x5e2ca9[_0x19c24c(0x25f)]&&this[_0x19c24c(0x1d6)]();}),this[_0x52cd69(0x28c)](_0x490616[_0x52cd69(0x2c1)][_0x52cd69(0x258)],_0x52cd69(0x248),()=>{const _0x5f0642=_0x52cd69;this[_0x5f0642(0x1d6)]();}),this[_0x52cd69(0x253)](),_0x490616[_0x52cd69(0x215)]['on'](_0x52cd69(0x1e9),(_0x3591f8,_0x407fb9)=>{const _0x3d2d69=_0x52cd69,_0x236128=_0x407fb9[0x0];_0x236128[_0x3d2d69(0x239)]&&(this[_0x3d2d69(0x247)](_0x236128),this[_0x3d2d69(0x207)]()&&this[_0x3d2d69(0x2ab)]());}),this[_0x52cd69(0x1f1)](),this[_0x52cd69(0x282)](_0x52cd69(0x2a0))['to'](_0x1ceb63,_0x52cd69(0x1ef),this,_0x52cd69(0x211),(_0x7e07d1,_0x361fb0)=>_0x52cd69(0x218)===_0x7e07d1&&!_0x361fb0),this['on'](_0x52cd69(0x2c6),()=>{const _0x39ea41=_0x52cd69;this[_0x39ea41(0x2a0)]?_0x490616[_0x39ea41(0x2c2)](_0x39ea41(0x2b8)):_0x490616[_0x39ea41(0x265)](_0x39ea41(0x2b8));}),this[_0x52cd69(0x2a0)]?_0x490616[_0x52cd69(0x2c2)](_0x52cd69(0x2b8)):_0x490616[_0x52cd69(0x265)](_0x52cd69(0x2b8)),this[_0x52cd69(0x2d8)](_0x52cd69(0x28f),!0x1);}async[_0x1ec44f(0x261)](){const _0x51c8ff=_0x1ec44f,_0x3219ad=this[_0x51c8ff(0x20b)][_0x51c8ff(0x26d)][_0x51c8ff(0x2c9)](_0x59f71b),_0x3cefc5=this[_0x51c8ff(0x20b)][_0x51c8ff(0x26d)][_0x51c8ff(0x2c9)](_0x3511c3);try{this[_0x51c8ff(0x29d)]=!0x0,_0x3219ad[_0x51c8ff(0x2ba)](this[_0x51c8ff(0x2a4)]);const _0x3cacdd=await this[_0x51c8ff(0x1fc)][_0x51c8ff(0x261)](_0x3cefc5[_0x51c8ff(0x2cc)],this[_0x51c8ff(0x1e2)]);await this[_0x51c8ff(0x291)](_0x3cacdd)&&(this[_0x51c8ff(0x29d)]=!0x1,this[_0x51c8ff(0x2d9)]());const _0x57fcf8=await this[_0x51c8ff(0x1fc)][_0x51c8ff(0x281)]();_0x3219ad[_0x51c8ff(0x290)](this[_0x51c8ff(0x2a4)],_0x57fcf8),this[_0x51c8ff(0x210)](),this[_0x51c8ff(0x28f)]=!0x0;}catch(_0x5025e4){if(function(_0x517c4d){const _0xfc1579=_0x51c8ff;return _0xfc1579(0x297)===_0x517c4d[_0xfc1579(0x269)];}(_0x5025e4)&&this[_0x51c8ff(0x2c5)])await this[_0x51c8ff(0x242)]();else{if(function(_0x2b9ba4){const _0x1bf8ed=_0x51c8ff;return _0x1bf8ed(0x2ae)===_0x2b9ba4[_0x1bf8ed(0x269)];}(_0x5025e4)){const _0x4d9ad7=_0x5545a9(this[_0x51c8ff(0x20b)][_0x51c8ff(0x278)],_0x51c8ff(0x26e));this[_0x51c8ff(0x299)](_0x4d9ad7);}else{if(!(_0x5025e4 instanceof G))throw _0x5025e4;this[_0x51c8ff(0x299)]();}}}}[_0x1ec44f(0x1de)](){const _0x34d0a5=_0x1ec44f,_0x3dfc91=this[_0x34d0a5(0x20b)][_0x34d0a5(0x26d)][_0x34d0a5(0x2c9)](_0x3511c3),_0x472cca=this[_0x34d0a5(0x20b)][_0x34d0a5(0x26d)][_0x34d0a5(0x2c9)](_0x59f71b);this[_0x34d0a5(0x20b)][_0x34d0a5(0x265)](_0x34d0a5(0x2a5)),_0x472cca[_0x34d0a5(0x250)][_0x34d0a5(0x223)](this[_0x34d0a5(0x2a4)])&&_0x472cca[_0x34d0a5(0x2ba)](this[_0x34d0a5(0x2a4)]),_0x3dfc91[_0x34d0a5(0x21c)](this),this[_0x34d0a5(0x1d8)](),super[_0x34d0a5(0x1de)]();}async[_0x1ec44f(0x291)](_0x261671){const _0x12228c=_0x1ec44f;if(this[_0x12228c(0x2c5)]!==_0x261671[_0x12228c(0x2c5)]&&this[_0x12228c(0x2c8)]!==_0x261671[_0x12228c(0x225)])throw new G();return this[_0x12228c(0x2c5)]=_0x261671[_0x12228c(0x2c5)],this[_0x12228c(0x28e)]([],{..._0x261671,'wereChangesApplied':!0x1,'data':_0x261671[_0x12228c(0x279)]},_0x12228c(0x261));}async[_0x1ec44f(0x284)](_0x594519,_0x56099f=!0x1){const _0x3348f1=_0x1ec44f,{connection:_0x3e8f34}=this[_0x3348f1(0x20b)][_0x3348f1(0x26d)][_0x3348f1(0x2c9)](_0x3511c3);l[_0x3348f1(0x22e)][_0x3348f1(0x281)](_0x3e8f34,this[_0x3348f1(0x2a4)])[_0x3348f1(0x29c)](_0x8fb287=>this[_0x3348f1(0x238)](_0x8fb287))[_0x3348f1(0x2cb)](_0x391ad7=>{const _0x5eea77=_0x3348f1;this[_0x5eea77(0x237)](_0x5eea77(0x1fa),_0x391ad7);}),this[_0x3348f1(0x28c)](this[_0x3348f1(0x1fc)],_0x3348f1(0x2bd),this[_0x3348f1(0x25d)][_0x3348f1(0x282)](this)),this[_0x3348f1(0x28c)](this[_0x3348f1(0x1fc)],_0x3348f1(0x1e4),(_0x2f298f,_0xa1eb29)=>{const _0x3a4572=_0x3348f1;this[_0x3a4572(0x237)](_0x3a4572(0x277),_0xa1eb29);}),this[_0x3348f1(0x28c)](this[_0x3348f1(0x1fc)],_0x3348f1(0x280),()=>{const _0x2fab2d=_0x3348f1;this[_0x2fab2d(0x28f)]=!0x1;});const _0x22a4b5=this[_0x3348f1(0x232)][_0x3348f1(0x2d4)](_0x594519);this[_0x3348f1(0x29d)]=!0x0;const _0x5b2743=await this[_0x3348f1(0x1fc)][_0x3348f1(0x27b)](_0x3e8f34,this[_0x3348f1(0x209)](_0x594519),_0x22a4b5);if(this[_0x3348f1(0x2c5)]=_0x5b2743[_0x3348f1(0x2c5)],_0x56099f){if(!_0x5b2743[_0x3348f1(0x205)])return void this[_0x3348f1(0x299)]();this[_0x3348f1(0x29d)]=!0x1,this[_0x3348f1(0x2d9)](),this[_0x3348f1(0x219)][_0x3348f1(0x208)](),this[_0x3348f1(0x1e7)]=_0x5b2743[_0x3348f1(0x1fe)],this[_0x3348f1(0x219)][_0x3348f1(0x2d7)]=this[_0x3348f1(0x1e7)],await this[_0x3348f1(0x28e)](_0x594519,_0x5b2743,_0x3348f1(0x25e));}else await this[_0x3348f1(0x267)](_0x5b2743,_0x594519);this[_0x3348f1(0x210)](),this[_0x3348f1(0x28f)]=!0x0;}[_0x1ec44f(0x210)](){const _0x349e86=_0x1ec44f,_0x220b35=this[_0x349e86(0x20b)][_0x349e86(0x26d)][_0x349e86(0x2c9)](_0x59f71b),_0x1701b3=this[_0x349e86(0x20b)][_0x349e86(0x26d)][_0x349e86(0x2c9)](_0xe885b3),_0x54ab93=_0x220b35[_0x349e86(0x250)][_0x349e86(0x2c9)](this[_0x349e86(0x2a4)]);_0x54ab93&&_0x54ab93[_0x349e86(0x22b)]>0x1?_0x1701b3[_0x349e86(0x293)]():this[_0x349e86(0x28c)](_0x220b35,_0x349e86(0x23a)+this[_0x349e86(0x2a4)],()=>{const _0x1a9701=_0x349e86;0x2===_0x220b35[_0x1a9701(0x250)][_0x1a9701(0x2c9)](this[_0x1a9701(0x2a4)])[_0x1a9701(0x22b)]&&_0x1701b3[_0x1a9701(0x293)]();});}async[_0x1ec44f(0x25d)](_0x4ecbd0,_0x160bb0,_0x1ed622,_0x298b06){const _0x377148=_0x1ec44f;if(!this[_0x377148(0x29d)]&&this[_0x377148(0x2d0)][_0x377148(0x2d7)]==_0x160bb0){const _0x2f9a92=this[_0x377148(0x23c)](_0x1ed622,_0x298b06);await this[_0x377148(0x1ed)](_0x2f9a92),this[_0x377148(0x2b7)](_0x2f9a92,_0x160bb0,_0x1ed622[_0x377148(0x225)])||this[_0x377148(0x237)](_0x377148(0x27c));}}async[_0x1ec44f(0x242)](){const _0x1afea2=_0x1ec44f;this[_0x1afea2(0x1d8)]();const {locale:_0x5d91f0}=this[_0x1afea2(0x20b)];let _0x352ac5;try{_0x352ac5=await this[_0x1afea2(0x1fc)][_0x1afea2(0x2d3)]();}catch{const _0x3a2b9b=_0x5545a9(_0x5d91f0,_0x1afea2(0x262));return void this[_0x1afea2(0x299)](_0x3a2b9b);}const _0x3044aa=_0x352ac5[_0x1afea2(0x200)]||_0x352ac5[_0x1afea2(0x24b)];if(this[_0x1afea2(0x2c8)]!==_0x3044aa[_0x1afea2(0x225)]){const _0x1bb7dc=_0x5545a9(_0x5d91f0,_0x1afea2(0x256));return void this[_0x1afea2(0x299)](_0x1bb7dc);}await this[_0x1afea2(0x284)](this[_0x1afea2(0x20b)][_0x1afea2(0x215)][_0x1afea2(0x224)][_0x1afea2(0x23b)][_0x1afea2(0x228)](),!0x0);}[_0x1ec44f(0x1d8)](){const _0x2a940b=_0x1ec44f;this[_0x2a940b(0x1fc)][_0x2a940b(0x20a)](),this[_0x2a940b(0x25a)]=[],clearTimeout(this[_0x2a940b(0x24a)]),this[_0x2a940b(0x234)](this[_0x2a940b(0x1fc)]);}[_0x1ec44f(0x238)](_0x2995aa){const _0x260c1a=_0x1ec44f,_0x42257a=this[_0x260c1a(0x20b)][_0x260c1a(0x26d)][_0x260c1a(0x2c9)](_0x59f71b);this[_0x260c1a(0x28c)](_0x42257a,_0x260c1a(0x23a)+this[_0x260c1a(0x2a4)],(_0x12a661,{session:_0x306b34})=>{const _0x3d0d05=_0x260c1a;if(_0x306b34['id']===_0x42257a[_0x3d0d05(0x204)]){_0x12a661[_0x3d0d05(0x24c)]();const _0x335c0f=this[_0x3d0d05(0x20b)][_0x3d0d05(0x26d)][_0x3d0d05(0x223)](_0x3d0d05(0x27e))&&this[_0x3d0d05(0x20b)][_0x3d0d05(0x26d)][_0x3d0d05(0x2c9)](_0x3d0d05(0x27e));let _0xf1e8fb=_0x306b34[_0x3d0d05(0x23e)];_0x335c0f&&_0x335c0f[_0x3d0d05(0x2be)]&&(_0xf1e8fb=_0xf1e8fb[_0x3d0d05(0x206)](_0x240a62=>_0x3d0d05(0x25c)!==_0x240a62)),this[_0x3d0d05(0x20b)][_0x3d0d05(0x26d)][_0x3d0d05(0x2c9)](_0x3d0d05(0x2b3))[_0x3d0d05(0x203)](_0xf1e8fb,this[_0x3d0d05(0x2a4)]);}}),_0x42257a[_0x260c1a(0x290)](this[_0x260c1a(0x2a4)],_0x2995aa);}[_0x1ec44f(0x253)](){const _0x158e45=_0x1ec44f,_0x21a988=this[_0x158e45(0x20b)][_0x158e45(0x279)][_0x158e45(0x2d8)];this[_0x158e45(0x20b)][_0x158e45(0x279)][_0x158e45(0x2d8)]=(..._0x5df77a)=>{const _0x259379=_0x158e45;if(!_0x5df77a[_0x5df77a[_0x259379(0x22b)]-0x1][_0x259379(0x27d)])throw new _0x454af8(_0x259379(0x226),this);_0x21a988[_0x259379(0x27a)](this[_0x259379(0x20b)][_0x259379(0x279)],_0x5df77a);};}[_0x1ec44f(0x1f1)](){const _0x52909e=_0x1ec44f;this[_0x52909e(0x20b)][_0x52909e(0x279)]['on'](_0x52909e(0x235),(_0x41222e,[_0x33622f])=>{const _0x4a45da=_0x52909e;if(this[_0x4a45da(0x2d0)][_0x4a45da(0x2d7)])throw new _0x454af8(_0x4a45da(0x295),this);_0x41222e[_0x4a45da(0x257)](),this[_0x4a45da(0x213)]();const _0x43e89d=this[_0x4a45da(0x20b)][_0x4a45da(0x1d7)][_0x4a45da(0x2c9)](_0x4a45da(0x1df)),_0x4ba3b2=this[_0x4a45da(0x1ee)](_0x33622f,_0x43e89d);0x0==_0x4ba3b2[_0x4a45da(0x22b)]&&_0x4ba3b2[_0x4a45da(0x1e3)](new _0x158705(0x0)),_0x41222e[_0x4a45da(0x2c7)]=this[_0x4a45da(0x284)](_0x4ba3b2)[_0x4a45da(0x29c)](()=>{const _0x2779df=_0x4a45da;this[_0x2779df(0x20b)][_0x2779df(0x26d)][_0x2779df(0x2c9)](_0x3511c3)[_0x2779df(0x214)](this),this[_0x2779df(0x20b)][_0x2779df(0x279)][_0x2779df(0x1f3)](_0x2779df(0x275));})[_0x4a45da(0x2cb)](_0x2be33d=>this[_0x4a45da(0x237)](_0x4a45da(0x249),_0x2be33d))[_0x4a45da(0x22f)](()=>this[_0x4a45da(0x2d9)]());},{'priority':_0x52909e(0x2d5)}),this[_0x52909e(0x20b)]['on'](_0x52909e(0x298),async(_0x374d0e,[_0x166bce,_0x1729bd])=>{const _0x787589=_0x52909e;_0x374d0e[_0x787589(0x257)]();const _0x563cb8=this[_0x787589(0x20b)][_0x787589(0x215)][_0x787589(0x224)][_0x787589(0x230)](_0x166bce);if(!this[_0x787589(0x21e)][_0x787589(0x223)](_0x166bce)){const _0x2e9d4a=_0x1729bd&&_0x1729bd[_0x787589(0x279)]?_0x1729bd[_0x787589(0x279)]:'',_0xae2f40=_0x1729bd&&_0x1729bd[_0x787589(0x2ce)]?_0x1729bd[_0x787589(0x2ce)]:{};await this[_0x787589(0x20f)](_0x166bce,_0x2e9d4a,_0xae2f40);}this[_0x787589(0x20b)][_0x787589(0x215)][_0x787589(0x272)]({'isUndoable':!0x1},()=>{const _0x16ff0f=_0x787589;_0x563cb8[_0x16ff0f(0x1dc)]=!0x0,this[_0x16ff0f(0x20b)][_0x16ff0f(0x215)][_0x16ff0f(0x224)][_0x16ff0f(0x20e)][_0x16ff0f(0x22d)](_0x563cb8);});},{'priority':_0x52909e(0x2d5)});}async[_0x1ec44f(0x1ed)](_0x5e5684){const _0x1c6a8d=_0x1ec44f,_0x1c7bda=this[_0x1c6a8d(0x20b)][_0x1c6a8d(0x26d)][_0x1c6a8d(0x2c9)](_0x37a2dc),{connection:_0x5a9a6a}=this[_0x1c6a8d(0x20b)][_0x1c6a8d(0x26d)][_0x1c6a8d(0x2c9)](_0x3511c3),_0x2cb011=new Set();for(const _0x30f404 of _0x5e5684){const _0x18dbfd=_0x30f404[_0x1c6a8d(0x2aa)];_0x18dbfd&&!_0x1c7bda[_0x1c6a8d(0x1e0)](_0x18dbfd)&&_0x2cb011[_0x1c6a8d(0x1da)](_0x18dbfd);}if(0x0===_0x2cb011[_0x1c6a8d(0x285)])return;const _0x524c89=await _0x18b2a9[_0x1c6a8d(0x2bb)](_0x5a9a6a,Array[_0x1c6a8d(0x1d5)](_0x2cb011));for(const _0x407b77 of _0x524c89)_0x1c7bda[_0x1c6a8d(0x1e0)](_0x407b77['id'])||_0x1c7bda[_0x1c6a8d(0x263)](_0x407b77);}[_0x1ec44f(0x1ee)](_0x152842,_0x27480a={}){const _0x2c31d6=_0x1ec44f,_0x58aa5a=this[_0x2c31d6(0x20b)][_0x2c31d6(0x215)],_0x5411b9=[];let _0x4518f2=0x0;const _0x162a0f=_0x2c31d6(0x2d1)==typeof _0x152842?{'main':_0x152842}:_0x152842;for(const _0x3d9e9d of Object[_0x2c31d6(0x1db)](_0x162a0f)){if(!this[_0x2c31d6(0x2d0)][_0x2c31d6(0x20d)][_0x2c31d6(0x223)](_0x3d9e9d))throw new _0x454af8(_0x2c31d6(0x251),this);const _0x1395c2=this[_0x2c31d6(0x20b)][_0x2c31d6(0x279)][_0x2c31d6(0x29a)](_0x162a0f[_0x3d9e9d]),_0x5a1eab=this[_0x2c31d6(0x2d0)][_0x2c31d6(0x230)](_0x3d9e9d),_0x3cf062=new _0x5ade7c(_0x58aa5a[_0x2c31d6(0x2a8)](_0x5a1eab,0x0),_0x1395c2,_0x4518f2++);_0x5411b9[_0x2c31d6(0x1e3)](_0x3cf062);for(const [_0x2dde9f,_0x49a8bb]of _0x1395c2[_0x2c31d6(0x2ca)]){const _0x51a427=_0x58aa5a[_0x2c31d6(0x1ea)](_0x58aa5a[_0x2c31d6(0x244)](_0x5a1eab,_0x49a8bb[_0x2c31d6(0x2d2)][_0x2c31d6(0x1f0)][_0x2c31d6(0x245)]()),_0x58aa5a[_0x2c31d6(0x244)](_0x5a1eab,_0x49a8bb[_0x2c31d6(0x274)][_0x2c31d6(0x1f0)][_0x2c31d6(0x245)]())),_0x3c3391=new _0x17ab8a(_0x2dde9f,null,_0x51a427,_0x58aa5a[_0x2c31d6(0x2ca)],!0x0,_0x4518f2++);_0x5411b9[_0x2c31d6(0x1e3)](_0x3c3391);}}if(_0x27480a)for(const [_0x41cc43,_0x22e09a]of Object[_0x2c31d6(0x2ad)](_0x27480a)){const _0x13920b=_0x58aa5a[_0x2c31d6(0x224)][_0x2c31d6(0x230)](_0x41cc43);if(!_0x13920b)throw new _0x454af8(_0x2c31d6(0x266),null);for(const [_0x2be083,_0x266c89]of Object[_0x2c31d6(0x2ad)](_0x22e09a))if(null!==_0x266c89){const _0x2a2581=new _0x2b0723(_0x13920b,_0x2be083,null,_0x266c89,_0x4518f2++);_0x5411b9[_0x2c31d6(0x1e3)](_0x2a2581);}}return _0x5411b9;}async[_0x1ec44f(0x20f)](_0x9e62d6,_0x6ecb9c,_0x302c58){const _0xff0644=_0x1ec44f;this[_0xff0644(0x1ee)]({[_0x9e62d6]:_0x6ecb9c},{[_0x9e62d6]:_0x302c58})[_0xff0644(0x240)]((_0x304431,_0x2d14da)=>{const _0x53649f=_0xff0644;_0x304431[_0x53649f(0x222)]=this[_0x53649f(0x2d0)][_0x53649f(0x2d7)]+_0x2d14da,_0x304431[_0x53649f(0x1dd)]=!0x0,this[_0x53649f(0x247)](_0x304431);}),this[_0xff0644(0x2ab)](),await this[_0xff0644(0x236)]();}async[_0x1ec44f(0x267)](_0x204ff5,_0xd28426){const _0x112e1c=_0x1ec44f;let _0x57f3ba;this[_0x112e1c(0x1e7)]=_0x204ff5[_0x112e1c(0x1fe)];const _0x57edc8=_0x204ff5[_0x112e1c(0x205)]&&!_0x204ff5[_0x112e1c(0x271)],_0x3704da=_0x57edc8?0x0:_0x204ff5[_0x112e1c(0x279)][_0x112e1c(0x222)];if(_0xd28426[_0x112e1c(0x240)](_0x392040=>{const _0x5251b0=_0x112e1c;_0x392040[_0x5251b0(0x1dd)]=!0x0,_0x392040[_0x5251b0(0x1fd)]=_0x204ff5[_0x5251b0(0x22c)],_0x392040[_0x5251b0(0x2aa)]=null;}),_0x57edc8)_0x57f3ba=_0xd28426,this[_0x112e1c(0x28b)](_0x57f3ba,_0x57edc8);else{if(_0x204ff5[_0x112e1c(0x271)]){const _0x1792b4=this[_0x112e1c(0x1ee)](_0x204ff5[_0x112e1c(0x271)]);this[_0x112e1c(0x2d0)][_0x112e1c(0x23b)][_0x112e1c(0x2d7)]=-_0x1792b4[_0x112e1c(0x22b)],_0x1792b4[_0x112e1c(0x240)](_0x480f42=>{const _0x1df585=_0x112e1c;_0x480f42[_0x1df585(0x222)]-=_0x1792b4[_0x1df585(0x22b)],_0x480f42[_0x1df585(0x1fd)]=_0x204ff5[_0x1df585(0x22c)],_0x480f42[_0x1df585(0x1dd)]=!0x0,_0x480f42[_0x1df585(0x2aa)]=null;}),this[_0x112e1c(0x28b)](_0x1792b4,!0x0),this[_0x112e1c(0x219)][_0x112e1c(0x2d7)]=-_0x1792b4[_0x112e1c(0x22b)]+this[_0x112e1c(0x1e7)],this[_0x112e1c(0x252)](_0x1792b4);}this[_0x112e1c(0x2d0)][_0x112e1c(0x23b)][_0x112e1c(0x2d7)]=_0x3704da,_0x57f3ba=this[_0x112e1c(0x23c)](_0x204ff5[_0x112e1c(0x279)],_0x204ff5[_0x112e1c(0x296)]),await this[_0x112e1c(0x1ed)](_0x57f3ba),this[_0x112e1c(0x28b)](_0x57f3ba,_0x57edc8);}_0x204ff5[_0x112e1c(0x225)]&&(this[_0x112e1c(0x232)][_0x112e1c(0x255)](_0x57f3ba,_0x204ff5[_0x112e1c(0x225)]),this[_0x112e1c(0x2c8)]=_0x204ff5[_0x112e1c(0x225)]),this[_0x112e1c(0x219)][_0x112e1c(0x2d7)]=_0x3704da+this[_0x112e1c(0x1e7)],this[_0x112e1c(0x252)](_0x57f3ba),_0xd28426[_0x112e1c(0x206)](_0x363b0f=>{const _0x3de7cf=_0x112e1c,_0x52772c=this[_0x3de7cf(0x1e6)](_0x363b0f);return _0x52772c&&!this[_0x3de7cf(0x21e)][_0x3de7cf(0x223)](_0x52772c);})[_0x112e1c(0x240)]((_0x445108,_0x27a824)=>{const _0x4200bd=_0x112e1c;_0x445108[_0x4200bd(0x222)]=this[_0x4200bd(0x2d0)][_0x4200bd(0x2d7)]+_0x27a824,this[_0x4200bd(0x247)](_0x445108);}),this[_0x112e1c(0x207)]()?(this[_0x112e1c(0x23d)]=0x0,this[_0x112e1c(0x2ab)](!0x0),await this[_0x112e1c(0x236)]()):(this[_0x112e1c(0x29d)]=!0x1,this[_0x112e1c(0x2d9)]());}[_0x1ec44f(0x237)](_0x229c9d,_0x22aefb){const _0x5dc25a=_0x1ec44f,_0x2efd27=_0x22aefb&&_0x22aefb[_0x5dc25a(0x20c)];if(_0x2efd27&&_0x2efd27[_0x5dc25a(0x2c0)](_0x5dc25a(0x24d)))throw _0x22aefb;const _0x56c088=this[_0x5dc25a(0x20b)][_0x5dc25a(0x26d)][_0x5dc25a(0x2c9)](_0x3511c3);throw this[_0x5dc25a(0x29d)]=!0x0,_0x56c088[_0x5dc25a(0x20a)](),this[_0x5dc25a(0x20b)][_0x5dc25a(0x265)](_0x5dc25a(0x2b5)),new _0x454af8(_0x229c9d,this[_0x5dc25a(0x20b)],_0x2efd27?{'originalError':_0x2efd27}:void 0x0);}[_0x1ec44f(0x247)](_0x4c30df){const _0x34c008=_0x1ec44f;this[_0x34c008(0x21d)][_0x34c008(0x223)](_0x4c30df)||(this[_0x34c008(0x21d)][_0x34c008(0x1da)](_0x4c30df),this[_0x34c008(0x25a)][_0x34c008(0x1e3)](_0x4c30df),this[_0x34c008(0x1f4)]||_0x34c008(0x27f)==_0x4c30df[_0x34c008(0x243)]&&!_0x4c30df[_0x34c008(0x201)]||this[_0x34c008(0x213)]());}[_0x1ec44f(0x2ab)](_0x31b3fd=!0x1){const _0xf45c44=_0x1ec44f;!_0x31b3fd&&this[_0xf45c44(0x29d)]||(this[_0xf45c44(0x29d)]=!0x0,clearTimeout(this[_0xf45c44(0x24a)]),this[_0xf45c44(0x24a)]=setTimeout(()=>{const _0x3fe321=_0xf45c44;this[_0x3fe321(0x246)]()[_0x3fe321(0x29c)](_0x38f00d=>{const _0x547529=_0x3fe321;_0x38f00d&&(this[_0x547529(0x2d9)](),this[_0x547529(0x29d)]=!0x1);})[_0x3fe321(0x2cb)](_0x229117=>{const _0x3a15d0=_0x3fe321;this[_0x3a15d0(0x2d9)](),this[_0x3a15d0(0x29d)]=!0x1,function(_0x5dc40b){const _0x312944=_0x3a15d0;return _0x5dc40b[_0x312944(0x20c)][_0x312944(0x2c0)](_0x312944(0x268))||_0x5dc40b[_0x312944(0x20c)][_0x312944(0x2c0)](_0x312944(0x1ec))||_0x5dc40b[_0x312944(0x20c)][_0x312944(0x2c0)](_0x312944(0x2b0));}(_0x229117)||this[_0x3a15d0(0x237)](_0x229117[_0x3a15d0(0x20c)],_0x229117);});},this[_0xf45c44(0x23d)]));}[_0x1ec44f(0x236)](){return new Promise(_0x37db62=>{const _0x53bd47=_0x8480;this['on'](_0x53bd47(0x260),()=>{_0x37db62();});});}async[_0x1ec44f(0x246)](){const _0x5929a5=_0x1ec44f,_0x346e20=this[_0x5929a5(0x20b)][_0x5929a5(0x26d)][_0x5929a5(0x2c9)](_0xe885b3);if(this[_0x5929a5(0x1d9)]()&&(_0x346e20[_0x5929a5(0x293)](),this[_0x5929a5(0x2b1)]=!0x1),!this[_0x5929a5(0x207)]())return!0x0;const _0x4f02b6=[...this[_0x5929a5(0x25a)]];for(const _0x55d430 of _0x4f02b6)_0x55d430[_0x5929a5(0x229)]=this[_0x5929a5(0x2d0)][_0x5929a5(0x23b)][_0x5929a5(0x2a2)](_0x55d430);const _0xe5e526=this[_0x5929a5(0x232)][_0x5929a5(0x2d4)](_0x4f02b6),_0x324528=q++,_0x1f1142=this[_0x5929a5(0x209)](_0x4f02b6),_0x2bfa3e=await this[_0x5929a5(0x1fc)][_0x5929a5(0x287)](_0x1f1142,_0x1f1142[_0x5929a5(0x222)],_0xe5e526);try{return await this[_0x5929a5(0x28e)](_0x4f02b6,_0x2bfa3e,_0x324528);}catch(_0x4dd780){return this[_0x5929a5(0x237)](_0x5929a5(0x2bc),_0x4dd780);}}async[_0x1ec44f(0x28e)](_0x17853d,_0x309271,_0x14ecf2){const _0x1b5f41=_0x1ec44f;if(_0x1b5f41(0x1e4)in _0x309271)throw _0x309271[_0x1b5f41(0x1e4)];let _0x32018d=!0x1;if(_0x309271[_0x1b5f41(0x205)]){_0x309271[_0x1b5f41(0x225)]&&(this[_0x1b5f41(0x2c8)]=_0x309271[_0x1b5f41(0x225)]),this[_0x1b5f41(0x25a)]=this[_0x1b5f41(0x25a)][_0x1b5f41(0x206)](_0x491d8f=>!_0x17853d[_0x1b5f41(0x1ff)](_0x491d8f));for(const _0x203a51 of _0x17853d)_0x203a51[_0x1b5f41(0x1fd)]=_0x1b5f41(0x288)in _0x309271&&_0x309271[_0x1b5f41(0x288)]||void 0x0;$(_0x17853d,_0x309271[_0x1b5f41(0x2d7)]-_0x17853d[_0x1b5f41(0x22b)]),this[_0x1b5f41(0x252)](_0x17853d);const _0x217a96=_0x17853d[_0x1b5f41(0x206)](_0xe86640=>{const _0x3f457b=_0x1b5f41;if(!_0xe86640[_0x3f457b(0x1dd)])return!0x1;const _0x5c5977=this[_0x3f457b(0x1e6)](_0xe86640);return _0x5c5977&&!this[_0x3f457b(0x21e)][_0x3f457b(0x223)](_0x5c5977);});$(_0x217a96,this[_0x1b5f41(0x2d0)][_0x1b5f41(0x2d7)]),this[_0x1b5f41(0x28b)](_0x217a96),_0x32018d=!0x0,this[_0x1b5f41(0x23d)]=this[_0x1b5f41(0x22a)];}else{const _0x4c2a3e=this[_0x1b5f41(0x23c)](_0x309271[_0x1b5f41(0x279)],_0x309271[_0x1b5f41(0x296)])[_0x1b5f41(0x206)](_0x5021b1=>_0x5021b1[_0x1b5f41(0x222)]>=this[_0x1b5f41(0x25b)]);_0x4c2a3e[_0x1b5f41(0x240)](_0x52d2b6=>this[_0x1b5f41(0x21b)](_0x52d2b6)),this[_0x1b5f41(0x25a)]=this[_0x1b5f41(0x25a)][_0x1b5f41(0x206)](_0x590d76=>!_0x590d76[_0x1b5f41(0x1dd)]||!this[_0x1b5f41(0x21e)][_0x1b5f41(0x223)](this[_0x1b5f41(0x1e6)](_0x590d76))),this[_0x1b5f41(0x25a)][_0x1b5f41(0x22b)]&&$(this[_0x1b5f41(0x25a)],this[_0x1b5f41(0x25a)][0x0][_0x1b5f41(0x222)]),await this[_0x1b5f41(0x1ed)](_0x4c2a3e),_0x32018d=this[_0x1b5f41(0x2b7)](_0x4c2a3e,_0x309271[_0x1b5f41(0x2d7)],_0x309271[_0x1b5f41(0x225)]),this[_0x1b5f41(0x23d)]=Math[_0x1b5f41(0x1eb)](this[_0x1b5f41(0x23d)]/0x2);}return _0x32018d?!this[_0x1b5f41(0x207)]()||(this[_0x1b5f41(0x2ab)](!0x0),!0x1):this[_0x1b5f41(0x237)](_0x1b5f41(0x28a));}[_0x1ec44f(0x2b7)](_0x3769c6,_0x4e0b67,_0x41866e){const _0x4f97d6=_0x1ec44f;try{const _0xfeb10e={'document':this[_0x4f97d6(0x2d0)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x74baea,operationsB:_0x350aac,originalOperations:_0x39bbd3}=_0x57b2e1(_0x3769c6,this[_0x4f97d6(0x25a)],_0xfeb10e);$(_0x74baea,this[_0x4f97d6(0x2d0)][_0x4f97d6(0x2d7)]),$(_0x350aac,_0x4e0b67);for(const _0x1c94f2 of _0x74baea){const _0x18f748=_0x39bbd3[_0x4f97d6(0x2c9)](_0x1c94f2);_0x1c94f2[_0x4f97d6(0x2aa)]=_0x18f748?_0x18f748[_0x4f97d6(0x2aa)]:null;}_0x41866e&&(this[_0x4f97d6(0x232)][_0x4f97d6(0x255)](_0x3769c6,_0x41866e),this[_0x4f97d6(0x2c8)]=_0x41866e),this[_0x4f97d6(0x25a)]=[..._0x350aac],this[_0x4f97d6(0x28b)](_0x74baea),this[_0x4f97d6(0x252)](_0x3769c6);}catch(_0x103723){return console[_0x4f97d6(0x1e4)](_0x103723),!0x1;}return!0x0;}[_0x1ec44f(0x28b)](_0x3e9fa3,_0x24e231=!0x1){const _0x3141ed=_0x1ec44f;this[_0x3141ed(0x20b)][_0x3141ed(0x215)][_0x3141ed(0x272)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5b2661=>{const _0xc71c07=_0x3141ed;for(const _0x4771c2 of _0x3e9fa3)this[_0xc71c07(0x21d)][_0xc71c07(0x1da)](_0x4771c2),this[_0xc71c07(0x21b)](_0x4771c2),_0x5b2661[_0xc71c07(0x220)][_0xc71c07(0x202)](_0x4771c2),this[_0xc71c07(0x20b)][_0xc71c07(0x215)][_0xc71c07(0x1e9)](_0x4771c2);});}[_0x1ec44f(0x21b)](_0x123b65){const _0x4d23fd=_0x1ec44f,_0x1c5e10=this[_0x4d23fd(0x1e6)](_0x123b65);_0x1c5e10&&this[_0x4d23fd(0x21e)][_0x4d23fd(0x1da)](_0x1c5e10);}[_0x1ec44f(0x1e6)](_0x30ed5f){const _0x23fcc9=_0x1ec44f;let _0x1d8bec,_0x3bb339;switch(_0x30ed5f[_0x23fcc9(0x243)]){case _0x23fcc9(0x283):_0x1d8bec=_0x30ed5f[_0x23fcc9(0x217)][_0x23fcc9(0x270)];break;case _0x23fcc9(0x27f):if(_0x3bb339=_0x30ed5f[_0x23fcc9(0x1f2)],!_0x3bb339)return null;_0x1d8bec=_0x3bb339[_0x23fcc9(0x270)];break;case _0x23fcc9(0x21a):_0x1d8bec=_0x30ed5f[_0x23fcc9(0x270)];break;case _0x23fcc9(0x2b4):_0x1d8bec=_0x30ed5f[_0x23fcc9(0x2a9)];break;case _0x23fcc9(0x2d6):_0x1d8bec=_0x30ed5f[_0x23fcc9(0x2c3)][_0x23fcc9(0x270)];break;default:return null;}return _0x1d8bec[_0x23fcc9(0x241)];}[_0x1ec44f(0x252)](_0x194a35){const _0x14062a=_0x1ec44f;_0x194a35[_0x14062a(0x240)](_0x3abfde=>{const _0x5775db=_0x14062a,_0x5bf0c3=_0x3abfde[_0x5775db(0x264)]();_0x5bf0c3[_0x5775db(0x2aa)]=_0x3abfde[_0x5775db(0x2aa)],_0x5bf0c3[_0x5775db(0x1dd)]=!!_0x3abfde[_0x5775db(0x1dd)],_0x5bf0c3[_0x5775db(0x1fd)]=_0x3abfde[_0x5775db(0x1fd)],_0x5bf0c3[_0x5775db(0x222)]+=this[_0x5775db(0x1e7)],_0x3abfde[_0x5775db(0x24e)]&&this[_0x5775db(0x29f)][_0x5775db(0x1da)](_0x5bf0c3),this[_0x5775db(0x219)][_0x5775db(0x202)](_0x5bf0c3);});}[_0x1ec44f(0x299)](_0x5b1b62){const _0x2187a3=_0x1ec44f,_0x48326a=this[_0x2187a3(0x20b)][_0x2187a3(0x26d)][_0x2187a3(0x2c9)](_0x2187a3(0x233)),_0x41cf39=this[_0x2187a3(0x20b)][_0x2187a3(0x278)];_0x5b1b62||(_0x5b1b62=_0x5545a9(_0x41cf39,_0x2187a3(0x273))),_0x48326a[_0x2187a3(0x2cf)](_0x5b1b62,{'title':_0x5545a9(_0x41cf39,_0x2187a3(0x2a3)),'namespace':_0x2187a3(0x1f7)}),this[_0x2187a3(0x211)]=!0x0,clearTimeout(this[_0x2187a3(0x24a)]),this[_0x2187a3(0x25a)]=[],this[_0x2187a3(0x20b)][_0x2187a3(0x26d)][_0x2187a3(0x2c9)](_0x3511c3)[_0x2187a3(0x20a)]();}[_0x1ec44f(0x213)](){const _0x4bc494=_0x1ec44f;this[_0x4bc494(0x1f4)]||(this[_0x4bc494(0x1f4)]=this[_0x4bc494(0x20b)][_0x4bc494(0x26d)][_0x4bc494(0x2c9)](_0x335996)[_0x4bc494(0x1da)](_0x5545a9(this[_0x4bc494(0x20b)][_0x4bc494(0x278)],_0x4bc494(0x1fb))));}[_0x1ec44f(0x2d9)](){const _0x55286d=_0x1ec44f;this[_0x55286d(0x1f4)]&&(this[_0x55286d(0x20b)][_0x55286d(0x26d)][_0x55286d(0x2c9)](_0x335996)[_0x55286d(0x289)](this[_0x55286d(0x1f4)]),this[_0x55286d(0x1f4)]=null);}[_0x1ec44f(0x209)](_0x598d70){const _0x580eb9=_0x1ec44f,_0x171f58=_0x598d70[_0x580eb9(0x21f)](_0xf9b93e=>_0xf9b93e[_0x580eb9(0x292)]());return this[_0x580eb9(0x23f)][_0x580eb9(0x2b9)](_0x171f58);}[_0x1ec44f(0x23c)](_0x2b93c6,_0x521e78){const _0x2171ad=_0x1ec44f;return this[_0x2171ad(0x23f)][_0x2171ad(0x28d)](_0x2b93c6)[_0x2171ad(0x21f)]((_0xd9ff3a,_0x1a4ec9)=>{const _0x2bb232=_0x2171ad,_0x3a6511=_0x2bb232(0x235)==_0x521e78[_0x1a4ec9][_0x2bb232(0x243)];if(_0x2bb232(0x2cd)==_0xd9ff3a[_0x2bb232(0x259)]){const _0x296c0f=_0xd9ff3a[_0x2bb232(0x217)][_0x2bb232(0x270)];!this[_0x2bb232(0x2d0)][_0x2bb232(0x230)](_0x296c0f)&&(this[_0x2bb232(0x2d0)][_0x2bb232(0x1e1)](_0x2bb232(0x221),_0x296c0f)[_0x2bb232(0x26c)]=!0x1);}const _0x31d427=_0x18e4d8[_0x2bb232(0x1e5)](_0xd9ff3a,this[_0x2bb232(0x2d0)]);return _0x31d427[_0x2bb232(0x229)]=_0xd9ff3a[_0x2bb232(0x229)],_0x31d427[_0x2bb232(0x1dd)]=_0x3a6511,_0x31d427[_0x2bb232(0x2aa)]=_0x3a6511?null:_0x521e78[_0x1a4ec9][_0x2bb232(0x2a6)],_0x31d427[_0x2bb232(0x24e)]=_0x2bb232(0x2b6)===_0x521e78[_0x1a4ec9][_0x2bb232(0x243)],_0x31d427[_0x2bb232(0x1fd)]=_0x521e78[_0x1a4ec9][_0x2bb232(0x1fd)],_0x31d427;});}[_0x1ec44f(0x1d6)](){const _0x1db23b=_0x1ec44f;this[_0x1db23b(0x2b1)]=!0x0,this[_0x1db23b(0x1d9)]()?this[_0x1db23b(0x2ab)]():this[_0x1db23b(0x2b1)]=!0x1;}[_0x1ec44f(0x1d9)](){const _0x559dbb=_0x1ec44f,_0x232ee3=this[_0x559dbb(0x20b)][_0x559dbb(0x26d)][_0x559dbb(0x2c9)](_0x59f71b)[_0x559dbb(0x250)][_0x559dbb(0x2c9)](this[_0x559dbb(0x2a4)]);return!this[_0x559dbb(0x20b)][_0x559dbb(0x2af)]&&!!_0x232ee3&&_0x232ee3[_0x559dbb(0x22b)]>0x1&&this[_0x559dbb(0x2b1)];}[_0x1ec44f(0x207)](){const _0x23b55e=_0x1ec44f;return this[_0x23b55e(0x25a)][_0x23b55e(0x22b)]>0x0||this[_0x23b55e(0x1d9)]();}}export{l as RealTimeCollaborationClient};function _0x4c86(){const _0x56c216=['offset','includes','currentDocumentSession','affectsData','addOperation','setPermissions','mySessionId','wereChangesApplied','filter','_shouldSendUpdate','reset','_compressOperations','disconnect','editor','message','roots','differ','_loadRoot','_handleSendingSelectionMarkers','_hasSynchronizationProblem','pluginName','_setPendingAction','addToReconnectionStack','model','3472056sYoJZJ','position','connected','serverHistory','addRootAttribute','_addKnownRoot','removeFromReconnectionStack','_knownOperations','_knownRootNames','map','batch','$root','baseVersion','has','document','lastOperationId','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','define','getOperations','wasUndone','_baseBufferDelay','length','sessionCreatedAt','_bufferRootLoad','CollaborativeEditingService','finally','getRoot','collaboration','_operationIdentifier','Notification','stopListening','init','_waitUntilSynced','_crash','_initSessionsHandling','isDocumentOperation','sessionAdd:','history','_decompressOperations','_currentBufferDelay','permissions','_compressor','forEach','rootName','_connectAfterSessionHasBeenFlushed','type','createPositionFromPath','slice','_sendBufferedOperations','_saveOperationInBuffer','change:hasDomSelection','realtimecollaborationclient-init-connection-failed','_sendBufferedOperationsDelayId','lastDocumentSession','off','realtimecollaborationclient','_isDisconnection','475920RYkiNx','channelSessions','realtimecollaborationclient-init-non-existent-root','_updateServerHistory','_initThrowingOnDataSet','RealTimeCollaborationClient','setIdForTheLastOperation','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.','stop','view','__className','_bufferedOperations','_lastServerVersion','document:write','_handleReceivedOperations','reconnection:\x20flushed\x20session','directChange','change:_isPendingUpdate','reconnect','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','addUser','clone','enableReadOnlyMode','multi-root-editor-root-attributes-no-root','_handleInitialConnectionData','cloud-services-internal-error:\x20Not\x20connected.','code','change:range','cloudDocumentVersion','_isAttached','plugins','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','collaboration-missing-channelid','root','initData','enqueueChange','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.','end','ready','isPremiumPlugin','realtimecollaborationclient-init-service-internal-error','locale','data','apply','connect','realtimecollaborationclient-init-service-incorrect-server-operation','suppressErrorInCollaboration','CommentsOnly','marker','disconnected','getConnectedSessions','bind','insert','_connectService','size','6702DZYrVX','sendOperations','lastOperationAcceptedAt','remove','realtimecollaborationclient-handleserverresponse','_applyOperationsSet','listenTo','decompress','_handleServerResponse','_isConnected','register','_handleReconnectionResponse','toJSON','createUserMarkerOperations','5720976VVqPka','realtimecollaborationclient-init-document-already-initialized','metadata','404','loadRoot','_handleReconnectionError','parse','selection','then','_isPendingUpdate','6dSaIvb','_disconnectionOperations','_isEditingAllowed','669qaUQoL','isUndoneOperation','Synchronization\x20issue','_channelId','rtc-destroyed','userId','_ignoredOperations','createPositionAt','affectedSelectable','_authorId','_sendBufferedOperationsDelayed','5533902UvKVRB','entries','409','isReadOnly','cloud-services-internal-error:\x20Request\x20timeout.','_hasSelectionChanged','requires','Permissions','addRoot','realtimecollaborationclient-error','cs:removeUser','_handleExternalOperations','rtc-offline','compress','unregister','getMany','realtimecollaborationclient-sendbufferedoperations','operationsReceived','isEnabled','isOfficialPlugin','startsWith','editing','disableReadOnlyMode','targetPosition','cloudServices.bundleVersion','sessionId','change:_isEditingAllowed','return','_lastSyncedOperationId','get','markers','catch','connection','InsertOperation','attributes','showWarning','_document','string','start','getDocumentDetails','getIdOfTheLastOperation','high','move','version','set','_clearPendingAction','from','_refreshUserSelectionMarkers','config','_disconnectService','_shouldSendSelectionUpdate','add','keys','_isLoaded','_isInit','destroy','rootsAttributes','getUser','createRoot','lastSyncVersion','push','error','fromJSON','_getAffectedRoot','_offset','getOperationAuthor','applyOperation','createRange','round','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_fetchMissingUsers','_getOperationsFromInitData','state','path','_setUpDataInit','newRange','fire','_pendingAction','172405UoOUii','2103017mDpzBJ','real-time-collaboration','collaboration.channelId','_operationToId','realtimecollaborationclient-init-session-connection-error','PENDING_ACTION_SENDING_DATA','_service','createdAt'];_0x4c86=function(){return _0x56c216;};return _0x4c86();}class G extends Error{}function $(_0x83824c,_0x5519fd){const _0x29a170=_0x1ec44f;for(const _0x5a37b6 of _0x83824c)_0x5a37b6[_0x29a170(0x222)]=_0x5519fd++;}class K{[_0x1ec44f(0x2a7)];[_0x1ec44f(0x1f9)];constructor(_0x1dcb09){const _0xce57ca=_0x1ec44f;this[_0xce57ca(0x2a7)]=_0x1dcb09,this[_0xce57ca(0x1f9)]=new WeakMap();}[_0x1ec44f(0x2d4)](_0x38d1af){const _0x4d53c8=_0x1ec44f;let _0x5ba68f=_0x38d1af[_0x4d53c8(0x22b)];for(;_0x5ba68f--;){const _0x52de48=_0x38d1af[_0x5ba68f];if(!this[_0x4d53c8(0x2a7)][_0x4d53c8(0x223)](_0x52de48)){if(!this[_0x4d53c8(0x1f9)][_0x4d53c8(0x223)](_0x52de48)){const _0x17f828=_0x5eccf6()[_0x4d53c8(0x245)](0x1,0x12);this[_0x4d53c8(0x1f9)][_0x4d53c8(0x2d8)](_0x52de48,_0x17f828);}return this[_0x4d53c8(0x1f9)][_0x4d53c8(0x2c9)](_0x52de48);}}}[_0x1ec44f(0x255)](_0x3a2e2d,_0x385a18){const _0x1f1c95=_0x1ec44f;if(!_0x385a18)return;let _0x56f69f=_0x3a2e2d[_0x1f1c95(0x22b)];for(;_0x56f69f--;){const _0x14f984=_0x3a2e2d[_0x56f69f];this[_0x1f1c95(0x2a7)][_0x1f1c95(0x223)](_0x14f984)||this[_0x1f1c95(0x1f9)][_0x1f1c95(0x2d8)](_0x14f984,_0x385a18);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3178(){const _0x1a3c0f=['channelSessions','context','state','isPremiumPlugin','listenTo','allConnectedUsers','_createUser','2PTJzHL','unregister','connected','forEach','change:state','add','orderNumber','hiddenInPresenceList','_registeredSessions','sessionId','role','isMe','pluginName','clear','232okxJuj','20MLdRir','sessions-unregister-not-exist','sessionAdd:','stopListening','_uniqueUsersCount','values','4490046eYHsPV','get','addUser','_handleSessionRemove','694866BDzGZu','has','plugins','242773xUAgtS','Sessions','remove','assign','getUserRole','isOfficialPlugin','set','user','fire','sessions-register-already-registered','326080ySAQqV','channelConnectedUsers','2054724GPbXaY','size','requires','defineMe','register','connection','_users','init','delete','getUserBySessionId','1245MvNadG','_handleSessionAdd','getUser','4574330DlbZnd','mySessionId','getUserSessions'];_0x3178=function(){return _0x1a3c0f;};return _0x3178();}const _0x1c44b4=_0x59b4;(function(_0x26c260,_0x40bad5){const _0x25d868=_0x59b4,_0xfc3a21=_0x26c260();while(!![]){try{const _0x5e9a2e=parseInt(_0x25d868(0x88))/0x1*(parseInt(_0x25d868(0xab))/0x2)+-parseInt(_0x25d868(0x9e))/0x3*(-parseInt(_0x25d868(0x7a))/0x4)+-parseInt(_0x25d868(0x7b))/0x5*(parseInt(_0x25d868(0x85))/0x6)+-parseInt(_0x25d868(0x94))/0x7+-parseInt(_0x25d868(0x92))/0x8+parseInt(_0x25d868(0x81))/0x9+parseInt(_0x25d868(0xa1))/0xa;if(_0x5e9a2e===_0x40bad5)break;else _0xfc3a21['push'](_0xfc3a21['shift']());}catch(_0x11502e){_0xfc3a21['push'](_0xfc3a21['shift']());}}}(_0x3178,0x67ea2));function _0x59b4(_0x48ebfc,_0x22c48c){const _0x3178f0=_0x3178();return _0x59b4=function(_0x59b41a,_0x1df8b9){_0x59b41a=_0x59b41a-0x79;let _0x16db18=_0x3178f0[_0x59b41a];return _0x16db18;},_0x59b4(_0x48ebfc,_0x22c48c);}import{ContextPlugin as _0x12e7f5}from'ckeditor5/src/core.js';import{Collection as _0x550342,CKEditorError as _0x47088f}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x3a0655}from'./websocketgateway.js';import{Users as _0x3d30c0}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x12e7f5{[_0x1c44b4(0xa4)];[_0x1c44b4(0x93)];[_0x1c44b4(0xa9)];[_0x1c44b4(0xb3)];[_0x1c44b4(0x7f)];[_0x1c44b4(0x9a)];static get[_0x1c44b4(0xb7)](){const _0x33d35b=_0x1c44b4;return _0x33d35b(0x89);}static get[_0x1c44b4(0x8d)](){return!0x0;}static get[_0x1c44b4(0xa7)](){return!0x0;}static get[_0x1c44b4(0x96)](){return[_0x3a0655,_0x3d30c0];}constructor(_0x1842dd){const _0xa9c010=_0x1c44b4;super(_0x1842dd),this[_0xa9c010(0xa4)]=new Map(),this[_0xa9c010(0x93)]=new Map(),this[_0xa9c010(0xa9)]=new _0x550342(),this[_0xa9c010(0xb3)]=new Map(),this[_0xa9c010(0x7f)]=0x0,this[_0xa9c010(0x9a)]=this[_0xa9c010(0xa5)][_0xa9c010(0x87)][_0xa9c010(0x82)](_0x3d30c0);}[_0x1c44b4(0x9b)](){const _0x2a7950=_0x1c44b4,_0x4abfa0=this[_0x2a7950(0xa5)][_0x2a7950(0x87)][_0x2a7950(0x82)](_0x3a0655);this[_0x2a7950(0xa8)](_0x4abfa0,_0x2a7950(0xaf),(_0x209fb6,_0xb6de8b,_0x4cb053)=>{const _0x1201ca=_0x2a7950;if(_0x1201ca(0xad)!==_0x4cb053)this[_0x1201ca(0xa4)][_0x1201ca(0xae)](_0x399fa9=>_0x399fa9[_0x1201ca(0x79)]()),this[_0x1201ca(0x93)][_0x1201ca(0xae)](_0x59be98=>_0x59be98[_0x1201ca(0x79)]()),this[_0x1201ca(0xa9)][_0x1201ca(0x79)]();else{for(const [_0x8e9361,_0x24633c]of this[_0x1201ca(0xb3)])for(const _0x5c5bcb of _0x24633c)this[_0x1201ca(0x9f)](_0x8e9361,_0x5c5bcb);}}),this[_0x2a7950(0xaa)](_0x4abfa0[_0x2a7950(0x99)]['me'],!0x0);}[_0x1c44b4(0x98)](_0x4929ed,_0x20d415){const _0x3766e3=_0x1c44b4;if(this[_0x3766e3(0xb3)][_0x3766e3(0x86)](_0x4929ed))throw new _0x47088f(_0x3766e3(0x91),null,{'channelId':_0x4929ed});this[_0x3766e3(0xb3)][_0x3766e3(0x8e)](_0x4929ed,_0x20d415),this[_0x3766e3(0xa4)][_0x3766e3(0x8e)](_0x4929ed,new _0x550342()),this[_0x3766e3(0x93)][_0x3766e3(0x8e)](_0x4929ed,new _0x550342()),this[_0x3766e3(0xa8)](_0x20d415,_0x3766e3(0xb0),(_0x273bec,_0x531b86)=>this[_0x3766e3(0x9f)](_0x4929ed,_0x531b86)),this[_0x3766e3(0xa8)](_0x20d415,_0x3766e3(0x8a),(_0x5b210b,_0xceacbc)=>this[_0x3766e3(0x84)](_0x4929ed,_0xceacbc));for(const _0x51c83f of _0x20d415)this[_0x3766e3(0x9f)](_0x4929ed,_0x51c83f);}[_0x1c44b4(0xac)](_0x4cdfd5){const _0x43d0b1=_0x1c44b4;if(!this[_0x43d0b1(0xb3)][_0x43d0b1(0x86)](_0x4cdfd5))throw new _0x47088f(_0x43d0b1(0x7c),null,{'channelId':_0x4cdfd5});const _0x2a6b00=this[_0x43d0b1(0xb3)][_0x43d0b1(0x82)](_0x4cdfd5);this[_0x43d0b1(0x7e)](_0x2a6b00);for(const _0x2e9673 of _0x2a6b00)_0x43d0b1(0xad)===this[_0x43d0b1(0xa5)][_0x43d0b1(0x87)][_0x43d0b1(0x82)](_0x3a0655)[_0x43d0b1(0xa6)]&&this[_0x43d0b1(0x84)](_0x4cdfd5,_0x2e9673);this[_0x43d0b1(0xb3)][_0x43d0b1(0x9c)](_0x4cdfd5),this[_0x43d0b1(0xa4)][_0x43d0b1(0x9c)](_0x4cdfd5),this[_0x43d0b1(0x93)][_0x43d0b1(0x9c)](_0x4cdfd5);}get[_0x1c44b4(0xa2)](){const _0xf78f9f=_0x1c44b4;return this[_0xf78f9f(0xa5)][_0xf78f9f(0x87)][_0xf78f9f(0x82)](_0x3a0655)[_0xf78f9f(0x99)][_0xf78f9f(0xb4)];}[_0x1c44b4(0x9d)](_0x4444b8){const _0x2a099b=_0x1c44b4;for(const _0x45012d of this[_0x2a099b(0xa4)][_0x2a099b(0x80)]())for(const _0x31788b of _0x45012d)if(_0x31788b['id']===_0x4444b8)return _0x31788b[_0x2a099b(0x8f)];}[_0x1c44b4(0xa3)](_0x35b8f1,_0x2c1ce3){const _0x4a243c=_0x1c44b4,_0x361852=_0x2c1ce3?[this[_0x4a243c(0xa4)][_0x4a243c(0x82)](_0x2c1ce3)]:this[_0x4a243c(0xa4)][_0x4a243c(0x80)](),_0x3a0b2a=new Set();for(const _0x4c524b of _0x361852)for(const _0x20c1cc of _0x4c524b)_0x20c1cc[_0x4a243c(0x8f)]['id']===_0x35b8f1['id']&&_0x3a0b2a[_0x4a243c(0xb0)](_0x20c1cc['id']);return _0x3a0b2a;}[_0x1c44b4(0x8c)](_0x302dd8){const _0x510f7c=_0x1c44b4;for(const _0x5e1182 of this[_0x510f7c(0xa4)][_0x510f7c(0x80)]())for(const _0x11b7c0 of _0x5e1182)if(_0x11b7c0[_0x510f7c(0x8f)]===_0x302dd8)return _0x11b7c0[_0x510f7c(0xb5)];}[_0x1c44b4(0x9f)](_0x8c26b,_0x3a2480){const _0xa98e6f=_0x1c44b4;if(_0xa98e6f(0xad)!==this[_0xa98e6f(0xa5)][_0xa98e6f(0x87)][_0xa98e6f(0x82)](_0x3a0655)[_0xa98e6f(0xa6)])return;const _0x4227af=_0x3a2480[_0xa98e6f(0x8f)],_0x3180ce=this[_0xa98e6f(0x9a)][_0xa98e6f(0xa0)](_0x4227af['id'])||this[_0xa98e6f(0xaa)](_0x4227af),_0x4b49f5=Object[_0xa98e6f(0x8b)]({},_0x3a2480,{'user':_0x3180ce});if(this[_0xa98e6f(0xa4)][_0xa98e6f(0x82)](_0x8c26b)[_0xa98e6f(0xb0)](_0x4b49f5),!_0x4227af[_0xa98e6f(0xb2)]){const _0x36e891=this[_0xa98e6f(0x93)][_0xa98e6f(0x82)](_0x8c26b);_0x36e891[_0xa98e6f(0x86)](_0x3180ce['id'])||_0x36e891[_0xa98e6f(0xb0)](_0x3180ce),this[_0xa98e6f(0xa9)][_0xa98e6f(0x86)](_0x3180ce['id'])||_0x4227af[_0xa98e6f(0xb2)]||this[_0xa98e6f(0xa9)][_0xa98e6f(0xb0)](_0x3180ce,_0x3180ce[_0xa98e6f(0xb6)]?0x0:void 0x0);}this[_0xa98e6f(0x90)](_0xa98e6f(0x7d)+_0x8c26b,{'channelId':_0x8c26b,'session':_0x4b49f5});}[_0x1c44b4(0x84)](_0x56571c,_0x1a7397){const _0x643303=_0x1c44b4;if(_0x643303(0xad)!==this[_0x643303(0xa5)][_0x643303(0x87)][_0x643303(0x82)](_0x3a0655)[_0x643303(0xa6)])return;const _0x5d7ae7=this[_0x643303(0x93)][_0x643303(0x82)](_0x56571c),_0x1e11b6=_0x1a7397[_0x643303(0x8f)];_0x1e11b6['id']&&(this[_0x643303(0xa4)][_0x643303(0x82)](_0x56571c)[_0x643303(0x8a)](_0x1a7397['id']),_0x5d7ae7[_0x643303(0x86)](_0x1e11b6['id'])&&!this[_0x643303(0xa3)](_0x1e11b6,_0x56571c)[_0x643303(0x95)]&&_0x5d7ae7[_0x643303(0x8a)](_0x1e11b6['id']),this[_0x643303(0xa9)][_0x643303(0x82)](_0x1e11b6['id'])&&!this[_0x643303(0xa3)](_0x1e11b6)[_0x643303(0x95)]&&this[_0x643303(0xa9)][_0x643303(0x8a)](_0x1e11b6['id']));}[_0x1c44b4(0xaa)](_0x3f867a,_0x1b0fc1){const _0x760b8f=_0x1c44b4,_0x17fa5f=this[_0x760b8f(0x9a)][_0x760b8f(0x83)](_0x3f867a);return _0x1b0fc1&&this[_0x760b8f(0x9a)][_0x760b8f(0x97)](_0x3f867a['id']),_0x17fa5f[_0x760b8f(0xb1)]=this[_0x760b8f(0x7f)]++,_0x17fa5f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x41045c=_0x5615;(function(_0x490164,_0x329e38){const _0x1ef2e0=_0x5615,_0x6a3379=_0x490164();while(!![]){try{const _0x58babf=parseInt(_0x1ef2e0(0x107))/0x1*(parseInt(_0x1ef2e0(0x175))/0x2)+-parseInt(_0x1ef2e0(0x13a))/0x3*(-parseInt(_0x1ef2e0(0x135))/0x4)+-parseInt(_0x1ef2e0(0x146))/0x5*(-parseInt(_0x1ef2e0(0xfc))/0x6)+parseInt(_0x1ef2e0(0x162))/0x7+-parseInt(_0x1ef2e0(0x147))/0x8+-parseInt(_0x1ef2e0(0x150))/0x9+-parseInt(_0x1ef2e0(0x102))/0xa;if(_0x58babf===_0x329e38)break;else _0x6a3379['push'](_0x6a3379['shift']());}catch(_0x4ae49e){_0x6a3379['push'](_0x6a3379['shift']());}}}(_0x926b,0xa6f99));function _0x926b(){const _0x2695f5=['hasDomSelection','model','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','addMarker','createElement','color','ck-user__selection','highest','5274143zeilDJ','updateMarker','name','change:range','getCustomProperty','isInline','init','user:position','user:','isPremiumPlugin','userPositionMarker','textContent','Escape','createUserMarkerOperations','getUserBySessionId','for','fromRange','ck-user__marker\x20','marker','2IyjyPM','isDocumentOperation','afterInit','outerHTML','getPositions','selection','createRange','requires','UserMarkers','pluginName','user:range','rootName','markerNameToElements','mouseleave','oldRange','toRange','user:position:','contenteditable','30wijniJ','enqueueChange','getRange','user:range:','getContainedElement','editing','6720220lOaFVS','parent','commands','addEventListener','markerToHighlight','957826ninwpT','view','isOfficialPlugin','render','has','ck-user__marker_hovered','isObject','getNearestSelectionRange','split','element','markerName','detach','editingDowncast','keydown','getFirstRange','orderNumber','batch','nodeAfter','plugins','set','_createdBatches','removeMarker','document','schema','editor','isLimit','mapper','markerRange','mySessionId','classList','tableCell','toDomElement','startsWith','checkChild','type','conversion','end','getSelectionClass','false','destroy','mouseenter','span','reconvertMarker','markerToElement','listenTo','spellcheck','196ZMrAKb','add','innerHTML','_domEmitter','isSimilar','20247oGOjGJ','setCustomProperty','remove','deletionPosition','getMarkerClass','getStart','hasContent','undo','newRange','data-session-id','getAttribute','change','736765lrkoYk','2466792OoJZVj','$text','stopListening','size','isCollapsed','get','removeClass','$graveyard','root','10029969GDDaVE','createUIElement','start','setAttribute','ck-user__marker-tooltip','update:user:range','applyOperation','delete','markers','clear'];_0x926b=function(){return _0x2695f5;};return _0x926b();}import{Plugin as _0x30d2dc}from'ckeditor5/src/core.js';function _0x5615(_0x2d1492,_0xd89d5a){const _0x926b05=_0x926b();return _0x5615=function(_0x561598,_0x1b6de9){_0x561598=_0x561598-0xf6;let _0x1d578b=_0x926b05[_0x561598];return _0x1d578b;},_0x5615(_0x2d1492,_0xd89d5a);}import{global as _0x40f9bf,DomEmitterMixin as _0x162eb1}from'ckeditor5/src/utils.js';import{Sessions as _0x5bb0f6}from'./sessions.js';import{ModelLiveRange as _0x5db343}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x30d2dc{[_0x41045c(0x138)]=new(_0x162eb1())();static get[_0x41045c(0x17c)](){return[_0x5bb0f6];}static get[_0x41045c(0x17e)](){const _0x8f4915=_0x41045c;return _0x8f4915(0x17d);}static get[_0x41045c(0x109)](){return!0x0;}static get[_0x41045c(0x16b)](){return!0x0;}[_0x41045c(0x168)](){const _0x502dfb=_0x41045c,_0xa82cff=this[_0x502dfb(0x11f)],_0x5170bd=_0xa82cff[_0x502dfb(0x119)][_0x502dfb(0x14c)](_0x5bb0f6);_0xa82cff[_0x502dfb(0x12a)][_0x502dfb(0x171)](_0x502dfb(0x113))[_0x502dfb(0x132)]({'model':_0x502dfb(0x169),'view':(_0x5cbc27,{writer:_0x567419})=>function(_0x3f7f9f,_0x3a6aa8,_0x57c642,_0x2c37ed){const _0x4286cb=_0x502dfb,_0x2ff89b=_0x3f7f9f[_0x4286cb(0x111)][_0x4286cb(0x10f)](':')[0x2],_0x84c864=_0x57c642[_0x4286cb(0x170)](_0x2ff89b);if(!_0x84c864||_0x2ff89b===_0x57c642[_0x4286cb(0x123)])return;if(!_0x2c37ed[_0x4286cb(0x15b)][_0x4286cb(0x11e)][_0x4286cb(0x128)](_0x3f7f9f[_0x4286cb(0x122)][_0x4286cb(0x152)],_0x4286cb(0x148)))return;const _0x15c062={'class':_0x4286cb(0x173)+_0x84c864[_0x4286cb(0x15f)][_0x4286cb(0x13e)](),'data-name':_0x84c864[_0x4286cb(0x164)],'data-session-id':_0x2ff89b},_0x3279af=_0x2c37ed[_0x4286cb(0x15b)][_0x4286cb(0x158)][_0x4286cb(0x14c)](_0x3f7f9f[_0x4286cb(0x111)]),_0x318272=_0x3279af[_0x4286cb(0x13f)](),_0x3885c4=_0x318272[_0x4286cb(0x118)],_0x10654d=_0x2c37ed[_0x4286cb(0x15b)][_0x4286cb(0x11e)];if(_0x3885c4&&_0x10654d[_0x4286cb(0x10d)](_0x3885c4)&&_0x10654d[_0x4286cb(0x167)](_0x3885c4)&&!_0x2c37ed[_0x4286cb(0x15b)][_0x4286cb(0x158)][_0x4286cb(0x14c)](_0x4286cb(0xff)+_0x2ff89b)[_0x4286cb(0xfe)]()[_0x4286cb(0x14b)])return;const _0x28c653=_0x318272[_0x4286cb(0x103)];return _0x2c37ed[_0x4286cb(0x15b)][_0x4286cb(0x11e)][_0x4286cb(0x120)](_0x28c653)&&!_0x2c37ed[_0x4286cb(0x15b)][_0x4286cb(0x140)](_0x28c653)&&(_0x15c062[_0x4286cb(0xfb)]=!0x1),function(_0x39f3df,_0x43aad0,_0x95bdc6){const _0x4407e6=_0x4286cb,_0x4a682d=_0x39f3df[_0x4407e6(0x151)](_0x4407e6(0x130),_0x43aad0);return _0x39f3df[_0x4407e6(0x13b)](_0x4407e6(0x16c),!0x0,_0x4a682d),_0x4a682d[_0x4407e6(0x10a)]=function(_0x23e60f){const _0x52ee57=_0x4407e6,_0x22fbcb=this[_0x52ee57(0x126)](_0x23e60f),_0x431285=document[_0x52ee57(0x15e)](_0x52ee57(0x130));return _0x431285[_0x52ee57(0x124)][_0x52ee57(0x136)](_0x52ee57(0x154)),_0x431285[_0x52ee57(0x153)](_0x52ee57(0xfb),_0x52ee57(0x12d)),_0x431285[_0x52ee57(0x153)](_0x52ee57(0x134),_0x52ee57(0x12d)),_0x431285[_0x52ee57(0x16d)]=_0x95bdc6[_0x52ee57(0x164)],_0x22fbcb[_0x52ee57(0x137)]=_0x52ee57(0x15c)+_0x431285[_0x52ee57(0x178)]+'',_0x22fbcb[_0x52ee57(0x105)](_0x52ee57(0x12f),()=>{const _0x13203d=_0x52ee57;_0x22fbcb[_0x13203d(0x124)][_0x13203d(0x136)](_0x13203d(0x10c));}),_0x22fbcb[_0x52ee57(0x105)](_0x52ee57(0xf7),()=>{const _0x34b831=_0x52ee57;_0x22fbcb[_0x34b831(0x124)][_0x34b831(0x13c)](_0x34b831(0x10c));}),_0x22fbcb;},_0x4a682d[_0x4407e6(0x139)]=function(_0x3e65da){const _0x14bf35=_0x4407e6;return!(!this[_0x14bf35(0x166)](_0x14bf35(0x16c))||!_0x3e65da[_0x14bf35(0x166)](_0x14bf35(0x16c))||this[_0x14bf35(0x144)](_0x14bf35(0x143))!=_0x3e65da[_0x14bf35(0x144)](_0x14bf35(0x143)));},_0x4a682d;}(_0x3a6aa8,_0x15c062,_0x84c864);}(_0x5cbc27,_0x567419,_0x5170bd,_0xa82cff)}),_0xa82cff[_0x502dfb(0x12a)][_0x502dfb(0x171)](_0x502dfb(0x113))[_0x502dfb(0x106)]({'model':_0x502dfb(0x17f),'view':_0x473c26=>function(_0x5bc825,_0x5d8cfa){const _0x477d09=_0x502dfb,_0x2d8d51=_0x5bc825[_0x477d09(0x111)][_0x477d09(0x10f)](':')[0x2];if(_0x2d8d51===_0x5d8cfa[_0x477d09(0x123)])return null;const _0x1d59ba=_0x5d8cfa[_0x477d09(0x170)](_0x2d8d51);if(!_0x1d59ba)return{'id':_0x2d8d51,'classes':[]};return{'id':_0x2d8d51,'classes':[_0x477d09(0x160),_0x1d59ba[_0x477d09(0x15f)][_0x477d09(0x12c)]()],'attributes':{'data-session-id':_0x2d8d51},'priority':0x7d0+_0x1d59ba[_0x477d09(0x116)]};}(_0x473c26,_0x5170bd)}),function(_0x90e03c){const _0x533c64=_0x502dfb,_0x161698=_0x90e03c[_0x533c64(0x15b)],_0x3399bc=new Map(),_0x166d6d=_0x90e03c[_0x533c64(0x119)][_0x533c64(0x14c)](_0x5bb0f6);_0x161698[_0x533c64(0x158)]['on'](_0x533c64(0x155),(_0x55aad2,_0x249b30,_0x5dee04,_0x25fe93)=>{const _0xe7e16c=_0x533c64;if(!_0x25fe93&&_0x3399bc[_0xe7e16c(0x14c)](_0x249b30[_0xe7e16c(0x164)]))return _0x3399bc[_0xe7e16c(0x14c)](_0x249b30[_0xe7e16c(0x164)])[_0xe7e16c(0x112)](),void _0x3399bc[_0xe7e16c(0x157)](_0x249b30[_0xe7e16c(0x164)]);const _0x45f510=_0x249b30[_0xe7e16c(0x164)][_0xe7e16c(0x10f)](':')[0x2];if(_0x45f510===_0x166d6d[_0xe7e16c(0x123)])return;const _0x139728=_0xe7e16c(0xfa)+_0x45f510;_0x161698[_0xe7e16c(0x158)][_0xe7e16c(0x10b)](_0x139728)&&_0x90e03c[_0xe7e16c(0x101)][_0xe7e16c(0x131)](_0x139728),_0x249b30['on'](_0xe7e16c(0x165),(_0x24f42d,_0x312a8a,_0x476a46)=>{const _0x234398=_0xe7e16c;if(_0x234398(0x14e)!=_0x312a8a[_0x234398(0x14f)][_0x234398(0x180)]&&_0x234398(0x14e)==_0x249b30[_0x234398(0xfe)]()[_0x234398(0x14f)][_0x234398(0x180)]&&!_0x3399bc[_0x234398(0x10b)](_0x249b30[_0x234398(0x164)])){const _0x246a67=_0x161698[_0x234398(0x11e)][_0x234398(0x10e)](_0x476a46[_0x234398(0x13d)]);if(_0x246a67){const _0x58a38b=_0x5db343[_0x234398(0x172)](_0x246a67);_0x3399bc[_0x234398(0x11a)](_0x249b30[_0x234398(0x164)],_0x58a38b),_0x58a38b['on'](_0x234398(0x165),(_0x5cbf86,_0x180c59,_0x4a0e45)=>{const _0x380667=_0x234398;if(_0x380667(0x14e)==_0x58a38b[_0x380667(0x14f)][_0x380667(0x180)]){const _0x3111df=_0x161698[_0x380667(0x11e)][_0x380667(0x10e)](_0x4a0e45[_0x380667(0x13d)]);_0x3111df?(_0x58a38b[_0x380667(0x152)]=_0x3111df[_0x380667(0x152)],_0x58a38b[_0x380667(0x12b)]=_0x3111df[_0x380667(0x12b)]):(_0x3399bc[_0x380667(0x157)](_0x249b30[_0x380667(0x164)]),_0x58a38b[_0x380667(0x112)]());}});}}});}),_0x161698[_0x533c64(0x11d)]['on'](_0x533c64(0x145),()=>{const _0x373d14=_0x533c64;_0x3399bc[_0x373d14(0x14a)]>0x0&&_0x161698[_0x373d14(0xfd)]({'isUndoable':!0x1},_0xe92d63=>{const _0x151db6=_0x373d14;for(const [_0xc3f6c5,_0xf4d780]of _0x3399bc)_0x151db6(0x14e)==_0x161698[_0x151db6(0x158)][_0x151db6(0x14c)](_0xc3f6c5)[_0x151db6(0xfe)]()[_0x151db6(0x14f)][_0x151db6(0x180)]&&(Z(_0xc3f6c5[_0x151db6(0x10f)](':')[0x2],_0xf4d780[_0x151db6(0xf9)](),_0x161698,_0xe92d63),_0xf4d780[_0x151db6(0x112)]());_0x3399bc[_0x151db6(0x159)]();});});}(_0xa82cff),this[_0x502dfb(0x138)][_0x502dfb(0x133)](_0x40f9bf[_0x502dfb(0x11d)],_0x502dfb(0x114),(_0x509d35,{key:_0x3fa476})=>{const _0x3d92f8=_0x502dfb;_0x3d92f8(0x16e)===_0x3fa476&&function(_0x476800){const _0x1bda50=_0x3d92f8;_0x476800[_0x1bda50(0x101)][_0x1bda50(0x108)][_0x1bda50(0x145)](_0x371cb6=>{const _0x49d83c=_0x1bda50;for(const _0x91e41 of _0x476800[_0x49d83c(0x15b)][_0x49d83c(0x158)]){if(!_0x91e41[_0x49d83c(0x164)][_0x49d83c(0x127)](_0x49d83c(0x169)))continue;const _0x53a2f5=_0x476800[_0x49d83c(0x101)][_0x49d83c(0x121)][_0x49d83c(0xf6)](_0x91e41[_0x49d83c(0x164)]);if(_0x53a2f5){for(const _0xb56b57 of _0x53a2f5)_0x371cb6[_0x49d83c(0x14d)](_0x49d83c(0x10c),_0xb56b57);}}});}(_0xa82cff);},{'useCapture':!0x0});}[_0x41045c(0x177)](){const _0x423b9a=_0x41045c,_0x524e12=this[_0x423b9a(0x11f)],_0x52b4c3=_0x524e12[_0x423b9a(0x104)][_0x423b9a(0x14c)](_0x423b9a(0x141));_0x52b4c3&&_0x524e12[_0x423b9a(0x15b)]['on'](_0x423b9a(0x156),(_0x539643,_0x13a249)=>{const _0x534f43=_0x423b9a,_0x17437e=_0x13a249[0x0];if(!_0x17437e[_0x534f43(0x176)])return;if(_0x534f43(0x174)!=_0x17437e[_0x534f43(0x129)]||!_0x17437e[_0x534f43(0x164)][_0x534f43(0x127)](_0x534f43(0x16a)))return;const _0x3976a3=_0x17437e[_0x534f43(0x117)];_0x52b4c3[_0x534f43(0x11b)][_0x534f43(0x10b)](_0x3976a3)&&(_0x17437e[_0x534f43(0x142)]=_0x17437e[_0x534f43(0xf8)]?_0x524e12[_0x534f43(0x15b)][_0x534f43(0x17b)](_0x17437e[_0x534f43(0xf8)][_0x534f43(0x152)],_0x17437e[_0x534f43(0xf8)][_0x534f43(0x12b)]):null);},{'priority':_0x423b9a(0x161)});}[_0x41045c(0x12e)](){const _0x2ff764=_0x41045c;return this[_0x2ff764(0x138)][_0x2ff764(0x149)](),super[_0x2ff764(0x12e)]();}[_0x41045c(0x16f)](){const _0x2392c7=_0x41045c,_0x5be4f7=this[_0x2392c7(0x11f)],_0x413fa4=_0x5be4f7[_0x2392c7(0x15b)][_0x2392c7(0x11d)],_0x187f0a=_0x5be4f7[_0x2392c7(0x119)][_0x2392c7(0x14c)](_0x5bb0f6);_0x5be4f7[_0x2392c7(0x15b)][_0x2392c7(0xfd)]({'isUndoable':!0x1},_0x1f1194=>{const _0x49a45f=_0x2392c7,_0x5651ed=_0x49a45f(0xff)+_0x187f0a[_0x49a45f(0x123)],_0x3a96eb=_0x49a45f(0xfa)+_0x187f0a[_0x49a45f(0x123)],_0x128305=_0x5be4f7[_0x49a45f(0x15b)][_0x49a45f(0x158)][_0x49a45f(0x10b)](_0x5651ed);_0x5be4f7[_0x49a45f(0x101)][_0x49a45f(0x108)][_0x49a45f(0x15a)]?Z(_0x187f0a[_0x49a45f(0x123)],_0x413fa4[_0x49a45f(0x17a)][_0x49a45f(0x115)](),_0x5be4f7[_0x49a45f(0x15b)],_0x1f1194):_0x128305&&(_0x1f1194[_0x49a45f(0x11c)](_0x5651ed),_0x1f1194[_0x49a45f(0x11c)](_0x3a96eb));});}}function Z(_0x3df63b,_0x416b5a,_0x2b3386,_0x36fbea){const _0x3592be=_0x41045c,_0x577c6a=_0x3592be(0xff)+_0x3df63b,_0x58f0ac=_0x3592be(0xfa)+_0x3df63b,_0x5d3704=_0x416b5a[_0x3592be(0x100)]();let _0x5cc1cf=_0x416b5a[_0x3592be(0x152)];if(_0x5d3704&&_0x5d3704['is'](_0x3592be(0x110),_0x3592be(0x125))){const _0x3359df=function(_0x2012dc,_0x5d7320){const _0x3c9b67=_0x3592be;for(const _0x501639 of _0x2012dc[_0x3c9b67(0x179)]())if(_0x5d7320[_0x3c9b67(0x11e)][_0x3c9b67(0x128)](_0x501639,_0x3c9b67(0x148)))return _0x501639;}(_0x416b5a,_0x2b3386);_0x3359df&&(_0x5cc1cf=_0x3359df,_0x416b5a=_0x36fbea[_0x3592be(0x17b)](_0x5cc1cf));}const _0x325529=_0x36fbea[_0x3592be(0x17b)](_0x5cc1cf);_0x2b3386[_0x3592be(0x158)][_0x3592be(0x10b)](_0x577c6a)?(_0x36fbea[_0x3592be(0x163)](_0x577c6a,{'range':_0x416b5a}),_0x36fbea[_0x3592be(0x163)](_0x58f0ac,{'range':_0x325529})):(_0x36fbea[_0x3592be(0x15d)](_0x577c6a,{'range':_0x416b5a,'usingOperation':!0x0}),_0x36fbea[_0x3592be(0x15d)](_0x58f0ac,{'range':_0x325529,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x5b775e=_0x10d4;(function(_0x26775d,_0x1b36b5){const _0x5b0ecd=_0x10d4,_0x29491f=_0x26775d();while(!![]){try{const _0x15221f=parseInt(_0x5b0ecd(0x174))/0x1*(parseInt(_0x5b0ecd(0x184))/0x2)+parseInt(_0x5b0ecd(0x188))/0x3+-parseInt(_0x5b0ecd(0x17f))/0x4+parseInt(_0x5b0ecd(0x16a))/0x5+-parseInt(_0x5b0ecd(0x177))/0x6*(parseInt(_0x5b0ecd(0x161))/0x7)+parseInt(_0x5b0ecd(0x15d))/0x8+-parseInt(_0x5b0ecd(0x164))/0x9*(parseInt(_0x5b0ecd(0x16f))/0xa);if(_0x15221f===_0x1b36b5)break;else _0x29491f['push'](_0x29491f['shift']());}catch(_0x5a27d6){_0x29491f['push'](_0x29491f['shift']());}}}(_0x329d,0x489d3));import{Plugin as _0x10ceb2}from'ckeditor5/src/core.js';import{global as _0x2d29e6,DomEmitterMixin as _0x4f7d4a}from'ckeditor5/src/utils.js';import{Sessions as _0x4ac4b7}from'./sessions.js';import{ModelLiveRange as _0x31555d}from'ckeditor5/src/engine.js';function _0x329d(){const _0x1a3ac2=['classList','tableCell','editing','updateMarker','markerRange','name','render','marker','_domEmitter','user:position','enqueueChange','isSimilar','set','$text','isDocumentOperation','checkChild','element','setCustomProperty','user:range:','end','reconvertMarker','afterInit','createRange','nodeAfter','parent','add','change','rootName','newRange','mapper','2487352rlVjRh','markerNameToElements','getSelectionClass','createUIElement','104363TRipwo','undo','userPositionMarker','2531511UmcPXN','hasContent','change:range','destroy','addMarker','getContainedElement','1109335fDVuwf','editor','split','ck-user__selection','user:position:','10KDZTxO','model','isCollapsed','detach','span','311ryxOmx','Escape','markerToElement','60KjGcFs','createElement','getFirstRange','ck-user__marker\x20','spellcheck','false','init','removeClass','1364568JFAVkt','color','conversion','markers','for','3134OhVWMm','fromRange','mySessionId','getAttribute','146445MemYyC','listenTo','deletionPosition','document','startsWith','getPositions','getRange','isOfficialPlugin','getCustomProperty','get','$graveyard','size','getMarkerClass','mouseenter','user:','mouseleave','UserMarkers','textContent','batch','ck-user__marker_hovered','editingDowncast','oldRange','remove','contenteditable','highest','createUserMarkerOperations','user:range','requires','type','setAttribute','view','markerName','isInline','stopListening','removeMarker','delete','clear','isObject','pluginName','start','keydown','addEventListener','toDomElement','innerHTML','ck-user__marker-tooltip','data-session-id','getUserBySessionId','orderNumber','toRange','getNearestSelectionRange','plugins','isPremiumPlugin','root','_createdBatches','outerHTML','getStart','update:user:range','has','applyOperation','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','markerToHighlight','selection','commands','hasDomSelection','schema','isLimit'];_0x329d=function(){return _0x1a3ac2;};return _0x329d();}function _0x10d4(_0x1f2f2e,_0x3d7556){const _0x329dfd=_0x329d();return _0x10d4=function(_0x10d4c3,_0x39d821){_0x10d4c3=_0x10d4c3-0x112;let _0x4efb12=_0x329dfd[_0x10d4c3];return _0x4efb12;},_0x10d4(_0x1f2f2e,_0x3d7556);}import'../../theme/usermarkers.css';export class UserMarkers extends _0x10ceb2{[_0x5b775e(0x147)]=new(_0x4f7d4a())();static get[_0x5b775e(0x118)](){return[_0x4ac4b7];}static get[_0x5b775e(0x123)](){const _0x547bcb=_0x5b775e;return _0x547bcb(0x198);}static get[_0x5b775e(0x18f)](){return!0x0;}static get[_0x5b775e(0x130)](){return!0x0;}[_0x5b775e(0x17d)](){const _0x1c7ed9=_0x5b775e,_0x3a9774=this[_0x1c7ed9(0x16b)],_0x418000=_0x3a9774[_0x1c7ed9(0x12f)][_0x1c7ed9(0x191)](_0x4ac4b7);_0x3a9774[_0x1c7ed9(0x181)][_0x1c7ed9(0x183)](_0x1c7ed9(0x19c))[_0x1c7ed9(0x176)]({'model':_0x1c7ed9(0x148),'view':(_0x461c25,{writer:_0x52f944})=>function(_0x3f3d26,_0xabf3e2,_0x1db32a,_0x10e7e7){const _0x4ece79=_0x1c7ed9,_0x27c4bc=_0x3f3d26[_0x4ece79(0x11c)][_0x4ece79(0x16c)](':')[0x2],_0x327b46=_0x1db32a[_0x4ece79(0x12b)](_0x27c4bc);if(!_0x327b46||_0x27c4bc===_0x1db32a[_0x4ece79(0x186)])return;if(!_0x10e7e7[_0x4ece79(0x170)][_0x4ece79(0x13d)][_0x4ece79(0x14e)](_0x3f3d26[_0x4ece79(0x143)][_0x4ece79(0x124)],_0x4ece79(0x14c)))return;const _0x16cf9a={'class':_0x4ece79(0x17a)+_0x327b46[_0x4ece79(0x180)][_0x4ece79(0x194)](),'data-name':_0x327b46[_0x4ece79(0x144)],'data-session-id':_0x27c4bc},_0x3fbb4d=_0x10e7e7[_0x4ece79(0x170)][_0x4ece79(0x182)][_0x4ece79(0x191)](_0x3f3d26[_0x4ece79(0x11c)]),_0x7afb9c=_0x3fbb4d[_0x4ece79(0x134)](),_0x309ffe=_0x7afb9c[_0x4ece79(0x156)],_0x5cbd57=_0x10e7e7[_0x4ece79(0x170)][_0x4ece79(0x13d)];if(_0x309ffe&&_0x5cbd57[_0x4ece79(0x122)](_0x309ffe)&&_0x5cbd57[_0x4ece79(0x11d)](_0x309ffe)&&!_0x10e7e7[_0x4ece79(0x170)][_0x4ece79(0x182)][_0x4ece79(0x191)](_0x4ece79(0x151)+_0x27c4bc)[_0x4ece79(0x18e)]()[_0x4ece79(0x171)])return;const _0x372391=_0x7afb9c[_0x4ece79(0x157)];return _0x10e7e7[_0x4ece79(0x170)][_0x4ece79(0x13d)][_0x4ece79(0x13e)](_0x372391)&&!_0x10e7e7[_0x4ece79(0x170)][_0x4ece79(0x165)](_0x372391)&&(_0x16cf9a[_0x4ece79(0x114)]=!0x1),function(_0x30bd35,_0x2af5b8,_0x8e6741){const _0x545a9d=_0x4ece79,_0x4d0d5e=_0x30bd35[_0x545a9d(0x160)](_0x545a9d(0x173),_0x2af5b8);return _0x30bd35[_0x545a9d(0x150)](_0x545a9d(0x163),!0x0,_0x4d0d5e),_0x4d0d5e[_0x545a9d(0x145)]=function(_0x2743cd){const _0x38bc52=_0x545a9d,_0x509048=this[_0x38bc52(0x127)](_0x2743cd),_0x4f9b9a=document[_0x38bc52(0x178)](_0x38bc52(0x173));return _0x4f9b9a[_0x38bc52(0x13f)][_0x38bc52(0x158)](_0x38bc52(0x129)),_0x4f9b9a[_0x38bc52(0x11a)](_0x38bc52(0x114),_0x38bc52(0x17c)),_0x4f9b9a[_0x38bc52(0x11a)](_0x38bc52(0x17b),_0x38bc52(0x17c)),_0x4f9b9a[_0x38bc52(0x199)]=_0x8e6741[_0x38bc52(0x144)],_0x509048[_0x38bc52(0x128)]=_0x38bc52(0x138)+_0x4f9b9a[_0x38bc52(0x133)]+'',_0x509048[_0x38bc52(0x126)](_0x38bc52(0x195),()=>{const _0x7aaf99=_0x38bc52;_0x509048[_0x7aaf99(0x13f)][_0x7aaf99(0x158)](_0x7aaf99(0x19b));}),_0x509048[_0x38bc52(0x126)](_0x38bc52(0x197),()=>{const _0x111a5a=_0x38bc52;_0x509048[_0x111a5a(0x13f)][_0x111a5a(0x113)](_0x111a5a(0x19b));}),_0x509048;},_0x4d0d5e[_0x545a9d(0x14a)]=function(_0x40b78c){const _0x512d1a=_0x545a9d;return!(!this[_0x512d1a(0x190)](_0x512d1a(0x163))||!_0x40b78c[_0x512d1a(0x190)](_0x512d1a(0x163))||this[_0x512d1a(0x187)](_0x512d1a(0x12a))!=_0x40b78c[_0x512d1a(0x187)](_0x512d1a(0x12a)));},_0x4d0d5e;}(_0xabf3e2,_0x16cf9a,_0x327b46);}(_0x461c25,_0x52f944,_0x418000,_0x3a9774)}),_0x3a9774[_0x1c7ed9(0x181)][_0x1c7ed9(0x183)](_0x1c7ed9(0x19c))[_0x1c7ed9(0x139)]({'model':_0x1c7ed9(0x117),'view':_0x138a68=>function(_0x4ace0a,_0x1c541a){const _0x44cb64=_0x1c7ed9,_0x5ee89e=_0x4ace0a[_0x44cb64(0x11c)][_0x44cb64(0x16c)](':')[0x2];if(_0x5ee89e===_0x1c541a[_0x44cb64(0x186)])return null;const _0x4a645a=_0x1c541a[_0x44cb64(0x12b)](_0x5ee89e);if(!_0x4a645a)return{'id':_0x5ee89e,'classes':[]};return{'id':_0x5ee89e,'classes':[_0x44cb64(0x16d),_0x4a645a[_0x44cb64(0x180)][_0x44cb64(0x15f)]()],'attributes':{'data-session-id':_0x5ee89e},'priority':0x7d0+_0x4a645a[_0x44cb64(0x12c)]};}(_0x138a68,_0x418000)}),function(_0x480e13){const _0x5a6746=_0x1c7ed9,_0xad99d4=_0x480e13[_0x5a6746(0x170)],_0x3f96ef=new Map(),_0x106cf9=_0x480e13[_0x5a6746(0x12f)][_0x5a6746(0x191)](_0x4ac4b7);_0xad99d4[_0x5a6746(0x182)]['on'](_0x5a6746(0x135),(_0x58783e,_0x3f737b,_0x30e45f,_0x3afb19)=>{const _0x38f926=_0x5a6746;if(!_0x3afb19&&_0x3f96ef[_0x38f926(0x191)](_0x3f737b[_0x38f926(0x144)]))return _0x3f96ef[_0x38f926(0x191)](_0x3f737b[_0x38f926(0x144)])[_0x38f926(0x172)](),void _0x3f96ef[_0x38f926(0x120)](_0x3f737b[_0x38f926(0x144)]);const _0x16ca16=_0x3f737b[_0x38f926(0x144)][_0x38f926(0x16c)](':')[0x2];if(_0x16ca16===_0x106cf9[_0x38f926(0x186)])return;const _0x29af53=_0x38f926(0x16e)+_0x16ca16;_0xad99d4[_0x38f926(0x182)][_0x38f926(0x136)](_0x29af53)&&_0x480e13[_0x38f926(0x141)][_0x38f926(0x153)](_0x29af53),_0x3f737b['on'](_0x38f926(0x166),(_0x436123,_0x1580c0,_0x12cd04)=>{const _0x333be2=_0x38f926;if(_0x333be2(0x192)!=_0x1580c0[_0x333be2(0x131)][_0x333be2(0x15a)]&&_0x333be2(0x192)==_0x3f737b[_0x333be2(0x18e)]()[_0x333be2(0x131)][_0x333be2(0x15a)]&&!_0x3f96ef[_0x333be2(0x136)](_0x3f737b[_0x333be2(0x144)])){const _0x56f203=_0xad99d4[_0x333be2(0x13d)][_0x333be2(0x12e)](_0x12cd04[_0x333be2(0x18a)]);if(_0x56f203){const _0x4cfbf4=_0x31555d[_0x333be2(0x185)](_0x56f203);_0x3f96ef[_0x333be2(0x14b)](_0x3f737b[_0x333be2(0x144)],_0x4cfbf4),_0x4cfbf4['on'](_0x333be2(0x166),(_0x40b56d,_0x35cf6e,_0x493735)=>{const _0x42f8e9=_0x333be2;if(_0x42f8e9(0x192)==_0x4cfbf4[_0x42f8e9(0x131)][_0x42f8e9(0x15a)]){const _0x56d59b=_0xad99d4[_0x42f8e9(0x13d)][_0x42f8e9(0x12e)](_0x493735[_0x42f8e9(0x18a)]);_0x56d59b?(_0x4cfbf4[_0x42f8e9(0x124)]=_0x56d59b[_0x42f8e9(0x124)],_0x4cfbf4[_0x42f8e9(0x152)]=_0x56d59b[_0x42f8e9(0x152)]):(_0x3f96ef[_0x42f8e9(0x120)](_0x3f737b[_0x42f8e9(0x144)]),_0x4cfbf4[_0x42f8e9(0x172)]());}});}}});}),_0xad99d4[_0x5a6746(0x18b)]['on'](_0x5a6746(0x159),()=>{const _0x5c24b1=_0x5a6746;_0x3f96ef[_0x5c24b1(0x193)]>0x0&&_0xad99d4[_0x5c24b1(0x149)]({'isUndoable':!0x1},_0x3999da=>{const _0x13399d=_0x5c24b1;for(const [_0x36d2a2,_0x6fde53]of _0x3f96ef)_0x13399d(0x192)==_0xad99d4[_0x13399d(0x182)][_0x13399d(0x191)](_0x36d2a2)[_0x13399d(0x18e)]()[_0x13399d(0x131)][_0x13399d(0x15a)]&&(Y(_0x36d2a2[_0x13399d(0x16c)](':')[0x2],_0x6fde53[_0x13399d(0x12d)](),_0xad99d4,_0x3999da),_0x6fde53[_0x13399d(0x172)]());_0x3f96ef[_0x13399d(0x121)]();});});}(_0x3a9774),this[_0x1c7ed9(0x147)][_0x1c7ed9(0x189)](_0x2d29e6[_0x1c7ed9(0x18b)],_0x1c7ed9(0x125),(_0x32e288,{key:_0x51a2f6})=>{const _0x460d49=_0x1c7ed9;_0x460d49(0x175)===_0x51a2f6&&function(_0x1d1b54){const _0x176003=_0x460d49;_0x1d1b54[_0x176003(0x141)][_0x176003(0x11b)][_0x176003(0x159)](_0x50e9a7=>{const _0x26397b=_0x176003;for(const _0x58abb8 of _0x1d1b54[_0x26397b(0x170)][_0x26397b(0x182)]){if(!_0x58abb8[_0x26397b(0x144)][_0x26397b(0x18c)](_0x26397b(0x148)))continue;const _0x1f7d9a=_0x1d1b54[_0x26397b(0x141)][_0x26397b(0x15c)][_0x26397b(0x15e)](_0x58abb8[_0x26397b(0x144)]);if(_0x1f7d9a){for(const _0xd950e7 of _0x1f7d9a)_0x50e9a7[_0x26397b(0x17e)](_0x26397b(0x19b),_0xd950e7);}}});}(_0x3a9774);},{'useCapture':!0x0});}[_0x5b775e(0x154)](){const _0x18b304=_0x5b775e,_0x1e9fc3=this[_0x18b304(0x16b)],_0x429b97=_0x1e9fc3[_0x18b304(0x13b)][_0x18b304(0x191)](_0x18b304(0x162));_0x429b97&&_0x1e9fc3[_0x18b304(0x170)]['on'](_0x18b304(0x137),(_0x33cfe0,_0x1d7aee)=>{const _0x3bb507=_0x18b304,_0x26f33c=_0x1d7aee[0x0];if(!_0x26f33c[_0x3bb507(0x14d)])return;if(_0x3bb507(0x146)!=_0x26f33c[_0x3bb507(0x119)]||!_0x26f33c[_0x3bb507(0x144)][_0x3bb507(0x18c)](_0x3bb507(0x196)))return;const _0xdcfd2e=_0x26f33c[_0x3bb507(0x19a)];_0x429b97[_0x3bb507(0x132)][_0x3bb507(0x136)](_0xdcfd2e)&&(_0x26f33c[_0x3bb507(0x15b)]=_0x26f33c[_0x3bb507(0x112)]?_0x1e9fc3[_0x3bb507(0x170)][_0x3bb507(0x155)](_0x26f33c[_0x3bb507(0x112)][_0x3bb507(0x124)],_0x26f33c[_0x3bb507(0x112)][_0x3bb507(0x152)]):null);},{'priority':_0x18b304(0x115)});}[_0x5b775e(0x167)](){const _0x32374f=_0x5b775e;return this[_0x32374f(0x147)][_0x32374f(0x11e)](),super[_0x32374f(0x167)]();}[_0x5b775e(0x116)](){const _0x24142b=_0x5b775e,_0x1db336=this[_0x24142b(0x16b)],_0x326e7e=_0x1db336[_0x24142b(0x170)][_0x24142b(0x18b)],_0x4bfe25=_0x1db336[_0x24142b(0x12f)][_0x24142b(0x191)](_0x4ac4b7);_0x1db336[_0x24142b(0x170)][_0x24142b(0x149)]({'isUndoable':!0x1},_0x26c1be=>{const _0x2dbdd8=_0x24142b,_0x261a66=_0x2dbdd8(0x151)+_0x4bfe25[_0x2dbdd8(0x186)],_0x1ecd42=_0x2dbdd8(0x16e)+_0x4bfe25[_0x2dbdd8(0x186)],_0x4d4424=_0x1db336[_0x2dbdd8(0x170)][_0x2dbdd8(0x182)][_0x2dbdd8(0x136)](_0x261a66);_0x1db336[_0x2dbdd8(0x141)][_0x2dbdd8(0x11b)][_0x2dbdd8(0x13c)]?Y(_0x4bfe25[_0x2dbdd8(0x186)],_0x326e7e[_0x2dbdd8(0x13a)][_0x2dbdd8(0x179)](),_0x1db336[_0x2dbdd8(0x170)],_0x26c1be):_0x4d4424&&(_0x26c1be[_0x2dbdd8(0x11f)](_0x261a66),_0x26c1be[_0x2dbdd8(0x11f)](_0x1ecd42));});}}function Y(_0x117269,_0x2ab5a0,_0x30b270,_0x1757af){const _0x10c92d=_0x5b775e,_0x7ec184=_0x10c92d(0x151)+_0x117269,_0x573447=_0x10c92d(0x16e)+_0x117269,_0x23776d=_0x2ab5a0[_0x10c92d(0x169)]();let _0x159970=_0x2ab5a0[_0x10c92d(0x124)];if(_0x23776d&&_0x23776d['is'](_0x10c92d(0x14f),_0x10c92d(0x140))){const _0x2d1dca=function(_0x407142,_0x3b1644){const _0x5475f3=_0x10c92d;for(const _0x3563de of _0x407142[_0x5475f3(0x18d)]())if(_0x3b1644[_0x5475f3(0x13d)][_0x5475f3(0x14e)](_0x3563de,_0x5475f3(0x14c)))return _0x3563de;}(_0x2ab5a0,_0x30b270);_0x2d1dca&&(_0x159970=_0x2d1dca,_0x2ab5a0=_0x1757af[_0x10c92d(0x155)](_0x159970));}const _0x4ce950=_0x1757af[_0x10c92d(0x155)](_0x159970);_0x30b270[_0x10c92d(0x182)][_0x10c92d(0x136)](_0x7ec184)?(_0x1757af[_0x10c92d(0x142)](_0x7ec184,{'range':_0x2ab5a0}),_0x1757af[_0x10c92d(0x142)](_0x573447,{'range':_0x4ce950})):(_0x1757af[_0x10c92d(0x168)](_0x7ec184,{'range':_0x2ab5a0,'usingOperation':!0x0}),_0x1757af[_0x10c92d(0x168)](_0x573447,{'range':_0x4ce950,'usingOperation':!0x0}));}
|