@ckeditor/ckeditor5-real-time-collaboration 44.2.0-alpha.2 → 44.2.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +2 -2
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4d6ed5=_0x20bf;function _0x20bf(_0x2c09c0,_0x2c2676){const _0x544c31=_0x544c();return _0x20bf=function(_0x20bf3d,_0x2f00d9){_0x20bf3d=_0x20bf3d-0xf4;let _0x249a12=_0x544c31[_0x20bf3d];return _0x249a12;},_0x20bf(_0x2c09c0,_0x2c2676);}(function(_0x105856,_0x54139a){const _0x2c3136=_0x20bf,_0x22c706=_0x105856();while(!![]){try{const _0x3de420=-parseInt(_0x2c3136(0x116))/0x1*(-parseInt(_0x2c3136(0x13c))/0x2)+parseInt(_0x2c3136(0x103))/0x3+parseInt(_0x2c3136(0x12f))/0x4*(-parseInt(_0x2c3136(0x108))/0x5)+parseInt(_0x2c3136(0x122))/0x6+parseInt(_0x2c3136(0xfc))/0x7+parseInt(_0x2c3136(0xff))/0x8+-parseInt(_0x2c3136(0x109))/0x9*(parseInt(_0x2c3136(0x154))/0xa);if(_0x3de420===_0x54139a)break;else _0x22c706['push'](_0x22c706['shift']());}catch(_0x4f1633){_0x22c706['push'](_0x22c706['shift']());}}}(_0x544c,0x57c69));import{Context as _0x365a16,ContextPlugin as _0x53394c}from'ckeditor5/src/core.js';import{CKEditorError as _0x20ace5}from'ckeditor5/src/utils.js';import{Users as _0x44879c}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x51a8c4,User as _0x5a6219}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x544c(){const _0x461d78=['350049DyfTWb','permissions','catch','createdAt','connect','155lkgQLn','11637666JsuSgW','isOfficialPlugin','map','removeComment','config','addUser','resolvedAt','CommentsService','plugins','reconnect','attributes','commentThreadAdded','_connectService','678899CEypwW','remove','code','_services','deletedAt','pluginName','cloud-services-internal-error:\x20Not\x20connected.','commentThreadUpdated','cloudservicescommentsadapter-disconnect-not-exist','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','addToReconnectionStack','startsWith','2476692iRVDsz','disconnect','get','Permissions','addComment','setPermissions','requires','resolveCommentThread','_terminateService','resolvedBy','keys','commentThreadReopened','commentThreadResolved','66564JWsmzT','from','add','off','commentRemoved','getCommentThread','commentId','getConnectedSessions','resolve','cloudservicescommentsadapter-connect-already-connected','content','commentUpdated','init','2bawxlZ','getUser','_fetchMissingUsersForThreads','_setUpService','cloud-services-internal-error:\x20Request\x20timeout.','authorId','CommentsRepository','message','reopenCommentThread','update','mySessionId','destroy','assign','getCommentThreads','commentAdded','adapter','_getService','cloudservicescommentsadapter-service-not-exist','CloudServicesCommentsAdapter','unregister','commentThreadId','set','comments','sessionAdd:','10wkcxhR','has','collaboration.channelId','getMany','removeCommentThread','isPremiumPlugin','addCommentThread','commentThreadRemoved','404','context','listenTo','register','userId','reopen','4328065Kxjzqm','updateComment','size','2734520hbwbUA','delete','updateCommentThread','getComment'];_0x544c=function(){return _0x461d78;};return _0x544c();}import _0x5e83a1 from'../realtimecollaborativeediting/websocketgateway.js';import _0xbe83af from'../realtimecollaborativeediting/sessions.js';class a extends _0x53394c{static get[_0x4d6ed5(0x128)](){const _0x4894db=_0x4d6ed5;return[_0x5e83a1,_0x4894db(0x142),_0xbe83af,_0x44879c];}static get[_0x4d6ed5(0x11b)](){const _0x42c6f8=_0x4d6ed5;return _0x42c6f8(0x14e);}static get[_0x4d6ed5(0x10a)](){return!0x0;}static get[_0x4d6ed5(0x159)](){return!0x0;}constructor(_0x395f61){const _0x3d8aed=_0x4d6ed5;super(_0x395f61),this[_0x3d8aed(0x119)]=new Map();}async[_0x4d6ed5(0x13b)](){const _0x472fc0=_0x4d6ed5,_0xe554d6=this[_0x472fc0(0xf7)],_0x4090cf=_0xe554d6[_0x472fc0(0x111)][_0x472fc0(0x124)](_0x472fc0(0x142));if(_0xe554d6[_0x472fc0(0x111)][_0x472fc0(0x124)](_0x5e83a1)[_0x472fc0(0x120)](this),_0x4090cf[_0x472fc0(0x14b)]={'addCommentThread':async({channelId:_0x35cea6,threadId:_0x1398cf,comments:_0x5e8152,resolvedAt:_0x1bc005,resolvedBy:_0x5b4ccb,context:_0x4b8732,attributes:_0x56bbe4})=>{const _0x298f85=_0x472fc0,_0x39457f=await this[_0x298f85(0x14c)](_0x35cea6)[_0x298f85(0xf4)]({'commentThreadId':_0x1398cf,'comments':_0x5e8152[_0x298f85(0x10b)](_0x3e652f=>function(_0x46824d,_0x51d2f8,_0x25c3bf){const _0x2c27b6=_0x298f85;return{'commentThreadId':_0x25c3bf,'commentId':_0x46824d[_0x2c27b6(0x135)],'userId':_0x46824d[_0x2c27b6(0x141)],'content':_0x46824d[_0x2c27b6(0x139)],'documentId':_0x51d2f8,'createdAt':_0x46824d[_0x2c27b6(0x106)],'attributes':_0x46824d[_0x2c27b6(0x113)]||{}};}(_0x3e652f,_0x35cea6,_0x1398cf)),'resolvedAt':_0x1bc005,'resolvedBy':_0x5b4ccb,'context':_0x4b8732,'attributes':_0x56bbe4})[_0x298f85(0x105)](R);return{'threadId':_0x39457f[_0x298f85(0x150)],'comments':_0x39457f[_0x298f85(0x152)]};},'getCommentThread':async({channelId:_0xa57da5,threadId:_0x124f7d})=>{const _0x31e11b=_0x472fc0,_0x2f54c5=await this[_0x31e11b(0x14c)](_0xa57da5)[_0x31e11b(0x134)](_0x124f7d)[_0x31e11b(0x105)](R);return _0x2f54c5[_0x31e11b(0x11a)]?null:(await this[_0x31e11b(0x13e)]([_0x2f54c5]),{'threadId':_0x2f54c5[_0x31e11b(0x150)],'comments':_0x2f54c5[_0x31e11b(0x152)][_0x31e11b(0x10b)](S),'context':_0x2f54c5[_0x31e11b(0xf7)],'resolvedAt':_0x2f54c5[_0x31e11b(0x10f)],'resolvedBy':_0x2f54c5[_0x31e11b(0x12b)],'attributes':_0x2f54c5[_0x31e11b(0x113)]||{}});},'updateCommentThread':async({channelId:_0x1a721b,threadId:_0x137774,context:_0x2d3aad,unlinkedAt:_0x40c398,attributes:_0x242262})=>this[_0x472fc0(0x14c)](_0x1a721b)[_0x472fc0(0x101)]({'commentThreadId':_0x137774,'context':_0x2d3aad,'attributes':_0x242262,'unlinkedAt':_0x40c398})[_0x472fc0(0x105)](B)[_0x472fc0(0x105)](R),'resolveCommentThread':async({channelId:_0x59b4dd,threadId:_0x1684bf})=>{const _0x54d046=_0x472fc0,_0x308ccf=await this[_0x54d046(0x14c)](_0x59b4dd)[_0x54d046(0x129)](_0x1684bf)[_0x54d046(0x105)](B)[_0x54d046(0x105)](R);return{'threadId':_0x308ccf[_0x54d046(0x150)],'resolvedAt':_0x308ccf[_0x54d046(0x10f)],'resolvedBy':_0x308ccf[_0x54d046(0x12b)]};},'reopenCommentThread':async({channelId:_0x2022b6,threadId:_0x4f323d})=>this[_0x472fc0(0x14c)](_0x2022b6)[_0x472fc0(0x144)](_0x4f323d)[_0x472fc0(0x105)](B)[_0x472fc0(0x105)](R),'removeCommentThread':({channelId:_0x41e3e9,threadId:_0x338b7a})=>this[_0x472fc0(0x14c)](_0x41e3e9)[_0x472fc0(0x158)](_0x338b7a)[_0x472fc0(0x105)](B)[_0x472fc0(0x105)](R),'addComment':({channelId:_0x1fd5ee,threadId:_0x3d8980,commentId:_0x574f71,content:_0x1d1f47,attributes:_0x5eb77b})=>this[_0x472fc0(0x14c)](_0x1fd5ee)[_0x472fc0(0x126)](_0x3d8980,_0x574f71,_0x1d1f47,_0x5eb77b)[_0x472fc0(0x105)](R),'updateComment':({channelId:_0x55c880,threadId:_0x1ad276,commentId:_0x5143f,content:_0xa8ed5e,attributes:_0x4ee56d})=>this[_0x472fc0(0x14c)](_0x55c880)[_0x472fc0(0xfd)](_0x1ad276,_0x5143f,_0xa8ed5e,_0x4ee56d)[_0x472fc0(0x105)](B)[_0x472fc0(0x105)](R),'removeComment':({channelId:_0x17116c,threadId:_0x501f04,commentId:_0x4cdfd3})=>this[_0x472fc0(0x14c)](_0x17116c)[_0x472fc0(0x10c)](_0x501f04,_0x4cdfd3)[_0x472fc0(0x105)](B)[_0x472fc0(0x105)](R)},_0xe554d6 instanceof _0x365a16){const _0x407e5d=_0xe554d6[_0x472fc0(0x10d)][_0x472fc0(0x124)](_0x472fc0(0x156)),_0x1e1ed9=_0xe554d6[_0x472fc0(0x111)][_0x472fc0(0x124)](_0xbe83af);await this[_0x472fc0(0x13f)](_0x407e5d);const _0x24b018=await this[_0x472fc0(0x119)][_0x472fc0(0x124)](_0x407e5d)[_0x472fc0(0x136)]();this[_0x472fc0(0xf8)](_0x1e1ed9,_0x472fc0(0x153)+_0x407e5d,(_0x3accdc,{session:_0x54c5fc})=>{const _0x2a5afd=_0x472fc0;_0x54c5fc['id']===_0x1e1ed9[_0x2a5afd(0x146)]&&(_0x3accdc[_0x2a5afd(0x132)](),this[_0x2a5afd(0xf7)][_0x2a5afd(0x111)][_0x2a5afd(0x124)](_0x2a5afd(0x125))[_0x2a5afd(0x127)](_0x54c5fc[_0x2a5afd(0x104)],_0x407e5d));}),_0x1e1ed9[_0x472fc0(0xf9)](_0x407e5d,_0x24b018);}}async[_0x4d6ed5(0x13f)](_0x37cd28){const _0xd3934b=_0x4d6ed5;if(this[_0xd3934b(0x119)][_0xd3934b(0x155)](_0x37cd28))throw new _0x20ace5(_0xd3934b(0x138),null,{'channelId':_0x37cd28});const _0x274597=this[_0xd3934b(0xf7)][_0xd3934b(0x111)][_0xd3934b(0x124)](_0xd3934b(0x142)),_0x18dde6=new a[(_0xd3934b(0x110))](_0x37cd28);this[_0xd3934b(0x119)][_0xd3934b(0x151)](_0x37cd28,_0x18dde6),this[_0xd3934b(0xf8)](_0x18dde6,_0xd3934b(0x114),(_0x52e449,_0x23317d)=>{const _0x5eed60=_0xd3934b,{commentThreadId:_0x3ee6e3,documentId:_0x4071e2,context:_0x5ccd59,attributes:_0x40d286,resolvedAt:_0x2bd199,resolvedBy:_0x2ff0c4,comments:_0x2e280b}=_0x23317d;_0x274597[_0x5eed60(0x134)](_0x3ee6e3)||_0x274597[_0x5eed60(0xf4)]({'threadId':_0x3ee6e3,'channelId':_0x4071e2,'comments':_0x2e280b?_0x2e280b[_0x5eed60(0x10b)](S):[],'context':_0x5ccd59,'attributes':_0x40d286,'resolvedAt':_0x2bd199,'resolvedBy':_0x2ff0c4,'isFromAdapter':!0x0});}),this[_0xd3934b(0xf8)](_0x18dde6,_0xd3934b(0x11d),(_0x3853bd,{commentThreadId:_0x57766f,documentId:_0x552a89,context:_0x475e14,unlinkedAt:_0x422253,attributes:_0x3e376f})=>{const _0x4ed2c5=_0xd3934b;_0x274597[_0x4ed2c5(0x134)](_0x57766f)&&_0x274597[_0x4ed2c5(0x101)]({'threadId':_0x57766f,'channelId':_0x552a89,'context':_0x475e14,'unlinkedAt':_0x422253,'attributes':_0x3e376f,'isFromAdapter':!0x0});}),this[_0xd3934b(0xf8)](_0x18dde6,_0xd3934b(0x12e),(_0x446271,{commentThreadId:_0x48efb6,resolvedBy:_0x3fe9df,resolvedAt:_0x3363ae})=>{const _0xda489f=_0xd3934b,_0x2ff375=_0x274597[_0xda489f(0x134)](_0x48efb6);_0x2ff375&&_0x2ff375[_0xda489f(0x137)]({'resolvedBy':_0x3fe9df,'resolvedAt':_0x3363ae,'isFromAdapter':!0x0});}),this[_0xd3934b(0xf8)](_0x18dde6,_0xd3934b(0x12d),(_0x7279da,{commentThreadId:_0x688f1a})=>{const _0x2a4642=_0xd3934b,_0x59aa81=_0x274597[_0x2a4642(0x134)](_0x688f1a);_0x59aa81&&_0x59aa81[_0x2a4642(0xfb)]({'isFromAdapter':!0x0});}),this[_0xd3934b(0xf8)](_0x18dde6,_0xd3934b(0xf5),(_0x236b41,{commentThreadId:_0x1e5cb9})=>{const _0x1cc2a9=_0xd3934b,_0x49ed21=_0x274597[_0x1cc2a9(0x134)](_0x1e5cb9);_0x49ed21&&_0x49ed21[_0x1cc2a9(0x117)]({'isFromAdapter':!0x0});}),this[_0xd3934b(0xf8)](_0x18dde6,_0xd3934b(0x14a),(_0x23458d,_0x596fac)=>{const _0x359a97=_0xd3934b,_0x146e6e=_0x596fac[_0x359a97(0x150)],_0xf920f3=_0x274597[_0x359a97(0x134)](_0x146e6e);_0xf920f3&&_0xf920f3[_0x359a97(0x126)]({...S(_0x596fac),'isFromAdapter':!0x0});}),this[_0xd3934b(0xf8)](_0x18dde6,_0xd3934b(0x13a),(_0x126000,{commentThreadId:_0x246c36,commentId:_0x348078,content:_0x48dc59,attributes:_0xc2b5c2})=>{const _0x148c42=_0xd3934b,_0x4c69c3=_0x274597[_0x148c42(0x134)](_0x246c36);if(_0x4c69c3){const _0x3a6327=_0x4c69c3[_0x148c42(0x102)](_0x348078);_0x3a6327&&_0x3a6327[_0x148c42(0x145)]({'content':_0x48dc59,'attributes':_0xc2b5c2,'isFromAdapter':!0x0});}}),this[_0xd3934b(0xf8)](_0x18dde6,_0xd3934b(0x133),(_0x310742,{commentThreadId:_0xeca536,commentId:_0x42b5d4})=>{const _0x386270=_0xd3934b,_0x4d4e83=_0x274597[_0x386270(0x134)](_0xeca536);if(_0x4d4e83){const _0x595c78=_0x4d4e83[_0x386270(0x102)](_0x42b5d4);_0x595c78&&_0x595c78[_0x386270(0x117)]({'isFromAdapter':!0x0});}}),await this[_0xd3934b(0x115)](_0x37cd28);}[_0x4d6ed5(0x147)](){const _0x53f2ca=_0x4d6ed5;if(this[_0x53f2ca(0xf7)]instanceof _0x365a16){const _0xf3119a=this[_0x53f2ca(0xf7)][_0x53f2ca(0x10d)][_0x53f2ca(0x124)](_0x53f2ca(0x156));this[_0x53f2ca(0x12a)](_0xf3119a);}}[_0x4d6ed5(0x12a)](_0x5541d8){const _0x1a3c65=_0x4d6ed5;if(!this[_0x1a3c65(0x119)][_0x1a3c65(0x155)](_0x5541d8))throw new _0x20ace5(_0x1a3c65(0x11e),null,{'channelId':_0x5541d8});this[_0x1a3c65(0x14c)](_0x5541d8)[_0x1a3c65(0x123)](),this[_0x1a3c65(0x119)][_0x1a3c65(0x100)](_0x5541d8);}async[_0x4d6ed5(0x112)](){const _0xf48d8e=_0x4d6ed5;for(const _0x255636 of this[_0xf48d8e(0x119)][_0xf48d8e(0x12c)]())await this[_0xf48d8e(0x115)](_0x255636);if(this[_0xf48d8e(0xf7)]instanceof _0x365a16){const _0x3bb0a8=this[_0xf48d8e(0xf7)][_0xf48d8e(0x10d)][_0xf48d8e(0x124)](_0xf48d8e(0x156)),_0x2983dc=this[_0xf48d8e(0xf7)][_0xf48d8e(0x111)][_0xf48d8e(0x124)](_0xbe83af);_0x2983dc[_0xf48d8e(0x14f)](_0x3bb0a8);const _0x42b85b=await this[_0xf48d8e(0x119)][_0xf48d8e(0x124)](_0x3bb0a8)[_0xf48d8e(0x136)]();_0x2983dc[_0xf48d8e(0xf9)](_0x3bb0a8,_0x42b85b);}}async[_0x4d6ed5(0x115)](_0xe21981){const _0x40c25e=_0x4d6ed5,{connection:_0x3ed9c3}=this[_0x40c25e(0xf7)][_0x40c25e(0x111)][_0x40c25e(0x124)](_0x5e83a1),_0x25d7d4=this[_0x40c25e(0xf7)][_0x40c25e(0x111)][_0x40c25e(0x124)](_0x40c25e(0x142)),_0x2ce6c2=this[_0x40c25e(0x119)][_0x40c25e(0x124)](_0xe21981),_0x437455=await _0x2ce6c2[_0x40c25e(0x107)](_0x3ed9c3);await this[_0x40c25e(0x13e)](_0x437455);const _0x1f94a5=new Set(Array[_0x40c25e(0x130)](_0x25d7d4[_0x40c25e(0x149)]({'channelId':_0xe21981}),_0x4e1765=>_0x4e1765['id']));for(const _0x274131 of _0x437455)_0x274131[_0x40c25e(0x11a)]||_0x1f94a5[_0x40c25e(0x100)](_0x274131[_0x40c25e(0x150)]);for(const _0x9c5e44 of _0x1f94a5)_0x25d7d4[_0x40c25e(0x134)](_0x9c5e44)[_0x40c25e(0x117)]({'isFromAdapter':!0x0});for(const _0x4a4d82 of _0x437455){let _0x3e7ed0=_0x25d7d4[_0x40c25e(0x134)](_0x4a4d82[_0x40c25e(0x150)]);const {commentThreadId:_0x47c9a0,context:_0x4bcb0f,attributes:_0x1ed526,resolvedBy:_0x11ba5c,resolvedAt:_0x418c75,unlinkedAt:_0x116750,deletedAt:_0x4e051a}=_0x4a4d82;if(_0x4e051a)continue;_0x3e7ed0||(_0x3e7ed0=_0x25d7d4[_0x40c25e(0xf4)]({'channelId':_0xe21981,'threadId':_0x47c9a0,'context':_0x4bcb0f,'attributes':_0x1ed526||{},'resolvedBy':_0x11ba5c,'resolvedAt':_0x418c75,'unlinkedAt':_0x116750,'isFromAdapter':!0x0}));const _0x146ba1=new Set(Array[_0x40c25e(0x130)](_0x3e7ed0[_0x40c25e(0x152)],_0xf36d08=>_0xf36d08['id']));for(const _0x3a74f7 of _0x4a4d82[_0x40c25e(0x152)])_0x146ba1[_0x40c25e(0x100)](_0x3a74f7[_0x40c25e(0x135)]);for(const _0x103409 of _0x146ba1)_0x3e7ed0[_0x40c25e(0x102)](_0x103409)[_0x40c25e(0x117)]({'isFromAdapter':!0x0});for(const _0x3f6cd7 of _0x4a4d82[_0x40c25e(0x152)]){const _0x23a9ca=_0x3e7ed0[_0x40c25e(0x102)](_0x3f6cd7[_0x40c25e(0x135)]);_0x23a9ca?_0x23a9ca[_0x40c25e(0x139)]!==_0x3f6cd7[_0x40c25e(0x139)]&&_0x23a9ca[_0x40c25e(0x145)]({'content':_0x3f6cd7[_0x40c25e(0x139)],'isFromAdapter':!0x0}):_0x3e7ed0[_0x40c25e(0x126)](Object[_0x40c25e(0x148)](S(_0x3f6cd7),{'isFromAdapter':!0x0}));}}}[_0x4d6ed5(0x14c)](_0x468a87){const _0x22a208=_0x4d6ed5;if(!this[_0x22a208(0x119)][_0x22a208(0x155)](_0x468a87))throw new _0x20ace5(_0x22a208(0x14d),null,{'channelId':_0x468a87});return this[_0x22a208(0x119)][_0x22a208(0x124)](_0x468a87);}async[_0x4d6ed5(0x13e)](_0x12d8d5){const _0x2c4838=_0x4d6ed5,_0xd1444f=this[_0x2c4838(0xf7)][_0x2c4838(0x111)][_0x2c4838(0x124)](_0x44879c),{connection:_0x2dcbbb}=this[_0x2c4838(0xf7)][_0x2c4838(0x111)][_0x2c4838(0x124)](_0x5e83a1),_0x5080bd=new Set();for(const {resolvedBy:_0x3b1f9e,comments:_0x99b9ea}of _0x12d8d5){_0x3b1f9e&&!_0xd1444f[_0x2c4838(0x13d)](_0x3b1f9e)&&_0x5080bd[_0x2c4838(0x131)](_0x3b1f9e);for(const {userId:_0x3550dc}of _0x99b9ea)_0xd1444f[_0x2c4838(0x13d)](_0x3550dc)||_0x5080bd[_0x2c4838(0x131)](_0x3550dc);}if(0x0===_0x5080bd[_0x2c4838(0xfe)])return;const _0x9828eb=await _0x5a6219[_0x2c4838(0x157)](_0x2dcbbb,Array[_0x2c4838(0x130)](_0x5080bd));for(const _0x2e8abb of _0x9828eb)_0xd1444f[_0x2c4838(0x13d)](_0x2e8abb['id'])||_0xd1444f[_0x2c4838(0x10e)](_0x2e8abb);}}a[_0x4d6ed5(0x110)]=_0x51a8c4;export default a;async function B(_0x519383){const _0x5ae462=_0x4d6ed5;if(_0x5ae462(0xf6)!==_0x519383[_0x5ae462(0x118)])throw _0x519383;}function R(_0x1f8902){const _0x2ede84=_0x4d6ed5;if((_0x2ff326=_0x1f8902)[_0x2ede84(0x143)][_0x2ede84(0x121)](_0x2ede84(0x11f))||_0x2ff326[_0x2ede84(0x143)][_0x2ede84(0x121)](_0x2ede84(0x11c))||_0x2ff326[_0x2ede84(0x143)][_0x2ede84(0x121)](_0x2ede84(0x140)))return new Promise(()=>{});var _0x2ff326;throw _0x1f8902;}function S(_0x364a24){const _0x172105=_0x4d6ed5;return{'threadId':_0x364a24[_0x172105(0x150)],'commentId':_0x364a24[_0x172105(0x135)],'content':_0x364a24[_0x172105(0x139)],'createdAt':_0x364a24[_0x172105(0x106)],'authorId':_0x364a24[_0x172105(0xfa)],'attributes':_0x364a24[_0x172105(0x113)]||{}};}
|
|
23
|
+
const _0x1c32b4=_0x42e3;(function(_0x5e5066,_0x28c9ed){const _0x24ec81=_0x42e3,_0x53c847=_0x5e5066();while(!![]){try{const _0x2fc527=parseInt(_0x24ec81(0x1d8))/0x1+parseInt(_0x24ec81(0x19b))/0x2*(parseInt(_0x24ec81(0x1ad))/0x3)+parseInt(_0x24ec81(0x188))/0x4+parseInt(_0x24ec81(0x1bd))/0x5+parseInt(_0x24ec81(0x1bc))/0x6*(parseInt(_0x24ec81(0x1bb))/0x7)+-parseInt(_0x24ec81(0x19d))/0x8+parseInt(_0x24ec81(0x19e))/0x9*(-parseInt(_0x24ec81(0x1d7))/0xa);if(_0x2fc527===_0x28c9ed)break;else _0x53c847['push'](_0x53c847['shift']());}catch(_0x3d9d4c){_0x53c847['push'](_0x53c847['shift']());}}}(_0x4bdd,0xb3c8f));import{Context as _0x31c33c,ContextPlugin as _0x432210}from'ckeditor5/src/core.js';import{CKEditorError as _0x2cd801}from'ckeditor5/src/utils.js';import{Users as _0x108ab5}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x1d61e0,User as _0x1e68d6}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x44b61c from'../realtimecollaborativeediting/websocketgateway.js';import _0x67fc50 from'../realtimecollaborativeediting/sessions.js';class a extends _0x432210{static get[_0x1c32b4(0x18a)](){const _0x45aa0d=_0x1c32b4;return[_0x44b61c,_0x45aa0d(0x186),_0x67fc50,_0x108ab5];}static get[_0x1c32b4(0x1a5)](){const _0x3da7c8=_0x1c32b4;return _0x3da7c8(0x1a8);}static get[_0x1c32b4(0x183)](){return!0x0;}static get[_0x1c32b4(0x17a)](){return!0x0;}constructor(_0x2ecd76){const _0x2e158a=_0x1c32b4;super(_0x2ecd76),this[_0x2e158a(0x191)]=new Map();}async[_0x1c32b4(0x1ac)](){const _0x2cf411=_0x1c32b4,_0x2318bc=this[_0x2cf411(0x1c9)],_0x3b09ea=_0x2318bc[_0x2cf411(0x1c6)][_0x2cf411(0x1bf)](_0x2cf411(0x186));if(_0x2318bc[_0x2cf411(0x1c6)][_0x2cf411(0x1bf)](_0x44b61c)[_0x2cf411(0x1aa)](this),_0x3b09ea[_0x2cf411(0x1cf)]={'addCommentThread':async({channelId:_0x1327e7,threadId:_0x15623d,comments:_0x42d51f,resolvedAt:_0x55e00b,resolvedBy:_0x30333d,context:_0x14815d,attributes:_0x49d08f})=>{const _0x3bfdb9=_0x2cf411,_0x35b859=await this[_0x3bfdb9(0x190)](_0x1327e7)[_0x3bfdb9(0x194)]({'commentThreadId':_0x15623d,'comments':_0x42d51f[_0x3bfdb9(0x180)](_0x35106f=>function(_0x3a7d0b,_0x5a5d1c,_0x2fc343){const _0x633ea4=_0x3bfdb9;return{'commentThreadId':_0x2fc343,'commentId':_0x3a7d0b[_0x633ea4(0x178)],'userId':_0x3a7d0b[_0x633ea4(0x1c5)],'content':_0x3a7d0b[_0x633ea4(0x1b8)],'documentId':_0x5a5d1c,'createdAt':_0x3a7d0b[_0x633ea4(0x187)],'attributes':_0x3a7d0b[_0x633ea4(0x1a6)]||{}};}(_0x35106f,_0x1327e7,_0x15623d)),'resolvedAt':_0x55e00b,'resolvedBy':_0x30333d,'context':_0x14815d,'attributes':_0x49d08f})[_0x3bfdb9(0x1c4)](R);return{'threadId':_0x35b859[_0x3bfdb9(0x1b4)],'comments':_0x35b859[_0x3bfdb9(0x197)]};},'getCommentThread':async({channelId:_0x4ec5da,threadId:_0x1706c7})=>{const _0x3a04e9=_0x2cf411,_0x3614e3=await this[_0x3a04e9(0x190)](_0x4ec5da)[_0x3a04e9(0x1b9)](_0x1706c7)[_0x3a04e9(0x1c4)](R);return _0x3614e3[_0x3a04e9(0x19f)]?null:(await this[_0x3a04e9(0x17b)]([_0x3614e3]),{'threadId':_0x3614e3[_0x3a04e9(0x1b4)],'comments':_0x3614e3[_0x3a04e9(0x197)][_0x3a04e9(0x180)](S),'context':_0x3614e3[_0x3a04e9(0x1c9)],'resolvedAt':_0x3614e3[_0x3a04e9(0x1a3)],'resolvedBy':_0x3614e3[_0x3a04e9(0x17e)],'attributes':_0x3614e3[_0x3a04e9(0x1a6)]||{}});},'updateCommentThread':async({channelId:_0x969410,threadId:_0x3c1812,context:_0x5f4070,unlinkedAt:_0x165a87,attributes:_0x5a05d8})=>this[_0x2cf411(0x190)](_0x969410)[_0x2cf411(0x1c1)]({'commentThreadId':_0x3c1812,'context':_0x5f4070,'attributes':_0x5a05d8,'unlinkedAt':_0x165a87})[_0x2cf411(0x1c4)](B)[_0x2cf411(0x1c4)](R),'resolveCommentThread':async({channelId:_0x3acd8e,threadId:_0x2f11fc})=>{const _0x1d6b87=_0x2cf411,_0x1bc73e=await this[_0x1d6b87(0x190)](_0x3acd8e)[_0x1d6b87(0x18c)](_0x2f11fc)[_0x1d6b87(0x1c4)](B)[_0x1d6b87(0x1c4)](R);return{'threadId':_0x1bc73e[_0x1d6b87(0x1b4)],'resolvedAt':_0x1bc73e[_0x1d6b87(0x1a3)],'resolvedBy':_0x1bc73e[_0x1d6b87(0x17e)]};},'reopenCommentThread':async({channelId:_0x4cf5c3,threadId:_0x10e6ba})=>this[_0x2cf411(0x190)](_0x4cf5c3)[_0x2cf411(0x1af)](_0x10e6ba)[_0x2cf411(0x1c4)](B)[_0x2cf411(0x1c4)](R),'removeCommentThread':({channelId:_0x486ea9,threadId:_0x4b308f})=>this[_0x2cf411(0x190)](_0x486ea9)[_0x2cf411(0x17f)](_0x4b308f)[_0x2cf411(0x1c4)](B)[_0x2cf411(0x1c4)](R),'addComment':({channelId:_0x4ccfdf,threadId:_0x4a8ba2,commentId:_0x320c75,content:_0xe2dc6f,attributes:_0x251e04})=>this[_0x2cf411(0x190)](_0x4ccfdf)[_0x2cf411(0x192)](_0x4a8ba2,_0x320c75,_0xe2dc6f,_0x251e04)[_0x2cf411(0x1c4)](R),'updateComment':({channelId:_0x36a34b,threadId:_0x1392c8,commentId:_0x4182aa,content:_0x2b1da5,attributes:_0x4721ad})=>this[_0x2cf411(0x190)](_0x36a34b)[_0x2cf411(0x19a)](_0x1392c8,_0x4182aa,_0x2b1da5,_0x4721ad)[_0x2cf411(0x1c4)](B)[_0x2cf411(0x1c4)](R),'removeComment':({channelId:_0x5db540,threadId:_0x4ff1dd,commentId:_0x30e445})=>this[_0x2cf411(0x190)](_0x5db540)[_0x2cf411(0x1a1)](_0x4ff1dd,_0x30e445)[_0x2cf411(0x1c4)](B)[_0x2cf411(0x1c4)](R)},_0x2318bc instanceof _0x31c33c){const _0x5759d1=_0x2318bc[_0x2cf411(0x184)][_0x2cf411(0x1bf)](_0x2cf411(0x1a9)),_0x52fcf8=_0x2318bc[_0x2cf411(0x1c6)][_0x2cf411(0x1bf)](_0x67fc50);await this[_0x2cf411(0x19c)](_0x5759d1);const _0x1c2ea5=await this[_0x2cf411(0x191)][_0x2cf411(0x1bf)](_0x5759d1)[_0x2cf411(0x17d)]();this[_0x2cf411(0x1b0)](_0x52fcf8,_0x2cf411(0x1ab)+_0x5759d1,(_0x367bd2,{session:_0x58a65d})=>{const _0x3fbecc=_0x2cf411;_0x58a65d['id']===_0x52fcf8[_0x3fbecc(0x1d2)]&&(_0x367bd2[_0x3fbecc(0x198)](),this[_0x3fbecc(0x1c9)][_0x3fbecc(0x1c6)][_0x3fbecc(0x1bf)](_0x3fbecc(0x1ae))[_0x3fbecc(0x1b2)](_0x58a65d[_0x3fbecc(0x1c8)],_0x5759d1));}),_0x52fcf8[_0x2cf411(0x1d0)](_0x5759d1,_0x1c2ea5);}}async[_0x1c32b4(0x19c)](_0x26b9b3){const _0x38854e=_0x1c32b4;if(this[_0x38854e(0x191)][_0x38854e(0x1d4)](_0x26b9b3))throw new _0x2cd801(_0x38854e(0x1a0),null,{'channelId':_0x26b9b3});const _0x50b474=this[_0x38854e(0x1c9)][_0x38854e(0x1c6)][_0x38854e(0x1bf)](_0x38854e(0x186)),_0x42de5e=new a[(_0x38854e(0x18d))](_0x26b9b3);this[_0x38854e(0x191)][_0x38854e(0x1b5)](_0x26b9b3,_0x42de5e),this[_0x38854e(0x1b0)](_0x42de5e,_0x38854e(0x175),(_0x4bdfbc,_0xd8ab7b)=>{const _0x2b8402=_0x38854e,{commentThreadId:_0x3871a8,documentId:_0x13c2bf,context:_0x2980bb,attributes:_0x4748c9,resolvedAt:_0x1a393a,resolvedBy:_0x25c8ab,comments:_0x53e035}=_0xd8ab7b;_0x50b474[_0x2b8402(0x1b9)](_0x3871a8)||_0x50b474[_0x2b8402(0x194)]({'threadId':_0x3871a8,'channelId':_0x13c2bf,'comments':_0x53e035?_0x53e035[_0x2b8402(0x180)](S):[],'context':_0x2980bb,'attributes':_0x4748c9,'resolvedAt':_0x1a393a,'resolvedBy':_0x25c8ab,'isFromAdapter':!0x0});}),this[_0x38854e(0x1b0)](_0x42de5e,_0x38854e(0x1ca),(_0x432be0,{commentThreadId:_0x223187,documentId:_0x294b10,context:_0x3bfb36,unlinkedAt:_0x14bd47,attributes:_0x58f010})=>{const _0x34e3f0=_0x38854e;_0x50b474[_0x34e3f0(0x1b9)](_0x223187)&&_0x50b474[_0x34e3f0(0x1c1)]({'threadId':_0x223187,'channelId':_0x294b10,'context':_0x3bfb36,'unlinkedAt':_0x14bd47,'attributes':_0x58f010,'isFromAdapter':!0x0});}),this[_0x38854e(0x1b0)](_0x42de5e,_0x38854e(0x1d3),(_0x31bd0a,{commentThreadId:_0x4663cf,resolvedBy:_0x53f985,resolvedAt:_0x5efe7f})=>{const _0x25e286=_0x38854e,_0x5c2f24=_0x50b474[_0x25e286(0x1b9)](_0x4663cf);_0x5c2f24&&_0x5c2f24[_0x25e286(0x182)]({'resolvedBy':_0x53f985,'resolvedAt':_0x5efe7f,'isFromAdapter':!0x0});}),this[_0x38854e(0x1b0)](_0x42de5e,_0x38854e(0x1a4),(_0x1e95b,{commentThreadId:_0x59fc50})=>{const _0x18da39=_0x38854e,_0x5d794c=_0x50b474[_0x18da39(0x1b9)](_0x59fc50);_0x5d794c&&_0x5d794c[_0x18da39(0x1a2)]({'isFromAdapter':!0x0});}),this[_0x38854e(0x1b0)](_0x42de5e,_0x38854e(0x196),(_0x289ebc,{commentThreadId:_0x3e495a})=>{const _0x3670e8=_0x38854e,_0x3766b8=_0x50b474[_0x3670e8(0x1b9)](_0x3e495a);_0x3766b8&&_0x3766b8[_0x3670e8(0x18f)]({'isFromAdapter':!0x0});}),this[_0x38854e(0x1b0)](_0x42de5e,_0x38854e(0x1be),(_0x259d87,_0x412d34)=>{const _0x2bbdef=_0x38854e,_0x3e93ca=_0x412d34[_0x2bbdef(0x1b4)],_0x4cbff6=_0x50b474[_0x2bbdef(0x1b9)](_0x3e93ca);_0x4cbff6&&_0x4cbff6[_0x2bbdef(0x192)]({...S(_0x412d34),'isFromAdapter':!0x0});}),this[_0x38854e(0x1b0)](_0x42de5e,_0x38854e(0x18e),(_0x199f3b,{commentThreadId:_0x27caf8,commentId:_0x5733cd,content:_0x2e9b44,attributes:_0xda71b2})=>{const _0x51bfa5=_0x38854e,_0xb80e2b=_0x50b474[_0x51bfa5(0x1b9)](_0x27caf8);if(_0xb80e2b){const _0x376965=_0xb80e2b[_0x51bfa5(0x195)](_0x5733cd);_0x376965&&_0x376965[_0x51bfa5(0x1c7)]({'content':_0x2e9b44,'attributes':_0xda71b2,'isFromAdapter':!0x0});}}),this[_0x38854e(0x1b0)](_0x42de5e,_0x38854e(0x179),(_0x1f9872,{commentThreadId:_0x1e5517,commentId:_0x1ed109})=>{const _0x36814b=_0x38854e,_0x489cd8=_0x50b474[_0x36814b(0x1b9)](_0x1e5517);if(_0x489cd8){const _0x12e5cd=_0x489cd8[_0x36814b(0x195)](_0x1ed109);_0x12e5cd&&_0x12e5cd[_0x36814b(0x18f)]({'isFromAdapter':!0x0});}}),await this[_0x38854e(0x176)](_0x26b9b3);}[_0x1c32b4(0x189)](){const _0x4fdf86=_0x1c32b4;if(this[_0x4fdf86(0x1c9)]instanceof _0x31c33c){const _0x21ea2f=this[_0x4fdf86(0x1c9)][_0x4fdf86(0x184)][_0x4fdf86(0x1bf)](_0x4fdf86(0x1a9));this[_0x4fdf86(0x1ba)](_0x21ea2f);}}[_0x1c32b4(0x1ba)](_0x1b5780){const _0x585074=_0x1c32b4;if(!this[_0x585074(0x191)][_0x585074(0x1d4)](_0x1b5780))throw new _0x2cd801(_0x585074(0x1d9),null,{'channelId':_0x1b5780});this[_0x585074(0x190)](_0x1b5780)[_0x585074(0x1c0)](),this[_0x585074(0x191)][_0x585074(0x1cb)](_0x1b5780);}async[_0x1c32b4(0x1b3)](){const _0x1410a9=_0x1c32b4;for(const _0x4e7367 of this[_0x1410a9(0x191)][_0x1410a9(0x1c3)]())await this[_0x1410a9(0x176)](_0x4e7367);if(this[_0x1410a9(0x1c9)]instanceof _0x31c33c){const _0xbcb357=this[_0x1410a9(0x1c9)][_0x1410a9(0x184)][_0x1410a9(0x1bf)](_0x1410a9(0x1a9)),_0x16c168=this[_0x1410a9(0x1c9)][_0x1410a9(0x1c6)][_0x1410a9(0x1bf)](_0x67fc50);_0x16c168[_0x1410a9(0x174)](_0xbcb357);const _0x57dc3e=await this[_0x1410a9(0x191)][_0x1410a9(0x1bf)](_0xbcb357)[_0x1410a9(0x17d)]();_0x16c168[_0x1410a9(0x1d0)](_0xbcb357,_0x57dc3e);}}async[_0x1c32b4(0x176)](_0x485b69){const _0x6ea4ca=_0x1c32b4,{connection:_0x4acc5f}=this[_0x6ea4ca(0x1c9)][_0x6ea4ca(0x1c6)][_0x6ea4ca(0x1bf)](_0x44b61c),_0x947fdc=this[_0x6ea4ca(0x1c9)][_0x6ea4ca(0x1c6)][_0x6ea4ca(0x1bf)](_0x6ea4ca(0x186)),_0x7f80a0=this[_0x6ea4ca(0x191)][_0x6ea4ca(0x1bf)](_0x485b69),_0x48e28d=await _0x7f80a0[_0x6ea4ca(0x1b7)](_0x4acc5f);await this[_0x6ea4ca(0x17b)](_0x48e28d);const _0x52f412=new Set(Array[_0x6ea4ca(0x199)](_0x947fdc[_0x6ea4ca(0x1cd)]({'channelId':_0x485b69}),_0x33d236=>_0x33d236['id']));for(const _0x369b6b of _0x48e28d)_0x369b6b[_0x6ea4ca(0x19f)]||_0x52f412[_0x6ea4ca(0x1cb)](_0x369b6b[_0x6ea4ca(0x1b4)]);for(const _0x4b5f45 of _0x52f412)_0x947fdc[_0x6ea4ca(0x1b9)](_0x4b5f45)[_0x6ea4ca(0x18f)]({'isFromAdapter':!0x0});for(const _0x3f8c2a of _0x48e28d){let _0x22e007=_0x947fdc[_0x6ea4ca(0x1b9)](_0x3f8c2a[_0x6ea4ca(0x1b4)]);const {commentThreadId:_0x1f3fa6,context:_0x2ce0f2,attributes:_0x2f4c7a,resolvedBy:_0x58a940,resolvedAt:_0x4f688f,unlinkedAt:_0x18d2e1,deletedAt:_0x566e2b}=_0x3f8c2a;if(_0x566e2b)continue;_0x22e007||(_0x22e007=_0x947fdc[_0x6ea4ca(0x194)]({'channelId':_0x485b69,'threadId':_0x1f3fa6,'context':_0x2ce0f2,'attributes':_0x2f4c7a||{},'resolvedBy':_0x58a940,'resolvedAt':_0x4f688f,'unlinkedAt':_0x18d2e1,'isFromAdapter':!0x0}));const _0x155808=new Set(Array[_0x6ea4ca(0x199)](_0x22e007[_0x6ea4ca(0x197)],_0x4e9e4b=>_0x4e9e4b['id']));for(const _0x105ce1 of _0x3f8c2a[_0x6ea4ca(0x197)])_0x155808[_0x6ea4ca(0x1cb)](_0x105ce1[_0x6ea4ca(0x178)]);for(const _0x512523 of _0x155808)_0x22e007[_0x6ea4ca(0x195)](_0x512523)[_0x6ea4ca(0x18f)]({'isFromAdapter':!0x0});for(const _0x276838 of _0x3f8c2a[_0x6ea4ca(0x197)]){const _0x1ccc86=_0x22e007[_0x6ea4ca(0x195)](_0x276838[_0x6ea4ca(0x178)]);_0x1ccc86?_0x1ccc86[_0x6ea4ca(0x1b8)]!==_0x276838[_0x6ea4ca(0x1b8)]&&_0x1ccc86[_0x6ea4ca(0x1c7)]({'content':_0x276838[_0x6ea4ca(0x1b8)],'isFromAdapter':!0x0}):_0x22e007[_0x6ea4ca(0x192)](Object[_0x6ea4ca(0x17c)](S(_0x276838),{'isFromAdapter':!0x0}));}}}[_0x1c32b4(0x190)](_0x4a79e2){const _0x1ba34d=_0x1c32b4;if(!this[_0x1ba34d(0x191)][_0x1ba34d(0x1d4)](_0x4a79e2))throw new _0x2cd801(_0x1ba34d(0x1d1),null,{'channelId':_0x4a79e2});return this[_0x1ba34d(0x191)][_0x1ba34d(0x1bf)](_0x4a79e2);}async[_0x1c32b4(0x17b)](_0xded461){const _0x476498=_0x1c32b4,_0x4ffc=this[_0x476498(0x1c9)][_0x476498(0x1c6)][_0x476498(0x1bf)](_0x108ab5),{connection:_0x2c1757}=this[_0x476498(0x1c9)][_0x476498(0x1c6)][_0x476498(0x1bf)](_0x44b61c),_0x520dc9=new Set();for(const {resolvedBy:_0x4a241c,comments:_0x266f25}of _0xded461){_0x4a241c&&!_0x4ffc[_0x476498(0x1d6)](_0x4a241c)&&_0x520dc9[_0x476498(0x1b6)](_0x4a241c);for(const {userId:_0x5c4b0d}of _0x266f25)_0x4ffc[_0x476498(0x1d6)](_0x5c4b0d)||_0x520dc9[_0x476498(0x1b6)](_0x5c4b0d);}if(0x0===_0x520dc9[_0x476498(0x193)])return;const _0x4d3892=await _0x1e68d6[_0x476498(0x1d5)](_0x2c1757,Array[_0x476498(0x199)](_0x520dc9));for(const _0x457a43 of _0x4d3892)_0x4ffc[_0x476498(0x1d6)](_0x457a43['id'])||_0x4ffc[_0x476498(0x177)](_0x457a43);}}a[_0x1c32b4(0x18d)]=_0x1d61e0;export default a;function _0x4bdd(){const _0x47b1bf=['commentThreadId','set','add','connect','content','getCommentThread','_terminateService','7PoOcrT','5836470LCvYAH','430185ZoRWLO','commentAdded','get','disconnect','updateCommentThread','startsWith','keys','catch','authorId','plugins','update','permissions','context','commentThreadUpdated','delete','cloud-services-internal-error:\x20Request\x20timeout.','getCommentThreads','404','adapter','register','cloudservicescommentsadapter-service-not-exist','mySessionId','commentThreadResolved','has','getMany','getUser','4350660bClhPi','1165206bahKBm','cloudservicescommentsadapter-disconnect-not-exist','unregister','commentThreadAdded','_connectService','addUser','commentId','commentRemoved','isPremiumPlugin','_fetchMissingUsersForThreads','assign','getConnectedSessions','resolvedBy','removeCommentThread','map','message','resolve','isOfficialPlugin','config','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','CommentsRepository','createdAt','5741012hLOSkR','destroy','requires','userId','resolveCommentThread','CommentsService','commentUpdated','remove','_getService','_services','addComment','size','addCommentThread','getComment','commentThreadRemoved','comments','off','from','updateComment','2830780fNRHQV','_setUpService','6861632smQQOx','72qDCShU','deletedAt','cloudservicescommentsadapter-connect-already-connected','removeComment','reopen','resolvedAt','commentThreadReopened','pluginName','attributes','code','CloudServicesCommentsAdapter','collaboration.channelId','addToReconnectionStack','sessionAdd:','init','3gqbCcA','Permissions','reopenCommentThread','listenTo','cloud-services-internal-error:\x20Not\x20connected.','setPermissions','reconnect'];_0x4bdd=function(){return _0x47b1bf;};return _0x4bdd();}function _0x42e3(_0x21f5ec,_0xbb4097){const _0x4bddf4=_0x4bdd();return _0x42e3=function(_0x42e387,_0x1c8a0e){_0x42e387=_0x42e387-0x174;let _0x14ce9c=_0x4bddf4[_0x42e387];return _0x14ce9c;},_0x42e3(_0x21f5ec,_0xbb4097);}async function B(_0x3d8498){const _0x40708c=_0x1c32b4;if(_0x40708c(0x1ce)!==_0x3d8498[_0x40708c(0x1a7)])throw _0x3d8498;}function R(_0x4533e3){const _0x4807c6=_0x1c32b4;if((_0x4374b3=_0x4533e3)[_0x4807c6(0x181)][_0x4807c6(0x1c2)](_0x4807c6(0x185))||_0x4374b3[_0x4807c6(0x181)][_0x4807c6(0x1c2)](_0x4807c6(0x1b1))||_0x4374b3[_0x4807c6(0x181)][_0x4807c6(0x1c2)](_0x4807c6(0x1cc)))return new Promise(()=>{});var _0x4374b3;throw _0x4533e3;}function S(_0x25325d){const _0x49a1cb=_0x1c32b4;return{'threadId':_0x25325d[_0x49a1cb(0x1b4)],'commentId':_0x25325d[_0x49a1cb(0x178)],'content':_0x25325d[_0x49a1cb(0x1b8)],'createdAt':_0x25325d[_0x49a1cb(0x187)],'authorId':_0x25325d[_0x49a1cb(0x18b)],'attributes':_0x25325d[_0x49a1cb(0x1a6)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x15cb47=_0xff70;function _0x41ec(){const _0x15a6cc=['get','CommentsEditing','4prjaja','RealTimeCollaborativeComments','connected','30GPjOIZ','data','7963291PgUPhZ','9538800ibHARn','destroy','once','editor','isThreadsLoadingPaused','11622537NuKJRT','22645dTobIL','switchReadOnly','plugins','2449002WYphov','ready','listenTo','requires','collaboration.channelId','9203cuCjFF','config','CommentsRepository','_setUpService','isOfficialPlugin','pluginName','init','change:state','Comments','2EuNQed','27457490PSZlDG','isPremiumPlugin','_terminateService'];_0x41ec=function(){return _0x15a6cc;};return _0x41ec();}(function(_0x2acfe1,_0x57ab96){const _0x2af6fb=_0xff70,_0x355e0d=_0x2acfe1();while(!![]){try{const _0x4713d5=-parseInt(_0x2af6fb(0xe4))/0x1*(parseInt(_0x2af6fb(0xed))/0x2)+-parseInt(_0x2af6fb(0xdf))/0x3*(parseInt(_0x2af6fb(0xf3))/0x4)+-parseInt(_0x2af6fb(0xdc))/0x5*(-parseInt(_0x2af6fb(0xf6))/0x6)+-parseInt(_0x2af6fb(0xf8))/0x7+parseInt(_0x2af6fb(0xf9))/0x8+-parseInt(_0x2af6fb(0xdb))/0x9+parseInt(_0x2af6fb(0xee))/0xa;if(_0x4713d5===_0x57ab96)break;else _0x355e0d['push'](_0x355e0d['shift']());}catch(_0x552524){_0x355e0d['push'](_0x355e0d['shift']());}}}(_0x41ec,0xac699));import{Plugin as _0xaf2ca8}from'ckeditor5/src/core.js';import _0x29335d from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0xff70(_0x13d4bb,_0x2aa8f8){const _0x41ec86=_0x41ec();return _0xff70=function(_0xff707e,_0x41c744){_0xff707e=_0xff707e-0xd8;let _0xd392f7=_0x41ec86[_0xff707e];return _0xd392f7;},_0xff70(_0x13d4bb,_0x2aa8f8);}import _0x38d327 from'./realtimecollaborativeediting.js';import _0x360527 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0xaf2ca8{static get[_0x15cb47(0xe2)](){const _0x32864c=_0x15cb47;return[_0x32864c(0xec),_0x29335d,_0x38d327,_0x360527];}static get[_0x15cb47(0xe9)](){const _0x36a02b=_0x15cb47;return _0x36a02b(0xf4);}static get[_0x15cb47(0xe8)](){return!0x0;}static get[_0x15cb47(0xef)](){return!0x0;}[_0x15cb47(0xea)](){const _0x19ba99=_0x15cb47,_0x2e1cd2=this[_0x19ba99(0xd9)][_0x19ba99(0xde)][_0x19ba99(0xf1)](_0x360527),_0x5e7b53=this[_0x19ba99(0xd9)][_0x19ba99(0xde)][_0x19ba99(0xf1)](_0x19ba99(0xf2)),_0x1eb00b=this[_0x19ba99(0xd9)][_0x19ba99(0xde)][_0x19ba99(0xf1)](_0x29335d);return this[_0x19ba99(0xd9)][_0x19ba99(0xf7)][_0x19ba99(0xd8)](_0x19ba99(0xe0),()=>{const _0xb99d32=_0x19ba99;this[_0xb99d32(0xe1)](_0x2e1cd2,_0xb99d32(0xeb),(_0x29395c,_0x4a9153,_0x1c7dfe)=>{const _0xf2a268=_0xb99d32;_0x5e7b53[_0xf2a268(0xda)]=_0xf2a268(0xf5)!==_0x1c7dfe;});}),this[_0x19ba99(0xe1)](_0x2e1cd2,_0x19ba99(0xeb),(_0x4ec17b,_0x2c6705,_0x5d6c88)=>{const _0x604f63=_0x19ba99;this[_0x604f63(0xd9)][_0x604f63(0xde)][_0x604f63(0xf1)](_0x604f63(0xe6))[_0x604f63(0xdd)](_0x604f63(0xf5)!==_0x5d6c88);}),_0x1eb00b[_0x19ba99(0xe7)](this[_0x19ba99(0xd9)][_0x19ba99(0xe5)][_0x19ba99(0xf1)](_0x19ba99(0xe3)));}[_0x15cb47(0xfa)](){const _0x131ee8=_0x15cb47;this[_0x131ee8(0xd9)][_0x131ee8(0xde)][_0x131ee8(0xf1)](_0x29335d)[_0x131ee8(0xf0)](this[_0x131ee8(0xd9)][_0x131ee8(0xe5)][_0x131ee8(0xf1)](_0x131ee8(0xe3))),super[_0x131ee8(0xfa)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1162c0=_0x417b;function _0x5a4c(){const _0x16983e=['sendOperations','position','realtimecollaborationclient-sendbufferedoperations','operationsReceived','slice','parse','real-time-collaboration','pluginName','getOperations','affectsData','disconnected','change:hasDomSelection','_fetchMissingUsers','isDocumentOperation','realtimecollaborationclient','change:_isEditingAllowed','collaboration-missing-channelid','model','sessionCreatedAt','_baseBufferDelay','marker','_isPendingUpdate','toJSON','stopListening','404','selection','_compressor','_pendingAction','_isLoaded','getUser','then','length','string','reset','collaboration.channelId','isEnabled','entries','_getOperationsFromInitData','connect','createRange','_saveOperationInBuffer','_lastServerVersion','off','unregister','1059040iGVkaa','currentDocumentSession','_knownOperations','rootsAttributes','removeFromReconnectionStack','change:range','_bufferedOperations','view','suppressErrorInCollaboration','135650nbyOSw','mySessionId','_applyOperationsSet','config','catch','push','__className','rtc-offline','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_sendBufferedOperationsDelayId','roots','setIdForTheLastOperation','_isEditingAllowed','lastDocumentSession','decompress','cloudDocumentVersion','addRootAttribute','realtimecollaborationclient-error','getDocumentDetails','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.','_initSessionsHandling','createdAt','_sendBufferedOperations','_crash','CollaborativeEditingService','version','includes','_service','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.','return','cloud-services-internal-error:\x20Not\x20connected.','data','metadata','1102152qZXgSr','createUserMarkerOperations','_handleExternalOperations','document','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','remove','permissions','_handleReceivedOperations','realtimecollaborationclient-init-non-existent-root','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_updateServerHistory','_loadRoot','_lastSyncedOperationId','high','filter','_currentBufferDelay','startsWith','from','_isConnected','409','markers','_setUpDataInit','_setPendingAction','_bufferRootLoad','get','$root','requires','getConnectedSessions','Permissions','map','_document','forEach','_hasSelectionChanged','offset','_getAffectedRoot','rtc-destroyed','_operationToId','realtimecollaborationclient-handleserverresponse','finally','history','_isInit','add','connected','change:_isPendingUpdate','realtimecollaborationclient-init-session-connection-error','sessionAdd:','getIdOfTheLastOperation','_authorId','_connectAfterSessionHasBeenFlushed','collaboration','destroy','CommentsOnly','isReadOnly','move','_sendBufferedOperationsDelayed','_isDisconnection','realtimecollaborationclient-init-service-incorrect-server-operation','type','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','addToReconnectionStack','_compressOperations','cloud-services-internal-error:\x20Request\x20timeout.','realtimecollaborationclient-init-connection-failed','_disconnectService','disconnect','listenTo','getRoot','_handleInitialConnectionData','lastOperationAcceptedAt','clone','userId','_operationIdentifier','enqueueChange','_addKnownRoot','_disconnectionOperations','_initThrowingOnDataSet','enableReadOnlyMode','document:write','directChange','_shouldSendSelectionUpdate','connection','error','2093142jhfzrh','stop','_waitUntilSynced','207242wVcHwa','lastSyncVersion','serverHistory','keys','_clearPendingAction','channelSessions','batch','editor','cs:removeUser','affectedSelectable','set','state','multi-root-editor-root-attributes-no-root','_handleReconnectionResponse','fire','_offset','getOperationAuthor','disableReadOnlyMode','isPremiumPlugin','loadRoot','isUndoneOperation','start','initData','path','_decompressOperations','_knownRootNames','define','compress','insert','realtimecollaborationclient-init-document-already-initialized','has','_refreshUserSelectionMarkers','_connectService','Notification','ready','end','getMany','Synchronization\x20issue','_handleSendingSelectionMarkers','_handleServerResponse','reconnect','341807aAlmAE','setPermissions','plugins','_isAttached','targetPosition','newRange','wereChangesApplied','addOperation','realtimecollaborationclient-init-service-internal-error','rootName','16tpEprV','reconnection:\x20flushed\x20session','createPositionFromPath','differ','createRoot','root','sessionId','_ignoredOperations','apply','addUser','applyOperation','init','message','_shouldSendUpdate','179110faUhCB','_channelId','InsertOperation','baseVersion','code','locale','size','cloudServices.bundleVersion','attributes','fromJSON','_handleReconnectionError','register','addRoot','lastOperationId','bind','showWarning','wasUndone','isOfficialPlugin','editing','_hasSynchronizationProblem','RealTimeCollaborationClient','PENDING_ACTION_SENDING_DATA','round','createPositionAt'];_0x5a4c=function(){return _0x16983e;};return _0x5a4c();}(function(_0x45cd17,_0x2238d5){const _0x8a3a4=_0x417b,_0x558da6=_0x45cd17();while(!![]){try{const _0x563307=parseInt(_0x8a3a4(0x1db))/0x1+parseInt(_0x8a3a4(0x1f3))/0x2+-parseInt(_0x8a3a4(0x15d))/0x3+-parseInt(_0x8a3a4(0x1e5))/0x4*(parseInt(_0x8a3a4(0x13c))/0x5)+parseInt(_0x8a3a4(0x1af))/0x6+parseInt(_0x8a3a4(0x1b2))/0x7+-parseInt(_0x8a3a4(0x237))/0x8;if(_0x563307===_0x2238d5)break;else _0x558da6['push'](_0x558da6['shift']());}catch(_0x47e1d2){_0x558da6['push'](_0x558da6['shift']());}}}(_0x5a4c,0x31345));function _0x417b(_0x4ae25b,_0x599f34){const _0x5a4c7e=_0x5a4c();return _0x417b=function(_0x417b69,_0x176db9){_0x417b69=_0x417b69-0x13a;let _0x5e94ae=_0x5a4c7e[_0x417b69];return _0x5e94ae;},_0x417b(_0x4ae25b,_0x599f34);}import{Plugin as _0x50f10a,PendingActions as _0xa965ac}from'ckeditor5/src/core.js';import{CKEditorError as _0xdb1491,version as _0x44fa55,uid as _0x8d031e}from'ckeditor5/src/utils.js';import{Notification as _0x228569}from'ckeditor5/src/ui.js';import{transformSets as _0x41e9b1,NoOperation as _0x3dd7c2,InsertOperation as _0x14e9c3,MarkerOperation as _0x22ad7d,RootAttributeOperation as _0x45dcc8,OperationFactory as _0x4e7032,History as _0x59eac6}from'ckeditor5/src/engine.js';import _0x5a69d0 from'./websocketgateway.js';import _0x230e93 from'./sessions.js';import _0x50d726 from'./usermarkers.js';import{getTranslation as _0x2e6343}from'../common-translations.js';import{Compressor as _0x494310}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x255e6f}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0xa6696c,CollaborativeEditingService as _0x516f9d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x50f10a{static get[_0x1162c0(0x177)](){return[_0x5a69d0,_0x230e93,_0x50d726,_0xa965ac,_0x255e6f,_0x228569];}static get[_0x1162c0(0x212)](){const _0x16c701=_0x1162c0;return _0x16c701(0x207);}static get[_0x1162c0(0x204)](){return!0x0;}static get[_0x1162c0(0x1c4)](){return!0x0;}get[_0x1162c0(0x14b)](){const _0x4859e4=_0x1162c0;return this[_0x4859e4(0x234)]+this[_0x4859e4(0x1c1)];}get[_0x1162c0(0x234)](){const _0xfed2f2=_0x1162c0;return this[_0xfed2f2(0x1b4)][_0xfed2f2(0x155)]-this[_0xfed2f2(0x1c1)];}get[_0x1162c0(0x1b3)](){const _0x22d0bc=_0x1162c0,_0x190c3b=this[_0x22d0bc(0x1b4)][_0x22d0bc(0x213)]();for(let _0xc0c79a=_0x190c3b[_0x22d0bc(0x22a)]-0x1;_0xc0c79a>=0x0;_0xc0c79a--){const _0x35b5da=_0x190c3b[_0xc0c79a];if(!this[_0x22d0bc(0x1a7)][_0x22d0bc(0x1d0)](_0x35b5da))return _0x35b5da[_0x22d0bc(0x1f6)]+0x1-this[_0x22d0bc(0x1c1)];}return 0x0;}constructor(_0x2392b3){const _0x4e4464=_0x1162c0;if(super(_0x2392b3),this[_0x4e4464(0x1c1)]=0x0,this[_0x4e4464(0x1eb)]=null,this[_0x4e4464(0x1b4)]=new _0x59eac6(),this[_0x4e4464(0x1b9)][_0x4e4464(0x13f)][_0x4e4464(0x1cc)](_0x4e4464(0x18e),{}),this[_0x4e4464(0x1f4)]=this[_0x4e4464(0x1b9)][_0x4e4464(0x13f)][_0x4e4464(0x175)](_0x4e4464(0x22d)),!this[_0x4e4464(0x1f4)])throw new _0xdb1491(_0x4e4464(0x21b),this);const _0xd23ac2=_0x2392b3[_0x4e4464(0x13f)][_0x4e4464(0x175)](_0x4e4464(0x1fa))||_0x44fa55;this[_0x4e4464(0x157)]=new l[(_0x4e4464(0x154))](_0xd23ac2,this[_0x4e4464(0x1f4)]),this[_0x4e4464(0x17b)]=this[_0x4e4464(0x1b9)][_0x4e4464(0x21c)][_0x4e4464(0x160)],this[_0x4e4464(0x225)]=new _0x494310(),this[_0x4e4464(0x23d)]=[],this[_0x4e4464(0x239)]=new WeakSet(),this[_0x4e4464(0x1cb)]=new Set(),this[_0x4e4464(0x1bc)](_0x4e4464(0x220),!0x1),this[_0x4e4464(0x1bc)](_0x4e4464(0x206),!0x1),this[_0x4e4464(0x226)]=null,this[_0x4e4464(0x17d)]=!0x1,this[_0x4e4464(0x145)]=null,this[_0x4e4464(0x21e)]=0x12c,this[_0x4e4464(0x16c)]=this[_0x4e4464(0x21e)],this[_0x4e4464(0x169)]=null,this[_0x4e4464(0x1a7)]=new WeakSet(),this[_0x4e4464(0x1a4)]=new X(this[_0x4e4464(0x1a7)]);}[_0x1162c0(0x1f0)](){const _0x2f0835=_0x1162c0,_0x399342=this[_0x2f0835(0x1b9)],_0x43d777=_0x399342[_0x2f0835(0x1dd)][_0x2f0835(0x175)](_0x255e6f),_0x25c8c8=_0x399342[_0x2f0835(0x1dd)][_0x2f0835(0x175)](_0x5a69d0);this[_0x2f0835(0x19e)](_0x43d777,_0x2f0835(0x1c2),(_0x368111,_0x247494)=>{const _0x1ba6a5=_0x2f0835,_0x14ecd4=_0x247494[0x0];_0x14ecd4[_0x1ba6a5(0x18c)]&&(_0x368111[_0x1ba6a5(0x159)]=_0x43d777[_0x1ba6a5(0x228)](_0x14ecd4[_0x1ba6a5(0x18c)]),_0x368111[_0x1ba6a5(0x1b0)]()),null===_0x14ecd4[_0x1ba6a5(0x18c)]&&(_0x368111[_0x1ba6a5(0x159)]=null,_0x368111[_0x1ba6a5(0x1b0)]());},{'priority':_0x2f0835(0x16a)}),this[_0x2f0835(0x19e)](_0x399342[_0x2f0835(0x21c)][_0x2f0835(0x160)][_0x2f0835(0x224)],_0x2f0835(0x23c),(_0x39d0da,_0x2bddaa)=>{const _0x282e5c=_0x2f0835;_0x2bddaa[_0x282e5c(0x1ab)]&&this[_0x282e5c(0x1d1)]();}),this[_0x2f0835(0x19e)](_0x399342[_0x2f0835(0x205)][_0x2f0835(0x13a)],_0x2f0835(0x216),()=>{const _0x53c42c=_0x2f0835;this[_0x53c42c(0x1d1)]();}),this[_0x2f0835(0x1a8)](),_0x399342[_0x2f0835(0x21c)]['on'](_0x2f0835(0x1ef),(_0x3f652d,_0x396a59)=>{const _0xf30080=_0x2f0835,_0x3527a9=_0x396a59[0x0];_0x3527a9[_0xf30080(0x218)]&&(this[_0xf30080(0x233)](_0x3527a9),this[_0xf30080(0x1f2)]()&&this[_0xf30080(0x193)]());}),this[_0x2f0835(0x172)](),this[_0x2f0835(0x201)](_0x2f0835(0x148))['to'](_0x25c8c8,_0x2f0835(0x1bd),this,_0x2f0835(0x206),(_0x374d9f,_0x490908)=>_0x2f0835(0x187)===_0x374d9f&&!_0x490908),this['on'](_0x2f0835(0x21a),()=>{const _0x46c42c=_0x2f0835;this[_0x46c42c(0x148)]?_0x399342[_0x46c42c(0x1c3)](_0x46c42c(0x143)):_0x399342[_0x46c42c(0x1a9)](_0x46c42c(0x143));}),this[_0x2f0835(0x148)]?_0x399342[_0x2f0835(0x1c3)](_0x2f0835(0x143)):_0x399342[_0x2f0835(0x1a9)](_0x2f0835(0x143)),this[_0x2f0835(0x1bc)](_0x2f0835(0x16f),!0x1);}async[_0x1162c0(0x1da)](){const _0x36c6aa=_0x1162c0,_0x55cb67=this[_0x36c6aa(0x1b9)][_0x36c6aa(0x1dd)][_0x36c6aa(0x175)](_0x230e93),_0x46eef5=this[_0x36c6aa(0x1b9)][_0x36c6aa(0x1dd)][_0x36c6aa(0x175)](_0x5a69d0);try{this[_0x36c6aa(0x220)]=!0x0,_0x55cb67[_0x36c6aa(0x236)](this[_0x36c6aa(0x1f4)]);const _0xec8e85=await this[_0x36c6aa(0x157)][_0x36c6aa(0x1da)](_0x46eef5[_0x36c6aa(0x1ad)],this[_0x36c6aa(0x1b3)]);await this[_0x36c6aa(0x1bf)](_0xec8e85)&&(this[_0x36c6aa(0x220)]=!0x1,this[_0x36c6aa(0x1b6)]());const _0x40a66e=await this[_0x36c6aa(0x157)][_0x36c6aa(0x178)]();_0x55cb67[_0x36c6aa(0x1fe)](this[_0x36c6aa(0x1f4)],_0x40a66e),this[_0x36c6aa(0x1d8)](),this[_0x36c6aa(0x16f)]=!0x0;}catch(_0xac5bb1){if(function(_0x3b3ce0){const _0x19826a=_0x36c6aa;return _0x19826a(0x223)===_0x3b3ce0[_0x19826a(0x1f7)];}(_0xac5bb1)&&this[_0x36c6aa(0x1eb)])await this[_0x36c6aa(0x18d)]();else{if(function(_0x3bb952){const _0x332b2d=_0x36c6aa;return _0x332b2d(0x170)===_0x3bb952[_0x332b2d(0x1f7)];}(_0xac5bb1)){const _0x567a5a=_0x2e6343(this[_0x36c6aa(0x1b9)][_0x36c6aa(0x1f8)],_0x36c6aa(0x161));this[_0x36c6aa(0x1fd)](_0x567a5a);}else{if(!(_0xac5bb1 instanceof J))throw _0xac5bb1;this[_0x36c6aa(0x1fd)]();}}}}[_0x1162c0(0x18f)](){const _0x467531=_0x1162c0,_0x4d1c59=this[_0x467531(0x1b9)][_0x467531(0x1dd)][_0x467531(0x175)](_0x5a69d0),_0x1fdf6a=this[_0x467531(0x1b9)][_0x467531(0x1dd)][_0x467531(0x175)](_0x230e93);this[_0x467531(0x1b9)][_0x467531(0x1a9)](_0x467531(0x180)),_0x1fdf6a[_0x467531(0x1b7)][_0x467531(0x1d0)](this[_0x467531(0x1f4)])&&_0x1fdf6a[_0x467531(0x236)](this[_0x467531(0x1f4)]),_0x4d1c59[_0x467531(0x23b)](this),this[_0x467531(0x19c)](),super[_0x467531(0x18f)]();}async[_0x1162c0(0x1bf)](_0x5b1736){const _0x20676a=_0x1162c0;if(this[_0x20676a(0x1eb)]!==_0x5b1736[_0x20676a(0x1eb)]&&this[_0x20676a(0x169)]!==_0x5b1736[_0x20676a(0x200)])throw new J();return this[_0x20676a(0x1eb)]=_0x5b1736[_0x20676a(0x1eb)],this[_0x20676a(0x1d9)]([],{..._0x5b1736,'wereChangesApplied':!0x1,'data':_0x5b1736[_0x20676a(0x15b)]},_0x20676a(0x1da));}async[_0x1162c0(0x1d2)](_0x4254b3,_0x49e963=!0x1){const _0x4109ec=_0x1162c0,{connection:_0x4a182c}=this[_0x4109ec(0x1b9)][_0x4109ec(0x1dd)][_0x4109ec(0x175)](_0x5a69d0);l[_0x4109ec(0x154)][_0x4109ec(0x178)](_0x4a182c,this[_0x4109ec(0x1f4)])[_0x4109ec(0x229)](_0x540807=>this[_0x4109ec(0x150)](_0x540807))[_0x4109ec(0x140)](_0x2f8551=>{const _0x4a9085=_0x4109ec;this[_0x4a9085(0x153)](_0x4a9085(0x189),_0x2f8551);}),this[_0x4109ec(0x19e)](this[_0x4109ec(0x157)],_0x4109ec(0x20e),this[_0x4109ec(0x164)][_0x4109ec(0x201)](this)),this[_0x4109ec(0x19e)](this[_0x4109ec(0x157)],_0x4109ec(0x1ae),(_0x5c3d16,_0x2eeac5)=>{const _0x5e5c5d=_0x4109ec;this[_0x5e5c5d(0x153)](_0x5e5c5d(0x1e3),_0x2eeac5);}),this[_0x4109ec(0x19e)](this[_0x4109ec(0x157)],_0x4109ec(0x215),()=>{const _0x2314cd=_0x4109ec;this[_0x2314cd(0x16f)]=!0x1;});const _0x185f5a=this[_0x4109ec(0x1a4)][_0x4109ec(0x18b)](_0x4254b3);this[_0x4109ec(0x220)]=!0x0;const _0x47a902=await this[_0x4109ec(0x157)][_0x4109ec(0x231)](_0x4a182c,this[_0x4109ec(0x199)](_0x4254b3),_0x185f5a);if(this[_0x4109ec(0x1eb)]=_0x47a902[_0x4109ec(0x1eb)],_0x49e963){if(!_0x47a902[_0x4109ec(0x1e1)])return void this[_0x4109ec(0x1fd)]();this[_0x4109ec(0x220)]=!0x1,this[_0x4109ec(0x1b6)](),this[_0x4109ec(0x1b4)][_0x4109ec(0x22c)](),this[_0x4109ec(0x1c1)]=_0x47a902[_0x4109ec(0x17e)],this[_0x4109ec(0x1b4)][_0x4109ec(0x155)]=this[_0x4109ec(0x1c1)],await this[_0x4109ec(0x1d9)](_0x4254b3,_0x47a902,_0x4109ec(0x1e6));}else await this[_0x4109ec(0x1a0)](_0x47a902,_0x4254b3);this[_0x4109ec(0x1d8)](),this[_0x4109ec(0x16f)]=!0x0;}[_0x1162c0(0x1d8)](){const _0x4c4d63=_0x1162c0,_0x4c09d9=this[_0x4c4d63(0x1b9)][_0x4c4d63(0x1dd)][_0x4c4d63(0x175)](_0x230e93),_0x36c057=this[_0x4c4d63(0x1b9)][_0x4c4d63(0x1dd)][_0x4c4d63(0x175)](_0x50d726),_0x4d6517=_0x4c09d9[_0x4c4d63(0x1b7)][_0x4c4d63(0x175)](this[_0x4c4d63(0x1f4)]);_0x4d6517&&_0x4d6517[_0x4c4d63(0x22a)]>0x1?_0x36c057[_0x4c4d63(0x15e)]():this[_0x4c4d63(0x19e)](_0x4c09d9,_0x4c4d63(0x18a)+this[_0x4c4d63(0x1f4)],()=>{const _0xb5677d=_0x4c4d63;0x2===_0x4c09d9[_0xb5677d(0x1b7)][_0xb5677d(0x175)](this[_0xb5677d(0x1f4)])[_0xb5677d(0x22a)]&&_0x36c057[_0xb5677d(0x15e)]();});}async[_0x1162c0(0x164)](_0x152419,_0x485ffa,_0x3f4e19,_0x468dcb){const _0x6102b9=_0x1162c0;if(!this[_0x6102b9(0x220)]&&this[_0x6102b9(0x17b)][_0x6102b9(0x155)]==_0x485ffa){const _0x225359=this[_0x6102b9(0x1ca)](_0x3f4e19,_0x468dcb);await this[_0x6102b9(0x217)](_0x225359),this[_0x6102b9(0x15f)](_0x225359,_0x485ffa,_0x3f4e19[_0x6102b9(0x200)])||this[_0x6102b9(0x153)](_0x6102b9(0x195));}}async[_0x1162c0(0x18d)](){const _0x5d127a=_0x1162c0;this[_0x5d127a(0x19c)]();const {locale:_0x493c7a}=this[_0x5d127a(0x1b9)];let _0xab97be;try{_0xab97be=await this[_0x5d127a(0x157)][_0x5d127a(0x14e)]();}catch(_0x36dff0){const _0x210224=_0x2e6343(_0x493c7a,_0x5d127a(0x144));return void this[_0x5d127a(0x1fd)](_0x210224);}const _0x47088a=_0xab97be[_0x5d127a(0x238)]||_0xab97be[_0x5d127a(0x149)];if(this[_0x5d127a(0x169)]===_0x47088a[_0x5d127a(0x200)])await this[_0x5d127a(0x1d2)](this[_0x5d127a(0x1b9)][_0x5d127a(0x21c)][_0x5d127a(0x160)][_0x5d127a(0x184)][_0x5d127a(0x213)](),!0x0);else{const _0x47b35c=_0x2e6343(_0x493c7a,_0x5d127a(0x14f));this[_0x5d127a(0x1fd)](_0x47b35c);}}[_0x1162c0(0x19c)](){const _0x3e1147=_0x1162c0;this[_0x3e1147(0x157)][_0x3e1147(0x19d)](),this[_0x3e1147(0x23d)]=[],clearTimeout(this[_0x3e1147(0x145)]),this[_0x3e1147(0x222)](this[_0x3e1147(0x157)]);}[_0x1162c0(0x150)](_0x191483){const _0x222171=_0x1162c0,_0x5920fa=this[_0x222171(0x1b9)][_0x222171(0x1dd)][_0x222171(0x175)](_0x230e93);this[_0x222171(0x19e)](_0x5920fa,_0x222171(0x18a)+this[_0x222171(0x1f4)],(_0x5d7861,{session:_0x26ff48})=>{const _0xc0ef30=_0x222171;if(_0x26ff48['id']===_0x5920fa[_0xc0ef30(0x13d)]){_0x5d7861[_0xc0ef30(0x235)]();const _0x4278bd=this[_0xc0ef30(0x1b9)][_0xc0ef30(0x1dd)][_0xc0ef30(0x1d0)](_0xc0ef30(0x190))&&this[_0xc0ef30(0x1b9)][_0xc0ef30(0x1dd)][_0xc0ef30(0x175)](_0xc0ef30(0x190));let _0x1b20f3=_0x26ff48[_0xc0ef30(0x163)];_0x4278bd&&_0x4278bd[_0xc0ef30(0x22e)]&&(_0x1b20f3=_0x1b20f3[_0xc0ef30(0x16b)](_0x3538dc=>_0xc0ef30(0x1aa)!==_0x3538dc)),this[_0xc0ef30(0x1b9)][_0xc0ef30(0x1dd)][_0xc0ef30(0x175)](_0xc0ef30(0x179))[_0xc0ef30(0x1dc)](_0x1b20f3,this[_0xc0ef30(0x1f4)]);}}),_0x5920fa[_0x222171(0x1fe)](this[_0x222171(0x1f4)],_0x191483);}[_0x1162c0(0x1a8)](){const _0x55da55=_0x1162c0,_0x1c6d00=this[_0x55da55(0x1b9)][_0x55da55(0x15b)][_0x55da55(0x1bc)];this[_0x55da55(0x1b9)][_0x55da55(0x15b)][_0x55da55(0x1bc)]=(..._0x27aa96)=>{const _0x54ffd1=_0x55da55;if(!_0x27aa96[_0x27aa96[_0x54ffd1(0x22a)]-0x1][_0x54ffd1(0x13b)])throw new _0xdb1491(_0x54ffd1(0x166),this);_0x1c6d00[_0x54ffd1(0x1ed)](this[_0x54ffd1(0x1b9)][_0x54ffd1(0x15b)],_0x27aa96);};}[_0x1162c0(0x172)](){const _0x3e6f88=_0x1162c0;this[_0x3e6f88(0x1b9)][_0x3e6f88(0x15b)]['on'](_0x3e6f88(0x1f0),(_0x958147,[_0x3507de])=>{const _0x24849e=_0x3e6f88;if(this[_0x24849e(0x17b)][_0x24849e(0x155)])throw new _0xdb1491(_0x24849e(0x1cf),this);_0x958147[_0x24849e(0x1b0)](),this[_0x24849e(0x173)]();const _0x544267=this[_0x24849e(0x1b9)][_0x24849e(0x13f)][_0x24849e(0x175)](_0x24849e(0x23a)),_0x40c915=this[_0x24849e(0x230)](_0x3507de,_0x544267);0x0==_0x40c915[_0x24849e(0x22a)]&&_0x40c915[_0x24849e(0x141)](new _0x3dd7c2(0x0)),_0x958147[_0x24849e(0x159)]=this[_0x24849e(0x1d2)](_0x40c915)[_0x24849e(0x229)](()=>{const _0x3677e0=_0x24849e;this[_0x3677e0(0x1b9)][_0x3677e0(0x1dd)][_0x3677e0(0x175)](_0x5a69d0)[_0x3677e0(0x198)](this),this[_0x3677e0(0x1b9)][_0x3677e0(0x15b)][_0x3677e0(0x1c0)](_0x3677e0(0x1d4));})[_0x24849e(0x140)](_0x3f8169=>this[_0x24849e(0x153)](_0x24849e(0x19b),_0x3f8169))[_0x24849e(0x183)](()=>this[_0x24849e(0x1b6)]());},{'priority':_0x3e6f88(0x16a)}),this[_0x3e6f88(0x1b9)]['on'](_0x3e6f88(0x1c5),async(_0x27393f,[_0x4d8177,_0x15d198])=>{const _0x1436a5=_0x3e6f88;_0x27393f[_0x1436a5(0x1b0)]();const _0x14dd4b=this[_0x1436a5(0x1b9)][_0x1436a5(0x21c)][_0x1436a5(0x160)][_0x1436a5(0x19f)](_0x4d8177);if(!this[_0x1436a5(0x1cb)][_0x1436a5(0x1d0)](_0x4d8177)){const _0xab92b5=_0x15d198&&_0x15d198[_0x1436a5(0x15b)]?_0x15d198[_0x1436a5(0x15b)]:'',_0x1ab5d6=_0x15d198&&_0x15d198[_0x1436a5(0x1fb)]?_0x15d198[_0x1436a5(0x1fb)]:{};await this[_0x1436a5(0x168)](_0x4d8177,_0xab92b5,_0x1ab5d6);}this[_0x1436a5(0x1b9)][_0x1436a5(0x21c)][_0x1436a5(0x1a5)]({'isUndoable':!0x1},()=>{const _0x4dbd3b=_0x1436a5;_0x14dd4b[_0x4dbd3b(0x227)]=!0x0,this[_0x4dbd3b(0x1b9)][_0x4dbd3b(0x21c)][_0x4dbd3b(0x160)][_0x4dbd3b(0x1e8)][_0x4dbd3b(0x174)](_0x14dd4b);});},{'priority':_0x3e6f88(0x16a)});}async[_0x1162c0(0x217)](_0x39918c){const _0x538c32=_0x1162c0,_0x1e429e=this[_0x538c32(0x1b9)][_0x538c32(0x1dd)][_0x538c32(0x175)](_0x255e6f),{connection:_0x29e9ba}=this[_0x538c32(0x1b9)][_0x538c32(0x1dd)][_0x538c32(0x175)](_0x5a69d0),_0x14c737=new Set();for(const _0x454ba8 of _0x39918c){const _0x263018=_0x454ba8[_0x538c32(0x18c)];_0x263018&&!_0x1e429e[_0x538c32(0x228)](_0x263018)&&_0x14c737[_0x538c32(0x186)](_0x263018);}if(0x0===_0x14c737[_0x538c32(0x1f9)])return;const _0x1f7209=await _0xa6696c[_0x538c32(0x1d6)](_0x29e9ba,Array[_0x538c32(0x16e)](_0x14c737));for(const _0x51cca4 of _0x1f7209)_0x1e429e[_0x538c32(0x228)](_0x51cca4['id'])||_0x1e429e[_0x538c32(0x1ee)](_0x51cca4);}[_0x1162c0(0x230)](_0x1669dc,_0x54f1dc={}){const _0x38db4f=_0x1162c0,_0x2ecd17=this[_0x38db4f(0x1b9)][_0x38db4f(0x21c)],_0x442f90=[];let _0x19f089=0x0;const _0x2624e5=_0x38db4f(0x22b)==typeof _0x1669dc?{'main':_0x1669dc}:_0x1669dc;for(const _0x7ac87d of Object[_0x38db4f(0x1b5)](_0x2624e5)){if(!this[_0x38db4f(0x17b)][_0x38db4f(0x146)][_0x38db4f(0x1d0)](_0x7ac87d))throw new _0xdb1491(_0x38db4f(0x165),this);const _0x389db8=this[_0x38db4f(0x1b9)][_0x38db4f(0x15b)][_0x38db4f(0x210)](_0x2624e5[_0x7ac87d]),_0x5e3e9b=this[_0x38db4f(0x17b)][_0x38db4f(0x19f)](_0x7ac87d),_0x8b4ceb=new _0x14e9c3(_0x2ecd17[_0x38db4f(0x20a)](_0x5e3e9b,0x0),_0x389db8,_0x19f089++);_0x442f90[_0x38db4f(0x141)](_0x8b4ceb);for(const [_0x47aa40,_0x276552]of _0x389db8[_0x38db4f(0x171)]){const _0x20fb19=_0x2ecd17[_0x38db4f(0x232)](_0x2ecd17[_0x38db4f(0x1e7)](_0x5e3e9b,_0x276552[_0x38db4f(0x1c7)][_0x38db4f(0x1c9)][_0x38db4f(0x20f)]()),_0x2ecd17[_0x38db4f(0x1e7)](_0x5e3e9b,_0x276552[_0x38db4f(0x1d5)][_0x38db4f(0x1c9)][_0x38db4f(0x20f)]())),_0x307a4d=new _0x22ad7d(_0x47aa40,null,_0x20fb19,_0x2ecd17[_0x38db4f(0x171)],!0x0,_0x19f089++);_0x442f90[_0x38db4f(0x141)](_0x307a4d);}}if(_0x54f1dc)for(const [_0x919b59,_0x236226]of Object[_0x38db4f(0x22f)](_0x54f1dc)){const _0xb4b5a7=_0x2ecd17[_0x38db4f(0x160)][_0x38db4f(0x19f)](_0x919b59);if(!_0xb4b5a7)throw new _0xdb1491(_0x38db4f(0x1be),null);for(const [_0x10570d,_0x28a1ed]of Object[_0x38db4f(0x22f)](_0x236226))if(null!==_0x28a1ed){const _0x5ed41a=new _0x45dcc8(_0xb4b5a7,_0x10570d,null,_0x28a1ed,_0x19f089++);_0x442f90[_0x38db4f(0x141)](_0x5ed41a);}}return _0x442f90;}async[_0x1162c0(0x168)](_0x487b8f,_0x34e24f,_0x6c0013){const _0x1e7e1a=_0x1162c0;this[_0x1e7e1a(0x230)]({[_0x487b8f]:_0x34e24f},{[_0x487b8f]:_0x6c0013})[_0x1e7e1a(0x17c)]((_0x8556d3,_0x1f467f)=>{const _0x5237f3=_0x1e7e1a;_0x8556d3[_0x5237f3(0x1f6)]=this[_0x5237f3(0x17b)][_0x5237f3(0x155)]+_0x1f467f,_0x8556d3[_0x5237f3(0x185)]=!0x0,this[_0x5237f3(0x233)](_0x8556d3);}),this[_0x1e7e1a(0x193)](),await this[_0x1e7e1a(0x1b1)]();}async[_0x1162c0(0x1a0)](_0x3eb6ac,_0x194e90){const _0x5bb79d=_0x1162c0;let _0x10da90;this[_0x5bb79d(0x1c1)]=_0x3eb6ac[_0x5bb79d(0x17e)];const _0xbe5fdb=_0x3eb6ac[_0x5bb79d(0x1e1)]&&!_0x3eb6ac[_0x5bb79d(0x1c8)],_0x2ca9c1=_0xbe5fdb?0x0:_0x3eb6ac[_0x5bb79d(0x15b)][_0x5bb79d(0x1f6)];if(_0x194e90[_0x5bb79d(0x17c)](_0x19ed03=>{const _0xea9c5e=_0x5bb79d;_0x19ed03[_0xea9c5e(0x185)]=!0x0,_0x19ed03[_0xea9c5e(0x151)]=_0x3eb6ac[_0xea9c5e(0x21d)],_0x19ed03[_0xea9c5e(0x18c)]=null;}),_0xbe5fdb)_0x10da90=_0x194e90,this[_0x5bb79d(0x13e)](_0x10da90,_0xbe5fdb);else{if(_0x3eb6ac[_0x5bb79d(0x1c8)]){const _0x5942bf=this[_0x5bb79d(0x230)](_0x3eb6ac[_0x5bb79d(0x1c8)]);this[_0x5bb79d(0x17b)][_0x5bb79d(0x184)][_0x5bb79d(0x155)]=-_0x5942bf[_0x5bb79d(0x22a)],_0x5942bf[_0x5bb79d(0x17c)](_0x403f8c=>{const _0x40c03c=_0x5bb79d;_0x403f8c[_0x40c03c(0x1f6)]-=_0x5942bf[_0x40c03c(0x22a)],_0x403f8c[_0x40c03c(0x151)]=_0x3eb6ac[_0x40c03c(0x21d)],_0x403f8c[_0x40c03c(0x185)]=!0x0,_0x403f8c[_0x40c03c(0x18c)]=null;}),this[_0x5bb79d(0x13e)](_0x5942bf,!0x0),this[_0x5bb79d(0x1b4)][_0x5bb79d(0x155)]=-_0x5942bf[_0x5bb79d(0x22a)]+this[_0x5bb79d(0x1c1)],this[_0x5bb79d(0x167)](_0x5942bf);}this[_0x5bb79d(0x17b)][_0x5bb79d(0x184)][_0x5bb79d(0x155)]=_0x2ca9c1,_0x10da90=this[_0x5bb79d(0x1ca)](_0x3eb6ac[_0x5bb79d(0x15b)],_0x3eb6ac[_0x5bb79d(0x15c)]),await this[_0x5bb79d(0x217)](_0x10da90),this[_0x5bb79d(0x13e)](_0x10da90,_0xbe5fdb);}_0x3eb6ac[_0x5bb79d(0x200)]&&(this[_0x5bb79d(0x1a4)][_0x5bb79d(0x147)](_0x10da90,_0x3eb6ac[_0x5bb79d(0x200)]),this[_0x5bb79d(0x169)]=_0x3eb6ac[_0x5bb79d(0x200)]),this[_0x5bb79d(0x1b4)][_0x5bb79d(0x155)]=_0x2ca9c1+this[_0x5bb79d(0x1c1)],this[_0x5bb79d(0x167)](_0x10da90),_0x194e90[_0x5bb79d(0x16b)](_0x5d76f5=>{const _0x25cc18=_0x5bb79d,_0x268239=this[_0x25cc18(0x17f)](_0x5d76f5);return _0x268239&&!this[_0x25cc18(0x1cb)][_0x25cc18(0x1d0)](_0x268239);})[_0x5bb79d(0x17c)]((_0xe2ffe8,_0x18241a)=>{const _0x3d6bea=_0x5bb79d;_0xe2ffe8[_0x3d6bea(0x1f6)]=this[_0x3d6bea(0x17b)][_0x3d6bea(0x155)]+_0x18241a,this[_0x3d6bea(0x233)](_0xe2ffe8);}),this[_0x5bb79d(0x1f2)]()?(this[_0x5bb79d(0x16c)]=0x0,this[_0x5bb79d(0x193)](!0x0),await this[_0x5bb79d(0x1b1)]()):(this[_0x5bb79d(0x220)]=!0x1,this[_0x5bb79d(0x1b6)]());}[_0x1162c0(0x153)](_0x41e116,_0x372b2e){const _0x5bc810=_0x1162c0,_0x56425a=_0x372b2e&&_0x372b2e[_0x5bc810(0x1f1)];if(_0x56425a&&_0x56425a[_0x5bc810(0x16d)](_0x5bc810(0x219)))throw _0x372b2e;const _0x4038fb=this[_0x5bc810(0x1b9)][_0x5bc810(0x1dd)][_0x5bc810(0x175)](_0x5a69d0);throw this[_0x5bc810(0x220)]=!0x0,_0x4038fb[_0x5bc810(0x19d)](),this[_0x5bc810(0x1b9)][_0x5bc810(0x1a9)](_0x5bc810(0x14d)),new _0xdb1491(_0x41e116,this[_0x5bc810(0x1b9)],_0x56425a?{'originalError':_0x56425a}:void 0x0);}[_0x1162c0(0x233)](_0x545f18){const _0x40a2b9=_0x1162c0;this[_0x40a2b9(0x239)][_0x40a2b9(0x1d0)](_0x545f18)||(this[_0x40a2b9(0x239)][_0x40a2b9(0x186)](_0x545f18),this[_0x40a2b9(0x23d)][_0x40a2b9(0x141)](_0x545f18),this[_0x40a2b9(0x226)]||_0x40a2b9(0x21f)==_0x545f18[_0x40a2b9(0x196)]&&!_0x545f18[_0x40a2b9(0x214)]||this[_0x40a2b9(0x173)]());}[_0x1162c0(0x193)](_0x256183=!0x1){const _0x4f3d11=_0x1162c0;!_0x256183&&this[_0x4f3d11(0x220)]||(this[_0x4f3d11(0x220)]=!0x0,clearTimeout(this[_0x4f3d11(0x145)]),this[_0x4f3d11(0x145)]=setTimeout(()=>{const _0x2f1704=_0x4f3d11;this[_0x2f1704(0x152)]()[_0x2f1704(0x229)](_0x3314de=>{const _0x10a73c=_0x2f1704;_0x3314de&&(this[_0x10a73c(0x1b6)](),this[_0x10a73c(0x220)]=!0x1);})[_0x2f1704(0x140)](_0x11fc61=>{const _0x9d07ab=_0x2f1704;this[_0x9d07ab(0x1b6)](),this[_0x9d07ab(0x220)]=!0x1,function(_0x13d54f){const _0x3fb433=_0x9d07ab;return _0x13d54f[_0x3fb433(0x1f1)][_0x3fb433(0x16d)](_0x3fb433(0x15a))||_0x13d54f[_0x3fb433(0x1f1)][_0x3fb433(0x16d)](_0x3fb433(0x197))||_0x13d54f[_0x3fb433(0x1f1)][_0x3fb433(0x16d)](_0x3fb433(0x19a));}(_0x11fc61)||this[_0x9d07ab(0x153)](_0x11fc61[_0x9d07ab(0x1f1)],_0x11fc61);});},this[_0x4f3d11(0x16c)]));}[_0x1162c0(0x1b1)](){return new Promise(_0x18cbf1=>{const _0x1f8abb=_0x417b;this['on'](_0x1f8abb(0x188),()=>{_0x18cbf1();});});}async[_0x1162c0(0x152)](){const _0x3f2c70=_0x1162c0,_0x279cb6=this[_0x3f2c70(0x1b9)][_0x3f2c70(0x1dd)][_0x3f2c70(0x175)](_0x50d726);if(this[_0x3f2c70(0x1ac)]()&&(_0x279cb6[_0x3f2c70(0x15e)](),this[_0x3f2c70(0x17d)]=!0x1),!this[_0x3f2c70(0x1f2)]())return!0x0;const _0x22728e=[...this[_0x3f2c70(0x23d)]];for(const _0x4d1d6d of _0x22728e)_0x4d1d6d[_0x3f2c70(0x203)]=this[_0x3f2c70(0x17b)][_0x3f2c70(0x184)][_0x3f2c70(0x1c6)](_0x4d1d6d);const _0x42513c=this[_0x3f2c70(0x1a4)][_0x3f2c70(0x18b)](_0x22728e),_0x16ade9=K++,_0x244a98=this[_0x3f2c70(0x199)](_0x22728e),_0x27d29c=await this[_0x3f2c70(0x157)][_0x3f2c70(0x20b)](_0x244a98,_0x244a98[_0x3f2c70(0x1f6)],_0x42513c);try{return await this[_0x3f2c70(0x1d9)](_0x22728e,_0x27d29c,_0x16ade9);}catch(_0x33f011){return this[_0x3f2c70(0x153)](_0x3f2c70(0x20d),_0x33f011);}}async[_0x1162c0(0x1d9)](_0x19a66a,_0x2ba365,_0x14197d){const _0x429e0b=_0x1162c0;if(_0x429e0b(0x1ae)in _0x2ba365)throw _0x2ba365[_0x429e0b(0x1ae)];let _0x5c6972=!0x1;if(_0x2ba365[_0x429e0b(0x1e1)]){_0x2ba365[_0x429e0b(0x200)]&&(this[_0x429e0b(0x169)]=_0x2ba365[_0x429e0b(0x200)]),this[_0x429e0b(0x23d)]=this[_0x429e0b(0x23d)][_0x429e0b(0x16b)](_0xa7cde1=>!_0x19a66a[_0x429e0b(0x156)](_0xa7cde1));for(const _0x22c8e2 of _0x19a66a)_0x22c8e2[_0x429e0b(0x151)]=_0x429e0b(0x1a1)in _0x2ba365&&_0x2ba365[_0x429e0b(0x1a1)]||void 0x0;Q(_0x19a66a,_0x2ba365[_0x429e0b(0x155)]-_0x19a66a[_0x429e0b(0x22a)]),this[_0x429e0b(0x167)](_0x19a66a);const _0x2ba435=_0x19a66a[_0x429e0b(0x16b)](_0x403b54=>{const _0x3a9b84=_0x429e0b;if(!_0x403b54[_0x3a9b84(0x185)])return!0x1;const _0x4ff7ab=this[_0x3a9b84(0x17f)](_0x403b54);return _0x4ff7ab&&!this[_0x3a9b84(0x1cb)][_0x3a9b84(0x1d0)](_0x4ff7ab);});Q(_0x2ba435,this[_0x429e0b(0x17b)][_0x429e0b(0x155)]),this[_0x429e0b(0x13e)](_0x2ba435),_0x5c6972=!0x0,this[_0x429e0b(0x16c)]=this[_0x429e0b(0x21e)];}else{const _0x5a0859=this[_0x429e0b(0x1ca)](_0x2ba365[_0x429e0b(0x15b)],_0x2ba365[_0x429e0b(0x15c)])[_0x429e0b(0x16b)](_0x40ba7e=>_0x40ba7e[_0x429e0b(0x1f6)]>=this[_0x429e0b(0x234)]);_0x5a0859[_0x429e0b(0x17c)](_0x10b215=>this[_0x429e0b(0x1a6)](_0x10b215)),this[_0x429e0b(0x23d)]=this[_0x429e0b(0x23d)][_0x429e0b(0x16b)](_0x4159b8=>!_0x4159b8[_0x429e0b(0x185)]||!this[_0x429e0b(0x1cb)][_0x429e0b(0x1d0)](this[_0x429e0b(0x17f)](_0x4159b8))),this[_0x429e0b(0x23d)][_0x429e0b(0x22a)]&&Q(this[_0x429e0b(0x23d)],this[_0x429e0b(0x23d)][0x0][_0x429e0b(0x1f6)]),await this[_0x429e0b(0x217)](_0x5a0859),_0x5c6972=this[_0x429e0b(0x15f)](_0x5a0859,_0x2ba365[_0x429e0b(0x155)],_0x2ba365[_0x429e0b(0x200)]),this[_0x429e0b(0x16c)]=Math[_0x429e0b(0x209)](this[_0x429e0b(0x16c)]/0x2);}return _0x5c6972?!this[_0x429e0b(0x1f2)]()||(this[_0x429e0b(0x193)](!0x0),!0x1):this[_0x429e0b(0x153)](_0x429e0b(0x182));}[_0x1162c0(0x15f)](_0x4e28ab,_0x33672c,_0x599fa5){const _0x116990=_0x1162c0;try{const _0x52c659={'document':this[_0x116990(0x17b)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x57b31b,operationsB:_0x5bf9b8,originalOperations:_0x408fea}=_0x41e9b1(_0x4e28ab,this[_0x116990(0x23d)],_0x52c659);Q(_0x57b31b,this[_0x116990(0x17b)][_0x116990(0x155)]),Q(_0x5bf9b8,_0x33672c);for(const _0x36d71a of _0x57b31b){const _0x458430=_0x408fea[_0x116990(0x175)](_0x36d71a);_0x36d71a[_0x116990(0x18c)]=_0x458430?_0x458430[_0x116990(0x18c)]:null;}_0x599fa5&&(this[_0x116990(0x1a4)][_0x116990(0x147)](_0x4e28ab,_0x599fa5),this[_0x116990(0x169)]=_0x599fa5),this[_0x116990(0x23d)]=[..._0x5bf9b8],this[_0x116990(0x13e)](_0x57b31b),this[_0x116990(0x167)](_0x4e28ab);}catch(_0x156e07){return console[_0x116990(0x1ae)](_0x156e07),!0x1;}return!0x0;}[_0x1162c0(0x13e)](_0x44adfd,_0xeffaa6=!0x1){const _0x17cefc=_0x1162c0;this[_0x17cefc(0x1b9)][_0x17cefc(0x21c)][_0x17cefc(0x1a5)]({'isUndoable':!0x1,'isLocal':!0x1},_0x688b47=>{const _0xdd77f5=_0x17cefc;for(const _0x749e24 of _0x44adfd)this[_0xdd77f5(0x239)][_0xdd77f5(0x186)](_0x749e24),this[_0xdd77f5(0x1a6)](_0x749e24),_0x688b47[_0xdd77f5(0x1b8)][_0xdd77f5(0x1e2)](_0x749e24),this[_0xdd77f5(0x1b9)][_0xdd77f5(0x21c)][_0xdd77f5(0x1ef)](_0x749e24);});}[_0x1162c0(0x1a6)](_0x304a1c){const _0x4d9a1f=_0x1162c0,_0x35404d=this[_0x4d9a1f(0x17f)](_0x304a1c);_0x35404d&&this[_0x4d9a1f(0x1cb)][_0x4d9a1f(0x186)](_0x35404d);}[_0x1162c0(0x17f)](_0x5e5870){const _0x23c579=_0x1162c0;let _0x23ce52,_0x266829;switch(_0x5e5870[_0x23c579(0x196)]){case _0x23c579(0x1ce):_0x23ce52=_0x5e5870[_0x23c579(0x20c)][_0x23c579(0x1ea)];break;case _0x23c579(0x21f):if(_0x266829=_0x5e5870[_0x23c579(0x1e0)],!_0x266829)return null;_0x23ce52=_0x266829[_0x23c579(0x1ea)];break;case _0x23c579(0x14c):_0x23ce52=_0x5e5870[_0x23c579(0x1ea)];break;case _0x23c579(0x1ff):_0x23ce52=_0x5e5870[_0x23c579(0x1bb)];break;case _0x23c579(0x192):_0x23ce52=_0x5e5870[_0x23c579(0x1df)][_0x23c579(0x1ea)];break;default:return null;}return _0x23ce52[_0x23c579(0x1e4)];}[_0x1162c0(0x167)](_0x33322b){const _0x3a9aeb=_0x1162c0;_0x33322b[_0x3a9aeb(0x17c)](_0xc7da00=>{const _0xa24102=_0x3a9aeb,_0x5b2ce9=_0xc7da00[_0xa24102(0x1a2)]();_0x5b2ce9[_0xa24102(0x18c)]=_0xc7da00[_0xa24102(0x18c)],_0x5b2ce9[_0xa24102(0x185)]=!!_0xc7da00[_0xa24102(0x185)],_0x5b2ce9[_0xa24102(0x151)]=_0xc7da00[_0xa24102(0x151)],_0x5b2ce9[_0xa24102(0x1f6)]+=this[_0xa24102(0x1c1)],_0xc7da00[_0xa24102(0x194)]&&this[_0xa24102(0x1a7)][_0xa24102(0x186)](_0x5b2ce9),this[_0xa24102(0x1b4)][_0xa24102(0x1e2)](_0x5b2ce9);});}[_0x1162c0(0x1fd)](_0x1973a2){const _0x4a335d=_0x1162c0,_0x42521a=this[_0x4a335d(0x1b9)][_0x4a335d(0x1dd)][_0x4a335d(0x175)](_0x4a335d(0x1d3)),_0x1ce585=this[_0x4a335d(0x1b9)][_0x4a335d(0x1f8)];_0x1973a2||(_0x1973a2=_0x2e6343(_0x1ce585,_0x4a335d(0x158))),_0x42521a[_0x4a335d(0x202)](_0x1973a2,{'title':_0x2e6343(_0x1ce585,_0x4a335d(0x1d7)),'namespace':_0x4a335d(0x211)}),this[_0x4a335d(0x206)]=!0x0,clearTimeout(this[_0x4a335d(0x145)]),this[_0x4a335d(0x23d)]=[],this[_0x4a335d(0x1b9)][_0x4a335d(0x1dd)][_0x4a335d(0x175)](_0x5a69d0)[_0x4a335d(0x19d)]();}[_0x1162c0(0x173)](){const _0x3704e6=_0x1162c0;this[_0x3704e6(0x226)]||(this[_0x3704e6(0x226)]=this[_0x3704e6(0x1b9)][_0x3704e6(0x1dd)][_0x3704e6(0x175)](_0xa965ac)[_0x3704e6(0x186)](_0x2e6343(this[_0x3704e6(0x1b9)][_0x3704e6(0x1f8)],_0x3704e6(0x208))));}[_0x1162c0(0x1b6)](){const _0x73962b=_0x1162c0;this[_0x73962b(0x226)]&&(this[_0x73962b(0x1b9)][_0x73962b(0x1dd)][_0x73962b(0x175)](_0xa965ac)[_0x73962b(0x162)](this[_0x73962b(0x226)]),this[_0x73962b(0x226)]=null);}[_0x1162c0(0x199)](_0x2605de){const _0x3f8ad1=_0x1162c0,_0x9edd2b=_0x2605de[_0x3f8ad1(0x17a)](_0x2a6858=>_0x2a6858[_0x3f8ad1(0x221)]());return this[_0x3f8ad1(0x225)][_0x3f8ad1(0x1cd)](_0x9edd2b);}[_0x1162c0(0x1ca)](_0x3a389c,_0x4e334b){const _0x303347=_0x1162c0;return this[_0x303347(0x225)][_0x303347(0x14a)](_0x3a389c)[_0x303347(0x17a)]((_0x359406,_0x24fcf4)=>{const _0x443560=_0x303347,_0x3cc12b=_0x443560(0x1f0)==_0x4e334b[_0x24fcf4][_0x443560(0x196)];if(_0x443560(0x1f5)==_0x359406[_0x443560(0x142)]){const _0xbe754b=_0x359406[_0x443560(0x20c)][_0x443560(0x1ea)];!this[_0x443560(0x17b)][_0x443560(0x19f)](_0xbe754b)&&(this[_0x443560(0x17b)][_0x443560(0x1e9)](_0x443560(0x176),_0xbe754b)[_0x443560(0x1de)]=!0x1);}const _0x3dfdb6=_0x4e7032[_0x443560(0x1fc)](_0x359406,this[_0x443560(0x17b)]);return _0x3dfdb6[_0x443560(0x203)]=_0x359406[_0x443560(0x203)],_0x3dfdb6[_0x443560(0x185)]=_0x3cc12b,_0x3dfdb6[_0x443560(0x18c)]=_0x3cc12b?null:_0x4e334b[_0x24fcf4][_0x443560(0x1a3)],_0x3dfdb6[_0x443560(0x194)]=_0x443560(0x1ba)===_0x4e334b[_0x24fcf4][_0x443560(0x196)],_0x3dfdb6[_0x443560(0x151)]=_0x4e334b[_0x24fcf4][_0x443560(0x151)],_0x3dfdb6;});}[_0x1162c0(0x1d1)](){const _0x28fa8c=_0x1162c0;this[_0x28fa8c(0x17d)]=!0x0,this[_0x28fa8c(0x1ac)]()?this[_0x28fa8c(0x193)]():this[_0x28fa8c(0x17d)]=!0x1;}[_0x1162c0(0x1ac)](){const _0xc5dc90=_0x1162c0,_0x29fa03=this[_0xc5dc90(0x1b9)][_0xc5dc90(0x1dd)][_0xc5dc90(0x175)](_0x230e93)[_0xc5dc90(0x1b7)][_0xc5dc90(0x175)](this[_0xc5dc90(0x1f4)]);return!this[_0xc5dc90(0x1b9)][_0xc5dc90(0x191)]&&!!_0x29fa03&&_0x29fa03[_0xc5dc90(0x22a)]>0x1&&this[_0xc5dc90(0x17d)];}[_0x1162c0(0x1f2)](){const _0x14f445=_0x1162c0;return this[_0x14f445(0x23d)][_0x14f445(0x22a)]>0x0||this[_0x14f445(0x1ac)]();}}l[_0x1162c0(0x154)]=_0x516f9d;export default l;class J extends Error{}function Q(_0x1ee364,_0x3dc26c){const _0x13506b=_0x1162c0;for(const _0x1428cf of _0x1ee364)_0x1428cf[_0x13506b(0x1f6)]=_0x3dc26c++;}class X{constructor(_0x24f3d7){const _0x550742=_0x1162c0;this[_0x550742(0x1ec)]=_0x24f3d7,this[_0x550742(0x181)]=new WeakMap();}[_0x1162c0(0x18b)](_0xf50848){const _0x2f5b71=_0x1162c0;let _0x366aea=_0xf50848[_0x2f5b71(0x22a)];for(;_0x366aea--;){const _0x2a4672=_0xf50848[_0x366aea];if(!this[_0x2f5b71(0x1ec)][_0x2f5b71(0x1d0)](_0x2a4672)){if(!this[_0x2f5b71(0x181)][_0x2f5b71(0x1d0)](_0x2a4672)){const _0x550a1e=_0x8d031e()[_0x2f5b71(0x20f)](0x1,0x12);this[_0x2f5b71(0x181)][_0x2f5b71(0x1bc)](_0x2a4672,_0x550a1e);}return this[_0x2f5b71(0x181)][_0x2f5b71(0x175)](_0x2a4672);}}}[_0x1162c0(0x147)](_0x441d44,_0x3a7de3){const _0x49b9d6=_0x1162c0;if(!_0x3a7de3)return;let _0x4a355f=_0x441d44[_0x49b9d6(0x22a)];for(;_0x4a355f--;){const _0x475caf=_0x441d44[_0x4a355f];this[_0x49b9d6(0x1ec)][_0x49b9d6(0x1d0)](_0x475caf)||this[_0x49b9d6(0x181)][_0x49b9d6(0x1bc)](_0x475caf,_0x3a7de3);}}}
|
|
23
|
+
const _0x5cd73b=_0x4311;(function(_0x5bfd36,_0x44846c){const _0x4ec2ac=_0x4311,_0x354c0d=_0x5bfd36();while(!![]){try{const _0x2cf99f=-parseInt(_0x4ec2ac(0x1de))/0x1+-parseInt(_0x4ec2ac(0x194))/0x2+parseInt(_0x4ec2ac(0x24e))/0x3+-parseInt(_0x4ec2ac(0x253))/0x4+parseInt(_0x4ec2ac(0x272))/0x5*(parseInt(_0x4ec2ac(0x244))/0x6)+parseInt(_0x4ec2ac(0x1d9))/0x7*(-parseInt(_0x4ec2ac(0x205))/0x8)+parseInt(_0x4ec2ac(0x250))/0x9;if(_0x2cf99f===_0x44846c)break;else _0x354c0d['push'](_0x354c0d['shift']());}catch(_0x3165cc){_0x354c0d['push'](_0x354c0d['shift']());}}}(_0x207a,0xbd1c1));import{Plugin as _0x4229a1,PendingActions as _0x44cbb6}from'ckeditor5/src/core.js';import{CKEditorError as _0x3e9944,version as _0xc45eee,uid as _0x3d74f7}from'ckeditor5/src/utils.js';import{Notification as _0x36f22e}from'ckeditor5/src/ui.js';import{transformSets as _0x28e587,NoOperation as _0x3aa3c7,InsertOperation as _0x56013b,MarkerOperation as _0x1d0074,RootAttributeOperation as _0xd7b21,OperationFactory as _0x1cfbed,History as _0x557537}from'ckeditor5/src/engine.js';import _0x336b59 from'./websocketgateway.js';import _0x3ce857 from'./sessions.js';import _0x2b867e from'./usermarkers.js';import{getTranslation as _0x3b586f}from'../common-translations.js';function _0x4311(_0x190c66,_0x39a0f2){const _0x207a28=_0x207a();return _0x4311=function(_0x4311aa,_0x503a09){_0x4311aa=_0x4311aa-0x180;let _0x50a603=_0x207a28[_0x4311aa];return _0x50a603;},_0x4311(_0x190c66,_0x39a0f2);}import{Compressor as _0x414c9b}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x48651d}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x207a(){const _0x2bed9f=['Synchronization\x20issue','_ignoredOperations','addRootAttribute','_baseBufferDelay','getOperationAuthor','_lastSyncedOperationId','currentDocumentSession','realtimecollaborationclient-handleserverresponse','_saveOperationInBuffer','lastOperationAcceptedAt','_isLoaded','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','removeFromReconnectionStack','_addKnownRoot','_initThrowingOnDataSet','batch','collaboration','_handleExternalOperations','entries','cloud-services-internal-error:\x20Not\x20connected.','decompress','sessionId','_isPendingUpdate','realtimecollaborationclient-error','affectedSelectable','document','connection','insert','serverHistory','createPositionAt','setIdForTheLastOperation','CommentsOnly','_knownOperations','4506714NkMHpy','model','get','rtc-offline','reconnection:\x20flushed\x20session','document:write','createRange','add','targetPosition','_bufferedOperations','2590143utGlfq','Notification','25376526YgCBfP','locale','view','2308728wlzLiF','_initSessionsHandling','clone','showWarning','createRoot','data','_channelId','mySessionId','suppressErrorInCollaboration','realtimecollaborationclient-init-connection-failed','createUserMarkerOperations','isUndoneOperation','isDocumentOperation','config','_compressor','push','realtimecollaborationclient-init-service-incorrect-server-operation','_connectAfterSessionHasBeenFlushed','roots','_getOperationsFromInitData','listenTo','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.','_handleReconnectionResponse','keys','connected','realtimecollaborationclient-init-service-internal-error','init','_handleSendingSelectionMarkers','collaboration.channelId','rootName','register','5wpQLyj','multi-root-editor-root-attributes-no-root','isOfficialPlugin','path','real-time-collaboration','sendOperations','finally','_currentBufferDelay','realtimecollaborationclient-init-document-already-initialized','getOperations','addOperation','permissions','stopListening','directChange','_isDisconnection','_sendBufferedOperationsDelayed','includes','_sendBufferedOperationsDelayId','version','enqueueChange','_disconnectionOperations','parse','state','_decompressOperations','_waitUntilSynced','affectsData','wereChangesApplied','disableReadOnlyMode','sessionAdd:','editing','editor','_bufferRootLoad','offset','error','length','_pendingAction','root','applyOperation','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','2621598PwiClH','getIdOfTheLastOperation','newRange','_isEditingAllowed','apply','fromJSON','reset','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.','_handleServerResponse','_knownRootNames','sessionCreatedAt','destroy','isReadOnly','high','setPermissions','_updateServerHistory','_shouldSendUpdate','409','_compressOperations','slice','markers','startsWith','filter','bind','then','PENDING_ACTION_SENDING_DATA','map','connect','set','_hasSelectionChanged','fire','_isAttached','_getAffectedRoot','has','reconnect','marker','toJSON','getConnectedSessions','requires','realtimecollaborationclient-init-non-existent-root','isPremiumPlugin','return','_clearPendingAction','change:_isEditingAllowed','addRoot','attributes','cloudServices.bundleVersion','cloudDocumentVersion','_document','position','InsertOperation','baseVersion','off','loadRoot','getMany','_setPendingAction','disconnected','_handleInitialConnectionData','cloud-services-internal-error:\x20Request\x20timeout.','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','disconnect','lastDocumentSession','enableReadOnlyMode','getUser','start','realtimecollaborationclient-init-session-connection-error','change:hasDomSelection','change:range','getRoot','8351VxjBqM','_refreshUserSelectionMarkers','cs:removeUser','initData','lastOperationId','925703NHDUjM','code','lastSyncVersion','createPositionFromPath','_sendBufferedOperations','_handleReceivedOperations','change:_isPendingUpdate','catch','_disconnectService','ready','_crash','CollaborativeEditingService','_operationIdentifier','_fetchMissingUsers','history','collaboration-missing-channelid','createdAt','addToReconnectionStack','_setUpDataInit','forEach','move','from','userId','string','_authorId','_hasSynchronizationProblem','operationsReceived','type','size','_handleReconnectionError','_lastServerVersion','addUser','_isConnected','realtimecollaborationclient','isEnabled','__className','RealTimeCollaborationClient','stop','selection','5672ugLvgU','differ','_offset','_service','getDocumentDetails','plugins','end','channelSessions','realtimecollaborationclient-sendbufferedoperations','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_shouldSendSelectionUpdate','404','rootsAttributes','_loadRoot','round','define','unregister','remove','compress','metadata','wasUndone','_isInit','_operationToId','_connectService','$root','_applyOperationsSet','message','Permissions','rtc-destroyed','pluginName'];_0x207a=function(){return _0x2bed9f;};return _0x207a();}import{User as _0x3ebf8e,CollaborativeEditingService as _0x2be7a4}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x4229a1{static get[_0x5cd73b(0x1ba)](){return[_0x336b59,_0x3ce857,_0x2b867e,_0x44cbb6,_0x48651d,_0x36f22e];}static get[_0x5cd73b(0x222)](){const _0x1266a7=_0x5cd73b;return _0x1266a7(0x202);}static get[_0x5cd73b(0x274)](){return!0x0;}static get[_0x5cd73b(0x1bc)](){return!0x0;}get[_0x5cd73b(0x1c3)](){const _0x489114=_0x5cd73b;return this[_0x489114(0x1fc)]+this[_0x489114(0x207)];}get[_0x5cd73b(0x1fc)](){const _0x275357=_0x5cd73b;return this[_0x275357(0x23f)][_0x275357(0x284)]-this[_0x275357(0x207)];}get[_0x5cd73b(0x1e0)](){const _0x46faf8=_0x5cd73b,_0x252f4a=this[_0x46faf8(0x23f)][_0x46faf8(0x27b)]();for(let _0x5c63ed=_0x252f4a[_0x46faf8(0x18f)]-0x1;_0x5c63ed>=0x0;_0x5c63ed--){const _0x2ae626=_0x252f4a[_0x5c63ed];if(!this[_0x46faf8(0x181)][_0x46faf8(0x1b5)](_0x2ae626))return _0x2ae626[_0x46faf8(0x1c7)]+0x1-this[_0x46faf8(0x207)];}return 0x0;}constructor(_0x130674){const _0x2255cf=_0x5cd73b;if(super(_0x130674),this[_0x2255cf(0x207)]=0x0,this[_0x2255cf(0x238)]=null,this[_0x2255cf(0x23f)]=new _0x557537(),this[_0x2255cf(0x18b)][_0x2255cf(0x260)][_0x2255cf(0x214)](_0x2255cf(0x233),{}),this[_0x2255cf(0x259)]=this[_0x2255cf(0x18b)][_0x2255cf(0x260)][_0x2255cf(0x246)](_0x2255cf(0x26f)),!this[_0x2255cf(0x259)])throw new _0x3e9944(_0x2255cf(0x1ed),this);const _0x5913f4=_0x130674[_0x2255cf(0x260)][_0x2255cf(0x246)](_0x2255cf(0x1c2))||_0xc45eee;this[_0x2255cf(0x208)]=new l[(_0x2255cf(0x1e9))](_0x5913f4,this[_0x2255cf(0x259)]),this[_0x2255cf(0x1c4)]=this[_0x2255cf(0x18b)][_0x2255cf(0x245)][_0x2255cf(0x23c)],this[_0x2255cf(0x261)]=new _0x414c9b(),this[_0x2255cf(0x24d)]=[],this[_0x2255cf(0x243)]=new WeakSet(),this[_0x2255cf(0x19d)]=new Set(),this[_0x2255cf(0x1b0)](_0x2255cf(0x239),!0x1),this[_0x2255cf(0x1b0)](_0x2255cf(0x1f7),!0x1),this[_0x2255cf(0x190)]=null,this[_0x2255cf(0x1b1)]=!0x1,this[_0x2255cf(0x283)]=null,this[_0x2255cf(0x226)]=0x12c,this[_0x2255cf(0x279)]=this[_0x2255cf(0x226)],this[_0x2255cf(0x228)]=null,this[_0x2255cf(0x181)]=new WeakSet(),this[_0x2255cf(0x1ea)]=new X(this[_0x2255cf(0x181)]);}[_0x5cd73b(0x26d)](){const _0x462a1f=_0x5cd73b,_0x177227=this[_0x462a1f(0x18b)],_0x37d337=_0x177227[_0x462a1f(0x20a)][_0x462a1f(0x246)](_0x48651d),_0x3a2f7b=_0x177227[_0x462a1f(0x20a)][_0x462a1f(0x246)](_0x336b59);this[_0x462a1f(0x267)](_0x37d337,_0x462a1f(0x227),(_0x507aeb,_0x2b10dc)=>{const _0x389151=_0x462a1f,_0x18e7dc=_0x2b10dc[0x0];_0x18e7dc[_0x389151(0x1f6)]&&(_0x507aeb[_0x389151(0x1bd)]=_0x37d337[_0x389151(0x1d3)](_0x18e7dc[_0x389151(0x1f6)]),_0x507aeb[_0x389151(0x203)]()),null===_0x18e7dc[_0x389151(0x1f6)]&&(_0x507aeb[_0x389151(0x1bd)]=null,_0x507aeb[_0x389151(0x203)]());},{'priority':_0x462a1f(0x1a1)}),this[_0x462a1f(0x267)](_0x177227[_0x462a1f(0x245)][_0x462a1f(0x23c)][_0x462a1f(0x204)],_0x462a1f(0x1d7),(_0x11ba0d,_0x56007e)=>{const _0xc26693=_0x462a1f;_0x56007e[_0xc26693(0x27f)]&&this[_0xc26693(0x1da)]();}),this[_0x462a1f(0x267)](_0x177227[_0x462a1f(0x18a)][_0x462a1f(0x252)],_0x462a1f(0x1d6),()=>{const _0x35a7e9=_0x462a1f;this[_0x35a7e9(0x1da)]();}),this[_0x462a1f(0x231)](),_0x177227[_0x462a1f(0x245)]['on'](_0x462a1f(0x192),(_0x3ee034,_0x36eef6)=>{const _0x2b7f77=_0x462a1f,_0x2b095b=_0x36eef6[0x0];_0x2b095b[_0x2b7f77(0x25f)]&&(this[_0x2b7f77(0x22b)](_0x2b095b),this[_0x2b7f77(0x1a4)]()&&this[_0x2b7f77(0x281)]());}),this[_0x462a1f(0x1f0)](),this[_0x462a1f(0x1ab)](_0x462a1f(0x197))['to'](_0x3a2f7b,_0x462a1f(0x183),this,_0x462a1f(0x1f7),(_0x531d45,_0x5bd621)=>_0x462a1f(0x26b)===_0x531d45&&!_0x5bd621),this['on'](_0x462a1f(0x1bf),()=>{const _0x32601c=_0x462a1f;this[_0x32601c(0x197)]?_0x177227[_0x32601c(0x188)](_0x32601c(0x247)):_0x177227[_0x32601c(0x1d2)](_0x32601c(0x247));}),this[_0x462a1f(0x197)]?_0x177227[_0x462a1f(0x188)](_0x462a1f(0x247)):_0x177227[_0x462a1f(0x1d2)](_0x462a1f(0x247)),this[_0x462a1f(0x1b0)](_0x462a1f(0x1fe),!0x1);}async[_0x5cd73b(0x1b6)](){const _0x5c8a4b=_0x5cd73b,_0x4c5982=this[_0x5c8a4b(0x18b)][_0x5c8a4b(0x20a)][_0x5c8a4b(0x246)](_0x3ce857),_0x1e11ca=this[_0x5c8a4b(0x18b)][_0x5c8a4b(0x20a)][_0x5c8a4b(0x246)](_0x336b59);try{this[_0x5c8a4b(0x239)]=!0x0,_0x4c5982[_0x5c8a4b(0x215)](this[_0x5c8a4b(0x259)]);const _0x7aa808=await this[_0x5c8a4b(0x208)][_0x5c8a4b(0x1b6)](_0x1e11ca[_0x5c8a4b(0x23d)],this[_0x5c8a4b(0x1e0)]);await this[_0x5c8a4b(0x269)](_0x7aa808)&&(this[_0x5c8a4b(0x239)]=!0x1,this[_0x5c8a4b(0x1be)]());const _0x82a53b=await this[_0x5c8a4b(0x208)][_0x5c8a4b(0x1b9)]();_0x4c5982[_0x5c8a4b(0x271)](this[_0x5c8a4b(0x259)],_0x82a53b),this[_0x5c8a4b(0x26e)](),this[_0x5c8a4b(0x1fe)]=!0x0;}catch(_0x3aef6b){if(function(_0x117a5f){const _0x557111=_0x5c8a4b;return _0x557111(0x210)===_0x117a5f[_0x557111(0x1df)];}(_0x3aef6b)&&this[_0x5c8a4b(0x238)])await this[_0x5c8a4b(0x264)]();else{if(function(_0x1dec65){const _0x2adac9=_0x5c8a4b;return _0x2adac9(0x1a5)===_0x1dec65[_0x2adac9(0x1df)];}(_0x3aef6b)){const _0x2a26b5=_0x3b586f(this[_0x5c8a4b(0x18b)][_0x5c8a4b(0x251)],_0x5c8a4b(0x22e));this[_0x5c8a4b(0x1fb)](_0x2a26b5);}else{if(!(_0x3aef6b instanceof J))throw _0x3aef6b;this[_0x5c8a4b(0x1fb)]();}}}}[_0x5cd73b(0x19f)](){const _0x511ce5=_0x5cd73b,_0x2e84c1=this[_0x511ce5(0x18b)][_0x511ce5(0x20a)][_0x511ce5(0x246)](_0x336b59),_0xe38c09=this[_0x511ce5(0x18b)][_0x511ce5(0x20a)][_0x511ce5(0x246)](_0x3ce857);this[_0x511ce5(0x18b)][_0x511ce5(0x1d2)](_0x511ce5(0x221)),_0xe38c09[_0x511ce5(0x20c)][_0x511ce5(0x1b5)](this[_0x511ce5(0x259)])&&_0xe38c09[_0x511ce5(0x215)](this[_0x511ce5(0x259)]),_0x2e84c1[_0x511ce5(0x22f)](this),this[_0x511ce5(0x1e6)](),super[_0x511ce5(0x19f)]();}async[_0x5cd73b(0x269)](_0x378f36){const _0x32e25f=_0x5cd73b;if(this[_0x32e25f(0x238)]!==_0x378f36[_0x32e25f(0x238)]&&this[_0x32e25f(0x228)]!==_0x378f36[_0x32e25f(0x1dd)])throw new J();return this[_0x32e25f(0x238)]=_0x378f36[_0x32e25f(0x238)],this[_0x32e25f(0x19c)]([],{..._0x378f36,'wereChangesApplied':!0x1,'data':_0x378f36[_0x32e25f(0x258)]},_0x32e25f(0x1b6));}async[_0x5cd73b(0x21c)](_0x2e53a3,_0x266de1=!0x1){const _0x4c07db=_0x5cd73b,{connection:_0x3b1c20}=this[_0x4c07db(0x18b)][_0x4c07db(0x20a)][_0x4c07db(0x246)](_0x336b59);l[_0x4c07db(0x1e9)][_0x4c07db(0x1b9)](_0x3b1c20,this[_0x4c07db(0x259)])[_0x4c07db(0x1ac)](_0x9e6e0a=>this[_0x4c07db(0x254)](_0x9e6e0a))[_0x4c07db(0x1e5)](_0x392c9c=>{const _0x4d3d0c=_0x4c07db;this[_0x4d3d0c(0x1e8)](_0x4d3d0c(0x1d5),_0x392c9c);}),this[_0x4c07db(0x267)](this[_0x4c07db(0x208)],_0x4c07db(0x1f8),this[_0x4c07db(0x1e3)][_0x4c07db(0x1ab)](this)),this[_0x4c07db(0x267)](this[_0x4c07db(0x208)],_0x4c07db(0x18e),(_0x1942d6,_0x57a992)=>{const _0x59fa6e=_0x4c07db;this[_0x59fa6e(0x1e8)](_0x59fa6e(0x26c),_0x57a992);}),this[_0x4c07db(0x267)](this[_0x4c07db(0x208)],_0x4c07db(0x1cc),()=>{const _0x30bb45=_0x4c07db;this[_0x30bb45(0x1fe)]=!0x1;});const _0xf8281a=this[_0x4c07db(0x1ea)][_0x4c07db(0x195)](_0x2e53a3);this[_0x4c07db(0x239)]=!0x0;const _0x5ea361=await this[_0x4c07db(0x208)][_0x4c07db(0x1af)](_0x3b1c20,this[_0x4c07db(0x1a6)](_0x2e53a3),_0xf8281a);if(this[_0x4c07db(0x238)]=_0x5ea361[_0x4c07db(0x238)],_0x266de1){if(!_0x5ea361[_0x4c07db(0x187)])return void this[_0x4c07db(0x1fb)]();this[_0x4c07db(0x239)]=!0x1,this[_0x4c07db(0x1be)](),this[_0x4c07db(0x23f)][_0x4c07db(0x19a)](),this[_0x4c07db(0x207)]=_0x5ea361[_0x4c07db(0x18d)],this[_0x4c07db(0x23f)][_0x4c07db(0x284)]=this[_0x4c07db(0x207)],await this[_0x4c07db(0x19c)](_0x2e53a3,_0x5ea361,_0x4c07db(0x248));}else await this[_0x4c07db(0x1cd)](_0x5ea361,_0x2e53a3);this[_0x4c07db(0x26e)](),this[_0x4c07db(0x1fe)]=!0x0;}[_0x5cd73b(0x26e)](){const _0x3bc45d=_0x5cd73b,_0x2d2291=this[_0x3bc45d(0x18b)][_0x3bc45d(0x20a)][_0x3bc45d(0x246)](_0x3ce857),_0x3108bb=this[_0x3bc45d(0x18b)][_0x3bc45d(0x20a)][_0x3bc45d(0x246)](_0x2b867e),_0x1ae932=_0x2d2291[_0x3bc45d(0x20c)][_0x3bc45d(0x246)](this[_0x3bc45d(0x259)]);_0x1ae932&&_0x1ae932[_0x3bc45d(0x18f)]>0x1?_0x3108bb[_0x3bc45d(0x25d)]():this[_0x3bc45d(0x267)](_0x2d2291,_0x3bc45d(0x189)+this[_0x3bc45d(0x259)],()=>{const _0x1e1ca2=_0x3bc45d;0x2===_0x2d2291[_0x1e1ca2(0x20c)][_0x1e1ca2(0x246)](this[_0x1e1ca2(0x259)])[_0x1e1ca2(0x18f)]&&_0x3108bb[_0x1e1ca2(0x25d)]();});}async[_0x5cd73b(0x1e3)](_0xca6462,_0xd2302e,_0x2559d0,_0x5be9f6){const _0x1f2aa1=_0x5cd73b;if(!this[_0x1f2aa1(0x239)]&&this[_0x1f2aa1(0x1c4)][_0x1f2aa1(0x284)]==_0xd2302e){const _0x47fe73=this[_0x1f2aa1(0x184)](_0x2559d0,_0x5be9f6);await this[_0x1f2aa1(0x1eb)](_0x47fe73),this[_0x1f2aa1(0x234)](_0x47fe73,_0xd2302e,_0x2559d0[_0x1f2aa1(0x1dd)])||this[_0x1f2aa1(0x1e8)](_0x1f2aa1(0x263));}}async[_0x5cd73b(0x264)](){const _0x96ef8e=_0x5cd73b;this[_0x96ef8e(0x1e6)]();const {locale:_0x32c50b}=this[_0x96ef8e(0x18b)];let _0x30bc30;try{_0x30bc30=await this[_0x96ef8e(0x208)][_0x96ef8e(0x209)]();}catch(_0x2f9b81){const _0x1887be=_0x3b586f(_0x32c50b,_0x96ef8e(0x1cf));return void this[_0x96ef8e(0x1fb)](_0x1887be);}const _0xfa9617=_0x30bc30[_0x96ef8e(0x229)]||_0x30bc30[_0x96ef8e(0x1d1)];if(this[_0x96ef8e(0x228)]===_0xfa9617[_0x96ef8e(0x1dd)])await this[_0x96ef8e(0x21c)](this[_0x96ef8e(0x18b)][_0x96ef8e(0x245)][_0x96ef8e(0x23c)][_0x96ef8e(0x1ec)][_0x96ef8e(0x27b)](),!0x0);else{const _0x548bd9=_0x3b586f(_0x32c50b,_0x96ef8e(0x19b));this[_0x96ef8e(0x1fb)](_0x548bd9);}}[_0x5cd73b(0x1e6)](){const _0x14e146=_0x5cd73b;this[_0x14e146(0x208)][_0x14e146(0x1d0)](),this[_0x14e146(0x24d)]=[],clearTimeout(this[_0x14e146(0x283)]),this[_0x14e146(0x27e)](this[_0x14e146(0x208)]);}[_0x5cd73b(0x254)](_0x4bb575){const _0x366966=_0x5cd73b,_0x3464f3=this[_0x366966(0x18b)][_0x366966(0x20a)][_0x366966(0x246)](_0x3ce857);this[_0x366966(0x267)](_0x3464f3,_0x366966(0x189)+this[_0x366966(0x259)],(_0x42ee99,{session:_0x1be85c})=>{const _0x347d80=_0x366966;if(_0x1be85c['id']===_0x3464f3[_0x347d80(0x25a)]){_0x42ee99[_0x347d80(0x1c8)]();const _0x5af5d6=this[_0x347d80(0x18b)][_0x347d80(0x20a)][_0x347d80(0x1b5)](_0x347d80(0x242))&&this[_0x347d80(0x18b)][_0x347d80(0x20a)][_0x347d80(0x246)](_0x347d80(0x242));let _0x2eb165=_0x1be85c[_0x347d80(0x27d)];_0x5af5d6&&_0x5af5d6[_0x347d80(0x200)]&&(_0x2eb165=_0x2eb165[_0x347d80(0x1aa)](_0xfb8696=>_0x347d80(0x249)!==_0xfb8696)),this[_0x347d80(0x18b)][_0x347d80(0x20a)][_0x347d80(0x246)](_0x347d80(0x220))[_0x347d80(0x1a2)](_0x2eb165,this[_0x347d80(0x259)]);}}),_0x3464f3[_0x366966(0x271)](this[_0x366966(0x259)],_0x4bb575);}[_0x5cd73b(0x231)](){const _0x171ec5=_0x5cd73b,_0x2e7f60=this[_0x171ec5(0x18b)][_0x171ec5(0x258)][_0x171ec5(0x1b0)];this[_0x171ec5(0x18b)][_0x171ec5(0x258)][_0x171ec5(0x1b0)]=(..._0x11ae8d)=>{const _0x3baa00=_0x171ec5;if(!_0x11ae8d[_0x11ae8d[_0x3baa00(0x18f)]-0x1][_0x3baa00(0x25b)])throw new _0x3e9944(_0x3baa00(0x193),this);_0x2e7f60[_0x3baa00(0x198)](this[_0x3baa00(0x18b)][_0x3baa00(0x258)],_0x11ae8d);};}[_0x5cd73b(0x1f0)](){const _0x491e06=_0x5cd73b;this[_0x491e06(0x18b)][_0x491e06(0x258)]['on'](_0x491e06(0x26d),(_0x2f747c,[_0x516894])=>{const _0x58a805=_0x491e06;if(this[_0x58a805(0x1c4)][_0x58a805(0x284)])throw new _0x3e9944(_0x58a805(0x27a),this);_0x2f747c[_0x58a805(0x203)](),this[_0x58a805(0x1cb)]();const _0x2569ed=this[_0x58a805(0x18b)][_0x58a805(0x260)][_0x58a805(0x246)](_0x58a805(0x211)),_0x3b26cd=this[_0x58a805(0x266)](_0x516894,_0x2569ed);0x0==_0x3b26cd[_0x58a805(0x18f)]&&_0x3b26cd[_0x58a805(0x262)](new _0x3aa3c7(0x0)),_0x2f747c[_0x58a805(0x1bd)]=this[_0x58a805(0x21c)](_0x3b26cd)[_0x58a805(0x1ac)](()=>{const _0x58d8db=_0x58a805;this[_0x58d8db(0x18b)][_0x58d8db(0x20a)][_0x58d8db(0x246)](_0x336b59)[_0x58d8db(0x1ef)](this),this[_0x58d8db(0x18b)][_0x58d8db(0x258)][_0x58d8db(0x1b2)](_0x58d8db(0x1e7));})[_0x58a805(0x1e5)](_0x1a929c=>this[_0x58a805(0x1e8)](_0x58a805(0x25c),_0x1a929c))[_0x58a805(0x278)](()=>this[_0x58a805(0x1be)]());},{'priority':_0x491e06(0x1a1)}),this[_0x491e06(0x18b)]['on'](_0x491e06(0x1c9),async(_0x5efd5c,[_0x94618c,_0x3328f8])=>{const _0x197e03=_0x491e06;_0x5efd5c[_0x197e03(0x203)]();const _0x5495a2=this[_0x197e03(0x18b)][_0x197e03(0x245)][_0x197e03(0x23c)][_0x197e03(0x1d8)](_0x94618c);if(!this[_0x197e03(0x19d)][_0x197e03(0x1b5)](_0x94618c)){const _0x273532=_0x3328f8&&_0x3328f8[_0x197e03(0x258)]?_0x3328f8[_0x197e03(0x258)]:'',_0x256197=_0x3328f8&&_0x3328f8[_0x197e03(0x1c1)]?_0x3328f8[_0x197e03(0x1c1)]:{};await this[_0x197e03(0x212)](_0x94618c,_0x273532,_0x256197);}this[_0x197e03(0x18b)][_0x197e03(0x245)][_0x197e03(0x180)]({'isUndoable':!0x1},()=>{const _0x3bcf1a=_0x197e03;_0x5495a2[_0x3bcf1a(0x22d)]=!0x0,this[_0x3bcf1a(0x18b)][_0x3bcf1a(0x245)][_0x3bcf1a(0x23c)][_0x3bcf1a(0x206)][_0x3bcf1a(0x18c)](_0x5495a2);});},{'priority':_0x491e06(0x1a1)});}async[_0x5cd73b(0x1eb)](_0x46a6c0){const _0xe17ff6=_0x5cd73b,_0xd4ba01=this[_0xe17ff6(0x18b)][_0xe17ff6(0x20a)][_0xe17ff6(0x246)](_0x48651d),{connection:_0x5924c2}=this[_0xe17ff6(0x18b)][_0xe17ff6(0x20a)][_0xe17ff6(0x246)](_0x336b59),_0x3dffd0=new Set();for(const _0x588b79 of _0x46a6c0){const _0x252ace=_0x588b79[_0xe17ff6(0x1f6)];_0x252ace&&!_0xd4ba01[_0xe17ff6(0x1d3)](_0x252ace)&&_0x3dffd0[_0xe17ff6(0x24b)](_0x252ace);}if(0x0===_0x3dffd0[_0xe17ff6(0x1fa)])return;const _0x13065b=await _0x3ebf8e[_0xe17ff6(0x1ca)](_0x5924c2,Array[_0xe17ff6(0x1f3)](_0x3dffd0));for(const _0x1623c9 of _0x13065b)_0xd4ba01[_0xe17ff6(0x1d3)](_0x1623c9['id'])||_0xd4ba01[_0xe17ff6(0x1fd)](_0x1623c9);}[_0x5cd73b(0x266)](_0x246ad3,_0x4c8b87={}){const _0x51fcb3=_0x5cd73b,_0x17e232=this[_0x51fcb3(0x18b)][_0x51fcb3(0x245)],_0x3567e0=[];let _0x1cd819=0x0;const _0x1b7e84=_0x51fcb3(0x1f5)==typeof _0x246ad3?{'main':_0x246ad3}:_0x246ad3;for(const _0x2862c1 of Object[_0x51fcb3(0x26a)](_0x1b7e84)){if(!this[_0x51fcb3(0x1c4)][_0x51fcb3(0x265)][_0x51fcb3(0x1b5)](_0x2862c1))throw new _0x3e9944(_0x51fcb3(0x1bb),this);const _0x49260c=this[_0x51fcb3(0x18b)][_0x51fcb3(0x258)][_0x51fcb3(0x182)](_0x1b7e84[_0x2862c1]),_0x44837a=this[_0x51fcb3(0x1c4)][_0x51fcb3(0x1d8)](_0x2862c1),_0x2e5832=new _0x56013b(_0x17e232[_0x51fcb3(0x240)](_0x44837a,0x0),_0x49260c,_0x1cd819++);_0x3567e0[_0x51fcb3(0x262)](_0x2e5832);for(const [_0x4a1211,_0x379a90]of _0x49260c[_0x51fcb3(0x1a8)]){const _0x46c725=_0x17e232[_0x51fcb3(0x24a)](_0x17e232[_0x51fcb3(0x1e1)](_0x44837a,_0x379a90[_0x51fcb3(0x1d4)][_0x51fcb3(0x275)][_0x51fcb3(0x1a7)]()),_0x17e232[_0x51fcb3(0x1e1)](_0x44837a,_0x379a90[_0x51fcb3(0x20b)][_0x51fcb3(0x275)][_0x51fcb3(0x1a7)]())),_0x2885c3=new _0x1d0074(_0x4a1211,null,_0x46c725,_0x17e232[_0x51fcb3(0x1a8)],!0x0,_0x1cd819++);_0x3567e0[_0x51fcb3(0x262)](_0x2885c3);}}if(_0x4c8b87)for(const [_0x19d62b,_0x6782f8]of Object[_0x51fcb3(0x235)](_0x4c8b87)){const _0x1ddb9e=_0x17e232[_0x51fcb3(0x23c)][_0x51fcb3(0x1d8)](_0x19d62b);if(!_0x1ddb9e)throw new _0x3e9944(_0x51fcb3(0x273),null);for(const [_0x496d21,_0x764c5c]of Object[_0x51fcb3(0x235)](_0x6782f8))if(null!==_0x764c5c){const _0x4837f5=new _0xd7b21(_0x1ddb9e,_0x496d21,null,_0x764c5c,_0x1cd819++);_0x3567e0[_0x51fcb3(0x262)](_0x4837f5);}}return _0x3567e0;}async[_0x5cd73b(0x212)](_0x250564,_0x3195bd,_0x9d1a06){const _0x1563da=_0x5cd73b;this[_0x1563da(0x266)]({[_0x250564]:_0x3195bd},{[_0x250564]:_0x9d1a06})[_0x1563da(0x1f1)]((_0x5d6808,_0x33836b)=>{const _0x11dcb9=_0x1563da;_0x5d6808[_0x11dcb9(0x1c7)]=this[_0x11dcb9(0x1c4)][_0x11dcb9(0x284)]+_0x33836b,_0x5d6808[_0x11dcb9(0x21a)]=!0x0,this[_0x11dcb9(0x22b)](_0x5d6808);}),this[_0x1563da(0x281)](),await this[_0x1563da(0x185)]();}async[_0x5cd73b(0x1cd)](_0x54a3e9,_0x16024a){const _0x23bb57=_0x5cd73b;let _0x6f6b04;this[_0x23bb57(0x207)]=_0x54a3e9[_0x23bb57(0x18d)];const _0x182b4c=_0x54a3e9[_0x23bb57(0x187)]&&!_0x54a3e9[_0x23bb57(0x1dc)],_0x2ce4a8=_0x182b4c?0x0:_0x54a3e9[_0x23bb57(0x258)][_0x23bb57(0x1c7)];if(_0x16024a[_0x23bb57(0x1f1)](_0x4fa661=>{const _0x889268=_0x23bb57;_0x4fa661[_0x889268(0x21a)]=!0x0,_0x4fa661[_0x889268(0x1ee)]=_0x54a3e9[_0x889268(0x19e)],_0x4fa661[_0x889268(0x1f6)]=null;}),_0x182b4c)_0x6f6b04=_0x16024a,this[_0x23bb57(0x21e)](_0x6f6b04,_0x182b4c);else{if(_0x54a3e9[_0x23bb57(0x1dc)]){const _0x52885d=this[_0x23bb57(0x266)](_0x54a3e9[_0x23bb57(0x1dc)]);this[_0x23bb57(0x1c4)][_0x23bb57(0x1ec)][_0x23bb57(0x284)]=-_0x52885d[_0x23bb57(0x18f)],_0x52885d[_0x23bb57(0x1f1)](_0xb0635a=>{const _0xd2313b=_0x23bb57;_0xb0635a[_0xd2313b(0x1c7)]-=_0x52885d[_0xd2313b(0x18f)],_0xb0635a[_0xd2313b(0x1ee)]=_0x54a3e9[_0xd2313b(0x19e)],_0xb0635a[_0xd2313b(0x21a)]=!0x0,_0xb0635a[_0xd2313b(0x1f6)]=null;}),this[_0x23bb57(0x21e)](_0x52885d,!0x0),this[_0x23bb57(0x23f)][_0x23bb57(0x284)]=-_0x52885d[_0x23bb57(0x18f)]+this[_0x23bb57(0x207)],this[_0x23bb57(0x1a3)](_0x52885d);}this[_0x23bb57(0x1c4)][_0x23bb57(0x1ec)][_0x23bb57(0x284)]=_0x2ce4a8,_0x6f6b04=this[_0x23bb57(0x184)](_0x54a3e9[_0x23bb57(0x258)],_0x54a3e9[_0x23bb57(0x218)]),await this[_0x23bb57(0x1eb)](_0x6f6b04),this[_0x23bb57(0x21e)](_0x6f6b04,_0x182b4c);}_0x54a3e9[_0x23bb57(0x1dd)]&&(this[_0x23bb57(0x1ea)][_0x23bb57(0x241)](_0x6f6b04,_0x54a3e9[_0x23bb57(0x1dd)]),this[_0x23bb57(0x228)]=_0x54a3e9[_0x23bb57(0x1dd)]),this[_0x23bb57(0x23f)][_0x23bb57(0x284)]=_0x2ce4a8+this[_0x23bb57(0x207)],this[_0x23bb57(0x1a3)](_0x6f6b04),_0x16024a[_0x23bb57(0x1aa)](_0x1462cd=>{const _0xa9d593=_0x23bb57,_0x2c1e5b=this[_0xa9d593(0x1b4)](_0x1462cd);return _0x2c1e5b&&!this[_0xa9d593(0x19d)][_0xa9d593(0x1b5)](_0x2c1e5b);})[_0x23bb57(0x1f1)]((_0x96b762,_0x32e45f)=>{const _0x4b2fa5=_0x23bb57;_0x96b762[_0x4b2fa5(0x1c7)]=this[_0x4b2fa5(0x1c4)][_0x4b2fa5(0x284)]+_0x32e45f,this[_0x4b2fa5(0x22b)](_0x96b762);}),this[_0x23bb57(0x1a4)]()?(this[_0x23bb57(0x279)]=0x0,this[_0x23bb57(0x281)](!0x0),await this[_0x23bb57(0x185)]()):(this[_0x23bb57(0x239)]=!0x1,this[_0x23bb57(0x1be)]());}[_0x5cd73b(0x1e8)](_0x1fce44,_0x14e432){const _0x597b60=_0x5cd73b,_0x3d077c=_0x14e432&&_0x14e432[_0x597b60(0x21f)];if(_0x3d077c&&_0x3d077c[_0x597b60(0x1a9)](_0x597b60(0x1ff)))throw _0x14e432;const _0x3820a6=this[_0x597b60(0x18b)][_0x597b60(0x20a)][_0x597b60(0x246)](_0x336b59);throw this[_0x597b60(0x239)]=!0x0,_0x3820a6[_0x597b60(0x1d0)](),this[_0x597b60(0x18b)][_0x597b60(0x1d2)](_0x597b60(0x23a)),new _0x3e9944(_0x1fce44,this[_0x597b60(0x18b)],_0x3d077c?{'originalError':_0x3d077c}:void 0x0);}[_0x5cd73b(0x22b)](_0x394303){const _0x1e9e38=_0x5cd73b;this[_0x1e9e38(0x243)][_0x1e9e38(0x1b5)](_0x394303)||(this[_0x1e9e38(0x243)][_0x1e9e38(0x24b)](_0x394303),this[_0x1e9e38(0x24d)][_0x1e9e38(0x262)](_0x394303),this[_0x1e9e38(0x190)]||_0x1e9e38(0x1b7)==_0x394303[_0x1e9e38(0x1f9)]&&!_0x394303[_0x1e9e38(0x186)]||this[_0x1e9e38(0x1cb)]());}[_0x5cd73b(0x281)](_0xa1cd39=!0x1){const _0x1994d8=_0x5cd73b;!_0xa1cd39&&this[_0x1994d8(0x239)]||(this[_0x1994d8(0x239)]=!0x0,clearTimeout(this[_0x1994d8(0x283)]),this[_0x1994d8(0x283)]=setTimeout(()=>{const _0x270406=_0x1994d8;this[_0x270406(0x1e2)]()[_0x270406(0x1ac)](_0x13c3ac=>{const _0x36106a=_0x270406;_0x13c3ac&&(this[_0x36106a(0x1be)](),this[_0x36106a(0x239)]=!0x1);})[_0x270406(0x1e5)](_0x3f48e5=>{const _0x9f6c9c=_0x270406;this[_0x9f6c9c(0x1be)](),this[_0x9f6c9c(0x239)]=!0x1,function(_0xde2333){const _0x441ddc=_0x9f6c9c;return _0xde2333[_0x441ddc(0x21f)][_0x441ddc(0x1a9)](_0x441ddc(0x236))||_0xde2333[_0x441ddc(0x21f)][_0x441ddc(0x1a9)](_0x441ddc(0x20e))||_0xde2333[_0x441ddc(0x21f)][_0x441ddc(0x1a9)](_0x441ddc(0x1ce));}(_0x3f48e5)||this[_0x9f6c9c(0x1e8)](_0x3f48e5[_0x9f6c9c(0x21f)],_0x3f48e5);});},this[_0x1994d8(0x279)]));}[_0x5cd73b(0x185)](){return new Promise(_0x2a9505=>{const _0x301da4=_0x4311;this['on'](_0x301da4(0x1e4),()=>{_0x2a9505();});});}async[_0x5cd73b(0x1e2)](){const _0x20fac3=_0x5cd73b,_0x3c443f=this[_0x20fac3(0x18b)][_0x20fac3(0x20a)][_0x20fac3(0x246)](_0x2b867e);if(this[_0x20fac3(0x20f)]()&&(_0x3c443f[_0x20fac3(0x25d)](),this[_0x20fac3(0x1b1)]=!0x1),!this[_0x20fac3(0x1a4)]())return!0x0;const _0x36178c=[...this[_0x20fac3(0x24d)]];for(const _0x25978b of _0x36178c)_0x25978b[_0x20fac3(0x219)]=this[_0x20fac3(0x1c4)][_0x20fac3(0x1ec)][_0x20fac3(0x25e)](_0x25978b);const _0x308d99=this[_0x20fac3(0x1ea)][_0x20fac3(0x195)](_0x36178c),_0x3712c7=K++,_0xffdd75=this[_0x20fac3(0x1a6)](_0x36178c),_0x5a3739=await this[_0x20fac3(0x208)][_0x20fac3(0x277)](_0xffdd75,_0xffdd75[_0x20fac3(0x1c7)],_0x308d99);try{return await this[_0x20fac3(0x19c)](_0x36178c,_0x5a3739,_0x3712c7);}catch(_0x1624ff){return this[_0x20fac3(0x1e8)](_0x20fac3(0x20d),_0x1624ff);}}async[_0x5cd73b(0x19c)](_0x8f7f39,_0x511606,_0xbe458b){const _0x59e70e=_0x5cd73b;if(_0x59e70e(0x18e)in _0x511606)throw _0x511606[_0x59e70e(0x18e)];let _0x3e4b2c=!0x1;if(_0x511606[_0x59e70e(0x187)]){_0x511606[_0x59e70e(0x1dd)]&&(this[_0x59e70e(0x228)]=_0x511606[_0x59e70e(0x1dd)]),this[_0x59e70e(0x24d)]=this[_0x59e70e(0x24d)][_0x59e70e(0x1aa)](_0x2f4dc8=>!_0x8f7f39[_0x59e70e(0x282)](_0x2f4dc8));for(const _0xacc666 of _0x8f7f39)_0xacc666[_0x59e70e(0x1ee)]=_0x59e70e(0x22c)in _0x511606&&_0x511606[_0x59e70e(0x22c)]||void 0x0;Q(_0x8f7f39,_0x511606[_0x59e70e(0x284)]-_0x8f7f39[_0x59e70e(0x18f)]),this[_0x59e70e(0x1a3)](_0x8f7f39);const _0x205bab=_0x8f7f39[_0x59e70e(0x1aa)](_0x6dbdb8=>{const _0x4bdce6=_0x59e70e;if(!_0x6dbdb8[_0x4bdce6(0x21a)])return!0x1;const _0x118be3=this[_0x4bdce6(0x1b4)](_0x6dbdb8);return _0x118be3&&!this[_0x4bdce6(0x19d)][_0x4bdce6(0x1b5)](_0x118be3);});Q(_0x205bab,this[_0x59e70e(0x1c4)][_0x59e70e(0x284)]),this[_0x59e70e(0x21e)](_0x205bab),_0x3e4b2c=!0x0,this[_0x59e70e(0x279)]=this[_0x59e70e(0x226)];}else{const _0x528239=this[_0x59e70e(0x184)](_0x511606[_0x59e70e(0x258)],_0x511606[_0x59e70e(0x218)])[_0x59e70e(0x1aa)](_0x3b52ed=>_0x3b52ed[_0x59e70e(0x1c7)]>=this[_0x59e70e(0x1fc)]);_0x528239[_0x59e70e(0x1f1)](_0x1a63ba=>this[_0x59e70e(0x230)](_0x1a63ba)),this[_0x59e70e(0x24d)]=this[_0x59e70e(0x24d)][_0x59e70e(0x1aa)](_0x4507d0=>!_0x4507d0[_0x59e70e(0x21a)]||!this[_0x59e70e(0x19d)][_0x59e70e(0x1b5)](this[_0x59e70e(0x1b4)](_0x4507d0))),this[_0x59e70e(0x24d)][_0x59e70e(0x18f)]&&Q(this[_0x59e70e(0x24d)],this[_0x59e70e(0x24d)][0x0][_0x59e70e(0x1c7)]),await this[_0x59e70e(0x1eb)](_0x528239),_0x3e4b2c=this[_0x59e70e(0x234)](_0x528239,_0x511606[_0x59e70e(0x284)],_0x511606[_0x59e70e(0x1dd)]),this[_0x59e70e(0x279)]=Math[_0x59e70e(0x213)](this[_0x59e70e(0x279)]/0x2);}return _0x3e4b2c?!this[_0x59e70e(0x1a4)]()||(this[_0x59e70e(0x281)](!0x0),!0x1):this[_0x59e70e(0x1e8)](_0x59e70e(0x22a));}[_0x5cd73b(0x234)](_0x31db92,_0x245aab,_0x3b1628){const _0x3e2cab=_0x5cd73b;try{const _0xfa6c37={'document':this[_0x3e2cab(0x1c4)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x22c17f,operationsB:_0x352363,originalOperations:_0x1ff79a}=_0x28e587(_0x31db92,this[_0x3e2cab(0x24d)],_0xfa6c37);Q(_0x22c17f,this[_0x3e2cab(0x1c4)][_0x3e2cab(0x284)]),Q(_0x352363,_0x245aab);for(const _0x53437f of _0x22c17f){const _0x1e01d6=_0x1ff79a[_0x3e2cab(0x246)](_0x53437f);_0x53437f[_0x3e2cab(0x1f6)]=_0x1e01d6?_0x1e01d6[_0x3e2cab(0x1f6)]:null;}_0x3b1628&&(this[_0x3e2cab(0x1ea)][_0x3e2cab(0x241)](_0x31db92,_0x3b1628),this[_0x3e2cab(0x228)]=_0x3b1628),this[_0x3e2cab(0x24d)]=[..._0x352363],this[_0x3e2cab(0x21e)](_0x22c17f),this[_0x3e2cab(0x1a3)](_0x31db92);}catch(_0x4d176a){return console[_0x3e2cab(0x18e)](_0x4d176a),!0x1;}return!0x0;}[_0x5cd73b(0x21e)](_0x1e69a1,_0x8ffe27=!0x1){const _0x311b95=_0x5cd73b;this[_0x311b95(0x18b)][_0x311b95(0x245)][_0x311b95(0x180)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3f271d=>{const _0xc51e8a=_0x311b95;for(const _0x343221 of _0x1e69a1)this[_0xc51e8a(0x243)][_0xc51e8a(0x24b)](_0x343221),this[_0xc51e8a(0x230)](_0x343221),_0x3f271d[_0xc51e8a(0x232)][_0xc51e8a(0x27c)](_0x343221),this[_0xc51e8a(0x18b)][_0xc51e8a(0x245)][_0xc51e8a(0x192)](_0x343221);});}[_0x5cd73b(0x230)](_0x56e6b6){const _0x2df552=_0x5cd73b,_0x167259=this[_0x2df552(0x1b4)](_0x56e6b6);_0x167259&&this[_0x2df552(0x19d)][_0x2df552(0x24b)](_0x167259);}[_0x5cd73b(0x1b4)](_0x32c464){const _0x44cf2f=_0x5cd73b;let _0x54854d,_0x374eff;switch(_0x32c464[_0x44cf2f(0x1f9)]){case _0x44cf2f(0x23e):_0x54854d=_0x32c464[_0x44cf2f(0x1c5)][_0x44cf2f(0x191)];break;case _0x44cf2f(0x1b7):if(_0x374eff=_0x32c464[_0x44cf2f(0x196)],!_0x374eff)return null;_0x54854d=_0x374eff[_0x44cf2f(0x191)];break;case _0x44cf2f(0x225):_0x54854d=_0x32c464[_0x44cf2f(0x191)];break;case _0x44cf2f(0x1c0):_0x54854d=_0x32c464[_0x44cf2f(0x23b)];break;case _0x44cf2f(0x1f2):_0x54854d=_0x32c464[_0x44cf2f(0x24c)][_0x44cf2f(0x191)];break;default:return null;}return _0x54854d[_0x44cf2f(0x270)];}[_0x5cd73b(0x1a3)](_0x926680){const _0x588b16=_0x5cd73b;_0x926680[_0x588b16(0x1f1)](_0x12fc22=>{const _0x2282cc=_0x588b16,_0x336778=_0x12fc22[_0x2282cc(0x255)]();_0x336778[_0x2282cc(0x1f6)]=_0x12fc22[_0x2282cc(0x1f6)],_0x336778[_0x2282cc(0x21a)]=!!_0x12fc22[_0x2282cc(0x21a)],_0x336778[_0x2282cc(0x1ee)]=_0x12fc22[_0x2282cc(0x1ee)],_0x336778[_0x2282cc(0x1c7)]+=this[_0x2282cc(0x207)],_0x12fc22[_0x2282cc(0x280)]&&this[_0x2282cc(0x181)][_0x2282cc(0x24b)](_0x336778),this[_0x2282cc(0x23f)][_0x2282cc(0x27c)](_0x336778);});}[_0x5cd73b(0x1fb)](_0x53ed15){const _0x36c311=_0x5cd73b,_0x5cd9c2=this[_0x36c311(0x18b)][_0x36c311(0x20a)][_0x36c311(0x246)](_0x36c311(0x24f)),_0x45d1=this[_0x36c311(0x18b)][_0x36c311(0x251)];_0x53ed15||(_0x53ed15=_0x3b586f(_0x45d1,_0x36c311(0x268))),_0x5cd9c2[_0x36c311(0x256)](_0x53ed15,{'title':_0x3b586f(_0x45d1,_0x36c311(0x223)),'namespace':_0x36c311(0x276)}),this[_0x36c311(0x1f7)]=!0x0,clearTimeout(this[_0x36c311(0x283)]),this[_0x36c311(0x24d)]=[],this[_0x36c311(0x18b)][_0x36c311(0x20a)][_0x36c311(0x246)](_0x336b59)[_0x36c311(0x1d0)]();}[_0x5cd73b(0x1cb)](){const _0x3cc1c2=_0x5cd73b;this[_0x3cc1c2(0x190)]||(this[_0x3cc1c2(0x190)]=this[_0x3cc1c2(0x18b)][_0x3cc1c2(0x20a)][_0x3cc1c2(0x246)](_0x44cbb6)[_0x3cc1c2(0x24b)](_0x3b586f(this[_0x3cc1c2(0x18b)][_0x3cc1c2(0x251)],_0x3cc1c2(0x1ad))));}[_0x5cd73b(0x1be)](){const _0x50b450=_0x5cd73b;this[_0x50b450(0x190)]&&(this[_0x50b450(0x18b)][_0x50b450(0x20a)][_0x50b450(0x246)](_0x44cbb6)[_0x50b450(0x216)](this[_0x50b450(0x190)]),this[_0x50b450(0x190)]=null);}[_0x5cd73b(0x1a6)](_0x1974ab){const _0x2a1d4e=_0x5cd73b,_0x8e6415=_0x1974ab[_0x2a1d4e(0x1ae)](_0x4a8783=>_0x4a8783[_0x2a1d4e(0x1b8)]());return this[_0x2a1d4e(0x261)][_0x2a1d4e(0x217)](_0x8e6415);}[_0x5cd73b(0x184)](_0x1a60f1,_0x53aa52){const _0x3002d7=_0x5cd73b;return this[_0x3002d7(0x261)][_0x3002d7(0x237)](_0x1a60f1)[_0x3002d7(0x1ae)]((_0x43b92c,_0xb6eb5c)=>{const _0x56eb74=_0x3002d7,_0x1a61a2=_0x56eb74(0x26d)==_0x53aa52[_0xb6eb5c][_0x56eb74(0x1f9)];if(_0x56eb74(0x1c6)==_0x43b92c[_0x56eb74(0x201)]){const _0x1cecc0=_0x43b92c[_0x56eb74(0x1c5)][_0x56eb74(0x191)];!this[_0x56eb74(0x1c4)][_0x56eb74(0x1d8)](_0x1cecc0)&&(this[_0x56eb74(0x1c4)][_0x56eb74(0x257)](_0x56eb74(0x21d),_0x1cecc0)[_0x56eb74(0x1b3)]=!0x1);}const _0x35408e=_0x1cfbed[_0x56eb74(0x199)](_0x43b92c,this[_0x56eb74(0x1c4)]);return _0x35408e[_0x56eb74(0x219)]=_0x43b92c[_0x56eb74(0x219)],_0x35408e[_0x56eb74(0x21a)]=_0x1a61a2,_0x35408e[_0x56eb74(0x1f6)]=_0x1a61a2?null:_0x53aa52[_0xb6eb5c][_0x56eb74(0x1f4)],_0x35408e[_0x56eb74(0x280)]=_0x56eb74(0x1db)===_0x53aa52[_0xb6eb5c][_0x56eb74(0x1f9)],_0x35408e[_0x56eb74(0x1ee)]=_0x53aa52[_0xb6eb5c][_0x56eb74(0x1ee)],_0x35408e;});}[_0x5cd73b(0x1da)](){const _0x339b78=_0x5cd73b;this[_0x339b78(0x1b1)]=!0x0,this[_0x339b78(0x20f)]()?this[_0x339b78(0x281)]():this[_0x339b78(0x1b1)]=!0x1;}[_0x5cd73b(0x20f)](){const _0x47e492=_0x5cd73b,_0x403446=this[_0x47e492(0x18b)][_0x47e492(0x20a)][_0x47e492(0x246)](_0x3ce857)[_0x47e492(0x20c)][_0x47e492(0x246)](this[_0x47e492(0x259)]);return!this[_0x47e492(0x18b)][_0x47e492(0x1a0)]&&!!_0x403446&&_0x403446[_0x47e492(0x18f)]>0x1&&this[_0x47e492(0x1b1)];}[_0x5cd73b(0x1a4)](){const _0xa71c0=_0x5cd73b;return this[_0xa71c0(0x24d)][_0xa71c0(0x18f)]>0x0||this[_0xa71c0(0x20f)]();}}l[_0x5cd73b(0x1e9)]=_0x2be7a4;export default l;class J extends Error{}function Q(_0x5efc35,_0x30ccdc){const _0x129748=_0x5cd73b;for(const _0x92e28f of _0x5efc35)_0x92e28f[_0x129748(0x1c7)]=_0x30ccdc++;}class X{constructor(_0x3749e4){const _0x7be000=_0x5cd73b;this[_0x7be000(0x224)]=_0x3749e4,this[_0x7be000(0x21b)]=new WeakMap();}[_0x5cd73b(0x195)](_0x515abd){const _0x2ca431=_0x5cd73b;let _0x507380=_0x515abd[_0x2ca431(0x18f)];for(;_0x507380--;){const _0x5cd401=_0x515abd[_0x507380];if(!this[_0x2ca431(0x224)][_0x2ca431(0x1b5)](_0x5cd401)){if(!this[_0x2ca431(0x21b)][_0x2ca431(0x1b5)](_0x5cd401)){const _0x18e6ce=_0x3d74f7()[_0x2ca431(0x1a7)](0x1,0x12);this[_0x2ca431(0x21b)][_0x2ca431(0x1b0)](_0x5cd401,_0x18e6ce);}return this[_0x2ca431(0x21b)][_0x2ca431(0x246)](_0x5cd401);}}}[_0x5cd73b(0x241)](_0x5caeb4,_0x3added){const _0x263375=_0x5cd73b;if(!_0x3added)return;let _0x43d75f=_0x5caeb4[_0x263375(0x18f)];for(;_0x43d75f--;){const _0x3a163b=_0x5caeb4[_0x43d75f];this[_0x263375(0x224)][_0x263375(0x1b5)](_0x3a163b)||this[_0x263375(0x21b)][_0x263375(0x1b0)](_0x3a163b,_0x3added);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x12246f=_0x409d;(function(_0x3be5df,_0x65799c){const _0x5574e2=_0x409d,_0xaa9484=_0x3be5df();while(!![]){try{const _0x8a43c=parseInt(_0x5574e2(0xe6))/0x1*(parseInt(_0x5574e2(0x106))/0x2)+parseInt(_0x5574e2(0x100))/0x3+parseInt(_0x5574e2(0xfa))/0x4*(-parseInt(_0x5574e2(0xf2))/0x5)+-parseInt(_0x5574e2(0x10f))/0x6+-parseInt(_0x5574e2(0xe8))/0x7*(parseInt(_0x5574e2(0x105))/0x8)+parseInt(_0x5574e2(0xdc))/0x9+parseInt(_0x5574e2(0xf0))/0xa;if(_0x8a43c===_0x65799c)break;else _0xaa9484['push'](_0xaa9484['shift']());}catch(_0x33d295){_0xaa9484['push'](_0xaa9484['shift']());}}}(_0x2ba8,0xcb6b9));function _0x2ba8(){const _0x14cf9b=['isMe','mySessionId','state','assign','user','change:state','3515620BTtGCB','values','5xfNzDc','remove','_users','orderNumber','has','set','isOfficialPlugin','forEach','1092324lmEHDD','listenTo','context','allConnectedUsers','get','isPremiumPlugin','3558777YZKYgK','connected','getUserBySessionId','getUserRole','_uniqueUsersCount','1688848ngyyJQ','1045336PLhTyv','size','getUser','addUser','_handleSessionRemove','channelSessions','sessionAdd:','Sessions','unregister','2484888GbgGUn','requires','add','sessionId','_registeredSessions','stopListening','init','_handleSessionAdd','_createUser','role','fire','8439219EEfgqS','plugins','channelConnectedUsers','clear','defineMe','sessions-unregister-not-exist','getUserSessions','pluginName','register','delete','1xCwHfQ','connection','49gFuSsl','sessions-register-already-registered'];_0x2ba8=function(){return _0x14cf9b;};return _0x2ba8();}import{ContextPlugin as _0x306eb8}from'ckeditor5/src/core.js';import{Collection as _0xd578a5,CKEditorError as _0x41c44e}from'ckeditor5/src/utils.js';import _0x5b7b2e from'./websocketgateway.js';function _0x409d(_0x5d887b,_0x9d8692){const _0x2ba8dc=_0x2ba8();return _0x409d=function(_0x409d25,_0x397dcf){_0x409d25=_0x409d25-0xd3;let _0x731d07=_0x2ba8dc[_0x409d25];return _0x731d07;},_0x409d(_0x5d887b,_0x9d8692);}import{Users as _0x517017}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x306eb8{static get[_0x12246f(0xe3)](){const _0x3d96b7=_0x12246f;return _0x3d96b7(0x10d);}static get[_0x12246f(0xf8)](){return!0x0;}static get[_0x12246f(0xff)](){return!0x0;}static get[_0x12246f(0x110)](){return[_0x5b7b2e,_0x517017];}constructor(_0x76044b){const _0x4f8ebc=_0x12246f;super(_0x76044b),this[_0x4f8ebc(0x10b)]=new Map(),this[_0x4f8ebc(0xde)]=new Map(),this[_0x4f8ebc(0xfd)]=new _0xd578a5(),this[_0x4f8ebc(0xd5)]=new Map(),this[_0x4f8ebc(0x104)]=0x0,this[_0x4f8ebc(0xf4)]=this[_0x4f8ebc(0xfc)][_0x4f8ebc(0xdd)][_0x4f8ebc(0xfe)](_0x517017);}[_0x12246f(0xd7)](){const _0x8facbb=_0x12246f,_0x23d5ce=this[_0x8facbb(0xfc)][_0x8facbb(0xdd)][_0x8facbb(0xfe)](_0x5b7b2e);this[_0x8facbb(0xfb)](_0x23d5ce,_0x8facbb(0xef),(_0x3b832f,_0x5943b6,_0x2d8a07)=>{const _0x49e8dd=_0x8facbb;if(_0x49e8dd(0x101)!==_0x2d8a07)this[_0x49e8dd(0x10b)][_0x49e8dd(0xf9)](_0x22228b=>_0x22228b[_0x49e8dd(0xdf)]()),this[_0x49e8dd(0xde)][_0x49e8dd(0xf9)](_0x52bde7=>_0x52bde7[_0x49e8dd(0xdf)]()),this[_0x49e8dd(0xfd)][_0x49e8dd(0xdf)]();else{for(const [_0x186119,_0x17e684]of this[_0x49e8dd(0xd5)])for(const _0x460aae of _0x17e684)this[_0x49e8dd(0xd8)](_0x186119,_0x460aae);}}),this[_0x8facbb(0xd9)](_0x23d5ce[_0x8facbb(0xe7)]['me'],!0x0);}[_0x12246f(0xe4)](_0xe229a3,_0x185077){const _0x5a06d5=_0x12246f;if(this[_0x5a06d5(0xd5)][_0x5a06d5(0xf6)](_0xe229a3))throw new _0x41c44e(_0x5a06d5(0xe9),null,{'channelId':_0xe229a3});this[_0x5a06d5(0xd5)][_0x5a06d5(0xf7)](_0xe229a3,_0x185077),this[_0x5a06d5(0x10b)][_0x5a06d5(0xf7)](_0xe229a3,new _0xd578a5()),this[_0x5a06d5(0xde)][_0x5a06d5(0xf7)](_0xe229a3,new _0xd578a5()),this[_0x5a06d5(0xfb)](_0x185077,_0x5a06d5(0xd3),(_0x4bf2f6,_0x585ba7)=>this[_0x5a06d5(0xd8)](_0xe229a3,_0x585ba7)),this[_0x5a06d5(0xfb)](_0x185077,_0x5a06d5(0xf3),(_0x5bdc71,_0xb6d3f4)=>this[_0x5a06d5(0x10a)](_0xe229a3,_0xb6d3f4));for(const _0x3a5830 of _0x185077)this[_0x5a06d5(0xd8)](_0xe229a3,_0x3a5830);}[_0x12246f(0x10e)](_0x4c80cf){const _0x1885b3=_0x12246f;if(!this[_0x1885b3(0xd5)][_0x1885b3(0xf6)](_0x4c80cf))throw new _0x41c44e(_0x1885b3(0xe1),null,{'channelId':_0x4c80cf});const _0x358321=this[_0x1885b3(0xd5)][_0x1885b3(0xfe)](_0x4c80cf);this[_0x1885b3(0xd6)](_0x358321);for(const _0x39bb8a of _0x358321)_0x1885b3(0x101)===this[_0x1885b3(0xfc)][_0x1885b3(0xdd)][_0x1885b3(0xfe)](_0x5b7b2e)[_0x1885b3(0xec)]&&this[_0x1885b3(0x10a)](_0x4c80cf,_0x39bb8a);this[_0x1885b3(0xd5)][_0x1885b3(0xe5)](_0x4c80cf),this[_0x1885b3(0x10b)][_0x1885b3(0xe5)](_0x4c80cf),this[_0x1885b3(0xde)][_0x1885b3(0xe5)](_0x4c80cf);}get[_0x12246f(0xeb)](){const _0x32cc79=_0x12246f;return this[_0x32cc79(0xfc)][_0x32cc79(0xdd)][_0x32cc79(0xfe)](_0x5b7b2e)[_0x32cc79(0xe7)][_0x32cc79(0xd4)];}[_0x12246f(0x102)](_0x2b3ca3){const _0xc9263=_0x12246f;for(const _0x41f29a of this[_0xc9263(0x10b)][_0xc9263(0xf1)]())for(const _0xb5b808 of _0x41f29a)if(_0xb5b808['id']===_0x2b3ca3)return _0xb5b808[_0xc9263(0xee)];}[_0x12246f(0xe2)](_0x15995b,_0x178d9e){const _0xa7574b=_0x12246f,_0xe686c5=_0x178d9e?[this[_0xa7574b(0x10b)][_0xa7574b(0xfe)](_0x178d9e)]:this[_0xa7574b(0x10b)][_0xa7574b(0xf1)](),_0x44da65=new Set();for(const _0x5ee5e2 of _0xe686c5)for(const _0xf7b4ba of _0x5ee5e2)_0xf7b4ba[_0xa7574b(0xee)]['id']===_0x15995b['id']&&_0x44da65[_0xa7574b(0xd3)](_0xf7b4ba['id']);return _0x44da65;}[_0x12246f(0x103)](_0x4067de){const _0x5614d0=_0x12246f;for(const _0x59fa83 of this[_0x5614d0(0x10b)][_0x5614d0(0xf1)]())for(const _0x218cb9 of _0x59fa83)if(_0x218cb9[_0x5614d0(0xee)]===_0x4067de)return _0x218cb9[_0x5614d0(0xda)];}[_0x12246f(0xd8)](_0x264344,_0x3e4dd7){const _0x1f19ee=_0x12246f;if(_0x1f19ee(0x101)!==this[_0x1f19ee(0xfc)][_0x1f19ee(0xdd)][_0x1f19ee(0xfe)](_0x5b7b2e)[_0x1f19ee(0xec)])return;const _0x912175=_0x3e4dd7[_0x1f19ee(0xee)],_0x34edfb=this[_0x1f19ee(0xf4)][_0x1f19ee(0x108)](_0x912175['id'])||this[_0x1f19ee(0xd9)](_0x912175),_0x585343=Object[_0x1f19ee(0xed)]({},_0x3e4dd7,{'user':_0x34edfb});this[_0x1f19ee(0x10b)][_0x1f19ee(0xfe)](_0x264344)[_0x1f19ee(0xd3)](_0x585343);const _0xb46114=this[_0x1f19ee(0xde)][_0x1f19ee(0xfe)](_0x264344);_0xb46114[_0x1f19ee(0xf6)](_0x34edfb['id'])||_0xb46114[_0x1f19ee(0xd3)](_0x34edfb),this[_0x1f19ee(0xfd)][_0x1f19ee(0xf6)](_0x34edfb['id'])||this[_0x1f19ee(0xfd)][_0x1f19ee(0xd3)](_0x34edfb,_0x34edfb[_0x1f19ee(0xea)]?0x0:void 0x0),this[_0x1f19ee(0xdb)](_0x1f19ee(0x10c)+_0x264344,{'channelId':_0x264344,'session':_0x585343});}[_0x12246f(0x10a)](_0xb5d5c2,_0x540b89){const _0x278ebd=_0x12246f;if(_0x278ebd(0x101)!==this[_0x278ebd(0xfc)][_0x278ebd(0xdd)][_0x278ebd(0xfe)](_0x5b7b2e)[_0x278ebd(0xec)])return;const _0x315b10=this[_0x278ebd(0xde)][_0x278ebd(0xfe)](_0xb5d5c2),_0x1da05a=_0x540b89[_0x278ebd(0xee)];_0x1da05a['id']&&(this[_0x278ebd(0x10b)][_0x278ebd(0xfe)](_0xb5d5c2)[_0x278ebd(0xf3)](_0x540b89['id']),_0x315b10[_0x278ebd(0xf6)](_0x1da05a['id'])&&!this[_0x278ebd(0xe2)](_0x1da05a,_0xb5d5c2)[_0x278ebd(0x107)]&&_0x315b10[_0x278ebd(0xf3)](_0x1da05a['id']),this[_0x278ebd(0xfd)][_0x278ebd(0xfe)](_0x1da05a['id'])&&!this[_0x278ebd(0xe2)](_0x1da05a)[_0x278ebd(0x107)]&&this[_0x278ebd(0xfd)][_0x278ebd(0xf3)](_0x1da05a['id']));}[_0x12246f(0xd9)](_0x5ddc02,_0x518b1d){const _0x263439=_0x12246f,_0xd890c1=this[_0x263439(0xf4)][_0x263439(0x109)](_0x5ddc02);return _0x518b1d&&this[_0x263439(0xf4)][_0x263439(0xe0)](_0x5ddc02['id']),_0xd890c1[_0x263439(0xf5)]=this[_0x263439(0x104)]++,_0xd890c1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2db848=_0x2a11;(function(_0x3f9b80,_0x56c4f1){const _0x1cb9fc=_0x2a11,_0x54fe5a=_0x3f9b80();while(!![]){try{const _0x18f216=-parseInt(_0x1cb9fc(0x1ca))/0x1+-parseInt(_0x1cb9fc(0x205))/0x2+-parseInt(_0x1cb9fc(0x1b2))/0x3+parseInt(_0x1cb9fc(0x1c1))/0x4+parseInt(_0x1cb9fc(0x19b))/0x5+parseInt(_0x1cb9fc(0x1d4))/0x6+parseInt(_0x1cb9fc(0x1c5))/0x7*(-parseInt(_0x1cb9fc(0x1a8))/0x8);if(_0x18f216===_0x56c4f1)break;else _0x54fe5a['push'](_0x54fe5a['shift']());}catch(_0xa3b0f4){_0x54fe5a['push'](_0x54fe5a['shift']());}}}(_0x405e,0x1fd78));import{Plugin as _0x45ac9c}from'ckeditor5/src/core.js';import{global as _0x1cb58f,DomEmitterMixin as _0x47a457}from'ckeditor5/src/utils.js';import _0x31e26d from'./sessions.js';function _0x405e(){const _0x5608d7=['delete','addEventListener','getNearestSelectionRange','user:range','_createdBatches','element','keydown','update:user:range','isPremiumPlugin','change:range','commands','startsWith','addMarker','isObject','stopListening','markerRange','getFirstRange','orderNumber','plugins','getPositions','rootName','isDocumentOperation','userPositionMarker','createUserMarkerOperations','getRange','createUIElement','getCustomProperty','getSelectionClass','mouseleave','removeClass','change','markerName','user:','init','208976ICnVIA','user:position:','reconvertMarker','type','mySessionId','start','updateMarker','getAttribute','fromRange','</span>','markerNameToElements','conversion','afterInit','pluginName','marker','for','setCustomProperty','render','isOfficialPlugin','remove','get','getStart','markerToElement','UserMarkers','getContainedElement','120720LEZrZr','_domEmitter','data-session-id','nodeAfter','toRange','schema','parent','getUserBySessionId','markers','deletionPosition','getMarkerClass','editingDowncast','toDomElement','8XORGoJ','destroy','markerToHighlight','span','document','clear','isSimilar','view','editor','user:position','593838kecTmn','enqueueChange','size','color','split','add','$text','user:range:','highest','listenTo','innerHTML','set','classList','tableCell','isCollapsed','886212EWJReu','requires','name','ck-user__marker_hovered','236943rBcDYa','Escape','hasContent','batch','undo','4174uTRzHn','editing','ck-user__selection','end','isInline','has','root','createRange','applyOperation','mouseenter','1351104WhjyEi','checkChild','selection','newRange','isLimit','ck-user__marker\x20','$graveyard','<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>','contenteditable','detach','removeMarker','oldRange','hasDomSelection','mapper','model'];_0x405e=function(){return _0x5608d7;};return _0x405e();}import{LiveRange as _0x466b4c}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x45ac9c{constructor(){const _0x253e00=_0x2a11;super(...arguments),this[_0x253e00(0x19c)]=new(_0x47a457())();}static get[_0x2db848(0x1c2)](){return[_0x31e26d];}static get[_0x2db848(0x212)](){const _0x536634=_0x2db848;return _0x536634(0x199);}static get[_0x2db848(0x217)](){return!0x0;}static get[_0x2db848(0x1eb)](){return!0x0;}[_0x2db848(0x204)](){const _0x4de385=_0x2db848,_0x4051c1=this[_0x4de385(0x1b0)],_0x41d161=_0x4051c1[_0x4de385(0x1f5)][_0x4de385(0x219)](_0x31e26d);_0x4051c1[_0x4de385(0x210)][_0x4de385(0x214)](_0x4de385(0x1a6))[_0x4de385(0x21b)]({'model':_0x4de385(0x1b1),'view':(_0x145459,{writer:_0x33e0bb})=>function(_0x391757,_0x4cdc71,_0x16ba37,_0xa3be56){const _0x2811ce=_0x4de385,_0x5c17bb=_0x391757[_0x2811ce(0x202)][_0x2811ce(0x1b6)](':')[0x2],_0x37bb77=_0x16ba37[_0x2811ce(0x1a2)](_0x5c17bb);if(!_0x37bb77||_0x5c17bb===_0x16ba37[_0x2811ce(0x209)])return;if(!_0xa3be56[_0x2811ce(0x1e2)][_0x2811ce(0x1a0)][_0x2811ce(0x1d5)](_0x391757[_0x2811ce(0x1f2)][_0x2811ce(0x20a)],_0x2811ce(0x1b8)))return;const _0x270046={'class':_0x2811ce(0x1d9)+_0x37bb77[_0x2811ce(0x1b5)][_0x2811ce(0x1a5)](),'data-name':_0x37bb77[_0x2811ce(0x1c3)],'data-session-id':_0x5c17bb},_0x2a30f7=_0xa3be56[_0x2811ce(0x1e2)][_0x2811ce(0x1a3)][_0x2811ce(0x219)](_0x391757[_0x2811ce(0x202)]),_0x2c9908=_0x2a30f7[_0x2811ce(0x21a)](),_0x2c2ec2=_0x2c9908[_0x2811ce(0x19e)],_0x2168be=_0xa3be56[_0x2811ce(0x1e2)][_0x2811ce(0x1a0)];if(_0x2c2ec2&&_0x2168be[_0x2811ce(0x1f0)](_0x2c2ec2)&&_0x2168be[_0x2811ce(0x1ce)](_0x2c2ec2)&&!_0xa3be56[_0x2811ce(0x1e2)][_0x2811ce(0x1a3)][_0x2811ce(0x219)](_0x2811ce(0x1b9)+_0x5c17bb)[_0x2811ce(0x1fb)]()[_0x2811ce(0x1c0)])return;const _0x5ed59c=_0x2c9908[_0x2811ce(0x1a1)];return _0xa3be56[_0x2811ce(0x1e2)][_0x2811ce(0x1a0)][_0x2811ce(0x1d8)](_0x5ed59c)&&!_0xa3be56[_0x2811ce(0x1e2)][_0x2811ce(0x1c7)](_0x5ed59c)&&(_0x270046[_0x2811ce(0x1dc)]=!0x1),function(_0x76770e,_0x3a9acb,_0x542ac0){const _0x2daf1f=_0x2811ce,_0x4a3054=_0x76770e[_0x2daf1f(0x1fc)](_0x2daf1f(0x1ab),_0x3a9acb);return _0x76770e[_0x2daf1f(0x215)](_0x2daf1f(0x1f9),!0x0,_0x4a3054),_0x4a3054[_0x2daf1f(0x216)]=function(_0xf37c2e){const _0x5a5fef=_0x2daf1f,_0x5a5158=this[_0x5a5fef(0x1a7)](_0xf37c2e);return _0x5a5158[_0x5a5fef(0x1bc)]=_0x5a5fef(0x1db)+_0x542ac0[_0x5a5fef(0x1c3)]+_0x5a5fef(0x20e),_0x5a5158[_0x5a5fef(0x1e4)](_0x5a5fef(0x1d3),()=>{const _0x1c8aee=_0x5a5fef;_0x5a5158[_0x1c8aee(0x1be)][_0x1c8aee(0x1b7)](_0x1c8aee(0x1c4));}),_0x5a5158[_0x5a5fef(0x1e4)](_0x5a5fef(0x1ff),()=>{const _0x331030=_0x5a5fef;_0x5a5158[_0x331030(0x1be)][_0x331030(0x218)](_0x331030(0x1c4));}),_0x5a5158;},_0x4a3054[_0x2daf1f(0x1ae)]=function(_0x26e785){const _0x246e9a=_0x2daf1f;return!(!this[_0x246e9a(0x1fd)](_0x246e9a(0x1f9))||!_0x26e785[_0x246e9a(0x1fd)](_0x246e9a(0x1f9))||this[_0x246e9a(0x20c)](_0x246e9a(0x19d))!=_0x26e785[_0x246e9a(0x20c)](_0x246e9a(0x19d)));},_0x4a3054;}(_0x4cdc71,_0x270046,_0x37bb77);}(_0x145459,_0x33e0bb,_0x41d161,_0x4051c1)}),_0x4051c1[_0x4de385(0x210)][_0x4de385(0x214)](_0x4de385(0x1a6))[_0x4de385(0x1aa)]({'model':_0x4de385(0x1e6),'view':_0x6a9fd=>function(_0x42d274,_0x2a51c8){const _0xf34f7=_0x4de385,_0x19eaae=_0x42d274[_0xf34f7(0x202)][_0xf34f7(0x1b6)](':')[0x2];if(_0x19eaae===_0x2a51c8[_0xf34f7(0x209)])return null;const _0x37b953=_0x2a51c8[_0xf34f7(0x1a2)](_0x19eaae);if(!_0x37b953)return{'id':_0x19eaae,'classes':[]};return{'id':_0x19eaae,'classes':[_0xf34f7(0x1cc),_0x37b953[_0xf34f7(0x1b5)][_0xf34f7(0x1fe)]()],'attributes':{'data-session-id':_0x19eaae},'priority':0x7d0+_0x37b953[_0xf34f7(0x1f4)]};}(_0x6a9fd,_0x41d161)}),function(_0x35a673){const _0x5d3413=_0x4de385,_0x4f2f59=_0x35a673[_0x5d3413(0x1e2)],_0x1aebf8=new Map(),_0x34b031=_0x35a673[_0x5d3413(0x1f5)][_0x5d3413(0x219)](_0x31e26d);_0x4f2f59[_0x5d3413(0x1a3)]['on'](_0x5d3413(0x1ea),(_0x251a48,_0x19358d,_0x33aba6,_0x3aef29)=>{const _0x318631=_0x5d3413;if(!_0x3aef29&&_0x1aebf8[_0x318631(0x219)](_0x19358d[_0x318631(0x1c3)]))return _0x1aebf8[_0x318631(0x219)](_0x19358d[_0x318631(0x1c3)])[_0x318631(0x1dd)](),void _0x1aebf8[_0x318631(0x1e3)](_0x19358d[_0x318631(0x1c3)]);const _0x532ec7=_0x19358d[_0x318631(0x1c3)][_0x318631(0x1b6)](':')[0x2];if(_0x532ec7===_0x34b031[_0x318631(0x209)])return;const _0x32f2d8=_0x318631(0x206)+_0x532ec7;_0x4f2f59[_0x318631(0x1a3)][_0x318631(0x1cf)](_0x32f2d8)&&_0x35a673[_0x318631(0x1cb)][_0x318631(0x207)](_0x32f2d8),_0x19358d['on'](_0x318631(0x1ec),(_0x56a2fb,_0x3602f1,_0x380c42)=>{const _0x4cea58=_0x318631;if(_0x4cea58(0x1da)!=_0x3602f1[_0x4cea58(0x1d0)][_0x4cea58(0x1f7)]&&_0x4cea58(0x1da)==_0x19358d[_0x4cea58(0x1fb)]()[_0x4cea58(0x1d0)][_0x4cea58(0x1f7)]&&!_0x1aebf8[_0x4cea58(0x1cf)](_0x19358d[_0x4cea58(0x1c3)])){const _0x131fad=_0x4f2f59[_0x4cea58(0x1a0)][_0x4cea58(0x1e5)](_0x380c42[_0x4cea58(0x1a4)]);if(_0x131fad){const _0x25278=_0x466b4c[_0x4cea58(0x20d)](_0x131fad);_0x1aebf8[_0x4cea58(0x1bd)](_0x19358d[_0x4cea58(0x1c3)],_0x25278),_0x25278['on'](_0x4cea58(0x1ec),(_0x2e7616,_0x241971,_0x1b6b9c)=>{const _0x448d69=_0x4cea58;if(_0x448d69(0x1da)==_0x25278[_0x448d69(0x1d0)][_0x448d69(0x1f7)]){const _0xa8c1df=_0x4f2f59[_0x448d69(0x1a0)][_0x448d69(0x1e5)](_0x1b6b9c[_0x448d69(0x1a4)]);_0xa8c1df?(_0x25278[_0x448d69(0x20a)]=_0xa8c1df[_0x448d69(0x20a)],_0x25278[_0x448d69(0x1cd)]=_0xa8c1df[_0x448d69(0x1cd)]):(_0x1aebf8[_0x448d69(0x1e3)](_0x19358d[_0x448d69(0x1c3)]),_0x25278[_0x448d69(0x1dd)]());}});}}});}),_0x4f2f59[_0x5d3413(0x1ac)]['on'](_0x5d3413(0x201),()=>{const _0x25331c=_0x5d3413;_0x1aebf8[_0x25331c(0x1b4)]>0x0&&_0x4f2f59[_0x25331c(0x1b3)]({'isUndoable':!0x1},_0x269152=>{const _0x4bfaf1=_0x25331c;for(const [_0x5f4677,_0x35064f]of _0x1aebf8)_0x4bfaf1(0x1da)==_0x4f2f59[_0x4bfaf1(0x1a3)][_0x4bfaf1(0x219)](_0x5f4677)[_0x4bfaf1(0x1fb)]()[_0x4bfaf1(0x1d0)][_0x4bfaf1(0x1f7)]&&(re(_0x5f4677[_0x4bfaf1(0x1b6)](':')[0x2],_0x35064f[_0x4bfaf1(0x19f)](),_0x4f2f59,_0x269152),_0x35064f[_0x4bfaf1(0x1dd)]());_0x1aebf8[_0x4bfaf1(0x1ad)]();});});}(_0x4051c1),this[_0x4de385(0x19c)][_0x4de385(0x1bb)](_0x1cb58f[_0x4de385(0x1ac)],_0x4de385(0x1e9),(_0x4cd5ff,{key:_0x1252b8})=>{const _0x19ce74=_0x4de385;_0x19ce74(0x1c6)===_0x1252b8&&function(_0x45f003){const _0x58bc5f=_0x19ce74;_0x45f003[_0x58bc5f(0x1cb)][_0x58bc5f(0x1af)][_0x58bc5f(0x201)](_0x44dc7d=>{const _0x12ba99=_0x58bc5f;for(const _0x4c1f1f of _0x45f003[_0x12ba99(0x1e2)][_0x12ba99(0x1a3)]){if(!_0x4c1f1f[_0x12ba99(0x1c3)][_0x12ba99(0x1ee)](_0x12ba99(0x1b1)))continue;const _0xe61712=_0x45f003[_0x12ba99(0x1cb)][_0x12ba99(0x1e1)][_0x12ba99(0x20f)](_0x4c1f1f[_0x12ba99(0x1c3)]);if(_0xe61712){for(const _0x30c5df of _0xe61712)_0x44dc7d[_0x12ba99(0x200)](_0x12ba99(0x1c4),_0x30c5df);}}});}(_0x4051c1);},{'useCapture':!0x0});}[_0x2db848(0x211)](){const _0x576514=_0x2db848,_0x3b923a=this[_0x576514(0x1b0)],_0x340ff4=_0x3b923a[_0x576514(0x1ed)][_0x576514(0x219)](_0x576514(0x1c9));_0x340ff4&&_0x3b923a[_0x576514(0x1e2)]['on'](_0x576514(0x1d2),(_0x39a0e9,_0x8addca)=>{const _0x1e67bd=_0x576514,_0x255d5d=_0x8addca[0x0];if(!_0x255d5d[_0x1e67bd(0x1f8)])return;if(_0x1e67bd(0x213)!=_0x255d5d[_0x1e67bd(0x208)]||!_0x255d5d[_0x1e67bd(0x1c3)][_0x1e67bd(0x1ee)](_0x1e67bd(0x203)))return;const _0x145c92=_0x255d5d[_0x1e67bd(0x1c8)];_0x340ff4[_0x1e67bd(0x1e7)][_0x1e67bd(0x1cf)](_0x145c92)&&(_0x255d5d[_0x1e67bd(0x1d7)]=_0x255d5d[_0x1e67bd(0x1df)]?_0x3b923a[_0x1e67bd(0x1e2)][_0x1e67bd(0x1d1)](_0x255d5d[_0x1e67bd(0x1df)][_0x1e67bd(0x20a)],_0x255d5d[_0x1e67bd(0x1df)][_0x1e67bd(0x1cd)]):null);},{'priority':_0x576514(0x1ba)});}[_0x2db848(0x1a9)](){const _0x41a5c8=_0x2db848;return this[_0x41a5c8(0x19c)][_0x41a5c8(0x1f1)](),super[_0x41a5c8(0x1a9)]();}[_0x2db848(0x1fa)](){const _0x60ab16=_0x2db848,_0x17b99b=this[_0x60ab16(0x1b0)],_0xb4d821=_0x17b99b[_0x60ab16(0x1e2)][_0x60ab16(0x1ac)],_0x5f59ed=_0x17b99b[_0x60ab16(0x1f5)][_0x60ab16(0x219)](_0x31e26d);_0x17b99b[_0x60ab16(0x1e2)][_0x60ab16(0x1b3)]({'isUndoable':!0x1},_0x2fb95=>{const _0x1e6787=_0x60ab16,_0x17571e=_0x1e6787(0x1b9)+_0x5f59ed[_0x1e6787(0x209)],_0x3a3d7e=_0x1e6787(0x206)+_0x5f59ed[_0x1e6787(0x209)],_0x1d5a36=_0x17b99b[_0x1e6787(0x1e2)][_0x1e6787(0x1a3)][_0x1e6787(0x1cf)](_0x17571e);_0x17b99b[_0x1e6787(0x1cb)][_0x1e6787(0x1af)][_0x1e6787(0x1e0)]?re(_0x5f59ed[_0x1e6787(0x209)],_0xb4d821[_0x1e6787(0x1d6)][_0x1e6787(0x1f3)](),_0x17b99b[_0x1e6787(0x1e2)],_0x2fb95):_0x1d5a36&&(_0x2fb95[_0x1e6787(0x1de)](_0x17571e),_0x2fb95[_0x1e6787(0x1de)](_0x3a3d7e));});}}function _0x2a11(_0x1abf46,_0x1b1361){const _0x405eb1=_0x405e();return _0x2a11=function(_0x2a11c9,_0x2be3da){_0x2a11c9=_0x2a11c9-0x199;let _0x4ad269=_0x405eb1[_0x2a11c9];return _0x4ad269;},_0x2a11(_0x1abf46,_0x1b1361);}function re(_0x3fad55,_0xf5c842,_0x437c25,_0x532dfa){const _0x2a2586=_0x2db848,_0x471f61=_0x2a2586(0x1b9)+_0x3fad55,_0x58e8fe=_0x2a2586(0x206)+_0x3fad55,_0x876247=_0xf5c842[_0x2a2586(0x19a)]();let _0x219b6b=_0xf5c842[_0x2a2586(0x20a)];_0x876247&&_0x876247['is'](_0x2a2586(0x1e8),_0x2a2586(0x1bf))&&(_0x219b6b=function(_0x2c7c27,_0x26675b){const _0x24c0d1=_0x2a2586;for(const _0x438e03 of _0x2c7c27[_0x24c0d1(0x1f6)]())if(_0x26675b[_0x24c0d1(0x1a0)][_0x24c0d1(0x1d5)](_0x438e03,_0x24c0d1(0x1b8)))return _0x438e03;}(_0xf5c842,_0x437c25),_0xf5c842=_0x532dfa[_0x2a2586(0x1d1)](_0x219b6b));const _0x2573ec=_0x532dfa[_0x2a2586(0x1d1)](_0x219b6b);_0x437c25[_0x2a2586(0x1a3)][_0x2a2586(0x1cf)](_0x471f61)?(_0x532dfa[_0x2a2586(0x20b)](_0x471f61,{'range':_0xf5c842}),_0x532dfa[_0x2a2586(0x20b)](_0x58e8fe,{'range':_0x2573ec})):(_0x532dfa[_0x2a2586(0x1ef)](_0x471f61,{'range':_0xf5c842,'usingOperation':!0x0}),_0x532dfa[_0x2a2586(0x1ef)](_0x58e8fe,{'range':_0x2573ec,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x5d919d=_0x5302;(function(_0x48c77a,_0xbe0d41){const _0x2e70c9=_0x5302,_0x50dc93=_0x48c77a();while(!![]){try{const _0x1c640d=-parseInt(_0x2e70c9(0xb9))/0x1+-parseInt(_0x2e70c9(0xdd))/0x2+parseInt(_0x2e70c9(0xc1))/0x3*(parseInt(_0x2e70c9(0x9b))/0x4)+parseInt(_0x2e70c9(0x9a))/0x5+-parseInt(_0x2e70c9(0xd8))/0x6+parseInt(_0x2e70c9(0x92))/0x7*(parseInt(_0x2e70c9(0x69))/0x8)+parseInt(_0x2e70c9(0x7d))/0x9;if(_0x1c640d===_0xbe0d41)break;else _0x50dc93['push'](_0x50dc93['shift']());}catch(_0xeb6cdf){_0x50dc93['push'](_0x50dc93['shift']());}}}(_0xf41b,0xe7622));import{Plugin as _0x74c102}from'ckeditor5/src/core.js';import{global as _0x399e6b,DomEmitterMixin as _0x595e9c}from'ckeditor5/src/utils.js';function _0xf41b(){const _0x592607=['checkChild','data-session-id','createRange','setCustomProperty','2559330Fymjya','1162940TaVVki','applyOperation','mySessionId','hasContent','user:','keydown','rootName','change:range','getUserBySessionId','has','isInline','createUIElement','<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>','user:range','document','ck-user__selection','isOfficialPlugin','markerRange','getContainedElement','marker','render','remove','tableCell','getPositions','stopListening','_createdBatches','user:range:','isSimilar','fromRange','model','866634kKGVDm','deletionPosition','getNearestSelectionRange','orderNumber','mouseenter','updateMarker','highest','editor','3LKeYCO','afterInit','for','batch','span','editing','removeClass','parent','split','innerHTML','isDocumentOperation','markerToElement','</span>','name','mouseleave','isLimit','$graveyard','userPositionMarker','commands','Escape','nodeAfter','getCustomProperty','color','4973112MhbmjC','startsWith','editingDowncast','oldRange','element','1033828ghCwMO','end','markerToHighlight','classList','view','isObject','conversion','listenTo','getMarkerClass','ck-user__marker_hovered','change','getRange','removeMarker','getSelectionClass','pluginName','requires','796328hqujLS','mapper','markers','destroy','selection','undo','user:position:','isCollapsed','getAttribute','delete','start','getStart','ck-user__marker\x20','set','addMarker','init','hasDomSelection','get','add','$text','19426167gtklMy','_domEmitter','schema','update:user:range','reconvertMarker','newRange','addEventListener','isPremiumPlugin','UserMarkers','toRange','contenteditable','user:position','enqueueChange','clear','type','root','toDomElement','createUserMarkerOperations','getFirstRange','markerName','markerNameToElements','14ICLbEA','size','plugins','detach'];_0xf41b=function(){return _0x592607;};return _0xf41b();}import _0x3c7b36 from'./sessions.js';import{LiveRange as _0x102f27}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x5302(_0xe318db,_0x4d2f23){const _0xf41bd9=_0xf41b();return _0x5302=function(_0x53023d,_0x233112){_0x53023d=_0x53023d-0x65;let _0x176fda=_0xf41bd9[_0x53023d];return _0x176fda;},_0x5302(_0xe318db,_0x4d2f23);}export default class H extends _0x74c102{constructor(){const _0x3329ac=_0x5302;super(...arguments),this[_0x3329ac(0x7e)]=new(_0x595e9c())();}static get[_0x5d919d(0x68)](){return[_0x3c7b36];}static get[_0x5d919d(0x67)](){const _0x3cd32f=_0x5d919d;return _0x3cd32f(0x85);}static get[_0x5d919d(0xab)](){return!0x0;}static get[_0x5d919d(0x84)](){return!0x0;}[_0x5d919d(0x78)](){const _0x58f50a=_0x5d919d,_0x8703ba=this[_0x58f50a(0xc0)],_0x440891=_0x8703ba[_0x58f50a(0x94)][_0x58f50a(0x7a)](_0x3c7b36);_0x8703ba[_0x58f50a(0xe3)][_0x58f50a(0xc3)](_0x58f50a(0xda))[_0x58f50a(0xcc)]({'model':_0x58f50a(0x88),'view':(_0x145938,{writer:_0x4a4a2d})=>function(_0x57225d,_0xd7fa9,_0x41bd80,_0x5784b6){const _0x1dd76e=_0x58f50a,_0x339d80=_0x57225d[_0x1dd76e(0x90)][_0x1dd76e(0xc9)](':')[0x2],_0x4b8c39=_0x41bd80[_0x1dd76e(0xa3)](_0x339d80);if(!_0x4b8c39||_0x339d80===_0x41bd80[_0x1dd76e(0x9d)])return;if(!_0x5784b6[_0x1dd76e(0xb8)][_0x1dd76e(0x7f)][_0x1dd76e(0x96)](_0x57225d[_0x1dd76e(0xac)][_0x1dd76e(0x73)],_0x1dd76e(0x7c)))return;const _0x241ec2={'class':_0x1dd76e(0x75)+_0x4b8c39[_0x1dd76e(0xd7)][_0x1dd76e(0xe5)](),'data-name':_0x4b8c39[_0x1dd76e(0xce)],'data-session-id':_0x339d80},_0x26d7d8=_0x5784b6[_0x1dd76e(0xb8)][_0x1dd76e(0x6b)][_0x1dd76e(0x7a)](_0x57225d[_0x1dd76e(0x90)]),_0xe2d10e=_0x26d7d8[_0x1dd76e(0x74)](),_0x1fba5d=_0xe2d10e[_0x1dd76e(0xd5)],_0x469d56=_0x5784b6[_0x1dd76e(0xb8)][_0x1dd76e(0x7f)];if(_0x1fba5d&&_0x469d56[_0x1dd76e(0xe2)](_0x1fba5d)&&_0x469d56[_0x1dd76e(0xa5)](_0x1fba5d)&&!_0x5784b6[_0x1dd76e(0xb8)][_0x1dd76e(0x6b)][_0x1dd76e(0x7a)](_0x1dd76e(0xb5)+_0x339d80)[_0x1dd76e(0xe8)]()[_0x1dd76e(0x70)])return;const _0x382db2=_0xe2d10e[_0x1dd76e(0xc8)];return _0x5784b6[_0x1dd76e(0xb8)][_0x1dd76e(0x7f)][_0x1dd76e(0xd0)](_0x382db2)&&!_0x5784b6[_0x1dd76e(0xb8)][_0x1dd76e(0x9e)](_0x382db2)&&(_0x241ec2[_0x1dd76e(0x87)]=!0x1),function(_0x11b67b,_0x481d7f,_0x491d4f){const _0x328463=_0x1dd76e,_0x3e9f19=_0x11b67b[_0x328463(0xa6)](_0x328463(0xc5),_0x481d7f);return _0x11b67b[_0x328463(0x99)](_0x328463(0xd2),!0x0,_0x3e9f19),_0x3e9f19[_0x328463(0xaf)]=function(_0x453d99){const _0xffea80=_0x328463,_0x597ea0=this[_0xffea80(0x8d)](_0x453d99);return _0x597ea0[_0xffea80(0xca)]=_0xffea80(0xa7)+_0x491d4f[_0xffea80(0xce)]+_0xffea80(0xcd),_0x597ea0[_0xffea80(0x83)](_0xffea80(0xbd),()=>{const _0x10a8a9=_0xffea80;_0x597ea0[_0x10a8a9(0xe0)][_0x10a8a9(0x7b)](_0x10a8a9(0xe6));}),_0x597ea0[_0xffea80(0x83)](_0xffea80(0xcf),()=>{const _0x320d5c=_0xffea80;_0x597ea0[_0x320d5c(0xe0)][_0x320d5c(0xb0)](_0x320d5c(0xe6));}),_0x597ea0;},_0x3e9f19[_0x328463(0xb6)]=function(_0x4f3d10){const _0x4d8177=_0x328463;return!(!this[_0x4d8177(0xd6)](_0x4d8177(0xd2))||!_0x4f3d10[_0x4d8177(0xd6)](_0x4d8177(0xd2))||this[_0x4d8177(0x71)](_0x4d8177(0x97))!=_0x4f3d10[_0x4d8177(0x71)](_0x4d8177(0x97)));},_0x3e9f19;}(_0xd7fa9,_0x241ec2,_0x4b8c39);}(_0x145938,_0x4a4a2d,_0x440891,_0x8703ba)}),_0x8703ba[_0x58f50a(0xe3)][_0x58f50a(0xc3)](_0x58f50a(0xda))[_0x58f50a(0xdf)]({'model':_0x58f50a(0xa8),'view':_0x4ce86a=>function(_0x445bfd,_0x126e76){const _0x20c97e=_0x58f50a,_0x684d91=_0x445bfd[_0x20c97e(0x90)][_0x20c97e(0xc9)](':')[0x2];if(_0x684d91===_0x126e76[_0x20c97e(0x9d)])return null;const _0xfd4de1=_0x126e76[_0x20c97e(0xa3)](_0x684d91);if(!_0xfd4de1)return{'id':_0x684d91,'classes':[]};return{'id':_0x684d91,'classes':[_0x20c97e(0xaa),_0xfd4de1[_0x20c97e(0xd7)][_0x20c97e(0x66)]()],'attributes':{'data-session-id':_0x684d91},'priority':0x7d0+_0xfd4de1[_0x20c97e(0xbc)]};}(_0x4ce86a,_0x440891)}),function(_0x508505){const _0x518065=_0x58f50a,_0x441367=_0x508505[_0x518065(0xb8)],_0x3e6b16=new Map(),_0x452bfc=_0x508505[_0x518065(0x94)][_0x518065(0x7a)](_0x3c7b36);_0x441367[_0x518065(0x6b)]['on'](_0x518065(0x80),(_0x35db87,_0x4e7bf1,_0xed90f6,_0x44cc24)=>{const _0x199438=_0x518065;if(!_0x44cc24&&_0x3e6b16[_0x199438(0x7a)](_0x4e7bf1[_0x199438(0xce)]))return _0x3e6b16[_0x199438(0x7a)](_0x4e7bf1[_0x199438(0xce)])[_0x199438(0x95)](),void _0x3e6b16[_0x199438(0x72)](_0x4e7bf1[_0x199438(0xce)]);const _0x1af09=_0x4e7bf1[_0x199438(0xce)][_0x199438(0xc9)](':')[0x2];if(_0x1af09===_0x452bfc[_0x199438(0x9d)])return;const _0x256812=_0x199438(0x6f)+_0x1af09;_0x441367[_0x199438(0x6b)][_0x199438(0xa4)](_0x256812)&&_0x508505[_0x199438(0xc6)][_0x199438(0x81)](_0x256812),_0x4e7bf1['on'](_0x199438(0xa2),(_0x343542,_0x2a7902,_0x41b439)=>{const _0x1914a4=_0x199438;if(_0x1914a4(0xd1)!=_0x2a7902[_0x1914a4(0x8c)][_0x1914a4(0xa1)]&&_0x1914a4(0xd1)==_0x4e7bf1[_0x1914a4(0xe8)]()[_0x1914a4(0x8c)][_0x1914a4(0xa1)]&&!_0x3e6b16[_0x1914a4(0xa4)](_0x4e7bf1[_0x1914a4(0xce)])){const _0x3d9498=_0x441367[_0x1914a4(0x7f)][_0x1914a4(0xbb)](_0x41b439[_0x1914a4(0xba)]);if(_0x3d9498){const _0x14624a=_0x102f27[_0x1914a4(0xb7)](_0x3d9498);_0x3e6b16[_0x1914a4(0x76)](_0x4e7bf1[_0x1914a4(0xce)],_0x14624a),_0x14624a['on'](_0x1914a4(0xa2),(_0x9121fa,_0x4368f1,_0x28c54d)=>{const _0x13c9d9=_0x1914a4;if(_0x13c9d9(0xd1)==_0x14624a[_0x13c9d9(0x8c)][_0x13c9d9(0xa1)]){const _0x52874d=_0x441367[_0x13c9d9(0x7f)][_0x13c9d9(0xbb)](_0x28c54d[_0x13c9d9(0xba)]);_0x52874d?(_0x14624a[_0x13c9d9(0x73)]=_0x52874d[_0x13c9d9(0x73)],_0x14624a[_0x13c9d9(0xde)]=_0x52874d[_0x13c9d9(0xde)]):(_0x3e6b16[_0x13c9d9(0x72)](_0x4e7bf1[_0x13c9d9(0xce)]),_0x14624a[_0x13c9d9(0x95)]());}});}}});}),_0x441367[_0x518065(0xa9)]['on'](_0x518065(0xe7),()=>{const _0x1aa107=_0x518065;_0x3e6b16[_0x1aa107(0x93)]>0x0&&_0x441367[_0x1aa107(0x89)]({'isUndoable':!0x1},_0xd3ac17=>{const _0x34e188=_0x1aa107;for(const [_0x1169a1,_0x41957b]of _0x3e6b16)_0x34e188(0xd1)==_0x441367[_0x34e188(0x6b)][_0x34e188(0x7a)](_0x1169a1)[_0x34e188(0xe8)]()[_0x34e188(0x8c)][_0x34e188(0xa1)]&&(re(_0x1169a1[_0x34e188(0xc9)](':')[0x2],_0x41957b[_0x34e188(0x86)](),_0x441367,_0xd3ac17),_0x41957b[_0x34e188(0x95)]());_0x3e6b16[_0x34e188(0x8a)]();});});}(_0x8703ba),this[_0x58f50a(0x7e)][_0x58f50a(0xe4)](_0x399e6b[_0x58f50a(0xa9)],_0x58f50a(0xa0),(_0x25df35,{key:_0x23aafc})=>{const _0x5d368b=_0x58f50a;_0x5d368b(0xd4)===_0x23aafc&&function(_0x9da02a){const _0x51dcc5=_0x5d368b;_0x9da02a[_0x51dcc5(0xc6)][_0x51dcc5(0xe1)][_0x51dcc5(0xe7)](_0x2c9f7a=>{const _0x312e76=_0x51dcc5;for(const _0x19395b of _0x9da02a[_0x312e76(0xb8)][_0x312e76(0x6b)]){if(!_0x19395b[_0x312e76(0xce)][_0x312e76(0xd9)](_0x312e76(0x88)))continue;const _0x35aec0=_0x9da02a[_0x312e76(0xc6)][_0x312e76(0x6a)][_0x312e76(0x91)](_0x19395b[_0x312e76(0xce)]);if(_0x35aec0){for(const _0x2b642a of _0x35aec0)_0x2c9f7a[_0x312e76(0xc7)](_0x312e76(0xe6),_0x2b642a);}}});}(_0x8703ba);},{'useCapture':!0x0});}[_0x5d919d(0xc2)](){const _0x56de0e=_0x5d919d,_0xf419a1=this[_0x56de0e(0xc0)],_0x1aa94c=_0xf419a1[_0x56de0e(0xd3)][_0x56de0e(0x7a)](_0x56de0e(0x6e));_0x1aa94c&&_0xf419a1[_0x56de0e(0xb8)]['on'](_0x56de0e(0x9c),(_0x2bceb0,_0x49f262)=>{const _0x38c01f=_0x56de0e,_0x1cb34f=_0x49f262[0x0];if(!_0x1cb34f[_0x38c01f(0xcb)])return;if(_0x38c01f(0xae)!=_0x1cb34f[_0x38c01f(0x8b)]||!_0x1cb34f[_0x38c01f(0xce)][_0x38c01f(0xd9)](_0x38c01f(0x9f)))return;const _0x3bd94a=_0x1cb34f[_0x38c01f(0xc4)];_0x1aa94c[_0x38c01f(0xb4)][_0x38c01f(0xa4)](_0x3bd94a)&&(_0x1cb34f[_0x38c01f(0x82)]=_0x1cb34f[_0x38c01f(0xdb)]?_0xf419a1[_0x38c01f(0xb8)][_0x38c01f(0x98)](_0x1cb34f[_0x38c01f(0xdb)][_0x38c01f(0x73)],_0x1cb34f[_0x38c01f(0xdb)][_0x38c01f(0xde)]):null);},{'priority':_0x56de0e(0xbf)});}[_0x5d919d(0x6c)](){const _0x40b5d0=_0x5d919d;return this[_0x40b5d0(0x7e)][_0x40b5d0(0xb3)](),super[_0x40b5d0(0x6c)]();}[_0x5d919d(0x8e)](){const _0xa4118d=_0x5d919d,_0xb76b2d=this[_0xa4118d(0xc0)],_0x123fca=_0xb76b2d[_0xa4118d(0xb8)][_0xa4118d(0xa9)],_0x385a87=_0xb76b2d[_0xa4118d(0x94)][_0xa4118d(0x7a)](_0x3c7b36);_0xb76b2d[_0xa4118d(0xb8)][_0xa4118d(0x89)]({'isUndoable':!0x1},_0x2c2d9e=>{const _0x328e01=_0xa4118d,_0x1344c6=_0x328e01(0xb5)+_0x385a87[_0x328e01(0x9d)],_0x82eeaf=_0x328e01(0x6f)+_0x385a87[_0x328e01(0x9d)],_0x46a098=_0xb76b2d[_0x328e01(0xb8)][_0x328e01(0x6b)][_0x328e01(0xa4)](_0x1344c6);_0xb76b2d[_0x328e01(0xc6)][_0x328e01(0xe1)][_0x328e01(0x79)]?re(_0x385a87[_0x328e01(0x9d)],_0x123fca[_0x328e01(0x6d)][_0x328e01(0x8f)](),_0xb76b2d[_0x328e01(0xb8)],_0x2c2d9e):_0x46a098&&(_0x2c2d9e[_0x328e01(0x65)](_0x1344c6),_0x2c2d9e[_0x328e01(0x65)](_0x82eeaf));});}}function re(_0x15f71f,_0x1602b5,_0x4306e1,_0x2668da){const _0x554a45=_0x5d919d,_0xc08fdb=_0x554a45(0xb5)+_0x15f71f,_0x573b25=_0x554a45(0x6f)+_0x15f71f,_0x31a188=_0x1602b5[_0x554a45(0xad)]();let _0xb7c77=_0x1602b5[_0x554a45(0x73)];_0x31a188&&_0x31a188['is'](_0x554a45(0xdc),_0x554a45(0xb1))&&(_0xb7c77=function(_0x3c18f5,_0x148f80){const _0x11aec6=_0x554a45;for(const _0x3135fa of _0x3c18f5[_0x11aec6(0xb2)]())if(_0x148f80[_0x11aec6(0x7f)][_0x11aec6(0x96)](_0x3135fa,_0x11aec6(0x7c)))return _0x3135fa;}(_0x1602b5,_0x4306e1),_0x1602b5=_0x2668da[_0x554a45(0x98)](_0xb7c77));const _0xd9ad80=_0x2668da[_0x554a45(0x98)](_0xb7c77);_0x4306e1[_0x554a45(0x6b)][_0x554a45(0xa4)](_0xc08fdb)?(_0x2668da[_0x554a45(0xbe)](_0xc08fdb,{'range':_0x1602b5}),_0x2668da[_0x554a45(0xbe)](_0x573b25,{'range':_0xd9ad80})):(_0x2668da[_0x554a45(0x77)](_0xc08fdb,{'range':_0x1602b5,'usingOperation':!0x0}),_0x2668da[_0x554a45(0x77)](_0x573b25,{'range':_0xd9ad80,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3a7393=_0x1ac4;(function(_0x3d1069,_0x3349ce){const _0x280cab=_0x1ac4,_0x4a31c8=_0x3d1069();while(!![]){try{const _0x1cf012=parseInt(_0x280cab(0x161))/0x1+-parseInt(_0x280cab(0x17a))/0x2*(parseInt(_0x280cab(0x154))/0x3)+-parseInt(_0x280cab(0x182))/0x4+-parseInt(_0x280cab(0x178))/0x5+-parseInt(_0x280cab(0x18e))/0x6*(-parseInt(_0x280cab(0x15a))/0x7)+-parseInt(_0x280cab(0x194))/0x8+parseInt(_0x280cab(0x174))/0x9;if(_0x1cf012===_0x3349ce)break;else _0x4a31c8['push'](_0x4a31c8['shift']());}catch(_0x6a5e4b){_0x4a31c8['push'](_0x4a31c8['shift']());}}}(_0x476f,0x74d2c));function _0x476f(){const _0x276195=['745020QJMtfw','DISCONNECTED','210874BoJkWQ','has','connection','from','function','context','define','token','3376224fWSurf','cloudservices-reconnection-error','disconnect','config','showWarning','CloudServices','pluginName','isInReconnectionStack','real-time-collaboration','plugins','catch','cloudServices.connectionTimeout','3414558cvAqvX','CONNECTING','cloudServices.requestTimeout','requires','isOfficialPlugin','set','4617264vOzTcC','cloudservices-init','stopListening','init','_reconnect','online','then','websocketgateway-invalid-plugin-interface','websocketgateway-missing-token','state','15ADtfeE','_reconnectionStack','change:me','_shouldPluginsReconnect','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.','websocketgateway-missing-websocket-url','7uUqyZF','add','websocketgateway-plugin-already-registered','isPremiumPlugin','get','listenTo','webSocketUrl','63669HyBJrj','destroy','bind','error','create','all','delete','connect','Connected\x20users\x20limit\x20exceeded','code','initialReconnectionInterval','WebSocketGateway','_isBrowserOffline','offline','removeFromReconnectionStack','addToReconnectionStack','CONNECTED','_domEmitter','reconnect','17488341yzDEpt','constructor','connected','limitExceeded'];_0x476f=function(){return _0x276195;};return _0x476f();}import{ContextPlugin as _0x3843d4}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x283ec7,CKEditorError as _0x3688c4}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x478fca,WEB_SOCKET_GATEWAY_STATES as _0x1ea866}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x1b2834}from'ckeditor5/src/ui.js';function _0x1ac4(_0x5816da,_0x537341){const _0x476ff6=_0x476f();return _0x1ac4=function(_0x1ac48d,_0x397e00){_0x1ac48d=_0x1ac48d-0x152;let _0xd6caab=_0x476ff6[_0x1ac48d];return _0xd6caab;},_0x1ac4(_0x5816da,_0x537341);}class c extends _0x3843d4{static get[_0x3a7393(0x191)](){const _0x10be6f=_0x3a7393;return[_0x10be6f(0x187),_0x1b2834];}static get[_0x3a7393(0x188)](){const _0x8dce44=_0x3a7393;return _0x8dce44(0x16c);}static get[_0x3a7393(0x192)](){return!0x0;}static get[_0x3a7393(0x15d)](){return!0x0;}constructor(_0x48b8c3){const _0x5d83a2=_0x3a7393;super(_0x48b8c3),this[_0x5d83a2(0x193)](_0x5d83a2(0x153),_0x1ea866[_0x5d83a2(0x171)]),this[_0x5d83a2(0x193)](_0x5d83a2(0x16d),!0x1),this[_0x5d83a2(0x155)]=new Set(),this[_0x5d83a2(0x157)]=!0x1,this[_0x5d83a2(0x172)]=Object[_0x5d83a2(0x165)](_0x283ec7);}[_0x3a7393(0x197)](){const _0xb92988=_0x3a7393,_0x38c176=this[_0xb92988(0x17f)],_0x464111=_0x38c176[_0xb92988(0x18b)][_0xb92988(0x15e)](_0xb92988(0x187)),_0x110df6=_0x38c176[_0xb92988(0x18b)][_0xb92988(0x15e)](_0x1b2834);if(!_0x464111[_0xb92988(0x181)])throw new _0x3688c4(_0xb92988(0x152),this);if(!_0x464111[_0xb92988(0x160)])throw new _0x3688c4(_0xb92988(0x159),this);return this[_0xb92988(0x172)][_0xb92988(0x15f)](window,_0xb92988(0x16e),()=>this[_0xb92988(0x16d)]=!0x0),this[_0xb92988(0x172)][_0xb92988(0x15f)](window,_0xb92988(0x199),()=>this[_0xb92988(0x16d)]=!0x1),this[_0xb92988(0x17f)][_0xb92988(0x185)][_0xb92988(0x180)](_0xb92988(0x18d),0xa),this[_0xb92988(0x17f)][_0xb92988(0x185)][_0xb92988(0x180)](_0xb92988(0x190),0x14),c[_0xb92988(0x16c)][_0xb92988(0x168)](_0x464111[_0xb92988(0x181)],_0x464111[_0xb92988(0x160)],{'timeout':0x3e8*this[_0xb92988(0x17f)][_0xb92988(0x185)][_0xb92988(0x15e)](_0xb92988(0x18d)),'requestTimeout':0x3e8*this[_0xb92988(0x17f)][_0xb92988(0x185)][_0xb92988(0x15e)](_0xb92988(0x190))})[_0xb92988(0x19a)](_0x1bfdec=>{const _0x383640=_0xb92988;if(this[_0x383640(0x17c)]=_0x1bfdec,this[_0x383640(0x163)](_0x383640(0x153))['to'](_0x1bfdec,_0x383640(0x153),this,_0x383640(0x16d),(_0x554a69,_0x34d4db)=>(_0x383640(0x176)!==_0x554a69&&(this[_0x383640(0x157)]=!0x0),_0x34d4db||_0x554a69!==_0x1ea866[_0x383640(0x171)]?_0x1ea866[_0x383640(0x179)]:this[_0x383640(0x153)]==_0x1ea866[_0x383640(0x179)]&&this[_0x383640(0x157)]?(this[_0x383640(0x157)]=!0x1,this[_0x383640(0x198)](),_0x1ea866[_0x383640(0x18f)]):_0x1ea866[_0x383640(0x171)])),this[_0x383640(0x17c)]['on'](_0x383640(0x164),(_0x108a66,_0x529fa9)=>{const _0x1e95e4=_0x383640;if(_0x1e95e4(0x177)!==_0x529fa9[_0x1e95e4(0x16a)])throw console[_0x1e95e4(0x164)](_0x529fa9),new _0x3688c4(_0x1e95e4(0x195),null,{'originalError':_0x529fa9});_0x110df6[_0x1e95e4(0x186)](_0x1e95e4(0x158),{'title':_0x1e95e4(0x169),'namespace':_0x1e95e4(0x18a)});}),!_0x1bfdec['me'])return new Promise(_0x21dbf9=>_0x1bfdec['on'](_0x383640(0x156),_0x21dbf9));})[_0xb92988(0x18c)](_0x39f84e=>{const _0xe29241=_0xb92988;throw console[_0xe29241(0x164)](_0x39f84e),new _0x3688c4(_0xe29241(0x195),null,{'originalError':_0x39f84e});});}[_0x3a7393(0x170)](_0x3a087f){const _0x14e693=_0x3a7393;if(_0x14e693(0x17e)!=typeof _0x3a087f[_0x14e693(0x173)])throw new _0x3688c4(_0x14e693(0x19b),this);if(this[_0x14e693(0x189)](_0x3a087f))throw new _0x3688c4(_0x14e693(0x15c),this,{'name':_0x3a087f[_0x14e693(0x175)][_0x14e693(0x188)]});this[_0x14e693(0x155)][_0x14e693(0x15b)](_0x3a087f);}[_0x3a7393(0x16f)](_0x5eefd9){const _0x2fad5b=_0x3a7393;this[_0x2fad5b(0x155)][_0x2fad5b(0x167)](_0x5eefd9);}[_0x3a7393(0x189)](_0xea4f4){const _0x544564=_0x3a7393;return this[_0x544564(0x155)][_0x544564(0x17b)](_0xea4f4);}[_0x3a7393(0x198)](){const _0x4b7df2=_0x3a7393;return this[_0x4b7df2(0x17c)][_0x4b7df2(0x173)]()[_0x4b7df2(0x19a)](()=>Promise[_0x4b7df2(0x166)](Array[_0x4b7df2(0x17d)](this[_0x4b7df2(0x155)],_0x471e1d=>_0x471e1d[_0x4b7df2(0x173)]())))[_0x4b7df2(0x19a)](()=>this[_0x4b7df2(0x153)]=_0x1ea866[_0x4b7df2(0x171)])[_0x4b7df2(0x18c)](_0x39c118=>{const _0x2fff67=_0x4b7df2;throw console[_0x2fff67(0x164)](_0x39c118),new _0x3688c4(_0x2fff67(0x183),this[_0x2fff67(0x17f)]);});}[_0x3a7393(0x184)](){const _0x4b9b43=_0x3a7393;this[_0x4b9b43(0x17c)]&&this[_0x4b9b43(0x17c)][_0x4b9b43(0x184)](),this[_0x4b9b43(0x153)]=_0x1ea866[_0x4b9b43(0x179)],this[_0x4b9b43(0x172)][_0x4b9b43(0x196)]();}[_0x3a7393(0x162)](){const _0x5d76f8=_0x3a7393;this[_0x5d76f8(0x184)](),super[_0x5d76f8(0x162)]();}}c[_0x3a7393(0x16c)]=_0x478fca,c[_0x3a7393(0x16b)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1358(){var _0x19fddb=['pluginName','359579vFwuik','1237424IEpdUS','354260MuJDvm','360cADoDT','isOfficialPlugin','4798074fLsvlN','isPremiumPlugin','RealTimeCollaborativeEditing','4uqKlfR','2455232wLHgrq','requires','2338875wFPMSJ','5GNUoju','3350466hwyYzg'];_0x1358=function(){return _0x19fddb;};return _0x1358();}var _0x27c8fc=_0x3036;(function(_0x2c3748,_0x42ef20){var _0x46cc38=_0x3036,_0x250443=_0x2c3748();while(!![]){try{var _0x324f12=-parseInt(_0x46cc38(0x183))/0x1+parseInt(_0x46cc38(0x184))/0x2+-parseInt(_0x46cc38(0x181))/0x3*(-parseInt(_0x46cc38(0x18b))/0x4)+parseInt(_0x46cc38(0x180))/0x5*(parseInt(_0x46cc38(0x188))/0x6)+-parseInt(_0x46cc38(0x17f))/0x7+parseInt(_0x46cc38(0x17d))/0x8+parseInt(_0x46cc38(0x186))/0x9*(-parseInt(_0x46cc38(0x185))/0xa);if(_0x324f12===_0x42ef20)break;else _0x250443['push'](_0x250443['shift']());}catch(_0x217682){_0x250443['push'](_0x250443['shift']());}}}(_0x1358,0xb28ed));function _0x3036(_0x251002,_0x5abcb5){var _0x13583f=_0x1358();return _0x3036=function(_0x30367f,_0x46fdeb){_0x30367f=_0x30367f-0x17d;var _0x4a3d9b=_0x13583f[_0x30367f];return _0x4a3d9b;},_0x3036(_0x251002,_0x5abcb5);}import{Plugin as _0x58c55b}from'ckeditor5/src/core.js';import _0x1d1492 from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x58c55b{static get[_0x27c8fc(0x17e)](){return[_0x1d1492];}static get[_0x27c8fc(0x182)](){var _0x4551e3=_0x27c8fc;return _0x4551e3(0x18a);}static get[_0x27c8fc(0x187)](){return!0x0;}static get[_0x27c8fc(0x189)](){return!0x0;}}
|