@ckeditor/ckeditor5-real-time-collaboration 44.2.1 → 44.3.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4e2459=_0x45e8;(function(_0xfc333b,_0x328d02){const _0x1d6655=_0x45e8,_0xa09aae=_0xfc333b();while(!![]){try{const _0x54de85=parseInt(_0x1d6655(0x216))/0x1+-parseInt(_0x1d6655(0x1df))/0x2+parseInt(_0x1d6655(0x1ce))/0x3+parseInt(_0x1d6655(0x1d0))/0x4+parseInt(_0x1d6655(0x209))/0x5*(parseInt(_0x1d6655(0x1e2))/0x6)+-parseInt(_0x1d6655(0x1d7))/0x7+-parseInt(_0x1d6655(0x1e6))/0x8;if(_0x54de85===_0x328d02)break;else _0xa09aae['push'](_0xa09aae['shift']());}catch(_0xc45c19){_0xa09aae['push'](_0xa09aae['shift']());}}}(_0x48d2,0x40db4));import{Context as _0x52b433,ContextPlugin as _0x585162}from'ckeditor5/src/core.js';import{CKEditorError as _0x4cc36a}from'ckeditor5/src/utils.js';import{Users as _0x154f11}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x45e8(_0xf9ffc0,_0x5634c9){const _0x48d2ac=_0x48d2();return _0x45e8=function(_0x45e82b,_0x41ba99){_0x45e82b=_0x45e82b-0x1c0;let _0x1a2f73=_0x48d2ac[_0x45e82b];return _0x1a2f73;},_0x45e8(_0xf9ffc0,_0x5634c9);}import{CommentsService as _0x12509b,User as _0x5416ab}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x5c178c from'../realtimecollaborativeediting/websocketgateway.js';function _0x48d2(){const _0x507fbe=['_setUpService','attributes','cloud-services-internal-error:\x20Request\x20timeout.','config','5ksgBWp','code','commentThreadUpdated','disconnect','reopen','destroy','message','unregister','remove','updateComment','cloudservicescommentsadapter-service-not-exist','reopenCommentThread','addUser','62746ayvzBi','commentUpdated','add','userId','set','sessionAdd:','getComment','off','Permissions','commentAdded','getUser','get','commentThreadId','delete','listenTo','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','reconnect','CommentsRepository','content','resolve','adapter','startsWith','getCommentThreads','permissions','commentThreadAdded','getConnectedSessions','getMany','_fetchMissingUsersForThreads','1578036fvXuQu','catch','1369256fTxlno','deletedAt','_getService','assign','cloudservicescommentsadapter-connect-already-connected','map','context','1152109IoEtco','pluginName','init','update','commentRemoved','isPremiumPlugin','comments','commentId','345946rcDsbC','keys','updateCommentThread','1563594SbXUAd','commentThreadResolved','commentThreadReopened','cloudservicescommentsadapter-disconnect-not-exist','4707672wGcofW','addComment','has','commentThreadRemoved','mySessionId','authorId','collaboration.channelId','setPermissions','_connectService','isOfficialPlugin','register','plugins','createdAt','addToReconnectionStack','_services','CommentsService','404','_terminateService','removeComment','resolveCommentThread','size','CloudServicesCommentsAdapter','getCommentThread','requires','addCommentThread','from','resolvedBy','cloud-services-internal-error:\x20Not\x20connected.','connect','resolvedAt','removeCommentThread'];_0x48d2=function(){return _0x507fbe;};return _0x48d2();}import _0x1f9d4f from'../realtimecollaborativeediting/sessions.js';class a extends _0x585162{static get[_0x4e2459(0x1fd)](){const _0x3c2c7=_0x4e2459;return[_0x5c178c,_0x3c2c7(0x1c3),_0x1f9d4f,_0x154f11];}static get[_0x4e2459(0x1d8)](){const _0x161766=_0x4e2459;return _0x161766(0x1fb);}static get[_0x4e2459(0x1ef)](){return!0x0;}static get[_0x4e2459(0x1dc)](){return!0x0;}constructor(_0x5d116a){const _0x1e78e0=_0x4e2459;super(_0x5d116a),this[_0x1e78e0(0x1f4)]=new Map();}async[_0x4e2459(0x1d9)](){const _0x4cae8d=_0x4e2459,_0x5f13cb=this[_0x4cae8d(0x1d6)],_0x5cc574=_0x5f13cb[_0x4cae8d(0x1f1)][_0x4cae8d(0x221)](_0x4cae8d(0x1c3));if(_0x5f13cb[_0x4cae8d(0x1f1)][_0x4cae8d(0x221)](_0x5c178c)[_0x4cae8d(0x1f3)](this),_0x5cc574[_0x4cae8d(0x1c6)]={'addCommentThread':async({channelId:_0x12fdc2,threadId:_0x51109b,comments:_0x4349b,resolvedAt:_0x110cb9,resolvedBy:_0x2a29ea,context:_0x1a89ca,attributes:_0x464f69})=>{const _0xd69db0=_0x4cae8d,_0x180218=await this[_0xd69db0(0x1d2)](_0x12fdc2)[_0xd69db0(0x1fe)]({'commentThreadId':_0x51109b,'comments':_0x4349b[_0xd69db0(0x1d5)](_0x53bc01=>function(_0xe78779,_0x4c2a18,_0xa127c7){const _0x407b93=_0xd69db0;return{'commentThreadId':_0xa127c7,'commentId':_0xe78779[_0x407b93(0x1de)],'userId':_0xe78779[_0x407b93(0x1eb)],'content':_0xe78779[_0x407b93(0x1c4)],'documentId':_0x4c2a18,'createdAt':_0xe78779[_0x407b93(0x1f2)],'attributes':_0xe78779[_0x407b93(0x206)]||{}};}(_0x53bc01,_0x12fdc2,_0x51109b)),'resolvedAt':_0x110cb9,'resolvedBy':_0x2a29ea,'context':_0x1a89ca,'attributes':_0x464f69})[_0xd69db0(0x1cf)](R);return{'threadId':_0x180218[_0xd69db0(0x222)],'comments':_0x180218[_0xd69db0(0x1dd)]};},'getCommentThread':async({channelId:_0xf8dbb0,threadId:_0x3334f3})=>{const _0x25ee81=_0x4cae8d,_0xc1067=await this[_0x25ee81(0x1d2)](_0xf8dbb0)[_0x25ee81(0x1fc)](_0x3334f3)[_0x25ee81(0x1cf)](R);return _0xc1067[_0x25ee81(0x1d1)]?null:(await this[_0x25ee81(0x1cd)]([_0xc1067]),{'threadId':_0xc1067[_0x25ee81(0x222)],'comments':_0xc1067[_0x25ee81(0x1dd)][_0x25ee81(0x1d5)](S),'context':_0xc1067[_0x25ee81(0x1d6)],'resolvedAt':_0xc1067[_0x25ee81(0x203)],'resolvedBy':_0xc1067[_0x25ee81(0x200)],'attributes':_0xc1067[_0x25ee81(0x206)]||{}});},'updateCommentThread':async({channelId:_0x185324,threadId:_0x305046,context:_0x556b6d,unlinkedAt:_0x1a77d2,attributes:_0x4e91c8})=>this[_0x4cae8d(0x1d2)](_0x185324)[_0x4cae8d(0x1e1)]({'commentThreadId':_0x305046,'context':_0x556b6d,'attributes':_0x4e91c8,'unlinkedAt':_0x1a77d2})[_0x4cae8d(0x1cf)](B)[_0x4cae8d(0x1cf)](R),'resolveCommentThread':async({channelId:_0x3ae694,threadId:_0x389309})=>{const _0x2f180a=_0x4cae8d,_0x538f84=await this[_0x2f180a(0x1d2)](_0x3ae694)[_0x2f180a(0x1f9)](_0x389309)[_0x2f180a(0x1cf)](B)[_0x2f180a(0x1cf)](R);return{'threadId':_0x538f84[_0x2f180a(0x222)],'resolvedAt':_0x538f84[_0x2f180a(0x203)],'resolvedBy':_0x538f84[_0x2f180a(0x200)]};},'reopenCommentThread':async({channelId:_0x14ba69,threadId:_0xaf89f})=>this[_0x4cae8d(0x1d2)](_0x14ba69)[_0x4cae8d(0x214)](_0xaf89f)[_0x4cae8d(0x1cf)](B)[_0x4cae8d(0x1cf)](R),'removeCommentThread':({channelId:_0x46a9c2,threadId:_0x177e94})=>this[_0x4cae8d(0x1d2)](_0x46a9c2)[_0x4cae8d(0x204)](_0x177e94)[_0x4cae8d(0x1cf)](B)[_0x4cae8d(0x1cf)](R),'addComment':({channelId:_0x511c38,threadId:_0x24d749,commentId:_0x109f9,content:_0x1706f1,attributes:_0x1fc9a3})=>this[_0x4cae8d(0x1d2)](_0x511c38)[_0x4cae8d(0x1e7)](_0x24d749,_0x109f9,_0x1706f1,_0x1fc9a3)[_0x4cae8d(0x1cf)](R),'updateComment':({channelId:_0x597abf,threadId:_0x338f8c,commentId:_0xf0bcf,content:_0x3d33a4,attributes:_0x490f2e})=>this[_0x4cae8d(0x1d2)](_0x597abf)[_0x4cae8d(0x212)](_0x338f8c,_0xf0bcf,_0x3d33a4,_0x490f2e)[_0x4cae8d(0x1cf)](B)[_0x4cae8d(0x1cf)](R),'removeComment':({channelId:_0x1ec9c1,threadId:_0x3b56cc,commentId:_0x268559})=>this[_0x4cae8d(0x1d2)](_0x1ec9c1)[_0x4cae8d(0x1f8)](_0x3b56cc,_0x268559)[_0x4cae8d(0x1cf)](B)[_0x4cae8d(0x1cf)](R)},_0x5f13cb instanceof _0x52b433){const _0x16572c=_0x5f13cb[_0x4cae8d(0x208)][_0x4cae8d(0x221)](_0x4cae8d(0x1ec)),_0x47c7c6=_0x5f13cb[_0x4cae8d(0x1f1)][_0x4cae8d(0x221)](_0x1f9d4f);await this[_0x4cae8d(0x205)](_0x16572c);const _0x285e25=await this[_0x4cae8d(0x1f4)][_0x4cae8d(0x221)](_0x16572c)[_0x4cae8d(0x1cb)]();this[_0x4cae8d(0x1c0)](_0x47c7c6,_0x4cae8d(0x21b)+_0x16572c,(_0x24d1fb,{session:_0xa05a09})=>{const _0x847ff4=_0x4cae8d;_0xa05a09['id']===_0x47c7c6[_0x847ff4(0x1ea)]&&(_0x24d1fb[_0x847ff4(0x21d)](),this[_0x847ff4(0x1d6)][_0x847ff4(0x1f1)][_0x847ff4(0x221)](_0x847ff4(0x21e))[_0x847ff4(0x1ed)](_0xa05a09[_0x847ff4(0x1c9)],_0x16572c));}),_0x47c7c6[_0x4cae8d(0x1f0)](_0x16572c,_0x285e25);}}async[_0x4e2459(0x205)](_0x21726f){const _0x49cb1e=_0x4e2459;if(this[_0x49cb1e(0x1f4)][_0x49cb1e(0x1e8)](_0x21726f))throw new _0x4cc36a(_0x49cb1e(0x1d4),null,{'channelId':_0x21726f});const _0x3a5fa8=this[_0x49cb1e(0x1d6)][_0x49cb1e(0x1f1)][_0x49cb1e(0x221)](_0x49cb1e(0x1c3)),_0x2d57a5=new a[(_0x49cb1e(0x1f5))](_0x21726f);this[_0x49cb1e(0x1f4)][_0x49cb1e(0x21a)](_0x21726f,_0x2d57a5),this[_0x49cb1e(0x1c0)](_0x2d57a5,_0x49cb1e(0x1ca),(_0x59fac5,_0x488fa5)=>{const _0x3ec57f=_0x49cb1e,{commentThreadId:_0x3374a0,documentId:_0x4fa0d1,context:_0x121178,attributes:_0x1d605f,resolvedAt:_0x4d88ce,resolvedBy:_0x23ba4f,comments:_0x8adace}=_0x488fa5;_0x3a5fa8[_0x3ec57f(0x1fc)](_0x3374a0)||_0x3a5fa8[_0x3ec57f(0x1fe)]({'threadId':_0x3374a0,'channelId':_0x4fa0d1,'comments':_0x8adace?_0x8adace[_0x3ec57f(0x1d5)](S):[],'context':_0x121178,'attributes':_0x1d605f,'resolvedAt':_0x4d88ce,'resolvedBy':_0x23ba4f,'isFromAdapter':!0x0});}),this[_0x49cb1e(0x1c0)](_0x2d57a5,_0x49cb1e(0x20b),(_0x112012,{commentThreadId:_0x124e50,documentId:_0x5b1153,context:_0x4ad289,unlinkedAt:_0x45b198,attributes:_0x51445f})=>{const _0x51f5a6=_0x49cb1e;_0x3a5fa8[_0x51f5a6(0x1fc)](_0x124e50)&&_0x3a5fa8[_0x51f5a6(0x1e1)]({'threadId':_0x124e50,'channelId':_0x5b1153,'context':_0x4ad289,'unlinkedAt':_0x45b198,'attributes':_0x51445f,'isFromAdapter':!0x0});}),this[_0x49cb1e(0x1c0)](_0x2d57a5,_0x49cb1e(0x1e3),(_0x1c65ec,{commentThreadId:_0x2097f6,resolvedBy:_0x1413c6,resolvedAt:_0x17d5ff})=>{const _0x235876=_0x49cb1e,_0xcc5693=_0x3a5fa8[_0x235876(0x1fc)](_0x2097f6);_0xcc5693&&_0xcc5693[_0x235876(0x1c5)]({'resolvedBy':_0x1413c6,'resolvedAt':_0x17d5ff,'isFromAdapter':!0x0});}),this[_0x49cb1e(0x1c0)](_0x2d57a5,_0x49cb1e(0x1e4),(_0x2ef0a3,{commentThreadId:_0x54cc68})=>{const _0x39dd7c=_0x49cb1e,_0x46f67e=_0x3a5fa8[_0x39dd7c(0x1fc)](_0x54cc68);_0x46f67e&&_0x46f67e[_0x39dd7c(0x20d)]({'isFromAdapter':!0x0});}),this[_0x49cb1e(0x1c0)](_0x2d57a5,_0x49cb1e(0x1e9),(_0x59ff48,{commentThreadId:_0x1686d6})=>{const _0x35c67d=_0x49cb1e,_0x397ce0=_0x3a5fa8[_0x35c67d(0x1fc)](_0x1686d6);_0x397ce0&&_0x397ce0[_0x35c67d(0x211)]({'isFromAdapter':!0x0});}),this[_0x49cb1e(0x1c0)](_0x2d57a5,_0x49cb1e(0x21f),(_0x4f6250,_0x4ec8b4)=>{const _0x5ec2da=_0x49cb1e,_0x30a46e=_0x4ec8b4[_0x5ec2da(0x222)],_0xa712bc=_0x3a5fa8[_0x5ec2da(0x1fc)](_0x30a46e);_0xa712bc&&_0xa712bc[_0x5ec2da(0x1e7)]({...S(_0x4ec8b4),'isFromAdapter':!0x0});}),this[_0x49cb1e(0x1c0)](_0x2d57a5,_0x49cb1e(0x217),(_0x176762,{commentThreadId:_0x369ec6,commentId:_0x2ffe33,content:_0x442f6a,attributes:_0x35a910})=>{const _0x38a8de=_0x49cb1e,_0x3b33e9=_0x3a5fa8[_0x38a8de(0x1fc)](_0x369ec6);if(_0x3b33e9){const _0x495ca3=_0x3b33e9[_0x38a8de(0x21c)](_0x2ffe33);_0x495ca3&&_0x495ca3[_0x38a8de(0x1da)]({'content':_0x442f6a,'attributes':_0x35a910,'isFromAdapter':!0x0});}}),this[_0x49cb1e(0x1c0)](_0x2d57a5,_0x49cb1e(0x1db),(_0x54b60b,{commentThreadId:_0x5f2abb,commentId:_0xa8ec29})=>{const _0x5ce939=_0x49cb1e,_0x56c91c=_0x3a5fa8[_0x5ce939(0x1fc)](_0x5f2abb);if(_0x56c91c){const _0x1dd064=_0x56c91c[_0x5ce939(0x21c)](_0xa8ec29);_0x1dd064&&_0x1dd064[_0x5ce939(0x211)]({'isFromAdapter':!0x0});}}),await this[_0x49cb1e(0x1ee)](_0x21726f);}[_0x4e2459(0x20e)](){const _0x2c7c04=_0x4e2459;if(this[_0x2c7c04(0x1d6)]instanceof _0x52b433){const _0x2ccc4b=this[_0x2c7c04(0x1d6)][_0x2c7c04(0x208)][_0x2c7c04(0x221)](_0x2c7c04(0x1ec));this[_0x2c7c04(0x1f7)](_0x2ccc4b);}}[_0x4e2459(0x1f7)](_0x564ca1){const _0x1a6809=_0x4e2459;if(!this[_0x1a6809(0x1f4)][_0x1a6809(0x1e8)](_0x564ca1))throw new _0x4cc36a(_0x1a6809(0x1e5),null,{'channelId':_0x564ca1});this[_0x1a6809(0x1d2)](_0x564ca1)[_0x1a6809(0x20c)](),this[_0x1a6809(0x1f4)][_0x1a6809(0x223)](_0x564ca1);}async[_0x4e2459(0x1c2)](){const _0xa374c4=_0x4e2459;for(const _0x1286b6 of this[_0xa374c4(0x1f4)][_0xa374c4(0x1e0)]())await this[_0xa374c4(0x1ee)](_0x1286b6);if(this[_0xa374c4(0x1d6)]instanceof _0x52b433){const _0x1ee1c9=this[_0xa374c4(0x1d6)][_0xa374c4(0x208)][_0xa374c4(0x221)](_0xa374c4(0x1ec)),_0x164831=this[_0xa374c4(0x1d6)][_0xa374c4(0x1f1)][_0xa374c4(0x221)](_0x1f9d4f);_0x164831[_0xa374c4(0x210)](_0x1ee1c9);const _0x511362=await this[_0xa374c4(0x1f4)][_0xa374c4(0x221)](_0x1ee1c9)[_0xa374c4(0x1cb)]();_0x164831[_0xa374c4(0x1f0)](_0x1ee1c9,_0x511362);}}async[_0x4e2459(0x1ee)](_0x2327f6){const _0x12d3fc=_0x4e2459,{connection:_0x13099e}=this[_0x12d3fc(0x1d6)][_0x12d3fc(0x1f1)][_0x12d3fc(0x221)](_0x5c178c),_0x1f119d=this[_0x12d3fc(0x1d6)][_0x12d3fc(0x1f1)][_0x12d3fc(0x221)](_0x12d3fc(0x1c3)),_0x40f586=this[_0x12d3fc(0x1f4)][_0x12d3fc(0x221)](_0x2327f6),_0x4a1f88=await _0x40f586[_0x12d3fc(0x202)](_0x13099e);await this[_0x12d3fc(0x1cd)](_0x4a1f88);const _0x9b98d7=new Set(Array[_0x12d3fc(0x1ff)](_0x1f119d[_0x12d3fc(0x1c8)]({'channelId':_0x2327f6}),_0x310b8e=>_0x310b8e['id']));for(const _0x9b888a of _0x4a1f88)_0x9b888a[_0x12d3fc(0x1d1)]||_0x9b98d7[_0x12d3fc(0x223)](_0x9b888a[_0x12d3fc(0x222)]);for(const _0x563e38 of _0x9b98d7)_0x1f119d[_0x12d3fc(0x1fc)](_0x563e38)[_0x12d3fc(0x211)]({'isFromAdapter':!0x0});for(const _0x6a536 of _0x4a1f88){let _0x413791=_0x1f119d[_0x12d3fc(0x1fc)](_0x6a536[_0x12d3fc(0x222)]);const {commentThreadId:_0x436724,context:_0x4878ff,attributes:_0x58e7ce,resolvedBy:_0x2de8fb,resolvedAt:_0x345cc3,unlinkedAt:_0x42f35a,deletedAt:_0x549897}=_0x6a536;if(_0x549897)continue;_0x413791||(_0x413791=_0x1f119d[_0x12d3fc(0x1fe)]({'channelId':_0x2327f6,'threadId':_0x436724,'context':_0x4878ff,'attributes':_0x58e7ce||{},'resolvedBy':_0x2de8fb,'resolvedAt':_0x345cc3,'unlinkedAt':_0x42f35a,'isFromAdapter':!0x0}));const _0xf23cdd=new Set(Array[_0x12d3fc(0x1ff)](_0x413791[_0x12d3fc(0x1dd)],_0x2470b0=>_0x2470b0['id']));for(const _0x19e1f4 of _0x6a536[_0x12d3fc(0x1dd)])_0xf23cdd[_0x12d3fc(0x223)](_0x19e1f4[_0x12d3fc(0x1de)]);for(const _0x1a53d1 of _0xf23cdd)_0x413791[_0x12d3fc(0x21c)](_0x1a53d1)[_0x12d3fc(0x211)]({'isFromAdapter':!0x0});for(const _0x1b5cec of _0x6a536[_0x12d3fc(0x1dd)]){const _0x391f33=_0x413791[_0x12d3fc(0x21c)](_0x1b5cec[_0x12d3fc(0x1de)]);_0x391f33?_0x391f33[_0x12d3fc(0x1c4)]!==_0x1b5cec[_0x12d3fc(0x1c4)]&&_0x391f33[_0x12d3fc(0x1da)]({'content':_0x1b5cec[_0x12d3fc(0x1c4)],'isFromAdapter':!0x0}):_0x413791[_0x12d3fc(0x1e7)](Object[_0x12d3fc(0x1d3)](S(_0x1b5cec),{'isFromAdapter':!0x0}));}}}[_0x4e2459(0x1d2)](_0x3fd50e){const _0x35d6df=_0x4e2459;if(!this[_0x35d6df(0x1f4)][_0x35d6df(0x1e8)](_0x3fd50e))throw new _0x4cc36a(_0x35d6df(0x213),null,{'channelId':_0x3fd50e});return this[_0x35d6df(0x1f4)][_0x35d6df(0x221)](_0x3fd50e);}async[_0x4e2459(0x1cd)](_0x14030b){const _0x45636f=_0x4e2459,_0x4e15ce=this[_0x45636f(0x1d6)][_0x45636f(0x1f1)][_0x45636f(0x221)](_0x154f11),{connection:_0x1ed889}=this[_0x45636f(0x1d6)][_0x45636f(0x1f1)][_0x45636f(0x221)](_0x5c178c),_0x2cde8b=new Set();for(const {resolvedBy:_0x494044,comments:_0x548d8a}of _0x14030b){_0x494044&&!_0x4e15ce[_0x45636f(0x220)](_0x494044)&&_0x2cde8b[_0x45636f(0x218)](_0x494044);for(const {userId:_0x26828f}of _0x548d8a)_0x4e15ce[_0x45636f(0x220)](_0x26828f)||_0x2cde8b[_0x45636f(0x218)](_0x26828f);}if(0x0===_0x2cde8b[_0x45636f(0x1fa)])return;const _0x563bf1=await _0x5416ab[_0x45636f(0x1cc)](_0x1ed889,Array[_0x45636f(0x1ff)](_0x2cde8b));for(const _0x52973e of _0x563bf1)_0x4e15ce[_0x45636f(0x220)](_0x52973e['id'])||_0x4e15ce[_0x45636f(0x215)](_0x52973e);}}a[_0x4e2459(0x1f5)]=_0x12509b;export default a;async function B(_0x5d5a5b){const _0x1d2d4e=_0x4e2459;if(_0x1d2d4e(0x1f6)!==_0x5d5a5b[_0x1d2d4e(0x20a)])throw _0x5d5a5b;}function R(_0x2d2362){const _0x4063fb=_0x4e2459;if((_0x3763f5=_0x2d2362)[_0x4063fb(0x20f)][_0x4063fb(0x1c7)](_0x4063fb(0x1c1))||_0x3763f5[_0x4063fb(0x20f)][_0x4063fb(0x1c7)](_0x4063fb(0x201))||_0x3763f5[_0x4063fb(0x20f)][_0x4063fb(0x1c7)](_0x4063fb(0x207)))return new Promise(()=>{});var _0x3763f5;throw _0x2d2362;}function S(_0x4f3f89){const _0x816a06=_0x4e2459;return{'threadId':_0x4f3f89[_0x816a06(0x222)],'commentId':_0x4f3f89[_0x816a06(0x1de)],'content':_0x4f3f89[_0x816a06(0x1c4)],'createdAt':_0x4f3f89[_0x816a06(0x1f2)],'authorId':_0x4f3f89[_0x816a06(0x219)],'attributes':_0x4f3f89[_0x816a06(0x206)]||{}};}
|
|
23
|
+
const _0x39b2b4=_0x3c11;(function(_0x41d0c7,_0x8ae2e8){const _0x8f2c11=_0x3c11,_0x3fb31b=_0x41d0c7();while(!![]){try{const _0x2844a4=-parseInt(_0x8f2c11(0x151))/0x1*(-parseInt(_0x8f2c11(0x140))/0x2)+parseInt(_0x8f2c11(0x190))/0x3*(parseInt(_0x8f2c11(0x17b))/0x4)+-parseInt(_0x8f2c11(0x179))/0x5*(-parseInt(_0x8f2c11(0x173))/0x6)+-parseInt(_0x8f2c11(0x192))/0x7*(parseInt(_0x8f2c11(0x177))/0x8)+-parseInt(_0x8f2c11(0x18a))/0x9+-parseInt(_0x8f2c11(0x16d))/0xa*(-parseInt(_0x8f2c11(0x162))/0xb)+-parseInt(_0x8f2c11(0x158))/0xc*(parseInt(_0x8f2c11(0x133))/0xd);if(_0x2844a4===_0x8ae2e8)break;else _0x3fb31b['push'](_0x3fb31b['shift']());}catch(_0x1ac8ff){_0x3fb31b['push'](_0x3fb31b['shift']());}}}(_0x4d49,0xbb3e3));import{Context as _0x22774f,ContextPlugin as _0x3bc0d9}from'ckeditor5/src/core.js';import{CKEditorError as _0xaac319}from'ckeditor5/src/utils.js';import{Users as _0x49af31}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0xafed7a,User as _0x58d0fb}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x56c330 from'../realtimecollaborativeediting/websocketgateway.js';function _0x4d49(){const _0x3ef903=['permissions','CommentsService','getMany','Permissions','cloud-services-internal-error:\x20Not\x20connected.','delete','resolve','_terminateService','isPremiumPlugin','14146iczvdX','sessionAdd:','context','collaboration.channelId','reopenCommentThread','CommentsRepository','pluginName','requires','getUser','commentAdded','_connectService','2110KHeRUo','getConnectedSessions','set','getCommentThread','config','commentThreadId','6AiuCqk','_getService','removeCommentThread','cloudservicescommentsadapter-service-not-exist','2815896Hutywj','update','4891715JeBblJ','plugins','128768zIjsQZ','listenTo','commentThreadAdded','createdAt','destroy','attributes','commentThreadResolved','assign','_setUpService','unregister','404','has','cloud-services-internal-error:\x20Request\x20timeout.','CloudServicesCommentsAdapter','commentThreadReopened','6363729hNfpqw','addCommentThread','commentThreadRemoved','mySessionId','size','catch','6XPSAuU','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','7IQXyct','getCommentThreads','resolveCommentThread','disconnect','content','cloudservicescommentsadapter-connect-already-connected','startsWith','authorId','_services','resolvedBy','788814lPwulE','userId','keys','comments','init','_fetchMissingUsersForThreads','map','code','reopen','addComment','isOfficialPlugin','adapter','commentUpdated','82igvyoz','addUser','setPermissions','addToReconnectionStack','cloudservicescommentsadapter-disconnect-not-exist','connect','updateComment','add','updateCommentThread','message','commentId','remove','getComment','get','resolvedAt','removeComment','deletedAt','24326swcqec','from','off','commentRemoved','commentThreadUpdated','reconnect','register','96DBqukq'];_0x4d49=function(){return _0x3ef903;};return _0x4d49();}function _0x3c11(_0x38157b,_0x27023a){const _0x4d4942=_0x4d49();return _0x3c11=function(_0x3c11da,_0x210c87){_0x3c11da=_0x3c11da-0x131;let _0x186260=_0x4d4942[_0x3c11da];return _0x186260;},_0x3c11(_0x38157b,_0x27023a);}import _0x29d856 from'../realtimecollaborativeediting/sessions.js';class a extends _0x3bc0d9{static get[_0x39b2b4(0x169)](){const _0x574bcd=_0x39b2b4;return[_0x56c330,_0x574bcd(0x167),_0x29d856,_0x49af31];}static get[_0x39b2b4(0x168)](){const _0x35c9ef=_0x39b2b4;return _0x35c9ef(0x188);}static get[_0x39b2b4(0x13d)](){return!0x0;}static get[_0x39b2b4(0x161)](){return!0x0;}constructor(_0x24c3a9){const _0x473231=_0x39b2b4;super(_0x24c3a9),this[_0x473231(0x131)]=new Map();}async[_0x39b2b4(0x137)](){const _0x505f6f=_0x39b2b4,_0x27d82d=this[_0x505f6f(0x164)],_0x57a4c6=_0x27d82d[_0x505f6f(0x17a)][_0x505f6f(0x14d)](_0x505f6f(0x167));if(_0x27d82d[_0x505f6f(0x17a)][_0x505f6f(0x14d)](_0x56c330)[_0x505f6f(0x143)](this),_0x57a4c6[_0x505f6f(0x13e)]={'addCommentThread':async({channelId:_0x5e004d,threadId:_0x1ce197,comments:_0x3e8113,resolvedAt:_0x28eb8e,resolvedBy:_0x4bff8c,context:_0x27b62b,attributes:_0x193acb})=>{const _0x1251b3=_0x505f6f,_0x4df874=await this[_0x1251b3(0x174)](_0x5e004d)[_0x1251b3(0x18b)]({'commentThreadId':_0x1ce197,'comments':_0x3e8113[_0x1251b3(0x139)](_0xc40dbc=>function(_0x1efae6,_0x1bbda6,_0x3da76d){const _0x427733=_0x1251b3;return{'commentThreadId':_0x3da76d,'commentId':_0x1efae6[_0x427733(0x14a)],'userId':_0x1efae6[_0x427733(0x199)],'content':_0x1efae6[_0x427733(0x196)],'documentId':_0x1bbda6,'createdAt':_0x1efae6[_0x427733(0x17e)],'attributes':_0x1efae6[_0x427733(0x180)]||{}};}(_0xc40dbc,_0x5e004d,_0x1ce197)),'resolvedAt':_0x28eb8e,'resolvedBy':_0x4bff8c,'context':_0x27b62b,'attributes':_0x193acb})[_0x1251b3(0x18f)](R);return{'threadId':_0x4df874[_0x1251b3(0x172)],'comments':_0x4df874[_0x1251b3(0x136)]};},'getCommentThread':async({channelId:_0xe19975,threadId:_0x100d5a})=>{const _0xf0403=_0x505f6f,_0xa89099=await this[_0xf0403(0x174)](_0xe19975)[_0xf0403(0x170)](_0x100d5a)[_0xf0403(0x18f)](R);return _0xa89099[_0xf0403(0x150)]?null:(await this[_0xf0403(0x138)]([_0xa89099]),{'threadId':_0xa89099[_0xf0403(0x172)],'comments':_0xa89099[_0xf0403(0x136)][_0xf0403(0x139)](S),'context':_0xa89099[_0xf0403(0x164)],'resolvedAt':_0xa89099[_0xf0403(0x14e)],'resolvedBy':_0xa89099[_0xf0403(0x132)],'attributes':_0xa89099[_0xf0403(0x180)]||{}});},'updateCommentThread':async({channelId:_0x3bf5e5,threadId:_0x357656,context:_0x481214,unlinkedAt:_0x229358,attributes:_0x334652})=>this[_0x505f6f(0x174)](_0x3bf5e5)[_0x505f6f(0x148)]({'commentThreadId':_0x357656,'context':_0x481214,'attributes':_0x334652,'unlinkedAt':_0x229358})[_0x505f6f(0x18f)](B)[_0x505f6f(0x18f)](R),'resolveCommentThread':async({channelId:_0x128c57,threadId:_0x6d0135})=>{const _0x20e759=_0x505f6f,_0x5e31a6=await this[_0x20e759(0x174)](_0x128c57)[_0x20e759(0x194)](_0x6d0135)[_0x20e759(0x18f)](B)[_0x20e759(0x18f)](R);return{'threadId':_0x5e31a6[_0x20e759(0x172)],'resolvedAt':_0x5e31a6[_0x20e759(0x14e)],'resolvedBy':_0x5e31a6[_0x20e759(0x132)]};},'reopenCommentThread':async({channelId:_0x3921e0,threadId:_0x1b8ba6})=>this[_0x505f6f(0x174)](_0x3921e0)[_0x505f6f(0x166)](_0x1b8ba6)[_0x505f6f(0x18f)](B)[_0x505f6f(0x18f)](R),'removeCommentThread':({channelId:_0x320f64,threadId:_0x4a6867})=>this[_0x505f6f(0x174)](_0x320f64)[_0x505f6f(0x175)](_0x4a6867)[_0x505f6f(0x18f)](B)[_0x505f6f(0x18f)](R),'addComment':({channelId:_0x15aac3,threadId:_0x1b4a99,commentId:_0x3cbb85,content:_0x30914f,attributes:_0x47e887})=>this[_0x505f6f(0x174)](_0x15aac3)[_0x505f6f(0x13c)](_0x1b4a99,_0x3cbb85,_0x30914f,_0x47e887)[_0x505f6f(0x18f)](R),'updateComment':({channelId:_0x1bef4a,threadId:_0x51fdb0,commentId:_0x384c99,content:_0x1e119c,attributes:_0x4f55f1})=>this[_0x505f6f(0x174)](_0x1bef4a)[_0x505f6f(0x146)](_0x51fdb0,_0x384c99,_0x1e119c,_0x4f55f1)[_0x505f6f(0x18f)](B)[_0x505f6f(0x18f)](R),'removeComment':({channelId:_0x3be96f,threadId:_0x34300c,commentId:_0x70e717})=>this[_0x505f6f(0x174)](_0x3be96f)[_0x505f6f(0x14f)](_0x34300c,_0x70e717)[_0x505f6f(0x18f)](B)[_0x505f6f(0x18f)](R)},_0x27d82d instanceof _0x22774f){const _0x4e96ad=_0x27d82d[_0x505f6f(0x171)][_0x505f6f(0x14d)](_0x505f6f(0x165)),_0x102672=_0x27d82d[_0x505f6f(0x17a)][_0x505f6f(0x14d)](_0x29d856);await this[_0x505f6f(0x183)](_0x4e96ad);const _0x318510=await this[_0x505f6f(0x131)][_0x505f6f(0x14d)](_0x4e96ad)[_0x505f6f(0x16e)]();this[_0x505f6f(0x17c)](_0x102672,_0x505f6f(0x163)+_0x4e96ad,(_0xd10b00,{session:_0x425897})=>{const _0x348585=_0x505f6f;_0x425897['id']===_0x102672[_0x348585(0x18d)]&&(_0xd10b00[_0x348585(0x153)](),this[_0x348585(0x164)][_0x348585(0x17a)][_0x348585(0x14d)](_0x348585(0x15c))[_0x348585(0x142)](_0x425897[_0x348585(0x159)],_0x4e96ad));}),_0x102672[_0x505f6f(0x157)](_0x4e96ad,_0x318510);}}async[_0x39b2b4(0x183)](_0x469692){const _0x234740=_0x39b2b4;if(this[_0x234740(0x131)][_0x234740(0x186)](_0x469692))throw new _0xaac319(_0x234740(0x197),null,{'channelId':_0x469692});const _0x226513=this[_0x234740(0x164)][_0x234740(0x17a)][_0x234740(0x14d)](_0x234740(0x167)),_0x3da9e5=new a[(_0x234740(0x15a))](_0x469692);this[_0x234740(0x131)][_0x234740(0x16f)](_0x469692,_0x3da9e5),this[_0x234740(0x17c)](_0x3da9e5,_0x234740(0x17d),(_0x30d8f9,_0x56263f)=>{const _0xde3f97=_0x234740,{commentThreadId:_0x295c95,documentId:_0x42d646,context:_0x5ca550,attributes:_0x25f900,resolvedAt:_0x1ef459,resolvedBy:_0x2f3c30,comments:_0x541c56}=_0x56263f;_0x226513[_0xde3f97(0x170)](_0x295c95)||_0x226513[_0xde3f97(0x18b)]({'threadId':_0x295c95,'channelId':_0x42d646,'comments':_0x541c56?_0x541c56[_0xde3f97(0x139)](S):[],'context':_0x5ca550,'attributes':_0x25f900,'resolvedAt':_0x1ef459,'resolvedBy':_0x2f3c30,'isFromAdapter':!0x0});}),this[_0x234740(0x17c)](_0x3da9e5,_0x234740(0x155),(_0x15afdb,{commentThreadId:_0x2b388f,documentId:_0x3afe80,context:_0x472234,unlinkedAt:_0xe5b469,attributes:_0xe399a8})=>{const _0x52dc9a=_0x234740;_0x226513[_0x52dc9a(0x170)](_0x2b388f)&&_0x226513[_0x52dc9a(0x148)]({'threadId':_0x2b388f,'channelId':_0x3afe80,'context':_0x472234,'unlinkedAt':_0xe5b469,'attributes':_0xe399a8,'isFromAdapter':!0x0});}),this[_0x234740(0x17c)](_0x3da9e5,_0x234740(0x181),(_0x3fd29d,{commentThreadId:_0x39fde8,resolvedBy:_0x1da7ce,resolvedAt:_0x49b7fc})=>{const _0x2b2bd0=_0x234740,_0x241f6d=_0x226513[_0x2b2bd0(0x170)](_0x39fde8);_0x241f6d&&_0x241f6d[_0x2b2bd0(0x15f)]({'resolvedBy':_0x1da7ce,'resolvedAt':_0x49b7fc,'isFromAdapter':!0x0});}),this[_0x234740(0x17c)](_0x3da9e5,_0x234740(0x189),(_0x463dbb,{commentThreadId:_0x6a091c})=>{const _0x520c10=_0x234740,_0x17bb1f=_0x226513[_0x520c10(0x170)](_0x6a091c);_0x17bb1f&&_0x17bb1f[_0x520c10(0x13b)]({'isFromAdapter':!0x0});}),this[_0x234740(0x17c)](_0x3da9e5,_0x234740(0x18c),(_0x2f0adf,{commentThreadId:_0x5e97ee})=>{const _0x42f1d4=_0x234740,_0x23eb0b=_0x226513[_0x42f1d4(0x170)](_0x5e97ee);_0x23eb0b&&_0x23eb0b[_0x42f1d4(0x14b)]({'isFromAdapter':!0x0});}),this[_0x234740(0x17c)](_0x3da9e5,_0x234740(0x16b),(_0xc10c4e,_0x55da54)=>{const _0x1005e2=_0x234740,_0x26516a=_0x55da54[_0x1005e2(0x172)],_0x382203=_0x226513[_0x1005e2(0x170)](_0x26516a);_0x382203&&_0x382203[_0x1005e2(0x13c)]({...S(_0x55da54),'isFromAdapter':!0x0});}),this[_0x234740(0x17c)](_0x3da9e5,_0x234740(0x13f),(_0x19d107,{commentThreadId:_0x5610f7,commentId:_0x35c915,content:_0x55ae8f,attributes:_0x33f705})=>{const _0x2d2640=_0x234740,_0xcebf5a=_0x226513[_0x2d2640(0x170)](_0x5610f7);if(_0xcebf5a){const _0x6b7f30=_0xcebf5a[_0x2d2640(0x14c)](_0x35c915);_0x6b7f30&&_0x6b7f30[_0x2d2640(0x178)]({'content':_0x55ae8f,'attributes':_0x33f705,'isFromAdapter':!0x0});}}),this[_0x234740(0x17c)](_0x3da9e5,_0x234740(0x154),(_0x2600cd,{commentThreadId:_0x43e779,commentId:_0x2f8b9b})=>{const _0xb6a831=_0x234740,_0x4be685=_0x226513[_0xb6a831(0x170)](_0x43e779);if(_0x4be685){const _0x2699c5=_0x4be685[_0xb6a831(0x14c)](_0x2f8b9b);_0x2699c5&&_0x2699c5[_0xb6a831(0x14b)]({'isFromAdapter':!0x0});}}),await this[_0x234740(0x16c)](_0x469692);}[_0x39b2b4(0x17f)](){const _0x15917a=_0x39b2b4;if(this[_0x15917a(0x164)]instanceof _0x22774f){const _0x102d77=this[_0x15917a(0x164)][_0x15917a(0x171)][_0x15917a(0x14d)](_0x15917a(0x165));this[_0x15917a(0x160)](_0x102d77);}}[_0x39b2b4(0x160)](_0x5221da){const _0x206ac1=_0x39b2b4;if(!this[_0x206ac1(0x131)][_0x206ac1(0x186)](_0x5221da))throw new _0xaac319(_0x206ac1(0x144),null,{'channelId':_0x5221da});this[_0x206ac1(0x174)](_0x5221da)[_0x206ac1(0x195)](),this[_0x206ac1(0x131)][_0x206ac1(0x15e)](_0x5221da);}async[_0x39b2b4(0x156)](){const _0x59a18f=_0x39b2b4;for(const _0x39b1d7 of this[_0x59a18f(0x131)][_0x59a18f(0x135)]())await this[_0x59a18f(0x16c)](_0x39b1d7);if(this[_0x59a18f(0x164)]instanceof _0x22774f){const _0x582848=this[_0x59a18f(0x164)][_0x59a18f(0x171)][_0x59a18f(0x14d)](_0x59a18f(0x165)),_0x198836=this[_0x59a18f(0x164)][_0x59a18f(0x17a)][_0x59a18f(0x14d)](_0x29d856);_0x198836[_0x59a18f(0x184)](_0x582848);const _0x485e1b=await this[_0x59a18f(0x131)][_0x59a18f(0x14d)](_0x582848)[_0x59a18f(0x16e)]();_0x198836[_0x59a18f(0x157)](_0x582848,_0x485e1b);}}async[_0x39b2b4(0x16c)](_0x11bb4b){const _0x403892=_0x39b2b4,{connection:_0x376eff}=this[_0x403892(0x164)][_0x403892(0x17a)][_0x403892(0x14d)](_0x56c330),_0x2feb4d=this[_0x403892(0x164)][_0x403892(0x17a)][_0x403892(0x14d)](_0x403892(0x167)),_0x2f52b0=this[_0x403892(0x131)][_0x403892(0x14d)](_0x11bb4b),_0x3e1bed=await _0x2f52b0[_0x403892(0x145)](_0x376eff);await this[_0x403892(0x138)](_0x3e1bed);const _0xf78081=new Set(Array[_0x403892(0x152)](_0x2feb4d[_0x403892(0x193)]({'channelId':_0x11bb4b}),_0x12b3f3=>_0x12b3f3['id']));for(const _0x30a8a3 of _0x3e1bed)_0x30a8a3[_0x403892(0x150)]||_0xf78081[_0x403892(0x15e)](_0x30a8a3[_0x403892(0x172)]);for(const _0x334fa8 of _0xf78081)_0x2feb4d[_0x403892(0x170)](_0x334fa8)[_0x403892(0x14b)]({'isFromAdapter':!0x0});for(const _0x28b43f of _0x3e1bed){let _0x3974c2=_0x2feb4d[_0x403892(0x170)](_0x28b43f[_0x403892(0x172)]);const {commentThreadId:_0x50cdf0,context:_0x440ab3,attributes:_0x237a25,resolvedBy:_0x5717e6,resolvedAt:_0x53fefc,unlinkedAt:_0x5e27f1,deletedAt:_0x1eabdb}=_0x28b43f;if(_0x1eabdb)continue;_0x3974c2||(_0x3974c2=_0x2feb4d[_0x403892(0x18b)]({'channelId':_0x11bb4b,'threadId':_0x50cdf0,'context':_0x440ab3,'attributes':_0x237a25||{},'resolvedBy':_0x5717e6,'resolvedAt':_0x53fefc,'unlinkedAt':_0x5e27f1,'isFromAdapter':!0x0}));const _0x2ebf34=new Set(Array[_0x403892(0x152)](_0x3974c2[_0x403892(0x136)],_0x375b26=>_0x375b26['id']));for(const _0x1a9095 of _0x28b43f[_0x403892(0x136)])_0x2ebf34[_0x403892(0x15e)](_0x1a9095[_0x403892(0x14a)]);for(const _0x1bf65e of _0x2ebf34)_0x3974c2[_0x403892(0x14c)](_0x1bf65e)[_0x403892(0x14b)]({'isFromAdapter':!0x0});for(const _0x59e331 of _0x28b43f[_0x403892(0x136)]){const _0x321fcc=_0x3974c2[_0x403892(0x14c)](_0x59e331[_0x403892(0x14a)]);_0x321fcc?_0x321fcc[_0x403892(0x196)]!==_0x59e331[_0x403892(0x196)]&&_0x321fcc[_0x403892(0x178)]({'content':_0x59e331[_0x403892(0x196)],'isFromAdapter':!0x0}):_0x3974c2[_0x403892(0x13c)](Object[_0x403892(0x182)](S(_0x59e331),{'isFromAdapter':!0x0}));}}}[_0x39b2b4(0x174)](_0x58146e){const _0x41e99b=_0x39b2b4;if(!this[_0x41e99b(0x131)][_0x41e99b(0x186)](_0x58146e))throw new _0xaac319(_0x41e99b(0x176),null,{'channelId':_0x58146e});return this[_0x41e99b(0x131)][_0x41e99b(0x14d)](_0x58146e);}async[_0x39b2b4(0x138)](_0x5e3620){const _0x53d145=_0x39b2b4,_0x4db046=this[_0x53d145(0x164)][_0x53d145(0x17a)][_0x53d145(0x14d)](_0x49af31),{connection:_0x40fec1}=this[_0x53d145(0x164)][_0x53d145(0x17a)][_0x53d145(0x14d)](_0x56c330),_0x2d7943=new Set();for(const {resolvedBy:_0x35c4af,comments:_0x203106}of _0x5e3620){_0x35c4af&&!_0x4db046[_0x53d145(0x16a)](_0x35c4af)&&_0x2d7943[_0x53d145(0x147)](_0x35c4af);for(const {userId:_0x4f66a1}of _0x203106)_0x4db046[_0x53d145(0x16a)](_0x4f66a1)||_0x2d7943[_0x53d145(0x147)](_0x4f66a1);}if(0x0===_0x2d7943[_0x53d145(0x18e)])return;const _0x2597ec=await _0x58d0fb[_0x53d145(0x15b)](_0x40fec1,Array[_0x53d145(0x152)](_0x2d7943));for(const _0x1dfb84 of _0x2597ec)_0x4db046[_0x53d145(0x16a)](_0x1dfb84['id'])||_0x4db046[_0x53d145(0x141)](_0x1dfb84);}}a[_0x39b2b4(0x15a)]=_0xafed7a;export default a;async function B(_0x469413){const _0x3cc3ab=_0x39b2b4;if(_0x3cc3ab(0x185)!==_0x469413[_0x3cc3ab(0x13a)])throw _0x469413;}function R(_0x2baa4e){const _0xf461b4=_0x39b2b4;if((_0x19520c=_0x2baa4e)[_0xf461b4(0x149)][_0xf461b4(0x198)](_0xf461b4(0x191))||_0x19520c[_0xf461b4(0x149)][_0xf461b4(0x198)](_0xf461b4(0x15d))||_0x19520c[_0xf461b4(0x149)][_0xf461b4(0x198)](_0xf461b4(0x187)))return new Promise(()=>{});var _0x19520c;throw _0x2baa4e;}function S(_0x2c3e98){const _0x1c9de9=_0x39b2b4;return{'threadId':_0x2c3e98[_0x1c9de9(0x172)],'commentId':_0x2c3e98[_0x1c9de9(0x14a)],'content':_0x2c3e98[_0x1c9de9(0x196)],'createdAt':_0x2c3e98[_0x1c9de9(0x17e)],'authorId':_0x2c3e98[_0x1c9de9(0x134)],'attributes':_0x2c3e98[_0x1c9de9(0x180)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x549a(){const _0x2fc383=['once','change:state','4852360HDzPtN','7746992UeguvP','492KqzmcQ','plugins','_setUpService','switchReadOnly','config','get','isPremiumPlugin','67922dXorIQ','pluginName','35798ILSpae','Comments','init','ready','RealTimeCollaborativeComments','CommentsEditing','CommentsRepository','requires','18110232jtPhlV','3091053pzeAkV','listenTo','connected','data','isThreadsLoadingPaused','_terminateService','14RumtXE','collaboration.channelId','destroy','2312985ViffKb','isOfficialPlugin','editor'];_0x549a=function(){return _0x2fc383;};return _0x549a();}const _0x517f16=_0x5236;(function(_0xd801cd,_0x118cd8){const _0x18e55e=_0x5236,_0x46b0eb=_0xd801cd();while(!![]){try{const _0x5df522=-parseInt(_0x18e55e(0x6d))/0x1*(-parseInt(_0x18e55e(0x7e))/0x2)+parseInt(_0x18e55e(0x67))/0x3+parseInt(_0x18e55e(0x75))/0x4+parseInt(_0x18e55e(0x70))/0x5+parseInt(_0x18e55e(0x77))/0x6*(parseInt(_0x18e55e(0x80))/0x7)+-parseInt(_0x18e55e(0x76))/0x8+-parseInt(_0x18e55e(0x66))/0x9;if(_0x5df522===_0x118cd8)break;else _0x46b0eb['push'](_0x46b0eb['shift']());}catch(_0x4eb730){_0x46b0eb['push'](_0x46b0eb['shift']());}}}(_0x549a,0x976ba));import{Plugin as _0x47539a}from'ckeditor5/src/core.js';function _0x5236(_0x22c2f5,_0x462bc1){const _0x549adf=_0x549a();return _0x5236=function(_0x523662,_0x44b2e5){_0x523662=_0x523662-0x65;let _0x47e61b=_0x549adf[_0x523662];return _0x47e61b;},_0x5236(_0x22c2f5,_0x462bc1);}import _0x866e22 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x4b142c from'./realtimecollaborativeediting.js';import _0x1ba85b from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x47539a{static get[_0x517f16(0x65)](){const _0x5207b8=_0x517f16;return[_0x5207b8(0x81),_0x866e22,_0x4b142c,_0x1ba85b];}static get[_0x517f16(0x7f)](){const _0x506752=_0x517f16;return _0x506752(0x84);}static get[_0x517f16(0x71)](){return!0x0;}static get[_0x517f16(0x7d)](){return!0x0;}[_0x517f16(0x82)](){const _0x1a7ef6=_0x517f16,_0x446a48=this[_0x1a7ef6(0x72)][_0x1a7ef6(0x78)][_0x1a7ef6(0x7c)](_0x1ba85b),_0xef296e=this[_0x1a7ef6(0x72)][_0x1a7ef6(0x78)][_0x1a7ef6(0x7c)](_0x1a7ef6(0x85)),_0x40854b=this[_0x1a7ef6(0x72)][_0x1a7ef6(0x78)][_0x1a7ef6(0x7c)](_0x866e22);return this[_0x1a7ef6(0x72)][_0x1a7ef6(0x6a)][_0x1a7ef6(0x73)](_0x1a7ef6(0x83),()=>{const _0x2b21cb=_0x1a7ef6;this[_0x2b21cb(0x68)](_0x446a48,_0x2b21cb(0x74),(_0x5ae8b8,_0x1833e5,_0x4b6ed4)=>{const _0x55ac30=_0x2b21cb;_0xef296e[_0x55ac30(0x6b)]=_0x55ac30(0x69)!==_0x4b6ed4;});}),this[_0x1a7ef6(0x68)](_0x446a48,_0x1a7ef6(0x74),(_0x49df13,_0x38b734,_0x3a7eee)=>{const _0x186998=_0x1a7ef6;this[_0x186998(0x72)][_0x186998(0x78)][_0x186998(0x7c)](_0x186998(0x86))[_0x186998(0x7a)](_0x186998(0x69)!==_0x3a7eee);}),_0x40854b[_0x1a7ef6(0x79)](this[_0x1a7ef6(0x72)][_0x1a7ef6(0x7b)][_0x1a7ef6(0x7c)](_0x1a7ef6(0x6e)));}[_0x517f16(0x6f)](){const _0xe7a832=_0x517f16;this[_0xe7a832(0x72)][_0xe7a832(0x78)][_0xe7a832(0x7c)](_0x866e22)[_0xe7a832(0x6c)](this[_0xe7a832(0x72)][_0xe7a832(0x7b)][_0xe7a832(0x7c)](_0xe7a832(0x6e))),super[_0xe7a832(0x6f)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x378f5a=_0x6828;(function(_0x355d46,_0x4f736b){const _0x333ef4=_0x6828,_0x121046=_0x355d46();while(!![]){try{const _0x282ff6=-parseInt(_0x333ef4(0x122))/0x1+parseInt(_0x333ef4(0x19f))/0x2*(-parseInt(_0x333ef4(0x13b))/0x3)+parseInt(_0x333ef4(0x110))/0x4+parseInt(_0x333ef4(0x130))/0x5+parseInt(_0x333ef4(0xa2))/0x6*(-parseInt(_0x333ef4(0xb9))/0x7)+parseInt(_0x333ef4(0x102))/0x8*(-parseInt(_0x333ef4(0x19b))/0x9)+parseInt(_0x333ef4(0x14b))/0xa*(parseInt(_0x333ef4(0x115))/0xb);if(_0x282ff6===_0x4f736b)break;else _0x121046['push'](_0x121046['shift']());}catch(_0x5db2ab){_0x121046['push'](_0x121046['shift']());}}}(_0xafb3,0xcd775));import{Plugin as _0x27b845,PendingActions as _0x3b4726}from'ckeditor5/src/core.js';import{CKEditorError as _0x296ea4,version as _0x161b50,uid as _0x2c9f50}from'ckeditor5/src/utils.js';import{Notification as _0x24e0ba}from'ckeditor5/src/ui.js';import{transformSets as _0x3309f4,NoOperation as _0x997f48,InsertOperation as _0x50e7ce,MarkerOperation as _0xc14592,RootAttributeOperation as _0x4a449a,OperationFactory as _0x37ea3e,History as _0x409c42}from'ckeditor5/src/engine.js';import _0x35d722 from'./websocketgateway.js';import _0x173736 from'./sessions.js';function _0xafb3(){const _0x1fb36b=['selection','position','_updateServerHistory','_sendBufferedOperationsDelayed','markers','userId','_operationIdentifier','wasUndone','isPremiumPlugin','_refreshUserSelectionMarkers','unregister','bind','_handleReconnectionError','map','_lastServerVersion','addToReconnectionStack','stop','model','offset','baseVersion','get','wereChangesApplied','_saveOperationInBuffer','listenTo','_lastSyncedOperationId','rootsAttributes','realtimecollaborationclient-sendbufferedoperations','type','realtimecollaborationclient-init-connection-failed','real-time-collaboration','getOperationAuthor','slice','_fetchMissingUsers','isUndoneOperation','define','_authorId','getConnectedSessions','_addKnownRoot','size','createUserMarkerOperations','register','56vbBbAa','initData','$root','Synchronization\x20issue','lastOperationId','currentDocumentSession','collaboration','editing','history','includes','requires','getIdOfTheLastOperation','enqueueChange','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','6573240YqjZzX','_handleServerResponse','connected','view','affectedSelectable','10101311mUhxAJ','reconnect','getDocumentDetails','has','sendOperations','change:_isEditingAllowed','fromJSON','differ','disableReadOnlyMode','keys','_isAttached','_setUpDataInit','code','1601294mOPHFX','clone','_offset','add','then','_isConnected','set','cloudDocumentVersion','_handleReconnectionResponse','channelSessions','createPositionAt','return','root','realtimecollaborationclient-init-document-already-initialized','765570uWxyre','RealTimeCollaborationClient','stopListening','high','__className','disconnect','isDocumentOperation','lastSyncVersion','_bufferedOperations','realtimecollaborationclient-handleserverresponse','realtimecollaborationclient-init-non-existent-root','4638hyAmpE','isEnabled','getOperations','_handleInitialConnectionData','createPositionFromPath','_baseBufferDelay','realtimecollaborationclient-error','ready','init','insert','_knownRootNames','message','409','_knownOperations','locale','createRange','50xNbXth','_applyOperationsSet','_decompressOperations','sessionCreatedAt','rtc-offline','remove','_isDisconnection','_ignoredOperations','Notification','_handleSendingSelectionMarkers','_isInit','serverHistory','_setPendingAction','round','data','cs:removeUser','apply','document:write','destroy','_disconnectService','disconnected','CommentsOnly','realtimecollaborationclient','InsertOperation','_shouldSendSelectionUpdate','createdAt','addOperation','connect','_hasSynchronizationProblem','connection','change:_isPendingUpdate','_operationToId','metadata','_sendBufferedOperations','_compressor','PENDING_ACTION_SENDING_DATA','parse','addUser','rtc-destroyed','startsWith','addRootAttribute','_initSessionsHandling','_connectAfterSessionHasBeenFlushed','pluginName','change:range','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','reconnection:\x20flushed\x20session','_getAffectedRoot','filter','_currentBufferDelay','Permissions','cloud-services-internal-error:\x20Not\x20connected.','404','newRange','_handleExternalOperations','setPermissions','realtimecollaborationclient-init-service-internal-error','enableReadOnlyMode','config','move','getMany','_crash','fire','operationsReceived','addRoot','setIdForTheLastOperation','lastOperationAcceptedAt','_isEditingAllowed','_getOperationsFromInitData','mySessionId','state','_loadRoot','_sendBufferedOperationsDelayId','sessionAdd:','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','cloud-services-internal-error:\x20Request\x20timeout.','isOfficialPlugin','multi-root-editor-root-attributes-no-root','directChange','isReadOnly','1444365TBHesc','roots','collaboration.channelId','_isPendingUpdate','1654buheFF','_hasSelectionChanged','_initThrowingOnDataSet','push','version','_clearPendingAction','showWarning','_compressOperations','start','targetPosition','2082pnTuxC','forEach','getRoot','getUser','compress','end','affectsData','sessionId','string','cloudServices.bundleVersion','collaboration-missing-channelid','rootName','reset','from','batch','realtimecollaborationclient-init-service-incorrect-server-operation','decompress','toJSON','_shouldSendUpdate','_pendingAction','_service','off','path','31129cLpRHd','catch','entries','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.','_waitUntilSynced','suppressErrorInCollaboration','_disconnectionOperations','_bufferRootLoad','_handleReceivedOperations','length','plugins','marker','_connectService','CollaborativeEditingService','applyOperation','document','_channelId','change:hasDomSelection','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','editor','createRoot','removeFromReconnectionStack','_isLoaded','_document','loadRoot','lastDocumentSession','permissions','error','realtimecollaborationclient-init-session-connection-error','finally','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.','attributes'];_0xafb3=function(){return _0x1fb36b;};return _0xafb3();}import _0x566534 from'./usermarkers.js';import{getTranslation as _0x5bd81a}from'../common-translations.js';import{Compressor as _0x112e68}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x90dc56}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x33890c,CollaborativeEditingService as _0x18e899}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;function _0x6828(_0x27eef7,_0xe4dc81){const _0xafb32e=_0xafb3();return _0x6828=function(_0x6828a3,_0xc96531){_0x6828a3=_0x6828a3-0xa0;let _0x42c1cf=_0xafb32e[_0x6828a3];return _0x42c1cf;},_0x6828(_0x27eef7,_0xe4dc81);}class l extends _0x27b845{static get[_0x378f5a(0x10c)](){return[_0x35d722,_0x173736,_0x566534,_0x3b4726,_0x90dc56,_0x24e0ba];}static get[_0x378f5a(0x176)](){const _0x525fc0=_0x378f5a;return _0x525fc0(0x131);}static get[_0x378f5a(0x197)](){return!0x0;}static get[_0x378f5a(0xe1)](){return!0x0;}get[_0x378f5a(0x129)](){const _0x42a0da=_0x378f5a;return this[_0x42a0da(0xe7)]+this[_0x42a0da(0x124)];}get[_0x378f5a(0xe7)](){const _0x1324cd=_0x378f5a;return this[_0x1324cd(0x156)][_0x1324cd(0x1a3)]-this[_0x1324cd(0x124)];}get[_0x378f5a(0x137)](){const _0x6e1264=_0x378f5a,_0x3797f1=this[_0x6e1264(0x156)][_0x6e1264(0x13d)]();for(let _0x3bb231=_0x3797f1[_0x6e1264(0xc2)]-0x1;_0x3bb231>=0x0;_0x3bb231--){const _0x199061=_0x3797f1[_0x3bb231];if(!this[_0x6e1264(0xbf)][_0x6e1264(0x118)](_0x199061))return _0x199061[_0x6e1264(0xec)]+0x1-this[_0x6e1264(0x124)];}return 0x0;}constructor(_0x1de2b7){const _0x42e3ca=_0x378f5a;if(super(_0x1de2b7),this[_0x42e3ca(0x124)]=0x0,this[_0x42e3ca(0xa9)]=null,this[_0x42e3ca(0x156)]=new _0x409c42(),this[_0x42e3ca(0xcc)][_0x42e3ca(0x185)][_0x42e3ca(0xfb)](_0x42e3ca(0x108),{}),this[_0x42e3ca(0xc9)]=this[_0x42e3ca(0xcc)][_0x42e3ca(0x185)][_0x42e3ca(0xed)](_0x42e3ca(0x19d)),!this[_0x42e3ca(0xc9)])throw new _0x296ea4(_0x42e3ca(0xac),this);const _0x215c36=_0x1de2b7[_0x42e3ca(0x185)][_0x42e3ca(0xed)](_0x42e3ca(0xab))||_0x161b50;this[_0x42e3ca(0xb6)]=new l[(_0x42e3ca(0xc6))](_0x215c36,this[_0x42e3ca(0xc9)]),this[_0x42e3ca(0xd0)]=this[_0x42e3ca(0xcc)][_0x42e3ca(0xea)][_0x42e3ca(0xc8)],this[_0x42e3ca(0x16d)]=new _0x112e68(),this[_0x42e3ca(0x138)]=[],this[_0x42e3ca(0x148)]=new WeakSet(),this[_0x42e3ca(0x145)]=new Set(),this[_0x42e3ca(0x128)](_0x42e3ca(0x19e),!0x1),this[_0x42e3ca(0x128)](_0x42e3ca(0x167),!0x1),this[_0x42e3ca(0xb5)]=null,this[_0x42e3ca(0x1a0)]=!0x1,this[_0x42e3ca(0x193)]=null,this[_0x42e3ca(0x140)]=0x12c,this[_0x42e3ca(0x17c)]=this[_0x42e3ca(0x140)],this[_0x42e3ca(0xf1)]=null,this[_0x42e3ca(0xbf)]=new WeakSet(),this[_0x42e3ca(0xdf)]=new X(this[_0x42e3ca(0xbf)]);}[_0x378f5a(0x143)](){const _0x19d937=_0x378f5a,_0x493a54=this[_0x19d937(0xcc)],_0x44cd9a=_0x493a54[_0x19d937(0xc3)][_0x19d937(0xed)](_0x90dc56),_0x1dc94f=_0x493a54[_0x19d937(0xc3)][_0x19d937(0xed)](_0x35d722);this[_0x19d937(0xf0)](_0x44cd9a,_0x19d937(0xf7),(_0x2a7fa0,_0x2ffcfd)=>{const _0x4bf53d=_0x19d937,_0x5e2f04=_0x2ffcfd[0x0];_0x5e2f04[_0x4bf53d(0xfc)]&&(_0x2a7fa0[_0x4bf53d(0x12d)]=_0x44cd9a[_0x4bf53d(0xa5)](_0x5e2f04[_0x4bf53d(0xfc)]),_0x2a7fa0[_0x4bf53d(0xe9)]()),null===_0x5e2f04[_0x4bf53d(0xfc)]&&(_0x2a7fa0[_0x4bf53d(0x12d)]=null,_0x2a7fa0[_0x4bf53d(0xe9)]());},{'priority':_0x19d937(0x133)}),this[_0x19d937(0xf0)](_0x493a54[_0x19d937(0xea)][_0x19d937(0xc8)][_0x19d937(0xd9)],_0x19d937(0x177),(_0x5c0122,_0x12399c)=>{const _0x105a6e=_0x19d937;_0x12399c[_0x105a6e(0x199)]&&this[_0x105a6e(0xe2)]();}),this[_0x19d937(0xf0)](_0x493a54[_0x19d937(0x109)][_0x19d937(0x113)],_0x19d937(0xca),()=>{const _0x3e32ba=_0x19d937;this[_0x3e32ba(0xe2)]();}),this[_0x19d937(0x1a1)](),_0x493a54[_0x19d937(0xea)]['on'](_0x19d937(0xc7),(_0x1f4eaa,_0x44ede4)=>{const _0x4acc6c=_0x19d937,_0x1adcd5=_0x44ede4[0x0];_0x1adcd5[_0x4acc6c(0x136)]&&(this[_0x4acc6c(0xef)](_0x1adcd5),this[_0x4acc6c(0xb4)]()&&this[_0x4acc6c(0xdc)]());}),this[_0x19d937(0x120)](),this[_0x19d937(0xe4)](_0x19d937(0x18e))['to'](_0x1dc94f,_0x19d937(0x191),this,_0x19d937(0x167),(_0x37c26e,_0x1fd236)=>_0x19d937(0x112)===_0x37c26e&&!_0x1fd236),this['on'](_0x19d937(0x11a),()=>{const _0x129b91=_0x19d937;this[_0x129b91(0x18e)]?_0x493a54[_0x129b91(0x11d)](_0x129b91(0x14f)):_0x493a54[_0x129b91(0x184)](_0x129b91(0x14f));}),this[_0x19d937(0x18e)]?_0x493a54[_0x19d937(0x11d)](_0x19d937(0x14f)):_0x493a54[_0x19d937(0x184)](_0x19d937(0x14f)),this[_0x19d937(0x128)](_0x19d937(0x127),!0x1);}async[_0x378f5a(0x116)](){const _0xe46d00=_0x378f5a,_0x480c9f=this[_0xe46d00(0xcc)][_0xe46d00(0xc3)][_0xe46d00(0xed)](_0x173736),_0x130e61=this[_0xe46d00(0xcc)][_0xe46d00(0xc3)][_0xe46d00(0xed)](_0x35d722);try{this[_0xe46d00(0x19e)]=!0x0,_0x480c9f[_0xe46d00(0xe3)](this[_0xe46d00(0xc9)]);const _0x12b7c0=await this[_0xe46d00(0xb6)][_0xe46d00(0x116)](_0x130e61[_0xe46d00(0x168)],this[_0xe46d00(0x137)]);await this[_0xe46d00(0x12a)](_0x12b7c0)&&(this[_0xe46d00(0x19e)]=!0x1,this[_0xe46d00(0x1a4)]());const _0x31d355=await this[_0xe46d00(0xb6)][_0xe46d00(0xfd)]();_0x480c9f[_0xe46d00(0x101)](this[_0xe46d00(0xc9)],_0x31d355),this[_0xe46d00(0x154)](),this[_0xe46d00(0x127)]=!0x0;}catch(_0x5aea64){if(function(_0x13be20){const _0x382510=_0xe46d00;return _0x382510(0x17f)===_0x13be20[_0x382510(0x121)];}(_0x5aea64)&&this[_0xe46d00(0xa9)])await this[_0xe46d00(0x175)]();else{if(function(_0x2cfcf7){const _0x7de360=_0xe46d00;return _0x7de360(0x147)===_0x2cfcf7[_0x7de360(0x121)];}(_0x5aea64)){const _0x1cfb1d=_0x5bd81a(this[_0xe46d00(0xcc)][_0xe46d00(0x149)],_0xe46d00(0x10f));this[_0xe46d00(0xe5)](_0x1cfb1d);}else{if(!(_0x5aea64 instanceof J))throw _0x5aea64;this[_0xe46d00(0xe5)]();}}}}[_0x378f5a(0x15d)](){const _0x5f2637=_0x378f5a,_0x3bef39=this[_0x5f2637(0xcc)][_0x5f2637(0xc3)][_0x5f2637(0xed)](_0x35d722),_0x3c2d83=this[_0x5f2637(0xcc)][_0x5f2637(0xc3)][_0x5f2637(0xed)](_0x173736);this[_0x5f2637(0xcc)][_0x5f2637(0x184)](_0x5f2637(0x171)),_0x3c2d83[_0x5f2637(0x12b)][_0x5f2637(0x118)](this[_0x5f2637(0xc9)])&&_0x3c2d83[_0x5f2637(0xe3)](this[_0x5f2637(0xc9)]),_0x3bef39[_0x5f2637(0xce)](this),this[_0x5f2637(0x15e)](),super[_0x5f2637(0x15d)]();}async[_0x378f5a(0x12a)](_0x51fab7){const _0x42fbda=_0x378f5a;if(this[_0x42fbda(0xa9)]!==_0x51fab7[_0x42fbda(0xa9)]&&this[_0x42fbda(0xf1)]!==_0x51fab7[_0x42fbda(0x106)])throw new J();return this[_0x42fbda(0xa9)]=_0x51fab7[_0x42fbda(0xa9)],this[_0x42fbda(0x111)]([],{..._0x51fab7,'wereChangesApplied':!0x1,'data':_0x51fab7[_0x42fbda(0x159)]},_0x42fbda(0x116));}async[_0x378f5a(0xc5)](_0x7bd336,_0x56cee0=!0x1){const _0x7a5cf3=_0x378f5a,{connection:_0x1f18b8}=this[_0x7a5cf3(0xcc)][_0x7a5cf3(0xc3)][_0x7a5cf3(0xed)](_0x35d722);l[_0x7a5cf3(0xc6)][_0x7a5cf3(0xfd)](_0x1f18b8,this[_0x7a5cf3(0xc9)])[_0x7a5cf3(0x126)](_0x24e77b=>this[_0x7a5cf3(0x174)](_0x24e77b))[_0x7a5cf3(0xba)](_0x170cb1=>{const _0x33b780=_0x7a5cf3;this[_0x33b780(0x188)](_0x33b780(0xd5),_0x170cb1);}),this[_0x7a5cf3(0xf0)](this[_0x7a5cf3(0xb6)],_0x7a5cf3(0x18a),this[_0x7a5cf3(0xc1)][_0x7a5cf3(0xe4)](this)),this[_0x7a5cf3(0xf0)](this[_0x7a5cf3(0xb6)],_0x7a5cf3(0xd4),(_0xa09c46,_0xe334fb)=>{const _0x5a3c16=_0x7a5cf3;this[_0x5a3c16(0x188)](_0x5a3c16(0x183),_0xe334fb);}),this[_0x7a5cf3(0xf0)](this[_0x7a5cf3(0xb6)],_0x7a5cf3(0x15f),()=>{const _0xf5a8bb=_0x7a5cf3;this[_0xf5a8bb(0x127)]=!0x1;});const _0x264558=this[_0x7a5cf3(0xdf)][_0x7a5cf3(0x10d)](_0x7bd336);this[_0x7a5cf3(0x19e)]=!0x0;const _0x1738a5=await this[_0x7a5cf3(0xb6)][_0x7a5cf3(0x166)](_0x1f18b8,this[_0x7a5cf3(0x1a6)](_0x7bd336),_0x264558);if(this[_0x7a5cf3(0xa9)]=_0x1738a5[_0x7a5cf3(0xa9)],_0x56cee0){if(!_0x1738a5[_0x7a5cf3(0xee)])return void this[_0x7a5cf3(0xe5)]();this[_0x7a5cf3(0x19e)]=!0x1,this[_0x7a5cf3(0x1a4)](),this[_0x7a5cf3(0x156)][_0x7a5cf3(0xae)](),this[_0x7a5cf3(0x124)]=_0x1738a5[_0x7a5cf3(0xeb)],this[_0x7a5cf3(0x156)][_0x7a5cf3(0x1a3)]=this[_0x7a5cf3(0x124)],await this[_0x7a5cf3(0x111)](_0x7bd336,_0x1738a5,_0x7a5cf3(0x179));}else await this[_0x7a5cf3(0x13e)](_0x1738a5,_0x7bd336);this[_0x7a5cf3(0x154)](),this[_0x7a5cf3(0x127)]=!0x0;}[_0x378f5a(0x154)](){const _0x4e99a7=_0x378f5a,_0x219235=this[_0x4e99a7(0xcc)][_0x4e99a7(0xc3)][_0x4e99a7(0xed)](_0x173736),_0x33fda5=this[_0x4e99a7(0xcc)][_0x4e99a7(0xc3)][_0x4e99a7(0xed)](_0x566534),_0x39bda7=_0x219235[_0x4e99a7(0x12b)][_0x4e99a7(0xed)](this[_0x4e99a7(0xc9)]);_0x39bda7&&_0x39bda7[_0x4e99a7(0xc2)]>0x1?_0x33fda5[_0x4e99a7(0x100)]():this[_0x4e99a7(0xf0)](_0x219235,_0x4e99a7(0x194)+this[_0x4e99a7(0xc9)],()=>{const _0x178463=_0x4e99a7;0x2===_0x219235[_0x178463(0x12b)][_0x178463(0xed)](this[_0x178463(0xc9)])[_0x178463(0xc2)]&&_0x33fda5[_0x178463(0x100)]();});}async[_0x378f5a(0xc1)](_0x144df1,_0x25fcfd,_0x32b27d,_0x518117){const _0x1b42ad=_0x378f5a;if(!this[_0x1b42ad(0x19e)]&&this[_0x1b42ad(0xd0)][_0x1b42ad(0x1a3)]==_0x25fcfd){const _0x380745=this[_0x1b42ad(0x14d)](_0x32b27d,_0x518117);await this[_0x1b42ad(0xf9)](_0x380745),this[_0x1b42ad(0x181)](_0x380745,_0x25fcfd,_0x32b27d[_0x1b42ad(0x106)])||this[_0x1b42ad(0x188)](_0x1b42ad(0xb1));}}async[_0x378f5a(0x175)](){const _0xda5dad=_0x378f5a;this[_0xda5dad(0x15e)]();const {locale:_0x220031}=this[_0xda5dad(0xcc)];let _0x2ebab9;try{_0x2ebab9=await this[_0xda5dad(0xb6)][_0xda5dad(0x117)]();}catch(_0x40d1c8){const _0x4f6550=_0x5bd81a(_0x220031,_0xda5dad(0x195));return void this[_0xda5dad(0xe5)](_0x4f6550);}const _0x3a4208=_0x2ebab9[_0xda5dad(0x107)]||_0x2ebab9[_0xda5dad(0xd2)];if(this[_0xda5dad(0xf1)]===_0x3a4208[_0xda5dad(0x106)])await this[_0xda5dad(0xc5)](this[_0xda5dad(0xcc)][_0xda5dad(0xea)][_0xda5dad(0xc8)][_0xda5dad(0x10a)][_0xda5dad(0x13d)](),!0x0);else{const _0x2fd31f=_0x5bd81a(_0x220031,_0xda5dad(0xd7));this[_0xda5dad(0xe5)](_0x2fd31f);}}[_0x378f5a(0x15e)](){const _0x33ca9d=_0x378f5a;this[_0x33ca9d(0xb6)][_0x33ca9d(0x135)](),this[_0x33ca9d(0x138)]=[],clearTimeout(this[_0x33ca9d(0x193)]),this[_0x33ca9d(0x132)](this[_0x33ca9d(0xb6)]);}[_0x378f5a(0x174)](_0x184b1a){const _0x41abe6=_0x378f5a,_0x35ba42=this[_0x41abe6(0xcc)][_0x41abe6(0xc3)][_0x41abe6(0xed)](_0x173736);this[_0x41abe6(0xf0)](_0x35ba42,_0x41abe6(0x194)+this[_0x41abe6(0xc9)],(_0x31fe04,{session:_0x2e6e6e})=>{const _0x2d2acd=_0x41abe6;if(_0x2e6e6e['id']===_0x35ba42[_0x2d2acd(0x190)]){_0x31fe04[_0x2d2acd(0xb7)]();const _0x46f742=this[_0x2d2acd(0xcc)][_0x2d2acd(0xc3)][_0x2d2acd(0x118)](_0x2d2acd(0x160))&&this[_0x2d2acd(0xcc)][_0x2d2acd(0xc3)][_0x2d2acd(0xed)](_0x2d2acd(0x160));let _0x334671=_0x2e6e6e[_0x2d2acd(0xd3)];_0x46f742&&_0x46f742[_0x2d2acd(0x13c)]&&(_0x334671=_0x334671[_0x2d2acd(0x17b)](_0x234d02=>_0x2d2acd(0x15c)!==_0x234d02)),this[_0x2d2acd(0xcc)][_0x2d2acd(0xc3)][_0x2d2acd(0xed)](_0x2d2acd(0x17d))[_0x2d2acd(0x182)](_0x334671,this[_0x2d2acd(0xc9)]);}}),_0x35ba42[_0x41abe6(0x101)](this[_0x41abe6(0xc9)],_0x184b1a);}[_0x378f5a(0x1a1)](){const _0x5eb415=_0x378f5a,_0x1bb7f9=this[_0x5eb415(0xcc)][_0x5eb415(0x159)][_0x5eb415(0x128)];this[_0x5eb415(0xcc)][_0x5eb415(0x159)][_0x5eb415(0x128)]=(..._0x44af13)=>{const _0x1cf0b1=_0x5eb415;if(!_0x44af13[_0x44af13[_0x1cf0b1(0xc2)]-0x1][_0x1cf0b1(0xbe)])throw new _0x296ea4(_0x1cf0b1(0xcb),this);_0x1bb7f9[_0x1cf0b1(0x15b)](this[_0x1cf0b1(0xcc)][_0x1cf0b1(0x159)],_0x44af13);};}[_0x378f5a(0x120)](){const _0x360bbb=_0x378f5a;this[_0x360bbb(0xcc)][_0x360bbb(0x159)]['on'](_0x360bbb(0x143),(_0x43aa73,[_0x28d700])=>{const _0x73941d=_0x360bbb;if(this[_0x73941d(0xd0)][_0x73941d(0x1a3)])throw new _0x296ea4(_0x73941d(0x12f),this);_0x43aa73[_0x73941d(0xe9)](),this[_0x73941d(0x157)]();const _0x3617a8=this[_0x73941d(0xcc)][_0x73941d(0x185)][_0x73941d(0xed)](_0x73941d(0xf2)),_0x3ed469=this[_0x73941d(0x18f)](_0x28d700,_0x3617a8);0x0==_0x3ed469[_0x73941d(0xc2)]&&_0x3ed469[_0x73941d(0x1a2)](new _0x997f48(0x0)),_0x43aa73[_0x73941d(0x12d)]=this[_0x73941d(0xc5)](_0x3ed469)[_0x73941d(0x126)](()=>{const _0x39a0be=_0x73941d;this[_0x39a0be(0xcc)][_0x39a0be(0xc3)][_0x39a0be(0xed)](_0x35d722)[_0x39a0be(0xe8)](this),this[_0x39a0be(0xcc)][_0x39a0be(0x159)][_0x39a0be(0x189)](_0x39a0be(0x142));})[_0x73941d(0xba)](_0x5e955c=>this[_0x73941d(0x188)](_0x73941d(0xf5),_0x5e955c))[_0x73941d(0xd6)](()=>this[_0x73941d(0x1a4)]());},{'priority':_0x360bbb(0x133)}),this[_0x360bbb(0xcc)]['on'](_0x360bbb(0xd1),async(_0xcc9194,[_0x2d4299,_0x5c4ff7])=>{const _0x546bac=_0x360bbb;_0xcc9194[_0x546bac(0xe9)]();const _0x220b64=this[_0x546bac(0xcc)][_0x546bac(0xea)][_0x546bac(0xc8)][_0x546bac(0xa4)](_0x2d4299);if(!this[_0x546bac(0x145)][_0x546bac(0x118)](_0x2d4299)){const _0x52074a=_0x5c4ff7&&_0x5c4ff7[_0x546bac(0x159)]?_0x5c4ff7[_0x546bac(0x159)]:'',_0x19be1a=_0x5c4ff7&&_0x5c4ff7[_0x546bac(0xd8)]?_0x5c4ff7[_0x546bac(0xd8)]:{};await this[_0x546bac(0x192)](_0x2d4299,_0x52074a,_0x19be1a);}this[_0x546bac(0xcc)][_0x546bac(0xea)][_0x546bac(0x10e)]({'isUndoable':!0x1},()=>{const _0x35efee=_0x546bac;_0x220b64[_0x35efee(0xcf)]=!0x0,this[_0x35efee(0xcc)][_0x35efee(0xea)][_0x35efee(0xc8)][_0x35efee(0x11c)][_0x35efee(0xc0)](_0x220b64);});},{'priority':_0x360bbb(0x133)});}async[_0x378f5a(0xf9)](_0x1efd06){const _0xa59197=_0x378f5a,_0x28522d=this[_0xa59197(0xcc)][_0xa59197(0xc3)][_0xa59197(0xed)](_0x90dc56),{connection:_0x2b8251}=this[_0xa59197(0xcc)][_0xa59197(0xc3)][_0xa59197(0xed)](_0x35d722),_0xed5d84=new Set();for(const _0x3eea2a of _0x1efd06){const _0x34ab0e=_0x3eea2a[_0xa59197(0xfc)];_0x34ab0e&&!_0x28522d[_0xa59197(0xa5)](_0x34ab0e)&&_0xed5d84[_0xa59197(0x125)](_0x34ab0e);}if(0x0===_0xed5d84[_0xa59197(0xff)])return;const _0x18d025=await _0x33890c[_0xa59197(0x187)](_0x2b8251,Array[_0xa59197(0xaf)](_0xed5d84));for(const _0x3550ea of _0x18d025)_0x28522d[_0xa59197(0xa5)](_0x3550ea['id'])||_0x28522d[_0xa59197(0x170)](_0x3550ea);}[_0x378f5a(0x18f)](_0x487a66,_0x4c7b58={}){const _0x34986a=_0x378f5a,_0x30592f=this[_0x34986a(0xcc)][_0x34986a(0xea)],_0x37fe9b=[];let _0x406f95=0x0;const _0x8f4311=_0x34986a(0xaa)==typeof _0x487a66?{'main':_0x487a66}:_0x487a66;for(const _0xf30cc5 of Object[_0x34986a(0x11e)](_0x8f4311)){if(!this[_0x34986a(0xd0)][_0x34986a(0x19c)][_0x34986a(0x118)](_0xf30cc5))throw new _0x296ea4(_0x34986a(0x13a),this);const _0x5c9d73=this[_0x34986a(0xcc)][_0x34986a(0x159)][_0x34986a(0x16f)](_0x8f4311[_0xf30cc5]),_0x371acc=this[_0x34986a(0xd0)][_0x34986a(0xa4)](_0xf30cc5),_0x41823d=new _0x50e7ce(_0x30592f[_0x34986a(0x12c)](_0x371acc,0x0),_0x5c9d73,_0x406f95++);_0x37fe9b[_0x34986a(0x1a2)](_0x41823d);for(const [_0x95f7eb,_0x10d0ce]of _0x5c9d73[_0x34986a(0xdd)]){const _0x349487=_0x30592f[_0x34986a(0x14a)](_0x30592f[_0x34986a(0x13f)](_0x371acc,_0x10d0ce[_0x34986a(0xa0)][_0x34986a(0xb8)][_0x34986a(0xf8)]()),_0x30592f[_0x34986a(0x13f)](_0x371acc,_0x10d0ce[_0x34986a(0xa7)][_0x34986a(0xb8)][_0x34986a(0xf8)]())),_0x55bcba=new _0xc14592(_0x95f7eb,null,_0x349487,_0x30592f[_0x34986a(0xdd)],!0x0,_0x406f95++);_0x37fe9b[_0x34986a(0x1a2)](_0x55bcba);}}if(_0x4c7b58)for(const [_0x58adb0,_0x52654e]of Object[_0x34986a(0xbb)](_0x4c7b58)){const _0x4a7ab3=_0x30592f[_0x34986a(0xc8)][_0x34986a(0xa4)](_0x58adb0);if(!_0x4a7ab3)throw new _0x296ea4(_0x34986a(0x198),null);for(const [_0x4e5c09,_0x299003]of Object[_0x34986a(0xbb)](_0x52654e))if(null!==_0x299003){const _0x468040=new _0x4a449a(_0x4a7ab3,_0x4e5c09,null,_0x299003,_0x406f95++);_0x37fe9b[_0x34986a(0x1a2)](_0x468040);}}return _0x37fe9b;}async[_0x378f5a(0x192)](_0x5b0689,_0x119cc3,_0xa4107e){const _0x17f949=_0x378f5a;this[_0x17f949(0x18f)]({[_0x5b0689]:_0x119cc3},{[_0x5b0689]:_0xa4107e})[_0x17f949(0xa3)]((_0x39f594,_0xa019bb)=>{const _0x34f02c=_0x17f949;_0x39f594[_0x34f02c(0xec)]=this[_0x34f02c(0xd0)][_0x34f02c(0x1a3)]+_0xa019bb,_0x39f594[_0x34f02c(0x155)]=!0x0,this[_0x34f02c(0xef)](_0x39f594);}),this[_0x17f949(0xdc)](),await this[_0x17f949(0xbd)]();}async[_0x378f5a(0x13e)](_0x5cadb7,_0x3397de){const _0x349e41=_0x378f5a;let _0x2ec99f;this[_0x349e41(0x124)]=_0x5cadb7[_0x349e41(0xeb)];const _0x34cd27=_0x5cadb7[_0x349e41(0xee)]&&!_0x5cadb7[_0x349e41(0x103)],_0x8e2437=_0x34cd27?0x0:_0x5cadb7[_0x349e41(0x159)][_0x349e41(0xec)];if(_0x3397de[_0x349e41(0xa3)](_0x5d187c=>{const _0x4ee54d=_0x349e41;_0x5d187c[_0x4ee54d(0x155)]=!0x0,_0x5d187c[_0x4ee54d(0x164)]=_0x5cadb7[_0x4ee54d(0x14e)],_0x5d187c[_0x4ee54d(0xfc)]=null;}),_0x34cd27)_0x2ec99f=_0x3397de,this[_0x349e41(0x14c)](_0x2ec99f,_0x34cd27);else{if(_0x5cadb7[_0x349e41(0x103)]){const _0x27b59c=this[_0x349e41(0x18f)](_0x5cadb7[_0x349e41(0x103)]);this[_0x349e41(0xd0)][_0x349e41(0x10a)][_0x349e41(0x1a3)]=-_0x27b59c[_0x349e41(0xc2)],_0x27b59c[_0x349e41(0xa3)](_0x5d50f0=>{const _0x354182=_0x349e41;_0x5d50f0[_0x354182(0xec)]-=_0x27b59c[_0x354182(0xc2)],_0x5d50f0[_0x354182(0x164)]=_0x5cadb7[_0x354182(0x14e)],_0x5d50f0[_0x354182(0x155)]=!0x0,_0x5d50f0[_0x354182(0xfc)]=null;}),this[_0x349e41(0x14c)](_0x27b59c,!0x0),this[_0x349e41(0x156)][_0x349e41(0x1a3)]=-_0x27b59c[_0x349e41(0xc2)]+this[_0x349e41(0x124)],this[_0x349e41(0xdb)](_0x27b59c);}this[_0x349e41(0xd0)][_0x349e41(0x10a)][_0x349e41(0x1a3)]=_0x8e2437,_0x2ec99f=this[_0x349e41(0x14d)](_0x5cadb7[_0x349e41(0x159)],_0x5cadb7[_0x349e41(0x16b)]),await this[_0x349e41(0xf9)](_0x2ec99f),this[_0x349e41(0x14c)](_0x2ec99f,_0x34cd27);}_0x5cadb7[_0x349e41(0x106)]&&(this[_0x349e41(0xdf)][_0x349e41(0x18c)](_0x2ec99f,_0x5cadb7[_0x349e41(0x106)]),this[_0x349e41(0xf1)]=_0x5cadb7[_0x349e41(0x106)]),this[_0x349e41(0x156)][_0x349e41(0x1a3)]=_0x8e2437+this[_0x349e41(0x124)],this[_0x349e41(0xdb)](_0x2ec99f),_0x3397de[_0x349e41(0x17b)](_0x45d4e8=>{const _0x107766=_0x349e41,_0x27aabd=this[_0x107766(0x17a)](_0x45d4e8);return _0x27aabd&&!this[_0x107766(0x145)][_0x107766(0x118)](_0x27aabd);})[_0x349e41(0xa3)]((_0x20fc10,_0x55c617)=>{const _0x3bd7e0=_0x349e41;_0x20fc10[_0x3bd7e0(0xec)]=this[_0x3bd7e0(0xd0)][_0x3bd7e0(0x1a3)]+_0x55c617,this[_0x3bd7e0(0xef)](_0x20fc10);}),this[_0x349e41(0xb4)]()?(this[_0x349e41(0x17c)]=0x0,this[_0x349e41(0xdc)](!0x0),await this[_0x349e41(0xbd)]()):(this[_0x349e41(0x19e)]=!0x1,this[_0x349e41(0x1a4)]());}[_0x378f5a(0x188)](_0x2c554a,_0xc12560){const _0x15987b=_0x378f5a,_0x1c8c6a=_0xc12560&&_0xc12560[_0x15987b(0x146)];if(_0x1c8c6a&&_0x1c8c6a[_0x15987b(0x172)](_0x15987b(0x161)))throw _0xc12560;const _0x3fa2b6=this[_0x15987b(0xcc)][_0x15987b(0xc3)][_0x15987b(0xed)](_0x35d722);throw this[_0x15987b(0x19e)]=!0x0,_0x3fa2b6[_0x15987b(0x135)](),this[_0x15987b(0xcc)][_0x15987b(0x184)](_0x15987b(0x141)),new _0x296ea4(_0x2c554a,this[_0x15987b(0xcc)],_0x1c8c6a?{'originalError':_0x1c8c6a}:void 0x0);}[_0x378f5a(0xef)](_0x2af0de){const _0x4c39f1=_0x378f5a;this[_0x4c39f1(0x148)][_0x4c39f1(0x118)](_0x2af0de)||(this[_0x4c39f1(0x148)][_0x4c39f1(0x125)](_0x2af0de),this[_0x4c39f1(0x138)][_0x4c39f1(0x1a2)](_0x2af0de),this[_0x4c39f1(0xb5)]||_0x4c39f1(0xc4)==_0x2af0de[_0x4c39f1(0xf4)]&&!_0x2af0de[_0x4c39f1(0xa8)]||this[_0x4c39f1(0x157)]());}[_0x378f5a(0xdc)](_0x59c0b9=!0x1){const _0x5cde2c=_0x378f5a;!_0x59c0b9&&this[_0x5cde2c(0x19e)]||(this[_0x5cde2c(0x19e)]=!0x0,clearTimeout(this[_0x5cde2c(0x193)]),this[_0x5cde2c(0x193)]=setTimeout(()=>{const _0x699110=_0x5cde2c;this[_0x699110(0x16c)]()[_0x699110(0x126)](_0x3094a3=>{const _0x5d4a35=_0x699110;_0x3094a3&&(this[_0x5d4a35(0x1a4)](),this[_0x5d4a35(0x19e)]=!0x1);})[_0x699110(0xba)](_0x5dc750=>{const _0x2ce9ff=_0x699110;this[_0x2ce9ff(0x1a4)](),this[_0x2ce9ff(0x19e)]=!0x1,function(_0x10fab8){const _0xe488ea=_0x2ce9ff;return _0x10fab8[_0xe488ea(0x146)][_0xe488ea(0x172)](_0xe488ea(0x17e))||_0x10fab8[_0xe488ea(0x146)][_0xe488ea(0x172)](_0xe488ea(0x178))||_0x10fab8[_0xe488ea(0x146)][_0xe488ea(0x172)](_0xe488ea(0x196));}(_0x5dc750)||this[_0x2ce9ff(0x188)](_0x5dc750[_0x2ce9ff(0x146)],_0x5dc750);});},this[_0x5cde2c(0x17c)]));}[_0x378f5a(0xbd)](){return new Promise(_0x52b038=>{const _0x9cd173=_0x6828;this['on'](_0x9cd173(0x169),()=>{_0x52b038();});});}async[_0x378f5a(0x16c)](){const _0x54b832=_0x378f5a,_0x499432=this[_0x54b832(0xcc)][_0x54b832(0xc3)][_0x54b832(0xed)](_0x566534);if(this[_0x54b832(0x163)]()&&(_0x499432[_0x54b832(0x100)](),this[_0x54b832(0x1a0)]=!0x1),!this[_0x54b832(0xb4)]())return!0x0;const _0x384ec0=[...this[_0x54b832(0x138)]];for(const _0xa7d91c of _0x384ec0)_0xa7d91c[_0x54b832(0xe0)]=this[_0x54b832(0xd0)][_0x54b832(0x10a)][_0x54b832(0xfa)](_0xa7d91c);const _0x478b5c=this[_0x54b832(0xdf)][_0x54b832(0x10d)](_0x384ec0),_0x25757e=K++,_0x3a96cf=this[_0x54b832(0x1a6)](_0x384ec0),_0x45fd50=await this[_0x54b832(0xb6)][_0x54b832(0x119)](_0x3a96cf,_0x3a96cf[_0x54b832(0xec)],_0x478b5c);try{return await this[_0x54b832(0x111)](_0x384ec0,_0x45fd50,_0x25757e);}catch(_0x4e376d){return this[_0x54b832(0x188)](_0x54b832(0xf3),_0x4e376d);}}async[_0x378f5a(0x111)](_0x5d104d,_0x2ce098,_0x43d477){const _0x5abf5b=_0x378f5a;if(_0x5abf5b(0xd4)in _0x2ce098)throw _0x2ce098[_0x5abf5b(0xd4)];let _0xf3324=!0x1;if(_0x2ce098[_0x5abf5b(0xee)]){_0x2ce098[_0x5abf5b(0x106)]&&(this[_0x5abf5b(0xf1)]=_0x2ce098[_0x5abf5b(0x106)]),this[_0x5abf5b(0x138)]=this[_0x5abf5b(0x138)][_0x5abf5b(0x17b)](_0x46178a=>!_0x5d104d[_0x5abf5b(0x10b)](_0x46178a));for(const _0x168cf2 of _0x5d104d)_0x168cf2[_0x5abf5b(0x164)]=_0x5abf5b(0x18d)in _0x2ce098&&_0x2ce098[_0x5abf5b(0x18d)]||void 0x0;Q(_0x5d104d,_0x2ce098[_0x5abf5b(0x1a3)]-_0x5d104d[_0x5abf5b(0xc2)]),this[_0x5abf5b(0xdb)](_0x5d104d);const _0x5d87da=_0x5d104d[_0x5abf5b(0x17b)](_0x57b3b5=>{const _0x2d51a7=_0x5abf5b;if(!_0x57b3b5[_0x2d51a7(0x155)])return!0x1;const _0x395587=this[_0x2d51a7(0x17a)](_0x57b3b5);return _0x395587&&!this[_0x2d51a7(0x145)][_0x2d51a7(0x118)](_0x395587);});Q(_0x5d87da,this[_0x5abf5b(0xd0)][_0x5abf5b(0x1a3)]),this[_0x5abf5b(0x14c)](_0x5d87da),_0xf3324=!0x0,this[_0x5abf5b(0x17c)]=this[_0x5abf5b(0x140)];}else{const _0x409031=this[_0x5abf5b(0x14d)](_0x2ce098[_0x5abf5b(0x159)],_0x2ce098[_0x5abf5b(0x16b)])[_0x5abf5b(0x17b)](_0x3dc98d=>_0x3dc98d[_0x5abf5b(0xec)]>=this[_0x5abf5b(0xe7)]);_0x409031[_0x5abf5b(0xa3)](_0x2654ab=>this[_0x5abf5b(0xfe)](_0x2654ab)),this[_0x5abf5b(0x138)]=this[_0x5abf5b(0x138)][_0x5abf5b(0x17b)](_0x376a48=>!_0x376a48[_0x5abf5b(0x155)]||!this[_0x5abf5b(0x145)][_0x5abf5b(0x118)](this[_0x5abf5b(0x17a)](_0x376a48))),this[_0x5abf5b(0x138)][_0x5abf5b(0xc2)]&&Q(this[_0x5abf5b(0x138)],this[_0x5abf5b(0x138)][0x0][_0x5abf5b(0xec)]),await this[_0x5abf5b(0xf9)](_0x409031),_0xf3324=this[_0x5abf5b(0x181)](_0x409031,_0x2ce098[_0x5abf5b(0x1a3)],_0x2ce098[_0x5abf5b(0x106)]),this[_0x5abf5b(0x17c)]=Math[_0x5abf5b(0x158)](this[_0x5abf5b(0x17c)]/0x2);}return _0xf3324?!this[_0x5abf5b(0xb4)]()||(this[_0x5abf5b(0xdc)](!0x0),!0x1):this[_0x5abf5b(0x188)](_0x5abf5b(0x139));}[_0x378f5a(0x181)](_0x44e3c1,_0x47221d,_0x5d4cad){const _0x4242aa=_0x378f5a;try{const _0x3f1cca={'document':this[_0x4242aa(0xd0)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xb81dbe,operationsB:_0x265c35,originalOperations:_0x342a1d}=_0x3309f4(_0x44e3c1,this[_0x4242aa(0x138)],_0x3f1cca);Q(_0xb81dbe,this[_0x4242aa(0xd0)][_0x4242aa(0x1a3)]),Q(_0x265c35,_0x47221d);for(const _0x90d522 of _0xb81dbe){const _0x3c87d3=_0x342a1d[_0x4242aa(0xed)](_0x90d522);_0x90d522[_0x4242aa(0xfc)]=_0x3c87d3?_0x3c87d3[_0x4242aa(0xfc)]:null;}_0x5d4cad&&(this[_0x4242aa(0xdf)][_0x4242aa(0x18c)](_0x44e3c1,_0x5d4cad),this[_0x4242aa(0xf1)]=_0x5d4cad),this[_0x4242aa(0x138)]=[..._0x265c35],this[_0x4242aa(0x14c)](_0xb81dbe),this[_0x4242aa(0xdb)](_0x44e3c1);}catch(_0xaf0c78){return console[_0x4242aa(0xd4)](_0xaf0c78),!0x1;}return!0x0;}[_0x378f5a(0x14c)](_0xf175e0,_0x634f20=!0x1){const _0x4c66bf=_0x378f5a;this[_0x4c66bf(0xcc)][_0x4c66bf(0xea)][_0x4c66bf(0x10e)]({'isUndoable':!0x1,'isLocal':!0x1},_0x46d2cf=>{const _0xb6bd50=_0x4c66bf;for(const _0x2f1d32 of _0xf175e0)this[_0xb6bd50(0x148)][_0xb6bd50(0x125)](_0x2f1d32),this[_0xb6bd50(0xfe)](_0x2f1d32),_0x46d2cf[_0xb6bd50(0xb0)][_0xb6bd50(0x165)](_0x2f1d32),this[_0xb6bd50(0xcc)][_0xb6bd50(0xea)][_0xb6bd50(0xc7)](_0x2f1d32);});}[_0x378f5a(0xfe)](_0xabe1b4){const _0x5e5882=_0x378f5a,_0x38834b=this[_0x5e5882(0x17a)](_0xabe1b4);_0x38834b&&this[_0x5e5882(0x145)][_0x5e5882(0x125)](_0x38834b);}[_0x378f5a(0x17a)](_0x4b6dbc){const _0xc1138c=_0x378f5a;let _0x114d6d,_0x4f2050;switch(_0x4b6dbc[_0xc1138c(0xf4)]){case _0xc1138c(0x144):_0x114d6d=_0x4b6dbc[_0xc1138c(0xda)][_0xc1138c(0x12e)];break;case _0xc1138c(0xc4):if(_0x4f2050=_0x4b6dbc[_0xc1138c(0x180)],!_0x4f2050)return null;_0x114d6d=_0x4f2050[_0xc1138c(0x12e)];break;case _0xc1138c(0x173):_0x114d6d=_0x4b6dbc[_0xc1138c(0x12e)];break;case _0xc1138c(0x18b):_0x114d6d=_0x4b6dbc[_0xc1138c(0x114)];break;case _0xc1138c(0x186):_0x114d6d=_0x4b6dbc[_0xc1138c(0xa1)][_0xc1138c(0x12e)];break;default:return null;}return _0x114d6d[_0xc1138c(0xad)];}[_0x378f5a(0xdb)](_0x18e58c){const _0x226d2b=_0x378f5a;_0x18e58c[_0x226d2b(0xa3)](_0x58fbfb=>{const _0x1837aa=_0x226d2b,_0x3c05f9=_0x58fbfb[_0x1837aa(0x123)]();_0x3c05f9[_0x1837aa(0xfc)]=_0x58fbfb[_0x1837aa(0xfc)],_0x3c05f9[_0x1837aa(0x155)]=!!_0x58fbfb[_0x1837aa(0x155)],_0x3c05f9[_0x1837aa(0x164)]=_0x58fbfb[_0x1837aa(0x164)],_0x3c05f9[_0x1837aa(0xec)]+=this[_0x1837aa(0x124)],_0x58fbfb[_0x1837aa(0x151)]&&this[_0x1837aa(0xbf)][_0x1837aa(0x125)](_0x3c05f9),this[_0x1837aa(0x156)][_0x1837aa(0x165)](_0x3c05f9);});}[_0x378f5a(0xe5)](_0x55cadf){const _0x244296=_0x378f5a,_0x2c685b=this[_0x244296(0xcc)][_0x244296(0xc3)][_0x244296(0xed)](_0x244296(0x153)),_0x433523=this[_0x244296(0xcc)][_0x244296(0x149)];_0x55cadf||(_0x55cadf=_0x5bd81a(_0x433523,_0x244296(0xbc))),_0x2c685b[_0x244296(0x1a5)](_0x55cadf,{'title':_0x5bd81a(_0x433523,_0x244296(0x105)),'namespace':_0x244296(0xf6)}),this[_0x244296(0x167)]=!0x0,clearTimeout(this[_0x244296(0x193)]),this[_0x244296(0x138)]=[],this[_0x244296(0xcc)][_0x244296(0xc3)][_0x244296(0xed)](_0x35d722)[_0x244296(0x135)]();}[_0x378f5a(0x157)](){const _0x2afac8=_0x378f5a;this[_0x2afac8(0xb5)]||(this[_0x2afac8(0xb5)]=this[_0x2afac8(0xcc)][_0x2afac8(0xc3)][_0x2afac8(0xed)](_0x3b4726)[_0x2afac8(0x125)](_0x5bd81a(this[_0x2afac8(0xcc)][_0x2afac8(0x149)],_0x2afac8(0x16e))));}[_0x378f5a(0x1a4)](){const _0x44ed72=_0x378f5a;this[_0x44ed72(0xb5)]&&(this[_0x44ed72(0xcc)][_0x44ed72(0xc3)][_0x44ed72(0xed)](_0x3b4726)[_0x44ed72(0x150)](this[_0x44ed72(0xb5)]),this[_0x44ed72(0xb5)]=null);}[_0x378f5a(0x1a6)](_0x273249){const _0x40b723=_0x378f5a,_0x15e78d=_0x273249[_0x40b723(0xe6)](_0x53a12e=>_0x53a12e[_0x40b723(0xb3)]());return this[_0x40b723(0x16d)][_0x40b723(0xa6)](_0x15e78d);}[_0x378f5a(0x14d)](_0x11f722,_0x5a76a9){const _0x1a5dd7=_0x378f5a;return this[_0x1a5dd7(0x16d)][_0x1a5dd7(0xb2)](_0x11f722)[_0x1a5dd7(0xe6)]((_0x4a3806,_0x584f63)=>{const _0x5777b3=_0x1a5dd7,_0x3e3ea8=_0x5777b3(0x143)==_0x5a76a9[_0x584f63][_0x5777b3(0xf4)];if(_0x5777b3(0x162)==_0x4a3806[_0x5777b3(0x134)]){const _0x4f8756=_0x4a3806[_0x5777b3(0xda)][_0x5777b3(0x12e)];!this[_0x5777b3(0xd0)][_0x5777b3(0xa4)](_0x4f8756)&&(this[_0x5777b3(0xd0)][_0x5777b3(0xcd)](_0x5777b3(0x104),_0x4f8756)[_0x5777b3(0x11f)]=!0x1);}const _0x2662cd=_0x37ea3e[_0x5777b3(0x11b)](_0x4a3806,this[_0x5777b3(0xd0)]);return _0x2662cd[_0x5777b3(0xe0)]=_0x4a3806[_0x5777b3(0xe0)],_0x2662cd[_0x5777b3(0x155)]=_0x3e3ea8,_0x2662cd[_0x5777b3(0xfc)]=_0x3e3ea8?null:_0x5a76a9[_0x584f63][_0x5777b3(0xde)],_0x2662cd[_0x5777b3(0x151)]=_0x5777b3(0x15a)===_0x5a76a9[_0x584f63][_0x5777b3(0xf4)],_0x2662cd[_0x5777b3(0x164)]=_0x5a76a9[_0x584f63][_0x5777b3(0x164)],_0x2662cd;});}[_0x378f5a(0xe2)](){const _0x7ea773=_0x378f5a;this[_0x7ea773(0x1a0)]=!0x0,this[_0x7ea773(0x163)]()?this[_0x7ea773(0xdc)]():this[_0x7ea773(0x1a0)]=!0x1;}[_0x378f5a(0x163)](){const _0x3753f9=_0x378f5a,_0x2cd5b5=this[_0x3753f9(0xcc)][_0x3753f9(0xc3)][_0x3753f9(0xed)](_0x173736)[_0x3753f9(0x12b)][_0x3753f9(0xed)](this[_0x3753f9(0xc9)]);return!this[_0x3753f9(0xcc)][_0x3753f9(0x19a)]&&!!_0x2cd5b5&&_0x2cd5b5[_0x3753f9(0xc2)]>0x1&&this[_0x3753f9(0x1a0)];}[_0x378f5a(0xb4)](){const _0x43dea5=_0x378f5a;return this[_0x43dea5(0x138)][_0x43dea5(0xc2)]>0x0||this[_0x43dea5(0x163)]();}}l[_0x378f5a(0xc6)]=_0x18e899;export default l;class J extends Error{}function Q(_0x1c9264,_0x39570b){const _0x2beef4=_0x378f5a;for(const _0x1b531a of _0x1c9264)_0x1b531a[_0x2beef4(0xec)]=_0x39570b++;}class X{constructor(_0x1cf48c){const _0x44c14c=_0x378f5a;this[_0x44c14c(0x152)]=_0x1cf48c,this[_0x44c14c(0x16a)]=new WeakMap();}[_0x378f5a(0x10d)](_0x512548){const _0x1f4620=_0x378f5a;let _0x34fda6=_0x512548[_0x1f4620(0xc2)];for(;_0x34fda6--;){const _0x471ba3=_0x512548[_0x34fda6];if(!this[_0x1f4620(0x152)][_0x1f4620(0x118)](_0x471ba3)){if(!this[_0x1f4620(0x16a)][_0x1f4620(0x118)](_0x471ba3)){const _0x2d287e=_0x2c9f50()[_0x1f4620(0xf8)](0x1,0x12);this[_0x1f4620(0x16a)][_0x1f4620(0x128)](_0x471ba3,_0x2d287e);}return this[_0x1f4620(0x16a)][_0x1f4620(0xed)](_0x471ba3);}}}[_0x378f5a(0x18c)](_0x440103,_0x34b7d3){const _0x2c4621=_0x378f5a;if(!_0x34b7d3)return;let _0x91854a=_0x440103[_0x2c4621(0xc2)];for(;_0x91854a--;){const _0xb70752=_0x440103[_0x91854a];this[_0x2c4621(0x152)][_0x2c4621(0x118)](_0xb70752)||this[_0x2c4621(0x16a)][_0x2c4621(0x128)](_0xb70752,_0x34b7d3);}}}
|
|
23
|
+
const _0x6ea34b=_0x5b24;(function(_0x568c73,_0x4b3ca8){const _0x3f8fd2=_0x5b24,_0x373676=_0x568c73();while(!![]){try{const _0x9ba9b5=-parseInt(_0x3f8fd2(0x221))/0x1+-parseInt(_0x3f8fd2(0x264))/0x2*(parseInt(_0x3f8fd2(0x1be))/0x3)+parseInt(_0x3f8fd2(0x1a1))/0x4*(parseInt(_0x3f8fd2(0x234))/0x5)+-parseInt(_0x3f8fd2(0x1d5))/0x6*(-parseInt(_0x3f8fd2(0x22e))/0x7)+-parseInt(_0x3f8fd2(0x18f))/0x8*(-parseInt(_0x3f8fd2(0x1eb))/0x9)+parseInt(_0x3f8fd2(0x1c0))/0xa*(parseInt(_0x3f8fd2(0x1b6))/0xb)+parseInt(_0x3f8fd2(0x202))/0xc*(-parseInt(_0x3f8fd2(0x1f4))/0xd);if(_0x9ba9b5===_0x4b3ca8)break;else _0x373676['push'](_0x373676['shift']());}catch(_0x505ebf){_0x373676['push'](_0x373676['shift']());}}}(_0x20c0,0xb300b));import{Plugin as _0x1bd9cc,PendingActions as _0x441889}from'ckeditor5/src/core.js';import{CKEditorError as _0x1a25cc,version as _0x164433,uid as _0x471482}from'ckeditor5/src/utils.js';import{Notification as _0x341810}from'ckeditor5/src/ui.js';import{transformSets as _0x381f16,NoOperation as _0x7e3616,InsertOperation as _0x3d873e,MarkerOperation as _0x2a381c,RootAttributeOperation as _0x4f77ee,OperationFactory as _0x3a5ee9,History as _0x1b56fb}from'ckeditor5/src/engine.js';function _0x20c0(){const _0x2dc080=['unregister','_setPendingAction','userId','createPositionFromPath','_pendingAction','slice','realtimecollaborationclient-init-session-connection-error','_channelId','remove','reset','multi-root-editor-root-attributes-no-root','7320RWorbF','fire','serverHistory','connect','map','lastOperationId','destroy','string','Synchronization\x20issue','differ','loadRoot','start','_getAffectedRoot','connected','listenTo','editing','affectsData','push','compress','clone','realtimecollaborationclient-init-non-existent-root','affectedSelectable','_isDisconnection','getOperationAuthor','realtimecollaborationclient-error','getIdOfTheLastOperation','_isAttached','insert','disableReadOnlyMode','_handleReconnectionResponse','mySessionId','1064922cSIwFp','_fetchMissingUsers','_lastSyncedOperationId','offset','path','_sendBufferedOperationsDelayed','cloudServices.bundleVersion','_handleSendingSelectionMarkers','history','$root','startsWith','isPremiumPlugin','model','7kAsHyU','catch','isOfficialPlugin','createRoot','_knownRootNames','PENDING_ACTION_SENDING_DATA','162485twRCyU','_offset','decompress','rootName','_knownOperations','metadata','_handleExternalOperations','setIdForTheLastOperation','realtimecollaborationclient-init-service-internal-error','addOperation','collaboration-missing-channelid','_shouldSendSelectionUpdate','addRootAttribute','marker','stop','InsertOperation','_applyOperationsSet','addToReconnectionStack','_compressOperations','add','sessionCreatedAt','_bufferRootLoad','wasUndone','set','applyOperation','cs:removeUser','directChange','_isEditingAllowed','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.','data','_crash','_loadRoot','rtc-offline','channelSessions','length','_getOperationsFromInitData','CollaborativeEditingService','permissions','getMany','getRoot','rootsAttributes','change:hasDomSelection','document:write','from','lastSyncVersion','_isInit','createRange','high','802316bbVPdL','_sendBufferedOperations','createPositionAt','operationsReceived','forEach','stopListening','collaboration','CommentsOnly','requires','off','lastDocumentSession','error','code','then','_compressor','disconnected','_saveOperationInBuffer','targetPosition','editor','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.','state','return','view','register','has','pluginName','suppressErrorInCollaboration','_connectAfterSessionHasBeenFlushed','disconnect','reconnection:\x20flushed\x20session','baseVersion','change:_isPendingUpdate','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_hasSelectionChanged','_service','_handleInitialConnectionData','getOperations','getUser','_isPendingUpdate','collaboration.channelId','addUser','keys','_updateServerHistory','cloud-services-internal-error:\x20Not\x20connected.','ready','size','_shouldSendUpdate','filter','_isConnected','entries','realtimecollaborationclient-sendbufferedoperations','document','9284344AujwsU','isReadOnly','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','getDocumentDetails','_initThrowingOnDataSet','currentDocumentSession','finally','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','bind','toJSON','realtimecollaborationclient-handleserverresponse','realtimecollaborationclient','getConnectedSessions','message','_handleReceivedOperations','_lastServerVersion','get','_clearPendingAction','104HtHxnZ','showWarning','_isLoaded','_hasSynchronizationProblem','_setUpDataInit','_currentBufferDelay','__className','lastOperationAcceptedAt','batch','realtimecollaborationclient-init-service-incorrect-server-operation','real-time-collaboration','sendOperations','_handleServerResponse','_connectService','end','_initSessionsHandling','apply','sessionId','removeFromReconnectionStack','_addKnownRoot','_authorId','11BRCqYp','createdAt','change:range','locale','change:_isEditingAllowed','init','enableReadOnlyMode','selection','3BaBFlc','newRange','2858370DuERfz','version','type','_decompressOperations','_document','isDocumentOperation','_operationToId','round','markers','addRoot','config','_waitUntilSynced','_handleReconnectionError','409','_refreshUserSelectionMarkers','404','attributes','_ignoredOperations','move','cloudDocumentVersion','cloud-services-internal-error:\x20Request\x20timeout.','6251778HSMjKA','rtc-destroyed','_disconnectionOperations','reconnect','Permissions','realtimecollaborationclient-init-connection-failed','setPermissions','initData','_disconnectService','plugins','_baseBufferDelay','realtimecollaborationclient-init-document-already-initialized','_bufferedOperations','RealTimeCollaborationClient','enqueueChange','createUserMarkerOperations','fromJSON','wereChangesApplied','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_operationIdentifier','isUndoneOperation','connection','9BuCUSI','isEnabled','root','parse','sessionAdd:','position','includes','roots','define','24167jpNePP','_sendBufferedOperationsDelayId','Notification'];_0x20c0=function(){return _0x2dc080;};return _0x20c0();}import _0x2e1b06 from'./websocketgateway.js';import _0x429af9 from'./sessions.js';import _0x326333 from'./usermarkers.js';import{getTranslation as _0x46bc2c}from'../common-translations.js';import{Compressor as _0x22a11e}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x27ec6b}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x1d938d,CollaborativeEditingService as _0x22dbf4}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x1bd9cc{static get[_0x6ea34b(0x26c)](){return[_0x2e1b06,_0x429af9,_0x326333,_0x441889,_0x27ec6b,_0x341810];}static get[_0x6ea34b(0x174)](){const _0xef226d=_0x6ea34b;return _0xef226d(0x1e2);}static get[_0x6ea34b(0x230)](){return!0x0;}static get[_0x6ea34b(0x22c)](){return!0x0;}get[_0x6ea34b(0x1d3)](){const _0x198c0d=_0x6ea34b;return this[_0x198c0d(0x19e)]+this[_0x198c0d(0x235)];}get[_0x6ea34b(0x19e)](){const _0x6c40cb=_0x6ea34b;return this[_0x6c40cb(0x204)][_0x6c40cb(0x1c1)]-this[_0x6c40cb(0x235)];}get[_0x6ea34b(0x260)](){const _0x4141ad=_0x6ea34b,_0x1b1993=this[_0x4141ad(0x204)][_0x4141ad(0x17f)]();for(let _0x542939=_0x1b1993[_0x4141ad(0x256)]-0x1;_0x542939>=0x0;_0x542939--){const _0x40dda7=_0x1b1993[_0x542939];if(!this[_0x4141ad(0x1d7)][_0x4141ad(0x173)](_0x40dda7))return _0x40dda7[_0x4141ad(0x179)]+0x1-this[_0x4141ad(0x235)];}return 0x0;}constructor(_0x35b750){const _0x158fde=_0x6ea34b;if(super(_0x35b750),this[_0x158fde(0x235)]=0x0,this[_0x158fde(0x1b2)]=null,this[_0x158fde(0x204)]=new _0x1b56fb(),this[_0x158fde(0x16d)][_0x158fde(0x1ca)][_0x158fde(0x1f3)](_0x158fde(0x26a),{}),this[_0x158fde(0x1fe)]=this[_0x158fde(0x16d)][_0x158fde(0x1ca)][_0x158fde(0x19f)](_0x158fde(0x182)),!this[_0x158fde(0x1fe)])throw new _0x1a25cc(_0x158fde(0x23e),this);const _0x5bd2b2=_0x35b750[_0x158fde(0x1ca)][_0x158fde(0x19f)](_0x158fde(0x227))||_0x164433;this[_0x158fde(0x17d)]=new l[(_0x158fde(0x258))](_0x5bd2b2,this[_0x158fde(0x1fe)]),this[_0x158fde(0x1c4)]=this[_0x158fde(0x16d)][_0x158fde(0x22d)][_0x158fde(0x18e)],this[_0x158fde(0x169)]=new _0x22a11e(),this[_0x158fde(0x1e1)]=[],this[_0x158fde(0x238)]=new WeakSet(),this[_0x158fde(0x232)]=new Set(),this[_0x158fde(0x24b)](_0x158fde(0x181),!0x1),this[_0x158fde(0x24b)](_0x158fde(0x1a4),!0x1),this[_0x158fde(0x1fb)]=null,this[_0x158fde(0x17c)]=!0x1,this[_0x158fde(0x1f5)]=null,this[_0x158fde(0x1df)]=0x12c,this[_0x158fde(0x1a6)]=this[_0x158fde(0x1df)],this[_0x158fde(0x223)]=null,this[_0x158fde(0x1d7)]=new WeakSet(),this[_0x158fde(0x1e8)]=new X(this[_0x158fde(0x1d7)]);}[_0x6ea34b(0x1bb)](){const _0x4290ae=_0x6ea34b,_0xece8cd=this[_0x4290ae(0x16d)],_0x3a6c1c=_0xece8cd[_0x4290ae(0x1de)][_0x4290ae(0x19f)](_0x27ec6b),_0x5c02b9=_0xece8cd[_0x4290ae(0x1de)][_0x4290ae(0x19f)](_0x2e1b06);this[_0x4290ae(0x210)](_0x3a6c1c,_0x4290ae(0x219),(_0x1e257a,_0x1965f5)=>{const _0x338294=_0x4290ae,_0x563253=_0x1965f5[0x0];_0x563253[_0x338294(0x1b5)]&&(_0x1e257a[_0x338294(0x170)]=_0x3a6c1c[_0x338294(0x180)](_0x563253[_0x338294(0x1b5)]),_0x1e257a[_0x338294(0x242)]()),null===_0x563253[_0x338294(0x1b5)]&&(_0x1e257a[_0x338294(0x170)]=null,_0x1e257a[_0x338294(0x242)]());},{'priority':_0x4290ae(0x263)}),this[_0x4290ae(0x210)](_0xece8cd[_0x4290ae(0x22d)][_0x4290ae(0x18e)][_0x4290ae(0x1bd)],_0x4290ae(0x1b8),(_0x413d69,_0x33ae58)=>{const _0x39f1e4=_0x4290ae;_0x33ae58[_0x39f1e4(0x24e)]&&this[_0x39f1e4(0x1ce)]();}),this[_0x4290ae(0x210)](_0xece8cd[_0x4290ae(0x211)][_0x4290ae(0x171)],_0x4290ae(0x25d),()=>{const _0x51e700=_0x4290ae;this[_0x51e700(0x1ce)]();}),this[_0x4290ae(0x193)](),_0xece8cd[_0x4290ae(0x22d)]['on'](_0x4290ae(0x24c),(_0x3b43c8,_0x3a2701)=>{const _0x10fb02=_0x4290ae,_0xb59a4d=_0x3a2701[0x0];_0xb59a4d[_0x10fb02(0x1c5)]&&(this[_0x10fb02(0x16b)](_0xb59a4d),this[_0x10fb02(0x189)]()&&this[_0x10fb02(0x226)]());}),this[_0x4290ae(0x1a5)](),this[_0x4290ae(0x197)](_0x4290ae(0x24f))['to'](_0x5c02b9,_0x4290ae(0x16f),this,_0x4290ae(0x1a4),(_0x2ae1f7,_0x333c11)=>_0x4290ae(0x20f)===_0x2ae1f7&&!_0x333c11),this['on'](_0x4290ae(0x1ba),()=>{const _0x1ed3e5=_0x4290ae;this[_0x1ed3e5(0x24f)]?_0xece8cd[_0x1ed3e5(0x21e)](_0x1ed3e5(0x254)):_0xece8cd[_0x1ed3e5(0x1bc)](_0x1ed3e5(0x254));}),this[_0x4290ae(0x24f)]?_0xece8cd[_0x4290ae(0x21e)](_0x4290ae(0x254)):_0xece8cd[_0x4290ae(0x1bc)](_0x4290ae(0x254)),this[_0x4290ae(0x24b)](_0x4290ae(0x18b),!0x1);}async[_0x6ea34b(0x1d8)](){const _0x4de0ac=_0x6ea34b,_0x4caa01=this[_0x4de0ac(0x16d)][_0x4de0ac(0x1de)][_0x4de0ac(0x19f)](_0x429af9),_0x38dc78=this[_0x4de0ac(0x16d)][_0x4de0ac(0x1de)][_0x4de0ac(0x19f)](_0x2e1b06);try{this[_0x4de0ac(0x181)]=!0x0,_0x4caa01[_0x4de0ac(0x1f7)](this[_0x4de0ac(0x1fe)]);const _0x193de1=await this[_0x4de0ac(0x17d)][_0x4de0ac(0x1d8)](_0x38dc78[_0x4de0ac(0x1ea)],this[_0x4de0ac(0x260)]);await this[_0x4de0ac(0x21f)](_0x193de1)&&(this[_0x4de0ac(0x181)]=!0x1,this[_0x4de0ac(0x1a0)]());const _0x7266bb=await this[_0x4de0ac(0x17d)][_0x4de0ac(0x19b)]();_0x4caa01[_0x4de0ac(0x172)](this[_0x4de0ac(0x1fe)],_0x7266bb),this[_0x4de0ac(0x228)](),this[_0x4de0ac(0x18b)]=!0x0;}catch(_0x429ee5){if(function(_0x3425df){const _0x5af519=_0x4de0ac;return _0x5af519(0x1cf)===_0x3425df[_0x5af519(0x167)];}(_0x429ee5)&&this[_0x4de0ac(0x1b2)])await this[_0x4de0ac(0x176)]();else{if(function(_0x13d400){const _0x8fca22=_0x4de0ac;return _0x8fca22(0x1cd)===_0x13d400[_0x8fca22(0x167)];}(_0x429ee5)){const _0x144bf5=_0x46bc2c(this[_0x4de0ac(0x16d)][_0x4de0ac(0x1b9)],_0x4de0ac(0x1e7));this[_0x4de0ac(0x1cc)](_0x144bf5);}else{if(!(_0x429ee5 instanceof J))throw _0x429ee5;this[_0x4de0ac(0x1cc)]();}}}}[_0x6ea34b(0x208)](){const _0x3b24c3=_0x6ea34b,_0x182f64=this[_0x3b24c3(0x16d)][_0x3b24c3(0x1de)][_0x3b24c3(0x19f)](_0x2e1b06),_0x4971a6=this[_0x3b24c3(0x16d)][_0x3b24c3(0x1de)][_0x3b24c3(0x19f)](_0x429af9);this[_0x3b24c3(0x16d)][_0x3b24c3(0x1bc)](_0x3b24c3(0x1d6)),_0x4971a6[_0x3b24c3(0x255)][_0x3b24c3(0x173)](this[_0x3b24c3(0x1fe)])&&_0x4971a6[_0x3b24c3(0x1f7)](this[_0x3b24c3(0x1fe)]),_0x182f64[_0x3b24c3(0x1b3)](this),this[_0x3b24c3(0x1dd)](),super[_0x3b24c3(0x208)]();}async[_0x6ea34b(0x21f)](_0x45039e){const _0x37025d=_0x6ea34b;if(this[_0x37025d(0x1b2)]!==_0x45039e[_0x37025d(0x1b2)]&&this[_0x37025d(0x223)]!==_0x45039e[_0x37025d(0x207)])throw new J();return this[_0x37025d(0x1b2)]=_0x45039e[_0x37025d(0x1b2)],this[_0x37025d(0x1ad)]([],{..._0x45039e,'wereChangesApplied':!0x1,'data':_0x45039e[_0x37025d(0x251)]},_0x37025d(0x1d8));}async[_0x6ea34b(0x1ae)](_0x40b6c0,_0x293193=!0x1){const _0x392650=_0x6ea34b,{connection:_0x257b1b}=this[_0x392650(0x16d)][_0x392650(0x1de)][_0x392650(0x19f)](_0x2e1b06);l[_0x392650(0x258)][_0x392650(0x19b)](_0x257b1b,this[_0x392650(0x1fe)])[_0x392650(0x168)](_0x5b3f46=>this[_0x392650(0x1b0)](_0x5b3f46))[_0x392650(0x22f)](_0x28a103=>{const _0x9e6222=_0x392650;this[_0x9e6222(0x252)](_0x9e6222(0x1fd),_0x28a103);}),this[_0x392650(0x210)](this[_0x392650(0x17d)],_0x392650(0x267),this[_0x392650(0x19d)][_0x392650(0x197)](this)),this[_0x392650(0x210)](this[_0x392650(0x17d)],_0x392650(0x166),(_0x3665cc,_0x3be4fb)=>{const _0x3e60e2=_0x392650;this[_0x3e60e2(0x252)](_0x3e60e2(0x23c),_0x3be4fb);}),this[_0x392650(0x210)](this[_0x392650(0x17d)],_0x392650(0x16a),()=>{const _0x1cbe3e=_0x392650;this[_0x1cbe3e(0x18b)]=!0x1;});const _0x5d5f9f=this[_0x392650(0x1e8)][_0x392650(0x21b)](_0x40b6c0);this[_0x392650(0x181)]=!0x0;const _0x52d039=await this[_0x392650(0x17d)][_0x392650(0x205)](_0x257b1b,this[_0x392650(0x246)](_0x40b6c0),_0x5d5f9f);if(this[_0x392650(0x1b2)]=_0x52d039[_0x392650(0x1b2)],_0x293193){if(!_0x52d039[_0x392650(0x1e6)])return void this[_0x392650(0x1cc)]();this[_0x392650(0x181)]=!0x1,this[_0x392650(0x1a0)](),this[_0x392650(0x204)][_0x392650(0x200)](),this[_0x392650(0x235)]=_0x52d039[_0x392650(0x224)],this[_0x392650(0x204)][_0x392650(0x1c1)]=this[_0x392650(0x235)],await this[_0x392650(0x1ad)](_0x40b6c0,_0x52d039,_0x392650(0x178));}else await this[_0x392650(0x17e)](_0x52d039,_0x40b6c0);this[_0x392650(0x228)](),this[_0x392650(0x18b)]=!0x0;}[_0x6ea34b(0x228)](){const _0x1d776e=_0x6ea34b,_0x3dffb3=this[_0x1d776e(0x16d)][_0x1d776e(0x1de)][_0x1d776e(0x19f)](_0x429af9),_0x349466=this[_0x1d776e(0x16d)][_0x1d776e(0x1de)][_0x1d776e(0x19f)](_0x326333),_0x460eef=_0x3dffb3[_0x1d776e(0x255)][_0x1d776e(0x19f)](this[_0x1d776e(0x1fe)]);_0x460eef&&_0x460eef[_0x1d776e(0x256)]>0x1?_0x349466[_0x1d776e(0x1e4)]():this[_0x1d776e(0x210)](_0x3dffb3,_0x1d776e(0x1ef)+this[_0x1d776e(0x1fe)],()=>{const _0x1df930=_0x1d776e;0x2===_0x3dffb3[_0x1df930(0x255)][_0x1df930(0x19f)](this[_0x1df930(0x1fe)])[_0x1df930(0x256)]&&_0x349466[_0x1df930(0x1e4)]();});}async[_0x6ea34b(0x19d)](_0x10e481,_0x54fecb,_0x22ab26,_0x4daa87){const _0x1f72dd=_0x6ea34b;if(!this[_0x1f72dd(0x181)]&&this[_0x1f72dd(0x1c4)][_0x1f72dd(0x1c1)]==_0x54fecb){const _0x1661bf=this[_0x1f72dd(0x1c3)](_0x22ab26,_0x4daa87);await this[_0x1f72dd(0x222)](_0x1661bf),this[_0x1f72dd(0x23a)](_0x1661bf,_0x54fecb,_0x22ab26[_0x1f72dd(0x207)])||this[_0x1f72dd(0x252)](_0x1f72dd(0x1aa));}}async[_0x6ea34b(0x176)](){const _0xc6edc6=_0x6ea34b;this[_0xc6edc6(0x1dd)]();const {locale:_0xffc6dd}=this[_0xc6edc6(0x16d)];let _0x4cd955;try{_0x4cd955=await this[_0xc6edc6(0x17d)][_0xc6edc6(0x192)]();}catch(_0xe20c41){const _0xa03cd7=_0x46bc2c(_0xffc6dd,_0xc6edc6(0x17b));return void this[_0xc6edc6(0x1cc)](_0xa03cd7);}const _0x1a16fc=_0x4cd955[_0xc6edc6(0x194)]||_0x4cd955[_0xc6edc6(0x165)];if(this[_0xc6edc6(0x223)]===_0x1a16fc[_0xc6edc6(0x207)])await this[_0xc6edc6(0x1ae)](this[_0xc6edc6(0x16d)][_0xc6edc6(0x22d)][_0xc6edc6(0x18e)][_0xc6edc6(0x229)][_0xc6edc6(0x17f)](),!0x0);else{const _0x15a0e8=_0x46bc2c(_0xffc6dd,_0xc6edc6(0x250));this[_0xc6edc6(0x1cc)](_0x15a0e8);}}[_0x6ea34b(0x1dd)](){const _0x455689=_0x6ea34b;this[_0x455689(0x17d)][_0x455689(0x177)](),this[_0x455689(0x1e1)]=[],clearTimeout(this[_0x455689(0x1f5)]),this[_0x455689(0x269)](this[_0x455689(0x17d)]);}[_0x6ea34b(0x1b0)](_0x4c7c1f){const _0x52f9b9=_0x6ea34b,_0x280edc=this[_0x52f9b9(0x16d)][_0x52f9b9(0x1de)][_0x52f9b9(0x19f)](_0x429af9);this[_0x52f9b9(0x210)](_0x280edc,_0x52f9b9(0x1ef)+this[_0x52f9b9(0x1fe)],(_0x6f95f7,{session:_0x455499})=>{const _0x3a8c1a=_0x52f9b9;if(_0x455499['id']===_0x280edc[_0x3a8c1a(0x220)]){_0x6f95f7[_0x3a8c1a(0x26d)]();const _0x27cd51=this[_0x3a8c1a(0x16d)][_0x3a8c1a(0x1de)][_0x3a8c1a(0x173)](_0x3a8c1a(0x26b))&&this[_0x3a8c1a(0x16d)][_0x3a8c1a(0x1de)][_0x3a8c1a(0x19f)](_0x3a8c1a(0x26b));let _0x1d602b=_0x455499[_0x3a8c1a(0x259)];_0x27cd51&&_0x27cd51[_0x3a8c1a(0x1ec)]&&(_0x1d602b=_0x1d602b[_0x3a8c1a(0x18a)](_0x3e5125=>_0x3a8c1a(0x25e)!==_0x3e5125)),this[_0x3a8c1a(0x16d)][_0x3a8c1a(0x1de)][_0x3a8c1a(0x19f)](_0x3a8c1a(0x1d9))[_0x3a8c1a(0x1db)](_0x1d602b,this[_0x3a8c1a(0x1fe)]);}}),_0x280edc[_0x52f9b9(0x172)](this[_0x52f9b9(0x1fe)],_0x4c7c1f);}[_0x6ea34b(0x193)](){const _0x2f64e4=_0x6ea34b,_0x2ca860=this[_0x2f64e4(0x16d)][_0x2f64e4(0x251)][_0x2f64e4(0x24b)];this[_0x2f64e4(0x16d)][_0x2f64e4(0x251)][_0x2f64e4(0x24b)]=(..._0x4ba921)=>{const _0x6f375c=_0x2f64e4;if(!_0x4ba921[_0x4ba921[_0x6f375c(0x256)]-0x1][_0x6f375c(0x175)])throw new _0x1a25cc(_0x6f375c(0x196),this);_0x2ca860[_0x6f375c(0x1b1)](this[_0x6f375c(0x16d)][_0x6f375c(0x251)],_0x4ba921);};}[_0x6ea34b(0x1a5)](){const _0x31d9ef=_0x6ea34b;this[_0x31d9ef(0x16d)][_0x31d9ef(0x251)]['on'](_0x31d9ef(0x1bb),(_0x4bc759,[_0x4db109])=>{const _0x4b2738=_0x31d9ef;if(this[_0x4b2738(0x1c4)][_0x4b2738(0x1c1)])throw new _0x1a25cc(_0x4b2738(0x1e0),this);_0x4bc759[_0x4b2738(0x242)](),this[_0x4b2738(0x1f8)]();const _0x21c55d=this[_0x4b2738(0x16d)][_0x4b2738(0x1ca)][_0x4b2738(0x19f)](_0x4b2738(0x25c)),_0x30865f=this[_0x4b2738(0x257)](_0x4db109,_0x21c55d);0x0==_0x30865f[_0x4b2738(0x256)]&&_0x30865f[_0x4b2738(0x213)](new _0x7e3616(0x0)),_0x4bc759[_0x4b2738(0x170)]=this[_0x4b2738(0x1ae)](_0x30865f)[_0x4b2738(0x168)](()=>{const _0x32b74a=_0x4b2738;this[_0x32b74a(0x16d)][_0x32b74a(0x1de)][_0x32b74a(0x19f)](_0x2e1b06)[_0x32b74a(0x245)](this),this[_0x32b74a(0x16d)][_0x32b74a(0x251)][_0x32b74a(0x203)](_0x32b74a(0x187));})[_0x4b2738(0x22f)](_0x3885cf=>this[_0x4b2738(0x252)](_0x4b2738(0x1da),_0x3885cf))[_0x4b2738(0x195)](()=>this[_0x4b2738(0x1a0)]());},{'priority':_0x31d9ef(0x263)}),this[_0x31d9ef(0x16d)]['on'](_0x31d9ef(0x20c),async(_0x305097,[_0x511646,_0x2fe20f])=>{const _0x4d8d8a=_0x31d9ef;_0x305097[_0x4d8d8a(0x242)]();const _0x5b5b08=this[_0x4d8d8a(0x16d)][_0x4d8d8a(0x22d)][_0x4d8d8a(0x18e)][_0x4d8d8a(0x25b)](_0x511646);if(!this[_0x4d8d8a(0x232)][_0x4d8d8a(0x173)](_0x511646)){const _0x340ac7=_0x2fe20f&&_0x2fe20f[_0x4d8d8a(0x251)]?_0x2fe20f[_0x4d8d8a(0x251)]:'',_0x241f17=_0x2fe20f&&_0x2fe20f[_0x4d8d8a(0x1d0)]?_0x2fe20f[_0x4d8d8a(0x1d0)]:{};await this[_0x4d8d8a(0x253)](_0x511646,_0x340ac7,_0x241f17);}this[_0x4d8d8a(0x16d)][_0x4d8d8a(0x22d)][_0x4d8d8a(0x1e3)]({'isUndoable':!0x1},()=>{const _0x3ca3ea=_0x4d8d8a;_0x5b5b08[_0x3ca3ea(0x1a3)]=!0x0,this[_0x3ca3ea(0x16d)][_0x3ca3ea(0x22d)][_0x3ca3ea(0x18e)][_0x3ca3ea(0x20b)][_0x3ca3ea(0x249)](_0x5b5b08);});},{'priority':_0x31d9ef(0x263)});}async[_0x6ea34b(0x222)](_0x2efd9e){const _0x3fdf6c=_0x6ea34b,_0x5cf05d=this[_0x3fdf6c(0x16d)][_0x3fdf6c(0x1de)][_0x3fdf6c(0x19f)](_0x27ec6b),{connection:_0x2aec41}=this[_0x3fdf6c(0x16d)][_0x3fdf6c(0x1de)][_0x3fdf6c(0x19f)](_0x2e1b06),_0x1e51a4=new Set();for(const _0x41f8dc of _0x2efd9e){const _0x412bf5=_0x41f8dc[_0x3fdf6c(0x1b5)];_0x412bf5&&!_0x5cf05d[_0x3fdf6c(0x180)](_0x412bf5)&&_0x1e51a4[_0x3fdf6c(0x247)](_0x412bf5);}if(0x0===_0x1e51a4[_0x3fdf6c(0x188)])return;const _0x1435b6=await _0x1d938d[_0x3fdf6c(0x25a)](_0x2aec41,Array[_0x3fdf6c(0x25f)](_0x1e51a4));for(const _0x122688 of _0x1435b6)_0x5cf05d[_0x3fdf6c(0x180)](_0x122688['id'])||_0x5cf05d[_0x3fdf6c(0x183)](_0x122688);}[_0x6ea34b(0x257)](_0x3786bd,_0x58b28e={}){const _0x51eacc=_0x6ea34b,_0x4bb56e=this[_0x51eacc(0x16d)][_0x51eacc(0x22d)],_0x1da79c=[];let _0x28a345=0x0;const _0x135462=_0x51eacc(0x209)==typeof _0x3786bd?{'main':_0x3786bd}:_0x3786bd;for(const _0x45e8c6 of Object[_0x51eacc(0x184)](_0x135462)){if(!this[_0x51eacc(0x1c4)][_0x51eacc(0x1f2)][_0x51eacc(0x173)](_0x45e8c6))throw new _0x1a25cc(_0x51eacc(0x216),this);const _0x10a51e=this[_0x51eacc(0x16d)][_0x51eacc(0x251)][_0x51eacc(0x1ee)](_0x135462[_0x45e8c6]),_0x108e71=this[_0x51eacc(0x1c4)][_0x51eacc(0x25b)](_0x45e8c6),_0x24974b=new _0x3d873e(_0x4bb56e[_0x51eacc(0x266)](_0x108e71,0x0),_0x10a51e,_0x28a345++);_0x1da79c[_0x51eacc(0x213)](_0x24974b);for(const [_0x5adfcc,_0x106726]of _0x10a51e[_0x51eacc(0x1c8)]){const _0x42260c=_0x4bb56e[_0x51eacc(0x262)](_0x4bb56e[_0x51eacc(0x1fa)](_0x108e71,_0x106726[_0x51eacc(0x20d)][_0x51eacc(0x225)][_0x51eacc(0x1fc)]()),_0x4bb56e[_0x51eacc(0x1fa)](_0x108e71,_0x106726[_0x51eacc(0x1af)][_0x51eacc(0x225)][_0x51eacc(0x1fc)]())),_0x453ef3=new _0x2a381c(_0x5adfcc,null,_0x42260c,_0x4bb56e[_0x51eacc(0x1c8)],!0x0,_0x28a345++);_0x1da79c[_0x51eacc(0x213)](_0x453ef3);}}if(_0x58b28e)for(const [_0x38f312,_0xa4f292]of Object[_0x51eacc(0x18c)](_0x58b28e)){const _0x3c2830=_0x4bb56e[_0x51eacc(0x18e)][_0x51eacc(0x25b)](_0x38f312);if(!_0x3c2830)throw new _0x1a25cc(_0x51eacc(0x201),null);for(const [_0x3fe1a8,_0x333d1b]of Object[_0x51eacc(0x18c)](_0xa4f292))if(null!==_0x333d1b){const _0x10874c=new _0x4f77ee(_0x3c2830,_0x3fe1a8,null,_0x333d1b,_0x28a345++);_0x1da79c[_0x51eacc(0x213)](_0x10874c);}}return _0x1da79c;}async[_0x6ea34b(0x253)](_0x4f7785,_0x1abc54,_0x3481d4){const _0x342bb8=_0x6ea34b;this[_0x342bb8(0x257)]({[_0x4f7785]:_0x1abc54},{[_0x4f7785]:_0x3481d4})[_0x342bb8(0x268)]((_0x490c3c,_0x393807)=>{const _0x1a0710=_0x342bb8;_0x490c3c[_0x1a0710(0x179)]=this[_0x1a0710(0x1c4)][_0x1a0710(0x1c1)]+_0x393807,_0x490c3c[_0x1a0710(0x261)]=!0x0,this[_0x1a0710(0x16b)](_0x490c3c);}),this[_0x342bb8(0x226)](),await this[_0x342bb8(0x1cb)]();}async[_0x6ea34b(0x17e)](_0xe06450,_0x1e546b){const _0x44b299=_0x6ea34b;let _0x5acb12;this[_0x44b299(0x235)]=_0xe06450[_0x44b299(0x224)];const _0x10f633=_0xe06450[_0x44b299(0x1e6)]&&!_0xe06450[_0x44b299(0x1dc)],_0x2b05eb=_0x10f633?0x0:_0xe06450[_0x44b299(0x251)][_0x44b299(0x179)];if(_0x1e546b[_0x44b299(0x268)](_0x39260e=>{const _0x275478=_0x44b299;_0x39260e[_0x275478(0x261)]=!0x0,_0x39260e[_0x275478(0x1b7)]=_0xe06450[_0x275478(0x248)],_0x39260e[_0x275478(0x1b5)]=null;}),_0x10f633)_0x5acb12=_0x1e546b,this[_0x44b299(0x244)](_0x5acb12,_0x10f633);else{if(_0xe06450[_0x44b299(0x1dc)]){const _0x5100a3=this[_0x44b299(0x257)](_0xe06450[_0x44b299(0x1dc)]);this[_0x44b299(0x1c4)][_0x44b299(0x229)][_0x44b299(0x1c1)]=-_0x5100a3[_0x44b299(0x256)],_0x5100a3[_0x44b299(0x268)](_0x11f955=>{const _0x5b2a99=_0x44b299;_0x11f955[_0x5b2a99(0x179)]-=_0x5100a3[_0x5b2a99(0x256)],_0x11f955[_0x5b2a99(0x1b7)]=_0xe06450[_0x5b2a99(0x248)],_0x11f955[_0x5b2a99(0x261)]=!0x0,_0x11f955[_0x5b2a99(0x1b5)]=null;}),this[_0x44b299(0x244)](_0x5100a3,!0x0),this[_0x44b299(0x204)][_0x44b299(0x1c1)]=-_0x5100a3[_0x44b299(0x256)]+this[_0x44b299(0x235)],this[_0x44b299(0x185)](_0x5100a3);}this[_0x44b299(0x1c4)][_0x44b299(0x229)][_0x44b299(0x1c1)]=_0x2b05eb,_0x5acb12=this[_0x44b299(0x1c3)](_0xe06450[_0x44b299(0x251)],_0xe06450[_0x44b299(0x239)]),await this[_0x44b299(0x222)](_0x5acb12),this[_0x44b299(0x244)](_0x5acb12,_0x10f633);}_0xe06450[_0x44b299(0x207)]&&(this[_0x44b299(0x1e8)][_0x44b299(0x23b)](_0x5acb12,_0xe06450[_0x44b299(0x207)]),this[_0x44b299(0x223)]=_0xe06450[_0x44b299(0x207)]),this[_0x44b299(0x204)][_0x44b299(0x1c1)]=_0x2b05eb+this[_0x44b299(0x235)],this[_0x44b299(0x185)](_0x5acb12),_0x1e546b[_0x44b299(0x18a)](_0x3e5c00=>{const _0x46c8d8=_0x44b299,_0x2c5ca2=this[_0x46c8d8(0x20e)](_0x3e5c00);return _0x2c5ca2&&!this[_0x46c8d8(0x232)][_0x46c8d8(0x173)](_0x2c5ca2);})[_0x44b299(0x268)]((_0x2f7f4f,_0x2786df)=>{const _0x3dbfad=_0x44b299;_0x2f7f4f[_0x3dbfad(0x179)]=this[_0x3dbfad(0x1c4)][_0x3dbfad(0x1c1)]+_0x2786df,this[_0x3dbfad(0x16b)](_0x2f7f4f);}),this[_0x44b299(0x189)]()?(this[_0x44b299(0x1a6)]=0x0,this[_0x44b299(0x226)](!0x0),await this[_0x44b299(0x1cb)]()):(this[_0x44b299(0x181)]=!0x1,this[_0x44b299(0x1a0)]());}[_0x6ea34b(0x252)](_0x20f7c4,_0x568b83){const _0x46e055=_0x6ea34b,_0xe334cd=_0x568b83&&_0x568b83[_0x46e055(0x19c)];if(_0xe334cd&&_0xe334cd[_0x46e055(0x22b)](_0x46e055(0x19a)))throw _0x568b83;const _0x4df898=this[_0x46e055(0x16d)][_0x46e055(0x1de)][_0x46e055(0x19f)](_0x2e1b06);throw this[_0x46e055(0x181)]=!0x0,_0x4df898[_0x46e055(0x177)](),this[_0x46e055(0x16d)][_0x46e055(0x1bc)](_0x46e055(0x21a)),new _0x1a25cc(_0x20f7c4,this[_0x46e055(0x16d)],_0xe334cd?{'originalError':_0xe334cd}:void 0x0);}[_0x6ea34b(0x16b)](_0x1542c6){const _0x5a8e2b=_0x6ea34b;this[_0x5a8e2b(0x238)][_0x5a8e2b(0x173)](_0x1542c6)||(this[_0x5a8e2b(0x238)][_0x5a8e2b(0x247)](_0x1542c6),this[_0x5a8e2b(0x1e1)][_0x5a8e2b(0x213)](_0x1542c6),this[_0x5a8e2b(0x1fb)]||_0x5a8e2b(0x241)==_0x1542c6[_0x5a8e2b(0x1c2)]&&!_0x1542c6[_0x5a8e2b(0x212)]||this[_0x5a8e2b(0x1f8)]());}[_0x6ea34b(0x226)](_0x2fef0f=!0x1){const _0x5f5263=_0x6ea34b;!_0x2fef0f&&this[_0x5f5263(0x181)]||(this[_0x5f5263(0x181)]=!0x0,clearTimeout(this[_0x5f5263(0x1f5)]),this[_0x5f5263(0x1f5)]=setTimeout(()=>{const _0xfc4271=_0x5f5263;this[_0xfc4271(0x265)]()[_0xfc4271(0x168)](_0x394cf9=>{const _0x33c87f=_0xfc4271;_0x394cf9&&(this[_0x33c87f(0x1a0)](),this[_0x33c87f(0x181)]=!0x1);})[_0xfc4271(0x22f)](_0x49a0bb=>{const _0x462caa=_0xfc4271;this[_0x462caa(0x1a0)](),this[_0x462caa(0x181)]=!0x1,function(_0x11152f){const _0x4cfc1e=_0x462caa;return _0x11152f[_0x4cfc1e(0x19c)][_0x4cfc1e(0x22b)](_0x4cfc1e(0x186))||_0x11152f[_0x4cfc1e(0x19c)][_0x4cfc1e(0x22b)](_0x4cfc1e(0x191))||_0x11152f[_0x4cfc1e(0x19c)][_0x4cfc1e(0x22b)](_0x4cfc1e(0x1d4));}(_0x49a0bb)||this[_0x462caa(0x252)](_0x49a0bb[_0x462caa(0x19c)],_0x49a0bb);});},this[_0x5f5263(0x1a6)]));}[_0x6ea34b(0x1cb)](){return new Promise(_0x3a2863=>{const _0x4ef722=_0x5b24;this['on'](_0x4ef722(0x17a),()=>{_0x3a2863();});});}async[_0x6ea34b(0x265)](){const _0x30cfe9=_0x6ea34b,_0x490ac5=this[_0x30cfe9(0x16d)][_0x30cfe9(0x1de)][_0x30cfe9(0x19f)](_0x326333);if(this[_0x30cfe9(0x23f)]()&&(_0x490ac5[_0x30cfe9(0x1e4)](),this[_0x30cfe9(0x17c)]=!0x1),!this[_0x30cfe9(0x189)]())return!0x0;const _0x33d146=[...this[_0x30cfe9(0x1e1)]];for(const _0x2055d9 of _0x33d146)_0x2055d9[_0x30cfe9(0x24a)]=this[_0x30cfe9(0x1c4)][_0x30cfe9(0x229)][_0x30cfe9(0x1e9)](_0x2055d9);const _0x18e471=this[_0x30cfe9(0x1e8)][_0x30cfe9(0x21b)](_0x33d146),_0x1f7ac5=K++,_0x32c0b5=this[_0x30cfe9(0x246)](_0x33d146),_0xc30f0a=await this[_0x30cfe9(0x17d)][_0x30cfe9(0x1ac)](_0x32c0b5,_0x32c0b5[_0x30cfe9(0x179)],_0x18e471);try{return await this[_0x30cfe9(0x1ad)](_0x33d146,_0xc30f0a,_0x1f7ac5);}catch(_0x47c4da){return this[_0x30cfe9(0x252)](_0x30cfe9(0x18d),_0x47c4da);}}async[_0x6ea34b(0x1ad)](_0x345910,_0x129930,_0x2617e1){const _0x5e94db=_0x6ea34b;if(_0x5e94db(0x166)in _0x129930)throw _0x129930[_0x5e94db(0x166)];let _0x26cd3f=!0x1;if(_0x129930[_0x5e94db(0x1e6)]){_0x129930[_0x5e94db(0x207)]&&(this[_0x5e94db(0x223)]=_0x129930[_0x5e94db(0x207)]),this[_0x5e94db(0x1e1)]=this[_0x5e94db(0x1e1)][_0x5e94db(0x18a)](_0x2b4cea=>!_0x345910[_0x5e94db(0x1f1)](_0x2b4cea));for(const _0xb6397d of _0x345910)_0xb6397d[_0x5e94db(0x1b7)]=_0x5e94db(0x1a8)in _0x129930&&_0x129930[_0x5e94db(0x1a8)]||void 0x0;Q(_0x345910,_0x129930[_0x5e94db(0x1c1)]-_0x345910[_0x5e94db(0x256)]),this[_0x5e94db(0x185)](_0x345910);const _0x481f99=_0x345910[_0x5e94db(0x18a)](_0x4e215d=>{const _0x2442bb=_0x5e94db;if(!_0x4e215d[_0x2442bb(0x261)])return!0x1;const _0x5ecc60=this[_0x2442bb(0x20e)](_0x4e215d);return _0x5ecc60&&!this[_0x2442bb(0x232)][_0x2442bb(0x173)](_0x5ecc60);});Q(_0x481f99,this[_0x5e94db(0x1c4)][_0x5e94db(0x1c1)]),this[_0x5e94db(0x244)](_0x481f99),_0x26cd3f=!0x0,this[_0x5e94db(0x1a6)]=this[_0x5e94db(0x1df)];}else{const _0x470904=this[_0x5e94db(0x1c3)](_0x129930[_0x5e94db(0x251)],_0x129930[_0x5e94db(0x239)])[_0x5e94db(0x18a)](_0x3a5e35=>_0x3a5e35[_0x5e94db(0x179)]>=this[_0x5e94db(0x19e)]);_0x470904[_0x5e94db(0x268)](_0x1f70d4=>this[_0x5e94db(0x1b4)](_0x1f70d4)),this[_0x5e94db(0x1e1)]=this[_0x5e94db(0x1e1)][_0x5e94db(0x18a)](_0x391c06=>!_0x391c06[_0x5e94db(0x261)]||!this[_0x5e94db(0x232)][_0x5e94db(0x173)](this[_0x5e94db(0x20e)](_0x391c06))),this[_0x5e94db(0x1e1)][_0x5e94db(0x256)]&&Q(this[_0x5e94db(0x1e1)],this[_0x5e94db(0x1e1)][0x0][_0x5e94db(0x179)]),await this[_0x5e94db(0x222)](_0x470904),_0x26cd3f=this[_0x5e94db(0x23a)](_0x470904,_0x129930[_0x5e94db(0x1c1)],_0x129930[_0x5e94db(0x207)]),this[_0x5e94db(0x1a6)]=Math[_0x5e94db(0x1c7)](this[_0x5e94db(0x1a6)]/0x2);}return _0x26cd3f?!this[_0x5e94db(0x189)]()||(this[_0x5e94db(0x226)](!0x0),!0x1):this[_0x5e94db(0x252)](_0x5e94db(0x199));}[_0x6ea34b(0x23a)](_0x461816,_0x3a2a00,_0x5d099c){const _0x2592d9=_0x6ea34b;try{const _0xe7e9e8={'document':this[_0x2592d9(0x1c4)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x9163aa,operationsB:_0x4f0f5a,originalOperations:_0x494b49}=_0x381f16(_0x461816,this[_0x2592d9(0x1e1)],_0xe7e9e8);Q(_0x9163aa,this[_0x2592d9(0x1c4)][_0x2592d9(0x1c1)]),Q(_0x4f0f5a,_0x3a2a00);for(const _0x37f645 of _0x9163aa){const _0x27efb5=_0x494b49[_0x2592d9(0x19f)](_0x37f645);_0x37f645[_0x2592d9(0x1b5)]=_0x27efb5?_0x27efb5[_0x2592d9(0x1b5)]:null;}_0x5d099c&&(this[_0x2592d9(0x1e8)][_0x2592d9(0x23b)](_0x461816,_0x5d099c),this[_0x2592d9(0x223)]=_0x5d099c),this[_0x2592d9(0x1e1)]=[..._0x4f0f5a],this[_0x2592d9(0x244)](_0x9163aa),this[_0x2592d9(0x185)](_0x461816);}catch(_0x17bc0b){return console[_0x2592d9(0x166)](_0x17bc0b),!0x1;}return!0x0;}[_0x6ea34b(0x244)](_0x5835f3,_0x4706df=!0x1){const _0x388822=_0x6ea34b;this[_0x388822(0x16d)][_0x388822(0x22d)][_0x388822(0x1e3)]({'isUndoable':!0x1,'isLocal':!0x1},_0x34a9c8=>{const _0x24133d=_0x388822;for(const _0x2faa21 of _0x5835f3)this[_0x24133d(0x238)][_0x24133d(0x247)](_0x2faa21),this[_0x24133d(0x1b4)](_0x2faa21),_0x34a9c8[_0x24133d(0x1a9)][_0x24133d(0x23d)](_0x2faa21),this[_0x24133d(0x16d)][_0x24133d(0x22d)][_0x24133d(0x24c)](_0x2faa21);});}[_0x6ea34b(0x1b4)](_0x31da47){const _0x1a7010=_0x6ea34b,_0x2fc5bd=this[_0x1a7010(0x20e)](_0x31da47);_0x2fc5bd&&this[_0x1a7010(0x232)][_0x1a7010(0x247)](_0x2fc5bd);}[_0x6ea34b(0x20e)](_0x56e160){const _0x26643e=_0x6ea34b;let _0x1f5fd4,_0x2a326b;switch(_0x56e160[_0x26643e(0x1c2)]){case _0x26643e(0x21d):_0x1f5fd4=_0x56e160[_0x26643e(0x1f0)][_0x26643e(0x1ed)];break;case _0x26643e(0x241):if(_0x2a326b=_0x56e160[_0x26643e(0x1bf)],!_0x2a326b)return null;_0x1f5fd4=_0x2a326b[_0x26643e(0x1ed)];break;case _0x26643e(0x240):_0x1f5fd4=_0x56e160[_0x26643e(0x1ed)];break;case _0x26643e(0x1c9):_0x1f5fd4=_0x56e160[_0x26643e(0x217)];break;case _0x26643e(0x1d2):_0x1f5fd4=_0x56e160[_0x26643e(0x16c)][_0x26643e(0x1ed)];break;default:return null;}return _0x1f5fd4[_0x26643e(0x237)];}[_0x6ea34b(0x185)](_0x1de309){const _0x4285a1=_0x6ea34b;_0x1de309[_0x4285a1(0x268)](_0x12462f=>{const _0x3083c9=_0x4285a1,_0x354083=_0x12462f[_0x3083c9(0x215)]();_0x354083[_0x3083c9(0x1b5)]=_0x12462f[_0x3083c9(0x1b5)],_0x354083[_0x3083c9(0x261)]=!!_0x12462f[_0x3083c9(0x261)],_0x354083[_0x3083c9(0x1b7)]=_0x12462f[_0x3083c9(0x1b7)],_0x354083[_0x3083c9(0x179)]+=this[_0x3083c9(0x235)],_0x12462f[_0x3083c9(0x218)]&&this[_0x3083c9(0x1d7)][_0x3083c9(0x247)](_0x354083),this[_0x3083c9(0x204)][_0x3083c9(0x23d)](_0x354083);});}[_0x6ea34b(0x1cc)](_0x4ff014){const _0x1b5676=_0x6ea34b,_0x176308=this[_0x1b5676(0x16d)][_0x1b5676(0x1de)][_0x1b5676(0x19f)](_0x1b5676(0x1f6)),_0x18d1e8=this[_0x1b5676(0x16d)][_0x1b5676(0x1b9)];_0x4ff014||(_0x4ff014=_0x46bc2c(_0x18d1e8,_0x1b5676(0x16e))),_0x176308[_0x1b5676(0x1a2)](_0x4ff014,{'title':_0x46bc2c(_0x18d1e8,_0x1b5676(0x20a)),'namespace':_0x1b5676(0x1ab)}),this[_0x1b5676(0x1a4)]=!0x0,clearTimeout(this[_0x1b5676(0x1f5)]),this[_0x1b5676(0x1e1)]=[],this[_0x1b5676(0x16d)][_0x1b5676(0x1de)][_0x1b5676(0x19f)](_0x2e1b06)[_0x1b5676(0x177)]();}[_0x6ea34b(0x1f8)](){const _0x11feee=_0x6ea34b;this[_0x11feee(0x1fb)]||(this[_0x11feee(0x1fb)]=this[_0x11feee(0x16d)][_0x11feee(0x1de)][_0x11feee(0x19f)](_0x441889)[_0x11feee(0x247)](_0x46bc2c(this[_0x11feee(0x16d)][_0x11feee(0x1b9)],_0x11feee(0x233))));}[_0x6ea34b(0x1a0)](){const _0x1c49ab=_0x6ea34b;this[_0x1c49ab(0x1fb)]&&(this[_0x1c49ab(0x16d)][_0x1c49ab(0x1de)][_0x1c49ab(0x19f)](_0x441889)[_0x1c49ab(0x1ff)](this[_0x1c49ab(0x1fb)]),this[_0x1c49ab(0x1fb)]=null);}[_0x6ea34b(0x246)](_0x542942){const _0x1c00b8=_0x6ea34b,_0x4c4154=_0x542942[_0x1c00b8(0x206)](_0x421e70=>_0x421e70[_0x1c00b8(0x198)]());return this[_0x1c00b8(0x169)][_0x1c00b8(0x214)](_0x4c4154);}[_0x6ea34b(0x1c3)](_0x5d954c,_0x48b3a2){const _0x2b1f9b=_0x6ea34b;return this[_0x2b1f9b(0x169)][_0x2b1f9b(0x236)](_0x5d954c)[_0x2b1f9b(0x206)]((_0xa60c9a,_0x5b05fa)=>{const _0x19a8ad=_0x2b1f9b,_0x3b035e=_0x19a8ad(0x1bb)==_0x48b3a2[_0x5b05fa][_0x19a8ad(0x1c2)];if(_0x19a8ad(0x243)==_0xa60c9a[_0x19a8ad(0x1a7)]){const _0x4d9db6=_0xa60c9a[_0x19a8ad(0x1f0)][_0x19a8ad(0x1ed)];!this[_0x19a8ad(0x1c4)][_0x19a8ad(0x25b)](_0x4d9db6)&&(this[_0x19a8ad(0x1c4)][_0x19a8ad(0x231)](_0x19a8ad(0x22a),_0x4d9db6)[_0x19a8ad(0x21c)]=!0x1);}const _0x183bfe=_0x3a5ee9[_0x19a8ad(0x1e5)](_0xa60c9a,this[_0x19a8ad(0x1c4)]);return _0x183bfe[_0x19a8ad(0x24a)]=_0xa60c9a[_0x19a8ad(0x24a)],_0x183bfe[_0x19a8ad(0x261)]=_0x3b035e,_0x183bfe[_0x19a8ad(0x1b5)]=_0x3b035e?null:_0x48b3a2[_0x5b05fa][_0x19a8ad(0x1f9)],_0x183bfe[_0x19a8ad(0x218)]=_0x19a8ad(0x24d)===_0x48b3a2[_0x5b05fa][_0x19a8ad(0x1c2)],_0x183bfe[_0x19a8ad(0x1b7)]=_0x48b3a2[_0x5b05fa][_0x19a8ad(0x1b7)],_0x183bfe;});}[_0x6ea34b(0x1ce)](){const _0x4fdc36=_0x6ea34b;this[_0x4fdc36(0x17c)]=!0x0,this[_0x4fdc36(0x23f)]()?this[_0x4fdc36(0x226)]():this[_0x4fdc36(0x17c)]=!0x1;}[_0x6ea34b(0x23f)](){const _0x1a8a26=_0x6ea34b,_0x3570e0=this[_0x1a8a26(0x16d)][_0x1a8a26(0x1de)][_0x1a8a26(0x19f)](_0x429af9)[_0x1a8a26(0x255)][_0x1a8a26(0x19f)](this[_0x1a8a26(0x1fe)]);return!this[_0x1a8a26(0x16d)][_0x1a8a26(0x190)]&&!!_0x3570e0&&_0x3570e0[_0x1a8a26(0x256)]>0x1&&this[_0x1a8a26(0x17c)];}[_0x6ea34b(0x189)](){const _0x1f4b94=_0x6ea34b;return this[_0x1f4b94(0x1e1)][_0x1f4b94(0x256)]>0x0||this[_0x1f4b94(0x23f)]();}}function _0x5b24(_0x54d04c,_0xf62cab){const _0x20c09e=_0x20c0();return _0x5b24=function(_0x5b2467,_0x1b9011){_0x5b2467=_0x5b2467-0x165;let _0xc96bdf=_0x20c09e[_0x5b2467];return _0xc96bdf;},_0x5b24(_0x54d04c,_0xf62cab);}l[_0x6ea34b(0x258)]=_0x22dbf4;export default l;class J extends Error{}function Q(_0x4c9c3f,_0x2a8a50){const _0x1f85ff=_0x6ea34b;for(const _0x2b591b of _0x4c9c3f)_0x2b591b[_0x1f85ff(0x179)]=_0x2a8a50++;}class X{constructor(_0x24e981){const _0x291fa1=_0x6ea34b;this[_0x291fa1(0x1d1)]=_0x24e981,this[_0x291fa1(0x1c6)]=new WeakMap();}[_0x6ea34b(0x21b)](_0x387436){const _0xc809e6=_0x6ea34b;let _0x24463e=_0x387436[_0xc809e6(0x256)];for(;_0x24463e--;){const _0xc3d563=_0x387436[_0x24463e];if(!this[_0xc809e6(0x1d1)][_0xc809e6(0x173)](_0xc3d563)){if(!this[_0xc809e6(0x1c6)][_0xc809e6(0x173)](_0xc3d563)){const _0x44ebe0=_0x471482()[_0xc809e6(0x1fc)](0x1,0x12);this[_0xc809e6(0x1c6)][_0xc809e6(0x24b)](_0xc3d563,_0x44ebe0);}return this[_0xc809e6(0x1c6)][_0xc809e6(0x19f)](_0xc3d563);}}}[_0x6ea34b(0x23b)](_0x4943b8,_0x2e4b4b){const _0x167b18=_0x6ea34b;if(!_0x2e4b4b)return;let _0x47e3ea=_0x4943b8[_0x167b18(0x256)];for(;_0x47e3ea--;){const _0x2cbf55=_0x4943b8[_0x47e3ea];this[_0x167b18(0x1d1)][_0x167b18(0x173)](_0x2cbf55)||this[_0x167b18(0x1c6)][_0x167b18(0x24b)](_0x2cbf55,_0x2e4b4b);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2bdf(_0x285c6d,_0x19d469){const _0x127f8e=_0x127f();return _0x2bdf=function(_0x2bdffc,_0x43bcbf){_0x2bdffc=_0x2bdffc-0x8f;let _0x291363=_0x127f8e[_0x2bdffc];return _0x291363;},_0x2bdf(_0x285c6d,_0x19d469);}const _0x5bb901=_0x2bdf;(function(_0x3a48b2,_0x24485d){const _0x570765=_0x2bdf,_0x5b85cd=_0x3a48b2();while(!![]){try{const _0x232072=-parseInt(_0x570765(0x94))/0x1*(-parseInt(_0x570765(0xb8))/0x2)+-parseInt(_0x570765(0xa7))/0x3+parseInt(_0x570765(0x95))/0x4+-parseInt(_0x570765(0xac))/0x5+parseInt(_0x570765(0xca))/0x6+parseInt(_0x570765(0xa9))/0x7*(parseInt(_0x570765(0x9b))/0x8)+parseInt(_0x570765(0xb1))/0x9*(parseInt(_0x570765(0x9d))/0xa);if(_0x232072===_0x24485d)break;else _0x5b85cd['push'](_0x5b85cd['shift']());}catch(_0x2c0006){_0x5b85cd['push'](_0x5b85cd['shift']());}}}(_0x127f,0x8770e));import{ContextPlugin as _0x2df08e}from'ckeditor5/src/core.js';import{Collection as _0x1cde56,CKEditorError as _0x137376}from'ckeditor5/src/utils.js';import _0x37bd6b from'./websocketgateway.js';import{Users as _0x12b7f9}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x2df08e{static get[_0x5bb901(0x90)](){const _0x297bb7=_0x5bb901;return _0x297bb7(0xa0);}static get[_0x5bb901(0xa2)](){return!0x0;}static get[_0x5bb901(0xcb)](){return!0x0;}static get[_0x5bb901(0xc9)](){return[_0x37bd6b,_0x12b7f9];}constructor(_0x1d249d){const _0x204d9d=_0x5bb901;super(_0x1d249d),this[_0x204d9d(0x92)]=new Map(),this[_0x204d9d(0xad)]=new Map(),this[_0x204d9d(0x93)]=new _0x1cde56(),this[_0x204d9d(0xb3)]=new Map(),this[_0x204d9d(0xa8)]=0x0,this[_0x204d9d(0xc1)]=this[_0x204d9d(0x8f)][_0x204d9d(0xa1)][_0x204d9d(0xb9)](_0x12b7f9);}[_0x5bb901(0xc2)](){const _0x529f36=_0x5bb901,_0x87450d=this[_0x529f36(0x8f)][_0x529f36(0xa1)][_0x529f36(0xb9)](_0x37bd6b);this[_0x529f36(0xb5)](_0x87450d,_0x529f36(0x91),(_0x2fd0c6,_0x512559,_0x39a832)=>{const _0x227b72=_0x529f36;if(_0x227b72(0xa3)!==_0x39a832)this[_0x227b72(0x92)][_0x227b72(0x98)](_0x1c721d=>_0x1c721d[_0x227b72(0xc5)]()),this[_0x227b72(0xad)][_0x227b72(0x98)](_0xc43832=>_0xc43832[_0x227b72(0xc5)]()),this[_0x227b72(0x93)][_0x227b72(0xc5)]();else{for(const [_0x5568c4,_0x3b58a0]of this[_0x227b72(0xb3)])for(const _0x126b48 of _0x3b58a0)this[_0x227b72(0xaf)](_0x5568c4,_0x126b48);}}),this[_0x529f36(0xbe)](_0x87450d[_0x529f36(0xb7)]['me'],!0x0);}[_0x5bb901(0xbd)](_0x86ddaf,_0x682ad6){const _0x22083b=_0x5bb901;if(this[_0x22083b(0xb3)][_0x22083b(0xba)](_0x86ddaf))throw new _0x137376(_0x22083b(0xb2),null,{'channelId':_0x86ddaf});this[_0x22083b(0xb3)][_0x22083b(0xc4)](_0x86ddaf,_0x682ad6),this[_0x22083b(0x92)][_0x22083b(0xc4)](_0x86ddaf,new _0x1cde56()),this[_0x22083b(0xad)][_0x22083b(0xc4)](_0x86ddaf,new _0x1cde56()),this[_0x22083b(0xb5)](_0x682ad6,_0x22083b(0xc8),(_0x243e60,_0x3dd930)=>this[_0x22083b(0xaf)](_0x86ddaf,_0x3dd930)),this[_0x22083b(0xb5)](_0x682ad6,_0x22083b(0x97),(_0x56aa83,_0x1d53bf)=>this[_0x22083b(0xc7)](_0x86ddaf,_0x1d53bf));for(const _0x29aba4 of _0x682ad6)this[_0x22083b(0xaf)](_0x86ddaf,_0x29aba4);}[_0x5bb901(0x9a)](_0x320dad){const _0x257776=_0x5bb901;if(!this[_0x257776(0xb3)][_0x257776(0xba)](_0x320dad))throw new _0x137376(_0x257776(0xa6),null,{'channelId':_0x320dad});const _0x37d2cb=this[_0x257776(0xb3)][_0x257776(0xb9)](_0x320dad);this[_0x257776(0xb6)](_0x37d2cb);for(const _0x577a7c of _0x37d2cb)_0x257776(0xa3)===this[_0x257776(0x8f)][_0x257776(0xa1)][_0x257776(0xb9)](_0x37bd6b)[_0x257776(0xae)]&&this[_0x257776(0xc7)](_0x320dad,_0x577a7c);this[_0x257776(0xb3)][_0x257776(0xbb)](_0x320dad),this[_0x257776(0x92)][_0x257776(0xbb)](_0x320dad),this[_0x257776(0xad)][_0x257776(0xbb)](_0x320dad);}get[_0x5bb901(0xbc)](){const _0x4a7244=_0x5bb901;return this[_0x4a7244(0x8f)][_0x4a7244(0xa1)][_0x4a7244(0xb9)](_0x37bd6b)[_0x4a7244(0xb7)][_0x4a7244(0x99)];}[_0x5bb901(0xcc)](_0x4e1e91){const _0x2eb187=_0x5bb901;for(const _0x18389a of this[_0x2eb187(0x92)][_0x2eb187(0xab)]())for(const _0x53cea8 of _0x18389a)if(_0x53cea8['id']===_0x4e1e91)return _0x53cea8[_0x2eb187(0xc0)];}[_0x5bb901(0xbf)](_0x3de202,_0x9e1cfa){const _0x3374c1=_0x5bb901,_0x100f80=_0x9e1cfa?[this[_0x3374c1(0x92)][_0x3374c1(0xb9)](_0x9e1cfa)]:this[_0x3374c1(0x92)][_0x3374c1(0xab)](),_0x289bc4=new Set();for(const _0x5e111d of _0x100f80)for(const _0x32b0cf of _0x5e111d)_0x32b0cf[_0x3374c1(0xc0)]['id']===_0x3de202['id']&&_0x289bc4[_0x3374c1(0xc8)](_0x32b0cf['id']);return _0x289bc4;}[_0x5bb901(0x9e)](_0x3942f1){const _0x142851=_0x5bb901;for(const _0x4915e9 of this[_0x142851(0x92)][_0x142851(0xab)]())for(const _0x3e6afd of _0x4915e9)if(_0x3e6afd[_0x142851(0xc0)]===_0x3942f1)return _0x3e6afd[_0x142851(0x96)];}[_0x5bb901(0xaf)](_0x498421,_0x14eb9c){const _0x513954=_0x5bb901;if(_0x513954(0xa3)!==this[_0x513954(0x8f)][_0x513954(0xa1)][_0x513954(0xb9)](_0x37bd6b)[_0x513954(0xae)])return;const _0x5ebcbf=_0x14eb9c[_0x513954(0xc0)],_0x29dbd9=this[_0x513954(0xc1)][_0x513954(0xc6)](_0x5ebcbf['id'])||this[_0x513954(0xbe)](_0x5ebcbf),_0x14cb20=Object[_0x513954(0xc3)]({},_0x14eb9c,{'user':_0x29dbd9});this[_0x513954(0x92)][_0x513954(0xb9)](_0x498421)[_0x513954(0xc8)](_0x14cb20);const _0x192391=this[_0x513954(0xad)][_0x513954(0xb9)](_0x498421);_0x192391[_0x513954(0xba)](_0x29dbd9['id'])||_0x192391[_0x513954(0xc8)](_0x29dbd9),this[_0x513954(0x93)][_0x513954(0xba)](_0x29dbd9['id'])||this[_0x513954(0x93)][_0x513954(0xc8)](_0x29dbd9,_0x29dbd9[_0x513954(0x9c)]?0x0:void 0x0),this[_0x513954(0xa5)](_0x513954(0xaa)+_0x498421,{'channelId':_0x498421,'session':_0x14cb20});}[_0x5bb901(0xc7)](_0x5f151c,_0x565204){const _0x31052e=_0x5bb901;if(_0x31052e(0xa3)!==this[_0x31052e(0x8f)][_0x31052e(0xa1)][_0x31052e(0xb9)](_0x37bd6b)[_0x31052e(0xae)])return;const _0x21bbc7=this[_0x31052e(0xad)][_0x31052e(0xb9)](_0x5f151c),_0x48e505=_0x565204[_0x31052e(0xc0)];_0x48e505['id']&&(this[_0x31052e(0x92)][_0x31052e(0xb9)](_0x5f151c)[_0x31052e(0x97)](_0x565204['id']),_0x21bbc7[_0x31052e(0xba)](_0x48e505['id'])&&!this[_0x31052e(0xbf)](_0x48e505,_0x5f151c)[_0x31052e(0xb4)]&&_0x21bbc7[_0x31052e(0x97)](_0x48e505['id']),this[_0x31052e(0x93)][_0x31052e(0xb9)](_0x48e505['id'])&&!this[_0x31052e(0xbf)](_0x48e505)[_0x31052e(0xb4)]&&this[_0x31052e(0x93)][_0x31052e(0x97)](_0x48e505['id']));}[_0x5bb901(0xbe)](_0x2d49fd,_0x204322){const _0x20c01b=_0x5bb901,_0x25c110=this[_0x20c01b(0xc1)][_0x20c01b(0xb0)](_0x2d49fd);return _0x204322&&this[_0x20c01b(0xc1)][_0x20c01b(0xa4)](_0x2d49fd['id']),_0x25c110[_0x20c01b(0x9f)]=this[_0x20c01b(0xa8)]++,_0x25c110;}}function _0x127f(){const _0x1e891b=['allConnectedUsers','1WELrGv','350596nUcnPd','role','remove','forEach','sessionId','unregister','12392ZXYOkI','isMe','10uHQCYH','getUserRole','orderNumber','Sessions','plugins','isOfficialPlugin','connected','defineMe','fire','sessions-unregister-not-exist','1270602qvScok','_uniqueUsersCount','1337nRAhCn','sessionAdd:','values','2590640TjAtoC','channelConnectedUsers','state','_handleSessionAdd','addUser','8195706sZpRIu','sessions-register-already-registered','_registeredSessions','size','listenTo','stopListening','connection','113782ZWVsvS','get','has','delete','mySessionId','register','_createUser','getUserSessions','user','_users','init','assign','set','clear','getUser','_handleSessionRemove','add','requires','872370aZyvtg','isPremiumPlugin','getUserBySessionId','context','pluginName','change:state','channelSessions'];_0x127f=function(){return _0x1e891b;};return _0x127f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x223472=_0x50f7;(function(_0x134ea0,_0x83a8ee){const _0x364914=_0x50f7,_0x10c7c6=_0x134ea0();while(!![]){try{const _0x50dc22=-parseInt(_0x364914(0x1e1))/0x1*(-parseInt(_0x364914(0x1da))/0x2)+parseInt(_0x364914(0x20a))/0x3*(-parseInt(_0x364914(0x1e3))/0x4)+-parseInt(_0x364914(0x1bc))/0x5+-parseInt(_0x364914(0x1b9))/0x6+parseInt(_0x364914(0x199))/0x7*(-parseInt(_0x364914(0x21b))/0x8)+parseInt(_0x364914(0x200))/0x9*(-parseInt(_0x364914(0x1e2))/0xa)+-parseInt(_0x364914(0x1ee))/0xb*(-parseInt(_0x364914(0x1ac))/0xc);if(_0x50dc22===_0x83a8ee)break;else _0x10c7c6['push'](_0x10c7c6['shift']());}catch(_0x30fb4c){_0x10c7c6['push'](_0x10c7c6['shift']());}}}(_0xad09,0x1d2de));import{Plugin as _0x20cd33}from'ckeditor5/src/core.js';import{global as _0x451763,DomEmitterMixin as _0x36f431}from'ckeditor5/src/utils.js';import _0x4614c0 from'./sessions.js';function _0xad09(){const _0x2bf053=['setCustomProperty','destroy','data-session-id','detach','get','mouseleave','76101ymZHKR','598900HSWPPb','15528spxqph','false','isCollapsed','removeClass','listenTo','type','$graveyard','keydown','conversion','selection','markerRange','246664AfaCXL','marker','user:','contenteditable','hasContent','tableCell','addEventListener','mySessionId','user:position:','isOfficialPlugin','setAttribute','ck-user__marker-tooltip','enqueueChange','applyOperation','getNearestSelectionRange','markerNameToElements','undo','getMarkerClass','18zSwLkh','for','change:range','getRange','view','getStart','spellcheck','schema','update:user:range','commands','21amBTVd','addMarker','markerToElement','getSelectionClass','isSimilar','hasDomSelection','requires','classList','createElement','getContainedElement','updateMarker','batch','model','document','fromRange','getFirstRange','newRange','16tlXfyv','has','root','isInline','afterInit','render','mouseenter','oldRange','getUserBySessionId','rootName','end','776804PBROdD','createUserMarkerOperations','removeMarker','_createdBatches','editing','deletionPosition','isDocumentOperation','editor','highest','outerHTML','toDomElement','start','UserMarkers','color','remove','orderNumber','user:range:','ck-user__marker_hovered','toRange','324uVaxuy','ck-user__marker\x20','set','reconvertMarker','Escape','pluginName','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','markers','user:position','createRange','$text','getAttribute','isLimit','808530ZNlexT','innerHTML','getCustomProperty','672395lFKxXC','stopListening','getPositions','userPositionMarker','change','createUIElement','element','init','markerToHighlight','split','parent','user:range','markerName','nodeAfter','startsWith','textContent','checkChild','isPremiumPlugin','editingDowncast','mapper','clear','name','delete','ck-user__selection','isObject','size','add','_domEmitter','plugins','span','4jpvzIF'];_0xad09=function(){return _0x2bf053;};return _0xad09();}import{LiveRange as _0x3aa1d7}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x20cd33{constructor(){const _0x36fdbb=_0x50f7;super(...arguments),this[_0x36fdbb(0x1d7)]=new(_0x36f431())();}static get[_0x223472(0x210)](){return[_0x4614c0];}static get[_0x223472(0x1b1)](){const _0x2ea7e2=_0x223472;return _0x2ea7e2(0x1a5);}static get[_0x223472(0x1f7)](){return!0x0;}static get[_0x223472(0x1cd)](){return!0x0;}[_0x223472(0x1c3)](){const _0x3c4a13=_0x223472,_0x1b99b5=this[_0x3c4a13(0x1a0)],_0x334df7=_0x1b99b5[_0x3c4a13(0x1d8)][_0x3c4a13(0x1df)](_0x4614c0);_0x1b99b5[_0x3c4a13(0x1eb)][_0x3c4a13(0x201)](_0x3c4a13(0x1ce))[_0x3c4a13(0x20c)]({'model':_0x3c4a13(0x1b4),'view':(_0x32c453,{writer:_0x4a5886})=>function(_0x3b9f70,_0x3390b9,_0x4f0c82,_0x384b0e){const _0x3417d5=_0x3c4a13,_0x1934d2=_0x3b9f70[_0x3417d5(0x1c8)][_0x3417d5(0x1c5)](':')[0x2],_0xf38a82=_0x4f0c82[_0x3417d5(0x196)](_0x1934d2);if(!_0xf38a82||_0x1934d2===_0x4f0c82[_0x3417d5(0x1f5)])return;if(!_0x384b0e[_0x3417d5(0x216)][_0x3417d5(0x207)][_0x3417d5(0x1cc)](_0x3b9f70[_0x3417d5(0x1ed)][_0x3417d5(0x1a4)],_0x3417d5(0x1b6)))return;const _0x4a495a={'class':_0x3417d5(0x1ad)+_0xf38a82[_0x3417d5(0x1a6)][_0x3417d5(0x1ff)](),'data-name':_0xf38a82[_0x3417d5(0x1d1)],'data-session-id':_0x1934d2},_0x298cd1=_0x384b0e[_0x3417d5(0x216)][_0x3417d5(0x1b3)][_0x3417d5(0x1df)](_0x3b9f70[_0x3417d5(0x1c8)]),_0x21ed8e=_0x298cd1[_0x3417d5(0x205)](),_0x550b12=_0x21ed8e[_0x3417d5(0x1c9)],_0x349079=_0x384b0e[_0x3417d5(0x216)][_0x3417d5(0x207)];if(_0x550b12&&_0x349079[_0x3417d5(0x1d4)](_0x550b12)&&_0x349079[_0x3417d5(0x191)](_0x550b12)&&!_0x384b0e[_0x3417d5(0x216)][_0x3417d5(0x1b3)][_0x3417d5(0x1df)](_0x3417d5(0x1a9)+_0x1934d2)[_0x3417d5(0x203)]()[_0x3417d5(0x1e5)])return;const _0x27f36f=_0x21ed8e[_0x3417d5(0x1c6)];return _0x384b0e[_0x3417d5(0x216)][_0x3417d5(0x207)][_0x3417d5(0x1b8)](_0x27f36f)&&!_0x384b0e[_0x3417d5(0x216)][_0x3417d5(0x1f2)](_0x27f36f)&&(_0x4a495a[_0x3417d5(0x1f1)]=!0x1),function(_0x9b87e6,_0x444159,_0x4f41d0){const _0x20cbe6=_0x3417d5,_0xeec20b=_0x9b87e6[_0x20cbe6(0x1c1)](_0x20cbe6(0x1d9),_0x444159);return _0x9b87e6[_0x20cbe6(0x1db)](_0x20cbe6(0x1bf),!0x0,_0xeec20b),_0xeec20b[_0x20cbe6(0x193)]=function(_0x376126){const _0x5796a7=_0x20cbe6,_0x206417=this[_0x5796a7(0x1a3)](_0x376126),_0xe48868=document[_0x5796a7(0x212)](_0x5796a7(0x1d9));return _0xe48868[_0x5796a7(0x211)][_0x5796a7(0x1d6)](_0x5796a7(0x1f9)),_0xe48868[_0x5796a7(0x1f8)](_0x5796a7(0x1f1),_0x5796a7(0x1e4)),_0xe48868[_0x5796a7(0x1f8)](_0x5796a7(0x206),_0x5796a7(0x1e4)),_0xe48868[_0x5796a7(0x1cb)]=_0x4f41d0[_0x5796a7(0x1d1)],_0x206417[_0x5796a7(0x1ba)]=_0x5796a7(0x1b2)+_0xe48868[_0x5796a7(0x1a2)]+'',_0x206417[_0x5796a7(0x1f4)](_0x5796a7(0x194),()=>{const _0x34aebb=_0x5796a7;_0x206417[_0x34aebb(0x211)][_0x34aebb(0x1d6)](_0x34aebb(0x1aa));}),_0x206417[_0x5796a7(0x1f4)](_0x5796a7(0x1e0),()=>{const _0x477659=_0x5796a7;_0x206417[_0x477659(0x211)][_0x477659(0x1a7)](_0x477659(0x1aa));}),_0x206417;},_0xeec20b[_0x20cbe6(0x20e)]=function(_0x1ebb23){const _0x28c3f2=_0x20cbe6;return!(!this[_0x28c3f2(0x1bb)](_0x28c3f2(0x1bf))||!_0x1ebb23[_0x28c3f2(0x1bb)](_0x28c3f2(0x1bf))||this[_0x28c3f2(0x1b7)](_0x28c3f2(0x1dd))!=_0x1ebb23[_0x28c3f2(0x1b7)](_0x28c3f2(0x1dd)));},_0xeec20b;}(_0x3390b9,_0x4a495a,_0xf38a82);}(_0x32c453,_0x4a5886,_0x334df7,_0x1b99b5)}),_0x1b99b5[_0x3c4a13(0x1eb)][_0x3c4a13(0x201)](_0x3c4a13(0x1ce))[_0x3c4a13(0x1c4)]({'model':_0x3c4a13(0x1c7),'view':_0x21d19a=>function(_0x742a14,_0x2a60d7){const _0x3e97bd=_0x3c4a13,_0x7be09f=_0x742a14[_0x3e97bd(0x1c8)][_0x3e97bd(0x1c5)](':')[0x2];if(_0x7be09f===_0x2a60d7[_0x3e97bd(0x1f5)])return null;const _0x5bdbf4=_0x2a60d7[_0x3e97bd(0x196)](_0x7be09f);if(!_0x5bdbf4)return{'id':_0x7be09f,'classes':[]};return{'id':_0x7be09f,'classes':[_0x3e97bd(0x1d3),_0x5bdbf4[_0x3e97bd(0x1a6)][_0x3e97bd(0x20d)]()],'attributes':{'data-session-id':_0x7be09f},'priority':0x7d0+_0x5bdbf4[_0x3e97bd(0x1a8)]};}(_0x21d19a,_0x334df7)}),function(_0x5d7ce6){const _0xd715f9=_0x3c4a13,_0x2cbebb=_0x5d7ce6[_0xd715f9(0x216)],_0x1d0b00=new Map(),_0x20b3b5=_0x5d7ce6[_0xd715f9(0x1d8)][_0xd715f9(0x1df)](_0x4614c0);_0x2cbebb[_0xd715f9(0x1b3)]['on'](_0xd715f9(0x208),(_0x45815f,_0x563984,_0x264b4d,_0x1eedf8)=>{const _0xa974be=_0xd715f9;if(!_0x1eedf8&&_0x1d0b00[_0xa974be(0x1df)](_0x563984[_0xa974be(0x1d1)]))return _0x1d0b00[_0xa974be(0x1df)](_0x563984[_0xa974be(0x1d1)])[_0xa974be(0x1de)](),void _0x1d0b00[_0xa974be(0x1d2)](_0x563984[_0xa974be(0x1d1)]);const _0x5aa420=_0x563984[_0xa974be(0x1d1)][_0xa974be(0x1c5)](':')[0x2];if(_0x5aa420===_0x20b3b5[_0xa974be(0x1f5)])return;const _0xa94210=_0xa974be(0x1f6)+_0x5aa420;_0x2cbebb[_0xa974be(0x1b3)][_0xa974be(0x21c)](_0xa94210)&&_0x5d7ce6[_0xa974be(0x19d)][_0xa974be(0x1af)](_0xa94210),_0x563984['on'](_0xa974be(0x202),(_0x342b7e,_0x189596,_0x38a32f)=>{const _0x2071f7=_0xa974be;if(_0x2071f7(0x1e9)!=_0x189596[_0x2071f7(0x21d)][_0x2071f7(0x197)]&&_0x2071f7(0x1e9)==_0x563984[_0x2071f7(0x203)]()[_0x2071f7(0x21d)][_0x2071f7(0x197)]&&!_0x1d0b00[_0x2071f7(0x21c)](_0x563984[_0x2071f7(0x1d1)])){const _0x39a940=_0x2cbebb[_0x2071f7(0x207)][_0x2071f7(0x1fc)](_0x38a32f[_0x2071f7(0x19e)]);if(_0x39a940){const _0x4666e4=_0x3aa1d7[_0x2071f7(0x218)](_0x39a940);_0x1d0b00[_0x2071f7(0x1ae)](_0x563984[_0x2071f7(0x1d1)],_0x4666e4),_0x4666e4['on'](_0x2071f7(0x202),(_0x5d06ce,_0x2e3903,_0xcbcbe0)=>{const _0x4d19a8=_0x2071f7;if(_0x4d19a8(0x1e9)==_0x4666e4[_0x4d19a8(0x21d)][_0x4d19a8(0x197)]){const _0x2f05b4=_0x2cbebb[_0x4d19a8(0x207)][_0x4d19a8(0x1fc)](_0xcbcbe0[_0x4d19a8(0x19e)]);_0x2f05b4?(_0x4666e4[_0x4d19a8(0x1a4)]=_0x2f05b4[_0x4d19a8(0x1a4)],_0x4666e4[_0x4d19a8(0x198)]=_0x2f05b4[_0x4d19a8(0x198)]):(_0x1d0b00[_0x4d19a8(0x1d2)](_0x563984[_0x4d19a8(0x1d1)]),_0x4666e4[_0x4d19a8(0x1de)]());}});}}});}),_0x2cbebb[_0xd715f9(0x217)]['on'](_0xd715f9(0x1c0),()=>{const _0x4240da=_0xd715f9;_0x1d0b00[_0x4240da(0x1d5)]>0x0&&_0x2cbebb[_0x4240da(0x1fa)]({'isUndoable':!0x1},_0x3cdc58=>{const _0x498664=_0x4240da;for(const [_0x1dfbd6,_0x2137f3]of _0x1d0b00)_0x498664(0x1e9)==_0x2cbebb[_0x498664(0x1b3)][_0x498664(0x1df)](_0x1dfbd6)[_0x498664(0x203)]()[_0x498664(0x21d)][_0x498664(0x197)]&&(re(_0x1dfbd6[_0x498664(0x1c5)](':')[0x2],_0x2137f3[_0x498664(0x1ab)](),_0x2cbebb,_0x3cdc58),_0x2137f3[_0x498664(0x1de)]());_0x1d0b00[_0x498664(0x1d0)]();});});}(_0x1b99b5),this[_0x3c4a13(0x1d7)][_0x3c4a13(0x1e7)](_0x451763[_0x3c4a13(0x217)],_0x3c4a13(0x1ea),(_0x1e934d,{key:_0x4de67c})=>{const _0x13f898=_0x3c4a13;_0x13f898(0x1b0)===_0x4de67c&&function(_0x5bed0c){const _0x7df2c=_0x13f898;_0x5bed0c[_0x7df2c(0x19d)][_0x7df2c(0x204)][_0x7df2c(0x1c0)](_0x2b821f=>{const _0x2bdfd4=_0x7df2c;for(const _0x13bbd8 of _0x5bed0c[_0x2bdfd4(0x216)][_0x2bdfd4(0x1b3)]){if(!_0x13bbd8[_0x2bdfd4(0x1d1)][_0x2bdfd4(0x1ca)](_0x2bdfd4(0x1b4)))continue;const _0x35658a=_0x5bed0c[_0x2bdfd4(0x19d)][_0x2bdfd4(0x1cf)][_0x2bdfd4(0x1fd)](_0x13bbd8[_0x2bdfd4(0x1d1)]);if(_0x35658a){for(const _0x433da5 of _0x35658a)_0x2b821f[_0x2bdfd4(0x1e6)](_0x2bdfd4(0x1aa),_0x433da5);}}});}(_0x1b99b5);},{'useCapture':!0x0});}[_0x223472(0x192)](){const _0x45f9a8=_0x223472,_0x53a001=this[_0x45f9a8(0x1a0)],_0xe894ff=_0x53a001[_0x45f9a8(0x209)][_0x45f9a8(0x1df)](_0x45f9a8(0x1fe));_0xe894ff&&_0x53a001[_0x45f9a8(0x216)]['on'](_0x45f9a8(0x1fb),(_0xfc3b9c,_0x199323)=>{const _0x4756a7=_0x45f9a8,_0x2cb806=_0x199323[0x0];if(!_0x2cb806[_0x4756a7(0x19f)])return;if(_0x4756a7(0x1ef)!=_0x2cb806[_0x4756a7(0x1e8)]||!_0x2cb806[_0x4756a7(0x1d1)][_0x4756a7(0x1ca)](_0x4756a7(0x1f0)))return;const _0x493961=_0x2cb806[_0x4756a7(0x215)];_0xe894ff[_0x4756a7(0x19c)][_0x4756a7(0x21c)](_0x493961)&&(_0x2cb806[_0x4756a7(0x21a)]=_0x2cb806[_0x4756a7(0x195)]?_0x53a001[_0x4756a7(0x216)][_0x4756a7(0x1b5)](_0x2cb806[_0x4756a7(0x195)][_0x4756a7(0x1a4)],_0x2cb806[_0x4756a7(0x195)][_0x4756a7(0x198)]):null);},{'priority':_0x45f9a8(0x1a1)});}[_0x223472(0x1dc)](){const _0x3391f4=_0x223472;return this[_0x3391f4(0x1d7)][_0x3391f4(0x1bd)](),super[_0x3391f4(0x1dc)]();}[_0x223472(0x19a)](){const _0x22d549=_0x223472,_0x5f4cd6=this[_0x22d549(0x1a0)],_0x21f87c=_0x5f4cd6[_0x22d549(0x216)][_0x22d549(0x217)],_0x321da4=_0x5f4cd6[_0x22d549(0x1d8)][_0x22d549(0x1df)](_0x4614c0);_0x5f4cd6[_0x22d549(0x216)][_0x22d549(0x1fa)]({'isUndoable':!0x1},_0x5b091f=>{const _0x437acb=_0x22d549,_0x32abb9=_0x437acb(0x1a9)+_0x321da4[_0x437acb(0x1f5)],_0x4f5cb9=_0x437acb(0x1f6)+_0x321da4[_0x437acb(0x1f5)],_0x3de519=_0x5f4cd6[_0x437acb(0x216)][_0x437acb(0x1b3)][_0x437acb(0x21c)](_0x32abb9);_0x5f4cd6[_0x437acb(0x19d)][_0x437acb(0x204)][_0x437acb(0x20f)]?re(_0x321da4[_0x437acb(0x1f5)],_0x21f87c[_0x437acb(0x1ec)][_0x437acb(0x219)](),_0x5f4cd6[_0x437acb(0x216)],_0x5b091f):_0x3de519&&(_0x5b091f[_0x437acb(0x19b)](_0x32abb9),_0x5b091f[_0x437acb(0x19b)](_0x4f5cb9));});}}function _0x50f7(_0x2041cb,_0xdcb8e){const _0xad09f4=_0xad09();return _0x50f7=function(_0x50f7a1,_0x500172){_0x50f7a1=_0x50f7a1-0x191;let _0x28d701=_0xad09f4[_0x50f7a1];return _0x28d701;},_0x50f7(_0x2041cb,_0xdcb8e);}function re(_0x15e24e,_0x310a69,_0x35cdd3,_0x5f3c28){const _0x198a21=_0x223472,_0x5cee66=_0x198a21(0x1a9)+_0x15e24e,_0x367bac=_0x198a21(0x1f6)+_0x15e24e,_0x65d995=_0x310a69[_0x198a21(0x213)]();let _0x16674f=_0x310a69[_0x198a21(0x1a4)];_0x65d995&&_0x65d995['is'](_0x198a21(0x1c2),_0x198a21(0x1f3))&&(_0x16674f=function(_0x256804,_0x3931a1){const _0x4a0238=_0x198a21;for(const _0x40494d of _0x256804[_0x4a0238(0x1be)]())if(_0x3931a1[_0x4a0238(0x207)][_0x4a0238(0x1cc)](_0x40494d,_0x4a0238(0x1b6)))return _0x40494d;}(_0x310a69,_0x35cdd3),_0x310a69=_0x5f3c28[_0x198a21(0x1b5)](_0x16674f));const _0x5d49e8=_0x5f3c28[_0x198a21(0x1b5)](_0x16674f);_0x35cdd3[_0x198a21(0x1b3)][_0x198a21(0x21c)](_0x5cee66)?(_0x5f3c28[_0x198a21(0x214)](_0x5cee66,{'range':_0x310a69}),_0x5f3c28[_0x198a21(0x214)](_0x367bac,{'range':_0x5d49e8})):(_0x5f3c28[_0x198a21(0x20b)](_0x5cee66,{'range':_0x310a69,'usingOperation':!0x0}),_0x5f3c28[_0x198a21(0x20b)](_0x367bac,{'range':_0x5d49e8,'usingOperation':!0x0}));}
|
|
23
|
+
function _0x5af3(){const _0x455d4b=['user:range','ck-user__selection','reconvertMarker','remove','3hkEJop','startsWith','markerToElement','root','userPositionMarker','mouseleave','deletionPosition','markers','batch','editing','enqueueChange','false','document','removeMarker','105772DCaucc','conversion','user:position','applyOperation','isLimit','addEventListener','mouseenter','createElement','oldRange','hasContent','has','markerToHighlight','plugins','ck-user__marker-tooltip','4570FqGGIb','isPremiumPlugin','change','type','nodeAfter','getStart','1540035efszgz','keydown','isObject','getCustomProperty','446052bLIGGC','end','getAttribute','markerRange','commands','destroy','addMarker','pluginName','start','update:user:range','mySessionId','getNearestSelectionRange','textContent','isCollapsed','innerHTML','$graveyard','orderNumber','model','outerHTML','render','editingDowncast','for','afterInit','split','getUserBySessionId','set','editor','isDocumentOperation','1276MzJNQV','createRange','span','classList','getMarkerClass','selection','346760eYUZEo','markerName','2485mCdABp','markerNameToElements','init','isOfficialPlugin','$text','requires','change:range','user:position:','data-session-id','_createdBatches','name','isInline','_domEmitter','checkChild','createUserMarkerOperations','element','stopListening','2981XkzrbH','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','hasDomSelection','add','setCustomProperty','updateMarker','rootName','setAttribute','isSimilar','listenTo','clear','fromRange','ck-user__marker\x20','undo','contenteditable','parent','newRange','delete','getPositions','color','removeClass','getRange','view','getContainedElement','mapper','ck-user__marker_hovered','marker','detach','user:range:','tableCell','schema','toDomElement','size','spellcheck','highest','user:','createUIElement','UserMarkers','getFirstRange','toRange','89815wCNSdX','getSelectionClass','get','Escape','28UvlTtf'];_0x5af3=function(){return _0x455d4b;};return _0x5af3();}function _0x175a(_0x17bb87,_0x3fab20){const _0x5af39a=_0x5af3();return _0x175a=function(_0x175afd,_0x1bc9cd){_0x175afd=_0x175afd-0x116;let _0x5eb81e=_0x5af39a[_0x175afd];return _0x5eb81e;},_0x175a(_0x17bb87,_0x3fab20);}const _0x1d2972=_0x175a;(function(_0x2208d4,_0x317504){const _0x310b55=_0x175a,_0x281fcf=_0x2208d4();while(!![]){try{const _0x286f9e=parseInt(_0x310b55(0x160))/0x1+parseInt(_0x310b55(0x177))/0x2*(parseInt(_0x310b55(0x169))/0x3)+-parseInt(_0x310b55(0x11f))/0x4*(-parseInt(_0x310b55(0x127))/0x5)+-parseInt(_0x310b55(0x18f))/0x6+-parseInt(_0x310b55(0x164))/0x7*(-parseInt(_0x310b55(0x125))/0x8)+-parseInt(_0x310b55(0x18b))/0x9+-parseInt(_0x310b55(0x185))/0xa*(parseInt(_0x310b55(0x138))/0xb);if(_0x286f9e===_0x317504)break;else _0x281fcf['push'](_0x281fcf['shift']());}catch(_0x52fe9a){_0x281fcf['push'](_0x281fcf['shift']());}}}(_0x5af3,0x19b68));import{Plugin as _0x1692d3}from'ckeditor5/src/core.js';import{global as _0x16024e,DomEmitterMixin as _0x486352}from'ckeditor5/src/utils.js';import _0xe08b2c from'./sessions.js';import{LiveRange as _0x1570b5}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x1692d3{constructor(){const _0x320f02=_0x175a;super(...arguments),this[_0x320f02(0x133)]=new(_0x486352())();}static get[_0x1d2972(0x12c)](){return[_0xe08b2c];}static get[_0x1d2972(0x196)](){const _0x236ad6=_0x1d2972;return _0x236ad6(0x15d);}static get[_0x1d2972(0x12a)](){return!0x0;}static get[_0x1d2972(0x186)](){return!0x0;}[_0x1d2972(0x129)](){const _0x1c43ab=_0x1d2972,_0x2e9ded=this[_0x1c43ab(0x11d)],_0x2fa0ea=_0x2e9ded[_0x1c43ab(0x183)][_0x1c43ab(0x162)](_0xe08b2c);_0x2e9ded[_0x1c43ab(0x178)][_0x1c43ab(0x118)](_0x1c43ab(0x117))[_0x1c43ab(0x16b)]({'model':_0x1c43ab(0x179),'view':(_0x572ee1,{writer:_0x4bb734})=>function(_0x178290,_0x23eb93,_0x28083c,_0x1da830){const _0x5ba7a3=_0x1c43ab,_0x487c99=_0x178290[_0x5ba7a3(0x126)][_0x5ba7a3(0x11a)](':')[0x2],_0x3ac2ea=_0x28083c[_0x5ba7a3(0x11b)](_0x487c99);if(!_0x3ac2ea||_0x487c99===_0x28083c[_0x5ba7a3(0x199)])return;if(!_0x1da830[_0x5ba7a3(0x1a0)][_0x5ba7a3(0x156)][_0x5ba7a3(0x134)](_0x178290[_0x5ba7a3(0x192)][_0x5ba7a3(0x197)],_0x5ba7a3(0x12b)))return;const _0x3a26d5={'class':_0x5ba7a3(0x144)+_0x3ac2ea[_0x5ba7a3(0x14b)][_0x5ba7a3(0x123)](),'data-name':_0x3ac2ea[_0x5ba7a3(0x131)],'data-session-id':_0x487c99},_0x47694c=_0x1da830[_0x5ba7a3(0x1a0)][_0x5ba7a3(0x170)][_0x5ba7a3(0x162)](_0x178290[_0x5ba7a3(0x126)]),_0x1b42eb=_0x47694c[_0x5ba7a3(0x18a)](),_0x3a0942=_0x1b42eb[_0x5ba7a3(0x189)],_0x3ef9a=_0x1da830[_0x5ba7a3(0x1a0)][_0x5ba7a3(0x156)];if(_0x3a0942&&_0x3ef9a[_0x5ba7a3(0x18d)](_0x3a0942)&&_0x3ef9a[_0x5ba7a3(0x132)](_0x3a0942)&&!_0x1da830[_0x5ba7a3(0x1a0)][_0x5ba7a3(0x170)][_0x5ba7a3(0x162)](_0x5ba7a3(0x154)+_0x487c99)[_0x5ba7a3(0x14d)]()[_0x5ba7a3(0x19c)])return;const _0x38da59=_0x1b42eb[_0x5ba7a3(0x147)];return _0x1da830[_0x5ba7a3(0x1a0)][_0x5ba7a3(0x156)][_0x5ba7a3(0x17b)](_0x38da59)&&!_0x1da830[_0x5ba7a3(0x1a0)][_0x5ba7a3(0x180)](_0x38da59)&&(_0x3a26d5[_0x5ba7a3(0x146)]=!0x1),function(_0x360b34,_0x2fc0bd,_0x1e83d1){const _0x282935=_0x5ba7a3,_0x1d2b99=_0x360b34[_0x282935(0x15c)](_0x282935(0x121),_0x2fc0bd);return _0x360b34[_0x282935(0x13c)](_0x282935(0x16d),!0x0,_0x1d2b99),_0x1d2b99[_0x282935(0x116)]=function(_0x1f8b17){const _0x702df2=_0x282935,_0x281781=this[_0x702df2(0x157)](_0x1f8b17),_0x3202b1=document[_0x702df2(0x17e)](_0x702df2(0x121));return _0x3202b1[_0x702df2(0x122)][_0x702df2(0x13b)](_0x702df2(0x184)),_0x3202b1[_0x702df2(0x13f)](_0x702df2(0x146),_0x702df2(0x174)),_0x3202b1[_0x702df2(0x13f)](_0x702df2(0x159),_0x702df2(0x174)),_0x3202b1[_0x702df2(0x19b)]=_0x1e83d1[_0x702df2(0x131)],_0x281781[_0x702df2(0x19d)]=_0x702df2(0x139)+_0x3202b1[_0x702df2(0x1a1)]+'',_0x281781[_0x702df2(0x17c)](_0x702df2(0x17d),()=>{const _0x452078=_0x702df2;_0x281781[_0x452078(0x122)][_0x452078(0x13b)](_0x452078(0x151));}),_0x281781[_0x702df2(0x17c)](_0x702df2(0x16e),()=>{const _0x3b73f2=_0x702df2;_0x281781[_0x3b73f2(0x122)][_0x3b73f2(0x168)](_0x3b73f2(0x151));}),_0x281781;},_0x1d2b99[_0x282935(0x140)]=function(_0x16c3b0){const _0x5ed780=_0x282935;return!(!this[_0x5ed780(0x18e)](_0x5ed780(0x16d))||!_0x16c3b0[_0x5ed780(0x18e)](_0x5ed780(0x16d))||this[_0x5ed780(0x191)](_0x5ed780(0x12f))!=_0x16c3b0[_0x5ed780(0x191)](_0x5ed780(0x12f)));},_0x1d2b99;}(_0x23eb93,_0x3a26d5,_0x3ac2ea);}(_0x572ee1,_0x4bb734,_0x2fa0ea,_0x2e9ded)}),_0x2e9ded[_0x1c43ab(0x178)][_0x1c43ab(0x118)](_0x1c43ab(0x117))[_0x1c43ab(0x182)]({'model':_0x1c43ab(0x165),'view':_0x2edd6b=>function(_0x685dc6,_0x1c3faf){const _0x44870b=_0x1c43ab,_0x1d5273=_0x685dc6[_0x44870b(0x126)][_0x44870b(0x11a)](':')[0x2];if(_0x1d5273===_0x1c3faf[_0x44870b(0x199)])return null;const _0x5d2c0b=_0x1c3faf[_0x44870b(0x11b)](_0x1d5273);if(!_0x5d2c0b)return{'id':_0x1d5273,'classes':[]};return{'id':_0x1d5273,'classes':[_0x44870b(0x166),_0x5d2c0b[_0x44870b(0x14b)][_0x44870b(0x161)]()],'attributes':{'data-session-id':_0x1d5273},'priority':0x7d0+_0x5d2c0b[_0x44870b(0x19f)]};}(_0x2edd6b,_0x2fa0ea)}),function(_0x4aa964){const _0x8d108e=_0x1c43ab,_0x23ec73=_0x4aa964[_0x8d108e(0x1a0)],_0x537168=new Map(),_0x242cef=_0x4aa964[_0x8d108e(0x183)][_0x8d108e(0x162)](_0xe08b2c);_0x23ec73[_0x8d108e(0x170)]['on'](_0x8d108e(0x198),(_0xcc041b,_0x3742d3,_0x335cbc,_0x2bc9ae)=>{const _0x1cce4b=_0x8d108e;if(!_0x2bc9ae&&_0x537168[_0x1cce4b(0x162)](_0x3742d3[_0x1cce4b(0x131)]))return _0x537168[_0x1cce4b(0x162)](_0x3742d3[_0x1cce4b(0x131)])[_0x1cce4b(0x153)](),void _0x537168[_0x1cce4b(0x149)](_0x3742d3[_0x1cce4b(0x131)]);const _0x1ab8f1=_0x3742d3[_0x1cce4b(0x131)][_0x1cce4b(0x11a)](':')[0x2];if(_0x1ab8f1===_0x242cef[_0x1cce4b(0x199)])return;const _0x1da808=_0x1cce4b(0x12e)+_0x1ab8f1;_0x23ec73[_0x1cce4b(0x170)][_0x1cce4b(0x181)](_0x1da808)&&_0x4aa964[_0x1cce4b(0x172)][_0x1cce4b(0x167)](_0x1da808),_0x3742d3['on'](_0x1cce4b(0x12d),(_0x143fd4,_0x49daf3,_0x983882)=>{const _0x3108b9=_0x1cce4b;if(_0x3108b9(0x19e)!=_0x49daf3[_0x3108b9(0x16c)][_0x3108b9(0x13e)]&&_0x3108b9(0x19e)==_0x3742d3[_0x3108b9(0x14d)]()[_0x3108b9(0x16c)][_0x3108b9(0x13e)]&&!_0x537168[_0x3108b9(0x181)](_0x3742d3[_0x3108b9(0x131)])){const _0x22d911=_0x23ec73[_0x3108b9(0x156)][_0x3108b9(0x19a)](_0x983882[_0x3108b9(0x16f)]);if(_0x22d911){const _0x4d8c8e=_0x1570b5[_0x3108b9(0x143)](_0x22d911);_0x537168[_0x3108b9(0x11c)](_0x3742d3[_0x3108b9(0x131)],_0x4d8c8e),_0x4d8c8e['on'](_0x3108b9(0x12d),(_0x3326a8,_0x544435,_0x50bab1)=>{const _0x1e6201=_0x3108b9;if(_0x1e6201(0x19e)==_0x4d8c8e[_0x1e6201(0x16c)][_0x1e6201(0x13e)]){const _0x1916cd=_0x23ec73[_0x1e6201(0x156)][_0x1e6201(0x19a)](_0x50bab1[_0x1e6201(0x16f)]);_0x1916cd?(_0x4d8c8e[_0x1e6201(0x197)]=_0x1916cd[_0x1e6201(0x197)],_0x4d8c8e[_0x1e6201(0x190)]=_0x1916cd[_0x1e6201(0x190)]):(_0x537168[_0x1e6201(0x149)](_0x3742d3[_0x1e6201(0x131)]),_0x4d8c8e[_0x1e6201(0x153)]());}});}}});}),_0x23ec73[_0x8d108e(0x175)]['on'](_0x8d108e(0x187),()=>{const _0x38bc05=_0x8d108e;_0x537168[_0x38bc05(0x158)]>0x0&&_0x23ec73[_0x38bc05(0x173)]({'isUndoable':!0x1},_0x2f95b6=>{const _0x3cdfc2=_0x38bc05;for(const [_0xd0996b,_0x57e134]of _0x537168)_0x3cdfc2(0x19e)==_0x23ec73[_0x3cdfc2(0x170)][_0x3cdfc2(0x162)](_0xd0996b)[_0x3cdfc2(0x14d)]()[_0x3cdfc2(0x16c)][_0x3cdfc2(0x13e)]&&(re(_0xd0996b[_0x3cdfc2(0x11a)](':')[0x2],_0x57e134[_0x3cdfc2(0x15f)](),_0x23ec73,_0x2f95b6),_0x57e134[_0x3cdfc2(0x153)]());_0x537168[_0x3cdfc2(0x142)]();});});}(_0x2e9ded),this[_0x1c43ab(0x133)][_0x1c43ab(0x141)](_0x16024e[_0x1c43ab(0x175)],_0x1c43ab(0x18c),(_0x436ca5,{key:_0xa489aa})=>{const _0x13be58=_0x1c43ab;_0x13be58(0x163)===_0xa489aa&&function(_0x26ef8f){const _0x41cef7=_0x13be58;_0x26ef8f[_0x41cef7(0x172)][_0x41cef7(0x14e)][_0x41cef7(0x187)](_0x5a7b1e=>{const _0x363016=_0x41cef7;for(const _0x5b7c0d of _0x26ef8f[_0x363016(0x1a0)][_0x363016(0x170)]){if(!_0x5b7c0d[_0x363016(0x131)][_0x363016(0x16a)](_0x363016(0x179)))continue;const _0x554e06=_0x26ef8f[_0x363016(0x172)][_0x363016(0x150)][_0x363016(0x128)](_0x5b7c0d[_0x363016(0x131)]);if(_0x554e06){for(const _0x46cc11 of _0x554e06)_0x5a7b1e[_0x363016(0x14c)](_0x363016(0x151),_0x46cc11);}}});}(_0x2e9ded);},{'useCapture':!0x0});}[_0x1d2972(0x119)](){const _0x3d9dc9=_0x1d2972,_0x109464=this[_0x3d9dc9(0x11d)],_0x3b1ebe=_0x109464[_0x3d9dc9(0x193)][_0x3d9dc9(0x162)](_0x3d9dc9(0x145));_0x3b1ebe&&_0x109464[_0x3d9dc9(0x1a0)]['on'](_0x3d9dc9(0x17a),(_0xaf1e15,_0x4a9dc8)=>{const _0x332854=_0x3d9dc9,_0x22701c=_0x4a9dc8[0x0];if(!_0x22701c[_0x332854(0x11e)])return;if(_0x332854(0x152)!=_0x22701c[_0x332854(0x188)]||!_0x22701c[_0x332854(0x131)][_0x332854(0x16a)](_0x332854(0x15b)))return;const _0x16674f=_0x22701c[_0x332854(0x171)];_0x3b1ebe[_0x332854(0x130)][_0x332854(0x181)](_0x16674f)&&(_0x22701c[_0x332854(0x148)]=_0x22701c[_0x332854(0x17f)]?_0x109464[_0x332854(0x1a0)][_0x332854(0x120)](_0x22701c[_0x332854(0x17f)][_0x332854(0x197)],_0x22701c[_0x332854(0x17f)][_0x332854(0x190)]):null);},{'priority':_0x3d9dc9(0x15a)});}[_0x1d2972(0x194)](){const _0x53730f=_0x1d2972;return this[_0x53730f(0x133)][_0x53730f(0x137)](),super[_0x53730f(0x194)]();}[_0x1d2972(0x135)](){const _0x244d17=_0x1d2972,_0x319ac9=this[_0x244d17(0x11d)],_0x5d2f9b=_0x319ac9[_0x244d17(0x1a0)][_0x244d17(0x175)],_0xc8f51d=_0x319ac9[_0x244d17(0x183)][_0x244d17(0x162)](_0xe08b2c);_0x319ac9[_0x244d17(0x1a0)][_0x244d17(0x173)]({'isUndoable':!0x1},_0x3d645d=>{const _0x58a68a=_0x244d17,_0x581660=_0x58a68a(0x154)+_0xc8f51d[_0x58a68a(0x199)],_0x6da522=_0x58a68a(0x12e)+_0xc8f51d[_0x58a68a(0x199)],_0x19619b=_0x319ac9[_0x58a68a(0x1a0)][_0x58a68a(0x170)][_0x58a68a(0x181)](_0x581660);_0x319ac9[_0x58a68a(0x172)][_0x58a68a(0x14e)][_0x58a68a(0x13a)]?re(_0xc8f51d[_0x58a68a(0x199)],_0x5d2f9b[_0x58a68a(0x124)][_0x58a68a(0x15e)](),_0x319ac9[_0x58a68a(0x1a0)],_0x3d645d):_0x19619b&&(_0x3d645d[_0x58a68a(0x176)](_0x581660),_0x3d645d[_0x58a68a(0x176)](_0x6da522));});}}function re(_0x8f282c,_0x2f7f6a,_0x1c951e,_0x3cb0bc){const _0x2d219b=_0x1d2972,_0x47dfc3=_0x2d219b(0x154)+_0x8f282c,_0x555dfe=_0x2d219b(0x12e)+_0x8f282c,_0x5ae84d=_0x2f7f6a[_0x2d219b(0x14f)]();let _0x299be9=_0x2f7f6a[_0x2d219b(0x197)];_0x5ae84d&&_0x5ae84d['is'](_0x2d219b(0x136),_0x2d219b(0x155))&&(_0x299be9=function(_0x483d95,_0x3952e4){const _0x1f15d2=_0x2d219b;for(const _0x411c01 of _0x483d95[_0x1f15d2(0x14a)]())if(_0x3952e4[_0x1f15d2(0x156)][_0x1f15d2(0x134)](_0x411c01,_0x1f15d2(0x12b)))return _0x411c01;}(_0x2f7f6a,_0x1c951e),_0x2f7f6a=_0x3cb0bc[_0x2d219b(0x120)](_0x299be9));const _0x1046c4=_0x3cb0bc[_0x2d219b(0x120)](_0x299be9);_0x1c951e[_0x2d219b(0x170)][_0x2d219b(0x181)](_0x47dfc3)?(_0x3cb0bc[_0x2d219b(0x13d)](_0x47dfc3,{'range':_0x2f7f6a}),_0x3cb0bc[_0x2d219b(0x13d)](_0x555dfe,{'range':_0x1046c4})):(_0x3cb0bc[_0x2d219b(0x195)](_0x47dfc3,{'range':_0x2f7f6a,'usingOperation':!0x0}),_0x3cb0bc[_0x2d219b(0x195)](_0x555dfe,{'range':_0x1046c4,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x28cad8=_0x2aa5;(function(_0x3395fb,_0x2efe35){const _0x76a633=_0x2aa5,_0x50fdf7=_0x3395fb();while(!![]){try{const _0xc97997=parseInt(_0x76a633(0xa7))/0x1+-parseInt(_0x76a633(0x9d))/0x2*(-parseInt(_0x76a633(0x6a))/0x3)+parseInt(_0x76a633(0x9e))/0x4+parseInt(_0x76a633(0x7a))/0x5+-parseInt(_0x76a633(0x91))/0x6*(-parseInt(_0x76a633(0x84))/0x7)+-parseInt(_0x76a633(0x8f))/0x8+-parseInt(_0x76a633(0x78))/0x9;if(_0xc97997===_0x2efe35)break;else _0x50fdf7['push'](_0x50fdf7['shift']());}catch(_0x423201){_0x50fdf7['push'](_0x50fdf7['shift']());}}}(_0x29c6,0x1935c));import{ContextPlugin as _0x5b1963}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x346cfa,CKEditorError as _0x20d00e}from'ckeditor5/src/utils.js';function _0x29c6(){const _0x55640f=['error','limitExceeded','offline','init','isPremiumPlugin','catch','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.','get','websocketgateway-invalid-plugin-interface','pluginName','724256ZoIPEE','token','20778CBAbZW','CONNECTING','_reconnect','isOfficialPlugin','isInReconnectionStack','define','reconnect','connect','webSocketUrl','add','_reconnectionStack','constructor','1040ydkNTJ','452092FhHhej','bind','destroy','real-time-collaboration','websocketgateway-missing-websocket-url','change:me','cloudServices.connectionTimeout','then','from','41668nQFeVa','online','state','DISCONNECTED','_domEmitter','all','cloudservices-init','CONNECTED','code','_shouldPluginsReconnect','Connected\x20users\x20limit\x20exceeded','delete','cloudServices.requestTimeout','942PxIUAp','initialReconnectionInterval','function','context','addToReconnectionStack','connected','has','websocketgateway-missing-token','create','_isBrowserOffline','showWarning','CloudServices','set','connection','4559427MVrjnq','listenTo','925165sOBpYI','cloudservices-reconnection-error','removeFromReconnectionStack','WebSocketGateway','websocketgateway-plugin-already-registered','disconnect','requires','plugins','config','stopListening','399lVwyft'];_0x29c6=function(){return _0x55640f;};return _0x29c6();}import{WebSocketGateway as _0x5a990f,WEB_SOCKET_GATEWAY_STATES as _0x3ffe65}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x2c9d76}from'ckeditor5/src/ui.js';function _0x2aa5(_0x3dae47,_0x4adbb1){const _0x29c6de=_0x29c6();return _0x2aa5=function(_0x2aa548,_0x5babe3){_0x2aa548=_0x2aa548-0x66;let _0x23ea09=_0x29c6de[_0x2aa548];return _0x23ea09;},_0x2aa5(_0x3dae47,_0x4adbb1);}class c extends _0x5b1963{static get[_0x28cad8(0x80)](){const _0xcd271b=_0x28cad8;return[_0xcd271b(0x75),_0x2c9d76];}static get[_0x28cad8(0x8e)](){const _0x273f1c=_0x28cad8;return _0x273f1c(0x7d);}static get[_0x28cad8(0x94)](){return!0x0;}static get[_0x28cad8(0x89)](){return!0x0;}constructor(_0x2d005e){const _0x2be115=_0x28cad8;super(_0x2d005e),this[_0x2be115(0x76)](_0x2be115(0xa9),_0x3ffe65[_0x2be115(0xae)]),this[_0x2be115(0x76)](_0x2be115(0x73),!0x1),this[_0x2be115(0x9b)]=new Set(),this[_0x2be115(0x66)]=!0x1,this[_0x2be115(0xab)]=Object[_0x2be115(0x72)](_0x346cfa);}[_0x28cad8(0x88)](){const _0x250b2a=_0x28cad8,_0x41f9b2=this[_0x250b2a(0x6d)],_0x535af5=_0x41f9b2[_0x250b2a(0x81)][_0x250b2a(0x8c)](_0x250b2a(0x75)),_0x3e09e6=_0x41f9b2[_0x250b2a(0x81)][_0x250b2a(0x8c)](_0x2c9d76);if(!_0x535af5[_0x250b2a(0x90)])throw new _0x20d00e(_0x250b2a(0x71),this);if(!_0x535af5[_0x250b2a(0x99)])throw new _0x20d00e(_0x250b2a(0xa2),this);return this[_0x250b2a(0xab)][_0x250b2a(0x79)](window,_0x250b2a(0x87),()=>this[_0x250b2a(0x73)]=!0x0),this[_0x250b2a(0xab)][_0x250b2a(0x79)](window,_0x250b2a(0xa8),()=>this[_0x250b2a(0x73)]=!0x1),this[_0x250b2a(0x6d)][_0x250b2a(0x82)][_0x250b2a(0x96)](_0x250b2a(0xa4),0xa),this[_0x250b2a(0x6d)][_0x250b2a(0x82)][_0x250b2a(0x96)](_0x250b2a(0x69),0x14),c[_0x250b2a(0x7d)][_0x250b2a(0x98)](_0x535af5[_0x250b2a(0x90)],_0x535af5[_0x250b2a(0x99)],{'timeout':0x3e8*this[_0x250b2a(0x6d)][_0x250b2a(0x82)][_0x250b2a(0x8c)](_0x250b2a(0xa4)),'requestTimeout':0x3e8*this[_0x250b2a(0x6d)][_0x250b2a(0x82)][_0x250b2a(0x8c)](_0x250b2a(0x69))})[_0x250b2a(0xa5)](_0xf0a4c1=>{const _0x249311=_0x250b2a;if(this[_0x249311(0x77)]=_0xf0a4c1,this[_0x249311(0x9f)](_0x249311(0xa9))['to'](_0xf0a4c1,_0x249311(0xa9),this,_0x249311(0x73),(_0x369357,_0x3d15fb)=>(_0x249311(0x6f)!==_0x369357&&(this[_0x249311(0x66)]=!0x0),_0x3d15fb||_0x369357!==_0x3ffe65[_0x249311(0xae)]?_0x3ffe65[_0x249311(0xaa)]:this[_0x249311(0xa9)]==_0x3ffe65[_0x249311(0xaa)]&&this[_0x249311(0x66)]?(this[_0x249311(0x66)]=!0x1,this[_0x249311(0x93)](),_0x3ffe65[_0x249311(0x92)]):_0x3ffe65[_0x249311(0xae)])),this[_0x249311(0x77)]['on'](_0x249311(0x85),(_0x520fa6,_0x46f733)=>{const _0x76a56c=_0x249311;if(_0x76a56c(0x86)!==_0x46f733[_0x76a56c(0xaf)])throw console[_0x76a56c(0x85)](_0x46f733),new _0x20d00e(_0x76a56c(0xad),null,{'originalError':_0x46f733});_0x3e09e6[_0x76a56c(0x74)](_0x76a56c(0x8b),{'title':_0x76a56c(0x67),'namespace':_0x76a56c(0xa1)});}),!_0xf0a4c1['me'])return new Promise(_0x25fdb5=>_0xf0a4c1['on'](_0x249311(0xa3),_0x25fdb5));})[_0x250b2a(0x8a)](_0x15930f=>{const _0x3a7b83=_0x250b2a;throw console[_0x3a7b83(0x85)](_0x15930f),new _0x20d00e(_0x3a7b83(0xad),null,{'originalError':_0x15930f});});}[_0x28cad8(0x6e)](_0x752563){const _0x4a734b=_0x28cad8;if(_0x4a734b(0x6c)!=typeof _0x752563[_0x4a734b(0x97)])throw new _0x20d00e(_0x4a734b(0x8d),this);if(this[_0x4a734b(0x95)](_0x752563))throw new _0x20d00e(_0x4a734b(0x7e),this,{'name':_0x752563[_0x4a734b(0x9c)][_0x4a734b(0x8e)]});this[_0x4a734b(0x9b)][_0x4a734b(0x9a)](_0x752563);}[_0x28cad8(0x7c)](_0x840a88){const _0x4b1f57=_0x28cad8;this[_0x4b1f57(0x9b)][_0x4b1f57(0x68)](_0x840a88);}[_0x28cad8(0x95)](_0x534c2f){const _0x5025c2=_0x28cad8;return this[_0x5025c2(0x9b)][_0x5025c2(0x70)](_0x534c2f);}[_0x28cad8(0x93)](){const _0x4ea979=_0x28cad8;return this[_0x4ea979(0x77)][_0x4ea979(0x97)]()[_0x4ea979(0xa5)](()=>Promise[_0x4ea979(0xac)](Array[_0x4ea979(0xa6)](this[_0x4ea979(0x9b)],_0x26acba=>_0x26acba[_0x4ea979(0x97)]())))[_0x4ea979(0xa5)](()=>this[_0x4ea979(0xa9)]=_0x3ffe65[_0x4ea979(0xae)])[_0x4ea979(0x8a)](_0x262450=>{const _0x35cb90=_0x4ea979;throw console[_0x35cb90(0x85)](_0x262450),new _0x20d00e(_0x35cb90(0x7b),this[_0x35cb90(0x6d)]);});}[_0x28cad8(0x7f)](){const _0x17da21=_0x28cad8;this[_0x17da21(0x77)]&&this[_0x17da21(0x77)][_0x17da21(0x7f)](),this[_0x17da21(0xa9)]=_0x3ffe65[_0x17da21(0xaa)],this[_0x17da21(0xab)][_0x17da21(0x83)]();}[_0x28cad8(0xa0)](){const _0x299b7b=_0x28cad8;this[_0x299b7b(0x7f)](),super[_0x299b7b(0xa0)]();}}c[_0x28cad8(0x7d)]=_0x5a990f,c[_0x28cad8(0x6b)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x3353(_0x1eb6f1,_0x5ae005){var _0x46bc13=_0x46bc();return _0x3353=function(_0x335338,_0x3e4c0e){_0x335338=_0x335338-0x14a;var _0x81884f=_0x46bc13[_0x335338];return _0x81884f;},_0x3353(_0x1eb6f1,_0x5ae005);}function _0x46bc(){var _0x1093a6=['1928qrZwEE','1362122QmAfol','requires','RealTimeCollaborativeEditing','isPremiumPlugin','3vcpLHD','31770220pzyctJ','5466275RTNSRC','1766176kMGATU','isOfficialPlugin','1073481nBjbNA','84WuVmrx','339626aBadfq','pluginName','47394RFbgVb'];_0x46bc=function(){return _0x1093a6;};return _0x46bc();}var _0x5d3430=_0x3353;(function(_0x3b2455,_0x4409ca){var _0x49cf63=_0x3353,_0x4fe41f=_0x3b2455();while(!![]){try{var _0x32335a=-parseInt(_0x49cf63(0x157))/0x1+parseInt(_0x49cf63(0x14e))/0x2+-parseInt(_0x49cf63(0x152))/0x3*(parseInt(_0x49cf63(0x155))/0x4)+-parseInt(_0x49cf63(0x154))/0x5+-parseInt(_0x49cf63(0x158))/0x6*(-parseInt(_0x49cf63(0x14a))/0x7)+-parseInt(_0x49cf63(0x14d))/0x8*(parseInt(_0x49cf63(0x14c))/0x9)+parseInt(_0x49cf63(0x153))/0xa;if(_0x32335a===_0x4409ca)break;else _0x4fe41f['push'](_0x4fe41f['shift']());}catch(_0x3def72){_0x4fe41f['push'](_0x4fe41f['shift']());}}}(_0x46bc,0xa11ed));import{Plugin as _0x35f47e}from'ckeditor5/src/core.js';import _0x4ce2bb from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x35f47e{static get[_0x5d3430(0x14f)](){return[_0x4ce2bb];}static get[_0x5d3430(0x14b)](){var _0x44c226=_0x5d3430;return _0x44c226(0x150);}static get[_0x5d3430(0x156)](){return!0x0;}static get[_0x5d3430(0x151)](){return!0x0;}}
|