@ckeditor/ckeditor5-real-time-collaboration 44.2.0-alpha.0 → 44.2.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x9e6752=_0xadb4;(function(_0x36f535,_0x23959e){const _0x4d09d1=_0xadb4,_0x1f669e=_0x36f535();while(!![]){try{const _0x5156e3=parseInt(_0x4d09d1(0x178))/0x1*(-parseInt(_0x4d09d1(0x17e))/0x2)+-parseInt(_0x4d09d1(0x14c))/0x3*(-parseInt(_0x4d09d1(0x126))/0x4)+-parseInt(_0x4d09d1(0x162))/0x5+-parseInt(_0x4d09d1(0x15d))/0x6+-parseInt(_0x4d09d1(0x173))/0x7+-parseInt(_0x4d09d1(0x167))/0x8+parseInt(_0x4d09d1(0x16c))/0x9;if(_0x5156e3===_0x23959e)break;else _0x1f669e['push'](_0x1f669e['shift']());}catch(_0x307914){_0x1f669e['push'](_0x1f669e['shift']());}}}(_0x11d5,0xba8b7));import{Context as _0x4a183f,ContextPlugin as _0x2ed82e}from'ckeditor5/src/core.js';import{CKEditorError as _0x86a74a}from'ckeditor5/src/utils.js';import{Users as _0x127534}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x41a6e8,User as _0x5ce2a1}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x460828 from'../realtimecollaborativeediting/websocketgateway.js';import _0x374c9e from'../realtimecollaborativeediting/sessions.js';class a extends _0x2ed82e{static get[_0x9e6752(0x165)](){const _0x49089a=_0x9e6752;return[_0x460828,_0x49089a(0x12e),_0x374c9e,_0x127534];}static get[_0x9e6752(0x181)](){const _0x4aef9c=_0x9e6752;return _0x4aef9c(0x152);}static get[_0x9e6752(0x128)](){return!0x0;}static get[_0x9e6752(0x160)](){return!0x0;}constructor(_0x48c0d6){const _0x9913c9=_0x9e6752;super(_0x48c0d6),this[_0x9913c9(0x11d)]=new Map();}async[_0x9e6752(0x13d)](){const _0x428a15=_0x9e6752,_0x9e45c7=this[_0x428a15(0x13a)],_0xb43f0a=_0x9e45c7[_0x428a15(0x12b)][_0x428a15(0x122)](_0x428a15(0x12e));if(_0x9e45c7[_0x428a15(0x12b)][_0x428a15(0x122)](_0x460828)[_0x428a15(0x15a)](this),_0xb43f0a[_0x428a15(0x175)]={'addCommentThread':async({channelId:_0x1edee4,threadId:_0x373b9d,comments:_0x55c150,resolvedAt:_0x404cfd,resolvedBy:_0x46b6fd,context:_0x11ca2a,attributes:_0x4282ec})=>{const _0x474726=_0x428a15,_0x43097c=await this[_0x474726(0x151)](_0x1edee4)[_0x474726(0x153)]({'commentThreadId':_0x373b9d,'comments':_0x55c150[_0x474726(0x13c)](_0x1d6675=>function(_0x590d6b,_0x62bd2b,_0x8646db){const _0x42ad0a=_0x474726;return{'commentThreadId':_0x8646db,'commentId':_0x590d6b[_0x42ad0a(0x150)],'userId':_0x590d6b[_0x42ad0a(0x145)],'content':_0x590d6b[_0x42ad0a(0x13f)],'documentId':_0x62bd2b,'createdAt':_0x590d6b[_0x42ad0a(0x174)],'attributes':_0x590d6b[_0x42ad0a(0x133)]||{}};}(_0x1d6675,_0x1edee4,_0x373b9d)),'resolvedAt':_0x404cfd,'resolvedBy':_0x46b6fd,'context':_0x11ca2a,'attributes':_0x4282ec})[_0x474726(0x171)](R);return{'threadId':_0x43097c[_0x474726(0x14a)],'comments':_0x43097c[_0x474726(0x17b)]};},'getCommentThread':async({channelId:_0x532ef6,threadId:_0x512ad9})=>{const _0x42853b=_0x428a15,_0x20d860=await this[_0x42853b(0x151)](_0x532ef6)[_0x42853b(0x16e)](_0x512ad9)[_0x42853b(0x171)](R);return _0x20d860[_0x42853b(0x149)]?null:(await this[_0x42853b(0x12d)]([_0x20d860]),{'threadId':_0x20d860[_0x42853b(0x14a)],'comments':_0x20d860[_0x42853b(0x17b)][_0x42853b(0x13c)](S),'context':_0x20d860[_0x42853b(0x13a)],'resolvedAt':_0x20d860[_0x42853b(0x164)],'resolvedBy':_0x20d860[_0x42853b(0x12f)],'attributes':_0x20d860[_0x42853b(0x133)]||{}});},'updateCommentThread':async({channelId:_0x267426,threadId:_0x34ffdd,context:_0x5b5c6d,unlinkedAt:_0x393d07,attributes:_0x6a35d7})=>this[_0x428a15(0x151)](_0x267426)[_0x428a15(0x123)]({'commentThreadId':_0x34ffdd,'context':_0x5b5c6d,'attributes':_0x6a35d7,'unlinkedAt':_0x393d07})[_0x428a15(0x171)](B)[_0x428a15(0x171)](R),'resolveCommentThread':async({channelId:_0xd85ed4,threadId:_0x399342})=>{const _0x59373a=_0x428a15,_0x53bff6=await this[_0x59373a(0x151)](_0xd85ed4)[_0x59373a(0x147)](_0x399342)[_0x59373a(0x171)](B)[_0x59373a(0x171)](R);return{'threadId':_0x53bff6[_0x59373a(0x14a)],'resolvedAt':_0x53bff6[_0x59373a(0x164)],'resolvedBy':_0x53bff6[_0x59373a(0x12f)]};},'reopenCommentThread':async({channelId:_0x4d13e1,threadId:_0x384179})=>this[_0x428a15(0x151)](_0x4d13e1)[_0x428a15(0x131)](_0x384179)[_0x428a15(0x171)](B)[_0x428a15(0x171)](R),'removeCommentThread':({channelId:_0x2dba4a,threadId:_0x4ed2d5})=>this[_0x428a15(0x151)](_0x2dba4a)[_0x428a15(0x129)](_0x4ed2d5)[_0x428a15(0x171)](B)[_0x428a15(0x171)](R),'addComment':({channelId:_0x295b61,threadId:_0x4a2407,commentId:_0x319a1e,content:_0x218453,attributes:_0xcb57b4})=>this[_0x428a15(0x151)](_0x295b61)[_0x428a15(0x120)](_0x4a2407,_0x319a1e,_0x218453,_0xcb57b4)[_0x428a15(0x171)](R),'updateComment':({channelId:_0x58f8b9,threadId:_0x294450,commentId:_0x3cbd4d,content:_0xc8bb59,attributes:_0x154bc5})=>this[_0x428a15(0x151)](_0x58f8b9)[_0x428a15(0x136)](_0x294450,_0x3cbd4d,_0xc8bb59,_0x154bc5)[_0x428a15(0x171)](B)[_0x428a15(0x171)](R),'removeComment':({channelId:_0x4f7b5e,threadId:_0x3f8ead,commentId:_0x4c75d5})=>this[_0x428a15(0x151)](_0x4f7b5e)[_0x428a15(0x16b)](_0x3f8ead,_0x4c75d5)[_0x428a15(0x171)](B)[_0x428a15(0x171)](R)},_0x9e45c7 instanceof _0x4a183f){const _0x1d64ef=_0x9e45c7[_0x428a15(0x146)][_0x428a15(0x122)](_0x428a15(0x130)),_0x46a2ea=_0x9e45c7[_0x428a15(0x12b)][_0x428a15(0x122)](_0x374c9e);await this[_0x428a15(0x14b)](_0x1d64ef);const _0x4ea4c8=await this[_0x428a15(0x11d)][_0x428a15(0x122)](_0x1d64ef)[_0x428a15(0x12a)]();this[_0x428a15(0x139)](_0x46a2ea,_0x428a15(0x11e)+_0x1d64ef,(_0x37b0de,{session:_0xaddda})=>{const _0x5cec08=_0x428a15;_0xaddda['id']===_0x46a2ea[_0x5cec08(0x163)]&&(_0x37b0de[_0x5cec08(0x137)](),this[_0x5cec08(0x13a)][_0x5cec08(0x12b)][_0x5cec08(0x122)](_0x5cec08(0x135))[_0x5cec08(0x168)](_0xaddda[_0x5cec08(0x158)],_0x1d64ef));}),_0x46a2ea[_0x428a15(0x134)](_0x1d64ef,_0x4ea4c8);}}async[_0x9e6752(0x14b)](_0x43578b){const _0xf12721=_0x9e6752;if(this[_0xf12721(0x11d)][_0xf12721(0x141)](_0x43578b))throw new _0x86a74a(_0xf12721(0x15f),null,{'channelId':_0x43578b});const _0x3fb41e=this[_0xf12721(0x13a)][_0xf12721(0x12b)][_0xf12721(0x122)](_0xf12721(0x12e)),_0x18a9ae=new a[(_0xf12721(0x155))](_0x43578b);this[_0xf12721(0x11d)][_0xf12721(0x14e)](_0x43578b,_0x18a9ae),this[_0xf12721(0x139)](_0x18a9ae,_0xf12721(0x180),(_0x5efeda,_0x41bf05)=>{const _0x4094fe=_0xf12721,{commentThreadId:_0x49f67e,documentId:_0x344203,context:_0x1d9fb6,attributes:_0x5ef6d5,resolvedAt:_0x4a12db,resolvedBy:_0x2c0fc0,comments:_0x1ddfd5}=_0x41bf05;_0x3fb41e[_0x4094fe(0x16e)](_0x49f67e)||_0x3fb41e[_0x4094fe(0x153)]({'threadId':_0x49f67e,'channelId':_0x344203,'comments':_0x1ddfd5?_0x1ddfd5[_0x4094fe(0x13c)](S):[],'context':_0x1d9fb6,'attributes':_0x5ef6d5,'resolvedAt':_0x4a12db,'resolvedBy':_0x2c0fc0,'isFromAdapter':!0x0});}),this[_0xf12721(0x139)](_0x18a9ae,_0xf12721(0x156),(_0x26b4d9,{commentThreadId:_0x478720,documentId:_0x144d96,context:_0x589f8c,unlinkedAt:_0x41d487,attributes:_0x19ee42})=>{const _0x2d9248=_0xf12721;_0x3fb41e[_0x2d9248(0x16e)](_0x478720)&&_0x3fb41e[_0x2d9248(0x123)]({'threadId':_0x478720,'channelId':_0x144d96,'context':_0x589f8c,'unlinkedAt':_0x41d487,'attributes':_0x19ee42,'isFromAdapter':!0x0});}),this[_0xf12721(0x139)](_0x18a9ae,_0xf12721(0x169),(_0x75cb3d,{commentThreadId:_0x396a85,resolvedBy:_0x398789,resolvedAt:_0x3f971c})=>{const _0x5e0fdf=_0xf12721,_0x3161f4=_0x3fb41e[_0x5e0fdf(0x16e)](_0x396a85);_0x3161f4&&_0x3161f4[_0x5e0fdf(0x148)]({'resolvedBy':_0x398789,'resolvedAt':_0x3f971c,'isFromAdapter':!0x0});}),this[_0xf12721(0x139)](_0x18a9ae,_0xf12721(0x17f),(_0x5d0476,{commentThreadId:_0x1465eb})=>{const _0xd11cd6=_0xf12721,_0x4494e1=_0x3fb41e[_0xd11cd6(0x16e)](_0x1465eb);_0x4494e1&&_0x4494e1[_0xd11cd6(0x124)]({'isFromAdapter':!0x0});}),this[_0xf12721(0x139)](_0x18a9ae,_0xf12721(0x161),(_0x5be551,{commentThreadId:_0x40f348})=>{const _0x5b38b4=_0xf12721,_0x37aaea=_0x3fb41e[_0x5b38b4(0x16e)](_0x40f348);_0x37aaea&&_0x37aaea[_0x5b38b4(0x17d)]({'isFromAdapter':!0x0});}),this[_0xf12721(0x139)](_0x18a9ae,_0xf12721(0x154),(_0x22a325,_0x1da92d)=>{const _0x48f8=_0xf12721,_0x2f5189=_0x1da92d[_0x48f8(0x14a)],_0x3956a8=_0x3fb41e[_0x48f8(0x16e)](_0x2f5189);_0x3956a8&&_0x3956a8[_0x48f8(0x120)]({...S(_0x1da92d),'isFromAdapter':!0x0});}),this[_0xf12721(0x139)](_0x18a9ae,_0xf12721(0x176),(_0x351fa5,{commentThreadId:_0x550a56,commentId:_0x3fef26,content:_0x442b4c,attributes:_0xbefe7})=>{const _0x38d081=_0xf12721,_0xb2b5c3=_0x3fb41e[_0x38d081(0x16e)](_0x550a56);if(_0xb2b5c3){const _0x118322=_0xb2b5c3[_0x38d081(0x16d)](_0x3fef26);_0x118322&&_0x118322[_0x38d081(0x170)]({'content':_0x442b4c,'attributes':_0xbefe7,'isFromAdapter':!0x0});}}),this[_0xf12721(0x139)](_0x18a9ae,_0xf12721(0x166),(_0x12e07b,{commentThreadId:_0x17221a,commentId:_0xcf60f3})=>{const _0x28b702=_0xf12721,_0x3a6007=_0x3fb41e[_0x28b702(0x16e)](_0x17221a);if(_0x3a6007){const _0x57bfd3=_0x3a6007[_0x28b702(0x16d)](_0xcf60f3);_0x57bfd3&&_0x57bfd3[_0x28b702(0x17d)]({'isFromAdapter':!0x0});}}),await this[_0xf12721(0x11f)](_0x43578b);}[_0x9e6752(0x142)](){const _0x44e2ee=_0x9e6752;if(this[_0x44e2ee(0x13a)]instanceof _0x4a183f){const _0x35da74=this[_0x44e2ee(0x13a)][_0x44e2ee(0x146)][_0x44e2ee(0x122)](_0x44e2ee(0x130));this[_0x44e2ee(0x121)](_0x35da74);}}[_0x9e6752(0x121)](_0x1e0af4){const _0x4c59f6=_0x9e6752;if(!this[_0x4c59f6(0x11d)][_0x4c59f6(0x141)](_0x1e0af4))throw new _0x86a74a(_0x4c59f6(0x179),null,{'channelId':_0x1e0af4});this[_0x4c59f6(0x151)](_0x1e0af4)[_0x4c59f6(0x140)](),this[_0x4c59f6(0x11d)][_0x4c59f6(0x177)](_0x1e0af4);}async[_0x9e6752(0x132)](){const _0x401955=_0x9e6752;for(const _0x27cf80 of this[_0x401955(0x11d)][_0x401955(0x127)]())await this[_0x401955(0x11f)](_0x27cf80);if(this[_0x401955(0x13a)]instanceof _0x4a183f){const _0x345cc0=this[_0x401955(0x13a)][_0x401955(0x146)][_0x401955(0x122)](_0x401955(0x130)),_0x3e459e=this[_0x401955(0x13a)][_0x401955(0x12b)][_0x401955(0x122)](_0x374c9e);_0x3e459e[_0x401955(0x143)](_0x345cc0);const _0x142834=await this[_0x401955(0x11d)][_0x401955(0x122)](_0x345cc0)[_0x401955(0x12a)]();_0x3e459e[_0x401955(0x134)](_0x345cc0,_0x142834);}}async[_0x9e6752(0x11f)](_0x3470d3){const _0xff1d56=_0x9e6752,{connection:_0x3716d3}=this[_0xff1d56(0x13a)][_0xff1d56(0x12b)][_0xff1d56(0x122)](_0x460828),_0x5a9b82=this[_0xff1d56(0x13a)][_0xff1d56(0x12b)][_0xff1d56(0x122)](_0xff1d56(0x12e)),_0x5807bd=this[_0xff1d56(0x11d)][_0xff1d56(0x122)](_0x3470d3),_0x484d55=await _0x5807bd[_0xff1d56(0x125)](_0x3716d3);await this[_0xff1d56(0x12d)](_0x484d55);const _0x478552=new Set(Array[_0xff1d56(0x15c)](_0x5a9b82[_0xff1d56(0x12c)]({'channelId':_0x3470d3}),_0x92543b=>_0x92543b['id']));for(const _0x8c5a19 of _0x484d55)_0x8c5a19[_0xff1d56(0x149)]||_0x478552[_0xff1d56(0x177)](_0x8c5a19[_0xff1d56(0x14a)]);for(const _0x5898e5 of _0x478552)_0x5a9b82[_0xff1d56(0x16e)](_0x5898e5)[_0xff1d56(0x17d)]({'isFromAdapter':!0x0});for(const _0x3fa845 of _0x484d55){let _0x2a0378=_0x5a9b82[_0xff1d56(0x16e)](_0x3fa845[_0xff1d56(0x14a)]);const {commentThreadId:_0x10f07d,context:_0x21393a,attributes:_0x45f598,resolvedBy:_0x1e8133,resolvedAt:_0x13c54a,unlinkedAt:_0xe93bee,deletedAt:_0x48ad06}=_0x3fa845;if(_0x48ad06)continue;_0x2a0378||(_0x2a0378=_0x5a9b82[_0xff1d56(0x153)]({'channelId':_0x3470d3,'threadId':_0x10f07d,'context':_0x21393a,'attributes':_0x45f598||{},'resolvedBy':_0x1e8133,'resolvedAt':_0x13c54a,'unlinkedAt':_0xe93bee,'isFromAdapter':!0x0}));const _0x4a50d3=new Set(Array[_0xff1d56(0x15c)](_0x2a0378[_0xff1d56(0x17b)],_0x3e5fd0=>_0x3e5fd0['id']));for(const _0x2b507c of _0x3fa845[_0xff1d56(0x17b)])_0x4a50d3[_0xff1d56(0x177)](_0x2b507c[_0xff1d56(0x150)]);for(const _0x2f369a of _0x4a50d3)_0x2a0378[_0xff1d56(0x16d)](_0x2f369a)[_0xff1d56(0x17d)]({'isFromAdapter':!0x0});for(const _0x37b9e0 of _0x3fa845[_0xff1d56(0x17b)]){const _0xdc6fe4=_0x2a0378[_0xff1d56(0x16d)](_0x37b9e0[_0xff1d56(0x150)]);_0xdc6fe4?_0xdc6fe4[_0xff1d56(0x13f)]!==_0x37b9e0[_0xff1d56(0x13f)]&&_0xdc6fe4[_0xff1d56(0x170)]({'content':_0x37b9e0[_0xff1d56(0x13f)],'isFromAdapter':!0x0}):_0x2a0378[_0xff1d56(0x120)](Object[_0xff1d56(0x13b)](S(_0x37b9e0),{'isFromAdapter':!0x0}));}}}[_0x9e6752(0x151)](_0x51e84d){const _0x167778=_0x9e6752;if(!this[_0x167778(0x11d)][_0x167778(0x141)](_0x51e84d))throw new _0x86a74a(_0x167778(0x159),null,{'channelId':_0x51e84d});return this[_0x167778(0x11d)][_0x167778(0x122)](_0x51e84d);}async[_0x9e6752(0x12d)](_0x498665){const _0x51f0dd=_0x9e6752,_0x1e2f1d=this[_0x51f0dd(0x13a)][_0x51f0dd(0x12b)][_0x51f0dd(0x122)](_0x127534),{connection:_0x405fcd}=this[_0x51f0dd(0x13a)][_0x51f0dd(0x12b)][_0x51f0dd(0x122)](_0x460828),_0x28fd22=new Set();for(const {resolvedBy:_0x38e8cb,comments:_0x5b6eac}of _0x498665){_0x38e8cb&&!_0x1e2f1d[_0x51f0dd(0x16f)](_0x38e8cb)&&_0x28fd22[_0x51f0dd(0x14f)](_0x38e8cb);for(const {userId:_0x223856}of _0x5b6eac)_0x1e2f1d[_0x51f0dd(0x16f)](_0x223856)||_0x28fd22[_0x51f0dd(0x14f)](_0x223856);}if(0x0===_0x28fd22[_0x51f0dd(0x15e)])return;const _0x5aeacb=await _0x5ce2a1[_0x51f0dd(0x17c)](_0x405fcd,Array[_0x51f0dd(0x15c)](_0x28fd22));for(const _0x17dac5 of _0x5aeacb)_0x1e2f1d[_0x51f0dd(0x16f)](_0x17dac5['id'])||_0x1e2f1d[_0x51f0dd(0x13e)](_0x17dac5);}}a[_0x9e6752(0x155)]=_0x41a6e8;function _0xadb4(_0x3cf4bf,_0x33637c){const _0x11d526=_0x11d5();return _0xadb4=function(_0xadb4a4,_0x1028b6){_0xadb4a4=_0xadb4a4-0x11d;let _0x4f4629=_0x11d526[_0xadb4a4];return _0x4f4629;},_0xadb4(_0x3cf4bf,_0x33637c);}export default a;async function B(_0x1555ff){const _0x936a31=_0x9e6752;if(_0x936a31(0x14d)!==_0x1555ff[_0x936a31(0x15b)])throw _0x1555ff;}function _0x11d5(){const _0xfcf4c9=['collaboration.channelId','reopenCommentThread','reconnect','attributes','register','Permissions','updateComment','off','message','listenTo','context','assign','map','init','addUser','content','disconnect','has','destroy','unregister','cloud-services-internal-error:\x20Request\x20timeout.','authorId','config','resolveCommentThread','resolve','deletedAt','commentThreadId','_setUpService','1536WPfoEb','404','set','add','commentId','_getService','CloudServicesCommentsAdapter','addCommentThread','commentAdded','CommentsService','commentThreadUpdated','userId','permissions','cloudservicescommentsadapter-service-not-exist','addToReconnectionStack','code','from','7145736chxNGk','size','cloudservicescommentsadapter-connect-already-connected','isPremiumPlugin','commentThreadRemoved','6104120igyDRg','mySessionId','resolvedAt','requires','commentRemoved','11135120lfDNKI','setPermissions','commentThreadResolved','startsWith','removeComment','42773589JPByvm','getComment','getCommentThread','getUser','update','catch','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','2680118YcLliD','createdAt','adapter','commentUpdated','delete','45803ZPthnM','cloudservicescommentsadapter-disconnect-not-exist','cloud-services-internal-error:\x20Not\x20connected.','comments','getMany','remove','36vEWtfh','commentThreadReopened','commentThreadAdded','pluginName','_services','sessionAdd:','_connectService','addComment','_terminateService','get','updateCommentThread','reopen','connect','7988YfnymM','keys','isOfficialPlugin','removeCommentThread','getConnectedSessions','plugins','getCommentThreads','_fetchMissingUsersForThreads','CommentsRepository','resolvedBy'];_0x11d5=function(){return _0xfcf4c9;};return _0x11d5();}function R(_0x2e1613){const _0x33470d=_0x9e6752;if((_0x4ccc0c=_0x2e1613)[_0x33470d(0x138)][_0x33470d(0x16a)](_0x33470d(0x172))||_0x4ccc0c[_0x33470d(0x138)][_0x33470d(0x16a)](_0x33470d(0x17a))||_0x4ccc0c[_0x33470d(0x138)][_0x33470d(0x16a)](_0x33470d(0x144)))return new Promise(()=>{});var _0x4ccc0c;throw _0x2e1613;}function S(_0x12b656){const _0x44a4e6=_0x9e6752;return{'threadId':_0x12b656[_0x44a4e6(0x14a)],'commentId':_0x12b656[_0x44a4e6(0x150)],'content':_0x12b656[_0x44a4e6(0x13f)],'createdAt':_0x12b656[_0x44a4e6(0x174)],'authorId':_0x12b656[_0x44a4e6(0x157)],'attributes':_0x12b656[_0x44a4e6(0x133)]||{}};}
|
|
23
|
+
const _0x240925=_0x321b;(function(_0x4652b7,_0x1cc76c){const _0x5b8fa1=_0x321b,_0x3d2bdb=_0x4652b7();while(!![]){try{const _0x447010=parseInt(_0x5b8fa1(0x21f))/0x1+-parseInt(_0x5b8fa1(0x1ff))/0x2*(-parseInt(_0x5b8fa1(0x1f0))/0x3)+-parseInt(_0x5b8fa1(0x22f))/0x4*(parseInt(_0x5b8fa1(0x1e1))/0x5)+-parseInt(_0x5b8fa1(0x1d3))/0x6*(-parseInt(_0x5b8fa1(0x226))/0x7)+parseInt(_0x5b8fa1(0x20f))/0x8*(-parseInt(_0x5b8fa1(0x22a))/0x9)+-parseInt(_0x5b8fa1(0x1fe))/0xa+-parseInt(_0x5b8fa1(0x209))/0xb;if(_0x447010===_0x1cc76c)break;else _0x3d2bdb['push'](_0x3d2bdb['shift']());}catch(_0x2c8d1b){_0x3d2bdb['push'](_0x3d2bdb['shift']());}}}(_0x1e71,0x3189d));import{Context as _0x5c43a2,ContextPlugin as _0x4c4d3f}from'ckeditor5/src/core.js';import{CKEditorError as _0x574583}from'ckeditor5/src/utils.js';import{Users as _0x192a1b}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1e71(){const _0x574a18=['addToReconnectionStack','104UWOEdB','connect','catch','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','getCommentThreads','attributes','resolveCommentThread','commentThreadId','cloud-services-internal-error:\x20Not\x20connected.','isPremiumPlugin','commentThreadRemoved','reconnect','sessionAdd:','assign','off','addUser','402000EHPpcz','size','commentAdded','unregister','content','removeCommentThread','updateComment','81977LDNKpy','commentThreadResolved','getCommentThread','404','21294RnDHax','adapter','keys','delete','isOfficialPlugin','1027228nGGSob','_setUpService','comments','update','get','requires','updateCommentThread','_getService','resolve','add','permissions','174YZEaPD','commentRemoved','map','commentThreadReopened','startsWith','_connectService','commentUpdated','commentThreadAdded','context','reopenCommentThread','_services','listenTo','destroy','resolvedAt','5XryPSr','cloudservicescommentsadapter-disconnect-not-exist','set','commentThreadUpdated','commentId','addComment','removeComment','getConnectedSessions','disconnect','_terminateService','CloudServicesCommentsAdapter','collaboration.channelId','authorId','code','getUser','87tITLek','message','plugins','config','createdAt','cloud-services-internal-error:\x20Request\x20timeout.','cloudservicescommentsadapter-service-not-exist','CommentsService','addCommentThread','resolvedBy','pluginName','getMany','_fetchMissingUsersForThreads','userId','745250rNzNEu','23060gGjGdX','CommentsRepository','Permissions','register','getComment','deletedAt','mySessionId','cloudservicescommentsadapter-connect-already-connected','reopen','remove','5620890GFpGLw','has','init','setPermissions','from'];_0x1e71=function(){return _0x574a18;};return _0x1e71();}import{CommentsService as _0x4979b8,User as _0x5ec5e3}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x37046a from'../realtimecollaborativeediting/websocketgateway.js';import _0x3d23ff from'../realtimecollaborativeediting/sessions.js';class a extends _0x4c4d3f{static get[_0x240925(0x234)](){const _0x21ea2c=_0x240925;return[_0x37046a,_0x21ea2c(0x200),_0x3d23ff,_0x192a1b];}static get[_0x240925(0x1fa)](){const _0x307bb1=_0x240925;return _0x307bb1(0x1eb);}static get[_0x240925(0x22e)](){return!0x0;}static get[_0x240925(0x218)](){return!0x0;}constructor(_0x3b0e83){const _0x1e04cd=_0x240925;super(_0x3b0e83),this[_0x1e04cd(0x1dd)]=new Map();}async[_0x240925(0x20b)](){const _0x59a0da=_0x240925,_0xfc6204=this[_0x59a0da(0x1db)],_0x4de5d2=_0xfc6204[_0x59a0da(0x1f2)][_0x59a0da(0x233)](_0x59a0da(0x200));if(_0xfc6204[_0x59a0da(0x1f2)][_0x59a0da(0x233)](_0x37046a)[_0x59a0da(0x20e)](this),_0x4de5d2[_0x59a0da(0x22b)]={'addCommentThread':async({channelId:_0x4e025a,threadId:_0x32ca98,comments:_0x1920d7,resolvedAt:_0xa08935,resolvedBy:_0x3e14b1,context:_0x5626fe,attributes:_0x390a44})=>{const _0x5930b1=_0x59a0da,_0x3ac32a=await this[_0x5930b1(0x236)](_0x4e025a)[_0x5930b1(0x1f8)]({'commentThreadId':_0x32ca98,'comments':_0x1920d7[_0x5930b1(0x1d5)](_0x246030=>function(_0x3834ef,_0x18be28,_0x99545f){const _0x37ae61=_0x5930b1;return{'commentThreadId':_0x99545f,'commentId':_0x3834ef[_0x37ae61(0x1e5)],'userId':_0x3834ef[_0x37ae61(0x1ed)],'content':_0x3834ef[_0x37ae61(0x223)],'documentId':_0x18be28,'createdAt':_0x3834ef[_0x37ae61(0x1f4)],'attributes':_0x3834ef[_0x37ae61(0x214)]||{}};}(_0x246030,_0x4e025a,_0x32ca98)),'resolvedAt':_0xa08935,'resolvedBy':_0x3e14b1,'context':_0x5626fe,'attributes':_0x390a44})[_0x5930b1(0x211)](R);return{'threadId':_0x3ac32a[_0x5930b1(0x216)],'comments':_0x3ac32a[_0x5930b1(0x231)]};},'getCommentThread':async({channelId:_0x3b6719,threadId:_0x73d0f8})=>{const _0xd70e76=_0x59a0da,_0x90b9cc=await this[_0xd70e76(0x236)](_0x3b6719)[_0xd70e76(0x228)](_0x73d0f8)[_0xd70e76(0x211)](R);return _0x90b9cc[_0xd70e76(0x204)]?null:(await this[_0xd70e76(0x1fc)]([_0x90b9cc]),{'threadId':_0x90b9cc[_0xd70e76(0x216)],'comments':_0x90b9cc[_0xd70e76(0x231)][_0xd70e76(0x1d5)](S),'context':_0x90b9cc[_0xd70e76(0x1db)],'resolvedAt':_0x90b9cc[_0xd70e76(0x1e0)],'resolvedBy':_0x90b9cc[_0xd70e76(0x1f9)],'attributes':_0x90b9cc[_0xd70e76(0x214)]||{}});},'updateCommentThread':async({channelId:_0x4546ba,threadId:_0x3297ea,context:_0x102e64,unlinkedAt:_0x4b9299,attributes:_0x49d3e5})=>this[_0x59a0da(0x236)](_0x4546ba)[_0x59a0da(0x235)]({'commentThreadId':_0x3297ea,'context':_0x102e64,'attributes':_0x49d3e5,'unlinkedAt':_0x4b9299})[_0x59a0da(0x211)](B)[_0x59a0da(0x211)](R),'resolveCommentThread':async({channelId:_0x1f5170,threadId:_0xe435eb})=>{const _0x172d02=_0x59a0da,_0x1ae960=await this[_0x172d02(0x236)](_0x1f5170)[_0x172d02(0x215)](_0xe435eb)[_0x172d02(0x211)](B)[_0x172d02(0x211)](R);return{'threadId':_0x1ae960[_0x172d02(0x216)],'resolvedAt':_0x1ae960[_0x172d02(0x1e0)],'resolvedBy':_0x1ae960[_0x172d02(0x1f9)]};},'reopenCommentThread':async({channelId:_0x552387,threadId:_0x375151})=>this[_0x59a0da(0x236)](_0x552387)[_0x59a0da(0x1dc)](_0x375151)[_0x59a0da(0x211)](B)[_0x59a0da(0x211)](R),'removeCommentThread':({channelId:_0x31c2ef,threadId:_0x3be2e7})=>this[_0x59a0da(0x236)](_0x31c2ef)[_0x59a0da(0x224)](_0x3be2e7)[_0x59a0da(0x211)](B)[_0x59a0da(0x211)](R),'addComment':({channelId:_0x47474b,threadId:_0x41078c,commentId:_0x1570d6,content:_0x427c10,attributes:_0x218227})=>this[_0x59a0da(0x236)](_0x47474b)[_0x59a0da(0x1e6)](_0x41078c,_0x1570d6,_0x427c10,_0x218227)[_0x59a0da(0x211)](R),'updateComment':({channelId:_0x274e74,threadId:_0x565313,commentId:_0x3a13a1,content:_0x1fb58e,attributes:_0x4ea4bd})=>this[_0x59a0da(0x236)](_0x274e74)[_0x59a0da(0x225)](_0x565313,_0x3a13a1,_0x1fb58e,_0x4ea4bd)[_0x59a0da(0x211)](B)[_0x59a0da(0x211)](R),'removeComment':({channelId:_0x9404ea,threadId:_0x4f97be,commentId:_0x7c8f70})=>this[_0x59a0da(0x236)](_0x9404ea)[_0x59a0da(0x1e7)](_0x4f97be,_0x7c8f70)[_0x59a0da(0x211)](B)[_0x59a0da(0x211)](R)},_0xfc6204 instanceof _0x5c43a2){const _0x4f3400=_0xfc6204[_0x59a0da(0x1f3)][_0x59a0da(0x233)](_0x59a0da(0x1ec)),_0x5b8c55=_0xfc6204[_0x59a0da(0x1f2)][_0x59a0da(0x233)](_0x3d23ff);await this[_0x59a0da(0x230)](_0x4f3400);const _0x4e0e38=await this[_0x59a0da(0x1dd)][_0x59a0da(0x233)](_0x4f3400)[_0x59a0da(0x1e8)]();this[_0x59a0da(0x1de)](_0x5b8c55,_0x59a0da(0x21b)+_0x4f3400,(_0x2c10c9,{session:_0x1a9f32})=>{const _0x472e96=_0x59a0da;_0x1a9f32['id']===_0x5b8c55[_0x472e96(0x205)]&&(_0x2c10c9[_0x472e96(0x21d)](),this[_0x472e96(0x1db)][_0x472e96(0x1f2)][_0x472e96(0x233)](_0x472e96(0x201))[_0x472e96(0x20c)](_0x1a9f32[_0x472e96(0x1d2)],_0x4f3400));}),_0x5b8c55[_0x59a0da(0x202)](_0x4f3400,_0x4e0e38);}}async[_0x240925(0x230)](_0x4d123){const _0x231807=_0x240925;if(this[_0x231807(0x1dd)][_0x231807(0x20a)](_0x4d123))throw new _0x574583(_0x231807(0x206),null,{'channelId':_0x4d123});const _0x15ba20=this[_0x231807(0x1db)][_0x231807(0x1f2)][_0x231807(0x233)](_0x231807(0x200)),_0x402a01=new a[(_0x231807(0x1f7))](_0x4d123);this[_0x231807(0x1dd)][_0x231807(0x1e3)](_0x4d123,_0x402a01),this[_0x231807(0x1de)](_0x402a01,_0x231807(0x1da),(_0xbc1123,_0x5b5ddd)=>{const _0x458e13=_0x231807,{commentThreadId:_0x27589c,documentId:_0x2a8ef2,context:_0x233b8c,attributes:_0x2f8733,resolvedAt:_0x392f84,resolvedBy:_0x5dd35d,comments:_0x3fb10f}=_0x5b5ddd;_0x15ba20[_0x458e13(0x228)](_0x27589c)||_0x15ba20[_0x458e13(0x1f8)]({'threadId':_0x27589c,'channelId':_0x2a8ef2,'comments':_0x3fb10f?_0x3fb10f[_0x458e13(0x1d5)](S):[],'context':_0x233b8c,'attributes':_0x2f8733,'resolvedAt':_0x392f84,'resolvedBy':_0x5dd35d,'isFromAdapter':!0x0});}),this[_0x231807(0x1de)](_0x402a01,_0x231807(0x1e4),(_0x5f1bf4,{commentThreadId:_0x14fae5,documentId:_0x51e209,context:_0x4a6d20,unlinkedAt:_0x2bdd65,attributes:_0x29c111})=>{const _0x21ed62=_0x231807;_0x15ba20[_0x21ed62(0x228)](_0x14fae5)&&_0x15ba20[_0x21ed62(0x235)]({'threadId':_0x14fae5,'channelId':_0x51e209,'context':_0x4a6d20,'unlinkedAt':_0x2bdd65,'attributes':_0x29c111,'isFromAdapter':!0x0});}),this[_0x231807(0x1de)](_0x402a01,_0x231807(0x227),(_0x4dc36c,{commentThreadId:_0x3cc9a6,resolvedBy:_0x5ccb12,resolvedAt:_0x556e92})=>{const _0x537e1e=_0x231807,_0x1c01bc=_0x15ba20[_0x537e1e(0x228)](_0x3cc9a6);_0x1c01bc&&_0x1c01bc[_0x537e1e(0x1d0)]({'resolvedBy':_0x5ccb12,'resolvedAt':_0x556e92,'isFromAdapter':!0x0});}),this[_0x231807(0x1de)](_0x402a01,_0x231807(0x1d6),(_0x3acc71,{commentThreadId:_0x1c3b89})=>{const _0x3dc90d=_0x231807,_0xfac864=_0x15ba20[_0x3dc90d(0x228)](_0x1c3b89);_0xfac864&&_0xfac864[_0x3dc90d(0x207)]({'isFromAdapter':!0x0});}),this[_0x231807(0x1de)](_0x402a01,_0x231807(0x219),(_0x535f7a,{commentThreadId:_0x3a4837})=>{const _0x47d8cd=_0x231807,_0x346e1b=_0x15ba20[_0x47d8cd(0x228)](_0x3a4837);_0x346e1b&&_0x346e1b[_0x47d8cd(0x208)]({'isFromAdapter':!0x0});}),this[_0x231807(0x1de)](_0x402a01,_0x231807(0x221),(_0x7b3c24,_0x55d16c)=>{const _0x138305=_0x231807,_0x27eb8b=_0x55d16c[_0x138305(0x216)],_0x2fe958=_0x15ba20[_0x138305(0x228)](_0x27eb8b);_0x2fe958&&_0x2fe958[_0x138305(0x1e6)]({...S(_0x55d16c),'isFromAdapter':!0x0});}),this[_0x231807(0x1de)](_0x402a01,_0x231807(0x1d9),(_0x3823eb,{commentThreadId:_0x4c5652,commentId:_0x5596a8,content:_0x511a29,attributes:_0x65ae31})=>{const _0x36bce1=_0x231807,_0x4ed3e2=_0x15ba20[_0x36bce1(0x228)](_0x4c5652);if(_0x4ed3e2){const _0x82daf5=_0x4ed3e2[_0x36bce1(0x203)](_0x5596a8);_0x82daf5&&_0x82daf5[_0x36bce1(0x232)]({'content':_0x511a29,'attributes':_0x65ae31,'isFromAdapter':!0x0});}}),this[_0x231807(0x1de)](_0x402a01,_0x231807(0x1d4),(_0x41aedd,{commentThreadId:_0x268267,commentId:_0x56eec4})=>{const _0x559e1c=_0x231807,_0x24e446=_0x15ba20[_0x559e1c(0x228)](_0x268267);if(_0x24e446){const _0x42a0e5=_0x24e446[_0x559e1c(0x203)](_0x56eec4);_0x42a0e5&&_0x42a0e5[_0x559e1c(0x208)]({'isFromAdapter':!0x0});}}),await this[_0x231807(0x1d8)](_0x4d123);}[_0x240925(0x1df)](){const _0x17ad22=_0x240925;if(this[_0x17ad22(0x1db)]instanceof _0x5c43a2){const _0x4f6f26=this[_0x17ad22(0x1db)][_0x17ad22(0x1f3)][_0x17ad22(0x233)](_0x17ad22(0x1ec));this[_0x17ad22(0x1ea)](_0x4f6f26);}}[_0x240925(0x1ea)](_0x5b8e05){const _0x1679c5=_0x240925;if(!this[_0x1679c5(0x1dd)][_0x1679c5(0x20a)](_0x5b8e05))throw new _0x574583(_0x1679c5(0x1e2),null,{'channelId':_0x5b8e05});this[_0x1679c5(0x236)](_0x5b8e05)[_0x1679c5(0x1e9)](),this[_0x1679c5(0x1dd)][_0x1679c5(0x22d)](_0x5b8e05);}async[_0x240925(0x21a)](){const _0x19ddd6=_0x240925;for(const _0xd818e9 of this[_0x19ddd6(0x1dd)][_0x19ddd6(0x22c)]())await this[_0x19ddd6(0x1d8)](_0xd818e9);if(this[_0x19ddd6(0x1db)]instanceof _0x5c43a2){const _0xeec6fd=this[_0x19ddd6(0x1db)][_0x19ddd6(0x1f3)][_0x19ddd6(0x233)](_0x19ddd6(0x1ec)),_0x8360a1=this[_0x19ddd6(0x1db)][_0x19ddd6(0x1f2)][_0x19ddd6(0x233)](_0x3d23ff);_0x8360a1[_0x19ddd6(0x222)](_0xeec6fd);const _0x2a43c9=await this[_0x19ddd6(0x1dd)][_0x19ddd6(0x233)](_0xeec6fd)[_0x19ddd6(0x1e8)]();_0x8360a1[_0x19ddd6(0x202)](_0xeec6fd,_0x2a43c9);}}async[_0x240925(0x1d8)](_0x2a4d0f){const _0xc79792=_0x240925,{connection:_0x172378}=this[_0xc79792(0x1db)][_0xc79792(0x1f2)][_0xc79792(0x233)](_0x37046a),_0x445603=this[_0xc79792(0x1db)][_0xc79792(0x1f2)][_0xc79792(0x233)](_0xc79792(0x200)),_0x395c4b=this[_0xc79792(0x1dd)][_0xc79792(0x233)](_0x2a4d0f),_0x4230e3=await _0x395c4b[_0xc79792(0x210)](_0x172378);await this[_0xc79792(0x1fc)](_0x4230e3);const _0x39b629=new Set(Array[_0xc79792(0x20d)](_0x445603[_0xc79792(0x213)]({'channelId':_0x2a4d0f}),_0xbecc39=>_0xbecc39['id']));for(const _0x246b8b of _0x4230e3)_0x246b8b[_0xc79792(0x204)]||_0x39b629[_0xc79792(0x22d)](_0x246b8b[_0xc79792(0x216)]);for(const _0x4de50d of _0x39b629)_0x445603[_0xc79792(0x228)](_0x4de50d)[_0xc79792(0x208)]({'isFromAdapter':!0x0});for(const _0x202c31 of _0x4230e3){let _0x40b47b=_0x445603[_0xc79792(0x228)](_0x202c31[_0xc79792(0x216)]);const {commentThreadId:_0xdff7f9,context:_0x3ea230,attributes:_0x477729,resolvedBy:_0x297726,resolvedAt:_0x1d9ba7,unlinkedAt:_0x4f4c65,deletedAt:_0x40510b}=_0x202c31;if(_0x40510b)continue;_0x40b47b||(_0x40b47b=_0x445603[_0xc79792(0x1f8)]({'channelId':_0x2a4d0f,'threadId':_0xdff7f9,'context':_0x3ea230,'attributes':_0x477729||{},'resolvedBy':_0x297726,'resolvedAt':_0x1d9ba7,'unlinkedAt':_0x4f4c65,'isFromAdapter':!0x0}));const _0x45e8e7=new Set(Array[_0xc79792(0x20d)](_0x40b47b[_0xc79792(0x231)],_0x166e2c=>_0x166e2c['id']));for(const _0x58931e of _0x202c31[_0xc79792(0x231)])_0x45e8e7[_0xc79792(0x22d)](_0x58931e[_0xc79792(0x1e5)]);for(const _0x5e26cc of _0x45e8e7)_0x40b47b[_0xc79792(0x203)](_0x5e26cc)[_0xc79792(0x208)]({'isFromAdapter':!0x0});for(const _0x17b7b7 of _0x202c31[_0xc79792(0x231)]){const _0x4f6784=_0x40b47b[_0xc79792(0x203)](_0x17b7b7[_0xc79792(0x1e5)]);_0x4f6784?_0x4f6784[_0xc79792(0x223)]!==_0x17b7b7[_0xc79792(0x223)]&&_0x4f6784[_0xc79792(0x232)]({'content':_0x17b7b7[_0xc79792(0x223)],'isFromAdapter':!0x0}):_0x40b47b[_0xc79792(0x1e6)](Object[_0xc79792(0x21c)](S(_0x17b7b7),{'isFromAdapter':!0x0}));}}}[_0x240925(0x236)](_0x156b63){const _0x3e460e=_0x240925;if(!this[_0x3e460e(0x1dd)][_0x3e460e(0x20a)](_0x156b63))throw new _0x574583(_0x3e460e(0x1f6),null,{'channelId':_0x156b63});return this[_0x3e460e(0x1dd)][_0x3e460e(0x233)](_0x156b63);}async[_0x240925(0x1fc)](_0x2230c9){const _0x3c838b=_0x240925,_0x207fa0=this[_0x3c838b(0x1db)][_0x3c838b(0x1f2)][_0x3c838b(0x233)](_0x192a1b),{connection:_0x44e9b3}=this[_0x3c838b(0x1db)][_0x3c838b(0x1f2)][_0x3c838b(0x233)](_0x37046a),_0x5b3962=new Set();for(const {resolvedBy:_0x1a43cf,comments:_0x531275}of _0x2230c9){_0x1a43cf&&!_0x207fa0[_0x3c838b(0x1ef)](_0x1a43cf)&&_0x5b3962[_0x3c838b(0x1d1)](_0x1a43cf);for(const {userId:_0x530787}of _0x531275)_0x207fa0[_0x3c838b(0x1ef)](_0x530787)||_0x5b3962[_0x3c838b(0x1d1)](_0x530787);}if(0x0===_0x5b3962[_0x3c838b(0x220)])return;const _0x251f29=await _0x5ec5e3[_0x3c838b(0x1fb)](_0x44e9b3,Array[_0x3c838b(0x20d)](_0x5b3962));for(const _0x1ea47c of _0x251f29)_0x207fa0[_0x3c838b(0x1ef)](_0x1ea47c['id'])||_0x207fa0[_0x3c838b(0x21e)](_0x1ea47c);}}a[_0x240925(0x1f7)]=_0x4979b8;function _0x321b(_0x36b37a,_0x1cdd43){const _0x1e71dd=_0x1e71();return _0x321b=function(_0x321b10,_0x458a7d){_0x321b10=_0x321b10-0x1d0;let _0x255dd0=_0x1e71dd[_0x321b10];return _0x255dd0;},_0x321b(_0x36b37a,_0x1cdd43);}export default a;async function B(_0x14cee4){const _0x3302a2=_0x240925;if(_0x3302a2(0x229)!==_0x14cee4[_0x3302a2(0x1ee)])throw _0x14cee4;}function R(_0x342f44){const _0x56d3a3=_0x240925;if((_0x7a49a3=_0x342f44)[_0x56d3a3(0x1f1)][_0x56d3a3(0x1d7)](_0x56d3a3(0x212))||_0x7a49a3[_0x56d3a3(0x1f1)][_0x56d3a3(0x1d7)](_0x56d3a3(0x217))||_0x7a49a3[_0x56d3a3(0x1f1)][_0x56d3a3(0x1d7)](_0x56d3a3(0x1f5)))return new Promise(()=>{});var _0x7a49a3;throw _0x342f44;}function S(_0x1097f4){const _0x38c4a1=_0x240925;return{'threadId':_0x1097f4[_0x38c4a1(0x216)],'commentId':_0x1097f4[_0x38c4a1(0x1e5)],'content':_0x1097f4[_0x38c4a1(0x223)],'createdAt':_0x1097f4[_0x38c4a1(0x1f4)],'authorId':_0x1097f4[_0x38c4a1(0x1fd)],'attributes':_0x1097f4[_0x38c4a1(0x214)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5d0c(){const _0x5a5fa4=['ready','destroy','data','200871uerKBX','isOfficialPlugin','CommentsEditing','RealTimeCollaborativeComments','_setUpService','once','125xJVBBu','get','isPremiumPlugin','editor','switchReadOnly','3842938vBWSUJ','_terminateService','253841aQfAHo','listenTo','pluginName','1565367nsCtNV','180564yGuYwk','33500112JZgaaK','isThreadsLoadingPaused','config','Comments','494ETRpBB','init','12aziaSl','4535VSZnrL','CommentsRepository','connected','change:state','plugins','requires','collaboration.channelId','144oVCnus','40rcplIL'];_0x5d0c=function(){return _0x5a5fa4;};return _0x5d0c();}function _0x541e(_0x2ecbfd,_0x452aa3){const _0x5d0c10=_0x5d0c();return _0x541e=function(_0x541e71,_0x59bb56){_0x541e71=_0x541e71-0x1b5;let _0x5908f9=_0x5d0c10[_0x541e71];return _0x5908f9;},_0x541e(_0x2ecbfd,_0x452aa3);}const _0x5ad3e9=_0x541e;(function(_0x1d3c6d,_0x3bd39d){const _0x5a38df=_0x541e,_0x4c78e0=_0x1d3c6d();while(!![]){try{const _0x37cbb7=parseInt(_0x5a38df(0x1b8))/0x1*(parseInt(_0x5a38df(0x1b5))/0x2)+parseInt(_0x5a38df(0x1d4))/0x3*(-parseInt(_0x5a38df(0x1b7))/0x4)+-parseInt(_0x5a38df(0x1ca))/0x5*(parseInt(_0x5a38df(0x1d5))/0x6)+-parseInt(_0x5a38df(0x1d1))/0x7*(-parseInt(_0x5a38df(0x1bf))/0x8)+-parseInt(_0x5a38df(0x1c4))/0x9+parseInt(_0x5a38df(0x1c0))/0xa*(-parseInt(_0x5a38df(0x1cf))/0xb)+parseInt(_0x5a38df(0x1d6))/0xc;if(_0x37cbb7===_0x3bd39d)break;else _0x4c78e0['push'](_0x4c78e0['shift']());}catch(_0x2ca86d){_0x4c78e0['push'](_0x4c78e0['shift']());}}}(_0x5d0c,0xc9ecf));import{Plugin as _0x965574}from'ckeditor5/src/core.js';import _0xc1cd3c from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x423b23 from'./realtimecollaborativeediting.js';import _0xb66ddd from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x965574{static get[_0x5ad3e9(0x1bd)](){const _0x30cb58=_0x5ad3e9;return[_0x30cb58(0x1d9),_0xc1cd3c,_0x423b23,_0xb66ddd];}static get[_0x5ad3e9(0x1d3)](){const _0x56a038=_0x5ad3e9;return _0x56a038(0x1c7);}static get[_0x5ad3e9(0x1c5)](){return!0x0;}static get[_0x5ad3e9(0x1cc)](){return!0x0;}[_0x5ad3e9(0x1b6)](){const _0x1bc290=_0x5ad3e9,_0x82e395=this[_0x1bc290(0x1cd)][_0x1bc290(0x1bc)][_0x1bc290(0x1cb)](_0xb66ddd),_0x47c4f4=this[_0x1bc290(0x1cd)][_0x1bc290(0x1bc)][_0x1bc290(0x1cb)](_0x1bc290(0x1c6)),_0x5d9f9a=this[_0x1bc290(0x1cd)][_0x1bc290(0x1bc)][_0x1bc290(0x1cb)](_0xc1cd3c);return this[_0x1bc290(0x1cd)][_0x1bc290(0x1c3)][_0x1bc290(0x1c9)](_0x1bc290(0x1c1),()=>{const _0x29443b=_0x1bc290;this[_0x29443b(0x1d2)](_0x82e395,_0x29443b(0x1bb),(_0x45ba6f,_0x33b7ec,_0x41034e)=>{const _0x101036=_0x29443b;_0x47c4f4[_0x101036(0x1d7)]=_0x101036(0x1ba)!==_0x41034e;});}),this[_0x1bc290(0x1d2)](_0x82e395,_0x1bc290(0x1bb),(_0x14c8bf,_0x76e7d,_0x1e5e82)=>{const _0x13a108=_0x1bc290;this[_0x13a108(0x1cd)][_0x13a108(0x1bc)][_0x13a108(0x1cb)](_0x13a108(0x1b9))[_0x13a108(0x1ce)](_0x13a108(0x1ba)!==_0x1e5e82);}),_0x5d9f9a[_0x1bc290(0x1c8)](this[_0x1bc290(0x1cd)][_0x1bc290(0x1d8)][_0x1bc290(0x1cb)](_0x1bc290(0x1be)));}[_0x5ad3e9(0x1c2)](){const _0x467a44=_0x5ad3e9;this[_0x467a44(0x1cd)][_0x467a44(0x1bc)][_0x467a44(0x1cb)](_0xc1cd3c)[_0x467a44(0x1d0)](this[_0x467a44(0x1cd)][_0x467a44(0x1d8)][_0x467a44(0x1cb)](_0x467a44(0x1be))),super[_0x467a44(0x1c2)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x4300(_0x368c5a,_0x31a216){const _0x1fc798=_0x1fc7();return _0x4300=function(_0x430055,_0x504c7f){_0x430055=_0x430055-0x149;let _0x530d4c=_0x1fc798[_0x430055];return _0x530d4c;},_0x4300(_0x368c5a,_0x31a216);}const _0x57cfa7=_0x4300;(function(_0x3ffcd4,_0x29c3d2){const _0x3a143e=_0x4300,_0x470933=_0x3ffcd4();while(!![]){try{const _0x87835=-parseInt(_0x3a143e(0x18e))/0x1+-parseInt(_0x3a143e(0x22a))/0x2+parseInt(_0x3a143e(0x15f))/0x3*(parseInt(_0x3a143e(0x1f9))/0x4)+parseInt(_0x3a143e(0x1e0))/0x5*(-parseInt(_0x3a143e(0x23a))/0x6)+-parseInt(_0x3a143e(0x22e))/0x7*(-parseInt(_0x3a143e(0x1fd))/0x8)+-parseInt(_0x3a143e(0x1fe))/0x9*(-parseInt(_0x3a143e(0x187))/0xa)+-parseInt(_0x3a143e(0x204))/0xb*(-parseInt(_0x3a143e(0x1c8))/0xc);if(_0x87835===_0x29c3d2)break;else _0x470933['push'](_0x470933['shift']());}catch(_0x4579c2){_0x470933['push'](_0x470933['shift']());}}}(_0x1fc7,0x72c7f));import{Plugin as _0x4b7636,PendingActions as _0x365c1d}from'ckeditor5/src/core.js';import{CKEditorError as _0x4e4524,version as _0x99706b,uid as _0x40bb0c}from'ckeditor5/src/utils.js';import{Notification as _0x489bf9}from'ckeditor5/src/ui.js';function _0x1fc7(){const _0x3dff0f=['sessionAdd:','filter','from','reconnection:\x20flushed\x20session','plugins','has','remove','off','12yVXeZd','createPositionAt','cloud-services-internal-error:\x20Request\x20timeout.','string','getIdOfTheLastOperation','addUser','realtimecollaborationclient','cs:removeUser','permissions','directChange','change:_isPendingUpdate','CollaborativeEditingService','destroy','reset','add','cloud-services-internal-error:\x20Not\x20connected.','finally','code','reconnect','_crash','_refreshUserSelectionMarkers','init','view','getOperations','646515BeXhog','root','register','realtimecollaborationclient-init-non-existent-root','baseVersion','CommentsOnly','_disconnectService','cloudServices.bundleVersion','_connectService','model','multi-root-editor-root-attributes-no-root','fromJSON','editor','locale','change:range','InsertOperation','offset','forEach','_service','get','cloudDocumentVersion','sessionId','_knownRootNames','suppressErrorInCollaboration','Synchronization\x20issue','28pyWXOI','disableReadOnlyMode','_ignoredOperations','Permissions','1112eRkvIR','3138786kjmRoz','_hasSynchronizationProblem','message','_clearPendingAction','keys','addToReconnectionStack','4187029CHIEWI','_authorId','_hasSelectionChanged','realtimecollaborationclient-init-service-incorrect-server-operation','marker','_bufferedOperations','applyOperation','stopListening','disconnected','_handleServerResponse','_handleSendingSelectionMarkers','enableReadOnlyMode','unregister','operationsReceived','parse','newRange','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','affectsData','startsWith','_initThrowingOnDataSet','move','error','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_shouldSendSelectionUpdate','_compressOperations','collaboration','createUserMarkerOperations','isEnabled','realtimecollaborationclient-sendbufferedoperations','_bufferRootLoad','roots','_currentBufferDelay','apply','_channelId','_lastServerVersion','setPermissions','_disconnectionOperations','sessionCreatedAt','528518YoDdPH','sendOperations','_shouldSendUpdate','document','36463OBpqVA','_operationToId','round','isUndoneOperation','loadRoot','realtimecollaborationclient-init-session-connection-error','clone','bind','isReadOnly','initData','_document','_isLoaded','24zOhbxq','version','then','compress','_handleReconnectionResponse','slice','getDocumentDetails','lastDocumentSession','path','rtc-destroyed','realtimecollaborationclient-handleserverresponse','decompress','change:_isEditingAllowed','mySessionId','Notification','define','_operationIdentifier','PENDING_ACTION_SENDING_DATA','getOperationAuthor','_isConnected','removeFromReconnectionStack','_sendBufferedOperationsDelayId','history','channelSessions','_isInit','realtimecollaborationclient-init-document-already-initialized','editing','_handleInitialConnectionData','409','_offset','wasUndone','position','createdAt','_addKnownRoot','serverHistory','targetPosition','getMany','map','length','_saveOperationInBuffer','ready','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_isPendingUpdate','createPositionFromPath','_pendingAction','260313WgHGlM','RealTimeCollaborationClient','return','connection','rootsAttributes','connect','_fetchMissingUsers','rootName','_isAttached','connected','_isDisconnection','_lastSyncedOperationId','getUser','currentDocumentSession','change:hasDomSelection','entries','_knownOperations','realtimecollaborationclient-init-service-internal-error','stop','metadata','_handleExternalOperations','_decompressOperations','getConnectedSessions','differ','size','realtimecollaborationclient-error','addRoot','addRootAttribute','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','$root','push','data','createRoot','requires','realtimecollaborationclient-init-connection-failed','type','end','listenTo','_compressor','lastOperationId','10UElKkf','collaboration.channelId','showWarning','affectedSelectable','rtc-offline','_sendBufferedOperations','_handleReceivedOperations','809227iTdKlj','addOperation','_initSessionsHandling','config','selection','attributes','includes','_isEditingAllowed','_getAffectedRoot','collaboration-missing-channelid','insert','_loadRoot','wereChangesApplied','isDocumentOperation','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','markers','isPremiumPlugin','enqueueChange','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.','real-time-collaboration','_getOperationsFromInitData','userId','getRoot','_waitUntilSynced','toJSON','_handleReconnectionError','createRange','catch','lastSyncVersion','state','set','__className','fire','_applyOperationsSet','_setPendingAction','document:write','_updateServerHistory','disconnect','high','pluginName','batch','_connectAfterSessionHasBeenFlushed','_baseBufferDelay','setIdForTheLastOperation','isOfficialPlugin','_setUpDataInit','lastOperationAcceptedAt','404','start','_sendBufferedOperationsDelayed'];_0x1fc7=function(){return _0x3dff0f;};return _0x1fc7();}import{transformSets as _0x9cffba,NoOperation as _0x3d8b34,InsertOperation as _0xa58ace,MarkerOperation as _0x21729e,RootAttributeOperation as _0xe11761,OperationFactory as _0x5642dd,History as _0x117e6e}from'ckeditor5/src/engine.js';import _0x2109ee from'./websocketgateway.js';import _0x5b9a8e from'./sessions.js';import _0x27bdeb from'./usermarkers.js';import{getTranslation as _0xbcc887}from'../common-translations.js';import{Compressor as _0x31eb84}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x46783d}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x2dedfc,CollaborativeEditingService as _0x54d772}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x4b7636{static get[_0x57cfa7(0x180)](){return[_0x2109ee,_0x5b9a8e,_0x27bdeb,_0x365c1d,_0x46783d,_0x489bf9];}static get[_0x57cfa7(0x1b5)](){const _0x3c84bf=_0x57cfa7;return _0x3c84bf(0x160);}static get[_0x57cfa7(0x1ba)](){return!0x0;}static get[_0x57cfa7(0x19e)](){return!0x0;}get[_0x57cfa7(0x1f4)](){const _0x23466d=_0x57cfa7;return this[_0x23466d(0x226)]+this[_0x23466d(0x14f)];}get[_0x57cfa7(0x226)](){const _0x585f04=_0x57cfa7;return this[_0x585f04(0x154)][_0x585f04(0x23b)]-this[_0x585f04(0x14f)];}get[_0x57cfa7(0x1aa)](){const _0x3386e7=_0x57cfa7,_0x55e959=this[_0x3386e7(0x154)][_0x3386e7(0x1df)]();for(let _0x1493cb=_0x55e959[_0x3386e7(0x158)]-0x1;_0x1493cb>=0x0;_0x1493cb--){const _0x2277b7=_0x55e959[_0x1493cb];if(!this[_0x3386e7(0x228)][_0x3386e7(0x1c5)](_0x2277b7))return _0x2277b7[_0x3386e7(0x1e4)]+0x1-this[_0x3386e7(0x14f)];}return 0x0;}constructor(_0x1bf31b){const _0x5e662d=_0x57cfa7;if(super(_0x1bf31b),this[_0x5e662d(0x14f)]=0x0,this[_0x5e662d(0x1f5)]=null,this[_0x5e662d(0x154)]=new _0x117e6e(),this[_0x5e662d(0x1ec)][_0x5e662d(0x191)][_0x5e662d(0x249)](_0x5e662d(0x21d),{}),this[_0x5e662d(0x225)]=this[_0x5e662d(0x1ec)][_0x5e662d(0x191)][_0x5e662d(0x1f3)](_0x5e662d(0x188)),!this[_0x5e662d(0x225)])throw new _0x4e4524(_0x5e662d(0x197),this);const _0x1221a5=_0x1bf31b[_0x5e662d(0x191)][_0x5e662d(0x1f3)](_0x5e662d(0x1e7))||_0x99706b;this[_0x5e662d(0x1f2)]=new l[(_0x5e662d(0x1d3))](_0x1221a5,this[_0x5e662d(0x225)]),this[_0x5e662d(0x238)]=this[_0x5e662d(0x1ec)][_0x5e662d(0x1e9)][_0x5e662d(0x22d)],this[_0x5e662d(0x185)]=new _0x31eb84(),this[_0x5e662d(0x209)]=[],this[_0x5e662d(0x16f)]=new WeakSet(),this[_0x5e662d(0x1f6)]=new Set(),this[_0x5e662d(0x1ac)](_0x5e662d(0x15c),!0x1),this[_0x5e662d(0x1ac)](_0x5e662d(0x1ff),!0x1),this[_0x5e662d(0x15e)]=null,this[_0x5e662d(0x206)]=!0x1,this[_0x5e662d(0x24f)]=null,this[_0x5e662d(0x1b8)]=0x12c,this[_0x5e662d(0x223)]=this[_0x5e662d(0x1b8)],this[_0x5e662d(0x16a)]=null,this[_0x5e662d(0x228)]=new WeakSet(),this[_0x5e662d(0x24a)]=new X(this[_0x5e662d(0x228)]);}[_0x57cfa7(0x1dd)](){const _0x344e27=_0x57cfa7,_0x16b234=this[_0x344e27(0x1ec)],_0x19f391=_0x16b234[_0x344e27(0x1c4)][_0x344e27(0x1f3)](_0x46783d),_0x18ae95=_0x16b234[_0x344e27(0x1c4)][_0x344e27(0x1f3)](_0x2109ee);this[_0x344e27(0x184)](_0x19f391,_0x344e27(0x24c),(_0x1c93f2,_0xe92def)=>{const _0x5e24d2=_0x344e27,_0x1d5fa6=_0xe92def[0x0];_0x1d5fa6[_0x5e24d2(0x205)]&&(_0x1c93f2[_0x5e24d2(0x161)]=_0x19f391[_0x5e24d2(0x16b)](_0x1d5fa6[_0x5e24d2(0x205)]),_0x1c93f2[_0x5e24d2(0x171)]()),null===_0x1d5fa6[_0x5e24d2(0x205)]&&(_0x1c93f2[_0x5e24d2(0x161)]=null,_0x1c93f2[_0x5e24d2(0x171)]());},{'priority':_0x344e27(0x1b4)}),this[_0x344e27(0x184)](_0x16b234[_0x344e27(0x1e9)][_0x344e27(0x22d)][_0x344e27(0x192)],_0x344e27(0x1ee),(_0x21677a,_0x2c7655)=>{const _0x4d7579=_0x344e27;_0x2c7655[_0x4d7579(0x1d1)]&&this[_0x4d7579(0x1dc)]();}),this[_0x344e27(0x184)](_0x16b234[_0x344e27(0x14c)][_0x344e27(0x1de)],_0x344e27(0x16d),()=>{const _0x24eeb6=_0x344e27;this[_0x24eeb6(0x1dc)]();}),this[_0x344e27(0x217)](),_0x16b234[_0x344e27(0x1e9)]['on'](_0x344e27(0x20a),(_0x3ad1d4,_0x2029d3)=>{const _0x44b823=_0x344e27,_0x3241e6=_0x2029d3[0x0];_0x3241e6[_0x44b823(0x19b)]&&(this[_0x44b823(0x159)](_0x3241e6),this[_0x44b823(0x22c)]()&&this[_0x44b823(0x1bf)]());}),this[_0x344e27(0x1bb)](),this[_0x344e27(0x235)](_0x344e27(0x195))['to'](_0x18ae95,_0x344e27(0x1ab),this,_0x344e27(0x1ff),(_0x50f5f6,_0x436c4b)=>_0x344e27(0x168)===_0x50f5f6&&!_0x436c4b),this['on'](_0x344e27(0x246),()=>{const _0x10a1cd=_0x344e27;this[_0x10a1cd(0x195)]?_0x16b234[_0x10a1cd(0x1fa)](_0x10a1cd(0x18b)):_0x16b234[_0x10a1cd(0x20f)](_0x10a1cd(0x18b));}),this[_0x344e27(0x195)]?_0x16b234[_0x344e27(0x1fa)](_0x344e27(0x18b)):_0x16b234[_0x344e27(0x20f)](_0x344e27(0x18b)),this[_0x344e27(0x1ac)](_0x344e27(0x24d),!0x1);}async[_0x57cfa7(0x1da)](){const _0x54954e=_0x57cfa7,_0x4d514d=this[_0x54954e(0x1ec)][_0x54954e(0x1c4)][_0x54954e(0x1f3)](_0x5b9a8e),_0xf6f45f=this[_0x54954e(0x1ec)][_0x54954e(0x1c4)][_0x54954e(0x1f3)](_0x2109ee);try{this[_0x54954e(0x15c)]=!0x0,_0x4d514d[_0x54954e(0x210)](this[_0x54954e(0x225)]);const _0x464f3f=await this[_0x54954e(0x1f2)][_0x54954e(0x1da)](_0xf6f45f[_0x54954e(0x162)],this[_0x54954e(0x1aa)]);await this[_0x54954e(0x23e)](_0x464f3f)&&(this[_0x54954e(0x15c)]=!0x1,this[_0x54954e(0x201)]());const _0x5c7168=await this[_0x54954e(0x1f2)][_0x54954e(0x175)]();_0x4d514d[_0x54954e(0x1e2)](this[_0x54954e(0x225)],_0x5c7168),this[_0x54954e(0x20e)](),this[_0x54954e(0x24d)]=!0x0;}catch(_0x24ce50){if(function(_0x224bed){const _0x39bd93=_0x54954e;return _0x39bd93(0x1bd)===_0x224bed[_0x39bd93(0x1d9)];}(_0x24ce50)&&this[_0x54954e(0x1f5)])await this[_0x54954e(0x1b7)]();else{if(function(_0x46e84b){const _0x2b27d4=_0x54954e;return _0x2b27d4(0x14e)===_0x46e84b[_0x2b27d4(0x1d9)];}(_0x24ce50)){const _0x145881=_0xbcc887(this[_0x54954e(0x1ec)][_0x54954e(0x1ed)],_0x54954e(0x19c));this[_0x54954e(0x1a7)](_0x145881);}else{if(!(_0x24ce50 instanceof J))throw _0x24ce50;this[_0x54954e(0x1a7)]();}}}}[_0x57cfa7(0x1d4)](){const _0x1192bb=_0x57cfa7,_0x4de079=this[_0x1192bb(0x1ec)][_0x1192bb(0x1c4)][_0x1192bb(0x1f3)](_0x2109ee),_0x2b97a0=this[_0x1192bb(0x1ec)][_0x1192bb(0x1c4)][_0x1192bb(0x1f3)](_0x5b9a8e);this[_0x1192bb(0x1ec)][_0x1192bb(0x20f)](_0x1192bb(0x243)),_0x2b97a0[_0x1192bb(0x149)][_0x1192bb(0x1c5)](this[_0x1192bb(0x225)])&&_0x2b97a0[_0x1192bb(0x210)](this[_0x1192bb(0x225)]),_0x4de079[_0x1192bb(0x24e)](this),this[_0x1192bb(0x1e6)](),super[_0x1192bb(0x1d4)]();}async[_0x57cfa7(0x23e)](_0x277980){const _0xba5550=_0x57cfa7;if(this[_0xba5550(0x1f5)]!==_0x277980[_0xba5550(0x1f5)]&&this[_0xba5550(0x16a)]!==_0x277980[_0xba5550(0x186)])throw new J();return this[_0xba5550(0x1f5)]=_0x277980[_0xba5550(0x1f5)],this[_0xba5550(0x20d)]([],{..._0x277980,'wereChangesApplied':!0x1,'data':_0x277980[_0xba5550(0x17e)]},_0xba5550(0x1da));}async[_0x57cfa7(0x1e8)](_0x442dba,_0x5bd90b=!0x1){const _0xe75a10=_0x57cfa7,{connection:_0xfc6293}=this[_0xe75a10(0x1ec)][_0xe75a10(0x1c4)][_0xe75a10(0x1f3)](_0x2109ee);l[_0xe75a10(0x1d3)][_0xe75a10(0x175)](_0xfc6293,this[_0xe75a10(0x225)])[_0xe75a10(0x23c)](_0x456ab6=>this[_0xe75a10(0x190)](_0x456ab6))[_0xe75a10(0x1a9)](_0x4323cc=>{const _0x51d7bf=_0xe75a10;this[_0x51d7bf(0x1db)](_0x51d7bf(0x233),_0x4323cc);}),this[_0xe75a10(0x184)](this[_0xe75a10(0x1f2)],_0xe75a10(0x211),this[_0xe75a10(0x18d)][_0xe75a10(0x235)](this)),this[_0xe75a10(0x184)](this[_0xe75a10(0x1f2)],_0xe75a10(0x219),(_0x1715d2,_0x4fe216)=>{const _0x320b33=_0xe75a10;this[_0x320b33(0x1db)](_0x320b33(0x170),_0x4fe216);}),this[_0xe75a10(0x184)](this[_0xe75a10(0x1f2)],_0xe75a10(0x20c),()=>{const _0x58b51b=_0xe75a10;this[_0x58b51b(0x24d)]=!0x1;});const _0x321b95=this[_0xe75a10(0x24a)][_0xe75a10(0x1cc)](_0x442dba);this[_0xe75a10(0x15c)]=!0x0;const _0xe961bd=await this[_0xe75a10(0x1f2)][_0xe75a10(0x164)](_0xfc6293,this[_0xe75a10(0x21c)](_0x442dba),_0x321b95);if(this[_0xe75a10(0x1f5)]=_0xe961bd[_0xe75a10(0x1f5)],_0x5bd90b){if(!_0xe961bd[_0xe75a10(0x19a)])return void this[_0xe75a10(0x1a7)]();this[_0xe75a10(0x15c)]=!0x1,this[_0xe75a10(0x201)](),this[_0xe75a10(0x154)][_0xe75a10(0x1d5)](),this[_0xe75a10(0x14f)]=_0xe961bd[_0xe75a10(0x1f0)],this[_0xe75a10(0x154)][_0xe75a10(0x23b)]=this[_0xe75a10(0x14f)],await this[_0xe75a10(0x20d)](_0x442dba,_0xe961bd,_0xe75a10(0x1c3));}else await this[_0xe75a10(0x14d)](_0xe961bd,_0x442dba);this[_0xe75a10(0x20e)](),this[_0xe75a10(0x24d)]=!0x0;}[_0x57cfa7(0x20e)](){const _0x13a31f=_0x57cfa7,_0x5ddad4=this[_0x13a31f(0x1ec)][_0x13a31f(0x1c4)][_0x13a31f(0x1f3)](_0x5b9a8e),_0x340aa2=this[_0x13a31f(0x1ec)][_0x13a31f(0x1c4)][_0x13a31f(0x1f3)](_0x27bdeb),_0x299623=_0x5ddad4[_0x13a31f(0x149)][_0x13a31f(0x1f3)](this[_0x13a31f(0x225)]);_0x299623&&_0x299623[_0x13a31f(0x158)]>0x1?_0x340aa2[_0x13a31f(0x21e)]():this[_0x13a31f(0x184)](_0x5ddad4,_0x13a31f(0x1c0)+this[_0x13a31f(0x225)],()=>{const _0x2dcf15=_0x13a31f;0x2===_0x5ddad4[_0x2dcf15(0x149)][_0x2dcf15(0x1f3)](this[_0x2dcf15(0x225)])[_0x2dcf15(0x158)]&&_0x340aa2[_0x2dcf15(0x21e)]();});}async[_0x57cfa7(0x18d)](_0x3f9b58,_0x3bdb65,_0x500198,_0x184d96){const _0xfa17a=_0x57cfa7;if(!this[_0xfa17a(0x15c)]&&this[_0xfa17a(0x238)][_0xfa17a(0x23b)]==_0x3bdb65){const _0x4fd4e4=this[_0xfa17a(0x174)](_0x500198,_0x184d96);await this[_0xfa17a(0x165)](_0x4fd4e4),this[_0xfa17a(0x173)](_0x4fd4e4,_0x3bdb65,_0x500198[_0xfa17a(0x186)])||this[_0xfa17a(0x1db)](_0xfa17a(0x207));}}async[_0x57cfa7(0x1b7)](){const _0x2a4781=_0x57cfa7;this[_0x2a4781(0x1e6)]();const {locale:_0x50f386}=this[_0x2a4781(0x1ec)];let _0x7badcb;try{_0x7badcb=await this[_0x2a4781(0x1f2)][_0x2a4781(0x240)]();}catch(_0x564e61){const _0x2044dd=_0xbcc887(_0x50f386,_0x2a4781(0x214));return void this[_0x2a4781(0x1a7)](_0x2044dd);}const _0x34495b=_0x7badcb[_0x2a4781(0x16c)]||_0x7badcb[_0x2a4781(0x241)];if(this[_0x2a4781(0x16a)]===_0x34495b[_0x2a4781(0x186)])await this[_0x2a4781(0x1e8)](this[_0x2a4781(0x1ec)][_0x2a4781(0x1e9)][_0x2a4781(0x22d)][_0x2a4781(0x250)][_0x2a4781(0x1df)](),!0x0);else{const _0x267633=_0xbcc887(_0x50f386,_0x2a4781(0x15b));this[_0x2a4781(0x1a7)](_0x267633);}}[_0x57cfa7(0x1e6)](){const _0x44fb53=_0x57cfa7;this[_0x44fb53(0x1f2)][_0x44fb53(0x1b3)](),this[_0x44fb53(0x209)]=[],clearTimeout(this[_0x44fb53(0x24f)]),this[_0x44fb53(0x20b)](this[_0x44fb53(0x1f2)]);}[_0x57cfa7(0x190)](_0x926419){const _0x1c1ae8=_0x57cfa7,_0x277346=this[_0x1c1ae8(0x1ec)][_0x1c1ae8(0x1c4)][_0x1c1ae8(0x1f3)](_0x5b9a8e);this[_0x1c1ae8(0x184)](_0x277346,_0x1c1ae8(0x1c0)+this[_0x1c1ae8(0x225)],(_0x3b82a0,{session:_0x121ee1})=>{const _0x8d9f85=_0x1c1ae8;if(_0x121ee1['id']===_0x277346[_0x8d9f85(0x247)]){_0x3b82a0[_0x8d9f85(0x1c7)]();const _0xcc5043=this[_0x8d9f85(0x1ec)][_0x8d9f85(0x1c4)][_0x8d9f85(0x1c5)](_0x8d9f85(0x1e5))&&this[_0x8d9f85(0x1ec)][_0x8d9f85(0x1c4)][_0x8d9f85(0x1f3)](_0x8d9f85(0x1e5));let _0x3926b0=_0x121ee1[_0x8d9f85(0x1d0)];_0xcc5043&&_0xcc5043[_0x8d9f85(0x21f)]&&(_0x3926b0=_0x3926b0[_0x8d9f85(0x1c1)](_0x43d078=>_0x8d9f85(0x1b1)!==_0x43d078)),this[_0x8d9f85(0x1ec)][_0x8d9f85(0x1c4)][_0x8d9f85(0x1f3)](_0x8d9f85(0x1fc))[_0x8d9f85(0x227)](_0x3926b0,this[_0x8d9f85(0x225)]);}}),_0x277346[_0x1c1ae8(0x1e2)](this[_0x1c1ae8(0x225)],_0x926419);}[_0x57cfa7(0x217)](){const _0xfc3d3e=_0x57cfa7,_0x5085ae=this[_0xfc3d3e(0x1ec)][_0xfc3d3e(0x17e)][_0xfc3d3e(0x1ac)];this[_0xfc3d3e(0x1ec)][_0xfc3d3e(0x17e)][_0xfc3d3e(0x1ac)]=(..._0x1c2153)=>{const _0x4128aa=_0xfc3d3e;if(!_0x1c2153[_0x1c2153[_0x4128aa(0x158)]-0x1][_0x4128aa(0x1f7)])throw new _0x4e4524(_0x4128aa(0x21a),this);_0x5085ae[_0x4128aa(0x224)](this[_0x4128aa(0x1ec)][_0x4128aa(0x17e)],_0x1c2153);};}[_0x57cfa7(0x1bb)](){const _0x1d570f=_0x57cfa7;this[_0x1d570f(0x1ec)][_0x1d570f(0x17e)]['on'](_0x1d570f(0x1dd),(_0x505051,[_0x5bad42])=>{const _0x29a6ce=_0x1d570f;if(this[_0x29a6ce(0x238)][_0x29a6ce(0x23b)])throw new _0x4e4524(_0x29a6ce(0x14b),this);_0x505051[_0x29a6ce(0x171)](),this[_0x29a6ce(0x1b0)]();const _0x42a6be=this[_0x29a6ce(0x1ec)][_0x29a6ce(0x191)][_0x29a6ce(0x1f3)](_0x29a6ce(0x163)),_0x52a334=this[_0x29a6ce(0x1a2)](_0x5bad42,_0x42a6be);0x0==_0x52a334[_0x29a6ce(0x158)]&&_0x52a334[_0x29a6ce(0x17d)](new _0x3d8b34(0x0)),_0x505051[_0x29a6ce(0x161)]=this[_0x29a6ce(0x1e8)](_0x52a334)[_0x29a6ce(0x23c)](()=>{const _0x5a2e3e=_0x29a6ce;this[_0x5a2e3e(0x1ec)][_0x5a2e3e(0x1c4)][_0x5a2e3e(0x1f3)](_0x2109ee)[_0x5a2e3e(0x203)](this),this[_0x5a2e3e(0x1ec)][_0x5a2e3e(0x17e)][_0x5a2e3e(0x1ae)](_0x5a2e3e(0x15a));})[_0x29a6ce(0x1a9)](_0x4dc3d3=>this[_0x29a6ce(0x1db)](_0x29a6ce(0x181),_0x4dc3d3))[_0x29a6ce(0x1d8)](()=>this[_0x29a6ce(0x201)]());},{'priority':_0x1d570f(0x1b4)}),this[_0x1d570f(0x1ec)]['on'](_0x1d570f(0x232),async(_0x1f243e,[_0xe9b05d,_0x3bb122])=>{const _0x13f99a=_0x1d570f;_0x1f243e[_0x13f99a(0x171)]();const _0x11f2c5=this[_0x13f99a(0x1ec)][_0x13f99a(0x1e9)][_0x13f99a(0x22d)][_0x13f99a(0x1a4)](_0xe9b05d);if(!this[_0x13f99a(0x1f6)][_0x13f99a(0x1c5)](_0xe9b05d)){const _0xb0ed36=_0x3bb122&&_0x3bb122[_0x13f99a(0x17e)]?_0x3bb122[_0x13f99a(0x17e)]:'',_0x213bec=_0x3bb122&&_0x3bb122[_0x13f99a(0x193)]?_0x3bb122[_0x13f99a(0x193)]:{};await this[_0x13f99a(0x199)](_0xe9b05d,_0xb0ed36,_0x213bec);}this[_0x13f99a(0x1ec)][_0x13f99a(0x1e9)][_0x13f99a(0x19f)]({'isUndoable':!0x1},()=>{const _0x20a3c1=_0x13f99a;_0x11f2c5[_0x20a3c1(0x239)]=!0x0,this[_0x20a3c1(0x1ec)][_0x20a3c1(0x1e9)][_0x20a3c1(0x22d)][_0x20a3c1(0x176)][_0x20a3c1(0x221)](_0x11f2c5);});},{'priority':_0x1d570f(0x1b4)});}async[_0x57cfa7(0x165)](_0x3b9285){const _0x583dd0=_0x57cfa7,_0x78a4c6=this[_0x583dd0(0x1ec)][_0x583dd0(0x1c4)][_0x583dd0(0x1f3)](_0x46783d),{connection:_0x4aa9b6}=this[_0x583dd0(0x1ec)][_0x583dd0(0x1c4)][_0x583dd0(0x1f3)](_0x2109ee),_0x18d5f1=new Set();for(const _0x5865eb of _0x3b9285){const _0x41b2cd=_0x5865eb[_0x583dd0(0x205)];_0x41b2cd&&!_0x78a4c6[_0x583dd0(0x16b)](_0x41b2cd)&&_0x18d5f1[_0x583dd0(0x1d6)](_0x41b2cd);}if(0x0===_0x18d5f1[_0x583dd0(0x177)])return;const _0x202ac8=await _0x2dedfc[_0x583dd0(0x156)](_0x4aa9b6,Array[_0x583dd0(0x1c2)](_0x18d5f1));for(const _0x56c1d9 of _0x202ac8)_0x78a4c6[_0x583dd0(0x16b)](_0x56c1d9['id'])||_0x78a4c6[_0x583dd0(0x1cd)](_0x56c1d9);}[_0x57cfa7(0x1a2)](_0x5e7984,_0xf867c0={}){const _0x517127=_0x57cfa7,_0x3cb6ae=this[_0x517127(0x1ec)][_0x517127(0x1e9)],_0x114d86=[];let _0x10ab6d=0x0;const _0x92cac3=_0x517127(0x1cb)==typeof _0x5e7984?{'main':_0x5e7984}:_0x5e7984;for(const _0x32fd59 of Object[_0x517127(0x202)](_0x92cac3)){if(!this[_0x517127(0x238)][_0x517127(0x222)][_0x517127(0x1c5)](_0x32fd59))throw new _0x4e4524(_0x517127(0x1e3),this);const _0x3d0783=this[_0x517127(0x1ec)][_0x517127(0x17e)][_0x517127(0x212)](_0x92cac3[_0x32fd59]),_0x196eeb=this[_0x517127(0x238)][_0x517127(0x1a4)](_0x32fd59),_0x2a2257=new _0xa58ace(_0x3cb6ae[_0x517127(0x1c9)](_0x196eeb,0x0),_0x3d0783,_0x10ab6d++);_0x114d86[_0x517127(0x17d)](_0x2a2257);for(const [_0x25d413,_0xe04693]of _0x3d0783[_0x517127(0x19d)]){const _0x38a578=_0x3cb6ae[_0x517127(0x1a8)](_0x3cb6ae[_0x517127(0x15d)](_0x196eeb,_0xe04693[_0x517127(0x1be)][_0x517127(0x242)][_0x517127(0x23f)]()),_0x3cb6ae[_0x517127(0x15d)](_0x196eeb,_0xe04693[_0x517127(0x183)][_0x517127(0x242)][_0x517127(0x23f)]())),_0x239970=new _0x21729e(_0x25d413,null,_0x38a578,_0x3cb6ae[_0x517127(0x19d)],!0x0,_0x10ab6d++);_0x114d86[_0x517127(0x17d)](_0x239970);}}if(_0xf867c0)for(const [_0x3d364a,_0xc6c171]of Object[_0x517127(0x16e)](_0xf867c0)){const _0x3d43d0=_0x3cb6ae[_0x517127(0x22d)][_0x517127(0x1a4)](_0x3d364a);if(!_0x3d43d0)throw new _0x4e4524(_0x517127(0x1ea),null);for(const [_0x124024,_0x1144f7]of Object[_0x517127(0x16e)](_0xc6c171))if(null!==_0x1144f7){const _0x9a4d0c=new _0xe11761(_0x3d43d0,_0x124024,null,_0x1144f7,_0x10ab6d++);_0x114d86[_0x517127(0x17d)](_0x9a4d0c);}}return _0x114d86;}async[_0x57cfa7(0x199)](_0x2cc85e,_0x367963,_0x2abc12){const _0x260dda=_0x57cfa7;this[_0x260dda(0x1a2)]({[_0x2cc85e]:_0x367963},{[_0x2cc85e]:_0x2abc12})[_0x260dda(0x1f1)]((_0x73869d,_0x4d2b39)=>{const _0x56fdaa=_0x260dda;_0x73869d[_0x56fdaa(0x1e4)]=this[_0x56fdaa(0x238)][_0x56fdaa(0x23b)]+_0x4d2b39,_0x73869d[_0x56fdaa(0x14a)]=!0x0,this[_0x56fdaa(0x159)](_0x73869d);}),this[_0x260dda(0x1bf)](),await this[_0x260dda(0x1a5)]();}async[_0x57cfa7(0x14d)](_0x19c4ff,_0x5d9b61){const _0x344262=_0x57cfa7;let _0x37e980;this[_0x344262(0x14f)]=_0x19c4ff[_0x344262(0x1f0)];const _0x3e7fee=_0x19c4ff[_0x344262(0x19a)]&&!_0x19c4ff[_0x344262(0x237)],_0x6cd120=_0x3e7fee?0x0:_0x19c4ff[_0x344262(0x17e)][_0x344262(0x1e4)];if(_0x5d9b61[_0x344262(0x1f1)](_0x4011ba=>{const _0x3ddbdc=_0x344262;_0x4011ba[_0x3ddbdc(0x14a)]=!0x0,_0x4011ba[_0x3ddbdc(0x152)]=_0x19c4ff[_0x3ddbdc(0x229)],_0x4011ba[_0x3ddbdc(0x205)]=null;}),_0x3e7fee)_0x37e980=_0x5d9b61,this[_0x344262(0x1af)](_0x37e980,_0x3e7fee);else{if(_0x19c4ff[_0x344262(0x237)]){const _0x522bcc=this[_0x344262(0x1a2)](_0x19c4ff[_0x344262(0x237)]);this[_0x344262(0x238)][_0x344262(0x250)][_0x344262(0x23b)]=-_0x522bcc[_0x344262(0x158)],_0x522bcc[_0x344262(0x1f1)](_0x47cf1e=>{const _0x34f568=_0x344262;_0x47cf1e[_0x34f568(0x1e4)]-=_0x522bcc[_0x34f568(0x158)],_0x47cf1e[_0x34f568(0x152)]=_0x19c4ff[_0x34f568(0x229)],_0x47cf1e[_0x34f568(0x14a)]=!0x0,_0x47cf1e[_0x34f568(0x205)]=null;}),this[_0x344262(0x1af)](_0x522bcc,!0x0),this[_0x344262(0x154)][_0x344262(0x23b)]=-_0x522bcc[_0x344262(0x158)]+this[_0x344262(0x14f)],this[_0x344262(0x1b2)](_0x522bcc);}this[_0x344262(0x238)][_0x344262(0x250)][_0x344262(0x23b)]=_0x6cd120,_0x37e980=this[_0x344262(0x174)](_0x19c4ff[_0x344262(0x17e)],_0x19c4ff[_0x344262(0x172)]),await this[_0x344262(0x165)](_0x37e980),this[_0x344262(0x1af)](_0x37e980,_0x3e7fee);}_0x19c4ff[_0x344262(0x186)]&&(this[_0x344262(0x24a)][_0x344262(0x1b9)](_0x37e980,_0x19c4ff[_0x344262(0x186)]),this[_0x344262(0x16a)]=_0x19c4ff[_0x344262(0x186)]),this[_0x344262(0x154)][_0x344262(0x23b)]=_0x6cd120+this[_0x344262(0x14f)],this[_0x344262(0x1b2)](_0x37e980),_0x5d9b61[_0x344262(0x1c1)](_0xe29e74=>{const _0x55bfc6=_0x344262,_0x1007d5=this[_0x55bfc6(0x196)](_0xe29e74);return _0x1007d5&&!this[_0x55bfc6(0x1f6)][_0x55bfc6(0x1c5)](_0x1007d5);})[_0x344262(0x1f1)]((_0x2ef87e,_0x56e9f8)=>{const _0x419faf=_0x344262;_0x2ef87e[_0x419faf(0x1e4)]=this[_0x419faf(0x238)][_0x419faf(0x23b)]+_0x56e9f8,this[_0x419faf(0x159)](_0x2ef87e);}),this[_0x344262(0x22c)]()?(this[_0x344262(0x223)]=0x0,this[_0x344262(0x1bf)](!0x0),await this[_0x344262(0x1a5)]()):(this[_0x344262(0x15c)]=!0x1,this[_0x344262(0x201)]());}[_0x57cfa7(0x1db)](_0x2f818a,_0x15cef2){const _0x219ab7=_0x57cfa7,_0x552ed2=_0x15cef2&&_0x15cef2[_0x219ab7(0x200)];if(_0x552ed2&&_0x552ed2[_0x219ab7(0x216)](_0x219ab7(0x1ce)))throw _0x15cef2;const _0x3c49b6=this[_0x219ab7(0x1ec)][_0x219ab7(0x1c4)][_0x219ab7(0x1f3)](_0x2109ee);throw this[_0x219ab7(0x15c)]=!0x0,_0x3c49b6[_0x219ab7(0x1b3)](),this[_0x219ab7(0x1ec)][_0x219ab7(0x20f)](_0x219ab7(0x178)),new _0x4e4524(_0x2f818a,this[_0x219ab7(0x1ec)],_0x552ed2?{'originalError':_0x552ed2}:void 0x0);}[_0x57cfa7(0x159)](_0x255ffb){const _0x25f880=_0x57cfa7;this[_0x25f880(0x16f)][_0x25f880(0x1c5)](_0x255ffb)||(this[_0x25f880(0x16f)][_0x25f880(0x1d6)](_0x255ffb),this[_0x25f880(0x209)][_0x25f880(0x17d)](_0x255ffb),this[_0x25f880(0x15e)]||_0x25f880(0x208)==_0x255ffb[_0x25f880(0x182)]&&!_0x255ffb[_0x25f880(0x215)]||this[_0x25f880(0x1b0)]());}[_0x57cfa7(0x1bf)](_0x500b65=!0x1){const _0x6760e7=_0x57cfa7;!_0x500b65&&this[_0x6760e7(0x15c)]||(this[_0x6760e7(0x15c)]=!0x0,clearTimeout(this[_0x6760e7(0x24f)]),this[_0x6760e7(0x24f)]=setTimeout(()=>{const _0x46f401=_0x6760e7;this[_0x46f401(0x18c)]()[_0x46f401(0x23c)](_0x51c669=>{const _0x33e93c=_0x46f401;_0x51c669&&(this[_0x33e93c(0x201)](),this[_0x33e93c(0x15c)]=!0x1);})[_0x46f401(0x1a9)](_0x366ded=>{const _0x5222f1=_0x46f401;this[_0x5222f1(0x201)](),this[_0x5222f1(0x15c)]=!0x1,function(_0x57e3aa){const _0xed5f84=_0x5222f1;return _0x57e3aa[_0xed5f84(0x200)][_0xed5f84(0x216)](_0xed5f84(0x1d7))||_0x57e3aa[_0xed5f84(0x200)][_0xed5f84(0x216)](_0xed5f84(0x17b))||_0x57e3aa[_0xed5f84(0x200)][_0xed5f84(0x216)](_0xed5f84(0x1ca));}(_0x366ded)||this[_0x5222f1(0x1db)](_0x366ded[_0x5222f1(0x200)],_0x366ded);});},this[_0x6760e7(0x223)]));}[_0x57cfa7(0x1a5)](){return new Promise(_0x4668ec=>{const _0x3b14f5=_0x4300;this['on'](_0x3b14f5(0x1d2),()=>{_0x4668ec();});});}async[_0x57cfa7(0x18c)](){const _0x192736=_0x57cfa7,_0x4163f8=this[_0x192736(0x1ec)][_0x192736(0x1c4)][_0x192736(0x1f3)](_0x27bdeb);if(this[_0x192736(0x21b)]()&&(_0x4163f8[_0x192736(0x21e)](),this[_0x192736(0x206)]=!0x1),!this[_0x192736(0x22c)]())return!0x0;const _0x38ffac=[...this[_0x192736(0x209)]];for(const _0x294fea of _0x38ffac)_0x294fea[_0x192736(0x150)]=this[_0x192736(0x238)][_0x192736(0x250)][_0x192736(0x231)](_0x294fea);const _0x2452f6=this[_0x192736(0x24a)][_0x192736(0x1cc)](_0x38ffac),_0x1c14f3=K++,_0x4c952c=this[_0x192736(0x21c)](_0x38ffac),_0x3ab3fa=await this[_0x192736(0x1f2)][_0x192736(0x22b)](_0x4c952c,_0x4c952c[_0x192736(0x1e4)],_0x2452f6);try{return await this[_0x192736(0x20d)](_0x38ffac,_0x3ab3fa,_0x1c14f3);}catch(_0x4e80ff){return this[_0x192736(0x1db)](_0x192736(0x220),_0x4e80ff);}}async[_0x57cfa7(0x20d)](_0x532a5b,_0x50206e,_0x50c34f){const _0x38ebfa=_0x57cfa7;if(_0x38ebfa(0x219)in _0x50206e)throw _0x50206e[_0x38ebfa(0x219)];let _0x801706=!0x1;if(_0x50206e[_0x38ebfa(0x19a)]){_0x50206e[_0x38ebfa(0x186)]&&(this[_0x38ebfa(0x16a)]=_0x50206e[_0x38ebfa(0x186)]),this[_0x38ebfa(0x209)]=this[_0x38ebfa(0x209)][_0x38ebfa(0x1c1)](_0x220fe9=>!_0x532a5b[_0x38ebfa(0x194)](_0x220fe9));for(const _0x3de3de of _0x532a5b)_0x3de3de[_0x38ebfa(0x152)]=_0x38ebfa(0x1bc)in _0x50206e&&_0x50206e[_0x38ebfa(0x1bc)]||void 0x0;Q(_0x532a5b,_0x50206e[_0x38ebfa(0x23b)]-_0x532a5b[_0x38ebfa(0x158)]),this[_0x38ebfa(0x1b2)](_0x532a5b);const _0x5a39eb=_0x532a5b[_0x38ebfa(0x1c1)](_0x5dd11d=>{const _0x2e28bf=_0x38ebfa;if(!_0x5dd11d[_0x2e28bf(0x14a)])return!0x1;const _0x2c3355=this[_0x2e28bf(0x196)](_0x5dd11d);return _0x2c3355&&!this[_0x2e28bf(0x1f6)][_0x2e28bf(0x1c5)](_0x2c3355);});Q(_0x5a39eb,this[_0x38ebfa(0x238)][_0x38ebfa(0x23b)]),this[_0x38ebfa(0x1af)](_0x5a39eb),_0x801706=!0x0,this[_0x38ebfa(0x223)]=this[_0x38ebfa(0x1b8)];}else{const _0x81272d=this[_0x38ebfa(0x174)](_0x50206e[_0x38ebfa(0x17e)],_0x50206e[_0x38ebfa(0x172)])[_0x38ebfa(0x1c1)](_0x22f4d0=>_0x22f4d0[_0x38ebfa(0x1e4)]>=this[_0x38ebfa(0x226)]);_0x81272d[_0x38ebfa(0x1f1)](_0xed6866=>this[_0x38ebfa(0x153)](_0xed6866)),this[_0x38ebfa(0x209)]=this[_0x38ebfa(0x209)][_0x38ebfa(0x1c1)](_0x436a12=>!_0x436a12[_0x38ebfa(0x14a)]||!this[_0x38ebfa(0x1f6)][_0x38ebfa(0x1c5)](this[_0x38ebfa(0x196)](_0x436a12))),this[_0x38ebfa(0x209)][_0x38ebfa(0x158)]&&Q(this[_0x38ebfa(0x209)],this[_0x38ebfa(0x209)][0x0][_0x38ebfa(0x1e4)]),await this[_0x38ebfa(0x165)](_0x81272d),_0x801706=this[_0x38ebfa(0x173)](_0x81272d,_0x50206e[_0x38ebfa(0x23b)],_0x50206e[_0x38ebfa(0x186)]),this[_0x38ebfa(0x223)]=Math[_0x38ebfa(0x230)](this[_0x38ebfa(0x223)]/0x2);}return _0x801706?!this[_0x38ebfa(0x22c)]()||(this[_0x38ebfa(0x1bf)](!0x0),!0x1):this[_0x38ebfa(0x1db)](_0x38ebfa(0x244));}[_0x57cfa7(0x173)](_0x2eb37e,_0xb63fe4,_0x57c39d){const _0x4ffc8c=_0x57cfa7;try{const _0x5fc5f4={'document':this[_0x4ffc8c(0x238)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x22170a,operationsB:_0x1fba3f,originalOperations:_0x47d8c2}=_0x9cffba(_0x2eb37e,this[_0x4ffc8c(0x209)],_0x5fc5f4);Q(_0x22170a,this[_0x4ffc8c(0x238)][_0x4ffc8c(0x23b)]),Q(_0x1fba3f,_0xb63fe4);for(const _0x549c97 of _0x22170a){const _0x1475a9=_0x47d8c2[_0x4ffc8c(0x1f3)](_0x549c97);_0x549c97[_0x4ffc8c(0x205)]=_0x1475a9?_0x1475a9[_0x4ffc8c(0x205)]:null;}_0x57c39d&&(this[_0x4ffc8c(0x24a)][_0x4ffc8c(0x1b9)](_0x2eb37e,_0x57c39d),this[_0x4ffc8c(0x16a)]=_0x57c39d),this[_0x4ffc8c(0x209)]=[..._0x1fba3f],this[_0x4ffc8c(0x1af)](_0x22170a),this[_0x4ffc8c(0x1b2)](_0x2eb37e);}catch(_0x1f5a4a){return console[_0x4ffc8c(0x219)](_0x1f5a4a),!0x1;}return!0x0;}[_0x57cfa7(0x1af)](_0x1c0ea4,_0x25339c=!0x1){const _0x22f5f4=_0x57cfa7;this[_0x22f5f4(0x1ec)][_0x22f5f4(0x1e9)][_0x22f5f4(0x19f)]({'isUndoable':!0x1,'isLocal':!0x1},_0x318283=>{const _0x20f704=_0x22f5f4;for(const _0x301c6c of _0x1c0ea4)this[_0x20f704(0x16f)][_0x20f704(0x1d6)](_0x301c6c),this[_0x20f704(0x153)](_0x301c6c),_0x318283[_0x20f704(0x1b6)][_0x20f704(0x18f)](_0x301c6c),this[_0x20f704(0x1ec)][_0x20f704(0x1e9)][_0x20f704(0x20a)](_0x301c6c);});}[_0x57cfa7(0x153)](_0x3a09f0){const _0x5160ae=_0x57cfa7,_0x2bd908=this[_0x5160ae(0x196)](_0x3a09f0);_0x2bd908&&this[_0x5160ae(0x1f6)][_0x5160ae(0x1d6)](_0x2bd908);}[_0x57cfa7(0x196)](_0x564c28){const _0x32de21=_0x57cfa7;let _0x229fd0,_0x584e45;switch(_0x564c28[_0x32de21(0x182)]){case _0x32de21(0x198):_0x229fd0=_0x564c28[_0x32de21(0x151)][_0x32de21(0x1e1)];break;case _0x32de21(0x208):if(_0x584e45=_0x564c28[_0x32de21(0x213)],!_0x584e45)return null;_0x229fd0=_0x584e45[_0x32de21(0x1e1)];break;case _0x32de21(0x17a):_0x229fd0=_0x564c28[_0x32de21(0x1e1)];break;case _0x32de21(0x179):_0x229fd0=_0x564c28[_0x32de21(0x18a)];break;case _0x32de21(0x218):_0x229fd0=_0x564c28[_0x32de21(0x155)][_0x32de21(0x1e1)];break;default:return null;}return _0x229fd0[_0x32de21(0x166)];}[_0x57cfa7(0x1b2)](_0x221c2d){const _0x4f4938=_0x57cfa7;_0x221c2d[_0x4f4938(0x1f1)](_0x1b21fd=>{const _0x1df26d=_0x4f4938,_0x5b58ea=_0x1b21fd[_0x1df26d(0x234)]();_0x5b58ea[_0x1df26d(0x205)]=_0x1b21fd[_0x1df26d(0x205)],_0x5b58ea[_0x1df26d(0x14a)]=!!_0x1b21fd[_0x1df26d(0x14a)],_0x5b58ea[_0x1df26d(0x152)]=_0x1b21fd[_0x1df26d(0x152)],_0x5b58ea[_0x1df26d(0x1e4)]+=this[_0x1df26d(0x14f)],_0x1b21fd[_0x1df26d(0x169)]&&this[_0x1df26d(0x228)][_0x1df26d(0x1d6)](_0x5b58ea),this[_0x1df26d(0x154)][_0x1df26d(0x18f)](_0x5b58ea);});}[_0x57cfa7(0x1a7)](_0x4b6ed3){const _0x316ec3=_0x57cfa7,_0x40eeda=this[_0x316ec3(0x1ec)][_0x316ec3(0x1c4)][_0x316ec3(0x1f3)](_0x316ec3(0x248)),_0xd72087=this[_0x316ec3(0x1ec)][_0x316ec3(0x1ed)];_0x4b6ed3||(_0x4b6ed3=_0xbcc887(_0xd72087,_0x316ec3(0x1a0))),_0x40eeda[_0x316ec3(0x189)](_0x4b6ed3,{'title':_0xbcc887(_0xd72087,_0x316ec3(0x1f8)),'namespace':_0x316ec3(0x1a1)}),this[_0x316ec3(0x1ff)]=!0x0,clearTimeout(this[_0x316ec3(0x24f)]),this[_0x316ec3(0x209)]=[],this[_0x316ec3(0x1ec)][_0x316ec3(0x1c4)][_0x316ec3(0x1f3)](_0x2109ee)[_0x316ec3(0x1b3)]();}[_0x57cfa7(0x1b0)](){const _0x108be3=_0x57cfa7;this[_0x108be3(0x15e)]||(this[_0x108be3(0x15e)]=this[_0x108be3(0x1ec)][_0x108be3(0x1c4)][_0x108be3(0x1f3)](_0x365c1d)[_0x108be3(0x1d6)](_0xbcc887(this[_0x108be3(0x1ec)][_0x108be3(0x1ed)],_0x108be3(0x24b))));}[_0x57cfa7(0x201)](){const _0x5a9643=_0x57cfa7;this[_0x5a9643(0x15e)]&&(this[_0x5a9643(0x1ec)][_0x5a9643(0x1c4)][_0x5a9643(0x1f3)](_0x365c1d)[_0x5a9643(0x1c6)](this[_0x5a9643(0x15e)]),this[_0x5a9643(0x15e)]=null);}[_0x57cfa7(0x21c)](_0x1bc0d2){const _0x115e4c=_0x57cfa7,_0x14e951=_0x1bc0d2[_0x115e4c(0x157)](_0x42c2c6=>_0x42c2c6[_0x115e4c(0x1a6)]());return this[_0x115e4c(0x185)][_0x115e4c(0x23d)](_0x14e951);}[_0x57cfa7(0x174)](_0x1c9e57,_0x48be66){const _0x49b463=_0x57cfa7;return this[_0x49b463(0x185)][_0x49b463(0x245)](_0x1c9e57)[_0x49b463(0x157)]((_0x1caf00,_0x4a376d)=>{const _0x35eec8=_0x49b463,_0x24ccc4=_0x35eec8(0x1dd)==_0x48be66[_0x4a376d][_0x35eec8(0x182)];if(_0x35eec8(0x1ef)==_0x1caf00[_0x35eec8(0x1ad)]){const _0x12011f=_0x1caf00[_0x35eec8(0x151)][_0x35eec8(0x1e1)];!this[_0x35eec8(0x238)][_0x35eec8(0x1a4)](_0x12011f)&&(this[_0x35eec8(0x238)][_0x35eec8(0x17f)](_0x35eec8(0x17c),_0x12011f)[_0x35eec8(0x167)]=!0x1);}const _0x20afa3=_0x5642dd[_0x35eec8(0x1eb)](_0x1caf00,this[_0x35eec8(0x238)]);return _0x20afa3[_0x35eec8(0x150)]=_0x1caf00[_0x35eec8(0x150)],_0x20afa3[_0x35eec8(0x14a)]=_0x24ccc4,_0x20afa3[_0x35eec8(0x205)]=_0x24ccc4?null:_0x48be66[_0x4a376d][_0x35eec8(0x1a3)],_0x20afa3[_0x35eec8(0x169)]=_0x35eec8(0x1cf)===_0x48be66[_0x4a376d][_0x35eec8(0x182)],_0x20afa3[_0x35eec8(0x152)]=_0x48be66[_0x4a376d][_0x35eec8(0x152)],_0x20afa3;});}[_0x57cfa7(0x1dc)](){const _0x470a64=_0x57cfa7;this[_0x470a64(0x206)]=!0x0,this[_0x470a64(0x21b)]()?this[_0x470a64(0x1bf)]():this[_0x470a64(0x206)]=!0x1;}[_0x57cfa7(0x21b)](){const _0xa539dd=_0x57cfa7,_0x589b0b=this[_0xa539dd(0x1ec)][_0xa539dd(0x1c4)][_0xa539dd(0x1f3)](_0x5b9a8e)[_0xa539dd(0x149)][_0xa539dd(0x1f3)](this[_0xa539dd(0x225)]);return!this[_0xa539dd(0x1ec)][_0xa539dd(0x236)]&&!!_0x589b0b&&_0x589b0b[_0xa539dd(0x158)]>0x1&&this[_0xa539dd(0x206)];}[_0x57cfa7(0x22c)](){const _0x40be17=_0x57cfa7;return this[_0x40be17(0x209)][_0x40be17(0x158)]>0x0||this[_0x40be17(0x21b)]();}}l[_0x57cfa7(0x1d3)]=_0x54d772;export default l;class J extends Error{}function Q(_0xeac9ca,_0x25b593){const _0x3fb645=_0x57cfa7;for(const _0x3ced46 of _0xeac9ca)_0x3ced46[_0x3fb645(0x1e4)]=_0x25b593++;}class X{constructor(_0x261f60){const _0x22f6fb=_0x57cfa7;this[_0x22f6fb(0x1fb)]=_0x261f60,this[_0x22f6fb(0x22f)]=new WeakMap();}[_0x57cfa7(0x1cc)](_0x22cd49){const _0x2ede33=_0x57cfa7;let _0xa622f9=_0x22cd49[_0x2ede33(0x158)];for(;_0xa622f9--;){const _0x124779=_0x22cd49[_0xa622f9];if(!this[_0x2ede33(0x1fb)][_0x2ede33(0x1c5)](_0x124779)){if(!this[_0x2ede33(0x22f)][_0x2ede33(0x1c5)](_0x124779)){const _0x5d3ff6=_0x40bb0c()[_0x2ede33(0x23f)](0x1,0x12);this[_0x2ede33(0x22f)][_0x2ede33(0x1ac)](_0x124779,_0x5d3ff6);}return this[_0x2ede33(0x22f)][_0x2ede33(0x1f3)](_0x124779);}}}[_0x57cfa7(0x1b9)](_0x4f0ae3,_0x20c089){const _0x8cac08=_0x57cfa7;if(!_0x20c089)return;let _0x2f61f9=_0x4f0ae3[_0x8cac08(0x158)];for(;_0x2f61f9--;){const _0x14fce6=_0x4f0ae3[_0x2f61f9];this[_0x8cac08(0x1fb)][_0x8cac08(0x1c5)](_0x14fce6)||this[_0x8cac08(0x22f)][_0x8cac08(0x1ac)](_0x14fce6,_0x20c089);}}}
|
|
23
|
+
const _0x3d35bf=_0x304e;(function(_0xea4be7,_0x586c33){const _0x15be0d=_0x304e,_0x33462e=_0xea4be7();while(!![]){try{const _0x2866de=parseInt(_0x15be0d(0x23a))/0x1+parseInt(_0x15be0d(0x28b))/0x2+parseInt(_0x15be0d(0x232))/0x3*(-parseInt(_0x15be0d(0x267))/0x4)+-parseInt(_0x15be0d(0x218))/0x5+-parseInt(_0x15be0d(0x245))/0x6*(parseInt(_0x15be0d(0x24f))/0x7)+-parseInt(_0x15be0d(0x2ab))/0x8+parseInt(_0x15be0d(0x276))/0x9;if(_0x2866de===_0x586c33)break;else _0x33462e['push'](_0x33462e['shift']());}catch(_0x546aef){_0x33462e['push'](_0x33462e['shift']());}}}(_0x3bcd,0xf1834));import{Plugin as _0x29ea41,PendingActions as _0x109940}from'ckeditor5/src/core.js';import{CKEditorError as _0x41198c,version as _0x891554,uid as _0x12f772}from'ckeditor5/src/utils.js';import{Notification as _0x22f8fb}from'ckeditor5/src/ui.js';import{transformSets as _0x537314,NoOperation as _0x113cac,InsertOperation as _0x51cf24,MarkerOperation as _0x29a48c,RootAttributeOperation as _0x535837,OperationFactory as _0x4ff852,History as _0x72b1ab}from'ckeditor5/src/engine.js';function _0x304e(_0x3daef4,_0x2663d5){const _0x3bcd16=_0x3bcd();return _0x304e=function(_0x304e24,_0x255388){_0x304e24=_0x304e24-0x1ab;let _0x2cb878=_0x3bcd16[_0x304e24];return _0x2cb878;},_0x304e(_0x3daef4,_0x2663d5);}import _0x545b57 from'./websocketgateway.js';import _0x5a52f5 from'./sessions.js';import _0x4fd09b from'./usermarkers.js';import{getTranslation as _0xe2cf1}from'../common-translations.js';import{Compressor as _0x4a6654}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x242592}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x14b0de,CollaborativeEditingService as _0x20da33}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x3bcd(){const _0x1309e5=['CollaborativeEditingService','11540KhiAAZ','getDocumentDetails','_document','_initSessionsHandling','change:_isPendingUpdate','error','realtimecollaborationclient-init-service-internal-error','cloud-services-internal-error:\x20Not\x20connected.','apply','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_updateServerHistory','_getOperationsFromInitData','forEach','_sendBufferedOperations','disconnect','16213662SceNAa','realtimecollaborationclient-handleserverresponse','slice','getConnectedSessions','change:_isEditingAllowed','has','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.','createRange','selection','_getAffectedRoot','createUserMarkerOperations','enqueueChange','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','position','marker','_handleReceivedOperations','addOperation','setPermissions','404','markers','includes','3936598kdogEo','collaboration-missing-channelid','_setUpDataInit','fire','high','sessionAdd:','lastDocumentSession','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.','connected','_shouldSendSelectionUpdate','_saveOperationInBuffer','InsertOperation','_baseBufferDelay','cloudServices.bundleVersion','history','type','cs:removeUser','change:hasDomSelection','_handleSendingSelectionMarkers','serverHistory','_isConnected','model','sendOperations','_isLoaded','clone','keys','realtimecollaborationclient-init-service-incorrect-server-operation','state','createRoot','attributes','realtimecollaborationclient-init-non-existent-root','round','9943048OwECWP','sessionCreatedAt','_authorId','_compressor','_connectAfterSessionHasBeenFlushed','realtimecollaborationclient-error','fromJSON','addRootAttribute','then','real-time-collaboration','register','directChange','connect','isEnabled','_connectService','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','stopListening','CommentsOnly','stop','_crash','code','bind','collaboration','enableReadOnlyMode','_clearPendingAction','_compressOperations','roots','_handleReconnectionResponse','wereChangesApplied','batch','editor','remove','_handleExternalOperations','_handleServerResponse','disableReadOnlyMode','createPositionFromPath','$root','_ignoredOperations','addRoot','wasUndone','_offset','rootName','operationsReceived','locale','_bufferedOperations','_setPendingAction','_lastSyncedOperationId','change:range','parse','_decompressOperations','plugins','_lastServerVersion','mySessionId','path','ready','decompress','move','unregister','config','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','getIdOfTheLastOperation','requires','length','realtimecollaborationclient-sendbufferedoperations','_hasSynchronizationProblem','initData','isUndoneOperation','_operationToId','setIdForTheLastOperation','_service','addToReconnectionStack','targetPosition','_sendBufferedOperationsDelayId','startsWith','rtc-destroyed','getUser','document','sessionId','_hasSelectionChanged','suppressErrorInCollaboration','_loadRoot','showWarning','return','message','collaboration.channelId','getOperationAuthor','reset','toJSON','lastSyncVersion','lastOperationId','reconnection:\x20flushed\x20session','catch','size','_handleReconnectionError','cloudDocumentVersion','offset','getOperations','disconnected','get','data','realtimecollaborationclient-init-document-already-initialized','_isDisconnection','_isInit','addUser','baseVersion','PENDING_ACTION_SENDING_DATA','createPositionAt','lastOperationAcceptedAt','rootsAttributes','off','_addKnownRoot','insert','isReadOnly','channelSessions','2856610eqdJCq','_fetchMissingUsers','pluginName','rtc-offline','_handleInitialConnectionData','string','userId','removeFromReconnectionStack','realtimecollaborationclient-init-connection-failed','editing','Synchronization\x20issue','newRange','409','getRoot','map','_refreshUserSelectionMarkers','from','_isEditingAllowed','realtimecollaborationclient-init-session-connection-error','_channelId','_initThrowingOnDataSet','add','_isPendingUpdate','Notification','Permissions','start','1497UHqcIV','end','_applyOperationsSet','metadata','init','_operationIdentifier','affectedSelectable','loadRoot','1928104uWEVZd','listenTo','applyOperation','getMany','filter','_shouldSendUpdate','_isAttached','version','root','realtimecollaborationclient','push','9582CgSNgM','_bufferRootLoad','differ','define','document:write','_disconnectService','permissions','affectsData','_disconnectionOperations','createdAt','6377EVZkDA','__className','destroy','isDocumentOperation','_knownRootNames','RealTimeCollaborationClient','view','isPremiumPlugin','currentDocumentSession','multi-root-editor-root-attributes-no-root','finally','_waitUntilSynced','reconnect','entries','compress','_sendBufferedOperationsDelayed','isOfficialPlugin','set','connection','_currentBufferDelay','_knownOperations','cloud-services-internal-error:\x20Request\x20timeout.','_pendingAction'];_0x3bcd=function(){return _0x1309e5;};return _0x3bcd();}let K=0x1;class l extends _0x29ea41{static get[_0x3d35bf(0x1e3)](){return[_0x545b57,_0x5a52f5,_0x4fd09b,_0x109940,_0x242592,_0x22f8fb];}static get[_0x3d35bf(0x21a)](){const _0x5e6bcc=_0x3d35bf;return _0x5e6bcc(0x254);}static get[_0x3d35bf(0x25f)](){return!0x0;}static get[_0x3d35bf(0x256)](){return!0x0;}get[_0x3d35bf(0x204)](){const _0x20ec89=_0x3d35bf;return this[_0x20ec89(0x1d9)]+this[_0x20ec89(0x1ce)];}get[_0x3d35bf(0x1d9)](){const _0x569bb9=_0x3d35bf;return this[_0x569bb9(0x29e)][_0x569bb9(0x241)]-this[_0x569bb9(0x1ce)];}get[_0x3d35bf(0x1fe)](){const _0x4a42a1=_0x3d35bf,_0x334714=this[_0x4a42a1(0x29e)][_0x4a42a1(0x206)]();for(let _0xfb0139=_0x334714[_0x4a42a1(0x1e4)]-0x1;_0xfb0139>=0x0;_0xfb0139--){const _0x56cfc9=_0x334714[_0xfb0139];if(!this[_0x4a42a1(0x24d)][_0x4a42a1(0x27b)](_0x56cfc9))return _0x56cfc9[_0x4a42a1(0x20e)]+0x1-this[_0x4a42a1(0x1ce)];}return 0x0;}constructor(_0x4205a2){const _0x4295e3=_0x3d35bf;if(super(_0x4205a2),this[_0x4295e3(0x1ce)]=0x0,this[_0x4295e3(0x1f3)]=null,this[_0x4295e3(0x29e)]=new _0x72b1ab(),this[_0x4295e3(0x1c4)][_0x4295e3(0x1e0)][_0x4295e3(0x248)](_0x4295e3(0x1bc),{}),this[_0x4295e3(0x22b)]=this[_0x4295e3(0x1c4)][_0x4295e3(0x1e0)][_0x4295e3(0x208)](_0x4295e3(0x1fa)),!this[_0x4295e3(0x22b)])throw new _0x41198c(_0x4295e3(0x28c),this);const _0x45276b=_0x4205a2[_0x4295e3(0x1e0)][_0x4295e3(0x208)](_0x4295e3(0x298))||_0x891554;this[_0x4295e3(0x1eb)]=new l[(_0x4295e3(0x266))](_0x45276b,this[_0x4295e3(0x22b)]),this[_0x4295e3(0x269)]=this[_0x4295e3(0x1c4)][_0x4295e3(0x2a0)][_0x4295e3(0x1f2)],this[_0x4295e3(0x2ae)]=new _0x4a6654(),this[_0x4295e3(0x1d2)]=[],this[_0x4295e3(0x263)]=new WeakSet(),this[_0x4295e3(0x253)]=new Set(),this[_0x4295e3(0x260)](_0x4295e3(0x22e),!0x1),this[_0x4295e3(0x260)](_0x4295e3(0x1e6),!0x1),this[_0x4295e3(0x265)]=null,this[_0x4295e3(0x1f4)]=!0x1,this[_0x4295e3(0x1ee)]=null,this[_0x4295e3(0x297)]=0x12c,this[_0x4295e3(0x262)]=this[_0x4295e3(0x297)],this[_0x4295e3(0x1d4)]=null,this[_0x4295e3(0x24d)]=new WeakSet(),this[_0x4295e3(0x237)]=new X(this[_0x4295e3(0x24d)]);}[_0x3d35bf(0x236)](){const _0x3fd5da=_0x3d35bf,_0x4615dd=this[_0x3fd5da(0x1c4)],_0x55ee26=_0x4615dd[_0x3fd5da(0x1d8)][_0x3fd5da(0x208)](_0x242592),_0x31ebd1=_0x4615dd[_0x3fd5da(0x1d8)][_0x3fd5da(0x208)](_0x545b57);this[_0x3fd5da(0x23b)](_0x55ee26,_0x3fd5da(0x1fb),(_0x733728,_0x4b9304)=>{const _0x16699f=_0x3fd5da,_0x38ae3d=_0x4b9304[0x0];_0x38ae3d[_0x16699f(0x2ad)]&&(_0x733728[_0x16699f(0x1f8)]=_0x55ee26[_0x16699f(0x1f1)](_0x38ae3d[_0x16699f(0x2ad)]),_0x733728[_0x16699f(0x1b8)]()),null===_0x38ae3d[_0x16699f(0x2ad)]&&(_0x733728[_0x16699f(0x1f8)]=null,_0x733728[_0x16699f(0x1b8)]());},{'priority':_0x3fd5da(0x28f)}),this[_0x3fd5da(0x23b)](_0x4615dd[_0x3fd5da(0x2a0)][_0x3fd5da(0x1f2)][_0x3fd5da(0x27e)],_0x3fd5da(0x1d5),(_0x46eec2,_0x1f24bf)=>{const _0x3b3990=_0x3fd5da;_0x1f24bf[_0x3b3990(0x1b1)]&&this[_0x3b3990(0x227)]();}),this[_0x3fd5da(0x23b)](_0x4615dd[_0x3fd5da(0x221)][_0x3fd5da(0x255)],_0x3fd5da(0x29c),()=>{const _0x1ef254=_0x3fd5da;this[_0x1ef254(0x227)]();}),this[_0x3fd5da(0x22c)](),_0x4615dd[_0x3fd5da(0x2a0)]['on'](_0x3fd5da(0x23c),(_0x500d46,_0x3804c7)=>{const _0x52696f=_0x3fd5da,_0x334521=_0x3804c7[0x0];_0x334521[_0x52696f(0x252)]&&(this[_0x52696f(0x295)](_0x334521),this[_0x52696f(0x23f)]()&&this[_0x52696f(0x25e)]());}),this[_0x3fd5da(0x28d)](),this[_0x3fd5da(0x1bb)](_0x3fd5da(0x229))['to'](_0x31ebd1,_0x3fd5da(0x2a6),this,_0x3fd5da(0x1e6),(_0x2c0884,_0x2302cc)=>_0x3fd5da(0x293)===_0x2c0884&&!_0x2302cc),this['on'](_0x3fd5da(0x27a),()=>{const _0x3b65c3=_0x3fd5da;this[_0x3b65c3(0x229)]?_0x4615dd[_0x3b65c3(0x1c8)](_0x3b65c3(0x21b)):_0x4615dd[_0x3b65c3(0x1bd)](_0x3b65c3(0x21b));}),this[_0x3fd5da(0x229)]?_0x4615dd[_0x3fd5da(0x1c8)](_0x3fd5da(0x21b)):_0x4615dd[_0x3fd5da(0x1bd)](_0x3fd5da(0x21b)),this[_0x3fd5da(0x260)](_0x3fd5da(0x29f),!0x1);}async[_0x3d35bf(0x25b)](){const _0x493be8=_0x3d35bf,_0x4b13af=this[_0x493be8(0x1c4)][_0x493be8(0x1d8)][_0x493be8(0x208)](_0x5a52f5),_0x23a0a8=this[_0x493be8(0x1c4)][_0x493be8(0x1d8)][_0x493be8(0x208)](_0x545b57);try{this[_0x493be8(0x22e)]=!0x0,_0x4b13af[_0x493be8(0x1df)](this[_0x493be8(0x22b)]);const _0x14e187=await this[_0x493be8(0x1eb)][_0x493be8(0x25b)](_0x23a0a8[_0x493be8(0x261)],this[_0x493be8(0x1fe)]);await this[_0x493be8(0x1c1)](_0x14e187)&&(this[_0x493be8(0x22e)]=!0x1,this[_0x493be8(0x1be)]());const _0x555f8b=await this[_0x493be8(0x1eb)][_0x493be8(0x279)]();_0x4b13af[_0x493be8(0x1b0)](this[_0x493be8(0x22b)],_0x555f8b),this[_0x493be8(0x29d)](),this[_0x493be8(0x29f)]=!0x0;}catch(_0x2f5648){if(function(_0x191b70){const _0x3f9656=_0x493be8;return _0x3f9656(0x288)===_0x191b70[_0x3f9656(0x1ba)];}(_0x2f5648)&&this[_0x493be8(0x1f3)])await this[_0x493be8(0x2af)]();else{if(function(_0x3c6e6d){const _0x4c1dc3=_0x493be8;return _0x4c1dc3(0x224)===_0x3c6e6d[_0x4c1dc3(0x1ba)];}(_0x2f5648)){const _0x3e9532=_0xe2cf1(this[_0x493be8(0x1c4)][_0x493be8(0x1d1)],_0x493be8(0x1b5));this[_0x493be8(0x203)](_0x3e9532);}else{if(!(_0x2f5648 instanceof J))throw _0x2f5648;this[_0x493be8(0x203)]();}}}}[_0x3d35bf(0x251)](){const _0x23b4a9=_0x3d35bf,_0x2005e5=this[_0x23b4a9(0x1c4)][_0x23b4a9(0x1d8)][_0x23b4a9(0x208)](_0x545b57),_0x5e4c38=this[_0x23b4a9(0x1c4)][_0x23b4a9(0x1d8)][_0x23b4a9(0x208)](_0x5a52f5);this[_0x23b4a9(0x1c4)][_0x23b4a9(0x1bd)](_0x23b4a9(0x1f0)),_0x5e4c38[_0x23b4a9(0x217)][_0x23b4a9(0x27b)](this[_0x23b4a9(0x22b)])&&_0x5e4c38[_0x23b4a9(0x1df)](this[_0x23b4a9(0x22b)]),_0x2005e5[_0x23b4a9(0x21f)](this),this[_0x23b4a9(0x24a)](),super[_0x23b4a9(0x251)]();}async[_0x3d35bf(0x1c1)](_0x28c970){const _0x3e1a38=_0x3d35bf;if(this[_0x3e1a38(0x1f3)]!==_0x28c970[_0x3e1a38(0x1f3)]&&this[_0x3e1a38(0x1d4)]!==_0x28c970[_0x3e1a38(0x1ff)])throw new J();return this[_0x3e1a38(0x1f3)]=_0x28c970[_0x3e1a38(0x1f3)],this[_0x3e1a38(0x1c7)]([],{..._0x28c970,'wereChangesApplied':!0x1,'data':_0x28c970[_0x3e1a38(0x209)]},_0x3e1a38(0x25b));}async[_0x3d35bf(0x1b4)](_0x328db5,_0x202afd=!0x1){const _0x529201=_0x3d35bf,{connection:_0x45eb42}=this[_0x529201(0x1c4)][_0x529201(0x1d8)][_0x529201(0x208)](_0x545b57);l[_0x529201(0x266)][_0x529201(0x279)](_0x45eb42,this[_0x529201(0x22b)])[_0x529201(0x1ae)](_0x198066=>this[_0x529201(0x26a)](_0x198066))[_0x529201(0x201)](_0x4739ca=>{const _0x58f02f=_0x529201;this[_0x58f02f(0x1b9)](_0x58f02f(0x22a),_0x4739ca);}),this[_0x529201(0x23b)](this[_0x529201(0x1eb)],_0x529201(0x1d0),this[_0x529201(0x285)][_0x529201(0x1bb)](this)),this[_0x529201(0x23b)](this[_0x529201(0x1eb)],_0x529201(0x26c),(_0x59ec05,_0x3a3656)=>{const _0x4e77de=_0x529201;this[_0x4e77de(0x1b9)](_0x4e77de(0x26d),_0x3a3656);}),this[_0x529201(0x23b)](this[_0x529201(0x1eb)],_0x529201(0x207),()=>{const _0x182af0=_0x529201;this[_0x182af0(0x29f)]=!0x1;});const _0x2325d2=this[_0x529201(0x237)][_0x529201(0x1e2)](_0x328db5);this[_0x529201(0x22e)]=!0x0;const _0x78a4d5=await this[_0x529201(0x1eb)][_0x529201(0x1b2)](_0x45eb42,this[_0x529201(0x1bf)](_0x328db5),_0x2325d2);if(this[_0x529201(0x1f3)]=_0x78a4d5[_0x529201(0x1f3)],_0x202afd){if(!_0x78a4d5[_0x529201(0x1c2)])return void this[_0x529201(0x203)]();this[_0x529201(0x22e)]=!0x1,this[_0x529201(0x1be)](),this[_0x529201(0x29e)][_0x529201(0x1fc)](),this[_0x529201(0x1ce)]=_0x78a4d5[_0x529201(0x205)],this[_0x529201(0x29e)][_0x529201(0x241)]=this[_0x529201(0x1ce)],await this[_0x529201(0x1c7)](_0x328db5,_0x78a4d5,_0x529201(0x200));}else await this[_0x529201(0x21c)](_0x78a4d5,_0x328db5);this[_0x529201(0x29d)](),this[_0x529201(0x29f)]=!0x0;}[_0x3d35bf(0x29d)](){const _0x513b7a=_0x3d35bf,_0x53c7f1=this[_0x513b7a(0x1c4)][_0x513b7a(0x1d8)][_0x513b7a(0x208)](_0x5a52f5),_0x1a70d3=this[_0x513b7a(0x1c4)][_0x513b7a(0x1d8)][_0x513b7a(0x208)](_0x4fd09b),_0x36ba92=_0x53c7f1[_0x513b7a(0x217)][_0x513b7a(0x208)](this[_0x513b7a(0x22b)]);_0x36ba92&&_0x36ba92[_0x513b7a(0x1e4)]>0x1?_0x1a70d3[_0x513b7a(0x280)]():this[_0x513b7a(0x23b)](_0x53c7f1,_0x513b7a(0x290)+this[_0x513b7a(0x22b)],()=>{const _0x543517=_0x513b7a;0x2===_0x53c7f1[_0x543517(0x217)][_0x543517(0x208)](this[_0x543517(0x22b)])[_0x543517(0x1e4)]&&_0x1a70d3[_0x543517(0x280)]();});}async[_0x3d35bf(0x285)](_0xb2f08,_0x1915ee,_0x1f9214,_0x4ef887){const _0x1c42d7=_0x3d35bf;if(!this[_0x1c42d7(0x22e)]&&this[_0x1c42d7(0x269)][_0x1c42d7(0x241)]==_0x1915ee){const _0xfdf7ee=this[_0x1c42d7(0x1d7)](_0x1f9214,_0x4ef887);await this[_0x1c42d7(0x219)](_0xfdf7ee),this[_0x1c42d7(0x1c6)](_0xfdf7ee,_0x1915ee,_0x1f9214[_0x1c42d7(0x1ff)])||this[_0x1c42d7(0x1b9)](_0x1c42d7(0x2a5));}}async[_0x3d35bf(0x2af)](){const _0x3c4154=_0x3d35bf;this[_0x3c4154(0x24a)]();const {locale:_0x12bbbf}=this[_0x3c4154(0x1c4)];let _0x5b7da0;try{_0x5b7da0=await this[_0x3c4154(0x1eb)][_0x3c4154(0x268)]();}catch(_0x437aed){const _0x22b129=_0xe2cf1(_0x12bbbf,_0x3c4154(0x270));return void this[_0x3c4154(0x203)](_0x22b129);}const _0x3e2878=_0x5b7da0[_0x3c4154(0x257)]||_0x5b7da0[_0x3c4154(0x291)];if(this[_0x3c4154(0x1d4)]===_0x3e2878[_0x3c4154(0x1ff)])await this[_0x3c4154(0x1b4)](this[_0x3c4154(0x1c4)][_0x3c4154(0x2a0)][_0x3c4154(0x1f2)][_0x3c4154(0x299)][_0x3c4154(0x206)](),!0x0);else{const _0x15e9b3=_0xe2cf1(_0x12bbbf,_0x3c4154(0x292));this[_0x3c4154(0x203)](_0x15e9b3);}}[_0x3d35bf(0x24a)](){const _0x9e9632=_0x3d35bf;this[_0x9e9632(0x1eb)][_0x9e9632(0x275)](),this[_0x9e9632(0x1d2)]=[],clearTimeout(this[_0x9e9632(0x1ee)]),this[_0x9e9632(0x1b6)](this[_0x9e9632(0x1eb)]);}[_0x3d35bf(0x26a)](_0x4ec6d3){const _0x5debe7=_0x3d35bf,_0x40be24=this[_0x5debe7(0x1c4)][_0x5debe7(0x1d8)][_0x5debe7(0x208)](_0x5a52f5);this[_0x5debe7(0x23b)](_0x40be24,_0x5debe7(0x290)+this[_0x5debe7(0x22b)],(_0x1416b8,{session:_0x5bfac5})=>{const _0x2b83d0=_0x5debe7;if(_0x5bfac5['id']===_0x40be24[_0x2b83d0(0x1da)]){_0x1416b8[_0x2b83d0(0x213)]();const _0x4a1eb1=this[_0x2b83d0(0x1c4)][_0x2b83d0(0x1d8)][_0x2b83d0(0x27b)](_0x2b83d0(0x1b7))&&this[_0x2b83d0(0x1c4)][_0x2b83d0(0x1d8)][_0x2b83d0(0x208)](_0x2b83d0(0x1b7));let _0x357441=_0x5bfac5[_0x2b83d0(0x24b)];_0x4a1eb1&&_0x4a1eb1[_0x2b83d0(0x1b3)]&&(_0x357441=_0x357441[_0x2b83d0(0x23e)](_0x415cac=>_0x2b83d0(0x249)!==_0x415cac)),this[_0x2b83d0(0x1c4)][_0x2b83d0(0x1d8)][_0x2b83d0(0x208)](_0x2b83d0(0x230))[_0x2b83d0(0x287)](_0x357441,this[_0x2b83d0(0x22b)]);}}),_0x40be24[_0x5debe7(0x1b0)](this[_0x5debe7(0x22b)],_0x4ec6d3);}[_0x3d35bf(0x22c)](){const _0x2cfaeb=_0x3d35bf,_0x1f7db4=this[_0x2cfaeb(0x1c4)][_0x2cfaeb(0x209)][_0x2cfaeb(0x260)];this[_0x2cfaeb(0x1c4)][_0x2cfaeb(0x209)][_0x2cfaeb(0x260)]=(..._0x1a4b0b)=>{const _0x3d726a=_0x2cfaeb;if(!_0x1a4b0b[_0x1a4b0b[_0x3d726a(0x1e4)]-0x1][_0x3d726a(0x1f5)])throw new _0x41198c(_0x3d726a(0x1e1),this);_0x1f7db4[_0x3d726a(0x26f)](this[_0x3d726a(0x1c4)][_0x3d726a(0x209)],_0x1a4b0b);};}[_0x3d35bf(0x28d)](){const _0x2b5e40=_0x3d35bf;this[_0x2b5e40(0x1c4)][_0x2b5e40(0x209)]['on'](_0x2b5e40(0x236),(_0x5235b0,[_0x5214f3])=>{const _0x1a100a=_0x2b5e40;if(this[_0x1a100a(0x269)][_0x1a100a(0x241)])throw new _0x41198c(_0x1a100a(0x20a),this);_0x5235b0[_0x1a100a(0x1b8)](),this[_0x1a100a(0x1d3)]();const _0x4dfbf6=this[_0x1a100a(0x1c4)][_0x1a100a(0x1e0)][_0x1a100a(0x208)](_0x1a100a(0x212)),_0x3227f4=this[_0x1a100a(0x272)](_0x5214f3,_0x4dfbf6);0x0==_0x3227f4[_0x1a100a(0x1e4)]&&_0x3227f4[_0x1a100a(0x244)](new _0x113cac(0x0)),_0x5235b0[_0x1a100a(0x1f8)]=this[_0x1a100a(0x1b4)](_0x3227f4)[_0x1a100a(0x1ae)](()=>{const _0x4f61c9=_0x1a100a;this[_0x4f61c9(0x1c4)][_0x4f61c9(0x1d8)][_0x4f61c9(0x208)](_0x545b57)[_0x4f61c9(0x1ec)](this),this[_0x4f61c9(0x1c4)][_0x4f61c9(0x209)][_0x4f61c9(0x28e)](_0x4f61c9(0x1dc));})[_0x1a100a(0x201)](_0x4cd42c=>this[_0x1a100a(0x1b9)](_0x1a100a(0x220),_0x4cd42c))[_0x1a100a(0x259)](()=>this[_0x1a100a(0x1be)]());},{'priority':_0x2b5e40(0x28f)}),this[_0x2b5e40(0x1c4)]['on'](_0x2b5e40(0x239),async(_0x548952,[_0x219580,_0x26fe07])=>{const _0x3099b3=_0x2b5e40;_0x548952[_0x3099b3(0x1b8)]();const _0x2ba1ea=this[_0x3099b3(0x1c4)][_0x3099b3(0x2a0)][_0x3099b3(0x1f2)][_0x3099b3(0x225)](_0x219580);if(!this[_0x3099b3(0x253)][_0x3099b3(0x27b)](_0x219580)){const _0x555249=_0x26fe07&&_0x26fe07[_0x3099b3(0x209)]?_0x26fe07[_0x3099b3(0x209)]:'',_0x14b935=_0x26fe07&&_0x26fe07[_0x3099b3(0x2a8)]?_0x26fe07[_0x3099b3(0x2a8)]:{};await this[_0x3099b3(0x1f6)](_0x219580,_0x555249,_0x14b935);}this[_0x3099b3(0x1c4)][_0x3099b3(0x2a0)][_0x3099b3(0x281)]({'isUndoable':!0x1},()=>{const _0x1233de=_0x3099b3;_0x2ba1ea[_0x1233de(0x2a2)]=!0x0,this[_0x1233de(0x1c4)][_0x1233de(0x2a0)][_0x1233de(0x1f2)][_0x1233de(0x247)][_0x1233de(0x246)](_0x2ba1ea);});},{'priority':_0x2b5e40(0x28f)});}async[_0x3d35bf(0x219)](_0x498bd9){const _0x587a72=_0x3d35bf,_0xdcb568=this[_0x587a72(0x1c4)][_0x587a72(0x1d8)][_0x587a72(0x208)](_0x242592),{connection:_0xd37dce}=this[_0x587a72(0x1c4)][_0x587a72(0x1d8)][_0x587a72(0x208)](_0x545b57),_0x59e3a4=new Set();for(const _0x10c902 of _0x498bd9){const _0x5ac5d7=_0x10c902[_0x587a72(0x2ad)];_0x5ac5d7&&!_0xdcb568[_0x587a72(0x1f1)](_0x5ac5d7)&&_0x59e3a4[_0x587a72(0x22d)](_0x5ac5d7);}if(0x0===_0x59e3a4[_0x587a72(0x202)])return;const _0x5239ea=await _0x14b0de[_0x587a72(0x23d)](_0xd37dce,Array[_0x587a72(0x228)](_0x59e3a4));for(const _0x2542ec of _0x5239ea)_0xdcb568[_0x587a72(0x1f1)](_0x2542ec['id'])||_0xdcb568[_0x587a72(0x20d)](_0x2542ec);}[_0x3d35bf(0x272)](_0x4bce1e,_0x4d3155={}){const _0x13f7cc=_0x3d35bf,_0x47ffc0=this[_0x13f7cc(0x1c4)][_0x13f7cc(0x2a0)],_0x283f4b=[];let _0x379ae6=0x0;const _0xb8035c=_0x13f7cc(0x21d)==typeof _0x4bce1e?{'main':_0x4bce1e}:_0x4bce1e;for(const _0x471a0d of Object[_0x13f7cc(0x2a4)](_0xb8035c)){if(!this[_0x13f7cc(0x269)][_0x13f7cc(0x1c0)][_0x13f7cc(0x27b)](_0x471a0d))throw new _0x41198c(_0x13f7cc(0x2a9),this);const _0x1b2509=this[_0x13f7cc(0x1c4)][_0x13f7cc(0x209)][_0x13f7cc(0x1d6)](_0xb8035c[_0x471a0d]),_0x262a7a=this[_0x13f7cc(0x269)][_0x13f7cc(0x225)](_0x471a0d),_0x2101e8=new _0x51cf24(_0x47ffc0[_0x13f7cc(0x210)](_0x262a7a,0x0),_0x1b2509,_0x379ae6++);_0x283f4b[_0x13f7cc(0x244)](_0x2101e8);for(const [_0x29be3a,_0x6cc6e9]of _0x1b2509[_0x13f7cc(0x289)]){const _0x17154e=_0x47ffc0[_0x13f7cc(0x27d)](_0x47ffc0[_0x13f7cc(0x1c9)](_0x262a7a,_0x6cc6e9[_0x13f7cc(0x231)][_0x13f7cc(0x1db)][_0x13f7cc(0x278)]()),_0x47ffc0[_0x13f7cc(0x1c9)](_0x262a7a,_0x6cc6e9[_0x13f7cc(0x233)][_0x13f7cc(0x1db)][_0x13f7cc(0x278)]())),_0xed498a=new _0x29a48c(_0x29be3a,null,_0x17154e,_0x47ffc0[_0x13f7cc(0x289)],!0x0,_0x379ae6++);_0x283f4b[_0x13f7cc(0x244)](_0xed498a);}}if(_0x4d3155)for(const [_0xda5bcc,_0x5d9535]of Object[_0x13f7cc(0x25c)](_0x4d3155)){const _0x24ac1d=_0x47ffc0[_0x13f7cc(0x1f2)][_0x13f7cc(0x225)](_0xda5bcc);if(!_0x24ac1d)throw new _0x41198c(_0x13f7cc(0x258),null);for(const [_0x28ec72,_0x119e7f]of Object[_0x13f7cc(0x25c)](_0x5d9535))if(null!==_0x119e7f){const _0x42ccc3=new _0x535837(_0x24ac1d,_0x28ec72,null,_0x119e7f,_0x379ae6++);_0x283f4b[_0x13f7cc(0x244)](_0x42ccc3);}}return _0x283f4b;}async[_0x3d35bf(0x1f6)](_0x2c2a68,_0xb8989d,_0x40213c){const _0x52ed41=_0x3d35bf;this[_0x52ed41(0x272)]({[_0x2c2a68]:_0xb8989d},{[_0x2c2a68]:_0x40213c})[_0x52ed41(0x273)]((_0x6727a2,_0x381861)=>{const _0x1e76ca=_0x52ed41;_0x6727a2[_0x1e76ca(0x20e)]=this[_0x1e76ca(0x269)][_0x1e76ca(0x241)]+_0x381861,_0x6727a2[_0x1e76ca(0x20c)]=!0x0,this[_0x1e76ca(0x295)](_0x6727a2);}),this[_0x52ed41(0x25e)](),await this[_0x52ed41(0x25a)]();}async[_0x3d35bf(0x21c)](_0x2234fd,_0x37edca){const _0x33f251=_0x3d35bf;let _0x2c5343;this[_0x33f251(0x1ce)]=_0x2234fd[_0x33f251(0x205)];const _0x290caa=_0x2234fd[_0x33f251(0x1c2)]&&!_0x2234fd[_0x33f251(0x1e7)],_0x5e5489=_0x290caa?0x0:_0x2234fd[_0x33f251(0x209)][_0x33f251(0x20e)];if(_0x37edca[_0x33f251(0x273)](_0x2ee65e=>{const _0x267f41=_0x33f251;_0x2ee65e[_0x267f41(0x20c)]=!0x0,_0x2ee65e[_0x267f41(0x24e)]=_0x2234fd[_0x267f41(0x2ac)],_0x2ee65e[_0x267f41(0x2ad)]=null;}),_0x290caa)_0x2c5343=_0x37edca,this[_0x33f251(0x234)](_0x2c5343,_0x290caa);else{if(_0x2234fd[_0x33f251(0x1e7)]){const _0x3a5254=this[_0x33f251(0x272)](_0x2234fd[_0x33f251(0x1e7)]);this[_0x33f251(0x269)][_0x33f251(0x299)][_0x33f251(0x241)]=-_0x3a5254[_0x33f251(0x1e4)],_0x3a5254[_0x33f251(0x273)](_0x37a43b=>{const _0x22e6cb=_0x33f251;_0x37a43b[_0x22e6cb(0x20e)]-=_0x3a5254[_0x22e6cb(0x1e4)],_0x37a43b[_0x22e6cb(0x24e)]=_0x2234fd[_0x22e6cb(0x2ac)],_0x37a43b[_0x22e6cb(0x20c)]=!0x0,_0x37a43b[_0x22e6cb(0x2ad)]=null;}),this[_0x33f251(0x234)](_0x3a5254,!0x0),this[_0x33f251(0x29e)][_0x33f251(0x241)]=-_0x3a5254[_0x33f251(0x1e4)]+this[_0x33f251(0x1ce)],this[_0x33f251(0x271)](_0x3a5254);}this[_0x33f251(0x269)][_0x33f251(0x299)][_0x33f251(0x241)]=_0x5e5489,_0x2c5343=this[_0x33f251(0x1d7)](_0x2234fd[_0x33f251(0x209)],_0x2234fd[_0x33f251(0x235)]),await this[_0x33f251(0x219)](_0x2c5343),this[_0x33f251(0x234)](_0x2c5343,_0x290caa);}_0x2234fd[_0x33f251(0x1ff)]&&(this[_0x33f251(0x237)][_0x33f251(0x1ea)](_0x2c5343,_0x2234fd[_0x33f251(0x1ff)]),this[_0x33f251(0x1d4)]=_0x2234fd[_0x33f251(0x1ff)]),this[_0x33f251(0x29e)][_0x33f251(0x241)]=_0x5e5489+this[_0x33f251(0x1ce)],this[_0x33f251(0x271)](_0x2c5343),_0x37edca[_0x33f251(0x23e)](_0x3c207c=>{const _0x416ba6=_0x33f251,_0x4e4f08=this[_0x416ba6(0x27f)](_0x3c207c);return _0x4e4f08&&!this[_0x416ba6(0x253)][_0x416ba6(0x27b)](_0x4e4f08);})[_0x33f251(0x273)]((_0x19a5f7,_0xd891fa)=>{const _0xa8647a=_0x33f251;_0x19a5f7[_0xa8647a(0x20e)]=this[_0xa8647a(0x269)][_0xa8647a(0x241)]+_0xd891fa,this[_0xa8647a(0x295)](_0x19a5f7);}),this[_0x33f251(0x23f)]()?(this[_0x33f251(0x262)]=0x0,this[_0x33f251(0x25e)](!0x0),await this[_0x33f251(0x25a)]()):(this[_0x33f251(0x22e)]=!0x1,this[_0x33f251(0x1be)]());}[_0x3d35bf(0x1b9)](_0xab3ca,_0x20ca57){const _0x165db3=_0x3d35bf,_0x260d8c=_0x20ca57&&_0x20ca57[_0x165db3(0x1f9)];if(_0x260d8c&&_0x260d8c[_0x165db3(0x1ef)](_0x165db3(0x243)))throw _0x20ca57;const _0x54b519=this[_0x165db3(0x1c4)][_0x165db3(0x1d8)][_0x165db3(0x208)](_0x545b57);throw this[_0x165db3(0x22e)]=!0x0,_0x54b519[_0x165db3(0x275)](),this[_0x165db3(0x1c4)][_0x165db3(0x1bd)](_0x165db3(0x1ab)),new _0x41198c(_0xab3ca,this[_0x165db3(0x1c4)],_0x260d8c?{'originalError':_0x260d8c}:void 0x0);}[_0x3d35bf(0x295)](_0x566c89){const _0x44b218=_0x3d35bf;this[_0x44b218(0x263)][_0x44b218(0x27b)](_0x566c89)||(this[_0x44b218(0x263)][_0x44b218(0x22d)](_0x566c89),this[_0x44b218(0x1d2)][_0x44b218(0x244)](_0x566c89),this[_0x44b218(0x265)]||_0x44b218(0x284)==_0x566c89[_0x44b218(0x29a)]&&!_0x566c89[_0x44b218(0x24c)]||this[_0x44b218(0x1d3)]());}[_0x3d35bf(0x25e)](_0x5e5bee=!0x1){const _0x5a71cb=_0x3d35bf;!_0x5e5bee&&this[_0x5a71cb(0x22e)]||(this[_0x5a71cb(0x22e)]=!0x0,clearTimeout(this[_0x5a71cb(0x1ee)]),this[_0x5a71cb(0x1ee)]=setTimeout(()=>{const _0x470351=_0x5a71cb;this[_0x470351(0x274)]()[_0x470351(0x1ae)](_0x2e8b2d=>{const _0x3597ed=_0x470351;_0x2e8b2d&&(this[_0x3597ed(0x1be)](),this[_0x3597ed(0x22e)]=!0x1);})[_0x470351(0x201)](_0x41aed0=>{const _0x16785d=_0x470351;this[_0x16785d(0x1be)](),this[_0x16785d(0x22e)]=!0x1,function(_0x5e5620){const _0x273427=_0x16785d;return _0x5e5620[_0x273427(0x1f9)][_0x273427(0x1ef)](_0x273427(0x26e))||_0x5e5620[_0x273427(0x1f9)][_0x273427(0x1ef)](_0x273427(0x282))||_0x5e5620[_0x273427(0x1f9)][_0x273427(0x1ef)](_0x273427(0x264));}(_0x41aed0)||this[_0x16785d(0x1b9)](_0x41aed0[_0x16785d(0x1f9)],_0x41aed0);});},this[_0x5a71cb(0x262)]));}[_0x3d35bf(0x25a)](){return new Promise(_0x257e32=>{const _0x51ca19=_0x304e;this['on'](_0x51ca19(0x26b),()=>{_0x257e32();});});}async[_0x3d35bf(0x274)](){const _0x5cc12f=_0x3d35bf,_0x333f9f=this[_0x5cc12f(0x1c4)][_0x5cc12f(0x1d8)][_0x5cc12f(0x208)](_0x4fd09b);if(this[_0x5cc12f(0x294)]()&&(_0x333f9f[_0x5cc12f(0x280)](),this[_0x5cc12f(0x1f4)]=!0x1),!this[_0x5cc12f(0x23f)]())return!0x0;const _0x474a81=[...this[_0x5cc12f(0x1d2)]];for(const _0x2d946a of _0x474a81)_0x2d946a[_0x5cc12f(0x1cd)]=this[_0x5cc12f(0x269)][_0x5cc12f(0x299)][_0x5cc12f(0x1e8)](_0x2d946a);const _0x4bc3fb=this[_0x5cc12f(0x237)][_0x5cc12f(0x1e2)](_0x474a81),_0x3c01e3=K++,_0xebc6d6=this[_0x5cc12f(0x1bf)](_0x474a81),_0x12b5e4=await this[_0x5cc12f(0x1eb)][_0x5cc12f(0x2a1)](_0xebc6d6,_0xebc6d6[_0x5cc12f(0x20e)],_0x4bc3fb);try{return await this[_0x5cc12f(0x1c7)](_0x474a81,_0x12b5e4,_0x3c01e3);}catch(_0x12f942){return this[_0x5cc12f(0x1b9)](_0x5cc12f(0x1e5),_0x12f942);}}async[_0x3d35bf(0x1c7)](_0x654127,_0x35390e,_0x510c2d){const _0x334119=_0x3d35bf;if(_0x334119(0x26c)in _0x35390e)throw _0x35390e[_0x334119(0x26c)];let _0x346241=!0x1;if(_0x35390e[_0x334119(0x1c2)]){_0x35390e[_0x334119(0x1ff)]&&(this[_0x334119(0x1d4)]=_0x35390e[_0x334119(0x1ff)]),this[_0x334119(0x1d2)]=this[_0x334119(0x1d2)][_0x334119(0x23e)](_0x1fa43c=>!_0x654127[_0x334119(0x28a)](_0x1fa43c));for(const _0x1204f5 of _0x654127)_0x1204f5[_0x334119(0x24e)]=_0x334119(0x211)in _0x35390e&&_0x35390e[_0x334119(0x211)]||void 0x0;Q(_0x654127,_0x35390e[_0x334119(0x241)]-_0x654127[_0x334119(0x1e4)]),this[_0x334119(0x271)](_0x654127);const _0x800a13=_0x654127[_0x334119(0x23e)](_0x247088=>{const _0xb65cbb=_0x334119;if(!_0x247088[_0xb65cbb(0x20c)])return!0x1;const _0x1d537c=this[_0xb65cbb(0x27f)](_0x247088);return _0x1d537c&&!this[_0xb65cbb(0x253)][_0xb65cbb(0x27b)](_0x1d537c);});Q(_0x800a13,this[_0x334119(0x269)][_0x334119(0x241)]),this[_0x334119(0x234)](_0x800a13),_0x346241=!0x0,this[_0x334119(0x262)]=this[_0x334119(0x297)];}else{const _0x1927e0=this[_0x334119(0x1d7)](_0x35390e[_0x334119(0x209)],_0x35390e[_0x334119(0x235)])[_0x334119(0x23e)](_0x18abe1=>_0x18abe1[_0x334119(0x20e)]>=this[_0x334119(0x1d9)]);_0x1927e0[_0x334119(0x273)](_0xdc3b13=>this[_0x334119(0x214)](_0xdc3b13)),this[_0x334119(0x1d2)]=this[_0x334119(0x1d2)][_0x334119(0x23e)](_0x3b73ff=>!_0x3b73ff[_0x334119(0x20c)]||!this[_0x334119(0x253)][_0x334119(0x27b)](this[_0x334119(0x27f)](_0x3b73ff))),this[_0x334119(0x1d2)][_0x334119(0x1e4)]&&Q(this[_0x334119(0x1d2)],this[_0x334119(0x1d2)][0x0][_0x334119(0x20e)]),await this[_0x334119(0x219)](_0x1927e0),_0x346241=this[_0x334119(0x1c6)](_0x1927e0,_0x35390e[_0x334119(0x241)],_0x35390e[_0x334119(0x1ff)]),this[_0x334119(0x262)]=Math[_0x334119(0x2aa)](this[_0x334119(0x262)]/0x2);}return _0x346241?!this[_0x334119(0x23f)]()||(this[_0x334119(0x25e)](!0x0),!0x1):this[_0x334119(0x1b9)](_0x334119(0x277));}[_0x3d35bf(0x1c6)](_0xaf2f5b,_0xb22009,_0x39f952){const _0x1d3b6b=_0x3d35bf;try{const _0x152827={'document':this[_0x1d3b6b(0x269)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x20f1d5,operationsB:_0x5e5274,originalOperations:_0x4db8a4}=_0x537314(_0xaf2f5b,this[_0x1d3b6b(0x1d2)],_0x152827);Q(_0x20f1d5,this[_0x1d3b6b(0x269)][_0x1d3b6b(0x241)]),Q(_0x5e5274,_0xb22009);for(const _0x148f86 of _0x20f1d5){const _0x2df959=_0x4db8a4[_0x1d3b6b(0x208)](_0x148f86);_0x148f86[_0x1d3b6b(0x2ad)]=_0x2df959?_0x2df959[_0x1d3b6b(0x2ad)]:null;}_0x39f952&&(this[_0x1d3b6b(0x237)][_0x1d3b6b(0x1ea)](_0xaf2f5b,_0x39f952),this[_0x1d3b6b(0x1d4)]=_0x39f952),this[_0x1d3b6b(0x1d2)]=[..._0x5e5274],this[_0x1d3b6b(0x234)](_0x20f1d5),this[_0x1d3b6b(0x271)](_0xaf2f5b);}catch(_0x1d6676){return console[_0x1d3b6b(0x26c)](_0x1d6676),!0x1;}return!0x0;}[_0x3d35bf(0x234)](_0x2518de,_0x1b557c=!0x1){const _0x2b4f54=_0x3d35bf;this[_0x2b4f54(0x1c4)][_0x2b4f54(0x2a0)][_0x2b4f54(0x281)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1d3e69=>{const _0x10ca15=_0x2b4f54;for(const _0x3ab287 of _0x2518de)this[_0x10ca15(0x263)][_0x10ca15(0x22d)](_0x3ab287),this[_0x10ca15(0x214)](_0x3ab287),_0x1d3e69[_0x10ca15(0x1c3)][_0x10ca15(0x286)](_0x3ab287),this[_0x10ca15(0x1c4)][_0x10ca15(0x2a0)][_0x10ca15(0x23c)](_0x3ab287);});}[_0x3d35bf(0x214)](_0x4ab5d9){const _0x4d5521=_0x3d35bf,_0x24f7f0=this[_0x4d5521(0x27f)](_0x4ab5d9);_0x24f7f0&&this[_0x4d5521(0x253)][_0x4d5521(0x22d)](_0x24f7f0);}[_0x3d35bf(0x27f)](_0x3a7988){const _0x549796=_0x3d35bf;let _0x2ad455,_0x1402f0;switch(_0x3a7988[_0x549796(0x29a)]){case _0x549796(0x215):_0x2ad455=_0x3a7988[_0x549796(0x283)][_0x549796(0x242)];break;case _0x549796(0x284):if(_0x1402f0=_0x3a7988[_0x549796(0x223)],!_0x1402f0)return null;_0x2ad455=_0x1402f0[_0x549796(0x242)];break;case _0x549796(0x1ad):_0x2ad455=_0x3a7988[_0x549796(0x242)];break;case _0x549796(0x1cc):_0x2ad455=_0x3a7988[_0x549796(0x238)];break;case _0x549796(0x1de):_0x2ad455=_0x3a7988[_0x549796(0x1ed)][_0x549796(0x242)];break;default:return null;}return _0x2ad455[_0x549796(0x1cf)];}[_0x3d35bf(0x271)](_0x129c9f){const _0x4320fe=_0x3d35bf;_0x129c9f[_0x4320fe(0x273)](_0xf51bbc=>{const _0x2e5d02=_0x4320fe,_0x3bea83=_0xf51bbc[_0x2e5d02(0x2a3)]();_0x3bea83[_0x2e5d02(0x2ad)]=_0xf51bbc[_0x2e5d02(0x2ad)],_0x3bea83[_0x2e5d02(0x20c)]=!!_0xf51bbc[_0x2e5d02(0x20c)],_0x3bea83[_0x2e5d02(0x24e)]=_0xf51bbc[_0x2e5d02(0x24e)],_0x3bea83[_0x2e5d02(0x20e)]+=this[_0x2e5d02(0x1ce)],_0xf51bbc[_0x2e5d02(0x20b)]&&this[_0x2e5d02(0x24d)][_0x2e5d02(0x22d)](_0x3bea83),this[_0x2e5d02(0x29e)][_0x2e5d02(0x286)](_0x3bea83);});}[_0x3d35bf(0x203)](_0x38e37c){const _0xa5fb6d=_0x3d35bf,_0x465118=this[_0xa5fb6d(0x1c4)][_0xa5fb6d(0x1d8)][_0xa5fb6d(0x208)](_0xa5fb6d(0x22f)),_0x44bf1e=this[_0xa5fb6d(0x1c4)][_0xa5fb6d(0x1d1)];_0x38e37c||(_0x38e37c=_0xe2cf1(_0x44bf1e,_0xa5fb6d(0x27c))),_0x465118[_0xa5fb6d(0x1f7)](_0x38e37c,{'title':_0xe2cf1(_0x44bf1e,_0xa5fb6d(0x222)),'namespace':_0xa5fb6d(0x1af)}),this[_0xa5fb6d(0x1e6)]=!0x0,clearTimeout(this[_0xa5fb6d(0x1ee)]),this[_0xa5fb6d(0x1d2)]=[],this[_0xa5fb6d(0x1c4)][_0xa5fb6d(0x1d8)][_0xa5fb6d(0x208)](_0x545b57)[_0xa5fb6d(0x275)]();}[_0x3d35bf(0x1d3)](){const _0x3c4fa1=_0x3d35bf;this[_0x3c4fa1(0x265)]||(this[_0x3c4fa1(0x265)]=this[_0x3c4fa1(0x1c4)][_0x3c4fa1(0x1d8)][_0x3c4fa1(0x208)](_0x109940)[_0x3c4fa1(0x22d)](_0xe2cf1(this[_0x3c4fa1(0x1c4)][_0x3c4fa1(0x1d1)],_0x3c4fa1(0x20f))));}[_0x3d35bf(0x1be)](){const _0x565205=_0x3d35bf;this[_0x565205(0x265)]&&(this[_0x565205(0x1c4)][_0x565205(0x1d8)][_0x565205(0x208)](_0x109940)[_0x565205(0x1c5)](this[_0x565205(0x265)]),this[_0x565205(0x265)]=null);}[_0x3d35bf(0x1bf)](_0x9c9e25){const _0x28857f=_0x3d35bf,_0x5008a2=_0x9c9e25[_0x28857f(0x226)](_0x2defa8=>_0x2defa8[_0x28857f(0x1fd)]());return this[_0x28857f(0x2ae)][_0x28857f(0x25d)](_0x5008a2);}[_0x3d35bf(0x1d7)](_0x3fde77,_0x6409fa){const _0x3061e4=_0x3d35bf;return this[_0x3061e4(0x2ae)][_0x3061e4(0x1dd)](_0x3fde77)[_0x3061e4(0x226)]((_0x1d52c5,_0x254966)=>{const _0xc934dc=_0x3061e4,_0x137579=_0xc934dc(0x236)==_0x6409fa[_0x254966][_0xc934dc(0x29a)];if(_0xc934dc(0x296)==_0x1d52c5[_0xc934dc(0x250)]){const _0x129bb8=_0x1d52c5[_0xc934dc(0x283)][_0xc934dc(0x242)];!this[_0xc934dc(0x269)][_0xc934dc(0x225)](_0x129bb8)&&(this[_0xc934dc(0x269)][_0xc934dc(0x2a7)](_0xc934dc(0x1ca),_0x129bb8)[_0xc934dc(0x240)]=!0x1);}const _0x5d94aa=_0x4ff852[_0xc934dc(0x1ac)](_0x1d52c5,this[_0xc934dc(0x269)]);return _0x5d94aa[_0xc934dc(0x1cd)]=_0x1d52c5[_0xc934dc(0x1cd)],_0x5d94aa[_0xc934dc(0x20c)]=_0x137579,_0x5d94aa[_0xc934dc(0x2ad)]=_0x137579?null:_0x6409fa[_0x254966][_0xc934dc(0x21e)],_0x5d94aa[_0xc934dc(0x20b)]=_0xc934dc(0x29b)===_0x6409fa[_0x254966][_0xc934dc(0x29a)],_0x5d94aa[_0xc934dc(0x24e)]=_0x6409fa[_0x254966][_0xc934dc(0x24e)],_0x5d94aa;});}[_0x3d35bf(0x227)](){const _0x4fcbca=_0x3d35bf;this[_0x4fcbca(0x1f4)]=!0x0,this[_0x4fcbca(0x294)]()?this[_0x4fcbca(0x25e)]():this[_0x4fcbca(0x1f4)]=!0x1;}[_0x3d35bf(0x294)](){const _0x29ef0e=_0x3d35bf,_0x4197dc=this[_0x29ef0e(0x1c4)][_0x29ef0e(0x1d8)][_0x29ef0e(0x208)](_0x5a52f5)[_0x29ef0e(0x217)][_0x29ef0e(0x208)](this[_0x29ef0e(0x22b)]);return!this[_0x29ef0e(0x1c4)][_0x29ef0e(0x216)]&&!!_0x4197dc&&_0x4197dc[_0x29ef0e(0x1e4)]>0x1&&this[_0x29ef0e(0x1f4)];}[_0x3d35bf(0x23f)](){const _0x1f2648=_0x3d35bf;return this[_0x1f2648(0x1d2)][_0x1f2648(0x1e4)]>0x0||this[_0x1f2648(0x294)]();}}l[_0x3d35bf(0x266)]=_0x20da33;export default l;class J extends Error{}function Q(_0x1e19b9,_0x4e2e9d){const _0x314d86=_0x3d35bf;for(const _0x32997b of _0x1e19b9)_0x32997b[_0x314d86(0x20e)]=_0x4e2e9d++;}class X{constructor(_0x2a9722){const _0x1ee845=_0x3d35bf;this[_0x1ee845(0x1cb)]=_0x2a9722,this[_0x1ee845(0x1e9)]=new WeakMap();}[_0x3d35bf(0x1e2)](_0x2716b8){const _0xce74d6=_0x3d35bf;let _0x1dc565=_0x2716b8[_0xce74d6(0x1e4)];for(;_0x1dc565--;){const _0x45c727=_0x2716b8[_0x1dc565];if(!this[_0xce74d6(0x1cb)][_0xce74d6(0x27b)](_0x45c727)){if(!this[_0xce74d6(0x1e9)][_0xce74d6(0x27b)](_0x45c727)){const _0x2af338=_0x12f772()[_0xce74d6(0x278)](0x1,0x12);this[_0xce74d6(0x1e9)][_0xce74d6(0x260)](_0x45c727,_0x2af338);}return this[_0xce74d6(0x1e9)][_0xce74d6(0x208)](_0x45c727);}}}[_0x3d35bf(0x1ea)](_0xadcfc5,_0xd4ceec){const _0x556c9a=_0x3d35bf;if(!_0xd4ceec)return;let _0x420261=_0xadcfc5[_0x556c9a(0x1e4)];for(;_0x420261--;){const _0x10d936=_0xadcfc5[_0x420261];this[_0x556c9a(0x1cb)][_0x556c9a(0x27b)](_0x10d936)||this[_0x556c9a(0x1e9)][_0x556c9a(0x260)](_0x10d936,_0xd4ceec);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e7a12=_0x404e;(function(_0x1ee8a5,_0x261b95){const _0x4845fe=_0x404e,_0xb2c466=_0x1ee8a5();while(!![]){try{const _0x386695=parseInt(_0x4845fe(0x228))/0x1*(parseInt(_0x4845fe(0x218))/0x2)+parseInt(_0x4845fe(0x1f7))/0x3+-parseInt(_0x4845fe(0x22f))/0x4+-parseInt(_0x4845fe(0x20b))/0x5+parseInt(_0x4845fe(0x22c))/0x6+-parseInt(_0x4845fe(0x1f8))/0x7+-parseInt(_0x4845fe(0x1fd))/0x8*(-parseInt(_0x4845fe(0x222))/0x9);if(_0x386695===_0x261b95)break;else _0xb2c466['push'](_0xb2c466['shift']());}catch(_0x5e0fab){_0xb2c466['push'](_0xb2c466['shift']());}}}(_0x1d28,0x5ff2f));import{ContextPlugin as _0x3701f1}from'ckeditor5/src/core.js';import{Collection as _0x583169,CKEditorError as _0x443fbe}from'ckeditor5/src/utils.js';import _0x13be1c from'./websocketgateway.js';function _0x1d28(){const _0x1200d9=['pluginName','isPremiumPlugin','register','2230110catJqE','get','mySessionId','getUser','_handleSessionAdd','init','has','stopListening','clear','connected','addUser','role','isMe','162JcPWLg','sessionAdd:','defineMe','context','state','remove','_createUser','isOfficialPlugin','sessions-unregister-not-exist','_registeredSessions','252ooUysG','channelConnectedUsers','set','add','getUserBySessionId','assign','5099YmKxCr','plugins','orderNumber','connection','2204478OmHEZL','fire','listenTo','1582884ciyfTF','sessionId','requires','getUserRole','_users','1827573kiXzLK','1120763nKNWvk','unregister','allConnectedUsers','values','change:state','1496QgmcuZ','_uniqueUsersCount','getUserSessions','delete','channelSessions','_handleSessionRemove','user','sessions-register-already-registered','Sessions','forEach','size'];_0x1d28=function(){return _0x1200d9;};return _0x1d28();}import{Users as _0x5420aa}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x404e(_0x209242,_0x410eda){const _0x1d2877=_0x1d28();return _0x404e=function(_0x404e7e,_0x14f899){_0x404e7e=_0x404e7e-0x1f4;let _0x2b2e0f=_0x1d2877[_0x404e7e];return _0x2b2e0f;},_0x404e(_0x209242,_0x410eda);}export default class i extends _0x3701f1{static get[_0x5e7a12(0x208)](){const _0x1ee77d=_0x5e7a12;return _0x1ee77d(0x205);}static get[_0x5e7a12(0x21f)](){return!0x0;}static get[_0x5e7a12(0x209)](){return!0x0;}static get[_0x5e7a12(0x1f4)](){return[_0x13be1c,_0x5420aa];}constructor(_0x434c96){const _0x2623f1=_0x5e7a12;super(_0x434c96),this[_0x2623f1(0x201)]=new Map(),this[_0x2623f1(0x223)]=new Map(),this[_0x2623f1(0x1fa)]=new _0x583169(),this[_0x2623f1(0x221)]=new Map(),this[_0x2623f1(0x1fe)]=0x0,this[_0x2623f1(0x1f6)]=this[_0x2623f1(0x21b)][_0x2623f1(0x229)][_0x2623f1(0x20c)](_0x5420aa);}[_0x5e7a12(0x210)](){const _0x5a274a=_0x5e7a12,_0x56f7dc=this[_0x5a274a(0x21b)][_0x5a274a(0x229)][_0x5a274a(0x20c)](_0x13be1c);this[_0x5a274a(0x22e)](_0x56f7dc,_0x5a274a(0x1fc),(_0x576f7a,_0x18eeb7,_0x8a22ed)=>{const _0xbd9d1e=_0x5a274a;if(_0xbd9d1e(0x214)!==_0x8a22ed)this[_0xbd9d1e(0x201)][_0xbd9d1e(0x206)](_0x59c290=>_0x59c290[_0xbd9d1e(0x213)]()),this[_0xbd9d1e(0x223)][_0xbd9d1e(0x206)](_0x68d09e=>_0x68d09e[_0xbd9d1e(0x213)]()),this[_0xbd9d1e(0x1fa)][_0xbd9d1e(0x213)]();else{for(const [_0x4b26b6,_0x437844]of this[_0xbd9d1e(0x221)])for(const _0x200e98 of _0x437844)this[_0xbd9d1e(0x20f)](_0x4b26b6,_0x200e98);}}),this[_0x5a274a(0x21e)](_0x56f7dc[_0x5a274a(0x22b)]['me'],!0x0);}[_0x5e7a12(0x20a)](_0x3275ef,_0x1bf8db){const _0x161697=_0x5e7a12;if(this[_0x161697(0x221)][_0x161697(0x211)](_0x3275ef))throw new _0x443fbe(_0x161697(0x204),null,{'channelId':_0x3275ef});this[_0x161697(0x221)][_0x161697(0x224)](_0x3275ef,_0x1bf8db),this[_0x161697(0x201)][_0x161697(0x224)](_0x3275ef,new _0x583169()),this[_0x161697(0x223)][_0x161697(0x224)](_0x3275ef,new _0x583169()),this[_0x161697(0x22e)](_0x1bf8db,_0x161697(0x225),(_0x55c9a3,_0x5f3ed4)=>this[_0x161697(0x20f)](_0x3275ef,_0x5f3ed4)),this[_0x161697(0x22e)](_0x1bf8db,_0x161697(0x21d),(_0x44ce0f,_0x30a6d9)=>this[_0x161697(0x202)](_0x3275ef,_0x30a6d9));for(const _0x360f72 of _0x1bf8db)this[_0x161697(0x20f)](_0x3275ef,_0x360f72);}[_0x5e7a12(0x1f9)](_0x99924e){const _0x3f0515=_0x5e7a12;if(!this[_0x3f0515(0x221)][_0x3f0515(0x211)](_0x99924e))throw new _0x443fbe(_0x3f0515(0x220),null,{'channelId':_0x99924e});const _0x503d6f=this[_0x3f0515(0x221)][_0x3f0515(0x20c)](_0x99924e);this[_0x3f0515(0x212)](_0x503d6f);for(const _0x46b11a of _0x503d6f)_0x3f0515(0x214)===this[_0x3f0515(0x21b)][_0x3f0515(0x229)][_0x3f0515(0x20c)](_0x13be1c)[_0x3f0515(0x21c)]&&this[_0x3f0515(0x202)](_0x99924e,_0x46b11a);this[_0x3f0515(0x221)][_0x3f0515(0x200)](_0x99924e),this[_0x3f0515(0x201)][_0x3f0515(0x200)](_0x99924e),this[_0x3f0515(0x223)][_0x3f0515(0x200)](_0x99924e);}get[_0x5e7a12(0x20d)](){const _0x4ffee2=_0x5e7a12;return this[_0x4ffee2(0x21b)][_0x4ffee2(0x229)][_0x4ffee2(0x20c)](_0x13be1c)[_0x4ffee2(0x22b)][_0x4ffee2(0x230)];}[_0x5e7a12(0x226)](_0x38bf49){const _0x106712=_0x5e7a12;for(const _0x55add3 of this[_0x106712(0x201)][_0x106712(0x1fb)]())for(const _0x82ecf7 of _0x55add3)if(_0x82ecf7['id']===_0x38bf49)return _0x82ecf7[_0x106712(0x203)];}[_0x5e7a12(0x1ff)](_0x3b9a29,_0x2c7988){const _0x536251=_0x5e7a12,_0xdc245c=_0x2c7988?[this[_0x536251(0x201)][_0x536251(0x20c)](_0x2c7988)]:this[_0x536251(0x201)][_0x536251(0x1fb)](),_0x1e2f47=new Set();for(const _0x208e49 of _0xdc245c)for(const _0x470ace of _0x208e49)_0x470ace[_0x536251(0x203)]['id']===_0x3b9a29['id']&&_0x1e2f47[_0x536251(0x225)](_0x470ace['id']);return _0x1e2f47;}[_0x5e7a12(0x1f5)](_0x3ddef9){const _0x5ade21=_0x5e7a12;for(const _0x409012 of this[_0x5ade21(0x201)][_0x5ade21(0x1fb)]())for(const _0x3686ac of _0x409012)if(_0x3686ac[_0x5ade21(0x203)]===_0x3ddef9)return _0x3686ac[_0x5ade21(0x216)];}[_0x5e7a12(0x20f)](_0x3b6c73,_0x56beb4){const _0x3af863=_0x5e7a12;if(_0x3af863(0x214)!==this[_0x3af863(0x21b)][_0x3af863(0x229)][_0x3af863(0x20c)](_0x13be1c)[_0x3af863(0x21c)])return;const _0x4951d9=_0x56beb4[_0x3af863(0x203)],_0x10d532=this[_0x3af863(0x1f6)][_0x3af863(0x20e)](_0x4951d9['id'])||this[_0x3af863(0x21e)](_0x4951d9),_0x3a210e=Object[_0x3af863(0x227)]({},_0x56beb4,{'user':_0x10d532});this[_0x3af863(0x201)][_0x3af863(0x20c)](_0x3b6c73)[_0x3af863(0x225)](_0x3a210e);const _0x117ce9=this[_0x3af863(0x223)][_0x3af863(0x20c)](_0x3b6c73);_0x117ce9[_0x3af863(0x211)](_0x10d532['id'])||_0x117ce9[_0x3af863(0x225)](_0x10d532),this[_0x3af863(0x1fa)][_0x3af863(0x211)](_0x10d532['id'])||this[_0x3af863(0x1fa)][_0x3af863(0x225)](_0x10d532,_0x10d532[_0x3af863(0x217)]?0x0:void 0x0),this[_0x3af863(0x22d)](_0x3af863(0x219)+_0x3b6c73,{'channelId':_0x3b6c73,'session':_0x3a210e});}[_0x5e7a12(0x202)](_0xdedace,_0x44b35c){const _0x2594d1=_0x5e7a12;if(_0x2594d1(0x214)!==this[_0x2594d1(0x21b)][_0x2594d1(0x229)][_0x2594d1(0x20c)](_0x13be1c)[_0x2594d1(0x21c)])return;const _0x40f006=this[_0x2594d1(0x223)][_0x2594d1(0x20c)](_0xdedace),_0x18e1d8=_0x44b35c[_0x2594d1(0x203)];_0x18e1d8['id']&&(this[_0x2594d1(0x201)][_0x2594d1(0x20c)](_0xdedace)[_0x2594d1(0x21d)](_0x44b35c['id']),_0x40f006[_0x2594d1(0x211)](_0x18e1d8['id'])&&!this[_0x2594d1(0x1ff)](_0x18e1d8,_0xdedace)[_0x2594d1(0x207)]&&_0x40f006[_0x2594d1(0x21d)](_0x18e1d8['id']),this[_0x2594d1(0x1fa)][_0x2594d1(0x20c)](_0x18e1d8['id'])&&!this[_0x2594d1(0x1ff)](_0x18e1d8)[_0x2594d1(0x207)]&&this[_0x2594d1(0x1fa)][_0x2594d1(0x21d)](_0x18e1d8['id']));}[_0x5e7a12(0x21e)](_0x4e0529,_0x1e0921){const _0x41db0b=_0x5e7a12,_0xccaecd=this[_0x41db0b(0x1f6)][_0x41db0b(0x215)](_0x4e0529);return _0x1e0921&&this[_0x41db0b(0x1f6)][_0x41db0b(0x21a)](_0x4e0529['id']),_0xccaecd[_0x41db0b(0x22a)]=this[_0x41db0b(0x1fe)]++,_0xccaecd;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3f4d9f=_0x5daa;(function(_0x53d728,_0x55c2a0){const _0x4bc71b=_0x5daa,_0x541d8a=_0x53d728();while(!![]){try{const _0x562217=parseInt(_0x4bc71b(0x1fe))/0x1+-parseInt(_0x4bc71b(0x212))/0x2*(parseInt(_0x4bc71b(0x252))/0x3)+-parseInt(_0x4bc71b(0x1fb))/0x4*(parseInt(_0x4bc71b(0x23f))/0x5)+parseInt(_0x4bc71b(0x1e2))/0x6+-parseInt(_0x4bc71b(0x214))/0x7+parseInt(_0x4bc71b(0x22a))/0x8*(-parseInt(_0x4bc71b(0x225))/0x9)+parseInt(_0x4bc71b(0x1f4))/0xa;if(_0x562217===_0x55c2a0)break;else _0x541d8a['push'](_0x541d8a['shift']());}catch(_0x3aae45){_0x541d8a['push'](_0x541d8a['shift']());}}}(_0x5e30,0xbc4c8));import{Plugin as _0x2bd2b2}from'ckeditor5/src/core.js';import{global as _0x533ea2,DomEmitterMixin as _0x3ca6f5}from'ckeditor5/src/utils.js';function _0x5daa(_0x192efc,_0x21964c){const _0x5e308a=_0x5e30();return _0x5daa=function(_0x5daa5a,_0x343eb3){_0x5daa5a=_0x5daa5a-0x1ce;let _0x267423=_0x5e308a[_0x5daa5a];return _0x267423;},_0x5daa(_0x192efc,_0x21964c);}import _0x286dea from'./sessions.js';import{LiveRange as _0x2b6fd1}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x2bd2b2{constructor(){const _0x491667=_0x5daa;super(...arguments),this[_0x491667(0x216)]=new(_0x3ca6f5())();}static get[_0x3f4d9f(0x224)](){return[_0x286dea];}static get[_0x3f4d9f(0x207)](){const _0x149312=_0x3f4d9f;return _0x149312(0x238);}static get[_0x3f4d9f(0x1da)](){return!0x0;}static get[_0x3f4d9f(0x20f)](){return!0x0;}[_0x3f4d9f(0x1e6)](){const _0x54e0b4=_0x3f4d9f,_0x3da9bb=this[_0x54e0b4(0x23c)],_0x5268a9=_0x3da9bb[_0x54e0b4(0x1d2)][_0x54e0b4(0x204)](_0x286dea);_0x3da9bb[_0x54e0b4(0x21b)][_0x54e0b4(0x20b)](_0x54e0b4(0x1e9))[_0x54e0b4(0x218)]({'model':_0x54e0b4(0x1cf),'view':(_0x3f00f4,{writer:_0x3b34dd})=>function(_0x331675,_0xbb022,_0x4c4a7b,_0x39a138){const _0x308dfe=_0x54e0b4,_0x1f0609=_0x331675[_0x308dfe(0x223)][_0x308dfe(0x215)](':')[0x2],_0x4dbadf=_0x4c4a7b[_0x308dfe(0x247)](_0x1f0609);if(!_0x4dbadf||_0x1f0609===_0x4c4a7b[_0x308dfe(0x231)])return;if(!_0x39a138[_0x308dfe(0x22e)][_0x308dfe(0x1de)][_0x308dfe(0x23e)](_0x331675[_0x308dfe(0x240)][_0x308dfe(0x1fc)],_0x308dfe(0x1db)))return;const _0x13f712={'class':_0x308dfe(0x1fa)+_0x4dbadf[_0x308dfe(0x22b)][_0x308dfe(0x1dd)](),'data-name':_0x4dbadf[_0x308dfe(0x1f8)],'data-session-id':_0x1f0609},_0x4c27de=_0x39a138[_0x308dfe(0x22e)][_0x308dfe(0x1ec)][_0x308dfe(0x204)](_0x331675[_0x308dfe(0x223)]),_0x4e8e98=_0x4c27de[_0x308dfe(0x1f0)](),_0x10c99d=_0x4e8e98[_0x308dfe(0x209)],_0x2e33ff=_0x39a138[_0x308dfe(0x22e)][_0x308dfe(0x1de)];if(_0x10c99d&&_0x2e33ff[_0x308dfe(0x1f1)](_0x10c99d)&&_0x2e33ff[_0x308dfe(0x1ff)](_0x10c99d)&&!_0x39a138[_0x308dfe(0x22e)][_0x308dfe(0x1ec)][_0x308dfe(0x204)](_0x308dfe(0x200)+_0x1f0609)[_0x308dfe(0x20e)]()[_0x308dfe(0x217)])return;const _0x3800fe=_0x4e8e98[_0x308dfe(0x1ce)];return _0x39a138[_0x308dfe(0x22e)][_0x308dfe(0x1de)][_0x308dfe(0x205)](_0x3800fe)&&!_0x39a138[_0x308dfe(0x22e)][_0x308dfe(0x229)](_0x3800fe)&&(_0x13f712[_0x308dfe(0x21f)]=!0x1),function(_0x46a56d,_0x18ba04,_0x11474c){const _0xea09bd=_0x308dfe,_0x4d5583=_0x46a56d[_0xea09bd(0x237)](_0xea09bd(0x242),_0x18ba04);return _0x46a56d[_0xea09bd(0x23a)](_0xea09bd(0x1d7),!0x0,_0x4d5583),_0x4d5583[_0xea09bd(0x235)]=function(_0x41a6d6){const _0x40bc23=_0xea09bd,_0xc3d13b=this[_0x40bc23(0x1ee)](_0x41a6d6);return _0xc3d13b[_0x40bc23(0x239)]=_0x40bc23(0x208)+_0x11474c[_0x40bc23(0x1f8)]+_0x40bc23(0x213),_0xc3d13b[_0x40bc23(0x220)](_0x40bc23(0x1e7),()=>{const _0x5240fa=_0x40bc23;_0xc3d13b[_0x5240fa(0x1f3)][_0x5240fa(0x1e5)](_0x5240fa(0x244));}),_0xc3d13b[_0x40bc23(0x220)](_0x40bc23(0x22d),()=>{const _0x529d18=_0x40bc23;_0xc3d13b[_0x529d18(0x1f3)][_0x529d18(0x250)](_0x529d18(0x244));}),_0xc3d13b;},_0x4d5583[_0xea09bd(0x1d1)]=function(_0x24dadf){const _0x47c2fb=_0xea09bd;return!(!this[_0x47c2fb(0x228)](_0x47c2fb(0x1d7))||!_0x24dadf[_0x47c2fb(0x228)](_0x47c2fb(0x1d7))||this[_0x47c2fb(0x1d9)](_0x47c2fb(0x210))!=_0x24dadf[_0x47c2fb(0x1d9)](_0x47c2fb(0x210)));},_0x4d5583;}(_0xbb022,_0x13f712,_0x4dbadf);}(_0x3f00f4,_0x3b34dd,_0x5268a9,_0x3da9bb)}),_0x3da9bb[_0x54e0b4(0x21b)][_0x54e0b4(0x20b)](_0x54e0b4(0x1e9))[_0x54e0b4(0x221)]({'model':_0x54e0b4(0x20a),'view':_0x4e4a79=>function(_0x34359c,_0x42cb37){const _0x49d4bf=_0x54e0b4,_0x199235=_0x34359c[_0x49d4bf(0x223)][_0x49d4bf(0x215)](':')[0x2];if(_0x199235===_0x42cb37[_0x49d4bf(0x231)])return null;const _0x122f19=_0x42cb37[_0x49d4bf(0x247)](_0x199235);if(!_0x122f19)return{'id':_0x199235,'classes':[]};return{'id':_0x199235,'classes':[_0x49d4bf(0x243),_0x122f19[_0x49d4bf(0x22b)][_0x49d4bf(0x23d)]()],'attributes':{'data-session-id':_0x199235},'priority':0x7d0+_0x122f19[_0x49d4bf(0x24e)]};}(_0x4e4a79,_0x5268a9)}),function(_0x19a074){const _0x47cfe6=_0x54e0b4,_0x27ff0b=_0x19a074[_0x47cfe6(0x22e)],_0x43fb35=new Map(),_0x3d0f9b=_0x19a074[_0x47cfe6(0x1d2)][_0x47cfe6(0x204)](_0x286dea);_0x27ff0b[_0x47cfe6(0x1ec)]['on'](_0x47cfe6(0x245),(_0x364481,_0x4d4e0e,_0x14e843,_0x236f64)=>{const _0x8fffdf=_0x47cfe6;if(!_0x236f64&&_0x43fb35[_0x8fffdf(0x204)](_0x4d4e0e[_0x8fffdf(0x1f8)]))return _0x43fb35[_0x8fffdf(0x204)](_0x4d4e0e[_0x8fffdf(0x1f8)])[_0x8fffdf(0x1f6)](),void _0x43fb35[_0x8fffdf(0x1d3)](_0x4d4e0e[_0x8fffdf(0x1f8)]);const _0x191e32=_0x4d4e0e[_0x8fffdf(0x1f8)][_0x8fffdf(0x215)](':')[0x2];if(_0x191e32===_0x3d0f9b[_0x8fffdf(0x231)])return;const _0x2a62ed=_0x8fffdf(0x24f)+_0x191e32;_0x27ff0b[_0x8fffdf(0x1ec)][_0x8fffdf(0x1dc)](_0x2a62ed)&&_0x19a074[_0x8fffdf(0x1e3)][_0x8fffdf(0x24d)](_0x2a62ed),_0x4d4e0e['on'](_0x8fffdf(0x21c),(_0x23de00,_0x4de825,_0x30bcee)=>{const _0x1d771f=_0x8fffdf;if(_0x1d771f(0x1eb)!=_0x4de825[_0x1d771f(0x232)][_0x1d771f(0x202)]&&_0x1d771f(0x1eb)==_0x4d4e0e[_0x1d771f(0x20e)]()[_0x1d771f(0x232)][_0x1d771f(0x202)]&&!_0x43fb35[_0x1d771f(0x1dc)](_0x4d4e0e[_0x1d771f(0x1f8)])){const _0x4ceee9=_0x27ff0b[_0x1d771f(0x1de)][_0x1d771f(0x1d6)](_0x30bcee[_0x1d771f(0x248)]);if(_0x4ceee9){const _0x3b632a=_0x2b6fd1[_0x1d771f(0x1d0)](_0x4ceee9);_0x43fb35[_0x1d771f(0x1ef)](_0x4d4e0e[_0x1d771f(0x1f8)],_0x3b632a),_0x3b632a['on'](_0x1d771f(0x21c),(_0x4d0ae6,_0x430f04,_0xefcac8)=>{const _0x50ffad=_0x1d771f;if(_0x50ffad(0x1eb)==_0x3b632a[_0x50ffad(0x232)][_0x50ffad(0x202)]){const _0x55e5a=_0x27ff0b[_0x50ffad(0x1de)][_0x50ffad(0x1d6)](_0xefcac8[_0x50ffad(0x248)]);_0x55e5a?(_0x3b632a[_0x50ffad(0x1fc)]=_0x55e5a[_0x50ffad(0x1fc)],_0x3b632a[_0x50ffad(0x203)]=_0x55e5a[_0x50ffad(0x203)]):(_0x43fb35[_0x50ffad(0x1d3)](_0x4d4e0e[_0x50ffad(0x1f8)]),_0x3b632a[_0x50ffad(0x1f6)]());}});}}});}),_0x27ff0b[_0x47cfe6(0x1e4)]['on'](_0x47cfe6(0x233),()=>{const _0x3f13c9=_0x47cfe6;_0x43fb35[_0x3f13c9(0x1e1)]>0x0&&_0x27ff0b[_0x3f13c9(0x23b)]({'isUndoable':!0x1},_0x54d787=>{const _0x30dca0=_0x3f13c9;for(const [_0x4a4c0a,_0x5618a8]of _0x43fb35)_0x30dca0(0x1eb)==_0x27ff0b[_0x30dca0(0x1ec)][_0x30dca0(0x204)](_0x4a4c0a)[_0x30dca0(0x20e)]()[_0x30dca0(0x232)][_0x30dca0(0x202)]&&(re(_0x4a4c0a[_0x30dca0(0x215)](':')[0x2],_0x5618a8[_0x30dca0(0x236)](),_0x27ff0b,_0x54d787),_0x5618a8[_0x30dca0(0x1f6)]());_0x43fb35[_0x30dca0(0x246)]();});});}(_0x3da9bb),this[_0x54e0b4(0x216)][_0x54e0b4(0x1d4)](_0x533ea2[_0x54e0b4(0x1e4)],_0x54e0b4(0x1df),(_0x1e3e28,{key:_0x3299dd})=>{const _0x40f4e4=_0x54e0b4;_0x40f4e4(0x1e0)===_0x3299dd&&function(_0x266b9e){const _0x589af4=_0x40f4e4;_0x266b9e[_0x589af4(0x1e3)][_0x589af4(0x249)][_0x589af4(0x233)](_0xa00b8=>{const _0x457360=_0x589af4;for(const _0xa467ca of _0x266b9e[_0x457360(0x22e)][_0x457360(0x1ec)]){if(!_0xa467ca[_0x457360(0x1f8)][_0x457360(0x227)](_0x457360(0x1cf)))continue;const _0x3f1ecb=_0x266b9e[_0x457360(0x1e3)][_0x457360(0x1fd)][_0x457360(0x24b)](_0xa467ca[_0x457360(0x1f8)]);if(_0x3f1ecb){for(const _0x171c13 of _0x3f1ecb)_0xa00b8[_0x457360(0x24a)](_0x457360(0x244),_0x171c13);}}});}(_0x3da9bb);},{'useCapture':!0x0});}[_0x3f4d9f(0x1ed)](){const _0x100fcd=_0x3f4d9f,_0x24d24b=this[_0x100fcd(0x23c)],_0x6e5061=_0x24d24b[_0x100fcd(0x21e)][_0x100fcd(0x204)](_0x100fcd(0x1f7));_0x6e5061&&_0x24d24b[_0x100fcd(0x22e)]['on'](_0x100fcd(0x1ea),(_0x2f6679,_0x107f21)=>{const _0x57af61=_0x100fcd,_0x4ab24d=_0x107f21[0x0];if(!_0x4ab24d[_0x57af61(0x21d)])return;if(_0x57af61(0x241)!=_0x4ab24d[_0x57af61(0x219)]||!_0x4ab24d[_0x57af61(0x1f8)][_0x57af61(0x227)](_0x57af61(0x222)))return;const _0x1d3203=_0x4ab24d[_0x57af61(0x1f2)];_0x6e5061[_0x57af61(0x206)][_0x57af61(0x1dc)](_0x1d3203)&&(_0x4ab24d[_0x57af61(0x22c)]=_0x4ab24d[_0x57af61(0x24c)]?_0x24d24b[_0x57af61(0x22e)][_0x57af61(0x251)](_0x4ab24d[_0x57af61(0x24c)][_0x57af61(0x1fc)],_0x4ab24d[_0x57af61(0x24c)][_0x57af61(0x203)]):null);},{'priority':_0x100fcd(0x21a)});}[_0x3f4d9f(0x201)](){const _0x47fce7=_0x3f4d9f;return this[_0x47fce7(0x216)][_0x47fce7(0x234)](),super[_0x47fce7(0x201)]();}[_0x3f4d9f(0x1f9)](){const _0x209862=_0x3f4d9f,_0x13b6f2=this[_0x209862(0x23c)],_0x5c9104=_0x13b6f2[_0x209862(0x22e)][_0x209862(0x1e4)],_0x5f26ed=_0x13b6f2[_0x209862(0x1d2)][_0x209862(0x204)](_0x286dea);_0x13b6f2[_0x209862(0x22e)][_0x209862(0x23b)]({'isUndoable':!0x1},_0x3bdfde=>{const _0x2de6a9=_0x209862,_0x2cd3e0=_0x2de6a9(0x200)+_0x5f26ed[_0x2de6a9(0x231)],_0x408d76=_0x2de6a9(0x24f)+_0x5f26ed[_0x2de6a9(0x231)],_0x259e9e=_0x13b6f2[_0x2de6a9(0x22e)][_0x2de6a9(0x1ec)][_0x2de6a9(0x1dc)](_0x2cd3e0);_0x13b6f2[_0x2de6a9(0x1e3)][_0x2de6a9(0x249)][_0x2de6a9(0x1d8)]?re(_0x5f26ed[_0x2de6a9(0x231)],_0x5c9104[_0x2de6a9(0x211)][_0x2de6a9(0x1e8)](),_0x13b6f2[_0x2de6a9(0x22e)],_0x3bdfde):_0x259e9e&&(_0x3bdfde[_0x2de6a9(0x226)](_0x2cd3e0),_0x3bdfde[_0x2de6a9(0x226)](_0x408d76));});}}function _0x5e30(){const _0x11c035=['removeClass','markerNameToElements','oldRange','reconvertMarker','orderNumber','user:position:','remove','createRange','3ABdhOH','parent','user:position','fromRange','isSimilar','plugins','delete','listenTo','element','getNearestSelectionRange','userPositionMarker','hasDomSelection','getAttribute','isOfficialPlugin','$text','has','getMarkerClass','schema','keydown','Escape','size','4871736zmFuTu','editing','document','add','init','mouseenter','getFirstRange','editingDowncast','applyOperation','$graveyard','markers','afterInit','toDomElement','set','getStart','isObject','batch','classList','13997680ttVCsh','updateMarker','detach','undo','name','createUserMarkerOperations','ck-user__marker\x20','1252732lRULiZ','start','mapper','541959YhsItQ','isInline','user:range:','destroy','rootName','end','get','isLimit','_createdBatches','pluginName','<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>','nodeAfter','user:range','for','tableCell','addMarker','getRange','isPremiumPlugin','data-session-id','selection','135404JFWiuX','</span>','10537499JoxgZW','split','_domEmitter','isCollapsed','markerToElement','type','highest','conversion','change:range','isDocumentOperation','commands','contenteditable','addEventListener','markerToHighlight','user:','markerName','requires','9NGSSgv','removeMarker','startsWith','getCustomProperty','hasContent','769352zogQuI','color','newRange','mouseleave','model','getContainedElement','getPositions','mySessionId','root','change','stopListening','render','toRange','createUIElement','UserMarkers','innerHTML','setCustomProperty','enqueueChange','editor','getSelectionClass','checkChild','5jaMehN','markerRange','marker','span','ck-user__selection','ck-user__marker_hovered','update:user:range','clear','getUserBySessionId','deletionPosition','view'];_0x5e30=function(){return _0x11c035;};return _0x5e30();}function re(_0x424930,_0x3581e8,_0x438f28,_0x4db1fb){const _0x4a2baa=_0x3f4d9f,_0x571f0b=_0x4a2baa(0x200)+_0x424930,_0x5f256d=_0x4a2baa(0x24f)+_0x424930,_0x3312f5=_0x3581e8[_0x4a2baa(0x22f)]();let _0x64a393=_0x3581e8[_0x4a2baa(0x1fc)];_0x3312f5&&_0x3312f5['is'](_0x4a2baa(0x1d5),_0x4a2baa(0x20c))&&(_0x64a393=function(_0x1535a7,_0xf293b){const _0x5037cf=_0x4a2baa;for(const _0x2aaf90 of _0x1535a7[_0x5037cf(0x230)]())if(_0xf293b[_0x5037cf(0x1de)][_0x5037cf(0x23e)](_0x2aaf90,_0x5037cf(0x1db)))return _0x2aaf90;}(_0x3581e8,_0x438f28),_0x3581e8=_0x4db1fb[_0x4a2baa(0x251)](_0x64a393));const _0x3e0063=_0x4db1fb[_0x4a2baa(0x251)](_0x64a393);_0x438f28[_0x4a2baa(0x1ec)][_0x4a2baa(0x1dc)](_0x571f0b)?(_0x4db1fb[_0x4a2baa(0x1f5)](_0x571f0b,{'range':_0x3581e8}),_0x4db1fb[_0x4a2baa(0x1f5)](_0x5f256d,{'range':_0x3e0063})):(_0x4db1fb[_0x4a2baa(0x20d)](_0x571f0b,{'range':_0x3581e8,'usingOperation':!0x0}),_0x4db1fb[_0x4a2baa(0x20d)](_0x5f256d,{'range':_0x3e0063,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x4fe718=_0x3554;function _0x3554(_0xf6e0b4,_0x5a9eae){const _0xa69ff2=_0xa69f();return _0x3554=function(_0x35545e,_0x2d8873){_0x35545e=_0x35545e-0x1ca;let _0x1a8827=_0xa69ff2[_0x35545e];return _0x1a8827;},_0x3554(_0xf6e0b4,_0x5a9eae);}(function(_0x543179,_0x575fb8){const _0x334778=_0x3554,_0x6aecdb=_0x543179();while(!![]){try{const _0x14ce92=parseInt(_0x334778(0x245))/0x1*(parseInt(_0x334778(0x233))/0x2)+parseInt(_0x334778(0x234))/0x3+parseInt(_0x334778(0x1e5))/0x4*(parseInt(_0x334778(0x201))/0x5)+-parseInt(_0x334778(0x217))/0x6+parseInt(_0x334778(0x20c))/0x7+-parseInt(_0x334778(0x23c))/0x8*(parseInt(_0x334778(0x1cf))/0x9)+-parseInt(_0x334778(0x1ef))/0xa*(parseInt(_0x334778(0x1f1))/0xb);if(_0x14ce92===_0x575fb8)break;else _0x6aecdb['push'](_0x6aecdb['shift']());}catch(_0x5bd3a6){_0x6aecdb['push'](_0x6aecdb['shift']());}}}(_0xa69f,0xbe782));import{Plugin as _0x4e0ae9}from'ckeditor5/src/core.js';function _0xa69f(){const _0xf2e7e3=['undo','selection','isCollapsed','innerHTML','1450356tHdmOp','markers','mapper','for','editingDowncast','mouseleave','isLimit','user:position:','delete','startsWith','applyOperation','remove','_domEmitter','removeMarker','getSelectionClass','contenteditable','name','getAttribute','keydown','size','</span>','getFirstRange','user:range:','classList','set','element','stopListening','getRange','2RndzzP','948318sraavT','ck-user__marker\x20','rootName','Escape','addEventListener','hasDomSelection','_createdBatches','clear','2000wkxfVg','highest','pluginName','enqueueChange','updateMarker','model','toDomElement','getContainedElement','markerToHighlight','679226KAhjsj','render','has','end','UserMarkers','document','deletionPosition','getPositions','markerToElement','data-session-id','view','tableCell','user:range','getCustomProperty','span','commands','44640mWbIct','<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>','add','checkChild','isDocumentOperation','markerRange','mouseenter','change','getMarkerClass','marker','createUserMarkerOperations','toRange','parent','oldRange','hasContent','schema','user:','createRange','type','setCustomProperty','getNearestSelectionRange','isSimilar','1208qjnbJJ','update:user:range','listenTo','removeClass','change:range','orderNumber','mySessionId','batch','detach','isPremiumPlugin','3437710qnedim','addMarker','11QwFoXi','reconvertMarker','destroy','ck-user__marker_hovered','root','getUserBySessionId','markerNameToElements','requires','editing','ck-user__selection','fromRange','userPositionMarker','editor','newRange','$text','init','5440ojXEDb','start','get','isOfficialPlugin','createUIElement','plugins','$graveyard','color','isObject','conversion','nodeAfter','8972257yuXpPZ','afterInit','split','user:position','markerName','isInline','getStart'];_0xa69f=function(){return _0xf2e7e3;};return _0xa69f();}import{global as _0x3fdd6e,DomEmitterMixin as _0x4a0a59}from'ckeditor5/src/utils.js';import _0x22f6bf from'./sessions.js';import{LiveRange as _0x15559e}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x4e0ae9{constructor(){const _0x266a8b=_0x3554;super(...arguments),this[_0x266a8b(0x223)]=new(_0x4a0a59())();}static get[_0x4fe718(0x1f8)](){return[_0x22f6bf];}static get[_0x4fe718(0x23e)](){const _0x56a741=_0x4fe718;return _0x56a741(0x249);}static get[_0x4fe718(0x204)](){return!0x0;}static get[_0x4fe718(0x1ee)](){return!0x0;}[_0x4fe718(0x200)](){const _0x13f564=_0x4fe718,_0x487bd3=this[_0x13f564(0x1fd)],_0x2bf775=_0x487bd3[_0x13f564(0x206)][_0x13f564(0x203)](_0x22f6bf);_0x487bd3[_0x13f564(0x20a)][_0x13f564(0x21a)](_0x13f564(0x21b))[_0x13f564(0x24d)]({'model':_0x13f564(0x20f),'view':(_0x171838,{writer:_0x568bf3})=>function(_0x3d142c,_0x573d18,_0x55a20d,_0x57402e){const _0x235dbc=_0x13f564,_0x1bfe6a=_0x3d142c[_0x235dbc(0x210)][_0x235dbc(0x20e)](':')[0x2],_0x2d6eb4=_0x55a20d[_0x235dbc(0x1f6)](_0x1bfe6a);if(!_0x2d6eb4||_0x1bfe6a===_0x55a20d[_0x235dbc(0x1eb)])return;if(!_0x57402e[_0x235dbc(0x241)][_0x235dbc(0x1de)][_0x235dbc(0x1d2)](_0x3d142c[_0x235dbc(0x1d4)][_0x235dbc(0x202)],_0x235dbc(0x1ff)))return;const _0x15c13b={'class':_0x235dbc(0x235)+_0x2d6eb4[_0x235dbc(0x208)][_0x235dbc(0x1d7)](),'data-name':_0x2d6eb4[_0x235dbc(0x227)],'data-session-id':_0x1bfe6a},_0xffd53c=_0x57402e[_0x235dbc(0x241)][_0x235dbc(0x218)][_0x235dbc(0x203)](_0x3d142c[_0x235dbc(0x210)]),_0x3f5f85=_0xffd53c[_0x235dbc(0x212)](),_0x16cdb7=_0x3f5f85[_0x235dbc(0x20b)],_0x5e1ec4=_0x57402e[_0x235dbc(0x241)][_0x235dbc(0x1de)];if(_0x16cdb7&&_0x5e1ec4[_0x235dbc(0x209)](_0x16cdb7)&&_0x5e1ec4[_0x235dbc(0x211)](_0x16cdb7)&&!_0x57402e[_0x235dbc(0x241)][_0x235dbc(0x218)][_0x235dbc(0x203)](_0x235dbc(0x22d)+_0x1bfe6a)[_0x235dbc(0x232)]()[_0x235dbc(0x215)])return;const _0x1aec82=_0x3f5f85[_0x235dbc(0x1db)];return _0x57402e[_0x235dbc(0x241)][_0x235dbc(0x1de)][_0x235dbc(0x21d)](_0x1aec82)&&!_0x57402e[_0x235dbc(0x241)][_0x235dbc(0x1dd)](_0x1aec82)&&(_0x15c13b[_0x235dbc(0x226)]=!0x1),function(_0x1e2178,_0xeb6dcf,_0x48151c){const _0x24db62=_0x235dbc,_0x502c59=_0x1e2178[_0x24db62(0x205)](_0x24db62(0x1cd),_0xeb6dcf);return _0x1e2178[_0x24db62(0x1e2)](_0x24db62(0x1fc),!0x0,_0x502c59),_0x502c59[_0x24db62(0x246)]=function(_0x386e72){const _0x2a01eb=_0x24db62,_0x210de3=this[_0x2a01eb(0x242)](_0x386e72);return _0x210de3[_0x2a01eb(0x216)]=_0x2a01eb(0x1d0)+_0x48151c[_0x2a01eb(0x227)]+_0x2a01eb(0x22b),_0x210de3[_0x2a01eb(0x238)](_0x2a01eb(0x1d5),()=>{const _0xda30f0=_0x2a01eb;_0x210de3[_0xda30f0(0x22e)][_0xda30f0(0x1d1)](_0xda30f0(0x1f4));}),_0x210de3[_0x2a01eb(0x238)](_0x2a01eb(0x21c),()=>{const _0x12a3fa=_0x2a01eb;_0x210de3[_0x12a3fa(0x22e)][_0x12a3fa(0x222)](_0x12a3fa(0x1f4));}),_0x210de3;},_0x502c59[_0x24db62(0x1e4)]=function(_0x3f17cd){const _0x172c3c=_0x24db62;return!(!this[_0x172c3c(0x1cc)](_0x172c3c(0x1fc))||!_0x3f17cd[_0x172c3c(0x1cc)](_0x172c3c(0x1fc))||this[_0x172c3c(0x228)](_0x172c3c(0x24e))!=_0x3f17cd[_0x172c3c(0x228)](_0x172c3c(0x24e)));},_0x502c59;}(_0x573d18,_0x15c13b,_0x2d6eb4);}(_0x171838,_0x568bf3,_0x2bf775,_0x487bd3)}),_0x487bd3[_0x13f564(0x20a)][_0x13f564(0x21a)](_0x13f564(0x21b))[_0x13f564(0x244)]({'model':_0x13f564(0x1cb),'view':_0x4acf03=>function(_0x534e33,_0x40af0a){const _0x347a40=_0x13f564,_0x3f9aaa=_0x534e33[_0x347a40(0x210)][_0x347a40(0x20e)](':')[0x2];if(_0x3f9aaa===_0x40af0a[_0x347a40(0x1eb)])return null;const _0x57e51d=_0x40af0a[_0x347a40(0x1f6)](_0x3f9aaa);if(!_0x57e51d)return{'id':_0x3f9aaa,'classes':[]};return{'id':_0x3f9aaa,'classes':[_0x347a40(0x1fa),_0x57e51d[_0x347a40(0x208)][_0x347a40(0x225)]()],'attributes':{'data-session-id':_0x3f9aaa},'priority':0x7d0+_0x57e51d[_0x347a40(0x1ea)]};}(_0x4acf03,_0x2bf775)}),function(_0x1b31d0){const _0x1aef43=_0x13f564,_0xe6f71=_0x1b31d0[_0x1aef43(0x241)],_0x4478b6=new Map(),_0x352609=_0x1b31d0[_0x1aef43(0x206)][_0x1aef43(0x203)](_0x22f6bf);_0xe6f71[_0x1aef43(0x218)]['on'](_0x1aef43(0x1e6),(_0x42bebd,_0x161128,_0x552c22,_0xf6dd4f)=>{const _0x23b473=_0x1aef43;if(!_0xf6dd4f&&_0x4478b6[_0x23b473(0x203)](_0x161128[_0x23b473(0x227)]))return _0x4478b6[_0x23b473(0x203)](_0x161128[_0x23b473(0x227)])[_0x23b473(0x1ed)](),void _0x4478b6[_0x23b473(0x21f)](_0x161128[_0x23b473(0x227)]);const _0x7bc343=_0x161128[_0x23b473(0x227)][_0x23b473(0x20e)](':')[0x2];if(_0x7bc343===_0x352609[_0x23b473(0x1eb)])return;const _0x5e9717=_0x23b473(0x21e)+_0x7bc343;_0xe6f71[_0x23b473(0x218)][_0x23b473(0x247)](_0x5e9717)&&_0x1b31d0[_0x23b473(0x1f9)][_0x23b473(0x1f2)](_0x5e9717),_0x161128['on'](_0x23b473(0x1e9),(_0x4d7174,_0x32d1ef,_0x59efe4)=>{const _0x252536=_0x23b473;if(_0x252536(0x207)!=_0x32d1ef[_0x252536(0x1f5)][_0x252536(0x236)]&&_0x252536(0x207)==_0x161128[_0x252536(0x232)]()[_0x252536(0x1f5)][_0x252536(0x236)]&&!_0x4478b6[_0x252536(0x247)](_0x161128[_0x252536(0x227)])){const _0x3c6d59=_0xe6f71[_0x252536(0x1de)][_0x252536(0x1e3)](_0x59efe4[_0x252536(0x24b)]);if(_0x3c6d59){const _0x1d1ec4=_0x15559e[_0x252536(0x1fb)](_0x3c6d59);_0x4478b6[_0x252536(0x22f)](_0x161128[_0x252536(0x227)],_0x1d1ec4),_0x1d1ec4['on'](_0x252536(0x1e9),(_0x5dccbd,_0x2b21c7,_0x2b75f9)=>{const _0x23b176=_0x252536;if(_0x23b176(0x207)==_0x1d1ec4[_0x23b176(0x1f5)][_0x23b176(0x236)]){const _0x23df1a=_0xe6f71[_0x23b176(0x1de)][_0x23b176(0x1e3)](_0x2b75f9[_0x23b176(0x24b)]);_0x23df1a?(_0x1d1ec4[_0x23b176(0x202)]=_0x23df1a[_0x23b176(0x202)],_0x1d1ec4[_0x23b176(0x248)]=_0x23df1a[_0x23b176(0x248)]):(_0x4478b6[_0x23b176(0x21f)](_0x161128[_0x23b176(0x227)]),_0x1d1ec4[_0x23b176(0x1ed)]());}});}}});}),_0xe6f71[_0x1aef43(0x24a)]['on'](_0x1aef43(0x1d6),()=>{const _0x37999a=_0x1aef43;_0x4478b6[_0x37999a(0x22a)]>0x0&&_0xe6f71[_0x37999a(0x23f)]({'isUndoable':!0x1},_0x12a76d=>{const _0x180b05=_0x37999a;for(const [_0x3c3555,_0x5d4fd4]of _0x4478b6)_0x180b05(0x207)==_0xe6f71[_0x180b05(0x218)][_0x180b05(0x203)](_0x3c3555)[_0x180b05(0x232)]()[_0x180b05(0x1f5)][_0x180b05(0x236)]&&(re(_0x3c3555[_0x180b05(0x20e)](':')[0x2],_0x5d4fd4[_0x180b05(0x1da)](),_0xe6f71,_0x12a76d),_0x5d4fd4[_0x180b05(0x1ed)]());_0x4478b6[_0x180b05(0x23b)]();});});}(_0x487bd3),this[_0x13f564(0x223)][_0x13f564(0x1e7)](_0x3fdd6e[_0x13f564(0x24a)],_0x13f564(0x229),(_0x5cecdb,{key:_0x289e2f})=>{const _0x38c21e=_0x13f564;_0x38c21e(0x237)===_0x289e2f&&function(_0x378d81){const _0x3763f3=_0x38c21e;_0x378d81[_0x3763f3(0x1f9)][_0x3763f3(0x24f)][_0x3763f3(0x1d6)](_0x9adcfd=>{const _0x5c6bb6=_0x3763f3;for(const _0x5c0156 of _0x378d81[_0x5c6bb6(0x241)][_0x5c6bb6(0x218)]){if(!_0x5c0156[_0x5c6bb6(0x227)][_0x5c6bb6(0x220)](_0x5c6bb6(0x20f)))continue;const _0x2ba57f=_0x378d81[_0x5c6bb6(0x1f9)][_0x5c6bb6(0x219)][_0x5c6bb6(0x1f7)](_0x5c0156[_0x5c6bb6(0x227)]);if(_0x2ba57f){for(const _0x362a65 of _0x2ba57f)_0x9adcfd[_0x5c6bb6(0x1e8)](_0x5c6bb6(0x1f4),_0x362a65);}}});}(_0x487bd3);},{'useCapture':!0x0});}[_0x4fe718(0x20d)](){const _0x24ce04=_0x4fe718,_0x18931e=this[_0x24ce04(0x1fd)],_0xd9c9d2=_0x18931e[_0x24ce04(0x1ce)][_0x24ce04(0x203)](_0x24ce04(0x213));_0xd9c9d2&&_0x18931e[_0x24ce04(0x241)]['on'](_0x24ce04(0x221),(_0x409489,_0x5a8cc6)=>{const _0x5e4d4c=_0x24ce04,_0x30539d=_0x5a8cc6[0x0];if(!_0x30539d[_0x5e4d4c(0x1d3)])return;if(_0x5e4d4c(0x1d8)!=_0x30539d[_0x5e4d4c(0x1e1)]||!_0x30539d[_0x5e4d4c(0x227)][_0x5e4d4c(0x220)](_0x5e4d4c(0x1df)))return;const _0x5708ba=_0x30539d[_0x5e4d4c(0x1ec)];_0xd9c9d2[_0x5e4d4c(0x23a)][_0x5e4d4c(0x247)](_0x5708ba)&&(_0x30539d[_0x5e4d4c(0x1fe)]=_0x30539d[_0x5e4d4c(0x1dc)]?_0x18931e[_0x5e4d4c(0x241)][_0x5e4d4c(0x1e0)](_0x30539d[_0x5e4d4c(0x1dc)][_0x5e4d4c(0x202)],_0x30539d[_0x5e4d4c(0x1dc)][_0x5e4d4c(0x248)]):null);},{'priority':_0x24ce04(0x23d)});}[_0x4fe718(0x1f3)](){const _0x4b5b88=_0x4fe718;return this[_0x4b5b88(0x223)][_0x4b5b88(0x231)](),super[_0x4b5b88(0x1f3)]();}[_0x4fe718(0x1d9)](){const _0xec5aef=_0x4fe718,_0x23cdf=this[_0xec5aef(0x1fd)],_0x151788=_0x23cdf[_0xec5aef(0x241)][_0xec5aef(0x24a)],_0x228e95=_0x23cdf[_0xec5aef(0x206)][_0xec5aef(0x203)](_0x22f6bf);_0x23cdf[_0xec5aef(0x241)][_0xec5aef(0x23f)]({'isUndoable':!0x1},_0x77fd8a=>{const _0x2b4f48=_0xec5aef,_0x5e70d1=_0x2b4f48(0x22d)+_0x228e95[_0x2b4f48(0x1eb)],_0x35d633=_0x2b4f48(0x21e)+_0x228e95[_0x2b4f48(0x1eb)],_0x3de200=_0x23cdf[_0x2b4f48(0x241)][_0x2b4f48(0x218)][_0x2b4f48(0x247)](_0x5e70d1);_0x23cdf[_0x2b4f48(0x1f9)][_0x2b4f48(0x24f)][_0x2b4f48(0x239)]?re(_0x228e95[_0x2b4f48(0x1eb)],_0x151788[_0x2b4f48(0x214)][_0x2b4f48(0x22c)](),_0x23cdf[_0x2b4f48(0x241)],_0x77fd8a):_0x3de200&&(_0x77fd8a[_0x2b4f48(0x224)](_0x5e70d1),_0x77fd8a[_0x2b4f48(0x224)](_0x35d633));});}}function re(_0x1f4acf,_0xc5a43e,_0x1322e5,_0x377358){const _0x56a0eb=_0x4fe718,_0x4e48c4=_0x56a0eb(0x22d)+_0x1f4acf,_0x48234c=_0x56a0eb(0x21e)+_0x1f4acf,_0xbe9978=_0xc5a43e[_0x56a0eb(0x243)]();let _0x1dad77=_0xc5a43e[_0x56a0eb(0x202)];_0xbe9978&&_0xbe9978['is'](_0x56a0eb(0x230),_0x56a0eb(0x1ca))&&(_0x1dad77=function(_0x21c5a0,_0x3e3706){const _0x1fc4ad=_0x56a0eb;for(const _0xf0209 of _0x21c5a0[_0x1fc4ad(0x24c)]())if(_0x3e3706[_0x1fc4ad(0x1de)][_0x1fc4ad(0x1d2)](_0xf0209,_0x1fc4ad(0x1ff)))return _0xf0209;}(_0xc5a43e,_0x1322e5),_0xc5a43e=_0x377358[_0x56a0eb(0x1e0)](_0x1dad77));const _0x58af5a=_0x377358[_0x56a0eb(0x1e0)](_0x1dad77);_0x1322e5[_0x56a0eb(0x218)][_0x56a0eb(0x247)](_0x4e48c4)?(_0x377358[_0x56a0eb(0x240)](_0x4e48c4,{'range':_0xc5a43e}),_0x377358[_0x56a0eb(0x240)](_0x48234c,{'range':_0x58af5a})):(_0x377358[_0x56a0eb(0x1f0)](_0x4e48c4,{'range':_0xc5a43e,'usingOperation':!0x0}),_0x377358[_0x56a0eb(0x1f0)](_0x48234c,{'range':_0x58af5a,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5c4bcb=_0x1de1;(function(_0x35aa7d,_0x44fe96){const _0x2dc6a5=_0x1de1,_0x166f66=_0x35aa7d();while(!![]){try{const _0x2698e4=-parseInt(_0x2dc6a5(0x1cf))/0x1*(parseInt(_0x2dc6a5(0x1e6))/0x2)+-parseInt(_0x2dc6a5(0x1e1))/0x3*(-parseInt(_0x2dc6a5(0x1d0))/0x4)+parseInt(_0x2dc6a5(0x1b8))/0x5*(parseInt(_0x2dc6a5(0x1c0))/0x6)+-parseInt(_0x2dc6a5(0x1ee))/0x7+parseInt(_0x2dc6a5(0x1d6))/0x8+-parseInt(_0x2dc6a5(0x1b4))/0x9+parseInt(_0x2dc6a5(0x1cd))/0xa*(parseInt(_0x2dc6a5(0x1bf))/0xb);if(_0x2698e4===_0x44fe96)break;else _0x166f66['push'](_0x166f66['shift']());}catch(_0x39f91d){_0x166f66['push'](_0x166f66['shift']());}}}(_0x201c,0xb7b8f));import{ContextPlugin as _0x2fcc76}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x3fbdd4,CKEditorError as _0x6f1a64}from'ckeditor5/src/utils.js';function _0x201c(){const _0x202e41=['isPremiumPlugin','then','websocketgateway-missing-websocket-url','bind','websocketgateway-missing-token','_isBrowserOffline','disconnect','catch','pluginName','40518GibTGr','add','define','stopListening','error','2EWivcH','showWarning','DISCONNECTED','reconnect','isOfficialPlugin','addToReconnectionStack','connect','context','8838431HeRqvq','token','offline','_reconnectionStack','init','real-time-collaboration','websocketgateway-invalid-plugin-interface','CONNECTING','destroy','has','plugins','WebSocketGateway','all','delete','Connected\x20users\x20limit\x20exceeded','limitExceeded','constructor','create','12364371bluuQb','_shouldPluginsReconnect','CONNECTED','state','80615LTvwpe','function','cloudServices.connectionTimeout','change:me','online','isInReconnectionStack','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.','2431TWorcR','150jpeCCB','webSocketUrl','code','requires','websocketgateway-plugin-already-registered','listenTo','connected','set','initialReconnectionInterval','_reconnect','_domEmitter','CloudServices','cloudservices-reconnection-error','128790SrxgVe','cloudservices-init','529073ntHwHd','72EQXPrY','get','connection','config','from','removeFromReconnectionStack','3404880rOjpAt','cloudServices.requestTimeout'];_0x201c=function(){return _0x202e41;};return _0x201c();}function _0x1de1(_0xad1748,_0x9549c2){const _0x201ca1=_0x201c();return _0x1de1=function(_0x1de12e,_0x1cf0e3){_0x1de12e=_0x1de12e-0x1a4;let _0x479ab5=_0x201ca1[_0x1de12e];return _0x479ab5;},_0x1de1(_0xad1748,_0x9549c2);}import{WebSocketGateway as _0x52301c,WEB_SOCKET_GATEWAY_STATES as _0x3d5c08}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x504a18}from'ckeditor5/src/ui.js';class c extends _0x2fcc76{static get[_0x5c4bcb(0x1c3)](){const _0x4ceda4=_0x5c4bcb;return[_0x4ceda4(0x1cb),_0x504a18];}static get[_0x5c4bcb(0x1e0)](){const _0x1e6ff6=_0x5c4bcb;return _0x1e6ff6(0x1ad);}static get[_0x5c4bcb(0x1ea)](){return!0x0;}static get[_0x5c4bcb(0x1d8)](){return!0x0;}constructor(_0x2f0d9e){const _0x208ca7=_0x5c4bcb;super(_0x2f0d9e),this[_0x208ca7(0x1c7)](_0x208ca7(0x1b7),_0x3d5c08[_0x208ca7(0x1b6)]),this[_0x208ca7(0x1c7)](_0x208ca7(0x1dd),!0x1),this[_0x208ca7(0x1a5)]=new Set(),this[_0x208ca7(0x1b5)]=!0x1,this[_0x208ca7(0x1ca)]=Object[_0x208ca7(0x1b3)](_0x3fbdd4);}[_0x5c4bcb(0x1a6)](){const _0x304a3a=_0x5c4bcb,_0x3271ec=this[_0x304a3a(0x1ed)],_0x556aa7=_0x3271ec[_0x304a3a(0x1ac)][_0x304a3a(0x1d1)](_0x304a3a(0x1cb)),_0x5764cb=_0x3271ec[_0x304a3a(0x1ac)][_0x304a3a(0x1d1)](_0x504a18);if(!_0x556aa7[_0x304a3a(0x1ef)])throw new _0x6f1a64(_0x304a3a(0x1dc),this);if(!_0x556aa7[_0x304a3a(0x1c1)])throw new _0x6f1a64(_0x304a3a(0x1da),this);return this[_0x304a3a(0x1ca)][_0x304a3a(0x1c5)](window,_0x304a3a(0x1a4),()=>this[_0x304a3a(0x1dd)]=!0x0),this[_0x304a3a(0x1ca)][_0x304a3a(0x1c5)](window,_0x304a3a(0x1bc),()=>this[_0x304a3a(0x1dd)]=!0x1),this[_0x304a3a(0x1ed)][_0x304a3a(0x1d3)][_0x304a3a(0x1e3)](_0x304a3a(0x1ba),0xa),this[_0x304a3a(0x1ed)][_0x304a3a(0x1d3)][_0x304a3a(0x1e3)](_0x304a3a(0x1d7),0x14),c[_0x304a3a(0x1ad)][_0x304a3a(0x1ec)](_0x556aa7[_0x304a3a(0x1ef)],_0x556aa7[_0x304a3a(0x1c1)],{'timeout':0x3e8*this[_0x304a3a(0x1ed)][_0x304a3a(0x1d3)][_0x304a3a(0x1d1)](_0x304a3a(0x1ba)),'requestTimeout':0x3e8*this[_0x304a3a(0x1ed)][_0x304a3a(0x1d3)][_0x304a3a(0x1d1)](_0x304a3a(0x1d7))})[_0x304a3a(0x1d9)](_0x3aa558=>{const _0x30d426=_0x304a3a;if(this[_0x30d426(0x1d2)]=_0x3aa558,this[_0x30d426(0x1db)](_0x30d426(0x1b7))['to'](_0x3aa558,_0x30d426(0x1b7),this,_0x30d426(0x1dd),(_0x4003ea,_0x41c31f)=>(_0x30d426(0x1c6)!==_0x4003ea&&(this[_0x30d426(0x1b5)]=!0x0),_0x41c31f||_0x4003ea!==_0x3d5c08[_0x30d426(0x1b6)]?_0x3d5c08[_0x30d426(0x1e8)]:this[_0x30d426(0x1b7)]==_0x3d5c08[_0x30d426(0x1e8)]&&this[_0x30d426(0x1b5)]?(this[_0x30d426(0x1b5)]=!0x1,this[_0x30d426(0x1c9)](),_0x3d5c08[_0x30d426(0x1a9)]):_0x3d5c08[_0x30d426(0x1b6)])),this[_0x30d426(0x1d2)]['on'](_0x30d426(0x1e5),(_0x7b4b98,_0x1caedc)=>{const _0x26cdd7=_0x30d426;if(_0x26cdd7(0x1b1)!==_0x1caedc[_0x26cdd7(0x1c2)])throw console[_0x26cdd7(0x1e5)](_0x1caedc),new _0x6f1a64(_0x26cdd7(0x1ce),null,{'originalError':_0x1caedc});_0x5764cb[_0x26cdd7(0x1e7)](_0x26cdd7(0x1be),{'title':_0x26cdd7(0x1b0),'namespace':_0x26cdd7(0x1a7)});}),!_0x3aa558['me'])return new Promise(_0x21dfc7=>_0x3aa558['on'](_0x30d426(0x1bb),_0x21dfc7));})[_0x304a3a(0x1df)](_0x3f9917=>{const _0x5e9e19=_0x304a3a;throw console[_0x5e9e19(0x1e5)](_0x3f9917),new _0x6f1a64(_0x5e9e19(0x1ce),null,{'originalError':_0x3f9917});});}[_0x5c4bcb(0x1eb)](_0x1d20bc){const _0x6b6fc5=_0x5c4bcb;if(_0x6b6fc5(0x1b9)!=typeof _0x1d20bc[_0x6b6fc5(0x1e9)])throw new _0x6f1a64(_0x6b6fc5(0x1a8),this);if(this[_0x6b6fc5(0x1bd)](_0x1d20bc))throw new _0x6f1a64(_0x6b6fc5(0x1c4),this,{'name':_0x1d20bc[_0x6b6fc5(0x1b2)][_0x6b6fc5(0x1e0)]});this[_0x6b6fc5(0x1a5)][_0x6b6fc5(0x1e2)](_0x1d20bc);}[_0x5c4bcb(0x1d5)](_0x18f36b){const _0x29c9f4=_0x5c4bcb;this[_0x29c9f4(0x1a5)][_0x29c9f4(0x1af)](_0x18f36b);}[_0x5c4bcb(0x1bd)](_0x8d41cb){const _0x4a5d21=_0x5c4bcb;return this[_0x4a5d21(0x1a5)][_0x4a5d21(0x1ab)](_0x8d41cb);}[_0x5c4bcb(0x1c9)](){const _0x59e70d=_0x5c4bcb;return this[_0x59e70d(0x1d2)][_0x59e70d(0x1e9)]()[_0x59e70d(0x1d9)](()=>Promise[_0x59e70d(0x1ae)](Array[_0x59e70d(0x1d4)](this[_0x59e70d(0x1a5)],_0x41c2ab=>_0x41c2ab[_0x59e70d(0x1e9)]())))[_0x59e70d(0x1d9)](()=>this[_0x59e70d(0x1b7)]=_0x3d5c08[_0x59e70d(0x1b6)])[_0x59e70d(0x1df)](_0xae8ed1=>{const _0x246fb7=_0x59e70d;throw console[_0x246fb7(0x1e5)](_0xae8ed1),new _0x6f1a64(_0x246fb7(0x1cc),this[_0x246fb7(0x1ed)]);});}[_0x5c4bcb(0x1de)](){const _0x3debfb=_0x5c4bcb;this[_0x3debfb(0x1d2)]&&this[_0x3debfb(0x1d2)][_0x3debfb(0x1de)](),this[_0x3debfb(0x1b7)]=_0x3d5c08[_0x3debfb(0x1e8)],this[_0x3debfb(0x1ca)][_0x3debfb(0x1e4)]();}[_0x5c4bcb(0x1aa)](){const _0x454fb1=_0x5c4bcb;this[_0x454fb1(0x1de)](),super[_0x454fb1(0x1aa)]();}}c[_0x5c4bcb(0x1ad)]=_0x52301c,c[_0x5c4bcb(0x1c8)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x939a29=_0x1be8;(function(_0x37839e,_0x2efffe){var _0x3762dc=_0x1be8,_0x232fc3=_0x37839e();while(!![]){try{var _0x17e903=-parseInt(_0x3762dc(0x7f))/0x1+-parseInt(_0x3762dc(0x84))/0x2*(-parseInt(_0x3762dc(0x83))/0x3)+-parseInt(_0x3762dc(0x88))/0x4+-parseInt(_0x3762dc(0x81))/0x5+-parseInt(_0x3762dc(0x82))/0x6+parseInt(_0x3762dc(0x7d))/0x7*(parseInt(_0x3762dc(0x8a))/0x8)+parseInt(_0x3762dc(0x86))/0x9;if(_0x17e903===_0x2efffe)break;else _0x232fc3['push'](_0x232fc3['shift']());}catch(_0x2950b1){_0x232fc3['push'](_0x232fc3['shift']());}}}(_0x55d2,0xeda4a));import{Plugin as _0x1fc66a}from'ckeditor5/src/core.js';function _0x1be8(_0xebcb6,_0x5eea3c){var _0x55d2da=_0x55d2();return _0x1be8=function(_0x1be830,_0x3926cf){_0x1be830=_0x1be830-0x7d;var _0x261216=_0x55d2da[_0x1be830];return _0x261216;},_0x1be8(_0xebcb6,_0x5eea3c);}function _0x55d2(){var _0x2734d2=['isPremiumPlugin','64exouHl','628453cczxAo','pluginName','799790QSMwBi','requires','2724345CshNJG','5737548bNuawP','1024791fIMnaA','2VOmhjm','RealTimeCollaborativeEditing','35856693EBuMbu','isOfficialPlugin','7078412IkOSlv'];_0x55d2=function(){return _0x2734d2;};return _0x55d2();}import _0x59d291 from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x1fc66a{static get[_0x939a29(0x80)](){return[_0x59d291];}static get[_0x939a29(0x7e)](){var _0x30acd8=_0x939a29;return _0x30acd8(0x85);}static get[_0x939a29(0x87)](){return!0x0;}static get[_0x939a29(0x89)](){return!0x0;}}
|