@ckeditor/ckeditor5-real-time-collaboration 44.1.0-alpha.2 → 44.1.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +2 -2
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x249e71=_0x64f2;function _0x504d(){const _0x3cb3f0=['disconnect','commentThreadResolved','pluginName','getMany','cloud-services-internal-error:\x20Not\x20connected.','getConnectedSessions','context','init','map','commentRemoved','1584775KOWAjm','addUser','catch','isOfficialPlugin','get','_setUpService','content','commentThreadReopened','cloudservicescommentsadapter-connect-already-connected','setPermissions','unregister','1062cdSYjJ','authorId','permissions','getCommentThreads','CommentsRepository','getComment','sessionAdd:','commentThreadRemoved','code','commentUpdated','resolveCommentThread','commentId','reopenCommentThread','getUser','12501440zMkFut','requires','6JdsmYF','startsWith','_services','register','remove','_getService','resolve','connect','listenTo','destroy','commentAdded','keys','10386588IHEQFC','commentThreadAdded','addToReconnectionStack','4298224irMuUr','collaboration.channelId','addComment','4SlqCnH','cloud-services-internal-error:\x20Request\x20timeout.','comments','updateComment','294020WNnNzN','createdAt','_fetchMissingUsersForThreads','set','cloudservicescommentsadapter-service-not-exist','_connectService','_terminateService','CommentsService','reconnect','55nWCDxB','updateCommentThread','mySessionId','Permissions','removeComment','update','getCommentThread','3545157FeOTWG','off','message','isPremiumPlugin','404','assign','CloudServicesCommentsAdapter','removeCommentThread','config','adapter','resolvedBy','commentThreadUpdated','addCommentThread','add','deletedAt','plugins','userId','size','has','attributes','from','reopen','cloudservicescommentsadapter-disconnect-not-exist','23952NwEzFO','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','commentThreadId','2yzsSmL','resolvedAt','delete'];_0x504d=function(){return _0x3cb3f0;};return _0x504d();}(function(_0x4a431e,_0xd230a){const _0x5507bc=_0x64f2,_0x523d74=_0x4a431e();while(!![]){try{const _0xa41a99=-parseInt(_0x5507bc(0x1e5))/0x1+parseInt(_0x5507bc(0x20f))/0x2*(-parseInt(_0x5507bc(0x1f5))/0x3)+-parseInt(_0x5507bc(0x1e1))/0x4*(-parseInt(_0x5507bc(0x21c))/0x5)+parseInt(_0x5507bc(0x1cf))/0x6*(-parseInt(_0x5507bc(0x1de))/0x7)+-parseInt(_0x5507bc(0x20c))/0x8*(parseInt(_0x5507bc(0x1bf))/0x9)+-parseInt(_0x5507bc(0x1cd))/0xa+-parseInt(_0x5507bc(0x1ee))/0xb*(-parseInt(_0x5507bc(0x1db))/0xc);if(_0xa41a99===_0xd230a)break;else _0x523d74['push'](_0x523d74['shift']());}catch(_0x30c567){_0x523d74['push'](_0x523d74['shift']());}}}(_0x504d,0xe84c5));import{Context as _0x4dd4a2,ContextPlugin as _0x288407}from'ckeditor5/src/core.js';import{CKEditorError as _0xac0a1f}from'ckeditor5/src/utils.js';import{Users as _0x5ca6a6}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x4fa29b,User as _0x30f1d5}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x3baea4 from'../realtimecollaborativeediting/websocketgateway.js';import _0x254353 from'../realtimecollaborativeediting/sessions.js';class a extends _0x288407{static get[_0x249e71(0x1ce)](){const _0x15b4e1=_0x249e71;return[_0x3baea4,_0x15b4e1(0x1c3),_0x254353,_0x5ca6a6];}static get[_0x249e71(0x214)](){const _0xa63f72=_0x249e71;return _0xa63f72(0x1fb);}static get[_0x249e71(0x21f)](){return!0x0;}static get[_0x249e71(0x1f8)](){return!0x0;}constructor(_0x576e14){const _0x33c22d=_0x249e71;super(_0x576e14),this[_0x33c22d(0x1d1)]=new Map();}async[_0x249e71(0x219)](){const _0x186d3d=_0x249e71,_0x379f93=this[_0x186d3d(0x218)],_0x2534b4=_0x379f93[_0x186d3d(0x204)][_0x186d3d(0x220)](_0x186d3d(0x1c3));if(_0x379f93[_0x186d3d(0x204)][_0x186d3d(0x220)](_0x3baea4)[_0x186d3d(0x1dd)](this),_0x2534b4[_0x186d3d(0x1fe)]={'addCommentThread':async({channelId:_0x49b86c,threadId:_0x2a0fce,comments:_0x175cd3,resolvedAt:_0x5ced9b,resolvedBy:_0x2decf8,context:_0x1422fb,attributes:_0xa863fc})=>{const _0x596b46=_0x186d3d,_0x944f19=await this[_0x596b46(0x1d4)](_0x49b86c)[_0x596b46(0x201)]({'commentThreadId':_0x2a0fce,'comments':_0x175cd3[_0x596b46(0x21a)](_0x300027=>function(_0x73167d,_0x2b9d8e,_0x5eea2f){const _0x182f7f=_0x596b46;return{'commentThreadId':_0x5eea2f,'commentId':_0x73167d[_0x182f7f(0x1ca)],'userId':_0x73167d[_0x182f7f(0x1c0)],'content':_0x73167d[_0x182f7f(0x222)],'documentId':_0x2b9d8e,'createdAt':_0x73167d[_0x182f7f(0x1e6)],'attributes':_0x73167d[_0x182f7f(0x208)]||{}};}(_0x300027,_0x49b86c,_0x2a0fce)),'resolvedAt':_0x5ced9b,'resolvedBy':_0x2decf8,'context':_0x1422fb,'attributes':_0xa863fc})[_0x596b46(0x21e)](R);return{'threadId':_0x944f19[_0x596b46(0x20e)],'comments':_0x944f19[_0x596b46(0x1e3)]};},'getCommentThread':async({channelId:_0x54273f,threadId:_0x561df1})=>{const _0x571aab=_0x186d3d,_0x4dd2b0=await this[_0x571aab(0x1d4)](_0x54273f)[_0x571aab(0x1f4)](_0x561df1)[_0x571aab(0x21e)](R);return _0x4dd2b0[_0x571aab(0x203)]?null:(await this[_0x571aab(0x1e7)]([_0x4dd2b0]),{'threadId':_0x4dd2b0[_0x571aab(0x20e)],'comments':_0x4dd2b0[_0x571aab(0x1e3)][_0x571aab(0x21a)](S),'context':_0x4dd2b0[_0x571aab(0x218)],'resolvedAt':_0x4dd2b0[_0x571aab(0x210)],'resolvedBy':_0x4dd2b0[_0x571aab(0x1ff)],'attributes':_0x4dd2b0[_0x571aab(0x208)]||{}});},'updateCommentThread':async({channelId:_0x256b9f,threadId:_0x22a428,context:_0x1c508c,unlinkedAt:_0x7ddfa2,attributes:_0x44f3c6})=>this[_0x186d3d(0x1d4)](_0x256b9f)[_0x186d3d(0x1ef)]({'commentThreadId':_0x22a428,'context':_0x1c508c,'attributes':_0x44f3c6,'unlinkedAt':_0x7ddfa2})[_0x186d3d(0x21e)](B)[_0x186d3d(0x21e)](R),'resolveCommentThread':async({channelId:_0x12e0c1,threadId:_0x2ec781})=>{const _0xc9c08a=_0x186d3d,_0x29df44=await this[_0xc9c08a(0x1d4)](_0x12e0c1)[_0xc9c08a(0x1c9)](_0x2ec781)[_0xc9c08a(0x21e)](B)[_0xc9c08a(0x21e)](R);return{'threadId':_0x29df44[_0xc9c08a(0x20e)],'resolvedAt':_0x29df44[_0xc9c08a(0x210)],'resolvedBy':_0x29df44[_0xc9c08a(0x1ff)]};},'reopenCommentThread':async({channelId:_0x17fc18,threadId:_0x29183b})=>this[_0x186d3d(0x1d4)](_0x17fc18)[_0x186d3d(0x1cb)](_0x29183b)[_0x186d3d(0x21e)](B)[_0x186d3d(0x21e)](R),'removeCommentThread':({channelId:_0xc666ea,threadId:_0x37b4bd})=>this[_0x186d3d(0x1d4)](_0xc666ea)[_0x186d3d(0x1fc)](_0x37b4bd)[_0x186d3d(0x21e)](B)[_0x186d3d(0x21e)](R),'addComment':({channelId:_0x3dbc4c,threadId:_0x62dfe1,commentId:_0x4bba3b,content:_0x512a8c,attributes:_0x924518})=>this[_0x186d3d(0x1d4)](_0x3dbc4c)[_0x186d3d(0x1e0)](_0x62dfe1,_0x4bba3b,_0x512a8c,_0x924518)[_0x186d3d(0x21e)](R),'updateComment':({channelId:_0x8a4a6a,threadId:_0x449d5a,commentId:_0x119d41,content:_0x12767a,attributes:_0x37c35c})=>this[_0x186d3d(0x1d4)](_0x8a4a6a)[_0x186d3d(0x1e4)](_0x449d5a,_0x119d41,_0x12767a,_0x37c35c)[_0x186d3d(0x21e)](B)[_0x186d3d(0x21e)](R),'removeComment':({channelId:_0x461731,threadId:_0x13c68e,commentId:_0x358488})=>this[_0x186d3d(0x1d4)](_0x461731)[_0x186d3d(0x1f2)](_0x13c68e,_0x358488)[_0x186d3d(0x21e)](B)[_0x186d3d(0x21e)](R)},_0x379f93 instanceof _0x4dd4a2){const _0x24991a=_0x379f93[_0x186d3d(0x1fd)][_0x186d3d(0x220)](_0x186d3d(0x1df)),_0x5648ca=_0x379f93[_0x186d3d(0x204)][_0x186d3d(0x220)](_0x254353);await this[_0x186d3d(0x221)](_0x24991a);const _0x198971=await this[_0x186d3d(0x1d1)][_0x186d3d(0x220)](_0x24991a)[_0x186d3d(0x217)]();this[_0x186d3d(0x1d7)](_0x5648ca,_0x186d3d(0x1c5)+_0x24991a,(_0x511c64,{session:_0x28c594})=>{const _0x26e558=_0x186d3d;_0x28c594['id']===_0x5648ca[_0x26e558(0x1f0)]&&(_0x511c64[_0x26e558(0x1f6)](),this[_0x26e558(0x218)][_0x26e558(0x204)][_0x26e558(0x220)](_0x26e558(0x1f1))[_0x26e558(0x1bd)](_0x28c594[_0x26e558(0x1c1)],_0x24991a));}),_0x5648ca[_0x186d3d(0x1d2)](_0x24991a,_0x198971);}}async[_0x249e71(0x221)](_0x1994f6){const _0x495be7=_0x249e71;if(this[_0x495be7(0x1d1)][_0x495be7(0x207)](_0x1994f6))throw new _0xac0a1f(_0x495be7(0x224),null,{'channelId':_0x1994f6});const _0x9dc995=this[_0x495be7(0x218)][_0x495be7(0x204)][_0x495be7(0x220)](_0x495be7(0x1c3)),_0x4b737f=new a[(_0x495be7(0x1ec))](_0x1994f6);this[_0x495be7(0x1d1)][_0x495be7(0x1e8)](_0x1994f6,_0x4b737f),this[_0x495be7(0x1d7)](_0x4b737f,_0x495be7(0x1dc),(_0x11b9c0,_0x1873b0)=>{const _0x2a1280=_0x495be7,{commentThreadId:_0x5d58ca,documentId:_0x160ef1,context:_0x501406,attributes:_0x3c3979,resolvedAt:_0x5e3822,resolvedBy:_0x260ec3,comments:_0x28fa7f}=_0x1873b0;_0x9dc995[_0x2a1280(0x1f4)](_0x5d58ca)||_0x9dc995[_0x2a1280(0x201)]({'threadId':_0x5d58ca,'channelId':_0x160ef1,'comments':_0x28fa7f?_0x28fa7f[_0x2a1280(0x21a)](S):[],'context':_0x501406,'attributes':_0x3c3979,'resolvedAt':_0x5e3822,'resolvedBy':_0x260ec3,'isFromAdapter':!0x0});}),this[_0x495be7(0x1d7)](_0x4b737f,_0x495be7(0x200),(_0x1cbeae,{commentThreadId:_0xb01fb8,documentId:_0x236483,context:_0x2ce729,unlinkedAt:_0x2104af,attributes:_0x1c0e82})=>{const _0x1f36e4=_0x495be7;_0x9dc995[_0x1f36e4(0x1f4)](_0xb01fb8)&&_0x9dc995[_0x1f36e4(0x1ef)]({'threadId':_0xb01fb8,'channelId':_0x236483,'context':_0x2ce729,'unlinkedAt':_0x2104af,'attributes':_0x1c0e82,'isFromAdapter':!0x0});}),this[_0x495be7(0x1d7)](_0x4b737f,_0x495be7(0x213),(_0x1a1009,{commentThreadId:_0x39b67e,resolvedBy:_0x374911,resolvedAt:_0x2643d8})=>{const _0x39d36d=_0x495be7,_0x50d56e=_0x9dc995[_0x39d36d(0x1f4)](_0x39b67e);_0x50d56e&&_0x50d56e[_0x39d36d(0x1d5)]({'resolvedBy':_0x374911,'resolvedAt':_0x2643d8,'isFromAdapter':!0x0});}),this[_0x495be7(0x1d7)](_0x4b737f,_0x495be7(0x223),(_0x37b79b,{commentThreadId:_0x3139b0})=>{const _0x34c7c0=_0x495be7,_0x46bfb4=_0x9dc995[_0x34c7c0(0x1f4)](_0x3139b0);_0x46bfb4&&_0x46bfb4[_0x34c7c0(0x20a)]({'isFromAdapter':!0x0});}),this[_0x495be7(0x1d7)](_0x4b737f,_0x495be7(0x1c6),(_0x16230f,{commentThreadId:_0x161d9f})=>{const _0x590980=_0x495be7,_0x2dff85=_0x9dc995[_0x590980(0x1f4)](_0x161d9f);_0x2dff85&&_0x2dff85[_0x590980(0x1d3)]({'isFromAdapter':!0x0});}),this[_0x495be7(0x1d7)](_0x4b737f,_0x495be7(0x1d9),(_0x376068,_0x1df016)=>{const _0x389551=_0x495be7,_0x113440=_0x1df016[_0x389551(0x20e)],_0x52c11b=_0x9dc995[_0x389551(0x1f4)](_0x113440);_0x52c11b&&_0x52c11b[_0x389551(0x1e0)]({...S(_0x1df016),'isFromAdapter':!0x0});}),this[_0x495be7(0x1d7)](_0x4b737f,_0x495be7(0x1c8),(_0x488daa,{commentThreadId:_0x50a5cd,commentId:_0x9f27a4,content:_0x1ca05d,attributes:_0x1e295c})=>{const _0x7b1ae7=_0x495be7,_0x583185=_0x9dc995[_0x7b1ae7(0x1f4)](_0x50a5cd);if(_0x583185){const _0x469dd2=_0x583185[_0x7b1ae7(0x1c4)](_0x9f27a4);_0x469dd2&&_0x469dd2[_0x7b1ae7(0x1f3)]({'content':_0x1ca05d,'attributes':_0x1e295c,'isFromAdapter':!0x0});}}),this[_0x495be7(0x1d7)](_0x4b737f,_0x495be7(0x21b),(_0x417d88,{commentThreadId:_0x6de5d2,commentId:_0x20a338})=>{const _0x157bb8=_0x495be7,_0x46a306=_0x9dc995[_0x157bb8(0x1f4)](_0x6de5d2);if(_0x46a306){const _0x4ca31d=_0x46a306[_0x157bb8(0x1c4)](_0x20a338);_0x4ca31d&&_0x4ca31d[_0x157bb8(0x1d3)]({'isFromAdapter':!0x0});}}),await this[_0x495be7(0x1ea)](_0x1994f6);}[_0x249e71(0x1d8)](){const _0x2a29e4=_0x249e71;if(this[_0x2a29e4(0x218)]instanceof _0x4dd4a2){const _0x11b969=this[_0x2a29e4(0x218)][_0x2a29e4(0x1fd)][_0x2a29e4(0x220)](_0x2a29e4(0x1df));this[_0x2a29e4(0x1eb)](_0x11b969);}}[_0x249e71(0x1eb)](_0x244029){const _0x5bbbc6=_0x249e71;if(!this[_0x5bbbc6(0x1d1)][_0x5bbbc6(0x207)](_0x244029))throw new _0xac0a1f(_0x5bbbc6(0x20b),null,{'channelId':_0x244029});this[_0x5bbbc6(0x1d4)](_0x244029)[_0x5bbbc6(0x212)](),this[_0x5bbbc6(0x1d1)][_0x5bbbc6(0x211)](_0x244029);}async[_0x249e71(0x1ed)](){const _0x30df9b=_0x249e71;for(const _0x366b94 of this[_0x30df9b(0x1d1)][_0x30df9b(0x1da)]())await this[_0x30df9b(0x1ea)](_0x366b94);if(this[_0x30df9b(0x218)]instanceof _0x4dd4a2){const _0x439575=this[_0x30df9b(0x218)][_0x30df9b(0x1fd)][_0x30df9b(0x220)](_0x30df9b(0x1df)),_0x51f240=this[_0x30df9b(0x218)][_0x30df9b(0x204)][_0x30df9b(0x220)](_0x254353);_0x51f240[_0x30df9b(0x1be)](_0x439575);const _0x482031=await this[_0x30df9b(0x1d1)][_0x30df9b(0x220)](_0x439575)[_0x30df9b(0x217)]();_0x51f240[_0x30df9b(0x1d2)](_0x439575,_0x482031);}}async[_0x249e71(0x1ea)](_0x16ac5e){const _0x20b3c2=_0x249e71,{connection:_0x3bbdce}=this[_0x20b3c2(0x218)][_0x20b3c2(0x204)][_0x20b3c2(0x220)](_0x3baea4),_0x46accf=this[_0x20b3c2(0x218)][_0x20b3c2(0x204)][_0x20b3c2(0x220)](_0x20b3c2(0x1c3)),_0x566aa3=this[_0x20b3c2(0x1d1)][_0x20b3c2(0x220)](_0x16ac5e),_0x2eccc7=await _0x566aa3[_0x20b3c2(0x1d6)](_0x3bbdce);await this[_0x20b3c2(0x1e7)](_0x2eccc7);const _0x422ca0=new Set(Array[_0x20b3c2(0x209)](_0x46accf[_0x20b3c2(0x1c2)]({'channelId':_0x16ac5e}),_0x2e026a=>_0x2e026a['id']));for(const _0x50a1b0 of _0x2eccc7)_0x50a1b0[_0x20b3c2(0x203)]||_0x422ca0[_0x20b3c2(0x211)](_0x50a1b0[_0x20b3c2(0x20e)]);for(const _0x159c39 of _0x422ca0)_0x46accf[_0x20b3c2(0x1f4)](_0x159c39)[_0x20b3c2(0x1d3)]({'isFromAdapter':!0x0});for(const _0x232d1c of _0x2eccc7){let _0x472de2=_0x46accf[_0x20b3c2(0x1f4)](_0x232d1c[_0x20b3c2(0x20e)]);const {commentThreadId:_0x445b6b,context:_0x5f503d,attributes:_0x3ecb0c,resolvedBy:_0x52727c,resolvedAt:_0x57712a,unlinkedAt:_0x5a338e,deletedAt:_0x4db8ff}=_0x232d1c;if(_0x4db8ff)continue;_0x472de2||(_0x472de2=_0x46accf[_0x20b3c2(0x201)]({'channelId':_0x16ac5e,'threadId':_0x445b6b,'context':_0x5f503d,'attributes':_0x3ecb0c||{},'resolvedBy':_0x52727c,'resolvedAt':_0x57712a,'unlinkedAt':_0x5a338e,'isFromAdapter':!0x0}));const _0x47da8f=new Set(Array[_0x20b3c2(0x209)](_0x472de2[_0x20b3c2(0x1e3)],_0x2b4d35=>_0x2b4d35['id']));for(const _0x45c011 of _0x232d1c[_0x20b3c2(0x1e3)])_0x47da8f[_0x20b3c2(0x211)](_0x45c011[_0x20b3c2(0x1ca)]);for(const _0x6d5dd0 of _0x47da8f)_0x472de2[_0x20b3c2(0x1c4)](_0x6d5dd0)[_0x20b3c2(0x1d3)]({'isFromAdapter':!0x0});for(const _0x5ee7c0 of _0x232d1c[_0x20b3c2(0x1e3)]){const _0x2a9487=_0x472de2[_0x20b3c2(0x1c4)](_0x5ee7c0[_0x20b3c2(0x1ca)]);_0x2a9487?_0x2a9487[_0x20b3c2(0x222)]!==_0x5ee7c0[_0x20b3c2(0x222)]&&_0x2a9487[_0x20b3c2(0x1f3)]({'content':_0x5ee7c0[_0x20b3c2(0x222)],'isFromAdapter':!0x0}):_0x472de2[_0x20b3c2(0x1e0)](Object[_0x20b3c2(0x1fa)](S(_0x5ee7c0),{'isFromAdapter':!0x0}));}}}[_0x249e71(0x1d4)](_0x42aaff){const _0x39b85f=_0x249e71;if(!this[_0x39b85f(0x1d1)][_0x39b85f(0x207)](_0x42aaff))throw new _0xac0a1f(_0x39b85f(0x1e9),null,{'channelId':_0x42aaff});return this[_0x39b85f(0x1d1)][_0x39b85f(0x220)](_0x42aaff);}async[_0x249e71(0x1e7)](_0x3b1c1c){const _0x38fc9f=_0x249e71,_0x45f14e=this[_0x38fc9f(0x218)][_0x38fc9f(0x204)][_0x38fc9f(0x220)](_0x5ca6a6),{connection:_0x2345eb}=this[_0x38fc9f(0x218)][_0x38fc9f(0x204)][_0x38fc9f(0x220)](_0x3baea4),_0x5f0e05=new Set();for(const {resolvedBy:_0x583b31,comments:_0x4b60ef}of _0x3b1c1c){_0x583b31&&!_0x45f14e[_0x38fc9f(0x1cc)](_0x583b31)&&_0x5f0e05[_0x38fc9f(0x202)](_0x583b31);for(const {userId:_0x4aa20e}of _0x4b60ef)_0x45f14e[_0x38fc9f(0x1cc)](_0x4aa20e)||_0x5f0e05[_0x38fc9f(0x202)](_0x4aa20e);}if(0x0===_0x5f0e05[_0x38fc9f(0x206)])return;const _0x14cb7f=await _0x30f1d5[_0x38fc9f(0x215)](_0x2345eb,Array[_0x38fc9f(0x209)](_0x5f0e05));for(const _0x30469a of _0x14cb7f)_0x45f14e[_0x38fc9f(0x1cc)](_0x30469a['id'])||_0x45f14e[_0x38fc9f(0x21d)](_0x30469a);}}a[_0x249e71(0x1ec)]=_0x4fa29b;export default a;async function B(_0x277c31){const _0x1b2eaf=_0x249e71;if(_0x1b2eaf(0x1f9)!==_0x277c31[_0x1b2eaf(0x1c7)])throw _0x277c31;}function _0x64f2(_0x5d1b05,_0x47a853){const _0x504d45=_0x504d();return _0x64f2=function(_0x64f27d,_0x29cbf8){_0x64f27d=_0x64f27d-0x1bd;let _0x2ec585=_0x504d45[_0x64f27d];return _0x2ec585;},_0x64f2(_0x5d1b05,_0x47a853);}function R(_0xb75203){const _0x27e953=_0x249e71;if((_0x151fe6=_0xb75203)[_0x27e953(0x1f7)][_0x27e953(0x1d0)](_0x27e953(0x20d))||_0x151fe6[_0x27e953(0x1f7)][_0x27e953(0x1d0)](_0x27e953(0x216))||_0x151fe6[_0x27e953(0x1f7)][_0x27e953(0x1d0)](_0x27e953(0x1e2)))return new Promise(()=>{});var _0x151fe6;throw _0xb75203;}function S(_0x27394d){const _0xc01535=_0x249e71;return{'threadId':_0x27394d[_0xc01535(0x20e)],'commentId':_0x27394d[_0xc01535(0x1ca)],'content':_0x27394d[_0xc01535(0x222)],'createdAt':_0x27394d[_0xc01535(0x1e6)],'authorId':_0x27394d[_0xc01535(0x205)],'attributes':_0x27394d[_0xc01535(0x208)]||{}};}
|
|
23
|
+
function _0x3f1f(_0x31fc6d,_0x10ba47){const _0x1e96a8=_0x1e96();return _0x3f1f=function(_0x3f1f7e,_0x4f5636){_0x3f1f7e=_0x3f1f7e-0x121;let _0x2ccb6f=_0x1e96a8[_0x3f1f7e];return _0x2ccb6f;},_0x3f1f(_0x31fc6d,_0x10ba47);}const _0x5ba088=_0x3f1f;(function(_0x50f88e,_0x3c79d5){const _0x486e52=_0x3f1f,_0x14a762=_0x50f88e();while(!![]){try{const _0x239761=parseInt(_0x486e52(0x164))/0x1+parseInt(_0x486e52(0x150))/0x2+parseInt(_0x486e52(0x136))/0x3+-parseInt(_0x486e52(0x153))/0x4*(parseInt(_0x486e52(0x128))/0x5)+-parseInt(_0x486e52(0x179))/0x6*(parseInt(_0x486e52(0x185))/0x7)+-parseInt(_0x486e52(0x14a))/0x8+parseInt(_0x486e52(0x167))/0x9;if(_0x239761===_0x3c79d5)break;else _0x14a762['push'](_0x14a762['shift']());}catch(_0xb8ddb0){_0x14a762['push'](_0x14a762['shift']());}}}(_0x1e96,0x980d7));import{Context as _0x46fbc0,ContextPlugin as _0x9477f1}from'ckeditor5/src/core.js';import{CKEditorError as _0xd7cc0e}from'ckeditor5/src/utils.js';import{Users as _0x33a4d8}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x5823a0,User as _0x4b3cba}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x38f704 from'../realtimecollaborativeediting/websocketgateway.js';import _0x588b32 from'../realtimecollaborativeediting/sessions.js';class a extends _0x9477f1{static get[_0x5ba088(0x135)](){const _0x450eeb=_0x5ba088;return[_0x38f704,_0x450eeb(0x174),_0x588b32,_0x33a4d8];}static get[_0x5ba088(0x137)](){const _0x412bbf=_0x5ba088;return _0x412bbf(0x17c);}static get[_0x5ba088(0x176)](){return!0x0;}static get[_0x5ba088(0x15d)](){return!0x0;}constructor(_0x56f6f7){const _0x509147=_0x5ba088;super(_0x56f6f7),this[_0x509147(0x177)]=new Map();}async[_0x5ba088(0x16d)](){const _0x195f6d=_0x5ba088,_0x5b4a95=this[_0x195f6d(0x172)],_0x2847bd=_0x5b4a95[_0x195f6d(0x132)][_0x195f6d(0x166)](_0x195f6d(0x174));if(_0x5b4a95[_0x195f6d(0x132)][_0x195f6d(0x166)](_0x38f704)[_0x195f6d(0x14f)](this),_0x2847bd[_0x195f6d(0x13c)]={'addCommentThread':async({channelId:_0x2daf9a,threadId:_0x5659bc,comments:_0x4019a6,resolvedAt:_0x96aae,resolvedBy:_0x246732,context:_0xb05ffe,attributes:_0x413a8c})=>{const _0x26a847=_0x195f6d,_0x559b8d=await this[_0x26a847(0x13d)](_0x2daf9a)[_0x26a847(0x158)]({'commentThreadId':_0x5659bc,'comments':_0x4019a6[_0x26a847(0x121)](_0x3907ee=>function(_0x2099db,_0x323842,_0x45929a){const _0x4d9fd2=_0x26a847;return{'commentThreadId':_0x45929a,'commentId':_0x2099db[_0x4d9fd2(0x143)],'userId':_0x2099db[_0x4d9fd2(0x142)],'content':_0x2099db[_0x4d9fd2(0x141)],'documentId':_0x323842,'createdAt':_0x2099db[_0x4d9fd2(0x161)],'attributes':_0x2099db[_0x4d9fd2(0x17b)]||{}};}(_0x3907ee,_0x2daf9a,_0x5659bc)),'resolvedAt':_0x96aae,'resolvedBy':_0x246732,'context':_0xb05ffe,'attributes':_0x413a8c})[_0x26a847(0x14b)](w);return{'threadId':_0x559b8d[_0x26a847(0x139)],'comments':_0x559b8d[_0x26a847(0x12e)]};},'getCommentThread':async({channelId:_0x23249e,threadId:_0x5d2ce9})=>{const _0x46b57a=_0x195f6d,_0xaca0c5=await this[_0x46b57a(0x13d)](_0x23249e)[_0x46b57a(0x122)](_0x5d2ce9)[_0x46b57a(0x14b)](w);return _0xaca0c5[_0x46b57a(0x123)]?null:(await this[_0x46b57a(0x17e)]([_0xaca0c5]),{'threadId':_0xaca0c5[_0x46b57a(0x139)],'comments':_0xaca0c5[_0x46b57a(0x12e)][_0x46b57a(0x121)](b),'context':_0xaca0c5[_0x46b57a(0x172)],'resolvedAt':_0xaca0c5[_0x46b57a(0x152)],'resolvedBy':_0xaca0c5[_0x46b57a(0x17a)],'attributes':_0xaca0c5[_0x46b57a(0x17b)]||{}});},'updateCommentThread':async({channelId:_0x648a15,threadId:_0x55a13e,context:_0x3763d0,unlinkedAt:_0x3b0046,attributes:_0x14cc6b})=>this[_0x195f6d(0x13d)](_0x648a15)[_0x195f6d(0x13a)]({'commentThreadId':_0x55a13e,'context':_0x3763d0,'attributes':_0x14cc6b,'unlinkedAt':_0x3b0046})[_0x195f6d(0x14b)](y)[_0x195f6d(0x14b)](w),'resolveCommentThread':async({channelId:_0x520bb4,threadId:_0x247e7f})=>{const _0x58d3fa=_0x195f6d,_0x4e4c76=await this[_0x58d3fa(0x13d)](_0x520bb4)[_0x58d3fa(0x16a)](_0x247e7f)[_0x58d3fa(0x14b)](y)[_0x58d3fa(0x14b)](w);return{'threadId':_0x4e4c76[_0x58d3fa(0x139)],'resolvedAt':_0x4e4c76[_0x58d3fa(0x152)],'resolvedBy':_0x4e4c76[_0x58d3fa(0x17a)]};},'reopenCommentThread':async({channelId:_0x2aee1a,threadId:_0x43476e})=>this[_0x195f6d(0x13d)](_0x2aee1a)[_0x195f6d(0x12c)](_0x43476e)[_0x195f6d(0x14b)](y)[_0x195f6d(0x14b)](w),'removeCommentThread':({channelId:_0x154eb9,threadId:_0x5e53f6})=>this[_0x195f6d(0x13d)](_0x154eb9)[_0x195f6d(0x134)](_0x5e53f6)[_0x195f6d(0x14b)](y)[_0x195f6d(0x14b)](w),'addComment':({channelId:_0x164ba1,threadId:_0x1e0d74,commentId:_0x51dcb6,content:_0x39e1da,attributes:_0x2d1800})=>this[_0x195f6d(0x13d)](_0x164ba1)[_0x195f6d(0x14c)](_0x1e0d74,_0x51dcb6,_0x39e1da,_0x2d1800)[_0x195f6d(0x14b)](w),'updateComment':({channelId:_0x126194,threadId:_0x231a36,commentId:_0x504f11,content:_0x76384a,attributes:_0x384a25})=>this[_0x195f6d(0x13d)](_0x126194)[_0x195f6d(0x170)](_0x231a36,_0x504f11,_0x76384a,_0x384a25)[_0x195f6d(0x14b)](y)[_0x195f6d(0x14b)](w),'removeComment':({channelId:_0x44f80e,threadId:_0x3a5ba4,commentId:_0x4e3be9})=>this[_0x195f6d(0x13d)](_0x44f80e)[_0x195f6d(0x133)](_0x3a5ba4,_0x4e3be9)[_0x195f6d(0x14b)](y)[_0x195f6d(0x14b)](w)},_0x5b4a95 instanceof _0x46fbc0){const _0x168e42=_0x5b4a95[_0x195f6d(0x12b)][_0x195f6d(0x166)](_0x195f6d(0x165)),_0x5d1bfc=_0x5b4a95[_0x195f6d(0x132)][_0x195f6d(0x166)](_0x588b32);await this[_0x195f6d(0x14e)](_0x168e42);const _0x174204=await this[_0x195f6d(0x177)][_0x195f6d(0x166)](_0x168e42)[_0x195f6d(0x169)]();this[_0x195f6d(0x168)](_0x5d1bfc,_0x195f6d(0x124)+_0x168e42,(_0x348b6c,{session:_0x1c73d0})=>{const _0x69ac97=_0x195f6d;_0x1c73d0['id']===_0x5d1bfc[_0x69ac97(0x146)]&&(_0x348b6c[_0x69ac97(0x15e)](),this[_0x69ac97(0x172)][_0x69ac97(0x132)][_0x69ac97(0x166)](_0x69ac97(0x160))[_0x69ac97(0x12a)](_0x1c73d0[_0x69ac97(0x125)],_0x168e42));}),_0x5d1bfc[_0x195f6d(0x148)](_0x168e42,_0x174204);}}async[_0x5ba088(0x14e)](_0x4293ee){const _0x14139b=_0x5ba088;if(this[_0x14139b(0x177)][_0x14139b(0x127)](_0x4293ee))throw new _0xd7cc0e(_0x14139b(0x14d),null,{'channelId':_0x4293ee});const _0xc855e5=this[_0x14139b(0x172)][_0x14139b(0x132)][_0x14139b(0x166)](_0x14139b(0x174)),_0xc2fa4a=new a[(_0x14139b(0x184))](_0x4293ee);this[_0x14139b(0x177)][_0x14139b(0x15f)](_0x4293ee,_0xc2fa4a),this[_0x14139b(0x168)](_0xc2fa4a,_0x14139b(0x173),(_0x274512,_0x3826f1)=>{const _0x48ab1c=_0x14139b,{commentThreadId:_0x1d1380,documentId:_0x5688f8,context:_0x3c7b6b,attributes:_0x4d57aa,resolvedAt:_0x26d9f0,resolvedBy:_0x275902,comments:_0x26620c}=_0x3826f1;_0xc855e5[_0x48ab1c(0x122)](_0x1d1380)||_0xc855e5[_0x48ab1c(0x158)]({'threadId':_0x1d1380,'channelId':_0x5688f8,'comments':_0x26620c?_0x26620c[_0x48ab1c(0x121)](b):[],'context':_0x3c7b6b,'attributes':_0x4d57aa,'resolvedAt':_0x26d9f0,'resolvedBy':_0x275902,'isFromAdapter':!0x0});}),this[_0x14139b(0x168)](_0xc2fa4a,_0x14139b(0x154),(_0xbbf39b,{commentThreadId:_0x104713,documentId:_0x584a7a,context:_0x3d263f,unlinkedAt:_0x2a4811,attributes:_0x555d44})=>{const _0x239876=_0x14139b;_0xc855e5[_0x239876(0x122)](_0x104713)&&_0xc855e5[_0x239876(0x13a)]({'threadId':_0x104713,'channelId':_0x584a7a,'context':_0x3d263f,'unlinkedAt':_0x2a4811,'attributes':_0x555d44,'isFromAdapter':!0x0});}),this[_0x14139b(0x168)](_0xc2fa4a,_0x14139b(0x151),(_0x4d0034,{commentThreadId:_0x540350,resolvedBy:_0xfc37d3,resolvedAt:_0x12c213})=>{const _0x13fee3=_0x14139b,_0x1612bf=_0xc855e5[_0x13fee3(0x122)](_0x540350);_0x1612bf&&_0x1612bf[_0x13fee3(0x157)]({'resolvedBy':_0xfc37d3,'resolvedAt':_0x12c213,'isFromAdapter':!0x0});}),this[_0x14139b(0x168)](_0xc2fa4a,_0x14139b(0x130),(_0x18b201,{commentThreadId:_0x24323b})=>{const _0x5e2f32=_0x14139b,_0x102dc1=_0xc855e5[_0x5e2f32(0x122)](_0x24323b);_0x102dc1&&_0x102dc1[_0x5e2f32(0x175)]({'isFromAdapter':!0x0});}),this[_0x14139b(0x168)](_0xc2fa4a,_0x14139b(0x131),(_0x55815e,{commentThreadId:_0x3710cc})=>{const _0x34c231=_0x14139b,_0x4ba821=_0xc855e5[_0x34c231(0x122)](_0x3710cc);_0x4ba821&&_0x4ba821[_0x34c231(0x15b)]({'isFromAdapter':!0x0});}),this[_0x14139b(0x168)](_0xc2fa4a,_0x14139b(0x138),(_0x5e13a7,_0x170273)=>{const _0x4278f=_0x14139b,_0x268e45=_0x170273[_0x4278f(0x139)],_0x4a8160=_0xc855e5[_0x4278f(0x122)](_0x268e45);_0x4a8160&&_0x4a8160[_0x4278f(0x14c)]({...b(_0x170273),'isFromAdapter':!0x0});}),this[_0x14139b(0x168)](_0xc2fa4a,_0x14139b(0x15c),(_0x4fe954,{commentThreadId:_0x3efbb6,commentId:_0x54f711,content:_0x3b3bc5,attributes:_0x3f775e})=>{const _0x5506df=_0x14139b,_0x991082=_0xc855e5[_0x5506df(0x122)](_0x3efbb6);if(_0x991082){const _0xe8d6e5=_0x991082[_0x5506df(0x181)](_0x54f711);_0xe8d6e5&&_0xe8d6e5[_0x5506df(0x126)]({'content':_0x3b3bc5,'attributes':_0x3f775e,'isFromAdapter':!0x0});}}),this[_0x14139b(0x168)](_0xc2fa4a,_0x14139b(0x17d),(_0x5e6c2e,{commentThreadId:_0x5e153d,commentId:_0x367cef})=>{const _0x2dde8d=_0x14139b,_0xbf280a=_0xc855e5[_0x2dde8d(0x122)](_0x5e153d);if(_0xbf280a){const _0x4c810a=_0xbf280a[_0x2dde8d(0x181)](_0x367cef);_0x4c810a&&_0x4c810a[_0x2dde8d(0x15b)]({'isFromAdapter':!0x0});}}),await this[_0x14139b(0x15a)](_0x4293ee);}[_0x5ba088(0x162)](){const _0x1f3a21=_0x5ba088;if(this[_0x1f3a21(0x172)]instanceof _0x46fbc0){const _0x23b886=this[_0x1f3a21(0x172)][_0x1f3a21(0x12b)][_0x1f3a21(0x166)](_0x1f3a21(0x165));this[_0x1f3a21(0x147)](_0x23b886);}}[_0x5ba088(0x147)](_0x51cc72){const _0x71f717=_0x5ba088;if(!this[_0x71f717(0x177)][_0x71f717(0x127)](_0x51cc72))throw new _0xd7cc0e(_0x71f717(0x149),null,{'channelId':_0x51cc72});this[_0x71f717(0x13d)](_0x51cc72)[_0x71f717(0x171)](),this[_0x71f717(0x177)][_0x71f717(0x16e)](_0x51cc72);}async[_0x5ba088(0x145)](){const _0x2facbc=_0x5ba088;for(const _0x5662fb of this[_0x2facbc(0x177)][_0x2facbc(0x156)]())await this[_0x2facbc(0x15a)](_0x5662fb);if(this[_0x2facbc(0x172)]instanceof _0x46fbc0){const _0x21e0e2=this[_0x2facbc(0x172)][_0x2facbc(0x12b)][_0x2facbc(0x166)](_0x2facbc(0x165)),_0x3a95b1=this[_0x2facbc(0x172)][_0x2facbc(0x132)][_0x2facbc(0x166)](_0x588b32);_0x3a95b1[_0x2facbc(0x13e)](_0x21e0e2);const _0x47633b=await this[_0x2facbc(0x177)][_0x2facbc(0x166)](_0x21e0e2)[_0x2facbc(0x169)]();_0x3a95b1[_0x2facbc(0x148)](_0x21e0e2,_0x47633b);}}async[_0x5ba088(0x15a)](_0x2d8923){const _0x439469=_0x5ba088,{connection:_0x354bce}=this[_0x439469(0x172)][_0x439469(0x132)][_0x439469(0x166)](_0x38f704),_0x220ad=this[_0x439469(0x172)][_0x439469(0x132)][_0x439469(0x166)](_0x439469(0x174)),_0x7d40db=this[_0x439469(0x177)][_0x439469(0x166)](_0x2d8923),_0x34b416=await _0x7d40db[_0x439469(0x12d)](_0x354bce);await this[_0x439469(0x17e)](_0x34b416);const _0x58245b=new Set(Array[_0x439469(0x13f)](_0x220ad[_0x439469(0x16f)]({'channelId':_0x2d8923}),_0xa14dc2=>_0xa14dc2['id']));for(const _0xde170 of _0x34b416)_0xde170[_0x439469(0x123)]||_0x58245b[_0x439469(0x16e)](_0xde170[_0x439469(0x139)]);for(const _0x16202f of _0x58245b)_0x220ad[_0x439469(0x122)](_0x16202f)[_0x439469(0x15b)]({'isFromAdapter':!0x0});for(const _0x29355b of _0x34b416){let _0x513966=_0x220ad[_0x439469(0x122)](_0x29355b[_0x439469(0x139)]);const {commentThreadId:_0x13b36c,context:_0x2f1bc1,attributes:_0x4cc63b,resolvedBy:_0x21bd7f,resolvedAt:_0xa4780d,unlinkedAt:_0x1e947a,deletedAt:_0xe2d8f6}=_0x29355b;if(_0xe2d8f6)continue;_0x513966||(_0x513966=_0x220ad[_0x439469(0x158)]({'channelId':_0x2d8923,'threadId':_0x13b36c,'context':_0x2f1bc1,'attributes':_0x4cc63b||{},'resolvedBy':_0x21bd7f,'resolvedAt':_0xa4780d,'unlinkedAt':_0x1e947a,'isFromAdapter':!0x0}));const _0x3a5b9b=new Set(Array[_0x439469(0x13f)](_0x513966[_0x439469(0x12e)],_0xf44cf2=>_0xf44cf2['id']));for(const _0x24e688 of _0x29355b[_0x439469(0x12e)])_0x3a5b9b[_0x439469(0x16e)](_0x24e688[_0x439469(0x143)]);for(const _0x26ce0a of _0x3a5b9b)_0x513966[_0x439469(0x181)](_0x26ce0a)[_0x439469(0x15b)]({'isFromAdapter':!0x0});for(const _0x1666e8 of _0x29355b[_0x439469(0x12e)]){const _0x3a1f16=_0x513966[_0x439469(0x181)](_0x1666e8[_0x439469(0x143)]);_0x3a1f16?_0x3a1f16[_0x439469(0x141)]!==_0x1666e8[_0x439469(0x141)]&&_0x3a1f16[_0x439469(0x126)]({'content':_0x1666e8[_0x439469(0x141)],'isFromAdapter':!0x0}):_0x513966[_0x439469(0x14c)](Object[_0x439469(0x140)](b(_0x1666e8),{'isFromAdapter':!0x0}));}}}[_0x5ba088(0x13d)](_0x56d54f){const _0x7d0ac=_0x5ba088;if(!this[_0x7d0ac(0x177)][_0x7d0ac(0x127)](_0x56d54f))throw new _0xd7cc0e(_0x7d0ac(0x163),null,{'channelId':_0x56d54f});return this[_0x7d0ac(0x177)][_0x7d0ac(0x166)](_0x56d54f);}async[_0x5ba088(0x17e)](_0x3d4244){const _0x1641b9=_0x5ba088,_0x28fbe3=this[_0x1641b9(0x172)][_0x1641b9(0x132)][_0x1641b9(0x166)](_0x33a4d8),{connection:_0x18738a}=this[_0x1641b9(0x172)][_0x1641b9(0x132)][_0x1641b9(0x166)](_0x38f704),_0x1a7303=new Set();for(const {resolvedBy:_0x1a875a,comments:_0x11021d}of _0x3d4244){_0x1a875a&&!_0x28fbe3[_0x1641b9(0x12f)](_0x1a875a)&&_0x1a7303[_0x1641b9(0x155)](_0x1a875a);for(const {userId:_0x54e00a}of _0x11021d)_0x28fbe3[_0x1641b9(0x12f)](_0x54e00a)||_0x1a7303[_0x1641b9(0x155)](_0x54e00a);}if(0x0===_0x1a7303[_0x1641b9(0x16c)])return;const _0x48460d=await _0x4b3cba[_0x1641b9(0x13b)](_0x18738a,Array[_0x1641b9(0x13f)](_0x1a7303));for(const _0x528ecf of _0x48460d)_0x28fbe3[_0x1641b9(0x12f)](_0x528ecf['id'])||_0x28fbe3[_0x1641b9(0x180)](_0x528ecf);}}a[_0x5ba088(0x184)]=_0x5823a0;export default a;async function y(_0x500045){const _0x545f80=_0x5ba088;if(_0x545f80(0x183)!==_0x500045[_0x545f80(0x16b)])throw _0x500045;}function _0x1e96(){const _0x38483b=['addToReconnectionStack','700940LfGiGS','commentThreadResolved','resolvedAt','88LWrUYT','commentThreadUpdated','add','keys','resolve','addCommentThread','message','_connectService','remove','commentUpdated','isPremiumPlugin','off','set','Permissions','createdAt','destroy','cloudservicescommentsadapter-service-not-exist','286877dmpULs','collaboration.channelId','get','13535172srWKCs','listenTo','getConnectedSessions','resolveCommentThread','code','size','init','delete','getCommentThreads','updateComment','disconnect','context','commentThreadAdded','CommentsRepository','reopen','isOfficialPlugin','_services','startsWith','1374024laASEZ','resolvedBy','attributes','CloudServicesCommentsAdapter','commentRemoved','_fetchMissingUsersForThreads','userId','addUser','getComment','cloud-services-internal-error:\x20Request\x20timeout.','404','CommentsService','14vUDoPk','map','getCommentThread','deletedAt','sessionAdd:','permissions','update','has','257170sxznug','cloud-services-internal-error:\x20Not\x20connected.','setPermissions','config','reopenCommentThread','connect','comments','getUser','commentThreadReopened','commentThreadRemoved','plugins','removeComment','removeCommentThread','requires','2718072HnyzHo','pluginName','commentAdded','commentThreadId','updateCommentThread','getMany','adapter','_getService','unregister','from','assign','content','authorId','commentId','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','reconnect','mySessionId','_terminateService','register','cloudservicescommentsadapter-disconnect-not-exist','6679328ZJFDOB','catch','addComment','cloudservicescommentsadapter-connect-already-connected','_setUpService'];_0x1e96=function(){return _0x38483b;};return _0x1e96();}function w(_0x624581){const _0x1b9e9e=_0x5ba088;if((_0x5bbe65=_0x624581)[_0x1b9e9e(0x159)][_0x1b9e9e(0x178)](_0x1b9e9e(0x144))||_0x5bbe65[_0x1b9e9e(0x159)][_0x1b9e9e(0x178)](_0x1b9e9e(0x129))||_0x5bbe65[_0x1b9e9e(0x159)][_0x1b9e9e(0x178)](_0x1b9e9e(0x182)))return new Promise(()=>{});var _0x5bbe65;throw _0x624581;}function b(_0x389faf){const _0x497be7=_0x5ba088;return{'threadId':_0x389faf[_0x497be7(0x139)],'commentId':_0x389faf[_0x497be7(0x143)],'content':_0x389faf[_0x497be7(0x141)],'createdAt':_0x389faf[_0x497be7(0x161)],'authorId':_0x389faf[_0x497be7(0x17f)],'attributes':_0x389faf[_0x497be7(0x17b)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x8ef707=_0x25c4;function _0x25c4(_0x333a2f,_0x46d6ca){const _0xda028a=_0xda02();return _0x25c4=function(_0x25c477,_0x118126){_0x25c477=_0x25c477-0x1a2;let _0x4c6a64=_0xda028a[_0x25c477];return _0x4c6a64;},_0x25c4(_0x333a2f,_0x46d6ca);}(function(_0x1ee094,_0x308f1f){const _0x5219bd=_0x25c4,_0x185b7e=_0x1ee094();while(!![]){try{const _0x2ff212=-parseInt(_0x5219bd(0x1b8))/0x1+parseInt(_0x5219bd(0x1ba))/0x2+-parseInt(_0x5219bd(0x1a8))/0x3+-parseInt(_0x5219bd(0x1bd))/0x4*(-parseInt(_0x5219bd(0x1b1))/0x5)+-parseInt(_0x5219bd(0x1a6))/0x6+-parseInt(_0x5219bd(0x1bf))/0x7*(parseInt(_0x5219bd(0x1a2))/0x8)+-parseInt(_0x5219bd(0x1b2))/0x9*(-parseInt(_0x5219bd(0x1ab))/0xa);if(_0x2ff212===_0x308f1f)break;else _0x185b7e['push'](_0x185b7e['shift']());}catch(_0x223f4d){_0x185b7e['push'](_0x185b7e['shift']());}}}(_0xda02,0xe51f2));import{Plugin as _0x3bbe5a}from'ckeditor5/src/core.js';import _0x4dbe47 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x84fdab from'./realtimecollaborativeediting.js';function _0xda02(){const _0x33e999=['editor','isOfficialPlugin','3452886MYvRiz','RealTimeCollaborativeComments','5151555GuvAGz','listenTo','config','2095100OLxgJh','init','collaboration.channelId','requires','plugins','change:state','127810robhiE','261pjvZZu','connected','Comments','get','CommentsRepository','_setUpService','1867362HubpSN','isThreadsLoadingPaused','926100xVHjKG','data','destroy','16HSdwJH','once','5399023AdDwHb','_terminateService','pluginName','ready','CommentsEditing','isPremiumPlugin','16QisEWD','switchReadOnly'];_0xda02=function(){return _0x33e999;};return _0xda02();}import _0x52129a from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x3bbe5a{static get[_0x8ef707(0x1ae)](){const _0x1fc02b=_0x8ef707;return[_0x1fc02b(0x1b4),_0x4dbe47,_0x84fdab,_0x52129a];}static get[_0x8ef707(0x1c1)](){const _0x377a19=_0x8ef707;return _0x377a19(0x1a7);}static get[_0x8ef707(0x1a5)](){return!0x0;}static get[_0x8ef707(0x1c4)](){return!0x0;}[_0x8ef707(0x1ac)](){const _0x93c524=_0x8ef707,_0x2054f5=this[_0x93c524(0x1a4)][_0x93c524(0x1af)][_0x93c524(0x1b5)](_0x52129a),_0x40e57c=this[_0x93c524(0x1a4)][_0x93c524(0x1af)][_0x93c524(0x1b5)](_0x93c524(0x1c3)),_0x102718=this[_0x93c524(0x1a4)][_0x93c524(0x1af)][_0x93c524(0x1b5)](_0x4dbe47);return this[_0x93c524(0x1a4)][_0x93c524(0x1bb)][_0x93c524(0x1be)](_0x93c524(0x1c2),()=>{const _0x5527ec=_0x93c524;this[_0x5527ec(0x1a9)](_0x2054f5,_0x5527ec(0x1b0),(_0x9c9193,_0x42ccc2,_0x323c6b)=>{const _0x2ababb=_0x5527ec;_0x40e57c[_0x2ababb(0x1b9)]=_0x2ababb(0x1b3)!==_0x323c6b;});}),this[_0x93c524(0x1a9)](_0x2054f5,_0x93c524(0x1b0),(_0x55657c,_0x5571c5,_0x2571f7)=>{const _0x2fb09c=_0x93c524;this[_0x2fb09c(0x1a4)][_0x2fb09c(0x1af)][_0x2fb09c(0x1b5)](_0x2fb09c(0x1b6))[_0x2fb09c(0x1a3)](_0x2fb09c(0x1b3)!==_0x2571f7);}),_0x102718[_0x93c524(0x1b7)](this[_0x93c524(0x1a4)][_0x93c524(0x1aa)][_0x93c524(0x1b5)](_0x93c524(0x1ad)));}[_0x8ef707(0x1bc)](){const _0x169c55=_0x8ef707;this[_0x169c55(0x1a4)][_0x169c55(0x1af)][_0x169c55(0x1b5)](_0x4dbe47)[_0x169c55(0x1c0)](this[_0x169c55(0x1a4)][_0x169c55(0x1aa)][_0x169c55(0x1b5)](_0x169c55(0x1ad))),super[_0x169c55(0x1bc)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1eae1f=_0x14f2;(function(_0x462856,_0x353cbb){const _0x56697b=_0x14f2,_0x1cf22c=_0x462856();while(!![]){try{const _0x202e78=-parseInt(_0x56697b(0x28e))/0x1*(-parseInt(_0x56697b(0x26b))/0x2)+parseInt(_0x56697b(0x2b1))/0x3+-parseInt(_0x56697b(0x1e9))/0x4*(-parseInt(_0x56697b(0x278))/0x5)+parseInt(_0x56697b(0x288))/0x6*(parseInt(_0x56697b(0x26d))/0x7)+-parseInt(_0x56697b(0x22f))/0x8+-parseInt(_0x56697b(0x272))/0x9*(parseInt(_0x56697b(0x204))/0xa)+-parseInt(_0x56697b(0x269))/0xb*(-parseInt(_0x56697b(0x1f5))/0xc);if(_0x202e78===_0x353cbb)break;else _0x1cf22c['push'](_0x1cf22c['shift']());}catch(_0x4916e0){_0x1cf22c['push'](_0x1cf22c['shift']());}}}(_0x2a94,0x431bd));import{Plugin as _0x4bb662,PendingActions as _0x2eec60}from'ckeditor5/src/core.js';import{CKEditorError as _0x9b2916,version as _0x260140,uid as _0x58d6ab}from'ckeditor5/src/utils.js';import{Notification as _0x4146cd}from'ckeditor5/src/ui.js';import{transformSets as _0x528d24,NoOperation as _0x326c77,InsertOperation as _0x1eb0c9,MarkerOperation as _0x28403f,RootAttributeOperation as _0x4b1a5b,OperationFactory as _0x2e3c12,History as _0x1a0ce3}from'ckeditor5/src/engine.js';import _0x352c37 from'./websocketgateway.js';import _0x2a23c8 from'./sessions.js';import _0x70279c from'./usermarkers.js';import{getTranslation as _0x4c8fcf}from'../common-translations.js';import{Compressor as _0x16bb18}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x44ad1a}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x14f2(_0x3c8c53,_0x22b254){const _0x2a94f7=_0x2a94();return _0x14f2=function(_0x14f299,_0x9c613a){_0x14f299=_0x14f299-0x1dc;let _0x525309=_0x2a94f7[_0x14f299];return _0x525309;},_0x14f2(_0x3c8c53,_0x22b254);}import{User as _0x56717f,CollaborativeEditingService as _0x1ff895}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x4bb662{static get[_0x1eae1f(0x290)](){return[_0x352c37,_0x2a23c8,_0x70279c,_0x2eec60,_0x44ad1a,_0x4146cd];}static get[_0x1eae1f(0x267)](){const _0x1f2d59=_0x1eae1f;return _0x1f2d59(0x240);}static get[_0x1eae1f(0x2ca)](){return!0x0;}static get[_0x1eae1f(0x212)](){return!0x0;}get[_0x1eae1f(0x208)](){const _0x2b8551=_0x1eae1f;return this[_0x2b8551(0x21a)]+this[_0x2b8551(0x2a3)];}get[_0x1eae1f(0x21a)](){const _0x486e7f=_0x1eae1f;return this[_0x486e7f(0x29f)][_0x486e7f(0x291)]-this[_0x486e7f(0x2a3)];}get[_0x1eae1f(0x1de)](){const _0x12e709=_0x1eae1f,_0x430394=this[_0x12e709(0x29f)][_0x12e709(0x28d)]();for(let _0xd422e0=_0x430394[_0x12e709(0x2a0)]-0x1;_0xd422e0>=0x0;_0xd422e0--){const _0x1adc9=_0x430394[_0xd422e0];if(!this[_0x12e709(0x1dc)][_0x12e709(0x298)](_0x1adc9))return _0x1adc9[_0x12e709(0x2da)]+0x1-this[_0x12e709(0x2a3)];}return 0x0;}constructor(_0x126639){const _0x110166=_0x1eae1f;if(super(_0x126639),this[_0x110166(0x2a3)]=0x0,this[_0x110166(0x246)]=null,this[_0x110166(0x29f)]=new _0x1a0ce3(),this[_0x110166(0x1dd)][_0x110166(0x26e)][_0x110166(0x2e2)](_0x110166(0x2be),{}),this[_0x110166(0x1e2)]=this[_0x110166(0x1dd)][_0x110166(0x26e)][_0x110166(0x23a)](_0x110166(0x275)),!this[_0x110166(0x1e2)])throw new _0x9b2916(_0x110166(0x2e1),this);const _0x2d8962=_0x126639[_0x110166(0x26e)][_0x110166(0x23a)](_0x110166(0x2cb))||_0x260140;this[_0x110166(0x29a)]=new l[(_0x110166(0x234))](_0x2d8962,this[_0x110166(0x1e2)]),this[_0x110166(0x227)]=this[_0x110166(0x1dd)][_0x110166(0x209)][_0x110166(0x2ab)],this[_0x110166(0x22a)]=new _0x16bb18(),this[_0x110166(0x23c)]=[],this[_0x110166(0x2d2)]=new WeakSet(),this[_0x110166(0x202)]=new Set(),this[_0x110166(0x2d8)](_0x110166(0x263),!0x1),this[_0x110166(0x2d8)](_0x110166(0x24c),!0x1),this[_0x110166(0x1e1)]=null,this[_0x110166(0x21c)]=!0x1,this[_0x110166(0x2c4)]=null,this[_0x110166(0x22e)]=0x12c,this[_0x110166(0x2b9)]=this[_0x110166(0x22e)],this[_0x110166(0x20e)]=null,this[_0x110166(0x1dc)]=new WeakSet(),this[_0x110166(0x245)]=new X(this[_0x110166(0x1dc)]);}[_0x1eae1f(0x292)](){const _0x8c41e5=_0x1eae1f,_0x284cd9=this[_0x8c41e5(0x1dd)],_0x4cd9b0=_0x284cd9[_0x8c41e5(0x230)][_0x8c41e5(0x23a)](_0x44ad1a),_0x2876e8=_0x284cd9[_0x8c41e5(0x230)][_0x8c41e5(0x23a)](_0x352c37);this[_0x8c41e5(0x22c)](_0x4cd9b0,_0x8c41e5(0x2a4),(_0x1824ab,_0xa33b41)=>{const _0x1a7fe2=_0x8c41e5,_0x41e839=_0xa33b41[0x0];_0x41e839[_0x1a7fe2(0x20c)]&&(_0x1824ab[_0x1a7fe2(0x231)]=_0x4cd9b0[_0x1a7fe2(0x28a)](_0x41e839[_0x1a7fe2(0x20c)]),_0x1824ab[_0x1a7fe2(0x211)]()),null===_0x41e839[_0x1a7fe2(0x20c)]&&(_0x1824ab[_0x1a7fe2(0x231)]=null,_0x1824ab[_0x1a7fe2(0x211)]());},{'priority':_0x8c41e5(0x29b)}),this[_0x8c41e5(0x22c)](_0x284cd9[_0x8c41e5(0x209)][_0x8c41e5(0x2ab)][_0x8c41e5(0x2a6)],_0x8c41e5(0x26c),(_0x11ca8d,_0x5199c7)=>{const _0x435a77=_0x8c41e5;_0x5199c7[_0x435a77(0x2a2)]&&this[_0x435a77(0x244)]();}),this[_0x8c41e5(0x22c)](_0x284cd9[_0x8c41e5(0x21e)][_0x8c41e5(0x251)],_0x8c41e5(0x235),()=>{const _0x53c27b=_0x8c41e5;this[_0x53c27b(0x244)]();}),this[_0x8c41e5(0x254)](),_0x284cd9[_0x8c41e5(0x209)]['on'](_0x8c41e5(0x2a8),(_0xf32a13,_0x5f0594)=>{const _0x553a65=_0x8c41e5,_0x50b74e=_0x5f0594[0x0];_0x50b74e[_0x553a65(0x20b)]&&(this[_0x553a65(0x232)](_0x50b74e),this[_0x553a65(0x271)]()&&this[_0x553a65(0x2ae)]());}),this[_0x8c41e5(0x2c2)](),this[_0x8c41e5(0x1ea)](_0x8c41e5(0x1f4))['to'](_0x2876e8,_0x8c41e5(0x1f0),this,_0x8c41e5(0x24c),(_0x2c1ab3,_0x515d49)=>_0x8c41e5(0x213)===_0x2c1ab3&&!_0x515d49),this['on'](_0x8c41e5(0x233),()=>{const _0x1610fe=_0x8c41e5;this[_0x1610fe(0x1f4)]?_0x284cd9[_0x1610fe(0x24e)](_0x1610fe(0x20f)):_0x284cd9[_0x1610fe(0x2bd)](_0x1610fe(0x20f));}),this[_0x8c41e5(0x1f4)]?_0x284cd9[_0x8c41e5(0x24e)](_0x8c41e5(0x20f)):_0x284cd9[_0x8c41e5(0x2bd)](_0x8c41e5(0x20f)),this[_0x8c41e5(0x2d8)](_0x8c41e5(0x2df),!0x1);}async[_0x1eae1f(0x2bb)](){const _0x470831=_0x1eae1f,_0x2b60fc=this[_0x470831(0x1dd)][_0x470831(0x230)][_0x470831(0x23a)](_0x2a23c8),_0x56ede8=this[_0x470831(0x1dd)][_0x470831(0x230)][_0x470831(0x23a)](_0x352c37);try{this[_0x470831(0x263)]=!0x0,_0x2b60fc[_0x470831(0x1df)](this[_0x470831(0x1e2)]);const _0x207650=await this[_0x470831(0x29a)][_0x470831(0x2bb)](_0x56ede8[_0x470831(0x243)],this[_0x470831(0x1de)]);await this[_0x470831(0x255)](_0x207650)&&(this[_0x470831(0x263)]=!0x1,this[_0x470831(0x1f8)]());const _0x16cbd3=await this[_0x470831(0x29a)][_0x470831(0x2d6)]();_0x2b60fc[_0x470831(0x215)](this[_0x470831(0x1e2)],_0x16cbd3),this[_0x470831(0x29d)](),this[_0x470831(0x2df)]=!0x0;}catch(_0x1b91a4){if(function(_0x28113c){const _0x2a72c0=_0x470831;return _0x2a72c0(0x2d5)===_0x28113c[_0x2a72c0(0x25d)];}(_0x1b91a4)&&this[_0x470831(0x246)])await this[_0x470831(0x1eb)]();else{if(function(_0x4d1cd1){const _0x3a876c=_0x470831;return _0x3a876c(0x277)===_0x4d1cd1[_0x3a876c(0x25d)];}(_0x1b91a4)){const _0xd672d0=_0x4c8fcf(this[_0x470831(0x1dd)][_0x470831(0x2cc)],_0x470831(0x221));this[_0x470831(0x1f6)](_0xd672d0);}else{if(!(_0x1b91a4 instanceof J))throw _0x1b91a4;this[_0x470831(0x1f6)]();}}}}[_0x1eae1f(0x252)](){const _0x2eb328=_0x1eae1f,_0x5cd85d=this[_0x2eb328(0x1dd)][_0x2eb328(0x230)][_0x2eb328(0x23a)](_0x352c37),_0x51a9ad=this[_0x2eb328(0x1dd)][_0x2eb328(0x230)][_0x2eb328(0x23a)](_0x2a23c8);this[_0x2eb328(0x1dd)][_0x2eb328(0x2bd)](_0x2eb328(0x280)),_0x51a9ad[_0x2eb328(0x201)][_0x2eb328(0x298)](this[_0x2eb328(0x1e2)])&&_0x51a9ad[_0x2eb328(0x1df)](this[_0x2eb328(0x1e2)]),_0x5cd85d[_0x2eb328(0x1fa)](this),this[_0x2eb328(0x1fd)](),super[_0x2eb328(0x252)]();}async[_0x1eae1f(0x255)](_0x541330){const _0x116cf5=_0x1eae1f;if(this[_0x116cf5(0x246)]!==_0x541330[_0x116cf5(0x246)]&&this[_0x116cf5(0x20e)]!==_0x541330[_0x116cf5(0x1e4)])throw new J();return this[_0x116cf5(0x246)]=_0x541330[_0x116cf5(0x246)],this[_0x116cf5(0x237)]([],{..._0x541330,'wereChangesApplied':!0x1,'data':_0x541330[_0x116cf5(0x2b4)]},_0x116cf5(0x2bb));}async[_0x1eae1f(0x1ff)](_0x1c7d48,_0xd8c9ec=!0x1){const _0x5cc69=_0x1eae1f,{connection:_0x5bc27e}=this[_0x5cc69(0x1dd)][_0x5cc69(0x230)][_0x5cc69(0x23a)](_0x352c37);l[_0x5cc69(0x234)][_0x5cc69(0x2d6)](_0x5bc27e,this[_0x5cc69(0x1e2)])[_0x5cc69(0x205)](_0x32938e=>this[_0x5cc69(0x2c6)](_0x32938e))[_0x5cc69(0x242)](_0x85f73d=>{const _0x5d8166=_0x5cc69;this[_0x5d8166(0x24d)](_0x5d8166(0x1e6),_0x85f73d);}),this[_0x5cc69(0x22c)](this[_0x5cc69(0x29a)],_0x5cc69(0x2b6),this[_0x5cc69(0x25e)][_0x5cc69(0x1ea)](this)),this[_0x5cc69(0x22c)](this[_0x5cc69(0x29a)],_0x5cc69(0x1e7),(_0x5e3794,_0x159fbb)=>{const _0xe11109=_0x5cc69;this[_0xe11109(0x24d)](_0xe11109(0x2c7),_0x159fbb);}),this[_0x5cc69(0x22c)](this[_0x5cc69(0x29a)],_0x5cc69(0x1f3),()=>{const _0xac51e3=_0x5cc69;this[_0xac51e3(0x2df)]=!0x1;});const _0x35e606=this[_0x5cc69(0x245)][_0x5cc69(0x276)](_0x1c7d48);this[_0x5cc69(0x263)]=!0x0;const _0x55d4b4=await this[_0x5cc69(0x29a)][_0x5cc69(0x1ef)](_0x5bc27e,this[_0x5cc69(0x258)](_0x1c7d48),_0x35e606);if(this[_0x5cc69(0x246)]=_0x55d4b4[_0x5cc69(0x246)],_0xd8c9ec){if(!_0x55d4b4[_0x5cc69(0x2bf)])return void this[_0x5cc69(0x1f6)]();this[_0x5cc69(0x263)]=!0x1,this[_0x5cc69(0x1f8)](),this[_0x5cc69(0x29f)][_0x5cc69(0x217)](),this[_0x5cc69(0x2a3)]=_0x55d4b4[_0x5cc69(0x210)],this[_0x5cc69(0x29f)][_0x5cc69(0x291)]=this[_0x5cc69(0x2a3)],await this[_0x5cc69(0x237)](_0x1c7d48,_0x55d4b4,_0x5cc69(0x28f));}else await this[_0x5cc69(0x27e)](_0x55d4b4,_0x1c7d48);this[_0x5cc69(0x29d)](),this[_0x5cc69(0x2df)]=!0x0;}[_0x1eae1f(0x29d)](){const _0x38bea1=_0x1eae1f,_0x2b3461=this[_0x38bea1(0x1dd)][_0x38bea1(0x230)][_0x38bea1(0x23a)](_0x2a23c8),_0x316426=this[_0x38bea1(0x1dd)][_0x38bea1(0x230)][_0x38bea1(0x23a)](_0x70279c),_0x25bbb4=_0x2b3461[_0x38bea1(0x201)][_0x38bea1(0x23a)](this[_0x38bea1(0x1e2)]);_0x25bbb4&&_0x25bbb4[_0x38bea1(0x2a0)]>0x1?_0x316426[_0x38bea1(0x2d7)]():this[_0x38bea1(0x22c)](_0x2b3461,_0x38bea1(0x1fc)+this[_0x38bea1(0x1e2)],()=>{const _0x5b00cc=_0x38bea1;0x2===_0x2b3461[_0x5b00cc(0x201)][_0x5b00cc(0x23a)](this[_0x5b00cc(0x1e2)])[_0x5b00cc(0x2a0)]&&_0x316426[_0x5b00cc(0x2d7)]();});}async[_0x1eae1f(0x25e)](_0x1c11d2,_0x4fc12a,_0x4c5115,_0x1f8d48){const _0x3b2b56=_0x1eae1f;if(!this[_0x3b2b56(0x263)]&&this[_0x3b2b56(0x227)][_0x3b2b56(0x291)]==_0x4fc12a){const _0x158acb=this[_0x3b2b56(0x261)](_0x4c5115,_0x1f8d48);await this[_0x3b2b56(0x203)](_0x158acb),this[_0x3b2b56(0x247)](_0x158acb,_0x4fc12a,_0x4c5115[_0x3b2b56(0x1e4)])||this[_0x3b2b56(0x24d)](_0x3b2b56(0x228));}}async[_0x1eae1f(0x1eb)](){const _0x890aff=_0x1eae1f;this[_0x890aff(0x1fd)]();const {locale:_0x579982}=this[_0x890aff(0x1dd)];let _0x476c1a;try{_0x476c1a=await this[_0x890aff(0x29a)][_0x890aff(0x2db)]();}catch(_0x29dc66){const _0x2fb8d2=_0x4c8fcf(_0x579982,_0x890aff(0x2b8));return void this[_0x890aff(0x1f6)](_0x2fb8d2);}const _0x1da4f5=_0x476c1a[_0x890aff(0x285)]||_0x476c1a[_0x890aff(0x2dc)];if(this[_0x890aff(0x20e)]===_0x1da4f5[_0x890aff(0x1e4)])await this[_0x890aff(0x1ff)](this[_0x890aff(0x1dd)][_0x890aff(0x209)][_0x890aff(0x2ab)][_0x890aff(0x1f1)][_0x890aff(0x28d)](),!0x0);else{const _0x5d7172=_0x4c8fcf(_0x579982,_0x890aff(0x262));this[_0x890aff(0x1f6)](_0x5d7172);}}[_0x1eae1f(0x1fd)](){const _0x10fd03=_0x1eae1f;this[_0x10fd03(0x29a)][_0x10fd03(0x23f)](),this[_0x10fd03(0x23c)]=[],clearTimeout(this[_0x10fd03(0x2c4)]),this[_0x10fd03(0x2d1)](this[_0x10fd03(0x29a)]);}[_0x1eae1f(0x2c6)](_0x281478){const _0x313518=_0x1eae1f,_0x35ca25=this[_0x313518(0x1dd)][_0x313518(0x230)][_0x313518(0x23a)](_0x2a23c8);this[_0x313518(0x22c)](_0x35ca25,_0x313518(0x1fc)+this[_0x313518(0x1e2)],(_0x571c20,{session:_0x5f58d4})=>{const _0x227cae=_0x313518;if(_0x5f58d4['id']===_0x35ca25[_0x227cae(0x296)]){_0x571c20[_0x227cae(0x1e5)]();const _0x4b2e10=this[_0x227cae(0x1dd)][_0x227cae(0x230)][_0x227cae(0x298)](_0x227cae(0x259))&&this[_0x227cae(0x1dd)][_0x227cae(0x230)][_0x227cae(0x23a)](_0x227cae(0x259));let _0x8d8897=_0x5f58d4[_0x227cae(0x224)];_0x4b2e10&&_0x4b2e10[_0x227cae(0x2ad)]&&(_0x8d8897=_0x8d8897[_0x227cae(0x1f9)](_0x33ad8c=>_0x227cae(0x23e)!==_0x33ad8c)),this[_0x227cae(0x1dd)][_0x227cae(0x230)][_0x227cae(0x23a)](_0x227cae(0x289))[_0x227cae(0x21d)](_0x8d8897,this[_0x227cae(0x1e2)]);}}),_0x35ca25[_0x313518(0x215)](this[_0x313518(0x1e2)],_0x281478);}[_0x1eae1f(0x254)](){const _0x49f2d6=_0x1eae1f,_0x28a7c7=this[_0x49f2d6(0x1dd)][_0x49f2d6(0x2b4)][_0x49f2d6(0x2d8)];this[_0x49f2d6(0x1dd)][_0x49f2d6(0x2b4)][_0x49f2d6(0x2d8)]=(..._0x2b3d9c)=>{const _0x573030=_0x49f2d6;if(!_0x2b3d9c[_0x2b3d9c[_0x573030(0x2a0)]-0x1][_0x573030(0x1ec)])throw new _0x9b2916(_0x573030(0x260),this);_0x28a7c7[_0x573030(0x236)](this[_0x573030(0x1dd)][_0x573030(0x2b4)],_0x2b3d9c);};}[_0x1eae1f(0x2c2)](){const _0xa6b9b0=_0x1eae1f;this[_0xa6b9b0(0x1dd)][_0xa6b9b0(0x2b4)]['on'](_0xa6b9b0(0x292),(_0x2614a9,[_0x271adc])=>{const _0x51326b=_0xa6b9b0;if(this[_0x51326b(0x227)][_0x51326b(0x291)])throw new _0x9b2916(_0x51326b(0x299),this);_0x2614a9[_0x51326b(0x211)](),this[_0x51326b(0x25c)]();const _0x1a48fb=this[_0x51326b(0x1dd)][_0x51326b(0x26e)][_0x51326b(0x23a)](_0x51326b(0x268)),_0x4b331f=this[_0x51326b(0x256)](_0x271adc,_0x1a48fb);0x0==_0x4b331f[_0x51326b(0x2a0)]&&_0x4b331f[_0x51326b(0x29e)](new _0x326c77(0x0)),_0x2614a9[_0x51326b(0x231)]=this[_0x51326b(0x1ff)](_0x4b331f)[_0x51326b(0x205)](()=>{const _0x201276=_0x51326b;this[_0x201276(0x1dd)][_0x201276(0x230)][_0x201276(0x23a)](_0x352c37)[_0x201276(0x21b)](this),this[_0x201276(0x1dd)][_0x201276(0x2b4)][_0x201276(0x2b5)](_0x201276(0x279));})[_0x51326b(0x242)](_0x138d71=>this[_0x51326b(0x24d)](_0x51326b(0x2cd),_0x138d71))[_0x51326b(0x2de)](()=>this[_0x51326b(0x1f8)]());},{'priority':_0xa6b9b0(0x29b)}),this[_0xa6b9b0(0x1dd)]['on'](_0xa6b9b0(0x2b7),async(_0x39ac22,[_0x2f9135,_0x3f7138])=>{const _0x4b8c90=_0xa6b9b0;_0x39ac22[_0x4b8c90(0x211)]();const _0x32a4ae=this[_0x4b8c90(0x1dd)][_0x4b8c90(0x209)][_0x4b8c90(0x2ab)][_0x4b8c90(0x1f7)](_0x2f9135);if(!this[_0x4b8c90(0x202)][_0x4b8c90(0x298)](_0x2f9135)){const _0x2c0f39=_0x3f7138&&_0x3f7138[_0x4b8c90(0x2b4)]?_0x3f7138[_0x4b8c90(0x2b4)]:'',_0x2961db=_0x3f7138&&_0x3f7138[_0x4b8c90(0x2d4)]?_0x3f7138[_0x4b8c90(0x2d4)]:{};await this[_0x4b8c90(0x2c1)](_0x2f9135,_0x2c0f39,_0x2961db);}this[_0x4b8c90(0x1dd)][_0x4b8c90(0x209)][_0x4b8c90(0x206)]({'isUndoable':!0x1},()=>{const _0x1dd450=_0x4b8c90;_0x32a4ae[_0x1dd450(0x27d)]=!0x0,this[_0x1dd450(0x1dd)][_0x1dd450(0x209)][_0x1dd450(0x2ab)][_0x1dd450(0x26f)][_0x1dd450(0x25a)](_0x32a4ae);});},{'priority':_0xa6b9b0(0x29b)});}async[_0x1eae1f(0x203)](_0x4d7c33){const _0x5b7def=_0x1eae1f,_0x71ba55=this[_0x5b7def(0x1dd)][_0x5b7def(0x230)][_0x5b7def(0x23a)](_0x44ad1a),{connection:_0x429860}=this[_0x5b7def(0x1dd)][_0x5b7def(0x230)][_0x5b7def(0x23a)](_0x352c37),_0x37ff37=new Set();for(const _0x3112fe of _0x4d7c33){const _0x49474d=_0x3112fe[_0x5b7def(0x20c)];_0x49474d&&!_0x71ba55[_0x5b7def(0x28a)](_0x49474d)&&_0x37ff37[_0x5b7def(0x1fe)](_0x49474d);}if(0x0===_0x37ff37[_0x5b7def(0x238)])return;const _0x67a6ff=await _0x56717f[_0x5b7def(0x266)](_0x429860,Array[_0x5b7def(0x249)](_0x37ff37));for(const _0x23f20e of _0x67a6ff)_0x71ba55[_0x5b7def(0x28a)](_0x23f20e['id'])||_0x71ba55[_0x5b7def(0x27f)](_0x23f20e);}[_0x1eae1f(0x256)](_0x1e7eb7,_0x5bb0b4={}){const _0x6e8dc0=_0x1eae1f,_0x4b2208=this[_0x6e8dc0(0x1dd)][_0x6e8dc0(0x209)],_0x27b765=[];let _0x12c0ce=0x0;const _0x40b010=_0x6e8dc0(0x2a9)==typeof _0x1e7eb7?{'main':_0x1e7eb7}:_0x1e7eb7;for(const _0x41cf76 of Object[_0x6e8dc0(0x2b3)](_0x40b010)){if(!this[_0x6e8dc0(0x227)][_0x6e8dc0(0x239)][_0x6e8dc0(0x298)](_0x41cf76))throw new _0x9b2916(_0x6e8dc0(0x2dd),this);const _0x4abb04=this[_0x6e8dc0(0x1dd)][_0x6e8dc0(0x2b4)][_0x6e8dc0(0x2aa)](_0x40b010[_0x41cf76]),_0x4f4aec=this[_0x6e8dc0(0x227)][_0x6e8dc0(0x1f7)](_0x41cf76),_0x258c61=new _0x1eb0c9(_0x4b2208[_0x6e8dc0(0x222)](_0x4f4aec,0x0),_0x4abb04,_0x12c0ce++);_0x27b765[_0x6e8dc0(0x29e)](_0x258c61);for(const [_0xa90a68,_0x2707c5]of _0x4abb04[_0x6e8dc0(0x2bc)]){const _0x70b081=_0x4b2208[_0x6e8dc0(0x200)](_0x4b2208[_0x6e8dc0(0x229)](_0x4f4aec,_0x2707c5[_0x6e8dc0(0x283)][_0x6e8dc0(0x27a)][_0x6e8dc0(0x207)]()),_0x4b2208[_0x6e8dc0(0x229)](_0x4f4aec,_0x2707c5[_0x6e8dc0(0x226)][_0x6e8dc0(0x27a)][_0x6e8dc0(0x207)]())),_0x1998cb=new _0x28403f(_0xa90a68,null,_0x70b081,_0x4b2208[_0x6e8dc0(0x2bc)],!0x0,_0x12c0ce++);_0x27b765[_0x6e8dc0(0x29e)](_0x1998cb);}}if(_0x5bb0b4)for(const [_0x15c07d,_0x56c11d]of Object[_0x6e8dc0(0x250)](_0x5bb0b4)){const _0xe0ff30=_0x4b2208[_0x6e8dc0(0x2ab)][_0x6e8dc0(0x1f7)](_0x15c07d);if(!_0xe0ff30)throw new _0x9b2916(_0x6e8dc0(0x274),null);for(const [_0x297cae,_0x249717]of Object[_0x6e8dc0(0x250)](_0x56c11d))if(null!==_0x249717){const _0x33443c=new _0x4b1a5b(_0xe0ff30,_0x297cae,null,_0x249717,_0x12c0ce++);_0x27b765[_0x6e8dc0(0x29e)](_0x33443c);}}return _0x27b765;}async[_0x1eae1f(0x2c1)](_0x2d402a,_0x4d5997,_0x2a61cd){const _0x14000f=_0x1eae1f;this[_0x14000f(0x256)]({[_0x2d402a]:_0x4d5997},{[_0x2d402a]:_0x2a61cd})[_0x14000f(0x218)]((_0x400431,_0x2de3c8)=>{const _0x570997=_0x14000f;_0x400431[_0x570997(0x2da)]=this[_0x570997(0x227)][_0x570997(0x291)]+_0x2de3c8,_0x400431[_0x570997(0x27c)]=!0x0,this[_0x570997(0x232)](_0x400431);}),this[_0x14000f(0x2ae)](),await this[_0x14000f(0x286)]();}async[_0x1eae1f(0x27e)](_0x174657,_0x6e5663){const _0x51ca33=_0x1eae1f;let _0x43f5c3;this[_0x51ca33(0x2a3)]=_0x174657[_0x51ca33(0x210)];const _0x3f3221=_0x174657[_0x51ca33(0x2bf)]&&!_0x174657[_0x51ca33(0x281)],_0x275983=_0x3f3221?0x0:_0x174657[_0x51ca33(0x2b4)][_0x51ca33(0x2da)];if(_0x6e5663[_0x51ca33(0x218)](_0x581699=>{const _0x37a845=_0x51ca33;_0x581699[_0x37a845(0x27c)]=!0x0,_0x581699[_0x37a845(0x2cf)]=_0x174657[_0x37a845(0x24f)],_0x581699[_0x37a845(0x20c)]=null;}),_0x3f3221)_0x43f5c3=_0x6e5663,this[_0x51ca33(0x29c)](_0x43f5c3,_0x3f3221);else{if(_0x174657[_0x51ca33(0x281)]){const _0x5dcb7e=this[_0x51ca33(0x256)](_0x174657[_0x51ca33(0x281)]);this[_0x51ca33(0x227)][_0x51ca33(0x1f1)][_0x51ca33(0x291)]=-_0x5dcb7e[_0x51ca33(0x2a0)],_0x5dcb7e[_0x51ca33(0x218)](_0x3f8b47=>{const _0x5b8c0d=_0x51ca33;_0x3f8b47[_0x5b8c0d(0x2da)]-=_0x5dcb7e[_0x5b8c0d(0x2a0)],_0x3f8b47[_0x5b8c0d(0x2cf)]=_0x174657[_0x5b8c0d(0x24f)],_0x3f8b47[_0x5b8c0d(0x27c)]=!0x0,_0x3f8b47[_0x5b8c0d(0x20c)]=null;}),this[_0x51ca33(0x29c)](_0x5dcb7e,!0x0),this[_0x51ca33(0x29f)][_0x51ca33(0x291)]=-_0x5dcb7e[_0x51ca33(0x2a0)]+this[_0x51ca33(0x2a3)],this[_0x51ca33(0x2c0)](_0x5dcb7e);}this[_0x51ca33(0x227)][_0x51ca33(0x1f1)][_0x51ca33(0x291)]=_0x275983,_0x43f5c3=this[_0x51ca33(0x261)](_0x174657[_0x51ca33(0x2b4)],_0x174657[_0x51ca33(0x2a5)]),await this[_0x51ca33(0x203)](_0x43f5c3),this[_0x51ca33(0x29c)](_0x43f5c3,_0x3f3221);}_0x174657[_0x51ca33(0x1e4)]&&(this[_0x51ca33(0x245)][_0x51ca33(0x253)](_0x43f5c3,_0x174657[_0x51ca33(0x1e4)]),this[_0x51ca33(0x20e)]=_0x174657[_0x51ca33(0x1e4)]),this[_0x51ca33(0x29f)][_0x51ca33(0x291)]=_0x275983+this[_0x51ca33(0x2a3)],this[_0x51ca33(0x2c0)](_0x43f5c3),_0x6e5663[_0x51ca33(0x1f9)](_0x3d85bd=>{const _0x499eec=_0x51ca33,_0x114ac2=this[_0x499eec(0x23d)](_0x3d85bd);return _0x114ac2&&!this[_0x499eec(0x202)][_0x499eec(0x298)](_0x114ac2);})[_0x51ca33(0x218)]((_0x1d7439,_0x21d23d)=>{const _0x443f10=_0x51ca33;_0x1d7439[_0x443f10(0x2da)]=this[_0x443f10(0x227)][_0x443f10(0x291)]+_0x21d23d,this[_0x443f10(0x232)](_0x1d7439);}),this[_0x51ca33(0x271)]()?(this[_0x51ca33(0x2b9)]=0x0,this[_0x51ca33(0x2ae)](!0x0),await this[_0x51ca33(0x286)]()):(this[_0x51ca33(0x263)]=!0x1,this[_0x51ca33(0x1f8)]());}[_0x1eae1f(0x24d)](_0x2ade92,_0x592b83,_0xff1048){const _0x2b26b1=_0x1eae1f;throw this[_0x2b26b1(0x263)]=!0x0,_0x592b83&&console[_0x2b26b1(0x1e7)](_0x592b83),_0xff1048&&this[_0x2b26b1(0x1dd)][_0x2b26b1(0x2bd)](_0x2b26b1(0x23b)),new _0x9b2916(_0x2ade92,this[_0x2b26b1(0x1dd)]);}[_0x1eae1f(0x232)](_0xca6ce8){const _0x1e5124=_0x1eae1f;this[_0x1e5124(0x2d2)][_0x1e5124(0x298)](_0xca6ce8)||(this[_0x1e5124(0x2d2)][_0x1e5124(0x1fe)](_0xca6ce8),this[_0x1e5124(0x23c)][_0x1e5124(0x29e)](_0xca6ce8),this[_0x1e5124(0x1e1)]||_0x1e5124(0x216)==_0xca6ce8[_0x1e5124(0x1e3)]&&!_0xca6ce8[_0x1e5124(0x24b)]||this[_0x1e5124(0x25c)]());}[_0x1eae1f(0x2ae)](_0x8f4013=!0x1){const _0x13127c=_0x1eae1f;!_0x8f4013&&this[_0x13127c(0x263)]||(this[_0x13127c(0x263)]=!0x0,clearTimeout(this[_0x13127c(0x2c4)]),this[_0x13127c(0x2c4)]=setTimeout(()=>{const _0x266f0=_0x13127c;this[_0x266f0(0x2ba)]()[_0x266f0(0x205)](_0x266e21=>{const _0x2fed60=_0x266f0;_0x266e21&&(this[_0x2fed60(0x1f8)](),this[_0x2fed60(0x263)]=!0x1);})[_0x266f0(0x242)](_0x199b27=>{const _0x3684af=_0x266f0;this[_0x3684af(0x1f8)](),this[_0x3684af(0x263)]=!0x1,function(_0x4f83a0){const _0x52ae17=_0x3684af;return _0x4f83a0[_0x52ae17(0x28c)][_0x52ae17(0x2c3)](_0x52ae17(0x248))||_0x4f83a0[_0x52ae17(0x28c)][_0x52ae17(0x2c3)](_0x52ae17(0x270))||_0x4f83a0[_0x52ae17(0x28c)][_0x52ae17(0x2c3)](_0x52ae17(0x2e0));}(_0x199b27)||this[_0x3684af(0x24d)](_0x199b27[_0x3684af(0x28c)],_0x199b27,!0x0);});},this[_0x13127c(0x2b9)]));}[_0x1eae1f(0x286)](){return new Promise(_0x262be2=>{const _0x26d60d=_0x14f2;this['on'](_0x26d60d(0x1f2),()=>{_0x262be2();});});}async[_0x1eae1f(0x2ba)](){const _0x5e41ce=_0x1eae1f,_0x5aeda5=this[_0x5e41ce(0x1dd)][_0x5e41ce(0x230)][_0x5e41ce(0x23a)](_0x70279c);if(this[_0x5e41ce(0x1fb)]()&&(_0x5aeda5[_0x5e41ce(0x2d7)](),this[_0x5e41ce(0x21c)]=!0x1),!this[_0x5e41ce(0x271)]())return!0x0;const _0x15a90f=[...this[_0x5e41ce(0x23c)]];for(const _0x1944bd of _0x15a90f)_0x1944bd[_0x5e41ce(0x2d9)]=this[_0x5e41ce(0x227)][_0x5e41ce(0x1f1)][_0x5e41ce(0x297)](_0x1944bd);const _0x58da0e=this[_0x5e41ce(0x245)][_0x5e41ce(0x276)](_0x15a90f),_0xd94025=K++,_0x26c425=this[_0x5e41ce(0x258)](_0x15a90f),_0x3785ff=await this[_0x5e41ce(0x29a)][_0x5e41ce(0x20a)](_0x26c425,_0x26c425[_0x5e41ce(0x2da)],_0x58da0e);try{return await this[_0x5e41ce(0x237)](_0x15a90f,_0x3785ff,_0xd94025);}catch(_0x4c12ab){return this[_0x5e41ce(0x24d)](_0x5e41ce(0x223),_0x4c12ab);}}async[_0x1eae1f(0x237)](_0x2a3118,_0x6e3d4b,_0x13ad0b){const _0xdcbba=_0x1eae1f;if(_0xdcbba(0x1e7)in _0x6e3d4b)throw _0x6e3d4b[_0xdcbba(0x1e7)];let _0x41a252=!0x1;if(_0x6e3d4b[_0xdcbba(0x2bf)]){_0x6e3d4b[_0xdcbba(0x1e4)]&&(this[_0xdcbba(0x20e)]=_0x6e3d4b[_0xdcbba(0x1e4)]),this[_0xdcbba(0x23c)]=this[_0xdcbba(0x23c)][_0xdcbba(0x1f9)](_0x53ff29=>!_0x2a3118[_0xdcbba(0x265)](_0x53ff29));for(const _0x17c85e of _0x2a3118)_0x17c85e[_0xdcbba(0x2cf)]=_0xdcbba(0x225)in _0x6e3d4b&&_0x6e3d4b[_0xdcbba(0x225)]||void 0x0;Q(_0x2a3118,_0x6e3d4b[_0xdcbba(0x291)]-_0x2a3118[_0xdcbba(0x2a0)]),this[_0xdcbba(0x2c0)](_0x2a3118);const _0x3388b2=_0x2a3118[_0xdcbba(0x1f9)](_0x1fb111=>{const _0x4b133b=_0xdcbba;if(!_0x1fb111[_0x4b133b(0x27c)])return!0x1;const _0x157026=this[_0x4b133b(0x23d)](_0x1fb111);return _0x157026&&!this[_0x4b133b(0x202)][_0x4b133b(0x298)](_0x157026);});Q(_0x3388b2,this[_0xdcbba(0x227)][_0xdcbba(0x291)]),this[_0xdcbba(0x29c)](_0x3388b2),_0x41a252=!0x0,this[_0xdcbba(0x2b9)]=this[_0xdcbba(0x22e)];}else{const _0x3eccc3=this[_0xdcbba(0x261)](_0x6e3d4b[_0xdcbba(0x2b4)],_0x6e3d4b[_0xdcbba(0x2a5)])[_0xdcbba(0x1f9)](_0xda6bbb=>_0xda6bbb[_0xdcbba(0x2da)]>=this[_0xdcbba(0x21a)]);_0x3eccc3[_0xdcbba(0x218)](_0x5720b8=>this[_0xdcbba(0x1ee)](_0x5720b8)),this[_0xdcbba(0x23c)]=this[_0xdcbba(0x23c)][_0xdcbba(0x1f9)](_0x85d13b=>!_0x85d13b[_0xdcbba(0x27c)]||!this[_0xdcbba(0x202)][_0xdcbba(0x298)](this[_0xdcbba(0x23d)](_0x85d13b))),this[_0xdcbba(0x23c)][_0xdcbba(0x2a0)]&&Q(this[_0xdcbba(0x23c)],this[_0xdcbba(0x23c)][0x0][_0xdcbba(0x2da)]),await this[_0xdcbba(0x203)](_0x3eccc3),_0x41a252=this[_0xdcbba(0x247)](_0x3eccc3,_0x6e3d4b[_0xdcbba(0x291)],_0x6e3d4b[_0xdcbba(0x1e4)]),this[_0xdcbba(0x2b9)]=Math[_0xdcbba(0x1e0)](this[_0xdcbba(0x2b9)]/0x2);}return _0x41a252?!this[_0xdcbba(0x271)]()||(this[_0xdcbba(0x2ae)](!0x0),!0x1):this[_0xdcbba(0x24d)](_0xdcbba(0x2b0));}[_0x1eae1f(0x247)](_0x3a1fce,_0x379a98,_0x5e3353){const _0x153aa2=_0x1eae1f;try{const _0x1f8559={'document':this[_0x153aa2(0x227)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x43e759,operationsB:_0x395cf5,originalOperations:_0xb7db12}=_0x528d24(_0x3a1fce,this[_0x153aa2(0x23c)],_0x1f8559);Q(_0x43e759,this[_0x153aa2(0x227)][_0x153aa2(0x291)]),Q(_0x395cf5,_0x379a98);for(const _0x1f88ad of _0x43e759){const _0xc62949=_0xb7db12[_0x153aa2(0x23a)](_0x1f88ad);_0x1f88ad[_0x153aa2(0x20c)]=_0xc62949?_0xc62949[_0x153aa2(0x20c)]:null;}_0x5e3353&&(this[_0x153aa2(0x245)][_0x153aa2(0x253)](_0x3a1fce,_0x5e3353),this[_0x153aa2(0x20e)]=_0x5e3353),this[_0x153aa2(0x23c)]=[..._0x395cf5],this[_0x153aa2(0x29c)](_0x43e759),this[_0x153aa2(0x2c0)](_0x3a1fce);}catch(_0x3f00c2){return console[_0x153aa2(0x1e7)](_0x3f00c2),!0x1;}return!0x0;}[_0x1eae1f(0x29c)](_0x20e462,_0x41f947=!0x1){const _0x14f2b0=_0x1eae1f;this[_0x14f2b0(0x1dd)][_0x14f2b0(0x209)][_0x14f2b0(0x206)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4cd498=>{const _0x38f599=_0x14f2b0;for(const _0x4d4d99 of _0x20e462)this[_0x38f599(0x2d2)][_0x38f599(0x1fe)](_0x4d4d99),this[_0x38f599(0x1ee)](_0x4d4d99),_0x4cd498[_0x38f599(0x21f)][_0x38f599(0x2ac)](_0x4d4d99),this[_0x38f599(0x1dd)][_0x38f599(0x209)][_0x38f599(0x2a8)](_0x4d4d99);});}[_0x1eae1f(0x1ee)](_0x26b07c){const _0x3b2e9d=_0x1eae1f,_0x5d0c39=this[_0x3b2e9d(0x23d)](_0x26b07c);_0x5d0c39&&this[_0x3b2e9d(0x202)][_0x3b2e9d(0x1fe)](_0x5d0c39);}[_0x1eae1f(0x23d)](_0xb49694){const _0x2e0b56=_0x1eae1f;let _0x3733ca,_0x52ecac;switch(_0xb49694[_0x2e0b56(0x1e3)]){case _0x2e0b56(0x2b2):_0x3733ca=_0xb49694[_0x2e0b56(0x22d)][_0x2e0b56(0x293)];break;case _0x2e0b56(0x216):if(_0x52ecac=_0xb49694[_0x2e0b56(0x1e8)],!_0x52ecac)return null;_0x3733ca=_0x52ecac[_0x2e0b56(0x293)];break;case _0x2e0b56(0x25f):_0x3733ca=_0xb49694[_0x2e0b56(0x293)];break;case _0x2e0b56(0x284):_0x3733ca=_0xb49694[_0x2e0b56(0x1ed)];break;case _0x2e0b56(0x24a):_0x3733ca=_0xb49694[_0x2e0b56(0x2af)][_0x2e0b56(0x293)];break;default:return null;}return _0x3733ca[_0x2e0b56(0x22b)];}[_0x1eae1f(0x2c0)](_0x3410b1){const _0x21b8cf=_0x1eae1f;_0x3410b1[_0x21b8cf(0x218)](_0x4e6550=>{const _0x2b7d0c=_0x21b8cf,_0x37f671=_0x4e6550[_0x2b7d0c(0x220)]();_0x37f671[_0x2b7d0c(0x20c)]=_0x4e6550[_0x2b7d0c(0x20c)],_0x37f671[_0x2b7d0c(0x27c)]=!!_0x4e6550[_0x2b7d0c(0x27c)],_0x37f671[_0x2b7d0c(0x2cf)]=_0x4e6550[_0x2b7d0c(0x2cf)],_0x37f671[_0x2b7d0c(0x2da)]+=this[_0x2b7d0c(0x2a3)],_0x4e6550[_0x2b7d0c(0x257)]&&this[_0x2b7d0c(0x1dc)][_0x2b7d0c(0x1fe)](_0x37f671),this[_0x2b7d0c(0x29f)][_0x2b7d0c(0x2ac)](_0x37f671);});}[_0x1eae1f(0x1f6)](_0x42f897){const _0x59e768=_0x1eae1f,_0x285590=this[_0x59e768(0x1dd)][_0x59e768(0x230)][_0x59e768(0x23a)](_0x59e768(0x2a1)),_0x27b6a5=this[_0x59e768(0x1dd)][_0x59e768(0x2cc)];_0x42f897||(_0x42f897=_0x4c8fcf(_0x27b6a5,_0x59e768(0x287))),_0x285590[_0x59e768(0x295)](_0x42f897,{'title':_0x4c8fcf(_0x27b6a5,_0x59e768(0x264)),'namespace':_0x59e768(0x282)}),this[_0x59e768(0x24c)]=!0x0,clearTimeout(this[_0x59e768(0x2c4)]),this[_0x59e768(0x23c)]=[],this[_0x59e768(0x1dd)][_0x59e768(0x230)][_0x59e768(0x23a)](_0x352c37)[_0x59e768(0x252)]();}[_0x1eae1f(0x25c)](){const _0xdeffa9=_0x1eae1f;this[_0xdeffa9(0x1e1)]||(this[_0xdeffa9(0x1e1)]=this[_0xdeffa9(0x1dd)][_0xdeffa9(0x230)][_0xdeffa9(0x23a)](_0x2eec60)[_0xdeffa9(0x1fe)](_0x4c8fcf(this[_0xdeffa9(0x1dd)][_0xdeffa9(0x2cc)],_0xdeffa9(0x2c5))));}[_0x1eae1f(0x1f8)](){const _0x208b87=_0x1eae1f;this[_0x208b87(0x1e1)]&&(this[_0x208b87(0x1dd)][_0x208b87(0x230)][_0x208b87(0x23a)](_0x2eec60)[_0x208b87(0x2d0)](this[_0x208b87(0x1e1)]),this[_0x208b87(0x1e1)]=null);}[_0x1eae1f(0x258)](_0x1da932){const _0x2a31bc=_0x1eae1f,_0x532280=_0x1da932[_0x2a31bc(0x2a7)](_0x5a2998=>_0x5a2998[_0x2a31bc(0x2c9)]());return this[_0x2a31bc(0x22a)][_0x2a31bc(0x20d)](_0x532280);}[_0x1eae1f(0x261)](_0xec1dab,_0x384841){const _0x17bfe7=_0x1eae1f;return this[_0x17bfe7(0x22a)][_0x17bfe7(0x273)](_0xec1dab)[_0x17bfe7(0x2a7)]((_0x1db18b,_0x5626fd)=>{const _0x50bae5=_0x17bfe7,_0x8e5666=_0x50bae5(0x292)==_0x384841[_0x5626fd][_0x50bae5(0x1e3)];if(_0x50bae5(0x28b)==_0x1db18b[_0x50bae5(0x26a)]){const _0x47b23f=_0x1db18b[_0x50bae5(0x22d)][_0x50bae5(0x293)];!this[_0x50bae5(0x227)][_0x50bae5(0x1f7)](_0x47b23f)&&(this[_0x50bae5(0x227)][_0x50bae5(0x214)](_0x50bae5(0x25b),_0x47b23f)[_0x50bae5(0x241)]=!0x1);}const _0x6116d1=_0x2e3c12[_0x50bae5(0x2ce)](_0x1db18b,this[_0x50bae5(0x227)]);return _0x6116d1[_0x50bae5(0x2d9)]=_0x1db18b[_0x50bae5(0x2d9)],_0x6116d1[_0x50bae5(0x27c)]=_0x8e5666,_0x6116d1[_0x50bae5(0x20c)]=_0x8e5666?null:_0x384841[_0x5626fd][_0x50bae5(0x2d3)],_0x6116d1[_0x50bae5(0x257)]=_0x50bae5(0x2c8)===_0x384841[_0x5626fd][_0x50bae5(0x1e3)],_0x6116d1[_0x50bae5(0x2cf)]=_0x384841[_0x5626fd][_0x50bae5(0x2cf)],_0x6116d1;});}[_0x1eae1f(0x244)](){const _0x357fe1=_0x1eae1f;this[_0x357fe1(0x21c)]=!0x0,this[_0x357fe1(0x1fb)]()?this[_0x357fe1(0x2ae)]():this[_0x357fe1(0x21c)]=!0x1;}[_0x1eae1f(0x1fb)](){const _0x476358=_0x1eae1f,_0xbd6cef=this[_0x476358(0x1dd)][_0x476358(0x230)][_0x476358(0x23a)](_0x2a23c8)[_0x476358(0x201)][_0x476358(0x23a)](this[_0x476358(0x1e2)]);return!this[_0x476358(0x1dd)][_0x476358(0x27b)]&&!!_0xbd6cef&&_0xbd6cef[_0x476358(0x2a0)]>0x1&&this[_0x476358(0x21c)];}[_0x1eae1f(0x271)](){const _0x37502c=_0x1eae1f;return this[_0x37502c(0x23c)][_0x37502c(0x2a0)]>0x0||this[_0x37502c(0x1fb)]();}}l[_0x1eae1f(0x234)]=_0x1ff895;export default l;class J extends Error{}function Q(_0x3bd952,_0x1d836c){const _0x2692f3=_0x1eae1f;for(const _0x11e153 of _0x3bd952)_0x11e153[_0x2692f3(0x2da)]=_0x1d836c++;}function _0x2a94(){const _0x5b7f87=['_applyOperationsSet','_handleSendingSelectionMarkers','push','serverHistory','length','Notification','directChange','_offset','getOperationAuthor','metadata','selection','map','applyOperation','string','parse','document','addOperation','isEnabled','_sendBufferedOperationsDelayed','targetPosition','realtimecollaborationclient-handleserverresponse','1372743zJUpQD','insert','keys','data','fire','operationsReceived','loadRoot','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_currentBufferDelay','_sendBufferedOperations','reconnect','markers','enableReadOnlyMode','collaboration','wereChangesApplied','_updateServerHistory','_loadRoot','_setUpDataInit','startsWith','_sendBufferedOperationsDelayId','PENDING_ACTION_SENDING_DATA','_initSessionsHandling','realtimecollaborationclient-initservice-internal-error','cs:removeUser','toJSON','isOfficialPlugin','cloudServices.bundleVersion','locale','realtimecollaborationclient-init-connection-failed','fromJSON','createdAt','remove','stopListening','_knownOperations','userId','attributes','404','getConnectedSessions','createUserMarkerOperations','set','wasUndone','baseVersion','getDocumentDetails','lastDocumentSession','realtimecollaborationclient-init-non-existent-root','finally','_isConnected','cloud-services-internal-error:\x20Request\x20timeout.','collaboration-missing-channelid','define','_disconnectionOperations','editor','lastSyncVersion','unregister','round','_pendingAction','_channelId','type','lastOperationId','off','realtimecollaborationclient-init-session-connection-error','error','newRange','53796ttLsCd','bind','_connectAfterSessionHasBeenFlushed','suppressErrorInCollaboration','affectedSelectable','_addKnownRoot','connect','state','history','change:_isPendingUpdate','disconnected','_isEditingAllowed','12LiVuCN','_handleReconnectionError','getRoot','_clearPendingAction','filter','removeFromReconnectionStack','_shouldSendSelectionUpdate','sessionAdd:','_disconnectService','add','_connectService','createRange','channelSessions','_knownRootNames','_fetchMissingUsers','5455130rggAuz','then','enqueueChange','slice','cloudDocumentVersion','model','sendOperations','isDocumentOperation','_authorId','compress','_lastSyncedOperationId','rtc-offline','offset','stop','isPremiumPlugin','connected','createRoot','register','marker','reset','forEach','_ignoredOperations','_lastServerVersion','addToReconnectionStack','_hasSelectionChanged','setPermissions','editing','batch','clone','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','createPositionAt','realtimecollaborationclient-sendbufferedoperations','permissions','lastOperationAcceptedAt','end','_document','realtimecollaborationclient-initservice-incorrect-server-operation','createPositionFromPath','_compressor','rootName','listenTo','position','_baseBufferDelay','3593344qNuhZa','plugins','return','_saveOperationInBuffer','change:_isEditingAllowed','CollaborativeEditingService','change:hasDomSelection','apply','_handleServerResponse','size','roots','get','realtimecollaborationclient-error','_bufferedOperations','_getAffectedRoot','document:write','disconnect','RealTimeCollaborationClient','_isAttached','catch','connection','_refreshUserSelectionMarkers','_operationIdentifier','sessionId','_handleExternalOperations','cloud-services-internal-error:\x20Not\x20connected.','from','move','affectsData','_hasSynchronizationProblem','_crash','disableReadOnlyMode','sessionCreatedAt','entries','view','destroy','setIdForTheLastOperation','_initThrowingOnDataSet','_handleReconnectionResponse','_getOperationsFromInitData','_isDisconnection','_compressOperations','CommentsOnly','_bufferRootLoad','$root','_setPendingAction','code','_handleReceivedOperations','addRootAttribute','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_decompressOperations','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.','_isPendingUpdate','Synchronization\x20issue','includes','getMany','pluginName','rootsAttributes','643445HTUJBS','__className','1025054PUTFVp','change:range','2219Akraxw','config','differ','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_shouldSendUpdate','9DWaRLz','decompress','multi-root-editor-root-attributes-no-root','collaboration.channelId','getIdOfTheLastOperation','409','60HayxIU','ready','path','isReadOnly','_isInit','_isLoaded','_handleInitialConnectionData','addUser','rtc-destroyed','initData','real-time-collaboration','start','addRoot','currentDocumentSession','_waitUntilSynced','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.','1506suEEOk','Permissions','getUser','InsertOperation','message','getOperations','1FGRxah','reconnection:\x20flushed\x20session','requires','version','init','root','_operationToId','showWarning','mySessionId','isUndoneOperation','has','realtimecollaborationclient-init-document-already-initialized','_service','high'];_0x2a94=function(){return _0x5b7f87;};return _0x2a94();}class X{constructor(_0x1b1c8d){const _0x1a7a77=_0x1eae1f;this[_0x1a7a77(0x219)]=_0x1b1c8d,this[_0x1a7a77(0x294)]=new WeakMap();}[_0x1eae1f(0x276)](_0x5e57e6){const _0xe65961=_0x1eae1f;let _0x559109=_0x5e57e6[_0xe65961(0x2a0)];for(;_0x559109--;){const _0xb68324=_0x5e57e6[_0x559109];if(!this[_0xe65961(0x219)][_0xe65961(0x298)](_0xb68324)){if(!this[_0xe65961(0x294)][_0xe65961(0x298)](_0xb68324)){const _0x31aa60=_0x58d6ab()[_0xe65961(0x207)](0x1,0x12);this[_0xe65961(0x294)][_0xe65961(0x2d8)](_0xb68324,_0x31aa60);}return this[_0xe65961(0x294)][_0xe65961(0x23a)](_0xb68324);}}}[_0x1eae1f(0x253)](_0x3ecf3a,_0x2c4e3e){const _0x2de8d3=_0x1eae1f;if(!_0x2c4e3e)return;let _0xb13fd3=_0x3ecf3a[_0x2de8d3(0x2a0)];for(;_0xb13fd3--;){const _0xd13a29=_0x3ecf3a[_0xb13fd3];this[_0x2de8d3(0x219)][_0x2de8d3(0x298)](_0xd13a29)||this[_0x2de8d3(0x294)][_0x2de8d3(0x2d8)](_0xd13a29,_0x2c4e3e);}}}
|
|
23
|
+
const _0x17be9e=_0x47c3;(function(_0x4a5656,_0x4099ea){const _0x5900df=_0x47c3,_0x34c90a=_0x4a5656();while(!![]){try{const _0x229e0d=parseInt(_0x5900df(0x21d))/0x1*(-parseInt(_0x5900df(0x1e4))/0x2)+parseInt(_0x5900df(0x163))/0x3+parseInt(_0x5900df(0x1d0))/0x4*(parseInt(_0x5900df(0x17e))/0x5)+parseInt(_0x5900df(0x1be))/0x6+-parseInt(_0x5900df(0x24e))/0x7+parseInt(_0x5900df(0x202))/0x8*(-parseInt(_0x5900df(0x1a6))/0x9)+parseInt(_0x5900df(0x211))/0xa*(parseInt(_0x5900df(0x233))/0xb);if(_0x229e0d===_0x4099ea)break;else _0x34c90a['push'](_0x34c90a['shift']());}catch(_0x4c7ed4){_0x34c90a['push'](_0x34c90a['shift']());}}}(_0x345d,0x8b910));import{Plugin as _0x283be8,PendingActions as _0x49e571}from'ckeditor5/src/core.js';import{CKEditorError as _0x37d164,version as _0xe4e05a,uid as _0x416b29}from'ckeditor5/src/utils.js';function _0x345d(){const _0x5b6324=['reconnect','change:_isPendingUpdate','_initThrowingOnDataSet','directChange','isPremiumPlugin','unregister','listenTo','realtimecollaborationclient-init-session-connection-error','PENDING_ACTION_SENDING_DATA','realtimecollaborationclient-error','error','cloud-services-internal-error:\x20Not\x20connected.','5393531pRbXBg','catch','currentDocumentSession','path','addRootAttribute','setPermissions','length','filter','ready','forEach','realtimecollaborationclient-sendbufferedoperations','_pendingAction','affectsData','cloud-services-internal-error:\x20Request\x20timeout.','version','_baseBufferDelay','sessionAdd:','createPositionAt','_handleInitialConnectionData','_lastSyncedOperationId','CommentsOnly','keys','Notification','mySessionId','attributes','markers','getOperations','7741097LapuZA','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','showWarning','_lastServerVersion','_clearPendingAction','InsertOperation','multi-root-editor-root-attributes-no-root','_isConnected','lastSyncVersion','_compressor','slice','_isInit','change:range','_hasSynchronizationProblem','startsWith','_loadRoot','userId','_applyOperationsSet','Permissions','_updateServerHistory','lastOperationId','roots','createPositionFromPath','define','addOperation','_initSessionsHandling','_currentBufferDelay','3095541DqCeAO','high','getRoot','add','addToReconnectionStack','editing','_sendBufferedOperationsDelayId','history','_isAttached','_isDisconnection','wasUndone','selection','requires','cs:removeUser','_compressOperations','getMany','realtimecollaborationclient-init-document-already-initialized','_hasSelectionChanged','metadata','_shouldSendUpdate','removeFromReconnectionStack','type','isOfficialPlugin','_setUpDataInit','collaboration.channelId','enqueueChange','realtimecollaborationclient-initservice-internal-error','5NcpzlH','_operationToId','initData','batch','newRange','_sendBufferedOperations','RealTimeCollaborationClient','operationsReceived','_getAffectedRoot','isEnabled','_handleReconnectionError','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_isPendingUpdate','from','clone','off','_isEditingAllowed','getConnectedSessions','_knownRootNames','_waitUntilSynced','_document','_addKnownRoot','change:_isEditingAllowed','then','_handleSendingSelectionMarkers','_handleReconnectionResponse','cloudDocumentVersion','init','connect','start','baseVersion','pluginName','model','wereChangesApplied','suppressErrorInCollaboration','push','data','_isLoaded','editor','loadRoot','162KdKRvi','_disconnectionOperations','isReadOnly','_channelId','collaboration-missing-channelid','channelSessions','getIdOfTheLastOperation','_handleExternalOperations','plugins','_setPendingAction','enableReadOnlyMode','getUser','decompress','affectedSelectable','offset','has','collaboration','set','code','_sendBufferedOperationsDelayed','409','_bufferRootLoad','createdAt','apply','4932606DreAyc','_handleReceivedOperations','getOperationAuthor','_bufferedOperations','createRoot','toJSON','realtimecollaborationclient-handleserverresponse','config','size','get','document:write','fire','_saveOperationInBuffer','root','$root','realtimecollaborationclient-initservice-incorrect-server-operation','includes','remove','1016012zHTHwg','position','finally','message','register','lastDocumentSession','disableReadOnlyMode','_operationIdentifier','bind','_fetchMissingUsers','connection','targetPosition','_connectAfterSessionHasBeenFlushed','real-time-collaboration','_knownOperations','_getOperationsFromInitData','connected','string','getDocumentDetails','realtimecollaborationclient-init-non-existent-root','11752QOLddP','applyOperation','_authorId','compress','return','reset','CollaborativeEditingService','isDocumentOperation','cloudServices.bundleVersion','disconnect','addUser','lastOperationAcceptedAt','move','insert','_ignoredOperations','differ','realtimecollaborationclient-init-connection-failed','__className','entries','addRoot','disconnected','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','locale','state','destroy','fromJSON','_shouldSendSelectionUpdate','_handleServerResponse','rootsAttributes','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','444328oIfBrx','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.','404','Synchronization\x20issue','_decompressOperations','_connectService','serverHistory','view','rtc-offline','setIdForTheLastOperation','map','marker','end','_refreshUserSelectionMarkers','change:hasDomSelection','20AQQTOO','rtc-destroyed','sendOperations','createUserMarkerOperations','permissions','stopListening','_service','round','_disconnectService','_crash','reconnection:\x20flushed\x20session','_offset','70LOACGX','rootName','isUndoneOperation','sessionId','createRange','stop','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.','document','parse','sessionCreatedAt'];_0x345d=function(){return _0x5b6324;};return _0x345d();}import{Notification as _0x5d28cd}from'ckeditor5/src/ui.js';import{transformSets as _0x40e279,NoOperation as _0x58984e,InsertOperation as _0x48d407,MarkerOperation as _0x5de32b,RootAttributeOperation as _0x4bc690,OperationFactory as _0x4131a3,History as _0x24d329}from'ckeditor5/src/engine.js';import _0x5add02 from'./websocketgateway.js';import _0x4d155e from'./sessions.js';import _0x9c9056 from'./usermarkers.js';import{getTranslation as _0x523e8d}from'../common-translations.js';import{Compressor as _0x542698}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x375cb9}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x53befc,CollaborativeEditingService as _0x56ff6c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let M=0x1;class l extends _0x283be8{static get[_0x17be9e(0x16f)](){return[_0x5add02,_0x4d155e,_0x9c9056,_0x49e571,_0x375cb9,_0x5d28cd];}static get[_0x17be9e(0x19d)](){const _0x44ae9d=_0x17be9e;return _0x44ae9d(0x184);}static get[_0x17be9e(0x179)](){return!0x0;}static get[_0x17be9e(0x22b)](){return!0x0;}get[_0x17be9e(0x198)](){const _0x7bccaa=_0x17be9e;return this[_0x7bccaa(0x251)]+this[_0x7bccaa(0x21c)];}get[_0x17be9e(0x251)](){const _0x2382ec=_0x17be9e;return this[_0x2382ec(0x208)][_0x2382ec(0x241)]-this[_0x2382ec(0x21c)];}get[_0x17be9e(0x256)](){const _0x3d1df4=_0x17be9e,_0x426c36=this[_0x3d1df4(0x208)][_0x3d1df4(0x24d)]();for(let _0x1c55c9=_0x426c36[_0x3d1df4(0x239)]-0x1;_0x1c55c9>=0x0;_0x1c55c9--){const _0x182679=_0x426c36[_0x1c55c9];if(!this[_0x3d1df4(0x1a7)][_0x3d1df4(0x1b5)](_0x182679))return _0x182679[_0x3d1df4(0x19c)]+0x1-this[_0x3d1df4(0x21c)];}return 0x0;}constructor(_0x35aa14){const _0x4073a8=_0x17be9e;if(super(_0x35aa14),this[_0x4073a8(0x21c)]=0x0,this[_0x4073a8(0x220)]=null,this[_0x4073a8(0x208)]=new _0x24d329(),this[_0x4073a8(0x1a4)][_0x4073a8(0x1c5)][_0x4073a8(0x265)](_0x4073a8(0x1b6),{}),this[_0x4073a8(0x1a9)]=this[_0x4073a8(0x1a4)][_0x4073a8(0x1c5)][_0x4073a8(0x1c7)](_0x4073a8(0x17b)),!this[_0x4073a8(0x1a9)])throw new _0x37d164(_0x4073a8(0x1aa),this);const _0x55b459=_0x35aa14[_0x4073a8(0x1c5)][_0x4073a8(0x1c7)](_0x4073a8(0x1ec))||_0xe4e05a;this[_0x4073a8(0x217)]=new l[(_0x4073a8(0x1ea))](_0x55b459,this[_0x4073a8(0x1a9)]),this[_0x4073a8(0x192)]=this[_0x4073a8(0x1a4)][_0x4073a8(0x19e)][_0x4073a8(0x224)],this[_0x4073a8(0x257)]=new _0x542698(),this[_0x4073a8(0x1c1)]=[],this[_0x4073a8(0x1de)]=new WeakSet(),this[_0x4073a8(0x190)]=new Set(),this[_0x4073a8(0x1b7)](_0x4073a8(0x18a),!0x1),this[_0x4073a8(0x1b7)](_0x4073a8(0x25b),!0x1),this[_0x4073a8(0x23e)]=null,this[_0x4073a8(0x174)]=!0x1,this[_0x4073a8(0x169)]=null,this[_0x4073a8(0x242)]=0x12c,this[_0x4073a8(0x162)]=this[_0x4073a8(0x242)],this[_0x4073a8(0x246)]=null,this[_0x4073a8(0x1a7)]=new WeakSet(),this[_0x4073a8(0x1d7)]=new W(this[_0x4073a8(0x1a7)]);}[_0x17be9e(0x199)](){const _0x4f75ae=_0x17be9e,_0x473ce5=this[_0x4f75ae(0x1a4)],_0x21c683=_0x473ce5[_0x4f75ae(0x1ae)][_0x4f75ae(0x1c7)](_0x375cb9),_0x27c4c7=_0x473ce5[_0x4f75ae(0x1ae)][_0x4f75ae(0x1c7)](_0x5add02);this[_0x4f75ae(0x22d)](_0x21c683,_0x4f75ae(0x1c0),(_0x24a730,_0x37a22d)=>{const _0x2e8a01=_0x4f75ae,_0x53bfd1=_0x37a22d[0x0];_0x53bfd1[_0x2e8a01(0x1e6)]&&(_0x24a730[_0x2e8a01(0x1e8)]=_0x21c683[_0x2e8a01(0x1b1)](_0x53bfd1[_0x2e8a01(0x1e6)]),_0x24a730[_0x2e8a01(0x222)]()),null===_0x53bfd1[_0x2e8a01(0x1e6)]&&(_0x24a730[_0x2e8a01(0x1e8)]=null,_0x24a730[_0x2e8a01(0x222)]());},{'priority':_0x4f75ae(0x164)}),this[_0x4f75ae(0x22d)](_0x473ce5[_0x4f75ae(0x19e)][_0x4f75ae(0x224)][_0x4f75ae(0x16e)],_0x4f75ae(0x25a),(_0x56e556,_0x284a0b)=>{const _0x36cd86=_0x4f75ae;_0x284a0b[_0x36cd86(0x22a)]&&this[_0x36cd86(0x20f)]();}),this[_0x4f75ae(0x22d)](_0x473ce5[_0x4f75ae(0x168)][_0x4f75ae(0x209)],_0x4f75ae(0x210),()=>{const _0x1d4a32=_0x4f75ae;this[_0x1d4a32(0x20f)]();}),this[_0x4f75ae(0x229)](),_0x473ce5[_0x4f75ae(0x19e)]['on'](_0x4f75ae(0x1e5),(_0x227579,_0x18c37e)=>{const _0x550c92=_0x4f75ae,_0x53f7f0=_0x18c37e[0x0];_0x53f7f0[_0x550c92(0x1eb)]&&(this[_0x550c92(0x1ca)](_0x53f7f0),this[_0x550c92(0x176)]()&&this[_0x550c92(0x1b9)]());}),this[_0x4f75ae(0x17a)](),this[_0x4f75ae(0x1d8)](_0x4f75ae(0x18e))['to'](_0x27c4c7,_0x4f75ae(0x1fb),this,_0x4f75ae(0x25b),(_0x1f28ef,_0x48ad70)=>_0x4f75ae(0x1e0)===_0x1f28ef&&!_0x48ad70),this['on'](_0x4f75ae(0x194),()=>{const _0x5e632c=_0x4f75ae;this[_0x5e632c(0x18e)]?_0x473ce5[_0x5e632c(0x1d6)](_0x5e632c(0x20a)):_0x473ce5[_0x5e632c(0x1b0)](_0x5e632c(0x20a));}),this[_0x4f75ae(0x18e)]?_0x473ce5[_0x4f75ae(0x1d6)](_0x4f75ae(0x20a)):_0x473ce5[_0x4f75ae(0x1b0)](_0x4f75ae(0x20a)),this[_0x4f75ae(0x1b7)](_0x4f75ae(0x255),!0x1);}async[_0x17be9e(0x227)](){const _0x2b6d13=_0x17be9e,_0x4f7ae7=this[_0x2b6d13(0x1a4)][_0x2b6d13(0x1ae)][_0x2b6d13(0x1c7)](_0x4d155e),_0x12f62c=this[_0x2b6d13(0x1a4)][_0x2b6d13(0x1ae)][_0x2b6d13(0x1c7)](_0x5add02);try{this[_0x2b6d13(0x18a)]=!0x0,_0x4f7ae7[_0x2b6d13(0x22c)](this[_0x2b6d13(0x1a9)]);const _0x3d37c3=await this[_0x2b6d13(0x217)][_0x2b6d13(0x227)](_0x12f62c[_0x2b6d13(0x1da)],this[_0x2b6d13(0x256)]);await this[_0x2b6d13(0x197)](_0x3d37c3)&&(this[_0x2b6d13(0x18a)]=!0x1,this[_0x2b6d13(0x252)]());const _0xea13ef=await this[_0x2b6d13(0x217)][_0x2b6d13(0x18f)]();_0x4f7ae7[_0x2b6d13(0x1d4)](this[_0x2b6d13(0x1a9)],_0xea13ef),this[_0x2b6d13(0x196)](),this[_0x2b6d13(0x255)]=!0x0;}catch(_0x5c9b79){if(function(_0x4dc32e){const _0x408a85=_0x2b6d13;return _0x408a85(0x204)===_0x4dc32e[_0x408a85(0x1b8)];}(_0x5c9b79)&&this[_0x2b6d13(0x220)])await this[_0x2b6d13(0x1dc)]();else{if(function(_0x28c9fd){const _0xd7536e=_0x2b6d13;return _0xd7536e(0x1ba)===_0x28c9fd[_0xd7536e(0x1b8)];}(_0x5c9b79)){const _0xb4fb48=_0x523e8d(this[_0x2b6d13(0x1a4)][_0x2b6d13(0x1fa)],_0x2b6d13(0x201));this[_0x2b6d13(0x188)](_0xb4fb48);}else{if(!(_0x5c9b79 instanceof z))throw _0x5c9b79;this[_0x2b6d13(0x188)]();}}}}[_0x17be9e(0x1fc)](){const _0xefbfa3=_0x17be9e,_0x2f0a0d=this[_0xefbfa3(0x1a4)][_0xefbfa3(0x1ae)][_0xefbfa3(0x1c7)](_0x5add02),_0x338972=this[_0xefbfa3(0x1a4)][_0xefbfa3(0x1ae)][_0xefbfa3(0x1c7)](_0x4d155e);this[_0xefbfa3(0x1a4)][_0xefbfa3(0x1b0)](_0xefbfa3(0x212)),_0x338972[_0xefbfa3(0x1ab)][_0xefbfa3(0x1b5)](this[_0xefbfa3(0x1a9)])&&_0x338972[_0xefbfa3(0x22c)](this[_0xefbfa3(0x1a9)]),_0x2f0a0d[_0xefbfa3(0x177)](this),this[_0xefbfa3(0x219)](),super[_0xefbfa3(0x1fc)]();}async[_0x17be9e(0x197)](_0x58e236){const _0x15cca2=_0x17be9e;if(this[_0x15cca2(0x220)]!==_0x58e236[_0x15cca2(0x220)]&&this[_0x15cca2(0x246)]!==_0x58e236[_0x15cca2(0x262)])throw new z();return this[_0x15cca2(0x220)]=_0x58e236[_0x15cca2(0x220)],this[_0x15cca2(0x1ff)]([],{..._0x58e236,'wereChangesApplied':!0x1,'data':_0x58e236[_0x15cca2(0x1a2)]},_0x15cca2(0x227));}async[_0x17be9e(0x207)](_0x44b4f9,_0x5a630a=!0x1){const _0x54c53e=_0x17be9e,{connection:_0x2672a1}=this[_0x54c53e(0x1a4)][_0x54c53e(0x1ae)][_0x54c53e(0x1c7)](_0x5add02);l[_0x54c53e(0x1ea)][_0x54c53e(0x18f)](_0x2672a1,this[_0x54c53e(0x1a9)])[_0x54c53e(0x195)](_0x1e113b=>this[_0x54c53e(0x161)](_0x1e113b))[_0x54c53e(0x234)](_0x1b193c=>{const _0x42cc8c=_0x54c53e;this[_0x42cc8c(0x21a)](_0x42cc8c(0x22e),_0x1b193c);}),this[_0x54c53e(0x22d)](this[_0x54c53e(0x217)],_0x54c53e(0x185),this[_0x54c53e(0x1bf)][_0x54c53e(0x1d8)](this)),this[_0x54c53e(0x22d)](this[_0x54c53e(0x217)],_0x54c53e(0x231),(_0x4833b8,_0x229ebb)=>{const _0x4276de=_0x54c53e;this[_0x4276de(0x21a)](_0x4276de(0x17d),_0x229ebb);}),this[_0x54c53e(0x22d)](this[_0x54c53e(0x217)],_0x54c53e(0x1f8),()=>{const _0x5299b8=_0x54c53e;this[_0x5299b8(0x255)]=!0x1;});const _0x451a1f=this[_0x54c53e(0x1d7)][_0x54c53e(0x1ac)](_0x44b4f9);this[_0x54c53e(0x18a)]=!0x0;const _0x136184=await this[_0x54c53e(0x217)][_0x54c53e(0x19a)](_0x2672a1,this[_0x54c53e(0x171)](_0x44b4f9),_0x451a1f);if(this[_0x54c53e(0x220)]=_0x136184[_0x54c53e(0x220)],_0x5a630a){if(!_0x136184[_0x54c53e(0x19f)])return void this[_0x54c53e(0x188)]();this[_0x54c53e(0x18a)]=!0x1,this[_0x54c53e(0x252)](),this[_0x54c53e(0x208)][_0x54c53e(0x1e9)](),this[_0x54c53e(0x21c)]=_0x136184[_0x54c53e(0x1b4)],this[_0x54c53e(0x208)][_0x54c53e(0x241)]=this[_0x54c53e(0x21c)],await this[_0x54c53e(0x1ff)](_0x44b4f9,_0x136184,_0x54c53e(0x21b));}else await this[_0x54c53e(0x245)](_0x136184,_0x44b4f9);this[_0x54c53e(0x196)](),this[_0x54c53e(0x255)]=!0x0;}[_0x17be9e(0x196)](){const _0x329af0=_0x17be9e,_0x28b007=this[_0x329af0(0x1a4)][_0x329af0(0x1ae)][_0x329af0(0x1c7)](_0x4d155e),_0x1b9397=this[_0x329af0(0x1a4)][_0x329af0(0x1ae)][_0x329af0(0x1c7)](_0x9c9056),_0x3b7d51=_0x28b007[_0x329af0(0x1ab)][_0x329af0(0x1c7)](this[_0x329af0(0x1a9)]);_0x3b7d51&&_0x3b7d51[_0x329af0(0x239)]>0x1?_0x1b9397[_0x329af0(0x214)]():this[_0x329af0(0x22d)](_0x28b007,_0x329af0(0x243)+this[_0x329af0(0x1a9)],()=>{const _0x435720=_0x329af0;0x2===_0x28b007[_0x435720(0x1ab)][_0x435720(0x1c7)](this[_0x435720(0x1a9)])[_0x435720(0x239)]&&_0x1b9397[_0x435720(0x214)]();});}async[_0x17be9e(0x1bf)](_0x517d14,_0x3a363e,_0x4265f9,_0x2b9506){const _0x3f62b1=_0x17be9e;if(!this[_0x3f62b1(0x18a)]&&this[_0x3f62b1(0x192)][_0x3f62b1(0x241)]==_0x3a363e){const _0x2abc3f=this[_0x3f62b1(0x206)](_0x4265f9,_0x2b9506);await this[_0x3f62b1(0x1d9)](_0x2abc3f),this[_0x3f62b1(0x1ad)](_0x2abc3f,_0x3a363e,_0x4265f9[_0x3f62b1(0x262)])||this[_0x3f62b1(0x21a)](_0x3f62b1(0x1cd));}}async[_0x17be9e(0x1dc)](){const _0x1bf0c2=_0x17be9e;this[_0x1bf0c2(0x219)]();const {locale:_0x41d987}=this[_0x1bf0c2(0x1a4)];let _0x470702;try{_0x470702=await this[_0x1bf0c2(0x217)][_0x1bf0c2(0x1e2)]();}catch(_0x31a011){const _0x240e90=_0x523e8d(_0x41d987,_0x1bf0c2(0x189));return void this[_0x1bf0c2(0x188)](_0x240e90);}const _0x5bf745=_0x470702[_0x1bf0c2(0x235)]||_0x470702[_0x1bf0c2(0x1d5)];if(this[_0x1bf0c2(0x246)]===_0x5bf745[_0x1bf0c2(0x262)])await this[_0x1bf0c2(0x207)](this[_0x1bf0c2(0x1a4)][_0x1bf0c2(0x19e)][_0x1bf0c2(0x224)][_0x1bf0c2(0x16a)][_0x1bf0c2(0x24d)](),!0x0);else{const _0x3828ce=_0x523e8d(_0x41d987,_0x1bf0c2(0x203));this[_0x1bf0c2(0x188)](_0x3828ce);}}[_0x17be9e(0x219)](){const _0x5329aa=_0x17be9e;this[_0x5329aa(0x217)][_0x5329aa(0x1ed)](),this[_0x5329aa(0x1c1)]=[],clearTimeout(this[_0x5329aa(0x169)]),this[_0x5329aa(0x216)](this[_0x5329aa(0x217)]);}[_0x17be9e(0x161)](_0x5f7541){const _0xda527f=_0x17be9e,_0xc57c84=this[_0xda527f(0x1a4)][_0xda527f(0x1ae)][_0xda527f(0x1c7)](_0x4d155e);this[_0xda527f(0x22d)](_0xc57c84,_0xda527f(0x243)+this[_0xda527f(0x1a9)],(_0x5bf337,{session:_0x35fcbe})=>{const _0x1c2912=_0xda527f;if(_0x35fcbe['id']===_0xc57c84[_0x1c2912(0x24a)]){_0x5bf337[_0x1c2912(0x18d)]();const _0x525b27=this[_0x1c2912(0x1a4)][_0x1c2912(0x1ae)][_0x1c2912(0x1b5)](_0x1c2912(0x247))&&this[_0x1c2912(0x1a4)][_0x1c2912(0x1ae)][_0x1c2912(0x1c7)](_0x1c2912(0x247));let _0x3f4cc0=_0x35fcbe[_0x1c2912(0x215)];_0x525b27&&_0x525b27[_0x1c2912(0x187)]&&(_0x3f4cc0=_0x3f4cc0[_0x1c2912(0x23a)](_0xafbefb=>_0x1c2912(0x1c8)!==_0xafbefb)),this[_0x1c2912(0x1a4)][_0x1c2912(0x1ae)][_0x1c2912(0x1c7)](_0x1c2912(0x260))[_0x1c2912(0x238)](_0x3f4cc0,this[_0x1c2912(0x1a9)]);}}),_0xc57c84[_0xda527f(0x1d4)](this[_0xda527f(0x1a9)],_0x5f7541);}[_0x17be9e(0x229)](){const _0x19fe69=_0x17be9e,_0x201191=this[_0x19fe69(0x1a4)][_0x19fe69(0x1a2)][_0x19fe69(0x1b7)];this[_0x19fe69(0x1a4)][_0x19fe69(0x1a2)][_0x19fe69(0x1b7)]=(..._0xc69c7)=>{const _0x1e4e3b=_0x19fe69;if(!_0xc69c7[_0xc69c7[_0x1e4e3b(0x239)]-0x1][_0x1e4e3b(0x1a0)])throw new _0x37d164(_0x1e4e3b(0x24f),this);_0x201191[_0x1e4e3b(0x1bd)](this[_0x1e4e3b(0x1a4)][_0x1e4e3b(0x1a2)],_0xc69c7);};}[_0x17be9e(0x17a)](){const _0x3bd2fd=_0x17be9e;this[_0x3bd2fd(0x1a4)][_0x3bd2fd(0x1a2)]['on'](_0x3bd2fd(0x199),(_0x4d4d5c,[_0xb8b346])=>{const _0x57077e=_0x3bd2fd;if(this[_0x57077e(0x192)][_0x57077e(0x241)])throw new _0x37d164(_0x57077e(0x173),this);_0x4d4d5c[_0x57077e(0x222)](),this[_0x57077e(0x1af)]();const _0x58377d=this[_0x57077e(0x1a4)][_0x57077e(0x1c5)][_0x57077e(0x1c7)](_0x57077e(0x200)),_0x3190d1=this[_0x57077e(0x1df)](_0xb8b346,_0x58377d);0x0==_0x3190d1[_0x57077e(0x239)]&&_0x3190d1[_0x57077e(0x1a1)](new _0x58984e(0x0)),_0x4d4d5c[_0x57077e(0x1e8)]=this[_0x57077e(0x207)](_0x3190d1)[_0x57077e(0x195)](()=>{const _0x451eab=_0x57077e;this[_0x451eab(0x1a4)][_0x451eab(0x1ae)][_0x451eab(0x1c7)](_0x5add02)[_0x451eab(0x167)](this),this[_0x451eab(0x1a4)][_0x451eab(0x1a2)][_0x451eab(0x1c9)](_0x451eab(0x23b));})[_0x57077e(0x234)](_0x4fef49=>this[_0x57077e(0x21a)](_0x57077e(0x1f4),_0x4fef49))[_0x57077e(0x1d2)](()=>this[_0x57077e(0x252)]());},{'priority':_0x3bd2fd(0x164)}),this[_0x3bd2fd(0x1a4)]['on'](_0x3bd2fd(0x1a5),async(_0x5e8911,[_0xec9436,_0x38ad59])=>{const _0x592eb2=_0x3bd2fd;_0x5e8911[_0x592eb2(0x222)]();const _0x369cf9=this[_0x592eb2(0x1a4)][_0x592eb2(0x19e)][_0x592eb2(0x224)][_0x592eb2(0x165)](_0xec9436);if(!this[_0x592eb2(0x190)][_0x592eb2(0x1b5)](_0xec9436)){const _0xcfb84d=_0x38ad59&&_0x38ad59[_0x592eb2(0x1a2)]?_0x38ad59[_0x592eb2(0x1a2)]:'',_0x154479=_0x38ad59&&_0x38ad59[_0x592eb2(0x24b)]?_0x38ad59[_0x592eb2(0x24b)]:{};await this[_0x592eb2(0x25d)](_0xec9436,_0xcfb84d,_0x154479);}this[_0x592eb2(0x1a4)][_0x592eb2(0x19e)][_0x592eb2(0x17c)]({'isUndoable':!0x1},()=>{const _0x2b4e94=_0x592eb2;_0x369cf9[_0x2b4e94(0x1a3)]=!0x0,this[_0x2b4e94(0x1a4)][_0x2b4e94(0x19e)][_0x2b4e94(0x224)][_0x2b4e94(0x1f3)][_0x2b4e94(0x1bb)](_0x369cf9);});},{'priority':_0x3bd2fd(0x164)});}async[_0x17be9e(0x1d9)](_0x58664e){const _0x1f7de7=_0x17be9e,_0xdf6c14=this[_0x1f7de7(0x1a4)][_0x1f7de7(0x1ae)][_0x1f7de7(0x1c7)](_0x375cb9),{connection:_0x187d0}=this[_0x1f7de7(0x1a4)][_0x1f7de7(0x1ae)][_0x1f7de7(0x1c7)](_0x5add02),_0x4ec531=new Set();for(const _0x12bdfc of _0x58664e){const _0x27df55=_0x12bdfc[_0x1f7de7(0x1e6)];_0x27df55&&!_0xdf6c14[_0x1f7de7(0x1b1)](_0x27df55)&&_0x4ec531[_0x1f7de7(0x166)](_0x27df55);}if(0x0===_0x4ec531[_0x1f7de7(0x1c6)])return;const _0x5fafc8=await _0x53befc[_0x1f7de7(0x172)](_0x187d0,Array[_0x1f7de7(0x18b)](_0x4ec531));for(const _0x46cf09 of _0x5fafc8)_0xdf6c14[_0x1f7de7(0x1b1)](_0x46cf09['id'])||_0xdf6c14[_0x1f7de7(0x1ee)](_0x46cf09);}[_0x17be9e(0x1df)](_0x48e2f0,_0x30ba94={}){const _0x156495=_0x17be9e,_0x3e0cad=this[_0x156495(0x1a4)][_0x156495(0x19e)],_0x5b7dba=[];let _0x1e1f31=0x0;const _0x57a2e7=_0x156495(0x1e1)==typeof _0x48e2f0?{'main':_0x48e2f0}:_0x48e2f0;for(const _0x2e4304 of Object[_0x156495(0x248)](_0x57a2e7)){if(!this[_0x156495(0x192)][_0x156495(0x263)][_0x156495(0x1b5)](_0x2e4304))throw new _0x37d164(_0x156495(0x1e3),this);const _0x97b093=this[_0x156495(0x1a4)][_0x156495(0x1a2)][_0x156495(0x225)](_0x57a2e7[_0x2e4304]),_0x3e104c=this[_0x156495(0x192)][_0x156495(0x165)](_0x2e4304),_0x20f4ca=new _0x48d407(_0x3e0cad[_0x156495(0x244)](_0x3e104c,0x0),_0x97b093,_0x1e1f31++);_0x5b7dba[_0x156495(0x1a1)](_0x20f4ca);for(const [_0x8057be,_0xfc4825]of _0x97b093[_0x156495(0x24c)]){const _0x39e9fc=_0x3e0cad[_0x156495(0x221)](_0x3e0cad[_0x156495(0x264)](_0x3e104c,_0xfc4825[_0x156495(0x19b)][_0x156495(0x236)][_0x156495(0x258)]()),_0x3e0cad[_0x156495(0x264)](_0x3e104c,_0xfc4825[_0x156495(0x20e)][_0x156495(0x236)][_0x156495(0x258)]())),_0x13d3e7=new _0x5de32b(_0x8057be,null,_0x39e9fc,_0x3e0cad[_0x156495(0x24c)],!0x0,_0x1e1f31++);_0x5b7dba[_0x156495(0x1a1)](_0x13d3e7);}}if(_0x30ba94)for(const [_0x46fcfd,_0x4bedf8]of Object[_0x156495(0x1f6)](_0x30ba94)){const _0x37d0c5=_0x3e0cad[_0x156495(0x224)][_0x156495(0x165)](_0x46fcfd);if(!_0x37d0c5)throw new _0x37d164(_0x156495(0x254),null);for(const [_0x1de0f5,_0x4257ff]of Object[_0x156495(0x1f6)](_0x4bedf8))if(null!==_0x4257ff){const _0x5185d3=new _0x4bc690(_0x37d0c5,_0x1de0f5,null,_0x4257ff,_0x1e1f31++);_0x5b7dba[_0x156495(0x1a1)](_0x5185d3);}}return _0x5b7dba;}async[_0x17be9e(0x25d)](_0x24ceeb,_0x215067,_0x522982){const _0x3b1849=_0x17be9e;this[_0x3b1849(0x1df)]({[_0x24ceeb]:_0x215067},{[_0x24ceeb]:_0x522982})[_0x3b1849(0x23c)]((_0x2d2bde,_0x305572)=>{const _0x57ed2a=_0x3b1849;_0x2d2bde[_0x57ed2a(0x19c)]=this[_0x57ed2a(0x192)][_0x57ed2a(0x241)]+_0x305572,_0x2d2bde[_0x57ed2a(0x259)]=!0x0,this[_0x57ed2a(0x1ca)](_0x2d2bde);}),this[_0x3b1849(0x1b9)](),await this[_0x3b1849(0x191)]();}async[_0x17be9e(0x245)](_0x6359b8,_0x24641a){const _0x2fbd56=_0x17be9e;let _0x16c4c1;this[_0x2fbd56(0x21c)]=_0x6359b8[_0x2fbd56(0x1b4)];const _0x3504c5=_0x6359b8[_0x2fbd56(0x19f)]&&!_0x6359b8[_0x2fbd56(0x180)],_0x18f869=_0x3504c5?0x0:_0x6359b8[_0x2fbd56(0x1a2)][_0x2fbd56(0x19c)];if(_0x24641a[_0x2fbd56(0x23c)](_0x4837e0=>{const _0x36437b=_0x2fbd56;_0x4837e0[_0x36437b(0x259)]=!0x0,_0x4837e0[_0x36437b(0x1bc)]=_0x6359b8[_0x36437b(0x226)],_0x4837e0[_0x36437b(0x1e6)]=null;}),_0x3504c5)_0x16c4c1=_0x24641a,this[_0x2fbd56(0x25f)](_0x16c4c1,_0x3504c5);else{if(_0x6359b8[_0x2fbd56(0x180)]){const _0x47e5d2=this[_0x2fbd56(0x1df)](_0x6359b8[_0x2fbd56(0x180)]);this[_0x2fbd56(0x192)][_0x2fbd56(0x16a)][_0x2fbd56(0x241)]=-_0x47e5d2[_0x2fbd56(0x239)],_0x47e5d2[_0x2fbd56(0x23c)](_0x426011=>{const _0x49a326=_0x2fbd56;_0x426011[_0x49a326(0x19c)]-=_0x47e5d2[_0x49a326(0x239)],_0x426011[_0x49a326(0x1bc)]=_0x6359b8[_0x49a326(0x226)],_0x426011[_0x49a326(0x259)]=!0x0,_0x426011[_0x49a326(0x1e6)]=null;}),this[_0x2fbd56(0x25f)](_0x47e5d2,!0x0),this[_0x2fbd56(0x208)][_0x2fbd56(0x241)]=-_0x47e5d2[_0x2fbd56(0x239)]+this[_0x2fbd56(0x21c)],this[_0x2fbd56(0x261)](_0x47e5d2);}this[_0x2fbd56(0x192)][_0x2fbd56(0x16a)][_0x2fbd56(0x241)]=_0x18f869,_0x16c4c1=this[_0x2fbd56(0x206)](_0x6359b8[_0x2fbd56(0x1a2)],_0x6359b8[_0x2fbd56(0x175)]),await this[_0x2fbd56(0x1d9)](_0x16c4c1),this[_0x2fbd56(0x25f)](_0x16c4c1,_0x3504c5);}_0x6359b8[_0x2fbd56(0x262)]&&(this[_0x2fbd56(0x1d7)][_0x2fbd56(0x20b)](_0x16c4c1,_0x6359b8[_0x2fbd56(0x262)]),this[_0x2fbd56(0x246)]=_0x6359b8[_0x2fbd56(0x262)]),this[_0x2fbd56(0x208)][_0x2fbd56(0x241)]=_0x18f869+this[_0x2fbd56(0x21c)],this[_0x2fbd56(0x261)](_0x16c4c1),_0x24641a[_0x2fbd56(0x23a)](_0x536c65=>{const _0x128b9e=_0x2fbd56,_0x22d2bc=this[_0x128b9e(0x186)](_0x536c65);return _0x22d2bc&&!this[_0x128b9e(0x190)][_0x128b9e(0x1b5)](_0x22d2bc);})[_0x2fbd56(0x23c)]((_0x2c4b9b,_0x2cc055)=>{const _0x130973=_0x2fbd56;_0x2c4b9b[_0x130973(0x19c)]=this[_0x130973(0x192)][_0x130973(0x241)]+_0x2cc055,this[_0x130973(0x1ca)](_0x2c4b9b);}),this[_0x2fbd56(0x176)]()?(this[_0x2fbd56(0x162)]=0x0,this[_0x2fbd56(0x1b9)](!0x0),await this[_0x2fbd56(0x191)]()):(this[_0x2fbd56(0x18a)]=!0x1,this[_0x2fbd56(0x252)]());}[_0x17be9e(0x21a)](_0x53c0e6,_0x2158b4,_0x5b5ede){const _0x778257=_0x17be9e;throw this[_0x778257(0x18a)]=!0x0,_0x2158b4&&console[_0x778257(0x231)](_0x2158b4),_0x5b5ede&&this[_0x778257(0x1a4)][_0x778257(0x1b0)](_0x778257(0x230)),new _0x37d164(_0x53c0e6,this[_0x778257(0x1a4)]);}[_0x17be9e(0x1ca)](_0x1e2329){const _0xe524ec=_0x17be9e;this[_0xe524ec(0x1de)][_0xe524ec(0x1b5)](_0x1e2329)||(this[_0xe524ec(0x1de)][_0xe524ec(0x166)](_0x1e2329),this[_0xe524ec(0x1c1)][_0xe524ec(0x1a1)](_0x1e2329),this[_0xe524ec(0x23e)]||_0xe524ec(0x20d)==_0x1e2329[_0xe524ec(0x178)]&&!_0x1e2329[_0xe524ec(0x23f)]||this[_0xe524ec(0x1af)]());}[_0x17be9e(0x1b9)](_0x3d2427=!0x1){const _0x15e5f3=_0x17be9e;!_0x3d2427&&this[_0x15e5f3(0x18a)]||(this[_0x15e5f3(0x18a)]=!0x0,clearTimeout(this[_0x15e5f3(0x169)]),this[_0x15e5f3(0x169)]=setTimeout(()=>{const _0x2f4d2f=_0x15e5f3;this[_0x2f4d2f(0x183)]()[_0x2f4d2f(0x195)](_0x4b9204=>{const _0x5740ad=_0x2f4d2f;_0x4b9204&&(this[_0x5740ad(0x252)](),this[_0x5740ad(0x18a)]=!0x1);})[_0x2f4d2f(0x234)](_0x180b45=>{const _0x1facd5=_0x2f4d2f;this[_0x1facd5(0x252)](),this[_0x1facd5(0x18a)]=!0x1,function(_0x2a80d4){const _0x1e6cdc=_0x1facd5;return _0x2a80d4[_0x1e6cdc(0x1d3)][_0x1e6cdc(0x25c)](_0x1e6cdc(0x232))||_0x2a80d4[_0x1e6cdc(0x1d3)][_0x1e6cdc(0x25c)](_0x1e6cdc(0x1f9))||_0x2a80d4[_0x1e6cdc(0x1d3)][_0x1e6cdc(0x25c)](_0x1e6cdc(0x240));}(_0x180b45)||this[_0x1facd5(0x21a)](_0x180b45[_0x1facd5(0x1d3)],_0x180b45,!0x0);});},this[_0x15e5f3(0x162)]));}[_0x17be9e(0x191)](){return new Promise(_0x425e3d=>{const _0x31c5e2=_0x47c3;this['on'](_0x31c5e2(0x228),()=>{_0x425e3d();});});}async[_0x17be9e(0x183)](){const _0x4346e9=_0x17be9e,_0x65edf0=this[_0x4346e9(0x1a4)][_0x4346e9(0x1ae)][_0x4346e9(0x1c7)](_0x9c9056);if(this[_0x4346e9(0x1fe)]()&&(_0x65edf0[_0x4346e9(0x214)](),this[_0x4346e9(0x174)]=!0x1),!this[_0x4346e9(0x176)]())return!0x0;const _0x174f2d=[...this[_0x4346e9(0x1c1)]];for(const _0x5a343a of _0x174f2d)_0x5a343a[_0x4346e9(0x16d)]=this[_0x4346e9(0x192)][_0x4346e9(0x16a)][_0x4346e9(0x21f)](_0x5a343a);const _0x2cc9d5=this[_0x4346e9(0x1d7)][_0x4346e9(0x1ac)](_0x174f2d),_0x5550c4=M++,_0x4c110c=this[_0x4346e9(0x171)](_0x174f2d),_0x57c489=await this[_0x4346e9(0x217)][_0x4346e9(0x213)](_0x4c110c,_0x4c110c[_0x4346e9(0x19c)],_0x2cc9d5);try{return await this[_0x4346e9(0x1ff)](_0x174f2d,_0x57c489,_0x5550c4);}catch(_0x22efec){return this[_0x4346e9(0x21a)](_0x4346e9(0x23d),_0x22efec);}}async[_0x17be9e(0x1ff)](_0x128475,_0x23fd7c,_0xaee269){const _0x290c59=_0x17be9e;if(_0x290c59(0x231)in _0x23fd7c)throw _0x23fd7c[_0x290c59(0x231)];let _0x194ab9=!0x1;if(_0x23fd7c[_0x290c59(0x19f)]){_0x23fd7c[_0x290c59(0x262)]&&(this[_0x290c59(0x246)]=_0x23fd7c[_0x290c59(0x262)]),this[_0x290c59(0x1c1)]=this[_0x290c59(0x1c1)][_0x290c59(0x23a)](_0x362e33=>!_0x128475[_0x290c59(0x1ce)](_0x362e33));for(const _0x32f8e1 of _0x128475)_0x32f8e1[_0x290c59(0x1bc)]=_0x290c59(0x1ef)in _0x23fd7c&&_0x23fd7c[_0x290c59(0x1ef)]||void 0x0;V(_0x128475,_0x23fd7c[_0x290c59(0x241)]-_0x128475[_0x290c59(0x239)]),this[_0x290c59(0x261)](_0x128475);const _0x2e55c0=_0x128475[_0x290c59(0x23a)](_0x2f5b92=>{const _0x55dfdc=_0x290c59;if(!_0x2f5b92[_0x55dfdc(0x259)])return!0x1;const _0x253708=this[_0x55dfdc(0x186)](_0x2f5b92);return _0x253708&&!this[_0x55dfdc(0x190)][_0x55dfdc(0x1b5)](_0x253708);});V(_0x2e55c0,this[_0x290c59(0x192)][_0x290c59(0x241)]),this[_0x290c59(0x25f)](_0x2e55c0),_0x194ab9=!0x0,this[_0x290c59(0x162)]=this[_0x290c59(0x242)];}else{const _0x34af39=this[_0x290c59(0x206)](_0x23fd7c[_0x290c59(0x1a2)],_0x23fd7c[_0x290c59(0x175)])[_0x290c59(0x23a)](_0x23d485=>_0x23d485[_0x290c59(0x19c)]>=this[_0x290c59(0x251)]);_0x34af39[_0x290c59(0x23c)](_0x339747=>this[_0x290c59(0x193)](_0x339747)),this[_0x290c59(0x1c1)]=this[_0x290c59(0x1c1)][_0x290c59(0x23a)](_0x7eb6b2=>!_0x7eb6b2[_0x290c59(0x259)]||!this[_0x290c59(0x190)][_0x290c59(0x1b5)](this[_0x290c59(0x186)](_0x7eb6b2))),this[_0x290c59(0x1c1)][_0x290c59(0x239)]&&V(this[_0x290c59(0x1c1)],this[_0x290c59(0x1c1)][0x0][_0x290c59(0x19c)]),await this[_0x290c59(0x1d9)](_0x34af39),_0x194ab9=this[_0x290c59(0x1ad)](_0x34af39,_0x23fd7c[_0x290c59(0x241)],_0x23fd7c[_0x290c59(0x262)]),this[_0x290c59(0x162)]=Math[_0x290c59(0x218)](this[_0x290c59(0x162)]/0x2);}return _0x194ab9?!this[_0x290c59(0x176)]()||(this[_0x290c59(0x1b9)](!0x0),!0x1):this[_0x290c59(0x21a)](_0x290c59(0x1c4));}[_0x17be9e(0x1ad)](_0x1821b6,_0x116316,_0x335039){const _0x5ad89f=_0x17be9e;try{const _0x68c8ea={'document':this[_0x5ad89f(0x192)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x119fce,operationsB:_0x519145,originalOperations:_0xbb0ea8}=_0x40e279(_0x1821b6,this[_0x5ad89f(0x1c1)],_0x68c8ea);V(_0x119fce,this[_0x5ad89f(0x192)][_0x5ad89f(0x241)]),V(_0x519145,_0x116316);for(const _0x34dae3 of _0x119fce){const _0x1d7740=_0xbb0ea8[_0x5ad89f(0x1c7)](_0x34dae3);_0x34dae3[_0x5ad89f(0x1e6)]=_0x1d7740?_0x1d7740[_0x5ad89f(0x1e6)]:null;}_0x335039&&(this[_0x5ad89f(0x1d7)][_0x5ad89f(0x20b)](_0x1821b6,_0x335039),this[_0x5ad89f(0x246)]=_0x335039),this[_0x5ad89f(0x1c1)]=[..._0x519145],this[_0x5ad89f(0x25f)](_0x119fce),this[_0x5ad89f(0x261)](_0x1821b6);}catch(_0x206c19){return console[_0x5ad89f(0x231)](_0x206c19),!0x1;}return!0x0;}[_0x17be9e(0x25f)](_0x57e37e,_0x38f836=!0x1){const _0x837798=_0x17be9e;this[_0x837798(0x1a4)][_0x837798(0x19e)][_0x837798(0x17c)]({'isUndoable':!0x1,'isLocal':!0x1},_0x147227=>{const _0x192004=_0x837798;for(const _0x2df38c of _0x57e37e)this[_0x192004(0x1de)][_0x192004(0x166)](_0x2df38c),this[_0x192004(0x193)](_0x2df38c),_0x147227[_0x192004(0x181)][_0x192004(0x266)](_0x2df38c),this[_0x192004(0x1a4)][_0x192004(0x19e)][_0x192004(0x1e5)](_0x2df38c);});}[_0x17be9e(0x193)](_0x1b1a41){const _0x258e37=_0x17be9e,_0x5ce768=this[_0x258e37(0x186)](_0x1b1a41);_0x5ce768&&this[_0x258e37(0x190)][_0x258e37(0x166)](_0x5ce768);}[_0x17be9e(0x186)](_0x5230ed){const _0x2f7c0b=_0x17be9e;let _0x3d4734,_0x57f997;switch(_0x5230ed[_0x2f7c0b(0x178)]){case _0x2f7c0b(0x1f1):_0x3d4734=_0x5230ed[_0x2f7c0b(0x1d1)][_0x2f7c0b(0x1cb)];break;case _0x2f7c0b(0x20d):if(_0x57f997=_0x5230ed[_0x2f7c0b(0x182)],!_0x57f997)return null;_0x3d4734=_0x57f997[_0x2f7c0b(0x1cb)];break;case _0x2f7c0b(0x237):_0x3d4734=_0x5230ed[_0x2f7c0b(0x1cb)];break;case _0x2f7c0b(0x1f7):_0x3d4734=_0x5230ed[_0x2f7c0b(0x1b3)];break;case _0x2f7c0b(0x1f0):_0x3d4734=_0x5230ed[_0x2f7c0b(0x1db)][_0x2f7c0b(0x1cb)];break;default:return null;}return _0x3d4734[_0x2f7c0b(0x21e)];}[_0x17be9e(0x261)](_0x3b1a7e){const _0x5c98fc=_0x17be9e;_0x3b1a7e[_0x5c98fc(0x23c)](_0x552e7b=>{const _0x4cebc7=_0x5c98fc,_0x40f09d=_0x552e7b[_0x4cebc7(0x18c)]();_0x40f09d[_0x4cebc7(0x1e6)]=_0x552e7b[_0x4cebc7(0x1e6)],_0x40f09d[_0x4cebc7(0x259)]=!!_0x552e7b[_0x4cebc7(0x259)],_0x40f09d[_0x4cebc7(0x1bc)]=_0x552e7b[_0x4cebc7(0x1bc)],_0x40f09d[_0x4cebc7(0x19c)]+=this[_0x4cebc7(0x21c)],_0x552e7b[_0x4cebc7(0x16c)]&&this[_0x4cebc7(0x1a7)][_0x4cebc7(0x166)](_0x40f09d),this[_0x4cebc7(0x208)][_0x4cebc7(0x266)](_0x40f09d);});}[_0x17be9e(0x188)](_0x2d8b59){const _0x316514=_0x17be9e,_0xc25416=this[_0x316514(0x1a4)][_0x316514(0x1ae)][_0x316514(0x1c7)](_0x316514(0x249)),_0x14dfa9=this[_0x316514(0x1a4)][_0x316514(0x1fa)];_0x2d8b59||(_0x2d8b59=_0x523e8d(_0x14dfa9,_0x316514(0x223))),_0xc25416[_0x316514(0x250)](_0x2d8b59,{'title':_0x523e8d(_0x14dfa9,_0x316514(0x205)),'namespace':_0x316514(0x1dd)}),this[_0x316514(0x25b)]=!0x0,clearTimeout(this[_0x316514(0x169)]),this[_0x316514(0x1c1)]=[],this[_0x316514(0x1a4)][_0x316514(0x1ae)][_0x316514(0x1c7)](_0x5add02)[_0x316514(0x1fc)]();}[_0x17be9e(0x1af)](){const _0x396064=_0x17be9e;this[_0x396064(0x23e)]||(this[_0x396064(0x23e)]=this[_0x396064(0x1a4)][_0x396064(0x1ae)][_0x396064(0x1c7)](_0x49e571)[_0x396064(0x166)](_0x523e8d(this[_0x396064(0x1a4)][_0x396064(0x1fa)],_0x396064(0x22f))));}[_0x17be9e(0x252)](){const _0x2f9296=_0x17be9e;this[_0x2f9296(0x23e)]&&(this[_0x2f9296(0x1a4)][_0x2f9296(0x1ae)][_0x2f9296(0x1c7)](_0x49e571)[_0x2f9296(0x1cf)](this[_0x2f9296(0x23e)]),this[_0x2f9296(0x23e)]=null);}[_0x17be9e(0x171)](_0x4b37da){const _0x36adfd=_0x17be9e,_0x4fe38d=_0x4b37da[_0x36adfd(0x20c)](_0x5d5c13=>_0x5d5c13[_0x36adfd(0x1c3)]());return this[_0x36adfd(0x257)][_0x36adfd(0x1e7)](_0x4fe38d);}[_0x17be9e(0x206)](_0x27131a,_0x4f2859){const _0xef39f9=_0x17be9e;return this[_0xef39f9(0x257)][_0xef39f9(0x1b2)](_0x27131a)[_0xef39f9(0x20c)]((_0x31f1ef,_0x54808c)=>{const _0xae302f=_0xef39f9,_0x5ec88d=_0xae302f(0x199)==_0x4f2859[_0x54808c][_0xae302f(0x178)];if(_0xae302f(0x253)==_0x31f1ef[_0xae302f(0x1f5)]){const _0x25d235=_0x31f1ef[_0xae302f(0x1d1)][_0xae302f(0x1cb)];!this[_0xae302f(0x192)][_0xae302f(0x165)](_0x25d235)&&(this[_0xae302f(0x192)][_0xae302f(0x1c2)](_0xae302f(0x1cc),_0x25d235)[_0xae302f(0x16b)]=!0x1);}const _0x1624d4=_0x4131a3[_0xae302f(0x1fd)](_0x31f1ef,this[_0xae302f(0x192)]);return _0x1624d4[_0xae302f(0x16d)]=_0x31f1ef[_0xae302f(0x16d)],_0x1624d4[_0xae302f(0x259)]=_0x5ec88d,_0x1624d4[_0xae302f(0x1e6)]=_0x5ec88d?null:_0x4f2859[_0x54808c][_0xae302f(0x25e)],_0x1624d4[_0xae302f(0x16c)]=_0xae302f(0x170)===_0x4f2859[_0x54808c][_0xae302f(0x178)],_0x1624d4[_0xae302f(0x1bc)]=_0x4f2859[_0x54808c][_0xae302f(0x1bc)],_0x1624d4;});}[_0x17be9e(0x20f)](){const _0x51fd28=_0x17be9e;this[_0x51fd28(0x174)]=!0x0,this[_0x51fd28(0x1fe)]()?this[_0x51fd28(0x1b9)]():this[_0x51fd28(0x174)]=!0x1;}[_0x17be9e(0x1fe)](){const _0x1d12e8=_0x17be9e,_0x2101d2=this[_0x1d12e8(0x1a4)][_0x1d12e8(0x1ae)][_0x1d12e8(0x1c7)](_0x4d155e)[_0x1d12e8(0x1ab)][_0x1d12e8(0x1c7)](this[_0x1d12e8(0x1a9)]);return!this[_0x1d12e8(0x1a4)][_0x1d12e8(0x1a8)]&&!!_0x2101d2&&_0x2101d2[_0x1d12e8(0x239)]>0x1&&this[_0x1d12e8(0x174)];}[_0x17be9e(0x176)](){const _0x329d76=_0x17be9e;return this[_0x329d76(0x1c1)][_0x329d76(0x239)]>0x0||this[_0x329d76(0x1fe)]();}}l[_0x17be9e(0x1ea)]=_0x56ff6c;function _0x47c3(_0xccee4d,_0x5607c1){const _0x345da1=_0x345d();return _0x47c3=function(_0x47c34c,_0x2cbb69){_0x47c34c=_0x47c34c-0x161;let _0x14f362=_0x345da1[_0x47c34c];return _0x14f362;},_0x47c3(_0xccee4d,_0x5607c1);}export default l;class z extends Error{}function V(_0xdad613,_0x602bef){const _0x46071f=_0x17be9e;for(const _0x513c87 of _0xdad613)_0x513c87[_0x46071f(0x19c)]=_0x602bef++;}class W{constructor(_0x25d33f){const _0x3c74da=_0x17be9e;this[_0x3c74da(0x1f2)]=_0x25d33f,this[_0x3c74da(0x17f)]=new WeakMap();}[_0x17be9e(0x1ac)](_0x1570ba){const _0x2ef6b6=_0x17be9e;let _0x395971=_0x1570ba[_0x2ef6b6(0x239)];for(;_0x395971--;){const _0x37f6e4=_0x1570ba[_0x395971];if(!this[_0x2ef6b6(0x1f2)][_0x2ef6b6(0x1b5)](_0x37f6e4)){if(!this[_0x2ef6b6(0x17f)][_0x2ef6b6(0x1b5)](_0x37f6e4)){const _0x18ed79=_0x416b29()[_0x2ef6b6(0x258)](0x1,0x12);this[_0x2ef6b6(0x17f)][_0x2ef6b6(0x1b7)](_0x37f6e4,_0x18ed79);}return this[_0x2ef6b6(0x17f)][_0x2ef6b6(0x1c7)](_0x37f6e4);}}}[_0x17be9e(0x20b)](_0x1d08f0,_0x60c6d3){const _0x33eebf=_0x17be9e;if(!_0x60c6d3)return;let _0x5d67c1=_0x1d08f0[_0x33eebf(0x239)];for(;_0x5d67c1--;){const _0xa5ed53=_0x1d08f0[_0x5d67c1];this[_0x33eebf(0x1f2)][_0x33eebf(0x1b5)](_0xa5ed53)||this[_0x33eebf(0x17f)][_0x33eebf(0x1b7)](_0xa5ed53,_0x60c6d3);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x148f(_0x382753,_0x4b4efb){const _0x47f491=_0x47f4();return _0x148f=function(_0x148f66,_0x511e36){_0x148f66=_0x148f66-0x1ad;let _0xa0140e=_0x47f491[_0x148f66];return _0xa0140e;},_0x148f(_0x382753,_0x4b4efb);}const _0x39ebd3=_0x148f;(function(_0x197c44,_0x1f848b){const _0xa2a253=_0x148f,_0xfb17e8=_0x197c44();while(!![]){try{const _0x4538e0=-parseInt(_0xa2a253(0x1c8))/0x1*(parseInt(_0xa2a253(0x1ba))/0x2)+-parseInt(_0xa2a253(0x1e0))/0x3*(parseInt(_0xa2a253(0x1c4))/0x4)+-parseInt(_0xa2a253(0x1e1))/0x5*(parseInt(_0xa2a253(0x1e7))/0x6)+-parseInt(_0xa2a253(0x1cb))/0x7+-parseInt(_0xa2a253(0x1c2))/0x8+-parseInt(_0xa2a253(0x1c9))/0x9*(-parseInt(_0xa2a253(0x1c6))/0xa)+-parseInt(_0xa2a253(0x1b4))/0xb*(-parseInt(_0xa2a253(0x1bd))/0xc);if(_0x4538e0===_0x1f848b)break;else _0xfb17e8['push'](_0xfb17e8['shift']());}catch(_0x2730d4){_0xfb17e8['push'](_0xfb17e8['shift']());}}}(_0x47f4,0x21c49));import{ContextPlugin as _0x51c6cb}from'ckeditor5/src/core.js';import{Collection as _0x32b617,CKEditorError as _0x43201f}from'ckeditor5/src/utils.js';import _0x531e86 from'./websocketgateway.js';function _0x47f4(){const _0x132937=['plugins','get','_users','unregister','getUser','channelSessions','isPremiumPlugin','fire','clear','register','requires','size','state','change:state','_handleSessionAdd','init','sessionAdd:','33JqVQmg','365OwMTQa','isMe','isOfficialPlugin','defineMe','context','_createUser','210sqfPoG','getUserBySessionId','allConnectedUsers','has','remove','channelConnectedUsers','set','sessions-unregister-not-exist','Sessions','mySessionId','_registeredSessions','_handleSessionRemove','assign','4830463AMbtoV','role','stopListening','addUser','connected','add','14616tOSJRp','listenTo','sessions-register-already-registered','12XooQfo','connection','delete','sessionId','_uniqueUsersCount','1565848TifvAO','values','11192vRJZEO','user','1353010wadldu','getUserSessions','30bNBtzG','18NgaVXh','pluginName','861826pwtyZl','getUserRole','orderNumber','forEach'];_0x47f4=function(){return _0x132937;};return _0x47f4();}import{Users as _0x56318b}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x51c6cb{static get[_0x39ebd3(0x1ca)](){const _0x12d8d7=_0x39ebd3;return _0x12d8d7(0x1af);}static get[_0x39ebd3(0x1e3)](){return!0x0;}static get[_0x39ebd3(0x1d5)](){return!0x0;}static get[_0x39ebd3(0x1d9)](){return[_0x531e86,_0x56318b];}constructor(_0x417263){const _0x16b390=_0x39ebd3;super(_0x417263),this[_0x16b390(0x1d4)]=new Map(),this[_0x16b390(0x1ec)]=new Map(),this[_0x16b390(0x1e9)]=new _0x32b617(),this[_0x16b390(0x1b1)]=new Map(),this[_0x16b390(0x1c1)]=0x0,this[_0x16b390(0x1d1)]=this[_0x16b390(0x1e5)][_0x16b390(0x1cf)][_0x16b390(0x1d0)](_0x56318b);}[_0x39ebd3(0x1de)](){const _0x5bde22=_0x39ebd3,_0x4cff0e=this[_0x5bde22(0x1e5)][_0x5bde22(0x1cf)][_0x5bde22(0x1d0)](_0x531e86);this[_0x5bde22(0x1bb)](_0x4cff0e,_0x5bde22(0x1dc),(_0x5f2f4e,_0x3c8f35,_0x125996)=>{const _0x29afd2=_0x5bde22;if(_0x29afd2(0x1b8)!==_0x125996)this[_0x29afd2(0x1d4)][_0x29afd2(0x1ce)](_0x1fb5c1=>_0x1fb5c1[_0x29afd2(0x1d7)]()),this[_0x29afd2(0x1ec)][_0x29afd2(0x1ce)](_0x111d8c=>_0x111d8c[_0x29afd2(0x1d7)]()),this[_0x29afd2(0x1e9)][_0x29afd2(0x1d7)]();else{for(const [_0x1da417,_0x314e62]of this[_0x29afd2(0x1b1)])for(const _0x1fedb9 of _0x314e62)this[_0x29afd2(0x1dd)](_0x1da417,_0x1fedb9);}}),this[_0x5bde22(0x1e6)](_0x4cff0e[_0x5bde22(0x1be)]['me'],!0x0);}[_0x39ebd3(0x1d8)](_0x412419,_0x1fcecd){const _0x33b5ef=_0x39ebd3;if(this[_0x33b5ef(0x1b1)][_0x33b5ef(0x1ea)](_0x412419))throw new _0x43201f(_0x33b5ef(0x1bc),null,{'channelId':_0x412419});this[_0x33b5ef(0x1b1)][_0x33b5ef(0x1ad)](_0x412419,_0x1fcecd),this[_0x33b5ef(0x1d4)][_0x33b5ef(0x1ad)](_0x412419,new _0x32b617()),this[_0x33b5ef(0x1ec)][_0x33b5ef(0x1ad)](_0x412419,new _0x32b617()),this[_0x33b5ef(0x1bb)](_0x1fcecd,_0x33b5ef(0x1b9),(_0x325d0b,_0xc3e9a7)=>this[_0x33b5ef(0x1dd)](_0x412419,_0xc3e9a7)),this[_0x33b5ef(0x1bb)](_0x1fcecd,_0x33b5ef(0x1eb),(_0x194032,_0x559099)=>this[_0x33b5ef(0x1b2)](_0x412419,_0x559099));for(const _0x51575d of _0x1fcecd)this[_0x33b5ef(0x1dd)](_0x412419,_0x51575d);}[_0x39ebd3(0x1d2)](_0x54a263){const _0x436f16=_0x39ebd3;if(!this[_0x436f16(0x1b1)][_0x436f16(0x1ea)](_0x54a263))throw new _0x43201f(_0x436f16(0x1ae),null,{'channelId':_0x54a263});const _0x56c3d4=this[_0x436f16(0x1b1)][_0x436f16(0x1d0)](_0x54a263);this[_0x436f16(0x1b6)](_0x56c3d4);for(const _0x418302 of _0x56c3d4)_0x436f16(0x1b8)===this[_0x436f16(0x1e5)][_0x436f16(0x1cf)][_0x436f16(0x1d0)](_0x531e86)[_0x436f16(0x1db)]&&this[_0x436f16(0x1b2)](_0x54a263,_0x418302);this[_0x436f16(0x1b1)][_0x436f16(0x1bf)](_0x54a263),this[_0x436f16(0x1d4)][_0x436f16(0x1bf)](_0x54a263),this[_0x436f16(0x1ec)][_0x436f16(0x1bf)](_0x54a263);}get[_0x39ebd3(0x1b0)](){const _0x26f8fc=_0x39ebd3;return this[_0x26f8fc(0x1e5)][_0x26f8fc(0x1cf)][_0x26f8fc(0x1d0)](_0x531e86)[_0x26f8fc(0x1be)][_0x26f8fc(0x1c0)];}[_0x39ebd3(0x1e8)](_0x5a60ba){const _0x29db23=_0x39ebd3;for(const _0x5e769b of this[_0x29db23(0x1d4)][_0x29db23(0x1c3)]())for(const _0x4df014 of _0x5e769b)if(_0x4df014['id']===_0x5a60ba)return _0x4df014[_0x29db23(0x1c5)];}[_0x39ebd3(0x1c7)](_0x11558d,_0x3be935){const _0x306b04=_0x39ebd3,_0x321e8f=_0x3be935?[this[_0x306b04(0x1d4)][_0x306b04(0x1d0)](_0x3be935)]:this[_0x306b04(0x1d4)][_0x306b04(0x1c3)](),_0xe0c89b=new Set();for(const _0x1fbd37 of _0x321e8f)for(const _0x55c1b9 of _0x1fbd37)_0x55c1b9[_0x306b04(0x1c5)]['id']===_0x11558d['id']&&_0xe0c89b[_0x306b04(0x1b9)](_0x55c1b9['id']);return _0xe0c89b;}[_0x39ebd3(0x1cc)](_0x339a04){const _0x2adecd=_0x39ebd3;for(const _0x4dc017 of this[_0x2adecd(0x1d4)][_0x2adecd(0x1c3)]())for(const _0x4e6c96 of _0x4dc017)if(_0x4e6c96[_0x2adecd(0x1c5)]===_0x339a04)return _0x4e6c96[_0x2adecd(0x1b5)];}[_0x39ebd3(0x1dd)](_0x397af2,_0x40e3f0){const _0x5567ef=_0x39ebd3;if(_0x5567ef(0x1b8)!==this[_0x5567ef(0x1e5)][_0x5567ef(0x1cf)][_0x5567ef(0x1d0)](_0x531e86)[_0x5567ef(0x1db)])return;const _0x2e5bb2=_0x40e3f0[_0x5567ef(0x1c5)],_0x2f0b3f=this[_0x5567ef(0x1d1)][_0x5567ef(0x1d3)](_0x2e5bb2['id'])||this[_0x5567ef(0x1e6)](_0x2e5bb2),_0x46a7dc=Object[_0x5567ef(0x1b3)]({},_0x40e3f0,{'user':_0x2f0b3f});this[_0x5567ef(0x1d4)][_0x5567ef(0x1d0)](_0x397af2)[_0x5567ef(0x1b9)](_0x46a7dc);const _0x568616=this[_0x5567ef(0x1ec)][_0x5567ef(0x1d0)](_0x397af2);_0x568616[_0x5567ef(0x1ea)](_0x2f0b3f['id'])||_0x568616[_0x5567ef(0x1b9)](_0x2f0b3f),this[_0x5567ef(0x1e9)][_0x5567ef(0x1ea)](_0x2f0b3f['id'])||this[_0x5567ef(0x1e9)][_0x5567ef(0x1b9)](_0x2f0b3f,_0x2f0b3f[_0x5567ef(0x1e2)]?0x0:void 0x0),this[_0x5567ef(0x1d6)](_0x5567ef(0x1df)+_0x397af2,{'channelId':_0x397af2,'session':_0x46a7dc});}[_0x39ebd3(0x1b2)](_0x9e0e05,_0x408d5e){const _0x3baa99=_0x39ebd3;if(_0x3baa99(0x1b8)!==this[_0x3baa99(0x1e5)][_0x3baa99(0x1cf)][_0x3baa99(0x1d0)](_0x531e86)[_0x3baa99(0x1db)])return;const _0x130afd=this[_0x3baa99(0x1ec)][_0x3baa99(0x1d0)](_0x9e0e05),_0x1ad2a1=_0x408d5e[_0x3baa99(0x1c5)];_0x1ad2a1['id']&&(this[_0x3baa99(0x1d4)][_0x3baa99(0x1d0)](_0x9e0e05)[_0x3baa99(0x1eb)](_0x408d5e['id']),_0x130afd[_0x3baa99(0x1ea)](_0x1ad2a1['id'])&&!this[_0x3baa99(0x1c7)](_0x1ad2a1,_0x9e0e05)[_0x3baa99(0x1da)]&&_0x130afd[_0x3baa99(0x1eb)](_0x1ad2a1['id']),this[_0x3baa99(0x1e9)][_0x3baa99(0x1d0)](_0x1ad2a1['id'])&&!this[_0x3baa99(0x1c7)](_0x1ad2a1)[_0x3baa99(0x1da)]&&this[_0x3baa99(0x1e9)][_0x3baa99(0x1eb)](_0x1ad2a1['id']));}[_0x39ebd3(0x1e6)](_0xb7bd1d,_0x4e0490){const _0x330060=_0x39ebd3,_0x414fe9=this[_0x330060(0x1d1)][_0x330060(0x1b7)](_0xb7bd1d);return _0x4e0490&&this[_0x330060(0x1d1)][_0x330060(0x1e4)](_0xb7bd1d['id']),_0x414fe9[_0x330060(0x1cd)]=this[_0x330060(0x1c1)]++,_0x414fe9;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x152671=_0x5cab;(function(_0x8676b0,_0xf30d44){const _0x2c1253=_0x5cab,_0x4026b7=_0x8676b0();while(!![]){try{const _0xa5d760=-parseInt(_0x2c1253(0x177))/0x1*(parseInt(_0x2c1253(0x180))/0x2)+-parseInt(_0x2c1253(0x160))/0x3*(-parseInt(_0x2c1253(0x154))/0x4)+parseInt(_0x2c1253(0x15b))/0x5+-parseInt(_0x2c1253(0x1a5))/0x6*(-parseInt(_0x2c1253(0x15e))/0x7)+-parseInt(_0x2c1253(0x1ad))/0x8+parseInt(_0x2c1253(0x164))/0x9+-parseInt(_0x2c1253(0x16e))/0xa*(parseInt(_0x2c1253(0x141))/0xb);if(_0xa5d760===_0xf30d44)break;else _0x4026b7['push'](_0x4026b7['shift']());}catch(_0x599e3e){_0x4026b7['push'](_0x4026b7['shift']());}}}(_0x5d05,0x675c6));import{Plugin as _0x1224ab}from'ckeditor5/src/core.js';import{global as _0x3d48c3,DomEmitterMixin as _0x294048}from'ckeditor5/src/utils.js';import _0x2696f7 from'./sessions.js';function _0x5d05(){const _0x3d9016=['ck-user__marker_hovered','markerToHighlight','80pVmyaB','_createdBatches','fromRange','getUserBySessionId','render','view','selection','mySessionId','detach','5CUSqkl','commands','Escape','innerHTML','addEventListener','get','getMarkerClass','pluginName','createRange','10484EjTvin','_domEmitter','oldRange','model','conversion','set','mouseleave','markerRange','toDomElement','remove','</span>','markerName','element','isOfficialPlugin','change:range','checkChild','isInline','requires','classList','enqueueChange','getFirstRange','applyOperation','marker','<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>','start','for','hasDomSelection','delete','getCustomProperty','user:range:','getStart','isObject','afterInit','markers','UserMarkers','orderNumber','end','6dsBsIp','parent','update:user:range','change','user:range','markerToElement','setCustomProperty','ck-user__marker\x20','1636376wadRLe','ck-user__selection','getPositions','createUserMarkerOperations','createUIElement','clear','schema','color','removeClass','contenteditable','isPremiumPlugin','mapper','user:','editingDowncast','addMarker','userPositionMarker','init','markerNameToElements','reconvertMarker','getContainedElement','editor','user:position:','document','getNearestSelectionRange','tableCell','639584PMtHPL','getSelectionClass','startsWith','isSimilar','listenTo','keydown','highest','stopListening','batch','isCollapsed','hasContent','user:position','mouseenter','destroy','getAttribute','isLimit','data-session-id','deletionPosition','getRange','9392HAGWOA','$graveyard','type','root','editing','rootName','size','2268265umdTzW','$text','split','1804096gJTtVe','span','474jpbykL','updateMarker','has','name','332190eYxPeN','newRange','undo','nodeAfter','add','removeMarker','toRange','plugins'];_0x5d05=function(){return _0x3d9016;};return _0x5d05();}import{LiveRange as _0x54e66f}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x5cab(_0x4d9870,_0x163102){const _0x5d05fc=_0x5d05();return _0x5cab=function(_0x5cab8e,_0xebca62){_0x5cab8e=_0x5cab8e-0x138;let _0x30d174=_0x5d05fc[_0x5cab8e];return _0x30d174;},_0x5cab(_0x4d9870,_0x163102);}export default class H extends _0x1224ab{constructor(){const _0x2baeae=_0x5cab;super(...arguments),this[_0x2baeae(0x181)]=new(_0x294048())();}static get[_0x152671(0x191)](){return[_0x2696f7];}static get[_0x152671(0x17e)](){const _0x26d71a=_0x152671;return _0x26d71a(0x1a2);}static get[_0x152671(0x18d)](){return!0x0;}static get[_0x152671(0x1b7)](){return!0x0;}[_0x152671(0x138)](){const _0x2a59b8=_0x152671,_0x416e83=this[_0x2a59b8(0x13c)],_0x1868b5=_0x416e83[_0x2a59b8(0x16b)][_0x2a59b8(0x17c)](_0x2696f7);_0x416e83[_0x2a59b8(0x184)][_0x2a59b8(0x199)](_0x2a59b8(0x1ba))[_0x2a59b8(0x1aa)]({'model':_0x2a59b8(0x14c),'view':(_0x20fddc,{writer:_0x41d9d2})=>function(_0x2430db,_0x559505,_0x5ad2ec,_0x48aa12){const _0x4e0036=_0x2a59b8,_0x39aa2a=_0x2430db[_0x4e0036(0x18b)][_0x4e0036(0x15d)](':')[0x2],_0x70e968=_0x5ad2ec[_0x4e0036(0x171)](_0x39aa2a);if(!_0x70e968||_0x39aa2a===_0x5ad2ec[_0x4e0036(0x175)])return;if(!_0x48aa12[_0x4e0036(0x183)][_0x4e0036(0x1b3)][_0x4e0036(0x18f)](_0x2430db[_0x4e0036(0x187)][_0x4e0036(0x198)],_0x4e0036(0x15c)))return;const _0x4f6063={'class':_0x4e0036(0x1ac)+_0x70e968[_0x4e0036(0x1b4)][_0x4e0036(0x17d)](),'data-name':_0x70e968[_0x4e0036(0x163)],'data-session-id':_0x39aa2a},_0x12e765=_0x48aa12[_0x4e0036(0x183)][_0x4e0036(0x1a1)][_0x4e0036(0x17c)](_0x2430db[_0x4e0036(0x18b)]),_0x3af663=_0x12e765[_0x4e0036(0x19e)](),_0x2bd4ca=_0x3af663[_0x4e0036(0x167)],_0x3318ad=_0x48aa12[_0x4e0036(0x183)][_0x4e0036(0x1b3)];if(_0x2bd4ca&&_0x3318ad[_0x4e0036(0x19f)](_0x2bd4ca)&&_0x3318ad[_0x4e0036(0x190)](_0x2bd4ca)&&!_0x48aa12[_0x4e0036(0x183)][_0x4e0036(0x1a1)][_0x4e0036(0x17c)](_0x4e0036(0x19d)+_0x39aa2a)[_0x4e0036(0x153)]()[_0x4e0036(0x14a)])return;const _0x5067e0=_0x3af663[_0x4e0036(0x1a6)];return _0x48aa12[_0x4e0036(0x183)][_0x4e0036(0x1b3)][_0x4e0036(0x150)](_0x5067e0)&&!_0x48aa12[_0x4e0036(0x183)][_0x4e0036(0x14b)](_0x5067e0)&&(_0x4f6063[_0x4e0036(0x1b6)]=!0x1),function(_0x1f60e4,_0x2138ee,_0x140f7b){const _0x53ccc7=_0x4e0036,_0x1dbfea=_0x1f60e4[_0x53ccc7(0x1b1)](_0x53ccc7(0x15f),_0x2138ee);return _0x1f60e4[_0x53ccc7(0x1ab)](_0x53ccc7(0x1bc),!0x0,_0x1dbfea),_0x1dbfea[_0x53ccc7(0x172)]=function(_0x2ec701){const _0x28e37a=_0x53ccc7,_0x31ab9d=this[_0x28e37a(0x188)](_0x2ec701);return _0x31ab9d[_0x28e37a(0x17a)]=_0x28e37a(0x197)+_0x140f7b[_0x28e37a(0x163)]+_0x28e37a(0x18a),_0x31ab9d[_0x28e37a(0x17b)](_0x28e37a(0x14d),()=>{const _0x53022b=_0x28e37a;_0x31ab9d[_0x53022b(0x192)][_0x53022b(0x168)](_0x53022b(0x16c));}),_0x31ab9d[_0x28e37a(0x17b)](_0x28e37a(0x186),()=>{const _0x552bca=_0x28e37a;_0x31ab9d[_0x552bca(0x192)][_0x552bca(0x189)](_0x552bca(0x16c));}),_0x31ab9d;},_0x1dbfea[_0x53ccc7(0x144)]=function(_0x2e8605){const _0x1a1a5e=_0x53ccc7;return!(!this[_0x1a1a5e(0x19c)](_0x1a1a5e(0x1bc))||!_0x2e8605[_0x1a1a5e(0x19c)](_0x1a1a5e(0x1bc))||this[_0x1a1a5e(0x14f)](_0x1a1a5e(0x151))!=_0x2e8605[_0x1a1a5e(0x14f)](_0x1a1a5e(0x151)));},_0x1dbfea;}(_0x559505,_0x4f6063,_0x70e968);}(_0x20fddc,_0x41d9d2,_0x1868b5,_0x416e83)}),_0x416e83[_0x2a59b8(0x184)][_0x2a59b8(0x199)](_0x2a59b8(0x1ba))[_0x2a59b8(0x16d)]({'model':_0x2a59b8(0x1a9),'view':_0x1566b4=>function(_0x1801a5,_0x45a8a9){const _0x1e0be4=_0x2a59b8,_0x5585a2=_0x1801a5[_0x1e0be4(0x18b)][_0x1e0be4(0x15d)](':')[0x2];if(_0x5585a2===_0x45a8a9[_0x1e0be4(0x175)])return null;const _0x51e97e=_0x45a8a9[_0x1e0be4(0x171)](_0x5585a2);if(!_0x51e97e)return{'id':_0x5585a2,'classes':[]};return{'id':_0x5585a2,'classes':[_0x1e0be4(0x1ae),_0x51e97e[_0x1e0be4(0x1b4)][_0x1e0be4(0x142)]()],'attributes':{'data-session-id':_0x5585a2},'priority':0x7d0+_0x51e97e[_0x1e0be4(0x1a3)]};}(_0x1566b4,_0x1868b5)}),function(_0x120a02){const _0x5eaaab=_0x2a59b8,_0x2dea2e=_0x120a02[_0x5eaaab(0x183)],_0x35d0c2=new Map(),_0x51bffe=_0x120a02[_0x5eaaab(0x16b)][_0x5eaaab(0x17c)](_0x2696f7);_0x2dea2e[_0x5eaaab(0x1a1)]['on'](_0x5eaaab(0x1a7),(_0x299d96,_0x211a94,_0x19bd37,_0x493ffe)=>{const _0x321572=_0x5eaaab;if(!_0x493ffe&&_0x35d0c2[_0x321572(0x17c)](_0x211a94[_0x321572(0x163)]))return _0x35d0c2[_0x321572(0x17c)](_0x211a94[_0x321572(0x163)])[_0x321572(0x176)](),void _0x35d0c2[_0x321572(0x19b)](_0x211a94[_0x321572(0x163)]);const _0x317664=_0x211a94[_0x321572(0x163)][_0x321572(0x15d)](':')[0x2];if(_0x317664===_0x51bffe[_0x321572(0x175)])return;const _0x5f3183=_0x321572(0x13d)+_0x317664;_0x2dea2e[_0x321572(0x1a1)][_0x321572(0x162)](_0x5f3183)&&_0x120a02[_0x321572(0x158)][_0x321572(0x13a)](_0x5f3183),_0x211a94['on'](_0x321572(0x18e),(_0x24aaf8,_0x489f7a,_0x39c7ce)=>{const _0x1bc402=_0x321572;if(_0x1bc402(0x155)!=_0x489f7a[_0x1bc402(0x157)][_0x1bc402(0x159)]&&_0x1bc402(0x155)==_0x211a94[_0x1bc402(0x153)]()[_0x1bc402(0x157)][_0x1bc402(0x159)]&&!_0x35d0c2[_0x1bc402(0x162)](_0x211a94[_0x1bc402(0x163)])){const _0x169dcf=_0x2dea2e[_0x1bc402(0x1b3)][_0x1bc402(0x13f)](_0x39c7ce[_0x1bc402(0x152)]);if(_0x169dcf){const _0x403042=_0x54e66f[_0x1bc402(0x170)](_0x169dcf);_0x35d0c2[_0x1bc402(0x185)](_0x211a94[_0x1bc402(0x163)],_0x403042),_0x403042['on'](_0x1bc402(0x18e),(_0x38e758,_0x258db5,_0x7421da)=>{const _0x543cf8=_0x1bc402;if(_0x543cf8(0x155)==_0x403042[_0x543cf8(0x157)][_0x543cf8(0x159)]){const _0x405410=_0x2dea2e[_0x543cf8(0x1b3)][_0x543cf8(0x13f)](_0x7421da[_0x543cf8(0x152)]);_0x405410?(_0x403042[_0x543cf8(0x198)]=_0x405410[_0x543cf8(0x198)],_0x403042[_0x543cf8(0x1a4)]=_0x405410[_0x543cf8(0x1a4)]):(_0x35d0c2[_0x543cf8(0x19b)](_0x211a94[_0x543cf8(0x163)]),_0x403042[_0x543cf8(0x176)]());}});}}});}),_0x2dea2e[_0x5eaaab(0x13e)]['on'](_0x5eaaab(0x1a8),()=>{const _0x5133b9=_0x5eaaab;_0x35d0c2[_0x5133b9(0x15a)]>0x0&&_0x2dea2e[_0x5133b9(0x193)]({'isUndoable':!0x1},_0x47e24f=>{const _0x1f8530=_0x5133b9;for(const [_0x51a907,_0x5388d3]of _0x35d0c2)_0x1f8530(0x155)==_0x2dea2e[_0x1f8530(0x1a1)][_0x1f8530(0x17c)](_0x51a907)[_0x1f8530(0x153)]()[_0x1f8530(0x157)][_0x1f8530(0x159)]&&(re(_0x51a907[_0x1f8530(0x15d)](':')[0x2],_0x5388d3[_0x1f8530(0x16a)](),_0x2dea2e,_0x47e24f),_0x5388d3[_0x1f8530(0x176)]());_0x35d0c2[_0x1f8530(0x1b2)]();});});}(_0x416e83),this[_0x2a59b8(0x181)][_0x2a59b8(0x145)](_0x3d48c3[_0x2a59b8(0x13e)],_0x2a59b8(0x146),(_0x30897f,{key:_0x5b3d37})=>{const _0x54d1e9=_0x2a59b8;_0x54d1e9(0x179)===_0x5b3d37&&function(_0x2126d8){const _0x4899fc=_0x54d1e9;_0x2126d8[_0x4899fc(0x158)][_0x4899fc(0x173)][_0x4899fc(0x1a8)](_0x4c4d9a=>{const _0x3b94a2=_0x4899fc;for(const _0x1c0f63 of _0x2126d8[_0x3b94a2(0x183)][_0x3b94a2(0x1a1)]){if(!_0x1c0f63[_0x3b94a2(0x163)][_0x3b94a2(0x143)](_0x3b94a2(0x14c)))continue;const _0xc0fa00=_0x2126d8[_0x3b94a2(0x158)][_0x3b94a2(0x1b8)][_0x3b94a2(0x139)](_0x1c0f63[_0x3b94a2(0x163)]);if(_0xc0fa00){for(const _0xcc4c40 of _0xc0fa00)_0x4c4d9a[_0x3b94a2(0x1b5)](_0x3b94a2(0x16c),_0xcc4c40);}}});}(_0x416e83);},{'useCapture':!0x0});}[_0x152671(0x1a0)](){const _0x4898e7=_0x152671,_0x236cdc=this[_0x4898e7(0x13c)],_0x2589b9=_0x236cdc[_0x4898e7(0x178)][_0x4898e7(0x17c)](_0x4898e7(0x166));_0x2589b9&&_0x236cdc[_0x4898e7(0x183)]['on'](_0x4898e7(0x195),(_0x51c41b,_0x34241f)=>{const _0x1bcc7d=_0x4898e7,_0x1d21a4=_0x34241f[0x0];if(_0x1bcc7d(0x196)!=_0x1d21a4[_0x1bcc7d(0x156)]||!_0x1d21a4[_0x1bcc7d(0x163)][_0x1bcc7d(0x143)](_0x1bcc7d(0x1b9)))return;const _0x1b63de=_0x1d21a4[_0x1bcc7d(0x149)];_0x2589b9[_0x1bcc7d(0x16f)][_0x1bcc7d(0x162)](_0x1b63de)&&(_0x1d21a4[_0x1bcc7d(0x165)]=_0x1d21a4[_0x1bcc7d(0x182)]?_0x236cdc[_0x1bcc7d(0x183)][_0x1bcc7d(0x17f)](_0x1d21a4[_0x1bcc7d(0x182)][_0x1bcc7d(0x198)],_0x1d21a4[_0x1bcc7d(0x182)][_0x1bcc7d(0x1a4)]):null);},{'priority':_0x4898e7(0x147)});}[_0x152671(0x14e)](){const _0x3cb1c7=_0x152671;return this[_0x3cb1c7(0x181)][_0x3cb1c7(0x148)](),super[_0x3cb1c7(0x14e)]();}[_0x152671(0x1b0)](){const _0x45bdb4=_0x152671,_0x1ad40f=this[_0x45bdb4(0x13c)],_0x43c8af=_0x1ad40f[_0x45bdb4(0x183)][_0x45bdb4(0x13e)],_0x2eb788=_0x1ad40f[_0x45bdb4(0x16b)][_0x45bdb4(0x17c)](_0x2696f7);_0x1ad40f[_0x45bdb4(0x183)][_0x45bdb4(0x193)]({'isUndoable':!0x1},_0x357352=>{const _0x4e86b8=_0x45bdb4,_0x48db1b=_0x4e86b8(0x19d)+_0x2eb788[_0x4e86b8(0x175)],_0x42ab1a=_0x4e86b8(0x13d)+_0x2eb788[_0x4e86b8(0x175)],_0x1a0bb3=_0x1ad40f[_0x4e86b8(0x183)][_0x4e86b8(0x1a1)][_0x4e86b8(0x162)](_0x48db1b);_0x1ad40f[_0x4e86b8(0x158)][_0x4e86b8(0x173)][_0x4e86b8(0x19a)]?re(_0x2eb788[_0x4e86b8(0x175)],_0x43c8af[_0x4e86b8(0x174)][_0x4e86b8(0x194)](),_0x1ad40f[_0x4e86b8(0x183)],_0x357352):_0x1a0bb3&&(_0x357352[_0x4e86b8(0x169)](_0x48db1b),_0x357352[_0x4e86b8(0x169)](_0x42ab1a));});}}function re(_0xd45b1d,_0x4c87bb,_0x10fb1b,_0x32a300){const _0x5c5dfb=_0x152671,_0x4c8ab2=_0x5c5dfb(0x19d)+_0xd45b1d,_0x1347c1=_0x5c5dfb(0x13d)+_0xd45b1d,_0x29aa4c=_0x4c87bb[_0x5c5dfb(0x13b)]();let _0x1f1bb0=_0x4c87bb[_0x5c5dfb(0x198)];_0x29aa4c&&_0x29aa4c['is'](_0x5c5dfb(0x18c),_0x5c5dfb(0x140))&&(_0x1f1bb0=function(_0xd4d6db,_0x3cacba){const _0x377052=_0x5c5dfb;for(const _0x47cce7 of _0xd4d6db[_0x377052(0x1af)]())if(_0x3cacba[_0x377052(0x1b3)][_0x377052(0x18f)](_0x47cce7,_0x377052(0x15c)))return _0x47cce7;}(_0x4c87bb,_0x10fb1b),_0x4c87bb=_0x32a300[_0x5c5dfb(0x17f)](_0x1f1bb0));const _0x116340=_0x32a300[_0x5c5dfb(0x17f)](_0x1f1bb0);_0x10fb1b[_0x5c5dfb(0x1a1)][_0x5c5dfb(0x162)](_0x4c8ab2)?(_0x32a300[_0x5c5dfb(0x161)](_0x4c8ab2,{'range':_0x4c87bb}),_0x32a300[_0x5c5dfb(0x161)](_0x1347c1,{'range':_0x116340})):(_0x32a300[_0x5c5dfb(0x1bb)](_0x4c8ab2,{'range':_0x4c87bb,'usingOperation':!0x0}),_0x32a300[_0x5c5dfb(0x1bb)](_0x1347c1,{'range':_0x116340,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x5022ec=_0x1d82;(function(_0x3ca63f,_0x93bcc){const _0x3c9474=_0x1d82,_0x406eca=_0x3ca63f();while(!![]){try{const _0x44eb23=-parseInt(_0x3c9474(0x1ce))/0x1+-parseInt(_0x3c9474(0x1df))/0x2+parseInt(_0x3c9474(0x1d1))/0x3*(parseInt(_0x3c9474(0x1e7))/0x4)+-parseInt(_0x3c9474(0x1b8))/0x5+-parseInt(_0x3c9474(0x194))/0x6*(-parseInt(_0x3c9474(0x17f))/0x7)+-parseInt(_0x3c9474(0x175))/0x8+parseInt(_0x3c9474(0x1b5))/0x9;if(_0x44eb23===_0x93bcc)break;else _0x406eca['push'](_0x406eca['shift']());}catch(_0x50a3ee){_0x406eca['push'](_0x406eca['shift']());}}}(_0x53af,0x9c9d1));import{Plugin as _0x5d7b51}from'ckeditor5/src/core.js';import{global as _0x282e66,DomEmitterMixin as _0x36e0c2}from'ckeditor5/src/utils.js';import _0x1f528c from'./sessions.js';import{LiveRange as _0x26ea3a}from'ckeditor5/src/engine.js';function _0x1d82(_0x530848,_0x39f68c){const _0x53aff9=_0x53af();return _0x1d82=function(_0x1d82b5,_0x52a3ca){_0x1d82b5=_0x1d82b5-0x169;let _0x3ac237=_0x53aff9[_0x1d82b5];return _0x3ac237;},_0x1d82(_0x530848,_0x39f68c);}function _0x53af(){const _0x2bd5f6=['_createdBatches','user:position','1500758BUgXBk','conversion','mySessionId','removeClass','getUserBySessionId','innerHTML','getCustomProperty','mapper','4112720oUmgKM','getStart','remove','undo','createUIElement','listenTo','applyOperation','mouseenter','user:range','get','schema','markerToHighlight','contenteditable','markerNameToElements','getContainedElement','getAttribute','color','5826800uCEwKY','clear','isOfficialPlugin','marker','editing','setCustomProperty','getFirstRange','enqueueChange','ck-user__marker\x20','isInline','7dWnDuO','updateMarker','newRange','orderNumber','update:user:range','highest','model','isSimilar','view','nodeAfter','user:','getNearestSelectionRange','editingDowncast','requires','isCollapsed','createUserMarkerOperations','ck-user__marker_hovered','keydown','start','_domEmitter','span','5562540DEnCPQ','set','toRange','change:range','isPremiumPlugin','editor','fromRange','getSelectionClass','addEventListener','markerName','root','getMarkerClass','end','UserMarkers','checkChild','oldRange','document','has','name','addMarker','</span>','markerToElement','markers','selection','getRange','data-session-id','init','isLimit','Escape','rootName','afterInit','size','userPositionMarker','17944110mFAxUf','hasDomSelection','toDomElement','4258765lMjqDh','$text','render','isObject','commands','delete','startsWith','split','tableCell','ck-user__selection','createRange','deletionPosition','markerRange','detach','parent','change','type','pluginName','batch','$graveyard','element','destroy','977089hkJIVN','mouseleave','plugins','3DPSuBf','for','classList','stopListening','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','user:position:','hasContent','reconvertMarker','add','removeMarker','getPositions','user:range:'];_0x53af=function(){return _0x2bd5f6;};return _0x53af();}import'../../theme/usermarkers.css';export default class N extends _0x5d7b51{constructor(){const _0x853ad4=_0x1d82;super(...arguments),this[_0x853ad4(0x192)]=new(_0x36e0c2())();}static get[_0x5022ec(0x18c)](){return[_0x1f528c];}static get[_0x5022ec(0x1c9)](){const _0x117a1f=_0x5022ec;return _0x117a1f(0x1a1);}static get[_0x5022ec(0x177)](){return!0x0;}static get[_0x5022ec(0x198)](){return!0x0;}[_0x5022ec(0x1ae)](){const _0x31e6ff=_0x5022ec,_0xbaadde=this[_0x31e6ff(0x199)],_0x10d138=_0xbaadde[_0x31e6ff(0x1d0)][_0x31e6ff(0x16d)](_0x1f528c);_0xbaadde[_0x31e6ff(0x1e0)][_0x31e6ff(0x1d2)](_0x31e6ff(0x18b))[_0x31e6ff(0x1a9)]({'model':_0x31e6ff(0x1de),'view':(_0x403379,{writer:_0x3a09be})=>function(_0x211ff5,_0x4844c9,_0x4829dc,_0x28e860){const _0x1a18a8=_0x31e6ff,_0x40cc1b=_0x211ff5[_0x1a18a8(0x19d)][_0x1a18a8(0x1bf)](':')[0x2],_0x2c2c53=_0x4829dc[_0x1a18a8(0x1e3)](_0x40cc1b);if(!_0x2c2c53||_0x40cc1b===_0x4829dc[_0x1a18a8(0x1e1)])return;if(!_0x28e860[_0x1a18a8(0x185)][_0x1a18a8(0x16e)][_0x1a18a8(0x1a2)](_0x211ff5[_0x1a18a8(0x1c4)][_0x1a18a8(0x191)],_0x1a18a8(0x1b9)))return;const _0x15a761={'class':_0x1a18a8(0x17d)+_0x2c2c53[_0x1a18a8(0x174)][_0x1a18a8(0x19f)](),'data-name':_0x2c2c53[_0x1a18a8(0x1a6)],'data-session-id':_0x40cc1b},_0x56f893=_0x28e860[_0x1a18a8(0x185)][_0x1a18a8(0x1aa)][_0x1a18a8(0x16d)](_0x211ff5[_0x1a18a8(0x19d)]),_0x3884bc=_0x56f893[_0x1a18a8(0x1e8)](),_0x38641f=_0x3884bc[_0x1a18a8(0x188)],_0x5e3e25=_0x28e860[_0x1a18a8(0x185)][_0x1a18a8(0x16e)];if(_0x38641f&&_0x5e3e25[_0x1a18a8(0x1bb)](_0x38641f)&&_0x5e3e25[_0x1a18a8(0x17e)](_0x38641f)&&!_0x28e860[_0x1a18a8(0x185)][_0x1a18a8(0x1aa)][_0x1a18a8(0x16d)](_0x1a18a8(0x1dc)+_0x40cc1b)[_0x1a18a8(0x1ac)]()[_0x1a18a8(0x18d)])return;const _0x1c231e=_0x3884bc[_0x1a18a8(0x1c6)];return _0x28e860[_0x1a18a8(0x185)][_0x1a18a8(0x16e)][_0x1a18a8(0x1af)](_0x1c231e)&&!_0x28e860[_0x1a18a8(0x185)][_0x1a18a8(0x1d7)](_0x1c231e)&&(_0x15a761[_0x1a18a8(0x170)]=!0x1),function(_0x8d0738,_0x35a89e,_0x54f685){const _0x4804ee=_0x1a18a8,_0x32d58b=_0x8d0738[_0x4804ee(0x1eb)](_0x4804ee(0x193),_0x35a89e);return _0x8d0738[_0x4804ee(0x17a)](_0x4804ee(0x1b4),!0x0,_0x32d58b),_0x32d58b[_0x4804ee(0x1ba)]=function(_0x522c46){const _0x2fbcba=_0x4804ee,_0x4ad9f1=this[_0x2fbcba(0x1b7)](_0x522c46);return _0x4ad9f1[_0x2fbcba(0x1e4)]=_0x2fbcba(0x1d5)+_0x54f685[_0x2fbcba(0x1a6)]+_0x2fbcba(0x1a8),_0x4ad9f1[_0x2fbcba(0x19c)](_0x2fbcba(0x16b),()=>{const _0x4b8f6c=_0x2fbcba;_0x4ad9f1[_0x4b8f6c(0x1d3)][_0x4b8f6c(0x1d9)](_0x4b8f6c(0x18f));}),_0x4ad9f1[_0x2fbcba(0x19c)](_0x2fbcba(0x1cf),()=>{const _0x38b494=_0x2fbcba;_0x4ad9f1[_0x38b494(0x1d3)][_0x38b494(0x1e9)](_0x38b494(0x18f));}),_0x4ad9f1;},_0x32d58b[_0x4804ee(0x186)]=function(_0x29d4ef){const _0x358d77=_0x4804ee;return!(!this[_0x358d77(0x1e5)](_0x358d77(0x1b4))||!_0x29d4ef[_0x358d77(0x1e5)](_0x358d77(0x1b4))||this[_0x358d77(0x173)](_0x358d77(0x1ad))!=_0x29d4ef[_0x358d77(0x173)](_0x358d77(0x1ad)));},_0x32d58b;}(_0x4844c9,_0x15a761,_0x2c2c53);}(_0x403379,_0x3a09be,_0x10d138,_0xbaadde)}),_0xbaadde[_0x31e6ff(0x1e0)][_0x31e6ff(0x1d2)](_0x31e6ff(0x18b))[_0x31e6ff(0x16f)]({'model':_0x31e6ff(0x16c),'view':_0x1aee39=>function(_0x2a9be9,_0x3e7c99){const _0x43b7ff=_0x31e6ff,_0x376659=_0x2a9be9[_0x43b7ff(0x19d)][_0x43b7ff(0x1bf)](':')[0x2];if(_0x376659===_0x3e7c99[_0x43b7ff(0x1e1)])return null;const _0xe0ea28=_0x3e7c99[_0x43b7ff(0x1e3)](_0x376659);if(!_0xe0ea28)return{'id':_0x376659,'classes':[]};return{'id':_0x376659,'classes':[_0x43b7ff(0x1c1),_0xe0ea28[_0x43b7ff(0x174)][_0x43b7ff(0x19b)]()],'attributes':{'data-session-id':_0x376659},'priority':0x7d0+_0xe0ea28[_0x43b7ff(0x182)]};}(_0x1aee39,_0x10d138)}),function(_0x3578c5){const _0x218e16=_0x31e6ff,_0x380211=_0x3578c5[_0x218e16(0x185)],_0x2389b2=new Map(),_0x5506d4=_0x3578c5[_0x218e16(0x1d0)][_0x218e16(0x16d)](_0x1f528c);_0x380211[_0x218e16(0x1aa)]['on'](_0x218e16(0x183),(_0xe06540,_0x102c84,_0x4d985b,_0xb37bfa)=>{const _0x25c832=_0x218e16;if(!_0xb37bfa&&_0x2389b2[_0x25c832(0x16d)](_0x102c84[_0x25c832(0x1a6)]))return _0x2389b2[_0x25c832(0x16d)](_0x102c84[_0x25c832(0x1a6)])[_0x25c832(0x1c5)](),void _0x2389b2[_0x25c832(0x1bd)](_0x102c84[_0x25c832(0x1a6)]);const _0x45701f=_0x102c84[_0x25c832(0x1a6)][_0x25c832(0x1bf)](':')[0x2];if(_0x45701f===_0x5506d4[_0x25c832(0x1e1)])return;const _0x468e4a=_0x25c832(0x1d6)+_0x45701f;_0x380211[_0x25c832(0x1aa)][_0x25c832(0x1a5)](_0x468e4a)&&_0x3578c5[_0x25c832(0x179)][_0x25c832(0x1d8)](_0x468e4a),_0x102c84['on'](_0x25c832(0x197),(_0x14bfd8,_0x503b5e,_0x94ef05)=>{const _0x52c2f0=_0x25c832;if(_0x52c2f0(0x1cb)!=_0x503b5e[_0x52c2f0(0x19e)][_0x52c2f0(0x1b1)]&&_0x52c2f0(0x1cb)==_0x102c84[_0x52c2f0(0x1ac)]()[_0x52c2f0(0x19e)][_0x52c2f0(0x1b1)]&&!_0x2389b2[_0x52c2f0(0x1a5)](_0x102c84[_0x52c2f0(0x1a6)])){const _0x56ad1a=_0x380211[_0x52c2f0(0x16e)][_0x52c2f0(0x18a)](_0x94ef05[_0x52c2f0(0x1c3)]);if(_0x56ad1a){const _0x451005=_0x26ea3a[_0x52c2f0(0x19a)](_0x56ad1a);_0x2389b2[_0x52c2f0(0x195)](_0x102c84[_0x52c2f0(0x1a6)],_0x451005),_0x451005['on'](_0x52c2f0(0x197),(_0x3db591,_0x9f89a,_0x316204)=>{const _0x33e9e0=_0x52c2f0;if(_0x33e9e0(0x1cb)==_0x451005[_0x33e9e0(0x19e)][_0x33e9e0(0x1b1)]){const _0x28f310=_0x380211[_0x33e9e0(0x16e)][_0x33e9e0(0x18a)](_0x316204[_0x33e9e0(0x1c3)]);_0x28f310?(_0x451005[_0x33e9e0(0x191)]=_0x28f310[_0x33e9e0(0x191)],_0x451005[_0x33e9e0(0x1a0)]=_0x28f310[_0x33e9e0(0x1a0)]):(_0x2389b2[_0x33e9e0(0x1bd)](_0x102c84[_0x33e9e0(0x1a6)]),_0x451005[_0x33e9e0(0x1c5)]());}});}}});}),_0x380211[_0x218e16(0x1a4)]['on'](_0x218e16(0x1c7),()=>{const _0x53ccfa=_0x218e16;_0x2389b2[_0x53ccfa(0x1b3)]>0x0&&_0x380211[_0x53ccfa(0x17c)]({'isUndoable':!0x1},_0x12a37e=>{const _0x1f03cc=_0x53ccfa;for(const [_0x4d73dc,_0x467c73]of _0x2389b2)_0x1f03cc(0x1cb)==_0x380211[_0x1f03cc(0x1aa)][_0x1f03cc(0x16d)](_0x4d73dc)[_0x1f03cc(0x1ac)]()[_0x1f03cc(0x19e)][_0x1f03cc(0x1b1)]&&(G(_0x4d73dc[_0x1f03cc(0x1bf)](':')[0x2],_0x467c73[_0x1f03cc(0x196)](),_0x380211,_0x12a37e),_0x467c73[_0x1f03cc(0x1c5)]());_0x2389b2[_0x1f03cc(0x176)]();});});}(_0xbaadde),this[_0x31e6ff(0x192)][_0x31e6ff(0x169)](_0x282e66[_0x31e6ff(0x1a4)],_0x31e6ff(0x190),(_0x5c56b7,{key:_0x523f17})=>{const _0x515a85=_0x31e6ff;_0x515a85(0x1b0)===_0x523f17&&function(_0x3a465e){const _0x2ddab7=_0x515a85;_0x3a465e[_0x2ddab7(0x179)][_0x2ddab7(0x187)][_0x2ddab7(0x1c7)](_0x4bee00=>{const _0x549c43=_0x2ddab7;for(const _0x352b96 of _0x3a465e[_0x549c43(0x185)][_0x549c43(0x1aa)]){if(!_0x352b96[_0x549c43(0x1a6)][_0x549c43(0x1be)](_0x549c43(0x1de)))continue;const _0x253fbd=_0x3a465e[_0x549c43(0x179)][_0x549c43(0x1e6)][_0x549c43(0x171)](_0x352b96[_0x549c43(0x1a6)]);if(_0x253fbd){for(const _0x183a15 of _0x253fbd)_0x4bee00[_0x549c43(0x1e2)](_0x549c43(0x18f),_0x183a15);}}});}(_0xbaadde);},{'useCapture':!0x0});}[_0x5022ec(0x1b2)](){const _0x41a7bc=_0x5022ec,_0x367c28=this[_0x41a7bc(0x199)],_0x3bf233=_0x367c28[_0x41a7bc(0x1bc)][_0x41a7bc(0x16d)](_0x41a7bc(0x1ea));_0x3bf233&&_0x367c28[_0x41a7bc(0x185)]['on'](_0x41a7bc(0x16a),(_0x1a4f43,_0xb8c21e)=>{const _0xc6bd39=_0x41a7bc,_0x5636ca=_0xb8c21e[0x0];if(_0xc6bd39(0x178)!=_0x5636ca[_0xc6bd39(0x1c8)]||!_0x5636ca[_0xc6bd39(0x1a6)][_0xc6bd39(0x1be)](_0xc6bd39(0x189)))return;const _0x30ca6c=_0x5636ca[_0xc6bd39(0x1ca)];_0x3bf233[_0xc6bd39(0x1dd)][_0xc6bd39(0x1a5)](_0x30ca6c)&&(_0x5636ca[_0xc6bd39(0x181)]=_0x5636ca[_0xc6bd39(0x1a3)]?_0x367c28[_0xc6bd39(0x185)][_0xc6bd39(0x1c2)](_0x5636ca[_0xc6bd39(0x1a3)][_0xc6bd39(0x191)],_0x5636ca[_0xc6bd39(0x1a3)][_0xc6bd39(0x1a0)]):null);},{'priority':_0x41a7bc(0x184)});}[_0x5022ec(0x1cd)](){const _0x2a52e1=_0x5022ec;return this[_0x2a52e1(0x192)][_0x2a52e1(0x1d4)](),super[_0x2a52e1(0x1cd)]();}[_0x5022ec(0x18e)](){const _0xa082e8=_0x5022ec,_0x5cd521=this[_0xa082e8(0x199)],_0x4b7d9c=_0x5cd521[_0xa082e8(0x185)][_0xa082e8(0x1a4)],_0xc81df6=_0x5cd521[_0xa082e8(0x1d0)][_0xa082e8(0x16d)](_0x1f528c);_0x5cd521[_0xa082e8(0x185)][_0xa082e8(0x17c)]({'isUndoable':!0x1},_0x524e1f=>{const _0x25220c=_0xa082e8,_0x4cade8=_0x25220c(0x1dc)+_0xc81df6[_0x25220c(0x1e1)],_0xac7e18=_0x25220c(0x1d6)+_0xc81df6[_0x25220c(0x1e1)],_0x494b23=_0x5cd521[_0x25220c(0x185)][_0x25220c(0x1aa)][_0x25220c(0x1a5)](_0x4cade8);_0x5cd521[_0x25220c(0x179)][_0x25220c(0x187)][_0x25220c(0x1b6)]?G(_0xc81df6[_0x25220c(0x1e1)],_0x4b7d9c[_0x25220c(0x1ab)][_0x25220c(0x17b)](),_0x5cd521[_0x25220c(0x185)],_0x524e1f):_0x494b23&&(_0x524e1f[_0x25220c(0x1da)](_0x4cade8),_0x524e1f[_0x25220c(0x1da)](_0xac7e18));});}}function G(_0x353f9b,_0x53ff17,_0x2c2839,_0x218e08){const _0x165ef3=_0x5022ec,_0x202538=_0x165ef3(0x1dc)+_0x353f9b,_0x2a9dda=_0x165ef3(0x1d6)+_0x353f9b,_0x1548fc=_0x53ff17[_0x165ef3(0x172)]();let _0x16260c=_0x53ff17[_0x165ef3(0x191)];_0x1548fc&&_0x1548fc['is'](_0x165ef3(0x1cc),_0x165ef3(0x1c0))&&(_0x16260c=function(_0x30e8b2,_0xab9017){const _0x1a64fc=_0x165ef3;for(const _0x1092b5 of _0x30e8b2[_0x1a64fc(0x1db)]())if(_0xab9017[_0x1a64fc(0x16e)][_0x1a64fc(0x1a2)](_0x1092b5,_0x1a64fc(0x1b9)))return _0x1092b5;}(_0x53ff17,_0x2c2839),_0x53ff17=_0x218e08[_0x165ef3(0x1c2)](_0x16260c));const _0xf9bcc2=_0x218e08[_0x165ef3(0x1c2)](_0x16260c);_0x2c2839[_0x165ef3(0x1aa)][_0x165ef3(0x1a5)](_0x202538)?(_0x218e08[_0x165ef3(0x180)](_0x202538,{'range':_0x53ff17}),_0x218e08[_0x165ef3(0x180)](_0x2a9dda,{'range':_0xf9bcc2})):(_0x218e08[_0x165ef3(0x1a7)](_0x202538,{'range':_0x53ff17,'usingOperation':!0x0}),_0x218e08[_0x165ef3(0x1a7)](_0x2a9dda,{'range':_0xf9bcc2,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5191(){const _0x36c797=['isPremiumPlugin','websocketgateway-invalid-plugin-interface','CONNECTED','431514arCnke','stopListening','change:me','all','catch','websocketgateway-plugin-already-registered','WebSocketGateway','plugins','limitExceeded','has','3921760BYwIhF','CONNECTING','websocketgateway-missing-token','CloudServices','init','111230diqWxY','_reconnect','showWarning','_isBrowserOffline','69xhmkUp','cloudServices.connectionTimeout','online','isOfficialPlugin','constructor','7413CmSVmY','reconnect','listenTo','add','code','isInReconnectionStack','get','_domEmitter','connect','disconnect','config','context','real-time-collaboration','destroy','1158775aZcbsY','cloudservices-reconnection-error','_shouldPluginsReconnect','define','DISCONNECTED','create','10108350XCKGuL','cloudServices.requestTimeout','webSocketUrl','then','pluginName','initialReconnectionInterval','error','from','_reconnectionStack','addToReconnectionStack','5PxKsqH','connection','removeFromReconnectionStack','bind','73724znoqnO','requires','cloudservices-init','token','function','connected','Connected\x20users\x20limit\x20exceeded','delete','websocketgateway-missing-websocket-url','12oRRwmp','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.','offline','state','set'];_0x5191=function(){return _0x36c797;};return _0x5191();}const _0x2b0ac6=_0x356e;(function(_0x43c4b5,_0x10c4b1){const _0x3d0780=_0x356e,_0x2be5bd=_0x43c4b5();while(!![]){try{const _0x418eed=parseInt(_0x3d0780(0xf2))/0x1*(-parseInt(_0x3d0780(0x116))/0x2)+-parseInt(_0x3d0780(0x11a))/0x3*(-parseInt(_0x3d0780(0xf6))/0x4)+-parseInt(_0x3d0780(0xe2))/0x5*(parseInt(_0x3d0780(0xff))/0x6)+-parseInt(_0x3d0780(0xd4))/0x7+-parseInt(_0x3d0780(0x111))/0x8+parseInt(_0x3d0780(0x107))/0x9+parseInt(_0x3d0780(0xe8))/0xa;if(_0x418eed===_0x10c4b1)break;else _0x2be5bd['push'](_0x2be5bd['shift']());}catch(_0x3bd589){_0x2be5bd['push'](_0x2be5bd['shift']());}}}(_0x5191,0x3cfe6));function _0x356e(_0x2e91f4,_0x44796d){const _0x519176=_0x5191();return _0x356e=function(_0x356ec3,_0x182331){_0x356ec3=_0x356ec3-0xd2;let _0x24271f=_0x519176[_0x356ec3];return _0x24271f;},_0x356e(_0x2e91f4,_0x44796d);}import{ContextPlugin as _0x31ea74}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0xe9ee96,CKEditorError as _0x538cf2}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x1120bc,WEB_SOCKET_GATEWAY_STATES as _0x16975d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x965c15}from'ckeditor5/src/ui.js';class c extends _0x31ea74{static get[_0x2b0ac6(0xf7)](){const _0x2b29ab=_0x2b0ac6;return[_0x2b29ab(0x114),_0x965c15];}static get[_0x2b0ac6(0xec)](){const _0x2d2f9b=_0x2b0ac6;return _0x2d2f9b(0x10d);}static get[_0x2b0ac6(0xd2)](){return!0x0;}static get[_0x2b0ac6(0x104)](){return!0x0;}constructor(_0x5738cd){const _0x5cccc0=_0x2b0ac6;super(_0x5738cd),this[_0x5cccc0(0x103)](_0x5cccc0(0x102),_0x16975d[_0x5cccc0(0x106)]),this[_0x5cccc0(0x103)](_0x5cccc0(0x119),!0x1),this[_0x5cccc0(0xf0)]=new Set(),this[_0x5cccc0(0xe4)]=!0x1,this[_0x5cccc0(0xdb)]=Object[_0x5cccc0(0xe7)](_0xe9ee96);}[_0x2b0ac6(0x115)](){const _0x368321=_0x2b0ac6,_0x25be19=this[_0x368321(0xdf)],_0x43b6f3=_0x25be19[_0x368321(0x10e)][_0x368321(0xda)](_0x368321(0x114)),_0x30bd46=_0x25be19[_0x368321(0x10e)][_0x368321(0xda)](_0x965c15);if(!_0x43b6f3[_0x368321(0xf9)])throw new _0x538cf2(_0x368321(0x113),this);if(!_0x43b6f3[_0x368321(0xea)])throw new _0x538cf2(_0x368321(0xfe),this);return this[_0x368321(0xdb)][_0x368321(0xd6)](window,_0x368321(0x101),()=>this[_0x368321(0x119)]=!0x0),this[_0x368321(0xdb)][_0x368321(0xd6)](window,_0x368321(0x11c),()=>this[_0x368321(0x119)]=!0x1),this[_0x368321(0xdf)][_0x368321(0xde)][_0x368321(0xe5)](_0x368321(0x11b),0xa),this[_0x368321(0xdf)][_0x368321(0xde)][_0x368321(0xe5)](_0x368321(0xe9),0x14),c[_0x368321(0x10d)][_0x368321(0xdc)](_0x43b6f3[_0x368321(0xf9)],_0x43b6f3[_0x368321(0xea)],{'timeout':0x3e8*this[_0x368321(0xdf)][_0x368321(0xde)][_0x368321(0xda)](_0x368321(0x11b)),'requestTimeout':0x3e8*this[_0x368321(0xdf)][_0x368321(0xde)][_0x368321(0xda)](_0x368321(0xe9))})[_0x368321(0xeb)](_0x4f37b5=>{const _0x516197=_0x368321;if(this[_0x516197(0xf3)]=_0x4f37b5,this[_0x516197(0xf5)](_0x516197(0x102))['to'](_0x4f37b5,_0x516197(0x102),this,_0x516197(0x119),(_0x90350e,_0x117336)=>(_0x516197(0xfb)!==_0x90350e&&(this[_0x516197(0xe4)]=!0x0),_0x117336||_0x90350e!==_0x16975d[_0x516197(0x106)]?_0x16975d[_0x516197(0xe6)]:this[_0x516197(0x102)]==_0x16975d[_0x516197(0xe6)]&&this[_0x516197(0xe4)]?(this[_0x516197(0xe4)]=!0x1,this[_0x516197(0x117)](),_0x16975d[_0x516197(0x112)]):_0x16975d[_0x516197(0x106)])),this[_0x516197(0xf3)]['on'](_0x516197(0xee),(_0x183ef7,_0xe011c)=>{const _0x518068=_0x516197;if(_0x518068(0x10f)!==_0xe011c[_0x518068(0xd8)])throw console[_0x518068(0xee)](_0xe011c),new _0x538cf2(_0x518068(0xf8),null,{'originalError':_0xe011c});_0x30bd46[_0x518068(0x118)](_0x518068(0x100),{'title':_0x518068(0xfc),'namespace':_0x518068(0xe0)});}),!_0x4f37b5['me'])return new Promise(_0x3e7b37=>_0x4f37b5['on'](_0x516197(0x109),_0x3e7b37));})[_0x368321(0x10b)](_0x55eb91=>{const _0xfa7572=_0x368321;throw console[_0xfa7572(0xee)](_0x55eb91),new _0x538cf2(_0xfa7572(0xf8),null,{'originalError':_0x55eb91});});}[_0x2b0ac6(0xf1)](_0x1e4a4d){const _0x43f780=_0x2b0ac6;if(_0x43f780(0xfa)!=typeof _0x1e4a4d[_0x43f780(0xd5)])throw new _0x538cf2(_0x43f780(0x105),this);if(this[_0x43f780(0xd9)](_0x1e4a4d))throw new _0x538cf2(_0x43f780(0x10c),this,{'name':_0x1e4a4d[_0x43f780(0xd3)][_0x43f780(0xec)]});this[_0x43f780(0xf0)][_0x43f780(0xd7)](_0x1e4a4d);}[_0x2b0ac6(0xf4)](_0x5a5e24){const _0x1a8aba=_0x2b0ac6;this[_0x1a8aba(0xf0)][_0x1a8aba(0xfd)](_0x5a5e24);}[_0x2b0ac6(0xd9)](_0x4c39d8){const _0x47fbc5=_0x2b0ac6;return this[_0x47fbc5(0xf0)][_0x47fbc5(0x110)](_0x4c39d8);}[_0x2b0ac6(0x117)](){const _0xfb0b15=_0x2b0ac6;return this[_0xfb0b15(0xf3)][_0xfb0b15(0xd5)]()[_0xfb0b15(0xeb)](()=>Promise[_0xfb0b15(0x10a)](Array[_0xfb0b15(0xef)](this[_0xfb0b15(0xf0)],_0x69b3da=>_0x69b3da[_0xfb0b15(0xd5)]())))[_0xfb0b15(0xeb)](()=>this[_0xfb0b15(0x102)]=_0x16975d[_0xfb0b15(0x106)])[_0xfb0b15(0x10b)](_0x5118cd=>{const _0x1480a7=_0xfb0b15;throw console[_0x1480a7(0xee)](_0x5118cd),new _0x538cf2(_0x1480a7(0xe3),this[_0x1480a7(0xdf)]);});}[_0x2b0ac6(0xe1)](){const _0x5bf65e=_0x2b0ac6;this[_0x5bf65e(0xf3)]&&this[_0x5bf65e(0xf3)][_0x5bf65e(0xdd)](),this[_0x5bf65e(0x102)]=_0x16975d[_0x5bf65e(0xe6)],this[_0x5bf65e(0xdb)][_0x5bf65e(0x108)](),super[_0x5bf65e(0xe1)]();}}c[_0x2b0ac6(0x10d)]=_0x1120bc,c[_0x2b0ac6(0xed)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x41bb81=_0x2735;(function(_0x2d7823,_0x2f4a3f){var _0x5985e9=_0x2735,_0x5d2e39=_0x2d7823();while(!![]){try{var _0x44f737=-parseInt(_0x5985e9(0x109))/0x1+parseInt(_0x5985e9(0x10d))/0x2+-parseInt(_0x5985e9(0x107))/0x3*(-parseInt(_0x5985e9(0x10c))/0x4)+-parseInt(_0x5985e9(0x108))/0x5*(-parseInt(_0x5985e9(0x110))/0x6)+-parseInt(_0x5985e9(0x111))/0x7*(parseInt(_0x5985e9(0x112))/0x8)+parseInt(_0x5985e9(0x10a))/0x9+parseInt(_0x5985e9(0x106))/0xa*(-parseInt(_0x5985e9(0x10b))/0xb);if(_0x44f737===_0x2f4a3f)break;else _0x5d2e39['push'](_0x5d2e39['shift']());}catch(_0x5f3321){_0x5d2e39['push'](_0x5d2e39['shift']());}}}(_0x4ef6,0x8252a));import{Plugin as _0x36a219}from'ckeditor5/src/core.js';import _0x22ef0c from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x4ef6(){var _0xea65d4=['148896LMETPW','1977126pxobzq','requires','RealTimeCollaborativeEditing','51024oCtdLx','5090442cnCrVD','8CmNNnV','pluginName','isOfficialPlugin','isPremiumPlugin','1940asYTRj','54rxozBy','300QYYXMy','615382mTEdTB','9603963CsnIzp','77088XEGNgZ'];_0x4ef6=function(){return _0xea65d4;};return _0x4ef6();}function _0x2735(_0x24fa41,_0x5bfbec){var _0x4ef6f2=_0x4ef6();return _0x2735=function(_0x27358f,_0x590807){_0x27358f=_0x27358f-0x104;var _0xc2aca0=_0x4ef6f2[_0x27358f];return _0xc2aca0;},_0x2735(_0x24fa41,_0x5bfbec);}export default class n extends _0x36a219{static get[_0x41bb81(0x10e)](){return[_0x22ef0c];}static get[_0x41bb81(0x113)](){var _0x565534=_0x41bb81;return _0x565534(0x10f);}static get[_0x41bb81(0x104)](){return!0x0;}static get[_0x41bb81(0x105)](){return!0x0;}}
|