@ckeditor/ckeditor5-real-time-collaboration 44.3.0-alpha.4 → 44.3.0-alpha.6
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 _0x54dee8=_0x2923;(function(_0x165ebd,_0x3e0b7d){const _0x4ad7fd=_0x2923,_0x42400f=_0x165ebd();while(!![]){try{const _0x48af64=parseInt(_0x4ad7fd(0x1de))/0x1+parseInt(_0x4ad7fd(0x1c1))/0x2*(parseInt(_0x4ad7fd(0x18e))/0x3)+-parseInt(_0x4ad7fd(0x19c))/0x4*(-parseInt(_0x4ad7fd(0x1c2))/0x5)+parseInt(_0x4ad7fd(0x1c6))/0x6+-parseInt(_0x4ad7fd(0x1a6))/0x7*(parseInt(_0x4ad7fd(0x1c8))/0x8)+-parseInt(_0x4ad7fd(0x1e7))/0x9*(-parseInt(_0x4ad7fd(0x191))/0xa)+parseInt(_0x4ad7fd(0x1a0))/0xb*(-parseInt(_0x4ad7fd(0x1d5))/0xc);if(_0x48af64===_0x3e0b7d)break;else _0x42400f['push'](_0x42400f['shift']());}catch(_0x85a944){_0x42400f['push'](_0x42400f['shift']());}}}(_0x464e,0x8a62e));import{Context as _0x497b0a,ContextPlugin as _0x3fd597}from'ckeditor5/src/core.js';import{CKEditorError as _0x25847a}from'ckeditor5/src/utils.js';import{Users as _0x30f796}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x29f820,User as _0x5eeb4a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x464e(){const _0x23d79e=['CloudServicesCommentsAdapter','deletedAt','destroy','6wqtvLi','reopenCommentThread','setPermissions','925140irxkSN','code','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','keys','commentThreadAdded','off','resolve','addComment','isOfficialPlugin','getUser','catch','4460204ObDlqa','commentThreadResolved','removeCommentThread','sessionAdd:','542443MOcDJz','commentThreadId','getCommentThread','update','message','_services','1162ZTdCBl','cloudservicescommentsadapter-service-not-exist','_terminateService','cloudservicescommentsadapter-disconnect-not-exist','CommentsRepository','Permissions','permissions','getConnectedSessions','commentId','commentUpdated','addToReconnectionStack','delete','commentRemoved','set','commentThreadUpdated','addUser','addCommentThread','context','commentThreadReopened','_connectService','resolvedBy','_setUpService','get','updateComment','disconnect','_fetchMissingUsersForThreads','commentAdded','569952RhZzZp','5sWSDyj','404','getComment','getCommentThreads','1961634mVpxeB','add','24456OhproW','createdAt','getMany','reopen','startsWith','reconnect','from','connect','resolveCommentThread','userId','isPremiumPlugin','register','remove','600bbUIaj','updateCommentThread','collaboration.channelId','requires','init','map','mySessionId','assign','content','1065430riwHio','resolvedAt','unregister','has','CommentsService','commentThreadRemoved','authorId','removeComment','comments','45JOwCVd','config','cloud-services-internal-error:\x20Request\x20timeout.','pluginName','cloudservicescommentsadapter-connect-already-connected','plugins','cloud-services-internal-error:\x20Not\x20connected.','_getService','adapter','size','attributes','listenTo'];_0x464e=function(){return _0x23d79e;};return _0x464e();}import _0x132b8c from'../realtimecollaborativeediting/websocketgateway.js';import _0x5efab9 from'../realtimecollaborativeediting/sessions.js';class a extends _0x3fd597{static get[_0x54dee8(0x1d8)](){const _0x4c19b0=_0x54dee8;return[_0x132b8c,_0x4c19b0(0x1aa),_0x5efab9,_0x30f796];}static get[_0x54dee8(0x1ea)](){const _0xfa027f=_0x54dee8;return _0xfa027f(0x18b);}static get[_0x54dee8(0x199)](){return!0x0;}static get[_0x54dee8(0x1d2)](){return!0x0;}constructor(_0x36a015){const _0x4c9314=_0x54dee8;super(_0x36a015),this[_0x4c9314(0x1a5)]=new Map();}async[_0x54dee8(0x1d9)](){const _0x2e1425=_0x54dee8,_0x1925f7=this[_0x2e1425(0x1b7)],_0x1a6c4a=_0x1925f7[_0x2e1425(0x1ec)][_0x2e1425(0x1bc)](_0x2e1425(0x1aa));if(_0x1925f7[_0x2e1425(0x1ec)][_0x2e1425(0x1bc)](_0x132b8c)[_0x2e1425(0x1b0)](this),_0x1a6c4a[_0x2e1425(0x1ef)]={'addCommentThread':async({channelId:_0x239b77,threadId:_0x1ddfb2,comments:_0x31f34e,resolvedAt:_0xde7aa8,resolvedBy:_0x5f5031,context:_0x26526d,attributes:_0x35b2df})=>{const _0x4c2de6=_0x2e1425,_0x2fe41c=await this[_0x4c2de6(0x1ee)](_0x239b77)[_0x4c2de6(0x1b6)]({'commentThreadId':_0x1ddfb2,'comments':_0x31f34e[_0x4c2de6(0x1da)](_0x404380=>function(_0x2277b0,_0x44f3ba,_0x5cea5d){const _0x340464=_0x4c2de6;return{'commentThreadId':_0x5cea5d,'commentId':_0x2277b0[_0x340464(0x1ae)],'userId':_0x2277b0[_0x340464(0x1e4)],'content':_0x2277b0[_0x340464(0x1dd)],'documentId':_0x44f3ba,'createdAt':_0x2277b0[_0x340464(0x1c9)],'attributes':_0x2277b0[_0x340464(0x189)]||{}};}(_0x404380,_0x239b77,_0x1ddfb2)),'resolvedAt':_0xde7aa8,'resolvedBy':_0x5f5031,'context':_0x26526d,'attributes':_0x35b2df})[_0x4c2de6(0x19b)](ot);return{'threadId':_0x2fe41c[_0x4c2de6(0x1a1)],'comments':_0x2fe41c[_0x4c2de6(0x1e6)]};},'getCommentThread':async({channelId:_0x21cb29,threadId:_0x501281})=>{const _0x2f1136=_0x2e1425,_0x570e4d=await this[_0x2f1136(0x1ee)](_0x21cb29)[_0x2f1136(0x1a2)](_0x501281)[_0x2f1136(0x19b)](ot);return _0x570e4d[_0x2f1136(0x18c)]?null:(await this[_0x2f1136(0x1bf)]([_0x570e4d]),{'threadId':_0x570e4d[_0x2f1136(0x1a1)],'comments':_0x570e4d[_0x2f1136(0x1e6)][_0x2f1136(0x1da)](nt),'context':_0x570e4d[_0x2f1136(0x1b7)],'resolvedAt':_0x570e4d[_0x2f1136(0x1df)],'resolvedBy':_0x570e4d[_0x2f1136(0x1ba)],'attributes':_0x570e4d[_0x2f1136(0x189)]||{}});},'updateCommentThread':async({channelId:_0x368fdd,threadId:_0x1adad8,context:_0x106193,unlinkedAt:_0x219df1,attributes:_0xd1cc03})=>this[_0x2e1425(0x1ee)](_0x368fdd)[_0x2e1425(0x1d6)]({'commentThreadId':_0x1adad8,'context':_0x106193,'attributes':_0xd1cc03,'unlinkedAt':_0x219df1})[_0x2e1425(0x19b)](et)[_0x2e1425(0x19b)](ot),'resolveCommentThread':async({channelId:_0x4dc703,threadId:_0x42e3c3})=>{const _0x10154e=_0x2e1425,_0x3971ca=await this[_0x10154e(0x1ee)](_0x4dc703)[_0x10154e(0x1d0)](_0x42e3c3)[_0x10154e(0x19b)](et)[_0x10154e(0x19b)](ot);return{'threadId':_0x3971ca[_0x10154e(0x1a1)],'resolvedAt':_0x3971ca[_0x10154e(0x1df)],'resolvedBy':_0x3971ca[_0x10154e(0x1ba)]};},'reopenCommentThread':async({channelId:_0x3a0f62,threadId:_0x2d948c})=>this[_0x2e1425(0x1ee)](_0x3a0f62)[_0x2e1425(0x18f)](_0x2d948c)[_0x2e1425(0x19b)](et)[_0x2e1425(0x19b)](ot),'removeCommentThread':({channelId:_0x2116eb,threadId:_0x1466df})=>this[_0x2e1425(0x1ee)](_0x2116eb)[_0x2e1425(0x19e)](_0x1466df)[_0x2e1425(0x19b)](et)[_0x2e1425(0x19b)](ot),'addComment':({channelId:_0x4f6624,threadId:_0x4722d7,commentId:_0x4974ac,content:_0x2f23d6,attributes:_0x5a5c39})=>this[_0x2e1425(0x1ee)](_0x4f6624)[_0x2e1425(0x198)](_0x4722d7,_0x4974ac,_0x2f23d6,_0x5a5c39)[_0x2e1425(0x19b)](ot),'updateComment':({channelId:_0x4dee8f,threadId:_0x18b01d,commentId:_0x988b7c,content:_0x4f49bd,attributes:_0x4abf08})=>this[_0x2e1425(0x1ee)](_0x4dee8f)[_0x2e1425(0x1bd)](_0x18b01d,_0x988b7c,_0x4f49bd,_0x4abf08)[_0x2e1425(0x19b)](et)[_0x2e1425(0x19b)](ot),'removeComment':({channelId:_0x413628,threadId:_0x45e5e1,commentId:_0x2377dd})=>this[_0x2e1425(0x1ee)](_0x413628)[_0x2e1425(0x1e5)](_0x45e5e1,_0x2377dd)[_0x2e1425(0x19b)](et)[_0x2e1425(0x19b)](ot)},_0x1925f7 instanceof _0x497b0a){const _0x164295=_0x1925f7[_0x2e1425(0x1e8)][_0x2e1425(0x1bc)](_0x2e1425(0x1d7)),_0x389211=_0x1925f7[_0x2e1425(0x1ec)][_0x2e1425(0x1bc)](_0x5efab9);await this[_0x2e1425(0x1bb)](_0x164295);const _0x3d1526=await this[_0x2e1425(0x1a5)][_0x2e1425(0x1bc)](_0x164295)[_0x2e1425(0x1ad)]();this[_0x2e1425(0x18a)](_0x389211,_0x2e1425(0x19f)+_0x164295,(_0x218a9e,{session:_0x1e12b9})=>{const _0x1f417f=_0x2e1425;_0x1e12b9['id']===_0x389211[_0x1f417f(0x1db)]&&(_0x218a9e[_0x1f417f(0x196)](),this[_0x1f417f(0x1b7)][_0x1f417f(0x1ec)][_0x1f417f(0x1bc)](_0x1f417f(0x1ab))[_0x1f417f(0x190)](_0x1e12b9[_0x1f417f(0x1ac)],_0x164295));}),_0x389211[_0x2e1425(0x1d3)](_0x164295,_0x3d1526);}}async[_0x54dee8(0x1bb)](_0x33f3e4){const _0xfa6ae0=_0x54dee8;if(this[_0xfa6ae0(0x1a5)][_0xfa6ae0(0x1e1)](_0x33f3e4))throw new _0x25847a(_0xfa6ae0(0x1eb),null,{'channelId':_0x33f3e4});const _0x8bf5f3=this[_0xfa6ae0(0x1b7)][_0xfa6ae0(0x1ec)][_0xfa6ae0(0x1bc)](_0xfa6ae0(0x1aa)),_0x371391=new a[(_0xfa6ae0(0x1e2))](_0x33f3e4);this[_0xfa6ae0(0x1a5)][_0xfa6ae0(0x1b3)](_0x33f3e4,_0x371391),this[_0xfa6ae0(0x18a)](_0x371391,_0xfa6ae0(0x195),(_0x1101f4,_0x49649f)=>{const _0x18b326=_0xfa6ae0,{commentThreadId:_0x1b33ea,documentId:_0x205fe1,context:_0x48ebb3,attributes:_0x17c087,resolvedAt:_0x159d1c,resolvedBy:_0x44396c,comments:_0x30c012}=_0x49649f;_0x8bf5f3[_0x18b326(0x1a2)](_0x1b33ea)||_0x8bf5f3[_0x18b326(0x1b6)]({'threadId':_0x1b33ea,'channelId':_0x205fe1,'comments':_0x30c012?_0x30c012[_0x18b326(0x1da)](nt):[],'context':_0x48ebb3,'attributes':_0x17c087,'resolvedAt':_0x159d1c,'resolvedBy':_0x44396c,'isFromAdapter':!0x0});}),this[_0xfa6ae0(0x18a)](_0x371391,_0xfa6ae0(0x1b4),(_0x21971e,{commentThreadId:_0x445281,documentId:_0x472d89,context:_0x27d4c4,unlinkedAt:_0x36e856,attributes:_0x1a0f3c})=>{const _0x3aa187=_0xfa6ae0;_0x8bf5f3[_0x3aa187(0x1a2)](_0x445281)&&_0x8bf5f3[_0x3aa187(0x1d6)]({'threadId':_0x445281,'channelId':_0x472d89,'context':_0x27d4c4,'unlinkedAt':_0x36e856,'attributes':_0x1a0f3c,'isFromAdapter':!0x0});}),this[_0xfa6ae0(0x18a)](_0x371391,_0xfa6ae0(0x19d),(_0x1bc91f,{commentThreadId:_0x1f0c0f,resolvedBy:_0x34339a,resolvedAt:_0x544a0f})=>{const _0x1fb4a9=_0xfa6ae0,_0x13ad70=_0x8bf5f3[_0x1fb4a9(0x1a2)](_0x1f0c0f);_0x13ad70&&_0x13ad70[_0x1fb4a9(0x197)]({'resolvedBy':_0x34339a,'resolvedAt':_0x544a0f,'isFromAdapter':!0x0});}),this[_0xfa6ae0(0x18a)](_0x371391,_0xfa6ae0(0x1b8),(_0x590ff6,{commentThreadId:_0x2a4d6e})=>{const _0x28e606=_0xfa6ae0,_0x5226f4=_0x8bf5f3[_0x28e606(0x1a2)](_0x2a4d6e);_0x5226f4&&_0x5226f4[_0x28e606(0x1cb)]({'isFromAdapter':!0x0});}),this[_0xfa6ae0(0x18a)](_0x371391,_0xfa6ae0(0x1e3),(_0x5308a8,{commentThreadId:_0x45f78c})=>{const _0x14df13=_0xfa6ae0,_0x1aaf14=_0x8bf5f3[_0x14df13(0x1a2)](_0x45f78c);_0x1aaf14&&_0x1aaf14[_0x14df13(0x1d4)]({'isFromAdapter':!0x0});}),this[_0xfa6ae0(0x18a)](_0x371391,_0xfa6ae0(0x1c0),(_0x394c2f,_0x2884ee)=>{const _0x46f4f3=_0xfa6ae0,_0x304b23=_0x2884ee[_0x46f4f3(0x1a1)],_0x387ead=_0x8bf5f3[_0x46f4f3(0x1a2)](_0x304b23);_0x387ead&&_0x387ead[_0x46f4f3(0x198)]({...nt(_0x2884ee),'isFromAdapter':!0x0});}),this[_0xfa6ae0(0x18a)](_0x371391,_0xfa6ae0(0x1af),(_0x1cc1fe,{commentThreadId:_0x89a074,commentId:_0x4cb10a,content:_0x278c5d,attributes:_0x2b13aa})=>{const _0x5aec5b=_0xfa6ae0,_0x182a39=_0x8bf5f3[_0x5aec5b(0x1a2)](_0x89a074);if(_0x182a39){const _0x27bd73=_0x182a39[_0x5aec5b(0x1c4)](_0x4cb10a);_0x27bd73&&_0x27bd73[_0x5aec5b(0x1a3)]({'content':_0x278c5d,'attributes':_0x2b13aa,'isFromAdapter':!0x0});}}),this[_0xfa6ae0(0x18a)](_0x371391,_0xfa6ae0(0x1b2),(_0x4c3094,{commentThreadId:_0x8fd9ce,commentId:_0x5d91eb})=>{const _0x57731e=_0xfa6ae0,_0x24e8f3=_0x8bf5f3[_0x57731e(0x1a2)](_0x8fd9ce);if(_0x24e8f3){const _0x4a7ea9=_0x24e8f3[_0x57731e(0x1c4)](_0x5d91eb);_0x4a7ea9&&_0x4a7ea9[_0x57731e(0x1d4)]({'isFromAdapter':!0x0});}}),await this[_0xfa6ae0(0x1b9)](_0x33f3e4);}[_0x54dee8(0x18d)](){const _0x58da63=_0x54dee8;if(this[_0x58da63(0x1b7)]instanceof _0x497b0a){const _0x6b08b1=this[_0x58da63(0x1b7)][_0x58da63(0x1e8)][_0x58da63(0x1bc)](_0x58da63(0x1d7));this[_0x58da63(0x1a8)](_0x6b08b1);}}[_0x54dee8(0x1a8)](_0x358115){const _0x3ee40c=_0x54dee8;if(!this[_0x3ee40c(0x1a5)][_0x3ee40c(0x1e1)](_0x358115))throw new _0x25847a(_0x3ee40c(0x1a9),null,{'channelId':_0x358115});this[_0x3ee40c(0x1ee)](_0x358115)[_0x3ee40c(0x1be)](),this[_0x3ee40c(0x1a5)][_0x3ee40c(0x1b1)](_0x358115);}async[_0x54dee8(0x1cd)](){const _0x5a33db=_0x54dee8;for(const _0x43c920 of this[_0x5a33db(0x1a5)][_0x5a33db(0x194)]())await this[_0x5a33db(0x1b9)](_0x43c920);if(this[_0x5a33db(0x1b7)]instanceof _0x497b0a){const _0x58f260=this[_0x5a33db(0x1b7)][_0x5a33db(0x1e8)][_0x5a33db(0x1bc)](_0x5a33db(0x1d7)),_0x259f05=this[_0x5a33db(0x1b7)][_0x5a33db(0x1ec)][_0x5a33db(0x1bc)](_0x5efab9);_0x259f05[_0x5a33db(0x1e0)](_0x58f260);const _0x23861f=await this[_0x5a33db(0x1a5)][_0x5a33db(0x1bc)](_0x58f260)[_0x5a33db(0x1ad)]();_0x259f05[_0x5a33db(0x1d3)](_0x58f260,_0x23861f);}}async[_0x54dee8(0x1b9)](_0x2d2674){const _0x1d4445=_0x54dee8,{connection:_0x12f056}=this[_0x1d4445(0x1b7)][_0x1d4445(0x1ec)][_0x1d4445(0x1bc)](_0x132b8c),_0x4b67b9=this[_0x1d4445(0x1b7)][_0x1d4445(0x1ec)][_0x1d4445(0x1bc)](_0x1d4445(0x1aa)),_0x161033=this[_0x1d4445(0x1a5)][_0x1d4445(0x1bc)](_0x2d2674),_0x506f3d=await _0x161033[_0x1d4445(0x1cf)](_0x12f056);await this[_0x1d4445(0x1bf)](_0x506f3d);const _0x506816=new Set(Array[_0x1d4445(0x1ce)](_0x4b67b9[_0x1d4445(0x1c5)]({'channelId':_0x2d2674}),_0x1ea4c8=>_0x1ea4c8['id']));for(const _0x57e6df of _0x506f3d)_0x57e6df[_0x1d4445(0x18c)]||_0x506816[_0x1d4445(0x1b1)](_0x57e6df[_0x1d4445(0x1a1)]);for(const _0x2631c8 of _0x506816)_0x4b67b9[_0x1d4445(0x1a2)](_0x2631c8)[_0x1d4445(0x1d4)]({'isFromAdapter':!0x0});for(const _0x5a4c8e of _0x506f3d){let _0x54bff0=_0x4b67b9[_0x1d4445(0x1a2)](_0x5a4c8e[_0x1d4445(0x1a1)]);const {commentThreadId:_0x877ca5,context:_0x25937a,attributes:_0x2230d9,resolvedBy:_0xa25bc2,resolvedAt:_0x5ec0e9,unlinkedAt:_0x35069b,deletedAt:_0x368ee0}=_0x5a4c8e;if(_0x368ee0)continue;_0x54bff0||(_0x54bff0=_0x4b67b9[_0x1d4445(0x1b6)]({'channelId':_0x2d2674,'threadId':_0x877ca5,'context':_0x25937a,'attributes':_0x2230d9||{},'resolvedBy':_0xa25bc2,'resolvedAt':_0x5ec0e9,'unlinkedAt':_0x35069b,'isFromAdapter':!0x0}));const _0x58c4eb=new Set(Array[_0x1d4445(0x1ce)](_0x54bff0[_0x1d4445(0x1e6)],_0x48d5ff=>_0x48d5ff['id']));for(const _0x48c0b4 of _0x5a4c8e[_0x1d4445(0x1e6)])_0x58c4eb[_0x1d4445(0x1b1)](_0x48c0b4[_0x1d4445(0x1ae)]);for(const _0x3f9e16 of _0x58c4eb)_0x54bff0[_0x1d4445(0x1c4)](_0x3f9e16)[_0x1d4445(0x1d4)]({'isFromAdapter':!0x0});for(const _0x831dde of _0x5a4c8e[_0x1d4445(0x1e6)]){const _0x2821ee=_0x54bff0[_0x1d4445(0x1c4)](_0x831dde[_0x1d4445(0x1ae)]);_0x2821ee?_0x2821ee[_0x1d4445(0x1dd)]!==_0x831dde[_0x1d4445(0x1dd)]&&_0x2821ee[_0x1d4445(0x1a3)]({'content':_0x831dde[_0x1d4445(0x1dd)],'isFromAdapter':!0x0}):_0x54bff0[_0x1d4445(0x198)](Object[_0x1d4445(0x1dc)](nt(_0x831dde),{'isFromAdapter':!0x0}));}}}[_0x54dee8(0x1ee)](_0x3ba094){const _0x59a1a9=_0x54dee8;if(!this[_0x59a1a9(0x1a5)][_0x59a1a9(0x1e1)](_0x3ba094))throw new _0x25847a(_0x59a1a9(0x1a7),null,{'channelId':_0x3ba094});return this[_0x59a1a9(0x1a5)][_0x59a1a9(0x1bc)](_0x3ba094);}async[_0x54dee8(0x1bf)](_0x5e38dc){const _0x300da2=_0x54dee8,_0x353cd9=this[_0x300da2(0x1b7)][_0x300da2(0x1ec)][_0x300da2(0x1bc)](_0x30f796),{connection:_0x3e4c73}=this[_0x300da2(0x1b7)][_0x300da2(0x1ec)][_0x300da2(0x1bc)](_0x132b8c),_0x108c3a=new Set();for(const {resolvedBy:_0xccc81b,comments:_0x42e5b0}of _0x5e38dc){_0xccc81b&&!_0x353cd9[_0x300da2(0x19a)](_0xccc81b)&&_0x108c3a[_0x300da2(0x1c7)](_0xccc81b);for(const {userId:_0x13ab3e}of _0x42e5b0)_0x353cd9[_0x300da2(0x19a)](_0x13ab3e)||_0x108c3a[_0x300da2(0x1c7)](_0x13ab3e);}if(0x0===_0x108c3a[_0x300da2(0x188)])return;const _0x4ca8ad=await _0x5eeb4a[_0x300da2(0x1ca)](_0x3e4c73,Array[_0x300da2(0x1ce)](_0x108c3a));for(const _0x5af612 of _0x4ca8ad)_0x353cd9[_0x300da2(0x19a)](_0x5af612['id'])||_0x353cd9[_0x300da2(0x1b5)](_0x5af612);}}a[_0x54dee8(0x1e2)]=_0x29f820;export default a;function _0x2923(_0x239d75,_0x20b051){const _0x464e40=_0x464e();return _0x2923=function(_0x292323,_0x7c1379){_0x292323=_0x292323-0x188;let _0x21e253=_0x464e40[_0x292323];return _0x21e253;},_0x2923(_0x239d75,_0x20b051);}async function et(_0x5115c6){const _0x221897=_0x54dee8;if(_0x221897(0x1c3)!==_0x5115c6[_0x221897(0x192)])throw _0x5115c6;}function ot(_0x110a21){const _0x9f2440=_0x54dee8;if((_0x4df515=_0x110a21)[_0x9f2440(0x1a4)][_0x9f2440(0x1cc)](_0x9f2440(0x193))||_0x4df515[_0x9f2440(0x1a4)][_0x9f2440(0x1cc)](_0x9f2440(0x1ed))||_0x4df515[_0x9f2440(0x1a4)][_0x9f2440(0x1cc)](_0x9f2440(0x1e9)))return new Promise(()=>{});var _0x4df515;throw _0x110a21;}function nt(_0x455604){const _0x20c509=_0x54dee8;return{'threadId':_0x455604[_0x20c509(0x1a1)],'commentId':_0x455604[_0x20c509(0x1ae)],'content':_0x455604[_0x20c509(0x1dd)],'createdAt':_0x455604[_0x20c509(0x1c9)],'authorId':_0x455604[_0x20c509(0x1d1)],'attributes':_0x455604[_0x20c509(0x189)]||{}};}
|
|
23
|
+
const _0x1751ef=_0x1cba;(function(_0x2c54e5,_0xf264f9){const _0xf9b219=_0x1cba,_0x41c9f3=_0x2c54e5();while(!![]){try{const _0x14ba44=parseInt(_0xf9b219(0x1ae))/0x1+-parseInt(_0xf9b219(0x1a5))/0x2+-parseInt(_0xf9b219(0x1a0))/0x3+parseInt(_0xf9b219(0x1cf))/0x4+-parseInt(_0xf9b219(0x1ca))/0x5+-parseInt(_0xf9b219(0x1e0))/0x6+parseInt(_0xf9b219(0x180))/0x7;if(_0x14ba44===_0xf264f9)break;else _0x41c9f3['push'](_0x41c9f3['shift']());}catch(_0x46345b){_0x41c9f3['push'](_0x41c9f3['shift']());}}}(_0x15ec,0x42b46));import{Context as _0x192091,ContextPlugin as _0x544ceb}from'ckeditor5/src/core.js';import{CKEditorError as _0x15893d}from'ckeditor5/src/utils.js';import{Users as _0xb47302}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1cba(_0x1e9dcc,_0xe7dd2f){const _0x15ec29=_0x15ec();return _0x1cba=function(_0x1cba93,_0x276c49){_0x1cba93=_0x1cba93-0x17f;let _0x2b8ecc=_0x15ec29[_0x1cba93];return _0x2b8ecc;},_0x1cba(_0x1e9dcc,_0xe7dd2f);}import{CommentsService as _0x315dd4,User as _0x5ddffa}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x15ec(){const _0x293e87=['_terminateService','attributes','addUser','userId','set','commentThreadReopened','plugins','createdAt','commentThreadRemoved','config','reconnect','from','getCommentThreads','has','pluginName','Permissions','reopenCommentThread','CommentsRepository','catch','getComment','cloudservicescommentsadapter-disconnect-not-exist','removeCommentThread','162984xfkpId','register','listenTo','commentThreadUpdated','404','580054UmHMZw','init','assign','map','getConnectedSessions','reopen','destroy','add','_connectService','62266sgWNkY','off','get','_fetchMissingUsersForThreads','getMany','_getService','commentId','commentAdded','delete','addCommentThread','startsWith','keys','cloudservicescommentsadapter-service-not-exist','collaboration.channelId','adapter','resolvedBy','comments','isOfficialPlugin','disconnect','CloudServicesCommentsAdapter','updateComment','commentThreadAdded','cloud-services-internal-error:\x20Request\x20timeout.','connect','content','update','updateCommentThread','isPremiumPlugin','1792075QGJJJm','getCommentThread','sessionAdd:','permissions','unregister','1905748HlvpWI','commentUpdated','_setUpService','commentThreadId','requires','addToReconnectionStack','setPermissions','deletedAt','_services','removeComment','getUser','message','size','cloud-services-internal-error:\x20Not\x20connected.','addComment','authorId','context','310650FHlmip','cloudservicescommentsadapter-connect-already-connected','commentRemoved','3423448yrmPvp','code','remove','resolve','commentThreadResolved','mySessionId','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','CommentsService','resolvedAt','resolveCommentThread'];_0x15ec=function(){return _0x293e87;};return _0x15ec();}import _0x48d687 from'../realtimecollaborativeediting/websocketgateway.js';import _0x241fa8 from'../realtimecollaborativeediting/sessions.js';class a extends _0x544ceb{static get[_0x1751ef(0x1d3)](){const _0x2d0a81=_0x1751ef;return[_0x48d687,_0x2d0a81(0x19b),_0x241fa8,_0xb47302];}static get[_0x1751ef(0x198)](){const _0x27160a=_0x1751ef;return _0x27160a(0x1c1);}static get[_0x1751ef(0x1bf)](){return!0x0;}static get[_0x1751ef(0x1c9)](){return!0x0;}constructor(_0x287325){const _0x4e8af1=_0x1751ef;super(_0x287325),this[_0x4e8af1(0x1d7)]=new Map();}async[_0x1751ef(0x1a6)](){const _0x3dfae4=_0x1751ef,_0x5695f6=this[_0x3dfae4(0x1df)],_0x2a7f70=_0x5695f6[_0x3dfae4(0x190)][_0x3dfae4(0x1b0)](_0x3dfae4(0x19b));if(_0x5695f6[_0x3dfae4(0x190)][_0x3dfae4(0x1b0)](_0x48d687)[_0x3dfae4(0x1d4)](this),_0x2a7f70[_0x3dfae4(0x1bc)]={'addCommentThread':async({channelId:_0x5e0363,threadId:_0x28bf37,comments:_0x137e07,resolvedAt:_0x139905,resolvedBy:_0x3b7f37,context:_0x4b96a3,attributes:_0xd8939a})=>{const _0x1bf9e0=_0x3dfae4,_0x554ee9=await this[_0x1bf9e0(0x1b3)](_0x5e0363)[_0x1bf9e0(0x1b7)]({'commentThreadId':_0x28bf37,'comments':_0x137e07[_0x1bf9e0(0x1a8)](_0x20d63c=>function(_0x20afff,_0x109315,_0x279d14){const _0x6fe3cf=_0x1bf9e0;return{'commentThreadId':_0x279d14,'commentId':_0x20afff[_0x6fe3cf(0x1b4)],'userId':_0x20afff[_0x6fe3cf(0x1de)],'content':_0x20afff[_0x6fe3cf(0x1c6)],'documentId':_0x109315,'createdAt':_0x20afff[_0x6fe3cf(0x191)],'attributes':_0x20afff[_0x6fe3cf(0x18b)]||{}};}(_0x20d63c,_0x5e0363,_0x28bf37)),'resolvedAt':_0x139905,'resolvedBy':_0x3b7f37,'context':_0x4b96a3,'attributes':_0xd8939a})[_0x1bf9e0(0x19c)](R);return{'threadId':_0x554ee9[_0x1bf9e0(0x1d2)],'comments':_0x554ee9[_0x1bf9e0(0x1be)]};},'getCommentThread':async({channelId:_0x2e631d,threadId:_0xc131f6})=>{const _0x280053=_0x3dfae4,_0x45bc21=await this[_0x280053(0x1b3)](_0x2e631d)[_0x280053(0x1cb)](_0xc131f6)[_0x280053(0x19c)](R);return _0x45bc21[_0x280053(0x1d6)]?null:(await this[_0x280053(0x1b1)]([_0x45bc21]),{'threadId':_0x45bc21[_0x280053(0x1d2)],'comments':_0x45bc21[_0x280053(0x1be)][_0x280053(0x1a8)](S),'context':_0x45bc21[_0x280053(0x1df)],'resolvedAt':_0x45bc21[_0x280053(0x188)],'resolvedBy':_0x45bc21[_0x280053(0x1bd)],'attributes':_0x45bc21[_0x280053(0x18b)]||{}});},'updateCommentThread':async({channelId:_0x48c179,threadId:_0x27ee9c,context:_0x5cd8e8,unlinkedAt:_0x3786f3,attributes:_0x315587})=>this[_0x3dfae4(0x1b3)](_0x48c179)[_0x3dfae4(0x1c8)]({'commentThreadId':_0x27ee9c,'context':_0x5cd8e8,'attributes':_0x315587,'unlinkedAt':_0x3786f3})[_0x3dfae4(0x19c)](B)[_0x3dfae4(0x19c)](R),'resolveCommentThread':async({channelId:_0x2abc0f,threadId:_0x21d26b})=>{const _0x4551e5=_0x3dfae4,_0x6b4f26=await this[_0x4551e5(0x1b3)](_0x2abc0f)[_0x4551e5(0x189)](_0x21d26b)[_0x4551e5(0x19c)](B)[_0x4551e5(0x19c)](R);return{'threadId':_0x6b4f26[_0x4551e5(0x1d2)],'resolvedAt':_0x6b4f26[_0x4551e5(0x188)],'resolvedBy':_0x6b4f26[_0x4551e5(0x1bd)]};},'reopenCommentThread':async({channelId:_0x1daaf9,threadId:_0x3f7c48})=>this[_0x3dfae4(0x1b3)](_0x1daaf9)[_0x3dfae4(0x19a)](_0x3f7c48)[_0x3dfae4(0x19c)](B)[_0x3dfae4(0x19c)](R),'removeCommentThread':({channelId:_0x11f378,threadId:_0x297fd5})=>this[_0x3dfae4(0x1b3)](_0x11f378)[_0x3dfae4(0x19f)](_0x297fd5)[_0x3dfae4(0x19c)](B)[_0x3dfae4(0x19c)](R),'addComment':({channelId:_0x5ecf0d,threadId:_0x3c5bdb,commentId:_0x4ac803,content:_0x4544d4,attributes:_0x4809b4})=>this[_0x3dfae4(0x1b3)](_0x5ecf0d)[_0x3dfae4(0x1dd)](_0x3c5bdb,_0x4ac803,_0x4544d4,_0x4809b4)[_0x3dfae4(0x19c)](R),'updateComment':({channelId:_0x37a008,threadId:_0x387bd4,commentId:_0x240ba2,content:_0xecc1a6,attributes:_0x5bef5f})=>this[_0x3dfae4(0x1b3)](_0x37a008)[_0x3dfae4(0x1c2)](_0x387bd4,_0x240ba2,_0xecc1a6,_0x5bef5f)[_0x3dfae4(0x19c)](B)[_0x3dfae4(0x19c)](R),'removeComment':({channelId:_0x2db722,threadId:_0xb2bb32,commentId:_0x3599ef})=>this[_0x3dfae4(0x1b3)](_0x2db722)[_0x3dfae4(0x1d8)](_0xb2bb32,_0x3599ef)[_0x3dfae4(0x19c)](B)[_0x3dfae4(0x19c)](R)},_0x5695f6 instanceof _0x192091){const _0x208578=_0x5695f6[_0x3dfae4(0x193)][_0x3dfae4(0x1b0)](_0x3dfae4(0x1bb)),_0xa4828c=_0x5695f6[_0x3dfae4(0x190)][_0x3dfae4(0x1b0)](_0x241fa8);await this[_0x3dfae4(0x1d1)](_0x208578);const _0x167fd2=await this[_0x3dfae4(0x1d7)][_0x3dfae4(0x1b0)](_0x208578)[_0x3dfae4(0x1a9)]();this[_0x3dfae4(0x1a2)](_0xa4828c,_0x3dfae4(0x1cc)+_0x208578,(_0x54b7dc,{session:_0x5d2663})=>{const _0x4f917b=_0x3dfae4;_0x5d2663['id']===_0xa4828c[_0x4f917b(0x185)]&&(_0x54b7dc[_0x4f917b(0x1af)](),this[_0x4f917b(0x1df)][_0x4f917b(0x190)][_0x4f917b(0x1b0)](_0x4f917b(0x199))[_0x4f917b(0x1d5)](_0x5d2663[_0x4f917b(0x1cd)],_0x208578));}),_0xa4828c[_0x3dfae4(0x1a1)](_0x208578,_0x167fd2);}}async[_0x1751ef(0x1d1)](_0x235809){const _0x481272=_0x1751ef;if(this[_0x481272(0x1d7)][_0x481272(0x197)](_0x235809))throw new _0x15893d(_0x481272(0x1e1),null,{'channelId':_0x235809});const _0x238b2f=this[_0x481272(0x1df)][_0x481272(0x190)][_0x481272(0x1b0)](_0x481272(0x19b)),_0x212fe6=new a[(_0x481272(0x187))](_0x235809);this[_0x481272(0x1d7)][_0x481272(0x18e)](_0x235809,_0x212fe6),this[_0x481272(0x1a2)](_0x212fe6,_0x481272(0x1c3),(_0x293689,_0x12c542)=>{const _0x38a606=_0x481272,{commentThreadId:_0x357eb6,documentId:_0x3c06d4,context:_0xe4297f,attributes:_0xc4f120,resolvedAt:_0x1631cd,resolvedBy:_0x255321,comments:_0x30a1e6}=_0x12c542;_0x238b2f[_0x38a606(0x1cb)](_0x357eb6)||_0x238b2f[_0x38a606(0x1b7)]({'threadId':_0x357eb6,'channelId':_0x3c06d4,'comments':_0x30a1e6?_0x30a1e6[_0x38a606(0x1a8)](S):[],'context':_0xe4297f,'attributes':_0xc4f120,'resolvedAt':_0x1631cd,'resolvedBy':_0x255321,'isFromAdapter':!0x0});}),this[_0x481272(0x1a2)](_0x212fe6,_0x481272(0x1a3),(_0x5f3dd7,{commentThreadId:_0x25a378,documentId:_0x37666c,context:_0x23a29,unlinkedAt:_0x53d612,attributes:_0x4addcf})=>{const _0x42436c=_0x481272;_0x238b2f[_0x42436c(0x1cb)](_0x25a378)&&_0x238b2f[_0x42436c(0x1c8)]({'threadId':_0x25a378,'channelId':_0x37666c,'context':_0x23a29,'unlinkedAt':_0x53d612,'attributes':_0x4addcf,'isFromAdapter':!0x0});}),this[_0x481272(0x1a2)](_0x212fe6,_0x481272(0x184),(_0x1afb2e,{commentThreadId:_0x3b3be2,resolvedBy:_0x8f06f9,resolvedAt:_0x44c431})=>{const _0x35ef21=_0x481272,_0x2e2e9d=_0x238b2f[_0x35ef21(0x1cb)](_0x3b3be2);_0x2e2e9d&&_0x2e2e9d[_0x35ef21(0x183)]({'resolvedBy':_0x8f06f9,'resolvedAt':_0x44c431,'isFromAdapter':!0x0});}),this[_0x481272(0x1a2)](_0x212fe6,_0x481272(0x18f),(_0x1f7f9b,{commentThreadId:_0x5902cd})=>{const _0x39b983=_0x481272,_0x2c5758=_0x238b2f[_0x39b983(0x1cb)](_0x5902cd);_0x2c5758&&_0x2c5758[_0x39b983(0x1aa)]({'isFromAdapter':!0x0});}),this[_0x481272(0x1a2)](_0x212fe6,_0x481272(0x192),(_0x4efdbd,{commentThreadId:_0x3d0237})=>{const _0x4aa540=_0x481272,_0x23df2f=_0x238b2f[_0x4aa540(0x1cb)](_0x3d0237);_0x23df2f&&_0x23df2f[_0x4aa540(0x182)]({'isFromAdapter':!0x0});}),this[_0x481272(0x1a2)](_0x212fe6,_0x481272(0x1b5),(_0x235eef,_0x35c173)=>{const _0x1f5031=_0x481272,_0x47775b=_0x35c173[_0x1f5031(0x1d2)],_0x83a7f8=_0x238b2f[_0x1f5031(0x1cb)](_0x47775b);_0x83a7f8&&_0x83a7f8[_0x1f5031(0x1dd)]({...S(_0x35c173),'isFromAdapter':!0x0});}),this[_0x481272(0x1a2)](_0x212fe6,_0x481272(0x1d0),(_0x4bc89b,{commentThreadId:_0x243ac2,commentId:_0x433957,content:_0x2dca85,attributes:_0x2654e0})=>{const _0xaf04d6=_0x481272,_0x2d0fb1=_0x238b2f[_0xaf04d6(0x1cb)](_0x243ac2);if(_0x2d0fb1){const _0x3e0626=_0x2d0fb1[_0xaf04d6(0x19d)](_0x433957);_0x3e0626&&_0x3e0626[_0xaf04d6(0x1c7)]({'content':_0x2dca85,'attributes':_0x2654e0,'isFromAdapter':!0x0});}}),this[_0x481272(0x1a2)](_0x212fe6,_0x481272(0x17f),(_0x187b18,{commentThreadId:_0x3318e4,commentId:_0x62bd98})=>{const _0x142364=_0x481272,_0x29dd39=_0x238b2f[_0x142364(0x1cb)](_0x3318e4);if(_0x29dd39){const _0x5a82b0=_0x29dd39[_0x142364(0x19d)](_0x62bd98);_0x5a82b0&&_0x5a82b0[_0x142364(0x182)]({'isFromAdapter':!0x0});}}),await this[_0x481272(0x1ad)](_0x235809);}[_0x1751ef(0x1ab)](){const _0x529fa8=_0x1751ef;if(this[_0x529fa8(0x1df)]instanceof _0x192091){const _0x2e880b=this[_0x529fa8(0x1df)][_0x529fa8(0x193)][_0x529fa8(0x1b0)](_0x529fa8(0x1bb));this[_0x529fa8(0x18a)](_0x2e880b);}}[_0x1751ef(0x18a)](_0x214578){const _0x5e4493=_0x1751ef;if(!this[_0x5e4493(0x1d7)][_0x5e4493(0x197)](_0x214578))throw new _0x15893d(_0x5e4493(0x19e),null,{'channelId':_0x214578});this[_0x5e4493(0x1b3)](_0x214578)[_0x5e4493(0x1c0)](),this[_0x5e4493(0x1d7)][_0x5e4493(0x1b6)](_0x214578);}async[_0x1751ef(0x194)](){const _0xc97054=_0x1751ef;for(const _0x3b5d43 of this[_0xc97054(0x1d7)][_0xc97054(0x1b9)]())await this[_0xc97054(0x1ad)](_0x3b5d43);if(this[_0xc97054(0x1df)]instanceof _0x192091){const _0x17b3fc=this[_0xc97054(0x1df)][_0xc97054(0x193)][_0xc97054(0x1b0)](_0xc97054(0x1bb)),_0xf74bac=this[_0xc97054(0x1df)][_0xc97054(0x190)][_0xc97054(0x1b0)](_0x241fa8);_0xf74bac[_0xc97054(0x1ce)](_0x17b3fc);const _0x507082=await this[_0xc97054(0x1d7)][_0xc97054(0x1b0)](_0x17b3fc)[_0xc97054(0x1a9)]();_0xf74bac[_0xc97054(0x1a1)](_0x17b3fc,_0x507082);}}async[_0x1751ef(0x1ad)](_0x2ddf18){const _0x47954a=_0x1751ef,{connection:_0x2b318a}=this[_0x47954a(0x1df)][_0x47954a(0x190)][_0x47954a(0x1b0)](_0x48d687),_0xeb129a=this[_0x47954a(0x1df)][_0x47954a(0x190)][_0x47954a(0x1b0)](_0x47954a(0x19b)),_0x5ce55c=this[_0x47954a(0x1d7)][_0x47954a(0x1b0)](_0x2ddf18),_0x11f165=await _0x5ce55c[_0x47954a(0x1c5)](_0x2b318a);await this[_0x47954a(0x1b1)](_0x11f165);const _0xb482f=new Set(Array[_0x47954a(0x195)](_0xeb129a[_0x47954a(0x196)]({'channelId':_0x2ddf18}),_0x284c12=>_0x284c12['id']));for(const _0x394a6a of _0x11f165)_0x394a6a[_0x47954a(0x1d6)]||_0xb482f[_0x47954a(0x1b6)](_0x394a6a[_0x47954a(0x1d2)]);for(const _0x36d04e of _0xb482f)_0xeb129a[_0x47954a(0x1cb)](_0x36d04e)[_0x47954a(0x182)]({'isFromAdapter':!0x0});for(const _0x46d4d8 of _0x11f165){let _0x26c52c=_0xeb129a[_0x47954a(0x1cb)](_0x46d4d8[_0x47954a(0x1d2)]);const {commentThreadId:_0x32294e,context:_0xaa055e,attributes:_0x228c96,resolvedBy:_0x24eb4a,resolvedAt:_0x4b1a5f,unlinkedAt:_0x2745a4,deletedAt:_0x5309fa}=_0x46d4d8;if(_0x5309fa)continue;_0x26c52c||(_0x26c52c=_0xeb129a[_0x47954a(0x1b7)]({'channelId':_0x2ddf18,'threadId':_0x32294e,'context':_0xaa055e,'attributes':_0x228c96||{},'resolvedBy':_0x24eb4a,'resolvedAt':_0x4b1a5f,'unlinkedAt':_0x2745a4,'isFromAdapter':!0x0}));const _0x153693=new Set(Array[_0x47954a(0x195)](_0x26c52c[_0x47954a(0x1be)],_0x52cfab=>_0x52cfab['id']));for(const _0x7de5e7 of _0x46d4d8[_0x47954a(0x1be)])_0x153693[_0x47954a(0x1b6)](_0x7de5e7[_0x47954a(0x1b4)]);for(const _0xdab0fc of _0x153693)_0x26c52c[_0x47954a(0x19d)](_0xdab0fc)[_0x47954a(0x182)]({'isFromAdapter':!0x0});for(const _0x4ef4d4 of _0x46d4d8[_0x47954a(0x1be)]){const _0x1f453f=_0x26c52c[_0x47954a(0x19d)](_0x4ef4d4[_0x47954a(0x1b4)]);_0x1f453f?_0x1f453f[_0x47954a(0x1c6)]!==_0x4ef4d4[_0x47954a(0x1c6)]&&_0x1f453f[_0x47954a(0x1c7)]({'content':_0x4ef4d4[_0x47954a(0x1c6)],'isFromAdapter':!0x0}):_0x26c52c[_0x47954a(0x1dd)](Object[_0x47954a(0x1a7)](S(_0x4ef4d4),{'isFromAdapter':!0x0}));}}}[_0x1751ef(0x1b3)](_0x3798c1){const _0xff372c=_0x1751ef;if(!this[_0xff372c(0x1d7)][_0xff372c(0x197)](_0x3798c1))throw new _0x15893d(_0xff372c(0x1ba),null,{'channelId':_0x3798c1});return this[_0xff372c(0x1d7)][_0xff372c(0x1b0)](_0x3798c1);}async[_0x1751ef(0x1b1)](_0x5bf165){const _0x361b36=_0x1751ef,_0x1e64f8=this[_0x361b36(0x1df)][_0x361b36(0x190)][_0x361b36(0x1b0)](_0xb47302),{connection:_0x520ca2}=this[_0x361b36(0x1df)][_0x361b36(0x190)][_0x361b36(0x1b0)](_0x48d687),_0x4d2b89=new Set();for(const {resolvedBy:_0x1dd3df,comments:_0x1c84ca}of _0x5bf165){_0x1dd3df&&!_0x1e64f8[_0x361b36(0x1d9)](_0x1dd3df)&&_0x4d2b89[_0x361b36(0x1ac)](_0x1dd3df);for(const {userId:_0x1fd67e}of _0x1c84ca)_0x1e64f8[_0x361b36(0x1d9)](_0x1fd67e)||_0x4d2b89[_0x361b36(0x1ac)](_0x1fd67e);}if(0x0===_0x4d2b89[_0x361b36(0x1db)])return;const _0x426625=await _0x5ddffa[_0x361b36(0x1b2)](_0x520ca2,Array[_0x361b36(0x195)](_0x4d2b89));for(const _0x1d9193 of _0x426625)_0x1e64f8[_0x361b36(0x1d9)](_0x1d9193['id'])||_0x1e64f8[_0x361b36(0x18c)](_0x1d9193);}}a[_0x1751ef(0x187)]=_0x315dd4;export default a;async function B(_0x6faf39){const _0x372ad6=_0x1751ef;if(_0x372ad6(0x1a4)!==_0x6faf39[_0x372ad6(0x181)])throw _0x6faf39;}function R(_0x2bde27){const _0x4bd2cf=_0x1751ef;if((_0x178bd8=_0x2bde27)[_0x4bd2cf(0x1da)][_0x4bd2cf(0x1b8)](_0x4bd2cf(0x186))||_0x178bd8[_0x4bd2cf(0x1da)][_0x4bd2cf(0x1b8)](_0x4bd2cf(0x1dc))||_0x178bd8[_0x4bd2cf(0x1da)][_0x4bd2cf(0x1b8)](_0x4bd2cf(0x1c4)))return new Promise(()=>{});var _0x178bd8;throw _0x2bde27;}function S(_0x5b6a10){const _0x351cb7=_0x1751ef;return{'threadId':_0x5b6a10[_0x351cb7(0x1d2)],'commentId':_0x5b6a10[_0x351cb7(0x1b4)],'content':_0x5b6a10[_0x351cb7(0x1c6)],'createdAt':_0x5b6a10[_0x351cb7(0x191)],'authorId':_0x5b6a10[_0x351cb7(0x18d)],'attributes':_0x5b6a10[_0x351cb7(0x18b)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4d309c=_0x306c;(function(_0x112d66,_0x53aa03){const _0x39ac25=_0x306c,_0x73a899=_0x112d66();while(!![]){try{const _0x3b3704=-parseInt(_0x39ac25(0x1a6))/0x1+parseInt(_0x39ac25(0x1b9))/0x2+parseInt(_0x39ac25(0x1b6))/0x3*(parseInt(_0x39ac25(0x1a7))/0x4)+-parseInt(_0x39ac25(0x1b7))/0x5*(-parseInt(_0x39ac25(0x19b))/0x6)+-parseInt(_0x39ac25(0x1a5))/0x7*(-parseInt(_0x39ac25(0x1ad))/0x8)+parseInt(_0x39ac25(0x1aa))/0x9*(-parseInt(_0x39ac25(0x1be))/0xa)+-parseInt(_0x39ac25(0x1b2))/0xb;if(_0x3b3704===_0x53aa03)break;else _0x73a899['push'](_0x73a899['shift']());}catch(_0x27a145){_0x73a899['push'](_0x73a899['shift']());}}}(_0x35b1,0xc6239));function _0x35b1(){const _0x37a1b3=['983627CTMXKW','4hswBmB','_setUpService','init','18216iIHhnd','isOfficialPlugin','collaboration.channelId','9661920jKtCHF','data','CommentsEditing','once','RealTimeCollaborativeComments','32496772efFNsw','ready','editor','config','3891759hQTjzp','36450bBXAHj','switchReadOnly','3080250WskMDO','isPremiumPlugin','listenTo','change:state','Comments','4480mllryd','1326qqGKab','_terminateService','pluginName','CommentsRepository','requires','plugins','connected','get','destroy','isThreadsLoadingPaused','7IIgOxy'];_0x35b1=function(){return _0x37a1b3;};return _0x35b1();}function _0x306c(_0x4577da,_0x3af98a){const _0x35b1fa=_0x35b1();return _0x306c=function(_0x306c2c,_0x1c13be){_0x306c2c=_0x306c2c-0x19b;let _0x1310d2=_0x35b1fa[_0x306c2c];return _0x1310d2;},_0x306c(_0x4577da,_0x3af98a);}import{Plugin as _0x35074b}from'ckeditor5/src/core.js';import _0x39b7eb from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x54b57f from'./realtimecollaborativeediting.js';import _0xb2bb52 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x35074b{static get[_0x4d309c(0x19f)](){const _0x3180bf=_0x4d309c;return[_0x3180bf(0x1bd),_0x39b7eb,_0x54b57f,_0xb2bb52];}static get[_0x4d309c(0x19d)](){const _0x43de17=_0x4d309c;return _0x43de17(0x1b1);}static get[_0x4d309c(0x1ab)](){return!0x0;}static get[_0x4d309c(0x1ba)](){return!0x0;}[_0x4d309c(0x1a9)](){const _0x1f4255=_0x4d309c,_0xbce133=this[_0x1f4255(0x1b4)][_0x1f4255(0x1a0)][_0x1f4255(0x1a2)](_0xb2bb52),_0x3054cc=this[_0x1f4255(0x1b4)][_0x1f4255(0x1a0)][_0x1f4255(0x1a2)](_0x1f4255(0x1af)),_0x7661e0=this[_0x1f4255(0x1b4)][_0x1f4255(0x1a0)][_0x1f4255(0x1a2)](_0x39b7eb);return this[_0x1f4255(0x1b4)][_0x1f4255(0x1ae)][_0x1f4255(0x1b0)](_0x1f4255(0x1b3),()=>{const _0x498b33=_0x1f4255;this[_0x498b33(0x1bb)](_0xbce133,_0x498b33(0x1bc),(_0x3451f0,_0x40a9b7,_0x3f347d)=>{const _0x1a5ac9=_0x498b33;_0x3054cc[_0x1a5ac9(0x1a4)]=_0x1a5ac9(0x1a1)!==_0x3f347d;});}),this[_0x1f4255(0x1bb)](_0xbce133,_0x1f4255(0x1bc),(_0xbef365,_0x437c76,_0x3643a7)=>{const _0x5176e6=_0x1f4255;this[_0x5176e6(0x1b4)][_0x5176e6(0x1a0)][_0x5176e6(0x1a2)](_0x5176e6(0x19e))[_0x5176e6(0x1b8)](_0x5176e6(0x1a1)!==_0x3643a7);}),_0x7661e0[_0x1f4255(0x1a8)](this[_0x1f4255(0x1b4)][_0x1f4255(0x1b5)][_0x1f4255(0x1a2)](_0x1f4255(0x1ac)));}[_0x4d309c(0x1a3)](){const _0x23e210=_0x4d309c;this[_0x23e210(0x1b4)][_0x23e210(0x1a0)][_0x23e210(0x1a2)](_0x39b7eb)[_0x23e210(0x19c)](this[_0x23e210(0x1b4)][_0x23e210(0x1b5)][_0x23e210(0x1a2)](_0x23e210(0x1ac))),super[_0x23e210(0x1a3)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x25edc1=_0x4d7c;function _0x4d7c(_0x5053b7,_0x19c0de){const _0x2acaa8=_0x2aca();return _0x4d7c=function(_0x4d7c99,_0x2eb90c){_0x4d7c99=_0x4d7c99-0x1b8;let _0x5ab8d6=_0x2acaa8[_0x4d7c99];return _0x5ab8d6;},_0x4d7c(_0x5053b7,_0x19c0de);}(function(_0x361d39,_0x226da4){const _0x5d45b0=_0x4d7c,_0x5860ad=_0x361d39();while(!![]){try{const _0x5847a4=-parseInt(_0x5d45b0(0x27f))/0x1+parseInt(_0x5d45b0(0x1d9))/0x2+parseInt(_0x5d45b0(0x29a))/0x3*(-parseInt(_0x5d45b0(0x229))/0x4)+-parseInt(_0x5d45b0(0x226))/0x5*(-parseInt(_0x5d45b0(0x2ac))/0x6)+parseInt(_0x5d45b0(0x1d7))/0x7*(-parseInt(_0x5d45b0(0x2af))/0x8)+-parseInt(_0x5d45b0(0x278))/0x9+-parseInt(_0x5d45b0(0x1df))/0xa*(-parseInt(_0x5d45b0(0x212))/0xb);if(_0x5847a4===_0x226da4)break;else _0x5860ad['push'](_0x5860ad['shift']());}catch(_0x2cc8f5){_0x5860ad['push'](_0x5860ad['shift']());}}}(_0x2aca,0xd58a6));import{Plugin as _0x4a13f4,PendingActions as _0x1d6655}from'ckeditor5/src/core.js';import{CKEditorError as _0x5af213,version as _0x205efd,uid as _0x23932a}from'ckeditor5/src/utils.js';import{Notification as _0x554211}from'ckeditor5/src/ui.js';import{transformSets as _0x268478,NoOperation as _0x4703cf,InsertOperation as _0x3e7a44,MarkerOperation as _0x217b0f,RootAttributeOperation as _0x4a837d,OperationFactory as _0x1ea7b6,History as _0x322849}from'ckeditor5/src/engine.js';import _0x14bdb3 from'./websocketgateway.js';import _0x22b84c from'./sessions.js';import _0x1d73c3 from'./usermarkers.js';import{getTranslation as _0x1ed547}from'../common-translations.js';import{Compressor as _0x22fd47}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x3dccb6}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x1cf8ac,CollaborativeEditingService as _0x37337b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let F=0x1;class l extends _0x4a13f4{static get[_0x25edc1(0x25c)](){return[_0x14bdb3,_0x22b84c,_0x1d73c3,_0x1d6655,_0x3dccb6,_0x554211];}static get[_0x25edc1(0x261)](){const _0xf7ef=_0x25edc1;return _0xf7ef(0x27a);}static get[_0x25edc1(0x24a)](){return!0x0;}static get[_0x25edc1(0x27d)](){return!0x0;}get[_0x25edc1(0x289)](){const _0x2300bb=_0x25edc1;return this[_0x2300bb(0x26a)]+this[_0x2300bb(0x1e7)];}get[_0x25edc1(0x26a)](){const _0x4aea61=_0x25edc1;return this[_0x4aea61(0x23f)][_0x4aea61(0x28b)]-this[_0x4aea61(0x1e7)];}get[_0x25edc1(0x21f)](){const _0x365ad9=_0x25edc1,_0x358b78=this[_0x365ad9(0x23f)][_0x365ad9(0x2a3)]();for(let _0xc7777b=_0x358b78[_0x365ad9(0x284)]-0x1;_0xc7777b>=0x0;_0xc7777b--){const _0x1e816e=_0x358b78[_0xc7777b];if(!this[_0x365ad9(0x29d)][_0x365ad9(0x2a8)](_0x1e816e))return _0x1e816e[_0x365ad9(0x234)]+0x1-this[_0x365ad9(0x1e7)];}return 0x0;}constructor(_0x41d1ec){const _0x9eac06=_0x25edc1;if(super(_0x41d1ec),this[_0x9eac06(0x1e7)]=0x0,this[_0x9eac06(0x1b8)]=null,this[_0x9eac06(0x23f)]=new _0x322849(),this[_0x9eac06(0x233)][_0x9eac06(0x225)][_0x9eac06(0x201)](_0x9eac06(0x20c),{}),this[_0x9eac06(0x236)]=this[_0x9eac06(0x233)][_0x9eac06(0x225)][_0x9eac06(0x1f8)](_0x9eac06(0x27e)),!this[_0x9eac06(0x236)])throw new _0x5af213(_0x9eac06(0x247),this);const _0x163be6=_0x41d1ec[_0x9eac06(0x225)][_0x9eac06(0x1f8)](_0x9eac06(0x1c1))||_0x205efd;this[_0x9eac06(0x232)]=new l[(_0x9eac06(0x218))](_0x163be6,this[_0x9eac06(0x236)]),this[_0x9eac06(0x294)]=this[_0x9eac06(0x233)][_0x9eac06(0x2b7)][_0x9eac06(0x26f)],this[_0x9eac06(0x26b)]=new _0x22fd47(),this[_0x9eac06(0x1ec)]=[],this[_0x9eac06(0x266)]=new WeakSet(),this[_0x9eac06(0x20d)]=new Set(),this[_0x9eac06(0x2b2)](_0x9eac06(0x280),!0x1),this[_0x9eac06(0x2b2)](_0x9eac06(0x27b),!0x1),this[_0x9eac06(0x2ae)]=null,this[_0x9eac06(0x213)]=!0x1,this[_0x9eac06(0x1f0)]=null,this[_0x9eac06(0x1d1)]=0x12c,this[_0x9eac06(0x277)]=this[_0x9eac06(0x1d1)],this[_0x9eac06(0x254)]=null,this[_0x9eac06(0x29d)]=new WeakSet(),this[_0x9eac06(0x2bd)]=new G(this[_0x9eac06(0x29d)]);}[_0x25edc1(0x235)](){const _0x5394fe=_0x25edc1,_0x151bb1=this[_0x5394fe(0x233)],_0x538fe9=_0x151bb1[_0x5394fe(0x290)][_0x5394fe(0x1f8)](_0x3dccb6),_0x5dc5a3=_0x151bb1[_0x5394fe(0x290)][_0x5394fe(0x1f8)](_0x14bdb3);this[_0x5394fe(0x257)](_0x538fe9,_0x5394fe(0x2aa),(_0x4ca5e4,_0x16fa82)=>{const _0x5a920a=_0x5394fe,_0xef7e9c=_0x16fa82[0x0];_0xef7e9c[_0x5a920a(0x223)]&&(_0x4ca5e4[_0x5a920a(0x24d)]=_0x538fe9[_0x5a920a(0x291)](_0xef7e9c[_0x5a920a(0x223)]),_0x4ca5e4[_0x5a920a(0x274)]()),null===_0xef7e9c[_0x5a920a(0x223)]&&(_0x4ca5e4[_0x5a920a(0x24d)]=null,_0x4ca5e4[_0x5a920a(0x274)]());},{'priority':_0x5394fe(0x242)}),this[_0x5394fe(0x257)](_0x151bb1[_0x5394fe(0x2b7)][_0x5394fe(0x26f)][_0x5394fe(0x221)],_0x5394fe(0x1bb),(_0x22c132,_0x4a6173)=>{const _0x127b83=_0x5394fe;_0x4a6173[_0x127b83(0x26e)]&&this[_0x127b83(0x1e4)]();}),this[_0x5394fe(0x257)](_0x151bb1[_0x5394fe(0x2b1)][_0x5394fe(0x1da)],_0x5394fe(0x22c),()=>{const _0xadba14=_0x5394fe;this[_0xadba14(0x1e4)]();}),this[_0x5394fe(0x239)](),_0x151bb1[_0x5394fe(0x2b7)]['on'](_0x5394fe(0x285),(_0x26c211,_0x45b8ed)=>{const _0x9e09b0=_0x5394fe,_0x1151bc=_0x45b8ed[0x0];_0x1151bc[_0x9e09b0(0x29e)]&&(this[_0x9e09b0(0x214)](_0x1151bc),this[_0x9e09b0(0x1ca)]()&&this[_0x9e09b0(0x2b5)]());}),this[_0x5394fe(0x2bb)](),this[_0x5394fe(0x293)](_0x5394fe(0x209))['to'](_0x5dc5a3,_0x5394fe(0x2bc),this,_0x5394fe(0x27b),(_0xcf97a1,_0x521339)=>_0x5394fe(0x1d6)===_0xcf97a1&&!_0x521339),this['on'](_0x5394fe(0x1dd),()=>{const _0x3a9d5f=_0x5394fe;this[_0x3a9d5f(0x209)]?_0x151bb1[_0x3a9d5f(0x1f4)](_0x3a9d5f(0x276)):_0x151bb1[_0x3a9d5f(0x28c)](_0x3a9d5f(0x276));}),this[_0x5394fe(0x209)]?_0x151bb1[_0x5394fe(0x1f4)](_0x5394fe(0x276)):_0x151bb1[_0x5394fe(0x28c)](_0x5394fe(0x276)),this[_0x5394fe(0x2b2)](_0x5394fe(0x1f7),!0x1);}async[_0x25edc1(0x1d8)](){const _0x420695=_0x25edc1,_0x2d51b8=this[_0x420695(0x233)][_0x420695(0x290)][_0x420695(0x1f8)](_0x22b84c),_0xa70878=this[_0x420695(0x233)][_0x420695(0x290)][_0x420695(0x1f8)](_0x14bdb3);try{this[_0x420695(0x280)]=!0x0,_0x2d51b8[_0x420695(0x241)](this[_0x420695(0x236)]);const _0x1da77e=await this[_0x420695(0x232)][_0x420695(0x1d8)](_0xa70878[_0x420695(0x24e)],this[_0x420695(0x21f)]);await this[_0x420695(0x2a4)](_0x1da77e)&&(this[_0x420695(0x280)]=!0x1,this[_0x420695(0x1ee)]());const _0xa748fa=await this[_0x420695(0x232)][_0x420695(0x231)]();_0x2d51b8[_0x420695(0x21e)](this[_0x420695(0x236)],_0xa748fa),this[_0x420695(0x1c4)](),this[_0x420695(0x1f7)]=!0x0;}catch(_0x3ced74){if(function(_0x1c49f0){const _0x21e274=_0x420695;return _0x21e274(0x1ba)===_0x1c49f0[_0x21e274(0x1dc)];}(_0x3ced74)&&this[_0x420695(0x1b8)])await this[_0x420695(0x22f)]();else{if(function(_0x583bf6){const _0x19d66d=_0x420695;return _0x19d66d(0x204)===_0x583bf6[_0x19d66d(0x1dc)];}(_0x3ced74)){const _0x25641d=_0x1ed547(this[_0x420695(0x233)][_0x420695(0x24b)],_0x420695(0x269));this[_0x420695(0x295)](_0x25641d);}else{if(!(_0x3ced74 instanceof H))throw _0x3ced74;this[_0x420695(0x295)]();}}}}[_0x25edc1(0x237)](){const _0x54104a=_0x25edc1,_0x59ce72=this[_0x54104a(0x233)][_0x54104a(0x290)][_0x54104a(0x1f8)](_0x14bdb3),_0x562ff0=this[_0x54104a(0x233)][_0x54104a(0x290)][_0x54104a(0x1f8)](_0x22b84c);this[_0x54104a(0x233)][_0x54104a(0x28c)](_0x54104a(0x25e)),_0x562ff0[_0x54104a(0x1bd)][_0x54104a(0x2a8)](this[_0x54104a(0x236)])&&_0x562ff0[_0x54104a(0x241)](this[_0x54104a(0x236)]),_0x59ce72[_0x54104a(0x255)](this),this[_0x54104a(0x1db)](),super[_0x54104a(0x237)]();}async[_0x25edc1(0x2a4)](_0x20d1d1){const _0x3245a9=_0x25edc1;if(this[_0x3245a9(0x1b8)]!==_0x20d1d1[_0x3245a9(0x1b8)]&&this[_0x3245a9(0x254)]!==_0x20d1d1[_0x3245a9(0x2b9)])throw new H();return this[_0x3245a9(0x1b8)]=_0x20d1d1[_0x3245a9(0x1b8)],this[_0x3245a9(0x1be)]([],{..._0x20d1d1,'wereChangesApplied':!0x1,'data':_0x20d1d1[_0x3245a9(0x1c8)]},_0x3245a9(0x1d8));}async[_0x25edc1(0x26d)](_0x373249,_0x2843c7=!0x1){const _0x4eac1b=_0x25edc1,{connection:_0x41bb58}=this[_0x4eac1b(0x233)][_0x4eac1b(0x290)][_0x4eac1b(0x1f8)](_0x14bdb3);l[_0x4eac1b(0x218)][_0x4eac1b(0x231)](_0x41bb58,this[_0x4eac1b(0x236)])[_0x4eac1b(0x23c)](_0x585d82=>this[_0x4eac1b(0x1fa)](_0x585d82))[_0x4eac1b(0x1c0)](_0x44e705=>{const _0x25012c=_0x4eac1b;this[_0x25012c(0x283)](_0x25012c(0x296),_0x44e705);}),this[_0x4eac1b(0x257)](this[_0x4eac1b(0x232)],_0x4eac1b(0x1d5),this[_0x4eac1b(0x23d)][_0x4eac1b(0x293)](this)),this[_0x4eac1b(0x257)](this[_0x4eac1b(0x232)],_0x4eac1b(0x260),(_0x1a367c,_0x115b69)=>{const _0x5bb662=_0x4eac1b;this[_0x5bb662(0x283)](_0x5bb662(0x25d),_0x115b69);}),this[_0x4eac1b(0x257)](this[_0x4eac1b(0x232)],_0x4eac1b(0x279),()=>{const _0x3a9eb3=_0x4eac1b;this[_0x3a9eb3(0x1f7)]=!0x1;});const _0x1002fe=this[_0x4eac1b(0x2bd)][_0x4eac1b(0x262)](_0x373249);this[_0x4eac1b(0x280)]=!0x0;const _0x2f3503=await this[_0x4eac1b(0x232)][_0x4eac1b(0x1fe)](_0x41bb58,this[_0x4eac1b(0x264)](_0x373249),_0x1002fe);if(this[_0x4eac1b(0x1b8)]=_0x2f3503[_0x4eac1b(0x1b8)],_0x2843c7){if(!_0x2f3503[_0x4eac1b(0x249)])return void this[_0x4eac1b(0x295)]();this[_0x4eac1b(0x280)]=!0x1,this[_0x4eac1b(0x1ee)](),this[_0x4eac1b(0x23f)][_0x4eac1b(0x263)](),this[_0x4eac1b(0x1e7)]=_0x2f3503[_0x4eac1b(0x203)],this[_0x4eac1b(0x23f)][_0x4eac1b(0x28b)]=this[_0x4eac1b(0x1e7)],await this[_0x4eac1b(0x1be)](_0x373249,_0x2f3503,_0x4eac1b(0x272));}else await this[_0x4eac1b(0x1c3)](_0x2f3503,_0x373249);this[_0x4eac1b(0x1c4)](),this[_0x4eac1b(0x1f7)]=!0x0;}[_0x25edc1(0x1c4)](){const _0x3d6586=_0x25edc1,_0x34bae9=this[_0x3d6586(0x233)][_0x3d6586(0x290)][_0x3d6586(0x1f8)](_0x22b84c),_0x123338=this[_0x3d6586(0x233)][_0x3d6586(0x290)][_0x3d6586(0x1f8)](_0x1d73c3),_0x2f35e9=_0x34bae9[_0x3d6586(0x1bd)][_0x3d6586(0x1f8)](this[_0x3d6586(0x236)]);_0x2f35e9&&_0x2f35e9[_0x3d6586(0x284)]>0x1?_0x123338[_0x3d6586(0x1de)]():this[_0x3d6586(0x257)](_0x34bae9,_0x3d6586(0x222)+this[_0x3d6586(0x236)],()=>{const _0x238919=_0x3d6586;0x2===_0x34bae9[_0x238919(0x1bd)][_0x238919(0x1f8)](this[_0x238919(0x236)])[_0x238919(0x284)]&&_0x123338[_0x238919(0x1de)]();});}async[_0x25edc1(0x23d)](_0x1f1733,_0x13e543,_0x712cc1,_0x5144d2){const _0x4b7d84=_0x25edc1;if(!this[_0x4b7d84(0x280)]&&this[_0x4b7d84(0x294)][_0x4b7d84(0x28b)]==_0x13e543){const _0x93625d=this[_0x4b7d84(0x1cd)](_0x712cc1,_0x5144d2);await this[_0x4b7d84(0x21a)](_0x93625d),this[_0x4b7d84(0x2ba)](_0x93625d,_0x13e543,_0x712cc1[_0x4b7d84(0x2b9)])||this[_0x4b7d84(0x283)](_0x4b7d84(0x205));}}async[_0x25edc1(0x22f)](){const _0x6fb37a=_0x25edc1;this[_0x6fb37a(0x1db)]();const {locale:_0xd9d53d}=this[_0x6fb37a(0x233)];let _0x452fb2;try{_0x452fb2=await this[_0x6fb37a(0x232)][_0x6fb37a(0x1c7)]();}catch(_0x428ce2){const _0x36d204=_0x1ed547(_0xd9d53d,_0x6fb37a(0x1c5));return void this[_0x6fb37a(0x295)](_0x36d204);}const _0x4e5cac=_0x452fb2[_0x6fb37a(0x1e0)]||_0x452fb2[_0x6fb37a(0x243)];if(this[_0x6fb37a(0x254)]===_0x4e5cac[_0x6fb37a(0x2b9)])await this[_0x6fb37a(0x26d)](this[_0x6fb37a(0x233)][_0x6fb37a(0x2b7)][_0x6fb37a(0x26f)][_0x6fb37a(0x2a7)][_0x6fb37a(0x2a3)](),!0x0);else{const _0x2225f7=_0x1ed547(_0xd9d53d,_0x6fb37a(0x246));this[_0x6fb37a(0x295)](_0x2225f7);}}[_0x25edc1(0x1db)](){const _0x299a94=_0x25edc1;this[_0x299a94(0x232)][_0x299a94(0x1e8)](),this[_0x299a94(0x1ec)]=[],clearTimeout(this[_0x299a94(0x1f0)]),this[_0x299a94(0x2a6)](this[_0x299a94(0x232)]);}[_0x25edc1(0x1fa)](_0x2ed6ce){const _0x293fc1=_0x25edc1,_0xcb5554=this[_0x293fc1(0x233)][_0x293fc1(0x290)][_0x293fc1(0x1f8)](_0x22b84c);this[_0x293fc1(0x257)](_0xcb5554,_0x293fc1(0x222)+this[_0x293fc1(0x236)],(_0x39cf38,{session:_0x5a8da4})=>{const _0x496149=_0x293fc1;if(_0x5a8da4['id']===_0xcb5554[_0x496149(0x21c)]){_0x39cf38[_0x496149(0x244)]();const _0x5866f8=this[_0x496149(0x233)][_0x496149(0x290)][_0x496149(0x2a8)](_0x496149(0x2b6))&&this[_0x496149(0x233)][_0x496149(0x290)][_0x496149(0x1f8)](_0x496149(0x2b6));let _0x411371=_0x5a8da4[_0x496149(0x28f)];_0x5866f8&&_0x5866f8[_0x496149(0x1e2)]&&(_0x411371=_0x411371[_0x496149(0x28d)](_0x589eb3=>_0x496149(0x24f)!==_0x589eb3)),this[_0x496149(0x233)][_0x496149(0x290)][_0x496149(0x1f8)](_0x496149(0x211))[_0x496149(0x2a1)](_0x411371,this[_0x496149(0x236)]);}}),_0xcb5554[_0x293fc1(0x21e)](this[_0x293fc1(0x236)],_0x2ed6ce);}[_0x25edc1(0x239)](){const _0x3c8f4a=_0x25edc1,_0x265669=this[_0x3c8f4a(0x233)][_0x3c8f4a(0x1c8)][_0x3c8f4a(0x2b2)];this[_0x3c8f4a(0x233)][_0x3c8f4a(0x1c8)][_0x3c8f4a(0x2b2)]=(..._0x41deb6)=>{const _0xbbfa6=_0x3c8f4a;if(!_0x41deb6[_0x41deb6[_0xbbfa6(0x284)]-0x1][_0xbbfa6(0x1ed)])throw new _0x5af213(_0xbbfa6(0x258),this);_0x265669[_0xbbfa6(0x282)](this[_0xbbfa6(0x233)][_0xbbfa6(0x1c8)],_0x41deb6);};}[_0x25edc1(0x2bb)](){const _0xee6141=_0x25edc1;this[_0xee6141(0x233)][_0xee6141(0x1c8)]['on'](_0xee6141(0x235),(_0x4eaf14,[_0x3cb387])=>{const _0x29bacb=_0xee6141;if(this[_0x29bacb(0x294)][_0x29bacb(0x28b)])throw new _0x5af213(_0x29bacb(0x216),this);_0x4eaf14[_0x29bacb(0x274)](),this[_0x29bacb(0x298)]();const _0x17a64a=this[_0x29bacb(0x233)][_0x29bacb(0x225)][_0x29bacb(0x1f8)](_0x29bacb(0x2b3)),_0xbe81ad=this[_0x29bacb(0x207)](_0x3cb387,_0x17a64a);0x0==_0xbe81ad[_0x29bacb(0x284)]&&_0xbe81ad[_0x29bacb(0x253)](new _0x4703cf(0x0)),_0x4eaf14[_0x29bacb(0x24d)]=this[_0x29bacb(0x26d)](_0xbe81ad)[_0x29bacb(0x23c)](()=>{const _0x1f6d1b=_0x29bacb;this[_0x1f6d1b(0x233)][_0x1f6d1b(0x290)][_0x1f6d1b(0x1f8)](_0x14bdb3)[_0x1f6d1b(0x22d)](this),this[_0x1f6d1b(0x233)][_0x1f6d1b(0x1c8)][_0x1f6d1b(0x297)](_0x1f6d1b(0x240));})[_0x29bacb(0x1c0)](_0x11da4e=>this[_0x29bacb(0x283)](_0x29bacb(0x1f9),_0x11da4e))[_0x29bacb(0x1f3)](()=>this[_0x29bacb(0x1ee)]());},{'priority':_0xee6141(0x242)}),this[_0xee6141(0x233)]['on'](_0xee6141(0x23b),async(_0xb5691,[_0x3c18fa,_0x5e7502])=>{const _0x310387=_0xee6141;_0xb5691[_0x310387(0x274)]();const _0x1ee061=this[_0x310387(0x233)][_0x310387(0x2b7)][_0x310387(0x26f)][_0x310387(0x220)](_0x3c18fa);if(!this[_0x310387(0x20d)][_0x310387(0x2a8)](_0x3c18fa)){const _0x18411e=_0x5e7502&&_0x5e7502[_0x310387(0x1c8)]?_0x5e7502[_0x310387(0x1c8)]:'',_0x4b4e0a=_0x5e7502&&_0x5e7502[_0x310387(0x20b)]?_0x5e7502[_0x310387(0x20b)]:{};await this[_0x310387(0x268)](_0x3c18fa,_0x18411e,_0x4b4e0a);}this[_0x310387(0x233)][_0x310387(0x2b7)][_0x310387(0x1bf)]({'isUndoable':!0x1},()=>{const _0x2e569f=_0x310387;_0x1ee061[_0x2e569f(0x1f1)]=!0x0,this[_0x2e569f(0x233)][_0x2e569f(0x2b7)][_0x2e569f(0x26f)][_0x2e569f(0x219)][_0x2e569f(0x286)](_0x1ee061);});},{'priority':_0xee6141(0x242)});}async[_0x25edc1(0x21a)](_0x3baedb){const _0x7d47=_0x25edc1,_0x1e010d=this[_0x7d47(0x233)][_0x7d47(0x290)][_0x7d47(0x1f8)](_0x3dccb6),{connection:_0xc48f79}=this[_0x7d47(0x233)][_0x7d47(0x290)][_0x7d47(0x1f8)](_0x14bdb3),_0x437fcb=new Set();for(const _0x27e8df of _0x3baedb){const _0x42da8f=_0x27e8df[_0x7d47(0x223)];_0x42da8f&&!_0x1e010d[_0x7d47(0x291)](_0x42da8f)&&_0x437fcb[_0x7d47(0x1ea)](_0x42da8f);}if(0x0===_0x437fcb[_0x7d47(0x23e)])return;const _0xc67c36=await _0x1cf8ac[_0x7d47(0x26c)](_0xc48f79,Array[_0x7d47(0x267)](_0x437fcb));for(const _0x59a4d8 of _0xc67c36)_0x1e010d[_0x7d47(0x291)](_0x59a4d8['id'])||_0x1e010d[_0x7d47(0x2a2)](_0x59a4d8);}[_0x25edc1(0x207)](_0x26555d,_0x508805={}){const _0x35ecb7=_0x25edc1,_0x4159a3=this[_0x35ecb7(0x233)][_0x35ecb7(0x2b7)],_0x1e09e6=[];let _0x28184a=0x0;const _0x1a809c=_0x35ecb7(0x29b)==typeof _0x26555d?{'main':_0x26555d}:_0x26555d;for(const _0x5f19c1 of Object[_0x35ecb7(0x25b)](_0x1a809c)){if(!this[_0x35ecb7(0x294)][_0x35ecb7(0x28a)][_0x35ecb7(0x2a8)](_0x5f19c1))throw new _0x5af213(_0x35ecb7(0x299),this);const _0x1680f4=this[_0x35ecb7(0x233)][_0x35ecb7(0x1c8)][_0x35ecb7(0x251)](_0x1a809c[_0x5f19c1]),_0x72a3d8=this[_0x35ecb7(0x294)][_0x35ecb7(0x220)](_0x5f19c1),_0xe9fc8c=new _0x3e7a44(_0x4159a3[_0x35ecb7(0x22a)](_0x72a3d8,0x0),_0x1680f4,_0x28184a++);_0x1e09e6[_0x35ecb7(0x253)](_0xe9fc8c);for(const [_0x4b3828,_0x226534]of _0x1680f4[_0x35ecb7(0x1b9)]){const _0x55f2f1=_0x4159a3[_0x35ecb7(0x1e9)](_0x4159a3[_0x35ecb7(0x1e3)](_0x72a3d8,_0x226534[_0x35ecb7(0x1d0)][_0x35ecb7(0x252)][_0x35ecb7(0x1ce)]()),_0x4159a3[_0x35ecb7(0x1e3)](_0x72a3d8,_0x226534[_0x35ecb7(0x1e6)][_0x35ecb7(0x252)][_0x35ecb7(0x1ce)]())),_0x303ca8=new _0x217b0f(_0x4b3828,null,_0x55f2f1,_0x4159a3[_0x35ecb7(0x1b9)],!0x0,_0x28184a++);_0x1e09e6[_0x35ecb7(0x253)](_0x303ca8);}}if(_0x508805)for(const [_0x399cac,_0xb8d336]of Object[_0x35ecb7(0x25f)](_0x508805)){const _0x3195a4=_0x4159a3[_0x35ecb7(0x26f)][_0x35ecb7(0x220)](_0x399cac);if(!_0x3195a4)throw new _0x5af213(_0x35ecb7(0x22e),null);for(const [_0x1912f8,_0x3267ba]of Object[_0x35ecb7(0x25f)](_0xb8d336))if(null!==_0x3267ba){const _0x44aefb=new _0x4a837d(_0x3195a4,_0x1912f8,null,_0x3267ba,_0x28184a++);_0x1e09e6[_0x35ecb7(0x253)](_0x44aefb);}}return _0x1e09e6;}async[_0x25edc1(0x268)](_0x4f4688,_0x101804,_0x484141){const _0x26e3dc=_0x25edc1;this[_0x26e3dc(0x207)]({[_0x4f4688]:_0x101804},{[_0x4f4688]:_0x484141})[_0x26e3dc(0x288)]((_0x212497,_0x422127)=>{const _0x2258c6=_0x26e3dc;_0x212497[_0x2258c6(0x234)]=this[_0x2258c6(0x294)][_0x2258c6(0x28b)]+_0x422127,_0x212497[_0x2258c6(0x208)]=!0x0,this[_0x2258c6(0x214)](_0x212497);}),this[_0x26e3dc(0x2b5)](),await this[_0x26e3dc(0x28e)]();}async[_0x25edc1(0x1c3)](_0x4cb825,_0x2762da){const _0x1678ec=_0x25edc1;let _0x5a5263;this[_0x1678ec(0x1e7)]=_0x4cb825[_0x1678ec(0x203)];const _0x10ead2=_0x4cb825[_0x1678ec(0x249)]&&!_0x4cb825[_0x1678ec(0x20e)],_0x133f31=_0x10ead2?0x0:_0x4cb825[_0x1678ec(0x1c8)][_0x1678ec(0x234)];if(_0x2762da[_0x1678ec(0x288)](_0x441e71=>{const _0xcef707=_0x1678ec;_0x441e71[_0xcef707(0x208)]=!0x0,_0x441e71[_0xcef707(0x230)]=_0x4cb825[_0xcef707(0x265)],_0x441e71[_0xcef707(0x223)]=null;}),_0x10ead2)_0x5a5263=_0x2762da,this[_0x1678ec(0x287)](_0x5a5263,_0x10ead2);else{if(_0x4cb825[_0x1678ec(0x20e)]){const _0x5725e0=this[_0x1678ec(0x207)](_0x4cb825[_0x1678ec(0x20e)]);this[_0x1678ec(0x294)][_0x1678ec(0x2a7)][_0x1678ec(0x28b)]=-_0x5725e0[_0x1678ec(0x284)],_0x5725e0[_0x1678ec(0x288)](_0x1a5449=>{const _0x390b3f=_0x1678ec;_0x1a5449[_0x390b3f(0x234)]-=_0x5725e0[_0x390b3f(0x284)],_0x1a5449[_0x390b3f(0x230)]=_0x4cb825[_0x390b3f(0x265)],_0x1a5449[_0x390b3f(0x208)]=!0x0,_0x1a5449[_0x390b3f(0x223)]=null;}),this[_0x1678ec(0x287)](_0x5725e0,!0x0),this[_0x1678ec(0x23f)][_0x1678ec(0x28b)]=-_0x5725e0[_0x1678ec(0x284)]+this[_0x1678ec(0x1e7)],this[_0x1678ec(0x20f)](_0x5725e0);}this[_0x1678ec(0x294)][_0x1678ec(0x2a7)][_0x1678ec(0x28b)]=_0x133f31,_0x5a5263=this[_0x1678ec(0x1cd)](_0x4cb825[_0x1678ec(0x1c8)],_0x4cb825[_0x1678ec(0x1ff)]),await this[_0x1678ec(0x21a)](_0x5a5263),this[_0x1678ec(0x287)](_0x5a5263,_0x10ead2);}_0x4cb825[_0x1678ec(0x2b9)]&&(this[_0x1678ec(0x2bd)][_0x1678ec(0x281)](_0x5a5263,_0x4cb825[_0x1678ec(0x2b9)]),this[_0x1678ec(0x254)]=_0x4cb825[_0x1678ec(0x2b9)]),this[_0x1678ec(0x23f)][_0x1678ec(0x28b)]=_0x133f31+this[_0x1678ec(0x1e7)],this[_0x1678ec(0x20f)](_0x5a5263),_0x2762da[_0x1678ec(0x28d)](_0x5170af=>{const _0x414deb=_0x1678ec,_0x4ee501=this[_0x414deb(0x1d2)](_0x5170af);return _0x4ee501&&!this[_0x414deb(0x20d)][_0x414deb(0x2a8)](_0x4ee501);})[_0x1678ec(0x288)]((_0x1fe242,_0xdac940)=>{const _0x4061b2=_0x1678ec;_0x1fe242[_0x4061b2(0x234)]=this[_0x4061b2(0x294)][_0x4061b2(0x28b)]+_0xdac940,this[_0x4061b2(0x214)](_0x1fe242);}),this[_0x1678ec(0x1ca)]()?(this[_0x1678ec(0x277)]=0x0,this[_0x1678ec(0x2b5)](!0x0),await this[_0x1678ec(0x28e)]()):(this[_0x1678ec(0x280)]=!0x1,this[_0x1678ec(0x1ee)]());}[_0x25edc1(0x283)](_0x5a7232,_0x2783b0){const _0xd4aa5f=_0x25edc1,_0x431925=_0x2783b0&&_0x2783b0[_0xd4aa5f(0x24c)];if(_0x431925&&_0x431925[_0xd4aa5f(0x21b)](_0xd4aa5f(0x273)))throw _0x2783b0;const _0xa4e643=this[_0xd4aa5f(0x233)][_0xd4aa5f(0x290)][_0xd4aa5f(0x1f8)](_0x14bdb3);throw this[_0xd4aa5f(0x280)]=!0x0,_0xa4e643[_0xd4aa5f(0x1e8)](),this[_0xd4aa5f(0x233)][_0xd4aa5f(0x28c)](_0xd4aa5f(0x1cb)),new _0x5af213(_0x5a7232,this[_0xd4aa5f(0x233)],_0x431925?{'originalError':_0x431925}:void 0x0);}[_0x25edc1(0x214)](_0x1352db){const _0x2af228=_0x25edc1;this[_0x2af228(0x266)][_0x2af228(0x2a8)](_0x1352db)||(this[_0x2af228(0x266)][_0x2af228(0x1ea)](_0x1352db),this[_0x2af228(0x1ec)][_0x2af228(0x253)](_0x1352db),this[_0x2af228(0x2ae)]||_0x2af228(0x202)==_0x1352db[_0x2af228(0x1ef)]&&!_0x1352db[_0x2af228(0x27c)]||this[_0x2af228(0x298)]());}[_0x25edc1(0x2b5)](_0x2dd127=!0x1){const _0x26cc2d=_0x25edc1;!_0x2dd127&&this[_0x26cc2d(0x280)]||(this[_0x26cc2d(0x280)]=!0x0,clearTimeout(this[_0x26cc2d(0x1f0)]),this[_0x26cc2d(0x1f0)]=setTimeout(()=>{const _0x3a4703=_0x26cc2d;this[_0x3a4703(0x248)]()[_0x3a4703(0x23c)](_0x8ae256=>{const _0x15107d=_0x3a4703;_0x8ae256&&(this[_0x15107d(0x1ee)](),this[_0x15107d(0x280)]=!0x1);})[_0x3a4703(0x1c0)](_0x3a755d=>{const _0x111ee2=_0x3a4703;this[_0x111ee2(0x1ee)](),this[_0x111ee2(0x280)]=!0x1,function(_0x32113f){const _0x4ce4be=_0x111ee2;return _0x32113f[_0x4ce4be(0x24c)][_0x4ce4be(0x21b)](_0x4ce4be(0x1d4))||_0x32113f[_0x4ce4be(0x24c)][_0x4ce4be(0x21b)](_0x4ce4be(0x2a0))||_0x32113f[_0x4ce4be(0x24c)][_0x4ce4be(0x21b)](_0x4ce4be(0x2a9));}(_0x3a755d)||this[_0x111ee2(0x283)](_0x3a755d[_0x111ee2(0x24c)],_0x3a755d);});},this[_0x26cc2d(0x277)]));}[_0x25edc1(0x28e)](){return new Promise(_0x5463db=>{const _0x51db00=_0x4d7c;this['on'](_0x51db00(0x2be),()=>{_0x5463db();});});}async[_0x25edc1(0x248)](){const _0x2de747=_0x25edc1,_0x52303c=this[_0x2de747(0x233)][_0x2de747(0x290)][_0x2de747(0x1f8)](_0x1d73c3);if(this[_0x2de747(0x1cc)]()&&(_0x52303c[_0x2de747(0x1de)](),this[_0x2de747(0x213)]=!0x1),!this[_0x2de747(0x1ca)]())return!0x0;const _0x2ed4cc=[...this[_0x2de747(0x1ec)]];for(const _0x515aca of _0x2ed4cc)_0x515aca[_0x2de747(0x29f)]=this[_0x2de747(0x294)][_0x2de747(0x2a7)][_0x2de747(0x270)](_0x515aca);const _0x579885=this[_0x2de747(0x2bd)][_0x2de747(0x262)](_0x2ed4cc),_0x2b7290=F++,_0x2e5cfb=this[_0x2de747(0x264)](_0x2ed4cc),_0x453601=await this[_0x2de747(0x232)][_0x2de747(0x206)](_0x2e5cfb,_0x2e5cfb[_0x2de747(0x234)],_0x579885);try{return await this[_0x2de747(0x1be)](_0x2ed4cc,_0x453601,_0x2b7290);}catch(_0x193dca){return this[_0x2de747(0x283)](_0x2de747(0x245),_0x193dca);}}async[_0x25edc1(0x1be)](_0x227e72,_0x52a625,_0x342318){const _0x4d1332=_0x25edc1;if(_0x4d1332(0x260)in _0x52a625)throw _0x52a625[_0x4d1332(0x260)];let _0x5d5068=!0x1;if(_0x52a625[_0x4d1332(0x249)]){_0x52a625[_0x4d1332(0x2b9)]&&(this[_0x4d1332(0x254)]=_0x52a625[_0x4d1332(0x2b9)]),this[_0x4d1332(0x1ec)]=this[_0x4d1332(0x1ec)][_0x4d1332(0x28d)](_0x2f860c=>!_0x227e72[_0x4d1332(0x2ab)](_0x2f860c));for(const _0x469c89 of _0x227e72)_0x469c89[_0x4d1332(0x230)]=_0x4d1332(0x1e5)in _0x52a625&&_0x52a625[_0x4d1332(0x1e5)]||void 0x0;q(_0x227e72,_0x52a625[_0x4d1332(0x28b)]-_0x227e72[_0x4d1332(0x284)]),this[_0x4d1332(0x20f)](_0x227e72);const _0xf225fa=_0x227e72[_0x4d1332(0x28d)](_0x143a40=>{const _0x389aff=_0x4d1332;if(!_0x143a40[_0x389aff(0x208)])return!0x1;const _0x2b5509=this[_0x389aff(0x1d2)](_0x143a40);return _0x2b5509&&!this[_0x389aff(0x20d)][_0x389aff(0x2a8)](_0x2b5509);});q(_0xf225fa,this[_0x4d1332(0x294)][_0x4d1332(0x28b)]),this[_0x4d1332(0x287)](_0xf225fa),_0x5d5068=!0x0,this[_0x4d1332(0x277)]=this[_0x4d1332(0x1d1)];}else{const _0x34230a=this[_0x4d1332(0x1cd)](_0x52a625[_0x4d1332(0x1c8)],_0x52a625[_0x4d1332(0x1ff)])[_0x4d1332(0x28d)](_0x10dcc1=>_0x10dcc1[_0x4d1332(0x234)]>=this[_0x4d1332(0x26a)]);_0x34230a[_0x4d1332(0x288)](_0x43c69c=>this[_0x4d1332(0x275)](_0x43c69c)),this[_0x4d1332(0x1ec)]=this[_0x4d1332(0x1ec)][_0x4d1332(0x28d)](_0x37c3e9=>!_0x37c3e9[_0x4d1332(0x208)]||!this[_0x4d1332(0x20d)][_0x4d1332(0x2a8)](this[_0x4d1332(0x1d2)](_0x37c3e9))),this[_0x4d1332(0x1ec)][_0x4d1332(0x284)]&&q(this[_0x4d1332(0x1ec)],this[_0x4d1332(0x1ec)][0x0][_0x4d1332(0x234)]),await this[_0x4d1332(0x21a)](_0x34230a),_0x5d5068=this[_0x4d1332(0x2ba)](_0x34230a,_0x52a625[_0x4d1332(0x28b)],_0x52a625[_0x4d1332(0x2b9)]),this[_0x4d1332(0x277)]=Math[_0x4d1332(0x215)](this[_0x4d1332(0x277)]/0x2);}return _0x5d5068?!this[_0x4d1332(0x1ca)]()||(this[_0x4d1332(0x2b5)](!0x0),!0x1):this[_0x4d1332(0x283)](_0x4d1332(0x217));}[_0x25edc1(0x2ba)](_0x1c3428,_0x2aab3d,_0x450ef5){const _0x304ade=_0x25edc1;try{const _0x37476e={'document':this[_0x304ade(0x294)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4f5010,operationsB:_0x1993fa,originalOperations:_0x52de7b}=_0x268478(_0x1c3428,this[_0x304ade(0x1ec)],_0x37476e);q(_0x4f5010,this[_0x304ade(0x294)][_0x304ade(0x28b)]),q(_0x1993fa,_0x2aab3d);for(const _0x5575ad of _0x4f5010){const _0x25bcb0=_0x52de7b[_0x304ade(0x1f8)](_0x5575ad);_0x5575ad[_0x304ade(0x223)]=_0x25bcb0?_0x25bcb0[_0x304ade(0x223)]:null;}_0x450ef5&&(this[_0x304ade(0x2bd)][_0x304ade(0x281)](_0x1c3428,_0x450ef5),this[_0x304ade(0x254)]=_0x450ef5),this[_0x304ade(0x1ec)]=[..._0x1993fa],this[_0x304ade(0x287)](_0x4f5010),this[_0x304ade(0x20f)](_0x1c3428);}catch(_0x30f357){return console[_0x304ade(0x260)](_0x30f357),!0x1;}return!0x0;}[_0x25edc1(0x287)](_0x3c2748,_0x27f622=!0x1){const _0x2ca73c=_0x25edc1;this[_0x2ca73c(0x233)][_0x2ca73c(0x2b7)][_0x2ca73c(0x1bf)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1612a1=>{const _0x1c9d9b=_0x2ca73c;for(const _0x7b1ddc of _0x3c2748)this[_0x1c9d9b(0x266)][_0x1c9d9b(0x1ea)](_0x7b1ddc),this[_0x1c9d9b(0x275)](_0x7b1ddc),_0x1612a1[_0x1c9d9b(0x1fd)][_0x1c9d9b(0x224)](_0x7b1ddc),this[_0x1c9d9b(0x233)][_0x1c9d9b(0x2b7)][_0x1c9d9b(0x285)](_0x7b1ddc);});}[_0x25edc1(0x275)](_0x19e102){const _0x192f46=_0x25edc1,_0x5b5ebc=this[_0x192f46(0x1d2)](_0x19e102);_0x5b5ebc&&this[_0x192f46(0x20d)][_0x192f46(0x1ea)](_0x5b5ebc);}[_0x25edc1(0x1d2)](_0x533eac){const _0x57e5ce=_0x25edc1;let _0x4144d7,_0x3415b0;switch(_0x533eac[_0x57e5ce(0x1ef)]){case _0x57e5ce(0x227):_0x4144d7=_0x533eac[_0x57e5ce(0x25a)][_0x57e5ce(0x2b4)];break;case _0x57e5ce(0x202):if(_0x3415b0=_0x533eac[_0x57e5ce(0x200)],!_0x3415b0)return null;_0x4144d7=_0x3415b0[_0x57e5ce(0x2b4)];break;case _0x57e5ce(0x1c9):_0x4144d7=_0x533eac[_0x57e5ce(0x2b4)];break;case _0x57e5ce(0x228):_0x4144d7=_0x533eac[_0x57e5ce(0x259)];break;case _0x57e5ce(0x1f6):_0x4144d7=_0x533eac[_0x57e5ce(0x22b)][_0x57e5ce(0x2b4)];break;default:return null;}return _0x4144d7[_0x57e5ce(0x2a5)];}[_0x25edc1(0x20f)](_0x399bd5){const _0x537076=_0x25edc1;_0x399bd5[_0x537076(0x288)](_0x161223=>{const _0x3c79cd=_0x537076,_0x4fa2c9=_0x161223[_0x3c79cd(0x1d3)]();_0x4fa2c9[_0x3c79cd(0x223)]=_0x161223[_0x3c79cd(0x223)],_0x4fa2c9[_0x3c79cd(0x208)]=!!_0x161223[_0x3c79cd(0x208)],_0x4fa2c9[_0x3c79cd(0x230)]=_0x161223[_0x3c79cd(0x230)],_0x4fa2c9[_0x3c79cd(0x234)]+=this[_0x3c79cd(0x1e7)],_0x161223[_0x3c79cd(0x1fb)]&&this[_0x3c79cd(0x29d)][_0x3c79cd(0x1ea)](_0x4fa2c9),this[_0x3c79cd(0x23f)][_0x3c79cd(0x224)](_0x4fa2c9);});}[_0x25edc1(0x295)](_0xd8a481){const _0x227d26=_0x25edc1,_0x152507=this[_0x227d26(0x233)][_0x227d26(0x290)][_0x227d26(0x1f8)](_0x227d26(0x256)),_0x38545e=this[_0x227d26(0x233)][_0x227d26(0x24b)];_0xd8a481||(_0xd8a481=_0x1ed547(_0x38545e,_0x227d26(0x1c2))),_0x152507[_0x227d26(0x29c)](_0xd8a481,{'title':_0x1ed547(_0x38545e,_0x227d26(0x1c6)),'namespace':_0x227d26(0x271)}),this[_0x227d26(0x27b)]=!0x0,clearTimeout(this[_0x227d26(0x1f0)]),this[_0x227d26(0x1ec)]=[],this[_0x227d26(0x233)][_0x227d26(0x290)][_0x227d26(0x1f8)](_0x14bdb3)[_0x227d26(0x1e8)]();}[_0x25edc1(0x298)](){const _0x13b760=_0x25edc1;this[_0x13b760(0x2ae)]||(this[_0x13b760(0x2ae)]=this[_0x13b760(0x233)][_0x13b760(0x290)][_0x13b760(0x1f8)](_0x1d6655)[_0x13b760(0x1ea)](_0x1ed547(this[_0x13b760(0x233)][_0x13b760(0x24b)],_0x13b760(0x20a))));}[_0x25edc1(0x1ee)](){const _0x14c0c4=_0x25edc1;this[_0x14c0c4(0x2ae)]&&(this[_0x14c0c4(0x233)][_0x14c0c4(0x290)][_0x14c0c4(0x1f8)](_0x1d6655)[_0x14c0c4(0x1e1)](this[_0x14c0c4(0x2ae)]),this[_0x14c0c4(0x2ae)]=null);}[_0x25edc1(0x264)](_0x3c905b){const _0x90ace8=_0x25edc1,_0x202592=_0x3c905b[_0x90ace8(0x1fc)](_0x5d43af=>_0x5d43af[_0x90ace8(0x2b0)]());return this[_0x90ace8(0x26b)][_0x90ace8(0x1bc)](_0x202592);}[_0x25edc1(0x1cd)](_0x4550a2,_0x1ad491){const _0x13941c=_0x25edc1;return this[_0x13941c(0x26b)][_0x13941c(0x292)](_0x4550a2)[_0x13941c(0x1fc)]((_0x2b34f2,_0x544299)=>{const _0x11b3d9=_0x13941c,_0x1a671d=_0x11b3d9(0x235)==_0x1ad491[_0x544299][_0x11b3d9(0x1ef)];if(_0x11b3d9(0x1cf)==_0x2b34f2[_0x11b3d9(0x238)]){const _0x3b3de9=_0x2b34f2[_0x11b3d9(0x25a)][_0x11b3d9(0x2b4)];!this[_0x11b3d9(0x294)][_0x11b3d9(0x220)](_0x3b3de9)&&(this[_0x11b3d9(0x294)][_0x11b3d9(0x2b8)](_0x11b3d9(0x21d),_0x3b3de9)[_0x11b3d9(0x250)]=!0x1);}const _0xb62257=_0x1ea7b6[_0x11b3d9(0x2ad)](_0x2b34f2,this[_0x11b3d9(0x294)]);return _0xb62257[_0x11b3d9(0x29f)]=_0x2b34f2[_0x11b3d9(0x29f)],_0xb62257[_0x11b3d9(0x208)]=_0x1a671d,_0xb62257[_0x11b3d9(0x223)]=_0x1a671d?null:_0x1ad491[_0x544299][_0x11b3d9(0x1f2)],_0xb62257[_0x11b3d9(0x1fb)]=_0x11b3d9(0x23a)===_0x1ad491[_0x544299][_0x11b3d9(0x1ef)],_0xb62257[_0x11b3d9(0x230)]=_0x1ad491[_0x544299][_0x11b3d9(0x230)],_0xb62257;});}[_0x25edc1(0x1e4)](){const _0x3101be=_0x25edc1;this[_0x3101be(0x213)]=!0x0,this[_0x3101be(0x1cc)]()?this[_0x3101be(0x2b5)]():this[_0x3101be(0x213)]=!0x1;}[_0x25edc1(0x1cc)](){const _0xc434de=_0x25edc1,_0x5d725c=this[_0xc434de(0x233)][_0xc434de(0x290)][_0xc434de(0x1f8)](_0x22b84c)[_0xc434de(0x1bd)][_0xc434de(0x1f8)](this[_0xc434de(0x236)]);return!this[_0xc434de(0x233)][_0xc434de(0x1eb)]&&!!_0x5d725c&&_0x5d725c[_0xc434de(0x284)]>0x1&&this[_0xc434de(0x213)];}[_0x25edc1(0x1ca)](){const _0x536ba2=_0x25edc1;return this[_0x536ba2(0x1ec)][_0x536ba2(0x284)]>0x0||this[_0x536ba2(0x1cc)]();}}l[_0x25edc1(0x218)]=_0x37337b;export default l;class H extends Error{}function q(_0xf033bb,_0x1f139e){const _0x2cc0f2=_0x25edc1;for(const _0x39fd7d of _0xf033bb)_0x39fd7d[_0x2cc0f2(0x234)]=_0x1f139e++;}class G{constructor(_0x17ade8){const _0x5dbae3=_0x25edc1;this[_0x5dbae3(0x1f5)]=_0x17ade8,this[_0x5dbae3(0x210)]=new WeakMap();}[_0x25edc1(0x262)](_0x105cb2){const _0x3313df=_0x25edc1;let _0x54eef1=_0x105cb2[_0x3313df(0x284)];for(;_0x54eef1--;){const _0x167493=_0x105cb2[_0x54eef1];if(!this[_0x3313df(0x1f5)][_0x3313df(0x2a8)](_0x167493)){if(!this[_0x3313df(0x210)][_0x3313df(0x2a8)](_0x167493)){const _0x57bf0f=_0x23932a()[_0x3313df(0x1ce)](0x1,0x12);this[_0x3313df(0x210)][_0x3313df(0x2b2)](_0x167493,_0x57bf0f);}return this[_0x3313df(0x210)][_0x3313df(0x1f8)](_0x167493);}}}[_0x25edc1(0x281)](_0x6677a3,_0x4290d6){const _0xe32389=_0x25edc1;if(!_0x4290d6)return;let _0x1fce67=_0x6677a3[_0xe32389(0x284)];for(;_0x1fce67--;){const _0x55da45=_0x6677a3[_0x1fce67];this[_0xe32389(0x1f5)][_0xe32389(0x2a8)](_0x55da45)||this[_0xe32389(0x210)][_0xe32389(0x2b2)](_0x55da45,_0x4290d6);}}}function _0x2aca(){const _0x2b8323=['position','keys','requires','realtimecollaborationclient-init-service-internal-error','rtc-destroyed','entries','error','pluginName','getIdOfTheLastOperation','reset','_compressOperations','sessionCreatedAt','_knownOperations','from','_loadRoot','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_lastServerVersion','_compressor','getMany','_connectService','directChange','document','isUndoneOperation','real-time-collaboration','reconnection:\x20flushed\x20session','realtimecollaborationclient','stop','_addKnownRoot','rtc-offline','_currentBufferDelay','1560024lPKZZC','disconnected','RealTimeCollaborationClient','_hasSynchronizationProblem','affectsData','isPremiumPlugin','collaboration.channelId','732506EqzmNx','_isPendingUpdate','setIdForTheLastOperation','apply','_crash','length','applyOperation','_bufferRootLoad','_applyOperationsSet','forEach','cloudDocumentVersion','roots','version','enableReadOnlyMode','filter','_waitUntilSynced','permissions','plugins','getUser','decompress','bind','_document','_handleReconnectionError','realtimecollaborationclient-init-session-connection-error','fire','_setPendingAction','realtimecollaborationclient-init-non-existent-root','1284OCiECh','string','showWarning','_disconnectionOperations','isDocumentOperation','wasUndone','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','setPermissions','addUser','getOperations','_handleReconnectionResponse','rootName','stopListening','history','has','cloud-services-internal-error:\x20Request\x20timeout.','getOperationAuthor','includes','60510KQwVCa','fromJSON','_pendingAction','40JVUpMs','toJSON','editing','set','rootsAttributes','root','_sendBufferedOperationsDelayed','CommentsOnly','model','createRoot','lastOperationId','_handleExternalOperations','_setUpDataInit','state','_operationIdentifier','change:_isPendingUpdate','sessionId','markers','404','change:range','compress','channelSessions','_handleServerResponse','enqueueChange','catch','cloudServices.bundleVersion','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.','_handleInitialConnectionData','_handleSendingSelectionMarkers','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','Synchronization\x20issue','getDocumentDetails','data','addRootAttribute','_shouldSendUpdate','realtimecollaborationclient-error','_shouldSendSelectionUpdate','_decompressOperations','slice','InsertOperation','start','_baseBufferDelay','_getAffectedRoot','clone','cloud-services-internal-error:\x20Not\x20connected.','operationsReceived','connected','1142414oWbPNA','reconnect','2954124mQZAJp','view','_disconnectService','code','change:_isEditingAllowed','createUserMarkerOperations','470VTlkyq','currentDocumentSession','remove','isEnabled','createPositionFromPath','_refreshUserSelectionMarkers','lastOperationAcceptedAt','end','_offset','disconnect','createRange','add','isReadOnly','_bufferedOperations','suppressErrorInCollaboration','_clearPendingAction','type','_sendBufferedOperationsDelayId','_isLoaded','userId','finally','disableReadOnlyMode','_ignoredOperations','move','_isConnected','get','realtimecollaborationclient-init-connection-failed','_initSessionsHandling','_isDisconnection','map','batch','connect','metadata','newRange','define','marker','offset','409','realtimecollaborationclient-init-service-incorrect-server-operation','sendOperations','_getOperationsFromInitData','_isInit','_isEditingAllowed','PENDING_ACTION_SENDING_DATA','attributes','collaboration','_knownRootNames','initData','_updateServerHistory','_operationToId','Permissions','406483iooyHt','_hasSelectionChanged','_saveOperationInBuffer','round','realtimecollaborationclient-init-document-already-initialized','realtimecollaborationclient-handleserverresponse','CollaborativeEditingService','differ','_fetchMissingUsers','startsWith','mySessionId','$root','register','lastSyncVersion','getRoot','selection','sessionAdd:','_authorId','addOperation','config','485mpMEai','insert','addRoot','14912JBhGgc','createPositionAt','targetPosition','change:hasDomSelection','addToReconnectionStack','multi-root-editor-root-attributes-no-root','_connectAfterSessionHasBeenFlushed','createdAt','getConnectedSessions','_service','editor','baseVersion','init','_channelId','destroy','__className','_initThrowingOnDataSet','cs:removeUser','loadRoot','then','_handleReceivedOperations','size','serverHistory','ready','unregister','high','lastDocumentSession','off','realtimecollaborationclient-sendbufferedoperations','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','collaboration-missing-channelid','_sendBufferedOperations','wereChangesApplied','isOfficialPlugin','locale','message','return','connection','document:write','_isAttached','parse','path','push','_lastSyncedOperationId','removeFromReconnectionStack','Notification','listenTo','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','affectedSelectable'];_0x2aca=function(){return _0x2b8323;};return _0x2aca();}
|
|
23
|
+
function _0x2cf3(_0x456a70,_0x388e8b){const _0x1e9172=_0x1e91();return _0x2cf3=function(_0x2cf3b7,_0x2c9691){_0x2cf3b7=_0x2cf3b7-0xe3;let _0x5beaad=_0x1e9172[_0x2cf3b7];return _0x5beaad;},_0x2cf3(_0x456a70,_0x388e8b);}const _0x45d3af=_0x2cf3;(function(_0x253090,_0x2abd24){const _0x2eb19=_0x2cf3,_0x7c85d5=_0x253090();while(!![]){try{const _0x5167b4=parseInt(_0x2eb19(0x1bd))/0x1*(parseInt(_0x2eb19(0x113))/0x2)+parseInt(_0x2eb19(0x1e2))/0x3+parseInt(_0x2eb19(0x155))/0x4+parseInt(_0x2eb19(0x1db))/0x5+parseInt(_0x2eb19(0x19c))/0x6*(parseInt(_0x2eb19(0x1ac))/0x7)+parseInt(_0x2eb19(0x17a))/0x8*(parseInt(_0x2eb19(0x116))/0x9)+-parseInt(_0x2eb19(0x11e))/0xa;if(_0x5167b4===_0x2abd24)break;else _0x7c85d5['push'](_0x7c85d5['shift']());}catch(_0x5b9f4a){_0x7c85d5['push'](_0x7c85d5['shift']());}}}(_0x1e91,0x8f825));import{Plugin as _0x198b5f,PendingActions as _0x32649e}from'ckeditor5/src/core.js';import{CKEditorError as _0x9657ac,version as _0x5abc9d,uid as _0x423cfa}from'ckeditor5/src/utils.js';import{Notification as _0x5b94a3}from'ckeditor5/src/ui.js';function _0x1e91(){const _0x4f2a2b=['realtimecollaborationclient-init-service-incorrect-server-operation','batch','_handleReconnectionResponse','2019904sXYvNh','forEach','_updateServerHistory','disconnect','channelSessions','lastOperationAcceptedAt','config','getRoot','createRoot','root','affectsData','attributes','_getOperationsFromInitData','cloud-services-internal-error:\x20Not\x20connected.','isReadOnly','404','push','off','multi-root-editor-root-attributes-no-root','setPermissions','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.','cs:removeUser','finally','CommentsOnly','destroy','collaboration.channelId','_handleReconnectionError','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','CollaborativeEditingService','_operationToId','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_waitUntilSynced','removeFromReconnectionStack','unregister','sessionAdd:','_isPendingUpdate','4627776vDkmSV','_handleReceivedOperations','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.','document','_sendBufferedOperationsDelayId','showWarning','round','high','_shouldSendSelectionUpdate','offset','change:range','getOperations','rootsAttributes','PENDING_ACTION_SENDING_DATA','createPositionAt','getOperationAuthor','_initSessionsHandling','decompress','get','roots','createRange','realtimecollaborationclient-init-session-connection-error','_setUpDataInit','sessionId','suppressErrorInCollaboration','editing','_isInit','getIdOfTheLastOperation','view','reconnect','addToReconnectionStack','sessionCreatedAt','Notification','rtc-destroyed','78fYSLOy','sendOperations','_knownOperations','pluginName','change:_isEditingAllowed','keys','markers','cloudDocumentVersion','_channelId','lastOperationId','addOperation','ready','__className','_disconnectionOperations','realtimecollaborationclient-handleserverresponse','_loadRoot','236838HZgtCB','state','size','reconnection:\x20flushed\x20session','getUser','cloudServices.bundleVersion','isUndoneOperation','init','getMany','_initThrowingOnDataSet','addUser','editor','selection','isEnabled','newRange','connect','RealTimeCollaborationClient','523zZWPIc','409','Permissions','realtimecollaborationclient-init-service-internal-error','createdAt','error','_sendBufferedOperations','_connectAfterSessionHasBeenFlushed','slice','_isLoaded','_currentBufferDelay','_disconnectService','then','message','version','lastDocumentSession','connected','collaboration','has','define','operationsReceived','_compressor','affectedSelectable','path','getDocumentDetails','_saveOperationInBuffer','isDocumentOperation','disableReadOnlyMode','createPositionFromPath','type','2550960ysZVqu','mySessionId','startsWith','_compressOperations','start','_lastServerVersion','_hasSelectionChanged','525042IHfqAe','directChange','position','_fetchMissingUsers','metadata','addRoot','remove','collaboration-missing-channelid','includes','reset','initData','connection','realtimecollaborationclient-init-non-existent-root','fire','_ignoredOperations','string','_isAttached','_bufferRootLoad','parse','serverHistory','_knownRootNames','realtimecollaborationclient-sendbufferedoperations','toJSON','_handleInitialConnectionData','_crash','_handleServerResponse','_addKnownRoot','enableReadOnlyMode','locale','rtc-offline','stop','_setPendingAction','filter','_document','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','loadRoot','_bufferedOperations','_handleExternalOperations','userId','apply','_clearPendingAction','history','_isDisconnection','data','_getAffectedRoot','getConnectedSessions','wereChangesApplied','_decompressOperations','_pendingAction','applyOperation','rootName','_hasSynchronizationProblem','fromJSON','isPremiumPlugin','_operationIdentifier','38qqMpWT','lastSyncVersion','addRootAttribute','18HtJKTe','realtimecollaborationclient-init-document-already-initialized','catch','_baseBufferDelay','change:hasDomSelection','plugins','move','Synchronization\x20issue','22090920VrCQzS','cloud-services-internal-error:\x20Request\x20timeout.','from','wasUndone','_lastSyncedOperationId','set','model','map','register','real-time-collaboration','_isConnected','targetPosition','$root','setIdForTheLastOperation','isOfficialPlugin','enqueueChange','change:_isPendingUpdate','_service','insert','marker','realtimecollaborationclient-init-connection-failed','clone','compress','requires','disconnected','end','return','currentDocumentSession','listenTo','_refreshUserSelectionMarkers','_connectService','add','length','_handleSendingSelectionMarkers','permissions','createUserMarkerOperations','_applyOperationsSet','document:write','_authorId','code','differ','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','stopListening','realtimecollaborationclient','_offset','realtimecollaborationclient-error','baseVersion','InsertOperation','bind','_sendBufferedOperationsDelayed','_shouldSendUpdate','_isEditingAllowed'];_0x1e91=function(){return _0x4f2a2b;};return _0x1e91();}import{transformSets as _0xae7999,NoOperation as _0x27255d,InsertOperation as _0x4bbf32,MarkerOperation as _0x206a82,RootAttributeOperation as _0x2fc3eb,OperationFactory as _0x5d9bd5,History as _0x41dc1e}from'ckeditor5/src/engine.js';import _0xf4909b from'./websocketgateway.js';import _0x489d0a from'./sessions.js';import _0x3a5b7b from'./usermarkers.js';import{getTranslation as _0x529f1a}from'../common-translations.js';import{Compressor as _0x55c6d9}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x46e562}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x5425db,CollaborativeEditingService as _0x2ee7b8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x198b5f{static get[_0x45d3af(0x135)](){return[_0xf4909b,_0x489d0a,_0x3a5b7b,_0x32649e,_0x46e562,_0x5b94a3];}static get[_0x45d3af(0x19f)](){const _0x57e540=_0x45d3af;return _0x57e540(0x1bc);}static get[_0x45d3af(0x12c)](){return!0x0;}static get[_0x45d3af(0x111)](){return!0x0;}get[_0x45d3af(0x1a3)](){const _0x1cb268=_0x45d3af;return this[_0x1cb268(0x1e0)]+this[_0x1cb268(0x14a)];}get[_0x45d3af(0x1e0)](){const _0x5da74c=_0x45d3af;return this[_0x5da74c(0xef)][_0x5da74c(0x1cb)]-this[_0x5da74c(0x14a)];}get[_0x45d3af(0x114)](){const _0x36c57a=_0x45d3af,_0x22e2d8=this[_0x36c57a(0xef)][_0x36c57a(0x185)]();for(let _0x1d3bcb=_0x22e2d8[_0x36c57a(0x13e)]-0x1;_0x1d3bcb>=0x0;_0x1d3bcb--){const _0x129112=_0x22e2d8[_0x1d3bcb];if(!this[_0x36c57a(0x1a9)][_0x36c57a(0x1cf)](_0x129112))return _0x129112[_0x36c57a(0x14c)]+0x1-this[_0x36c57a(0x14a)];}return 0x0;}constructor(_0x2bca7d){const _0x2e54ea=_0x45d3af;if(super(_0x2bca7d),this[_0x2e54ea(0x14a)]=0x0,this[_0x2e54ea(0x191)]=null,this[_0x2e54ea(0xef)]=new _0x41dc1e(),this[_0x2e54ea(0x1b7)][_0x2e54ea(0x15b)][_0x2e54ea(0x1d0)](_0x2e54ea(0x1ce),{}),this[_0x2e54ea(0x1a4)]=this[_0x2e54ea(0x1b7)][_0x2e54ea(0x15b)][_0x2e54ea(0x18c)](_0x2e54ea(0x16f)),!this[_0x2e54ea(0x1a4)])throw new _0x9657ac(_0x2e54ea(0xe3),this);const _0x2697f6=_0x2bca7d[_0x2e54ea(0x15b)][_0x2e54ea(0x18c)](_0x2e54ea(0x1b1))||_0x5abc9d;this[_0x2e54ea(0x12f)]=new l[(_0x2e54ea(0x172))](_0x2697f6,this[_0x2e54ea(0x1a4)]),this[_0x2e54ea(0xfd)]=this[_0x2e54ea(0x1b7)][_0x2e54ea(0x124)][_0x2e54ea(0x17d)],this[_0x2e54ea(0x1d2)]=new _0x55c6d9(),this[_0x2e54ea(0x100)]=[],this[_0x2e54ea(0x19e)]=new WeakSet(),this[_0x2e54ea(0xf0)]=new Set(),this[_0x2e54ea(0x123)](_0x2e54ea(0x179),!0x1),this[_0x2e54ea(0x123)](_0x2e54ea(0x10f),!0x1),this[_0x2e54ea(0x10c)]=null,this[_0x2e54ea(0x1e1)]=!0x1,this[_0x2e54ea(0x17e)]=null,this[_0x2e54ea(0x119)]=0x12c,this[_0x2e54ea(0x1c7)]=this[_0x2e54ea(0x119)],this[_0x2e54ea(0x122)]=null,this[_0x2e54ea(0x1a9)]=new WeakSet(),this[_0x2e54ea(0x112)]=new X(this[_0x2e54ea(0x1a9)]);}[_0x45d3af(0x1b3)](){const _0x2c29ea=_0x45d3af,_0x16edde=this[_0x2c29ea(0x1b7)],_0xe305a4=_0x16edde[_0x2c29ea(0x11b)][_0x2c29ea(0x18c)](_0x46e562),_0x3e9b8d=_0x16edde[_0x2c29ea(0x11b)][_0x2c29ea(0x18c)](_0xf4909b);this[_0x2c29ea(0x13a)](_0xe305a4,_0x2c29ea(0x189),(_0x496e04,_0xfde863)=>{const _0x61e4=_0x2c29ea,_0x201927=_0xfde863[0x0];_0x201927[_0x61e4(0x144)]&&(_0x496e04[_0x61e4(0x138)]=_0xe305a4[_0x61e4(0x1b0)](_0x201927[_0x61e4(0x144)]),_0x496e04[_0x61e4(0xfa)]()),null===_0x201927[_0x61e4(0x144)]&&(_0x496e04[_0x61e4(0x138)]=null,_0x496e04[_0x61e4(0xfa)]());},{'priority':_0x2c29ea(0x181)}),this[_0x2c29ea(0x13a)](_0x16edde[_0x2c29ea(0x124)][_0x2c29ea(0x17d)][_0x2c29ea(0x1b8)],_0x2c29ea(0x184),(_0x288230,_0xcce03c)=>{const _0x14e064=_0x2c29ea;_0xcce03c[_0x14e064(0x1e3)]&&this[_0x14e064(0x13b)]();}),this[_0x2c29ea(0x13a)](_0x16edde[_0x2c29ea(0x193)][_0x2c29ea(0x196)],_0x2c29ea(0x11a),()=>{const _0x2c863f=_0x2c29ea;this[_0x2c863f(0x13b)]();}),this[_0x2c29ea(0x1b5)](),_0x16edde[_0x2c29ea(0x124)]['on'](_0x2c29ea(0x10d),(_0x16e7f2,_0x44b5c0)=>{const _0x5aa209=_0x2c29ea,_0x372fdf=_0x44b5c0[0x0];_0x372fdf[_0x5aa209(0x1d7)]&&(this[_0x5aa209(0x1d6)](_0x372fdf),this[_0x5aa209(0x150)]()&&this[_0x5aa209(0x14f)]());}),this[_0x2c29ea(0x190)](),this[_0x2c29ea(0x14e)](_0x2c29ea(0x151))['to'](_0x3e9b8d,_0x2c29ea(0x1ad),this,_0x2c29ea(0x10f),(_0x4be1e6,_0x19baa8)=>_0x2c29ea(0x1cd)===_0x4be1e6&&!_0x19baa8),this['on'](_0x2c29ea(0x1a0),()=>{const _0x55863d=_0x2c29ea;this[_0x55863d(0x151)]?_0x16edde[_0x55863d(0x1d8)](_0x55863d(0xf9)):_0x16edde[_0x55863d(0xf7)](_0x55863d(0xf9));}),this[_0x2c29ea(0x151)]?_0x16edde[_0x2c29ea(0x1d8)](_0x2c29ea(0xf9)):_0x16edde[_0x2c29ea(0xf7)](_0x2c29ea(0xf9)),this[_0x2c29ea(0x123)](_0x2c29ea(0x128),!0x1);}async[_0x45d3af(0x197)](){const _0x5be71a=_0x45d3af,_0x1aab68=this[_0x5be71a(0x1b7)][_0x5be71a(0x11b)][_0x5be71a(0x18c)](_0x489d0a),_0x20572b=this[_0x5be71a(0x1b7)][_0x5be71a(0x11b)][_0x5be71a(0x18c)](_0xf4909b);try{this[_0x5be71a(0x179)]=!0x0,_0x1aab68[_0x5be71a(0x177)](this[_0x5be71a(0x1a4)]);const _0xe01c98=await this[_0x5be71a(0x12f)][_0x5be71a(0x197)](_0x20572b[_0x5be71a(0xe7)],this[_0x5be71a(0x114)]);await this[_0x5be71a(0x154)](_0xe01c98)&&(this[_0x5be71a(0x179)]=!0x1,this[_0x5be71a(0x104)]());const _0xfeba5e=await this[_0x5be71a(0x12f)][_0x5be71a(0x109)]();_0x1aab68[_0x5be71a(0x126)](this[_0x5be71a(0x1a4)],_0xfeba5e),this[_0x5be71a(0x13f)](),this[_0x5be71a(0x128)]=!0x0;}catch(_0x5c44b2){if(function(_0x1a21b2){const _0x102f2a=_0x5be71a;return _0x102f2a(0x164)===_0x1a21b2[_0x102f2a(0x145)];}(_0x5c44b2)&&this[_0x5be71a(0x191)])await this[_0x5be71a(0x1c4)]();else{if(function(_0x315d1a){const _0x1fb7a2=_0x5be71a;return _0x1fb7a2(0x1be)===_0x315d1a[_0x1fb7a2(0x145)];}(_0x5c44b2)){const _0xbb9b83=_0x529f1a(this[_0x5be71a(0x1b7)][_0x5be71a(0xf8)],_0x5be71a(0x174));this[_0x5be71a(0x170)](_0xbb9b83);}else{if(!(_0x5c44b2 instanceof J))throw _0x5c44b2;this[_0x5be71a(0x170)]();}}}}[_0x45d3af(0x16e)](){const _0x3d5fde=_0x45d3af,_0x4f2830=this[_0x3d5fde(0x1b7)][_0x3d5fde(0x11b)][_0x3d5fde(0x18c)](_0xf4909b),_0x17e840=this[_0x3d5fde(0x1b7)][_0x3d5fde(0x11b)][_0x3d5fde(0x18c)](_0x489d0a);this[_0x3d5fde(0x1b7)][_0x3d5fde(0xf7)](_0x3d5fde(0x19b)),_0x17e840[_0x3d5fde(0x159)][_0x3d5fde(0x1cf)](this[_0x3d5fde(0x1a4)])&&_0x17e840[_0x3d5fde(0x177)](this[_0x3d5fde(0x1a4)]),_0x4f2830[_0x3d5fde(0x176)](this),this[_0x3d5fde(0x1c8)](),super[_0x3d5fde(0x16e)]();}async[_0x45d3af(0x154)](_0x39b925){const _0x3e8efa=_0x45d3af;if(this[_0x3e8efa(0x191)]!==_0x39b925[_0x3e8efa(0x191)]&&this[_0x3e8efa(0x122)]!==_0x39b925[_0x3e8efa(0x1a5)])throw new J();return this[_0x3e8efa(0x191)]=_0x39b925[_0x3e8efa(0x191)],this[_0x3e8efa(0xf5)]([],{..._0x39b925,'wereChangesApplied':!0x1,'data':_0x39b925[_0x3e8efa(0x107)]},_0x3e8efa(0x197));}async[_0x45d3af(0x13c)](_0x4703b7,_0x1ed58f=!0x1){const _0x568431=_0x45d3af,{connection:_0x2b0a1d}=this[_0x568431(0x1b7)][_0x568431(0x11b)][_0x568431(0x18c)](_0xf4909b);l[_0x568431(0x172)][_0x568431(0x109)](_0x2b0a1d,this[_0x568431(0x1a4)])[_0x568431(0x1c9)](_0x178b94=>this[_0x568431(0x18a)](_0x178b94))[_0x568431(0x118)](_0x372432=>{const _0x283040=_0x568431;this[_0x283040(0xf4)](_0x283040(0x18f),_0x372432);}),this[_0x568431(0x13a)](this[_0x568431(0x12f)],_0x568431(0x1d1),this[_0x568431(0x17b)][_0x568431(0x14e)](this)),this[_0x568431(0x13a)](this[_0x568431(0x12f)],_0x568431(0x1c2),(_0x5ea329,_0x420be2)=>{const _0x49acda=_0x568431;this[_0x49acda(0xf4)](_0x49acda(0x1c0),_0x420be2);}),this[_0x568431(0x13a)](this[_0x568431(0x12f)],_0x568431(0x136),()=>{const _0x3fc5c0=_0x568431;this[_0x3fc5c0(0x128)]=!0x1;});const _0x252488=this[_0x568431(0x112)][_0x568431(0x195)](_0x4703b7);this[_0x568431(0x179)]=!0x0;const _0xec8273=await this[_0x568431(0x12f)][_0x568431(0x1bb)](_0x2b0a1d,this[_0x568431(0x1de)](_0x4703b7),_0x252488);if(this[_0x568431(0x191)]=_0xec8273[_0x568431(0x191)],_0x1ed58f){if(!_0xec8273[_0x568431(0x10a)])return void this[_0x568431(0x170)]();this[_0x568431(0x179)]=!0x1,this[_0x568431(0x104)](),this[_0x568431(0xef)][_0x568431(0xe5)](),this[_0x568431(0x14a)]=_0xec8273[_0x568431(0x183)],this[_0x568431(0xef)][_0x568431(0x1cb)]=this[_0x568431(0x14a)],await this[_0x568431(0xf5)](_0x4703b7,_0xec8273,_0x568431(0x1af));}else await this[_0x568431(0xf3)](_0xec8273,_0x4703b7);this[_0x568431(0x13f)](),this[_0x568431(0x128)]=!0x0;}[_0x45d3af(0x13f)](){const _0x52fd22=_0x45d3af,_0x1fb96a=this[_0x52fd22(0x1b7)][_0x52fd22(0x11b)][_0x52fd22(0x18c)](_0x489d0a),_0x5c0046=this[_0x52fd22(0x1b7)][_0x52fd22(0x11b)][_0x52fd22(0x18c)](_0x3a5b7b),_0x484f49=_0x1fb96a[_0x52fd22(0x159)][_0x52fd22(0x18c)](this[_0x52fd22(0x1a4)]);_0x484f49&&_0x484f49[_0x52fd22(0x13e)]>0x1?_0x5c0046[_0x52fd22(0x141)]():this[_0x52fd22(0x13a)](_0x1fb96a,_0x52fd22(0x178)+this[_0x52fd22(0x1a4)],()=>{const _0x5d746a=_0x52fd22;0x2===_0x1fb96a[_0x5d746a(0x159)][_0x5d746a(0x18c)](this[_0x5d746a(0x1a4)])[_0x5d746a(0x13e)]&&_0x5c0046[_0x5d746a(0x141)]();});}async[_0x45d3af(0x17b)](_0x3ff3fb,_0x2350f8,_0x230429,_0x3cf95d){const _0x346827=_0x45d3af;if(!this[_0x346827(0x179)]&&this[_0x346827(0xfd)][_0x346827(0x1cb)]==_0x2350f8){const _0x39829f=this[_0x346827(0x10b)](_0x230429,_0x3cf95d);await this[_0x346827(0x1e5)](_0x39829f),this[_0x346827(0x101)](_0x39829f,_0x2350f8,_0x230429[_0x346827(0x1a5)])||this[_0x346827(0xf4)](_0x346827(0x152));}}async[_0x45d3af(0x1c4)](){const _0x34e4f4=_0x45d3af;this[_0x34e4f4(0x1c8)]();const {locale:_0x27590d}=this[_0x34e4f4(0x1b7)];let _0x213265;try{_0x213265=await this[_0x34e4f4(0x12f)][_0x34e4f4(0x1d5)]();}catch(_0x7db7b8){const _0x208cae=_0x529f1a(_0x27590d,_0x34e4f4(0x171));return void this[_0x34e4f4(0x170)](_0x208cae);}const _0x13232e=_0x213265[_0x34e4f4(0x139)]||_0x213265[_0x34e4f4(0x1cc)];if(this[_0x34e4f4(0x122)]===_0x13232e[_0x34e4f4(0x1a5)])await this[_0x34e4f4(0x13c)](this[_0x34e4f4(0x1b7)][_0x34e4f4(0x124)][_0x34e4f4(0x17d)][_0x34e4f4(0x105)][_0x34e4f4(0x185)](),!0x0);else{const _0x199bd2=_0x529f1a(_0x27590d,_0x34e4f4(0x17c));this[_0x34e4f4(0x170)](_0x199bd2);}}[_0x45d3af(0x1c8)](){const _0x1bcc89=_0x45d3af;this[_0x1bcc89(0x12f)][_0x1bcc89(0x158)](),this[_0x1bcc89(0x100)]=[],clearTimeout(this[_0x1bcc89(0x17e)]),this[_0x1bcc89(0x148)](this[_0x1bcc89(0x12f)]);}[_0x45d3af(0x18a)](_0x57ce5a){const _0x2f2500=_0x45d3af,_0x2133a7=this[_0x2f2500(0x1b7)][_0x2f2500(0x11b)][_0x2f2500(0x18c)](_0x489d0a);this[_0x2f2500(0x13a)](_0x2133a7,_0x2f2500(0x178)+this[_0x2f2500(0x1a4)],(_0x3f5102,{session:_0x48dbae})=>{const _0xdc56b=_0x2f2500;if(_0x48dbae['id']===_0x2133a7[_0xdc56b(0x1dc)]){_0x3f5102[_0xdc56b(0x166)]();const _0x1fd8ba=this[_0xdc56b(0x1b7)][_0xdc56b(0x11b)][_0xdc56b(0x1cf)](_0xdc56b(0x16d))&&this[_0xdc56b(0x1b7)][_0xdc56b(0x11b)][_0xdc56b(0x18c)](_0xdc56b(0x16d));let _0x5bca62=_0x48dbae[_0xdc56b(0x140)];_0x1fd8ba&&_0x1fd8ba[_0xdc56b(0x1b9)]&&(_0x5bca62=_0x5bca62[_0xdc56b(0xfc)](_0x1e14c1=>_0xdc56b(0x143)!==_0x1e14c1)),this[_0xdc56b(0x1b7)][_0xdc56b(0x11b)][_0xdc56b(0x18c)](_0xdc56b(0x1bf))[_0xdc56b(0x168)](_0x5bca62,this[_0xdc56b(0x1a4)]);}}),_0x2133a7[_0x2f2500(0x126)](this[_0x2f2500(0x1a4)],_0x57ce5a);}[_0x45d3af(0x1b5)](){const _0x17c5e8=_0x45d3af,_0x3146b1=this[_0x17c5e8(0x1b7)][_0x17c5e8(0x107)][_0x17c5e8(0x123)];this[_0x17c5e8(0x1b7)][_0x17c5e8(0x107)][_0x17c5e8(0x123)]=(..._0x8209ce)=>{const _0x3eaabc=_0x17c5e8;if(!_0x8209ce[_0x8209ce[_0x3eaabc(0x13e)]-0x1][_0x3eaabc(0x192)])throw new _0x9657ac(_0x3eaabc(0xfe),this);_0x3146b1[_0x3eaabc(0x103)](this[_0x3eaabc(0x1b7)][_0x3eaabc(0x107)],_0x8209ce);};}[_0x45d3af(0x190)](){const _0x1763fc=_0x45d3af;this[_0x1763fc(0x1b7)][_0x1763fc(0x107)]['on'](_0x1763fc(0x1b3),(_0x2bf540,[_0x1b0a25])=>{const _0x130927=_0x1763fc;if(this[_0x130927(0xfd)][_0x130927(0x1cb)])throw new _0x9657ac(_0x130927(0x117),this);_0x2bf540[_0x130927(0xfa)](),this[_0x130927(0xfb)]();const _0xe81041=this[_0x130927(0x1b7)][_0x130927(0x15b)][_0x130927(0x18c)](_0x130927(0x186)),_0x2d0349=this[_0x130927(0x161)](_0x1b0a25,_0xe81041);0x0==_0x2d0349[_0x130927(0x13e)]&&_0x2d0349[_0x130927(0x165)](new _0x27255d(0x0)),_0x2bf540[_0x130927(0x138)]=this[_0x130927(0x13c)](_0x2d0349)[_0x130927(0x1c9)](()=>{const _0x1f3295=_0x130927;this[_0x1f3295(0x1b7)][_0x1f3295(0x11b)][_0x1f3295(0x18c)](_0xf4909b)[_0x1f3295(0x198)](this),this[_0x1f3295(0x1b7)][_0x1f3295(0x107)][_0x1f3295(0xe9)](_0x1f3295(0x1a7));})[_0x130927(0x118)](_0x2b0182=>this[_0x130927(0xf4)](_0x130927(0x132),_0x2b0182))[_0x130927(0x16c)](()=>this[_0x130927(0x104)]());},{'priority':_0x1763fc(0x181)}),this[_0x1763fc(0x1b7)]['on'](_0x1763fc(0xff),async(_0x2e0fca,[_0x2f8b7b,_0x2bc353])=>{const _0x44bdc4=_0x1763fc;_0x2e0fca[_0x44bdc4(0xfa)]();const _0x1a484c=this[_0x44bdc4(0x1b7)][_0x44bdc4(0x124)][_0x44bdc4(0x17d)][_0x44bdc4(0x15c)](_0x2f8b7b);if(!this[_0x44bdc4(0xf0)][_0x44bdc4(0x1cf)](_0x2f8b7b)){const _0x2b21bf=_0x2bc353&&_0x2bc353[_0x44bdc4(0x107)]?_0x2bc353[_0x44bdc4(0x107)]:'',_0x444ecc=_0x2bc353&&_0x2bc353[_0x44bdc4(0x160)]?_0x2bc353[_0x44bdc4(0x160)]:{};await this[_0x44bdc4(0x1ab)](_0x2f8b7b,_0x2b21bf,_0x444ecc);}this[_0x44bdc4(0x1b7)][_0x44bdc4(0x124)][_0x44bdc4(0x12d)]({'isUndoable':!0x1},()=>{const _0x45676e=_0x44bdc4;_0x1a484c[_0x45676e(0x1c6)]=!0x0,this[_0x45676e(0x1b7)][_0x45676e(0x124)][_0x45676e(0x17d)][_0x45676e(0x146)][_0x45676e(0xed)](_0x1a484c);});},{'priority':_0x1763fc(0x181)});}async[_0x45d3af(0x1e5)](_0x3901a0){const _0x1e538f=_0x45d3af,_0x2a11e2=this[_0x1e538f(0x1b7)][_0x1e538f(0x11b)][_0x1e538f(0x18c)](_0x46e562),{connection:_0x3df5a5}=this[_0x1e538f(0x1b7)][_0x1e538f(0x11b)][_0x1e538f(0x18c)](_0xf4909b),_0x1083d8=new Set();for(const _0x5c8c1c of _0x3901a0){const _0x5223d8=_0x5c8c1c[_0x1e538f(0x144)];_0x5223d8&&!_0x2a11e2[_0x1e538f(0x1b0)](_0x5223d8)&&_0x1083d8[_0x1e538f(0x13d)](_0x5223d8);}if(0x0===_0x1083d8[_0x1e538f(0x1ae)])return;const _0x267f06=await _0x5425db[_0x1e538f(0x1b4)](_0x3df5a5,Array[_0x1e538f(0x120)](_0x1083d8));for(const _0x4e43a0 of _0x267f06)_0x2a11e2[_0x1e538f(0x1b0)](_0x4e43a0['id'])||_0x2a11e2[_0x1e538f(0x1b6)](_0x4e43a0);}[_0x45d3af(0x161)](_0x48d3be,_0x7ee1b0={}){const _0x170343=_0x45d3af,_0x18da6d=this[_0x170343(0x1b7)][_0x170343(0x124)],_0x40505c=[];let _0x5077f3=0x0;const _0x2c0f89=_0x170343(0xeb)==typeof _0x48d3be?{'main':_0x48d3be}:_0x48d3be;for(const _0xcb38fd of Object[_0x170343(0x1a1)](_0x2c0f89)){if(!this[_0x170343(0xfd)][_0x170343(0x18d)][_0x170343(0x1cf)](_0xcb38fd))throw new _0x9657ac(_0x170343(0xe8),this);const _0x54b236=this[_0x170343(0x1b7)][_0x170343(0x107)][_0x170343(0xee)](_0x2c0f89[_0xcb38fd]),_0x495220=this[_0x170343(0xfd)][_0x170343(0x15c)](_0xcb38fd),_0x3590b9=new _0x4bbf32(_0x18da6d[_0x170343(0x188)](_0x495220,0x0),_0x54b236,_0x5077f3++);_0x40505c[_0x170343(0x165)](_0x3590b9);for(const [_0x19856f,_0x9ea422]of _0x54b236[_0x170343(0x1a2)]){const _0x4498b4=_0x18da6d[_0x170343(0x18e)](_0x18da6d[_0x170343(0x1d9)](_0x495220,_0x9ea422[_0x170343(0x1df)][_0x170343(0x1d4)][_0x170343(0x1c5)]()),_0x18da6d[_0x170343(0x1d9)](_0x495220,_0x9ea422[_0x170343(0x137)][_0x170343(0x1d4)][_0x170343(0x1c5)]())),_0xfe432a=new _0x206a82(_0x19856f,null,_0x4498b4,_0x18da6d[_0x170343(0x1a2)],!0x0,_0x5077f3++);_0x40505c[_0x170343(0x165)](_0xfe432a);}}if(_0x7ee1b0)for(const [_0x185db0,_0x2dbcd2]of Object[_0x170343(0x169)](_0x7ee1b0)){const _0x21d3ed=_0x18da6d[_0x170343(0x17d)][_0x170343(0x15c)](_0x185db0);if(!_0x21d3ed)throw new _0x9657ac(_0x170343(0x167),null);for(const [_0x2c1146,_0x53894c]of Object[_0x170343(0x169)](_0x2dbcd2))if(null!==_0x53894c){const _0x1adbc8=new _0x2fc3eb(_0x21d3ed,_0x2c1146,null,_0x53894c,_0x5077f3++);_0x40505c[_0x170343(0x165)](_0x1adbc8);}}return _0x40505c;}async[_0x45d3af(0x1ab)](_0x20741a,_0xf65428,_0xbfd230){const _0x4a1f32=_0x45d3af;this[_0x4a1f32(0x161)]({[_0x20741a]:_0xf65428},{[_0x20741a]:_0xbfd230})[_0x4a1f32(0x156)]((_0x47875d,_0x26c18d)=>{const _0x5de154=_0x4a1f32;_0x47875d[_0x5de154(0x14c)]=this[_0x5de154(0xfd)][_0x5de154(0x1cb)]+_0x26c18d,_0x47875d[_0x5de154(0x194)]=!0x0,this[_0x5de154(0x1d6)](_0x47875d);}),this[_0x4a1f32(0x14f)](),await this[_0x4a1f32(0x175)]();}async[_0x45d3af(0xf3)](_0x459191,_0x3cdf10){const _0x3133df=_0x45d3af;let _0x472301;this[_0x3133df(0x14a)]=_0x459191[_0x3133df(0x183)];const _0x5d4114=_0x459191[_0x3133df(0x10a)]&&!_0x459191[_0x3133df(0xe6)],_0x39b25b=_0x5d4114?0x0:_0x459191[_0x3133df(0x107)][_0x3133df(0x14c)];if(_0x3cdf10[_0x3133df(0x156)](_0x362f4a=>{const _0x3704b9=_0x3133df;_0x362f4a[_0x3704b9(0x194)]=!0x0,_0x362f4a[_0x3704b9(0x1c1)]=_0x459191[_0x3704b9(0x199)],_0x362f4a[_0x3704b9(0x144)]=null;}),_0x5d4114)_0x472301=_0x3cdf10,this[_0x3133df(0x142)](_0x472301,_0x5d4114);else{if(_0x459191[_0x3133df(0xe6)]){const _0x59c76c=this[_0x3133df(0x161)](_0x459191[_0x3133df(0xe6)]);this[_0x3133df(0xfd)][_0x3133df(0x105)][_0x3133df(0x1cb)]=-_0x59c76c[_0x3133df(0x13e)],_0x59c76c[_0x3133df(0x156)](_0x3d1b80=>{const _0x2662d5=_0x3133df;_0x3d1b80[_0x2662d5(0x14c)]-=_0x59c76c[_0x2662d5(0x13e)],_0x3d1b80[_0x2662d5(0x1c1)]=_0x459191[_0x2662d5(0x199)],_0x3d1b80[_0x2662d5(0x194)]=!0x0,_0x3d1b80[_0x2662d5(0x144)]=null;}),this[_0x3133df(0x142)](_0x59c76c,!0x0),this[_0x3133df(0xef)][_0x3133df(0x1cb)]=-_0x59c76c[_0x3133df(0x13e)]+this[_0x3133df(0x14a)],this[_0x3133df(0x157)](_0x59c76c);}this[_0x3133df(0xfd)][_0x3133df(0x105)][_0x3133df(0x1cb)]=_0x39b25b,_0x472301=this[_0x3133df(0x10b)](_0x459191[_0x3133df(0x107)],_0x459191[_0x3133df(0x1e6)]),await this[_0x3133df(0x1e5)](_0x472301),this[_0x3133df(0x142)](_0x472301,_0x5d4114);}_0x459191[_0x3133df(0x1a5)]&&(this[_0x3133df(0x112)][_0x3133df(0x12b)](_0x472301,_0x459191[_0x3133df(0x1a5)]),this[_0x3133df(0x122)]=_0x459191[_0x3133df(0x1a5)]),this[_0x3133df(0xef)][_0x3133df(0x1cb)]=_0x39b25b+this[_0x3133df(0x14a)],this[_0x3133df(0x157)](_0x472301),_0x3cdf10[_0x3133df(0xfc)](_0x269f78=>{const _0x146a2e=_0x3133df,_0x1974e5=this[_0x146a2e(0x108)](_0x269f78);return _0x1974e5&&!this[_0x146a2e(0xf0)][_0x146a2e(0x1cf)](_0x1974e5);})[_0x3133df(0x156)]((_0xb8cf78,_0x3a4b6a)=>{const _0x4940c5=_0x3133df;_0xb8cf78[_0x4940c5(0x14c)]=this[_0x4940c5(0xfd)][_0x4940c5(0x1cb)]+_0x3a4b6a,this[_0x4940c5(0x1d6)](_0xb8cf78);}),this[_0x3133df(0x150)]()?(this[_0x3133df(0x1c7)]=0x0,this[_0x3133df(0x14f)](!0x0),await this[_0x3133df(0x175)]()):(this[_0x3133df(0x179)]=!0x1,this[_0x3133df(0x104)]());}[_0x45d3af(0xf4)](_0x576a5c,_0x21f67){const _0x44036c=_0x45d3af,_0x2e2bcd=_0x21f67&&_0x21f67[_0x44036c(0x1ca)];if(_0x2e2bcd&&_0x2e2bcd[_0x44036c(0x1dd)](_0x44036c(0x149)))throw _0x21f67;const _0x13b755=this[_0x44036c(0x1b7)][_0x44036c(0x11b)][_0x44036c(0x18c)](_0xf4909b);throw this[_0x44036c(0x179)]=!0x0,_0x13b755[_0x44036c(0x158)](),this[_0x44036c(0x1b7)][_0x44036c(0xf7)](_0x44036c(0x14b)),new _0x9657ac(_0x576a5c,this[_0x44036c(0x1b7)],_0x2e2bcd?{'originalError':_0x2e2bcd}:void 0x0);}[_0x45d3af(0x1d6)](_0x1d9325){const _0x2416d1=_0x45d3af;this[_0x2416d1(0x19e)][_0x2416d1(0x1cf)](_0x1d9325)||(this[_0x2416d1(0x19e)][_0x2416d1(0x13d)](_0x1d9325),this[_0x2416d1(0x100)][_0x2416d1(0x165)](_0x1d9325),this[_0x2416d1(0x10c)]||_0x2416d1(0x131)==_0x1d9325[_0x2416d1(0x1da)]&&!_0x1d9325[_0x2416d1(0x15f)]||this[_0x2416d1(0xfb)]());}[_0x45d3af(0x14f)](_0x3d48b7=!0x1){const _0x5bba4f=_0x45d3af;!_0x3d48b7&&this[_0x5bba4f(0x179)]||(this[_0x5bba4f(0x179)]=!0x0,clearTimeout(this[_0x5bba4f(0x17e)]),this[_0x5bba4f(0x17e)]=setTimeout(()=>{const _0x49d832=_0x5bba4f;this[_0x49d832(0x1c3)]()[_0x49d832(0x1c9)](_0x145f00=>{const _0x57b71c=_0x49d832;_0x145f00&&(this[_0x57b71c(0x104)](),this[_0x57b71c(0x179)]=!0x1);})[_0x49d832(0x118)](_0x35f03e=>{const _0x3f77f1=_0x49d832;this[_0x3f77f1(0x104)](),this[_0x3f77f1(0x179)]=!0x1,function(_0x4e4913){const _0x5daec6=_0x3f77f1;return _0x4e4913[_0x5daec6(0x1ca)][_0x5daec6(0x1dd)](_0x5daec6(0x162))||_0x4e4913[_0x5daec6(0x1ca)][_0x5daec6(0x1dd)](_0x5daec6(0x147))||_0x4e4913[_0x5daec6(0x1ca)][_0x5daec6(0x1dd)](_0x5daec6(0x11f));}(_0x35f03e)||this[_0x3f77f1(0xf4)](_0x35f03e[_0x3f77f1(0x1ca)],_0x35f03e);});},this[_0x5bba4f(0x1c7)]));}[_0x45d3af(0x175)](){return new Promise(_0x29b718=>{const _0x31f2ea=_0x2cf3;this['on'](_0x31f2ea(0x12e),()=>{_0x29b718();});});}async[_0x45d3af(0x1c3)](){const _0x3dcc2a=_0x45d3af,_0x4979cd=this[_0x3dcc2a(0x1b7)][_0x3dcc2a(0x11b)][_0x3dcc2a(0x18c)](_0x3a5b7b);if(this[_0x3dcc2a(0x182)]()&&(_0x4979cd[_0x3dcc2a(0x141)](),this[_0x3dcc2a(0x1e1)]=!0x1),!this[_0x3dcc2a(0x150)]())return!0x0;const _0x25d5d4=[...this[_0x3dcc2a(0x100)]];for(const _0x56dfdd of _0x25d5d4)_0x56dfdd[_0x3dcc2a(0x121)]=this[_0x3dcc2a(0xfd)][_0x3dcc2a(0x105)][_0x3dcc2a(0x1b2)](_0x56dfdd);const _0x541eb5=this[_0x3dcc2a(0x112)][_0x3dcc2a(0x195)](_0x25d5d4),_0x18ca72=K++,_0x5d05aa=this[_0x3dcc2a(0x1de)](_0x25d5d4),_0x3a4556=await this[_0x3dcc2a(0x12f)][_0x3dcc2a(0x19d)](_0x5d05aa,_0x5d05aa[_0x3dcc2a(0x14c)],_0x541eb5);try{return await this[_0x3dcc2a(0xf5)](_0x25d5d4,_0x3a4556,_0x18ca72);}catch(_0x891323){return this[_0x3dcc2a(0xf4)](_0x3dcc2a(0xf1),_0x891323);}}async[_0x45d3af(0xf5)](_0x49f11f,_0x5f3f9e,_0x119de7){const _0x3006fd=_0x45d3af;if(_0x3006fd(0x1c2)in _0x5f3f9e)throw _0x5f3f9e[_0x3006fd(0x1c2)];let _0x40453b=!0x1;if(_0x5f3f9e[_0x3006fd(0x10a)]){_0x5f3f9e[_0x3006fd(0x1a5)]&&(this[_0x3006fd(0x122)]=_0x5f3f9e[_0x3006fd(0x1a5)]),this[_0x3006fd(0x100)]=this[_0x3006fd(0x100)][_0x3006fd(0xfc)](_0x19e329=>!_0x49f11f[_0x3006fd(0xe4)](_0x19e329));for(const _0x49433b of _0x49f11f)_0x49433b[_0x3006fd(0x1c1)]=_0x3006fd(0x15a)in _0x5f3f9e&&_0x5f3f9e[_0x3006fd(0x15a)]||void 0x0;Q(_0x49f11f,_0x5f3f9e[_0x3006fd(0x1cb)]-_0x49f11f[_0x3006fd(0x13e)]),this[_0x3006fd(0x157)](_0x49f11f);const _0xa5339e=_0x49f11f[_0x3006fd(0xfc)](_0x39a05c=>{const _0x1b8f42=_0x3006fd;if(!_0x39a05c[_0x1b8f42(0x194)])return!0x1;const _0x47fa67=this[_0x1b8f42(0x108)](_0x39a05c);return _0x47fa67&&!this[_0x1b8f42(0xf0)][_0x1b8f42(0x1cf)](_0x47fa67);});Q(_0xa5339e,this[_0x3006fd(0xfd)][_0x3006fd(0x1cb)]),this[_0x3006fd(0x142)](_0xa5339e),_0x40453b=!0x0,this[_0x3006fd(0x1c7)]=this[_0x3006fd(0x119)];}else{const _0x303be2=this[_0x3006fd(0x10b)](_0x5f3f9e[_0x3006fd(0x107)],_0x5f3f9e[_0x3006fd(0x1e6)])[_0x3006fd(0xfc)](_0xa7e215=>_0xa7e215[_0x3006fd(0x14c)]>=this[_0x3006fd(0x1e0)]);_0x303be2[_0x3006fd(0x156)](_0x3fa69d=>this[_0x3006fd(0xf6)](_0x3fa69d)),this[_0x3006fd(0x100)]=this[_0x3006fd(0x100)][_0x3006fd(0xfc)](_0x2f0907=>!_0x2f0907[_0x3006fd(0x194)]||!this[_0x3006fd(0xf0)][_0x3006fd(0x1cf)](this[_0x3006fd(0x108)](_0x2f0907))),this[_0x3006fd(0x100)][_0x3006fd(0x13e)]&&Q(this[_0x3006fd(0x100)],this[_0x3006fd(0x100)][0x0][_0x3006fd(0x14c)]),await this[_0x3006fd(0x1e5)](_0x303be2),_0x40453b=this[_0x3006fd(0x101)](_0x303be2,_0x5f3f9e[_0x3006fd(0x1cb)],_0x5f3f9e[_0x3006fd(0x1a5)]),this[_0x3006fd(0x1c7)]=Math[_0x3006fd(0x180)](this[_0x3006fd(0x1c7)]/0x2);}return _0x40453b?!this[_0x3006fd(0x150)]()||(this[_0x3006fd(0x14f)](!0x0),!0x1):this[_0x3006fd(0xf4)](_0x3006fd(0x1aa));}[_0x45d3af(0x101)](_0x258eac,_0x4c51fe,_0x5e2803){const _0x22b720=_0x45d3af;try{const _0x2445c0={'document':this[_0x22b720(0xfd)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x21af18,operationsB:_0x5600f1,originalOperations:_0x2b825d}=_0xae7999(_0x258eac,this[_0x22b720(0x100)],_0x2445c0);Q(_0x21af18,this[_0x22b720(0xfd)][_0x22b720(0x1cb)]),Q(_0x5600f1,_0x4c51fe);for(const _0x273bbd of _0x21af18){const _0x553ee6=_0x2b825d[_0x22b720(0x18c)](_0x273bbd);_0x273bbd[_0x22b720(0x144)]=_0x553ee6?_0x553ee6[_0x22b720(0x144)]:null;}_0x5e2803&&(this[_0x22b720(0x112)][_0x22b720(0x12b)](_0x258eac,_0x5e2803),this[_0x22b720(0x122)]=_0x5e2803),this[_0x22b720(0x100)]=[..._0x5600f1],this[_0x22b720(0x142)](_0x21af18),this[_0x22b720(0x157)](_0x258eac);}catch(_0xa3bc65){return console[_0x22b720(0x1c2)](_0xa3bc65),!0x1;}return!0x0;}[_0x45d3af(0x142)](_0x583ec2,_0x4fa268=!0x1){const _0x14495a=_0x45d3af;this[_0x14495a(0x1b7)][_0x14495a(0x124)][_0x14495a(0x12d)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4ca921=>{const _0xcd3533=_0x14495a;for(const _0x8d5319 of _0x583ec2)this[_0xcd3533(0x19e)][_0xcd3533(0x13d)](_0x8d5319),this[_0xcd3533(0xf6)](_0x8d5319),_0x4ca921[_0xcd3533(0x153)][_0xcd3533(0x1a6)](_0x8d5319),this[_0xcd3533(0x1b7)][_0xcd3533(0x124)][_0xcd3533(0x10d)](_0x8d5319);});}[_0x45d3af(0xf6)](_0x5d28d4){const _0x16ffaf=_0x45d3af,_0x2138ec=this[_0x16ffaf(0x108)](_0x5d28d4);_0x2138ec&&this[_0x16ffaf(0xf0)][_0x16ffaf(0x13d)](_0x2138ec);}[_0x45d3af(0x108)](_0x4ad582){const _0x2dd1af=_0x45d3af;let _0x463d69,_0x46b322;switch(_0x4ad582[_0x2dd1af(0x1da)]){case _0x2dd1af(0x130):_0x463d69=_0x4ad582[_0x2dd1af(0x1e4)][_0x2dd1af(0x15e)];break;case _0x2dd1af(0x131):if(_0x46b322=_0x4ad582[_0x2dd1af(0x1ba)],!_0x46b322)return null;_0x463d69=_0x46b322[_0x2dd1af(0x15e)];break;case _0x2dd1af(0x115):_0x463d69=_0x4ad582[_0x2dd1af(0x15e)];break;case _0x2dd1af(0x1e7):_0x463d69=_0x4ad582[_0x2dd1af(0x1d3)];break;case _0x2dd1af(0x11c):_0x463d69=_0x4ad582[_0x2dd1af(0x129)][_0x2dd1af(0x15e)];break;default:return null;}return _0x463d69[_0x2dd1af(0x10e)];}[_0x45d3af(0x157)](_0x56deef){const _0x498d60=_0x45d3af;_0x56deef[_0x498d60(0x156)](_0x53ecd5=>{const _0x1d03e3=_0x498d60,_0x500a14=_0x53ecd5[_0x1d03e3(0x133)]();_0x500a14[_0x1d03e3(0x144)]=_0x53ecd5[_0x1d03e3(0x144)],_0x500a14[_0x1d03e3(0x194)]=!!_0x53ecd5[_0x1d03e3(0x194)],_0x500a14[_0x1d03e3(0x1c1)]=_0x53ecd5[_0x1d03e3(0x1c1)],_0x500a14[_0x1d03e3(0x14c)]+=this[_0x1d03e3(0x14a)],_0x53ecd5[_0x1d03e3(0x106)]&&this[_0x1d03e3(0x1a9)][_0x1d03e3(0x13d)](_0x500a14),this[_0x1d03e3(0xef)][_0x1d03e3(0x1a6)](_0x500a14);});}[_0x45d3af(0x170)](_0x2ddfcd){const _0x355292=_0x45d3af,_0x52cf70=this[_0x355292(0x1b7)][_0x355292(0x11b)][_0x355292(0x18c)](_0x355292(0x19a)),_0x1f4850=this[_0x355292(0x1b7)][_0x355292(0xf8)];_0x2ddfcd||(_0x2ddfcd=_0x529f1a(_0x1f4850,_0x355292(0x16a))),_0x52cf70[_0x355292(0x17f)](_0x2ddfcd,{'title':_0x529f1a(_0x1f4850,_0x355292(0x11d)),'namespace':_0x355292(0x127)}),this[_0x355292(0x10f)]=!0x0,clearTimeout(this[_0x355292(0x17e)]),this[_0x355292(0x100)]=[],this[_0x355292(0x1b7)][_0x355292(0x11b)][_0x355292(0x18c)](_0xf4909b)[_0x355292(0x158)]();}[_0x45d3af(0xfb)](){const _0x13bc4b=_0x45d3af;this[_0x13bc4b(0x10c)]||(this[_0x13bc4b(0x10c)]=this[_0x13bc4b(0x1b7)][_0x13bc4b(0x11b)][_0x13bc4b(0x18c)](_0x32649e)[_0x13bc4b(0x13d)](_0x529f1a(this[_0x13bc4b(0x1b7)][_0x13bc4b(0xf8)],_0x13bc4b(0x187))));}[_0x45d3af(0x104)](){const _0x5bbc3c=_0x45d3af;this[_0x5bbc3c(0x10c)]&&(this[_0x5bbc3c(0x1b7)][_0x5bbc3c(0x11b)][_0x5bbc3c(0x18c)](_0x32649e)[_0x5bbc3c(0x1e8)](this[_0x5bbc3c(0x10c)]),this[_0x5bbc3c(0x10c)]=null);}[_0x45d3af(0x1de)](_0x4fa4cc){const _0x1ecd5f=_0x45d3af,_0x1d103f=_0x4fa4cc[_0x1ecd5f(0x125)](_0x2654e9=>_0x2654e9[_0x1ecd5f(0xf2)]());return this[_0x1ecd5f(0x1d2)][_0x1ecd5f(0x134)](_0x1d103f);}[_0x45d3af(0x10b)](_0x595a2d,_0x4943d7){const _0x39cc30=_0x45d3af;return this[_0x39cc30(0x1d2)][_0x39cc30(0x18b)](_0x595a2d)[_0x39cc30(0x125)]((_0x109617,_0x43bea0)=>{const _0x1a34b3=_0x39cc30,_0x17f499=_0x1a34b3(0x1b3)==_0x4943d7[_0x43bea0][_0x1a34b3(0x1da)];if(_0x1a34b3(0x14d)==_0x109617[_0x1a34b3(0x1a8)]){const _0x51357f=_0x109617[_0x1a34b3(0x1e4)][_0x1a34b3(0x15e)];!this[_0x1a34b3(0xfd)][_0x1a34b3(0x15c)](_0x51357f)&&(this[_0x1a34b3(0xfd)][_0x1a34b3(0x15d)](_0x1a34b3(0x12a),_0x51357f)[_0x1a34b3(0xec)]=!0x1);}const _0x22e833=_0x5d9bd5[_0x1a34b3(0x110)](_0x109617,this[_0x1a34b3(0xfd)]);return _0x22e833[_0x1a34b3(0x121)]=_0x109617[_0x1a34b3(0x121)],_0x22e833[_0x1a34b3(0x194)]=_0x17f499,_0x22e833[_0x1a34b3(0x144)]=_0x17f499?null:_0x4943d7[_0x43bea0][_0x1a34b3(0x102)],_0x22e833[_0x1a34b3(0x106)]=_0x1a34b3(0x16b)===_0x4943d7[_0x43bea0][_0x1a34b3(0x1da)],_0x22e833[_0x1a34b3(0x1c1)]=_0x4943d7[_0x43bea0][_0x1a34b3(0x1c1)],_0x22e833;});}[_0x45d3af(0x13b)](){const _0x1b5b81=_0x45d3af;this[_0x1b5b81(0x1e1)]=!0x0,this[_0x1b5b81(0x182)]()?this[_0x1b5b81(0x14f)]():this[_0x1b5b81(0x1e1)]=!0x1;}[_0x45d3af(0x182)](){const _0xda5145=_0x45d3af,_0x2375e1=this[_0xda5145(0x1b7)][_0xda5145(0x11b)][_0xda5145(0x18c)](_0x489d0a)[_0xda5145(0x159)][_0xda5145(0x18c)](this[_0xda5145(0x1a4)]);return!this[_0xda5145(0x1b7)][_0xda5145(0x163)]&&!!_0x2375e1&&_0x2375e1[_0xda5145(0x13e)]>0x1&&this[_0xda5145(0x1e1)];}[_0x45d3af(0x150)](){const _0x33d277=_0x45d3af;return this[_0x33d277(0x100)][_0x33d277(0x13e)]>0x0||this[_0x33d277(0x182)]();}}l[_0x45d3af(0x172)]=_0x2ee7b8;export default l;class J extends Error{}function Q(_0x2ff703,_0x114142){const _0x592229=_0x45d3af;for(const _0x27cd43 of _0x2ff703)_0x27cd43[_0x592229(0x14c)]=_0x114142++;}class X{constructor(_0x26f40b){const _0x15e896=_0x45d3af;this[_0x15e896(0xea)]=_0x26f40b,this[_0x15e896(0x173)]=new WeakMap();}[_0x45d3af(0x195)](_0x1d0718){const _0x55a115=_0x45d3af;let _0x2a84ac=_0x1d0718[_0x55a115(0x13e)];for(;_0x2a84ac--;){const _0x344723=_0x1d0718[_0x2a84ac];if(!this[_0x55a115(0xea)][_0x55a115(0x1cf)](_0x344723)){if(!this[_0x55a115(0x173)][_0x55a115(0x1cf)](_0x344723)){const _0x3d2820=_0x423cfa()[_0x55a115(0x1c5)](0x1,0x12);this[_0x55a115(0x173)][_0x55a115(0x123)](_0x344723,_0x3d2820);}return this[_0x55a115(0x173)][_0x55a115(0x18c)](_0x344723);}}}[_0x45d3af(0x12b)](_0xe3b247,_0x4ae3f0){const _0x5c370d=_0x45d3af;if(!_0x4ae3f0)return;let _0x439e4d=_0xe3b247[_0x5c370d(0x13e)];for(;_0x439e4d--;){const _0x495b6b=_0xe3b247[_0x439e4d];this[_0x5c370d(0xea)][_0x5c370d(0x1cf)](_0x495b6b)||this[_0x5c370d(0x173)][_0x5c370d(0x123)](_0x495b6b,_0x4ae3f0);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3248(_0x399ed4,_0xdc6e0c){const _0x1a916d=_0x1a91();return _0x3248=function(_0x324868,_0x42b60a){_0x324868=_0x324868-0xc9;let _0x6f1cd8=_0x1a916d[_0x324868];return _0x6f1cd8;},_0x3248(_0x399ed4,_0xdc6e0c);}function _0x1a91(){const _0x35d486=['user','84JgYglH','_handleSessionAdd','23219417NSsfGZ','get','_uniqueUsersCount','context','values','mySessionId','fire','1471128libsBi','getUserRole','sessionAdd:','plugins','addUser','getUserBySessionId','channelSessions','isPremiumPlugin','init','sessionId','isOfficialPlugin','165678UheKJk','has','assign','4247244ByOQsg','unregister','remove','getUserSessions','11704tBqCTf','sessions-unregister-not-exist','pluginName','allConnectedUsers','getUser','_users','register','38nVVNMo','connection','1393nWmzFi','add','state','sessions-register-already-registered','size','connected','stopListening','listenTo','12mECNbu','5fLSRoQ','Sessions','channelConnectedUsers','role','_createUser','_registeredSessions','set','17009jWJnUK','change:state','orderNumber','30MZBimT','isMe','forEach','delete','_handleSessionRemove','clear','defineMe','requires','11819170MfZtAz'];_0x1a91=function(){return _0x35d486;};return _0x1a91();}const _0x3851b7=_0x3248;(function(_0x1a6263,_0x26b781){const _0x3d1202=_0x3248,_0x928ac3=_0x1a6263();while(!![]){try{const _0x58a97f=-parseInt(_0x3d1202(0xd7))/0x1*(-parseInt(_0x3d1202(0x106))/0x2)+parseInt(_0x3d1202(0xf8))/0x3*(parseInt(_0x3d1202(0xe4))/0x4)+-parseInt(_0x3d1202(0xd0))/0x5*(parseInt(_0x3d1202(0xed))/0x6)+-parseInt(_0x3d1202(0x108))/0x7*(-parseInt(_0x3d1202(0xff))/0x8)+-parseInt(_0x3d1202(0xfb))/0x9*(parseInt(_0x3d1202(0xda))/0xa)+-parseInt(_0x3d1202(0xe2))/0xb+parseInt(_0x3d1202(0xcf))/0xc*(parseInt(_0x3d1202(0xe6))/0xd);if(_0x58a97f===_0x26b781)break;else _0x928ac3['push'](_0x928ac3['shift']());}catch(_0x1db707){_0x928ac3['push'](_0x928ac3['shift']());}}}(_0x1a91,0xc95b5));import{ContextPlugin as _0x3dbbb9}from'ckeditor5/src/core.js';import{Collection as _0x2a5c1e,CKEditorError as _0x12ebea}from'ckeditor5/src/utils.js';import _0x3fee44 from'./websocketgateway.js';import{Users as _0x2ce6da}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x3dbbb9{static get[_0x3851b7(0x101)](){const _0x48dc71=_0x3851b7;return _0x48dc71(0xd1);}static get[_0x3851b7(0xf7)](){return!0x0;}static get[_0x3851b7(0xf4)](){return!0x0;}static get[_0x3851b7(0xe1)](){return[_0x3fee44,_0x2ce6da];}constructor(_0x43da4d){const _0x1616f1=_0x3851b7;super(_0x43da4d),this[_0x1616f1(0xf3)]=new Map(),this[_0x1616f1(0xd2)]=new Map(),this[_0x1616f1(0x102)]=new _0x2a5c1e(),this[_0x1616f1(0xd5)]=new Map(),this[_0x1616f1(0xe8)]=0x0,this[_0x1616f1(0x104)]=this[_0x1616f1(0xe9)][_0x1616f1(0xf0)][_0x1616f1(0xe7)](_0x2ce6da);}[_0x3851b7(0xf5)](){const _0x18a522=_0x3851b7,_0x2e9216=this[_0x18a522(0xe9)][_0x18a522(0xf0)][_0x18a522(0xe7)](_0x3fee44);this[_0x18a522(0xce)](_0x2e9216,_0x18a522(0xd8),(_0x3ff053,_0x5ebeb0,_0x39ba8c)=>{const _0x9c40d=_0x18a522;if(_0x9c40d(0xcc)!==_0x39ba8c)this[_0x9c40d(0xf3)][_0x9c40d(0xdc)](_0x539f79=>_0x539f79[_0x9c40d(0xdf)]()),this[_0x9c40d(0xd2)][_0x9c40d(0xdc)](_0x33b45c=>_0x33b45c[_0x9c40d(0xdf)]()),this[_0x9c40d(0x102)][_0x9c40d(0xdf)]();else{for(const [_0x33d356,_0x1ec5d0]of this[_0x9c40d(0xd5)])for(const _0x204892 of _0x1ec5d0)this[_0x9c40d(0xe5)](_0x33d356,_0x204892);}}),this[_0x18a522(0xd4)](_0x2e9216[_0x18a522(0x107)]['me'],!0x0);}[_0x3851b7(0x105)](_0x187f41,_0x582b14){const _0x3113c5=_0x3851b7;if(this[_0x3113c5(0xd5)][_0x3113c5(0xf9)](_0x187f41))throw new _0x12ebea(_0x3113c5(0xca),null,{'channelId':_0x187f41});this[_0x3113c5(0xd5)][_0x3113c5(0xd6)](_0x187f41,_0x582b14),this[_0x3113c5(0xf3)][_0x3113c5(0xd6)](_0x187f41,new _0x2a5c1e()),this[_0x3113c5(0xd2)][_0x3113c5(0xd6)](_0x187f41,new _0x2a5c1e()),this[_0x3113c5(0xce)](_0x582b14,_0x3113c5(0x109),(_0x4b5c25,_0xe3029e)=>this[_0x3113c5(0xe5)](_0x187f41,_0xe3029e)),this[_0x3113c5(0xce)](_0x582b14,_0x3113c5(0xfd),(_0x39f22d,_0x51869b)=>this[_0x3113c5(0xde)](_0x187f41,_0x51869b));for(const _0x305262 of _0x582b14)this[_0x3113c5(0xe5)](_0x187f41,_0x305262);}[_0x3851b7(0xfc)](_0x2ed941){const _0x544524=_0x3851b7;if(!this[_0x544524(0xd5)][_0x544524(0xf9)](_0x2ed941))throw new _0x12ebea(_0x544524(0x100),null,{'channelId':_0x2ed941});const _0x58f19f=this[_0x544524(0xd5)][_0x544524(0xe7)](_0x2ed941);this[_0x544524(0xcd)](_0x58f19f);for(const _0x521b5a of _0x58f19f)_0x544524(0xcc)===this[_0x544524(0xe9)][_0x544524(0xf0)][_0x544524(0xe7)](_0x3fee44)[_0x544524(0xc9)]&&this[_0x544524(0xde)](_0x2ed941,_0x521b5a);this[_0x544524(0xd5)][_0x544524(0xdd)](_0x2ed941),this[_0x544524(0xf3)][_0x544524(0xdd)](_0x2ed941),this[_0x544524(0xd2)][_0x544524(0xdd)](_0x2ed941);}get[_0x3851b7(0xeb)](){const _0x3a6ec8=_0x3851b7;return this[_0x3a6ec8(0xe9)][_0x3a6ec8(0xf0)][_0x3a6ec8(0xe7)](_0x3fee44)[_0x3a6ec8(0x107)][_0x3a6ec8(0xf6)];}[_0x3851b7(0xf2)](_0x682acb){const _0xdae3ee=_0x3851b7;for(const _0x1054f2 of this[_0xdae3ee(0xf3)][_0xdae3ee(0xea)]())for(const _0x3046eb of _0x1054f2)if(_0x3046eb['id']===_0x682acb)return _0x3046eb[_0xdae3ee(0xe3)];}[_0x3851b7(0xfe)](_0xbc03dc,_0x5929f2){const _0x1de749=_0x3851b7,_0x4facb3=_0x5929f2?[this[_0x1de749(0xf3)][_0x1de749(0xe7)](_0x5929f2)]:this[_0x1de749(0xf3)][_0x1de749(0xea)](),_0x19d703=new Set();for(const _0x5dab56 of _0x4facb3)for(const _0x282933 of _0x5dab56)_0x282933[_0x1de749(0xe3)]['id']===_0xbc03dc['id']&&_0x19d703[_0x1de749(0x109)](_0x282933['id']);return _0x19d703;}[_0x3851b7(0xee)](_0x3bbed6){const _0x5cefcb=_0x3851b7;for(const _0x4b532a of this[_0x5cefcb(0xf3)][_0x5cefcb(0xea)]())for(const _0x399cb7 of _0x4b532a)if(_0x399cb7[_0x5cefcb(0xe3)]===_0x3bbed6)return _0x399cb7[_0x5cefcb(0xd3)];}[_0x3851b7(0xe5)](_0x442c8a,_0x48a5c0){const _0x2e5153=_0x3851b7;if(_0x2e5153(0xcc)!==this[_0x2e5153(0xe9)][_0x2e5153(0xf0)][_0x2e5153(0xe7)](_0x3fee44)[_0x2e5153(0xc9)])return;const _0x4a8ff6=_0x48a5c0[_0x2e5153(0xe3)],_0x2a44b6=this[_0x2e5153(0x104)][_0x2e5153(0x103)](_0x4a8ff6['id'])||this[_0x2e5153(0xd4)](_0x4a8ff6),_0x2e1ec4=Object[_0x2e5153(0xfa)]({},_0x48a5c0,{'user':_0x2a44b6});this[_0x2e5153(0xf3)][_0x2e5153(0xe7)](_0x442c8a)[_0x2e5153(0x109)](_0x2e1ec4);const _0x142977=this[_0x2e5153(0xd2)][_0x2e5153(0xe7)](_0x442c8a);_0x142977[_0x2e5153(0xf9)](_0x2a44b6['id'])||_0x142977[_0x2e5153(0x109)](_0x2a44b6),this[_0x2e5153(0x102)][_0x2e5153(0xf9)](_0x2a44b6['id'])||this[_0x2e5153(0x102)][_0x2e5153(0x109)](_0x2a44b6,_0x2a44b6[_0x2e5153(0xdb)]?0x0:void 0x0),this[_0x2e5153(0xec)](_0x2e5153(0xef)+_0x442c8a,{'channelId':_0x442c8a,'session':_0x2e1ec4});}[_0x3851b7(0xde)](_0x22f7a7,_0x47590a){const _0x53148b=_0x3851b7;if(_0x53148b(0xcc)!==this[_0x53148b(0xe9)][_0x53148b(0xf0)][_0x53148b(0xe7)](_0x3fee44)[_0x53148b(0xc9)])return;const _0x176191=this[_0x53148b(0xd2)][_0x53148b(0xe7)](_0x22f7a7),_0x1a5892=_0x47590a[_0x53148b(0xe3)];_0x1a5892['id']&&(this[_0x53148b(0xf3)][_0x53148b(0xe7)](_0x22f7a7)[_0x53148b(0xfd)](_0x47590a['id']),_0x176191[_0x53148b(0xf9)](_0x1a5892['id'])&&!this[_0x53148b(0xfe)](_0x1a5892,_0x22f7a7)[_0x53148b(0xcb)]&&_0x176191[_0x53148b(0xfd)](_0x1a5892['id']),this[_0x53148b(0x102)][_0x53148b(0xe7)](_0x1a5892['id'])&&!this[_0x53148b(0xfe)](_0x1a5892)[_0x53148b(0xcb)]&&this[_0x53148b(0x102)][_0x53148b(0xfd)](_0x1a5892['id']));}[_0x3851b7(0xd4)](_0x383296,_0x588a92){const _0x34bbe8=_0x3851b7,_0x26588c=this[_0x34bbe8(0x104)][_0x34bbe8(0xf1)](_0x383296);return _0x588a92&&this[_0x34bbe8(0x104)][_0x34bbe8(0xe0)](_0x383296['id']),_0x26588c[_0x34bbe8(0xd9)]=this[_0x34bbe8(0xe8)]++,_0x26588c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x42db04=_0x3058;function _0x3058(_0x2752cc,_0x5b4a2b){const _0x4578c3=_0x4578();return _0x3058=function(_0x305806,_0x4b86ad){_0x305806=_0x305806-0x16e;let _0x33a428=_0x4578c3[_0x305806];return _0x33a428;},_0x3058(_0x2752cc,_0x5b4a2b);}function _0x4578(){const _0x5a7cd1=['color','getContainedElement','schema','5039730rBmckH','527315PwGVRt','keydown','commands','change','has','markerName','markerRange','batch','toRange','add','$text','orderNumber','21991qDwheP','userPositionMarker','for','updateMarker','9238672MlpUcc','afterInit','ck-user__marker\x20','marker','markers','setCustomProperty','checkChild','668859sfjZzx','spellcheck','52DrThVF','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','_domEmitter','user:','user:range','root','conversion','6ntBuBM','getRange','end','textContent','tableCell','mySessionId','oldRange','createUIElement','ck-user__marker_hovered','isOfficialPlugin','editingDowncast','createUserMarkerOperations','reconvertMarker','editing','data-session-id','hasDomSelection','toDomElement','setAttribute','isObject','startsWith','removeClass','change:range','parent','getCustomProperty','deletionPosition','isCollapsed','addMarker','getUserBySessionId','remove','isSimilar','view','isPremiumPlugin','28gjiDfN','contenteditable','ck-user__selection','mouseleave','UserMarkers','applyOperation','user:position:','getNearestSelectionRange','newRange','editor','rootName','hasContent','createElement','element','size','pluginName','stopListening','selection','isInline','getStart','set','nodeAfter','ck-user__marker-tooltip','getPositions','highest','listenTo','user:range:','fromRange','mouseenter','getFirstRange','addEventListener','span','render','detach','split','start','type','enqueueChange','get','createRange','Escape','_createdBatches','innerHTML','model','update:user:range','removeMarker','classList','document','user:position','isLimit','$graveyard','init','clear','isDocumentOperation','delete','markerToElement','mapper','requires','false','outerHTML','11251152uPBeFa','getSelectionClass','markerNameToElements','getMarkerClass','plugins','undo','672049JzYcNL','markerToHighlight','destroy','name','getAttribute'];_0x4578=function(){return _0x5a7cd1;};return _0x4578();}(function(_0x343bc9,_0x1324bc){const _0x33d10c=_0x3058,_0x5eeb4a=_0x343bc9();while(!![]){try{const _0x32e7f3=parseInt(_0x33d10c(0x1d7))/0x1*(-parseInt(_0x33d10c(0x1e4))/0x2)+parseInt(_0x33d10c(0x1e2))/0x3*(-parseInt(_0x33d10c(0x180))/0x4)+parseInt(_0x33d10c(0x1cb))/0x5*(parseInt(_0x33d10c(0x1eb))/0x6)+-parseInt(_0x33d10c(0x1c2))/0x7+parseInt(_0x33d10c(0x1db))/0x8+parseInt(_0x33d10c(0x1bc))/0x9+parseInt(_0x33d10c(0x1ca))/0xa;if(_0x32e7f3===_0x1324bc)break;else _0x5eeb4a['push'](_0x5eeb4a['shift']());}catch(_0x12e55d){_0x5eeb4a['push'](_0x5eeb4a['shift']());}}}(_0x4578,0xbfe22));import{Plugin as _0x3cb95d}from'ckeditor5/src/core.js';import{global as _0x30f233,DomEmitterMixin as _0x1067c8}from'ckeditor5/src/utils.js';import _0x29d988 from'./sessions.js';import{LiveRange as _0x5ad2f2}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class N extends _0x3cb95d{constructor(){const _0x275428=_0x3058;super(...arguments),this[_0x275428(0x1e6)]=new(_0x1067c8())();}static get[_0x42db04(0x1b9)](){return[_0x29d988];}static get[_0x42db04(0x18f)](){const _0x30e1f4=_0x42db04;return _0x30e1f4(0x184);}static get[_0x42db04(0x1f4)](){return!0x0;}static get[_0x42db04(0x17f)](){return!0x0;}[_0x42db04(0x1b3)](){const _0x438185=_0x42db04,_0x2db259=this[_0x438185(0x189)],_0x31fdf4=_0x2db259[_0x438185(0x1c0)][_0x438185(0x1a6)](_0x29d988);_0x2db259[_0x438185(0x1ea)][_0x438185(0x1d9)](_0x438185(0x1f5))[_0x438185(0x1b7)]({'model':_0x438185(0x1b0),'view':(_0x613f51,{writer:_0x391de9})=>function(_0x1fb1e8,_0x9f26ce,_0x472d01,_0xd3e45f){const _0x4d0abe=_0x438185,_0x3e0bd0=_0x1fb1e8[_0x4d0abe(0x1d0)][_0x4d0abe(0x1a2)](':')[0x2],_0x109c4b=_0x472d01[_0x4d0abe(0x17b)](_0x3e0bd0);if(!_0x109c4b||_0x3e0bd0===_0x472d01[_0x4d0abe(0x1f0)])return;if(!_0xd3e45f[_0x4d0abe(0x1ab)][_0x4d0abe(0x1c9)][_0x4d0abe(0x1e1)](_0x1fb1e8[_0x4d0abe(0x1d1)][_0x4d0abe(0x1a3)],_0x4d0abe(0x1d5)))return;const _0x4677c8={'class':_0x4d0abe(0x1dd)+_0x109c4b[_0x4d0abe(0x1c7)][_0x4d0abe(0x1bf)](),'data-name':_0x109c4b[_0x4d0abe(0x1c5)],'data-session-id':_0x3e0bd0},_0x57e16b=_0xd3e45f[_0x4d0abe(0x1ab)][_0x4d0abe(0x1df)][_0x4d0abe(0x1a6)](_0x1fb1e8[_0x4d0abe(0x1d0)]),_0x3943ed=_0x57e16b[_0x4d0abe(0x193)](),_0x36ac1e=_0x3943ed[_0x4d0abe(0x195)],_0xce3007=_0xd3e45f[_0x4d0abe(0x1ab)][_0x4d0abe(0x1c9)];if(_0x36ac1e&&_0xce3007[_0x4d0abe(0x172)](_0x36ac1e)&&_0xce3007[_0x4d0abe(0x192)](_0x36ac1e)&&!_0xd3e45f[_0x4d0abe(0x1ab)][_0x4d0abe(0x1df)][_0x4d0abe(0x1a6)](_0x4d0abe(0x19a)+_0x3e0bd0)[_0x4d0abe(0x1ec)]()[_0x4d0abe(0x179)])return;const _0x1868b1=_0x3943ed[_0x4d0abe(0x176)];return _0xd3e45f[_0x4d0abe(0x1ab)][_0x4d0abe(0x1c9)][_0x4d0abe(0x1b1)](_0x1868b1)&&!_0xd3e45f[_0x4d0abe(0x1ab)][_0x4d0abe(0x18b)](_0x1868b1)&&(_0x4677c8[_0x4d0abe(0x181)]=!0x1),function(_0x48a58a,_0x3b0fb0,_0x5999fe){const _0x295be3=_0x4d0abe,_0x417209=_0x48a58a[_0x295be3(0x1f2)](_0x295be3(0x19f),_0x3b0fb0);return _0x48a58a[_0x295be3(0x1e0)](_0x295be3(0x1d8),!0x0,_0x417209),_0x417209[_0x295be3(0x1a0)]=function(_0x31a27f){const _0x1c0010=_0x295be3,_0x7f1da=this[_0x1c0010(0x170)](_0x31a27f),_0x2d30ee=document[_0x1c0010(0x18c)](_0x1c0010(0x19f));return _0x2d30ee[_0x1c0010(0x1ae)][_0x1c0010(0x1d4)](_0x1c0010(0x196)),_0x2d30ee[_0x1c0010(0x171)](_0x1c0010(0x181),_0x1c0010(0x1ba)),_0x2d30ee[_0x1c0010(0x171)](_0x1c0010(0x1e3),_0x1c0010(0x1ba)),_0x2d30ee[_0x1c0010(0x1ee)]=_0x5999fe[_0x1c0010(0x1c5)],_0x7f1da[_0x1c0010(0x1aa)]=_0x1c0010(0x1e5)+_0x2d30ee[_0x1c0010(0x1bb)]+'',_0x7f1da[_0x1c0010(0x19e)](_0x1c0010(0x19c),()=>{const _0x4e81cc=_0x1c0010;_0x7f1da[_0x4e81cc(0x1ae)][_0x4e81cc(0x1d4)](_0x4e81cc(0x1f3));}),_0x7f1da[_0x1c0010(0x19e)](_0x1c0010(0x183),()=>{const _0x100215=_0x1c0010;_0x7f1da[_0x100215(0x1ae)][_0x100215(0x17c)](_0x100215(0x1f3));}),_0x7f1da;},_0x417209[_0x295be3(0x17d)]=function(_0x29a591){const _0x4aecf6=_0x295be3;return!(!this[_0x4aecf6(0x177)](_0x4aecf6(0x1d8))||!_0x29a591[_0x4aecf6(0x177)](_0x4aecf6(0x1d8))||this[_0x4aecf6(0x1c6)](_0x4aecf6(0x16e))!=_0x29a591[_0x4aecf6(0x1c6)](_0x4aecf6(0x16e)));},_0x417209;}(_0x9f26ce,_0x4677c8,_0x109c4b);}(_0x613f51,_0x391de9,_0x31fdf4,_0x2db259)}),_0x2db259[_0x438185(0x1ea)][_0x438185(0x1d9)](_0x438185(0x1f5))[_0x438185(0x1c3)]({'model':_0x438185(0x1e8),'view':_0x16f07c=>function(_0x484e22,_0x19450f){const _0xfb28b4=_0x438185,_0xd653df=_0x484e22[_0xfb28b4(0x1d0)][_0xfb28b4(0x1a2)](':')[0x2];if(_0xd653df===_0x19450f[_0xfb28b4(0x1f0)])return null;const _0x3bb5cc=_0x19450f[_0xfb28b4(0x17b)](_0xd653df);if(!_0x3bb5cc)return{'id':_0xd653df,'classes':[]};return{'id':_0xd653df,'classes':[_0xfb28b4(0x182),_0x3bb5cc[_0xfb28b4(0x1c7)][_0xfb28b4(0x1bd)]()],'attributes':{'data-session-id':_0xd653df},'priority':0x7d0+_0x3bb5cc[_0xfb28b4(0x1d6)]};}(_0x16f07c,_0x31fdf4)}),function(_0x61ed4d){const _0x525eb0=_0x438185,_0x4b74d2=_0x61ed4d[_0x525eb0(0x1ab)],_0x2790e5=new Map(),_0x19ccd8=_0x61ed4d[_0x525eb0(0x1c0)][_0x525eb0(0x1a6)](_0x29d988);_0x4b74d2[_0x525eb0(0x1df)]['on'](_0x525eb0(0x1ac),(_0x359622,_0x421bf1,_0x4e977e,_0x5cc33d)=>{const _0x91ce56=_0x525eb0;if(!_0x5cc33d&&_0x2790e5[_0x91ce56(0x1a6)](_0x421bf1[_0x91ce56(0x1c5)]))return _0x2790e5[_0x91ce56(0x1a6)](_0x421bf1[_0x91ce56(0x1c5)])[_0x91ce56(0x1a1)](),void _0x2790e5[_0x91ce56(0x1b6)](_0x421bf1[_0x91ce56(0x1c5)]);const _0x5c072e=_0x421bf1[_0x91ce56(0x1c5)][_0x91ce56(0x1a2)](':')[0x2];if(_0x5c072e===_0x19ccd8[_0x91ce56(0x1f0)])return;const _0x1230b3=_0x91ce56(0x186)+_0x5c072e;_0x4b74d2[_0x91ce56(0x1df)][_0x91ce56(0x1cf)](_0x1230b3)&&_0x61ed4d[_0x91ce56(0x1f8)][_0x91ce56(0x1f7)](_0x1230b3),_0x421bf1['on'](_0x91ce56(0x175),(_0x65b322,_0x3d6168,_0x2d29b2)=>{const _0xac53c9=_0x91ce56;if(_0xac53c9(0x1b2)!=_0x3d6168[_0xac53c9(0x1e9)][_0xac53c9(0x18a)]&&_0xac53c9(0x1b2)==_0x421bf1[_0xac53c9(0x1ec)]()[_0xac53c9(0x1e9)][_0xac53c9(0x18a)]&&!_0x2790e5[_0xac53c9(0x1cf)](_0x421bf1[_0xac53c9(0x1c5)])){const _0x2136a9=_0x4b74d2[_0xac53c9(0x1c9)][_0xac53c9(0x187)](_0x2d29b2[_0xac53c9(0x178)]);if(_0x2136a9){const _0x2b5ef9=_0x5ad2f2[_0xac53c9(0x19b)](_0x2136a9);_0x2790e5[_0xac53c9(0x194)](_0x421bf1[_0xac53c9(0x1c5)],_0x2b5ef9),_0x2b5ef9['on'](_0xac53c9(0x175),(_0x267d7e,_0x6b705e,_0x342ead)=>{const _0x534412=_0xac53c9;if(_0x534412(0x1b2)==_0x2b5ef9[_0x534412(0x1e9)][_0x534412(0x18a)]){const _0x42e4b9=_0x4b74d2[_0x534412(0x1c9)][_0x534412(0x187)](_0x342ead[_0x534412(0x178)]);_0x42e4b9?(_0x2b5ef9[_0x534412(0x1a3)]=_0x42e4b9[_0x534412(0x1a3)],_0x2b5ef9[_0x534412(0x1ed)]=_0x42e4b9[_0x534412(0x1ed)]):(_0x2790e5[_0x534412(0x1b6)](_0x421bf1[_0x534412(0x1c5)]),_0x2b5ef9[_0x534412(0x1a1)]());}});}}});}),_0x4b74d2[_0x525eb0(0x1af)]['on'](_0x525eb0(0x1ce),()=>{const _0x3899b5=_0x525eb0;_0x2790e5[_0x3899b5(0x18e)]>0x0&&_0x4b74d2[_0x3899b5(0x1a5)]({'isUndoable':!0x1},_0x237021=>{const _0x5c774b=_0x3899b5;for(const [_0x2ce4a2,_0x13d3aa]of _0x2790e5)_0x5c774b(0x1b2)==_0x4b74d2[_0x5c774b(0x1df)][_0x5c774b(0x1a6)](_0x2ce4a2)[_0x5c774b(0x1ec)]()[_0x5c774b(0x1e9)][_0x5c774b(0x18a)]&&(Q(_0x2ce4a2[_0x5c774b(0x1a2)](':')[0x2],_0x13d3aa[_0x5c774b(0x1d3)](),_0x4b74d2,_0x237021),_0x13d3aa[_0x5c774b(0x1a1)]());_0x2790e5[_0x5c774b(0x1b4)]();});});}(_0x2db259),this[_0x438185(0x1e6)][_0x438185(0x199)](_0x30f233[_0x438185(0x1af)],_0x438185(0x1cc),(_0x149adc,{key:_0x2ecb4a})=>{const _0x4195ec=_0x438185;_0x4195ec(0x1a8)===_0x2ecb4a&&function(_0x5ab895){const _0xbfc6d6=_0x4195ec;_0x5ab895[_0xbfc6d6(0x1f8)][_0xbfc6d6(0x17e)][_0xbfc6d6(0x1ce)](_0x33b109=>{const _0x127a22=_0xbfc6d6;for(const _0x24affa of _0x5ab895[_0x127a22(0x1ab)][_0x127a22(0x1df)]){if(!_0x24affa[_0x127a22(0x1c5)][_0x127a22(0x173)](_0x127a22(0x1b0)))continue;const _0x209c37=_0x5ab895[_0x127a22(0x1f8)][_0x127a22(0x1b8)][_0x127a22(0x1be)](_0x24affa[_0x127a22(0x1c5)]);if(_0x209c37){for(const _0x54293a of _0x209c37)_0x33b109[_0x127a22(0x174)](_0x127a22(0x1f3),_0x54293a);}}});}(_0x2db259);},{'useCapture':!0x0});}[_0x42db04(0x1dc)](){const _0x1695c5=_0x42db04,_0xc2269d=this[_0x1695c5(0x189)],_0x38170c=_0xc2269d[_0x1695c5(0x1cd)][_0x1695c5(0x1a6)](_0x1695c5(0x1c1));_0x38170c&&_0xc2269d[_0x1695c5(0x1ab)]['on'](_0x1695c5(0x185),(_0x4cdc71,_0x49ab0a)=>{const _0x431308=_0x1695c5,_0x169169=_0x49ab0a[0x0];if(!_0x169169[_0x431308(0x1b5)])return;if(_0x431308(0x1de)!=_0x169169[_0x431308(0x1a4)]||!_0x169169[_0x431308(0x1c5)][_0x431308(0x173)](_0x431308(0x1e7)))return;const _0x59a817=_0x169169[_0x431308(0x1d2)];_0x38170c[_0x431308(0x1a9)][_0x431308(0x1cf)](_0x59a817)&&(_0x169169[_0x431308(0x188)]=_0x169169[_0x431308(0x1f1)]?_0xc2269d[_0x431308(0x1ab)][_0x431308(0x1a7)](_0x169169[_0x431308(0x1f1)][_0x431308(0x1a3)],_0x169169[_0x431308(0x1f1)][_0x431308(0x1ed)]):null);},{'priority':_0x1695c5(0x198)});}[_0x42db04(0x1c4)](){const _0x16f16d=_0x42db04;return this[_0x16f16d(0x1e6)][_0x16f16d(0x190)](),super[_0x16f16d(0x1c4)]();}[_0x42db04(0x1f6)](){const _0x9ec326=_0x42db04,_0x95a47=this[_0x9ec326(0x189)],_0x42ef68=_0x95a47[_0x9ec326(0x1ab)][_0x9ec326(0x1af)],_0x5709de=_0x95a47[_0x9ec326(0x1c0)][_0x9ec326(0x1a6)](_0x29d988);_0x95a47[_0x9ec326(0x1ab)][_0x9ec326(0x1a5)]({'isUndoable':!0x1},_0x38ed05=>{const _0x2e5641=_0x9ec326,_0xf23ad1=_0x2e5641(0x19a)+_0x5709de[_0x2e5641(0x1f0)],_0x55ad8f=_0x2e5641(0x186)+_0x5709de[_0x2e5641(0x1f0)],_0x6b359e=_0x95a47[_0x2e5641(0x1ab)][_0x2e5641(0x1df)][_0x2e5641(0x1cf)](_0xf23ad1);_0x95a47[_0x2e5641(0x1f8)][_0x2e5641(0x17e)][_0x2e5641(0x16f)]?Q(_0x5709de[_0x2e5641(0x1f0)],_0x42ef68[_0x2e5641(0x191)][_0x2e5641(0x19d)](),_0x95a47[_0x2e5641(0x1ab)],_0x38ed05):_0x6b359e&&(_0x38ed05[_0x2e5641(0x1ad)](_0xf23ad1),_0x38ed05[_0x2e5641(0x1ad)](_0x55ad8f));});}}function Q(_0x1e2b21,_0x3e16a2,_0x4467c8,_0x2f9deb){const _0x69cd6=_0x42db04,_0x2423ff=_0x69cd6(0x19a)+_0x1e2b21,_0x2abd16=_0x69cd6(0x186)+_0x1e2b21,_0x3f9073=_0x3e16a2[_0x69cd6(0x1c8)]();let _0x3b4be1=_0x3e16a2[_0x69cd6(0x1a3)];_0x3f9073&&_0x3f9073['is'](_0x69cd6(0x18d),_0x69cd6(0x1ef))&&(_0x3b4be1=function(_0x2b13c4,_0x55ee53){const _0x2462a2=_0x69cd6;for(const _0x584f05 of _0x2b13c4[_0x2462a2(0x197)]())if(_0x55ee53[_0x2462a2(0x1c9)][_0x2462a2(0x1e1)](_0x584f05,_0x2462a2(0x1d5)))return _0x584f05;}(_0x3e16a2,_0x4467c8),_0x3e16a2=_0x2f9deb[_0x69cd6(0x1a7)](_0x3b4be1));const _0x102a73=_0x2f9deb[_0x69cd6(0x1a7)](_0x3b4be1);_0x4467c8[_0x69cd6(0x1df)][_0x69cd6(0x1cf)](_0x2423ff)?(_0x2f9deb[_0x69cd6(0x1da)](_0x2423ff,{'range':_0x3e16a2}),_0x2f9deb[_0x69cd6(0x1da)](_0x2abd16,{'range':_0x102a73})):(_0x2f9deb[_0x69cd6(0x17a)](_0x2423ff,{'range':_0x3e16a2,'usingOperation':!0x0}),_0x2f9deb[_0x69cd6(0x17a)](_0x2abd16,{'range':_0x102a73,'usingOperation':!0x0}));}
|
|
23
|
+
function _0x9b6f(){const _0x526211=['rootName','markerToHighlight','textContent','init','deletionPosition','user:position','document','getMarkerClass','385YPABmE','mapper','createUIElement','UserMarkers','conversion','applyOperation','outerHTML','getCustomProperty','pluginName','isOfficialPlugin','has','isCollapsed','requires','add','markerToElement','false','contenteditable','render','fromRange','getStart','mouseleave','element','for','get','name','checkChild','innerHTML','toDomElement','editingDowncast','newRange','getSelectionClass','marker','1OQoDPL','oldRange','size','root','24ZcFfgv','afterInit','521290iojyGP','user:','user:range','addEventListener','clear','removeMarker','view','stopListening','ck-user__marker-tooltip','ck-user__selection','plugins','schema','addMarker','removeClass','listenTo','keydown','update:user:range','undo','markers','type','1319130YTOnsK','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','selection','getContainedElement','classList','2734588WfmkoW','model','8481907timeAo','setAttribute','highest','createUserMarkerOperations','setCustomProperty','markerNameToElements','2143778wLyXqL','enqueueChange','ck-user__marker\x20','span','change','editor','nodeAfter','createElement','batch','_domEmitter','set','getUserBySessionId','delete','user:range:','getRange','ck-user__marker_hovered','360MefnNd','destroy','isInline','getAttribute','$graveyard','detach','getPositions','isSimilar','mySessionId','spellcheck','startsWith','user:position:','21069TwTnQG','getNearestSelectionRange','toRange','hasContent','hasDomSelection','start','isLimit','Escape','data-session-id','color','isDocumentOperation','createRange','isPremiumPlugin','userPositionMarker','split','getFirstRange','orderNumber','reconvertMarker','markerRange','1324595gYLSmV','parent','$text','editing','isObject','updateMarker','end','change:range','commands','markerName','tableCell','remove','mouseenter','_createdBatches'];_0x9b6f=function(){return _0x526211;};return _0x9b6f();}const _0x2b700e=_0x472c;(function(_0x13ac02,_0x27196d){const _0x173647=_0x472c,_0x460a0d=_0x13ac02();while(!![]){try{const _0x595df8=-parseInt(_0x173647(0xae))/0x1*(-parseInt(_0x173647(0xd5))/0x2)+parseInt(_0x173647(0xc8))/0x3+parseInt(_0x173647(0xcd))/0x4+parseInt(_0x173647(0x104))/0x5*(-parseInt(_0x173647(0xb2))/0x6)+parseInt(_0x173647(0xcf))/0x7+-parseInt(_0x173647(0xe5))/0x8*(-parseInt(_0x173647(0xf1))/0x9)+parseInt(_0x173647(0xb4))/0xa*(-parseInt(_0x173647(0x8e))/0xb);if(_0x595df8===_0x27196d)break;else _0x460a0d['push'](_0x460a0d['shift']());}catch(_0x4d2cfb){_0x460a0d['push'](_0x460a0d['shift']());}}}(_0x9b6f,0x99585));import{Plugin as _0x590c42}from'ckeditor5/src/core.js';import{global as _0x1d655e,DomEmitterMixin as _0x536f00}from'ckeditor5/src/utils.js';function _0x472c(_0x216691,_0x39da33){const _0x9b6fd2=_0x9b6f();return _0x472c=function(_0x472c58,_0x26515){_0x472c58=_0x472c58-0x8b;let _0x505397=_0x9b6fd2[_0x472c58];return _0x505397;},_0x472c(_0x216691,_0x39da33);}import _0x56ccc4 from'./sessions.js';import{LiveRange as _0x408f4b}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x590c42{constructor(){const _0x28c6c8=_0x472c;super(...arguments),this[_0x28c6c8(0xde)]=new(_0x536f00())();}static get[_0x2b700e(0x9a)](){return[_0x56ccc4];}static get[_0x2b700e(0x96)](){const _0x31f6fc=_0x2b700e;return _0x31f6fc(0x91);}static get[_0x2b700e(0x97)](){return!0x0;}static get[_0x2b700e(0xfd)](){return!0x0;}[_0x2b700e(0x115)](){const _0x3dfce6=_0x2b700e,_0x58a88c=this[_0x3dfce6(0xda)],_0x3477e7=_0x58a88c[_0x3dfce6(0xbe)][_0x3dfce6(0xa5)](_0x56ccc4);_0x58a88c[_0x3dfce6(0x92)][_0x3dfce6(0xa4)](_0x3dfce6(0xaa))[_0x3dfce6(0x9c)]({'model':_0x3dfce6(0x8b),'view':(_0x13ea74,{writer:_0x1db9a0})=>function(_0x58e29f,_0x4d6654,_0x5b4559,_0x507d57){const _0xe11c5=_0x3dfce6,_0x572031=_0x58e29f[_0xe11c5(0x10d)][_0xe11c5(0xff)](':')[0x2],_0x14c74b=_0x5b4559[_0xe11c5(0xe0)](_0x572031);if(!_0x14c74b||_0x572031===_0x5b4559[_0xe11c5(0xed)])return;if(!_0x507d57[_0xe11c5(0xce)][_0xe11c5(0xbf)][_0xe11c5(0xa7)](_0x58e29f[_0xe11c5(0x103)][_0xe11c5(0xf6)],_0xe11c5(0x106)))return;const _0x1a75fe={'class':_0xe11c5(0xd7)+_0x14c74b[_0xe11c5(0xfa)][_0xe11c5(0x8d)](),'data-name':_0x14c74b[_0xe11c5(0xa6)],'data-session-id':_0x572031},_0x204e77=_0x507d57[_0xe11c5(0xce)][_0xe11c5(0xc6)][_0xe11c5(0xa5)](_0x58e29f[_0xe11c5(0x10d)]),_0x4bdfb5=_0x204e77[_0xe11c5(0xa1)](),_0x884a94=_0x4bdfb5[_0xe11c5(0xdb)],_0x4a10e9=_0x507d57[_0xe11c5(0xce)][_0xe11c5(0xbf)];if(_0x884a94&&_0x4a10e9[_0xe11c5(0x108)](_0x884a94)&&_0x4a10e9[_0xe11c5(0xe7)](_0x884a94)&&!_0x507d57[_0xe11c5(0xce)][_0xe11c5(0xc6)][_0xe11c5(0xa5)](_0xe11c5(0xe2)+_0x572031)[_0xe11c5(0xe3)]()[_0xe11c5(0x99)])return;const _0x183078=_0x4bdfb5[_0xe11c5(0x105)];return _0x507d57[_0xe11c5(0xce)][_0xe11c5(0xbf)][_0xe11c5(0xf7)](_0x183078)&&!_0x507d57[_0xe11c5(0xce)][_0xe11c5(0xf4)](_0x183078)&&(_0x1a75fe[_0xe11c5(0x9e)]=!0x1),function(_0x1ede86,_0x3fc6ee,_0x2600d1){const _0x5bef5f=_0xe11c5,_0x4ecda4=_0x1ede86[_0x5bef5f(0x90)](_0x5bef5f(0xd8),_0x3fc6ee);return _0x1ede86[_0x5bef5f(0xd3)](_0x5bef5f(0xfe),!0x0,_0x4ecda4),_0x4ecda4[_0x5bef5f(0x9f)]=function(_0x5bcc71){const _0x466834=_0x5bef5f,_0x2e10cd=this[_0x466834(0xa9)](_0x5bcc71),_0x587159=document[_0x466834(0xdc)](_0x466834(0xd8));return _0x587159[_0x466834(0xcc)][_0x466834(0x9b)](_0x466834(0xbc)),_0x587159[_0x466834(0xd0)](_0x466834(0x9e),_0x466834(0x9d)),_0x587159[_0x466834(0xd0)](_0x466834(0xee),_0x466834(0x9d)),_0x587159[_0x466834(0x114)]=_0x2600d1[_0x466834(0xa6)],_0x2e10cd[_0x466834(0xa8)]=_0x466834(0xc9)+_0x587159[_0x466834(0x94)]+'',_0x2e10cd[_0x466834(0xb7)](_0x466834(0x110),()=>{const _0x2e6f8f=_0x466834;_0x2e10cd[_0x2e6f8f(0xcc)][_0x2e6f8f(0x9b)](_0x2e6f8f(0xe4));}),_0x2e10cd[_0x466834(0xb7)](_0x466834(0xa2),()=>{const _0x23743a=_0x466834;_0x2e10cd[_0x23743a(0xcc)][_0x23743a(0x10f)](_0x23743a(0xe4));}),_0x2e10cd;},_0x4ecda4[_0x5bef5f(0xec)]=function(_0x121cca){const _0x42829f=_0x5bef5f;return!(!this[_0x42829f(0x95)](_0x42829f(0xfe))||!_0x121cca[_0x42829f(0x95)](_0x42829f(0xfe))||this[_0x42829f(0xe8)](_0x42829f(0xf9))!=_0x121cca[_0x42829f(0xe8)](_0x42829f(0xf9)));},_0x4ecda4;}(_0x4d6654,_0x1a75fe,_0x14c74b);}(_0x13ea74,_0x1db9a0,_0x3477e7,_0x58a88c)}),_0x58a88c[_0x3dfce6(0x92)][_0x3dfce6(0xa4)](_0x3dfce6(0xaa))[_0x3dfce6(0x113)]({'model':_0x3dfce6(0xb6),'view':_0x483d35=>function(_0x2c3fdc,_0x4c33f8){const _0x340677=_0x3dfce6,_0x2ab5bc=_0x2c3fdc[_0x340677(0x10d)][_0x340677(0xff)](':')[0x2];if(_0x2ab5bc===_0x4c33f8[_0x340677(0xed)])return null;const _0x3bd798=_0x4c33f8[_0x340677(0xe0)](_0x2ab5bc);if(!_0x3bd798)return{'id':_0x2ab5bc,'classes':[]};return{'id':_0x2ab5bc,'classes':[_0x340677(0xbd),_0x3bd798[_0x340677(0xfa)][_0x340677(0xac)]()],'attributes':{'data-session-id':_0x2ab5bc},'priority':0x7d0+_0x3bd798[_0x340677(0x101)]};}(_0x483d35,_0x3477e7)}),function(_0x294b39){const _0x78194a=_0x3dfce6,_0xb934bf=_0x294b39[_0x78194a(0xce)],_0x44d4c8=new Map(),_0x4772cf=_0x294b39[_0x78194a(0xbe)][_0x78194a(0xa5)](_0x56ccc4);_0xb934bf[_0x78194a(0xc6)]['on'](_0x78194a(0xc4),(_0x3b306d,_0xb4312d,_0x498aed,_0x27b1d8)=>{const _0x3c086f=_0x78194a;if(!_0x27b1d8&&_0x44d4c8[_0x3c086f(0xa5)](_0xb4312d[_0x3c086f(0xa6)]))return _0x44d4c8[_0x3c086f(0xa5)](_0xb4312d[_0x3c086f(0xa6)])[_0x3c086f(0xea)](),void _0x44d4c8[_0x3c086f(0xe1)](_0xb4312d[_0x3c086f(0xa6)]);const _0x1d3d0b=_0xb4312d[_0x3c086f(0xa6)][_0x3c086f(0xff)](':')[0x2];if(_0x1d3d0b===_0x4772cf[_0x3c086f(0xed)])return;const _0x4a290a=_0x3c086f(0xf0)+_0x1d3d0b;_0xb934bf[_0x3c086f(0xc6)][_0x3c086f(0x98)](_0x4a290a)&&_0x294b39[_0x3c086f(0x107)][_0x3c086f(0x102)](_0x4a290a),_0xb4312d['on'](_0x3c086f(0x10b),(_0x325352,_0x5786a9,_0x11ecb5)=>{const _0x2f68a1=_0x3c086f;if(_0x2f68a1(0xe9)!=_0x5786a9[_0x2f68a1(0xb1)][_0x2f68a1(0x112)]&&_0x2f68a1(0xe9)==_0xb4312d[_0x2f68a1(0xe3)]()[_0x2f68a1(0xb1)][_0x2f68a1(0x112)]&&!_0x44d4c8[_0x2f68a1(0x98)](_0xb4312d[_0x2f68a1(0xa6)])){const _0x3f712f=_0xb934bf[_0x2f68a1(0xbf)][_0x2f68a1(0xf2)](_0x11ecb5[_0x2f68a1(0x116)]);if(_0x3f712f){const _0x56fe32=_0x408f4b[_0x2f68a1(0xa0)](_0x3f712f);_0x44d4c8[_0x2f68a1(0xdf)](_0xb4312d[_0x2f68a1(0xa6)],_0x56fe32),_0x56fe32['on'](_0x2f68a1(0x10b),(_0xb2fd2c,_0x100495,_0x28158c)=>{const _0x3f8680=_0x2f68a1;if(_0x3f8680(0xe9)==_0x56fe32[_0x3f8680(0xb1)][_0x3f8680(0x112)]){const _0x3007ac=_0xb934bf[_0x3f8680(0xbf)][_0x3f8680(0xf2)](_0x28158c[_0x3f8680(0x116)]);_0x3007ac?(_0x56fe32[_0x3f8680(0xf6)]=_0x3007ac[_0x3f8680(0xf6)],_0x56fe32[_0x3f8680(0x10a)]=_0x3007ac[_0x3f8680(0x10a)]):(_0x44d4c8[_0x3f8680(0xe1)](_0xb4312d[_0x3f8680(0xa6)]),_0x56fe32[_0x3f8680(0xea)]());}});}}});}),_0xb934bf[_0x78194a(0x8c)]['on'](_0x78194a(0xd9),()=>{const _0x34280b=_0x78194a;_0x44d4c8[_0x34280b(0xb0)]>0x0&&_0xb934bf[_0x34280b(0xd6)]({'isUndoable':!0x1},_0x4425cd=>{const _0x5d3124=_0x34280b;for(const [_0x452fcc,_0x4aaf41]of _0x44d4c8)_0x5d3124(0xe9)==_0xb934bf[_0x5d3124(0xc6)][_0x5d3124(0xa5)](_0x452fcc)[_0x5d3124(0xe3)]()[_0x5d3124(0xb1)][_0x5d3124(0x112)]&&(re(_0x452fcc[_0x5d3124(0xff)](':')[0x2],_0x4aaf41[_0x5d3124(0xf3)](),_0xb934bf,_0x4425cd),_0x4aaf41[_0x5d3124(0xea)]());_0x44d4c8[_0x5d3124(0xb8)]();});});}(_0x58a88c),this[_0x3dfce6(0xde)][_0x3dfce6(0xc2)](_0x1d655e[_0x3dfce6(0x8c)],_0x3dfce6(0xc3),(_0x42fbc6,{key:_0x428552})=>{const _0x47f10a=_0x3dfce6;_0x47f10a(0xf8)===_0x428552&&function(_0x5b4764){const _0x45cf98=_0x47f10a;_0x5b4764[_0x45cf98(0x107)][_0x45cf98(0xba)][_0x45cf98(0xd9)](_0x2efdcf=>{const _0x3d9034=_0x45cf98;for(const _0x2b0c7b of _0x5b4764[_0x3d9034(0xce)][_0x3d9034(0xc6)]){if(!_0x2b0c7b[_0x3d9034(0xa6)][_0x3d9034(0xef)](_0x3d9034(0x8b)))continue;const _0x49ec4d=_0x5b4764[_0x3d9034(0x107)][_0x3d9034(0x8f)][_0x3d9034(0xd4)](_0x2b0c7b[_0x3d9034(0xa6)]);if(_0x49ec4d){for(const _0xd616da of _0x49ec4d)_0x2efdcf[_0x3d9034(0xc1)](_0x3d9034(0xe4),_0xd616da);}}});}(_0x58a88c);},{'useCapture':!0x0});}[_0x2b700e(0xb3)](){const _0x3fe7ae=_0x2b700e,_0xf1e1fc=this[_0x3fe7ae(0xda)],_0x9a098f=_0xf1e1fc[_0x3fe7ae(0x10c)][_0x3fe7ae(0xa5)](_0x3fe7ae(0xc5));_0x9a098f&&_0xf1e1fc[_0x3fe7ae(0xce)]['on'](_0x3fe7ae(0x93),(_0xf4e8ce,_0x523a4c)=>{const _0x441e80=_0x3fe7ae,_0x2aa2a4=_0x523a4c[0x0];if(!_0x2aa2a4[_0x441e80(0xfb)])return;if(_0x441e80(0xad)!=_0x2aa2a4[_0x441e80(0xc7)]||!_0x2aa2a4[_0x441e80(0xa6)][_0x441e80(0xef)](_0x441e80(0xb5)))return;const _0x488ea9=_0x2aa2a4[_0x441e80(0xdd)];_0x9a098f[_0x441e80(0x111)][_0x441e80(0x98)](_0x488ea9)&&(_0x2aa2a4[_0x441e80(0xab)]=_0x2aa2a4[_0x441e80(0xaf)]?_0xf1e1fc[_0x441e80(0xce)][_0x441e80(0xfc)](_0x2aa2a4[_0x441e80(0xaf)][_0x441e80(0xf6)],_0x2aa2a4[_0x441e80(0xaf)][_0x441e80(0x10a)]):null);},{'priority':_0x3fe7ae(0xd1)});}[_0x2b700e(0xe6)](){const _0x552b13=_0x2b700e;return this[_0x552b13(0xde)][_0x552b13(0xbb)](),super[_0x552b13(0xe6)]();}[_0x2b700e(0xd2)](){const _0x5f3d1d=_0x2b700e,_0x1db70f=this[_0x5f3d1d(0xda)],_0x28aea8=_0x1db70f[_0x5f3d1d(0xce)][_0x5f3d1d(0x8c)],_0x5e7bea=_0x1db70f[_0x5f3d1d(0xbe)][_0x5f3d1d(0xa5)](_0x56ccc4);_0x1db70f[_0x5f3d1d(0xce)][_0x5f3d1d(0xd6)]({'isUndoable':!0x1},_0x1c4126=>{const _0x3a7681=_0x5f3d1d,_0x7e565e=_0x3a7681(0xe2)+_0x5e7bea[_0x3a7681(0xed)],_0xc98002=_0x3a7681(0xf0)+_0x5e7bea[_0x3a7681(0xed)],_0xb31204=_0x1db70f[_0x3a7681(0xce)][_0x3a7681(0xc6)][_0x3a7681(0x98)](_0x7e565e);_0x1db70f[_0x3a7681(0x107)][_0x3a7681(0xba)][_0x3a7681(0xf5)]?re(_0x5e7bea[_0x3a7681(0xed)],_0x28aea8[_0x3a7681(0xca)][_0x3a7681(0x100)](),_0x1db70f[_0x3a7681(0xce)],_0x1c4126):_0xb31204&&(_0x1c4126[_0x3a7681(0xb9)](_0x7e565e),_0x1c4126[_0x3a7681(0xb9)](_0xc98002));});}}function re(_0x383054,_0x544bdc,_0x4401c3,_0x3231d5){const _0x4b59c6=_0x2b700e,_0x59e807=_0x4b59c6(0xe2)+_0x383054,_0x1e23e3=_0x4b59c6(0xf0)+_0x383054,_0x57df43=_0x544bdc[_0x4b59c6(0xcb)]();let _0x25da3b=_0x544bdc[_0x4b59c6(0xf6)];_0x57df43&&_0x57df43['is'](_0x4b59c6(0xa3),_0x4b59c6(0x10e))&&(_0x25da3b=function(_0x46f9a1,_0x381a13){const _0x653fbb=_0x4b59c6;for(const _0x5925a4 of _0x46f9a1[_0x653fbb(0xeb)]())if(_0x381a13[_0x653fbb(0xbf)][_0x653fbb(0xa7)](_0x5925a4,_0x653fbb(0x106)))return _0x5925a4;}(_0x544bdc,_0x4401c3),_0x544bdc=_0x3231d5[_0x4b59c6(0xfc)](_0x25da3b));const _0x5160dc=_0x3231d5[_0x4b59c6(0xfc)](_0x25da3b);_0x4401c3[_0x4b59c6(0xc6)][_0x4b59c6(0x98)](_0x59e807)?(_0x3231d5[_0x4b59c6(0x109)](_0x59e807,{'range':_0x544bdc}),_0x3231d5[_0x4b59c6(0x109)](_0x1e23e3,{'range':_0x5160dc})):(_0x3231d5[_0x4b59c6(0xc0)](_0x59e807,{'range':_0x544bdc,'usingOperation':!0x0}),_0x3231d5[_0x4b59c6(0xc0)](_0x1e23e3,{'range':_0x5160dc,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x97b7a2=_0x8304;(function(_0x26b273,_0x2b8bb1){const _0x51e526=_0x8304,_0x258187=_0x26b273();while(!![]){try{const _0x35c29e=-parseInt(_0x51e526(0x1a8))/0x1+parseInt(_0x51e526(0x1be))/0x2+parseInt(_0x51e526(0x1ab))/0x3+parseInt(_0x51e526(0x1c3))/0x4+parseInt(_0x51e526(0x1c1))/0x5+-parseInt(_0x51e526(0x1b7))/0x6+-parseInt(_0x51e526(0x1a7))/0x7;if(_0x35c29e===_0x2b8bb1)break;else _0x258187['push'](_0x258187['shift']());}catch(_0x51b5a1){_0x258187['push'](_0x258187['shift']());}}}(_0xe493,0xd9a71));import{ContextPlugin as _0x493688}from'ckeditor5/src/core.js';function _0xe493(){const _0x4046d6=['websocketgateway-missing-token','4757650vnhjkx','CONNECTING','4239396smRBVp','create','CloudServices','Connected\x20users\x20limit\x20exceeded','bind','cloudServices.connectionTimeout','context','stopListening','real-time-collaboration','catch','webSocketUrl','state','get','cloudServices.requestTimeout','_reconnectionStack','code','cloudservices-reconnection-error','define','isPremiumPlugin','from','token','_shouldPluginsReconnect','initialReconnectionInterval','function','connection','plugins','showWarning','delete','connected','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.','reconnect','WebSocketGateway','set','websocketgateway-missing-websocket-url','change:me','has','removeFromReconnectionStack','CONNECTED','listenTo','error','_isBrowserOffline','websocketgateway-invalid-plugin-interface','pluginName','addToReconnectionStack','6345955ioZeHv','591891JQpqqE','DISCONNECTED','websocketgateway-plugin-already-registered','1744323iatKia','cloudservices-init','config','all','requires','init','_domEmitter','connect','isOfficialPlugin','online','disconnect','constructor','7951512akLqAU','add','then','destroy','limitExceeded','_reconnect','offline','2244786ZBsSRS','isInReconnectionStack'];_0xe493=function(){return _0x4046d6;};return _0xe493();}import{DomEmitterMixin as _0x3ce611,CKEditorError as _0x259942}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0xf29d21,WEB_SOCKET_GATEWAY_STATES as _0x192e67}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x46b8f4}from'ckeditor5/src/ui.js';function _0x8304(_0x2f99ec,_0x251cfa){const _0xe493c9=_0xe493();return _0x8304=function(_0x830475,_0x21c154){_0x830475=_0x830475-0x1a1;let _0x340fe0=_0xe493c9[_0x830475];return _0x340fe0;},_0x8304(_0x2f99ec,_0x251cfa);}class c extends _0x493688{static get[_0x97b7a2(0x1af)](){const _0x3297d6=_0x97b7a2;return[_0x3297d6(0x1c5),_0x46b8f4];}static get[_0x97b7a2(0x1a5)](){const _0x50c88e=_0x97b7a2;return _0x50c88e(0x1e2);}static get[_0x97b7a2(0x1b3)](){return!0x0;}static get[_0x97b7a2(0x1d5)](){return!0x0;}constructor(_0xc50196){const _0x2a868e=_0x97b7a2;super(_0xc50196),this[_0x2a868e(0x1e3)](_0x2a868e(0x1ce),_0x192e67[_0x2a868e(0x1e8)]),this[_0x2a868e(0x1e3)](_0x2a868e(0x1a3),!0x1),this[_0x2a868e(0x1d1)]=new Set(),this[_0x2a868e(0x1d8)]=!0x1,this[_0x2a868e(0x1b1)]=Object[_0x2a868e(0x1c4)](_0x3ce611);}[_0x97b7a2(0x1b0)](){const _0xbc02ae=_0x97b7a2,_0x184c8c=this[_0xbc02ae(0x1c9)],_0x33e136=_0x184c8c[_0xbc02ae(0x1dc)][_0xbc02ae(0x1cf)](_0xbc02ae(0x1c5)),_0x51873d=_0x184c8c[_0xbc02ae(0x1dc)][_0xbc02ae(0x1cf)](_0x46b8f4);if(!_0x33e136[_0xbc02ae(0x1d7)])throw new _0x259942(_0xbc02ae(0x1c0),this);if(!_0x33e136[_0xbc02ae(0x1cd)])throw new _0x259942(_0xbc02ae(0x1e4),this);return this[_0xbc02ae(0x1b1)][_0xbc02ae(0x1a1)](window,_0xbc02ae(0x1bd),()=>this[_0xbc02ae(0x1a3)]=!0x0),this[_0xbc02ae(0x1b1)][_0xbc02ae(0x1a1)](window,_0xbc02ae(0x1b4),()=>this[_0xbc02ae(0x1a3)]=!0x1),this[_0xbc02ae(0x1c9)][_0xbc02ae(0x1ad)][_0xbc02ae(0x1d4)](_0xbc02ae(0x1c8),0xa),this[_0xbc02ae(0x1c9)][_0xbc02ae(0x1ad)][_0xbc02ae(0x1d4)](_0xbc02ae(0x1d0),0x14),c[_0xbc02ae(0x1e2)][_0xbc02ae(0x1b2)](_0x33e136[_0xbc02ae(0x1d7)],_0x33e136[_0xbc02ae(0x1cd)],{'timeout':0x3e8*this[_0xbc02ae(0x1c9)][_0xbc02ae(0x1ad)][_0xbc02ae(0x1cf)](_0xbc02ae(0x1c8)),'requestTimeout':0x3e8*this[_0xbc02ae(0x1c9)][_0xbc02ae(0x1ad)][_0xbc02ae(0x1cf)](_0xbc02ae(0x1d0))})[_0xbc02ae(0x1b9)](_0x54c939=>{const _0x581499=_0xbc02ae;if(this[_0x581499(0x1db)]=_0x54c939,this[_0x581499(0x1c7)](_0x581499(0x1ce))['to'](_0x54c939,_0x581499(0x1ce),this,_0x581499(0x1a3),(_0x17fa02,_0x17a0c2)=>(_0x581499(0x1df)!==_0x17fa02&&(this[_0x581499(0x1d8)]=!0x0),_0x17a0c2||_0x17fa02!==_0x192e67[_0x581499(0x1e8)]?_0x192e67[_0x581499(0x1a9)]:this[_0x581499(0x1ce)]==_0x192e67[_0x581499(0x1a9)]&&this[_0x581499(0x1d8)]?(this[_0x581499(0x1d8)]=!0x1,this[_0x581499(0x1bc)](),_0x192e67[_0x581499(0x1c2)]):_0x192e67[_0x581499(0x1e8)])),this[_0x581499(0x1db)]['on'](_0x581499(0x1a2),(_0x3c253c,_0x597362)=>{const _0xe2ea4e=_0x581499;if(_0xe2ea4e(0x1bb)!==_0x597362[_0xe2ea4e(0x1d2)])throw console[_0xe2ea4e(0x1a2)](_0x597362),new _0x259942(_0xe2ea4e(0x1ac),null,{'originalError':_0x597362});_0x51873d[_0xe2ea4e(0x1dd)](_0xe2ea4e(0x1e0),{'title':_0xe2ea4e(0x1c6),'namespace':_0xe2ea4e(0x1cb)});}),!_0x54c939['me'])return new Promise(_0x190542=>_0x54c939['on'](_0x581499(0x1e5),_0x190542));})[_0xbc02ae(0x1cc)](_0x4cb5f3=>{const _0x46a410=_0xbc02ae;throw console[_0x46a410(0x1a2)](_0x4cb5f3),new _0x259942(_0x46a410(0x1ac),null,{'originalError':_0x4cb5f3});});}[_0x97b7a2(0x1a6)](_0x4f7413){const _0x11b235=_0x97b7a2;if(_0x11b235(0x1da)!=typeof _0x4f7413[_0x11b235(0x1e1)])throw new _0x259942(_0x11b235(0x1a4),this);if(this[_0x11b235(0x1bf)](_0x4f7413))throw new _0x259942(_0x11b235(0x1aa),this,{'name':_0x4f7413[_0x11b235(0x1b6)][_0x11b235(0x1a5)]});this[_0x11b235(0x1d1)][_0x11b235(0x1b8)](_0x4f7413);}[_0x97b7a2(0x1e7)](_0x3a99d8){const _0x292fcd=_0x97b7a2;this[_0x292fcd(0x1d1)][_0x292fcd(0x1de)](_0x3a99d8);}[_0x97b7a2(0x1bf)](_0x143a06){const _0x4a2524=_0x97b7a2;return this[_0x4a2524(0x1d1)][_0x4a2524(0x1e6)](_0x143a06);}[_0x97b7a2(0x1bc)](){const _0x1f41b4=_0x97b7a2;return this[_0x1f41b4(0x1db)][_0x1f41b4(0x1e1)]()[_0x1f41b4(0x1b9)](()=>Promise[_0x1f41b4(0x1ae)](Array[_0x1f41b4(0x1d6)](this[_0x1f41b4(0x1d1)],_0x48ec8f=>_0x48ec8f[_0x1f41b4(0x1e1)]())))[_0x1f41b4(0x1b9)](()=>this[_0x1f41b4(0x1ce)]=_0x192e67[_0x1f41b4(0x1e8)])[_0x1f41b4(0x1cc)](_0x5102e8=>{const _0x43624e=_0x1f41b4;throw console[_0x43624e(0x1a2)](_0x5102e8),new _0x259942(_0x43624e(0x1d3),this[_0x43624e(0x1c9)]);});}[_0x97b7a2(0x1b5)](){const _0xe42e79=_0x97b7a2;this[_0xe42e79(0x1db)]&&this[_0xe42e79(0x1db)][_0xe42e79(0x1b5)](),this[_0xe42e79(0x1ce)]=_0x192e67[_0xe42e79(0x1a9)],this[_0xe42e79(0x1b1)][_0xe42e79(0x1ca)]();}[_0x97b7a2(0x1ba)](){const _0x20f6cc=_0x97b7a2;this[_0x20f6cc(0x1b5)](),super[_0x20f6cc(0x1ba)]();}}c[_0x97b7a2(0x1e2)]=_0xf29d21,c[_0x97b7a2(0x1d9)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3855(_0x4ab9a6,_0x4517e4){var _0x3821ed=_0x3821();return _0x3855=function(_0x3855eb,_0x4a4b4f){_0x3855eb=_0x3855eb-0x76;var _0x4a0a92=_0x3821ed[_0x3855eb];return _0x4a0a92;},_0x3855(_0x4ab9a6,_0x4517e4);}var _0x2bba01=_0x3855;function _0x3821(){var _0x524b3e=['RealTimeCollaborativeEditing','isPremiumPlugin','6001300fwObJX','pluginName','1003290HJKMDt','30676352xbsLew','8758878TbktiZ','isOfficialPlugin','requires','4968246bvaaaM','1568221QilTnE','8646885OsAaGE'];_0x3821=function(){return _0x524b3e;};return _0x3821();}(function(_0x484d36,_0x4bc879){var _0x10947d=_0x3855,_0x1e63b2=_0x484d36();while(!![]){try{var _0x2a61bf=-parseInt(_0x10947d(0x7c))/0x1+parseInt(_0x10947d(0x76))/0x2+parseInt(_0x10947d(0x7b))/0x3+parseInt(_0x10947d(0x80))/0x4+parseInt(_0x10947d(0x7d))/0x5+parseInt(_0x10947d(0x78))/0x6+-parseInt(_0x10947d(0x77))/0x7;if(_0x2a61bf===_0x4bc879)break;else _0x1e63b2['push'](_0x1e63b2['shift']());}catch(_0x1035b9){_0x1e63b2['push'](_0x1e63b2['shift']());}}}(_0x3821,0xdaead));import{Plugin as _0x21c6c2}from'ckeditor5/src/core.js';import _0x1a8751 from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x21c6c2{static get[_0x2bba01(0x7a)](){return[_0x1a8751];}static get[_0x2bba01(0x81)](){var _0x9fcfae=_0x2bba01;return _0x9fcfae(0x7e);}static get[_0x2bba01(0x79)](){return!0x0;}static get[_0x2bba01(0x7f)](){return!0x0;}}
|