@ckeditor/ckeditor5-real-time-collaboration 43.3.1-alpha.0 → 43.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x35a9e3=_0x1f3c;(function(_0x1c930d,_0xaac9a2){const _0x294602=_0x1f3c,_0x27de68=_0x1c930d();while(!![]){try{const _0x1e480f=parseInt(_0x294602(0x194))/0x1+parseInt(_0x294602(0x172))/0x2*(-parseInt(_0x294602(0x16a))/0x3)+-parseInt(_0x294602(0x19a))/0x4*(-parseInt(_0x294602(0x15f))/0x5)+parseInt(_0x294602(0x185))/0x6*(parseInt(_0x294602(0x169))/0x7)+parseInt(_0x294602(0x18f))/0x8*(-parseInt(_0x294602(0x17f))/0x9)+parseInt(_0x294602(0x14f))/0xa*(-parseInt(_0x294602(0x15b))/0xb)+-parseInt(_0x294602(0x183))/0xc*(-parseInt(_0x294602(0x195))/0xd);if(_0x1e480f===_0xaac9a2)break;else _0x27de68['push'](_0x27de68['shift']());}catch(_0x5aa605){_0x27de68['push'](_0x27de68['shift']());}}}(_0x2ed2,0xb56c1));import{Context as _0xf5ee37,ContextPlugin as _0x27f9e7}from'ckeditor5/src/core.js';import{CKEditorError as _0x4b1c39}from'ckeditor5/src/utils.js';function _0x1f3c(_0xf555c9,_0xb3a084){const _0x2ed2fb=_0x2ed2();return _0x1f3c=function(_0x1f3cc0,_0x3a162b){_0x1f3cc0=_0x1f3cc0-0x140;let _0x358443=_0x2ed2fb[_0x1f3cc0];return _0x358443;},_0x1f3c(_0xf555c9,_0xb3a084);}import{Users as _0x2ad0ac}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x3507b4,User as _0x43f53d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x17f546 from'../realtimecollaborativeediting/websocketgateway.js';function _0x2ed2(){const _0x44acef=['getCommentThreads','getComment','getUser','resolve','getCommentThread','keys','24upsAYR','update','resolvedAt','getConnectedSessions','remove','342079bPVIfT','286MyJUkg','commentRemoved','map','removeCommentThread','updateComment','428CHfZNA','attributes','addToReconnectionStack','comments','userId','assign','resolvedBy','content','connect','_terminateService','get','commentAdded','CommentsService','Permissions','config','updateCommentThread','cloudservicescommentsadapter-connect-already-connected','add','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','catch','cloudservicescommentsadapter-service-not-exist','collaboration.channelId','commentUpdated','reopen','unregister','404','createdAt','plugins','pluginName','destroy','270tvNoKs','removeComment','disconnect','set','_getService','commentId','cloud-services-internal-error:\x20Request\x20timeout.','cloud-services-internal-error:\x20Not\x20connected.','addComment','getMany','resolveCommentThread','has','188947GNYuSI','off','cloudservicescommentsadapter-disconnect-not-exist','authorId','22445ytKopy','_setUpService','permissions','deletedAt','requires','reopenCommentThread','setPermissions','delete','CommentsRepository','listenTo','137298kOFwNE','1389gMezOT','isOfficialPlugin','addUser','context','commentThreadUpdated','from','startsWith','commentThreadAdded','4006MRZDNK','register','_connectService','size','mySessionId','addCommentThread','code','commentThreadId','sessionAdd:','init','reconnect','isPremiumPlugin','commentThreadResolved','1391679ECiOcT','_services','commentThreadRemoved','_fetchMissingUsersForThreads','251796kaTzuP','message','402zHzDUS','commentThreadReopened','adapter','CloudServicesCommentsAdapter'];_0x2ed2=function(){return _0x44acef;};return _0x2ed2();}import _0xd2939 from'../realtimecollaborativeediting/sessions.js';class a extends _0x27f9e7{static get[_0x35a9e3(0x163)](){const _0x56bfae=_0x35a9e3;return[_0x17f546,_0x56bfae(0x167),_0xd2939,_0x2ad0ac];}static get[_0x35a9e3(0x14d)](){const _0x56c866=_0x35a9e3;return _0x56c866(0x188);}static get[_0x35a9e3(0x16b)](){return!0x0;}static get[_0x35a9e3(0x17d)](){return!0x0;}constructor(_0x4f1fb7){const _0x1fd7ca=_0x35a9e3;super(_0x4f1fb7),this[_0x1fd7ca(0x180)]=new Map();}async[_0x35a9e3(0x17b)](){const _0x20b124=_0x35a9e3,_0x7e05f4=this[_0x20b124(0x16d)],_0x3deda8=_0x7e05f4[_0x20b124(0x14c)][_0x20b124(0x1a4)](_0x20b124(0x167));if(_0x7e05f4[_0x20b124(0x14c)][_0x20b124(0x1a4)](_0x17f546)[_0x20b124(0x19c)](this),_0x3deda8[_0x20b124(0x187)]={'addCommentThread':async({channelId:_0x4299c9,threadId:_0x1fe70b,comments:_0x40280e,resolvedAt:_0x2176a5,resolvedBy:_0x33bae5,context:_0x4324a9,attributes:_0x5bec2d})=>{const _0x37778d=_0x20b124,_0x4a981a=await this[_0x37778d(0x153)](_0x4299c9)[_0x37778d(0x177)]({'commentThreadId':_0x1fe70b,'comments':_0x40280e[_0x37778d(0x197)](_0x36a3db=>function(_0x45d1b8,_0x2bc682,_0x5eb246){const _0x39a064=_0x37778d;return{'commentThreadId':_0x5eb246,'commentId':_0x45d1b8[_0x39a064(0x154)],'userId':_0x45d1b8[_0x39a064(0x15e)],'content':_0x45d1b8[_0x39a064(0x1a1)],'documentId':_0x2bc682,'createdAt':_0x45d1b8[_0x39a064(0x14b)],'attributes':_0x45d1b8[_0x39a064(0x19b)]||{}};}(_0x36a3db,_0x4299c9,_0x1fe70b)),'resolvedAt':_0x2176a5,'resolvedBy':_0x33bae5,'context':_0x4324a9,'attributes':_0x5bec2d})[_0x37778d(0x144)](R);return{'threadId':_0x4a981a[_0x37778d(0x179)],'comments':_0x4a981a[_0x37778d(0x19d)]};},'getCommentThread':async({channelId:_0x1cfe54,threadId:_0x1c48c7})=>{const _0x82e6ce=_0x20b124,_0x2fd902=await this[_0x82e6ce(0x153)](_0x1cfe54)[_0x82e6ce(0x18d)](_0x1c48c7)[_0x82e6ce(0x144)](R);return _0x2fd902[_0x82e6ce(0x162)]?null:(await this[_0x82e6ce(0x182)]([_0x2fd902]),{'threadId':_0x2fd902[_0x82e6ce(0x179)],'comments':_0x2fd902[_0x82e6ce(0x19d)][_0x82e6ce(0x197)](S),'context':_0x2fd902[_0x82e6ce(0x16d)],'resolvedAt':_0x2fd902[_0x82e6ce(0x191)],'resolvedBy':_0x2fd902[_0x82e6ce(0x1a0)],'attributes':_0x2fd902[_0x82e6ce(0x19b)]||{}});},'updateCommentThread':async({channelId:_0x41df7e,threadId:_0x4d4e5c,context:_0x30343e,unlinkedAt:_0xb33205,attributes:_0x1c5457})=>this[_0x20b124(0x153)](_0x41df7e)[_0x20b124(0x140)]({'commentThreadId':_0x4d4e5c,'context':_0x30343e,'attributes':_0x1c5457,'unlinkedAt':_0xb33205})[_0x20b124(0x144)](B)[_0x20b124(0x144)](R),'resolveCommentThread':async({channelId:_0x3b29dc,threadId:_0x3b9821})=>{const _0x263645=_0x20b124,_0x302996=await this[_0x263645(0x153)](_0x3b29dc)[_0x263645(0x159)](_0x3b9821)[_0x263645(0x144)](B)[_0x263645(0x144)](R);return{'threadId':_0x302996[_0x263645(0x179)],'resolvedAt':_0x302996[_0x263645(0x191)],'resolvedBy':_0x302996[_0x263645(0x1a0)]};},'reopenCommentThread':async({channelId:_0x5949a8,threadId:_0x456b4e})=>this[_0x20b124(0x153)](_0x5949a8)[_0x20b124(0x164)](_0x456b4e)[_0x20b124(0x144)](B)[_0x20b124(0x144)](R),'removeCommentThread':({channelId:_0xc8ddb0,threadId:_0x29d3b4})=>this[_0x20b124(0x153)](_0xc8ddb0)[_0x20b124(0x198)](_0x29d3b4)[_0x20b124(0x144)](B)[_0x20b124(0x144)](R),'addComment':({channelId:_0x48b727,threadId:_0x495a2f,commentId:_0x3e8709,content:_0xb5a5dd,attributes:_0x345238})=>this[_0x20b124(0x153)](_0x48b727)[_0x20b124(0x157)](_0x495a2f,_0x3e8709,_0xb5a5dd,_0x345238)[_0x20b124(0x144)](R),'updateComment':({channelId:_0x5e84c3,threadId:_0x3135a7,commentId:_0x454aed,content:_0xb86fb,attributes:_0x1d2a46})=>this[_0x20b124(0x153)](_0x5e84c3)[_0x20b124(0x199)](_0x3135a7,_0x454aed,_0xb86fb,_0x1d2a46)[_0x20b124(0x144)](B)[_0x20b124(0x144)](R),'removeComment':({channelId:_0x6ab953,threadId:_0x4a6865,commentId:_0x834b42})=>this[_0x20b124(0x153)](_0x6ab953)[_0x20b124(0x150)](_0x4a6865,_0x834b42)[_0x20b124(0x144)](B)[_0x20b124(0x144)](R)},_0x7e05f4 instanceof _0xf5ee37){const _0x2c0dec=_0x7e05f4[_0x20b124(0x1a8)][_0x20b124(0x1a4)](_0x20b124(0x146)),_0x58c8d6=_0x7e05f4[_0x20b124(0x14c)][_0x20b124(0x1a4)](_0xd2939);await this[_0x20b124(0x160)](_0x2c0dec);const _0x5dbfea=await this[_0x20b124(0x180)][_0x20b124(0x1a4)](_0x2c0dec)[_0x20b124(0x192)]();this[_0x20b124(0x168)](_0x58c8d6,_0x20b124(0x17a)+_0x2c0dec,(_0x4be701,{session:_0x40cecb})=>{const _0x214fa1=_0x20b124;_0x40cecb['id']===_0x58c8d6[_0x214fa1(0x176)]&&(_0x4be701[_0x214fa1(0x15c)](),this[_0x214fa1(0x16d)][_0x214fa1(0x14c)][_0x214fa1(0x1a4)](_0x214fa1(0x1a7))[_0x214fa1(0x165)](_0x40cecb[_0x214fa1(0x161)],_0x2c0dec));}),_0x58c8d6[_0x20b124(0x173)](_0x2c0dec,_0x5dbfea);}}async[_0x35a9e3(0x160)](_0x5a9c3b){const _0x3127e6=_0x35a9e3;if(this[_0x3127e6(0x180)][_0x3127e6(0x15a)](_0x5a9c3b))throw new _0x4b1c39(_0x3127e6(0x141),null,{'channelId':_0x5a9c3b});const _0x41ef72=this[_0x3127e6(0x16d)][_0x3127e6(0x14c)][_0x3127e6(0x1a4)](_0x3127e6(0x167)),_0x53ab6a=new a[(_0x3127e6(0x1a6))](_0x5a9c3b);this[_0x3127e6(0x180)][_0x3127e6(0x152)](_0x5a9c3b,_0x53ab6a),this[_0x3127e6(0x168)](_0x53ab6a,_0x3127e6(0x171),(_0x35dc3d,_0x1d104b)=>{const _0x26e798=_0x3127e6,{commentThreadId:_0x47b44e,documentId:_0x23cc0d,context:_0x3ec66b,attributes:_0x3c9fd7,resolvedAt:_0x408fbb,resolvedBy:_0x2d3f7d,comments:_0x49093c}=_0x1d104b;_0x41ef72[_0x26e798(0x18d)](_0x47b44e)||_0x41ef72[_0x26e798(0x177)]({'threadId':_0x47b44e,'channelId':_0x23cc0d,'comments':_0x49093c?_0x49093c[_0x26e798(0x197)](S):[],'context':_0x3ec66b,'attributes':_0x3c9fd7,'resolvedAt':_0x408fbb,'resolvedBy':_0x2d3f7d,'isFromAdapter':!0x0});}),this[_0x3127e6(0x168)](_0x53ab6a,_0x3127e6(0x16e),(_0x14ca0d,{commentThreadId:_0x4c7314,documentId:_0x5b8563,context:_0x8f540f,unlinkedAt:_0x25c313,attributes:_0x327e6a})=>{const _0x3ad9fe=_0x3127e6;_0x41ef72[_0x3ad9fe(0x18d)](_0x4c7314)&&_0x41ef72[_0x3ad9fe(0x140)]({'threadId':_0x4c7314,'channelId':_0x5b8563,'context':_0x8f540f,'unlinkedAt':_0x25c313,'attributes':_0x327e6a,'isFromAdapter':!0x0});}),this[_0x3127e6(0x168)](_0x53ab6a,_0x3127e6(0x17e),(_0x3dbd91,{commentThreadId:_0x199685,resolvedBy:_0x42743d,resolvedAt:_0x1179c3})=>{const _0x4094e6=_0x3127e6,_0x56e5d1=_0x41ef72[_0x4094e6(0x18d)](_0x199685);_0x56e5d1&&_0x56e5d1[_0x4094e6(0x18c)]({'resolvedBy':_0x42743d,'resolvedAt':_0x1179c3,'isFromAdapter':!0x0});}),this[_0x3127e6(0x168)](_0x53ab6a,_0x3127e6(0x186),(_0x22fb9d,{commentThreadId:_0xc20e89})=>{const _0x55b505=_0x3127e6,_0x3fea07=_0x41ef72[_0x55b505(0x18d)](_0xc20e89);_0x3fea07&&_0x3fea07[_0x55b505(0x148)]({'isFromAdapter':!0x0});}),this[_0x3127e6(0x168)](_0x53ab6a,_0x3127e6(0x181),(_0x4f53d4,{commentThreadId:_0x523171})=>{const _0x1fab55=_0x3127e6,_0x143db8=_0x41ef72[_0x1fab55(0x18d)](_0x523171);_0x143db8&&_0x143db8[_0x1fab55(0x193)]({'isFromAdapter':!0x0});}),this[_0x3127e6(0x168)](_0x53ab6a,_0x3127e6(0x1a5),(_0x5820e2,_0x5a5717)=>{const _0x2e0a4b=_0x3127e6,_0x218c0e=_0x5a5717[_0x2e0a4b(0x179)],_0x1743ae=_0x41ef72[_0x2e0a4b(0x18d)](_0x218c0e);_0x1743ae&&_0x1743ae[_0x2e0a4b(0x157)]({...S(_0x5a5717),'isFromAdapter':!0x0});}),this[_0x3127e6(0x168)](_0x53ab6a,_0x3127e6(0x147),(_0x341dd6,{commentThreadId:_0x58d9e5,commentId:_0x39eb42,content:_0x306ee1,attributes:_0x4927ae})=>{const _0x78113c=_0x3127e6,_0x252ab6=_0x41ef72[_0x78113c(0x18d)](_0x58d9e5);if(_0x252ab6){const _0x42598d=_0x252ab6[_0x78113c(0x18a)](_0x39eb42);_0x42598d&&_0x42598d[_0x78113c(0x190)]({'content':_0x306ee1,'attributes':_0x4927ae,'isFromAdapter':!0x0});}}),this[_0x3127e6(0x168)](_0x53ab6a,_0x3127e6(0x196),(_0x4d5a08,{commentThreadId:_0x35f481,commentId:_0x4ab405})=>{const _0x5d6bec=_0x3127e6,_0x265cab=_0x41ef72[_0x5d6bec(0x18d)](_0x35f481);if(_0x265cab){const _0xdd961c=_0x265cab[_0x5d6bec(0x18a)](_0x4ab405);_0xdd961c&&_0xdd961c[_0x5d6bec(0x193)]({'isFromAdapter':!0x0});}}),await this[_0x3127e6(0x174)](_0x5a9c3b);}[_0x35a9e3(0x14e)](){const _0x4c8ca1=_0x35a9e3;if(this[_0x4c8ca1(0x16d)]instanceof _0xf5ee37){const _0x20cd14=this[_0x4c8ca1(0x16d)][_0x4c8ca1(0x1a8)][_0x4c8ca1(0x1a4)](_0x4c8ca1(0x146));this[_0x4c8ca1(0x1a3)](_0x20cd14);}}[_0x35a9e3(0x1a3)](_0x442bad){const _0x3a4adc=_0x35a9e3;if(!this[_0x3a4adc(0x180)][_0x3a4adc(0x15a)](_0x442bad))throw new _0x4b1c39(_0x3a4adc(0x15d),null,{'channelId':_0x442bad});this[_0x3a4adc(0x153)](_0x442bad)[_0x3a4adc(0x151)](),this[_0x3a4adc(0x180)][_0x3a4adc(0x166)](_0x442bad);}async[_0x35a9e3(0x17c)](){const _0x38cd1d=_0x35a9e3;for(const _0x13fe9a of this[_0x38cd1d(0x180)][_0x38cd1d(0x18e)]())await this[_0x38cd1d(0x174)](_0x13fe9a);if(this[_0x38cd1d(0x16d)]instanceof _0xf5ee37){const _0x363c44=this[_0x38cd1d(0x16d)][_0x38cd1d(0x1a8)][_0x38cd1d(0x1a4)](_0x38cd1d(0x146)),_0x3a8554=this[_0x38cd1d(0x16d)][_0x38cd1d(0x14c)][_0x38cd1d(0x1a4)](_0xd2939);_0x3a8554[_0x38cd1d(0x149)](_0x363c44);const _0x2972d0=await this[_0x38cd1d(0x180)][_0x38cd1d(0x1a4)](_0x363c44)[_0x38cd1d(0x192)]();_0x3a8554[_0x38cd1d(0x173)](_0x363c44,_0x2972d0);}}async[_0x35a9e3(0x174)](_0x17c59d){const _0x316528=_0x35a9e3,{connection:_0x2c8ef4}=this[_0x316528(0x16d)][_0x316528(0x14c)][_0x316528(0x1a4)](_0x17f546),_0x25325f=this[_0x316528(0x16d)][_0x316528(0x14c)][_0x316528(0x1a4)](_0x316528(0x167)),_0x12ad73=this[_0x316528(0x180)][_0x316528(0x1a4)](_0x17c59d),_0x84fdeb=await _0x12ad73[_0x316528(0x1a2)](_0x2c8ef4);await this[_0x316528(0x182)](_0x84fdeb);const _0x468b0c=new Set(Array[_0x316528(0x16f)](_0x25325f[_0x316528(0x189)]({'channelId':_0x17c59d}),_0x1a62d7=>_0x1a62d7['id']));for(const _0x529617 of _0x84fdeb)_0x529617[_0x316528(0x162)]||_0x468b0c[_0x316528(0x166)](_0x529617[_0x316528(0x179)]);for(const _0x4ad67d of _0x468b0c)_0x25325f[_0x316528(0x18d)](_0x4ad67d)[_0x316528(0x193)]({'isFromAdapter':!0x0});for(const _0x453ea2 of _0x84fdeb){let _0x403209=_0x25325f[_0x316528(0x18d)](_0x453ea2[_0x316528(0x179)]);const {commentThreadId:_0x54c7f8,context:_0x483e69,attributes:_0x58f2c9,resolvedBy:_0x3b44e0,resolvedAt:_0xe8ad76,unlinkedAt:_0x4a3434,deletedAt:_0x55c968}=_0x453ea2;if(_0x55c968)continue;_0x403209||(_0x403209=_0x25325f[_0x316528(0x177)]({'channelId':_0x17c59d,'threadId':_0x54c7f8,'context':_0x483e69,'attributes':_0x58f2c9||{},'resolvedBy':_0x3b44e0,'resolvedAt':_0xe8ad76,'unlinkedAt':_0x4a3434,'isFromAdapter':!0x0}));const _0x141a49=new Set(Array[_0x316528(0x16f)](_0x403209[_0x316528(0x19d)],_0x29a180=>_0x29a180['id']));for(const _0x1a6823 of _0x453ea2[_0x316528(0x19d)])_0x141a49[_0x316528(0x166)](_0x1a6823[_0x316528(0x154)]);for(const _0x539fb7 of _0x141a49)_0x403209[_0x316528(0x18a)](_0x539fb7)[_0x316528(0x193)]({'isFromAdapter':!0x0});for(const _0x14e4cc of _0x453ea2[_0x316528(0x19d)]){const _0x3a396a=_0x403209[_0x316528(0x18a)](_0x14e4cc[_0x316528(0x154)]);_0x3a396a?_0x3a396a[_0x316528(0x1a1)]!==_0x14e4cc[_0x316528(0x1a1)]&&_0x3a396a[_0x316528(0x190)]({'content':_0x14e4cc[_0x316528(0x1a1)],'isFromAdapter':!0x0}):_0x403209[_0x316528(0x157)](Object[_0x316528(0x19f)](S(_0x14e4cc),{'isFromAdapter':!0x0}));}}}[_0x35a9e3(0x153)](_0x831e63){const _0x2aba77=_0x35a9e3;if(!this[_0x2aba77(0x180)][_0x2aba77(0x15a)](_0x831e63))throw new _0x4b1c39(_0x2aba77(0x145),null,{'channelId':_0x831e63});return this[_0x2aba77(0x180)][_0x2aba77(0x1a4)](_0x831e63);}async[_0x35a9e3(0x182)](_0x3f75c2){const _0x241c4d=_0x35a9e3,_0x3917d0=this[_0x241c4d(0x16d)][_0x241c4d(0x14c)][_0x241c4d(0x1a4)](_0x2ad0ac),{connection:_0xee75a3}=this[_0x241c4d(0x16d)][_0x241c4d(0x14c)][_0x241c4d(0x1a4)](_0x17f546),_0x16f2cc=new Set();for(const {resolvedBy:_0x150cf6,comments:_0x1a7f9a}of _0x3f75c2){_0x150cf6&&!_0x3917d0[_0x241c4d(0x18b)](_0x150cf6)&&_0x16f2cc[_0x241c4d(0x142)](_0x150cf6);for(const {userId:_0x350280}of _0x1a7f9a)_0x3917d0[_0x241c4d(0x18b)](_0x350280)||_0x16f2cc[_0x241c4d(0x142)](_0x350280);}if(0x0===_0x16f2cc[_0x241c4d(0x175)])return;const _0x2f1a0e=await _0x43f53d[_0x241c4d(0x158)](_0xee75a3,Array[_0x241c4d(0x16f)](_0x16f2cc));for(const _0x4629ec of _0x2f1a0e)_0x3917d0[_0x241c4d(0x18b)](_0x4629ec['id'])||_0x3917d0[_0x241c4d(0x16c)](_0x4629ec);}}a[_0x35a9e3(0x1a6)]=_0x3507b4;export default a;async function B(_0x439b00){const _0x5b4555=_0x35a9e3;if(_0x5b4555(0x14a)!==_0x439b00[_0x5b4555(0x178)])throw _0x439b00;}function R(_0x79e95c){const _0x13c024=_0x35a9e3;if((_0x4f3520=_0x79e95c)[_0x13c024(0x184)][_0x13c024(0x170)](_0x13c024(0x143))||_0x4f3520[_0x13c024(0x184)][_0x13c024(0x170)](_0x13c024(0x156))||_0x4f3520[_0x13c024(0x184)][_0x13c024(0x170)](_0x13c024(0x155)))return new Promise(()=>{});var _0x4f3520;throw _0x79e95c;}function S(_0x34a1d6){const _0x658aa2=_0x35a9e3;return{'threadId':_0x34a1d6[_0x658aa2(0x179)],'commentId':_0x34a1d6[_0x658aa2(0x154)],'content':_0x34a1d6[_0x658aa2(0x1a1)],'createdAt':_0x34a1d6[_0x658aa2(0x14b)],'authorId':_0x34a1d6[_0x658aa2(0x19e)],'attributes':_0x34a1d6[_0x658aa2(0x19b)]||{}};}
|
|
23
|
+
const _0x21c3c3=_0x4b97;function _0x4b97(_0x541d19,_0x3f5f8a){const _0x36f3bb=_0x36f3();return _0x4b97=function(_0x4b9783,_0x44995b){_0x4b9783=_0x4b9783-0x79;let _0x4b198f=_0x36f3bb[_0x4b9783];return _0x4b198f;},_0x4b97(_0x541d19,_0x3f5f8a);}(function(_0x24ef9c,_0x14b309){const _0x158cf9=_0x4b97,_0x14eb03=_0x24ef9c();while(!![]){try{const _0x10a61f=-parseInt(_0x158cf9(0xd6))/0x1+parseInt(_0x158cf9(0x85))/0x2+-parseInt(_0x158cf9(0xce))/0x3+-parseInt(_0x158cf9(0x8e))/0x4+-parseInt(_0x158cf9(0xb3))/0x5+parseInt(_0x158cf9(0x7e))/0x6*(parseInt(_0x158cf9(0xd1))/0x7)+parseInt(_0x158cf9(0xd2))/0x8*(parseInt(_0x158cf9(0xc9))/0x9);if(_0x10a61f===_0x14b309)break;else _0x14eb03['push'](_0x14eb03['shift']());}catch(_0x34401f){_0x14eb03['push'](_0x14eb03['shift']());}}}(_0x36f3,0x80bd9));import{Context as _0x247b5b,ContextPlugin as _0x52fa90}from'ckeditor5/src/core.js';import{CKEditorError as _0xec2327}from'ckeditor5/src/utils.js';import{Users as _0x50d769}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x36f3(){const _0x45f66c=['from','commentAdded','getMany','userId','startsWith','CommentsRepository','getConnectedSessions','resolvedAt','config','disconnect','getCommentThreads','removeComment','message','off','listenTo','pluginName','_setUpService','_terminateService','Permissions','_services','updateCommentThread','3357Hyeioo','getUser','removeCommentThread','reconnect','resolveCommentThread','2365734ocwPNy','404','commentThreadUpdated','495376SLfydg','53536zjFPQi','mySessionId','adapter','destroy','251433XNbgbP','reopen','getComment','context','plugins','setPermissions','sessionAdd:','commentRemoved','updateComment','reopenCommentThread','commentUpdated','resolve','connect','36pyHVlm','catch','isPremiumPlugin','register','deletedAt','cloud-services-internal-error:\x20Request\x20timeout.','collaboration.channelId','278452rrRuGr','init','get','add','has','size','CommentsService','comments','isOfficialPlugin','1782700kfWszz','code','permissions','authorId','content','_fetchMissingUsersForThreads','set','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','addUser','requires','map','attributes','commentThreadResolved','unregister','commentThreadReopened','CloudServicesCommentsAdapter','commentThreadRemoved','update','createdAt','commentId','addToReconnectionStack','resolvedBy','commentThreadAdded','getCommentThread','addComment','cloud-services-internal-error:\x20Not\x20connected.','keys','cloudservicescommentsadapter-connect-already-connected','_getService','_connectService','assign','commentThreadId','cloudservicescommentsadapter-disconnect-not-exist','remove','delete','addCommentThread','cloudservicescommentsadapter-service-not-exist','5234715rNNIIA'];_0x36f3=function(){return _0x45f66c;};return _0x36f3();}import{CommentsService as _0x79609d,User as _0x374df6}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x22468c from'../realtimecollaborativeediting/websocketgateway.js';import _0x39228c from'../realtimecollaborativeediting/sessions.js';class a extends _0x52fa90{static get[_0x21c3c3(0x97)](){const _0x77715d=_0x21c3c3;return[_0x22468c,_0x77715d(0xb9),_0x39228c,_0x50d769];}static get[_0x21c3c3(0xc3)](){const _0x3a4c70=_0x21c3c3;return _0x3a4c70(0x9d);}static get[_0x21c3c3(0x8d)](){return!0x0;}static get[_0x21c3c3(0x80)](){return!0x0;}constructor(_0x2fb2fc){const _0x92e8b9=_0x21c3c3;super(_0x2fb2fc),this[_0x92e8b9(0xc7)]=new Map();}async[_0x21c3c3(0x86)](){const _0x2d2ae7=_0x21c3c3,_0x2746b4=this[_0x2d2ae7(0xd9)],_0xd30534=_0x2746b4[_0x2d2ae7(0xda)][_0x2d2ae7(0x87)](_0x2d2ae7(0xb9));if(_0x2746b4[_0x2d2ae7(0xda)][_0x2d2ae7(0x87)](_0x22468c)[_0x2d2ae7(0xa2)](this),_0xd30534[_0x2d2ae7(0xd4)]={'addCommentThread':async({channelId:_0x43292a,threadId:_0x46d5b7,comments:_0x1f63d7,resolvedAt:_0x4fdc81,resolvedBy:_0x1bdf33,context:_0x4f2a88,attributes:_0x589413})=>{const _0x10105b=_0x2d2ae7,_0xa88b07=await this[_0x10105b(0xaa)](_0x43292a)[_0x10105b(0xb1)]({'commentThreadId':_0x46d5b7,'comments':_0x1f63d7[_0x10105b(0x98)](_0x9591fc=>function(_0x3d8687,_0x264ccd,_0x5b9fa7){const _0x41c174=_0x10105b;return{'commentThreadId':_0x5b9fa7,'commentId':_0x3d8687[_0x41c174(0xa1)],'userId':_0x3d8687[_0x41c174(0x91)],'content':_0x3d8687[_0x41c174(0x92)],'documentId':_0x264ccd,'createdAt':_0x3d8687[_0x41c174(0xa0)],'attributes':_0x3d8687[_0x41c174(0x99)]||{}};}(_0x9591fc,_0x43292a,_0x46d5b7)),'resolvedAt':_0x4fdc81,'resolvedBy':_0x1bdf33,'context':_0x4f2a88,'attributes':_0x589413})[_0x10105b(0x7f)](ot);return{'threadId':_0xa88b07[_0x10105b(0xad)],'comments':_0xa88b07[_0x10105b(0x8c)]};},'getCommentThread':async({channelId:_0x2450c4,threadId:_0x412d8a})=>{const _0x5e67c5=_0x2d2ae7,_0x1ad601=await this[_0x5e67c5(0xaa)](_0x2450c4)[_0x5e67c5(0xa5)](_0x412d8a)[_0x5e67c5(0x7f)](ot);return _0x1ad601[_0x5e67c5(0x82)]?null:(await this[_0x5e67c5(0x93)]([_0x1ad601]),{'threadId':_0x1ad601[_0x5e67c5(0xad)],'comments':_0x1ad601[_0x5e67c5(0x8c)][_0x5e67c5(0x98)](nt),'context':_0x1ad601[_0x5e67c5(0xd9)],'resolvedAt':_0x1ad601[_0x5e67c5(0xbb)],'resolvedBy':_0x1ad601[_0x5e67c5(0xa3)],'attributes':_0x1ad601[_0x5e67c5(0x99)]||{}});},'updateCommentThread':async({channelId:_0x45821b,threadId:_0x545ca9,context:_0xe27c38,unlinkedAt:_0x5529e1,attributes:_0x227a13})=>this[_0x2d2ae7(0xaa)](_0x45821b)[_0x2d2ae7(0xc8)]({'commentThreadId':_0x545ca9,'context':_0xe27c38,'attributes':_0x227a13,'unlinkedAt':_0x5529e1})[_0x2d2ae7(0x7f)](et)[_0x2d2ae7(0x7f)](ot),'resolveCommentThread':async({channelId:_0x1416c1,threadId:_0x15b09e})=>{const _0x1e2430=_0x2d2ae7,_0x527f90=await this[_0x1e2430(0xaa)](_0x1416c1)[_0x1e2430(0xcd)](_0x15b09e)[_0x1e2430(0x7f)](et)[_0x1e2430(0x7f)](ot);return{'threadId':_0x527f90[_0x1e2430(0xad)],'resolvedAt':_0x527f90[_0x1e2430(0xbb)],'resolvedBy':_0x527f90[_0x1e2430(0xa3)]};},'reopenCommentThread':async({channelId:_0x113aa4,threadId:_0x4954bb})=>this[_0x2d2ae7(0xaa)](_0x113aa4)[_0x2d2ae7(0x7a)](_0x4954bb)[_0x2d2ae7(0x7f)](et)[_0x2d2ae7(0x7f)](ot),'removeCommentThread':({channelId:_0x4be103,threadId:_0x11b75b})=>this[_0x2d2ae7(0xaa)](_0x4be103)[_0x2d2ae7(0xcb)](_0x11b75b)[_0x2d2ae7(0x7f)](et)[_0x2d2ae7(0x7f)](ot),'addComment':({channelId:_0x29a04f,threadId:_0x8c3977,commentId:_0x54e7cf,content:_0x332818,attributes:_0x19aa13})=>this[_0x2d2ae7(0xaa)](_0x29a04f)[_0x2d2ae7(0xa6)](_0x8c3977,_0x54e7cf,_0x332818,_0x19aa13)[_0x2d2ae7(0x7f)](ot),'updateComment':({channelId:_0x24db21,threadId:_0x3aa685,commentId:_0x486d4e,content:_0x27bae7,attributes:_0x42cec6})=>this[_0x2d2ae7(0xaa)](_0x24db21)[_0x2d2ae7(0x79)](_0x3aa685,_0x486d4e,_0x27bae7,_0x42cec6)[_0x2d2ae7(0x7f)](et)[_0x2d2ae7(0x7f)](ot),'removeComment':({channelId:_0x25e2cb,threadId:_0x4e024f,commentId:_0x54b61d})=>this[_0x2d2ae7(0xaa)](_0x25e2cb)[_0x2d2ae7(0xbf)](_0x4e024f,_0x54b61d)[_0x2d2ae7(0x7f)](et)[_0x2d2ae7(0x7f)](ot)},_0x2746b4 instanceof _0x247b5b){const _0x24a713=_0x2746b4[_0x2d2ae7(0xbc)][_0x2d2ae7(0x87)](_0x2d2ae7(0x84)),_0x2437b3=_0x2746b4[_0x2d2ae7(0xda)][_0x2d2ae7(0x87)](_0x39228c);await this[_0x2d2ae7(0xc4)](_0x24a713);const _0x546039=await this[_0x2d2ae7(0xc7)][_0x2d2ae7(0x87)](_0x24a713)[_0x2d2ae7(0xba)]();this[_0x2d2ae7(0xc2)](_0x2437b3,_0x2d2ae7(0xdc)+_0x24a713,(_0x367ec3,{session:_0x3ef54f})=>{const _0x11a171=_0x2d2ae7;_0x3ef54f['id']===_0x2437b3[_0x11a171(0xd3)]&&(_0x367ec3[_0x11a171(0xc1)](),this[_0x11a171(0xd9)][_0x11a171(0xda)][_0x11a171(0x87)](_0x11a171(0xc6))[_0x11a171(0xdb)](_0x3ef54f[_0x11a171(0x90)],_0x24a713));}),_0x2437b3[_0x2d2ae7(0x81)](_0x24a713,_0x546039);}}async[_0x21c3c3(0xc4)](_0xc8dc0f){const _0x3a6d73=_0x21c3c3;if(this[_0x3a6d73(0xc7)][_0x3a6d73(0x89)](_0xc8dc0f))throw new _0xec2327(_0x3a6d73(0xa9),null,{'channelId':_0xc8dc0f});const _0x552e61=this[_0x3a6d73(0xd9)][_0x3a6d73(0xda)][_0x3a6d73(0x87)](_0x3a6d73(0xb9)),_0x15160f=new a[(_0x3a6d73(0x8b))](_0xc8dc0f);this[_0x3a6d73(0xc7)][_0x3a6d73(0x94)](_0xc8dc0f,_0x15160f),this[_0x3a6d73(0xc2)](_0x15160f,_0x3a6d73(0xa4),(_0x377c39,_0x5a4017)=>{const _0x199728=_0x3a6d73,{commentThreadId:_0x1449b8,documentId:_0x39abb0,context:_0xe6019b,attributes:_0x6e764d,resolvedAt:_0x2b988e,resolvedBy:_0x5bee26,comments:_0x3b0ce6}=_0x5a4017;_0x552e61[_0x199728(0xa5)](_0x1449b8)||_0x552e61[_0x199728(0xb1)]({'threadId':_0x1449b8,'channelId':_0x39abb0,'comments':_0x3b0ce6?_0x3b0ce6[_0x199728(0x98)](nt):[],'context':_0xe6019b,'attributes':_0x6e764d,'resolvedAt':_0x2b988e,'resolvedBy':_0x5bee26,'isFromAdapter':!0x0});}),this[_0x3a6d73(0xc2)](_0x15160f,_0x3a6d73(0xd0),(_0x102dac,{commentThreadId:_0x10658e,documentId:_0x251cd0,context:_0x486343,unlinkedAt:_0x2b56ab,attributes:_0x5670c8})=>{const _0x11e114=_0x3a6d73;_0x552e61[_0x11e114(0xa5)](_0x10658e)&&_0x552e61[_0x11e114(0xc8)]({'threadId':_0x10658e,'channelId':_0x251cd0,'context':_0x486343,'unlinkedAt':_0x2b56ab,'attributes':_0x5670c8,'isFromAdapter':!0x0});}),this[_0x3a6d73(0xc2)](_0x15160f,_0x3a6d73(0x9a),(_0x121977,{commentThreadId:_0x2811c4,resolvedBy:_0x253b06,resolvedAt:_0x4284ec})=>{const _0x288401=_0x3a6d73,_0x45d44b=_0x552e61[_0x288401(0xa5)](_0x2811c4);_0x45d44b&&_0x45d44b[_0x288401(0x7c)]({'resolvedBy':_0x253b06,'resolvedAt':_0x4284ec,'isFromAdapter':!0x0});}),this[_0x3a6d73(0xc2)](_0x15160f,_0x3a6d73(0x9c),(_0x77e77,{commentThreadId:_0x30cf46})=>{const _0x3b644e=_0x3a6d73,_0x474664=_0x552e61[_0x3b644e(0xa5)](_0x30cf46);_0x474664&&_0x474664[_0x3b644e(0xd7)]({'isFromAdapter':!0x0});}),this[_0x3a6d73(0xc2)](_0x15160f,_0x3a6d73(0x9e),(_0x2f57a2,{commentThreadId:_0x175a0e})=>{const _0x23841c=_0x3a6d73,_0x38a684=_0x552e61[_0x23841c(0xa5)](_0x175a0e);_0x38a684&&_0x38a684[_0x23841c(0xaf)]({'isFromAdapter':!0x0});}),this[_0x3a6d73(0xc2)](_0x15160f,_0x3a6d73(0xb5),(_0x5a4e61,_0x173b47)=>{const _0x585b52=_0x3a6d73,_0x443fca=_0x173b47[_0x585b52(0xad)],_0x12453a=_0x552e61[_0x585b52(0xa5)](_0x443fca);_0x12453a&&_0x12453a[_0x585b52(0xa6)]({...nt(_0x173b47),'isFromAdapter':!0x0});}),this[_0x3a6d73(0xc2)](_0x15160f,_0x3a6d73(0x7b),(_0x2fefb1,{commentThreadId:_0x1335d6,commentId:_0x2ffa71,content:_0x345186,attributes:_0x1bc274})=>{const _0x10f09a=_0x3a6d73,_0x5714b2=_0x552e61[_0x10f09a(0xa5)](_0x1335d6);if(_0x5714b2){const _0x24426e=_0x5714b2[_0x10f09a(0xd8)](_0x2ffa71);_0x24426e&&_0x24426e[_0x10f09a(0x9f)]({'content':_0x345186,'attributes':_0x1bc274,'isFromAdapter':!0x0});}}),this[_0x3a6d73(0xc2)](_0x15160f,_0x3a6d73(0xdd),(_0x519a09,{commentThreadId:_0x2427c4,commentId:_0x32d08f})=>{const _0x3d6f3d=_0x3a6d73,_0x425888=_0x552e61[_0x3d6f3d(0xa5)](_0x2427c4);if(_0x425888){const _0x513f41=_0x425888[_0x3d6f3d(0xd8)](_0x32d08f);_0x513f41&&_0x513f41[_0x3d6f3d(0xaf)]({'isFromAdapter':!0x0});}}),await this[_0x3a6d73(0xab)](_0xc8dc0f);}[_0x21c3c3(0xd5)](){const _0x280996=_0x21c3c3;if(this[_0x280996(0xd9)]instanceof _0x247b5b){const _0x356a80=this[_0x280996(0xd9)][_0x280996(0xbc)][_0x280996(0x87)](_0x280996(0x84));this[_0x280996(0xc5)](_0x356a80);}}[_0x21c3c3(0xc5)](_0x377967){const _0x1b5112=_0x21c3c3;if(!this[_0x1b5112(0xc7)][_0x1b5112(0x89)](_0x377967))throw new _0xec2327(_0x1b5112(0xae),null,{'channelId':_0x377967});this[_0x1b5112(0xaa)](_0x377967)[_0x1b5112(0xbd)](),this[_0x1b5112(0xc7)][_0x1b5112(0xb0)](_0x377967);}async[_0x21c3c3(0xcc)](){const _0x35881d=_0x21c3c3;for(const _0x3395c1 of this[_0x35881d(0xc7)][_0x35881d(0xa8)]())await this[_0x35881d(0xab)](_0x3395c1);if(this[_0x35881d(0xd9)]instanceof _0x247b5b){const _0x5f534f=this[_0x35881d(0xd9)][_0x35881d(0xbc)][_0x35881d(0x87)](_0x35881d(0x84)),_0x1a337e=this[_0x35881d(0xd9)][_0x35881d(0xda)][_0x35881d(0x87)](_0x39228c);_0x1a337e[_0x35881d(0x9b)](_0x5f534f);const _0x1f0b2c=await this[_0x35881d(0xc7)][_0x35881d(0x87)](_0x5f534f)[_0x35881d(0xba)]();_0x1a337e[_0x35881d(0x81)](_0x5f534f,_0x1f0b2c);}}async[_0x21c3c3(0xab)](_0x4c1254){const _0x5d2a0d=_0x21c3c3,{connection:_0x14e6a7}=this[_0x5d2a0d(0xd9)][_0x5d2a0d(0xda)][_0x5d2a0d(0x87)](_0x22468c),_0x111c33=this[_0x5d2a0d(0xd9)][_0x5d2a0d(0xda)][_0x5d2a0d(0x87)](_0x5d2a0d(0xb9)),_0x2c3af0=this[_0x5d2a0d(0xc7)][_0x5d2a0d(0x87)](_0x4c1254),_0x183c02=await _0x2c3af0[_0x5d2a0d(0x7d)](_0x14e6a7);await this[_0x5d2a0d(0x93)](_0x183c02);const _0x37cfc2=new Set(Array[_0x5d2a0d(0xb4)](_0x111c33[_0x5d2a0d(0xbe)]({'channelId':_0x4c1254}),_0x3c84cb=>_0x3c84cb['id']));for(const _0xb10a2e of _0x183c02)_0xb10a2e[_0x5d2a0d(0x82)]||_0x37cfc2[_0x5d2a0d(0xb0)](_0xb10a2e[_0x5d2a0d(0xad)]);for(const _0xba6727 of _0x37cfc2)_0x111c33[_0x5d2a0d(0xa5)](_0xba6727)[_0x5d2a0d(0xaf)]({'isFromAdapter':!0x0});for(const _0x1a092e of _0x183c02){let _0x23fd07=_0x111c33[_0x5d2a0d(0xa5)](_0x1a092e[_0x5d2a0d(0xad)]);const {commentThreadId:_0x3e57c4,context:_0x137479,attributes:_0x51014d,resolvedBy:_0x2f5f83,resolvedAt:_0x2fa560,unlinkedAt:_0x50017e,deletedAt:_0x14cefb}=_0x1a092e;if(_0x14cefb)continue;_0x23fd07||(_0x23fd07=_0x111c33[_0x5d2a0d(0xb1)]({'channelId':_0x4c1254,'threadId':_0x3e57c4,'context':_0x137479,'attributes':_0x51014d||{},'resolvedBy':_0x2f5f83,'resolvedAt':_0x2fa560,'unlinkedAt':_0x50017e,'isFromAdapter':!0x0}));const _0x3fd58a=new Set(Array[_0x5d2a0d(0xb4)](_0x23fd07[_0x5d2a0d(0x8c)],_0x3c0503=>_0x3c0503['id']));for(const _0x3e424e of _0x1a092e[_0x5d2a0d(0x8c)])_0x3fd58a[_0x5d2a0d(0xb0)](_0x3e424e[_0x5d2a0d(0xa1)]);for(const _0x26ce71 of _0x3fd58a)_0x23fd07[_0x5d2a0d(0xd8)](_0x26ce71)[_0x5d2a0d(0xaf)]({'isFromAdapter':!0x0});for(const _0x17a981 of _0x1a092e[_0x5d2a0d(0x8c)]){const _0x583c1b=_0x23fd07[_0x5d2a0d(0xd8)](_0x17a981[_0x5d2a0d(0xa1)]);_0x583c1b?_0x583c1b[_0x5d2a0d(0x92)]!==_0x17a981[_0x5d2a0d(0x92)]&&_0x583c1b[_0x5d2a0d(0x9f)]({'content':_0x17a981[_0x5d2a0d(0x92)],'isFromAdapter':!0x0}):_0x23fd07[_0x5d2a0d(0xa6)](Object[_0x5d2a0d(0xac)](nt(_0x17a981),{'isFromAdapter':!0x0}));}}}[_0x21c3c3(0xaa)](_0x1fe40e){const _0x37a4a9=_0x21c3c3;if(!this[_0x37a4a9(0xc7)][_0x37a4a9(0x89)](_0x1fe40e))throw new _0xec2327(_0x37a4a9(0xb2),null,{'channelId':_0x1fe40e});return this[_0x37a4a9(0xc7)][_0x37a4a9(0x87)](_0x1fe40e);}async[_0x21c3c3(0x93)](_0x864545){const _0x317df8=_0x21c3c3,_0x513088=this[_0x317df8(0xd9)][_0x317df8(0xda)][_0x317df8(0x87)](_0x50d769),{connection:_0x29778f}=this[_0x317df8(0xd9)][_0x317df8(0xda)][_0x317df8(0x87)](_0x22468c),_0x2ce215=new Set();for(const {resolvedBy:_0x4fc81f,comments:_0x264291}of _0x864545){_0x4fc81f&&!_0x513088[_0x317df8(0xca)](_0x4fc81f)&&_0x2ce215[_0x317df8(0x88)](_0x4fc81f);for(const {userId:_0x1a588a}of _0x264291)_0x513088[_0x317df8(0xca)](_0x1a588a)||_0x2ce215[_0x317df8(0x88)](_0x1a588a);}if(0x0===_0x2ce215[_0x317df8(0x8a)])return;const _0x142b2d=await _0x374df6[_0x317df8(0xb6)](_0x29778f,Array[_0x317df8(0xb4)](_0x2ce215));for(const _0x268e15 of _0x142b2d)_0x513088[_0x317df8(0xca)](_0x268e15['id'])||_0x513088[_0x317df8(0x96)](_0x268e15);}}a[_0x21c3c3(0x8b)]=_0x79609d;export default a;async function et(_0x4e07fa){const _0x5f427d=_0x21c3c3;if(_0x5f427d(0xcf)!==_0x4e07fa[_0x5f427d(0x8f)])throw _0x4e07fa;}function ot(_0x2ebcd4){const _0x2d66fd=_0x21c3c3;if((_0x1488f3=_0x2ebcd4)[_0x2d66fd(0xc0)][_0x2d66fd(0xb8)](_0x2d66fd(0x95))||_0x1488f3[_0x2d66fd(0xc0)][_0x2d66fd(0xb8)](_0x2d66fd(0xa7))||_0x1488f3[_0x2d66fd(0xc0)][_0x2d66fd(0xb8)](_0x2d66fd(0x83)))return new Promise(()=>{});var _0x1488f3;throw _0x2ebcd4;}function nt(_0x42e613){const _0x132836=_0x21c3c3;return{'threadId':_0x42e613[_0x132836(0xad)],'commentId':_0x42e613[_0x132836(0xa1)],'content':_0x42e613[_0x132836(0x92)],'createdAt':_0x42e613[_0x132836(0xa0)],'authorId':_0x42e613[_0x132836(0xb7)],'attributes':_0x42e613[_0x132836(0x99)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x35b6b2=_0x5004;(function(_0x5a6d44,_0x12b15b){const _0x372538=_0x5004,_0x5187d6=_0x5a6d44();while(!![]){try{const _0x3d5af2=parseInt(_0x372538(0xf6))/0x1*(-parseInt(_0x372538(0xd7))/0x2)+-parseInt(_0x372538(0xe8))/0x3+parseInt(_0x372538(0xe1))/0x4*(parseInt(_0x372538(0xd8))/0x5)+-parseInt(_0x372538(0xf1))/0x6+-parseInt(_0x372538(0xde))/0x7*(-parseInt(_0x372538(0xf7))/0x8)+-parseInt(_0x372538(0xf8))/0x9*(parseInt(_0x372538(0xed))/0xa)+parseInt(_0x372538(0xee))/0xb*(parseInt(_0x372538(0xd9))/0xc);if(_0x3d5af2===_0x12b15b)break;else _0x5187d6['push'](_0x5187d6['shift']());}catch(_0x1a51d9){_0x5187d6['push'](_0x5187d6['shift']());}}}(_0x5c14,0x58faa));import{Plugin as _0x477bd8}from'ckeditor5/src/core.js';import _0x46a4d4 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x5004(_0x1b1fb1,_0xcf50d2){const _0x5c1480=_0x5c14();return _0x5004=function(_0x50049d,_0x18ec0a){_0x50049d=_0x50049d-0xd6;let _0x268911=_0x5c1480[_0x50049d];return _0x268911;},_0x5004(_0x1b1fb1,_0xcf50d2);}import _0x1b3ae6 from'./realtimecollaborativeediting.js';import _0x4cea78 from'./realtimecollaborativeediting/websocketgateway.js';function _0x5c14(){const _0x53455c=['536987rflbBJ','editor','RealTimeCollaborativeComments','2674602fKcROZ','_setUpService','listenTo','data','Comments','510329YQdSjM','62432RVRILj','9LPluRk','isThreadsLoadingPaused','requires','_terminateService','2TwrhYh','3295mGFNhu','492IqUanZ','connected','isOfficialPlugin','once','destroy','14feZTVf','get','isPremiumPlugin','1028MRCJTj','config','CommentsEditing','collaboration.channelId','switchReadOnly','plugins','pluginName','711309lUGttQ','init','change:state','CommentsRepository','ready','6288110YJATxg'];_0x5c14=function(){return _0x53455c;};return _0x5c14();}export default class m extends _0x477bd8{static get[_0x35b6b2(0xfa)](){const _0x398f5=_0x35b6b2;return[_0x398f5(0xf5),_0x46a4d4,_0x1b3ae6,_0x4cea78];}static get[_0x35b6b2(0xe7)](){const _0xff2cfe=_0x35b6b2;return _0xff2cfe(0xf0);}static get[_0x35b6b2(0xdb)](){return!0x0;}static get[_0x35b6b2(0xe0)](){return!0x0;}[_0x35b6b2(0xe9)](){const _0xe27d3=_0x35b6b2,_0x184b9a=this[_0xe27d3(0xef)][_0xe27d3(0xe6)][_0xe27d3(0xdf)](_0x4cea78),_0xbf7e67=this[_0xe27d3(0xef)][_0xe27d3(0xe6)][_0xe27d3(0xdf)](_0xe27d3(0xe3)),_0x1780de=this[_0xe27d3(0xef)][_0xe27d3(0xe6)][_0xe27d3(0xdf)](_0x46a4d4);return this[_0xe27d3(0xef)][_0xe27d3(0xf4)][_0xe27d3(0xdc)](_0xe27d3(0xec),()=>{const _0x48d43d=_0xe27d3;this[_0x48d43d(0xf3)](_0x184b9a,_0x48d43d(0xea),(_0x1493f0,_0x30a517,_0x133eaf)=>{const _0x17fa7a=_0x48d43d;_0xbf7e67[_0x17fa7a(0xf9)]=_0x17fa7a(0xda)!==_0x133eaf;});}),this[_0xe27d3(0xf3)](_0x184b9a,_0xe27d3(0xea),(_0x413b5c,_0x51ffab,_0x5cf437)=>{const _0x21b794=_0xe27d3;this[_0x21b794(0xef)][_0x21b794(0xe6)][_0x21b794(0xdf)](_0x21b794(0xeb))[_0x21b794(0xe5)](_0x21b794(0xda)!==_0x5cf437);}),_0x1780de[_0xe27d3(0xf2)](this[_0xe27d3(0xef)][_0xe27d3(0xe2)][_0xe27d3(0xdf)](_0xe27d3(0xe4)));}[_0x35b6b2(0xdd)](){const _0x21eb4a=_0x35b6b2;this[_0x21eb4a(0xef)][_0x21eb4a(0xe6)][_0x21eb4a(0xdf)](_0x46a4d4)[_0x21eb4a(0xd6)](this[_0x21eb4a(0xef)][_0x21eb4a(0xe2)][_0x21eb4a(0xdf)](_0x21eb4a(0xe4))),super[_0x21eb4a(0xdd)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x43df9d=_0x4a11;(function(_0x32f7f4,_0x3bf539){const _0x527bf6=_0x4a11,_0x490b41=_0x32f7f4();while(!![]){try{const _0x18db98=parseInt(_0x527bf6(0x255))/0x1*(parseInt(_0x527bf6(0x232))/0x2)+parseInt(_0x527bf6(0x1c1))/0x3*(-parseInt(_0x527bf6(0x1b2))/0x4)+-parseInt(_0x527bf6(0x24c))/0x5+-parseInt(_0x527bf6(0x1bc))/0x6+parseInt(_0x527bf6(0x207))/0x7+parseInt(_0x527bf6(0x196))/0x8*(parseInt(_0x527bf6(0x23b))/0x9)+parseInt(_0x527bf6(0x267))/0xa;if(_0x18db98===_0x3bf539)break;else _0x490b41['push'](_0x490b41['shift']());}catch(_0x15ce81){_0x490b41['push'](_0x490b41['shift']());}}}(_0x2366,0x3bd0f));import{Plugin as _0x6024c7,PendingActions as _0x16eed8}from'ckeditor5/src/core.js';import{CKEditorError as _0x4da509,version as _0x44f881,uid as _0x480013}from'ckeditor5/src/utils.js';import{Notification as _0x45adc4}from'ckeditor5/src/ui.js';import{transformSets as _0x23ea0c,NoOperation as _0x17319b,InsertOperation as _0x1c40aa,MarkerOperation as _0x4cf959,RootAttributeOperation as _0x433354,OperationFactory as _0xfb312f,History as _0x63c673}from'ckeditor5/src/engine.js';import _0x2ff33d from'./websocketgateway.js';import _0x5ed2a8 from'./sessions.js';import _0x509932 from'./usermarkers.js';function _0x4a11(_0x33f7fc,_0x1ee037){const _0x23664f=_0x2366();return _0x4a11=function(_0x4a1197,_0x1046f5){_0x4a1197=_0x4a1197-0x171;let _0x7f35d4=_0x23664f[_0x4a1197];return _0x7f35d4;},_0x4a11(_0x33f7fc,_0x1ee037);}import{getTranslation as _0x8653b3}from'../common-translations.js';import{Compressor as _0xae8e3e}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5d6683}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x4d5d14,CollaborativeEditingService as _0x3f583e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x6024c7{static get[_0x43df9d(0x1d2)](){return[_0x2ff33d,_0x5ed2a8,_0x509932,_0x16eed8,_0x5d6683,_0x45adc4];}static get[_0x43df9d(0x1d4)](){const _0x28a6c7=_0x43df9d;return _0x28a6c7(0x1ea);}static get[_0x43df9d(0x226)](){return!0x0;}static get[_0x43df9d(0x229)](){return!0x0;}get[_0x43df9d(0x1c7)](){const _0xb7ca1e=_0x43df9d;return this[_0xb7ca1e(0x23e)]+this[_0xb7ca1e(0x1e0)];}get[_0x43df9d(0x23e)](){const _0x2c0187=_0x43df9d;return this[_0x2c0187(0x178)][_0x2c0187(0x264)]-this[_0x2c0187(0x1e0)];}get[_0x43df9d(0x1b3)](){const _0xb8df6b=_0x43df9d,_0xb4825d=this[_0xb8df6b(0x178)][_0xb8df6b(0x18d)]();for(let _0x86471e=_0xb4825d[_0xb8df6b(0x174)]-0x1;_0x86471e>=0x0;_0x86471e--){const _0x5f15d8=_0xb4825d[_0x86471e];if(!this[_0xb8df6b(0x19c)][_0xb8df6b(0x1cc)](_0x5f15d8))return _0x5f15d8[_0xb8df6b(0x254)]+0x1-this[_0xb8df6b(0x1e0)];}return 0x0;}constructor(_0x36e3ca){const _0x4d2d4a=_0x43df9d;if(super(_0x36e3ca),this[_0x4d2d4a(0x1e0)]=0x0,this[_0x4d2d4a(0x230)]=null,this[_0x4d2d4a(0x178)]=new _0x63c673(),this[_0x4d2d4a(0x221)][_0x4d2d4a(0x269)][_0x4d2d4a(0x23d)](_0x4d2d4a(0x20f),{}),this[_0x4d2d4a(0x1b0)]=this[_0x4d2d4a(0x221)][_0x4d2d4a(0x269)][_0x4d2d4a(0x1f7)](_0x4d2d4a(0x22d)),!this[_0x4d2d4a(0x1b0)])throw new _0x4da509(_0x4d2d4a(0x188),this);const _0x12c6ea=_0x36e3ca[_0x4d2d4a(0x269)][_0x4d2d4a(0x1f7)](_0x4d2d4a(0x1c2))||_0x44f881;this[_0x4d2d4a(0x1ed)]=new l[(_0x4d2d4a(0x220))](_0x12c6ea,this[_0x4d2d4a(0x1b0)]),this[_0x4d2d4a(0x1aa)]=this[_0x4d2d4a(0x221)][_0x4d2d4a(0x26f)][_0x4d2d4a(0x20a)],this[_0x4d2d4a(0x199)]=new _0xae8e3e(),this[_0x4d2d4a(0x21e)]=[],this[_0x4d2d4a(0x210)]=new WeakSet(),this[_0x4d2d4a(0x202)]=new Set(),this[_0x4d2d4a(0x24b)](_0x4d2d4a(0x203),!0x1),this[_0x4d2d4a(0x24b)](_0x4d2d4a(0x1a1),!0x1),this[_0x4d2d4a(0x1e9)]=null,this[_0x4d2d4a(0x1e7)]=!0x1,this[_0x4d2d4a(0x193)]=null,this[_0x4d2d4a(0x179)]=0x12c,this[_0x4d2d4a(0x192)]=this[_0x4d2d4a(0x179)],this[_0x4d2d4a(0x25f)]=null,this[_0x4d2d4a(0x19c)]=new WeakSet(),this[_0x4d2d4a(0x198)]=new X(this[_0x4d2d4a(0x19c)]);}[_0x43df9d(0x200)](){const _0x3964cd=_0x43df9d,_0x2e3cae=this[_0x3964cd(0x221)],_0x223eea=_0x2e3cae[_0x3964cd(0x23f)][_0x3964cd(0x1f7)](_0x5d6683),_0x1c30cf=_0x2e3cae[_0x3964cd(0x23f)][_0x3964cd(0x1f7)](_0x2ff33d);this[_0x3964cd(0x1c4)](_0x223eea,_0x3964cd(0x1ef),(_0x3324e5,_0x48465b)=>{const _0x46faa2=_0x3964cd,_0x295754=_0x48465b[0x0];_0x295754[_0x46faa2(0x252)]&&(_0x3324e5[_0x46faa2(0x171)]=_0x223eea[_0x46faa2(0x18c)](_0x295754[_0x46faa2(0x252)]),_0x3324e5[_0x46faa2(0x183)]()),null===_0x295754[_0x46faa2(0x252)]&&(_0x3324e5[_0x46faa2(0x171)]=null,_0x3324e5[_0x46faa2(0x183)]());},{'priority':_0x3964cd(0x185)}),this[_0x3964cd(0x1c4)](_0x2e3cae[_0x3964cd(0x26f)][_0x3964cd(0x20a)][_0x3964cd(0x18f)],_0x3964cd(0x1f8),(_0x3e6a28,_0x345d88)=>{const _0xdf0524=_0x3964cd;_0x345d88[_0xdf0524(0x24d)]&&this[_0xdf0524(0x17a)]();}),this[_0x3964cd(0x1c4)](_0x2e3cae[_0x3964cd(0x1f0)][_0x3964cd(0x1ec)],_0x3964cd(0x218),()=>{const _0x3733f5=_0x3964cd;this[_0x3733f5(0x17a)]();}),this[_0x3964cd(0x268)](),_0x2e3cae[_0x3964cd(0x26f)]['on'](_0x3964cd(0x22b),(_0x1f8306,_0x220280)=>{const _0x2542e3=_0x3964cd,_0x109c04=_0x220280[0x0];_0x109c04[_0x2542e3(0x208)]&&(this[_0x2542e3(0x233)](_0x109c04),this[_0x2542e3(0x182)]()&&this[_0x2542e3(0x1e8)]());}),this[_0x3964cd(0x24e)](),this[_0x3964cd(0x17d)](_0x3964cd(0x1a6))['to'](_0x1c30cf,_0x3964cd(0x175),this,_0x3964cd(0x1a1),(_0x28a05c,_0x3e08ca)=>_0x3964cd(0x1c5)===_0x28a05c&&!_0x3e08ca),this['on'](_0x3964cd(0x22f),()=>{const _0x24e4e5=_0x3964cd;this[_0x24e4e5(0x1a6)]?_0x2e3cae[_0x24e4e5(0x19d)](_0x24e4e5(0x1a4)):_0x2e3cae[_0x24e4e5(0x25e)](_0x24e4e5(0x1a4));}),this[_0x3964cd(0x1a6)]?_0x2e3cae[_0x3964cd(0x19d)](_0x3964cd(0x1a4)):_0x2e3cae[_0x3964cd(0x25e)](_0x3964cd(0x1a4)),this[_0x3964cd(0x24b)](_0x3964cd(0x1fb),!0x1);}async[_0x43df9d(0x1de)](){const _0x53f2e9=_0x43df9d,_0x11f289=this[_0x53f2e9(0x221)][_0x53f2e9(0x23f)][_0x53f2e9(0x1f7)](_0x5ed2a8),_0x4f80f9=this[_0x53f2e9(0x221)][_0x53f2e9(0x23f)][_0x53f2e9(0x1f7)](_0x2ff33d);try{this[_0x53f2e9(0x203)]=!0x0,_0x11f289[_0x53f2e9(0x216)](this[_0x53f2e9(0x1b0)]);const _0x50fc94=await this[_0x53f2e9(0x1ed)][_0x53f2e9(0x1de)](_0x4f80f9[_0x53f2e9(0x237)],this[_0x53f2e9(0x1b3)]);await this[_0x53f2e9(0x26b)](_0x50fc94)&&(this[_0x53f2e9(0x203)]=!0x1,this[_0x53f2e9(0x1a2)]());const _0x217907=await this[_0x53f2e9(0x1ed)][_0x53f2e9(0x180)]();_0x11f289[_0x53f2e9(0x214)](this[_0x53f2e9(0x1b0)],_0x217907),this[_0x53f2e9(0x1e2)](),this[_0x53f2e9(0x1fb)]=!0x0;}catch(_0x47f6a0){if(function(_0x16c23c){const _0x5d050a=_0x53f2e9;return _0x5d050a(0x1d6)===_0x16c23c[_0x5d050a(0x1fc)];}(_0x47f6a0)&&this[_0x53f2e9(0x230)])await this[_0x53f2e9(0x176)]();else{if(function(_0x3de431){const _0x562831=_0x53f2e9;return _0x562831(0x1cd)===_0x3de431[_0x562831(0x1fc)];}(_0x47f6a0)){const _0x55b1dc=_0x8653b3(this[_0x53f2e9(0x221)][_0x53f2e9(0x1b5)],_0x53f2e9(0x228));this[_0x53f2e9(0x1eb)](_0x55b1dc);}else{if(!(_0x47f6a0 instanceof J))throw _0x47f6a0;this[_0x53f2e9(0x1eb)]();}}}}[_0x43df9d(0x1f2)](){const _0x24aecf=_0x43df9d,_0x5154fe=this[_0x24aecf(0x221)][_0x24aecf(0x23f)][_0x24aecf(0x1f7)](_0x2ff33d),_0x95f6e3=this[_0x24aecf(0x221)][_0x24aecf(0x23f)][_0x24aecf(0x1f7)](_0x5ed2a8);this[_0x24aecf(0x221)][_0x24aecf(0x25e)](_0x24aecf(0x21b)),_0x95f6e3[_0x24aecf(0x1a8)][_0x24aecf(0x1cc)](this[_0x24aecf(0x1b0)])&&_0x95f6e3[_0x24aecf(0x216)](this[_0x24aecf(0x1b0)]),_0x5154fe[_0x24aecf(0x177)](this),this[_0x24aecf(0x245)](),super[_0x24aecf(0x1f2)]();}async[_0x43df9d(0x26b)](_0x2899a4){const _0x414dec=_0x43df9d;if(this[_0x414dec(0x230)]!==_0x2899a4[_0x414dec(0x230)]&&this[_0x414dec(0x25f)]!==_0x2899a4[_0x414dec(0x215)])throw new J();return this[_0x414dec(0x230)]=_0x2899a4[_0x414dec(0x230)],this[_0x414dec(0x1c8)]([],{..._0x2899a4,'wereChangesApplied':!0x1,'data':_0x2899a4[_0x414dec(0x24f)]},_0x414dec(0x1de));}async[_0x43df9d(0x17e)](_0x5135c1,_0x21b222=!0x1){const _0x2fe909=_0x43df9d,{connection:_0x57320c}=this[_0x2fe909(0x221)][_0x2fe909(0x23f)][_0x2fe909(0x1f7)](_0x2ff33d);l[_0x2fe909(0x220)][_0x2fe909(0x180)](_0x57320c,this[_0x2fe909(0x1b0)])[_0x2fe909(0x21a)](_0x150b74=>this[_0x2fe909(0x1a0)](_0x150b74))[_0x2fe909(0x235)](_0x82f452=>{const _0x37c352=_0x2fe909;this[_0x37c352(0x1d3)](_0x37c352(0x258),_0x82f452);}),this[_0x2fe909(0x1c4)](this[_0x2fe909(0x1ed)],_0x2fe909(0x1e5),this[_0x2fe909(0x206)][_0x2fe909(0x17d)](this)),this[_0x2fe909(0x1c4)](this[_0x2fe909(0x1ed)],_0x2fe909(0x18a),(_0x29e474,_0xfc3a84)=>{const _0x5f57fa=_0x2fe909;this[_0x5f57fa(0x1d3)](_0x5f57fa(0x1af),_0xfc3a84);}),this[_0x2fe909(0x1c4)](this[_0x2fe909(0x1ed)],_0x2fe909(0x191),()=>{const _0x5c0200=_0x2fe909;this[_0x5c0200(0x1fb)]=!0x1;});const _0x5e1abe=this[_0x2fe909(0x198)][_0x2fe909(0x181)](_0x5135c1);this[_0x2fe909(0x203)]=!0x0;const _0x567e29=await this[_0x2fe909(0x1ed)][_0x2fe909(0x26d)](_0x57320c,this[_0x2fe909(0x259)](_0x5135c1),_0x5e1abe);if(this[_0x2fe909(0x230)]=_0x567e29[_0x2fe909(0x230)],_0x21b222){if(!_0x567e29[_0x2fe909(0x184)])return void this[_0x2fe909(0x1eb)]();this[_0x2fe909(0x203)]=!0x1,this[_0x2fe909(0x1a2)](),this[_0x2fe909(0x178)][_0x2fe909(0x257)](),this[_0x2fe909(0x1e0)]=_0x567e29[_0x2fe909(0x25a)],this[_0x2fe909(0x178)][_0x2fe909(0x264)]=this[_0x2fe909(0x1e0)],await this[_0x2fe909(0x1c8)](_0x5135c1,_0x567e29,_0x2fe909(0x266));}else await this[_0x2fe909(0x209)](_0x567e29,_0x5135c1);this[_0x2fe909(0x1e2)](),this[_0x2fe909(0x1fb)]=!0x0;}[_0x43df9d(0x1e2)](){const _0x10e59b=_0x43df9d,_0x55a179=this[_0x10e59b(0x221)][_0x10e59b(0x23f)][_0x10e59b(0x1f7)](_0x5ed2a8),_0x3058ac=this[_0x10e59b(0x221)][_0x10e59b(0x23f)][_0x10e59b(0x1f7)](_0x509932),_0x1fe69d=_0x55a179[_0x10e59b(0x1a8)][_0x10e59b(0x1f7)](this[_0x10e59b(0x1b0)]);_0x1fe69d&&_0x1fe69d[_0x10e59b(0x174)]>0x1?_0x3058ac[_0x10e59b(0x247)]():this[_0x10e59b(0x1c4)](_0x55a179,_0x10e59b(0x22c)+this[_0x10e59b(0x1b0)],()=>{const _0x3e4cac=_0x10e59b;0x2===_0x55a179[_0x3e4cac(0x1a8)][_0x3e4cac(0x1f7)](this[_0x3e4cac(0x1b0)])[_0x3e4cac(0x174)]&&_0x3058ac[_0x3e4cac(0x247)]();});}async[_0x43df9d(0x206)](_0x2141c2,_0x34dc0e,_0x508e48,_0x5efbd4){const _0x3dc8cb=_0x43df9d;if(!this[_0x3dc8cb(0x203)]&&this[_0x3dc8cb(0x1aa)][_0x3dc8cb(0x264)]==_0x34dc0e){const _0x35d28f=this[_0x3dc8cb(0x249)](_0x508e48,_0x5efbd4);await this[_0x3dc8cb(0x1da)](_0x35d28f),this[_0x3dc8cb(0x20e)](_0x35d28f,_0x34dc0e,_0x508e48[_0x3dc8cb(0x215)])||this[_0x3dc8cb(0x1d3)](_0x3dc8cb(0x213));}}async[_0x43df9d(0x176)](){const _0x5d2d93=_0x43df9d;this[_0x5d2d93(0x245)]();const {locale:_0xc5a351}=this[_0x5d2d93(0x221)];let _0x5c999f;try{_0x5c999f=await this[_0x5d2d93(0x1ed)][_0x5d2d93(0x1cf)]();}catch(_0x2b2ea3){const _0x2df88f=_0x8653b3(_0xc5a351,_0x5d2d93(0x244));return void this[_0x5d2d93(0x1eb)](_0x2df88f);}const _0x305c93=_0x5c999f[_0x5d2d93(0x20c)]||_0x5c999f[_0x5d2d93(0x217)];if(this[_0x5d2d93(0x25f)]===_0x305c93[_0x5d2d93(0x215)])await this[_0x5d2d93(0x17e)](this[_0x5d2d93(0x221)][_0x5d2d93(0x26f)][_0x5d2d93(0x20a)][_0x5d2d93(0x271)][_0x5d2d93(0x18d)](),!0x0);else{const _0x1948f3=_0x8653b3(_0xc5a351,_0x5d2d93(0x1a3));this[_0x5d2d93(0x1eb)](_0x1948f3);}}[_0x43df9d(0x245)](){const _0x41dd1e=_0x43df9d;this[_0x41dd1e(0x1ed)][_0x41dd1e(0x1c3)](),this[_0x41dd1e(0x21e)]=[],clearTimeout(this[_0x41dd1e(0x193)]),this[_0x41dd1e(0x186)](this[_0x41dd1e(0x1ed)]);}[_0x43df9d(0x1a0)](_0x138545){const _0x461160=_0x43df9d,_0x344cc7=this[_0x461160(0x221)][_0x461160(0x23f)][_0x461160(0x1f7)](_0x5ed2a8);this[_0x461160(0x1c4)](_0x344cc7,_0x461160(0x22c)+this[_0x461160(0x1b0)],(_0x3879af,{session:_0x3dfdb6})=>{const _0x49301d=_0x461160;if(_0x3dfdb6['id']===_0x344cc7[_0x49301d(0x17b)]){_0x3879af[_0x49301d(0x1fd)]();const _0x46f085=this[_0x49301d(0x221)][_0x49301d(0x23f)][_0x49301d(0x1cc)](_0x49301d(0x26e))&&this[_0x49301d(0x221)][_0x49301d(0x23f)][_0x49301d(0x1f7)](_0x49301d(0x26e));let _0x4ef513=_0x3dfdb6[_0x49301d(0x17c)];_0x46f085&&_0x46f085[_0x49301d(0x1d5)]&&(_0x4ef513=_0x4ef513[_0x49301d(0x223)](_0x1e5901=>_0x49301d(0x242)!==_0x1e5901)),this[_0x49301d(0x221)][_0x49301d(0x23f)][_0x49301d(0x1f7)](_0x49301d(0x25d))[_0x49301d(0x219)](_0x4ef513,this[_0x49301d(0x1b0)]);}}),_0x344cc7[_0x461160(0x214)](this[_0x461160(0x1b0)],_0x138545);}[_0x43df9d(0x268)](){const _0x4dcee4=_0x43df9d,_0x47b90a=this[_0x4dcee4(0x221)][_0x4dcee4(0x24f)][_0x4dcee4(0x24b)];this[_0x4dcee4(0x221)][_0x4dcee4(0x24f)][_0x4dcee4(0x24b)]=(..._0x2174fc)=>{const _0x44efd5=_0x4dcee4;if(!_0x2174fc[_0x2174fc[_0x44efd5(0x174)]-0x1][_0x44efd5(0x1dc)])throw new _0x4da509(_0x44efd5(0x1a5),this);_0x47b90a[_0x44efd5(0x19f)](this[_0x44efd5(0x221)][_0x44efd5(0x24f)],_0x2174fc);};}[_0x43df9d(0x24e)](){const _0x3fef27=_0x43df9d;this[_0x3fef27(0x221)][_0x3fef27(0x24f)]['on'](_0x3fef27(0x200),(_0x4c9c45,[_0xa40d74])=>{const _0x3d1324=_0x3fef27;if(this[_0x3d1324(0x1aa)][_0x3d1324(0x264)])throw new _0x4da509(_0x3d1324(0x189),this);_0x4c9c45[_0x3d1324(0x183)](),this[_0x3d1324(0x1f9)]();const _0x208a14=this[_0x3d1324(0x221)][_0x3d1324(0x269)][_0x3d1324(0x1f7)](_0x3d1324(0x19b)),_0x127a03=this[_0x3d1324(0x197)](_0xa40d74,_0x208a14);0x0==_0x127a03[_0x3d1324(0x174)]&&_0x127a03[_0x3d1324(0x1d0)](new _0x17319b(0x0)),_0x4c9c45[_0x3d1324(0x171)]=this[_0x3d1324(0x17e)](_0x127a03)[_0x3d1324(0x21a)](()=>{const _0x2a6038=_0x3d1324;this[_0x2a6038(0x221)][_0x2a6038(0x23f)][_0x2a6038(0x1f7)](_0x2ff33d)[_0x2a6038(0x1e1)](this),this[_0x2a6038(0x221)][_0x2a6038(0x24f)][_0x2a6038(0x225)](_0x2a6038(0x1bf));})[_0x3d1324(0x235)](_0x17dc21=>this[_0x3d1324(0x1d3)](_0x3d1324(0x260),_0x17dc21))[_0x3d1324(0x172)](()=>this[_0x3d1324(0x1a2)]());},{'priority':_0x3fef27(0x185)}),this[_0x3fef27(0x221)]['on'](_0x3fef27(0x212),async(_0x30f79b,[_0x3a26b4,_0x48f7eb])=>{const _0x490a24=_0x3fef27;_0x30f79b[_0x490a24(0x183)]();const _0x164336=this[_0x490a24(0x221)][_0x490a24(0x26f)][_0x490a24(0x20a)][_0x490a24(0x236)](_0x3a26b4);if(!this[_0x490a24(0x202)][_0x490a24(0x1cc)](_0x3a26b4)){const _0x4fb6ea=_0x48f7eb&&_0x48f7eb[_0x490a24(0x24f)]?_0x48f7eb[_0x490a24(0x24f)]:'',_0x262e89=_0x48f7eb&&_0x48f7eb[_0x490a24(0x1ee)]?_0x48f7eb[_0x490a24(0x1ee)]:{};await this[_0x490a24(0x222)](_0x3a26b4,_0x4fb6ea,_0x262e89);}this[_0x490a24(0x221)][_0x490a24(0x26f)][_0x490a24(0x204)]({'isUndoable':!0x1},()=>{const _0x387c8c=_0x490a24;_0x164336[_0x387c8c(0x263)]=!0x0,this[_0x387c8c(0x221)][_0x387c8c(0x26f)][_0x387c8c(0x20a)][_0x387c8c(0x1ab)][_0x387c8c(0x1ca)](_0x164336);});},{'priority':_0x3fef27(0x185)});}async[_0x43df9d(0x1da)](_0x4242ac){const _0x46615f=_0x43df9d,_0x10c22d=this[_0x46615f(0x221)][_0x46615f(0x23f)][_0x46615f(0x1f7)](_0x5d6683),{connection:_0x3a8ab4}=this[_0x46615f(0x221)][_0x46615f(0x23f)][_0x46615f(0x1f7)](_0x2ff33d),_0x2bd033=new Set();for(const _0x3cdd36 of _0x4242ac){const _0x4241dd=_0x3cdd36[_0x46615f(0x252)];_0x4241dd&&!_0x10c22d[_0x46615f(0x18c)](_0x4241dd)&&_0x2bd033[_0x46615f(0x1b4)](_0x4241dd);}if(0x0===_0x2bd033[_0x46615f(0x1c6)])return;const _0x825291=await _0x4d5d14[_0x46615f(0x201)](_0x3a8ab4,Array[_0x46615f(0x274)](_0x2bd033));for(const _0x381d63 of _0x825291)_0x10c22d[_0x46615f(0x18c)](_0x381d63['id'])||_0x10c22d[_0x46615f(0x1d1)](_0x381d63);}[_0x43df9d(0x197)](_0x23da9b,_0x28b58a={}){const _0x3d0110=_0x43df9d,_0x17eb4c=this[_0x3d0110(0x221)][_0x3d0110(0x26f)],_0x38088a=[];let _0x2ec310=0x0;const _0x49a5a0=_0x3d0110(0x1b1)==typeof _0x23da9b?{'main':_0x23da9b}:_0x23da9b;for(const _0x4064f3 of Object[_0x3d0110(0x18e)](_0x49a5a0)){if(!this[_0x3d0110(0x1aa)][_0x3d0110(0x238)][_0x3d0110(0x1cc)](_0x4064f3))throw new _0x4da509(_0x3d0110(0x234),this);const _0x2c93e6=this[_0x3d0110(0x221)][_0x3d0110(0x24f)][_0x3d0110(0x1d8)](_0x49a5a0[_0x4064f3]),_0x1cea2e=this[_0x3d0110(0x1aa)][_0x3d0110(0x236)](_0x4064f3),_0x1280c8=new _0x1c40aa(_0x17eb4c[_0x3d0110(0x239)](_0x1cea2e,0x0),_0x2c93e6,_0x2ec310++);_0x38088a[_0x3d0110(0x1d0)](_0x1280c8);for(const [_0x13abe7,_0x995635]of _0x2c93e6[_0x3d0110(0x1f3)]){const _0x22e45c=_0x17eb4c[_0x3d0110(0x211)](_0x17eb4c[_0x3d0110(0x1cb)](_0x1cea2e,_0x995635[_0x3d0110(0x251)][_0x3d0110(0x1a7)][_0x3d0110(0x24a)]()),_0x17eb4c[_0x3d0110(0x1cb)](_0x1cea2e,_0x995635[_0x3d0110(0x1bd)][_0x3d0110(0x1a7)][_0x3d0110(0x24a)]())),_0x3a583c=new _0x4cf959(_0x13abe7,null,_0x22e45c,_0x17eb4c[_0x3d0110(0x1f3)],!0x0,_0x2ec310++);_0x38088a[_0x3d0110(0x1d0)](_0x3a583c);}}if(_0x28b58a)for(const [_0x1a9cb9,_0x4019df]of Object[_0x3d0110(0x227)](_0x28b58a)){const _0xf36570=_0x17eb4c[_0x3d0110(0x20a)][_0x3d0110(0x236)](_0x1a9cb9);if(!_0xf36570)throw new _0x4da509(_0x3d0110(0x250),null);for(const [_0xf194de,_0xa6a455]of Object[_0x3d0110(0x227)](_0x4019df))if(null!==_0xa6a455){const _0x4b46ea=new _0x433354(_0xf36570,_0xf194de,null,_0xa6a455,_0x2ec310++);_0x38088a[_0x3d0110(0x1d0)](_0x4b46ea);}}return _0x38088a;}async[_0x43df9d(0x222)](_0x366c69,_0x515d55,_0x8c62cf){const _0x2fdb00=_0x43df9d;this[_0x2fdb00(0x197)]({[_0x366c69]:_0x515d55},{[_0x366c69]:_0x8c62cf})[_0x2fdb00(0x1e3)]((_0x3376a0,_0x567d3c)=>{const _0x1e8828=_0x2fdb00;_0x3376a0[_0x1e8828(0x254)]=this[_0x1e8828(0x1aa)][_0x1e8828(0x264)]+_0x567d3c,_0x3376a0[_0x1e8828(0x1df)]=!0x0,this[_0x1e8828(0x233)](_0x3376a0);}),this[_0x2fdb00(0x1e8)](),await this[_0x2fdb00(0x1ac)]();}async[_0x43df9d(0x209)](_0x224766,_0x38999a){const _0x541447=_0x43df9d;let _0x14791b;this[_0x541447(0x1e0)]=_0x224766[_0x541447(0x25a)];const _0x21a5d4=_0x224766[_0x541447(0x184)]&&!_0x224766[_0x541447(0x1fa)],_0x20ab95=_0x21a5d4?0x0:_0x224766[_0x541447(0x24f)][_0x541447(0x254)];if(_0x38999a[_0x541447(0x1e3)](_0x5ad54f=>{const _0x3bb447=_0x541447;_0x5ad54f[_0x3bb447(0x1df)]=!0x0,_0x5ad54f[_0x3bb447(0x248)]=_0x224766[_0x3bb447(0x1a9)],_0x5ad54f[_0x3bb447(0x252)]=null;}),_0x21a5d4)_0x14791b=_0x38999a,this[_0x541447(0x190)](_0x14791b,_0x21a5d4);else{if(_0x224766[_0x541447(0x1fa)]){const _0x55c7f3=this[_0x541447(0x197)](_0x224766[_0x541447(0x1fa)]);this[_0x541447(0x1aa)][_0x541447(0x271)][_0x541447(0x264)]=-_0x55c7f3[_0x541447(0x174)],_0x55c7f3[_0x541447(0x1e3)](_0x1427e7=>{const _0x5177a4=_0x541447;_0x1427e7[_0x5177a4(0x254)]-=_0x55c7f3[_0x5177a4(0x174)],_0x1427e7[_0x5177a4(0x248)]=_0x224766[_0x5177a4(0x1a9)],_0x1427e7[_0x5177a4(0x1df)]=!0x0,_0x1427e7[_0x5177a4(0x252)]=null;}),this[_0x541447(0x190)](_0x55c7f3,!0x0),this[_0x541447(0x178)][_0x541447(0x264)]=-_0x55c7f3[_0x541447(0x174)]+this[_0x541447(0x1e0)],this[_0x541447(0x1be)](_0x55c7f3);}this[_0x541447(0x1aa)][_0x541447(0x271)][_0x541447(0x264)]=_0x20ab95,_0x14791b=this[_0x541447(0x249)](_0x224766[_0x541447(0x24f)],_0x224766[_0x541447(0x1ff)]),await this[_0x541447(0x1da)](_0x14791b),this[_0x541447(0x190)](_0x14791b,_0x21a5d4);}_0x224766[_0x541447(0x215)]&&(this[_0x541447(0x198)][_0x541447(0x25c)](_0x14791b,_0x224766[_0x541447(0x215)]),this[_0x541447(0x25f)]=_0x224766[_0x541447(0x215)]),this[_0x541447(0x178)][_0x541447(0x264)]=_0x20ab95+this[_0x541447(0x1e0)],this[_0x541447(0x1be)](_0x14791b),_0x38999a[_0x541447(0x223)](_0x47cda8=>{const _0x4bf43f=_0x541447,_0x7180c1=this[_0x4bf43f(0x1ad)](_0x47cda8);return _0x7180c1&&!this[_0x4bf43f(0x202)][_0x4bf43f(0x1cc)](_0x7180c1);})[_0x541447(0x1e3)]((_0x2e4971,_0x1f2ff4)=>{const _0x160c9e=_0x541447;_0x2e4971[_0x160c9e(0x254)]=this[_0x160c9e(0x1aa)][_0x160c9e(0x264)]+_0x1f2ff4,this[_0x160c9e(0x233)](_0x2e4971);}),this[_0x541447(0x182)]()?(this[_0x541447(0x192)]=0x0,this[_0x541447(0x1e8)](!0x0),await this[_0x541447(0x1ac)]()):(this[_0x541447(0x203)]=!0x1,this[_0x541447(0x1a2)]());}[_0x43df9d(0x1d3)](_0x3662b4,_0x3d9b0b){const _0x4f7ab4=_0x43df9d;throw this[_0x4f7ab4(0x203)]=!0x0,_0x3d9b0b&&console[_0x4f7ab4(0x18a)](_0x3d9b0b),new _0x4da509(_0x3662b4,this[_0x4f7ab4(0x221)]);}[_0x43df9d(0x233)](_0x2a7652){const _0x41f995=_0x43df9d;this[_0x41f995(0x210)][_0x41f995(0x1cc)](_0x2a7652)||(this[_0x41f995(0x210)][_0x41f995(0x1b4)](_0x2a7652),this[_0x41f995(0x21e)][_0x41f995(0x1d0)](_0x2a7652),this[_0x41f995(0x1e9)]||_0x41f995(0x23a)==_0x2a7652[_0x41f995(0x270)]&&!_0x2a7652[_0x41f995(0x26a)]||this[_0x41f995(0x1f9)]());}[_0x43df9d(0x1e8)](_0x5573d4=!0x1){const _0x3b6057=_0x43df9d;!_0x5573d4&&this[_0x3b6057(0x203)]||(this[_0x3b6057(0x203)]=!0x0,clearTimeout(this[_0x3b6057(0x193)]),this[_0x3b6057(0x193)]=setTimeout(()=>{const _0x419d60=_0x3b6057;this[_0x419d60(0x173)]()[_0x419d60(0x21a)](_0x452793=>{const _0x60ffee=_0x419d60;_0x452793&&(this[_0x60ffee(0x1a2)](),this[_0x60ffee(0x203)]=!0x1);})[_0x419d60(0x235)](_0x4ea66c=>{const _0x52c75b=_0x419d60;if(this[_0x52c75b(0x1a2)](),this[_0x52c75b(0x203)]=!0x1,!function(_0x3a11e9){const _0x489413=_0x52c75b;return _0x3a11e9[_0x489413(0x256)][_0x489413(0x262)](_0x489413(0x17f))||_0x3a11e9[_0x489413(0x256)][_0x489413(0x262)](_0x489413(0x272))||_0x3a11e9[_0x489413(0x256)][_0x489413(0x262)](_0x489413(0x19e));}(_0x4ea66c))throw _0x4ea66c;});},this[_0x3b6057(0x192)]));}[_0x43df9d(0x1ac)](){return new Promise(_0x315e36=>{const _0x66c59=_0x4a11;this['on'](_0x66c59(0x1e4),()=>{_0x315e36();});});}async[_0x43df9d(0x173)](){const _0xca5a13=_0x43df9d,_0x45f854=this[_0xca5a13(0x221)][_0xca5a13(0x23f)][_0xca5a13(0x1f7)](_0x509932);if(this[_0xca5a13(0x205)]()&&(_0x45f854[_0xca5a13(0x247)](),this[_0xca5a13(0x1e7)]=!0x1),!this[_0xca5a13(0x182)]())return!0x0;const _0x1d1886=[...this[_0xca5a13(0x21e)]];for(const _0x192dbd of _0x1d1886)_0x192dbd[_0xca5a13(0x1fe)]=this[_0xca5a13(0x1aa)][_0xca5a13(0x271)][_0xca5a13(0x25b)](_0x192dbd);const _0x24a922=this[_0xca5a13(0x198)][_0xca5a13(0x181)](_0x1d1886),_0x461b73=K++,_0x10a4a8=this[_0xca5a13(0x259)](_0x1d1886),_0x1a9b4b=await this[_0xca5a13(0x1ed)][_0xca5a13(0x1b6)](_0x10a4a8,_0x10a4a8[_0xca5a13(0x254)],_0x24a922);try{return await this[_0xca5a13(0x1c8)](_0x1d1886,_0x1a9b4b,_0x461b73);}catch(_0x4d6091){return this[_0xca5a13(0x1d3)](_0xca5a13(0x1b8),_0x4d6091);}}async[_0x43df9d(0x1c8)](_0x4ef68f,_0x358246,_0x193427){const _0x17762f=_0x43df9d;if(_0x17762f(0x18a)in _0x358246)throw _0x358246[_0x17762f(0x18a)];let _0x38f982=!0x1;if(_0x358246[_0x17762f(0x184)]){_0x358246[_0x17762f(0x215)]&&(this[_0x17762f(0x25f)]=_0x358246[_0x17762f(0x215)]),this[_0x17762f(0x21e)]=this[_0x17762f(0x21e)][_0x17762f(0x223)](_0x13a981=>!_0x4ef68f[_0x17762f(0x19a)](_0x13a981));for(const _0x10ead3 of _0x4ef68f)_0x10ead3[_0x17762f(0x248)]=_0x17762f(0x1ae)in _0x358246&&_0x358246[_0x17762f(0x1ae)]||void 0x0;Q(_0x4ef68f,_0x358246[_0x17762f(0x264)]-_0x4ef68f[_0x17762f(0x174)]),this[_0x17762f(0x1be)](_0x4ef68f);const _0x107ad9=_0x4ef68f[_0x17762f(0x223)](_0x4bbc59=>{const _0x146fd7=_0x17762f;if(!_0x4bbc59[_0x146fd7(0x1df)])return!0x1;const _0x44d91c=this[_0x146fd7(0x1ad)](_0x4bbc59);return _0x44d91c&&!this[_0x146fd7(0x202)][_0x146fd7(0x1cc)](_0x44d91c);});Q(_0x107ad9,this[_0x17762f(0x1aa)][_0x17762f(0x264)]),this[_0x17762f(0x190)](_0x107ad9),_0x38f982=!0x0,this[_0x17762f(0x192)]=this[_0x17762f(0x179)];}else{const _0x320d25=this[_0x17762f(0x249)](_0x358246[_0x17762f(0x24f)],_0x358246[_0x17762f(0x1ff)])[_0x17762f(0x223)](_0x19cf17=>_0x19cf17[_0x17762f(0x254)]>=this[_0x17762f(0x23e)]);_0x320d25[_0x17762f(0x1e3)](_0x440ff3=>this[_0x17762f(0x23c)](_0x440ff3)),this[_0x17762f(0x21e)]=this[_0x17762f(0x21e)][_0x17762f(0x223)](_0x5a0742=>!_0x5a0742[_0x17762f(0x1df)]||!this[_0x17762f(0x202)][_0x17762f(0x1cc)](this[_0x17762f(0x1ad)](_0x5a0742))),this[_0x17762f(0x21e)][_0x17762f(0x174)]&&Q(this[_0x17762f(0x21e)],this[_0x17762f(0x21e)][0x0][_0x17762f(0x254)]),await this[_0x17762f(0x1da)](_0x320d25),_0x38f982=this[_0x17762f(0x20e)](_0x320d25,_0x358246[_0x17762f(0x264)],_0x358246[_0x17762f(0x215)]),this[_0x17762f(0x192)]=Math[_0x17762f(0x187)](this[_0x17762f(0x192)]/0x2);}return _0x38f982?!this[_0x17762f(0x182)]()||(this[_0x17762f(0x1e8)](!0x0),!0x1):this[_0x17762f(0x1d3)](_0x17762f(0x253));}[_0x43df9d(0x20e)](_0x4d45dc,_0x52878b,_0x48b869){const _0x2fb307=_0x43df9d;try{const _0x2d106d={'document':this[_0x2fb307(0x1aa)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x48d7a5,operationsB:_0x1c2f6f,originalOperations:_0xb50a58}=_0x23ea0c(_0x4d45dc,this[_0x2fb307(0x21e)],_0x2d106d);Q(_0x48d7a5,this[_0x2fb307(0x1aa)][_0x2fb307(0x264)]),Q(_0x1c2f6f,_0x52878b);for(const _0x482fcb of _0x48d7a5){const _0x3fdf5b=_0xb50a58[_0x2fb307(0x1f7)](_0x482fcb);_0x482fcb[_0x2fb307(0x252)]=_0x3fdf5b?_0x3fdf5b[_0x2fb307(0x252)]:null;}_0x48b869&&(this[_0x2fb307(0x198)][_0x2fb307(0x25c)](_0x4d45dc,_0x48b869),this[_0x2fb307(0x25f)]=_0x48b869),this[_0x2fb307(0x21e)]=[..._0x1c2f6f],this[_0x2fb307(0x190)](_0x48d7a5),this[_0x2fb307(0x1be)](_0x4d45dc);}catch(_0x5c0245){return console[_0x2fb307(0x18a)](_0x5c0245),!0x1;}return!0x0;}[_0x43df9d(0x190)](_0x3eb982,_0x30bbec=!0x1){const _0x313159=_0x43df9d;this[_0x313159(0x221)][_0x313159(0x26f)][_0x313159(0x204)]({'isUndoable':!0x1,'isLocal':!0x1},_0x31379e=>{const _0x929502=_0x313159;for(const _0x283ab8 of _0x3eb982)this[_0x929502(0x210)][_0x929502(0x1b4)](_0x283ab8),this[_0x929502(0x23c)](_0x283ab8),_0x31379e[_0x929502(0x1c9)][_0x929502(0x224)](_0x283ab8),this[_0x929502(0x221)][_0x929502(0x26f)][_0x929502(0x22b)](_0x283ab8);});}[_0x43df9d(0x23c)](_0x30f6b4){const _0x20af73=_0x43df9d,_0x1655d3=this[_0x20af73(0x1ad)](_0x30f6b4);_0x1655d3&&this[_0x20af73(0x202)][_0x20af73(0x1b4)](_0x1655d3);}[_0x43df9d(0x1ad)](_0x189dce){const _0x430f73=_0x43df9d;let _0x251b65,_0x386198;switch(_0x189dce[_0x430f73(0x270)]){case _0x430f73(0x1dd):_0x251b65=_0x189dce[_0x430f73(0x20b)][_0x430f73(0x1f4)];break;case _0x430f73(0x23a):if(_0x386198=_0x189dce[_0x430f73(0x273)],!_0x386198)return null;_0x251b65=_0x386198[_0x430f73(0x1f4)];break;case _0x430f73(0x240):_0x251b65=_0x189dce[_0x430f73(0x1f4)];break;case _0x430f73(0x1ba):_0x251b65=_0x189dce[_0x430f73(0x1c0)];break;case _0x430f73(0x1bb):_0x251b65=_0x189dce[_0x430f73(0x194)][_0x430f73(0x1f4)];break;default:return null;}return _0x251b65[_0x430f73(0x246)];}[_0x43df9d(0x1be)](_0x18f4d9){const _0xedc9e6=_0x43df9d;_0x18f4d9[_0xedc9e6(0x1e3)](_0x327768=>{const _0x33483e=_0xedc9e6,_0x3f62d=_0x327768[_0x33483e(0x21d)]();_0x3f62d[_0x33483e(0x252)]=_0x327768[_0x33483e(0x252)],_0x3f62d[_0x33483e(0x1df)]=!!_0x327768[_0x33483e(0x1df)],_0x3f62d[_0x33483e(0x248)]=_0x327768[_0x33483e(0x248)],_0x3f62d[_0x33483e(0x254)]+=this[_0x33483e(0x1e0)],_0x327768[_0x33483e(0x1d9)]&&this[_0x33483e(0x19c)][_0x33483e(0x1b4)](_0x3f62d),this[_0x33483e(0x178)][_0x33483e(0x224)](_0x3f62d);});}[_0x43df9d(0x1eb)](_0x533a0f){const _0x472cc1=_0x43df9d,_0x2e298f=this[_0x472cc1(0x221)][_0x472cc1(0x23f)][_0x472cc1(0x1f7)](_0x472cc1(0x1d7)),_0x3f6d3c=this[_0x472cc1(0x221)][_0x472cc1(0x1b5)];_0x533a0f||(_0x533a0f=_0x8653b3(_0x3f6d3c,_0x472cc1(0x1b7))),_0x2e298f[_0x472cc1(0x195)](_0x533a0f,{'title':_0x8653b3(_0x3f6d3c,_0x472cc1(0x1f6)),'namespace':_0x472cc1(0x1db)}),this[_0x472cc1(0x1a1)]=!0x0,clearTimeout(this[_0x472cc1(0x193)]),this[_0x472cc1(0x21e)]=[],this[_0x472cc1(0x221)][_0x472cc1(0x23f)][_0x472cc1(0x1f7)](_0x2ff33d)[_0x472cc1(0x1f2)]();}[_0x43df9d(0x1f9)](){const _0x25ab93=_0x43df9d;this[_0x25ab93(0x1e9)]||(this[_0x25ab93(0x1e9)]=this[_0x25ab93(0x221)][_0x25ab93(0x23f)][_0x25ab93(0x1f7)](_0x16eed8)[_0x25ab93(0x1b4)](_0x8653b3(this[_0x25ab93(0x221)][_0x25ab93(0x1b5)],_0x25ab93(0x26c))));}[_0x43df9d(0x1a2)](){const _0x21c4f5=_0x43df9d;this[_0x21c4f5(0x1e9)]&&(this[_0x21c4f5(0x221)][_0x21c4f5(0x23f)][_0x21c4f5(0x1f7)](_0x16eed8)[_0x21c4f5(0x21c)](this[_0x21c4f5(0x1e9)]),this[_0x21c4f5(0x1e9)]=null);}[_0x43df9d(0x259)](_0x1e424e){const _0x451411=_0x43df9d,_0x298abf=_0x1e424e[_0x451411(0x231)](_0x4aa8e5=>_0x4aa8e5[_0x451411(0x261)]());return this[_0x451411(0x199)][_0x451411(0x20d)](_0x298abf);}[_0x43df9d(0x249)](_0x5478a4,_0x29c917){const _0x17886e=_0x43df9d;return this[_0x17886e(0x199)][_0x17886e(0x18b)](_0x5478a4)[_0x17886e(0x231)]((_0x486882,_0x5023e6)=>{const _0x2b8f1e=_0x17886e,_0x182cd6=_0x2b8f1e(0x200)==_0x29c917[_0x5023e6][_0x2b8f1e(0x270)];if(_0x2b8f1e(0x1e6)==_0x486882[_0x2b8f1e(0x1ce)]){const _0x174b7a=_0x486882[_0x2b8f1e(0x20b)][_0x2b8f1e(0x1f4)];!this[_0x2b8f1e(0x1aa)][_0x2b8f1e(0x236)](_0x174b7a)&&(this[_0x2b8f1e(0x1aa)][_0x2b8f1e(0x241)](_0x2b8f1e(0x22e),_0x174b7a)[_0x2b8f1e(0x1f5)]=!0x1);}const _0x30109d=_0xfb312f[_0x2b8f1e(0x265)](_0x486882,this[_0x2b8f1e(0x1aa)]);return _0x30109d[_0x2b8f1e(0x1fe)]=_0x486882[_0x2b8f1e(0x1fe)],_0x30109d[_0x2b8f1e(0x1df)]=_0x182cd6,_0x30109d[_0x2b8f1e(0x252)]=_0x182cd6?null:_0x29c917[_0x5023e6][_0x2b8f1e(0x243)],_0x30109d[_0x2b8f1e(0x1d9)]=_0x2b8f1e(0x21f)===_0x29c917[_0x5023e6][_0x2b8f1e(0x270)],_0x30109d[_0x2b8f1e(0x248)]=_0x29c917[_0x5023e6][_0x2b8f1e(0x248)],_0x30109d;});}[_0x43df9d(0x17a)](){const _0xe6c882=_0x43df9d;this[_0xe6c882(0x1e7)]=!0x0,this[_0xe6c882(0x205)]()?this[_0xe6c882(0x1e8)]():this[_0xe6c882(0x1e7)]=!0x1;}[_0x43df9d(0x205)](){const _0x1061b0=_0x43df9d,_0x298551=this[_0x1061b0(0x221)][_0x1061b0(0x23f)][_0x1061b0(0x1f7)](_0x5ed2a8)[_0x1061b0(0x1a8)][_0x1061b0(0x1f7)](this[_0x1061b0(0x1b0)]);return!this[_0x1061b0(0x221)][_0x1061b0(0x1f1)]&&!!_0x298551&&_0x298551[_0x1061b0(0x174)]>0x1&&this[_0x1061b0(0x1e7)];}[_0x43df9d(0x182)](){const _0x279d84=_0x43df9d;return this[_0x279d84(0x21e)][_0x279d84(0x174)]>0x0||this[_0x279d84(0x205)]();}}l[_0x43df9d(0x220)]=_0x3f583e;function _0x2366(){const _0x1011c1=['register','lastOperationId','unregister','lastDocumentSession','change:hasDomSelection','setPermissions','then','rtc-destroyed','remove','clone','_bufferedOperations','cs:removeUser','CollaborativeEditingService','editor','_loadRoot','filter','addOperation','fire','isOfficialPlugin','entries','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','isPremiumPlugin','_ignoredOperations','applyOperation','sessionAdd:','collaboration.channelId','$root','change:_isEditingAllowed','sessionId','map','86900JdkgYH','_saveOperationInBuffer','realtimecollaborationclient-init-non-existent-root','catch','getRoot','connection','roots','createPositionAt','marker','9tXZGFI','_addKnownRoot','define','_lastServerVersion','plugins','addRootAttribute','createRoot','document:write','userId','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_disconnectService','rootName','createUserMarkerOperations','createdAt','_decompressOperations','slice','set','372945ztXgbd','directChange','_setUpDataInit','data','multi-root-editor-root-attributes-no-root','start','_authorId','realtimecollaborationclient-handleserverresponse','baseVersion','3HZSFlQ','message','reset','realtimecollaborationclient-init-session-connection-error','_compressOperations','offset','isUndoneOperation','setIdForTheLastOperation','Permissions','enableReadOnlyMode','_lastSyncedOperationId','realtimecollaborationclient-init-connection-failed','toJSON','startsWith','_isLoaded','version','fromJSON','reconnection:\x20flushed\x20session','9064140ctdJSP','_initThrowingOnDataSet','config','affectsData','_handleReconnectionResponse','PENDING_ACTION_SENDING_DATA','connect','CommentsOnly','model','type','history','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','newRange','from','return','finally','_sendBufferedOperations','length','state','_connectAfterSessionHasBeenFlushed','removeFromReconnectionStack','serverHistory','_baseBufferDelay','_refreshUserSelectionMarkers','mySessionId','permissions','bind','_connectService','cloud-services-internal-error:\x20Not\x20connected.','getConnectedSessions','getIdOfTheLastOperation','_shouldSendUpdate','stop','wereChangesApplied','high','stopListening','round','collaboration-missing-channelid','realtimecollaborationclient-init-document-already-initialized','error','decompress','getUser','getOperations','keys','selection','_applyOperationsSet','disconnected','_currentBufferDelay','_sendBufferedOperationsDelayId','targetPosition','showWarning','124120sNMTBz','_getOperationsFromInitData','_operationIdentifier','_compressor','includes','rootsAttributes','_disconnectionOperations','disableReadOnlyMode','cloud-services-internal-error:\x20Request\x20timeout.','apply','_initSessionsHandling','_hasSynchronizationProblem','_clearPendingAction','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.','rtc-offline','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_isEditingAllowed','path','channelSessions','sessionCreatedAt','_document','differ','_waitUntilSynced','_getAffectedRoot','lastOperationAcceptedAt','realtimecollaborationclient-initservice-internal-error','_channelId','string','4724ERxjWI','lastSyncVersion','add','locale','sendOperations','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.','realtimecollaborationclient-sendbufferedoperations','_operationToId','addRoot','move','2252154OrDCCm','end','_updateServerHistory','ready','affectedSelectable','1074GkXNLI','cloudServices.bundleVersion','disconnect','listenTo','connected','size','cloudDocumentVersion','_handleServerResponse','batch','_bufferRootLoad','createPositionFromPath','has','409','__className','getDocumentDetails','push','addUser','requires','_crash','pluginName','isEnabled','404','Notification','parse','_isDisconnection','_fetchMissingUsers','real-time-collaboration','suppressErrorInCollaboration','insert','reconnect','_isInit','_offset','addToReconnectionStack','_handleSendingSelectionMarkers','forEach','change:_isPendingUpdate','operationsReceived','InsertOperation','_hasSelectionChanged','_sendBufferedOperationsDelayed','_pendingAction','RealTimeCollaborationClient','_handleReconnectionError','view','_service','attributes','getOperationAuthor','editing','isReadOnly','destroy','markers','root','_isAttached','Synchronization\x20issue','get','change:range','_setPendingAction','initData','_isConnected','code','off','wasUndone','metadata','init','getMany','_knownRootNames','_isPendingUpdate','enqueueChange','_shouldSendSelectionUpdate','_handleReceivedOperations','458318bfSvJL','isDocumentOperation','_handleInitialConnectionData','document','position','currentDocumentSession','compress','_handleExternalOperations','collaboration','_knownOperations','createRange','loadRoot','realtimecollaborationclient-initservice-incorrect-server-operation'];_0x2366=function(){return _0x1011c1;};return _0x2366();}export default l;class J extends Error{}function Q(_0x3ffd43,_0xf9f6c7){const _0x4dc167=_0x43df9d;for(const _0x199d2e of _0x3ffd43)_0x199d2e[_0x4dc167(0x254)]=_0xf9f6c7++;}class X{constructor(_0x20afea){const _0x5177db=_0x43df9d;this[_0x5177db(0x22a)]=_0x20afea,this[_0x5177db(0x1b9)]=new WeakMap();}[_0x43df9d(0x181)](_0x255745){const _0x675ab=_0x43df9d;let _0x17825f=_0x255745[_0x675ab(0x174)];for(;_0x17825f--;){const _0x3e8827=_0x255745[_0x17825f];if(!this[_0x675ab(0x22a)][_0x675ab(0x1cc)](_0x3e8827)){if(!this[_0x675ab(0x1b9)][_0x675ab(0x1cc)](_0x3e8827)){const _0x3fc812=_0x480013()[_0x675ab(0x24a)](0x1,0x12);this[_0x675ab(0x1b9)][_0x675ab(0x24b)](_0x3e8827,_0x3fc812);}return this[_0x675ab(0x1b9)][_0x675ab(0x1f7)](_0x3e8827);}}}[_0x43df9d(0x25c)](_0x117de0,_0xd823ea){const _0x33e523=_0x43df9d;if(!_0xd823ea)return;let _0x121d27=_0x117de0[_0x33e523(0x174)];for(;_0x121d27--;){const _0x1190ec=_0x117de0[_0x121d27];this[_0x33e523(0x22a)][_0x33e523(0x1cc)](_0x1190ec)||this[_0x33e523(0x1b9)][_0x33e523(0x24b)](_0x1190ec,_0xd823ea);}}}
|
|
23
|
+
const _0x29e759=_0x44b1;(function(_0x25a18e,_0x1ae65c){const _0x1a606f=_0x44b1,_0x44f75b=_0x25a18e();while(!![]){try{const _0x2dd06b=parseInt(_0x1a606f(0x17d))/0x1*(parseInt(_0x1a606f(0x208))/0x2)+-parseInt(_0x1a606f(0x1f1))/0x3+-parseInt(_0x1a606f(0x23d))/0x4+-parseInt(_0x1a606f(0x1c9))/0x5+-parseInt(_0x1a606f(0x1f9))/0x6+-parseInt(_0x1a606f(0x175))/0x7*(parseInt(_0x1a606f(0x23a))/0x8)+-parseInt(_0x1a606f(0x201))/0x9*(-parseInt(_0x1a606f(0x236))/0xa);if(_0x2dd06b===_0x1ae65c)break;else _0x44f75b['push'](_0x44f75b['shift']());}catch(_0x3b47ed){_0x44f75b['push'](_0x44f75b['shift']());}}}(_0x8416,0x33e37));import{Plugin as _0x255e56,PendingActions as _0xb106ea}from'ckeditor5/src/core.js';function _0x44b1(_0x463bf6,_0x518d6e){const _0x8416e0=_0x8416();return _0x44b1=function(_0x44b1cc,_0x2c19fd){_0x44b1cc=_0x44b1cc-0x141;let _0x53c633=_0x8416e0[_0x44b1cc];return _0x53c633;},_0x44b1(_0x463bf6,_0x518d6e);}import{CKEditorError as _0x863be0,version as _0x3ebfc5,uid as _0x3ab699}from'ckeditor5/src/utils.js';import{Notification as _0x1369aa}from'ckeditor5/src/ui.js';import{transformSets as _0x499335,NoOperation as _0x3c62e9,InsertOperation as _0x24d7f2,MarkerOperation as _0x3c4fba,RootAttributeOperation as _0x5b8da9,OperationFactory as _0x1d4d83,History as _0x463704}from'ckeditor5/src/engine.js';import _0x2c2c8f from'./websocketgateway.js';import _0x2ea552 from'./sessions.js';import _0x5b5253 from'./usermarkers.js';import{getTranslation as _0x48f94a}from'../common-translations.js';import{Compressor as _0x44ec9d}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x32dfb3}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x8416(){const _0x2180f2=['Synchronization\x20issue','apply','round','1dIbUOe','getIdOfTheLastOperation','_handleSendingSelectionMarkers','realtimecollaborationclient-sendbufferedoperations','cloudDocumentVersion','stopListening','reset','_handleReconnectionError','initData','init','connect','document:write','isEnabled','createPositionFromPath','cs:removeUser','real-time-collaboration','Notification','_knownRootNames','roots','document','addToReconnectionStack','markers','409','decompress','_addKnownRoot','cloud-services-internal-error:\x20Not\x20connected.','root','Permissions','serverHistory','permissions','createdAt','_clearPendingAction','connected','size','version','affectedSelectable','getOperationAuthor','rootsAttributes','lastOperationId','pluginName','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.','view','_updateServerHistory','enableReadOnlyMode','CommentsOnly','cloudServices.bundleVersion','collaboration.channelId','_isLoaded','_crash','404','sessionCreatedAt','getDocumentDetails','reconnect','_isPendingUpdate','currentDocumentSession','operationsReceived','enqueueChange','state','_refreshUserSelectionMarkers','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_isDisconnection','catch','ready','isDocumentOperation','from','add','end','type','define','_offset','createRoot','_getAffectedRoot','requires','register','newRange','realtimecollaborationclient-init-non-existent-root','1576725OMhVuc','attributes','_handleInitialConnectionData','_setUpDataInit','isReadOnly','cloud-services-internal-error:\x20Request\x20timeout.','$root','change:hasDomSelection','_getOperationsFromInitData','removeFromReconnectionStack','entries','_setPendingAction','_connectAfterSessionHasBeenFlushed','_connectService','_lastServerVersion','RealTimeCollaborationClient','compress','_loadRoot','connection','_initThrowingOnDataSet','get','applyOperation','sessionAdd:','plugins','getMany','fire','_hasSelectionChanged','push','rtc-destroyed','_saveOperationInBuffer','map','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','string','_document','locale','_service','return','addUser','_hasSynchronizationProblem','lastOperationAcceptedAt','756495GxpxKB','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.','batch','_bufferRootLoad','data','collaboration-missing-channelid','position','__className','2045580ehxDhl','realtimecollaborationclient-initservice-internal-error','baseVersion','message','model','createUserMarkerOperations','_lastSyncedOperationId','_handleExternalOperations','13612302RQPghL','_compressOperations','reconnection:\x20flushed\x20session','_operationToId','disconnected','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_compressor','201166vTgTNY','addOperation','userId','realtimecollaborationclient-init-connection-failed','realtimecollaborationclient-initservice-incorrect-server-operation','slice','_pendingAction','CollaborativeEditingService','editing','_operationIdentifier','history','setIdForTheLastOperation','setPermissions','length','PENDING_ACTION_SENDING_DATA','fromJSON','addRoot','rtc-offline','_sendBufferedOperations','bind','getOperations','toJSON','_sendBufferedOperationsDelayed','getConnectedSessions','isOfficialPlugin','path','_initSessionsHandling','move','clone','change:_isPendingUpdate','createPositionAt','InsertOperation','has','suppressErrorInCollaboration','createRange','_handleReceivedOperations','mySessionId','_currentBufferDelay','startsWith','disableReadOnlyMode','_fetchMissingUsers','_waitUntilSynced','_disconnectService','_decompressOperations','unregister','lastDocumentSession','10WrASYF','stop','getRoot','_isEditingAllowed','133976eZXRVH','_knownOperations','sessionId','1298464QajRrN','isUndoneOperation','keys','isPremiumPlugin','directChange','_sendBufferedOperationsDelayId','parse','loadRoot','getUser','insert','editor','addRootAttribute','_shouldSendUpdate','wasUndone','realtimecollaborationclient-init-document-already-initialized','then','destroy','error','start','high','_applyOperationsSet','change:_isEditingAllowed','off','_isAttached','_handleServerResponse','multi-root-editor-root-attributes-no-root','differ','channelSessions','rootName','change:range','_authorId','_isConnected','lastSyncVersion','realtimecollaborationclient-handleserverresponse','targetPosition','_ignoredOperations','finally','forEach','filter','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','sendOperations','_baseBufferDelay','offset','_shouldSendSelectionUpdate','code','marker','realtimecollaborationclient-init-session-connection-error','config','_disconnectionOperations','set','_bufferedOperations','remove','listenTo','disconnect','collaboration','metadata','selection','showWarning','wereChangesApplied','_handleReconnectionResponse','70HfflWQ','affectsData','_channelId','_isInit','includes'];_0x8416=function(){return _0x2180f2;};return _0x8416();}import{User as _0x314d9e,CollaborativeEditingService as _0x18e670}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let F=0x1;class l extends _0x255e56{static get[_0x29e759(0x1c5)](){return[_0x2c2c8f,_0x2ea552,_0x5b5253,_0xb106ea,_0x32dfb3,_0x1369aa];}static get[_0x29e759(0x1a4)](){const _0x17f86b=_0x29e759;return _0x17f86b(0x1d8);}static get[_0x29e759(0x220)](){return!0x0;}static get[_0x29e759(0x240)](){return!0x0;}get[_0x29e759(0x181)](){const _0x5eb0f2=_0x29e759;return this[_0x5eb0f2(0x1d7)]+this[_0x5eb0f2(0x1c2)];}get[_0x29e759(0x1d7)](){const _0x6dd598=_0x29e759;return this[_0x6dd598(0x199)][_0x6dd598(0x19f)]-this[_0x6dd598(0x1c2)];}get[_0x29e759(0x159)](){const _0x55a5e7=_0x29e759,_0x2c35d4=this[_0x55a5e7(0x199)][_0x55a5e7(0x21c)]();for(let _0x2909a3=_0x2c35d4[_0x55a5e7(0x215)]-0x1;_0x2909a3>=0x0;_0x2909a3--){const _0x329a23=_0x2c35d4[_0x2909a3];if(!this[_0x55a5e7(0x169)][_0x55a5e7(0x228)](_0x329a23))return _0x329a23[_0x55a5e7(0x1fb)]+0x1-this[_0x55a5e7(0x1c2)];}return 0x0;}constructor(_0x1d5374){const _0x1653ca=_0x29e759;if(super(_0x1d5374),this[_0x1653ca(0x1c2)]=0x0,this[_0x1653ca(0x23c)]=null,this[_0x1653ca(0x199)]=new _0x463704(),this[_0x1653ca(0x143)][_0x1653ca(0x168)][_0x1653ca(0x1c1)](_0x1653ca(0x16f),{}),this[_0x1653ca(0x177)]=this[_0x1653ca(0x143)][_0x1653ca(0x168)][_0x1653ca(0x1dd)](_0x1653ca(0x1ab)),!this[_0x1653ca(0x177)])throw new _0x863be0(_0x1653ca(0x1f6),this);const _0x38d5db=_0x1d5374[_0x1653ca(0x168)][_0x1653ca(0x1dd)](_0x1653ca(0x1aa))||_0x3ebfc5;this[_0x1653ca(0x1ec)]=new l[(_0x1653ca(0x20f))](_0x38d5db,this[_0x1653ca(0x177)]),this[_0x1653ca(0x1ea)]=this[_0x1653ca(0x143)][_0x1653ca(0x1fd)][_0x1653ca(0x190)],this[_0x1653ca(0x207)]=new _0x44ec9d(),this[_0x1653ca(0x16b)]=[],this[_0x1653ca(0x23b)]=new WeakSet(),this[_0x1653ca(0x18e)]=new Set(),this[_0x1653ca(0x16a)](_0x1653ca(0x1b2),!0x1),this[_0x1653ca(0x16a)](_0x1653ca(0x1ef),!0x1),this[_0x1653ca(0x20e)]=null,this[_0x1653ca(0x1e3)]=!0x1,this[_0x1653ca(0x242)]=null,this[_0x1653ca(0x162)]=0x12c,this[_0x1653ca(0x22d)]=this[_0x1653ca(0x162)],this[_0x1653ca(0x1ff)]=null,this[_0x1653ca(0x169)]=new WeakSet(),this[_0x1653ca(0x211)]=new G(this[_0x1653ca(0x169)]);}[_0x29e759(0x186)](){const _0xa061ef=_0x29e759,_0xdc8d8c=this[_0xa061ef(0x143)],_0x424d02=_0xdc8d8c[_0xa061ef(0x1e0)][_0xa061ef(0x1dd)](_0x32dfb3),_0x4d9cfe=_0xdc8d8c[_0xa061ef(0x1e0)][_0xa061ef(0x1dd)](_0x2c2c8f);this[_0xa061ef(0x16d)](_0x424d02,_0xa061ef(0x1a1),(_0x555dc0,_0x30e3b3)=>{const _0x5942c9=_0xa061ef,_0x2d0346=_0x30e3b3[0x0];_0x2d0346[_0x5942c9(0x157)]&&(_0x555dc0[_0x5942c9(0x1ed)]=_0x424d02[_0x5942c9(0x141)](_0x2d0346[_0x5942c9(0x157)]),_0x555dc0[_0x5942c9(0x237)]()),null===_0x2d0346[_0x5942c9(0x157)]&&(_0x555dc0[_0x5942c9(0x1ed)]=null,_0x555dc0[_0x5942c9(0x237)]());},{'priority':_0xa061ef(0x14c)}),this[_0xa061ef(0x16d)](_0xdc8d8c[_0xa061ef(0x1fd)][_0xa061ef(0x190)][_0xa061ef(0x171)],_0xa061ef(0x156),(_0x330986,_0x1053e8)=>{const _0x46d072=_0xa061ef;_0x1053e8[_0x46d072(0x241)]&&this[_0x46d072(0x1b7)]();}),this[_0xa061ef(0x16d)](_0xdc8d8c[_0xa061ef(0x210)][_0xa061ef(0x1a6)],_0xa061ef(0x1d0),()=>{const _0x47c084=_0xa061ef;this[_0x47c084(0x1b7)]();}),this[_0xa061ef(0x1dc)](),_0xdc8d8c[_0xa061ef(0x1fd)]['on'](_0xa061ef(0x1de),(_0x58c31c,_0x4411cf)=>{const _0x193072=_0xa061ef,_0x473a76=_0x4411cf[0x0];_0x473a76[_0x193072(0x1bc)]&&(this[_0x193072(0x1e6)](_0x473a76),this[_0x193072(0x145)]()&&this[_0x193072(0x21e)]());}),this[_0xa061ef(0x1cc)](),this[_0xa061ef(0x21b)](_0xa061ef(0x239))['to'](_0x4d9cfe,_0xa061ef(0x1b6),this,_0xa061ef(0x1ef),(_0x61edf4,_0x2d6f42)=>_0xa061ef(0x19d)===_0x61edf4&&!_0x2d6f42),this['on'](_0xa061ef(0x14e),()=>{const _0x1ee4a1=_0xa061ef;this[_0x1ee4a1(0x239)]?_0xdc8d8c[_0x1ee4a1(0x22f)](_0x1ee4a1(0x219)):_0xdc8d8c[_0x1ee4a1(0x1a8)](_0x1ee4a1(0x219));}),this[_0xa061ef(0x239)]?_0xdc8d8c[_0xa061ef(0x22f)](_0xa061ef(0x219)):_0xdc8d8c[_0xa061ef(0x1a8)](_0xa061ef(0x219)),this[_0xa061ef(0x16a)](_0xa061ef(0x158),!0x1);}async[_0x29e759(0x1b1)](){const _0x2646bd=_0x29e759,_0x3efccb=this[_0x2646bd(0x143)][_0x2646bd(0x1e0)][_0x2646bd(0x1dd)](_0x2ea552),_0x361d15=this[_0x2646bd(0x143)][_0x2646bd(0x1e0)][_0x2646bd(0x1dd)](_0x2c2c8f);try{this[_0x2646bd(0x1b2)]=!0x0,_0x3efccb[_0x2646bd(0x234)](this[_0x2646bd(0x177)]);const _0x469e23=await this[_0x2646bd(0x1ec)][_0x2646bd(0x1b1)](_0x361d15[_0x2646bd(0x1db)],this[_0x2646bd(0x159)]);await this[_0x2646bd(0x174)](_0x469e23)&&(this[_0x2646bd(0x1b2)]=!0x1,this[_0x2646bd(0x19c)]());const _0x5bf1a0=await this[_0x2646bd(0x1ec)][_0x2646bd(0x21f)]();_0x3efccb[_0x2646bd(0x1c6)](this[_0x2646bd(0x177)],_0x5bf1a0),this[_0x2646bd(0x17f)](),this[_0x2646bd(0x158)]=!0x0;}catch(_0x2d25f3){if(function(_0x53cfdd){const _0xd07d90=_0x2646bd;return _0xd07d90(0x1ae)===_0x53cfdd[_0xd07d90(0x165)];}(_0x2d25f3)&&this[_0x2646bd(0x23c)])await this[_0x2646bd(0x1d5)]();else{if(function(_0x1b74a5){const _0x429ef4=_0x2646bd;return _0x429ef4(0x193)===_0x1b74a5[_0x429ef4(0x165)];}(_0x2d25f3)){const _0x3a25ed=_0x48f94a(this[_0x2646bd(0x143)][_0x2646bd(0x1eb)],_0x2646bd(0x160));this[_0x2646bd(0x184)](_0x3a25ed);}else{if(!(_0x2d25f3 instanceof H))throw _0x2d25f3;this[_0x2646bd(0x184)]();}}}}[_0x29e759(0x149)](){const _0x51e633=_0x29e759,_0x495271=this[_0x51e633(0x143)][_0x51e633(0x1e0)][_0x51e633(0x1dd)](_0x2c2c8f),_0x3b9080=this[_0x51e633(0x143)][_0x51e633(0x1e0)][_0x51e633(0x1dd)](_0x2ea552);this[_0x51e633(0x143)][_0x51e633(0x1a8)](_0x51e633(0x1e5)),_0x3b9080[_0x51e633(0x154)][_0x51e633(0x228)](this[_0x51e633(0x177)])&&_0x3b9080[_0x51e633(0x234)](this[_0x51e633(0x177)]),_0x495271[_0x51e633(0x1d2)](this),this[_0x51e633(0x232)](),super[_0x51e633(0x149)]();}async[_0x29e759(0x174)](_0x1ea955){const _0x5d156a=_0x29e759;if(this[_0x5d156a(0x23c)]!==_0x1ea955[_0x5d156a(0x23c)]&&this[_0x5d156a(0x1ff)]!==_0x1ea955[_0x5d156a(0x1a3)])throw new H();return this[_0x5d156a(0x23c)]=_0x1ea955[_0x5d156a(0x23c)],this[_0x5d156a(0x151)]([],{..._0x1ea955,'wereChangesApplied':!0x1,'data':_0x1ea955[_0x5d156a(0x1f5)]},_0x5d156a(0x1b1));}async[_0x29e759(0x1d6)](_0x562f32,_0x5726c3=!0x1){const _0x1668f4=_0x29e759,{connection:_0x1e60ed}=this[_0x1668f4(0x143)][_0x1668f4(0x1e0)][_0x1668f4(0x1dd)](_0x2c2c8f);l[_0x1668f4(0x20f)][_0x1668f4(0x21f)](_0x1e60ed,this[_0x1668f4(0x177)])[_0x1668f4(0x148)](_0x4db12b=>this[_0x1668f4(0x222)](_0x4db12b))[_0x1668f4(0x1ba)](_0x208dc9=>{const _0x19ad42=_0x1668f4;this[_0x19ad42(0x1ad)](_0x19ad42(0x167),_0x208dc9);}),this[_0x1668f4(0x16d)](this[_0x1668f4(0x1ec)],_0x1668f4(0x1b4),this[_0x1668f4(0x22b)][_0x1668f4(0x21b)](this)),this[_0x1668f4(0x16d)](this[_0x1668f4(0x1ec)],_0x1668f4(0x14a),(_0x3a4fcb,_0x9ec4f3)=>{const _0x18054f=_0x1668f4;this[_0x18054f(0x1ad)](_0x18054f(0x1fa),_0x9ec4f3);}),this[_0x1668f4(0x16d)](this[_0x1668f4(0x1ec)],_0x1668f4(0x205),()=>{const _0x49e5a8=_0x1668f4;this[_0x49e5a8(0x158)]=!0x1;});const _0x1e6af6=this[_0x1668f4(0x211)][_0x1668f4(0x17e)](_0x562f32);this[_0x1668f4(0x1b2)]=!0x0;const _0x471f1a=await this[_0x1668f4(0x1ec)][_0x1668f4(0x187)](_0x1e60ed,this[_0x1668f4(0x202)](_0x562f32),_0x1e6af6);if(this[_0x1668f4(0x23c)]=_0x471f1a[_0x1668f4(0x23c)],_0x5726c3){if(!_0x471f1a[_0x1668f4(0x173)])return void this[_0x1668f4(0x184)]();this[_0x1668f4(0x1b2)]=!0x1,this[_0x1668f4(0x19c)](),this[_0x1668f4(0x199)][_0x1668f4(0x183)](),this[_0x1668f4(0x1c2)]=_0x471f1a[_0x1668f4(0x163)],this[_0x1668f4(0x199)][_0x1668f4(0x19f)]=this[_0x1668f4(0x1c2)],await this[_0x1668f4(0x151)](_0x562f32,_0x471f1a,_0x1668f4(0x203));}else await this[_0x1668f4(0x1cb)](_0x471f1a,_0x562f32);this[_0x1668f4(0x17f)](),this[_0x1668f4(0x158)]=!0x0;}[_0x29e759(0x17f)](){const _0x718fd=_0x29e759,_0x112a1e=this[_0x718fd(0x143)][_0x718fd(0x1e0)][_0x718fd(0x1dd)](_0x2ea552),_0x1af25c=this[_0x718fd(0x143)][_0x718fd(0x1e0)][_0x718fd(0x1dd)](_0x5b5253),_0x5bb78f=_0x112a1e[_0x718fd(0x154)][_0x718fd(0x1dd)](this[_0x718fd(0x177)]);_0x5bb78f&&_0x5bb78f[_0x718fd(0x215)]>0x1?_0x1af25c[_0x718fd(0x1fe)]():this[_0x718fd(0x16d)](_0x112a1e,_0x718fd(0x1df)+this[_0x718fd(0x177)],()=>{const _0x294859=_0x718fd;0x2===_0x112a1e[_0x294859(0x154)][_0x294859(0x1dd)](this[_0x294859(0x177)])[_0x294859(0x215)]&&_0x1af25c[_0x294859(0x1fe)]();});}async[_0x29e759(0x22b)](_0x172023,_0x31259f,_0x22d008,_0x42a5a7){const _0x2b16a9=_0x29e759;if(!this[_0x2b16a9(0x1b2)]&&this[_0x2b16a9(0x1ea)][_0x2b16a9(0x19f)]==_0x31259f){const _0x4d31a8=this[_0x2b16a9(0x233)](_0x22d008,_0x42a5a7);await this[_0x2b16a9(0x230)](_0x4d31a8),this[_0x2b16a9(0x200)](_0x4d31a8,_0x31259f,_0x22d008[_0x2b16a9(0x1a3)])||this[_0x2b16a9(0x1ad)](_0x2b16a9(0x20c));}}async[_0x29e759(0x1d5)](){const _0x4507f7=_0x29e759;this[_0x4507f7(0x232)]();const {locale:_0x5873b9}=this[_0x4507f7(0x143)];let _0x36879c;try{_0x36879c=await this[_0x4507f7(0x1ec)][_0x4507f7(0x1b0)]();}catch(_0x2f1c51){const _0x1a03b5=_0x48f94a(_0x5873b9,_0x4507f7(0x1b8));return void this[_0x4507f7(0x184)](_0x1a03b5);}const _0x23428f=_0x36879c[_0x4507f7(0x1b3)]||_0x36879c[_0x4507f7(0x235)];if(this[_0x4507f7(0x1ff)]===_0x23428f[_0x4507f7(0x1a3)])await this[_0x4507f7(0x1d6)](this[_0x4507f7(0x143)][_0x4507f7(0x1fd)][_0x4507f7(0x190)][_0x4507f7(0x212)][_0x4507f7(0x21c)](),!0x0);else{const _0x4948f=_0x48f94a(_0x5873b9,_0x4507f7(0x1f2));this[_0x4507f7(0x184)](_0x4948f);}}[_0x29e759(0x232)](){const _0x164444=_0x29e759;this[_0x164444(0x1ec)][_0x164444(0x16e)](),this[_0x164444(0x16b)]=[],clearTimeout(this[_0x164444(0x242)]),this[_0x164444(0x182)](this[_0x164444(0x1ec)]);}[_0x29e759(0x222)](_0x5794ab){const _0x469aa0=_0x29e759,_0x1da3f8=this[_0x469aa0(0x143)][_0x469aa0(0x1e0)][_0x469aa0(0x1dd)](_0x2ea552);this[_0x469aa0(0x16d)](_0x1da3f8,_0x469aa0(0x1df)+this[_0x469aa0(0x177)],(_0x343ef1,{session:_0xcf4fd5})=>{const _0x16e412=_0x469aa0;if(_0xcf4fd5['id']===_0x1da3f8[_0x16e412(0x22c)]){_0x343ef1[_0x16e412(0x14f)]();const _0x2d5940=this[_0x16e412(0x143)][_0x16e412(0x1e0)][_0x16e412(0x228)](_0x16e412(0x1a9))&&this[_0x16e412(0x143)][_0x16e412(0x1e0)][_0x16e412(0x1dd)](_0x16e412(0x1a9));let _0x24d7fd=_0xcf4fd5[_0x16e412(0x19a)];_0x2d5940&&_0x2d5940[_0x16e412(0x189)]&&(_0x24d7fd=_0x24d7fd[_0x16e412(0x15f)](_0x24f44a=>_0x16e412(0x188)!==_0x24f44a)),this[_0x16e412(0x143)][_0x16e412(0x1e0)][_0x16e412(0x1dd)](_0x16e412(0x198))[_0x16e412(0x214)](_0x24d7fd,this[_0x16e412(0x177)]);}}),_0x1da3f8[_0x469aa0(0x1c6)](this[_0x469aa0(0x177)],_0x5794ab);}[_0x29e759(0x1dc)](){const _0x386e91=_0x29e759,_0x1163ce=this[_0x386e91(0x143)][_0x386e91(0x1f5)][_0x386e91(0x16a)];this[_0x386e91(0x143)][_0x386e91(0x1f5)][_0x386e91(0x16a)]=(..._0x164f25)=>{const _0x50499f=_0x386e91;if(!_0x164f25[_0x164f25[_0x50499f(0x215)]-0x1][_0x50499f(0x229)])throw new _0x863be0(_0x50499f(0x206),this);_0x1163ce[_0x50499f(0x17b)](this[_0x50499f(0x143)][_0x50499f(0x1f5)],_0x164f25);};}[_0x29e759(0x1cc)](){const _0x3e8c44=_0x29e759;this[_0x3e8c44(0x143)][_0x3e8c44(0x1f5)]['on'](_0x3e8c44(0x186),(_0x2d99aa,[_0x4b4011])=>{const _0x5647c1=_0x3e8c44;if(this[_0x5647c1(0x1ea)][_0x5647c1(0x19f)])throw new _0x863be0(_0x5647c1(0x147),this);_0x2d99aa[_0x5647c1(0x237)](),this[_0x5647c1(0x1d4)]();const _0x13b602=this[_0x5647c1(0x143)][_0x5647c1(0x168)][_0x5647c1(0x1dd)](_0x5647c1(0x1a2)),_0x556637=this[_0x5647c1(0x1d1)](_0x4b4011,_0x13b602);0x0==_0x556637[_0x5647c1(0x215)]&&_0x556637[_0x5647c1(0x1e4)](new _0x3c62e9(0x0)),_0x2d99aa[_0x5647c1(0x1ed)]=this[_0x5647c1(0x1d6)](_0x556637)[_0x5647c1(0x148)](()=>{const _0x38bddd=_0x5647c1;this[_0x38bddd(0x143)][_0x38bddd(0x1e0)][_0x38bddd(0x1dd)](_0x2c2c8f)[_0x38bddd(0x191)](this),this[_0x38bddd(0x143)][_0x38bddd(0x1f5)][_0x38bddd(0x1e2)](_0x38bddd(0x1bb));})[_0x5647c1(0x1ba)](_0x455ce3=>this[_0x5647c1(0x1ad)](_0x5647c1(0x20b),_0x455ce3))[_0x5647c1(0x15d)](()=>this[_0x5647c1(0x19c)]());},{'priority':_0x3e8c44(0x14c)}),this[_0x3e8c44(0x143)]['on'](_0x3e8c44(0x244),async(_0x14ba58,[_0x4f0ac3,_0x29f7e3])=>{const _0x9525b5=_0x3e8c44;_0x14ba58[_0x9525b5(0x237)]();const _0x54c8e2=this[_0x9525b5(0x143)][_0x9525b5(0x1fd)][_0x9525b5(0x190)][_0x9525b5(0x238)](_0x4f0ac3);if(!this[_0x9525b5(0x18e)][_0x9525b5(0x228)](_0x4f0ac3)){const _0x1650a0=_0x29f7e3&&_0x29f7e3[_0x9525b5(0x1f5)]?_0x29f7e3[_0x9525b5(0x1f5)]:'',_0x250779=_0x29f7e3&&_0x29f7e3[_0x9525b5(0x1ca)]?_0x29f7e3[_0x9525b5(0x1ca)]:{};await this[_0x9525b5(0x1da)](_0x4f0ac3,_0x1650a0,_0x250779);}this[_0x9525b5(0x143)][_0x9525b5(0x1fd)][_0x9525b5(0x1b5)]({'isUndoable':!0x1},()=>{const _0xb88074=_0x9525b5;_0x54c8e2[_0xb88074(0x1ac)]=!0x0,this[_0xb88074(0x143)][_0xb88074(0x1fd)][_0xb88074(0x190)][_0xb88074(0x153)][_0xb88074(0x1f4)](_0x54c8e2);});},{'priority':_0x3e8c44(0x14c)});}async[_0x29e759(0x230)](_0x27ca43){const _0x4845bd=_0x29e759,_0xaae61c=this[_0x4845bd(0x143)][_0x4845bd(0x1e0)][_0x4845bd(0x1dd)](_0x32dfb3),{connection:_0xea9638}=this[_0x4845bd(0x143)][_0x4845bd(0x1e0)][_0x4845bd(0x1dd)](_0x2c2c8f),_0x550eef=new Set();for(const _0x3b4ade of _0x27ca43){const _0x336b1f=_0x3b4ade[_0x4845bd(0x157)];_0x336b1f&&!_0xaae61c[_0x4845bd(0x141)](_0x336b1f)&&_0x550eef[_0x4845bd(0x1be)](_0x336b1f);}if(0x0===_0x550eef[_0x4845bd(0x19e)])return;const _0x188bc6=await _0x314d9e[_0x4845bd(0x1e1)](_0xea9638,Array[_0x4845bd(0x1bd)](_0x550eef));for(const _0x33c80c of _0x188bc6)_0xaae61c[_0x4845bd(0x141)](_0x33c80c['id'])||_0xaae61c[_0x4845bd(0x1ee)](_0x33c80c);}[_0x29e759(0x1d1)](_0x1cd3a3,_0x541216={}){const _0x47a070=_0x29e759,_0x3f0c6d=this[_0x47a070(0x143)][_0x47a070(0x1fd)],_0x4e2e98=[];let _0x22b99a=0x0;const _0x4585e7=_0x47a070(0x1e9)==typeof _0x1cd3a3?{'main':_0x1cd3a3}:_0x1cd3a3;for(const _0x24b5c5 of Object[_0x47a070(0x23f)](_0x4585e7)){if(!this[_0x47a070(0x1ea)][_0x47a070(0x18f)][_0x47a070(0x228)](_0x24b5c5))throw new _0x863be0(_0x47a070(0x1c8),this);const _0x4dd37f=this[_0x47a070(0x143)][_0x47a070(0x1f5)][_0x47a070(0x243)](_0x4585e7[_0x24b5c5]),_0x22b557=this[_0x47a070(0x1ea)][_0x47a070(0x238)](_0x24b5c5),_0x3473af=new _0x24d7f2(_0x3f0c6d[_0x47a070(0x226)](_0x22b557,0x0),_0x4dd37f,_0x22b99a++);_0x4e2e98[_0x47a070(0x1e4)](_0x3473af);for(const [_0x2d2407,_0x2dca4f]of _0x4dd37f[_0x47a070(0x192)]){const _0x1d4f5e=_0x3f0c6d[_0x47a070(0x22a)](_0x3f0c6d[_0x47a070(0x18a)](_0x22b557,_0x2dca4f[_0x47a070(0x14b)][_0x47a070(0x221)][_0x47a070(0x20d)]()),_0x3f0c6d[_0x47a070(0x18a)](_0x22b557,_0x2dca4f[_0x47a070(0x1bf)][_0x47a070(0x221)][_0x47a070(0x20d)]())),_0x12e768=new _0x3c4fba(_0x2d2407,null,_0x1d4f5e,_0x3f0c6d[_0x47a070(0x192)],!0x0,_0x22b99a++);_0x4e2e98[_0x47a070(0x1e4)](_0x12e768);}}if(_0x541216)for(const [_0x132ffa,_0x5a1b5d]of Object[_0x47a070(0x1d3)](_0x541216)){const _0x26b982=_0x3f0c6d[_0x47a070(0x190)][_0x47a070(0x238)](_0x132ffa);if(!_0x26b982)throw new _0x863be0(_0x47a070(0x152),null);for(const [_0x5d6bb3,_0x21e57b]of Object[_0x47a070(0x1d3)](_0x5a1b5d))if(null!==_0x21e57b){const _0x15964a=new _0x5b8da9(_0x26b982,_0x5d6bb3,null,_0x21e57b,_0x22b99a++);_0x4e2e98[_0x47a070(0x1e4)](_0x15964a);}}return _0x4e2e98;}async[_0x29e759(0x1da)](_0x314d6b,_0x3bd182,_0x1657cd){const _0xbea194=_0x29e759;this[_0xbea194(0x1d1)]({[_0x314d6b]:_0x3bd182},{[_0x314d6b]:_0x1657cd})[_0xbea194(0x15e)]((_0x19bd26,_0x16ca88)=>{const _0xebb340=_0xbea194;_0x19bd26[_0xebb340(0x1fb)]=this[_0xebb340(0x1ea)][_0xebb340(0x19f)]+_0x16ca88,_0x19bd26[_0xebb340(0x178)]=!0x0,this[_0xebb340(0x1e6)](_0x19bd26);}),this[_0xbea194(0x21e)](),await this[_0xbea194(0x231)]();}async[_0x29e759(0x1cb)](_0x275836,_0x59a10e){const _0x48621b=_0x29e759;let _0x1c020f;this[_0x48621b(0x1c2)]=_0x275836[_0x48621b(0x163)];const _0x4e944d=_0x275836[_0x48621b(0x173)]&&!_0x275836[_0x48621b(0x185)],_0x3f1a6f=_0x4e944d?0x0:_0x275836[_0x48621b(0x1f5)][_0x48621b(0x1fb)];if(_0x59a10e[_0x48621b(0x15e)](_0x3ce322=>{const _0x16e87d=_0x48621b;_0x3ce322[_0x16e87d(0x178)]=!0x0,_0x3ce322[_0x16e87d(0x19b)]=_0x275836[_0x16e87d(0x1af)],_0x3ce322[_0x16e87d(0x157)]=null;}),_0x4e944d)_0x1c020f=_0x59a10e,this[_0x48621b(0x14d)](_0x1c020f,_0x4e944d);else{if(_0x275836[_0x48621b(0x185)]){const _0x3ed140=this[_0x48621b(0x1d1)](_0x275836[_0x48621b(0x185)]);this[_0x48621b(0x1ea)][_0x48621b(0x212)][_0x48621b(0x19f)]=-_0x3ed140[_0x48621b(0x215)],_0x3ed140[_0x48621b(0x15e)](_0x4f14be=>{const _0x490086=_0x48621b;_0x4f14be[_0x490086(0x1fb)]-=_0x3ed140[_0x490086(0x215)],_0x4f14be[_0x490086(0x19b)]=_0x275836[_0x490086(0x1af)],_0x4f14be[_0x490086(0x178)]=!0x0,_0x4f14be[_0x490086(0x157)]=null;}),this[_0x48621b(0x14d)](_0x3ed140,!0x0),this[_0x48621b(0x199)][_0x48621b(0x19f)]=-_0x3ed140[_0x48621b(0x215)]+this[_0x48621b(0x1c2)],this[_0x48621b(0x1a7)](_0x3ed140);}this[_0x48621b(0x1ea)][_0x48621b(0x212)][_0x48621b(0x19f)]=_0x3f1a6f,_0x1c020f=this[_0x48621b(0x233)](_0x275836[_0x48621b(0x1f5)],_0x275836[_0x48621b(0x170)]),await this[_0x48621b(0x230)](_0x1c020f),this[_0x48621b(0x14d)](_0x1c020f,_0x4e944d);}_0x275836[_0x48621b(0x1a3)]&&(this[_0x48621b(0x211)][_0x48621b(0x213)](_0x1c020f,_0x275836[_0x48621b(0x1a3)]),this[_0x48621b(0x1ff)]=_0x275836[_0x48621b(0x1a3)]),this[_0x48621b(0x199)][_0x48621b(0x19f)]=_0x3f1a6f+this[_0x48621b(0x1c2)],this[_0x48621b(0x1a7)](_0x1c020f),_0x59a10e[_0x48621b(0x15f)](_0x4ebae6=>{const _0x4ac6e5=_0x48621b,_0x57c796=this[_0x4ac6e5(0x1c4)](_0x4ebae6);return _0x57c796&&!this[_0x4ac6e5(0x18e)][_0x4ac6e5(0x228)](_0x57c796);})[_0x48621b(0x15e)]((_0x4d94c8,_0x4ba028)=>{const _0x2a3957=_0x48621b;_0x4d94c8[_0x2a3957(0x1fb)]=this[_0x2a3957(0x1ea)][_0x2a3957(0x19f)]+_0x4ba028,this[_0x2a3957(0x1e6)](_0x4d94c8);}),this[_0x48621b(0x145)]()?(this[_0x48621b(0x22d)]=0x0,this[_0x48621b(0x21e)](!0x0),await this[_0x48621b(0x231)]()):(this[_0x48621b(0x1b2)]=!0x1,this[_0x48621b(0x19c)]());}[_0x29e759(0x1ad)](_0x558e56,_0x469af9){const _0x39f716=_0x29e759;throw this[_0x39f716(0x1b2)]=!0x0,_0x469af9&&console[_0x39f716(0x14a)](_0x469af9),new _0x863be0(_0x558e56,this[_0x39f716(0x143)]);}[_0x29e759(0x1e6)](_0xdb6a8e){const _0x115db1=_0x29e759;this[_0x115db1(0x23b)][_0x115db1(0x228)](_0xdb6a8e)||(this[_0x115db1(0x23b)][_0x115db1(0x1be)](_0xdb6a8e),this[_0x115db1(0x16b)][_0x115db1(0x1e4)](_0xdb6a8e),this[_0x115db1(0x20e)]||_0x115db1(0x166)==_0xdb6a8e[_0x115db1(0x1c0)]&&!_0xdb6a8e[_0x115db1(0x176)]||this[_0x115db1(0x1d4)]());}[_0x29e759(0x21e)](_0xca1a49=!0x1){const _0x7a44be=_0x29e759;!_0xca1a49&&this[_0x7a44be(0x1b2)]||(this[_0x7a44be(0x1b2)]=!0x0,clearTimeout(this[_0x7a44be(0x242)]),this[_0x7a44be(0x242)]=setTimeout(()=>{const _0x3de9e0=_0x7a44be;this[_0x3de9e0(0x21a)]()[_0x3de9e0(0x148)](_0x5dfbd4=>{const _0x459e8f=_0x3de9e0;_0x5dfbd4&&(this[_0x459e8f(0x19c)](),this[_0x459e8f(0x1b2)]=!0x1);})[_0x3de9e0(0x1ba)](_0x2ac405=>{const _0x3ba610=_0x3de9e0;if(this[_0x3ba610(0x19c)](),this[_0x3ba610(0x1b2)]=!0x1,!function(_0x371134){const _0x3ada56=_0x3ba610;return _0x371134[_0x3ada56(0x1fc)][_0x3ada56(0x22e)](_0x3ada56(0x196))||_0x371134[_0x3ada56(0x1fc)][_0x3ada56(0x22e)](_0x3ada56(0x1e8))||_0x371134[_0x3ada56(0x1fc)][_0x3ada56(0x22e)](_0x3ada56(0x1ce));}(_0x2ac405))throw _0x2ac405;});},this[_0x7a44be(0x22d)]));}[_0x29e759(0x231)](){return new Promise(_0x20cab6=>{const _0x520775=_0x44b1;this['on'](_0x520775(0x225),()=>{_0x20cab6();});});}async[_0x29e759(0x21a)](){const _0x1e567c=_0x29e759,_0x5f4852=this[_0x1e567c(0x143)][_0x1e567c(0x1e0)][_0x1e567c(0x1dd)](_0x5b5253);if(this[_0x1e567c(0x164)]()&&(_0x5f4852[_0x1e567c(0x1fe)](),this[_0x1e567c(0x1e3)]=!0x1),!this[_0x1e567c(0x145)]())return!0x0;const _0x3b16eb=[...this[_0x1e567c(0x16b)]];for(const _0xe12b85 of _0x3b16eb)_0xe12b85[_0x1e567c(0x146)]=this[_0x1e567c(0x1ea)][_0x1e567c(0x212)][_0x1e567c(0x23e)](_0xe12b85);const _0x38c5e7=this[_0x1e567c(0x211)][_0x1e567c(0x17e)](_0x3b16eb),_0x33ccb8=F++,_0x4f9226=this[_0x1e567c(0x202)](_0x3b16eb),_0xc20494=await this[_0x1e567c(0x1ec)][_0x1e567c(0x161)](_0x4f9226,_0x4f9226[_0x1e567c(0x1fb)],_0x38c5e7);try{return await this[_0x1e567c(0x151)](_0x3b16eb,_0xc20494,_0x33ccb8);}catch(_0x29dda7){return this[_0x1e567c(0x1ad)](_0x1e567c(0x180),_0x29dda7);}}async[_0x29e759(0x151)](_0x39e66b,_0x370e5a,_0x1227ad){const _0x4622c3=_0x29e759;if(_0x4622c3(0x14a)in _0x370e5a)throw _0x370e5a[_0x4622c3(0x14a)];let _0xffd9d9=!0x1;if(_0x370e5a[_0x4622c3(0x173)]){_0x370e5a[_0x4622c3(0x1a3)]&&(this[_0x4622c3(0x1ff)]=_0x370e5a[_0x4622c3(0x1a3)]),this[_0x4622c3(0x16b)]=this[_0x4622c3(0x16b)][_0x4622c3(0x15f)](_0x3da59e=>!_0x39e66b[_0x4622c3(0x179)](_0x3da59e));for(const _0x3f5d34 of _0x39e66b)_0x3f5d34[_0x4622c3(0x19b)]=_0x4622c3(0x1f0)in _0x370e5a&&_0x370e5a[_0x4622c3(0x1f0)]||void 0x0;q(_0x39e66b,_0x370e5a[_0x4622c3(0x19f)]-_0x39e66b[_0x4622c3(0x215)]),this[_0x4622c3(0x1a7)](_0x39e66b);const _0x61df2d=_0x39e66b[_0x4622c3(0x15f)](_0x589069=>{const _0x5cb281=_0x4622c3;if(!_0x589069[_0x5cb281(0x178)])return!0x1;const _0x10fc21=this[_0x5cb281(0x1c4)](_0x589069);return _0x10fc21&&!this[_0x5cb281(0x18e)][_0x5cb281(0x228)](_0x10fc21);});q(_0x61df2d,this[_0x4622c3(0x1ea)][_0x4622c3(0x19f)]),this[_0x4622c3(0x14d)](_0x61df2d),_0xffd9d9=!0x0,this[_0x4622c3(0x22d)]=this[_0x4622c3(0x162)];}else{const _0x2d6f83=this[_0x4622c3(0x233)](_0x370e5a[_0x4622c3(0x1f5)],_0x370e5a[_0x4622c3(0x170)])[_0x4622c3(0x15f)](_0x278951=>_0x278951[_0x4622c3(0x1fb)]>=this[_0x4622c3(0x1d7)]);_0x2d6f83[_0x4622c3(0x15e)](_0x5c2428=>this[_0x4622c3(0x195)](_0x5c2428)),this[_0x4622c3(0x16b)]=this[_0x4622c3(0x16b)][_0x4622c3(0x15f)](_0x5231b7=>!_0x5231b7[_0x4622c3(0x178)]||!this[_0x4622c3(0x18e)][_0x4622c3(0x228)](this[_0x4622c3(0x1c4)](_0x5231b7))),this[_0x4622c3(0x16b)][_0x4622c3(0x215)]&&q(this[_0x4622c3(0x16b)],this[_0x4622c3(0x16b)][0x0][_0x4622c3(0x1fb)]),await this[_0x4622c3(0x230)](_0x2d6f83),_0xffd9d9=this[_0x4622c3(0x200)](_0x2d6f83,_0x370e5a[_0x4622c3(0x19f)],_0x370e5a[_0x4622c3(0x1a3)]),this[_0x4622c3(0x22d)]=Math[_0x4622c3(0x17c)](this[_0x4622c3(0x22d)]/0x2);}return _0xffd9d9?!this[_0x4622c3(0x145)]()||(this[_0x4622c3(0x21e)](!0x0),!0x1):this[_0x4622c3(0x1ad)](_0x4622c3(0x15a));}[_0x29e759(0x200)](_0x2dc5ef,_0x56930a,_0x344082){const _0x1b49f4=_0x29e759;try{const _0x39abd1={'document':this[_0x1b49f4(0x1ea)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4ee1b0,operationsB:_0xd666e,originalOperations:_0x18f7ab}=_0x499335(_0x2dc5ef,this[_0x1b49f4(0x16b)],_0x39abd1);q(_0x4ee1b0,this[_0x1b49f4(0x1ea)][_0x1b49f4(0x19f)]),q(_0xd666e,_0x56930a);for(const _0x268451 of _0x4ee1b0){const _0x3e55e5=_0x18f7ab[_0x1b49f4(0x1dd)](_0x268451);_0x268451[_0x1b49f4(0x157)]=_0x3e55e5?_0x3e55e5[_0x1b49f4(0x157)]:null;}_0x344082&&(this[_0x1b49f4(0x211)][_0x1b49f4(0x213)](_0x2dc5ef,_0x344082),this[_0x1b49f4(0x1ff)]=_0x344082),this[_0x1b49f4(0x16b)]=[..._0xd666e],this[_0x1b49f4(0x14d)](_0x4ee1b0),this[_0x1b49f4(0x1a7)](_0x2dc5ef);}catch(_0x2e0242){return console[_0x1b49f4(0x14a)](_0x2e0242),!0x1;}return!0x0;}[_0x29e759(0x14d)](_0x52c9af,_0x5813c0=!0x1){const _0x145f58=_0x29e759;this[_0x145f58(0x143)][_0x145f58(0x1fd)][_0x145f58(0x1b5)]({'isUndoable':!0x1,'isLocal':!0x1},_0x21d97a=>{const _0x2f8d6c=_0x145f58;for(const _0x5e943f of _0x52c9af)this[_0x2f8d6c(0x23b)][_0x2f8d6c(0x1be)](_0x5e943f),this[_0x2f8d6c(0x195)](_0x5e943f),_0x21d97a[_0x2f8d6c(0x1f3)][_0x2f8d6c(0x209)](_0x5e943f),this[_0x2f8d6c(0x143)][_0x2f8d6c(0x1fd)][_0x2f8d6c(0x1de)](_0x5e943f);});}[_0x29e759(0x195)](_0x188935){const _0xa21a99=_0x29e759,_0x39e86f=this[_0xa21a99(0x1c4)](_0x188935);_0x39e86f&&this[_0xa21a99(0x18e)][_0xa21a99(0x1be)](_0x39e86f);}[_0x29e759(0x1c4)](_0x4e395c){const _0x40fd3e=_0x29e759;let _0x46ecb5,_0x49b58b;switch(_0x4e395c[_0x40fd3e(0x1c0)]){case _0x40fd3e(0x142):_0x46ecb5=_0x4e395c[_0x40fd3e(0x1f7)][_0x40fd3e(0x197)];break;case _0x40fd3e(0x166):if(_0x49b58b=_0x4e395c[_0x40fd3e(0x1c7)],!_0x49b58b)return null;_0x46ecb5=_0x49b58b[_0x40fd3e(0x197)];break;case _0x40fd3e(0x144):_0x46ecb5=_0x4e395c[_0x40fd3e(0x197)];break;case _0x40fd3e(0x218):_0x46ecb5=_0x4e395c[_0x40fd3e(0x1a0)];break;case _0x40fd3e(0x223):_0x46ecb5=_0x4e395c[_0x40fd3e(0x15b)][_0x40fd3e(0x197)];break;default:return null;}return _0x46ecb5[_0x40fd3e(0x155)];}[_0x29e759(0x1a7)](_0x18b3e6){const _0xe2ba4f=_0x29e759;_0x18b3e6[_0xe2ba4f(0x15e)](_0x4ecc1b=>{const _0x1d5073=_0xe2ba4f,_0xdac1c2=_0x4ecc1b[_0x1d5073(0x224)]();_0xdac1c2[_0x1d5073(0x157)]=_0x4ecc1b[_0x1d5073(0x157)],_0xdac1c2[_0x1d5073(0x178)]=!!_0x4ecc1b[_0x1d5073(0x178)],_0xdac1c2[_0x1d5073(0x19b)]=_0x4ecc1b[_0x1d5073(0x19b)],_0xdac1c2[_0x1d5073(0x1fb)]+=this[_0x1d5073(0x1c2)],_0x4ecc1b[_0x1d5073(0x1b9)]&&this[_0x1d5073(0x169)][_0x1d5073(0x1be)](_0xdac1c2),this[_0x1d5073(0x199)][_0x1d5073(0x209)](_0xdac1c2);});}[_0x29e759(0x184)](_0x55db8b){const _0xa27b8a=_0x29e759,_0x36dbd6=this[_0xa27b8a(0x143)][_0xa27b8a(0x1e0)][_0xa27b8a(0x1dd)](_0xa27b8a(0x18d)),_0x1c72d5=this[_0xa27b8a(0x143)][_0xa27b8a(0x1eb)];_0x55db8b||(_0x55db8b=_0x48f94a(_0x1c72d5,_0xa27b8a(0x1a5))),_0x36dbd6[_0xa27b8a(0x172)](_0x55db8b,{'title':_0x48f94a(_0x1c72d5,_0xa27b8a(0x17a)),'namespace':_0xa27b8a(0x18c)}),this[_0xa27b8a(0x1ef)]=!0x0,clearTimeout(this[_0xa27b8a(0x242)]),this[_0xa27b8a(0x16b)]=[],this[_0xa27b8a(0x143)][_0xa27b8a(0x1e0)][_0xa27b8a(0x1dd)](_0x2c2c8f)[_0xa27b8a(0x149)]();}[_0x29e759(0x1d4)](){const _0x45be21=_0x29e759;this[_0x45be21(0x20e)]||(this[_0x45be21(0x20e)]=this[_0x45be21(0x143)][_0x45be21(0x1e0)][_0x45be21(0x1dd)](_0xb106ea)[_0x45be21(0x1be)](_0x48f94a(this[_0x45be21(0x143)][_0x45be21(0x1eb)],_0x45be21(0x216))));}[_0x29e759(0x19c)](){const _0x14635d=_0x29e759;this[_0x14635d(0x20e)]&&(this[_0x14635d(0x143)][_0x14635d(0x1e0)][_0x14635d(0x1dd)](_0xb106ea)[_0x14635d(0x16c)](this[_0x14635d(0x20e)]),this[_0x14635d(0x20e)]=null);}[_0x29e759(0x202)](_0x2eedbf){const _0x1076d6=_0x29e759,_0x1f4471=_0x2eedbf[_0x1076d6(0x1e7)](_0x2a1039=>_0x2a1039[_0x1076d6(0x21d)]());return this[_0x1076d6(0x207)][_0x1076d6(0x1d9)](_0x1f4471);}[_0x29e759(0x233)](_0x415692,_0xa62862){const _0x1dd8f5=_0x29e759;return this[_0x1dd8f5(0x207)][_0x1dd8f5(0x194)](_0x415692)[_0x1dd8f5(0x1e7)]((_0x46bc2d,_0x3bdb67)=>{const _0x1ea2bf=_0x1dd8f5,_0x2adc25=_0x1ea2bf(0x186)==_0xa62862[_0x3bdb67][_0x1ea2bf(0x1c0)];if(_0x1ea2bf(0x227)==_0x46bc2d[_0x1ea2bf(0x1f8)]){const _0x40eeeb=_0x46bc2d[_0x1ea2bf(0x1f7)][_0x1ea2bf(0x197)];!this[_0x1ea2bf(0x1ea)][_0x1ea2bf(0x238)](_0x40eeeb)&&(this[_0x1ea2bf(0x1ea)][_0x1ea2bf(0x1c3)](_0x1ea2bf(0x1cf),_0x40eeeb)[_0x1ea2bf(0x150)]=!0x1);}const _0x4ba1b1=_0x1d4d83[_0x1ea2bf(0x217)](_0x46bc2d,this[_0x1ea2bf(0x1ea)]);return _0x4ba1b1[_0x1ea2bf(0x146)]=_0x46bc2d[_0x1ea2bf(0x146)],_0x4ba1b1[_0x1ea2bf(0x178)]=_0x2adc25,_0x4ba1b1[_0x1ea2bf(0x157)]=_0x2adc25?null:_0xa62862[_0x3bdb67][_0x1ea2bf(0x20a)],_0x4ba1b1[_0x1ea2bf(0x1b9)]=_0x1ea2bf(0x18b)===_0xa62862[_0x3bdb67][_0x1ea2bf(0x1c0)],_0x4ba1b1[_0x1ea2bf(0x19b)]=_0xa62862[_0x3bdb67][_0x1ea2bf(0x19b)],_0x4ba1b1;});}[_0x29e759(0x1b7)](){const _0x1bf480=_0x29e759;this[_0x1bf480(0x1e3)]=!0x0,this[_0x1bf480(0x164)]()?this[_0x1bf480(0x21e)]():this[_0x1bf480(0x1e3)]=!0x1;}[_0x29e759(0x164)](){const _0x4ebd12=_0x29e759,_0x4703b7=this[_0x4ebd12(0x143)][_0x4ebd12(0x1e0)][_0x4ebd12(0x1dd)](_0x2ea552)[_0x4ebd12(0x154)][_0x4ebd12(0x1dd)](this[_0x4ebd12(0x177)]);return!this[_0x4ebd12(0x143)][_0x4ebd12(0x1cd)]&&!!_0x4703b7&&_0x4703b7[_0x4ebd12(0x215)]>0x1&&this[_0x4ebd12(0x1e3)];}[_0x29e759(0x145)](){const _0x26a21c=_0x29e759;return this[_0x26a21c(0x16b)][_0x26a21c(0x215)]>0x0||this[_0x26a21c(0x164)]();}}l[_0x29e759(0x20f)]=_0x18e670;export default l;class H extends Error{}function q(_0x59c68a,_0x59ef5a){const _0x51979b=_0x29e759;for(const _0x144f4c of _0x59c68a)_0x144f4c[_0x51979b(0x1fb)]=_0x59ef5a++;}class G{constructor(_0x2438d0){const _0x5ae163=_0x29e759;this[_0x5ae163(0x15c)]=_0x2438d0,this[_0x5ae163(0x204)]=new WeakMap();}[_0x29e759(0x17e)](_0x43a876){const _0x8a8eaa=_0x29e759;let _0x551139=_0x43a876[_0x8a8eaa(0x215)];for(;_0x551139--;){const _0x2a8486=_0x43a876[_0x551139];if(!this[_0x8a8eaa(0x15c)][_0x8a8eaa(0x228)](_0x2a8486)){if(!this[_0x8a8eaa(0x204)][_0x8a8eaa(0x228)](_0x2a8486)){const _0x9cbdf8=_0x3ab699()[_0x8a8eaa(0x20d)](0x1,0x12);this[_0x8a8eaa(0x204)][_0x8a8eaa(0x16a)](_0x2a8486,_0x9cbdf8);}return this[_0x8a8eaa(0x204)][_0x8a8eaa(0x1dd)](_0x2a8486);}}}[_0x29e759(0x213)](_0x3968b2,_0x23d36c){const _0x4428ef=_0x29e759;if(!_0x23d36c)return;let _0x57d913=_0x3968b2[_0x4428ef(0x215)];for(;_0x57d913--;){const _0x5b46ae=_0x3968b2[_0x57d913];this[_0x4428ef(0x15c)][_0x4428ef(0x228)](_0x5b46ae)||this[_0x4428ef(0x204)][_0x4428ef(0x16a)](_0x5b46ae,_0x23d36c);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3a2e(){const _0x2d5cb0=['107IlTseL','sessions-register-already-registered','6776820eEWnxr','remove','change:state','fire','_handleSessionAdd','defineMe','forEach','Sessions','has','user','pluginName','add','context','isPremiumPlugin','clear','4157616CmDsFg','listenTo','orderNumber','allConnectedUsers','sessionId','requires','assign','channelSessions','sessionAdd:','connected','delete','6394zRTNMh','get','5510538CeECVk','connection','isMe','3600401BdhFOH','isOfficialPlugin','getUserBySessionId','_users','2957436NrgDgm','register','_uniqueUsersCount','state','getUser','channelConnectedUsers','_registeredSessions','values','_handleSessionRemove','unregister','set','addUser','mySessionId','plugins','_createUser','8661104vTOAuz','size','stopListening','role','getUserRole','init','getUserSessions','sessions-unregister-not-exist'];_0x3a2e=function(){return _0x2d5cb0;};return _0x3a2e();}const _0x102b61=_0x263e;(function(_0xb0869b,_0x14bcd0){const _0x3cd27c=_0x263e,_0xbc3783=_0xb0869b();while(!![]){try{const _0x2bc6a2=parseInt(_0x3cd27c(0x179))/0x1*(-parseInt(_0x3cd27c(0x159))/0x2)+parseInt(_0x3cd27c(0x162))/0x3+-parseInt(_0x3cd27c(0x14e))/0x4+-parseInt(_0x3cd27c(0x17b))/0x5+parseInt(_0x3cd27c(0x15b))/0x6+parseInt(_0x3cd27c(0x15e))/0x7+parseInt(_0x3cd27c(0x171))/0x8;if(_0x2bc6a2===_0x14bcd0)break;else _0xbc3783['push'](_0xbc3783['shift']());}catch(_0x455f11){_0xbc3783['push'](_0xbc3783['shift']());}}}(_0x3a2e,0xba9d1));import{ContextPlugin as _0xb0535f}from'ckeditor5/src/core.js';import{Collection as _0x4a72c7,CKEditorError as _0x32a39a}from'ckeditor5/src/utils.js';import _0x964da9 from'./websocketgateway.js';function _0x263e(_0x2896f8,_0x345c60){const _0x3a2e29=_0x3a2e();return _0x263e=function(_0x263ed8,_0x3dd54c){_0x263ed8=_0x263ed8-0x14d;let _0x36fd59=_0x3a2e29[_0x263ed8];return _0x36fd59;},_0x263e(_0x2896f8,_0x345c60);}import{Users as _0x415def}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0xb0535f{static get[_0x102b61(0x185)](){const _0x15b5c0=_0x102b61;return _0x15b5c0(0x182);}static get[_0x102b61(0x15f)](){return!0x0;}static get[_0x102b61(0x188)](){return!0x0;}static get[_0x102b61(0x153)](){return[_0x964da9,_0x415def];}constructor(_0x2e1b13){const _0x3e65ec=_0x102b61;super(_0x2e1b13),this[_0x3e65ec(0x155)]=new Map(),this[_0x3e65ec(0x167)]=new Map(),this[_0x3e65ec(0x151)]=new _0x4a72c7(),this[_0x3e65ec(0x168)]=new Map(),this[_0x3e65ec(0x164)]=0x0,this[_0x3e65ec(0x161)]=this[_0x3e65ec(0x187)][_0x3e65ec(0x16f)][_0x3e65ec(0x15a)](_0x415def);}[_0x102b61(0x176)](){const _0x15bf4c=_0x102b61,_0x363fd3=this[_0x15bf4c(0x187)][_0x15bf4c(0x16f)][_0x15bf4c(0x15a)](_0x964da9);this[_0x15bf4c(0x14f)](_0x363fd3,_0x15bf4c(0x17d),(_0x1e5652,_0x2b8eb8,_0x57e155)=>{const _0x4a266c=_0x15bf4c;if(_0x4a266c(0x157)!==_0x57e155)this[_0x4a266c(0x155)][_0x4a266c(0x181)](_0x4dd0cc=>_0x4dd0cc[_0x4a266c(0x14d)]()),this[_0x4a266c(0x167)][_0x4a266c(0x181)](_0x4c7829=>_0x4c7829[_0x4a266c(0x14d)]()),this[_0x4a266c(0x151)][_0x4a266c(0x14d)]();else{for(const [_0x11c082,_0x2d0921]of this[_0x4a266c(0x168)])for(const _0x3c582f of _0x2d0921)this[_0x4a266c(0x17f)](_0x11c082,_0x3c582f);}}),this[_0x15bf4c(0x170)](_0x363fd3[_0x15bf4c(0x15c)]['me'],!0x0);}[_0x102b61(0x163)](_0x2faec3,_0x13d787){const _0x5a4efa=_0x102b61;if(this[_0x5a4efa(0x168)][_0x5a4efa(0x183)](_0x2faec3))throw new _0x32a39a(_0x5a4efa(0x17a),null,{'channelId':_0x2faec3});this[_0x5a4efa(0x168)][_0x5a4efa(0x16c)](_0x2faec3,_0x13d787),this[_0x5a4efa(0x155)][_0x5a4efa(0x16c)](_0x2faec3,new _0x4a72c7()),this[_0x5a4efa(0x167)][_0x5a4efa(0x16c)](_0x2faec3,new _0x4a72c7()),this[_0x5a4efa(0x14f)](_0x13d787,_0x5a4efa(0x186),(_0x12fe67,_0x1fdf3f)=>this[_0x5a4efa(0x17f)](_0x2faec3,_0x1fdf3f)),this[_0x5a4efa(0x14f)](_0x13d787,_0x5a4efa(0x17c),(_0x4a7357,_0x40fd5f)=>this[_0x5a4efa(0x16a)](_0x2faec3,_0x40fd5f));for(const _0x47a873 of _0x13d787)this[_0x5a4efa(0x17f)](_0x2faec3,_0x47a873);}[_0x102b61(0x16b)](_0x5829f8){const _0x5986e9=_0x102b61;if(!this[_0x5986e9(0x168)][_0x5986e9(0x183)](_0x5829f8))throw new _0x32a39a(_0x5986e9(0x178),null,{'channelId':_0x5829f8});const _0x490f3a=this[_0x5986e9(0x168)][_0x5986e9(0x15a)](_0x5829f8);this[_0x5986e9(0x173)](_0x490f3a);for(const _0x25adbd of _0x490f3a)_0x5986e9(0x157)===this[_0x5986e9(0x187)][_0x5986e9(0x16f)][_0x5986e9(0x15a)](_0x964da9)[_0x5986e9(0x165)]&&this[_0x5986e9(0x16a)](_0x5829f8,_0x25adbd);this[_0x5986e9(0x168)][_0x5986e9(0x158)](_0x5829f8),this[_0x5986e9(0x155)][_0x5986e9(0x158)](_0x5829f8),this[_0x5986e9(0x167)][_0x5986e9(0x158)](_0x5829f8);}get[_0x102b61(0x16e)](){const _0x560872=_0x102b61;return this[_0x560872(0x187)][_0x560872(0x16f)][_0x560872(0x15a)](_0x964da9)[_0x560872(0x15c)][_0x560872(0x152)];}[_0x102b61(0x160)](_0x1751f8){const _0x15d696=_0x102b61;for(const _0x47bfe5 of this[_0x15d696(0x155)][_0x15d696(0x169)]())for(const _0x1b82a3 of _0x47bfe5)if(_0x1b82a3['id']===_0x1751f8)return _0x1b82a3[_0x15d696(0x184)];}[_0x102b61(0x177)](_0x24454f,_0x47211b){const _0x4313c8=_0x102b61,_0x554180=_0x47211b?[this[_0x4313c8(0x155)][_0x4313c8(0x15a)](_0x47211b)]:this[_0x4313c8(0x155)][_0x4313c8(0x169)](),_0x481a08=new Set();for(const _0x5f0b2f of _0x554180)for(const _0x4072b0 of _0x5f0b2f)_0x4072b0[_0x4313c8(0x184)]['id']===_0x24454f['id']&&_0x481a08[_0x4313c8(0x186)](_0x4072b0['id']);return _0x481a08;}[_0x102b61(0x175)](_0x32712c){const _0x3291aa=_0x102b61;for(const _0x3276cd of this[_0x3291aa(0x155)][_0x3291aa(0x169)]())for(const _0x4726bc of _0x3276cd)if(_0x4726bc[_0x3291aa(0x184)]===_0x32712c)return _0x4726bc[_0x3291aa(0x174)];}[_0x102b61(0x17f)](_0x5c9c89,_0x41e781){const _0x54fa6e=_0x102b61;if(_0x54fa6e(0x157)!==this[_0x54fa6e(0x187)][_0x54fa6e(0x16f)][_0x54fa6e(0x15a)](_0x964da9)[_0x54fa6e(0x165)])return;const _0x1655c7=_0x41e781[_0x54fa6e(0x184)],_0x2f89e2=this[_0x54fa6e(0x161)][_0x54fa6e(0x166)](_0x1655c7['id'])||this[_0x54fa6e(0x170)](_0x1655c7),_0x207127=Object[_0x54fa6e(0x154)]({},_0x41e781,{'user':_0x2f89e2});this[_0x54fa6e(0x155)][_0x54fa6e(0x15a)](_0x5c9c89)[_0x54fa6e(0x186)](_0x207127);const _0x3c8dd9=this[_0x54fa6e(0x167)][_0x54fa6e(0x15a)](_0x5c9c89);_0x3c8dd9[_0x54fa6e(0x183)](_0x2f89e2['id'])||_0x3c8dd9[_0x54fa6e(0x186)](_0x2f89e2),this[_0x54fa6e(0x151)][_0x54fa6e(0x183)](_0x2f89e2['id'])||this[_0x54fa6e(0x151)][_0x54fa6e(0x186)](_0x2f89e2,_0x2f89e2[_0x54fa6e(0x15d)]?0x0:void 0x0),this[_0x54fa6e(0x17e)](_0x54fa6e(0x156)+_0x5c9c89,{'channelId':_0x5c9c89,'session':_0x207127});}[_0x102b61(0x16a)](_0x571f34,_0x1faf22){const _0x486e16=_0x102b61;if(_0x486e16(0x157)!==this[_0x486e16(0x187)][_0x486e16(0x16f)][_0x486e16(0x15a)](_0x964da9)[_0x486e16(0x165)])return;const _0x20d3e3=this[_0x486e16(0x167)][_0x486e16(0x15a)](_0x571f34),_0x55ff47=_0x1faf22[_0x486e16(0x184)];_0x55ff47['id']&&(this[_0x486e16(0x155)][_0x486e16(0x15a)](_0x571f34)[_0x486e16(0x17c)](_0x1faf22['id']),_0x20d3e3[_0x486e16(0x183)](_0x55ff47['id'])&&!this[_0x486e16(0x177)](_0x55ff47,_0x571f34)[_0x486e16(0x172)]&&_0x20d3e3[_0x486e16(0x17c)](_0x55ff47['id']),this[_0x486e16(0x151)][_0x486e16(0x15a)](_0x55ff47['id'])&&!this[_0x486e16(0x177)](_0x55ff47)[_0x486e16(0x172)]&&this[_0x486e16(0x151)][_0x486e16(0x17c)](_0x55ff47['id']));}[_0x102b61(0x170)](_0x5d0635,_0x18c577){const _0x3f27a8=_0x102b61,_0x2e8c33=this[_0x3f27a8(0x161)][_0x3f27a8(0x16d)](_0x5d0635);return _0x18c577&&this[_0x3f27a8(0x161)][_0x3f27a8(0x180)](_0x5d0635['id']),_0x2e8c33[_0x3f27a8(0x150)]=this[_0x3f27a8(0x164)]++,_0x2e8c33;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1b6533=_0x4d73;(function(_0x3e8b60,_0x401e4d){const _0x28b158=_0x4d73,_0x1b4b35=_0x3e8b60();while(!![]){try{const _0x90871=-parseInt(_0x28b158(0x1e8))/0x1*(-parseInt(_0x28b158(0x237))/0x2)+parseInt(_0x28b158(0x244))/0x3+-parseInt(_0x28b158(0x24b))/0x4+parseInt(_0x28b158(0x1e2))/0x5+-parseInt(_0x28b158(0x215))/0x6+-parseInt(_0x28b158(0x256))/0x7+parseInt(_0x28b158(0x1f7))/0x8*(parseInt(_0x28b158(0x253))/0x9);if(_0x90871===_0x401e4d)break;else _0x1b4b35['push'](_0x1b4b35['shift']());}catch(_0x5cc15e){_0x1b4b35['push'](_0x1b4b35['shift']());}}}(_0x2a89,0xd9f9b));function _0x2a89(){const _0x4d0e98=['stopListening','markerToElement','createUIElement','highest','delete','isOfficialPlugin','has','getContainedElement','fromRange','getCustomProperty','5758lmfpQZ','remove','selection','markerToHighlight','checkChild','detach','setCustomProperty','user:','editor','isSimilar','getPositions','conversion','isInline','2298414AexriU','createRange','undo','mySessionId','updateMarker','Escape','<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>','3851092hYvfHE','removeMarker','mouseleave','innerHTML','$graveyard','enqueueChange','listenTo','getNearestSelectionRange','240489AZiJaP','mouseenter','user:position:','9564121cCuhuH','_createdBatches','getFirstRange','toDomElement','addEventListener','destroy','hasContent','color','update:user:range','contenteditable','user:range','isPremiumPlugin','removeClass','getMarkerClass','change:range','1907720ViBoWO','createUserMarkerOperations','change','schema','pluginName','oldRange','172RUvvGr','name','getStart','deletionPosition','isLimit','data-session-id','size','markerName','addMarker','batch','root','add','init','$text','isCollapsed','984OUOABo','</span>','getAttribute','markerRange','clear','for','requires','model','startsWith','toRange','reconvertMarker','userPositionMarker','start','split','get','plugins','applyOperation','mapper','user:position','type','afterInit','editingDowncast','commands','orderNumber','tableCell','newRange','nodeAfter','set','getSelectionClass','document','10245900mXkrlS','ck-user__selection','getUserBySessionId','markerNameToElements','user:range:','end','getRange','view','parent','editing','keydown','span','marker','_domEmitter','ck-user__marker\x20','element','hasDomSelection','markers','UserMarkers','render','rootName','ck-user__marker_hovered','classList','isObject'];_0x2a89=function(){return _0x4d0e98;};return _0x2a89();}import{Plugin as _0x3214d5}from'ckeditor5/src/core.js';import{global as _0x5a86f3,DomEmitterMixin as _0x2d5100}from'ckeditor5/src/utils.js';import _0x2be471 from'./sessions.js';function _0x4d73(_0x40556c,_0xae80be){const _0x2a89a7=_0x2a89();return _0x4d73=function(_0x4d73ae,_0x3873ab){_0x4d73ae=_0x4d73ae-0x1d9;let _0x3de2f4=_0x2a89a7[_0x4d73ae];return _0x3de2f4;},_0x4d73(_0x40556c,_0xae80be);}import{LiveRange as _0x5c7ae2}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x3214d5{constructor(){const _0x380954=_0x4d73;super(...arguments),this[_0x380954(0x222)]=new(_0x2d5100())();}static get[_0x1b6533(0x1fd)](){return[_0x2be471];}static get[_0x1b6533(0x1e6)](){const _0x6d7cfa=_0x1b6533;return _0x6d7cfa(0x227);}static get[_0x1b6533(0x232)](){return!0x0;}static get[_0x1b6533(0x1de)](){return!0x0;}[_0x1b6533(0x1f4)](){const _0x1415a2=_0x1b6533,_0x4596b0=this[_0x1415a2(0x23f)],_0x206081=_0x4596b0[_0x1415a2(0x206)][_0x1415a2(0x205)](_0x2be471);_0x4596b0[_0x1415a2(0x242)][_0x1415a2(0x1fc)](_0x1415a2(0x20c))[_0x1415a2(0x22e)]({'model':_0x1415a2(0x209),'view':(_0x27c0da,{writer:_0x53b2eb})=>function(_0x27af43,_0x382ba3,_0x3189e9,_0x41727d){const _0xbfd769=_0x1415a2,_0x42e15c=_0x27af43[_0xbfd769(0x1ef)][_0xbfd769(0x204)](':')[0x2],_0x254843=_0x3189e9[_0xbfd769(0x217)](_0x42e15c);if(!_0x254843||_0x42e15c===_0x3189e9[_0xbfd769(0x247)])return;if(!_0x41727d[_0xbfd769(0x1fe)][_0xbfd769(0x1e5)][_0xbfd769(0x23b)](_0x27af43[_0xbfd769(0x1fa)][_0xbfd769(0x203)],_0xbfd769(0x1f5)))return;const _0x1ca127={'class':_0xbfd769(0x223)+_0x254843[_0xbfd769(0x1da)][_0xbfd769(0x1e0)](),'data-name':_0x254843[_0xbfd769(0x1e9)],'data-session-id':_0x42e15c},_0x46ef25=_0x41727d[_0xbfd769(0x1fe)][_0xbfd769(0x226)][_0xbfd769(0x205)](_0x27af43[_0xbfd769(0x1ef)]),_0x12f55c=_0x46ef25[_0xbfd769(0x1ea)](),_0x107435=_0x12f55c[_0xbfd769(0x211)],_0x343027=_0x41727d[_0xbfd769(0x1fe)][_0xbfd769(0x1e5)];if(_0x107435&&_0x343027[_0xbfd769(0x22c)](_0x107435)&&_0x343027[_0xbfd769(0x243)](_0x107435)&&!_0x41727d[_0xbfd769(0x1fe)][_0xbfd769(0x226)][_0xbfd769(0x205)](_0xbfd769(0x219)+_0x42e15c)[_0xbfd769(0x21b)]()[_0xbfd769(0x1f6)])return;const _0x1822eb=_0x12f55c[_0xbfd769(0x21d)];return _0x41727d[_0xbfd769(0x1fe)][_0xbfd769(0x1e5)][_0xbfd769(0x1ec)](_0x1822eb)&&!_0x41727d[_0xbfd769(0x1fe)][_0xbfd769(0x1d9)](_0x1822eb)&&(_0x1ca127[_0xbfd769(0x1dc)]=!0x1),function(_0xe94c42,_0x4aa73b,_0x428885){const _0x1af70d=_0xbfd769,_0x2c3e1a=_0xe94c42[_0x1af70d(0x22f)](_0x1af70d(0x220),_0x4aa73b);return _0xe94c42[_0x1af70d(0x23d)](_0x1af70d(0x202),!0x0,_0x2c3e1a),_0x2c3e1a[_0x1af70d(0x228)]=function(_0x33126a){const _0x9b9529=_0x1af70d,_0x6b0e2a=this[_0x9b9529(0x259)](_0x33126a);return _0x6b0e2a[_0x9b9529(0x24e)]=_0x9b9529(0x24a)+_0x428885[_0x9b9529(0x1e9)]+_0x9b9529(0x1f8),_0x6b0e2a[_0x9b9529(0x25a)](_0x9b9529(0x254),()=>{const _0x2b45e8=_0x9b9529;_0x6b0e2a[_0x2b45e8(0x22b)][_0x2b45e8(0x1f3)](_0x2b45e8(0x22a));}),_0x6b0e2a[_0x9b9529(0x25a)](_0x9b9529(0x24d),()=>{const _0x55d14f=_0x9b9529;_0x6b0e2a[_0x55d14f(0x22b)][_0x55d14f(0x238)](_0x55d14f(0x22a));}),_0x6b0e2a;},_0x2c3e1a[_0x1af70d(0x240)]=function(_0x34ddf7){const _0x28b1ed=_0x1af70d;return!(!this[_0x28b1ed(0x236)](_0x28b1ed(0x202))||!_0x34ddf7[_0x28b1ed(0x236)](_0x28b1ed(0x202))||this[_0x28b1ed(0x1f9)](_0x28b1ed(0x1ed))!=_0x34ddf7[_0x28b1ed(0x1f9)](_0x28b1ed(0x1ed)));},_0x2c3e1a;}(_0x382ba3,_0x1ca127,_0x254843);}(_0x27c0da,_0x53b2eb,_0x206081,_0x4596b0)}),_0x4596b0[_0x1415a2(0x242)][_0x1415a2(0x1fc)](_0x1415a2(0x20c))[_0x1415a2(0x23a)]({'model':_0x1415a2(0x1dd),'view':_0x36b6ac=>function(_0x4be460,_0x2cc349){const _0x51acdf=_0x1415a2,_0x3aff5f=_0x4be460[_0x51acdf(0x1ef)][_0x51acdf(0x204)](':')[0x2];if(_0x3aff5f===_0x2cc349[_0x51acdf(0x247)])return null;const _0x3ee9f1=_0x2cc349[_0x51acdf(0x217)](_0x3aff5f);if(!_0x3ee9f1)return{'id':_0x3aff5f,'classes':[]};return{'id':_0x3aff5f,'classes':[_0x51acdf(0x216),_0x3ee9f1[_0x51acdf(0x1da)][_0x51acdf(0x213)]()],'attributes':{'data-session-id':_0x3aff5f},'priority':0x7d0+_0x3ee9f1[_0x51acdf(0x20e)]};}(_0x36b6ac,_0x206081)}),function(_0x1550a5){const _0x13c20f=_0x1415a2,_0x1eca83=_0x1550a5[_0x13c20f(0x1fe)],_0x555259=new Map(),_0x5e54ed=_0x1550a5[_0x13c20f(0x206)][_0x13c20f(0x205)](_0x2be471);_0x1eca83[_0x13c20f(0x226)]['on'](_0x13c20f(0x1db),(_0xf5bf16,_0x9d1c31,_0x53f2e0,_0x144ba5)=>{const _0x2c3806=_0x13c20f;if(!_0x144ba5&&_0x555259[_0x2c3806(0x205)](_0x9d1c31[_0x2c3806(0x1e9)]))return _0x555259[_0x2c3806(0x205)](_0x9d1c31[_0x2c3806(0x1e9)])[_0x2c3806(0x23c)](),void _0x555259[_0x2c3806(0x231)](_0x9d1c31[_0x2c3806(0x1e9)]);const _0x50aedf=_0x9d1c31[_0x2c3806(0x1e9)][_0x2c3806(0x204)](':')[0x2];if(_0x50aedf===_0x5e54ed[_0x2c3806(0x247)])return;const _0x52bca5=_0x2c3806(0x255)+_0x50aedf;_0x1eca83[_0x2c3806(0x226)][_0x2c3806(0x233)](_0x52bca5)&&_0x1550a5[_0x2c3806(0x21e)][_0x2c3806(0x201)](_0x52bca5),_0x9d1c31['on'](_0x2c3806(0x1e1),(_0x3a9c79,_0x56783a,_0x2ec400)=>{const _0x418f36=_0x2c3806;if(_0x418f36(0x24f)!=_0x56783a[_0x418f36(0x1f2)][_0x418f36(0x229)]&&_0x418f36(0x24f)==_0x9d1c31[_0x418f36(0x21b)]()[_0x418f36(0x1f2)][_0x418f36(0x229)]&&!_0x555259[_0x418f36(0x233)](_0x9d1c31[_0x418f36(0x1e9)])){const _0x36a3dc=_0x1eca83[_0x418f36(0x1e5)][_0x418f36(0x252)](_0x2ec400[_0x418f36(0x1eb)]);if(_0x36a3dc){const _0x6d5753=_0x5c7ae2[_0x418f36(0x235)](_0x36a3dc);_0x555259[_0x418f36(0x212)](_0x9d1c31[_0x418f36(0x1e9)],_0x6d5753),_0x6d5753['on'](_0x418f36(0x1e1),(_0x5372e8,_0x19dbd8,_0xfad3bc)=>{const _0xd39613=_0x418f36;if(_0xd39613(0x24f)==_0x6d5753[_0xd39613(0x1f2)][_0xd39613(0x229)]){const _0x259e3e=_0x1eca83[_0xd39613(0x1e5)][_0xd39613(0x252)](_0xfad3bc[_0xd39613(0x1eb)]);_0x259e3e?(_0x6d5753[_0xd39613(0x203)]=_0x259e3e[_0xd39613(0x203)],_0x6d5753[_0xd39613(0x21a)]=_0x259e3e[_0xd39613(0x21a)]):(_0x555259[_0xd39613(0x231)](_0x9d1c31[_0xd39613(0x1e9)]),_0x6d5753[_0xd39613(0x23c)]());}});}}});}),_0x1eca83[_0x13c20f(0x214)]['on'](_0x13c20f(0x1e4),()=>{const _0x5bdc52=_0x13c20f;_0x555259[_0x5bdc52(0x1ee)]>0x0&&_0x1eca83[_0x5bdc52(0x250)]({'isUndoable':!0x1},_0x37d3f3=>{const _0x14b88f=_0x5bdc52;for(const [_0x160bab,_0x2670c4]of _0x555259)_0x14b88f(0x24f)==_0x1eca83[_0x14b88f(0x226)][_0x14b88f(0x205)](_0x160bab)[_0x14b88f(0x21b)]()[_0x14b88f(0x1f2)][_0x14b88f(0x229)]&&(re(_0x160bab[_0x14b88f(0x204)](':')[0x2],_0x2670c4[_0x14b88f(0x200)](),_0x1eca83,_0x37d3f3),_0x2670c4[_0x14b88f(0x23c)]());_0x555259[_0x14b88f(0x1fb)]();});});}(_0x4596b0),this[_0x1415a2(0x222)][_0x1415a2(0x251)](_0x5a86f3[_0x1415a2(0x214)],_0x1415a2(0x21f),(_0x4c5317,{key:_0x440dfb})=>{const _0x3e8ad9=_0x1415a2;_0x3e8ad9(0x249)===_0x440dfb&&function(_0x41300a){const _0x31f819=_0x3e8ad9;_0x41300a[_0x31f819(0x21e)][_0x31f819(0x21c)][_0x31f819(0x1e4)](_0x1224ce=>{const _0x400a33=_0x31f819;for(const _0x3c432e of _0x41300a[_0x400a33(0x1fe)][_0x400a33(0x226)]){if(!_0x3c432e[_0x400a33(0x1e9)][_0x400a33(0x1ff)](_0x400a33(0x209)))continue;const _0x37d013=_0x41300a[_0x400a33(0x21e)][_0x400a33(0x208)][_0x400a33(0x218)](_0x3c432e[_0x400a33(0x1e9)]);if(_0x37d013){for(const _0xfc1516 of _0x37d013)_0x1224ce[_0x400a33(0x1df)](_0x400a33(0x22a),_0xfc1516);}}});}(_0x4596b0);},{'useCapture':!0x0});}[_0x1b6533(0x20b)](){const _0x4d026a=_0x1b6533,_0x1141fd=this[_0x4d026a(0x23f)],_0x262877=_0x1141fd[_0x4d026a(0x20d)][_0x4d026a(0x205)](_0x4d026a(0x246));_0x262877&&_0x1141fd[_0x4d026a(0x1fe)]['on'](_0x4d026a(0x207),(_0x4a9a1b,_0x1686cf)=>{const _0x4b7c0f=_0x4d026a,_0xc20c54=_0x1686cf[0x0];if(_0x4b7c0f(0x221)!=_0xc20c54[_0x4b7c0f(0x20a)]||!_0xc20c54[_0x4b7c0f(0x1e9)][_0x4b7c0f(0x1ff)](_0x4b7c0f(0x23e)))return;const _0x6d5229=_0xc20c54[_0x4b7c0f(0x1f1)];_0x262877[_0x4b7c0f(0x257)][_0x4b7c0f(0x233)](_0x6d5229)&&(_0xc20c54[_0x4b7c0f(0x210)]=_0xc20c54[_0x4b7c0f(0x1e7)]?_0x1141fd[_0x4b7c0f(0x1fe)][_0x4b7c0f(0x245)](_0xc20c54[_0x4b7c0f(0x1e7)][_0x4b7c0f(0x203)],_0xc20c54[_0x4b7c0f(0x1e7)][_0x4b7c0f(0x21a)]):null);},{'priority':_0x4d026a(0x230)});}[_0x1b6533(0x25b)](){const _0x16fb38=_0x1b6533;return this[_0x16fb38(0x222)][_0x16fb38(0x22d)](),super[_0x16fb38(0x25b)]();}[_0x1b6533(0x1e3)](){const _0x5ce238=_0x1b6533,_0x1ac2d2=this[_0x5ce238(0x23f)],_0xbd238a=_0x1ac2d2[_0x5ce238(0x1fe)][_0x5ce238(0x214)],_0x1b7d46=_0x1ac2d2[_0x5ce238(0x206)][_0x5ce238(0x205)](_0x2be471);_0x1ac2d2[_0x5ce238(0x1fe)][_0x5ce238(0x250)]({'isUndoable':!0x1},_0x27910d=>{const _0x1e59e3=_0x5ce238,_0x5cefc8=_0x1e59e3(0x219)+_0x1b7d46[_0x1e59e3(0x247)],_0x515735=_0x1e59e3(0x255)+_0x1b7d46[_0x1e59e3(0x247)],_0xebc685=_0x1ac2d2[_0x1e59e3(0x1fe)][_0x1e59e3(0x226)][_0x1e59e3(0x233)](_0x5cefc8);_0x1ac2d2[_0x1e59e3(0x21e)][_0x1e59e3(0x21c)][_0x1e59e3(0x225)]?re(_0x1b7d46[_0x1e59e3(0x247)],_0xbd238a[_0x1e59e3(0x239)][_0x1e59e3(0x258)](),_0x1ac2d2[_0x1e59e3(0x1fe)],_0x27910d):_0xebc685&&(_0x27910d[_0x1e59e3(0x24c)](_0x5cefc8),_0x27910d[_0x1e59e3(0x24c)](_0x515735));});}}function re(_0x117994,_0x704e61,_0x14a78e,_0x320b65){const _0x1ca29a=_0x1b6533,_0x248418=_0x1ca29a(0x219)+_0x117994,_0x109a43=_0x1ca29a(0x255)+_0x117994,_0x55cdc8=_0x704e61[_0x1ca29a(0x234)]();let _0x23b2d8=_0x704e61[_0x1ca29a(0x203)];_0x55cdc8&&_0x55cdc8['is'](_0x1ca29a(0x224),_0x1ca29a(0x20f))&&(_0x23b2d8=function(_0x3217c4,_0x7170eb){const _0x1d61e9=_0x1ca29a;for(const _0x4528a7 of _0x3217c4[_0x1d61e9(0x241)]())if(_0x7170eb[_0x1d61e9(0x1e5)][_0x1d61e9(0x23b)](_0x4528a7,_0x1d61e9(0x1f5)))return _0x4528a7;}(_0x704e61,_0x14a78e),_0x704e61=_0x320b65[_0x1ca29a(0x245)](_0x23b2d8));const _0x5142da=_0x320b65[_0x1ca29a(0x245)](_0x23b2d8);_0x14a78e[_0x1ca29a(0x226)][_0x1ca29a(0x233)](_0x248418)?(_0x320b65[_0x1ca29a(0x248)](_0x248418,{'range':_0x704e61}),_0x320b65[_0x1ca29a(0x248)](_0x109a43,{'range':_0x5142da})):(_0x320b65[_0x1ca29a(0x1f0)](_0x248418,{'range':_0x704e61,'usingOperation':!0x0}),_0x320b65[_0x1ca29a(0x1f0)](_0x109a43,{'range':_0x5142da,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x5a616e=_0x5ef2;(function(_0x2a15df,_0x2eaa3e){const _0x5a89a9=_0x5ef2,_0x36afbf=_0x2a15df();while(!![]){try{const _0x25a4f5=-parseInt(_0x5a89a9(0x137))/0x1+-parseInt(_0x5a89a9(0x14a))/0x2*(-parseInt(_0x5a89a9(0x152))/0x3)+-parseInt(_0x5a89a9(0x1a6))/0x4+-parseInt(_0x5a89a9(0x16a))/0x5+-parseInt(_0x5a89a9(0x13e))/0x6*(parseInt(_0x5a89a9(0x1b4))/0x7)+parseInt(_0x5a89a9(0x174))/0x8*(-parseInt(_0x5a89a9(0x151))/0x9)+parseInt(_0x5a89a9(0x150))/0xa;if(_0x25a4f5===_0x2eaa3e)break;else _0x36afbf['push'](_0x36afbf['shift']());}catch(_0x3fed5c){_0x36afbf['push'](_0x36afbf['shift']());}}}(_0x4ae3,0x57889));import{Plugin as _0xce0148}from'ckeditor5/src/core.js';import{global as _0x26690b,DomEmitterMixin as _0x2fc66f}from'ckeditor5/src/utils.js';import _0x2d6012 from'./sessions.js';import{LiveRange as _0x255de2}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x5ef2(_0x64d2bc,_0x2a9df7){const _0x4ae34b=_0x4ae3();return _0x5ef2=function(_0x5ef253,_0x243dfe){_0x5ef253=_0x5ef253-0x136;let _0x1db6bf=_0x4ae34b[_0x5ef253];return _0x1db6bf;},_0x5ef2(_0x64d2bc,_0x2a9df7);}export default class E extends _0xce0148{constructor(){const _0x4cbf09=_0x5ef2;super(...arguments),this[_0x4cbf09(0x158)]=new(_0x2fc66f())();}static get[_0x5a616e(0x1af)](){return[_0x2d6012];}static get[_0x5a616e(0x144)](){const _0x2aa91a=_0x5a616e;return _0x2aa91a(0x18d);}static get[_0x5a616e(0x194)](){return!0x0;}static get[_0x5a616e(0x190)](){return!0x0;}[_0x5a616e(0x162)](){const _0x45757d=_0x5a616e,_0x4b9b27=this[_0x45757d(0x1b0)],_0x2d7a2f=_0x4b9b27[_0x45757d(0x15a)][_0x45757d(0x1aa)](_0x2d6012);_0x4b9b27[_0x45757d(0x18a)][_0x45757d(0x14f)](_0x45757d(0x1b2))[_0x45757d(0x143)]({'model':_0x45757d(0x165),'view':(_0x356397,{writer:_0xdecb9e})=>function(_0x37231e,_0x2b6f8b,_0x1348ce,_0xc3ca61){const _0x4b8027=_0x45757d,_0x450097=_0x37231e[_0x4b8027(0x173)][_0x4b8027(0x1ab)](':')[0x2],_0x106787=_0x1348ce[_0x4b8027(0x145)](_0x450097);if(!_0x106787||_0x450097===_0x1348ce[_0x4b8027(0x13b)])return;if(!_0xc3ca61[_0x4b8027(0x189)][_0x4b8027(0x1a7)][_0x4b8027(0x153)](_0x37231e[_0x4b8027(0x19a)][_0x4b8027(0x19f)],_0x4b8027(0x191)))return;const _0x44c9e9={'class':_0x4b8027(0x170)+_0x106787[_0x4b8027(0x164)][_0x4b8027(0x15f)](),'data-name':_0x106787[_0x4b8027(0x1a5)],'data-session-id':_0x450097},_0xb3e587=_0xc3ca61[_0x4b8027(0x189)][_0x4b8027(0x16c)][_0x4b8027(0x1aa)](_0x37231e[_0x4b8027(0x173)]),_0x797778=_0xb3e587[_0x4b8027(0x1b8)](),_0x4f4f56=_0x797778[_0x4b8027(0x159)],_0x3a914d=_0xc3ca61[_0x4b8027(0x189)][_0x4b8027(0x1a7)];if(_0x4f4f56&&_0x3a914d[_0x4b8027(0x17e)](_0x4f4f56)&&_0x3a914d[_0x4b8027(0x17a)](_0x4f4f56)&&!_0xc3ca61[_0x4b8027(0x189)][_0x4b8027(0x16c)][_0x4b8027(0x1aa)](_0x4b8027(0x16d)+_0x450097)[_0x4b8027(0x146)]()[_0x4b8027(0x147)])return;const _0x25183f=_0x797778[_0x4b8027(0x1ad)];return _0xc3ca61[_0x4b8027(0x189)][_0x4b8027(0x1a7)][_0x4b8027(0x185)](_0x25183f)&&!_0xc3ca61[_0x4b8027(0x189)][_0x4b8027(0x181)](_0x25183f)&&(_0x44c9e9[_0x4b8027(0x182)]=!0x1),function(_0x5c6dc4,_0x4f3b55,_0x130c8f){const _0x5ddab4=_0x4b8027,_0x1753aa=_0x5c6dc4[_0x5ddab4(0x18c)](_0x5ddab4(0x1b5),_0x4f3b55);return _0x5c6dc4[_0x5ddab4(0x188)](_0x5ddab4(0x140),!0x0,_0x1753aa),_0x1753aa[_0x5ddab4(0x13f)]=function(_0x3adf5d){const _0x4834b2=_0x5ddab4,_0x5bde3c=this[_0x4834b2(0x13d)](_0x3adf5d);return _0x5bde3c[_0x4834b2(0x1a1)]=_0x4834b2(0x17b)+_0x130c8f[_0x4834b2(0x1a5)]+_0x4834b2(0x14b),_0x5bde3c[_0x4834b2(0x186)](_0x4834b2(0x196),()=>{const _0x1a64ef=_0x4834b2;_0x5bde3c[_0x1a64ef(0x142)][_0x1a64ef(0x154)](_0x1a64ef(0x175));}),_0x5bde3c[_0x4834b2(0x186)](_0x4834b2(0x1a4),()=>{const _0x30fa1a=_0x4834b2;_0x5bde3c[_0x30fa1a(0x142)][_0x30fa1a(0x19c)](_0x30fa1a(0x175));}),_0x5bde3c;},_0x1753aa[_0x5ddab4(0x148)]=function(_0x1b0a8d){const _0x43178c=_0x5ddab4;return!(!this[_0x43178c(0x168)](_0x43178c(0x140))||!_0x1b0a8d[_0x43178c(0x168)](_0x43178c(0x140))||this[_0x43178c(0x157)](_0x43178c(0x177))!=_0x1b0a8d[_0x43178c(0x157)](_0x43178c(0x177)));},_0x1753aa;}(_0x2b6f8b,_0x44c9e9,_0x106787);}(_0x356397,_0xdecb9e,_0x2d7a2f,_0x4b9b27)}),_0x4b9b27[_0x45757d(0x18a)][_0x45757d(0x14f)](_0x45757d(0x1b2))[_0x45757d(0x141)]({'model':_0x45757d(0x15b),'view':_0x1828f4=>function(_0x24977d,_0x3d00e6){const _0x50b231=_0x45757d,_0x288cfa=_0x24977d[_0x50b231(0x173)][_0x50b231(0x1ab)](':')[0x2];if(_0x288cfa===_0x3d00e6[_0x50b231(0x13b)])return null;const _0x46457b=_0x3d00e6[_0x50b231(0x145)](_0x288cfa);if(!_0x46457b)return{'id':_0x288cfa,'classes':[]};return{'id':_0x288cfa,'classes':[_0x50b231(0x199),_0x46457b[_0x50b231(0x164)][_0x50b231(0x166)]()],'attributes':{'data-session-id':_0x288cfa},'priority':0x7d0+_0x46457b[_0x50b231(0x18f)]};}(_0x1828f4,_0x2d7a2f)}),function(_0x13fe85){const _0x429634=_0x45757d,_0xd0ee03=_0x13fe85[_0x429634(0x189)],_0x2e2c99=new Map(),_0x49cf0e=_0x13fe85[_0x429634(0x15a)][_0x429634(0x1aa)](_0x2d6012);_0xd0ee03[_0x429634(0x16c)]['on'](_0x429634(0x19d),(_0x1c4e6b,_0x3420d1,_0x19386e,_0x17bff9)=>{const _0xc22da7=_0x429634;if(!_0x17bff9&&_0x2e2c99[_0xc22da7(0x1aa)](_0x3420d1[_0xc22da7(0x1a5)]))return _0x2e2c99[_0xc22da7(0x1aa)](_0x3420d1[_0xc22da7(0x1a5)])[_0xc22da7(0x193)](),void _0x2e2c99[_0xc22da7(0x160)](_0x3420d1[_0xc22da7(0x1a5)]);const _0x285a38=_0x3420d1[_0xc22da7(0x1a5)][_0xc22da7(0x1ab)](':')[0x2];if(_0x285a38===_0x49cf0e[_0xc22da7(0x13b)])return;const _0x18f3d5=_0xc22da7(0x1ae)+_0x285a38;_0xd0ee03[_0xc22da7(0x16c)][_0xc22da7(0x1ac)](_0x18f3d5)&&_0x13fe85[_0xc22da7(0x15c)][_0xc22da7(0x14e)](_0x18f3d5),_0x3420d1['on'](_0xc22da7(0x149),(_0x5ebcb1,_0x94e652,_0x107477)=>{const _0x441d7b=_0xc22da7;if(_0x441d7b(0x180)!=_0x94e652[_0x441d7b(0x13c)][_0x441d7b(0x15d)]&&_0x441d7b(0x180)==_0x3420d1[_0x441d7b(0x146)]()[_0x441d7b(0x13c)][_0x441d7b(0x15d)]&&!_0x2e2c99[_0x441d7b(0x1ac)](_0x3420d1[_0x441d7b(0x1a5)])){const _0x2f24dd=_0xd0ee03[_0x441d7b(0x1a7)][_0x441d7b(0x1a9)](_0x107477[_0x441d7b(0x136)]);if(_0x2f24dd){const _0x1e5351=_0x255de2[_0x441d7b(0x19b)](_0x2f24dd);_0x2e2c99[_0x441d7b(0x1b6)](_0x3420d1[_0x441d7b(0x1a5)],_0x1e5351),_0x1e5351['on'](_0x441d7b(0x149),(_0x507a22,_0x331cb0,_0x48e568)=>{const _0x25a190=_0x441d7b;if(_0x25a190(0x180)==_0x1e5351[_0x25a190(0x13c)][_0x25a190(0x15d)]){const _0x11df88=_0xd0ee03[_0x25a190(0x1a7)][_0x25a190(0x1a9)](_0x48e568[_0x25a190(0x136)]);_0x11df88?(_0x1e5351[_0x25a190(0x19f)]=_0x11df88[_0x25a190(0x19f)],_0x1e5351[_0x25a190(0x1b1)]=_0x11df88[_0x25a190(0x1b1)]):(_0x2e2c99[_0x25a190(0x160)](_0x3420d1[_0x25a190(0x1a5)]),_0x1e5351[_0x25a190(0x193)]());}});}}});}),_0xd0ee03[_0x429634(0x18b)]['on'](_0x429634(0x172),()=>{const _0x35974f=_0x429634;_0x2e2c99[_0x35974f(0x192)]>0x0&&_0xd0ee03[_0x35974f(0x1a0)]({'isUndoable':!0x1},_0x18cad7=>{const _0x3207eb=_0x35974f;for(const [_0x5f2e90,_0x3f91df]of _0x2e2c99)_0x3207eb(0x180)==_0xd0ee03[_0x3207eb(0x16c)][_0x3207eb(0x1aa)](_0x5f2e90)[_0x3207eb(0x146)]()[_0x3207eb(0x13c)][_0x3207eb(0x15d)]&&(Q(_0x5f2e90[_0x3207eb(0x1ab)](':')[0x2],_0x3f91df[_0x3207eb(0x198)](),_0xd0ee03,_0x18cad7),_0x3f91df[_0x3207eb(0x193)]());_0x2e2c99[_0x3207eb(0x17c)]();});});}(_0x4b9b27),this[_0x45757d(0x158)][_0x45757d(0x187)](_0x26690b[_0x45757d(0x18b)],_0x45757d(0x1a3),(_0x2d9859,{key:_0x495089})=>{const _0x5750ae=_0x45757d;_0x5750ae(0x167)===_0x495089&&function(_0x529fe2){const _0x1aa03d=_0x5750ae;_0x529fe2[_0x1aa03d(0x15c)][_0x1aa03d(0x17f)][_0x1aa03d(0x172)](_0x5d211f=>{const _0x44aaca=_0x1aa03d;for(const _0x476f58 of _0x529fe2[_0x44aaca(0x189)][_0x44aaca(0x16c)]){if(!_0x476f58[_0x44aaca(0x1a5)][_0x44aaca(0x19e)](_0x44aaca(0x165)))continue;const _0x4f7ec6=_0x529fe2[_0x44aaca(0x15c)][_0x44aaca(0x1b9)][_0x44aaca(0x155)](_0x476f58[_0x44aaca(0x1a5)]);if(_0x4f7ec6){for(const _0x24b5c9 of _0x4f7ec6)_0x5d211f[_0x44aaca(0x17d)](_0x44aaca(0x175),_0x24b5c9);}}});}(_0x4b9b27);},{'useCapture':!0x0});}[_0x5a616e(0x178)](){const _0x583b6e=_0x5a616e,_0x2dd98d=this[_0x583b6e(0x1b0)],_0x2dc547=_0x2dd98d[_0x583b6e(0x169)][_0x583b6e(0x1aa)](_0x583b6e(0x176));_0x2dc547&&_0x2dd98d[_0x583b6e(0x189)]['on'](_0x583b6e(0x13a),(_0x4287f4,_0x5e6652)=>{const _0x52bbd9=_0x583b6e,_0x358132=_0x5e6652[0x0];if(_0x52bbd9(0x1b3)!=_0x358132[_0x52bbd9(0x1b7)]||!_0x358132[_0x52bbd9(0x1a5)][_0x52bbd9(0x19e)](_0x52bbd9(0x1a8)))return;const _0x317616=_0x358132[_0x52bbd9(0x197)];_0x2dc547[_0x52bbd9(0x15e)][_0x52bbd9(0x1ac)](_0x317616)&&(_0x358132[_0x52bbd9(0x195)]=_0x358132[_0x52bbd9(0x179)]?_0x2dd98d[_0x52bbd9(0x189)][_0x52bbd9(0x184)](_0x358132[_0x52bbd9(0x179)][_0x52bbd9(0x19f)],_0x358132[_0x52bbd9(0x179)][_0x52bbd9(0x1b1)]):null);},{'priority':_0x583b6e(0x16b)});}[_0x5a616e(0x18e)](){const _0x5d755a=_0x5a616e;return this[_0x5d755a(0x158)][_0x5d755a(0x16f)](),super[_0x5d755a(0x18e)]();}[_0x5a616e(0x139)](){const _0x209ea6=_0x5a616e,_0x3f96ea=this[_0x209ea6(0x1b0)],_0x4e4a64=_0x3f96ea[_0x209ea6(0x189)][_0x209ea6(0x18b)],_0x43ea80=_0x3f96ea[_0x209ea6(0x15a)][_0x209ea6(0x1aa)](_0x2d6012);_0x3f96ea[_0x209ea6(0x189)][_0x209ea6(0x1a0)]({'isUndoable':!0x1},_0x537614=>{const _0xc57081=_0x209ea6,_0x2bad05=_0xc57081(0x16d)+_0x43ea80[_0xc57081(0x13b)],_0x4ca16e=_0xc57081(0x1ae)+_0x43ea80[_0xc57081(0x13b)],_0x107e10=_0x3f96ea[_0xc57081(0x189)][_0xc57081(0x16c)][_0xc57081(0x1ac)](_0x2bad05);_0x3f96ea[_0xc57081(0x15c)][_0xc57081(0x17f)][_0xc57081(0x163)]?Q(_0x43ea80[_0xc57081(0x13b)],_0x4e4a64[_0xc57081(0x156)][_0xc57081(0x171)](),_0x3f96ea[_0xc57081(0x189)],_0x537614):_0x107e10&&(_0x537614[_0xc57081(0x1a2)](_0x2bad05),_0x537614[_0xc57081(0x1a2)](_0x4ca16e));});}}function _0x4ae3(){const _0x17e0d8=['editing','rootName','_createdBatches','getMarkerClass','delete','getPositions','init','hasDomSelection','color','user:position','getSelectionClass','Escape','getCustomProperty','commands','2160590EUUmFh','highest','markers','user:range:','addMarker','stopListening','ck-user__marker\x20','getFirstRange','change','markerName','500776BGoHvx','ck-user__marker_hovered','undo','data-session-id','afterInit','oldRange','isInline','<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>','clear','removeClass','isObject','view','$graveyard','hasContent','contenteditable','getContainedElement','createRange','isLimit','addEventListener','listenTo','setCustomProperty','model','conversion','document','createUIElement','UserMarkers','destroy','orderNumber','isPremiumPlugin','$text','size','detach','isOfficialPlugin','newRange','mouseenter','batch','toRange','ck-user__selection','markerRange','fromRange','remove','update:user:range','startsWith','start','enqueueChange','innerHTML','removeMarker','keydown','mouseleave','name','678540QYdMvq','schema','user:','getNearestSelectionRange','get','split','has','parent','user:position:','requires','editor','end','editingDowncast','marker','427bhNQlu','span','set','type','getStart','mapper','deletionPosition','4690FwFWiK','updateMarker','createUserMarkerOperations','applyOperation','mySessionId','root','toDomElement','29424VHODkV','render','userPositionMarker','markerToHighlight','classList','markerToElement','pluginName','getUserBySessionId','getRange','isCollapsed','isSimilar','change:range','862YcjYgj','</span>','tableCell','element','reconvertMarker','for','12581460AOGaWi','81aWpzCy','3963gTJAFa','checkChild','add','markerNameToElements','selection','getAttribute','_domEmitter','nodeAfter','plugins','user:range'];_0x4ae3=function(){return _0x17e0d8;};return _0x4ae3();}function Q(_0x426cfe,_0x1d3057,_0x31b5fa,_0x244496){const _0x48d471=_0x5a616e,_0x43cbce=_0x48d471(0x16d)+_0x426cfe,_0x11bf47=_0x48d471(0x1ae)+_0x426cfe,_0xb4d13a=_0x1d3057[_0x48d471(0x183)]();let _0x24ee2f=_0x1d3057[_0x48d471(0x19f)];_0xb4d13a&&_0xb4d13a['is'](_0x48d471(0x14d),_0x48d471(0x14c))&&(_0x24ee2f=function(_0x33edee,_0x5830f6){const _0x477618=_0x48d471;for(const _0x3d49cd of _0x33edee[_0x477618(0x161)]())if(_0x5830f6[_0x477618(0x1a7)][_0x477618(0x153)](_0x3d49cd,_0x477618(0x191)))return _0x3d49cd;}(_0x1d3057,_0x31b5fa),_0x1d3057=_0x244496[_0x48d471(0x184)](_0x24ee2f));const _0x4261f9=_0x244496[_0x48d471(0x184)](_0x24ee2f);_0x31b5fa[_0x48d471(0x16c)][_0x48d471(0x1ac)](_0x43cbce)?(_0x244496[_0x48d471(0x138)](_0x43cbce,{'range':_0x1d3057}),_0x244496[_0x48d471(0x138)](_0x11bf47,{'range':_0x4261f9})):(_0x244496[_0x48d471(0x16e)](_0x43cbce,{'range':_0x1d3057,'usingOperation':!0x0}),_0x244496[_0x48d471(0x16e)](_0x11bf47,{'range':_0x4261f9,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10776e=_0x2bcf;(function(_0x2dfe6a,_0xa8434a){const _0x57cb0b=_0x2bcf,_0x1e1a98=_0x2dfe6a();while(!![]){try{const _0x3df26d=-parseInt(_0x57cb0b(0x1f0))/0x1*(parseInt(_0x57cb0b(0x216))/0x2)+parseInt(_0x57cb0b(0x206))/0x3+-parseInt(_0x57cb0b(0x211))/0x4+parseInt(_0x57cb0b(0x1f7))/0x5*(parseInt(_0x57cb0b(0x212))/0x6)+-parseInt(_0x57cb0b(0x1e8))/0x7*(parseInt(_0x57cb0b(0x1eb))/0x8)+-parseInt(_0x57cb0b(0x200))/0x9+-parseInt(_0x57cb0b(0x218))/0xa*(-parseInt(_0x57cb0b(0x1d2))/0xb);if(_0x3df26d===_0xa8434a)break;else _0x1e1a98['push'](_0x1e1a98['shift']());}catch(_0xeedf51){_0x1e1a98['push'](_0x1e1a98['shift']());}}}(_0x2ecc,0xb7337));import{ContextPlugin as _0xa554ee}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x295950,CKEditorError as _0x4b9ad3}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x1da529,WEB_SOCKET_GATEWAY_STATES as _0x553c28}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x49792a}from'ckeditor5/src/ui.js';class c extends _0xa554ee{static get[_0x10776e(0x219)](){const _0x252faf=_0x10776e;return[_0x252faf(0x202),_0x49792a];}static get[_0x10776e(0x1fc)](){const _0x26ffa9=_0x10776e;return _0x26ffa9(0x1e6);}static get[_0x10776e(0x1f2)](){return!0x0;}static get[_0x10776e(0x20f)](){return!0x0;}constructor(_0x9500ad){const _0x5db48b=_0x10776e;super(_0x9500ad),this[_0x5db48b(0x1d8)](_0x5db48b(0x201),_0x553c28[_0x5db48b(0x208)]),this[_0x5db48b(0x1d8)](_0x5db48b(0x1f1),!0x1),this[_0x5db48b(0x1fe)]=new Set(),this[_0x5db48b(0x213)]=!0x1,this[_0x5db48b(0x1de)]=Object[_0x5db48b(0x20c)](_0x295950);}[_0x10776e(0x210)](){const _0x469f58=_0x10776e,_0x742991=this[_0x469f58(0x21b)],_0x1a0e78=_0x742991[_0x469f58(0x1f3)][_0x469f58(0x1e2)](_0x469f58(0x202)),_0x5e8f4f=_0x742991[_0x469f58(0x1f3)][_0x469f58(0x1e2)](_0x49792a);if(!_0x1a0e78[_0x469f58(0x205)])throw new _0x4b9ad3(_0x469f58(0x207),this);if(!_0x1a0e78[_0x469f58(0x21a)])throw new _0x4b9ad3(_0x469f58(0x204),this);return this[_0x469f58(0x1de)][_0x469f58(0x1fb)](window,_0x469f58(0x1ed),()=>this[_0x469f58(0x1f1)]=!0x0),this[_0x469f58(0x1de)][_0x469f58(0x1fb)](window,_0x469f58(0x1e7),()=>this[_0x469f58(0x1f1)]=!0x1),this[_0x469f58(0x21b)][_0x469f58(0x20e)][_0x469f58(0x1e1)](_0x469f58(0x20b),0xa),this[_0x469f58(0x21b)][_0x469f58(0x20e)][_0x469f58(0x1e1)](_0x469f58(0x214),0x14),c[_0x469f58(0x1e6)][_0x469f58(0x1ee)](_0x1a0e78[_0x469f58(0x205)],_0x1a0e78[_0x469f58(0x21a)],{'timeout':0x3e8*this[_0x469f58(0x21b)][_0x469f58(0x20e)][_0x469f58(0x1e2)](_0x469f58(0x20b)),'requestTimeout':0x3e8*this[_0x469f58(0x21b)][_0x469f58(0x20e)][_0x469f58(0x1e2)](_0x469f58(0x214))})[_0x469f58(0x21c)](_0x6acbef=>{const _0x29301c=_0x469f58;if(this[_0x29301c(0x1dd)]=_0x6acbef,this[_0x29301c(0x1e3)](_0x29301c(0x201))['to'](_0x6acbef,_0x29301c(0x201),this,_0x29301c(0x1f1),(_0x531c30,_0xa75a35)=>(_0x29301c(0x1f5)!==_0x531c30&&(this[_0x29301c(0x213)]=!0x0),_0xa75a35||_0x531c30!==_0x553c28[_0x29301c(0x208)]?_0x553c28[_0x29301c(0x1e9)]:this[_0x29301c(0x201)]==_0x553c28[_0x29301c(0x1e9)]&&this[_0x29301c(0x213)]?(this[_0x29301c(0x213)]=!0x1,this[_0x29301c(0x1ef)](),_0x553c28[_0x29301c(0x1fd)]):_0x553c28[_0x29301c(0x208)])),this[_0x29301c(0x1dd)]['on'](_0x29301c(0x1d3),(_0x14441f,_0x256401)=>{const _0x10a5fd=_0x29301c;if(_0x10a5fd(0x215)!==_0x256401[_0x10a5fd(0x1f9)])throw console[_0x10a5fd(0x1d3)](_0x256401),new _0x4b9ad3(_0x10a5fd(0x217),null,{'originalError':_0x256401});_0x5e8f4f[_0x10a5fd(0x209)](_0x10a5fd(0x1dc),{'title':_0x10a5fd(0x21d),'namespace':_0x10a5fd(0x1e5)});}),!_0x6acbef['me'])return new Promise(_0x4f0a41=>_0x6acbef['on'](_0x29301c(0x20d),_0x4f0a41));})[_0x469f58(0x1ff)](_0x576f29=>{const _0x2c5c7c=_0x469f58;throw console[_0x2c5c7c(0x1d3)](_0x576f29),new _0x4b9ad3(_0x2c5c7c(0x217),null,{'originalError':_0x576f29});});}[_0x10776e(0x1db)](_0x1f168a){const _0x3575bf=_0x10776e;if(_0x3575bf(0x1f6)!=typeof _0x1f168a[_0x3575bf(0x1e0)])throw new _0x4b9ad3(_0x3575bf(0x1df),this);if(this[_0x3575bf(0x1da)](_0x1f168a))throw new _0x4b9ad3(_0x3575bf(0x1d4),this,{'name':_0x1f168a[_0x3575bf(0x1d7)][_0x3575bf(0x1fc)]});this[_0x3575bf(0x1fe)][_0x3575bf(0x1d6)](_0x1f168a);}[_0x10776e(0x20a)](_0x329074){const _0x5b14b7=_0x10776e;this[_0x5b14b7(0x1fe)][_0x5b14b7(0x203)](_0x329074);}[_0x10776e(0x1da)](_0x2957cb){const _0x2f025b=_0x10776e;return this[_0x2f025b(0x1fe)][_0x2f025b(0x1fa)](_0x2957cb);}[_0x10776e(0x1ef)](){const _0x4345d3=_0x10776e;return this[_0x4345d3(0x1dd)][_0x4345d3(0x1e0)]()[_0x4345d3(0x21c)](()=>Promise[_0x4345d3(0x1ea)](Array[_0x4345d3(0x1e4)](this[_0x4345d3(0x1fe)],_0x4fb607=>_0x4fb607[_0x4345d3(0x1e0)]())))[_0x4345d3(0x21c)](()=>this[_0x4345d3(0x201)]=_0x553c28[_0x4345d3(0x208)])[_0x4345d3(0x1ff)](_0x5da479=>{const _0x1cce57=_0x4345d3;throw console[_0x1cce57(0x1d3)](_0x5da479),new _0x4b9ad3(_0x1cce57(0x1d5),this[_0x1cce57(0x21b)]);});}[_0x10776e(0x1f4)](){const _0x389d9e=_0x10776e;this[_0x389d9e(0x1dd)]&&this[_0x389d9e(0x1dd)][_0x389d9e(0x1f8)](),this[_0x389d9e(0x201)]=_0x553c28[_0x389d9e(0x1e9)],this[_0x389d9e(0x1de)][_0x389d9e(0x1d9)](),super[_0x389d9e(0x1f4)]();}}function _0x2bcf(_0x9d7d9d,_0xa9893){const _0x2ecc6c=_0x2ecc();return _0x2bcf=function(_0x2bcf98,_0xa59dc1){_0x2bcf98=_0x2bcf98-0x1d2;let _0x77e0fc=_0x2ecc6c[_0x2bcf98];return _0x77e0fc;},_0x2bcf(_0x9d7d9d,_0xa9893);}c[_0x10776e(0x1e6)]=_0x1da529,c[_0x10776e(0x1ec)]=0x3e8;export default c;function _0x2ecc(){const _0x39f477=['catch','11743875FXEMgi','state','CloudServices','delete','websocketgateway-missing-websocket-url','token','1535778IDMQYE','websocketgateway-missing-token','CONNECTED','showWarning','removeFromReconnectionStack','cloudServices.connectionTimeout','create','change:me','config','isPremiumPlugin','init','4412896PHFYDM','214620IPBnNH','_shouldPluginsReconnect','cloudServices.requestTimeout','limitExceeded','2ZrFXeE','cloudservices-init','20gKoSyy','requires','webSocketUrl','context','then','Connected\x20users\x20limit\x20exceeded','16097026CQoLif','error','websocketgateway-plugin-already-registered','cloudservices-reconnection-error','add','constructor','set','stopListening','isInReconnectionStack','addToReconnectionStack','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.','connection','_domEmitter','websocketgateway-invalid-plugin-interface','reconnect','define','get','bind','from','real-time-collaboration','WebSocketGateway','online','4137aoYytK','DISCONNECTED','all','568oaOBUR','initialReconnectionInterval','offline','connect','_reconnect','560137jLdOAh','_isBrowserOffline','isOfficialPlugin','plugins','destroy','connected','function','45VettcZ','disconnect','code','has','listenTo','pluginName','CONNECTING','_reconnectionStack'];_0x2ecc=function(){return _0x39f477;};return _0x2ecc();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xbb8b7d=_0x2183;(function(_0x325373,_0x1fe139){var _0x2610dc=_0x2183,_0x26c5ec=_0x325373();while(!![]){try{var _0x3b73eb=-parseInt(_0x2610dc(0xc8))/0x1*(-parseInt(_0x2610dc(0xc0))/0x2)+-parseInt(_0x2610dc(0xcc))/0x3*(-parseInt(_0x2610dc(0xc7))/0x4)+parseInt(_0x2610dc(0xcb))/0x5*(parseInt(_0x2610dc(0xcd))/0x6)+parseInt(_0x2610dc(0xc6))/0x7*(parseInt(_0x2610dc(0xd0))/0x8)+-parseInt(_0x2610dc(0xc3))/0x9*(parseInt(_0x2610dc(0xc5))/0xa)+parseInt(_0x2610dc(0xca))/0xb+-parseInt(_0x2610dc(0xc4))/0xc;if(_0x3b73eb===_0x1fe139)break;else _0x26c5ec['push'](_0x26c5ec['shift']());}catch(_0x18f11c){_0x26c5ec['push'](_0x26c5ec['shift']());}}}(_0x58e5,0xd9322));function _0x2183(_0x5d037c,_0x1c2543){var _0x58e530=_0x58e5();return _0x2183=function(_0x218343,_0x803fe9){_0x218343=_0x218343-0xc0;var _0x268776=_0x58e530[_0x218343];return _0x268776;},_0x2183(_0x5d037c,_0x1c2543);}import{Plugin as _0x3801e0}from'ckeditor5/src/core.js';function _0x58e5(){var _0x5991f9=['45PXzmdO','110301HhGVZx','7086IUoMPI','isOfficialPlugin','isPremiumPlugin','8tCoQQc','64306OQKYQc','requires','pluginName','243bwhRyu','4471908UiimCy','640810MLlSQU','2558458fJqMZM','92JdaudY','47NekQwP','RealTimeCollaborativeEditing','2854775xiJnVp'];_0x58e5=function(){return _0x5991f9;};return _0x58e5();}import _0x5881ff from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x3801e0{static get[_0xbb8b7d(0xc1)](){return[_0x5881ff];}static get[_0xbb8b7d(0xc2)](){var _0xafd33b=_0xbb8b7d;return _0xafd33b(0xc9);}static get[_0xbb8b7d(0xce)](){return!0x0;}static get[_0xbb8b7d(0xcf)](){return!0x0;}}
|