@ckeditor/ckeditor5-real-time-collaboration 44.1.0-alpha.1 → 44.1.0-alpha.3
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
|
+
const _0x2764b6=_0x3192;(function(_0xce4c21,_0x39f77c){const _0x9dd6c5=_0x3192,_0x5dfe47=_0xce4c21();while(!![]){try{const _0x3db30f=-parseInt(_0x9dd6c5(0xfd))/0x1*(-parseInt(_0x9dd6c5(0x123))/0x2)+-parseInt(_0x9dd6c5(0x12c))/0x3*(-parseInt(_0x9dd6c5(0x15a))/0x4)+-parseInt(_0x9dd6c5(0x110))/0x5+parseInt(_0x9dd6c5(0x148))/0x6+-parseInt(_0x9dd6c5(0x14d))/0x7+parseInt(_0x9dd6c5(0x113))/0x8*(-parseInt(_0x9dd6c5(0x109))/0x9)+-parseInt(_0x9dd6c5(0x11a))/0xa*(-parseInt(_0x9dd6c5(0x146))/0xb);if(_0x3db30f===_0x39f77c)break;else _0x5dfe47['push'](_0x5dfe47['shift']());}catch(_0x1b1160){_0x5dfe47['push'](_0x5dfe47['shift']());}}}(_0x3f48,0xb9f66));import{Context as _0x59a996,ContextPlugin as _0x367c25}from'ckeditor5/src/core.js';import{CKEditorError as _0x29cbcf}from'ckeditor5/src/utils.js';function _0x3f48(){const _0x2d041f=['reopenCommentThread','566pYuKFz','content','isOfficialPlugin','connect','add','addCommentThread','resolve','get','createdAt','1956jflqdv','commentThreadAdded','isPremiumPlugin','comments','setPermissions','userId','commentThreadResolved','commentAdded','keys','getMany','404','attributes','getCommentThreads','adapter','commentUpdated','commentThreadReopened','from','cloud-services-internal-error:\x20Request\x20timeout.','cloudservicescommentsadapter-service-not-exist','addUser','sessionAdd:','getComment','_services','updateCommentThread','_terminateService','authorId','4118092xFscJv','commentId','2727276AItQGK','listenTo','CommentsService','_getService','addComment','8632568VcULmv','unregister','register','requires','context','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','cloudservicescommentsadapter-disconnect-not-exist','updateComment','commentThreadId','addToReconnectionStack','Permissions','_fetchMissingUsersForThreads','permissions','2924daAial','size','off','commentThreadRemoved','has','getUser','cloudservicescommentsadapter-connect-already-connected','reconnect','catch','commentRemoved','3999gmZfPw','assign','removeCommentThread','map','set','getCommentThread','reopen','resolvedBy','pluginName','config','getConnectedSessions','disconnect','11034CQWjDM','update','removeComment','_setUpService','commentThreadUpdated','startsWith','mySessionId','3678885gsUFwD','deletedAt','_connectService','528smsvAz','code','plugins','cloud-services-internal-error:\x20Not\x20connected.','message','destroy','CloudServicesCommentsAdapter','20WwchnG','CommentsRepository','init','resolveCommentThread','resolvedAt','delete','collaboration.channelId','remove'];_0x3f48=function(){return _0x2d041f;};return _0x3f48();}import{Users as _0x4ccbb7}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x40b115,User as _0x29dbbe}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x3c0af8 from'../realtimecollaborativeediting/websocketgateway.js';function _0x3192(_0x1bc7ce,_0xd95bc0){const _0x3f4855=_0x3f48();return _0x3192=function(_0x3192e2,_0x2e0ca7){_0x3192e2=_0x3192e2-0xfc;let _0x53549f=_0x3f4855[_0x3192e2];return _0x53549f;},_0x3192(_0x1bc7ce,_0xd95bc0);}import _0x51f4c1 from'../realtimecollaborativeediting/sessions.js';class a extends _0x367c25{static get[_0x2764b6(0x150)](){const _0xb1e84d=_0x2764b6;return[_0x3c0af8,_0xb1e84d(0x11b),_0x51f4c1,_0x4ccbb7];}static get[_0x2764b6(0x105)](){const _0x38f464=_0x2764b6;return _0x38f464(0x119);}static get[_0x2764b6(0x125)](){return!0x0;}static get[_0x2764b6(0x12e)](){return!0x0;}constructor(_0x1e7868){const _0x42ccf1=_0x2764b6;super(_0x1e7868),this[_0x42ccf1(0x142)]=new Map();}async[_0x2764b6(0x11c)](){const _0x575a74=_0x2764b6,_0x4b3a81=this[_0x575a74(0x151)],_0x33468c=_0x4b3a81[_0x575a74(0x115)][_0x575a74(0x12a)](_0x575a74(0x11b));if(_0x4b3a81[_0x575a74(0x115)][_0x575a74(0x12a)](_0x3c0af8)[_0x575a74(0x156)](this),_0x33468c[_0x575a74(0x139)]={'addCommentThread':async({channelId:_0x1ff3a8,threadId:_0x441775,comments:_0xdaffa6,resolvedAt:_0x5068fe,resolvedBy:_0x23db89,context:_0x4adb10,attributes:_0x340312})=>{const _0x1a06f9=_0x575a74,_0x2f1d56=await this[_0x1a06f9(0x14b)](_0x1ff3a8)[_0x1a06f9(0x128)]({'commentThreadId':_0x441775,'comments':_0xdaffa6[_0x1a06f9(0x100)](_0x4c755f=>function(_0x354bdc,_0x26c65e,_0x23eb63){const _0x7e9b4=_0x1a06f9;return{'commentThreadId':_0x23eb63,'commentId':_0x354bdc[_0x7e9b4(0x147)],'userId':_0x354bdc[_0x7e9b4(0x145)],'content':_0x354bdc[_0x7e9b4(0x124)],'documentId':_0x26c65e,'createdAt':_0x354bdc[_0x7e9b4(0x12b)],'attributes':_0x354bdc[_0x7e9b4(0x137)]||{}};}(_0x4c755f,_0x1ff3a8,_0x441775)),'resolvedAt':_0x5068fe,'resolvedBy':_0x23db89,'context':_0x4adb10,'attributes':_0x340312})[_0x1a06f9(0x162)](R);return{'threadId':_0x2f1d56[_0x1a06f9(0x155)],'comments':_0x2f1d56[_0x1a06f9(0x12f)]};},'getCommentThread':async({channelId:_0x37ba81,threadId:_0x4c21b0})=>{const _0x52ec14=_0x575a74,_0x4ebfa5=await this[_0x52ec14(0x14b)](_0x37ba81)[_0x52ec14(0x102)](_0x4c21b0)[_0x52ec14(0x162)](R);return _0x4ebfa5[_0x52ec14(0x111)]?null:(await this[_0x52ec14(0x158)]([_0x4ebfa5]),{'threadId':_0x4ebfa5[_0x52ec14(0x155)],'comments':_0x4ebfa5[_0x52ec14(0x12f)][_0x52ec14(0x100)](S),'context':_0x4ebfa5[_0x52ec14(0x151)],'resolvedAt':_0x4ebfa5[_0x52ec14(0x11e)],'resolvedBy':_0x4ebfa5[_0x52ec14(0x104)],'attributes':_0x4ebfa5[_0x52ec14(0x137)]||{}});},'updateCommentThread':async({channelId:_0x2bf279,threadId:_0x4a3fa1,context:_0x44cf0c,unlinkedAt:_0x27f0a7,attributes:_0x1b636d})=>this[_0x575a74(0x14b)](_0x2bf279)[_0x575a74(0x143)]({'commentThreadId':_0x4a3fa1,'context':_0x44cf0c,'attributes':_0x1b636d,'unlinkedAt':_0x27f0a7})[_0x575a74(0x162)](B)[_0x575a74(0x162)](R),'resolveCommentThread':async({channelId:_0x2e8fa9,threadId:_0x257c86})=>{const _0x36a052=_0x575a74,_0x3781b2=await this[_0x36a052(0x14b)](_0x2e8fa9)[_0x36a052(0x11d)](_0x257c86)[_0x36a052(0x162)](B)[_0x36a052(0x162)](R);return{'threadId':_0x3781b2[_0x36a052(0x155)],'resolvedAt':_0x3781b2[_0x36a052(0x11e)],'resolvedBy':_0x3781b2[_0x36a052(0x104)]};},'reopenCommentThread':async({channelId:_0x2b3fd5,threadId:_0x4d6a26})=>this[_0x575a74(0x14b)](_0x2b3fd5)[_0x575a74(0x122)](_0x4d6a26)[_0x575a74(0x162)](B)[_0x575a74(0x162)](R),'removeCommentThread':({channelId:_0xba385d,threadId:_0x4e34a5})=>this[_0x575a74(0x14b)](_0xba385d)[_0x575a74(0xff)](_0x4e34a5)[_0x575a74(0x162)](B)[_0x575a74(0x162)](R),'addComment':({channelId:_0x15c97e,threadId:_0x30c7f9,commentId:_0x4d9fbc,content:_0x45d1ec,attributes:_0x56a8ed})=>this[_0x575a74(0x14b)](_0x15c97e)[_0x575a74(0x14c)](_0x30c7f9,_0x4d9fbc,_0x45d1ec,_0x56a8ed)[_0x575a74(0x162)](R),'updateComment':({channelId:_0x37346c,threadId:_0x1411b4,commentId:_0x3556db,content:_0x3832d4,attributes:_0xa03258})=>this[_0x575a74(0x14b)](_0x37346c)[_0x575a74(0x154)](_0x1411b4,_0x3556db,_0x3832d4,_0xa03258)[_0x575a74(0x162)](B)[_0x575a74(0x162)](R),'removeComment':({channelId:_0xb064c1,threadId:_0x45a126,commentId:_0x29969d})=>this[_0x575a74(0x14b)](_0xb064c1)[_0x575a74(0x10b)](_0x45a126,_0x29969d)[_0x575a74(0x162)](B)[_0x575a74(0x162)](R)},_0x4b3a81 instanceof _0x59a996){const _0x17f219=_0x4b3a81[_0x575a74(0x106)][_0x575a74(0x12a)](_0x575a74(0x120)),_0x1b2d7e=_0x4b3a81[_0x575a74(0x115)][_0x575a74(0x12a)](_0x51f4c1);await this[_0x575a74(0x10c)](_0x17f219);const _0x1b4c17=await this[_0x575a74(0x142)][_0x575a74(0x12a)](_0x17f219)[_0x575a74(0x107)]();this[_0x575a74(0x149)](_0x1b2d7e,_0x575a74(0x140)+_0x17f219,(_0x4e8736,{session:_0x28adc8})=>{const _0x490112=_0x575a74;_0x28adc8['id']===_0x1b2d7e[_0x490112(0x10f)]&&(_0x4e8736[_0x490112(0x15c)](),this[_0x490112(0x151)][_0x490112(0x115)][_0x490112(0x12a)](_0x490112(0x157))[_0x490112(0x130)](_0x28adc8[_0x490112(0x159)],_0x17f219));}),_0x1b2d7e[_0x575a74(0x14f)](_0x17f219,_0x1b4c17);}}async[_0x2764b6(0x10c)](_0x351a61){const _0x12d316=_0x2764b6;if(this[_0x12d316(0x142)][_0x12d316(0x15e)](_0x351a61))throw new _0x29cbcf(_0x12d316(0x160),null,{'channelId':_0x351a61});const _0x18f8e0=this[_0x12d316(0x151)][_0x12d316(0x115)][_0x12d316(0x12a)](_0x12d316(0x11b)),_0x3013d8=new a[(_0x12d316(0x14a))](_0x351a61);this[_0x12d316(0x142)][_0x12d316(0x101)](_0x351a61,_0x3013d8),this[_0x12d316(0x149)](_0x3013d8,_0x12d316(0x12d),(_0x886e41,_0x31fcad)=>{const _0x3cb6c2=_0x12d316,{commentThreadId:_0x52f54,documentId:_0x3ef190,context:_0x1bfef2,attributes:_0x356fe3,resolvedAt:_0x50f6cb,resolvedBy:_0x32cb15,comments:_0x270f8a}=_0x31fcad;_0x18f8e0[_0x3cb6c2(0x102)](_0x52f54)||_0x18f8e0[_0x3cb6c2(0x128)]({'threadId':_0x52f54,'channelId':_0x3ef190,'comments':_0x270f8a?_0x270f8a[_0x3cb6c2(0x100)](S):[],'context':_0x1bfef2,'attributes':_0x356fe3,'resolvedAt':_0x50f6cb,'resolvedBy':_0x32cb15,'isFromAdapter':!0x0});}),this[_0x12d316(0x149)](_0x3013d8,_0x12d316(0x10d),(_0x208958,{commentThreadId:_0x1937a4,documentId:_0x18b389,context:_0x4a7242,unlinkedAt:_0x2d034d,attributes:_0x9840d7})=>{const _0x28c165=_0x12d316;_0x18f8e0[_0x28c165(0x102)](_0x1937a4)&&_0x18f8e0[_0x28c165(0x143)]({'threadId':_0x1937a4,'channelId':_0x18b389,'context':_0x4a7242,'unlinkedAt':_0x2d034d,'attributes':_0x9840d7,'isFromAdapter':!0x0});}),this[_0x12d316(0x149)](_0x3013d8,_0x12d316(0x132),(_0x1a2564,{commentThreadId:_0x26ae79,resolvedBy:_0x4c00e0,resolvedAt:_0x35dd69})=>{const _0x3fc56a=_0x12d316,_0x135178=_0x18f8e0[_0x3fc56a(0x102)](_0x26ae79);_0x135178&&_0x135178[_0x3fc56a(0x129)]({'resolvedBy':_0x4c00e0,'resolvedAt':_0x35dd69,'isFromAdapter':!0x0});}),this[_0x12d316(0x149)](_0x3013d8,_0x12d316(0x13b),(_0x475fe5,{commentThreadId:_0x4e212a})=>{const _0x2553a0=_0x12d316,_0x393132=_0x18f8e0[_0x2553a0(0x102)](_0x4e212a);_0x393132&&_0x393132[_0x2553a0(0x103)]({'isFromAdapter':!0x0});}),this[_0x12d316(0x149)](_0x3013d8,_0x12d316(0x15d),(_0x3ebd42,{commentThreadId:_0x5f0743})=>{const _0xdff6ec=_0x12d316,_0x1ebce5=_0x18f8e0[_0xdff6ec(0x102)](_0x5f0743);_0x1ebce5&&_0x1ebce5[_0xdff6ec(0x121)]({'isFromAdapter':!0x0});}),this[_0x12d316(0x149)](_0x3013d8,_0x12d316(0x133),(_0x5415b8,_0xc789c8)=>{const _0x2bd8d3=_0x12d316,_0x5ac228=_0xc789c8[_0x2bd8d3(0x155)],_0x5e5b2b=_0x18f8e0[_0x2bd8d3(0x102)](_0x5ac228);_0x5e5b2b&&_0x5e5b2b[_0x2bd8d3(0x14c)]({...S(_0xc789c8),'isFromAdapter':!0x0});}),this[_0x12d316(0x149)](_0x3013d8,_0x12d316(0x13a),(_0x37e213,{commentThreadId:_0xaf9f3f,commentId:_0x3e41b8,content:_0x3740de,attributes:_0xdccc6a})=>{const _0x1adf14=_0x12d316,_0x45cecb=_0x18f8e0[_0x1adf14(0x102)](_0xaf9f3f);if(_0x45cecb){const _0x1d3901=_0x45cecb[_0x1adf14(0x141)](_0x3e41b8);_0x1d3901&&_0x1d3901[_0x1adf14(0x10a)]({'content':_0x3740de,'attributes':_0xdccc6a,'isFromAdapter':!0x0});}}),this[_0x12d316(0x149)](_0x3013d8,_0x12d316(0xfc),(_0x418ed6,{commentThreadId:_0x5f5ae9,commentId:_0x5cee68})=>{const _0x268a12=_0x12d316,_0x2693b1=_0x18f8e0[_0x268a12(0x102)](_0x5f5ae9);if(_0x2693b1){const _0x1fb978=_0x2693b1[_0x268a12(0x141)](_0x5cee68);_0x1fb978&&_0x1fb978[_0x268a12(0x121)]({'isFromAdapter':!0x0});}}),await this[_0x12d316(0x112)](_0x351a61);}[_0x2764b6(0x118)](){const _0x476c51=_0x2764b6;if(this[_0x476c51(0x151)]instanceof _0x59a996){const _0x5c7583=this[_0x476c51(0x151)][_0x476c51(0x106)][_0x476c51(0x12a)](_0x476c51(0x120));this[_0x476c51(0x144)](_0x5c7583);}}[_0x2764b6(0x144)](_0x3cf41a){const _0x557954=_0x2764b6;if(!this[_0x557954(0x142)][_0x557954(0x15e)](_0x3cf41a))throw new _0x29cbcf(_0x557954(0x153),null,{'channelId':_0x3cf41a});this[_0x557954(0x14b)](_0x3cf41a)[_0x557954(0x108)](),this[_0x557954(0x142)][_0x557954(0x11f)](_0x3cf41a);}async[_0x2764b6(0x161)](){const _0x40e08e=_0x2764b6;for(const _0x3c9b16 of this[_0x40e08e(0x142)][_0x40e08e(0x134)]())await this[_0x40e08e(0x112)](_0x3c9b16);if(this[_0x40e08e(0x151)]instanceof _0x59a996){const _0xab7708=this[_0x40e08e(0x151)][_0x40e08e(0x106)][_0x40e08e(0x12a)](_0x40e08e(0x120)),_0xe2b174=this[_0x40e08e(0x151)][_0x40e08e(0x115)][_0x40e08e(0x12a)](_0x51f4c1);_0xe2b174[_0x40e08e(0x14e)](_0xab7708);const _0x5ad653=await this[_0x40e08e(0x142)][_0x40e08e(0x12a)](_0xab7708)[_0x40e08e(0x107)]();_0xe2b174[_0x40e08e(0x14f)](_0xab7708,_0x5ad653);}}async[_0x2764b6(0x112)](_0x4fed47){const _0x1e6361=_0x2764b6,{connection:_0x88ecc6}=this[_0x1e6361(0x151)][_0x1e6361(0x115)][_0x1e6361(0x12a)](_0x3c0af8),_0x16b2d2=this[_0x1e6361(0x151)][_0x1e6361(0x115)][_0x1e6361(0x12a)](_0x1e6361(0x11b)),_0x453bb=this[_0x1e6361(0x142)][_0x1e6361(0x12a)](_0x4fed47),_0x281a6f=await _0x453bb[_0x1e6361(0x126)](_0x88ecc6);await this[_0x1e6361(0x158)](_0x281a6f);const _0x18c709=new Set(Array[_0x1e6361(0x13c)](_0x16b2d2[_0x1e6361(0x138)]({'channelId':_0x4fed47}),_0x53fd13=>_0x53fd13['id']));for(const _0x4a2afd of _0x281a6f)_0x4a2afd[_0x1e6361(0x111)]||_0x18c709[_0x1e6361(0x11f)](_0x4a2afd[_0x1e6361(0x155)]);for(const _0x23a55c of _0x18c709)_0x16b2d2[_0x1e6361(0x102)](_0x23a55c)[_0x1e6361(0x121)]({'isFromAdapter':!0x0});for(const _0x4baec7 of _0x281a6f){let _0x44c36b=_0x16b2d2[_0x1e6361(0x102)](_0x4baec7[_0x1e6361(0x155)]);const {commentThreadId:_0x3d4b8b,context:_0xd0efe1,attributes:_0x1bf0a9,resolvedBy:_0x64c0f,resolvedAt:_0x6b02d3,unlinkedAt:_0x5b1ff1,deletedAt:_0x47b8c7}=_0x4baec7;if(_0x47b8c7)continue;_0x44c36b||(_0x44c36b=_0x16b2d2[_0x1e6361(0x128)]({'channelId':_0x4fed47,'threadId':_0x3d4b8b,'context':_0xd0efe1,'attributes':_0x1bf0a9||{},'resolvedBy':_0x64c0f,'resolvedAt':_0x6b02d3,'unlinkedAt':_0x5b1ff1,'isFromAdapter':!0x0}));const _0x4a29a0=new Set(Array[_0x1e6361(0x13c)](_0x44c36b[_0x1e6361(0x12f)],_0xb954db=>_0xb954db['id']));for(const _0x2d6706 of _0x4baec7[_0x1e6361(0x12f)])_0x4a29a0[_0x1e6361(0x11f)](_0x2d6706[_0x1e6361(0x147)]);for(const _0x3c6ef2 of _0x4a29a0)_0x44c36b[_0x1e6361(0x141)](_0x3c6ef2)[_0x1e6361(0x121)]({'isFromAdapter':!0x0});for(const _0x58a54c of _0x4baec7[_0x1e6361(0x12f)]){const _0x31e7d1=_0x44c36b[_0x1e6361(0x141)](_0x58a54c[_0x1e6361(0x147)]);_0x31e7d1?_0x31e7d1[_0x1e6361(0x124)]!==_0x58a54c[_0x1e6361(0x124)]&&_0x31e7d1[_0x1e6361(0x10a)]({'content':_0x58a54c[_0x1e6361(0x124)],'isFromAdapter':!0x0}):_0x44c36b[_0x1e6361(0x14c)](Object[_0x1e6361(0xfe)](S(_0x58a54c),{'isFromAdapter':!0x0}));}}}[_0x2764b6(0x14b)](_0x4ec50c){const _0x58080a=_0x2764b6;if(!this[_0x58080a(0x142)][_0x58080a(0x15e)](_0x4ec50c))throw new _0x29cbcf(_0x58080a(0x13e),null,{'channelId':_0x4ec50c});return this[_0x58080a(0x142)][_0x58080a(0x12a)](_0x4ec50c);}async[_0x2764b6(0x158)](_0x2e3ee6){const _0x23e393=_0x2764b6,_0x580083=this[_0x23e393(0x151)][_0x23e393(0x115)][_0x23e393(0x12a)](_0x4ccbb7),{connection:_0x22b9f0}=this[_0x23e393(0x151)][_0x23e393(0x115)][_0x23e393(0x12a)](_0x3c0af8),_0x391869=new Set();for(const {resolvedBy:_0x154824,comments:_0x2fa6dd}of _0x2e3ee6){_0x154824&&!_0x580083[_0x23e393(0x15f)](_0x154824)&&_0x391869[_0x23e393(0x127)](_0x154824);for(const {userId:_0x5e19d6}of _0x2fa6dd)_0x580083[_0x23e393(0x15f)](_0x5e19d6)||_0x391869[_0x23e393(0x127)](_0x5e19d6);}if(0x0===_0x391869[_0x23e393(0x15b)])return;const _0x445c4b=await _0x29dbbe[_0x23e393(0x135)](_0x22b9f0,Array[_0x23e393(0x13c)](_0x391869));for(const _0x16ec8a of _0x445c4b)_0x580083[_0x23e393(0x15f)](_0x16ec8a['id'])||_0x580083[_0x23e393(0x13f)](_0x16ec8a);}}a[_0x2764b6(0x14a)]=_0x40b115;export default a;async function B(_0x5408b6){const _0x17c79c=_0x2764b6;if(_0x17c79c(0x136)!==_0x5408b6[_0x17c79c(0x114)])throw _0x5408b6;}function R(_0x5d02bb){const _0x18b7c6=_0x2764b6;if((_0x344aa0=_0x5d02bb)[_0x18b7c6(0x117)][_0x18b7c6(0x10e)](_0x18b7c6(0x152))||_0x344aa0[_0x18b7c6(0x117)][_0x18b7c6(0x10e)](_0x18b7c6(0x116))||_0x344aa0[_0x18b7c6(0x117)][_0x18b7c6(0x10e)](_0x18b7c6(0x13d)))return new Promise(()=>{});var _0x344aa0;throw _0x5d02bb;}function S(_0x41c0ec){const _0x51017e=_0x2764b6;return{'threadId':_0x41c0ec[_0x51017e(0x155)],'commentId':_0x41c0ec[_0x51017e(0x147)],'content':_0x41c0ec[_0x51017e(0x124)],'createdAt':_0x41c0ec[_0x51017e(0x12b)],'authorId':_0x41c0ec[_0x51017e(0x131)],'attributes':_0x41c0ec[_0x51017e(0x137)]||{}};}
|
|
@@ -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 _0x84c45=_0x18fd;(function(_0x3d7874,_0x4d1982){const _0x1c3d1d=_0x18fd,_0x1894e9=_0x3d7874();while(!![]){try{const _0x4ee4f9=-parseInt(_0x1c3d1d(0x15a))/0x1+parseInt(_0x1c3d1d(0x127))/0x2+-parseInt(_0x1c3d1d(0x1f1))/0x3+-parseInt(_0x1c3d1d(0x12e))/0x4+-parseInt(_0x1c3d1d(0x1bc))/0x5*(-parseInt(_0x1c3d1d(0x212))/0x6)+-parseInt(_0x1c3d1d(0x192))/0x7*(parseInt(_0x1c3d1d(0x1e8))/0x8)+parseInt(_0x1c3d1d(0x1cc))/0x9;if(_0x4ee4f9===_0x4d1982)break;else _0x1894e9['push'](_0x1894e9['shift']());}catch(_0xb11d1a){_0x1894e9['push'](_0x1894e9['shift']());}}}(_0x5844,0x5351d));import{Plugin as _0x21caba,PendingActions as _0x206462}from'ckeditor5/src/core.js';import{CKEditorError as _0x404436,version as _0x2ec560,uid as _0x36492c}from'ckeditor5/src/utils.js';import{Notification as _0x1227f1}from'ckeditor5/src/ui.js';import{transformSets as _0x13cb36,NoOperation as _0x1d4914,InsertOperation as _0x2c7d80,MarkerOperation as _0x450092,RootAttributeOperation as _0x4d2ef3,OperationFactory as _0x355682,History as _0x41013c}from'ckeditor5/src/engine.js';import _0x38248b from'./websocketgateway.js';import _0x595ded from'./sessions.js';import _0xc0ad90 from'./usermarkers.js';import{getTranslation as _0x43cdc5}from'../common-translations.js';import{Compressor as _0x49afc8}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x53bf69}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x19d35d,CollaborativeEditingService as _0x4a6f41}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Z=0x1;function _0x18fd(_0x5eb4d,_0x43c72c){const _0x5844fc=_0x5844();return _0x18fd=function(_0x18fd34,_0x3fc53c){_0x18fd34=_0x18fd34-0x11a;let _0x449595=_0x5844fc[_0x18fd34];return _0x449595;},_0x18fd(_0x5eb4d,_0x43c72c);}class l extends _0x21caba{static get[_0x84c45(0x123)](){return[_0x38248b,_0x595ded,_0xc0ad90,_0x206462,_0x53bf69,_0x1227f1];}static get[_0x84c45(0x1ae)](){const _0x56142b=_0x84c45;return _0x56142b(0x16b);}static get[_0x84c45(0x131)](){return!0x0;}static get[_0x84c45(0x1df)](){return!0x0;}get[_0x84c45(0x158)](){const _0x449bcf=_0x84c45;return this[_0x449bcf(0x142)]+this[_0x449bcf(0x1c4)];}get[_0x84c45(0x142)](){const _0x383be1=_0x84c45;return this[_0x383be1(0x189)][_0x383be1(0x12f)]-this[_0x383be1(0x1c4)];}get[_0x84c45(0x207)](){const _0xc76605=_0x84c45,_0x70f373=this[_0xc76605(0x189)][_0xc76605(0x18a)]();for(let _0x453266=_0x70f373[_0xc76605(0x13c)]-0x1;_0x453266>=0x0;_0x453266--){const _0x33e0de=_0x70f373[_0x453266];if(!this[_0xc76605(0x205)][_0xc76605(0x15f)](_0x33e0de))return _0x33e0de[_0xc76605(0x217)]+0x1-this[_0xc76605(0x1c4)];}return 0x0;}constructor(_0x58c8e3){const _0x327863=_0x84c45;if(super(_0x58c8e3),this[_0x327863(0x1c4)]=0x0,this[_0x327863(0x1c9)]=null,this[_0x327863(0x189)]=new _0x41013c(),this[_0x327863(0x175)][_0x327863(0x163)][_0x327863(0x16f)](_0x327863(0x1b1),{}),this[_0x327863(0x12b)]=this[_0x327863(0x175)][_0x327863(0x163)][_0x327863(0x1b8)](_0x327863(0x1a1)),!this[_0x327863(0x12b)])throw new _0x404436(_0x327863(0x153),this);const _0x27dcc3=_0x58c8e3[_0x327863(0x163)][_0x327863(0x1b8)](_0x327863(0x186))||_0x2ec560;this[_0x327863(0x144)]=new l[(_0x327863(0x1b9))](_0x27dcc3,this[_0x327863(0x12b)]),this[_0x327863(0x179)]=this[_0x327863(0x175)][_0x327863(0x14f)][_0x327863(0x20c)],this[_0x327863(0x1e6)]=new _0x49afc8(),this[_0x327863(0x1e4)]=[],this[_0x327863(0x197)]=new WeakSet(),this[_0x327863(0x156)]=new Set(),this[_0x327863(0x1da)](_0x327863(0x17a),!0x1),this[_0x327863(0x1da)](_0x327863(0x17e),!0x1),this[_0x327863(0x14c)]=null,this[_0x327863(0x198)]=!0x1,this[_0x327863(0x20f)]=null,this[_0x327863(0x1ee)]=0x12c,this[_0x327863(0x155)]=this[_0x327863(0x1ee)],this[_0x327863(0x1ca)]=null,this[_0x327863(0x205)]=new WeakSet(),this[_0x327863(0x1af)]=new st(this[_0x327863(0x205)]);}[_0x84c45(0x1a3)](){const _0x171d33=_0x84c45,_0x30b5e2=this[_0x171d33(0x175)],_0x4ef59f=_0x30b5e2[_0x171d33(0x160)][_0x171d33(0x1b8)](_0x53bf69),_0x267dfb=_0x30b5e2[_0x171d33(0x160)][_0x171d33(0x1b8)](_0x38248b);this[_0x171d33(0x1c1)](_0x4ef59f,_0x171d33(0x176),(_0x167490,_0x990f40)=>{const _0x1fb515=_0x171d33,_0x195109=_0x990f40[0x0];_0x195109[_0x1fb515(0x1ce)]&&(_0x167490[_0x1fb515(0x1fd)]=_0x4ef59f[_0x1fb515(0x11c)](_0x195109[_0x1fb515(0x1ce)]),_0x167490[_0x1fb515(0x1b6)]()),null===_0x195109[_0x1fb515(0x1ce)]&&(_0x167490[_0x1fb515(0x1fd)]=null,_0x167490[_0x1fb515(0x1b6)]());},{'priority':_0x171d33(0x182)}),this[_0x171d33(0x1c1)](_0x30b5e2[_0x171d33(0x14f)][_0x171d33(0x20c)][_0x171d33(0x12a)],_0x171d33(0x1f0),(_0x430749,_0x570ac6)=>{const _0x2c3bf=_0x171d33;_0x570ac6[_0x2c3bf(0x137)]&&this[_0x2c3bf(0x1e3)]();}),this[_0x171d33(0x1c1)](_0x30b5e2[_0x171d33(0x16e)][_0x171d33(0x1dc)],_0x171d33(0x1cd),()=>{const _0x55cbcb=_0x171d33;this[_0x55cbcb(0x1e3)]();}),this[_0x171d33(0x21b)](),_0x30b5e2[_0x171d33(0x14f)]['on'](_0x171d33(0x209),(_0x47b1b7,_0x1d5bee)=>{const _0x1260a2=_0x171d33,_0x266fbe=_0x1d5bee[0x0];_0x266fbe[_0x1260a2(0x14d)]&&(this[_0x1260a2(0x129)](_0x266fbe),this[_0x1260a2(0x168)]()&&this[_0x1260a2(0x124)]());}),this[_0x171d33(0x213)](),this[_0x171d33(0x17b)](_0x171d33(0x19f))['to'](_0x267dfb,_0x171d33(0x134),this,_0x171d33(0x17e),(_0x19fb43,_0x3db1c0)=>_0x171d33(0x1eb)===_0x19fb43&&!_0x3db1c0),this['on'](_0x171d33(0x1a7),()=>{const _0x344209=_0x171d33;this[_0x344209(0x19f)]?_0x30b5e2[_0x344209(0x18b)](_0x344209(0x183)):_0x30b5e2[_0x344209(0x1a0)](_0x344209(0x183));}),this[_0x171d33(0x19f)]?_0x30b5e2[_0x171d33(0x18b)](_0x171d33(0x183)):_0x30b5e2[_0x171d33(0x1a0)](_0x171d33(0x183)),this[_0x171d33(0x1da)](_0x171d33(0x208),!0x1);}async[_0x84c45(0x1fb)](){const _0x3ac1ce=_0x84c45,_0x2f60b1=this[_0x3ac1ce(0x175)][_0x3ac1ce(0x160)][_0x3ac1ce(0x1b8)](_0x595ded),_0x412a3e=this[_0x3ac1ce(0x175)][_0x3ac1ce(0x160)][_0x3ac1ce(0x1b8)](_0x38248b);try{this[_0x3ac1ce(0x17a)]=!0x0,_0x2f60b1[_0x3ac1ce(0x1a6)](this[_0x3ac1ce(0x12b)]);const _0x3714b3=await this[_0x3ac1ce(0x144)][_0x3ac1ce(0x1fb)](_0x412a3e[_0x3ac1ce(0x1b2)],this[_0x3ac1ce(0x207)]);await this[_0x3ac1ce(0x203)](_0x3714b3)&&(this[_0x3ac1ce(0x17a)]=!0x1,this[_0x3ac1ce(0x172)]());const _0xbbba69=await this[_0x3ac1ce(0x144)][_0x3ac1ce(0x125)]();_0x2f60b1[_0x3ac1ce(0x1dd)](this[_0x3ac1ce(0x12b)],_0xbbba69),this[_0x3ac1ce(0x162)](),this[_0x3ac1ce(0x208)]=!0x0;}catch(_0x5782d0){if(function(_0x292cd4){const _0x428251=_0x3ac1ce;return _0x428251(0x180)===_0x292cd4[_0x428251(0x13a)];}(_0x5782d0)&&this[_0x3ac1ce(0x1c9)])await this[_0x3ac1ce(0x133)]();else{if(function(_0x37e79c){const _0x1b0a3b=_0x3ac1ce;return _0x1b0a3b(0x21a)===_0x37e79c[_0x1b0a3b(0x13a)];}(_0x5782d0)){const _0x3ebc21=_0x43cdc5(this[_0x3ac1ce(0x175)][_0x3ac1ce(0x174)],_0x3ac1ce(0x1cb));this[_0x3ac1ce(0x1c2)](_0x3ebc21);}else{if(!(_0x5782d0 instanceof tt))throw _0x5782d0;this[_0x3ac1ce(0x1c2)]();}}}}[_0x84c45(0x1fe)](){const _0x356e4a=_0x84c45,_0x34b0df=this[_0x356e4a(0x175)][_0x356e4a(0x160)][_0x356e4a(0x1b8)](_0x38248b),_0x58a643=this[_0x356e4a(0x175)][_0x356e4a(0x160)][_0x356e4a(0x1b8)](_0x595ded);this[_0x356e4a(0x175)][_0x356e4a(0x1a0)](_0x356e4a(0x18c)),_0x58a643[_0x356e4a(0x19d)][_0x356e4a(0x15f)](this[_0x356e4a(0x12b)])&&_0x58a643[_0x356e4a(0x1a6)](this[_0x356e4a(0x12b)]),_0x34b0df[_0x356e4a(0x157)](this),this[_0x356e4a(0x196)](),super[_0x356e4a(0x1fe)]();}async[_0x84c45(0x203)](_0x1b47d3){const _0x4c92e1=_0x84c45;if(this[_0x4c92e1(0x1c9)]!==_0x1b47d3[_0x4c92e1(0x1c9)]&&this[_0x4c92e1(0x1ca)]!==_0x1b47d3[_0x4c92e1(0x190)])throw new tt();return this[_0x4c92e1(0x1c9)]=_0x1b47d3[_0x4c92e1(0x1c9)],this[_0x4c92e1(0x164)]([],{..._0x1b47d3,'wereChangesApplied':!0x1,'data':_0x1b47d3[_0x4c92e1(0x1f5)]},_0x4c92e1(0x1fb));}async[_0x84c45(0x21d)](_0x730628,_0x51ac4f=!0x1){const _0xae8f8b=_0x84c45,{connection:_0x2b6d5f}=this[_0xae8f8b(0x175)][_0xae8f8b(0x160)][_0xae8f8b(0x1b8)](_0x38248b);l[_0xae8f8b(0x1b9)][_0xae8f8b(0x125)](_0x2b6d5f,this[_0xae8f8b(0x12b)])[_0xae8f8b(0x199)](_0x458383=>this[_0xae8f8b(0x128)](_0x458383))[_0xae8f8b(0x1ba)](_0x59bea5=>{const _0x19e741=_0xae8f8b;this[_0x19e741(0x195)](_0x19e741(0x1ec),_0x59bea5);}),this[_0xae8f8b(0x1c1)](this[_0xae8f8b(0x144)],_0xae8f8b(0x136),this[_0xae8f8b(0x13e)][_0xae8f8b(0x17b)](this)),this[_0xae8f8b(0x1c1)](this[_0xae8f8b(0x144)],_0xae8f8b(0x191),(_0x1f5f89,_0x20a135)=>{const _0x420162=_0xae8f8b;this[_0x420162(0x195)](_0x420162(0x15c),_0x20a135);}),this[_0xae8f8b(0x1c1)](this[_0xae8f8b(0x144)],_0xae8f8b(0x18f),()=>{const _0x2de247=_0xae8f8b;this[_0x2de247(0x208)]=!0x1;});const _0x4b3194=this[_0xae8f8b(0x1af)][_0xae8f8b(0x1be)](_0x730628);this[_0xae8f8b(0x17a)]=!0x0;const _0x25140b=await this[_0xae8f8b(0x144)][_0xae8f8b(0x122)](_0x2b6d5f,this[_0xae8f8b(0x206)](_0x730628),_0x4b3194);if(this[_0xae8f8b(0x1c9)]=_0x25140b[_0xae8f8b(0x1c9)],_0x51ac4f){if(!_0x25140b[_0xae8f8b(0x19a)])return void this[_0xae8f8b(0x1c2)]();this[_0xae8f8b(0x17a)]=!0x1,this[_0xae8f8b(0x172)](),this[_0xae8f8b(0x189)][_0xae8f8b(0x14e)](),this[_0xae8f8b(0x1c4)]=_0x25140b[_0xae8f8b(0x167)],this[_0xae8f8b(0x189)][_0xae8f8b(0x12f)]=this[_0xae8f8b(0x1c4)],await this[_0xae8f8b(0x164)](_0x730628,_0x25140b,_0xae8f8b(0x20d));}else await this[_0xae8f8b(0x18e)](_0x25140b,_0x730628);this[_0xae8f8b(0x162)](),this[_0xae8f8b(0x208)]=!0x0;}[_0x84c45(0x162)](){const _0x14d0ba=_0x84c45,_0x47397a=this[_0x14d0ba(0x175)][_0x14d0ba(0x160)][_0x14d0ba(0x1b8)](_0x595ded),_0x2264f1=this[_0x14d0ba(0x175)][_0x14d0ba(0x160)][_0x14d0ba(0x1b8)](_0xc0ad90),_0x1c621f=_0x47397a[_0x14d0ba(0x19d)][_0x14d0ba(0x1b8)](this[_0x14d0ba(0x12b)]);_0x1c621f&&_0x1c621f[_0x14d0ba(0x13c)]>0x1?_0x2264f1[_0x14d0ba(0x218)]():this[_0x14d0ba(0x1c1)](_0x47397a,_0x14d0ba(0x139)+this[_0x14d0ba(0x12b)],()=>{const _0x9f9316=_0x14d0ba;0x2===_0x47397a[_0x9f9316(0x19d)][_0x9f9316(0x1b8)](this[_0x9f9316(0x12b)])[_0x9f9316(0x13c)]&&_0x2264f1[_0x9f9316(0x218)]();});}async[_0x84c45(0x13e)](_0x2b03b4,_0x2c911b,_0x263abf,_0x512216){const _0x1a3a0b=_0x84c45;if(!this[_0x1a3a0b(0x17a)]&&this[_0x1a3a0b(0x179)][_0x1a3a0b(0x12f)]==_0x2c911b){const _0x4e97b3=this[_0x1a3a0b(0x173)](_0x263abf,_0x512216);await this[_0x1a3a0b(0x20b)](_0x4e97b3),this[_0x1a3a0b(0x1d1)](_0x4e97b3,_0x2c911b,_0x263abf[_0x1a3a0b(0x190)])||this[_0x1a3a0b(0x195)](_0x1a3a0b(0x1a4));}}async[_0x84c45(0x133)](){const _0x43256a=_0x84c45;this[_0x43256a(0x196)]();const {locale:_0x4d4750}=this[_0x43256a(0x175)];let _0x22941b;try{_0x22941b=await this[_0x43256a(0x144)][_0x43256a(0x178)]();}catch(_0x295981){const _0x214ff9=_0x43cdc5(_0x4d4750,_0x43256a(0x16d));return void this[_0x43256a(0x1c2)](_0x214ff9);}const _0x4bf6ca=_0x22941b[_0x43256a(0x149)]||_0x22941b[_0x43256a(0x1b4)];if(this[_0x43256a(0x1ca)]===_0x4bf6ca[_0x43256a(0x190)])await this[_0x43256a(0x21d)](this[_0x43256a(0x175)][_0x43256a(0x14f)][_0x43256a(0x20c)][_0x43256a(0x1ff)][_0x43256a(0x18a)](),!0x0);else{const _0x1726ff=_0x43cdc5(_0x4d4750,_0x43256a(0x147));this[_0x43256a(0x1c2)](_0x1726ff);}}[_0x84c45(0x196)](){const _0x164380=_0x84c45;this[_0x164380(0x144)][_0x164380(0x14a)](),this[_0x164380(0x1e4)]=[],clearTimeout(this[_0x164380(0x20f)]),this[_0x164380(0x1c6)](this[_0x164380(0x144)]);}[_0x84c45(0x128)](_0x507831){const _0x5b247e=_0x84c45,_0x53a0d2=this[_0x5b247e(0x175)][_0x5b247e(0x160)][_0x5b247e(0x1b8)](_0x595ded);this[_0x5b247e(0x1c1)](_0x53a0d2,_0x5b247e(0x139)+this[_0x5b247e(0x12b)],(_0x236637,{session:_0x1f23de})=>{const _0x4845b1=_0x5b247e;if(_0x1f23de['id']===_0x53a0d2[_0x4845b1(0x135)]){_0x236637[_0x4845b1(0x19c)]();const _0x46bb0e=this[_0x4845b1(0x175)][_0x4845b1(0x160)][_0x4845b1(0x15f)](_0x4845b1(0x1c5))&&this[_0x4845b1(0x175)][_0x4845b1(0x160)][_0x4845b1(0x1b8)](_0x4845b1(0x1c5));let _0x31ccc1=_0x1f23de[_0x4845b1(0x13f)];_0x46bb0e&&_0x46bb0e[_0x4845b1(0x1de)]&&(_0x31ccc1=_0x31ccc1[_0x4845b1(0x169)](_0x4a34a2=>_0x4845b1(0x11d)!==_0x4a34a2)),this[_0x4845b1(0x175)][_0x4845b1(0x160)][_0x4845b1(0x1b8)](_0x4845b1(0x130))[_0x4845b1(0x1ea)](_0x31ccc1,this[_0x4845b1(0x12b)]);}}),_0x53a0d2[_0x5b247e(0x1dd)](this[_0x5b247e(0x12b)],_0x507831);}[_0x84c45(0x21b)](){const _0xabeeb7=_0x84c45,_0x3e1767=this[_0xabeeb7(0x175)][_0xabeeb7(0x1f5)][_0xabeeb7(0x1da)];this[_0xabeeb7(0x175)][_0xabeeb7(0x1f5)][_0xabeeb7(0x1da)]=(..._0x52dc45)=>{const _0x2e3224=_0xabeeb7;if(!_0x52dc45[_0x52dc45[_0x2e3224(0x13c)]-0x1][_0x2e3224(0x140)])throw new _0x404436(_0x2e3224(0x1d0),this);_0x3e1767[_0x2e3224(0x1b7)](this[_0x2e3224(0x175)][_0x2e3224(0x1f5)],_0x52dc45);};}[_0x84c45(0x213)](){const _0x2df6f6=_0x84c45;this[_0x2df6f6(0x175)][_0x2df6f6(0x1f5)]['on'](_0x2df6f6(0x1a3),(_0x5bb929,[_0x3895a6])=>{const _0x13e85c=_0x2df6f6;if(this[_0x13e85c(0x179)][_0x13e85c(0x12f)])throw new _0x404436(_0x13e85c(0x1f4),this);_0x5bb929[_0x13e85c(0x1b6)](),this[_0x13e85c(0x210)]();const _0x498278=this[_0x13e85c(0x175)][_0x13e85c(0x163)][_0x13e85c(0x1b8)](_0x13e85c(0x1a9)),_0x458620=this[_0x13e85c(0x17c)](_0x3895a6,_0x498278);0x0==_0x458620[_0x13e85c(0x13c)]&&_0x458620[_0x13e85c(0x171)](new _0x1d4914(0x0)),_0x5bb929[_0x13e85c(0x1fd)]=this[_0x13e85c(0x21d)](_0x458620)[_0x13e85c(0x199)](()=>{const _0x3e1aee=_0x13e85c;this[_0x3e1aee(0x175)][_0x3e1aee(0x160)][_0x3e1aee(0x1b8)](_0x38248b)[_0x3e1aee(0x1d6)](this),this[_0x3e1aee(0x175)][_0x3e1aee(0x1f5)][_0x3e1aee(0x13b)](_0x3e1aee(0x1f2));})[_0x13e85c(0x1ba)](_0x149401=>this[_0x13e85c(0x195)](_0x13e85c(0x1cf),_0x149401))[_0x13e85c(0x121)](()=>this[_0x13e85c(0x172)]());},{'priority':_0x2df6f6(0x182)}),this[_0x2df6f6(0x175)]['on'](_0x2df6f6(0x1db),async(_0x2d72a0,[_0x7ebb4b,_0x543bfd])=>{const _0x307356=_0x2df6f6;_0x2d72a0[_0x307356(0x1b6)]();const _0x5726eb=this[_0x307356(0x175)][_0x307356(0x14f)][_0x307356(0x20c)][_0x307356(0x11e)](_0x7ebb4b);if(!this[_0x307356(0x156)][_0x307356(0x15f)](_0x7ebb4b)){const _0x59cb7d=_0x543bfd&&_0x543bfd[_0x307356(0x1f5)]?_0x543bfd[_0x307356(0x1f5)]:'',_0x2c0f17=_0x543bfd&&_0x543bfd[_0x307356(0x1bb)]?_0x543bfd[_0x307356(0x1bb)]:{};await this[_0x307356(0x1ad)](_0x7ebb4b,_0x59cb7d,_0x2c0f17);}this[_0x307356(0x175)][_0x307356(0x14f)][_0x307356(0x177)]({'isUndoable':!0x1},()=>{const _0x4769a6=_0x307356;_0x5726eb[_0x4769a6(0x152)]=!0x0,this[_0x4769a6(0x175)][_0x4769a6(0x14f)][_0x4769a6(0x20c)][_0x4769a6(0x151)][_0x4769a6(0x204)](_0x5726eb);});},{'priority':_0x2df6f6(0x182)});}async[_0x84c45(0x20b)](_0x681d6a){const _0x81fbc8=_0x84c45,_0x3ee306=this[_0x81fbc8(0x175)][_0x81fbc8(0x160)][_0x81fbc8(0x1b8)](_0x53bf69),{connection:_0x37293b}=this[_0x81fbc8(0x175)][_0x81fbc8(0x160)][_0x81fbc8(0x1b8)](_0x38248b),_0x47fb91=new Set();for(const _0x17a30b of _0x681d6a){const _0x5c981a=_0x17a30b[_0x81fbc8(0x1ce)];_0x5c981a&&!_0x3ee306[_0x81fbc8(0x11c)](_0x5c981a)&&_0x47fb91[_0x81fbc8(0x1d9)](_0x5c981a);}if(0x0===_0x47fb91[_0x81fbc8(0x143)])return;const _0x3578eb=await _0x19d35d[_0x81fbc8(0x1e9)](_0x37293b,Array[_0x81fbc8(0x170)](_0x47fb91));for(const _0x30bfd5 of _0x3578eb)_0x3ee306[_0x81fbc8(0x11c)](_0x30bfd5['id'])||_0x3ee306[_0x81fbc8(0x1bf)](_0x30bfd5);}[_0x84c45(0x17c)](_0x1087b6,_0x509116={}){const _0x4acc93=_0x84c45,_0x429a99=this[_0x4acc93(0x175)][_0x4acc93(0x14f)],_0x540a0e=[];let _0x76aecd=0x0;const _0x476654=_0x4acc93(0x1bd)==typeof _0x1087b6?{'main':_0x1087b6}:_0x1087b6;for(const _0x144a45 of Object[_0x4acc93(0x18d)](_0x476654)){if(!this[_0x4acc93(0x179)][_0x4acc93(0x1f8)][_0x4acc93(0x15f)](_0x144a45))throw new _0x404436(_0x4acc93(0x216),this);const _0x3110ad=this[_0x4acc93(0x175)][_0x4acc93(0x1f5)][_0x4acc93(0x17d)](_0x476654[_0x144a45]),_0x1a37dc=this[_0x4acc93(0x179)][_0x4acc93(0x11e)](_0x144a45),_0x15b105=new _0x2c7d80(_0x429a99[_0x4acc93(0x214)](_0x1a37dc,0x0),_0x3110ad,_0x76aecd++);_0x540a0e[_0x4acc93(0x171)](_0x15b105);for(const [_0x1d8eb8,_0x29eef1]of _0x3110ad[_0x4acc93(0x1f9)]){const _0x5b8a48=_0x429a99[_0x4acc93(0x21c)](_0x429a99[_0x4acc93(0x1b0)](_0x1a37dc,_0x29eef1[_0x4acc93(0x150)][_0x4acc93(0x145)][_0x4acc93(0x12d)]()),_0x429a99[_0x4acc93(0x1b0)](_0x1a37dc,_0x29eef1[_0x4acc93(0x1ef)][_0x4acc93(0x145)][_0x4acc93(0x12d)]())),_0x4a9926=new _0x450092(_0x1d8eb8,null,_0x5b8a48,_0x429a99[_0x4acc93(0x1f9)],!0x0,_0x76aecd++);_0x540a0e[_0x4acc93(0x171)](_0x4a9926);}}if(_0x509116)for(const [_0xc32c78,_0x269e3b]of Object[_0x4acc93(0x1aa)](_0x509116)){const _0x21ee40=_0x429a99[_0x4acc93(0x20c)][_0x4acc93(0x11e)](_0xc32c78);if(!_0x21ee40)throw new _0x404436(_0x4acc93(0x159),null);for(const [_0x3ae8ed,_0x21809b]of Object[_0x4acc93(0x1aa)](_0x269e3b))if(null!==_0x21809b){const _0x16c2b5=new _0x4d2ef3(_0x21ee40,_0x3ae8ed,null,_0x21809b,_0x76aecd++);_0x540a0e[_0x4acc93(0x171)](_0x16c2b5);}}return _0x540a0e;}async[_0x84c45(0x1ad)](_0x23021d,_0x22f0b2,_0x359b79){const _0x3c0599=_0x84c45;this[_0x3c0599(0x17c)]({[_0x23021d]:_0x22f0b2},{[_0x23021d]:_0x359b79})[_0x3c0599(0x1ab)]((_0x56dbb8,_0x37ab46)=>{const _0xc52ab2=_0x3c0599;_0x56dbb8[_0xc52ab2(0x217)]=this[_0xc52ab2(0x179)][_0xc52ab2(0x12f)]+_0x37ab46,_0x56dbb8[_0xc52ab2(0x1e5)]=!0x0,this[_0xc52ab2(0x129)](_0x56dbb8);}),this[_0x3c0599(0x124)](),await this[_0x3c0599(0x120)]();}async[_0x84c45(0x18e)](_0x39cbc6,_0x421d7e){const _0x92249f=_0x84c45;let _0x376638;this[_0x92249f(0x1c4)]=_0x39cbc6[_0x92249f(0x167)];const _0x46fade=_0x39cbc6[_0x92249f(0x19a)]&&!_0x39cbc6[_0x92249f(0x141)],_0x4d52d6=_0x46fade?0x0:_0x39cbc6[_0x92249f(0x1f5)][_0x92249f(0x217)];if(_0x421d7e[_0x92249f(0x1ab)](_0x2ff8f5=>{const _0x4fc916=_0x92249f;_0x2ff8f5[_0x4fc916(0x1e5)]=!0x0,_0x2ff8f5[_0x4fc916(0x1d4)]=_0x39cbc6[_0x4fc916(0x12c)],_0x2ff8f5[_0x4fc916(0x1ce)]=null;}),_0x46fade)_0x376638=_0x421d7e,this[_0x92249f(0x1d2)](_0x376638,_0x46fade);else{if(_0x39cbc6[_0x92249f(0x141)]){const _0x303778=this[_0x92249f(0x17c)](_0x39cbc6[_0x92249f(0x141)]);this[_0x92249f(0x179)][_0x92249f(0x1ff)][_0x92249f(0x12f)]=-_0x303778[_0x92249f(0x13c)],_0x303778[_0x92249f(0x1ab)](_0x207738=>{const _0xb6266f=_0x92249f;_0x207738[_0xb6266f(0x217)]-=_0x303778[_0xb6266f(0x13c)],_0x207738[_0xb6266f(0x1d4)]=_0x39cbc6[_0xb6266f(0x12c)],_0x207738[_0xb6266f(0x1e5)]=!0x0,_0x207738[_0xb6266f(0x1ce)]=null;}),this[_0x92249f(0x1d2)](_0x303778,!0x0),this[_0x92249f(0x189)][_0x92249f(0x12f)]=-_0x303778[_0x92249f(0x13c)]+this[_0x92249f(0x1c4)],this[_0x92249f(0x15d)](_0x303778);}this[_0x92249f(0x179)][_0x92249f(0x1ff)][_0x92249f(0x12f)]=_0x4d52d6,_0x376638=this[_0x92249f(0x173)](_0x39cbc6[_0x92249f(0x1f5)],_0x39cbc6[_0x92249f(0x181)]),await this[_0x92249f(0x20b)](_0x376638),this[_0x92249f(0x1d2)](_0x376638,_0x46fade);}_0x39cbc6[_0x92249f(0x190)]&&(this[_0x92249f(0x1af)][_0x92249f(0x19e)](_0x376638,_0x39cbc6[_0x92249f(0x190)]),this[_0x92249f(0x1ca)]=_0x39cbc6[_0x92249f(0x190)]),this[_0x92249f(0x189)][_0x92249f(0x12f)]=_0x4d52d6+this[_0x92249f(0x1c4)],this[_0x92249f(0x15d)](_0x376638),_0x421d7e[_0x92249f(0x169)](_0x34694c=>{const _0x3af479=_0x92249f,_0x2659c9=this[_0x3af479(0x1ac)](_0x34694c);return _0x2659c9&&!this[_0x3af479(0x156)][_0x3af479(0x15f)](_0x2659c9);})[_0x92249f(0x1ab)]((_0x5c1123,_0x1e99ef)=>{const _0x3ed59b=_0x92249f;_0x5c1123[_0x3ed59b(0x217)]=this[_0x3ed59b(0x179)][_0x3ed59b(0x12f)]+_0x1e99ef,this[_0x3ed59b(0x129)](_0x5c1123);}),this[_0x92249f(0x168)]()?(this[_0x92249f(0x155)]=0x0,this[_0x92249f(0x124)](!0x0),await this[_0x92249f(0x120)]()):(this[_0x92249f(0x17a)]=!0x1,this[_0x92249f(0x172)]());}[_0x84c45(0x195)](_0xb4aa58,_0x3ad286,_0x506122){const _0x1f1cdb=_0x84c45;throw this[_0x1f1cdb(0x17a)]=!0x0,_0x3ad286&&console[_0x1f1cdb(0x191)](_0x3ad286),_0x506122&&this[_0x1f1cdb(0x175)][_0x1f1cdb(0x1a0)](_0x1f1cdb(0x20a)),new _0x404436(_0xb4aa58,this[_0x1f1cdb(0x175)]);}[_0x84c45(0x129)](_0x4f1843){const _0xff3870=_0x84c45;this[_0xff3870(0x197)][_0xff3870(0x15f)](_0x4f1843)||(this[_0xff3870(0x197)][_0xff3870(0x1d9)](_0x4f1843),this[_0xff3870(0x1e4)][_0xff3870(0x171)](_0x4f1843),this[_0xff3870(0x14c)]||_0xff3870(0x126)==_0x4f1843[_0xff3870(0x1f3)]&&!_0x4f1843[_0xff3870(0x1b3)]||this[_0xff3870(0x210)]());}[_0x84c45(0x124)](_0x5c6e19=!0x1){const _0x2bfbb7=_0x84c45;!_0x5c6e19&&this[_0x2bfbb7(0x17a)]||(this[_0x2bfbb7(0x17a)]=!0x0,clearTimeout(this[_0x2bfbb7(0x20f)]),this[_0x2bfbb7(0x20f)]=setTimeout(()=>{const _0x3cde70=_0x2bfbb7;this[_0x3cde70(0x1d7)]()[_0x3cde70(0x199)](_0x225518=>{const _0x3904b4=_0x3cde70;_0x225518&&(this[_0x3904b4(0x172)](),this[_0x3904b4(0x17a)]=!0x1);})[_0x3cde70(0x1ba)](_0x1f4180=>{const _0x238782=_0x3cde70;this[_0x238782(0x172)](),this[_0x238782(0x17a)]=!0x1,function(_0x5a0b29){const _0x20f6b7=_0x238782;return _0x5a0b29[_0x20f6b7(0x1c8)][_0x20f6b7(0x1e7)](_0x20f6b7(0x194))||_0x5a0b29[_0x20f6b7(0x1c8)][_0x20f6b7(0x1e7)](_0x20f6b7(0x201))||_0x5a0b29[_0x20f6b7(0x1c8)][_0x20f6b7(0x1e7)](_0x20f6b7(0x1fc));}(_0x1f4180)||this[_0x238782(0x195)](_0x1f4180[_0x238782(0x1c8)],_0x1f4180,!0x0);});},this[_0x2bfbb7(0x155)]));}[_0x84c45(0x120)](){return new Promise(_0x484c91=>{const _0x192757=_0x18fd;this['on'](_0x192757(0x1ed),()=>{_0x484c91();});});}async[_0x84c45(0x1d7)](){const _0xe07d20=_0x84c45,_0x2f67d5=this[_0xe07d20(0x175)][_0xe07d20(0x160)][_0xe07d20(0x1b8)](_0xc0ad90);if(this[_0xe07d20(0x1c3)]()&&(_0x2f67d5[_0xe07d20(0x218)](),this[_0xe07d20(0x198)]=!0x1),!this[_0xe07d20(0x168)]())return!0x0;const _0x2507b5=[...this[_0xe07d20(0x1e4)]];for(const _0x3fded9 of _0x2507b5)_0x3fded9[_0xe07d20(0x16c)]=this[_0xe07d20(0x179)][_0xe07d20(0x1ff)][_0xe07d20(0x1d5)](_0x3fded9);const _0x1ab649=this[_0xe07d20(0x1af)][_0xe07d20(0x1be)](_0x2507b5),_0x26278b=Z++,_0x44e352=this[_0xe07d20(0x206)](_0x2507b5),_0x4ca4aa=await this[_0xe07d20(0x144)][_0xe07d20(0x185)](_0x44e352,_0x44e352[_0xe07d20(0x217)],_0x1ab649);try{return await this[_0xe07d20(0x164)](_0x2507b5,_0x4ca4aa,_0x26278b);}catch(_0x189974){return this[_0xe07d20(0x195)](_0xe07d20(0x146),_0x189974);}}async[_0x84c45(0x164)](_0x5e9698,_0x1f4a8f,_0x2173c0){const _0xdeeae9=_0x84c45;if(_0xdeeae9(0x191)in _0x1f4a8f)throw _0x1f4a8f[_0xdeeae9(0x191)];let _0x111fa8=!0x1;if(_0x1f4a8f[_0xdeeae9(0x19a)]){_0x1f4a8f[_0xdeeae9(0x190)]&&(this[_0xdeeae9(0x1ca)]=_0x1f4a8f[_0xdeeae9(0x190)]),this[_0xdeeae9(0x1e4)]=this[_0xdeeae9(0x1e4)][_0xdeeae9(0x169)](_0x27b01a=>!_0x5e9698[_0xdeeae9(0x188)](_0x27b01a));for(const _0x2c1e80 of _0x5e9698)_0x2c1e80[_0xdeeae9(0x1d4)]=_0xdeeae9(0x1e1)in _0x1f4a8f&&_0x1f4a8f[_0xdeeae9(0x1e1)]||void 0x0;it(_0x5e9698,_0x1f4a8f[_0xdeeae9(0x12f)]-_0x5e9698[_0xdeeae9(0x13c)]),this[_0xdeeae9(0x15d)](_0x5e9698);const _0x2a71e8=_0x5e9698[_0xdeeae9(0x169)](_0x167a48=>{const _0x418a25=_0xdeeae9;if(!_0x167a48[_0x418a25(0x1e5)])return!0x1;const _0x2a168b=this[_0x418a25(0x1ac)](_0x167a48);return _0x2a168b&&!this[_0x418a25(0x156)][_0x418a25(0x15f)](_0x2a168b);});it(_0x2a71e8,this[_0xdeeae9(0x179)][_0xdeeae9(0x12f)]),this[_0xdeeae9(0x1d2)](_0x2a71e8),_0x111fa8=!0x0,this[_0xdeeae9(0x155)]=this[_0xdeeae9(0x1ee)];}else{const _0x3d52c0=this[_0xdeeae9(0x173)](_0x1f4a8f[_0xdeeae9(0x1f5)],_0x1f4a8f[_0xdeeae9(0x181)])[_0xdeeae9(0x169)](_0x4b392b=>_0x4b392b[_0xdeeae9(0x217)]>=this[_0xdeeae9(0x142)]);_0x3d52c0[_0xdeeae9(0x1ab)](_0x50e30c=>this[_0xdeeae9(0x1d3)](_0x50e30c)),this[_0xdeeae9(0x1e4)]=this[_0xdeeae9(0x1e4)][_0xdeeae9(0x169)](_0x45fc97=>!_0x45fc97[_0xdeeae9(0x1e5)]||!this[_0xdeeae9(0x156)][_0xdeeae9(0x15f)](this[_0xdeeae9(0x1ac)](_0x45fc97))),this[_0xdeeae9(0x1e4)][_0xdeeae9(0x13c)]&&it(this[_0xdeeae9(0x1e4)],this[_0xdeeae9(0x1e4)][0x0][_0xdeeae9(0x217)]),await this[_0xdeeae9(0x20b)](_0x3d52c0),_0x111fa8=this[_0xdeeae9(0x1d1)](_0x3d52c0,_0x1f4a8f[_0xdeeae9(0x12f)],_0x1f4a8f[_0xdeeae9(0x190)]),this[_0xdeeae9(0x155)]=Math[_0xdeeae9(0x15e)](this[_0xdeeae9(0x155)]/0x2);}return _0x111fa8?!this[_0xdeeae9(0x168)]()||(this[_0xdeeae9(0x124)](!0x0),!0x1):this[_0xdeeae9(0x195)](_0xdeeae9(0x184));}[_0x84c45(0x1d1)](_0x5bccd9,_0x57bebf,_0x5074fe){const _0x508aca=_0x84c45;try{const _0x1cedf8={'document':this[_0x508aca(0x179)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x36b484,operationsB:_0x4a5f65,originalOperations:_0x44dd20}=_0x13cb36(_0x5bccd9,this[_0x508aca(0x1e4)],_0x1cedf8);it(_0x36b484,this[_0x508aca(0x179)][_0x508aca(0x12f)]),it(_0x4a5f65,_0x57bebf);for(const _0x4596e4 of _0x36b484){const _0x3cb282=_0x44dd20[_0x508aca(0x1b8)](_0x4596e4);_0x4596e4[_0x508aca(0x1ce)]=_0x3cb282?_0x3cb282[_0x508aca(0x1ce)]:null;}_0x5074fe&&(this[_0x508aca(0x1af)][_0x508aca(0x19e)](_0x5bccd9,_0x5074fe),this[_0x508aca(0x1ca)]=_0x5074fe),this[_0x508aca(0x1e4)]=[..._0x4a5f65],this[_0x508aca(0x1d2)](_0x36b484),this[_0x508aca(0x15d)](_0x5bccd9);}catch(_0x6b0791){return console[_0x508aca(0x191)](_0x6b0791),!0x1;}return!0x0;}[_0x84c45(0x1d2)](_0x48d31d,_0x10dac4=!0x1){const _0x16a0d9=_0x84c45;this[_0x16a0d9(0x175)][_0x16a0d9(0x14f)][_0x16a0d9(0x177)]({'isUndoable':!0x1,'isLocal':!0x1},_0x58b13d=>{const _0x114f6f=_0x16a0d9;for(const _0x5a71fe of _0x48d31d)this[_0x114f6f(0x197)][_0x114f6f(0x1d9)](_0x5a71fe),this[_0x114f6f(0x1d3)](_0x5a71fe),_0x58b13d[_0x114f6f(0x19b)][_0x114f6f(0x161)](_0x5a71fe),this[_0x114f6f(0x175)][_0x114f6f(0x14f)][_0x114f6f(0x209)](_0x5a71fe);});}[_0x84c45(0x1d3)](_0x4b61b1){const _0x47ec2a=_0x84c45,_0x54d7c0=this[_0x47ec2a(0x1ac)](_0x4b61b1);_0x54d7c0&&this[_0x47ec2a(0x156)][_0x47ec2a(0x1d9)](_0x54d7c0);}[_0x84c45(0x1ac)](_0x415c60){const _0x32480f=_0x84c45;let _0x2646c7,_0x24a7c8;switch(_0x415c60[_0x32480f(0x1f3)]){case _0x32480f(0x219):_0x2646c7=_0x415c60[_0x32480f(0x20e)][_0x32480f(0x132)];break;case _0x32480f(0x126):if(_0x24a7c8=_0x415c60[_0x32480f(0x200)],!_0x24a7c8)return null;_0x2646c7=_0x24a7c8[_0x32480f(0x132)];break;case _0x32480f(0x138):_0x2646c7=_0x415c60[_0x32480f(0x132)];break;case _0x32480f(0x148):_0x2646c7=_0x415c60[_0x32480f(0x215)];break;case _0x32480f(0x1b5):_0x2646c7=_0x415c60[_0x32480f(0x1a5)][_0x32480f(0x132)];break;default:return null;}return _0x2646c7[_0x32480f(0x211)];}[_0x84c45(0x15d)](_0x5b13a9){const _0x4902a7=_0x84c45;_0x5b13a9[_0x4902a7(0x1ab)](_0x3bd7f6=>{const _0x57cb2e=_0x4902a7,_0x218445=_0x3bd7f6[_0x57cb2e(0x14b)]();_0x218445[_0x57cb2e(0x1ce)]=_0x3bd7f6[_0x57cb2e(0x1ce)],_0x218445[_0x57cb2e(0x1e5)]=!!_0x3bd7f6[_0x57cb2e(0x1e5)],_0x218445[_0x57cb2e(0x1d4)]=_0x3bd7f6[_0x57cb2e(0x1d4)],_0x218445[_0x57cb2e(0x217)]+=this[_0x57cb2e(0x1c4)],_0x3bd7f6[_0x57cb2e(0x193)]&&this[_0x57cb2e(0x205)][_0x57cb2e(0x1d9)](_0x218445),this[_0x57cb2e(0x189)][_0x57cb2e(0x161)](_0x218445);});}[_0x84c45(0x1c2)](_0x3d1ed4){const _0x39c7de=_0x84c45,_0x6ac546=this[_0x39c7de(0x175)][_0x39c7de(0x160)][_0x39c7de(0x1b8)](_0x39c7de(0x1a8)),_0x34bfd5=this[_0x39c7de(0x175)][_0x39c7de(0x174)];_0x3d1ed4||(_0x3d1ed4=_0x43cdc5(_0x34bfd5,_0x39c7de(0x154))),_0x6ac546[_0x39c7de(0x13d)](_0x3d1ed4,{'title':_0x43cdc5(_0x34bfd5,_0x39c7de(0x1c7)),'namespace':_0x39c7de(0x1f6)}),this[_0x39c7de(0x17e)]=!0x0,clearTimeout(this[_0x39c7de(0x20f)]),this[_0x39c7de(0x1e4)]=[],this[_0x39c7de(0x175)][_0x39c7de(0x160)][_0x39c7de(0x1b8)](_0x38248b)[_0x39c7de(0x1fe)]();}[_0x84c45(0x210)](){const _0x319d39=_0x84c45;this[_0x319d39(0x14c)]||(this[_0x319d39(0x14c)]=this[_0x319d39(0x175)][_0x319d39(0x160)][_0x319d39(0x1b8)](_0x206462)[_0x319d39(0x1d9)](_0x43cdc5(this[_0x319d39(0x175)][_0x319d39(0x174)],_0x319d39(0x17f))));}[_0x84c45(0x172)](){const _0x52dff7=_0x84c45;this[_0x52dff7(0x14c)]&&(this[_0x52dff7(0x175)][_0x52dff7(0x160)][_0x52dff7(0x1b8)](_0x206462)[_0x52dff7(0x11f)](this[_0x52dff7(0x14c)]),this[_0x52dff7(0x14c)]=null);}[_0x84c45(0x206)](_0x18de0c){const _0x22889a=_0x84c45,_0x4b29b5=_0x18de0c[_0x22889a(0x202)](_0x5ad198=>_0x5ad198[_0x22889a(0x1e0)]());return this[_0x22889a(0x1e6)][_0x22889a(0x11b)](_0x4b29b5);}[_0x84c45(0x173)](_0x54f658,_0x56c369){const _0x1e05d7=_0x84c45;return this[_0x1e05d7(0x1e6)][_0x1e05d7(0x1e2)](_0x54f658)[_0x1e05d7(0x202)]((_0x431d2a,_0x3ae383)=>{const _0x5b115d=_0x1e05d7,_0x16439d=_0x5b115d(0x1a3)==_0x56c369[_0x3ae383][_0x5b115d(0x1f3)];if(_0x5b115d(0x15b)==_0x431d2a[_0x5b115d(0x1fa)]){const _0xa1e9ff=_0x431d2a[_0x5b115d(0x20e)][_0x5b115d(0x132)];!this[_0x5b115d(0x179)][_0x5b115d(0x11e)](_0xa1e9ff)&&(this[_0x5b115d(0x179)][_0x5b115d(0x1f7)](_0x5b115d(0x187),_0xa1e9ff)[_0x5b115d(0x1d8)]=!0x1);}const _0x538bb1=_0x355682[_0x5b115d(0x11a)](_0x431d2a,this[_0x5b115d(0x179)]);return _0x538bb1[_0x5b115d(0x16c)]=_0x431d2a[_0x5b115d(0x16c)],_0x538bb1[_0x5b115d(0x1e5)]=_0x16439d,_0x538bb1[_0x5b115d(0x1ce)]=_0x16439d?null:_0x56c369[_0x3ae383][_0x5b115d(0x165)],_0x538bb1[_0x5b115d(0x193)]=_0x5b115d(0x1a2)===_0x56c369[_0x3ae383][_0x5b115d(0x1f3)],_0x538bb1[_0x5b115d(0x1d4)]=_0x56c369[_0x3ae383][_0x5b115d(0x1d4)],_0x538bb1;});}[_0x84c45(0x1e3)](){const _0x2211a9=_0x84c45;this[_0x2211a9(0x198)]=!0x0,this[_0x2211a9(0x1c3)]()?this[_0x2211a9(0x124)]():this[_0x2211a9(0x198)]=!0x1;}[_0x84c45(0x1c3)](){const _0x59b4fb=_0x84c45,_0x5007b8=this[_0x59b4fb(0x175)][_0x59b4fb(0x160)][_0x59b4fb(0x1b8)](_0x595ded)[_0x59b4fb(0x19d)][_0x59b4fb(0x1b8)](this[_0x59b4fb(0x12b)]);return!this[_0x59b4fb(0x175)][_0x59b4fb(0x1c0)]&&!!_0x5007b8&&_0x5007b8[_0x59b4fb(0x13c)]>0x1&&this[_0x59b4fb(0x198)];}[_0x84c45(0x168)](){const _0x42e629=_0x84c45;return this[_0x42e629(0x1e4)][_0x42e629(0x13c)]>0x0||this[_0x42e629(0x1c3)]();}}l[_0x84c45(0x1b9)]=_0x4a6f41;function _0x5844(){const _0x581769=['then','wereChangesApplied','batch','off','channelSessions','setIdForTheLastOperation','_isEditingAllowed','enableReadOnlyMode','collaboration.channelId','cs:removeUser','init','realtimecollaborationclient-initservice-incorrect-server-operation','targetPosition','unregister','change:_isEditingAllowed','Notification','rootsAttributes','entries','forEach','_getAffectedRoot','_loadRoot','pluginName','_operationIdentifier','createPositionFromPath','collaboration','connection','affectsData','lastDocumentSession','move','stop','apply','get','CollaborativeEditingService','catch','attributes','65GDhPCE','string','getIdOfTheLastOperation','addUser','isReadOnly','listenTo','_handleReconnectionError','_shouldSendSelectionUpdate','_offset','CommentsOnly','stopListening','Synchronization\x20issue','message','sessionId','_lastSyncedOperationId','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','10290996oLbaww','change:hasDomSelection','_authorId','realtimecollaborationclient-init-connection-failed','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_handleExternalOperations','_applyOperationsSet','_addKnownRoot','createdAt','isUndoneOperation','addToReconnectionStack','_sendBufferedOperations','_isAttached','add','set','loadRoot','view','register','isEnabled','isPremiumPlugin','toJSON','lastOperationAcceptedAt','decompress','_refreshUserSelectionMarkers','_bufferedOperations','_isInit','_compressor','startsWith','376abKEju','getMany','setPermissions','connected','realtimecollaborationclient-init-session-connection-error','change:_isPendingUpdate','_baseBufferDelay','end','change:range','1739325XRBWjY','ready','type','realtimecollaborationclient-init-document-already-initialized','data','real-time-collaboration','createRoot','roots','markers','__className','reconnect','cloud-services-internal-error:\x20Request\x20timeout.','return','destroy','history','newRange','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','map','_handleReconnectionResponse','_bufferRootLoad','_disconnectionOperations','_compressOperations','lastSyncVersion','_isConnected','applyOperation','realtimecollaborationclient-error','_fetchMissingUsers','document','reconnection:\x20flushed\x20session','position','_sendBufferedOperationsDelayId','_setPendingAction','rootName','187284DbWVEJ','_setUpDataInit','createPositionAt','affectedSelectable','realtimecollaborationclient-init-non-existent-root','baseVersion','createUserMarkerOperations','insert','409','_initThrowingOnDataSet','createRange','_connectService','fromJSON','compress','getUser','document:write','getRoot','remove','_waitUntilSynced','finally','connect','requires','_sendBufferedOperationsDelayed','getConnectedSessions','marker','782940tSaFFi','_initSessionsHandling','_saveOperationInBuffer','selection','_channelId','sessionCreatedAt','slice','411732cbtuFR','version','Permissions','isOfficialPlugin','root','_connectAfterSessionHasBeenFlushed','state','mySessionId','operationsReceived','directChange','addRootAttribute','sessionAdd:','code','fire','length','showWarning','_handleReceivedOperations','permissions','suppressErrorInCollaboration','initData','_lastServerVersion','size','_service','path','realtimecollaborationclient-sendbufferedoperations','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.','addRoot','currentDocumentSession','disconnect','clone','_pendingAction','isDocumentOperation','reset','model','start','differ','_isLoaded','collaboration-missing-channelid','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.','_currentBufferDelay','_knownRootNames','removeFromReconnectionStack','cloudDocumentVersion','multi-root-editor-root-attributes-no-root','275302KVrPHk','InsertOperation','realtimecollaborationclient-initservice-internal-error','_updateServerHistory','round','has','plugins','addOperation','_handleSendingSelectionMarkers','config','_handleServerResponse','userId','_ignoredOperations','offset','_shouldSendUpdate','filter','_operationToId','RealTimeCollaborationClient','wasUndone','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','editing','define','from','push','_clearPendingAction','_decompressOperations','locale','editor','getOperationAuthor','enqueueChange','getDocumentDetails','_document','_isPendingUpdate','bind','_getOperationsFromInitData','parse','_hasSynchronizationProblem','PENDING_ACTION_SENDING_DATA','404','metadata','high','rtc-offline','realtimecollaborationclient-handleserverresponse','sendOperations','cloudServices.bundleVersion','$root','includes','serverHistory','getOperations','disableReadOnlyMode','rtc-destroyed','keys','_handleInitialConnectionData','disconnected','lastOperationId','error','95529IPiHwG','_isDisconnection','cloud-services-internal-error:\x20Not\x20connected.','_crash','_disconnectService','_knownOperations','_hasSelectionChanged'];_0x5844=function(){return _0x581769;};return _0x5844();}export default l;class tt extends Error{}function it(_0x24dd13,_0x27f079){const _0x14c22d=_0x84c45;for(const _0x5ae107 of _0x24dd13)_0x5ae107[_0x14c22d(0x217)]=_0x27f079++;}class st{constructor(_0x311185){const _0x465285=_0x84c45;this[_0x465285(0x166)]=_0x311185,this[_0x465285(0x16a)]=new WeakMap();}[_0x84c45(0x1be)](_0x2a7da5){const _0x3ad3ab=_0x84c45;let _0x38c373=_0x2a7da5[_0x3ad3ab(0x13c)];for(;_0x38c373--;){const _0x1547ef=_0x2a7da5[_0x38c373];if(!this[_0x3ad3ab(0x166)][_0x3ad3ab(0x15f)](_0x1547ef)){if(!this[_0x3ad3ab(0x16a)][_0x3ad3ab(0x15f)](_0x1547ef)){const _0x47193c=_0x36492c()[_0x3ad3ab(0x12d)](0x1,0x12);this[_0x3ad3ab(0x16a)][_0x3ad3ab(0x1da)](_0x1547ef,_0x47193c);}return this[_0x3ad3ab(0x16a)][_0x3ad3ab(0x1b8)](_0x1547ef);}}}[_0x84c45(0x19e)](_0x347d0b,_0x3003be){const _0x1fc94b=_0x84c45;if(!_0x3003be)return;let _0x3ab00c=_0x347d0b[_0x1fc94b(0x13c)];for(;_0x3ab00c--;){const _0x1af162=_0x347d0b[_0x3ab00c];this[_0x1fc94b(0x166)][_0x1fc94b(0x15f)](_0x1af162)||this[_0x1fc94b(0x16a)][_0x1fc94b(0x1da)](_0x1af162,_0x3003be);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x19c895=_0x3689;(function(_0x4cfeea,_0x26ae5e){const _0x382cc0=_0x3689,_0x5474bb=_0x4cfeea();while(!![]){try{const _0x1be1e0=-parseInt(_0x382cc0(0x1df))/0x1+-parseInt(_0x382cc0(0x1fb))/0x2*(-parseInt(_0x382cc0(0x1d6))/0x3)+parseInt(_0x382cc0(0x1ca))/0x4*(-parseInt(_0x382cc0(0x203))/0x5)+parseInt(_0x382cc0(0x1f4))/0x6*(parseInt(_0x382cc0(0x206))/0x7)+-parseInt(_0x382cc0(0x1c8))/0x8*(parseInt(_0x382cc0(0x1d4))/0x9)+parseInt(_0x382cc0(0x1f2))/0xa+-parseInt(_0x382cc0(0x1f6))/0xb*(-parseInt(_0x382cc0(0x1eb))/0xc);if(_0x1be1e0===_0x26ae5e)break;else _0x5474bb['push'](_0x5474bb['shift']());}catch(_0x2dc6b3){_0x5474bb['push'](_0x5474bb['shift']());}}}(_0x5938,0x91d9a));import{ContextPlugin as _0x33947a}from'ckeditor5/src/core.js';import{Collection as _0xd370ca,CKEditorError as _0x447a41}from'ckeditor5/src/utils.js';import _0x222a04 from'./websocketgateway.js';function _0x3689(_0x58ba98,_0x3a6b86){const _0x593846=_0x5938();return _0x3689=function(_0x36893a,_0x21b1c6){_0x36893a=_0x36893a-0x1c8;let _0x5f2867=_0x593846[_0x36893a];return _0x5f2867;},_0x3689(_0x58ba98,_0x3a6b86);}import{Users as _0x4c6ef6}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5938(){const _0x26d358=['clear','4344656jXCJBn','getUser','4XxuyKG','plugins','assign','user','add','channelSessions','change:state','isOfficialPlugin','isMe','mySessionId','9yjjPkZ','has','6UUutrM','context','channelConnectedUsers','sessions-register-already-registered','sessions-unregister-not-exist','sessionAdd:','stopListening','getUserBySessionId','Sessions','285198YyZwGP','pluginName','fire','getUserSessions','listenTo','_users','set','_createUser','role','register','_registeredSessions','requires','1442604UUJKVu','values','connected','getUserRole','defineMe','allConnectedUsers','state','4268910AXWmRl','size','18ZNVToO','_handleSessionRemove','44aAmaJK','unregister','remove','delete','forEach','556696iDrznI','isPremiumPlugin','get','sessionId','connection','addUser','_uniqueUsersCount','orderNumber','4348940aSIOpB','_handleSessionAdd','init','1939035aFaEZb'];_0x5938=function(){return _0x26d358;};return _0x5938();}export default class i extends _0x33947a{static get[_0x19c895(0x1e0)](){const _0x159443=_0x19c895;return _0x159443(0x1de);}static get[_0x19c895(0x1d1)](){return!0x0;}static get[_0x19c895(0x1fc)](){return!0x0;}static get[_0x19c895(0x1ea)](){return[_0x222a04,_0x4c6ef6];}constructor(_0x59128a){const _0x297762=_0x19c895;super(_0x59128a),this[_0x297762(0x1cf)]=new Map(),this[_0x297762(0x1d8)]=new Map(),this[_0x297762(0x1f0)]=new _0xd370ca(),this[_0x297762(0x1e9)]=new Map(),this[_0x297762(0x201)]=0x0,this[_0x297762(0x1e4)]=this[_0x297762(0x1d7)][_0x297762(0x1cb)][_0x297762(0x1fd)](_0x4c6ef6);}[_0x19c895(0x205)](){const _0x4ae1bc=_0x19c895,_0x5f2e32=this[_0x4ae1bc(0x1d7)][_0x4ae1bc(0x1cb)][_0x4ae1bc(0x1fd)](_0x222a04);this[_0x4ae1bc(0x1e3)](_0x5f2e32,_0x4ae1bc(0x1d0),(_0x3e9411,_0x1db643,_0x43a7a1)=>{const _0x12b611=_0x4ae1bc;if(_0x12b611(0x1ed)!==_0x43a7a1)this[_0x12b611(0x1cf)][_0x12b611(0x1fa)](_0x1114bf=>_0x1114bf[_0x12b611(0x207)]()),this[_0x12b611(0x1d8)][_0x12b611(0x1fa)](_0x5afb74=>_0x5afb74[_0x12b611(0x207)]()),this[_0x12b611(0x1f0)][_0x12b611(0x207)]();else{for(const [_0x2360bf,_0x9bec0a]of this[_0x12b611(0x1e9)])for(const _0x52e42b of _0x9bec0a)this[_0x12b611(0x204)](_0x2360bf,_0x52e42b);}}),this[_0x4ae1bc(0x1e6)](_0x5f2e32[_0x4ae1bc(0x1ff)]['me'],!0x0);}[_0x19c895(0x1e8)](_0x1ec6a9,_0x1be149){const _0x57afc3=_0x19c895;if(this[_0x57afc3(0x1e9)][_0x57afc3(0x1d5)](_0x1ec6a9))throw new _0x447a41(_0x57afc3(0x1d9),null,{'channelId':_0x1ec6a9});this[_0x57afc3(0x1e9)][_0x57afc3(0x1e5)](_0x1ec6a9,_0x1be149),this[_0x57afc3(0x1cf)][_0x57afc3(0x1e5)](_0x1ec6a9,new _0xd370ca()),this[_0x57afc3(0x1d8)][_0x57afc3(0x1e5)](_0x1ec6a9,new _0xd370ca()),this[_0x57afc3(0x1e3)](_0x1be149,_0x57afc3(0x1ce),(_0x1f774d,_0x561efb)=>this[_0x57afc3(0x204)](_0x1ec6a9,_0x561efb)),this[_0x57afc3(0x1e3)](_0x1be149,_0x57afc3(0x1f8),(_0xbd295c,_0x2ea982)=>this[_0x57afc3(0x1f5)](_0x1ec6a9,_0x2ea982));for(const _0xe54e63 of _0x1be149)this[_0x57afc3(0x204)](_0x1ec6a9,_0xe54e63);}[_0x19c895(0x1f7)](_0x5020a6){const _0x2823b1=_0x19c895;if(!this[_0x2823b1(0x1e9)][_0x2823b1(0x1d5)](_0x5020a6))throw new _0x447a41(_0x2823b1(0x1da),null,{'channelId':_0x5020a6});const _0x5b40ed=this[_0x2823b1(0x1e9)][_0x2823b1(0x1fd)](_0x5020a6);this[_0x2823b1(0x1dc)](_0x5b40ed);for(const _0x31b307 of _0x5b40ed)_0x2823b1(0x1ed)===this[_0x2823b1(0x1d7)][_0x2823b1(0x1cb)][_0x2823b1(0x1fd)](_0x222a04)[_0x2823b1(0x1f1)]&&this[_0x2823b1(0x1f5)](_0x5020a6,_0x31b307);this[_0x2823b1(0x1e9)][_0x2823b1(0x1f9)](_0x5020a6),this[_0x2823b1(0x1cf)][_0x2823b1(0x1f9)](_0x5020a6),this[_0x2823b1(0x1d8)][_0x2823b1(0x1f9)](_0x5020a6);}get[_0x19c895(0x1d3)](){const _0x2d447a=_0x19c895;return this[_0x2d447a(0x1d7)][_0x2d447a(0x1cb)][_0x2d447a(0x1fd)](_0x222a04)[_0x2d447a(0x1ff)][_0x2d447a(0x1fe)];}[_0x19c895(0x1dd)](_0x5a07de){const _0xfa52d9=_0x19c895;for(const _0x258790 of this[_0xfa52d9(0x1cf)][_0xfa52d9(0x1ec)]())for(const _0x7e012d of _0x258790)if(_0x7e012d['id']===_0x5a07de)return _0x7e012d[_0xfa52d9(0x1cd)];}[_0x19c895(0x1e2)](_0x33e06d,_0x78b97c){const _0x2a876c=_0x19c895,_0x4b5bdb=_0x78b97c?[this[_0x2a876c(0x1cf)][_0x2a876c(0x1fd)](_0x78b97c)]:this[_0x2a876c(0x1cf)][_0x2a876c(0x1ec)](),_0x3d2c5d=new Set();for(const _0x4ad182 of _0x4b5bdb)for(const _0x362529 of _0x4ad182)_0x362529[_0x2a876c(0x1cd)]['id']===_0x33e06d['id']&&_0x3d2c5d[_0x2a876c(0x1ce)](_0x362529['id']);return _0x3d2c5d;}[_0x19c895(0x1ee)](_0x544a14){const _0x391e65=_0x19c895;for(const _0x15ccf1 of this[_0x391e65(0x1cf)][_0x391e65(0x1ec)]())for(const _0x5f4dd0 of _0x15ccf1)if(_0x5f4dd0[_0x391e65(0x1cd)]===_0x544a14)return _0x5f4dd0[_0x391e65(0x1e7)];}[_0x19c895(0x204)](_0x4c4235,_0x420ca7){const _0x4971db=_0x19c895;if(_0x4971db(0x1ed)!==this[_0x4971db(0x1d7)][_0x4971db(0x1cb)][_0x4971db(0x1fd)](_0x222a04)[_0x4971db(0x1f1)])return;const _0x474069=_0x420ca7[_0x4971db(0x1cd)],_0x14f8f9=this[_0x4971db(0x1e4)][_0x4971db(0x1c9)](_0x474069['id'])||this[_0x4971db(0x1e6)](_0x474069),_0x58d8d2=Object[_0x4971db(0x1cc)]({},_0x420ca7,{'user':_0x14f8f9});this[_0x4971db(0x1cf)][_0x4971db(0x1fd)](_0x4c4235)[_0x4971db(0x1ce)](_0x58d8d2);const _0x290f73=this[_0x4971db(0x1d8)][_0x4971db(0x1fd)](_0x4c4235);_0x290f73[_0x4971db(0x1d5)](_0x14f8f9['id'])||_0x290f73[_0x4971db(0x1ce)](_0x14f8f9),this[_0x4971db(0x1f0)][_0x4971db(0x1d5)](_0x14f8f9['id'])||this[_0x4971db(0x1f0)][_0x4971db(0x1ce)](_0x14f8f9,_0x14f8f9[_0x4971db(0x1d2)]?0x0:void 0x0),this[_0x4971db(0x1e1)](_0x4971db(0x1db)+_0x4c4235,{'channelId':_0x4c4235,'session':_0x58d8d2});}[_0x19c895(0x1f5)](_0x1c66f5,_0x8f9d0){const _0x12b029=_0x19c895;if(_0x12b029(0x1ed)!==this[_0x12b029(0x1d7)][_0x12b029(0x1cb)][_0x12b029(0x1fd)](_0x222a04)[_0x12b029(0x1f1)])return;const _0x204909=this[_0x12b029(0x1d8)][_0x12b029(0x1fd)](_0x1c66f5),_0x226cc1=_0x8f9d0[_0x12b029(0x1cd)];_0x226cc1['id']&&(this[_0x12b029(0x1cf)][_0x12b029(0x1fd)](_0x1c66f5)[_0x12b029(0x1f8)](_0x8f9d0['id']),_0x204909[_0x12b029(0x1d5)](_0x226cc1['id'])&&!this[_0x12b029(0x1e2)](_0x226cc1,_0x1c66f5)[_0x12b029(0x1f3)]&&_0x204909[_0x12b029(0x1f8)](_0x226cc1['id']),this[_0x12b029(0x1f0)][_0x12b029(0x1fd)](_0x226cc1['id'])&&!this[_0x12b029(0x1e2)](_0x226cc1)[_0x12b029(0x1f3)]&&this[_0x12b029(0x1f0)][_0x12b029(0x1f8)](_0x226cc1['id']));}[_0x19c895(0x1e6)](_0x21c640,_0x124251){const _0x110973=_0x19c895,_0x38c272=this[_0x110973(0x1e4)][_0x110973(0x200)](_0x21c640);return _0x124251&&this[_0x110973(0x1e4)][_0x110973(0x1ef)](_0x21c640['id']),_0x38c272[_0x110973(0x202)]=this[_0x110973(0x201)]++,_0x38c272;}}
|
|
@@ -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 _0x597432=_0x4aa3;(function(_0x2a6210,_0x50c31f){const _0x47e695=_0x4aa3,_0x95b020=_0x2a6210();while(!![]){try{const _0x2c5b87=parseInt(_0x47e695(0x14c))/0x1+-parseInt(_0x47e695(0x13c))/0x2*(parseInt(_0x47e695(0x150))/0x3)+-parseInt(_0x47e695(0x15b))/0x4*(parseInt(_0x47e695(0x15c))/0x5)+-parseInt(_0x47e695(0x174))/0x6+parseInt(_0x47e695(0x144))/0x7+-parseInt(_0x47e695(0x14d))/0x8*(-parseInt(_0x47e695(0x1ad))/0x9)+parseInt(_0x47e695(0x1b3))/0xa;if(_0x2c5b87===_0x50c31f)break;else _0x95b020['push'](_0x95b020['shift']());}catch(_0x43a88e){_0x95b020['push'](_0x95b020['shift']());}}}(_0x4ae8,0xcee18));import{Plugin as _0x32bccb}from'ckeditor5/src/core.js';import{global as _0x4648ed,DomEmitterMixin as _0x370ae8}from'ckeditor5/src/utils.js';import _0x2aa5eb from'./sessions.js';function _0x4ae8(){const _0x1ec770=['reconvertMarker','deletionPosition','addEventListener','add','531iwsePe','Escape','UserMarkers','checkChild','destroy','detach','1273680MFSpGm','user:range','stopListening','commands','end','parent','getMarkerClass','getFirstRange','keydown','isOfficialPlugin','orderNumber','getNearestSelectionRange','clear','83228LmiuUP','isLimit','isCollapsed','split','toDomElement','createUserMarkerOperations','highest','mySessionId','6241025jYItCq','markers','editingDowncast','removeClass','get','innerHTML','change:range','<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>','119469MonRRr','122608oOinZk','document','getSelectionClass','51oLCZmt','applyOperation','getUserBySessionId','afterInit','schema','start','change','newRange','createUIElement','has','mouseenter','1644CZJOvW','115PehkgN','startsWith','data-session-id','contenteditable','markerToHighlight','ck-user__selection','nodeAfter','mapper','updateMarker','conversion','span','editing','removeMarker','user:position','userPositionMarker','isPremiumPlugin','_createdBatches','markerName','model','ck-user__marker_hovered','remove','markerToElement','oldRange','requires','2870226vlJIAQ','marker','getContainedElement','user:range:','tableCell','type','element','_domEmitter','enqueueChange','render','delete','createRange','pluginName','classList','editor','getStart','user:','setCustomProperty','for','selection','hasDomSelection','markerNameToElements','isInline','$text','size','undo','name','markerRange','$graveyard','set','plugins','getCustomProperty','toRange','batch','listenTo','isSimilar','init','hasContent','user:position:','root','color','getAttribute','getRange','addMarker','getPositions','rootName','</span>','mouseleave','view','isObject','update:user:range','ck-user__marker\x20','fromRange'];_0x4ae8=function(){return _0x1ec770;};return _0x4ae8();}function _0x4aa3(_0x5cb9bc,_0x46d3e8){const _0x4ae8b5=_0x4ae8();return _0x4aa3=function(_0x4aa3e8,_0x435d6f){_0x4aa3e8=_0x4aa3e8-0x13a;let _0x5daf3d=_0x4ae8b5[_0x4aa3e8];return _0x5daf3d;},_0x4aa3(_0x5cb9bc,_0x46d3e8);}import{LiveRange as _0x211891}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class J extends _0x32bccb{constructor(){const _0x2b52a1=_0x4aa3;super(...arguments),this[_0x2b52a1(0x17b)]=new(_0x370ae8())();}static get[_0x597432(0x173)](){return[_0x2aa5eb];}static get[_0x597432(0x180)](){const _0x37df76=_0x597432;return _0x37df76(0x1af);}static get[_0x597432(0x1bc)](){return!0x0;}static get[_0x597432(0x16b)](){return!0x0;}[_0x597432(0x198)](){const _0x28b80d=_0x597432,_0x5b9693=this[_0x28b80d(0x182)],_0x5903fb=_0x5b9693[_0x28b80d(0x192)][_0x28b80d(0x148)](_0x2aa5eb);_0x5b9693[_0x28b80d(0x165)][_0x28b80d(0x186)](_0x28b80d(0x146))[_0x28b80d(0x171)]({'model':_0x28b80d(0x169),'view':(_0x1c86ec,{writer:_0x79dffc})=>function(_0x4b6c3c,_0x52b2d9,_0x32ee94,_0x48992f){const _0x2044d8=_0x28b80d,_0xb9aff3=_0x4b6c3c[_0x2044d8(0x16d)][_0x2044d8(0x13f)](':')[0x2],_0x19632c=_0x32ee94[_0x2044d8(0x152)](_0xb9aff3);if(!_0x19632c||_0xb9aff3===_0x32ee94[_0x2044d8(0x143)])return;if(!_0x48992f[_0x2044d8(0x16e)][_0x2044d8(0x154)][_0x2044d8(0x1b0)](_0x4b6c3c[_0x2044d8(0x18f)][_0x2044d8(0x155)],_0x2044d8(0x18b)))return;const _0x26ded4={'class':_0x2044d8(0x1a7)+_0x19632c[_0x2044d8(0x19c)][_0x2044d8(0x1b9)](),'data-name':_0x19632c[_0x2044d8(0x18e)],'data-session-id':_0xb9aff3},_0x2d1bcc=_0x48992f[_0x2044d8(0x16e)][_0x2044d8(0x145)][_0x2044d8(0x148)](_0x4b6c3c[_0x2044d8(0x16d)]),_0x7e44b2=_0x2d1bcc[_0x2044d8(0x183)](),_0x109c66=_0x7e44b2[_0x2044d8(0x162)],_0x4cbdaa=_0x48992f[_0x2044d8(0x16e)][_0x2044d8(0x154)];if(_0x109c66&&_0x4cbdaa[_0x2044d8(0x1a5)](_0x109c66)&&_0x4cbdaa[_0x2044d8(0x18a)](_0x109c66)&&!_0x48992f[_0x2044d8(0x16e)][_0x2044d8(0x145)][_0x2044d8(0x148)](_0x2044d8(0x177)+_0xb9aff3)[_0x2044d8(0x19e)]()[_0x2044d8(0x13e)])return;const _0x45d687=_0x7e44b2[_0x2044d8(0x1b8)];return _0x48992f[_0x2044d8(0x16e)][_0x2044d8(0x154)][_0x2044d8(0x13d)](_0x45d687)&&!_0x48992f[_0x2044d8(0x16e)][_0x2044d8(0x199)](_0x45d687)&&(_0x26ded4[_0x2044d8(0x15f)]=!0x1),function(_0x5f1b7a,_0x5e757b,_0x29b622){const _0x916a3b=_0x2044d8,_0x58aa0c=_0x5f1b7a[_0x916a3b(0x158)](_0x916a3b(0x166),_0x5e757b);return _0x5f1b7a[_0x916a3b(0x185)](_0x916a3b(0x16a),!0x0,_0x58aa0c),_0x58aa0c[_0x916a3b(0x17d)]=function(_0x20a08a){const _0x4c9bce=_0x916a3b,_0x1882a9=this[_0x4c9bce(0x140)](_0x20a08a);return _0x1882a9[_0x4c9bce(0x149)]=_0x4c9bce(0x14b)+_0x29b622[_0x4c9bce(0x18e)]+_0x4c9bce(0x1a2),_0x1882a9[_0x4c9bce(0x1ab)](_0x4c9bce(0x15a),()=>{const _0x509fe3=_0x4c9bce;_0x1882a9[_0x509fe3(0x181)][_0x509fe3(0x1ac)](_0x509fe3(0x16f));}),_0x1882a9[_0x4c9bce(0x1ab)](_0x4c9bce(0x1a3),()=>{const _0x188a7b=_0x4c9bce;_0x1882a9[_0x188a7b(0x181)][_0x188a7b(0x170)](_0x188a7b(0x16f));}),_0x1882a9;},_0x58aa0c[_0x916a3b(0x197)]=function(_0x50d57a){const _0xbe6d9=_0x916a3b;return!(!this[_0xbe6d9(0x193)](_0xbe6d9(0x16a))||!_0x50d57a[_0xbe6d9(0x193)](_0xbe6d9(0x16a))||this[_0xbe6d9(0x19d)](_0xbe6d9(0x15e))!=_0x50d57a[_0xbe6d9(0x19d)](_0xbe6d9(0x15e)));},_0x58aa0c;}(_0x52b2d9,_0x26ded4,_0x19632c);}(_0x1c86ec,_0x79dffc,_0x5903fb,_0x5b9693)}),_0x5b9693[_0x28b80d(0x165)][_0x28b80d(0x186)](_0x28b80d(0x146))[_0x28b80d(0x160)]({'model':_0x28b80d(0x1b4),'view':_0x259e24=>function(_0x45d286,_0x2292d9){const _0x8fcf83=_0x28b80d,_0x4593d6=_0x45d286[_0x8fcf83(0x16d)][_0x8fcf83(0x13f)](':')[0x2];if(_0x4593d6===_0x2292d9[_0x8fcf83(0x143)])return null;const _0x2ccc33=_0x2292d9[_0x8fcf83(0x152)](_0x4593d6);if(!_0x2ccc33)return{'id':_0x4593d6,'classes':[]};return{'id':_0x4593d6,'classes':[_0x8fcf83(0x161),_0x2ccc33[_0x8fcf83(0x19c)][_0x8fcf83(0x14f)]()],'attributes':{'data-session-id':_0x4593d6},'priority':0x7d0+_0x2ccc33[_0x8fcf83(0x1bd)]};}(_0x259e24,_0x5903fb)}),function(_0x107ad9){const _0xb513ba=_0x28b80d,_0x3a4b3b=_0x107ad9[_0xb513ba(0x16e)],_0x56dc24=new Map(),_0x152287=_0x107ad9[_0xb513ba(0x192)][_0xb513ba(0x148)](_0x2aa5eb);_0x3a4b3b[_0xb513ba(0x145)]['on'](_0xb513ba(0x1a6),(_0x4af061,_0x181d51,_0x48c59e,_0x4e5757)=>{const _0xba78de=_0xb513ba;if(!_0x4e5757&&_0x56dc24[_0xba78de(0x148)](_0x181d51[_0xba78de(0x18e)]))return _0x56dc24[_0xba78de(0x148)](_0x181d51[_0xba78de(0x18e)])[_0xba78de(0x1b2)](),void _0x56dc24[_0xba78de(0x17e)](_0x181d51[_0xba78de(0x18e)]);const _0x12e516=_0x181d51[_0xba78de(0x18e)][_0xba78de(0x13f)](':')[0x2];if(_0x12e516===_0x152287[_0xba78de(0x143)])return;const _0xfb00b3=_0xba78de(0x19a)+_0x12e516;_0x3a4b3b[_0xba78de(0x145)][_0xba78de(0x159)](_0xfb00b3)&&_0x107ad9[_0xba78de(0x167)][_0xba78de(0x1a9)](_0xfb00b3),_0x181d51['on'](_0xba78de(0x14a),(_0x345de2,_0x3d532a,_0x124d64)=>{const _0x243760=_0xba78de;if(_0x243760(0x190)!=_0x3d532a[_0x243760(0x19b)][_0x243760(0x1a1)]&&_0x243760(0x190)==_0x181d51[_0x243760(0x19e)]()[_0x243760(0x19b)][_0x243760(0x1a1)]&&!_0x56dc24[_0x243760(0x159)](_0x181d51[_0x243760(0x18e)])){const _0x38744c=_0x3a4b3b[_0x243760(0x154)][_0x243760(0x13a)](_0x124d64[_0x243760(0x1aa)]);if(_0x38744c){const _0x509876=_0x211891[_0x243760(0x1a8)](_0x38744c);_0x56dc24[_0x243760(0x191)](_0x181d51[_0x243760(0x18e)],_0x509876),_0x509876['on'](_0x243760(0x14a),(_0x315955,_0x1f9d64,_0x4ee48b)=>{const _0x3f7049=_0x243760;if(_0x3f7049(0x190)==_0x509876[_0x3f7049(0x19b)][_0x3f7049(0x1a1)]){const _0x5c5522=_0x3a4b3b[_0x3f7049(0x154)][_0x3f7049(0x13a)](_0x4ee48b[_0x3f7049(0x1aa)]);_0x5c5522?(_0x509876[_0x3f7049(0x155)]=_0x5c5522[_0x3f7049(0x155)],_0x509876[_0x3f7049(0x1b7)]=_0x5c5522[_0x3f7049(0x1b7)]):(_0x56dc24[_0x3f7049(0x17e)](_0x181d51[_0x3f7049(0x18e)]),_0x509876[_0x3f7049(0x1b2)]());}});}}});}),_0x3a4b3b[_0xb513ba(0x14e)]['on'](_0xb513ba(0x156),()=>{const _0x5e3c02=_0xb513ba;_0x56dc24[_0x5e3c02(0x18c)]>0x0&&_0x3a4b3b[_0x5e3c02(0x17c)]({'isUndoable':!0x1},_0x484dcd=>{const _0x288ac3=_0x5e3c02;for(const [_0x397004,_0x235b0f]of _0x56dc24)_0x288ac3(0x190)==_0x3a4b3b[_0x288ac3(0x145)][_0x288ac3(0x148)](_0x397004)[_0x288ac3(0x19e)]()[_0x288ac3(0x19b)][_0x288ac3(0x1a1)]&&(te(_0x397004[_0x288ac3(0x13f)](':')[0x2],_0x235b0f[_0x288ac3(0x194)](),_0x3a4b3b,_0x484dcd),_0x235b0f[_0x288ac3(0x1b2)]());_0x56dc24[_0x288ac3(0x13b)]();});});}(_0x5b9693),this[_0x28b80d(0x17b)][_0x28b80d(0x196)](_0x4648ed[_0x28b80d(0x14e)],_0x28b80d(0x1bb),(_0x4aee16,{key:_0x532c02})=>{const _0x154416=_0x28b80d;_0x154416(0x1ae)===_0x532c02&&function(_0x2d77f4){const _0x3267d6=_0x154416;_0x2d77f4[_0x3267d6(0x167)][_0x3267d6(0x1a4)][_0x3267d6(0x156)](_0x2f3580=>{const _0x1f7db0=_0x3267d6;for(const _0x131211 of _0x2d77f4[_0x1f7db0(0x16e)][_0x1f7db0(0x145)]){if(!_0x131211[_0x1f7db0(0x18e)][_0x1f7db0(0x15d)](_0x1f7db0(0x169)))continue;const _0x58289a=_0x2d77f4[_0x1f7db0(0x167)][_0x1f7db0(0x163)][_0x1f7db0(0x189)](_0x131211[_0x1f7db0(0x18e)]);if(_0x58289a){for(const _0x157d97 of _0x58289a)_0x2f3580[_0x1f7db0(0x147)](_0x1f7db0(0x16f),_0x157d97);}}});}(_0x5b9693);},{'useCapture':!0x0});}[_0x597432(0x153)](){const _0x25023c=_0x597432,_0x5763f9=this[_0x25023c(0x182)],_0x4b51c6=_0x5763f9[_0x25023c(0x1b6)][_0x25023c(0x148)](_0x25023c(0x18d));_0x4b51c6&&_0x5763f9[_0x25023c(0x16e)]['on'](_0x25023c(0x151),(_0x55667a,_0x3efd4b)=>{const _0x47deb3=_0x25023c,_0x10594b=_0x3efd4b[0x0];if(_0x47deb3(0x175)!=_0x10594b[_0x47deb3(0x179)]||!_0x10594b[_0x47deb3(0x18e)][_0x47deb3(0x15d)](_0x47deb3(0x184)))return;const _0x5adc12=_0x10594b[_0x47deb3(0x195)];_0x4b51c6[_0x47deb3(0x16c)][_0x47deb3(0x159)](_0x5adc12)&&(_0x10594b[_0x47deb3(0x157)]=_0x10594b[_0x47deb3(0x172)]?_0x5763f9[_0x47deb3(0x16e)][_0x47deb3(0x17f)](_0x10594b[_0x47deb3(0x172)][_0x47deb3(0x155)],_0x10594b[_0x47deb3(0x172)][_0x47deb3(0x1b7)]):null);},{'priority':_0x25023c(0x142)});}[_0x597432(0x1b1)](){const _0x5aa4cf=_0x597432;return this[_0x5aa4cf(0x17b)][_0x5aa4cf(0x1b5)](),super[_0x5aa4cf(0x1b1)]();}[_0x597432(0x141)](){const _0xcff39d=_0x597432,_0x1445b6=this[_0xcff39d(0x182)],_0x7769a7=_0x1445b6[_0xcff39d(0x16e)][_0xcff39d(0x14e)],_0x2f0db1=_0x1445b6[_0xcff39d(0x192)][_0xcff39d(0x148)](_0x2aa5eb);_0x1445b6[_0xcff39d(0x16e)][_0xcff39d(0x17c)]({'isUndoable':!0x1},_0x3fc6a1=>{const _0x3fa3f0=_0xcff39d,_0x53669e=_0x3fa3f0(0x177)+_0x2f0db1[_0x3fa3f0(0x143)],_0x587a82=_0x3fa3f0(0x19a)+_0x2f0db1[_0x3fa3f0(0x143)],_0x1f7f21=_0x1445b6[_0x3fa3f0(0x16e)][_0x3fa3f0(0x145)][_0x3fa3f0(0x159)](_0x53669e);_0x1445b6[_0x3fa3f0(0x167)][_0x3fa3f0(0x1a4)][_0x3fa3f0(0x188)]?te(_0x2f0db1[_0x3fa3f0(0x143)],_0x7769a7[_0x3fa3f0(0x187)][_0x3fa3f0(0x1ba)](),_0x1445b6[_0x3fa3f0(0x16e)],_0x3fc6a1):_0x1f7f21&&(_0x3fc6a1[_0x3fa3f0(0x168)](_0x53669e),_0x3fc6a1[_0x3fa3f0(0x168)](_0x587a82));});}}function te(_0x31bd68,_0x399db7,_0x37c66c,_0x509d73){const _0x1859c7=_0x597432,_0x2e57bd=_0x1859c7(0x177)+_0x31bd68,_0x2bab39=_0x1859c7(0x19a)+_0x31bd68,_0x50f96d=_0x399db7[_0x1859c7(0x176)]();let _0x32d827=_0x399db7[_0x1859c7(0x155)];_0x50f96d&&_0x50f96d['is'](_0x1859c7(0x17a),_0x1859c7(0x178))&&(_0x32d827=function(_0x33bc0b,_0x129db1){const _0x291524=_0x1859c7;for(const _0x7cdf92 of _0x33bc0b[_0x291524(0x1a0)]())if(_0x129db1[_0x291524(0x154)][_0x291524(0x1b0)](_0x7cdf92,_0x291524(0x18b)))return _0x7cdf92;}(_0x399db7,_0x37c66c),_0x399db7=_0x509d73[_0x1859c7(0x17f)](_0x32d827));const _0x4ab34d=_0x509d73[_0x1859c7(0x17f)](_0x32d827);_0x37c66c[_0x1859c7(0x145)][_0x1859c7(0x159)](_0x2e57bd)?(_0x509d73[_0x1859c7(0x164)](_0x2e57bd,{'range':_0x399db7}),_0x509d73[_0x1859c7(0x164)](_0x2bab39,{'range':_0x4ab34d})):(_0x509d73[_0x1859c7(0x19f)](_0x2e57bd,{'range':_0x399db7,'usingOperation':!0x0}),_0x509d73[_0x1859c7(0x19f)](_0x2bab39,{'range':_0x4ab34d,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x5d30a7=_0x2e88;function _0x2e88(_0x2759fc,_0x2ef53c){const _0xe87c88=_0xe87c();return _0x2e88=function(_0x2e8823,_0x31ee10){_0x2e8823=_0x2e8823-0x8d;let _0x2ab812=_0xe87c88[_0x2e8823];return _0x2ab812;},_0x2e88(_0x2759fc,_0x2ef53c);}(function(_0x53a1a0,_0xdff5bd){const _0x390b01=_0x2e88,_0x34d429=_0x53a1a0();while(!![]){try{const _0x59c5ff=parseInt(_0x390b01(0x9b))/0x1+-parseInt(_0x390b01(0xc8))/0x2+parseInt(_0x390b01(0xa1))/0x3*(parseInt(_0x390b01(0xd2))/0x4)+-parseInt(_0x390b01(0x9a))/0x5*(-parseInt(_0x390b01(0xd6))/0x6)+-parseInt(_0x390b01(0xa4))/0x7*(-parseInt(_0x390b01(0xad))/0x8)+parseInt(_0x390b01(0xbd))/0x9+-parseInt(_0x390b01(0xbb))/0xa;if(_0x59c5ff===_0xdff5bd)break;else _0x34d429['push'](_0x34d429['shift']());}catch(_0x13cca4){_0x34d429['push'](_0x34d429['shift']());}}}(_0xe87c,0xa7b54));import{ContextPlugin as _0x291f94}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x541a0a,CKEditorError as _0x158fca}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x1cfb7c,WEB_SOCKET_GATEWAY_STATES as _0x662e25}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x271776}from'ckeditor5/src/ui.js';class c extends _0x291f94{static get[_0x5d30a7(0xc2)](){const _0xc3bcc9=_0x5d30a7;return[_0xc3bcc9(0xca),_0x271776];}static get[_0x5d30a7(0xb9)](){const _0x26368c=_0x5d30a7;return _0x26368c(0x98);}static get[_0x5d30a7(0x93)](){return!0x0;}static get[_0x5d30a7(0x9f)](){return!0x0;}constructor(_0x2612e5){const _0xb70163=_0x5d30a7;super(_0x2612e5),this[_0xb70163(0xb0)](_0xb70163(0xc1),_0x662e25[_0xb70163(0x90)]),this[_0xb70163(0xb0)](_0xb70163(0x9e),!0x1),this[_0xb70163(0xa8)]=new Set(),this[_0xb70163(0xc5)]=!0x1,this[_0xb70163(0xb8)]=Object[_0xb70163(0x9c)](_0x541a0a);}[_0x5d30a7(0xd0)](){const _0x263bdc=_0x5d30a7,_0x376fbd=this[_0x263bdc(0xa3)],_0x592e12=_0x376fbd[_0x263bdc(0xd1)][_0x263bdc(0xba)](_0x263bdc(0xca)),_0x5e6cf3=_0x376fbd[_0x263bdc(0xd1)][_0x263bdc(0xba)](_0x271776);if(!_0x592e12[_0x263bdc(0x95)])throw new _0x158fca(_0x263bdc(0xa2),this);if(!_0x592e12[_0x263bdc(0xbf)])throw new _0x158fca(_0x263bdc(0xae),this);return this[_0x263bdc(0xb8)][_0x263bdc(0xc6)](window,_0x263bdc(0xce),()=>this[_0x263bdc(0x9e)]=!0x0),this[_0x263bdc(0xb8)][_0x263bdc(0xc6)](window,_0x263bdc(0xcf),()=>this[_0x263bdc(0x9e)]=!0x1),this[_0x263bdc(0xa3)][_0x263bdc(0xac)][_0x263bdc(0xb2)](_0x263bdc(0xc9),0xa),this[_0x263bdc(0xa3)][_0x263bdc(0xac)][_0x263bdc(0xb2)](_0x263bdc(0xb1),0x14),c[_0x263bdc(0x98)][_0x263bdc(0xcb)](_0x592e12[_0x263bdc(0x95)],_0x592e12[_0x263bdc(0xbf)],{'timeout':0x3e8*this[_0x263bdc(0xa3)][_0x263bdc(0xac)][_0x263bdc(0xba)](_0x263bdc(0xc9)),'requestTimeout':0x3e8*this[_0x263bdc(0xa3)][_0x263bdc(0xac)][_0x263bdc(0xba)](_0x263bdc(0xb1))})[_0x263bdc(0xa7)](_0x53c166=>{const _0x52eea4=_0x263bdc;if(this[_0x52eea4(0x9d)]=_0x53c166,this[_0x52eea4(0xc3)](_0x52eea4(0xc1))['to'](_0x53c166,_0x52eea4(0xc1),this,_0x52eea4(0x9e),(_0x3bb17f,_0x208fd9)=>(_0x52eea4(0x8f)!==_0x3bb17f&&(this[_0x52eea4(0xc5)]=!0x0),_0x208fd9||_0x3bb17f!==_0x662e25[_0x52eea4(0x90)]?_0x662e25[_0x52eea4(0x96)]:this[_0x52eea4(0xc1)]==_0x662e25[_0x52eea4(0x96)]&&this[_0x52eea4(0xc5)]?(this[_0x52eea4(0xc5)]=!0x1,this[_0x52eea4(0xbc)](),_0x662e25[_0x52eea4(0xaf)]):_0x662e25[_0x52eea4(0x90)])),this[_0x52eea4(0x9d)]['on'](_0x52eea4(0xd7),(_0x5ee4b8,_0x4e5c72)=>{const _0x56de5b=_0x52eea4;if(_0x56de5b(0xa6)!==_0x4e5c72[_0x56de5b(0x92)])throw console[_0x56de5b(0xd7)](_0x4e5c72),new _0x158fca(_0x56de5b(0xa5),null,{'originalError':_0x4e5c72});_0x5e6cf3[_0x56de5b(0x91)](_0x56de5b(0xb3),{'title':_0x56de5b(0x99),'namespace':_0x56de5b(0xb6)});}),!_0x53c166['me'])return new Promise(_0x4f17a6=>_0x53c166['on'](_0x52eea4(0xcd),_0x4f17a6));})[_0x263bdc(0xcc)](_0x5c5bbc=>{const _0x4eff88=_0x263bdc;throw console[_0x4eff88(0xd7)](_0x5c5bbc),new _0x158fca(_0x4eff88(0xa5),null,{'originalError':_0x5c5bbc});});}[_0x5d30a7(0xb5)](_0x639b6a){const _0x55f1bb=_0x5d30a7;if(_0x55f1bb(0x94)!=typeof _0x639b6a[_0x55f1bb(0x97)])throw new _0x158fca(_0x55f1bb(0xd3),this);if(this[_0x55f1bb(0xb4)](_0x639b6a))throw new _0x158fca(_0x55f1bb(0xd4),this,{'name':_0x639b6a[_0x55f1bb(0xc0)][_0x55f1bb(0xb9)]});this[_0x55f1bb(0xa8)][_0x55f1bb(0xab)](_0x639b6a);}[_0x5d30a7(0xb7)](_0x33a03){const _0x19cb5a=_0x5d30a7;this[_0x19cb5a(0xa8)][_0x19cb5a(0xa9)](_0x33a03);}[_0x5d30a7(0xb4)](_0x2e136c){const _0x3a6f19=_0x5d30a7;return this[_0x3a6f19(0xa8)][_0x3a6f19(0xc7)](_0x2e136c);}[_0x5d30a7(0xbc)](){const _0x2b8008=_0x5d30a7;return this[_0x2b8008(0x9d)][_0x2b8008(0x97)]()[_0x2b8008(0xa7)](()=>Promise[_0x2b8008(0x8e)](Array[_0x2b8008(0x8d)](this[_0x2b8008(0xa8)],_0x46055f=>_0x46055f[_0x2b8008(0x97)]())))[_0x2b8008(0xa7)](()=>this[_0x2b8008(0xc1)]=_0x662e25[_0x2b8008(0x90)])[_0x2b8008(0xcc)](_0x3b9e13=>{const _0x4272a8=_0x2b8008;throw console[_0x4272a8(0xd7)](_0x3b9e13),new _0x158fca(_0x4272a8(0xd5),this[_0x4272a8(0xa3)]);});}[_0x5d30a7(0xa0)](){const _0x2e5bd5=_0x5d30a7;this[_0x2e5bd5(0x9d)]&&this[_0x2e5bd5(0x9d)][_0x2e5bd5(0xaa)](),this[_0x2e5bd5(0xc1)]=_0x662e25[_0x2e5bd5(0x96)],this[_0x2e5bd5(0xb8)][_0x2e5bd5(0xbe)](),super[_0x2e5bd5(0xa0)]();}}function _0xe87c(){const _0x54d525=['_shouldPluginsReconnect','listenTo','has','90752ChvJgN','cloudServices.connectionTimeout','CloudServices','connect','catch','change:me','offline','online','init','plugins','580132KvxxDM','websocketgateway-invalid-plugin-interface','websocketgateway-plugin-already-registered','cloudservices-reconnection-error','18546ZNtQHi','error','from','all','connected','CONNECTED','showWarning','code','isOfficialPlugin','function','token','DISCONNECTED','reconnect','WebSocketGateway','Connected\x20users\x20limit\x20exceeded','415yHthLD','1231687YvZpnT','create','connection','_isBrowserOffline','isPremiumPlugin','destroy','6MRpmvp','websocketgateway-missing-token','context','750008xeqOFd','cloudservices-init','limitExceeded','then','_reconnectionStack','delete','disconnect','add','config','40Qmzvyz','websocketgateway-missing-websocket-url','CONNECTING','set','cloudServices.requestTimeout','define','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.','isInReconnectionStack','addToReconnectionStack','real-time-collaboration','removeFromReconnectionStack','_domEmitter','pluginName','get','24401800OfTgAQ','_reconnect','7726158deJwUu','stopListening','webSocketUrl','constructor','state','requires','bind','initialReconnectionInterval'];_0xe87c=function(){return _0x54d525;};return _0xe87c();}c[_0x5d30a7(0x98)]=_0x1cfb7c,c[_0x5d30a7(0xc4)]=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;}}
|