@ckeditor/ckeditor5-real-time-collaboration 44.2.0-alpha.8 → 44.2.0-alpha.9
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 +2 -2
- 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 +14 -14
- 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 _0x3ffdb1=_0x36a9;(function(_0x48b4f2,_0x227e60){const _0xccbcd1=_0x36a9,_0x21e86f=_0x48b4f2();while(!![]){try{const _0xfd2005=parseInt(_0xccbcd1(0xf8))/0x1+parseInt(_0xccbcd1(0xf6))/0x2*(parseInt(_0xccbcd1(0x11a))/0x3)+-parseInt(_0xccbcd1(0x131))/0x4*(parseInt(_0xccbcd1(0x127))/0x5)+parseInt(_0xccbcd1(0x135))/0x6+-parseInt(_0xccbcd1(0xf7))/0x7+parseInt(_0xccbcd1(0x11f))/0x8+-parseInt(_0xccbcd1(0xff))/0x9*(parseInt(_0xccbcd1(0xd6))/0xa);if(_0xfd2005===_0x227e60)break;else _0x21e86f['push'](_0x21e86f['shift']());}catch(_0x2b6f4a){_0x21e86f['push'](_0x21e86f['shift']());}}}(_0x2202,0xf2c7d));import{Context as _0x19db9e,ContextPlugin as _0x4fa17c}from'ckeditor5/src/core.js';import{CKEditorError as _0x5894bb}from'ckeditor5/src/utils.js';function _0x36a9(_0x3870f5,_0x4b0d4e){const _0x22027a=_0x2202();return _0x36a9=function(_0x36a980,_0x290d08){_0x36a980=_0x36a980-0xd4;let _0x4ca312=_0x22027a[_0x36a980];return _0x4ca312;},_0x36a9(_0x3870f5,_0x4b0d4e);}import{Users as _0x27d3fb}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x72a5cd,User as _0x1f15b7}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x10a638 from'../realtimecollaborativeediting/websocketgateway.js';import _0x1573e3 from'../realtimecollaborativeediting/sessions.js';class a extends _0x4fa17c{static get[_0x3ffdb1(0x108)](){const _0x418c79=_0x3ffdb1;return[_0x10a638,_0x418c79(0xda),_0x1573e3,_0x27d3fb];}static get[_0x3ffdb1(0xfa)](){const _0x1699d3=_0x3ffdb1;return _0x1699d3(0x116);}static get[_0x3ffdb1(0x112)](){return!0x0;}static get[_0x3ffdb1(0x12a)](){return!0x0;}constructor(_0x5ceadb){const _0x513a76=_0x3ffdb1;super(_0x5ceadb),this[_0x513a76(0x11e)]=new Map();}async[_0x3ffdb1(0x12e)](){const _0x2ccce0=_0x3ffdb1,_0x414aeb=this[_0x2ccce0(0x11c)],_0x1eedf3=_0x414aeb[_0x2ccce0(0xed)][_0x2ccce0(0x10e)](_0x2ccce0(0xda));if(_0x414aeb[_0x2ccce0(0xed)][_0x2ccce0(0x10e)](_0x10a638)[_0x2ccce0(0x102)](this),_0x1eedf3[_0x2ccce0(0xe3)]={'addCommentThread':async({channelId:_0x1f766f,threadId:_0x141a17,comments:_0x58a30d,resolvedAt:_0x7372fa,resolvedBy:_0x2ce63a,context:_0x42ef48,attributes:_0x10efdc})=>{const _0x378ff1=_0x2ccce0,_0x50fe0e=await this[_0x378ff1(0xd5)](_0x1f766f)[_0x378ff1(0x139)]({'commentThreadId':_0x141a17,'comments':_0x58a30d[_0x378ff1(0x138)](_0x349f78=>function(_0x1a52b5,_0x3f0fe4,_0x476ede){const _0x1092a5=_0x378ff1;return{'commentThreadId':_0x476ede,'commentId':_0x1a52b5[_0x1092a5(0x134)],'userId':_0x1a52b5[_0x1092a5(0x10d)],'content':_0x1a52b5[_0x1092a5(0x126)],'documentId':_0x3f0fe4,'createdAt':_0x1a52b5[_0x1092a5(0xec)],'attributes':_0x1a52b5[_0x1092a5(0xe0)]||{}};}(_0x349f78,_0x1f766f,_0x141a17)),'resolvedAt':_0x7372fa,'resolvedBy':_0x2ce63a,'context':_0x42ef48,'attributes':_0x10efdc})[_0x378ff1(0x12f)](R);return{'threadId':_0x50fe0e[_0x378ff1(0xfc)],'comments':_0x50fe0e[_0x378ff1(0x11d)]};},'getCommentThread':async({channelId:_0x53b479,threadId:_0x3fe200})=>{const _0x54e97e=_0x2ccce0,_0x29a185=await this[_0x54e97e(0xd5)](_0x53b479)[_0x54e97e(0xde)](_0x3fe200)[_0x54e97e(0x12f)](R);return _0x29a185[_0x54e97e(0xe5)]?null:(await this[_0x54e97e(0x113)]([_0x29a185]),{'threadId':_0x29a185[_0x54e97e(0xfc)],'comments':_0x29a185[_0x54e97e(0x11d)][_0x54e97e(0x138)](S),'context':_0x29a185[_0x54e97e(0x11c)],'resolvedAt':_0x29a185[_0x54e97e(0xea)],'resolvedBy':_0x29a185[_0x54e97e(0xdf)],'attributes':_0x29a185[_0x54e97e(0xe0)]||{}});},'updateCommentThread':async({channelId:_0x30a6ab,threadId:_0x19045e,context:_0x247c5d,unlinkedAt:_0x382e43,attributes:_0x400ab3})=>this[_0x2ccce0(0xd5)](_0x30a6ab)[_0x2ccce0(0x110)]({'commentThreadId':_0x19045e,'context':_0x247c5d,'attributes':_0x400ab3,'unlinkedAt':_0x382e43})[_0x2ccce0(0x12f)](B)[_0x2ccce0(0x12f)](R),'resolveCommentThread':async({channelId:_0x39e564,threadId:_0x407a57})=>{const _0x19956f=_0x2ccce0,_0x2a5f7f=await this[_0x19956f(0xd5)](_0x39e564)[_0x19956f(0xee)](_0x407a57)[_0x19956f(0x12f)](B)[_0x19956f(0x12f)](R);return{'threadId':_0x2a5f7f[_0x19956f(0xfc)],'resolvedAt':_0x2a5f7f[_0x19956f(0xea)],'resolvedBy':_0x2a5f7f[_0x19956f(0xdf)]};},'reopenCommentThread':async({channelId:_0x5e1907,threadId:_0x19514f})=>this[_0x2ccce0(0xd5)](_0x5e1907)[_0x2ccce0(0xe4)](_0x19514f)[_0x2ccce0(0x12f)](B)[_0x2ccce0(0x12f)](R),'removeCommentThread':({channelId:_0x518bea,threadId:_0x2cb39c})=>this[_0x2ccce0(0xd5)](_0x518bea)[_0x2ccce0(0x100)](_0x2cb39c)[_0x2ccce0(0x12f)](B)[_0x2ccce0(0x12f)](R),'addComment':({channelId:_0x362f93,threadId:_0x38e96c,commentId:_0x24550c,content:_0x375e65,attributes:_0x5a8d21})=>this[_0x2ccce0(0xd5)](_0x362f93)[_0x2ccce0(0x106)](_0x38e96c,_0x24550c,_0x375e65,_0x5a8d21)[_0x2ccce0(0x12f)](R),'updateComment':({channelId:_0x347b6e,threadId:_0x9e8fb,commentId:_0x32ead4,content:_0x5aedeb,attributes:_0x412ba2})=>this[_0x2ccce0(0xd5)](_0x347b6e)[_0x2ccce0(0x10c)](_0x9e8fb,_0x32ead4,_0x5aedeb,_0x412ba2)[_0x2ccce0(0x12f)](B)[_0x2ccce0(0x12f)](R),'removeComment':({channelId:_0x245971,threadId:_0x35cc51,commentId:_0x55cd95})=>this[_0x2ccce0(0xd5)](_0x245971)[_0x2ccce0(0x115)](_0x35cc51,_0x55cd95)[_0x2ccce0(0x12f)](B)[_0x2ccce0(0x12f)](R)},_0x414aeb instanceof _0x19db9e){const _0x1965a1=_0x414aeb[_0x2ccce0(0x12b)][_0x2ccce0(0x10e)](_0x2ccce0(0xf2)),_0x26035a=_0x414aeb[_0x2ccce0(0xed)][_0x2ccce0(0x10e)](_0x1573e3);await this[_0x2ccce0(0x117)](_0x1965a1);const _0x4047db=await this[_0x2ccce0(0x11e)][_0x2ccce0(0x10e)](_0x1965a1)[_0x2ccce0(0x105)]();this[_0x2ccce0(0x12c)](_0x26035a,_0x2ccce0(0x124)+_0x1965a1,(_0xb763d9,{session:_0x3f21d4})=>{const _0x3c4e4b=_0x2ccce0;_0x3f21d4['id']===_0x26035a[_0x3c4e4b(0xfe)]&&(_0xb763d9[_0x3c4e4b(0x104)](),this[_0x3c4e4b(0x11c)][_0x3c4e4b(0xed)][_0x3c4e4b(0x10e)](_0x3c4e4b(0x114))[_0x3c4e4b(0xd4)](_0x3f21d4[_0x3c4e4b(0x123)],_0x1965a1));}),_0x26035a[_0x2ccce0(0x10f)](_0x1965a1,_0x4047db);}}async[_0x3ffdb1(0x117)](_0x11191e){const _0x1fbc59=_0x3ffdb1;if(this[_0x1fbc59(0x11e)][_0x1fbc59(0xf9)](_0x11191e))throw new _0x5894bb(_0x1fbc59(0x10a),null,{'channelId':_0x11191e});const _0x2758a3=this[_0x1fbc59(0x11c)][_0x1fbc59(0xed)][_0x1fbc59(0x10e)](_0x1fbc59(0xda)),_0x4f1008=new a[(_0x1fbc59(0x128))](_0x11191e);this[_0x1fbc59(0x11e)][_0x1fbc59(0xfd)](_0x11191e,_0x4f1008),this[_0x1fbc59(0x12c)](_0x4f1008,_0x1fbc59(0x133),(_0xa00992,_0xcb345c)=>{const _0x7c982b=_0x1fbc59,{commentThreadId:_0x279448,documentId:_0x362610,context:_0x1c93a5,attributes:_0x3bd8e9,resolvedAt:_0x4dd58e,resolvedBy:_0x4b6f3e,comments:_0x27c7ca}=_0xcb345c;_0x2758a3[_0x7c982b(0xde)](_0x279448)||_0x2758a3[_0x7c982b(0x139)]({'threadId':_0x279448,'channelId':_0x362610,'comments':_0x27c7ca?_0x27c7ca[_0x7c982b(0x138)](S):[],'context':_0x1c93a5,'attributes':_0x3bd8e9,'resolvedAt':_0x4dd58e,'resolvedBy':_0x4b6f3e,'isFromAdapter':!0x0});}),this[_0x1fbc59(0x12c)](_0x4f1008,_0x1fbc59(0x109),(_0x534e23,{commentThreadId:_0x542256,documentId:_0x5ba239,context:_0x25757a,unlinkedAt:_0x52bad7,attributes:_0x456d2f})=>{const _0x2168dc=_0x1fbc59;_0x2758a3[_0x2168dc(0xde)](_0x542256)&&_0x2758a3[_0x2168dc(0x110)]({'threadId':_0x542256,'channelId':_0x5ba239,'context':_0x25757a,'unlinkedAt':_0x52bad7,'attributes':_0x456d2f,'isFromAdapter':!0x0});}),this[_0x1fbc59(0x12c)](_0x4f1008,_0x1fbc59(0xdb),(_0x55c129,{commentThreadId:_0xfa19d7,resolvedBy:_0x3fc9a0,resolvedAt:_0xacdb33})=>{const _0x4ba728=_0x1fbc59,_0x3b992b=_0x2758a3[_0x4ba728(0xde)](_0xfa19d7);_0x3b992b&&_0x3b992b[_0x4ba728(0x111)]({'resolvedBy':_0x3fc9a0,'resolvedAt':_0xacdb33,'isFromAdapter':!0x0});}),this[_0x1fbc59(0x12c)](_0x4f1008,_0x1fbc59(0x118),(_0x5c9701,{commentThreadId:_0x3600f2})=>{const _0x215907=_0x1fbc59,_0x5cf20d=_0x2758a3[_0x215907(0xde)](_0x3600f2);_0x5cf20d&&_0x5cf20d[_0x215907(0xfb)]({'isFromAdapter':!0x0});}),this[_0x1fbc59(0x12c)](_0x4f1008,_0x1fbc59(0xd7),(_0x146d6f,{commentThreadId:_0x177b6c})=>{const _0xd12a6b=_0x1fbc59,_0x183fac=_0x2758a3[_0xd12a6b(0xde)](_0x177b6c);_0x183fac&&_0x183fac[_0xd12a6b(0xe2)]({'isFromAdapter':!0x0});}),this[_0x1fbc59(0x12c)](_0x4f1008,_0x1fbc59(0xd9),(_0x1f0f6e,_0x79f515)=>{const _0xb12715=_0x1fbc59,_0x41eb13=_0x79f515[_0xb12715(0xfc)],_0x1bc4fb=_0x2758a3[_0xb12715(0xde)](_0x41eb13);_0x1bc4fb&&_0x1bc4fb[_0xb12715(0x106)]({...S(_0x79f515),'isFromAdapter':!0x0});}),this[_0x1fbc59(0x12c)](_0x4f1008,_0x1fbc59(0x129),(_0x1e8644,{commentThreadId:_0x299a4e,commentId:_0x414e4d,content:_0x42d272,attributes:_0x4f3612})=>{const _0x402fcd=_0x1fbc59,_0x5c176c=_0x2758a3[_0x402fcd(0xde)](_0x299a4e);if(_0x5c176c){const _0x36dcf1=_0x5c176c[_0x402fcd(0xe8)](_0x414e4d);_0x36dcf1&&_0x36dcf1[_0x402fcd(0xf0)]({'content':_0x42d272,'attributes':_0x4f3612,'isFromAdapter':!0x0});}}),this[_0x1fbc59(0x12c)](_0x4f1008,_0x1fbc59(0x101),(_0x4298bf,{commentThreadId:_0x51af86,commentId:_0x48fe2e})=>{const _0x4c5ce0=_0x1fbc59,_0x34118d=_0x2758a3[_0x4c5ce0(0xde)](_0x51af86);if(_0x34118d){const _0x328159=_0x34118d[_0x4c5ce0(0xe8)](_0x48fe2e);_0x328159&&_0x328159[_0x4c5ce0(0xe2)]({'isFromAdapter':!0x0});}}),await this[_0x1fbc59(0x137)](_0x11191e);}[_0x3ffdb1(0x107)](){const _0x4511d2=_0x3ffdb1;if(this[_0x4511d2(0x11c)]instanceof _0x19db9e){const _0x32a87c=this[_0x4511d2(0x11c)][_0x4511d2(0x12b)][_0x4511d2(0x10e)](_0x4511d2(0xf2));this[_0x4511d2(0xf4)](_0x32a87c);}}[_0x3ffdb1(0xf4)](_0x196927){const _0x58b2b1=_0x3ffdb1;if(!this[_0x58b2b1(0x11e)][_0x58b2b1(0xf9)](_0x196927))throw new _0x5894bb(_0x58b2b1(0x130),null,{'channelId':_0x196927});this[_0x58b2b1(0xd5)](_0x196927)[_0x58b2b1(0x132)](),this[_0x58b2b1(0x11e)][_0x58b2b1(0x119)](_0x196927);}async[_0x3ffdb1(0xf1)](){const _0x389a5f=_0x3ffdb1;for(const _0x251f29 of this[_0x389a5f(0x11e)][_0x389a5f(0xdd)]())await this[_0x389a5f(0x137)](_0x251f29);if(this[_0x389a5f(0x11c)]instanceof _0x19db9e){const _0x4178df=this[_0x389a5f(0x11c)][_0x389a5f(0x12b)][_0x389a5f(0x10e)](_0x389a5f(0xf2)),_0x10c819=this[_0x389a5f(0x11c)][_0x389a5f(0xed)][_0x389a5f(0x10e)](_0x1573e3);_0x10c819[_0x389a5f(0xd8)](_0x4178df);const _0x2776cd=await this[_0x389a5f(0x11e)][_0x389a5f(0x10e)](_0x4178df)[_0x389a5f(0x105)]();_0x10c819[_0x389a5f(0x10f)](_0x4178df,_0x2776cd);}}async[_0x3ffdb1(0x137)](_0x3b8ca3){const _0x53c591=_0x3ffdb1,{connection:_0x182249}=this[_0x53c591(0x11c)][_0x53c591(0xed)][_0x53c591(0x10e)](_0x10a638),_0x1746a1=this[_0x53c591(0x11c)][_0x53c591(0xed)][_0x53c591(0x10e)](_0x53c591(0xda)),_0x5d0a79=this[_0x53c591(0x11e)][_0x53c591(0x10e)](_0x3b8ca3),_0x331b7c=await _0x5d0a79[_0x53c591(0x136)](_0x182249);await this[_0x53c591(0x113)](_0x331b7c);const _0x32be92=new Set(Array[_0x53c591(0x122)](_0x1746a1[_0x53c591(0xe6)]({'channelId':_0x3b8ca3}),_0x48d2a8=>_0x48d2a8['id']));for(const _0x212fa0 of _0x331b7c)_0x212fa0[_0x53c591(0xe5)]||_0x32be92[_0x53c591(0x119)](_0x212fa0[_0x53c591(0xfc)]);for(const _0x4d5745 of _0x32be92)_0x1746a1[_0x53c591(0xde)](_0x4d5745)[_0x53c591(0xe2)]({'isFromAdapter':!0x0});for(const _0x3953c0 of _0x331b7c){let _0x55b4b8=_0x1746a1[_0x53c591(0xde)](_0x3953c0[_0x53c591(0xfc)]);const {commentThreadId:_0x4ea5ff,context:_0x30edd3,attributes:_0x3d02b7,resolvedBy:_0x154a70,resolvedAt:_0xfe5a1f,unlinkedAt:_0x34c068,deletedAt:_0x37f87d}=_0x3953c0;if(_0x37f87d)continue;_0x55b4b8||(_0x55b4b8=_0x1746a1[_0x53c591(0x139)]({'channelId':_0x3b8ca3,'threadId':_0x4ea5ff,'context':_0x30edd3,'attributes':_0x3d02b7||{},'resolvedBy':_0x154a70,'resolvedAt':_0xfe5a1f,'unlinkedAt':_0x34c068,'isFromAdapter':!0x0}));const _0x486e8e=new Set(Array[_0x53c591(0x122)](_0x55b4b8[_0x53c591(0x11d)],_0x38b42e=>_0x38b42e['id']));for(const _0x274d78 of _0x3953c0[_0x53c591(0x11d)])_0x486e8e[_0x53c591(0x119)](_0x274d78[_0x53c591(0x134)]);for(const _0x1a3dd2 of _0x486e8e)_0x55b4b8[_0x53c591(0xe8)](_0x1a3dd2)[_0x53c591(0xe2)]({'isFromAdapter':!0x0});for(const _0x4ec694 of _0x3953c0[_0x53c591(0x11d)]){const _0x401f32=_0x55b4b8[_0x53c591(0xe8)](_0x4ec694[_0x53c591(0x134)]);_0x401f32?_0x401f32[_0x53c591(0x126)]!==_0x4ec694[_0x53c591(0x126)]&&_0x401f32[_0x53c591(0xf0)]({'content':_0x4ec694[_0x53c591(0x126)],'isFromAdapter':!0x0}):_0x55b4b8[_0x53c591(0x106)](Object[_0x53c591(0xe9)](S(_0x4ec694),{'isFromAdapter':!0x0}));}}}[_0x3ffdb1(0xd5)](_0x3d231f){const _0x50b09b=_0x3ffdb1;if(!this[_0x50b09b(0x11e)][_0x50b09b(0xf9)](_0x3d231f))throw new _0x5894bb(_0x50b09b(0xe7),null,{'channelId':_0x3d231f});return this[_0x50b09b(0x11e)][_0x50b09b(0x10e)](_0x3d231f);}async[_0x3ffdb1(0x113)](_0x559d5){const _0x5029dd=_0x3ffdb1,_0x5d1111=this[_0x5029dd(0x11c)][_0x5029dd(0xed)][_0x5029dd(0x10e)](_0x27d3fb),{connection:_0x1cfb55}=this[_0x5029dd(0x11c)][_0x5029dd(0xed)][_0x5029dd(0x10e)](_0x10a638),_0x127eee=new Set();for(const {resolvedBy:_0x5512e0,comments:_0x2d98b8}of _0x559d5){_0x5512e0&&!_0x5d1111[_0x5029dd(0x103)](_0x5512e0)&&_0x127eee[_0x5029dd(0xef)](_0x5512e0);for(const {userId:_0x228d11}of _0x2d98b8)_0x5d1111[_0x5029dd(0x103)](_0x228d11)||_0x127eee[_0x5029dd(0xef)](_0x228d11);}if(0x0===_0x127eee[_0x5029dd(0x125)])return;const _0x4bc10c=await _0x1f15b7[_0x5029dd(0xdc)](_0x1cfb55,Array[_0x5029dd(0x122)](_0x127eee));for(const _0x47ed5b of _0x4bc10c)_0x5d1111[_0x5029dd(0x103)](_0x47ed5b['id'])||_0x5d1111[_0x5029dd(0xf3)](_0x47ed5b);}}a[_0x3ffdb1(0x128)]=_0x72a5cd;export default a;async function B(_0x16523f){const _0x47edc3=_0x3ffdb1;if(_0x47edc3(0x121)!==_0x16523f[_0x47edc3(0x11b)])throw _0x16523f;}function _0x2202(){const _0x57a0f1=['remove','adapter','reopenCommentThread','deletedAt','getCommentThreads','cloudservicescommentsadapter-service-not-exist','getComment','assign','resolvedAt','startsWith','createdAt','plugins','resolveCommentThread','add','update','reconnect','collaboration.channelId','addUser','_terminateService','userId','4LIhnJm','10105459mOoYxI','1288807NZjkUG','has','pluginName','reopen','commentThreadId','set','mySessionId','18lOloth','removeCommentThread','commentRemoved','addToReconnectionStack','getUser','off','getConnectedSessions','addComment','destroy','requires','commentThreadUpdated','cloudservicescommentsadapter-connect-already-connected','message','updateComment','authorId','get','register','updateCommentThread','resolve','isOfficialPlugin','_fetchMissingUsersForThreads','Permissions','removeComment','CloudServicesCommentsAdapter','_setUpService','commentThreadReopened','delete','1775121kuyKuf','code','context','comments','_services','8402736ZHFfiG','cloud-services-internal-error:\x20Request\x20timeout.','404','from','permissions','sessionAdd:','size','content','502615ZRKANV','CommentsService','commentUpdated','isPremiumPlugin','config','listenTo','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','init','catch','cloudservicescommentsadapter-disconnect-not-exist','36CDRBpQ','disconnect','commentThreadAdded','commentId','9555876qHHhsI','connect','_connectService','map','addCommentThread','setPermissions','_getService','8862180nunWnw','commentThreadRemoved','unregister','commentAdded','CommentsRepository','commentThreadResolved','getMany','keys','getCommentThread','resolvedBy','attributes','cloud-services-internal-error:\x20Not\x20connected.'];_0x2202=function(){return _0x57a0f1;};return _0x2202();}function R(_0x17debd){const _0x4e4eba=_0x3ffdb1;if((_0x45baf7=_0x17debd)[_0x4e4eba(0x10b)][_0x4e4eba(0xeb)](_0x4e4eba(0x12d))||_0x45baf7[_0x4e4eba(0x10b)][_0x4e4eba(0xeb)](_0x4e4eba(0xe1))||_0x45baf7[_0x4e4eba(0x10b)][_0x4e4eba(0xeb)](_0x4e4eba(0x120)))return new Promise(()=>{});var _0x45baf7;throw _0x17debd;}function S(_0xb35af9){const _0x498c31=_0x3ffdb1;return{'threadId':_0xb35af9[_0x498c31(0xfc)],'commentId':_0xb35af9[_0x498c31(0x134)],'content':_0xb35af9[_0x498c31(0x126)],'createdAt':_0xb35af9[_0x498c31(0xec)],'authorId':_0xb35af9[_0x498c31(0xf5)],'attributes':_0xb35af9[_0x498c31(0xe0)]||{}};}
|
|
23
|
+
const _0x4673bc=_0x2a0e;function _0x4685(){const _0x5ed255=['comments','commentThreadReopened','reconnect','attributes','commentUpdated','256941FvKwvM','1992263qaVTZp','resolve','Permissions','size','userId','connect','isOfficialPlugin','commentThreadRemoved','destroy','catch','addToReconnectionStack','getCommentThreads','updateCommentThread','sessionAdd:','543510vhebTF','set','resolvedAt','cloud-services-internal-error:\x20Not\x20connected.','getCommentThread','reopenCommentThread','init','commentRemoved','unregister','commentThreadAdded','185420VCmTkm','commentThreadResolved','_services','config','mySessionId','permissions','updateComment','createdAt','commentThreadId','cloudservicescommentsadapter-connect-already-connected','cloudservicescommentsadapter-service-not-exist','authorId','listenTo','removeCommentThread','message','404','has','disconnect','keys','map','update','adapter','context','add','_connectService','get','_fetchMissingUsersForThreads','resolvedBy','assign','addComment','content','cloud-services-internal-error:\x20Request\x20timeout.','cloudservicescommentsadapter-disconnect-not-exist','CommentsRepository','getConnectedSessions','8ezXNtB','pluginName','from','_setUpService','requires','addUser','commentAdded','deletedAt','541822UauMjx','setPermissions','startsWith','code','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','plugins','reopen','removeComment','_terminateService','resolveCommentThread','commentId','getUser','off','collaboration.channelId','remove','commentThreadUpdated','CommentsService','231188ZaKIKm','_getService','getMany','register','addCommentThread','isPremiumPlugin','CloudServicesCommentsAdapter','1225392TGQWvR','delete','getComment'];_0x4685=function(){return _0x5ed255;};return _0x4685();}(function(_0x494a7e,_0xb7d705){const _0x5ee66f=_0x2a0e,_0x4b3009=_0x494a7e();while(!![]){try{const _0x240f7d=parseInt(_0x5ee66f(0x147))/0x1+parseInt(_0x5ee66f(0x10e))/0x2+parseInt(_0x5ee66f(0x12e))/0x3+-parseInt(_0x5ee66f(0x11f))/0x4+-parseInt(_0x5ee66f(0x13d))/0x5+parseInt(_0x5ee66f(0x126))/0x6+parseInt(_0x5ee66f(0x12f))/0x7*(-parseInt(_0x5ee66f(0x16a))/0x8);if(_0x240f7d===_0xb7d705)break;else _0x4b3009['push'](_0x4b3009['shift']());}catch(_0x213341){_0x4b3009['push'](_0x4b3009['shift']());}}}(_0x4685,0x480be));import{Context as _0x4fe04b,ContextPlugin as _0x522f55}from'ckeditor5/src/core.js';import{CKEditorError as _0x243a29}from'ckeditor5/src/utils.js';import{Users as _0x2d76fd}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x2096e4,User as _0x3dcbcf}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x105da8 from'../realtimecollaborativeediting/websocketgateway.js';import _0x4c1b65 from'../realtimecollaborativeediting/sessions.js';class a extends _0x522f55{static get[_0x4673bc(0x10a)](){const _0x4906b6=_0x4673bc;return[_0x105da8,_0x4906b6(0x168),_0x4c1b65,_0x2d76fd];}static get[_0x4673bc(0x16b)](){const _0xae0de5=_0x4673bc;return _0xae0de5(0x125);}static get[_0x4673bc(0x135)](){return!0x0;}static get[_0x4673bc(0x124)](){return!0x0;}constructor(_0x1f2577){const _0x198a11=_0x4673bc;super(_0x1f2577),this[_0x198a11(0x149)]=new Map();}async[_0x4673bc(0x143)](){const _0x5d1856=_0x4673bc,_0x44ea97=this[_0x5d1856(0x15d)],_0x28fd2c=_0x44ea97[_0x5d1856(0x113)][_0x5d1856(0x160)](_0x5d1856(0x168));if(_0x44ea97[_0x5d1856(0x113)][_0x5d1856(0x160)](_0x105da8)[_0x5d1856(0x139)](this),_0x28fd2c[_0x5d1856(0x15c)]={'addCommentThread':async({channelId:_0x1fd964,threadId:_0x31337b,comments:_0x54469d,resolvedAt:_0x41d78f,resolvedBy:_0x538001,context:_0x1c902c,attributes:_0x1b161d})=>{const _0x35d071=_0x5d1856,_0x3ea554=await this[_0x35d071(0x120)](_0x1fd964)[_0x35d071(0x123)]({'commentThreadId':_0x31337b,'comments':_0x54469d[_0x35d071(0x15a)](_0xc89135=>function(_0x1ffd04,_0x361aa5,_0x3930f5){const _0x254073=_0x35d071;return{'commentThreadId':_0x3930f5,'commentId':_0x1ffd04[_0x254073(0x118)],'userId':_0x1ffd04[_0x254073(0x152)],'content':_0x1ffd04[_0x254073(0x165)],'documentId':_0x361aa5,'createdAt':_0x1ffd04[_0x254073(0x14e)],'attributes':_0x1ffd04[_0x254073(0x12c)]||{}};}(_0xc89135,_0x1fd964,_0x31337b)),'resolvedAt':_0x41d78f,'resolvedBy':_0x538001,'context':_0x1c902c,'attributes':_0x1b161d})[_0x35d071(0x138)](R);return{'threadId':_0x3ea554[_0x35d071(0x14f)],'comments':_0x3ea554[_0x35d071(0x129)]};},'getCommentThread':async({channelId:_0x3f3e0c,threadId:_0x4cc0a9})=>{const _0x1faccb=_0x5d1856,_0x4ac605=await this[_0x1faccb(0x120)](_0x3f3e0c)[_0x1faccb(0x141)](_0x4cc0a9)[_0x1faccb(0x138)](R);return _0x4ac605[_0x1faccb(0x10d)]?null:(await this[_0x1faccb(0x161)]([_0x4ac605]),{'threadId':_0x4ac605[_0x1faccb(0x14f)],'comments':_0x4ac605[_0x1faccb(0x129)][_0x1faccb(0x15a)](S),'context':_0x4ac605[_0x1faccb(0x15d)],'resolvedAt':_0x4ac605[_0x1faccb(0x13f)],'resolvedBy':_0x4ac605[_0x1faccb(0x162)],'attributes':_0x4ac605[_0x1faccb(0x12c)]||{}});},'updateCommentThread':async({channelId:_0x203e9e,threadId:_0x26c504,context:_0x24e79d,unlinkedAt:_0x1b693f,attributes:_0x3f3141})=>this[_0x5d1856(0x120)](_0x203e9e)[_0x5d1856(0x13b)]({'commentThreadId':_0x26c504,'context':_0x24e79d,'attributes':_0x3f3141,'unlinkedAt':_0x1b693f})[_0x5d1856(0x138)](B)[_0x5d1856(0x138)](R),'resolveCommentThread':async({channelId:_0x30a199,threadId:_0x54620f})=>{const _0x556f63=_0x5d1856,_0x463a8e=await this[_0x556f63(0x120)](_0x30a199)[_0x556f63(0x117)](_0x54620f)[_0x556f63(0x138)](B)[_0x556f63(0x138)](R);return{'threadId':_0x463a8e[_0x556f63(0x14f)],'resolvedAt':_0x463a8e[_0x556f63(0x13f)],'resolvedBy':_0x463a8e[_0x556f63(0x162)]};},'reopenCommentThread':async({channelId:_0x480f73,threadId:_0x181f50})=>this[_0x5d1856(0x120)](_0x480f73)[_0x5d1856(0x142)](_0x181f50)[_0x5d1856(0x138)](B)[_0x5d1856(0x138)](R),'removeCommentThread':({channelId:_0x297cf1,threadId:_0x1992ab})=>this[_0x5d1856(0x120)](_0x297cf1)[_0x5d1856(0x154)](_0x1992ab)[_0x5d1856(0x138)](B)[_0x5d1856(0x138)](R),'addComment':({channelId:_0x5ab794,threadId:_0x733d8e,commentId:_0x358b56,content:_0x4e170a,attributes:_0x39ac46})=>this[_0x5d1856(0x120)](_0x5ab794)[_0x5d1856(0x164)](_0x733d8e,_0x358b56,_0x4e170a,_0x39ac46)[_0x5d1856(0x138)](R),'updateComment':({channelId:_0x2dca68,threadId:_0xa30cd,commentId:_0x531995,content:_0x368a19,attributes:_0x2b20b4})=>this[_0x5d1856(0x120)](_0x2dca68)[_0x5d1856(0x14d)](_0xa30cd,_0x531995,_0x368a19,_0x2b20b4)[_0x5d1856(0x138)](B)[_0x5d1856(0x138)](R),'removeComment':({channelId:_0x5b791e,threadId:_0xb9a27f,commentId:_0x5e7fc6})=>this[_0x5d1856(0x120)](_0x5b791e)[_0x5d1856(0x115)](_0xb9a27f,_0x5e7fc6)[_0x5d1856(0x138)](B)[_0x5d1856(0x138)](R)},_0x44ea97 instanceof _0x4fe04b){const _0x11d603=_0x44ea97[_0x5d1856(0x14a)][_0x5d1856(0x160)](_0x5d1856(0x11b)),_0x27590c=_0x44ea97[_0x5d1856(0x113)][_0x5d1856(0x160)](_0x4c1b65);await this[_0x5d1856(0x109)](_0x11d603);const _0x391c7e=await this[_0x5d1856(0x149)][_0x5d1856(0x160)](_0x11d603)[_0x5d1856(0x169)]();this[_0x5d1856(0x153)](_0x27590c,_0x5d1856(0x13c)+_0x11d603,(_0x74bcd1,{session:_0x4e919d})=>{const _0x149b22=_0x5d1856;_0x4e919d['id']===_0x27590c[_0x149b22(0x14b)]&&(_0x74bcd1[_0x149b22(0x11a)](),this[_0x149b22(0x15d)][_0x149b22(0x113)][_0x149b22(0x160)](_0x149b22(0x131))[_0x149b22(0x10f)](_0x4e919d[_0x149b22(0x14c)],_0x11d603));}),_0x27590c[_0x5d1856(0x122)](_0x11d603,_0x391c7e);}}async[_0x4673bc(0x109)](_0x2501dd){const _0x3e78b5=_0x4673bc;if(this[_0x3e78b5(0x149)][_0x3e78b5(0x157)](_0x2501dd))throw new _0x243a29(_0x3e78b5(0x150),null,{'channelId':_0x2501dd});const _0x143c69=this[_0x3e78b5(0x15d)][_0x3e78b5(0x113)][_0x3e78b5(0x160)](_0x3e78b5(0x168)),_0x229212=new a[(_0x3e78b5(0x11e))](_0x2501dd);this[_0x3e78b5(0x149)][_0x3e78b5(0x13e)](_0x2501dd,_0x229212),this[_0x3e78b5(0x153)](_0x229212,_0x3e78b5(0x146),(_0x4965be,_0x66632e)=>{const _0x5a7dca=_0x3e78b5,{commentThreadId:_0x3c8cc3,documentId:_0xe43835,context:_0x80a3f0,attributes:_0x399873,resolvedAt:_0x27b338,resolvedBy:_0x38fda0,comments:_0x3f8ebd}=_0x66632e;_0x143c69[_0x5a7dca(0x141)](_0x3c8cc3)||_0x143c69[_0x5a7dca(0x123)]({'threadId':_0x3c8cc3,'channelId':_0xe43835,'comments':_0x3f8ebd?_0x3f8ebd[_0x5a7dca(0x15a)](S):[],'context':_0x80a3f0,'attributes':_0x399873,'resolvedAt':_0x27b338,'resolvedBy':_0x38fda0,'isFromAdapter':!0x0});}),this[_0x3e78b5(0x153)](_0x229212,_0x3e78b5(0x11d),(_0x1c6521,{commentThreadId:_0x376d7c,documentId:_0x4552da,context:_0x354317,unlinkedAt:_0x36f976,attributes:_0xb6cf99})=>{const _0x3e35e=_0x3e78b5;_0x143c69[_0x3e35e(0x141)](_0x376d7c)&&_0x143c69[_0x3e35e(0x13b)]({'threadId':_0x376d7c,'channelId':_0x4552da,'context':_0x354317,'unlinkedAt':_0x36f976,'attributes':_0xb6cf99,'isFromAdapter':!0x0});}),this[_0x3e78b5(0x153)](_0x229212,_0x3e78b5(0x148),(_0x28fe21,{commentThreadId:_0x68480d,resolvedBy:_0x23794e,resolvedAt:_0x3d329a})=>{const _0xccb3a6=_0x3e78b5,_0x4db058=_0x143c69[_0xccb3a6(0x141)](_0x68480d);_0x4db058&&_0x4db058[_0xccb3a6(0x130)]({'resolvedBy':_0x23794e,'resolvedAt':_0x3d329a,'isFromAdapter':!0x0});}),this[_0x3e78b5(0x153)](_0x229212,_0x3e78b5(0x12a),(_0x11ad94,{commentThreadId:_0x4d3010})=>{const _0x149415=_0x3e78b5,_0x1ce2c4=_0x143c69[_0x149415(0x141)](_0x4d3010);_0x1ce2c4&&_0x1ce2c4[_0x149415(0x114)]({'isFromAdapter':!0x0});}),this[_0x3e78b5(0x153)](_0x229212,_0x3e78b5(0x136),(_0x5574a2,{commentThreadId:_0x274693})=>{const _0x75f2d3=_0x3e78b5,_0x3efd10=_0x143c69[_0x75f2d3(0x141)](_0x274693);_0x3efd10&&_0x3efd10[_0x75f2d3(0x11c)]({'isFromAdapter':!0x0});}),this[_0x3e78b5(0x153)](_0x229212,_0x3e78b5(0x10c),(_0x24a0c2,_0x5a6193)=>{const _0x102182=_0x3e78b5,_0xb30b67=_0x5a6193[_0x102182(0x14f)],_0x496f37=_0x143c69[_0x102182(0x141)](_0xb30b67);_0x496f37&&_0x496f37[_0x102182(0x164)]({...S(_0x5a6193),'isFromAdapter':!0x0});}),this[_0x3e78b5(0x153)](_0x229212,_0x3e78b5(0x12d),(_0x14b4ac,{commentThreadId:_0x2c91bb,commentId:_0x5caab9,content:_0x1aaef8,attributes:_0x681270})=>{const _0x5ebbd0=_0x3e78b5,_0x247ad4=_0x143c69[_0x5ebbd0(0x141)](_0x2c91bb);if(_0x247ad4){const _0x2cc862=_0x247ad4[_0x5ebbd0(0x128)](_0x5caab9);_0x2cc862&&_0x2cc862[_0x5ebbd0(0x15b)]({'content':_0x1aaef8,'attributes':_0x681270,'isFromAdapter':!0x0});}}),this[_0x3e78b5(0x153)](_0x229212,_0x3e78b5(0x144),(_0x486c5e,{commentThreadId:_0x45a538,commentId:_0x2064b4})=>{const _0x5c287d=_0x3e78b5,_0x1924ac=_0x143c69[_0x5c287d(0x141)](_0x45a538);if(_0x1924ac){const _0x31cacd=_0x1924ac[_0x5c287d(0x128)](_0x2064b4);_0x31cacd&&_0x31cacd[_0x5c287d(0x11c)]({'isFromAdapter':!0x0});}}),await this[_0x3e78b5(0x15f)](_0x2501dd);}[_0x4673bc(0x137)](){const _0x211615=_0x4673bc;if(this[_0x211615(0x15d)]instanceof _0x4fe04b){const _0x359c54=this[_0x211615(0x15d)][_0x211615(0x14a)][_0x211615(0x160)](_0x211615(0x11b));this[_0x211615(0x116)](_0x359c54);}}[_0x4673bc(0x116)](_0xb843e0){const _0x333113=_0x4673bc;if(!this[_0x333113(0x149)][_0x333113(0x157)](_0xb843e0))throw new _0x243a29(_0x333113(0x167),null,{'channelId':_0xb843e0});this[_0x333113(0x120)](_0xb843e0)[_0x333113(0x158)](),this[_0x333113(0x149)][_0x333113(0x127)](_0xb843e0);}async[_0x4673bc(0x12b)](){const _0x3ec273=_0x4673bc;for(const _0x287935 of this[_0x3ec273(0x149)][_0x3ec273(0x159)]())await this[_0x3ec273(0x15f)](_0x287935);if(this[_0x3ec273(0x15d)]instanceof _0x4fe04b){const _0x2847e5=this[_0x3ec273(0x15d)][_0x3ec273(0x14a)][_0x3ec273(0x160)](_0x3ec273(0x11b)),_0x245b88=this[_0x3ec273(0x15d)][_0x3ec273(0x113)][_0x3ec273(0x160)](_0x4c1b65);_0x245b88[_0x3ec273(0x145)](_0x2847e5);const _0x343fdb=await this[_0x3ec273(0x149)][_0x3ec273(0x160)](_0x2847e5)[_0x3ec273(0x169)]();_0x245b88[_0x3ec273(0x122)](_0x2847e5,_0x343fdb);}}async[_0x4673bc(0x15f)](_0x2a78f8){const _0x2fe57c=_0x4673bc,{connection:_0x40a17c}=this[_0x2fe57c(0x15d)][_0x2fe57c(0x113)][_0x2fe57c(0x160)](_0x105da8),_0x5aebe5=this[_0x2fe57c(0x15d)][_0x2fe57c(0x113)][_0x2fe57c(0x160)](_0x2fe57c(0x168)),_0x4b14b1=this[_0x2fe57c(0x149)][_0x2fe57c(0x160)](_0x2a78f8),_0x5caa9d=await _0x4b14b1[_0x2fe57c(0x134)](_0x40a17c);await this[_0x2fe57c(0x161)](_0x5caa9d);const _0xc2461c=new Set(Array[_0x2fe57c(0x108)](_0x5aebe5[_0x2fe57c(0x13a)]({'channelId':_0x2a78f8}),_0x586aaf=>_0x586aaf['id']));for(const _0x2ce551 of _0x5caa9d)_0x2ce551[_0x2fe57c(0x10d)]||_0xc2461c[_0x2fe57c(0x127)](_0x2ce551[_0x2fe57c(0x14f)]);for(const _0x3e4adb of _0xc2461c)_0x5aebe5[_0x2fe57c(0x141)](_0x3e4adb)[_0x2fe57c(0x11c)]({'isFromAdapter':!0x0});for(const _0x701ffd of _0x5caa9d){let _0x2516d3=_0x5aebe5[_0x2fe57c(0x141)](_0x701ffd[_0x2fe57c(0x14f)]);const {commentThreadId:_0x4a7d36,context:_0x402201,attributes:_0x297dc0,resolvedBy:_0x5319f6,resolvedAt:_0x688a5e,unlinkedAt:_0x3fa07a,deletedAt:_0x4e7979}=_0x701ffd;if(_0x4e7979)continue;_0x2516d3||(_0x2516d3=_0x5aebe5[_0x2fe57c(0x123)]({'channelId':_0x2a78f8,'threadId':_0x4a7d36,'context':_0x402201,'attributes':_0x297dc0||{},'resolvedBy':_0x5319f6,'resolvedAt':_0x688a5e,'unlinkedAt':_0x3fa07a,'isFromAdapter':!0x0}));const _0xed0af=new Set(Array[_0x2fe57c(0x108)](_0x2516d3[_0x2fe57c(0x129)],_0x13c45f=>_0x13c45f['id']));for(const _0x109b2b of _0x701ffd[_0x2fe57c(0x129)])_0xed0af[_0x2fe57c(0x127)](_0x109b2b[_0x2fe57c(0x118)]);for(const _0x24b03b of _0xed0af)_0x2516d3[_0x2fe57c(0x128)](_0x24b03b)[_0x2fe57c(0x11c)]({'isFromAdapter':!0x0});for(const _0x23ad41 of _0x701ffd[_0x2fe57c(0x129)]){const _0xef2aab=_0x2516d3[_0x2fe57c(0x128)](_0x23ad41[_0x2fe57c(0x118)]);_0xef2aab?_0xef2aab[_0x2fe57c(0x165)]!==_0x23ad41[_0x2fe57c(0x165)]&&_0xef2aab[_0x2fe57c(0x15b)]({'content':_0x23ad41[_0x2fe57c(0x165)],'isFromAdapter':!0x0}):_0x2516d3[_0x2fe57c(0x164)](Object[_0x2fe57c(0x163)](S(_0x23ad41),{'isFromAdapter':!0x0}));}}}[_0x4673bc(0x120)](_0x34c378){const _0x48b6e9=_0x4673bc;if(!this[_0x48b6e9(0x149)][_0x48b6e9(0x157)](_0x34c378))throw new _0x243a29(_0x48b6e9(0x151),null,{'channelId':_0x34c378});return this[_0x48b6e9(0x149)][_0x48b6e9(0x160)](_0x34c378);}async[_0x4673bc(0x161)](_0x5cef7c){const _0x2c42c0=_0x4673bc,_0x3a3198=this[_0x2c42c0(0x15d)][_0x2c42c0(0x113)][_0x2c42c0(0x160)](_0x2d76fd),{connection:_0x486b76}=this[_0x2c42c0(0x15d)][_0x2c42c0(0x113)][_0x2c42c0(0x160)](_0x105da8),_0x53fa5f=new Set();for(const {resolvedBy:_0x1ebbd1,comments:_0x28b7b5}of _0x5cef7c){_0x1ebbd1&&!_0x3a3198[_0x2c42c0(0x119)](_0x1ebbd1)&&_0x53fa5f[_0x2c42c0(0x15e)](_0x1ebbd1);for(const {userId:_0x5c2b0d}of _0x28b7b5)_0x3a3198[_0x2c42c0(0x119)](_0x5c2b0d)||_0x53fa5f[_0x2c42c0(0x15e)](_0x5c2b0d);}if(0x0===_0x53fa5f[_0x2c42c0(0x132)])return;const _0x427dc3=await _0x3dcbcf[_0x2c42c0(0x121)](_0x486b76,Array[_0x2c42c0(0x108)](_0x53fa5f));for(const _0x24fa0b of _0x427dc3)_0x3a3198[_0x2c42c0(0x119)](_0x24fa0b['id'])||_0x3a3198[_0x2c42c0(0x10b)](_0x24fa0b);}}a[_0x4673bc(0x11e)]=_0x2096e4;export default a;async function B(_0x4bbd70){const _0x47512e=_0x4673bc;if(_0x47512e(0x156)!==_0x4bbd70[_0x47512e(0x111)])throw _0x4bbd70;}function R(_0x36ba03){const _0x4f4005=_0x4673bc;if((_0x28fbbd=_0x36ba03)[_0x4f4005(0x155)][_0x4f4005(0x110)](_0x4f4005(0x112))||_0x28fbbd[_0x4f4005(0x155)][_0x4f4005(0x110)](_0x4f4005(0x140))||_0x28fbbd[_0x4f4005(0x155)][_0x4f4005(0x110)](_0x4f4005(0x166)))return new Promise(()=>{});var _0x28fbbd;throw _0x36ba03;}function _0x2a0e(_0x677bd5,_0x1a5dd8){const _0x468599=_0x4685();return _0x2a0e=function(_0x2a0e8d,_0x3667df){_0x2a0e8d=_0x2a0e8d-0x108;let _0x1fc2d2=_0x468599[_0x2a0e8d];return _0x1fc2d2;},_0x2a0e(_0x677bd5,_0x1a5dd8);}function S(_0x38c2f9){const _0xe097a7=_0x4673bc;return{'threadId':_0x38c2f9[_0xe097a7(0x14f)],'commentId':_0x38c2f9[_0xe097a7(0x118)],'content':_0x38c2f9[_0xe097a7(0x165)],'createdAt':_0x38c2f9[_0xe097a7(0x14e)],'authorId':_0x38c2f9[_0xe097a7(0x133)],'attributes':_0x38c2f9[_0xe097a7(0x12c)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x44cd2e=_0x126e;(function(_0x400c02,_0x434f9b){const _0x1be527=_0x126e,_0xaa5f65=_0x400c02();while(!![]){try{const _0x4f3150=-parseInt(_0x1be527(0x192))/0x1+-parseInt(_0x1be527(0x183))/0x2+-parseInt(_0x1be527(0x18a))/0x3*(-parseInt(_0x1be527(0x193))/0x4)+parseInt(_0x1be527(0x19f))/0x5*(-parseInt(_0x1be527(0x184))/0x6)+parseInt(_0x1be527(0x18f))/0x7+parseInt(_0x1be527(0x199))/0x8*(parseInt(_0x1be527(0x189))/0x9)+parseInt(_0x1be527(0x191))/0xa*(parseInt(_0x1be527(0x19e))/0xb);if(_0x4f3150===_0x434f9b)break;else _0xaa5f65['push'](_0xaa5f65['shift']());}catch(_0x28740e){_0xaa5f65['push'](_0xaa5f65['shift']());}}}(_0x11b2,0xa0585));import{Plugin as _0x3368f5}from'ckeditor5/src/core.js';import _0x2d770d from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x2e6386 from'./realtimecollaborativeediting.js';function _0x11b2(){const _0x579b9d=['208053SZaFXq','2019RTfqfg','CommentsRepository','Comments','destroy','isThreadsLoadingPaused','3111906ceGWYU','_terminateService','2420TfeXmX','159404ffTJfi','6332yLDpDI','listenTo','get','requires','once','isOfficialPlugin','192XXOqgE','switchReadOnly','change:state','pluginName','_setUpService','18029MxsEAq','622445oIuJzO','init','data','editor','RealTimeCollaborativeComments','ready','isPremiumPlugin','plugins','2294460BEkmRk','24ssrTSU','collaboration.channelId','connected','CommentsEditing','config'];_0x11b2=function(){return _0x579b9d;};return _0x11b2();}import _0xaa4ca9 from'./realtimecollaborativeediting/websocketgateway.js';function _0x126e(_0x1c2029,_0x514edb){const _0x11b2cb=_0x11b2();return _0x126e=function(_0x126e38,_0x3cdc6d){_0x126e38=_0x126e38-0x17e;let _0x58d894=_0x11b2cb[_0x126e38];return _0x58d894;},_0x126e(_0x1c2029,_0x514edb);}export default class m extends _0x3368f5{static get[_0x44cd2e(0x196)](){const _0x9a2734=_0x44cd2e;return[_0x9a2734(0x18c),_0x2d770d,_0x2e6386,_0xaa4ca9];}static get[_0x44cd2e(0x19c)](){const _0x490186=_0x44cd2e;return _0x490186(0x17f);}static get[_0x44cd2e(0x198)](){return!0x0;}static get[_0x44cd2e(0x181)](){return!0x0;}[_0x44cd2e(0x1a0)](){const _0x3e1990=_0x44cd2e,_0x270a0d=this[_0x3e1990(0x17e)][_0x3e1990(0x182)][_0x3e1990(0x195)](_0xaa4ca9),_0x358083=this[_0x3e1990(0x17e)][_0x3e1990(0x182)][_0x3e1990(0x195)](_0x3e1990(0x187)),_0x415b9d=this[_0x3e1990(0x17e)][_0x3e1990(0x182)][_0x3e1990(0x195)](_0x2d770d);return this[_0x3e1990(0x17e)][_0x3e1990(0x1a1)][_0x3e1990(0x197)](_0x3e1990(0x180),()=>{const _0x57840b=_0x3e1990;this[_0x57840b(0x194)](_0x270a0d,_0x57840b(0x19b),(_0x58fc62,_0x413fea,_0x80182a)=>{const _0x2b8c92=_0x57840b;_0x358083[_0x2b8c92(0x18e)]=_0x2b8c92(0x186)!==_0x80182a;});}),this[_0x3e1990(0x194)](_0x270a0d,_0x3e1990(0x19b),(_0x124492,_0x42be52,_0x29e8da)=>{const _0x41c55f=_0x3e1990;this[_0x41c55f(0x17e)][_0x41c55f(0x182)][_0x41c55f(0x195)](_0x41c55f(0x18b))[_0x41c55f(0x19a)](_0x41c55f(0x186)!==_0x29e8da);}),_0x415b9d[_0x3e1990(0x19d)](this[_0x3e1990(0x17e)][_0x3e1990(0x188)][_0x3e1990(0x195)](_0x3e1990(0x185)));}[_0x44cd2e(0x18d)](){const _0x5e3ad2=_0x44cd2e;this[_0x5e3ad2(0x17e)][_0x5e3ad2(0x182)][_0x5e3ad2(0x195)](_0x2d770d)[_0x5e3ad2(0x190)](this[_0x5e3ad2(0x17e)][_0x5e3ad2(0x188)][_0x5e3ad2(0x195)](_0x5e3ad2(0x185))),super[_0x5e3ad2(0x18d)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x157d12=_0x54db;(function(_0x5951a2,_0xfd39){const _0x28030d=_0x54db,_0x31bdbc=_0x5951a2();while(!![]){try{const _0x423bbd=parseInt(_0x28030d(0xb9))/0x1*(-parseInt(_0x28030d(0xcf))/0x2)+parseInt(_0x28030d(0xdf))/0x3+parseInt(_0x28030d(0xec))/0x4+parseInt(_0x28030d(0xfa))/0x5+-parseInt(_0x28030d(0x122))/0x6+-parseInt(_0x28030d(0x15a))/0x7+parseInt(_0x28030d(0x70))/0x8*(-parseInt(_0x28030d(0x9a))/0x9);if(_0x423bbd===_0xfd39)break;else _0x31bdbc['push'](_0x31bdbc['shift']());}catch(_0xc17603){_0x31bdbc['push'](_0x31bdbc['shift']());}}}(_0x123d,0xdc1c3));import{Plugin as _0x1a1e75,PendingActions as _0x51d23a}from'ckeditor5/src/core.js';import{CKEditorError as _0x281419,version as _0x131d81,uid as _0x2245da}from'ckeditor5/src/utils.js';import{Notification as _0xa7a921}from'ckeditor5/src/ui.js';import{transformSets as _0x3714a1,NoOperation as _0x5a48d2,InsertOperation as _0x219fb8,MarkerOperation as _0x2c8aaf,RootAttributeOperation as _0x3b049b,OperationFactory as _0x23436a,History as _0x357073}from'ckeditor5/src/engine.js';import _0x4b8a3a from'./websocketgateway.js';import _0x4cb075 from'./sessions.js';import _0x8c1a42 from'./usermarkers.js';import{getTranslation as _0x5c25eb}from'../common-translations.js';import{Compressor as _0x4bb37e}from'@ckeditor/ckeditor5-operations-compressor';function _0x123d(){const _0x46543f=['_addKnownRoot','locale','ready','stop','_handleReceivedOperations','rootName','cs:removeUser','_loadRoot','listenTo','getOperationAuthor','isEnabled','_lastServerVersion','3370686YESQmK','collaboration-missing-channelid','lastOperationId','targetPosition','lastSyncVersion','_updateServerHistory','_operationToId','affectedSelectable','serverHistory','addUser','409','initData','bind','6253032vLVZOC','createUserMarkerOperations','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','has','rtc-offline','editing','addOperation','__className','sessionAdd:','change:hasDomSelection','PENDING_ACTION_SENDING_DATA','_refreshUserSelectionMarkers','apply','collaboration','2981500MUzexV','_lastSyncedOperationId','realtimecollaborationclient-init-session-connection-error','baseVersion','sessionCreatedAt','_bufferedOperations','_decompressOperations','marker','404','error','end','metadata','_authorId','editor','_handleReconnectionError','_initSessionsHandling','compress','_bufferRootLoad','_isAttached','then','toJSON','_ignoredOperations','entries','getIdOfTheLastOperation','realtimecollaborationclient','lastDocumentSession','realtimecollaborationclient-handleserverresponse','_document','fire','_setPendingAction','finally','root','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.','data','selection','_knownOperations','_fetchMissingUsers','_isDisconnection','_isConnected','length','4505850TaPhFr','realtimecollaborationclient-sendbufferedoperations','_baseBufferDelay','_handleServerResponse','_disconnectService','size','getDocumentDetails','change:_isPendingUpdate','createPositionFromPath','wereChangesApplied','addRootAttribute','unregister','keys','collaboration.channelId','reset','_getOperationsFromInitData','_compressor','applyOperation','CommentsOnly','realtimecollaborationclient-error','set','register','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','userId','wasUndone','_sendBufferedOperations','_setUpDataInit','Permissions','Synchronization\x20issue','_isLoaded','document','enqueueChange','model','realtimecollaborationclient-init-service-internal-error','slice','sessionId','cloud-services-internal-error:\x20Request\x20timeout.','enableReadOnlyMode','showWarning','_isPendingUpdate','_currentBufferDelay','getOperations','createRoot','reconnection:\x20flushed\x20session','_handleExternalOperations','createPositionAt','getRoot','offset','_initThrowingOnDataSet','rtc-destroyed','realtimecollaborationclient-init-service-incorrect-server-operation','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.','string','return','change:range','_shouldSendUpdate','2480639GbdGop','CollaborativeEditingService','view','sendOperations','position','_handleInitialConnectionData','document:write','_operationIdentifier','pluginName','push','isDocumentOperation','from','code','roots','config','_handleSendingSelectionMarkers','disconnected','Notification','markers','realtimecollaborationclient-init-document-already-initialized','decompress','getConnectedSessions','_connectAfterSessionHasBeenFlushed','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','isPremiumPlugin','isOfficialPlugin','version','3158024pKDhmn','_crash','_connectService','_service','includes','startsWith','createdAt','_knownRootNames','isUndoneOperation','path','cloud-services-internal-error:\x20Not\x20connected.','cloudDocumentVersion','real-time-collaboration','off','plugins','$root','realtimecollaborationclient-init-non-existent-root','connection','catch','_pendingAction','fromJSON','define','_hasSelectionChanged','rootsAttributes','loadRoot','batch','lastOperationAcceptedAt','directChange','currentDocumentSession','InsertOperation','channelSessions','_isInit','state','_compressOperations','disconnect','mySessionId','insert','start','addRoot','_handleReconnectionResponse','realtimecollaborationclient-init-connection-failed','permissions','27ovQrbk','get','getMany','remove','move','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','change:_isEditingAllowed','_shouldSendSelectionUpdate','_getAffectedRoot','stopListening','map','disableReadOnlyMode','init','attributes','newRange','suppressErrorInCollaboration','add','parse','history','_applyOperationsSet','createRange','_channelId','differ','operationsReceived','getUser','forEach','isReadOnly','setPermissions','message','removeFromReconnectionStack','connect','14eawmjU','affectsData','round','_clearPendingAction','_disconnectionOperations','multi-root-editor-root-attributes-no-root','_saveOperationInBuffer','setIdForTheLastOperation','_sendBufferedOperationsDelayId','clone','_waitUntilSynced','_offset','high','type','_sendBufferedOperationsDelayed','reconnect','_hasSynchronizationProblem','_isEditingAllowed','RealTimeCollaborationClient','addToReconnectionStack','filter','destroy','13134GKgxxw','cloudServices.bundleVersion','requires','connected'];_0x123d=function(){return _0x46543f;};return _0x123d();}function _0x54db(_0x14c9f7,_0x3e295d){const _0x123d47=_0x123d();return _0x54db=function(_0x54db48,_0x327534){_0x54db48=_0x54db48-0x67;let _0x371488=_0x123d47[_0x54db48];return _0x371488;},_0x54db(_0x14c9f7,_0x3e295d);}import{Users as _0x45e2a3}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0xcdeb9b,CollaborativeEditingService as _0x2f1906}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Z=0x1;class l extends _0x1a1e75{static get[_0x157d12(0xd1)](){return[_0x4b8a3a,_0x4cb075,_0x8c1a42,_0x51d23a,_0x45e2a3,_0xa7a921];}static get[_0x157d12(0x162)](){const _0x533f98=_0x157d12;return _0x533f98(0xcb);}static get[_0x157d12(0x6e)](){return!0x0;}static get[_0x157d12(0x6d)](){return!0x0;}get[_0x157d12(0x7b)](){const _0x5abd52=_0x157d12;return this[_0x5abd52(0xde)]+this[_0x5abd52(0xc4)];}get[_0x157d12(0xde)](){const _0x136016=_0x157d12;return this[_0x136016(0xe7)][_0x136016(0x6f)]-this[_0x136016(0xc4)];}get[_0x157d12(0xe3)](){const _0x1cc54f=_0x157d12,_0x1ef692=this[_0x1cc54f(0xe7)][_0x1cc54f(0x14b)]();for(let _0xe05cae=_0x1ef692[_0x1cc54f(0x121)]-0x1;_0xe05cae>=0x0;_0xe05cae--){const _0x23df3d=_0x1ef692[_0xe05cae];if(!this[_0x1cc54f(0xbd)][_0x1cc54f(0xef)](_0x23df3d))return _0x23df3d[_0x1cc54f(0xfd)]+0x1-this[_0x1cc54f(0xc4)];}return 0x0;}constructor(_0x25e290){const _0x526963=_0x157d12;if(super(_0x25e290),this[_0x526963(0xc4)]=0x0,this[_0x526963(0x145)]=null,this[_0x526963(0xe7)]=new _0x357073(),this[_0x526963(0x107)][_0x526963(0x168)][_0x526963(0x85)](_0x526963(0xf9),{}),this[_0x526963(0xaf)]=this[_0x526963(0x107)][_0x526963(0x168)][_0x526963(0x9b)](_0x526963(0x12f)),!this[_0x526963(0xaf)])throw new _0x281419(_0x526963(0xe0),this);const _0x1e957f=_0x25e290[_0x526963(0x168)][_0x526963(0x9b)](_0x526963(0xd0))||_0x131d81;this[_0x526963(0x73)]=new l[(_0x526963(0x15b))](_0x1e957f,this[_0x526963(0xaf)]),this[_0x526963(0x115)]=this[_0x526963(0x107)][_0x526963(0x142)][_0x526963(0x140)],this[_0x526963(0x132)]=new _0x4bb37e(),this[_0x526963(0xff)]=[],this[_0x526963(0x11d)]=new WeakSet(),this[_0x526963(0x77)]=new Set(),this[_0x526963(0x136)](_0x526963(0x149),!0x1),this[_0x526963(0x136)](_0x526963(0xc9),!0x1),this[_0x526963(0x83)]=null,this[_0x526963(0x86)]=!0x1,this[_0x526963(0xc1)]=null,this[_0x526963(0x124)]=0x12c,this[_0x526963(0x14a)]=this[_0x526963(0x124)],this[_0x526963(0xfb)]=null,this[_0x526963(0xbd)]=new WeakSet(),this[_0x526963(0x161)]=new st(this[_0x526963(0xbd)]);}[_0x157d12(0xa6)](){const _0x46f572=_0x157d12,_0x3b10dc=this[_0x46f572(0x107)],_0x4f6405=_0x3b10dc[_0x46f572(0x7e)][_0x46f572(0x9b)](_0x45e2a3),_0x38b0a7=_0x3b10dc[_0x46f572(0x7e)][_0x46f572(0x9b)](_0x4b8a3a);this[_0x46f572(0xdb)](_0x4f6405,_0x46f572(0xdc),(_0x1a79fd,_0x2c006f)=>{const _0x1272b3=_0x46f572,_0x521ef8=_0x2c006f[0x0];_0x521ef8[_0x1272b3(0x106)]&&(_0x1a79fd[_0x1272b3(0x157)]=_0x4f6405[_0x1272b3(0xb2)](_0x521ef8[_0x1272b3(0x106)]),_0x1a79fd[_0x1272b3(0xd6)]()),null===_0x521ef8[_0x1272b3(0x106)]&&(_0x1a79fd[_0x1272b3(0x157)]=null,_0x1a79fd[_0x1272b3(0xd6)]());},{'priority':_0x46f572(0xc5)}),this[_0x46f572(0xdb)](_0x3b10dc[_0x46f572(0x142)][_0x46f572(0x140)][_0x46f572(0x11c)],_0x46f572(0x158),(_0x59d874,_0x5498a1)=>{const _0x862afa=_0x46f572;_0x5498a1[_0x862afa(0x8b)]&&this[_0x862afa(0xf7)]();}),this[_0x46f572(0xdb)](_0x3b10dc[_0x46f572(0xf1)][_0x46f572(0x15c)],_0x46f572(0xf5),()=>{const _0x3437fa=_0x46f572;this[_0x3437fa(0xf7)]();}),this[_0x46f572(0x152)](),_0x3b10dc[_0x46f572(0x142)]['on'](_0x46f572(0x133),(_0xff14a2,_0x670eb8)=>{const _0x26611c=_0x46f572,_0x444363=_0x670eb8[0x0];_0x444363[_0x26611c(0x164)]&&(this[_0x26611c(0xbf)](_0x444363),this[_0x26611c(0x159)]()&&this[_0x26611c(0xc7)]());}),this[_0x46f572(0x13c)](),this[_0x46f572(0xeb)](_0x46f572(0xca))['to'](_0x38b0a7,_0x46f572(0x90),this,_0x46f572(0xc9),(_0x28e596,_0x9cf1ec)=>_0x46f572(0xd2)===_0x28e596&&!_0x9cf1ec),this['on'](_0x46f572(0xa0),()=>{const _0x2c0567=_0x46f572;this[_0x2c0567(0xca)]?_0x3b10dc[_0x2c0567(0xa5)](_0x2c0567(0xf0)):_0x3b10dc[_0x2c0567(0x147)](_0x2c0567(0xf0));}),this[_0x46f572(0xca)]?_0x3b10dc[_0x46f572(0xa5)](_0x46f572(0xf0)):_0x3b10dc[_0x46f572(0x147)](_0x46f572(0xf0)),this[_0x46f572(0x136)](_0x46f572(0x120),!0x1);}async[_0x157d12(0xc8)](){const _0x131cef=_0x157d12,_0xdca271=this[_0x131cef(0x107)][_0x131cef(0x7e)][_0x131cef(0x9b)](_0x4cb075),_0x42f8c0=this[_0x131cef(0x107)][_0x131cef(0x7e)][_0x131cef(0x9b)](_0x4b8a3a);try{this[_0x131cef(0x149)]=!0x0,_0xdca271[_0x131cef(0x12d)](this[_0x131cef(0xaf)]);const _0x121501=await this[_0x131cef(0x73)][_0x131cef(0xc8)](_0x42f8c0[_0x131cef(0x81)],this[_0x131cef(0xe3)]);await this[_0x131cef(0x97)](_0x121501)&&(this[_0x131cef(0x149)]=!0x1,this[_0x131cef(0xbc)]());const _0xb659f=await this[_0x131cef(0x73)][_0x131cef(0x6a)]();_0xdca271[_0x131cef(0x137)](this[_0x131cef(0xaf)],_0xb659f),this[_0x131cef(0x169)](),this[_0x131cef(0x120)]=!0x0;}catch(_0x37dcea){if(function(_0xcab3b8){const _0x31f6b7=_0x131cef;return _0x31f6b7(0x102)===_0xcab3b8[_0x31f6b7(0x166)];}(_0x37dcea)&&this[_0x131cef(0x145)])await this[_0x131cef(0x6b)]();else{if(function(_0x8081af){const _0x4f5950=_0x131cef;return _0x4f5950(0xe9)===_0x8081af[_0x4f5950(0x166)];}(_0x37dcea)){const _0x363bb6=_0x5c25eb(this[_0x131cef(0x107)][_0x131cef(0xd4)],_0x131cef(0xee));this[_0x131cef(0x108)](_0x363bb6);}else{if(!(_0x37dcea instanceof tt))throw _0x37dcea;this[_0x131cef(0x108)]();}}}}[_0x157d12(0xce)](){const _0xceef75=_0x157d12,_0x73717a=this[_0xceef75(0x107)][_0xceef75(0x7e)][_0xceef75(0x9b)](_0x4b8a3a),_0x9f62fb=this[_0xceef75(0x107)][_0xceef75(0x7e)][_0xceef75(0x9b)](_0x4cb075);this[_0xceef75(0x107)][_0xceef75(0x147)](_0xceef75(0x153)),_0x9f62fb[_0xceef75(0x8e)][_0xceef75(0xef)](this[_0xceef75(0xaf)])&&_0x9f62fb[_0xceef75(0x12d)](this[_0xceef75(0xaf)]),_0x73717a[_0xceef75(0xb7)](this),this[_0xceef75(0x126)](),super[_0xceef75(0xce)]();}async[_0x157d12(0x97)](_0xde4e3f){const _0x4aaa6f=_0x157d12;if(this[_0x4aaa6f(0x145)]!==_0xde4e3f[_0x4aaa6f(0x145)]&&this[_0x4aaa6f(0xfb)]!==_0xde4e3f[_0x4aaa6f(0xe1)])throw new tt();return this[_0x4aaa6f(0x145)]=_0xde4e3f[_0x4aaa6f(0x145)],this[_0x4aaa6f(0x125)]([],{..._0xde4e3f,'wereChangesApplied':!0x1,'data':_0xde4e3f[_0x4aaa6f(0x11b)]},_0x4aaa6f(0xc8));}async[_0x157d12(0x72)](_0x56fb81,_0x26378f=!0x1){const _0x4332fc=_0x157d12,{connection:_0x1bcaff}=this[_0x4332fc(0x107)][_0x4332fc(0x7e)][_0x4332fc(0x9b)](_0x4b8a3a);l[_0x4332fc(0x15b)][_0x4332fc(0x6a)](_0x1bcaff,this[_0x4332fc(0xaf)])[_0x4332fc(0x10d)](_0x12a633=>this[_0x4332fc(0x109)](_0x12a633))[_0x4332fc(0x82)](_0x52d1d1=>{const _0x1777d5=_0x4332fc;this[_0x1777d5(0x71)](_0x1777d5(0xfc),_0x52d1d1);}),this[_0x4332fc(0xdb)](this[_0x4332fc(0x73)],_0x4332fc(0xb1),this[_0x4332fc(0xd7)][_0x4332fc(0xeb)](this)),this[_0x4332fc(0xdb)](this[_0x4332fc(0x73)],_0x4332fc(0x103),(_0xc227df,_0x31ad97)=>{const _0x56866a=_0x4332fc;this[_0x56866a(0x71)](_0x56866a(0x143),_0x31ad97);}),this[_0x4332fc(0xdb)](this[_0x4332fc(0x73)],_0x4332fc(0x16a),()=>{const _0x33ebdd=_0x4332fc;this[_0x33ebdd(0x120)]=!0x1;});const _0x3b12a7=this[_0x4332fc(0x161)][_0x4332fc(0x111)](_0x56fb81);this[_0x4332fc(0x149)]=!0x0;const _0x2439c2=await this[_0x4332fc(0x73)][_0x4332fc(0xb8)](_0x1bcaff,this[_0x4332fc(0x91)](_0x56fb81),_0x3b12a7);if(this[_0x4332fc(0x145)]=_0x2439c2[_0x4332fc(0x145)],_0x26378f){if(!_0x2439c2[_0x4332fc(0x12b)])return void this[_0x4332fc(0x108)]();this[_0x4332fc(0x149)]=!0x1,this[_0x4332fc(0xbc)](),this[_0x4332fc(0xe7)][_0x4332fc(0x130)](),this[_0x4332fc(0xc4)]=_0x2439c2[_0x4332fc(0x151)],this[_0x4332fc(0xe7)][_0x4332fc(0x6f)]=this[_0x4332fc(0xc4)],await this[_0x4332fc(0x125)](_0x56fb81,_0x2439c2,_0x4332fc(0x14d));}else await this[_0x4332fc(0x15f)](_0x2439c2,_0x56fb81);this[_0x4332fc(0x169)](),this[_0x4332fc(0x120)]=!0x0;}[_0x157d12(0x169)](){const _0x845a96=_0x157d12,_0x22c593=this[_0x845a96(0x107)][_0x845a96(0x7e)][_0x845a96(0x9b)](_0x4cb075),_0xd9b3d7=this[_0x845a96(0x107)][_0x845a96(0x7e)][_0x845a96(0x9b)](_0x8c1a42),_0x488e75=_0x22c593[_0x845a96(0x8e)][_0x845a96(0x9b)](this[_0x845a96(0xaf)]);_0x488e75&&_0x488e75[_0x845a96(0x121)]>0x1?_0xd9b3d7[_0x845a96(0xed)]():this[_0x845a96(0xdb)](_0x22c593,_0x845a96(0xf4)+this[_0x845a96(0xaf)],()=>{const _0x2f7d77=_0x845a96;0x2===_0x22c593[_0x2f7d77(0x8e)][_0x2f7d77(0x9b)](this[_0x2f7d77(0xaf)])[_0x2f7d77(0x121)]&&_0xd9b3d7[_0x2f7d77(0xed)]();});}async[_0x157d12(0xd7)](_0x388291,_0x449738,_0x5875ff,_0x18278c){const _0x1b027e=_0x157d12;if(!this[_0x1b027e(0x149)]&&this[_0x1b027e(0x115)][_0x1b027e(0x6f)]==_0x449738){const _0x1f933b=this[_0x1b027e(0x100)](_0x5875ff,_0x18278c);await this[_0x1b027e(0x11e)](_0x1f933b),this[_0x1b027e(0x14e)](_0x1f933b,_0x449738,_0x5875ff[_0x1b027e(0xe1)])||this[_0x1b027e(0x71)](_0x1b027e(0x154));}}async[_0x157d12(0x6b)](){const _0x31349d=_0x157d12;this[_0x31349d(0x126)]();const {locale:_0x5748b9}=this[_0x31349d(0x107)];let _0x2da551;try{_0x2da551=await this[_0x31349d(0x73)][_0x31349d(0x128)]();}catch(_0x951372){const _0x304a4e=_0x5c25eb(_0x5748b9,_0x31349d(0x138));return void this[_0x31349d(0x108)](_0x304a4e);}const _0x420114=_0x2da551[_0x31349d(0x8c)]||_0x2da551[_0x31349d(0x113)];if(this[_0x31349d(0xfb)]===_0x420114[_0x31349d(0xe1)])await this[_0x31349d(0x72)](this[_0x31349d(0x107)][_0x31349d(0x142)][_0x31349d(0x140)][_0x31349d(0xac)][_0x31349d(0x14b)](),!0x0);else{const _0x17ecef=_0x5c25eb(_0x5748b9,_0x31349d(0x155));this[_0x31349d(0x108)](_0x17ecef);}}[_0x157d12(0x126)](){const _0x3ee40c=_0x157d12;this[_0x3ee40c(0x73)][_0x3ee40c(0x92)](),this[_0x3ee40c(0xff)]=[],clearTimeout(this[_0x3ee40c(0xc1)]),this[_0x3ee40c(0xa3)](this[_0x3ee40c(0x73)]);}[_0x157d12(0x109)](_0x5c8c19){const _0x3c3cfb=_0x157d12,_0x3463f2=this[_0x3c3cfb(0x107)][_0x3c3cfb(0x7e)][_0x3c3cfb(0x9b)](_0x4cb075);this[_0x3c3cfb(0xdb)](_0x3463f2,_0x3c3cfb(0xf4)+this[_0x3c3cfb(0xaf)],(_0x243b91,{session:_0x2e9c37})=>{const _0x41b67e=_0x3c3cfb;if(_0x2e9c37['id']===_0x3463f2[_0x41b67e(0x93)]){_0x243b91[_0x41b67e(0x7d)]();const _0x214762=this[_0x41b67e(0x107)][_0x41b67e(0x7e)][_0x41b67e(0xef)](_0x41b67e(0x134))&&this[_0x41b67e(0x107)][_0x41b67e(0x7e)][_0x41b67e(0x9b)](_0x41b67e(0x134));let _0x151785=_0x2e9c37[_0x41b67e(0x99)];_0x214762&&_0x214762[_0x41b67e(0xdd)]&&(_0x151785=_0x151785[_0x41b67e(0xcd)](_0x223853=>_0x41b67e(0x160)!==_0x223853)),this[_0x41b67e(0x107)][_0x41b67e(0x7e)][_0x41b67e(0x9b)](_0x41b67e(0x13d))[_0x41b67e(0xb5)](_0x151785,this[_0x41b67e(0xaf)]);}}),_0x3463f2[_0x3c3cfb(0x137)](this[_0x3c3cfb(0xaf)],_0x5c8c19);}[_0x157d12(0x152)](){const _0x2e41b1=_0x157d12,_0x3d7a47=this[_0x2e41b1(0x107)][_0x2e41b1(0x11b)][_0x2e41b1(0x136)];this[_0x2e41b1(0x107)][_0x2e41b1(0x11b)][_0x2e41b1(0x136)]=(..._0x2cfeb7)=>{const _0xb1b529=_0x2e41b1;if(!_0x2cfeb7[_0x2cfeb7[_0xb1b529(0x121)]-0x1][_0xb1b529(0xa9)])throw new _0x281419(_0xb1b529(0x6c),this);_0x3d7a47[_0xb1b529(0xf8)](this[_0xb1b529(0x107)][_0xb1b529(0x11b)],_0x2cfeb7);};}[_0x157d12(0x13c)](){const _0x4da0d2=_0x157d12;this[_0x4da0d2(0x107)][_0x4da0d2(0x11b)]['on'](_0x4da0d2(0xa6),(_0xcf616b,[_0x54e008])=>{const _0x453a4f=_0x4da0d2;if(this[_0x453a4f(0x115)][_0x453a4f(0x6f)])throw new _0x281419(_0x453a4f(0x68),this);_0xcf616b[_0x453a4f(0xd6)](),this[_0x453a4f(0x117)]();const _0x2443b3=this[_0x453a4f(0x107)][_0x453a4f(0x168)][_0x453a4f(0x9b)](_0x453a4f(0x87)),_0x44d03d=this[_0x453a4f(0x131)](_0x54e008,_0x2443b3);0x0==_0x44d03d[_0x453a4f(0x121)]&&_0x44d03d[_0x453a4f(0x163)](new _0x5a48d2(0x0)),_0xcf616b[_0x453a4f(0x157)]=this[_0x453a4f(0x72)](_0x44d03d)[_0x453a4f(0x10d)](()=>{const _0x4c3f60=_0x453a4f;this[_0x4c3f60(0x107)][_0x4c3f60(0x7e)][_0x4c3f60(0x9b)](_0x4b8a3a)[_0x4c3f60(0xcc)](this),this[_0x4c3f60(0x107)][_0x4c3f60(0x11b)][_0x4c3f60(0x116)](_0x4c3f60(0xd5));})[_0x453a4f(0x82)](_0x154569=>this[_0x453a4f(0x71)](_0x453a4f(0x98),_0x154569))[_0x453a4f(0x118)](()=>this[_0x453a4f(0xbc)]());},{'priority':_0x4da0d2(0xc5)}),this[_0x4da0d2(0x107)]['on'](_0x4da0d2(0x88),async(_0xf58ef6,[_0xd2af67,_0x366fca])=>{const _0x30985b=_0x4da0d2;_0xf58ef6[_0x30985b(0xd6)]();const _0x45a52a=this[_0x30985b(0x107)][_0x30985b(0x142)][_0x30985b(0x140)][_0x30985b(0x150)](_0xd2af67);if(!this[_0x30985b(0x77)][_0x30985b(0xef)](_0xd2af67)){const _0x2fc5ad=_0x366fca&&_0x366fca[_0x30985b(0x11b)]?_0x366fca[_0x30985b(0x11b)]:'',_0x374c08=_0x366fca&&_0x366fca[_0x30985b(0xa7)]?_0x366fca[_0x30985b(0xa7)]:{};await this[_0x30985b(0xda)](_0xd2af67,_0x2fc5ad,_0x374c08);}this[_0x30985b(0x107)][_0x30985b(0x142)][_0x30985b(0x141)]({'isUndoable':!0x1},()=>{const _0x27e967=_0x30985b;_0x45a52a[_0x27e967(0x13f)]=!0x0,this[_0x27e967(0x107)][_0x27e967(0x142)][_0x27e967(0x140)][_0x27e967(0xb0)][_0x27e967(0x10b)](_0x45a52a);});},{'priority':_0x4da0d2(0xc5)});}async[_0x157d12(0x11e)](_0x737df){const _0x1ce378=_0x157d12,_0x196791=this[_0x1ce378(0x107)][_0x1ce378(0x7e)][_0x1ce378(0x9b)](_0x45e2a3),{connection:_0x53a87d}=this[_0x1ce378(0x107)][_0x1ce378(0x7e)][_0x1ce378(0x9b)](_0x4b8a3a),_0xb42535=new Set();for(const _0x2f1b8f of _0x737df){const _0x5ef991=_0x2f1b8f[_0x1ce378(0x106)];_0x5ef991&&!_0x196791[_0x1ce378(0xb2)](_0x5ef991)&&_0xb42535[_0x1ce378(0xaa)](_0x5ef991);}if(0x0===_0xb42535[_0x1ce378(0x127)])return;const _0x47a2aa=await _0xcdeb9b[_0x1ce378(0x9c)](_0x53a87d,Array[_0x1ce378(0x165)](_0xb42535));for(const _0x420cf3 of _0x47a2aa)_0x196791[_0x1ce378(0xb2)](_0x420cf3['id'])||_0x196791[_0x1ce378(0xe8)](_0x420cf3);}[_0x157d12(0x131)](_0x33e471,_0x968c9b={}){const _0x495b17=_0x157d12,_0xad7730=this[_0x495b17(0x107)][_0x495b17(0x142)],_0x145bd0=[];let _0x537ca8=0x0;const _0x104619=_0x495b17(0x156)==typeof _0x33e471?{'main':_0x33e471}:_0x33e471;for(const _0x5d3d7c of Object[_0x495b17(0x12e)](_0x104619)){if(!this[_0x495b17(0x115)][_0x495b17(0x167)][_0x495b17(0xef)](_0x5d3d7c))throw new _0x281419(_0x495b17(0x80),this);const _0x44bd73=this[_0x495b17(0x107)][_0x495b17(0x11b)][_0x495b17(0xab)](_0x104619[_0x5d3d7c]),_0xbed62d=this[_0x495b17(0x115)][_0x495b17(0x150)](_0x5d3d7c),_0x5e2e95=new _0x219fb8(_0xad7730[_0x495b17(0x14f)](_0xbed62d,0x0),_0x44bd73,_0x537ca8++);_0x145bd0[_0x495b17(0x163)](_0x5e2e95);for(const [_0x5b7035,_0x3d43db]of _0x44bd73[_0x495b17(0x67)]){const _0x47e521=_0xad7730[_0x495b17(0xae)](_0xad7730[_0x495b17(0x12a)](_0xbed62d,_0x3d43db[_0x495b17(0x95)][_0x495b17(0x79)][_0x495b17(0x144)]()),_0xad7730[_0x495b17(0x12a)](_0xbed62d,_0x3d43db[_0x495b17(0x104)][_0x495b17(0x79)][_0x495b17(0x144)]())),_0x353649=new _0x2c8aaf(_0x5b7035,null,_0x47e521,_0xad7730[_0x495b17(0x67)],!0x0,_0x537ca8++);_0x145bd0[_0x495b17(0x163)](_0x353649);}}if(_0x968c9b)for(const [_0x3735a4,_0x11cb38]of Object[_0x495b17(0x110)](_0x968c9b)){const _0x2c75a3=_0xad7730[_0x495b17(0x140)][_0x495b17(0x150)](_0x3735a4);if(!_0x2c75a3)throw new _0x281419(_0x495b17(0xbe),null);for(const [_0x52c5b0,_0x306f3f]of Object[_0x495b17(0x110)](_0x11cb38))if(null!==_0x306f3f){const _0x3bf025=new _0x3b049b(_0x2c75a3,_0x52c5b0,null,_0x306f3f,_0x537ca8++);_0x145bd0[_0x495b17(0x163)](_0x3bf025);}}return _0x145bd0;}async[_0x157d12(0xda)](_0xfc2046,_0x36b8c6,_0x2ca1f2){const _0x16c340=_0x157d12;this[_0x16c340(0x131)]({[_0xfc2046]:_0x36b8c6},{[_0xfc2046]:_0x2ca1f2})[_0x16c340(0xb3)]((_0x4903bb,_0x30eea9)=>{const _0x1f4144=_0x16c340;_0x4903bb[_0x1f4144(0xfd)]=this[_0x1f4144(0x115)][_0x1f4144(0x6f)]+_0x30eea9,_0x4903bb[_0x1f4144(0x8f)]=!0x0,this[_0x1f4144(0xbf)](_0x4903bb);}),this[_0x16c340(0xc7)](),await this[_0x16c340(0xc3)]();}async[_0x157d12(0x15f)](_0x152651,_0x5c6e08){const _0x36074d=_0x157d12;let _0xa11790;this[_0x36074d(0xc4)]=_0x152651[_0x36074d(0x151)];const _0x344df0=_0x152651[_0x36074d(0x12b)]&&!_0x152651[_0x36074d(0xea)],_0x4ea6ae=_0x344df0?0x0:_0x152651[_0x36074d(0x11b)][_0x36074d(0xfd)];if(_0x5c6e08[_0x36074d(0xb3)](_0x4c1045=>{const _0x607459=_0x36074d;_0x4c1045[_0x607459(0x8f)]=!0x0,_0x4c1045[_0x607459(0x76)]=_0x152651[_0x607459(0xfe)],_0x4c1045[_0x607459(0x106)]=null;}),_0x344df0)_0xa11790=_0x5c6e08,this[_0x36074d(0xad)](_0xa11790,_0x344df0);else{if(_0x152651[_0x36074d(0xea)]){const _0x24ccaf=this[_0x36074d(0x131)](_0x152651[_0x36074d(0xea)]);this[_0x36074d(0x115)][_0x36074d(0xac)][_0x36074d(0x6f)]=-_0x24ccaf[_0x36074d(0x121)],_0x24ccaf[_0x36074d(0xb3)](_0x52aae4=>{const _0x473391=_0x36074d;_0x52aae4[_0x473391(0xfd)]-=_0x24ccaf[_0x473391(0x121)],_0x52aae4[_0x473391(0x76)]=_0x152651[_0x473391(0xfe)],_0x52aae4[_0x473391(0x8f)]=!0x0,_0x52aae4[_0x473391(0x106)]=null;}),this[_0x36074d(0xad)](_0x24ccaf,!0x0),this[_0x36074d(0xe7)][_0x36074d(0x6f)]=-_0x24ccaf[_0x36074d(0x121)]+this[_0x36074d(0xc4)],this[_0x36074d(0xe4)](_0x24ccaf);}this[_0x36074d(0x115)][_0x36074d(0xac)][_0x36074d(0x6f)]=_0x4ea6ae,_0xa11790=this[_0x36074d(0x100)](_0x152651[_0x36074d(0x11b)],_0x152651[_0x36074d(0x105)]),await this[_0x36074d(0x11e)](_0xa11790),this[_0x36074d(0xad)](_0xa11790,_0x344df0);}_0x152651[_0x36074d(0xe1)]&&(this[_0x36074d(0x161)][_0x36074d(0xc0)](_0xa11790,_0x152651[_0x36074d(0xe1)]),this[_0x36074d(0xfb)]=_0x152651[_0x36074d(0xe1)]),this[_0x36074d(0xe7)][_0x36074d(0x6f)]=_0x4ea6ae+this[_0x36074d(0xc4)],this[_0x36074d(0xe4)](_0xa11790),_0x5c6e08[_0x36074d(0xcd)](_0xd27fcf=>{const _0x7f313f=_0x36074d,_0x1c4861=this[_0x7f313f(0xa2)](_0xd27fcf);return _0x1c4861&&!this[_0x7f313f(0x77)][_0x7f313f(0xef)](_0x1c4861);})[_0x36074d(0xb3)]((_0x2674c6,_0x1a03f0)=>{const _0x2e6584=_0x36074d;_0x2674c6[_0x2e6584(0xfd)]=this[_0x2e6584(0x115)][_0x2e6584(0x6f)]+_0x1a03f0,this[_0x2e6584(0xbf)](_0x2674c6);}),this[_0x36074d(0x159)]()?(this[_0x36074d(0x14a)]=0x0,this[_0x36074d(0xc7)](!0x0),await this[_0x36074d(0xc3)]()):(this[_0x36074d(0x149)]=!0x1,this[_0x36074d(0xbc)]());}[_0x157d12(0x71)](_0x7a9f65,_0x6568a1){const _0x2fcab5=_0x157d12,_0x49a40b=_0x6568a1&&_0x6568a1[_0x2fcab5(0xb6)];if(_0x49a40b&&_0x49a40b[_0x2fcab5(0x75)](_0x2fcab5(0x112)))throw _0x6568a1;const _0x8376b1=this[_0x2fcab5(0x107)][_0x2fcab5(0x7e)][_0x2fcab5(0x9b)](_0x4b8a3a);throw this[_0x2fcab5(0x149)]=!0x0,_0x8376b1[_0x2fcab5(0x92)](),this[_0x2fcab5(0x107)][_0x2fcab5(0x147)](_0x2fcab5(0x135)),new _0x281419(_0x7a9f65,this[_0x2fcab5(0x107)],_0x49a40b?{'originalError':_0x49a40b}:void 0x0);}[_0x157d12(0xbf)](_0x2bef57){const _0x30b097=_0x157d12;this[_0x30b097(0x11d)][_0x30b097(0xef)](_0x2bef57)||(this[_0x30b097(0x11d)][_0x30b097(0xaa)](_0x2bef57),this[_0x30b097(0xff)][_0x30b097(0x163)](_0x2bef57),this[_0x30b097(0x83)]||_0x30b097(0x101)==_0x2bef57[_0x30b097(0xc6)]&&!_0x2bef57[_0x30b097(0xba)]||this[_0x30b097(0x117)]());}[_0x157d12(0xc7)](_0x1f961b=!0x1){const _0x3cc14b=_0x157d12;!_0x1f961b&&this[_0x3cc14b(0x149)]||(this[_0x3cc14b(0x149)]=!0x0,clearTimeout(this[_0x3cc14b(0xc1)]),this[_0x3cc14b(0xc1)]=setTimeout(()=>{const _0x14a22b=_0x3cc14b;this[_0x14a22b(0x13b)]()[_0x14a22b(0x10d)](_0x399166=>{const _0x5cd68b=_0x14a22b;_0x399166&&(this[_0x5cd68b(0xbc)](),this[_0x5cd68b(0x149)]=!0x1);})[_0x14a22b(0x82)](_0x52faea=>{const _0x188813=_0x14a22b;this[_0x188813(0xbc)](),this[_0x188813(0x149)]=!0x1,function(_0x5e55eb){const _0x34a6d3=_0x188813;return _0x5e55eb[_0x34a6d3(0xb6)][_0x34a6d3(0x75)](_0x34a6d3(0x7a))||_0x5e55eb[_0x34a6d3(0xb6)][_0x34a6d3(0x75)](_0x34a6d3(0x9f))||_0x5e55eb[_0x34a6d3(0xb6)][_0x34a6d3(0x75)](_0x34a6d3(0x146));}(_0x52faea)||this[_0x188813(0x71)](_0x52faea[_0x188813(0xb6)],_0x52faea);});},this[_0x3cc14b(0x14a)]));}[_0x157d12(0xc3)](){return new Promise(_0x4d583e=>{const _0x1a0392=_0x54db;this['on'](_0x1a0392(0x129),()=>{_0x4d583e();});});}async[_0x157d12(0x13b)](){const _0x4117a2=_0x157d12,_0x9db354=this[_0x4117a2(0x107)][_0x4117a2(0x7e)][_0x4117a2(0x9b)](_0x8c1a42);if(this[_0x4117a2(0xa1)]()&&(_0x9db354[_0x4117a2(0xed)](),this[_0x4117a2(0x86)]=!0x1),!this[_0x4117a2(0x159)]())return!0x0;const _0x1c46fc=[...this[_0x4117a2(0xff)]];for(const _0x46a941 of _0x1c46fc)_0x46a941[_0x4117a2(0x13a)]=this[_0x4117a2(0x115)][_0x4117a2(0xac)][_0x4117a2(0x78)](_0x46a941);const _0x1d5cc3=this[_0x4117a2(0x161)][_0x4117a2(0x111)](_0x1c46fc),_0x2d583f=Z++,_0x2a61b9=this[_0x4117a2(0x91)](_0x1c46fc),_0x2d1d3a=await this[_0x4117a2(0x73)][_0x4117a2(0x15d)](_0x2a61b9,_0x2a61b9[_0x4117a2(0xfd)],_0x1d5cc3);try{return await this[_0x4117a2(0x125)](_0x1c46fc,_0x2d1d3a,_0x2d583f);}catch(_0x258ed7){return this[_0x4117a2(0x71)](_0x4117a2(0x123),_0x258ed7);}}async[_0x157d12(0x125)](_0x196f82,_0x274945,_0x19adeb){const _0x481c0c=_0x157d12;if(_0x481c0c(0x103)in _0x274945)throw _0x274945[_0x481c0c(0x103)];let _0x40aa9c=!0x1;if(_0x274945[_0x481c0c(0x12b)]){_0x274945[_0x481c0c(0xe1)]&&(this[_0x481c0c(0xfb)]=_0x274945[_0x481c0c(0xe1)]),this[_0x481c0c(0xff)]=this[_0x481c0c(0xff)][_0x481c0c(0xcd)](_0x18db58=>!_0x196f82[_0x481c0c(0x74)](_0x18db58));for(const _0x35f032 of _0x196f82)_0x35f032[_0x481c0c(0x76)]=_0x481c0c(0x8a)in _0x274945&&_0x274945[_0x481c0c(0x8a)]||void 0x0;it(_0x196f82,_0x274945[_0x481c0c(0x6f)]-_0x196f82[_0x481c0c(0x121)]),this[_0x481c0c(0xe4)](_0x196f82);const _0x1c0abc=_0x196f82[_0x481c0c(0xcd)](_0x5c8ef1=>{const _0x94f674=_0x481c0c;if(!_0x5c8ef1[_0x94f674(0x8f)])return!0x1;const _0xf6c473=this[_0x94f674(0xa2)](_0x5c8ef1);return _0xf6c473&&!this[_0x94f674(0x77)][_0x94f674(0xef)](_0xf6c473);});it(_0x1c0abc,this[_0x481c0c(0x115)][_0x481c0c(0x6f)]),this[_0x481c0c(0xad)](_0x1c0abc),_0x40aa9c=!0x0,this[_0x481c0c(0x14a)]=this[_0x481c0c(0x124)];}else{const _0x2cc899=this[_0x481c0c(0x100)](_0x274945[_0x481c0c(0x11b)],_0x274945[_0x481c0c(0x105)])[_0x481c0c(0xcd)](_0x16590e=>_0x16590e[_0x481c0c(0xfd)]>=this[_0x481c0c(0xde)]);_0x2cc899[_0x481c0c(0xb3)](_0x29bc21=>this[_0x481c0c(0xd3)](_0x29bc21)),this[_0x481c0c(0xff)]=this[_0x481c0c(0xff)][_0x481c0c(0xcd)](_0x57f112=>!_0x57f112[_0x481c0c(0x8f)]||!this[_0x481c0c(0x77)][_0x481c0c(0xef)](this[_0x481c0c(0xa2)](_0x57f112))),this[_0x481c0c(0xff)][_0x481c0c(0x121)]&&it(this[_0x481c0c(0xff)],this[_0x481c0c(0xff)][0x0][_0x481c0c(0xfd)]),await this[_0x481c0c(0x11e)](_0x2cc899),_0x40aa9c=this[_0x481c0c(0x14e)](_0x2cc899,_0x274945[_0x481c0c(0x6f)],_0x274945[_0x481c0c(0xe1)]),this[_0x481c0c(0x14a)]=Math[_0x481c0c(0xbb)](this[_0x481c0c(0x14a)]/0x2);}return _0x40aa9c?!this[_0x481c0c(0x159)]()||(this[_0x481c0c(0xc7)](!0x0),!0x1):this[_0x481c0c(0x71)](_0x481c0c(0x114));}[_0x157d12(0x14e)](_0x5d6b58,_0x157095,_0x24c913){const _0x33ab9a=_0x157d12;try{const _0x1c5102={'document':this[_0x33ab9a(0x115)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x812e9c,operationsB:_0x5383d5,originalOperations:_0x42f7d4}=_0x3714a1(_0x5d6b58,this[_0x33ab9a(0xff)],_0x1c5102);it(_0x812e9c,this[_0x33ab9a(0x115)][_0x33ab9a(0x6f)]),it(_0x5383d5,_0x157095);for(const _0x57d5ff of _0x812e9c){const _0x430efd=_0x42f7d4[_0x33ab9a(0x9b)](_0x57d5ff);_0x57d5ff[_0x33ab9a(0x106)]=_0x430efd?_0x430efd[_0x33ab9a(0x106)]:null;}_0x24c913&&(this[_0x33ab9a(0x161)][_0x33ab9a(0xc0)](_0x5d6b58,_0x24c913),this[_0x33ab9a(0xfb)]=_0x24c913),this[_0x33ab9a(0xff)]=[..._0x5383d5],this[_0x33ab9a(0xad)](_0x812e9c),this[_0x33ab9a(0xe4)](_0x5d6b58);}catch(_0xbb0eb4){return console[_0x33ab9a(0x103)](_0xbb0eb4),!0x1;}return!0x0;}[_0x157d12(0xad)](_0x1abd99,_0x2708e9=!0x1){const _0x1c4314=_0x157d12;this[_0x1c4314(0x107)][_0x1c4314(0x142)][_0x1c4314(0x141)]({'isUndoable':!0x1,'isLocal':!0x1},_0x222754=>{const _0x5b0de0=_0x1c4314;for(const _0x279db6 of _0x1abd99)this[_0x5b0de0(0x11d)][_0x5b0de0(0xaa)](_0x279db6),this[_0x5b0de0(0xd3)](_0x279db6),_0x222754[_0x5b0de0(0x89)][_0x5b0de0(0xf2)](_0x279db6),this[_0x5b0de0(0x107)][_0x5b0de0(0x142)][_0x5b0de0(0x133)](_0x279db6);});}[_0x157d12(0xd3)](_0x5a13e5){const _0x40ecd9=_0x157d12,_0x2bfb47=this[_0x40ecd9(0xa2)](_0x5a13e5);_0x2bfb47&&this[_0x40ecd9(0x77)][_0x40ecd9(0xaa)](_0x2bfb47);}[_0x157d12(0xa2)](_0x15a968){const _0x21ce3a=_0x157d12;let _0x5013e5,_0x81899d;switch(_0x15a968[_0x21ce3a(0xc6)]){case _0x21ce3a(0x94):_0x5013e5=_0x15a968[_0x21ce3a(0x15e)][_0x21ce3a(0x119)];break;case _0x21ce3a(0x101):if(_0x81899d=_0x15a968[_0x21ce3a(0xa8)],!_0x81899d)return null;_0x5013e5=_0x81899d[_0x21ce3a(0x119)];break;case _0x21ce3a(0x12c):_0x5013e5=_0x15a968[_0x21ce3a(0x119)];break;case _0x21ce3a(0x96):_0x5013e5=_0x15a968[_0x21ce3a(0xe6)];break;case _0x21ce3a(0x9e):_0x5013e5=_0x15a968[_0x21ce3a(0xe2)][_0x21ce3a(0x119)];break;default:return null;}return _0x5013e5[_0x21ce3a(0xd8)];}[_0x157d12(0xe4)](_0x1c41c2){const _0x35db58=_0x157d12;_0x1c41c2[_0x35db58(0xb3)](_0x32220b=>{const _0x2f008e=_0x35db58,_0x503f97=_0x32220b[_0x2f008e(0xc2)]();_0x503f97[_0x2f008e(0x106)]=_0x32220b[_0x2f008e(0x106)],_0x503f97[_0x2f008e(0x8f)]=!!_0x32220b[_0x2f008e(0x8f)],_0x503f97[_0x2f008e(0x76)]=_0x32220b[_0x2f008e(0x76)],_0x503f97[_0x2f008e(0xfd)]+=this[_0x2f008e(0xc4)],_0x32220b[_0x2f008e(0x11f)]&&this[_0x2f008e(0xbd)][_0x2f008e(0xaa)](_0x503f97),this[_0x2f008e(0xe7)][_0x2f008e(0xf2)](_0x503f97);});}[_0x157d12(0x108)](_0x30f636){const _0x392afa=_0x157d12,_0x58dd54=this[_0x392afa(0x107)][_0x392afa(0x7e)][_0x392afa(0x9b)](_0x392afa(0x16b)),_0x5744a3=this[_0x392afa(0x107)][_0x392afa(0xd4)];_0x30f636||(_0x30f636=_0x5c25eb(_0x5744a3,_0x392afa(0x11a))),_0x58dd54[_0x392afa(0x148)](_0x30f636,{'title':_0x5c25eb(_0x5744a3,_0x392afa(0x13e)),'namespace':_0x392afa(0x7c)}),this[_0x392afa(0xc9)]=!0x0,clearTimeout(this[_0x392afa(0xc1)]),this[_0x392afa(0xff)]=[],this[_0x392afa(0x107)][_0x392afa(0x7e)][_0x392afa(0x9b)](_0x4b8a3a)[_0x392afa(0x92)]();}[_0x157d12(0x117)](){const _0x487e0d=_0x157d12;this[_0x487e0d(0x83)]||(this[_0x487e0d(0x83)]=this[_0x487e0d(0x107)][_0x487e0d(0x7e)][_0x487e0d(0x9b)](_0x51d23a)[_0x487e0d(0xaa)](_0x5c25eb(this[_0x487e0d(0x107)][_0x487e0d(0xd4)],_0x487e0d(0xf6))));}[_0x157d12(0xbc)](){const _0x2c3d9c=_0x157d12;this[_0x2c3d9c(0x83)]&&(this[_0x2c3d9c(0x107)][_0x2c3d9c(0x7e)][_0x2c3d9c(0x9b)](_0x51d23a)[_0x2c3d9c(0x9d)](this[_0x2c3d9c(0x83)]),this[_0x2c3d9c(0x83)]=null);}[_0x157d12(0x91)](_0x127209){const _0x1cd001=_0x157d12,_0x28c708=_0x127209[_0x1cd001(0xa4)](_0x14ac27=>_0x14ac27[_0x1cd001(0x10e)]());return this[_0x1cd001(0x132)][_0x1cd001(0x10a)](_0x28c708);}[_0x157d12(0x100)](_0x5c396f,_0x1515a7){const _0x253c83=_0x157d12;return this[_0x253c83(0x132)][_0x253c83(0x69)](_0x5c396f)[_0x253c83(0xa4)]((_0x5226e3,_0x5133a4)=>{const _0x300b3e=_0x253c83,_0x756bcc=_0x300b3e(0xa6)==_0x1515a7[_0x5133a4][_0x300b3e(0xc6)];if(_0x300b3e(0x8d)==_0x5226e3[_0x300b3e(0xf3)]){const _0x2e47b9=_0x5226e3[_0x300b3e(0x15e)][_0x300b3e(0x119)];!this[_0x300b3e(0x115)][_0x300b3e(0x150)](_0x2e47b9)&&(this[_0x300b3e(0x115)][_0x300b3e(0x14c)](_0x300b3e(0x7f),_0x2e47b9)[_0x300b3e(0x10c)]=!0x1);}const _0x223f38=_0x23436a[_0x300b3e(0x84)](_0x5226e3,this[_0x300b3e(0x115)]);return _0x223f38[_0x300b3e(0x13a)]=_0x5226e3[_0x300b3e(0x13a)],_0x223f38[_0x300b3e(0x8f)]=_0x756bcc,_0x223f38[_0x300b3e(0x106)]=_0x756bcc?null:_0x1515a7[_0x5133a4][_0x300b3e(0x139)],_0x223f38[_0x300b3e(0x11f)]=_0x300b3e(0xd9)===_0x1515a7[_0x5133a4][_0x300b3e(0xc6)],_0x223f38[_0x300b3e(0x76)]=_0x1515a7[_0x5133a4][_0x300b3e(0x76)],_0x223f38;});}[_0x157d12(0xf7)](){const _0x9c10d=_0x157d12;this[_0x9c10d(0x86)]=!0x0,this[_0x9c10d(0xa1)]()?this[_0x9c10d(0xc7)]():this[_0x9c10d(0x86)]=!0x1;}[_0x157d12(0xa1)](){const _0xd62b7d=_0x157d12,_0x2bb6bd=this[_0xd62b7d(0x107)][_0xd62b7d(0x7e)][_0xd62b7d(0x9b)](_0x4cb075)[_0xd62b7d(0x8e)][_0xd62b7d(0x9b)](this[_0xd62b7d(0xaf)]);return!this[_0xd62b7d(0x107)][_0xd62b7d(0xb4)]&&!!_0x2bb6bd&&_0x2bb6bd[_0xd62b7d(0x121)]>0x1&&this[_0xd62b7d(0x86)];}[_0x157d12(0x159)](){const _0x1758e6=_0x157d12;return this[_0x1758e6(0xff)][_0x1758e6(0x121)]>0x0||this[_0x1758e6(0xa1)]();}}l[_0x157d12(0x15b)]=_0x2f1906;export default l;class tt extends Error{}function it(_0x13d809,_0x346842){const _0x45ae54=_0x157d12;for(const _0x22cf49 of _0x13d809)_0x22cf49[_0x45ae54(0xfd)]=_0x346842++;}class st{constructor(_0x42faeb){const _0x301bc3=_0x157d12;this[_0x301bc3(0x10f)]=_0x42faeb,this[_0x301bc3(0xe5)]=new WeakMap();}[_0x157d12(0x111)](_0x534065){const _0x294cd0=_0x157d12;let _0x3accc0=_0x534065[_0x294cd0(0x121)];for(;_0x3accc0--;){const _0x487ff0=_0x534065[_0x3accc0];if(!this[_0x294cd0(0x10f)][_0x294cd0(0xef)](_0x487ff0)){if(!this[_0x294cd0(0xe5)][_0x294cd0(0xef)](_0x487ff0)){const _0x15da54=_0x2245da()[_0x294cd0(0x144)](0x1,0x12);this[_0x294cd0(0xe5)][_0x294cd0(0x136)](_0x487ff0,_0x15da54);}return this[_0x294cd0(0xe5)][_0x294cd0(0x9b)](_0x487ff0);}}}[_0x157d12(0xc0)](_0x55f644,_0x4f43d6){const _0x488ec4=_0x157d12;if(!_0x4f43d6)return;let _0x1d63e2=_0x55f644[_0x488ec4(0x121)];for(;_0x1d63e2--;){const _0x21a95d=_0x55f644[_0x1d63e2];this[_0x488ec4(0x10f)][_0x488ec4(0xef)](_0x21a95d)||this[_0x488ec4(0xe5)][_0x488ec4(0x136)](_0x21a95d,_0x4f43d6);}}}
|
|
23
|
+
const _0x2601e3=_0x398b;(function(_0x119f1a,_0x14d9c6){const _0x55858c=_0x398b,_0x5e5ecb=_0x119f1a();while(!![]){try{const _0x2afc1a=-parseInt(_0x55858c(0xe3))/0x1*(-parseInt(_0x55858c(0x154))/0x2)+-parseInt(_0x55858c(0x1a7))/0x3+parseInt(_0x55858c(0xdf))/0x4*(-parseInt(_0x55858c(0x16c))/0x5)+-parseInt(_0x55858c(0x18a))/0x6*(-parseInt(_0x55858c(0x168))/0x7)+-parseInt(_0x55858c(0x148))/0x8*(-parseInt(_0x55858c(0x160))/0x9)+-parseInt(_0x55858c(0x18d))/0xa*(parseInt(_0x55858c(0xcf))/0xb)+parseInt(_0x55858c(0xeb))/0xc;if(_0x2afc1a===_0x14d9c6)break;else _0x5e5ecb['push'](_0x5e5ecb['shift']());}catch(_0x2b7eab){_0x5e5ecb['push'](_0x5e5ecb['shift']());}}}(_0x4a9f,0x63f56));import{Plugin as _0x1454fc,PendingActions as _0x588f52}from'ckeditor5/src/core.js';import{CKEditorError as _0x36a032,version as _0xb459a2,uid as _0x33b4c8}from'ckeditor5/src/utils.js';import{Notification as _0x4eb093}from'ckeditor5/src/ui.js';import{transformSets as _0x8173d0,NoOperation as _0x345fae,InsertOperation as _0x584682,MarkerOperation as _0x392b88,RootAttributeOperation as _0x481be6,OperationFactory as _0x4c0143,History as _0x514ca9}from'ckeditor5/src/engine.js';import _0x404b09 from'./websocketgateway.js';import _0x2f15eb from'./sessions.js';import _0x566b5a from'./usermarkers.js';import{getTranslation as _0x4fc151}from'../common-translations.js';function _0x4a9f(){const _0x417928=['addToReconnectionStack','_hasSelectionChanged','_handleSendingSelectionMarkers','_handleInitialConnectionData','getUser','Permissions','2072609drGRkV','_shouldSendUpdate','connected','batch','20ZUBwof','end','_lastServerVersion','_bufferRootLoad','targetPosition','getOperationAuthor','_lastSyncedOperationId','lastOperationAcceptedAt','entries','high','rtc-destroyed','permissions','_updateServerHistory','getOperations','init','insert','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.','isUndoneOperation','realtimecollaborationclient-init-service-internal-error','_currentBufferDelay','_knownRootNames','roots','applyOperation','_handleReconnectionError','sessionId','multi-root-editor-root-attributes-no-root','loadRoot','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_crash','$root','6xeQQNQ','realtimecollaborationclient-handleserverresponse','affectedSelectable','4403540gzZxcv','bind','requires','lastOperationId','cloud-services-internal-error:\x20Request\x20timeout.','ready','operationsReceived','editor','_operationIdentifier','directChange','collaboration','addOperation','register','unregister','getIdOfTheLastOperation','locale','_compressOperations','add','model','_document','_connectService','createdAt','rtc-offline','change:hasDomSelection','_baseBufferDelay','set','786285RfylKR','size','createRoot','catch','_pendingAction','cloudServices.bundleVersion','lastSyncVersion','createPositionFromPath','includes','apply','collaboration-missing-channelid','disableReadOnlyMode','realtimecollaborationclient-sendbufferedoperations','Synchronization\x20issue','setPermissions','stopListening','reconnection:\x20flushed\x20session','getMany','plugins','destroy','config','showWarning','history','_operationToId','length','selection','offset','start','rootName','round','isReadOnly','realtimecollaborationclient-init-document-already-initialized','_handleReceivedOperations','_fetchMissingUsers','define','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.','cloudDocumentVersion','cs:removeUser','message','isOfficialPlugin','currentDocumentSession','return','_isPendingUpdate','type','push','view','_disconnectService','_channelId','11mWYgsR','__className','createRange','metadata','CollaborativeEditingService','RealTimeCollaborationClient','change:_isPendingUpdate','sendOperations','_handleExternalOperations','error','reset','move','marker','connection','realtimecollaborationclient-init-service-incorrect-server-operation','realtimecollaborationclient-init-session-connection-error','470564GVACAf','pluginName','real-time-collaboration','baseVersion','5WMeXoI','_isInit','userId','_hasSynchronizationProblem','finally','enqueueChange','rootsAttributes','addUser','7479372MUihUp','forEach','listenTo','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','isPremiumPlugin','_compressor','createUserMarkerOperations','_initThrowingOnDataSet','reconnect','_applyOperationsSet','filter','_knownOperations','_sendBufferedOperationsDelayed','_ignoredOperations','_loadRoot','root','newRange','cloud-services-internal-error:\x20Not\x20connected.','isDocumentOperation','mySessionId','affectsData','version','differ','fire','_setUpDataInit','_isConnected','_clearPendingAction','keys','PENDING_ACTION_SENDING_DATA','_service','editing','document','path','addRoot','_sendBufferedOperations','markers','realtimecollaborationclient','InsertOperation','_connectAfterSessionHasBeenFlushed','compress','from','CommentsOnly','getConnectedSessions','lastDocumentSession','_disconnectionOperations','collaboration.channelId','_isLoaded','startsWith','removeFromReconnectionStack','_isEditingAllowed','map','string','_refreshUserSelectionMarkers','attributes','serverHistory','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','createPositionAt','_saveOperationInBuffer','position','decompress','clone','_isDisconnection','_offset','code','_waitUntilSynced','state','_initSessionsHandling','_bufferedOperations','_setPendingAction','remove','enableReadOnlyMode','data','_authorId','fromJSON','document:write','_getAffectedRoot','channelSessions','_handleReconnectionResponse','stop','_sendBufferedOperationsDelayId','addRootAttribute','wasUndone','_getOperationsFromInitData','409','slice','404','suppressErrorInCollaboration','toJSON','_shouldSendSelectionUpdate','connect','_isAttached','sessionAdd:','setIdForTheLastOperation','85984KXreRt','_handleServerResponse','getRoot','Notification','isEnabled','realtimecollaborationclient-init-connection-failed','get','parse','getDocumentDetails','wereChangesApplied','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','initData','28774DAJVOV','has','realtimecollaborationclient-init-non-existent-root','_addKnownRoot','disconnected','off','sessionCreatedAt','_decompressOperations','change:_isEditingAllowed','disconnect','change:range','then','495fVyFQU','realtimecollaborationclient-error'];_0x4a9f=function(){return _0x417928;};return _0x4a9f();}import{Compressor as _0x2c62ae}from'@ckeditor/ckeditor5-operations-compressor';function _0x398b(_0x7fbe31,_0x35686d){const _0x4a9f82=_0x4a9f();return _0x398b=function(_0x398b8b,_0x2e4a27){_0x398b8b=_0x398b8b-0xc2;let _0xa1348b=_0x4a9f82[_0x398b8b];return _0xa1348b;},_0x398b(_0x7fbe31,_0x35686d);}import{Users as _0x33039e}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x4ec876,CollaborativeEditingService as _0x1cf5dc}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x1454fc{static get[_0x2601e3(0x18f)](){return[_0x404b09,_0x2f15eb,_0x566b5a,_0x588f52,_0x33039e,_0x4eb093];}static get[_0x2601e3(0xe0)](){const _0x4cf3db=_0x2601e3;return _0x4cf3db(0xd4);}static get[_0x2601e3(0xc6)](){return!0x0;}static get[_0x2601e3(0xef)](){return!0x0;}get[_0x2601e3(0xc3)](){const _0x2d98e8=_0x2601e3;return this[_0x2d98e8(0x16e)]+this[_0x2d98e8(0x129)];}get[_0x2601e3(0x16e)](){const _0x383aea=_0x2601e3;return this[_0x383aea(0x121)][_0x383aea(0x100)]-this[_0x383aea(0x129)];}get[_0x2601e3(0x1ad)](){const _0x29efd7=_0x2601e3,_0x5e0c02=this[_0x29efd7(0x121)][_0x29efd7(0x179)]();for(let _0x16019f=_0x5e0c02[_0x29efd7(0x1bf)]-0x1;_0x16019f>=0x0;_0x16019f--){const _0x35c4f5=_0x5e0c02[_0x16019f];if(!this[_0x29efd7(0x117)][_0x29efd7(0x155)](_0x35c4f5))return _0x35c4f5[_0x29efd7(0xe2)]+0x1-this[_0x29efd7(0x129)];}return 0x0;}constructor(_0x497517){const _0x13dc27=_0x2601e3;if(super(_0x497517),this[_0x13dc27(0x129)]=0x0,this[_0x13dc27(0x184)]=null,this[_0x13dc27(0x121)]=new _0x514ca9(),this[_0x13dc27(0x194)][_0x13dc27(0x1bb)][_0x13dc27(0x1c9)](_0x13dc27(0x197),{}),this[_0x13dc27(0xce)]=this[_0x13dc27(0x194)][_0x13dc27(0x1bb)][_0x13dc27(0x14e)](_0x13dc27(0x118)),!this[_0x13dc27(0xce)])throw new _0x36a032(_0x13dc27(0x1b1),this);const _0x46cc59=_0x497517[_0x13dc27(0x1bb)][_0x13dc27(0x14e)](_0x13dc27(0x1ac))||_0xb459a2;this[_0x13dc27(0x108)]=new l[(_0x13dc27(0xd3))](_0x46cc59,this[_0x13dc27(0xce)]),this[_0x13dc27(0x1a0)]=this[_0x13dc27(0x194)][_0x13dc27(0x19f)][_0x13dc27(0x10a)],this[_0x13dc27(0xf0)]=new _0x2c62ae(),this[_0x13dc27(0x12e)]=[],this[_0x13dc27(0xf6)]=new WeakSet(),this[_0x13dc27(0x180)]=new Set(),this[_0x13dc27(0x1a6)](_0x13dc27(0xc9),!0x1),this[_0x13dc27(0x1a6)](_0x13dc27(0xe6),!0x1),this[_0x13dc27(0x1ab)]=null,this[_0x13dc27(0x163)]=!0x1,this[_0x13dc27(0x13a)]=null,this[_0x13dc27(0x1a5)]=0x12c,this[_0x13dc27(0x17f)]=this[_0x13dc27(0x1a5)],this[_0x13dc27(0x172)]=null,this[_0x13dc27(0x117)]=new WeakSet(),this[_0x13dc27(0x195)]=new X(this[_0x13dc27(0x117)]);}[_0x2601e3(0x17a)](){const _0x36d7dd=_0x2601e3,_0xbab4f3=this[_0x36d7dd(0x194)],_0x4fccdb=_0xbab4f3[_0x36d7dd(0x1b9)][_0x36d7dd(0x14e)](_0x33039e),_0x57710b=_0xbab4f3[_0x36d7dd(0x1b9)][_0x36d7dd(0x14e)](_0x404b09);this[_0x36d7dd(0xed)](_0x4fccdb,_0x36d7dd(0x171),(_0x5458e6,_0x182407)=>{const _0x462a83=_0x36d7dd,_0x3d96e9=_0x182407[0x0];_0x3d96e9[_0x462a83(0x133)]&&(_0x5458e6[_0x462a83(0xc8)]=_0x4fccdb[_0x462a83(0x166)](_0x3d96e9[_0x462a83(0x133)]),_0x5458e6[_0x462a83(0x139)]()),null===_0x3d96e9[_0x462a83(0x133)]&&(_0x5458e6[_0x462a83(0xc8)]=null,_0x5458e6[_0x462a83(0x139)]());},{'priority':_0x36d7dd(0x175)}),this[_0x36d7dd(0xed)](_0xbab4f3[_0x36d7dd(0x19f)][_0x36d7dd(0x10a)][_0x36d7dd(0x1c0)],_0x36d7dd(0x15e),(_0x417627,_0x1dabef)=>{const _0x42d7bb=_0x36d7dd;_0x1dabef[_0x42d7bb(0x196)]&&this[_0x42d7bb(0x11f)]();}),this[_0x36d7dd(0xed)](_0xbab4f3[_0x36d7dd(0x109)][_0x36d7dd(0xcc)],_0x36d7dd(0x1a4),()=>{const _0x1eade2=_0x36d7dd;this[_0x1eade2(0x11f)]();}),this[_0x36d7dd(0xf2)](),_0xbab4f3[_0x36d7dd(0x19f)]['on'](_0x36d7dd(0x182),(_0x4ac985,_0x8705a4)=>{const _0x258662=_0x36d7dd,_0x4cc1e8=_0x8705a4[0x0];_0x4cc1e8[_0x258662(0xfd)]&&(this[_0x258662(0x124)](_0x4cc1e8),this[_0x258662(0x169)]()&&this[_0x258662(0xf7)]());}),this[_0x36d7dd(0x103)](),this[_0x36d7dd(0x18e)](_0x36d7dd(0x11c))['to'](_0x57710b,_0x36d7dd(0x12c),this,_0x36d7dd(0xe6),(_0x1dd921,_0x2072a4)=>_0x36d7dd(0x16a)===_0x1dd921&&!_0x2072a4),this['on'](_0x36d7dd(0x15c),()=>{const _0x5333ae=_0x36d7dd;this[_0x5333ae(0x11c)]?_0xbab4f3[_0x5333ae(0x1b2)](_0x5333ae(0x1a3)):_0xbab4f3[_0x5333ae(0x131)](_0x5333ae(0x1a3));}),this[_0x36d7dd(0x11c)]?_0xbab4f3[_0x36d7dd(0x1b2)](_0x36d7dd(0x1a3)):_0xbab4f3[_0x36d7dd(0x131)](_0x36d7dd(0x1a3)),this[_0x36d7dd(0x1a6)](_0x36d7dd(0x104),!0x1);}async[_0x2601e3(0xf3)](){const _0x4734d1=_0x2601e3,_0x3266f9=this[_0x4734d1(0x194)][_0x4734d1(0x1b9)][_0x4734d1(0x14e)](_0x2f15eb),_0x2334ae=this[_0x4734d1(0x194)][_0x4734d1(0x1b9)][_0x4734d1(0x14e)](_0x404b09);try{this[_0x4734d1(0xc9)]=!0x0,_0x3266f9[_0x4734d1(0x19a)](this[_0x4734d1(0xce)]);const _0x3e274c=await this[_0x4734d1(0x108)][_0x4734d1(0xf3)](_0x2334ae[_0x4734d1(0xdc)],this[_0x4734d1(0x1ad)]);await this[_0x4734d1(0x138)](_0x3e274c)&&(this[_0x4734d1(0xc9)]=!0x1,this[_0x4734d1(0x105)]());const _0x53b312=await this[_0x4734d1(0x108)][_0x4734d1(0x115)]();_0x3266f9[_0x4734d1(0x199)](this[_0x4734d1(0xce)],_0x53b312),this[_0x4734d1(0x164)](),this[_0x4734d1(0x104)]=!0x0;}catch(_0x2775d6){if(function(_0x575c52){const _0x26c7af=_0x4734d1;return _0x26c7af(0x140)===_0x575c52[_0x26c7af(0x12a)];}(_0x2775d6)&&this[_0x4734d1(0x184)])await this[_0x4734d1(0x111)]();else{if(function(_0x454384){const _0x20c4b6=_0x4734d1;return _0x20c4b6(0x13e)===_0x454384[_0x20c4b6(0x12a)];}(_0x2775d6)){const _0x44f37e=_0x4fc151(this[_0x4734d1(0x194)][_0x4734d1(0x19c)],_0x4734d1(0xee));this[_0x4734d1(0x183)](_0x44f37e);}else{if(!(_0x2775d6 instanceof J))throw _0x2775d6;this[_0x4734d1(0x183)]();}}}}[_0x2601e3(0x1ba)](){const _0x56f641=_0x2601e3,_0x93475b=this[_0x56f641(0x194)][_0x56f641(0x1b9)][_0x56f641(0x14e)](_0x404b09),_0x3a943a=this[_0x56f641(0x194)][_0x56f641(0x1b9)][_0x56f641(0x14e)](_0x2f15eb);this[_0x56f641(0x194)][_0x56f641(0x131)](_0x56f641(0x176)),_0x3a943a[_0x56f641(0x137)][_0x56f641(0x155)](this[_0x56f641(0xce)])&&_0x3a943a[_0x56f641(0x19a)](this[_0x56f641(0xce)]),_0x93475b[_0x56f641(0x11b)](this),this[_0x56f641(0xcd)](),super[_0x56f641(0x1ba)]();}async[_0x2601e3(0x138)](_0x2b183d){const _0x13c823=_0x2601e3;if(this[_0x13c823(0x184)]!==_0x2b183d[_0x13c823(0x184)]&&this[_0x13c823(0x172)]!==_0x2b183d[_0x13c823(0x190)])throw new J();return this[_0x13c823(0x184)]=_0x2b183d[_0x13c823(0x184)],this[_0x13c823(0x149)]([],{..._0x2b183d,'wereChangesApplied':!0x1,'data':_0x2b183d[_0x13c823(0x132)]},_0x13c823(0xf3));}async[_0x2601e3(0x1a1)](_0x457924,_0x216760=!0x1){const _0x1aedb3=_0x2601e3,{connection:_0x1f65a1}=this[_0x1aedb3(0x194)][_0x1aedb3(0x1b9)][_0x1aedb3(0x14e)](_0x404b09);l[_0x1aedb3(0xd3)][_0x1aedb3(0x115)](_0x1f65a1,this[_0x1aedb3(0xce)])[_0x1aedb3(0x15f)](_0x2e2f52=>this[_0x1aedb3(0x12d)](_0x2e2f52))[_0x1aedb3(0x1aa)](_0x501cba=>{const _0x2321e7=_0x1aedb3;this[_0x2321e7(0x188)](_0x2321e7(0xde),_0x501cba);}),this[_0x1aedb3(0xed)](this[_0x1aedb3(0x108)],_0x1aedb3(0x193),this[_0x1aedb3(0x1c7)][_0x1aedb3(0x18e)](this)),this[_0x1aedb3(0xed)](this[_0x1aedb3(0x108)],_0x1aedb3(0xd8),(_0x15baf2,_0x43dc19)=>{const _0x24c6f8=_0x1aedb3;this[_0x24c6f8(0x188)](_0x24c6f8(0x17e),_0x43dc19);}),this[_0x1aedb3(0xed)](this[_0x1aedb3(0x108)],_0x1aedb3(0x158),()=>{const _0x47a29c=_0x1aedb3;this[_0x47a29c(0x104)]=!0x1;});const _0x7c9015=this[_0x1aedb3(0x195)][_0x1aedb3(0x19b)](_0x457924);this[_0x1aedb3(0xc9)]=!0x0;const _0x5d9267=await this[_0x1aedb3(0x108)][_0x1aedb3(0x144)](_0x1f65a1,this[_0x1aedb3(0x19d)](_0x457924),_0x7c9015);if(this[_0x1aedb3(0x184)]=_0x5d9267[_0x1aedb3(0x184)],_0x216760){if(!_0x5d9267[_0x1aedb3(0x151)])return void this[_0x1aedb3(0x183)]();this[_0x1aedb3(0xc9)]=!0x1,this[_0x1aedb3(0x105)](),this[_0x1aedb3(0x121)][_0x1aedb3(0xd9)](),this[_0x1aedb3(0x129)]=_0x5d9267[_0x1aedb3(0x1c1)],this[_0x1aedb3(0x121)][_0x1aedb3(0x100)]=this[_0x1aedb3(0x129)],await this[_0x1aedb3(0x149)](_0x457924,_0x5d9267,_0x1aedb3(0x1b7));}else await this[_0x1aedb3(0x165)](_0x5d9267,_0x457924);this[_0x1aedb3(0x164)](),this[_0x1aedb3(0x104)]=!0x0;}[_0x2601e3(0x164)](){const _0xe18cd8=_0x2601e3,_0x13334a=this[_0xe18cd8(0x194)][_0xe18cd8(0x1b9)][_0xe18cd8(0x14e)](_0x2f15eb),_0x4eb9aa=this[_0xe18cd8(0x194)][_0xe18cd8(0x1b9)][_0xe18cd8(0x14e)](_0x566b5a),_0xc32891=_0x13334a[_0xe18cd8(0x137)][_0xe18cd8(0x14e)](this[_0xe18cd8(0xce)]);_0xc32891&&_0xc32891[_0xe18cd8(0x1bf)]>0x1?_0x4eb9aa[_0xe18cd8(0xf1)]():this[_0xe18cd8(0xed)](_0x13334a,_0xe18cd8(0x146)+this[_0xe18cd8(0xce)],()=>{const _0x23f775=_0xe18cd8;0x2===_0x13334a[_0x23f775(0x137)][_0x23f775(0x14e)](this[_0x23f775(0xce)])[_0x23f775(0x1bf)]&&_0x4eb9aa[_0x23f775(0xf1)]();});}async[_0x2601e3(0x1c7)](_0x3abe04,_0xa4b6a2,_0x1ec557,_0x5144e0){const _0x477ecc=_0x2601e3;if(!this[_0x477ecc(0xc9)]&&this[_0x477ecc(0x1a0)][_0x477ecc(0x100)]==_0xa4b6a2){const _0x575da2=this[_0x477ecc(0x15b)](_0x1ec557,_0x5144e0);await this[_0x477ecc(0x1c8)](_0x575da2),this[_0x477ecc(0xd7)](_0x575da2,_0xa4b6a2,_0x1ec557[_0x477ecc(0x190)])||this[_0x477ecc(0x188)](_0x477ecc(0xdd));}}async[_0x2601e3(0x111)](){const _0x1bf8ad=_0x2601e3;this[_0x1bf8ad(0xcd)]();const {locale:_0xee8a0c}=this[_0x1bf8ad(0x194)];let _0x473659;try{_0x473659=await this[_0x1bf8ad(0x108)][_0x1bf8ad(0x150)]();}catch(_0x5c1e04){const _0x3b7f23=_0x4fc151(_0xee8a0c,_0x1bf8ad(0x152));return void this[_0x1bf8ad(0x183)](_0x3b7f23);}const _0x593ab1=_0x473659[_0x1bf8ad(0xc7)]||_0x473659[_0x1bf8ad(0x116)];if(this[_0x1bf8ad(0x172)]===_0x593ab1[_0x1bf8ad(0x190)])await this[_0x1bf8ad(0x1a1)](this[_0x1bf8ad(0x194)][_0x1bf8ad(0x19f)][_0x1bf8ad(0x10a)][_0x1bf8ad(0x1bd)][_0x1bf8ad(0x179)](),!0x0);else{const _0x3df614=_0x4fc151(_0xee8a0c,_0x1bf8ad(0xc2));this[_0x1bf8ad(0x183)](_0x3df614);}}[_0x2601e3(0xcd)](){const _0x242edc=_0x2601e3;this[_0x242edc(0x108)][_0x242edc(0x15d)](),this[_0x242edc(0x12e)]=[],clearTimeout(this[_0x242edc(0x13a)]),this[_0x242edc(0x1b6)](this[_0x242edc(0x108)]);}[_0x2601e3(0x12d)](_0x5ed64a){const _0x527bc8=_0x2601e3,_0x2bd976=this[_0x527bc8(0x194)][_0x527bc8(0x1b9)][_0x527bc8(0x14e)](_0x2f15eb);this[_0x527bc8(0xed)](_0x2bd976,_0x527bc8(0x146)+this[_0x527bc8(0xce)],(_0x43a02b,{session:_0x431c1d})=>{const _0x2307b0=_0x527bc8;if(_0x431c1d['id']===_0x2bd976[_0x2307b0(0xfe)]){_0x43a02b[_0x2307b0(0x159)]();const _0x24eade=this[_0x2307b0(0x194)][_0x2307b0(0x1b9)][_0x2307b0(0x155)](_0x2307b0(0x114))&&this[_0x2307b0(0x194)][_0x2307b0(0x1b9)][_0x2307b0(0x14e)](_0x2307b0(0x114));let _0x47a142=_0x431c1d[_0x2307b0(0x177)];_0x24eade&&_0x24eade[_0x2307b0(0x14c)]&&(_0x47a142=_0x47a142[_0x2307b0(0xf5)](_0x1d07bf=>_0x2307b0(0x135)!==_0x1d07bf)),this[_0x2307b0(0x194)][_0x2307b0(0x1b9)][_0x2307b0(0x14e)](_0x2307b0(0x167))[_0x2307b0(0x1b5)](_0x47a142,this[_0x2307b0(0xce)]);}}),_0x2bd976[_0x527bc8(0x199)](this[_0x527bc8(0xce)],_0x5ed64a);}[_0x2601e3(0xf2)](){const _0x77abe2=_0x2601e3,_0x309ccd=this[_0x77abe2(0x194)][_0x77abe2(0x132)][_0x77abe2(0x1a6)];this[_0x77abe2(0x194)][_0x77abe2(0x132)][_0x77abe2(0x1a6)]=(..._0x6ed8c2)=>{const _0x12ef3f=_0x77abe2;if(!_0x6ed8c2[_0x6ed8c2[_0x12ef3f(0x1bf)]-0x1][_0x12ef3f(0x141)])throw new _0x36a032(_0x12ef3f(0x187),this);_0x309ccd[_0x12ef3f(0x1b0)](this[_0x12ef3f(0x194)][_0x12ef3f(0x132)],_0x6ed8c2);};}[_0x2601e3(0x103)](){const _0xe6ce07=_0x2601e3;this[_0xe6ce07(0x194)][_0xe6ce07(0x132)]['on'](_0xe6ce07(0x17a),(_0x22a0ba,[_0x8894dc])=>{const _0x19873a=_0xe6ce07;if(this[_0x19873a(0x1a0)][_0x19873a(0x100)])throw new _0x36a032(_0x19873a(0x1c6),this);_0x22a0ba[_0x19873a(0x139)](),this[_0x19873a(0x12f)]();const _0x1429fe=this[_0x19873a(0x194)][_0x19873a(0x1bb)][_0x19873a(0x14e)](_0x19873a(0xe9)),_0x52b38c=this[_0x19873a(0x13d)](_0x8894dc,_0x1429fe);0x0==_0x52b38c[_0x19873a(0x1bf)]&&_0x52b38c[_0x19873a(0xcb)](new _0x345fae(0x0)),_0x22a0ba[_0x19873a(0xc8)]=this[_0x19873a(0x1a1)](_0x52b38c)[_0x19873a(0x15f)](()=>{const _0x3ea458=_0x19873a;this[_0x3ea458(0x194)][_0x3ea458(0x1b9)][_0x3ea458(0x14e)](_0x404b09)[_0x3ea458(0x162)](this),this[_0x3ea458(0x194)][_0x3ea458(0x132)][_0x3ea458(0x102)](_0x3ea458(0x192));})[_0x19873a(0x1aa)](_0x281b4e=>this[_0x19873a(0x188)](_0x19873a(0x14d),_0x281b4e))[_0x19873a(0xe7)](()=>this[_0x19873a(0x105)]());},{'priority':_0xe6ce07(0x175)}),this[_0xe6ce07(0x194)]['on'](_0xe6ce07(0x186),async(_0x44b253,[_0x22ea1c,_0x206788])=>{const _0x58a735=_0xe6ce07;_0x44b253[_0x58a735(0x139)]();const _0x3292b9=this[_0x58a735(0x194)][_0x58a735(0x19f)][_0x58a735(0x10a)][_0x58a735(0x14a)](_0x22ea1c);if(!this[_0x58a735(0x180)][_0x58a735(0x155)](_0x22ea1c)){const _0x53650a=_0x206788&&_0x206788[_0x58a735(0x132)]?_0x206788[_0x58a735(0x132)]:'',_0x50540a=_0x206788&&_0x206788[_0x58a735(0x120)]?_0x206788[_0x58a735(0x120)]:{};await this[_0x58a735(0xf9)](_0x22ea1c,_0x53650a,_0x50540a);}this[_0x58a735(0x194)][_0x58a735(0x19f)][_0x58a735(0xe8)]({'isUndoable':!0x1},()=>{const _0x39ad3e=_0x58a735;_0x3292b9[_0x39ad3e(0x119)]=!0x0,this[_0x39ad3e(0x194)][_0x39ad3e(0x19f)][_0x39ad3e(0x10a)][_0x39ad3e(0x101)][_0x39ad3e(0x16f)](_0x3292b9);});},{'priority':_0xe6ce07(0x175)});}async[_0x2601e3(0x1c8)](_0x45aedf){const _0x432a22=_0x2601e3,_0x29e52f=this[_0x432a22(0x194)][_0x432a22(0x1b9)][_0x432a22(0x14e)](_0x33039e),{connection:_0x287e5a}=this[_0x432a22(0x194)][_0x432a22(0x1b9)][_0x432a22(0x14e)](_0x404b09),_0x1d3a2c=new Set();for(const _0x3fffaf of _0x45aedf){const _0x590dc0=_0x3fffaf[_0x432a22(0x133)];_0x590dc0&&!_0x29e52f[_0x432a22(0x166)](_0x590dc0)&&_0x1d3a2c[_0x432a22(0x19e)](_0x590dc0);}if(0x0===_0x1d3a2c[_0x432a22(0x1a8)])return;const _0x506c73=await _0x4ec876[_0x432a22(0x1b8)](_0x287e5a,Array[_0x432a22(0x113)](_0x1d3a2c));for(const _0x32b2a9 of _0x506c73)_0x29e52f[_0x432a22(0x166)](_0x32b2a9['id'])||_0x29e52f[_0x432a22(0xea)](_0x32b2a9);}[_0x2601e3(0x13d)](_0x1e55e1,_0x17403a={}){const _0x568cbb=_0x2601e3,_0x262f0e=this[_0x568cbb(0x194)][_0x568cbb(0x19f)],_0x24273d=[];let _0x310cb2=0x0;const _0x231edc=_0x568cbb(0x11e)==typeof _0x1e55e1?{'main':_0x1e55e1}:_0x1e55e1;for(const _0x45a272 of Object[_0x568cbb(0x106)](_0x231edc)){if(!this[_0x568cbb(0x1a0)][_0x568cbb(0x181)][_0x568cbb(0x155)](_0x45a272))throw new _0x36a032(_0x568cbb(0x156),this);const _0x160f61=this[_0x568cbb(0x194)][_0x568cbb(0x132)][_0x568cbb(0x14f)](_0x231edc[_0x45a272]),_0x3d0a8c=this[_0x568cbb(0x1a0)][_0x568cbb(0x14a)](_0x45a272),_0x9dd21b=new _0x584682(_0x262f0e[_0x568cbb(0x123)](_0x3d0a8c,0x0),_0x160f61,_0x310cb2++);_0x24273d[_0x568cbb(0xcb)](_0x9dd21b);for(const [_0x655b24,_0x1707c7]of _0x160f61[_0x568cbb(0x10e)]){const _0x3f5fd2=_0x262f0e[_0x568cbb(0xd1)](_0x262f0e[_0x568cbb(0x1ae)](_0x3d0a8c,_0x1707c7[_0x568cbb(0x1c2)][_0x568cbb(0x10b)][_0x568cbb(0x13f)]()),_0x262f0e[_0x568cbb(0x1ae)](_0x3d0a8c,_0x1707c7[_0x568cbb(0x16d)][_0x568cbb(0x10b)][_0x568cbb(0x13f)]())),_0x56efbb=new _0x392b88(_0x655b24,null,_0x3f5fd2,_0x262f0e[_0x568cbb(0x10e)],!0x0,_0x310cb2++);_0x24273d[_0x568cbb(0xcb)](_0x56efbb);}}if(_0x17403a)for(const [_0x25ef08,_0xdd66f7]of Object[_0x568cbb(0x174)](_0x17403a)){const _0x5ad87b=_0x262f0e[_0x568cbb(0x10a)][_0x568cbb(0x14a)](_0x25ef08);if(!_0x5ad87b)throw new _0x36a032(_0x568cbb(0x185),null);for(const [_0x14c9b9,_0x4bc22a]of Object[_0x568cbb(0x174)](_0xdd66f7))if(null!==_0x4bc22a){const _0x3b0d3d=new _0x481be6(_0x5ad87b,_0x14c9b9,null,_0x4bc22a,_0x310cb2++);_0x24273d[_0x568cbb(0xcb)](_0x3b0d3d);}}return _0x24273d;}async[_0x2601e3(0xf9)](_0x1fb5c1,_0x1a93db,_0x2281e4){const _0x5e006b=_0x2601e3;this[_0x5e006b(0x13d)]({[_0x1fb5c1]:_0x1a93db},{[_0x1fb5c1]:_0x2281e4})[_0x5e006b(0xec)]((_0x4e6c17,_0x2d542e)=>{const _0xfec386=_0x5e006b;_0x4e6c17[_0xfec386(0xe2)]=this[_0xfec386(0x1a0)][_0xfec386(0x100)]+_0x2d542e,_0x4e6c17[_0xfec386(0xe4)]=!0x0,this[_0xfec386(0x124)](_0x4e6c17);}),this[_0x5e006b(0xf7)](),await this[_0x5e006b(0x12b)]();}async[_0x2601e3(0x165)](_0x885c1c,_0x53cb66){const _0x20740c=_0x2601e3;let _0xd26f9c;this[_0x20740c(0x129)]=_0x885c1c[_0x20740c(0x1c1)];const _0x59e92c=_0x885c1c[_0x20740c(0x151)]&&!_0x885c1c[_0x20740c(0x153)],_0x4937f0=_0x59e92c?0x0:_0x885c1c[_0x20740c(0x132)][_0x20740c(0xe2)];if(_0x53cb66[_0x20740c(0xec)](_0x1c01ab=>{const _0x382dc9=_0x20740c;_0x1c01ab[_0x382dc9(0xe4)]=!0x0,_0x1c01ab[_0x382dc9(0x1a2)]=_0x885c1c[_0x382dc9(0x15a)],_0x1c01ab[_0x382dc9(0x133)]=null;}),_0x59e92c)_0xd26f9c=_0x53cb66,this[_0x20740c(0xf4)](_0xd26f9c,_0x59e92c);else{if(_0x885c1c[_0x20740c(0x153)]){const _0x55e56b=this[_0x20740c(0x13d)](_0x885c1c[_0x20740c(0x153)]);this[_0x20740c(0x1a0)][_0x20740c(0x1bd)][_0x20740c(0x100)]=-_0x55e56b[_0x20740c(0x1bf)],_0x55e56b[_0x20740c(0xec)](_0x5861c7=>{const _0x249138=_0x20740c;_0x5861c7[_0x249138(0xe2)]-=_0x55e56b[_0x249138(0x1bf)],_0x5861c7[_0x249138(0x1a2)]=_0x885c1c[_0x249138(0x15a)],_0x5861c7[_0x249138(0xe4)]=!0x0,_0x5861c7[_0x249138(0x133)]=null;}),this[_0x20740c(0xf4)](_0x55e56b,!0x0),this[_0x20740c(0x121)][_0x20740c(0x100)]=-_0x55e56b[_0x20740c(0x1bf)]+this[_0x20740c(0x129)],this[_0x20740c(0x178)](_0x55e56b);}this[_0x20740c(0x1a0)][_0x20740c(0x1bd)][_0x20740c(0x100)]=_0x4937f0,_0xd26f9c=this[_0x20740c(0x15b)](_0x885c1c[_0x20740c(0x132)],_0x885c1c[_0x20740c(0xd2)]),await this[_0x20740c(0x1c8)](_0xd26f9c),this[_0x20740c(0xf4)](_0xd26f9c,_0x59e92c);}_0x885c1c[_0x20740c(0x190)]&&(this[_0x20740c(0x195)][_0x20740c(0x147)](_0xd26f9c,_0x885c1c[_0x20740c(0x190)]),this[_0x20740c(0x172)]=_0x885c1c[_0x20740c(0x190)]),this[_0x20740c(0x121)][_0x20740c(0x100)]=_0x4937f0+this[_0x20740c(0x129)],this[_0x20740c(0x178)](_0xd26f9c),_0x53cb66[_0x20740c(0xf5)](_0x1f0ae4=>{const _0x26ee2c=_0x20740c,_0x41b54e=this[_0x26ee2c(0x136)](_0x1f0ae4);return _0x41b54e&&!this[_0x26ee2c(0x180)][_0x26ee2c(0x155)](_0x41b54e);})[_0x20740c(0xec)]((_0x5b620a,_0x3cb1ed)=>{const _0x2843fc=_0x20740c;_0x5b620a[_0x2843fc(0xe2)]=this[_0x2843fc(0x1a0)][_0x2843fc(0x100)]+_0x3cb1ed,this[_0x2843fc(0x124)](_0x5b620a);}),this[_0x20740c(0x169)]()?(this[_0x20740c(0x17f)]=0x0,this[_0x20740c(0xf7)](!0x0),await this[_0x20740c(0x12b)]()):(this[_0x20740c(0xc9)]=!0x1,this[_0x20740c(0x105)]());}[_0x2601e3(0x188)](_0x3f3701,_0xf19127){const _0x379d42=_0x2601e3,_0x161d5b=_0xf19127&&_0xf19127[_0x379d42(0xc5)];if(_0x161d5b&&_0x161d5b[_0x379d42(0x11a)](_0x379d42(0x10f)))throw _0xf19127;const _0x210acf=this[_0x379d42(0x194)][_0x379d42(0x1b9)][_0x379d42(0x14e)](_0x404b09);throw this[_0x379d42(0xc9)]=!0x0,_0x210acf[_0x379d42(0x15d)](),this[_0x379d42(0x194)][_0x379d42(0x131)](_0x379d42(0x161)),new _0x36a032(_0x3f3701,this[_0x379d42(0x194)],_0x161d5b?{'originalError':_0x161d5b}:void 0x0);}[_0x2601e3(0x124)](_0x417176){const _0x561605=_0x2601e3;this[_0x561605(0xf6)][_0x561605(0x155)](_0x417176)||(this[_0x561605(0xf6)][_0x561605(0x19e)](_0x417176),this[_0x561605(0x12e)][_0x561605(0xcb)](_0x417176),this[_0x561605(0x1ab)]||_0x561605(0xdb)==_0x417176[_0x561605(0xca)]&&!_0x417176[_0x561605(0xff)]||this[_0x561605(0x12f)]());}[_0x2601e3(0xf7)](_0x28cbd2=!0x1){const _0x4a63a0=_0x2601e3;!_0x28cbd2&&this[_0x4a63a0(0xc9)]||(this[_0x4a63a0(0xc9)]=!0x0,clearTimeout(this[_0x4a63a0(0x13a)]),this[_0x4a63a0(0x13a)]=setTimeout(()=>{const _0x2e052f=_0x4a63a0;this[_0x2e052f(0x10d)]()[_0x2e052f(0x15f)](_0x47b3f3=>{const _0x4ff5b5=_0x2e052f;_0x47b3f3&&(this[_0x4ff5b5(0x105)](),this[_0x4ff5b5(0xc9)]=!0x1);})[_0x2e052f(0x1aa)](_0x1c284a=>{const _0x16b1f1=_0x2e052f;this[_0x16b1f1(0x105)](),this[_0x16b1f1(0xc9)]=!0x1,function(_0x5eaeef){const _0x43a11d=_0x16b1f1;return _0x5eaeef[_0x43a11d(0xc5)][_0x43a11d(0x11a)](_0x43a11d(0xfc))||_0x5eaeef[_0x43a11d(0xc5)][_0x43a11d(0x11a)](_0x43a11d(0x122))||_0x5eaeef[_0x43a11d(0xc5)][_0x43a11d(0x11a)](_0x43a11d(0x191));}(_0x1c284a)||this[_0x16b1f1(0x188)](_0x1c284a[_0x16b1f1(0xc5)],_0x1c284a);});},this[_0x4a63a0(0x17f)]));}[_0x2601e3(0x12b)](){return new Promise(_0x54a8e3=>{const _0x5ed25f=_0x398b;this['on'](_0x5ed25f(0xd5),()=>{_0x54a8e3();});});}async[_0x2601e3(0x10d)](){const _0x35271e=_0x2601e3,_0xf2d39c=this[_0x35271e(0x194)][_0x35271e(0x1b9)][_0x35271e(0x14e)](_0x566b5a);if(this[_0x35271e(0x143)]()&&(_0xf2d39c[_0x35271e(0xf1)](),this[_0x35271e(0x163)]=!0x1),!this[_0x35271e(0x169)]())return!0x0;const _0x4a5d89=[...this[_0x35271e(0x12e)]];for(const _0x456e03 of _0x4a5d89)_0x456e03[_0x35271e(0x13c)]=this[_0x35271e(0x1a0)][_0x35271e(0x1bd)][_0x35271e(0x17d)](_0x456e03);const _0x2088fc=this[_0x35271e(0x195)][_0x35271e(0x19b)](_0x4a5d89),_0x6421f9=K++,_0x47172c=this[_0x35271e(0x19d)](_0x4a5d89),_0x555102=await this[_0x35271e(0x108)][_0x35271e(0xd6)](_0x47172c,_0x47172c[_0x35271e(0xe2)],_0x2088fc);try{return await this[_0x35271e(0x149)](_0x4a5d89,_0x555102,_0x6421f9);}catch(_0x4305f1){return this[_0x35271e(0x188)](_0x35271e(0x1b3),_0x4305f1);}}async[_0x2601e3(0x149)](_0x31ff1e,_0x1192eb,_0x211ef1){const _0x21df28=_0x2601e3;if(_0x21df28(0xd8)in _0x1192eb)throw _0x1192eb[_0x21df28(0xd8)];let _0x26a2c0=!0x1;if(_0x1192eb[_0x21df28(0x151)]){_0x1192eb[_0x21df28(0x190)]&&(this[_0x21df28(0x172)]=_0x1192eb[_0x21df28(0x190)]),this[_0x21df28(0x12e)]=this[_0x21df28(0x12e)][_0x21df28(0xf5)](_0xa485de=>!_0x31ff1e[_0x21df28(0x1af)](_0xa485de));for(const _0x2be89a of _0x31ff1e)_0x2be89a[_0x21df28(0x1a2)]=_0x21df28(0x173)in _0x1192eb&&_0x1192eb[_0x21df28(0x173)]||void 0x0;Q(_0x31ff1e,_0x1192eb[_0x21df28(0x100)]-_0x31ff1e[_0x21df28(0x1bf)]),this[_0x21df28(0x178)](_0x31ff1e);const _0x219240=_0x31ff1e[_0x21df28(0xf5)](_0x5cc761=>{const _0x3ac540=_0x21df28;if(!_0x5cc761[_0x3ac540(0xe4)])return!0x1;const _0x177bbb=this[_0x3ac540(0x136)](_0x5cc761);return _0x177bbb&&!this[_0x3ac540(0x180)][_0x3ac540(0x155)](_0x177bbb);});Q(_0x219240,this[_0x21df28(0x1a0)][_0x21df28(0x100)]),this[_0x21df28(0xf4)](_0x219240),_0x26a2c0=!0x0,this[_0x21df28(0x17f)]=this[_0x21df28(0x1a5)];}else{const _0x90f17d=this[_0x21df28(0x15b)](_0x1192eb[_0x21df28(0x132)],_0x1192eb[_0x21df28(0xd2)])[_0x21df28(0xf5)](_0x39eb9f=>_0x39eb9f[_0x21df28(0xe2)]>=this[_0x21df28(0x16e)]);_0x90f17d[_0x21df28(0xec)](_0x4d8106=>this[_0x21df28(0x157)](_0x4d8106)),this[_0x21df28(0x12e)]=this[_0x21df28(0x12e)][_0x21df28(0xf5)](_0x24478d=>!_0x24478d[_0x21df28(0xe4)]||!this[_0x21df28(0x180)][_0x21df28(0x155)](this[_0x21df28(0x136)](_0x24478d))),this[_0x21df28(0x12e)][_0x21df28(0x1bf)]&&Q(this[_0x21df28(0x12e)],this[_0x21df28(0x12e)][0x0][_0x21df28(0xe2)]),await this[_0x21df28(0x1c8)](_0x90f17d),_0x26a2c0=this[_0x21df28(0xd7)](_0x90f17d,_0x1192eb[_0x21df28(0x100)],_0x1192eb[_0x21df28(0x190)]),this[_0x21df28(0x17f)]=Math[_0x21df28(0x1c4)](this[_0x21df28(0x17f)]/0x2);}return _0x26a2c0?!this[_0x21df28(0x169)]()||(this[_0x21df28(0xf7)](!0x0),!0x1):this[_0x21df28(0x188)](_0x21df28(0x18b));}[_0x2601e3(0xd7)](_0xb5dc8c,_0x43b5c9,_0x3d8c7e){const _0x2aefac=_0x2601e3;try{const _0x58f2e7={'document':this[_0x2aefac(0x1a0)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x50f67f,operationsB:_0x407b86,originalOperations:_0x30ce0f}=_0x8173d0(_0xb5dc8c,this[_0x2aefac(0x12e)],_0x58f2e7);Q(_0x50f67f,this[_0x2aefac(0x1a0)][_0x2aefac(0x100)]),Q(_0x407b86,_0x43b5c9);for(const _0x249981 of _0x50f67f){const _0x4cdfd8=_0x30ce0f[_0x2aefac(0x14e)](_0x249981);_0x249981[_0x2aefac(0x133)]=_0x4cdfd8?_0x4cdfd8[_0x2aefac(0x133)]:null;}_0x3d8c7e&&(this[_0x2aefac(0x195)][_0x2aefac(0x147)](_0xb5dc8c,_0x3d8c7e),this[_0x2aefac(0x172)]=_0x3d8c7e),this[_0x2aefac(0x12e)]=[..._0x407b86],this[_0x2aefac(0xf4)](_0x50f67f),this[_0x2aefac(0x178)](_0xb5dc8c);}catch(_0x4ca9ff){return console[_0x2aefac(0xd8)](_0x4ca9ff),!0x1;}return!0x0;}[_0x2601e3(0xf4)](_0x37c268,_0x25ed22=!0x1){const _0xccfefb=_0x2601e3;this[_0xccfefb(0x194)][_0xccfefb(0x19f)][_0xccfefb(0xe8)]({'isUndoable':!0x1,'isLocal':!0x1},_0x32b28f=>{const _0x3c2838=_0xccfefb;for(const _0x494f3f of _0x37c268)this[_0x3c2838(0xf6)][_0x3c2838(0x19e)](_0x494f3f),this[_0x3c2838(0x157)](_0x494f3f),_0x32b28f[_0x3c2838(0x16b)][_0x3c2838(0x198)](_0x494f3f),this[_0x3c2838(0x194)][_0x3c2838(0x19f)][_0x3c2838(0x182)](_0x494f3f);});}[_0x2601e3(0x157)](_0x1700c3){const _0xd21204=_0x2601e3,_0x2b7242=this[_0xd21204(0x136)](_0x1700c3);_0x2b7242&&this[_0xd21204(0x180)][_0xd21204(0x19e)](_0x2b7242);}[_0x2601e3(0x136)](_0xee0c24){const _0x11199a=_0x2601e3;let _0x2aa86d,_0xcdc6ba;switch(_0xee0c24[_0x11199a(0xca)]){case _0x11199a(0x17b):_0x2aa86d=_0xee0c24[_0x11199a(0x125)][_0x11199a(0xfa)];break;case _0x11199a(0xdb):if(_0xcdc6ba=_0xee0c24[_0x11199a(0xfb)],!_0xcdc6ba)return null;_0x2aa86d=_0xcdc6ba[_0x11199a(0xfa)];break;case _0x11199a(0x13b):_0x2aa86d=_0xee0c24[_0x11199a(0xfa)];break;case _0x11199a(0x10c):_0x2aa86d=_0xee0c24[_0x11199a(0x18c)];break;case _0x11199a(0xda):_0x2aa86d=_0xee0c24[_0x11199a(0x170)][_0x11199a(0xfa)];break;default:return null;}return _0x2aa86d[_0x11199a(0x1c3)];}[_0x2601e3(0x178)](_0x9dc8a8){const _0x24122c=_0x2601e3;_0x9dc8a8[_0x24122c(0xec)](_0x249ec3=>{const _0x2d25b1=_0x24122c,_0x8b0493=_0x249ec3[_0x2d25b1(0x127)]();_0x8b0493[_0x2d25b1(0x133)]=_0x249ec3[_0x2d25b1(0x133)],_0x8b0493[_0x2d25b1(0xe4)]=!!_0x249ec3[_0x2d25b1(0xe4)],_0x8b0493[_0x2d25b1(0x1a2)]=_0x249ec3[_0x2d25b1(0x1a2)],_0x8b0493[_0x2d25b1(0xe2)]+=this[_0x2d25b1(0x129)],_0x249ec3[_0x2d25b1(0x128)]&&this[_0x2d25b1(0x117)][_0x2d25b1(0x19e)](_0x8b0493),this[_0x2d25b1(0x121)][_0x2d25b1(0x198)](_0x8b0493);});}[_0x2601e3(0x183)](_0x371e6c){const _0x50322a=_0x2601e3,_0x3f61cf=this[_0x50322a(0x194)][_0x50322a(0x1b9)][_0x50322a(0x14e)](_0x50322a(0x14b)),_0x298016=this[_0x50322a(0x194)][_0x50322a(0x19c)];_0x371e6c||(_0x371e6c=_0x4fc151(_0x298016,_0x50322a(0x17c))),_0x3f61cf[_0x50322a(0x1bc)](_0x371e6c,{'title':_0x4fc151(_0x298016,_0x50322a(0x1b4)),'namespace':_0x50322a(0xe1)}),this[_0x50322a(0xe6)]=!0x0,clearTimeout(this[_0x50322a(0x13a)]),this[_0x50322a(0x12e)]=[],this[_0x50322a(0x194)][_0x50322a(0x1b9)][_0x50322a(0x14e)](_0x404b09)[_0x50322a(0x15d)]();}[_0x2601e3(0x12f)](){const _0x6e59dd=_0x2601e3;this[_0x6e59dd(0x1ab)]||(this[_0x6e59dd(0x1ab)]=this[_0x6e59dd(0x194)][_0x6e59dd(0x1b9)][_0x6e59dd(0x14e)](_0x588f52)[_0x6e59dd(0x19e)](_0x4fc151(this[_0x6e59dd(0x194)][_0x6e59dd(0x19c)],_0x6e59dd(0x107))));}[_0x2601e3(0x105)](){const _0x138d77=_0x2601e3;this[_0x138d77(0x1ab)]&&(this[_0x138d77(0x194)][_0x138d77(0x1b9)][_0x138d77(0x14e)](_0x588f52)[_0x138d77(0x130)](this[_0x138d77(0x1ab)]),this[_0x138d77(0x1ab)]=null);}[_0x2601e3(0x19d)](_0x2595ed){const _0x2ca1b3=_0x2601e3,_0x5565b1=_0x2595ed[_0x2ca1b3(0x11d)](_0x4e064f=>_0x4e064f[_0x2ca1b3(0x142)]());return this[_0x2ca1b3(0xf0)][_0x2ca1b3(0x112)](_0x5565b1);}[_0x2601e3(0x15b)](_0x33d311,_0x593552){const _0x571b33=_0x2601e3;return this[_0x571b33(0xf0)][_0x571b33(0x126)](_0x33d311)[_0x571b33(0x11d)]((_0x5520dd,_0x1838b2)=>{const _0x1bd92e=_0x571b33,_0x1161b4=_0x1bd92e(0x17a)==_0x593552[_0x1838b2][_0x1bd92e(0xca)];if(_0x1bd92e(0x110)==_0x5520dd[_0x1bd92e(0xd0)]){const _0x6d72bf=_0x5520dd[_0x1bd92e(0x125)][_0x1bd92e(0xfa)];!this[_0x1bd92e(0x1a0)][_0x1bd92e(0x14a)](_0x6d72bf)&&(this[_0x1bd92e(0x1a0)][_0x1bd92e(0x1a9)](_0x1bd92e(0x189),_0x6d72bf)[_0x1bd92e(0x145)]=!0x1);}const _0xcfc77c=_0x4c0143[_0x1bd92e(0x134)](_0x5520dd,this[_0x1bd92e(0x1a0)]);return _0xcfc77c[_0x1bd92e(0x13c)]=_0x5520dd[_0x1bd92e(0x13c)],_0xcfc77c[_0x1bd92e(0xe4)]=_0x1161b4,_0xcfc77c[_0x1bd92e(0x133)]=_0x1161b4?null:_0x593552[_0x1838b2][_0x1bd92e(0xe5)],_0xcfc77c[_0x1bd92e(0x128)]=_0x1bd92e(0xc4)===_0x593552[_0x1838b2][_0x1bd92e(0xca)],_0xcfc77c[_0x1bd92e(0x1a2)]=_0x593552[_0x1838b2][_0x1bd92e(0x1a2)],_0xcfc77c;});}[_0x2601e3(0x11f)](){const _0x1afa46=_0x2601e3;this[_0x1afa46(0x163)]=!0x0,this[_0x1afa46(0x143)]()?this[_0x1afa46(0xf7)]():this[_0x1afa46(0x163)]=!0x1;}[_0x2601e3(0x143)](){const _0x575382=_0x2601e3,_0x480ab0=this[_0x575382(0x194)][_0x575382(0x1b9)][_0x575382(0x14e)](_0x2f15eb)[_0x575382(0x137)][_0x575382(0x14e)](this[_0x575382(0xce)]);return!this[_0x575382(0x194)][_0x575382(0x1c5)]&&!!_0x480ab0&&_0x480ab0[_0x575382(0x1bf)]>0x1&&this[_0x575382(0x163)];}[_0x2601e3(0x169)](){const _0x3970cf=_0x2601e3;return this[_0x3970cf(0x12e)][_0x3970cf(0x1bf)]>0x0||this[_0x3970cf(0x143)]();}}l[_0x2601e3(0xd3)]=_0x1cf5dc;export default l;class J extends Error{}function Q(_0x5b83cf,_0x28de82){const _0x19a73f=_0x2601e3;for(const _0x388c9e of _0x5b83cf)_0x388c9e[_0x19a73f(0xe2)]=_0x28de82++;}class X{constructor(_0x2cbd62){const _0xc473c4=_0x2601e3;this[_0xc473c4(0xf8)]=_0x2cbd62,this[_0xc473c4(0x1be)]=new WeakMap();}[_0x2601e3(0x19b)](_0x5af519){const _0x5d3d05=_0x2601e3;let _0x2ee500=_0x5af519[_0x5d3d05(0x1bf)];for(;_0x2ee500--;){const _0x2dc4a8=_0x5af519[_0x2ee500];if(!this[_0x5d3d05(0xf8)][_0x5d3d05(0x155)](_0x2dc4a8)){if(!this[_0x5d3d05(0x1be)][_0x5d3d05(0x155)](_0x2dc4a8)){const _0x33f702=_0x33b4c8()[_0x5d3d05(0x13f)](0x1,0x12);this[_0x5d3d05(0x1be)][_0x5d3d05(0x1a6)](_0x2dc4a8,_0x33f702);}return this[_0x5d3d05(0x1be)][_0x5d3d05(0x14e)](_0x2dc4a8);}}}[_0x2601e3(0x147)](_0x1d5004,_0x413c72){const _0x22a0dd=_0x2601e3;if(!_0x413c72)return;let _0x584b0f=_0x1d5004[_0x22a0dd(0x1bf)];for(;_0x584b0f--;){const _0x5bdc73=_0x1d5004[_0x584b0f];this[_0x22a0dd(0xf8)][_0x22a0dd(0x155)](_0x5bdc73)||this[_0x22a0dd(0x1be)][_0x22a0dd(0x1a6)](_0x5bdc73,_0x413c72);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4ef348=_0x3ae3;(function(_0x3fd1ff,_0x572f05){const _0x2bf8a2=_0x3ae3,_0x5ae301=_0x3fd1ff();while(!![]){try{const _0x2720da=-parseInt(_0x2bf8a2(0x128))/0x1+parseInt(_0x2bf8a2(0x106))/0x2+parseInt(_0x2bf8a2(0x126))/0x3*(parseInt(_0x2bf8a2(0x120))/0x4)+-parseInt(_0x2bf8a2(0x12b))/0x5*(-parseInt(_0x2bf8a2(0x108))/0x6)+parseInt(_0x2bf8a2(0x139))/0x7+parseInt(_0x2bf8a2(0x11e))/0x8*(-parseInt(_0x2bf8a2(0x138))/0x9)+-parseInt(_0x2bf8a2(0x112))/0xa*(parseInt(_0x2bf8a2(0x13e))/0xb);if(_0x2720da===_0x572f05)break;else _0x5ae301['push'](_0x5ae301['shift']());}catch(_0x16da15){_0x5ae301['push'](_0x5ae301['shift']());}}}(_0x2239,0x61e44));import{ContextPlugin as _0x2f4d14}from'ckeditor5/src/core.js';function _0x2239(){const _0x558e56=['getUserSessions','connection','size','channelSessions','init','726093SEJKOu','4569747zicdsD','get','_registeredSessions','change:state','isOfficialPlugin','53361VeutCx','_handleSessionAdd','_uniqueUsersCount','stopListening','sessions-register-already-registered','getUserBySessionId','delete','1337222kXeStF','plugins','6UhVMyX','clear','has','role','context','user','listenTo','defineMe','assign','requires','2740RHpjyO','_users','add','state','addUser','_createUser','fire','orderNumber','unregister','register','forEach','remove','8jqYimx','getUser','194824iajIfQ','sessionId','getUserRole','isMe','values','channelConnectedUsers','21blZQiz','pluginName','627645siFGax','set','_handleSessionRemove','3880430RgEXCa','sessionAdd:','Sessions','connected','mySessionId','isPremiumPlugin','sessions-unregister-not-exist','allConnectedUsers'];_0x2239=function(){return _0x558e56;};return _0x2239();}import{Collection as _0x3caa84,CKEditorError as _0x13e83d}from'ckeditor5/src/utils.js';import _0x1c7a75 from'./websocketgateway.js';function _0x3ae3(_0x4a162d,_0x31724a){const _0x22396e=_0x2239();return _0x3ae3=function(_0x3ae30a,_0x5a8429){_0x3ae30a=_0x3ae30a-0x106;let _0x54152f=_0x22396e[_0x3ae30a];return _0x54152f;},_0x3ae3(_0x4a162d,_0x31724a);}import{Users as _0x529d84}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x2f4d14{static get[_0x4ef348(0x127)](){const _0x2c3c6a=_0x4ef348;return _0x2c3c6a(0x12d);}static get[_0x4ef348(0x13d)](){return!0x0;}static get[_0x4ef348(0x130)](){return!0x0;}static get[_0x4ef348(0x111)](){return[_0x1c7a75,_0x529d84];}constructor(_0x20e3dc){const _0xb6346f=_0x4ef348;super(_0x20e3dc),this[_0xb6346f(0x136)]=new Map(),this[_0xb6346f(0x125)]=new Map(),this[_0xb6346f(0x132)]=new _0x3caa84(),this[_0xb6346f(0x13b)]=new Map(),this[_0xb6346f(0x140)]=0x0,this[_0xb6346f(0x113)]=this[_0xb6346f(0x10c)][_0xb6346f(0x107)][_0xb6346f(0x13a)](_0x529d84);}[_0x4ef348(0x137)](){const _0x51c59d=_0x4ef348,_0x7954f2=this[_0x51c59d(0x10c)][_0x51c59d(0x107)][_0x51c59d(0x13a)](_0x1c7a75);this[_0x51c59d(0x10e)](_0x7954f2,_0x51c59d(0x13c),(_0x1ff119,_0x20520a,_0x35521c)=>{const _0x1ffcc5=_0x51c59d;if(_0x1ffcc5(0x12e)!==_0x35521c)this[_0x1ffcc5(0x136)][_0x1ffcc5(0x11c)](_0x2c9839=>_0x2c9839[_0x1ffcc5(0x109)]()),this[_0x1ffcc5(0x125)][_0x1ffcc5(0x11c)](_0x24a9d7=>_0x24a9d7[_0x1ffcc5(0x109)]()),this[_0x1ffcc5(0x132)][_0x1ffcc5(0x109)]();else{for(const [_0x1c54e8,_0x505046]of this[_0x1ffcc5(0x13b)])for(const _0x5ddf28 of _0x505046)this[_0x1ffcc5(0x13f)](_0x1c54e8,_0x5ddf28);}}),this[_0x51c59d(0x117)](_0x7954f2[_0x51c59d(0x134)]['me'],!0x0);}[_0x4ef348(0x11b)](_0x198d7e,_0x4a155c){const _0x34945c=_0x4ef348;if(this[_0x34945c(0x13b)][_0x34945c(0x10a)](_0x198d7e))throw new _0x13e83d(_0x34945c(0x142),null,{'channelId':_0x198d7e});this[_0x34945c(0x13b)][_0x34945c(0x129)](_0x198d7e,_0x4a155c),this[_0x34945c(0x136)][_0x34945c(0x129)](_0x198d7e,new _0x3caa84()),this[_0x34945c(0x125)][_0x34945c(0x129)](_0x198d7e,new _0x3caa84()),this[_0x34945c(0x10e)](_0x4a155c,_0x34945c(0x114),(_0x10ad37,_0x15951e)=>this[_0x34945c(0x13f)](_0x198d7e,_0x15951e)),this[_0x34945c(0x10e)](_0x4a155c,_0x34945c(0x11d),(_0x41cce6,_0x10923c)=>this[_0x34945c(0x12a)](_0x198d7e,_0x10923c));for(const _0x47870c of _0x4a155c)this[_0x34945c(0x13f)](_0x198d7e,_0x47870c);}[_0x4ef348(0x11a)](_0xd3c56c){const _0x4ef171=_0x4ef348;if(!this[_0x4ef171(0x13b)][_0x4ef171(0x10a)](_0xd3c56c))throw new _0x13e83d(_0x4ef171(0x131),null,{'channelId':_0xd3c56c});const _0x232dad=this[_0x4ef171(0x13b)][_0x4ef171(0x13a)](_0xd3c56c);this[_0x4ef171(0x141)](_0x232dad);for(const _0x2fd833 of _0x232dad)_0x4ef171(0x12e)===this[_0x4ef171(0x10c)][_0x4ef171(0x107)][_0x4ef171(0x13a)](_0x1c7a75)[_0x4ef171(0x115)]&&this[_0x4ef171(0x12a)](_0xd3c56c,_0x2fd833);this[_0x4ef171(0x13b)][_0x4ef171(0x144)](_0xd3c56c),this[_0x4ef171(0x136)][_0x4ef171(0x144)](_0xd3c56c),this[_0x4ef171(0x125)][_0x4ef171(0x144)](_0xd3c56c);}get[_0x4ef348(0x12f)](){const _0x59b20b=_0x4ef348;return this[_0x59b20b(0x10c)][_0x59b20b(0x107)][_0x59b20b(0x13a)](_0x1c7a75)[_0x59b20b(0x134)][_0x59b20b(0x121)];}[_0x4ef348(0x143)](_0x40320c){const _0xa58291=_0x4ef348;for(const _0x3d83ad of this[_0xa58291(0x136)][_0xa58291(0x124)]())for(const _0x3dfbab of _0x3d83ad)if(_0x3dfbab['id']===_0x40320c)return _0x3dfbab[_0xa58291(0x10d)];}[_0x4ef348(0x133)](_0x505960,_0x4a18bc){const _0x15b5b3=_0x4ef348,_0x211218=_0x4a18bc?[this[_0x15b5b3(0x136)][_0x15b5b3(0x13a)](_0x4a18bc)]:this[_0x15b5b3(0x136)][_0x15b5b3(0x124)](),_0x3bc5b1=new Set();for(const _0x2db35b of _0x211218)for(const _0x1ad21f of _0x2db35b)_0x1ad21f[_0x15b5b3(0x10d)]['id']===_0x505960['id']&&_0x3bc5b1[_0x15b5b3(0x114)](_0x1ad21f['id']);return _0x3bc5b1;}[_0x4ef348(0x122)](_0x306040){const _0x247c2e=_0x4ef348;for(const _0x34a029 of this[_0x247c2e(0x136)][_0x247c2e(0x124)]())for(const _0x20b315 of _0x34a029)if(_0x20b315[_0x247c2e(0x10d)]===_0x306040)return _0x20b315[_0x247c2e(0x10b)];}[_0x4ef348(0x13f)](_0x1aa589,_0x49fa27){const _0x4a2dbd=_0x4ef348;if(_0x4a2dbd(0x12e)!==this[_0x4a2dbd(0x10c)][_0x4a2dbd(0x107)][_0x4a2dbd(0x13a)](_0x1c7a75)[_0x4a2dbd(0x115)])return;const _0x452107=_0x49fa27[_0x4a2dbd(0x10d)],_0x4296f1=this[_0x4a2dbd(0x113)][_0x4a2dbd(0x11f)](_0x452107['id'])||this[_0x4a2dbd(0x117)](_0x452107),_0x813ebe=Object[_0x4a2dbd(0x110)]({},_0x49fa27,{'user':_0x4296f1});this[_0x4a2dbd(0x136)][_0x4a2dbd(0x13a)](_0x1aa589)[_0x4a2dbd(0x114)](_0x813ebe);const _0x51876a=this[_0x4a2dbd(0x125)][_0x4a2dbd(0x13a)](_0x1aa589);_0x51876a[_0x4a2dbd(0x10a)](_0x4296f1['id'])||_0x51876a[_0x4a2dbd(0x114)](_0x4296f1),this[_0x4a2dbd(0x132)][_0x4a2dbd(0x10a)](_0x4296f1['id'])||this[_0x4a2dbd(0x132)][_0x4a2dbd(0x114)](_0x4296f1,_0x4296f1[_0x4a2dbd(0x123)]?0x0:void 0x0),this[_0x4a2dbd(0x118)](_0x4a2dbd(0x12c)+_0x1aa589,{'channelId':_0x1aa589,'session':_0x813ebe});}[_0x4ef348(0x12a)](_0x193c4,_0x2cdb5e){const _0x3c67e9=_0x4ef348;if(_0x3c67e9(0x12e)!==this[_0x3c67e9(0x10c)][_0x3c67e9(0x107)][_0x3c67e9(0x13a)](_0x1c7a75)[_0x3c67e9(0x115)])return;const _0x5975f8=this[_0x3c67e9(0x125)][_0x3c67e9(0x13a)](_0x193c4),_0x208339=_0x2cdb5e[_0x3c67e9(0x10d)];_0x208339['id']&&(this[_0x3c67e9(0x136)][_0x3c67e9(0x13a)](_0x193c4)[_0x3c67e9(0x11d)](_0x2cdb5e['id']),_0x5975f8[_0x3c67e9(0x10a)](_0x208339['id'])&&!this[_0x3c67e9(0x133)](_0x208339,_0x193c4)[_0x3c67e9(0x135)]&&_0x5975f8[_0x3c67e9(0x11d)](_0x208339['id']),this[_0x3c67e9(0x132)][_0x3c67e9(0x13a)](_0x208339['id'])&&!this[_0x3c67e9(0x133)](_0x208339)[_0x3c67e9(0x135)]&&this[_0x3c67e9(0x132)][_0x3c67e9(0x11d)](_0x208339['id']));}[_0x4ef348(0x117)](_0xc9eb2,_0x2324fc){const _0x29ae71=_0x4ef348,_0x4bbce9=this[_0x29ae71(0x113)][_0x29ae71(0x116)](_0xc9eb2);return _0x2324fc&&this[_0x29ae71(0x113)][_0x29ae71(0x10f)](_0xc9eb2['id']),_0x4bbce9[_0x29ae71(0x119)]=this[_0x29ae71(0x140)]++,_0x4bbce9;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x28f09b=_0x5d83;(function(_0x247829,_0x5744e9){const _0x505593=_0x5d83,_0x4f84e0=_0x247829();while(!![]){try{const _0x1a0e03=parseInt(_0x505593(0xed))/0x1*(-parseInt(_0x505593(0x87))/0x2)+-parseInt(_0x505593(0x94))/0x3*(-parseInt(_0x505593(0x8a))/0x4)+-parseInt(_0x505593(0x92))/0x5*(parseInt(_0x505593(0x9e))/0x6)+parseInt(_0x505593(0xd6))/0x7*(-parseInt(_0x505593(0xcf))/0x8)+-parseInt(_0x505593(0xc8))/0x9+-parseInt(_0x505593(0x76))/0xa*(parseInt(_0x505593(0x7c))/0xb)+parseInt(_0x505593(0x96))/0xc;if(_0x1a0e03===_0x5744e9)break;else _0x4f84e0['push'](_0x4f84e0['shift']());}catch(_0x2831d6){_0x4f84e0['push'](_0x4f84e0['shift']());}}}(_0x383a,0xec258));import{Plugin as _0x2bf0db}from'ckeditor5/src/core.js';import{global as _0x3a7c98,DomEmitterMixin as _0x1a4f75}from'ckeditor5/src/utils.js';function _0x5d83(_0x434c97,_0x468a30){const _0x383a08=_0x383a();return _0x5d83=function(_0x5d8334,_0x48a990){_0x5d8334=_0x5d8334-0x6b;let _0x1b1768=_0x383a08[_0x5d8334];return _0x1b1768;},_0x5d83(_0x434c97,_0x468a30);}import _0x8ac835 from'./sessions.js';import{LiveRange as _0x225f5b}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x383a(){const _0x194731=['UserMarkers','getCustomProperty','toRange','markerRange','oldRange','_domEmitter','11000pFRrtx','document','type','start','model','tableCell','2123NBIooy','getPositions','remove','isOfficialPlugin','updateMarker','hasDomSelection','nodeAfter','</span>','for','rootName','markerToHighlight','26TYEhAK','getUserBySessionId','isSimilar','26072pHmHoG','Escape','end','get','reconvertMarker','createUIElement','requires','detach','1568990elITcc','user:position','267rVHjJW','render','69861456eFUJKF','marker','editing','editingDowncast','update:user:range','$graveyard','add','split','18LplIvo','setCustomProperty','pluginName','change','orderNumber','startsWith','markerToElement','delete','data-session-id','size','parent','getFirstRange','getSelectionClass','highest','isLimit','removeClass','markers','name','contenteditable','enqueueChange','getStart','user:range','user:','fromRange','isDocumentOperation','markerNameToElements','conversion','view','createUserMarkerOperations','classList','plugins','checkChild','mouseenter','change:range','listenTo','<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>','commands','destroy','clear','isInline','newRange','deletionPosition','14220630fzSVJj','markerName','getMarkerClass','innerHTML','schema','ck-user__marker_hovered','isObject','9670984ZkBRfz','root','has','editor','init','color','toDomElement','7hQvaDt','ck-user__selection','ck-user__marker\x20','set','undo','userPositionMarker','user:position:','getRange','span','element','createRange','addMarker','mapper','addEventListener','user:range:','stopListening','isCollapsed','selection','_createdBatches','getAttribute','applyOperation','batch','getNearestSelectionRange','114769yGlCmo','$text','removeMarker','keydown','getContainedElement','mouseleave','afterInit','mySessionId','isPremiumPlugin','hasContent'];_0x383a=function(){return _0x194731;};return _0x383a();}export default class J extends _0x2bf0db{constructor(){const _0x4111d1=_0x5d83;super(...arguments),this[_0x4111d1(0x75)]=new(_0x1a4f75())();}static get[_0x28f09b(0x90)](){return[_0x8ac835];}static get[_0x28f09b(0xa0)](){const _0x205beb=_0x28f09b;return _0x205beb(0x70);}static get[_0x28f09b(0x7f)](){return!0x0;}static get[_0x28f09b(0x6e)](){return!0x0;}[_0x28f09b(0xd3)](){const _0x56bbcf=_0x28f09b,_0x409530=this[_0x56bbcf(0xd2)],_0x4f178d=_0x409530[_0x56bbcf(0xbc)][_0x56bbcf(0x8d)](_0x8ac835);_0x409530[_0x56bbcf(0xb8)][_0x56bbcf(0x84)](_0x56bbcf(0x99))[_0x56bbcf(0xa4)]({'model':_0x56bbcf(0x93),'view':(_0x535b8c,{writer:_0x481d78})=>function(_0x3d0104,_0x5a5d12,_0x19f4d7,_0x7b3a40){const _0x4d9283=_0x56bbcf,_0x21e21a=_0x3d0104[_0x4d9283(0xc9)][_0x4d9283(0x9d)](':')[0x2],_0x55a70b=_0x19f4d7[_0x4d9283(0x88)](_0x21e21a);if(!_0x55a70b||_0x21e21a===_0x19f4d7[_0x4d9283(0x6d)])return;if(!_0x7b3a40[_0x4d9283(0x7a)][_0x4d9283(0xcc)][_0x4d9283(0xbd)](_0x3d0104[_0x4d9283(0x73)][_0x4d9283(0x79)],_0x4d9283(0xee)))return;const _0x39e7ca={'class':_0x4d9283(0xd8)+_0x55a70b[_0x4d9283(0xd4)][_0x4d9283(0xca)](),'data-name':_0x55a70b[_0x4d9283(0xaf)],'data-session-id':_0x21e21a},_0x236588=_0x7b3a40[_0x4d9283(0x7a)][_0x4d9283(0xae)][_0x4d9283(0x8d)](_0x3d0104[_0x4d9283(0xc9)]),_0x35d856=_0x236588[_0x4d9283(0xb2)](),_0x35899f=_0x35d856[_0x4d9283(0x82)],_0x3c7187=_0x7b3a40[_0x4d9283(0x7a)][_0x4d9283(0xcc)];if(_0x35899f&&_0x3c7187[_0x4d9283(0xce)](_0x35899f)&&_0x3c7187[_0x4d9283(0xc5)](_0x35899f)&&!_0x7b3a40[_0x4d9283(0x7a)][_0x4d9283(0xae)][_0x4d9283(0x8d)](_0x4d9283(0xe4)+_0x21e21a)[_0x4d9283(0xdd)]()[_0x4d9283(0xe6)])return;const _0x1758ec=_0x35d856[_0x4d9283(0xa8)];return _0x7b3a40[_0x4d9283(0x7a)][_0x4d9283(0xcc)][_0x4d9283(0xac)](_0x1758ec)&&!_0x7b3a40[_0x4d9283(0x7a)][_0x4d9283(0x6f)](_0x1758ec)&&(_0x39e7ca[_0x4d9283(0xb0)]=!0x1),function(_0x2f25a3,_0x1dc923,_0x4210f5){const _0x3a06a7=_0x4d9283,_0x1b2b6a=_0x2f25a3[_0x3a06a7(0x8f)](_0x3a06a7(0xde),_0x1dc923);return _0x2f25a3[_0x3a06a7(0x9f)](_0x3a06a7(0xdb),!0x0,_0x1b2b6a),_0x1b2b6a[_0x3a06a7(0x95)]=function(_0x15e5a8){const _0x4b4d68=_0x3a06a7,_0x4fb3ef=this[_0x4b4d68(0xd5)](_0x15e5a8);return _0x4fb3ef[_0x4b4d68(0xcb)]=_0x4b4d68(0xc1)+_0x4210f5[_0x4b4d68(0xaf)]+_0x4b4d68(0x83),_0x4fb3ef[_0x4b4d68(0xe3)](_0x4b4d68(0xbe),()=>{const _0x267540=_0x4b4d68;_0x4fb3ef[_0x267540(0xbb)][_0x267540(0x9c)](_0x267540(0xcd));}),_0x4fb3ef[_0x4b4d68(0xe3)](_0x4b4d68(0x6b),()=>{const _0x2bf4f1=_0x4b4d68;_0x4fb3ef[_0x2bf4f1(0xbb)][_0x2bf4f1(0x7e)](_0x2bf4f1(0xcd));}),_0x4fb3ef;},_0x1b2b6a[_0x3a06a7(0x89)]=function(_0x3a6bec){const _0x4e662a=_0x3a06a7;return!(!this[_0x4e662a(0x71)](_0x4e662a(0xdb))||!_0x3a6bec[_0x4e662a(0x71)](_0x4e662a(0xdb))||this[_0x4e662a(0xe9)](_0x4e662a(0xa6))!=_0x3a6bec[_0x4e662a(0xe9)](_0x4e662a(0xa6)));},_0x1b2b6a;}(_0x5a5d12,_0x39e7ca,_0x55a70b);}(_0x535b8c,_0x481d78,_0x4f178d,_0x409530)}),_0x409530[_0x56bbcf(0xb8)][_0x56bbcf(0x84)](_0x56bbcf(0x99))[_0x56bbcf(0x86)]({'model':_0x56bbcf(0xb3),'view':_0xce3b00=>function(_0x40ae2b,_0x3ca402){const _0x30e0e1=_0x56bbcf,_0x4fe7af=_0x40ae2b[_0x30e0e1(0xc9)][_0x30e0e1(0x9d)](':')[0x2];if(_0x4fe7af===_0x3ca402[_0x30e0e1(0x6d)])return null;const _0x436811=_0x3ca402[_0x30e0e1(0x88)](_0x4fe7af);if(!_0x436811)return{'id':_0x4fe7af,'classes':[]};return{'id':_0x4fe7af,'classes':[_0x30e0e1(0xd7),_0x436811[_0x30e0e1(0xd4)][_0x30e0e1(0xaa)]()],'attributes':{'data-session-id':_0x4fe7af},'priority':0x7d0+_0x436811[_0x30e0e1(0xa2)]};}(_0xce3b00,_0x4f178d)}),function(_0x252c99){const _0x20958e=_0x56bbcf,_0x44e4e7=_0x252c99[_0x20958e(0x7a)],_0xfdeaef=new Map(),_0x4846f3=_0x252c99[_0x20958e(0xbc)][_0x20958e(0x8d)](_0x8ac835);_0x44e4e7[_0x20958e(0xae)]['on'](_0x20958e(0x9a),(_0x2d92a2,_0x254647,_0x28cd4f,_0x14e0b2)=>{const _0x5d89e4=_0x20958e;if(!_0x14e0b2&&_0xfdeaef[_0x5d89e4(0x8d)](_0x254647[_0x5d89e4(0xaf)]))return _0xfdeaef[_0x5d89e4(0x8d)](_0x254647[_0x5d89e4(0xaf)])[_0x5d89e4(0x91)](),void _0xfdeaef[_0x5d89e4(0xa5)](_0x254647[_0x5d89e4(0xaf)]);const _0x32d642=_0x254647[_0x5d89e4(0xaf)][_0x5d89e4(0x9d)](':')[0x2];if(_0x32d642===_0x4846f3[_0x5d89e4(0x6d)])return;const _0xc6b1d9=_0x5d89e4(0xdc)+_0x32d642;_0x44e4e7[_0x5d89e4(0xae)][_0x5d89e4(0xd1)](_0xc6b1d9)&&_0x252c99[_0x5d89e4(0x98)][_0x5d89e4(0x8e)](_0xc6b1d9),_0x254647['on'](_0x5d89e4(0xbf),(_0x541ab2,_0x29f74d,_0x35e06d)=>{const _0x4efeb6=_0x5d89e4;if(_0x4efeb6(0x9b)!=_0x29f74d[_0x4efeb6(0xd0)][_0x4efeb6(0x85)]&&_0x4efeb6(0x9b)==_0x254647[_0x4efeb6(0xdd)]()[_0x4efeb6(0xd0)][_0x4efeb6(0x85)]&&!_0xfdeaef[_0x4efeb6(0xd1)](_0x254647[_0x4efeb6(0xaf)])){const _0x45a033=_0x44e4e7[_0x4efeb6(0xcc)][_0x4efeb6(0xec)](_0x35e06d[_0x4efeb6(0xc7)]);if(_0x45a033){const _0x26a73b=_0x225f5b[_0x4efeb6(0xb5)](_0x45a033);_0xfdeaef[_0x4efeb6(0xd9)](_0x254647[_0x4efeb6(0xaf)],_0x26a73b),_0x26a73b['on'](_0x4efeb6(0xbf),(_0x4bbc7c,_0x2e52b1,_0xced07e)=>{const _0x25ca6b=_0x4efeb6;if(_0x25ca6b(0x9b)==_0x26a73b[_0x25ca6b(0xd0)][_0x25ca6b(0x85)]){const _0x99ec31=_0x44e4e7[_0x25ca6b(0xcc)][_0x25ca6b(0xec)](_0xced07e[_0x25ca6b(0xc7)]);_0x99ec31?(_0x26a73b[_0x25ca6b(0x79)]=_0x99ec31[_0x25ca6b(0x79)],_0x26a73b[_0x25ca6b(0x8c)]=_0x99ec31[_0x25ca6b(0x8c)]):(_0xfdeaef[_0x25ca6b(0xa5)](_0x254647[_0x25ca6b(0xaf)]),_0x26a73b[_0x25ca6b(0x91)]());}});}}});}),_0x44e4e7[_0x20958e(0x77)]['on'](_0x20958e(0xa1),()=>{const _0xbbf517=_0x20958e;_0xfdeaef[_0xbbf517(0xa7)]>0x0&&_0x44e4e7[_0xbbf517(0xb1)]({'isUndoable':!0x1},_0x413870=>{const _0x5206de=_0xbbf517;for(const [_0x3aa0c7,_0x53d211]of _0xfdeaef)_0x5206de(0x9b)==_0x44e4e7[_0x5206de(0xae)][_0x5206de(0x8d)](_0x3aa0c7)[_0x5206de(0xdd)]()[_0x5206de(0xd0)][_0x5206de(0x85)]&&(te(_0x3aa0c7[_0x5206de(0x9d)](':')[0x2],_0x53d211[_0x5206de(0x72)](),_0x44e4e7,_0x413870),_0x53d211[_0x5206de(0x91)]());_0xfdeaef[_0x5206de(0xc4)]();});});}(_0x409530),this[_0x56bbcf(0x75)][_0x56bbcf(0xc0)](_0x3a7c98[_0x56bbcf(0x77)],_0x56bbcf(0xf0),(_0x1ca1d9,{key:_0xc7812f})=>{const _0x34d790=_0x56bbcf;_0x34d790(0x8b)===_0xc7812f&&function(_0xaeed78){const _0x58aac6=_0x34d790;_0xaeed78[_0x58aac6(0x98)][_0x58aac6(0xb9)][_0x58aac6(0xa1)](_0x6d239c=>{const _0x1379f4=_0x58aac6;for(const _0x336eea of _0xaeed78[_0x1379f4(0x7a)][_0x1379f4(0xae)]){if(!_0x336eea[_0x1379f4(0xaf)][_0x1379f4(0xa3)](_0x1379f4(0x93)))continue;const _0x2da59e=_0xaeed78[_0x1379f4(0x98)][_0x1379f4(0xe2)][_0x1379f4(0xb7)](_0x336eea[_0x1379f4(0xaf)]);if(_0x2da59e){for(const _0x58eb8a of _0x2da59e)_0x6d239c[_0x1379f4(0xad)](_0x1379f4(0xcd),_0x58eb8a);}}});}(_0x409530);},{'useCapture':!0x0});}[_0x28f09b(0x6c)](){const _0x11cd7c=_0x28f09b,_0x2909d0=this[_0x11cd7c(0xd2)],_0x332665=_0x2909d0[_0x11cd7c(0xc2)][_0x11cd7c(0x8d)](_0x11cd7c(0xda));_0x332665&&_0x2909d0[_0x11cd7c(0x7a)]['on'](_0x11cd7c(0xea),(_0x1e220b,_0x2dffb1)=>{const _0x35de9c=_0x11cd7c,_0x37cf6f=_0x2dffb1[0x0];if(!_0x37cf6f[_0x35de9c(0xb6)])return;if(_0x35de9c(0x97)!=_0x37cf6f[_0x35de9c(0x78)]||!_0x37cf6f[_0x35de9c(0xaf)][_0x35de9c(0xa3)](_0x35de9c(0xb4)))return;const _0x57b4a1=_0x37cf6f[_0x35de9c(0xeb)];_0x332665[_0x35de9c(0xe8)][_0x35de9c(0xd1)](_0x57b4a1)&&(_0x37cf6f[_0x35de9c(0xc6)]=_0x37cf6f[_0x35de9c(0x74)]?_0x2909d0[_0x35de9c(0x7a)][_0x35de9c(0xe0)](_0x37cf6f[_0x35de9c(0x74)][_0x35de9c(0x79)],_0x37cf6f[_0x35de9c(0x74)][_0x35de9c(0x8c)]):null);},{'priority':_0x11cd7c(0xab)});}[_0x28f09b(0xc3)](){const _0x2b55ed=_0x28f09b;return this[_0x2b55ed(0x75)][_0x2b55ed(0xe5)](),super[_0x2b55ed(0xc3)]();}[_0x28f09b(0xba)](){const _0x314e4a=_0x28f09b,_0x1165f7=this[_0x314e4a(0xd2)],_0x4aff0b=_0x1165f7[_0x314e4a(0x7a)][_0x314e4a(0x77)],_0x5d874c=_0x1165f7[_0x314e4a(0xbc)][_0x314e4a(0x8d)](_0x8ac835);_0x1165f7[_0x314e4a(0x7a)][_0x314e4a(0xb1)]({'isUndoable':!0x1},_0x9a9aaa=>{const _0x4cc817=_0x314e4a,_0x364fe7=_0x4cc817(0xe4)+_0x5d874c[_0x4cc817(0x6d)],_0xf59bb2=_0x4cc817(0xdc)+_0x5d874c[_0x4cc817(0x6d)],_0x22801=_0x1165f7[_0x4cc817(0x7a)][_0x4cc817(0xae)][_0x4cc817(0xd1)](_0x364fe7);_0x1165f7[_0x4cc817(0x98)][_0x4cc817(0xb9)][_0x4cc817(0x81)]?te(_0x5d874c[_0x4cc817(0x6d)],_0x4aff0b[_0x4cc817(0xe7)][_0x4cc817(0xa9)](),_0x1165f7[_0x4cc817(0x7a)],_0x9a9aaa):_0x22801&&(_0x9a9aaa[_0x4cc817(0xef)](_0x364fe7),_0x9a9aaa[_0x4cc817(0xef)](_0xf59bb2));});}}function te(_0x5d572a,_0x42ad4a,_0xeb227c,_0x121013){const _0x2d402c=_0x28f09b,_0xf1a7cf=_0x2d402c(0xe4)+_0x5d572a,_0xc0de16=_0x2d402c(0xdc)+_0x5d572a,_0x7d754=_0x42ad4a[_0x2d402c(0xf1)]();let _0x12c627=_0x42ad4a[_0x2d402c(0x79)];_0x7d754&&_0x7d754['is'](_0x2d402c(0xdf),_0x2d402c(0x7b))&&(_0x12c627=function(_0x482b9e,_0x5e32f2){const _0x50d2b1=_0x2d402c;for(const _0x29231d of _0x482b9e[_0x50d2b1(0x7d)]())if(_0x5e32f2[_0x50d2b1(0xcc)][_0x50d2b1(0xbd)](_0x29231d,_0x50d2b1(0xee)))return _0x29231d;}(_0x42ad4a,_0xeb227c),_0x42ad4a=_0x121013[_0x2d402c(0xe0)](_0x12c627));const _0x59e277=_0x121013[_0x2d402c(0xe0)](_0x12c627);_0xeb227c[_0x2d402c(0xae)][_0x2d402c(0xd1)](_0xf1a7cf)?(_0x121013[_0x2d402c(0x80)](_0xf1a7cf,{'range':_0x42ad4a}),_0x121013[_0x2d402c(0x80)](_0xc0de16,{'range':_0x59e277})):(_0x121013[_0x2d402c(0xe1)](_0xf1a7cf,{'range':_0x42ad4a,'usingOperation':!0x0}),_0x121013[_0x2d402c(0xe1)](_0xc0de16,{'range':_0x59e277,'usingOperation':!0x0}));}
|
|
23
|
+
const _0xbedc6e=_0x5b3d;function _0x5848(){const _0x46b7d2=['model','markerRange','markerNameToElements','set','requires','updateMarker','getUserBySessionId','390OCZAfP','marker','parent','Escape','split','classList','editingDowncast','33fSIWpH','undo','isDocumentOperation','createUIElement','update:user:range','getStart','5683347NcvynS','change','init','conversion','user:position:','rootName','editing','change:range','batch','toDomElement','editor','13562060wNfpgq','user:range:','mapper','mySessionId','pluginName','user:position','enqueueChange','deletionPosition','getCustomProperty','1070896cbTlXp','_createdBatches','ck-user__selection','name','span','markerToHighlight','commands','58835borAYd','hasContent','startsWith','144NrsoVg','reconvertMarker','delete','getAttribute','userPositionMarker','markerName','mouseenter','schema','getFirstRange','isSimilar','</span>','getSelectionClass','hasDomSelection','innerHTML','isCollapsed','tableCell','document','add','getNearestSelectionRange','clear','view','contenteditable','selection','applyOperation','destroy','type','plugins','oldRange','detach','removeMarker','getPositions','end','root','size','ck-user__marker\x20','145510XOYrPQ','ck-user__marker_hovered','_domEmitter','addEventListener','markerToElement','16rkBTUf','for','isInline','markers','<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>','394440QykNpR','checkChild','4273557JyZjZD','isLimit','createUserMarkerOperations','color','nodeAfter','removeClass','keydown','start','listenTo','remove','UserMarkers','get','highest','isOfficialPlugin','stopListening','user:','getRange','data-session-id','newRange','setCustomProperty','mouseleave','fromRange','orderNumber','$graveyard','getMarkerClass','afterInit','createRange','has','addMarker','isObject','toRange','user:range','$text','isPremiumPlugin','element','render','getContainedElement'];_0x5848=function(){return _0x46b7d2;};return _0x5848();}(function(_0xac41fa,_0x753096){const _0x345ccb=_0x5b3d,_0x1b3533=_0xac41fa();while(!![]){try{const _0x10c472=parseInt(_0x345ccb(0x103))/0x1+parseInt(_0x345ccb(0x152))/0x2+-parseInt(_0x345ccb(0x105))/0x3+-parseInt(_0x345ccb(0x15c))/0x4*(parseInt(_0x345ccb(0xf9))/0x5)+parseInt(_0x345ccb(0x131))/0x6*(-parseInt(_0x345ccb(0x159))/0x7)+-parseInt(_0x345ccb(0xfe))/0x8*(parseInt(_0x345ccb(0x13e))/0x9)+-parseInt(_0x345ccb(0x149))/0xa*(-parseInt(_0x345ccb(0x138))/0xb);if(_0x10c472===_0x753096)break;else _0x1b3533['push'](_0x1b3533['shift']());}catch(_0x455625){_0x1b3533['push'](_0x1b3533['shift']());}}}(_0x5848,0xaf0e0));import{Plugin as _0x33eba1}from'ckeditor5/src/core.js';import{global as _0x334f35,DomEmitterMixin as _0x40ba38}from'ckeditor5/src/utils.js';import _0x3dc13d from'./sessions.js';function _0x5b3d(_0x375773,_0x376d99){const _0x584806=_0x5848();return _0x5b3d=function(_0x5b3df6,_0x47012c){_0x5b3df6=_0x5b3df6-0xea;let _0x5e7d2a=_0x584806[_0x5b3df6];return _0x5e7d2a;},_0x5b3d(_0x375773,_0x376d99);}import{LiveRange as _0x4d5a22}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x33eba1{constructor(){const _0x590a86=_0x5b3d;super(...arguments),this[_0x590a86(0xfb)]=new(_0x40ba38())();}static get[_0xbedc6e(0x12e)](){return[_0x3dc13d];}static get[_0xbedc6e(0x14d)](){const _0x20d635=_0xbedc6e;return _0x20d635(0x10f);}static get[_0xbedc6e(0x112)](){return!0x0;}static get[_0xbedc6e(0x126)](){return!0x0;}[_0xbedc6e(0x140)](){const _0x327101=_0xbedc6e,_0x1614a9=this[_0x327101(0x148)],_0x117267=_0x1614a9[_0x327101(0xf0)][_0x327101(0x110)](_0x3dc13d);_0x1614a9[_0x327101(0x141)][_0x327101(0xff)](_0x327101(0x137))[_0x327101(0xfd)]({'model':_0x327101(0x14e),'view':(_0x4ea125,{writer:_0x58bc76})=>function(_0xf1ba3c,_0x32f13c,_0x421b46,_0x108128){const _0x545d0f=_0x327101,_0x3f6884=_0xf1ba3c[_0x545d0f(0x161)][_0x545d0f(0x135)](':')[0x2],_0x50dce6=_0x421b46[_0x545d0f(0x130)](_0x3f6884);if(!_0x50dce6||_0x3f6884===_0x421b46[_0x545d0f(0x14c)])return;if(!_0x108128[_0x545d0f(0x12a)][_0x545d0f(0x163)][_0x545d0f(0x104)](_0xf1ba3c[_0x545d0f(0x12b)][_0x545d0f(0x10c)],_0x545d0f(0x125)))return;const _0xb9e144={'class':_0x545d0f(0xf8)+_0x50dce6[_0x545d0f(0x108)][_0x545d0f(0x11d)](),'data-name':_0x50dce6[_0x545d0f(0x155)],'data-session-id':_0x3f6884},_0x5da4b6=_0x108128[_0x545d0f(0x12a)][_0x545d0f(0x101)][_0x545d0f(0x110)](_0xf1ba3c[_0x545d0f(0x161)]),_0x4bdc63=_0x5da4b6[_0x545d0f(0x13d)](),_0x4c3e3d=_0x4bdc63[_0x545d0f(0x109)],_0x4223b0=_0x108128[_0x545d0f(0x12a)][_0x545d0f(0x163)];if(_0x4c3e3d&&_0x4223b0[_0x545d0f(0x122)](_0x4c3e3d)&&_0x4223b0[_0x545d0f(0x100)](_0x4c3e3d)&&!_0x108128[_0x545d0f(0x12a)][_0x545d0f(0x101)][_0x545d0f(0x110)](_0x545d0f(0x14a)+_0x3f6884)[_0x545d0f(0x115)]()[_0x545d0f(0x16a)])return;const _0x53e96e=_0x4bdc63[_0x545d0f(0x133)];return _0x108128[_0x545d0f(0x12a)][_0x545d0f(0x163)][_0x545d0f(0x106)](_0x53e96e)&&!_0x108128[_0x545d0f(0x12a)][_0x545d0f(0x15a)](_0x53e96e)&&(_0xb9e144[_0x545d0f(0xeb)]=!0x1),function(_0x29bdfa,_0x41d604,_0x305132){const _0x4da344=_0x545d0f,_0xbdf02a=_0x29bdfa[_0x4da344(0x13b)](_0x4da344(0x156),_0x41d604);return _0x29bdfa[_0x4da344(0x118)](_0x4da344(0x160),!0x0,_0xbdf02a),_0xbdf02a[_0x4da344(0x128)]=function(_0x29f887){const _0x111eff=_0x4da344,_0x1987bc=this[_0x111eff(0x147)](_0x29f887);return _0x1987bc[_0x111eff(0x169)]=_0x111eff(0x102)+_0x305132[_0x111eff(0x155)]+_0x111eff(0x166),_0x1987bc[_0x111eff(0xfc)](_0x111eff(0x162),()=>{const _0x58bd57=_0x111eff;_0x1987bc[_0x58bd57(0x136)][_0x58bd57(0x16d)](_0x58bd57(0xfa));}),_0x1987bc[_0x111eff(0xfc)](_0x111eff(0x119),()=>{const _0x37c9f0=_0x111eff;_0x1987bc[_0x37c9f0(0x136)][_0x37c9f0(0x10e)](_0x37c9f0(0xfa));}),_0x1987bc;},_0xbdf02a[_0x4da344(0x165)]=function(_0x3d01ee){const _0x39633a=_0x4da344;return!(!this[_0x39633a(0x151)](_0x39633a(0x160))||!_0x3d01ee[_0x39633a(0x151)](_0x39633a(0x160))||this[_0x39633a(0x15f)](_0x39633a(0x116))!=_0x3d01ee[_0x39633a(0x15f)](_0x39633a(0x116)));},_0xbdf02a;}(_0x32f13c,_0xb9e144,_0x50dce6);}(_0x4ea125,_0x58bc76,_0x117267,_0x1614a9)}),_0x1614a9[_0x327101(0x141)][_0x327101(0xff)](_0x327101(0x137))[_0x327101(0x157)]({'model':_0x327101(0x124),'view':_0x1a1dda=>function(_0x1bcfe9,_0x10819a){const _0x47ef91=_0x327101,_0x167022=_0x1bcfe9[_0x47ef91(0x161)][_0x47ef91(0x135)](':')[0x2];if(_0x167022===_0x10819a[_0x47ef91(0x14c)])return null;const _0x503010=_0x10819a[_0x47ef91(0x130)](_0x167022);if(!_0x503010)return{'id':_0x167022,'classes':[]};return{'id':_0x167022,'classes':[_0x47ef91(0x154),_0x503010[_0x47ef91(0x108)][_0x47ef91(0x167)]()],'attributes':{'data-session-id':_0x167022},'priority':0x7d0+_0x503010[_0x47ef91(0x11b)]};}(_0x1a1dda,_0x117267)}),function(_0x3abffe){const _0x2bf14f=_0x327101,_0x728e1e=_0x3abffe[_0x2bf14f(0x12a)],_0x69c81e=new Map(),_0x17cf9d=_0x3abffe[_0x2bf14f(0xf0)][_0x2bf14f(0x110)](_0x3dc13d);_0x728e1e[_0x2bf14f(0x101)]['on'](_0x2bf14f(0x13c),(_0x5250d4,_0x29759a,_0x74a120,_0x4358f8)=>{const _0x22b6c3=_0x2bf14f;if(!_0x4358f8&&_0x69c81e[_0x22b6c3(0x110)](_0x29759a[_0x22b6c3(0x155)]))return _0x69c81e[_0x22b6c3(0x110)](_0x29759a[_0x22b6c3(0x155)])[_0x22b6c3(0xf2)](),void _0x69c81e[_0x22b6c3(0x15e)](_0x29759a[_0x22b6c3(0x155)]);const _0x348f55=_0x29759a[_0x22b6c3(0x155)][_0x22b6c3(0x135)](':')[0x2];if(_0x348f55===_0x17cf9d[_0x22b6c3(0x14c)])return;const _0x3bb07e=_0x22b6c3(0x142)+_0x348f55;_0x728e1e[_0x22b6c3(0x101)][_0x22b6c3(0x120)](_0x3bb07e)&&_0x3abffe[_0x22b6c3(0x144)][_0x22b6c3(0x15d)](_0x3bb07e),_0x29759a['on'](_0x22b6c3(0x145),(_0x5a76a0,_0x57c608,_0x2a8f30)=>{const _0x2ff4c1=_0x22b6c3;if(_0x2ff4c1(0x11c)!=_0x57c608[_0x2ff4c1(0xf6)][_0x2ff4c1(0x143)]&&_0x2ff4c1(0x11c)==_0x29759a[_0x2ff4c1(0x115)]()[_0x2ff4c1(0xf6)][_0x2ff4c1(0x143)]&&!_0x69c81e[_0x2ff4c1(0x120)](_0x29759a[_0x2ff4c1(0x155)])){const _0x4dbb32=_0x728e1e[_0x2ff4c1(0x163)][_0x2ff4c1(0x16e)](_0x2a8f30[_0x2ff4c1(0x150)]);if(_0x4dbb32){const _0x37e2e7=_0x4d5a22[_0x2ff4c1(0x11a)](_0x4dbb32);_0x69c81e[_0x2ff4c1(0x12d)](_0x29759a[_0x2ff4c1(0x155)],_0x37e2e7),_0x37e2e7['on'](_0x2ff4c1(0x145),(_0x4edd6b,_0x4edaf0,_0x3f419f)=>{const _0x2a59e6=_0x2ff4c1;if(_0x2a59e6(0x11c)==_0x37e2e7[_0x2a59e6(0xf6)][_0x2a59e6(0x143)]){const _0x3ecd2d=_0x728e1e[_0x2a59e6(0x163)][_0x2a59e6(0x16e)](_0x3f419f[_0x2a59e6(0x150)]);_0x3ecd2d?(_0x37e2e7[_0x2a59e6(0x10c)]=_0x3ecd2d[_0x2a59e6(0x10c)],_0x37e2e7[_0x2a59e6(0xf5)]=_0x3ecd2d[_0x2a59e6(0xf5)]):(_0x69c81e[_0x2a59e6(0x15e)](_0x29759a[_0x2a59e6(0x155)]),_0x37e2e7[_0x2a59e6(0xf2)]());}});}}});}),_0x728e1e[_0x2bf14f(0x16c)]['on'](_0x2bf14f(0x13f),()=>{const _0x3affb4=_0x2bf14f;_0x69c81e[_0x3affb4(0xf7)]>0x0&&_0x728e1e[_0x3affb4(0x14f)]({'isUndoable':!0x1},_0x25d795=>{const _0x57e8a5=_0x3affb4;for(const [_0xca9b7c,_0x13c38d]of _0x69c81e)_0x57e8a5(0x11c)==_0x728e1e[_0x57e8a5(0x101)][_0x57e8a5(0x110)](_0xca9b7c)[_0x57e8a5(0x115)]()[_0x57e8a5(0xf6)][_0x57e8a5(0x143)]&&(re(_0xca9b7c[_0x57e8a5(0x135)](':')[0x2],_0x13c38d[_0x57e8a5(0x123)](),_0x728e1e,_0x25d795),_0x13c38d[_0x57e8a5(0xf2)]());_0x69c81e[_0x57e8a5(0x16f)]();});});}(_0x1614a9),this[_0x327101(0xfb)][_0x327101(0x10d)](_0x334f35[_0x327101(0x16c)],_0x327101(0x10b),(_0x557185,{key:_0x4a028d})=>{const _0x223166=_0x327101;_0x223166(0x134)===_0x4a028d&&function(_0x52cc6d){const _0x98ef2f=_0x223166;_0x52cc6d[_0x98ef2f(0x144)][_0x98ef2f(0xea)][_0x98ef2f(0x13f)](_0x1e895e=>{const _0x15b008=_0x98ef2f;for(const _0x3a1394 of _0x52cc6d[_0x15b008(0x12a)][_0x15b008(0x101)]){if(!_0x3a1394[_0x15b008(0x155)][_0x15b008(0x15b)](_0x15b008(0x14e)))continue;const _0x428326=_0x52cc6d[_0x15b008(0x144)][_0x15b008(0x14b)][_0x15b008(0x12c)](_0x3a1394[_0x15b008(0x155)]);if(_0x428326){for(const _0x4f6dd8 of _0x428326)_0x1e895e[_0x15b008(0x10a)](_0x15b008(0xfa),_0x4f6dd8);}}});}(_0x1614a9);},{'useCapture':!0x0});}[_0xbedc6e(0x11e)](){const _0x558358=_0xbedc6e,_0x582a06=this[_0x558358(0x148)],_0x2ef8b2=_0x582a06[_0x558358(0x158)][_0x558358(0x110)](_0x558358(0x139));_0x2ef8b2&&_0x582a06[_0x558358(0x12a)]['on'](_0x558358(0xed),(_0x52301e,_0x1b2af9)=>{const _0x554aad=_0x558358,_0x4c20f9=_0x1b2af9[0x0];if(!_0x4c20f9[_0x554aad(0x13a)])return;if(_0x554aad(0x132)!=_0x4c20f9[_0x554aad(0xef)]||!_0x4c20f9[_0x554aad(0x155)][_0x554aad(0x15b)](_0x554aad(0x114)))return;const _0x46bbdf=_0x4c20f9[_0x554aad(0x146)];_0x2ef8b2[_0x554aad(0x153)][_0x554aad(0x120)](_0x46bbdf)&&(_0x4c20f9[_0x554aad(0x117)]=_0x4c20f9[_0x554aad(0xf1)]?_0x582a06[_0x554aad(0x12a)][_0x554aad(0x11f)](_0x4c20f9[_0x554aad(0xf1)][_0x554aad(0x10c)],_0x4c20f9[_0x554aad(0xf1)][_0x554aad(0xf5)]):null);},{'priority':_0x558358(0x111)});}[_0xbedc6e(0xee)](){const _0x416c78=_0xbedc6e;return this[_0x416c78(0xfb)][_0x416c78(0x113)](),super[_0x416c78(0xee)]();}[_0xbedc6e(0x107)](){const _0x4c718c=_0xbedc6e,_0x404772=this[_0x4c718c(0x148)],_0x4ca789=_0x404772[_0x4c718c(0x12a)][_0x4c718c(0x16c)],_0x10c9ff=_0x404772[_0x4c718c(0xf0)][_0x4c718c(0x110)](_0x3dc13d);_0x404772[_0x4c718c(0x12a)][_0x4c718c(0x14f)]({'isUndoable':!0x1},_0x30c252=>{const _0x2cf3cf=_0x4c718c,_0x57afa7=_0x2cf3cf(0x14a)+_0x10c9ff[_0x2cf3cf(0x14c)],_0x362dc4=_0x2cf3cf(0x142)+_0x10c9ff[_0x2cf3cf(0x14c)],_0x25531e=_0x404772[_0x2cf3cf(0x12a)][_0x2cf3cf(0x101)][_0x2cf3cf(0x120)](_0x57afa7);_0x404772[_0x2cf3cf(0x144)][_0x2cf3cf(0xea)][_0x2cf3cf(0x168)]?re(_0x10c9ff[_0x2cf3cf(0x14c)],_0x4ca789[_0x2cf3cf(0xec)][_0x2cf3cf(0x164)](),_0x404772[_0x2cf3cf(0x12a)],_0x30c252):_0x25531e&&(_0x30c252[_0x2cf3cf(0xf3)](_0x57afa7),_0x30c252[_0x2cf3cf(0xf3)](_0x362dc4));});}}function re(_0x2fe4eb,_0x5bb232,_0x47ace8,_0x3124c0){const _0x50e9d9=_0xbedc6e,_0x2a8166=_0x50e9d9(0x14a)+_0x2fe4eb,_0x20c529=_0x50e9d9(0x142)+_0x2fe4eb,_0x28328f=_0x5bb232[_0x50e9d9(0x129)]();let _0x2cf933=_0x5bb232[_0x50e9d9(0x10c)];_0x28328f&&_0x28328f['is'](_0x50e9d9(0x127),_0x50e9d9(0x16b))&&(_0x2cf933=function(_0x78b576,_0x461600){const _0x2f53d6=_0x50e9d9;for(const _0x243e9e of _0x78b576[_0x2f53d6(0xf4)]())if(_0x461600[_0x2f53d6(0x163)][_0x2f53d6(0x104)](_0x243e9e,_0x2f53d6(0x125)))return _0x243e9e;}(_0x5bb232,_0x47ace8),_0x5bb232=_0x3124c0[_0x50e9d9(0x11f)](_0x2cf933));const _0x3e3f0e=_0x3124c0[_0x50e9d9(0x11f)](_0x2cf933);_0x47ace8[_0x50e9d9(0x101)][_0x50e9d9(0x120)](_0x2a8166)?(_0x3124c0[_0x50e9d9(0x12f)](_0x2a8166,{'range':_0x5bb232}),_0x3124c0[_0x50e9d9(0x12f)](_0x20c529,{'range':_0x3e3f0e})):(_0x3124c0[_0x50e9d9(0x121)](_0x2a8166,{'range':_0x5bb232,'usingOperation':!0x0}),_0x3124c0[_0x50e9d9(0x121)](_0x20c529,{'range':_0x3e3f0e,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d03a8=_0x4d6a;(function(_0x538e4a,_0x1c184b){const _0x18f641=_0x4d6a,_0x28d06e=_0x538e4a();while(!![]){try{const _0x209574=parseInt(_0x18f641(0x201))/0x1+-parseInt(_0x18f641(0x20e))/0x2+parseInt(_0x18f641(0x1f3))/0x3*(parseInt(_0x18f641(0x1f6))/0x4)+-parseInt(_0x18f641(0x225))/0x5+parseInt(_0x18f641(0x1ec))/0x6*(-parseInt(_0x18f641(0x1f9))/0x7)+-parseInt(_0x18f641(0x20a))/0x8+parseInt(_0x18f641(0x21e))/0x9;if(_0x209574===_0x1c184b)break;else _0x28d06e['push'](_0x28d06e['shift']());}catch(_0x4af456){_0x28d06e['push'](_0x28d06e['shift']());}}}(_0x1455,0xef988));import{ContextPlugin as _0x4d1783}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x55c187,CKEditorError as _0x549378}from'ckeditor5/src/utils.js';function _0x1455(){const _0x5add22=['633234maNIIJ','connect','requires','isPremiumPlugin','listenTo','webSocketUrl','_isBrowserOffline','15AJhgAq','_shouldPluginsReconnect','pluginName','246236NcQQEr','bind','CONNECTED','42rIMcWa','real-time-collaboration','token','code','connected','cloudservices-reconnection-error','create','catch','112072XfwaLC','cloudServices.requestTimeout','all','plugins','isInReconnectionStack','_domEmitter','WebSocketGateway','context','state','13435568RvvJib','websocketgateway-missing-token','get','initialReconnectionInterval','766654SZdOeB','disconnect','showWarning','_reconnectionStack','connection','reconnect','CONNECTING','DISCONNECTED','websocketgateway-missing-websocket-url','websocketgateway-invalid-plugin-interface','CloudServices','add','online','stopListening','cloudServices.connectionTimeout','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.','34122771mNbSJu','from','offline','has','cloudservices-init','change:me','function','2669475NjUvzv','delete','Connected\x20users\x20limit\x20exceeded','then','define','init','config','set','error','addToReconnectionStack','limitExceeded','websocketgateway-plugin-already-registered','constructor','destroy','removeFromReconnectionStack','isOfficialPlugin','_reconnect'];_0x1455=function(){return _0x5add22;};return _0x1455();}import{WebSocketGateway as _0x387d7e,WEB_SOCKET_GATEWAY_STATES as _0x1b67e3}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x15f67a}from'ckeditor5/src/ui.js';class c extends _0x4d1783{static get[_0x5d03a8(0x1ee)](){const _0x505d47=_0x5d03a8;return[_0x505d47(0x218),_0x15f67a];}static get[_0x5d03a8(0x1f5)](){const _0x1587f1=_0x5d03a8;return _0x1587f1(0x207);}static get[_0x5d03a8(0x234)](){return!0x0;}static get[_0x5d03a8(0x1ef)](){return!0x0;}constructor(_0x1218a5){const _0x32e459=_0x5d03a8;super(_0x1218a5),this[_0x32e459(0x22c)](_0x32e459(0x209),_0x1b67e3[_0x32e459(0x1f8)]),this[_0x32e459(0x22c)](_0x32e459(0x1f2),!0x1),this[_0x32e459(0x211)]=new Set(),this[_0x32e459(0x1f4)]=!0x1,this[_0x32e459(0x206)]=Object[_0x32e459(0x1ff)](_0x55c187);}[_0x5d03a8(0x22a)](){const _0x1a6b79=_0x5d03a8,_0x12b0bc=this[_0x1a6b79(0x208)],_0x25ad05=_0x12b0bc[_0x1a6b79(0x204)][_0x1a6b79(0x20c)](_0x1a6b79(0x218)),_0x2128e0=_0x12b0bc[_0x1a6b79(0x204)][_0x1a6b79(0x20c)](_0x15f67a);if(!_0x25ad05[_0x1a6b79(0x1fb)])throw new _0x549378(_0x1a6b79(0x20b),this);if(!_0x25ad05[_0x1a6b79(0x1f1)])throw new _0x549378(_0x1a6b79(0x216),this);return this[_0x1a6b79(0x206)][_0x1a6b79(0x1f0)](window,_0x1a6b79(0x220),()=>this[_0x1a6b79(0x1f2)]=!0x0),this[_0x1a6b79(0x206)][_0x1a6b79(0x1f0)](window,_0x1a6b79(0x21a),()=>this[_0x1a6b79(0x1f2)]=!0x1),this[_0x1a6b79(0x208)][_0x1a6b79(0x22b)][_0x1a6b79(0x229)](_0x1a6b79(0x21c),0xa),this[_0x1a6b79(0x208)][_0x1a6b79(0x22b)][_0x1a6b79(0x229)](_0x1a6b79(0x202),0x14),c[_0x1a6b79(0x207)][_0x1a6b79(0x1ed)](_0x25ad05[_0x1a6b79(0x1fb)],_0x25ad05[_0x1a6b79(0x1f1)],{'timeout':0x3e8*this[_0x1a6b79(0x208)][_0x1a6b79(0x22b)][_0x1a6b79(0x20c)](_0x1a6b79(0x21c)),'requestTimeout':0x3e8*this[_0x1a6b79(0x208)][_0x1a6b79(0x22b)][_0x1a6b79(0x20c)](_0x1a6b79(0x202))})[_0x1a6b79(0x228)](_0xa8ab13=>{const _0x3b33e7=_0x1a6b79;if(this[_0x3b33e7(0x212)]=_0xa8ab13,this[_0x3b33e7(0x1f7)](_0x3b33e7(0x209))['to'](_0xa8ab13,_0x3b33e7(0x209),this,_0x3b33e7(0x1f2),(_0x1d0051,_0x4dc8d1)=>(_0x3b33e7(0x1fd)!==_0x1d0051&&(this[_0x3b33e7(0x1f4)]=!0x0),_0x4dc8d1||_0x1d0051!==_0x1b67e3[_0x3b33e7(0x1f8)]?_0x1b67e3[_0x3b33e7(0x215)]:this[_0x3b33e7(0x209)]==_0x1b67e3[_0x3b33e7(0x215)]&&this[_0x3b33e7(0x1f4)]?(this[_0x3b33e7(0x1f4)]=!0x1,this[_0x3b33e7(0x1eb)](),_0x1b67e3[_0x3b33e7(0x214)]):_0x1b67e3[_0x3b33e7(0x1f8)])),this[_0x3b33e7(0x212)]['on'](_0x3b33e7(0x22d),(_0x594bd9,_0x579b31)=>{const _0x6dfa2c=_0x3b33e7;if(_0x6dfa2c(0x22f)!==_0x579b31[_0x6dfa2c(0x1fc)])throw console[_0x6dfa2c(0x22d)](_0x579b31),new _0x549378(_0x6dfa2c(0x222),null,{'originalError':_0x579b31});_0x2128e0[_0x6dfa2c(0x210)](_0x6dfa2c(0x21d),{'title':_0x6dfa2c(0x227),'namespace':_0x6dfa2c(0x1fa)});}),!_0xa8ab13['me'])return new Promise(_0x5b5424=>_0xa8ab13['on'](_0x3b33e7(0x223),_0x5b5424));})[_0x1a6b79(0x200)](_0x2b2b28=>{const _0x81e3f5=_0x1a6b79;throw console[_0x81e3f5(0x22d)](_0x2b2b28),new _0x549378(_0x81e3f5(0x222),null,{'originalError':_0x2b2b28});});}[_0x5d03a8(0x22e)](_0x64694d){const _0x3b3f6e=_0x5d03a8;if(_0x3b3f6e(0x224)!=typeof _0x64694d[_0x3b3f6e(0x213)])throw new _0x549378(_0x3b3f6e(0x217),this);if(this[_0x3b3f6e(0x205)](_0x64694d))throw new _0x549378(_0x3b3f6e(0x230),this,{'name':_0x64694d[_0x3b3f6e(0x231)][_0x3b3f6e(0x1f5)]});this[_0x3b3f6e(0x211)][_0x3b3f6e(0x219)](_0x64694d);}[_0x5d03a8(0x233)](_0xaf4b50){const _0x279cfc=_0x5d03a8;this[_0x279cfc(0x211)][_0x279cfc(0x226)](_0xaf4b50);}[_0x5d03a8(0x205)](_0x3e3ed4){const _0x4834b4=_0x5d03a8;return this[_0x4834b4(0x211)][_0x4834b4(0x221)](_0x3e3ed4);}[_0x5d03a8(0x1eb)](){const _0x2e93bf=_0x5d03a8;return this[_0x2e93bf(0x212)][_0x2e93bf(0x213)]()[_0x2e93bf(0x228)](()=>Promise[_0x2e93bf(0x203)](Array[_0x2e93bf(0x21f)](this[_0x2e93bf(0x211)],_0x3305a6=>_0x3305a6[_0x2e93bf(0x213)]())))[_0x2e93bf(0x228)](()=>this[_0x2e93bf(0x209)]=_0x1b67e3[_0x2e93bf(0x1f8)])[_0x2e93bf(0x200)](_0x1e4518=>{const _0x5b31f9=_0x2e93bf;throw console[_0x5b31f9(0x22d)](_0x1e4518),new _0x549378(_0x5b31f9(0x1fe),this[_0x5b31f9(0x208)]);});}[_0x5d03a8(0x20f)](){const _0x18ccf5=_0x5d03a8;this[_0x18ccf5(0x212)]&&this[_0x18ccf5(0x212)][_0x18ccf5(0x20f)](),this[_0x18ccf5(0x209)]=_0x1b67e3[_0x18ccf5(0x215)],this[_0x18ccf5(0x206)][_0x18ccf5(0x21b)]();}[_0x5d03a8(0x232)](){const _0x32901d=_0x5d03a8;this[_0x32901d(0x20f)](),super[_0x32901d(0x232)]();}}function _0x4d6a(_0x22bd49,_0x16d61d){const _0x1455e0=_0x1455();return _0x4d6a=function(_0x4d6a96,_0x4113c1){_0x4d6a96=_0x4d6a96-0x1eb;let _0x747b1c=_0x1455e0[_0x4d6a96];return _0x747b1c;},_0x4d6a(_0x22bd49,_0x16d61d);}c[_0x5d03a8(0x207)]=_0x387d7e,c[_0x5d03a8(0x20d)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4de8(){var _0x10a370=['4743920SkuWEY','RealTimeCollaborativeEditing','215439JMKXLJ','1770552uQqnBY','requires','2093bsxQmr','isOfficialPlugin','1048758VQTeHd','2NlaOWQ','isPremiumPlugin','9066RPNjuu','4037525JBDLgu','2661462hUwqkF','pluginName'];_0x4de8=function(){return _0x10a370;};return _0x4de8();}var _0x554f8f=_0x31a6;(function(_0x4a87cc,_0x262e17){var _0x3caa02=_0x31a6,_0x56adf8=_0x4a87cc();while(!![]){try{var _0x5f0160=-parseInt(_0x3caa02(0xb1))/0x1+parseInt(_0x3caa02(0xb2))/0x2*(parseInt(_0x3caa02(0xba))/0x3)+-parseInt(_0x3caa02(0xbb))/0x4+parseInt(_0x3caa02(0xb5))/0x5+-parseInt(_0x3caa02(0xb4))/0x6*(-parseInt(_0x3caa02(0xaf))/0x7)+parseInt(_0x3caa02(0xb8))/0x8+parseInt(_0x3caa02(0xb6))/0x9;if(_0x5f0160===_0x262e17)break;else _0x56adf8['push'](_0x56adf8['shift']());}catch(_0x545fdf){_0x56adf8['push'](_0x56adf8['shift']());}}}(_0x4de8,0xb1d63));import{Plugin as _0x4ef06f}from'ckeditor5/src/core.js';import _0x50cc72 from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x31a6(_0x2223a9,_0x588ba0){var _0x4de84b=_0x4de8();return _0x31a6=function(_0x31a633,_0x3fa254){_0x31a633=_0x31a633-0xaf;var _0xca0e02=_0x4de84b[_0x31a633];return _0xca0e02;},_0x31a6(_0x2223a9,_0x588ba0);}export default class n extends _0x4ef06f{static get[_0x554f8f(0xbc)](){return[_0x50cc72];}static get[_0x554f8f(0xb7)](){var _0x5ead20=_0x554f8f;return _0x5ead20(0xb9);}static get[_0x554f8f(0xb0)](){return!0x0;}static get[_0x554f8f(0xb3)](){return!0x0;}}
|