@ckeditor/ckeditor5-real-time-collaboration 43.3.0-alpha.1 → 43.3.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2fcc7d=_0x1e59;(function(_0x2d741a,_0x44c760){const _0x4635ce=_0x1e59,_0x3db5dd=_0x2d741a();while(!![]){try{const _0x3051e3=parseInt(_0x4635ce(0x100))/0x1*(-parseInt(_0x4635ce(0xd9))/0x2)+-parseInt(_0x4635ce(0x10f))/0x3*(-parseInt(_0x4635ce(0xdf))/0x4)+-parseInt(_0x4635ce(0x126))/0x5+-parseInt(_0x4635ce(0xf9))/0x6*(-parseInt(_0x4635ce(0x115))/0x7)+parseInt(_0x4635ce(0xe1))/0x8*(-parseInt(_0x4635ce(0x106))/0x9)+-parseInt(_0x4635ce(0x11f))/0xa*(parseInt(_0x4635ce(0x128))/0xb)+parseInt(_0x4635ce(0x103))/0xc;if(_0x3051e3===_0x44c760)break;else _0x3db5dd['push'](_0x3db5dd['shift']());}catch(_0xea39cc){_0x3db5dd['push'](_0x3db5dd['shift']());}}}(_0x58dd,0x30723));import{Context as _0x33a863,ContextPlugin as _0x3906ef}from'ckeditor5/src/core.js';import{CKEditorError as _0x49256e}from'ckeditor5/src/utils.js';import{Users as _0x359e1a}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x43b9f8,User as _0x3b2053}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0xf3cbc4 from'../realtimecollaborativeediting/websocketgateway.js';import _0x419264 from'../realtimecollaborativeediting/sessions.js';class a extends _0x3906ef{static get[_0x2fcc7d(0x131)](){const _0x2bb4ff=_0x2fcc7d;return[_0xf3cbc4,_0x2bb4ff(0x10e),_0x419264,_0x359e1a];}static get[_0x2fcc7d(0x123)](){const _0x3258e7=_0x2fcc7d;return _0x3258e7(0xd2);}static get[_0x2fcc7d(0xfa)](){return!0x0;}static get[_0x2fcc7d(0xf3)](){return!0x0;}constructor(_0xbf805a){const _0x3c8a46=_0x2fcc7d;super(_0xbf805a),this[_0x3c8a46(0xcf)]=new Map();}async[_0x2fcc7d(0x12d)](){const _0xa91dca=_0x2fcc7d,_0x55f3ae=this[_0xa91dca(0x110)],_0x518201=_0x55f3ae[_0xa91dca(0x10a)][_0xa91dca(0xff)](_0xa91dca(0x10e));if(_0x55f3ae[_0xa91dca(0x10a)][_0xa91dca(0xff)](_0xf3cbc4)[_0xa91dca(0x125)](this),_0x518201[_0xa91dca(0x11d)]={'addCommentThread':async({channelId:_0x285a36,threadId:_0x180e18,comments:_0x53c112,resolvedAt:_0x1cf34b,resolvedBy:_0x2a4dbf,context:_0x44b73b,attributes:_0x20bd6f})=>{const _0x4f76b5=_0xa91dca,_0x3f4247=await this[_0x4f76b5(0x102)](_0x285a36)[_0x4f76b5(0x114)]({'commentThreadId':_0x180e18,'comments':_0x53c112[_0x4f76b5(0x12f)](_0x5b1e77=>function(_0x4d0854,_0xe30b9e,_0x171b74){const _0x23464d=_0x4f76b5;return{'commentThreadId':_0x171b74,'commentId':_0x4d0854[_0x23464d(0xda)],'userId':_0x4d0854[_0x23464d(0xdc)],'content':_0x4d0854[_0x23464d(0xfc)],'documentId':_0xe30b9e,'createdAt':_0x4d0854[_0x23464d(0xf2)],'attributes':_0x4d0854[_0x23464d(0x109)]||{}};}(_0x5b1e77,_0x285a36,_0x180e18)),'resolvedAt':_0x1cf34b,'resolvedBy':_0x2a4dbf,'context':_0x44b73b,'attributes':_0x20bd6f})[_0x4f76b5(0xeb)](w);return{'threadId':_0x3f4247[_0x4f76b5(0x101)],'comments':_0x3f4247[_0x4f76b5(0xd3)]};},'getCommentThread':async({channelId:_0x212397,threadId:_0x2bf50a})=>{const _0x237006=_0xa91dca,_0x4968f1=await this[_0x237006(0x102)](_0x212397)[_0x237006(0xec)](_0x2bf50a)[_0x237006(0xeb)](w);return _0x4968f1[_0x237006(0xf4)]?null:(await this[_0x237006(0xf6)]([_0x4968f1]),{'threadId':_0x4968f1[_0x237006(0x101)],'comments':_0x4968f1[_0x237006(0xd3)][_0x237006(0x12f)](b),'context':_0x4968f1[_0x237006(0x110)],'resolvedAt':_0x4968f1[_0x237006(0xf1)],'resolvedBy':_0x4968f1[_0x237006(0x121)],'attributes':_0x4968f1[_0x237006(0x109)]||{}});},'updateCommentThread':async({channelId:_0x158a57,threadId:_0x21ca6d,context:_0x4cab3f,unlinkedAt:_0x279d6e,attributes:_0x2fbb21})=>this[_0xa91dca(0x102)](_0x158a57)[_0xa91dca(0xf0)]({'commentThreadId':_0x21ca6d,'context':_0x4cab3f,'attributes':_0x2fbb21,'unlinkedAt':_0x279d6e})[_0xa91dca(0xeb)](y)[_0xa91dca(0xeb)](w),'resolveCommentThread':async({channelId:_0x3904a0,threadId:_0x116d79})=>{const _0x2d3248=_0xa91dca,_0x1d0f77=await this[_0x2d3248(0x102)](_0x3904a0)[_0x2d3248(0xd1)](_0x116d79)[_0x2d3248(0xeb)](y)[_0x2d3248(0xeb)](w);return{'threadId':_0x1d0f77[_0x2d3248(0x101)],'resolvedAt':_0x1d0f77[_0x2d3248(0xf1)],'resolvedBy':_0x1d0f77[_0x2d3248(0x121)]};},'reopenCommentThread':async({channelId:_0x56cf5e,threadId:_0x3fa5e6})=>this[_0xa91dca(0x102)](_0x56cf5e)[_0xa91dca(0x122)](_0x3fa5e6)[_0xa91dca(0xeb)](y)[_0xa91dca(0xeb)](w),'removeCommentThread':({channelId:_0x16fb0f,threadId:_0x5c45d2})=>this[_0xa91dca(0x102)](_0x16fb0f)[_0xa91dca(0xef)](_0x5c45d2)[_0xa91dca(0xeb)](y)[_0xa91dca(0xeb)](w),'addComment':({channelId:_0x13940b,threadId:_0x467a2e,commentId:_0x4092e0,content:_0x31e46f,attributes:_0xa9e4c0})=>this[_0xa91dca(0x102)](_0x13940b)[_0xa91dca(0xe7)](_0x467a2e,_0x4092e0,_0x31e46f,_0xa9e4c0)[_0xa91dca(0xeb)](w),'updateComment':({channelId:_0x3802fe,threadId:_0x5a2697,commentId:_0x269c73,content:_0x139643,attributes:_0x214192})=>this[_0xa91dca(0x102)](_0x3802fe)[_0xa91dca(0x107)](_0x5a2697,_0x269c73,_0x139643,_0x214192)[_0xa91dca(0xeb)](y)[_0xa91dca(0xeb)](w),'removeComment':({channelId:_0x3c10a8,threadId:_0x5d5eed,commentId:_0x5d300f})=>this[_0xa91dca(0x102)](_0x3c10a8)[_0xa91dca(0x11e)](_0x5d5eed,_0x5d300f)[_0xa91dca(0xeb)](y)[_0xa91dca(0xeb)](w)},_0x55f3ae instanceof _0x33a863){const _0x44de62=_0x55f3ae[_0xa91dca(0x120)][_0xa91dca(0xff)](_0xa91dca(0x12e)),_0x113fe8=_0x55f3ae[_0xa91dca(0x10a)][_0xa91dca(0xff)](_0x419264);await this[_0xa91dca(0x108)](_0x44de62);const _0x1eac52=await this[_0xa91dca(0xcf)][_0xa91dca(0xff)](_0x44de62)[_0xa91dca(0x116)]();this[_0xa91dca(0xd8)](_0x113fe8,_0xa91dca(0xd0)+_0x44de62,(_0x2b7f73,{session:_0x3640bd})=>{const _0x24284c=_0xa91dca;_0x3640bd['id']===_0x113fe8[_0x24284c(0x129)]&&(_0x2b7f73[_0x24284c(0xfb)](),this[_0x24284c(0x110)][_0x24284c(0x10a)][_0x24284c(0xff)](_0x24284c(0x10b))[_0x24284c(0xd4)](_0x3640bd[_0x24284c(0x119)],_0x44de62));}),_0x113fe8[_0xa91dca(0xfd)](_0x44de62,_0x1eac52);}}async[_0x2fcc7d(0x108)](_0x494023){const _0x180d87=_0x2fcc7d;if(this[_0x180d87(0xcf)][_0x180d87(0x134)](_0x494023))throw new _0x49256e(_0x180d87(0xe8),null,{'channelId':_0x494023});const _0x1bd2ce=this[_0x180d87(0x110)][_0x180d87(0x10a)][_0x180d87(0xff)](_0x180d87(0x10e)),_0x583259=new a[(_0x180d87(0xd7))](_0x494023);this[_0x180d87(0xcf)][_0x180d87(0x12b)](_0x494023,_0x583259),this[_0x180d87(0xd8)](_0x583259,_0x180d87(0x136),(_0x5573a7,_0x4db20d)=>{const _0x4622e4=_0x180d87,{commentThreadId:_0x59ddd4,documentId:_0x537ef2,context:_0x497d28,attributes:_0x52018d,resolvedAt:_0x3287c4,resolvedBy:_0x368ddf,comments:_0x920785}=_0x4db20d;_0x1bd2ce[_0x4622e4(0xec)](_0x59ddd4)||_0x1bd2ce[_0x4622e4(0x114)]({'threadId':_0x59ddd4,'channelId':_0x537ef2,'comments':_0x920785?_0x920785[_0x4622e4(0x12f)](b):[],'context':_0x497d28,'attributes':_0x52018d,'resolvedAt':_0x3287c4,'resolvedBy':_0x368ddf,'isFromAdapter':!0x0});}),this[_0x180d87(0xd8)](_0x583259,_0x180d87(0x12a),(_0x42b814,{commentThreadId:_0x506be7,documentId:_0xa1960d,context:_0x5c714c,unlinkedAt:_0x44b3d3,attributes:_0x3509d8})=>{const _0x517989=_0x180d87;_0x1bd2ce[_0x517989(0xec)](_0x506be7)&&_0x1bd2ce[_0x517989(0xf0)]({'threadId':_0x506be7,'channelId':_0xa1960d,'context':_0x5c714c,'unlinkedAt':_0x44b3d3,'attributes':_0x3509d8,'isFromAdapter':!0x0});}),this[_0x180d87(0xd8)](_0x583259,_0x180d87(0xf7),(_0x25e0e0,{commentThreadId:_0x5cdf1f,resolvedBy:_0x2994bc,resolvedAt:_0x5445a6})=>{const _0x56e136=_0x180d87,_0xae95a5=_0x1bd2ce[_0x56e136(0xec)](_0x5cdf1f);_0xae95a5&&_0xae95a5[_0x56e136(0x10c)]({'resolvedBy':_0x2994bc,'resolvedAt':_0x5445a6,'isFromAdapter':!0x0});}),this[_0x180d87(0xd8)](_0x583259,_0x180d87(0x104),(_0x37848c,{commentThreadId:_0x40d7cb})=>{const _0x5ed345=_0x180d87,_0x1051ae=_0x1bd2ce[_0x5ed345(0xec)](_0x40d7cb);_0x1051ae&&_0x1051ae[_0x5ed345(0x105)]({'isFromAdapter':!0x0});}),this[_0x180d87(0xd8)](_0x583259,_0x180d87(0x11b),(_0x1f8cfd,{commentThreadId:_0x36186a})=>{const _0x40760b=_0x180d87,_0xa99bce=_0x1bd2ce[_0x40760b(0xec)](_0x36186a);_0xa99bce&&_0xa99bce[_0x40760b(0x135)]({'isFromAdapter':!0x0});}),this[_0x180d87(0xd8)](_0x583259,_0x180d87(0xd6),(_0x54831c,_0x5465e0)=>{const _0x441b00=_0x180d87,_0x45805f=_0x5465e0[_0x441b00(0x101)],_0x459573=_0x1bd2ce[_0x441b00(0xec)](_0x45805f);_0x459573&&_0x459573[_0x441b00(0xe7)]({...b(_0x5465e0),'isFromAdapter':!0x0});}),this[_0x180d87(0xd8)](_0x583259,_0x180d87(0xe9),(_0x4e401c,{commentThreadId:_0x52aad5,commentId:_0x1064cf,content:_0x4e92ba,attributes:_0x324a0b})=>{const _0x328b29=_0x180d87,_0x5e7bf0=_0x1bd2ce[_0x328b29(0xec)](_0x52aad5);if(_0x5e7bf0){const _0x6130b=_0x5e7bf0[_0x328b29(0xf5)](_0x1064cf);_0x6130b&&_0x6130b[_0x328b29(0xe5)]({'content':_0x4e92ba,'attributes':_0x324a0b,'isFromAdapter':!0x0});}}),this[_0x180d87(0xd8)](_0x583259,_0x180d87(0x11a),(_0x11bf59,{commentThreadId:_0x25d45f,commentId:_0x46a5e1})=>{const _0x4c3cec=_0x180d87,_0x27478c=_0x1bd2ce[_0x4c3cec(0xec)](_0x25d45f);if(_0x27478c){const _0x4905d5=_0x27478c[_0x4c3cec(0xf5)](_0x46a5e1);_0x4905d5&&_0x4905d5[_0x4c3cec(0x135)]({'isFromAdapter':!0x0});}}),await this[_0x180d87(0xfe)](_0x494023);}[_0x2fcc7d(0xdd)](){const _0x553f0e=_0x2fcc7d;if(this[_0x553f0e(0x110)]instanceof _0x33a863){const _0x15e863=this[_0x553f0e(0x110)][_0x553f0e(0x120)][_0x553f0e(0xff)](_0x553f0e(0x12e));this[_0x553f0e(0xdb)](_0x15e863);}}[_0x2fcc7d(0xdb)](_0x4ebca0){const _0x4911b3=_0x2fcc7d;if(!this[_0x4911b3(0xcf)][_0x4911b3(0x134)](_0x4ebca0))throw new _0x49256e(_0x4911b3(0xd5),null,{'channelId':_0x4ebca0});this[_0x4911b3(0x102)](_0x4ebca0)[_0x4911b3(0x12c)](),this[_0x4911b3(0xcf)][_0x4911b3(0x10d)](_0x4ebca0);}async[_0x2fcc7d(0xe3)](){const _0x4d8f79=_0x2fcc7d;for(const _0x421969 of this[_0x4d8f79(0xcf)][_0x4d8f79(0x130)]())await this[_0x4d8f79(0xfe)](_0x421969);if(this[_0x4d8f79(0x110)]instanceof _0x33a863){const _0x29ab1a=this[_0x4d8f79(0x110)][_0x4d8f79(0x120)][_0x4d8f79(0xff)](_0x4d8f79(0x12e)),_0x79c67=this[_0x4d8f79(0x110)][_0x4d8f79(0x10a)][_0x4d8f79(0xff)](_0x419264);_0x79c67[_0x4d8f79(0x127)](_0x29ab1a);const _0x40ee6c=await this[_0x4d8f79(0xcf)][_0x4d8f79(0xff)](_0x29ab1a)[_0x4d8f79(0x116)]();_0x79c67[_0x4d8f79(0xfd)](_0x29ab1a,_0x40ee6c);}}async[_0x2fcc7d(0xfe)](_0x18ace3){const _0x5a03e7=_0x2fcc7d,{connection:_0xad85c8}=this[_0x5a03e7(0x110)][_0x5a03e7(0x10a)][_0x5a03e7(0xff)](_0xf3cbc4),_0x9f0908=this[_0x5a03e7(0x110)][_0x5a03e7(0x10a)][_0x5a03e7(0xff)](_0x5a03e7(0x10e)),_0x2fa5eb=this[_0x5a03e7(0xcf)][_0x5a03e7(0xff)](_0x18ace3),_0x48f417=await _0x2fa5eb[_0x5a03e7(0x111)](_0xad85c8);await this[_0x5a03e7(0xf6)](_0x48f417);const _0x41e59c=new Set(Array[_0x5a03e7(0x11c)](_0x9f0908[_0x5a03e7(0xde)]({'channelId':_0x18ace3}),_0x5dcfc6=>_0x5dcfc6['id']));for(const _0x1ef9d9 of _0x48f417)_0x1ef9d9[_0x5a03e7(0xf4)]||_0x41e59c[_0x5a03e7(0x10d)](_0x1ef9d9[_0x5a03e7(0x101)]);for(const _0x26229f of _0x41e59c)_0x9f0908[_0x5a03e7(0xec)](_0x26229f)[_0x5a03e7(0x135)]({'isFromAdapter':!0x0});for(const _0x576606 of _0x48f417){let _0x3217c0=_0x9f0908[_0x5a03e7(0xec)](_0x576606[_0x5a03e7(0x101)]);const {commentThreadId:_0x27be9f,context:_0x1c4bb5,attributes:_0x3f3525,resolvedBy:_0x4a5868,resolvedAt:_0x4a1845,unlinkedAt:_0x30e892,deletedAt:_0x15dc1a}=_0x576606;if(_0x15dc1a)continue;_0x3217c0||(_0x3217c0=_0x9f0908[_0x5a03e7(0x114)]({'channelId':_0x18ace3,'threadId':_0x27be9f,'context':_0x1c4bb5,'attributes':_0x3f3525||{},'resolvedBy':_0x4a5868,'resolvedAt':_0x4a1845,'unlinkedAt':_0x30e892,'isFromAdapter':!0x0}));const _0x5c8941=new Set(Array[_0x5a03e7(0x11c)](_0x3217c0[_0x5a03e7(0xd3)],_0x3c370c=>_0x3c370c['id']));for(const _0x10fa8f of _0x576606[_0x5a03e7(0xd3)])_0x5c8941[_0x5a03e7(0x10d)](_0x10fa8f[_0x5a03e7(0xda)]);for(const _0x2fc551 of _0x5c8941)_0x3217c0[_0x5a03e7(0xf5)](_0x2fc551)[_0x5a03e7(0x135)]({'isFromAdapter':!0x0});for(const _0x4a9dc7 of _0x576606[_0x5a03e7(0xd3)]){const _0x1b5943=_0x3217c0[_0x5a03e7(0xf5)](_0x4a9dc7[_0x5a03e7(0xda)]);_0x1b5943?_0x1b5943[_0x5a03e7(0xfc)]!==_0x4a9dc7[_0x5a03e7(0xfc)]&&_0x1b5943[_0x5a03e7(0xe5)]({'content':_0x4a9dc7[_0x5a03e7(0xfc)],'isFromAdapter':!0x0}):_0x3217c0[_0x5a03e7(0xe7)](Object[_0x5a03e7(0xea)](b(_0x4a9dc7),{'isFromAdapter':!0x0}));}}}[_0x2fcc7d(0x102)](_0x3d792a){const _0x4417b2=_0x2fcc7d;if(!this[_0x4417b2(0xcf)][_0x4417b2(0x134)](_0x3d792a))throw new _0x49256e(_0x4417b2(0xe4),null,{'channelId':_0x3d792a});return this[_0x4417b2(0xcf)][_0x4417b2(0xff)](_0x3d792a);}async[_0x2fcc7d(0xf6)](_0x59f631){const _0x556d92=_0x2fcc7d,_0x48d6c8=this[_0x556d92(0x110)][_0x556d92(0x10a)][_0x556d92(0xff)](_0x359e1a),{connection:_0xfbb839}=this[_0x556d92(0x110)][_0x556d92(0x10a)][_0x556d92(0xff)](_0xf3cbc4),_0x140ffa=new Set();for(const {resolvedBy:_0x49b5a3,comments:_0x57731d}of _0x59f631){_0x49b5a3&&!_0x48d6c8[_0x556d92(0x112)](_0x49b5a3)&&_0x140ffa[_0x556d92(0xe6)](_0x49b5a3);for(const {userId:_0x1a7206}of _0x57731d)_0x48d6c8[_0x556d92(0x112)](_0x1a7206)||_0x140ffa[_0x556d92(0xe6)](_0x1a7206);}if(0x0===_0x140ffa[_0x556d92(0x124)])return;const _0x32139a=await _0x3b2053[_0x556d92(0x132)](_0xfbb839,Array[_0x556d92(0x11c)](_0x140ffa));for(const _0x4c7913 of _0x32139a)_0x48d6c8[_0x556d92(0x112)](_0x4c7913['id'])||_0x48d6c8[_0x556d92(0xf8)](_0x4c7913);}}a[_0x2fcc7d(0xd7)]=_0x43b9f8;function _0x58dd(){const _0x4989b4=['55SILqVr','mySessionId','commentThreadUpdated','set','disconnect','init','collaboration.channelId','map','keys','requires','getMany','cloud-services-internal-error:\x20Request\x20timeout.','has','remove','commentThreadAdded','_services','sessionAdd:','resolveCommentThread','CloudServicesCommentsAdapter','comments','setPermissions','cloudservicescommentsadapter-disconnect-not-exist','commentAdded','CommentsService','listenTo','126038ErOTVS','commentId','_terminateService','authorId','destroy','getCommentThreads','55612POjzcs','cloud-services-internal-error:\x20Not\x20connected.','270768PWvdAi','code','reconnect','cloudservicescommentsadapter-service-not-exist','update','add','addComment','cloudservicescommentsadapter-connect-already-connected','commentUpdated','assign','catch','getCommentThread','404','startsWith','removeCommentThread','updateCommentThread','resolvedAt','createdAt','isPremiumPlugin','deletedAt','getComment','_fetchMissingUsersForThreads','commentThreadResolved','addUser','3192ICzfss','isOfficialPlugin','off','content','register','_connectService','get','1ysTEyd','commentThreadId','_getService','7743072bziSeW','commentThreadReopened','reopen','63vtJMTY','updateComment','_setUpService','attributes','plugins','Permissions','resolve','delete','CommentsRepository','69NqcVgf','context','connect','getUser','message','addCommentThread','105mCoNzf','getConnectedSessions','userId','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','permissions','commentRemoved','commentThreadRemoved','from','adapter','removeComment','335290YkXKkN','config','resolvedBy','reopenCommentThread','pluginName','size','addToReconnectionStack','1534920oxgLVa','unregister'];_0x58dd=function(){return _0x4989b4;};return _0x58dd();}export default a;function _0x1e59(_0x408487,_0x1d00c0){const _0x58dd74=_0x58dd();return _0x1e59=function(_0x1e597c,_0x15d515){_0x1e597c=_0x1e597c-0xcf;let _0x11752f=_0x58dd74[_0x1e597c];return _0x11752f;},_0x1e59(_0x408487,_0x1d00c0);}async function y(_0x33a3cd){const _0x40b0ae=_0x2fcc7d;if(_0x40b0ae(0xed)!==_0x33a3cd[_0x40b0ae(0xe2)])throw _0x33a3cd;}function w(_0x152ab8){const _0x32a6f6=_0x2fcc7d;if((_0x30519b=_0x152ab8)[_0x32a6f6(0x113)][_0x32a6f6(0xee)](_0x32a6f6(0x118))||_0x30519b[_0x32a6f6(0x113)][_0x32a6f6(0xee)](_0x32a6f6(0xe0))||_0x30519b[_0x32a6f6(0x113)][_0x32a6f6(0xee)](_0x32a6f6(0x133)))return new Promise(()=>{});var _0x30519b;throw _0x152ab8;}function b(_0x1d13eb){const _0x23e601=_0x2fcc7d;return{'threadId':_0x1d13eb[_0x23e601(0x101)],'commentId':_0x1d13eb[_0x23e601(0xda)],'content':_0x1d13eb[_0x23e601(0xfc)],'createdAt':_0x1d13eb[_0x23e601(0xf2)],'authorId':_0x1d13eb[_0x23e601(0x117)],'attributes':_0x1d13eb[_0x23e601(0x109)]||{}};}
|
|
23
|
+
const _0x522169=_0x5ef9;function _0x5ef9(_0xdc0b49,_0x12bade){const _0x4b95c7=_0x4b95();return _0x5ef9=function(_0x5ef92e,_0x176c5a){_0x5ef92e=_0x5ef92e-0x114;let _0x3dcef1=_0x4b95c7[_0x5ef92e];return _0x3dcef1;},_0x5ef9(_0xdc0b49,_0x12bade);}(function(_0x1349f1,_0x284ff4){const _0x2c4b70=_0x5ef9,_0xd36e91=_0x1349f1();while(!![]){try{const _0x36fd54=parseInt(_0x2c4b70(0x114))/0x1*(-parseInt(_0x2c4b70(0x177))/0x2)+parseInt(_0x2c4b70(0x12e))/0x3+-parseInt(_0x2c4b70(0x157))/0x4*(-parseInt(_0x2c4b70(0x15d))/0x5)+-parseInt(_0x2c4b70(0x137))/0x6*(-parseInt(_0x2c4b70(0x165))/0x7)+-parseInt(_0x2c4b70(0x11e))/0x8+-parseInt(_0x2c4b70(0x138))/0x9+parseInt(_0x2c4b70(0x11f))/0xa;if(_0x36fd54===_0x284ff4)break;else _0xd36e91['push'](_0xd36e91['shift']());}catch(_0x521777){_0xd36e91['push'](_0xd36e91['shift']());}}}(_0x4b95,0x91f43));import{Context as _0x136ff9,ContextPlugin as _0xff425c}from'ckeditor5/src/core.js';import{CKEditorError as _0x279611}from'ckeditor5/src/utils.js';import{Users as _0x5a69de}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x29b95b,User as _0x16eaf8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x5805ec from'../realtimecollaborativeediting/websocketgateway.js';import _0x46a2f6 from'../realtimecollaborativeediting/sessions.js';class a extends _0xff425c{static get[_0x522169(0x11c)](){const _0x2c9c55=_0x522169;return[_0x5805ec,_0x2c9c55(0x16d),_0x46a2f6,_0x5a69de];}static get[_0x522169(0x167)](){const _0x58681a=_0x522169;return _0x58681a(0x166);}static get[_0x522169(0x152)](){return!0x0;}static get[_0x522169(0x150)](){return!0x0;}constructor(_0x576bf5){const _0x2b79b5=_0x522169;super(_0x576bf5),this[_0x2b79b5(0x170)]=new Map();}async[_0x522169(0x128)](){const _0x2f3055=_0x522169,_0x5cee3e=this[_0x2f3055(0x148)],_0x5b491d=_0x5cee3e[_0x2f3055(0x151)][_0x2f3055(0x16e)](_0x2f3055(0x16d));if(_0x5cee3e[_0x2f3055(0x151)][_0x2f3055(0x16e)](_0x5805ec)[_0x2f3055(0x16c)](this),_0x5b491d[_0x2f3055(0x139)]={'addCommentThread':async({channelId:_0x370bf2,threadId:_0x2467bd,comments:_0x44001e,resolvedAt:_0x395ddf,resolvedBy:_0x36ace5,context:_0x38b400,attributes:_0x3a0847})=>{const _0x757ed0=_0x2f3055,_0x162ae7=await this[_0x757ed0(0x140)](_0x370bf2)[_0x757ed0(0x15e)]({'commentThreadId':_0x2467bd,'comments':_0x44001e[_0x757ed0(0x15a)](_0x2293b4=>function(_0x1536b6,_0x49eff8,_0x5dce49){const _0x4c39c8=_0x757ed0;return{'commentThreadId':_0x5dce49,'commentId':_0x1536b6[_0x4c39c8(0x141)],'userId':_0x1536b6[_0x4c39c8(0x12a)],'content':_0x1536b6[_0x4c39c8(0x173)],'documentId':_0x49eff8,'createdAt':_0x1536b6[_0x4c39c8(0x126)],'attributes':_0x1536b6[_0x4c39c8(0x119)]||{}};}(_0x2293b4,_0x370bf2,_0x2467bd)),'resolvedAt':_0x395ddf,'resolvedBy':_0x36ace5,'context':_0x38b400,'attributes':_0x3a0847})[_0x757ed0(0x168)](w);return{'threadId':_0x162ae7[_0x757ed0(0x153)],'comments':_0x162ae7[_0x757ed0(0x12f)]};},'getCommentThread':async({channelId:_0x1d2cbd,threadId:_0xc16a66})=>{const _0x5c91c7=_0x2f3055,_0x2a9e32=await this[_0x5c91c7(0x140)](_0x1d2cbd)[_0x5c91c7(0x11b)](_0xc16a66)[_0x5c91c7(0x168)](w);return _0x2a9e32[_0x5c91c7(0x121)]?null:(await this[_0x5c91c7(0x15b)]([_0x2a9e32]),{'threadId':_0x2a9e32[_0x5c91c7(0x153)],'comments':_0x2a9e32[_0x5c91c7(0x12f)][_0x5c91c7(0x15a)](b),'context':_0x2a9e32[_0x5c91c7(0x148)],'resolvedAt':_0x2a9e32[_0x5c91c7(0x155)],'resolvedBy':_0x2a9e32[_0x5c91c7(0x12d)],'attributes':_0x2a9e32[_0x5c91c7(0x119)]||{}});},'updateCommentThread':async({channelId:_0x4d652a,threadId:_0x39b8c3,context:_0x1a88e2,unlinkedAt:_0x3f149a,attributes:_0x4927ff})=>this[_0x2f3055(0x140)](_0x4d652a)[_0x2f3055(0x149)]({'commentThreadId':_0x39b8c3,'context':_0x1a88e2,'attributes':_0x4927ff,'unlinkedAt':_0x3f149a})[_0x2f3055(0x168)](y)[_0x2f3055(0x168)](w),'resolveCommentThread':async({channelId:_0x451481,threadId:_0x5971f8})=>{const _0x4548e8=_0x2f3055,_0x1458c7=await this[_0x4548e8(0x140)](_0x451481)[_0x4548e8(0x11d)](_0x5971f8)[_0x4548e8(0x168)](y)[_0x4548e8(0x168)](w);return{'threadId':_0x1458c7[_0x4548e8(0x153)],'resolvedAt':_0x1458c7[_0x4548e8(0x155)],'resolvedBy':_0x1458c7[_0x4548e8(0x12d)]};},'reopenCommentThread':async({channelId:_0x31d48d,threadId:_0xa91992})=>this[_0x2f3055(0x140)](_0x31d48d)[_0x2f3055(0x120)](_0xa91992)[_0x2f3055(0x168)](y)[_0x2f3055(0x168)](w),'removeCommentThread':({channelId:_0x1c391b,threadId:_0x357db5})=>this[_0x2f3055(0x140)](_0x1c391b)[_0x2f3055(0x125)](_0x357db5)[_0x2f3055(0x168)](y)[_0x2f3055(0x168)](w),'addComment':({channelId:_0xfedf49,threadId:_0x4108b5,commentId:_0x2201b1,content:_0x5c810e,attributes:_0x25a6b5})=>this[_0x2f3055(0x140)](_0xfedf49)[_0x2f3055(0x15f)](_0x4108b5,_0x2201b1,_0x5c810e,_0x25a6b5)[_0x2f3055(0x168)](w),'updateComment':({channelId:_0x3512ad,threadId:_0x269e8d,commentId:_0x56b7bc,content:_0x41a9f5,attributes:_0x5c3fda})=>this[_0x2f3055(0x140)](_0x3512ad)[_0x2f3055(0x156)](_0x269e8d,_0x56b7bc,_0x41a9f5,_0x5c3fda)[_0x2f3055(0x168)](y)[_0x2f3055(0x168)](w),'removeComment':({channelId:_0x587201,threadId:_0x29121c,commentId:_0x5f03ca})=>this[_0x2f3055(0x140)](_0x587201)[_0x2f3055(0x159)](_0x29121c,_0x5f03ca)[_0x2f3055(0x168)](y)[_0x2f3055(0x168)](w)},_0x5cee3e instanceof _0x136ff9){const _0x1fddd0=_0x5cee3e[_0x2f3055(0x12b)][_0x2f3055(0x16e)](_0x2f3055(0x164)),_0x5452b2=_0x5cee3e[_0x2f3055(0x151)][_0x2f3055(0x16e)](_0x46a2f6);await this[_0x2f3055(0x13c)](_0x1fddd0);const _0x55d3f7=await this[_0x2f3055(0x170)][_0x2f3055(0x16e)](_0x1fddd0)[_0x2f3055(0x129)]();this[_0x2f3055(0x118)](_0x5452b2,_0x2f3055(0x124)+_0x1fddd0,(_0x557d8e,{session:_0x49a622})=>{const _0x34ddbd=_0x2f3055;_0x49a622['id']===_0x5452b2[_0x34ddbd(0x162)]&&(_0x557d8e[_0x34ddbd(0x142)](),this[_0x34ddbd(0x148)][_0x34ddbd(0x151)][_0x34ddbd(0x16e)](_0x34ddbd(0x160))[_0x34ddbd(0x143)](_0x49a622[_0x34ddbd(0x146)],_0x1fddd0));}),_0x5452b2[_0x2f3055(0x133)](_0x1fddd0,_0x55d3f7);}}async[_0x522169(0x13c)](_0x518228){const _0x1f51a1=_0x522169;if(this[_0x1f51a1(0x170)][_0x1f51a1(0x179)](_0x518228))throw new _0x279611(_0x1f51a1(0x116),null,{'channelId':_0x518228});const _0x4c80bb=this[_0x1f51a1(0x148)][_0x1f51a1(0x151)][_0x1f51a1(0x16e)](_0x1f51a1(0x16d)),_0xe9dcc0=new a[(_0x1f51a1(0x13b))](_0x518228);this[_0x1f51a1(0x170)][_0x1f51a1(0x16b)](_0x518228,_0xe9dcc0),this[_0x1f51a1(0x118)](_0xe9dcc0,_0x1f51a1(0x158),(_0x36cf2f,_0x31c44f)=>{const _0x59ce4a=_0x1f51a1,{commentThreadId:_0x56f744,documentId:_0x57aa17,context:_0x4d7814,attributes:_0x1a29b2,resolvedAt:_0x3a6d2d,resolvedBy:_0x33fc0b,comments:_0x53e4b8}=_0x31c44f;_0x4c80bb[_0x59ce4a(0x11b)](_0x56f744)||_0x4c80bb[_0x59ce4a(0x15e)]({'threadId':_0x56f744,'channelId':_0x57aa17,'comments':_0x53e4b8?_0x53e4b8[_0x59ce4a(0x15a)](b):[],'context':_0x4d7814,'attributes':_0x1a29b2,'resolvedAt':_0x3a6d2d,'resolvedBy':_0x33fc0b,'isFromAdapter':!0x0});}),this[_0x1f51a1(0x118)](_0xe9dcc0,_0x1f51a1(0x169),(_0x4f18e7,{commentThreadId:_0x4336a8,documentId:_0x1983db,context:_0x2e1990,unlinkedAt:_0x27abba,attributes:_0xdcc9b0})=>{const _0x55328f=_0x1f51a1;_0x4c80bb[_0x55328f(0x11b)](_0x4336a8)&&_0x4c80bb[_0x55328f(0x149)]({'threadId':_0x4336a8,'channelId':_0x1983db,'context':_0x2e1990,'unlinkedAt':_0x27abba,'attributes':_0xdcc9b0,'isFromAdapter':!0x0});}),this[_0x1f51a1(0x118)](_0xe9dcc0,_0x1f51a1(0x14e),(_0xc9ce4f,{commentThreadId:_0x250bc6,resolvedBy:_0x10d68b,resolvedAt:_0x35c591})=>{const _0x540198=_0x1f51a1,_0x5d4384=_0x4c80bb[_0x540198(0x11b)](_0x250bc6);_0x5d4384&&_0x5d4384[_0x540198(0x135)]({'resolvedBy':_0x10d68b,'resolvedAt':_0x35c591,'isFromAdapter':!0x0});}),this[_0x1f51a1(0x118)](_0xe9dcc0,_0x1f51a1(0x174),(_0x4cf55a,{commentThreadId:_0x43e3d2})=>{const _0x501bb6=_0x1f51a1,_0xc2a7f5=_0x4c80bb[_0x501bb6(0x11b)](_0x43e3d2);_0xc2a7f5&&_0xc2a7f5[_0x501bb6(0x117)]({'isFromAdapter':!0x0});}),this[_0x1f51a1(0x118)](_0xe9dcc0,_0x1f51a1(0x15c),(_0x2a87c3,{commentThreadId:_0x531801})=>{const _0x2ec37e=_0x1f51a1,_0x330d28=_0x4c80bb[_0x2ec37e(0x11b)](_0x531801);_0x330d28&&_0x330d28[_0x2ec37e(0x13f)]({'isFromAdapter':!0x0});}),this[_0x1f51a1(0x118)](_0xe9dcc0,_0x1f51a1(0x175),(_0x34d28f,_0x27a391)=>{const _0x1c45b0=_0x1f51a1,_0x2c5c6f=_0x27a391[_0x1c45b0(0x153)],_0x55dbf4=_0x4c80bb[_0x1c45b0(0x11b)](_0x2c5c6f);_0x55dbf4&&_0x55dbf4[_0x1c45b0(0x15f)]({...b(_0x27a391),'isFromAdapter':!0x0});}),this[_0x1f51a1(0x118)](_0xe9dcc0,_0x1f51a1(0x13e),(_0x3f7c7e,{commentThreadId:_0x8e2098,commentId:_0x248bc8,content:_0x4ea4d9,attributes:_0x48cda9})=>{const _0x3e8afe=_0x1f51a1,_0x13e56e=_0x4c80bb[_0x3e8afe(0x11b)](_0x8e2098);if(_0x13e56e){const _0x246c3a=_0x13e56e[_0x3e8afe(0x12c)](_0x248bc8);_0x246c3a&&_0x246c3a[_0x3e8afe(0x144)]({'content':_0x4ea4d9,'attributes':_0x48cda9,'isFromAdapter':!0x0});}}),this[_0x1f51a1(0x118)](_0xe9dcc0,_0x1f51a1(0x178),(_0x330125,{commentThreadId:_0x459fbf,commentId:_0x4f8bd0})=>{const _0x4a2a6a=_0x1f51a1,_0xaf0aa8=_0x4c80bb[_0x4a2a6a(0x11b)](_0x459fbf);if(_0xaf0aa8){const _0x3d8c6c=_0xaf0aa8[_0x4a2a6a(0x12c)](_0x4f8bd0);_0x3d8c6c&&_0x3d8c6c[_0x4a2a6a(0x13f)]({'isFromAdapter':!0x0});}}),await this[_0x1f51a1(0x130)](_0x518228);}[_0x522169(0x172)](){const _0x1cacf9=_0x522169;if(this[_0x1cacf9(0x148)]instanceof _0x136ff9){const _0x3d68e0=this[_0x1cacf9(0x148)][_0x1cacf9(0x12b)][_0x1cacf9(0x16e)](_0x1cacf9(0x164));this[_0x1cacf9(0x123)](_0x3d68e0);}}[_0x522169(0x123)](_0x258c72){const _0x4dc6e0=_0x522169;if(!this[_0x4dc6e0(0x170)][_0x4dc6e0(0x179)](_0x258c72))throw new _0x279611(_0x4dc6e0(0x136),null,{'channelId':_0x258c72});this[_0x4dc6e0(0x140)](_0x258c72)[_0x4dc6e0(0x171)](),this[_0x4dc6e0(0x170)][_0x4dc6e0(0x16a)](_0x258c72);}async[_0x522169(0x115)](){const _0x37265e=_0x522169;for(const _0xe41349 of this[_0x37265e(0x170)][_0x37265e(0x131)]())await this[_0x37265e(0x130)](_0xe41349);if(this[_0x37265e(0x148)]instanceof _0x136ff9){const _0xc1a809=this[_0x37265e(0x148)][_0x37265e(0x12b)][_0x37265e(0x16e)](_0x37265e(0x164)),_0x1a1e30=this[_0x37265e(0x148)][_0x37265e(0x151)][_0x37265e(0x16e)](_0x46a2f6);_0x1a1e30[_0x37265e(0x13d)](_0xc1a809);const _0x35b97e=await this[_0x37265e(0x170)][_0x37265e(0x16e)](_0xc1a809)[_0x37265e(0x129)]();_0x1a1e30[_0x37265e(0x133)](_0xc1a809,_0x35b97e);}}async[_0x522169(0x130)](_0xabf055){const _0x44bafd=_0x522169,{connection:_0x5670ea}=this[_0x44bafd(0x148)][_0x44bafd(0x151)][_0x44bafd(0x16e)](_0x5805ec),_0x8c44c0=this[_0x44bafd(0x148)][_0x44bafd(0x151)][_0x44bafd(0x16e)](_0x44bafd(0x16d)),_0x5302e8=this[_0x44bafd(0x170)][_0x44bafd(0x16e)](_0xabf055),_0x2c31a8=await _0x5302e8[_0x44bafd(0x14b)](_0x5670ea);await this[_0x44bafd(0x15b)](_0x2c31a8);const _0x5a1253=new Set(Array[_0x44bafd(0x11a)](_0x8c44c0[_0x44bafd(0x145)]({'channelId':_0xabf055}),_0x41bf2c=>_0x41bf2c['id']));for(const _0x328e66 of _0x2c31a8)_0x328e66[_0x44bafd(0x121)]||_0x5a1253[_0x44bafd(0x16a)](_0x328e66[_0x44bafd(0x153)]);for(const _0x3036f7 of _0x5a1253)_0x8c44c0[_0x44bafd(0x11b)](_0x3036f7)[_0x44bafd(0x13f)]({'isFromAdapter':!0x0});for(const _0x369830 of _0x2c31a8){let _0x87631c=_0x8c44c0[_0x44bafd(0x11b)](_0x369830[_0x44bafd(0x153)]);const {commentThreadId:_0x4ce6e5,context:_0x80bdca,attributes:_0x2b1d5b,resolvedBy:_0x12d8c5,resolvedAt:_0x286417,unlinkedAt:_0x5232a2,deletedAt:_0x4a0e87}=_0x369830;if(_0x4a0e87)continue;_0x87631c||(_0x87631c=_0x8c44c0[_0x44bafd(0x15e)]({'channelId':_0xabf055,'threadId':_0x4ce6e5,'context':_0x80bdca,'attributes':_0x2b1d5b||{},'resolvedBy':_0x12d8c5,'resolvedAt':_0x286417,'unlinkedAt':_0x5232a2,'isFromAdapter':!0x0}));const _0x4ed0d8=new Set(Array[_0x44bafd(0x11a)](_0x87631c[_0x44bafd(0x12f)],_0x470b44=>_0x470b44['id']));for(const _0x11d24f of _0x369830[_0x44bafd(0x12f)])_0x4ed0d8[_0x44bafd(0x16a)](_0x11d24f[_0x44bafd(0x141)]);for(const _0x432d70 of _0x4ed0d8)_0x87631c[_0x44bafd(0x12c)](_0x432d70)[_0x44bafd(0x13f)]({'isFromAdapter':!0x0});for(const _0x525a12 of _0x369830[_0x44bafd(0x12f)]){const _0x1ad078=_0x87631c[_0x44bafd(0x12c)](_0x525a12[_0x44bafd(0x141)]);_0x1ad078?_0x1ad078[_0x44bafd(0x173)]!==_0x525a12[_0x44bafd(0x173)]&&_0x1ad078[_0x44bafd(0x144)]({'content':_0x525a12[_0x44bafd(0x173)],'isFromAdapter':!0x0}):_0x87631c[_0x44bafd(0x15f)](Object[_0x44bafd(0x163)](b(_0x525a12),{'isFromAdapter':!0x0}));}}}[_0x522169(0x140)](_0xe71323){const _0x22289f=_0x522169;if(!this[_0x22289f(0x170)][_0x22289f(0x179)](_0xe71323))throw new _0x279611(_0x22289f(0x161),null,{'channelId':_0xe71323});return this[_0x22289f(0x170)][_0x22289f(0x16e)](_0xe71323);}async[_0x522169(0x15b)](_0x530fe7){const _0x5f134b=_0x522169,_0x4264d0=this[_0x5f134b(0x148)][_0x5f134b(0x151)][_0x5f134b(0x16e)](_0x5a69de),{connection:_0x2c705c}=this[_0x5f134b(0x148)][_0x5f134b(0x151)][_0x5f134b(0x16e)](_0x5805ec),_0x105424=new Set();for(const {resolvedBy:_0xb9407e,comments:_0x99b23f}of _0x530fe7){_0xb9407e&&!_0x4264d0[_0x5f134b(0x127)](_0xb9407e)&&_0x105424[_0x5f134b(0x147)](_0xb9407e);for(const {userId:_0x448cb9}of _0x99b23f)_0x4264d0[_0x5f134b(0x127)](_0x448cb9)||_0x105424[_0x5f134b(0x147)](_0x448cb9);}if(0x0===_0x105424[_0x5f134b(0x14f)])return;const _0x53d819=await _0x16eaf8[_0x5f134b(0x14d)](_0x2c705c,Array[_0x5f134b(0x11a)](_0x105424));for(const _0x4b2cd5 of _0x53d819)_0x4264d0[_0x5f134b(0x127)](_0x4b2cd5['id'])||_0x4264d0[_0x5f134b(0x154)](_0x4b2cd5);}}a[_0x522169(0x13b)]=_0x29b95b;function _0x4b95(){const _0x23e6e8=['permissions','add','context','updateCommentThread','cloud-services-internal-error:\x20Request\x20timeout.','connect','code','getMany','commentThreadResolved','size','isPremiumPlugin','plugins','isOfficialPlugin','commentThreadId','addUser','resolvedAt','updateComment','4217168mZeziB','commentThreadAdded','removeComment','map','_fetchMissingUsersForThreads','commentThreadRemoved','5OeXHjz','addCommentThread','addComment','Permissions','cloudservicescommentsadapter-service-not-exist','mySessionId','assign','collaboration.channelId','854LzwSix','CloudServicesCommentsAdapter','pluginName','catch','commentThreadUpdated','delete','set','addToReconnectionStack','CommentsRepository','get','message','_services','disconnect','destroy','content','commentThreadReopened','commentAdded','startsWith','3638smrxom','commentRemoved','has','296NGruYO','reconnect','cloudservicescommentsadapter-connect-already-connected','reopen','listenTo','attributes','from','getCommentThread','requires','resolveCommentThread','1735200nQTtnt','6042940ZtyGHm','reopenCommentThread','deletedAt','cloud-services-internal-error:\x20Not\x20connected.','_terminateService','sessionAdd:','removeCommentThread','createdAt','getUser','init','getConnectedSessions','authorId','config','getComment','resolvedBy','1116459hVsGoz','comments','_connectService','keys','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','register','404','resolve','cloudservicescommentsadapter-disconnect-not-exist','11736AeSsjP','8245980oDvTrU','adapter','userId','CommentsService','_setUpService','unregister','commentUpdated','remove','_getService','commentId','off','setPermissions','update','getCommentThreads'];_0x4b95=function(){return _0x23e6e8;};return _0x4b95();}export default a;async function y(_0x3f80a9){const _0x9cb1f9=_0x522169;if(_0x9cb1f9(0x134)!==_0x3f80a9[_0x9cb1f9(0x14c)])throw _0x3f80a9;}function w(_0x2d2fbc){const _0x2d6a6e=_0x522169;if((_0x28a5e8=_0x2d2fbc)[_0x2d6a6e(0x16f)][_0x2d6a6e(0x176)](_0x2d6a6e(0x132))||_0x28a5e8[_0x2d6a6e(0x16f)][_0x2d6a6e(0x176)](_0x2d6a6e(0x122))||_0x28a5e8[_0x2d6a6e(0x16f)][_0x2d6a6e(0x176)](_0x2d6a6e(0x14a)))return new Promise(()=>{});var _0x28a5e8;throw _0x2d2fbc;}function b(_0x3bcc52){const _0x1287d4=_0x522169;return{'threadId':_0x3bcc52[_0x1287d4(0x153)],'commentId':_0x3bcc52[_0x1287d4(0x141)],'content':_0x3bcc52[_0x1287d4(0x173)],'createdAt':_0x3bcc52[_0x1287d4(0x126)],'authorId':_0x3bcc52[_0x1287d4(0x13a)],'attributes':_0x3bcc52[_0x1287d4(0x119)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f68ae=_0x30b8;(function(_0x408cfd,_0x474688){const _0xc40879=_0x30b8,_0x423ffd=_0x408cfd();while(!![]){try{const _0x335dfd=parseInt(_0xc40879(0x6a))/0x1+-parseInt(_0xc40879(0x74))/0x2*(-parseInt(_0xc40879(0x78))/0x3)+parseInt(_0xc40879(0x7e))/0x4+parseInt(_0xc40879(0x7a))/0x5*(parseInt(_0xc40879(0x66))/0x6)+parseInt(_0xc40879(0x83))/0x7+-parseInt(_0xc40879(0x70))/0x8+-parseInt(_0xc40879(0x86))/0x9;if(_0x335dfd===_0x474688)break;else _0x423ffd['push'](_0x423ffd['shift']());}catch(_0x339293){_0x423ffd['push'](_0x423ffd['shift']());}}}(_0x1bcd,0xd2cd5));import{Plugin as _0x147f77}from'ckeditor5/src/core.js';function _0x1bcd(){const _0x3731da=['208603irvwFn','destroy','RealTimeCollaborativeComments','data','requires','switchReadOnly','3295448IKysiA','change:state','CommentsRepository','isPremiumPlugin','6LgnNWu','listenTo','Comments','_terminateService','1709133uGjEXJ','CommentsEditing','9995WMMlWS','isOfficialPlugin','plugins','once','1202688xjTdpN','connected','isThreadsLoadingPaused','editor','config','682010xnQdIk','init','pluginName','23199237FrOucF','collaboration.channelId','4614FUsDGY','_setUpService','get','ready'];_0x1bcd=function(){return _0x3731da;};return _0x1bcd();}function _0x30b8(_0x3b07a6,_0xc2d2c6){const _0x1bcd49=_0x1bcd();return _0x30b8=function(_0x30b8fe,_0x47fbd2){_0x30b8fe=_0x30b8fe-0x66;let _0x2b9227=_0x1bcd49[_0x30b8fe];return _0x2b9227;},_0x30b8(_0x3b07a6,_0xc2d2c6);}import _0x423c76 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x32c40c from'./realtimecollaborativeediting.js';import _0x3e47db from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x147f77{static get[_0x4f68ae(0x6e)](){const _0x504bf5=_0x4f68ae;return[_0x504bf5(0x76),_0x423c76,_0x32c40c,_0x3e47db];}static get[_0x4f68ae(0x85)](){const _0x55a75d=_0x4f68ae;return _0x55a75d(0x6c);}static get[_0x4f68ae(0x7b)](){return!0x0;}static get[_0x4f68ae(0x73)](){return!0x0;}[_0x4f68ae(0x84)](){const _0x184158=_0x4f68ae,_0x7986ea=this[_0x184158(0x81)][_0x184158(0x7c)][_0x184158(0x68)](_0x3e47db),_0x5d1e58=this[_0x184158(0x81)][_0x184158(0x7c)][_0x184158(0x68)](_0x184158(0x79)),_0x105e75=this[_0x184158(0x81)][_0x184158(0x7c)][_0x184158(0x68)](_0x423c76);return this[_0x184158(0x81)][_0x184158(0x6d)][_0x184158(0x7d)](_0x184158(0x69),()=>{const _0x2a0828=_0x184158;this[_0x2a0828(0x75)](_0x7986ea,_0x2a0828(0x71),(_0x20c06a,_0x6047ed,_0x4b1ce2)=>{const _0x3712fc=_0x2a0828;_0x5d1e58[_0x3712fc(0x80)]=_0x3712fc(0x7f)!==_0x4b1ce2;});}),this[_0x184158(0x75)](_0x7986ea,_0x184158(0x71),(_0x193ed0,_0x5b8099,_0x5dc61d)=>{const _0x5693b9=_0x184158;this[_0x5693b9(0x81)][_0x5693b9(0x7c)][_0x5693b9(0x68)](_0x5693b9(0x72))[_0x5693b9(0x6f)](_0x5693b9(0x7f)!==_0x5dc61d);}),_0x105e75[_0x184158(0x67)](this[_0x184158(0x81)][_0x184158(0x82)][_0x184158(0x68)](_0x184158(0x87)));}[_0x4f68ae(0x6b)](){const _0x4dcc4e=_0x4f68ae;this[_0x4dcc4e(0x81)][_0x4dcc4e(0x7c)][_0x4dcc4e(0x68)](_0x423c76)[_0x4dcc4e(0x77)](this[_0x4dcc4e(0x81)][_0x4dcc4e(0x82)][_0x4dcc4e(0x68)](_0x4dcc4e(0x87))),super[_0x4dcc4e(0x6b)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4d5074=_0xf2e4;(function(_0x4f0a10,_0x240432){const _0x36222e=_0xf2e4,_0xa96c91=_0x4f0a10();while(!![]){try{const _0x9c6cc7=-parseInt(_0x36222e(0xd5))/0x1+-parseInt(_0x36222e(0xe7))/0x2+-parseInt(_0x36222e(0xd2))/0x3+parseInt(_0x36222e(0x182))/0x4+-parseInt(_0x36222e(0x171))/0x5*(parseInt(_0x36222e(0x17b))/0x6)+-parseInt(_0x36222e(0x154))/0x7*(parseInt(_0x36222e(0x12d))/0x8)+-parseInt(_0x36222e(0x133))/0x9*(-parseInt(_0x36222e(0x17c))/0xa);if(_0x9c6cc7===_0x240432)break;else _0xa96c91['push'](_0xa96c91['shift']());}catch(_0x1ecce3){_0xa96c91['push'](_0xa96c91['shift']());}}}(_0x218e,0x62159));import{Plugin as _0x175e0a,PendingActions as _0x2c2c98}from'ckeditor5/src/core.js';function _0xf2e4(_0x8ed82c,_0x5f5c53){const _0x218e52=_0x218e();return _0xf2e4=function(_0xf2e409,_0x2d65ba){_0xf2e409=_0xf2e409-0xbd;let _0x232d41=_0x218e52[_0xf2e409];return _0x232d41;},_0xf2e4(_0x8ed82c,_0x5f5c53);}import{CKEditorError as _0x381efc,version as _0x254525,uid as _0x1e9653}from'ckeditor5/src/utils.js';import{Notification as _0x3439c1}from'ckeditor5/src/ui.js';import{transformSets as _0x3cfa3f,NoOperation as _0x57e10d,InsertOperation as _0x2162f1,MarkerOperation as _0x1fc7f6,RootAttributeOperation as _0x2d8418,OperationFactory as _0x2db1e0,History as _0x543617}from'ckeditor5/src/engine.js';import _0x5d0a1a from'./websocketgateway.js';import _0x35f662 from'./sessions.js';import _0x4a12bc from'./usermarkers.js';import{getTranslation as _0x268628}from'../common-translations.js';import{Compressor as _0x2acc9b}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x2ccde}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x3c2ccf,CollaborativeEditingService as _0xf048b9}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x175e0a{static get[_0x4d5074(0x12a)](){return[_0x5d0a1a,_0x35f662,_0x4a12bc,_0x2c2c98,_0x2ccde,_0x3439c1];}static get[_0x4d5074(0x1a1)](){const _0x5e5d9f=_0x4d5074;return _0x5e5d9f(0x144);}static get[_0x4d5074(0x145)](){return!0x0;}static get[_0x4d5074(0x112)](){return!0x0;}get[_0x4d5074(0xce)](){const _0x4df2ad=_0x4d5074;return this[_0x4df2ad(0x188)]+this[_0x4df2ad(0x13f)];}get[_0x4d5074(0x188)](){const _0x5475cc=_0x4d5074;return this[_0x5475cc(0x1b5)][_0x5475cc(0x132)]-this[_0x5475cc(0x13f)];}get[_0x4d5074(0x152)](){const _0x4e6199=_0x4d5074,_0x5af9a0=this[_0x4e6199(0x1b5)][_0x4e6199(0x160)]();for(let _0x3dd90d=_0x5af9a0[_0x4e6199(0x1a8)]-0x1;_0x3dd90d>=0x0;_0x3dd90d--){const _0x3c400d=_0x5af9a0[_0x3dd90d];if(!this[_0x4e6199(0xfe)][_0x4e6199(0x13b)](_0x3c400d))return _0x3c400d[_0x4e6199(0x16f)]+0x1-this[_0x4e6199(0x13f)];}return 0x0;}constructor(_0x50e33f){const _0x1bf9f6=_0x4d5074;if(super(_0x50e33f),this[_0x1bf9f6(0x13f)]=0x0,this[_0x1bf9f6(0x167)]=null,this[_0x1bf9f6(0x1b5)]=new _0x543617(),this[_0x1bf9f6(0xdd)][_0x1bf9f6(0x169)][_0x1bf9f6(0x13c)](_0x1bf9f6(0xc2),{}),this[_0x1bf9f6(0x106)]=this[_0x1bf9f6(0xdd)][_0x1bf9f6(0x169)][_0x1bf9f6(0xea)](_0x1bf9f6(0xf8)),!this[_0x1bf9f6(0x106)])throw new _0x381efc(_0x1bf9f6(0x161),this);const _0x233aa7=_0x50e33f[_0x1bf9f6(0x169)][_0x1bf9f6(0xea)](_0x1bf9f6(0xf4))||_0x254525;this[_0x1bf9f6(0x1b9)]=new l[(_0x1bf9f6(0x1bc))](_0x233aa7,this[_0x1bf9f6(0x106)]),this[_0x1bf9f6(0xe4)]=this[_0x1bf9f6(0xdd)][_0x1bf9f6(0x163)][_0x1bf9f6(0x10e)],this[_0x1bf9f6(0x1af)]=new _0x2acc9b(),this[_0x1bf9f6(0x107)]=[],this[_0x1bf9f6(0x113)]=new WeakSet(),this[_0x1bf9f6(0x148)]=new Set(),this[_0x1bf9f6(0x10c)](_0x1bf9f6(0x170),!0x1),this[_0x1bf9f6(0x10c)](_0x1bf9f6(0xe6),!0x1),this[_0x1bf9f6(0x195)]=null,this[_0x1bf9f6(0xd1)]=!0x1,this[_0x1bf9f6(0xc9)]=null,this[_0x1bf9f6(0x156)]=0x12c,this[_0x1bf9f6(0x16a)]=this[_0x1bf9f6(0x156)],this[_0x1bf9f6(0x137)]=null,this[_0x1bf9f6(0xfe)]=new WeakSet(),this[_0x1bf9f6(0x1b4)]=new X(this[_0x1bf9f6(0xfe)]);}[_0x4d5074(0x16b)](){const _0x3269a8=_0x4d5074,_0x1acfc5=this[_0x3269a8(0xdd)],_0x5cb534=_0x1acfc5[_0x3269a8(0x101)][_0x3269a8(0xea)](_0x2ccde),_0x14d660=_0x1acfc5[_0x3269a8(0x101)][_0x3269a8(0xea)](_0x5d0a1a);this[_0x3269a8(0xf7)](_0x5cb534,_0x3269a8(0xc8),(_0x4c84df,_0x1c7a1a)=>{const _0x8310db=_0x3269a8,_0x1bddaa=_0x1c7a1a[0x0];_0x1bddaa[_0x8310db(0x11a)]&&(_0x4c84df[_0x8310db(0xdc)]=_0x5cb534[_0x8310db(0x191)](_0x1bddaa[_0x8310db(0x11a)]),_0x4c84df[_0x8310db(0x19d)]()),null===_0x1bddaa[_0x8310db(0x11a)]&&(_0x4c84df[_0x8310db(0xdc)]=null,_0x4c84df[_0x8310db(0x19d)]());},{'priority':_0x3269a8(0xbf)}),this[_0x3269a8(0xf7)](_0x1acfc5[_0x3269a8(0x163)][_0x3269a8(0x10e)][_0x3269a8(0x1ba)],_0x3269a8(0x130),(_0x1b5ee0,_0x3d44c8)=>{const _0x630590=_0x3269a8;_0x3d44c8[_0x630590(0x147)]&&this[_0x630590(0x1be)]();}),this[_0x3269a8(0xf7)](_0x1acfc5[_0x3269a8(0x12c)][_0x3269a8(0xe0)],_0x3269a8(0x192),()=>{const _0xf5a106=_0x3269a8;this[_0xf5a106(0x1be)]();}),this[_0x3269a8(0x11c)](),_0x1acfc5[_0x3269a8(0x163)]['on'](_0x3269a8(0x10b),(_0x147a46,_0x74b060)=>{const _0x422de7=_0x3269a8,_0x2c1c8a=_0x74b060[0x0];_0x2c1c8a[_0x422de7(0xf3)]&&(this[_0x422de7(0x1b3)](_0x2c1c8a),this[_0x422de7(0x1bd)]()&&this[_0x422de7(0x150)]());}),this[_0x3269a8(0xf5)](),this[_0x3269a8(0xd8)](_0x3269a8(0xe8))['to'](_0x14d660,_0x3269a8(0x12e),this,_0x3269a8(0xe6),(_0x2842f5,_0x32c017)=>_0x3269a8(0x153)===_0x2842f5&&!_0x32c017),this['on'](_0x3269a8(0x14c),()=>{const _0x13f7d2=_0x3269a8;this[_0x13f7d2(0xe8)]?_0x1acfc5[_0x13f7d2(0x136)](_0x13f7d2(0xfa)):_0x1acfc5[_0x13f7d2(0x128)](_0x13f7d2(0xfa));}),this[_0x3269a8(0xe8)]?_0x1acfc5[_0x3269a8(0x136)](_0x3269a8(0xfa)):_0x1acfc5[_0x3269a8(0x128)](_0x3269a8(0xfa)),this[_0x3269a8(0x10c)](_0x3269a8(0xcb),!0x1);}async[_0x4d5074(0x14a)](){const _0x5da8f2=_0x4d5074,_0x636447=this[_0x5da8f2(0xdd)][_0x5da8f2(0x101)][_0x5da8f2(0xea)](_0x35f662),_0x2594be=this[_0x5da8f2(0xdd)][_0x5da8f2(0x101)][_0x5da8f2(0xea)](_0x5d0a1a);try{this[_0x5da8f2(0x170)]=!0x0,_0x636447[_0x5da8f2(0x194)](this[_0x5da8f2(0x106)]);const _0x22442a=await this[_0x5da8f2(0x1b9)][_0x5da8f2(0x14a)](_0x2594be[_0x5da8f2(0xee)],this[_0x5da8f2(0x152)]);await this[_0x5da8f2(0x134)](_0x22442a)&&(this[_0x5da8f2(0x170)]=!0x1,this[_0x5da8f2(0x193)]());const _0x22a79f=await this[_0x5da8f2(0x1b9)][_0x5da8f2(0x190)]();_0x636447[_0x5da8f2(0x17d)](this[_0x5da8f2(0x106)],_0x22a79f),this[_0x5da8f2(0x138)](),this[_0x5da8f2(0xcb)]=!0x0;}catch(_0x367962){if(function(_0x271e33){const _0x33948e=_0x5da8f2;return _0x33948e(0xc5)===_0x271e33[_0x33948e(0x14f)];}(_0x367962)&&this[_0x5da8f2(0x167)])await this[_0x5da8f2(0x103)]();else{if(function(_0x583804){const _0x1d3456=_0x5da8f2;return _0x1d3456(0xbd)===_0x583804[_0x1d3456(0x14f)];}(_0x367962)){const _0x4fb218=_0x268628(this[_0x5da8f2(0xdd)][_0x5da8f2(0xe9)],_0x5da8f2(0x10a));this[_0x5da8f2(0x189)](_0x4fb218);}else{if(!(_0x367962 instanceof J))throw _0x367962;this[_0x5da8f2(0x189)]();}}}}[_0x4d5074(0x1a2)](){const _0x49d0=_0x4d5074,_0x27a7d5=this[_0x49d0(0xdd)][_0x49d0(0x101)][_0x49d0(0xea)](_0x5d0a1a),_0x14ed59=this[_0x49d0(0xdd)][_0x49d0(0x101)][_0x49d0(0xea)](_0x35f662);this[_0x49d0(0xdd)][_0x49d0(0x128)](_0x49d0(0x168)),_0x14ed59[_0x49d0(0xc0)][_0x49d0(0x13b)](this[_0x49d0(0x106)])&&_0x14ed59[_0x49d0(0x194)](this[_0x49d0(0x106)]),_0x27a7d5[_0x49d0(0xd0)](this),this[_0x49d0(0x181)](),super[_0x49d0(0x1a2)]();}async[_0x4d5074(0x134)](_0x5ad4d9){const _0x1d55f4=_0x4d5074;if(this[_0x1d55f4(0x167)]!==_0x5ad4d9[_0x1d55f4(0x167)]&&this[_0x1d55f4(0x137)]!==_0x5ad4d9[_0x1d55f4(0x131)])throw new J();return this[_0x1d55f4(0x167)]=_0x5ad4d9[_0x1d55f4(0x167)],this[_0x1d55f4(0x1b1)]([],{..._0x5ad4d9,'wereChangesApplied':!0x1,'data':_0x5ad4d9[_0x1d55f4(0x12b)]},_0x1d55f4(0x14a));}async[_0x4d5074(0x135)](_0x598fed,_0x46ad73=!0x1){const _0x1a7a68=_0x4d5074,{connection:_0x5452af}=this[_0x1a7a68(0xdd)][_0x1a7a68(0x101)][_0x1a7a68(0xea)](_0x5d0a1a);l[_0x1a7a68(0x1bc)][_0x1a7a68(0x190)](_0x5452af,this[_0x1a7a68(0x106)])[_0x1a7a68(0xf6)](_0x352610=>this[_0x1a7a68(0x139)](_0x352610))[_0x1a7a68(0x110)](_0x2a8a2e=>{const _0x4a967d=_0x1a7a68;this[_0x4a967d(0xd4)](_0x4a967d(0xc1),_0x2a8a2e);}),this[_0x1a7a68(0xf7)](this[_0x1a7a68(0x1b9)],_0x1a7a68(0xf2),this[_0x1a7a68(0x13e)][_0x1a7a68(0xd8)](this)),this[_0x1a7a68(0xf7)](this[_0x1a7a68(0x1b9)],_0x1a7a68(0x19c),(_0x3f9276,_0x22300b)=>{const _0x19b6bd=_0x1a7a68;this[_0x19b6bd(0xd4)](_0x19b6bd(0x14d),_0x22300b);}),this[_0x1a7a68(0xf7)](this[_0x1a7a68(0x1b9)],_0x1a7a68(0x1ab),()=>{const _0x2ffdbc=_0x1a7a68;this[_0x2ffdbc(0xcb)]=!0x1;});const _0x2ff10b=this[_0x1a7a68(0x1b4)][_0x1a7a68(0x17a)](_0x598fed);this[_0x1a7a68(0x170)]=!0x0;const _0x2b359=await this[_0x1a7a68(0x1b9)][_0x1a7a68(0xec)](_0x5452af,this[_0x1a7a68(0x14b)](_0x598fed),_0x2ff10b);if(this[_0x1a7a68(0x167)]=_0x2b359[_0x1a7a68(0x167)],_0x46ad73){if(!_0x2b359[_0x1a7a68(0xfc)])return void this[_0x1a7a68(0x189)]();this[_0x1a7a68(0x170)]=!0x1,this[_0x1a7a68(0x193)](),this[_0x1a7a68(0x1b5)][_0x1a7a68(0xcf)](),this[_0x1a7a68(0x13f)]=_0x2b359[_0x1a7a68(0x1bf)],this[_0x1a7a68(0x1b5)][_0x1a7a68(0x132)]=this[_0x1a7a68(0x13f)],await this[_0x1a7a68(0x1b1)](_0x598fed,_0x2b359,_0x1a7a68(0x11f));}else await this[_0x1a7a68(0x12f)](_0x2b359,_0x598fed);this[_0x1a7a68(0x138)](),this[_0x1a7a68(0xcb)]=!0x0;}[_0x4d5074(0x138)](){const _0x4c2520=_0x4d5074,_0x229b86=this[_0x4c2520(0xdd)][_0x4c2520(0x101)][_0x4c2520(0xea)](_0x35f662),_0x5c9669=this[_0x4c2520(0xdd)][_0x4c2520(0x101)][_0x4c2520(0xea)](_0x4a12bc),_0x41132a=_0x229b86[_0x4c2520(0xc0)][_0x4c2520(0xea)](this[_0x4c2520(0x106)]);_0x41132a&&_0x41132a[_0x4c2520(0x1a8)]>0x1?_0x5c9669[_0x4c2520(0xe1)]():this[_0x4c2520(0xf7)](_0x229b86,_0x4c2520(0x1a4)+this[_0x4c2520(0x106)],()=>{const _0x3d4233=_0x4c2520;0x2===_0x229b86[_0x3d4233(0xc0)][_0x3d4233(0xea)](this[_0x3d4233(0x106)])[_0x3d4233(0x1a8)]&&_0x5c9669[_0x3d4233(0xe1)]();});}async[_0x4d5074(0x13e)](_0x48fa28,_0x2e0a93,_0x3bbb95,_0x338951){const _0x48a0b0=_0x4d5074;if(!this[_0x48a0b0(0x170)]&&this[_0x48a0b0(0xe4)][_0x48a0b0(0x132)]==_0x2e0a93){const _0x590135=this[_0x48a0b0(0xca)](_0x3bbb95,_0x338951);await this[_0x48a0b0(0x177)](_0x590135),this[_0x48a0b0(0x1a5)](_0x590135,_0x2e0a93,_0x3bbb95[_0x48a0b0(0x131)])||this[_0x48a0b0(0xd4)](_0x48a0b0(0x109));}}async[_0x4d5074(0x103)](){const _0x26ddbb=_0x4d5074;this[_0x26ddbb(0x181)]();const {locale:_0x115c45}=this[_0x26ddbb(0xdd)];let _0x1349c3;try{_0x1349c3=await this[_0x26ddbb(0x1b9)][_0x26ddbb(0xe5)]();}catch(_0x3ab755){const _0x732f8f=_0x268628(_0x115c45,_0x26ddbb(0xeb));return void this[_0x26ddbb(0x189)](_0x732f8f);}const _0x558ae2=_0x1349c3[_0x26ddbb(0x1ad)]||_0x1349c3[_0x26ddbb(0x13a)];if(this[_0x26ddbb(0x137)]===_0x558ae2[_0x26ddbb(0x131)])await this[_0x26ddbb(0x135)](this[_0x26ddbb(0xdd)][_0x26ddbb(0x163)][_0x26ddbb(0x10e)][_0x26ddbb(0x15a)][_0x26ddbb(0x160)](),!0x0);else{const _0x12f873=_0x268628(_0x115c45,_0x26ddbb(0x15e));this[_0x26ddbb(0x189)](_0x12f873);}}[_0x4d5074(0x181)](){const _0x1ee42d=_0x4d5074;this[_0x1ee42d(0x1b9)][_0x1ee42d(0x11e)](),this[_0x1ee42d(0x107)]=[],clearTimeout(this[_0x1ee42d(0xc9)]),this[_0x1ee42d(0x116)](this[_0x1ee42d(0x1b9)]);}[_0x4d5074(0x139)](_0x109d3e){const _0x4f2ed7=_0x4d5074,_0x42e17e=this[_0x4f2ed7(0xdd)][_0x4f2ed7(0x101)][_0x4f2ed7(0xea)](_0x35f662);this[_0x4f2ed7(0xf7)](_0x42e17e,_0x4f2ed7(0x1a4)+this[_0x4f2ed7(0x106)],(_0x116d9c,{session:_0x4906fd})=>{const _0x180349=_0x4f2ed7;if(_0x4906fd['id']===_0x42e17e[_0x180349(0x100)]){_0x116d9c[_0x180349(0xfd)]();const _0x5c07bc=this[_0x180349(0xdd)][_0x180349(0x101)][_0x180349(0x13b)](_0x180349(0xc3))&&this[_0x180349(0xdd)][_0x180349(0x101)][_0x180349(0xea)](_0x180349(0xc3));let _0x39d02b=_0x4906fd[_0x180349(0x178)];_0x5c07bc&&_0x5c07bc[_0x180349(0x157)]&&(_0x39d02b=_0x39d02b[_0x180349(0x142)](_0x5e6ea3=>_0x180349(0x1ae)!==_0x5e6ea3)),this[_0x180349(0xdd)][_0x180349(0x101)][_0x180349(0xea)](_0x180349(0xcd))[_0x180349(0xd3)](_0x39d02b,this[_0x180349(0x106)]);}}),_0x42e17e[_0x4f2ed7(0x17d)](this[_0x4f2ed7(0x106)],_0x109d3e);}[_0x4d5074(0x11c)](){const _0x596053=_0x4d5074,_0x7f0f91=this[_0x596053(0xdd)][_0x596053(0x12b)][_0x596053(0x10c)];this[_0x596053(0xdd)][_0x596053(0x12b)][_0x596053(0x10c)]=(..._0x131b55)=>{const _0x5166cb=_0x596053;if(!_0x131b55[_0x131b55[_0x5166cb(0x1a8)]-0x1][_0x5166cb(0xe3)])throw new _0x381efc(_0x5166cb(0xd6),this);_0x7f0f91[_0x5166cb(0xd7)](this[_0x5166cb(0xdd)][_0x5166cb(0x12b)],_0x131b55);};}[_0x4d5074(0xf5)](){const _0x3588cd=_0x4d5074;this[_0x3588cd(0xdd)][_0x3588cd(0x12b)]['on'](_0x3588cd(0x16b),(_0x212555,[_0xd037e2])=>{const _0x338759=_0x3588cd;if(this[_0x338759(0xe4)][_0x338759(0x132)])throw new _0x381efc(_0x338759(0x199),this);_0x212555[_0x338759(0x19d)](),this[_0x338759(0x15b)]();const _0x2a0065=this[_0x338759(0xdd)][_0x338759(0x169)][_0x338759(0xea)](_0x338759(0xda)),_0x23e9cd=this[_0x338759(0x198)](_0xd037e2,_0x2a0065);0x0==_0x23e9cd[_0x338759(0x1a8)]&&_0x23e9cd[_0x338759(0x15d)](new _0x57e10d(0x0)),_0x212555[_0x338759(0xdc)]=this[_0x338759(0x135)](_0x23e9cd)[_0x338759(0xf6)](()=>{const _0x4a60a1=_0x338759;this[_0x4a60a1(0xdd)][_0x4a60a1(0x101)][_0x4a60a1(0xea)](_0x5d0a1a)[_0x4a60a1(0x180)](this),this[_0x4a60a1(0xdd)][_0x4a60a1(0x12b)][_0x4a60a1(0x155)](_0x4a60a1(0x18d));})[_0x338759(0x110)](_0x80c98d=>this[_0x338759(0xd4)](_0x338759(0x108),_0x80c98d))[_0x338759(0xc6)](()=>this[_0x338759(0x193)]());},{'priority':_0x3588cd(0xbf)}),this[_0x3588cd(0xdd)]['on'](_0x3588cd(0x17e),async(_0x3da823,[_0x5819be,_0x2b399a])=>{const _0x4efe2f=_0x3588cd;_0x3da823[_0x4efe2f(0x19d)]();const _0x1e508d=this[_0x4efe2f(0xdd)][_0x4efe2f(0x163)][_0x4efe2f(0x10e)][_0x4efe2f(0xfb)](_0x5819be);if(!this[_0x4efe2f(0x148)][_0x4efe2f(0x13b)](_0x5819be)){const _0x21a448=_0x2b399a&&_0x2b399a[_0x4efe2f(0x12b)]?_0x2b399a[_0x4efe2f(0x12b)]:'',_0x1b3efa=_0x2b399a&&_0x2b399a[_0x4efe2f(0xff)]?_0x2b399a[_0x4efe2f(0xff)]:{};await this[_0x4efe2f(0x174)](_0x5819be,_0x21a448,_0x1b3efa);}this[_0x4efe2f(0xdd)][_0x4efe2f(0x163)][_0x4efe2f(0xc7)]({'isUndoable':!0x1},()=>{const _0x187c92=_0x4efe2f;_0x1e508d[_0x187c92(0x17f)]=!0x0,this[_0x187c92(0xdd)][_0x187c92(0x163)][_0x187c92(0x10e)][_0x187c92(0x1a9)][_0x187c92(0x184)](_0x1e508d);});},{'priority':_0x3588cd(0xbf)});}async[_0x4d5074(0x177)](_0x5804b1){const _0x3719cf=_0x4d5074,_0x2091dc=this[_0x3719cf(0xdd)][_0x3719cf(0x101)][_0x3719cf(0xea)](_0x2ccde),{connection:_0x542827}=this[_0x3719cf(0xdd)][_0x3719cf(0x101)][_0x3719cf(0xea)](_0x5d0a1a),_0x9b2589=new Set();for(const _0xb9703b of _0x5804b1){const _0x3b9489=_0xb9703b[_0x3719cf(0x11a)];_0x3b9489&&!_0x2091dc[_0x3719cf(0x191)](_0x3b9489)&&_0x9b2589[_0x3719cf(0x118)](_0x3b9489);}if(0x0===_0x9b2589[_0x3719cf(0x162)])return;const _0x51ff3a=await _0x3c2ccf[_0x3719cf(0x121)](_0x542827,Array[_0x3719cf(0x149)](_0x9b2589));for(const _0x2f8696 of _0x51ff3a)_0x2091dc[_0x3719cf(0x191)](_0x2f8696['id'])||_0x2091dc[_0x3719cf(0x176)](_0x2f8696);}[_0x4d5074(0x198)](_0x2e33b1,_0x4a84f1={}){const _0x30412a=_0x4d5074,_0x176b23=this[_0x30412a(0xdd)][_0x30412a(0x163)],_0x285a44=[];let _0x5aa0db=0x0;const _0x379ecd=_0x30412a(0x13d)==typeof _0x2e33b1?{'main':_0x2e33b1}:_0x2e33b1;for(const _0x287b35 of Object[_0x30412a(0xbe)](_0x379ecd)){if(!this[_0x30412a(0xe4)][_0x30412a(0x18c)][_0x30412a(0x13b)](_0x287b35))throw new _0x381efc(_0x30412a(0x196),this);const _0x4d8193=this[_0x30412a(0xdd)][_0x30412a(0x12b)][_0x30412a(0x183)](_0x379ecd[_0x287b35]),_0x5be88e=this[_0x30412a(0xe4)][_0x30412a(0xfb)](_0x287b35),_0x5e7813=new _0x2162f1(_0x176b23[_0x30412a(0x14e)](_0x5be88e,0x0),_0x4d8193,_0x5aa0db++);_0x285a44[_0x30412a(0x15d)](_0x5e7813);for(const [_0x38830f,_0x14a58e]of _0x4d8193[_0x30412a(0xc4)]){const _0x392523=_0x176b23[_0x30412a(0xef)](_0x176b23[_0x30412a(0xde)](_0x5be88e,_0x14a58e[_0x30412a(0x16e)][_0x30412a(0x1aa)][_0x30412a(0x185)]()),_0x176b23[_0x30412a(0xde)](_0x5be88e,_0x14a58e[_0x30412a(0x123)][_0x30412a(0x1aa)][_0x30412a(0x185)]())),_0x508fb6=new _0x1fc7f6(_0x38830f,null,_0x392523,_0x176b23[_0x30412a(0xc4)],!0x0,_0x5aa0db++);_0x285a44[_0x30412a(0x15d)](_0x508fb6);}}if(_0x4a84f1)for(const [_0x164530,_0x191ebc]of Object[_0x30412a(0xed)](_0x4a84f1)){const _0x40d28c=_0x176b23[_0x30412a(0x10e)][_0x30412a(0xfb)](_0x164530);if(!_0x40d28c)throw new _0x381efc(_0x30412a(0x197),null);for(const [_0x14cc2e,_0x1bdbb8]of Object[_0x30412a(0xed)](_0x191ebc))if(null!==_0x1bdbb8){const _0x32cec2=new _0x2d8418(_0x40d28c,_0x14cc2e,null,_0x1bdbb8,_0x5aa0db++);_0x285a44[_0x30412a(0x15d)](_0x32cec2);}}return _0x285a44;}async[_0x4d5074(0x174)](_0x1e8282,_0x4aa345,_0x1fadd6){const _0x316bde=_0x4d5074;this[_0x316bde(0x198)]({[_0x1e8282]:_0x4aa345},{[_0x1e8282]:_0x1fadd6})[_0x316bde(0x19e)]((_0x2c487c,_0x4dacc6)=>{const _0x4c62b1=_0x316bde;_0x2c487c[_0x4c62b1(0x16f)]=this[_0x4c62b1(0xe4)][_0x4c62b1(0x132)]+_0x4dacc6,_0x2c487c[_0x4c62b1(0x115)]=!0x0,this[_0x4c62b1(0x1b3)](_0x2c487c);}),this[_0x316bde(0x150)](),await this[_0x316bde(0x111)]();}async[_0x4d5074(0x12f)](_0x264af0,_0x5036ec){const _0xc92b1b=_0x4d5074;let _0x35319c;this[_0xc92b1b(0x13f)]=_0x264af0[_0xc92b1b(0x1bf)];const _0x50fcf5=_0x264af0[_0xc92b1b(0xfc)]&&!_0x264af0[_0xc92b1b(0x104)],_0x56b860=_0x50fcf5?0x0:_0x264af0[_0xc92b1b(0x12b)][_0xc92b1b(0x16f)];if(_0x5036ec[_0xc92b1b(0x19e)](_0xa635e4=>{const _0x28c064=_0xc92b1b;_0xa635e4[_0x28c064(0x115)]=!0x0,_0xa635e4[_0x28c064(0x19a)]=_0x264af0[_0x28c064(0x16c)],_0xa635e4[_0x28c064(0x11a)]=null;}),_0x50fcf5)_0x35319c=_0x5036ec,this[_0xc92b1b(0x1b7)](_0x35319c,_0x50fcf5);else{if(_0x264af0[_0xc92b1b(0x104)]){const _0x203563=this[_0xc92b1b(0x198)](_0x264af0[_0xc92b1b(0x104)]);this[_0xc92b1b(0xe4)][_0xc92b1b(0x15a)][_0xc92b1b(0x132)]=-_0x203563[_0xc92b1b(0x1a8)],_0x203563[_0xc92b1b(0x19e)](_0x2c01e1=>{const _0x3a7633=_0xc92b1b;_0x2c01e1[_0x3a7633(0x16f)]-=_0x203563[_0x3a7633(0x1a8)],_0x2c01e1[_0x3a7633(0x19a)]=_0x264af0[_0x3a7633(0x16c)],_0x2c01e1[_0x3a7633(0x115)]=!0x0,_0x2c01e1[_0x3a7633(0x11a)]=null;}),this[_0xc92b1b(0x1b7)](_0x203563,!0x0),this[_0xc92b1b(0x1b5)][_0xc92b1b(0x132)]=-_0x203563[_0xc92b1b(0x1a8)]+this[_0xc92b1b(0x13f)],this[_0xc92b1b(0x124)](_0x203563);}this[_0xc92b1b(0xe4)][_0xc92b1b(0x15a)][_0xc92b1b(0x132)]=_0x56b860,_0x35319c=this[_0xc92b1b(0xca)](_0x264af0[_0xc92b1b(0x12b)],_0x264af0[_0xc92b1b(0x1b6)]),await this[_0xc92b1b(0x177)](_0x35319c),this[_0xc92b1b(0x1b7)](_0x35319c,_0x50fcf5);}_0x264af0[_0xc92b1b(0x131)]&&(this[_0xc92b1b(0x1b4)][_0xc92b1b(0x105)](_0x35319c,_0x264af0[_0xc92b1b(0x131)]),this[_0xc92b1b(0x137)]=_0x264af0[_0xc92b1b(0x131)]),this[_0xc92b1b(0x1b5)][_0xc92b1b(0x132)]=_0x56b860+this[_0xc92b1b(0x13f)],this[_0xc92b1b(0x124)](_0x35319c),_0x5036ec[_0xc92b1b(0x142)](_0x248f4e=>{const _0x523d82=_0xc92b1b,_0x4fe846=this[_0x523d82(0x122)](_0x248f4e);return _0x4fe846&&!this[_0x523d82(0x148)][_0x523d82(0x13b)](_0x4fe846);})[_0xc92b1b(0x19e)]((_0x3f7a4d,_0x55fa3b)=>{const _0x129661=_0xc92b1b;_0x3f7a4d[_0x129661(0x16f)]=this[_0x129661(0xe4)][_0x129661(0x132)]+_0x55fa3b,this[_0x129661(0x1b3)](_0x3f7a4d);}),this[_0xc92b1b(0x1bd)]()?(this[_0xc92b1b(0x16a)]=0x0,this[_0xc92b1b(0x150)](!0x0),await this[_0xc92b1b(0x111)]()):(this[_0xc92b1b(0x170)]=!0x1,this[_0xc92b1b(0x193)]());}[_0x4d5074(0xd4)](_0x4f8296,_0x265e72){const _0x66de10=_0x4d5074;throw this[_0x66de10(0x170)]=!0x0,_0x265e72&&console[_0x66de10(0x19c)](_0x265e72),new _0x381efc(_0x4f8296,this[_0x66de10(0xdd)]);}[_0x4d5074(0x1b3)](_0x273b77){const _0x39c7b7=_0x4d5074;this[_0x39c7b7(0x113)][_0x39c7b7(0x13b)](_0x273b77)||(this[_0x39c7b7(0x113)][_0x39c7b7(0x118)](_0x273b77),this[_0x39c7b7(0x107)][_0x39c7b7(0x15d)](_0x273b77),this[_0x39c7b7(0x195)]||_0x39c7b7(0x127)==_0x273b77[_0x39c7b7(0x140)]&&!_0x273b77[_0x39c7b7(0xf1)]||this[_0x39c7b7(0x15b)]());}[_0x4d5074(0x150)](_0x17590f=!0x1){const _0x3af820=_0x4d5074;!_0x17590f&&this[_0x3af820(0x170)]||(this[_0x3af820(0x170)]=!0x0,clearTimeout(this[_0x3af820(0xc9)]),this[_0x3af820(0xc9)]=setTimeout(()=>{const _0x48c666=_0x3af820;this[_0x48c666(0x114)]()[_0x48c666(0xf6)](_0x449f8d=>{const _0x4d9ba4=_0x48c666;_0x449f8d&&(this[_0x4d9ba4(0x193)](),this[_0x4d9ba4(0x170)]=!0x1);})[_0x48c666(0x110)](_0x132961=>{const _0x59ba54=_0x48c666;if(this[_0x59ba54(0x193)](),this[_0x59ba54(0x170)]=!0x1,!function(_0x2c1e08){const _0x428aa8=_0x59ba54;return _0x2c1e08[_0x428aa8(0x151)][_0x428aa8(0x1b8)](_0x428aa8(0x126))||_0x2c1e08[_0x428aa8(0x151)][_0x428aa8(0x1b8)](_0x428aa8(0x165))||_0x2c1e08[_0x428aa8(0x151)][_0x428aa8(0x1b8)](_0x428aa8(0x172));}(_0x132961))throw _0x132961;});},this[_0x3af820(0x16a)]));}[_0x4d5074(0x111)](){return new Promise(_0xb3a096=>{const _0x28fe63=_0xf2e4;this['on'](_0x28fe63(0x10d),()=>{_0xb3a096();});});}async[_0x4d5074(0x114)](){const _0x5e5d47=_0x4d5074,_0x2566cc=this[_0x5e5d47(0xdd)][_0x5e5d47(0x101)][_0x5e5d47(0xea)](_0x4a12bc);if(this[_0x5e5d47(0x143)]()&&(_0x2566cc[_0x5e5d47(0xe1)](),this[_0x5e5d47(0xd1)]=!0x1),!this[_0x5e5d47(0x1bd)]())return!0x0;const _0x1ba280=[...this[_0x5e5d47(0x107)]];for(const _0xacf4a6 of _0x1ba280)_0xacf4a6[_0x5e5d47(0x18f)]=this[_0x5e5d47(0xe4)][_0x5e5d47(0x15a)][_0x5e5d47(0x1a0)](_0xacf4a6);const _0x415f43=this[_0x5e5d47(0x1b4)][_0x5e5d47(0x17a)](_0x1ba280),_0x4fdce4=K++,_0x16c54e=this[_0x5e5d47(0x14b)](_0x1ba280),_0x2e7452=await this[_0x5e5d47(0x1b9)][_0x5e5d47(0x119)](_0x16c54e,_0x16c54e[_0x5e5d47(0x16f)],_0x415f43);try{return await this[_0x5e5d47(0x1b1)](_0x1ba280,_0x2e7452,_0x4fdce4);}catch(_0x241b7a){return this[_0x5e5d47(0xd4)](_0x5e5d47(0xf0),_0x241b7a);}}async[_0x4d5074(0x1b1)](_0x11b5e4,_0xe718f6,_0x18582a){const _0x413230=_0x4d5074;if(_0x413230(0x19c)in _0xe718f6)throw _0xe718f6[_0x413230(0x19c)];let _0x1f0549=!0x1;if(_0xe718f6[_0x413230(0xfc)]){_0xe718f6[_0x413230(0x131)]&&(this[_0x413230(0x137)]=_0xe718f6[_0x413230(0x131)]),this[_0x413230(0x107)]=this[_0x413230(0x107)][_0x413230(0x142)](_0x46dffe=>!_0x11b5e4[_0x413230(0x146)](_0x46dffe));for(const _0x80e255 of _0x11b5e4)_0x80e255[_0x413230(0x19a)]=_0x413230(0x18b)in _0xe718f6&&_0xe718f6[_0x413230(0x18b)]||void 0x0;Q(_0x11b5e4,_0xe718f6[_0x413230(0x132)]-_0x11b5e4[_0x413230(0x1a8)]),this[_0x413230(0x124)](_0x11b5e4);const _0x417847=_0x11b5e4[_0x413230(0x142)](_0x3f8b26=>{const _0x398fd0=_0x413230;if(!_0x3f8b26[_0x398fd0(0x115)])return!0x1;const _0x1a4178=this[_0x398fd0(0x122)](_0x3f8b26);return _0x1a4178&&!this[_0x398fd0(0x148)][_0x398fd0(0x13b)](_0x1a4178);});Q(_0x417847,this[_0x413230(0xe4)][_0x413230(0x132)]),this[_0x413230(0x1b7)](_0x417847),_0x1f0549=!0x0,this[_0x413230(0x16a)]=this[_0x413230(0x156)];}else{const _0x2b199d=this[_0x413230(0xca)](_0xe718f6[_0x413230(0x12b)],_0xe718f6[_0x413230(0x1b6)])[_0x413230(0x142)](_0x2c3a1e=>_0x2c3a1e[_0x413230(0x16f)]>=this[_0x413230(0x188)]);_0x2b199d[_0x413230(0x19e)](_0x307ea5=>this[_0x413230(0xdb)](_0x307ea5)),this[_0x413230(0x107)]=this[_0x413230(0x107)][_0x413230(0x142)](_0x1a798f=>!_0x1a798f[_0x413230(0x115)]||!this[_0x413230(0x148)][_0x413230(0x13b)](this[_0x413230(0x122)](_0x1a798f))),this[_0x413230(0x107)][_0x413230(0x1a8)]&&Q(this[_0x413230(0x107)],this[_0x413230(0x107)][0x0][_0x413230(0x16f)]),await this[_0x413230(0x177)](_0x2b199d),_0x1f0549=this[_0x413230(0x1a5)](_0x2b199d,_0xe718f6[_0x413230(0x132)],_0xe718f6[_0x413230(0x131)]),this[_0x413230(0x16a)]=Math[_0x413230(0x102)](this[_0x413230(0x16a)]/0x2);}return _0x1f0549?!this[_0x413230(0x1bd)]()||(this[_0x413230(0x150)](!0x0),!0x1):this[_0x413230(0xd4)](_0x413230(0x179));}[_0x4d5074(0x1a5)](_0x4b3109,_0x485775,_0x181db3){const _0x549042=_0x4d5074;try{const _0x20ae79={'document':this[_0x549042(0xe4)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4e969a,operationsB:_0x493c75,originalOperations:_0x3e65bf}=_0x3cfa3f(_0x4b3109,this[_0x549042(0x107)],_0x20ae79);Q(_0x4e969a,this[_0x549042(0xe4)][_0x549042(0x132)]),Q(_0x493c75,_0x485775);for(const _0x3042fc of _0x4e969a){const _0x5e5d83=_0x3e65bf[_0x549042(0xea)](_0x3042fc);_0x3042fc[_0x549042(0x11a)]=_0x5e5d83?_0x5e5d83[_0x549042(0x11a)]:null;}_0x181db3&&(this[_0x549042(0x1b4)][_0x549042(0x105)](_0x4b3109,_0x181db3),this[_0x549042(0x137)]=_0x181db3),this[_0x549042(0x107)]=[..._0x493c75],this[_0x549042(0x1b7)](_0x4e969a),this[_0x549042(0x124)](_0x4b3109);}catch(_0x5d5724){return console[_0x549042(0x19c)](_0x5d5724),!0x1;}return!0x0;}[_0x4d5074(0x1b7)](_0x4e706b,_0x27d488=!0x1){const _0xeac1b7=_0x4d5074;this[_0xeac1b7(0xdd)][_0xeac1b7(0x163)][_0xeac1b7(0xc7)]({'isUndoable':!0x1,'isLocal':!0x1},_0x59d9ce=>{const _0x4bf9ca=_0xeac1b7;for(const _0x25c405 of _0x4e706b)this[_0x4bf9ca(0x113)][_0x4bf9ca(0x118)](_0x25c405),this[_0x4bf9ca(0xdb)](_0x25c405),_0x59d9ce[_0x4bf9ca(0x166)][_0x4bf9ca(0x125)](_0x25c405),this[_0x4bf9ca(0xdd)][_0x4bf9ca(0x163)][_0x4bf9ca(0x10b)](_0x25c405);});}[_0x4d5074(0xdb)](_0x5d1a44){const _0x201972=_0x4d5074,_0x46132a=this[_0x201972(0x122)](_0x5d1a44);_0x46132a&&this[_0x201972(0x148)][_0x201972(0x118)](_0x46132a);}[_0x4d5074(0x122)](_0x54c379){const _0x3fdd73=_0x4d5074;let _0x2b7077,_0x458055;switch(_0x54c379[_0x3fdd73(0x140)]){case _0x3fdd73(0x120):_0x2b7077=_0x54c379[_0x3fdd73(0xd9)][_0x3fdd73(0x164)];break;case _0x3fdd73(0x127):if(_0x458055=_0x54c379[_0x3fdd73(0x1bb)],!_0x458055)return null;_0x2b7077=_0x458055[_0x3fdd73(0x164)];break;case _0x3fdd73(0x19b):_0x2b7077=_0x54c379[_0x3fdd73(0x164)];break;case _0x3fdd73(0x173):_0x2b7077=_0x54c379[_0x3fdd73(0x15f)];break;case _0x3fdd73(0x19f):_0x2b7077=_0x54c379[_0x3fdd73(0x15c)][_0x3fdd73(0x164)];break;default:return null;}return _0x2b7077[_0x3fdd73(0x18a)];}[_0x4d5074(0x124)](_0x4e24a5){const _0x5ecc71=_0x4d5074;_0x4e24a5[_0x5ecc71(0x19e)](_0x5a57f0=>{const _0x1c13a4=_0x5ecc71,_0x1a018b=_0x5a57f0[_0x1c13a4(0x1a3)]();_0x1a018b[_0x1c13a4(0x11a)]=_0x5a57f0[_0x1c13a4(0x11a)],_0x1a018b[_0x1c13a4(0x115)]=!!_0x5a57f0[_0x1c13a4(0x115)],_0x1a018b[_0x1c13a4(0x19a)]=_0x5a57f0[_0x1c13a4(0x19a)],_0x1a018b[_0x1c13a4(0x16f)]+=this[_0x1c13a4(0x13f)],_0x5a57f0[_0x1c13a4(0x1a6)]&&this[_0x1c13a4(0xfe)][_0x1c13a4(0x118)](_0x1a018b),this[_0x1c13a4(0x1b5)][_0x1c13a4(0x125)](_0x1a018b);});}[_0x4d5074(0x189)](_0x45a77e){const _0x418250=_0x4d5074,_0x4da708=this[_0x418250(0xdd)][_0x418250(0x101)][_0x418250(0xea)](_0x418250(0x129)),_0x43bc71=this[_0x418250(0xdd)][_0x418250(0xe9)];_0x45a77e||(_0x45a77e=_0x268628(_0x43bc71,_0x418250(0x1a7))),_0x4da708[_0x418250(0x158)](_0x45a77e,{'title':_0x268628(_0x43bc71,_0x418250(0x18e)),'namespace':_0x418250(0x1c0)}),this[_0x418250(0xe6)]=!0x0,clearTimeout(this[_0x418250(0xc9)]),this[_0x418250(0x107)]=[],this[_0x418250(0xdd)][_0x418250(0x101)][_0x418250(0xea)](_0x5d0a1a)[_0x418250(0x1a2)]();}[_0x4d5074(0x15b)](){const _0x124c17=_0x4d5074;this[_0x124c17(0x195)]||(this[_0x124c17(0x195)]=this[_0x124c17(0xdd)][_0x124c17(0x101)][_0x124c17(0xea)](_0x2c2c98)[_0x124c17(0x118)](_0x268628(this[_0x124c17(0xdd)][_0x124c17(0xe9)],_0x124c17(0xcc))));}[_0x4d5074(0x193)](){const _0x206721=_0x4d5074;this[_0x206721(0x195)]&&(this[_0x206721(0xdd)][_0x206721(0x101)][_0x206721(0xea)](_0x2c2c98)[_0x206721(0x11d)](this[_0x206721(0x195)]),this[_0x206721(0x195)]=null);}[_0x4d5074(0x14b)](_0x5163b7){const _0x38b772=_0x4d5074,_0x536c16=_0x5163b7[_0x38b772(0x1ac)](_0x5101a5=>_0x5101a5[_0x38b772(0x117)]());return this[_0x38b772(0x1af)][_0x38b772(0xf9)](_0x536c16);}[_0x4d5074(0xca)](_0xdc7e91,_0xbe8a57){const _0x1ffc27=_0x4d5074;return this[_0x1ffc27(0x1af)][_0x1ffc27(0xe2)](_0xdc7e91)[_0x1ffc27(0x1ac)]((_0x571c33,_0x25076a)=>{const _0x1aca44=_0x1ffc27,_0xe5d1dd=_0x1aca44(0x16b)==_0xbe8a57[_0x25076a][_0x1aca44(0x140)];if(_0x1aca44(0x187)==_0x571c33[_0x1aca44(0xdf)]){const _0x308cf6=_0x571c33[_0x1aca44(0xd9)][_0x1aca44(0x164)];!this[_0x1aca44(0xe4)][_0x1aca44(0xfb)](_0x308cf6)&&(this[_0x1aca44(0xe4)][_0x1aca44(0x16d)](_0x1aca44(0x186),_0x308cf6)[_0x1aca44(0x175)]=!0x1);}const _0x3eb9ef=_0x2db1e0[_0x1aca44(0x10f)](_0x571c33,this[_0x1aca44(0xe4)]);return _0x3eb9ef[_0x1aca44(0x18f)]=_0x571c33[_0x1aca44(0x18f)],_0x3eb9ef[_0x1aca44(0x115)]=_0xe5d1dd,_0x3eb9ef[_0x1aca44(0x11a)]=_0xe5d1dd?null:_0xbe8a57[_0x25076a][_0x1aca44(0x141)],_0x3eb9ef[_0x1aca44(0x1a6)]=_0x1aca44(0x1b2)===_0xbe8a57[_0x25076a][_0x1aca44(0x140)],_0x3eb9ef[_0x1aca44(0x19a)]=_0xbe8a57[_0x25076a][_0x1aca44(0x19a)],_0x3eb9ef;});}[_0x4d5074(0x1be)](){const _0x4c28f7=_0x4d5074;this[_0x4c28f7(0xd1)]=!0x0,this[_0x4c28f7(0x143)]()?this[_0x4c28f7(0x150)]():this[_0x4c28f7(0xd1)]=!0x1;}[_0x4d5074(0x143)](){const _0x4a3258=_0x4d5074,_0x49fd23=this[_0x4a3258(0xdd)][_0x4a3258(0x101)][_0x4a3258(0xea)](_0x35f662)[_0x4a3258(0xc0)][_0x4a3258(0xea)](this[_0x4a3258(0x106)]);return!this[_0x4a3258(0xdd)][_0x4a3258(0x159)]&&!!_0x49fd23&&_0x49fd23[_0x4a3258(0x1a8)]>0x1&&this[_0x4a3258(0xd1)];}[_0x4d5074(0x1bd)](){const _0x203017=_0x4d5074;return this[_0x203017(0x107)][_0x203017(0x1a8)]>0x0||this[_0x203017(0x143)]();}}l[_0x4d5074(0x1bc)]=_0xf048b9;function _0x218e(){const _0x5d246a=['applyOperation','set','change:_isPendingUpdate','document','fromJSON','catch','_waitUntilSynced','isPremiumPlugin','_knownOperations','_sendBufferedOperations','_isInit','stopListening','toJSON','add','sendOperations','_authorId','_operationToId','_initThrowingOnDataSet','remove','disconnect','reconnection:\x20flushed\x20session','insert','getMany','_getAffectedRoot','end','_updateServerHistory','addOperation','cloud-services-internal-error:\x20Not\x20connected.','marker','enableReadOnlyMode','Notification','requires','data','editing','4709208NROYMV','state','_handleInitialConnectionData','change:range','lastOperationId','version','45ybTUkA','_handleReconnectionResponse','_connectService','disableReadOnlyMode','_lastSyncedOperationId','_handleSendingSelectionMarkers','_initSessionsHandling','lastDocumentSession','has','define','string','_handleReceivedOperations','_offset','type','userId','filter','_shouldSendSelectionUpdate','RealTimeCollaborationClient','isOfficialPlugin','includes','directChange','_knownRootNames','from','reconnect','_compressOperations','change:_isEditingAllowed','realtimecollaborationclient-initservice-internal-error','createPositionAt','code','_sendBufferedOperationsDelayed','message','lastSyncVersion','connected','7EwohGt','fire','_baseBufferDelay','isEnabled','showWarning','isReadOnly','history','_setPendingAction','targetPosition','push','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.','affectedSelectable','getOperations','collaboration-missing-channelid','size','model','root','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','batch','sessionId','rtc-destroyed','config','_currentBufferDelay','init','sessionCreatedAt','createRoot','start','baseVersion','_isPendingUpdate','944285tmhUYc','cloud-services-internal-error:\x20Request\x20timeout.','addRoot','_loadRoot','_isAttached','addUser','_fetchMissingUsers','permissions','realtimecollaborationclient-handleserverresponse','getIdOfTheLastOperation','6OumMdG','4603750REFqYZ','register','loadRoot','_isLoaded','addToReconnectionStack','_disconnectService','1300104XwhTLv','parse','_bufferRootLoad','slice','$root','InsertOperation','_lastServerVersion','_handleReconnectionError','rootName','lastOperationAcceptedAt','roots','ready','Synchronization\x20issue','wasUndone','getConnectedSessions','getUser','change:hasDomSelection','_clearPendingAction','unregister','_pendingAction','realtimecollaborationclient-init-non-existent-root','multi-root-editor-root-attributes-no-root','_getOperationsFromInitData','realtimecollaborationclient-init-document-already-initialized','createdAt','addRootAttribute','error','stop','forEach','move','isUndoneOperation','pluginName','destroy','clone','sessionAdd:','_handleExternalOperations','_isDisconnection','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.','length','differ','path','disconnected','map','currentDocumentSession','document:write','_compressor','_ignoredOperations','_handleServerResponse','cs:removeUser','_saveOperationInBuffer','_operationIdentifier','serverHistory','metadata','_applyOperationsSet','startsWith','_service','selection','newRange','CollaborativeEditingService','_shouldSendUpdate','_refreshUserSelectionMarkers','offset','real-time-collaboration','409','keys','high','channelSessions','realtimecollaborationclient-init-session-connection-error','collaboration','CommentsOnly','markers','404','finally','enqueueChange','getOperationAuthor','_sendBufferedOperationsDelayId','_decompressOperations','_isConnected','PENDING_ACTION_SENDING_DATA','Permissions','cloudDocumentVersion','reset','removeFromReconnectionStack','_hasSelectionChanged','1832067LMOsvP','setPermissions','_crash','418054MPypGR','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','apply','bind','position','rootsAttributes','_addKnownRoot','return','editor','createPositionFromPath','__className','view','createUserMarkerOperations','decompress','suppressErrorInCollaboration','_document','getDocumentDetails','_hasSynchronizationProblem','837794edOsDF','_isEditingAllowed','locale','get','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','connect','entries','connection','createRange','realtimecollaborationclient-sendbufferedoperations','affectsData','operationsReceived','isDocumentOperation','cloudServices.bundleVersion','_setUpDataInit','then','listenTo','collaboration.channelId','compress','rtc-offline','getRoot','wereChangesApplied','off','_disconnectionOperations','attributes','mySessionId','plugins','round','_connectAfterSessionHasBeenFlushed','initData','setIdForTheLastOperation','_channelId','_bufferedOperations','realtimecollaborationclient-init-connection-failed','realtimecollaborationclient-initservice-incorrect-server-operation','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.'];_0x218e=function(){return _0x5d246a;};return _0x218e();}export default l;class J extends Error{}function Q(_0x4b57a3,_0x21bc66){const _0x431d9b=_0x4d5074;for(const _0x43e298 of _0x4b57a3)_0x43e298[_0x431d9b(0x16f)]=_0x21bc66++;}class X{constructor(_0x5ece54){const _0x46c0a2=_0x4d5074;this[_0x46c0a2(0x1b0)]=_0x5ece54,this[_0x46c0a2(0x11b)]=new WeakMap();}[_0x4d5074(0x17a)](_0x25b7b1){const _0x4e41d4=_0x4d5074;let _0x227b84=_0x25b7b1[_0x4e41d4(0x1a8)];for(;_0x227b84--;){const _0x2aa771=_0x25b7b1[_0x227b84];if(!this[_0x4e41d4(0x1b0)][_0x4e41d4(0x13b)](_0x2aa771)){if(!this[_0x4e41d4(0x11b)][_0x4e41d4(0x13b)](_0x2aa771)){const _0x12b71c=_0x1e9653()[_0x4e41d4(0x185)](0x1,0x12);this[_0x4e41d4(0x11b)][_0x4e41d4(0x10c)](_0x2aa771,_0x12b71c);}return this[_0x4e41d4(0x11b)][_0x4e41d4(0xea)](_0x2aa771);}}}[_0x4d5074(0x105)](_0x3ba96a,_0x3fbcf4){const _0x4de7f0=_0x4d5074;if(!_0x3fbcf4)return;let _0x4cbfa0=_0x3ba96a[_0x4de7f0(0x1a8)];for(;_0x4cbfa0--;){const _0x3de155=_0x3ba96a[_0x4cbfa0];this[_0x4de7f0(0x1b0)][_0x4de7f0(0x13b)](_0x3de155)||this[_0x4de7f0(0x11b)][_0x4de7f0(0x10c)](_0x3de155,_0x3fbcf4);}}}
|
|
23
|
+
const _0x2e4276=_0x4e9b;(function(_0x3a4ade,_0x1d064e){const _0x42ce7e=_0x4e9b,_0x5d0005=_0x3a4ade();while(!![]){try{const _0x155902=parseInt(_0x42ce7e(0x121))/0x1*(parseInt(_0x42ce7e(0x154))/0x2)+-parseInt(_0x42ce7e(0x125))/0x3*(parseInt(_0x42ce7e(0x1bb))/0x4)+parseInt(_0x42ce7e(0x1c0))/0x5+-parseInt(_0x42ce7e(0x17e))/0x6+-parseInt(_0x42ce7e(0x10c))/0x7*(parseInt(_0x42ce7e(0x1ba))/0x8)+parseInt(_0x42ce7e(0x12c))/0x9*(parseInt(_0x42ce7e(0x1e7))/0xa)+parseInt(_0x42ce7e(0x1dd))/0xb*(parseInt(_0x42ce7e(0xfa))/0xc);if(_0x155902===_0x1d064e)break;else _0x5d0005['push'](_0x5d0005['shift']());}catch(_0x4fb0a8){_0x5d0005['push'](_0x5d0005['shift']());}}}(_0x37f2,0xc2906));import{Plugin as _0x4d7046,PendingActions as _0x142f52}from'ckeditor5/src/core.js';import{CKEditorError as _0x25d791,version as _0x83d5b5,uid as _0x2cb2e3}from'ckeditor5/src/utils.js';import{Notification as _0x2ce899}from'ckeditor5/src/ui.js';function _0x4e9b(_0x4b0e7e,_0x36a930){const _0x37f26f=_0x37f2();return _0x4e9b=function(_0x4e9ba7,_0x5d5060){_0x4e9ba7=_0x4e9ba7-0xeb;let _0x1acf67=_0x37f26f[_0x4e9ba7];return _0x1acf67;},_0x4e9b(_0x4b0e7e,_0x36a930);}import{transformSets as _0x52f1de,NoOperation as _0x3b01c9,InsertOperation as _0x58d617,MarkerOperation as _0x26d6f4,RootAttributeOperation as _0x49d9dc,OperationFactory as _0x196c78,History as _0x15db8b}from'ckeditor5/src/engine.js';import _0xece30b from'./websocketgateway.js';import _0x405d73 from'./sessions.js';import _0x267f7f from'./usermarkers.js';import{getTranslation as _0x285daf}from'../common-translations.js';import{Compressor as _0x172256}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5786d8}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x4aae7e,CollaborativeEditingService as _0x2dc1ef}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Q=0x1;class l extends _0x4d7046{static get[_0x2e4276(0xf2)](){return[_0xece30b,_0x405d73,_0x267f7f,_0x142f52,_0x5786d8,_0x2ce899];}static get[_0x2e4276(0x192)](){const _0x28d751=_0x2e4276;return _0x28d751(0x151);}static get[_0x2e4276(0x1b7)](){return!0x0;}static get[_0x2e4276(0x183)](){return!0x0;}get[_0x2e4276(0x148)](){const _0x57f1f7=_0x2e4276;return this[_0x57f1f7(0x16d)]+this[_0x57f1f7(0x174)];}get[_0x2e4276(0x16d)](){const _0x5dbdbd=_0x2e4276;return this[_0x5dbdbd(0x18f)][_0x5dbdbd(0x1bc)]-this[_0x5dbdbd(0x174)];}get[_0x2e4276(0x158)](){const _0x5c2d36=_0x2e4276,_0x2f71d8=this[_0x5c2d36(0x18f)][_0x5c2d36(0x18d)]();for(let _0x2ed5e7=_0x2f71d8[_0x5c2d36(0x196)]-0x1;_0x2ed5e7>=0x0;_0x2ed5e7--){const _0x2d3cb8=_0x2f71d8[_0x2ed5e7];if(!this[_0x5c2d36(0xfc)][_0x5c2d36(0x163)](_0x2d3cb8))return _0x2d3cb8[_0x5c2d36(0x16a)]+0x1-this[_0x5c2d36(0x174)];}return 0x0;}constructor(_0x1a4a07){const _0x295a1b=_0x2e4276;if(super(_0x1a4a07),this[_0x295a1b(0x174)]=0x0,this[_0x295a1b(0x14c)]=null,this[_0x295a1b(0x18f)]=new _0x15db8b(),this[_0x295a1b(0x1b5)][_0x295a1b(0x172)][_0x295a1b(0x139)](_0x295a1b(0x185),{}),this[_0x295a1b(0x11f)]=this[_0x295a1b(0x1b5)][_0x295a1b(0x172)][_0x295a1b(0x1b0)](_0x295a1b(0x181)),!this[_0x295a1b(0x11f)])throw new _0x25d791(_0x295a1b(0x1c4),this);const _0x33c77e=_0x1a4a07[_0x295a1b(0x172)][_0x295a1b(0x1b0)](_0x295a1b(0x11e))||_0x83d5b5;this[_0x295a1b(0x170)]=new l[(_0x295a1b(0x116))](_0x33c77e,this[_0x295a1b(0x11f)]),this[_0x295a1b(0x1d3)]=this[_0x295a1b(0x1b5)][_0x295a1b(0x1e8)][_0x295a1b(0x149)],this[_0x295a1b(0x1a7)]=new _0x172256(),this[_0x295a1b(0x182)]=[],this[_0x295a1b(0x144)]=new WeakSet(),this[_0x295a1b(0x1b2)]=new Set(),this[_0x295a1b(0x187)](_0x295a1b(0xfe),!0x1),this[_0x295a1b(0x187)](_0x295a1b(0x19b),!0x1),this[_0x295a1b(0x114)]=null,this[_0x295a1b(0xeb)]=!0x1,this[_0x295a1b(0x1cf)]=null,this[_0x295a1b(0x1c7)]=0x12c,this[_0x295a1b(0x14a)]=this[_0x295a1b(0x1c7)],this[_0x295a1b(0x198)]=null,this[_0x295a1b(0xfc)]=new WeakSet(),this[_0x295a1b(0x153)]=new Z(this[_0x295a1b(0xfc)]);}[_0x2e4276(0xf8)](){const _0x59bb9a=_0x2e4276,_0x467139=this[_0x59bb9a(0x1b5)],_0x4db24d=_0x467139[_0x59bb9a(0x1db)][_0x59bb9a(0x1b0)](_0x5786d8),_0x162cc5=_0x467139[_0x59bb9a(0x1db)][_0x59bb9a(0x1b0)](_0xece30b);this[_0x59bb9a(0x10f)](_0x4db24d,_0x59bb9a(0x156),(_0x2a9d48,_0x4e1caa)=>{const _0x4bf2f7=_0x59bb9a,_0x56085b=_0x4e1caa[0x0];_0x56085b[_0x4bf2f7(0x165)]&&(_0x2a9d48[_0x4bf2f7(0x18b)]=_0x4db24d[_0x4bf2f7(0xf0)](_0x56085b[_0x4bf2f7(0x165)]),_0x2a9d48[_0x4bf2f7(0x134)]()),null===_0x56085b[_0x4bf2f7(0x165)]&&(_0x2a9d48[_0x4bf2f7(0x18b)]=null,_0x2a9d48[_0x4bf2f7(0x134)]());},{'priority':_0x59bb9a(0x11d)}),this[_0x59bb9a(0x10f)](_0x467139[_0x59bb9a(0x1e8)][_0x59bb9a(0x149)][_0x59bb9a(0x119)],_0x59bb9a(0x1cc),(_0x3d89b4,_0x29a368)=>{const _0x5b2b72=_0x59bb9a;_0x29a368[_0x5b2b72(0x12a)]&&this[_0x5b2b72(0x1b4)]();}),this[_0x59bb9a(0x10f)](_0x467139[_0x59bb9a(0x173)][_0x59bb9a(0x160)],_0x59bb9a(0x138),()=>{const _0x3a6285=_0x59bb9a;this[_0x3a6285(0x1b4)]();}),this[_0x59bb9a(0x1a6)](),_0x467139[_0x59bb9a(0x1e8)]['on'](_0x59bb9a(0x162),(_0x4f9fdf,_0x27804d)=>{const _0x370e3b=_0x59bb9a,_0x2a6a71=_0x27804d[0x0];_0x2a6a71[_0x370e3b(0x10d)]&&(this[_0x370e3b(0x18c)](_0x2a6a71),this[_0x370e3b(0x12e)]()&&this[_0x370e3b(0x101)]());}),this[_0x59bb9a(0x137)](),this[_0x59bb9a(0xf9)](_0x59bb9a(0x13c))['to'](_0x162cc5,_0x59bb9a(0x1aa),this,_0x59bb9a(0x19b),(_0x592f1e,_0x4a8ef5)=>_0x59bb9a(0x1e4)===_0x592f1e&&!_0x4a8ef5),this['on'](_0x59bb9a(0x106),()=>{const _0x846413=_0x59bb9a;this[_0x846413(0x13c)]?_0x467139[_0x846413(0x131)](_0x846413(0x109)):_0x467139[_0x846413(0x1c3)](_0x846413(0x109));}),this[_0x59bb9a(0x13c)]?_0x467139[_0x59bb9a(0x131)](_0x59bb9a(0x109)):_0x467139[_0x59bb9a(0x1c3)](_0x59bb9a(0x109)),this[_0x59bb9a(0x187)](_0x59bb9a(0x1e2),!0x1);}async[_0x2e4276(0x129)](){const _0x32104b=_0x2e4276,_0x150bbf=this[_0x32104b(0x1b5)][_0x32104b(0x1db)][_0x32104b(0x1b0)](_0x405d73),_0x54e0db=this[_0x32104b(0x1b5)][_0x32104b(0x1db)][_0x32104b(0x1b0)](_0xece30b);try{this[_0x32104b(0xfe)]=!0x0,_0x150bbf[_0x32104b(0x13a)](this[_0x32104b(0x11f)]);const _0x117b67=await this[_0x32104b(0x170)][_0x32104b(0x129)](_0x54e0db[_0x32104b(0x11b)],this[_0x32104b(0x158)]);await this[_0x32104b(0xfd)](_0x117b67)&&(this[_0x32104b(0xfe)]=!0x1,this[_0x32104b(0x18e)]());const _0x52661f=await this[_0x32104b(0x170)][_0x32104b(0x103)]();_0x150bbf[_0x32104b(0x18a)](this[_0x32104b(0x11f)],_0x52661f),this[_0x32104b(0xef)](),this[_0x32104b(0x1e2)]=!0x0;}catch(_0x1a4324){if(function(_0x1a4dd2){const _0x48240d=_0x32104b;return _0x48240d(0x16e)===_0x1a4dd2[_0x48240d(0x1de)];}(_0x1a4324)&&this[_0x32104b(0x14c)])await this[_0x32104b(0x1a4)]();else{if(function(_0x5d49d2){const _0x3f38d6=_0x32104b;return _0x3f38d6(0xf1)===_0x5d49d2[_0x3f38d6(0x1de)];}(_0x1a4324)){const _0x1c295e=_0x285daf(this[_0x32104b(0x1b5)][_0x32104b(0x1c6)],_0x32104b(0x1c5));this[_0x32104b(0x1e9)](_0x1c295e);}else{if(!(_0x1a4324 instanceof X))throw _0x1a4324;this[_0x32104b(0x1e9)]();}}}}[_0x2e4276(0x136)](){const _0x305e79=_0x2e4276,_0x4f1bb0=this[_0x305e79(0x1b5)][_0x305e79(0x1db)][_0x305e79(0x1b0)](_0xece30b),_0x4b9f29=this[_0x305e79(0x1b5)][_0x305e79(0x1db)][_0x305e79(0x1b0)](_0x405d73);this[_0x305e79(0x1b5)][_0x305e79(0x1c3)](_0x305e79(0x190)),_0x4b9f29[_0x305e79(0x11c)][_0x305e79(0x163)](this[_0x305e79(0x11f)])&&_0x4b9f29[_0x305e79(0x13a)](this[_0x305e79(0x11f)]),_0x4f1bb0[_0x305e79(0x1df)](this),this[_0x305e79(0x128)](),super[_0x305e79(0x136)]();}async[_0x2e4276(0xfd)](_0x13f2c3){const _0x246781=_0x2e4276;if(this[_0x246781(0x14c)]!==_0x13f2c3[_0x246781(0x14c)]&&this[_0x246781(0x198)]!==_0x13f2c3[_0x246781(0x107)])throw new X();return this[_0x246781(0x14c)]=_0x13f2c3[_0x246781(0x14c)],this[_0x246781(0x132)]([],{..._0x13f2c3,'wereChangesApplied':!0x1,'data':_0x13f2c3[_0x246781(0x1da)]},_0x246781(0x129));}async[_0x2e4276(0x1eb)](_0x17866b,_0x46f069=!0x1){const _0xfb43b9=_0x2e4276,{connection:_0x2af042}=this[_0xfb43b9(0x1b5)][_0xfb43b9(0x1db)][_0xfb43b9(0x1b0)](_0xece30b);l[_0xfb43b9(0x116)][_0xfb43b9(0x103)](_0x2af042,this[_0xfb43b9(0x11f)])[_0xfb43b9(0x14d)](_0x47d799=>this[_0xfb43b9(0x17d)](_0x47d799))[_0xfb43b9(0x180)](_0x560c0d=>{const _0x16dedb=_0xfb43b9;this[_0x16dedb(0x167)](_0x16dedb(0x1b3),_0x560c0d);}),this[_0xfb43b9(0x10f)](this[_0xfb43b9(0x170)],_0xfb43b9(0x14e),this[_0xfb43b9(0x178)][_0xfb43b9(0xf9)](this)),this[_0xfb43b9(0x10f)](this[_0xfb43b9(0x170)],_0xfb43b9(0x16b),(_0x1b8d55,_0x184b60)=>{const _0x3a23e7=_0xfb43b9;this[_0x3a23e7(0x167)](_0x3a23e7(0x10b),_0x184b60);}),this[_0xfb43b9(0x10f)](this[_0xfb43b9(0x170)],_0xfb43b9(0x1ae),()=>{const _0x488c9f=_0xfb43b9;this[_0x488c9f(0x1e2)]=!0x1;});const _0x13689b=this[_0xfb43b9(0x153)][_0xfb43b9(0x111)](_0x17866b);this[_0xfb43b9(0xfe)]=!0x0;const _0x1c10ed=await this[_0xfb43b9(0x170)][_0xfb43b9(0x1b8)](_0x2af042,this[_0xfb43b9(0x1d8)](_0x17866b),_0x13689b);if(this[_0xfb43b9(0x14c)]=_0x1c10ed[_0xfb43b9(0x14c)],_0x46f069){if(!_0x1c10ed[_0xfb43b9(0xee)])return void this[_0xfb43b9(0x1e9)]();this[_0xfb43b9(0xfe)]=!0x1,this[_0xfb43b9(0x18e)](),this[_0xfb43b9(0x18f)][_0xfb43b9(0x1a2)](),this[_0xfb43b9(0x174)]=_0x1c10ed[_0xfb43b9(0x188)],this[_0xfb43b9(0x18f)][_0xfb43b9(0x1bc)]=this[_0xfb43b9(0x174)],await this[_0xfb43b9(0x132)](_0x17866b,_0x1c10ed,_0xfb43b9(0x115));}else await this[_0xfb43b9(0x145)](_0x1c10ed,_0x17866b);this[_0xfb43b9(0xef)](),this[_0xfb43b9(0x1e2)]=!0x0;}[_0x2e4276(0xef)](){const _0x2967da=_0x2e4276,_0x1bd59a=this[_0x2967da(0x1b5)][_0x2967da(0x1db)][_0x2967da(0x1b0)](_0x405d73),_0x18e023=this[_0x2967da(0x1b5)][_0x2967da(0x1db)][_0x2967da(0x1b0)](_0x267f7f),_0x494869=_0x1bd59a[_0x2967da(0x11c)][_0x2967da(0x1b0)](this[_0x2967da(0x11f)]);_0x494869&&_0x494869[_0x2967da(0x196)]>0x1?_0x18e023[_0x2967da(0x14f)]():this[_0x2967da(0x10f)](_0x1bd59a,_0x2967da(0x1b6)+this[_0x2967da(0x11f)],()=>{const _0x9cb9cd=_0x2967da;0x2===_0x1bd59a[_0x9cb9cd(0x11c)][_0x9cb9cd(0x1b0)](this[_0x9cb9cd(0x11f)])[_0x9cb9cd(0x196)]&&_0x18e023[_0x9cb9cd(0x14f)]();});}async[_0x2e4276(0x178)](_0x4d078d,_0x26ef3f,_0x45426d,_0x2a0492){const _0x3e4d2b=_0x2e4276;if(!this[_0x3e4d2b(0xfe)]&&this[_0x3e4d2b(0x1d3)][_0x3e4d2b(0x1bc)]==_0x26ef3f){const _0x196398=this[_0x3e4d2b(0x13b)](_0x45426d,_0x2a0492);await this[_0x3e4d2b(0x197)](_0x196398),this[_0x3e4d2b(0x1b1)](_0x196398,_0x26ef3f,_0x45426d[_0x3e4d2b(0x107)])||this[_0x3e4d2b(0x167)](_0x3e4d2b(0x13f));}}async[_0x2e4276(0x1a4)](){const _0x1a18d0=_0x2e4276;this[_0x1a18d0(0x128)]();const {locale:_0x23ad75}=this[_0x1a18d0(0x1b5)];let _0x1d33fe;try{_0x1d33fe=await this[_0x1a18d0(0x170)][_0x1a18d0(0x105)]();}catch(_0x444319){const _0x83e23a=_0x285daf(_0x23ad75,_0x1a18d0(0xf3));return void this[_0x1a18d0(0x1e9)](_0x83e23a);}const _0x31e14d=_0x1d33fe[_0x1a18d0(0x1ea)]||_0x1d33fe[_0x1a18d0(0x17b)];if(this[_0x1a18d0(0x198)]===_0x31e14d[_0x1a18d0(0x107)])await this[_0x1a18d0(0x1eb)](this[_0x1a18d0(0x1b5)][_0x1a18d0(0x1e8)][_0x1a18d0(0x149)][_0x1a18d0(0x118)][_0x1a18d0(0x18d)](),!0x0);else{const _0x6c2b6d=_0x285daf(_0x23ad75,_0x1a18d0(0x17f));this[_0x1a18d0(0x1e9)](_0x6c2b6d);}}[_0x2e4276(0x128)](){const _0x49e5c2=_0x2e4276;this[_0x49e5c2(0x170)][_0x49e5c2(0x1af)](),this[_0x49e5c2(0x182)]=[],clearTimeout(this[_0x49e5c2(0x1cf)]),this[_0x49e5c2(0x11a)](this[_0x49e5c2(0x170)]);}[_0x2e4276(0x17d)](_0x550758){const _0x21a75f=_0x2e4276,_0x3f4875=this[_0x21a75f(0x1b5)][_0x21a75f(0x1db)][_0x21a75f(0x1b0)](_0x405d73);this[_0x21a75f(0x10f)](_0x3f4875,_0x21a75f(0x1b6)+this[_0x21a75f(0x11f)],(_0x1a0bb3,{session:_0x649536})=>{const _0x2523a9=_0x21a75f;if(_0x649536['id']===_0x3f4875[_0x2523a9(0x122)]){_0x1a0bb3[_0x2523a9(0x1a5)]();const _0x6e9de5=this[_0x2523a9(0x1b5)][_0x2523a9(0x1db)][_0x2523a9(0x163)](_0x2523a9(0x1e0))&&this[_0x2523a9(0x1b5)][_0x2523a9(0x1db)][_0x2523a9(0x1b0)](_0x2523a9(0x1e0));let _0x5e708b=_0x649536[_0x2523a9(0x1cb)];_0x6e9de5&&_0x6e9de5[_0x2523a9(0x15b)]&&(_0x5e708b=_0x5e708b[_0x2523a9(0x12f)](_0x175773=>_0x2523a9(0xf7)!==_0x175773)),this[_0x2523a9(0x1b5)][_0x2523a9(0x1db)][_0x2523a9(0x1b0)](_0x2523a9(0x10e))[_0x2523a9(0x19e)](_0x5e708b,this[_0x2523a9(0x11f)]);}}),_0x3f4875[_0x21a75f(0x18a)](this[_0x21a75f(0x11f)],_0x550758);}[_0x2e4276(0x1a6)](){const _0x243fe7=_0x2e4276,_0xb96d7f=this[_0x243fe7(0x1b5)][_0x243fe7(0x1da)][_0x243fe7(0x187)];this[_0x243fe7(0x1b5)][_0x243fe7(0x1da)][_0x243fe7(0x187)]=(..._0x2c2bbd)=>{const _0x39f4e4=_0x243fe7;if(!_0x2c2bbd[_0x2c2bbd[_0x39f4e4(0x196)]-0x1][_0x39f4e4(0x127)])throw new _0x25d791(_0x39f4e4(0xf5),this);_0xb96d7f[_0x39f4e4(0x184)](this[_0x39f4e4(0x1b5)][_0x39f4e4(0x1da)],_0x2c2bbd);};}[_0x2e4276(0x137)](){const _0x5acb3f=_0x2e4276;this[_0x5acb3f(0x1b5)][_0x5acb3f(0x1da)]['on'](_0x5acb3f(0xf8),(_0x1aad36,[_0x4ede0a])=>{const _0x312fb2=_0x5acb3f;if(this[_0x312fb2(0x1d3)][_0x312fb2(0x1bc)])throw new _0x25d791(_0x312fb2(0x155),this);_0x1aad36[_0x312fb2(0x134)](),this[_0x312fb2(0x1e5)]();const _0x51cd93=this[_0x312fb2(0x1b5)][_0x312fb2(0x172)][_0x312fb2(0x1b0)](_0x312fb2(0x175)),_0x1145e0=this[_0x312fb2(0x130)](_0x4ede0a,_0x51cd93);0x0==_0x1145e0[_0x312fb2(0x196)]&&_0x1145e0[_0x312fb2(0x123)](new _0x3b01c9(0x0)),_0x1aad36[_0x312fb2(0x18b)]=this[_0x312fb2(0x1eb)](_0x1145e0)[_0x312fb2(0x14d)](()=>{const _0x4e86ac=_0x312fb2;this[_0x4e86ac(0x1b5)][_0x4e86ac(0x1db)][_0x4e86ac(0x1b0)](_0xece30b)[_0x4e86ac(0x16c)](this),this[_0x4e86ac(0x1b5)][_0x4e86ac(0x1da)][_0x4e86ac(0x15d)](_0x4e86ac(0x13e));})[_0x312fb2(0x180)](_0x49409b=>this[_0x312fb2(0x167)](_0x312fb2(0x100),_0x49409b))[_0x312fb2(0x1e6)](()=>this[_0x312fb2(0x18e)]());},{'priority':_0x5acb3f(0x11d)}),this[_0x5acb3f(0x1b5)]['on'](_0x5acb3f(0x194),async(_0x5e9f36,[_0x34c904,_0x42cd9f])=>{const _0x5cb915=_0x5acb3f;_0x5e9f36[_0x5cb915(0x134)]();const _0x2b46c0=this[_0x5cb915(0x1b5)][_0x5cb915(0x1e8)][_0x5cb915(0x149)][_0x5cb915(0x17a)](_0x34c904);if(!this[_0x5cb915(0x1b2)][_0x5cb915(0x163)](_0x34c904)){const _0xc915fb=_0x42cd9f&&_0x42cd9f[_0x5cb915(0x1da)]?_0x42cd9f[_0x5cb915(0x1da)]:'',_0x3ff0c0=_0x42cd9f&&_0x42cd9f[_0x5cb915(0x164)]?_0x42cd9f[_0x5cb915(0x164)]:{};await this[_0x5cb915(0x15e)](_0x34c904,_0xc915fb,_0x3ff0c0);}this[_0x5cb915(0x1b5)][_0x5cb915(0x1e8)][_0x5cb915(0x135)]({'isUndoable':!0x1},()=>{const _0x5f0971=_0x5cb915;_0x2b46c0[_0x5f0971(0x19f)]=!0x0,this[_0x5f0971(0x1b5)][_0x5f0971(0x1e8)][_0x5f0971(0x149)][_0x5f0971(0x199)][_0x5f0971(0x133)](_0x2b46c0);});},{'priority':_0x5acb3f(0x11d)});}async[_0x2e4276(0x197)](_0x5cfd05){const _0xa05900=_0x2e4276,_0x4b9020=this[_0xa05900(0x1b5)][_0xa05900(0x1db)][_0xa05900(0x1b0)](_0x5786d8),{connection:_0x5116f5}=this[_0xa05900(0x1b5)][_0xa05900(0x1db)][_0xa05900(0x1b0)](_0xece30b),_0x59ee8b=new Set();for(const _0x5e514d of _0x5cfd05){const _0x5d43a1=_0x5e514d[_0xa05900(0x165)];_0x5d43a1&&!_0x4b9020[_0xa05900(0xf0)](_0x5d43a1)&&_0x59ee8b[_0xa05900(0x1d4)](_0x5d43a1);}if(0x0===_0x59ee8b[_0xa05900(0x113)])return;const _0x2cefbc=await _0x4aae7e[_0xa05900(0x1e3)](_0x5116f5,Array[_0xa05900(0x1d1)](_0x59ee8b));for(const _0x3bd5ae of _0x2cefbc)_0x4b9020[_0xa05900(0xf0)](_0x3bd5ae['id'])||_0x4b9020[_0xa05900(0x1ac)](_0x3bd5ae);}[_0x2e4276(0x130)](_0x27c1e7,_0x59c5af={}){const _0x1f362d=_0x2e4276,_0x2e9ed5=this[_0x1f362d(0x1b5)][_0x1f362d(0x1e8)],_0x199605=[];let _0x2490ff=0x0;const _0x7834d3=_0x1f362d(0x193)==typeof _0x27c1e7?{'main':_0x27c1e7}:_0x27c1e7;for(const _0x4e9c23 of Object[_0x1f362d(0x159)](_0x7834d3)){if(!this[_0x1f362d(0x1d3)][_0x1f362d(0x1ab)][_0x1f362d(0x163)](_0x4e9c23))throw new _0x25d791(_0x1f362d(0x1ad),this);const _0x5942a5=this[_0x1f362d(0x1b5)][_0x1f362d(0x1da)][_0x1f362d(0xfb)](_0x7834d3[_0x4e9c23]),_0x23ab35=this[_0x1f362d(0x1d3)][_0x1f362d(0x17a)](_0x4e9c23),_0x39437b=new _0x58d617(_0x2e9ed5[_0x1f362d(0x186)](_0x23ab35,0x0),_0x5942a5,_0x2490ff++);_0x199605[_0x1f362d(0x123)](_0x39437b);for(const [_0x5560bc,_0x186f3c]of _0x5942a5[_0x1f362d(0x189)]){const _0x555198=_0x2e9ed5[_0x1f362d(0x179)](_0x2e9ed5[_0x1f362d(0xff)](_0x23ab35,_0x186f3c[_0x1f362d(0xed)][_0x1f362d(0x1bd)][_0x1f362d(0x191)]()),_0x2e9ed5[_0x1f362d(0xff)](_0x23ab35,_0x186f3c[_0x1f362d(0x1bf)][_0x1f362d(0x1bd)][_0x1f362d(0x191)]())),_0x394134=new _0x26d6f4(_0x5560bc,null,_0x555198,_0x2e9ed5[_0x1f362d(0x189)],!0x0,_0x2490ff++);_0x199605[_0x1f362d(0x123)](_0x394134);}}if(_0x59c5af)for(const [_0x348b9d,_0x53dd4d]of Object[_0x1f362d(0x166)](_0x59c5af)){const _0x1055d6=_0x2e9ed5[_0x1f362d(0x149)][_0x1f362d(0x17a)](_0x348b9d);if(!_0x1055d6)throw new _0x25d791(_0x1f362d(0x124),null);for(const [_0x505e1f,_0x34025f]of Object[_0x1f362d(0x166)](_0x53dd4d))if(null!==_0x34025f){const _0x57724f=new _0x49d9dc(_0x1055d6,_0x505e1f,null,_0x34025f,_0x2490ff++);_0x199605[_0x1f362d(0x123)](_0x57724f);}}return _0x199605;}async[_0x2e4276(0x15e)](_0x2907b5,_0x335ebc,_0x5613d2){const _0x2eb4ee=_0x2e4276;this[_0x2eb4ee(0x130)]({[_0x2907b5]:_0x335ebc},{[_0x2907b5]:_0x5613d2})[_0x2eb4ee(0x19c)]((_0x1ad936,_0x5c94db)=>{const _0x1a02c7=_0x2eb4ee;_0x1ad936[_0x1a02c7(0x16a)]=this[_0x1a02c7(0x1d3)][_0x1a02c7(0x1bc)]+_0x5c94db,_0x1ad936[_0x1a02c7(0x1c9)]=!0x0,this[_0x1a02c7(0x18c)](_0x1ad936);}),this[_0x2eb4ee(0x101)](),await this[_0x2eb4ee(0xf4)]();}async[_0x2e4276(0x145)](_0x3eecdb,_0xf6e9e){const _0x2aba39=_0x2e4276;let _0xafc96f;this[_0x2aba39(0x174)]=_0x3eecdb[_0x2aba39(0x188)];const _0x565bca=_0x3eecdb[_0x2aba39(0xee)]&&!_0x3eecdb[_0x2aba39(0x1b9)],_0x2cd507=_0x565bca?0x0:_0x3eecdb[_0x2aba39(0x1da)][_0x2aba39(0x16a)];if(_0xf6e9e[_0x2aba39(0x19c)](_0x271673=>{const _0x34787c=_0x2aba39;_0x271673[_0x34787c(0x1c9)]=!0x0,_0x271673[_0x34787c(0x177)]=_0x3eecdb[_0x34787c(0x1f0)],_0x271673[_0x34787c(0x165)]=null;}),_0x565bca)_0xafc96f=_0xf6e9e,this[_0x2aba39(0x157)](_0xafc96f,_0x565bca);else{if(_0x3eecdb[_0x2aba39(0x1b9)]){const _0x2dc71b=this[_0x2aba39(0x130)](_0x3eecdb[_0x2aba39(0x1b9)]);this[_0x2aba39(0x1d3)][_0x2aba39(0x118)][_0x2aba39(0x1bc)]=-_0x2dc71b[_0x2aba39(0x196)],_0x2dc71b[_0x2aba39(0x19c)](_0x107ad2=>{const _0x109baa=_0x2aba39;_0x107ad2[_0x109baa(0x16a)]-=_0x2dc71b[_0x109baa(0x196)],_0x107ad2[_0x109baa(0x177)]=_0x3eecdb[_0x109baa(0x1f0)],_0x107ad2[_0x109baa(0x1c9)]=!0x0,_0x107ad2[_0x109baa(0x165)]=null;}),this[_0x2aba39(0x157)](_0x2dc71b,!0x0),this[_0x2aba39(0x18f)][_0x2aba39(0x1bc)]=-_0x2dc71b[_0x2aba39(0x196)]+this[_0x2aba39(0x174)],this[_0x2aba39(0x19d)](_0x2dc71b);}this[_0x2aba39(0x1d3)][_0x2aba39(0x118)][_0x2aba39(0x1bc)]=_0x2cd507,_0xafc96f=this[_0x2aba39(0x13b)](_0x3eecdb[_0x2aba39(0x1da)],_0x3eecdb[_0x2aba39(0x108)]),await this[_0x2aba39(0x197)](_0xafc96f),this[_0x2aba39(0x157)](_0xafc96f,_0x565bca);}_0x3eecdb[_0x2aba39(0x107)]&&(this[_0x2aba39(0x153)][_0x2aba39(0x1e1)](_0xafc96f,_0x3eecdb[_0x2aba39(0x107)]),this[_0x2aba39(0x198)]=_0x3eecdb[_0x2aba39(0x107)]),this[_0x2aba39(0x18f)][_0x2aba39(0x1bc)]=_0x2cd507+this[_0x2aba39(0x174)],this[_0x2aba39(0x19d)](_0xafc96f),_0xf6e9e[_0x2aba39(0x12f)](_0x5834f8=>{const _0x346417=_0x2aba39,_0x4e3115=this[_0x346417(0x1c8)](_0x5834f8);return _0x4e3115&&!this[_0x346417(0x1b2)][_0x346417(0x163)](_0x4e3115);})[_0x2aba39(0x19c)]((_0x4c9e1f,_0x23b972)=>{const _0x5247a9=_0x2aba39;_0x4c9e1f[_0x5247a9(0x16a)]=this[_0x5247a9(0x1d3)][_0x5247a9(0x1bc)]+_0x23b972,this[_0x5247a9(0x18c)](_0x4c9e1f);}),this[_0x2aba39(0x12e)]()?(this[_0x2aba39(0x14a)]=0x0,this[_0x2aba39(0x101)](!0x0),await this[_0x2aba39(0xf4)]()):(this[_0x2aba39(0xfe)]=!0x1,this[_0x2aba39(0x18e)]());}[_0x2e4276(0x167)](_0x4a79b3,_0x67c31f){const _0x51f7b0=_0x2e4276;throw this[_0x51f7b0(0xfe)]=!0x0,_0x67c31f&&console[_0x51f7b0(0x16b)](_0x67c31f),new _0x25d791(_0x4a79b3,this[_0x51f7b0(0x1b5)]);}[_0x2e4276(0x18c)](_0x520604){const _0x2bd278=_0x2e4276;this[_0x2bd278(0x144)][_0x2bd278(0x163)](_0x520604)||(this[_0x2bd278(0x144)][_0x2bd278(0x1d4)](_0x520604),this[_0x2bd278(0x182)][_0x2bd278(0x123)](_0x520604),this[_0x2bd278(0x114)]||_0x2bd278(0x16f)==_0x520604[_0x2bd278(0x1c2)]&&!_0x520604[_0x2bd278(0x1a0)]||this[_0x2bd278(0x1e5)]());}[_0x2e4276(0x101)](_0x245773=!0x1){const _0x12bb0c=_0x2e4276;!_0x245773&&this[_0x12bb0c(0xfe)]||(this[_0x12bb0c(0xfe)]=!0x0,clearTimeout(this[_0x12bb0c(0x1cf)]),this[_0x12bb0c(0x1cf)]=setTimeout(()=>{const _0x5ae0f2=_0x12bb0c;this[_0x5ae0f2(0x15a)]()[_0x5ae0f2(0x14d)](_0x47ccdd=>{const _0x3b31a5=_0x5ae0f2;_0x47ccdd&&(this[_0x3b31a5(0x18e)](),this[_0x3b31a5(0xfe)]=!0x1);})[_0x5ae0f2(0x180)](_0x8fe560=>{const _0x586c19=_0x5ae0f2;if(this[_0x586c19(0x18e)](),this[_0x586c19(0xfe)]=!0x1,!function(_0x543e79){const _0xd585d8=_0x586c19;return _0x543e79[_0xd585d8(0x1ee)][_0xd585d8(0x117)](_0xd585d8(0x147))||_0x543e79[_0xd585d8(0x1ee)][_0xd585d8(0x117)](_0xd585d8(0x140))||_0x543e79[_0xd585d8(0x1ee)][_0xd585d8(0x117)](_0xd585d8(0x104));}(_0x8fe560))throw _0x8fe560;});},this[_0x12bb0c(0x14a)]));}[_0x2e4276(0xf4)](){return new Promise(_0x3cffe7=>{const _0x1f469b=_0x4e9b;this['on'](_0x1f469b(0x141),()=>{_0x3cffe7();});});}async[_0x2e4276(0x15a)](){const _0x44ef90=_0x2e4276,_0x52edb7=this[_0x44ef90(0x1b5)][_0x44ef90(0x1db)][_0x44ef90(0x1b0)](_0x267f7f);if(this[_0x44ef90(0x150)]()&&(_0x52edb7[_0x44ef90(0x14f)](),this[_0x44ef90(0xeb)]=!0x1),!this[_0x44ef90(0x12e)]())return!0x0;const _0x260732=[...this[_0x44ef90(0x182)]];for(const _0x344859 of _0x260732)_0x344859[_0x44ef90(0x15f)]=this[_0x44ef90(0x1d3)][_0x44ef90(0x118)][_0x44ef90(0x13d)](_0x344859);const _0x245430=this[_0x44ef90(0x153)][_0x44ef90(0x111)](_0x260732),_0x6dfa4=Q++,_0x1cc387=this[_0x44ef90(0x1d8)](_0x260732),_0x24aa58=await this[_0x44ef90(0x170)][_0x44ef90(0x143)](_0x1cc387,_0x1cc387[_0x44ef90(0x16a)],_0x245430);try{return await this[_0x44ef90(0x132)](_0x260732,_0x24aa58,_0x6dfa4);}catch(_0x20e704){return this[_0x44ef90(0x167)](_0x44ef90(0x1a8),_0x20e704);}}async[_0x2e4276(0x132)](_0x251935,_0x598656,_0x28e77f){const _0x2065d3=_0x2e4276;if(_0x2065d3(0x16b)in _0x598656)throw _0x598656[_0x2065d3(0x16b)];let _0x9c59f0=!0x1;if(_0x598656[_0x2065d3(0xee)]){_0x598656[_0x2065d3(0x107)]&&(this[_0x2065d3(0x198)]=_0x598656[_0x2065d3(0x107)]),this[_0x2065d3(0x182)]=this[_0x2065d3(0x182)][_0x2065d3(0x12f)](_0x1da0e0=>!_0x251935[_0x2065d3(0x17c)](_0x1da0e0));for(const _0x3771a9 of _0x251935)_0x3771a9[_0x2065d3(0x177)]=_0x2065d3(0x1d0)in _0x598656&&_0x598656[_0x2065d3(0x1d0)]||void 0x0;Y(_0x251935,_0x598656[_0x2065d3(0x1bc)]-_0x251935[_0x2065d3(0x196)]),this[_0x2065d3(0x19d)](_0x251935);const _0x510ba4=_0x251935[_0x2065d3(0x12f)](_0x53e1b9=>{const _0x32d477=_0x2065d3;if(!_0x53e1b9[_0x32d477(0x1c9)])return!0x1;const _0x132404=this[_0x32d477(0x1c8)](_0x53e1b9);return _0x132404&&!this[_0x32d477(0x1b2)][_0x32d477(0x163)](_0x132404);});Y(_0x510ba4,this[_0x2065d3(0x1d3)][_0x2065d3(0x1bc)]),this[_0x2065d3(0x157)](_0x510ba4),_0x9c59f0=!0x0,this[_0x2065d3(0x14a)]=this[_0x2065d3(0x1c7)];}else{const _0x5df402=this[_0x2065d3(0x13b)](_0x598656[_0x2065d3(0x1da)],_0x598656[_0x2065d3(0x108)])[_0x2065d3(0x12f)](_0x1a6381=>_0x1a6381[_0x2065d3(0x16a)]>=this[_0x2065d3(0x16d)]);_0x5df402[_0x2065d3(0x19c)](_0x43c355=>this[_0x2065d3(0x176)](_0x43c355)),this[_0x2065d3(0x182)]=this[_0x2065d3(0x182)][_0x2065d3(0x12f)](_0x408485=>!_0x408485[_0x2065d3(0x1c9)]||!this[_0x2065d3(0x1b2)][_0x2065d3(0x163)](this[_0x2065d3(0x1c8)](_0x408485))),this[_0x2065d3(0x182)][_0x2065d3(0x196)]&&Y(this[_0x2065d3(0x182)],this[_0x2065d3(0x182)][0x0][_0x2065d3(0x16a)]),await this[_0x2065d3(0x197)](_0x5df402),_0x9c59f0=this[_0x2065d3(0x1b1)](_0x5df402,_0x598656[_0x2065d3(0x1bc)],_0x598656[_0x2065d3(0x107)]),this[_0x2065d3(0x14a)]=Math[_0x2065d3(0x102)](this[_0x2065d3(0x14a)]/0x2);}return _0x9c59f0?!this[_0x2065d3(0x12e)]()||(this[_0x2065d3(0x101)](!0x0),!0x1):this[_0x2065d3(0x167)](_0x2065d3(0x1ec));}[_0x2e4276(0x1b1)](_0x2e7a63,_0x2072ed,_0x2a346a){const _0x3ca07f=_0x2e4276;try{const _0x2db667={'document':this[_0x3ca07f(0x1d3)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x511297,operationsB:_0x2756dd,originalOperations:_0x487bb2}=_0x52f1de(_0x2e7a63,this[_0x3ca07f(0x182)],_0x2db667);Y(_0x511297,this[_0x3ca07f(0x1d3)][_0x3ca07f(0x1bc)]),Y(_0x2756dd,_0x2072ed);for(const _0x1d9d63 of _0x511297){const _0x2455ec=_0x487bb2[_0x3ca07f(0x1b0)](_0x1d9d63);_0x1d9d63[_0x3ca07f(0x165)]=_0x2455ec?_0x2455ec[_0x3ca07f(0x165)]:null;}_0x2a346a&&(this[_0x3ca07f(0x153)][_0x3ca07f(0x1e1)](_0x2e7a63,_0x2a346a),this[_0x3ca07f(0x198)]=_0x2a346a),this[_0x3ca07f(0x182)]=[..._0x2756dd],this[_0x3ca07f(0x157)](_0x511297),this[_0x3ca07f(0x19d)](_0x2e7a63);}catch(_0x5904f5){return console[_0x3ca07f(0x16b)](_0x5904f5),!0x1;}return!0x0;}[_0x2e4276(0x157)](_0x1e3479,_0x4f1621=!0x1){const _0x441a9c=_0x2e4276;this[_0x441a9c(0x1b5)][_0x441a9c(0x1e8)][_0x441a9c(0x135)]({'isUndoable':!0x1,'isLocal':!0x1},_0x36cf94=>{const _0x13fdc3=_0x441a9c;for(const _0x25361d of _0x1e3479)this[_0x13fdc3(0x144)][_0x13fdc3(0x1d4)](_0x25361d),this[_0x13fdc3(0x176)](_0x25361d),_0x36cf94[_0x13fdc3(0x171)][_0x13fdc3(0x1d2)](_0x25361d),this[_0x13fdc3(0x1b5)][_0x13fdc3(0x1e8)][_0x13fdc3(0x162)](_0x25361d);});}[_0x2e4276(0x176)](_0x4b7101){const _0x568efb=_0x2e4276,_0x4bf706=this[_0x568efb(0x1c8)](_0x4b7101);_0x4bf706&&this[_0x568efb(0x1b2)][_0x568efb(0x1d4)](_0x4bf706);}[_0x2e4276(0x1c8)](_0x4b38b9){const _0x1c52be=_0x2e4276;let _0x283d71,_0x4a75da;switch(_0x4b38b9[_0x1c52be(0x1c2)]){case _0x1c52be(0x142):_0x283d71=_0x4b38b9[_0x1c52be(0x169)][_0x1c52be(0x12b)];break;case _0x1c52be(0x16f):if(_0x4a75da=_0x4b38b9[_0x1c52be(0x1ce)],!_0x4a75da)return null;_0x283d71=_0x4a75da[_0x1c52be(0x12b)];break;case _0x1c52be(0x1a3):_0x283d71=_0x4b38b9[_0x1c52be(0x12b)];break;case _0x1c52be(0x112):_0x283d71=_0x4b38b9[_0x1c52be(0x1ef)];break;case _0x1c52be(0x110):_0x283d71=_0x4b38b9[_0x1c52be(0x15c)][_0x1c52be(0x12b)];break;default:return null;}return _0x283d71[_0x1c52be(0x1d9)];}[_0x2e4276(0x19d)](_0x4474fb){const _0xd5baab=_0x2e4276;_0x4474fb[_0xd5baab(0x19c)](_0x3072aa=>{const _0x54f6e7=_0xd5baab,_0x2702fd=_0x3072aa[_0x54f6e7(0x1a1)]();_0x2702fd[_0x54f6e7(0x165)]=_0x3072aa[_0x54f6e7(0x165)],_0x2702fd[_0x54f6e7(0x1c9)]=!!_0x3072aa[_0x54f6e7(0x1c9)],_0x2702fd[_0x54f6e7(0x177)]=_0x3072aa[_0x54f6e7(0x177)],_0x2702fd[_0x54f6e7(0x16a)]+=this[_0x54f6e7(0x174)],_0x3072aa[_0x54f6e7(0xec)]&&this[_0x54f6e7(0xfc)][_0x54f6e7(0x1d4)](_0x2702fd),this[_0x54f6e7(0x18f)][_0x54f6e7(0x1d2)](_0x2702fd);});}[_0x2e4276(0x1e9)](_0x477bf9){const _0x44112c=_0x2e4276,_0x4e7862=this[_0x44112c(0x1b5)][_0x44112c(0x1db)][_0x44112c(0x1b0)](_0x44112c(0x161)),_0x1dd671=this[_0x44112c(0x1b5)][_0x44112c(0x1c6)];_0x477bf9||(_0x477bf9=_0x285daf(_0x1dd671,_0x44112c(0x146))),_0x4e7862[_0x44112c(0x1d7)](_0x477bf9,{'title':_0x285daf(_0x1dd671,_0x44112c(0x1a9)),'namespace':_0x44112c(0x1d6)}),this[_0x44112c(0x19b)]=!0x0,clearTimeout(this[_0x44112c(0x1cf)]),this[_0x44112c(0x182)]=[],this[_0x44112c(0x1b5)][_0x44112c(0x1db)][_0x44112c(0x1b0)](_0xece30b)[_0x44112c(0x136)]();}[_0x2e4276(0x1e5)](){const _0x416ea=_0x2e4276;this[_0x416ea(0x114)]||(this[_0x416ea(0x114)]=this[_0x416ea(0x1b5)][_0x416ea(0x1db)][_0x416ea(0x1b0)](_0x142f52)[_0x416ea(0x1d4)](_0x285daf(this[_0x416ea(0x1b5)][_0x416ea(0x1c6)],_0x416ea(0x1c1))));}[_0x2e4276(0x18e)](){const _0x3f4de3=_0x2e4276;this[_0x3f4de3(0x114)]&&(this[_0x3f4de3(0x1b5)][_0x3f4de3(0x1db)][_0x3f4de3(0x1b0)](_0x142f52)[_0x3f4de3(0x126)](this[_0x3f4de3(0x114)]),this[_0x3f4de3(0x114)]=null);}[_0x2e4276(0x1d8)](_0x151f01){const _0x1c6a15=_0x2e4276,_0x2ffb03=_0x151f01[_0x1c6a15(0x19a)](_0x4005a0=>_0x4005a0[_0x1c6a15(0x1be)]());return this[_0x1c6a15(0x1a7)][_0x1c6a15(0x14b)](_0x2ffb03);}[_0x2e4276(0x13b)](_0x4ca932,_0x1ee213){const _0x4edc40=_0x2e4276;return this[_0x4edc40(0x1a7)][_0x4edc40(0x1dc)](_0x4ca932)[_0x4edc40(0x19a)]((_0x1bf195,_0x35fe84)=>{const _0x4f7f40=_0x4edc40,_0x37299b=_0x4f7f40(0xf8)==_0x1ee213[_0x35fe84][_0x4f7f40(0x1c2)];if(_0x4f7f40(0xf6)==_0x1bf195[_0x4f7f40(0x195)]){const _0x1ae59a=_0x1bf195[_0x4f7f40(0x169)][_0x4f7f40(0x12b)];!this[_0x4f7f40(0x1d3)][_0x4f7f40(0x17a)](_0x1ae59a)&&(this[_0x4f7f40(0x1d3)][_0x4f7f40(0x1d5)](_0x4f7f40(0x168),_0x1ae59a)[_0x4f7f40(0x1cd)]=!0x1);}const _0x27090=_0x196c78[_0x4f7f40(0x152)](_0x1bf195,this[_0x4f7f40(0x1d3)]);return _0x27090[_0x4f7f40(0x15f)]=_0x1bf195[_0x4f7f40(0x15f)],_0x27090[_0x4f7f40(0x1c9)]=_0x37299b,_0x27090[_0x4f7f40(0x165)]=_0x37299b?null:_0x1ee213[_0x35fe84][_0x4f7f40(0x10a)],_0x27090[_0x4f7f40(0xec)]=_0x4f7f40(0x1ed)===_0x1ee213[_0x35fe84][_0x4f7f40(0x1c2)],_0x27090[_0x4f7f40(0x177)]=_0x1ee213[_0x35fe84][_0x4f7f40(0x177)],_0x27090;});}[_0x2e4276(0x1b4)](){const _0x495809=_0x2e4276;this[_0x495809(0xeb)]=!0x0,this[_0x495809(0x150)]()?this[_0x495809(0x101)]():this[_0x495809(0xeb)]=!0x1;}[_0x2e4276(0x150)](){const _0x31c726=_0x2e4276,_0x5232d6=this[_0x31c726(0x1b5)][_0x31c726(0x1db)][_0x31c726(0x1b0)](_0x405d73)[_0x31c726(0x11c)][_0x31c726(0x1b0)](this[_0x31c726(0x11f)]);return!this[_0x31c726(0x1b5)][_0x31c726(0x120)]&&!!_0x5232d6&&_0x5232d6[_0x31c726(0x196)]>0x1&&this[_0x31c726(0xeb)];}[_0x2e4276(0x12e)](){const _0x8d220e=_0x2e4276;return this[_0x8d220e(0x182)][_0x8d220e(0x196)]>0x0||this[_0x8d220e(0x150)]();}}l[_0x2e4276(0x116)]=_0x2dc1ef;export default l;class X extends Error{}function _0x37f2(){const _0x3d3178=['isOfficialPlugin','connect','initData','216TjwkJm','142952duKIOS','version','path','toJSON','end','1356215YVmBHV','PENDING_ACTION_SENDING_DATA','type','enableReadOnlyMode','collaboration-missing-channelid','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','locale','_baseBufferDelay','_getAffectedRoot','_isInit','_ignoredOperations','permissions','change:range','_isAttached','newRange','_sendBufferedOperationsDelayId','lastOperationAcceptedAt','from','addOperation','_document','add','createRoot','real-time-collaboration','showWarning','_compressOperations','rootName','data','plugins','decompress','253gsulQh','code','removeFromReconnectionStack','CommentsOnly','setIdForTheLastOperation','_isConnected','getMany','connected','_setPendingAction','finally','30WbPwFA','model','_handleReconnectionError','currentDocumentSession','_connectService','realtimecollaborationclient-handleserverresponse','cs:removeUser','message','affectedSelectable','sessionCreatedAt','_hasSelectionChanged','_isDisconnection','start','wereChangesApplied','_handleSendingSelectionMarkers','getUser','409','requires','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_waitUntilSynced','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','InsertOperation','document:write','init','bind','1573296fiOdXS','parse','_disconnectionOperations','_handleReconnectionResponse','_isPendingUpdate','createPositionFromPath','realtimecollaborationclient-init-connection-failed','_sendBufferedOperationsDelayed','round','getConnectedSessions','cloud-services-internal-error:\x20Request\x20timeout.','getDocumentDetails','change:_isEditingAllowed','lastOperationId','metadata','rtc-offline','userId','realtimecollaborationclient-initservice-internal-error','407057fmvETY','isDocumentOperation','Permissions','listenTo','move','getIdOfTheLastOperation','addRoot','size','_pendingAction','reconnection:\x20flushed\x20session','CollaborativeEditingService','startsWith','history','selection','stopListening','connection','channelSessions','high','cloudServices.bundleVersion','_channelId','isReadOnly','1BqstUh','mySessionId','push','multi-root-editor-root-attributes-no-root','54cXvYJZ','remove','suppressErrorInCollaboration','_disconnectService','reconnect','directChange','root','2689389nBZjFA','_operationToId','_shouldSendUpdate','filter','_getOperationsFromInitData','disableReadOnlyMode','_handleServerResponse','_bufferRootLoad','stop','enqueueChange','destroy','_setUpDataInit','change:hasDomSelection','define','unregister','_decompressOperations','_isEditingAllowed','isUndoneOperation','ready','realtimecollaborationclient-initservice-incorrect-server-operation','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','change:_isPendingUpdate','insert','sendOperations','_knownOperations','_handleInitialConnectionData','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.','cloud-services-internal-error:\x20Not\x20connected.','cloudDocumentVersion','document','_currentBufferDelay','compress','sessionId','then','operationsReceived','createUserMarkerOperations','_shouldSendSelectionUpdate','RealTimeCollaborationClient','fromJSON','_operationIdentifier','309754cABNzJ','realtimecollaborationclient-init-document-already-initialized','getOperationAuthor','_applyOperationsSet','lastSyncVersion','keys','_sendBufferedOperations','isEnabled','targetPosition','fire','_loadRoot','wasUndone','view','Notification','applyOperation','has','attributes','_authorId','entries','_crash','$root','position','baseVersion','error','addToReconnectionStack','_lastServerVersion','404','marker','_service','batch','config','editing','_offset','rootsAttributes','_addKnownRoot','createdAt','_handleReceivedOperations','createRange','getRoot','lastDocumentSession','includes','_initSessionsHandling','7966632ywpgsU','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.','catch','collaboration.channelId','_bufferedOperations','isPremiumPlugin','apply','collaboration','createPositionAt','set','offset','markers','register','return','_saveOperationInBuffer','getOperations','_clearPendingAction','serverHistory','rtc-destroyed','slice','pluginName','string','loadRoot','__className','length','_fetchMissingUsers','_lastSyncedOperationId','differ','map','_hasSynchronizationProblem','forEach','_updateServerHistory','setPermissions','_isLoaded','affectsData','clone','reset','addRootAttribute','_connectAfterSessionHasBeenFlushed','off','_initThrowingOnDataSet','_compressor','realtimecollaborationclient-sendbufferedoperations','Synchronization\x20issue','state','roots','addUser','realtimecollaborationclient-init-non-existent-root','disconnected','disconnect','get','_handleExternalOperations','_knownRootNames','realtimecollaborationclient-init-session-connection-error','_refreshUserSelectionMarkers','editor','sessionAdd:'];_0x37f2=function(){return _0x3d3178;};return _0x37f2();}function Y(_0x574e89,_0x1378f3){const _0x21d204=_0x2e4276;for(const _0x593681 of _0x574e89)_0x593681[_0x21d204(0x16a)]=_0x1378f3++;}class Z{constructor(_0x26d0c9){const _0x58b1ea=_0x2e4276;this[_0x58b1ea(0x1ca)]=_0x26d0c9,this[_0x58b1ea(0x12d)]=new WeakMap();}[_0x2e4276(0x111)](_0xa82f76){const _0x40d3bb=_0x2e4276;let _0x274884=_0xa82f76[_0x40d3bb(0x196)];for(;_0x274884--;){const _0x71f88a=_0xa82f76[_0x274884];if(!this[_0x40d3bb(0x1ca)][_0x40d3bb(0x163)](_0x71f88a)){if(!this[_0x40d3bb(0x12d)][_0x40d3bb(0x163)](_0x71f88a)){const _0xb26c5e=_0x2cb2e3()[_0x40d3bb(0x191)](0x1,0x12);this[_0x40d3bb(0x12d)][_0x40d3bb(0x187)](_0x71f88a,_0xb26c5e);}return this[_0x40d3bb(0x12d)][_0x40d3bb(0x1b0)](_0x71f88a);}}}[_0x2e4276(0x1e1)](_0xfd4ec9,_0x199542){const _0x13140b=_0x2e4276;if(!_0x199542)return;let _0x30e229=_0xfd4ec9[_0x13140b(0x196)];for(;_0x30e229--;){const _0x27ee48=_0xfd4ec9[_0x30e229];this[_0x13140b(0x1ca)][_0x13140b(0x163)](_0x27ee48)||this[_0x13140b(0x12d)][_0x13140b(0x187)](_0x27ee48,_0x199542);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3aaf(_0x52a595,_0x1823ee){const _0x337188=_0x3371();return _0x3aaf=function(_0x3aafb8,_0x3efb74){_0x3aafb8=_0x3aafb8-0x177;let _0x4d1ea1=_0x337188[_0x3aafb8];return _0x4d1ea1;},_0x3aaf(_0x52a595,_0x1823ee);}const _0x359da7=_0x3aaf;(function(_0x805a93,_0x4f3ae8){const _0x42ffa3=_0x3aaf,_0x2194f6=_0x805a93();while(!![]){try{const _0x381d5b=parseInt(_0x42ffa3(0x18f))/0x1+-parseInt(_0x42ffa3(0x181))/0x2*(parseInt(_0x42ffa3(0x1a2))/0x3)+parseInt(_0x42ffa3(0x17e))/0x4*(-parseInt(_0x42ffa3(0x1b1))/0x5)+parseInt(_0x42ffa3(0x1aa))/0x6*(parseInt(_0x42ffa3(0x18c))/0x7)+-parseInt(_0x42ffa3(0x189))/0x8*(parseInt(_0x42ffa3(0x191))/0x9)+-parseInt(_0x42ffa3(0x1b3))/0xa*(parseInt(_0x42ffa3(0x1b6))/0xb)+parseInt(_0x42ffa3(0x185))/0xc;if(_0x381d5b===_0x4f3ae8)break;else _0x2194f6['push'](_0x2194f6['shift']());}catch(_0x163585){_0x2194f6['push'](_0x2194f6['shift']());}}}(_0x3371,0x1b257));import{ContextPlugin as _0x390206}from'ckeditor5/src/core.js';import{Collection as _0x401085,CKEditorError as _0x21a413}from'ckeditor5/src/utils.js';import _0x272cb7 from'./websocketgateway.js';import{Users as _0x2ba8d0}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x390206{static get[_0x359da7(0x19f)](){const _0x2c01a4=_0x359da7;return _0x2c01a4(0x182);}static get[_0x359da7(0x1a6)](){return!0x0;}static get[_0x359da7(0x199)](){return!0x0;}static get[_0x359da7(0x198)](){return[_0x272cb7,_0x2ba8d0];}constructor(_0x1e7dd5){const _0x1a98eb=_0x359da7;super(_0x1e7dd5),this[_0x1a98eb(0x19a)]=new Map(),this[_0x1a98eb(0x1b4)]=new Map(),this[_0x1a98eb(0x18e)]=new _0x401085(),this[_0x1a98eb(0x187)]=new Map(),this[_0x1a98eb(0x19c)]=0x0,this[_0x1a98eb(0x17f)]=this[_0x1a98eb(0x1a0)][_0x1a98eb(0x190)][_0x1a98eb(0x193)](_0x2ba8d0);}[_0x359da7(0x17b)](){const _0x3d6839=_0x359da7,_0x54513d=this[_0x3d6839(0x1a0)][_0x3d6839(0x190)][_0x3d6839(0x193)](_0x272cb7);this[_0x3d6839(0x18a)](_0x54513d,_0x3d6839(0x1b2),(_0x50b109,_0x4e3455,_0xf44658)=>{const _0xfe0ed6=_0x3d6839;if(_0xfe0ed6(0x18b)!==_0xf44658)this[_0xfe0ed6(0x19a)][_0xfe0ed6(0x1a8)](_0x15581e=>_0x15581e[_0xfe0ed6(0x1a7)]()),this[_0xfe0ed6(0x1b4)][_0xfe0ed6(0x1a8)](_0x26e074=>_0x26e074[_0xfe0ed6(0x1a7)]()),this[_0xfe0ed6(0x18e)][_0xfe0ed6(0x1a7)]();else{for(const [_0x1eb70f,_0x51eccd]of this[_0xfe0ed6(0x187)])for(const _0x2146ad of _0x51eccd)this[_0xfe0ed6(0x1ad)](_0x1eb70f,_0x2146ad);}}),this[_0x3d6839(0x197)](_0x54513d[_0x3d6839(0x1a3)]['me'],!0x0);}[_0x359da7(0x186)](_0x331675,_0x441042){const _0x5b0bdd=_0x359da7;if(this[_0x5b0bdd(0x187)][_0x5b0bdd(0x18d)](_0x331675))throw new _0x21a413(_0x5b0bdd(0x1af),null,{'channelId':_0x331675});this[_0x5b0bdd(0x187)][_0x5b0bdd(0x1a4)](_0x331675,_0x441042),this[_0x5b0bdd(0x19a)][_0x5b0bdd(0x1a4)](_0x331675,new _0x401085()),this[_0x5b0bdd(0x1b4)][_0x5b0bdd(0x1a4)](_0x331675,new _0x401085()),this[_0x5b0bdd(0x18a)](_0x441042,_0x5b0bdd(0x180),(_0x7d558e,_0x42f92f)=>this[_0x5b0bdd(0x1ad)](_0x331675,_0x42f92f)),this[_0x5b0bdd(0x18a)](_0x441042,_0x5b0bdd(0x1ac),(_0x164a16,_0x2d5045)=>this[_0x5b0bdd(0x1ab)](_0x331675,_0x2d5045));for(const _0x15c774 of _0x441042)this[_0x5b0bdd(0x1ad)](_0x331675,_0x15c774);}[_0x359da7(0x1a9)](_0x246b81){const _0x1ee8f0=_0x359da7;if(!this[_0x1ee8f0(0x187)][_0x1ee8f0(0x18d)](_0x246b81))throw new _0x21a413(_0x1ee8f0(0x1b0),null,{'channelId':_0x246b81});const _0x87518e=this[_0x1ee8f0(0x187)][_0x1ee8f0(0x193)](_0x246b81);this[_0x1ee8f0(0x1a1)](_0x87518e);for(const _0x5583cc of _0x87518e)_0x1ee8f0(0x18b)===this[_0x1ee8f0(0x1a0)][_0x1ee8f0(0x190)][_0x1ee8f0(0x193)](_0x272cb7)[_0x1ee8f0(0x17c)]&&this[_0x1ee8f0(0x1ab)](_0x246b81,_0x5583cc);this[_0x1ee8f0(0x187)][_0x1ee8f0(0x177)](_0x246b81),this[_0x1ee8f0(0x19a)][_0x1ee8f0(0x177)](_0x246b81),this[_0x1ee8f0(0x1b4)][_0x1ee8f0(0x177)](_0x246b81);}get[_0x359da7(0x19d)](){const _0x453d17=_0x359da7;return this[_0x453d17(0x1a0)][_0x453d17(0x190)][_0x453d17(0x193)](_0x272cb7)[_0x453d17(0x1a3)][_0x453d17(0x1a5)];}[_0x359da7(0x188)](_0x28ff5f){const _0x29fff2=_0x359da7;for(const _0x2065fc of this[_0x29fff2(0x19a)][_0x29fff2(0x192)]())for(const _0x41284c of _0x2065fc)if(_0x41284c['id']===_0x28ff5f)return _0x41284c[_0x29fff2(0x19b)];}[_0x359da7(0x1b5)](_0x394c5c,_0x3b5ef9){const _0x2fcb1d=_0x359da7,_0x5c5110=_0x3b5ef9?[this[_0x2fcb1d(0x19a)][_0x2fcb1d(0x193)](_0x3b5ef9)]:this[_0x2fcb1d(0x19a)][_0x2fcb1d(0x192)](),_0x28801e=new Set();for(const _0x5e809e of _0x5c5110)for(const _0x5c1ce3 of _0x5e809e)_0x5c1ce3[_0x2fcb1d(0x19b)]['id']===_0x394c5c['id']&&_0x28801e[_0x2fcb1d(0x180)](_0x5c1ce3['id']);return _0x28801e;}[_0x359da7(0x194)](_0x2ab7b3){const _0x18bf64=_0x359da7;for(const _0xf93300 of this[_0x18bf64(0x19a)][_0x18bf64(0x192)]())for(const _0x4e3fdb of _0xf93300)if(_0x4e3fdb[_0x18bf64(0x19b)]===_0x2ab7b3)return _0x4e3fdb[_0x18bf64(0x179)];}[_0x359da7(0x1ad)](_0x238e29,_0x43d56c){const _0x5117a1=_0x359da7;if(_0x5117a1(0x18b)!==this[_0x5117a1(0x1a0)][_0x5117a1(0x190)][_0x5117a1(0x193)](_0x272cb7)[_0x5117a1(0x17c)])return;const _0x1d172b=_0x43d56c[_0x5117a1(0x19b)],_0x1ffcff=this[_0x5117a1(0x17f)][_0x5117a1(0x17d)](_0x1d172b['id'])||this[_0x5117a1(0x197)](_0x1d172b),_0x3ef0f4=Object[_0x5117a1(0x183)]({},_0x43d56c,{'user':_0x1ffcff});this[_0x5117a1(0x19a)][_0x5117a1(0x193)](_0x238e29)[_0x5117a1(0x180)](_0x3ef0f4);const _0x32bc94=this[_0x5117a1(0x1b4)][_0x5117a1(0x193)](_0x238e29);_0x32bc94[_0x5117a1(0x18d)](_0x1ffcff['id'])||_0x32bc94[_0x5117a1(0x180)](_0x1ffcff),this[_0x5117a1(0x18e)][_0x5117a1(0x18d)](_0x1ffcff['id'])||this[_0x5117a1(0x18e)][_0x5117a1(0x180)](_0x1ffcff,_0x1ffcff[_0x5117a1(0x19e)]?0x0:void 0x0),this[_0x5117a1(0x196)](_0x5117a1(0x195)+_0x238e29,{'channelId':_0x238e29,'session':_0x3ef0f4});}[_0x359da7(0x1ab)](_0x338471,_0x2af467){const _0xbf1c11=_0x359da7;if(_0xbf1c11(0x18b)!==this[_0xbf1c11(0x1a0)][_0xbf1c11(0x190)][_0xbf1c11(0x193)](_0x272cb7)[_0xbf1c11(0x17c)])return;const _0x33760e=this[_0xbf1c11(0x1b4)][_0xbf1c11(0x193)](_0x338471),_0x43afd0=_0x2af467[_0xbf1c11(0x19b)];_0x43afd0['id']&&(this[_0xbf1c11(0x19a)][_0xbf1c11(0x193)](_0x338471)[_0xbf1c11(0x1ac)](_0x2af467['id']),_0x33760e[_0xbf1c11(0x18d)](_0x43afd0['id'])&&!this[_0xbf1c11(0x1b5)](_0x43afd0,_0x338471)[_0xbf1c11(0x1ae)]&&_0x33760e[_0xbf1c11(0x1ac)](_0x43afd0['id']),this[_0xbf1c11(0x18e)][_0xbf1c11(0x193)](_0x43afd0['id'])&&!this[_0xbf1c11(0x1b5)](_0x43afd0)[_0xbf1c11(0x1ae)]&&this[_0xbf1c11(0x18e)][_0xbf1c11(0x1ac)](_0x43afd0['id']));}[_0x359da7(0x197)](_0x2950bc,_0x1011cd){const _0x5db976=_0x359da7,_0x4f4634=this[_0x5db976(0x17f)][_0x5db976(0x17a)](_0x2950bc);return _0x1011cd&&this[_0x5db976(0x17f)][_0x5db976(0x178)](_0x2950bc['id']),_0x4f4634[_0x5db976(0x184)]=this[_0x5db976(0x19c)]++,_0x4f4634;}}function _0x3371(){const _0x14f566=['isOfficialPlugin','clear','forEach','unregister','43266CQQqWX','_handleSessionRemove','remove','_handleSessionAdd','size','sessions-register-already-registered','sessions-unregister-not-exist','155zTBVtz','change:state','100IyPtDI','channelConnectedUsers','getUserSessions','85437zIOnle','delete','defineMe','role','addUser','init','state','getUser','14460OkBjPr','_users','add','10PtTzAY','Sessions','assign','orderNumber','3189648VvqYhi','register','_registeredSessions','getUserBySessionId','48AWaEMa','listenTo','connected','14hjwwGq','has','allConnectedUsers','178528QOuEOV','plugins','7677yVBGVR','values','get','getUserRole','sessionAdd:','fire','_createUser','requires','isPremiumPlugin','channelSessions','user','_uniqueUsersCount','mySessionId','isMe','pluginName','context','stopListening','91626IzspYN','connection','set','sessionId'];_0x3371=function(){return _0x14f566;};return _0x3371();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4cb544=_0x1744;(function(_0x316f64,_0x411593){const _0x28f4dd=_0x1744,_0x4f1aa0=_0x316f64();while(!![]){try{const _0x11f4d7=parseInt(_0x28f4dd(0x109))/0x1*(-parseInt(_0x28f4dd(0xd9))/0x2)+-parseInt(_0x28f4dd(0x13a))/0x3*(parseInt(_0x28f4dd(0xf1))/0x4)+-parseInt(_0x28f4dd(0x113))/0x5+parseInt(_0x28f4dd(0xd1))/0x6*(-parseInt(_0x28f4dd(0x126))/0x7)+parseInt(_0x28f4dd(0xfd))/0x8+parseInt(_0x28f4dd(0xe1))/0x9*(-parseInt(_0x28f4dd(0xb9))/0xa)+-parseInt(_0x28f4dd(0xf2))/0xb*(-parseInt(_0x28f4dd(0xf7))/0xc);if(_0x11f4d7===_0x411593)break;else _0x4f1aa0['push'](_0x4f1aa0['shift']());}catch(_0x2dcbee){_0x4f1aa0['push'](_0x4f1aa0['shift']());}}}(_0x47a1,0x5338f));import{Plugin as _0x326810}from'ckeditor5/src/core.js';function _0x47a1(){const _0x4e803d=['removeClass','markerNameToElements','1160yHDOXQ','checkChild','getUserBySessionId','hasContent','getSelectionClass','start','user:range','remove','document','keydown','userPositionMarker','$graveyard','afterInit','get','addEventListener','Escape','conversion','split','nodeAfter','createRange','createUIElement','requires','color','isCollapsed','41958lJZeTi','removeMarker','updateMarker','getNearestSelectionRange','ck-user__selection','listenTo','for','_domEmitter','4AjlYjz','setCustomProperty','getCustomProperty','mySessionId','markerRange','mapper','UserMarkers','startsWith','29979nVjZhT','markerToElement','markers','markerToHighlight','update:user:range','contenteditable','delete','getStart','rootName','undo','innerHTML','view','parent','batch','highest','editor','325484HuAnDN','330bTjEpD','change','user:range:','size','clear','971352CpNQkb','user:position','selection','span','deletionPosition','model','617128JAttPX','has','toDomElement','type','editingDowncast','stopListening','enqueueChange','root','destroy','</span>','add','editing','305227VVlRMG','oldRange','data-session-id','detach','end','user:','isLimit','getContainedElement','isOfficialPlugin','mouseleave','2886080dDlJxf','commands','fromRange','marker','render','mouseenter','plugins','isObject','getPositions','_createdBatches','markerName','isSimilar','getAttribute','pluginName','toRange','reconvertMarker','getFirstRange','ck-user__marker\x20','init','21JYvAOT','hasDomSelection','<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>','addMarker','applyOperation','name','$text','isInline','orderNumber','newRange','tableCell','ck-user__marker_hovered','schema','element','createUserMarkerOperations','getMarkerClass','classList','set','getRange','change:range','21GsfNUb','isPremiumPlugin','user:position:'];_0x47a1=function(){return _0x4e803d;};return _0x47a1();}import{global as _0x425bfe,DomEmitterMixin as _0x22b59e}from'ckeditor5/src/utils.js';import _0x1e84e6 from'./sessions.js';import{LiveRange as _0x20cf46}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x1744(_0x56f1cc,_0x6a3ad){const _0x47a1bc=_0x47a1();return _0x1744=function(_0x174497,_0x15bb12){_0x174497=_0x174497-0xb9;let _0x1567a1=_0x47a1bc[_0x174497];return _0x1567a1;},_0x1744(_0x56f1cc,_0x6a3ad);}export default class H extends _0x326810{constructor(){const _0x54b77e=_0x1744;super(...arguments),this[_0x54b77e(0xd8)]=new(_0x22b59e())();}static get[_0x4cb544(0xce)](){return[_0x1e84e6];}static get[_0x4cb544(0x120)](){const _0x1bc0ef=_0x4cb544;return _0x1bc0ef(0xdf);}static get[_0x4cb544(0x111)](){return!0x0;}static get[_0x4cb544(0x13b)](){return!0x0;}[_0x4cb544(0x125)](){const _0x16bcf9=_0x4cb544,_0x599205=this[_0x16bcf9(0xf0)],_0x51b8cd=_0x599205[_0x16bcf9(0x119)][_0x16bcf9(0xc6)](_0x1e84e6);_0x599205[_0x16bcf9(0xc9)][_0x16bcf9(0xd7)](_0x16bcf9(0x101))[_0x16bcf9(0xe2)]({'model':_0x16bcf9(0xf8),'view':(_0x23c9c3,{writer:_0x1ec2cf})=>function(_0xc289f8,_0x5289e5,_0xd1fc68,_0x3355a4){const _0x45459d=_0x16bcf9,_0x20dcf4=_0xc289f8[_0x45459d(0x11d)][_0x45459d(0xca)](':')[0x2],_0xf453ac=_0xd1fc68[_0x45459d(0xbb)](_0x20dcf4);if(!_0xf453ac||_0x20dcf4===_0xd1fc68[_0x45459d(0xdc)])return;if(!_0x3355a4[_0x45459d(0xfc)][_0x45459d(0x132)][_0x45459d(0xba)](_0xc289f8[_0x45459d(0xdd)][_0x45459d(0xbe)],_0x45459d(0x12c)))return;const _0x558874={'class':_0x45459d(0x124)+_0xf453ac[_0x45459d(0xcf)][_0x45459d(0x135)](),'data-name':_0xf453ac[_0x45459d(0x12b)],'data-session-id':_0x20dcf4},_0x5afebc=_0x3355a4[_0x45459d(0xfc)][_0x45459d(0xe3)][_0x45459d(0xc6)](_0xc289f8[_0x45459d(0x11d)]),_0x75d639=_0x5afebc[_0x45459d(0xe8)](),_0x3c60ed=_0x75d639[_0x45459d(0xcb)],_0x3fdd6d=_0x3355a4[_0x45459d(0xfc)][_0x45459d(0x132)];if(_0x3c60ed&&_0x3fdd6d[_0x45459d(0x11a)](_0x3c60ed)&&_0x3fdd6d[_0x45459d(0x12d)](_0x3c60ed)&&!_0x3355a4[_0x45459d(0xfc)][_0x45459d(0xe3)][_0x45459d(0xc6)](_0x45459d(0xf4)+_0x20dcf4)[_0x45459d(0x138)]()[_0x45459d(0xd0)])return;const _0x3529e6=_0x75d639[_0x45459d(0xed)];return _0x3355a4[_0x45459d(0xfc)][_0x45459d(0x132)][_0x45459d(0x10f)](_0x3529e6)&&!_0x3355a4[_0x45459d(0xfc)][_0x45459d(0xbc)](_0x3529e6)&&(_0x558874[_0x45459d(0xe6)]=!0x1),function(_0x42441c,_0x26bfbc,_0x4cb9d7){const _0x57b93d=_0x45459d,_0x17baf8=_0x42441c[_0x57b93d(0xcd)](_0x57b93d(0xfa),_0x26bfbc);return _0x42441c[_0x57b93d(0xda)](_0x57b93d(0xc3),!0x0,_0x17baf8),_0x17baf8[_0x57b93d(0x117)]=function(_0x4f5e49){const _0x3b8601=_0x57b93d,_0x45684f=this[_0x3b8601(0xff)](_0x4f5e49);return _0x45684f[_0x3b8601(0xeb)]=_0x3b8601(0x128)+_0x4cb9d7[_0x3b8601(0x12b)]+_0x3b8601(0x106),_0x45684f[_0x3b8601(0xc7)](_0x3b8601(0x118),()=>{const _0x11d89f=_0x3b8601;_0x45684f[_0x11d89f(0x136)][_0x11d89f(0x107)](_0x11d89f(0x131));}),_0x45684f[_0x3b8601(0xc7)](_0x3b8601(0x112),()=>{const _0x9f0a3a=_0x3b8601;_0x45684f[_0x9f0a3a(0x136)][_0x9f0a3a(0xc0)](_0x9f0a3a(0x131));}),_0x45684f;},_0x17baf8[_0x57b93d(0x11e)]=function(_0x4b43f3){const _0x554e98=_0x57b93d;return!(!this[_0x554e98(0xdb)](_0x554e98(0xc3))||!_0x4b43f3[_0x554e98(0xdb)](_0x554e98(0xc3))||this[_0x554e98(0x11f)](_0x554e98(0x10b))!=_0x4b43f3[_0x554e98(0x11f)](_0x554e98(0x10b)));},_0x17baf8;}(_0x5289e5,_0x558874,_0xf453ac);}(_0x23c9c3,_0x1ec2cf,_0x51b8cd,_0x599205)}),_0x599205[_0x16bcf9(0xc9)][_0x16bcf9(0xd7)](_0x16bcf9(0x101))[_0x16bcf9(0xe4)]({'model':_0x16bcf9(0xbf),'view':_0x14c98f=>function(_0x4a7596,_0x1010b6){const _0x46315b=_0x16bcf9,_0x45c7ef=_0x4a7596[_0x46315b(0x11d)][_0x46315b(0xca)](':')[0x2];if(_0x45c7ef===_0x1010b6[_0x46315b(0xdc)])return null;const _0x48a443=_0x1010b6[_0x46315b(0xbb)](_0x45c7ef);if(!_0x48a443)return{'id':_0x45c7ef,'classes':[]};return{'id':_0x45c7ef,'classes':[_0x46315b(0xd5),_0x48a443[_0x46315b(0xcf)][_0x46315b(0xbd)]()],'attributes':{'data-session-id':_0x45c7ef},'priority':0x7d0+_0x48a443[_0x46315b(0x12e)]};}(_0x14c98f,_0x51b8cd)}),function(_0x33473b){const _0x6934f0=_0x16bcf9,_0xfac686=_0x33473b[_0x6934f0(0xfc)],_0x4490b2=new Map(),_0x4f174e=_0x33473b[_0x6934f0(0x119)][_0x6934f0(0xc6)](_0x1e84e6);_0xfac686[_0x6934f0(0xe3)]['on'](_0x6934f0(0xe5),(_0xdc64f2,_0x49ce4f,_0x1f2c90,_0x3811b4)=>{const _0x410c39=_0x6934f0;if(!_0x3811b4&&_0x4490b2[_0x410c39(0xc6)](_0x49ce4f[_0x410c39(0x12b)]))return _0x4490b2[_0x410c39(0xc6)](_0x49ce4f[_0x410c39(0x12b)])[_0x410c39(0x10c)](),void _0x4490b2[_0x410c39(0xe7)](_0x49ce4f[_0x410c39(0x12b)]);const _0x44b6a9=_0x49ce4f[_0x410c39(0x12b)][_0x410c39(0xca)](':')[0x2];if(_0x44b6a9===_0x4f174e[_0x410c39(0xdc)])return;const _0x127d8=_0x410c39(0x13c)+_0x44b6a9;_0xfac686[_0x410c39(0xe3)][_0x410c39(0xfe)](_0x127d8)&&_0x33473b[_0x410c39(0x108)][_0x410c39(0x122)](_0x127d8),_0x49ce4f['on'](_0x410c39(0x139),(_0x103528,_0x5aa2e0,_0x387e20)=>{const _0x444e11=_0x410c39;if(_0x444e11(0xc4)!=_0x5aa2e0[_0x444e11(0x104)][_0x444e11(0xe9)]&&_0x444e11(0xc4)==_0x49ce4f[_0x444e11(0x138)]()[_0x444e11(0x104)][_0x444e11(0xe9)]&&!_0x4490b2[_0x444e11(0xfe)](_0x49ce4f[_0x444e11(0x12b)])){const _0x5f0826=_0xfac686[_0x444e11(0x132)][_0x444e11(0xd4)](_0x387e20[_0x444e11(0xfb)]);if(_0x5f0826){const _0x2ed6ed=_0x20cf46[_0x444e11(0x115)](_0x5f0826);_0x4490b2[_0x444e11(0x137)](_0x49ce4f[_0x444e11(0x12b)],_0x2ed6ed),_0x2ed6ed['on'](_0x444e11(0x139),(_0x52fc85,_0x51e45f,_0x4794db)=>{const _0x2c769d=_0x444e11;if(_0x2c769d(0xc4)==_0x2ed6ed[_0x2c769d(0x104)][_0x2c769d(0xe9)]){const _0x5544e8=_0xfac686[_0x2c769d(0x132)][_0x2c769d(0xd4)](_0x4794db[_0x2c769d(0xfb)]);_0x5544e8?(_0x2ed6ed[_0x2c769d(0xbe)]=_0x5544e8[_0x2c769d(0xbe)],_0x2ed6ed[_0x2c769d(0x10d)]=_0x5544e8[_0x2c769d(0x10d)]):(_0x4490b2[_0x2c769d(0xe7)](_0x49ce4f[_0x2c769d(0x12b)]),_0x2ed6ed[_0x2c769d(0x10c)]());}});}}});}),_0xfac686[_0x6934f0(0xc1)]['on'](_0x6934f0(0xf3),()=>{const _0x504d00=_0x6934f0;_0x4490b2[_0x504d00(0xf5)]>0x0&&_0xfac686[_0x504d00(0x103)]({'isUndoable':!0x1},_0x5a64b9=>{const _0x2508ce=_0x504d00;for(const [_0x185efe,_0x3b26a5]of _0x4490b2)_0x2508ce(0xc4)==_0xfac686[_0x2508ce(0xe3)][_0x2508ce(0xc6)](_0x185efe)[_0x2508ce(0x138)]()[_0x2508ce(0x104)][_0x2508ce(0xe9)]&&(re(_0x185efe[_0x2508ce(0xca)](':')[0x2],_0x3b26a5[_0x2508ce(0x121)](),_0xfac686,_0x5a64b9),_0x3b26a5[_0x2508ce(0x10c)]());_0x4490b2[_0x2508ce(0xf6)]();});});}(_0x599205),this[_0x16bcf9(0xd8)][_0x16bcf9(0xd6)](_0x425bfe[_0x16bcf9(0xc1)],_0x16bcf9(0xc2),(_0x516d44,{key:_0x524c08})=>{const _0x2abd7e=_0x16bcf9;_0x2abd7e(0xc8)===_0x524c08&&function(_0x43a6a7){const _0x4a257d=_0x2abd7e;_0x43a6a7[_0x4a257d(0x108)][_0x4a257d(0xec)][_0x4a257d(0xf3)](_0x152902=>{const _0x42569e=_0x4a257d;for(const _0x22fcac of _0x43a6a7[_0x42569e(0xfc)][_0x42569e(0xe3)]){if(!_0x22fcac[_0x42569e(0x12b)][_0x42569e(0xe0)](_0x42569e(0xf8)))continue;const _0xeade6f=_0x43a6a7[_0x42569e(0x108)][_0x42569e(0xde)][_0x42569e(0x13e)](_0x22fcac[_0x42569e(0x12b)]);if(_0xeade6f){for(const _0x269141 of _0xeade6f)_0x152902[_0x42569e(0x13d)](_0x42569e(0x131),_0x269141);}}});}(_0x599205);},{'useCapture':!0x0});}[_0x4cb544(0xc5)](){const _0x34e6c4=_0x4cb544,_0x46b3cd=this[_0x34e6c4(0xf0)],_0x3707ce=_0x46b3cd[_0x34e6c4(0x114)][_0x34e6c4(0xc6)](_0x34e6c4(0xea));_0x3707ce&&_0x46b3cd[_0x34e6c4(0xfc)]['on'](_0x34e6c4(0x12a),(_0x455571,_0x38de05)=>{const _0x224170=_0x34e6c4,_0x1b1096=_0x38de05[0x0];if(_0x224170(0x116)!=_0x1b1096[_0x224170(0x100)]||!_0x1b1096[_0x224170(0x12b)][_0x224170(0xe0)](_0x224170(0x10e)))return;const _0x349534=_0x1b1096[_0x224170(0xee)];_0x3707ce[_0x224170(0x11c)][_0x224170(0xfe)](_0x349534)&&(_0x1b1096[_0x224170(0x12f)]=_0x1b1096[_0x224170(0x10a)]?_0x46b3cd[_0x224170(0xfc)][_0x224170(0xcc)](_0x1b1096[_0x224170(0x10a)][_0x224170(0xbe)],_0x1b1096[_0x224170(0x10a)][_0x224170(0x10d)]):null);},{'priority':_0x34e6c4(0xef)});}[_0x4cb544(0x105)](){const _0x4df4dc=_0x4cb544;return this[_0x4df4dc(0xd8)][_0x4df4dc(0x102)](),super[_0x4df4dc(0x105)]();}[_0x4cb544(0x134)](){const _0x4fb1a9=_0x4cb544,_0x2d4248=this[_0x4fb1a9(0xf0)],_0x4adfa1=_0x2d4248[_0x4fb1a9(0xfc)][_0x4fb1a9(0xc1)],_0x4af6d6=_0x2d4248[_0x4fb1a9(0x119)][_0x4fb1a9(0xc6)](_0x1e84e6);_0x2d4248[_0x4fb1a9(0xfc)][_0x4fb1a9(0x103)]({'isUndoable':!0x1},_0x2b62c8=>{const _0x2fe18d=_0x4fb1a9,_0x5e1c8a=_0x2fe18d(0xf4)+_0x4af6d6[_0x2fe18d(0xdc)],_0x57d281=_0x2fe18d(0x13c)+_0x4af6d6[_0x2fe18d(0xdc)],_0x146553=_0x2d4248[_0x2fe18d(0xfc)][_0x2fe18d(0xe3)][_0x2fe18d(0xfe)](_0x5e1c8a);_0x2d4248[_0x2fe18d(0x108)][_0x2fe18d(0xec)][_0x2fe18d(0x127)]?re(_0x4af6d6[_0x2fe18d(0xdc)],_0x4adfa1[_0x2fe18d(0xf9)][_0x2fe18d(0x123)](),_0x2d4248[_0x2fe18d(0xfc)],_0x2b62c8):_0x146553&&(_0x2b62c8[_0x2fe18d(0xd2)](_0x5e1c8a),_0x2b62c8[_0x2fe18d(0xd2)](_0x57d281));});}}function re(_0xab0da9,_0x216add,_0x37380f,_0x5b5fd7){const _0x11eb00=_0x4cb544,_0x4ca7f3=_0x11eb00(0xf4)+_0xab0da9,_0x25e430=_0x11eb00(0x13c)+_0xab0da9,_0x31ffea=_0x216add[_0x11eb00(0x110)]();let _0x4e60d8=_0x216add[_0x11eb00(0xbe)];_0x31ffea&&_0x31ffea['is'](_0x11eb00(0x133),_0x11eb00(0x130))&&(_0x4e60d8=function(_0x41ee52,_0x37915f){const _0x32a82c=_0x11eb00;for(const _0x491e07 of _0x41ee52[_0x32a82c(0x11b)]())if(_0x37915f[_0x32a82c(0x132)][_0x32a82c(0xba)](_0x491e07,_0x32a82c(0x12c)))return _0x491e07;}(_0x216add,_0x37380f),_0x216add=_0x5b5fd7[_0x11eb00(0xcc)](_0x4e60d8));const _0x2386d7=_0x5b5fd7[_0x11eb00(0xcc)](_0x4e60d8);_0x37380f[_0x11eb00(0xe3)][_0x11eb00(0xfe)](_0x4ca7f3)?(_0x5b5fd7[_0x11eb00(0xd3)](_0x4ca7f3,{'range':_0x216add}),_0x5b5fd7[_0x11eb00(0xd3)](_0x25e430,{'range':_0x2386d7})):(_0x5b5fd7[_0x11eb00(0x129)](_0x4ca7f3,{'range':_0x216add,'usingOperation':!0x0}),_0x5b5fd7[_0x11eb00(0x129)](_0x25e430,{'range':_0x2386d7,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x221b86=_0x3565;(function(_0x4cf2eb,_0x3f9748){const _0x27d375=_0x3565,_0x275cf4=_0x4cf2eb();while(!![]){try{const _0x4efb37=parseInt(_0x27d375(0x165))/0x1+-parseInt(_0x27d375(0x117))/0x2+-parseInt(_0x27d375(0x119))/0x3*(parseInt(_0x27d375(0x158))/0x4)+parseInt(_0x27d375(0x14c))/0x5+-parseInt(_0x27d375(0x12e))/0x6+parseInt(_0x27d375(0x17a))/0x7*(-parseInt(_0x27d375(0x17b))/0x8)+parseInt(_0x27d375(0x15e))/0x9*(parseInt(_0x27d375(0x162))/0xa);if(_0x4efb37===_0x3f9748)break;else _0x275cf4['push'](_0x275cf4['shift']());}catch(_0x51d4fb){_0x275cf4['push'](_0x275cf4['shift']());}}}(_0x3c3a,0x3cea2));import{Plugin as _0x261981}from'ckeditor5/src/core.js';import{global as _0xf18eca,DomEmitterMixin as _0x2ad345}from'ckeditor5/src/utils.js';function _0x3c3a(){const _0x474e39=['user:range:','contenteditable','getSelectionClass','createUIElement','orderNumber','getRange','editingDowncast','oldRange','removeClass','for','init','isOfficialPlugin','checkChild','605658yuUaiA','isObject','3qPorha','root','mapper','name','innerHTML','clear','getStart','markers','markerRange','span','mouseenter','isSimilar','user:range','change:range','conversion','highest','ck-user__selection','UserMarkers','deletionPosition','_domEmitter','start','2917188JlrOax','toRange','startsWith','plugins','pluginName','has','update:user:range','getAttribute','fromRange','hasContent','data-session-id','tableCell','classList','marker','selection','destroy','enqueueChange','Escape','$graveyard','updateMarker','ck-user__marker\x20','getCustomProperty','<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>','createRange','requires','createUserMarkerOperations','element','end','isInline','$text','1437385yzDWor','split','detach','type','commands','delete','model','user:position:','ck-user__marker_hovered','view','applyOperation','stopListening','1297348SHzVVW','remove','getFirstRange','set','_createdBatches','setCustomProperty','13411971mwhBZb','user:position','mouseleave','reconvertMarker','10wdfTTu','user:','listenTo','1290Dbbfoz','nodeAfter','getPositions','rootName','userPositionMarker','isPremiumPlugin','getContainedElement','afterInit','newRange','render','schema','markerNameToElements','markerToHighlight','get','hasDomSelection','mySessionId','parent','color','getUserBySessionId','keydown','change','2912812ZYYqVT','8hwBHmc','isCollapsed','markerName','markerToElement','addMarker','undo','toDomElement','editing','editor','add','addEventListener','document','size','</span>','removeMarker','isLimit','getMarkerClass','batch','getNearestSelectionRange'];_0x3c3a=function(){return _0x474e39;};return _0x3c3a();}import _0x4bfe1b from'./sessions.js';import{LiveRange as _0x3951ff}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class G extends _0x261981{constructor(){const _0x1c0aea=_0x3565;super(...arguments),this[_0x1c0aea(0x12c)]=new(_0x2ad345())();}static get[_0x221b86(0x146)](){return[_0x4bfe1b];}static get[_0x221b86(0x132)](){const _0x45e464=_0x221b86;return _0x45e464(0x12a);}static get[_0x221b86(0x115)](){return!0x0;}static get[_0x221b86(0x16a)](){return!0x0;}[_0x221b86(0x114)](){const _0x2f945a=_0x221b86,_0x520de5=this[_0x2f945a(0x183)],_0x37c1bf=_0x520de5[_0x2f945a(0x131)][_0x2f945a(0x172)](_0x4bfe1b);_0x520de5[_0x2f945a(0x127)][_0x2f945a(0x113)](_0x2f945a(0x110))[_0x2f945a(0x17e)]({'model':_0x2f945a(0x15f),'view':(_0xe59330,{writer:_0x4fd9d8})=>function(_0x2bb63f,_0x5b90ea,_0xaeabff,_0x47fcc2){const _0x42b5d9=_0x2f945a,_0x1e8600=_0x2bb63f[_0x42b5d9(0x17d)][_0x42b5d9(0x14d)](':')[0x2],_0x2aae9a=_0xaeabff[_0x42b5d9(0x177)](_0x1e8600);if(!_0x2aae9a||_0x1e8600===_0xaeabff[_0x42b5d9(0x174)])return;if(!_0x47fcc2[_0x42b5d9(0x152)][_0x42b5d9(0x16f)][_0x42b5d9(0x116)](_0x2bb63f[_0x42b5d9(0x121)][_0x42b5d9(0x12d)],_0x42b5d9(0x14b)))return;const _0x4eb649={'class':_0x42b5d9(0x142)+_0x2aae9a[_0x42b5d9(0x176)][_0x42b5d9(0x18b)](),'data-name':_0x2aae9a[_0x42b5d9(0x11c)],'data-session-id':_0x1e8600},_0x4efce3=_0x47fcc2[_0x42b5d9(0x152)][_0x42b5d9(0x120)][_0x42b5d9(0x172)](_0x2bb63f[_0x42b5d9(0x17d)]),_0x5a00bf=_0x4efce3[_0x42b5d9(0x11f)](),_0x1e6118=_0x5a00bf[_0x42b5d9(0x166)],_0xd48367=_0x47fcc2[_0x42b5d9(0x152)][_0x42b5d9(0x16f)];if(_0x1e6118&&_0xd48367[_0x42b5d9(0x118)](_0x1e6118)&&_0xd48367[_0x42b5d9(0x14a)](_0x1e6118)&&!_0x47fcc2[_0x42b5d9(0x152)][_0x42b5d9(0x120)][_0x42b5d9(0x172)](_0x42b5d9(0x18e)+_0x1e8600)[_0x42b5d9(0x10f)]()[_0x42b5d9(0x17c)])return;const _0x2fe794=_0x5a00bf[_0x42b5d9(0x175)];return _0x47fcc2[_0x42b5d9(0x152)][_0x42b5d9(0x16f)][_0x42b5d9(0x18a)](_0x2fe794)&&!_0x47fcc2[_0x42b5d9(0x152)][_0x42b5d9(0x137)](_0x2fe794)&&(_0x4eb649[_0x42b5d9(0x18f)]=!0x1),function(_0x5b63c0,_0x2ee8f9,_0x3197f){const _0x3533ff=_0x42b5d9,_0x55cc4f=_0x5b63c0[_0x3533ff(0x10d)](_0x3533ff(0x122),_0x2ee8f9);return _0x5b63c0[_0x3533ff(0x15d)](_0x3533ff(0x169),!0x0,_0x55cc4f),_0x55cc4f[_0x3533ff(0x16e)]=function(_0x229381){const _0x50e59d=_0x3533ff,_0x55228d=this[_0x50e59d(0x181)](_0x229381);return _0x55228d[_0x50e59d(0x11d)]=_0x50e59d(0x144)+_0x3197f[_0x50e59d(0x11c)]+_0x50e59d(0x188),_0x55228d[_0x50e59d(0x185)](_0x50e59d(0x123),()=>{const _0x45a25b=_0x50e59d;_0x55228d[_0x45a25b(0x13a)][_0x45a25b(0x184)](_0x45a25b(0x154));}),_0x55228d[_0x50e59d(0x185)](_0x50e59d(0x160),()=>{const _0x4ba697=_0x50e59d;_0x55228d[_0x4ba697(0x13a)][_0x4ba697(0x159)](_0x4ba697(0x154));}),_0x55228d;},_0x55cc4f[_0x3533ff(0x124)]=function(_0x127d46){const _0x184c9c=_0x3533ff;return!(!this[_0x184c9c(0x143)](_0x184c9c(0x169))||!_0x127d46[_0x184c9c(0x143)](_0x184c9c(0x169))||this[_0x184c9c(0x135)](_0x184c9c(0x138))!=_0x127d46[_0x184c9c(0x135)](_0x184c9c(0x138)));},_0x55cc4f;}(_0x5b90ea,_0x4eb649,_0x2aae9a);}(_0xe59330,_0x4fd9d8,_0x37c1bf,_0x520de5)}),_0x520de5[_0x2f945a(0x127)][_0x2f945a(0x113)](_0x2f945a(0x110))[_0x2f945a(0x171)]({'model':_0x2f945a(0x125),'view':_0x5a8540=>function(_0xe055e1,_0x326b8d){const _0x10ab2c=_0x2f945a,_0xb3b170=_0xe055e1[_0x10ab2c(0x17d)][_0x10ab2c(0x14d)](':')[0x2];if(_0xb3b170===_0x326b8d[_0x10ab2c(0x174)])return null;const _0x2fb75d=_0x326b8d[_0x10ab2c(0x177)](_0xb3b170);if(!_0x2fb75d)return{'id':_0xb3b170,'classes':[]};return{'id':_0xb3b170,'classes':[_0x10ab2c(0x129),_0x2fb75d[_0x10ab2c(0x176)][_0x10ab2c(0x190)]()],'attributes':{'data-session-id':_0xb3b170},'priority':0x7d0+_0x2fb75d[_0x10ab2c(0x10e)]};}(_0x5a8540,_0x37c1bf)}),function(_0x5b85d9){const _0x22501e=_0x2f945a,_0x500643=_0x5b85d9[_0x22501e(0x152)],_0x12ffbf=new Map(),_0x1fe18e=_0x5b85d9[_0x22501e(0x131)][_0x22501e(0x172)](_0x4bfe1b);_0x500643[_0x22501e(0x120)]['on'](_0x22501e(0x134),(_0x4599cb,_0x1773d1,_0x3698d7,_0x4e27d4)=>{const _0x35f624=_0x22501e;if(!_0x4e27d4&&_0x12ffbf[_0x35f624(0x172)](_0x1773d1[_0x35f624(0x11c)]))return _0x12ffbf[_0x35f624(0x172)](_0x1773d1[_0x35f624(0x11c)])[_0x35f624(0x14e)](),void _0x12ffbf[_0x35f624(0x151)](_0x1773d1[_0x35f624(0x11c)]);const _0x7b01f6=_0x1773d1[_0x35f624(0x11c)][_0x35f624(0x14d)](':')[0x2];if(_0x7b01f6===_0x1fe18e[_0x35f624(0x174)])return;const _0xcf3570=_0x35f624(0x153)+_0x7b01f6;_0x500643[_0x35f624(0x120)][_0x35f624(0x133)](_0xcf3570)&&_0x5b85d9[_0x35f624(0x182)][_0x35f624(0x161)](_0xcf3570),_0x1773d1['on'](_0x35f624(0x126),(_0xf376a2,_0x3847f1,_0x59c0ca)=>{const _0x235fa7=_0x35f624;if(_0x235fa7(0x140)!=_0x3847f1[_0x235fa7(0x11a)][_0x235fa7(0x168)]&&_0x235fa7(0x140)==_0x1773d1[_0x235fa7(0x10f)]()[_0x235fa7(0x11a)][_0x235fa7(0x168)]&&!_0x12ffbf[_0x235fa7(0x133)](_0x1773d1[_0x235fa7(0x11c)])){const _0x8ed0af=_0x500643[_0x235fa7(0x16f)][_0x235fa7(0x18d)](_0x59c0ca[_0x235fa7(0x12b)]);if(_0x8ed0af){const _0x1a9540=_0x3951ff[_0x235fa7(0x136)](_0x8ed0af);_0x12ffbf[_0x235fa7(0x15b)](_0x1773d1[_0x235fa7(0x11c)],_0x1a9540),_0x1a9540['on'](_0x235fa7(0x126),(_0x5449e1,_0x5dcbc5,_0x50fe00)=>{const _0x19a235=_0x235fa7;if(_0x19a235(0x140)==_0x1a9540[_0x19a235(0x11a)][_0x19a235(0x168)]){const _0x4b4751=_0x500643[_0x19a235(0x16f)][_0x19a235(0x18d)](_0x50fe00[_0x19a235(0x12b)]);_0x4b4751?(_0x1a9540[_0x19a235(0x12d)]=_0x4b4751[_0x19a235(0x12d)],_0x1a9540[_0x19a235(0x149)]=_0x4b4751[_0x19a235(0x149)]):(_0x12ffbf[_0x19a235(0x151)](_0x1773d1[_0x19a235(0x11c)]),_0x1a9540[_0x19a235(0x14e)]());}});}}});}),_0x500643[_0x22501e(0x186)]['on'](_0x22501e(0x179),()=>{const _0x545fe9=_0x22501e;_0x12ffbf[_0x545fe9(0x187)]>0x0&&_0x500643[_0x545fe9(0x13e)]({'isUndoable':!0x1},_0x461980=>{const _0x19318d=_0x545fe9;for(const [_0x434d11,_0x4a62d6]of _0x12ffbf)_0x19318d(0x140)==_0x500643[_0x19318d(0x120)][_0x19318d(0x172)](_0x434d11)[_0x19318d(0x10f)]()[_0x19318d(0x11a)][_0x19318d(0x168)]&&(te(_0x434d11[_0x19318d(0x14d)](':')[0x2],_0x4a62d6[_0x19318d(0x12f)](),_0x500643,_0x461980),_0x4a62d6[_0x19318d(0x14e)]());_0x12ffbf[_0x19318d(0x11e)]();});});}(_0x520de5),this[_0x2f945a(0x12c)][_0x2f945a(0x164)](_0xf18eca[_0x2f945a(0x186)],_0x2f945a(0x178),(_0x2a6c27,{key:_0x3045ea})=>{const _0x87651a=_0x2f945a;_0x87651a(0x13f)===_0x3045ea&&function(_0xe0faba){const _0x33f24e=_0x87651a;_0xe0faba[_0x33f24e(0x182)][_0x33f24e(0x155)][_0x33f24e(0x179)](_0x33fc5e=>{const _0x272870=_0x33f24e;for(const _0x49575a of _0xe0faba[_0x272870(0x152)][_0x272870(0x120)]){if(!_0x49575a[_0x272870(0x11c)][_0x272870(0x130)](_0x272870(0x15f)))continue;const _0x389e56=_0xe0faba[_0x272870(0x182)][_0x272870(0x11b)][_0x272870(0x170)](_0x49575a[_0x272870(0x11c)]);if(_0x389e56){for(const _0x38a811 of _0x389e56)_0x33fc5e[_0x272870(0x112)](_0x272870(0x154),_0x38a811);}}});}(_0x520de5);},{'useCapture':!0x0});}[_0x221b86(0x16c)](){const _0x4eb001=_0x221b86,_0x2c51ca=this[_0x4eb001(0x183)],_0x3d5ea2=_0x2c51ca[_0x4eb001(0x150)][_0x4eb001(0x172)](_0x4eb001(0x180));_0x3d5ea2&&_0x2c51ca[_0x4eb001(0x152)]['on'](_0x4eb001(0x156),(_0x529e0f,_0xc48b63)=>{const _0x32d526=_0x4eb001,_0x5922b7=_0xc48b63[0x0];if(_0x32d526(0x13b)!=_0x5922b7[_0x32d526(0x14f)]||!_0x5922b7[_0x32d526(0x11c)][_0x32d526(0x130)](_0x32d526(0x163)))return;const _0x1615d2=_0x5922b7[_0x32d526(0x18c)];_0x3d5ea2[_0x32d526(0x15c)][_0x32d526(0x133)](_0x1615d2)&&(_0x5922b7[_0x32d526(0x16d)]=_0x5922b7[_0x32d526(0x111)]?_0x2c51ca[_0x32d526(0x152)][_0x32d526(0x145)](_0x5922b7[_0x32d526(0x111)][_0x32d526(0x12d)],_0x5922b7[_0x32d526(0x111)][_0x32d526(0x149)]):null);},{'priority':_0x4eb001(0x128)});}[_0x221b86(0x13d)](){const _0x4657e9=_0x221b86;return this[_0x4657e9(0x12c)][_0x4657e9(0x157)](),super[_0x4657e9(0x13d)]();}[_0x221b86(0x147)](){const _0x51cff0=_0x221b86,_0x3667d5=this[_0x51cff0(0x183)],_0x4d3cdb=_0x3667d5[_0x51cff0(0x152)][_0x51cff0(0x186)],_0x193a5c=_0x3667d5[_0x51cff0(0x131)][_0x51cff0(0x172)](_0x4bfe1b);_0x3667d5[_0x51cff0(0x152)][_0x51cff0(0x13e)]({'isUndoable':!0x1},_0xf8fcce=>{const _0x492ea2=_0x51cff0,_0x2a6e37=_0x492ea2(0x18e)+_0x193a5c[_0x492ea2(0x174)],_0x44355b=_0x492ea2(0x153)+_0x193a5c[_0x492ea2(0x174)],_0x27fd2b=_0x3667d5[_0x492ea2(0x152)][_0x492ea2(0x120)][_0x492ea2(0x133)](_0x2a6e37);_0x3667d5[_0x492ea2(0x182)][_0x492ea2(0x155)][_0x492ea2(0x173)]?te(_0x193a5c[_0x492ea2(0x174)],_0x4d3cdb[_0x492ea2(0x13c)][_0x492ea2(0x15a)](),_0x3667d5[_0x492ea2(0x152)],_0xf8fcce):_0x27fd2b&&(_0xf8fcce[_0x492ea2(0x189)](_0x2a6e37),_0xf8fcce[_0x492ea2(0x189)](_0x44355b));});}}function _0x3565(_0x1557d7,_0x25afae){const _0x3c3a37=_0x3c3a();return _0x3565=function(_0x3565b7,_0x2cc282){_0x3565b7=_0x3565b7-0x10d;let _0x10c35e=_0x3c3a37[_0x3565b7];return _0x10c35e;},_0x3565(_0x1557d7,_0x25afae);}function te(_0x42508d,_0x11e810,_0x1817b6,_0x3ae314){const _0x4d9f66=_0x221b86,_0x475c8a=_0x4d9f66(0x18e)+_0x42508d,_0x4dbd43=_0x4d9f66(0x153)+_0x42508d,_0x18aaf4=_0x11e810[_0x4d9f66(0x16b)]();let _0x5129ca=_0x11e810[_0x4d9f66(0x12d)];_0x18aaf4&&_0x18aaf4['is'](_0x4d9f66(0x148),_0x4d9f66(0x139))&&(_0x5129ca=function(_0x593120,_0x333517){const _0x116866=_0x4d9f66;for(const _0x457155 of _0x593120[_0x116866(0x167)]())if(_0x333517[_0x116866(0x16f)][_0x116866(0x116)](_0x457155,_0x116866(0x14b)))return _0x457155;}(_0x11e810,_0x1817b6),_0x11e810=_0x3ae314[_0x4d9f66(0x145)](_0x5129ca));const _0x4b71b5=_0x3ae314[_0x4d9f66(0x145)](_0x5129ca);_0x1817b6[_0x4d9f66(0x120)][_0x4d9f66(0x133)](_0x475c8a)?(_0x3ae314[_0x4d9f66(0x141)](_0x475c8a,{'range':_0x11e810}),_0x3ae314[_0x4d9f66(0x141)](_0x4dbd43,{'range':_0x4b71b5})):(_0x3ae314[_0x4d9f66(0x17f)](_0x475c8a,{'range':_0x11e810,'usingOperation':!0x0}),_0x3ae314[_0x4d9f66(0x17f)](_0x4dbd43,{'range':_0x4b71b5,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x510d48=_0x483f;(function(_0x372e0f,_0x278052){const _0x294622=_0x483f,_0x3c9ec3=_0x372e0f();while(!![]){try{const _0x4b8cad=-parseInt(_0x294622(0x18b))/0x1*(-parseInt(_0x294622(0x1b1))/0x2)+-parseInt(_0x294622(0x1c1))/0x3*(parseInt(_0x294622(0x1cd))/0x4)+parseInt(_0x294622(0x189))/0x5*(-parseInt(_0x294622(0x1a3))/0x6)+parseInt(_0x294622(0x1c2))/0x7*(-parseInt(_0x294622(0x1bc))/0x8)+-parseInt(_0x294622(0x1a7))/0x9*(-parseInt(_0x294622(0x1ac))/0xa)+parseInt(_0x294622(0x1c8))/0xb+parseInt(_0x294622(0x198))/0xc;if(_0x4b8cad===_0x278052)break;else _0x3c9ec3['push'](_0x3c9ec3['shift']());}catch(_0x9ed240){_0x3c9ec3['push'](_0x3c9ec3['shift']());}}}(_0x11a5,0x32142));import{ContextPlugin as _0x29e0b0}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x142608,CKEditorError as _0x3cfe26}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4eb2fe,WEB_SOCKET_GATEWAY_STATES as _0x5e4496}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x11a5(){const _0x364597=['catch','6LZEnnc','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.','connect','constructor','1024371azTjNY','delete','change:me','context','isInReconnectionStack','10GuyYeL','websocketgateway-missing-websocket-url','requires','cloudservices-init','stopListening','55134oSgnpG','websocketgateway-invalid-plugin-interface','then','real-time-collaboration','initialReconnectionInterval','showWarning','addToReconnectionStack','init','add','destroy','isPremiumPlugin','36584dReXjK','WebSocketGateway','plugins','function','cloudServices.requestTimeout','15SSyEQB','553EUpASM','bind','disconnect','CONNECTING','removeFromReconnectionStack','cloudServices.connectionTimeout','4228686GKOJtL','_isBrowserOffline','offline','from','pluginName','74072EvFVDd','webSocketUrl','DISCONNECTED','_domEmitter','online','limitExceeded','isOfficialPlugin','CONNECTED','_reconnect','518255QaveZn','connection','6ALtjgX','reconnect','error','connected','get','create','cloudservices-reconnection-error','listenTo','config','token','_reconnectionStack','CloudServices','websocketgateway-missing-token','1187796oHAZBb','all','set','state','websocketgateway-plugin-already-registered','_shouldPluginsReconnect','has','code','Connected\x20users\x20limit\x20exceeded','define'];_0x11a5=function(){return _0x364597;};return _0x11a5();}import{Notification as _0x50f63c}from'ckeditor5/src/ui.js';class c extends _0x29e0b0{static get[_0x510d48(0x1ae)](){const _0x477b0f=_0x510d48;return[_0x477b0f(0x196),_0x50f63c];}static get[_0x510d48(0x1cc)](){const _0x28b4f2=_0x510d48;return _0x28b4f2(0x1bd);}static get[_0x510d48(0x1d3)](){return!0x0;}static get[_0x510d48(0x1bb)](){return!0x0;}constructor(_0x149da5){const _0x1dd709=_0x510d48;super(_0x149da5),this[_0x1dd709(0x19a)](_0x1dd709(0x19b),_0x5e4496[_0x1dd709(0x1d4)]),this[_0x1dd709(0x19a)](_0x1dd709(0x1c9),!0x1),this[_0x1dd709(0x195)]=new Set(),this[_0x1dd709(0x19d)]=!0x1,this[_0x1dd709(0x1d0)]=Object[_0x1dd709(0x190)](_0x142608);}[_0x510d48(0x1b8)](){const _0x531643=_0x510d48,_0x26d501=this[_0x531643(0x1aa)],_0x2b44a3=_0x26d501[_0x531643(0x1be)][_0x531643(0x18f)](_0x531643(0x196)),_0x3d6bf2=_0x26d501[_0x531643(0x1be)][_0x531643(0x18f)](_0x50f63c);if(!_0x2b44a3[_0x531643(0x194)])throw new _0x3cfe26(_0x531643(0x197),this);if(!_0x2b44a3[_0x531643(0x1ce)])throw new _0x3cfe26(_0x531643(0x1ad),this);return this[_0x531643(0x1d0)][_0x531643(0x192)](window,_0x531643(0x1ca),()=>this[_0x531643(0x1c9)]=!0x0),this[_0x531643(0x1d0)][_0x531643(0x192)](window,_0x531643(0x1d1),()=>this[_0x531643(0x1c9)]=!0x1),this[_0x531643(0x1aa)][_0x531643(0x193)][_0x531643(0x1a1)](_0x531643(0x1c7),0xa),this[_0x531643(0x1aa)][_0x531643(0x193)][_0x531643(0x1a1)](_0x531643(0x1c0),0x14),c[_0x531643(0x1bd)][_0x531643(0x1a5)](_0x2b44a3[_0x531643(0x194)],_0x2b44a3[_0x531643(0x1ce)],{'timeout':0x3e8*this[_0x531643(0x1aa)][_0x531643(0x193)][_0x531643(0x18f)](_0x531643(0x1c7)),'requestTimeout':0x3e8*this[_0x531643(0x1aa)][_0x531643(0x193)][_0x531643(0x18f)](_0x531643(0x1c0))})[_0x531643(0x1b3)](_0xb0c1da=>{const _0x21def9=_0x531643;if(this[_0x21def9(0x18a)]=_0xb0c1da,this[_0x21def9(0x1c3)](_0x21def9(0x19b))['to'](_0xb0c1da,_0x21def9(0x19b),this,_0x21def9(0x1c9),(_0x519da5,_0x3637fc)=>(_0x21def9(0x18e)!==_0x519da5&&(this[_0x21def9(0x19d)]=!0x0),_0x3637fc||_0x519da5!==_0x5e4496[_0x21def9(0x1d4)]?_0x5e4496[_0x21def9(0x1cf)]:this[_0x21def9(0x19b)]==_0x5e4496[_0x21def9(0x1cf)]&&this[_0x21def9(0x19d)]?(this[_0x21def9(0x19d)]=!0x1,this[_0x21def9(0x188)](),_0x5e4496[_0x21def9(0x1c5)]):_0x5e4496[_0x21def9(0x1d4)])),this[_0x21def9(0x18a)]['on'](_0x21def9(0x18d),(_0x53e5ea,_0x1fecca)=>{const _0x2108c6=_0x21def9;if(_0x2108c6(0x1d2)!==_0x1fecca[_0x2108c6(0x19f)])throw console[_0x2108c6(0x18d)](_0x1fecca),new _0x3cfe26(_0x2108c6(0x1af),null,{'originalError':_0x1fecca});_0x3d6bf2[_0x2108c6(0x1b6)](_0x2108c6(0x1a4),{'title':_0x2108c6(0x1a0),'namespace':_0x2108c6(0x1b4)});}),!_0xb0c1da['me'])return new Promise(_0x5d5d3c=>_0xb0c1da['on'](_0x21def9(0x1a9),_0x5d5d3c));})[_0x531643(0x1a2)](_0xe4a63=>{const _0x5114f2=_0x531643;throw console[_0x5114f2(0x18d)](_0xe4a63),new _0x3cfe26(_0x5114f2(0x1af),null,{'originalError':_0xe4a63});});}[_0x510d48(0x1b7)](_0x395c6e){const _0x4c2841=_0x510d48;if(_0x4c2841(0x1bf)!=typeof _0x395c6e[_0x4c2841(0x18c)])throw new _0x3cfe26(_0x4c2841(0x1b2),this);if(this[_0x4c2841(0x1ab)](_0x395c6e))throw new _0x3cfe26(_0x4c2841(0x19c),this,{'name':_0x395c6e[_0x4c2841(0x1a6)][_0x4c2841(0x1cc)]});this[_0x4c2841(0x195)][_0x4c2841(0x1b9)](_0x395c6e);}[_0x510d48(0x1c6)](_0x1c308b){const _0x1f752d=_0x510d48;this[_0x1f752d(0x195)][_0x1f752d(0x1a8)](_0x1c308b);}[_0x510d48(0x1ab)](_0x57867e){const _0x4eb4b4=_0x510d48;return this[_0x4eb4b4(0x195)][_0x4eb4b4(0x19e)](_0x57867e);}[_0x510d48(0x188)](){const _0x54d7fb=_0x510d48;return this[_0x54d7fb(0x18a)][_0x54d7fb(0x18c)]()[_0x54d7fb(0x1b3)](()=>Promise[_0x54d7fb(0x199)](Array[_0x54d7fb(0x1cb)](this[_0x54d7fb(0x195)],_0x1daecb=>_0x1daecb[_0x54d7fb(0x18c)]())))[_0x54d7fb(0x1b3)](()=>this[_0x54d7fb(0x19b)]=_0x5e4496[_0x54d7fb(0x1d4)])[_0x54d7fb(0x1a2)](_0x26f5ed=>{const _0x427379=_0x54d7fb;throw console[_0x427379(0x18d)](_0x26f5ed),new _0x3cfe26(_0x427379(0x191),this[_0x427379(0x1aa)]);});}[_0x510d48(0x1ba)](){const _0x187b6c=_0x510d48;this[_0x187b6c(0x18a)]&&this[_0x187b6c(0x18a)][_0x187b6c(0x1c4)](),this[_0x187b6c(0x19b)]=_0x5e4496[_0x187b6c(0x1cf)],this[_0x187b6c(0x1d0)][_0x187b6c(0x1b0)](),super[_0x187b6c(0x1ba)]();}}function _0x483f(_0x33708a,_0x228308){const _0x11a576=_0x11a5();return _0x483f=function(_0x483f30,_0x2094d4){_0x483f30=_0x483f30-0x188;let _0x5ec315=_0x11a576[_0x483f30];return _0x5ec315;},_0x483f(_0x33708a,_0x228308);}c[_0x510d48(0x1bd)]=_0x4eb2fe,c[_0x510d48(0x1b5)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x5e7c(){var _0x50150f=['271320iIskLX','5AkWyVL','requires','isOfficialPlugin','RealTimeCollaborativeEditing','21hIBHFj','4669042ZZxZjP','172202UdJCFI','isPremiumPlugin','9BwzSkO','pluginName','460848hFpiow','5201560frDxjy','952540jwXlMI','803597jXsEfg'];_0x5e7c=function(){return _0x50150f;};return _0x5e7c();}var _0x278826=_0x2274;function _0x2274(_0x44cc7b,_0x106ea9){var _0x5e7c56=_0x5e7c();return _0x2274=function(_0x2274d5,_0x284fdc){_0x2274d5=_0x2274d5-0xdf;var _0x430edd=_0x5e7c56[_0x2274d5];return _0x430edd;},_0x2274(_0x44cc7b,_0x106ea9);}(function(_0x274f52,_0x50d2fe){var _0x2a67f7=_0x2274,_0x289323=_0x274f52();while(!![]){try{var _0x539f3f=parseInt(_0x2a67f7(0xdf))/0x1+-parseInt(_0x2a67f7(0xe7))/0x2*(parseInt(_0x2a67f7(0xe5))/0x3)+parseInt(_0x2a67f7(0xed))/0x4*(parseInt(_0x2a67f7(0xe1))/0x5)+-parseInt(_0x2a67f7(0xeb))/0x6+parseInt(_0x2a67f7(0xe6))/0x7+parseInt(_0x2a67f7(0xec))/0x8*(-parseInt(_0x2a67f7(0xe9))/0x9)+parseInt(_0x2a67f7(0xe0))/0xa;if(_0x539f3f===_0x50d2fe)break;else _0x289323['push'](_0x289323['shift']());}catch(_0x372380){_0x289323['push'](_0x289323['shift']());}}}(_0x5e7c,0x63290));import{Plugin as _0x5f1785}from'ckeditor5/src/core.js';import _0xd4a8ac from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x5f1785{static get[_0x278826(0xe2)](){return[_0xd4a8ac];}static get[_0x278826(0xea)](){var _0x2ef332=_0x278826;return _0x2ef332(0xe4);}static get[_0x278826(0xe3)](){return!0x0;}static get[_0x278826(0xe8)](){return!0x0;}}
|