@ckeditor/ckeditor5-real-time-collaboration 43.3.0-alpha.6 → 43.3.0-alpha.8
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/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x522169=_0x5ef9;function _0x5ef9(_0xdc0b49,_0x12bade){const _0x4b95c7=_0x4b95();return _0x5ef9=function(_0x5ef92e,_0x176c5a){_0x5ef92e=_0x5ef92e-0x114;let _0x3dcef1=_0x4b95c7[_0x5ef92e];return _0x3dcef1;},_0x5ef9(_0xdc0b49,_0x12bade);}(function(_0x1349f1,_0x284ff4){const _0x2c4b70=_0x5ef9,_0xd36e91=_0x1349f1();while(!![]){try{const _0x36fd54=parseInt(_0x2c4b70(0x114))/0x1*(-parseInt(_0x2c4b70(0x177))/0x2)+parseInt(_0x2c4b70(0x12e))/0x3+-parseInt(_0x2c4b70(0x157))/0x4*(-parseInt(_0x2c4b70(0x15d))/0x5)+-parseInt(_0x2c4b70(0x137))/0x6*(-parseInt(_0x2c4b70(0x165))/0x7)+-parseInt(_0x2c4b70(0x11e))/0x8+-parseInt(_0x2c4b70(0x138))/0x9+parseInt(_0x2c4b70(0x11f))/0xa;if(_0x36fd54===_0x284ff4)break;else _0xd36e91['push'](_0xd36e91['shift']());}catch(_0x521777){_0xd36e91['push'](_0xd36e91['shift']());}}}(_0x4b95,0x91f43));import{Context as _0x136ff9,ContextPlugin as _0xff425c}from'ckeditor5/src/core.js';import{CKEditorError as _0x279611}from'ckeditor5/src/utils.js';import{Users as _0x5a69de}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x29b95b,User as _0x16eaf8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x5805ec from'../realtimecollaborativeediting/websocketgateway.js';import _0x46a2f6 from'../realtimecollaborativeediting/sessions.js';class a extends _0xff425c{static get[_0x522169(0x11c)](){const _0x2c9c55=_0x522169;return[_0x5805ec,_0x2c9c55(0x16d),_0x46a2f6,_0x5a69de];}static get[_0x522169(0x167)](){const _0x58681a=_0x522169;return _0x58681a(0x166);}static get[_0x522169(0x152)](){return!0x0;}static get[_0x522169(0x150)](){return!0x0;}constructor(_0x576bf5){const _0x2b79b5=_0x522169;super(_0x576bf5),this[_0x2b79b5(0x170)]=new Map();}async[_0x522169(0x128)](){const _0x2f3055=_0x522169,_0x5cee3e=this[_0x2f3055(0x148)],_0x5b491d=_0x5cee3e[_0x2f3055(0x151)][_0x2f3055(0x16e)](_0x2f3055(0x16d));if(_0x5cee3e[_0x2f3055(0x151)][_0x2f3055(0x16e)](_0x5805ec)[_0x2f3055(0x16c)](this),_0x5b491d[_0x2f3055(0x139)]={'addCommentThread':async({channelId:_0x370bf2,threadId:_0x2467bd,comments:_0x44001e,resolvedAt:_0x395ddf,resolvedBy:_0x36ace5,context:_0x38b400,attributes:_0x3a0847})=>{const _0x757ed0=_0x2f3055,_0x162ae7=await this[_0x757ed0(0x140)](_0x370bf2)[_0x757ed0(0x15e)]({'commentThreadId':_0x2467bd,'comments':_0x44001e[_0x757ed0(0x15a)](_0x2293b4=>function(_0x1536b6,_0x49eff8,_0x5dce49){const _0x4c39c8=_0x757ed0;return{'commentThreadId':_0x5dce49,'commentId':_0x1536b6[_0x4c39c8(0x141)],'userId':_0x1536b6[_0x4c39c8(0x12a)],'content':_0x1536b6[_0x4c39c8(0x173)],'documentId':_0x49eff8,'createdAt':_0x1536b6[_0x4c39c8(0x126)],'attributes':_0x1536b6[_0x4c39c8(0x119)]||{}};}(_0x2293b4,_0x370bf2,_0x2467bd)),'resolvedAt':_0x395ddf,'resolvedBy':_0x36ace5,'context':_0x38b400,'attributes':_0x3a0847})[_0x757ed0(0x168)](w);return{'threadId':_0x162ae7[_0x757ed0(0x153)],'comments':_0x162ae7[_0x757ed0(0x12f)]};},'getCommentThread':async({channelId:_0x1d2cbd,threadId:_0xc16a66})=>{const _0x5c91c7=_0x2f3055,_0x2a9e32=await this[_0x5c91c7(0x140)](_0x1d2cbd)[_0x5c91c7(0x11b)](_0xc16a66)[_0x5c91c7(0x168)](w);return _0x2a9e32[_0x5c91c7(0x121)]?null:(await this[_0x5c91c7(0x15b)]([_0x2a9e32]),{'threadId':_0x2a9e32[_0x5c91c7(0x153)],'comments':_0x2a9e32[_0x5c91c7(0x12f)][_0x5c91c7(0x15a)](b),'context':_0x2a9e32[_0x5c91c7(0x148)],'resolvedAt':_0x2a9e32[_0x5c91c7(0x155)],'resolvedBy':_0x2a9e32[_0x5c91c7(0x12d)],'attributes':_0x2a9e32[_0x5c91c7(0x119)]||{}});},'updateCommentThread':async({channelId:_0x4d652a,threadId:_0x39b8c3,context:_0x1a88e2,unlinkedAt:_0x3f149a,attributes:_0x4927ff})=>this[_0x2f3055(0x140)](_0x4d652a)[_0x2f3055(0x149)]({'commentThreadId':_0x39b8c3,'context':_0x1a88e2,'attributes':_0x4927ff,'unlinkedAt':_0x3f149a})[_0x2f3055(0x168)](y)[_0x2f3055(0x168)](w),'resolveCommentThread':async({channelId:_0x451481,threadId:_0x5971f8})=>{const _0x4548e8=_0x2f3055,_0x1458c7=await this[_0x4548e8(0x140)](_0x451481)[_0x4548e8(0x11d)](_0x5971f8)[_0x4548e8(0x168)](y)[_0x4548e8(0x168)](w);return{'threadId':_0x1458c7[_0x4548e8(0x153)],'resolvedAt':_0x1458c7[_0x4548e8(0x155)],'resolvedBy':_0x1458c7[_0x4548e8(0x12d)]};},'reopenCommentThread':async({channelId:_0x31d48d,threadId:_0xa91992})=>this[_0x2f3055(0x140)](_0x31d48d)[_0x2f3055(0x120)](_0xa91992)[_0x2f3055(0x168)](y)[_0x2f3055(0x168)](w),'removeCommentThread':({channelId:_0x1c391b,threadId:_0x357db5})=>this[_0x2f3055(0x140)](_0x1c391b)[_0x2f3055(0x125)](_0x357db5)[_0x2f3055(0x168)](y)[_0x2f3055(0x168)](w),'addComment':({channelId:_0xfedf49,threadId:_0x4108b5,commentId:_0x2201b1,content:_0x5c810e,attributes:_0x25a6b5})=>this[_0x2f3055(0x140)](_0xfedf49)[_0x2f3055(0x15f)](_0x4108b5,_0x2201b1,_0x5c810e,_0x25a6b5)[_0x2f3055(0x168)](w),'updateComment':({channelId:_0x3512ad,threadId:_0x269e8d,commentId:_0x56b7bc,content:_0x41a9f5,attributes:_0x5c3fda})=>this[_0x2f3055(0x140)](_0x3512ad)[_0x2f3055(0x156)](_0x269e8d,_0x56b7bc,_0x41a9f5,_0x5c3fda)[_0x2f3055(0x168)](y)[_0x2f3055(0x168)](w),'removeComment':({channelId:_0x587201,threadId:_0x29121c,commentId:_0x5f03ca})=>this[_0x2f3055(0x140)](_0x587201)[_0x2f3055(0x159)](_0x29121c,_0x5f03ca)[_0x2f3055(0x168)](y)[_0x2f3055(0x168)](w)},_0x5cee3e instanceof _0x136ff9){const _0x1fddd0=_0x5cee3e[_0x2f3055(0x12b)][_0x2f3055(0x16e)](_0x2f3055(0x164)),_0x5452b2=_0x5cee3e[_0x2f3055(0x151)][_0x2f3055(0x16e)](_0x46a2f6);await this[_0x2f3055(0x13c)](_0x1fddd0);const _0x55d3f7=await this[_0x2f3055(0x170)][_0x2f3055(0x16e)](_0x1fddd0)[_0x2f3055(0x129)]();this[_0x2f3055(0x118)](_0x5452b2,_0x2f3055(0x124)+_0x1fddd0,(_0x557d8e,{session:_0x49a622})=>{const _0x34ddbd=_0x2f3055;_0x49a622['id']===_0x5452b2[_0x34ddbd(0x162)]&&(_0x557d8e[_0x34ddbd(0x142)](),this[_0x34ddbd(0x148)][_0x34ddbd(0x151)][_0x34ddbd(0x16e)](_0x34ddbd(0x160))[_0x34ddbd(0x143)](_0x49a622[_0x34ddbd(0x146)],_0x1fddd0));}),_0x5452b2[_0x2f3055(0x133)](_0x1fddd0,_0x55d3f7);}}async[_0x522169(0x13c)](_0x518228){const _0x1f51a1=_0x522169;if(this[_0x1f51a1(0x170)][_0x1f51a1(0x179)](_0x518228))throw new _0x279611(_0x1f51a1(0x116),null,{'channelId':_0x518228});const _0x4c80bb=this[_0x1f51a1(0x148)][_0x1f51a1(0x151)][_0x1f51a1(0x16e)](_0x1f51a1(0x16d)),_0xe9dcc0=new a[(_0x1f51a1(0x13b))](_0x518228);this[_0x1f51a1(0x170)][_0x1f51a1(0x16b)](_0x518228,_0xe9dcc0),this[_0x1f51a1(0x118)](_0xe9dcc0,_0x1f51a1(0x158),(_0x36cf2f,_0x31c44f)=>{const _0x59ce4a=_0x1f51a1,{commentThreadId:_0x56f744,documentId:_0x57aa17,context:_0x4d7814,attributes:_0x1a29b2,resolvedAt:_0x3a6d2d,resolvedBy:_0x33fc0b,comments:_0x53e4b8}=_0x31c44f;_0x4c80bb[_0x59ce4a(0x11b)](_0x56f744)||_0x4c80bb[_0x59ce4a(0x15e)]({'threadId':_0x56f744,'channelId':_0x57aa17,'comments':_0x53e4b8?_0x53e4b8[_0x59ce4a(0x15a)](b):[],'context':_0x4d7814,'attributes':_0x1a29b2,'resolvedAt':_0x3a6d2d,'resolvedBy':_0x33fc0b,'isFromAdapter':!0x0});}),this[_0x1f51a1(0x118)](_0xe9dcc0,_0x1f51a1(0x169),(_0x4f18e7,{commentThreadId:_0x4336a8,documentId:_0x1983db,context:_0x2e1990,unlinkedAt:_0x27abba,attributes:_0xdcc9b0})=>{const _0x55328f=_0x1f51a1;_0x4c80bb[_0x55328f(0x11b)](_0x4336a8)&&_0x4c80bb[_0x55328f(0x149)]({'threadId':_0x4336a8,'channelId':_0x1983db,'context':_0x2e1990,'unlinkedAt':_0x27abba,'attributes':_0xdcc9b0,'isFromAdapter':!0x0});}),this[_0x1f51a1(0x118)](_0xe9dcc0,_0x1f51a1(0x14e),(_0xc9ce4f,{commentThreadId:_0x250bc6,resolvedBy:_0x10d68b,resolvedAt:_0x35c591})=>{const _0x540198=_0x1f51a1,_0x5d4384=_0x4c80bb[_0x540198(0x11b)](_0x250bc6);_0x5d4384&&_0x5d4384[_0x540198(0x135)]({'resolvedBy':_0x10d68b,'resolvedAt':_0x35c591,'isFromAdapter':!0x0});}),this[_0x1f51a1(0x118)](_0xe9dcc0,_0x1f51a1(0x174),(_0x4cf55a,{commentThreadId:_0x43e3d2})=>{const _0x501bb6=_0x1f51a1,_0xc2a7f5=_0x4c80bb[_0x501bb6(0x11b)](_0x43e3d2);_0xc2a7f5&&_0xc2a7f5[_0x501bb6(0x117)]({'isFromAdapter':!0x0});}),this[_0x1f51a1(0x118)](_0xe9dcc0,_0x1f51a1(0x15c),(_0x2a87c3,{commentThreadId:_0x531801})=>{const _0x2ec37e=_0x1f51a1,_0x330d28=_0x4c80bb[_0x2ec37e(0x11b)](_0x531801);_0x330d28&&_0x330d28[_0x2ec37e(0x13f)]({'isFromAdapter':!0x0});}),this[_0x1f51a1(0x118)](_0xe9dcc0,_0x1f51a1(0x175),(_0x34d28f,_0x27a391)=>{const _0x1c45b0=_0x1f51a1,_0x2c5c6f=_0x27a391[_0x1c45b0(0x153)],_0x55dbf4=_0x4c80bb[_0x1c45b0(0x11b)](_0x2c5c6f);_0x55dbf4&&_0x55dbf4[_0x1c45b0(0x15f)]({...b(_0x27a391),'isFromAdapter':!0x0});}),this[_0x1f51a1(0x118)](_0xe9dcc0,_0x1f51a1(0x13e),(_0x3f7c7e,{commentThreadId:_0x8e2098,commentId:_0x248bc8,content:_0x4ea4d9,attributes:_0x48cda9})=>{const _0x3e8afe=_0x1f51a1,_0x13e56e=_0x4c80bb[_0x3e8afe(0x11b)](_0x8e2098);if(_0x13e56e){const _0x246c3a=_0x13e56e[_0x3e8afe(0x12c)](_0x248bc8);_0x246c3a&&_0x246c3a[_0x3e8afe(0x144)]({'content':_0x4ea4d9,'attributes':_0x48cda9,'isFromAdapter':!0x0});}}),this[_0x1f51a1(0x118)](_0xe9dcc0,_0x1f51a1(0x178),(_0x330125,{commentThreadId:_0x459fbf,commentId:_0x4f8bd0})=>{const _0x4a2a6a=_0x1f51a1,_0xaf0aa8=_0x4c80bb[_0x4a2a6a(0x11b)](_0x459fbf);if(_0xaf0aa8){const _0x3d8c6c=_0xaf0aa8[_0x4a2a6a(0x12c)](_0x4f8bd0);_0x3d8c6c&&_0x3d8c6c[_0x4a2a6a(0x13f)]({'isFromAdapter':!0x0});}}),await this[_0x1f51a1(0x130)](_0x518228);}[_0x522169(0x172)](){const _0x1cacf9=_0x522169;if(this[_0x1cacf9(0x148)]instanceof _0x136ff9){const _0x3d68e0=this[_0x1cacf9(0x148)][_0x1cacf9(0x12b)][_0x1cacf9(0x16e)](_0x1cacf9(0x164));this[_0x1cacf9(0x123)](_0x3d68e0);}}[_0x522169(0x123)](_0x258c72){const _0x4dc6e0=_0x522169;if(!this[_0x4dc6e0(0x170)][_0x4dc6e0(0x179)](_0x258c72))throw new _0x279611(_0x4dc6e0(0x136),null,{'channelId':_0x258c72});this[_0x4dc6e0(0x140)](_0x258c72)[_0x4dc6e0(0x171)](),this[_0x4dc6e0(0x170)][_0x4dc6e0(0x16a)](_0x258c72);}async[_0x522169(0x115)](){const _0x37265e=_0x522169;for(const _0xe41349 of this[_0x37265e(0x170)][_0x37265e(0x131)]())await this[_0x37265e(0x130)](_0xe41349);if(this[_0x37265e(0x148)]instanceof _0x136ff9){const _0xc1a809=this[_0x37265e(0x148)][_0x37265e(0x12b)][_0x37265e(0x16e)](_0x37265e(0x164)),_0x1a1e30=this[_0x37265e(0x148)][_0x37265e(0x151)][_0x37265e(0x16e)](_0x46a2f6);_0x1a1e30[_0x37265e(0x13d)](_0xc1a809);const _0x35b97e=await this[_0x37265e(0x170)][_0x37265e(0x16e)](_0xc1a809)[_0x37265e(0x129)]();_0x1a1e30[_0x37265e(0x133)](_0xc1a809,_0x35b97e);}}async[_0x522169(0x130)](_0xabf055){const _0x44bafd=_0x522169,{connection:_0x5670ea}=this[_0x44bafd(0x148)][_0x44bafd(0x151)][_0x44bafd(0x16e)](_0x5805ec),_0x8c44c0=this[_0x44bafd(0x148)][_0x44bafd(0x151)][_0x44bafd(0x16e)](_0x44bafd(0x16d)),_0x5302e8=this[_0x44bafd(0x170)][_0x44bafd(0x16e)](_0xabf055),_0x2c31a8=await _0x5302e8[_0x44bafd(0x14b)](_0x5670ea);await this[_0x44bafd(0x15b)](_0x2c31a8);const _0x5a1253=new Set(Array[_0x44bafd(0x11a)](_0x8c44c0[_0x44bafd(0x145)]({'channelId':_0xabf055}),_0x41bf2c=>_0x41bf2c['id']));for(const _0x328e66 of _0x2c31a8)_0x328e66[_0x44bafd(0x121)]||_0x5a1253[_0x44bafd(0x16a)](_0x328e66[_0x44bafd(0x153)]);for(const _0x3036f7 of _0x5a1253)_0x8c44c0[_0x44bafd(0x11b)](_0x3036f7)[_0x44bafd(0x13f)]({'isFromAdapter':!0x0});for(const _0x369830 of _0x2c31a8){let _0x87631c=_0x8c44c0[_0x44bafd(0x11b)](_0x369830[_0x44bafd(0x153)]);const {commentThreadId:_0x4ce6e5,context:_0x80bdca,attributes:_0x2b1d5b,resolvedBy:_0x12d8c5,resolvedAt:_0x286417,unlinkedAt:_0x5232a2,deletedAt:_0x4a0e87}=_0x369830;if(_0x4a0e87)continue;_0x87631c||(_0x87631c=_0x8c44c0[_0x44bafd(0x15e)]({'channelId':_0xabf055,'threadId':_0x4ce6e5,'context':_0x80bdca,'attributes':_0x2b1d5b||{},'resolvedBy':_0x12d8c5,'resolvedAt':_0x286417,'unlinkedAt':_0x5232a2,'isFromAdapter':!0x0}));const _0x4ed0d8=new Set(Array[_0x44bafd(0x11a)](_0x87631c[_0x44bafd(0x12f)],_0x470b44=>_0x470b44['id']));for(const _0x11d24f of _0x369830[_0x44bafd(0x12f)])_0x4ed0d8[_0x44bafd(0x16a)](_0x11d24f[_0x44bafd(0x141)]);for(const _0x432d70 of _0x4ed0d8)_0x87631c[_0x44bafd(0x12c)](_0x432d70)[_0x44bafd(0x13f)]({'isFromAdapter':!0x0});for(const _0x525a12 of _0x369830[_0x44bafd(0x12f)]){const _0x1ad078=_0x87631c[_0x44bafd(0x12c)](_0x525a12[_0x44bafd(0x141)]);_0x1ad078?_0x1ad078[_0x44bafd(0x173)]!==_0x525a12[_0x44bafd(0x173)]&&_0x1ad078[_0x44bafd(0x144)]({'content':_0x525a12[_0x44bafd(0x173)],'isFromAdapter':!0x0}):_0x87631c[_0x44bafd(0x15f)](Object[_0x44bafd(0x163)](b(_0x525a12),{'isFromAdapter':!0x0}));}}}[_0x522169(0x140)](_0xe71323){const _0x22289f=_0x522169;if(!this[_0x22289f(0x170)][_0x22289f(0x179)](_0xe71323))throw new _0x279611(_0x22289f(0x161),null,{'channelId':_0xe71323});return this[_0x22289f(0x170)][_0x22289f(0x16e)](_0xe71323);}async[_0x522169(0x15b)](_0x530fe7){const _0x5f134b=_0x522169,_0x4264d0=this[_0x5f134b(0x148)][_0x5f134b(0x151)][_0x5f134b(0x16e)](_0x5a69de),{connection:_0x2c705c}=this[_0x5f134b(0x148)][_0x5f134b(0x151)][_0x5f134b(0x16e)](_0x5805ec),_0x105424=new Set();for(const {resolvedBy:_0xb9407e,comments:_0x99b23f}of _0x530fe7){_0xb9407e&&!_0x4264d0[_0x5f134b(0x127)](_0xb9407e)&&_0x105424[_0x5f134b(0x147)](_0xb9407e);for(const {userId:_0x448cb9}of _0x99b23f)_0x4264d0[_0x5f134b(0x127)](_0x448cb9)||_0x105424[_0x5f134b(0x147)](_0x448cb9);}if(0x0===_0x105424[_0x5f134b(0x14f)])return;const _0x53d819=await _0x16eaf8[_0x5f134b(0x14d)](_0x2c705c,Array[_0x5f134b(0x11a)](_0x105424));for(const _0x4b2cd5 of _0x53d819)_0x4264d0[_0x5f134b(0x127)](_0x4b2cd5['id'])||_0x4264d0[_0x5f134b(0x154)](_0x4b2cd5);}}a[_0x522169(0x13b)]=_0x29b95b;function _0x4b95(){const _0x23e6e8=['permissions','add','context','updateCommentThread','cloud-services-internal-error:\x20Request\x20timeout.','connect','code','getMany','commentThreadResolved','size','isPremiumPlugin','plugins','isOfficialPlugin','commentThreadId','addUser','resolvedAt','updateComment','4217168mZeziB','commentThreadAdded','removeComment','map','_fetchMissingUsersForThreads','commentThreadRemoved','5OeXHjz','addCommentThread','addComment','Permissions','cloudservicescommentsadapter-service-not-exist','mySessionId','assign','collaboration.channelId','854LzwSix','CloudServicesCommentsAdapter','pluginName','catch','commentThreadUpdated','delete','set','addToReconnectionStack','CommentsRepository','get','message','_services','disconnect','destroy','content','commentThreadReopened','commentAdded','startsWith','3638smrxom','commentRemoved','has','296NGruYO','reconnect','cloudservicescommentsadapter-connect-already-connected','reopen','listenTo','attributes','from','getCommentThread','requires','resolveCommentThread','1735200nQTtnt','6042940ZtyGHm','reopenCommentThread','deletedAt','cloud-services-internal-error:\x20Not\x20connected.','_terminateService','sessionAdd:','removeCommentThread','createdAt','getUser','init','getConnectedSessions','authorId','config','getComment','resolvedBy','1116459hVsGoz','comments','_connectService','keys','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','register','404','resolve','cloudservicescommentsadapter-disconnect-not-exist','11736AeSsjP','8245980oDvTrU','adapter','userId','CommentsService','_setUpService','unregister','commentUpdated','remove','_getService','commentId','off','setPermissions','update','getCommentThreads'];_0x4b95=function(){return _0x23e6e8;};return _0x4b95();}export default a;async function y(_0x3f80a9){const _0x9cb1f9=_0x522169;if(_0x9cb1f9(0x134)!==_0x3f80a9[_0x9cb1f9(0x14c)])throw _0x3f80a9;}function w(_0x2d2fbc){const _0x2d6a6e=_0x522169;if((_0x28a5e8=_0x2d2fbc)[_0x2d6a6e(0x16f)][_0x2d6a6e(0x176)](_0x2d6a6e(0x132))||_0x28a5e8[_0x2d6a6e(0x16f)][_0x2d6a6e(0x176)](_0x2d6a6e(0x122))||_0x28a5e8[_0x2d6a6e(0x16f)][_0x2d6a6e(0x176)](_0x2d6a6e(0x14a)))return new Promise(()=>{});var _0x28a5e8;throw _0x2d2fbc;}function b(_0x3bcc52){const _0x1287d4=_0x522169;return{'threadId':_0x3bcc52[_0x1287d4(0x153)],'commentId':_0x3bcc52[_0x1287d4(0x141)],'content':_0x3bcc52[_0x1287d4(0x173)],'createdAt':_0x3bcc52[_0x1287d4(0x126)],'authorId':_0x3bcc52[_0x1287d4(0x13a)],'attributes':_0x3bcc52[_0x1287d4(0x119)]||{}};}
|
|
23
|
+
const _0x312122=_0x17a3;(function(_0x27d065,_0x35adfd){const _0x4dcce6=_0x17a3,_0x5b9a72=_0x27d065();while(!![]){try{const _0x26f6c7=-parseInt(_0x4dcce6(0x174))/0x1*(parseInt(_0x4dcce6(0x157))/0x2)+-parseInt(_0x4dcce6(0x179))/0x3+parseInt(_0x4dcce6(0x19b))/0x4+parseInt(_0x4dcce6(0x1b0))/0x5*(parseInt(_0x4dcce6(0x188))/0x6)+parseInt(_0x4dcce6(0x16b))/0x7+-parseInt(_0x4dcce6(0x15b))/0x8+-parseInt(_0x4dcce6(0x1a8))/0x9;if(_0x26f6c7===_0x35adfd)break;else _0x5b9a72['push'](_0x5b9a72['shift']());}catch(_0x55873e){_0x5b9a72['push'](_0x5b9a72['shift']());}}}(_0x7e00,0x9f0c6));import{Context as _0x905844,ContextPlugin as _0x305322}from'ckeditor5/src/core.js';import{CKEditorError as _0x3befc6}from'ckeditor5/src/utils.js';import{Users as _0x2c2895}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x224510,User as _0x50d11e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x445549 from'../realtimecollaborativeediting/websocketgateway.js';function _0x17a3(_0x306b83,_0x33a7a2){const _0x7e005e=_0x7e00();return _0x17a3=function(_0x17a3f5,_0x42db32){_0x17a3f5=_0x17a3f5-0x154;let _0x5dec77=_0x7e005e[_0x17a3f5];return _0x5dec77;},_0x17a3(_0x306b83,_0x33a7a2);}import _0x41b833 from'../realtimecollaborativeediting/sessions.js';class a extends _0x305322{static get[_0x312122(0x178)](){const _0x25cb1f=_0x312122;return[_0x445549,_0x25cb1f(0x196),_0x41b833,_0x2c2895];}static get[_0x312122(0x1aa)](){const _0x49a133=_0x312122;return _0x49a133(0x19d);}static get[_0x312122(0x180)](){return!0x0;}static get[_0x312122(0x18f)](){return!0x0;}constructor(_0x30013f){const _0xee3f6b=_0x312122;super(_0x30013f),this[_0xee3f6b(0x19c)]=new Map();}async[_0x312122(0x155)](){const _0x310231=_0x312122,_0x44aaa1=this[_0x310231(0x197)],_0x58563c=_0x44aaa1[_0x310231(0x18e)][_0x310231(0x17e)](_0x310231(0x196));if(_0x44aaa1[_0x310231(0x18e)][_0x310231(0x17e)](_0x445549)[_0x310231(0x1ad)](this),_0x58563c[_0x310231(0x172)]={'addCommentThread':async({channelId:_0x37f65f,threadId:_0x92455b,comments:_0x22c319,resolvedAt:_0x1eb4b4,resolvedBy:_0x3a7eca,context:_0x1f25af,attributes:_0x981ad7})=>{const _0x177532=_0x310231,_0x3ce691=await this[_0x177532(0x15d)](_0x37f65f)[_0x177532(0x171)]({'commentThreadId':_0x92455b,'comments':_0x22c319[_0x177532(0x182)](_0x2401b5=>function(_0x421b50,_0x4c9f4e,_0x161a10){const _0x3cbf21=_0x177532;return{'commentThreadId':_0x161a10,'commentId':_0x421b50[_0x3cbf21(0x1b1)],'userId':_0x421b50[_0x3cbf21(0x194)],'content':_0x421b50[_0x3cbf21(0x190)],'documentId':_0x4c9f4e,'createdAt':_0x421b50[_0x3cbf21(0x16e)],'attributes':_0x421b50[_0x3cbf21(0x1a6)]||{}};}(_0x2401b5,_0x37f65f,_0x92455b)),'resolvedAt':_0x1eb4b4,'resolvedBy':_0x3a7eca,'context':_0x1f25af,'attributes':_0x981ad7})[_0x177532(0x1b6)](R);return{'threadId':_0x3ce691[_0x177532(0x15e)],'comments':_0x3ce691[_0x177532(0x15a)]};},'getCommentThread':async({channelId:_0x4cced9,threadId:_0x2359da})=>{const _0x145394=_0x310231,_0x420093=await this[_0x145394(0x15d)](_0x4cced9)[_0x145394(0x1ac)](_0x2359da)[_0x145394(0x1b6)](R);return _0x420093[_0x145394(0x16f)]?null:(await this[_0x145394(0x162)]([_0x420093]),{'threadId':_0x420093[_0x145394(0x15e)],'comments':_0x420093[_0x145394(0x15a)][_0x145394(0x182)](S),'context':_0x420093[_0x145394(0x197)],'resolvedAt':_0x420093[_0x145394(0x166)],'resolvedBy':_0x420093[_0x145394(0x1ae)],'attributes':_0x420093[_0x145394(0x1a6)]||{}});},'updateCommentThread':async({channelId:_0xe20965,threadId:_0x16e4b9,context:_0x1c415d,unlinkedAt:_0x2d15f4,attributes:_0x5ef630})=>this[_0x310231(0x15d)](_0xe20965)[_0x310231(0x159)]({'commentThreadId':_0x16e4b9,'context':_0x1c415d,'attributes':_0x5ef630,'unlinkedAt':_0x2d15f4})[_0x310231(0x1b6)](B)[_0x310231(0x1b6)](R),'resolveCommentThread':async({channelId:_0x571067,threadId:_0x327cba})=>{const _0x4fea11=_0x310231,_0x3c6300=await this[_0x4fea11(0x15d)](_0x571067)[_0x4fea11(0x158)](_0x327cba)[_0x4fea11(0x1b6)](B)[_0x4fea11(0x1b6)](R);return{'threadId':_0x3c6300[_0x4fea11(0x15e)],'resolvedAt':_0x3c6300[_0x4fea11(0x166)],'resolvedBy':_0x3c6300[_0x4fea11(0x1ae)]};},'reopenCommentThread':async({channelId:_0x28d9b8,threadId:_0x40027c})=>this[_0x310231(0x15d)](_0x28d9b8)[_0x310231(0x16c)](_0x40027c)[_0x310231(0x1b6)](B)[_0x310231(0x1b6)](R),'removeCommentThread':({channelId:_0x105f15,threadId:_0x17edc7})=>this[_0x310231(0x15d)](_0x105f15)[_0x310231(0x1b3)](_0x17edc7)[_0x310231(0x1b6)](B)[_0x310231(0x1b6)](R),'addComment':({channelId:_0x82eed3,threadId:_0x33a831,commentId:_0x45176a,content:_0x5eec92,attributes:_0x20a1cf})=>this[_0x310231(0x15d)](_0x82eed3)[_0x310231(0x195)](_0x33a831,_0x45176a,_0x5eec92,_0x20a1cf)[_0x310231(0x1b6)](R),'updateComment':({channelId:_0x19ca00,threadId:_0x594c85,commentId:_0xf823bd,content:_0x340535,attributes:_0x2b65b1})=>this[_0x310231(0x15d)](_0x19ca00)[_0x310231(0x170)](_0x594c85,_0xf823bd,_0x340535,_0x2b65b1)[_0x310231(0x1b6)](B)[_0x310231(0x1b6)](R),'removeComment':({channelId:_0x351959,threadId:_0x334cdb,commentId:_0xfc822b})=>this[_0x310231(0x15d)](_0x351959)[_0x310231(0x18d)](_0x334cdb,_0xfc822b)[_0x310231(0x1b6)](B)[_0x310231(0x1b6)](R)},_0x44aaa1 instanceof _0x905844){const _0x5607fc=_0x44aaa1[_0x310231(0x16d)][_0x310231(0x17e)](_0x310231(0x1a3)),_0x40f368=_0x44aaa1[_0x310231(0x18e)][_0x310231(0x17e)](_0x41b833);await this[_0x310231(0x163)](_0x5607fc);const _0x2909ba=await this[_0x310231(0x19c)][_0x310231(0x17e)](_0x5607fc)[_0x310231(0x17c)]();this[_0x310231(0x16a)](_0x40f368,_0x310231(0x18c)+_0x5607fc,(_0x2c1ebb,{session:_0x56b417})=>{const _0x3f583=_0x310231;_0x56b417['id']===_0x40f368[_0x3f583(0x1a7)]&&(_0x2c1ebb[_0x3f583(0x183)](),this[_0x3f583(0x197)][_0x3f583(0x18e)][_0x3f583(0x17e)](_0x3f583(0x19e))[_0x3f583(0x1a1)](_0x56b417[_0x3f583(0x1a2)],_0x5607fc));}),_0x40f368[_0x310231(0x176)](_0x5607fc,_0x2909ba);}}async[_0x312122(0x163)](_0x43caf8){const _0x57939c=_0x312122;if(this[_0x57939c(0x19c)][_0x57939c(0x18a)](_0x43caf8))throw new _0x3befc6(_0x57939c(0x181),null,{'channelId':_0x43caf8});const _0x1bc60b=this[_0x57939c(0x197)][_0x57939c(0x18e)][_0x57939c(0x17e)](_0x57939c(0x196)),_0x3f2155=new a[(_0x57939c(0x198))](_0x43caf8);this[_0x57939c(0x19c)][_0x57939c(0x175)](_0x43caf8,_0x3f2155),this[_0x57939c(0x16a)](_0x3f2155,_0x57939c(0x169),(_0x52004c,_0x55833b)=>{const _0xcb09e6=_0x57939c,{commentThreadId:_0x5baed5,documentId:_0x1e6847,context:_0x43bf34,attributes:_0x4810b8,resolvedAt:_0x33007a,resolvedBy:_0x17b96b,comments:_0x2c98ec}=_0x55833b;_0x1bc60b[_0xcb09e6(0x1ac)](_0x5baed5)||_0x1bc60b[_0xcb09e6(0x171)]({'threadId':_0x5baed5,'channelId':_0x1e6847,'comments':_0x2c98ec?_0x2c98ec[_0xcb09e6(0x182)](S):[],'context':_0x43bf34,'attributes':_0x4810b8,'resolvedAt':_0x33007a,'resolvedBy':_0x17b96b,'isFromAdapter':!0x0});}),this[_0x57939c(0x16a)](_0x3f2155,_0x57939c(0x1b8),(_0x30df5a,{commentThreadId:_0x22a79b,documentId:_0x3c56e8,context:_0x3967e3,unlinkedAt:_0x3c7f4b,attributes:_0x9eb20e})=>{const _0x48ae87=_0x57939c;_0x1bc60b[_0x48ae87(0x1ac)](_0x22a79b)&&_0x1bc60b[_0x48ae87(0x159)]({'threadId':_0x22a79b,'channelId':_0x3c56e8,'context':_0x3967e3,'unlinkedAt':_0x3c7f4b,'attributes':_0x9eb20e,'isFromAdapter':!0x0});}),this[_0x57939c(0x16a)](_0x3f2155,_0x57939c(0x1a5),(_0x43b306,{commentThreadId:_0x5e0023,resolvedBy:_0x23b516,resolvedAt:_0x936852})=>{const _0x53dcaa=_0x57939c,_0x13a9f7=_0x1bc60b[_0x53dcaa(0x1ac)](_0x5e0023);_0x13a9f7&&_0x13a9f7[_0x53dcaa(0x1b5)]({'resolvedBy':_0x23b516,'resolvedAt':_0x936852,'isFromAdapter':!0x0});}),this[_0x57939c(0x16a)](_0x3f2155,_0x57939c(0x17f),(_0x57e698,{commentThreadId:_0x19a37f})=>{const _0x3f614d=_0x57939c,_0x17c606=_0x1bc60b[_0x3f614d(0x1ac)](_0x19a37f);_0x17c606&&_0x17c606[_0x3f614d(0x1b7)]({'isFromAdapter':!0x0});}),this[_0x57939c(0x16a)](_0x3f2155,_0x57939c(0x191),(_0x7a4e4f,{commentThreadId:_0x40b058})=>{const _0x403ebe=_0x57939c,_0x43415f=_0x1bc60b[_0x403ebe(0x1ac)](_0x40b058);_0x43415f&&_0x43415f[_0x403ebe(0x154)]({'isFromAdapter':!0x0});}),this[_0x57939c(0x16a)](_0x3f2155,_0x57939c(0x1af),(_0x5b1334,_0x28bd26)=>{const _0x172113=_0x57939c,_0x46217b=_0x28bd26[_0x172113(0x15e)],_0x2cb0f5=_0x1bc60b[_0x172113(0x1ac)](_0x46217b);_0x2cb0f5&&_0x2cb0f5[_0x172113(0x195)]({...S(_0x28bd26),'isFromAdapter':!0x0});}),this[_0x57939c(0x16a)](_0x3f2155,_0x57939c(0x165),(_0x36e801,{commentThreadId:_0x1cab7a,commentId:_0x1dcae4,content:_0x5d2487,attributes:_0x55903c})=>{const _0x319e6b=_0x57939c,_0x2ea48f=_0x1bc60b[_0x319e6b(0x1ac)](_0x1cab7a);if(_0x2ea48f){const _0x2aa579=_0x2ea48f[_0x319e6b(0x184)](_0x1dcae4);_0x2aa579&&_0x2aa579[_0x319e6b(0x1a0)]({'content':_0x5d2487,'attributes':_0x55903c,'isFromAdapter':!0x0});}}),this[_0x57939c(0x16a)](_0x3f2155,_0x57939c(0x161),(_0x423ae3,{commentThreadId:_0x47bc7e,commentId:_0x1b668e})=>{const _0x357482=_0x57939c,_0x16db8d=_0x1bc60b[_0x357482(0x1ac)](_0x47bc7e);if(_0x16db8d){const _0x1a5bd1=_0x16db8d[_0x357482(0x184)](_0x1b668e);_0x1a5bd1&&_0x1a5bd1[_0x357482(0x154)]({'isFromAdapter':!0x0});}}),await this[_0x57939c(0x18b)](_0x43caf8);}[_0x312122(0x186)](){const _0xcb83d8=_0x312122;if(this[_0xcb83d8(0x197)]instanceof _0x905844){const _0x1b45cd=this[_0xcb83d8(0x197)][_0xcb83d8(0x16d)][_0xcb83d8(0x17e)](_0xcb83d8(0x1a3));this[_0xcb83d8(0x192)](_0x1b45cd);}}[_0x312122(0x192)](_0x1a5c39){const _0x2d629c=_0x312122;if(!this[_0x2d629c(0x19c)][_0x2d629c(0x18a)](_0x1a5c39))throw new _0x3befc6(_0x2d629c(0x199),null,{'channelId':_0x1a5c39});this[_0x2d629c(0x15d)](_0x1a5c39)[_0x2d629c(0x173)](),this[_0x2d629c(0x19c)][_0x2d629c(0x1b2)](_0x1a5c39);}async[_0x312122(0x17b)](){const _0x265066=_0x312122;for(const _0x4d9f0f of this[_0x265066(0x19c)][_0x265066(0x167)]())await this[_0x265066(0x18b)](_0x4d9f0f);if(this[_0x265066(0x197)]instanceof _0x905844){const _0x4e61b7=this[_0x265066(0x197)][_0x265066(0x16d)][_0x265066(0x17e)](_0x265066(0x1a3)),_0x266313=this[_0x265066(0x197)][_0x265066(0x18e)][_0x265066(0x17e)](_0x41b833);_0x266313[_0x265066(0x189)](_0x4e61b7);const _0x1b4358=await this[_0x265066(0x19c)][_0x265066(0x17e)](_0x4e61b7)[_0x265066(0x17c)]();_0x266313[_0x265066(0x176)](_0x4e61b7,_0x1b4358);}}async[_0x312122(0x18b)](_0x3cc6b5){const _0x2ba597=_0x312122,{connection:_0x2a586b}=this[_0x2ba597(0x197)][_0x2ba597(0x18e)][_0x2ba597(0x17e)](_0x445549),_0x3cac90=this[_0x2ba597(0x197)][_0x2ba597(0x18e)][_0x2ba597(0x17e)](_0x2ba597(0x196)),_0x47c68e=this[_0x2ba597(0x19c)][_0x2ba597(0x17e)](_0x3cc6b5),_0x108de0=await _0x47c68e[_0x2ba597(0x193)](_0x2a586b);await this[_0x2ba597(0x162)](_0x108de0);const _0x350225=new Set(Array[_0x2ba597(0x164)](_0x3cac90[_0x2ba597(0x185)]({'channelId':_0x3cc6b5}),_0x4fdf8f=>_0x4fdf8f['id']));for(const _0x26bb84 of _0x108de0)_0x26bb84[_0x2ba597(0x16f)]||_0x350225[_0x2ba597(0x1b2)](_0x26bb84[_0x2ba597(0x15e)]);for(const _0x1d9c28 of _0x350225)_0x3cac90[_0x2ba597(0x1ac)](_0x1d9c28)[_0x2ba597(0x154)]({'isFromAdapter':!0x0});for(const _0x6dadf5 of _0x108de0){let _0xcbe874=_0x3cac90[_0x2ba597(0x1ac)](_0x6dadf5[_0x2ba597(0x15e)]);const {commentThreadId:_0x1f919d,context:_0x1da1ae,attributes:_0x318080,resolvedBy:_0x4bfa66,resolvedAt:_0x7a732a,unlinkedAt:_0x28daef,deletedAt:_0x30413f}=_0x6dadf5;if(_0x30413f)continue;_0xcbe874||(_0xcbe874=_0x3cac90[_0x2ba597(0x171)]({'channelId':_0x3cc6b5,'threadId':_0x1f919d,'context':_0x1da1ae,'attributes':_0x318080||{},'resolvedBy':_0x4bfa66,'resolvedAt':_0x7a732a,'unlinkedAt':_0x28daef,'isFromAdapter':!0x0}));const _0x1d749b=new Set(Array[_0x2ba597(0x164)](_0xcbe874[_0x2ba597(0x15a)],_0x4110b0=>_0x4110b0['id']));for(const _0x1a5c7d of _0x6dadf5[_0x2ba597(0x15a)])_0x1d749b[_0x2ba597(0x1b2)](_0x1a5c7d[_0x2ba597(0x1b1)]);for(const _0x22571d of _0x1d749b)_0xcbe874[_0x2ba597(0x184)](_0x22571d)[_0x2ba597(0x154)]({'isFromAdapter':!0x0});for(const _0x3c7806 of _0x6dadf5[_0x2ba597(0x15a)]){const _0x588ed2=_0xcbe874[_0x2ba597(0x184)](_0x3c7806[_0x2ba597(0x1b1)]);_0x588ed2?_0x588ed2[_0x2ba597(0x190)]!==_0x3c7806[_0x2ba597(0x190)]&&_0x588ed2[_0x2ba597(0x1a0)]({'content':_0x3c7806[_0x2ba597(0x190)],'isFromAdapter':!0x0}):_0xcbe874[_0x2ba597(0x195)](Object[_0x2ba597(0x187)](S(_0x3c7806),{'isFromAdapter':!0x0}));}}}[_0x312122(0x15d)](_0x2b4867){const _0xc5689b=_0x312122;if(!this[_0xc5689b(0x19c)][_0xc5689b(0x18a)](_0x2b4867))throw new _0x3befc6(_0xc5689b(0x15c),null,{'channelId':_0x2b4867});return this[_0xc5689b(0x19c)][_0xc5689b(0x17e)](_0x2b4867);}async[_0x312122(0x162)](_0x43d024){const _0xf2d7c7=_0x312122,_0xb16b41=this[_0xf2d7c7(0x197)][_0xf2d7c7(0x18e)][_0xf2d7c7(0x17e)](_0x2c2895),{connection:_0x2dc0a2}=this[_0xf2d7c7(0x197)][_0xf2d7c7(0x18e)][_0xf2d7c7(0x17e)](_0x445549),_0x13da3b=new Set();for(const {resolvedBy:_0x8fa891,comments:_0x440c38}of _0x43d024){_0x8fa891&&!_0xb16b41[_0xf2d7c7(0x1a9)](_0x8fa891)&&_0x13da3b[_0xf2d7c7(0x17d)](_0x8fa891);for(const {userId:_0x4acaf2}of _0x440c38)_0xb16b41[_0xf2d7c7(0x1a9)](_0x4acaf2)||_0x13da3b[_0xf2d7c7(0x17d)](_0x4acaf2);}if(0x0===_0x13da3b[_0xf2d7c7(0x1b4)])return;const _0x472e54=await _0x50d11e[_0xf2d7c7(0x15f)](_0x2dc0a2,Array[_0xf2d7c7(0x164)](_0x13da3b));for(const _0x481380 of _0x472e54)_0xb16b41[_0xf2d7c7(0x1a9)](_0x481380['id'])||_0xb16b41[_0xf2d7c7(0x1ab)](_0x481380);}}a[_0x312122(0x198)]=_0x224510;export default a;async function B(_0x5d30f0){const _0x43c438=_0x312122;if(_0x43c438(0x17a)!==_0x5d30f0[_0x43c438(0x160)])throw _0x5d30f0;}function R(_0x57c448){const _0x202f6a=_0x312122;if((_0x33701e=_0x57c448)[_0x202f6a(0x177)][_0x202f6a(0x168)](_0x202f6a(0x156))||_0x33701e[_0x202f6a(0x177)][_0x202f6a(0x168)](_0x202f6a(0x19f))||_0x33701e[_0x202f6a(0x177)][_0x202f6a(0x168)](_0x202f6a(0x1a4)))return new Promise(()=>{});var _0x33701e;throw _0x57c448;}function S(_0x78108c){const _0x240ff2=_0x312122;return{'threadId':_0x78108c[_0x240ff2(0x15e)],'commentId':_0x78108c[_0x240ff2(0x1b1)],'content':_0x78108c[_0x240ff2(0x190)],'createdAt':_0x78108c[_0x240ff2(0x16e)],'authorId':_0x78108c[_0x240ff2(0x19a)],'attributes':_0x78108c[_0x240ff2(0x1a6)]||{}};}function _0x7e00(){const _0x12d18a=['addToReconnectionStack','resolvedBy','commentAdded','5ifDgVe','commentId','delete','removeCommentThread','size','resolve','catch','reopen','commentThreadUpdated','remove','init','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','11736PwQwtc','resolveCommentThread','updateCommentThread','comments','5331568lrwhZC','cloudservicescommentsadapter-service-not-exist','_getService','commentThreadId','getMany','code','commentRemoved','_fetchMissingUsersForThreads','_setUpService','from','commentUpdated','resolvedAt','keys','startsWith','commentThreadAdded','listenTo','5481364jxEBfx','reopenCommentThread','config','createdAt','deletedAt','updateComment','addCommentThread','adapter','disconnect','2kvmcVy','set','register','message','requires','527082HZLQxD','404','reconnect','getConnectedSessions','add','get','commentThreadReopened','isOfficialPlugin','cloudservicescommentsadapter-connect-already-connected','map','off','getComment','getCommentThreads','destroy','assign','1188210nHiLxt','unregister','has','_connectService','sessionAdd:','removeComment','plugins','isPremiumPlugin','content','commentThreadRemoved','_terminateService','connect','authorId','addComment','CommentsRepository','context','CommentsService','cloudservicescommentsadapter-disconnect-not-exist','userId','5098324lkwjPv','_services','CloudServicesCommentsAdapter','Permissions','cloud-services-internal-error:\x20Not\x20connected.','update','setPermissions','permissions','collaboration.channelId','cloud-services-internal-error:\x20Request\x20timeout.','commentThreadResolved','attributes','mySessionId','6752970lmwKuD','getUser','pluginName','addUser','getCommentThread'];_0x7e00=function(){return _0x12d18a;};return _0x7e00();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x58f943=_0x5ef9;function _0x4238(){const _0x2241c1=['plugins','editor','ready','data','54890NeWHbs','init','requires','Comments','isOfficialPlugin','7500MrhVLM','change:state','12tgRvZK','switchReadOnly','_setUpService','2252515RkEBoT','2070ywmqrf','37300zwVvsb','21dvNSlv','config','listenTo','RealTimeCollaborativeComments','pluginName','CommentsEditing','collaboration.channelId','8oJTamt','1459947ONDCtJ','isThreadsLoadingPaused','101286zuJnHD','once','_terminateService','connected','get','destroy','2806956dtNuFm','2209711CpZQPQ','CommentsRepository','isPremiumPlugin'];_0x4238=function(){return _0x2241c1;};return _0x4238();}function _0x5ef9(_0x45e7a0,_0x472b08){const _0x423860=_0x4238();return _0x5ef9=function(_0x5ef9de,_0x3a3982){_0x5ef9de=_0x5ef9de-0x80;let _0x1cacbc=_0x423860[_0x5ef9de];return _0x1cacbc;},_0x5ef9(_0x45e7a0,_0x472b08);}(function(_0xc8f840,_0x16a636){const _0x3dd3b4=_0x5ef9,_0x4cf83f=_0xc8f840();while(!![]){try{const _0x165417=parseInt(_0x3dd3b4(0x93))/0x1+-parseInt(_0x3dd3b4(0x95))/0x2*(parseInt(_0x3dd3b4(0x8b))/0x3)+parseInt(_0x3dd3b4(0x9b))/0x4+-parseInt(_0x3dd3b4(0x88))/0x5*(-parseInt(_0x3dd3b4(0x85))/0x6)+parseInt(_0x3dd3b4(0x9c))/0x7*(parseInt(_0x3dd3b4(0x92))/0x8)+-parseInt(_0x3dd3b4(0x89))/0x9*(-parseInt(_0x3dd3b4(0x8a))/0xa)+parseInt(_0x3dd3b4(0xa3))/0xb*(-parseInt(_0x3dd3b4(0x83))/0xc);if(_0x165417===_0x16a636)break;else _0x4cf83f['push'](_0x4cf83f['shift']());}catch(_0x42259b){_0x4cf83f['push'](_0x4cf83f['shift']());}}}(_0x4238,0xba486));import{Plugin as _0x1ed2b7}from'ckeditor5/src/core.js';import _0x84f5b2 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x149122 from'./realtimecollaborativeediting.js';import _0x439e4e from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x1ed2b7{static get[_0x58f943(0x80)](){const _0x39125e=_0x58f943;return[_0x39125e(0x81),_0x84f5b2,_0x149122,_0x439e4e];}static get[_0x58f943(0x8f)](){const _0x4a4cac=_0x58f943;return _0x4a4cac(0x8e);}static get[_0x58f943(0x82)](){return!0x0;}static get[_0x58f943(0x9e)](){return!0x0;}[_0x58f943(0xa4)](){const _0x11fc22=_0x58f943,_0x724659=this[_0x11fc22(0xa0)][_0x11fc22(0x9f)][_0x11fc22(0x99)](_0x439e4e),_0x45d3d2=this[_0x11fc22(0xa0)][_0x11fc22(0x9f)][_0x11fc22(0x99)](_0x11fc22(0x90)),_0x1088bc=this[_0x11fc22(0xa0)][_0x11fc22(0x9f)][_0x11fc22(0x99)](_0x84f5b2);return this[_0x11fc22(0xa0)][_0x11fc22(0xa2)][_0x11fc22(0x96)](_0x11fc22(0xa1),()=>{const _0x2d9175=_0x11fc22;this[_0x2d9175(0x8d)](_0x724659,_0x2d9175(0x84),(_0x5ea401,_0x309bce,_0x2e351a)=>{const _0x23afb2=_0x2d9175;_0x45d3d2[_0x23afb2(0x94)]=_0x23afb2(0x98)!==_0x2e351a;});}),this[_0x11fc22(0x8d)](_0x724659,_0x11fc22(0x84),(_0x43f514,_0x267751,_0x297bcf)=>{const _0x40e766=_0x11fc22;this[_0x40e766(0xa0)][_0x40e766(0x9f)][_0x40e766(0x99)](_0x40e766(0x9d))[_0x40e766(0x86)](_0x40e766(0x98)!==_0x297bcf);}),_0x1088bc[_0x11fc22(0x87)](this[_0x11fc22(0xa0)][_0x11fc22(0x8c)][_0x11fc22(0x99)](_0x11fc22(0x91)));}[_0x58f943(0x9a)](){const _0x86b113=_0x58f943;this[_0x86b113(0xa0)][_0x86b113(0x9f)][_0x86b113(0x99)](_0x84f5b2)[_0x86b113(0x97)](this[_0x86b113(0xa0)][_0x86b113(0x8c)][_0x86b113(0x99)](_0x86b113(0x91))),super[_0x86b113(0x9a)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2e4276=_0x4e9b;(function(_0x3a4ade,_0x1d064e){const _0x42ce7e=_0x4e9b,_0x5d0005=_0x3a4ade();while(!![]){try{const _0x155902=parseInt(_0x42ce7e(0x121))/0x1*(parseInt(_0x42ce7e(0x154))/0x2)+-parseInt(_0x42ce7e(0x125))/0x3*(parseInt(_0x42ce7e(0x1bb))/0x4)+parseInt(_0x42ce7e(0x1c0))/0x5+-parseInt(_0x42ce7e(0x17e))/0x6+-parseInt(_0x42ce7e(0x10c))/0x7*(parseInt(_0x42ce7e(0x1ba))/0x8)+parseInt(_0x42ce7e(0x12c))/0x9*(parseInt(_0x42ce7e(0x1e7))/0xa)+parseInt(_0x42ce7e(0x1dd))/0xb*(parseInt(_0x42ce7e(0xfa))/0xc);if(_0x155902===_0x1d064e)break;else _0x5d0005['push'](_0x5d0005['shift']());}catch(_0x4fb0a8){_0x5d0005['push'](_0x5d0005['shift']());}}}(_0x37f2,0xc2906));import{Plugin as _0x4d7046,PendingActions as _0x142f52}from'ckeditor5/src/core.js';import{CKEditorError as _0x25d791,version as _0x83d5b5,uid as _0x2cb2e3}from'ckeditor5/src/utils.js';import{Notification as _0x2ce899}from'ckeditor5/src/ui.js';function _0x4e9b(_0x4b0e7e,_0x36a930){const _0x37f26f=_0x37f2();return _0x4e9b=function(_0x4e9ba7,_0x5d5060){_0x4e9ba7=_0x4e9ba7-0xeb;let _0x1acf67=_0x37f26f[_0x4e9ba7];return _0x1acf67;},_0x4e9b(_0x4b0e7e,_0x36a930);}import{transformSets as _0x52f1de,NoOperation as _0x3b01c9,InsertOperation as _0x58d617,MarkerOperation as _0x26d6f4,RootAttributeOperation as _0x49d9dc,OperationFactory as _0x196c78,History as _0x15db8b}from'ckeditor5/src/engine.js';import _0xece30b from'./websocketgateway.js';import _0x405d73 from'./sessions.js';import _0x267f7f from'./usermarkers.js';import{getTranslation as _0x285daf}from'../common-translations.js';import{Compressor as _0x172256}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5786d8}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x4aae7e,CollaborativeEditingService as _0x2dc1ef}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Q=0x1;class l extends _0x4d7046{static get[_0x2e4276(0xf2)](){return[_0xece30b,_0x405d73,_0x267f7f,_0x142f52,_0x5786d8,_0x2ce899];}static get[_0x2e4276(0x192)](){const _0x28d751=_0x2e4276;return _0x28d751(0x151);}static get[_0x2e4276(0x1b7)](){return!0x0;}static get[_0x2e4276(0x183)](){return!0x0;}get[_0x2e4276(0x148)](){const _0x57f1f7=_0x2e4276;return this[_0x57f1f7(0x16d)]+this[_0x57f1f7(0x174)];}get[_0x2e4276(0x16d)](){const _0x5dbdbd=_0x2e4276;return this[_0x5dbdbd(0x18f)][_0x5dbdbd(0x1bc)]-this[_0x5dbdbd(0x174)];}get[_0x2e4276(0x158)](){const _0x5c2d36=_0x2e4276,_0x2f71d8=this[_0x5c2d36(0x18f)][_0x5c2d36(0x18d)]();for(let _0x2ed5e7=_0x2f71d8[_0x5c2d36(0x196)]-0x1;_0x2ed5e7>=0x0;_0x2ed5e7--){const _0x2d3cb8=_0x2f71d8[_0x2ed5e7];if(!this[_0x5c2d36(0xfc)][_0x5c2d36(0x163)](_0x2d3cb8))return _0x2d3cb8[_0x5c2d36(0x16a)]+0x1-this[_0x5c2d36(0x174)];}return 0x0;}constructor(_0x1a4a07){const _0x295a1b=_0x2e4276;if(super(_0x1a4a07),this[_0x295a1b(0x174)]=0x0,this[_0x295a1b(0x14c)]=null,this[_0x295a1b(0x18f)]=new _0x15db8b(),this[_0x295a1b(0x1b5)][_0x295a1b(0x172)][_0x295a1b(0x139)](_0x295a1b(0x185),{}),this[_0x295a1b(0x11f)]=this[_0x295a1b(0x1b5)][_0x295a1b(0x172)][_0x295a1b(0x1b0)](_0x295a1b(0x181)),!this[_0x295a1b(0x11f)])throw new _0x25d791(_0x295a1b(0x1c4),this);const _0x33c77e=_0x1a4a07[_0x295a1b(0x172)][_0x295a1b(0x1b0)](_0x295a1b(0x11e))||_0x83d5b5;this[_0x295a1b(0x170)]=new l[(_0x295a1b(0x116))](_0x33c77e,this[_0x295a1b(0x11f)]),this[_0x295a1b(0x1d3)]=this[_0x295a1b(0x1b5)][_0x295a1b(0x1e8)][_0x295a1b(0x149)],this[_0x295a1b(0x1a7)]=new _0x172256(),this[_0x295a1b(0x182)]=[],this[_0x295a1b(0x144)]=new WeakSet(),this[_0x295a1b(0x1b2)]=new Set(),this[_0x295a1b(0x187)](_0x295a1b(0xfe),!0x1),this[_0x295a1b(0x187)](_0x295a1b(0x19b),!0x1),this[_0x295a1b(0x114)]=null,this[_0x295a1b(0xeb)]=!0x1,this[_0x295a1b(0x1cf)]=null,this[_0x295a1b(0x1c7)]=0x12c,this[_0x295a1b(0x14a)]=this[_0x295a1b(0x1c7)],this[_0x295a1b(0x198)]=null,this[_0x295a1b(0xfc)]=new WeakSet(),this[_0x295a1b(0x153)]=new Z(this[_0x295a1b(0xfc)]);}[_0x2e4276(0xf8)](){const _0x59bb9a=_0x2e4276,_0x467139=this[_0x59bb9a(0x1b5)],_0x4db24d=_0x467139[_0x59bb9a(0x1db)][_0x59bb9a(0x1b0)](_0x5786d8),_0x162cc5=_0x467139[_0x59bb9a(0x1db)][_0x59bb9a(0x1b0)](_0xece30b);this[_0x59bb9a(0x10f)](_0x4db24d,_0x59bb9a(0x156),(_0x2a9d48,_0x4e1caa)=>{const _0x4bf2f7=_0x59bb9a,_0x56085b=_0x4e1caa[0x0];_0x56085b[_0x4bf2f7(0x165)]&&(_0x2a9d48[_0x4bf2f7(0x18b)]=_0x4db24d[_0x4bf2f7(0xf0)](_0x56085b[_0x4bf2f7(0x165)]),_0x2a9d48[_0x4bf2f7(0x134)]()),null===_0x56085b[_0x4bf2f7(0x165)]&&(_0x2a9d48[_0x4bf2f7(0x18b)]=null,_0x2a9d48[_0x4bf2f7(0x134)]());},{'priority':_0x59bb9a(0x11d)}),this[_0x59bb9a(0x10f)](_0x467139[_0x59bb9a(0x1e8)][_0x59bb9a(0x149)][_0x59bb9a(0x119)],_0x59bb9a(0x1cc),(_0x3d89b4,_0x29a368)=>{const _0x5b2b72=_0x59bb9a;_0x29a368[_0x5b2b72(0x12a)]&&this[_0x5b2b72(0x1b4)]();}),this[_0x59bb9a(0x10f)](_0x467139[_0x59bb9a(0x173)][_0x59bb9a(0x160)],_0x59bb9a(0x138),()=>{const _0x3a6285=_0x59bb9a;this[_0x3a6285(0x1b4)]();}),this[_0x59bb9a(0x1a6)](),_0x467139[_0x59bb9a(0x1e8)]['on'](_0x59bb9a(0x162),(_0x4f9fdf,_0x27804d)=>{const _0x370e3b=_0x59bb9a,_0x2a6a71=_0x27804d[0x0];_0x2a6a71[_0x370e3b(0x10d)]&&(this[_0x370e3b(0x18c)](_0x2a6a71),this[_0x370e3b(0x12e)]()&&this[_0x370e3b(0x101)]());}),this[_0x59bb9a(0x137)](),this[_0x59bb9a(0xf9)](_0x59bb9a(0x13c))['to'](_0x162cc5,_0x59bb9a(0x1aa),this,_0x59bb9a(0x19b),(_0x592f1e,_0x4a8ef5)=>_0x59bb9a(0x1e4)===_0x592f1e&&!_0x4a8ef5),this['on'](_0x59bb9a(0x106),()=>{const _0x846413=_0x59bb9a;this[_0x846413(0x13c)]?_0x467139[_0x846413(0x131)](_0x846413(0x109)):_0x467139[_0x846413(0x1c3)](_0x846413(0x109));}),this[_0x59bb9a(0x13c)]?_0x467139[_0x59bb9a(0x131)](_0x59bb9a(0x109)):_0x467139[_0x59bb9a(0x1c3)](_0x59bb9a(0x109)),this[_0x59bb9a(0x187)](_0x59bb9a(0x1e2),!0x1);}async[_0x2e4276(0x129)](){const _0x32104b=_0x2e4276,_0x150bbf=this[_0x32104b(0x1b5)][_0x32104b(0x1db)][_0x32104b(0x1b0)](_0x405d73),_0x54e0db=this[_0x32104b(0x1b5)][_0x32104b(0x1db)][_0x32104b(0x1b0)](_0xece30b);try{this[_0x32104b(0xfe)]=!0x0,_0x150bbf[_0x32104b(0x13a)](this[_0x32104b(0x11f)]);const _0x117b67=await this[_0x32104b(0x170)][_0x32104b(0x129)](_0x54e0db[_0x32104b(0x11b)],this[_0x32104b(0x158)]);await this[_0x32104b(0xfd)](_0x117b67)&&(this[_0x32104b(0xfe)]=!0x1,this[_0x32104b(0x18e)]());const _0x52661f=await this[_0x32104b(0x170)][_0x32104b(0x103)]();_0x150bbf[_0x32104b(0x18a)](this[_0x32104b(0x11f)],_0x52661f),this[_0x32104b(0xef)](),this[_0x32104b(0x1e2)]=!0x0;}catch(_0x1a4324){if(function(_0x1a4dd2){const _0x48240d=_0x32104b;return _0x48240d(0x16e)===_0x1a4dd2[_0x48240d(0x1de)];}(_0x1a4324)&&this[_0x32104b(0x14c)])await this[_0x32104b(0x1a4)]();else{if(function(_0x5d49d2){const _0x3f38d6=_0x32104b;return _0x3f38d6(0xf1)===_0x5d49d2[_0x3f38d6(0x1de)];}(_0x1a4324)){const _0x1c295e=_0x285daf(this[_0x32104b(0x1b5)][_0x32104b(0x1c6)],_0x32104b(0x1c5));this[_0x32104b(0x1e9)](_0x1c295e);}else{if(!(_0x1a4324 instanceof X))throw _0x1a4324;this[_0x32104b(0x1e9)]();}}}}[_0x2e4276(0x136)](){const _0x305e79=_0x2e4276,_0x4f1bb0=this[_0x305e79(0x1b5)][_0x305e79(0x1db)][_0x305e79(0x1b0)](_0xece30b),_0x4b9f29=this[_0x305e79(0x1b5)][_0x305e79(0x1db)][_0x305e79(0x1b0)](_0x405d73);this[_0x305e79(0x1b5)][_0x305e79(0x1c3)](_0x305e79(0x190)),_0x4b9f29[_0x305e79(0x11c)][_0x305e79(0x163)](this[_0x305e79(0x11f)])&&_0x4b9f29[_0x305e79(0x13a)](this[_0x305e79(0x11f)]),_0x4f1bb0[_0x305e79(0x1df)](this),this[_0x305e79(0x128)](),super[_0x305e79(0x136)]();}async[_0x2e4276(0xfd)](_0x13f2c3){const _0x246781=_0x2e4276;if(this[_0x246781(0x14c)]!==_0x13f2c3[_0x246781(0x14c)]&&this[_0x246781(0x198)]!==_0x13f2c3[_0x246781(0x107)])throw new X();return this[_0x246781(0x14c)]=_0x13f2c3[_0x246781(0x14c)],this[_0x246781(0x132)]([],{..._0x13f2c3,'wereChangesApplied':!0x1,'data':_0x13f2c3[_0x246781(0x1da)]},_0x246781(0x129));}async[_0x2e4276(0x1eb)](_0x17866b,_0x46f069=!0x1){const _0xfb43b9=_0x2e4276,{connection:_0x2af042}=this[_0xfb43b9(0x1b5)][_0xfb43b9(0x1db)][_0xfb43b9(0x1b0)](_0xece30b);l[_0xfb43b9(0x116)][_0xfb43b9(0x103)](_0x2af042,this[_0xfb43b9(0x11f)])[_0xfb43b9(0x14d)](_0x47d799=>this[_0xfb43b9(0x17d)](_0x47d799))[_0xfb43b9(0x180)](_0x560c0d=>{const _0x16dedb=_0xfb43b9;this[_0x16dedb(0x167)](_0x16dedb(0x1b3),_0x560c0d);}),this[_0xfb43b9(0x10f)](this[_0xfb43b9(0x170)],_0xfb43b9(0x14e),this[_0xfb43b9(0x178)][_0xfb43b9(0xf9)](this)),this[_0xfb43b9(0x10f)](this[_0xfb43b9(0x170)],_0xfb43b9(0x16b),(_0x1b8d55,_0x184b60)=>{const _0x3a23e7=_0xfb43b9;this[_0x3a23e7(0x167)](_0x3a23e7(0x10b),_0x184b60);}),this[_0xfb43b9(0x10f)](this[_0xfb43b9(0x170)],_0xfb43b9(0x1ae),()=>{const _0x488c9f=_0xfb43b9;this[_0x488c9f(0x1e2)]=!0x1;});const _0x13689b=this[_0xfb43b9(0x153)][_0xfb43b9(0x111)](_0x17866b);this[_0xfb43b9(0xfe)]=!0x0;const _0x1c10ed=await this[_0xfb43b9(0x170)][_0xfb43b9(0x1b8)](_0x2af042,this[_0xfb43b9(0x1d8)](_0x17866b),_0x13689b);if(this[_0xfb43b9(0x14c)]=_0x1c10ed[_0xfb43b9(0x14c)],_0x46f069){if(!_0x1c10ed[_0xfb43b9(0xee)])return void this[_0xfb43b9(0x1e9)]();this[_0xfb43b9(0xfe)]=!0x1,this[_0xfb43b9(0x18e)](),this[_0xfb43b9(0x18f)][_0xfb43b9(0x1a2)](),this[_0xfb43b9(0x174)]=_0x1c10ed[_0xfb43b9(0x188)],this[_0xfb43b9(0x18f)][_0xfb43b9(0x1bc)]=this[_0xfb43b9(0x174)],await this[_0xfb43b9(0x132)](_0x17866b,_0x1c10ed,_0xfb43b9(0x115));}else await this[_0xfb43b9(0x145)](_0x1c10ed,_0x17866b);this[_0xfb43b9(0xef)](),this[_0xfb43b9(0x1e2)]=!0x0;}[_0x2e4276(0xef)](){const _0x2967da=_0x2e4276,_0x1bd59a=this[_0x2967da(0x1b5)][_0x2967da(0x1db)][_0x2967da(0x1b0)](_0x405d73),_0x18e023=this[_0x2967da(0x1b5)][_0x2967da(0x1db)][_0x2967da(0x1b0)](_0x267f7f),_0x494869=_0x1bd59a[_0x2967da(0x11c)][_0x2967da(0x1b0)](this[_0x2967da(0x11f)]);_0x494869&&_0x494869[_0x2967da(0x196)]>0x1?_0x18e023[_0x2967da(0x14f)]():this[_0x2967da(0x10f)](_0x1bd59a,_0x2967da(0x1b6)+this[_0x2967da(0x11f)],()=>{const _0x9cb9cd=_0x2967da;0x2===_0x1bd59a[_0x9cb9cd(0x11c)][_0x9cb9cd(0x1b0)](this[_0x9cb9cd(0x11f)])[_0x9cb9cd(0x196)]&&_0x18e023[_0x9cb9cd(0x14f)]();});}async[_0x2e4276(0x178)](_0x4d078d,_0x26ef3f,_0x45426d,_0x2a0492){const _0x3e4d2b=_0x2e4276;if(!this[_0x3e4d2b(0xfe)]&&this[_0x3e4d2b(0x1d3)][_0x3e4d2b(0x1bc)]==_0x26ef3f){const _0x196398=this[_0x3e4d2b(0x13b)](_0x45426d,_0x2a0492);await this[_0x3e4d2b(0x197)](_0x196398),this[_0x3e4d2b(0x1b1)](_0x196398,_0x26ef3f,_0x45426d[_0x3e4d2b(0x107)])||this[_0x3e4d2b(0x167)](_0x3e4d2b(0x13f));}}async[_0x2e4276(0x1a4)](){const _0x1a18d0=_0x2e4276;this[_0x1a18d0(0x128)]();const {locale:_0x23ad75}=this[_0x1a18d0(0x1b5)];let _0x1d33fe;try{_0x1d33fe=await this[_0x1a18d0(0x170)][_0x1a18d0(0x105)]();}catch(_0x444319){const _0x83e23a=_0x285daf(_0x23ad75,_0x1a18d0(0xf3));return void this[_0x1a18d0(0x1e9)](_0x83e23a);}const _0x31e14d=_0x1d33fe[_0x1a18d0(0x1ea)]||_0x1d33fe[_0x1a18d0(0x17b)];if(this[_0x1a18d0(0x198)]===_0x31e14d[_0x1a18d0(0x107)])await this[_0x1a18d0(0x1eb)](this[_0x1a18d0(0x1b5)][_0x1a18d0(0x1e8)][_0x1a18d0(0x149)][_0x1a18d0(0x118)][_0x1a18d0(0x18d)](),!0x0);else{const _0x6c2b6d=_0x285daf(_0x23ad75,_0x1a18d0(0x17f));this[_0x1a18d0(0x1e9)](_0x6c2b6d);}}[_0x2e4276(0x128)](){const _0x49e5c2=_0x2e4276;this[_0x49e5c2(0x170)][_0x49e5c2(0x1af)](),this[_0x49e5c2(0x182)]=[],clearTimeout(this[_0x49e5c2(0x1cf)]),this[_0x49e5c2(0x11a)](this[_0x49e5c2(0x170)]);}[_0x2e4276(0x17d)](_0x550758){const _0x21a75f=_0x2e4276,_0x3f4875=this[_0x21a75f(0x1b5)][_0x21a75f(0x1db)][_0x21a75f(0x1b0)](_0x405d73);this[_0x21a75f(0x10f)](_0x3f4875,_0x21a75f(0x1b6)+this[_0x21a75f(0x11f)],(_0x1a0bb3,{session:_0x649536})=>{const _0x2523a9=_0x21a75f;if(_0x649536['id']===_0x3f4875[_0x2523a9(0x122)]){_0x1a0bb3[_0x2523a9(0x1a5)]();const _0x6e9de5=this[_0x2523a9(0x1b5)][_0x2523a9(0x1db)][_0x2523a9(0x163)](_0x2523a9(0x1e0))&&this[_0x2523a9(0x1b5)][_0x2523a9(0x1db)][_0x2523a9(0x1b0)](_0x2523a9(0x1e0));let _0x5e708b=_0x649536[_0x2523a9(0x1cb)];_0x6e9de5&&_0x6e9de5[_0x2523a9(0x15b)]&&(_0x5e708b=_0x5e708b[_0x2523a9(0x12f)](_0x175773=>_0x2523a9(0xf7)!==_0x175773)),this[_0x2523a9(0x1b5)][_0x2523a9(0x1db)][_0x2523a9(0x1b0)](_0x2523a9(0x10e))[_0x2523a9(0x19e)](_0x5e708b,this[_0x2523a9(0x11f)]);}}),_0x3f4875[_0x21a75f(0x18a)](this[_0x21a75f(0x11f)],_0x550758);}[_0x2e4276(0x1a6)](){const _0x243fe7=_0x2e4276,_0xb96d7f=this[_0x243fe7(0x1b5)][_0x243fe7(0x1da)][_0x243fe7(0x187)];this[_0x243fe7(0x1b5)][_0x243fe7(0x1da)][_0x243fe7(0x187)]=(..._0x2c2bbd)=>{const _0x39f4e4=_0x243fe7;if(!_0x2c2bbd[_0x2c2bbd[_0x39f4e4(0x196)]-0x1][_0x39f4e4(0x127)])throw new _0x25d791(_0x39f4e4(0xf5),this);_0xb96d7f[_0x39f4e4(0x184)](this[_0x39f4e4(0x1b5)][_0x39f4e4(0x1da)],_0x2c2bbd);};}[_0x2e4276(0x137)](){const _0x5acb3f=_0x2e4276;this[_0x5acb3f(0x1b5)][_0x5acb3f(0x1da)]['on'](_0x5acb3f(0xf8),(_0x1aad36,[_0x4ede0a])=>{const _0x312fb2=_0x5acb3f;if(this[_0x312fb2(0x1d3)][_0x312fb2(0x1bc)])throw new _0x25d791(_0x312fb2(0x155),this);_0x1aad36[_0x312fb2(0x134)](),this[_0x312fb2(0x1e5)]();const _0x51cd93=this[_0x312fb2(0x1b5)][_0x312fb2(0x172)][_0x312fb2(0x1b0)](_0x312fb2(0x175)),_0x1145e0=this[_0x312fb2(0x130)](_0x4ede0a,_0x51cd93);0x0==_0x1145e0[_0x312fb2(0x196)]&&_0x1145e0[_0x312fb2(0x123)](new _0x3b01c9(0x0)),_0x1aad36[_0x312fb2(0x18b)]=this[_0x312fb2(0x1eb)](_0x1145e0)[_0x312fb2(0x14d)](()=>{const _0x4e86ac=_0x312fb2;this[_0x4e86ac(0x1b5)][_0x4e86ac(0x1db)][_0x4e86ac(0x1b0)](_0xece30b)[_0x4e86ac(0x16c)](this),this[_0x4e86ac(0x1b5)][_0x4e86ac(0x1da)][_0x4e86ac(0x15d)](_0x4e86ac(0x13e));})[_0x312fb2(0x180)](_0x49409b=>this[_0x312fb2(0x167)](_0x312fb2(0x100),_0x49409b))[_0x312fb2(0x1e6)](()=>this[_0x312fb2(0x18e)]());},{'priority':_0x5acb3f(0x11d)}),this[_0x5acb3f(0x1b5)]['on'](_0x5acb3f(0x194),async(_0x5e9f36,[_0x34c904,_0x42cd9f])=>{const _0x5cb915=_0x5acb3f;_0x5e9f36[_0x5cb915(0x134)]();const _0x2b46c0=this[_0x5cb915(0x1b5)][_0x5cb915(0x1e8)][_0x5cb915(0x149)][_0x5cb915(0x17a)](_0x34c904);if(!this[_0x5cb915(0x1b2)][_0x5cb915(0x163)](_0x34c904)){const _0xc915fb=_0x42cd9f&&_0x42cd9f[_0x5cb915(0x1da)]?_0x42cd9f[_0x5cb915(0x1da)]:'',_0x3ff0c0=_0x42cd9f&&_0x42cd9f[_0x5cb915(0x164)]?_0x42cd9f[_0x5cb915(0x164)]:{};await this[_0x5cb915(0x15e)](_0x34c904,_0xc915fb,_0x3ff0c0);}this[_0x5cb915(0x1b5)][_0x5cb915(0x1e8)][_0x5cb915(0x135)]({'isUndoable':!0x1},()=>{const _0x5f0971=_0x5cb915;_0x2b46c0[_0x5f0971(0x19f)]=!0x0,this[_0x5f0971(0x1b5)][_0x5f0971(0x1e8)][_0x5f0971(0x149)][_0x5f0971(0x199)][_0x5f0971(0x133)](_0x2b46c0);});},{'priority':_0x5acb3f(0x11d)});}async[_0x2e4276(0x197)](_0x5cfd05){const _0xa05900=_0x2e4276,_0x4b9020=this[_0xa05900(0x1b5)][_0xa05900(0x1db)][_0xa05900(0x1b0)](_0x5786d8),{connection:_0x5116f5}=this[_0xa05900(0x1b5)][_0xa05900(0x1db)][_0xa05900(0x1b0)](_0xece30b),_0x59ee8b=new Set();for(const _0x5e514d of _0x5cfd05){const _0x5d43a1=_0x5e514d[_0xa05900(0x165)];_0x5d43a1&&!_0x4b9020[_0xa05900(0xf0)](_0x5d43a1)&&_0x59ee8b[_0xa05900(0x1d4)](_0x5d43a1);}if(0x0===_0x59ee8b[_0xa05900(0x113)])return;const _0x2cefbc=await _0x4aae7e[_0xa05900(0x1e3)](_0x5116f5,Array[_0xa05900(0x1d1)](_0x59ee8b));for(const _0x3bd5ae of _0x2cefbc)_0x4b9020[_0xa05900(0xf0)](_0x3bd5ae['id'])||_0x4b9020[_0xa05900(0x1ac)](_0x3bd5ae);}[_0x2e4276(0x130)](_0x27c1e7,_0x59c5af={}){const _0x1f362d=_0x2e4276,_0x2e9ed5=this[_0x1f362d(0x1b5)][_0x1f362d(0x1e8)],_0x199605=[];let _0x2490ff=0x0;const _0x7834d3=_0x1f362d(0x193)==typeof _0x27c1e7?{'main':_0x27c1e7}:_0x27c1e7;for(const _0x4e9c23 of Object[_0x1f362d(0x159)](_0x7834d3)){if(!this[_0x1f362d(0x1d3)][_0x1f362d(0x1ab)][_0x1f362d(0x163)](_0x4e9c23))throw new _0x25d791(_0x1f362d(0x1ad),this);const _0x5942a5=this[_0x1f362d(0x1b5)][_0x1f362d(0x1da)][_0x1f362d(0xfb)](_0x7834d3[_0x4e9c23]),_0x23ab35=this[_0x1f362d(0x1d3)][_0x1f362d(0x17a)](_0x4e9c23),_0x39437b=new _0x58d617(_0x2e9ed5[_0x1f362d(0x186)](_0x23ab35,0x0),_0x5942a5,_0x2490ff++);_0x199605[_0x1f362d(0x123)](_0x39437b);for(const [_0x5560bc,_0x186f3c]of _0x5942a5[_0x1f362d(0x189)]){const _0x555198=_0x2e9ed5[_0x1f362d(0x179)](_0x2e9ed5[_0x1f362d(0xff)](_0x23ab35,_0x186f3c[_0x1f362d(0xed)][_0x1f362d(0x1bd)][_0x1f362d(0x191)]()),_0x2e9ed5[_0x1f362d(0xff)](_0x23ab35,_0x186f3c[_0x1f362d(0x1bf)][_0x1f362d(0x1bd)][_0x1f362d(0x191)]())),_0x394134=new _0x26d6f4(_0x5560bc,null,_0x555198,_0x2e9ed5[_0x1f362d(0x189)],!0x0,_0x2490ff++);_0x199605[_0x1f362d(0x123)](_0x394134);}}if(_0x59c5af)for(const [_0x348b9d,_0x53dd4d]of Object[_0x1f362d(0x166)](_0x59c5af)){const _0x1055d6=_0x2e9ed5[_0x1f362d(0x149)][_0x1f362d(0x17a)](_0x348b9d);if(!_0x1055d6)throw new _0x25d791(_0x1f362d(0x124),null);for(const [_0x505e1f,_0x34025f]of Object[_0x1f362d(0x166)](_0x53dd4d))if(null!==_0x34025f){const _0x57724f=new _0x49d9dc(_0x1055d6,_0x505e1f,null,_0x34025f,_0x2490ff++);_0x199605[_0x1f362d(0x123)](_0x57724f);}}return _0x199605;}async[_0x2e4276(0x15e)](_0x2907b5,_0x335ebc,_0x5613d2){const _0x2eb4ee=_0x2e4276;this[_0x2eb4ee(0x130)]({[_0x2907b5]:_0x335ebc},{[_0x2907b5]:_0x5613d2})[_0x2eb4ee(0x19c)]((_0x1ad936,_0x5c94db)=>{const _0x1a02c7=_0x2eb4ee;_0x1ad936[_0x1a02c7(0x16a)]=this[_0x1a02c7(0x1d3)][_0x1a02c7(0x1bc)]+_0x5c94db,_0x1ad936[_0x1a02c7(0x1c9)]=!0x0,this[_0x1a02c7(0x18c)](_0x1ad936);}),this[_0x2eb4ee(0x101)](),await this[_0x2eb4ee(0xf4)]();}async[_0x2e4276(0x145)](_0x3eecdb,_0xf6e9e){const _0x2aba39=_0x2e4276;let _0xafc96f;this[_0x2aba39(0x174)]=_0x3eecdb[_0x2aba39(0x188)];const _0x565bca=_0x3eecdb[_0x2aba39(0xee)]&&!_0x3eecdb[_0x2aba39(0x1b9)],_0x2cd507=_0x565bca?0x0:_0x3eecdb[_0x2aba39(0x1da)][_0x2aba39(0x16a)];if(_0xf6e9e[_0x2aba39(0x19c)](_0x271673=>{const _0x34787c=_0x2aba39;_0x271673[_0x34787c(0x1c9)]=!0x0,_0x271673[_0x34787c(0x177)]=_0x3eecdb[_0x34787c(0x1f0)],_0x271673[_0x34787c(0x165)]=null;}),_0x565bca)_0xafc96f=_0xf6e9e,this[_0x2aba39(0x157)](_0xafc96f,_0x565bca);else{if(_0x3eecdb[_0x2aba39(0x1b9)]){const _0x2dc71b=this[_0x2aba39(0x130)](_0x3eecdb[_0x2aba39(0x1b9)]);this[_0x2aba39(0x1d3)][_0x2aba39(0x118)][_0x2aba39(0x1bc)]=-_0x2dc71b[_0x2aba39(0x196)],_0x2dc71b[_0x2aba39(0x19c)](_0x107ad2=>{const _0x109baa=_0x2aba39;_0x107ad2[_0x109baa(0x16a)]-=_0x2dc71b[_0x109baa(0x196)],_0x107ad2[_0x109baa(0x177)]=_0x3eecdb[_0x109baa(0x1f0)],_0x107ad2[_0x109baa(0x1c9)]=!0x0,_0x107ad2[_0x109baa(0x165)]=null;}),this[_0x2aba39(0x157)](_0x2dc71b,!0x0),this[_0x2aba39(0x18f)][_0x2aba39(0x1bc)]=-_0x2dc71b[_0x2aba39(0x196)]+this[_0x2aba39(0x174)],this[_0x2aba39(0x19d)](_0x2dc71b);}this[_0x2aba39(0x1d3)][_0x2aba39(0x118)][_0x2aba39(0x1bc)]=_0x2cd507,_0xafc96f=this[_0x2aba39(0x13b)](_0x3eecdb[_0x2aba39(0x1da)],_0x3eecdb[_0x2aba39(0x108)]),await this[_0x2aba39(0x197)](_0xafc96f),this[_0x2aba39(0x157)](_0xafc96f,_0x565bca);}_0x3eecdb[_0x2aba39(0x107)]&&(this[_0x2aba39(0x153)][_0x2aba39(0x1e1)](_0xafc96f,_0x3eecdb[_0x2aba39(0x107)]),this[_0x2aba39(0x198)]=_0x3eecdb[_0x2aba39(0x107)]),this[_0x2aba39(0x18f)][_0x2aba39(0x1bc)]=_0x2cd507+this[_0x2aba39(0x174)],this[_0x2aba39(0x19d)](_0xafc96f),_0xf6e9e[_0x2aba39(0x12f)](_0x5834f8=>{const _0x346417=_0x2aba39,_0x4e3115=this[_0x346417(0x1c8)](_0x5834f8);return _0x4e3115&&!this[_0x346417(0x1b2)][_0x346417(0x163)](_0x4e3115);})[_0x2aba39(0x19c)]((_0x4c9e1f,_0x23b972)=>{const _0x5247a9=_0x2aba39;_0x4c9e1f[_0x5247a9(0x16a)]=this[_0x5247a9(0x1d3)][_0x5247a9(0x1bc)]+_0x23b972,this[_0x5247a9(0x18c)](_0x4c9e1f);}),this[_0x2aba39(0x12e)]()?(this[_0x2aba39(0x14a)]=0x0,this[_0x2aba39(0x101)](!0x0),await this[_0x2aba39(0xf4)]()):(this[_0x2aba39(0xfe)]=!0x1,this[_0x2aba39(0x18e)]());}[_0x2e4276(0x167)](_0x4a79b3,_0x67c31f){const _0x51f7b0=_0x2e4276;throw this[_0x51f7b0(0xfe)]=!0x0,_0x67c31f&&console[_0x51f7b0(0x16b)](_0x67c31f),new _0x25d791(_0x4a79b3,this[_0x51f7b0(0x1b5)]);}[_0x2e4276(0x18c)](_0x520604){const _0x2bd278=_0x2e4276;this[_0x2bd278(0x144)][_0x2bd278(0x163)](_0x520604)||(this[_0x2bd278(0x144)][_0x2bd278(0x1d4)](_0x520604),this[_0x2bd278(0x182)][_0x2bd278(0x123)](_0x520604),this[_0x2bd278(0x114)]||_0x2bd278(0x16f)==_0x520604[_0x2bd278(0x1c2)]&&!_0x520604[_0x2bd278(0x1a0)]||this[_0x2bd278(0x1e5)]());}[_0x2e4276(0x101)](_0x245773=!0x1){const _0x12bb0c=_0x2e4276;!_0x245773&&this[_0x12bb0c(0xfe)]||(this[_0x12bb0c(0xfe)]=!0x0,clearTimeout(this[_0x12bb0c(0x1cf)]),this[_0x12bb0c(0x1cf)]=setTimeout(()=>{const _0x5ae0f2=_0x12bb0c;this[_0x5ae0f2(0x15a)]()[_0x5ae0f2(0x14d)](_0x47ccdd=>{const _0x3b31a5=_0x5ae0f2;_0x47ccdd&&(this[_0x3b31a5(0x18e)](),this[_0x3b31a5(0xfe)]=!0x1);})[_0x5ae0f2(0x180)](_0x8fe560=>{const _0x586c19=_0x5ae0f2;if(this[_0x586c19(0x18e)](),this[_0x586c19(0xfe)]=!0x1,!function(_0x543e79){const _0xd585d8=_0x586c19;return _0x543e79[_0xd585d8(0x1ee)][_0xd585d8(0x117)](_0xd585d8(0x147))||_0x543e79[_0xd585d8(0x1ee)][_0xd585d8(0x117)](_0xd585d8(0x140))||_0x543e79[_0xd585d8(0x1ee)][_0xd585d8(0x117)](_0xd585d8(0x104));}(_0x8fe560))throw _0x8fe560;});},this[_0x12bb0c(0x14a)]));}[_0x2e4276(0xf4)](){return new Promise(_0x3cffe7=>{const _0x1f469b=_0x4e9b;this['on'](_0x1f469b(0x141),()=>{_0x3cffe7();});});}async[_0x2e4276(0x15a)](){const _0x44ef90=_0x2e4276,_0x52edb7=this[_0x44ef90(0x1b5)][_0x44ef90(0x1db)][_0x44ef90(0x1b0)](_0x267f7f);if(this[_0x44ef90(0x150)]()&&(_0x52edb7[_0x44ef90(0x14f)](),this[_0x44ef90(0xeb)]=!0x1),!this[_0x44ef90(0x12e)]())return!0x0;const _0x260732=[...this[_0x44ef90(0x182)]];for(const _0x344859 of _0x260732)_0x344859[_0x44ef90(0x15f)]=this[_0x44ef90(0x1d3)][_0x44ef90(0x118)][_0x44ef90(0x13d)](_0x344859);const _0x245430=this[_0x44ef90(0x153)][_0x44ef90(0x111)](_0x260732),_0x6dfa4=Q++,_0x1cc387=this[_0x44ef90(0x1d8)](_0x260732),_0x24aa58=await this[_0x44ef90(0x170)][_0x44ef90(0x143)](_0x1cc387,_0x1cc387[_0x44ef90(0x16a)],_0x245430);try{return await this[_0x44ef90(0x132)](_0x260732,_0x24aa58,_0x6dfa4);}catch(_0x20e704){return this[_0x44ef90(0x167)](_0x44ef90(0x1a8),_0x20e704);}}async[_0x2e4276(0x132)](_0x251935,_0x598656,_0x28e77f){const _0x2065d3=_0x2e4276;if(_0x2065d3(0x16b)in _0x598656)throw _0x598656[_0x2065d3(0x16b)];let _0x9c59f0=!0x1;if(_0x598656[_0x2065d3(0xee)]){_0x598656[_0x2065d3(0x107)]&&(this[_0x2065d3(0x198)]=_0x598656[_0x2065d3(0x107)]),this[_0x2065d3(0x182)]=this[_0x2065d3(0x182)][_0x2065d3(0x12f)](_0x1da0e0=>!_0x251935[_0x2065d3(0x17c)](_0x1da0e0));for(const _0x3771a9 of _0x251935)_0x3771a9[_0x2065d3(0x177)]=_0x2065d3(0x1d0)in _0x598656&&_0x598656[_0x2065d3(0x1d0)]||void 0x0;Y(_0x251935,_0x598656[_0x2065d3(0x1bc)]-_0x251935[_0x2065d3(0x196)]),this[_0x2065d3(0x19d)](_0x251935);const _0x510ba4=_0x251935[_0x2065d3(0x12f)](_0x53e1b9=>{const _0x32d477=_0x2065d3;if(!_0x53e1b9[_0x32d477(0x1c9)])return!0x1;const _0x132404=this[_0x32d477(0x1c8)](_0x53e1b9);return _0x132404&&!this[_0x32d477(0x1b2)][_0x32d477(0x163)](_0x132404);});Y(_0x510ba4,this[_0x2065d3(0x1d3)][_0x2065d3(0x1bc)]),this[_0x2065d3(0x157)](_0x510ba4),_0x9c59f0=!0x0,this[_0x2065d3(0x14a)]=this[_0x2065d3(0x1c7)];}else{const _0x5df402=this[_0x2065d3(0x13b)](_0x598656[_0x2065d3(0x1da)],_0x598656[_0x2065d3(0x108)])[_0x2065d3(0x12f)](_0x1a6381=>_0x1a6381[_0x2065d3(0x16a)]>=this[_0x2065d3(0x16d)]);_0x5df402[_0x2065d3(0x19c)](_0x43c355=>this[_0x2065d3(0x176)](_0x43c355)),this[_0x2065d3(0x182)]=this[_0x2065d3(0x182)][_0x2065d3(0x12f)](_0x408485=>!_0x408485[_0x2065d3(0x1c9)]||!this[_0x2065d3(0x1b2)][_0x2065d3(0x163)](this[_0x2065d3(0x1c8)](_0x408485))),this[_0x2065d3(0x182)][_0x2065d3(0x196)]&&Y(this[_0x2065d3(0x182)],this[_0x2065d3(0x182)][0x0][_0x2065d3(0x16a)]),await this[_0x2065d3(0x197)](_0x5df402),_0x9c59f0=this[_0x2065d3(0x1b1)](_0x5df402,_0x598656[_0x2065d3(0x1bc)],_0x598656[_0x2065d3(0x107)]),this[_0x2065d3(0x14a)]=Math[_0x2065d3(0x102)](this[_0x2065d3(0x14a)]/0x2);}return _0x9c59f0?!this[_0x2065d3(0x12e)]()||(this[_0x2065d3(0x101)](!0x0),!0x1):this[_0x2065d3(0x167)](_0x2065d3(0x1ec));}[_0x2e4276(0x1b1)](_0x2e7a63,_0x2072ed,_0x2a346a){const _0x3ca07f=_0x2e4276;try{const _0x2db667={'document':this[_0x3ca07f(0x1d3)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x511297,operationsB:_0x2756dd,originalOperations:_0x487bb2}=_0x52f1de(_0x2e7a63,this[_0x3ca07f(0x182)],_0x2db667);Y(_0x511297,this[_0x3ca07f(0x1d3)][_0x3ca07f(0x1bc)]),Y(_0x2756dd,_0x2072ed);for(const _0x1d9d63 of _0x511297){const _0x2455ec=_0x487bb2[_0x3ca07f(0x1b0)](_0x1d9d63);_0x1d9d63[_0x3ca07f(0x165)]=_0x2455ec?_0x2455ec[_0x3ca07f(0x165)]:null;}_0x2a346a&&(this[_0x3ca07f(0x153)][_0x3ca07f(0x1e1)](_0x2e7a63,_0x2a346a),this[_0x3ca07f(0x198)]=_0x2a346a),this[_0x3ca07f(0x182)]=[..._0x2756dd],this[_0x3ca07f(0x157)](_0x511297),this[_0x3ca07f(0x19d)](_0x2e7a63);}catch(_0x5904f5){return console[_0x3ca07f(0x16b)](_0x5904f5),!0x1;}return!0x0;}[_0x2e4276(0x157)](_0x1e3479,_0x4f1621=!0x1){const _0x441a9c=_0x2e4276;this[_0x441a9c(0x1b5)][_0x441a9c(0x1e8)][_0x441a9c(0x135)]({'isUndoable':!0x1,'isLocal':!0x1},_0x36cf94=>{const _0x13fdc3=_0x441a9c;for(const _0x25361d of _0x1e3479)this[_0x13fdc3(0x144)][_0x13fdc3(0x1d4)](_0x25361d),this[_0x13fdc3(0x176)](_0x25361d),_0x36cf94[_0x13fdc3(0x171)][_0x13fdc3(0x1d2)](_0x25361d),this[_0x13fdc3(0x1b5)][_0x13fdc3(0x1e8)][_0x13fdc3(0x162)](_0x25361d);});}[_0x2e4276(0x176)](_0x4b7101){const _0x568efb=_0x2e4276,_0x4bf706=this[_0x568efb(0x1c8)](_0x4b7101);_0x4bf706&&this[_0x568efb(0x1b2)][_0x568efb(0x1d4)](_0x4bf706);}[_0x2e4276(0x1c8)](_0x4b38b9){const _0x1c52be=_0x2e4276;let _0x283d71,_0x4a75da;switch(_0x4b38b9[_0x1c52be(0x1c2)]){case _0x1c52be(0x142):_0x283d71=_0x4b38b9[_0x1c52be(0x169)][_0x1c52be(0x12b)];break;case _0x1c52be(0x16f):if(_0x4a75da=_0x4b38b9[_0x1c52be(0x1ce)],!_0x4a75da)return null;_0x283d71=_0x4a75da[_0x1c52be(0x12b)];break;case _0x1c52be(0x1a3):_0x283d71=_0x4b38b9[_0x1c52be(0x12b)];break;case _0x1c52be(0x112):_0x283d71=_0x4b38b9[_0x1c52be(0x1ef)];break;case _0x1c52be(0x110):_0x283d71=_0x4b38b9[_0x1c52be(0x15c)][_0x1c52be(0x12b)];break;default:return null;}return _0x283d71[_0x1c52be(0x1d9)];}[_0x2e4276(0x19d)](_0x4474fb){const _0xd5baab=_0x2e4276;_0x4474fb[_0xd5baab(0x19c)](_0x3072aa=>{const _0x54f6e7=_0xd5baab,_0x2702fd=_0x3072aa[_0x54f6e7(0x1a1)]();_0x2702fd[_0x54f6e7(0x165)]=_0x3072aa[_0x54f6e7(0x165)],_0x2702fd[_0x54f6e7(0x1c9)]=!!_0x3072aa[_0x54f6e7(0x1c9)],_0x2702fd[_0x54f6e7(0x177)]=_0x3072aa[_0x54f6e7(0x177)],_0x2702fd[_0x54f6e7(0x16a)]+=this[_0x54f6e7(0x174)],_0x3072aa[_0x54f6e7(0xec)]&&this[_0x54f6e7(0xfc)][_0x54f6e7(0x1d4)](_0x2702fd),this[_0x54f6e7(0x18f)][_0x54f6e7(0x1d2)](_0x2702fd);});}[_0x2e4276(0x1e9)](_0x477bf9){const _0x44112c=_0x2e4276,_0x4e7862=this[_0x44112c(0x1b5)][_0x44112c(0x1db)][_0x44112c(0x1b0)](_0x44112c(0x161)),_0x1dd671=this[_0x44112c(0x1b5)][_0x44112c(0x1c6)];_0x477bf9||(_0x477bf9=_0x285daf(_0x1dd671,_0x44112c(0x146))),_0x4e7862[_0x44112c(0x1d7)](_0x477bf9,{'title':_0x285daf(_0x1dd671,_0x44112c(0x1a9)),'namespace':_0x44112c(0x1d6)}),this[_0x44112c(0x19b)]=!0x0,clearTimeout(this[_0x44112c(0x1cf)]),this[_0x44112c(0x182)]=[],this[_0x44112c(0x1b5)][_0x44112c(0x1db)][_0x44112c(0x1b0)](_0xece30b)[_0x44112c(0x136)]();}[_0x2e4276(0x1e5)](){const _0x416ea=_0x2e4276;this[_0x416ea(0x114)]||(this[_0x416ea(0x114)]=this[_0x416ea(0x1b5)][_0x416ea(0x1db)][_0x416ea(0x1b0)](_0x142f52)[_0x416ea(0x1d4)](_0x285daf(this[_0x416ea(0x1b5)][_0x416ea(0x1c6)],_0x416ea(0x1c1))));}[_0x2e4276(0x18e)](){const _0x3f4de3=_0x2e4276;this[_0x3f4de3(0x114)]&&(this[_0x3f4de3(0x1b5)][_0x3f4de3(0x1db)][_0x3f4de3(0x1b0)](_0x142f52)[_0x3f4de3(0x126)](this[_0x3f4de3(0x114)]),this[_0x3f4de3(0x114)]=null);}[_0x2e4276(0x1d8)](_0x151f01){const _0x1c6a15=_0x2e4276,_0x2ffb03=_0x151f01[_0x1c6a15(0x19a)](_0x4005a0=>_0x4005a0[_0x1c6a15(0x1be)]());return this[_0x1c6a15(0x1a7)][_0x1c6a15(0x14b)](_0x2ffb03);}[_0x2e4276(0x13b)](_0x4ca932,_0x1ee213){const _0x4edc40=_0x2e4276;return this[_0x4edc40(0x1a7)][_0x4edc40(0x1dc)](_0x4ca932)[_0x4edc40(0x19a)]((_0x1bf195,_0x35fe84)=>{const _0x4f7f40=_0x4edc40,_0x37299b=_0x4f7f40(0xf8)==_0x1ee213[_0x35fe84][_0x4f7f40(0x1c2)];if(_0x4f7f40(0xf6)==_0x1bf195[_0x4f7f40(0x195)]){const _0x1ae59a=_0x1bf195[_0x4f7f40(0x169)][_0x4f7f40(0x12b)];!this[_0x4f7f40(0x1d3)][_0x4f7f40(0x17a)](_0x1ae59a)&&(this[_0x4f7f40(0x1d3)][_0x4f7f40(0x1d5)](_0x4f7f40(0x168),_0x1ae59a)[_0x4f7f40(0x1cd)]=!0x1);}const _0x27090=_0x196c78[_0x4f7f40(0x152)](_0x1bf195,this[_0x4f7f40(0x1d3)]);return _0x27090[_0x4f7f40(0x15f)]=_0x1bf195[_0x4f7f40(0x15f)],_0x27090[_0x4f7f40(0x1c9)]=_0x37299b,_0x27090[_0x4f7f40(0x165)]=_0x37299b?null:_0x1ee213[_0x35fe84][_0x4f7f40(0x10a)],_0x27090[_0x4f7f40(0xec)]=_0x4f7f40(0x1ed)===_0x1ee213[_0x35fe84][_0x4f7f40(0x1c2)],_0x27090[_0x4f7f40(0x177)]=_0x1ee213[_0x35fe84][_0x4f7f40(0x177)],_0x27090;});}[_0x2e4276(0x1b4)](){const _0x495809=_0x2e4276;this[_0x495809(0xeb)]=!0x0,this[_0x495809(0x150)]()?this[_0x495809(0x101)]():this[_0x495809(0xeb)]=!0x1;}[_0x2e4276(0x150)](){const _0x31c726=_0x2e4276,_0x5232d6=this[_0x31c726(0x1b5)][_0x31c726(0x1db)][_0x31c726(0x1b0)](_0x405d73)[_0x31c726(0x11c)][_0x31c726(0x1b0)](this[_0x31c726(0x11f)]);return!this[_0x31c726(0x1b5)][_0x31c726(0x120)]&&!!_0x5232d6&&_0x5232d6[_0x31c726(0x196)]>0x1&&this[_0x31c726(0xeb)];}[_0x2e4276(0x12e)](){const _0x8d220e=_0x2e4276;return this[_0x8d220e(0x182)][_0x8d220e(0x196)]>0x0||this[_0x8d220e(0x150)]();}}l[_0x2e4276(0x116)]=_0x2dc1ef;export default l;class X extends Error{}function _0x37f2(){const _0x3d3178=['isOfficialPlugin','connect','initData','216TjwkJm','142952duKIOS','version','path','toJSON','end','1356215YVmBHV','PENDING_ACTION_SENDING_DATA','type','enableReadOnlyMode','collaboration-missing-channelid','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','locale','_baseBufferDelay','_getAffectedRoot','_isInit','_ignoredOperations','permissions','change:range','_isAttached','newRange','_sendBufferedOperationsDelayId','lastOperationAcceptedAt','from','addOperation','_document','add','createRoot','real-time-collaboration','showWarning','_compressOperations','rootName','data','plugins','decompress','253gsulQh','code','removeFromReconnectionStack','CommentsOnly','setIdForTheLastOperation','_isConnected','getMany','connected','_setPendingAction','finally','30WbPwFA','model','_handleReconnectionError','currentDocumentSession','_connectService','realtimecollaborationclient-handleserverresponse','cs:removeUser','message','affectedSelectable','sessionCreatedAt','_hasSelectionChanged','_isDisconnection','start','wereChangesApplied','_handleSendingSelectionMarkers','getUser','409','requires','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_waitUntilSynced','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','InsertOperation','document:write','init','bind','1573296fiOdXS','parse','_disconnectionOperations','_handleReconnectionResponse','_isPendingUpdate','createPositionFromPath','realtimecollaborationclient-init-connection-failed','_sendBufferedOperationsDelayed','round','getConnectedSessions','cloud-services-internal-error:\x20Request\x20timeout.','getDocumentDetails','change:_isEditingAllowed','lastOperationId','metadata','rtc-offline','userId','realtimecollaborationclient-initservice-internal-error','407057fmvETY','isDocumentOperation','Permissions','listenTo','move','getIdOfTheLastOperation','addRoot','size','_pendingAction','reconnection:\x20flushed\x20session','CollaborativeEditingService','startsWith','history','selection','stopListening','connection','channelSessions','high','cloudServices.bundleVersion','_channelId','isReadOnly','1BqstUh','mySessionId','push','multi-root-editor-root-attributes-no-root','54cXvYJZ','remove','suppressErrorInCollaboration','_disconnectService','reconnect','directChange','root','2689389nBZjFA','_operationToId','_shouldSendUpdate','filter','_getOperationsFromInitData','disableReadOnlyMode','_handleServerResponse','_bufferRootLoad','stop','enqueueChange','destroy','_setUpDataInit','change:hasDomSelection','define','unregister','_decompressOperations','_isEditingAllowed','isUndoneOperation','ready','realtimecollaborationclient-initservice-incorrect-server-operation','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','change:_isPendingUpdate','insert','sendOperations','_knownOperations','_handleInitialConnectionData','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.','cloud-services-internal-error:\x20Not\x20connected.','cloudDocumentVersion','document','_currentBufferDelay','compress','sessionId','then','operationsReceived','createUserMarkerOperations','_shouldSendSelectionUpdate','RealTimeCollaborationClient','fromJSON','_operationIdentifier','309754cABNzJ','realtimecollaborationclient-init-document-already-initialized','getOperationAuthor','_applyOperationsSet','lastSyncVersion','keys','_sendBufferedOperations','isEnabled','targetPosition','fire','_loadRoot','wasUndone','view','Notification','applyOperation','has','attributes','_authorId','entries','_crash','$root','position','baseVersion','error','addToReconnectionStack','_lastServerVersion','404','marker','_service','batch','config','editing','_offset','rootsAttributes','_addKnownRoot','createdAt','_handleReceivedOperations','createRange','getRoot','lastDocumentSession','includes','_initSessionsHandling','7966632ywpgsU','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.','catch','collaboration.channelId','_bufferedOperations','isPremiumPlugin','apply','collaboration','createPositionAt','set','offset','markers','register','return','_saveOperationInBuffer','getOperations','_clearPendingAction','serverHistory','rtc-destroyed','slice','pluginName','string','loadRoot','__className','length','_fetchMissingUsers','_lastSyncedOperationId','differ','map','_hasSynchronizationProblem','forEach','_updateServerHistory','setPermissions','_isLoaded','affectsData','clone','reset','addRootAttribute','_connectAfterSessionHasBeenFlushed','off','_initThrowingOnDataSet','_compressor','realtimecollaborationclient-sendbufferedoperations','Synchronization\x20issue','state','roots','addUser','realtimecollaborationclient-init-non-existent-root','disconnected','disconnect','get','_handleExternalOperations','_knownRootNames','realtimecollaborationclient-init-session-connection-error','_refreshUserSelectionMarkers','editor','sessionAdd:'];_0x37f2=function(){return _0x3d3178;};return _0x37f2();}function Y(_0x574e89,_0x1378f3){const _0x21d204=_0x2e4276;for(const _0x593681 of _0x574e89)_0x593681[_0x21d204(0x16a)]=_0x1378f3++;}class Z{constructor(_0x26d0c9){const _0x58b1ea=_0x2e4276;this[_0x58b1ea(0x1ca)]=_0x26d0c9,this[_0x58b1ea(0x12d)]=new WeakMap();}[_0x2e4276(0x111)](_0xa82f76){const _0x40d3bb=_0x2e4276;let _0x274884=_0xa82f76[_0x40d3bb(0x196)];for(;_0x274884--;){const _0x71f88a=_0xa82f76[_0x274884];if(!this[_0x40d3bb(0x1ca)][_0x40d3bb(0x163)](_0x71f88a)){if(!this[_0x40d3bb(0x12d)][_0x40d3bb(0x163)](_0x71f88a)){const _0xb26c5e=_0x2cb2e3()[_0x40d3bb(0x191)](0x1,0x12);this[_0x40d3bb(0x12d)][_0x40d3bb(0x187)](_0x71f88a,_0xb26c5e);}return this[_0x40d3bb(0x12d)][_0x40d3bb(0x1b0)](_0x71f88a);}}}[_0x2e4276(0x1e1)](_0xfd4ec9,_0x199542){const _0x13140b=_0x2e4276;if(!_0x199542)return;let _0x30e229=_0xfd4ec9[_0x13140b(0x196)];for(;_0x30e229--;){const _0x27ee48=_0xfd4ec9[_0x30e229];this[_0x13140b(0x1ca)][_0x13140b(0x163)](_0x27ee48)||this[_0x13140b(0x12d)][_0x13140b(0x187)](_0x27ee48,_0x199542);}}}
|
|
23
|
+
const _0x567662=_0x5dc9;function _0x5dc9(_0x4da217,_0x57ab9b){const _0x12ff9a=_0x12ff();return _0x5dc9=function(_0x5dc9a3,_0xb34655){_0x5dc9a3=_0x5dc9a3-0x119;let _0x3f0cae=_0x12ff9a[_0x5dc9a3];return _0x3f0cae;},_0x5dc9(_0x4da217,_0x57ab9b);}(function(_0x40398c,_0x142c4a){const _0x1ebdfa=_0x5dc9,_0x4c5778=_0x40398c();while(!![]){try{const _0x1acf99=parseInt(_0x1ebdfa(0x215))/0x1*(-parseInt(_0x1ebdfa(0x165))/0x2)+-parseInt(_0x1ebdfa(0x1bd))/0x3*(-parseInt(_0x1ebdfa(0x14e))/0x4)+parseInt(_0x1ebdfa(0x166))/0x5+-parseInt(_0x1ebdfa(0x1a6))/0x6*(-parseInt(_0x1ebdfa(0x1e2))/0x7)+parseInt(_0x1ebdfa(0x155))/0x8+-parseInt(_0x1ebdfa(0x14a))/0x9*(-parseInt(_0x1ebdfa(0x153))/0xa)+-parseInt(_0x1ebdfa(0x188))/0xb;if(_0x1acf99===_0x142c4a)break;else _0x4c5778['push'](_0x4c5778['shift']());}catch(_0x52e31a){_0x4c5778['push'](_0x4c5778['shift']());}}}(_0x12ff,0x4c169));import{Plugin as _0x2f9087,PendingActions as _0x5d2ee6}from'ckeditor5/src/core.js';import{CKEditorError as _0x5a9d0e,version as _0x227736,uid as _0x5a3941}from'ckeditor5/src/utils.js';import{Notification as _0x1b7754}from'ckeditor5/src/ui.js';import{transformSets as _0x3beb65,NoOperation as _0x3f60a8,InsertOperation as _0x57133d,MarkerOperation as _0x509406,RootAttributeOperation as _0x35a314,OperationFactory as _0x1bf0da,History as _0x2cad4c}from'ckeditor5/src/engine.js';import _0x169495 from'./websocketgateway.js';import _0x1d555e from'./sessions.js';import _0x38c754 from'./usermarkers.js';import{getTranslation as _0x2d22fb}from'../common-translations.js';import{Compressor as _0x31c90b}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1542c5}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x12ff(){const _0x267d6e=['_lastSyncedOperationId','_getAffectedRoot','isPremiumPlugin','return','history','serverHistory','_compressor','RealTimeCollaborationClient','createUserMarkerOperations','_operationToId','Synchronization\x20issue','390AWJKDW','move','_isAttached','cs:removeUser','removeFromReconnectionStack','getDocumentDetails','addOperation','cloud-services-internal-error:\x20Request\x20timeout.','_isInit','set','realtimecollaborationclient-init-session-connection-error','fire','getOperations','getIdOfTheLastOperation','realtimecollaborationclient-init-connection-failed','isUndoneOperation','initData','isOfficialPlugin','from','connect','rootName','has','setPermissions','destroy','fromJSON','toJSON','view','document:write','applyOperation','model','finally','_isEditingAllowed','_currentBufferDelay','version','push','lastSyncVersion','offset','7KEXAoo','add','_hasSynchronizationProblem','_initSessionsHandling','_refreshUserSelectionMarkers','rootsAttributes','filter','_hasSelectionChanged','_authorId','createPositionAt','sessionAdd:','affectedSelectable','409','editing','channelSessions','config','start','connection','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.','_addKnownRoot','rtc-offline','$root','rtc-destroyed','_shouldSendSelectionUpdate','position','clone','data','_sendBufferedOperationsDelayed','document','permissions','change:hasDomSelection','Permissions','pluginName','parse','includes','createRoot','markers','baseVersion','define','reconnect','off','map','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_applyOperationsSet','_connectService','operationsReceived','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','isEnabled','sendOperations','_fetchMissingUsers','_sendBufferedOperationsDelayId','339145kCEIZh','getOperationAuthor','_shouldSendUpdate','reset','string','_loadRoot','round','keys','type','sessionCreatedAt','CollaborativeEditingService','realtimecollaborationclient-init-document-already-initialized','_handleSendingSelectionMarkers','_handleInitialConnectionData','bind','remove','root','compress','_compressOperations','loadRoot','_pendingAction','real-time-collaboration','_clearPendingAction','disconnect','size','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','realtimecollaborationclient-initservice-internal-error','_operationIdentifier','change:_isPendingUpdate','path','PENDING_ACTION_SENDING_DATA','newRange','realtimecollaborationclient-handleserverresponse','differ','_sendBufferedOperations','_disconnectService','_handleReconnectionError','_service','editor','cloudDocumentVersion','metadata','then','mySessionId','cloudServices.bundleVersion','connected','createPositionFromPath','sessionId','selection','ready','enableReadOnlyMode','addUser','_knownRootNames','stop','CommentsOnly','showWarning','marker','_decompressOperations','getConnectedSessions','69705uzyzcA','_knownOperations','disableReadOnlyMode','end','16312bNBZaZ','attributes','code','length','enqueueChange','220gnQxjS','_setPendingAction','2786152jYXPlW','roots','InsertOperation','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_initThrowingOnDataSet','_waitUntilSynced','_handleReceivedOperations','lastOperationId','disconnected','locale','_isPendingUpdate','plugins','_connectAfterSessionHasBeenFlushed','cloud-services-internal-error:\x20Not\x20connected.','_bufferedOperations','decompress','2JkXQkp','2775385XMXOBk','createdAt','__className','_baseBufferDelay','change:range','_bufferRootLoad','404','requires','state','_ignoredOperations','_channelId','high','realtimecollaborationclient-init-non-existent-root','unregister','_updateServerHistory','reconnection:\x20flushed\x20session','slice','getMany','forEach','wasUndone','multi-root-editor-root-attributes-no-root','_isLoaded','_getOperationsFromInitData','userId','currentDocumentSession','catch','batch','_lastServerVersion','change:_isEditingAllowed','_handleExternalOperations','setIdForTheLastOperation','getRoot','collaboration.channelId','init','16013877NFueob','_crash','collaboration-missing-channelid','lastDocumentSession','affectsData','realtimecollaborationclient-initservice-incorrect-server-operation','_offset','_document','get','_isConnected','isReadOnly','error','startsWith','insert','Notification','addRoot','wereChangesApplied','_saveOperationInBuffer','getUser','stopListening','listenTo','addToReconnectionStack','createRange','realtimecollaborationclient-sendbufferedoperations','targetPosition','_setUpDataInit','_isDisconnection','_disconnectionOperations','collaboration','entries','3016398uMxnKY','directChange','suppressErrorInCollaboration','_handleReconnectionResponse','register','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.','message','_handleServerResponse','addRootAttribute','isDocumentOperation','lastOperationAcceptedAt','apply'];_0x12ff=function(){return _0x267d6e;};return _0x12ff();}import{User as _0x22fcdb,CollaborativeEditingService as _0x2857e3}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x2f9087{static get[_0x567662(0x16d)](){return[_0x169495,_0x1d555e,_0x38c754,_0x5d2ee6,_0x1542c5,_0x1b7754];}static get[_0x567662(0x202)](){const _0x35afbc=_0x567662;return _0x35afbc(0x1b9);}static get[_0x567662(0x1ce)](){return!0x0;}static get[_0x567662(0x1b4)](){return!0x0;}get[_0x567662(0x137)](){const _0x1620fb=_0x567662;return this[_0x1620fb(0x181)]+this[_0x1620fb(0x18e)];}get[_0x567662(0x181)](){const _0x17f8dd=_0x567662;return this[_0x17f8dd(0x1b7)][_0x17f8dd(0x1de)]-this[_0x17f8dd(0x18e)];}get[_0x567662(0x1e0)](){const _0xa75cff=_0x567662,_0x3e1f86=this[_0xa75cff(0x1b7)][_0xa75cff(0x1c9)]();for(let _0x29ed53=_0x3e1f86[_0xa75cff(0x151)]-0x1;_0x29ed53>=0x0;_0x29ed53--){const _0x51124b=_0x3e1f86[_0x29ed53];if(!this[_0xa75cff(0x1a3)][_0xa75cff(0x1d2)](_0x51124b))return _0x51124b[_0xa75cff(0x207)]+0x1-this[_0xa75cff(0x18e)];}return 0x0;}constructor(_0x49b186){const _0x1c8f94=_0x567662;if(super(_0x49b186),this[_0x1c8f94(0x18e)]=0x0,this[_0x1c8f94(0x13e)]=null,this[_0x1c8f94(0x1b7)]=new _0x2cad4c(),this[_0x1c8f94(0x136)][_0x1c8f94(0x1f1)][_0x1c8f94(0x208)](_0x1c8f94(0x1a4),{}),this[_0x1c8f94(0x170)]=this[_0x1c8f94(0x136)][_0x1c8f94(0x1f1)][_0x1c8f94(0x190)](_0x1c8f94(0x186)),!this[_0x1c8f94(0x170)])throw new _0x5a9d0e(_0x1c8f94(0x18a),this);const _0xb0ecb1=_0x49b186[_0x1c8f94(0x1f1)][_0x1c8f94(0x190)](_0x1c8f94(0x13b))||_0x227736;this[_0x1c8f94(0x135)]=new l[(_0x1c8f94(0x11a))](_0xb0ecb1,this[_0x1c8f94(0x170)]),this[_0x1c8f94(0x18f)]=this[_0x1c8f94(0x136)][_0x1c8f94(0x1da)][_0x1c8f94(0x1fe)],this[_0x1c8f94(0x1b8)]=new _0x31c90b(),this[_0x1c8f94(0x163)]=[],this[_0x1c8f94(0x14b)]=new WeakSet(),this[_0x1c8f94(0x143)]=new Set(),this[_0x1c8f94(0x1c6)](_0x1c8f94(0x15f),!0x1),this[_0x1c8f94(0x1c6)](_0x1c8f94(0x1e4),!0x1),this[_0x1c8f94(0x124)]=null,this[_0x1c8f94(0x1e9)]=!0x1,this[_0x1c8f94(0x214)]=null,this[_0x1c8f94(0x169)]=0x12c,this[_0x1c8f94(0x1dd)]=this[_0x1c8f94(0x169)],this[_0x1c8f94(0x1b2)]=null,this[_0x1c8f94(0x1a3)]=new WeakSet(),this[_0x1c8f94(0x12b)]=new X(this[_0x1c8f94(0x1a3)]);}[_0x567662(0x187)](){const _0xa766a=_0x567662,_0x453699=this[_0xa766a(0x136)],_0x538f96=_0x453699[_0xa766a(0x160)][_0xa766a(0x190)](_0x1542c5),_0x1399e9=_0x453699[_0xa766a(0x160)][_0xa766a(0x190)](_0x169495);this[_0xa766a(0x19c)](_0x538f96,_0xa766a(0x216),(_0x124d31,_0x38d1c5)=>{const _0x111e6c=_0xa766a,_0x2976dd=_0x38d1c5[0x0];_0x2976dd[_0x111e6c(0x1ea)]&&(_0x124d31[_0x111e6c(0x1b5)]=_0x538f96[_0x111e6c(0x19a)](_0x2976dd[_0x111e6c(0x1ea)]),_0x124d31[_0x111e6c(0x144)]()),null===_0x2976dd[_0x111e6c(0x1ea)]&&(_0x124d31[_0x111e6c(0x1b5)]=null,_0x124d31[_0x111e6c(0x144)]());},{'priority':_0xa766a(0x171)}),this[_0xa766a(0x19c)](_0x453699[_0xa766a(0x1da)][_0xa766a(0x1fe)][_0xa766a(0x13f)],_0xa766a(0x16a),(_0x2b6bbd,_0x25972f)=>{const _0x36cd72=_0xa766a;_0x25972f[_0x36cd72(0x1a7)]&&this[_0x36cd72(0x1e6)]();}),this[_0xa766a(0x19c)](_0x453699[_0xa766a(0x1ef)][_0xa766a(0x1d7)],_0xa766a(0x200),()=>{const _0x4ea5f5=_0xa766a;this[_0x4ea5f5(0x1e6)]();}),this[_0xa766a(0x159)](),_0x453699[_0xa766a(0x1da)]['on'](_0xa766a(0x1d9),(_0x5ad01f,_0x5f2676)=>{const _0x1fdd71=_0xa766a,_0x3db0b8=_0x5f2676[0x0];_0x3db0b8[_0x1fdd71(0x1af)]&&(this[_0x1fdd71(0x199)](_0x3db0b8),this[_0x1fdd71(0x217)]()&&this[_0x1fdd71(0x1fd)]());}),this[_0xa766a(0x1a1)](),this[_0xa766a(0x11e)](_0xa766a(0x1dc))['to'](_0x1399e9,_0xa766a(0x16e),this,_0xa766a(0x1e4),(_0x568b25,_0x2a50b1)=>_0xa766a(0x13c)===_0x568b25&&!_0x2a50b1),this['on'](_0xa766a(0x182),()=>{const _0x58db53=_0xa766a;this[_0x58db53(0x1dc)]?_0x453699[_0x58db53(0x14c)](_0x58db53(0x1f6)):_0x453699[_0x58db53(0x141)](_0x58db53(0x1f6));}),this[_0xa766a(0x1dc)]?_0x453699[_0xa766a(0x14c)](_0xa766a(0x1f6)):_0x453699[_0xa766a(0x141)](_0xa766a(0x1f6)),this[_0xa766a(0x1c6)](_0xa766a(0x191),!0x1);}async[_0x567662(0x209)](){const _0x2ef827=_0x567662,_0x46f555=this[_0x2ef827(0x136)][_0x2ef827(0x160)][_0x2ef827(0x190)](_0x1d555e),_0x4b54ed=this[_0x2ef827(0x136)][_0x2ef827(0x160)][_0x2ef827(0x190)](_0x169495);try{this[_0x2ef827(0x15f)]=!0x0,_0x46f555[_0x2ef827(0x173)](this[_0x2ef827(0x170)]);const _0x352622=await this[_0x2ef827(0x135)][_0x2ef827(0x209)](_0x4b54ed[_0x2ef827(0x1f3)],this[_0x2ef827(0x1e0)]);await this[_0x2ef827(0x1a9)](_0x352622)&&(this[_0x2ef827(0x15f)]=!0x1,this[_0x2ef827(0x126)]());const _0x59d484=await this[_0x2ef827(0x135)][_0x2ef827(0x149)]();_0x46f555[_0x2ef827(0x1aa)](this[_0x2ef827(0x170)],_0x59d484),this[_0x2ef827(0x11c)](),this[_0x2ef827(0x191)]=!0x0;}catch(_0x56e561){if(function(_0x44c1c8){const _0x4a7e99=_0x2ef827;return _0x4a7e99(0x16c)===_0x44c1c8[_0x4a7e99(0x150)];}(_0x56e561)&&this[_0x2ef827(0x13e)])await this[_0x2ef827(0x161)]();else{if(function(_0x5bbcb0){const _0x4880e5=_0x2ef827;return _0x4880e5(0x1ee)===_0x5bbcb0[_0x4880e5(0x150)];}(_0x56e561)){const _0x23c898=_0x2d22fb(this[_0x2ef827(0x136)][_0x2ef827(0x15e)],_0x2ef827(0x129));this[_0x2ef827(0x134)](_0x23c898);}else{if(!(_0x56e561 instanceof J))throw _0x56e561;this[_0x2ef827(0x134)]();}}}}[_0x567662(0x1d4)](){const _0x7a8cc1=_0x567662,_0x48d0d4=this[_0x7a8cc1(0x136)][_0x7a8cc1(0x160)][_0x7a8cc1(0x190)](_0x169495),_0x37b614=this[_0x7a8cc1(0x136)][_0x7a8cc1(0x160)][_0x7a8cc1(0x190)](_0x1d555e);this[_0x7a8cc1(0x136)][_0x7a8cc1(0x141)](_0x7a8cc1(0x1f8)),_0x37b614[_0x7a8cc1(0x1f0)][_0x7a8cc1(0x1d2)](this[_0x7a8cc1(0x170)])&&_0x37b614[_0x7a8cc1(0x173)](this[_0x7a8cc1(0x170)]),_0x48d0d4[_0x7a8cc1(0x1c1)](this),this[_0x7a8cc1(0x133)](),super[_0x7a8cc1(0x1d4)]();}async[_0x567662(0x1a9)](_0x5ea725){const _0x1905b6=_0x567662;if(this[_0x1905b6(0x13e)]!==_0x5ea725[_0x1905b6(0x13e)]&&this[_0x1905b6(0x1b2)]!==_0x5ea725[_0x1905b6(0x15c)])throw new J();return this[_0x1905b6(0x13e)]=_0x5ea725[_0x1905b6(0x13e)],this[_0x1905b6(0x1ad)]([],{..._0x5ea725,'wereChangesApplied':!0x1,'data':_0x5ea725[_0x1905b6(0x1fc)]},_0x1905b6(0x209));}async[_0x567662(0x20e)](_0x1a30e1,_0x466f66=!0x1){const _0x2d55e9=_0x567662,{connection:_0x76772}=this[_0x2d55e9(0x136)][_0x2d55e9(0x160)][_0x2d55e9(0x190)](_0x169495);l[_0x2d55e9(0x11a)][_0x2d55e9(0x149)](_0x76772,this[_0x2d55e9(0x170)])[_0x2d55e9(0x139)](_0x509621=>this[_0x2d55e9(0x1e5)](_0x509621))[_0x2d55e9(0x17f)](_0x1bab70=>{const _0x240f0c=_0x2d55e9;this[_0x240f0c(0x189)](_0x240f0c(0x1c7),_0x1bab70);}),this[_0x2d55e9(0x19c)](this[_0x2d55e9(0x135)],_0x2d55e9(0x20f),this[_0x2d55e9(0x15b)][_0x2d55e9(0x11e)](this)),this[_0x2d55e9(0x19c)](this[_0x2d55e9(0x135)],_0x2d55e9(0x193),(_0x33596d,_0x304661)=>{const _0x2211ca=_0x2d55e9;this[_0x2211ca(0x189)](_0x2211ca(0x12a),_0x304661);}),this[_0x2d55e9(0x19c)](this[_0x2d55e9(0x135)],_0x2d55e9(0x15d),()=>{const _0x598c96=_0x2d55e9;this[_0x598c96(0x191)]=!0x1;});const _0x46dfe0=this[_0x2d55e9(0x12b)][_0x2d55e9(0x1ca)](_0x1a30e1);this[_0x2d55e9(0x15f)]=!0x0;const _0x204c3c=await this[_0x2d55e9(0x135)][_0x2d55e9(0x1d0)](_0x76772,this[_0x2d55e9(0x122)](_0x1a30e1),_0x46dfe0);if(this[_0x2d55e9(0x13e)]=_0x204c3c[_0x2d55e9(0x13e)],_0x466f66){if(!_0x204c3c[_0x2d55e9(0x198)])return void this[_0x2d55e9(0x134)]();this[_0x2d55e9(0x15f)]=!0x1,this[_0x2d55e9(0x126)](),this[_0x2d55e9(0x1b7)][_0x2d55e9(0x218)](),this[_0x2d55e9(0x18e)]=_0x204c3c[_0x2d55e9(0x1e1)],this[_0x2d55e9(0x1b7)][_0x2d55e9(0x1de)]=this[_0x2d55e9(0x18e)],await this[_0x2d55e9(0x1ad)](_0x1a30e1,_0x204c3c,_0x2d55e9(0x175));}else await this[_0x2d55e9(0x11d)](_0x204c3c,_0x1a30e1);this[_0x2d55e9(0x11c)](),this[_0x2d55e9(0x191)]=!0x0;}[_0x567662(0x11c)](){const _0x53f1e1=_0x567662,_0x404096=this[_0x53f1e1(0x136)][_0x53f1e1(0x160)][_0x53f1e1(0x190)](_0x1d555e),_0x1d17bc=this[_0x53f1e1(0x136)][_0x53f1e1(0x160)][_0x53f1e1(0x190)](_0x38c754),_0xa50adf=_0x404096[_0x53f1e1(0x1f0)][_0x53f1e1(0x190)](this[_0x53f1e1(0x170)]);_0xa50adf&&_0xa50adf[_0x53f1e1(0x151)]>0x1?_0x1d17bc[_0x53f1e1(0x1ba)]():this[_0x53f1e1(0x19c)](_0x404096,_0x53f1e1(0x1ec)+this[_0x53f1e1(0x170)],()=>{const _0x5d8862=_0x53f1e1;0x2===_0x404096[_0x5d8862(0x1f0)][_0x5d8862(0x190)](this[_0x5d8862(0x170)])[_0x5d8862(0x151)]&&_0x1d17bc[_0x5d8862(0x1ba)]();});}async[_0x567662(0x15b)](_0x26aebf,_0x56cc97,_0x1bf2d4,_0x536c02){const _0x2fee23=_0x567662;if(!this[_0x2fee23(0x15f)]&&this[_0x2fee23(0x18f)][_0x2fee23(0x1de)]==_0x56cc97){const _0x322a75=this[_0x2fee23(0x148)](_0x1bf2d4,_0x536c02);await this[_0x2fee23(0x213)](_0x322a75),this[_0x2fee23(0x183)](_0x322a75,_0x56cc97,_0x1bf2d4[_0x2fee23(0x15c)])||this[_0x2fee23(0x189)](_0x2fee23(0x18d));}}async[_0x567662(0x161)](){const _0x4862af=_0x567662;this[_0x4862af(0x133)]();const {locale:_0x475085}=this[_0x4862af(0x136)];let _0x247ccb;try{_0x247ccb=await this[_0x4862af(0x135)][_0x4862af(0x1c2)]();}catch(_0x5a904c){const _0x365b78=_0x2d22fb(_0x475085,_0x4862af(0x158));return void this[_0x4862af(0x134)](_0x365b78);}const _0x9fcf8d=_0x247ccb[_0x4862af(0x17e)]||_0x247ccb[_0x4862af(0x18b)];if(this[_0x4862af(0x1b2)]===_0x9fcf8d[_0x4862af(0x15c)])await this[_0x4862af(0x20e)](this[_0x4862af(0x136)][_0x4862af(0x1da)][_0x4862af(0x1fe)][_0x4862af(0x1b6)][_0x4862af(0x1c9)](),!0x0);else{const _0x4829dd=_0x2d22fb(_0x475085,_0x4862af(0x1f4));this[_0x4862af(0x134)](_0x4829dd);}}[_0x567662(0x133)](){const _0x23b7f6=_0x567662;this[_0x23b7f6(0x135)][_0x23b7f6(0x127)](),this[_0x23b7f6(0x163)]=[],clearTimeout(this[_0x23b7f6(0x214)]),this[_0x23b7f6(0x19b)](this[_0x23b7f6(0x135)]);}[_0x567662(0x1e5)](_0x4e2a36){const _0x2e31f7=_0x567662,_0x2901c9=this[_0x2e31f7(0x136)][_0x2e31f7(0x160)][_0x2e31f7(0x190)](_0x1d555e);this[_0x2e31f7(0x19c)](_0x2901c9,_0x2e31f7(0x1ec)+this[_0x2e31f7(0x170)],(_0x41bb25,{session:_0x2130a1})=>{const _0x28644c=_0x2e31f7;if(_0x2130a1['id']===_0x2901c9[_0x28644c(0x13a)]){_0x41bb25[_0x28644c(0x20a)]();const _0x5b87c3=this[_0x28644c(0x136)][_0x28644c(0x160)][_0x28644c(0x1d2)](_0x28644c(0x145))&&this[_0x28644c(0x136)][_0x28644c(0x160)][_0x28644c(0x190)](_0x28644c(0x145));let _0x58428c=_0x2130a1[_0x28644c(0x1ff)];_0x5b87c3&&_0x5b87c3[_0x28644c(0x211)]&&(_0x58428c=_0x58428c[_0x28644c(0x1e8)](_0x189ddf=>_0x28644c(0x1d8)!==_0x189ddf)),this[_0x28644c(0x136)][_0x28644c(0x160)][_0x28644c(0x190)](_0x28644c(0x201))[_0x28644c(0x1d3)](_0x58428c,this[_0x28644c(0x170)]);}}),_0x2901c9[_0x2e31f7(0x1aa)](this[_0x2e31f7(0x170)],_0x4e2a36);}[_0x567662(0x159)](){const _0x1a940b=_0x567662,_0xa42a74=this[_0x1a940b(0x136)][_0x1a940b(0x1fc)][_0x1a940b(0x1c6)];this[_0x1a940b(0x136)][_0x1a940b(0x1fc)][_0x1a940b(0x1c6)]=(..._0x2081ee)=>{const _0x317a86=_0x1a940b;if(!_0x2081ee[_0x2081ee[_0x317a86(0x151)]-0x1][_0x317a86(0x1a8)])throw new _0x5a9d0e(_0x317a86(0x20c),this);_0xa42a74[_0x317a86(0x1b1)](this[_0x317a86(0x136)][_0x317a86(0x1fc)],_0x2081ee);};}[_0x567662(0x1a1)](){const _0x4443ab=_0x567662;this[_0x4443ab(0x136)][_0x4443ab(0x1fc)]['on'](_0x4443ab(0x187),(_0x267417,[_0x5a10ff])=>{const _0x2cfcf8=_0x4443ab;if(this[_0x2cfcf8(0x18f)][_0x2cfcf8(0x1de)])throw new _0x5a9d0e(_0x2cfcf8(0x11b),this);_0x267417[_0x2cfcf8(0x144)](),this[_0x2cfcf8(0x154)]();const _0x5efe32=this[_0x2cfcf8(0x136)][_0x2cfcf8(0x1f1)][_0x2cfcf8(0x190)](_0x2cfcf8(0x1e7)),_0x2d9e80=this[_0x2cfcf8(0x17c)](_0x5a10ff,_0x5efe32);0x0==_0x2d9e80[_0x2cfcf8(0x151)]&&_0x2d9e80[_0x2cfcf8(0x1df)](new _0x3f60a8(0x0)),_0x267417[_0x2cfcf8(0x1b5)]=this[_0x2cfcf8(0x20e)](_0x2d9e80)[_0x2cfcf8(0x139)](()=>{const _0x2f93f2=_0x2cfcf8;this[_0x2f93f2(0x136)][_0x2f93f2(0x160)][_0x2f93f2(0x190)](_0x169495)[_0x2f93f2(0x19d)](this),this[_0x2f93f2(0x136)][_0x2f93f2(0x1fc)][_0x2f93f2(0x1c8)](_0x2f93f2(0x140));})[_0x2cfcf8(0x17f)](_0x5a41e8=>this[_0x2cfcf8(0x189)](_0x2cfcf8(0x1cb),_0x5a41e8))[_0x2cfcf8(0x1db)](()=>this[_0x2cfcf8(0x126)]());},{'priority':_0x4443ab(0x171)}),this[_0x4443ab(0x136)]['on'](_0x4443ab(0x123),async(_0x411c47,[_0x17ee2b,_0x4bf983])=>{const _0x6b7989=_0x4443ab;_0x411c47[_0x6b7989(0x144)]();const _0x14e16e=this[_0x6b7989(0x136)][_0x6b7989(0x1da)][_0x6b7989(0x1fe)][_0x6b7989(0x185)](_0x17ee2b);if(!this[_0x6b7989(0x143)][_0x6b7989(0x1d2)](_0x17ee2b)){const _0x1bf28a=_0x4bf983&&_0x4bf983[_0x6b7989(0x1fc)]?_0x4bf983[_0x6b7989(0x1fc)]:'',_0x98a5dc=_0x4bf983&&_0x4bf983[_0x6b7989(0x14f)]?_0x4bf983[_0x6b7989(0x14f)]:{};await this[_0x6b7989(0x21a)](_0x17ee2b,_0x1bf28a,_0x98a5dc);}this[_0x6b7989(0x136)][_0x6b7989(0x1da)][_0x6b7989(0x152)]({'isUndoable':!0x1},()=>{const _0x11616b=_0x6b7989;_0x14e16e[_0x11616b(0x17b)]=!0x0,this[_0x11616b(0x136)][_0x11616b(0x1da)][_0x11616b(0x1fe)][_0x11616b(0x131)][_0x11616b(0x16b)](_0x14e16e);});},{'priority':_0x4443ab(0x171)});}async[_0x567662(0x213)](_0x45c285){const _0x44e77e=_0x567662,_0xe1d371=this[_0x44e77e(0x136)][_0x44e77e(0x160)][_0x44e77e(0x190)](_0x1542c5),{connection:_0x92061c}=this[_0x44e77e(0x136)][_0x44e77e(0x160)][_0x44e77e(0x190)](_0x169495),_0x134c48=new Set();for(const _0x543902 of _0x45c285){const _0x2558d8=_0x543902[_0x44e77e(0x1ea)];_0x2558d8&&!_0xe1d371[_0x44e77e(0x19a)](_0x2558d8)&&_0x134c48[_0x44e77e(0x1e3)](_0x2558d8);}if(0x0===_0x134c48[_0x44e77e(0x128)])return;const _0x1f19f8=await _0x22fcdb[_0x44e77e(0x177)](_0x92061c,Array[_0x44e77e(0x1cf)](_0x134c48));for(const _0x36ee7e of _0x1f19f8)_0xe1d371[_0x44e77e(0x19a)](_0x36ee7e['id'])||_0xe1d371[_0x44e77e(0x142)](_0x36ee7e);}[_0x567662(0x17c)](_0x5c08a4,_0x977d77={}){const _0x125f9e=_0x567662,_0x47d2ee=this[_0x125f9e(0x136)][_0x125f9e(0x1da)],_0x5a438b=[];let _0x340979=0x0;const _0x4dcd75=_0x125f9e(0x219)==typeof _0x5c08a4?{'main':_0x5c08a4}:_0x5c08a4;for(const _0xa4be32 of Object[_0x125f9e(0x21c)](_0x4dcd75)){if(!this[_0x125f9e(0x18f)][_0x125f9e(0x156)][_0x125f9e(0x1d2)](_0xa4be32))throw new _0x5a9d0e(_0x125f9e(0x172),this);const _0x41760f=this[_0x125f9e(0x136)][_0x125f9e(0x1fc)][_0x125f9e(0x203)](_0x4dcd75[_0xa4be32]),_0x25911c=this[_0x125f9e(0x18f)][_0x125f9e(0x185)](_0xa4be32),_0x5b4835=new _0x57133d(_0x47d2ee[_0x125f9e(0x1eb)](_0x25911c,0x0),_0x41760f,_0x340979++);_0x5a438b[_0x125f9e(0x1df)](_0x5b4835);for(const [_0x542a3e,_0x18c460]of _0x41760f[_0x125f9e(0x206)]){const _0x120a6a=_0x47d2ee[_0x125f9e(0x19e)](_0x47d2ee[_0x125f9e(0x13d)](_0x25911c,_0x18c460[_0x125f9e(0x1f2)][_0x125f9e(0x12d)][_0x125f9e(0x176)]()),_0x47d2ee[_0x125f9e(0x13d)](_0x25911c,_0x18c460[_0x125f9e(0x14d)][_0x125f9e(0x12d)][_0x125f9e(0x176)]())),_0x3b7f4f=new _0x509406(_0x542a3e,null,_0x120a6a,_0x47d2ee[_0x125f9e(0x206)],!0x0,_0x340979++);_0x5a438b[_0x125f9e(0x1df)](_0x3b7f4f);}}if(_0x977d77)for(const [_0x18cd35,_0x54f654]of Object[_0x125f9e(0x1a5)](_0x977d77)){const _0x3e2150=_0x47d2ee[_0x125f9e(0x1fe)][_0x125f9e(0x185)](_0x18cd35);if(!_0x3e2150)throw new _0x5a9d0e(_0x125f9e(0x17a),null);for(const [_0x190d72,_0x413120]of Object[_0x125f9e(0x1a5)](_0x54f654))if(null!==_0x413120){const _0xf89bdc=new _0x35a314(_0x3e2150,_0x190d72,null,_0x413120,_0x340979++);_0x5a438b[_0x125f9e(0x1df)](_0xf89bdc);}}return _0x5a438b;}async[_0x567662(0x21a)](_0x487e93,_0x24b01c,_0x3a67bd){const _0xdbc529=_0x567662;this[_0xdbc529(0x17c)]({[_0x487e93]:_0x24b01c},{[_0x487e93]:_0x3a67bd})[_0xdbc529(0x178)]((_0x40e6af,_0x343966)=>{const _0x40abf0=_0xdbc529;_0x40e6af[_0x40abf0(0x207)]=this[_0x40abf0(0x18f)][_0x40abf0(0x1de)]+_0x343966,_0x40e6af[_0x40abf0(0x1c5)]=!0x0,this[_0x40abf0(0x199)](_0x40e6af);}),this[_0xdbc529(0x1fd)](),await this[_0xdbc529(0x15a)]();}async[_0x567662(0x11d)](_0x5dfe59,_0x30bc83){const _0x59268c=_0x567662;let _0x210022;this[_0x59268c(0x18e)]=_0x5dfe59[_0x59268c(0x1e1)];const _0x33b2fc=_0x5dfe59[_0x59268c(0x198)]&&!_0x5dfe59[_0x59268c(0x1cd)],_0x4bc360=_0x33b2fc?0x0:_0x5dfe59[_0x59268c(0x1fc)][_0x59268c(0x207)];if(_0x30bc83[_0x59268c(0x178)](_0x5999d9=>{const _0x44cf80=_0x59268c;_0x5999d9[_0x44cf80(0x1c5)]=!0x0,_0x5999d9[_0x44cf80(0x167)]=_0x5dfe59[_0x44cf80(0x119)],_0x5999d9[_0x44cf80(0x1ea)]=null;}),_0x33b2fc)_0x210022=_0x30bc83,this[_0x59268c(0x20d)](_0x210022,_0x33b2fc);else{if(_0x5dfe59[_0x59268c(0x1cd)]){const _0x907909=this[_0x59268c(0x17c)](_0x5dfe59[_0x59268c(0x1cd)]);this[_0x59268c(0x18f)][_0x59268c(0x1b6)][_0x59268c(0x1de)]=-_0x907909[_0x59268c(0x151)],_0x907909[_0x59268c(0x178)](_0x3895c0=>{const _0xba0b68=_0x59268c;_0x3895c0[_0xba0b68(0x207)]-=_0x907909[_0xba0b68(0x151)],_0x3895c0[_0xba0b68(0x167)]=_0x5dfe59[_0xba0b68(0x119)],_0x3895c0[_0xba0b68(0x1c5)]=!0x0,_0x3895c0[_0xba0b68(0x1ea)]=null;}),this[_0x59268c(0x20d)](_0x907909,!0x0),this[_0x59268c(0x1b7)][_0x59268c(0x1de)]=-_0x907909[_0x59268c(0x151)]+this[_0x59268c(0x18e)],this[_0x59268c(0x174)](_0x907909);}this[_0x59268c(0x18f)][_0x59268c(0x1b6)][_0x59268c(0x1de)]=_0x4bc360,_0x210022=this[_0x59268c(0x148)](_0x5dfe59[_0x59268c(0x1fc)],_0x5dfe59[_0x59268c(0x138)]),await this[_0x59268c(0x213)](_0x210022),this[_0x59268c(0x20d)](_0x210022,_0x33b2fc);}_0x5dfe59[_0x59268c(0x15c)]&&(this[_0x59268c(0x12b)][_0x59268c(0x184)](_0x210022,_0x5dfe59[_0x59268c(0x15c)]),this[_0x59268c(0x1b2)]=_0x5dfe59[_0x59268c(0x15c)]),this[_0x59268c(0x1b7)][_0x59268c(0x1de)]=_0x4bc360+this[_0x59268c(0x18e)],this[_0x59268c(0x174)](_0x210022),_0x30bc83[_0x59268c(0x1e8)](_0x454505=>{const _0x4db7d1=_0x59268c,_0x350038=this[_0x4db7d1(0x1b3)](_0x454505);return _0x350038&&!this[_0x4db7d1(0x143)][_0x4db7d1(0x1d2)](_0x350038);})[_0x59268c(0x178)]((_0x49da6a,_0x96d5f5)=>{const _0x5340c5=_0x59268c;_0x49da6a[_0x5340c5(0x207)]=this[_0x5340c5(0x18f)][_0x5340c5(0x1de)]+_0x96d5f5,this[_0x5340c5(0x199)](_0x49da6a);}),this[_0x59268c(0x217)]()?(this[_0x59268c(0x1dd)]=0x0,this[_0x59268c(0x1fd)](!0x0),await this[_0x59268c(0x15a)]()):(this[_0x59268c(0x15f)]=!0x1,this[_0x59268c(0x126)]());}[_0x567662(0x189)](_0x92c997,_0x1fb166){const _0x5d7c3f=_0x567662;throw this[_0x5d7c3f(0x15f)]=!0x0,_0x1fb166&&console[_0x5d7c3f(0x193)](_0x1fb166),new _0x5a9d0e(_0x92c997,this[_0x5d7c3f(0x136)]);}[_0x567662(0x199)](_0x415f09){const _0x21f5e6=_0x567662;this[_0x21f5e6(0x14b)][_0x21f5e6(0x1d2)](_0x415f09)||(this[_0x21f5e6(0x14b)][_0x21f5e6(0x1e3)](_0x415f09),this[_0x21f5e6(0x163)][_0x21f5e6(0x1df)](_0x415f09),this[_0x21f5e6(0x124)]||_0x21f5e6(0x147)==_0x415f09[_0x21f5e6(0x21d)]&&!_0x415f09[_0x21f5e6(0x18c)]||this[_0x21f5e6(0x154)]());}[_0x567662(0x1fd)](_0x575656=!0x1){const _0x33dbb4=_0x567662;!_0x575656&&this[_0x33dbb4(0x15f)]||(this[_0x33dbb4(0x15f)]=!0x0,clearTimeout(this[_0x33dbb4(0x214)]),this[_0x33dbb4(0x214)]=setTimeout(()=>{const _0x3dfc90=_0x33dbb4;this[_0x3dfc90(0x132)]()[_0x3dfc90(0x139)](_0x46eefb=>{const _0x42a06d=_0x3dfc90;_0x46eefb&&(this[_0x42a06d(0x126)](),this[_0x42a06d(0x15f)]=!0x1);})[_0x3dfc90(0x17f)](_0x1a047=>{const _0x50d334=_0x3dfc90;if(this[_0x50d334(0x126)](),this[_0x50d334(0x15f)]=!0x1,!function(_0x540459){const _0x4282a5=_0x50d334;return _0x540459[_0x4282a5(0x1ac)][_0x4282a5(0x194)](_0x4282a5(0x162))||_0x540459[_0x4282a5(0x1ac)][_0x4282a5(0x194)](_0x4282a5(0x210))||_0x540459[_0x4282a5(0x1ac)][_0x4282a5(0x194)](_0x4282a5(0x1c4));}(_0x1a047))throw _0x1a047;});},this[_0x33dbb4(0x1dd)]));}[_0x567662(0x15a)](){return new Promise(_0x437013=>{const _0x5de160=_0x5dc9;this['on'](_0x5de160(0x12c),()=>{_0x437013();});});}async[_0x567662(0x132)](){const _0x43b6fa=_0x567662,_0x31faef=this[_0x43b6fa(0x136)][_0x43b6fa(0x160)][_0x43b6fa(0x190)](_0x38c754);if(this[_0x43b6fa(0x1f9)]()&&(_0x31faef[_0x43b6fa(0x1ba)](),this[_0x43b6fa(0x1e9)]=!0x1),!this[_0x43b6fa(0x217)]())return!0x0;const _0x13908c=[...this[_0x43b6fa(0x163)]];for(const _0x40dd96 of _0x13908c)_0x40dd96[_0x43b6fa(0x179)]=this[_0x43b6fa(0x18f)][_0x43b6fa(0x1b6)][_0x43b6fa(0x1cc)](_0x40dd96);const _0xee34c1=this[_0x43b6fa(0x12b)][_0x43b6fa(0x1ca)](_0x13908c),_0x11a1ee=K++,_0x141ce2=this[_0x43b6fa(0x122)](_0x13908c),_0x55b668=await this[_0x43b6fa(0x135)][_0x43b6fa(0x212)](_0x141ce2,_0x141ce2[_0x43b6fa(0x207)],_0xee34c1);try{return await this[_0x43b6fa(0x1ad)](_0x13908c,_0x55b668,_0x11a1ee);}catch(_0x497243){return this[_0x43b6fa(0x189)](_0x43b6fa(0x19f),_0x497243);}}async[_0x567662(0x1ad)](_0x4636c9,_0x125771,_0x28088e){const _0x2931e9=_0x567662;if(_0x2931e9(0x193)in _0x125771)throw _0x125771[_0x2931e9(0x193)];let _0x1b4b0d=!0x1;if(_0x125771[_0x2931e9(0x198)]){_0x125771[_0x2931e9(0x15c)]&&(this[_0x2931e9(0x1b2)]=_0x125771[_0x2931e9(0x15c)]),this[_0x2931e9(0x163)]=this[_0x2931e9(0x163)][_0x2931e9(0x1e8)](_0x247089=>!_0x4636c9[_0x2931e9(0x204)](_0x247089));for(const _0x217380 of _0x4636c9)_0x217380[_0x2931e9(0x167)]=_0x2931e9(0x1b0)in _0x125771&&_0x125771[_0x2931e9(0x1b0)]||void 0x0;Q(_0x4636c9,_0x125771[_0x2931e9(0x1de)]-_0x4636c9[_0x2931e9(0x151)]),this[_0x2931e9(0x174)](_0x4636c9);const _0x25d14c=_0x4636c9[_0x2931e9(0x1e8)](_0x5c96f8=>{const _0x3f5f41=_0x2931e9;if(!_0x5c96f8[_0x3f5f41(0x1c5)])return!0x1;const _0x526070=this[_0x3f5f41(0x1b3)](_0x5c96f8);return _0x526070&&!this[_0x3f5f41(0x143)][_0x3f5f41(0x1d2)](_0x526070);});Q(_0x25d14c,this[_0x2931e9(0x18f)][_0x2931e9(0x1de)]),this[_0x2931e9(0x20d)](_0x25d14c),_0x1b4b0d=!0x0,this[_0x2931e9(0x1dd)]=this[_0x2931e9(0x169)];}else{const _0x5979e6=this[_0x2931e9(0x148)](_0x125771[_0x2931e9(0x1fc)],_0x125771[_0x2931e9(0x138)])[_0x2931e9(0x1e8)](_0x2c7f0a=>_0x2c7f0a[_0x2931e9(0x207)]>=this[_0x2931e9(0x181)]);_0x5979e6[_0x2931e9(0x178)](_0x91f6cd=>this[_0x2931e9(0x1f5)](_0x91f6cd)),this[_0x2931e9(0x163)]=this[_0x2931e9(0x163)][_0x2931e9(0x1e8)](_0x45bff0=>!_0x45bff0[_0x2931e9(0x1c5)]||!this[_0x2931e9(0x143)][_0x2931e9(0x1d2)](this[_0x2931e9(0x1b3)](_0x45bff0))),this[_0x2931e9(0x163)][_0x2931e9(0x151)]&&Q(this[_0x2931e9(0x163)],this[_0x2931e9(0x163)][0x0][_0x2931e9(0x207)]),await this[_0x2931e9(0x213)](_0x5979e6),_0x1b4b0d=this[_0x2931e9(0x183)](_0x5979e6,_0x125771[_0x2931e9(0x1de)],_0x125771[_0x2931e9(0x15c)]),this[_0x2931e9(0x1dd)]=Math[_0x2931e9(0x21b)](this[_0x2931e9(0x1dd)]/0x2);}return _0x1b4b0d?!this[_0x2931e9(0x217)]()||(this[_0x2931e9(0x1fd)](!0x0),!0x1):this[_0x2931e9(0x189)](_0x2931e9(0x130));}[_0x567662(0x183)](_0x180fba,_0x4537ba,_0x245649){const _0x41d32e=_0x567662;try{const _0x5fa341={'document':this[_0x41d32e(0x18f)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1ed922,operationsB:_0x4a75b0,originalOperations:_0xd3185c}=_0x3beb65(_0x180fba,this[_0x41d32e(0x163)],_0x5fa341);Q(_0x1ed922,this[_0x41d32e(0x18f)][_0x41d32e(0x1de)]),Q(_0x4a75b0,_0x4537ba);for(const _0x489a2f of _0x1ed922){const _0x5ba0e4=_0xd3185c[_0x41d32e(0x190)](_0x489a2f);_0x489a2f[_0x41d32e(0x1ea)]=_0x5ba0e4?_0x5ba0e4[_0x41d32e(0x1ea)]:null;}_0x245649&&(this[_0x41d32e(0x12b)][_0x41d32e(0x184)](_0x180fba,_0x245649),this[_0x41d32e(0x1b2)]=_0x245649),this[_0x41d32e(0x163)]=[..._0x4a75b0],this[_0x41d32e(0x20d)](_0x1ed922),this[_0x41d32e(0x174)](_0x180fba);}catch(_0x5192ec){return console[_0x41d32e(0x193)](_0x5192ec),!0x1;}return!0x0;}[_0x567662(0x20d)](_0x364884,_0x880bee=!0x1){const _0x218fbe=_0x567662;this[_0x218fbe(0x136)][_0x218fbe(0x1da)][_0x218fbe(0x152)]({'isUndoable':!0x1,'isLocal':!0x1},_0x2a1300=>{const _0x2b3bb9=_0x218fbe;for(const _0x3f8532 of _0x364884)this[_0x2b3bb9(0x14b)][_0x2b3bb9(0x1e3)](_0x3f8532),this[_0x2b3bb9(0x1f5)](_0x3f8532),_0x2a1300[_0x2b3bb9(0x180)][_0x2b3bb9(0x1c3)](_0x3f8532),this[_0x2b3bb9(0x136)][_0x2b3bb9(0x1da)][_0x2b3bb9(0x1d9)](_0x3f8532);});}[_0x567662(0x1f5)](_0x125de5){const _0x4e25d6=_0x567662,_0x2b9382=this[_0x4e25d6(0x1b3)](_0x125de5);_0x2b9382&&this[_0x4e25d6(0x143)][_0x4e25d6(0x1e3)](_0x2b9382);}[_0x567662(0x1b3)](_0x4474a1){const _0x1b873a=_0x567662;let _0x12ac45,_0x31039a;switch(_0x4474a1[_0x1b873a(0x21d)]){case _0x1b873a(0x195):_0x12ac45=_0x4474a1[_0x1b873a(0x1fa)][_0x1b873a(0x120)];break;case _0x1b873a(0x147):if(_0x31039a=_0x4474a1[_0x1b873a(0x12f)],!_0x31039a)return null;_0x12ac45=_0x31039a[_0x1b873a(0x120)];break;case _0x1b873a(0x1ae):_0x12ac45=_0x4474a1[_0x1b873a(0x120)];break;case _0x1b873a(0x197):_0x12ac45=_0x4474a1[_0x1b873a(0x1ed)];break;case _0x1b873a(0x1be):_0x12ac45=_0x4474a1[_0x1b873a(0x1a0)][_0x1b873a(0x120)];break;default:return null;}return _0x12ac45[_0x1b873a(0x1d1)];}[_0x567662(0x174)](_0x5d7e99){const _0x42a064=_0x567662;_0x5d7e99[_0x42a064(0x178)](_0xc33765=>{const _0x288b8d=_0x42a064,_0x19811c=_0xc33765[_0x288b8d(0x1fb)]();_0x19811c[_0x288b8d(0x1ea)]=_0xc33765[_0x288b8d(0x1ea)],_0x19811c[_0x288b8d(0x1c5)]=!!_0xc33765[_0x288b8d(0x1c5)],_0x19811c[_0x288b8d(0x167)]=_0xc33765[_0x288b8d(0x167)],_0x19811c[_0x288b8d(0x207)]+=this[_0x288b8d(0x18e)],_0xc33765[_0x288b8d(0x1a2)]&&this[_0x288b8d(0x1a3)][_0x288b8d(0x1e3)](_0x19811c),this[_0x288b8d(0x1b7)][_0x288b8d(0x1c3)](_0x19811c);});}[_0x567662(0x134)](_0x116975){const _0x5ee3ba=_0x567662,_0x6c5681=this[_0x5ee3ba(0x136)][_0x5ee3ba(0x160)][_0x5ee3ba(0x190)](_0x5ee3ba(0x196)),_0x39e8ca=this[_0x5ee3ba(0x136)][_0x5ee3ba(0x15e)];_0x116975||(_0x116975=_0x2d22fb(_0x39e8ca,_0x5ee3ba(0x1ab))),_0x6c5681[_0x5ee3ba(0x146)](_0x116975,{'title':_0x2d22fb(_0x39e8ca,_0x5ee3ba(0x1bc)),'namespace':_0x5ee3ba(0x125)}),this[_0x5ee3ba(0x1e4)]=!0x0,clearTimeout(this[_0x5ee3ba(0x214)]),this[_0x5ee3ba(0x163)]=[],this[_0x5ee3ba(0x136)][_0x5ee3ba(0x160)][_0x5ee3ba(0x190)](_0x169495)[_0x5ee3ba(0x1d4)]();}[_0x567662(0x154)](){const _0x2522c4=_0x567662;this[_0x2522c4(0x124)]||(this[_0x2522c4(0x124)]=this[_0x2522c4(0x136)][_0x2522c4(0x160)][_0x2522c4(0x190)](_0x5d2ee6)[_0x2522c4(0x1e3)](_0x2d22fb(this[_0x2522c4(0x136)][_0x2522c4(0x15e)],_0x2522c4(0x12e))));}[_0x567662(0x126)](){const _0x18f928=_0x567662;this[_0x18f928(0x124)]&&(this[_0x18f928(0x136)][_0x18f928(0x160)][_0x18f928(0x190)](_0x5d2ee6)[_0x18f928(0x11f)](this[_0x18f928(0x124)]),this[_0x18f928(0x124)]=null);}[_0x567662(0x122)](_0x4b3ee4){const _0x318b9f=_0x567662,_0x16559e=_0x4b3ee4[_0x318b9f(0x20b)](_0x164ff1=>_0x164ff1[_0x318b9f(0x1d6)]());return this[_0x318b9f(0x1b8)][_0x318b9f(0x121)](_0x16559e);}[_0x567662(0x148)](_0x34f81a,_0x7aef71){const _0x5df674=_0x567662;return this[_0x5df674(0x1b8)][_0x5df674(0x164)](_0x34f81a)[_0x5df674(0x20b)]((_0x407d55,_0x30130a)=>{const _0x2acf65=_0x5df674,_0xc2f973=_0x2acf65(0x187)==_0x7aef71[_0x30130a][_0x2acf65(0x21d)];if(_0x2acf65(0x157)==_0x407d55[_0x2acf65(0x168)]){const _0x410a8c=_0x407d55[_0x2acf65(0x1fa)][_0x2acf65(0x120)];!this[_0x2acf65(0x18f)][_0x2acf65(0x185)](_0x410a8c)&&(this[_0x2acf65(0x18f)][_0x2acf65(0x205)](_0x2acf65(0x1f7),_0x410a8c)[_0x2acf65(0x1bf)]=!0x1);}const _0x38cb18=_0x1bf0da[_0x2acf65(0x1d5)](_0x407d55,this[_0x2acf65(0x18f)]);return _0x38cb18[_0x2acf65(0x179)]=_0x407d55[_0x2acf65(0x179)],_0x38cb18[_0x2acf65(0x1c5)]=_0xc2f973,_0x38cb18[_0x2acf65(0x1ea)]=_0xc2f973?null:_0x7aef71[_0x30130a][_0x2acf65(0x17d)],_0x38cb18[_0x2acf65(0x1a2)]=_0x2acf65(0x1c0)===_0x7aef71[_0x30130a][_0x2acf65(0x21d)],_0x38cb18[_0x2acf65(0x167)]=_0x7aef71[_0x30130a][_0x2acf65(0x167)],_0x38cb18;});}[_0x567662(0x1e6)](){const _0x3d7941=_0x567662;this[_0x3d7941(0x1e9)]=!0x0,this[_0x3d7941(0x1f9)]()?this[_0x3d7941(0x1fd)]():this[_0x3d7941(0x1e9)]=!0x1;}[_0x567662(0x1f9)](){const _0x477dc8=_0x567662,_0x2ddfc6=this[_0x477dc8(0x136)][_0x477dc8(0x160)][_0x477dc8(0x190)](_0x1d555e)[_0x477dc8(0x1f0)][_0x477dc8(0x190)](this[_0x477dc8(0x170)]);return!this[_0x477dc8(0x136)][_0x477dc8(0x192)]&&!!_0x2ddfc6&&_0x2ddfc6[_0x477dc8(0x151)]>0x1&&this[_0x477dc8(0x1e9)];}[_0x567662(0x217)](){const _0x6a6c84=_0x567662;return this[_0x6a6c84(0x163)][_0x6a6c84(0x151)]>0x0||this[_0x6a6c84(0x1f9)]();}}l[_0x567662(0x11a)]=_0x2857e3;export default l;class J extends Error{}function Q(_0x56e6d3,_0x209ce6){const _0x117b58=_0x567662;for(const _0x42dd59 of _0x56e6d3)_0x42dd59[_0x117b58(0x207)]=_0x209ce6++;}class X{constructor(_0x5bcbcd){const _0x195ca0=_0x567662;this[_0x195ca0(0x16f)]=_0x5bcbcd,this[_0x195ca0(0x1bb)]=new WeakMap();}[_0x567662(0x1ca)](_0x5584fd){const _0x482180=_0x567662;let _0x5c22f4=_0x5584fd[_0x482180(0x151)];for(;_0x5c22f4--;){const _0x301aaf=_0x5584fd[_0x5c22f4];if(!this[_0x482180(0x16f)][_0x482180(0x1d2)](_0x301aaf)){if(!this[_0x482180(0x1bb)][_0x482180(0x1d2)](_0x301aaf)){const _0x49eaa4=_0x5a3941()[_0x482180(0x176)](0x1,0x12);this[_0x482180(0x1bb)][_0x482180(0x1c6)](_0x301aaf,_0x49eaa4);}return this[_0x482180(0x1bb)][_0x482180(0x190)](_0x301aaf);}}}[_0x567662(0x184)](_0x234d8f,_0x4272ec){const _0x4ddf8b=_0x567662;if(!_0x4272ec)return;let _0x4e7796=_0x234d8f[_0x4ddf8b(0x151)];for(;_0x4e7796--;){const _0x544610=_0x234d8f[_0x4e7796];this[_0x4ddf8b(0x16f)][_0x4ddf8b(0x1d2)](_0x544610)||this[_0x4ddf8b(0x1bb)][_0x4ddf8b(0x1c6)](_0x544610,_0x4272ec);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1751d7=_0x359c;function _0x359c(_0x38a55a,_0x1418b7){const _0x27536a=_0x2753();return _0x359c=function(_0x359c13,_0x199276){_0x359c13=_0x359c13-0x195;let _0x51e114=_0x27536a[_0x359c13];return _0x51e114;},_0x359c(_0x38a55a,_0x1418b7);}(function(_0x885ca8,_0x40e481){const _0x1a75f5=_0x359c,_0x18bad2=_0x885ca8();while(!![]){try{const _0x162e11=parseInt(_0x1a75f5(0x1ba))/0x1*(-parseInt(_0x1a75f5(0x1aa))/0x2)+parseInt(_0x1a75f5(0x1ca))/0x3*(parseInt(_0x1a75f5(0x1bc))/0x4)+-parseInt(_0x1a75f5(0x1b3))/0x5+parseInt(_0x1a75f5(0x1a2))/0x6+-parseInt(_0x1a75f5(0x1cb))/0x7*(parseInt(_0x1a75f5(0x1c2))/0x8)+-parseInt(_0x1a75f5(0x1d2))/0x9*(parseInt(_0x1a75f5(0x1ae))/0xa)+parseInt(_0x1a75f5(0x1a4))/0xb*(parseInt(_0x1a75f5(0x1b6))/0xc);if(_0x162e11===_0x40e481)break;else _0x18bad2['push'](_0x18bad2['shift']());}catch(_0x5cc9b6){_0x18bad2['push'](_0x18bad2['shift']());}}}(_0x2753,0x6114e));import{ContextPlugin as _0xa7d9c0}from'ckeditor5/src/core.js';import{Collection as _0x13911d,CKEditorError as _0x14b462}from'ckeditor5/src/utils.js';import _0x3ce96c from'./websocketgateway.js';function _0x2753(){const _0x47b17d=['allConnectedUsers','_registeredSessions','1920tSMJig','_uniqueUsersCount','register','sessionAdd:','isPremiumPlugin','2179215OtmnmB','change:state','addUser','15125316VReYcM','context','fire','unregister','3DquAvM','isOfficialPlugin','206372XXEyyl','defineMe','connection','orderNumber','role','assign','328552PvKfct','clear','set','getUserSessions','getUserBySessionId','stopListening','pluginName','get','30QthoHk','28TAOrob','user','sessions-unregister-not-exist','Sessions','forEach','plugins','isMe','26154MjWbCo','_users','state','has','connected','mySessionId','init','listenTo','_createUser','getUserRole','values','requires','channelConnectedUsers','sessionId','_handleSessionAdd','delete','1543338OtdNju','_handleSessionRemove','11fcrqQW','remove','size','getUser','sessions-register-already-registered','add','318586StnaWv','channelSessions'];_0x2753=function(){return _0x47b17d;};return _0x2753();}import{Users as _0x92374d}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0xa7d9c0{static get[_0x1751d7(0x1c8)](){const _0x38090f=_0x1751d7;return _0x38090f(0x1ce);}static get[_0x1751d7(0x1bb)](){return!0x0;}static get[_0x1751d7(0x1b2)](){return!0x0;}static get[_0x1751d7(0x19d)](){return[_0x3ce96c,_0x92374d];}constructor(_0x46efad){const _0x1dac1d=_0x1751d7;super(_0x46efad),this[_0x1dac1d(0x1ab)]=new Map(),this[_0x1dac1d(0x19e)]=new Map(),this[_0x1dac1d(0x1ac)]=new _0x13911d(),this[_0x1dac1d(0x1ad)]=new Map(),this[_0x1dac1d(0x1af)]=0x0,this[_0x1dac1d(0x1d3)]=this[_0x1dac1d(0x1b7)][_0x1dac1d(0x1d0)][_0x1dac1d(0x1c9)](_0x92374d);}[_0x1751d7(0x198)](){const _0x2a33e1=_0x1751d7,_0x216934=this[_0x2a33e1(0x1b7)][_0x2a33e1(0x1d0)][_0x2a33e1(0x1c9)](_0x3ce96c);this[_0x2a33e1(0x199)](_0x216934,_0x2a33e1(0x1b4),(_0x2c7eae,_0x4093a3,_0x4411af)=>{const _0x1c68f8=_0x2a33e1;if(_0x1c68f8(0x196)!==_0x4411af)this[_0x1c68f8(0x1ab)][_0x1c68f8(0x1cf)](_0x2d977b=>_0x2d977b[_0x1c68f8(0x1c3)]()),this[_0x1c68f8(0x19e)][_0x1c68f8(0x1cf)](_0x56a21f=>_0x56a21f[_0x1c68f8(0x1c3)]()),this[_0x1c68f8(0x1ac)][_0x1c68f8(0x1c3)]();else{for(const [_0x1a7b8b,_0x1d2a2f]of this[_0x1c68f8(0x1ad)])for(const _0x2bc39c of _0x1d2a2f)this[_0x1c68f8(0x1a0)](_0x1a7b8b,_0x2bc39c);}}),this[_0x2a33e1(0x19a)](_0x216934[_0x2a33e1(0x1be)]['me'],!0x0);}[_0x1751d7(0x1b0)](_0x16609e,_0x40f0b8){const _0x46aa5b=_0x1751d7;if(this[_0x46aa5b(0x1ad)][_0x46aa5b(0x195)](_0x16609e))throw new _0x14b462(_0x46aa5b(0x1a8),null,{'channelId':_0x16609e});this[_0x46aa5b(0x1ad)][_0x46aa5b(0x1c4)](_0x16609e,_0x40f0b8),this[_0x46aa5b(0x1ab)][_0x46aa5b(0x1c4)](_0x16609e,new _0x13911d()),this[_0x46aa5b(0x19e)][_0x46aa5b(0x1c4)](_0x16609e,new _0x13911d()),this[_0x46aa5b(0x199)](_0x40f0b8,_0x46aa5b(0x1a9),(_0x5b55fb,_0x2a1e7d)=>this[_0x46aa5b(0x1a0)](_0x16609e,_0x2a1e7d)),this[_0x46aa5b(0x199)](_0x40f0b8,_0x46aa5b(0x1a5),(_0x3dbcb2,_0x4b4bd1)=>this[_0x46aa5b(0x1a3)](_0x16609e,_0x4b4bd1));for(const _0x4e121e of _0x40f0b8)this[_0x46aa5b(0x1a0)](_0x16609e,_0x4e121e);}[_0x1751d7(0x1b9)](_0x4e2d5c){const _0x2a805c=_0x1751d7;if(!this[_0x2a805c(0x1ad)][_0x2a805c(0x195)](_0x4e2d5c))throw new _0x14b462(_0x2a805c(0x1cd),null,{'channelId':_0x4e2d5c});const _0x1648ca=this[_0x2a805c(0x1ad)][_0x2a805c(0x1c9)](_0x4e2d5c);this[_0x2a805c(0x1c7)](_0x1648ca);for(const _0x1ad445 of _0x1648ca)_0x2a805c(0x196)===this[_0x2a805c(0x1b7)][_0x2a805c(0x1d0)][_0x2a805c(0x1c9)](_0x3ce96c)[_0x2a805c(0x1d4)]&&this[_0x2a805c(0x1a3)](_0x4e2d5c,_0x1ad445);this[_0x2a805c(0x1ad)][_0x2a805c(0x1a1)](_0x4e2d5c),this[_0x2a805c(0x1ab)][_0x2a805c(0x1a1)](_0x4e2d5c),this[_0x2a805c(0x19e)][_0x2a805c(0x1a1)](_0x4e2d5c);}get[_0x1751d7(0x197)](){const _0x49f6b4=_0x1751d7;return this[_0x49f6b4(0x1b7)][_0x49f6b4(0x1d0)][_0x49f6b4(0x1c9)](_0x3ce96c)[_0x49f6b4(0x1be)][_0x49f6b4(0x19f)];}[_0x1751d7(0x1c6)](_0x4955fb){const _0xb540cc=_0x1751d7;for(const _0x570213 of this[_0xb540cc(0x1ab)][_0xb540cc(0x19c)]())for(const _0x17b453 of _0x570213)if(_0x17b453['id']===_0x4955fb)return _0x17b453[_0xb540cc(0x1cc)];}[_0x1751d7(0x1c5)](_0x25687c,_0x51a08d){const _0x2425a4=_0x1751d7,_0x4341f5=_0x51a08d?[this[_0x2425a4(0x1ab)][_0x2425a4(0x1c9)](_0x51a08d)]:this[_0x2425a4(0x1ab)][_0x2425a4(0x19c)](),_0x546f9c=new Set();for(const _0x502272 of _0x4341f5)for(const _0x66af12 of _0x502272)_0x66af12[_0x2425a4(0x1cc)]['id']===_0x25687c['id']&&_0x546f9c[_0x2425a4(0x1a9)](_0x66af12['id']);return _0x546f9c;}[_0x1751d7(0x19b)](_0x4224a8){const _0xdafe78=_0x1751d7;for(const _0x569161 of this[_0xdafe78(0x1ab)][_0xdafe78(0x19c)]())for(const _0x39dc6b of _0x569161)if(_0x39dc6b[_0xdafe78(0x1cc)]===_0x4224a8)return _0x39dc6b[_0xdafe78(0x1c0)];}[_0x1751d7(0x1a0)](_0x4f5ea9,_0x23a324){const _0x36ac86=_0x1751d7;if(_0x36ac86(0x196)!==this[_0x36ac86(0x1b7)][_0x36ac86(0x1d0)][_0x36ac86(0x1c9)](_0x3ce96c)[_0x36ac86(0x1d4)])return;const _0x21e779=_0x23a324[_0x36ac86(0x1cc)],_0x42de64=this[_0x36ac86(0x1d3)][_0x36ac86(0x1a7)](_0x21e779['id'])||this[_0x36ac86(0x19a)](_0x21e779),_0x4e5420=Object[_0x36ac86(0x1c1)]({},_0x23a324,{'user':_0x42de64});this[_0x36ac86(0x1ab)][_0x36ac86(0x1c9)](_0x4f5ea9)[_0x36ac86(0x1a9)](_0x4e5420);const _0x2d6f32=this[_0x36ac86(0x19e)][_0x36ac86(0x1c9)](_0x4f5ea9);_0x2d6f32[_0x36ac86(0x195)](_0x42de64['id'])||_0x2d6f32[_0x36ac86(0x1a9)](_0x42de64),this[_0x36ac86(0x1ac)][_0x36ac86(0x195)](_0x42de64['id'])||this[_0x36ac86(0x1ac)][_0x36ac86(0x1a9)](_0x42de64,_0x42de64[_0x36ac86(0x1d1)]?0x0:void 0x0),this[_0x36ac86(0x1b8)](_0x36ac86(0x1b1)+_0x4f5ea9,{'channelId':_0x4f5ea9,'session':_0x4e5420});}[_0x1751d7(0x1a3)](_0x31ed77,_0x319a5c){const _0x377703=_0x1751d7;if(_0x377703(0x196)!==this[_0x377703(0x1b7)][_0x377703(0x1d0)][_0x377703(0x1c9)](_0x3ce96c)[_0x377703(0x1d4)])return;const _0x176edf=this[_0x377703(0x19e)][_0x377703(0x1c9)](_0x31ed77),_0x5e87d6=_0x319a5c[_0x377703(0x1cc)];_0x5e87d6['id']&&(this[_0x377703(0x1ab)][_0x377703(0x1c9)](_0x31ed77)[_0x377703(0x1a5)](_0x319a5c['id']),_0x176edf[_0x377703(0x195)](_0x5e87d6['id'])&&!this[_0x377703(0x1c5)](_0x5e87d6,_0x31ed77)[_0x377703(0x1a6)]&&_0x176edf[_0x377703(0x1a5)](_0x5e87d6['id']),this[_0x377703(0x1ac)][_0x377703(0x1c9)](_0x5e87d6['id'])&&!this[_0x377703(0x1c5)](_0x5e87d6)[_0x377703(0x1a6)]&&this[_0x377703(0x1ac)][_0x377703(0x1a5)](_0x5e87d6['id']));}[_0x1751d7(0x19a)](_0x42c808,_0x4b6b81){const _0x2b529a=_0x1751d7,_0x42ee6f=this[_0x2b529a(0x1d3)][_0x2b529a(0x1b5)](_0x42c808);return _0x4b6b81&&this[_0x2b529a(0x1d3)][_0x2b529a(0x1bd)](_0x42c808['id']),_0x42ee6f[_0x2b529a(0x1bf)]=this[_0x2b529a(0x1af)]++,_0x42ee6f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x221b86=_0x3565;(function(_0x4cf2eb,_0x3f9748){const _0x27d375=_0x3565,_0x275cf4=_0x4cf2eb();while(!![]){try{const _0x4efb37=parseInt(_0x27d375(0x165))/0x1+-parseInt(_0x27d375(0x117))/0x2+-parseInt(_0x27d375(0x119))/0x3*(parseInt(_0x27d375(0x158))/0x4)+parseInt(_0x27d375(0x14c))/0x5+-parseInt(_0x27d375(0x12e))/0x6+parseInt(_0x27d375(0x17a))/0x7*(-parseInt(_0x27d375(0x17b))/0x8)+parseInt(_0x27d375(0x15e))/0x9*(parseInt(_0x27d375(0x162))/0xa);if(_0x4efb37===_0x3f9748)break;else _0x275cf4['push'](_0x275cf4['shift']());}catch(_0x51d4fb){_0x275cf4['push'](_0x275cf4['shift']());}}}(_0x3c3a,0x3cea2));import{Plugin as _0x261981}from'ckeditor5/src/core.js';import{global as _0xf18eca,DomEmitterMixin as _0x2ad345}from'ckeditor5/src/utils.js';function _0x3c3a(){const _0x474e39=['user:range:','contenteditable','getSelectionClass','createUIElement','orderNumber','getRange','editingDowncast','oldRange','removeClass','for','init','isOfficialPlugin','checkChild','605658yuUaiA','isObject','3qPorha','root','mapper','name','innerHTML','clear','getStart','markers','markerRange','span','mouseenter','isSimilar','user:range','change:range','conversion','highest','ck-user__selection','UserMarkers','deletionPosition','_domEmitter','start','2917188JlrOax','toRange','startsWith','plugins','pluginName','has','update:user:range','getAttribute','fromRange','hasContent','data-session-id','tableCell','classList','marker','selection','destroy','enqueueChange','Escape','$graveyard','updateMarker','ck-user__marker\x20','getCustomProperty','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','createRange','requires','createUserMarkerOperations','element','end','isInline','$text','1437385yzDWor','split','detach','type','commands','delete','model','user:position:','ck-user__marker_hovered','view','applyOperation','stopListening','1297348SHzVVW','remove','getFirstRange','set','_createdBatches','setCustomProperty','13411971mwhBZb','user:position','mouseleave','reconvertMarker','10wdfTTu','user:','listenTo','1290Dbbfoz','nodeAfter','getPositions','rootName','userPositionMarker','isPremiumPlugin','getContainedElement','afterInit','newRange','render','schema','markerNameToElements','markerToHighlight','get','hasDomSelection','mySessionId','parent','color','getUserBySessionId','keydown','change','2912812ZYYqVT','8hwBHmc','isCollapsed','markerName','markerToElement','addMarker','undo','toDomElement','editing','editor','add','addEventListener','document','size','</span>','removeMarker','isLimit','getMarkerClass','batch','getNearestSelectionRange'];_0x3c3a=function(){return _0x474e39;};return _0x3c3a();}import _0x4bfe1b from'./sessions.js';import{LiveRange as _0x3951ff}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class G extends _0x261981{constructor(){const _0x1c0aea=_0x3565;super(...arguments),this[_0x1c0aea(0x12c)]=new(_0x2ad345())();}static get[_0x221b86(0x146)](){return[_0x4bfe1b];}static get[_0x221b86(0x132)](){const _0x45e464=_0x221b86;return _0x45e464(0x12a);}static get[_0x221b86(0x115)](){return!0x0;}static get[_0x221b86(0x16a)](){return!0x0;}[_0x221b86(0x114)](){const _0x2f945a=_0x221b86,_0x520de5=this[_0x2f945a(0x183)],_0x37c1bf=_0x520de5[_0x2f945a(0x131)][_0x2f945a(0x172)](_0x4bfe1b);_0x520de5[_0x2f945a(0x127)][_0x2f945a(0x113)](_0x2f945a(0x110))[_0x2f945a(0x17e)]({'model':_0x2f945a(0x15f),'view':(_0xe59330,{writer:_0x4fd9d8})=>function(_0x2bb63f,_0x5b90ea,_0xaeabff,_0x47fcc2){const _0x42b5d9=_0x2f945a,_0x1e8600=_0x2bb63f[_0x42b5d9(0x17d)][_0x42b5d9(0x14d)](':')[0x2],_0x2aae9a=_0xaeabff[_0x42b5d9(0x177)](_0x1e8600);if(!_0x2aae9a||_0x1e8600===_0xaeabff[_0x42b5d9(0x174)])return;if(!_0x47fcc2[_0x42b5d9(0x152)][_0x42b5d9(0x16f)][_0x42b5d9(0x116)](_0x2bb63f[_0x42b5d9(0x121)][_0x42b5d9(0x12d)],_0x42b5d9(0x14b)))return;const _0x4eb649={'class':_0x42b5d9(0x142)+_0x2aae9a[_0x42b5d9(0x176)][_0x42b5d9(0x18b)](),'data-name':_0x2aae9a[_0x42b5d9(0x11c)],'data-session-id':_0x1e8600},_0x4efce3=_0x47fcc2[_0x42b5d9(0x152)][_0x42b5d9(0x120)][_0x42b5d9(0x172)](_0x2bb63f[_0x42b5d9(0x17d)]),_0x5a00bf=_0x4efce3[_0x42b5d9(0x11f)](),_0x1e6118=_0x5a00bf[_0x42b5d9(0x166)],_0xd48367=_0x47fcc2[_0x42b5d9(0x152)][_0x42b5d9(0x16f)];if(_0x1e6118&&_0xd48367[_0x42b5d9(0x118)](_0x1e6118)&&_0xd48367[_0x42b5d9(0x14a)](_0x1e6118)&&!_0x47fcc2[_0x42b5d9(0x152)][_0x42b5d9(0x120)][_0x42b5d9(0x172)](_0x42b5d9(0x18e)+_0x1e8600)[_0x42b5d9(0x10f)]()[_0x42b5d9(0x17c)])return;const _0x2fe794=_0x5a00bf[_0x42b5d9(0x175)];return _0x47fcc2[_0x42b5d9(0x152)][_0x42b5d9(0x16f)][_0x42b5d9(0x18a)](_0x2fe794)&&!_0x47fcc2[_0x42b5d9(0x152)][_0x42b5d9(0x137)](_0x2fe794)&&(_0x4eb649[_0x42b5d9(0x18f)]=!0x1),function(_0x5b63c0,_0x2ee8f9,_0x3197f){const _0x3533ff=_0x42b5d9,_0x55cc4f=_0x5b63c0[_0x3533ff(0x10d)](_0x3533ff(0x122),_0x2ee8f9);return _0x5b63c0[_0x3533ff(0x15d)](_0x3533ff(0x169),!0x0,_0x55cc4f),_0x55cc4f[_0x3533ff(0x16e)]=function(_0x229381){const _0x50e59d=_0x3533ff,_0x55228d=this[_0x50e59d(0x181)](_0x229381);return _0x55228d[_0x50e59d(0x11d)]=_0x50e59d(0x144)+_0x3197f[_0x50e59d(0x11c)]+_0x50e59d(0x188),_0x55228d[_0x50e59d(0x185)](_0x50e59d(0x123),()=>{const _0x45a25b=_0x50e59d;_0x55228d[_0x45a25b(0x13a)][_0x45a25b(0x184)](_0x45a25b(0x154));}),_0x55228d[_0x50e59d(0x185)](_0x50e59d(0x160),()=>{const _0x4ba697=_0x50e59d;_0x55228d[_0x4ba697(0x13a)][_0x4ba697(0x159)](_0x4ba697(0x154));}),_0x55228d;},_0x55cc4f[_0x3533ff(0x124)]=function(_0x127d46){const _0x184c9c=_0x3533ff;return!(!this[_0x184c9c(0x143)](_0x184c9c(0x169))||!_0x127d46[_0x184c9c(0x143)](_0x184c9c(0x169))||this[_0x184c9c(0x135)](_0x184c9c(0x138))!=_0x127d46[_0x184c9c(0x135)](_0x184c9c(0x138)));},_0x55cc4f;}(_0x5b90ea,_0x4eb649,_0x2aae9a);}(_0xe59330,_0x4fd9d8,_0x37c1bf,_0x520de5)}),_0x520de5[_0x2f945a(0x127)][_0x2f945a(0x113)](_0x2f945a(0x110))[_0x2f945a(0x171)]({'model':_0x2f945a(0x125),'view':_0x5a8540=>function(_0xe055e1,_0x326b8d){const _0x10ab2c=_0x2f945a,_0xb3b170=_0xe055e1[_0x10ab2c(0x17d)][_0x10ab2c(0x14d)](':')[0x2];if(_0xb3b170===_0x326b8d[_0x10ab2c(0x174)])return null;const _0x2fb75d=_0x326b8d[_0x10ab2c(0x177)](_0xb3b170);if(!_0x2fb75d)return{'id':_0xb3b170,'classes':[]};return{'id':_0xb3b170,'classes':[_0x10ab2c(0x129),_0x2fb75d[_0x10ab2c(0x176)][_0x10ab2c(0x190)]()],'attributes':{'data-session-id':_0xb3b170},'priority':0x7d0+_0x2fb75d[_0x10ab2c(0x10e)]};}(_0x5a8540,_0x37c1bf)}),function(_0x5b85d9){const _0x22501e=_0x2f945a,_0x500643=_0x5b85d9[_0x22501e(0x152)],_0x12ffbf=new Map(),_0x1fe18e=_0x5b85d9[_0x22501e(0x131)][_0x22501e(0x172)](_0x4bfe1b);_0x500643[_0x22501e(0x120)]['on'](_0x22501e(0x134),(_0x4599cb,_0x1773d1,_0x3698d7,_0x4e27d4)=>{const _0x35f624=_0x22501e;if(!_0x4e27d4&&_0x12ffbf[_0x35f624(0x172)](_0x1773d1[_0x35f624(0x11c)]))return _0x12ffbf[_0x35f624(0x172)](_0x1773d1[_0x35f624(0x11c)])[_0x35f624(0x14e)](),void _0x12ffbf[_0x35f624(0x151)](_0x1773d1[_0x35f624(0x11c)]);const _0x7b01f6=_0x1773d1[_0x35f624(0x11c)][_0x35f624(0x14d)](':')[0x2];if(_0x7b01f6===_0x1fe18e[_0x35f624(0x174)])return;const _0xcf3570=_0x35f624(0x153)+_0x7b01f6;_0x500643[_0x35f624(0x120)][_0x35f624(0x133)](_0xcf3570)&&_0x5b85d9[_0x35f624(0x182)][_0x35f624(0x161)](_0xcf3570),_0x1773d1['on'](_0x35f624(0x126),(_0xf376a2,_0x3847f1,_0x59c0ca)=>{const _0x235fa7=_0x35f624;if(_0x235fa7(0x140)!=_0x3847f1[_0x235fa7(0x11a)][_0x235fa7(0x168)]&&_0x235fa7(0x140)==_0x1773d1[_0x235fa7(0x10f)]()[_0x235fa7(0x11a)][_0x235fa7(0x168)]&&!_0x12ffbf[_0x235fa7(0x133)](_0x1773d1[_0x235fa7(0x11c)])){const _0x8ed0af=_0x500643[_0x235fa7(0x16f)][_0x235fa7(0x18d)](_0x59c0ca[_0x235fa7(0x12b)]);if(_0x8ed0af){const _0x1a9540=_0x3951ff[_0x235fa7(0x136)](_0x8ed0af);_0x12ffbf[_0x235fa7(0x15b)](_0x1773d1[_0x235fa7(0x11c)],_0x1a9540),_0x1a9540['on'](_0x235fa7(0x126),(_0x5449e1,_0x5dcbc5,_0x50fe00)=>{const _0x19a235=_0x235fa7;if(_0x19a235(0x140)==_0x1a9540[_0x19a235(0x11a)][_0x19a235(0x168)]){const _0x4b4751=_0x500643[_0x19a235(0x16f)][_0x19a235(0x18d)](_0x50fe00[_0x19a235(0x12b)]);_0x4b4751?(_0x1a9540[_0x19a235(0x12d)]=_0x4b4751[_0x19a235(0x12d)],_0x1a9540[_0x19a235(0x149)]=_0x4b4751[_0x19a235(0x149)]):(_0x12ffbf[_0x19a235(0x151)](_0x1773d1[_0x19a235(0x11c)]),_0x1a9540[_0x19a235(0x14e)]());}});}}});}),_0x500643[_0x22501e(0x186)]['on'](_0x22501e(0x179),()=>{const _0x545fe9=_0x22501e;_0x12ffbf[_0x545fe9(0x187)]>0x0&&_0x500643[_0x545fe9(0x13e)]({'isUndoable':!0x1},_0x461980=>{const _0x19318d=_0x545fe9;for(const [_0x434d11,_0x4a62d6]of _0x12ffbf)_0x19318d(0x140)==_0x500643[_0x19318d(0x120)][_0x19318d(0x172)](_0x434d11)[_0x19318d(0x10f)]()[_0x19318d(0x11a)][_0x19318d(0x168)]&&(te(_0x434d11[_0x19318d(0x14d)](':')[0x2],_0x4a62d6[_0x19318d(0x12f)](),_0x500643,_0x461980),_0x4a62d6[_0x19318d(0x14e)]());_0x12ffbf[_0x19318d(0x11e)]();});});}(_0x520de5),this[_0x2f945a(0x12c)][_0x2f945a(0x164)](_0xf18eca[_0x2f945a(0x186)],_0x2f945a(0x178),(_0x2a6c27,{key:_0x3045ea})=>{const _0x87651a=_0x2f945a;_0x87651a(0x13f)===_0x3045ea&&function(_0xe0faba){const _0x33f24e=_0x87651a;_0xe0faba[_0x33f24e(0x182)][_0x33f24e(0x155)][_0x33f24e(0x179)](_0x33fc5e=>{const _0x272870=_0x33f24e;for(const _0x49575a of _0xe0faba[_0x272870(0x152)][_0x272870(0x120)]){if(!_0x49575a[_0x272870(0x11c)][_0x272870(0x130)](_0x272870(0x15f)))continue;const _0x389e56=_0xe0faba[_0x272870(0x182)][_0x272870(0x11b)][_0x272870(0x170)](_0x49575a[_0x272870(0x11c)]);if(_0x389e56){for(const _0x38a811 of _0x389e56)_0x33fc5e[_0x272870(0x112)](_0x272870(0x154),_0x38a811);}}});}(_0x520de5);},{'useCapture':!0x0});}[_0x221b86(0x16c)](){const _0x4eb001=_0x221b86,_0x2c51ca=this[_0x4eb001(0x183)],_0x3d5ea2=_0x2c51ca[_0x4eb001(0x150)][_0x4eb001(0x172)](_0x4eb001(0x180));_0x3d5ea2&&_0x2c51ca[_0x4eb001(0x152)]['on'](_0x4eb001(0x156),(_0x529e0f,_0xc48b63)=>{const _0x32d526=_0x4eb001,_0x5922b7=_0xc48b63[0x0];if(_0x32d526(0x13b)!=_0x5922b7[_0x32d526(0x14f)]||!_0x5922b7[_0x32d526(0x11c)][_0x32d526(0x130)](_0x32d526(0x163)))return;const _0x1615d2=_0x5922b7[_0x32d526(0x18c)];_0x3d5ea2[_0x32d526(0x15c)][_0x32d526(0x133)](_0x1615d2)&&(_0x5922b7[_0x32d526(0x16d)]=_0x5922b7[_0x32d526(0x111)]?_0x2c51ca[_0x32d526(0x152)][_0x32d526(0x145)](_0x5922b7[_0x32d526(0x111)][_0x32d526(0x12d)],_0x5922b7[_0x32d526(0x111)][_0x32d526(0x149)]):null);},{'priority':_0x4eb001(0x128)});}[_0x221b86(0x13d)](){const _0x4657e9=_0x221b86;return this[_0x4657e9(0x12c)][_0x4657e9(0x157)](),super[_0x4657e9(0x13d)]();}[_0x221b86(0x147)](){const _0x51cff0=_0x221b86,_0x3667d5=this[_0x51cff0(0x183)],_0x4d3cdb=_0x3667d5[_0x51cff0(0x152)][_0x51cff0(0x186)],_0x193a5c=_0x3667d5[_0x51cff0(0x131)][_0x51cff0(0x172)](_0x4bfe1b);_0x3667d5[_0x51cff0(0x152)][_0x51cff0(0x13e)]({'isUndoable':!0x1},_0xf8fcce=>{const _0x492ea2=_0x51cff0,_0x2a6e37=_0x492ea2(0x18e)+_0x193a5c[_0x492ea2(0x174)],_0x44355b=_0x492ea2(0x153)+_0x193a5c[_0x492ea2(0x174)],_0x27fd2b=_0x3667d5[_0x492ea2(0x152)][_0x492ea2(0x120)][_0x492ea2(0x133)](_0x2a6e37);_0x3667d5[_0x492ea2(0x182)][_0x492ea2(0x155)][_0x492ea2(0x173)]?te(_0x193a5c[_0x492ea2(0x174)],_0x4d3cdb[_0x492ea2(0x13c)][_0x492ea2(0x15a)](),_0x3667d5[_0x492ea2(0x152)],_0xf8fcce):_0x27fd2b&&(_0xf8fcce[_0x492ea2(0x189)](_0x2a6e37),_0xf8fcce[_0x492ea2(0x189)](_0x44355b));});}}function _0x3565(_0x1557d7,_0x25afae){const _0x3c3a37=_0x3c3a();return _0x3565=function(_0x3565b7,_0x2cc282){_0x3565b7=_0x3565b7-0x10d;let _0x10c35e=_0x3c3a37[_0x3565b7];return _0x10c35e;},_0x3565(_0x1557d7,_0x25afae);}function te(_0x42508d,_0x11e810,_0x1817b6,_0x3ae314){const _0x4d9f66=_0x221b86,_0x475c8a=_0x4d9f66(0x18e)+_0x42508d,_0x4dbd43=_0x4d9f66(0x153)+_0x42508d,_0x18aaf4=_0x11e810[_0x4d9f66(0x16b)]();let _0x5129ca=_0x11e810[_0x4d9f66(0x12d)];_0x18aaf4&&_0x18aaf4['is'](_0x4d9f66(0x148),_0x4d9f66(0x139))&&(_0x5129ca=function(_0x593120,_0x333517){const _0x116866=_0x4d9f66;for(const _0x457155 of _0x593120[_0x116866(0x167)]())if(_0x333517[_0x116866(0x16f)][_0x116866(0x116)](_0x457155,_0x116866(0x14b)))return _0x457155;}(_0x11e810,_0x1817b6),_0x11e810=_0x3ae314[_0x4d9f66(0x145)](_0x5129ca));const _0x4b71b5=_0x3ae314[_0x4d9f66(0x145)](_0x5129ca);_0x1817b6[_0x4d9f66(0x120)][_0x4d9f66(0x133)](_0x475c8a)?(_0x3ae314[_0x4d9f66(0x141)](_0x475c8a,{'range':_0x11e810}),_0x3ae314[_0x4d9f66(0x141)](_0x4dbd43,{'range':_0x4b71b5})):(_0x3ae314[_0x4d9f66(0x17f)](_0x475c8a,{'range':_0x11e810,'usingOperation':!0x0}),_0x3ae314[_0x4d9f66(0x17f)](_0x4dbd43,{'range':_0x4b71b5,'usingOperation':!0x0}));}
|
|
23
|
+
function _0x3f38(){const _0x31ed37=['reconvertMarker','user:range','applyOperation','8574006DOueGI','marker','27XvAtWB','toDomElement','183meYkko','addEventListener','destroy','2919675YKmMpA','createUserMarkerOperations','hasContent','editing','726085MPqBxL','isLimit','innerHTML','remove','change:range','removeMarker','40778glGDqk','removeClass','isOfficialPlugin','userPositionMarker','document','user:range:','init','markerToElement','getNearestSelectionRange','add','$graveyard','5362QtUxOc','root','getSelectionClass','$text','model','markerName','view','getContainedElement','hasDomSelection','data-session-id','toRange','ck-user__marker_hovered','plugins','classList','markerRange','markerToHighlight','start','enqueueChange','35yWYdet','size','isPremiumPlugin','undo','_createdBatches','afterInit','highest','requires','createUIElement','name','mySessionId','user:','change','span','UserMarkers','updateMarker','element','getCustomProperty','clear','mouseleave','newRange','getFirstRange','keydown','checkChild','rootName','736156RsQFWk','orderNumber','startsWith','user:position:','conversion','getPositions','isInline','set','5480bWSBEs','ck-user__marker\x20','isCollapsed','contenteditable','render','createRange','batch','color','oldRange','pluginName','stopListening','isObject','get','getRange','addMarker','mouseenter','selection','user:position','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','detach','isSimilar','setCustomProperty','getMarkerClass','update:user:range','ck-user__selection','mapper','end','tableCell','schema','getStart','getAttribute','commands','861430mSuLkp','delete','type','fromRange','getUserBySessionId','_domEmitter','editor','deletionPosition','nodeAfter','has','markerNameToElements','split','editingDowncast','</span>','Escape','listenTo','parent','for','markers'];_0x3f38=function(){return _0x31ed37;};return _0x3f38();}const _0x547f47=_0x5f20;(function(_0x3079f9,_0x55b9ac){const _0x28d09a=_0x5f20,_0x557d8b=_0x3079f9();while(!![]){try{const _0x4aa85b=-parseInt(_0x28d09a(0xbb))/0x1+-parseInt(_0x28d09a(0xc1))/0x2*(parseInt(_0x28d09a(0xb4))/0x3)+-parseInt(_0x28d09a(0x72))/0x4*(-parseInt(_0x28d09a(0xde))/0x5)+parseInt(_0x28d09a(0xb0))/0x6+parseInt(_0x28d09a(0xcc))/0x7*(-parseInt(_0x28d09a(0x7a))/0x8)+parseInt(_0x28d09a(0xb2))/0x9*(parseInt(_0x28d09a(0x9a))/0xa)+parseInt(_0x28d09a(0xb7))/0xb;if(_0x4aa85b===_0x55b9ac)break;else _0x557d8b['push'](_0x557d8b['shift']());}catch(_0xa738a7){_0x557d8b['push'](_0x557d8b['shift']());}}}(_0x3f38,0xb646c));function _0x5f20(_0x2e8ce7,_0x26c842){const _0x3f389d=_0x3f38();return _0x5f20=function(_0x5f20d2,_0x5f22a1){_0x5f20d2=_0x5f20d2-0x67;let _0x4bbcf0=_0x3f389d[_0x5f20d2];return _0x4bbcf0;},_0x5f20(_0x2e8ce7,_0x26c842);}import{Plugin as _0x462d35}from'ckeditor5/src/core.js';import{global as _0x18b4dd,DomEmitterMixin as _0x47dda4}from'ckeditor5/src/utils.js';import _0x59971 from'./sessions.js';import{LiveRange as _0xd120c9}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x462d35{constructor(){const _0x559d03=_0x5f20;super(...arguments),this[_0x559d03(0x9f)]=new(_0x47dda4())();}static get[_0x547f47(0xe5)](){return[_0x59971];}static get[_0x547f47(0x83)](){const _0x783ea4=_0x547f47;return _0x783ea4(0x67);}static get[_0x547f47(0xc3)](){return!0x0;}static get[_0x547f47(0xe0)](){return!0x0;}[_0x547f47(0xc7)](){const _0x33ae4e=_0x547f47,_0x415101=this[_0x33ae4e(0xa0)],_0x6c5795=_0x415101[_0x33ae4e(0xd8)][_0x33ae4e(0x86)](_0x59971);_0x415101[_0x33ae4e(0x76)][_0x33ae4e(0xab)](_0x33ae4e(0xa6))[_0x33ae4e(0xc8)]({'model':_0x33ae4e(0x8b),'view':(_0x4f73e6,{writer:_0x241acd})=>function(_0xd015fc,_0x44f7e4,_0x36556f,_0x1edca4){const _0x148dee=_0x33ae4e,_0x4b3e76=_0xd015fc[_0x148dee(0xd1)][_0x148dee(0xa5)](':')[0x2],_0x256262=_0x36556f[_0x148dee(0x9e)](_0x4b3e76);if(!_0x256262||_0x4b3e76===_0x36556f[_0x148dee(0xe8)])return;if(!_0x1edca4[_0x148dee(0xd0)][_0x148dee(0x96)][_0x148dee(0x70)](_0xd015fc[_0x148dee(0xda)][_0x148dee(0xdc)],_0x148dee(0xcf)))return;const _0x306897={'class':_0x148dee(0x7b)+_0x256262[_0x148dee(0x81)][_0x148dee(0x90)](),'data-name':_0x256262[_0x148dee(0xe7)],'data-session-id':_0x4b3e76},_0x3cc1e9=_0x1edca4[_0x148dee(0xd0)][_0x148dee(0xac)][_0x148dee(0x86)](_0xd015fc[_0x148dee(0xd1)]),_0x599931=_0x3cc1e9[_0x148dee(0x97)](),_0x6d86b8=_0x599931[_0x148dee(0xa2)],_0xeff809=_0x1edca4[_0x148dee(0xd0)][_0x148dee(0x96)];if(_0x6d86b8&&_0xeff809[_0x148dee(0x85)](_0x6d86b8)&&_0xeff809[_0x148dee(0x78)](_0x6d86b8)&&!_0x1edca4[_0x148dee(0xd0)][_0x148dee(0xac)][_0x148dee(0x86)](_0x148dee(0xc6)+_0x4b3e76)[_0x148dee(0x87)]()[_0x148dee(0x7c)])return;const _0x3ddf7c=_0x599931[_0x148dee(0xaa)];return _0x1edca4[_0x148dee(0xd0)][_0x148dee(0x96)][_0x148dee(0xbc)](_0x3ddf7c)&&!_0x1edca4[_0x148dee(0xd0)][_0x148dee(0xb9)](_0x3ddf7c)&&(_0x306897[_0x148dee(0x7d)]=!0x1),function(_0x545973,_0x1be4f4,_0x5300cb){const _0x57fe8d=_0x148dee,_0x5c6c9c=_0x545973[_0x57fe8d(0xe6)](_0x57fe8d(0xeb),_0x1be4f4);return _0x545973[_0x57fe8d(0x8f)](_0x57fe8d(0xc4),!0x0,_0x5c6c9c),_0x5c6c9c[_0x57fe8d(0x7e)]=function(_0x2777a3){const _0x9275c8=_0x57fe8d,_0xc57bd=this[_0x9275c8(0xb3)](_0x2777a3);return _0xc57bd[_0x9275c8(0xbd)]=_0x9275c8(0x8c)+_0x5300cb[_0x9275c8(0xe7)]+_0x9275c8(0xa7),_0xc57bd[_0x9275c8(0xb5)](_0x9275c8(0x89),()=>{const _0x513ba3=_0x9275c8;_0xc57bd[_0x513ba3(0xd9)][_0x513ba3(0xca)](_0x513ba3(0xd7));}),_0xc57bd[_0x9275c8(0xb5)](_0x9275c8(0x6c),()=>{const _0x20d204=_0x9275c8;_0xc57bd[_0x20d204(0xd9)][_0x20d204(0xbe)](_0x20d204(0xd7));}),_0xc57bd;},_0x5c6c9c[_0x57fe8d(0x8e)]=function(_0x21c5d7){const _0x2f907f=_0x57fe8d;return!(!this[_0x2f907f(0x6a)](_0x2f907f(0xc4))||!_0x21c5d7[_0x2f907f(0x6a)](_0x2f907f(0xc4))||this[_0x2f907f(0x98)](_0x2f907f(0xd5))!=_0x21c5d7[_0x2f907f(0x98)](_0x2f907f(0xd5)));},_0x5c6c9c;}(_0x44f7e4,_0x306897,_0x256262);}(_0x4f73e6,_0x241acd,_0x6c5795,_0x415101)}),_0x415101[_0x33ae4e(0x76)][_0x33ae4e(0xab)](_0x33ae4e(0xa6))[_0x33ae4e(0xdb)]({'model':_0x33ae4e(0xae),'view':_0x170bff=>function(_0x36c03f,_0x3a65b2){const _0x3abfed=_0x33ae4e,_0x53b586=_0x36c03f[_0x3abfed(0xd1)][_0x3abfed(0xa5)](':')[0x2];if(_0x53b586===_0x3a65b2[_0x3abfed(0xe8)])return null;const _0x3670f2=_0x3a65b2[_0x3abfed(0x9e)](_0x53b586);if(!_0x3670f2)return{'id':_0x53b586,'classes':[]};return{'id':_0x53b586,'classes':[_0x3abfed(0x92),_0x3670f2[_0x3abfed(0x81)][_0x3abfed(0xce)]()],'attributes':{'data-session-id':_0x53b586},'priority':0x7d0+_0x3670f2[_0x3abfed(0x73)]};}(_0x170bff,_0x6c5795)}),function(_0x84eb0){const _0xb6f554=_0x33ae4e,_0x5bf209=_0x84eb0[_0xb6f554(0xd0)],_0x3f5933=new Map(),_0x3e37e4=_0x84eb0[_0xb6f554(0xd8)][_0xb6f554(0x86)](_0x59971);_0x5bf209[_0xb6f554(0xac)]['on'](_0xb6f554(0x91),(_0x5de9da,_0x5d3738,_0x1fdfa8,_0x569722)=>{const _0x42839b=_0xb6f554;if(!_0x569722&&_0x3f5933[_0x42839b(0x86)](_0x5d3738[_0x42839b(0xe7)]))return _0x3f5933[_0x42839b(0x86)](_0x5d3738[_0x42839b(0xe7)])[_0x42839b(0x8d)](),void _0x3f5933[_0x42839b(0x9b)](_0x5d3738[_0x42839b(0xe7)]);const _0x308e9e=_0x5d3738[_0x42839b(0xe7)][_0x42839b(0xa5)](':')[0x2];if(_0x308e9e===_0x3e37e4[_0x42839b(0xe8)])return;const _0x3f2f0d=_0x42839b(0x75)+_0x308e9e;_0x5bf209[_0x42839b(0xac)][_0x42839b(0xa3)](_0x3f2f0d)&&_0x84eb0[_0x42839b(0xba)][_0x42839b(0xad)](_0x3f2f0d),_0x5d3738['on'](_0x42839b(0xbf),(_0x54e489,_0x25b9bd,_0x274551)=>{const _0x570c04=_0x42839b;if(_0x570c04(0xcb)!=_0x25b9bd[_0x570c04(0xcd)][_0x570c04(0x71)]&&_0x570c04(0xcb)==_0x5d3738[_0x570c04(0x87)]()[_0x570c04(0xcd)][_0x570c04(0x71)]&&!_0x3f5933[_0x570c04(0xa3)](_0x5d3738[_0x570c04(0xe7)])){const _0x118c89=_0x5bf209[_0x570c04(0x96)][_0x570c04(0xc9)](_0x274551[_0x570c04(0xa1)]);if(_0x118c89){const _0x4bba89=_0xd120c9[_0x570c04(0x9d)](_0x118c89);_0x3f5933[_0x570c04(0x79)](_0x5d3738[_0x570c04(0xe7)],_0x4bba89),_0x4bba89['on'](_0x570c04(0xbf),(_0x10861e,_0xa0bf5b,_0x590335)=>{const _0x4b8ce8=_0x570c04;if(_0x4b8ce8(0xcb)==_0x4bba89[_0x4b8ce8(0xcd)][_0x4b8ce8(0x71)]){const _0x4a5792=_0x5bf209[_0x4b8ce8(0x96)][_0x4b8ce8(0xc9)](_0x590335[_0x4b8ce8(0xa1)]);_0x4a5792?(_0x4bba89[_0x4b8ce8(0xdc)]=_0x4a5792[_0x4b8ce8(0xdc)],_0x4bba89[_0x4b8ce8(0x94)]=_0x4a5792[_0x4b8ce8(0x94)]):(_0x3f5933[_0x4b8ce8(0x9b)](_0x5d3738[_0x4b8ce8(0xe7)]),_0x4bba89[_0x4b8ce8(0x8d)]());}});}}});}),_0x5bf209[_0xb6f554(0xc5)]['on'](_0xb6f554(0xea),()=>{const _0x44958e=_0xb6f554;_0x3f5933[_0x44958e(0xdf)]>0x0&&_0x5bf209[_0x44958e(0xdd)]({'isUndoable':!0x1},_0x2ce6ce=>{const _0x1bb528=_0x44958e;for(const [_0x3e6560,_0x541233]of _0x3f5933)_0x1bb528(0xcb)==_0x5bf209[_0x1bb528(0xac)][_0x1bb528(0x86)](_0x3e6560)[_0x1bb528(0x87)]()[_0x1bb528(0xcd)][_0x1bb528(0x71)]&&(re(_0x3e6560[_0x1bb528(0xa5)](':')[0x2],_0x541233[_0x1bb528(0xd6)](),_0x5bf209,_0x2ce6ce),_0x541233[_0x1bb528(0x8d)]());_0x3f5933[_0x1bb528(0x6b)]();});});}(_0x415101),this[_0x33ae4e(0x9f)][_0x33ae4e(0xa9)](_0x18b4dd[_0x33ae4e(0xc5)],_0x33ae4e(0x6f),(_0x3a1a13,{key:_0x58a79f})=>{const _0x3e21b3=_0x33ae4e;_0x3e21b3(0xa8)===_0x58a79f&&function(_0x1452eb){const _0xec2862=_0x3e21b3;_0x1452eb[_0xec2862(0xba)][_0xec2862(0xd2)][_0xec2862(0xea)](_0xfd19cc=>{const _0x3b4317=_0xec2862;for(const _0x3d8cfa of _0x1452eb[_0x3b4317(0xd0)][_0x3b4317(0xac)]){if(!_0x3d8cfa[_0x3b4317(0xe7)][_0x3b4317(0x74)](_0x3b4317(0x8b)))continue;const _0x14523b=_0x1452eb[_0x3b4317(0xba)][_0x3b4317(0x93)][_0x3b4317(0xa4)](_0x3d8cfa[_0x3b4317(0xe7)]);if(_0x14523b){for(const _0x3d1bad of _0x14523b)_0xfd19cc[_0x3b4317(0xc2)](_0x3b4317(0xd7),_0x3d1bad);}}});}(_0x415101);},{'useCapture':!0x0});}[_0x547f47(0xe3)](){const _0x240f07=_0x547f47,_0x537c26=this[_0x240f07(0xa0)],_0x436a68=_0x537c26[_0x240f07(0x99)][_0x240f07(0x86)](_0x240f07(0xe1));_0x436a68&&_0x537c26[_0x240f07(0xd0)]['on'](_0x240f07(0xaf),(_0x570ad8,_0x4e142a)=>{const _0x3e2280=_0x240f07,_0x5f3c29=_0x4e142a[0x0];if(_0x3e2280(0xb1)!=_0x5f3c29[_0x3e2280(0x9c)]||!_0x5f3c29[_0x3e2280(0xe7)][_0x3e2280(0x74)](_0x3e2280(0xe9)))return;const _0x408b6a=_0x5f3c29[_0x3e2280(0x80)];_0x436a68[_0x3e2280(0xe2)][_0x3e2280(0xa3)](_0x408b6a)&&(_0x5f3c29[_0x3e2280(0x6d)]=_0x5f3c29[_0x3e2280(0x82)]?_0x537c26[_0x3e2280(0xd0)][_0x3e2280(0x7f)](_0x5f3c29[_0x3e2280(0x82)][_0x3e2280(0xdc)],_0x5f3c29[_0x3e2280(0x82)][_0x3e2280(0x94)]):null);},{'priority':_0x240f07(0xe4)});}[_0x547f47(0xb6)](){const _0x3fa20c=_0x547f47;return this[_0x3fa20c(0x9f)][_0x3fa20c(0x84)](),super[_0x3fa20c(0xb6)]();}[_0x547f47(0xb8)](){const _0x32fe58=_0x547f47,_0x5251e5=this[_0x32fe58(0xa0)],_0xad69b=_0x5251e5[_0x32fe58(0xd0)][_0x32fe58(0xc5)],_0x47b5e6=_0x5251e5[_0x32fe58(0xd8)][_0x32fe58(0x86)](_0x59971);_0x5251e5[_0x32fe58(0xd0)][_0x32fe58(0xdd)]({'isUndoable':!0x1},_0x3de77a=>{const _0x2c6ea5=_0x32fe58,_0x56ee5d=_0x2c6ea5(0xc6)+_0x47b5e6[_0x2c6ea5(0xe8)],_0x6b7d3=_0x2c6ea5(0x75)+_0x47b5e6[_0x2c6ea5(0xe8)],_0x3dfe3c=_0x5251e5[_0x2c6ea5(0xd0)][_0x2c6ea5(0xac)][_0x2c6ea5(0xa3)](_0x56ee5d);_0x5251e5[_0x2c6ea5(0xba)][_0x2c6ea5(0xd2)][_0x2c6ea5(0xd4)]?re(_0x47b5e6[_0x2c6ea5(0xe8)],_0xad69b[_0x2c6ea5(0x8a)][_0x2c6ea5(0x6e)](),_0x5251e5[_0x2c6ea5(0xd0)],_0x3de77a):_0x3dfe3c&&(_0x3de77a[_0x2c6ea5(0xc0)](_0x56ee5d),_0x3de77a[_0x2c6ea5(0xc0)](_0x6b7d3));});}}function re(_0x37387c,_0x2f4a60,_0x55603b,_0x45049f){const _0x2375b9=_0x547f47,_0x45083f=_0x2375b9(0xc6)+_0x37387c,_0x5362e9=_0x2375b9(0x75)+_0x37387c,_0x539637=_0x2f4a60[_0x2375b9(0xd3)]();let _0x394ea4=_0x2f4a60[_0x2375b9(0xdc)];_0x539637&&_0x539637['is'](_0x2375b9(0x69),_0x2375b9(0x95))&&(_0x394ea4=function(_0xbfeea0,_0x339df3){const _0x193635=_0x2375b9;for(const _0x171945 of _0xbfeea0[_0x193635(0x77)]())if(_0x339df3[_0x193635(0x96)][_0x193635(0x70)](_0x171945,_0x193635(0xcf)))return _0x171945;}(_0x2f4a60,_0x55603b),_0x2f4a60=_0x45049f[_0x2375b9(0x7f)](_0x394ea4));const _0x44e169=_0x45049f[_0x2375b9(0x7f)](_0x394ea4);_0x55603b[_0x2375b9(0xac)][_0x2375b9(0xa3)](_0x45083f)?(_0x45049f[_0x2375b9(0x68)](_0x45083f,{'range':_0x2f4a60}),_0x45049f[_0x2375b9(0x68)](_0x5362e9,{'range':_0x44e169})):(_0x45049f[_0x2375b9(0x88)](_0x45083f,{'range':_0x2f4a60,'usingOperation':!0x0}),_0x45049f[_0x2375b9(0x88)](_0x5362e9,{'range':_0x44e169,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x30191c=_0x5c8f;function _0x5c8f(_0x4d83ab,_0x27f81f){const _0x929708=_0x9297();return _0x5c8f=function(_0x5c8f63,_0x60d9b4){_0x5c8f63=_0x5c8f63-0x69;let _0x5df61e=_0x929708[_0x5c8f63];return _0x5df61e;},_0x5c8f(_0x4d83ab,_0x27f81f);}(function(_0x64795d,_0x132fe7){const _0x501e46=_0x5c8f,_0x3443c6=_0x64795d();while(!![]){try{const _0x5b29b6=parseInt(_0x501e46(0x85))/0x1*(parseInt(_0x501e46(0x6b))/0x2)+parseInt(_0x501e46(0xa9))/0x3*(-parseInt(_0x501e46(0x6d))/0x4)+parseInt(_0x501e46(0xa2))/0x5+parseInt(_0x501e46(0x88))/0x6+-parseInt(_0x501e46(0xac))/0x7*(-parseInt(_0x501e46(0x94))/0x8)+parseInt(_0x501e46(0x8a))/0x9*(parseInt(_0x501e46(0x79))/0xa)+-parseInt(_0x501e46(0x6f))/0xb;if(_0x5b29b6===_0x132fe7)break;else _0x3443c6['push'](_0x3443c6['shift']());}catch(_0x20a557){_0x3443c6['push'](_0x3443c6['shift']());}}}(_0x9297,0x49d0e));function _0x9297(){const _0x2bb4e9=['885GoDYqm','create','addToReconnectionStack','2149ewsXcE','isPremiumPlugin','add','real-time-collaboration','destroy','_reconnectionStack','disconnect','cloudservices-init','_domEmitter','connection','requires','519758auLsWo','Connected\x20users\x20limit\x20exceeded','444ZIhKcO','showWarning','11476432kvSzEz','listenTo','cloudServices.requestTimeout','offline','websocketgateway-invalid-plugin-interface','websocketgateway-missing-websocket-url','get','function','DISCONNECTED','websocketgateway-missing-token','11980NlCdcR','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','then','constructor','config','isOfficialPlugin','pluginName','initialReconnectionInterval','isInReconnectionStack','error','change:me','cloudservices-reconnection-error','1ZevzCz','websocketgateway-plugin-already-registered','limitExceeded','868560OqMghd','CONNECTED','837jQGYUj','token','catch','WebSocketGateway','connect','connected','CloudServices','webSocketUrl','_shouldPluginsReconnect','delete','12128ZDygYz','reconnect','bind','all','_isBrowserOffline','init','online','plugins','has','stopListening','CONNECTING','cloudServices.connectionTimeout','from','code','1984710DdcypC','set','_reconnect','define','state','context','removeFromReconnectionStack'];_0x9297=function(){return _0x2bb4e9;};return _0x9297();}import{ContextPlugin as _0x252b88}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x5d81b7,CKEditorError as _0x51d19b}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x299ae0,WEB_SOCKET_GATEWAY_STATES as _0x142747}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x5dbe5a}from'ckeditor5/src/ui.js';class c extends _0x252b88{static get[_0x30191c(0x6a)](){const _0x489074=_0x30191c;return[_0x489074(0x90),_0x5dbe5a];}static get[_0x30191c(0x7f)](){const _0x2154f3=_0x30191c;return _0x2154f3(0x8d);}static get[_0x30191c(0x7e)](){return!0x0;}static get[_0x30191c(0xad)](){return!0x0;}constructor(_0x76c49d){const _0x2351fd=_0x30191c;super(_0x76c49d),this[_0x2351fd(0xa3)](_0x2351fd(0xa6),_0x142747[_0x2351fd(0x89)]),this[_0x2351fd(0xa3)](_0x2351fd(0x98),!0x1),this[_0x2351fd(0xb1)]=new Set(),this[_0x2351fd(0x92)]=!0x1,this[_0x2351fd(0xb4)]=Object[_0x2351fd(0xaa)](_0x5d81b7);}[_0x30191c(0x99)](){const _0x610698=_0x30191c,_0x214aa5=this[_0x610698(0xa7)],_0x493481=_0x214aa5[_0x610698(0x9b)][_0x610698(0x75)](_0x610698(0x90)),_0x39fd5c=_0x214aa5[_0x610698(0x9b)][_0x610698(0x75)](_0x5dbe5a);if(!_0x493481[_0x610698(0x8b)])throw new _0x51d19b(_0x610698(0x78),this);if(!_0x493481[_0x610698(0x91)])throw new _0x51d19b(_0x610698(0x74),this);return this[_0x610698(0xb4)][_0x610698(0x70)](window,_0x610698(0x72),()=>this[_0x610698(0x98)]=!0x0),this[_0x610698(0xb4)][_0x610698(0x70)](window,_0x610698(0x9a),()=>this[_0x610698(0x98)]=!0x1),this[_0x610698(0xa7)][_0x610698(0x7d)][_0x610698(0xa5)](_0x610698(0x9f),0xa),this[_0x610698(0xa7)][_0x610698(0x7d)][_0x610698(0xa5)](_0x610698(0x71),0x14),c[_0x610698(0x8d)][_0x610698(0x8e)](_0x493481[_0x610698(0x8b)],_0x493481[_0x610698(0x91)],{'timeout':0x3e8*this[_0x610698(0xa7)][_0x610698(0x7d)][_0x610698(0x75)](_0x610698(0x9f)),'requestTimeout':0x3e8*this[_0x610698(0xa7)][_0x610698(0x7d)][_0x610698(0x75)](_0x610698(0x71))})[_0x610698(0x7b)](_0x2a9232=>{const _0x430d1a=_0x610698;if(this[_0x430d1a(0x69)]=_0x2a9232,this[_0x430d1a(0x96)](_0x430d1a(0xa6))['to'](_0x2a9232,_0x430d1a(0xa6),this,_0x430d1a(0x98),(_0x2feff5,_0x38695b)=>(_0x430d1a(0x8f)!==_0x2feff5&&(this[_0x430d1a(0x92)]=!0x0),_0x38695b||_0x2feff5!==_0x142747[_0x430d1a(0x89)]?_0x142747[_0x430d1a(0x77)]:this[_0x430d1a(0xa6)]==_0x142747[_0x430d1a(0x77)]&&this[_0x430d1a(0x92)]?(this[_0x430d1a(0x92)]=!0x1,this[_0x430d1a(0xa4)](),_0x142747[_0x430d1a(0x9e)]):_0x142747[_0x430d1a(0x89)])),this[_0x430d1a(0x69)]['on'](_0x430d1a(0x82),(_0x2ed569,_0x55ba2e)=>{const _0x398f03=_0x430d1a;if(_0x398f03(0x87)!==_0x55ba2e[_0x398f03(0xa1)])throw console[_0x398f03(0x82)](_0x55ba2e),new _0x51d19b(_0x398f03(0xb3),null,{'originalError':_0x55ba2e});_0x39fd5c[_0x398f03(0x6e)](_0x398f03(0x7a),{'title':_0x398f03(0x6c),'namespace':_0x398f03(0xaf)});}),!_0x2a9232['me'])return new Promise(_0x3f76ba=>_0x2a9232['on'](_0x430d1a(0x83),_0x3f76ba));})[_0x610698(0x8c)](_0x5f23c6=>{const _0x299ed2=_0x610698;throw console[_0x299ed2(0x82)](_0x5f23c6),new _0x51d19b(_0x299ed2(0xb3),null,{'originalError':_0x5f23c6});});}[_0x30191c(0xab)](_0x5d8f7d){const _0x470533=_0x30191c;if(_0x470533(0x76)!=typeof _0x5d8f7d[_0x470533(0x95)])throw new _0x51d19b(_0x470533(0x73),this);if(this[_0x470533(0x81)](_0x5d8f7d))throw new _0x51d19b(_0x470533(0x86),this,{'name':_0x5d8f7d[_0x470533(0x7c)][_0x470533(0x7f)]});this[_0x470533(0xb1)][_0x470533(0xae)](_0x5d8f7d);}[_0x30191c(0xa8)](_0x4d3d9a){const _0x342974=_0x30191c;this[_0x342974(0xb1)][_0x342974(0x93)](_0x4d3d9a);}[_0x30191c(0x81)](_0xc728c6){const _0x36cc7d=_0x30191c;return this[_0x36cc7d(0xb1)][_0x36cc7d(0x9c)](_0xc728c6);}[_0x30191c(0xa4)](){const _0x22d6c6=_0x30191c;return this[_0x22d6c6(0x69)][_0x22d6c6(0x95)]()[_0x22d6c6(0x7b)](()=>Promise[_0x22d6c6(0x97)](Array[_0x22d6c6(0xa0)](this[_0x22d6c6(0xb1)],_0x3460e0=>_0x3460e0[_0x22d6c6(0x95)]())))[_0x22d6c6(0x7b)](()=>this[_0x22d6c6(0xa6)]=_0x142747[_0x22d6c6(0x89)])[_0x22d6c6(0x8c)](_0x2749f0=>{const _0x3035a6=_0x22d6c6;throw console[_0x3035a6(0x82)](_0x2749f0),new _0x51d19b(_0x3035a6(0x84),this[_0x3035a6(0xa7)]);});}[_0x30191c(0xb0)](){const _0x1194b=_0x30191c;this[_0x1194b(0x69)]&&this[_0x1194b(0x69)][_0x1194b(0xb2)](),this[_0x1194b(0xa6)]=_0x142747[_0x1194b(0x77)],this[_0x1194b(0xb4)][_0x1194b(0x9d)](),super[_0x1194b(0xb0)]();}}c[_0x30191c(0x8d)]=_0x299ae0,c[_0x30191c(0x80)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x59ccbd=_0x2900;(function(_0x4805b6,_0x10d5d0){var _0x5c29a7=_0x2900,_0x151dc3=_0x4805b6();while(!![]){try{var _0x46e19a=-parseInt(_0x5c29a7(0x1ce))/0x1+parseInt(_0x5c29a7(0x1d2))/0x2*(-parseInt(_0x5c29a7(0x1d6))/0x3)+parseInt(_0x5c29a7(0x1c9))/0x4+parseInt(_0x5c29a7(0x1cc))/0x5*(-parseInt(_0x5c29a7(0x1cd))/0x6)+-parseInt(_0x5c29a7(0x1d3))/0x7*(-parseInt(_0x5c29a7(0x1c7))/0x8)+-parseInt(_0x5c29a7(0x1d4))/0x9*(parseInt(_0x5c29a7(0x1c8))/0xa)+parseInt(_0x5c29a7(0x1ca))/0xb;if(_0x46e19a===_0x10d5d0)break;else _0x151dc3['push'](_0x151dc3['shift']());}catch(_0x18af25){_0x151dc3['push'](_0x151dc3['shift']());}}}(_0x37cb,0xbcf05));function _0x2900(_0x363541,_0x4e51a0){var _0x37cb3b=_0x37cb();return _0x2900=function(_0x2900cd,_0x28ac26){_0x2900cd=_0x2900cd-0x1c7;var _0x2e9311=_0x37cb3b[_0x2900cd];return _0x2e9311;},_0x2900(_0x363541,_0x4e51a0);}import{Plugin as _0x31d177}from'ckeditor5/src/core.js';function _0x37cb(){var _0x5722f4=['7zqACvJ','9mIcvgf','requires','3OVZegy','10577312xDvGzo','7701630jzMeDN','3798020FTRZou','32228702TCYuPn','pluginName','5YjCGSY','5413722wzqkPG','1470805MoIUVf','RealTimeCollaborativeEditing','isPremiumPlugin','isOfficialPlugin','2568806WArdXS'];_0x37cb=function(){return _0x5722f4;};return _0x37cb();}import _0x1f589a from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x31d177{static get[_0x59ccbd(0x1d5)](){return[_0x1f589a];}static get[_0x59ccbd(0x1cb)](){var _0x2f5bd7=_0x59ccbd;return _0x2f5bd7(0x1cf);}static get[_0x59ccbd(0x1d1)](){return!0x0;}static get[_0x59ccbd(0x1d0)](){return!0x0;}}
|