@ckeditor/ckeditor5-real-time-collaboration 44.2.0 → 44.2.1-alpha.0
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 +2 -2
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xdd1af=_0x4251;(function(_0xb8b3be,_0x247d1f){const _0x5470a0=_0x4251,_0x2a6f00=_0xb8b3be();while(!![]){try{const _0x410549=parseInt(_0x5470a0(0xe6))/0x1*(parseInt(_0x5470a0(0xff))/0x2)+parseInt(_0x5470a0(0x12f))/0x3+-parseInt(_0x5470a0(0x134))/0x4*(parseInt(_0x5470a0(0xe1))/0x5)+parseInt(_0x5470a0(0x128))/0x6*(-parseInt(_0x5470a0(0xde))/0x7)+parseInt(_0x5470a0(0xe8))/0x8+parseInt(_0x5470a0(0x106))/0x9*(parseInt(_0x5470a0(0x115))/0xa)+-parseInt(_0x5470a0(0x130))/0xb;if(_0x410549===_0x247d1f)break;else _0x2a6f00['push'](_0x2a6f00['shift']());}catch(_0x5f2e9d){_0x2a6f00['push'](_0x2a6f00['shift']());}}}(_0x4e81,0x42b36));import{Context as _0x5ed969,ContextPlugin as _0x2d992b}from'ckeditor5/src/core.js';import{CKEditorError as _0x4bfee1}from'ckeditor5/src/utils.js';import{Users as _0x5d69f3}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x432529,User as _0x59cdc5}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x17083e from'../realtimecollaborativeediting/websocketgateway.js';import _0xe16885 from'../realtimecollaborativeediting/sessions.js';class a extends _0x2d992b{static get[_0xdd1af(0xef)](){const _0x32b322=_0xdd1af;return[_0x17083e,_0x32b322(0xf7),_0xe16885,_0x5d69f3];}static get[_0xdd1af(0x12d)](){const _0x9d5f0e=_0xdd1af;return _0x9d5f0e(0xfb);}static get[_0xdd1af(0xf0)](){return!0x0;}static get[_0xdd1af(0x11b)](){return!0x0;}constructor(_0x1f4f39){const _0x3374d3=_0xdd1af;super(_0x1f4f39),this[_0x3374d3(0x125)]=new Map();}async[_0xdd1af(0x108)](){const _0x2e7a5b=_0xdd1af,_0x32aa4e=this[_0x2e7a5b(0x12b)],_0x143d2e=_0x32aa4e[_0x2e7a5b(0xfd)][_0x2e7a5b(0xd8)](_0x2e7a5b(0xf7));if(_0x32aa4e[_0x2e7a5b(0xfd)][_0x2e7a5b(0xd8)](_0x17083e)[_0x2e7a5b(0x100)](this),_0x143d2e[_0x2e7a5b(0x10f)]={'addCommentThread':async({channelId:_0x383a57,threadId:_0x529523,comments:_0x1175fc,resolvedAt:_0x236c33,resolvedBy:_0x4d1c58,context:_0x45cafd,attributes:_0x5938b8})=>{const _0x2f3111=_0x2e7a5b,_0xc0651a=await this[_0x2f3111(0xe9)](_0x383a57)[_0x2f3111(0xe2)]({'commentThreadId':_0x529523,'comments':_0x1175fc[_0x2f3111(0x109)](_0x2cc32f=>function(_0xdfd12f,_0xc8131,_0x22adcb){const _0x5bd4c6=_0x2f3111;return{'commentThreadId':_0x22adcb,'commentId':_0xdfd12f[_0x5bd4c6(0xf8)],'userId':_0xdfd12f[_0x5bd4c6(0xed)],'content':_0xdfd12f[_0x5bd4c6(0x12e)],'documentId':_0xc8131,'createdAt':_0xdfd12f[_0x5bd4c6(0x111)],'attributes':_0xdfd12f[_0x5bd4c6(0xdd)]||{}};}(_0x2cc32f,_0x383a57,_0x529523)),'resolvedAt':_0x236c33,'resolvedBy':_0x4d1c58,'context':_0x45cafd,'attributes':_0x5938b8})[_0x2f3111(0x127)](R);return{'threadId':_0xc0651a[_0x2f3111(0x124)],'comments':_0xc0651a[_0x2f3111(0x10e)]};},'getCommentThread':async({channelId:_0x2aec3b,threadId:_0x161bf7})=>{const _0x29562d=_0x2e7a5b,_0x450a3b=await this[_0x29562d(0xe9)](_0x2aec3b)[_0x29562d(0x102)](_0x161bf7)[_0x29562d(0x127)](R);return _0x450a3b[_0x29562d(0x135)]?null:(await this[_0x29562d(0x104)]([_0x450a3b]),{'threadId':_0x450a3b[_0x29562d(0x124)],'comments':_0x450a3b[_0x29562d(0x10e)][_0x29562d(0x109)](S),'context':_0x450a3b[_0x29562d(0x12b)],'resolvedAt':_0x450a3b[_0x29562d(0xf2)],'resolvedBy':_0x450a3b[_0x29562d(0x120)],'attributes':_0x450a3b[_0x29562d(0xdd)]||{}});},'updateCommentThread':async({channelId:_0x1be9de,threadId:_0x1cbc22,context:_0x20e424,unlinkedAt:_0x1534b7,attributes:_0x24fb91})=>this[_0x2e7a5b(0xe9)](_0x1be9de)[_0x2e7a5b(0xd1)]({'commentThreadId':_0x1cbc22,'context':_0x20e424,'attributes':_0x24fb91,'unlinkedAt':_0x1534b7})[_0x2e7a5b(0x127)](B)[_0x2e7a5b(0x127)](R),'resolveCommentThread':async({channelId:_0xa0c24a,threadId:_0x4e46a0})=>{const _0x4ad58e=_0x2e7a5b,_0x476b17=await this[_0x4ad58e(0xe9)](_0xa0c24a)[_0x4ad58e(0xf4)](_0x4e46a0)[_0x4ad58e(0x127)](B)[_0x4ad58e(0x127)](R);return{'threadId':_0x476b17[_0x4ad58e(0x124)],'resolvedAt':_0x476b17[_0x4ad58e(0xf2)],'resolvedBy':_0x476b17[_0x4ad58e(0x120)]};},'reopenCommentThread':async({channelId:_0x3d4fb6,threadId:_0x4bfd05})=>this[_0x2e7a5b(0xe9)](_0x3d4fb6)[_0x2e7a5b(0x119)](_0x4bfd05)[_0x2e7a5b(0x127)](B)[_0x2e7a5b(0x127)](R),'removeCommentThread':({channelId:_0x3c95f0,threadId:_0x3c0972})=>this[_0x2e7a5b(0xe9)](_0x3c95f0)[_0x2e7a5b(0xe4)](_0x3c0972)[_0x2e7a5b(0x127)](B)[_0x2e7a5b(0x127)](R),'addComment':({channelId:_0x25ad4b,threadId:_0x4a8a0e,commentId:_0x469e88,content:_0xc69727,attributes:_0x3990d6})=>this[_0x2e7a5b(0xe9)](_0x25ad4b)[_0x2e7a5b(0x113)](_0x4a8a0e,_0x469e88,_0xc69727,_0x3990d6)[_0x2e7a5b(0x127)](R),'updateComment':({channelId:_0x3e4ee8,threadId:_0x193cee,commentId:_0xfe9b39,content:_0x306b41,attributes:_0x392fc8})=>this[_0x2e7a5b(0xe9)](_0x3e4ee8)[_0x2e7a5b(0x12a)](_0x193cee,_0xfe9b39,_0x306b41,_0x392fc8)[_0x2e7a5b(0x127)](B)[_0x2e7a5b(0x127)](R),'removeComment':({channelId:_0x416b95,threadId:_0x18c4f2,commentId:_0x144d95})=>this[_0x2e7a5b(0xe9)](_0x416b95)[_0x2e7a5b(0x133)](_0x18c4f2,_0x144d95)[_0x2e7a5b(0x127)](B)[_0x2e7a5b(0x127)](R)},_0x32aa4e instanceof _0x5ed969){const _0x2e2bab=_0x32aa4e[_0x2e7a5b(0x11a)][_0x2e7a5b(0xd8)](_0x2e7a5b(0xdb)),_0x18dff4=_0x32aa4e[_0x2e7a5b(0xfd)][_0x2e7a5b(0xd8)](_0xe16885);await this[_0x2e7a5b(0xe3)](_0x2e2bab);const _0xef6cf9=await this[_0x2e7a5b(0x125)][_0x2e7a5b(0xd8)](_0x2e2bab)[_0x2e7a5b(0xd2)]();this[_0x2e7a5b(0x121)](_0x18dff4,_0x2e7a5b(0x10d)+_0x2e2bab,(_0x5d84c8,{session:_0x5d252c})=>{const _0x26a08d=_0x2e7a5b;_0x5d252c['id']===_0x18dff4[_0x26a08d(0xd9)]&&(_0x5d84c8[_0x26a08d(0x136)](),this[_0x26a08d(0x12b)][_0x26a08d(0xfd)][_0x26a08d(0xd8)](_0x26a08d(0xf9))[_0x26a08d(0x117)](_0x5d252c[_0x26a08d(0xf3)],_0x2e2bab));}),_0x18dff4[_0x2e7a5b(0xfe)](_0x2e2bab,_0xef6cf9);}}async[_0xdd1af(0xe3)](_0xf899c9){const _0x3a5127=_0xdd1af;if(this[_0x3a5127(0x125)][_0x3a5127(0xdf)](_0xf899c9))throw new _0x4bfee1(_0x3a5127(0x123),null,{'channelId':_0xf899c9});const _0x347cd9=this[_0x3a5127(0x12b)][_0x3a5127(0xfd)][_0x3a5127(0xd8)](_0x3a5127(0xf7)),_0x508b8e=new a[(_0x3a5127(0x101))](_0xf899c9);this[_0x3a5127(0x125)][_0x3a5127(0x11f)](_0xf899c9,_0x508b8e),this[_0x3a5127(0x121)](_0x508b8e,_0x3a5127(0x10a),(_0x28b307,_0x132ca7)=>{const _0x208009=_0x3a5127,{commentThreadId:_0xab9c8a,documentId:_0x30f12c,context:_0x491a92,attributes:_0x30207d,resolvedAt:_0x56e562,resolvedBy:_0x5ab3fd,comments:_0x56fb6b}=_0x132ca7;_0x347cd9[_0x208009(0x102)](_0xab9c8a)||_0x347cd9[_0x208009(0xe2)]({'threadId':_0xab9c8a,'channelId':_0x30f12c,'comments':_0x56fb6b?_0x56fb6b[_0x208009(0x109)](S):[],'context':_0x491a92,'attributes':_0x30207d,'resolvedAt':_0x56e562,'resolvedBy':_0x5ab3fd,'isFromAdapter':!0x0});}),this[_0x3a5127(0x121)](_0x508b8e,_0x3a5127(0x10b),(_0x2baf32,{commentThreadId:_0x61cd73,documentId:_0x1b6558,context:_0x4669cd,unlinkedAt:_0x12753e,attributes:_0x2a5a1c})=>{const _0x318ab6=_0x3a5127;_0x347cd9[_0x318ab6(0x102)](_0x61cd73)&&_0x347cd9[_0x318ab6(0xd1)]({'threadId':_0x61cd73,'channelId':_0x1b6558,'context':_0x4669cd,'unlinkedAt':_0x12753e,'attributes':_0x2a5a1c,'isFromAdapter':!0x0});}),this[_0x3a5127(0x121)](_0x508b8e,_0x3a5127(0x11c),(_0x27b027,{commentThreadId:_0x3833a2,resolvedBy:_0xf90d07,resolvedAt:_0x2c4640})=>{const _0x544341=_0x3a5127,_0xb6ece2=_0x347cd9[_0x544341(0x102)](_0x3833a2);_0xb6ece2&&_0xb6ece2[_0x544341(0xd7)]({'resolvedBy':_0xf90d07,'resolvedAt':_0x2c4640,'isFromAdapter':!0x0});}),this[_0x3a5127(0x121)](_0x508b8e,_0x3a5127(0xda),(_0x19ec9e,{commentThreadId:_0x55ac84})=>{const _0x251917=_0x3a5127,_0x6a0caa=_0x347cd9[_0x251917(0x102)](_0x55ac84);_0x6a0caa&&_0x6a0caa[_0x251917(0x114)]({'isFromAdapter':!0x0});}),this[_0x3a5127(0x121)](_0x508b8e,_0x3a5127(0xd5),(_0x55d430,{commentThreadId:_0x1eee81})=>{const _0x467a4f=_0x3a5127,_0x1ab03a=_0x347cd9[_0x467a4f(0x102)](_0x1eee81);_0x1ab03a&&_0x1ab03a[_0x467a4f(0xeb)]({'isFromAdapter':!0x0});}),this[_0x3a5127(0x121)](_0x508b8e,_0x3a5127(0xe7),(_0x16b61d,_0x2b5f70)=>{const _0x227f8c=_0x3a5127,_0x59321f=_0x2b5f70[_0x227f8c(0x124)],_0x57ace1=_0x347cd9[_0x227f8c(0x102)](_0x59321f);_0x57ace1&&_0x57ace1[_0x227f8c(0x113)]({...S(_0x2b5f70),'isFromAdapter':!0x0});}),this[_0x3a5127(0x121)](_0x508b8e,_0x3a5127(0x118),(_0x5f1f4d,{commentThreadId:_0x10a8a2,commentId:_0x506328,content:_0x3ed2ff,attributes:_0x2e0647})=>{const _0x478932=_0x3a5127,_0x76495f=_0x347cd9[_0x478932(0x102)](_0x10a8a2);if(_0x76495f){const _0x597770=_0x76495f[_0x478932(0xd6)](_0x506328);_0x597770&&_0x597770[_0x478932(0xec)]({'content':_0x3ed2ff,'attributes':_0x2e0647,'isFromAdapter':!0x0});}}),this[_0x3a5127(0x121)](_0x508b8e,_0x3a5127(0x129),(_0x13a8cf,{commentThreadId:_0x351152,commentId:_0x2a057d})=>{const _0x52b4cc=_0x3a5127,_0x4f46f7=_0x347cd9[_0x52b4cc(0x102)](_0x351152);if(_0x4f46f7){const _0x3e3ac0=_0x4f46f7[_0x52b4cc(0xd6)](_0x2a057d);_0x3e3ac0&&_0x3e3ac0[_0x52b4cc(0xeb)]({'isFromAdapter':!0x0});}}),await this[_0x3a5127(0x105)](_0xf899c9);}[_0xdd1af(0xdc)](){const _0x1373f6=_0xdd1af;if(this[_0x1373f6(0x12b)]instanceof _0x5ed969){const _0x46bf0a=this[_0x1373f6(0x12b)][_0x1373f6(0x11a)][_0x1373f6(0xd8)](_0x1373f6(0xdb));this[_0x1373f6(0x11e)](_0x46bf0a);}}[_0xdd1af(0x11e)](_0x8ea059){const _0x516c0e=_0xdd1af;if(!this[_0x516c0e(0x125)][_0x516c0e(0xdf)](_0x8ea059))throw new _0x4bfee1(_0x516c0e(0x131),null,{'channelId':_0x8ea059});this[_0x516c0e(0xe9)](_0x8ea059)[_0x516c0e(0xe5)](),this[_0x516c0e(0x125)][_0x516c0e(0x110)](_0x8ea059);}async[_0xdd1af(0xe0)](){const _0x3c3f6a=_0xdd1af;for(const _0x203583 of this[_0x3c3f6a(0x125)][_0x3c3f6a(0x132)]())await this[_0x3c3f6a(0x105)](_0x203583);if(this[_0x3c3f6a(0x12b)]instanceof _0x5ed969){const _0x3dfbb7=this[_0x3c3f6a(0x12b)][_0x3c3f6a(0x11a)][_0x3c3f6a(0xd8)](_0x3c3f6a(0xdb)),_0x49ffd3=this[_0x3c3f6a(0x12b)][_0x3c3f6a(0xfd)][_0x3c3f6a(0xd8)](_0xe16885);_0x49ffd3[_0x3c3f6a(0xfa)](_0x3dfbb7);const _0x57ea5b=await this[_0x3c3f6a(0x125)][_0x3c3f6a(0xd8)](_0x3dfbb7)[_0x3c3f6a(0xd2)]();_0x49ffd3[_0x3c3f6a(0xfe)](_0x3dfbb7,_0x57ea5b);}}async[_0xdd1af(0x105)](_0x4c76e9){const _0x547c79=_0xdd1af,{connection:_0x4f9c51}=this[_0x547c79(0x12b)][_0x547c79(0xfd)][_0x547c79(0xd8)](_0x17083e),_0x3bdaa1=this[_0x547c79(0x12b)][_0x547c79(0xfd)][_0x547c79(0xd8)](_0x547c79(0xf7)),_0x1e84a7=this[_0x547c79(0x125)][_0x547c79(0xd8)](_0x4c76e9),_0x461c20=await _0x1e84a7[_0x547c79(0xf5)](_0x4f9c51);await this[_0x547c79(0x104)](_0x461c20);const _0x14a8c7=new Set(Array[_0x547c79(0xf1)](_0x3bdaa1[_0x547c79(0x126)]({'channelId':_0x4c76e9}),_0x1bc30a=>_0x1bc30a['id']));for(const _0x15ab3f of _0x461c20)_0x15ab3f[_0x547c79(0x135)]||_0x14a8c7[_0x547c79(0x110)](_0x15ab3f[_0x547c79(0x124)]);for(const _0x3fa71b of _0x14a8c7)_0x3bdaa1[_0x547c79(0x102)](_0x3fa71b)[_0x547c79(0xeb)]({'isFromAdapter':!0x0});for(const _0x2d45f8 of _0x461c20){let _0xac49bf=_0x3bdaa1[_0x547c79(0x102)](_0x2d45f8[_0x547c79(0x124)]);const {commentThreadId:_0x59a44e,context:_0xf87cff,attributes:_0x61fb86,resolvedBy:_0x4ecdda,resolvedAt:_0x47b04b,unlinkedAt:_0x579758,deletedAt:_0x36ff29}=_0x2d45f8;if(_0x36ff29)continue;_0xac49bf||(_0xac49bf=_0x3bdaa1[_0x547c79(0xe2)]({'channelId':_0x4c76e9,'threadId':_0x59a44e,'context':_0xf87cff,'attributes':_0x61fb86||{},'resolvedBy':_0x4ecdda,'resolvedAt':_0x47b04b,'unlinkedAt':_0x579758,'isFromAdapter':!0x0}));const _0x292aed=new Set(Array[_0x547c79(0xf1)](_0xac49bf[_0x547c79(0x10e)],_0x209fe2=>_0x209fe2['id']));for(const _0x4c4f7e of _0x2d45f8[_0x547c79(0x10e)])_0x292aed[_0x547c79(0x110)](_0x4c4f7e[_0x547c79(0xf8)]);for(const _0x1be602 of _0x292aed)_0xac49bf[_0x547c79(0xd6)](_0x1be602)[_0x547c79(0xeb)]({'isFromAdapter':!0x0});for(const _0x4fdc85 of _0x2d45f8[_0x547c79(0x10e)]){const _0x102b8f=_0xac49bf[_0x547c79(0xd6)](_0x4fdc85[_0x547c79(0xf8)]);_0x102b8f?_0x102b8f[_0x547c79(0x12e)]!==_0x4fdc85[_0x547c79(0x12e)]&&_0x102b8f[_0x547c79(0xec)]({'content':_0x4fdc85[_0x547c79(0x12e)],'isFromAdapter':!0x0}):_0xac49bf[_0x547c79(0x113)](Object[_0x547c79(0xd4)](S(_0x4fdc85),{'isFromAdapter':!0x0}));}}}[_0xdd1af(0xe9)](_0xd4739){const _0x509b8e=_0xdd1af;if(!this[_0x509b8e(0x125)][_0x509b8e(0xdf)](_0xd4739))throw new _0x4bfee1(_0x509b8e(0x11d),null,{'channelId':_0xd4739});return this[_0x509b8e(0x125)][_0x509b8e(0xd8)](_0xd4739);}async[_0xdd1af(0x104)](_0x45012b){const _0x16220a=_0xdd1af,_0x95caa=this[_0x16220a(0x12b)][_0x16220a(0xfd)][_0x16220a(0xd8)](_0x5d69f3),{connection:_0x29c1fc}=this[_0x16220a(0x12b)][_0x16220a(0xfd)][_0x16220a(0xd8)](_0x17083e),_0x3b3b04=new Set();for(const {resolvedBy:_0x3fad22,comments:_0x53ea68}of _0x45012b){_0x3fad22&&!_0x95caa[_0x16220a(0x112)](_0x3fad22)&&_0x3b3b04[_0x16220a(0x107)](_0x3fad22);for(const {userId:_0x3a41fa}of _0x53ea68)_0x95caa[_0x16220a(0x112)](_0x3a41fa)||_0x3b3b04[_0x16220a(0x107)](_0x3a41fa);}if(0x0===_0x3b3b04[_0x16220a(0x116)])return;const _0x4979aa=await _0x59cdc5[_0x16220a(0x10c)](_0x29c1fc,Array[_0x16220a(0xf1)](_0x3b3b04));for(const _0x5871db of _0x4979aa)_0x95caa[_0x16220a(0x112)](_0x5871db['id'])||_0x95caa[_0x16220a(0xd3)](_0x5871db);}}function _0x4251(_0x291112,_0x9e504c){const _0x4e81ae=_0x4e81();return _0x4251=function(_0x425171,_0x144c5b){_0x425171=_0x425171-0xd0;let _0xbcc970=_0x4e81ae[_0x425171];return _0xbcc970;},_0x4251(_0x291112,_0x9e504c);}function _0x4e81(){const _0x4620ec=['reconnect','2810OxMvec','addCommentThread','_setUpService','removeCommentThread','disconnect','8qXytOv','commentAdded','3352136vWONkh','_getService','404','remove','update','authorId','userId','requires','isOfficialPlugin','from','resolvedAt','permissions','resolveCommentThread','connect','cloud-services-internal-error:\x20Request\x20timeout.','CommentsRepository','commentId','Permissions','unregister','CloudServicesCommentsAdapter','message','plugins','register','77414BoCOgI','addToReconnectionStack','CommentsService','getCommentThread','startsWith','_fetchMissingUsersForThreads','_connectService','18IYVXJP','add','init','map','commentThreadAdded','commentThreadUpdated','getMany','sessionAdd:','comments','adapter','delete','createdAt','getUser','addComment','reopen','1139570cugeJu','size','setPermissions','commentUpdated','reopenCommentThread','config','isPremiumPlugin','commentThreadResolved','cloudservicescommentsadapter-service-not-exist','_terminateService','set','resolvedBy','listenTo','code','cloudservicescommentsadapter-connect-already-connected','commentThreadId','_services','getCommentThreads','catch','2632998PXtNOS','commentRemoved','updateComment','context','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','pluginName','content','850518wdBBDC','454982oZSexA','cloudservicescommentsadapter-disconnect-not-exist','keys','removeComment','3464dFRCUY','deletedAt','off','cloud-services-internal-error:\x20Not\x20connected.','updateCommentThread','getConnectedSessions','addUser','assign','commentThreadRemoved','getComment','resolve','get','mySessionId','commentThreadReopened','collaboration.channelId','destroy','attributes','7ugLhmS','has'];_0x4e81=function(){return _0x4620ec;};return _0x4e81();}a[_0xdd1af(0x101)]=_0x432529;export default a;async function B(_0x140765){const _0x11d4a5=_0xdd1af;if(_0x11d4a5(0xea)!==_0x140765[_0x11d4a5(0x122)])throw _0x140765;}function R(_0x258c03){const _0x43c64b=_0xdd1af;if((_0x1bcff4=_0x258c03)[_0x43c64b(0xfc)][_0x43c64b(0x103)](_0x43c64b(0x12c))||_0x1bcff4[_0x43c64b(0xfc)][_0x43c64b(0x103)](_0x43c64b(0xd0))||_0x1bcff4[_0x43c64b(0xfc)][_0x43c64b(0x103)](_0x43c64b(0xf6)))return new Promise(()=>{});var _0x1bcff4;throw _0x258c03;}function S(_0x462633){const _0x4133df=_0xdd1af;return{'threadId':_0x462633[_0x4133df(0x124)],'commentId':_0x462633[_0x4133df(0xf8)],'content':_0x462633[_0x4133df(0x12e)],'createdAt':_0x462633[_0x4133df(0x111)],'authorId':_0x462633[_0x4133df(0xee)],'attributes':_0x462633[_0x4133df(0xdd)]||{}};}
|
|
23
|
+
const _0x4f8acf=_0x50b9;(function(_0x4d6e53,_0x1d1a91){const _0x1c2083=_0x50b9,_0x5e0246=_0x4d6e53();while(!![]){try{const _0xe8e61c=-parseInt(_0x1c2083(0xbc))/0x1*(-parseInt(_0x1c2083(0xb5))/0x2)+-parseInt(_0x1c2083(0xa6))/0x3*(-parseInt(_0x1c2083(0xdf))/0x4)+-parseInt(_0x1c2083(0xe2))/0x5+-parseInt(_0x1c2083(0x9b))/0x6+-parseInt(_0x1c2083(0xbd))/0x7*(parseInt(_0x1c2083(0xb2))/0x8)+-parseInt(_0x1c2083(0xb0))/0x9+-parseInt(_0x1c2083(0x96))/0xa*(-parseInt(_0x1c2083(0xbf))/0xb);if(_0xe8e61c===_0x1d1a91)break;else _0x5e0246['push'](_0x5e0246['shift']());}catch(_0x272721){_0x5e0246['push'](_0x5e0246['shift']());}}}(_0x49e1,0x75b43));import{Context as _0x1ded79,ContextPlugin as _0x19543c}from'ckeditor5/src/core.js';import{CKEditorError as _0x1920be}from'ckeditor5/src/utils.js';import{Users as _0x5d4ca7}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x151514,User as _0x5b69b2}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x4f5296 from'../realtimecollaborativeediting/websocketgateway.js';import _0x2c5c83 from'../realtimecollaborativeediting/sessions.js';class a extends _0x19543c{static get[_0x4f8acf(0xc6)](){const _0x532074=_0x4f8acf;return[_0x4f5296,_0x532074(0xa0),_0x2c5c83,_0x5d4ca7];}static get[_0x4f8acf(0x9e)](){const _0x544b1e=_0x4f8acf;return _0x544b1e(0x9a);}static get[_0x4f8acf(0xc5)](){return!0x0;}static get[_0x4f8acf(0x8d)](){return!0x0;}constructor(_0x2c8705){const _0x63884d=_0x4f8acf;super(_0x2c8705),this[_0x63884d(0xe0)]=new Map();}async[_0x4f8acf(0xa4)](){const _0xb67ede=_0x4f8acf,_0x40ed98=this[_0xb67ede(0xe4)],_0x318069=_0x40ed98[_0xb67ede(0xd2)][_0xb67ede(0xd4)](_0xb67ede(0xa0));if(_0x40ed98[_0xb67ede(0xd2)][_0xb67ede(0xd4)](_0x4f5296)[_0xb67ede(0xd6)](this),_0x318069[_0xb67ede(0x92)]={'addCommentThread':async({channelId:_0x52d6b4,threadId:_0x29a152,comments:_0x3b3cbc,resolvedAt:_0x22c9a9,resolvedBy:_0x1a8aa5,context:_0x385321,attributes:_0x4136c2})=>{const _0x151e2b=_0xb67ede,_0x6e46e0=await this[_0x151e2b(0xb9)](_0x52d6b4)[_0x151e2b(0xa1)]({'commentThreadId':_0x29a152,'comments':_0x3b3cbc[_0x151e2b(0x8c)](_0x204bf6=>function(_0x3f683e,_0x39b364,_0x41128f){const _0x1a0b41=_0x151e2b;return{'commentThreadId':_0x41128f,'commentId':_0x3f683e[_0x1a0b41(0xb6)],'userId':_0x3f683e[_0x1a0b41(0xa2)],'content':_0x3f683e[_0x1a0b41(0xde)],'documentId':_0x39b364,'createdAt':_0x3f683e[_0x1a0b41(0xc1)],'attributes':_0x3f683e[_0x1a0b41(0xa8)]||{}};}(_0x204bf6,_0x52d6b4,_0x29a152)),'resolvedAt':_0x22c9a9,'resolvedBy':_0x1a8aa5,'context':_0x385321,'attributes':_0x4136c2})[_0x151e2b(0xc0)](w);return{'threadId':_0x6e46e0[_0x151e2b(0xeb)],'comments':_0x6e46e0[_0x151e2b(0xcf)]};},'getCommentThread':async({channelId:_0x478432,threadId:_0x5010a})=>{const _0x528690=_0xb67ede,_0x507dbd=await this[_0x528690(0xb9)](_0x478432)[_0x528690(0xdc)](_0x5010a)[_0x528690(0xc0)](w);return _0x507dbd[_0x528690(0xe7)]?null:(await this[_0x528690(0xef)]([_0x507dbd]),{'threadId':_0x507dbd[_0x528690(0xeb)],'comments':_0x507dbd[_0x528690(0xcf)][_0x528690(0x8c)](b),'context':_0x507dbd[_0x528690(0xe4)],'resolvedAt':_0x507dbd[_0x528690(0x91)],'resolvedBy':_0x507dbd[_0x528690(0xbe)],'attributes':_0x507dbd[_0x528690(0xa8)]||{}});},'updateCommentThread':async({channelId:_0x364d95,threadId:_0xd5c77a,context:_0x57567a,unlinkedAt:_0x5e367a,attributes:_0xb87546})=>this[_0xb67ede(0xb9)](_0x364d95)[_0xb67ede(0xb8)]({'commentThreadId':_0xd5c77a,'context':_0x57567a,'attributes':_0xb87546,'unlinkedAt':_0x5e367a})[_0xb67ede(0xc0)](y)[_0xb67ede(0xc0)](w),'resolveCommentThread':async({channelId:_0x5cb2d6,threadId:_0x26d9ad})=>{const _0x27aa54=_0xb67ede,_0x27011e=await this[_0x27aa54(0xb9)](_0x5cb2d6)[_0x27aa54(0xed)](_0x26d9ad)[_0x27aa54(0xc0)](y)[_0x27aa54(0xc0)](w);return{'threadId':_0x27011e[_0x27aa54(0xeb)],'resolvedAt':_0x27011e[_0x27aa54(0x91)],'resolvedBy':_0x27011e[_0x27aa54(0xbe)]};},'reopenCommentThread':async({channelId:_0x32ae1e,threadId:_0x51ac09})=>this[_0xb67ede(0xb9)](_0x32ae1e)[_0xb67ede(0x95)](_0x51ac09)[_0xb67ede(0xc0)](y)[_0xb67ede(0xc0)](w),'removeCommentThread':({channelId:_0x378e51,threadId:_0x4dbb45})=>this[_0xb67ede(0xb9)](_0x378e51)[_0xb67ede(0xe8)](_0x4dbb45)[_0xb67ede(0xc0)](y)[_0xb67ede(0xc0)](w),'addComment':({channelId:_0x2ef181,threadId:_0x2a368a,commentId:_0x4a1825,content:_0x3f9270,attributes:_0x2a8036})=>this[_0xb67ede(0xb9)](_0x2ef181)[_0xb67ede(0xa7)](_0x2a368a,_0x4a1825,_0x3f9270,_0x2a8036)[_0xb67ede(0xc0)](w),'updateComment':({channelId:_0x531aff,threadId:_0x25e239,commentId:_0xafaf52,content:_0x3665db,attributes:_0x172d48})=>this[_0xb67ede(0xb9)](_0x531aff)[_0xb67ede(0x98)](_0x25e239,_0xafaf52,_0x3665db,_0x172d48)[_0xb67ede(0xc0)](y)[_0xb67ede(0xc0)](w),'removeComment':({channelId:_0x439096,threadId:_0x30e30a,commentId:_0x1c3050})=>this[_0xb67ede(0xb9)](_0x439096)[_0xb67ede(0xc9)](_0x30e30a,_0x1c3050)[_0xb67ede(0xc0)](y)[_0xb67ede(0xc0)](w)},_0x40ed98 instanceof _0x1ded79){const _0x1bc081=_0x40ed98[_0xb67ede(0xdb)][_0xb67ede(0xd4)](_0xb67ede(0xba)),_0x32616c=_0x40ed98[_0xb67ede(0xd2)][_0xb67ede(0xd4)](_0x2c5c83);await this[_0xb67ede(0xb1)](_0x1bc081);const _0x24176d=await this[_0xb67ede(0xe0)][_0xb67ede(0xd4)](_0x1bc081)[_0xb67ede(0xa5)]();this[_0xb67ede(0xda)](_0x32616c,_0xb67ede(0xe6)+_0x1bc081,(_0x7eca76,{session:_0x252d79})=>{const _0x847a34=_0xb67ede;_0x252d79['id']===_0x32616c[_0x847a34(0x9d)]&&(_0x7eca76[_0x847a34(0xcd)](),this[_0x847a34(0xe4)][_0x847a34(0xd2)][_0x847a34(0xd4)](_0x847a34(0xb7))[_0x847a34(0xd3)](_0x252d79[_0x847a34(0xea)],_0x1bc081));}),_0x32616c[_0xb67ede(0xd1)](_0x1bc081,_0x24176d);}}async[_0x4f8acf(0xb1)](_0x566e98){const _0x1de483=_0x4f8acf;if(this[_0x1de483(0xe0)][_0x1de483(0xd9)](_0x566e98))throw new _0x1920be(_0x1de483(0xc4),null,{'channelId':_0x566e98});const _0x444cb5=this[_0x1de483(0xe4)][_0x1de483(0xd2)][_0x1de483(0xd4)](_0x1de483(0xa0)),_0x58b059=new a[(_0x1de483(0xc7))](_0x566e98);this[_0x1de483(0xe0)][_0x1de483(0xab)](_0x566e98,_0x58b059),this[_0x1de483(0xda)](_0x58b059,_0x1de483(0xca),(_0xd1e5a6,_0x166d64)=>{const _0x49dbfc=_0x1de483,{commentThreadId:_0x10e9c3,documentId:_0x991101,context:_0x4a8aa8,attributes:_0x38c786,resolvedAt:_0x37a698,resolvedBy:_0x4dab3c,comments:_0x185f1b}=_0x166d64;_0x444cb5[_0x49dbfc(0xdc)](_0x10e9c3)||_0x444cb5[_0x49dbfc(0xa1)]({'threadId':_0x10e9c3,'channelId':_0x991101,'comments':_0x185f1b?_0x185f1b[_0x49dbfc(0x8c)](b):[],'context':_0x4a8aa8,'attributes':_0x38c786,'resolvedAt':_0x37a698,'resolvedBy':_0x4dab3c,'isFromAdapter':!0x0});}),this[_0x1de483(0xda)](_0x58b059,_0x1de483(0x9f),(_0xd93c25,{commentThreadId:_0x3f27cf,documentId:_0x2ddf97,context:_0x18f365,unlinkedAt:_0x5a2715,attributes:_0x54b129})=>{const _0x1102be=_0x1de483;_0x444cb5[_0x1102be(0xdc)](_0x3f27cf)&&_0x444cb5[_0x1102be(0xb8)]({'threadId':_0x3f27cf,'channelId':_0x2ddf97,'context':_0x18f365,'unlinkedAt':_0x5a2715,'attributes':_0x54b129,'isFromAdapter':!0x0});}),this[_0x1de483(0xda)](_0x58b059,_0x1de483(0xac),(_0x310188,{commentThreadId:_0x49314f,resolvedBy:_0xb721b6,resolvedAt:_0x1fe618})=>{const _0x9d0a6b=_0x1de483,_0x36e56e=_0x444cb5[_0x9d0a6b(0xdc)](_0x49314f);_0x36e56e&&_0x36e56e[_0x9d0a6b(0xe9)]({'resolvedBy':_0xb721b6,'resolvedAt':_0x1fe618,'isFromAdapter':!0x0});}),this[_0x1de483(0xda)](_0x58b059,_0x1de483(0xe1),(_0x1c8bab,{commentThreadId:_0x1fa484})=>{const _0x5864c6=_0x1de483,_0x19e4d0=_0x444cb5[_0x5864c6(0xdc)](_0x1fa484);_0x19e4d0&&_0x19e4d0[_0x5864c6(0xb3)]({'isFromAdapter':!0x0});}),this[_0x1de483(0xda)](_0x58b059,_0x1de483(0x8e),(_0xb80b1a,{commentThreadId:_0x509224})=>{const _0x25b63b=_0x1de483,_0x3ede23=_0x444cb5[_0x25b63b(0xdc)](_0x509224);_0x3ede23&&_0x3ede23[_0x25b63b(0xce)]({'isFromAdapter':!0x0});}),this[_0x1de483(0xda)](_0x58b059,_0x1de483(0x93),(_0x104790,_0x4bdbea)=>{const _0x15aa5b=_0x1de483,_0x171bc7=_0x4bdbea[_0x15aa5b(0xeb)],_0x37d852=_0x444cb5[_0x15aa5b(0xdc)](_0x171bc7);_0x37d852&&_0x37d852[_0x15aa5b(0xa7)]({...b(_0x4bdbea),'isFromAdapter':!0x0});}),this[_0x1de483(0xda)](_0x58b059,_0x1de483(0xe3),(_0x2839a8,{commentThreadId:_0x197eb0,commentId:_0xc02bb4,content:_0x2abfcf,attributes:_0xb22cbc})=>{const _0x3f9c91=_0x1de483,_0x126c74=_0x444cb5[_0x3f9c91(0xdc)](_0x197eb0);if(_0x126c74){const _0x2d36df=_0x126c74[_0x3f9c91(0x94)](_0xc02bb4);_0x2d36df&&_0x2d36df[_0x3f9c91(0x9c)]({'content':_0x2abfcf,'attributes':_0xb22cbc,'isFromAdapter':!0x0});}}),this[_0x1de483(0xda)](_0x58b059,_0x1de483(0xbb),(_0x535e2c,{commentThreadId:_0x32008d,commentId:_0x5ceb17})=>{const _0x32decf=_0x1de483,_0x13f0c5=_0x444cb5[_0x32decf(0xdc)](_0x32008d);if(_0x13f0c5){const _0x290eaf=_0x13f0c5[_0x32decf(0x94)](_0x5ceb17);_0x290eaf&&_0x290eaf[_0x32decf(0xce)]({'isFromAdapter':!0x0});}}),await this[_0x1de483(0xa3)](_0x566e98);}[_0x4f8acf(0x97)](){const _0x4a4848=_0x4f8acf;if(this[_0x4a4848(0xe4)]instanceof _0x1ded79){const _0x27fd=this[_0x4a4848(0xe4)][_0x4a4848(0xdb)][_0x4a4848(0xd4)](_0x4a4848(0xba));this[_0x4a4848(0xc8)](_0x27fd);}}[_0x4f8acf(0xc8)](_0x29b0b0){const _0x1e3a4e=_0x4f8acf;if(!this[_0x1e3a4e(0xe0)][_0x1e3a4e(0xd9)](_0x29b0b0))throw new _0x1920be(_0x1e3a4e(0x99),null,{'channelId':_0x29b0b0});this[_0x1e3a4e(0xb9)](_0x29b0b0)[_0x1e3a4e(0xf0)](),this[_0x1e3a4e(0xe0)][_0x1e3a4e(0x8f)](_0x29b0b0);}async[_0x4f8acf(0xc3)](){const _0x5a2381=_0x4f8acf;for(const _0x5b7654 of this[_0x5a2381(0xe0)][_0x5a2381(0xd8)]())await this[_0x5a2381(0xa3)](_0x5b7654);if(this[_0x5a2381(0xe4)]instanceof _0x1ded79){const _0x58fd7e=this[_0x5a2381(0xe4)][_0x5a2381(0xdb)][_0x5a2381(0xd4)](_0x5a2381(0xba)),_0x46ef6e=this[_0x5a2381(0xe4)][_0x5a2381(0xd2)][_0x5a2381(0xd4)](_0x2c5c83);_0x46ef6e[_0x5a2381(0xdd)](_0x58fd7e);const _0x51e117=await this[_0x5a2381(0xe0)][_0x5a2381(0xd4)](_0x58fd7e)[_0x5a2381(0xa5)]();_0x46ef6e[_0x5a2381(0xd1)](_0x58fd7e,_0x51e117);}}async[_0x4f8acf(0xa3)](_0x1d354f){const _0x345b28=_0x4f8acf,{connection:_0x125a24}=this[_0x345b28(0xe4)][_0x345b28(0xd2)][_0x345b28(0xd4)](_0x4f5296),_0x234058=this[_0x345b28(0xe4)][_0x345b28(0xd2)][_0x345b28(0xd4)](_0x345b28(0xa0)),_0x1e6249=this[_0x345b28(0xe0)][_0x345b28(0xd4)](_0x1d354f),_0x44724a=await _0x1e6249[_0x345b28(0xad)](_0x125a24);await this[_0x345b28(0xef)](_0x44724a);const _0x5f3f39=new Set(Array[_0x345b28(0xaf)](_0x234058[_0x345b28(0x90)]({'channelId':_0x1d354f}),_0x328448=>_0x328448['id']));for(const _0x27df53 of _0x44724a)_0x27df53[_0x345b28(0xe7)]||_0x5f3f39[_0x345b28(0x8f)](_0x27df53[_0x345b28(0xeb)]);for(const _0x306a1a of _0x5f3f39)_0x234058[_0x345b28(0xdc)](_0x306a1a)[_0x345b28(0xce)]({'isFromAdapter':!0x0});for(const _0x35c7f3 of _0x44724a){let _0x3efd61=_0x234058[_0x345b28(0xdc)](_0x35c7f3[_0x345b28(0xeb)]);const {commentThreadId:_0x118fe2,context:_0x332ba2,attributes:_0x1409e1,resolvedBy:_0x252dbb,resolvedAt:_0x36029d,unlinkedAt:_0x2a06d2,deletedAt:_0x58333e}=_0x35c7f3;if(_0x58333e)continue;_0x3efd61||(_0x3efd61=_0x234058[_0x345b28(0xa1)]({'channelId':_0x1d354f,'threadId':_0x118fe2,'context':_0x332ba2,'attributes':_0x1409e1||{},'resolvedBy':_0x252dbb,'resolvedAt':_0x36029d,'unlinkedAt':_0x2a06d2,'isFromAdapter':!0x0}));const _0x463214=new Set(Array[_0x345b28(0xaf)](_0x3efd61[_0x345b28(0xcf)],_0x31eae7=>_0x31eae7['id']));for(const _0x61b561 of _0x35c7f3[_0x345b28(0xcf)])_0x463214[_0x345b28(0x8f)](_0x61b561[_0x345b28(0xb6)]);for(const _0x3a2840 of _0x463214)_0x3efd61[_0x345b28(0x94)](_0x3a2840)[_0x345b28(0xce)]({'isFromAdapter':!0x0});for(const _0x6ec5dd of _0x35c7f3[_0x345b28(0xcf)]){const _0x3495f4=_0x3efd61[_0x345b28(0x94)](_0x6ec5dd[_0x345b28(0xb6)]);_0x3495f4?_0x3495f4[_0x345b28(0xde)]!==_0x6ec5dd[_0x345b28(0xde)]&&_0x3495f4[_0x345b28(0x9c)]({'content':_0x6ec5dd[_0x345b28(0xde)],'isFromAdapter':!0x0}):_0x3efd61[_0x345b28(0xa7)](Object[_0x345b28(0xf1)](b(_0x6ec5dd),{'isFromAdapter':!0x0}));}}}[_0x4f8acf(0xb9)](_0x403177){const _0x4da693=_0x4f8acf;if(!this[_0x4da693(0xe0)][_0x4da693(0xd9)](_0x403177))throw new _0x1920be(_0x4da693(0xcb),null,{'channelId':_0x403177});return this[_0x4da693(0xe0)][_0x4da693(0xd4)](_0x403177);}async[_0x4f8acf(0xef)](_0x366a12){const _0x557eed=_0x4f8acf,_0x493658=this[_0x557eed(0xe4)][_0x557eed(0xd2)][_0x557eed(0xd4)](_0x5d4ca7),{connection:_0x2f3f79}=this[_0x557eed(0xe4)][_0x557eed(0xd2)][_0x557eed(0xd4)](_0x4f5296),_0x32e73a=new Set();for(const {resolvedBy:_0x1c6cd4,comments:_0x178a53}of _0x366a12){_0x1c6cd4&&!_0x493658[_0x557eed(0xc2)](_0x1c6cd4)&&_0x32e73a[_0x557eed(0xaa)](_0x1c6cd4);for(const {userId:_0xf13c41}of _0x178a53)_0x493658[_0x557eed(0xc2)](_0xf13c41)||_0x32e73a[_0x557eed(0xaa)](_0xf13c41);}if(0x0===_0x32e73a[_0x557eed(0xf2)])return;const _0x4d3dec=await _0x5b69b2[_0x557eed(0xcc)](_0x2f3f79,Array[_0x557eed(0xaf)](_0x32e73a));for(const _0x33dc30 of _0x4d3dec)_0x493658[_0x557eed(0xc2)](_0x33dc30['id'])||_0x493658[_0x557eed(0xd7)](_0x33dc30);}}a[_0x4f8acf(0xc7)]=_0x151514;export default a;async function y(_0x4c44ac){const _0x455e3d=_0x4f8acf;if(_0x455e3d(0xd5)!==_0x4c44ac[_0x455e3d(0xd0)])throw _0x4c44ac;}function _0x50b9(_0x3206e9,_0x9f455){const _0x49e1de=_0x49e1();return _0x50b9=function(_0x50b925,_0x19be9c){_0x50b925=_0x50b925-0x8c;let _0x360b45=_0x49e1de[_0x50b925];return _0x360b45;},_0x50b9(_0x3206e9,_0x9f455);}function w(_0x4a5cbc){const _0xc9efd4=_0x4f8acf;if((_0x1af2c8=_0x4a5cbc)[_0xc9efd4(0xa9)][_0xc9efd4(0xb4)](_0xc9efd4(0xee))||_0x1af2c8[_0xc9efd4(0xa9)][_0xc9efd4(0xb4)](_0xc9efd4(0xec))||_0x1af2c8[_0xc9efd4(0xa9)][_0xc9efd4(0xb4)](_0xc9efd4(0xae)))return new Promise(()=>{});var _0x1af2c8;throw _0x4a5cbc;}function _0x49e1(){const _0x86d126=['cloudservicescommentsadapter-service-not-exist','getMany','off','remove','comments','code','register','plugins','setPermissions','get','404','addToReconnectionStack','addUser','keys','has','listenTo','config','getCommentThread','unregister','content','3868PeMxpq','_services','commentThreadReopened','4595880diHWWP','commentUpdated','context','userId','sessionAdd:','deletedAt','removeCommentThread','resolve','permissions','commentThreadId','cloud-services-internal-error:\x20Not\x20connected.','resolveCommentThread','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','_fetchMissingUsersForThreads','disconnect','assign','size','map','isPremiumPlugin','commentThreadRemoved','delete','getCommentThreads','resolvedAt','adapter','commentAdded','getComment','reopenCommentThread','70DGtfgb','destroy','updateComment','cloudservicescommentsadapter-disconnect-not-exist','CloudServicesCommentsAdapter','972276tVUBsy','update','mySessionId','pluginName','commentThreadUpdated','CommentsRepository','addCommentThread','authorId','_connectService','init','getConnectedSessions','1629huiZhF','addComment','attributes','message','add','set','commentThreadResolved','connect','cloud-services-internal-error:\x20Request\x20timeout.','from','6817707ZjWSQj','_setUpService','84232rtTmEw','reopen','startsWith','374RbBJQj','commentId','Permissions','updateCommentThread','_getService','collaboration.channelId','commentRemoved','2907fWRndJ','77HVDiRM','resolvedBy','2149697fpxWBs','catch','createdAt','getUser','reconnect','cloudservicescommentsadapter-connect-already-connected','isOfficialPlugin','requires','CommentsService','_terminateService','removeComment','commentThreadAdded'];_0x49e1=function(){return _0x86d126;};return _0x49e1();}function b(_0x4b7404){const _0x4129ce=_0x4f8acf;return{'threadId':_0x4b7404[_0x4129ce(0xeb)],'commentId':_0x4b7404[_0x4129ce(0xb6)],'content':_0x4b7404[_0x4129ce(0xde)],'createdAt':_0x4b7404[_0x4129ce(0xc1)],'authorId':_0x4b7404[_0x4129ce(0xe5)],'attributes':_0x4b7404[_0x4129ce(0xa8)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4edb(){const _0x1675f5=['editor','1341zmRkrs','connected','5793300RZlKRe','once','change:state','7212HbUgjO','plugins','947wTromc','isOfficialPlugin','destroy','CommentsEditing','34950520NmtVEI','ready','listenTo','data','RealTimeCollaborativeComments','847iTMdcr','config','4991110UlIrXp','isPremiumPlugin','isThreadsLoadingPaused','_terminateService','17472nFGYhJ','Comments','switchReadOnly','30333mzTFbf','get','requires','224kzukpE','10CIBYkM','_setUpService','pluginName','CommentsRepository','init','collaboration.channelId'];_0x4edb=function(){return _0x1675f5;};return _0x4edb();}function _0x4642(_0x2d2e57,_0x32aa5a){const _0x4edbab=_0x4edb();return _0x4642=function(_0x464284,_0x335d31){_0x464284=_0x464284-0xb1;let _0x159d46=_0x4edbab[_0x464284];return _0x159d46;},_0x4642(_0x2d2e57,_0x32aa5a);}const _0x4c52f0=_0x4642;(function(_0x39352f,_0x2e484d){const _0x3462a7=_0x4642,_0x4c8f46=_0x39352f();while(!![]){try{const _0x530bce=parseInt(_0x3462a7(0xcc))/0x1*(-parseInt(_0x3462a7(0xbe))/0x2)+-parseInt(_0x3462a7(0xba))/0x3*(parseInt(_0x3462a7(0xbd))/0x4)+-parseInt(_0x3462a7(0xb3))/0x5+parseInt(_0x3462a7(0xca))/0x6*(parseInt(_0x3462a7(0xb1))/0x7)+-parseInt(_0x3462a7(0xb7))/0x8*(parseInt(_0x3462a7(0xc5))/0x9)+-parseInt(_0x3462a7(0xc7))/0xa+parseInt(_0x3462a7(0xd0))/0xb;if(_0x530bce===_0x2e484d)break;else _0x4c8f46['push'](_0x4c8f46['shift']());}catch(_0x4d71ac){_0x4c8f46['push'](_0x4c8f46['shift']());}}}(_0x4edb,0xcf3cb));import{Plugin as _0x5eac94}from'ckeditor5/src/core.js';import _0xb9faaf from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x17eec2 from'./realtimecollaborativeediting.js';import _0x294fb9 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x5eac94{static get[_0x4c52f0(0xbc)](){const _0x58271a=_0x4c52f0;return[_0x58271a(0xb8),_0xb9faaf,_0x17eec2,_0x294fb9];}static get[_0x4c52f0(0xc0)](){const _0x50e224=_0x4c52f0;return _0x50e224(0xd4);}static get[_0x4c52f0(0xcd)](){return!0x0;}static get[_0x4c52f0(0xb4)](){return!0x0;}[_0x4c52f0(0xc2)](){const _0xfe4418=_0x4c52f0,_0x43c827=this[_0xfe4418(0xc4)][_0xfe4418(0xcb)][_0xfe4418(0xbb)](_0x294fb9),_0x3e5eb9=this[_0xfe4418(0xc4)][_0xfe4418(0xcb)][_0xfe4418(0xbb)](_0xfe4418(0xcf)),_0x543e8a=this[_0xfe4418(0xc4)][_0xfe4418(0xcb)][_0xfe4418(0xbb)](_0xb9faaf);return this[_0xfe4418(0xc4)][_0xfe4418(0xd3)][_0xfe4418(0xc8)](_0xfe4418(0xd1),()=>{const _0x586957=_0xfe4418;this[_0x586957(0xd2)](_0x43c827,_0x586957(0xc9),(_0x1e69a2,_0x22c68a,_0x5e1d75)=>{const _0x43b121=_0x586957;_0x3e5eb9[_0x43b121(0xb5)]=_0x43b121(0xc6)!==_0x5e1d75;});}),this[_0xfe4418(0xd2)](_0x43c827,_0xfe4418(0xc9),(_0xa59d3e,_0x585112,_0xc3d99e)=>{const _0x26f31d=_0xfe4418;this[_0x26f31d(0xc4)][_0x26f31d(0xcb)][_0x26f31d(0xbb)](_0x26f31d(0xc1))[_0x26f31d(0xb9)](_0x26f31d(0xc6)!==_0xc3d99e);}),_0x543e8a[_0xfe4418(0xbf)](this[_0xfe4418(0xc4)][_0xfe4418(0xb2)][_0xfe4418(0xbb)](_0xfe4418(0xc3)));}[_0x4c52f0(0xce)](){const _0x4af8af=_0x4c52f0;this[_0x4af8af(0xc4)][_0x4af8af(0xcb)][_0x4af8af(0xbb)](_0xb9faaf)[_0x4af8af(0xb6)](this[_0x4af8af(0xc4)][_0x4af8af(0xb2)][_0x4af8af(0xbb)](_0x4af8af(0xc3))),super[_0x4af8af(0xce)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1bc20f=_0x335f;(function(_0x1c9120,_0x29a0e5){const _0x570f05=_0x335f,_0x56104e=_0x1c9120();while(!![]){try{const _0x22333d=-parseInt(_0x570f05(0x136))/0x1+-parseInt(_0x570f05(0x115))/0x2+parseInt(_0x570f05(0x17c))/0x3*(parseInt(_0x570f05(0x152))/0x4)+-parseInt(_0x570f05(0x105))/0x5+-parseInt(_0x570f05(0x171))/0x6*(parseInt(_0x570f05(0x12d))/0x7)+-parseInt(_0x570f05(0x106))/0x8+parseInt(_0x570f05(0x160))/0x9*(parseInt(_0x570f05(0x11b))/0xa);if(_0x22333d===_0x29a0e5)break;else _0x56104e['push'](_0x56104e['shift']());}catch(_0x19de8){_0x56104e['push'](_0x56104e['shift']());}}}(_0x38ba,0x4e362));import{Plugin as _0x3aa5c7,PendingActions as _0x41c76e}from'ckeditor5/src/core.js';import{CKEditorError as _0x23f987,version as _0xb8d3f6,uid as _0x1ae758}from'ckeditor5/src/utils.js';import{Notification as _0x1d7a6a}from'ckeditor5/src/ui.js';function _0x38ba(){const _0x4eb560=['_getAffectedRoot','mySessionId','set','_sendBufferedOperationsDelayId','serverHistory','affectedSelectable','2211260afhIDN','1102352rCDbCi','cs:removeUser','editing','_shouldSendSelectionUpdate','CollaborativeEditingService','getIdOfTheLastOperation','isUndoneOperation','real-time-collaboration','change:hasDomSelection','cloudDocumentVersion','slice','operationsReceived','isPremiumPlugin','offset','stopListening','208754OAZvos','_service','metadata','selection','register','config','50IzktJq','rtc-offline','realtimecollaborationclient-sendbufferedoperations','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','has','listenTo','getConnectedSessions','change:_isPendingUpdate','compress','404','move','addOperation','setPermissions','createRoot','getRoot','_channelId','version','attributes','3857FzeEvF','lastSyncVersion','_connectService','disableReadOnlyMode','_getOperationsFromInitData','_operationIdentifier','targetPosition','remove','differ','508258XfNICi','_updateServerHistory','channelSessions','CommentsOnly','catch','fire','_bufferedOperations','clone','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_initThrowingOnDataSet','code','enqueueChange','sendOperations','_document','destroy','parse','_initSessionsHandling','filter','define','then','isEnabled','disconnect','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.','_handleReconnectionResponse','marker','_handleExternalOperations','size','_handleSendingSelectionMarkers','68XOKVpF','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.','roots','bind','_isPendingUpdate','sessionAdd:','getDocumentDetails','InsertOperation','stop','change:_isEditingAllowed','view','_authorId','_isInit','_isLoaded','2906595wJrYaE','createPositionFromPath','_addKnownRoot','isDocumentOperation','initData','startsWith','Notification','_handleInitialConnectionData','model','plugins','map','_handleServerResponse','createdAt','state','_isEditingAllowed','wasUndone','start','4338GGlXpW','message','_fetchMissingUsers','get','change:range','document:write','collaboration','_isAttached','_currentBufferDelay','affectsData','_isDisconnection','52347sREnrN','_bufferRootLoad','_handleReceivedOperations','loadRoot','getMany','length','root','showWarning','PENDING_ACTION_SENDING_DATA','disconnected','_shouldSendUpdate','rootName','collaboration.channelId','_lastServerVersion','_disconnectionOperations','setIdForTheLastOperation','connection','_sendBufferedOperations','currentDocumentSession','_baseBufferDelay','getUser','_loadRoot','_applyOperationsSet','path','connect','realtimecollaborationclient-init-connection-failed','userId','realtimecollaborationclient-init-document-already-initialized','_hasSynchronizationProblem','reconnect','pluginName','addToReconnectionStack','decompress','error','directChange','_hasSelectionChanged','_compressor','return','lastOperationId','document','getOperations','_crash','RealTimeCollaborationClient','wereChangesApplied','__className','_ignoredOperations','string','_operationToId','isOfficialPlugin','_waitUntilSynced','_refreshUserSelectionMarkers','lastOperationAcceptedAt','unregister','_knownOperations','realtimecollaborationclient-init-service-internal-error','toJSON','_pendingAction','init','collaboration-missing-channelid','sessionId','realtimecollaborationclient-init-session-connection-error','requires','_clearPendingAction','cloudServices.bundleVersion','createPositionAt','_setPendingAction','from','applyOperation','high','sessionCreatedAt','createUserMarkerOperations','addRootAttribute','removeFromReconnectionStack','forEach','realtimecollaborationclient-error','editor','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_decompressOperations','_lastSyncedOperationId','type','realtimecollaborationclient','push','includes','_handleReconnectionError','$root','history','realtimecollaborationclient-init-service-incorrect-server-operation','position','cloud-services-internal-error:\x20Not\x20connected.','batch','_offset','Synchronization\x20issue','lastDocumentSession','off','getOperationAuthor','realtimecollaborationclient-handleserverresponse','entries','reconnection:\x20flushed\x20session','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_saveOperationInBuffer','round','_connectAfterSessionHasBeenFlushed','addRoot','permissions','enableReadOnlyMode','_isConnected','end','apply','rtc-destroyed','keys','reset','cloud-services-internal-error:\x20Request\x20timeout.','insert','_disconnectService','add','ready','rootsAttributes','fromJSON','baseVersion','isReadOnly','newRange','createRange','realtimecollaborationclient-init-non-existent-root','finally','_compressOperations','409','data','_sendBufferedOperationsDelayed','Permissions','locale','addUser','markers','suppressErrorInCollaboration','_setUpDataInit','connected','multi-root-editor-root-attributes-no-root','_knownRootNames'];_0x38ba=function(){return _0x4eb560;};return _0x38ba();}import{transformSets as _0x2859bc,NoOperation as _0x5c06bc,InsertOperation as _0x47a7b8,MarkerOperation as _0x5061b7,RootAttributeOperation as _0x337b2c,OperationFactory as _0x31ae4c,History as _0x762026}from'ckeditor5/src/engine.js';import _0x4e77d8 from'./websocketgateway.js';import _0x34b968 from'./sessions.js';import _0x5781cf from'./usermarkers.js';function _0x335f(_0x22cfe4,_0x3de89c){const _0x38ba9f=_0x38ba();return _0x335f=function(_0x335f8b,_0x2486cc){_0x335f8b=_0x335f8b-0xfe;let _0x63a452=_0x38ba9f[_0x335f8b];return _0x63a452;},_0x335f(_0x22cfe4,_0x3de89c);}import{getTranslation as _0x35cf24}from'../common-translations.js';import{Compressor as _0x240f0d}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x49a288}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x4a1660,CollaborativeEditingService as _0x577aa5}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x3aa5c7{static get[_0x1bc20f(0x1b9)](){return[_0x4e77d8,_0x34b968,_0x5781cf,_0x41c76e,_0x49a288,_0x1d7a6a];}static get[_0x1bc20f(0x19a)](){const _0x459a96=_0x1bc20f;return _0x459a96(0x1a6);}static get[_0x1bc20f(0x1ac)](){return!0x0;}static get[_0x1bc20f(0x112)](){return!0x0;}get[_0x1bc20f(0x10f)](){const _0x23de12=_0x1bc20f;return this[_0x23de12(0x189)]+this[_0x23de12(0x1d6)];}get[_0x1bc20f(0x189)](){const _0x3ca0a7=_0x1bc20f;return this[_0x3ca0a7(0x103)][_0x3ca0a7(0x12b)]-this[_0x3ca0a7(0x1d6)];}get[_0x1bc20f(0x12e)](){const _0x5f1497=_0x1bc20f,_0x14ce51=this[_0x5f1497(0x103)][_0x5f1497(0x1a4)]();for(let _0x513dd7=_0x14ce51[_0x5f1497(0x181)]-0x1;_0x513dd7>=0x0;_0x513dd7--){const _0xec85c9=_0x14ce51[_0x513dd7];if(!this[_0x5f1497(0x18a)][_0x5f1497(0x11f)](_0xec85c9))return _0xec85c9[_0x5f1497(0x1f2)]+0x1-this[_0x5f1497(0x1d6)];}return 0x0;}constructor(_0x286690){const _0x508153=_0x1bc20f;if(super(_0x286690),this[_0x508153(0x1d6)]=0x0,this[_0x508153(0x1b7)]=null,this[_0x508153(0x103)]=new _0x762026(),this[_0x508153(0x1c7)][_0x508153(0x11a)][_0x508153(0x148)](_0x508153(0x177),{}),this[_0x508153(0x12a)]=this[_0x508153(0x1c7)][_0x508153(0x11a)][_0x508153(0x174)](_0x508153(0x188)),!this[_0x508153(0x12a)])throw new _0x23f987(_0x508153(0x1b6),this);const _0x750db8=_0x286690[_0x508153(0x11a)][_0x508153(0x174)](_0x508153(0x1bb))||_0xb8d3f6;this[_0x508153(0x116)]=new l[(_0x508153(0x10a))](_0x750db8,this[_0x508153(0x12a)]),this[_0x508153(0x143)]=this[_0x508153(0x1c7)][_0x508153(0x168)][_0x508153(0x1a3)],this[_0x508153(0x1a0)]=new _0x240f0d(),this[_0x508153(0x13c)]=[],this[_0x508153(0x1b1)]=new WeakSet(),this[_0x508153(0xfe)]=new Set(),this[_0x508153(0x101)](_0x508153(0x156),!0x1),this[_0x508153(0x101)](_0x508153(0x198),!0x1),this[_0x508153(0x1b4)]=null,this[_0x508153(0x19f)]=!0x1,this[_0x508153(0x102)]=null,this[_0x508153(0x18f)]=0x12c,this[_0x508153(0x179)]=this[_0x508153(0x18f)],this[_0x508153(0x1ca)]=null,this[_0x508153(0x18a)]=new WeakSet(),this[_0x508153(0x132)]=new X(this[_0x508153(0x18a)]);}[_0x1bc20f(0x1b5)](){const _0x5e592d=_0x1bc20f,_0x311127=this[_0x5e592d(0x1c7)],_0x52c068=_0x311127[_0x5e592d(0x169)][_0x5e592d(0x174)](_0x49a288),_0x45bd45=_0x311127[_0x5e592d(0x169)][_0x5e592d(0x174)](_0x4e77d8);this[_0x5e592d(0x120)](_0x52c068,_0x5e592d(0x1da),(_0x2412ce,_0xe185ed)=>{const _0x5910f4=_0x5e592d,_0x5c2a0d=_0xe185ed[0x0];_0x5c2a0d[_0x5910f4(0x15d)]&&(_0x2412ce[_0x5910f4(0x1a1)]=_0x52c068[_0x5910f4(0x190)](_0x5c2a0d[_0x5910f4(0x15d)]),_0x2412ce[_0x5910f4(0x15a)]()),null===_0x5c2a0d[_0x5910f4(0x15d)]&&(_0x2412ce[_0x5910f4(0x1a1)]=null,_0x2412ce[_0x5910f4(0x15a)]());},{'priority':_0x5e592d(0x1c0)}),this[_0x5e592d(0x120)](_0x311127[_0x5e592d(0x168)][_0x5e592d(0x1a3)][_0x5e592d(0x118)],_0x5e592d(0x175),(_0x12c9fa,_0x9502e2)=>{const _0x202f85=_0x5e592d;_0x9502e2[_0x202f85(0x19e)]&&this[_0x202f85(0x1ae)]();}),this[_0x5e592d(0x120)](_0x311127[_0x5e592d(0x108)][_0x5e592d(0x15c)],_0x5e592d(0x10e),()=>{const _0x542259=_0x5e592d;this[_0x542259(0x1ae)]();}),this[_0x5e592d(0x13f)](),_0x311127[_0x5e592d(0x168)]['on'](_0x5e592d(0x1bf),(_0x162ce7,_0xf0ae33)=>{const _0x55aaae=_0x5e592d,_0x156028=_0xf0ae33[0x0];_0x156028[_0x55aaae(0x163)]&&(this[_0x55aaae(0x1df)](_0x156028),this[_0x55aaae(0x186)]()&&this[_0x55aaae(0x1fb)]());}),this[_0x5e592d(0x201)](),this[_0x5e592d(0x155)](_0x5e592d(0x16e))['to'](_0x45bd45,_0x5e592d(0x16d),this,_0x5e592d(0x198),(_0x130f26,_0x51a7c9)=>_0x5e592d(0x202)===_0x130f26&&!_0x51a7c9),this['on'](_0x5e592d(0x15b),()=>{const _0x461e46=_0x5e592d;this[_0x461e46(0x16e)]?_0x311127[_0x461e46(0x130)](_0x461e46(0x11c)):_0x311127[_0x461e46(0x1e4)](_0x461e46(0x11c));}),this[_0x5e592d(0x16e)]?_0x311127[_0x5e592d(0x130)](_0x5e592d(0x11c)):_0x311127[_0x5e592d(0x1e4)](_0x5e592d(0x11c)),this[_0x5e592d(0x101)](_0x5e592d(0x1e5),!0x1);}async[_0x1bc20f(0x199)](){const _0xd4dbd0=_0x1bc20f,_0x33471f=this[_0xd4dbd0(0x1c7)][_0xd4dbd0(0x169)][_0xd4dbd0(0x174)](_0x34b968),_0x136b5f=this[_0xd4dbd0(0x1c7)][_0xd4dbd0(0x169)][_0xd4dbd0(0x174)](_0x4e77d8);try{this[_0xd4dbd0(0x156)]=!0x0,_0x33471f[_0xd4dbd0(0x1b0)](this[_0xd4dbd0(0x12a)]);const _0x2e08a9=await this[_0xd4dbd0(0x116)][_0xd4dbd0(0x199)](_0x136b5f[_0xd4dbd0(0x18c)],this[_0xd4dbd0(0x12e)]);await this[_0xd4dbd0(0x14d)](_0x2e08a9)&&(this[_0xd4dbd0(0x156)]=!0x1,this[_0xd4dbd0(0x1ba)]());const _0x417455=await this[_0xd4dbd0(0x116)][_0xd4dbd0(0x121)]();_0x33471f[_0xd4dbd0(0x119)](this[_0xd4dbd0(0x12a)],_0x417455),this[_0xd4dbd0(0x151)](),this[_0xd4dbd0(0x1e5)]=!0x0;}catch(_0x220ce8){if(function(_0x316a8d){const _0x14a3eb=_0xd4dbd0;return _0x14a3eb(0x124)===_0x316a8d[_0x14a3eb(0x140)];}(_0x220ce8)&&this[_0xd4dbd0(0x1b7)])await this[_0xd4dbd0(0x1e1)]();else{if(function(_0x3c5aff){const _0x4dba7d=_0xd4dbd0;return _0x4dba7d(0x1f9)===_0x3c5aff[_0x4dba7d(0x140)];}(_0x220ce8)){const _0xa84ea8=_0x35cf24(this[_0xd4dbd0(0x1c7)][_0xd4dbd0(0x1fd)],_0xd4dbd0(0x11e));this[_0xd4dbd0(0x1cf)](_0xa84ea8);}else{if(!(_0x220ce8 instanceof J))throw _0x220ce8;this[_0xd4dbd0(0x1cf)]();}}}}[_0x1bc20f(0x144)](){const _0x209af5=_0x1bc20f,_0x10ab21=this[_0x209af5(0x1c7)][_0x209af5(0x169)][_0x209af5(0x174)](_0x4e77d8),_0x440055=this[_0x209af5(0x1c7)][_0x209af5(0x169)][_0x209af5(0x174)](_0x34b968);this[_0x209af5(0x1c7)][_0x209af5(0x1e4)](_0x209af5(0x1e8)),_0x440055[_0x209af5(0x138)][_0x209af5(0x11f)](this[_0x209af5(0x12a)])&&_0x440055[_0x209af5(0x1b0)](this[_0x209af5(0x12a)]),_0x10ab21[_0x209af5(0x1c4)](this),this[_0x209af5(0x1ed)](),super[_0x209af5(0x144)]();}async[_0x1bc20f(0x14d)](_0x4a3726){const _0x37a155=_0x1bc20f;if(this[_0x37a155(0x1b7)]!==_0x4a3726[_0x37a155(0x1b7)]&&this[_0x37a155(0x1ca)]!==_0x4a3726[_0x37a155(0x1a2)])throw new J();return this[_0x37a155(0x1b7)]=_0x4a3726[_0x37a155(0x1b7)],this[_0x37a155(0x16b)]([],{..._0x4a3726,'wereChangesApplied':!0x1,'data':_0x4a3726[_0x37a155(0x1fa)]},_0x37a155(0x199));}async[_0x1bc20f(0x12f)](_0x477eef,_0x34e075=!0x1){const _0x4c87e7=_0x1bc20f,{connection:_0x29a25a}=this[_0x4c87e7(0x1c7)][_0x4c87e7(0x169)][_0x4c87e7(0x174)](_0x4e77d8);l[_0x4c87e7(0x10a)][_0x4c87e7(0x121)](_0x29a25a,this[_0x4c87e7(0x12a)])[_0x4c87e7(0x149)](_0x1af7f8=>this[_0x4c87e7(0x146)](_0x1af7f8))[_0x4c87e7(0x13a)](_0x301bc1=>{const _0x486c49=_0x4c87e7;this[_0x486c49(0x1a5)](_0x486c49(0x1b8),_0x301bc1);}),this[_0x4c87e7(0x120)](this[_0x4c87e7(0x116)],_0x4c87e7(0x111),this[_0x4c87e7(0x17e)][_0x4c87e7(0x155)](this)),this[_0x4c87e7(0x120)](this[_0x4c87e7(0x116)],_0x4c87e7(0x19d),(_0x1b6ba3,_0x4ae20d)=>{const _0x11123f=_0x4c87e7;this[_0x11123f(0x1a5)](_0x11123f(0x1b2),_0x4ae20d);}),this[_0x4c87e7(0x120)](this[_0x4c87e7(0x116)],_0x4c87e7(0x185),()=>{const _0xd97578=_0x4c87e7;this[_0xd97578(0x1e5)]=!0x1;});const _0x4cc0a0=this[_0x4c87e7(0x132)][_0x4c87e7(0x10b)](_0x477eef);this[_0x4c87e7(0x156)]=!0x0;const _0xccea68=await this[_0x4c87e7(0x116)][_0x4c87e7(0x194)](_0x29a25a,this[_0x4c87e7(0x1f8)](_0x477eef),_0x4cc0a0);if(this[_0x4c87e7(0x1b7)]=_0xccea68[_0x4c87e7(0x1b7)],_0x34e075){if(!_0xccea68[_0x4c87e7(0x1a7)])return void this[_0x4c87e7(0x1cf)]();this[_0x4c87e7(0x156)]=!0x1,this[_0x4c87e7(0x1ba)](),this[_0x4c87e7(0x103)][_0x4c87e7(0x1ea)](),this[_0x4c87e7(0x1d6)]=_0xccea68[_0x4c87e7(0x113)],this[_0x4c87e7(0x103)][_0x4c87e7(0x12b)]=this[_0x4c87e7(0x1d6)],await this[_0x4c87e7(0x16b)](_0x477eef,_0xccea68,_0x4c87e7(0x1dd));}else await this[_0x4c87e7(0x167)](_0xccea68,_0x477eef);this[_0x4c87e7(0x151)](),this[_0x4c87e7(0x1e5)]=!0x0;}[_0x1bc20f(0x151)](){const _0x8fc4a5=_0x1bc20f,_0x8d920d=this[_0x8fc4a5(0x1c7)][_0x8fc4a5(0x169)][_0x8fc4a5(0x174)](_0x34b968),_0x837e7d=this[_0x8fc4a5(0x1c7)][_0x8fc4a5(0x169)][_0x8fc4a5(0x174)](_0x5781cf),_0x3d1595=_0x8d920d[_0x8fc4a5(0x138)][_0x8fc4a5(0x174)](this[_0x8fc4a5(0x12a)]);_0x3d1595&&_0x3d1595[_0x8fc4a5(0x181)]>0x1?_0x837e7d[_0x8fc4a5(0x1c2)]():this[_0x8fc4a5(0x120)](_0x8d920d,_0x8fc4a5(0x157)+this[_0x8fc4a5(0x12a)],()=>{const _0x355a03=_0x8fc4a5;0x2===_0x8d920d[_0x355a03(0x138)][_0x355a03(0x174)](this[_0x355a03(0x12a)])[_0x355a03(0x181)]&&_0x837e7d[_0x355a03(0x1c2)]();});}async[_0x1bc20f(0x17e)](_0x2d3078,_0x203d81,_0x41e861,_0x4a1f25){const _0x42b207=_0x1bc20f;if(!this[_0x42b207(0x156)]&&this[_0x42b207(0x143)][_0x42b207(0x12b)]==_0x203d81){const _0x40ba2c=this[_0x42b207(0x1c9)](_0x41e861,_0x4a1f25);await this[_0x42b207(0x173)](_0x40ba2c),this[_0x42b207(0x14f)](_0x40ba2c,_0x203d81,_0x41e861[_0x42b207(0x1a2)])||this[_0x42b207(0x1a5)](_0x42b207(0x1d2));}}async[_0x1bc20f(0x1e1)](){const _0x1650c7=_0x1bc20f;this[_0x1650c7(0x1ed)]();const {locale:_0x101466}=this[_0x1650c7(0x1c7)];let _0x4984ed;try{_0x4984ed=await this[_0x1650c7(0x116)][_0x1650c7(0x158)]();}catch(_0x2e02c0){const _0xe9b69d=_0x35cf24(_0x101466,_0x1650c7(0x1de));return void this[_0x1650c7(0x1cf)](_0xe9b69d);}const _0x5dcec2=_0x4984ed[_0x1650c7(0x18e)]||_0x4984ed[_0x1650c7(0x1d8)];if(this[_0x1650c7(0x1ca)]===_0x5dcec2[_0x1650c7(0x1a2)])await this[_0x1650c7(0x12f)](this[_0x1650c7(0x1c7)][_0x1650c7(0x168)][_0x1650c7(0x1a3)][_0x1650c7(0x1d1)][_0x1650c7(0x1a4)](),!0x0);else{const _0x3b4857=_0x35cf24(_0x101466,_0x1650c7(0x14c));this[_0x1650c7(0x1cf)](_0x3b4857);}}[_0x1bc20f(0x1ed)](){const _0x22a3fb=_0x1bc20f;this[_0x22a3fb(0x116)][_0x22a3fb(0x14b)](),this[_0x22a3fb(0x13c)]=[],clearTimeout(this[_0x22a3fb(0x102)]),this[_0x22a3fb(0x114)](this[_0x22a3fb(0x116)]);}[_0x1bc20f(0x146)](_0x59f74d){const _0x2f6f82=_0x1bc20f,_0x1f07f3=this[_0x2f6f82(0x1c7)][_0x2f6f82(0x169)][_0x2f6f82(0x174)](_0x34b968);this[_0x2f6f82(0x120)](_0x1f07f3,_0x2f6f82(0x157)+this[_0x2f6f82(0x12a)],(_0x561b0e,{session:_0x13953d})=>{const _0x484405=_0x2f6f82;if(_0x13953d['id']===_0x1f07f3[_0x484405(0x100)]){_0x561b0e[_0x484405(0x1d9)]();const _0x3aa650=this[_0x484405(0x1c7)][_0x484405(0x169)][_0x484405(0x11f)](_0x484405(0x139))&&this[_0x484405(0x1c7)][_0x484405(0x169)][_0x484405(0x174)](_0x484405(0x139));let _0x69569d=_0x13953d[_0x484405(0x1e3)];_0x3aa650&&_0x3aa650[_0x484405(0x14a)]&&(_0x69569d=_0x69569d[_0x484405(0x147)](_0xb765f=>_0x484405(0x176)!==_0xb765f)),this[_0x484405(0x1c7)][_0x484405(0x169)][_0x484405(0x174)](_0x484405(0x1fc))[_0x484405(0x127)](_0x69569d,this[_0x484405(0x12a)]);}}),_0x1f07f3[_0x2f6f82(0x119)](this[_0x2f6f82(0x12a)],_0x59f74d);}[_0x1bc20f(0x13f)](){const _0x13a1f6=_0x1bc20f,_0x366684=this[_0x13a1f6(0x1c7)][_0x13a1f6(0x1fa)][_0x13a1f6(0x101)];this[_0x13a1f6(0x1c7)][_0x13a1f6(0x1fa)][_0x13a1f6(0x101)]=(..._0x4a99ac)=>{const _0xd551e7=_0x13a1f6;if(!_0x4a99ac[_0x4a99ac[_0xd551e7(0x181)]-0x1][_0xd551e7(0x200)])throw new _0x23f987(_0xd551e7(0x13e),this);_0x366684[_0xd551e7(0x1e7)](this[_0xd551e7(0x1c7)][_0xd551e7(0x1fa)],_0x4a99ac);};}[_0x1bc20f(0x201)](){const _0x528190=_0x1bc20f;this[_0x528190(0x1c7)][_0x528190(0x1fa)]['on'](_0x528190(0x1b5),(_0x514d3f,[_0x128fa1])=>{const _0x5c214e=_0x528190;if(this[_0x5c214e(0x143)][_0x5c214e(0x12b)])throw new _0x23f987(_0x5c214e(0x197),this);_0x514d3f[_0x5c214e(0x15a)](),this[_0x5c214e(0x1bd)]();const _0x5ddda7=this[_0x5c214e(0x1c7)][_0x5c214e(0x11a)][_0x5c214e(0x174)](_0x5c214e(0x1f0)),_0x170f03=this[_0x5c214e(0x131)](_0x128fa1,_0x5ddda7);0x0==_0x170f03[_0x5c214e(0x181)]&&_0x170f03[_0x5c214e(0x1cd)](new _0x5c06bc(0x0)),_0x514d3f[_0x5c214e(0x1a1)]=this[_0x5c214e(0x12f)](_0x170f03)[_0x5c214e(0x149)](()=>{const _0xad4da9=_0x5c214e;this[_0xad4da9(0x1c7)][_0xad4da9(0x169)][_0xad4da9(0x174)](_0x4e77d8)[_0xad4da9(0x19b)](this),this[_0xad4da9(0x1c7)][_0xad4da9(0x1fa)][_0xad4da9(0x13b)](_0xad4da9(0x1ef));})[_0x5c214e(0x13a)](_0x13e65c=>this[_0x5c214e(0x1a5)](_0x5c214e(0x195),_0x13e65c))[_0x5c214e(0x1f7)](()=>this[_0x5c214e(0x1ba)]());},{'priority':_0x528190(0x1c0)}),this[_0x528190(0x1c7)]['on'](_0x528190(0x17f),async(_0x537cd3,[_0x4d08b7,_0x2dd29d])=>{const _0x1af038=_0x528190;_0x537cd3[_0x1af038(0x15a)]();const _0x2abd63=this[_0x1af038(0x1c7)][_0x1af038(0x168)][_0x1af038(0x1a3)][_0x1af038(0x129)](_0x4d08b7);if(!this[_0x1af038(0xfe)][_0x1af038(0x11f)](_0x4d08b7)){const _0x12430b=_0x2dd29d&&_0x2dd29d[_0x1af038(0x1fa)]?_0x2dd29d[_0x1af038(0x1fa)]:'',_0x482cee=_0x2dd29d&&_0x2dd29d[_0x1af038(0x12c)]?_0x2dd29d[_0x1af038(0x12c)]:{};await this[_0x1af038(0x191)](_0x4d08b7,_0x12430b,_0x482cee);}this[_0x1af038(0x1c7)][_0x1af038(0x168)][_0x1af038(0x141)]({'isUndoable':!0x1},()=>{const _0x341d91=_0x1af038;_0x2abd63[_0x341d91(0x15f)]=!0x0,this[_0x341d91(0x1c7)][_0x341d91(0x168)][_0x341d91(0x1a3)][_0x341d91(0x135)][_0x341d91(0x17d)](_0x2abd63);});},{'priority':_0x528190(0x1c0)});}async[_0x1bc20f(0x173)](_0x25e3a0){const _0x61c440=_0x1bc20f,_0x3a825a=this[_0x61c440(0x1c7)][_0x61c440(0x169)][_0x61c440(0x174)](_0x49a288),{connection:_0xe13a8d}=this[_0x61c440(0x1c7)][_0x61c440(0x169)][_0x61c440(0x174)](_0x4e77d8),_0x251c07=new Set();for(const _0x1c6e0e of _0x25e3a0){const _0x39aec0=_0x1c6e0e[_0x61c440(0x15d)];_0x39aec0&&!_0x3a825a[_0x61c440(0x190)](_0x39aec0)&&_0x251c07[_0x61c440(0x1ee)](_0x39aec0);}if(0x0===_0x251c07[_0x61c440(0x150)])return;const _0x29092b=await _0x4a1660[_0x61c440(0x180)](_0xe13a8d,Array[_0x61c440(0x1be)](_0x251c07));for(const _0x52bef4 of _0x29092b)_0x3a825a[_0x61c440(0x190)](_0x52bef4['id'])||_0x3a825a[_0x61c440(0x1fe)](_0x52bef4);}[_0x1bc20f(0x131)](_0xd6ae5e,_0x1e22b1={}){const _0x507521=_0x1bc20f,_0x8d826=this[_0x507521(0x1c7)][_0x507521(0x168)],_0x408d0f=[];let _0x39aee9=0x0;const _0x309261=_0x507521(0x1aa)==typeof _0xd6ae5e?{'main':_0xd6ae5e}:_0xd6ae5e;for(const _0x2b19de of Object[_0x507521(0x1e9)](_0x309261)){if(!this[_0x507521(0x143)][_0x507521(0x154)][_0x507521(0x11f)](_0x2b19de))throw new _0x23f987(_0x507521(0x1f6),this);const _0x3df0cd=this[_0x507521(0x1c7)][_0x507521(0x1fa)][_0x507521(0x145)](_0x309261[_0x2b19de]),_0x166a8c=this[_0x507521(0x143)][_0x507521(0x129)](_0x2b19de),_0x10be86=new _0x47a7b8(_0x8d826[_0x507521(0x1bc)](_0x166a8c,0x0),_0x3df0cd,_0x39aee9++);_0x408d0f[_0x507521(0x1cd)](_0x10be86);for(const [_0x1a7a61,_0x272b29]of _0x3df0cd[_0x507521(0x1ff)]){const _0x5cae86=_0x8d826[_0x507521(0x1f5)](_0x8d826[_0x507521(0x161)](_0x166a8c,_0x272b29[_0x507521(0x170)][_0x507521(0x193)][_0x507521(0x110)]()),_0x8d826[_0x507521(0x161)](_0x166a8c,_0x272b29[_0x507521(0x1e6)][_0x507521(0x193)][_0x507521(0x110)]())),_0x17ada7=new _0x5061b7(_0x1a7a61,null,_0x5cae86,_0x8d826[_0x507521(0x1ff)],!0x0,_0x39aee9++);_0x408d0f[_0x507521(0x1cd)](_0x17ada7);}}if(_0x1e22b1)for(const [_0x709ce0,_0x33e699]of Object[_0x507521(0x1dc)](_0x1e22b1)){const _0x23bcca=_0x8d826[_0x507521(0x1a3)][_0x507521(0x129)](_0x709ce0);if(!_0x23bcca)throw new _0x23f987(_0x507521(0x203),null);for(const [_0x1a1634,_0x333e95]of Object[_0x507521(0x1dc)](_0x33e699))if(null!==_0x333e95){const _0x59b14a=new _0x337b2c(_0x23bcca,_0x1a1634,null,_0x333e95,_0x39aee9++);_0x408d0f[_0x507521(0x1cd)](_0x59b14a);}}return _0x408d0f;}async[_0x1bc20f(0x191)](_0x47994d,_0x447d06,_0x21225e){const _0x24ec6b=_0x1bc20f;this[_0x24ec6b(0x131)]({[_0x47994d]:_0x447d06},{[_0x47994d]:_0x21225e})[_0x24ec6b(0x1c5)]((_0xdcf59a,_0x27ce74)=>{const _0x534210=_0x24ec6b;_0xdcf59a[_0x534210(0x1f2)]=this[_0x534210(0x143)][_0x534210(0x12b)]+_0x27ce74,_0xdcf59a[_0x534210(0x15e)]=!0x0,this[_0x534210(0x1df)](_0xdcf59a);}),this[_0x24ec6b(0x1fb)](),await this[_0x24ec6b(0x1ad)]();}async[_0x1bc20f(0x167)](_0x29b22f,_0x2747a8){const _0x45b954=_0x1bc20f;let _0xfe704;this[_0x45b954(0x1d6)]=_0x29b22f[_0x45b954(0x113)];const _0x1a1d20=_0x29b22f[_0x45b954(0x1a7)]&&!_0x29b22f[_0x45b954(0x164)],_0x4bbb1d=_0x1a1d20?0x0:_0x29b22f[_0x45b954(0x1fa)][_0x45b954(0x1f2)];if(_0x2747a8[_0x45b954(0x1c5)](_0x31dec6=>{const _0x5241f8=_0x45b954;_0x31dec6[_0x5241f8(0x15e)]=!0x0,_0x31dec6[_0x5241f8(0x16c)]=_0x29b22f[_0x5241f8(0x1c1)],_0x31dec6[_0x5241f8(0x15d)]=null;}),_0x1a1d20)_0xfe704=_0x2747a8,this[_0x45b954(0x192)](_0xfe704,_0x1a1d20);else{if(_0x29b22f[_0x45b954(0x164)]){const _0x516ba2=this[_0x45b954(0x131)](_0x29b22f[_0x45b954(0x164)]);this[_0x45b954(0x143)][_0x45b954(0x1d1)][_0x45b954(0x12b)]=-_0x516ba2[_0x45b954(0x181)],_0x516ba2[_0x45b954(0x1c5)](_0x123e63=>{const _0xf759c9=_0x45b954;_0x123e63[_0xf759c9(0x1f2)]-=_0x516ba2[_0xf759c9(0x181)],_0x123e63[_0xf759c9(0x16c)]=_0x29b22f[_0xf759c9(0x1c1)],_0x123e63[_0xf759c9(0x15e)]=!0x0,_0x123e63[_0xf759c9(0x15d)]=null;}),this[_0x45b954(0x192)](_0x516ba2,!0x0),this[_0x45b954(0x103)][_0x45b954(0x12b)]=-_0x516ba2[_0x45b954(0x181)]+this[_0x45b954(0x1d6)],this[_0x45b954(0x137)](_0x516ba2);}this[_0x45b954(0x143)][_0x45b954(0x1d1)][_0x45b954(0x12b)]=_0x4bbb1d,_0xfe704=this[_0x45b954(0x1c9)](_0x29b22f[_0x45b954(0x1fa)],_0x29b22f[_0x45b954(0x117)]),await this[_0x45b954(0x173)](_0xfe704),this[_0x45b954(0x192)](_0xfe704,_0x1a1d20);}_0x29b22f[_0x45b954(0x1a2)]&&(this[_0x45b954(0x132)][_0x45b954(0x18b)](_0xfe704,_0x29b22f[_0x45b954(0x1a2)]),this[_0x45b954(0x1ca)]=_0x29b22f[_0x45b954(0x1a2)]),this[_0x45b954(0x103)][_0x45b954(0x12b)]=_0x4bbb1d+this[_0x45b954(0x1d6)],this[_0x45b954(0x137)](_0xfe704),_0x2747a8[_0x45b954(0x147)](_0x494318=>{const _0x3cd2a8=_0x45b954,_0x5c2879=this[_0x3cd2a8(0xff)](_0x494318);return _0x5c2879&&!this[_0x3cd2a8(0xfe)][_0x3cd2a8(0x11f)](_0x5c2879);})[_0x45b954(0x1c5)]((_0x7c0d96,_0x36e78a)=>{const _0x1c5651=_0x45b954;_0x7c0d96[_0x1c5651(0x1f2)]=this[_0x1c5651(0x143)][_0x1c5651(0x12b)]+_0x36e78a,this[_0x1c5651(0x1df)](_0x7c0d96);}),this[_0x45b954(0x186)]()?(this[_0x45b954(0x179)]=0x0,this[_0x45b954(0x1fb)](!0x0),await this[_0x45b954(0x1ad)]()):(this[_0x45b954(0x156)]=!0x1,this[_0x45b954(0x1ba)]());}[_0x1bc20f(0x1a5)](_0x2489ba,_0xfd7b12){const _0x290b21=_0x1bc20f,_0x480325=_0xfd7b12&&_0xfd7b12[_0x290b21(0x172)];if(_0x480325&&_0x480325[_0x290b21(0x165)](_0x290b21(0x1cc)))throw _0xfd7b12;const _0x4f4cf3=this[_0x290b21(0x1c7)][_0x290b21(0x169)][_0x290b21(0x174)](_0x4e77d8);throw this[_0x290b21(0x156)]=!0x0,_0x4f4cf3[_0x290b21(0x14b)](),this[_0x290b21(0x1c7)][_0x290b21(0x1e4)](_0x290b21(0x1c6)),new _0x23f987(_0x2489ba,this[_0x290b21(0x1c7)],_0x480325?{'originalError':_0x480325}:void 0x0);}[_0x1bc20f(0x1df)](_0x41624d){const _0x574151=_0x1bc20f;this[_0x574151(0x1b1)][_0x574151(0x11f)](_0x41624d)||(this[_0x574151(0x1b1)][_0x574151(0x1ee)](_0x41624d),this[_0x574151(0x13c)][_0x574151(0x1cd)](_0x41624d),this[_0x574151(0x1b4)]||_0x574151(0x14e)==_0x41624d[_0x574151(0x1cb)]&&!_0x41624d[_0x574151(0x17a)]||this[_0x574151(0x1bd)]());}[_0x1bc20f(0x1fb)](_0x50a941=!0x1){const _0x4268eb=_0x1bc20f;!_0x50a941&&this[_0x4268eb(0x156)]||(this[_0x4268eb(0x156)]=!0x0,clearTimeout(this[_0x4268eb(0x102)]),this[_0x4268eb(0x102)]=setTimeout(()=>{const _0x234032=_0x4268eb;this[_0x234032(0x18d)]()[_0x234032(0x149)](_0x3a0d5c=>{const _0x53f099=_0x234032;_0x3a0d5c&&(this[_0x53f099(0x1ba)](),this[_0x53f099(0x156)]=!0x1);})[_0x234032(0x13a)](_0x9c4029=>{const _0x45468d=_0x234032;this[_0x45468d(0x1ba)](),this[_0x45468d(0x156)]=!0x1,function(_0x272002){const _0x186f06=_0x45468d;return _0x272002[_0x186f06(0x172)][_0x186f06(0x165)](_0x186f06(0x1d4))||_0x272002[_0x186f06(0x172)][_0x186f06(0x165)](_0x186f06(0x1c8))||_0x272002[_0x186f06(0x172)][_0x186f06(0x165)](_0x186f06(0x1eb));}(_0x9c4029)||this[_0x45468d(0x1a5)](_0x9c4029[_0x45468d(0x172)],_0x9c4029);});},this[_0x4268eb(0x179)]));}[_0x1bc20f(0x1ad)](){return new Promise(_0x2304a8=>{const _0x2ed8c0=_0x335f;this['on'](_0x2ed8c0(0x122),()=>{_0x2304a8();});});}async[_0x1bc20f(0x18d)](){const _0x3c510f=_0x1bc20f,_0x5682ee=this[_0x3c510f(0x1c7)][_0x3c510f(0x169)][_0x3c510f(0x174)](_0x5781cf);if(this[_0x3c510f(0x109)]()&&(_0x5682ee[_0x3c510f(0x1c2)](),this[_0x3c510f(0x19f)]=!0x1),!this[_0x3c510f(0x186)]())return!0x0;const _0x97133e=[...this[_0x3c510f(0x13c)]];for(const _0x23a884 of _0x97133e)_0x23a884[_0x3c510f(0x16f)]=this[_0x3c510f(0x143)][_0x3c510f(0x1d1)][_0x3c510f(0x10c)](_0x23a884);const _0x5b997b=this[_0x3c510f(0x132)][_0x3c510f(0x10b)](_0x97133e),_0x40b65c=K++,_0x5a09de=this[_0x3c510f(0x1f8)](_0x97133e),_0x140d4c=await this[_0x3c510f(0x116)][_0x3c510f(0x142)](_0x5a09de,_0x5a09de[_0x3c510f(0x1f2)],_0x5b997b);try{return await this[_0x3c510f(0x16b)](_0x97133e,_0x140d4c,_0x40b65c);}catch(_0x21cfd5){return this[_0x3c510f(0x1a5)](_0x3c510f(0x11d),_0x21cfd5);}}async[_0x1bc20f(0x16b)](_0x4115df,_0x55474d,_0x5a626b){const _0x5c4bc6=_0x1bc20f;if(_0x5c4bc6(0x19d)in _0x55474d)throw _0x55474d[_0x5c4bc6(0x19d)];let _0x2c1578=!0x1;if(_0x55474d[_0x5c4bc6(0x1a7)]){_0x55474d[_0x5c4bc6(0x1a2)]&&(this[_0x5c4bc6(0x1ca)]=_0x55474d[_0x5c4bc6(0x1a2)]),this[_0x5c4bc6(0x13c)]=this[_0x5c4bc6(0x13c)][_0x5c4bc6(0x147)](_0x3e5879=>!_0x4115df[_0x5c4bc6(0x1ce)](_0x3e5879));for(const _0x252aba of _0x4115df)_0x252aba[_0x5c4bc6(0x16c)]=_0x5c4bc6(0x1af)in _0x55474d&&_0x55474d[_0x5c4bc6(0x1af)]||void 0x0;Q(_0x4115df,_0x55474d[_0x5c4bc6(0x12b)]-_0x4115df[_0x5c4bc6(0x181)]),this[_0x5c4bc6(0x137)](_0x4115df);const _0x14753f=_0x4115df[_0x5c4bc6(0x147)](_0x59bdba=>{const _0x212673=_0x5c4bc6;if(!_0x59bdba[_0x212673(0x15e)])return!0x1;const _0x591bba=this[_0x212673(0xff)](_0x59bdba);return _0x591bba&&!this[_0x212673(0xfe)][_0x212673(0x11f)](_0x591bba);});Q(_0x14753f,this[_0x5c4bc6(0x143)][_0x5c4bc6(0x12b)]),this[_0x5c4bc6(0x192)](_0x14753f),_0x2c1578=!0x0,this[_0x5c4bc6(0x179)]=this[_0x5c4bc6(0x18f)];}else{const _0x5ca958=this[_0x5c4bc6(0x1c9)](_0x55474d[_0x5c4bc6(0x1fa)],_0x55474d[_0x5c4bc6(0x117)])[_0x5c4bc6(0x147)](_0x389c45=>_0x389c45[_0x5c4bc6(0x1f2)]>=this[_0x5c4bc6(0x189)]);_0x5ca958[_0x5c4bc6(0x1c5)](_0x36995d=>this[_0x5c4bc6(0x162)](_0x36995d)),this[_0x5c4bc6(0x13c)]=this[_0x5c4bc6(0x13c)][_0x5c4bc6(0x147)](_0x23fc1b=>!_0x23fc1b[_0x5c4bc6(0x15e)]||!this[_0x5c4bc6(0xfe)][_0x5c4bc6(0x11f)](this[_0x5c4bc6(0xff)](_0x23fc1b))),this[_0x5c4bc6(0x13c)][_0x5c4bc6(0x181)]&&Q(this[_0x5c4bc6(0x13c)],this[_0x5c4bc6(0x13c)][0x0][_0x5c4bc6(0x1f2)]),await this[_0x5c4bc6(0x173)](_0x5ca958),_0x2c1578=this[_0x5c4bc6(0x14f)](_0x5ca958,_0x55474d[_0x5c4bc6(0x12b)],_0x55474d[_0x5c4bc6(0x1a2)]),this[_0x5c4bc6(0x179)]=Math[_0x5c4bc6(0x1e0)](this[_0x5c4bc6(0x179)]/0x2);}return _0x2c1578?!this[_0x5c4bc6(0x186)]()||(this[_0x5c4bc6(0x1fb)](!0x0),!0x1):this[_0x5c4bc6(0x1a5)](_0x5c4bc6(0x1db));}[_0x1bc20f(0x14f)](_0xca51e0,_0x1018e0,_0x4d4d4c){const _0x19dd20=_0x1bc20f;try{const _0x2cfc80={'document':this[_0x19dd20(0x143)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x5ba21f,operationsB:_0x14a588,originalOperations:_0x3a65bb}=_0x2859bc(_0xca51e0,this[_0x19dd20(0x13c)],_0x2cfc80);Q(_0x5ba21f,this[_0x19dd20(0x143)][_0x19dd20(0x12b)]),Q(_0x14a588,_0x1018e0);for(const _0xcaf0b9 of _0x5ba21f){const _0x45a1d5=_0x3a65bb[_0x19dd20(0x174)](_0xcaf0b9);_0xcaf0b9[_0x19dd20(0x15d)]=_0x45a1d5?_0x45a1d5[_0x19dd20(0x15d)]:null;}_0x4d4d4c&&(this[_0x19dd20(0x132)][_0x19dd20(0x18b)](_0xca51e0,_0x4d4d4c),this[_0x19dd20(0x1ca)]=_0x4d4d4c),this[_0x19dd20(0x13c)]=[..._0x14a588],this[_0x19dd20(0x192)](_0x5ba21f),this[_0x19dd20(0x137)](_0xca51e0);}catch(_0x28c26a){return console[_0x19dd20(0x19d)](_0x28c26a),!0x1;}return!0x0;}[_0x1bc20f(0x192)](_0x4ea071,_0x11b47b=!0x1){const _0x2972d6=_0x1bc20f;this[_0x2972d6(0x1c7)][_0x2972d6(0x168)][_0x2972d6(0x141)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5d8d30=>{const _0x4ada46=_0x2972d6;for(const _0x4d48a7 of _0x4ea071)this[_0x4ada46(0x1b1)][_0x4ada46(0x1ee)](_0x4d48a7),this[_0x4ada46(0x162)](_0x4d48a7),_0x5d8d30[_0x4ada46(0x1d5)][_0x4ada46(0x126)](_0x4d48a7),this[_0x4ada46(0x1c7)][_0x4ada46(0x168)][_0x4ada46(0x1bf)](_0x4d48a7);});}[_0x1bc20f(0x162)](_0x3c3e13){const _0x3af88d=_0x1bc20f,_0x1728e1=this[_0x3af88d(0xff)](_0x3c3e13);_0x1728e1&&this[_0x3af88d(0xfe)][_0x3af88d(0x1ee)](_0x1728e1);}[_0x1bc20f(0xff)](_0x50e418){const _0x20fea3=_0x1bc20f;let _0x1eb330,_0x347c43;switch(_0x50e418[_0x20fea3(0x1cb)]){case _0x20fea3(0x1ec):_0x1eb330=_0x50e418[_0x20fea3(0x1d3)][_0x20fea3(0x182)];break;case _0x20fea3(0x14e):if(_0x347c43=_0x50e418[_0x20fea3(0x1f4)],!_0x347c43)return null;_0x1eb330=_0x347c43[_0x20fea3(0x182)];break;case _0x20fea3(0x1c3):_0x1eb330=_0x50e418[_0x20fea3(0x182)];break;case _0x20fea3(0x1e2):_0x1eb330=_0x50e418[_0x20fea3(0x104)];break;case _0x20fea3(0x125):_0x1eb330=_0x50e418[_0x20fea3(0x133)][_0x20fea3(0x182)];break;default:return null;}return _0x1eb330[_0x20fea3(0x187)];}[_0x1bc20f(0x137)](_0x1bd2e8){const _0x5d7a87=_0x1bc20f;_0x1bd2e8[_0x5d7a87(0x1c5)](_0x4099db=>{const _0x2833d2=_0x5d7a87,_0xce67e0=_0x4099db[_0x2833d2(0x13d)]();_0xce67e0[_0x2833d2(0x15d)]=_0x4099db[_0x2833d2(0x15d)],_0xce67e0[_0x2833d2(0x15e)]=!!_0x4099db[_0x2833d2(0x15e)],_0xce67e0[_0x2833d2(0x16c)]=_0x4099db[_0x2833d2(0x16c)],_0xce67e0[_0x2833d2(0x1f2)]+=this[_0x2833d2(0x1d6)],_0x4099db[_0x2833d2(0x17b)]&&this[_0x2833d2(0x18a)][_0x2833d2(0x1ee)](_0xce67e0),this[_0x2833d2(0x103)][_0x2833d2(0x126)](_0xce67e0);});}[_0x1bc20f(0x1cf)](_0x32fdbe){const _0x34dfef=_0x1bc20f,_0xf77737=this[_0x34dfef(0x1c7)][_0x34dfef(0x169)][_0x34dfef(0x174)](_0x34dfef(0x166)),_0x33dde5=this[_0x34dfef(0x1c7)][_0x34dfef(0x1fd)];_0x32fdbe||(_0x32fdbe=_0x35cf24(_0x33dde5,_0x34dfef(0x153))),_0xf77737[_0x34dfef(0x183)](_0x32fdbe,{'title':_0x35cf24(_0x33dde5,_0x34dfef(0x1d7)),'namespace':_0x34dfef(0x10d)}),this[_0x34dfef(0x198)]=!0x0,clearTimeout(this[_0x34dfef(0x102)]),this[_0x34dfef(0x13c)]=[],this[_0x34dfef(0x1c7)][_0x34dfef(0x169)][_0x34dfef(0x174)](_0x4e77d8)[_0x34dfef(0x14b)]();}[_0x1bc20f(0x1bd)](){const _0x110e18=_0x1bc20f;this[_0x110e18(0x1b4)]||(this[_0x110e18(0x1b4)]=this[_0x110e18(0x1c7)][_0x110e18(0x169)][_0x110e18(0x174)](_0x41c76e)[_0x110e18(0x1ee)](_0x35cf24(this[_0x110e18(0x1c7)][_0x110e18(0x1fd)],_0x110e18(0x184))));}[_0x1bc20f(0x1ba)](){const _0x589bb5=_0x1bc20f;this[_0x589bb5(0x1b4)]&&(this[_0x589bb5(0x1c7)][_0x589bb5(0x169)][_0x589bb5(0x174)](_0x41c76e)[_0x589bb5(0x134)](this[_0x589bb5(0x1b4)]),this[_0x589bb5(0x1b4)]=null);}[_0x1bc20f(0x1f8)](_0x48c61c){const _0x34b1a0=_0x1bc20f,_0x7e706c=_0x48c61c[_0x34b1a0(0x16a)](_0x4eaa07=>_0x4eaa07[_0x34b1a0(0x1b3)]());return this[_0x34b1a0(0x1a0)][_0x34b1a0(0x123)](_0x7e706c);}[_0x1bc20f(0x1c9)](_0x1ef99a,_0x40ff2a){const _0x55d92e=_0x1bc20f;return this[_0x55d92e(0x1a0)][_0x55d92e(0x19c)](_0x1ef99a)[_0x55d92e(0x16a)]((_0x33dd13,_0xa3d93c)=>{const _0x1fca74=_0x55d92e,_0x595b97=_0x1fca74(0x1b5)==_0x40ff2a[_0xa3d93c][_0x1fca74(0x1cb)];if(_0x1fca74(0x159)==_0x33dd13[_0x1fca74(0x1a8)]){const _0x5e1ad4=_0x33dd13[_0x1fca74(0x1d3)][_0x1fca74(0x182)];!this[_0x1fca74(0x143)][_0x1fca74(0x129)](_0x5e1ad4)&&(this[_0x1fca74(0x143)][_0x1fca74(0x128)](_0x1fca74(0x1d0),_0x5e1ad4)[_0x1fca74(0x178)]=!0x1);}const _0x234a1f=_0x31ae4c[_0x1fca74(0x1f1)](_0x33dd13,this[_0x1fca74(0x143)]);return _0x234a1f[_0x1fca74(0x16f)]=_0x33dd13[_0x1fca74(0x16f)],_0x234a1f[_0x1fca74(0x15e)]=_0x595b97,_0x234a1f[_0x1fca74(0x15d)]=_0x595b97?null:_0x40ff2a[_0xa3d93c][_0x1fca74(0x196)],_0x234a1f[_0x1fca74(0x17b)]=_0x1fca74(0x107)===_0x40ff2a[_0xa3d93c][_0x1fca74(0x1cb)],_0x234a1f[_0x1fca74(0x16c)]=_0x40ff2a[_0xa3d93c][_0x1fca74(0x16c)],_0x234a1f;});}[_0x1bc20f(0x1ae)](){const _0x310e5e=_0x1bc20f;this[_0x310e5e(0x19f)]=!0x0,this[_0x310e5e(0x109)]()?this[_0x310e5e(0x1fb)]():this[_0x310e5e(0x19f)]=!0x1;}[_0x1bc20f(0x109)](){const _0xc6c9e3=_0x1bc20f,_0x4bd6ff=this[_0xc6c9e3(0x1c7)][_0xc6c9e3(0x169)][_0xc6c9e3(0x174)](_0x34b968)[_0xc6c9e3(0x138)][_0xc6c9e3(0x174)](this[_0xc6c9e3(0x12a)]);return!this[_0xc6c9e3(0x1c7)][_0xc6c9e3(0x1f3)]&&!!_0x4bd6ff&&_0x4bd6ff[_0xc6c9e3(0x181)]>0x1&&this[_0xc6c9e3(0x19f)];}[_0x1bc20f(0x186)](){const _0x3ffb33=_0x1bc20f;return this[_0x3ffb33(0x13c)][_0x3ffb33(0x181)]>0x0||this[_0x3ffb33(0x109)]();}}l[_0x1bc20f(0x10a)]=_0x577aa5;export default l;class J extends Error{}function Q(_0x37b07e,_0x16863d){const _0x176642=_0x1bc20f;for(const _0x3ae5c4 of _0x37b07e)_0x3ae5c4[_0x176642(0x1f2)]=_0x16863d++;}class X{constructor(_0x11c8da){const _0x5b66fb=_0x1bc20f;this[_0x5b66fb(0x1a9)]=_0x11c8da,this[_0x5b66fb(0x1ab)]=new WeakMap();}[_0x1bc20f(0x10b)](_0x2f1db1){const _0x45804d=_0x1bc20f;let _0x548b20=_0x2f1db1[_0x45804d(0x181)];for(;_0x548b20--;){const _0x2a7b62=_0x2f1db1[_0x548b20];if(!this[_0x45804d(0x1a9)][_0x45804d(0x11f)](_0x2a7b62)){if(!this[_0x45804d(0x1ab)][_0x45804d(0x11f)](_0x2a7b62)){const _0x13a2d4=_0x1ae758()[_0x45804d(0x110)](0x1,0x12);this[_0x45804d(0x1ab)][_0x45804d(0x101)](_0x2a7b62,_0x13a2d4);}return this[_0x45804d(0x1ab)][_0x45804d(0x174)](_0x2a7b62);}}}[_0x1bc20f(0x18b)](_0x3e2228,_0x37ef7f){const _0x3cd346=_0x1bc20f;if(!_0x37ef7f)return;let _0x3ac513=_0x3e2228[_0x3cd346(0x181)];for(;_0x3ac513--;){const _0x23647a=_0x3e2228[_0x3ac513];this[_0x3cd346(0x1a9)][_0x3cd346(0x11f)](_0x23647a)||this[_0x3cd346(0x1ab)][_0x3cd346(0x101)](_0x23647a,_0x37ef7f);}}}
|
|
23
|
+
const _0x28930f=_0x5375;(function(_0x1fe475,_0x209d2d){const _0x20ecb3=_0x5375,_0x3a07ee=_0x1fe475();while(!![]){try{const _0x31c5ac=-parseInt(_0x20ecb3(0x11f))/0x1+-parseInt(_0x20ecb3(0x100))/0x2+parseInt(_0x20ecb3(0x194))/0x3*(-parseInt(_0x20ecb3(0x177))/0x4)+parseInt(_0x20ecb3(0x172))/0x5*(-parseInt(_0x20ecb3(0xb2))/0x6)+-parseInt(_0x20ecb3(0x198))/0x7+-parseInt(_0x20ecb3(0xbf))/0x8+-parseInt(_0x20ecb3(0xfe))/0x9*(-parseInt(_0x20ecb3(0xca))/0xa);if(_0x31c5ac===_0x209d2d)break;else _0x3a07ee['push'](_0x3a07ee['shift']());}catch(_0x1e5103){_0x3a07ee['push'](_0x3a07ee['shift']());}}}(_0x2601,0xaef2a));function _0x2601(){const _0x47489c=['toJSON','model','createPositionAt','change:_isEditingAllowed','_sendBufferedOperations','disconnected','realtimecollaborationclient-handleserverresponse','stopListening','change:_isPendingUpdate','start','enqueueChange','_service','addOperation','getOperations','_isEditingAllowed','register','attributes','10hFvCgF','unregister','document','_isAttached','_getOperationsFromInitData','42820pwQztg','marker','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','listenTo','PENDING_ACTION_SENDING_DATA','round','addToReconnectionStack','404','_handleInitialConnectionData','lastSyncVersion','includes','_lastSyncedOperationId','getMany','disconnect','finally','decompress','mySessionId','realtimecollaborationclient-init-connection-failed','setIdForTheLastOperation','_crash','startsWith','_refreshUserSelectionMarkers','_handleExternalOperations','realtimecollaborationclient-sendbufferedoperations','entries','_decompressOperations','change:hasDomSelection','has','affectedSelectable','375Jyyute','end','set','parse','3487981GRtlNp','length','from','_lastServerVersion','history','size','applyOperation','_disconnectService','_knownRootNames','_fetchMissingUsers','multi-root-editor-root-attributes-no-root','real-time-collaboration','collaboration.channelId','getConnectedSessions','enableReadOnlyMode','editor','roots','realtimecollaborationclient-error','reconnect','_compressor','_handleSendingSelectionMarkers','string','filter','addRootAttribute','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','Notification','directChange','code','change:range','createdAt','cs:removeUser','_ignoredOperations','4260858wgHeiS','realtimecollaborationclient-init-non-existent-root','disableReadOnlyMode','isDocumentOperation','newRange','rootName','map','_isInit','remove','InsertOperation','sessionAdd:','_isConnected','channelSessions','8937968WALMrx','_sendBufferedOperationsDelayId','_handleReceivedOperations','sessionId','RealTimeCollaborationClient','rtc-destroyed','_isPendingUpdate','get','_authorId','editing','lastDocumentSession','30170330FMQAkK','baseVersion','_clearPendingAction','409','document:write','then','position','targetPosition','connect','realtimecollaborationclient-init-document-already-initialized','_loadRoot','keys','view','isOfficialPlugin','wereChangesApplied','cloudDocumentVersion','isUndoneOperation','stop','realtimecollaborationclient-init-service-incorrect-server-operation','_hasSelectionChanged','differ','metadata','requires','getDocumentDetails','Synchronization\x20issue','reconnection:\x20flushed\x20session','getUser','affectsData','data','createRoot','_isDisconnection','batch','lastOperationId','sendOperations','markers','getRoot','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','currentDocumentSession','_compressOperations','_updateServerHistory','compress','_handleServerResponse','_waitUntilSynced','_connectService','cloud-services-internal-error:\x20Not\x20connected.','_disconnectionOperations','_pendingAction','_applyOperationsSet','type','addRoot','high','insert','18XlkRvL','isPremiumPlugin','791626cpdHeA','realtimecollaborationclient-init-session-connection-error','_shouldSendSelectionUpdate','createRange','path','realtimecollaborationclient','_handleReconnectionError','lastOperationAcceptedAt','_initThrowingOnDataSet','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.','fire','loadRoot','connection','addUser','move','isEnabled','_operationToId','_offset','cloudServices.bundleVersion','config','version','reset','_knownOperations','offset','error','sessionCreatedAt','realtimecollaborationclient-init-service-internal-error','_channelId','Permissions','createPositionFromPath','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.','547727iBMkHV','serverHistory','_hasSynchronizationProblem','initData','_document','init','pluginName','push','message','CommentsOnly','ready','CollaborativeEditingService','cloud-services-internal-error:\x20Request\x20timeout.','define','createUserMarkerOperations','clone','operationsReceived','_shouldSendUpdate','slice','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','bind','_saveOperationInBuffer','off','root','collaboration-missing-channelid','_sendBufferedOperationsDelayed','_addKnownRoot','_setUpDataInit','state','_initSessionsHandling','rtc-offline','locale','fromJSON','showWarning','_handleReconnectionResponse','_baseBufferDelay','forEach','getIdOfTheLastOperation','_setPendingAction','wasUndone','_operationIdentifier','catch','rootsAttributes','return','plugins','collaboration','_bufferedOperations','apply','_isLoaded','_connectAfterSessionHasBeenFlushed','getOperationAuthor','connected','_bufferRootLoad','$root','permissions','_currentBufferDelay','removeFromReconnectionStack','userId','__className','setPermissions','suppressErrorInCollaboration','destroy','_getAffectedRoot','add','isReadOnly','selection'];_0x2601=function(){return _0x47489c;};return _0x2601();}import{Plugin as _0x440971,PendingActions as _0x1889d8}from'ckeditor5/src/core.js';import{CKEditorError as _0x28d7b9,version as _0xbb45cc,uid as _0x15cf44}from'ckeditor5/src/utils.js';import{Notification as _0x2a4eee}from'ckeditor5/src/ui.js';import{transformSets as _0x32410e,NoOperation as _0x181f44,InsertOperation as _0x2eb4c8,MarkerOperation as _0x1cb31c,RootAttributeOperation as _0x564079,OperationFactory as _0xbac866,History as _0x2645cd}from'ckeditor5/src/engine.js';function _0x5375(_0x516a2b,_0x3a5f8a){const _0x260142=_0x2601();return _0x5375=function(_0x5375e3,_0x2b89d8){_0x5375e3=_0x5375e3-0xa8;let _0x293ea2=_0x260142[_0x5375e3];return _0x293ea2;},_0x5375(_0x516a2b,_0x3a5f8a);}import _0x4e2ce0 from'./websocketgateway.js';import _0x15bef4 from'./sessions.js';import _0x42be84 from'./usermarkers.js';import{getTranslation as _0x3569ad}from'../common-translations.js';import{Compressor as _0xbbe6d3}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x28762c}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x421814,CollaborativeEditingService as _0x16bfc7}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x440971{static get[_0x28930f(0xe0)](){return[_0x4e2ce0,_0x15bef4,_0x42be84,_0x1889d8,_0x28762c,_0x2a4eee];}static get[_0x28930f(0x125)](){const _0x1f66a6=_0x28930f;return _0x1f66a6(0xc3);}static get[_0x28930f(0xd7)](){return!0x0;}static get[_0x28930f(0xff)](){return!0x0;}get[_0x28930f(0xd9)](){const _0x685347=_0x28930f;return this[_0x685347(0x19b)]+this[_0x685347(0x111)];}get[_0x28930f(0x19b)](){const _0x598de4=_0x28930f;return this[_0x598de4(0x120)][_0x598de4(0x114)]-this[_0x598de4(0x111)];}get[_0x28930f(0x180)](){const _0x258a68=_0x28930f,_0x4857a6=this[_0x258a68(0x120)][_0x258a68(0x16e)]();for(let _0x5a8336=_0x4857a6[_0x258a68(0x199)]-0x1;_0x5a8336>=0x0;_0x5a8336--){const _0x427695=_0x4857a6[_0x5a8336];if(!this[_0x258a68(0xf7)][_0x258a68(0x192)](_0x427695))return _0x427695[_0x258a68(0xcb)]+0x1-this[_0x258a68(0x111)];}return 0x0;}constructor(_0xecd85c){const _0x5202a8=_0x28930f;if(super(_0xecd85c),this[_0x5202a8(0x111)]=0x0,this[_0x5202a8(0xc2)]=null,this[_0x5202a8(0x120)]=new _0x2645cd(),this[_0x5202a8(0x1a7)][_0x5202a8(0x113)][_0x5202a8(0x12c)](_0x5202a8(0x14c),{}),this[_0x5202a8(0x11b)]=this[_0x5202a8(0x1a7)][_0x5202a8(0x113)][_0x5202a8(0xc6)](_0x5202a8(0x1a4)),!this[_0x5202a8(0x11b)])throw new _0x28d7b9(_0x5202a8(0x137),this);const _0x1fabfe=_0xecd85c[_0x5202a8(0x113)][_0x5202a8(0xc6)](_0x5202a8(0x112))||_0xbb45cc;this[_0x5202a8(0x16c)]=new l[(_0x5202a8(0x12a))](_0x1fabfe,this[_0x5202a8(0x11b)]),this[_0x5202a8(0x123)]=this[_0x5202a8(0x1a7)][_0x5202a8(0x162)][_0x5202a8(0x174)],this[_0x5202a8(0x1ab)]=new _0xbbe6d3(),this[_0x5202a8(0x14d)]=[],this[_0x5202a8(0x116)]=new WeakSet(),this[_0x5202a8(0x1a0)]=new Set(),this[_0x5202a8(0x196)](_0x5202a8(0xc5),!0x1),this[_0x5202a8(0x196)](_0x5202a8(0x121),!0x1),this[_0x5202a8(0xf8)]=null,this[_0x5202a8(0xdd)]=!0x1,this[_0x5202a8(0xc0)]=null,this[_0x5202a8(0x142)]=0x12c,this[_0x5202a8(0x156)]=this[_0x5202a8(0x142)],this[_0x5202a8(0x182)]=null,this[_0x5202a8(0xf7)]=new WeakSet(),this[_0x5202a8(0x147)]=new X(this[_0x5202a8(0xf7)]);}[_0x28930f(0x124)](){const _0x340fb3=_0x28930f,_0x2d2a53=this[_0x340fb3(0x1a7)],_0x41c755=_0x2d2a53[_0x340fb3(0x14b)][_0x340fb3(0xc6)](_0x28762c),_0x21dce3=_0x2d2a53[_0x340fb3(0x14b)][_0x340fb3(0xc6)](_0x4e2ce0);this[_0x340fb3(0x17a)](_0x41c755,_0x340fb3(0x151),(_0xaa2df,_0x54f028)=>{const _0x439019=_0x340fb3,_0x3fb702=_0x54f028[0x0];_0x3fb702[_0x439019(0xc7)]&&(_0xaa2df[_0x439019(0x14a)]=_0x41c755[_0x439019(0xe4)](_0x3fb702[_0x439019(0xc7)]),_0xaa2df[_0x439019(0xdb)]()),null===_0x3fb702[_0x439019(0xc7)]&&(_0xaa2df[_0x439019(0x14a)]=null,_0xaa2df[_0x439019(0xdb)]());},{'priority':_0x340fb3(0xfc)}),this[_0x340fb3(0x17a)](_0x2d2a53[_0x340fb3(0x162)][_0x340fb3(0x174)][_0x340fb3(0x160)],_0x340fb3(0xae),(_0x3ab400,_0x2d6fb1)=>{const _0x3a364e=_0x340fb3;_0x2d6fb1[_0x3a364e(0xac)]&&this[_0x3a364e(0x18c)]();}),this[_0x340fb3(0x17a)](_0x2d2a53[_0x340fb3(0xc8)][_0x340fb3(0xd6)],_0x340fb3(0x191),()=>{const _0x16db62=_0x340fb3;this[_0x16db62(0x18c)]();}),this[_0x340fb3(0x108)](),_0x2d2a53[_0x340fb3(0x162)]['on'](_0x340fb3(0x19e),(_0x564e76,_0x57f283)=>{const _0x26127d=_0x340fb3,_0x44c7d0=_0x57f283[0x0];_0x44c7d0[_0x26127d(0xb5)]&&(this[_0x26127d(0x134)](_0x44c7d0),this[_0x26127d(0x130)]()&&this[_0x26127d(0x138)]());}),this[_0x340fb3(0x13a)](),this[_0x340fb3(0x133)](_0x340fb3(0x16f))['to'](_0x21dce3,_0x340fb3(0x13b),this,_0x340fb3(0x121),(_0xefbf32,_0x1c71bc)=>_0x340fb3(0x152)===_0xefbf32&&!_0x1c71bc),this['on'](_0x340fb3(0x164),()=>{const _0x90d7cf=_0x340fb3;this[_0x90d7cf(0x16f)]?_0x2d2a53[_0x90d7cf(0xb4)](_0x90d7cf(0x13d)):_0x2d2a53[_0x90d7cf(0x1a6)](_0x90d7cf(0x13d));}),this[_0x340fb3(0x16f)]?_0x2d2a53[_0x340fb3(0xb4)](_0x340fb3(0x13d)):_0x2d2a53[_0x340fb3(0x1a6)](_0x340fb3(0x13d)),this[_0x340fb3(0x196)](_0x340fb3(0xbd),!0x1);}async[_0x28930f(0x1aa)](){const _0x4d4dbd=_0x28930f,_0x1b190b=this[_0x4d4dbd(0x1a7)][_0x4d4dbd(0x14b)][_0x4d4dbd(0xc6)](_0x15bef4),_0x146080=this[_0x4d4dbd(0x1a7)][_0x4d4dbd(0x14b)][_0x4d4dbd(0xc6)](_0x4e2ce0);try{this[_0x4d4dbd(0xc5)]=!0x0,_0x1b190b[_0x4d4dbd(0x173)](this[_0x4d4dbd(0x11b)]);const _0x586178=await this[_0x4d4dbd(0x16c)][_0x4d4dbd(0x1aa)](_0x146080[_0x4d4dbd(0x10c)],this[_0x4d4dbd(0x180)]);await this[_0x4d4dbd(0x141)](_0x586178)&&(this[_0x4d4dbd(0xc5)]=!0x1,this[_0x4d4dbd(0xcc)]());const _0x2103e8=await this[_0x4d4dbd(0x16c)][_0x4d4dbd(0x1a5)]();_0x1b190b[_0x4d4dbd(0x170)](this[_0x4d4dbd(0x11b)],_0x2103e8),this[_0x4d4dbd(0x1ac)](),this[_0x4d4dbd(0xbd)]=!0x0;}catch(_0x297b84){if(function(_0xe41fd6){const _0x3b7422=_0x4d4dbd;return _0x3b7422(0x17e)===_0xe41fd6[_0x3b7422(0xad)];}(_0x297b84)&&this[_0x4d4dbd(0xc2)])await this[_0x4d4dbd(0x150)]();else{if(function(_0x2f78ba){const _0x68edc0=_0x4d4dbd;return _0x68edc0(0xcd)===_0x2f78ba[_0x68edc0(0xad)];}(_0x297b84)){const _0xf03dbf=_0x3569ad(this[_0x4d4dbd(0x1a7)][_0x4d4dbd(0x13e)],_0x4d4dbd(0xaa));this[_0x4d4dbd(0x106)](_0xf03dbf);}else{if(!(_0x297b84 instanceof J))throw _0x297b84;this[_0x4d4dbd(0x106)]();}}}}[_0x28930f(0x15c)](){const _0x4ba047=_0x28930f,_0x2a79eb=this[_0x4ba047(0x1a7)][_0x4ba047(0x14b)][_0x4ba047(0xc6)](_0x4e2ce0),_0x6c8a81=this[_0x4ba047(0x1a7)][_0x4ba047(0x14b)][_0x4ba047(0xc6)](_0x15bef4);this[_0x4ba047(0x1a7)][_0x4ba047(0x1a6)](_0x4ba047(0xc4)),_0x6c8a81[_0x4ba047(0xbe)][_0x4ba047(0x192)](this[_0x4ba047(0x11b)])&&_0x6c8a81[_0x4ba047(0x173)](this[_0x4ba047(0x11b)]),_0x2a79eb[_0x4ba047(0x157)](this),this[_0x4ba047(0x19f)](),super[_0x4ba047(0x15c)]();}async[_0x28930f(0x141)](_0x4ef66d){const _0x20fbb3=_0x28930f;if(this[_0x20fbb3(0xc2)]!==_0x4ef66d[_0x20fbb3(0xc2)]&&this[_0x20fbb3(0x182)]!==_0x4ef66d[_0x20fbb3(0xea)])throw new J();return this[_0x20fbb3(0xc2)]=_0x4ef66d[_0x20fbb3(0xc2)],this[_0x20fbb3(0xf3)]([],{..._0x4ef66d,'wereChangesApplied':!0x1,'data':_0x4ef66d[_0x20fbb3(0xe6)]},_0x20fbb3(0x1aa));}async[_0x28930f(0xf5)](_0x273643,_0x1a3505=!0x1){const _0x5b5ecc=_0x28930f,{connection:_0x1c62c6}=this[_0x5b5ecc(0x1a7)][_0x5b5ecc(0x14b)][_0x5b5ecc(0xc6)](_0x4e2ce0);l[_0x5b5ecc(0x12a)][_0x5b5ecc(0x1a5)](_0x1c62c6,this[_0x5b5ecc(0x11b)])[_0x5b5ecc(0xcf)](_0x51afae=>this[_0x5b5ecc(0x13c)](_0x51afae))[_0x5b5ecc(0x148)](_0x256303=>{const _0x2ad2a0=_0x5b5ecc;this[_0x2ad2a0(0x18a)](_0x2ad2a0(0x101),_0x256303);}),this[_0x5b5ecc(0x17a)](this[_0x5b5ecc(0x16c)],_0x5b5ecc(0x12f),this[_0x5b5ecc(0xc1)][_0x5b5ecc(0x133)](this)),this[_0x5b5ecc(0x17a)](this[_0x5b5ecc(0x16c)],_0x5b5ecc(0x118),(_0x2888be,_0x30c175)=>{const _0x3c825b=_0x5b5ecc;this[_0x3c825b(0x18a)](_0x3c825b(0x11a),_0x30c175);}),this[_0x5b5ecc(0x17a)](this[_0x5b5ecc(0x16c)],_0x5b5ecc(0x166),()=>{const _0x453508=_0x5b5ecc;this[_0x453508(0xbd)]=!0x1;});const _0x5c2743=this[_0x5b5ecc(0x147)][_0x5b5ecc(0x144)](_0x273643);this[_0x5b5ecc(0xc5)]=!0x0;const _0x2e155a=await this[_0x5b5ecc(0x16c)][_0x5b5ecc(0xd2)](_0x1c62c6,this[_0x5b5ecc(0xf0)](_0x273643),_0x5c2743);if(this[_0x5b5ecc(0xc2)]=_0x2e155a[_0x5b5ecc(0xc2)],_0x1a3505){if(!_0x2e155a[_0x5b5ecc(0xd8)])return void this[_0x5b5ecc(0x106)]();this[_0x5b5ecc(0xc5)]=!0x1,this[_0x5b5ecc(0xcc)](),this[_0x5b5ecc(0x120)][_0x5b5ecc(0x115)](),this[_0x5b5ecc(0x111)]=_0x2e155a[_0x5b5ecc(0x117)],this[_0x5b5ecc(0x120)][_0x5b5ecc(0x114)]=this[_0x5b5ecc(0x111)],await this[_0x5b5ecc(0xf3)](_0x273643,_0x2e155a,_0x5b5ecc(0xe3));}else await this[_0x5b5ecc(0x17f)](_0x2e155a,_0x273643);this[_0x5b5ecc(0x1ac)](),this[_0x5b5ecc(0xbd)]=!0x0;}[_0x28930f(0x1ac)](){const _0x34a086=_0x28930f,_0x32c9d3=this[_0x34a086(0x1a7)][_0x34a086(0x14b)][_0x34a086(0xc6)](_0x15bef4),_0x5e528b=this[_0x34a086(0x1a7)][_0x34a086(0x14b)][_0x34a086(0xc6)](_0x42be84),_0x791e5c=_0x32c9d3[_0x34a086(0xbe)][_0x34a086(0xc6)](this[_0x34a086(0x11b)]);_0x791e5c&&_0x791e5c[_0x34a086(0x199)]>0x1?_0x5e528b[_0x34a086(0x12d)]():this[_0x34a086(0x17a)](_0x32c9d3,_0x34a086(0xbc)+this[_0x34a086(0x11b)],()=>{const _0x33a60f=_0x34a086;0x2===_0x32c9d3[_0x33a60f(0xbe)][_0x33a60f(0xc6)](this[_0x33a60f(0x11b)])[_0x33a60f(0x199)]&&_0x5e528b[_0x33a60f(0x12d)]();});}async[_0x28930f(0xc1)](_0x5c97c7,_0x21929b,_0x431754,_0x21b4f4){const _0x3e0305=_0x28930f;if(!this[_0x3e0305(0xc5)]&&this[_0x3e0305(0x123)][_0x3e0305(0x114)]==_0x21929b){const _0xb90166=this[_0x3e0305(0x190)](_0x431754,_0x21b4f4);await this[_0x3e0305(0x1a1)](_0xb90166),this[_0x3e0305(0x18d)](_0xb90166,_0x21929b,_0x431754[_0x3e0305(0xea)])||this[_0x3e0305(0x18a)](_0x3e0305(0xdc));}}async[_0x28930f(0x150)](){const _0x3599d0=_0x28930f;this[_0x3599d0(0x19f)]();const {locale:_0x2799cc}=this[_0x3599d0(0x1a7)];let _0x1a9e88;try{_0x1a9e88=await this[_0x3599d0(0x16c)][_0x3599d0(0xe1)]();}catch(_0x5040af){const _0x436bda=_0x3569ad(_0x2799cc,_0x3599d0(0x179));return void this[_0x3599d0(0x106)](_0x436bda);}const _0x2f295a=_0x1a9e88[_0x3599d0(0xef)]||_0x1a9e88[_0x3599d0(0xc9)];if(this[_0x3599d0(0x182)]===_0x2f295a[_0x3599d0(0xea)])await this[_0x3599d0(0xf5)](this[_0x3599d0(0x1a7)][_0x3599d0(0x162)][_0x3599d0(0x174)][_0x3599d0(0x19c)][_0x3599d0(0x16e)](),!0x0);else{const _0x49f4c1=_0x3569ad(_0x2799cc,_0x3599d0(0x109));this[_0x3599d0(0x106)](_0x49f4c1);}}[_0x28930f(0x19f)](){const _0x3356e9=_0x28930f;this[_0x3356e9(0x16c)][_0x3356e9(0x184)](),this[_0x3356e9(0x14d)]=[],clearTimeout(this[_0x3356e9(0xc0)]),this[_0x3356e9(0x168)](this[_0x3356e9(0x16c)]);}[_0x28930f(0x13c)](_0x27768e){const _0x28363f=_0x28930f,_0xef6d19=this[_0x28363f(0x1a7)][_0x28363f(0x14b)][_0x28363f(0xc6)](_0x15bef4);this[_0x28363f(0x17a)](_0xef6d19,_0x28363f(0xbc)+this[_0x28363f(0x11b)],(_0x119b0f,{session:_0x27430d})=>{const _0x18eacc=_0x28363f;if(_0x27430d['id']===_0xef6d19[_0x18eacc(0x187)]){_0x119b0f[_0x18eacc(0x135)]();const _0x3455a1=this[_0x18eacc(0x1a7)][_0x18eacc(0x14b)][_0x18eacc(0x192)](_0x18eacc(0x128))&&this[_0x18eacc(0x1a7)][_0x18eacc(0x14b)][_0x18eacc(0xc6)](_0x18eacc(0x128));let _0x22d19a=_0x27430d[_0x18eacc(0x155)];_0x3455a1&&_0x3455a1[_0x18eacc(0x10f)]&&(_0x22d19a=_0x22d19a[_0x18eacc(0xa8)](_0x58b216=>_0x18eacc(0xce)!==_0x58b216)),this[_0x18eacc(0x1a7)][_0x18eacc(0x14b)][_0x18eacc(0xc6)](_0x18eacc(0x11c))[_0x18eacc(0x15a)](_0x22d19a,this[_0x18eacc(0x11b)]);}}),_0xef6d19[_0x28363f(0x170)](this[_0x28363f(0x11b)],_0x27768e);}[_0x28930f(0x108)](){const _0x4ac698=_0x28930f,_0x21e69c=this[_0x4ac698(0x1a7)][_0x4ac698(0xe6)][_0x4ac698(0x196)];this[_0x4ac698(0x1a7)][_0x4ac698(0xe6)][_0x4ac698(0x196)]=(..._0x2e9cb5)=>{const _0x242e19=_0x4ac698;if(!_0x2e9cb5[_0x2e9cb5[_0x242e19(0x199)]-0x1][_0x242e19(0x15b)])throw new _0x28d7b9(_0x242e19(0x132),this);_0x21e69c[_0x242e19(0x14e)](this[_0x242e19(0x1a7)][_0x242e19(0xe6)],_0x2e9cb5);};}[_0x28930f(0x13a)](){const _0x1c86d4=_0x28930f;this[_0x1c86d4(0x1a7)][_0x1c86d4(0xe6)]['on'](_0x1c86d4(0x124),(_0x3af638,[_0x2e6e84])=>{const _0x13290b=_0x1c86d4;if(this[_0x13290b(0x123)][_0x13290b(0x114)])throw new _0x28d7b9(_0x13290b(0xd3),this);_0x3af638[_0x13290b(0xdb)](),this[_0x13290b(0x145)]();const _0xaa913a=this[_0x13290b(0x1a7)][_0x13290b(0x113)][_0x13290b(0xc6)](_0x13290b(0x149)),_0x3e586b=this[_0x13290b(0x176)](_0x2e6e84,_0xaa913a);0x0==_0x3e586b[_0x13290b(0x199)]&&_0x3e586b[_0x13290b(0x126)](new _0x181f44(0x0)),_0x3af638[_0x13290b(0x14a)]=this[_0x13290b(0xf5)](_0x3e586b)[_0x13290b(0xcf)](()=>{const _0x6845ca=_0x13290b;this[_0x6845ca(0x1a7)][_0x6845ca(0x14b)][_0x6845ca(0xc6)](_0x4e2ce0)[_0x6845ca(0x17d)](this),this[_0x6845ca(0x1a7)][_0x6845ca(0xe6)][_0x6845ca(0x10a)](_0x6845ca(0x129));})[_0x13290b(0x148)](_0x14d312=>this[_0x13290b(0x18a)](_0x13290b(0x188),_0x14d312))[_0x13290b(0x185)](()=>this[_0x13290b(0xcc)]());},{'priority':_0x1c86d4(0xfc)}),this[_0x1c86d4(0x1a7)]['on'](_0x1c86d4(0x10b),async(_0x39be05,[_0xc984ee,_0x370e6b])=>{const _0x22a001=_0x1c86d4;_0x39be05[_0x22a001(0xdb)]();const _0x25761c=this[_0x22a001(0x1a7)][_0x22a001(0x162)][_0x22a001(0x174)][_0x22a001(0xed)](_0xc984ee);if(!this[_0x22a001(0x1a0)][_0x22a001(0x192)](_0xc984ee)){const _0x508b1c=_0x370e6b&&_0x370e6b[_0x22a001(0xe6)]?_0x370e6b[_0x22a001(0xe6)]:'',_0xc53f9=_0x370e6b&&_0x370e6b[_0x22a001(0x171)]?_0x370e6b[_0x22a001(0x171)]:{};await this[_0x22a001(0xd4)](_0xc984ee,_0x508b1c,_0xc53f9);}this[_0x22a001(0x1a7)][_0x22a001(0x162)][_0x22a001(0x16b)]({'isUndoable':!0x1},()=>{const _0x594422=_0x22a001;_0x25761c[_0x594422(0x14f)]=!0x0,this[_0x594422(0x1a7)][_0x594422(0x162)][_0x594422(0x174)][_0x594422(0xde)][_0x594422(0x153)](_0x25761c);});},{'priority':_0x1c86d4(0xfc)});}async[_0x28930f(0x1a1)](_0x4a6dfd){const _0x1758db=_0x28930f,_0x36366c=this[_0x1758db(0x1a7)][_0x1758db(0x14b)][_0x1758db(0xc6)](_0x28762c),{connection:_0x313cfe}=this[_0x1758db(0x1a7)][_0x1758db(0x14b)][_0x1758db(0xc6)](_0x4e2ce0),_0x59ebc0=new Set();for(const _0x365f68 of _0x4a6dfd){const _0x94e543=_0x365f68[_0x1758db(0xc7)];_0x94e543&&!_0x36366c[_0x1758db(0xe4)](_0x94e543)&&_0x59ebc0[_0x1758db(0x15e)](_0x94e543);}if(0x0===_0x59ebc0[_0x1758db(0x19d)])return;const _0xf093cf=await _0x421814[_0x1758db(0x183)](_0x313cfe,Array[_0x1758db(0x19a)](_0x59ebc0));for(const _0x2f1da1 of _0xf093cf)_0x36366c[_0x1758db(0xe4)](_0x2f1da1['id'])||_0x36366c[_0x1758db(0x10d)](_0x2f1da1);}[_0x28930f(0x176)](_0x164361,_0x9a4e19={}){const _0x5ee0d5=_0x28930f,_0x1c7b0c=this[_0x5ee0d5(0x1a7)][_0x5ee0d5(0x162)],_0x35caf9=[];let _0x4589fe=0x0;const _0x365a82=_0x5ee0d5(0x1ad)==typeof _0x164361?{'main':_0x164361}:_0x164361;for(const _0x304b8b of Object[_0x5ee0d5(0xd5)](_0x365a82)){if(!this[_0x5ee0d5(0x123)][_0x5ee0d5(0x1a8)][_0x5ee0d5(0x192)](_0x304b8b))throw new _0x28d7b9(_0x5ee0d5(0xb3),this);const _0xfafe15=this[_0x5ee0d5(0x1a7)][_0x5ee0d5(0xe6)][_0x5ee0d5(0x197)](_0x365a82[_0x304b8b]),_0x52de73=this[_0x5ee0d5(0x123)][_0x5ee0d5(0xed)](_0x304b8b),_0x51e7f5=new _0x2eb4c8(_0x1c7b0c[_0x5ee0d5(0x163)](_0x52de73,0x0),_0xfafe15,_0x4589fe++);_0x35caf9[_0x5ee0d5(0x126)](_0x51e7f5);for(const [_0x5a5aaa,_0x402428]of _0xfafe15[_0x5ee0d5(0xec)]){const _0x227e13=_0x1c7b0c[_0x5ee0d5(0x103)](_0x1c7b0c[_0x5ee0d5(0x11d)](_0x52de73,_0x402428[_0x5ee0d5(0x16a)][_0x5ee0d5(0x104)][_0x5ee0d5(0x131)]()),_0x1c7b0c[_0x5ee0d5(0x11d)](_0x52de73,_0x402428[_0x5ee0d5(0x195)][_0x5ee0d5(0x104)][_0x5ee0d5(0x131)]())),_0xb989e0=new _0x1cb31c(_0x5a5aaa,null,_0x227e13,_0x1c7b0c[_0x5ee0d5(0xec)],!0x0,_0x4589fe++);_0x35caf9[_0x5ee0d5(0x126)](_0xb989e0);}}if(_0x9a4e19)for(const [_0x32a1af,_0x33eeee]of Object[_0x5ee0d5(0x18f)](_0x9a4e19)){const _0x56add6=_0x1c7b0c[_0x5ee0d5(0x174)][_0x5ee0d5(0xed)](_0x32a1af);if(!_0x56add6)throw new _0x28d7b9(_0x5ee0d5(0x1a2),null);for(const [_0xfb923b,_0x245d35]of Object[_0x5ee0d5(0x18f)](_0x33eeee))if(null!==_0x245d35){const _0x394c1b=new _0x564079(_0x56add6,_0xfb923b,null,_0x245d35,_0x4589fe++);_0x35caf9[_0x5ee0d5(0x126)](_0x394c1b);}}return _0x35caf9;}async[_0x28930f(0xd4)](_0x14e065,_0x562659,_0xd84b50){const _0x49f179=_0x28930f;this[_0x49f179(0x176)]({[_0x14e065]:_0x562659},{[_0x14e065]:_0xd84b50})[_0x49f179(0x143)]((_0x410838,_0x2dae18)=>{const _0x6bde85=_0x49f179;_0x410838[_0x6bde85(0xcb)]=this[_0x6bde85(0x123)][_0x6bde85(0x114)]+_0x2dae18,_0x410838[_0x6bde85(0xb9)]=!0x0,this[_0x6bde85(0x134)](_0x410838);}),this[_0x49f179(0x138)](),await this[_0x49f179(0xf4)]();}async[_0x28930f(0x17f)](_0x1bd169,_0x279217){const _0xab0f5b=_0x28930f;let _0x37dbca;this[_0xab0f5b(0x111)]=_0x1bd169[_0xab0f5b(0x117)];const _0x511722=_0x1bd169[_0xab0f5b(0xd8)]&&!_0x1bd169[_0xab0f5b(0x122)],_0x40b13b=_0x511722?0x0:_0x1bd169[_0xab0f5b(0xe6)][_0xab0f5b(0xcb)];if(_0x279217[_0xab0f5b(0x143)](_0x3d6ce4=>{const _0x94c66e=_0xab0f5b;_0x3d6ce4[_0x94c66e(0xb9)]=!0x0,_0x3d6ce4[_0x94c66e(0xaf)]=_0x1bd169[_0x94c66e(0x119)],_0x3d6ce4[_0x94c66e(0xc7)]=null;}),_0x511722)_0x37dbca=_0x279217,this[_0xab0f5b(0xf9)](_0x37dbca,_0x511722);else{if(_0x1bd169[_0xab0f5b(0x122)]){const _0x2e7025=this[_0xab0f5b(0x176)](_0x1bd169[_0xab0f5b(0x122)]);this[_0xab0f5b(0x123)][_0xab0f5b(0x19c)][_0xab0f5b(0x114)]=-_0x2e7025[_0xab0f5b(0x199)],_0x2e7025[_0xab0f5b(0x143)](_0x5f43b8=>{const _0x575325=_0xab0f5b;_0x5f43b8[_0x575325(0xcb)]-=_0x2e7025[_0x575325(0x199)],_0x5f43b8[_0x575325(0xaf)]=_0x1bd169[_0x575325(0x119)],_0x5f43b8[_0x575325(0xb9)]=!0x0,_0x5f43b8[_0x575325(0xc7)]=null;}),this[_0xab0f5b(0xf9)](_0x2e7025,!0x0),this[_0xab0f5b(0x120)][_0xab0f5b(0x114)]=-_0x2e7025[_0xab0f5b(0x199)]+this[_0xab0f5b(0x111)],this[_0xab0f5b(0xf1)](_0x2e7025);}this[_0xab0f5b(0x123)][_0xab0f5b(0x19c)][_0xab0f5b(0x114)]=_0x40b13b,_0x37dbca=this[_0xab0f5b(0x190)](_0x1bd169[_0xab0f5b(0xe6)],_0x1bd169[_0xab0f5b(0xdf)]),await this[_0xab0f5b(0x1a1)](_0x37dbca),this[_0xab0f5b(0xf9)](_0x37dbca,_0x511722);}_0x1bd169[_0xab0f5b(0xea)]&&(this[_0xab0f5b(0x147)][_0xab0f5b(0x189)](_0x37dbca,_0x1bd169[_0xab0f5b(0xea)]),this[_0xab0f5b(0x182)]=_0x1bd169[_0xab0f5b(0xea)]),this[_0xab0f5b(0x120)][_0xab0f5b(0x114)]=_0x40b13b+this[_0xab0f5b(0x111)],this[_0xab0f5b(0xf1)](_0x37dbca),_0x279217[_0xab0f5b(0xa8)](_0xb67ecf=>{const _0x4c200a=_0xab0f5b,_0x3b85ce=this[_0x4c200a(0x15d)](_0xb67ecf);return _0x3b85ce&&!this[_0x4c200a(0x1a0)][_0x4c200a(0x192)](_0x3b85ce);})[_0xab0f5b(0x143)]((_0x40a867,_0x490fed)=>{const _0x35ffcc=_0xab0f5b;_0x40a867[_0x35ffcc(0xcb)]=this[_0x35ffcc(0x123)][_0x35ffcc(0x114)]+_0x490fed,this[_0x35ffcc(0x134)](_0x40a867);}),this[_0xab0f5b(0x130)]()?(this[_0xab0f5b(0x156)]=0x0,this[_0xab0f5b(0x138)](!0x0),await this[_0xab0f5b(0xf4)]()):(this[_0xab0f5b(0xc5)]=!0x1,this[_0xab0f5b(0xcc)]());}[_0x28930f(0x18a)](_0x2551e1,_0x2a03ed){const _0x97d91f=_0x28930f,_0x169454=_0x2a03ed&&_0x2a03ed[_0x97d91f(0x127)];if(_0x169454&&_0x169454[_0x97d91f(0x18b)](_0x97d91f(0x105)))throw _0x2a03ed;const _0x470971=this[_0x97d91f(0x1a7)][_0x97d91f(0x14b)][_0x97d91f(0xc6)](_0x4e2ce0);throw this[_0x97d91f(0xc5)]=!0x0,_0x470971[_0x97d91f(0x184)](),this[_0x97d91f(0x1a7)][_0x97d91f(0x1a6)](_0x97d91f(0x1a9)),new _0x28d7b9(_0x2551e1,this[_0x97d91f(0x1a7)],_0x169454?{'originalError':_0x169454}:void 0x0);}[_0x28930f(0x134)](_0x180564){const _0x38c989=_0x28930f;this[_0x38c989(0x116)][_0x38c989(0x192)](_0x180564)||(this[_0x38c989(0x116)][_0x38c989(0x15e)](_0x180564),this[_0x38c989(0x14d)][_0x38c989(0x126)](_0x180564),this[_0x38c989(0xf8)]||_0x38c989(0x178)==_0x180564[_0x38c989(0xfa)]&&!_0x180564[_0x38c989(0xe5)]||this[_0x38c989(0x145)]());}[_0x28930f(0x138)](_0x566097=!0x1){const _0x349583=_0x28930f;!_0x566097&&this[_0x349583(0xc5)]||(this[_0x349583(0xc5)]=!0x0,clearTimeout(this[_0x349583(0xc0)]),this[_0x349583(0xc0)]=setTimeout(()=>{const _0x5e75a6=_0x349583;this[_0x5e75a6(0x165)]()[_0x5e75a6(0xcf)](_0x500815=>{const _0x1b33e8=_0x5e75a6;_0x500815&&(this[_0x1b33e8(0xcc)](),this[_0x1b33e8(0xc5)]=!0x1);})[_0x5e75a6(0x148)](_0x47b2ef=>{const _0x399ac8=_0x5e75a6;this[_0x399ac8(0xcc)](),this[_0x399ac8(0xc5)]=!0x1,function(_0x4dd74c){const _0x5f1425=_0x399ac8;return _0x4dd74c[_0x5f1425(0x127)][_0x5f1425(0x18b)](_0x5f1425(0xf6))||_0x4dd74c[_0x5f1425(0x127)][_0x5f1425(0x18b)](_0x5f1425(0xee))||_0x4dd74c[_0x5f1425(0x127)][_0x5f1425(0x18b)](_0x5f1425(0x12b));}(_0x47b2ef)||this[_0x399ac8(0x18a)](_0x47b2ef[_0x399ac8(0x127)],_0x47b2ef);});},this[_0x349583(0x156)]));}[_0x28930f(0xf4)](){return new Promise(_0x15aebe=>{const _0x286574=_0x5375;this['on'](_0x286574(0x169),()=>{_0x15aebe();});});}async[_0x28930f(0x165)](){const _0x1964d9=_0x28930f,_0x5b8d23=this[_0x1964d9(0x1a7)][_0x1964d9(0x14b)][_0x1964d9(0xc6)](_0x42be84);if(this[_0x1964d9(0x102)]()&&(_0x5b8d23[_0x1964d9(0x12d)](),this[_0x1964d9(0xdd)]=!0x1),!this[_0x1964d9(0x130)]())return!0x0;const _0x34c1f1=[...this[_0x1964d9(0x14d)]];for(const _0x2324be of _0x34c1f1)_0x2324be[_0x1964d9(0x146)]=this[_0x1964d9(0x123)][_0x1964d9(0x19c)][_0x1964d9(0xda)](_0x2324be);const _0x210959=this[_0x1964d9(0x147)][_0x1964d9(0x144)](_0x34c1f1),_0x5b196f=K++,_0x261fe0=this[_0x1964d9(0xf0)](_0x34c1f1),_0xdeffcb=await this[_0x1964d9(0x16c)][_0x1964d9(0xeb)](_0x261fe0,_0x261fe0[_0x1964d9(0xcb)],_0x210959);try{return await this[_0x1964d9(0xf3)](_0x34c1f1,_0xdeffcb,_0x5b196f);}catch(_0x4309db){return this[_0x1964d9(0x18a)](_0x1964d9(0x18e),_0x4309db);}}async[_0x28930f(0xf3)](_0x30bd9f,_0x4aa628,_0x58fbbe){const _0x51ea98=_0x28930f;if(_0x51ea98(0x118)in _0x4aa628)throw _0x4aa628[_0x51ea98(0x118)];let _0x3c554b=!0x1;if(_0x4aa628[_0x51ea98(0xd8)]){_0x4aa628[_0x51ea98(0xea)]&&(this[_0x51ea98(0x182)]=_0x4aa628[_0x51ea98(0xea)]),this[_0x51ea98(0x14d)]=this[_0x51ea98(0x14d)][_0x51ea98(0xa8)](_0x324e28=>!_0x30bd9f[_0x51ea98(0x181)](_0x324e28));for(const _0x543974 of _0x30bd9f)_0x543974[_0x51ea98(0xaf)]=_0x51ea98(0x107)in _0x4aa628&&_0x4aa628[_0x51ea98(0x107)]||void 0x0;Q(_0x30bd9f,_0x4aa628[_0x51ea98(0x114)]-_0x30bd9f[_0x51ea98(0x199)]),this[_0x51ea98(0xf1)](_0x30bd9f);const _0x22d6c2=_0x30bd9f[_0x51ea98(0xa8)](_0x458cf1=>{const _0x2adc33=_0x51ea98;if(!_0x458cf1[_0x2adc33(0xb9)])return!0x1;const _0x25e132=this[_0x2adc33(0x15d)](_0x458cf1);return _0x25e132&&!this[_0x2adc33(0x1a0)][_0x2adc33(0x192)](_0x25e132);});Q(_0x22d6c2,this[_0x51ea98(0x123)][_0x51ea98(0x114)]),this[_0x51ea98(0xf9)](_0x22d6c2),_0x3c554b=!0x0,this[_0x51ea98(0x156)]=this[_0x51ea98(0x142)];}else{const _0x106526=this[_0x51ea98(0x190)](_0x4aa628[_0x51ea98(0xe6)],_0x4aa628[_0x51ea98(0xdf)])[_0x51ea98(0xa8)](_0x8cbb25=>_0x8cbb25[_0x51ea98(0xcb)]>=this[_0x51ea98(0x19b)]);_0x106526[_0x51ea98(0x143)](_0xc4c483=>this[_0x51ea98(0x139)](_0xc4c483)),this[_0x51ea98(0x14d)]=this[_0x51ea98(0x14d)][_0x51ea98(0xa8)](_0x28c912=>!_0x28c912[_0x51ea98(0xb9)]||!this[_0x51ea98(0x1a0)][_0x51ea98(0x192)](this[_0x51ea98(0x15d)](_0x28c912))),this[_0x51ea98(0x14d)][_0x51ea98(0x199)]&&Q(this[_0x51ea98(0x14d)],this[_0x51ea98(0x14d)][0x0][_0x51ea98(0xcb)]),await this[_0x51ea98(0x1a1)](_0x106526),_0x3c554b=this[_0x51ea98(0x18d)](_0x106526,_0x4aa628[_0x51ea98(0x114)],_0x4aa628[_0x51ea98(0xea)]),this[_0x51ea98(0x156)]=Math[_0x51ea98(0x17c)](this[_0x51ea98(0x156)]/0x2);}return _0x3c554b?!this[_0x51ea98(0x130)]()||(this[_0x51ea98(0x138)](!0x0),!0x1):this[_0x51ea98(0x18a)](_0x51ea98(0x167));}[_0x28930f(0x18d)](_0x2eb7df,_0x29ed00,_0xe230bd){const _0x8e03e9=_0x28930f;try{const _0x531045={'document':this[_0x8e03e9(0x123)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x29f5ac,operationsB:_0x2bacec,originalOperations:_0x5e7b31}=_0x32410e(_0x2eb7df,this[_0x8e03e9(0x14d)],_0x531045);Q(_0x29f5ac,this[_0x8e03e9(0x123)][_0x8e03e9(0x114)]),Q(_0x2bacec,_0x29ed00);for(const _0x142c2c of _0x29f5ac){const _0x480806=_0x5e7b31[_0x8e03e9(0xc6)](_0x142c2c);_0x142c2c[_0x8e03e9(0xc7)]=_0x480806?_0x480806[_0x8e03e9(0xc7)]:null;}_0xe230bd&&(this[_0x8e03e9(0x147)][_0x8e03e9(0x189)](_0x2eb7df,_0xe230bd),this[_0x8e03e9(0x182)]=_0xe230bd),this[_0x8e03e9(0x14d)]=[..._0x2bacec],this[_0x8e03e9(0xf9)](_0x29f5ac),this[_0x8e03e9(0xf1)](_0x2eb7df);}catch(_0x520abb){return console[_0x8e03e9(0x118)](_0x520abb),!0x1;}return!0x0;}[_0x28930f(0xf9)](_0x214970,_0x3700e9=!0x1){const _0x24b72d=_0x28930f;this[_0x24b72d(0x1a7)][_0x24b72d(0x162)][_0x24b72d(0x16b)]({'isUndoable':!0x1,'isLocal':!0x1},_0x28c4d0=>{const _0x2004b9=_0x24b72d;for(const _0x376548 of _0x214970)this[_0x2004b9(0x116)][_0x2004b9(0x15e)](_0x376548),this[_0x2004b9(0x139)](_0x376548),_0x28c4d0[_0x2004b9(0xe9)][_0x2004b9(0x16d)](_0x376548),this[_0x2004b9(0x1a7)][_0x2004b9(0x162)][_0x2004b9(0x19e)](_0x376548);});}[_0x28930f(0x139)](_0x24878c){const _0x2798c5=_0x28930f,_0x322516=this[_0x2798c5(0x15d)](_0x24878c);_0x322516&&this[_0x2798c5(0x1a0)][_0x2798c5(0x15e)](_0x322516);}[_0x28930f(0x15d)](_0x1afe9d){const _0x43fccb=_0x28930f;let _0x4a9ff8,_0x44a53f;switch(_0x1afe9d[_0x43fccb(0xfa)]){case _0x43fccb(0xfd):_0x4a9ff8=_0x1afe9d[_0x43fccb(0xd0)][_0x43fccb(0x136)];break;case _0x43fccb(0x178):if(_0x44a53f=_0x1afe9d[_0x43fccb(0xb6)],!_0x44a53f)return null;_0x4a9ff8=_0x44a53f[_0x43fccb(0x136)];break;case _0x43fccb(0xa9):_0x4a9ff8=_0x1afe9d[_0x43fccb(0x136)];break;case _0x43fccb(0xfb):_0x4a9ff8=_0x1afe9d[_0x43fccb(0x193)];break;case _0x43fccb(0x10e):_0x4a9ff8=_0x1afe9d[_0x43fccb(0xd1)][_0x43fccb(0x136)];break;default:return null;}return _0x4a9ff8[_0x43fccb(0xb7)];}[_0x28930f(0xf1)](_0x5bb521){const _0x47f014=_0x28930f;_0x5bb521[_0x47f014(0x143)](_0x4a9e1d=>{const _0x1edfcc=_0x47f014,_0x4d5fc0=_0x4a9e1d[_0x1edfcc(0x12e)]();_0x4d5fc0[_0x1edfcc(0xc7)]=_0x4a9e1d[_0x1edfcc(0xc7)],_0x4d5fc0[_0x1edfcc(0xb9)]=!!_0x4a9e1d[_0x1edfcc(0xb9)],_0x4d5fc0[_0x1edfcc(0xaf)]=_0x4a9e1d[_0x1edfcc(0xaf)],_0x4d5fc0[_0x1edfcc(0xcb)]+=this[_0x1edfcc(0x111)],_0x4a9e1d[_0x1edfcc(0xe8)]&&this[_0x1edfcc(0xf7)][_0x1edfcc(0x15e)](_0x4d5fc0),this[_0x1edfcc(0x120)][_0x1edfcc(0x16d)](_0x4d5fc0);});}[_0x28930f(0x106)](_0x3b044c){const _0x4eed92=_0x28930f,_0x27b97a=this[_0x4eed92(0x1a7)][_0x4eed92(0x14b)][_0x4eed92(0xc6)](_0x4eed92(0xab)),_0x468805=this[_0x4eed92(0x1a7)][_0x4eed92(0x13e)];_0x3b044c||(_0x3b044c=_0x3569ad(_0x468805,_0x4eed92(0x11e))),_0x27b97a[_0x4eed92(0x140)](_0x3b044c,{'title':_0x3569ad(_0x468805,_0x4eed92(0xe2)),'namespace':_0x4eed92(0x1a3)}),this[_0x4eed92(0x121)]=!0x0,clearTimeout(this[_0x4eed92(0xc0)]),this[_0x4eed92(0x14d)]=[],this[_0x4eed92(0x1a7)][_0x4eed92(0x14b)][_0x4eed92(0xc6)](_0x4e2ce0)[_0x4eed92(0x184)]();}[_0x28930f(0x145)](){const _0x424fa8=_0x28930f;this[_0x424fa8(0xf8)]||(this[_0x424fa8(0xf8)]=this[_0x424fa8(0x1a7)][_0x424fa8(0x14b)][_0x424fa8(0xc6)](_0x1889d8)[_0x424fa8(0x15e)](_0x3569ad(this[_0x424fa8(0x1a7)][_0x424fa8(0x13e)],_0x424fa8(0x17b))));}[_0x28930f(0xcc)](){const _0xff16b9=_0x28930f;this[_0xff16b9(0xf8)]&&(this[_0xff16b9(0x1a7)][_0xff16b9(0x14b)][_0xff16b9(0xc6)](_0x1889d8)[_0xff16b9(0xba)](this[_0xff16b9(0xf8)]),this[_0xff16b9(0xf8)]=null);}[_0x28930f(0xf0)](_0x1f3ae8){const _0x21c345=_0x28930f,_0x241062=_0x1f3ae8[_0x21c345(0xb8)](_0x361e45=>_0x361e45[_0x21c345(0x161)]());return this[_0x21c345(0x1ab)][_0x21c345(0xf2)](_0x241062);}[_0x28930f(0x190)](_0x439ee8,_0x5ad654){const _0x2136bc=_0x28930f;return this[_0x2136bc(0x1ab)][_0x2136bc(0x186)](_0x439ee8)[_0x2136bc(0xb8)]((_0xa540ee,_0x4d77d3)=>{const _0x16d53a=_0x2136bc,_0x2ee947=_0x16d53a(0x124)==_0x5ad654[_0x4d77d3][_0x16d53a(0xfa)];if(_0x16d53a(0xbb)==_0xa540ee[_0x16d53a(0x159)]){const _0x42e320=_0xa540ee[_0x16d53a(0xd0)][_0x16d53a(0x136)];!this[_0x16d53a(0x123)][_0x16d53a(0xed)](_0x42e320)&&(this[_0x16d53a(0x123)][_0x16d53a(0xe7)](_0x16d53a(0x154),_0x42e320)[_0x16d53a(0x175)]=!0x1);}const _0x3b8efd=_0xbac866[_0x16d53a(0x13f)](_0xa540ee,this[_0x16d53a(0x123)]);return _0x3b8efd[_0x16d53a(0x146)]=_0xa540ee[_0x16d53a(0x146)],_0x3b8efd[_0x16d53a(0xb9)]=_0x2ee947,_0x3b8efd[_0x16d53a(0xc7)]=_0x2ee947?null:_0x5ad654[_0x4d77d3][_0x16d53a(0x158)],_0x3b8efd[_0x16d53a(0xe8)]=_0x16d53a(0xb0)===_0x5ad654[_0x4d77d3][_0x16d53a(0xfa)],_0x3b8efd[_0x16d53a(0xaf)]=_0x5ad654[_0x4d77d3][_0x16d53a(0xaf)],_0x3b8efd;});}[_0x28930f(0x18c)](){const _0x4a5d25=_0x28930f;this[_0x4a5d25(0xdd)]=!0x0,this[_0x4a5d25(0x102)]()?this[_0x4a5d25(0x138)]():this[_0x4a5d25(0xdd)]=!0x1;}[_0x28930f(0x102)](){const _0x283f6b=_0x28930f,_0xfe2d25=this[_0x283f6b(0x1a7)][_0x283f6b(0x14b)][_0x283f6b(0xc6)](_0x15bef4)[_0x283f6b(0xbe)][_0x283f6b(0xc6)](this[_0x283f6b(0x11b)]);return!this[_0x283f6b(0x1a7)][_0x283f6b(0x15f)]&&!!_0xfe2d25&&_0xfe2d25[_0x283f6b(0x199)]>0x1&&this[_0x283f6b(0xdd)];}[_0x28930f(0x130)](){const _0x40fc36=_0x28930f;return this[_0x40fc36(0x14d)][_0x40fc36(0x199)]>0x0||this[_0x40fc36(0x102)]();}}l[_0x28930f(0x12a)]=_0x16bfc7;export default l;class J extends Error{}function Q(_0x47de49,_0x404a76){const _0x2127fb=_0x28930f;for(const _0x1f0589 of _0x47de49)_0x1f0589[_0x2127fb(0xcb)]=_0x404a76++;}class X{constructor(_0x3d15f0){const _0x375649=_0x28930f;this[_0x375649(0xb1)]=_0x3d15f0,this[_0x375649(0x110)]=new WeakMap();}[_0x28930f(0x144)](_0x1d4bc2){const _0x766d24=_0x28930f;let _0x4ce648=_0x1d4bc2[_0x766d24(0x199)];for(;_0x4ce648--;){const _0x20655b=_0x1d4bc2[_0x4ce648];if(!this[_0x766d24(0xb1)][_0x766d24(0x192)](_0x20655b)){if(!this[_0x766d24(0x110)][_0x766d24(0x192)](_0x20655b)){const _0x55b7a3=_0x15cf44()[_0x766d24(0x131)](0x1,0x12);this[_0x766d24(0x110)][_0x766d24(0x196)](_0x20655b,_0x55b7a3);}return this[_0x766d24(0x110)][_0x766d24(0xc6)](_0x20655b);}}}[_0x28930f(0x189)](_0x4af686,_0x4a54e8){const _0x54fd7c=_0x28930f;if(!_0x4a54e8)return;let _0x140257=_0x4af686[_0x54fd7c(0x199)];for(;_0x140257--;){const _0x50915b=_0x4af686[_0x140257];this[_0x54fd7c(0xb1)][_0x54fd7c(0x192)](_0x50915b)||this[_0x54fd7c(0x110)][_0x54fd7c(0x196)](_0x50915b,_0x4a54e8);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x445bbc=_0x1628;(function(_0x2a5d5b,_0x31c66f){const _0x446273=_0x1628,_0xa242ce=_0x2a5d5b();while(!![]){try{const _0x53e1eb=-parseInt(_0x446273(0x1a4))/0x1+parseInt(_0x446273(0x182))/0x2+-parseInt(_0x446273(0x19c))/0x3+parseInt(_0x446273(0x189))/0x4+-parseInt(_0x446273(0x184))/0x5*(-parseInt(_0x446273(0x1b8))/0x6)+-parseInt(_0x446273(0x1a6))/0x7+parseInt(_0x446273(0x181))/0x8*(parseInt(_0x446273(0x183))/0x9);if(_0x53e1eb===_0x31c66f)break;else _0xa242ce['push'](_0xa242ce['shift']());}catch(_0x5d3479){_0xa242ce['push'](_0xa242ce['shift']());}}}(_0x145a,0x2e17f));import{ContextPlugin as _0x5f7b5c}from'ckeditor5/src/core.js';function _0x1628(_0x53af42,_0x1ef9a4){const _0x145acd=_0x145a();return _0x1628=function(_0x162825,_0x2ee824){_0x162825=_0x162825-0x17d;let _0x336441=_0x145acd[_0x162825];return _0x336441;},_0x1628(_0x53af42,_0x1ef9a4);}import{Collection as _0x52e101,CKEditorError as _0x2171d2}from'ckeditor5/src/utils.js';import _0x424606 from'./websocketgateway.js';import{Users as _0x58b872}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x5f7b5c{static get[_0x445bbc(0x1a2)](){const _0xf7e77c=_0x445bbc;return _0xf7e77c(0x192);}static get[_0x445bbc(0x18c)](){return!0x0;}static get[_0x445bbc(0x180)](){return!0x0;}static get[_0x445bbc(0x18f)](){return[_0x424606,_0x58b872];}constructor(_0x238691){const _0x3ff55e=_0x445bbc;super(_0x238691),this[_0x3ff55e(0x1b7)]=new Map(),this[_0x3ff55e(0x1b3)]=new Map(),this[_0x3ff55e(0x17e)]=new _0x52e101(),this[_0x3ff55e(0x190)]=new Map(),this[_0x3ff55e(0x199)]=0x0,this[_0x3ff55e(0x1b6)]=this[_0x3ff55e(0x1ae)][_0x3ff55e(0x17d)][_0x3ff55e(0x1a5)](_0x58b872);}[_0x445bbc(0x18b)](){const _0x2b0c42=_0x445bbc,_0x362480=this[_0x2b0c42(0x1ae)][_0x2b0c42(0x17d)][_0x2b0c42(0x1a5)](_0x424606);this[_0x2b0c42(0x187)](_0x362480,_0x2b0c42(0x195),(_0x413811,_0x1d7a6f,_0x31edc3)=>{const _0x3140c0=_0x2b0c42;if(_0x3140c0(0x1a3)!==_0x31edc3)this[_0x3140c0(0x1b7)][_0x3140c0(0x186)](_0x45cb41=>_0x45cb41[_0x3140c0(0x1a8)]()),this[_0x3140c0(0x1b3)][_0x3140c0(0x186)](_0x34e797=>_0x34e797[_0x3140c0(0x1a8)]()),this[_0x3140c0(0x17e)][_0x3140c0(0x1a8)]();else{for(const [_0x44ac7e,_0x266653]of this[_0x3140c0(0x190)])for(const _0xd843a4 of _0x266653)this[_0x3140c0(0x1aa)](_0x44ac7e,_0xd843a4);}}),this[_0x2b0c42(0x193)](_0x362480[_0x2b0c42(0x1a1)]['me'],!0x0);}[_0x445bbc(0x1b9)](_0x5d4044,_0x48b596){const _0x1402f7=_0x445bbc;if(this[_0x1402f7(0x190)][_0x1402f7(0x196)](_0x5d4044))throw new _0x2171d2(_0x1402f7(0x1b1),null,{'channelId':_0x5d4044});this[_0x1402f7(0x190)][_0x1402f7(0x1ac)](_0x5d4044,_0x48b596),this[_0x1402f7(0x1b7)][_0x1402f7(0x1ac)](_0x5d4044,new _0x52e101()),this[_0x1402f7(0x1b3)][_0x1402f7(0x1ac)](_0x5d4044,new _0x52e101()),this[_0x1402f7(0x187)](_0x48b596,_0x1402f7(0x19e),(_0x51604e,_0x5162dc)=>this[_0x1402f7(0x1aa)](_0x5d4044,_0x5162dc)),this[_0x1402f7(0x187)](_0x48b596,_0x1402f7(0x1ab),(_0x518ce3,_0x3cbf7b)=>this[_0x1402f7(0x17f)](_0x5d4044,_0x3cbf7b));for(const _0x3152fa of _0x48b596)this[_0x1402f7(0x1aa)](_0x5d4044,_0x3152fa);}[_0x445bbc(0x1b4)](_0x189178){const _0xd66b8b=_0x445bbc;if(!this[_0xd66b8b(0x190)][_0xd66b8b(0x196)](_0x189178))throw new _0x2171d2(_0xd66b8b(0x1a0),null,{'channelId':_0x189178});const _0x1ddddc=this[_0xd66b8b(0x190)][_0xd66b8b(0x1a5)](_0x189178);this[_0xd66b8b(0x1b2)](_0x1ddddc);for(const _0x8f2a62 of _0x1ddddc)_0xd66b8b(0x1a3)===this[_0xd66b8b(0x1ae)][_0xd66b8b(0x17d)][_0xd66b8b(0x1a5)](_0x424606)[_0xd66b8b(0x185)]&&this[_0xd66b8b(0x17f)](_0x189178,_0x8f2a62);this[_0xd66b8b(0x190)][_0xd66b8b(0x18a)](_0x189178),this[_0xd66b8b(0x1b7)][_0xd66b8b(0x18a)](_0x189178),this[_0xd66b8b(0x1b3)][_0xd66b8b(0x18a)](_0x189178);}get[_0x445bbc(0x1ad)](){const _0x3dcf3d=_0x445bbc;return this[_0x3dcf3d(0x1ae)][_0x3dcf3d(0x17d)][_0x3dcf3d(0x1a5)](_0x424606)[_0x3dcf3d(0x1a1)][_0x3dcf3d(0x19f)];}[_0x445bbc(0x191)](_0x2f9734){const _0x4291fb=_0x445bbc;for(const _0x1e2e4d of this[_0x4291fb(0x1b7)][_0x4291fb(0x188)]())for(const _0x583d9e of _0x1e2e4d)if(_0x583d9e['id']===_0x2f9734)return _0x583d9e[_0x4291fb(0x1a9)];}[_0x445bbc(0x19d)](_0x35cc6b,_0x1ac98d){const _0x2300a2=_0x445bbc,_0x29fd0b=_0x1ac98d?[this[_0x2300a2(0x1b7)][_0x2300a2(0x1a5)](_0x1ac98d)]:this[_0x2300a2(0x1b7)][_0x2300a2(0x188)](),_0x24df61=new Set();for(const _0x35e722 of _0x29fd0b)for(const _0x390f1f of _0x35e722)_0x390f1f[_0x2300a2(0x1a9)]['id']===_0x35cc6b['id']&&_0x24df61[_0x2300a2(0x19e)](_0x390f1f['id']);return _0x24df61;}[_0x445bbc(0x18e)](_0x58ff68){const _0x5062b2=_0x445bbc;for(const _0x33e2d3 of this[_0x5062b2(0x1b7)][_0x5062b2(0x188)]())for(const _0xd060cf of _0x33e2d3)if(_0xd060cf[_0x5062b2(0x1a9)]===_0x58ff68)return _0xd060cf[_0x5062b2(0x1af)];}[_0x445bbc(0x1aa)](_0xdfb8a5,_0x5396d2){const _0x24bf1d=_0x445bbc;if(_0x24bf1d(0x1a3)!==this[_0x24bf1d(0x1ae)][_0x24bf1d(0x17d)][_0x24bf1d(0x1a5)](_0x424606)[_0x24bf1d(0x185)])return;const _0x18ce66=_0x5396d2[_0x24bf1d(0x1a9)],_0x479b24=this[_0x24bf1d(0x1b6)][_0x24bf1d(0x19a)](_0x18ce66['id'])||this[_0x24bf1d(0x193)](_0x18ce66),_0x5e7509=Object[_0x24bf1d(0x19b)]({},_0x5396d2,{'user':_0x479b24});this[_0x24bf1d(0x1b7)][_0x24bf1d(0x1a5)](_0xdfb8a5)[_0x24bf1d(0x19e)](_0x5e7509);const _0x93a702=this[_0x24bf1d(0x1b3)][_0x24bf1d(0x1a5)](_0xdfb8a5);_0x93a702[_0x24bf1d(0x196)](_0x479b24['id'])||_0x93a702[_0x24bf1d(0x19e)](_0x479b24),this[_0x24bf1d(0x17e)][_0x24bf1d(0x196)](_0x479b24['id'])||this[_0x24bf1d(0x17e)][_0x24bf1d(0x19e)](_0x479b24,_0x479b24[_0x24bf1d(0x1a7)]?0x0:void 0x0),this[_0x24bf1d(0x197)](_0x24bf1d(0x1b5)+_0xdfb8a5,{'channelId':_0xdfb8a5,'session':_0x5e7509});}[_0x445bbc(0x17f)](_0x547fe9,_0x2d6c9f){const _0x10796f=_0x445bbc;if(_0x10796f(0x1a3)!==this[_0x10796f(0x1ae)][_0x10796f(0x17d)][_0x10796f(0x1a5)](_0x424606)[_0x10796f(0x185)])return;const _0x10326f=this[_0x10796f(0x1b3)][_0x10796f(0x1a5)](_0x547fe9),_0x159c39=_0x2d6c9f[_0x10796f(0x1a9)];_0x159c39['id']&&(this[_0x10796f(0x1b7)][_0x10796f(0x1a5)](_0x547fe9)[_0x10796f(0x1ab)](_0x2d6c9f['id']),_0x10326f[_0x10796f(0x196)](_0x159c39['id'])&&!this[_0x10796f(0x19d)](_0x159c39,_0x547fe9)[_0x10796f(0x18d)]&&_0x10326f[_0x10796f(0x1ab)](_0x159c39['id']),this[_0x10796f(0x17e)][_0x10796f(0x1a5)](_0x159c39['id'])&&!this[_0x10796f(0x19d)](_0x159c39)[_0x10796f(0x18d)]&&this[_0x10796f(0x17e)][_0x10796f(0x1ab)](_0x159c39['id']));}[_0x445bbc(0x193)](_0x5ccbdb,_0x3ec593){const _0x4f8e45=_0x445bbc,_0x57fdad=this[_0x4f8e45(0x1b6)][_0x4f8e45(0x194)](_0x5ccbdb);return _0x3ec593&&this[_0x4f8e45(0x1b6)][_0x4f8e45(0x1b0)](_0x5ccbdb['id']),_0x57fdad[_0x4f8e45(0x198)]=this[_0x4f8e45(0x199)]++,_0x57fdad;}}function _0x145a(){const _0x21212e=['Sessions','_createUser','addUser','change:state','has','fire','orderNumber','_uniqueUsersCount','getUser','assign','759948NLPSeV','getUserSessions','add','sessionId','sessions-unregister-not-exist','connection','pluginName','connected','299794nAsgXR','get','399546yxXKZh','isMe','clear','user','_handleSessionAdd','remove','set','mySessionId','context','role','defineMe','sessions-register-already-registered','stopListening','channelConnectedUsers','unregister','sessionAdd:','_users','channelSessions','48jpCiPq','register','plugins','allConnectedUsers','_handleSessionRemove','isPremiumPlugin','55472IqMUbU','607978TtUwmT','360YKwvnT','127235xSZKKm','state','forEach','listenTo','values','56248RPxNDd','delete','init','isOfficialPlugin','size','getUserRole','requires','_registeredSessions','getUserBySessionId'];_0x145a=function(){return _0x21212e;};return _0x145a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0xa363(_0x444162,_0x5423ab){const _0x38c4da=_0x38c4();return _0xa363=function(_0xa3632d,_0x3c01f3){_0xa3632d=_0xa3632d-0x10e;let _0x4e2d41=_0x38c4da[_0xa3632d];return _0x4e2d41;},_0xa363(_0x444162,_0x5423ab);}const _0x2c6509=_0xa363;(function(_0x42c0bf,_0xfcb553){const _0x52976a=_0xa363,_0x5189a9=_0x42c0bf();while(!![]){try{const _0x49f853=parseInt(_0x52976a(0x125))/0x1+-parseInt(_0x52976a(0x142))/0x2+parseInt(_0x52976a(0x13f))/0x3+parseInt(_0x52976a(0x11d))/0x4*(-parseInt(_0x52976a(0x13a))/0x5)+parseInt(_0x52976a(0x115))/0x6+-parseInt(_0x52976a(0x155))/0x7*(parseInt(_0x52976a(0x151))/0x8)+parseInt(_0x52976a(0x184))/0x9;if(_0x49f853===_0xfcb553)break;else _0x5189a9['push'](_0x5189a9['shift']());}catch(_0x4cffd9){_0x5189a9['push'](_0x5189a9['shift']());}}}(_0x38c4,0xb3d00));function _0x38c4(){const _0x432bb2=['reconvertMarker','_createdBatches','userPositionMarker','parent','isObject','type','getStart','plugins','toRange','editingDowncast','afterInit','2697060KcITDt','getPositions','markerName','view','setCustomProperty','oldRange','element','init','4rZdYBb','getContainedElement','startsWith','schema','hasDomSelection','getFirstRange','has','root','580383nGHgsa','getSelectionClass','rootName','markers','add','ck-user__marker\x20','mySessionId','_domEmitter','commands','innerHTML','removeMarker','set','isSimilar','createUIElement','color','end','batch','markerNameToElements','split','span','addEventListener','2563635injshO','user:position','Escape','editor','destroy','842313iMVtVx','data-session-id','newRange','554698jEvHOu','nodeAfter','removeClass','markerToElement','getRange','markerRange','mouseenter','applyOperation','ck-user__marker_hovered','getNearestSelectionRange','stopListening','model','undo','UserMarkers','clear','6424VIDsmk','get','</span>','$graveyard','6139SlWByI','user:','tableCell','ck-user__selection','start','getMarkerClass','isOfficialPlugin','contenteditable','user:range:','size','toDomElement','checkChild','getCustomProperty','classList','for','highest','selection','update:user:range','mouseleave','<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>','document','deletionPosition','orderNumber','detach','updateMarker','render','isInline','remove','user:range','getAttribute','change:range','editing','listenTo','isCollapsed','isPremiumPlugin','getUserBySessionId','createRange','name','enqueueChange','markerToHighlight','pluginName','marker','$text','mapper','requires','createUserMarkerOperations','fromRange','8281395dBadfe','change','user:position:','delete','isLimit','hasContent','conversion','isDocumentOperation','keydown','addMarker'];_0x38c4=function(){return _0x432bb2;};return _0x38c4();}import{Plugin as _0x323b7f}from'ckeditor5/src/core.js';import{global as _0x4926c7,DomEmitterMixin as _0x412be8}from'ckeditor5/src/utils.js';import _0x3cc85c from'./sessions.js';import{LiveRange as _0x2a8b62}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x323b7f{constructor(){const _0xce79b7=_0xa363;super(...arguments),this[_0xce79b7(0x12c)]=new(_0x412be8())();}static get[_0x2c6509(0x181)](){return[_0x3cc85c];}static get[_0x2c6509(0x17d)](){const _0x41856f=_0x2c6509;return _0x41856f(0x14f);}static get[_0x2c6509(0x15b)](){return!0x0;}static get[_0x2c6509(0x177)](){return!0x0;}[_0x2c6509(0x11c)](){const _0x4df472=_0x2c6509,_0x45ebff=this[_0x4df472(0x13d)],_0x41f6ac=_0x45ebff[_0x4df472(0x111)][_0x4df472(0x152)](_0x3cc85c);_0x45ebff[_0x4df472(0x18a)][_0x4df472(0x163)](_0x4df472(0x113))[_0x4df472(0x145)]({'model':_0x4df472(0x13b),'view':(_0x5456f3,{writer:_0x4f83ee})=>function(_0x5148a2,_0x2c401e,_0x369c7b,_0x16cac2){const _0x1dc39d=_0x4df472,_0x2c8a31=_0x5148a2[_0x1dc39d(0x117)][_0x1dc39d(0x137)](':')[0x2],_0xc55db=_0x369c7b[_0x1dc39d(0x178)](_0x2c8a31);if(!_0xc55db||_0x2c8a31===_0x369c7b[_0x1dc39d(0x12b)])return;if(!_0x16cac2[_0x1dc39d(0x14d)][_0x1dc39d(0x120)][_0x1dc39d(0x160)](_0x5148a2[_0x1dc39d(0x147)][_0x1dc39d(0x159)],_0x1dc39d(0x17f)))return;const _0x16da17={'class':_0x1dc39d(0x12a)+_0xc55db[_0x1dc39d(0x133)][_0x1dc39d(0x15a)](),'data-name':_0xc55db[_0x1dc39d(0x17a)],'data-session-id':_0x2c8a31},_0x4da05c=_0x16cac2[_0x1dc39d(0x14d)][_0x1dc39d(0x128)][_0x1dc39d(0x152)](_0x5148a2[_0x1dc39d(0x117)]),_0x297a1f=_0x4da05c[_0x1dc39d(0x110)](),_0x3facba=_0x297a1f[_0x1dc39d(0x143)],_0x59486a=_0x16cac2[_0x1dc39d(0x14d)][_0x1dc39d(0x120)];if(_0x3facba&&_0x59486a[_0x1dc39d(0x10e)](_0x3facba)&&_0x59486a[_0x1dc39d(0x16f)](_0x3facba)&&!_0x16cac2[_0x1dc39d(0x14d)][_0x1dc39d(0x128)][_0x1dc39d(0x152)](_0x1dc39d(0x15d)+_0x2c8a31)[_0x1dc39d(0x146)]()[_0x1dc39d(0x176)])return;const _0x33cea3=_0x297a1f[_0x1dc39d(0x191)];return _0x16cac2[_0x1dc39d(0x14d)][_0x1dc39d(0x120)][_0x1dc39d(0x188)](_0x33cea3)&&!_0x16cac2[_0x1dc39d(0x14d)][_0x1dc39d(0x189)](_0x33cea3)&&(_0x16da17[_0x1dc39d(0x15c)]=!0x1),function(_0x433785,_0x534c5d,_0x181a69){const _0x91b8bd=_0x1dc39d,_0x18a807=_0x433785[_0x91b8bd(0x132)](_0x91b8bd(0x138),_0x534c5d);return _0x433785[_0x91b8bd(0x119)](_0x91b8bd(0x190),!0x0,_0x18a807),_0x18a807[_0x91b8bd(0x16e)]=function(_0x3c0781){const _0x31971c=_0x91b8bd,_0x2a8b67=this[_0x31971c(0x15f)](_0x3c0781);return _0x2a8b67[_0x31971c(0x12e)]=_0x31971c(0x168)+_0x181a69[_0x31971c(0x17a)]+_0x31971c(0x153),_0x2a8b67[_0x31971c(0x139)](_0x31971c(0x148),()=>{const _0x4e3109=_0x31971c;_0x2a8b67[_0x4e3109(0x162)][_0x4e3109(0x129)](_0x4e3109(0x14a));}),_0x2a8b67[_0x31971c(0x139)](_0x31971c(0x167),()=>{const _0x5d6991=_0x31971c;_0x2a8b67[_0x5d6991(0x162)][_0x5d6991(0x170)](_0x5d6991(0x14a));}),_0x2a8b67;},_0x18a807[_0x91b8bd(0x131)]=function(_0x343faf){const _0x5d971c=_0x91b8bd;return!(!this[_0x5d971c(0x161)](_0x5d971c(0x190))||!_0x343faf[_0x5d971c(0x161)](_0x5d971c(0x190))||this[_0x5d971c(0x172)](_0x5d971c(0x140))!=_0x343faf[_0x5d971c(0x172)](_0x5d971c(0x140)));},_0x18a807;}(_0x2c401e,_0x16da17,_0xc55db);}(_0x5456f3,_0x4f83ee,_0x41f6ac,_0x45ebff)}),_0x45ebff[_0x4df472(0x18a)][_0x4df472(0x163)](_0x4df472(0x113))[_0x4df472(0x17c)]({'model':_0x4df472(0x171),'view':_0x450943=>function(_0x555985,_0x131951){const _0x1cc249=_0x4df472,_0x2f0194=_0x555985[_0x1cc249(0x117)][_0x1cc249(0x137)](':')[0x2];if(_0x2f0194===_0x131951[_0x1cc249(0x12b)])return null;const _0x3db192=_0x131951[_0x1cc249(0x178)](_0x2f0194);if(!_0x3db192)return{'id':_0x2f0194,'classes':[]};return{'id':_0x2f0194,'classes':[_0x1cc249(0x158),_0x3db192[_0x1cc249(0x133)][_0x1cc249(0x126)]()],'attributes':{'data-session-id':_0x2f0194},'priority':0x7d0+_0x3db192[_0x1cc249(0x16b)]};}(_0x450943,_0x41f6ac)}),function(_0x13fd49){const _0xd4e188=_0x4df472,_0x304b48=_0x13fd49[_0xd4e188(0x14d)],_0x182464=new Map(),_0x19b4ea=_0x13fd49[_0xd4e188(0x111)][_0xd4e188(0x152)](_0x3cc85c);_0x304b48[_0xd4e188(0x128)]['on'](_0xd4e188(0x166),(_0xc2ac91,_0x5be0d1,_0x5c5fb6,_0x3f3830)=>{const _0x55f3f7=_0xd4e188;if(!_0x3f3830&&_0x182464[_0x55f3f7(0x152)](_0x5be0d1[_0x55f3f7(0x17a)]))return _0x182464[_0x55f3f7(0x152)](_0x5be0d1[_0x55f3f7(0x17a)])[_0x55f3f7(0x16c)](),void _0x182464[_0x55f3f7(0x187)](_0x5be0d1[_0x55f3f7(0x17a)]);const _0x3bb5c3=_0x5be0d1[_0x55f3f7(0x17a)][_0x55f3f7(0x137)](':')[0x2];if(_0x3bb5c3===_0x19b4ea[_0x55f3f7(0x12b)])return;const _0x5952a6=_0x55f3f7(0x186)+_0x3bb5c3;_0x304b48[_0x55f3f7(0x128)][_0x55f3f7(0x123)](_0x5952a6)&&_0x13fd49[_0x55f3f7(0x174)][_0x55f3f7(0x18e)](_0x5952a6),_0x5be0d1['on'](_0x55f3f7(0x173),(_0x47385e,_0x1bee37,_0x259fd9)=>{const _0x42a3ab=_0x55f3f7;if(_0x42a3ab(0x154)!=_0x1bee37[_0x42a3ab(0x124)][_0x42a3ab(0x127)]&&_0x42a3ab(0x154)==_0x5be0d1[_0x42a3ab(0x146)]()[_0x42a3ab(0x124)][_0x42a3ab(0x127)]&&!_0x182464[_0x42a3ab(0x123)](_0x5be0d1[_0x42a3ab(0x17a)])){const _0x4c07cf=_0x304b48[_0x42a3ab(0x120)][_0x42a3ab(0x14b)](_0x259fd9[_0x42a3ab(0x16a)]);if(_0x4c07cf){const _0x2cc799=_0x2a8b62[_0x42a3ab(0x183)](_0x4c07cf);_0x182464[_0x42a3ab(0x130)](_0x5be0d1[_0x42a3ab(0x17a)],_0x2cc799),_0x2cc799['on'](_0x42a3ab(0x173),(_0x4960d8,_0x18fd6d,_0x5af9e1)=>{const _0x2458c1=_0x42a3ab;if(_0x2458c1(0x154)==_0x2cc799[_0x2458c1(0x124)][_0x2458c1(0x127)]){const _0x3e6299=_0x304b48[_0x2458c1(0x120)][_0x2458c1(0x14b)](_0x5af9e1[_0x2458c1(0x16a)]);_0x3e6299?(_0x2cc799[_0x2458c1(0x159)]=_0x3e6299[_0x2458c1(0x159)],_0x2cc799[_0x2458c1(0x134)]=_0x3e6299[_0x2458c1(0x134)]):(_0x182464[_0x2458c1(0x187)](_0x5be0d1[_0x2458c1(0x17a)]),_0x2cc799[_0x2458c1(0x16c)]());}});}}});}),_0x304b48[_0xd4e188(0x169)]['on'](_0xd4e188(0x185),()=>{const _0x34ef6e=_0xd4e188;_0x182464[_0x34ef6e(0x15e)]>0x0&&_0x304b48[_0x34ef6e(0x17b)]({'isUndoable':!0x1},_0x202732=>{const _0x3e079b=_0x34ef6e;for(const [_0x5c77de,_0x14d264]of _0x182464)_0x3e079b(0x154)==_0x304b48[_0x3e079b(0x128)][_0x3e079b(0x152)](_0x5c77de)[_0x3e079b(0x146)]()[_0x3e079b(0x124)][_0x3e079b(0x127)]&&(re(_0x5c77de[_0x3e079b(0x137)](':')[0x2],_0x14d264[_0x3e079b(0x112)](),_0x304b48,_0x202732),_0x14d264[_0x3e079b(0x16c)]());_0x182464[_0x3e079b(0x150)]();});});}(_0x45ebff),this[_0x4df472(0x12c)][_0x4df472(0x175)](_0x4926c7[_0x4df472(0x169)],_0x4df472(0x18c),(_0x2b1590,{key:_0x6fc648})=>{const _0x3318ee=_0x4df472;_0x3318ee(0x13c)===_0x6fc648&&function(_0x23d9ff){const _0x1ac4fc=_0x3318ee;_0x23d9ff[_0x1ac4fc(0x174)][_0x1ac4fc(0x118)][_0x1ac4fc(0x185)](_0x2d1d07=>{const _0x10d154=_0x1ac4fc;for(const _0xd3a828 of _0x23d9ff[_0x10d154(0x14d)][_0x10d154(0x128)]){if(!_0xd3a828[_0x10d154(0x17a)][_0x10d154(0x11f)](_0x10d154(0x13b)))continue;const _0x1d0be3=_0x23d9ff[_0x10d154(0x174)][_0x10d154(0x180)][_0x10d154(0x136)](_0xd3a828[_0x10d154(0x17a)]);if(_0x1d0be3){for(const _0x19c938 of _0x1d0be3)_0x2d1d07[_0x10d154(0x144)](_0x10d154(0x14a),_0x19c938);}}});}(_0x45ebff);},{'useCapture':!0x0});}[_0x2c6509(0x114)](){const _0x5bd2ad=_0x2c6509,_0x588190=this[_0x5bd2ad(0x13d)],_0x3b1c45=_0x588190[_0x5bd2ad(0x12d)][_0x5bd2ad(0x152)](_0x5bd2ad(0x14e));_0x3b1c45&&_0x588190[_0x5bd2ad(0x14d)]['on'](_0x5bd2ad(0x149),(_0x13750e,_0x2f57b8)=>{const _0x38c952=_0x5bd2ad,_0x10ecde=_0x2f57b8[0x0];if(!_0x10ecde[_0x38c952(0x18b)])return;if(_0x38c952(0x17e)!=_0x10ecde[_0x38c952(0x10f)]||!_0x10ecde[_0x38c952(0x17a)][_0x38c952(0x11f)](_0x38c952(0x156)))return;const _0x166b15=_0x10ecde[_0x38c952(0x135)];_0x3b1c45[_0x38c952(0x18f)][_0x38c952(0x123)](_0x166b15)&&(_0x10ecde[_0x38c952(0x141)]=_0x10ecde[_0x38c952(0x11a)]?_0x588190[_0x38c952(0x14d)][_0x38c952(0x179)](_0x10ecde[_0x38c952(0x11a)][_0x38c952(0x159)],_0x10ecde[_0x38c952(0x11a)][_0x38c952(0x134)]):null);},{'priority':_0x5bd2ad(0x164)});}[_0x2c6509(0x13e)](){const _0x5a357a=_0x2c6509;return this[_0x5a357a(0x12c)][_0x5a357a(0x14c)](),super[_0x5a357a(0x13e)]();}[_0x2c6509(0x182)](){const _0x1dfd00=_0x2c6509,_0x323030=this[_0x1dfd00(0x13d)],_0x8de06c=_0x323030[_0x1dfd00(0x14d)][_0x1dfd00(0x169)],_0x5b94c5=_0x323030[_0x1dfd00(0x111)][_0x1dfd00(0x152)](_0x3cc85c);_0x323030[_0x1dfd00(0x14d)][_0x1dfd00(0x17b)]({'isUndoable':!0x1},_0x3520cd=>{const _0x3e06a4=_0x1dfd00,_0xd3e5d0=_0x3e06a4(0x15d)+_0x5b94c5[_0x3e06a4(0x12b)],_0x3367b0=_0x3e06a4(0x186)+_0x5b94c5[_0x3e06a4(0x12b)],_0x4fb012=_0x323030[_0x3e06a4(0x14d)][_0x3e06a4(0x128)][_0x3e06a4(0x123)](_0xd3e5d0);_0x323030[_0x3e06a4(0x174)][_0x3e06a4(0x118)][_0x3e06a4(0x121)]?re(_0x5b94c5[_0x3e06a4(0x12b)],_0x8de06c[_0x3e06a4(0x165)][_0x3e06a4(0x122)](),_0x323030[_0x3e06a4(0x14d)],_0x3520cd):_0x4fb012&&(_0x3520cd[_0x3e06a4(0x12f)](_0xd3e5d0),_0x3520cd[_0x3e06a4(0x12f)](_0x3367b0));});}}function re(_0x1c5253,_0x3ea321,_0x271df7,_0x489e0b){const _0x5c61d9=_0x2c6509,_0x3d313b=_0x5c61d9(0x15d)+_0x1c5253,_0x4796d2=_0x5c61d9(0x186)+_0x1c5253,_0x31fb5f=_0x3ea321[_0x5c61d9(0x11e)]();let _0x4047c9=_0x3ea321[_0x5c61d9(0x159)];_0x31fb5f&&_0x31fb5f['is'](_0x5c61d9(0x11b),_0x5c61d9(0x157))&&(_0x4047c9=function(_0xd3af52,_0x2bc142){const _0x2140e4=_0x5c61d9;for(const _0x526b1a of _0xd3af52[_0x2140e4(0x116)]())if(_0x2bc142[_0x2140e4(0x120)][_0x2140e4(0x160)](_0x526b1a,_0x2140e4(0x17f)))return _0x526b1a;}(_0x3ea321,_0x271df7),_0x3ea321=_0x489e0b[_0x5c61d9(0x179)](_0x4047c9));const _0xc59176=_0x489e0b[_0x5c61d9(0x179)](_0x4047c9);_0x271df7[_0x5c61d9(0x128)][_0x5c61d9(0x123)](_0x3d313b)?(_0x489e0b[_0x5c61d9(0x16d)](_0x3d313b,{'range':_0x3ea321}),_0x489e0b[_0x5c61d9(0x16d)](_0x4796d2,{'range':_0xc59176})):(_0x489e0b[_0x5c61d9(0x18d)](_0x3d313b,{'range':_0x3ea321,'usingOperation':!0x0}),_0x489e0b[_0x5c61d9(0x18d)](_0x4796d2,{'range':_0xc59176,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x504360=_0x5578;(function(_0x31d15c,_0x45a3ef){const _0x576d6d=_0x5578,_0x41856b=_0x31d15c();while(!![]){try{const _0x4e63cb=parseInt(_0x576d6d(0x191))/0x1+-parseInt(_0x576d6d(0x18e))/0x2*(parseInt(_0x576d6d(0x187))/0x3)+parseInt(_0x576d6d(0x140))/0x4*(-parseInt(_0x576d6d(0x1a7))/0x5)+parseInt(_0x576d6d(0x1a8))/0x6*(-parseInt(_0x576d6d(0x172))/0x7)+-parseInt(_0x576d6d(0x15f))/0x8+parseInt(_0x576d6d(0x15e))/0x9*(-parseInt(_0x576d6d(0x1a2))/0xa)+parseInt(_0x576d6d(0x14a))/0xb*(parseInt(_0x576d6d(0x135))/0xc);if(_0x4e63cb===_0x45a3ef)break;else _0x41856b['push'](_0x41856b['shift']());}catch(_0x1af7be){_0x41856b['push'](_0x41856b['shift']());}}}(_0x56c4,0x7baae));function _0x5578(_0x561866,_0xf62014){const _0x56c49e=_0x56c4();return _0x5578=function(_0x5578a2,_0x48e7bd){_0x5578a2=_0x5578a2-0x130;let _0x5427ff=_0x56c49e[_0x5578a2];return _0x5427ff;},_0x5578(_0x561866,_0xf62014);}import{Plugin as _0x216af1}from'ckeditor5/src/core.js';import{global as _0x3743ba,DomEmitterMixin as _0x2e874d}from'ckeditor5/src/utils.js';import _0x564742 from'./sessions.js';import{LiveRange as _0xe33042}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x56c4(){const _0x30485b=['spellcheck','setAttribute','1867330gmwNnR','6svTeSu','data-session-id','detach','user:range','editor','userPositionMarker','createElement','end','element','markers','markerNameToElements','getStart','isOfficialPlugin','destroy','Escape','get','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','ck-user__marker-tooltip','$text','startsWith','innerHTML','color','_createdBatches','afterInit','getRange','pluginName','108972nObnxx','mouseleave','stopListening','toDomElement','user:','markerName','contenteditable','user:position:','textContent','reconvertMarker','user:range:','4bUtwjf','removeMarker','classList','ck-user__marker\x20','isObject','mapper','selection','createRange','hasDomSelection','init','4213zyTZAz','fromRange','change','nodeAfter','createUserMarkerOperations','requires','editingDowncast','markerToHighlight','delete','rootName','set','markerToElement','getContainedElement','isCollapsed','size','getPositions','toRange','clear','marker','applyOperation','27cQOiKp','5460576YOhhbq','mouseenter','commands','orderNumber','view','editing','highest','listenTo','undo','getAttribute','isDocumentOperation','isLimit','plugins','getUserBySessionId','getMarkerClass','removeClass','update:user:range','batch','getFirstRange','3839318SXgpxW','parent','type','isInline','addMarker','render','getSelectionClass','model','isSimilar','checkChild','add','has','_domEmitter','newRange','ck-user__marker_hovered','outerHTML','false','split','keydown','tableCell','updateMarker','33ZqqERt','getCustomProperty','document','setCustomProperty','hasContent','span','name','164626bovDFL','addEventListener','getNearestSelectionRange','228321eADWQZ','UserMarkers','markerRange','conversion','isPremiumPlugin','enqueueChange','for','remove','mySessionId','deletionPosition','createUIElement','ck-user__selection','oldRange','change:range','root','user:position','start','2299490EeiFVc','schema','$graveyard'];_0x56c4=function(){return _0x30485b;};return _0x56c4();}export default class H extends _0x216af1{constructor(){const _0x5236ca=_0x5578;super(...arguments),this[_0x5236ca(0x17e)]=new(_0x2e874d())();}static get[_0x504360(0x14f)](){return[_0x564742];}static get[_0x504360(0x134)](){const _0x5c4524=_0x504360;return _0x5c4524(0x192);}static get[_0x504360(0x1b4)](){return!0x0;}static get[_0x504360(0x195)](){return!0x0;}[_0x504360(0x149)](){const _0x354334=_0x504360,_0xfd1b20=this[_0x354334(0x1ac)],_0x324cc7=_0xfd1b20[_0x354334(0x16b)][_0x354334(0x1b7)](_0x564742);_0xfd1b20[_0x354334(0x194)][_0x354334(0x197)](_0x354334(0x150))[_0x354334(0x155)]({'model':_0x354334(0x1a0),'view':(_0x408474,{writer:_0x36bddc})=>function(_0x1b5567,_0x4ab1b7,_0x4f7d97,_0xda1719){const _0x38b343=_0x354334,_0xcf767c=_0x1b5567[_0x38b343(0x13a)][_0x38b343(0x183)](':')[0x2],_0x2807ab=_0x4f7d97[_0x38b343(0x16c)](_0xcf767c);if(!_0x2807ab||_0xcf767c===_0x4f7d97[_0x38b343(0x199)])return;if(!_0xda1719[_0x38b343(0x179)][_0x38b343(0x1a3)][_0x38b343(0x17b)](_0x1b5567[_0x38b343(0x193)][_0x38b343(0x1a1)],_0x38b343(0x1ba)))return;const _0x9bd20c={'class':_0x38b343(0x143)+_0x2807ab[_0x38b343(0x130)][_0x38b343(0x16d)](),'data-name':_0x2807ab[_0x38b343(0x18d)],'data-session-id':_0xcf767c},_0x2c99ad=_0xda1719[_0x38b343(0x179)][_0x38b343(0x1b1)][_0x38b343(0x1b7)](_0x1b5567[_0x38b343(0x13a)]),_0x3fe479=_0x2c99ad[_0x38b343(0x1b3)](),_0x35d669=_0x3fe479[_0x38b343(0x14d)],_0x45be48=_0xda1719[_0x38b343(0x179)][_0x38b343(0x1a3)];if(_0x35d669&&_0x45be48[_0x38b343(0x144)](_0x35d669)&&_0x45be48[_0x38b343(0x175)](_0x35d669)&&!_0xda1719[_0x38b343(0x179)][_0x38b343(0x1b1)][_0x38b343(0x1b7)](_0x38b343(0x13f)+_0xcf767c)[_0x38b343(0x133)]()[_0x38b343(0x157)])return;const _0x465753=_0x3fe479[_0x38b343(0x173)];return _0xda1719[_0x38b343(0x179)][_0x38b343(0x1a3)][_0x38b343(0x16a)](_0x465753)&&!_0xda1719[_0x38b343(0x179)][_0x38b343(0x18b)](_0x465753)&&(_0x9bd20c[_0x38b343(0x13b)]=!0x1),function(_0x12a86d,_0x435ce4,_0x151043){const _0x17db62=_0x38b343,_0x57f630=_0x12a86d[_0x17db62(0x19b)](_0x17db62(0x18c),_0x435ce4);return _0x12a86d[_0x17db62(0x18a)](_0x17db62(0x1ad),!0x0,_0x57f630),_0x57f630[_0x17db62(0x177)]=function(_0x1bd50b){const _0x51a068=_0x17db62,_0x2cc291=this[_0x51a068(0x138)](_0x1bd50b),_0x14cded=document[_0x51a068(0x1ae)](_0x51a068(0x18c));return _0x14cded[_0x51a068(0x142)][_0x51a068(0x17c)](_0x51a068(0x1b9)),_0x14cded[_0x51a068(0x1a6)](_0x51a068(0x13b),_0x51a068(0x182)),_0x14cded[_0x51a068(0x1a6)](_0x51a068(0x1a5),_0x51a068(0x182)),_0x14cded[_0x51a068(0x13d)]=_0x151043[_0x51a068(0x18d)],_0x2cc291[_0x51a068(0x1bc)]=_0x51a068(0x1b8)+_0x14cded[_0x51a068(0x181)]+'',_0x2cc291[_0x51a068(0x18f)](_0x51a068(0x160),()=>{const _0x5bc15b=_0x51a068;_0x2cc291[_0x5bc15b(0x142)][_0x5bc15b(0x17c)](_0x5bc15b(0x180));}),_0x2cc291[_0x51a068(0x18f)](_0x51a068(0x136),()=>{const _0x1d42fe=_0x51a068;_0x2cc291[_0x1d42fe(0x142)][_0x1d42fe(0x198)](_0x1d42fe(0x180));}),_0x2cc291;},_0x57f630[_0x17db62(0x17a)]=function(_0x877474){const _0x322955=_0x17db62;return!(!this[_0x322955(0x188)](_0x322955(0x1ad))||!_0x877474[_0x322955(0x188)](_0x322955(0x1ad))||this[_0x322955(0x168)](_0x322955(0x1a9))!=_0x877474[_0x322955(0x168)](_0x322955(0x1a9)));},_0x57f630;}(_0x4ab1b7,_0x9bd20c,_0x2807ab);}(_0x408474,_0x36bddc,_0x324cc7,_0xfd1b20)}),_0xfd1b20[_0x354334(0x194)][_0x354334(0x197)](_0x354334(0x150))[_0x354334(0x151)]({'model':_0x354334(0x1ab),'view':_0x451d91=>function(_0x44015b,_0x28e4e2){const _0x3fc734=_0x354334,_0x193350=_0x44015b[_0x3fc734(0x13a)][_0x3fc734(0x183)](':')[0x2];if(_0x193350===_0x28e4e2[_0x3fc734(0x199)])return null;const _0x4d043a=_0x28e4e2[_0x3fc734(0x16c)](_0x193350);if(!_0x4d043a)return{'id':_0x193350,'classes':[]};return{'id':_0x193350,'classes':[_0x3fc734(0x19c),_0x4d043a[_0x3fc734(0x130)][_0x3fc734(0x178)]()],'attributes':{'data-session-id':_0x193350},'priority':0x7d0+_0x4d043a[_0x3fc734(0x162)]};}(_0x451d91,_0x324cc7)}),function(_0x4f0e24){const _0x4c92ac=_0x354334,_0x318b76=_0x4f0e24[_0x4c92ac(0x179)],_0x5ef209=new Map(),_0x3aab80=_0x4f0e24[_0x4c92ac(0x16b)][_0x4c92ac(0x1b7)](_0x564742);_0x318b76[_0x4c92ac(0x1b1)]['on'](_0x4c92ac(0x16f),(_0x2c31dd,_0x5a258a,_0x42c7fa,_0x2a57f0)=>{const _0xbf901c=_0x4c92ac;if(!_0x2a57f0&&_0x5ef209[_0xbf901c(0x1b7)](_0x5a258a[_0xbf901c(0x18d)]))return _0x5ef209[_0xbf901c(0x1b7)](_0x5a258a[_0xbf901c(0x18d)])[_0xbf901c(0x1aa)](),void _0x5ef209[_0xbf901c(0x152)](_0x5a258a[_0xbf901c(0x18d)]);const _0x2dbfb4=_0x5a258a[_0xbf901c(0x18d)][_0xbf901c(0x183)](':')[0x2];if(_0x2dbfb4===_0x3aab80[_0xbf901c(0x199)])return;const _0x3c163a=_0xbf901c(0x13c)+_0x2dbfb4;_0x318b76[_0xbf901c(0x1b1)][_0xbf901c(0x17d)](_0x3c163a)&&_0x4f0e24[_0xbf901c(0x164)][_0xbf901c(0x13e)](_0x3c163a),_0x5a258a['on'](_0xbf901c(0x19e),(_0x52b78c,_0x2ae975,_0x380e53)=>{const _0x314f55=_0xbf901c;if(_0x314f55(0x1a4)!=_0x2ae975[_0x314f55(0x19f)][_0x314f55(0x153)]&&_0x314f55(0x1a4)==_0x5a258a[_0x314f55(0x133)]()[_0x314f55(0x19f)][_0x314f55(0x153)]&&!_0x5ef209[_0x314f55(0x17d)](_0x5a258a[_0x314f55(0x18d)])){const _0x5c2594=_0x318b76[_0x314f55(0x1a3)][_0x314f55(0x190)](_0x380e53[_0x314f55(0x19a)]);if(_0x5c2594){const _0x8a3029=_0xe33042[_0x314f55(0x14b)](_0x5c2594);_0x5ef209[_0x314f55(0x154)](_0x5a258a[_0x314f55(0x18d)],_0x8a3029),_0x8a3029['on'](_0x314f55(0x19e),(_0x169371,_0x1a9802,_0x52b33d)=>{const _0x2b2865=_0x314f55;if(_0x2b2865(0x1a4)==_0x8a3029[_0x2b2865(0x19f)][_0x2b2865(0x153)]){const _0x5e0658=_0x318b76[_0x2b2865(0x1a3)][_0x2b2865(0x190)](_0x52b33d[_0x2b2865(0x19a)]);_0x5e0658?(_0x8a3029[_0x2b2865(0x1a1)]=_0x5e0658[_0x2b2865(0x1a1)],_0x8a3029[_0x2b2865(0x1af)]=_0x5e0658[_0x2b2865(0x1af)]):(_0x5ef209[_0x2b2865(0x152)](_0x5a258a[_0x2b2865(0x18d)]),_0x8a3029[_0x2b2865(0x1aa)]());}});}}});}),_0x318b76[_0x4c92ac(0x189)]['on'](_0x4c92ac(0x14c),()=>{const _0x5da878=_0x4c92ac;_0x5ef209[_0x5da878(0x158)]>0x0&&_0x318b76[_0x5da878(0x196)]({'isUndoable':!0x1},_0x27b301=>{const _0x26f407=_0x5da878;for(const [_0x1b2ebb,_0x5ec0f2]of _0x5ef209)_0x26f407(0x1a4)==_0x318b76[_0x26f407(0x1b1)][_0x26f407(0x1b7)](_0x1b2ebb)[_0x26f407(0x133)]()[_0x26f407(0x19f)][_0x26f407(0x153)]&&(re(_0x1b2ebb[_0x26f407(0x183)](':')[0x2],_0x5ec0f2[_0x26f407(0x15a)](),_0x318b76,_0x27b301),_0x5ec0f2[_0x26f407(0x1aa)]());_0x5ef209[_0x26f407(0x15b)]();});});}(_0xfd1b20),this[_0x354334(0x17e)][_0x354334(0x166)](_0x3743ba[_0x354334(0x189)],_0x354334(0x184),(_0x10d0ec,{key:_0x4a454e})=>{const _0x49c430=_0x354334;_0x49c430(0x1b6)===_0x4a454e&&function(_0x282dc0){const _0x124389=_0x49c430;_0x282dc0[_0x124389(0x164)][_0x124389(0x163)][_0x124389(0x14c)](_0xa3d64c=>{const _0x5f1edf=_0x124389;for(const _0x23ec69 of _0x282dc0[_0x5f1edf(0x179)][_0x5f1edf(0x1b1)]){if(!_0x23ec69[_0x5f1edf(0x18d)][_0x5f1edf(0x1bb)](_0x5f1edf(0x1a0)))continue;const _0x3c1f0e=_0x282dc0[_0x5f1edf(0x164)][_0x5f1edf(0x145)][_0x5f1edf(0x1b2)](_0x23ec69[_0x5f1edf(0x18d)]);if(_0x3c1f0e){for(const _0x3347cb of _0x3c1f0e)_0xa3d64c[_0x5f1edf(0x16e)](_0x5f1edf(0x180),_0x3347cb);}}});}(_0xfd1b20);},{'useCapture':!0x0});}[_0x504360(0x132)](){const _0x406584=_0x504360,_0x386ab5=this[_0x406584(0x1ac)],_0x3967b3=_0x386ab5[_0x406584(0x161)][_0x406584(0x1b7)](_0x406584(0x167));_0x3967b3&&_0x386ab5[_0x406584(0x179)]['on'](_0x406584(0x15d),(_0x6f6139,_0x3ae1ff)=>{const _0x1b95fa=_0x406584,_0x43435d=_0x3ae1ff[0x0];if(!_0x43435d[_0x1b95fa(0x169)])return;if(_0x1b95fa(0x15c)!=_0x43435d[_0x1b95fa(0x174)]||!_0x43435d[_0x1b95fa(0x18d)][_0x1b95fa(0x1bb)](_0x1b95fa(0x139)))return;const _0x3dbfca=_0x43435d[_0x1b95fa(0x170)];_0x3967b3[_0x1b95fa(0x131)][_0x1b95fa(0x17d)](_0x3dbfca)&&(_0x43435d[_0x1b95fa(0x17f)]=_0x43435d[_0x1b95fa(0x19d)]?_0x386ab5[_0x1b95fa(0x179)][_0x1b95fa(0x147)](_0x43435d[_0x1b95fa(0x19d)][_0x1b95fa(0x1a1)],_0x43435d[_0x1b95fa(0x19d)][_0x1b95fa(0x1af)]):null);},{'priority':_0x406584(0x165)});}[_0x504360(0x1b5)](){const _0x5c80ed=_0x504360;return this[_0x5c80ed(0x17e)][_0x5c80ed(0x137)](),super[_0x5c80ed(0x1b5)]();}[_0x504360(0x14e)](){const _0x3ccf3f=_0x504360,_0x5eb1a6=this[_0x3ccf3f(0x1ac)],_0xff2a30=_0x5eb1a6[_0x3ccf3f(0x179)][_0x3ccf3f(0x189)],_0x5e675a=_0x5eb1a6[_0x3ccf3f(0x16b)][_0x3ccf3f(0x1b7)](_0x564742);_0x5eb1a6[_0x3ccf3f(0x179)][_0x3ccf3f(0x196)]({'isUndoable':!0x1},_0x3f2dfd=>{const _0x2a83b3=_0x3ccf3f,_0x22ddb1=_0x2a83b3(0x13f)+_0x5e675a[_0x2a83b3(0x199)],_0x1dcd2f=_0x2a83b3(0x13c)+_0x5e675a[_0x2a83b3(0x199)],_0x4eb13e=_0x5eb1a6[_0x2a83b3(0x179)][_0x2a83b3(0x1b1)][_0x2a83b3(0x17d)](_0x22ddb1);_0x5eb1a6[_0x2a83b3(0x164)][_0x2a83b3(0x163)][_0x2a83b3(0x148)]?re(_0x5e675a[_0x2a83b3(0x199)],_0xff2a30[_0x2a83b3(0x146)][_0x2a83b3(0x171)](),_0x5eb1a6[_0x2a83b3(0x179)],_0x3f2dfd):_0x4eb13e&&(_0x3f2dfd[_0x2a83b3(0x141)](_0x22ddb1),_0x3f2dfd[_0x2a83b3(0x141)](_0x1dcd2f));});}}function re(_0x12f9ad,_0x2e09e7,_0x4ea286,_0x3ea04a){const _0x414ee9=_0x504360,_0x5b8a8a=_0x414ee9(0x13f)+_0x12f9ad,_0x19714f=_0x414ee9(0x13c)+_0x12f9ad,_0x310ddb=_0x2e09e7[_0x414ee9(0x156)]();let _0x1df1ca=_0x2e09e7[_0x414ee9(0x1a1)];_0x310ddb&&_0x310ddb['is'](_0x414ee9(0x1b0),_0x414ee9(0x185))&&(_0x1df1ca=function(_0x8a5be5,_0x18395c){const _0x2e3880=_0x414ee9;for(const _0x3d41f0 of _0x8a5be5[_0x2e3880(0x159)]())if(_0x18395c[_0x2e3880(0x1a3)][_0x2e3880(0x17b)](_0x3d41f0,_0x2e3880(0x1ba)))return _0x3d41f0;}(_0x2e09e7,_0x4ea286),_0x2e09e7=_0x3ea04a[_0x414ee9(0x147)](_0x1df1ca));const _0x13c032=_0x3ea04a[_0x414ee9(0x147)](_0x1df1ca);_0x4ea286[_0x414ee9(0x1b1)][_0x414ee9(0x17d)](_0x5b8a8a)?(_0x3ea04a[_0x414ee9(0x186)](_0x5b8a8a,{'range':_0x2e09e7}),_0x3ea04a[_0x414ee9(0x186)](_0x19714f,{'range':_0x13c032})):(_0x3ea04a[_0x414ee9(0x176)](_0x5b8a8a,{'range':_0x2e09e7,'usingOperation':!0x0}),_0x3ea04a[_0x414ee9(0x176)](_0x19714f,{'range':_0x13c032,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x55aaaf=_0x1e9f;(function(_0x56f6d4,_0x4ad028){const _0x1045f6=_0x1e9f,_0x50d362=_0x56f6d4();while(!![]){try{const _0x4b6fa2=parseInt(_0x1045f6(0x173))/0x1*(-parseInt(_0x1045f6(0x18b))/0x2)+-parseInt(_0x1045f6(0x177))/0x3*(-parseInt(_0x1045f6(0x18c))/0x4)+parseInt(_0x1045f6(0x150))/0x5*(-parseInt(_0x1045f6(0x179))/0x6)+-parseInt(_0x1045f6(0x142))/0x7*(parseInt(_0x1045f6(0x172))/0x8)+-parseInt(_0x1045f6(0x17a))/0x9*(-parseInt(_0x1045f6(0x14e))/0xa)+-parseInt(_0x1045f6(0x149))/0xb+parseInt(_0x1045f6(0x170))/0xc*(-parseInt(_0x1045f6(0x15a))/0xd);if(_0x4b6fa2===_0x4ad028)break;else _0x50d362['push'](_0x50d362['shift']());}catch(_0x2f2937){_0x50d362['push'](_0x50d362['shift']());}}}(_0x5c4d,0x22653));import{ContextPlugin as _0x1a8e54}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x41c92d,CKEditorError as _0x30e58e}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x16338f,WEB_SOCKET_GATEWAY_STATES as _0x1f4f40}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x5c4d(){const _0x474d90=['removeFromReconnectionStack','initialReconnectionInterval','config','connect','pluginName','connected','66516dEyVXZ','websocketgateway-invalid-plugin-interface','8tixdMl','50234sSBzBP','function','bind','cloudServices.connectionTimeout','9PyhzWH','reconnect','191934guSnrD','381546bwJhGL','addToReconnectionStack','delete','showWarning','webSocketUrl','set','online','init','has','token','error','Connected\x20users\x20limit\x20exceeded','stopListening','real-time-collaboration','add','isPremiumPlugin','cloudservices-reconnection-error','2rJDAZg','293404DkWkHS','code','WebSocketGateway','cloudservices-init','484141bNedro','all','DISCONNECTED','listenTo','_shouldPluginsReconnect','plugins','requires','421707dWFTWA','isOfficialPlugin','constructor','define','change:me','30QWytQu','get','5YhXezM','catch','context','isInReconnectionStack','limitExceeded','connection','state','disconnect','offline','_isBrowserOffline','39VqKQaD','cloudServices.requestTimeout','from','destroy','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.','create','CONNECTED','CloudServices','_reconnect','_domEmitter','websocketgateway-missing-websocket-url','CONNECTING','websocketgateway-plugin-already-registered','_reconnectionStack','websocketgateway-missing-token','then'];_0x5c4d=function(){return _0x474d90;};return _0x5c4d();}import{Notification as _0x5459dc}from'ckeditor5/src/ui.js';function _0x1e9f(_0x46cb2f,_0x343d04){const _0x5c4d28=_0x5c4d();return _0x1e9f=function(_0x1e9f01,_0x545cf0){_0x1e9f01=_0x1e9f01-0x141;let _0x1d6204=_0x5c4d28[_0x1e9f01];return _0x1d6204;},_0x1e9f(_0x46cb2f,_0x343d04);}class c extends _0x1a8e54{static get[_0x55aaaf(0x148)](){const _0x12dc57=_0x55aaaf;return[_0x12dc57(0x161),_0x5459dc];}static get[_0x55aaaf(0x16e)](){const _0x10d10f=_0x55aaaf;return _0x10d10f(0x18e);}static get[_0x55aaaf(0x14a)](){return!0x0;}static get[_0x55aaaf(0x189)](){return!0x0;}constructor(_0x4616f9){const _0x9db4f5=_0x55aaaf;super(_0x4616f9),this[_0x9db4f5(0x17f)](_0x9db4f5(0x156),_0x1f4f40[_0x9db4f5(0x160)]),this[_0x9db4f5(0x17f)](_0x9db4f5(0x159),!0x1),this[_0x9db4f5(0x167)]=new Set(),this[_0x9db4f5(0x146)]=!0x1,this[_0x9db4f5(0x163)]=Object[_0x9db4f5(0x15f)](_0x41c92d);}[_0x55aaaf(0x181)](){const _0x580543=_0x55aaaf,_0x2aeab2=this[_0x580543(0x152)],_0x58496c=_0x2aeab2[_0x580543(0x147)][_0x580543(0x14f)](_0x580543(0x161)),_0x1e4814=_0x2aeab2[_0x580543(0x147)][_0x580543(0x14f)](_0x5459dc);if(!_0x58496c[_0x580543(0x183)])throw new _0x30e58e(_0x580543(0x168),this);if(!_0x58496c[_0x580543(0x17e)])throw new _0x30e58e(_0x580543(0x164),this);return this[_0x580543(0x163)][_0x580543(0x145)](window,_0x580543(0x158),()=>this[_0x580543(0x159)]=!0x0),this[_0x580543(0x163)][_0x580543(0x145)](window,_0x580543(0x180),()=>this[_0x580543(0x159)]=!0x1),this[_0x580543(0x152)][_0x580543(0x16c)][_0x580543(0x14c)](_0x580543(0x176),0xa),this[_0x580543(0x152)][_0x580543(0x16c)][_0x580543(0x14c)](_0x580543(0x15b),0x14),c[_0x580543(0x18e)][_0x580543(0x16d)](_0x58496c[_0x580543(0x183)],_0x58496c[_0x580543(0x17e)],{'timeout':0x3e8*this[_0x580543(0x152)][_0x580543(0x16c)][_0x580543(0x14f)](_0x580543(0x176)),'requestTimeout':0x3e8*this[_0x580543(0x152)][_0x580543(0x16c)][_0x580543(0x14f)](_0x580543(0x15b))})[_0x580543(0x169)](_0x359f86=>{const _0x5a2f95=_0x580543;if(this[_0x5a2f95(0x155)]=_0x359f86,this[_0x5a2f95(0x175)](_0x5a2f95(0x156))['to'](_0x359f86,_0x5a2f95(0x156),this,_0x5a2f95(0x159),(_0x26ea06,_0x50615f)=>(_0x5a2f95(0x16f)!==_0x26ea06&&(this[_0x5a2f95(0x146)]=!0x0),_0x50615f||_0x26ea06!==_0x1f4f40[_0x5a2f95(0x160)]?_0x1f4f40[_0x5a2f95(0x144)]:this[_0x5a2f95(0x156)]==_0x1f4f40[_0x5a2f95(0x144)]&&this[_0x5a2f95(0x146)]?(this[_0x5a2f95(0x146)]=!0x1,this[_0x5a2f95(0x162)](),_0x1f4f40[_0x5a2f95(0x165)]):_0x1f4f40[_0x5a2f95(0x160)])),this[_0x5a2f95(0x155)]['on'](_0x5a2f95(0x184),(_0x1ef1da,_0x13ecfc)=>{const _0x2c80eb=_0x5a2f95;if(_0x2c80eb(0x154)!==_0x13ecfc[_0x2c80eb(0x18d)])throw console[_0x2c80eb(0x184)](_0x13ecfc),new _0x30e58e(_0x2c80eb(0x141),null,{'originalError':_0x13ecfc});_0x1e4814[_0x2c80eb(0x17d)](_0x2c80eb(0x15e),{'title':_0x2c80eb(0x185),'namespace':_0x2c80eb(0x187)});}),!_0x359f86['me'])return new Promise(_0x11ab98=>_0x359f86['on'](_0x5a2f95(0x14d),_0x11ab98));})[_0x580543(0x151)](_0x54a812=>{const _0x1d59de=_0x580543;throw console[_0x1d59de(0x184)](_0x54a812),new _0x30e58e(_0x1d59de(0x141),null,{'originalError':_0x54a812});});}[_0x55aaaf(0x17b)](_0x563fe9){const _0x46a30e=_0x55aaaf;if(_0x46a30e(0x174)!=typeof _0x563fe9[_0x46a30e(0x178)])throw new _0x30e58e(_0x46a30e(0x171),this);if(this[_0x46a30e(0x153)](_0x563fe9))throw new _0x30e58e(_0x46a30e(0x166),this,{'name':_0x563fe9[_0x46a30e(0x14b)][_0x46a30e(0x16e)]});this[_0x46a30e(0x167)][_0x46a30e(0x188)](_0x563fe9);}[_0x55aaaf(0x16a)](_0x502a12){const _0x1827a8=_0x55aaaf;this[_0x1827a8(0x167)][_0x1827a8(0x17c)](_0x502a12);}[_0x55aaaf(0x153)](_0x400157){const _0x2cc34d=_0x55aaaf;return this[_0x2cc34d(0x167)][_0x2cc34d(0x182)](_0x400157);}[_0x55aaaf(0x162)](){const _0x48dcc3=_0x55aaaf;return this[_0x48dcc3(0x155)][_0x48dcc3(0x178)]()[_0x48dcc3(0x169)](()=>Promise[_0x48dcc3(0x143)](Array[_0x48dcc3(0x15c)](this[_0x48dcc3(0x167)],_0x3fb6a1=>_0x3fb6a1[_0x48dcc3(0x178)]())))[_0x48dcc3(0x169)](()=>this[_0x48dcc3(0x156)]=_0x1f4f40[_0x48dcc3(0x160)])[_0x48dcc3(0x151)](_0x1be69a=>{const _0x21d6fa=_0x48dcc3;throw console[_0x21d6fa(0x184)](_0x1be69a),new _0x30e58e(_0x21d6fa(0x18a),this[_0x21d6fa(0x152)]);});}[_0x55aaaf(0x157)](){const _0x38ee5f=_0x55aaaf;this[_0x38ee5f(0x155)]&&this[_0x38ee5f(0x155)][_0x38ee5f(0x157)](),this[_0x38ee5f(0x156)]=_0x1f4f40[_0x38ee5f(0x144)],this[_0x38ee5f(0x163)][_0x38ee5f(0x186)]();}[_0x55aaaf(0x15d)](){const _0x3d5c84=_0x55aaaf;this[_0x3d5c84(0x157)](),super[_0x3d5c84(0x15d)]();}}c[_0x55aaaf(0x18e)]=_0x16338f,c[_0x55aaaf(0x16b)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x133e91=_0x55f4;function _0x55f4(_0x46c482,_0x193302){var _0x563103=_0x5631();return _0x55f4=function(_0x55f462,_0x3aaf9f){_0x55f462=_0x55f462-0x194;var _0x30a51c=_0x563103[_0x55f462];return _0x30a51c;},_0x55f4(_0x46c482,_0x193302);}(function(_0x31fa5f,_0x3825f1){var _0x3ab0ec=_0x55f4,_0x54723d=_0x31fa5f();while(!![]){try{var _0x282e9c=-parseInt(_0x3ab0ec(0x1a3))/0x1*(parseInt(_0x3ab0ec(0x19d))/0x2)+parseInt(_0x3ab0ec(0x1a2))/0x3+parseInt(_0x3ab0ec(0x19c))/0x4*(-parseInt(_0x3ab0ec(0x197))/0x5)+parseInt(_0x3ab0ec(0x1a0))/0x6*(-parseInt(_0x3ab0ec(0x19f))/0x7)+-parseInt(_0x3ab0ec(0x19e))/0x8+parseInt(_0x3ab0ec(0x1a1))/0x9+parseInt(_0x3ab0ec(0x194))/0xa*(parseInt(_0x3ab0ec(0x196))/0xb);if(_0x282e9c===_0x3825f1)break;else _0x54723d['push'](_0x54723d['shift']());}catch(_0x11a2e3){_0x54723d['push'](_0x54723d['shift']());}}}(_0x5631,0x1f158));import{Plugin as _0x5bad33}from'ckeditor5/src/core.js';import _0x2a70c1 from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x5bad33{static get[_0x133e91(0x199)](){return[_0x2a70c1];}static get[_0x133e91(0x19b)](){var _0xb95fb0=_0x133e91;return _0xb95fb0(0x19a);}static get[_0x133e91(0x198)](){return!0x0;}static get[_0x133e91(0x195)](){return!0x0;}}function _0x5631(){var _0x45acf1=['1270792EUqaoA','214991ThkgCW','24nZHZIQ','1604898btYkYa','568434YjHZzP','371msNuEt','4244330BkDxhc','isPremiumPlugin','11mZlXsT','29245IqUTMG','isOfficialPlugin','requires','RealTimeCollaborativeEditing','pluginName','172MRWkLG','710thKMpN'];_0x5631=function(){return _0x45acf1;};return _0x5631();}
|