@ckeditor/ckeditor5-real-time-collaboration 44.0.0-alpha.4 → 44.0.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 +9 -9
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1806f3=_0x1103;(function(_0x329ceb,_0x48e0cf){const _0x113263=_0x1103,_0x3cdf4b=_0x329ceb();while(!![]){try{const _0x39b481=-parseInt(_0x113263(0x168))/0x1+-parseInt(_0x113263(0x176))/0x2+parseInt(_0x113263(0x18e))/0x3+-parseInt(_0x113263(0x178))/0x4+-parseInt(_0x113263(0x1a8))/0x5+-parseInt(_0x113263(0x19f))/0x6*(parseInt(_0x113263(0x197))/0x7)+parseInt(_0x113263(0x19a))/0x8;if(_0x39b481===_0x48e0cf)break;else _0x3cdf4b['push'](_0x3cdf4b['shift']());}catch(_0x4aafbc){_0x3cdf4b['push'](_0x3cdf4b['shift']());}}}(_0x48c1,0x4380d));import{Context as _0x4f7f49,ContextPlugin as _0x21389e}from'ckeditor5/src/core.js';import{CKEditorError as _0x1ae589}from'ckeditor5/src/utils.js';import{Users as _0x4e671f}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x6e8079,User as _0x1140ec}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x1662d3 from'../realtimecollaborativeediting/websocketgateway.js';import _0x17dafb from'../realtimecollaborativeediting/sessions.js';class a extends _0x21389e{static get[_0x1806f3(0x1b3)](){const _0x3bda46=_0x1806f3;return[_0x1662d3,_0x3bda46(0x1a5),_0x17dafb,_0x4e671f];}static get[_0x1806f3(0x165)](){const _0x41014f=_0x1806f3;return _0x41014f(0x18f);}static get[_0x1806f3(0x1b0)](){return!0x0;}static get[_0x1806f3(0x160)](){return!0x0;}constructor(_0x3c9088){const _0x44fb2e=_0x1806f3;super(_0x3c9088),this[_0x44fb2e(0x1b9)]=new Map();}async[_0x1806f3(0x186)](){const _0xaa45c7=_0x1806f3,_0x52abfb=this[_0xaa45c7(0x171)],_0x235512=_0x52abfb[_0xaa45c7(0x196)][_0xaa45c7(0x17d)](_0xaa45c7(0x1a5));if(_0x52abfb[_0xaa45c7(0x196)][_0xaa45c7(0x17d)](_0x1662d3)[_0xaa45c7(0x163)](this),_0x235512[_0xaa45c7(0x15e)]={'addCommentThread':async({channelId:_0x267343,threadId:_0x1cdad5,comments:_0x16ba87,resolvedAt:_0x4d9960,resolvedBy:_0xc3b546,context:_0x25d248,attributes:_0x2118d1})=>{const _0x2070c8=_0xaa45c7,_0x488d7b=await this[_0x2070c8(0x17e)](_0x267343)[_0x2070c8(0x1ac)]({'commentThreadId':_0x1cdad5,'comments':_0x16ba87[_0x2070c8(0x195)](_0x5078b7=>function(_0x45544d,_0x149308,_0xd1c153){const _0x55bfce=_0x2070c8;return{'commentThreadId':_0xd1c153,'commentId':_0x45544d[_0x55bfce(0x179)],'userId':_0x45544d[_0x55bfce(0x173)],'content':_0x45544d[_0x55bfce(0x198)],'documentId':_0x149308,'createdAt':_0x45544d[_0x55bfce(0x15f)],'attributes':_0x45544d[_0x55bfce(0x180)]||{}};}(_0x5078b7,_0x267343,_0x1cdad5)),'resolvedAt':_0x4d9960,'resolvedBy':_0xc3b546,'context':_0x25d248,'attributes':_0x2118d1})[_0x2070c8(0x164)](R);return{'threadId':_0x488d7b[_0x2070c8(0x17f)],'comments':_0x488d7b[_0x2070c8(0x187)]};},'getCommentThread':async({channelId:_0x504225,threadId:_0x29d5f7})=>{const _0x152373=_0xaa45c7,_0x446cd7=await this[_0x152373(0x17e)](_0x504225)[_0x152373(0x167)](_0x29d5f7)[_0x152373(0x164)](R);return _0x446cd7[_0x152373(0x18b)]?null:(await this[_0x152373(0x1a0)]([_0x446cd7]),{'threadId':_0x446cd7[_0x152373(0x17f)],'comments':_0x446cd7[_0x152373(0x187)][_0x152373(0x195)](S),'context':_0x446cd7[_0x152373(0x171)],'resolvedAt':_0x446cd7[_0x152373(0x190)],'resolvedBy':_0x446cd7[_0x152373(0x17c)],'attributes':_0x446cd7[_0x152373(0x180)]||{}});},'updateCommentThread':async({channelId:_0x4fc186,threadId:_0x19d1eb,context:_0x4569e7,unlinkedAt:_0x171bd2,attributes:_0x2f5e22})=>this[_0xaa45c7(0x17e)](_0x4fc186)[_0xaa45c7(0x161)]({'commentThreadId':_0x19d1eb,'context':_0x4569e7,'attributes':_0x2f5e22,'unlinkedAt':_0x171bd2})[_0xaa45c7(0x164)](B)[_0xaa45c7(0x164)](R),'resolveCommentThread':async({channelId:_0x38e8d9,threadId:_0x4bf69c})=>{const _0x11bbd6=_0xaa45c7,_0x100cf2=await this[_0x11bbd6(0x17e)](_0x38e8d9)[_0x11bbd6(0x1a2)](_0x4bf69c)[_0x11bbd6(0x164)](B)[_0x11bbd6(0x164)](R);return{'threadId':_0x100cf2[_0x11bbd6(0x17f)],'resolvedAt':_0x100cf2[_0x11bbd6(0x190)],'resolvedBy':_0x100cf2[_0x11bbd6(0x17c)]};},'reopenCommentThread':async({channelId:_0x427b71,threadId:_0x5086a6})=>this[_0xaa45c7(0x17e)](_0x427b71)[_0xaa45c7(0x19e)](_0x5086a6)[_0xaa45c7(0x164)](B)[_0xaa45c7(0x164)](R),'removeCommentThread':({channelId:_0x10dc9f,threadId:_0x587c08})=>this[_0xaa45c7(0x17e)](_0x10dc9f)[_0xaa45c7(0x16e)](_0x587c08)[_0xaa45c7(0x164)](B)[_0xaa45c7(0x164)](R),'addComment':({channelId:_0x2f9b79,threadId:_0x23bdc2,commentId:_0x21d2c7,content:_0x25022d,attributes:_0x412000})=>this[_0xaa45c7(0x17e)](_0x2f9b79)[_0xaa45c7(0x191)](_0x23bdc2,_0x21d2c7,_0x25022d,_0x412000)[_0xaa45c7(0x164)](R),'updateComment':({channelId:_0xed4b07,threadId:_0x59d637,commentId:_0x52e5c7,content:_0x4cb4b6,attributes:_0x268d46})=>this[_0xaa45c7(0x17e)](_0xed4b07)[_0xaa45c7(0x1ba)](_0x59d637,_0x52e5c7,_0x4cb4b6,_0x268d46)[_0xaa45c7(0x164)](B)[_0xaa45c7(0x164)](R),'removeComment':({channelId:_0xc66b8,threadId:_0x380cc6,commentId:_0x351ab5})=>this[_0xaa45c7(0x17e)](_0xc66b8)[_0xaa45c7(0x1b6)](_0x380cc6,_0x351ab5)[_0xaa45c7(0x164)](B)[_0xaa45c7(0x164)](R)},_0x52abfb instanceof _0x4f7f49){const _0x456e1d=_0x52abfb[_0xaa45c7(0x1b2)][_0xaa45c7(0x17d)](_0xaa45c7(0x15a)),_0x34a8c6=_0x52abfb[_0xaa45c7(0x196)][_0xaa45c7(0x17d)](_0x17dafb);await this[_0xaa45c7(0x185)](_0x456e1d);const _0x3c24c2=await this[_0xaa45c7(0x1b9)][_0xaa45c7(0x17d)](_0x456e1d)[_0xaa45c7(0x192)]();this[_0xaa45c7(0x183)](_0x34a8c6,_0xaa45c7(0x162)+_0x456e1d,(_0x35567,{session:_0x2d34f5})=>{const _0x13b951=_0xaa45c7;_0x2d34f5['id']===_0x34a8c6[_0x13b951(0x182)]&&(_0x35567[_0x13b951(0x174)](),this[_0x13b951(0x171)][_0x13b951(0x196)][_0x13b951(0x17d)](_0x13b951(0x1a4))[_0x13b951(0x1a1)](_0x2d34f5[_0x13b951(0x1af)],_0x456e1d));}),_0x34a8c6[_0xaa45c7(0x184)](_0x456e1d,_0x3c24c2);}}async[_0x1806f3(0x185)](_0x2151a1){const _0x174e03=_0x1806f3;if(this[_0x174e03(0x1b9)][_0x174e03(0x18a)](_0x2151a1))throw new _0x1ae589(_0x174e03(0x177),null,{'channelId':_0x2151a1});const _0x46deca=this[_0x174e03(0x171)][_0x174e03(0x196)][_0x174e03(0x17d)](_0x174e03(0x1a5)),_0x386a55=new a[(_0x174e03(0x1b7))](_0x2151a1);this[_0x174e03(0x1b9)][_0x174e03(0x1a7)](_0x2151a1,_0x386a55),this[_0x174e03(0x183)](_0x386a55,_0x174e03(0x158),(_0x45e4ac,_0x42b2ce)=>{const _0x48f96a=_0x174e03,{commentThreadId:_0x383aaa,documentId:_0x29b5b5,context:_0x3ecbc9,attributes:_0x31c706,resolvedAt:_0x57ae15,resolvedBy:_0x40550a,comments:_0xc07673}=_0x42b2ce;_0x46deca[_0x48f96a(0x167)](_0x383aaa)||_0x46deca[_0x48f96a(0x1ac)]({'threadId':_0x383aaa,'channelId':_0x29b5b5,'comments':_0xc07673?_0xc07673[_0x48f96a(0x195)](S):[],'context':_0x3ecbc9,'attributes':_0x31c706,'resolvedAt':_0x57ae15,'resolvedBy':_0x40550a,'isFromAdapter':!0x0});}),this[_0x174e03(0x183)](_0x386a55,_0x174e03(0x194),(_0xe61faf,{commentThreadId:_0x59aae7,documentId:_0x1c57e6,context:_0x5bb548,unlinkedAt:_0x293a11,attributes:_0x5763b5})=>{const _0x59ef4a=_0x174e03;_0x46deca[_0x59ef4a(0x167)](_0x59aae7)&&_0x46deca[_0x59ef4a(0x161)]({'threadId':_0x59aae7,'channelId':_0x1c57e6,'context':_0x5bb548,'unlinkedAt':_0x293a11,'attributes':_0x5763b5,'isFromAdapter':!0x0});}),this[_0x174e03(0x183)](_0x386a55,_0x174e03(0x1a6),(_0x1a6841,{commentThreadId:_0x4546a7,resolvedBy:_0x4257d0,resolvedAt:_0x5ddc86})=>{const _0x363ee2=_0x174e03,_0x3bdddd=_0x46deca[_0x363ee2(0x167)](_0x4546a7);_0x3bdddd&&_0x3bdddd[_0x363ee2(0x199)]({'resolvedBy':_0x4257d0,'resolvedAt':_0x5ddc86,'isFromAdapter':!0x0});}),this[_0x174e03(0x183)](_0x386a55,_0x174e03(0x157),(_0x596b5f,{commentThreadId:_0x5707c5})=>{const _0x5ac890=_0x174e03,_0x5303eb=_0x46deca[_0x5ac890(0x167)](_0x5707c5);_0x5303eb&&_0x5303eb[_0x5ac890(0x166)]({'isFromAdapter':!0x0});}),this[_0x174e03(0x183)](_0x386a55,_0x174e03(0x16b),(_0x5d569c,{commentThreadId:_0x1d7a7d})=>{const _0x5c08bc=_0x174e03,_0x487331=_0x46deca[_0x5c08bc(0x167)](_0x1d7a7d);_0x487331&&_0x487331[_0x5c08bc(0x1ad)]({'isFromAdapter':!0x0});}),this[_0x174e03(0x183)](_0x386a55,_0x174e03(0x16f),(_0x15367c,_0x2d09ec)=>{const _0x31843c=_0x174e03,_0x596c77=_0x2d09ec[_0x31843c(0x17f)],_0x2ffbfa=_0x46deca[_0x31843c(0x167)](_0x596c77);_0x2ffbfa&&_0x2ffbfa[_0x31843c(0x191)]({...S(_0x2d09ec),'isFromAdapter':!0x0});}),this[_0x174e03(0x183)](_0x386a55,_0x174e03(0x1ae),(_0xce93f3,{commentThreadId:_0x2b93fc,commentId:_0x2dcb8e,content:_0x4ae102,attributes:_0x5738e4})=>{const _0x41fd92=_0x174e03,_0x7a7405=_0x46deca[_0x41fd92(0x167)](_0x2b93fc);if(_0x7a7405){const _0x51a57d=_0x7a7405[_0x41fd92(0x1a9)](_0x2dcb8e);_0x51a57d&&_0x51a57d[_0x41fd92(0x169)]({'content':_0x4ae102,'attributes':_0x5738e4,'isFromAdapter':!0x0});}}),this[_0x174e03(0x183)](_0x386a55,_0x174e03(0x175),(_0x30878e,{commentThreadId:_0x420315,commentId:_0x4a47aa})=>{const _0x28b09f=_0x174e03,_0x5a2d6b=_0x46deca[_0x28b09f(0x167)](_0x420315);if(_0x5a2d6b){const _0x565f03=_0x5a2d6b[_0x28b09f(0x1a9)](_0x4a47aa);_0x565f03&&_0x565f03[_0x28b09f(0x1ad)]({'isFromAdapter':!0x0});}}),await this[_0x174e03(0x17b)](_0x2151a1);}[_0x1806f3(0x18c)](){const _0x33395a=_0x1806f3;if(this[_0x33395a(0x171)]instanceof _0x4f7f49){const _0x51753b=this[_0x33395a(0x171)][_0x33395a(0x1b2)][_0x33395a(0x17d)](_0x33395a(0x15a));this[_0x33395a(0x170)](_0x51753b);}}[_0x1806f3(0x170)](_0x29e587){const _0xcb4495=_0x1806f3;if(!this[_0xcb4495(0x1b9)][_0xcb4495(0x18a)](_0x29e587))throw new _0x1ae589(_0xcb4495(0x15b),null,{'channelId':_0x29e587});this[_0xcb4495(0x17e)](_0x29e587)[_0xcb4495(0x16a)](),this[_0xcb4495(0x1b9)][_0xcb4495(0x17a)](_0x29e587);}async[_0x1806f3(0x1b4)](){const _0x4fd455=_0x1806f3;for(const _0x2f9c8e of this[_0x4fd455(0x1b9)][_0x4fd455(0x19c)]())await this[_0x4fd455(0x17b)](_0x2f9c8e);if(this[_0x4fd455(0x171)]instanceof _0x4f7f49){const _0x2bf5da=this[_0x4fd455(0x171)][_0x4fd455(0x1b2)][_0x4fd455(0x17d)](_0x4fd455(0x15a)),_0x1deaad=this[_0x4fd455(0x171)][_0x4fd455(0x196)][_0x4fd455(0x17d)](_0x17dafb);_0x1deaad[_0x4fd455(0x172)](_0x2bf5da);const _0x3be845=await this[_0x4fd455(0x1b9)][_0x4fd455(0x17d)](_0x2bf5da)[_0x4fd455(0x192)]();_0x1deaad[_0x4fd455(0x184)](_0x2bf5da,_0x3be845);}}async[_0x1806f3(0x17b)](_0x1db74f){const _0xab9754=_0x1806f3,{connection:_0x214612}=this[_0xab9754(0x171)][_0xab9754(0x196)][_0xab9754(0x17d)](_0x1662d3),_0x28a457=this[_0xab9754(0x171)][_0xab9754(0x196)][_0xab9754(0x17d)](_0xab9754(0x1a5)),_0xaf0640=this[_0xab9754(0x1b9)][_0xab9754(0x17d)](_0x1db74f),_0x24382a=await _0xaf0640[_0xab9754(0x159)](_0x214612);await this[_0xab9754(0x1a0)](_0x24382a);const _0x45e544=new Set(Array[_0xab9754(0x188)](_0x28a457[_0xab9754(0x19d)]({'channelId':_0x1db74f}),_0x363d7c=>_0x363d7c['id']));for(const _0x2c7206 of _0x24382a)_0x2c7206[_0xab9754(0x18b)]||_0x45e544[_0xab9754(0x17a)](_0x2c7206[_0xab9754(0x17f)]);for(const _0x168903 of _0x45e544)_0x28a457[_0xab9754(0x167)](_0x168903)[_0xab9754(0x1ad)]({'isFromAdapter':!0x0});for(const _0x2fdd72 of _0x24382a){let _0x3ac72e=_0x28a457[_0xab9754(0x167)](_0x2fdd72[_0xab9754(0x17f)]);const {commentThreadId:_0x153e3c,context:_0x3ca10e,attributes:_0x40a0cb,resolvedBy:_0x13a799,resolvedAt:_0x159e15,unlinkedAt:_0x338883,deletedAt:_0x183b77}=_0x2fdd72;if(_0x183b77)continue;_0x3ac72e||(_0x3ac72e=_0x28a457[_0xab9754(0x1ac)]({'channelId':_0x1db74f,'threadId':_0x153e3c,'context':_0x3ca10e,'attributes':_0x40a0cb||{},'resolvedBy':_0x13a799,'resolvedAt':_0x159e15,'unlinkedAt':_0x338883,'isFromAdapter':!0x0}));const _0x581e66=new Set(Array[_0xab9754(0x188)](_0x3ac72e[_0xab9754(0x187)],_0x3a64ca=>_0x3a64ca['id']));for(const _0x53faa4 of _0x2fdd72[_0xab9754(0x187)])_0x581e66[_0xab9754(0x17a)](_0x53faa4[_0xab9754(0x179)]);for(const _0x13a224 of _0x581e66)_0x3ac72e[_0xab9754(0x1a9)](_0x13a224)[_0xab9754(0x1ad)]({'isFromAdapter':!0x0});for(const _0x307225 of _0x2fdd72[_0xab9754(0x187)]){const _0x514a0e=_0x3ac72e[_0xab9754(0x1a9)](_0x307225[_0xab9754(0x179)]);_0x514a0e?_0x514a0e[_0xab9754(0x198)]!==_0x307225[_0xab9754(0x198)]&&_0x514a0e[_0xab9754(0x169)]({'content':_0x307225[_0xab9754(0x198)],'isFromAdapter':!0x0}):_0x3ac72e[_0xab9754(0x191)](Object[_0xab9754(0x1b1)](S(_0x307225),{'isFromAdapter':!0x0}));}}}[_0x1806f3(0x17e)](_0xca55b6){const _0x51e968=_0x1806f3;if(!this[_0x51e968(0x1b9)][_0x51e968(0x18a)](_0xca55b6))throw new _0x1ae589(_0x51e968(0x1aa),null,{'channelId':_0xca55b6});return this[_0x51e968(0x1b9)][_0x51e968(0x17d)](_0xca55b6);}async[_0x1806f3(0x1a0)](_0x46678d){const _0x3c8787=_0x1806f3,_0x154e06=this[_0x3c8787(0x171)][_0x3c8787(0x196)][_0x3c8787(0x17d)](_0x4e671f),{connection:_0x2272a8}=this[_0x3c8787(0x171)][_0x3c8787(0x196)][_0x3c8787(0x17d)](_0x1662d3),_0x450dd0=new Set();for(const {resolvedBy:_0x35799c,comments:_0x9d5ffc}of _0x46678d){_0x35799c&&!_0x154e06[_0x3c8787(0x181)](_0x35799c)&&_0x450dd0[_0x3c8787(0x1b5)](_0x35799c);for(const {userId:_0x542c45}of _0x9d5ffc)_0x154e06[_0x3c8787(0x181)](_0x542c45)||_0x450dd0[_0x3c8787(0x1b5)](_0x542c45);}if(0x0===_0x450dd0[_0x3c8787(0x18d)])return;const _0x13708d=await _0x1140ec[_0x3c8787(0x1ab)](_0x2272a8,Array[_0x3c8787(0x188)](_0x450dd0));for(const _0x179d7c of _0x13708d)_0x154e06[_0x3c8787(0x181)](_0x179d7c['id'])||_0x154e06[_0x3c8787(0x16d)](_0x179d7c);}}a[_0x1806f3(0x1b7)]=_0x6e8079;function _0x1103(_0x383905,_0x187b96){const _0x48c1d9=_0x48c1();return _0x1103=function(_0x11030f,_0x5b1536){_0x11030f=_0x11030f-0x157;let _0x2e077a=_0x48c1d9[_0x11030f];return _0x2e077a;},_0x1103(_0x383905,_0x187b96);}export default a;async function B(_0x263888){const _0x4c9bc6=_0x1806f3;if(_0x4c9bc6(0x16c)!==_0x263888[_0x4c9bc6(0x19b)])throw _0x263888;}function R(_0x28c82f){const _0x216090=_0x1806f3;if((_0x2f70cb=_0x28c82f)[_0x216090(0x193)][_0x216090(0x1b8)](_0x216090(0x15d))||_0x2f70cb[_0x216090(0x193)][_0x216090(0x1b8)](_0x216090(0x15c))||_0x2f70cb[_0x216090(0x193)][_0x216090(0x1b8)](_0x216090(0x189)))return new Promise(()=>{});var _0x2f70cb;throw _0x28c82f;}function S(_0x572199){const _0x4f9eaa=_0x1806f3;return{'threadId':_0x572199[_0x4f9eaa(0x17f)],'commentId':_0x572199[_0x4f9eaa(0x179)],'content':_0x572199[_0x4f9eaa(0x198)],'createdAt':_0x572199[_0x4f9eaa(0x15f)],'authorId':_0x572199[_0x4f9eaa(0x1a3)],'attributes':_0x572199[_0x4f9eaa(0x180)]||{}};}function _0x48c1(){const _0x461605=['_getService','commentThreadId','attributes','getUser','mySessionId','listenTo','register','_setUpService','init','comments','from','cloud-services-internal-error:\x20Request\x20timeout.','has','deletedAt','destroy','size','251991WVWCPy','CloudServicesCommentsAdapter','resolvedAt','addComment','getConnectedSessions','message','commentThreadUpdated','map','plugins','671783hcJUqj','content','resolve','13229416tfUlNY','code','keys','getCommentThreads','reopenCommentThread','12niNZnS','_fetchMissingUsersForThreads','setPermissions','resolveCommentThread','userId','Permissions','CommentsRepository','commentThreadResolved','set','1509875CdZOHy','getComment','cloudservicescommentsadapter-service-not-exist','getMany','addCommentThread','remove','commentUpdated','permissions','isOfficialPlugin','assign','config','requires','reconnect','add','removeComment','CommentsService','startsWith','_services','updateComment','commentThreadReopened','commentThreadAdded','connect','collaboration.channelId','cloudservicescommentsadapter-disconnect-not-exist','cloud-services-internal-error:\x20Not\x20connected.','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','adapter','createdAt','isPremiumPlugin','updateCommentThread','sessionAdd:','addToReconnectionStack','catch','pluginName','reopen','getCommentThread','320486GGjETx','update','disconnect','commentThreadRemoved','404','addUser','removeCommentThread','commentAdded','_terminateService','context','unregister','authorId','off','commentRemoved','1089688DOoBgP','cloudservicescommentsadapter-connect-already-connected','407752tIStMr','commentId','delete','_connectService','resolvedBy','get'];_0x48c1=function(){return _0x461605;};return _0x48c1();}
|
|
23
|
+
function _0x342a(){const _0x5f2ae0=['off','remove','_services','plugins','getMany','catch','commentThreadAdded','authorId','18CbFrEk','mySessionId','CloudServicesCommentsAdapter','delete','createdAt','57692RpOcNW','CommentsRepository','requires','_setUpService','commentRemoved','register','isPremiumPlugin','addComment','12uOXdMu','commentThreadUpdated','collaboration.channelId','cloud-services-internal-error:\x20Request\x20timeout.','599810FCUpSi','addUser','userId','322777Aqozdz','sessionAdd:','keys','resolvedBy','cloudservicescommentsadapter-service-not-exist','add','connect','reopen','listenTo','size','cloud-services-internal-error:\x20Not\x20connected.','commentThreadResolved','update','commentThreadRemoved','Permissions','context','commentThreadReopened','comments','reopenCommentThread','message','attributes','updateCommentThread','_getService','map','commentId','getCommentThread','assign','init','pluginName','set','get','isOfficialPlugin','deletedAt','cloudservicescommentsadapter-connect-already-connected','404','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','adapter','addCommentThread','getConnectedSessions','setPermissions','disconnect','getUser','permissions','addToReconnectionStack','removeComment','destroy','commentThreadId','startsWith','commentUpdated','resolve','from','unregister','resolvedAt','_terminateService','getComment','reconnect','3176646ESzuAe','9347xcclHv','2281296VHvyKX','has','commentAdded','updateComment','2JrjLMM','config','_fetchMissingUsersForThreads','getCommentThreads','content','27qQAeOV','1032010lVxxEN','_connectService','resolveCommentThread','removeCommentThread','cloudservicescommentsadapter-disconnect-not-exist','code','CommentsService'];_0x342a=function(){return _0x5f2ae0;};return _0x342a();}const _0x265ec8=_0x4600;(function(_0x33acb7,_0x32b77a){const _0x2df6a4=_0x4600,_0x2d70b5=_0x33acb7();while(!![]){try{const _0xe93170=-parseInt(_0x2df6a4(0x135))/0x1*(-parseInt(_0x2df6a4(0x13a))/0x2)+-parseInt(_0x2df6a4(0xf5))/0x3*(-parseInt(_0x2df6a4(0xed))/0x4)+-parseInt(_0x2df6a4(0x140))/0x5+parseInt(_0x2df6a4(0xe8))/0x6*(parseInt(_0x2df6a4(0xfc))/0x7)+parseInt(_0x2df6a4(0x136))/0x8+parseInt(_0x2df6a4(0x13f))/0x9*(parseInt(_0x2df6a4(0xf9))/0xa)+-parseInt(_0x2df6a4(0x134))/0xb;if(_0xe93170===_0x32b77a)break;else _0x2d70b5['push'](_0x2d70b5['shift']());}catch(_0x40d732){_0x2d70b5['push'](_0x2d70b5['shift']());}}}(_0x342a,0x2acb9));import{Context as _0x90d57f,ContextPlugin as _0x5cfb66}from'ckeditor5/src/core.js';import{CKEditorError as _0x329a06}from'ckeditor5/src/utils.js';import{Users as _0x2e6946}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x447277,User as _0x31e8d3}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x43c5ae from'../realtimecollaborativeediting/websocketgateway.js';function _0x4600(_0x3a2894,_0x420b49){const _0x342aed=_0x342a();return _0x4600=function(_0x46000f,_0x3e0e){_0x46000f=_0x46000f-0xe2;let _0x562ecd=_0x342aed[_0x46000f];return _0x562ecd;},_0x4600(_0x3a2894,_0x420b49);}import _0x4cf67a from'../realtimecollaborativeediting/sessions.js';class a extends _0x5cfb66{static get[_0x265ec8(0xef)](){const _0x20bfd4=_0x265ec8;return[_0x43c5ae,_0x20bfd4(0xee),_0x4cf67a,_0x2e6946];}static get[_0x265ec8(0x118)](){const _0x48216e=_0x265ec8;return _0x48216e(0xea);}static get[_0x265ec8(0x11b)](){return!0x0;}static get[_0x265ec8(0xf3)](){return!0x0;}constructor(_0x2ae634){const _0x5b378d=_0x265ec8;super(_0x2ae634),this[_0x5b378d(0xe2)]=new Map();}async[_0x265ec8(0x117)](){const _0x5d2e0a=_0x265ec8,_0x45cfa3=this[_0x5d2e0a(0x10b)],_0x4615a4=_0x45cfa3[_0x5d2e0a(0xe3)][_0x5d2e0a(0x11a)](_0x5d2e0a(0xee));if(_0x45cfa3[_0x5d2e0a(0xe3)][_0x5d2e0a(0x11a)](_0x43c5ae)[_0x5d2e0a(0x127)](this),_0x4615a4[_0x5d2e0a(0x120)]={'addCommentThread':async({channelId:_0x36e98b,threadId:_0x1e9965,comments:_0x476bbd,resolvedAt:_0x533d29,resolvedBy:_0xd53436,context:_0x36283f,attributes:_0x2c8759})=>{const _0x1a70de=_0x5d2e0a,_0x1a4db8=await this[_0x1a70de(0x112)](_0x36e98b)[_0x1a70de(0x121)]({'commentThreadId':_0x1e9965,'comments':_0x476bbd[_0x1a70de(0x113)](_0x2d3473=>function(_0x41f016,_0x296506,_0x5ec116){const _0xd61a0d=_0x1a70de;return{'commentThreadId':_0x5ec116,'commentId':_0x41f016[_0xd61a0d(0x114)],'userId':_0x41f016[_0xd61a0d(0xe7)],'content':_0x41f016[_0xd61a0d(0x13e)],'documentId':_0x296506,'createdAt':_0x41f016[_0xd61a0d(0xec)],'attributes':_0x41f016[_0xd61a0d(0x110)]||{}};}(_0x2d3473,_0x36e98b,_0x1e9965)),'resolvedAt':_0x533d29,'resolvedBy':_0xd53436,'context':_0x36283f,'attributes':_0x2c8759})[_0x1a70de(0xe5)](R);return{'threadId':_0x1a4db8[_0x1a70de(0x12a)],'comments':_0x1a4db8[_0x1a70de(0x10d)]};},'getCommentThread':async({channelId:_0xd4f9e9,threadId:_0x53ff14})=>{const _0x477825=_0x5d2e0a,_0x600f74=await this[_0x477825(0x112)](_0xd4f9e9)[_0x477825(0x115)](_0x53ff14)[_0x477825(0xe5)](R);return _0x600f74[_0x477825(0x11c)]?null:(await this[_0x477825(0x13c)]([_0x600f74]),{'threadId':_0x600f74[_0x477825(0x12a)],'comments':_0x600f74[_0x477825(0x10d)][_0x477825(0x113)](S),'context':_0x600f74[_0x477825(0x10b)],'resolvedAt':_0x600f74[_0x477825(0x130)],'resolvedBy':_0x600f74[_0x477825(0xff)],'attributes':_0x600f74[_0x477825(0x110)]||{}});},'updateCommentThread':async({channelId:_0x1104b3,threadId:_0x56746b,context:_0x16423d,unlinkedAt:_0x3a438b,attributes:_0x1d7ca6})=>this[_0x5d2e0a(0x112)](_0x1104b3)[_0x5d2e0a(0x111)]({'commentThreadId':_0x56746b,'context':_0x16423d,'attributes':_0x1d7ca6,'unlinkedAt':_0x3a438b})[_0x5d2e0a(0xe5)](B)[_0x5d2e0a(0xe5)](R),'resolveCommentThread':async({channelId:_0x2faa98,threadId:_0xfff5d3})=>{const _0x1656a9=_0x5d2e0a,_0x3640f9=await this[_0x1656a9(0x112)](_0x2faa98)[_0x1656a9(0x142)](_0xfff5d3)[_0x1656a9(0xe5)](B)[_0x1656a9(0xe5)](R);return{'threadId':_0x3640f9[_0x1656a9(0x12a)],'resolvedAt':_0x3640f9[_0x1656a9(0x130)],'resolvedBy':_0x3640f9[_0x1656a9(0xff)]};},'reopenCommentThread':async({channelId:_0xf29b3f,threadId:_0x272811})=>this[_0x5d2e0a(0x112)](_0xf29b3f)[_0x5d2e0a(0x10e)](_0x272811)[_0x5d2e0a(0xe5)](B)[_0x5d2e0a(0xe5)](R),'removeCommentThread':({channelId:_0x1507c8,threadId:_0x3dfe71})=>this[_0x5d2e0a(0x112)](_0x1507c8)[_0x5d2e0a(0x143)](_0x3dfe71)[_0x5d2e0a(0xe5)](B)[_0x5d2e0a(0xe5)](R),'addComment':({channelId:_0x1848ff,threadId:_0x4bf2b1,commentId:_0x33b6e0,content:_0x199449,attributes:_0x2058f9})=>this[_0x5d2e0a(0x112)](_0x1848ff)[_0x5d2e0a(0xf4)](_0x4bf2b1,_0x33b6e0,_0x199449,_0x2058f9)[_0x5d2e0a(0xe5)](R),'updateComment':({channelId:_0xbc7059,threadId:_0x526097,commentId:_0x3084a3,content:_0x5e2435,attributes:_0x55747e})=>this[_0x5d2e0a(0x112)](_0xbc7059)[_0x5d2e0a(0x139)](_0x526097,_0x3084a3,_0x5e2435,_0x55747e)[_0x5d2e0a(0xe5)](B)[_0x5d2e0a(0xe5)](R),'removeComment':({channelId:_0x6fe2c,threadId:_0x11b87d,commentId:_0x124876})=>this[_0x5d2e0a(0x112)](_0x6fe2c)[_0x5d2e0a(0x128)](_0x11b87d,_0x124876)[_0x5d2e0a(0xe5)](B)[_0x5d2e0a(0xe5)](R)},_0x45cfa3 instanceof _0x90d57f){const _0x3ab83b=_0x45cfa3[_0x5d2e0a(0x13b)][_0x5d2e0a(0x11a)](_0x5d2e0a(0xf7)),_0x2e024e=_0x45cfa3[_0x5d2e0a(0xe3)][_0x5d2e0a(0x11a)](_0x4cf67a);await this[_0x5d2e0a(0xf0)](_0x3ab83b);const _0x10ef9a=await this[_0x5d2e0a(0xe2)][_0x5d2e0a(0x11a)](_0x3ab83b)[_0x5d2e0a(0x122)]();this[_0x5d2e0a(0x104)](_0x2e024e,_0x5d2e0a(0xfd)+_0x3ab83b,(_0x371a5d,{session:_0x108d68})=>{const _0x247c73=_0x5d2e0a;_0x108d68['id']===_0x2e024e[_0x247c73(0xe9)]&&(_0x371a5d[_0x247c73(0x147)](),this[_0x247c73(0x10b)][_0x247c73(0xe3)][_0x247c73(0x11a)](_0x247c73(0x10a))[_0x247c73(0x123)](_0x108d68[_0x247c73(0x126)],_0x3ab83b));}),_0x2e024e[_0x5d2e0a(0xf2)](_0x3ab83b,_0x10ef9a);}}async[_0x265ec8(0xf0)](_0x196fb5){const _0x48d945=_0x265ec8;if(this[_0x48d945(0xe2)][_0x48d945(0x137)](_0x196fb5))throw new _0x329a06(_0x48d945(0x11d),null,{'channelId':_0x196fb5});const _0x4de1de=this[_0x48d945(0x10b)][_0x48d945(0xe3)][_0x48d945(0x11a)](_0x48d945(0xee)),_0x2c0bb8=new a[(_0x48d945(0x146))](_0x196fb5);this[_0x48d945(0xe2)][_0x48d945(0x119)](_0x196fb5,_0x2c0bb8),this[_0x48d945(0x104)](_0x2c0bb8,_0x48d945(0xe6),(_0x227277,_0x2def5b)=>{const _0x417ab4=_0x48d945,{commentThreadId:_0x152db9,documentId:_0x5635ee,context:_0x159edb,attributes:_0x43e4e6,resolvedAt:_0x516832,resolvedBy:_0x36f904,comments:_0x4d067b}=_0x2def5b;_0x4de1de[_0x417ab4(0x115)](_0x152db9)||_0x4de1de[_0x417ab4(0x121)]({'threadId':_0x152db9,'channelId':_0x5635ee,'comments':_0x4d067b?_0x4d067b[_0x417ab4(0x113)](S):[],'context':_0x159edb,'attributes':_0x43e4e6,'resolvedAt':_0x516832,'resolvedBy':_0x36f904,'isFromAdapter':!0x0});}),this[_0x48d945(0x104)](_0x2c0bb8,_0x48d945(0xf6),(_0x559572,{commentThreadId:_0x34418a,documentId:_0x464910,context:_0x2a601e,unlinkedAt:_0x15ae0f,attributes:_0x5f04f4})=>{const _0x3c82d4=_0x48d945;_0x4de1de[_0x3c82d4(0x115)](_0x34418a)&&_0x4de1de[_0x3c82d4(0x111)]({'threadId':_0x34418a,'channelId':_0x464910,'context':_0x2a601e,'unlinkedAt':_0x15ae0f,'attributes':_0x5f04f4,'isFromAdapter':!0x0});}),this[_0x48d945(0x104)](_0x2c0bb8,_0x48d945(0x107),(_0x7f1668,{commentThreadId:_0x3481f3,resolvedBy:_0x17bab8,resolvedAt:_0x1f2111})=>{const _0x1a152a=_0x48d945,_0x4f00d6=_0x4de1de[_0x1a152a(0x115)](_0x3481f3);_0x4f00d6&&_0x4f00d6[_0x1a152a(0x12d)]({'resolvedBy':_0x17bab8,'resolvedAt':_0x1f2111,'isFromAdapter':!0x0});}),this[_0x48d945(0x104)](_0x2c0bb8,_0x48d945(0x10c),(_0x4ff6de,{commentThreadId:_0x114c02})=>{const _0x4f0b6a=_0x48d945,_0x21d7f0=_0x4de1de[_0x4f0b6a(0x115)](_0x114c02);_0x21d7f0&&_0x21d7f0[_0x4f0b6a(0x103)]({'isFromAdapter':!0x0});}),this[_0x48d945(0x104)](_0x2c0bb8,_0x48d945(0x109),(_0x33ee1d,{commentThreadId:_0x3e81df})=>{const _0x4c902a=_0x48d945,_0x3e174d=_0x4de1de[_0x4c902a(0x115)](_0x3e81df);_0x3e174d&&_0x3e174d[_0x4c902a(0x148)]({'isFromAdapter':!0x0});}),this[_0x48d945(0x104)](_0x2c0bb8,_0x48d945(0x138),(_0x4ee0a1,_0x4e2887)=>{const _0x167f69=_0x48d945,_0x2fa90c=_0x4e2887[_0x167f69(0x12a)],_0x3ba41f=_0x4de1de[_0x167f69(0x115)](_0x2fa90c);_0x3ba41f&&_0x3ba41f[_0x167f69(0xf4)]({...S(_0x4e2887),'isFromAdapter':!0x0});}),this[_0x48d945(0x104)](_0x2c0bb8,_0x48d945(0x12c),(_0x31480a,{commentThreadId:_0x360552,commentId:_0x5916aa,content:_0x2fd85b,attributes:_0x32128d})=>{const _0xcb8e65=_0x48d945,_0x43e5c1=_0x4de1de[_0xcb8e65(0x115)](_0x360552);if(_0x43e5c1){const _0x44c4a6=_0x43e5c1[_0xcb8e65(0x132)](_0x5916aa);_0x44c4a6&&_0x44c4a6[_0xcb8e65(0x108)]({'content':_0x2fd85b,'attributes':_0x32128d,'isFromAdapter':!0x0});}}),this[_0x48d945(0x104)](_0x2c0bb8,_0x48d945(0xf1),(_0x19ae55,{commentThreadId:_0x55800b,commentId:_0xd03b96})=>{const _0x63138c=_0x48d945,_0x3919c8=_0x4de1de[_0x63138c(0x115)](_0x55800b);if(_0x3919c8){const _0x4b1b6d=_0x3919c8[_0x63138c(0x132)](_0xd03b96);_0x4b1b6d&&_0x4b1b6d[_0x63138c(0x148)]({'isFromAdapter':!0x0});}}),await this[_0x48d945(0x141)](_0x196fb5);}[_0x265ec8(0x129)](){const _0x5057cd=_0x265ec8;if(this[_0x5057cd(0x10b)]instanceof _0x90d57f){const _0x258d5e=this[_0x5057cd(0x10b)][_0x5057cd(0x13b)][_0x5057cd(0x11a)](_0x5057cd(0xf7));this[_0x5057cd(0x131)](_0x258d5e);}}[_0x265ec8(0x131)](_0x160b9a){const _0x515ed3=_0x265ec8;if(!this[_0x515ed3(0xe2)][_0x515ed3(0x137)](_0x160b9a))throw new _0x329a06(_0x515ed3(0x144),null,{'channelId':_0x160b9a});this[_0x515ed3(0x112)](_0x160b9a)[_0x515ed3(0x124)](),this[_0x515ed3(0xe2)][_0x515ed3(0xeb)](_0x160b9a);}async[_0x265ec8(0x133)](){const _0x7955f7=_0x265ec8;for(const _0x3e254a of this[_0x7955f7(0xe2)][_0x7955f7(0xfe)]())await this[_0x7955f7(0x141)](_0x3e254a);if(this[_0x7955f7(0x10b)]instanceof _0x90d57f){const _0x10d516=this[_0x7955f7(0x10b)][_0x7955f7(0x13b)][_0x7955f7(0x11a)](_0x7955f7(0xf7)),_0x5df308=this[_0x7955f7(0x10b)][_0x7955f7(0xe3)][_0x7955f7(0x11a)](_0x4cf67a);_0x5df308[_0x7955f7(0x12f)](_0x10d516);const _0x49192c=await this[_0x7955f7(0xe2)][_0x7955f7(0x11a)](_0x10d516)[_0x7955f7(0x122)]();_0x5df308[_0x7955f7(0xf2)](_0x10d516,_0x49192c);}}async[_0x265ec8(0x141)](_0x72f855){const _0x2f60a8=_0x265ec8,{connection:_0x120567}=this[_0x2f60a8(0x10b)][_0x2f60a8(0xe3)][_0x2f60a8(0x11a)](_0x43c5ae),_0x4d018a=this[_0x2f60a8(0x10b)][_0x2f60a8(0xe3)][_0x2f60a8(0x11a)](_0x2f60a8(0xee)),_0x2b20a1=this[_0x2f60a8(0xe2)][_0x2f60a8(0x11a)](_0x72f855),_0x322fe5=await _0x2b20a1[_0x2f60a8(0x102)](_0x120567);await this[_0x2f60a8(0x13c)](_0x322fe5);const _0x14f929=new Set(Array[_0x2f60a8(0x12e)](_0x4d018a[_0x2f60a8(0x13d)]({'channelId':_0x72f855}),_0x57a159=>_0x57a159['id']));for(const _0x3d020d of _0x322fe5)_0x3d020d[_0x2f60a8(0x11c)]||_0x14f929[_0x2f60a8(0xeb)](_0x3d020d[_0x2f60a8(0x12a)]);for(const _0x4e8d9c of _0x14f929)_0x4d018a[_0x2f60a8(0x115)](_0x4e8d9c)[_0x2f60a8(0x148)]({'isFromAdapter':!0x0});for(const _0x4b8956 of _0x322fe5){let _0x4d1cad=_0x4d018a[_0x2f60a8(0x115)](_0x4b8956[_0x2f60a8(0x12a)]);const {commentThreadId:_0xba224c,context:_0x5c83c0,attributes:_0x3e6768,resolvedBy:_0x464031,resolvedAt:_0x5dbcb1,unlinkedAt:_0xd04261,deletedAt:_0x25c032}=_0x4b8956;if(_0x25c032)continue;_0x4d1cad||(_0x4d1cad=_0x4d018a[_0x2f60a8(0x121)]({'channelId':_0x72f855,'threadId':_0xba224c,'context':_0x5c83c0,'attributes':_0x3e6768||{},'resolvedBy':_0x464031,'resolvedAt':_0x5dbcb1,'unlinkedAt':_0xd04261,'isFromAdapter':!0x0}));const _0xf5e771=new Set(Array[_0x2f60a8(0x12e)](_0x4d1cad[_0x2f60a8(0x10d)],_0x3c5fee=>_0x3c5fee['id']));for(const _0x9b420e of _0x4b8956[_0x2f60a8(0x10d)])_0xf5e771[_0x2f60a8(0xeb)](_0x9b420e[_0x2f60a8(0x114)]);for(const _0x46e06c of _0xf5e771)_0x4d1cad[_0x2f60a8(0x132)](_0x46e06c)[_0x2f60a8(0x148)]({'isFromAdapter':!0x0});for(const _0x4ed14d of _0x4b8956[_0x2f60a8(0x10d)]){const _0x2ef852=_0x4d1cad[_0x2f60a8(0x132)](_0x4ed14d[_0x2f60a8(0x114)]);_0x2ef852?_0x2ef852[_0x2f60a8(0x13e)]!==_0x4ed14d[_0x2f60a8(0x13e)]&&_0x2ef852[_0x2f60a8(0x108)]({'content':_0x4ed14d[_0x2f60a8(0x13e)],'isFromAdapter':!0x0}):_0x4d1cad[_0x2f60a8(0xf4)](Object[_0x2f60a8(0x116)](S(_0x4ed14d),{'isFromAdapter':!0x0}));}}}[_0x265ec8(0x112)](_0x35ed02){const _0x55fac5=_0x265ec8;if(!this[_0x55fac5(0xe2)][_0x55fac5(0x137)](_0x35ed02))throw new _0x329a06(_0x55fac5(0x100),null,{'channelId':_0x35ed02});return this[_0x55fac5(0xe2)][_0x55fac5(0x11a)](_0x35ed02);}async[_0x265ec8(0x13c)](_0x389ea4){const _0x31f758=_0x265ec8,_0x3a0244=this[_0x31f758(0x10b)][_0x31f758(0xe3)][_0x31f758(0x11a)](_0x2e6946),{connection:_0x5ba8b4}=this[_0x31f758(0x10b)][_0x31f758(0xe3)][_0x31f758(0x11a)](_0x43c5ae),_0x3d9a43=new Set();for(const {resolvedBy:_0x1bc163,comments:_0x6ee5ce}of _0x389ea4){_0x1bc163&&!_0x3a0244[_0x31f758(0x125)](_0x1bc163)&&_0x3d9a43[_0x31f758(0x101)](_0x1bc163);for(const {userId:_0x394e65}of _0x6ee5ce)_0x3a0244[_0x31f758(0x125)](_0x394e65)||_0x3d9a43[_0x31f758(0x101)](_0x394e65);}if(0x0===_0x3d9a43[_0x31f758(0x105)])return;const _0x77185f=await _0x31e8d3[_0x31f758(0xe4)](_0x5ba8b4,Array[_0x31f758(0x12e)](_0x3d9a43));for(const _0x29d030 of _0x77185f)_0x3a0244[_0x31f758(0x125)](_0x29d030['id'])||_0x3a0244[_0x31f758(0xfa)](_0x29d030);}}a[_0x265ec8(0x146)]=_0x447277;export default a;async function B(_0x555a16){const _0x105564=_0x265ec8;if(_0x105564(0x11e)!==_0x555a16[_0x105564(0x145)])throw _0x555a16;}function R(_0x139a19){const _0x313af3=_0x265ec8;if((_0x4cbace=_0x139a19)[_0x313af3(0x10f)][_0x313af3(0x12b)](_0x313af3(0x11f))||_0x4cbace[_0x313af3(0x10f)][_0x313af3(0x12b)](_0x313af3(0x106))||_0x4cbace[_0x313af3(0x10f)][_0x313af3(0x12b)](_0x313af3(0xf8)))return new Promise(()=>{});var _0x4cbace;throw _0x139a19;}function S(_0x2290c8){const _0x2f8d5e=_0x265ec8;return{'threadId':_0x2290c8[_0x2f8d5e(0x12a)],'commentId':_0x2290c8[_0x2f8d5e(0x114)],'content':_0x2290c8[_0x2f8d5e(0x13e)],'createdAt':_0x2290c8[_0x2f8d5e(0xec)],'authorId':_0x2290c8[_0x2f8d5e(0xfb)],'attributes':_0x2290c8[_0x2f8d5e(0x110)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x542844=_0x122e;(function(_0x42b24a,_0x71e022){const _0x2f29ac=_0x122e,_0x337fc=_0x42b24a();while(!![]){try{const _0x2ac60d=parseInt(_0x2f29ac(0xec))/0x1+-parseInt(_0x2f29ac(0xf9))/0x2+parseInt(_0x2f29ac(0xef))/0x3+-parseInt(_0x2f29ac(0xe9))/0x4+-parseInt(_0x2f29ac(0xe7))/0x5*(-parseInt(_0x2f29ac(0xeb))/0x6)+-parseInt(_0x2f29ac(0xe2))/0x7*(-parseInt(_0x2f29ac(0xf2))/0x8)+-parseInt(_0x2f29ac(0xf5))/0x9;if(_0x2ac60d===_0x71e022)break;else _0x337fc['push'](_0x337fc['shift']());}catch(_0x276bbf){_0x337fc['push'](_0x337fc['shift']());}}}(_0x2b84,0x882be));function _0x122e(_0x35d30d,_0x548a09){const _0x2b849f=_0x2b84();return _0x122e=function(_0x122ecb,_0x396134){_0x122ecb=_0x122ecb-0xd9;let _0x2ebf08=_0x2b849f[_0x122ecb];return _0x2ebf08;},_0x122e(_0x35d30d,_0x548a09);}import{Plugin as _0x5e9d2f}from'ckeditor5/src/core.js';import _0x251d34 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x23a2c9 from'./realtimecollaborativeediting.js';import _0x28391a from'./realtimecollaborativeediting/websocketgateway.js';function _0x2b84(){const _0x2546e0=['_setUpService','1897659BnpnsT','collaboration.channelId','_terminateService','8bjRAJT','RealTimeCollaborativeComments','requires','1208241oBcmxY','isThreadsLoadingPaused','isOfficialPlugin','CommentsRepository','1280348wXqnRo','config','data','once','ready','init','connected','switchReadOnly','listenTo','CommentsEditing','change:state','3889494YKaIHn','pluginName','editor','isPremiumPlugin','Comments','1217075IGGSQD','destroy','565840ODZhDI','plugins','6duEPCx','42031anDSTR','get'];_0x2b84=function(){return _0x2546e0;};return _0x2b84();}export default class m extends _0x5e9d2f{static get[_0x542844(0xf4)](){const _0x123ea9=_0x542844;return[_0x123ea9(0xe6),_0x251d34,_0x23a2c9,_0x28391a];}static get[_0x542844(0xe3)](){const _0xae4a53=_0x542844;return _0xae4a53(0xf3);}static get[_0x542844(0xf7)](){return!0x0;}static get[_0x542844(0xe5)](){return!0x0;}[_0x542844(0xdc)](){const _0x4b05e6=_0x542844,_0x285503=this[_0x4b05e6(0xe4)][_0x4b05e6(0xea)][_0x4b05e6(0xed)](_0x28391a),_0x3ff074=this[_0x4b05e6(0xe4)][_0x4b05e6(0xea)][_0x4b05e6(0xed)](_0x4b05e6(0xe0)),_0x47f58c=this[_0x4b05e6(0xe4)][_0x4b05e6(0xea)][_0x4b05e6(0xed)](_0x251d34);return this[_0x4b05e6(0xe4)][_0x4b05e6(0xd9)][_0x4b05e6(0xda)](_0x4b05e6(0xdb),()=>{const _0xf372fa=_0x4b05e6;this[_0xf372fa(0xdf)](_0x285503,_0xf372fa(0xe1),(_0x97dce7,_0x16b592,_0x4d565a)=>{const _0xaa9855=_0xf372fa;_0x3ff074[_0xaa9855(0xf6)]=_0xaa9855(0xdd)!==_0x4d565a;});}),this[_0x4b05e6(0xdf)](_0x285503,_0x4b05e6(0xe1),(_0x15cbaf,_0x5f4815,_0x4090c2)=>{const _0x4f1471=_0x4b05e6;this[_0x4f1471(0xe4)][_0x4f1471(0xea)][_0x4f1471(0xed)](_0x4f1471(0xf8))[_0x4f1471(0xde)](_0x4f1471(0xdd)!==_0x4090c2);}),_0x47f58c[_0x4b05e6(0xee)](this[_0x4b05e6(0xe4)][_0x4b05e6(0xfa)][_0x4b05e6(0xed)](_0x4b05e6(0xf0)));}[_0x542844(0xe8)](){const _0xa7bbeb=_0x542844;this[_0xa7bbeb(0xe4)][_0xa7bbeb(0xea)][_0xa7bbeb(0xed)](_0x251d34)[_0xa7bbeb(0xf1)](this[_0xa7bbeb(0xe4)][_0xa7bbeb(0xfa)][_0xa7bbeb(0xed)](_0xa7bbeb(0xf0))),super[_0xa7bbeb(0xe8)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3414bd=_0x2988;function _0x3416(){const _0x2f00d9=['change:hasDomSelection','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','realtimecollaborationclient-init-session-connection-error','1446483ofRuys','locale','register','length','initData','_connectAfterSessionHasBeenFlushed','real-time-collaboration','filter','isEnabled','_baseBufferDelay','state','_waitUntilSynced','off','_connectService','wereChangesApplied','_setUpDataInit','slice','_sendBufferedOperations','isPremiumPlugin','decompress','rootsAttributes','mySessionId','differ','change:_isPendingUpdate','createPositionAt','_currentBufferDelay','_isConnected','editor','isDocumentOperation','$root','affectsData','bind','marker','applyOperation','cs:removeUser','string','_compressor','_disconnectService','3852359DZsIZB','CommentsOnly','version','entries','_saveOperationInBuffer','size','plugins','then','round','permissions','disconnected','_offset','unregister','metadata','sessionCreatedAt','isUndoneOperation','root','add','directChange','274DIYVVp','_handleReceivedOperations','error','connect','__className','_bufferedOperations','isOfficialPlugin','realtimecollaborationclient-init-connection-failed','wasUndone','includes','addRoot','keys','return','_updateServerHistory','currentDocumentSession','reconnection:\x20flushed\x20session','enqueueChange','path','has','startsWith','_applyOperationsSet','_sendBufferedOperationsDelayId','enableReadOnlyMode','destroy','suppressErrorInCollaboration','409','sessionId','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.','rtc-offline','setPermissions','realtimecollaborationclient-error','getIdOfTheLastOperation','attributes','map','_isAttached','listenTo','isReadOnly','rtc-destroyed','realtimecollaborationclient-initservice-internal-error','operationsReceived','_addKnownRoot','realtimecollaborationclient-handleserverresponse','move','connection','sessionAdd:','788376IQfNZT','_operationToId','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','disconnect','requires','_authorId','loadRoot','newRange','_handleServerResponse','addRootAttribute','editing','7762690xxxZxO','finally','end','_knownOperations','cloudDocumentVersion','connected','_handleReconnectionResponse','offset','lastOperationId','compress','404','toJSON','position','channelSessions','PENDING_ACTION_SENDING_DATA','_operationIdentifier','init','_loadRoot','_refreshUserSelectionMarkers','_bufferRootLoad','selection','getOperationAuthor','_compressOperations','_isInit','_knownRootNames','push','lastDocumentSession','_shouldSendSelectionUpdate','fire','_sendBufferedOperationsDelayed','Synchronization\x20issue','roots','document','realtimecollaborationclient-sendbufferedoperations','getUser','_handleReconnectionError','cloudServices.bundleVersion','collaboration.channelId','stop','get','ready','getRoot','serverHistory','createRange','RealTimeCollaborationClient','_fetchMissingUsers','_isLoaded','define','_setPendingAction','fromJSON','_service','catch','lastSyncVersion','disableReadOnlyMode','userId','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.','data','489246JuYcvk','setIdForTheLastOperation','_crash','Notification','collaboration','getConnectedSessions','_getOperationsFromInitData','addUser','type','start','showWarning','set','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_hasSynchronizationProblem','createUserMarkerOperations','multi-root-editor-root-attributes-no-root','collaboration-missing-channelid','getMany','CollaborativeEditingService','targetPosition','cloud-services-internal-error:\x20Request\x20timeout.','model','_lastSyncedOperationId','cloud-services-internal-error:\x20Not\x20connected.','Permissions','_ignoredOperations','document:write','2332eTRoJA','from','markers','_initSessionsHandling','code','reset','4UaaWPK','sendOperations','apply','stopListening','realtimecollaborationclient-initservice-incorrect-server-operation','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','high','_pendingAction','_isPendingUpdate','_handleExternalOperations','_initThrowingOnDataSet','affectedSelectable','addOperation','remove','lastOperationAcceptedAt','_channelId','_disconnectionOperations','_clearPendingAction','change:_isEditingAllowed','27KDKZGG','_decompressOperations','parse','_lastServerVersion','reconnect','forEach','baseVersion','_shouldSendUpdate','_handleInitialConnectionData','pluginName','batch','message','createRoot','InsertOperation','_isDisconnection','clone','view','_handleSendingSelectionMarkers','rootName','addToReconnectionStack','_getAffectedRoot','getDocumentDetails','history','_isEditingAllowed','realtimecollaborationclient-init-non-existent-root','2336295mYMYEP','_hasSelectionChanged','change:range','insert','config','getOperations','removeFromReconnectionStack','createdAt','createPositionFromPath','realtimecollaborationclient-init-document-already-initialized','_document'];_0x3416=function(){return _0x2f00d9;};return _0x3416();}(function(_0x194801,_0x444e15){const _0x3d56d5=_0x2988,_0x39ef97=_0x194801();while(!![]){try{const _0x1049fd=parseInt(_0x3d56d5(0x1c5))/0x1*(parseInt(_0x3d56d5(0x23e))/0x2)+parseInt(_0x3d56d5(0x205))/0x3*(parseInt(_0x3d56d5(0x1cb))/0x4)+-parseInt(_0x3d56d5(0x1f7))/0x5+-parseInt(_0x3d56d5(0x1aa))/0x6+parseInt(_0x3d56d5(0x22b))/0x7+-parseInt(_0x3d56d5(0x26b))/0x8*(-parseInt(_0x3d56d5(0x1de))/0x9)+-parseInt(_0x3d56d5(0x276))/0xa;if(_0x1049fd===_0x444e15)break;else _0x39ef97['push'](_0x39ef97['shift']());}catch(_0xe32e13){_0x39ef97['push'](_0x39ef97['shift']());}}}(_0x3416,0x4ebfa));import{Plugin as _0x165d10,PendingActions as _0xd5b012}from'ckeditor5/src/core.js';import{CKEditorError as _0x3cb17c,version as _0x40a076,uid as _0x957c7b}from'ckeditor5/src/utils.js';import{Notification as _0x4ad87d}from'ckeditor5/src/ui.js';import{transformSets as _0x26ac80,NoOperation as _0x113a4a,InsertOperation as _0x319bbe,MarkerOperation as _0x11b55b,RootAttributeOperation as _0x25e9f0,OperationFactory as _0x222a29,History as _0xdf2d6a}from'ckeditor5/src/engine.js';import _0x334760 from'./websocketgateway.js';import _0x55e3f1 from'./sessions.js';import _0x25113e from'./usermarkers.js';import{getTranslation as _0x360431}from'../common-translations.js';import{Compressor as _0x16b6f5}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x49e933}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x4bbd76,CollaborativeEditingService as _0x3393fb}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x165d10{static get[_0x3414bd(0x26f)](){return[_0x334760,_0x55e3f1,_0x25113e,_0xd5b012,_0x49e933,_0x4ad87d];}static get[_0x3414bd(0x1e7)](){const _0x169a92=_0x3414bd;return _0x169a92(0x19d);}static get[_0x3414bd(0x244)](){return!0x0;}static get[_0x3414bd(0x217)](){return!0x0;}get[_0x3414bd(0x27a)](){const _0x3d8f35=_0x3414bd;return this[_0x3d8f35(0x1e1)]+this[_0x3d8f35(0x236)];}get[_0x3414bd(0x1e1)](){const _0x2eb823=_0x3414bd;return this[_0x2eb823(0x19b)][_0x2eb823(0x22d)]-this[_0x2eb823(0x236)];}get[_0x3414bd(0x1a5)](){const _0x4dd892=_0x3414bd,_0x236a2a=this[_0x4dd892(0x19b)][_0x4dd892(0x1fc)]();for(let _0x418810=_0x236a2a[_0x4dd892(0x208)]-0x1;_0x418810>=0x0;_0x418810--){const _0x5cb9ae=_0x236a2a[_0x418810];if(!this[_0x4dd892(0x1db)][_0x4dd892(0x250)](_0x5cb9ae))return _0x5cb9ae[_0x4dd892(0x1e4)]+0x1-this[_0x4dd892(0x236)];}return 0x0;}constructor(_0xd42219){const _0x2c31e8=_0x3414bd;if(super(_0xd42219),this[_0x2c31e8(0x236)]=0x0,this[_0x2c31e8(0x258)]=null,this[_0x2c31e8(0x19b)]=new _0xdf2d6a(),this[_0x2c31e8(0x220)][_0x2c31e8(0x1fb)][_0x2c31e8(0x1a0)](_0x2c31e8(0x1ae),{}),this[_0x2c31e8(0x1da)]=this[_0x2c31e8(0x220)][_0x2c31e8(0x1fb)][_0x2c31e8(0x198)](_0x2c31e8(0x196)),!this[_0x2c31e8(0x1da)])throw new _0x3cb17c(_0x2c31e8(0x1ba),this);const _0x2bdd52=_0xd42219[_0x2c31e8(0x1fb)][_0x2c31e8(0x198)](_0x2c31e8(0x195))||_0x40a076;this[_0x2c31e8(0x1a3)]=new l[(_0x2c31e8(0x1bc))](_0x2bdd52,this[_0x2c31e8(0x1da)]),this[_0x2c31e8(0x201)]=this[_0x2c31e8(0x220)][_0x2c31e8(0x1bf)][_0x2c31e8(0x191)],this[_0x2c31e8(0x229)]=new _0x16b6f5(),this[_0x2c31e8(0x243)]=[],this[_0x2c31e8(0x279)]=new WeakSet(),this[_0x2c31e8(0x189)]=new Set(),this[_0x2c31e8(0x1b5)](_0x2c31e8(0x1d3),!0x1),this[_0x2c31e8(0x1b5)](_0x2c31e8(0x1b7),!0x1),this[_0x2c31e8(0x1d2)]=null,this[_0x2c31e8(0x1f8)]=!0x1,this[_0x2c31e8(0x253)]=null,this[_0x2c31e8(0x20e)]=0x12c,this[_0x2c31e8(0x21e)]=this[_0x2c31e8(0x20e)],this[_0x2c31e8(0x1c0)]=null,this[_0x2c31e8(0x1db)]=new WeakSet(),this[_0x2c31e8(0x180)]=new X(this[_0x2c31e8(0x1db)]);}[_0x3414bd(0x181)](){const _0x39d749=_0x3414bd,_0xbed517=this[_0x39d749(0x220)],_0x51879f=_0xbed517[_0x39d749(0x231)][_0x39d749(0x198)](_0x49e933),_0x4d7174=_0xbed517[_0x39d749(0x231)][_0x39d749(0x198)](_0x334760);this[_0x39d749(0x261)](_0x51879f,_0x39d749(0x186),(_0x2a8a33,_0x17e67e)=>{const _0x35f539=_0x39d749,_0x9cbcae=_0x17e67e[0x0];_0x9cbcae[_0x35f539(0x270)]&&(_0x2a8a33[_0x35f539(0x24a)]=_0x51879f[_0x35f539(0x193)](_0x9cbcae[_0x35f539(0x270)]),_0x2a8a33[_0x35f539(0x197)]()),null===_0x9cbcae[_0x35f539(0x270)]&&(_0x2a8a33[_0x35f539(0x24a)]=null,_0x2a8a33[_0x35f539(0x197)]());},{'priority':_0x39d749(0x1d1)}),this[_0x39d749(0x261)](_0xbed517[_0x39d749(0x1bf)][_0x39d749(0x191)][_0x39d749(0x185)],_0x39d749(0x1f9),(_0x5b547a,_0x8a3c0a)=>{const _0x2f839b=_0x39d749;_0x8a3c0a[_0x2f839b(0x23d)]&&this[_0x2f839b(0x183)]();}),this[_0x39d749(0x261)](_0xbed517[_0x39d749(0x275)][_0x39d749(0x1ee)],_0x39d749(0x202),()=>{const _0x1e09bc=_0x39d749;this[_0x1e09bc(0x183)]();}),this[_0x39d749(0x1d5)](),_0xbed517[_0x39d749(0x1bf)]['on'](_0x39d749(0x226),(_0x3f1424,_0x2bdb4e)=>{const _0x3c6065=_0x39d749,_0x8b1a2b=_0x2bdb4e[0x0];_0x8b1a2b[_0x3c6065(0x221)]&&(this[_0x3c6065(0x22f)](_0x8b1a2b),this[_0x3c6065(0x1e5)]()&&this[_0x3c6065(0x18e)]());}),this[_0x39d749(0x214)](),this[_0x39d749(0x224)](_0x39d749(0x1f5))['to'](_0x4d7174,_0x39d749(0x20f),this,_0x39d749(0x1b7),(_0x2d1c01,_0x54048b)=>_0x39d749(0x27b)===_0x2d1c01&&!_0x54048b),this['on'](_0x39d749(0x1dd),()=>{const _0x3e4f9c=_0x39d749;this[_0x3e4f9c(0x1f5)]?_0xbed517[_0x3e4f9c(0x1a6)](_0x3e4f9c(0x25a)):_0xbed517[_0x3e4f9c(0x254)](_0x3e4f9c(0x25a));}),this[_0x39d749(0x1f5)]?_0xbed517[_0x39d749(0x1a6)](_0x39d749(0x25a)):_0xbed517[_0x39d749(0x254)](_0x39d749(0x25a)),this[_0x39d749(0x1b5)](_0x39d749(0x21f),!0x1);}async[_0x3414bd(0x1e2)](){const _0x2686e2=_0x3414bd,_0x32d8d7=this[_0x2686e2(0x220)][_0x2686e2(0x231)][_0x2686e2(0x198)](_0x55e3f1),_0x474e0d=this[_0x2686e2(0x220)][_0x2686e2(0x231)][_0x2686e2(0x198)](_0x334760);try{this[_0x2686e2(0x1d3)]=!0x0,_0x32d8d7[_0x2686e2(0x237)](this[_0x2686e2(0x1da)]);const _0x28351b=await this[_0x2686e2(0x1a3)][_0x2686e2(0x1e2)](_0x474e0d[_0x2686e2(0x269)],this[_0x2686e2(0x1a5)]);await this[_0x2686e2(0x27c)](_0x28351b)&&(this[_0x2686e2(0x1d3)]=!0x1,this[_0x2686e2(0x1dc)]());const _0x191056=await this[_0x2686e2(0x1a3)][_0x2686e2(0x1af)]();_0x32d8d7[_0x2686e2(0x207)](this[_0x2686e2(0x1da)],_0x191056),this[_0x2686e2(0x1ef)](),this[_0x2686e2(0x21f)]=!0x0;}catch(_0x246ad9){if(function(_0x580eca){const _0x63a0f4=_0x2686e2;return _0x63a0f4(0x17b)===_0x580eca[_0x63a0f4(0x1c9)];}(_0x246ad9)&&this[_0x2686e2(0x258)])await this[_0x2686e2(0x20a)]();else{if(function(_0xc11d9){const _0x990172=_0x2686e2;return _0x990172(0x257)===_0xc11d9[_0x990172(0x1c9)];}(_0x246ad9)){const _0x423e73=_0x360431(this[_0x2686e2(0x220)][_0x2686e2(0x206)],_0x2686e2(0x26d));this[_0x2686e2(0x194)](_0x423e73);}else{if(!(_0x246ad9 instanceof J))throw _0x246ad9;this[_0x2686e2(0x194)]();}}}}[_0x3414bd(0x255)](){const _0x19fca2=_0x3414bd,_0x36d7f6=this[_0x19fca2(0x220)][_0x19fca2(0x231)][_0x19fca2(0x198)](_0x334760),_0x33909e=this[_0x19fca2(0x220)][_0x19fca2(0x231)][_0x19fca2(0x198)](_0x55e3f1);this[_0x19fca2(0x220)][_0x19fca2(0x254)](_0x19fca2(0x263)),_0x33909e[_0x19fca2(0x17e)][_0x19fca2(0x250)](this[_0x19fca2(0x1da)])&&_0x33909e[_0x19fca2(0x237)](this[_0x19fca2(0x1da)]),_0x36d7f6[_0x19fca2(0x1fd)](this),this[_0x19fca2(0x22a)](),super[_0x19fca2(0x255)]();}async[_0x3414bd(0x27c)](_0x522ef1){const _0x11658c=_0x3414bd;if(this[_0x11658c(0x258)]!==_0x522ef1[_0x11658c(0x258)]&&this[_0x11658c(0x1c0)]!==_0x522ef1[_0x11658c(0x179)])throw new J();return this[_0x11658c(0x258)]=_0x522ef1[_0x11658c(0x258)],this[_0x11658c(0x273)]([],{..._0x522ef1,'wereChangesApplied':!0x1,'data':_0x522ef1[_0x11658c(0x1a9)]},_0x11658c(0x1e2));}async[_0x3414bd(0x212)](_0x4d2167,_0x1a8b50=!0x1){const _0x2f8062=_0x3414bd,{connection:_0x3fa716}=this[_0x2f8062(0x220)][_0x2f8062(0x231)][_0x2f8062(0x198)](_0x334760);l[_0x2f8062(0x1bc)][_0x2f8062(0x1af)](_0x3fa716,this[_0x2f8062(0x1da)])[_0x2f8062(0x232)](_0x41a500=>this[_0x2f8062(0x1c8)](_0x41a500))[_0x2f8062(0x1a4)](_0xef7300=>{const _0x21d852=_0x2f8062;this[_0x21d852(0x1ac)](_0x21d852(0x204),_0xef7300);}),this[_0x2f8062(0x261)](this[_0x2f8062(0x1a3)],_0x2f8062(0x265),this[_0x2f8062(0x23f)][_0x2f8062(0x224)](this)),this[_0x2f8062(0x261)](this[_0x2f8062(0x1a3)],_0x2f8062(0x240),(_0x2ac933,_0x198b9e)=>{const _0x2bf0b3=_0x2f8062;this[_0x2bf0b3(0x1ac)](_0x2bf0b3(0x264),_0x198b9e);}),this[_0x2f8062(0x261)](this[_0x2f8062(0x1a3)],_0x2f8062(0x235),()=>{const _0x484f0e=_0x2f8062;this[_0x484f0e(0x21f)]=!0x1;});const _0x121386=this[_0x2f8062(0x180)][_0x2f8062(0x25d)](_0x4d2167);this[_0x2f8062(0x1d3)]=!0x0;const _0x1753b2=await this[_0x2f8062(0x1a3)][_0x2f8062(0x241)](_0x3fa716,this[_0x2f8062(0x187)](_0x4d2167),_0x121386);if(this[_0x2f8062(0x258)]=_0x1753b2[_0x2f8062(0x258)],_0x1a8b50){if(!_0x1753b2[_0x2f8062(0x213)])return void this[_0x2f8062(0x194)]();this[_0x2f8062(0x1d3)]=!0x1,this[_0x2f8062(0x1dc)](),this[_0x2f8062(0x19b)][_0x2f8062(0x1ca)](),this[_0x2f8062(0x236)]=_0x1753b2[_0x2f8062(0x27d)],this[_0x2f8062(0x19b)][_0x2f8062(0x22d)]=this[_0x2f8062(0x236)],await this[_0x2f8062(0x273)](_0x4d2167,_0x1753b2,_0x2f8062(0x24d));}else await this[_0x2f8062(0x1e6)](_0x1753b2,_0x4d2167);this[_0x2f8062(0x1ef)](),this[_0x2f8062(0x21f)]=!0x0;}[_0x3414bd(0x1ef)](){const _0x325852=_0x3414bd,_0x57cae0=this[_0x325852(0x220)][_0x325852(0x231)][_0x325852(0x198)](_0x55e3f1),_0x986cc7=this[_0x325852(0x220)][_0x325852(0x231)][_0x325852(0x198)](_0x25113e),_0x576014=_0x57cae0[_0x325852(0x17e)][_0x325852(0x198)](this[_0x325852(0x1da)]);_0x576014&&_0x576014[_0x325852(0x208)]>0x1?_0x986cc7[_0x325852(0x1b8)]():this[_0x325852(0x261)](_0x57cae0,_0x325852(0x26a)+this[_0x325852(0x1da)],()=>{const _0x2f2b8c=_0x325852;0x2===_0x57cae0[_0x2f2b8c(0x17e)][_0x2f2b8c(0x198)](this[_0x2f2b8c(0x1da)])[_0x2f2b8c(0x208)]&&_0x986cc7[_0x2f2b8c(0x1b8)]();});}async[_0x3414bd(0x23f)](_0x5edec5,_0x5bcfd1,_0x283dfa,_0x1d892a){const _0x3d8455=_0x3414bd;if(!this[_0x3d8455(0x1d3)]&&this[_0x3d8455(0x201)][_0x3d8455(0x22d)]==_0x5bcfd1){const _0x1d09ec=this[_0x3d8455(0x1df)](_0x283dfa,_0x1d892a);await this[_0x3d8455(0x19e)](_0x1d09ec),this[_0x3d8455(0x1d4)](_0x1d09ec,_0x5bcfd1,_0x283dfa[_0x3d8455(0x179)])||this[_0x3d8455(0x1ac)](_0x3d8455(0x1cf));}}async[_0x3414bd(0x20a)](){const _0x3c2ed6=_0x3414bd;this[_0x3c2ed6(0x22a)]();const {locale:_0x3475cc}=this[_0x3c2ed6(0x220)];let _0x4e6413;try{_0x4e6413=await this[_0x3c2ed6(0x1a3)][_0x3c2ed6(0x1f3)]();}catch(_0x2f5705){const _0x135bc6=_0x360431(_0x3475cc,_0x3c2ed6(0x1d0));return void this[_0x3c2ed6(0x194)](_0x135bc6);}const _0x187863=_0x4e6413[_0x3c2ed6(0x24c)]||_0x4e6413[_0x3c2ed6(0x18b)];if(this[_0x3c2ed6(0x1c0)]===_0x187863[_0x3c2ed6(0x179)])await this[_0x3c2ed6(0x212)](this[_0x3c2ed6(0x220)][_0x3c2ed6(0x1bf)][_0x3c2ed6(0x191)][_0x3c2ed6(0x1f4)][_0x3c2ed6(0x1fc)](),!0x0);else{const _0x4bc6d0=_0x360431(_0x3475cc,_0x3c2ed6(0x259));this[_0x3c2ed6(0x194)](_0x4bc6d0);}}[_0x3414bd(0x22a)](){const _0x4b7570=_0x3414bd;this[_0x4b7570(0x1a3)][_0x4b7570(0x26e)](),this[_0x4b7570(0x243)]=[],clearTimeout(this[_0x4b7570(0x253)]),this[_0x4b7570(0x1ce)](this[_0x4b7570(0x1a3)]);}[_0x3414bd(0x1c8)](_0x442318){const _0x3fbafe=_0x3414bd,_0x2b101f=this[_0x3fbafe(0x220)][_0x3fbafe(0x231)][_0x3fbafe(0x198)](_0x55e3f1);this[_0x3fbafe(0x261)](_0x2b101f,_0x3fbafe(0x26a)+this[_0x3fbafe(0x1da)],(_0x2833aa,{session:_0x2e5644})=>{const _0x5515c9=_0x3fbafe;if(_0x2e5644['id']===_0x2b101f[_0x5515c9(0x21a)]){_0x2833aa[_0x5515c9(0x211)]();const _0x90ab3b=this[_0x5515c9(0x220)][_0x5515c9(0x231)][_0x5515c9(0x250)](_0x5515c9(0x22c))&&this[_0x5515c9(0x220)][_0x5515c9(0x231)][_0x5515c9(0x198)](_0x5515c9(0x22c));let _0x49659d=_0x2e5644[_0x5515c9(0x234)];_0x90ab3b&&_0x90ab3b[_0x5515c9(0x20d)]&&(_0x49659d=_0x49659d[_0x5515c9(0x20c)](_0x271f3c=>_0x5515c9(0x1c4)!==_0x271f3c)),this[_0x5515c9(0x220)][_0x5515c9(0x231)][_0x5515c9(0x198)](_0x5515c9(0x1c2))[_0x5515c9(0x25b)](_0x49659d,this[_0x5515c9(0x1da)]);}}),_0x2b101f[_0x3fbafe(0x207)](this[_0x3fbafe(0x1da)],_0x442318);}[_0x3414bd(0x1d5)](){const _0x13d766=_0x3414bd,_0x4b5714=this[_0x13d766(0x220)][_0x13d766(0x1a9)][_0x13d766(0x1b5)];this[_0x13d766(0x220)][_0x13d766(0x1a9)][_0x13d766(0x1b5)]=(..._0x2c5fd6)=>{const _0x15aee6=_0x13d766;if(!_0x2c5fd6[_0x2c5fd6[_0x15aee6(0x208)]-0x1][_0x15aee6(0x256)])throw new _0x3cb17c(_0x15aee6(0x203),this);_0x4b5714[_0x15aee6(0x1cd)](this[_0x15aee6(0x220)][_0x15aee6(0x1a9)],_0x2c5fd6);};}[_0x3414bd(0x214)](){const _0x48f250=_0x3414bd;this[_0x48f250(0x220)][_0x48f250(0x1a9)]['on'](_0x48f250(0x181),(_0x47336f,[_0x18b8b9])=>{const _0x2c7dc7=_0x48f250;if(this[_0x2c7dc7(0x201)][_0x2c7dc7(0x22d)])throw new _0x3cb17c(_0x2c7dc7(0x200),this);_0x47336f[_0x2c7dc7(0x197)](),this[_0x2c7dc7(0x1a1)]();const _0x18a5d6=this[_0x2c7dc7(0x220)][_0x2c7dc7(0x1fb)][_0x2c7dc7(0x198)](_0x2c7dc7(0x219)),_0x557d74=this[_0x2c7dc7(0x1b0)](_0x18b8b9,_0x18a5d6);0x0==_0x557d74[_0x2c7dc7(0x208)]&&_0x557d74[_0x2c7dc7(0x18a)](new _0x113a4a(0x0)),_0x47336f[_0x2c7dc7(0x24a)]=this[_0x2c7dc7(0x212)](_0x557d74)[_0x2c7dc7(0x232)](()=>{const _0x55b194=_0x2c7dc7;this[_0x55b194(0x220)][_0x55b194(0x231)][_0x55b194(0x198)](_0x334760)[_0x55b194(0x1f1)](this),this[_0x55b194(0x220)][_0x55b194(0x1a9)][_0x55b194(0x18d)](_0x55b194(0x199));})[_0x2c7dc7(0x1a4)](_0xec8144=>this[_0x2c7dc7(0x1ac)](_0x2c7dc7(0x245),_0xec8144))[_0x2c7dc7(0x277)](()=>this[_0x2c7dc7(0x1dc)]());},{'priority':_0x48f250(0x1d1)}),this[_0x48f250(0x220)]['on'](_0x48f250(0x271),async(_0x1f6b06,[_0x369899,_0x3bcae7])=>{const _0x2ae9b9=_0x48f250;_0x1f6b06[_0x2ae9b9(0x197)]();const _0x34e76a=this[_0x2ae9b9(0x220)][_0x2ae9b9(0x1bf)][_0x2ae9b9(0x191)][_0x2ae9b9(0x19a)](_0x369899);if(!this[_0x2ae9b9(0x189)][_0x2ae9b9(0x250)](_0x369899)){const _0x56c726=_0x3bcae7&&_0x3bcae7[_0x2ae9b9(0x1a9)]?_0x3bcae7[_0x2ae9b9(0x1a9)]:'',_0x569b63=_0x3bcae7&&_0x3bcae7[_0x2ae9b9(0x25e)]?_0x3bcae7[_0x2ae9b9(0x25e)]:{};await this[_0x2ae9b9(0x182)](_0x369899,_0x56c726,_0x569b63);}this[_0x2ae9b9(0x220)][_0x2ae9b9(0x1bf)][_0x2ae9b9(0x24e)]({'isUndoable':!0x1},()=>{const _0x1495f0=_0x2ae9b9;_0x34e76a[_0x1495f0(0x19f)]=!0x0,this[_0x1495f0(0x220)][_0x1495f0(0x1bf)][_0x1495f0(0x191)][_0x1495f0(0x21b)][_0x1495f0(0x184)](_0x34e76a);});},{'priority':_0x48f250(0x1d1)});}async[_0x3414bd(0x19e)](_0x19204e){const _0x1db7fb=_0x3414bd,_0x24d308=this[_0x1db7fb(0x220)][_0x1db7fb(0x231)][_0x1db7fb(0x198)](_0x49e933),{connection:_0x533368}=this[_0x1db7fb(0x220)][_0x1db7fb(0x231)][_0x1db7fb(0x198)](_0x334760),_0x466fb2=new Set();for(const _0x5f300e of _0x19204e){const _0x3aad62=_0x5f300e[_0x1db7fb(0x270)];_0x3aad62&&!_0x24d308[_0x1db7fb(0x193)](_0x3aad62)&&_0x466fb2[_0x1db7fb(0x23c)](_0x3aad62);}if(0x0===_0x466fb2[_0x1db7fb(0x230)])return;const _0x443db3=await _0x4bbd76[_0x1db7fb(0x1bb)](_0x533368,Array[_0x1db7fb(0x1c6)](_0x466fb2));for(const _0x490962 of _0x443db3)_0x24d308[_0x1db7fb(0x193)](_0x490962['id'])||_0x24d308[_0x1db7fb(0x1b1)](_0x490962);}[_0x3414bd(0x1b0)](_0x524c87,_0x51bb36={}){const _0x111630=_0x3414bd,_0x178f85=this[_0x111630(0x220)][_0x111630(0x1bf)],_0x3a30d4=[];let _0x4779e3=0x0;const _0x19176d=_0x111630(0x228)==typeof _0x524c87?{'main':_0x524c87}:_0x524c87;for(const _0x2f041a of Object[_0x111630(0x249)](_0x19176d)){if(!this[_0x111630(0x201)][_0x111630(0x190)][_0x111630(0x250)](_0x2f041a))throw new _0x3cb17c(_0x111630(0x1f6),this);const _0xf54066=this[_0x111630(0x220)][_0x111630(0x1a9)][_0x111630(0x1e0)](_0x19176d[_0x2f041a]),_0x5d9574=this[_0x111630(0x201)][_0x111630(0x19a)](_0x2f041a),_0x4480df=new _0x319bbe(_0x178f85[_0x111630(0x21d)](_0x5d9574,0x0),_0xf54066,_0x4779e3++);_0x3a30d4[_0x111630(0x18a)](_0x4480df);for(const [_0xd66f0,_0x7d58ae]of _0xf54066[_0x111630(0x1c7)]){const _0x49cc02=_0x178f85[_0x111630(0x19c)](_0x178f85[_0x111630(0x1ff)](_0x5d9574,_0x7d58ae[_0x111630(0x1b3)][_0x111630(0x24f)][_0x111630(0x215)]()),_0x178f85[_0x111630(0x1ff)](_0x5d9574,_0x7d58ae[_0x111630(0x278)][_0x111630(0x24f)][_0x111630(0x215)]())),_0x21f7b8=new _0x11b55b(_0xd66f0,null,_0x49cc02,_0x178f85[_0x111630(0x1c7)],!0x0,_0x4779e3++);_0x3a30d4[_0x111630(0x18a)](_0x21f7b8);}}if(_0x51bb36)for(const [_0x2cb681,_0x2defbe]of Object[_0x111630(0x22e)](_0x51bb36)){const _0x390fb7=_0x178f85[_0x111630(0x191)][_0x111630(0x19a)](_0x2cb681);if(!_0x390fb7)throw new _0x3cb17c(_0x111630(0x1b9),null);for(const [_0x503a71,_0x4ed94f]of Object[_0x111630(0x22e)](_0x2defbe))if(null!==_0x4ed94f){const _0x5e2c41=new _0x25e9f0(_0x390fb7,_0x503a71,null,_0x4ed94f,_0x4779e3++);_0x3a30d4[_0x111630(0x18a)](_0x5e2c41);}}return _0x3a30d4;}async[_0x3414bd(0x182)](_0xcbed8a,_0x2cfeb3,_0x336840){const _0x5cfb99=_0x3414bd;this[_0x5cfb99(0x1b0)]({[_0xcbed8a]:_0x2cfeb3},{[_0xcbed8a]:_0x336840})[_0x5cfb99(0x1e3)]((_0x1de396,_0x1d287b)=>{const _0x448093=_0x5cfb99;_0x1de396[_0x448093(0x1e4)]=this[_0x448093(0x201)][_0x448093(0x22d)]+_0x1d287b,_0x1de396[_0x448093(0x188)]=!0x0,this[_0x448093(0x22f)](_0x1de396);}),this[_0x5cfb99(0x18e)](),await this[_0x5cfb99(0x210)]();}async[_0x3414bd(0x1e6)](_0x43c964,_0x5bf99d){const _0x387cd7=_0x3414bd;let _0x532a58;this[_0x387cd7(0x236)]=_0x43c964[_0x387cd7(0x27d)];const _0x46638e=_0x43c964[_0x387cd7(0x213)]&&!_0x43c964[_0x387cd7(0x209)],_0x4094bf=_0x46638e?0x0:_0x43c964[_0x387cd7(0x1a9)][_0x387cd7(0x1e4)];if(_0x5bf99d[_0x387cd7(0x1e3)](_0x3b2226=>{const _0x2cfc25=_0x387cd7;_0x3b2226[_0x2cfc25(0x188)]=!0x0,_0x3b2226[_0x2cfc25(0x1fe)]=_0x43c964[_0x2cfc25(0x239)],_0x3b2226[_0x2cfc25(0x270)]=null;}),_0x46638e)_0x532a58=_0x5bf99d,this[_0x387cd7(0x252)](_0x532a58,_0x46638e);else{if(_0x43c964[_0x387cd7(0x209)]){const _0x5a6ff6=this[_0x387cd7(0x1b0)](_0x43c964[_0x387cd7(0x209)]);this[_0x387cd7(0x201)][_0x387cd7(0x1f4)][_0x387cd7(0x22d)]=-_0x5a6ff6[_0x387cd7(0x208)],_0x5a6ff6[_0x387cd7(0x1e3)](_0x325fcc=>{const _0x12b0ee=_0x387cd7;_0x325fcc[_0x12b0ee(0x1e4)]-=_0x5a6ff6[_0x12b0ee(0x208)],_0x325fcc[_0x12b0ee(0x1fe)]=_0x43c964[_0x12b0ee(0x239)],_0x325fcc[_0x12b0ee(0x188)]=!0x0,_0x325fcc[_0x12b0ee(0x270)]=null;}),this[_0x387cd7(0x252)](_0x5a6ff6,!0x0),this[_0x387cd7(0x19b)][_0x387cd7(0x22d)]=-_0x5a6ff6[_0x387cd7(0x208)]+this[_0x387cd7(0x236)],this[_0x387cd7(0x24b)](_0x5a6ff6);}this[_0x387cd7(0x201)][_0x387cd7(0x1f4)][_0x387cd7(0x22d)]=_0x4094bf,_0x532a58=this[_0x387cd7(0x1df)](_0x43c964[_0x387cd7(0x1a9)],_0x43c964[_0x387cd7(0x238)]),await this[_0x387cd7(0x19e)](_0x532a58),this[_0x387cd7(0x252)](_0x532a58,_0x46638e);}_0x43c964[_0x387cd7(0x179)]&&(this[_0x387cd7(0x180)][_0x387cd7(0x1ab)](_0x532a58,_0x43c964[_0x387cd7(0x179)]),this[_0x387cd7(0x1c0)]=_0x43c964[_0x387cd7(0x179)]),this[_0x387cd7(0x19b)][_0x387cd7(0x22d)]=_0x4094bf+this[_0x387cd7(0x236)],this[_0x387cd7(0x24b)](_0x532a58),_0x5bf99d[_0x387cd7(0x20c)](_0x55a72b=>{const _0x4f2857=_0x387cd7,_0x243f07=this[_0x4f2857(0x1f2)](_0x55a72b);return _0x243f07&&!this[_0x4f2857(0x189)][_0x4f2857(0x250)](_0x243f07);})[_0x387cd7(0x1e3)]((_0x548204,_0x3407ee)=>{const _0x3f0221=_0x387cd7;_0x548204[_0x3f0221(0x1e4)]=this[_0x3f0221(0x201)][_0x3f0221(0x22d)]+_0x3407ee,this[_0x3f0221(0x22f)](_0x548204);}),this[_0x387cd7(0x1e5)]()?(this[_0x387cd7(0x21e)]=0x0,this[_0x387cd7(0x18e)](!0x0),await this[_0x387cd7(0x210)]()):(this[_0x387cd7(0x1d3)]=!0x1,this[_0x387cd7(0x1dc)]());}[_0x3414bd(0x1ac)](_0x5c29be,_0x24e86e,_0x54b34f){const _0x2547bd=_0x3414bd;throw this[_0x2547bd(0x1d3)]=!0x0,_0x24e86e&&console[_0x2547bd(0x240)](_0x24e86e),_0x54b34f&&this[_0x2547bd(0x220)][_0x2547bd(0x254)](_0x2547bd(0x25c)),new _0x3cb17c(_0x5c29be,this[_0x2547bd(0x220)]);}[_0x3414bd(0x22f)](_0x113616){const _0x1704d4=_0x3414bd;this[_0x1704d4(0x279)][_0x1704d4(0x250)](_0x113616)||(this[_0x1704d4(0x279)][_0x1704d4(0x23c)](_0x113616),this[_0x1704d4(0x243)][_0x1704d4(0x18a)](_0x113616),this[_0x1704d4(0x1d2)]||_0x1704d4(0x225)==_0x113616[_0x1704d4(0x1b2)]&&!_0x113616[_0x1704d4(0x223)]||this[_0x1704d4(0x1a1)]());}[_0x3414bd(0x18e)](_0x217a4c=!0x1){const _0x1a36b9=_0x3414bd;!_0x217a4c&&this[_0x1a36b9(0x1d3)]||(this[_0x1a36b9(0x1d3)]=!0x0,clearTimeout(this[_0x1a36b9(0x253)]),this[_0x1a36b9(0x253)]=setTimeout(()=>{const _0x4a06e9=_0x1a36b9;this[_0x4a06e9(0x216)]()[_0x4a06e9(0x232)](_0x18669b=>{const _0xe9a113=_0x4a06e9;_0x18669b&&(this[_0xe9a113(0x1dc)](),this[_0xe9a113(0x1d3)]=!0x1);})[_0x4a06e9(0x1a4)](_0x4f984c=>{const _0x3640de=_0x4a06e9;this[_0x3640de(0x1dc)](),this[_0x3640de(0x1d3)]=!0x1,function(_0x1be32d){const _0x214030=_0x3640de;return _0x1be32d[_0x214030(0x1e9)][_0x214030(0x251)](_0x214030(0x1c1))||_0x1be32d[_0x214030(0x1e9)][_0x214030(0x251)](_0x214030(0x1b6))||_0x1be32d[_0x214030(0x1e9)][_0x214030(0x251)](_0x214030(0x1be));}(_0x4f984c)||this[_0x3640de(0x1ac)](_0x4f984c[_0x3640de(0x1e9)],_0x4f984c,!0x0);});},this[_0x1a36b9(0x21e)]));}[_0x3414bd(0x210)](){return new Promise(_0x851c36=>{const _0x3ab068=_0x2988;this['on'](_0x3ab068(0x21c),()=>{_0x851c36();});});}async[_0x3414bd(0x216)](){const _0xa356d2=_0x3414bd,_0x4bdb9f=this[_0xa356d2(0x220)][_0xa356d2(0x231)][_0xa356d2(0x198)](_0x25113e);if(this[_0xa356d2(0x18c)]()&&(_0x4bdb9f[_0xa356d2(0x1b8)](),this[_0xa356d2(0x1f8)]=!0x1),!this[_0xa356d2(0x1e5)]())return!0x0;const _0x5778b8=[...this[_0xa356d2(0x243)]];for(const _0x41fd28 of _0x5778b8)_0x41fd28[_0xa356d2(0x246)]=this[_0xa356d2(0x201)][_0xa356d2(0x1f4)][_0xa356d2(0x23a)](_0x41fd28);const _0x310650=this[_0xa356d2(0x180)][_0xa356d2(0x25d)](_0x5778b8),_0x17a3f3=K++,_0x105622=this[_0xa356d2(0x187)](_0x5778b8),_0x33b3c1=await this[_0xa356d2(0x1a3)][_0xa356d2(0x1cc)](_0x105622,_0x105622[_0xa356d2(0x1e4)],_0x310650);try{return await this[_0xa356d2(0x273)](_0x5778b8,_0x33b3c1,_0x17a3f3);}catch(_0x8b5187){return this[_0xa356d2(0x1ac)](_0xa356d2(0x192),_0x8b5187);}}async[_0x3414bd(0x273)](_0x44bab7,_0x1fded1,_0x1db484){const _0x54358b=_0x3414bd;if(_0x54358b(0x240)in _0x1fded1)throw _0x1fded1[_0x54358b(0x240)];let _0x3c7370=!0x1;if(_0x1fded1[_0x54358b(0x213)]){_0x1fded1[_0x54358b(0x179)]&&(this[_0x54358b(0x1c0)]=_0x1fded1[_0x54358b(0x179)]),this[_0x54358b(0x243)]=this[_0x54358b(0x243)][_0x54358b(0x20c)](_0x3608c1=>!_0x44bab7[_0x54358b(0x247)](_0x3608c1));for(const _0xd91d65 of _0x44bab7)_0xd91d65[_0x54358b(0x1fe)]=_0x54358b(0x1d9)in _0x1fded1&&_0x1fded1[_0x54358b(0x1d9)]||void 0x0;Q(_0x44bab7,_0x1fded1[_0x54358b(0x22d)]-_0x44bab7[_0x54358b(0x208)]),this[_0x54358b(0x24b)](_0x44bab7);const _0x5c6a07=_0x44bab7[_0x54358b(0x20c)](_0x3f0069=>{const _0x2e0bf0=_0x54358b;if(!_0x3f0069[_0x2e0bf0(0x188)])return!0x1;const _0x4907f2=this[_0x2e0bf0(0x1f2)](_0x3f0069);return _0x4907f2&&!this[_0x2e0bf0(0x189)][_0x2e0bf0(0x250)](_0x4907f2);});Q(_0x5c6a07,this[_0x54358b(0x201)][_0x54358b(0x22d)]),this[_0x54358b(0x252)](_0x5c6a07),_0x3c7370=!0x0,this[_0x54358b(0x21e)]=this[_0x54358b(0x20e)];}else{const _0x43e2a8=this[_0x54358b(0x1df)](_0x1fded1[_0x54358b(0x1a9)],_0x1fded1[_0x54358b(0x238)])[_0x54358b(0x20c)](_0x1d6d40=>_0x1d6d40[_0x54358b(0x1e4)]>=this[_0x54358b(0x1e1)]);_0x43e2a8[_0x54358b(0x1e3)](_0x53ada4=>this[_0x54358b(0x266)](_0x53ada4)),this[_0x54358b(0x243)]=this[_0x54358b(0x243)][_0x54358b(0x20c)](_0x13f10d=>!_0x13f10d[_0x54358b(0x188)]||!this[_0x54358b(0x189)][_0x54358b(0x250)](this[_0x54358b(0x1f2)](_0x13f10d))),this[_0x54358b(0x243)][_0x54358b(0x208)]&&Q(this[_0x54358b(0x243)],this[_0x54358b(0x243)][0x0][_0x54358b(0x1e4)]),await this[_0x54358b(0x19e)](_0x43e2a8),_0x3c7370=this[_0x54358b(0x1d4)](_0x43e2a8,_0x1fded1[_0x54358b(0x22d)],_0x1fded1[_0x54358b(0x179)]),this[_0x54358b(0x21e)]=Math[_0x54358b(0x233)](this[_0x54358b(0x21e)]/0x2);}return _0x3c7370?!this[_0x54358b(0x1e5)]()||(this[_0x54358b(0x18e)](!0x0),!0x1):this[_0x54358b(0x1ac)](_0x54358b(0x267));}[_0x3414bd(0x1d4)](_0x3bad4f,_0x206a34,_0x4ae448){const _0x2400a5=_0x3414bd;try{const _0x1dc689={'document':this[_0x2400a5(0x201)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x12bf09,operationsB:_0x2095e7,originalOperations:_0x4d7d8d}=_0x26ac80(_0x3bad4f,this[_0x2400a5(0x243)],_0x1dc689);Q(_0x12bf09,this[_0x2400a5(0x201)][_0x2400a5(0x22d)]),Q(_0x2095e7,_0x206a34);for(const _0x451e68 of _0x12bf09){const _0x2b8d1c=_0x4d7d8d[_0x2400a5(0x198)](_0x451e68);_0x451e68[_0x2400a5(0x270)]=_0x2b8d1c?_0x2b8d1c[_0x2400a5(0x270)]:null;}_0x4ae448&&(this[_0x2400a5(0x180)][_0x2400a5(0x1ab)](_0x3bad4f,_0x4ae448),this[_0x2400a5(0x1c0)]=_0x4ae448),this[_0x2400a5(0x243)]=[..._0x2095e7],this[_0x2400a5(0x252)](_0x12bf09),this[_0x2400a5(0x24b)](_0x3bad4f);}catch(_0x1522bf){return console[_0x2400a5(0x240)](_0x1522bf),!0x1;}return!0x0;}[_0x3414bd(0x252)](_0x922a33,_0x3c6581=!0x1){const _0x43d3f6=_0x3414bd;this[_0x43d3f6(0x220)][_0x43d3f6(0x1bf)][_0x43d3f6(0x24e)]({'isUndoable':!0x1,'isLocal':!0x1},_0x28fac1=>{const _0x5e70c0=_0x43d3f6;for(const _0x3709e7 of _0x922a33)this[_0x5e70c0(0x279)][_0x5e70c0(0x23c)](_0x3709e7),this[_0x5e70c0(0x266)](_0x3709e7),_0x28fac1[_0x5e70c0(0x1e8)][_0x5e70c0(0x1d7)](_0x3709e7),this[_0x5e70c0(0x220)][_0x5e70c0(0x1bf)][_0x5e70c0(0x226)](_0x3709e7);});}[_0x3414bd(0x266)](_0x471f71){const _0x27754b=_0x3414bd,_0x297c5b=this[_0x27754b(0x1f2)](_0x471f71);_0x297c5b&&this[_0x27754b(0x189)][_0x27754b(0x23c)](_0x297c5b);}[_0x3414bd(0x1f2)](_0x2d198e){const _0x375646=_0x3414bd;let _0x58b12a,_0x48ea30;switch(_0x2d198e[_0x375646(0x1b2)]){case _0x375646(0x1fa):_0x58b12a=_0x2d198e[_0x375646(0x17d)][_0x375646(0x23b)];break;case _0x375646(0x225):if(_0x48ea30=_0x2d198e[_0x375646(0x272)],!_0x48ea30)return null;_0x58b12a=_0x48ea30[_0x375646(0x23b)];break;case _0x375646(0x274):_0x58b12a=_0x2d198e[_0x375646(0x23b)];break;case _0x375646(0x248):_0x58b12a=_0x2d198e[_0x375646(0x1d6)];break;case _0x375646(0x268):_0x58b12a=_0x2d198e[_0x375646(0x1bd)][_0x375646(0x23b)];break;default:return null;}return _0x58b12a[_0x375646(0x1f0)];}[_0x3414bd(0x24b)](_0x42b315){const _0x4b3c45=_0x3414bd;_0x42b315[_0x4b3c45(0x1e3)](_0x2435c4=>{const _0x3886c8=_0x4b3c45,_0x148950=_0x2435c4[_0x3886c8(0x1ed)]();_0x148950[_0x3886c8(0x270)]=_0x2435c4[_0x3886c8(0x270)],_0x148950[_0x3886c8(0x188)]=!!_0x2435c4[_0x3886c8(0x188)],_0x148950[_0x3886c8(0x1fe)]=_0x2435c4[_0x3886c8(0x1fe)],_0x148950[_0x3886c8(0x1e4)]+=this[_0x3886c8(0x236)],_0x2435c4[_0x3886c8(0x1ec)]&&this[_0x3886c8(0x1db)][_0x3886c8(0x23c)](_0x148950),this[_0x3886c8(0x19b)][_0x3886c8(0x1d7)](_0x148950);});}[_0x3414bd(0x194)](_0x329223){const _0x33a3f9=_0x3414bd,_0x4dbce9=this[_0x33a3f9(0x220)][_0x33a3f9(0x231)][_0x33a3f9(0x198)](_0x33a3f9(0x1ad)),_0xf3b701=this[_0x33a3f9(0x220)][_0x33a3f9(0x206)];_0x329223||(_0x329223=_0x360431(_0xf3b701,_0x33a3f9(0x1a8))),_0x4dbce9[_0x33a3f9(0x1b4)](_0x329223,{'title':_0x360431(_0xf3b701,_0x33a3f9(0x18f)),'namespace':_0x33a3f9(0x20b)}),this[_0x33a3f9(0x1b7)]=!0x0,clearTimeout(this[_0x33a3f9(0x253)]),this[_0x33a3f9(0x243)]=[],this[_0x33a3f9(0x220)][_0x33a3f9(0x231)][_0x33a3f9(0x198)](_0x334760)[_0x33a3f9(0x255)]();}[_0x3414bd(0x1a1)](){const _0x49be80=_0x3414bd;this[_0x49be80(0x1d2)]||(this[_0x49be80(0x1d2)]=this[_0x49be80(0x220)][_0x49be80(0x231)][_0x49be80(0x198)](_0xd5b012)[_0x49be80(0x23c)](_0x360431(this[_0x49be80(0x220)][_0x49be80(0x206)],_0x49be80(0x17f))));}[_0x3414bd(0x1dc)](){const _0x230957=_0x3414bd;this[_0x230957(0x1d2)]&&(this[_0x230957(0x220)][_0x230957(0x231)][_0x230957(0x198)](_0xd5b012)[_0x230957(0x1d8)](this[_0x230957(0x1d2)]),this[_0x230957(0x1d2)]=null);}[_0x3414bd(0x187)](_0x2a783c){const _0x26f9e1=_0x3414bd,_0x300857=_0x2a783c[_0x26f9e1(0x25f)](_0xa80cc=>_0xa80cc[_0x26f9e1(0x17c)]());return this[_0x26f9e1(0x229)][_0x26f9e1(0x17a)](_0x300857);}[_0x3414bd(0x1df)](_0x261138,_0x279128){const _0x2720bb=_0x3414bd;return this[_0x2720bb(0x229)][_0x2720bb(0x218)](_0x261138)[_0x2720bb(0x25f)]((_0x472412,_0xa40b71)=>{const _0x4ab444=_0x2720bb,_0x2843de=_0x4ab444(0x181)==_0x279128[_0xa40b71][_0x4ab444(0x1b2)];if(_0x4ab444(0x1eb)==_0x472412[_0x4ab444(0x242)]){const _0x35f4b2=_0x472412[_0x4ab444(0x17d)][_0x4ab444(0x23b)];!this[_0x4ab444(0x201)][_0x4ab444(0x19a)](_0x35f4b2)&&(this[_0x4ab444(0x201)][_0x4ab444(0x1ea)](_0x4ab444(0x222),_0x35f4b2)[_0x4ab444(0x260)]=!0x1);}const _0xcb3deb=_0x222a29[_0x4ab444(0x1a2)](_0x472412,this[_0x4ab444(0x201)]);return _0xcb3deb[_0x4ab444(0x246)]=_0x472412[_0x4ab444(0x246)],_0xcb3deb[_0x4ab444(0x188)]=_0x2843de,_0xcb3deb[_0x4ab444(0x270)]=_0x2843de?null:_0x279128[_0xa40b71][_0x4ab444(0x1a7)],_0xcb3deb[_0x4ab444(0x1ec)]=_0x4ab444(0x227)===_0x279128[_0xa40b71][_0x4ab444(0x1b2)],_0xcb3deb[_0x4ab444(0x1fe)]=_0x279128[_0xa40b71][_0x4ab444(0x1fe)],_0xcb3deb;});}[_0x3414bd(0x183)](){const _0xebee87=_0x3414bd;this[_0xebee87(0x1f8)]=!0x0,this[_0xebee87(0x18c)]()?this[_0xebee87(0x18e)]():this[_0xebee87(0x1f8)]=!0x1;}[_0x3414bd(0x18c)](){const _0x1ce5ce=_0x3414bd,_0x334c4a=this[_0x1ce5ce(0x220)][_0x1ce5ce(0x231)][_0x1ce5ce(0x198)](_0x55e3f1)[_0x1ce5ce(0x17e)][_0x1ce5ce(0x198)](this[_0x1ce5ce(0x1da)]);return!this[_0x1ce5ce(0x220)][_0x1ce5ce(0x262)]&&!!_0x334c4a&&_0x334c4a[_0x1ce5ce(0x208)]>0x1&&this[_0x1ce5ce(0x1f8)];}[_0x3414bd(0x1e5)](){const _0x13d04b=_0x3414bd;return this[_0x13d04b(0x243)][_0x13d04b(0x208)]>0x0||this[_0x13d04b(0x18c)]();}}l[_0x3414bd(0x1bc)]=_0x3393fb;export default l;class J extends Error{}function Q(_0x60dcbc,_0x1451bb){const _0x463caf=_0x3414bd;for(const _0xc96cc2 of _0x60dcbc)_0xc96cc2[_0x463caf(0x1e4)]=_0x1451bb++;}function _0x2988(_0x13d57c,_0x3bf42e){const _0x34160b=_0x3416();return _0x2988=function(_0x2988e0,_0xca34ad){_0x2988e0=_0x2988e0-0x179;let _0x5bf227=_0x34160b[_0x2988e0];return _0x5bf227;},_0x2988(_0x13d57c,_0x3bf42e);}class X{constructor(_0x1557cd){const _0x51995a=_0x3414bd;this[_0x51995a(0x1c3)]=_0x1557cd,this[_0x51995a(0x26c)]=new WeakMap();}[_0x3414bd(0x25d)](_0x4707ab){const _0x40a89f=_0x3414bd;let _0x587c8f=_0x4707ab[_0x40a89f(0x208)];for(;_0x587c8f--;){const _0x535c1b=_0x4707ab[_0x587c8f];if(!this[_0x40a89f(0x1c3)][_0x40a89f(0x250)](_0x535c1b)){if(!this[_0x40a89f(0x26c)][_0x40a89f(0x250)](_0x535c1b)){const _0x389544=_0x957c7b()[_0x40a89f(0x215)](0x1,0x12);this[_0x40a89f(0x26c)][_0x40a89f(0x1b5)](_0x535c1b,_0x389544);}return this[_0x40a89f(0x26c)][_0x40a89f(0x198)](_0x535c1b);}}}[_0x3414bd(0x1ab)](_0x41807c,_0x3117ec){const _0x5ee36f=_0x3414bd;if(!_0x3117ec)return;let _0x4dc0b7=_0x41807c[_0x5ee36f(0x208)];for(;_0x4dc0b7--;){const _0x518684=_0x41807c[_0x4dc0b7];this[_0x5ee36f(0x1c3)][_0x5ee36f(0x250)](_0x518684)||this[_0x5ee36f(0x26c)][_0x5ee36f(0x1b5)](_0x518684,_0x3117ec);}}}
|
|
23
|
+
const _0x3715a6=_0x3be0;(function(_0x4c0631,_0x3d85d4){const _0x5c2d9d=_0x3be0,_0x574b64=_0x4c0631();while(!![]){try{const _0x240cb7=-parseInt(_0x5c2d9d(0x165))/0x1+-parseInt(_0x5c2d9d(0x1c2))/0x2+parseInt(_0x5c2d9d(0xd8))/0x3+-parseInt(_0x5c2d9d(0x19e))/0x4+-parseInt(_0x5c2d9d(0x123))/0x5*(parseInt(_0x5c2d9d(0xef))/0x6)+-parseInt(_0x5c2d9d(0x124))/0x7*(parseInt(_0x5c2d9d(0x186))/0x8)+parseInt(_0x5c2d9d(0x15a))/0x9*(parseInt(_0x5c2d9d(0xed))/0xa);if(_0x240cb7===_0x3d85d4)break;else _0x574b64['push'](_0x574b64['shift']());}catch(_0x34820a){_0x574b64['push'](_0x574b64['shift']());}}}(_0x29cd,0x4ec89));import{Plugin as _0x1b5d80,PendingActions as _0x2ca074}from'ckeditor5/src/core.js';function _0x3be0(_0x1593e4,_0x4d76cf){const _0x29cdfb=_0x29cd();return _0x3be0=function(_0x3be0ce,_0x532fc0){_0x3be0ce=_0x3be0ce-0xd1;let _0x48dee2=_0x29cdfb[_0x3be0ce];return _0x48dee2;},_0x3be0(_0x1593e4,_0x4d76cf);}import{CKEditorError as _0x2259e5,version as _0x2bb59a,uid as _0x21fa3f}from'ckeditor5/src/utils.js';import{Notification as _0x234970}from'ckeditor5/src/ui.js';import{transformSets as _0x5603fa,NoOperation as _0x33824e,InsertOperation as _0x309714,MarkerOperation as _0x495286,RootAttributeOperation as _0x2ca858,OperationFactory as _0x2fed75,History as _0x2a1894}from'ckeditor5/src/engine.js';import _0x25650c from'./websocketgateway.js';import _0x3445c6 from'./sessions.js';import _0x43b129 from'./usermarkers.js';function _0x29cd(){const _0x40dece=['enqueueChange','change:_isPendingUpdate','rootName','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.','rtc-offline','_operationIdentifier','type','error','PENDING_ACTION_SENDING_DATA','_connectAfterSessionHasBeenFlushed','_isLoaded','isDocumentOperation','getRoot','userId','path','_handleExternalOperations','bind','ready','getOperationAuthor','set','version','connected','end','1763244OmbKVo','realtimecollaborationclient-sendbufferedoperations','_hasSynchronizationProblem','_bufferRootLoad','isOfficialPlugin','disconnected','directChange','cloud-services-internal-error:\x20Request\x20timeout.','_handleReceivedOperations','roots','initData','disableReadOnlyMode','insert','getUser','filter','cloudServices.bundleVersion','_disconnectionOperations','lastSyncVersion','_isAttached','reconnect','_initSessionsHandling','10DbTfYF','addRoot','11082GtPIuH','change:_isEditingAllowed','change:hasDomSelection','_shouldSendUpdate','_pendingAction','unregister','define','createdAt','length','_isInit','cloud-services-internal-error:\x20Not\x20connected.','config','batch','isUndoneOperation','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','affectedSelectable','_handleServerResponse','getMany','position','compress','addRootAttribute','_handleReconnectionResponse','cloudDocumentVersion','_waitUntilSynced','createPositionAt','_sendBufferedOperations','_shouldSendSelectionUpdate','real-time-collaboration','InsertOperation','_handleReconnectionError','disconnect','_isConnected','markers','stopListening','_clearPendingAction','_setUpDataInit','CollaborativeEditingService','setPermissions','slice','_getAffectedRoot','state','register','serverHistory','realtimecollaborationclient-init-session-connection-error','_compressor','_setPendingAction','__className','history','high','_crash','return','Synchronization\x20issue','815oPFOET','1099knQPdT','differ','_sendBufferedOperationsDelayed','wasUndone','sessionAdd:','permissions','targetPosition','$root','_getOperationsFromInitData','pluginName','editing','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','document:write','sessionId','_disconnectService','start','_currentBufferDelay','_addKnownRoot','_compressOperations','selection','_baseBufferDelay','lastOperationAcceptedAt','collaboration-missing-channelid','wereChangesApplied','lastDocumentSession','_applyOperationsSet','_knownRootNames','message','_handleInitialConnectionData','fromJSON','createPositionFromPath','multi-root-editor-root-attributes-no-root','addUser','setIdForTheLastOperation','_loadRoot','showWarning','reset','sessionCreatedAt','CommentsOnly','requires','then','realtimecollaborationclient-init-document-already-initialized','plugins','stop','_document','string','clone','round','_operationToId','_authorId','_saveOperationInBuffer','view','init','collaboration','13706910DjTqNI','attributes','409','from','realtimecollaborationclient-handleserverresponse','keys','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.','_ignoredOperations','enableReadOnlyMode','_initThrowingOnDataSet','_sendBufferedOperationsDelayId','360204CxugDF','includes','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_connectService','change:range','baseVersion','_lastServerVersion','_lastSyncedOperationId','realtimecollaborationclient-init-connection-failed','createUserMarkerOperations','decompress','_knownOperations','marker','realtimecollaborationclient-error','channelSessions','document','push','collaboration.channelId','realtimecollaborationclient-init-non-existent-root','Notification','connection','_isPendingUpdate','getIdOfTheLastOperation','loadRoot','createRange','editor','suppressErrorInCollaboration','realtimecollaborationclient-initservice-incorrect-server-operation','root','_fetchMissingUsers','addOperation','apply','getConnectedSessions','25592ffpVeX','realtimecollaborationclient-initservice-internal-error','forEach','rtc-destroyed','_bufferedOperations','_service','_isDisconnection','createRoot','affectsData','operationsReceived','get','listenTo','reconnection:\x20flushed\x20session','_hasSelectionChanged','_decompressOperations','newRange','destroy','sendOperations','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','toJSON','isEnabled','entries','_handleSendingSelectionMarkers','removeFromReconnectionStack','584660KPXGZk','addToReconnectionStack','Permissions','_offset','has','move','getOperations','getDocumentDetails','_updateServerHistory','fire','_refreshUserSelectionMarkers','connect','currentDocumentSession','isReadOnly','_channelId','mySessionId','data','startsWith','off','404','remove','applyOperation','add','code','finally','_isEditingAllowed','cs:removeUser','catch','metadata','locale','offset','size','lastOperationId','rootsAttributes','isPremiumPlugin','map','956736LPUrZT','model','RealTimeCollaborationClient','parse'];_0x29cd=function(){return _0x40dece;};return _0x29cd();}import{getTranslation as _0x3bb041}from'../common-translations.js';import{Compressor as _0x1d3e3d}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5a7349}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x10fb90,CollaborativeEditingService as _0x27c7ce}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Y=0x1;class l extends _0x1b5d80{static get[_0x3715a6(0x14b)](){return[_0x25650c,_0x3445c6,_0x43b129,_0x2ca074,_0x5a7349,_0x234970];}static get[_0x3715a6(0x12d)](){const _0x47e5fa=_0x3715a6;return _0x47e5fa(0x1c4);}static get[_0x3715a6(0xdc)](){return!0x0;}static get[_0x3715a6(0x1c0)](){return!0x0;}get[_0x3715a6(0x105)](){const _0x4f1f08=_0x3715a6;return this[_0x4f1f08(0x16b)]+this[_0x4f1f08(0x1a1)];}get[_0x3715a6(0x16b)](){const _0x59b0cc=_0x3715a6;return this[_0x59b0cc(0x119)][_0x59b0cc(0xd5)]-this[_0x59b0cc(0x1a1)];}get[_0x3715a6(0xe9)](){const _0x1e5eac=_0x3715a6,_0x156365=this[_0x1e5eac(0x119)][_0x1e5eac(0x1a4)]();for(let _0x35767f=_0x156365[_0x1e5eac(0xf7)]-0x1;_0x35767f>=0x0;_0x35767f--){const _0x21e4f5=_0x156365[_0x35767f];if(!this[_0x1e5eac(0xe8)][_0x1e5eac(0x1a2)](_0x21e4f5))return _0x21e4f5[_0x1e5eac(0x16a)]+0x1-this[_0x1e5eac(0x1a1)];}return 0x0;}constructor(_0x23b609){const _0x554c57=_0x3715a6;if(super(_0x23b609),this[_0x554c57(0x1a1)]=0x0,this[_0x554c57(0x131)]=null,this[_0x554c57(0x119)]=new _0x2a1894(),this[_0x554c57(0x17e)][_0x554c57(0xfa)][_0x554c57(0xf5)](_0x554c57(0x159),{}),this[_0x554c57(0x1ac)]=this[_0x554c57(0x17e)][_0x554c57(0xfa)][_0x554c57(0x190)](_0x554c57(0x176)),!this[_0x554c57(0x1ac)])throw new _0x2259e5(_0x554c57(0x13a),this);const _0x5a1703=_0x23b609[_0x554c57(0xfa)][_0x554c57(0x190)](_0x554c57(0xe7))||_0x2bb59a;this[_0x554c57(0x18b)]=new l[(_0x554c57(0x113))](_0x5a1703,this[_0x554c57(0x1ac)]),this[_0x554c57(0x150)]=this[_0x554c57(0x17e)][_0x554c57(0x1c3)][_0x554c57(0x174)],this[_0x554c57(0x11b)]=new _0x1d3e3d(),this[_0x554c57(0x18a)]=[],this[_0x554c57(0x170)]=new WeakSet(),this[_0x554c57(0x13e)]=new Set(),this[_0x554c57(0xd4)](_0x554c57(0x17a),!0x1),this[_0x554c57(0xd4)](_0x554c57(0xda),!0x1),this[_0x554c57(0xf3)]=null,this[_0x554c57(0x193)]=!0x1,this[_0x554c57(0x164)]=null,this[_0x554c57(0x138)]=0x12c,this[_0x554c57(0x134)]=this[_0x554c57(0x138)],this[_0x554c57(0x16c)]=null,this[_0x554c57(0xe8)]=new WeakSet(),this[_0x554c57(0x1cb)]=new it(this[_0x554c57(0xe8)]);}[_0x3715a6(0x158)](){const _0x21cabf=_0x3715a6,_0x2fc2a3=this[_0x21cabf(0x17e)],_0x25bb73=_0x2fc2a3[_0x21cabf(0x14e)][_0x21cabf(0x190)](_0x5a7349),_0x54f8f4=_0x2fc2a3[_0x21cabf(0x14e)][_0x21cabf(0x190)](_0x25650c);this[_0x21cabf(0x191)](_0x25bb73,_0x21cabf(0xd3),(_0x41a7dd,_0x538e2a)=>{const _0x82ec20=_0x21cabf,_0x4f6d0a=_0x538e2a[0x0];_0x4f6d0a[_0x82ec20(0x155)]&&(_0x41a7dd[_0x82ec20(0x121)]=_0x25bb73[_0x82ec20(0xe5)](_0x4f6d0a[_0x82ec20(0x155)]),_0x41a7dd[_0x82ec20(0x14f)]()),null===_0x4f6d0a[_0x82ec20(0x155)]&&(_0x41a7dd[_0x82ec20(0x121)]=null,_0x41a7dd[_0x82ec20(0x14f)]());},{'priority':_0x21cabf(0x11f)}),this[_0x21cabf(0x191)](_0x2fc2a3[_0x21cabf(0x1c3)][_0x21cabf(0x174)][_0x21cabf(0x137)],_0x21cabf(0x169),(_0x427fe6,_0x348b8b)=>{const _0x5dc619=_0x21cabf;_0x348b8b[_0x5dc619(0xde)]&&this[_0x5dc619(0x1a8)]();}),this[_0x21cabf(0x191)](_0x2fc2a3[_0x21cabf(0x12e)][_0x21cabf(0x157)],_0x21cabf(0xf1),()=>{const _0x76f7cc=_0x21cabf;this[_0x76f7cc(0x1a8)]();}),this[_0x21cabf(0x163)](),_0x2fc2a3[_0x21cabf(0x1c3)]['on'](_0x21cabf(0x1b3),(_0x37a018,_0xbda299)=>{const _0x20fe17=_0x21cabf,_0x4d473d=_0xbda299[0x0];_0x4d473d[_0x20fe17(0x1d1)]&&(this[_0x20fe17(0x156)](_0x4d473d),this[_0x20fe17(0xf2)]()&&this[_0x20fe17(0x126)]());}),this[_0x21cabf(0x112)](),this[_0x21cabf(0xd1)](_0x21cabf(0x1b7))['to'](_0x54f8f4,_0x21cabf(0x117),this,_0x21cabf(0xda),(_0x2b0ac0,_0xc69124)=>_0x21cabf(0xd6)===_0x2b0ac0&&!_0xc69124),this['on'](_0x21cabf(0xf0),()=>{const _0x2f1f26=_0x21cabf;this[_0x2f1f26(0x1b7)]?_0x2fc2a3[_0x2f1f26(0xe3)](_0x2f1f26(0x1ca)):_0x2fc2a3[_0x2f1f26(0x162)](_0x2f1f26(0x1ca));}),this[_0x21cabf(0x1b7)]?_0x2fc2a3[_0x21cabf(0xe3)](_0x21cabf(0x1ca)):_0x2fc2a3[_0x21cabf(0x162)](_0x21cabf(0x1ca)),this[_0x21cabf(0xd4)](_0x21cabf(0x10e),!0x1);}async[_0x3715a6(0xeb)](){const _0x2a54e4=_0x3715a6,_0x479e75=this[_0x2a54e4(0x17e)][_0x2a54e4(0x14e)][_0x2a54e4(0x190)](_0x3445c6),_0x34168b=this[_0x2a54e4(0x17e)][_0x2a54e4(0x14e)][_0x2a54e4(0x190)](_0x25650c);try{this[_0x2a54e4(0x17a)]=!0x0,_0x479e75[_0x2a54e4(0xf4)](this[_0x2a54e4(0x1ac)]);const _0xf889b9=await this[_0x2a54e4(0x18b)][_0x2a54e4(0xeb)](_0x34168b[_0x2a54e4(0x179)],this[_0x2a54e4(0xe9)]);await this[_0x2a54e4(0x104)](_0xf889b9)&&(this[_0x2a54e4(0x17a)]=!0x1,this[_0x2a54e4(0x111)]());const _0x11e6d2=await this[_0x2a54e4(0x18b)][_0x2a54e4(0x185)]();_0x479e75[_0x2a54e4(0x118)](this[_0x2a54e4(0x1ac)],_0x11e6d2),this[_0x2a54e4(0x19c)](),this[_0x2a54e4(0x10e)]=!0x0;}catch(_0x4ad71b){if(function(_0x10fb73){const _0x4ef799=_0x2a54e4;return _0x4ef799(0x1b1)===_0x10fb73[_0x4ef799(0x1b5)];}(_0x4ad71b)&&this[_0x2a54e4(0x131)])await this[_0x2a54e4(0x1cf)]();else{if(function(_0x7c9371){const _0x4af8d2=_0x2a54e4;return _0x4af8d2(0x15c)===_0x7c9371[_0x4af8d2(0x1b5)];}(_0x4ad71b)){const _0x15ec63=_0x3bb041(this[_0x2a54e4(0x17e)][_0x2a54e4(0x1bb)],_0x2a54e4(0x167));this[_0x2a54e4(0x10c)](_0x15ec63);}else{if(!(_0x4ad71b instanceof Z))throw _0x4ad71b;this[_0x2a54e4(0x10c)]();}}}}[_0x3715a6(0x196)](){const _0x58cdb4=_0x3715a6,_0x233d66=this[_0x58cdb4(0x17e)][_0x58cdb4(0x14e)][_0x58cdb4(0x190)](_0x25650c),_0x37f3b7=this[_0x58cdb4(0x17e)][_0x58cdb4(0x14e)][_0x58cdb4(0x190)](_0x3445c6);this[_0x58cdb4(0x17e)][_0x58cdb4(0x162)](_0x58cdb4(0x189)),_0x37f3b7[_0x58cdb4(0x173)][_0x58cdb4(0x1a2)](this[_0x58cdb4(0x1ac)])&&_0x37f3b7[_0x58cdb4(0xf4)](this[_0x58cdb4(0x1ac)]),_0x233d66[_0x58cdb4(0x19d)](this),this[_0x58cdb4(0x132)](),super[_0x58cdb4(0x196)]();}async[_0x3715a6(0x104)](_0x107d61){const _0xa4f274=_0x3715a6;if(this[_0xa4f274(0x131)]!==_0x107d61[_0xa4f274(0x131)]&&this[_0xa4f274(0x16c)]!==_0x107d61[_0xa4f274(0x1be)])throw new Z();return this[_0xa4f274(0x131)]=_0x107d61[_0xa4f274(0x131)],this[_0xa4f274(0xff)]([],{..._0x107d61,'wereChangesApplied':!0x1,'data':_0x107d61[_0xa4f274(0x1ae)]},_0xa4f274(0xeb));}async[_0x3715a6(0x168)](_0x1f4487,_0x53e562=!0x1){const _0x189735=_0x3715a6,{connection:_0x4a4ce8}=this[_0x189735(0x17e)][_0x189735(0x14e)][_0x189735(0x190)](_0x25650c);l[_0x189735(0x113)][_0x189735(0x185)](_0x4a4ce8,this[_0x189735(0x1ac)])[_0x189735(0x14c)](_0x2a5007=>this[_0x189735(0xec)](_0x2a5007))[_0x189735(0x1b9)](_0x2475d6=>{const _0x591c9c=_0x189735;this[_0x591c9c(0x120)](_0x591c9c(0x11a),_0x2475d6);}),this[_0x189735(0x191)](this[_0x189735(0x18b)],_0x189735(0x18f),this[_0x189735(0xe0)][_0x189735(0xd1)](this)),this[_0x189735(0x191)](this[_0x189735(0x18b)],_0x189735(0x1cd),(_0x535166,_0x4c3665)=>{const _0x5486ab=_0x189735;this[_0x5486ab(0x120)](_0x5486ab(0x187),_0x4c3665);}),this[_0x189735(0x191)](this[_0x189735(0x18b)],_0x189735(0xdd),()=>{const _0x413f69=_0x189735;this[_0x413f69(0x10e)]=!0x1;});const _0x320d37=this[_0x189735(0x1cb)][_0x189735(0x17b)](_0x1f4487);this[_0x189735(0x17a)]=!0x0;const _0x37cb88=await this[_0x189735(0x18b)][_0x189735(0x1a9)](_0x4a4ce8,this[_0x189735(0x136)](_0x1f4487),_0x320d37);if(this[_0x189735(0x131)]=_0x37cb88[_0x189735(0x131)],_0x53e562){if(!_0x37cb88[_0x189735(0x13b)])return void this[_0x189735(0x10c)]();this[_0x189735(0x17a)]=!0x1,this[_0x189735(0x111)](),this[_0x189735(0x119)][_0x189735(0x148)](),this[_0x189735(0x1a1)]=_0x37cb88[_0x189735(0x1bc)],this[_0x189735(0x119)][_0x189735(0xd5)]=this[_0x189735(0x1a1)],await this[_0x189735(0xff)](_0x1f4487,_0x37cb88,_0x189735(0x192));}else await this[_0x189735(0x140)](_0x37cb88,_0x1f4487);this[_0x189735(0x19c)](),this[_0x189735(0x10e)]=!0x0;}[_0x3715a6(0x19c)](){const _0x435a3a=_0x3715a6,_0x44746c=this[_0x435a3a(0x17e)][_0x435a3a(0x14e)][_0x435a3a(0x190)](_0x3445c6),_0x23b8e6=this[_0x435a3a(0x17e)][_0x435a3a(0x14e)][_0x435a3a(0x190)](_0x43b129),_0x57e799=_0x44746c[_0x435a3a(0x173)][_0x435a3a(0x190)](this[_0x435a3a(0x1ac)]);_0x57e799&&_0x57e799[_0x435a3a(0xf7)]>0x1?_0x23b8e6[_0x435a3a(0x16e)]():this[_0x435a3a(0x191)](_0x44746c,_0x435a3a(0x128)+this[_0x435a3a(0x1ac)],()=>{const _0x3b942a=_0x435a3a;0x2===_0x44746c[_0x3b942a(0x173)][_0x3b942a(0x190)](this[_0x3b942a(0x1ac)])[_0x3b942a(0xf7)]&&_0x23b8e6[_0x3b942a(0x16e)]();});}async[_0x3715a6(0xe0)](_0x5189e5,_0x43a06f,_0x46187c,_0x5f09e3){const _0x10a7fc=_0x3715a6;if(!this[_0x10a7fc(0x17a)]&&this[_0x10a7fc(0x150)][_0x10a7fc(0xd5)]==_0x43a06f){const _0x23f608=this[_0x10a7fc(0x194)](_0x46187c,_0x5f09e3);await this[_0x10a7fc(0x182)](_0x23f608),this[_0x10a7fc(0x1d5)](_0x23f608,_0x43a06f,_0x46187c[_0x10a7fc(0x1be)])||this[_0x10a7fc(0x120)](_0x10a7fc(0x180));}}async[_0x3715a6(0x1cf)](){const _0x24d6e0=_0x3715a6;this[_0x24d6e0(0x132)]();const {locale:_0xa221c3}=this[_0x24d6e0(0x17e)];let _0x24625b;try{_0x24625b=await this[_0x24d6e0(0x18b)][_0x24d6e0(0x1a5)]();}catch(_0x1d7bd8){const _0x532ded=_0x3bb041(_0xa221c3,_0x24d6e0(0xfd));return void this[_0x24d6e0(0x10c)](_0x532ded);}const _0x3983f0=_0x24625b[_0x24d6e0(0x1aa)]||_0x24625b[_0x24d6e0(0x13c)];if(this[_0x24d6e0(0x16c)]===_0x3983f0[_0x24d6e0(0x1be)])await this[_0x24d6e0(0x168)](this[_0x24d6e0(0x17e)][_0x24d6e0(0x1c3)][_0x24d6e0(0x174)][_0x24d6e0(0x11e)][_0x24d6e0(0x1a4)](),!0x0);else{const _0x34ed13=_0x3bb041(_0xa221c3,_0x24d6e0(0x1c9));this[_0x24d6e0(0x10c)](_0x34ed13);}}[_0x3715a6(0x132)](){const _0x7460b7=_0x3715a6;this[_0x7460b7(0x18b)][_0x7460b7(0x10d)](),this[_0x7460b7(0x18a)]=[],clearTimeout(this[_0x7460b7(0x164)]),this[_0x7460b7(0x110)](this[_0x7460b7(0x18b)]);}[_0x3715a6(0xec)](_0x186bf2){const _0x27ff22=_0x3715a6,_0x333b6f=this[_0x27ff22(0x17e)][_0x27ff22(0x14e)][_0x27ff22(0x190)](_0x3445c6);this[_0x27ff22(0x191)](_0x333b6f,_0x27ff22(0x128)+this[_0x27ff22(0x1ac)],(_0x57bd1d,{session:_0x2bf31b})=>{const _0x155220=_0x27ff22;if(_0x2bf31b['id']===_0x333b6f[_0x155220(0x1ad)]){_0x57bd1d[_0x155220(0x1b0)]();const _0x2790f9=this[_0x155220(0x17e)][_0x155220(0x14e)][_0x155220(0x1a2)](_0x155220(0x14a))&&this[_0x155220(0x17e)][_0x155220(0x14e)][_0x155220(0x190)](_0x155220(0x14a));let _0x3d90b1=_0x2bf31b[_0x155220(0x129)];_0x2790f9&&_0x2790f9[_0x155220(0x19a)]&&(_0x3d90b1=_0x3d90b1[_0x155220(0xe6)](_0x51ed97=>_0x155220(0x130)!==_0x51ed97)),this[_0x155220(0x17e)][_0x155220(0x14e)][_0x155220(0x190)](_0x155220(0x1a0))[_0x155220(0x114)](_0x3d90b1,this[_0x155220(0x1ac)]);}}),_0x333b6f[_0x27ff22(0x118)](this[_0x27ff22(0x1ac)],_0x186bf2);}[_0x3715a6(0x163)](){const _0x472218=_0x3715a6,_0x2590db=this[_0x472218(0x17e)][_0x472218(0x1ae)][_0x472218(0xd4)];this[_0x472218(0x17e)][_0x472218(0x1ae)][_0x472218(0xd4)]=(..._0x17e3f5)=>{const _0x4d12c7=_0x472218;if(!_0x17e3f5[_0x17e3f5[_0x4d12c7(0xf7)]-0x1][_0x4d12c7(0x17f)])throw new _0x2259e5(_0x4d12c7(0x198),this);_0x2590db[_0x4d12c7(0x184)](this[_0x4d12c7(0x17e)][_0x4d12c7(0x1ae)],_0x17e3f5);};}[_0x3715a6(0x112)](){const _0x45b10c=_0x3715a6;this[_0x45b10c(0x17e)][_0x45b10c(0x1ae)]['on'](_0x45b10c(0x158),(_0x45f3ea,[_0x232111])=>{const _0xe4b03f=_0x45b10c;if(this[_0xe4b03f(0x150)][_0xe4b03f(0xd5)])throw new _0x2259e5(_0xe4b03f(0x14d),this);_0x45f3ea[_0xe4b03f(0x14f)](),this[_0xe4b03f(0x11c)]();const _0x4a451c=this[_0xe4b03f(0x17e)][_0xe4b03f(0xfa)][_0xe4b03f(0x190)](_0xe4b03f(0x1bf)),_0x3b40c5=this[_0xe4b03f(0x12c)](_0x232111,_0x4a451c);0x0==_0x3b40c5[_0xe4b03f(0xf7)]&&_0x3b40c5[_0xe4b03f(0x175)](new _0x33824e(0x0)),_0x45f3ea[_0xe4b03f(0x121)]=this[_0xe4b03f(0x168)](_0x3b40c5)[_0xe4b03f(0x14c)](()=>{const _0x27bf5e=_0xe4b03f;this[_0x27bf5e(0x17e)][_0x27bf5e(0x14e)][_0x27bf5e(0x190)](_0x25650c)[_0x27bf5e(0x19f)](this),this[_0x27bf5e(0x17e)][_0x27bf5e(0x1ae)][_0x27bf5e(0x1a7)](_0x27bf5e(0xd2));})[_0xe4b03f(0x1b9)](_0x590242=>this[_0xe4b03f(0x120)](_0xe4b03f(0x16d),_0x590242))[_0xe4b03f(0x1b6)](()=>this[_0xe4b03f(0x111)]());},{'priority':_0x45b10c(0x11f)}),this[_0x45b10c(0x17e)]['on'](_0x45b10c(0x17c),async(_0xb0541e,[_0x3214fa,_0x1c79c8])=>{const _0xa8daa7=_0x45b10c;_0xb0541e[_0xa8daa7(0x14f)]();const _0x180369=this[_0xa8daa7(0x17e)][_0xa8daa7(0x1c3)][_0xa8daa7(0x174)][_0xa8daa7(0x1d2)](_0x3214fa);if(!this[_0xa8daa7(0x13e)][_0xa8daa7(0x1a2)](_0x3214fa)){const _0x18f97a=_0x1c79c8&&_0x1c79c8[_0xa8daa7(0x1ae)]?_0x1c79c8[_0xa8daa7(0x1ae)]:'',_0x27dacb=_0x1c79c8&&_0x1c79c8[_0xa8daa7(0x15b)]?_0x1c79c8[_0xa8daa7(0x15b)]:{};await this[_0xa8daa7(0x146)](_0x3214fa,_0x18f97a,_0x27dacb);}this[_0xa8daa7(0x17e)][_0xa8daa7(0x1c3)][_0xa8daa7(0x1c6)]({'isUndoable':!0x1},()=>{const _0x115ab6=_0xa8daa7;_0x180369[_0x115ab6(0x1d0)]=!0x0,this[_0x115ab6(0x17e)][_0x115ab6(0x1c3)][_0x115ab6(0x174)][_0x115ab6(0x125)][_0x115ab6(0xdb)](_0x180369);});},{'priority':_0x45b10c(0x11f)});}async[_0x3715a6(0x182)](_0xf3c74e){const _0xb39f06=_0x3715a6,_0x18f5e0=this[_0xb39f06(0x17e)][_0xb39f06(0x14e)][_0xb39f06(0x190)](_0x5a7349),{connection:_0x301f21}=this[_0xb39f06(0x17e)][_0xb39f06(0x14e)][_0xb39f06(0x190)](_0x25650c),_0x292458=new Set();for(const _0xb771ab of _0xf3c74e){const _0x33244b=_0xb771ab[_0xb39f06(0x155)];_0x33244b&&!_0x18f5e0[_0xb39f06(0xe5)](_0x33244b)&&_0x292458[_0xb39f06(0x1b4)](_0x33244b);}if(0x0===_0x292458[_0xb39f06(0x1bd)])return;const _0x3fd44c=await _0x10fb90[_0xb39f06(0x100)](_0x301f21,Array[_0xb39f06(0x15d)](_0x292458));for(const _0xaafa of _0x3fd44c)_0x18f5e0[_0xb39f06(0xe5)](_0xaafa['id'])||_0x18f5e0[_0xb39f06(0x144)](_0xaafa);}[_0x3715a6(0x12c)](_0xf6e984,_0x2d5255={}){const _0xd38880=_0x3715a6,_0x129f27=this[_0xd38880(0x17e)][_0xd38880(0x1c3)],_0x5f1792=[];let _0x49af74=0x0;const _0x37900d=_0xd38880(0x151)==typeof _0xf6e984?{'main':_0xf6e984}:_0xf6e984;for(const _0x22cf54 of Object[_0xd38880(0x15f)](_0x37900d)){if(!this[_0xd38880(0x150)][_0xd38880(0xe1)][_0xd38880(0x1a2)](_0x22cf54))throw new _0x2259e5(_0xd38880(0x177),this);const _0x2d2bc6=this[_0xd38880(0x17e)][_0xd38880(0x1ae)][_0xd38880(0x1c5)](_0x37900d[_0x22cf54]),_0x56ffeb=this[_0xd38880(0x150)][_0xd38880(0x1d2)](_0x22cf54),_0x1f28b9=new _0x309714(_0x129f27[_0xd38880(0x107)](_0x56ffeb,0x0),_0x2d2bc6,_0x49af74++);_0x5f1792[_0xd38880(0x175)](_0x1f28b9);for(const [_0x4db733,_0xfeee1d]of _0x2d2bc6[_0xd38880(0x10f)]){const _0x1f4345=_0x129f27[_0xd38880(0x17d)](_0x129f27[_0xd38880(0x142)](_0x56ffeb,_0xfeee1d[_0xd38880(0x133)][_0xd38880(0x1d4)][_0xd38880(0x115)]()),_0x129f27[_0xd38880(0x142)](_0x56ffeb,_0xfeee1d[_0xd38880(0xd7)][_0xd38880(0x1d4)][_0xd38880(0x115)]())),_0x150167=new _0x495286(_0x4db733,null,_0x1f4345,_0x129f27[_0xd38880(0x10f)],!0x0,_0x49af74++);_0x5f1792[_0xd38880(0x175)](_0x150167);}}if(_0x2d5255)for(const [_0x3d0ad9,_0x53c54f]of Object[_0xd38880(0x19b)](_0x2d5255)){const _0x385cfc=_0x129f27[_0xd38880(0x174)][_0xd38880(0x1d2)](_0x3d0ad9);if(!_0x385cfc)throw new _0x2259e5(_0xd38880(0x143),null);for(const [_0x1dad97,_0x40dc06]of Object[_0xd38880(0x19b)](_0x53c54f))if(null!==_0x40dc06){const _0x212f0b=new _0x2ca858(_0x385cfc,_0x1dad97,null,_0x40dc06,_0x49af74++);_0x5f1792[_0xd38880(0x175)](_0x212f0b);}}return _0x5f1792;}async[_0x3715a6(0x146)](_0x23bad5,_0x354d22,_0x12eac6){const _0x62aafb=_0x3715a6;this[_0x62aafb(0x12c)]({[_0x23bad5]:_0x354d22},{[_0x23bad5]:_0x12eac6})[_0x62aafb(0x188)]((_0x11bcf4,_0x4b5df9)=>{const _0x17d75d=_0x62aafb;_0x11bcf4[_0x17d75d(0x16a)]=this[_0x17d75d(0x150)][_0x17d75d(0xd5)]+_0x4b5df9,_0x11bcf4[_0x17d75d(0xf8)]=!0x0,this[_0x17d75d(0x156)](_0x11bcf4);}),this[_0x62aafb(0x126)](),await this[_0x62aafb(0x106)]();}async[_0x3715a6(0x140)](_0xf91617,_0x577f5f){const _0x5af1d7=_0x3715a6;let _0x1c5bd1;this[_0x5af1d7(0x1a1)]=_0xf91617[_0x5af1d7(0x1bc)];const _0x2c7a7d=_0xf91617[_0x5af1d7(0x13b)]&&!_0xf91617[_0x5af1d7(0xe2)],_0x3d3878=_0x2c7a7d?0x0:_0xf91617[_0x5af1d7(0x1ae)][_0x5af1d7(0x16a)];if(_0x577f5f[_0x5af1d7(0x188)](_0x4696d7=>{const _0xd94fae=_0x5af1d7;_0x4696d7[_0xd94fae(0xf8)]=!0x0,_0x4696d7[_0xd94fae(0xf6)]=_0xf91617[_0xd94fae(0x149)],_0x4696d7[_0xd94fae(0x155)]=null;}),_0x2c7a7d)_0x1c5bd1=_0x577f5f,this[_0x5af1d7(0x13d)](_0x1c5bd1,_0x2c7a7d);else{if(_0xf91617[_0x5af1d7(0xe2)]){const _0x5c38d6=this[_0x5af1d7(0x12c)](_0xf91617[_0x5af1d7(0xe2)]);this[_0x5af1d7(0x150)][_0x5af1d7(0x11e)][_0x5af1d7(0xd5)]=-_0x5c38d6[_0x5af1d7(0xf7)],_0x5c38d6[_0x5af1d7(0x188)](_0x1de562=>{const _0x8b7c79=_0x5af1d7;_0x1de562[_0x8b7c79(0x16a)]-=_0x5c38d6[_0x8b7c79(0xf7)],_0x1de562[_0x8b7c79(0xf6)]=_0xf91617[_0x8b7c79(0x149)],_0x1de562[_0x8b7c79(0xf8)]=!0x0,_0x1de562[_0x8b7c79(0x155)]=null;}),this[_0x5af1d7(0x13d)](_0x5c38d6,!0x0),this[_0x5af1d7(0x119)][_0x5af1d7(0xd5)]=-_0x5c38d6[_0x5af1d7(0xf7)]+this[_0x5af1d7(0x1a1)],this[_0x5af1d7(0x1a6)](_0x5c38d6);}this[_0x5af1d7(0x150)][_0x5af1d7(0x11e)][_0x5af1d7(0xd5)]=_0x3d3878,_0x1c5bd1=this[_0x5af1d7(0x194)](_0xf91617[_0x5af1d7(0x1ae)],_0xf91617[_0x5af1d7(0x1ba)]),await this[_0x5af1d7(0x182)](_0x1c5bd1),this[_0x5af1d7(0x13d)](_0x1c5bd1,_0x2c7a7d);}_0xf91617[_0x5af1d7(0x1be)]&&(this[_0x5af1d7(0x1cb)][_0x5af1d7(0x145)](_0x1c5bd1,_0xf91617[_0x5af1d7(0x1be)]),this[_0x5af1d7(0x16c)]=_0xf91617[_0x5af1d7(0x1be)]),this[_0x5af1d7(0x119)][_0x5af1d7(0xd5)]=_0x3d3878+this[_0x5af1d7(0x1a1)],this[_0x5af1d7(0x1a6)](_0x1c5bd1),_0x577f5f[_0x5af1d7(0xe6)](_0x10df30=>{const _0x2869a2=_0x5af1d7,_0x2355d1=this[_0x2869a2(0x116)](_0x10df30);return _0x2355d1&&!this[_0x2869a2(0x13e)][_0x2869a2(0x1a2)](_0x2355d1);})[_0x5af1d7(0x188)]((_0x53684f,_0x46f1ff)=>{const _0x12c4ce=_0x5af1d7;_0x53684f[_0x12c4ce(0x16a)]=this[_0x12c4ce(0x150)][_0x12c4ce(0xd5)]+_0x46f1ff,this[_0x12c4ce(0x156)](_0x53684f);}),this[_0x5af1d7(0xf2)]()?(this[_0x5af1d7(0x134)]=0x0,this[_0x5af1d7(0x126)](!0x0),await this[_0x5af1d7(0x106)]()):(this[_0x5af1d7(0x17a)]=!0x1,this[_0x5af1d7(0x111)]());}[_0x3715a6(0x120)](_0x162216,_0x248f46,_0x58bda2){const _0x4dafc3=_0x3715a6;throw this[_0x4dafc3(0x17a)]=!0x0,_0x248f46&&console[_0x4dafc3(0x1cd)](_0x248f46),_0x58bda2&&this[_0x4dafc3(0x17e)][_0x4dafc3(0x162)](_0x4dafc3(0x172)),new _0x2259e5(_0x162216,this[_0x4dafc3(0x17e)]);}[_0x3715a6(0x156)](_0x8a1b56){const _0x51b789=_0x3715a6;this[_0x51b789(0x170)][_0x51b789(0x1a2)](_0x8a1b56)||(this[_0x51b789(0x170)][_0x51b789(0x1b4)](_0x8a1b56),this[_0x51b789(0x18a)][_0x51b789(0x175)](_0x8a1b56),this[_0x51b789(0xf3)]||_0x51b789(0x171)==_0x8a1b56[_0x51b789(0x1cc)]&&!_0x8a1b56[_0x51b789(0x18e)]||this[_0x51b789(0x11c)]());}[_0x3715a6(0x126)](_0x14a80d=!0x1){const _0x1a9fe7=_0x3715a6;!_0x14a80d&&this[_0x1a9fe7(0x17a)]||(this[_0x1a9fe7(0x17a)]=!0x0,clearTimeout(this[_0x1a9fe7(0x164)]),this[_0x1a9fe7(0x164)]=setTimeout(()=>{const _0xbe2c34=_0x1a9fe7;this[_0xbe2c34(0x108)]()[_0xbe2c34(0x14c)](_0x294383=>{const _0x1e77ef=_0xbe2c34;_0x294383&&(this[_0x1e77ef(0x111)](),this[_0x1e77ef(0x17a)]=!0x1);})[_0xbe2c34(0x1b9)](_0x4b86ce=>{const _0x4db473=_0xbe2c34;this[_0x4db473(0x111)](),this[_0x4db473(0x17a)]=!0x1,function(_0x524402){const _0x21f1c0=_0x4db473;return _0x524402[_0x21f1c0(0x13f)][_0x21f1c0(0x1af)](_0x21f1c0(0xf9))||_0x524402[_0x21f1c0(0x13f)][_0x21f1c0(0x1af)](_0x21f1c0(0x12f))||_0x524402[_0x21f1c0(0x13f)][_0x21f1c0(0x1af)](_0x21f1c0(0xdf));}(_0x4b86ce)||this[_0x4db473(0x120)](_0x4b86ce[_0x4db473(0x13f)],_0x4b86ce,!0x0);});},this[_0x1a9fe7(0x134)]));}[_0x3715a6(0x106)](){return new Promise(_0x5f0532=>{const _0x275444=_0x3be0;this['on'](_0x275444(0x1c7),()=>{_0x5f0532();});});}async[_0x3715a6(0x108)](){const _0x1f1026=_0x3715a6,_0x2c94e8=this[_0x1f1026(0x17e)][_0x1f1026(0x14e)][_0x1f1026(0x190)](_0x43b129);if(this[_0x1f1026(0x109)]()&&(_0x2c94e8[_0x1f1026(0x16e)](),this[_0x1f1026(0x193)]=!0x1),!this[_0x1f1026(0xf2)]())return!0x0;const _0x4c5f3e=[...this[_0x1f1026(0x18a)]];for(const _0x51fc4e of _0x4c5f3e)_0x51fc4e[_0x1f1026(0x127)]=this[_0x1f1026(0x150)][_0x1f1026(0x11e)][_0x1f1026(0xfc)](_0x51fc4e);const _0x5e35c6=this[_0x1f1026(0x1cb)][_0x1f1026(0x17b)](_0x4c5f3e),_0x4ba365=Y++,_0x1131a7=this[_0x1f1026(0x136)](_0x4c5f3e),_0x17e6b1=await this[_0x1f1026(0x18b)][_0x1f1026(0x197)](_0x1131a7,_0x1131a7[_0x1f1026(0x16a)],_0x5e35c6);try{return await this[_0x1f1026(0xff)](_0x4c5f3e,_0x17e6b1,_0x4ba365);}catch(_0x578713){return this[_0x1f1026(0x120)](_0x1f1026(0xd9),_0x578713);}}async[_0x3715a6(0xff)](_0x9d0e2d,_0x1b9d54,_0x45d4d5){const _0x182300=_0x3715a6;if(_0x182300(0x1cd)in _0x1b9d54)throw _0x1b9d54[_0x182300(0x1cd)];let _0x2c522f=!0x1;if(_0x1b9d54[_0x182300(0x13b)]){_0x1b9d54[_0x182300(0x1be)]&&(this[_0x182300(0x16c)]=_0x1b9d54[_0x182300(0x1be)]),this[_0x182300(0x18a)]=this[_0x182300(0x18a)][_0x182300(0xe6)](_0x542215=>!_0x9d0e2d[_0x182300(0x166)](_0x542215));for(const _0x3dccb3 of _0x9d0e2d)_0x3dccb3[_0x182300(0xf6)]=_0x182300(0x139)in _0x1b9d54&&_0x1b9d54[_0x182300(0x139)]||void 0x0;tt(_0x9d0e2d,_0x1b9d54[_0x182300(0xd5)]-_0x9d0e2d[_0x182300(0xf7)]),this[_0x182300(0x1a6)](_0x9d0e2d);const _0x165255=_0x9d0e2d[_0x182300(0xe6)](_0x32835d=>{const _0x5ef06d=_0x182300;if(!_0x32835d[_0x5ef06d(0xf8)])return!0x1;const _0x1f281d=this[_0x5ef06d(0x116)](_0x32835d);return _0x1f281d&&!this[_0x5ef06d(0x13e)][_0x5ef06d(0x1a2)](_0x1f281d);});tt(_0x165255,this[_0x182300(0x150)][_0x182300(0xd5)]),this[_0x182300(0x13d)](_0x165255),_0x2c522f=!0x0,this[_0x182300(0x134)]=this[_0x182300(0x138)];}else{const _0x178a42=this[_0x182300(0x194)](_0x1b9d54[_0x182300(0x1ae)],_0x1b9d54[_0x182300(0x1ba)])[_0x182300(0xe6)](_0x9dfe8c=>_0x9dfe8c[_0x182300(0x16a)]>=this[_0x182300(0x16b)]);_0x178a42[_0x182300(0x188)](_0x52ee64=>this[_0x182300(0x135)](_0x52ee64)),this[_0x182300(0x18a)]=this[_0x182300(0x18a)][_0x182300(0xe6)](_0x31e53b=>!_0x31e53b[_0x182300(0xf8)]||!this[_0x182300(0x13e)][_0x182300(0x1a2)](this[_0x182300(0x116)](_0x31e53b))),this[_0x182300(0x18a)][_0x182300(0xf7)]&&tt(this[_0x182300(0x18a)],this[_0x182300(0x18a)][0x0][_0x182300(0x16a)]),await this[_0x182300(0x182)](_0x178a42),_0x2c522f=this[_0x182300(0x1d5)](_0x178a42,_0x1b9d54[_0x182300(0xd5)],_0x1b9d54[_0x182300(0x1be)]),this[_0x182300(0x134)]=Math[_0x182300(0x153)](this[_0x182300(0x134)]/0x2);}return _0x2c522f?!this[_0x182300(0xf2)]()||(this[_0x182300(0x126)](!0x0),!0x1):this[_0x182300(0x120)](_0x182300(0x15e));}[_0x3715a6(0x1d5)](_0x1bf06c,_0x4e5d3c,_0x583767){const _0x477f9a=_0x3715a6;try{const _0x3b612c={'document':this[_0x477f9a(0x150)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4616f4,operationsB:_0x342228,originalOperations:_0x40a6b4}=_0x5603fa(_0x1bf06c,this[_0x477f9a(0x18a)],_0x3b612c);tt(_0x4616f4,this[_0x477f9a(0x150)][_0x477f9a(0xd5)]),tt(_0x342228,_0x4e5d3c);for(const _0x1d09ca of _0x4616f4){const _0x11de57=_0x40a6b4[_0x477f9a(0x190)](_0x1d09ca);_0x1d09ca[_0x477f9a(0x155)]=_0x11de57?_0x11de57[_0x477f9a(0x155)]:null;}_0x583767&&(this[_0x477f9a(0x1cb)][_0x477f9a(0x145)](_0x1bf06c,_0x583767),this[_0x477f9a(0x16c)]=_0x583767),this[_0x477f9a(0x18a)]=[..._0x342228],this[_0x477f9a(0x13d)](_0x4616f4),this[_0x477f9a(0x1a6)](_0x1bf06c);}catch(_0x1e40b0){return console[_0x477f9a(0x1cd)](_0x1e40b0),!0x1;}return!0x0;}[_0x3715a6(0x13d)](_0x14958c,_0x194978=!0x1){const _0x50a10b=_0x3715a6;this[_0x50a10b(0x17e)][_0x50a10b(0x1c3)][_0x50a10b(0x1c6)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5c08b9=>{const _0x26f8a8=_0x50a10b;for(const _0x4cb4d6 of _0x14958c)this[_0x26f8a8(0x170)][_0x26f8a8(0x1b4)](_0x4cb4d6),this[_0x26f8a8(0x135)](_0x4cb4d6),_0x5c08b9[_0x26f8a8(0xfb)][_0x26f8a8(0x183)](_0x4cb4d6),this[_0x26f8a8(0x17e)][_0x26f8a8(0x1c3)][_0x26f8a8(0x1b3)](_0x4cb4d6);});}[_0x3715a6(0x135)](_0x58e04e){const _0x5211ca=_0x3715a6,_0x4ddaca=this[_0x5211ca(0x116)](_0x58e04e);_0x4ddaca&&this[_0x5211ca(0x13e)][_0x5211ca(0x1b4)](_0x4ddaca);}[_0x3715a6(0x116)](_0x1789b1){const _0x311e23=_0x3715a6;let _0x1bfcca,_0x4d3cb9;switch(_0x1789b1[_0x311e23(0x1cc)]){case _0x311e23(0xe4):_0x1bfcca=_0x1789b1[_0x311e23(0x101)][_0x311e23(0x181)];break;case _0x311e23(0x171):if(_0x4d3cb9=_0x1789b1[_0x311e23(0x195)],!_0x4d3cb9)return null;_0x1bfcca=_0x4d3cb9[_0x311e23(0x181)];break;case _0x311e23(0x103):_0x1bfcca=_0x1789b1[_0x311e23(0x181)];break;case _0x311e23(0xee):_0x1bfcca=_0x1789b1[_0x311e23(0xfe)];break;case _0x311e23(0x1a3):_0x1bfcca=_0x1789b1[_0x311e23(0x12a)][_0x311e23(0x181)];break;default:return null;}return _0x1bfcca[_0x311e23(0x1c8)];}[_0x3715a6(0x1a6)](_0x399632){const _0x1bd653=_0x3715a6;_0x399632[_0x1bd653(0x188)](_0x4418b1=>{const _0x38671b=_0x1bd653,_0x279f77=_0x4418b1[_0x38671b(0x152)]();_0x279f77[_0x38671b(0x155)]=_0x4418b1[_0x38671b(0x155)],_0x279f77[_0x38671b(0xf8)]=!!_0x4418b1[_0x38671b(0xf8)],_0x279f77[_0x38671b(0xf6)]=_0x4418b1[_0x38671b(0xf6)],_0x279f77[_0x38671b(0x16a)]+=this[_0x38671b(0x1a1)],_0x4418b1[_0x38671b(0x18c)]&&this[_0x38671b(0xe8)][_0x38671b(0x1b4)](_0x279f77),this[_0x38671b(0x119)][_0x38671b(0x183)](_0x279f77);});}[_0x3715a6(0x10c)](_0x294055){const _0x451fa4=_0x3715a6,_0x597ca0=this[_0x451fa4(0x17e)][_0x451fa4(0x14e)][_0x451fa4(0x190)](_0x451fa4(0x178)),_0x2f3445=this[_0x451fa4(0x17e)][_0x451fa4(0x1bb)];_0x294055||(_0x294055=_0x3bb041(_0x2f3445,_0x451fa4(0x160))),_0x597ca0[_0x451fa4(0x147)](_0x294055,{'title':_0x3bb041(_0x2f3445,_0x451fa4(0x122)),'namespace':_0x451fa4(0x10a)}),this[_0x451fa4(0xda)]=!0x0,clearTimeout(this[_0x451fa4(0x164)]),this[_0x451fa4(0x18a)]=[],this[_0x451fa4(0x17e)][_0x451fa4(0x14e)][_0x451fa4(0x190)](_0x25650c)[_0x451fa4(0x196)]();}[_0x3715a6(0x11c)](){const _0xc0966f=_0x3715a6;this[_0xc0966f(0xf3)]||(this[_0xc0966f(0xf3)]=this[_0xc0966f(0x17e)][_0xc0966f(0x14e)][_0xc0966f(0x190)](_0x2ca074)[_0xc0966f(0x1b4)](_0x3bb041(this[_0xc0966f(0x17e)][_0xc0966f(0x1bb)],_0xc0966f(0x1ce))));}[_0x3715a6(0x111)](){const _0x2c3f61=_0x3715a6;this[_0x2c3f61(0xf3)]&&(this[_0x2c3f61(0x17e)][_0x2c3f61(0x14e)][_0x2c3f61(0x190)](_0x2ca074)[_0x2c3f61(0x1b2)](this[_0x2c3f61(0xf3)]),this[_0x2c3f61(0xf3)]=null);}[_0x3715a6(0x136)](_0x5e6d73){const _0xe61284=_0x3715a6,_0x203e5b=_0x5e6d73[_0xe61284(0x1c1)](_0x579223=>_0x579223[_0xe61284(0x199)]());return this[_0xe61284(0x11b)][_0xe61284(0x102)](_0x203e5b);}[_0x3715a6(0x194)](_0x6b7bf9,_0xdc3c97){const _0x4f6e4e=_0x3715a6;return this[_0x4f6e4e(0x11b)][_0x4f6e4e(0x16f)](_0x6b7bf9)[_0x4f6e4e(0x1c1)]((_0x35c136,_0x121360)=>{const _0x57e057=_0x4f6e4e,_0x3093cf=_0x57e057(0x158)==_0xdc3c97[_0x121360][_0x57e057(0x1cc)];if(_0x57e057(0x10b)==_0x35c136[_0x57e057(0x11d)]){const _0xe362aa=_0x35c136[_0x57e057(0x101)][_0x57e057(0x181)];!this[_0x57e057(0x150)][_0x57e057(0x1d2)](_0xe362aa)&&(this[_0x57e057(0x150)][_0x57e057(0x18d)](_0x57e057(0x12b),_0xe362aa)[_0x57e057(0xea)]=!0x1);}const _0x1ab783=_0x2fed75[_0x57e057(0x141)](_0x35c136,this[_0x57e057(0x150)]);return _0x1ab783[_0x57e057(0x127)]=_0x35c136[_0x57e057(0x127)],_0x1ab783[_0x57e057(0xf8)]=_0x3093cf,_0x1ab783[_0x57e057(0x155)]=_0x3093cf?null:_0xdc3c97[_0x121360][_0x57e057(0x1d3)],_0x1ab783[_0x57e057(0x18c)]=_0x57e057(0x1b8)===_0xdc3c97[_0x121360][_0x57e057(0x1cc)],_0x1ab783[_0x57e057(0xf6)]=_0xdc3c97[_0x121360][_0x57e057(0xf6)],_0x1ab783;});}[_0x3715a6(0x1a8)](){const _0x47dbdb=_0x3715a6;this[_0x47dbdb(0x193)]=!0x0,this[_0x47dbdb(0x109)]()?this[_0x47dbdb(0x126)]():this[_0x47dbdb(0x193)]=!0x1;}[_0x3715a6(0x109)](){const _0x21d10b=_0x3715a6,_0x38dd06=this[_0x21d10b(0x17e)][_0x21d10b(0x14e)][_0x21d10b(0x190)](_0x3445c6)[_0x21d10b(0x173)][_0x21d10b(0x190)](this[_0x21d10b(0x1ac)]);return!this[_0x21d10b(0x17e)][_0x21d10b(0x1ab)]&&!!_0x38dd06&&_0x38dd06[_0x21d10b(0xf7)]>0x1&&this[_0x21d10b(0x193)];}[_0x3715a6(0xf2)](){const _0x587189=_0x3715a6;return this[_0x587189(0x18a)][_0x587189(0xf7)]>0x0||this[_0x587189(0x109)]();}}l[_0x3715a6(0x113)]=_0x27c7ce;export default l;class Z extends Error{}function tt(_0x344564,_0x51dcc0){const _0x236cbf=_0x3715a6;for(const _0x2a0ac0 of _0x344564)_0x2a0ac0[_0x236cbf(0x16a)]=_0x51dcc0++;}class it{constructor(_0x5b7332){const _0x48453d=_0x3715a6;this[_0x48453d(0x161)]=_0x5b7332,this[_0x48453d(0x154)]=new WeakMap();}[_0x3715a6(0x17b)](_0x4aa8f3){const _0x38d22a=_0x3715a6;let _0x3286f1=_0x4aa8f3[_0x38d22a(0xf7)];for(;_0x3286f1--;){const _0x19caa1=_0x4aa8f3[_0x3286f1];if(!this[_0x38d22a(0x161)][_0x38d22a(0x1a2)](_0x19caa1)){if(!this[_0x38d22a(0x154)][_0x38d22a(0x1a2)](_0x19caa1)){const _0x1e5f14=_0x21fa3f()[_0x38d22a(0x115)](0x1,0x12);this[_0x38d22a(0x154)][_0x38d22a(0xd4)](_0x19caa1,_0x1e5f14);}return this[_0x38d22a(0x154)][_0x38d22a(0x190)](_0x19caa1);}}}[_0x3715a6(0x145)](_0x1a3038,_0x567a6b){const _0x505b08=_0x3715a6;if(!_0x567a6b)return;let _0x2a493f=_0x1a3038[_0x505b08(0xf7)];for(;_0x2a493f--;){const _0x2710aa=_0x1a3038[_0x2a493f];this[_0x505b08(0x161)][_0x505b08(0x1a2)](_0x2710aa)||this[_0x505b08(0x154)][_0x505b08(0xd4)](_0x2710aa,_0x567a6b);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3d7bc0=_0x4f17;function _0x4f17(_0x38eb1e,_0x2a9838){const _0x2e9451=_0x2e94();return _0x4f17=function(_0x4f17e6,_0x4c8f0a){_0x4f17e6=_0x4f17e6-0x197;let _0x55b308=_0x2e9451[_0x4f17e6];return _0x55b308;},_0x4f17(_0x38eb1e,_0x2a9838);}(function(_0x24e630,_0x1dc371){const _0x48a2c8=_0x4f17,_0x2932bd=_0x24e630();while(!![]){try{const _0x1a7300=-parseInt(_0x48a2c8(0x1a4))/0x1*(-parseInt(_0x48a2c8(0x1a5))/0x2)+parseInt(_0x48a2c8(0x1c4))/0x3+-parseInt(_0x48a2c8(0x1c9))/0x4*(-parseInt(_0x48a2c8(0x1a2))/0x5)+parseInt(_0x48a2c8(0x1b6))/0x6*(-parseInt(_0x48a2c8(0x1a8))/0x7)+parseInt(_0x48a2c8(0x199))/0x8*(parseInt(_0x48a2c8(0x1cc))/0x9)+parseInt(_0x48a2c8(0x1d4))/0xa*(-parseInt(_0x48a2c8(0x1c3))/0xb)+-parseInt(_0x48a2c8(0x19d))/0xc*(parseInt(_0x48a2c8(0x1c7))/0xd);if(_0x1a7300===_0x1dc371)break;else _0x2932bd['push'](_0x2932bd['shift']());}catch(_0x30cf6a){_0x2932bd['push'](_0x2932bd['shift']());}}}(_0x2e94,0x8e860));function _0x2e94(){const _0x21f294=['allConnectedUsers','channelSessions','change:state','addUser','connected','fire','has','getUserBySessionId','_handleSessionAdd','11oQaeKF','1631883ZvoJPM','set','getUserSessions','396994huMTBu','isPremiumPlugin','20360jmKyVi','clear','orderNumber','117pUAxDd','assign','init','remove','getUser','get','connection','isOfficialPlugin','395660rPXVXR','Sessions','sessions-register-already-registered','add','context','state','683496EsSBVp','sessionAdd:','sessionId','isMe','192tcDmUz','listenTo','values','getUserRole','sessions-unregister-not-exist','90SpQnSJ','mySessionId','26483HPHLKr','14nDgZnT','delete','defineMe','212513nEuHLb','_users','_uniqueUsersCount','_registeredSessions','stopListening','forEach','channelConnectedUsers','_handleSessionRemove','user','size','plugins','_createUser','pluginName','role','162DjIIuy','register','unregister','requires'];_0x2e94=function(){return _0x21f294;};return _0x2e94();}import{ContextPlugin as _0x23a911}from'ckeditor5/src/core.js';import{Collection as _0x962fd3,CKEditorError as _0x3a8fd6}from'ckeditor5/src/utils.js';import _0x3818ec from'./websocketgateway.js';import{Users as _0x1f4aee}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x23a911{static get[_0x3d7bc0(0x1b4)](){const _0x22c257=_0x3d7bc0;return _0x22c257(0x1d5);}static get[_0x3d7bc0(0x1d3)](){return!0x0;}static get[_0x3d7bc0(0x1c8)](){return!0x0;}static get[_0x3d7bc0(0x1b9)](){return[_0x3818ec,_0x1f4aee];}constructor(_0x1fa428){const _0x14d998=_0x3d7bc0;super(_0x1fa428),this[_0x14d998(0x1bb)]=new Map(),this[_0x14d998(0x1ae)]=new Map(),this[_0x14d998(0x1ba)]=new _0x962fd3(),this[_0x14d998(0x1ab)]=new Map(),this[_0x14d998(0x1aa)]=0x0,this[_0x14d998(0x1a9)]=this[_0x14d998(0x197)][_0x14d998(0x1b2)][_0x14d998(0x1d1)](_0x1f4aee);}[_0x3d7bc0(0x1ce)](){const _0x53841e=_0x3d7bc0,_0xed2459=this[_0x53841e(0x197)][_0x53841e(0x1b2)][_0x53841e(0x1d1)](_0x3818ec);this[_0x53841e(0x19e)](_0xed2459,_0x53841e(0x1bc),(_0x1b20de,_0x14e1ce,_0x132cd3)=>{const _0x54b640=_0x53841e;if(_0x54b640(0x1be)!==_0x132cd3)this[_0x54b640(0x1bb)][_0x54b640(0x1ad)](_0x2b3fc9=>_0x2b3fc9[_0x54b640(0x1ca)]()),this[_0x54b640(0x1ae)][_0x54b640(0x1ad)](_0x564afe=>_0x564afe[_0x54b640(0x1ca)]()),this[_0x54b640(0x1ba)][_0x54b640(0x1ca)]();else{for(const [_0x38b8c3,_0x17b7f9]of this[_0x54b640(0x1ab)])for(const _0xb68c6e of _0x17b7f9)this[_0x54b640(0x1c2)](_0x38b8c3,_0xb68c6e);}}),this[_0x53841e(0x1b3)](_0xed2459[_0x53841e(0x1d2)]['me'],!0x0);}[_0x3d7bc0(0x1b7)](_0x1ddaf3,_0xf60a89){const _0x4cfc87=_0x3d7bc0;if(this[_0x4cfc87(0x1ab)][_0x4cfc87(0x1c0)](_0x1ddaf3))throw new _0x3a8fd6(_0x4cfc87(0x1d6),null,{'channelId':_0x1ddaf3});this[_0x4cfc87(0x1ab)][_0x4cfc87(0x1c5)](_0x1ddaf3,_0xf60a89),this[_0x4cfc87(0x1bb)][_0x4cfc87(0x1c5)](_0x1ddaf3,new _0x962fd3()),this[_0x4cfc87(0x1ae)][_0x4cfc87(0x1c5)](_0x1ddaf3,new _0x962fd3()),this[_0x4cfc87(0x19e)](_0xf60a89,_0x4cfc87(0x1d7),(_0x66d889,_0x2ee5c3)=>this[_0x4cfc87(0x1c2)](_0x1ddaf3,_0x2ee5c3)),this[_0x4cfc87(0x19e)](_0xf60a89,_0x4cfc87(0x1cf),(_0x4039ee,_0x3236f8)=>this[_0x4cfc87(0x1af)](_0x1ddaf3,_0x3236f8));for(const _0x3d6cad of _0xf60a89)this[_0x4cfc87(0x1c2)](_0x1ddaf3,_0x3d6cad);}[_0x3d7bc0(0x1b8)](_0x3034cb){const _0x1a9a03=_0x3d7bc0;if(!this[_0x1a9a03(0x1ab)][_0x1a9a03(0x1c0)](_0x3034cb))throw new _0x3a8fd6(_0x1a9a03(0x1a1),null,{'channelId':_0x3034cb});const _0x2e3716=this[_0x1a9a03(0x1ab)][_0x1a9a03(0x1d1)](_0x3034cb);this[_0x1a9a03(0x1ac)](_0x2e3716);for(const _0x2e6cb0 of _0x2e3716)_0x1a9a03(0x1be)===this[_0x1a9a03(0x197)][_0x1a9a03(0x1b2)][_0x1a9a03(0x1d1)](_0x3818ec)[_0x1a9a03(0x198)]&&this[_0x1a9a03(0x1af)](_0x3034cb,_0x2e6cb0);this[_0x1a9a03(0x1ab)][_0x1a9a03(0x1a6)](_0x3034cb),this[_0x1a9a03(0x1bb)][_0x1a9a03(0x1a6)](_0x3034cb),this[_0x1a9a03(0x1ae)][_0x1a9a03(0x1a6)](_0x3034cb);}get[_0x3d7bc0(0x1a3)](){const _0x267de7=_0x3d7bc0;return this[_0x267de7(0x197)][_0x267de7(0x1b2)][_0x267de7(0x1d1)](_0x3818ec)[_0x267de7(0x1d2)][_0x267de7(0x19b)];}[_0x3d7bc0(0x1c1)](_0xe30553){const _0x1b420b=_0x3d7bc0;for(const _0x5645ff of this[_0x1b420b(0x1bb)][_0x1b420b(0x19f)]())for(const _0x18c9b7 of _0x5645ff)if(_0x18c9b7['id']===_0xe30553)return _0x18c9b7[_0x1b420b(0x1b0)];}[_0x3d7bc0(0x1c6)](_0x58e06e,_0x32d89a){const _0x1327ce=_0x3d7bc0,_0x291a9d=_0x32d89a?[this[_0x1327ce(0x1bb)][_0x1327ce(0x1d1)](_0x32d89a)]:this[_0x1327ce(0x1bb)][_0x1327ce(0x19f)](),_0x2dea00=new Set();for(const _0x56ad2a of _0x291a9d)for(const _0x55149d of _0x56ad2a)_0x55149d[_0x1327ce(0x1b0)]['id']===_0x58e06e['id']&&_0x2dea00[_0x1327ce(0x1d7)](_0x55149d['id']);return _0x2dea00;}[_0x3d7bc0(0x1a0)](_0x3df26b){const _0x198c01=_0x3d7bc0;for(const _0x1d0ec7 of this[_0x198c01(0x1bb)][_0x198c01(0x19f)]())for(const _0x38e684 of _0x1d0ec7)if(_0x38e684[_0x198c01(0x1b0)]===_0x3df26b)return _0x38e684[_0x198c01(0x1b5)];}[_0x3d7bc0(0x1c2)](_0x123372,_0x3959b1){const _0x2760e1=_0x3d7bc0;if(_0x2760e1(0x1be)!==this[_0x2760e1(0x197)][_0x2760e1(0x1b2)][_0x2760e1(0x1d1)](_0x3818ec)[_0x2760e1(0x198)])return;const _0x143d20=_0x3959b1[_0x2760e1(0x1b0)],_0xb0c6ea=this[_0x2760e1(0x1a9)][_0x2760e1(0x1d0)](_0x143d20['id'])||this[_0x2760e1(0x1b3)](_0x143d20),_0x13c089=Object[_0x2760e1(0x1cd)]({},_0x3959b1,{'user':_0xb0c6ea});this[_0x2760e1(0x1bb)][_0x2760e1(0x1d1)](_0x123372)[_0x2760e1(0x1d7)](_0x13c089);const _0x483c43=this[_0x2760e1(0x1ae)][_0x2760e1(0x1d1)](_0x123372);_0x483c43[_0x2760e1(0x1c0)](_0xb0c6ea['id'])||_0x483c43[_0x2760e1(0x1d7)](_0xb0c6ea),this[_0x2760e1(0x1ba)][_0x2760e1(0x1c0)](_0xb0c6ea['id'])||this[_0x2760e1(0x1ba)][_0x2760e1(0x1d7)](_0xb0c6ea,_0xb0c6ea[_0x2760e1(0x19c)]?0x0:void 0x0),this[_0x2760e1(0x1bf)](_0x2760e1(0x19a)+_0x123372,{'channelId':_0x123372,'session':_0x13c089});}[_0x3d7bc0(0x1af)](_0x21fc6b,_0x26eb26){const _0x280e04=_0x3d7bc0;if(_0x280e04(0x1be)!==this[_0x280e04(0x197)][_0x280e04(0x1b2)][_0x280e04(0x1d1)](_0x3818ec)[_0x280e04(0x198)])return;const _0x43dc95=this[_0x280e04(0x1ae)][_0x280e04(0x1d1)](_0x21fc6b),_0x555cdc=_0x26eb26[_0x280e04(0x1b0)];_0x555cdc['id']&&(this[_0x280e04(0x1bb)][_0x280e04(0x1d1)](_0x21fc6b)[_0x280e04(0x1cf)](_0x26eb26['id']),_0x43dc95[_0x280e04(0x1c0)](_0x555cdc['id'])&&!this[_0x280e04(0x1c6)](_0x555cdc,_0x21fc6b)[_0x280e04(0x1b1)]&&_0x43dc95[_0x280e04(0x1cf)](_0x555cdc['id']),this[_0x280e04(0x1ba)][_0x280e04(0x1d1)](_0x555cdc['id'])&&!this[_0x280e04(0x1c6)](_0x555cdc)[_0x280e04(0x1b1)]&&this[_0x280e04(0x1ba)][_0x280e04(0x1cf)](_0x555cdc['id']));}[_0x3d7bc0(0x1b3)](_0x3ea6fd,_0xc15c53){const _0x55ce20=_0x3d7bc0,_0x9b7840=this[_0x55ce20(0x1a9)][_0x55ce20(0x1bd)](_0x3ea6fd);return _0xc15c53&&this[_0x55ce20(0x1a9)][_0x55ce20(0x1a7)](_0x3ea6fd['id']),_0x9b7840[_0x55ce20(0x1cb)]=this[_0x55ce20(0x1aa)]++,_0x9b7840;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x4ddd(){const _0x1f7bf3=['color','applyOperation','tableCell','$text','getNearestSelectionRange','keydown','user:range:','pluginName','data-session-id','add','_createdBatches','change','change:range','nodeAfter','init','mapper','</span>','batch','ck-user__marker\x20','getUserBySessionId','detach','getContainedElement','setCustomProperty','773260fLPxvf','getAttribute','destroy','startsWith','toRange','isCollapsed','addEventListener','userPositionMarker','afterInit','split','getSelectionClass','deletionPosition','removeClass','createUIElement','isPremiumPlugin','get','contenteditable','getRange','mySessionId','createRange','marker','listenTo','render','155016ToTxVy','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','innerHTML','UserMarkers','mouseenter','2049230MiAphb','clear','set','root','document','isInline','markers','start','checkChild','markerToHighlight','undo','isObject','createUserMarkerOperations','view','updateMarker','Escape','getMarkerClass','fromRange','size','commands','editing','user:position','mouseleave','type','toDomElement','name','ck-user__marker_hovered','removeMarker','stopListening','hasDomSelection','remove','newRange','isSimilar','classList','oldRange','markerNameToElements','end','isOfficialPlugin','ck-user__selection','model','addMarker','1150536MFkLKQ','user:','496RZnJLv','for','1242348Mduzzv','parent','editor','getPositions','markerName','element','span','plugins','getCustomProperty','schema','_domEmitter','has','requires','highest','delete','hasContent','getFirstRange','markerRange','user:range','reconvertMarker','$graveyard','rootName','getStart','123179EneLGu','conversion','user:position:','enqueueChange','orderNumber','913596znpcvi','isLimit','editingDowncast','markerToElement','selection','update:user:range'];_0x4ddd=function(){return _0x1f7bf3;};return _0x4ddd();}function _0x4af6(_0x165b5c,_0x40bde3){const _0x4ddd49=_0x4ddd();return _0x4af6=function(_0x4af67e,_0x25aed3){_0x4af67e=_0x4af67e-0x184;let _0x4fc6a1=_0x4ddd49[_0x4af67e];return _0x4fc6a1;},_0x4af6(_0x165b5c,_0x40bde3);}const _0x3469bb=_0x4af6;(function(_0x2141f2,_0x350de6){const _0x1a1249=_0x4af6,_0x136c0c=_0x2141f2();while(!![]){try{const _0x26a2c9=parseInt(_0x1a1249(0x1d9))/0x1+parseInt(_0x1a1249(0x1c2))/0x2+parseInt(_0x1a1249(0x1a5))/0x3+parseInt(_0x1a1249(0x185))/0x4+parseInt(_0x1a1249(0x1de))/0x5+-parseInt(_0x1a1249(0x189))/0x6+-parseInt(_0x1a1249(0x1a0))/0x7*(parseInt(_0x1a1249(0x187))/0x8);if(_0x26a2c9===_0x350de6)break;else _0x136c0c['push'](_0x136c0c['shift']());}catch(_0x225693){_0x136c0c['push'](_0x136c0c['shift']());}}}(_0x4ddd,0x3bf52));import{Plugin as _0x88f345}from'ckeditor5/src/core.js';import{global as _0x3c40db,DomEmitterMixin as _0x1f0d70}from'ckeditor5/src/utils.js';import _0x2e875c from'./sessions.js';import{LiveRange as _0x2ee973}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x88f345{constructor(){const _0x3eb6e9=_0x4af6;super(...arguments),this[_0x3eb6e9(0x193)]=new(_0x1f0d70())();}static get[_0x3469bb(0x195)](){return[_0x2e875c];}static get[_0x3469bb(0x1b2)](){const _0x1d4733=_0x3469bb;return _0x1d4733(0x1dc);}static get[_0x3469bb(0x203)](){return!0x0;}static get[_0x3469bb(0x1d0)](){return!0x0;}[_0x3469bb(0x1b9)](){const _0x4790f1=_0x3469bb,_0x2310b3=this[_0x4790f1(0x18b)],_0x111410=_0x2310b3[_0x4790f1(0x190)][_0x4790f1(0x1d1)](_0x2e875c);_0x2310b3[_0x4790f1(0x1a1)][_0x4790f1(0x188)](_0x4790f1(0x1a7))[_0x4790f1(0x1a8)]({'model':_0x4790f1(0x1f3),'view':(_0x1a0ab5,{writer:_0x1186d5})=>function(_0x14b6c2,_0x58120d,_0x1f64c5,_0x5a5cce){const _0x5d6faf=_0x4790f1,_0x4d4a14=_0x14b6c2[_0x5d6faf(0x18d)][_0x5d6faf(0x1cb)](':')[0x2],_0x4e6211=_0x1f64c5[_0x5d6faf(0x1be)](_0x4d4a14);if(!_0x4e6211||_0x4d4a14===_0x1f64c5[_0x5d6faf(0x1d4)])return;if(!_0x5a5cce[_0x5d6faf(0x205)][_0x5d6faf(0x192)][_0x5d6faf(0x1e6)](_0x14b6c2[_0x5d6faf(0x19a)][_0x5d6faf(0x1e5)],_0x5d6faf(0x1ae)))return;const _0x144467={'class':_0x5d6faf(0x1bd)+_0x4e6211[_0x5d6faf(0x1ab)][_0x5d6faf(0x1ee)](),'data-name':_0x4e6211[_0x5d6faf(0x1f7)],'data-session-id':_0x4d4a14},_0x92a212=_0x5a5cce[_0x5d6faf(0x205)][_0x5d6faf(0x1e4)][_0x5d6faf(0x1d1)](_0x14b6c2[_0x5d6faf(0x18d)]),_0x1f4eb9=_0x92a212[_0x5d6faf(0x19f)](),_0xb798eb=_0x1f4eb9[_0x5d6faf(0x1b8)],_0x50103e=_0x5a5cce[_0x5d6faf(0x205)][_0x5d6faf(0x192)];if(_0xb798eb&&_0x50103e[_0x5d6faf(0x1e9)](_0xb798eb)&&_0x50103e[_0x5d6faf(0x1e3)](_0xb798eb)&&!_0x5a5cce[_0x5d6faf(0x205)][_0x5d6faf(0x1e4)][_0x5d6faf(0x1d1)](_0x5d6faf(0x1b1)+_0x4d4a14)[_0x5d6faf(0x1d3)]()[_0x5d6faf(0x1c7)])return;const _0x2e4c54=_0x1f4eb9[_0x5d6faf(0x18a)];return _0x5a5cce[_0x5d6faf(0x205)][_0x5d6faf(0x192)][_0x5d6faf(0x1a6)](_0x2e4c54)&&!_0x5a5cce[_0x5d6faf(0x205)][_0x5d6faf(0x198)](_0x2e4c54)&&(_0x144467[_0x5d6faf(0x1d2)]=!0x1),function(_0x178d87,_0xd7dcd4,_0x1d5622){const _0x35f246=_0x5d6faf,_0x18a886=_0x178d87[_0x35f246(0x1cf)](_0x35f246(0x18f),_0xd7dcd4);return _0x178d87[_0x35f246(0x1c1)](_0x35f246(0x1c9),!0x0,_0x18a886),_0x18a886[_0x35f246(0x1d8)]=function(_0x49753b){const _0x4b97bb=_0x35f246,_0x26dd95=this[_0x4b97bb(0x1f6)](_0x49753b);return _0x26dd95[_0x4b97bb(0x1db)]=_0x4b97bb(0x1da)+_0x1d5622[_0x4b97bb(0x1f7)]+_0x4b97bb(0x1bb),_0x26dd95[_0x4b97bb(0x1c8)](_0x4b97bb(0x1dd),()=>{const _0x3882e7=_0x4b97bb;_0x26dd95[_0x3882e7(0x1ff)][_0x3882e7(0x1b4)](_0x3882e7(0x1f8));}),_0x26dd95[_0x4b97bb(0x1c8)](_0x4b97bb(0x1f4),()=>{const _0x5f10fb=_0x4b97bb;_0x26dd95[_0x5f10fb(0x1ff)][_0x5f10fb(0x1fc)](_0x5f10fb(0x1f8));}),_0x26dd95;},_0x18a886[_0x35f246(0x1fe)]=function(_0x13c46f){const _0x302913=_0x35f246;return!(!this[_0x302913(0x191)](_0x302913(0x1c9))||!_0x13c46f[_0x302913(0x191)](_0x302913(0x1c9))||this[_0x302913(0x1c3)](_0x302913(0x1b3))!=_0x13c46f[_0x302913(0x1c3)](_0x302913(0x1b3)));},_0x18a886;}(_0x58120d,_0x144467,_0x4e6211);}(_0x1a0ab5,_0x1186d5,_0x111410,_0x2310b3)}),_0x2310b3[_0x4790f1(0x1a1)][_0x4790f1(0x188)](_0x4790f1(0x1a7))[_0x4790f1(0x1e7)]({'model':_0x4790f1(0x19b),'view':_0x539430=>function(_0x2d00c7,_0x46b40a){const _0x734b11=_0x4790f1,_0x2dbab3=_0x2d00c7[_0x734b11(0x18d)][_0x734b11(0x1cb)](':')[0x2];if(_0x2dbab3===_0x46b40a[_0x734b11(0x1d4)])return null;const _0x33e9f9=_0x46b40a[_0x734b11(0x1be)](_0x2dbab3);if(!_0x33e9f9)return{'id':_0x2dbab3,'classes':[]};return{'id':_0x2dbab3,'classes':[_0x734b11(0x204),_0x33e9f9[_0x734b11(0x1ab)][_0x734b11(0x1cc)]()],'attributes':{'data-session-id':_0x2dbab3},'priority':0x7d0+_0x33e9f9[_0x734b11(0x1a4)]};}(_0x539430,_0x111410)}),function(_0x55a054){const _0x54a888=_0x4790f1,_0x46857f=_0x55a054[_0x54a888(0x205)],_0x2109c6=new Map(),_0x503525=_0x55a054[_0x54a888(0x190)][_0x54a888(0x1d1)](_0x2e875c);_0x46857f[_0x54a888(0x1e4)]['on'](_0x54a888(0x1aa),(_0x38699e,_0x43bc28,_0x56d847,_0x2fea63)=>{const _0x99d354=_0x54a888;if(!_0x2fea63&&_0x2109c6[_0x99d354(0x1d1)](_0x43bc28[_0x99d354(0x1f7)]))return _0x2109c6[_0x99d354(0x1d1)](_0x43bc28[_0x99d354(0x1f7)])[_0x99d354(0x1bf)](),void _0x2109c6[_0x99d354(0x197)](_0x43bc28[_0x99d354(0x1f7)]);const _0x19b2b6=_0x43bc28[_0x99d354(0x1f7)][_0x99d354(0x1cb)](':')[0x2];if(_0x19b2b6===_0x503525[_0x99d354(0x1d4)])return;const _0x359cad=_0x99d354(0x1a2)+_0x19b2b6;_0x46857f[_0x99d354(0x1e4)][_0x99d354(0x194)](_0x359cad)&&_0x55a054[_0x99d354(0x1f2)][_0x99d354(0x19c)](_0x359cad),_0x43bc28['on'](_0x99d354(0x1b7),(_0x4c4347,_0x344b1e,_0x3d2056)=>{const _0x218ec6=_0x99d354;if(_0x218ec6(0x19d)!=_0x344b1e[_0x218ec6(0x1e1)][_0x218ec6(0x19e)]&&_0x218ec6(0x19d)==_0x43bc28[_0x218ec6(0x1d3)]()[_0x218ec6(0x1e1)][_0x218ec6(0x19e)]&&!_0x2109c6[_0x218ec6(0x194)](_0x43bc28[_0x218ec6(0x1f7)])){const _0x5c8478=_0x46857f[_0x218ec6(0x192)][_0x218ec6(0x1af)](_0x3d2056[_0x218ec6(0x1cd)]);if(_0x5c8478){const _0x4c2c86=_0x2ee973[_0x218ec6(0x1ef)](_0x5c8478);_0x2109c6[_0x218ec6(0x1e0)](_0x43bc28[_0x218ec6(0x1f7)],_0x4c2c86),_0x4c2c86['on'](_0x218ec6(0x1b7),(_0x493d75,_0x85ff0a,_0x1e6a2b)=>{const _0x203e0d=_0x218ec6;if(_0x203e0d(0x19d)==_0x4c2c86[_0x203e0d(0x1e1)][_0x203e0d(0x19e)]){const _0x274648=_0x46857f[_0x203e0d(0x192)][_0x203e0d(0x1af)](_0x1e6a2b[_0x203e0d(0x1cd)]);_0x274648?(_0x4c2c86[_0x203e0d(0x1e5)]=_0x274648[_0x203e0d(0x1e5)],_0x4c2c86[_0x203e0d(0x202)]=_0x274648[_0x203e0d(0x202)]):(_0x2109c6[_0x203e0d(0x197)](_0x43bc28[_0x203e0d(0x1f7)]),_0x4c2c86[_0x203e0d(0x1bf)]());}});}}});}),_0x46857f[_0x54a888(0x1e2)]['on'](_0x54a888(0x1b6),()=>{const _0x59fb3c=_0x54a888;_0x2109c6[_0x59fb3c(0x1f0)]>0x0&&_0x46857f[_0x59fb3c(0x1a3)]({'isUndoable':!0x1},_0xeb77ed=>{const _0x2f5707=_0x59fb3c;for(const [_0x26045c,_0x3bacb8]of _0x2109c6)_0x2f5707(0x19d)==_0x46857f[_0x2f5707(0x1e4)][_0x2f5707(0x1d1)](_0x26045c)[_0x2f5707(0x1d3)]()[_0x2f5707(0x1e1)][_0x2f5707(0x19e)]&&(re(_0x26045c[_0x2f5707(0x1cb)](':')[0x2],_0x3bacb8[_0x2f5707(0x1c6)](),_0x46857f,_0xeb77ed),_0x3bacb8[_0x2f5707(0x1bf)]());_0x2109c6[_0x2f5707(0x1df)]();});});}(_0x2310b3),this[_0x4790f1(0x193)][_0x4790f1(0x1d7)](_0x3c40db[_0x4790f1(0x1e2)],_0x4790f1(0x1b0),(_0x53871a,{key:_0x2740f4})=>{const _0x434b6a=_0x4790f1;_0x434b6a(0x1ed)===_0x2740f4&&function(_0x7fa0d1){const _0x5276ef=_0x434b6a;_0x7fa0d1[_0x5276ef(0x1f2)][_0x5276ef(0x1eb)][_0x5276ef(0x1b6)](_0x31aea3=>{const _0x5a7ed1=_0x5276ef;for(const _0x1669ed of _0x7fa0d1[_0x5a7ed1(0x205)][_0x5a7ed1(0x1e4)]){if(!_0x1669ed[_0x5a7ed1(0x1f7)][_0x5a7ed1(0x1c5)](_0x5a7ed1(0x1f3)))continue;const _0x3500ff=_0x7fa0d1[_0x5a7ed1(0x1f2)][_0x5a7ed1(0x1ba)][_0x5a7ed1(0x201)](_0x1669ed[_0x5a7ed1(0x1f7)]);if(_0x3500ff){for(const _0x56c20f of _0x3500ff)_0x31aea3[_0x5a7ed1(0x1ce)](_0x5a7ed1(0x1f8),_0x56c20f);}}});}(_0x2310b3);},{'useCapture':!0x0});}[_0x3469bb(0x1ca)](){const _0x5c1557=_0x3469bb,_0xb37aa5=this[_0x5c1557(0x18b)],_0x42cdae=_0xb37aa5[_0x5c1557(0x1f1)][_0x5c1557(0x1d1)](_0x5c1557(0x1e8));_0x42cdae&&_0xb37aa5[_0x5c1557(0x205)]['on'](_0x5c1557(0x1ac),(_0x4add22,_0x56a03d)=>{const _0x413311=_0x5c1557,_0x55826a=_0x56a03d[0x0];if(_0x413311(0x1d6)!=_0x55826a[_0x413311(0x1f5)]||!_0x55826a[_0x413311(0x1f7)][_0x413311(0x1c5)](_0x413311(0x186)))return;const _0x4b1586=_0x55826a[_0x413311(0x1bc)];_0x42cdae[_0x413311(0x1b5)][_0x413311(0x194)](_0x4b1586)&&(_0x55826a[_0x413311(0x1fd)]=_0x55826a[_0x413311(0x200)]?_0xb37aa5[_0x413311(0x205)][_0x413311(0x1d5)](_0x55826a[_0x413311(0x200)][_0x413311(0x1e5)],_0x55826a[_0x413311(0x200)][_0x413311(0x202)]):null);},{'priority':_0x5c1557(0x196)});}[_0x3469bb(0x1c4)](){const _0x472d8c=_0x3469bb;return this[_0x472d8c(0x193)][_0x472d8c(0x1fa)](),super[_0x472d8c(0x1c4)]();}[_0x3469bb(0x1ea)](){const _0x3641ac=_0x3469bb,_0x5cfe2d=this[_0x3641ac(0x18b)],_0x300b48=_0x5cfe2d[_0x3641ac(0x205)][_0x3641ac(0x1e2)],_0x3cd165=_0x5cfe2d[_0x3641ac(0x190)][_0x3641ac(0x1d1)](_0x2e875c);_0x5cfe2d[_0x3641ac(0x205)][_0x3641ac(0x1a3)]({'isUndoable':!0x1},_0x4fad69=>{const _0xb0dc9d=_0x3641ac,_0x2edbff=_0xb0dc9d(0x1b1)+_0x3cd165[_0xb0dc9d(0x1d4)],_0x7965e=_0xb0dc9d(0x1a2)+_0x3cd165[_0xb0dc9d(0x1d4)],_0xff05e7=_0x5cfe2d[_0xb0dc9d(0x205)][_0xb0dc9d(0x1e4)][_0xb0dc9d(0x194)](_0x2edbff);_0x5cfe2d[_0xb0dc9d(0x1f2)][_0xb0dc9d(0x1eb)][_0xb0dc9d(0x1fb)]?re(_0x3cd165[_0xb0dc9d(0x1d4)],_0x300b48[_0xb0dc9d(0x1a9)][_0xb0dc9d(0x199)](),_0x5cfe2d[_0xb0dc9d(0x205)],_0x4fad69):_0xff05e7&&(_0x4fad69[_0xb0dc9d(0x1f9)](_0x2edbff),_0x4fad69[_0xb0dc9d(0x1f9)](_0x7965e));});}}function re(_0x1cfa4e,_0x22e7aa,_0x2a8c8c,_0x29b4c1){const _0x2f356e=_0x3469bb,_0x1c73b7=_0x2f356e(0x1b1)+_0x1cfa4e,_0x1b1640=_0x2f356e(0x1a2)+_0x1cfa4e,_0x2cf37b=_0x22e7aa[_0x2f356e(0x1c0)]();let _0x38fb65=_0x22e7aa[_0x2f356e(0x1e5)];_0x2cf37b&&_0x2cf37b['is'](_0x2f356e(0x18e),_0x2f356e(0x1ad))&&(_0x38fb65=function(_0x405991,_0x5e6fbb){const _0x93e51=_0x2f356e;for(const _0x222454 of _0x405991[_0x93e51(0x18c)]())if(_0x5e6fbb[_0x93e51(0x192)][_0x93e51(0x1e6)](_0x222454,_0x93e51(0x1ae)))return _0x222454;}(_0x22e7aa,_0x2a8c8c),_0x22e7aa=_0x29b4c1[_0x2f356e(0x1d5)](_0x38fb65));const _0x1ca8f8=_0x29b4c1[_0x2f356e(0x1d5)](_0x38fb65);_0x2a8c8c[_0x2f356e(0x1e4)][_0x2f356e(0x194)](_0x1c73b7)?(_0x29b4c1[_0x2f356e(0x1ec)](_0x1c73b7,{'range':_0x22e7aa}),_0x29b4c1[_0x2f356e(0x1ec)](_0x1b1640,{'range':_0x1ca8f8})):(_0x29b4c1[_0x2f356e(0x184)](_0x1c73b7,{'range':_0x22e7aa,'usingOperation':!0x0}),_0x29b4c1[_0x2f356e(0x184)](_0x1b1640,{'range':_0x1ca8f8,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x59f6be=_0x3361;(function(_0x4a760b,_0x17b8a9){const _0x7e9ee3=_0x3361,_0x1c2d59=_0x4a760b();while(!![]){try{const _0x254dce=-parseInt(_0x7e9ee3(0x1c4))/0x1*(-parseInt(_0x7e9ee3(0x1cb))/0x2)+parseInt(_0x7e9ee3(0x189))/0x3*(parseInt(_0x7e9ee3(0x1c9))/0x4)+parseInt(_0x7e9ee3(0x1c2))/0x5*(-parseInt(_0x7e9ee3(0x184))/0x6)+parseInt(_0x7e9ee3(0x187))/0x7+parseInt(_0x7e9ee3(0x17b))/0x8*(-parseInt(_0x7e9ee3(0x18a))/0x9)+parseInt(_0x7e9ee3(0x17f))/0xa+-parseInt(_0x7e9ee3(0x1d0))/0xb;if(_0x254dce===_0x17b8a9)break;else _0x1c2d59['push'](_0x1c2d59['shift']());}catch(_0x281fd1){_0x1c2d59['push'](_0x1c2d59['shift']());}}}(_0x4b0f,0xb75f6));import{Plugin as _0x17ac30}from'ckeditor5/src/core.js';import{global as _0x2f4b55,DomEmitterMixin as _0x48c094}from'ckeditor5/src/utils.js';import _0x56fcf5 from'./sessions.js';import{LiveRange as _0x26dee3}from'ckeditor5/src/engine.js';function _0x3361(_0x4af24d,_0x35b33c){const _0x4b0f48=_0x4b0f();return _0x3361=function(_0x336130,_0x45d6a7){_0x336130=_0x336130-0x179;let _0x2fe386=_0x4b0f48[_0x336130];return _0x2fe386;},_0x3361(_0x4af24d,_0x35b33c);}import'../../theme/usermarkers.css';export default class K extends _0x17ac30{constructor(){const _0x2c329a=_0x3361;super(...arguments),this[_0x2c329a(0x193)]=new(_0x48c094())();}static get[_0x59f6be(0x1fb)](){return[_0x56fcf5];}static get[_0x59f6be(0x1ce)](){const _0x37804a=_0x59f6be;return _0x37804a(0x1f2);}static get[_0x59f6be(0x1f9)](){return!0x0;}static get[_0x59f6be(0x183)](){return!0x0;}[_0x59f6be(0x1b2)](){const _0x2726e4=_0x59f6be,_0x2d63a5=this[_0x2726e4(0x1cc)],_0x2eda55=_0x2d63a5[_0x2726e4(0x19b)][_0x2726e4(0x1ea)](_0x56fcf5);_0x2d63a5[_0x2726e4(0x1d4)][_0x2726e4(0x1b5)](_0x2726e4(0x179))[_0x2726e4(0x1e9)]({'model':_0x2726e4(0x1f3),'view':(_0x70c2d5,{writer:_0xc7b14a})=>function(_0x52ceed,_0x17908a,_0x3d5bc5,_0x3f6b67){const _0x484817=_0x2726e4,_0x1d1914=_0x52ceed[_0x484817(0x1f6)][_0x484817(0x1aa)](':')[0x2],_0x58a7a8=_0x3d5bc5[_0x484817(0x182)](_0x1d1914);if(!_0x58a7a8||_0x1d1914===_0x3d5bc5[_0x484817(0x17a)])return;if(!_0x3f6b67[_0x484817(0x1fd)][_0x484817(0x1e0)][_0x484817(0x185)](_0x52ceed[_0x484817(0x1bb)][_0x484817(0x1ab)],_0x484817(0x1c6)))return;const _0x4d8a89={'class':_0x484817(0x18d)+_0x58a7a8[_0x484817(0x1eb)][_0x484817(0x18b)](),'data-name':_0x58a7a8[_0x484817(0x199)],'data-session-id':_0x1d1914},_0x23fd56=_0x3f6b67[_0x484817(0x1fd)][_0x484817(0x1f0)][_0x484817(0x1ea)](_0x52ceed[_0x484817(0x1f6)]),_0x28854a=_0x23fd56[_0x484817(0x19d)](),_0x4e17d5=_0x28854a[_0x484817(0x1dc)],_0x5cd335=_0x3f6b67[_0x484817(0x1fd)][_0x484817(0x1e0)];if(_0x4e17d5&&_0x5cd335[_0x484817(0x1cd)](_0x4e17d5)&&_0x5cd335[_0x484817(0x1db)](_0x4e17d5)&&!_0x3f6b67[_0x484817(0x1fd)][_0x484817(0x1f0)][_0x484817(0x1ea)](_0x484817(0x196)+_0x1d1914)[_0x484817(0x1e3)]()[_0x484817(0x1c3)])return;const _0x5f17e5=_0x28854a[_0x484817(0x17d)];return _0x3f6b67[_0x484817(0x1fd)][_0x484817(0x1e0)][_0x484817(0x1c5)](_0x5f17e5)&&!_0x3f6b67[_0x484817(0x1fd)][_0x484817(0x1c1)](_0x5f17e5)&&(_0x4d8a89[_0x484817(0x1e4)]=!0x1),function(_0x12ee33,_0x239d40,_0xd131f){const _0x53b00e=_0x484817,_0x2caafd=_0x12ee33[_0x53b00e(0x1ba)](_0x53b00e(0x1a5),_0x239d40);return _0x12ee33[_0x53b00e(0x1ec)](_0x53b00e(0x1b7),!0x0,_0x2caafd),_0x2caafd[_0x53b00e(0x190)]=function(_0x423ae6){const _0x267d9e=_0x53b00e,_0x344796=this[_0x267d9e(0x1e5)](_0x423ae6);return _0x344796[_0x267d9e(0x19e)]=_0x267d9e(0x198)+_0xd131f[_0x267d9e(0x199)]+_0x267d9e(0x1b1),_0x344796[_0x267d9e(0x19a)](_0x267d9e(0x1a6),()=>{const _0x4116a5=_0x267d9e;_0x344796[_0x4116a5(0x1c8)][_0x4116a5(0x1d5)](_0x4116a5(0x1b8));}),_0x344796[_0x267d9e(0x19a)](_0x267d9e(0x1f8),()=>{const _0x238c80=_0x267d9e;_0x344796[_0x238c80(0x1c8)][_0x238c80(0x191)](_0x238c80(0x1b8));}),_0x344796;},_0x2caafd[_0x53b00e(0x195)]=function(_0x4f52c0){const _0x4201da=_0x53b00e;return!(!this[_0x4201da(0x1bc)](_0x4201da(0x1b7))||!_0x4f52c0[_0x4201da(0x1bc)](_0x4201da(0x1b7))||this[_0x4201da(0x1b0)](_0x4201da(0x194))!=_0x4f52c0[_0x4201da(0x1b0)](_0x4201da(0x194)));},_0x2caafd;}(_0x17908a,_0x4d8a89,_0x58a7a8);}(_0x70c2d5,_0xc7b14a,_0x2eda55,_0x2d63a5)}),_0x2d63a5[_0x2726e4(0x1d4)][_0x2726e4(0x1b5)](_0x2726e4(0x179))[_0x2726e4(0x1de)]({'model':_0x2726e4(0x1b3),'view':_0x210e66=>function(_0x5ae48f,_0x335216){const _0xc360f4=_0x2726e4,_0x24b4e9=_0x5ae48f[_0xc360f4(0x1f6)][_0xc360f4(0x1aa)](':')[0x2];if(_0x24b4e9===_0x335216[_0xc360f4(0x17a)])return null;const _0x37099c=_0x335216[_0xc360f4(0x182)](_0x24b4e9);if(!_0x37099c)return{'id':_0x24b4e9,'classes':[]};return{'id':_0x24b4e9,'classes':[_0xc360f4(0x1a9),_0x37099c[_0xc360f4(0x1eb)][_0xc360f4(0x1e2)]()],'attributes':{'data-session-id':_0x24b4e9},'priority':0x7d0+_0x37099c[_0xc360f4(0x19c)]};}(_0x210e66,_0x2eda55)}),function(_0x3b4888){const _0x3a5afe=_0x2726e4,_0x17a853=_0x3b4888[_0x3a5afe(0x1fd)],_0xfbc44c=new Map(),_0x17b54b=_0x3b4888[_0x3a5afe(0x19b)][_0x3a5afe(0x1ea)](_0x56fcf5);_0x17a853[_0x3a5afe(0x1f0)]['on'](_0x3a5afe(0x1b9),(_0x298673,_0x4bed38,_0x457d8b,_0x339205)=>{const _0x596e86=_0x3a5afe;if(!_0x339205&&_0xfbc44c[_0x596e86(0x1ea)](_0x4bed38[_0x596e86(0x199)]))return _0xfbc44c[_0x596e86(0x1ea)](_0x4bed38[_0x596e86(0x199)])[_0x596e86(0x1ef)](),void _0xfbc44c[_0x596e86(0x1ac)](_0x4bed38[_0x596e86(0x199)]);const _0x192797=_0x4bed38[_0x596e86(0x199)][_0x596e86(0x1aa)](':')[0x2];if(_0x192797===_0x17b54b[_0x596e86(0x17a)])return;const _0x2829ac=_0x596e86(0x1f1)+_0x192797;_0x17a853[_0x596e86(0x1f0)][_0x596e86(0x1dd)](_0x2829ac)&&_0x3b4888[_0x596e86(0x1cf)][_0x596e86(0x1c0)](_0x2829ac),_0x4bed38['on'](_0x596e86(0x1d9),(_0x1c7c48,_0x5ee974,_0x523ea9)=>{const _0x126b35=_0x596e86;if(_0x126b35(0x1da)!=_0x5ee974[_0x126b35(0x1a7)][_0x126b35(0x18f)]&&_0x126b35(0x1da)==_0x4bed38[_0x126b35(0x1e3)]()[_0x126b35(0x1a7)][_0x126b35(0x18f)]&&!_0xfbc44c[_0x126b35(0x1dd)](_0x4bed38[_0x126b35(0x199)])){const _0x1dcba1=_0x17a853[_0x126b35(0x1e0)][_0x126b35(0x1af)](_0x523ea9[_0x126b35(0x1a0)]);if(_0x1dcba1){const _0x356011=_0x26dee3[_0x126b35(0x1b4)](_0x1dcba1);_0xfbc44c[_0x126b35(0x1ee)](_0x4bed38[_0x126b35(0x199)],_0x356011),_0x356011['on'](_0x126b35(0x1d9),(_0x20d775,_0x5f58e4,_0xe5d55)=>{const _0x52c2c4=_0x126b35;if(_0x52c2c4(0x1da)==_0x356011[_0x52c2c4(0x1a7)][_0x52c2c4(0x18f)]){const _0x1262c1=_0x17a853[_0x52c2c4(0x1e0)][_0x52c2c4(0x1af)](_0xe5d55[_0x52c2c4(0x1a0)]);_0x1262c1?(_0x356011[_0x52c2c4(0x1ab)]=_0x1262c1[_0x52c2c4(0x1ab)],_0x356011[_0x52c2c4(0x1d1)]=_0x1262c1[_0x52c2c4(0x1d1)]):(_0xfbc44c[_0x52c2c4(0x1ac)](_0x4bed38[_0x52c2c4(0x199)]),_0x356011[_0x52c2c4(0x1ef)]());}});}}});}),_0x17a853[_0x3a5afe(0x1f4)]['on'](_0x3a5afe(0x1e6),()=>{const _0x45de3c=_0x3a5afe;_0xfbc44c[_0x45de3c(0x1a8)]>0x0&&_0x17a853[_0x45de3c(0x1e1)]({'isUndoable':!0x1},_0x3015b6=>{const _0x265591=_0x45de3c;for(const [_0x58449b,_0x533630]of _0xfbc44c)_0x265591(0x1da)==_0x17a853[_0x265591(0x1f0)][_0x265591(0x1ea)](_0x58449b)[_0x265591(0x1e3)]()[_0x265591(0x1a7)][_0x265591(0x18f)]&&(te(_0x58449b[_0x265591(0x1aa)](':')[0x2],_0x533630[_0x265591(0x1fa)](),_0x17a853,_0x3015b6),_0x533630[_0x265591(0x1ef)]());_0xfbc44c[_0x265591(0x1bf)]();});});}(_0x2d63a5),this[_0x2726e4(0x193)][_0x2726e4(0x1a3)](_0x2f4b55[_0x2726e4(0x1f4)],_0x2726e4(0x18e),(_0x2a9fac,{key:_0x7a3323})=>{const _0x40fec1=_0x2726e4;_0x40fec1(0x180)===_0x7a3323&&function(_0x57bb5f){const _0x54fdb8=_0x40fec1;_0x57bb5f[_0x54fdb8(0x1cf)][_0x54fdb8(0x1bd)][_0x54fdb8(0x1e6)](_0x5ab88f=>{const _0x66ec24=_0x54fdb8;for(const _0x407e51 of _0x57bb5f[_0x66ec24(0x1fd)][_0x66ec24(0x1f0)]){if(!_0x407e51[_0x66ec24(0x199)][_0x66ec24(0x1ed)](_0x66ec24(0x1f3)))continue;const _0x19e9a0=_0x57bb5f[_0x66ec24(0x1cf)][_0x66ec24(0x1ae)][_0x66ec24(0x1f5)](_0x407e51[_0x66ec24(0x199)]);if(_0x19e9a0){for(const _0x5d2ec6 of _0x19e9a0)_0x5ab88f[_0x66ec24(0x1d2)](_0x66ec24(0x1b8),_0x5d2ec6);}}});}(_0x2d63a5);},{'useCapture':!0x0});}[_0x59f6be(0x1e7)](){const _0x114b74=_0x59f6be,_0x4330bc=this[_0x114b74(0x1cc)],_0x550778=_0x4330bc[_0x114b74(0x1c7)][_0x114b74(0x1ea)](_0x114b74(0x197));_0x550778&&_0x4330bc[_0x114b74(0x1fd)]['on'](_0x114b74(0x181),(_0x2b94ab,_0x556619)=>{const _0x5aa82a=_0x114b74,_0x3d62e1=_0x556619[0x0];if(_0x5aa82a(0x17c)!=_0x3d62e1[_0x5aa82a(0x19f)]||!_0x3d62e1[_0x5aa82a(0x199)][_0x5aa82a(0x1ed)](_0x5aa82a(0x1a4)))return;const _0xa33597=_0x3d62e1[_0x5aa82a(0x186)];_0x550778[_0x5aa82a(0x1f7)][_0x5aa82a(0x1dd)](_0xa33597)&&(_0x3d62e1[_0x5aa82a(0x1ad)]=_0x3d62e1[_0x5aa82a(0x192)]?_0x4330bc[_0x5aa82a(0x1fd)][_0x5aa82a(0x1e8)](_0x3d62e1[_0x5aa82a(0x192)][_0x5aa82a(0x1ab)],_0x3d62e1[_0x5aa82a(0x192)][_0x5aa82a(0x1d1)]):null);},{'priority':_0x114b74(0x1d8)});}[_0x59f6be(0x1ca)](){const _0xe65642=_0x59f6be;return this[_0xe65642(0x193)][_0xe65642(0x1a1)](),super[_0xe65642(0x1ca)]();}[_0x59f6be(0x17e)](){const _0x2dab9e=_0x59f6be,_0x2b9fc8=this[_0x2dab9e(0x1cc)],_0x217ff9=_0x2b9fc8[_0x2dab9e(0x1fd)][_0x2dab9e(0x1f4)],_0x39ed8d=_0x2b9fc8[_0x2dab9e(0x19b)][_0x2dab9e(0x1ea)](_0x56fcf5);_0x2b9fc8[_0x2dab9e(0x1fd)][_0x2dab9e(0x1e1)]({'isUndoable':!0x1},_0x28694a=>{const _0x1324a9=_0x2dab9e,_0x5d4690=_0x1324a9(0x196)+_0x39ed8d[_0x1324a9(0x17a)],_0x4ebacf=_0x1324a9(0x1f1)+_0x39ed8d[_0x1324a9(0x17a)],_0x3b3dd5=_0x2b9fc8[_0x1324a9(0x1fd)][_0x1324a9(0x1f0)][_0x1324a9(0x1dd)](_0x5d4690);_0x2b9fc8[_0x1324a9(0x1cf)][_0x1324a9(0x1bd)][_0x1324a9(0x1be)]?te(_0x39ed8d[_0x1324a9(0x17a)],_0x217ff9[_0x1324a9(0x188)][_0x1324a9(0x1a2)](),_0x2b9fc8[_0x1324a9(0x1fd)],_0x28694a):_0x3b3dd5&&(_0x28694a[_0x1324a9(0x1d7)](_0x5d4690),_0x28694a[_0x1324a9(0x1d7)](_0x4ebacf));});}}function te(_0x554703,_0x5efe22,_0x312f21,_0x15bec0){const _0x59775c=_0x59f6be,_0xc0101b=_0x59775c(0x196)+_0x554703,_0x301cb3=_0x59775c(0x1f1)+_0x554703,_0x306de2=_0x5efe22[_0x59775c(0x18c)]();let _0x3cd4c0=_0x5efe22[_0x59775c(0x1ab)];_0x306de2&&_0x306de2['is'](_0x59775c(0x1fc),_0x59775c(0x1d3))&&(_0x3cd4c0=function(_0x4c2e9b,_0x9594c7){const _0x3f251d=_0x59775c;for(const _0x55c60c of _0x4c2e9b[_0x3f251d(0x1b6)]())if(_0x9594c7[_0x3f251d(0x1e0)][_0x3f251d(0x185)](_0x55c60c,_0x3f251d(0x1c6)))return _0x55c60c;}(_0x5efe22,_0x312f21),_0x5efe22=_0x15bec0[_0x59775c(0x1e8)](_0x3cd4c0));const _0x5e8fdd=_0x15bec0[_0x59775c(0x1e8)](_0x3cd4c0);_0x312f21[_0x59775c(0x1f0)][_0x59775c(0x1dd)](_0xc0101b)?(_0x15bec0[_0x59775c(0x1df)](_0xc0101b,{'range':_0x5efe22}),_0x15bec0[_0x59775c(0x1df)](_0x301cb3,{'range':_0x5e8fdd})):(_0x15bec0[_0x59775c(0x1d6)](_0xc0101b,{'range':_0x5efe22,'usingOperation':!0x0}),_0x15bec0[_0x59775c(0x1d6)](_0x301cb3,{'range':_0x5e8fdd,'usingOperation':!0x0}));}function _0x4b0f(){const _0x858183=['startsWith','set','detach','markers','user:position:','UserMarkers','user:position','document','markerNameToElements','markerName','_createdBatches','mouseleave','isOfficialPlugin','toRange','requires','element','model','editingDowncast','mySessionId','24AlcAdr','marker','parent','createUserMarkerOperations','10629430weUaml','Escape','applyOperation','getUserBySessionId','isPremiumPlugin','78798ShWVPe','checkChild','batch','5275480QLUVzQ','selection','2110539eieIxn','4311549npxjyd','getMarkerClass','getContainedElement','ck-user__marker\x20','keydown','rootName','render','remove','oldRange','_domEmitter','data-session-id','isSimilar','user:range:','undo','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','name','addEventListener','plugins','orderNumber','getStart','innerHTML','type','deletionPosition','stopListening','getFirstRange','listenTo','user:','span','mouseenter','root','size','ck-user__selection','split','start','delete','newRange','mapper','getNearestSelectionRange','getAttribute','</span>','init','user:range','fromRange','for','getPositions','userPositionMarker','ck-user__marker_hovered','update:user:range','createUIElement','markerRange','getCustomProperty','view','hasDomSelection','clear','reconvertMarker','hasContent','170XCWLPF','isCollapsed','1ELtsaZ','isLimit','$text','commands','classList','8TkUctL','destroy','1365506SunozH','editor','isObject','pluginName','editing','13987193ewvPGk','end','removeClass','tableCell','conversion','add','addMarker','removeMarker','highest','change:range','$graveyard','isInline','nodeAfter','has','markerToHighlight','updateMarker','schema','enqueueChange','getSelectionClass','getRange','contenteditable','toDomElement','change','afterInit','createRange','markerToElement','get','color','setCustomProperty'];_0x4b0f=function(){return _0x858183;};return _0x4b0f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x302acc=_0x38fc;(function(_0x1da760,_0x5cb4d1){const _0x43707d=_0x38fc,_0x90b7d1=_0x1da760();while(!![]){try{const _0x47b360=-parseInt(_0x43707d(0x1b9))/0x1*(parseInt(_0x43707d(0x199))/0x2)+-parseInt(_0x43707d(0x1a6))/0x3*(-parseInt(_0x43707d(0x1a8))/0x4)+parseInt(_0x43707d(0x1c6))/0x5+parseInt(_0x43707d(0x1b5))/0x6+parseInt(_0x43707d(0x1af))/0x7+-parseInt(_0x43707d(0x1a9))/0x8*(-parseInt(_0x43707d(0x1a7))/0x9)+-parseInt(_0x43707d(0x18b))/0xa;if(_0x47b360===_0x5cb4d1)break;else _0x90b7d1['push'](_0x90b7d1['shift']());}catch(_0x38a476){_0x90b7d1['push'](_0x90b7d1['shift']());}}}(_0x36d2,0xbc4c1));import{ContextPlugin as _0x2d0427}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x3466ba,CKEditorError as _0x380a43}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x1abd3f,WEB_SOCKET_GATEWAY_STATES as _0x3a98df}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x38fc(_0x22311f,_0x31bbc1){const _0x36d254=_0x36d2();return _0x38fc=function(_0x38fc34,_0x3b5378){_0x38fc34=_0x38fc34-0x184;let _0x1a0ac2=_0x36d254[_0x38fc34];return _0x1a0ac2;},_0x38fc(_0x22311f,_0x31bbc1);}import{Notification as _0x5845ca}from'ckeditor5/src/ui.js';class c extends _0x2d0427{static get[_0x302acc(0x1ab)](){const _0x46c8da=_0x302acc;return[_0x46c8da(0x1c1),_0x5845ca];}static get[_0x302acc(0x1be)](){const _0x21bbdb=_0x302acc;return _0x21bbdb(0x18a);}static get[_0x302acc(0x186)](){return!0x0;}static get[_0x302acc(0x19e)](){return!0x0;}constructor(_0x5ee5c6){const _0x227648=_0x302acc;super(_0x5ee5c6),this[_0x227648(0x1b1)](_0x227648(0x19c),_0x3a98df[_0x227648(0x1b2)]),this[_0x227648(0x1b1)](_0x227648(0x1c4),!0x1),this[_0x227648(0x187)]=new Set(),this[_0x227648(0x18c)]=!0x1,this[_0x227648(0x1cc)]=Object[_0x227648(0x1a4)](_0x3466ba);}[_0x302acc(0x189)](){const _0x14dbd7=_0x302acc,_0x5b9f3c=this[_0x14dbd7(0x1bf)],_0x45126c=_0x5b9f3c[_0x14dbd7(0x1b4)][_0x14dbd7(0x1ac)](_0x14dbd7(0x1c1)),_0x12e773=_0x5b9f3c[_0x14dbd7(0x1b4)][_0x14dbd7(0x1ac)](_0x5845ca);if(!_0x45126c[_0x14dbd7(0x190)])throw new _0x380a43(_0x14dbd7(0x1ae),this);if(!_0x45126c[_0x14dbd7(0x19d)])throw new _0x380a43(_0x14dbd7(0x1a0),this);return this[_0x14dbd7(0x1cc)][_0x14dbd7(0x194)](window,_0x14dbd7(0x1c3),()=>this[_0x14dbd7(0x1c4)]=!0x0),this[_0x14dbd7(0x1cc)][_0x14dbd7(0x194)](window,_0x14dbd7(0x1b8),()=>this[_0x14dbd7(0x1c4)]=!0x1),this[_0x14dbd7(0x1bf)][_0x14dbd7(0x1c8)][_0x14dbd7(0x1b0)](_0x14dbd7(0x1c0),0xa),this[_0x14dbd7(0x1bf)][_0x14dbd7(0x1c8)][_0x14dbd7(0x1b0)](_0x14dbd7(0x198),0x14),c[_0x14dbd7(0x18a)][_0x14dbd7(0x1aa)](_0x45126c[_0x14dbd7(0x190)],_0x45126c[_0x14dbd7(0x19d)],{'timeout':0x3e8*this[_0x14dbd7(0x1bf)][_0x14dbd7(0x1c8)][_0x14dbd7(0x1ac)](_0x14dbd7(0x1c0)),'requestTimeout':0x3e8*this[_0x14dbd7(0x1bf)][_0x14dbd7(0x1c8)][_0x14dbd7(0x1ac)](_0x14dbd7(0x198))})[_0x14dbd7(0x19a)](_0x42e2bb=>{const _0x258740=_0x14dbd7;if(this[_0x258740(0x1cb)]=_0x42e2bb,this[_0x258740(0x1b3)](_0x258740(0x19c))['to'](_0x42e2bb,_0x258740(0x19c),this,_0x258740(0x1c4),(_0x53c466,_0x3feb7d)=>(_0x258740(0x18f)!==_0x53c466&&(this[_0x258740(0x18c)]=!0x0),_0x3feb7d||_0x53c466!==_0x3a98df[_0x258740(0x1b2)]?_0x3a98df[_0x258740(0x19b)]:this[_0x258740(0x19c)]==_0x3a98df[_0x258740(0x19b)]&&this[_0x258740(0x18c)]?(this[_0x258740(0x18c)]=!0x1,this[_0x258740(0x1bb)](),_0x3a98df[_0x258740(0x191)]):_0x3a98df[_0x258740(0x1b2)])),this[_0x258740(0x1cb)]['on'](_0x258740(0x18d),(_0x31bea5,_0x9d130b)=>{const _0x41722f=_0x258740;if(_0x41722f(0x1c2)!==_0x9d130b[_0x41722f(0x1ce)])throw console[_0x41722f(0x18d)](_0x9d130b),new _0x380a43(_0x41722f(0x185),null,{'originalError':_0x9d130b});_0x12e773[_0x41722f(0x1cd)](_0x41722f(0x1c5),{'title':_0x41722f(0x1ad),'namespace':_0x41722f(0x188)});}),!_0x42e2bb['me'])return new Promise(_0x10c3b8=>_0x42e2bb['on'](_0x258740(0x19f),_0x10c3b8));})[_0x14dbd7(0x184)](_0x16bbf6=>{const _0x17756f=_0x14dbd7;throw console[_0x17756f(0x18d)](_0x16bbf6),new _0x380a43(_0x17756f(0x185),null,{'originalError':_0x16bbf6});});}[_0x302acc(0x18e)](_0x22a42f){const _0x10bc4b=_0x302acc;if(_0x10bc4b(0x1ca)!=typeof _0x22a42f[_0x10bc4b(0x1a1)])throw new _0x380a43(_0x10bc4b(0x193),this);if(this[_0x10bc4b(0x195)](_0x22a42f))throw new _0x380a43(_0x10bc4b(0x1b6),this,{'name':_0x22a42f[_0x10bc4b(0x1c7)][_0x10bc4b(0x1be)]});this[_0x10bc4b(0x187)][_0x10bc4b(0x192)](_0x22a42f);}[_0x302acc(0x1ba)](_0x1a83b3){const _0x5d1213=_0x302acc;this[_0x5d1213(0x187)][_0x5d1213(0x197)](_0x1a83b3);}[_0x302acc(0x195)](_0x2e6e68){const _0x3ded21=_0x302acc;return this[_0x3ded21(0x187)][_0x3ded21(0x1c9)](_0x2e6e68);}[_0x302acc(0x1bb)](){const _0x3944bb=_0x302acc;return this[_0x3944bb(0x1cb)][_0x3944bb(0x1a1)]()[_0x3944bb(0x19a)](()=>Promise[_0x3944bb(0x1a2)](Array[_0x3944bb(0x1a3)](this[_0x3944bb(0x187)],_0x3e6935=>_0x3e6935[_0x3944bb(0x1a1)]())))[_0x3944bb(0x19a)](()=>this[_0x3944bb(0x19c)]=_0x3a98df[_0x3944bb(0x1b2)])[_0x3944bb(0x184)](_0x3f5299=>{const _0x1dab29=_0x3944bb;throw console[_0x1dab29(0x18d)](_0x3f5299),new _0x380a43(_0x1dab29(0x1bc),this[_0x1dab29(0x1bf)]);});}[_0x302acc(0x1bd)](){const _0x426c29=_0x302acc;this[_0x426c29(0x1cb)]&&this[_0x426c29(0x1cb)][_0x426c29(0x1a5)](),this[_0x426c29(0x19c)]=_0x3a98df[_0x426c29(0x19b)],this[_0x426c29(0x1cc)][_0x426c29(0x1b7)](),super[_0x426c29(0x1bd)]();}}c[_0x302acc(0x18a)]=_0x1abd3f,c[_0x302acc(0x196)]=0x3e8;export default c;function _0x36d2(){const _0xcc1449=['cloudservices-init','isOfficialPlugin','_reconnectionStack','real-time-collaboration','init','WebSocketGateway','25759570IcaBPI','_shouldPluginsReconnect','error','addToReconnectionStack','connected','token','CONNECTING','add','websocketgateway-invalid-plugin-interface','listenTo','isInReconnectionStack','initialReconnectionInterval','delete','cloudServices.requestTimeout','18wMJbGc','then','DISCONNECTED','state','webSocketUrl','isPremiumPlugin','change:me','websocketgateway-missing-websocket-url','reconnect','all','from','create','disconnect','3TUYlVy','315XYyybG','3010076ThiNLx','65744vdKlHl','connect','requires','get','Connected\x20users\x20limit\x20exceeded','websocketgateway-missing-token','9505734xsTEbE','define','set','CONNECTED','bind','plugins','2202090PRsiqG','websocketgateway-plugin-already-registered','stopListening','online','52511TiUooO','removeFromReconnectionStack','_reconnect','cloudservices-reconnection-error','destroy','pluginName','context','cloudServices.connectionTimeout','CloudServices','limitExceeded','offline','_isBrowserOffline','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.','5273475GvPOHs','constructor','config','has','function','connection','_domEmitter','showWarning','code','catch'];_0x36d2=function(){return _0xcc1449;};return _0x36d2();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x1a1dc2=_0x13d4;(function(_0x5880fa,_0x40fd97){var _0x1e38df=_0x13d4,_0x416200=_0x5880fa();while(!![]){try{var _0x52d3bf=-parseInt(_0x1e38df(0xb5))/0x1+-parseInt(_0x1e38df(0xb3))/0x2*(-parseInt(_0x1e38df(0xb9))/0x3)+-parseInt(_0x1e38df(0xb1))/0x4*(parseInt(_0x1e38df(0xb7))/0x5)+parseInt(_0x1e38df(0xaf))/0x6+parseInt(_0x1e38df(0xb2))/0x7*(-parseInt(_0x1e38df(0xb6))/0x8)+-parseInt(_0x1e38df(0xad))/0x9+parseInt(_0x1e38df(0xb8))/0xa;if(_0x52d3bf===_0x40fd97)break;else _0x416200['push'](_0x416200['shift']());}catch(_0x1d6bcf){_0x416200['push'](_0x416200['shift']());}}}(_0x2c02,0x1ba74));import{Plugin as _0x2f15ec}from'ckeditor5/src/core.js';function _0x13d4(_0x3e7ff2,_0x5c7e1a){var _0x2c022f=_0x2c02();return _0x13d4=function(_0x13d451,_0x24a772){_0x13d451=_0x13d451-0xac;var _0x4cf0c6=_0x2c022f[_0x13d451];return _0x4cf0c6;},_0x13d4(_0x3e7ff2,_0x5c7e1a);}import _0x15119c from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x2f15ec{static get[_0x1a1dc2(0xb4)](){return[_0x15119c];}static get[_0x1a1dc2(0xac)](){var _0x33e781=_0x1a1dc2;return _0x33e781(0xae);}static get[_0x1a1dc2(0xba)](){return!0x0;}static get[_0x1a1dc2(0xb0)](){return!0x0;}}function _0x2c02(){var _0x17776e=['193988XZrOpe','requires','160102NtEEDJ','200yyAaqx','222395dlAYSZ','3083260sMrfWN','6vEpuji','isOfficialPlugin','pluginName','1807524VMPoOL','RealTimeCollaborativeEditing','417726ZbgDbh','isPremiumPlugin','4bTljrI','14910tsZpdG'];_0x2c02=function(){return _0x17776e;};return _0x2c02();}
|