@ckeditor/ckeditor5-real-time-collaboration 44.2.0-alpha.0 → 44.2.0-alpha.1
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 _0x5a6678=_0x28d6;(function(_0x1e59b0,_0x29864c){const _0x4a7caf=_0x28d6,_0x375d0a=_0x1e59b0();while(!![]){try{const _0x1c9b9c=parseInt(_0x4a7caf(0xfe))/0x1*(-parseInt(_0x4a7caf(0x109))/0x2)+parseInt(_0x4a7caf(0xeb))/0x3+-parseInt(_0x4a7caf(0x118))/0x4+parseInt(_0x4a7caf(0xea))/0x5+-parseInt(_0x4a7caf(0x137))/0x6+parseInt(_0x4a7caf(0xd6))/0x7*(parseInt(_0x4a7caf(0xe7))/0x8)+-parseInt(_0x4a7caf(0x10a))/0x9*(-parseInt(_0x4a7caf(0xf7))/0xa);if(_0x1c9b9c===_0x29864c)break;else _0x375d0a['push'](_0x375d0a['shift']());}catch(_0x4e517a){_0x375d0a['push'](_0x375d0a['shift']());}}}(_0x5623,0x472af));import{Context as _0xaa2a37,ContextPlugin as _0x4e0834}from'ckeditor5/src/core.js';import{CKEditorError as _0x16c13e}from'ckeditor5/src/utils.js';import{Users as _0x53c3fd}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x5860a8,User as _0x238785}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x175d34 from'../realtimecollaborativeediting/websocketgateway.js';import _0x26faa1 from'../realtimecollaborativeediting/sessions.js';class a extends _0x4e0834{static get[_0x5a6678(0x136)](){const _0x7961d2=_0x5a6678;return[_0x175d34,_0x7961d2(0x108),_0x26faa1,_0x53c3fd];}static get[_0x5a6678(0xf9)](){const _0x38c899=_0x5a6678;return _0x38c899(0xdc);}static get[_0x5a6678(0xed)](){return!0x0;}static get[_0x5a6678(0xec)](){return!0x0;}constructor(_0x2f3424){const _0x120ac7=_0x5a6678;super(_0x2f3424),this[_0x120ac7(0x11e)]=new Map();}async[_0x5a6678(0xf4)](){const _0x3bae40=_0x5a6678,_0x4047e4=this[_0x3bae40(0xee)],_0x474ade=_0x4047e4[_0x3bae40(0x107)][_0x3bae40(0x120)](_0x3bae40(0x108));if(_0x4047e4[_0x3bae40(0x107)][_0x3bae40(0x120)](_0x175d34)[_0x3bae40(0xda)](this),_0x474ade[_0x3bae40(0xdb)]={'addCommentThread':async({channelId:_0x2f366b,threadId:_0x1bb78f,comments:_0x5761b9,resolvedAt:_0x154074,resolvedBy:_0x283b7d,context:_0x5127b4,attributes:_0x36d846})=>{const _0x5d000b=_0x3bae40,_0x4155bc=await this[_0x5d000b(0x126)](_0x2f366b)[_0x5d000b(0x104)]({'commentThreadId':_0x1bb78f,'comments':_0x5761b9[_0x5d000b(0xe6)](_0xb9d3bb=>function(_0x8fa0cb,_0x1b0fb1,_0xb797b){const _0x4233ca=_0x5d000b;return{'commentThreadId':_0xb797b,'commentId':_0x8fa0cb[_0x4233ca(0xff)],'userId':_0x8fa0cb[_0x4233ca(0xfd)],'content':_0x8fa0cb[_0x4233ca(0xf1)],'documentId':_0x1b0fb1,'createdAt':_0x8fa0cb[_0x4233ca(0xe3)],'attributes':_0x8fa0cb[_0x4233ca(0xf8)]||{}};}(_0xb9d3bb,_0x2f366b,_0x1bb78f)),'resolvedAt':_0x154074,'resolvedBy':_0x283b7d,'context':_0x5127b4,'attributes':_0x36d846})[_0x5d000b(0x10f)](R);return{'threadId':_0x4155bc[_0x5d000b(0xd8)],'comments':_0x4155bc[_0x5d000b(0xe4)]};},'getCommentThread':async({channelId:_0x20b13e,threadId:_0x151451})=>{const _0x3ee7b6=_0x3bae40,_0x4c6c49=await this[_0x3ee7b6(0x126)](_0x20b13e)[_0x3ee7b6(0x10b)](_0x151451)[_0x3ee7b6(0x10f)](R);return _0x4c6c49[_0x3ee7b6(0xe2)]?null:(await this[_0x3ee7b6(0x11c)]([_0x4c6c49]),{'threadId':_0x4c6c49[_0x3ee7b6(0xd8)],'comments':_0x4c6c49[_0x3ee7b6(0xe4)][_0x3ee7b6(0xe6)](S),'context':_0x4c6c49[_0x3ee7b6(0xee)],'resolvedAt':_0x4c6c49[_0x3ee7b6(0x133)],'resolvedBy':_0x4c6c49[_0x3ee7b6(0x113)],'attributes':_0x4c6c49[_0x3ee7b6(0xf8)]||{}});},'updateCommentThread':async({channelId:_0x161998,threadId:_0x29d01c,context:_0x177e60,unlinkedAt:_0x5a779a,attributes:_0x5105d7})=>this[_0x3bae40(0x126)](_0x161998)[_0x3bae40(0x11a)]({'commentThreadId':_0x29d01c,'context':_0x177e60,'attributes':_0x5105d7,'unlinkedAt':_0x5a779a})[_0x3bae40(0x10f)](B)[_0x3bae40(0x10f)](R),'resolveCommentThread':async({channelId:_0x5f54a5,threadId:_0x8193e6})=>{const _0x26852e=_0x3bae40,_0x55789f=await this[_0x26852e(0x126)](_0x5f54a5)[_0x26852e(0x103)](_0x8193e6)[_0x26852e(0x10f)](B)[_0x26852e(0x10f)](R);return{'threadId':_0x55789f[_0x26852e(0xd8)],'resolvedAt':_0x55789f[_0x26852e(0x133)],'resolvedBy':_0x55789f[_0x26852e(0x113)]};},'reopenCommentThread':async({channelId:_0x5d2dd6,threadId:_0x2ab9b5})=>this[_0x3bae40(0x126)](_0x5d2dd6)[_0x3bae40(0xef)](_0x2ab9b5)[_0x3bae40(0x10f)](B)[_0x3bae40(0x10f)](R),'removeCommentThread':({channelId:_0x3918bc,threadId:_0x32d809})=>this[_0x3bae40(0x126)](_0x3918bc)[_0x3bae40(0x117)](_0x32d809)[_0x3bae40(0x10f)](B)[_0x3bae40(0x10f)](R),'addComment':({channelId:_0xa6b36c,threadId:_0x5afdf6,commentId:_0x29ef77,content:_0x28a4d9,attributes:_0x198aef})=>this[_0x3bae40(0x126)](_0xa6b36c)[_0x3bae40(0x122)](_0x5afdf6,_0x29ef77,_0x28a4d9,_0x198aef)[_0x3bae40(0x10f)](R),'updateComment':({channelId:_0x48e5e4,threadId:_0x545b35,commentId:_0x5e9e3c,content:_0xcea527,attributes:_0x39c361})=>this[_0x3bae40(0x126)](_0x48e5e4)[_0x3bae40(0x106)](_0x545b35,_0x5e9e3c,_0xcea527,_0x39c361)[_0x3bae40(0x10f)](B)[_0x3bae40(0x10f)](R),'removeComment':({channelId:_0x3d044c,threadId:_0x25349c,commentId:_0x8eaa8c})=>this[_0x3bae40(0x126)](_0x3d044c)[_0x3bae40(0xe9)](_0x25349c,_0x8eaa8c)[_0x3bae40(0x10f)](B)[_0x3bae40(0x10f)](R)},_0x4047e4 instanceof _0xaa2a37){const _0x24b06c=_0x4047e4[_0x3bae40(0x127)][_0x3bae40(0x120)](_0x3bae40(0xd9)),_0x9fb3bd=_0x4047e4[_0x3bae40(0x107)][_0x3bae40(0x120)](_0x26faa1);await this[_0x3bae40(0x11b)](_0x24b06c);const _0x44d614=await this[_0x3bae40(0x11e)][_0x3bae40(0x120)](_0x24b06c)[_0x3bae40(0xf6)]();this[_0x3bae40(0x138)](_0x9fb3bd,_0x3bae40(0xfc)+_0x24b06c,(_0x2826ae,{session:_0x37bfdd})=>{const _0xcf532d=_0x3bae40;_0x37bfdd['id']===_0x9fb3bd[_0xcf532d(0xfb)]&&(_0x2826ae[_0xcf532d(0xdf)](),this[_0xcf532d(0xee)][_0xcf532d(0x107)][_0xcf532d(0x120)](_0xcf532d(0x135))[_0xcf532d(0xd7)](_0x37bfdd[_0xcf532d(0xe8)],_0x24b06c));}),_0x9fb3bd[_0x3bae40(0x115)](_0x24b06c,_0x44d614);}}async[_0x5a6678(0x11b)](_0x26d162){const _0xa8b374=_0x5a6678;if(this[_0xa8b374(0x11e)][_0xa8b374(0xe5)](_0x26d162))throw new _0x16c13e(_0xa8b374(0x116),null,{'channelId':_0x26d162});const _0x40e683=this[_0xa8b374(0xee)][_0xa8b374(0x107)][_0xa8b374(0x120)](_0xa8b374(0x108)),_0x3b5524=new a[(_0xa8b374(0x121))](_0x26d162);this[_0xa8b374(0x11e)][_0xa8b374(0x129)](_0x26d162,_0x3b5524),this[_0xa8b374(0x138)](_0x3b5524,_0xa8b374(0x132),(_0x824401,_0x4fa3ce)=>{const _0xd35072=_0xa8b374,{commentThreadId:_0x4522cb,documentId:_0x398fbc,context:_0x3e32b1,attributes:_0x5aa07e,resolvedAt:_0x4cc80e,resolvedBy:_0x2aee8a,comments:_0x44ca51}=_0x4fa3ce;_0x40e683[_0xd35072(0x10b)](_0x4522cb)||_0x40e683[_0xd35072(0x104)]({'threadId':_0x4522cb,'channelId':_0x398fbc,'comments':_0x44ca51?_0x44ca51[_0xd35072(0xe6)](S):[],'context':_0x3e32b1,'attributes':_0x5aa07e,'resolvedAt':_0x4cc80e,'resolvedBy':_0x2aee8a,'isFromAdapter':!0x0});}),this[_0xa8b374(0x138)](_0x3b5524,_0xa8b374(0x110),(_0x2c6ee7,{commentThreadId:_0x7a8ee,documentId:_0x5d6839,context:_0x2d03d5,unlinkedAt:_0x2a05d0,attributes:_0x46b7b8})=>{const _0x45b042=_0xa8b374;_0x40e683[_0x45b042(0x10b)](_0x7a8ee)&&_0x40e683[_0x45b042(0x11a)]({'threadId':_0x7a8ee,'channelId':_0x5d6839,'context':_0x2d03d5,'unlinkedAt':_0x2a05d0,'attributes':_0x46b7b8,'isFromAdapter':!0x0});}),this[_0xa8b374(0x138)](_0x3b5524,_0xa8b374(0xf3),(_0x36f9ed,{commentThreadId:_0x3b895c,resolvedBy:_0x4fd21f,resolvedAt:_0x233f80})=>{const _0x5e66b1=_0xa8b374,_0x4d1f87=_0x40e683[_0x5e66b1(0x10b)](_0x3b895c);_0x4d1f87&&_0x4d1f87[_0x5e66b1(0x12a)]({'resolvedBy':_0x4fd21f,'resolvedAt':_0x233f80,'isFromAdapter':!0x0});}),this[_0xa8b374(0x138)](_0x3b5524,_0xa8b374(0x101),(_0x22dbc0,{commentThreadId:_0x2f61a9})=>{const _0x32ead7=_0xa8b374,_0x4a1696=_0x40e683[_0x32ead7(0x10b)](_0x2f61a9);_0x4a1696&&_0x4a1696[_0x32ead7(0x139)]({'isFromAdapter':!0x0});}),this[_0xa8b374(0x138)](_0x3b5524,_0xa8b374(0x131),(_0x42372d,{commentThreadId:_0x327aca})=>{const _0x3b9380=_0xa8b374,_0x17a039=_0x40e683[_0x3b9380(0x10b)](_0x327aca);_0x17a039&&_0x17a039[_0x3b9380(0xf2)]({'isFromAdapter':!0x0});}),this[_0xa8b374(0x138)](_0x3b5524,_0xa8b374(0x10c),(_0x5f1208,_0x33f770)=>{const _0x5b175f=_0xa8b374,_0x49b456=_0x33f770[_0x5b175f(0xd8)],_0x363415=_0x40e683[_0x5b175f(0x10b)](_0x49b456);_0x363415&&_0x363415[_0x5b175f(0x122)]({...S(_0x33f770),'isFromAdapter':!0x0});}),this[_0xa8b374(0x138)](_0x3b5524,_0xa8b374(0x124),(_0x2d5585,{commentThreadId:_0x4c171c,commentId:_0x16301a,content:_0x390716,attributes:_0x25fcad})=>{const _0x24998c=_0xa8b374,_0x468247=_0x40e683[_0x24998c(0x10b)](_0x4c171c);if(_0x468247){const _0x582a34=_0x468247[_0x24998c(0x125)](_0x16301a);_0x582a34&&_0x582a34[_0x24998c(0xde)]({'content':_0x390716,'attributes':_0x25fcad,'isFromAdapter':!0x0});}}),this[_0xa8b374(0x138)](_0x3b5524,_0xa8b374(0x12d),(_0x5ac07c,{commentThreadId:_0x190987,commentId:_0x5f29d6})=>{const _0x361699=_0xa8b374,_0x296791=_0x40e683[_0x361699(0x10b)](_0x190987);if(_0x296791){const _0x5fe83d=_0x296791[_0x361699(0x125)](_0x5f29d6);_0x5fe83d&&_0x5fe83d[_0x361699(0xf2)]({'isFromAdapter':!0x0});}}),await this[_0xa8b374(0x111)](_0x26d162);}[_0x5a6678(0x11f)](){const _0x37d706=_0x5a6678;if(this[_0x37d706(0xee)]instanceof _0xaa2a37){const _0x5eb4fe=this[_0x37d706(0xee)][_0x37d706(0x127)][_0x37d706(0x120)](_0x37d706(0xd9));this[_0x37d706(0xfa)](_0x5eb4fe);}}[_0x5a6678(0xfa)](_0x5428ce){const _0x334e7a=_0x5a6678;if(!this[_0x334e7a(0x11e)][_0x334e7a(0xe5)](_0x5428ce))throw new _0x16c13e(_0x334e7a(0x112),null,{'channelId':_0x5428ce});this[_0x334e7a(0x126)](_0x5428ce)[_0x334e7a(0x134)](),this[_0x334e7a(0x11e)][_0x334e7a(0xf5)](_0x5428ce);}async[_0x5a6678(0x13b)](){const _0x142203=_0x5a6678;for(const _0x5902a4 of this[_0x142203(0x11e)][_0x142203(0x119)]())await this[_0x142203(0x111)](_0x5902a4);if(this[_0x142203(0xee)]instanceof _0xaa2a37){const _0x2526cb=this[_0x142203(0xee)][_0x142203(0x127)][_0x142203(0x120)](_0x142203(0xd9)),_0x592c58=this[_0x142203(0xee)][_0x142203(0x107)][_0x142203(0x120)](_0x26faa1);_0x592c58[_0x142203(0x128)](_0x2526cb);const _0x542aa2=await this[_0x142203(0x11e)][_0x142203(0x120)](_0x2526cb)[_0x142203(0xf6)]();_0x592c58[_0x142203(0x115)](_0x2526cb,_0x542aa2);}}async[_0x5a6678(0x111)](_0x41f8e0){const _0x54617b=_0x5a6678,{connection:_0x58f364}=this[_0x54617b(0xee)][_0x54617b(0x107)][_0x54617b(0x120)](_0x175d34),_0x35e13c=this[_0x54617b(0xee)][_0x54617b(0x107)][_0x54617b(0x120)](_0x54617b(0x108)),_0x1eca23=this[_0x54617b(0x11e)][_0x54617b(0x120)](_0x41f8e0),_0x2e7334=await _0x1eca23[_0x54617b(0x11d)](_0x58f364);await this[_0x54617b(0x11c)](_0x2e7334);const _0x2885d4=new Set(Array[_0x54617b(0x100)](_0x35e13c[_0x54617b(0x10d)]({'channelId':_0x41f8e0}),_0x44d74d=>_0x44d74d['id']));for(const _0x2e60fd of _0x2e7334)_0x2e60fd[_0x54617b(0xe2)]||_0x2885d4[_0x54617b(0xf5)](_0x2e60fd[_0x54617b(0xd8)]);for(const _0x46fe55 of _0x2885d4)_0x35e13c[_0x54617b(0x10b)](_0x46fe55)[_0x54617b(0xf2)]({'isFromAdapter':!0x0});for(const _0x5329ed of _0x2e7334){let _0x5e507f=_0x35e13c[_0x54617b(0x10b)](_0x5329ed[_0x54617b(0xd8)]);const {commentThreadId:_0x3b9273,context:_0x2d2076,attributes:_0x219ad9,resolvedBy:_0x5b9db1,resolvedAt:_0x4c577f,unlinkedAt:_0xd9de2,deletedAt:_0x141b9a}=_0x5329ed;if(_0x141b9a)continue;_0x5e507f||(_0x5e507f=_0x35e13c[_0x54617b(0x104)]({'channelId':_0x41f8e0,'threadId':_0x3b9273,'context':_0x2d2076,'attributes':_0x219ad9||{},'resolvedBy':_0x5b9db1,'resolvedAt':_0x4c577f,'unlinkedAt':_0xd9de2,'isFromAdapter':!0x0}));const _0x4fb5df=new Set(Array[_0x54617b(0x100)](_0x5e507f[_0x54617b(0xe4)],_0x9eaab2=>_0x9eaab2['id']));for(const _0x56026f of _0x5329ed[_0x54617b(0xe4)])_0x4fb5df[_0x54617b(0xf5)](_0x56026f[_0x54617b(0xff)]);for(const _0x4ef3eb of _0x4fb5df)_0x5e507f[_0x54617b(0x125)](_0x4ef3eb)[_0x54617b(0xf2)]({'isFromAdapter':!0x0});for(const _0x7d348c of _0x5329ed[_0x54617b(0xe4)]){const _0x2595f7=_0x5e507f[_0x54617b(0x125)](_0x7d348c[_0x54617b(0xff)]);_0x2595f7?_0x2595f7[_0x54617b(0xf1)]!==_0x7d348c[_0x54617b(0xf1)]&&_0x2595f7[_0x54617b(0xde)]({'content':_0x7d348c[_0x54617b(0xf1)],'isFromAdapter':!0x0}):_0x5e507f[_0x54617b(0x122)](Object[_0x54617b(0xdd)](S(_0x7d348c),{'isFromAdapter':!0x0}));}}}[_0x5a6678(0x126)](_0x2df45c){const _0x1750b0=_0x5a6678;if(!this[_0x1750b0(0x11e)][_0x1750b0(0xe5)](_0x2df45c))throw new _0x16c13e(_0x1750b0(0x12e),null,{'channelId':_0x2df45c});return this[_0x1750b0(0x11e)][_0x1750b0(0x120)](_0x2df45c);}async[_0x5a6678(0x11c)](_0x6f9c9a){const _0x2fc11b=_0x5a6678,_0x372f73=this[_0x2fc11b(0xee)][_0x2fc11b(0x107)][_0x2fc11b(0x120)](_0x53c3fd),{connection:_0x465931}=this[_0x2fc11b(0xee)][_0x2fc11b(0x107)][_0x2fc11b(0x120)](_0x175d34),_0x57e0e2=new Set();for(const {resolvedBy:_0x27dea7,comments:_0x59a808}of _0x6f9c9a){_0x27dea7&&!_0x372f73[_0x2fc11b(0x130)](_0x27dea7)&&_0x57e0e2[_0x2fc11b(0xf0)](_0x27dea7);for(const {userId:_0x48cd78}of _0x59a808)_0x372f73[_0x2fc11b(0x130)](_0x48cd78)||_0x57e0e2[_0x2fc11b(0xf0)](_0x48cd78);}if(0x0===_0x57e0e2[_0x2fc11b(0x102)])return;const _0x236551=await _0x238785[_0x2fc11b(0x114)](_0x465931,Array[_0x2fc11b(0x100)](_0x57e0e2));for(const _0x2073da of _0x236551)_0x372f73[_0x2fc11b(0x130)](_0x2073da['id'])||_0x372f73[_0x2fc11b(0x10e)](_0x2073da);}}a[_0x5a6678(0x121)]=_0x5860a8;export default a;function _0x5623(){const _0x44226a=['commentUpdated','getComment','_getService','config','unregister','set','resolve','code','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','commentRemoved','cloudservicescommentsadapter-service-not-exist','startsWith','getUser','commentThreadRemoved','commentThreadAdded','resolvedAt','disconnect','Permissions','requires','1508442WfqHUb','listenTo','reopen','cloud-services-internal-error:\x20Request\x20timeout.','reconnect','10157oHRnPl','setPermissions','commentThreadId','collaboration.channelId','addToReconnectionStack','adapter','CloudServicesCommentsAdapter','assign','update','off','cloud-services-internal-error:\x20Not\x20connected.','userId','deletedAt','createdAt','comments','has','map','856YLrwpA','permissions','removeComment','2188725iaYDIn','1664487ztvYeG','isPremiumPlugin','isOfficialPlugin','context','reopenCommentThread','add','content','remove','commentThreadResolved','init','delete','getConnectedSessions','58270hLHRMw','attributes','pluginName','_terminateService','mySessionId','sessionAdd:','authorId','1YYFewM','commentId','from','commentThreadReopened','size','resolveCommentThread','addCommentThread','404','updateComment','plugins','CommentsRepository','1039164JCUtqm','459HnIXzX','getCommentThread','commentAdded','getCommentThreads','addUser','catch','commentThreadUpdated','_connectService','cloudservicescommentsadapter-disconnect-not-exist','resolvedBy','getMany','register','cloudservicescommentsadapter-connect-already-connected','removeCommentThread','1530064Rtkdvk','keys','updateCommentThread','_setUpService','_fetchMissingUsersForThreads','connect','_services','destroy','get','CommentsService','addComment','message'];_0x5623=function(){return _0x44226a;};return _0x5623();}async function B(_0x1ed4c7){const _0x93fde9=_0x5a6678;if(_0x93fde9(0x105)!==_0x1ed4c7[_0x93fde9(0x12b)])throw _0x1ed4c7;}function R(_0x328ebb){const _0xd673f8=_0x5a6678;if((_0x39f0b1=_0x328ebb)[_0xd673f8(0x123)][_0xd673f8(0x12f)](_0xd673f8(0x12c))||_0x39f0b1[_0xd673f8(0x123)][_0xd673f8(0x12f)](_0xd673f8(0xe0))||_0x39f0b1[_0xd673f8(0x123)][_0xd673f8(0x12f)](_0xd673f8(0x13a)))return new Promise(()=>{});var _0x39f0b1;throw _0x328ebb;}function _0x28d6(_0x22ef7c,_0x1f4d4b){const _0x56234a=_0x5623();return _0x28d6=function(_0x28d67c,_0x30e5c2){_0x28d67c=_0x28d67c-0xd6;let _0x374fbb=_0x56234a[_0x28d67c];return _0x374fbb;},_0x28d6(_0x22ef7c,_0x1f4d4b);}function S(_0x2488f2){const _0x2b8dd9=_0x5a6678;return{'threadId':_0x2488f2[_0x2b8dd9(0xd8)],'commentId':_0x2488f2[_0x2b8dd9(0xff)],'content':_0x2488f2[_0x2b8dd9(0xf1)],'createdAt':_0x2488f2[_0x2b8dd9(0xe3)],'authorId':_0x2488f2[_0x2b8dd9(0xe1)],'attributes':_0x2488f2[_0x2b8dd9(0xf8)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3026de=_0x3e4c;(function(_0x3db338,_0x4afbe7){const _0x55df1e=_0x3e4c,_0x21d0dc=_0x3db338();while(!![]){try{const _0x50532c=-parseInt(_0x55df1e(0x1f9))/0x1+parseInt(_0x55df1e(0x1e5))/0x2*(-parseInt(_0x55df1e(0x202))/0x3)+parseInt(_0x55df1e(0x1fa))/0x4*(-parseInt(_0x55df1e(0x1fb))/0x5)+parseInt(_0x55df1e(0x1e2))/0x6*(-parseInt(_0x55df1e(0x1e7))/0x7)+-parseInt(_0x55df1e(0x1f2))/0x8*(parseInt(_0x55df1e(0x1f1))/0x9)+parseInt(_0x55df1e(0x200))/0xa*(parseInt(_0x55df1e(0x1fe))/0xb)+parseInt(_0x55df1e(0x1e4))/0xc;if(_0x50532c===_0x4afbe7)break;else _0x21d0dc['push'](_0x21d0dc['shift']());}catch(_0x1b45ed){_0x21d0dc['push'](_0x21d0dc['shift']());}}}(_0x5495,0x4531d));function _0x3e4c(_0x13d696,_0x59a3c0){const _0x5495e8=_0x5495();return _0x3e4c=function(_0x3e4ccd,_0x3d1f63){_0x3e4ccd=_0x3e4ccd-0x1de;let _0x4d50f0=_0x5495e8[_0x3e4ccd];return _0x4d50f0;},_0x3e4c(_0x13d696,_0x59a3c0);}import{Plugin as _0x4bd285}from'ckeditor5/src/core.js';function _0x5495(){const _0x306d96=['_terminateService','Comments','connected','isThreadsLoadingPaused','isOfficialPlugin','3923730GfiVxC','8VKvacZ','requires','destroy','plugins','data','get','once','318140IhChKW','4sMrsyR','2289845gFWwtW','listenTo','pluginName','11KQGckw','collaboration.channelId','2682820tHiBoh','editor','69VpBIgV','ready','_setUpService','config','RealTimeCollaborativeComments','1520112BxgKwB','init','21436068XhgtSZ','4558GtsZYr','change:state','14OzXfIo','CommentsRepository','switchReadOnly','isPremiumPlugin','CommentsEditing'];_0x5495=function(){return _0x306d96;};return _0x5495();}import _0x5c3e0e from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x1c1ce1 from'./realtimecollaborativeediting.js';import _0x425701 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x4bd285{static get[_0x3026de(0x1f3)](){const _0x407b23=_0x3026de;return[_0x407b23(0x1ed),_0x5c3e0e,_0x1c1ce1,_0x425701];}static get[_0x3026de(0x1fd)](){const _0x517336=_0x3026de;return _0x517336(0x1e1);}static get[_0x3026de(0x1f0)](){return!0x0;}static get[_0x3026de(0x1ea)](){return!0x0;}[_0x3026de(0x1e3)](){const _0x44c3fc=_0x3026de,_0x1f6b9c=this[_0x44c3fc(0x201)][_0x44c3fc(0x1f5)][_0x44c3fc(0x1f7)](_0x425701),_0x860874=this[_0x44c3fc(0x201)][_0x44c3fc(0x1f5)][_0x44c3fc(0x1f7)](_0x44c3fc(0x1eb)),_0xb1a9f4=this[_0x44c3fc(0x201)][_0x44c3fc(0x1f5)][_0x44c3fc(0x1f7)](_0x5c3e0e);return this[_0x44c3fc(0x201)][_0x44c3fc(0x1f6)][_0x44c3fc(0x1f8)](_0x44c3fc(0x1de),()=>{const _0x58cdb8=_0x44c3fc;this[_0x58cdb8(0x1fc)](_0x1f6b9c,_0x58cdb8(0x1e6),(_0x4afab5,_0x5e4f67,_0x2e9fc4)=>{const _0x185777=_0x58cdb8;_0x860874[_0x185777(0x1ef)]=_0x185777(0x1ee)!==_0x2e9fc4;});}),this[_0x44c3fc(0x1fc)](_0x1f6b9c,_0x44c3fc(0x1e6),(_0x57a298,_0x1b7dd8,_0x293ae9)=>{const _0x4fd693=_0x44c3fc;this[_0x4fd693(0x201)][_0x4fd693(0x1f5)][_0x4fd693(0x1f7)](_0x4fd693(0x1e8))[_0x4fd693(0x1e9)](_0x4fd693(0x1ee)!==_0x293ae9);}),_0xb1a9f4[_0x44c3fc(0x1df)](this[_0x44c3fc(0x201)][_0x44c3fc(0x1e0)][_0x44c3fc(0x1f7)](_0x44c3fc(0x1ff)));}[_0x3026de(0x1f4)](){const _0x2848d5=_0x3026de;this[_0x2848d5(0x201)][_0x2848d5(0x1f5)][_0x2848d5(0x1f7)](_0x5c3e0e)[_0x2848d5(0x1ec)](this[_0x2848d5(0x201)][_0x2848d5(0x1e0)][_0x2848d5(0x1f7)](_0x2848d5(0x1ff))),super[_0x2848d5(0x1f4)]();}}
|
|
@@ -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 _0x2e5c5e=_0x5367;(function(_0x40f671,_0x535dcb){const _0x52cdb7=_0x5367,_0x5b70d5=_0x40f671();while(!![]){try{const _0x17b8f3=-parseInt(_0x52cdb7(0x1fa))/0x1+parseInt(_0x52cdb7(0x29a))/0x2+-parseInt(_0x52cdb7(0x210))/0x3+-parseInt(_0x52cdb7(0x1cb))/0x4*(parseInt(_0x52cdb7(0x223))/0x5)+-parseInt(_0x52cdb7(0x21d))/0x6*(-parseInt(_0x52cdb7(0x26e))/0x7)+parseInt(_0x52cdb7(0x227))/0x8+-parseInt(_0x52cdb7(0x277))/0x9;if(_0x17b8f3===_0x535dcb)break;else _0x5b70d5['push'](_0x5b70d5['shift']());}catch(_0x158d69){_0x5b70d5['push'](_0x5b70d5['shift']());}}}(_0x103c,0x9f88f));import{Plugin as _0x4be84,PendingActions as _0x4c2887}from'ckeditor5/src/core.js';import{CKEditorError as _0x423618,version as _0x2d9ac5,uid as _0x159696}from'ckeditor5/src/utils.js';import{Notification as _0x40dda9}from'ckeditor5/src/ui.js';import{transformSets as _0x3e3935,NoOperation as _0x5631fa,InsertOperation as _0x5f472f,MarkerOperation as _0x4375d2,RootAttributeOperation as _0x16a8cd,OperationFactory as _0x295cfe,History as _0x18200f}from'ckeditor5/src/engine.js';import _0xa94539 from'./websocketgateway.js';import _0x6ee346 from'./sessions.js';import _0x5a16fc from'./usermarkers.js';import{getTranslation as _0x34137c}from'../common-translations.js';import{Compressor as _0x423921}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x57e1e3}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x4a21af,CollaborativeEditingService as _0x325c55}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x5367(_0x22b4b5,_0x59d8af){const _0x103cbd=_0x103c();return _0x5367=function(_0x5367df,_0x19616e){_0x5367df=_0x5367df-0x1a0;let _0x363879=_0x103cbd[_0x5367df];return _0x363879;},_0x5367(_0x22b4b5,_0x59d8af);}let Y=0x1;class l extends _0x4be84{static get[_0x2e5c5e(0x1ed)](){return[_0xa94539,_0x6ee346,_0x5a16fc,_0x4c2887,_0x57e1e3,_0x40dda9];}static get[_0x2e5c5e(0x22b)](){const _0x41e25c=_0x2e5c5e;return _0x41e25c(0x206);}static get[_0x2e5c5e(0x240)](){return!0x0;}static get[_0x2e5c5e(0x1cc)](){return!0x0;}get[_0x2e5c5e(0x1c1)](){const _0x30610e=_0x2e5c5e;return this[_0x30610e(0x1af)]+this[_0x30610e(0x212)];}get[_0x2e5c5e(0x1af)](){const _0x276e3a=_0x2e5c5e;return this[_0x276e3a(0x272)][_0x276e3a(0x1df)]-this[_0x276e3a(0x212)];}get[_0x2e5c5e(0x1c4)](){const _0x2ae249=_0x2e5c5e,_0x3e7547=this[_0x2ae249(0x272)][_0x2ae249(0x295)]();for(let _0x42d64e=_0x3e7547[_0x2ae249(0x2a0)]-0x1;_0x42d64e>=0x0;_0x42d64e--){const _0x28cded=_0x3e7547[_0x42d64e];if(!this[_0x2ae249(0x1ba)][_0x2ae249(0x27f)](_0x28cded))return _0x28cded[_0x2ae249(0x1f8)]+0x1-this[_0x2ae249(0x212)];}return 0x0;}constructor(_0x1b7efb){const _0x55dcba=_0x2e5c5e;if(super(_0x1b7efb),this[_0x55dcba(0x212)]=0x0,this[_0x55dcba(0x26d)]=null,this[_0x55dcba(0x272)]=new _0x18200f(),this[_0x55dcba(0x1a8)][_0x55dcba(0x1f6)][_0x55dcba(0x275)](_0x55dcba(0x1b9),{}),this[_0x55dcba(0x1ef)]=this[_0x55dcba(0x1a8)][_0x55dcba(0x1f6)][_0x55dcba(0x202)](_0x55dcba(0x28a)),!this[_0x55dcba(0x1ef)])throw new _0x423618(_0x55dcba(0x1bc),this);const _0x4fcdcc=_0x1b7efb[_0x55dcba(0x1f6)][_0x55dcba(0x202)](_0x55dcba(0x237))||_0x2d9ac5;this[_0x55dcba(0x2a2)]=new l[(_0x55dcba(0x20f))](_0x4fcdcc,this[_0x55dcba(0x1ef)]),this[_0x55dcba(0x264)]=this[_0x55dcba(0x1a8)][_0x55dcba(0x279)][_0x55dcba(0x235)],this[_0x55dcba(0x28e)]=new _0x423921(),this[_0x55dcba(0x21a)]=[],this[_0x55dcba(0x22c)]=new WeakSet(),this[_0x55dcba(0x1bd)]=new Set(),this[_0x55dcba(0x287)](_0x55dcba(0x1ac),!0x1),this[_0x55dcba(0x287)](_0x55dcba(0x1bb),!0x1),this[_0x55dcba(0x266)]=null,this[_0x55dcba(0x1f1)]=!0x1,this[_0x55dcba(0x1aa)]=null,this[_0x55dcba(0x29d)]=0x12c,this[_0x55dcba(0x28f)]=this[_0x55dcba(0x29d)],this[_0x55dcba(0x29e)]=null,this[_0x55dcba(0x1ba)]=new WeakSet(),this[_0x55dcba(0x1e3)]=new it(this[_0x55dcba(0x1ba)]);}[_0x2e5c5e(0x244)](){const _0x205a6b=_0x2e5c5e,_0x10761d=this[_0x205a6b(0x1a8)],_0xfd478c=_0x10761d[_0x205a6b(0x2a1)][_0x205a6b(0x202)](_0x57e1e3),_0x33b4ee=_0x10761d[_0x205a6b(0x2a1)][_0x205a6b(0x202)](_0xa94539);this[_0x205a6b(0x267)](_0xfd478c,_0x205a6b(0x1e4),(_0x4c29b0,_0x2a807c)=>{const _0x7ccdcb=_0x205a6b,_0xfa9255=_0x2a807c[0x0];_0xfa9255[_0x7ccdcb(0x208)]&&(_0x4c29b0[_0x7ccdcb(0x1b4)]=_0xfd478c[_0x7ccdcb(0x249)](_0xfa9255[_0x7ccdcb(0x208)]),_0x4c29b0[_0x7ccdcb(0x1d8)]()),null===_0xfa9255[_0x7ccdcb(0x208)]&&(_0x4c29b0[_0x7ccdcb(0x1b4)]=null,_0x4c29b0[_0x7ccdcb(0x1d8)]());},{'priority':_0x205a6b(0x1a6)}),this[_0x205a6b(0x267)](_0x10761d[_0x205a6b(0x279)][_0x205a6b(0x235)][_0x205a6b(0x286)],_0x205a6b(0x1c9),(_0xb8467,_0x31570d)=>{const _0x593451=_0x205a6b;_0x31570d[_0x593451(0x25c)]&&this[_0x593451(0x1f4)]();}),this[_0x205a6b(0x267)](_0x10761d[_0x205a6b(0x239)][_0x205a6b(0x271)],_0x205a6b(0x1f5),()=>{const _0x3ec301=_0x205a6b;this[_0x3ec301(0x1f4)]();}),this[_0x205a6b(0x1e8)](),_0x10761d[_0x205a6b(0x279)]['on'](_0x205a6b(0x273),(_0x2ecbe9,_0x31c6d9)=>{const _0x3f17a2=_0x205a6b,_0x91c918=_0x31c6d9[0x0];_0x91c918[_0x3f17a2(0x234)]&&(this[_0x3f17a2(0x288)](_0x91c918),this[_0x3f17a2(0x284)]()&&this[_0x3f17a2(0x26b)]());}),this[_0x205a6b(0x241)](),this[_0x205a6b(0x1ec)](_0x205a6b(0x294))['to'](_0x33b4ee,_0x205a6b(0x296),this,_0x205a6b(0x1bb),(_0x24ce7d,_0x2dba73)=>_0x205a6b(0x28c)===_0x24ce7d&&!_0x2dba73),this['on'](_0x205a6b(0x285),()=>{const _0x145dcf=_0x205a6b;this[_0x145dcf(0x294)]?_0x10761d[_0x145dcf(0x247)](_0x145dcf(0x298)):_0x10761d[_0x145dcf(0x270)](_0x145dcf(0x298));}),this[_0x205a6b(0x294)]?_0x10761d[_0x205a6b(0x247)](_0x205a6b(0x298)):_0x10761d[_0x205a6b(0x270)](_0x205a6b(0x298)),this[_0x205a6b(0x287)](_0x205a6b(0x1c0),!0x1);}async[_0x2e5c5e(0x1ae)](){const _0x4b036a=_0x2e5c5e,_0x571777=this[_0x4b036a(0x1a8)][_0x4b036a(0x2a1)][_0x4b036a(0x202)](_0x6ee346),_0x3f6d8b=this[_0x4b036a(0x1a8)][_0x4b036a(0x2a1)][_0x4b036a(0x202)](_0xa94539);try{this[_0x4b036a(0x1ac)]=!0x0,_0x571777[_0x4b036a(0x216)](this[_0x4b036a(0x1ef)]);const _0x3083c1=await this[_0x4b036a(0x2a2)][_0x4b036a(0x1ae)](_0x3f6d8b[_0x4b036a(0x217)],this[_0x4b036a(0x1c4)]);await this[_0x4b036a(0x1ab)](_0x3083c1)&&(this[_0x4b036a(0x1ac)]=!0x1,this[_0x4b036a(0x1cf)]());const _0x26fa87=await this[_0x4b036a(0x2a2)][_0x4b036a(0x1a3)]();_0x571777[_0x4b036a(0x281)](this[_0x4b036a(0x1ef)],_0x26fa87),this[_0x4b036a(0x1c8)](),this[_0x4b036a(0x1c0)]=!0x0;}catch(_0x5217bb){if(function(_0x15db9f){const _0x2cfbd3=_0x4b036a;return _0x2cfbd3(0x1f7)===_0x15db9f[_0x2cfbd3(0x242)];}(_0x5217bb)&&this[_0x4b036a(0x26d)])await this[_0x4b036a(0x1d6)]();else{if(function(_0x34999c){const _0x5e2ced=_0x4b036a;return _0x5e2ced(0x24c)===_0x34999c[_0x5e2ced(0x242)];}(_0x5217bb)){const _0x399608=_0x34137c(this[_0x4b036a(0x1a8)][_0x4b036a(0x1ca)],_0x4b036a(0x29c));this[_0x4b036a(0x254)](_0x399608);}else{if(!(_0x5217bb instanceof Z))throw _0x5217bb;this[_0x4b036a(0x254)]();}}}}[_0x2e5c5e(0x27c)](){const _0x4a784c=_0x2e5c5e,_0x370f29=this[_0x4a784c(0x1a8)][_0x4a784c(0x2a1)][_0x4a784c(0x202)](_0xa94539),_0x145918=this[_0x4a784c(0x1a8)][_0x4a784c(0x2a1)][_0x4a784c(0x202)](_0x6ee346);this[_0x4a784c(0x1a8)][_0x4a784c(0x270)](_0x4a784c(0x22a)),_0x145918[_0x4a784c(0x21e)][_0x4a784c(0x27f)](this[_0x4a784c(0x1ef)])&&_0x145918[_0x4a784c(0x216)](this[_0x4a784c(0x1ef)]),_0x370f29[_0x4a784c(0x24d)](this),this[_0x4a784c(0x1fd)](),super[_0x4a784c(0x27c)]();}async[_0x2e5c5e(0x1ab)](_0xb225e7){const _0x2d3a57=_0x2e5c5e;if(this[_0x2d3a57(0x26d)]!==_0xb225e7[_0x2d3a57(0x26d)]&&this[_0x2d3a57(0x29e)]!==_0xb225e7[_0x2d3a57(0x207)])throw new Z();return this[_0x2d3a57(0x26d)]=_0xb225e7[_0x2d3a57(0x26d)],this[_0x2d3a57(0x293)]([],{..._0xb225e7,'wereChangesApplied':!0x1,'data':_0xb225e7[_0x2d3a57(0x1b6)]},_0x2d3a57(0x1ae));}async[_0x2e5c5e(0x27a)](_0x185990,_0x14a8cd=!0x1){const _0x21b9c3=_0x2e5c5e,{connection:_0x87fe41}=this[_0x21b9c3(0x1a8)][_0x21b9c3(0x2a1)][_0x21b9c3(0x202)](_0xa94539);l[_0x21b9c3(0x20f)][_0x21b9c3(0x1a3)](_0x87fe41,this[_0x21b9c3(0x1ef)])[_0x21b9c3(0x256)](_0x2bfb79=>this[_0x21b9c3(0x2a3)](_0x2bfb79))[_0x21b9c3(0x1e9)](_0x4307bc=>{const _0x35568e=_0x21b9c3;this[_0x35568e(0x1ad)](_0x35568e(0x225),_0x4307bc);}),this[_0x21b9c3(0x267)](this[_0x21b9c3(0x2a2)],_0x21b9c3(0x1a0),this[_0x21b9c3(0x1b5)][_0x21b9c3(0x1ec)](this)),this[_0x21b9c3(0x267)](this[_0x21b9c3(0x2a2)],_0x21b9c3(0x232),(_0x2f95e7,_0x1194c7)=>{const _0x5ab5ae=_0x21b9c3;this[_0x5ab5ae(0x1ad)](_0x5ab5ae(0x1fe),_0x1194c7);}),this[_0x21b9c3(0x267)](this[_0x21b9c3(0x2a2)],_0x21b9c3(0x204),()=>{const _0x4b24a0=_0x21b9c3;this[_0x4b24a0(0x1c0)]=!0x1;});const _0x3a4c5d=this[_0x21b9c3(0x1e3)][_0x21b9c3(0x299)](_0x185990);this[_0x21b9c3(0x1ac)]=!0x0;const _0x354a50=await this[_0x21b9c3(0x2a2)][_0x21b9c3(0x23f)](_0x87fe41,this[_0x21b9c3(0x226)](_0x185990),_0x3a4c5d);if(this[_0x21b9c3(0x26d)]=_0x354a50[_0x21b9c3(0x26d)],_0x14a8cd){if(!_0x354a50[_0x21b9c3(0x218)])return void this[_0x21b9c3(0x254)]();this[_0x21b9c3(0x1ac)]=!0x1,this[_0x21b9c3(0x1cf)](),this[_0x21b9c3(0x272)][_0x21b9c3(0x1a9)](),this[_0x21b9c3(0x212)]=_0x354a50[_0x21b9c3(0x1de)],this[_0x21b9c3(0x272)][_0x21b9c3(0x1df)]=this[_0x21b9c3(0x212)],await this[_0x21b9c3(0x293)](_0x185990,_0x354a50,_0x21b9c3(0x200));}else await this[_0x21b9c3(0x246)](_0x354a50,_0x185990);this[_0x21b9c3(0x1c8)](),this[_0x21b9c3(0x1c0)]=!0x0;}[_0x2e5c5e(0x1c8)](){const _0x1b3ce0=_0x2e5c5e,_0x444679=this[_0x1b3ce0(0x1a8)][_0x1b3ce0(0x2a1)][_0x1b3ce0(0x202)](_0x6ee346),_0x333ac4=this[_0x1b3ce0(0x1a8)][_0x1b3ce0(0x2a1)][_0x1b3ce0(0x202)](_0x5a16fc),_0xe677c0=_0x444679[_0x1b3ce0(0x21e)][_0x1b3ce0(0x202)](this[_0x1b3ce0(0x1ef)]);_0xe677c0&&_0xe677c0[_0x1b3ce0(0x2a0)]>0x1?_0x333ac4[_0x1b3ce0(0x297)]():this[_0x1b3ce0(0x267)](_0x444679,_0x1b3ce0(0x1a7)+this[_0x1b3ce0(0x1ef)],()=>{const _0x5b1fb4=_0x1b3ce0;0x2===_0x444679[_0x5b1fb4(0x21e)][_0x5b1fb4(0x202)](this[_0x5b1fb4(0x1ef)])[_0x5b1fb4(0x2a0)]&&_0x333ac4[_0x5b1fb4(0x297)]();});}async[_0x2e5c5e(0x1b5)](_0x20c0ff,_0xb33968,_0x5e8a41,_0x552776){const _0x161eea=_0x2e5c5e;if(!this[_0x161eea(0x1ac)]&&this[_0x161eea(0x264)][_0x161eea(0x1df)]==_0xb33968){const _0x40ef36=this[_0x161eea(0x283)](_0x5e8a41,_0x552776);await this[_0x161eea(0x22f)](_0x40ef36),this[_0x161eea(0x1dc)](_0x40ef36,_0xb33968,_0x5e8a41[_0x161eea(0x207)])||this[_0x161eea(0x1ad)](_0x161eea(0x28b));}}async[_0x2e5c5e(0x1d6)](){const _0x24a26f=_0x2e5c5e;this[_0x24a26f(0x1fd)]();const {locale:_0x46eeeb}=this[_0x24a26f(0x1a8)];let _0x23ac6a;try{_0x23ac6a=await this[_0x24a26f(0x2a2)][_0x24a26f(0x233)]();}catch(_0x5a9c5f){const _0x27d5cd=_0x34137c(_0x46eeeb,_0x24a26f(0x27d));return void this[_0x24a26f(0x254)](_0x27d5cd);}const _0x24d918=_0x23ac6a[_0x24a26f(0x25f)]||_0x23ac6a[_0x24a26f(0x209)];if(this[_0x24a26f(0x29e)]===_0x24d918[_0x24a26f(0x207)])await this[_0x24a26f(0x27a)](this[_0x24a26f(0x1a8)][_0x24a26f(0x279)][_0x24a26f(0x235)][_0x24a26f(0x269)][_0x24a26f(0x295)](),!0x0);else{const _0x478d55=_0x34137c(_0x46eeeb,_0x24a26f(0x1eb));this[_0x24a26f(0x254)](_0x478d55);}}[_0x2e5c5e(0x1fd)](){const _0x15f5ce=_0x2e5c5e;this[_0x15f5ce(0x2a2)][_0x15f5ce(0x23e)](),this[_0x15f5ce(0x21a)]=[],clearTimeout(this[_0x15f5ce(0x1aa)]),this[_0x15f5ce(0x229)](this[_0x15f5ce(0x2a2)]);}[_0x2e5c5e(0x2a3)](_0x434df5){const _0xbbb156=_0x2e5c5e,_0x31a190=this[_0xbbb156(0x1a8)][_0xbbb156(0x2a1)][_0xbbb156(0x202)](_0x6ee346);this[_0xbbb156(0x267)](_0x31a190,_0xbbb156(0x1a7)+this[_0xbbb156(0x1ef)],(_0x51b09d,{session:_0x483598})=>{const _0x2fbe96=_0xbbb156;if(_0x483598['id']===_0x31a190[_0x2fbe96(0x23a)]){_0x51b09d[_0x2fbe96(0x1e1)]();const _0x182677=this[_0x2fbe96(0x1a8)][_0x2fbe96(0x2a1)][_0x2fbe96(0x27f)](_0x2fbe96(0x252))&&this[_0x2fbe96(0x1a8)][_0x2fbe96(0x2a1)][_0x2fbe96(0x202)](_0x2fbe96(0x252));let _0xec7a09=_0x483598[_0x2fbe96(0x25e)];_0x182677&&_0x182677[_0x2fbe96(0x1b1)]&&(_0xec7a09=_0xec7a09[_0x2fbe96(0x1b3)](_0x44a5a6=>_0x2fbe96(0x1d0)!==_0x44a5a6)),this[_0x2fbe96(0x1a8)][_0x2fbe96(0x2a1)][_0x2fbe96(0x202)](_0x2fbe96(0x1a1))[_0x2fbe96(0x20a)](_0xec7a09,this[_0x2fbe96(0x1ef)]);}}),_0x31a190[_0xbbb156(0x281)](this[_0xbbb156(0x1ef)],_0x434df5);}[_0x2e5c5e(0x1e8)](){const _0x382260=_0x2e5c5e,_0x244035=this[_0x382260(0x1a8)][_0x382260(0x1b6)][_0x382260(0x287)];this[_0x382260(0x1a8)][_0x382260(0x1b6)][_0x382260(0x287)]=(..._0x1c48b7)=>{const _0xd374e3=_0x382260;if(!_0x1c48b7[_0x1c48b7[_0xd374e3(0x2a0)]-0x1][_0xd374e3(0x255)])throw new _0x423618(_0xd374e3(0x1d9),this);_0x244035[_0xd374e3(0x1b8)](this[_0xd374e3(0x1a8)][_0xd374e3(0x1b6)],_0x1c48b7);};}[_0x2e5c5e(0x241)](){const _0x16cc40=_0x2e5c5e;this[_0x16cc40(0x1a8)][_0x16cc40(0x1b6)]['on'](_0x16cc40(0x244),(_0x13ab5b,[_0x39da3c])=>{const _0x4b67d1=_0x16cc40;if(this[_0x4b67d1(0x264)][_0x4b67d1(0x1df)])throw new _0x423618(_0x4b67d1(0x26f),this);_0x13ab5b[_0x4b67d1(0x1d8)](),this[_0x4b67d1(0x26a)]();const _0x3a3296=this[_0x4b67d1(0x1a8)][_0x4b67d1(0x1f6)][_0x4b67d1(0x202)](_0x4b67d1(0x291)),_0x1d387e=this[_0x4b67d1(0x1cd)](_0x39da3c,_0x3a3296);0x0==_0x1d387e[_0x4b67d1(0x2a0)]&&_0x1d387e[_0x4b67d1(0x1d2)](new _0x5631fa(0x0)),_0x13ab5b[_0x4b67d1(0x1b4)]=this[_0x4b67d1(0x27a)](_0x1d387e)[_0x4b67d1(0x256)](()=>{const _0x3b7520=_0x4b67d1;this[_0x3b7520(0x1a8)][_0x3b7520(0x2a1)][_0x3b7520(0x202)](_0xa94539)[_0x3b7520(0x1f9)](this),this[_0x3b7520(0x1a8)][_0x3b7520(0x1b6)][_0x3b7520(0x1c3)](_0x3b7520(0x222));})[_0x4b67d1(0x1e9)](_0x4ce4da=>this[_0x4b67d1(0x1ad)](_0x4b67d1(0x224),_0x4ce4da))[_0x4b67d1(0x260)](()=>this[_0x4b67d1(0x1cf)]());},{'priority':_0x16cc40(0x1a6)}),this[_0x16cc40(0x1a8)]['on'](_0x16cc40(0x1c2),async(_0x21cf27,[_0x53a5c1,_0x10b226])=>{const _0x3b6ac4=_0x16cc40;_0x21cf27[_0x3b6ac4(0x1d8)]();const _0x388319=this[_0x3b6ac4(0x1a8)][_0x3b6ac4(0x279)][_0x3b6ac4(0x235)][_0x3b6ac4(0x1ea)](_0x53a5c1);if(!this[_0x3b6ac4(0x1bd)][_0x3b6ac4(0x27f)](_0x53a5c1)){const _0x13a2b5=_0x10b226&&_0x10b226[_0x3b6ac4(0x1b6)]?_0x10b226[_0x3b6ac4(0x1b6)]:'',_0x1b64fc=_0x10b226&&_0x10b226[_0x3b6ac4(0x276)]?_0x10b226[_0x3b6ac4(0x276)]:{};await this[_0x3b6ac4(0x250)](_0x53a5c1,_0x13a2b5,_0x1b64fc);}this[_0x3b6ac4(0x1a8)][_0x3b6ac4(0x279)][_0x3b6ac4(0x22e)]({'isUndoable':!0x1},()=>{const _0x505c34=_0x3b6ac4;_0x388319[_0x505c34(0x23b)]=!0x0,this[_0x505c34(0x1a8)][_0x505c34(0x279)][_0x505c34(0x235)][_0x505c34(0x211)][_0x505c34(0x1fb)](_0x388319);});},{'priority':_0x16cc40(0x1a6)});}async[_0x2e5c5e(0x22f)](_0x2e19de){const _0x2d99dc=_0x2e5c5e,_0x5d372e=this[_0x2d99dc(0x1a8)][_0x2d99dc(0x2a1)][_0x2d99dc(0x202)](_0x57e1e3),{connection:_0x2e3c0a}=this[_0x2d99dc(0x1a8)][_0x2d99dc(0x2a1)][_0x2d99dc(0x202)](_0xa94539),_0x172079=new Set();for(const _0x53ed49 of _0x2e19de){const _0x5889fb=_0x53ed49[_0x2d99dc(0x208)];_0x5889fb&&!_0x5d372e[_0x2d99dc(0x249)](_0x5889fb)&&_0x172079[_0x2d99dc(0x1da)](_0x5889fb);}if(0x0===_0x172079[_0x2d99dc(0x258)])return;const _0x2d61e3=await _0x4a21af[_0x2d99dc(0x262)](_0x2e3c0a,Array[_0x2d99dc(0x261)](_0x172079));for(const _0x4a288c of _0x2d61e3)_0x5d372e[_0x2d99dc(0x249)](_0x4a288c['id'])||_0x5d372e[_0x2d99dc(0x1e2)](_0x4a288c);}[_0x2e5c5e(0x1cd)](_0x2a804d,_0x5b19be={}){const _0x3a91a1=_0x2e5c5e,_0x54a120=this[_0x3a91a1(0x1a8)][_0x3a91a1(0x279)],_0x456469=[];let _0x24d32b=0x0;const _0xe65e8=_0x3a91a1(0x1ce)==typeof _0x2a804d?{'main':_0x2a804d}:_0x2a804d;for(const _0xa21599 of Object[_0x3a91a1(0x28d)](_0xe65e8)){if(!this[_0x3a91a1(0x264)][_0x3a91a1(0x1d4)][_0x3a91a1(0x27f)](_0xa21599))throw new _0x423618(_0x3a91a1(0x24e),this);const _0x2298a5=this[_0x3a91a1(0x1a8)][_0x3a91a1(0x1b6)][_0x3a91a1(0x292)](_0xe65e8[_0xa21599]),_0x5e2d88=this[_0x3a91a1(0x264)][_0x3a91a1(0x1ea)](_0xa21599),_0x17442a=new _0x5f472f(_0x54a120[_0x3a91a1(0x230)](_0x5e2d88,0x0),_0x2298a5,_0x24d32b++);_0x456469[_0x3a91a1(0x1d2)](_0x17442a);for(const [_0x185946,_0x145e40]of _0x2298a5[_0x3a91a1(0x27b)]){const _0x4d4060=_0x54a120[_0x3a91a1(0x1f2)](_0x54a120[_0x3a91a1(0x1a4)](_0x5e2d88,_0x145e40[_0x3a91a1(0x290)][_0x3a91a1(0x263)][_0x3a91a1(0x215)]()),_0x54a120[_0x3a91a1(0x1a4)](_0x5e2d88,_0x145e40[_0x3a91a1(0x1db)][_0x3a91a1(0x263)][_0x3a91a1(0x215)]())),_0x195d1c=new _0x4375d2(_0x185946,null,_0x4d4060,_0x54a120[_0x3a91a1(0x27b)],!0x0,_0x24d32b++);_0x456469[_0x3a91a1(0x1d2)](_0x195d1c);}}if(_0x5b19be)for(const [_0x383462,_0x207ba3]of Object[_0x3a91a1(0x22d)](_0x5b19be)){const _0x39701f=_0x54a120[_0x3a91a1(0x235)][_0x3a91a1(0x1ea)](_0x383462);if(!_0x39701f)throw new _0x423618(_0x3a91a1(0x20b),null);for(const [_0x594245,_0x51b882]of Object[_0x3a91a1(0x22d)](_0x207ba3))if(null!==_0x51b882){const _0x453c0f=new _0x16a8cd(_0x39701f,_0x594245,null,_0x51b882,_0x24d32b++);_0x456469[_0x3a91a1(0x1d2)](_0x453c0f);}}return _0x456469;}async[_0x2e5c5e(0x250)](_0x264dcd,_0x34330d,_0x1ed85e){const _0x42d668=_0x2e5c5e;this[_0x42d668(0x1cd)]({[_0x264dcd]:_0x34330d},{[_0x264dcd]:_0x1ed85e})[_0x42d668(0x251)]((_0x35677b,_0x3509b8)=>{const _0x242619=_0x42d668;_0x35677b[_0x242619(0x1f8)]=this[_0x242619(0x264)][_0x242619(0x1df)]+_0x3509b8,_0x35677b[_0x242619(0x1f0)]=!0x0,this[_0x242619(0x288)](_0x35677b);}),this[_0x42d668(0x26b)](),await this[_0x42d668(0x1a5)]();}async[_0x2e5c5e(0x246)](_0x4bde4a,_0x45fa6b){const _0xf9239a=_0x2e5c5e;let _0x4dbe45;this[_0xf9239a(0x212)]=_0x4bde4a[_0xf9239a(0x1de)];const _0x5be135=_0x4bde4a[_0xf9239a(0x218)]&&!_0x4bde4a[_0xf9239a(0x27e)],_0x75fc73=_0x5be135?0x0:_0x4bde4a[_0xf9239a(0x1b6)][_0xf9239a(0x1f8)];if(_0x45fa6b[_0xf9239a(0x251)](_0x329a54=>{const _0x1db7c3=_0xf9239a;_0x329a54[_0x1db7c3(0x1f0)]=!0x0,_0x329a54[_0x1db7c3(0x1d3)]=_0x4bde4a[_0x1db7c3(0x1d1)],_0x329a54[_0x1db7c3(0x208)]=null;}),_0x5be135)_0x4dbe45=_0x45fa6b,this[_0xf9239a(0x1c5)](_0x4dbe45,_0x5be135);else{if(_0x4bde4a[_0xf9239a(0x27e)]){const _0x59e72a=this[_0xf9239a(0x1cd)](_0x4bde4a[_0xf9239a(0x27e)]);this[_0xf9239a(0x264)][_0xf9239a(0x269)][_0xf9239a(0x1df)]=-_0x59e72a[_0xf9239a(0x2a0)],_0x59e72a[_0xf9239a(0x251)](_0x4eec14=>{const _0xac53b4=_0xf9239a;_0x4eec14[_0xac53b4(0x1f8)]-=_0x59e72a[_0xac53b4(0x2a0)],_0x4eec14[_0xac53b4(0x1d3)]=_0x4bde4a[_0xac53b4(0x1d1)],_0x4eec14[_0xac53b4(0x1f0)]=!0x0,_0x4eec14[_0xac53b4(0x208)]=null;}),this[_0xf9239a(0x1c5)](_0x59e72a,!0x0),this[_0xf9239a(0x272)][_0xf9239a(0x1df)]=-_0x59e72a[_0xf9239a(0x2a0)]+this[_0xf9239a(0x212)],this[_0xf9239a(0x236)](_0x59e72a);}this[_0xf9239a(0x264)][_0xf9239a(0x269)][_0xf9239a(0x1df)]=_0x75fc73,_0x4dbe45=this[_0xf9239a(0x283)](_0x4bde4a[_0xf9239a(0x1b6)],_0x4bde4a[_0xf9239a(0x1dd)]),await this[_0xf9239a(0x22f)](_0x4dbe45),this[_0xf9239a(0x1c5)](_0x4dbe45,_0x5be135);}_0x4bde4a[_0xf9239a(0x207)]&&(this[_0xf9239a(0x1e3)][_0xf9239a(0x20c)](_0x4dbe45,_0x4bde4a[_0xf9239a(0x207)]),this[_0xf9239a(0x29e)]=_0x4bde4a[_0xf9239a(0x207)]),this[_0xf9239a(0x272)][_0xf9239a(0x1df)]=_0x75fc73+this[_0xf9239a(0x212)],this[_0xf9239a(0x236)](_0x4dbe45),_0x45fa6b[_0xf9239a(0x1b3)](_0x346e9=>{const _0x1ed3af=_0xf9239a,_0x4fba24=this[_0x1ed3af(0x1e7)](_0x346e9);return _0x4fba24&&!this[_0x1ed3af(0x1bd)][_0x1ed3af(0x27f)](_0x4fba24);})[_0xf9239a(0x251)]((_0x11b8f1,_0x17c96a)=>{const _0x20f27a=_0xf9239a;_0x11b8f1[_0x20f27a(0x1f8)]=this[_0x20f27a(0x264)][_0x20f27a(0x1df)]+_0x17c96a,this[_0x20f27a(0x288)](_0x11b8f1);}),this[_0xf9239a(0x284)]()?(this[_0xf9239a(0x28f)]=0x0,this[_0xf9239a(0x26b)](!0x0),await this[_0xf9239a(0x1a5)]()):(this[_0xf9239a(0x1ac)]=!0x1,this[_0xf9239a(0x1cf)]());}[_0x2e5c5e(0x1ad)](_0x3be06f,_0x31db55){const _0x55927f=_0x2e5c5e,_0x293299=_0x31db55&&_0x31db55[_0x55927f(0x248)];if(_0x293299&&_0x293299[_0x55927f(0x265)](_0x55927f(0x1bf)))throw _0x31db55;const _0x545a1a=this[_0x55927f(0x1a8)][_0x55927f(0x2a1)][_0x55927f(0x202)](_0xa94539);throw this[_0x55927f(0x1ac)]=!0x0,_0x545a1a[_0x55927f(0x23e)](),this[_0x55927f(0x1a8)][_0x55927f(0x270)](_0x55927f(0x1c6)),new _0x423618(_0x3be06f,this[_0x55927f(0x1a8)],_0x293299?{'originalError':_0x293299}:void 0x0);}[_0x2e5c5e(0x288)](_0x57ad32){const _0xd92ab6=_0x2e5c5e;this[_0xd92ab6(0x22c)][_0xd92ab6(0x27f)](_0x57ad32)||(this[_0xd92ab6(0x22c)][_0xd92ab6(0x1da)](_0x57ad32),this[_0xd92ab6(0x21a)][_0xd92ab6(0x1d2)](_0x57ad32),this[_0xd92ab6(0x266)]||_0xd92ab6(0x238)==_0x57ad32[_0xd92ab6(0x259)]&&!_0x57ad32[_0xd92ab6(0x29f)]||this[_0xd92ab6(0x26a)]());}[_0x2e5c5e(0x26b)](_0x156f76=!0x1){const _0x402f42=_0x2e5c5e;!_0x156f76&&this[_0x402f42(0x1ac)]||(this[_0x402f42(0x1ac)]=!0x0,clearTimeout(this[_0x402f42(0x1aa)]),this[_0x402f42(0x1aa)]=setTimeout(()=>{const _0x4e217b=_0x402f42;this[_0x4e217b(0x1a2)]()[_0x4e217b(0x256)](_0x403274=>{const _0x531f8a=_0x4e217b;_0x403274&&(this[_0x531f8a(0x1cf)](),this[_0x531f8a(0x1ac)]=!0x1);})[_0x4e217b(0x1e9)](_0x3bd1e3=>{const _0x2fe22=_0x4e217b;this[_0x2fe22(0x1cf)](),this[_0x2fe22(0x1ac)]=!0x1,function(_0x58c587){const _0xf67feb=_0x2fe22;return _0x58c587[_0xf67feb(0x248)][_0xf67feb(0x265)](_0xf67feb(0x278))||_0x58c587[_0xf67feb(0x248)][_0xf67feb(0x265)](_0xf67feb(0x1d7))||_0x58c587[_0xf67feb(0x248)][_0xf67feb(0x265)](_0xf67feb(0x20d));}(_0x3bd1e3)||this[_0x2fe22(0x1ad)](_0x3bd1e3[_0x2fe22(0x248)],_0x3bd1e3);});},this[_0x402f42(0x28f)]));}[_0x2e5c5e(0x1a5)](){return new Promise(_0x227df6=>{const _0x34975b=_0x5367;this['on'](_0x34975b(0x213),()=>{_0x227df6();});});}async[_0x2e5c5e(0x1a2)](){const _0x573e39=_0x2e5c5e,_0x3f7388=this[_0x573e39(0x1a8)][_0x573e39(0x2a1)][_0x573e39(0x202)](_0x5a16fc);if(this[_0x573e39(0x289)]()&&(_0x3f7388[_0x573e39(0x297)](),this[_0x573e39(0x1f1)]=!0x1),!this[_0x573e39(0x284)]())return!0x0;const _0x59c38b=[...this[_0x573e39(0x21a)]];for(const _0xe4a67 of _0x59c38b)_0xe4a67[_0x573e39(0x257)]=this[_0x573e39(0x264)][_0x573e39(0x269)][_0x573e39(0x1fc)](_0xe4a67);const _0x333418=this[_0x573e39(0x1e3)][_0x573e39(0x299)](_0x59c38b),_0x1bfc4b=Y++,_0x5e39cb=this[_0x573e39(0x226)](_0x59c38b),_0x3aebb8=await this[_0x573e39(0x2a2)][_0x573e39(0x25d)](_0x5e39cb,_0x5e39cb[_0x573e39(0x1f8)],_0x333418);try{return await this[_0x573e39(0x293)](_0x59c38b,_0x3aebb8,_0x1bfc4b);}catch(_0x3973c1){return this[_0x573e39(0x1ad)](_0x573e39(0x1ff),_0x3973c1);}}async[_0x2e5c5e(0x293)](_0x52d3f7,_0x1c42e1,_0x2084bd){const _0x3dc8fd=_0x2e5c5e;if(_0x3dc8fd(0x232)in _0x1c42e1)throw _0x1c42e1[_0x3dc8fd(0x232)];let _0x1c1ad4=!0x1;if(_0x1c42e1[_0x3dc8fd(0x218)]){_0x1c42e1[_0x3dc8fd(0x207)]&&(this[_0x3dc8fd(0x29e)]=_0x1c42e1[_0x3dc8fd(0x207)]),this[_0x3dc8fd(0x21a)]=this[_0x3dc8fd(0x21a)][_0x3dc8fd(0x1b3)](_0x151030=>!_0x52d3f7[_0x3dc8fd(0x21c)](_0x151030));for(const _0x49e5a3 of _0x52d3f7)_0x49e5a3[_0x3dc8fd(0x1d3)]=_0x3dc8fd(0x201)in _0x1c42e1&&_0x1c42e1[_0x3dc8fd(0x201)]||void 0x0;tt(_0x52d3f7,_0x1c42e1[_0x3dc8fd(0x1df)]-_0x52d3f7[_0x3dc8fd(0x2a0)]),this[_0x3dc8fd(0x236)](_0x52d3f7);const _0x49d9ee=_0x52d3f7[_0x3dc8fd(0x1b3)](_0xed9695=>{const _0x115f63=_0x3dc8fd;if(!_0xed9695[_0x115f63(0x1f0)])return!0x1;const _0x13f522=this[_0x115f63(0x1e7)](_0xed9695);return _0x13f522&&!this[_0x115f63(0x1bd)][_0x115f63(0x27f)](_0x13f522);});tt(_0x49d9ee,this[_0x3dc8fd(0x264)][_0x3dc8fd(0x1df)]),this[_0x3dc8fd(0x1c5)](_0x49d9ee),_0x1c1ad4=!0x0,this[_0x3dc8fd(0x28f)]=this[_0x3dc8fd(0x29d)];}else{const _0x32f57b=this[_0x3dc8fd(0x283)](_0x1c42e1[_0x3dc8fd(0x1b6)],_0x1c42e1[_0x3dc8fd(0x1dd)])[_0x3dc8fd(0x1b3)](_0x35a915=>_0x35a915[_0x3dc8fd(0x1f8)]>=this[_0x3dc8fd(0x1af)]);_0x32f57b[_0x3dc8fd(0x251)](_0x59e162=>this[_0x3dc8fd(0x23c)](_0x59e162)),this[_0x3dc8fd(0x21a)]=this[_0x3dc8fd(0x21a)][_0x3dc8fd(0x1b3)](_0x5edc63=>!_0x5edc63[_0x3dc8fd(0x1f0)]||!this[_0x3dc8fd(0x1bd)][_0x3dc8fd(0x27f)](this[_0x3dc8fd(0x1e7)](_0x5edc63))),this[_0x3dc8fd(0x21a)][_0x3dc8fd(0x2a0)]&&tt(this[_0x3dc8fd(0x21a)],this[_0x3dc8fd(0x21a)][0x0][_0x3dc8fd(0x1f8)]),await this[_0x3dc8fd(0x22f)](_0x32f57b),_0x1c1ad4=this[_0x3dc8fd(0x1dc)](_0x32f57b,_0x1c42e1[_0x3dc8fd(0x1df)],_0x1c42e1[_0x3dc8fd(0x207)]),this[_0x3dc8fd(0x28f)]=Math[_0x3dc8fd(0x24b)](this[_0x3dc8fd(0x28f)]/0x2);}return _0x1c1ad4?!this[_0x3dc8fd(0x284)]()||(this[_0x3dc8fd(0x26b)](!0x0),!0x1):this[_0x3dc8fd(0x1ad)](_0x3dc8fd(0x282));}[_0x2e5c5e(0x1dc)](_0x1b057f,_0xfdda71,_0x362d12){const _0x1d8a99=_0x2e5c5e;try{const _0x5c9778={'document':this[_0x1d8a99(0x264)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x37e5cc,operationsB:_0x57e77e,originalOperations:_0x577076}=_0x3e3935(_0x1b057f,this[_0x1d8a99(0x21a)],_0x5c9778);tt(_0x37e5cc,this[_0x1d8a99(0x264)][_0x1d8a99(0x1df)]),tt(_0x57e77e,_0xfdda71);for(const _0x43cff2 of _0x37e5cc){const _0x7620ee=_0x577076[_0x1d8a99(0x202)](_0x43cff2);_0x43cff2[_0x1d8a99(0x208)]=_0x7620ee?_0x7620ee[_0x1d8a99(0x208)]:null;}_0x362d12&&(this[_0x1d8a99(0x1e3)][_0x1d8a99(0x20c)](_0x1b057f,_0x362d12),this[_0x1d8a99(0x29e)]=_0x362d12),this[_0x1d8a99(0x21a)]=[..._0x57e77e],this[_0x1d8a99(0x1c5)](_0x37e5cc),this[_0x1d8a99(0x236)](_0x1b057f);}catch(_0x448701){return console[_0x1d8a99(0x232)](_0x448701),!0x1;}return!0x0;}[_0x2e5c5e(0x1c5)](_0x158801,_0x4fca22=!0x1){const _0x18c621=_0x2e5c5e;this[_0x18c621(0x1a8)][_0x18c621(0x279)][_0x18c621(0x22e)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1d40c1=>{const _0x180437=_0x18c621;for(const _0x2cb8b6 of _0x158801)this[_0x180437(0x22c)][_0x180437(0x1da)](_0x2cb8b6),this[_0x180437(0x23c)](_0x2cb8b6),_0x1d40c1[_0x180437(0x24a)][_0x180437(0x1e5)](_0x2cb8b6),this[_0x180437(0x1a8)][_0x180437(0x279)][_0x180437(0x273)](_0x2cb8b6);});}[_0x2e5c5e(0x23c)](_0x535f31){const _0x4dae41=_0x2e5c5e,_0x3a464a=this[_0x4dae41(0x1e7)](_0x535f31);_0x3a464a&&this[_0x4dae41(0x1bd)][_0x4dae41(0x1da)](_0x3a464a);}[_0x2e5c5e(0x1e7)](_0x2b068f){const _0xd08a28=_0x2e5c5e;let _0x43fd9f,_0x9934be;switch(_0x2b068f[_0xd08a28(0x259)]){case _0xd08a28(0x243):_0x43fd9f=_0x2b068f[_0xd08a28(0x1ee)][_0xd08a28(0x1e0)];break;case _0xd08a28(0x238):if(_0x9934be=_0x2b068f[_0xd08a28(0x1f3)],!_0x9934be)return null;_0x43fd9f=_0x9934be[_0xd08a28(0x1e0)];break;case _0xd08a28(0x21f):_0x43fd9f=_0x2b068f[_0xd08a28(0x1e0)];break;case _0xd08a28(0x25b):_0x43fd9f=_0x2b068f[_0xd08a28(0x268)];break;case _0xd08a28(0x228):_0x43fd9f=_0x2b068f[_0xd08a28(0x280)][_0xd08a28(0x1e0)];break;default:return null;}return _0x43fd9f[_0xd08a28(0x20e)];}[_0x2e5c5e(0x236)](_0x3fad9a){const _0x51759a=_0x2e5c5e;_0x3fad9a[_0x51759a(0x251)](_0x271fc1=>{const _0x31bf2a=_0x51759a,_0x3cd384=_0x271fc1[_0x31bf2a(0x2a4)]();_0x3cd384[_0x31bf2a(0x208)]=_0x271fc1[_0x31bf2a(0x208)],_0x3cd384[_0x31bf2a(0x1f0)]=!!_0x271fc1[_0x31bf2a(0x1f0)],_0x3cd384[_0x31bf2a(0x1d3)]=_0x271fc1[_0x31bf2a(0x1d3)],_0x3cd384[_0x31bf2a(0x1f8)]+=this[_0x31bf2a(0x212)],_0x271fc1[_0x31bf2a(0x219)]&&this[_0x31bf2a(0x1ba)][_0x31bf2a(0x1da)](_0x3cd384),this[_0x31bf2a(0x272)][_0x31bf2a(0x1e5)](_0x3cd384);});}[_0x2e5c5e(0x254)](_0x277233){const _0x1c90e6=_0x2e5c5e,_0x17f349=this[_0x1c90e6(0x1a8)][_0x1c90e6(0x2a1)][_0x1c90e6(0x202)](_0x1c90e6(0x203)),_0x5edc2d=this[_0x1c90e6(0x1a8)][_0x1c90e6(0x1ca)];_0x277233||(_0x277233=_0x34137c(_0x5edc2d,_0x1c90e6(0x29b))),_0x17f349[_0x1c90e6(0x25a)](_0x277233,{'title':_0x34137c(_0x5edc2d,_0x1c90e6(0x1b7)),'namespace':_0x1c90e6(0x214)}),this[_0x1c90e6(0x1bb)]=!0x0,clearTimeout(this[_0x1c90e6(0x1aa)]),this[_0x1c90e6(0x21a)]=[],this[_0x1c90e6(0x1a8)][_0x1c90e6(0x2a1)][_0x1c90e6(0x202)](_0xa94539)[_0x1c90e6(0x23e)]();}[_0x2e5c5e(0x26a)](){const _0x1957c4=_0x2e5c5e;this[_0x1957c4(0x266)]||(this[_0x1957c4(0x266)]=this[_0x1957c4(0x1a8)][_0x1957c4(0x2a1)][_0x1957c4(0x202)](_0x4c2887)[_0x1957c4(0x1da)](_0x34137c(this[_0x1957c4(0x1a8)][_0x1957c4(0x1ca)],_0x1957c4(0x220))));}[_0x2e5c5e(0x1cf)](){const _0x431de2=_0x2e5c5e;this[_0x431de2(0x266)]&&(this[_0x431de2(0x1a8)][_0x431de2(0x2a1)][_0x431de2(0x202)](_0x4c2887)[_0x431de2(0x1be)](this[_0x431de2(0x266)]),this[_0x431de2(0x266)]=null);}[_0x2e5c5e(0x226)](_0x26d593){const _0x4b60b6=_0x2e5c5e,_0x1edf26=_0x26d593[_0x4b60b6(0x221)](_0x5e749d=>_0x5e749d[_0x4b60b6(0x274)]());return this[_0x4b60b6(0x28e)][_0x4b60b6(0x1b0)](_0x1edf26);}[_0x2e5c5e(0x283)](_0x5882c4,_0x16b6ae){const _0x234c07=_0x2e5c5e;return this[_0x234c07(0x28e)][_0x234c07(0x23d)](_0x5882c4)[_0x234c07(0x221)]((_0x40d30a,_0x46bedb)=>{const _0x36e328=_0x234c07,_0x6024a9=_0x36e328(0x244)==_0x16b6ae[_0x46bedb][_0x36e328(0x259)];if(_0x36e328(0x24f)==_0x40d30a[_0x36e328(0x1e6)]){const _0x217022=_0x40d30a[_0x36e328(0x1ee)][_0x36e328(0x1e0)];!this[_0x36e328(0x264)][_0x36e328(0x1ea)](_0x217022)&&(this[_0x36e328(0x264)][_0x36e328(0x1c7)](_0x36e328(0x1d5),_0x217022)[_0x36e328(0x205)]=!0x1);}const _0x44148e=_0x295cfe[_0x36e328(0x26c)](_0x40d30a,this[_0x36e328(0x264)]);return _0x44148e[_0x36e328(0x257)]=_0x40d30a[_0x36e328(0x257)],_0x44148e[_0x36e328(0x1f0)]=_0x6024a9,_0x44148e[_0x36e328(0x208)]=_0x6024a9?null:_0x16b6ae[_0x46bedb][_0x36e328(0x245)],_0x44148e[_0x36e328(0x219)]=_0x36e328(0x231)===_0x16b6ae[_0x46bedb][_0x36e328(0x259)],_0x44148e[_0x36e328(0x1d3)]=_0x16b6ae[_0x46bedb][_0x36e328(0x1d3)],_0x44148e;});}[_0x2e5c5e(0x1f4)](){const _0x4e5de3=_0x2e5c5e;this[_0x4e5de3(0x1f1)]=!0x0,this[_0x4e5de3(0x289)]()?this[_0x4e5de3(0x26b)]():this[_0x4e5de3(0x1f1)]=!0x1;}[_0x2e5c5e(0x289)](){const _0xef55ea=_0x2e5c5e,_0x33497d=this[_0xef55ea(0x1a8)][_0xef55ea(0x2a1)][_0xef55ea(0x202)](_0x6ee346)[_0xef55ea(0x21e)][_0xef55ea(0x202)](this[_0xef55ea(0x1ef)]);return!this[_0xef55ea(0x1a8)][_0xef55ea(0x1b2)]&&!!_0x33497d&&_0x33497d[_0xef55ea(0x2a0)]>0x1&&this[_0xef55ea(0x1f1)];}[_0x2e5c5e(0x284)](){const _0x442435=_0x2e5c5e;return this[_0x442435(0x21a)][_0x442435(0x2a0)]>0x0||this[_0x442435(0x289)]();}}l[_0x2e5c5e(0x20f)]=_0x325c55;function _0x103c(){const _0x33516a=['roots','$root','_connectAfterSessionHasBeenFlushed','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','stop','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','add','end','_handleExternalOperations','metadata','offset','version','root','off','addUser','_operationIdentifier','getOperationAuthor','addOperation','__className','_getAffectedRoot','_initThrowingOnDataSet','catch','getRoot','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.','bind','requires','position','_channelId','_isInit','_hasSelectionChanged','createRange','newRange','_refreshUserSelectionMarkers','change:hasDomSelection','config','404','baseVersion','addToReconnectionStack','400211HjzbpS','_bufferRootLoad','isUndoneOperation','_disconnectService','realtimecollaborationclient-init-service-internal-error','realtimecollaborationclient-sendbufferedoperations','reconnection:\x20flushed\x20session','lastOperationAcceptedAt','get','Notification','disconnected','_isAttached','RealTimeCollaborationClient','lastOperationId','_authorId','lastDocumentSession','setPermissions','multi-root-editor-root-attributes-no-root','setIdForTheLastOperation','cloud-services-internal-error:\x20Request\x20timeout.','rootName','CollaborativeEditingService','1430022RQkPvS','differ','_offset','change:_isPendingUpdate','real-time-collaboration','slice','unregister','connection','wereChangesApplied','_isDisconnection','_bufferedOperations','_ignoredOperations','includes','4323198eleEti','channelSessions','addRootAttribute','PENDING_ACTION_SENDING_DATA','map','ready','145195NrVSyL','realtimecollaborationclient-init-connection-failed','realtimecollaborationclient-init-session-connection-error','_compressOperations','6647264RjTdRk','move','stopListening','rtc-destroyed','pluginName','_knownOperations','entries','enqueueChange','_fetchMissingUsers','createPositionAt','cs:removeUser','error','getDocumentDetails','isDocumentOperation','document','_updateServerHistory','cloudServices.bundleVersion','marker','editing','mySessionId','_isLoaded','_addKnownRoot','decompress','disconnect','connect','isOfficialPlugin','_setUpDataInit','code','insert','init','userId','_handleInitialConnectionData','disableReadOnlyMode','message','getUser','batch','round','409','removeFromReconnectionStack','realtimecollaborationclient-init-non-existent-root','InsertOperation','_loadRoot','forEach','CommentsOnly','_operationToId','_handleReconnectionError','suppressErrorInCollaboration','then','wasUndone','size','type','showWarning','addRoot','directChange','sendOperations','permissions','currentDocumentSession','finally','from','getMany','path','_document','startsWith','_pendingAction','listenTo','affectedSelectable','history','_setPendingAction','_sendBufferedOperationsDelayed','fromJSON','sessionId','7oFsbeS','realtimecollaborationclient-init-document-already-initialized','enableReadOnlyMode','view','serverHistory','applyOperation','toJSON','define','attributes','557658PWkCRe','cloud-services-internal-error:\x20Not\x20connected.','model','_connectService','markers','destroy','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','initData','has','targetPosition','register','realtimecollaborationclient-handleserverresponse','_decompressOperations','_shouldSendUpdate','change:_isEditingAllowed','selection','set','_saveOperationInBuffer','_shouldSendSelectionUpdate','collaboration.channelId','realtimecollaborationclient-init-service-incorrect-server-operation','connected','keys','_compressor','_currentBufferDelay','start','rootsAttributes','parse','_handleServerResponse','_isEditingAllowed','getOperations','state','createUserMarkerOperations','rtc-offline','getIdOfTheLastOperation','139800HHMGmq','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.','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_baseBufferDelay','_lastSyncedOperationId','affectsData','length','plugins','_service','_initSessionsHandling','clone','operationsReceived','Permissions','_sendBufferedOperations','getConnectedSessions','createPositionFromPath','_waitUntilSynced','high','sessionAdd:','editor','reset','_sendBufferedOperationsDelayId','_handleReconnectionResponse','_isPendingUpdate','_crash','reconnect','_lastServerVersion','compress','isEnabled','isReadOnly','filter','return','_handleReceivedOperations','data','Synchronization\x20issue','apply','collaboration','_disconnectionOperations','_hasSynchronizationProblem','collaboration-missing-channelid','_knownRootNames','remove','realtimecollaborationclient','_isConnected','cloudDocumentVersion','loadRoot','fire','lastSyncVersion','_applyOperationsSet','realtimecollaborationclient-error','createRoot','_handleSendingSelectionMarkers','change:range','locale','4GgotAf','isPremiumPlugin','_getOperationsFromInitData','string','_clearPendingAction','document:write','sessionCreatedAt','push','createdAt'];_0x103c=function(){return _0x33516a;};return _0x103c();}export default l;class Z extends Error{}function tt(_0x5d7e53,_0x69a74d){const _0x3eb5a3=_0x2e5c5e;for(const _0x4c9208 of _0x5d7e53)_0x4c9208[_0x3eb5a3(0x1f8)]=_0x69a74d++;}class it{constructor(_0x326907){const _0xdbfe30=_0x2e5c5e;this[_0xdbfe30(0x21b)]=_0x326907,this[_0xdbfe30(0x253)]=new WeakMap();}[_0x2e5c5e(0x299)](_0x2fbdff){const _0x3bf06b=_0x2e5c5e;let _0x196507=_0x2fbdff[_0x3bf06b(0x2a0)];for(;_0x196507--;){const _0x507d46=_0x2fbdff[_0x196507];if(!this[_0x3bf06b(0x21b)][_0x3bf06b(0x27f)](_0x507d46)){if(!this[_0x3bf06b(0x253)][_0x3bf06b(0x27f)](_0x507d46)){const _0x873ec7=_0x159696()[_0x3bf06b(0x215)](0x1,0x12);this[_0x3bf06b(0x253)][_0x3bf06b(0x287)](_0x507d46,_0x873ec7);}return this[_0x3bf06b(0x253)][_0x3bf06b(0x202)](_0x507d46);}}}[_0x2e5c5e(0x20c)](_0x4db256,_0x502f52){const _0x24a961=_0x2e5c5e;if(!_0x502f52)return;let _0x4113b5=_0x4db256[_0x24a961(0x2a0)];for(;_0x4113b5--;){const _0x372de3=_0x4db256[_0x4113b5];this[_0x24a961(0x21b)][_0x24a961(0x27f)](_0x372de3)||this[_0x24a961(0x253)][_0x24a961(0x287)](_0x372de3,_0x502f52);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x57eb9f=_0x1dd6;(function(_0x5b99f6,_0x1702c2){const _0x2e1eaf=_0x1dd6,_0x351c59=_0x5b99f6();while(!![]){try{const _0x315ddc=-parseInt(_0x2e1eaf(0x9e))/0x1+-parseInt(_0x2e1eaf(0x95))/0x2*(parseInt(_0x2e1eaf(0xa3))/0x3)+-parseInt(_0x2e1eaf(0x71))/0x4+parseInt(_0x2e1eaf(0x96))/0x5*(parseInt(_0x2e1eaf(0x9f))/0x6)+-parseInt(_0x2e1eaf(0x8d))/0x7*(parseInt(_0x2e1eaf(0x8c))/0x8)+parseInt(_0x2e1eaf(0x8e))/0x9*(parseInt(_0x2e1eaf(0x9d))/0xa)+parseInt(_0x2e1eaf(0xa2))/0xb*(-parseInt(_0x2e1eaf(0x8a))/0xc);if(_0x315ddc===_0x1702c2)break;else _0x351c59['push'](_0x351c59['shift']());}catch(_0x17af24){_0x351c59['push'](_0x351c59['shift']());}}}(_0xd893,0x3bf52));function _0x1dd6(_0x472dcb,_0x3ea1f3){const _0xd89354=_0xd893();return _0x1dd6=function(_0x1dd63c,_0x12ca9c){_0x1dd63c=_0x1dd63c-0x64;let _0x1eb91f=_0xd89354[_0x1dd63c];return _0x1eb91f;},_0x1dd6(_0x472dcb,_0x3ea1f3);}import{ContextPlugin as _0x548a3d}from'ckeditor5/src/core.js';import{Collection as _0x219634,CKEditorError as _0x83d21c}from'ckeditor5/src/utils.js';import _0x3d59c3 from'./websocketgateway.js';import{Users as _0x40fd40}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xd893(){const _0x18535e=['channelConnectedUsers','connected','sessionId','_handleSessionAdd','connection','addUser','39868EITnuP','delete','defineMe','_createUser','isMe','_registeredSessions','remove','getUser','_uniqueUsersCount','isOfficialPlugin','set','pluginName','init','has','fire','getUserSessions','orderNumber','allConnectedUsers','_handleSessionRemove','get','mySessionId','size','values','add','role','12YbPvHv','plugins','2981304uPlRVQ','7KKIbIz','2205FHLuVX','stopListening','unregister','clear','sessions-register-already-registered','Sessions','_users','120868DVPlPX','65gBDeEZ','listenTo','isPremiumPlugin','getUserBySessionId','requires','change:state','sessions-unregister-not-exist','15150jaSkaF','139863HYaSoz','223518yRnaSf','forEach','getUserRole','296461vHDLIp','3JGSKfW','state','sessionAdd:','context','register','user','channelSessions','assign'];_0xd893=function(){return _0x18535e;};return _0xd893();}export default class i extends _0x548a3d{static get[_0x57eb9f(0x7c)](){const _0x229eed=_0x57eb9f;return _0x229eed(0x93);}static get[_0x57eb9f(0x7a)](){return!0x0;}static get[_0x57eb9f(0x98)](){return!0x0;}static get[_0x57eb9f(0x9a)](){return[_0x3d59c3,_0x40fd40];}constructor(_0x553ad4){const _0x1d23a0=_0x57eb9f;super(_0x553ad4),this[_0x1d23a0(0x69)]=new Map(),this[_0x1d23a0(0x6b)]=new Map(),this[_0x1d23a0(0x82)]=new _0x219634(),this[_0x1d23a0(0x76)]=new Map(),this[_0x1d23a0(0x79)]=0x0,this[_0x1d23a0(0x94)]=this[_0x1d23a0(0x66)][_0x1d23a0(0x8b)][_0x1d23a0(0x84)](_0x40fd40);}[_0x57eb9f(0x7d)](){const _0x3ea12d=_0x57eb9f,_0x2141bd=this[_0x3ea12d(0x66)][_0x3ea12d(0x8b)][_0x3ea12d(0x84)](_0x3d59c3);this[_0x3ea12d(0x97)](_0x2141bd,_0x3ea12d(0x9b),(_0x252a4c,_0x1d100a,_0x2daac2)=>{const _0x457786=_0x3ea12d;if(_0x457786(0x6c)!==_0x2daac2)this[_0x457786(0x69)][_0x457786(0xa0)](_0x290ed0=>_0x290ed0[_0x457786(0x91)]()),this[_0x457786(0x6b)][_0x457786(0xa0)](_0x35e492=>_0x35e492[_0x457786(0x91)]()),this[_0x457786(0x82)][_0x457786(0x91)]();else{for(const [_0xf26772,_0x5a1ed2]of this[_0x457786(0x76)])for(const _0x1b3bdc of _0x5a1ed2)this[_0x457786(0x6e)](_0xf26772,_0x1b3bdc);}}),this[_0x3ea12d(0x74)](_0x2141bd[_0x3ea12d(0x6f)]['me'],!0x0);}[_0x57eb9f(0x67)](_0x11ebd8,_0xd6baf){const _0x7c1d07=_0x57eb9f;if(this[_0x7c1d07(0x76)][_0x7c1d07(0x7e)](_0x11ebd8))throw new _0x83d21c(_0x7c1d07(0x92),null,{'channelId':_0x11ebd8});this[_0x7c1d07(0x76)][_0x7c1d07(0x7b)](_0x11ebd8,_0xd6baf),this[_0x7c1d07(0x69)][_0x7c1d07(0x7b)](_0x11ebd8,new _0x219634()),this[_0x7c1d07(0x6b)][_0x7c1d07(0x7b)](_0x11ebd8,new _0x219634()),this[_0x7c1d07(0x97)](_0xd6baf,_0x7c1d07(0x88),(_0x91f03a,_0x3e08d8)=>this[_0x7c1d07(0x6e)](_0x11ebd8,_0x3e08d8)),this[_0x7c1d07(0x97)](_0xd6baf,_0x7c1d07(0x77),(_0x34f3ce,_0x84c09f)=>this[_0x7c1d07(0x83)](_0x11ebd8,_0x84c09f));for(const _0x2a15ab of _0xd6baf)this[_0x7c1d07(0x6e)](_0x11ebd8,_0x2a15ab);}[_0x57eb9f(0x90)](_0x3d788d){const _0x34bb09=_0x57eb9f;if(!this[_0x34bb09(0x76)][_0x34bb09(0x7e)](_0x3d788d))throw new _0x83d21c(_0x34bb09(0x9c),null,{'channelId':_0x3d788d});const _0x5de6d0=this[_0x34bb09(0x76)][_0x34bb09(0x84)](_0x3d788d);this[_0x34bb09(0x8f)](_0x5de6d0);for(const _0x37d2f6 of _0x5de6d0)_0x34bb09(0x6c)===this[_0x34bb09(0x66)][_0x34bb09(0x8b)][_0x34bb09(0x84)](_0x3d59c3)[_0x34bb09(0x64)]&&this[_0x34bb09(0x83)](_0x3d788d,_0x37d2f6);this[_0x34bb09(0x76)][_0x34bb09(0x72)](_0x3d788d),this[_0x34bb09(0x69)][_0x34bb09(0x72)](_0x3d788d),this[_0x34bb09(0x6b)][_0x34bb09(0x72)](_0x3d788d);}get[_0x57eb9f(0x85)](){const _0x4b0476=_0x57eb9f;return this[_0x4b0476(0x66)][_0x4b0476(0x8b)][_0x4b0476(0x84)](_0x3d59c3)[_0x4b0476(0x6f)][_0x4b0476(0x6d)];}[_0x57eb9f(0x99)](_0x70e67a){const _0x234598=_0x57eb9f;for(const _0x77b400 of this[_0x234598(0x69)][_0x234598(0x87)]())for(const _0x45045e of _0x77b400)if(_0x45045e['id']===_0x70e67a)return _0x45045e[_0x234598(0x68)];}[_0x57eb9f(0x80)](_0x3c3a79,_0x16e087){const _0x1cc627=_0x57eb9f,_0x297d7d=_0x16e087?[this[_0x1cc627(0x69)][_0x1cc627(0x84)](_0x16e087)]:this[_0x1cc627(0x69)][_0x1cc627(0x87)](),_0x1c67ba=new Set();for(const _0x3a043d of _0x297d7d)for(const _0x56c0d3 of _0x3a043d)_0x56c0d3[_0x1cc627(0x68)]['id']===_0x3c3a79['id']&&_0x1c67ba[_0x1cc627(0x88)](_0x56c0d3['id']);return _0x1c67ba;}[_0x57eb9f(0xa1)](_0x1db2cb){const _0x2893e0=_0x57eb9f;for(const _0x2eb5e5 of this[_0x2893e0(0x69)][_0x2893e0(0x87)]())for(const _0x1a46bd of _0x2eb5e5)if(_0x1a46bd[_0x2893e0(0x68)]===_0x1db2cb)return _0x1a46bd[_0x2893e0(0x89)];}[_0x57eb9f(0x6e)](_0x2ec56d,_0x6e2c9d){const _0x2e6bdd=_0x57eb9f;if(_0x2e6bdd(0x6c)!==this[_0x2e6bdd(0x66)][_0x2e6bdd(0x8b)][_0x2e6bdd(0x84)](_0x3d59c3)[_0x2e6bdd(0x64)])return;const _0x5ed6e3=_0x6e2c9d[_0x2e6bdd(0x68)],_0x4828ae=this[_0x2e6bdd(0x94)][_0x2e6bdd(0x78)](_0x5ed6e3['id'])||this[_0x2e6bdd(0x74)](_0x5ed6e3),_0x4fb7db=Object[_0x2e6bdd(0x6a)]({},_0x6e2c9d,{'user':_0x4828ae});this[_0x2e6bdd(0x69)][_0x2e6bdd(0x84)](_0x2ec56d)[_0x2e6bdd(0x88)](_0x4fb7db);const _0x22ee13=this[_0x2e6bdd(0x6b)][_0x2e6bdd(0x84)](_0x2ec56d);_0x22ee13[_0x2e6bdd(0x7e)](_0x4828ae['id'])||_0x22ee13[_0x2e6bdd(0x88)](_0x4828ae),this[_0x2e6bdd(0x82)][_0x2e6bdd(0x7e)](_0x4828ae['id'])||this[_0x2e6bdd(0x82)][_0x2e6bdd(0x88)](_0x4828ae,_0x4828ae[_0x2e6bdd(0x75)]?0x0:void 0x0),this[_0x2e6bdd(0x7f)](_0x2e6bdd(0x65)+_0x2ec56d,{'channelId':_0x2ec56d,'session':_0x4fb7db});}[_0x57eb9f(0x83)](_0x53a553,_0x232ae5){const _0x3bc6f0=_0x57eb9f;if(_0x3bc6f0(0x6c)!==this[_0x3bc6f0(0x66)][_0x3bc6f0(0x8b)][_0x3bc6f0(0x84)](_0x3d59c3)[_0x3bc6f0(0x64)])return;const _0x347aea=this[_0x3bc6f0(0x6b)][_0x3bc6f0(0x84)](_0x53a553),_0x53e001=_0x232ae5[_0x3bc6f0(0x68)];_0x53e001['id']&&(this[_0x3bc6f0(0x69)][_0x3bc6f0(0x84)](_0x53a553)[_0x3bc6f0(0x77)](_0x232ae5['id']),_0x347aea[_0x3bc6f0(0x7e)](_0x53e001['id'])&&!this[_0x3bc6f0(0x80)](_0x53e001,_0x53a553)[_0x3bc6f0(0x86)]&&_0x347aea[_0x3bc6f0(0x77)](_0x53e001['id']),this[_0x3bc6f0(0x82)][_0x3bc6f0(0x84)](_0x53e001['id'])&&!this[_0x3bc6f0(0x80)](_0x53e001)[_0x3bc6f0(0x86)]&&this[_0x3bc6f0(0x82)][_0x3bc6f0(0x77)](_0x53e001['id']));}[_0x57eb9f(0x74)](_0x27921f,_0x50d272){const _0x2cd9f8=_0x57eb9f,_0x219dc3=this[_0x2cd9f8(0x94)][_0x2cd9f8(0x70)](_0x27921f);return _0x50d272&&this[_0x2cd9f8(0x94)][_0x2cd9f8(0x73)](_0x27921f['id']),_0x219dc3[_0x2cd9f8(0x81)]=this[_0x2cd9f8(0x79)]++,_0x219dc3;}}
|
|
@@ -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
|
+
function _0x3434(_0x4afb07,_0x5c34f1){const _0xe49f4b=_0xe49f();return _0x3434=function(_0x34343b,_0x100f48){_0x34343b=_0x34343b-0x113;let _0x1ce0c0=_0xe49f4b[_0x34343b];return _0x1ce0c0;},_0x3434(_0x4afb07,_0x5c34f1);}const _0x502e8b=_0x3434;(function(_0x5d1f88,_0x30c06a){const _0x503291=_0x3434,_0x123a84=_0x5d1f88();while(!![]){try{const _0x5433a6=-parseInt(_0x503291(0x137))/0x1+parseInt(_0x503291(0x116))/0x2+-parseInt(_0x503291(0x122))/0x3+-parseInt(_0x503291(0x16a))/0x4*(-parseInt(_0x503291(0x160))/0x5)+parseInt(_0x503291(0x113))/0x6*(parseInt(_0x503291(0x18d))/0x7)+parseInt(_0x503291(0x158))/0x8+parseInt(_0x503291(0x141))/0x9*(-parseInt(_0x503291(0x161))/0xa);if(_0x5433a6===_0x30c06a)break;else _0x123a84['push'](_0x123a84['shift']());}catch(_0x38b37f){_0x123a84['push'](_0x123a84['shift']());}}}(_0xe49f,0xac8b0));import{Plugin as _0xf2ef4e}from'ckeditor5/src/core.js';import{global as _0x48c1c0,DomEmitterMixin as _0x3e5b87}from'ckeditor5/src/utils.js';import _0x2b8591 from'./sessions.js';function _0xe49f(){const _0x4934b8=['1131014wSbTcr','has','plugins','size','get','user:range:','getFirstRange','_createdBatches','orderNumber','mySessionId','2219121jHiLys','nodeAfter','toDomElement','addMarker','hasContent','hasDomSelection','updateMarker','highest','color','remove','deletionPosition','type','getRange','removeClass','reconvertMarker','tableCell','isCollapsed','user:position','addEventListener','element','marker','getCustomProperty','change','5680880ASIlnE','mouseleave','add','ck-user__marker\x20','markerNameToElements','model','fromRange','mouseenter','1618595DcrVyk','50fnPbQH','startsWith','markers','pluginName','conversion','mapper','init','commands','user:position:','16JrbVtU','editing','view','end','data-session-id','createUIElement','ck-user__marker_hovered','$text','toRange','batch','getContainedElement','setCustomProperty','getAttribute','getPositions','span','markerRange','render','$graveyard','applyOperation','_domEmitter','schema','split','rootName','update:user:range','keydown','set','markerToHighlight','isPremiumPlugin','UserMarkers','user:range','contenteditable','document','selection','ck-user__selection','classList','63wVGiNz','start','getSelectionClass','undo','user:','innerHTML','Escape','editor','createUserMarkerOperations','getNearestSelectionRange','getStart','420762rxBOzC','markerName','checkChild','2417990axUIpd','isLimit','markerToElement','afterInit','removeMarker','oldRange','enqueueChange','editingDowncast','destroy','requires','stopListening','listenTo','2323587JleXrd','detach','delete','<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>','userPositionMarker','clear','change:range','newRange','isDocumentOperation','createRange','isOfficialPlugin','getMarkerClass','root','parent','name','isObject','isInline','getUserBySessionId','for','isSimilar','</span>'];_0xe49f=function(){return _0x4934b8;};return _0xe49f();}import{LiveRange as _0x2f4c42}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class K extends _0xf2ef4e{constructor(){const _0x22e470=_0x3434;super(...arguments),this[_0x22e470(0x17d)]=new(_0x3e5b87())();}static get[_0x502e8b(0x11f)](){return[_0x2b8591];}static get[_0x502e8b(0x164)](){const _0x50ee2a=_0x502e8b;return _0x50ee2a(0x186);}static get[_0x502e8b(0x12c)](){return!0x0;}static get[_0x502e8b(0x185)](){return!0x0;}[_0x502e8b(0x167)](){const _0x11f74d=_0x502e8b,_0x6f5edd=this[_0x11f74d(0x194)],_0x3b418d=_0x6f5edd[_0x11f74d(0x139)][_0x11f74d(0x13b)](_0x2b8591);_0x6f5edd[_0x11f74d(0x165)][_0x11f74d(0x134)](_0x11f74d(0x11d))[_0x11f74d(0x118)]({'model':_0x11f74d(0x152),'view':(_0x540108,{writer:_0x5b6ea1})=>function(_0x4a6148,_0x163467,_0x2aa8b4,_0x1cfa1e){const _0x371060=_0x11f74d,_0x33f031=_0x4a6148[_0x371060(0x114)][_0x371060(0x17f)](':')[0x2],_0x2b2b71=_0x2aa8b4[_0x371060(0x133)](_0x33f031);if(!_0x2b2b71||_0x33f031===_0x2aa8b4[_0x371060(0x140)])return;if(!_0x1cfa1e[_0x371060(0x15d)][_0x371060(0x17e)][_0x371060(0x115)](_0x4a6148[_0x371060(0x179)][_0x371060(0x18e)],_0x371060(0x171)))return;const _0x2994fd={'class':_0x371060(0x15b)+_0x2b2b71[_0x371060(0x149)][_0x371060(0x12d)](),'data-name':_0x2b2b71[_0x371060(0x130)],'data-session-id':_0x33f031},_0x52dc14=_0x1cfa1e[_0x371060(0x15d)][_0x371060(0x163)][_0x371060(0x13b)](_0x4a6148[_0x371060(0x114)]),_0x1d8edf=_0x52dc14[_0x371060(0x197)](),_0xe766d4=_0x1d8edf[_0x371060(0x142)],_0x5a88a9=_0x1cfa1e[_0x371060(0x15d)][_0x371060(0x17e)];if(_0xe766d4&&_0x5a88a9[_0x371060(0x131)](_0xe766d4)&&_0x5a88a9[_0x371060(0x132)](_0xe766d4)&&!_0x1cfa1e[_0x371060(0x15d)][_0x371060(0x163)][_0x371060(0x13b)](_0x371060(0x13c)+_0x33f031)[_0x371060(0x14d)]()[_0x371060(0x151)])return;const _0xd4b613=_0x1d8edf[_0x371060(0x12f)];return _0x1cfa1e[_0x371060(0x15d)][_0x371060(0x17e)][_0x371060(0x117)](_0xd4b613)&&!_0x1cfa1e[_0x371060(0x15d)][_0x371060(0x145)](_0xd4b613)&&(_0x2994fd[_0x371060(0x188)]=!0x1),function(_0x27846d,_0x5b809c,_0x8d037a){const _0x2f08e5=_0x371060,_0x45fd8a=_0x27846d[_0x2f08e5(0x16f)](_0x2f08e5(0x178),_0x5b809c);return _0x27846d[_0x2f08e5(0x175)](_0x2f08e5(0x126),!0x0,_0x45fd8a),_0x45fd8a[_0x2f08e5(0x17a)]=function(_0x172156){const _0x55571b=_0x2f08e5,_0x3c2a8a=this[_0x55571b(0x143)](_0x172156);return _0x3c2a8a[_0x55571b(0x192)]=_0x55571b(0x125)+_0x8d037a[_0x55571b(0x130)]+_0x55571b(0x136),_0x3c2a8a[_0x55571b(0x153)](_0x55571b(0x15f),()=>{const _0x5b4e57=_0x55571b;_0x3c2a8a[_0x5b4e57(0x18c)][_0x5b4e57(0x15a)](_0x5b4e57(0x170));}),_0x3c2a8a[_0x55571b(0x153)](_0x55571b(0x159),()=>{const _0x523642=_0x55571b;_0x3c2a8a[_0x523642(0x18c)][_0x523642(0x14a)](_0x523642(0x170));}),_0x3c2a8a;},_0x45fd8a[_0x2f08e5(0x135)]=function(_0x23a833){const _0x138e08=_0x2f08e5;return!(!this[_0x138e08(0x156)](_0x138e08(0x126))||!_0x23a833[_0x138e08(0x156)](_0x138e08(0x126))||this[_0x138e08(0x176)](_0x138e08(0x16e))!=_0x23a833[_0x138e08(0x176)](_0x138e08(0x16e)));},_0x45fd8a;}(_0x163467,_0x2994fd,_0x2b2b71);}(_0x540108,_0x5b6ea1,_0x3b418d,_0x6f5edd)}),_0x6f5edd[_0x11f74d(0x165)][_0x11f74d(0x134)](_0x11f74d(0x11d))[_0x11f74d(0x184)]({'model':_0x11f74d(0x187),'view':_0x2eb3a1=>function(_0x1a4476,_0x3a48af){const _0x40e189=_0x11f74d,_0x1986b4=_0x1a4476[_0x40e189(0x114)][_0x40e189(0x17f)](':')[0x2];if(_0x1986b4===_0x3a48af[_0x40e189(0x140)])return null;const _0x5bb49c=_0x3a48af[_0x40e189(0x133)](_0x1986b4);if(!_0x5bb49c)return{'id':_0x1986b4,'classes':[]};return{'id':_0x1986b4,'classes':[_0x40e189(0x18b),_0x5bb49c[_0x40e189(0x149)][_0x40e189(0x18f)]()],'attributes':{'data-session-id':_0x1986b4},'priority':0x7d0+_0x5bb49c[_0x40e189(0x13f)]};}(_0x2eb3a1,_0x3b418d)}),function(_0x449ccd){const _0x22c8d5=_0x11f74d,_0x49fe44=_0x449ccd[_0x22c8d5(0x15d)],_0x14a4a2=new Map(),_0x1fd76b=_0x449ccd[_0x22c8d5(0x139)][_0x22c8d5(0x13b)](_0x2b8591);_0x49fe44[_0x22c8d5(0x163)]['on'](_0x22c8d5(0x181),(_0x23512b,_0x431b4a,_0x5a0c69,_0x26f5f9)=>{const _0x357823=_0x22c8d5;if(!_0x26f5f9&&_0x14a4a2[_0x357823(0x13b)](_0x431b4a[_0x357823(0x130)]))return _0x14a4a2[_0x357823(0x13b)](_0x431b4a[_0x357823(0x130)])[_0x357823(0x123)](),void _0x14a4a2[_0x357823(0x124)](_0x431b4a[_0x357823(0x130)]);const _0x4badba=_0x431b4a[_0x357823(0x130)][_0x357823(0x17f)](':')[0x2];if(_0x4badba===_0x1fd76b[_0x357823(0x140)])return;const _0x513e15=_0x357823(0x169)+_0x4badba;_0x49fe44[_0x357823(0x163)][_0x357823(0x138)](_0x513e15)&&_0x449ccd[_0x357823(0x16b)][_0x357823(0x14f)](_0x513e15),_0x431b4a['on'](_0x357823(0x128),(_0x594cc6,_0x3b9f9b,_0x5b2de5)=>{const _0x3e6190=_0x357823;if(_0x3e6190(0x17b)!=_0x3b9f9b[_0x3e6190(0x12e)][_0x3e6190(0x180)]&&_0x3e6190(0x17b)==_0x431b4a[_0x3e6190(0x14d)]()[_0x3e6190(0x12e)][_0x3e6190(0x180)]&&!_0x14a4a2[_0x3e6190(0x138)](_0x431b4a[_0x3e6190(0x130)])){const _0x113cb6=_0x49fe44[_0x3e6190(0x17e)][_0x3e6190(0x196)](_0x5b2de5[_0x3e6190(0x14b)]);if(_0x113cb6){const _0x236730=_0x2f4c42[_0x3e6190(0x15e)](_0x113cb6);_0x14a4a2[_0x3e6190(0x183)](_0x431b4a[_0x3e6190(0x130)],_0x236730),_0x236730['on'](_0x3e6190(0x128),(_0x10ce11,_0x53936b,_0x226758)=>{const _0x23dcca=_0x3e6190;if(_0x23dcca(0x17b)==_0x236730[_0x23dcca(0x12e)][_0x23dcca(0x180)]){const _0x1f024c=_0x49fe44[_0x23dcca(0x17e)][_0x23dcca(0x196)](_0x226758[_0x23dcca(0x14b)]);_0x1f024c?(_0x236730[_0x23dcca(0x18e)]=_0x1f024c[_0x23dcca(0x18e)],_0x236730[_0x23dcca(0x16d)]=_0x1f024c[_0x23dcca(0x16d)]):(_0x14a4a2[_0x23dcca(0x124)](_0x431b4a[_0x23dcca(0x130)]),_0x236730[_0x23dcca(0x123)]());}});}}});}),_0x49fe44[_0x22c8d5(0x189)]['on'](_0x22c8d5(0x157),()=>{const _0x50abb1=_0x22c8d5;_0x14a4a2[_0x50abb1(0x13a)]>0x0&&_0x49fe44[_0x50abb1(0x11c)]({'isUndoable':!0x1},_0x123db9=>{const _0x3c960e=_0x50abb1;for(const [_0x22dc9c,_0x31e0dd]of _0x14a4a2)_0x3c960e(0x17b)==_0x49fe44[_0x3c960e(0x163)][_0x3c960e(0x13b)](_0x22dc9c)[_0x3c960e(0x14d)]()[_0x3c960e(0x12e)][_0x3c960e(0x180)]&&(te(_0x22dc9c[_0x3c960e(0x17f)](':')[0x2],_0x31e0dd[_0x3c960e(0x172)](),_0x49fe44,_0x123db9),_0x31e0dd[_0x3c960e(0x123)]());_0x14a4a2[_0x3c960e(0x127)]();});});}(_0x6f5edd),this[_0x11f74d(0x17d)][_0x11f74d(0x121)](_0x48c1c0[_0x11f74d(0x189)],_0x11f74d(0x182),(_0x1ab0ad,{key:_0x35082c})=>{const _0x17a3f5=_0x11f74d;_0x17a3f5(0x193)===_0x35082c&&function(_0x23f951){const _0x410753=_0x17a3f5;_0x23f951[_0x410753(0x16b)][_0x410753(0x16c)][_0x410753(0x157)](_0x4454ec=>{const _0x2a3cee=_0x410753;for(const _0x15a0c6 of _0x23f951[_0x2a3cee(0x15d)][_0x2a3cee(0x163)]){if(!_0x15a0c6[_0x2a3cee(0x130)][_0x2a3cee(0x162)](_0x2a3cee(0x152)))continue;const _0x3a413f=_0x23f951[_0x2a3cee(0x16b)][_0x2a3cee(0x166)][_0x2a3cee(0x15c)](_0x15a0c6[_0x2a3cee(0x130)]);if(_0x3a413f){for(const _0x129d52 of _0x3a413f)_0x4454ec[_0x2a3cee(0x14e)](_0x2a3cee(0x170),_0x129d52);}}});}(_0x6f5edd);},{'useCapture':!0x0});}[_0x502e8b(0x119)](){const _0x3ec198=_0x502e8b,_0x98926c=this[_0x3ec198(0x194)],_0x45778f=_0x98926c[_0x3ec198(0x168)][_0x3ec198(0x13b)](_0x3ec198(0x190));_0x45778f&&_0x98926c[_0x3ec198(0x15d)]['on'](_0x3ec198(0x17c),(_0x38e167,_0x58c35e)=>{const _0x214872=_0x3ec198,_0x45d192=_0x58c35e[0x0];if(!_0x45d192[_0x214872(0x12a)])return;if(_0x214872(0x155)!=_0x45d192[_0x214872(0x14c)]||!_0x45d192[_0x214872(0x130)][_0x214872(0x162)](_0x214872(0x191)))return;const _0x3e3c57=_0x45d192[_0x214872(0x173)];_0x45778f[_0x214872(0x13e)][_0x214872(0x138)](_0x3e3c57)&&(_0x45d192[_0x214872(0x129)]=_0x45d192[_0x214872(0x11b)]?_0x98926c[_0x214872(0x15d)][_0x214872(0x12b)](_0x45d192[_0x214872(0x11b)][_0x214872(0x18e)],_0x45d192[_0x214872(0x11b)][_0x214872(0x16d)]):null);},{'priority':_0x3ec198(0x148)});}[_0x502e8b(0x11e)](){const _0x128bd9=_0x502e8b;return this[_0x128bd9(0x17d)][_0x128bd9(0x120)](),super[_0x128bd9(0x11e)]();}[_0x502e8b(0x195)](){const _0x227a28=_0x502e8b,_0x9015fe=this[_0x227a28(0x194)],_0x32583b=_0x9015fe[_0x227a28(0x15d)][_0x227a28(0x189)],_0x35792b=_0x9015fe[_0x227a28(0x139)][_0x227a28(0x13b)](_0x2b8591);_0x9015fe[_0x227a28(0x15d)][_0x227a28(0x11c)]({'isUndoable':!0x1},_0x1fcb4a=>{const _0x2bb6a=_0x227a28,_0x2c534c=_0x2bb6a(0x13c)+_0x35792b[_0x2bb6a(0x140)],_0x1b6ba4=_0x2bb6a(0x169)+_0x35792b[_0x2bb6a(0x140)],_0x157c7c=_0x9015fe[_0x2bb6a(0x15d)][_0x2bb6a(0x163)][_0x2bb6a(0x138)](_0x2c534c);_0x9015fe[_0x2bb6a(0x16b)][_0x2bb6a(0x16c)][_0x2bb6a(0x146)]?te(_0x35792b[_0x2bb6a(0x140)],_0x32583b[_0x2bb6a(0x18a)][_0x2bb6a(0x13d)](),_0x9015fe[_0x2bb6a(0x15d)],_0x1fcb4a):_0x157c7c&&(_0x1fcb4a[_0x2bb6a(0x11a)](_0x2c534c),_0x1fcb4a[_0x2bb6a(0x11a)](_0x1b6ba4));});}}function te(_0x3dfac5,_0x39d239,_0x1f4c3a,_0x56fe3d){const _0x390af4=_0x502e8b,_0x30b1bf=_0x390af4(0x13c)+_0x3dfac5,_0x4fcfea=_0x390af4(0x169)+_0x3dfac5,_0x43d325=_0x39d239[_0x390af4(0x174)]();let _0x5b358b=_0x39d239[_0x390af4(0x18e)];_0x43d325&&_0x43d325['is'](_0x390af4(0x154),_0x390af4(0x150))&&(_0x5b358b=function(_0x51c9db,_0x1934cd){const _0xaa7e21=_0x390af4;for(const _0x15a5a7 of _0x51c9db[_0xaa7e21(0x177)]())if(_0x1934cd[_0xaa7e21(0x17e)][_0xaa7e21(0x115)](_0x15a5a7,_0xaa7e21(0x171)))return _0x15a5a7;}(_0x39d239,_0x1f4c3a),_0x39d239=_0x56fe3d[_0x390af4(0x12b)](_0x5b358b));const _0x274597=_0x56fe3d[_0x390af4(0x12b)](_0x5b358b);_0x1f4c3a[_0x390af4(0x163)][_0x390af4(0x138)](_0x30b1bf)?(_0x56fe3d[_0x390af4(0x147)](_0x30b1bf,{'range':_0x39d239}),_0x56fe3d[_0x390af4(0x147)](_0x4fcfea,{'range':_0x274597})):(_0x56fe3d[_0x390af4(0x144)](_0x30b1bf,{'range':_0x39d239,'usingOperation':!0x0}),_0x56fe3d[_0x390af4(0x144)](_0x4fcfea,{'range':_0x274597,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a9ed5=_0x3cab;(function(_0x4adc87,_0x24d2d8){const _0x274baf=_0x3cab,_0x252dde=_0x4adc87();while(!![]){try{const _0x55b37=-parseInt(_0x274baf(0x9b))/0x1*(-parseInt(_0x274baf(0xa0))/0x2)+parseInt(_0x274baf(0xb4))/0x3*(parseInt(_0x274baf(0xbc))/0x4)+parseInt(_0x274baf(0x89))/0x5+parseInt(_0x274baf(0xa7))/0x6+parseInt(_0x274baf(0x7d))/0x7+-parseInt(_0x274baf(0x98))/0x8+parseInt(_0x274baf(0xb3))/0x9*(-parseInt(_0x274baf(0x90))/0xa);if(_0x55b37===_0x24d2d8)break;else _0x252dde['push'](_0x252dde['shift']());}catch(_0x538ed6){_0x252dde['push'](_0x252dde['shift']());}}}(_0x456d,0xe6c01));function _0x456d(){const _0x4e656d=['has','11604RbhHWr','webSocketUrl','change:me','stopListening','websocketgateway-missing-websocket-url','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.','CloudServices','5969730rcFiaP','cloudservices-reconnection-error','_shouldPluginsReconnect','offline','reconnect','pluginName','then','connected','initialReconnectionInterval','set','plugins','DISCONNECTED','9HbvzPt','5004066cnvyHF','bind','CONNECTED','listenTo','create','catch','_reconnect','isOfficialPlugin','4CUUrnG','destroy','websocketgateway-plugin-already-registered','WebSocketGateway','Connected\x20users\x20limit\x20exceeded','context','get','all','cloudServices.requestTimeout','real-time-collaboration','function','code','2358720JijZyg','isPremiumPlugin','isInReconnectionStack','websocketgateway-invalid-plugin-interface','init','from','CONNECTING','_domEmitter','_reconnectionStack','disconnect','connection','cloudservices-init','3096205ghDFyU','removeFromReconnectionStack','token','limitExceeded','online','requires','websocketgateway-missing-token','14990030GtTiWk','showWarning','delete','error','add','config','define','_isBrowserOffline','13159872nIYyMT','state','connect','81AWnXCz','cloudServices.connectionTimeout','addToReconnectionStack','constructor'];_0x456d=function(){return _0x4e656d;};return _0x456d();}import{ContextPlugin as _0x48489}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x34296c,CKEditorError as _0x331c84}from'ckeditor5/src/utils.js';function _0x3cab(_0x51a3c9,_0x124a69){const _0x456d94=_0x456d();return _0x3cab=function(_0x3cab90,_0x119a89){_0x3cab90=_0x3cab90-0x7a;let _0x400ba3=_0x456d94[_0x3cab90];return _0x400ba3;},_0x3cab(_0x51a3c9,_0x124a69);}import{WebSocketGateway as _0xb3a9c2,WEB_SOCKET_GATEWAY_STATES as _0x4c3e0e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x4a7a00}from'ckeditor5/src/ui.js';class c extends _0x48489{static get[_0x1a9ed5(0x8e)](){const _0x157d0a=_0x1a9ed5;return[_0x157d0a(0xa6),_0x4a7a00];}static get[_0x1a9ed5(0xac)](){const _0x55f145=_0x1a9ed5;return _0x55f145(0xbf);}static get[_0x1a9ed5(0xbb)](){return!0x0;}static get[_0x1a9ed5(0x7e)](){return!0x0;}constructor(_0x435a3e){const _0x5bc848=_0x1a9ed5;super(_0x435a3e),this[_0x5bc848(0xb0)](_0x5bc848(0x99),_0x4c3e0e[_0x5bc848(0xb6)]),this[_0x5bc848(0xb0)](_0x5bc848(0x97),!0x1),this[_0x5bc848(0x85)]=new Set(),this[_0x5bc848(0xa9)]=!0x1,this[_0x5bc848(0x84)]=Object[_0x5bc848(0xb8)](_0x34296c);}[_0x1a9ed5(0x81)](){const _0x3da697=_0x1a9ed5,_0x199bdc=this[_0x3da697(0xc1)],_0x13d4f4=_0x199bdc[_0x3da697(0xb1)][_0x3da697(0xc2)](_0x3da697(0xa6)),_0x41c25c=_0x199bdc[_0x3da697(0xb1)][_0x3da697(0xc2)](_0x4a7a00);if(!_0x13d4f4[_0x3da697(0x8b)])throw new _0x331c84(_0x3da697(0x8f),this);if(!_0x13d4f4[_0x3da697(0xa1)])throw new _0x331c84(_0x3da697(0xa4),this);return this[_0x3da697(0x84)][_0x3da697(0xb7)](window,_0x3da697(0xaa),()=>this[_0x3da697(0x97)]=!0x0),this[_0x3da697(0x84)][_0x3da697(0xb7)](window,_0x3da697(0x8d),()=>this[_0x3da697(0x97)]=!0x1),this[_0x3da697(0xc1)][_0x3da697(0x95)][_0x3da697(0x96)](_0x3da697(0x9c),0xa),this[_0x3da697(0xc1)][_0x3da697(0x95)][_0x3da697(0x96)](_0x3da697(0xc4),0x14),c[_0x3da697(0xbf)][_0x3da697(0x9a)](_0x13d4f4[_0x3da697(0x8b)],_0x13d4f4[_0x3da697(0xa1)],{'timeout':0x3e8*this[_0x3da697(0xc1)][_0x3da697(0x95)][_0x3da697(0xc2)](_0x3da697(0x9c)),'requestTimeout':0x3e8*this[_0x3da697(0xc1)][_0x3da697(0x95)][_0x3da697(0xc2)](_0x3da697(0xc4))})[_0x3da697(0xad)](_0x18ee53=>{const _0x5573fe=_0x3da697;if(this[_0x5573fe(0x87)]=_0x18ee53,this[_0x5573fe(0xb5)](_0x5573fe(0x99))['to'](_0x18ee53,_0x5573fe(0x99),this,_0x5573fe(0x97),(_0xf61263,_0x26fb7a)=>(_0x5573fe(0xae)!==_0xf61263&&(this[_0x5573fe(0xa9)]=!0x0),_0x26fb7a||_0xf61263!==_0x4c3e0e[_0x5573fe(0xb6)]?_0x4c3e0e[_0x5573fe(0xb2)]:this[_0x5573fe(0x99)]==_0x4c3e0e[_0x5573fe(0xb2)]&&this[_0x5573fe(0xa9)]?(this[_0x5573fe(0xa9)]=!0x1,this[_0x5573fe(0xba)](),_0x4c3e0e[_0x5573fe(0x83)]):_0x4c3e0e[_0x5573fe(0xb6)])),this[_0x5573fe(0x87)]['on'](_0x5573fe(0x93),(_0x114c86,_0x343def)=>{const _0x28879f=_0x5573fe;if(_0x28879f(0x8c)!==_0x343def[_0x28879f(0x7c)])throw console[_0x28879f(0x93)](_0x343def),new _0x331c84(_0x28879f(0x88),null,{'originalError':_0x343def});_0x41c25c[_0x28879f(0x91)](_0x28879f(0xa5),{'title':_0x28879f(0xc0),'namespace':_0x28879f(0x7a)});}),!_0x18ee53['me'])return new Promise(_0x578f49=>_0x18ee53['on'](_0x5573fe(0xa2),_0x578f49));})[_0x3da697(0xb9)](_0x5815ad=>{const _0x8d1684=_0x3da697;throw console[_0x8d1684(0x93)](_0x5815ad),new _0x331c84(_0x8d1684(0x88),null,{'originalError':_0x5815ad});});}[_0x1a9ed5(0x9d)](_0x59b1e1){const _0x5038fe=_0x1a9ed5;if(_0x5038fe(0x7b)!=typeof _0x59b1e1[_0x5038fe(0xab)])throw new _0x331c84(_0x5038fe(0x80),this);if(this[_0x5038fe(0x7f)](_0x59b1e1))throw new _0x331c84(_0x5038fe(0xbe),this,{'name':_0x59b1e1[_0x5038fe(0x9e)][_0x5038fe(0xac)]});this[_0x5038fe(0x85)][_0x5038fe(0x94)](_0x59b1e1);}[_0x1a9ed5(0x8a)](_0x2e5914){const _0x48a472=_0x1a9ed5;this[_0x48a472(0x85)][_0x48a472(0x92)](_0x2e5914);}[_0x1a9ed5(0x7f)](_0x2d1be7){const _0x1c5750=_0x1a9ed5;return this[_0x1c5750(0x85)][_0x1c5750(0x9f)](_0x2d1be7);}[_0x1a9ed5(0xba)](){const _0x1457c8=_0x1a9ed5;return this[_0x1457c8(0x87)][_0x1457c8(0xab)]()[_0x1457c8(0xad)](()=>Promise[_0x1457c8(0xc3)](Array[_0x1457c8(0x82)](this[_0x1457c8(0x85)],_0x1536d2=>_0x1536d2[_0x1457c8(0xab)]())))[_0x1457c8(0xad)](()=>this[_0x1457c8(0x99)]=_0x4c3e0e[_0x1457c8(0xb6)])[_0x1457c8(0xb9)](_0x2d0ba6=>{const _0x30e6f5=_0x1457c8;throw console[_0x30e6f5(0x93)](_0x2d0ba6),new _0x331c84(_0x30e6f5(0xa8),this[_0x30e6f5(0xc1)]);});}[_0x1a9ed5(0x86)](){const _0x2ad3f1=_0x1a9ed5;this[_0x2ad3f1(0x87)]&&this[_0x2ad3f1(0x87)][_0x2ad3f1(0x86)](),this[_0x2ad3f1(0x99)]=_0x4c3e0e[_0x2ad3f1(0xb2)],this[_0x2ad3f1(0x84)][_0x2ad3f1(0xa3)]();}[_0x1a9ed5(0xbd)](){const _0x450479=_0x1a9ed5;this[_0x450479(0x86)](),super[_0x450479(0xbd)]();}}c[_0x1a9ed5(0xbf)]=_0xb3a9c2,c[_0x1a9ed5(0xaf)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x24b3cd=_0x24f3;(function(_0x3d26d2,_0x34d30b){var _0x2bbe94=_0x24f3,_0x51aa83=_0x3d26d2();while(!![]){try{var _0x2d7ce9=-parseInt(_0x2bbe94(0xf5))/0x1+parseInt(_0x2bbe94(0xf6))/0x2+parseInt(_0x2bbe94(0xf2))/0x3*(parseInt(_0x2bbe94(0xee))/0x4)+parseInt(_0x2bbe94(0xef))/0x5*(parseInt(_0x2bbe94(0xf1))/0x6)+parseInt(_0x2bbe94(0xed))/0x7+parseInt(_0x2bbe94(0xec))/0x8+-parseInt(_0x2bbe94(0xf4))/0x9;if(_0x2d7ce9===_0x34d30b)break;else _0x51aa83['push'](_0x51aa83['shift']());}catch(_0x21547e){_0x51aa83['push'](_0x51aa83['shift']());}}}(_0x7798,0x7dac5));function _0x7798(){var _0x1f270c=['isOfficialPlugin','234PTsfBC','376317mcNfwW','isPremiumPlugin','9156357XYNnFo','515608eqgZyP','1043002IlTEuD','pluginName','RealTimeCollaborativeEditing','requires','3254376dwKOgA','4407914cDxmBh','4ublAov','46705IGPHcw'];_0x7798=function(){return _0x1f270c;};return _0x7798();}function _0x24f3(_0x5edef2,_0x54b2b0){var _0x7798e3=_0x7798();return _0x24f3=function(_0x24f3a6,_0x2a5dab){_0x24f3a6=_0x24f3a6-0xe9;var _0x4bc051=_0x7798e3[_0x24f3a6];return _0x4bc051;},_0x24f3(_0x5edef2,_0x54b2b0);}import{Plugin as _0x1bd1f7}from'ckeditor5/src/core.js';import _0x117cea from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x1bd1f7{static get[_0x24b3cd(0xeb)](){return[_0x117cea];}static get[_0x24b3cd(0xe9)](){var _0x294592=_0x24b3cd;return _0x294592(0xea);}static get[_0x24b3cd(0xf0)](){return!0x0;}static get[_0x24b3cd(0xf3)](){return!0x0;}}
|