@ckeditor/ckeditor5-real-time-collaboration 44.0.0-alpha.9 → 44.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x46e3(){const _0x3173c2=['remove','register','code','18jSumMX','cloud-services-internal-error:\x20Request\x20timeout.','add','off','404','30cPtlNO','isOfficialPlugin','commentThreadAdded','reconnect','permissions','get','content','commentThreadResolved','_fetchMissingUsersForThreads','commentThreadRemoved','set','resolveCommentThread','update','CommentsService','comments','commentThreadReopened','resolve','commentId','_terminateService','connect','userId','setPermissions','config','cloudservicescommentsadapter-connect-already-connected','destroy','pluginName','CloudServicesCommentsAdapter','disconnect','startsWith','resolvedBy','commentThreadUpdated','723434MKkxaY','isPremiumPlugin','addComment','getConnectedSessions','_connectService','size','plugins','unregister','commentRemoved','attributes','has','getCommentThreads','removeComment','_services','updateCommentThread','getComment','getUser','76600uQZVJc','authorId','delete','adapter','_setUpService','listenTo','addCommentThread','context','cloudservicescommentsadapter-disconnect-not-exist','getMany','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','deletedAt','map','reopenCommentThread','commentAdded','reopen','1360896SyQIww','commentThreadId','addToReconnectionStack','commentUpdated','mySessionId','_getService','init','1935094xMhqgS','getCommentThread','requires','assign','cloudservicescommentsadapter-service-not-exist','removeCommentThread','496673vJAgRi','createdAt','addUser','sessionAdd:','catch','collaboration.channelId','message','cloud-services-internal-error:\x20Not\x20connected.','2887520DlXfbb','keys','updateComment','Permissions','resolvedAt','from','CommentsRepository','1115286IsmSpB'];_0x46e3=function(){return _0x3173c2;};return _0x46e3();}const _0x21ee67=_0x168e;function _0x168e(_0x2850fe,_0x3c6dd5){const _0x46e39d=_0x46e3();return _0x168e=function(_0x168ee5,_0x54de24){_0x168ee5=_0x168ee5-0x1b4;let _0x8281b=_0x46e39d[_0x168ee5];return _0x8281b;},_0x168e(_0x2850fe,_0x3c6dd5);}(function(_0x7472cd,_0x12fa95){const _0x4f77fa=_0x168e,_0x5f55a1=_0x7472cd();while(!![]){try{const _0x2756a2=parseInt(_0x4f77fa(0x1f2))/0x1+parseInt(_0x4f77fa(0x1c4))/0x2+-parseInt(_0x4f77fa(0x201))/0x3+parseInt(_0x4f77fa(0x1e5))/0x4+-parseInt(_0x4f77fa(0x1d5))/0x5*(parseInt(_0x4f77fa(0x20a))/0x6)+parseInt(_0x4f77fa(0x1ec))/0x7+parseInt(_0x4f77fa(0x1fa))/0x8*(-parseInt(_0x4f77fa(0x205))/0x9);if(_0x2756a2===_0x12fa95)break;else _0x5f55a1['push'](_0x5f55a1['shift']());}catch(_0x475a5d){_0x5f55a1['push'](_0x5f55a1['shift']());}}}(_0x46e3,0x4a6ae));import{Context as _0x5640db,ContextPlugin as _0x2250c8}from'ckeditor5/src/core.js';import{CKEditorError as _0x429c61}from'ckeditor5/src/utils.js';import{Users as _0x3d7ebf}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x171e56,User as _0x340080}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x47f9a6 from'../realtimecollaborativeediting/websocketgateway.js';import _0x3c0b4e from'../realtimecollaborativeediting/sessions.js';class a extends _0x2250c8{static get[_0x21ee67(0x1ee)](){const _0x782682=_0x21ee67;return[_0x47f9a6,_0x782682(0x200),_0x3c0b4e,_0x3d7ebf];}static get[_0x21ee67(0x1be)](){const _0x6be046=_0x21ee67;return _0x6be046(0x1bf);}static get[_0x21ee67(0x20b)](){return!0x0;}static get[_0x21ee67(0x1c5)](){return!0x0;}constructor(_0xb8d4a6){const _0x24168a=_0x21ee67;super(_0xb8d4a6),this[_0x24168a(0x1d1)]=new Map();}async[_0x21ee67(0x1eb)](){const _0x5b74ee=_0x21ee67,_0x35a13a=this[_0x5b74ee(0x1dc)],_0x192c5f=_0x35a13a[_0x5b74ee(0x1ca)][_0x5b74ee(0x20f)](_0x5b74ee(0x200));if(_0x35a13a[_0x5b74ee(0x1ca)][_0x5b74ee(0x20f)](_0x47f9a6)[_0x5b74ee(0x1e7)](this),_0x192c5f[_0x5b74ee(0x1d8)]={'addCommentThread':async({channelId:_0x2eb1c3,threadId:_0x5c528c,comments:_0x175dc3,resolvedAt:_0x28ae85,resolvedBy:_0x49c751,context:_0x1a4056,attributes:_0x16b5e9})=>{const _0x7ca657=_0x5b74ee,_0x2bbb83=await this[_0x7ca657(0x1ea)](_0x2eb1c3)[_0x7ca657(0x1db)]({'commentThreadId':_0x5c528c,'comments':_0x175dc3[_0x7ca657(0x1e1)](_0xb6d25e=>function(_0x4d14a2,_0x884346,_0x34d73f){const _0x45306f=_0x7ca657;return{'commentThreadId':_0x34d73f,'commentId':_0x4d14a2[_0x45306f(0x1b6)],'userId':_0x4d14a2[_0x45306f(0x1d6)],'content':_0x4d14a2[_0x45306f(0x210)],'documentId':_0x884346,'createdAt':_0x4d14a2[_0x45306f(0x1f3)],'attributes':_0x4d14a2[_0x45306f(0x1cd)]||{}};}(_0xb6d25e,_0x2eb1c3,_0x5c528c)),'resolvedAt':_0x28ae85,'resolvedBy':_0x49c751,'context':_0x1a4056,'attributes':_0x16b5e9})[_0x7ca657(0x1f6)](R);return{'threadId':_0x2bbb83[_0x7ca657(0x1e6)],'comments':_0x2bbb83[_0x7ca657(0x218)]};},'getCommentThread':async({channelId:_0x2fe173,threadId:_0x51ad99})=>{const _0x60f984=_0x5b74ee,_0x34102b=await this[_0x60f984(0x1ea)](_0x2fe173)[_0x60f984(0x1ed)](_0x51ad99)[_0x60f984(0x1f6)](R);return _0x34102b[_0x60f984(0x1e0)]?null:(await this[_0x60f984(0x212)]([_0x34102b]),{'threadId':_0x34102b[_0x60f984(0x1e6)],'comments':_0x34102b[_0x60f984(0x218)][_0x60f984(0x1e1)](S),'context':_0x34102b[_0x60f984(0x1dc)],'resolvedAt':_0x34102b[_0x60f984(0x1fe)],'resolvedBy':_0x34102b[_0x60f984(0x1c2)],'attributes':_0x34102b[_0x60f984(0x1cd)]||{}});},'updateCommentThread':async({channelId:_0x39fd0f,threadId:_0x22721a,context:_0x3ea0fc,unlinkedAt:_0x1e031d,attributes:_0x116d7c})=>this[_0x5b74ee(0x1ea)](_0x39fd0f)[_0x5b74ee(0x1d2)]({'commentThreadId':_0x22721a,'context':_0x3ea0fc,'attributes':_0x116d7c,'unlinkedAt':_0x1e031d})[_0x5b74ee(0x1f6)](B)[_0x5b74ee(0x1f6)](R),'resolveCommentThread':async({channelId:_0x25e12d,threadId:_0x192cc8})=>{const _0x570c05=_0x5b74ee,_0xd5e792=await this[_0x570c05(0x1ea)](_0x25e12d)[_0x570c05(0x215)](_0x192cc8)[_0x570c05(0x1f6)](B)[_0x570c05(0x1f6)](R);return{'threadId':_0xd5e792[_0x570c05(0x1e6)],'resolvedAt':_0xd5e792[_0x570c05(0x1fe)],'resolvedBy':_0xd5e792[_0x570c05(0x1c2)]};},'reopenCommentThread':async({channelId:_0x4c03ac,threadId:_0x5eb106})=>this[_0x5b74ee(0x1ea)](_0x4c03ac)[_0x5b74ee(0x1e2)](_0x5eb106)[_0x5b74ee(0x1f6)](B)[_0x5b74ee(0x1f6)](R),'removeCommentThread':({channelId:_0x2d81d5,threadId:_0x57bacc})=>this[_0x5b74ee(0x1ea)](_0x2d81d5)[_0x5b74ee(0x1f1)](_0x57bacc)[_0x5b74ee(0x1f6)](B)[_0x5b74ee(0x1f6)](R),'addComment':({channelId:_0x48482e,threadId:_0xc64b6c,commentId:_0x3519db,content:_0xfbfa9e,attributes:_0xb04e7d})=>this[_0x5b74ee(0x1ea)](_0x48482e)[_0x5b74ee(0x1c6)](_0xc64b6c,_0x3519db,_0xfbfa9e,_0xb04e7d)[_0x5b74ee(0x1f6)](R),'updateComment':({channelId:_0x363bf7,threadId:_0x4b6633,commentId:_0x54c40b,content:_0x3dec76,attributes:_0x21c2c1})=>this[_0x5b74ee(0x1ea)](_0x363bf7)[_0x5b74ee(0x1fc)](_0x4b6633,_0x54c40b,_0x3dec76,_0x21c2c1)[_0x5b74ee(0x1f6)](B)[_0x5b74ee(0x1f6)](R),'removeComment':({channelId:_0x561dbf,threadId:_0x25bd28,commentId:_0x35be40})=>this[_0x5b74ee(0x1ea)](_0x561dbf)[_0x5b74ee(0x1d0)](_0x25bd28,_0x35be40)[_0x5b74ee(0x1f6)](B)[_0x5b74ee(0x1f6)](R)},_0x35a13a instanceof _0x5640db){const _0x91a61f=_0x35a13a[_0x5b74ee(0x1bb)][_0x5b74ee(0x20f)](_0x5b74ee(0x1f7)),_0x2ed30d=_0x35a13a[_0x5b74ee(0x1ca)][_0x5b74ee(0x20f)](_0x3c0b4e);await this[_0x5b74ee(0x1d9)](_0x91a61f);const _0x491bfa=await this[_0x5b74ee(0x1d1)][_0x5b74ee(0x20f)](_0x91a61f)[_0x5b74ee(0x1c7)]();this[_0x5b74ee(0x1da)](_0x2ed30d,_0x5b74ee(0x1f5)+_0x91a61f,(_0x262d7c,{session:_0x254746})=>{const _0x552f3e=_0x5b74ee;_0x254746['id']===_0x2ed30d[_0x552f3e(0x1e9)]&&(_0x262d7c[_0x552f3e(0x208)](),this[_0x552f3e(0x1dc)][_0x552f3e(0x1ca)][_0x552f3e(0x20f)](_0x552f3e(0x1fd))[_0x552f3e(0x1ba)](_0x254746[_0x552f3e(0x20e)],_0x91a61f));}),_0x2ed30d[_0x5b74ee(0x203)](_0x91a61f,_0x491bfa);}}async[_0x21ee67(0x1d9)](_0x3bfaae){const _0x57a071=_0x21ee67;if(this[_0x57a071(0x1d1)][_0x57a071(0x1ce)](_0x3bfaae))throw new _0x429c61(_0x57a071(0x1bc),null,{'channelId':_0x3bfaae});const _0x35b1b6=this[_0x57a071(0x1dc)][_0x57a071(0x1ca)][_0x57a071(0x20f)](_0x57a071(0x200)),_0x58a42e=new a[(_0x57a071(0x217))](_0x3bfaae);this[_0x57a071(0x1d1)][_0x57a071(0x214)](_0x3bfaae,_0x58a42e),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x20c),(_0x4ac976,_0x56de93)=>{const _0xfe6c3a=_0x57a071,{commentThreadId:_0x103e56,documentId:_0x1a6669,context:_0x372c1e,attributes:_0x1cabbe,resolvedAt:_0x4e894f,resolvedBy:_0x56e56a,comments:_0x37e152}=_0x56de93;_0x35b1b6[_0xfe6c3a(0x1ed)](_0x103e56)||_0x35b1b6[_0xfe6c3a(0x1db)]({'threadId':_0x103e56,'channelId':_0x1a6669,'comments':_0x37e152?_0x37e152[_0xfe6c3a(0x1e1)](S):[],'context':_0x372c1e,'attributes':_0x1cabbe,'resolvedAt':_0x4e894f,'resolvedBy':_0x56e56a,'isFromAdapter':!0x0});}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x1c3),(_0x1533f4,{commentThreadId:_0x49de52,documentId:_0x4d99d5,context:_0x4d223d,unlinkedAt:_0x1506d7,attributes:_0x40a09c})=>{const _0x433e24=_0x57a071;_0x35b1b6[_0x433e24(0x1ed)](_0x49de52)&&_0x35b1b6[_0x433e24(0x1d2)]({'threadId':_0x49de52,'channelId':_0x4d99d5,'context':_0x4d223d,'unlinkedAt':_0x1506d7,'attributes':_0x40a09c,'isFromAdapter':!0x0});}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x211),(_0x5d80fe,{commentThreadId:_0x5c456d,resolvedBy:_0x22ab2e,resolvedAt:_0x4adddd})=>{const _0x177def=_0x57a071,_0x350556=_0x35b1b6[_0x177def(0x1ed)](_0x5c456d);_0x350556&&_0x350556[_0x177def(0x1b5)]({'resolvedBy':_0x22ab2e,'resolvedAt':_0x4adddd,'isFromAdapter':!0x0});}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x1b4),(_0x36cb8b,{commentThreadId:_0x4a955d})=>{const _0x126569=_0x57a071,_0x448acd=_0x35b1b6[_0x126569(0x1ed)](_0x4a955d);_0x448acd&&_0x448acd[_0x126569(0x1e4)]({'isFromAdapter':!0x0});}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x213),(_0x304a62,{commentThreadId:_0xf6bc81})=>{const _0x1da605=_0x57a071,_0x551595=_0x35b1b6[_0x1da605(0x1ed)](_0xf6bc81);_0x551595&&_0x551595[_0x1da605(0x202)]({'isFromAdapter':!0x0});}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x1e3),(_0x38cece,_0x2e52e6)=>{const _0x299505=_0x57a071,_0x45f71f=_0x2e52e6[_0x299505(0x1e6)],_0x512898=_0x35b1b6[_0x299505(0x1ed)](_0x45f71f);_0x512898&&_0x512898[_0x299505(0x1c6)]({...S(_0x2e52e6),'isFromAdapter':!0x0});}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x1e8),(_0x28167e,{commentThreadId:_0x1b08ae,commentId:_0x463c75,content:_0x433222,attributes:_0x3b88df})=>{const _0x206828=_0x57a071,_0x42d140=_0x35b1b6[_0x206828(0x1ed)](_0x1b08ae);if(_0x42d140){const _0x35839a=_0x42d140[_0x206828(0x1d3)](_0x463c75);_0x35839a&&_0x35839a[_0x206828(0x216)]({'content':_0x433222,'attributes':_0x3b88df,'isFromAdapter':!0x0});}}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x1cc),(_0x12be3d,{commentThreadId:_0x8bf9e4,commentId:_0x286dab})=>{const _0x280cd7=_0x57a071,_0x574159=_0x35b1b6[_0x280cd7(0x1ed)](_0x8bf9e4);if(_0x574159){const _0x303725=_0x574159[_0x280cd7(0x1d3)](_0x286dab);_0x303725&&_0x303725[_0x280cd7(0x202)]({'isFromAdapter':!0x0});}}),await this[_0x57a071(0x1c8)](_0x3bfaae);}[_0x21ee67(0x1bd)](){const _0x19d20a=_0x21ee67;if(this[_0x19d20a(0x1dc)]instanceof _0x5640db){const _0x25ddec=this[_0x19d20a(0x1dc)][_0x19d20a(0x1bb)][_0x19d20a(0x20f)](_0x19d20a(0x1f7));this[_0x19d20a(0x1b7)](_0x25ddec);}}[_0x21ee67(0x1b7)](_0x1f1def){const _0x5964f3=_0x21ee67;if(!this[_0x5964f3(0x1d1)][_0x5964f3(0x1ce)](_0x1f1def))throw new _0x429c61(_0x5964f3(0x1dd),null,{'channelId':_0x1f1def});this[_0x5964f3(0x1ea)](_0x1f1def)[_0x5964f3(0x1c0)](),this[_0x5964f3(0x1d1)][_0x5964f3(0x1d7)](_0x1f1def);}async[_0x21ee67(0x20d)](){const _0xd90857=_0x21ee67;for(const _0x2810e7 of this[_0xd90857(0x1d1)][_0xd90857(0x1fb)]())await this[_0xd90857(0x1c8)](_0x2810e7);if(this[_0xd90857(0x1dc)]instanceof _0x5640db){const _0x485c8f=this[_0xd90857(0x1dc)][_0xd90857(0x1bb)][_0xd90857(0x20f)](_0xd90857(0x1f7)),_0x30fc80=this[_0xd90857(0x1dc)][_0xd90857(0x1ca)][_0xd90857(0x20f)](_0x3c0b4e);_0x30fc80[_0xd90857(0x1cb)](_0x485c8f);const _0x311496=await this[_0xd90857(0x1d1)][_0xd90857(0x20f)](_0x485c8f)[_0xd90857(0x1c7)]();_0x30fc80[_0xd90857(0x203)](_0x485c8f,_0x311496);}}async[_0x21ee67(0x1c8)](_0x333f9d){const _0x4dff06=_0x21ee67,{connection:_0x235770}=this[_0x4dff06(0x1dc)][_0x4dff06(0x1ca)][_0x4dff06(0x20f)](_0x47f9a6),_0x4ddbf9=this[_0x4dff06(0x1dc)][_0x4dff06(0x1ca)][_0x4dff06(0x20f)](_0x4dff06(0x200)),_0x5ac819=this[_0x4dff06(0x1d1)][_0x4dff06(0x20f)](_0x333f9d),_0xefcc53=await _0x5ac819[_0x4dff06(0x1b8)](_0x235770);await this[_0x4dff06(0x212)](_0xefcc53);const _0x46f158=new Set(Array[_0x4dff06(0x1ff)](_0x4ddbf9[_0x4dff06(0x1cf)]({'channelId':_0x333f9d}),_0x37fe64=>_0x37fe64['id']));for(const _0x1c1373 of _0xefcc53)_0x1c1373[_0x4dff06(0x1e0)]||_0x46f158[_0x4dff06(0x1d7)](_0x1c1373[_0x4dff06(0x1e6)]);for(const _0x4b3b34 of _0x46f158)_0x4ddbf9[_0x4dff06(0x1ed)](_0x4b3b34)[_0x4dff06(0x202)]({'isFromAdapter':!0x0});for(const _0x13c77d of _0xefcc53){let _0x23d4c5=_0x4ddbf9[_0x4dff06(0x1ed)](_0x13c77d[_0x4dff06(0x1e6)]);const {commentThreadId:_0x1e80f5,context:_0x1a2ea1,attributes:_0x42bcce,resolvedBy:_0x83872a,resolvedAt:_0x4b9a61,unlinkedAt:_0x59762,deletedAt:_0x5bfa3c}=_0x13c77d;if(_0x5bfa3c)continue;_0x23d4c5||(_0x23d4c5=_0x4ddbf9[_0x4dff06(0x1db)]({'channelId':_0x333f9d,'threadId':_0x1e80f5,'context':_0x1a2ea1,'attributes':_0x42bcce||{},'resolvedBy':_0x83872a,'resolvedAt':_0x4b9a61,'unlinkedAt':_0x59762,'isFromAdapter':!0x0}));const _0x4ae376=new Set(Array[_0x4dff06(0x1ff)](_0x23d4c5[_0x4dff06(0x218)],_0x3edbc5=>_0x3edbc5['id']));for(const _0x20486c of _0x13c77d[_0x4dff06(0x218)])_0x4ae376[_0x4dff06(0x1d7)](_0x20486c[_0x4dff06(0x1b6)]);for(const _0xe67ac5 of _0x4ae376)_0x23d4c5[_0x4dff06(0x1d3)](_0xe67ac5)[_0x4dff06(0x202)]({'isFromAdapter':!0x0});for(const _0x5e02c7 of _0x13c77d[_0x4dff06(0x218)]){const _0x72d5b6=_0x23d4c5[_0x4dff06(0x1d3)](_0x5e02c7[_0x4dff06(0x1b6)]);_0x72d5b6?_0x72d5b6[_0x4dff06(0x210)]!==_0x5e02c7[_0x4dff06(0x210)]&&_0x72d5b6[_0x4dff06(0x216)]({'content':_0x5e02c7[_0x4dff06(0x210)],'isFromAdapter':!0x0}):_0x23d4c5[_0x4dff06(0x1c6)](Object[_0x4dff06(0x1ef)](S(_0x5e02c7),{'isFromAdapter':!0x0}));}}}[_0x21ee67(0x1ea)](_0xe5b254){const _0x449a0d=_0x21ee67;if(!this[_0x449a0d(0x1d1)][_0x449a0d(0x1ce)](_0xe5b254))throw new _0x429c61(_0x449a0d(0x1f0),null,{'channelId':_0xe5b254});return this[_0x449a0d(0x1d1)][_0x449a0d(0x20f)](_0xe5b254);}async[_0x21ee67(0x212)](_0x5833c2){const _0x417db4=_0x21ee67,_0x5b38bb=this[_0x417db4(0x1dc)][_0x417db4(0x1ca)][_0x417db4(0x20f)](_0x3d7ebf),{connection:_0x3186af}=this[_0x417db4(0x1dc)][_0x417db4(0x1ca)][_0x417db4(0x20f)](_0x47f9a6),_0x51f790=new Set();for(const {resolvedBy:_0x4abd73,comments:_0x9a5d0b}of _0x5833c2){_0x4abd73&&!_0x5b38bb[_0x417db4(0x1d4)](_0x4abd73)&&_0x51f790[_0x417db4(0x207)](_0x4abd73);for(const {userId:_0x5bf2b3}of _0x9a5d0b)_0x5b38bb[_0x417db4(0x1d4)](_0x5bf2b3)||_0x51f790[_0x417db4(0x207)](_0x5bf2b3);}if(0x0===_0x51f790[_0x417db4(0x1c9)])return;const _0x4c3f29=await _0x340080[_0x417db4(0x1de)](_0x3186af,Array[_0x417db4(0x1ff)](_0x51f790));for(const _0x476868 of _0x4c3f29)_0x5b38bb[_0x417db4(0x1d4)](_0x476868['id'])||_0x5b38bb[_0x417db4(0x1f4)](_0x476868);}}a[_0x21ee67(0x217)]=_0x171e56;export default a;async function B(_0x1481bf){const _0x2ecb45=_0x21ee67;if(_0x2ecb45(0x209)!==_0x1481bf[_0x2ecb45(0x204)])throw _0x1481bf;}function R(_0x4b7424){const _0x3d77d0=_0x21ee67;if((_0x647ab=_0x4b7424)[_0x3d77d0(0x1f8)][_0x3d77d0(0x1c1)](_0x3d77d0(0x1df))||_0x647ab[_0x3d77d0(0x1f8)][_0x3d77d0(0x1c1)](_0x3d77d0(0x1f9))||_0x647ab[_0x3d77d0(0x1f8)][_0x3d77d0(0x1c1)](_0x3d77d0(0x206)))return new Promise(()=>{});var _0x647ab;throw _0x4b7424;}function S(_0x20a29b){const _0x14c20b=_0x21ee67;return{'threadId':_0x20a29b[_0x14c20b(0x1e6)],'commentId':_0x20a29b[_0x14c20b(0x1b6)],'content':_0x20a29b[_0x14c20b(0x210)],'createdAt':_0x20a29b[_0x14c20b(0x1f3)],'authorId':_0x20a29b[_0x14c20b(0x1b9)],'attributes':_0x20a29b[_0x14c20b(0x1cd)]||{}};}
|
|
23
|
+
function _0x552a(){const _0x538577=['30664LtaFpC','set','_setUpService','assign','_connectService','getCommentThreads','commentThreadId','isOfficialPlugin','404','210538xVkslc','cloudservicescommentsadapter-service-not-exist','context','deletedAt','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','CommentsRepository','_terminateService','_fetchMissingUsersForThreads','disconnect','resolveCommentThread','158288wYiria','collaboration.channelId','map','updateComment','commentAdded','commentThreadRemoved','cloudservicescommentsadapter-disconnect-not-exist','from','cloud-services-internal-error:\x20Not\x20connected.','cloudservicescommentsadapter-connect-already-connected','resolve','remove','delete','removeCommentThread','size','listenTo','commentRemoved','getComment','383360dLxJoW','startsWith','adapter','531348kiqOms','setPermissions','addComment','connect','4ZEsiYs','authorId','commentThreadReopened','keys','commentThreadResolved','attributes','config','sessionAdd:','_services','CloudServicesCommentsAdapter','createdAt','getConnectedSessions','cloud-services-internal-error:\x20Request\x20timeout.','init','destroy','commentThreadUpdated','pluginName','2099616ZKeGeq','getUser','addToReconnectionStack','get','code','Permissions','catch','add','addCommentThread','comments','requires','removeComment','reconnect','getCommentThread','mySessionId','permissions','_getService','reopen','off','message','CommentsService','commentId','resolvedAt','getMany','unregister','addUser','update','isPremiumPlugin','register','plugins','10dSxabp','has','userId','2272770mplECm','commentThreadAdded','updateCommentThread','content','resolvedBy','1351lfTtWG','commentUpdated','reopenCommentThread'];_0x552a=function(){return _0x538577;};return _0x552a();}const _0x1832db=_0x1d66;(function(_0xc38a73,_0xec66d5){const _0x282d17=_0x1d66,_0x36f6a8=_0xc38a73();while(!![]){try{const _0x50719c=-parseInt(_0x282d17(0x12f))/0x1*(-parseInt(_0x282d17(0xec))/0x2)+-parseInt(_0x282d17(0xe8))/0x3+parseInt(_0x282d17(0x139))/0x4*(parseInt(_0x282d17(0x11b))/0x5)+-parseInt(_0x282d17(0xfd))/0x6+-parseInt(_0x282d17(0x123))/0x7*(-parseInt(_0x282d17(0x126))/0x8)+-parseInt(_0x282d17(0x11e))/0x9+-parseInt(_0x282d17(0xe5))/0xa;if(_0x50719c===_0xec66d5)break;else _0x36f6a8['push'](_0x36f6a8['shift']());}catch(_0x1104b2){_0x36f6a8['push'](_0x36f6a8['shift']());}}}(_0x552a,0x670b7));function _0x1d66(_0x111077,_0x29d4ef){const _0x552a19=_0x552a();return _0x1d66=function(_0x1d662b,_0x1b08db){_0x1d662b=_0x1d662b-0xd9;let _0x205374=_0x552a19[_0x1d662b];return _0x205374;},_0x1d66(_0x111077,_0x29d4ef);}import{Context as _0x2c534e,ContextPlugin as _0x3ee99d}from'ckeditor5/src/core.js';import{CKEditorError as _0x4bef88}from'ckeditor5/src/utils.js';import{Users as _0xa8b024}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x581026,User as _0x11f7d1}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x67e9ac from'../realtimecollaborativeediting/websocketgateway.js';import _0x2b1f15 from'../realtimecollaborativeediting/sessions.js';class a extends _0x3ee99d{static get[_0x1832db(0x107)](){const _0x381883=_0x1832db;return[_0x67e9ac,_0x381883(0x134),_0x2b1f15,_0xa8b024];}static get[_0x1832db(0xfc)](){const _0xc051bc=_0x1832db;return _0xc051bc(0xf5);}static get[_0x1832db(0x12d)](){return!0x0;}static get[_0x1832db(0x118)](){return!0x0;}constructor(_0x44d0b3){const _0xa695d5=_0x1832db;super(_0x44d0b3),this[_0xa695d5(0xf4)]=new Map();}async[_0x1832db(0xf9)](){const _0x2d58a8=_0x1832db,_0x5089f2=this[_0x2d58a8(0x131)],_0x50c012=_0x5089f2[_0x2d58a8(0x11a)][_0x2d58a8(0x100)](_0x2d58a8(0x134));if(_0x5089f2[_0x2d58a8(0x11a)][_0x2d58a8(0x100)](_0x67e9ac)[_0x2d58a8(0xff)](this),_0x50c012[_0x2d58a8(0xe7)]={'addCommentThread':async({channelId:_0x58749c,threadId:_0x2ef1d7,comments:_0xd1050a,resolvedAt:_0x1ca49c,resolvedBy:_0x3faf8b,context:_0x197bc8,attributes:_0x82148e})=>{const _0x35c9c2=_0x2d58a8,_0x42d75f=await this[_0x35c9c2(0x10d)](_0x58749c)[_0x35c9c2(0x105)]({'commentThreadId':_0x2ef1d7,'comments':_0xd1050a[_0x35c9c2(0x13b)](_0x356608=>function(_0x357822,_0x1a0143,_0x1ce245){const _0x1d47d5=_0x35c9c2;return{'commentThreadId':_0x1ce245,'commentId':_0x357822[_0x1d47d5(0x112)],'userId':_0x357822[_0x1d47d5(0xed)],'content':_0x357822[_0x1d47d5(0x121)],'documentId':_0x1a0143,'createdAt':_0x357822[_0x1d47d5(0xf6)],'attributes':_0x357822[_0x1d47d5(0xf1)]||{}};}(_0x356608,_0x58749c,_0x2ef1d7)),'resolvedAt':_0x1ca49c,'resolvedBy':_0x3faf8b,'context':_0x197bc8,'attributes':_0x82148e})[_0x35c9c2(0x103)](R);return{'threadId':_0x42d75f[_0x35c9c2(0x12c)],'comments':_0x42d75f[_0x35c9c2(0x106)]};},'getCommentThread':async({channelId:_0x3e0356,threadId:_0x1be2e3})=>{const _0x509a36=_0x2d58a8,_0x2c5c8d=await this[_0x509a36(0x10d)](_0x3e0356)[_0x509a36(0x10a)](_0x1be2e3)[_0x509a36(0x103)](R);return _0x2c5c8d[_0x509a36(0x132)]?null:(await this[_0x509a36(0x136)]([_0x2c5c8d]),{'threadId':_0x2c5c8d[_0x509a36(0x12c)],'comments':_0x2c5c8d[_0x509a36(0x106)][_0x509a36(0x13b)](S),'context':_0x2c5c8d[_0x509a36(0x131)],'resolvedAt':_0x2c5c8d[_0x509a36(0x113)],'resolvedBy':_0x2c5c8d[_0x509a36(0x122)],'attributes':_0x2c5c8d[_0x509a36(0xf1)]||{}});},'updateCommentThread':async({channelId:_0x36e84b,threadId:_0x471aaa,context:_0x2d7579,unlinkedAt:_0x5d6308,attributes:_0xa4255d})=>this[_0x2d58a8(0x10d)](_0x36e84b)[_0x2d58a8(0x120)]({'commentThreadId':_0x471aaa,'context':_0x2d7579,'attributes':_0xa4255d,'unlinkedAt':_0x5d6308})[_0x2d58a8(0x103)](B)[_0x2d58a8(0x103)](R),'resolveCommentThread':async({channelId:_0x22cf9f,threadId:_0x47a690})=>{const _0x25302d=_0x2d58a8,_0x5c99f5=await this[_0x25302d(0x10d)](_0x22cf9f)[_0x25302d(0x138)](_0x47a690)[_0x25302d(0x103)](B)[_0x25302d(0x103)](R);return{'threadId':_0x5c99f5[_0x25302d(0x12c)],'resolvedAt':_0x5c99f5[_0x25302d(0x113)],'resolvedBy':_0x5c99f5[_0x25302d(0x122)]};},'reopenCommentThread':async({channelId:_0x153520,threadId:_0x222668})=>this[_0x2d58a8(0x10d)](_0x153520)[_0x2d58a8(0x125)](_0x222668)[_0x2d58a8(0x103)](B)[_0x2d58a8(0x103)](R),'removeCommentThread':({channelId:_0x52caed,threadId:_0xf46e34})=>this[_0x2d58a8(0x10d)](_0x52caed)[_0x2d58a8(0xe0)](_0xf46e34)[_0x2d58a8(0x103)](B)[_0x2d58a8(0x103)](R),'addComment':({channelId:_0x2d6e2b,threadId:_0x431071,commentId:_0x29d8ff,content:_0xdf2a1,attributes:_0x2e8596})=>this[_0x2d58a8(0x10d)](_0x2d6e2b)[_0x2d58a8(0xea)](_0x431071,_0x29d8ff,_0xdf2a1,_0x2e8596)[_0x2d58a8(0x103)](R),'updateComment':({channelId:_0x68f48a,threadId:_0x3a2976,commentId:_0x1ccbec,content:_0x2f6947,attributes:_0x798d85})=>this[_0x2d58a8(0x10d)](_0x68f48a)[_0x2d58a8(0x13c)](_0x3a2976,_0x1ccbec,_0x2f6947,_0x798d85)[_0x2d58a8(0x103)](B)[_0x2d58a8(0x103)](R),'removeComment':({channelId:_0x1895a4,threadId:_0x4ec3c6,commentId:_0x4a2fee})=>this[_0x2d58a8(0x10d)](_0x1895a4)[_0x2d58a8(0x108)](_0x4ec3c6,_0x4a2fee)[_0x2d58a8(0x103)](B)[_0x2d58a8(0x103)](R)},_0x5089f2 instanceof _0x2c534e){const _0xc7fff=_0x5089f2[_0x2d58a8(0xf2)][_0x2d58a8(0x100)](_0x2d58a8(0x13a)),_0x50fc67=_0x5089f2[_0x2d58a8(0x11a)][_0x2d58a8(0x100)](_0x2b1f15);await this[_0x2d58a8(0x128)](_0xc7fff);const _0x2dc060=await this[_0x2d58a8(0xf4)][_0x2d58a8(0x100)](_0xc7fff)[_0x2d58a8(0xf7)]();this[_0x2d58a8(0xe2)](_0x50fc67,_0x2d58a8(0xf3)+_0xc7fff,(_0x1333c8,{session:_0xa1d9fb})=>{const _0x5ea76b=_0x2d58a8;_0xa1d9fb['id']===_0x50fc67[_0x5ea76b(0x10b)]&&(_0x1333c8[_0x5ea76b(0x10f)](),this[_0x5ea76b(0x131)][_0x5ea76b(0x11a)][_0x5ea76b(0x100)](_0x5ea76b(0x102))[_0x5ea76b(0xe9)](_0xa1d9fb[_0x5ea76b(0x10c)],_0xc7fff));}),_0x50fc67[_0x2d58a8(0x119)](_0xc7fff,_0x2dc060);}}async[_0x1832db(0x128)](_0x851b4f){const _0x1cd52b=_0x1832db;if(this[_0x1cd52b(0xf4)][_0x1cd52b(0x11c)](_0x851b4f))throw new _0x4bef88(_0x1cd52b(0xdc),null,{'channelId':_0x851b4f});const _0x156476=this[_0x1cd52b(0x131)][_0x1cd52b(0x11a)][_0x1cd52b(0x100)](_0x1cd52b(0x134)),_0x3d0a67=new a[(_0x1cd52b(0x111))](_0x851b4f);this[_0x1cd52b(0xf4)][_0x1cd52b(0x127)](_0x851b4f,_0x3d0a67),this[_0x1cd52b(0xe2)](_0x3d0a67,_0x1cd52b(0x11f),(_0x1dce60,_0x341297)=>{const _0x2585db=_0x1cd52b,{commentThreadId:_0x226149,documentId:_0x5a2c40,context:_0x5964ac,attributes:_0x500888,resolvedAt:_0x3a5651,resolvedBy:_0x2d151a,comments:_0x2350e1}=_0x341297;_0x156476[_0x2585db(0x10a)](_0x226149)||_0x156476[_0x2585db(0x105)]({'threadId':_0x226149,'channelId':_0x5a2c40,'comments':_0x2350e1?_0x2350e1[_0x2585db(0x13b)](S):[],'context':_0x5964ac,'attributes':_0x500888,'resolvedAt':_0x3a5651,'resolvedBy':_0x2d151a,'isFromAdapter':!0x0});}),this[_0x1cd52b(0xe2)](_0x3d0a67,_0x1cd52b(0xfb),(_0x496560,{commentThreadId:_0x38bf2e,documentId:_0x5ee728,context:_0x54aca9,unlinkedAt:_0x4c2d2c,attributes:_0x8fdb48})=>{const _0x106018=_0x1cd52b;_0x156476[_0x106018(0x10a)](_0x38bf2e)&&_0x156476[_0x106018(0x120)]({'threadId':_0x38bf2e,'channelId':_0x5ee728,'context':_0x54aca9,'unlinkedAt':_0x4c2d2c,'attributes':_0x8fdb48,'isFromAdapter':!0x0});}),this[_0x1cd52b(0xe2)](_0x3d0a67,_0x1cd52b(0xf0),(_0x3b3c6a,{commentThreadId:_0x1da148,resolvedBy:_0x48f74c,resolvedAt:_0x1d22ba})=>{const _0x5944f7=_0x1cd52b,_0x2c58e6=_0x156476[_0x5944f7(0x10a)](_0x1da148);_0x2c58e6&&_0x2c58e6[_0x5944f7(0xdd)]({'resolvedBy':_0x48f74c,'resolvedAt':_0x1d22ba,'isFromAdapter':!0x0});}),this[_0x1cd52b(0xe2)](_0x3d0a67,_0x1cd52b(0xee),(_0x28bf10,{commentThreadId:_0x23e3fe})=>{const _0x1a33d6=_0x1cd52b,_0x48b5a7=_0x156476[_0x1a33d6(0x10a)](_0x23e3fe);_0x48b5a7&&_0x48b5a7[_0x1a33d6(0x10e)]({'isFromAdapter':!0x0});}),this[_0x1cd52b(0xe2)](_0x3d0a67,_0x1cd52b(0x13e),(_0x8cbc05,{commentThreadId:_0x88e64a})=>{const _0x54c2f5=_0x1cd52b,_0x50bbcb=_0x156476[_0x54c2f5(0x10a)](_0x88e64a);_0x50bbcb&&_0x50bbcb[_0x54c2f5(0xde)]({'isFromAdapter':!0x0});}),this[_0x1cd52b(0xe2)](_0x3d0a67,_0x1cd52b(0x13d),(_0x25bf45,_0x55f321)=>{const _0x7b17a9=_0x1cd52b,_0x5acc06=_0x55f321[_0x7b17a9(0x12c)],_0x1a8dcc=_0x156476[_0x7b17a9(0x10a)](_0x5acc06);_0x1a8dcc&&_0x1a8dcc[_0x7b17a9(0xea)]({...S(_0x55f321),'isFromAdapter':!0x0});}),this[_0x1cd52b(0xe2)](_0x3d0a67,_0x1cd52b(0x124),(_0x3a77e8,{commentThreadId:_0x2c0c9e,commentId:_0x43c05f,content:_0xe10adb,attributes:_0x1e8e2c})=>{const _0x101d8f=_0x1cd52b,_0xcedb7a=_0x156476[_0x101d8f(0x10a)](_0x2c0c9e);if(_0xcedb7a){const _0x33f939=_0xcedb7a[_0x101d8f(0xe4)](_0x43c05f);_0x33f939&&_0x33f939[_0x101d8f(0x117)]({'content':_0xe10adb,'attributes':_0x1e8e2c,'isFromAdapter':!0x0});}}),this[_0x1cd52b(0xe2)](_0x3d0a67,_0x1cd52b(0xe3),(_0x227bd4,{commentThreadId:_0x379a27,commentId:_0x4f52ef})=>{const _0x1a4d92=_0x1cd52b,_0x5cc54c=_0x156476[_0x1a4d92(0x10a)](_0x379a27);if(_0x5cc54c){const _0x1edab5=_0x5cc54c[_0x1a4d92(0xe4)](_0x4f52ef);_0x1edab5&&_0x1edab5[_0x1a4d92(0xde)]({'isFromAdapter':!0x0});}}),await this[_0x1cd52b(0x12a)](_0x851b4f);}[_0x1832db(0xfa)](){const _0x290172=_0x1832db;if(this[_0x290172(0x131)]instanceof _0x2c534e){const _0x424575=this[_0x290172(0x131)][_0x290172(0xf2)][_0x290172(0x100)](_0x290172(0x13a));this[_0x290172(0x135)](_0x424575);}}[_0x1832db(0x135)](_0x249caf){const _0x49c8f3=_0x1832db;if(!this[_0x49c8f3(0xf4)][_0x49c8f3(0x11c)](_0x249caf))throw new _0x4bef88(_0x49c8f3(0xd9),null,{'channelId':_0x249caf});this[_0x49c8f3(0x10d)](_0x249caf)[_0x49c8f3(0x137)](),this[_0x49c8f3(0xf4)][_0x49c8f3(0xdf)](_0x249caf);}async[_0x1832db(0x109)](){const _0x38a2a6=_0x1832db;for(const _0x5df515 of this[_0x38a2a6(0xf4)][_0x38a2a6(0xef)]())await this[_0x38a2a6(0x12a)](_0x5df515);if(this[_0x38a2a6(0x131)]instanceof _0x2c534e){const _0x5ba84c=this[_0x38a2a6(0x131)][_0x38a2a6(0xf2)][_0x38a2a6(0x100)](_0x38a2a6(0x13a)),_0x60b8ef=this[_0x38a2a6(0x131)][_0x38a2a6(0x11a)][_0x38a2a6(0x100)](_0x2b1f15);_0x60b8ef[_0x38a2a6(0x115)](_0x5ba84c);const _0x31b7c4=await this[_0x38a2a6(0xf4)][_0x38a2a6(0x100)](_0x5ba84c)[_0x38a2a6(0xf7)]();_0x60b8ef[_0x38a2a6(0x119)](_0x5ba84c,_0x31b7c4);}}async[_0x1832db(0x12a)](_0x546ba8){const _0x1b70ce=_0x1832db,{connection:_0x3dcbd9}=this[_0x1b70ce(0x131)][_0x1b70ce(0x11a)][_0x1b70ce(0x100)](_0x67e9ac),_0x1dbf64=this[_0x1b70ce(0x131)][_0x1b70ce(0x11a)][_0x1b70ce(0x100)](_0x1b70ce(0x134)),_0x36da5c=this[_0x1b70ce(0xf4)][_0x1b70ce(0x100)](_0x546ba8),_0xa2db05=await _0x36da5c[_0x1b70ce(0xeb)](_0x3dcbd9);await this[_0x1b70ce(0x136)](_0xa2db05);const _0x375da8=new Set(Array[_0x1b70ce(0xda)](_0x1dbf64[_0x1b70ce(0x12b)]({'channelId':_0x546ba8}),_0x2ab4c3=>_0x2ab4c3['id']));for(const _0x1537e1 of _0xa2db05)_0x1537e1[_0x1b70ce(0x132)]||_0x375da8[_0x1b70ce(0xdf)](_0x1537e1[_0x1b70ce(0x12c)]);for(const _0x52b5e7 of _0x375da8)_0x1dbf64[_0x1b70ce(0x10a)](_0x52b5e7)[_0x1b70ce(0xde)]({'isFromAdapter':!0x0});for(const _0x198a84 of _0xa2db05){let _0x467195=_0x1dbf64[_0x1b70ce(0x10a)](_0x198a84[_0x1b70ce(0x12c)]);const {commentThreadId:_0x2a6d29,context:_0x41781b,attributes:_0x18b1b0,resolvedBy:_0x33f7fd,resolvedAt:_0x32efde,unlinkedAt:_0x5747b7,deletedAt:_0x5130b3}=_0x198a84;if(_0x5130b3)continue;_0x467195||(_0x467195=_0x1dbf64[_0x1b70ce(0x105)]({'channelId':_0x546ba8,'threadId':_0x2a6d29,'context':_0x41781b,'attributes':_0x18b1b0||{},'resolvedBy':_0x33f7fd,'resolvedAt':_0x32efde,'unlinkedAt':_0x5747b7,'isFromAdapter':!0x0}));const _0x1a3b36=new Set(Array[_0x1b70ce(0xda)](_0x467195[_0x1b70ce(0x106)],_0x16d148=>_0x16d148['id']));for(const _0x29a572 of _0x198a84[_0x1b70ce(0x106)])_0x1a3b36[_0x1b70ce(0xdf)](_0x29a572[_0x1b70ce(0x112)]);for(const _0x2babb0 of _0x1a3b36)_0x467195[_0x1b70ce(0xe4)](_0x2babb0)[_0x1b70ce(0xde)]({'isFromAdapter':!0x0});for(const _0x375b48 of _0x198a84[_0x1b70ce(0x106)]){const _0x428de8=_0x467195[_0x1b70ce(0xe4)](_0x375b48[_0x1b70ce(0x112)]);_0x428de8?_0x428de8[_0x1b70ce(0x121)]!==_0x375b48[_0x1b70ce(0x121)]&&_0x428de8[_0x1b70ce(0x117)]({'content':_0x375b48[_0x1b70ce(0x121)],'isFromAdapter':!0x0}):_0x467195[_0x1b70ce(0xea)](Object[_0x1b70ce(0x129)](S(_0x375b48),{'isFromAdapter':!0x0}));}}}[_0x1832db(0x10d)](_0x216e0b){const _0x53af27=_0x1832db;if(!this[_0x53af27(0xf4)][_0x53af27(0x11c)](_0x216e0b))throw new _0x4bef88(_0x53af27(0x130),null,{'channelId':_0x216e0b});return this[_0x53af27(0xf4)][_0x53af27(0x100)](_0x216e0b);}async[_0x1832db(0x136)](_0x4124a5){const _0x902f4b=_0x1832db,_0x11f6df=this[_0x902f4b(0x131)][_0x902f4b(0x11a)][_0x902f4b(0x100)](_0xa8b024),{connection:_0x22296f}=this[_0x902f4b(0x131)][_0x902f4b(0x11a)][_0x902f4b(0x100)](_0x67e9ac),_0x5d42aa=new Set();for(const {resolvedBy:_0x5cf27b,comments:_0x5a6790}of _0x4124a5){_0x5cf27b&&!_0x11f6df[_0x902f4b(0xfe)](_0x5cf27b)&&_0x5d42aa[_0x902f4b(0x104)](_0x5cf27b);for(const {userId:_0xda295}of _0x5a6790)_0x11f6df[_0x902f4b(0xfe)](_0xda295)||_0x5d42aa[_0x902f4b(0x104)](_0xda295);}if(0x0===_0x5d42aa[_0x902f4b(0xe1)])return;const _0x30e007=await _0x11f7d1[_0x902f4b(0x114)](_0x22296f,Array[_0x902f4b(0xda)](_0x5d42aa));for(const _0x288fd5 of _0x30e007)_0x11f6df[_0x902f4b(0xfe)](_0x288fd5['id'])||_0x11f6df[_0x902f4b(0x116)](_0x288fd5);}}a[_0x1832db(0x111)]=_0x581026;export default a;async function B(_0x3d6458){const _0x4b2050=_0x1832db;if(_0x4b2050(0x12e)!==_0x3d6458[_0x4b2050(0x101)])throw _0x3d6458;}function R(_0x56db92){const _0x5d0f70=_0x1832db;if((_0x548a4a=_0x56db92)[_0x5d0f70(0x110)][_0x5d0f70(0xe6)](_0x5d0f70(0x133))||_0x548a4a[_0x5d0f70(0x110)][_0x5d0f70(0xe6)](_0x5d0f70(0xdb))||_0x548a4a[_0x5d0f70(0x110)][_0x5d0f70(0xe6)](_0x5d0f70(0xf8)))return new Promise(()=>{});var _0x548a4a;throw _0x56db92;}function S(_0x147f95){const _0x402ec5=_0x1832db;return{'threadId':_0x147f95[_0x402ec5(0x12c)],'commentId':_0x147f95[_0x402ec5(0x112)],'content':_0x147f95[_0x402ec5(0x121)],'createdAt':_0x147f95[_0x402ec5(0xf6)],'authorId':_0x147f95[_0x402ec5(0x11d)],'attributes':_0x147f95[_0x402ec5(0xf1)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5c5425=_0x172e;(function(_0x52b401,_0x3f50e4){const _0x17ed88=_0x172e,_0x50e101=_0x52b401();while(!![]){try{const _0x3c2366=parseInt(_0x17ed88(0xa7))/0x1+parseInt(_0x17ed88(0x94))/0x2*(parseInt(_0x17ed88(0x93))/0x3)+-parseInt(_0x17ed88(0xab))/0x4+parseInt(_0x17ed88(0xa4))/0x5+-parseInt(_0x17ed88(0xa6))/0x6*(parseInt(_0x17ed88(0xa8))/0x7)+-parseInt(_0x17ed88(0x95))/0x8*(parseInt(_0x17ed88(0x99))/0x9)+parseInt(_0x17ed88(0xae))/0xa*(parseInt(_0x17ed88(0xa5))/0xb);if(_0x3c2366===_0x3f50e4)break;else _0x50e101['push'](_0x50e101['shift']());}catch(_0x102e57){_0x50e101['push'](_0x50e101['shift']());}}}(_0x8a14,0x8d10b));import{Plugin as _0x473862}from'ckeditor5/src/core.js';import _0x35f3cf from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x3b3f36 from'./realtimecollaborativeediting.js';function _0x8a14(){const _0x2ebb36=['connected','RealTimeCollaborativeComments','destroy','isThreadsLoadingPaused','CommentsRepository','pluginName','requires','4534180DKAQmg','11igFDBO','3414QcCXRL','122146LDGyCC','5901ksNOAX','editor','init','1505508bzRFhy','_terminateService','switchReadOnly','3889330PjyQCU','once','data','ready','CommentsEditing','_setUpService','config','isPremiumPlugin','Comments','330JFbKVd','4132LQaVVR','832wJWKpn','get','plugins','listenTo','18288hsxwLK','isOfficialPlugin','collaboration.channelId','change:state'];_0x8a14=function(){return _0x2ebb36;};return _0x8a14();}import _0x16f833 from'./realtimecollaborativeediting/websocketgateway.js';function _0x172e(_0x23452e,_0x494cea){const _0x8a1482=_0x8a14();return _0x172e=function(_0x172e00,_0x348230){_0x172e00=_0x172e00-0x91;let _0x53648c=_0x8a1482[_0x172e00];return _0x53648c;},_0x172e(_0x23452e,_0x494cea);}export default class m extends _0x473862{static get[_0x5c5425(0xa3)](){const _0x251c80=_0x5c5425;return[_0x251c80(0x92),_0x35f3cf,_0x3b3f36,_0x16f833];}static get[_0x5c5425(0xa2)](){const _0x639722=_0x5c5425;return _0x639722(0x9e);}static get[_0x5c5425(0x9a)](){return!0x0;}static get[_0x5c5425(0x91)](){return!0x0;}[_0x5c5425(0xaa)](){const _0x57ef90=_0x5c5425,_0x4e487b=this[_0x57ef90(0xa9)][_0x57ef90(0x97)][_0x57ef90(0x96)](_0x16f833),_0x8f1b6d=this[_0x57ef90(0xa9)][_0x57ef90(0x97)][_0x57ef90(0x96)](_0x57ef90(0xb2)),_0x1a587a=this[_0x57ef90(0xa9)][_0x57ef90(0x97)][_0x57ef90(0x96)](_0x35f3cf);return this[_0x57ef90(0xa9)][_0x57ef90(0xb0)][_0x57ef90(0xaf)](_0x57ef90(0xb1),()=>{const _0x10a3e5=_0x57ef90;this[_0x10a3e5(0x98)](_0x4e487b,_0x10a3e5(0x9c),(_0x92fa5e,_0x33e411,_0x5b525a)=>{const _0x29d121=_0x10a3e5;_0x8f1b6d[_0x29d121(0xa0)]=_0x29d121(0x9d)!==_0x5b525a;});}),this[_0x57ef90(0x98)](_0x4e487b,_0x57ef90(0x9c),(_0x5ecb46,_0x5a8236,_0x2cc17d)=>{const _0x44c0d0=_0x57ef90;this[_0x44c0d0(0xa9)][_0x44c0d0(0x97)][_0x44c0d0(0x96)](_0x44c0d0(0xa1))[_0x44c0d0(0xad)](_0x44c0d0(0x9d)!==_0x2cc17d);}),_0x1a587a[_0x57ef90(0xb3)](this[_0x57ef90(0xa9)][_0x57ef90(0xb4)][_0x57ef90(0x96)](_0x57ef90(0x9b)));}[_0x5c5425(0x9f)](){const _0x2713df=_0x5c5425;this[_0x2713df(0xa9)][_0x2713df(0x97)][_0x2713df(0x96)](_0x35f3cf)[_0x2713df(0xac)](this[_0x2713df(0xa9)][_0x2713df(0xb4)][_0x2713df(0x96)](_0x2713df(0x9b))),super[_0x2713df(0x9f)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1cac3e=_0x48f4;(function(_0x1154b5,_0x4997f1){const _0x21cc48=_0x48f4,_0x237c35=_0x1154b5();while(!![]){try{const _0x3eeb7a=parseInt(_0x21cc48(0x113))/0x1*(-parseInt(_0x21cc48(0x14c))/0x2)+-parseInt(_0x21cc48(0x199))/0x3*(parseInt(_0x21cc48(0x127))/0x4)+parseInt(_0x21cc48(0x1dc))/0x5+-parseInt(_0x21cc48(0x176))/0x6*(parseInt(_0x21cc48(0x1b6))/0x7)+parseInt(_0x21cc48(0x15d))/0x8+-parseInt(_0x21cc48(0x19d))/0x9*(parseInt(_0x21cc48(0x1a9))/0xa)+parseInt(_0x21cc48(0x184))/0xb;if(_0x3eeb7a===_0x4997f1)break;else _0x237c35['push'](_0x237c35['shift']());}catch(_0x522d78){_0x237c35['push'](_0x237c35['shift']());}}}(_0x476c,0x822a1));import{Plugin as _0x580e20,PendingActions as _0x146775}from'ckeditor5/src/core.js';import{CKEditorError as _0x5c907e,version as _0x4c9c4a,uid as _0x20d65c}from'ckeditor5/src/utils.js';import{Notification as _0x264c65}from'ckeditor5/src/ui.js';import{transformSets as _0x1f4073,NoOperation as _0x179e08,InsertOperation as _0x243b56,MarkerOperation as _0x6b055c,RootAttributeOperation as _0x11b1c2,OperationFactory as _0x4e6430,History as _0x3185e2}from'ckeditor5/src/engine.js';import _0x39dd3a from'./websocketgateway.js';import _0x248130 from'./sessions.js';import _0x568f16 from'./usermarkers.js';function _0x476c(){const _0x49dbf4=['_service','collaboration.channelId','baseVersion','apply','sessionAdd:','_crash','_authorId','roots','_clearPendingAction','2257287JCGcol','stop','currentDocumentSession','_compressor','504OMcDIy','type','marker','RealTimeCollaborationClient','404','initData','channelSessions','set','getIdOfTheLastOperation','_setPendingAction','_decompressOperations','state','184720EMVZHZ','remove','filter','isReadOnly','requires','Permissions','get','lastDocumentSession','realtimecollaborationclient-handleserverresponse','CollaborativeEditingService','Notification','realtimecollaborationclient-init-document-already-initialized','includes','7dsSIlN','CommentsOnly','_hasSynchronizationProblem','_hasSelectionChanged','clone','error','_compressOperations','off','length','realtimecollaborationclient-sendbufferedoperations','keys','startsWith','_document','_ignoredOperations','isUndoneOperation','_handleReceivedOperations','plugins','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','compress','editor','enableReadOnlyMode','loadRoot','pluginName','serverHistory','metadata','_initThrowingOnDataSet','realtimecollaborationclient-init-non-existent-root','change:_isEditingAllowed','_baseBufferDelay','locale','_sendBufferedOperationsDelayId','PENDING_ACTION_SENDING_DATA','_addKnownRoot','sendOperations','affectsData','_knownOperations','_waitUntilSynced','_handleServerResponse','3566170ZxRNoY','listenTo','suppressErrorInCollaboration','change:range','_setUpDataInit','_handleReconnectionResponse','add','bind','_sendBufferedOperationsDelayed','isPremiumPlugin','has','addUser','getRoot','setIdForTheLastOperation','InsertOperation','rootsAttributes','_isLoaded','wereChangesApplied','realtimecollaborationclient-error','409','getDocumentDetails','toJSON','permissions','path','_bufferedOperations','_operationIdentifier','multi-root-editor-root-attributes-no-root','rtc-offline','_currentBufferDelay','differ','createRoot','_updateServerHistory','reconnect','_disconnectionOperations','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','targetPosition','applyOperation','end','createRange','ready','_applyOperationsSet','mySessionId','_isEditingAllowed','__className','realtimecollaborationclient-initservice-incorrect-server-operation','userId','document','disableReadOnlyMode','real-time-collaboration','cs:removeUser','register','_knownRootNames','$root','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','cloudServices.bundleVersion','addToReconnectionStack','createPositionAt','_pendingAction','getOperations','round','lastOperationAcceptedAt','77471ZXeeKD','getUser','stopListening','_handleInitialConnectionData','enqueueChange','from','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','cloud-services-internal-error:\x20Request\x20timeout.','disconnected','code','getOperationAuthor','forEach','_handleSendingSelectionMarkers','removeFromReconnectionStack','collaboration-missing-channelid','root','insert','size','isOfficialPlugin','string','4dzzasR','realtimecollaborationclient-init-connection-failed','history','collaboration','map','operationsReceived','cloudDocumentVersion','cloud-services-internal-error:\x20Not\x20connected.','position','connection','_shouldSendUpdate','push','_loadRoot','slice','_lastSyncedOperationId','connect','editing','addRootAttribute','_handleReconnectionError','_getAffectedRoot','version','rtc-destroyed','batch','isEnabled','decompress','addOperation','return','then','createPositionFromPath','catch','_connectService','realtimecollaborationclient-initservice-internal-error','_isDisconnection','unregister','fromJSON','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','change:_isPendingUpdate','26zqPIpn','_isConnected','wasUndone','_connectAfterSessionHasBeenFlushed','finally','lastSyncVersion','createdAt','selection','_refreshUserSelectionMarkers','sessionCreatedAt','markers','_disconnectService','high','getMany','_handleExternalOperations','Synchronization\x20issue','_lastServerVersion','3191560qtPjlb','_bufferRootLoad','directChange','_fetchMissingUsers','data','_offset','addRoot','_operationToId','fire','showWarning','move','view','document:write','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.','init','config','_sendBufferedOperations','_isInit','offset','_isPendingUpdate','define','affectedSelectable','attributes','_initSessionsHandling','_channelId','3951282SDxyZk','start','destroy','_saveOperationInBuffer','setPermissions','newRange','isDocumentOperation','realtimecollaborationclient-init-session-connection-error','connected','entries','reset','parse','reconnection:\x20flushed\x20session','rootName','31608555PAMzky','message','_getOperationsFromInitData','sessionId','lastOperationId','change:hasDomSelection','model','_shouldSendSelectionUpdate','disconnect','getConnectedSessions','createUserMarkerOperations','_isAttached'];_0x476c=function(){return _0x49dbf4;};return _0x476c();}import{getTranslation as _0x165fb2}from'../common-translations.js';import{Compressor as _0x12e98a}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x150a16}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x48f4(_0x3eb470,_0x123433){const _0x476cd5=_0x476c();return _0x48f4=function(_0x48f40c,_0x40e9b8){_0x48f40c=_0x48f40c-0x10f;let _0x56786a=_0x476cd5[_0x48f40c];return _0x56786a;},_0x48f4(_0x3eb470,_0x123433);}import{User as _0x57934e,CollaborativeEditingService as _0x40621e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x580e20{static get[_0x1cac3e(0x1ad)](){return[_0x39dd3a,_0x248130,_0x568f16,_0x146775,_0x150a16,_0x264c65];}static get[_0x1cac3e(0x1cc)](){const _0x16ca9c=_0x1cac3e;return _0x16ca9c(0x1a0);}static get[_0x1cac3e(0x125)](){return!0x0;}static get[_0x1cac3e(0x1e5)](){return!0x0;}get[_0x1cac3e(0x12d)](){const _0x328bc1=_0x1cac3e;return this[_0x328bc1(0x15c)]+this[_0x328bc1(0x162)];}get[_0x1cac3e(0x15c)](){const _0x19a7bc=_0x1cac3e;return this[_0x19a7bc(0x1cd)][_0x19a7bc(0x13b)]-this[_0x19a7bc(0x162)];}get[_0x1cac3e(0x151)](){const _0x191eb6=_0x1cac3e,_0x4cb551=this[_0x191eb6(0x1cd)][_0x191eb6(0x110)]();for(let _0x454e52=_0x4cb551[_0x191eb6(0x1be)]-0x1;_0x454e52>=0x0;_0x454e52--){const _0x50c151=_0x4cb551[_0x454e52];if(!this[_0x191eb6(0x1fd)][_0x191eb6(0x1e6)](_0x50c151))return _0x50c151[_0x191eb6(0x192)]+0x1-this[_0x191eb6(0x162)];}return 0x0;}constructor(_0x2cf844){const _0x2f77b8=_0x1cac3e;if(super(_0x2cf844),this[_0x2f77b8(0x162)]=0x0,this[_0x2f77b8(0x187)]=null,this[_0x2f77b8(0x1cd)]=new _0x3185e2(),this[_0x2f77b8(0x1c9)][_0x2f77b8(0x16c)][_0x2f77b8(0x171)](_0x2f77b8(0x12a),{}),this[_0x2f77b8(0x175)]=this[_0x2f77b8(0x1c9)][_0x2f77b8(0x16c)][_0x2f77b8(0x1af)](_0x2f77b8(0x191)),!this[_0x2f77b8(0x175)])throw new _0x5c907e(_0x2f77b8(0x121),this);const _0x10f450=_0x2cf844[_0x2f77b8(0x16c)][_0x2f77b8(0x1af)](_0x2f77b8(0x212))||_0x4c9c4a;this[_0x2f77b8(0x190)]=new l[(_0x2f77b8(0x1b2))](_0x10f450,this[_0x2f77b8(0x175)]),this[_0x2f77b8(0x1c2)]=this[_0x2f77b8(0x1c9)][_0x2f77b8(0x18a)][_0x2f77b8(0x20a)],this[_0x2f77b8(0x19c)]=new _0x12e98a(),this[_0x2f77b8(0x1f4)]=[],this[_0x2f77b8(0x1d9)]=new WeakSet(),this[_0x2f77b8(0x20f)]=new Set(),this[_0x2f77b8(0x1a4)](_0x2f77b8(0x170),!0x1),this[_0x2f77b8(0x1a4)](_0x2f77b8(0x1b8),!0x1),this[_0x2f77b8(0x10f)]=null,this[_0x2f77b8(0x1b9)]=!0x1,this[_0x2f77b8(0x1d4)]=null,this[_0x2f77b8(0x1d2)]=0x12c,this[_0x2f77b8(0x1f8)]=this[_0x2f77b8(0x1d2)],this[_0x2f77b8(0x135)]=null,this[_0x2f77b8(0x1fd)]=new WeakSet(),this[_0x2f77b8(0x1f5)]=new X(this[_0x2f77b8(0x1fd)]);}[_0x1cac3e(0x16b)](){const _0x507459=_0x1cac3e,_0x245e8e=this[_0x507459(0x1c9)],_0xff18fe=_0x245e8e[_0x507459(0x1c6)][_0x507459(0x1af)](_0x150a16),_0x5eee2f=_0x245e8e[_0x507459(0x1c6)][_0x507459(0x1af)](_0x39dd3a);this[_0x507459(0x1dd)](_0xff18fe,_0x507459(0x11d),(_0x549e52,_0x42d7af)=>{const _0x5ad642=_0x507459,_0x5bead8=_0x42d7af[0x0];_0x5bead8[_0x5ad642(0x196)]&&(_0x549e52[_0x5ad642(0x141)]=_0xff18fe[_0x5ad642(0x114)](_0x5bead8[_0x5ad642(0x196)]),_0x549e52[_0x5ad642(0x19a)]()),null===_0x5bead8[_0x5ad642(0x196)]&&(_0x549e52[_0x5ad642(0x141)]=null,_0x549e52[_0x5ad642(0x19a)]());},{'priority':_0x507459(0x158)}),this[_0x507459(0x1dd)](_0x245e8e[_0x507459(0x18a)][_0x507459(0x20a)][_0x507459(0x153)],_0x507459(0x1df),(_0x839dce,_0x22d69a)=>{const _0x3a9556=_0x507459;_0x22d69a[_0x3a9556(0x15f)]&&this[_0x3a9556(0x154)]();}),this[_0x507459(0x1dd)](_0x245e8e[_0x507459(0x137)][_0x507459(0x168)],_0x507459(0x189),()=>{const _0x364d82=_0x507459;this[_0x364d82(0x154)]();}),this[_0x507459(0x1cf)](),_0x245e8e[_0x507459(0x18a)]['on'](_0x507459(0x200),(_0x54d278,_0x1a280c)=>{const _0x502a5e=_0x507459,_0x34668d=_0x1a280c[0x0];_0x34668d[_0x502a5e(0x17c)]&&(this[_0x502a5e(0x179)](_0x34668d),this[_0x502a5e(0x131)]()&&this[_0x502a5e(0x1e4)]());}),this[_0x507459(0x1e0)](),this[_0x507459(0x1e3)](_0x507459(0x206))['to'](_0x5eee2f,_0x507459(0x1a8),this,_0x507459(0x1b8),(_0x3bf650,_0x5af169)=>_0x507459(0x17e)===_0x3bf650&&!_0x5af169),this['on'](_0x507459(0x1d1),()=>{const _0x425702=_0x507459;this[_0x425702(0x206)]?_0x245e8e[_0x425702(0x20b)](_0x425702(0x1f7)):_0x245e8e[_0x425702(0x1ca)](_0x425702(0x1f7));}),this[_0x507459(0x206)]?_0x245e8e[_0x507459(0x20b)](_0x507459(0x1f7)):_0x245e8e[_0x507459(0x1ca)](_0x507459(0x1f7)),this[_0x507459(0x1a4)](_0x507459(0x14d),!0x1);}async[_0x1cac3e(0x1fc)](){const _0x193233=_0x1cac3e,_0x5bdfc7=this[_0x193233(0x1c9)][_0x193233(0x1c6)][_0x193233(0x1af)](_0x248130),_0xa3003f=this[_0x193233(0x1c9)][_0x193233(0x1c6)][_0x193233(0x1af)](_0x39dd3a);try{this[_0x193233(0x170)]=!0x0,_0x5bdfc7[_0x193233(0x148)](this[_0x193233(0x175)]);const _0x3e3f28=await this[_0x193233(0x190)][_0x193233(0x1fc)](_0xa3003f[_0x193233(0x130)],this[_0x193233(0x151)]);await this[_0x193233(0x1e1)](_0x3e3f28)&&(this[_0x193233(0x170)]=!0x1,this[_0x193233(0x198)]());const _0x833a58=await this[_0x193233(0x190)][_0x193233(0x18d)]();_0x5bdfc7[_0x193233(0x20e)](this[_0x193233(0x175)],_0x833a58),this[_0x193233(0x11f)](),this[_0x193233(0x14d)]=!0x0;}catch(_0x116609){if(function(_0x1ec099){const _0x4d07c3=_0x193233;return _0x4d07c3(0x1a1)===_0x1ec099[_0x4d07c3(0x11c)];}(_0x116609)&&this[_0x193233(0x187)])await this[_0x193233(0x14f)]();else{if(function(_0x2782b5){const _0x5e76e1=_0x193233;return _0x5e76e1(0x1ef)===_0x2782b5[_0x5e76e1(0x11c)];}(_0x116609)){const _0x4f3c64=_0x165fb2(this[_0x193233(0x1c9)][_0x193233(0x1d3)],_0x193233(0x14a));this[_0x193233(0x139)](_0x4f3c64);}else{if(!(_0x116609 instanceof J))throw _0x116609;this[_0x193233(0x139)]();}}}}[_0x1cac3e(0x178)](){const _0x40153e=_0x1cac3e,_0xbce6ad=this[_0x40153e(0x1c9)][_0x40153e(0x1c6)][_0x40153e(0x1af)](_0x39dd3a),_0x45a27c=this[_0x40153e(0x1c9)][_0x40153e(0x1c6)][_0x40153e(0x1af)](_0x248130);this[_0x40153e(0x1c9)][_0x40153e(0x1ca)](_0x40153e(0x13c)),_0x45a27c[_0x40153e(0x1a3)][_0x40153e(0x1e6)](this[_0x40153e(0x175)])&&_0x45a27c[_0x40153e(0x148)](this[_0x40153e(0x175)]),_0xbce6ad[_0x40153e(0x120)](this),this[_0x40153e(0x157)](),super[_0x40153e(0x178)]();}async[_0x1cac3e(0x1e1)](_0x574c0d){const _0x2e1832=_0x1cac3e;if(this[_0x2e1832(0x187)]!==_0x574c0d[_0x2e1832(0x187)]&&this[_0x2e1832(0x135)]!==_0x574c0d[_0x2e1832(0x188)])throw new J();return this[_0x2e1832(0x187)]=_0x574c0d[_0x2e1832(0x187)],this[_0x2e1832(0x1db)]([],{..._0x574c0d,'wereChangesApplied':!0x1,'data':_0x574c0d[_0x2e1832(0x161)]},_0x2e1832(0x1fc));}async[_0x1cac3e(0x145)](_0x284344,_0x55c379=!0x1){const _0x2c929d=_0x1cac3e,{connection:_0x18046d}=this[_0x2c929d(0x1c9)][_0x2c929d(0x1c6)][_0x2c929d(0x1af)](_0x39dd3a);l[_0x2c929d(0x1b2)][_0x2c929d(0x18d)](_0x18046d,this[_0x2c929d(0x175)])[_0x2c929d(0x142)](_0x444d6d=>this[_0x2c929d(0x174)](_0x444d6d))[_0x2c929d(0x144)](_0x5d2b30=>{const _0x3dbb55=_0x2c929d;this[_0x3dbb55(0x195)](_0x3dbb55(0x17d),_0x5d2b30);}),this[_0x2c929d(0x1dd)](this[_0x2c929d(0x190)],_0x2c929d(0x12c),this[_0x2c929d(0x1c5)][_0x2c929d(0x1e3)](this)),this[_0x2c929d(0x1dd)](this[_0x2c929d(0x190)],_0x2c929d(0x1bb),(_0x4521d7,_0x3dc9e2)=>{const _0x135e85=_0x2c929d;this[_0x135e85(0x195)](_0x135e85(0x146),_0x3dc9e2);}),this[_0x2c929d(0x1dd)](this[_0x2c929d(0x190)],_0x2c929d(0x11b),()=>{const _0x234f1f=_0x2c929d;this[_0x234f1f(0x14d)]=!0x1;});const _0x51d799=this[_0x2c929d(0x1f5)][_0x2c929d(0x1a5)](_0x284344);this[_0x2c929d(0x170)]=!0x0;const _0x5445f8=await this[_0x2c929d(0x190)][_0x2c929d(0x136)](_0x18046d,this[_0x2c929d(0x1bc)](_0x284344),_0x51d799);if(this[_0x2c929d(0x187)]=_0x5445f8[_0x2c929d(0x187)],_0x55c379){if(!_0x5445f8[_0x2c929d(0x1ed)])return void this[_0x2c929d(0x139)]();this[_0x2c929d(0x170)]=!0x1,this[_0x2c929d(0x198)](),this[_0x2c929d(0x1cd)][_0x2c929d(0x180)](),this[_0x2c929d(0x162)]=_0x5445f8[_0x2c929d(0x16f)],this[_0x2c929d(0x1cd)][_0x2c929d(0x13b)]=this[_0x2c929d(0x162)],await this[_0x2c929d(0x1db)](_0x284344,_0x5445f8,_0x2c929d(0x182));}else await this[_0x2c929d(0x116)](_0x5445f8,_0x284344);this[_0x2c929d(0x11f)](),this[_0x2c929d(0x14d)]=!0x0;}[_0x1cac3e(0x11f)](){const _0x4b3216=_0x1cac3e,_0x13bee2=this[_0x4b3216(0x1c9)][_0x4b3216(0x1c6)][_0x4b3216(0x1af)](_0x248130),_0x2962e3=this[_0x4b3216(0x1c9)][_0x4b3216(0x1c6)][_0x4b3216(0x1af)](_0x568f16),_0x592a1e=_0x13bee2[_0x4b3216(0x1a3)][_0x4b3216(0x1af)](this[_0x4b3216(0x175)]);_0x592a1e&&_0x592a1e[_0x4b3216(0x1be)]>0x1?_0x2962e3[_0x4b3216(0x18e)]():this[_0x4b3216(0x1dd)](_0x13bee2,_0x4b3216(0x194)+this[_0x4b3216(0x175)],()=>{const _0x39c5a1=_0x4b3216;0x2===_0x13bee2[_0x39c5a1(0x1a3)][_0x39c5a1(0x1af)](this[_0x39c5a1(0x175)])[_0x39c5a1(0x1be)]&&_0x2962e3[_0x39c5a1(0x18e)]();});}async[_0x1cac3e(0x1c5)](_0x308f6b,_0xf5f1a7,_0x4b2863,_0x4b6a7e){const _0x57c044=_0x1cac3e;if(!this[_0x57c044(0x170)]&&this[_0x57c044(0x1c2)][_0x57c044(0x13b)]==_0xf5f1a7){const _0x36a813=this[_0x57c044(0x1a7)](_0x4b2863,_0x4b6a7e);await this[_0x57c044(0x160)](_0x36a813),this[_0x57c044(0x15a)](_0x36a813,_0xf5f1a7,_0x4b2863[_0x57c044(0x188)])||this[_0x57c044(0x195)](_0x57c044(0x208));}}async[_0x1cac3e(0x14f)](){const _0x1d1ca7=_0x1cac3e;this[_0x1d1ca7(0x157)]();const {locale:_0x7eec1b}=this[_0x1d1ca7(0x1c9)];let _0x348c44;try{_0x348c44=await this[_0x1d1ca7(0x190)][_0x1d1ca7(0x1f0)]();}catch(_0x716ae0){const _0x1aae8b=_0x165fb2(_0x7eec1b,_0x1d1ca7(0x1c7));return void this[_0x1d1ca7(0x139)](_0x1aae8b);}const _0x5ab889=_0x348c44[_0x1d1ca7(0x19b)]||_0x348c44[_0x1d1ca7(0x1b0)];if(this[_0x1d1ca7(0x135)]===_0x5ab889[_0x1d1ca7(0x188)])await this[_0x1d1ca7(0x145)](this[_0x1d1ca7(0x1c9)][_0x1d1ca7(0x18a)][_0x1d1ca7(0x20a)][_0x1d1ca7(0x129)][_0x1d1ca7(0x110)](),!0x0);else{const _0x1360b6=_0x165fb2(_0x7eec1b,_0x1d1ca7(0x16a));this[_0x1d1ca7(0x139)](_0x1360b6);}}[_0x1cac3e(0x157)](){const _0x2f3a7d=_0x1cac3e;this[_0x2f3a7d(0x190)][_0x2f3a7d(0x18c)](),this[_0x2f3a7d(0x1f4)]=[],clearTimeout(this[_0x2f3a7d(0x1d4)]),this[_0x2f3a7d(0x115)](this[_0x2f3a7d(0x190)]);}[_0x1cac3e(0x174)](_0x34d8f0){const _0xd0e560=_0x1cac3e,_0x19c448=this[_0xd0e560(0x1c9)][_0xd0e560(0x1c6)][_0xd0e560(0x1af)](_0x248130);this[_0xd0e560(0x1dd)](_0x19c448,_0xd0e560(0x194)+this[_0xd0e560(0x175)],(_0x2aeaee,{session:_0x1d8696})=>{const _0x30bc2b=_0xd0e560;if(_0x1d8696['id']===_0x19c448[_0x30bc2b(0x205)]){_0x2aeaee[_0x30bc2b(0x1bd)]();const _0xd72510=this[_0x30bc2b(0x1c9)][_0x30bc2b(0x1c6)][_0x30bc2b(0x1e6)](_0x30bc2b(0x1b7))&&this[_0x30bc2b(0x1c9)][_0x30bc2b(0x1c6)][_0x30bc2b(0x1af)](_0x30bc2b(0x1b7));let _0x368c7b=_0x1d8696[_0x30bc2b(0x1f2)];_0xd72510&&_0xd72510[_0x30bc2b(0x13e)]&&(_0x368c7b=_0x368c7b[_0x30bc2b(0x1ab)](_0x1a07a3=>_0x30bc2b(0x169)!==_0x1a07a3)),this[_0x30bc2b(0x1c9)][_0x30bc2b(0x1c6)][_0x30bc2b(0x1af)](_0x30bc2b(0x1ae))[_0x30bc2b(0x17a)](_0x368c7b,this[_0x30bc2b(0x175)]);}}),_0x19c448[_0xd0e560(0x20e)](this[_0xd0e560(0x175)],_0x34d8f0);}[_0x1cac3e(0x1cf)](){const _0x3dddde=_0x1cac3e,_0x39293a=this[_0x3dddde(0x1c9)][_0x3dddde(0x161)][_0x3dddde(0x1a4)];this[_0x3dddde(0x1c9)][_0x3dddde(0x161)][_0x3dddde(0x1a4)]=(..._0x402640)=>{const _0x5af054=_0x3dddde;if(!_0x402640[_0x402640[_0x5af054(0x1be)]-0x1][_0x5af054(0x1de)])throw new _0x5c907e(_0x5af054(0x1fe),this);_0x39293a[_0x5af054(0x193)](this[_0x5af054(0x1c9)][_0x5af054(0x161)],_0x402640);};}[_0x1cac3e(0x1e0)](){const _0x31318e=_0x1cac3e;this[_0x31318e(0x1c9)][_0x31318e(0x161)]['on'](_0x31318e(0x16b),(_0x21465d,[_0x7b5eb5])=>{const _0x420d0e=_0x31318e;if(this[_0x420d0e(0x1c2)][_0x420d0e(0x13b)])throw new _0x5c907e(_0x420d0e(0x1b4),this);_0x21465d[_0x420d0e(0x19a)](),this[_0x420d0e(0x1a6)]();const _0x5b7fc8=this[_0x420d0e(0x1c9)][_0x420d0e(0x16c)][_0x420d0e(0x1af)](_0x420d0e(0x1eb)),_0x474e90=this[_0x420d0e(0x186)](_0x7b5eb5,_0x5b7fc8);0x0==_0x474e90[_0x420d0e(0x1be)]&&_0x474e90[_0x420d0e(0x132)](new _0x179e08(0x0)),_0x21465d[_0x420d0e(0x141)]=this[_0x420d0e(0x145)](_0x474e90)[_0x420d0e(0x142)](()=>{const _0x547751=_0x420d0e;this[_0x547751(0x1c9)][_0x547751(0x1c6)][_0x547751(0x1af)](_0x39dd3a)[_0x547751(0x213)](this),this[_0x547751(0x1c9)][_0x547751(0x161)][_0x547751(0x165)](_0x547751(0x203));})[_0x420d0e(0x144)](_0x28dace=>this[_0x420d0e(0x195)](_0x420d0e(0x128),_0x28dace))[_0x420d0e(0x150)](()=>this[_0x420d0e(0x198)]());},{'priority':_0x31318e(0x158)}),this[_0x31318e(0x1c9)]['on'](_0x31318e(0x1cb),async(_0x3de4ea,[_0x3b2f0c,_0x112ed8])=>{const _0x45ebf5=_0x31318e;_0x3de4ea[_0x45ebf5(0x19a)]();const _0x4ebd6d=this[_0x45ebf5(0x1c9)][_0x45ebf5(0x18a)][_0x45ebf5(0x20a)][_0x45ebf5(0x1e8)](_0x3b2f0c);if(!this[_0x45ebf5(0x20f)][_0x45ebf5(0x1e6)](_0x3b2f0c)){const _0x5a9473=_0x112ed8&&_0x112ed8[_0x45ebf5(0x161)]?_0x112ed8[_0x45ebf5(0x161)]:'',_0x55e1a0=_0x112ed8&&_0x112ed8[_0x45ebf5(0x173)]?_0x112ed8[_0x45ebf5(0x173)]:{};await this[_0x45ebf5(0x133)](_0x3b2f0c,_0x5a9473,_0x55e1a0);}this[_0x45ebf5(0x1c9)][_0x45ebf5(0x18a)][_0x45ebf5(0x117)]({'isUndoable':!0x1},()=>{const _0x5d9c5a=_0x45ebf5;_0x4ebd6d[_0x5d9c5a(0x1ec)]=!0x0,this[_0x5d9c5a(0x1c9)][_0x5d9c5a(0x18a)][_0x5d9c5a(0x20a)][_0x5d9c5a(0x1f9)][_0x5d9c5a(0x15e)](_0x4ebd6d);});},{'priority':_0x31318e(0x158)});}async[_0x1cac3e(0x160)](_0x3c829d){const _0x54980a=_0x1cac3e,_0x111bdf=this[_0x54980a(0x1c9)][_0x54980a(0x1c6)][_0x54980a(0x1af)](_0x150a16),{connection:_0x334382}=this[_0x54980a(0x1c9)][_0x54980a(0x1c6)][_0x54980a(0x1af)](_0x39dd3a),_0x361a50=new Set();for(const _0x3892f2 of _0x3c829d){const _0x1bbd0f=_0x3892f2[_0x54980a(0x196)];_0x1bbd0f&&!_0x111bdf[_0x54980a(0x114)](_0x1bbd0f)&&_0x361a50[_0x54980a(0x1e2)](_0x1bbd0f);}if(0x0===_0x361a50[_0x54980a(0x124)])return;const _0x27414d=await _0x57934e[_0x54980a(0x159)](_0x334382,Array[_0x54980a(0x118)](_0x361a50));for(const _0x4d48a2 of _0x27414d)_0x111bdf[_0x54980a(0x114)](_0x4d48a2['id'])||_0x111bdf[_0x54980a(0x1e7)](_0x4d48a2);}[_0x1cac3e(0x186)](_0xd3b2fc,_0x58720e={}){const _0x510127=_0x1cac3e,_0x1df813=this[_0x510127(0x1c9)][_0x510127(0x18a)],_0x580e88=[];let _0x2b80dd=0x0;const _0x3383eb=_0x510127(0x126)==typeof _0xd3b2fc?{'main':_0xd3b2fc}:_0xd3b2fc;for(const _0x171b3a of Object[_0x510127(0x1c0)](_0x3383eb)){if(!this[_0x510127(0x1c2)][_0x510127(0x197)][_0x510127(0x1e6)](_0x171b3a))throw new _0x5c907e(_0x510127(0x1d0),this);const _0x2903a7=this[_0x510127(0x1c9)][_0x510127(0x161)][_0x510127(0x181)](_0x3383eb[_0x171b3a]),_0x3b744e=this[_0x510127(0x1c2)][_0x510127(0x1e8)](_0x171b3a),_0x503c8f=new _0x243b56(_0x1df813[_0x510127(0x214)](_0x3b744e,0x0),_0x2903a7,_0x2b80dd++);_0x580e88[_0x510127(0x132)](_0x503c8f);for(const [_0x4f8a9a,_0x128312]of _0x2903a7[_0x510127(0x156)]){const _0x110113=_0x1df813[_0x510127(0x202)](_0x1df813[_0x510127(0x143)](_0x3b744e,_0x128312[_0x510127(0x177)][_0x510127(0x1f3)][_0x510127(0x134)]()),_0x1df813[_0x510127(0x143)](_0x3b744e,_0x128312[_0x510127(0x201)][_0x510127(0x1f3)][_0x510127(0x134)]())),_0x51fe41=new _0x6b055c(_0x4f8a9a,null,_0x110113,_0x1df813[_0x510127(0x156)],!0x0,_0x2b80dd++);_0x580e88[_0x510127(0x132)](_0x51fe41);}}if(_0x58720e)for(const [_0x14cc0d,_0x412482]of Object[_0x510127(0x17f)](_0x58720e)){const _0x1add35=_0x1df813[_0x510127(0x20a)][_0x510127(0x1e8)](_0x14cc0d);if(!_0x1add35)throw new _0x5c907e(_0x510127(0x1f6),null);for(const [_0x42ba26,_0x3e7e0a]of Object[_0x510127(0x17f)](_0x412482))if(null!==_0x3e7e0a){const _0x521114=new _0x11b1c2(_0x1add35,_0x42ba26,null,_0x3e7e0a,_0x2b80dd++);_0x580e88[_0x510127(0x132)](_0x521114);}}return _0x580e88;}async[_0x1cac3e(0x133)](_0x17327a,_0x5d00c3,_0x3a1721){const _0x28011a=_0x1cac3e;this[_0x28011a(0x186)]({[_0x17327a]:_0x5d00c3},{[_0x17327a]:_0x3a1721})[_0x28011a(0x11e)]((_0x2fdb3e,_0x19a106)=>{const _0x246758=_0x28011a;_0x2fdb3e[_0x246758(0x192)]=this[_0x246758(0x1c2)][_0x246758(0x13b)]+_0x19a106,_0x2fdb3e[_0x246758(0x16e)]=!0x0,this[_0x246758(0x179)](_0x2fdb3e);}),this[_0x28011a(0x1e4)](),await this[_0x28011a(0x1da)]();}async[_0x1cac3e(0x116)](_0x32d9d1,_0x1da7ad){const _0x37de0b=_0x1cac3e;let _0x183b4d;this[_0x37de0b(0x162)]=_0x32d9d1[_0x37de0b(0x16f)];const _0x3de5a3=_0x32d9d1[_0x37de0b(0x1ed)]&&!_0x32d9d1[_0x37de0b(0x1a2)],_0x2f6135=_0x3de5a3?0x0:_0x32d9d1[_0x37de0b(0x161)][_0x37de0b(0x192)];if(_0x1da7ad[_0x37de0b(0x11e)](_0xdda96f=>{const _0x532b84=_0x37de0b;_0xdda96f[_0x532b84(0x16e)]=!0x0,_0xdda96f[_0x532b84(0x152)]=_0x32d9d1[_0x532b84(0x155)],_0xdda96f[_0x532b84(0x196)]=null;}),_0x3de5a3)_0x183b4d=_0x1da7ad,this[_0x37de0b(0x204)](_0x183b4d,_0x3de5a3);else{if(_0x32d9d1[_0x37de0b(0x1a2)]){const _0x4e5a9a=this[_0x37de0b(0x186)](_0x32d9d1[_0x37de0b(0x1a2)]);this[_0x37de0b(0x1c2)][_0x37de0b(0x129)][_0x37de0b(0x13b)]=-_0x4e5a9a[_0x37de0b(0x1be)],_0x4e5a9a[_0x37de0b(0x11e)](_0x3ee804=>{const _0x2b246f=_0x37de0b;_0x3ee804[_0x2b246f(0x192)]-=_0x4e5a9a[_0x2b246f(0x1be)],_0x3ee804[_0x2b246f(0x152)]=_0x32d9d1[_0x2b246f(0x155)],_0x3ee804[_0x2b246f(0x16e)]=!0x0,_0x3ee804[_0x2b246f(0x196)]=null;}),this[_0x37de0b(0x204)](_0x4e5a9a,!0x0),this[_0x37de0b(0x1cd)][_0x37de0b(0x13b)]=-_0x4e5a9a[_0x37de0b(0x1be)]+this[_0x37de0b(0x162)],this[_0x37de0b(0x1fb)](_0x4e5a9a);}this[_0x37de0b(0x1c2)][_0x37de0b(0x129)][_0x37de0b(0x13b)]=_0x2f6135,_0x183b4d=this[_0x37de0b(0x1a7)](_0x32d9d1[_0x37de0b(0x161)],_0x32d9d1[_0x37de0b(0x1ce)]),await this[_0x37de0b(0x160)](_0x183b4d),this[_0x37de0b(0x204)](_0x183b4d,_0x3de5a3);}_0x32d9d1[_0x37de0b(0x188)]&&(this[_0x37de0b(0x1f5)][_0x37de0b(0x1e9)](_0x183b4d,_0x32d9d1[_0x37de0b(0x188)]),this[_0x37de0b(0x135)]=_0x32d9d1[_0x37de0b(0x188)]),this[_0x37de0b(0x1cd)][_0x37de0b(0x13b)]=_0x2f6135+this[_0x37de0b(0x162)],this[_0x37de0b(0x1fb)](_0x183b4d),_0x1da7ad[_0x37de0b(0x1ab)](_0x5c48c7=>{const _0x18c58c=_0x37de0b,_0x57b5c4=this[_0x18c58c(0x13a)](_0x5c48c7);return _0x57b5c4&&!this[_0x18c58c(0x20f)][_0x18c58c(0x1e6)](_0x57b5c4);})[_0x37de0b(0x11e)]((_0x36ef70,_0x96d789)=>{const _0x358116=_0x37de0b;_0x36ef70[_0x358116(0x192)]=this[_0x358116(0x1c2)][_0x358116(0x13b)]+_0x96d789,this[_0x358116(0x179)](_0x36ef70);}),this[_0x37de0b(0x131)]()?(this[_0x37de0b(0x1f8)]=0x0,this[_0x37de0b(0x1e4)](!0x0),await this[_0x37de0b(0x1da)]()):(this[_0x37de0b(0x170)]=!0x1,this[_0x37de0b(0x198)]());}[_0x1cac3e(0x195)](_0x367236,_0x54535e,_0x1beabf){const _0x454826=_0x1cac3e;throw this[_0x454826(0x170)]=!0x0,_0x54535e&&console[_0x454826(0x1bb)](_0x54535e),_0x1beabf&&this[_0x454826(0x1c9)][_0x454826(0x1ca)](_0x454826(0x1ee)),new _0x5c907e(_0x367236,this[_0x454826(0x1c9)]);}[_0x1cac3e(0x179)](_0x22d80b){const _0x5e230c=_0x1cac3e;this[_0x5e230c(0x1d9)][_0x5e230c(0x1e6)](_0x22d80b)||(this[_0x5e230c(0x1d9)][_0x5e230c(0x1e2)](_0x22d80b),this[_0x5e230c(0x1f4)][_0x5e230c(0x132)](_0x22d80b),this[_0x5e230c(0x10f)]||_0x5e230c(0x19f)==_0x22d80b[_0x5e230c(0x19e)]&&!_0x22d80b[_0x5e230c(0x1d8)]||this[_0x5e230c(0x1a6)]());}[_0x1cac3e(0x1e4)](_0x3e2c07=!0x1){const _0x4f9ce2=_0x1cac3e;!_0x3e2c07&&this[_0x4f9ce2(0x170)]||(this[_0x4f9ce2(0x170)]=!0x0,clearTimeout(this[_0x4f9ce2(0x1d4)]),this[_0x4f9ce2(0x1d4)]=setTimeout(()=>{const _0x519671=_0x4f9ce2;this[_0x519671(0x16d)]()[_0x519671(0x142)](_0xdab92=>{const _0x4dd95d=_0x519671;_0xdab92&&(this[_0x4dd95d(0x198)](),this[_0x4dd95d(0x170)]=!0x1);})[_0x519671(0x144)](_0x47b555=>{const _0x1a534e=_0x519671;this[_0x1a534e(0x198)](),this[_0x1a534e(0x170)]=!0x1,function(_0x142c75){const _0x51d217=_0x1a534e;return _0x142c75[_0x51d217(0x185)][_0x51d217(0x1c1)](_0x51d217(0x12e))||_0x142c75[_0x51d217(0x185)][_0x51d217(0x1c1)](_0x51d217(0x119))||_0x142c75[_0x51d217(0x185)][_0x51d217(0x1c1)](_0x51d217(0x11a));}(_0x47b555)||this[_0x1a534e(0x195)](_0x47b555[_0x1a534e(0x185)],_0x47b555,!0x0);});},this[_0x4f9ce2(0x1f8)]));}[_0x1cac3e(0x1da)](){return new Promise(_0x4c7450=>{const _0xad8123=_0x48f4;this['on'](_0xad8123(0x14b),()=>{_0x4c7450();});});}async[_0x1cac3e(0x16d)](){const _0x35c79e=_0x1cac3e,_0x4727a0=this[_0x35c79e(0x1c9)][_0x35c79e(0x1c6)][_0x35c79e(0x1af)](_0x568f16);if(this[_0x35c79e(0x18b)]()&&(_0x4727a0[_0x35c79e(0x18e)](),this[_0x35c79e(0x1b9)]=!0x1),!this[_0x35c79e(0x131)]())return!0x0;const _0x11ca7a=[...this[_0x35c79e(0x1f4)]];for(const _0x5702d0 of _0x11ca7a)_0x5702d0[_0x35c79e(0x14e)]=this[_0x35c79e(0x1c2)][_0x35c79e(0x129)][_0x35c79e(0x1c4)](_0x5702d0);const _0x10e617=this[_0x35c79e(0x1f5)][_0x35c79e(0x1a5)](_0x11ca7a),_0x317d02=K++,_0xb8f3d0=this[_0x35c79e(0x1bc)](_0x11ca7a),_0x25c699=await this[_0x35c79e(0x190)][_0x35c79e(0x1d7)](_0xb8f3d0,_0xb8f3d0[_0x35c79e(0x192)],_0x10e617);try{return await this[_0x35c79e(0x1db)](_0x11ca7a,_0x25c699,_0x317d02);}catch(_0x25a316){return this[_0x35c79e(0x195)](_0x35c79e(0x1bf),_0x25a316);}}async[_0x1cac3e(0x1db)](_0x2c59cc,_0x44ee04,_0x2e9db9){const _0xa5f5ed=_0x1cac3e;if(_0xa5f5ed(0x1bb)in _0x44ee04)throw _0x44ee04[_0xa5f5ed(0x1bb)];let _0x14b0e1=!0x1;if(_0x44ee04[_0xa5f5ed(0x1ed)]){_0x44ee04[_0xa5f5ed(0x188)]&&(this[_0xa5f5ed(0x135)]=_0x44ee04[_0xa5f5ed(0x188)]),this[_0xa5f5ed(0x1f4)]=this[_0xa5f5ed(0x1f4)][_0xa5f5ed(0x1ab)](_0x490414=>!_0x2c59cc[_0xa5f5ed(0x1b5)](_0x490414));for(const _0xb3eb9c of _0x2c59cc)_0xb3eb9c[_0xa5f5ed(0x152)]=_0xa5f5ed(0x112)in _0x44ee04&&_0x44ee04[_0xa5f5ed(0x112)]||void 0x0;Q(_0x2c59cc,_0x44ee04[_0xa5f5ed(0x13b)]-_0x2c59cc[_0xa5f5ed(0x1be)]),this[_0xa5f5ed(0x1fb)](_0x2c59cc);const _0xf9ac2d=_0x2c59cc[_0xa5f5ed(0x1ab)](_0x291a0=>{const _0x2487e3=_0xa5f5ed;if(!_0x291a0[_0x2487e3(0x16e)])return!0x1;const _0x3e40de=this[_0x2487e3(0x13a)](_0x291a0);return _0x3e40de&&!this[_0x2487e3(0x20f)][_0x2487e3(0x1e6)](_0x3e40de);});Q(_0xf9ac2d,this[_0xa5f5ed(0x1c2)][_0xa5f5ed(0x13b)]),this[_0xa5f5ed(0x204)](_0xf9ac2d),_0x14b0e1=!0x0,this[_0xa5f5ed(0x1f8)]=this[_0xa5f5ed(0x1d2)];}else{const _0x1c156b=this[_0xa5f5ed(0x1a7)](_0x44ee04[_0xa5f5ed(0x161)],_0x44ee04[_0xa5f5ed(0x1ce)])[_0xa5f5ed(0x1ab)](_0x4c1114=>_0x4c1114[_0xa5f5ed(0x192)]>=this[_0xa5f5ed(0x15c)]);_0x1c156b[_0xa5f5ed(0x11e)](_0x3315af=>this[_0xa5f5ed(0x1d6)](_0x3315af)),this[_0xa5f5ed(0x1f4)]=this[_0xa5f5ed(0x1f4)][_0xa5f5ed(0x1ab)](_0x504367=>!_0x504367[_0xa5f5ed(0x16e)]||!this[_0xa5f5ed(0x20f)][_0xa5f5ed(0x1e6)](this[_0xa5f5ed(0x13a)](_0x504367))),this[_0xa5f5ed(0x1f4)][_0xa5f5ed(0x1be)]&&Q(this[_0xa5f5ed(0x1f4)],this[_0xa5f5ed(0x1f4)][0x0][_0xa5f5ed(0x192)]),await this[_0xa5f5ed(0x160)](_0x1c156b),_0x14b0e1=this[_0xa5f5ed(0x15a)](_0x1c156b,_0x44ee04[_0xa5f5ed(0x13b)],_0x44ee04[_0xa5f5ed(0x188)]),this[_0xa5f5ed(0x1f8)]=Math[_0xa5f5ed(0x111)](this[_0xa5f5ed(0x1f8)]/0x2);}return _0x14b0e1?!this[_0xa5f5ed(0x131)]()||(this[_0xa5f5ed(0x1e4)](!0x0),!0x1):this[_0xa5f5ed(0x195)](_0xa5f5ed(0x1b1));}[_0x1cac3e(0x15a)](_0x2d393f,_0x249fb8,_0x512048){const _0x1add71=_0x1cac3e;try{const _0x52ad58={'document':this[_0x1add71(0x1c2)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x44ee4a,operationsB:_0x39ee40,originalOperations:_0x49c6f0}=_0x1f4073(_0x2d393f,this[_0x1add71(0x1f4)],_0x52ad58);Q(_0x44ee4a,this[_0x1add71(0x1c2)][_0x1add71(0x13b)]),Q(_0x39ee40,_0x249fb8);for(const _0xab6f83 of _0x44ee4a){const _0x22ff4d=_0x49c6f0[_0x1add71(0x1af)](_0xab6f83);_0xab6f83[_0x1add71(0x196)]=_0x22ff4d?_0x22ff4d[_0x1add71(0x196)]:null;}_0x512048&&(this[_0x1add71(0x1f5)][_0x1add71(0x1e9)](_0x2d393f,_0x512048),this[_0x1add71(0x135)]=_0x512048),this[_0x1add71(0x1f4)]=[..._0x39ee40],this[_0x1add71(0x204)](_0x44ee4a),this[_0x1add71(0x1fb)](_0x2d393f);}catch(_0x1b5140){return console[_0x1add71(0x1bb)](_0x1b5140),!0x1;}return!0x0;}[_0x1cac3e(0x204)](_0x2be6cc,_0xf864f7=!0x1){const _0x1e7c68=_0x1cac3e;this[_0x1e7c68(0x1c9)][_0x1e7c68(0x18a)][_0x1e7c68(0x117)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1da494=>{const _0x2cde0d=_0x1e7c68;for(const _0xc68f26 of _0x2be6cc)this[_0x2cde0d(0x1d9)][_0x2cde0d(0x1e2)](_0xc68f26),this[_0x2cde0d(0x1d6)](_0xc68f26),_0x1da494[_0x2cde0d(0x13d)][_0x2cde0d(0x140)](_0xc68f26),this[_0x2cde0d(0x1c9)][_0x2cde0d(0x18a)][_0x2cde0d(0x200)](_0xc68f26);});}[_0x1cac3e(0x1d6)](_0x34316a){const _0x58f666=_0x1cac3e,_0x24581b=this[_0x58f666(0x13a)](_0x34316a);_0x24581b&&this[_0x58f666(0x20f)][_0x58f666(0x1e2)](_0x24581b);}[_0x1cac3e(0x13a)](_0x34940b){const _0x1d1066=_0x1cac3e;let _0x31d51c,_0x5bc1c0;switch(_0x34940b[_0x1d1066(0x19e)]){case _0x1d1066(0x123):_0x31d51c=_0x34940b[_0x1d1066(0x12f)][_0x1d1066(0x122)];break;case _0x1d1066(0x19f):if(_0x5bc1c0=_0x34940b[_0x1d1066(0x17b)],!_0x5bc1c0)return null;_0x31d51c=_0x5bc1c0[_0x1d1066(0x122)];break;case _0x1d1066(0x138):_0x31d51c=_0x34940b[_0x1d1066(0x122)];break;case _0x1d1066(0x163):_0x31d51c=_0x34940b[_0x1d1066(0x172)];break;case _0x1d1066(0x167):_0x31d51c=_0x34940b[_0x1d1066(0x1ff)][_0x1d1066(0x122)];break;default:return null;}return _0x31d51c[_0x1d1066(0x183)];}[_0x1cac3e(0x1fb)](_0x1f20df){const _0x40fc52=_0x1cac3e;_0x1f20df[_0x40fc52(0x11e)](_0x5ca0ab=>{const _0x434a41=_0x40fc52,_0x22fedd=_0x5ca0ab[_0x434a41(0x1ba)]();_0x22fedd[_0x434a41(0x196)]=_0x5ca0ab[_0x434a41(0x196)],_0x22fedd[_0x434a41(0x16e)]=!!_0x5ca0ab[_0x434a41(0x16e)],_0x22fedd[_0x434a41(0x152)]=_0x5ca0ab[_0x434a41(0x152)],_0x22fedd[_0x434a41(0x192)]+=this[_0x434a41(0x162)],_0x5ca0ab[_0x434a41(0x147)]&&this[_0x434a41(0x1fd)][_0x434a41(0x1e2)](_0x22fedd),this[_0x434a41(0x1cd)][_0x434a41(0x140)](_0x22fedd);});}[_0x1cac3e(0x139)](_0x36ef8e){const _0x2b90ae=_0x1cac3e,_0x1549f8=this[_0x2b90ae(0x1c9)][_0x2b90ae(0x1c6)][_0x2b90ae(0x1af)](_0x2b90ae(0x1b3)),_0x2445c6=this[_0x2b90ae(0x1c9)][_0x2b90ae(0x1d3)];_0x36ef8e||(_0x36ef8e=_0x165fb2(_0x2445c6,_0x2b90ae(0x211))),_0x1549f8[_0x2b90ae(0x166)](_0x36ef8e,{'title':_0x165fb2(_0x2445c6,_0x2b90ae(0x15b)),'namespace':_0x2b90ae(0x20c)}),this[_0x2b90ae(0x1b8)]=!0x0,clearTimeout(this[_0x2b90ae(0x1d4)]),this[_0x2b90ae(0x1f4)]=[],this[_0x2b90ae(0x1c9)][_0x2b90ae(0x1c6)][_0x2b90ae(0x1af)](_0x39dd3a)[_0x2b90ae(0x178)]();}[_0x1cac3e(0x1a6)](){const _0x1f78f7=_0x1cac3e;this[_0x1f78f7(0x10f)]||(this[_0x1f78f7(0x10f)]=this[_0x1f78f7(0x1c9)][_0x1f78f7(0x1c6)][_0x1f78f7(0x1af)](_0x146775)[_0x1f78f7(0x1e2)](_0x165fb2(this[_0x1f78f7(0x1c9)][_0x1f78f7(0x1d3)],_0x1f78f7(0x1d5))));}[_0x1cac3e(0x198)](){const _0x43dcd4=_0x1cac3e;this[_0x43dcd4(0x10f)]&&(this[_0x43dcd4(0x1c9)][_0x43dcd4(0x1c6)][_0x43dcd4(0x1af)](_0x146775)[_0x43dcd4(0x1aa)](this[_0x43dcd4(0x10f)]),this[_0x43dcd4(0x10f)]=null);}[_0x1cac3e(0x1bc)](_0x3d8d56){const _0x39a0af=_0x1cac3e,_0x51d8ec=_0x3d8d56[_0x39a0af(0x12b)](_0x2d1ad6=>_0x2d1ad6[_0x39a0af(0x1f1)]());return this[_0x39a0af(0x19c)][_0x39a0af(0x1c8)](_0x51d8ec);}[_0x1cac3e(0x1a7)](_0x4d66f2,_0x36431d){const _0x4de4ea=_0x1cac3e;return this[_0x4de4ea(0x19c)][_0x4de4ea(0x13f)](_0x4d66f2)[_0x4de4ea(0x12b)]((_0x2f8ba2,_0x12cf01)=>{const _0x379dbd=_0x4de4ea,_0x271a16=_0x379dbd(0x16b)==_0x36431d[_0x12cf01][_0x379dbd(0x19e)];if(_0x379dbd(0x1ea)==_0x2f8ba2[_0x379dbd(0x207)]){const _0x396d45=_0x2f8ba2[_0x379dbd(0x12f)][_0x379dbd(0x122)];!this[_0x379dbd(0x1c2)][_0x379dbd(0x1e8)](_0x396d45)&&(this[_0x379dbd(0x1c2)][_0x379dbd(0x1fa)](_0x379dbd(0x210),_0x396d45)[_0x379dbd(0x18f)]=!0x1);}const _0x9a583b=_0x4e6430[_0x379dbd(0x149)](_0x2f8ba2,this[_0x379dbd(0x1c2)]);return _0x9a583b[_0x379dbd(0x14e)]=_0x2f8ba2[_0x379dbd(0x14e)],_0x9a583b[_0x379dbd(0x16e)]=_0x271a16,_0x9a583b[_0x379dbd(0x196)]=_0x271a16?null:_0x36431d[_0x12cf01][_0x379dbd(0x209)],_0x9a583b[_0x379dbd(0x147)]=_0x379dbd(0x20d)===_0x36431d[_0x12cf01][_0x379dbd(0x19e)],_0x9a583b[_0x379dbd(0x152)]=_0x36431d[_0x12cf01][_0x379dbd(0x152)],_0x9a583b;});}[_0x1cac3e(0x154)](){const _0x41d8d1=_0x1cac3e;this[_0x41d8d1(0x1b9)]=!0x0,this[_0x41d8d1(0x18b)]()?this[_0x41d8d1(0x1e4)]():this[_0x41d8d1(0x1b9)]=!0x1;}[_0x1cac3e(0x18b)](){const _0x5463a4=_0x1cac3e,_0x15d31b=this[_0x5463a4(0x1c9)][_0x5463a4(0x1c6)][_0x5463a4(0x1af)](_0x248130)[_0x5463a4(0x1a3)][_0x5463a4(0x1af)](this[_0x5463a4(0x175)]);return!this[_0x5463a4(0x1c9)][_0x5463a4(0x1ac)]&&!!_0x15d31b&&_0x15d31b[_0x5463a4(0x1be)]>0x1&&this[_0x5463a4(0x1b9)];}[_0x1cac3e(0x131)](){const _0x5bc51e=_0x1cac3e;return this[_0x5bc51e(0x1f4)][_0x5bc51e(0x1be)]>0x0||this[_0x5bc51e(0x18b)]();}}l[_0x1cac3e(0x1b2)]=_0x40621e;export default l;class J extends Error{}function Q(_0x5e57cf,_0x55acd5){const _0x118d06=_0x1cac3e;for(const _0x1f2f5f of _0x5e57cf)_0x1f2f5f[_0x118d06(0x192)]=_0x55acd5++;}class X{constructor(_0x537a82){const _0x79ffb4=_0x1cac3e;this[_0x79ffb4(0x1c3)]=_0x537a82,this[_0x79ffb4(0x164)]=new WeakMap();}[_0x1cac3e(0x1a5)](_0x2e17aa){const _0x416cde=_0x1cac3e;let _0x5741a5=_0x2e17aa[_0x416cde(0x1be)];for(;_0x5741a5--;){const _0x7410a8=_0x2e17aa[_0x5741a5];if(!this[_0x416cde(0x1c3)][_0x416cde(0x1e6)](_0x7410a8)){if(!this[_0x416cde(0x164)][_0x416cde(0x1e6)](_0x7410a8)){const _0x435dd5=_0x20d65c()[_0x416cde(0x134)](0x1,0x12);this[_0x416cde(0x164)][_0x416cde(0x1a4)](_0x7410a8,_0x435dd5);}return this[_0x416cde(0x164)][_0x416cde(0x1af)](_0x7410a8);}}}[_0x1cac3e(0x1e9)](_0x4e4359,_0x451e38){const _0x4b74d9=_0x1cac3e;if(!_0x451e38)return;let _0x1d9df7=_0x4e4359[_0x4b74d9(0x1be)];for(;_0x1d9df7--;){const _0x4dca34=_0x4e4359[_0x1d9df7];this[_0x4b74d9(0x1c3)][_0x4b74d9(0x1e6)](_0x4dca34)||this[_0x4b74d9(0x164)][_0x4b74d9(0x1a4)](_0x4dca34,_0x451e38);}}}
|
|
23
|
+
const _0x3211c7=_0x33e8;(function(_0x3fae56,_0x33647c){const _0x271f28=_0x33e8,_0x3d76c0=_0x3fae56();while(!![]){try{const _0x12c30e=parseInt(_0x271f28(0x1f2))/0x1+parseInt(_0x271f28(0x20b))/0x2+parseInt(_0x271f28(0x218))/0x3*(parseInt(_0x271f28(0x1e3))/0x4)+-parseInt(_0x271f28(0x1ca))/0x5*(-parseInt(_0x271f28(0x20d))/0x6)+parseInt(_0x271f28(0x1b9))/0x7+parseInt(_0x271f28(0x216))/0x8*(parseInt(_0x271f28(0x1b5))/0x9)+-parseInt(_0x271f28(0x15c))/0xa*(parseInt(_0x271f28(0x189))/0xb);if(_0x12c30e===_0x33647c)break;else _0x3d76c0['push'](_0x3d76c0['shift']());}catch(_0x51d7c1){_0x3d76c0['push'](_0x3d76c0['shift']());}}}(_0x4374,0x18973));function _0x4374(){const _0x53e0ca=['_knownOperations','wereChangesApplied','parse','_isInit','round','_baseBufferDelay','requires','_isEditingAllowed','_handleInitialConnectionData','getIdOfTheLastOperation','sessionAdd:','change:_isEditingAllowed','enqueueChange','lastOperationAcceptedAt','163644hjCpPF','_isConnected','getMany','enableReadOnlyMode','_handleServerResponse','addToReconnectionStack','decompress','_handleReconnectionError','$root','insert','_updateServerHistory','filter','attributes','size','change:_isPendingUpdate','permissions','_initSessionsHandling','_crash','push','getOperations','_document','get','disableReadOnlyMode','markers','_sendBufferedOperationsDelayId','74746MkdcQR','_isLoaded','12RKoakc','connection','_disconnectService','map','unregister','getDocumentDetails','setIdForTheLastOperation','createdAt','PENDING_ACTION_SENDING_DATA','1308368YaxwAZ','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','123204mUqTLA','_hasSynchronizationProblem','stop','__className','reconnect','fromJSON','_getAffectedRoot','batch','_initThrowingOnDataSet','realtimecollaborationclient-initservice-internal-error','type','disconnected','add','_isPendingUpdate','RealTimeCollaborationClient','isPremiumPlugin','then','_applyOperationsSet','addRootAttribute','newRange','entries','finally','_sendBufferedOperations','_bufferRootLoad','isUndoneOperation','data','baseVersion','isOfficialPlugin','_knownRootNames','_handleSendingSelectionMarkers','root','marker','_setPendingAction','getUser','Notification','init','toJSON','_ignoredOperations','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.','code','getRoot','realtimecollaborationclient-initservice-incorrect-server-operation','_offset','connected','fire','removeFromReconnectionStack','move','mySessionId','directChange','_bufferedOperations','_service','collaboration.channelId','_getOperationsFromInitData','createPositionAt','_sendBufferedOperationsDelayed','high','keys','userId','sessionId','plugins','getOperationAuthor','pluginName','editor','model','slice','loadRoot','realtimecollaborationclient-handleserverresponse','createRoot','config','409','_isDisconnection','_hasSelectionChanged','lastOperationId','addRoot','246130AewJfC','forEach','apply','document','cloud-services-internal-error:\x20Request\x20timeout.','realtimecollaborationclient-init-non-existent-root','InsertOperation','addOperation','isDocumentOperation','off','reconnection:\x20flushed\x20session','_clearPendingAction','getConnectedSessions','_compressOperations','real-time-collaboration','createRange','roots','reset','_setUpDataInit','realtimecollaborationclient-error','channelSessions','catch','_compressor','Synchronization\x20issue','message','cloudDocumentVersion','suppressErrorInCollaboration','showWarning','Permissions','destroy','_channelId','state','position','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','change:range','_loadRoot','wasUndone','ready','applyOperation','cloud-services-internal-error:\x20Not\x20connected.','_connectService','define','_waitUntilSynced','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.','_operationToId','220uvPHKX','connect','affectedSelectable','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_refreshUserSelectionMarkers','collaboration-missing-channelid','operationsReceived','rootName','disconnect','_lastSyncedOperationId','version','collaboration','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','cs:removeUser','selection','view','_saveOperationInBuffer','start','offset','realtimecollaborationclient-init-session-connection-error','_disconnectionOperations','listenTo','lastDocumentSession','_shouldSendUpdate','cloudServices.bundleVersion','_connectAfterSessionHasBeenFlushed','_lastServerVersion','isReadOnly','_handleReconnectionResponse','rtc-offline','clone','rootsAttributes','return','affectsData','error','targetPosition','realtimecollaborationclient-init-connection-failed','setPermissions','_pendingAction','rtc-destroyed','has','locale','path','_currentBufferDelay','9lZSyWG','_authorId','_addKnownRoot','includes','601482UOZLmo','change:hasDomSelection','register','CollaborativeEditingService','from','length','stopListening','_decompressOperations','sendOperations','isEnabled','bind','_isAttached','currentDocumentSession','_shouldSendSelectionUpdate','serverHistory','realtimecollaborationclient-init-document-already-initialized','_operationIdentifier','150895FERjhR','end','string','startsWith','lastSyncVersion','404','createUserMarkerOperations','realtimecollaborationclient-sendbufferedoperations','history','_handleExternalOperations','CommentsOnly','document:write','remove','compress','addUser','set','multi-root-editor-root-attributes-no-root','metadata','createPositionFromPath','sessionCreatedAt','_handleReceivedOperations','editing','differ','initData','_fetchMissingUsers','8eJKYcz'];_0x4374=function(){return _0x53e0ca;};return _0x4374();}import{Plugin as _0x154364,PendingActions as _0x417cf2}from'ckeditor5/src/core.js';import{CKEditorError as _0x3e3a4d,version as _0x176bcc,uid as _0x32e298}from'ckeditor5/src/utils.js';import{Notification as _0x383a48}from'ckeditor5/src/ui.js';import{transformSets as _0x3f6b7e,NoOperation as _0x3e7822,InsertOperation as _0x18b774,MarkerOperation as _0x288d7a,RootAttributeOperation as _0x26a2c0,OperationFactory as _0x75ffad,History as _0xf2609b}from'ckeditor5/src/engine.js';import _0x5ca9e0 from'./websocketgateway.js';import _0x381b5b from'./sessions.js';import _0x5c9c7a from'./usermarkers.js';function _0x33e8(_0x5ce239,_0xc47cfd){const _0x437485=_0x4374();return _0x33e8=function(_0x33e848,_0x133098){_0x33e848=_0x33e848-0x118;let _0x166b3d=_0x437485[_0x33e848];return _0x166b3d;},_0x33e8(_0x5ce239,_0xc47cfd);}import{getTranslation as _0x208a9d}from'../common-translations.js';import{Compressor as _0x59557a}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x32c4ce}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x377b5d,CollaborativeEditingService as _0x16a52d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x154364{static get[_0x3211c7(0x1ea)](){return[_0x5ca9e0,_0x381b5b,_0x5c9c7a,_0x417cf2,_0x32c4ce,_0x383a48];}static get[_0x3211c7(0x14f)](){const _0x4510ee=_0x3211c7;return _0x4510ee(0x120);}static get[_0x3211c7(0x12d)](){return!0x0;}static get[_0x3211c7(0x121)](){return!0x0;}get[_0x3211c7(0x175)](){const _0x3c1866=_0x3211c7;return this[_0x3c1866(0x1a3)]+this[_0x3c1866(0x13c)];}get[_0x3211c7(0x1a3)](){const _0x13b405=_0x3211c7;return this[_0x13b405(0x1c7)][_0x13b405(0x193)]-this[_0x13b405(0x13c)];}get[_0x3211c7(0x1ce)](){const _0x1a3513=_0x3211c7,_0x3cf6b0=this[_0x1a3513(0x1c7)][_0x1a3513(0x205)]();for(let _0x9baf6b=_0x3cf6b0[_0x1a3513(0x1be)]-0x1;_0x9baf6b>=0x0;_0x9baf6b--){const _0x20e4b2=_0x3cf6b0[_0x9baf6b];if(!this[_0x1a3513(0x19d)][_0x1a3513(0x1b1)](_0x20e4b2))return _0x20e4b2[_0x1a3513(0x12c)]+0x1-this[_0x1a3513(0x13c)];}return 0x0;}constructor(_0xf8d2a){const _0x4ac6b5=_0x3211c7;if(super(_0xf8d2a),this[_0x4ac6b5(0x13c)]=0x0,this[_0x4ac6b5(0x14c)]=null,this[_0x4ac6b5(0x1c7)]=new _0xf2609b(),this[_0x4ac6b5(0x150)][_0x4ac6b5(0x156)][_0x4ac6b5(0x185)](_0x4ac6b5(0x194),{}),this[_0x4ac6b5(0x17a)]=this[_0x4ac6b5(0x150)][_0x4ac6b5(0x156)][_0x4ac6b5(0x207)](_0x4ac6b5(0x145)),!this[_0x4ac6b5(0x17a)])throw new _0x3e3a4d(_0x4ac6b5(0x18e),this);const _0x1be925=_0xf8d2a[_0x4ac6b5(0x156)][_0x4ac6b5(0x207)](_0x4ac6b5(0x1a1))||_0x176bcc;this[_0x4ac6b5(0x144)]=new l[(_0x4ac6b5(0x1bc))](_0x1be925,this[_0x4ac6b5(0x17a)]),this[_0x4ac6b5(0x206)]=this[_0x4ac6b5(0x150)][_0x4ac6b5(0x151)][_0x4ac6b5(0x15f)],this[_0x4ac6b5(0x172)]=new _0x59557a(),this[_0x4ac6b5(0x143)]=[],this[_0x4ac6b5(0x1e4)]=new WeakSet(),this[_0x4ac6b5(0x12e)]=new Set(),this[_0x4ac6b5(0x1d9)](_0x4ac6b5(0x11f),!0x1),this[_0x4ac6b5(0x1d9)](_0x4ac6b5(0x219),!0x1),this[_0x4ac6b5(0x1af)]=null,this[_0x4ac6b5(0x159)]=!0x1,this[_0x4ac6b5(0x20a)]=null,this[_0x4ac6b5(0x1e9)]=0x12c,this[_0x4ac6b5(0x1b4)]=this[_0x4ac6b5(0x1e9)],this[_0x4ac6b5(0x192)]=null,this[_0x4ac6b5(0x19d)]=new WeakSet(),this[_0x4ac6b5(0x1c9)]=new X(this[_0x4ac6b5(0x19d)]);}[_0x3211c7(0x135)](){const _0x9379fe=_0x3211c7,_0x5a38ac=this[_0x9379fe(0x150)],_0x46e5af=_0x5a38ac[_0x9379fe(0x14d)][_0x9379fe(0x207)](_0x32c4ce),_0x605223=_0x5a38ac[_0x9379fe(0x14d)][_0x9379fe(0x207)](_0x5ca9e0);this[_0x9379fe(0x19e)](_0x46e5af,_0x9379fe(0x14e),(_0x561d9b,_0x1191d3)=>{const _0x3aa073=_0x9379fe,_0x778dfa=_0x1191d3[0x0];_0x778dfa[_0x3aa073(0x1b6)]&&(_0x561d9b[_0x3aa073(0x1a9)]=_0x46e5af[_0x3aa073(0x133)](_0x778dfa[_0x3aa073(0x1b6)]),_0x561d9b[_0x3aa073(0x21a)]()),null===_0x778dfa[_0x3aa073(0x1b6)]&&(_0x561d9b[_0x3aa073(0x1a9)]=null,_0x561d9b[_0x3aa073(0x21a)]());},{'priority':_0x9379fe(0x149)}),this[_0x9379fe(0x19e)](_0x5a38ac[_0x9379fe(0x151)][_0x9379fe(0x15f)][_0x9379fe(0x197)],_0x9379fe(0x17e),(_0x23edff,_0x19d629)=>{const _0x433749=_0x9379fe;_0x19d629[_0x433749(0x142)]&&this[_0x433749(0x18d)]();}),this[_0x9379fe(0x19e)](_0x5a38ac[_0x9379fe(0x1df)][_0x9379fe(0x198)],_0x9379fe(0x1ba),()=>{const _0x49794a=_0x9379fe;this[_0x49794a(0x18d)]();}),this[_0x9379fe(0x11a)](),_0x5a38ac[_0x9379fe(0x151)]['on'](_0x9379fe(0x182),(_0x302cee,_0x365e75)=>{const _0x80de1e=_0x9379fe,_0x7ce6c7=_0x365e75[0x0];_0x7ce6c7[_0x80de1e(0x164)]&&(this[_0x80de1e(0x199)](_0x7ce6c7),this[_0x80de1e(0x1a0)]()&&this[_0x80de1e(0x148)]());}),this[_0x9379fe(0x16e)](),this[_0x9379fe(0x1c3)](_0x9379fe(0x1eb))['to'](_0x605223,_0x9379fe(0x17b),this,_0x9379fe(0x219),(_0x50a34f,_0x42636c)=>_0x9379fe(0x13d)===_0x50a34f&&!_0x42636c),this['on'](_0x9379fe(0x1ef),()=>{const _0xbd3da8=_0x9379fe;this[_0xbd3da8(0x1eb)]?_0x5a38ac[_0xbd3da8(0x208)](_0xbd3da8(0x1a6)):_0x5a38ac[_0xbd3da8(0x1f5)](_0xbd3da8(0x1a6));}),this[_0x9379fe(0x1eb)]?_0x5a38ac[_0x9379fe(0x208)](_0x9379fe(0x1a6)):_0x5a38ac[_0x9379fe(0x1f5)](_0x9379fe(0x1a6)),this[_0x9379fe(0x1d9)](_0x9379fe(0x1f3),!0x1);}async[_0x3211c7(0x21c)](){const _0x121284=_0x3211c7,_0x3542d6=this[_0x121284(0x150)][_0x121284(0x14d)][_0x121284(0x207)](_0x381b5b),_0x4845a7=this[_0x121284(0x150)][_0x121284(0x14d)][_0x121284(0x207)](_0x5ca9e0);try{this[_0x121284(0x11f)]=!0x0,_0x3542d6[_0x121284(0x211)](this[_0x121284(0x17a)]);const _0x282094=await this[_0x121284(0x144)][_0x121284(0x21c)](_0x4845a7[_0x121284(0x20e)],this[_0x121284(0x1ce)]);await this[_0x121284(0x1a5)](_0x282094)&&(this[_0x121284(0x11f)]=!0x1,this[_0x121284(0x167)]());const _0xa53378=await this[_0x121284(0x144)][_0x121284(0x168)]();_0x3542d6[_0x121284(0x1bb)](this[_0x121284(0x17a)],_0xa53378),this[_0x121284(0x12f)](),this[_0x121284(0x1f3)]=!0x0;}catch(_0x5831bd){if(function(_0x664bc4){const _0x44eef9=_0x121284;return _0x44eef9(0x1cf)===_0x664bc4[_0x44eef9(0x139)];}(_0x5831bd)&&this[_0x121284(0x14c)])await this[_0x121284(0x1a2)]();else{if(function(_0xacd264){const _0xcd2138=_0x121284;return _0xcd2138(0x157)===_0xacd264[_0xcd2138(0x139)];}(_0x5831bd)){const _0x725b0f=_0x208a9d(this[_0x121284(0x150)][_0x121284(0x1b2)],_0x121284(0x195));this[_0x121284(0x1f9)](_0x725b0f);}else{if(!(_0x5831bd instanceof J))throw _0x5831bd;this[_0x121284(0x1f9)]();}}}}[_0x3211c7(0x179)](){const _0x22e85f=_0x3211c7,_0x5da22f=this[_0x22e85f(0x150)][_0x22e85f(0x14d)][_0x22e85f(0x207)](_0x5ca9e0),_0xf7d90f=this[_0x22e85f(0x150)][_0x22e85f(0x14d)][_0x22e85f(0x207)](_0x381b5b);this[_0x22e85f(0x150)][_0x22e85f(0x1f5)](_0x22e85f(0x1b0)),_0xf7d90f[_0x22e85f(0x170)][_0x22e85f(0x1b1)](this[_0x22e85f(0x17a)])&&_0xf7d90f[_0x22e85f(0x211)](this[_0x22e85f(0x17a)]),_0x5da22f[_0x22e85f(0x13f)](this),this[_0x22e85f(0x20f)](),super[_0x22e85f(0x179)]();}async[_0x3211c7(0x1a5)](_0x3f1161){const _0x36df72=_0x3211c7;if(this[_0x36df72(0x14c)]!==_0x3f1161[_0x36df72(0x14c)]&&this[_0x36df72(0x192)]!==_0x3f1161[_0x36df72(0x15a)])throw new J();return this[_0x36df72(0x14c)]=_0x3f1161[_0x36df72(0x14c)],this[_0x36df72(0x1f6)]([],{..._0x3f1161,'wereChangesApplied':!0x1,'data':_0x3f1161[_0x36df72(0x12b)]},_0x36df72(0x21c));}async[_0x3211c7(0x184)](_0x650b2d,_0x363fd2=!0x1){const _0x504b25=_0x3211c7,{connection:_0x573b17}=this[_0x504b25(0x150)][_0x504b25(0x14d)][_0x504b25(0x207)](_0x5ca9e0);l[_0x504b25(0x1bc)][_0x504b25(0x168)](_0x573b17,this[_0x504b25(0x17a)])[_0x504b25(0x122)](_0x5a0937=>this[_0x504b25(0x202)](_0x5a0937))[_0x504b25(0x171)](_0x2e1d43=>{const _0x2e35e7=_0x504b25;this[_0x2e35e7(0x203)](_0x2e35e7(0x19c),_0x2e1d43);}),this[_0x504b25(0x19e)](this[_0x504b25(0x144)],_0x504b25(0x18f),this[_0x504b25(0x1de)][_0x504b25(0x1c3)](this)),this[_0x504b25(0x19e)](this[_0x504b25(0x144)],_0x504b25(0x1ab),(_0x272c46,_0x396c97)=>{const _0x13b6fc=_0x504b25;this[_0x13b6fc(0x203)](_0x13b6fc(0x11b),_0x396c97);}),this[_0x504b25(0x19e)](this[_0x504b25(0x144)],_0x504b25(0x11d),()=>{const _0x111669=_0x504b25;this[_0x111669(0x1f3)]=!0x1;});const _0x8d7ebd=this[_0x504b25(0x1c9)][_0x504b25(0x1ed)](_0x650b2d);this[_0x504b25(0x11f)]=!0x0;const _0x2373df=await this[_0x504b25(0x144)][_0x504b25(0x18a)](_0x573b17,this[_0x504b25(0x169)](_0x650b2d),_0x8d7ebd);if(this[_0x504b25(0x14c)]=_0x2373df[_0x504b25(0x14c)],_0x363fd2){if(!_0x2373df[_0x504b25(0x1e5)])return void this[_0x504b25(0x1f9)]();this[_0x504b25(0x11f)]=!0x1,this[_0x504b25(0x167)](),this[_0x504b25(0x1c7)][_0x504b25(0x16d)](),this[_0x504b25(0x13c)]=_0x2373df[_0x504b25(0x19b)],this[_0x504b25(0x1c7)][_0x504b25(0x193)]=this[_0x504b25(0x13c)],await this[_0x504b25(0x1f6)](_0x650b2d,_0x2373df,_0x504b25(0x166));}else await this[_0x504b25(0x1ec)](_0x2373df,_0x650b2d);this[_0x504b25(0x12f)](),this[_0x504b25(0x1f3)]=!0x0;}[_0x3211c7(0x12f)](){const _0x237d9e=_0x3211c7,_0x5fe09d=this[_0x237d9e(0x150)][_0x237d9e(0x14d)][_0x237d9e(0x207)](_0x381b5b),_0x6caebe=this[_0x237d9e(0x150)][_0x237d9e(0x14d)][_0x237d9e(0x207)](_0x5c9c7a),_0x42a116=_0x5fe09d[_0x237d9e(0x170)][_0x237d9e(0x207)](this[_0x237d9e(0x17a)]);_0x42a116&&_0x42a116[_0x237d9e(0x1be)]>0x1?_0x6caebe[_0x237d9e(0x1d0)]():this[_0x237d9e(0x19e)](_0x5fe09d,_0x237d9e(0x1ee)+this[_0x237d9e(0x17a)],()=>{const _0x25c024=_0x237d9e;0x2===_0x5fe09d[_0x25c024(0x170)][_0x25c024(0x207)](this[_0x25c024(0x17a)])[_0x25c024(0x1be)]&&_0x6caebe[_0x25c024(0x1d0)]();});}async[_0x3211c7(0x1de)](_0x7f44b,_0x3450a5,_0x13dad9,_0x292d3e){const _0x19775e=_0x3211c7;if(!this[_0x19775e(0x11f)]&&this[_0x19775e(0x206)][_0x19775e(0x193)]==_0x3450a5){const _0x1d39ff=this[_0x19775e(0x1c0)](_0x13dad9,_0x292d3e);await this[_0x19775e(0x1e2)](_0x1d39ff),this[_0x19775e(0x1d3)](_0x1d39ff,_0x3450a5,_0x13dad9[_0x19775e(0x15a)])||this[_0x19775e(0x203)](_0x19775e(0x13b));}}async[_0x3211c7(0x1a2)](){const _0x5466f8=_0x3211c7;this[_0x5466f8(0x20f)]();const {locale:_0x328adb}=this[_0x5466f8(0x150)];let _0x47595a;try{_0x47595a=await this[_0x5466f8(0x144)][_0x5466f8(0x212)]();}catch(_0x4d7e1c){const _0x27a4d4=_0x208a9d(_0x328adb,_0x5466f8(0x17d));return void this[_0x5466f8(0x1f9)](_0x27a4d4);}const _0x55bf01=_0x47595a[_0x5466f8(0x1c5)]||_0x47595a[_0x5466f8(0x19f)];if(this[_0x5466f8(0x192)]===_0x55bf01[_0x5466f8(0x15a)])await this[_0x5466f8(0x184)](this[_0x5466f8(0x150)][_0x5466f8(0x151)][_0x5466f8(0x15f)][_0x5466f8(0x1d2)][_0x5466f8(0x205)](),!0x0);else{const _0x8d8222=_0x208a9d(_0x328adb,_0x5466f8(0x187));this[_0x5466f8(0x1f9)](_0x8d8222);}}[_0x3211c7(0x20f)](){const _0x33e0e1=_0x3211c7;this[_0x33e0e1(0x144)][_0x33e0e1(0x191)](),this[_0x33e0e1(0x143)]=[],clearTimeout(this[_0x33e0e1(0x20a)]),this[_0x33e0e1(0x1bf)](this[_0x33e0e1(0x144)]);}[_0x3211c7(0x202)](_0x3980f8){const _0x385ae6=_0x3211c7,_0x3e2ea2=this[_0x385ae6(0x150)][_0x385ae6(0x14d)][_0x385ae6(0x207)](_0x381b5b);this[_0x385ae6(0x19e)](_0x3e2ea2,_0x385ae6(0x1ee)+this[_0x385ae6(0x17a)],(_0x2f8c1d,{session:_0x4a36d7})=>{const _0x95d74a=_0x385ae6;if(_0x4a36d7['id']===_0x3e2ea2[_0x95d74a(0x141)]){_0x2f8c1d[_0x95d74a(0x165)]();const _0x239dc3=this[_0x95d74a(0x150)][_0x95d74a(0x14d)][_0x95d74a(0x1b1)](_0x95d74a(0x1d4))&&this[_0x95d74a(0x150)][_0x95d74a(0x14d)][_0x95d74a(0x207)](_0x95d74a(0x1d4));let _0x1d96ed=_0x4a36d7[_0x95d74a(0x201)];_0x239dc3&&_0x239dc3[_0x95d74a(0x1c2)]&&(_0x1d96ed=_0x1d96ed[_0x95d74a(0x1fd)](_0x572272=>_0x95d74a(0x1d5)!==_0x572272)),this[_0x95d74a(0x150)][_0x95d74a(0x14d)][_0x95d74a(0x207)](_0x95d74a(0x178))[_0x95d74a(0x1ae)](_0x1d96ed,this[_0x95d74a(0x17a)]);}}),_0x3e2ea2[_0x385ae6(0x1bb)](this[_0x385ae6(0x17a)],_0x3980f8);}[_0x3211c7(0x11a)](){const _0x14cef4=_0x3211c7,_0x1b9c21=this[_0x14cef4(0x150)][_0x14cef4(0x12b)][_0x14cef4(0x1d9)];this[_0x14cef4(0x150)][_0x14cef4(0x12b)][_0x14cef4(0x1d9)]=(..._0x2ffcac)=>{const _0x370ca4=_0x14cef4;if(!_0x2ffcac[_0x2ffcac[_0x370ca4(0x1be)]-0x1][_0x370ca4(0x176)])throw new _0x3e3a4d(_0x370ca4(0x18c),this);_0x1b9c21[_0x370ca4(0x15e)](this[_0x370ca4(0x150)][_0x370ca4(0x12b)],_0x2ffcac);};}[_0x3211c7(0x16e)](){const _0x3dd52a=_0x3211c7;this[_0x3dd52a(0x150)][_0x3dd52a(0x12b)]['on'](_0x3dd52a(0x135),(_0x47860d,[_0x1e0903])=>{const _0x5450c8=_0x3dd52a;if(this[_0x5450c8(0x206)][_0x5450c8(0x193)])throw new _0x3e3a4d(_0x5450c8(0x1c8),this);_0x47860d[_0x5450c8(0x21a)](),this[_0x5450c8(0x132)]();const _0x1c2dc4=this[_0x5450c8(0x150)][_0x5450c8(0x156)][_0x5450c8(0x207)](_0x5450c8(0x1a8)),_0x4fff8f=this[_0x5450c8(0x146)](_0x1e0903,_0x1c2dc4);0x0==_0x4fff8f[_0x5450c8(0x1be)]&&_0x4fff8f[_0x5450c8(0x204)](new _0x3e7822(0x0)),_0x47860d[_0x5450c8(0x1a9)]=this[_0x5450c8(0x184)](_0x4fff8f)[_0x5450c8(0x122)](()=>{const _0x3ad8cb=_0x5450c8;this[_0x3ad8cb(0x150)][_0x3ad8cb(0x14d)][_0x3ad8cb(0x207)](_0x5ca9e0)[_0x3ad8cb(0x1f7)](this),this[_0x3ad8cb(0x150)][_0x3ad8cb(0x12b)][_0x3ad8cb(0x13e)](_0x3ad8cb(0x181));})[_0x5450c8(0x171)](_0x586d22=>this[_0x5450c8(0x203)](_0x5450c8(0x1ad),_0x586d22))[_0x5450c8(0x127)](()=>this[_0x5450c8(0x167)]());},{'priority':_0x3dd52a(0x149)}),this[_0x3dd52a(0x150)]['on'](_0x3dd52a(0x153),async(_0x2508e3,[_0x303d88,_0x127c5f])=>{const _0x5446b1=_0x3dd52a;_0x2508e3[_0x5446b1(0x21a)]();const _0x369a8e=this[_0x5446b1(0x150)][_0x5446b1(0x151)][_0x5446b1(0x15f)][_0x5446b1(0x13a)](_0x303d88);if(!this[_0x5446b1(0x12e)][_0x5446b1(0x1b1)](_0x303d88)){const _0x254a8d=_0x127c5f&&_0x127c5f[_0x5446b1(0x12b)]?_0x127c5f[_0x5446b1(0x12b)]:'',_0x37ef99=_0x127c5f&&_0x127c5f[_0x5446b1(0x1fe)]?_0x127c5f[_0x5446b1(0x1fe)]:{};await this[_0x5446b1(0x17f)](_0x303d88,_0x254a8d,_0x37ef99);}this[_0x5446b1(0x150)][_0x5446b1(0x151)][_0x5446b1(0x1f0)]({'isUndoable':!0x1},()=>{const _0x4ae7aa=_0x5446b1;_0x369a8e[_0x4ae7aa(0x20c)]=!0x0,this[_0x4ae7aa(0x150)][_0x4ae7aa(0x151)][_0x4ae7aa(0x15f)][_0x4ae7aa(0x1e0)][_0x4ae7aa(0x129)](_0x369a8e);});},{'priority':_0x3dd52a(0x149)});}async[_0x3211c7(0x1e2)](_0x143909){const _0x202368=_0x3211c7,_0x25cc4d=this[_0x202368(0x150)][_0x202368(0x14d)][_0x202368(0x207)](_0x32c4ce),{connection:_0x4b79f8}=this[_0x202368(0x150)][_0x202368(0x14d)][_0x202368(0x207)](_0x5ca9e0),_0x289574=new Set();for(const _0x3b7ab2 of _0x143909){const _0x56584b=_0x3b7ab2[_0x202368(0x1b6)];_0x56584b&&!_0x25cc4d[_0x202368(0x133)](_0x56584b)&&_0x289574[_0x202368(0x11e)](_0x56584b);}if(0x0===_0x289574[_0x202368(0x1ff)])return;const _0x1828ab=await _0x377b5d[_0x202368(0x1f4)](_0x4b79f8,Array[_0x202368(0x1bd)](_0x289574));for(const _0x2f08f6 of _0x1828ab)_0x25cc4d[_0x202368(0x133)](_0x2f08f6['id'])||_0x25cc4d[_0x202368(0x1d8)](_0x2f08f6);}[_0x3211c7(0x146)](_0x46320a,_0x541621={}){const _0x43cde9=_0x3211c7,_0x451a34=this[_0x43cde9(0x150)][_0x43cde9(0x151)],_0x4c8a6a=[];let _0x2b4618=0x0;const _0x4106ec=_0x43cde9(0x1cc)==typeof _0x46320a?{'main':_0x46320a}:_0x46320a;for(const _0x53ca5b of Object[_0x43cde9(0x14a)](_0x4106ec)){if(!this[_0x43cde9(0x206)][_0x43cde9(0x16c)][_0x43cde9(0x1b1)](_0x53ca5b))throw new _0x3e3a4d(_0x43cde9(0x161),this);const _0x2b23d9=this[_0x43cde9(0x150)][_0x43cde9(0x12b)][_0x43cde9(0x1e6)](_0x4106ec[_0x53ca5b]),_0x20d6ca=this[_0x43cde9(0x206)][_0x43cde9(0x13a)](_0x53ca5b),_0x404c19=new _0x18b774(_0x451a34[_0x43cde9(0x147)](_0x20d6ca,0x0),_0x2b23d9,_0x2b4618++);_0x4c8a6a[_0x43cde9(0x204)](_0x404c19);for(const [_0x4294be,_0x10205e]of _0x2b23d9[_0x43cde9(0x209)]){const _0x41c67f=_0x451a34[_0x43cde9(0x16b)](_0x451a34[_0x43cde9(0x1dc)](_0x20d6ca,_0x10205e[_0x43cde9(0x19a)][_0x43cde9(0x1b3)][_0x43cde9(0x152)]()),_0x451a34[_0x43cde9(0x1dc)](_0x20d6ca,_0x10205e[_0x43cde9(0x1cb)][_0x43cde9(0x1b3)][_0x43cde9(0x152)]())),_0xa5485d=new _0x288d7a(_0x4294be,null,_0x41c67f,_0x451a34[_0x43cde9(0x209)],!0x0,_0x2b4618++);_0x4c8a6a[_0x43cde9(0x204)](_0xa5485d);}}if(_0x541621)for(const [_0x36b1cc,_0x50b8da]of Object[_0x43cde9(0x126)](_0x541621)){const _0x25fb51=_0x451a34[_0x43cde9(0x15f)][_0x43cde9(0x13a)](_0x36b1cc);if(!_0x25fb51)throw new _0x3e3a4d(_0x43cde9(0x1da),null);for(const [_0x4a9b4b,_0x2af7e7]of Object[_0x43cde9(0x126)](_0x50b8da))if(null!==_0x2af7e7){const _0x18b98d=new _0x26a2c0(_0x25fb51,_0x4a9b4b,null,_0x2af7e7,_0x2b4618++);_0x4c8a6a[_0x43cde9(0x204)](_0x18b98d);}}return _0x4c8a6a;}async[_0x3211c7(0x17f)](_0x270c01,_0x320e11,_0x41c39b){const _0x453603=_0x3211c7;this[_0x453603(0x146)]({[_0x270c01]:_0x320e11},{[_0x270c01]:_0x41c39b})[_0x453603(0x15d)]((_0x168040,_0x4200f6)=>{const _0x5c13ca=_0x453603;_0x168040[_0x5c13ca(0x12c)]=this[_0x5c13ca(0x206)][_0x5c13ca(0x193)]+_0x4200f6,_0x168040[_0x5c13ca(0x1e7)]=!0x0,this[_0x5c13ca(0x199)](_0x168040);}),this[_0x453603(0x148)](),await this[_0x453603(0x186)]();}async[_0x3211c7(0x1ec)](_0x13c270,_0x544573){const _0x54bdaa=_0x3211c7;let _0x10bb44;this[_0x54bdaa(0x13c)]=_0x13c270[_0x54bdaa(0x19b)];const _0x492a13=_0x13c270[_0x54bdaa(0x1e5)]&&!_0x13c270[_0x54bdaa(0x1e1)],_0x34a26e=_0x492a13?0x0:_0x13c270[_0x54bdaa(0x12b)][_0x54bdaa(0x12c)];if(_0x544573[_0x54bdaa(0x15d)](_0x3f0493=>{const _0x372f3d=_0x54bdaa;_0x3f0493[_0x372f3d(0x1e7)]=!0x0,_0x3f0493[_0x372f3d(0x214)]=_0x13c270[_0x372f3d(0x1dd)],_0x3f0493[_0x372f3d(0x1b6)]=null;}),_0x492a13)_0x10bb44=_0x544573,this[_0x54bdaa(0x123)](_0x10bb44,_0x492a13);else{if(_0x13c270[_0x54bdaa(0x1e1)]){const _0x1649f0=this[_0x54bdaa(0x146)](_0x13c270[_0x54bdaa(0x1e1)]);this[_0x54bdaa(0x206)][_0x54bdaa(0x1d2)][_0x54bdaa(0x193)]=-_0x1649f0[_0x54bdaa(0x1be)],_0x1649f0[_0x54bdaa(0x15d)](_0x283c99=>{const _0x50d461=_0x54bdaa;_0x283c99[_0x50d461(0x12c)]-=_0x1649f0[_0x50d461(0x1be)],_0x283c99[_0x50d461(0x214)]=_0x13c270[_0x50d461(0x1dd)],_0x283c99[_0x50d461(0x1e7)]=!0x0,_0x283c99[_0x50d461(0x1b6)]=null;}),this[_0x54bdaa(0x123)](_0x1649f0,!0x0),this[_0x54bdaa(0x1c7)][_0x54bdaa(0x193)]=-_0x1649f0[_0x54bdaa(0x1be)]+this[_0x54bdaa(0x13c)],this[_0x54bdaa(0x1fc)](_0x1649f0);}this[_0x54bdaa(0x206)][_0x54bdaa(0x1d2)][_0x54bdaa(0x193)]=_0x34a26e,_0x10bb44=this[_0x54bdaa(0x1c0)](_0x13c270[_0x54bdaa(0x12b)],_0x13c270[_0x54bdaa(0x1db)]),await this[_0x54bdaa(0x1e2)](_0x10bb44),this[_0x54bdaa(0x123)](_0x10bb44,_0x492a13);}_0x13c270[_0x54bdaa(0x15a)]&&(this[_0x54bdaa(0x1c9)][_0x54bdaa(0x213)](_0x10bb44,_0x13c270[_0x54bdaa(0x15a)]),this[_0x54bdaa(0x192)]=_0x13c270[_0x54bdaa(0x15a)]),this[_0x54bdaa(0x1c7)][_0x54bdaa(0x193)]=_0x34a26e+this[_0x54bdaa(0x13c)],this[_0x54bdaa(0x1fc)](_0x10bb44),_0x544573[_0x54bdaa(0x1fd)](_0x29f33f=>{const _0x494597=_0x54bdaa,_0x1874df=this[_0x494597(0x118)](_0x29f33f);return _0x1874df&&!this[_0x494597(0x12e)][_0x494597(0x1b1)](_0x1874df);})[_0x54bdaa(0x15d)]((_0x264afd,_0x48fa12)=>{const _0x1f5122=_0x54bdaa;_0x264afd[_0x1f5122(0x12c)]=this[_0x1f5122(0x206)][_0x1f5122(0x193)]+_0x48fa12,this[_0x1f5122(0x199)](_0x264afd);}),this[_0x54bdaa(0x1a0)]()?(this[_0x54bdaa(0x1b4)]=0x0,this[_0x54bdaa(0x148)](!0x0),await this[_0x54bdaa(0x186)]()):(this[_0x54bdaa(0x11f)]=!0x1,this[_0x54bdaa(0x167)]());}[_0x3211c7(0x203)](_0x2e82ed,_0x27c9ec,_0x54b2e2){const _0x480f76=_0x3211c7;throw this[_0x480f76(0x11f)]=!0x0,_0x27c9ec&&console[_0x480f76(0x1ab)](_0x27c9ec),_0x54b2e2&&this[_0x480f76(0x150)][_0x480f76(0x1f5)](_0x480f76(0x16f)),new _0x3e3a4d(_0x2e82ed,this[_0x480f76(0x150)]);}[_0x3211c7(0x199)](_0x325969){const _0x5ed8e9=_0x3211c7;this[_0x5ed8e9(0x1e4)][_0x5ed8e9(0x1b1)](_0x325969)||(this[_0x5ed8e9(0x1e4)][_0x5ed8e9(0x11e)](_0x325969),this[_0x5ed8e9(0x143)][_0x5ed8e9(0x204)](_0x325969),this[_0x5ed8e9(0x1af)]||_0x5ed8e9(0x131)==_0x325969[_0x5ed8e9(0x11c)]&&!_0x325969[_0x5ed8e9(0x1aa)]||this[_0x5ed8e9(0x132)]());}[_0x3211c7(0x148)](_0x14e0dd=!0x1){const _0x5376ff=_0x3211c7;!_0x14e0dd&&this[_0x5376ff(0x11f)]||(this[_0x5376ff(0x11f)]=!0x0,clearTimeout(this[_0x5376ff(0x20a)]),this[_0x5376ff(0x20a)]=setTimeout(()=>{const _0x146fb6=_0x5376ff;this[_0x146fb6(0x128)]()[_0x146fb6(0x122)](_0x49157c=>{const _0x46b9c6=_0x146fb6;_0x49157c&&(this[_0x46b9c6(0x167)](),this[_0x46b9c6(0x11f)]=!0x1);})[_0x146fb6(0x171)](_0x47c266=>{const _0x51c9e6=_0x146fb6;this[_0x51c9e6(0x167)](),this[_0x51c9e6(0x11f)]=!0x1,function(_0x171822){const _0x4afae0=_0x51c9e6;return _0x171822[_0x4afae0(0x174)][_0x4afae0(0x1cd)](_0x4afae0(0x183))||_0x171822[_0x4afae0(0x174)][_0x4afae0(0x1cd)](_0x4afae0(0x217))||_0x171822[_0x4afae0(0x174)][_0x4afae0(0x1cd)](_0x4afae0(0x160));}(_0x47c266)||this[_0x51c9e6(0x203)](_0x47c266[_0x51c9e6(0x174)],_0x47c266,!0x0);});},this[_0x5376ff(0x1b4)]));}[_0x3211c7(0x186)](){return new Promise(_0x1efd1b=>{const _0x43b042=_0x33e8;this['on'](_0x43b042(0x200),()=>{_0x1efd1b();});});}async[_0x3211c7(0x128)](){const _0x4f0777=_0x3211c7,_0x190120=this[_0x4f0777(0x150)][_0x4f0777(0x14d)][_0x4f0777(0x207)](_0x5c9c7a);if(this[_0x4f0777(0x1c6)]()&&(_0x190120[_0x4f0777(0x1d0)](),this[_0x4f0777(0x159)]=!0x1),!this[_0x4f0777(0x1a0)]())return!0x0;const _0x5c3b57=[...this[_0x4f0777(0x143)]];for(const _0x5ad572 of _0x5c3b57)_0x5ad572[_0x4f0777(0x180)]=this[_0x4f0777(0x206)][_0x4f0777(0x1d2)][_0x4f0777(0x12a)](_0x5ad572);const _0x5c7011=this[_0x4f0777(0x1c9)][_0x4f0777(0x1ed)](_0x5c3b57),_0x472d23=K++,_0x46c9ce=this[_0x4f0777(0x169)](_0x5c3b57),_0x1c463b=await this[_0x4f0777(0x144)][_0x4f0777(0x1c1)](_0x46c9ce,_0x46c9ce[_0x4f0777(0x12c)],_0x5c7011);try{return await this[_0x4f0777(0x1f6)](_0x5c3b57,_0x1c463b,_0x472d23);}catch(_0x202276){return this[_0x4f0777(0x203)](_0x4f0777(0x1d1),_0x202276);}}async[_0x3211c7(0x1f6)](_0x163ab1,_0x919df0,_0x3ca67f){const _0x238e1f=_0x3211c7;if(_0x238e1f(0x1ab)in _0x919df0)throw _0x919df0[_0x238e1f(0x1ab)];let _0x3a2f30=!0x1;if(_0x919df0[_0x238e1f(0x1e5)]){_0x919df0[_0x238e1f(0x15a)]&&(this[_0x238e1f(0x192)]=_0x919df0[_0x238e1f(0x15a)]),this[_0x238e1f(0x143)]=this[_0x238e1f(0x143)][_0x238e1f(0x1fd)](_0xf86d25=>!_0x163ab1[_0x238e1f(0x1b8)](_0xf86d25));for(const _0x590930 of _0x163ab1)_0x590930[_0x238e1f(0x214)]=_0x238e1f(0x1f1)in _0x919df0&&_0x919df0[_0x238e1f(0x1f1)]||void 0x0;Q(_0x163ab1,_0x919df0[_0x238e1f(0x193)]-_0x163ab1[_0x238e1f(0x1be)]),this[_0x238e1f(0x1fc)](_0x163ab1);const _0x16ac0c=_0x163ab1[_0x238e1f(0x1fd)](_0x5addd7=>{const _0x129861=_0x238e1f;if(!_0x5addd7[_0x129861(0x1e7)])return!0x1;const _0x1f04fb=this[_0x129861(0x118)](_0x5addd7);return _0x1f04fb&&!this[_0x129861(0x12e)][_0x129861(0x1b1)](_0x1f04fb);});Q(_0x16ac0c,this[_0x238e1f(0x206)][_0x238e1f(0x193)]),this[_0x238e1f(0x123)](_0x16ac0c),_0x3a2f30=!0x0,this[_0x238e1f(0x1b4)]=this[_0x238e1f(0x1e9)];}else{const _0x23e690=this[_0x238e1f(0x1c0)](_0x919df0[_0x238e1f(0x12b)],_0x919df0[_0x238e1f(0x1db)])[_0x238e1f(0x1fd)](_0x526b24=>_0x526b24[_0x238e1f(0x12c)]>=this[_0x238e1f(0x1a3)]);_0x23e690[_0x238e1f(0x15d)](_0x2d1392=>this[_0x238e1f(0x1b7)](_0x2d1392)),this[_0x238e1f(0x143)]=this[_0x238e1f(0x143)][_0x238e1f(0x1fd)](_0x5dcc15=>!_0x5dcc15[_0x238e1f(0x1e7)]||!this[_0x238e1f(0x12e)][_0x238e1f(0x1b1)](this[_0x238e1f(0x118)](_0x5dcc15))),this[_0x238e1f(0x143)][_0x238e1f(0x1be)]&&Q(this[_0x238e1f(0x143)],this[_0x238e1f(0x143)][0x0][_0x238e1f(0x12c)]),await this[_0x238e1f(0x1e2)](_0x23e690),_0x3a2f30=this[_0x238e1f(0x1d3)](_0x23e690,_0x919df0[_0x238e1f(0x193)],_0x919df0[_0x238e1f(0x15a)]),this[_0x238e1f(0x1b4)]=Math[_0x238e1f(0x1e8)](this[_0x238e1f(0x1b4)]/0x2);}return _0x3a2f30?!this[_0x238e1f(0x1a0)]()||(this[_0x238e1f(0x148)](!0x0),!0x1):this[_0x238e1f(0x203)](_0x238e1f(0x154));}[_0x3211c7(0x1d3)](_0x32aa81,_0x35df30,_0x3f346a){const _0x3e3c40=_0x3211c7;try{const _0x45f345={'document':this[_0x3e3c40(0x206)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x5ba55a,operationsB:_0x52c122,originalOperations:_0x162022}=_0x3f6b7e(_0x32aa81,this[_0x3e3c40(0x143)],_0x45f345);Q(_0x5ba55a,this[_0x3e3c40(0x206)][_0x3e3c40(0x193)]),Q(_0x52c122,_0x35df30);for(const _0x62ebc6 of _0x5ba55a){const _0xcf9f=_0x162022[_0x3e3c40(0x207)](_0x62ebc6);_0x62ebc6[_0x3e3c40(0x1b6)]=_0xcf9f?_0xcf9f[_0x3e3c40(0x1b6)]:null;}_0x3f346a&&(this[_0x3e3c40(0x1c9)][_0x3e3c40(0x213)](_0x32aa81,_0x3f346a),this[_0x3e3c40(0x192)]=_0x3f346a),this[_0x3e3c40(0x143)]=[..._0x52c122],this[_0x3e3c40(0x123)](_0x5ba55a),this[_0x3e3c40(0x1fc)](_0x32aa81);}catch(_0x486839){return console[_0x3e3c40(0x1ab)](_0x486839),!0x1;}return!0x0;}[_0x3211c7(0x123)](_0x14c053,_0x39f7ef=!0x1){const _0x3b0614=_0x3211c7;this[_0x3b0614(0x150)][_0x3b0614(0x151)][_0x3b0614(0x1f0)]({'isUndoable':!0x1,'isLocal':!0x1},_0x27ce50=>{const _0x33c662=_0x3b0614;for(const _0x11eb5d of _0x14c053)this[_0x33c662(0x1e4)][_0x33c662(0x11e)](_0x11eb5d),this[_0x33c662(0x1b7)](_0x11eb5d),_0x27ce50[_0x33c662(0x119)][_0x33c662(0x163)](_0x11eb5d),this[_0x33c662(0x150)][_0x33c662(0x151)][_0x33c662(0x182)](_0x11eb5d);});}[_0x3211c7(0x1b7)](_0x22c36c){const _0x111578=_0x3211c7,_0x27840e=this[_0x111578(0x118)](_0x22c36c);_0x27840e&&this[_0x111578(0x12e)][_0x111578(0x11e)](_0x27840e);}[_0x3211c7(0x118)](_0x1c2448){const _0x15a7dc=_0x3211c7;let _0x5e4637,_0x309c14;switch(_0x1c2448[_0x15a7dc(0x11c)]){case _0x15a7dc(0x1fb):_0x5e4637=_0x1c2448[_0x15a7dc(0x17c)][_0x15a7dc(0x130)];break;case _0x15a7dc(0x131):if(_0x309c14=_0x1c2448[_0x15a7dc(0x125)],!_0x309c14)return null;_0x5e4637=_0x309c14[_0x15a7dc(0x130)];break;case _0x15a7dc(0x124):_0x5e4637=_0x1c2448[_0x15a7dc(0x130)];break;case _0x15a7dc(0x15b):_0x5e4637=_0x1c2448[_0x15a7dc(0x18b)];break;case _0x15a7dc(0x140):_0x5e4637=_0x1c2448[_0x15a7dc(0x1ac)][_0x15a7dc(0x130)];break;default:return null;}return _0x5e4637[_0x15a7dc(0x190)];}[_0x3211c7(0x1fc)](_0x3c26fc){const _0xc88268=_0x3211c7;_0x3c26fc[_0xc88268(0x15d)](_0x34541a=>{const _0x51a430=_0xc88268,_0x4ed53a=_0x34541a[_0x51a430(0x1a7)]();_0x4ed53a[_0x51a430(0x1b6)]=_0x34541a[_0x51a430(0x1b6)],_0x4ed53a[_0x51a430(0x1e7)]=!!_0x34541a[_0x51a430(0x1e7)],_0x4ed53a[_0x51a430(0x214)]=_0x34541a[_0x51a430(0x214)],_0x4ed53a[_0x51a430(0x12c)]+=this[_0x51a430(0x13c)],_0x34541a[_0x51a430(0x158)]&&this[_0x51a430(0x19d)][_0x51a430(0x11e)](_0x4ed53a),this[_0x51a430(0x1c7)][_0x51a430(0x163)](_0x4ed53a);});}[_0x3211c7(0x1f9)](_0x34576c){const _0x3e41db=_0x3211c7,_0x596e38=this[_0x3e41db(0x150)][_0x3e41db(0x14d)][_0x3e41db(0x207)](_0x3e41db(0x134)),_0x2dd2da=this[_0x3e41db(0x150)][_0x3e41db(0x1b2)];_0x34576c||(_0x34576c=_0x208a9d(_0x2dd2da,_0x3e41db(0x138))),_0x596e38[_0x3e41db(0x177)](_0x34576c,{'title':_0x208a9d(_0x2dd2da,_0x3e41db(0x173)),'namespace':_0x3e41db(0x16a)}),this[_0x3e41db(0x219)]=!0x0,clearTimeout(this[_0x3e41db(0x20a)]),this[_0x3e41db(0x143)]=[],this[_0x3e41db(0x150)][_0x3e41db(0x14d)][_0x3e41db(0x207)](_0x5ca9e0)[_0x3e41db(0x179)]();}[_0x3211c7(0x132)](){const _0x132164=_0x3211c7;this[_0x132164(0x1af)]||(this[_0x132164(0x1af)]=this[_0x132164(0x150)][_0x132164(0x14d)][_0x132164(0x207)](_0x417cf2)[_0x132164(0x11e)](_0x208a9d(this[_0x132164(0x150)][_0x132164(0x1b2)],_0x132164(0x215))));}[_0x3211c7(0x167)](){const _0x587351=_0x3211c7;this[_0x587351(0x1af)]&&(this[_0x587351(0x150)][_0x587351(0x14d)][_0x587351(0x207)](_0x417cf2)[_0x587351(0x1d6)](this[_0x587351(0x1af)]),this[_0x587351(0x1af)]=null);}[_0x3211c7(0x169)](_0x24274c){const _0x5e4ef6=_0x3211c7,_0x5656d2=_0x24274c[_0x5e4ef6(0x210)](_0x1ab2e3=>_0x1ab2e3[_0x5e4ef6(0x136)]());return this[_0x5e4ef6(0x172)][_0x5e4ef6(0x1d7)](_0x5656d2);}[_0x3211c7(0x1c0)](_0x1e51c4,_0xf69e72){const _0x2b7085=_0x3211c7;return this[_0x2b7085(0x172)][_0x2b7085(0x1f8)](_0x1e51c4)[_0x2b7085(0x210)]((_0x5bb121,_0x4ae036)=>{const _0x4eb830=_0x2b7085,_0x38539a=_0x4eb830(0x135)==_0xf69e72[_0x4ae036][_0x4eb830(0x11c)];if(_0x4eb830(0x162)==_0x5bb121[_0x4eb830(0x21b)]){const _0x224405=_0x5bb121[_0x4eb830(0x17c)][_0x4eb830(0x130)];!this[_0x4eb830(0x206)][_0x4eb830(0x13a)](_0x224405)&&(this[_0x4eb830(0x206)][_0x4eb830(0x155)](_0x4eb830(0x1fa),_0x224405)[_0x4eb830(0x1c4)]=!0x1);}const _0x21fd50=_0x75ffad[_0x4eb830(0x21d)](_0x5bb121,this[_0x4eb830(0x206)]);return _0x21fd50[_0x4eb830(0x180)]=_0x5bb121[_0x4eb830(0x180)],_0x21fd50[_0x4eb830(0x1e7)]=_0x38539a,_0x21fd50[_0x4eb830(0x1b6)]=_0x38539a?null:_0xf69e72[_0x4ae036][_0x4eb830(0x14b)],_0x21fd50[_0x4eb830(0x158)]=_0x4eb830(0x196)===_0xf69e72[_0x4ae036][_0x4eb830(0x11c)],_0x21fd50[_0x4eb830(0x214)]=_0xf69e72[_0x4ae036][_0x4eb830(0x214)],_0x21fd50;});}[_0x3211c7(0x18d)](){const _0x488946=_0x3211c7;this[_0x488946(0x159)]=!0x0,this[_0x488946(0x1c6)]()?this[_0x488946(0x148)]():this[_0x488946(0x159)]=!0x1;}[_0x3211c7(0x1c6)](){const _0x24ee2c=_0x3211c7,_0x556ffd=this[_0x24ee2c(0x150)][_0x24ee2c(0x14d)][_0x24ee2c(0x207)](_0x381b5b)[_0x24ee2c(0x170)][_0x24ee2c(0x207)](this[_0x24ee2c(0x17a)]);return!this[_0x24ee2c(0x150)][_0x24ee2c(0x1a4)]&&!!_0x556ffd&&_0x556ffd[_0x24ee2c(0x1be)]>0x1&&this[_0x24ee2c(0x159)];}[_0x3211c7(0x1a0)](){const _0xebd93b=_0x3211c7;return this[_0xebd93b(0x143)][_0xebd93b(0x1be)]>0x0||this[_0xebd93b(0x1c6)]();}}l[_0x3211c7(0x1bc)]=_0x16a52d;export default l;class J extends Error{}function Q(_0x40d603,_0x14c3f8){const _0x44c856=_0x3211c7;for(const _0x52551b of _0x40d603)_0x52551b[_0x44c856(0x12c)]=_0x14c3f8++;}class X{constructor(_0x1a14c0){const _0x474622=_0x3211c7;this[_0x474622(0x137)]=_0x1a14c0,this[_0x474622(0x188)]=new WeakMap();}[_0x3211c7(0x1ed)](_0x8044d9){const _0x140b79=_0x3211c7;let _0x4e5fde=_0x8044d9[_0x140b79(0x1be)];for(;_0x4e5fde--;){const _0x503f01=_0x8044d9[_0x4e5fde];if(!this[_0x140b79(0x137)][_0x140b79(0x1b1)](_0x503f01)){if(!this[_0x140b79(0x188)][_0x140b79(0x1b1)](_0x503f01)){const _0x1b9831=_0x32e298()[_0x140b79(0x152)](0x1,0x12);this[_0x140b79(0x188)][_0x140b79(0x1d9)](_0x503f01,_0x1b9831);}return this[_0x140b79(0x188)][_0x140b79(0x207)](_0x503f01);}}}[_0x3211c7(0x213)](_0x284768,_0x1b0995){const _0x1fd194=_0x3211c7;if(!_0x1b0995)return;let _0x4b7e35=_0x284768[_0x1fd194(0x1be)];for(;_0x4b7e35--;){const _0x358385=_0x284768[_0x4b7e35];this[_0x1fd194(0x137)][_0x1fd194(0x1b1)](_0x358385)||this[_0x1fd194(0x188)][_0x1fd194(0x1d9)](_0x358385,_0x1b0995);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x16a6ef=_0x5c3c;function _0x5c3c(_0x5a763d,_0xfd2e06){const _0x5d8baa=_0x5d8b();return _0x5c3c=function(_0x5c3c3a,_0x5d053f){_0x5c3c3a=_0x5c3c3a-0x86;let _0x5cc740=_0x5d8baa[_0x5c3c3a];return _0x5cc740;},_0x5c3c(_0x5a763d,_0xfd2e06);}(function(_0x33eeff,_0xcccc5){const _0x402361=_0x5c3c,_0x531948=_0x33eeff();while(!![]){try{const _0x4e2e72=parseInt(_0x402361(0xac))/0x1*(parseInt(_0x402361(0xb7))/0x2)+-parseInt(_0x402361(0xa8))/0x3*(parseInt(_0x402361(0x9e))/0x4)+-parseInt(_0x402361(0xc1))/0x5*(parseInt(_0x402361(0xa4))/0x6)+parseInt(_0x402361(0x96))/0x7*(parseInt(_0x402361(0xb3))/0x8)+parseInt(_0x402361(0xc2))/0x9*(-parseInt(_0x402361(0x8a))/0xa)+-parseInt(_0x402361(0xad))/0xb+-parseInt(_0x402361(0xa1))/0xc*(-parseInt(_0x402361(0xbc))/0xd);if(_0x4e2e72===_0xcccc5)break;else _0x531948['push'](_0x531948['shift']());}catch(_0x216a3b){_0x531948['push'](_0x531948['shift']());}}}(_0x5d8b,0xcf6ad));import{ContextPlugin as _0x62db3f}from'ckeditor5/src/core.js';import{Collection as _0x429c07,CKEditorError as _0x25b44f}from'ckeditor5/src/utils.js';function _0x5d8b(){const _0x11c261=['getUserRole','state','init','2zvCNJI','assign','connected','plugins','getUserBySessionId','456001RAahgl','mySessionId','change:state','channelSessions','fire','15azoZDm','207ycPiws','sessions-unregister-not-exist','channelConnectedUsers','connection','forEach','_registeredSessions','context','sessionAdd:','isMe','540310tNhQox','values','_handleSessionAdd','addUser','getUserSessions','orderNumber','pluginName','getUser','isOfficialPlugin','Sessions','get','stopListening','32662FPSWqu','unregister','register','_createUser','clear','_users','isPremiumPlugin','defineMe','1858708emQgBf','listenTo','role','684ULnBfp','add','set','977202dnIwSM','_uniqueUsersCount','sessionId','remove','9XjxFHB','allConnectedUsers','user','delete','1559946fAhYSH','8259999rDDGkO','sessions-register-already-registered','has','requires','_handleSessionRemove','size','2000gHOJgq'];_0x5d8b=function(){return _0x11c261;};return _0x5d8b();}import _0x1b16cc from'./websocketgateway.js';import{Users as _0x2677a9}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x62db3f{static get[_0x16a6ef(0x90)](){const _0xb64124=_0x16a6ef;return _0xb64124(0x93);}static get[_0x16a6ef(0x92)](){return!0x0;}static get[_0x16a6ef(0x9c)](){return!0x0;}static get[_0x16a6ef(0xb0)](){return[_0x1b16cc,_0x2677a9];}constructor(_0x502ad3){const _0x449cba=_0x16a6ef;super(_0x502ad3),this[_0x449cba(0xbf)]=new Map(),this[_0x449cba(0xc4)]=new Map(),this[_0x449cba(0xa9)]=new _0x429c07(),this[_0x449cba(0x86)]=new Map(),this[_0x449cba(0xa5)]=0x0,this[_0x449cba(0x9b)]=this[_0x449cba(0x87)][_0x449cba(0xba)][_0x449cba(0x94)](_0x2677a9);}[_0x16a6ef(0xb6)](){const _0x1232e2=_0x16a6ef,_0x57352f=this[_0x1232e2(0x87)][_0x1232e2(0xba)][_0x1232e2(0x94)](_0x1b16cc);this[_0x1232e2(0x9f)](_0x57352f,_0x1232e2(0xbe),(_0x5bd0f8,_0x504077,_0x53c42b)=>{const _0x5740fb=_0x1232e2;if(_0x5740fb(0xb9)!==_0x53c42b)this[_0x5740fb(0xbf)][_0x5740fb(0xc6)](_0x20f53d=>_0x20f53d[_0x5740fb(0x9a)]()),this[_0x5740fb(0xc4)][_0x5740fb(0xc6)](_0x1fbe6c=>_0x1fbe6c[_0x5740fb(0x9a)]()),this[_0x5740fb(0xa9)][_0x5740fb(0x9a)]();else{for(const [_0x36a546,_0x367bc1]of this[_0x5740fb(0x86)])for(const _0x54ed54 of _0x367bc1)this[_0x5740fb(0x8c)](_0x36a546,_0x54ed54);}}),this[_0x1232e2(0x99)](_0x57352f[_0x1232e2(0xc5)]['me'],!0x0);}[_0x16a6ef(0x98)](_0xdd5ed6,_0x2740bd){const _0x17e03c=_0x16a6ef;if(this[_0x17e03c(0x86)][_0x17e03c(0xaf)](_0xdd5ed6))throw new _0x25b44f(_0x17e03c(0xae),null,{'channelId':_0xdd5ed6});this[_0x17e03c(0x86)][_0x17e03c(0xa3)](_0xdd5ed6,_0x2740bd),this[_0x17e03c(0xbf)][_0x17e03c(0xa3)](_0xdd5ed6,new _0x429c07()),this[_0x17e03c(0xc4)][_0x17e03c(0xa3)](_0xdd5ed6,new _0x429c07()),this[_0x17e03c(0x9f)](_0x2740bd,_0x17e03c(0xa2),(_0x8b4900,_0x53594a)=>this[_0x17e03c(0x8c)](_0xdd5ed6,_0x53594a)),this[_0x17e03c(0x9f)](_0x2740bd,_0x17e03c(0xa7),(_0x1b764f,_0x54bbfb)=>this[_0x17e03c(0xb1)](_0xdd5ed6,_0x54bbfb));for(const _0x3a4801 of _0x2740bd)this[_0x17e03c(0x8c)](_0xdd5ed6,_0x3a4801);}[_0x16a6ef(0x97)](_0x26dbc3){const _0x1a164f=_0x16a6ef;if(!this[_0x1a164f(0x86)][_0x1a164f(0xaf)](_0x26dbc3))throw new _0x25b44f(_0x1a164f(0xc3),null,{'channelId':_0x26dbc3});const _0xd68ac0=this[_0x1a164f(0x86)][_0x1a164f(0x94)](_0x26dbc3);this[_0x1a164f(0x95)](_0xd68ac0);for(const _0x3ebb4a of _0xd68ac0)_0x1a164f(0xb9)===this[_0x1a164f(0x87)][_0x1a164f(0xba)][_0x1a164f(0x94)](_0x1b16cc)[_0x1a164f(0xb5)]&&this[_0x1a164f(0xb1)](_0x26dbc3,_0x3ebb4a);this[_0x1a164f(0x86)][_0x1a164f(0xab)](_0x26dbc3),this[_0x1a164f(0xbf)][_0x1a164f(0xab)](_0x26dbc3),this[_0x1a164f(0xc4)][_0x1a164f(0xab)](_0x26dbc3);}get[_0x16a6ef(0xbd)](){const _0x41e0da=_0x16a6ef;return this[_0x41e0da(0x87)][_0x41e0da(0xba)][_0x41e0da(0x94)](_0x1b16cc)[_0x41e0da(0xc5)][_0x41e0da(0xa6)];}[_0x16a6ef(0xbb)](_0x3dc231){const _0x42b1a1=_0x16a6ef;for(const _0x5adce4 of this[_0x42b1a1(0xbf)][_0x42b1a1(0x8b)]())for(const _0xb990d7 of _0x5adce4)if(_0xb990d7['id']===_0x3dc231)return _0xb990d7[_0x42b1a1(0xaa)];}[_0x16a6ef(0x8e)](_0x215186,_0x723574){const _0x36f269=_0x16a6ef,_0x3d0ef6=_0x723574?[this[_0x36f269(0xbf)][_0x36f269(0x94)](_0x723574)]:this[_0x36f269(0xbf)][_0x36f269(0x8b)](),_0xd9bcf0=new Set();for(const _0x1de1ce of _0x3d0ef6)for(const _0x4d5beb of _0x1de1ce)_0x4d5beb[_0x36f269(0xaa)]['id']===_0x215186['id']&&_0xd9bcf0[_0x36f269(0xa2)](_0x4d5beb['id']);return _0xd9bcf0;}[_0x16a6ef(0xb4)](_0x2cddfd){const _0x5694f2=_0x16a6ef;for(const _0x394cfe of this[_0x5694f2(0xbf)][_0x5694f2(0x8b)]())for(const _0x2a0339 of _0x394cfe)if(_0x2a0339[_0x5694f2(0xaa)]===_0x2cddfd)return _0x2a0339[_0x5694f2(0xa0)];}[_0x16a6ef(0x8c)](_0x22c217,_0x1aac43){const _0x1ce0ad=_0x16a6ef;if(_0x1ce0ad(0xb9)!==this[_0x1ce0ad(0x87)][_0x1ce0ad(0xba)][_0x1ce0ad(0x94)](_0x1b16cc)[_0x1ce0ad(0xb5)])return;const _0x5ae7da=_0x1aac43[_0x1ce0ad(0xaa)],_0x3a8ebd=this[_0x1ce0ad(0x9b)][_0x1ce0ad(0x91)](_0x5ae7da['id'])||this[_0x1ce0ad(0x99)](_0x5ae7da),_0xa0be08=Object[_0x1ce0ad(0xb8)]({},_0x1aac43,{'user':_0x3a8ebd});this[_0x1ce0ad(0xbf)][_0x1ce0ad(0x94)](_0x22c217)[_0x1ce0ad(0xa2)](_0xa0be08);const _0x3c4684=this[_0x1ce0ad(0xc4)][_0x1ce0ad(0x94)](_0x22c217);_0x3c4684[_0x1ce0ad(0xaf)](_0x3a8ebd['id'])||_0x3c4684[_0x1ce0ad(0xa2)](_0x3a8ebd),this[_0x1ce0ad(0xa9)][_0x1ce0ad(0xaf)](_0x3a8ebd['id'])||this[_0x1ce0ad(0xa9)][_0x1ce0ad(0xa2)](_0x3a8ebd,_0x3a8ebd[_0x1ce0ad(0x89)]?0x0:void 0x0),this[_0x1ce0ad(0xc0)](_0x1ce0ad(0x88)+_0x22c217,{'channelId':_0x22c217,'session':_0xa0be08});}[_0x16a6ef(0xb1)](_0x288ff4,_0x14dc2b){const _0x5ca5ce=_0x16a6ef;if(_0x5ca5ce(0xb9)!==this[_0x5ca5ce(0x87)][_0x5ca5ce(0xba)][_0x5ca5ce(0x94)](_0x1b16cc)[_0x5ca5ce(0xb5)])return;const _0x15af2e=this[_0x5ca5ce(0xc4)][_0x5ca5ce(0x94)](_0x288ff4),_0x213e39=_0x14dc2b[_0x5ca5ce(0xaa)];_0x213e39['id']&&(this[_0x5ca5ce(0xbf)][_0x5ca5ce(0x94)](_0x288ff4)[_0x5ca5ce(0xa7)](_0x14dc2b['id']),_0x15af2e[_0x5ca5ce(0xaf)](_0x213e39['id'])&&!this[_0x5ca5ce(0x8e)](_0x213e39,_0x288ff4)[_0x5ca5ce(0xb2)]&&_0x15af2e[_0x5ca5ce(0xa7)](_0x213e39['id']),this[_0x5ca5ce(0xa9)][_0x5ca5ce(0x94)](_0x213e39['id'])&&!this[_0x5ca5ce(0x8e)](_0x213e39)[_0x5ca5ce(0xb2)]&&this[_0x5ca5ce(0xa9)][_0x5ca5ce(0xa7)](_0x213e39['id']));}[_0x16a6ef(0x99)](_0x2ac369,_0x1708e1){const _0x344cca=_0x16a6ef,_0x45fe2a=this[_0x344cca(0x9b)][_0x344cca(0x8d)](_0x2ac369);return _0x1708e1&&this[_0x344cca(0x9b)][_0x344cca(0x9d)](_0x2ac369['id']),_0x45fe2a[_0x344cca(0x8f)]=this[_0x344cca(0xa5)]++,_0x45fe2a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4110ab=_0x2ac2;(function(_0x5c2631,_0x410a1d){const _0x3a9085=_0x2ac2,_0x520606=_0x5c2631();while(!![]){try{const _0x5da350=parseInt(_0x3a9085(0xd4))/0x1+parseInt(_0x3a9085(0x9e))/0x2+-parseInt(_0x3a9085(0xad))/0x3*(-parseInt(_0x3a9085(0x99))/0x4)+-parseInt(_0x3a9085(0xe8))/0x5+parseInt(_0x3a9085(0x8c))/0x6+-parseInt(_0x3a9085(0xdb))/0x7*(-parseInt(_0x3a9085(0xda))/0x8)+-parseInt(_0x3a9085(0xcd))/0x9;if(_0x5da350===_0x410a1d)break;else _0x520606['push'](_0x520606['shift']());}catch(_0x36933d){_0x520606['push'](_0x520606['shift']());}}}(_0x317c,0x24cdb));function _0x317c(){const _0x2cfa64=['init','UserMarkers','split','add','orderNumber','1581204gegrEW','_createdBatches','isObject','createUserMarkerOperations','_domEmitter','isPremiumPlugin','enqueueChange','mouseenter','userPositionMarker','user:','contenteditable','Escape','hasContent','3760dpWEOE','getCustomProperty','root','toDomElement','innerHTML','346550EWAchA','$text','getMarkerClass','listenTo','model','set','markerToElement','hasDomSelection','fromRange','change','markerToHighlight','mySessionId','removeMarker','stopListening','setCustomProperty','606iFIvRI','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','clear','addEventListener','getRange','get','getPositions','getStart','undo','document','mouseleave','nodeAfter','isLimit','detach','requires','editor','editingDowncast','size','user:range:','oldRange','batch','end','type','checkChild','render','element','applyOperation','getFirstRange','data-session-id','color','conversion','getUserBySessionId','7029081UtzEpd','user:position','classList','ck-user__marker\x20','isInline','isSimilar','startsWith','11940tYRffq','getNearestSelectionRange','start','user:range','highest','markers','13480yAGTqF','1239ZgFVvQ','has','keydown','change:range','markerNameToElements','getAttribute','ck-user__marker_hovered','getContainedElement','isCollapsed','removeClass','user:position:','remove','markerRange','25590ADCEci','commands','schema','isOfficialPlugin','selection','span','afterInit','update:user:range','ck-user__selection','view','createRange','rootName','destroy','markerName','delete','parent','$graveyard','name','plugins','</span>','createUIElement','toRange','newRange','deletionPosition','reconvertMarker','addMarker','getSelectionClass','tableCell','pluginName','editing','updateMarker','mapper','marker','for'];_0x317c=function(){return _0x2cfa64;};return _0x317c();}function _0x2ac2(_0xc560a1,_0x53177a){const _0x317cf6=_0x317c();return _0x2ac2=function(_0x2ac2d5,_0x5431cd){_0x2ac2d5=_0x2ac2d5-0x81;let _0x98a61=_0x317cf6[_0x2ac2d5];return _0x98a61;},_0x2ac2(_0xc560a1,_0x53177a);}import{Plugin as _0x3a490e}from'ckeditor5/src/core.js';import{global as _0x27f0f4,DomEmitterMixin as _0x5956ad}from'ckeditor5/src/utils.js';import _0x53f082 from'./sessions.js';import{LiveRange as _0x47546c}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x3a490e{constructor(){const _0x3244d7=_0x2ac2;super(...arguments),this[_0x3244d7(0x90)]=new(_0x5956ad())();}static get[_0x4110ab(0xbb)](){return[_0x53f082];}static get[_0x4110ab(0x81)](){const _0x5ee0a0=_0x4110ab;return _0x5ee0a0(0x88);}static get[_0x4110ab(0xeb)](){return!0x0;}static get[_0x4110ab(0x91)](){return!0x0;}[_0x4110ab(0x87)](){const _0xe8e63=_0x4110ab,_0x399cdf=this[_0xe8e63(0xbc)],_0x978348=_0x399cdf[_0xe8e63(0xfa)][_0xe8e63(0xb2)](_0x53f082);_0x399cdf[_0xe8e63(0xcb)][_0xe8e63(0x86)](_0xe8e63(0xbd))[_0xe8e63(0xa4)]({'model':_0xe8e63(0xce),'view':(_0x74db1b,{writer:_0x46c089})=>function(_0x50ca1a,_0x12e25b,_0x5738f6,_0x530069){const _0x1cf19d=_0xe8e63,_0xb0cbbe=_0x50ca1a[_0x1cf19d(0xf5)][_0x1cf19d(0x89)](':')[0x2],_0x1141cb=_0x5738f6[_0x1cf19d(0xcc)](_0xb0cbbe);if(!_0x1141cb||_0xb0cbbe===_0x5738f6[_0x1cf19d(0xa9)])return;if(!_0x530069[_0x1cf19d(0xa2)][_0x1cf19d(0xea)][_0x1cf19d(0xc4)](_0x50ca1a[_0x1cf19d(0xe7)][_0x1cf19d(0xd6)],_0x1cf19d(0x9f)))return;const _0x4f9fc8={'class':_0x1cf19d(0xd0)+_0x1141cb[_0x1cf19d(0xca)][_0x1cf19d(0xa0)](),'data-name':_0x1141cb[_0x1cf19d(0xf9)],'data-session-id':_0xb0cbbe},_0x473f26=_0x530069[_0x1cf19d(0xa2)][_0x1cf19d(0xd9)][_0x1cf19d(0xb2)](_0x50ca1a[_0x1cf19d(0xf5)]),_0x4d3c36=_0x473f26[_0x1cf19d(0xb4)](),_0x5619ab=_0x4d3c36[_0x1cf19d(0xb8)],_0x291e3c=_0x530069[_0x1cf19d(0xa2)][_0x1cf19d(0xea)];if(_0x5619ab&&_0x291e3c[_0x1cf19d(0x8e)](_0x5619ab)&&_0x291e3c[_0x1cf19d(0xd1)](_0x5619ab)&&!_0x530069[_0x1cf19d(0xa2)][_0x1cf19d(0xd9)][_0x1cf19d(0xb2)](_0x1cf19d(0xbf)+_0xb0cbbe)[_0x1cf19d(0xb1)]()[_0x1cf19d(0xe3)])return;const _0x3b3464=_0x4d3c36[_0x1cf19d(0xf7)];return _0x530069[_0x1cf19d(0xa2)][_0x1cf19d(0xea)][_0x1cf19d(0xb9)](_0x3b3464)&&!_0x530069[_0x1cf19d(0xa2)][_0x1cf19d(0x98)](_0x3b3464)&&(_0x4f9fc8[_0x1cf19d(0x96)]=!0x1),function(_0x3003be,_0x3e244b,_0x2e2aa5){const _0x116be0=_0x1cf19d,_0x5881dd=_0x3003be[_0x116be0(0xfc)](_0x116be0(0xed),_0x3e244b);return _0x3003be[_0x116be0(0xac)](_0x116be0(0x94),!0x0,_0x5881dd),_0x5881dd[_0x116be0(0xc5)]=function(_0x301c8b){const _0x6aba03=_0x116be0,_0x2ef0be=this[_0x6aba03(0x9c)](_0x301c8b);return _0x2ef0be[_0x6aba03(0x9d)]=_0x6aba03(0xae)+_0x2e2aa5[_0x6aba03(0xf9)]+_0x6aba03(0xfb),_0x2ef0be[_0x6aba03(0xb0)](_0x6aba03(0x93),()=>{const _0x32ec9b=_0x6aba03;_0x2ef0be[_0x32ec9b(0xcf)][_0x32ec9b(0x8a)](_0x32ec9b(0xe1));}),_0x2ef0be[_0x6aba03(0xb0)](_0x6aba03(0xb7),()=>{const _0x3cee07=_0x6aba03;_0x2ef0be[_0x3cee07(0xcf)][_0x3cee07(0xe6)](_0x3cee07(0xe1));}),_0x2ef0be;},_0x5881dd[_0x116be0(0xd2)]=function(_0x1eef04){const _0x3e718c=_0x116be0;return!(!this[_0x3e718c(0x9a)](_0x3e718c(0x94))||!_0x1eef04[_0x3e718c(0x9a)](_0x3e718c(0x94))||this[_0x3e718c(0xe0)](_0x3e718c(0xc9))!=_0x1eef04[_0x3e718c(0xe0)](_0x3e718c(0xc9)));},_0x5881dd;}(_0x12e25b,_0x4f9fc8,_0x1141cb);}(_0x74db1b,_0x46c089,_0x978348,_0x399cdf)}),_0x399cdf[_0xe8e63(0xcb)][_0xe8e63(0x86)](_0xe8e63(0xbd))[_0xe8e63(0xa8)]({'model':_0xe8e63(0xd7),'view':_0x9fe5b=>function(_0x4750ee,_0x65cba2){const _0x3212e0=_0xe8e63,_0x4a27b5=_0x4750ee[_0x3212e0(0xf5)][_0x3212e0(0x89)](':')[0x2];if(_0x4a27b5===_0x65cba2[_0x3212e0(0xa9)])return null;const _0x58a238=_0x65cba2[_0x3212e0(0xcc)](_0x4a27b5);if(!_0x58a238)return{'id':_0x4a27b5,'classes':[]};return{'id':_0x4a27b5,'classes':[_0x3212e0(0xf0),_0x58a238[_0x3212e0(0xca)][_0x3212e0(0x102)]()],'attributes':{'data-session-id':_0x4a27b5},'priority':0x7d0+_0x58a238[_0x3212e0(0x8b)]};}(_0x9fe5b,_0x978348)}),function(_0x3addf0){const _0x21d6f1=_0xe8e63,_0x48551c=_0x3addf0[_0x21d6f1(0xa2)],_0x475e3f=new Map(),_0x55f40c=_0x3addf0[_0x21d6f1(0xfa)][_0x21d6f1(0xb2)](_0x53f082);_0x48551c[_0x21d6f1(0xd9)]['on'](_0x21d6f1(0xef),(_0x53183a,_0x3099cd,_0x2e875d,_0x424756)=>{const _0x49d693=_0x21d6f1;if(!_0x424756&&_0x475e3f[_0x49d693(0xb2)](_0x3099cd[_0x49d693(0xf9)]))return _0x475e3f[_0x49d693(0xb2)](_0x3099cd[_0x49d693(0xf9)])[_0x49d693(0xba)](),void _0x475e3f[_0x49d693(0xf6)](_0x3099cd[_0x49d693(0xf9)]);const _0x1fc9a9=_0x3099cd[_0x49d693(0xf9)][_0x49d693(0x89)](':')[0x2];if(_0x1fc9a9===_0x55f40c[_0x49d693(0xa9)])return;const _0x5d6306=_0x49d693(0xe5)+_0x1fc9a9;_0x48551c[_0x49d693(0xd9)][_0x49d693(0xdc)](_0x5d6306)&&_0x3addf0[_0x49d693(0x82)][_0x49d693(0x100)](_0x5d6306),_0x3099cd['on'](_0x49d693(0xde),(_0x43aa6,_0x4071d5,_0x53573e)=>{const _0x18679e=_0x49d693;if(_0x18679e(0xf8)!=_0x4071d5[_0x18679e(0x9b)][_0x18679e(0xf3)]&&_0x18679e(0xf8)==_0x3099cd[_0x18679e(0xb1)]()[_0x18679e(0x9b)][_0x18679e(0xf3)]&&!_0x475e3f[_0x18679e(0xdc)](_0x3099cd[_0x18679e(0xf9)])){const _0x2e980e=_0x48551c[_0x18679e(0xea)][_0x18679e(0xd5)](_0x53573e[_0x18679e(0xff)]);if(_0x2e980e){const _0x10cfe0=_0x47546c[_0x18679e(0xa6)](_0x2e980e);_0x475e3f[_0x18679e(0xa3)](_0x3099cd[_0x18679e(0xf9)],_0x10cfe0),_0x10cfe0['on'](_0x18679e(0xde),(_0x19d7bb,_0x533d67,_0x9bca4b)=>{const _0x4182c8=_0x18679e;if(_0x4182c8(0xf8)==_0x10cfe0[_0x4182c8(0x9b)][_0x4182c8(0xf3)]){const _0x4a881f=_0x48551c[_0x4182c8(0xea)][_0x4182c8(0xd5)](_0x9bca4b[_0x4182c8(0xff)]);_0x4a881f?(_0x10cfe0[_0x4182c8(0xd6)]=_0x4a881f[_0x4182c8(0xd6)],_0x10cfe0[_0x4182c8(0xc2)]=_0x4a881f[_0x4182c8(0xc2)]):(_0x475e3f[_0x4182c8(0xf6)](_0x3099cd[_0x4182c8(0xf9)]),_0x10cfe0[_0x4182c8(0xba)]());}});}}});}),_0x48551c[_0x21d6f1(0xb6)]['on'](_0x21d6f1(0xa7),()=>{const _0x108408=_0x21d6f1;_0x475e3f[_0x108408(0xbe)]>0x0&&_0x48551c[_0x108408(0x92)]({'isUndoable':!0x1},_0x2367ae=>{const _0x80fa73=_0x108408;for(const [_0x44d100,_0xe89be9]of _0x475e3f)_0x80fa73(0xf8)==_0x48551c[_0x80fa73(0xd9)][_0x80fa73(0xb2)](_0x44d100)[_0x80fa73(0xb1)]()[_0x80fa73(0x9b)][_0x80fa73(0xf3)]&&(re(_0x44d100[_0x80fa73(0x89)](':')[0x2],_0xe89be9[_0x80fa73(0xfd)](),_0x48551c,_0x2367ae),_0xe89be9[_0x80fa73(0xba)]());_0x475e3f[_0x80fa73(0xaf)]();});});}(_0x399cdf),this[_0xe8e63(0x90)][_0xe8e63(0xa1)](_0x27f0f4[_0xe8e63(0xb6)],_0xe8e63(0xdd),(_0x3c9d3d,{key:_0x10a077})=>{const _0x8e9e1=_0xe8e63;_0x8e9e1(0x97)===_0x10a077&&function(_0x4028c8){const _0x48bbf4=_0x8e9e1;_0x4028c8[_0x48bbf4(0x82)][_0x48bbf4(0xf1)][_0x48bbf4(0xa7)](_0x354342=>{const _0x4f3ff7=_0x48bbf4;for(const _0x569a8b of _0x4028c8[_0x4f3ff7(0xa2)][_0x4f3ff7(0xd9)]){if(!_0x569a8b[_0x4f3ff7(0xf9)][_0x4f3ff7(0xd3)](_0x4f3ff7(0xce)))continue;const _0x330765=_0x4028c8[_0x4f3ff7(0x82)][_0x4f3ff7(0x84)][_0x4f3ff7(0xdf)](_0x569a8b[_0x4f3ff7(0xf9)]);if(_0x330765){for(const _0x58eb43 of _0x330765)_0x354342[_0x4f3ff7(0xe4)](_0x4f3ff7(0xe1),_0x58eb43);}}});}(_0x399cdf);},{'useCapture':!0x0});}[_0x4110ab(0xee)](){const _0x3957ff=_0x4110ab,_0x38f08a=this[_0x3957ff(0xbc)],_0x462ea5=_0x38f08a[_0x3957ff(0xe9)][_0x3957ff(0xb2)](_0x3957ff(0xb5));_0x462ea5&&_0x38f08a[_0x3957ff(0xa2)]['on'](_0x3957ff(0xc7),(_0x2b8dbf,_0x2c5c0c)=>{const _0x2307ae=_0x3957ff,_0x3ce9f8=_0x2c5c0c[0x0];if(_0x2307ae(0x85)!=_0x3ce9f8[_0x2307ae(0xc3)]||!_0x3ce9f8[_0x2307ae(0xf9)][_0x2307ae(0xd3)](_0x2307ae(0x95)))return;const _0x20b263=_0x3ce9f8[_0x2307ae(0xc1)];_0x462ea5[_0x2307ae(0x8d)][_0x2307ae(0xdc)](_0x20b263)&&(_0x3ce9f8[_0x2307ae(0xfe)]=_0x3ce9f8[_0x2307ae(0xc0)]?_0x38f08a[_0x2307ae(0xa2)][_0x2307ae(0xf2)](_0x3ce9f8[_0x2307ae(0xc0)][_0x2307ae(0xd6)],_0x3ce9f8[_0x2307ae(0xc0)][_0x2307ae(0xc2)]):null);},{'priority':_0x3957ff(0xd8)});}[_0x4110ab(0xf4)](){const _0x34a186=_0x4110ab;return this[_0x34a186(0x90)][_0x34a186(0xab)](),super[_0x34a186(0xf4)]();}[_0x4110ab(0x8f)](){const _0x3805a0=_0x4110ab,_0x426419=this[_0x3805a0(0xbc)],_0x48b75d=_0x426419[_0x3805a0(0xa2)][_0x3805a0(0xb6)],_0x7f5c91=_0x426419[_0x3805a0(0xfa)][_0x3805a0(0xb2)](_0x53f082);_0x426419[_0x3805a0(0xa2)][_0x3805a0(0x92)]({'isUndoable':!0x1},_0x53efd1=>{const _0x355c5d=_0x3805a0,_0x56f09d=_0x355c5d(0xbf)+_0x7f5c91[_0x355c5d(0xa9)],_0xc29f48=_0x355c5d(0xe5)+_0x7f5c91[_0x355c5d(0xa9)],_0x5adbd6=_0x426419[_0x355c5d(0xa2)][_0x355c5d(0xd9)][_0x355c5d(0xdc)](_0x56f09d);_0x426419[_0x355c5d(0x82)][_0x355c5d(0xf1)][_0x355c5d(0xa5)]?re(_0x7f5c91[_0x355c5d(0xa9)],_0x48b75d[_0x355c5d(0xec)][_0x355c5d(0xc8)](),_0x426419[_0x355c5d(0xa2)],_0x53efd1):_0x5adbd6&&(_0x53efd1[_0x355c5d(0xaa)](_0x56f09d),_0x53efd1[_0x355c5d(0xaa)](_0xc29f48));});}}function re(_0xb1e54a,_0xb4efe9,_0xd7ec68,_0x4c4de8){const _0x524824=_0x4110ab,_0x43c171=_0x524824(0xbf)+_0xb1e54a,_0x443312=_0x524824(0xe5)+_0xb1e54a,_0x49dcc1=_0xb4efe9[_0x524824(0xe2)]();let _0x26c2db=_0xb4efe9[_0x524824(0xd6)];_0x49dcc1&&_0x49dcc1['is'](_0x524824(0xc6),_0x524824(0x103))&&(_0x26c2db=function(_0x1f36f1,_0x54d5b8){const _0x5d4a34=_0x524824;for(const _0xd41a03 of _0x1f36f1[_0x5d4a34(0xb3)]())if(_0x54d5b8[_0x5d4a34(0xea)][_0x5d4a34(0xc4)](_0xd41a03,_0x5d4a34(0x9f)))return _0xd41a03;}(_0xb4efe9,_0xd7ec68),_0xb4efe9=_0x4c4de8[_0x524824(0xf2)](_0x26c2db));const _0x224f31=_0x4c4de8[_0x524824(0xf2)](_0x26c2db);_0xd7ec68[_0x524824(0xd9)][_0x524824(0xdc)](_0x43c171)?(_0x4c4de8[_0x524824(0x83)](_0x43c171,{'range':_0xb4efe9}),_0x4c4de8[_0x524824(0x83)](_0x443312,{'range':_0x224f31})):(_0x4c4de8[_0x524824(0x101)](_0x43c171,{'range':_0xb4efe9,'usingOperation':!0x0}),_0x4c4de8[_0x524824(0x101)](_0x443312,{'range':_0x224f31,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x22d2c9=_0x5018;function _0x5021(){const _0x32a50e=['12104400NJeEAm','isInline','_createdBatches','toRange','applyOperation','parent','ck-user__marker\x20','ck-user__marker_hovered','type','requires','UserMarkers','3654QJiIMv','user:position','markerName','mapper','addEventListener','editing','getAttribute','user:range','stopListening','element','createRange','editingDowncast','Escape','batch','64458BxXmbt','toDomElement','split','hasContent','getContainedElement','user:position:','markerNameToElements','init','tableCell','selection','change','$text','isLimit','ck-user__selection','model','color','document','marker','rootName','deletionPosition','enqueueChange','checkChild','clear','getNearestSelectionRange','mySessionId','isSimilar','classList','root','name','innerHTML','update:user:range','29795887UoNYbI','isOfficialPlugin','reconvertMarker','userPositionMarker','890idVvoY','getPositions','$graveyard','delete','getCustomProperty','131408wUTpRw','setCustomProperty','891978myyzZL','span','580iNmcGo','17788yAyCUq','has','conversion','data-session-id','createUIElement','_domEmitter','mouseenter','newRange','isObject','destroy','size','view','getRange','markers','removeClass','schema','contenteditable','undo','editor','getSelectionClass','getFirstRange','listenTo','addMarker','end','getStart','updateMarker','mouseleave','commands','startsWith','set','getUserBySessionId','4592whcpfi','start','nodeAfter','isPremiumPlugin','pluginName','markerToHighlight','markerToElement','highest','<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>','oldRange','hasDomSelection','for','getMarkerClass','remove','23PMNOsF','removeMarker','fromRange','createUserMarkerOperations','user:','orderNumber','get','afterInit','detach','render','keydown','change:range','plugins','add','</span>','markerRange','isCollapsed','user:range:'];_0x5021=function(){return _0x32a50e;};return _0x5021();}(function(_0x3095a4,_0x469857){const _0x17a559=_0x5018,_0x124622=_0x3095a4();while(!![]){try{const _0x5f4f0b=-parseInt(_0x17a559(0x224))/0x1*(-parseInt(_0x17a559(0x1f2))/0x2)+-parseInt(_0x17a559(0x1f4))/0x3+-parseInt(_0x17a559(0x1f7))/0x4*(-parseInt(_0x17a559(0x1ed))/0x5)+-parseInt(_0x17a559(0x1bc))/0x6*(-parseInt(_0x17a559(0x216))/0x7)+parseInt(_0x17a559(0x1b1))/0x8+parseInt(_0x17a559(0x1ca))/0x9*(-parseInt(_0x17a559(0x1f6))/0xa)+-parseInt(_0x17a559(0x1e9))/0xb;if(_0x5f4f0b===_0x469857)break;else _0x124622['push'](_0x124622['shift']());}catch(_0x3d5a39){_0x124622['push'](_0x124622['shift']());}}}(_0x5021,0xc1d11));import{Plugin as _0x12ed54}from'ckeditor5/src/core.js';import{global as _0x1cbb2d,DomEmitterMixin as _0x3a25b7}from'ckeditor5/src/utils.js';import _0x43ca9c from'./sessions.js';import{LiveRange as _0x25de5f}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x5018(_0x16c55c,_0x5c2094){const _0x5021b4=_0x5021();return _0x5018=function(_0x5018c4,_0x5d78b3){_0x5018c4=_0x5018c4-0x1a8;let _0x52c8e2=_0x5021b4[_0x5018c4];return _0x52c8e2;},_0x5018(_0x16c55c,_0x5c2094);}export default class H extends _0x12ed54{constructor(){const _0x1172f7=_0x5018;super(...arguments),this[_0x1172f7(0x1fc)]=new(_0x3a25b7())();}static get[_0x22d2c9(0x1ba)](){return[_0x43ca9c];}static get[_0x22d2c9(0x21a)](){const _0x3438ae=_0x22d2c9;return _0x3438ae(0x1bb);}static get[_0x22d2c9(0x1ea)](){return!0x0;}static get[_0x22d2c9(0x219)](){return!0x0;}[_0x22d2c9(0x1d1)](){const _0xfe6e7c=_0x22d2c9,_0x3820a5=this[_0xfe6e7c(0x209)],_0x2707fb=_0x3820a5[_0xfe6e7c(0x1ab)][_0xfe6e7c(0x22a)](_0x43ca9c);_0x3820a5[_0xfe6e7c(0x1f9)][_0xfe6e7c(0x221)](_0xfe6e7c(0x1c7))[_0xfe6e7c(0x21c)]({'model':_0xfe6e7c(0x1bd),'view':(_0x369ebc,{writer:_0x6ce8f5})=>function(_0x75f2cc,_0x3c95c1,_0x260316,_0x4b171b){const _0x4998a8=_0xfe6e7c,_0x58ff12=_0x75f2cc[_0x4998a8(0x1be)][_0x4998a8(0x1cc)](':')[0x2],_0x35818c=_0x260316[_0x4998a8(0x215)](_0x58ff12);if(!_0x35818c||_0x58ff12===_0x260316[_0x4998a8(0x1e2)])return;if(!_0x4b171b[_0x4998a8(0x1d8)][_0x4998a8(0x206)][_0x4998a8(0x1df)](_0x75f2cc[_0x4998a8(0x1ae)][_0x4998a8(0x217)],_0x4998a8(0x1d5)))return;const _0x505e5c={'class':_0x4998a8(0x1b7)+_0x35818c[_0x4998a8(0x1d9)][_0x4998a8(0x222)](),'data-name':_0x35818c[_0x4998a8(0x1e6)],'data-session-id':_0x58ff12},_0x283ebf=_0x4b171b[_0x4998a8(0x1d8)][_0x4998a8(0x204)][_0x4998a8(0x22a)](_0x75f2cc[_0x4998a8(0x1be)]),_0x20e7a1=_0x283ebf[_0x4998a8(0x20f)](),_0x44d9db=_0x20e7a1[_0x4998a8(0x218)],_0x321d16=_0x4b171b[_0x4998a8(0x1d8)][_0x4998a8(0x206)];if(_0x44d9db&&_0x321d16[_0x4998a8(0x1ff)](_0x44d9db)&&_0x321d16[_0x4998a8(0x1b2)](_0x44d9db)&&!_0x4b171b[_0x4998a8(0x1d8)][_0x4998a8(0x204)][_0x4998a8(0x22a)](_0x4998a8(0x1b0)+_0x58ff12)[_0x4998a8(0x203)]()[_0x4998a8(0x1af)])return;const _0x23aabb=_0x20e7a1[_0x4998a8(0x1b6)];return _0x4b171b[_0x4998a8(0x1d8)][_0x4998a8(0x206)][_0x4998a8(0x1d6)](_0x23aabb)&&!_0x4b171b[_0x4998a8(0x1d8)][_0x4998a8(0x1cd)](_0x23aabb)&&(_0x505e5c[_0x4998a8(0x207)]=!0x1),function(_0x23e213,_0x5e9cf8,_0x354b10){const _0x58a8fa=_0x4998a8,_0x3ae350=_0x23e213[_0x58a8fa(0x1fb)](_0x58a8fa(0x1f5),_0x5e9cf8);return _0x23e213[_0x58a8fa(0x1f3)](_0x58a8fa(0x1ec),!0x0,_0x3ae350),_0x3ae350[_0x58a8fa(0x1a8)]=function(_0x3cc0d8){const _0x3a702e=_0x58a8fa,_0x3871ec=this[_0x3a702e(0x1cb)](_0x3cc0d8);return _0x3871ec[_0x3a702e(0x1e7)]=_0x3a702e(0x21e)+_0x354b10[_0x3a702e(0x1e6)]+_0x3a702e(0x1ad),_0x3871ec[_0x3a702e(0x1c0)](_0x3a702e(0x1fd),()=>{const _0x111a08=_0x3a702e;_0x3871ec[_0x111a08(0x1e4)][_0x111a08(0x1ac)](_0x111a08(0x1b8));}),_0x3871ec[_0x3a702e(0x1c0)](_0x3a702e(0x211),()=>{const _0x4b82c9=_0x3a702e;_0x3871ec[_0x4b82c9(0x1e4)][_0x4b82c9(0x223)](_0x4b82c9(0x1b8));}),_0x3871ec;},_0x3ae350[_0x58a8fa(0x1e3)]=function(_0x555856){const _0x5cd0ec=_0x58a8fa;return!(!this[_0x5cd0ec(0x1f1)](_0x5cd0ec(0x1ec))||!_0x555856[_0x5cd0ec(0x1f1)](_0x5cd0ec(0x1ec))||this[_0x5cd0ec(0x1c2)](_0x5cd0ec(0x1fa))!=_0x555856[_0x5cd0ec(0x1c2)](_0x5cd0ec(0x1fa)));},_0x3ae350;}(_0x3c95c1,_0x505e5c,_0x35818c);}(_0x369ebc,_0x6ce8f5,_0x2707fb,_0x3820a5)}),_0x3820a5[_0xfe6e7c(0x1f9)][_0xfe6e7c(0x221)](_0xfe6e7c(0x1c7))[_0xfe6e7c(0x21b)]({'model':_0xfe6e7c(0x1c3),'view':_0x8a89f9=>function(_0x4b2faf,_0x273d8a){const _0x3b266e=_0xfe6e7c,_0x5a7eb0=_0x4b2faf[_0x3b266e(0x1be)][_0x3b266e(0x1cc)](':')[0x2];if(_0x5a7eb0===_0x273d8a[_0x3b266e(0x1e2)])return null;const _0x3bd25c=_0x273d8a[_0x3b266e(0x215)](_0x5a7eb0);if(!_0x3bd25c)return{'id':_0x5a7eb0,'classes':[]};return{'id':_0x5a7eb0,'classes':[_0x3b266e(0x1d7),_0x3bd25c[_0x3b266e(0x1d9)][_0x3b266e(0x20a)]()],'attributes':{'data-session-id':_0x5a7eb0},'priority':0x7d0+_0x3bd25c[_0x3b266e(0x229)]};}(_0x8a89f9,_0x2707fb)}),function(_0x296696){const _0x31aa6f=_0xfe6e7c,_0x4fc49c=_0x296696[_0x31aa6f(0x1d8)],_0x603baa=new Map(),_0x1f446a=_0x296696[_0x31aa6f(0x1ab)][_0x31aa6f(0x22a)](_0x43ca9c);_0x4fc49c[_0x31aa6f(0x204)]['on'](_0x31aa6f(0x1e8),(_0x4c35ab,_0x3d920b,_0x2c8633,_0x2a8f7d)=>{const _0x486a28=_0x31aa6f;if(!_0x2a8f7d&&_0x603baa[_0x486a28(0x22a)](_0x3d920b[_0x486a28(0x1e6)]))return _0x603baa[_0x486a28(0x22a)](_0x3d920b[_0x486a28(0x1e6)])[_0x486a28(0x22c)](),void _0x603baa[_0x486a28(0x1f0)](_0x3d920b[_0x486a28(0x1e6)]);const _0x2b08cd=_0x3d920b[_0x486a28(0x1e6)][_0x486a28(0x1cc)](':')[0x2];if(_0x2b08cd===_0x1f446a[_0x486a28(0x1e2)])return;const _0x27e4bc=_0x486a28(0x1cf)+_0x2b08cd;_0x4fc49c[_0x486a28(0x204)][_0x486a28(0x1f8)](_0x27e4bc)&&_0x296696[_0x486a28(0x1c1)][_0x486a28(0x1eb)](_0x27e4bc),_0x3d920b['on'](_0x486a28(0x1aa),(_0x5e5bf3,_0x5f929b,_0x1c4302)=>{const _0x24871d=_0x486a28;if(_0x24871d(0x1ef)!=_0x5f929b[_0x24871d(0x1e5)][_0x24871d(0x1dc)]&&_0x24871d(0x1ef)==_0x3d920b[_0x24871d(0x203)]()[_0x24871d(0x1e5)][_0x24871d(0x1dc)]&&!_0x603baa[_0x24871d(0x1f8)](_0x3d920b[_0x24871d(0x1e6)])){const _0x5e0ab3=_0x4fc49c[_0x24871d(0x206)][_0x24871d(0x1e1)](_0x1c4302[_0x24871d(0x1dd)]);if(_0x5e0ab3){const _0x5a269a=_0x25de5f[_0x24871d(0x226)](_0x5e0ab3);_0x603baa[_0x24871d(0x214)](_0x3d920b[_0x24871d(0x1e6)],_0x5a269a),_0x5a269a['on'](_0x24871d(0x1aa),(_0x4a45c4,_0x53f4d3,_0x5b22da)=>{const _0x22e06a=_0x24871d;if(_0x22e06a(0x1ef)==_0x5a269a[_0x22e06a(0x1e5)][_0x22e06a(0x1dc)]){const _0x1d4d6d=_0x4fc49c[_0x22e06a(0x206)][_0x22e06a(0x1e1)](_0x5b22da[_0x22e06a(0x1dd)]);_0x1d4d6d?(_0x5a269a[_0x22e06a(0x217)]=_0x1d4d6d[_0x22e06a(0x217)],_0x5a269a[_0x22e06a(0x20e)]=_0x1d4d6d[_0x22e06a(0x20e)]):(_0x603baa[_0x22e06a(0x1f0)](_0x3d920b[_0x22e06a(0x1e6)]),_0x5a269a[_0x22e06a(0x22c)]());}});}}});}),_0x4fc49c[_0x31aa6f(0x1da)]['on'](_0x31aa6f(0x1d4),()=>{const _0x25a426=_0x31aa6f;_0x603baa[_0x25a426(0x201)]>0x0&&_0x4fc49c[_0x25a426(0x1de)]({'isUndoable':!0x1},_0x343172=>{const _0x38578f=_0x25a426;for(const [_0x5c1b03,_0xd57463]of _0x603baa)_0x38578f(0x1ef)==_0x4fc49c[_0x38578f(0x204)][_0x38578f(0x22a)](_0x5c1b03)[_0x38578f(0x203)]()[_0x38578f(0x1e5)][_0x38578f(0x1dc)]&&(re(_0x5c1b03[_0x38578f(0x1cc)](':')[0x2],_0xd57463[_0x38578f(0x1b4)](),_0x4fc49c,_0x343172),_0xd57463[_0x38578f(0x22c)]());_0x603baa[_0x38578f(0x1e0)]();});});}(_0x3820a5),this[_0xfe6e7c(0x1fc)][_0xfe6e7c(0x20c)](_0x1cbb2d[_0xfe6e7c(0x1da)],_0xfe6e7c(0x1a9),(_0x5774de,{key:_0x3415b5})=>{const _0x44ffed=_0xfe6e7c;_0x44ffed(0x1c8)===_0x3415b5&&function(_0x312acf){const _0x3645b8=_0x44ffed;_0x312acf[_0x3645b8(0x1c1)][_0x3645b8(0x202)][_0x3645b8(0x1d4)](_0xeb8381=>{const _0x5b6352=_0x3645b8;for(const _0x39f662 of _0x312acf[_0x5b6352(0x1d8)][_0x5b6352(0x204)]){if(!_0x39f662[_0x5b6352(0x1e6)][_0x5b6352(0x213)](_0x5b6352(0x1bd)))continue;const _0x50c1ab=_0x312acf[_0x5b6352(0x1c1)][_0x5b6352(0x1bf)][_0x5b6352(0x1d0)](_0x39f662[_0x5b6352(0x1e6)]);if(_0x50c1ab){for(const _0x9e90c1 of _0x50c1ab)_0xeb8381[_0x5b6352(0x205)](_0x5b6352(0x1b8),_0x9e90c1);}}});}(_0x3820a5);},{'useCapture':!0x0});}[_0x22d2c9(0x22b)](){const _0xb068a1=_0x22d2c9,_0x4c4e09=this[_0xb068a1(0x209)],_0x57d9ff=_0x4c4e09[_0xb068a1(0x212)][_0xb068a1(0x22a)](_0xb068a1(0x208));_0x57d9ff&&_0x4c4e09[_0xb068a1(0x1d8)]['on'](_0xb068a1(0x1b5),(_0x5e80e8,_0x3d821b)=>{const _0x3392ec=_0xb068a1,_0x2137f8=_0x3d821b[0x0];if(_0x3392ec(0x1db)!=_0x2137f8[_0x3392ec(0x1b9)]||!_0x2137f8[_0x3392ec(0x1e6)][_0x3392ec(0x213)](_0x3392ec(0x228)))return;const _0x1b1de9=_0x2137f8[_0x3392ec(0x1c9)];_0x57d9ff[_0x3392ec(0x1b3)][_0x3392ec(0x1f8)](_0x1b1de9)&&(_0x2137f8[_0x3392ec(0x1fe)]=_0x2137f8[_0x3392ec(0x21f)]?_0x4c4e09[_0x3392ec(0x1d8)][_0x3392ec(0x1c6)](_0x2137f8[_0x3392ec(0x21f)][_0x3392ec(0x217)],_0x2137f8[_0x3392ec(0x21f)][_0x3392ec(0x20e)]):null);},{'priority':_0xb068a1(0x21d)});}[_0x22d2c9(0x200)](){const _0x438ca5=_0x22d2c9;return this[_0x438ca5(0x1fc)][_0x438ca5(0x1c4)](),super[_0x438ca5(0x200)]();}[_0x22d2c9(0x227)](){const _0x5b4320=_0x22d2c9,_0x5e6e14=this[_0x5b4320(0x209)],_0x20ff32=_0x5e6e14[_0x5b4320(0x1d8)][_0x5b4320(0x1da)],_0x21560b=_0x5e6e14[_0x5b4320(0x1ab)][_0x5b4320(0x22a)](_0x43ca9c);_0x5e6e14[_0x5b4320(0x1d8)][_0x5b4320(0x1de)]({'isUndoable':!0x1},_0x4983a1=>{const _0x2e4f8c=_0x5b4320,_0x4bb29e=_0x2e4f8c(0x1b0)+_0x21560b[_0x2e4f8c(0x1e2)],_0x1618aa=_0x2e4f8c(0x1cf)+_0x21560b[_0x2e4f8c(0x1e2)],_0x1972ae=_0x5e6e14[_0x2e4f8c(0x1d8)][_0x2e4f8c(0x204)][_0x2e4f8c(0x1f8)](_0x4bb29e);_0x5e6e14[_0x2e4f8c(0x1c1)][_0x2e4f8c(0x202)][_0x2e4f8c(0x220)]?re(_0x21560b[_0x2e4f8c(0x1e2)],_0x20ff32[_0x2e4f8c(0x1d3)][_0x2e4f8c(0x20b)](),_0x5e6e14[_0x2e4f8c(0x1d8)],_0x4983a1):_0x1972ae&&(_0x4983a1[_0x2e4f8c(0x225)](_0x4bb29e),_0x4983a1[_0x2e4f8c(0x225)](_0x1618aa));});}}function re(_0x5c49b1,_0x4ce4b1,_0x1a2645,_0x173ba1){const _0x220099=_0x22d2c9,_0x341cfc=_0x220099(0x1b0)+_0x5c49b1,_0x481b94=_0x220099(0x1cf)+_0x5c49b1,_0x55bd35=_0x4ce4b1[_0x220099(0x1ce)]();let _0x3770c0=_0x4ce4b1[_0x220099(0x217)];_0x55bd35&&_0x55bd35['is'](_0x220099(0x1c5),_0x220099(0x1d2))&&(_0x3770c0=function(_0x2710d8,_0x3242b7){const _0xd0cca2=_0x220099;for(const _0x399722 of _0x2710d8[_0xd0cca2(0x1ee)]())if(_0x3242b7[_0xd0cca2(0x206)][_0xd0cca2(0x1df)](_0x399722,_0xd0cca2(0x1d5)))return _0x399722;}(_0x4ce4b1,_0x1a2645),_0x4ce4b1=_0x173ba1[_0x220099(0x1c6)](_0x3770c0));const _0x2fe73f=_0x173ba1[_0x220099(0x1c6)](_0x3770c0);_0x1a2645[_0x220099(0x204)][_0x220099(0x1f8)](_0x341cfc)?(_0x173ba1[_0x220099(0x210)](_0x341cfc,{'range':_0x4ce4b1}),_0x173ba1[_0x220099(0x210)](_0x481b94,{'range':_0x2fe73f})):(_0x173ba1[_0x220099(0x20d)](_0x341cfc,{'range':_0x4ce4b1,'usingOperation':!0x0}),_0x173ba1[_0x220099(0x20d)](_0x481b94,{'range':_0x2fe73f,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d29ce=_0x227d;function _0x227d(_0x33c36c,_0x17cd8b){const _0x2d79b5=_0x2d79();return _0x227d=function(_0x227df6,_0x315be9){_0x227df6=_0x227df6-0xe8;let _0x395f27=_0x2d79b5[_0x227df6];return _0x395f27;},_0x227d(_0x33c36c,_0x17cd8b);}(function(_0x2a144e,_0x32f78d){const _0x43626b=_0x227d,_0x3a14f1=_0x2a144e();while(!![]){try{const _0x155b32=-parseInt(_0x43626b(0x111))/0x1+-parseInt(_0x43626b(0xfe))/0x2+-parseInt(_0x43626b(0xec))/0x3+-parseInt(_0x43626b(0x12e))/0x4*(-parseInt(_0x43626b(0x104))/0x5)+parseInt(_0x43626b(0xf4))/0x6+parseInt(_0x43626b(0xf5))/0x7*(parseInt(_0x43626b(0x10e))/0x8)+parseInt(_0x43626b(0x131))/0x9*(parseInt(_0x43626b(0x12f))/0xa);if(_0x155b32===_0x32f78d)break;else _0x3a14f1['push'](_0x3a14f1['shift']());}catch(_0x18dc53){_0x3a14f1['push'](_0x3a14f1['shift']());}}}(_0x2d79,0x98685));import{ContextPlugin as _0x520628}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0xe87236,CKEditorError as _0x21c675}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x8a1b7f,WEB_SOCKET_GATEWAY_STATES as _0x3e00b4}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x25fd5c}from'ckeditor5/src/ui.js';class c extends _0x520628{static get[_0x2d29ce(0x106)](){const _0xcc6ac5=_0x2d29ce;return[_0xcc6ac5(0x128),_0x25fd5c];}static get[_0x2d29ce(0x12d)](){const _0x2109c2=_0x2d29ce;return _0x2109c2(0x11b);}static get[_0x2d29ce(0xf2)](){return!0x0;}static get[_0x2d29ce(0x11c)](){return!0x0;}constructor(_0x1486bb){const _0x5922a0=_0x2d29ce;super(_0x1486bb),this[_0x5922a0(0x11e)](_0x5922a0(0xed),_0x3e00b4[_0x5922a0(0x100)]),this[_0x5922a0(0x11e)](_0x5922a0(0x132),!0x1),this[_0x5922a0(0x114)]=new Set(),this[_0x5922a0(0x10b)]=!0x1,this[_0x5922a0(0x127)]=Object[_0x5922a0(0x112)](_0xe87236);}[_0x2d29ce(0xfb)](){const _0x4e472f=_0x2d29ce,_0x10d299=this[_0x4e472f(0xf3)],_0x4e14a7=_0x10d299[_0x4e472f(0x117)][_0x4e472f(0x121)](_0x4e472f(0x128)),_0x49adcc=_0x10d299[_0x4e472f(0x117)][_0x4e472f(0x121)](_0x25fd5c);if(!_0x4e14a7[_0x4e472f(0x107)])throw new _0x21c675(_0x4e472f(0xe8),this);if(!_0x4e14a7[_0x4e472f(0xe9)])throw new _0x21c675(_0x4e472f(0xf9),this);return this[_0x4e472f(0x127)][_0x4e472f(0x11d)](window,_0x4e472f(0x126),()=>this[_0x4e472f(0x132)]=!0x0),this[_0x4e472f(0x127)][_0x4e472f(0x11d)](window,_0x4e472f(0x101),()=>this[_0x4e472f(0x132)]=!0x1),this[_0x4e472f(0xf3)][_0x4e472f(0xf6)][_0x4e472f(0xf0)](_0x4e472f(0x119),0xa),this[_0x4e472f(0xf3)][_0x4e472f(0xf6)][_0x4e472f(0xf0)](_0x4e472f(0xf1),0x14),c[_0x4e472f(0x11b)][_0x4e472f(0x108)](_0x4e14a7[_0x4e472f(0x107)],_0x4e14a7[_0x4e472f(0xe9)],{'timeout':0x3e8*this[_0x4e472f(0xf3)][_0x4e472f(0xf6)][_0x4e472f(0x121)](_0x4e472f(0x119)),'requestTimeout':0x3e8*this[_0x4e472f(0xf3)][_0x4e472f(0xf6)][_0x4e472f(0x121)](_0x4e472f(0xf1))})[_0x4e472f(0xea)](_0x5c10c9=>{const _0x1fef12=_0x4e472f;if(this[_0x1fef12(0x118)]=_0x5c10c9,this[_0x1fef12(0x125)](_0x1fef12(0xed))['to'](_0x5c10c9,_0x1fef12(0xed),this,_0x1fef12(0x132),(_0x289432,_0x7b0ee5)=>(_0x1fef12(0x10c)!==_0x289432&&(this[_0x1fef12(0x10b)]=!0x0),_0x7b0ee5||_0x289432!==_0x3e00b4[_0x1fef12(0x100)]?_0x3e00b4[_0x1fef12(0x115)]:this[_0x1fef12(0xed)]==_0x3e00b4[_0x1fef12(0x115)]&&this[_0x1fef12(0x10b)]?(this[_0x1fef12(0x10b)]=!0x1,this[_0x1fef12(0x124)](),_0x3e00b4[_0x1fef12(0xef)]):_0x3e00b4[_0x1fef12(0x100)])),this[_0x1fef12(0x118)]['on'](_0x1fef12(0x122),(_0x3c4ee3,_0xc3bdef)=>{const _0x1105f4=_0x1fef12;if(_0x1105f4(0xf7)!==_0xc3bdef[_0x1105f4(0x10a)])throw console[_0x1105f4(0x122)](_0xc3bdef),new _0x21c675(_0x1105f4(0x12c),null,{'originalError':_0xc3bdef});_0x49adcc[_0x1105f4(0x12b)](_0x1105f4(0xee),{'title':_0x1105f4(0x103),'namespace':_0x1105f4(0x11a)});}),!_0x5c10c9['me'])return new Promise(_0x5ae231=>_0x5c10c9['on'](_0x1fef12(0xeb),_0x5ae231));})[_0x4e472f(0x11f)](_0x40f0df=>{const _0x46f7de=_0x4e472f;throw console[_0x46f7de(0x122)](_0x40f0df),new _0x21c675(_0x46f7de(0x12c),null,{'originalError':_0x40f0df});});}[_0x2d29ce(0x102)](_0x578574){const _0x3bbd3b=_0x2d29ce;if(_0x3bbd3b(0x105)!=typeof _0x578574[_0x3bbd3b(0x130)])throw new _0x21c675(_0x3bbd3b(0x10f),this);if(this[_0x3bbd3b(0x109)](_0x578574))throw new _0x21c675(_0x3bbd3b(0x10d),this,{'name':_0x578574[_0x3bbd3b(0x116)][_0x3bbd3b(0x12d)]});this[_0x3bbd3b(0x114)][_0x3bbd3b(0xff)](_0x578574);}[_0x2d29ce(0x110)](_0xc84e84){const _0x5e62bf=_0x2d29ce;this[_0x5e62bf(0x114)][_0x5e62bf(0x12a)](_0xc84e84);}[_0x2d29ce(0x109)](_0x3c0627){const _0x2a04a3=_0x2d29ce;return this[_0x2a04a3(0x114)][_0x2a04a3(0x120)](_0x3c0627);}[_0x2d29ce(0x124)](){const _0x27931f=_0x2d29ce;return this[_0x27931f(0x118)][_0x27931f(0x130)]()[_0x27931f(0xea)](()=>Promise[_0x27931f(0x129)](Array[_0x27931f(0x123)](this[_0x27931f(0x114)],_0x54ae59=>_0x54ae59[_0x27931f(0x130)]())))[_0x27931f(0xea)](()=>this[_0x27931f(0xed)]=_0x3e00b4[_0x27931f(0x100)])[_0x27931f(0x11f)](_0x1cf154=>{const _0x2c6fb4=_0x27931f;throw console[_0x2c6fb4(0x122)](_0x1cf154),new _0x21c675(_0x2c6fb4(0xf8),this[_0x2c6fb4(0xf3)]);});}[_0x2d29ce(0xfc)](){const _0xd9a9=_0x2d29ce;this[_0xd9a9(0x118)]&&this[_0xd9a9(0x118)][_0xd9a9(0xfd)](),this[_0xd9a9(0xed)]=_0x3e00b4[_0xd9a9(0x115)],this[_0xd9a9(0x127)][_0xd9a9(0x113)](),super[_0xd9a9(0xfc)]();}}c[_0x2d29ce(0x11b)]=_0x8a1b7f,c[_0x2d29ce(0xfa)]=0x3e8;function _0x2d79(){const _0x134cd0=['disconnect','921720yWGSMc','add','CONNECTED','online','addToReconnectionStack','Connected\x20users\x20limit\x20exceeded','20cPqrgY','function','requires','token','connect','isInReconnectionStack','code','_shouldPluginsReconnect','connected','websocketgateway-plugin-already-registered','643880ChAJGw','websocketgateway-invalid-plugin-interface','removeFromReconnectionStack','1001068pZHeke','create','stopListening','_reconnectionStack','DISCONNECTED','constructor','plugins','connection','cloudServices.connectionTimeout','real-time-collaboration','WebSocketGateway','isPremiumPlugin','listenTo','set','catch','has','get','error','from','_reconnect','bind','offline','_domEmitter','CloudServices','all','delete','showWarning','cloudservices-init','pluginName','948524RqTGAd','852170tqBhqz','reconnect','45syWeSF','_isBrowserOffline','websocketgateway-missing-token','webSocketUrl','then','change:me','1307286zSVDAM','state','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.','CONNECTING','define','cloudServices.requestTimeout','isOfficialPlugin','context','606222iCoqRt','91rqXwxC','config','limitExceeded','cloudservices-reconnection-error','websocketgateway-missing-websocket-url','initialReconnectionInterval','init','destroy'];_0x2d79=function(){return _0x134cd0;};return _0x2d79();}export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x8e698e=_0x53fa;(function(_0x516c1d,_0x2ea916){var _0x28a38e=_0x53fa,_0x3af92c=_0x516c1d();while(!![]){try{var _0x48f42e=-parseInt(_0x28a38e(0x131))/0x1+parseInt(_0x28a38e(0x129))/0x2*(-parseInt(_0x28a38e(0x12e))/0x3)+-parseInt(_0x28a38e(0x12c))/0x4+-parseInt(_0x28a38e(0x133))/0x5+-parseInt(_0x28a38e(0x12f))/0x6*(-parseInt(_0x28a38e(0x12a))/0x7)+-parseInt(_0x28a38e(0x128))/0x8*(parseInt(_0x28a38e(0x12d))/0x9)+parseInt(_0x28a38e(0x126))/0xa;if(_0x48f42e===_0x2ea916)break;else _0x3af92c['push'](_0x3af92c['shift']());}catch(_0x13ec7c){_0x3af92c['push'](_0x3af92c['shift']());}}}(_0x296f,0xd771e));import{Plugin as _0x14c3de}from'ckeditor5/src/core.js';import _0x127b9c from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x53fa(_0x3d67ca,_0x181520){var _0x296f76=_0x296f();return _0x53fa=function(_0x53fa5b,_0x40afd8){_0x53fa5b=_0x53fa5b-0x125;var _0x18aba0=_0x296f76[_0x53fa5b];return _0x18aba0;},_0x53fa(_0x3d67ca,_0x181520);}export default class n extends _0x14c3de{static get[_0x8e698e(0x132)](){return[_0x127b9c];}static get[_0x8e698e(0x130)](){var _0x184b71=_0x8e698e;return _0x184b71(0x12b);}static get[_0x8e698e(0x125)](){return!0x0;}static get[_0x8e698e(0x127)](){return!0x0;}}function _0x296f(){var _0x4e978e=['3045308kxfvAU','2667924WCHLZs','428907VbJiSX','11334RNpZMa','pluginName','284578tpUJeZ','requires','6686265sIhRRK','isOfficialPlugin','29228420YcPVOg','isPremiumPlugin','16gosuHG','2bujqFh','3997SmZolJ','RealTimeCollaborativeEditing'];_0x296f=function(){return _0x4e978e;};return _0x296f();}
|