@ckeditor/ckeditor5-real-time-collaboration 44.2.0-alpha.6 → 44.2.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1c32b4=_0x42e3;(function(_0x5e5066,_0x28c9ed){const _0x24ec81=_0x42e3,_0x53c847=_0x5e5066();while(!![]){try{const _0x2fc527=parseInt(_0x24ec81(0x1d8))/0x1+parseInt(_0x24ec81(0x19b))/0x2*(parseInt(_0x24ec81(0x1ad))/0x3)+parseInt(_0x24ec81(0x188))/0x4+parseInt(_0x24ec81(0x1bd))/0x5+parseInt(_0x24ec81(0x1bc))/0x6*(parseInt(_0x24ec81(0x1bb))/0x7)+-parseInt(_0x24ec81(0x19d))/0x8+parseInt(_0x24ec81(0x19e))/0x9*(-parseInt(_0x24ec81(0x1d7))/0xa);if(_0x2fc527===_0x28c9ed)break;else _0x53c847['push'](_0x53c847['shift']());}catch(_0x3d9d4c){_0x53c847['push'](_0x53c847['shift']());}}}(_0x4bdd,0xb3c8f));import{Context as _0x31c33c,ContextPlugin as _0x432210}from'ckeditor5/src/core.js';import{CKEditorError as _0x2cd801}from'ckeditor5/src/utils.js';import{Users as _0x108ab5}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x1d61e0,User as _0x1e68d6}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x44b61c from'../realtimecollaborativeediting/websocketgateway.js';import _0x67fc50 from'../realtimecollaborativeediting/sessions.js';class a extends _0x432210{static get[_0x1c32b4(0x18a)](){const _0x45aa0d=_0x1c32b4;return[_0x44b61c,_0x45aa0d(0x186),_0x67fc50,_0x108ab5];}static get[_0x1c32b4(0x1a5)](){const _0x3da7c8=_0x1c32b4;return _0x3da7c8(0x1a8);}static get[_0x1c32b4(0x183)](){return!0x0;}static get[_0x1c32b4(0x17a)](){return!0x0;}constructor(_0x2ecd76){const _0x2e158a=_0x1c32b4;super(_0x2ecd76),this[_0x2e158a(0x191)]=new Map();}async[_0x1c32b4(0x1ac)](){const _0x2cf411=_0x1c32b4,_0x2318bc=this[_0x2cf411(0x1c9)],_0x3b09ea=_0x2318bc[_0x2cf411(0x1c6)][_0x2cf411(0x1bf)](_0x2cf411(0x186));if(_0x2318bc[_0x2cf411(0x1c6)][_0x2cf411(0x1bf)](_0x44b61c)[_0x2cf411(0x1aa)](this),_0x3b09ea[_0x2cf411(0x1cf)]={'addCommentThread':async({channelId:_0x1327e7,threadId:_0x15623d,comments:_0x42d51f,resolvedAt:_0x55e00b,resolvedBy:_0x30333d,context:_0x14815d,attributes:_0x49d08f})=>{const _0x3bfdb9=_0x2cf411,_0x35b859=await this[_0x3bfdb9(0x190)](_0x1327e7)[_0x3bfdb9(0x194)]({'commentThreadId':_0x15623d,'comments':_0x42d51f[_0x3bfdb9(0x180)](_0x35106f=>function(_0x3a7d0b,_0x5a5d1c,_0x2fc343){const _0x633ea4=_0x3bfdb9;return{'commentThreadId':_0x2fc343,'commentId':_0x3a7d0b[_0x633ea4(0x178)],'userId':_0x3a7d0b[_0x633ea4(0x1c5)],'content':_0x3a7d0b[_0x633ea4(0x1b8)],'documentId':_0x5a5d1c,'createdAt':_0x3a7d0b[_0x633ea4(0x187)],'attributes':_0x3a7d0b[_0x633ea4(0x1a6)]||{}};}(_0x35106f,_0x1327e7,_0x15623d)),'resolvedAt':_0x55e00b,'resolvedBy':_0x30333d,'context':_0x14815d,'attributes':_0x49d08f})[_0x3bfdb9(0x1c4)](R);return{'threadId':_0x35b859[_0x3bfdb9(0x1b4)],'comments':_0x35b859[_0x3bfdb9(0x197)]};},'getCommentThread':async({channelId:_0x4ec5da,threadId:_0x1706c7})=>{const _0x3a04e9=_0x2cf411,_0x3614e3=await this[_0x3a04e9(0x190)](_0x4ec5da)[_0x3a04e9(0x1b9)](_0x1706c7)[_0x3a04e9(0x1c4)](R);return _0x3614e3[_0x3a04e9(0x19f)]?null:(await this[_0x3a04e9(0x17b)]([_0x3614e3]),{'threadId':_0x3614e3[_0x3a04e9(0x1b4)],'comments':_0x3614e3[_0x3a04e9(0x197)][_0x3a04e9(0x180)](S),'context':_0x3614e3[_0x3a04e9(0x1c9)],'resolvedAt':_0x3614e3[_0x3a04e9(0x1a3)],'resolvedBy':_0x3614e3[_0x3a04e9(0x17e)],'attributes':_0x3614e3[_0x3a04e9(0x1a6)]||{}});},'updateCommentThread':async({channelId:_0x969410,threadId:_0x3c1812,context:_0x5f4070,unlinkedAt:_0x165a87,attributes:_0x5a05d8})=>this[_0x2cf411(0x190)](_0x969410)[_0x2cf411(0x1c1)]({'commentThreadId':_0x3c1812,'context':_0x5f4070,'attributes':_0x5a05d8,'unlinkedAt':_0x165a87})[_0x2cf411(0x1c4)](B)[_0x2cf411(0x1c4)](R),'resolveCommentThread':async({channelId:_0x3acd8e,threadId:_0x2f11fc})=>{const _0x1d6b87=_0x2cf411,_0x1bc73e=await this[_0x1d6b87(0x190)](_0x3acd8e)[_0x1d6b87(0x18c)](_0x2f11fc)[_0x1d6b87(0x1c4)](B)[_0x1d6b87(0x1c4)](R);return{'threadId':_0x1bc73e[_0x1d6b87(0x1b4)],'resolvedAt':_0x1bc73e[_0x1d6b87(0x1a3)],'resolvedBy':_0x1bc73e[_0x1d6b87(0x17e)]};},'reopenCommentThread':async({channelId:_0x4cf5c3,threadId:_0x10e6ba})=>this[_0x2cf411(0x190)](_0x4cf5c3)[_0x2cf411(0x1af)](_0x10e6ba)[_0x2cf411(0x1c4)](B)[_0x2cf411(0x1c4)](R),'removeCommentThread':({channelId:_0x486ea9,threadId:_0x4b308f})=>this[_0x2cf411(0x190)](_0x486ea9)[_0x2cf411(0x17f)](_0x4b308f)[_0x2cf411(0x1c4)](B)[_0x2cf411(0x1c4)](R),'addComment':({channelId:_0x4ccfdf,threadId:_0x4a8ba2,commentId:_0x320c75,content:_0xe2dc6f,attributes:_0x251e04})=>this[_0x2cf411(0x190)](_0x4ccfdf)[_0x2cf411(0x192)](_0x4a8ba2,_0x320c75,_0xe2dc6f,_0x251e04)[_0x2cf411(0x1c4)](R),'updateComment':({channelId:_0x36a34b,threadId:_0x1392c8,commentId:_0x4182aa,content:_0x2b1da5,attributes:_0x4721ad})=>this[_0x2cf411(0x190)](_0x36a34b)[_0x2cf411(0x19a)](_0x1392c8,_0x4182aa,_0x2b1da5,_0x4721ad)[_0x2cf411(0x1c4)](B)[_0x2cf411(0x1c4)](R),'removeComment':({channelId:_0x5db540,threadId:_0x4ff1dd,commentId:_0x30e445})=>this[_0x2cf411(0x190)](_0x5db540)[_0x2cf411(0x1a1)](_0x4ff1dd,_0x30e445)[_0x2cf411(0x1c4)](B)[_0x2cf411(0x1c4)](R)},_0x2318bc instanceof _0x31c33c){const _0x5759d1=_0x2318bc[_0x2cf411(0x184)][_0x2cf411(0x1bf)](_0x2cf411(0x1a9)),_0x52fcf8=_0x2318bc[_0x2cf411(0x1c6)][_0x2cf411(0x1bf)](_0x67fc50);await this[_0x2cf411(0x19c)](_0x5759d1);const _0x1c2ea5=await this[_0x2cf411(0x191)][_0x2cf411(0x1bf)](_0x5759d1)[_0x2cf411(0x17d)]();this[_0x2cf411(0x1b0)](_0x52fcf8,_0x2cf411(0x1ab)+_0x5759d1,(_0x367bd2,{session:_0x58a65d})=>{const _0x3fbecc=_0x2cf411;_0x58a65d['id']===_0x52fcf8[_0x3fbecc(0x1d2)]&&(_0x367bd2[_0x3fbecc(0x198)](),this[_0x3fbecc(0x1c9)][_0x3fbecc(0x1c6)][_0x3fbecc(0x1bf)](_0x3fbecc(0x1ae))[_0x3fbecc(0x1b2)](_0x58a65d[_0x3fbecc(0x1c8)],_0x5759d1));}),_0x52fcf8[_0x2cf411(0x1d0)](_0x5759d1,_0x1c2ea5);}}async[_0x1c32b4(0x19c)](_0x26b9b3){const _0x38854e=_0x1c32b4;if(this[_0x38854e(0x191)][_0x38854e(0x1d4)](_0x26b9b3))throw new _0x2cd801(_0x38854e(0x1a0),null,{'channelId':_0x26b9b3});const _0x50b474=this[_0x38854e(0x1c9)][_0x38854e(0x1c6)][_0x38854e(0x1bf)](_0x38854e(0x186)),_0x42de5e=new a[(_0x38854e(0x18d))](_0x26b9b3);this[_0x38854e(0x191)][_0x38854e(0x1b5)](_0x26b9b3,_0x42de5e),this[_0x38854e(0x1b0)](_0x42de5e,_0x38854e(0x175),(_0x4bdfbc,_0xd8ab7b)=>{const _0x2b8402=_0x38854e,{commentThreadId:_0x3871a8,documentId:_0x13c2bf,context:_0x2980bb,attributes:_0x4748c9,resolvedAt:_0x1a393a,resolvedBy:_0x25c8ab,comments:_0x53e035}=_0xd8ab7b;_0x50b474[_0x2b8402(0x1b9)](_0x3871a8)||_0x50b474[_0x2b8402(0x194)]({'threadId':_0x3871a8,'channelId':_0x13c2bf,'comments':_0x53e035?_0x53e035[_0x2b8402(0x180)](S):[],'context':_0x2980bb,'attributes':_0x4748c9,'resolvedAt':_0x1a393a,'resolvedBy':_0x25c8ab,'isFromAdapter':!0x0});}),this[_0x38854e(0x1b0)](_0x42de5e,_0x38854e(0x1ca),(_0x432be0,{commentThreadId:_0x223187,documentId:_0x294b10,context:_0x3bfb36,unlinkedAt:_0x14bd47,attributes:_0x58f010})=>{const _0x34e3f0=_0x38854e;_0x50b474[_0x34e3f0(0x1b9)](_0x223187)&&_0x50b474[_0x34e3f0(0x1c1)]({'threadId':_0x223187,'channelId':_0x294b10,'context':_0x3bfb36,'unlinkedAt':_0x14bd47,'attributes':_0x58f010,'isFromAdapter':!0x0});}),this[_0x38854e(0x1b0)](_0x42de5e,_0x38854e(0x1d3),(_0x31bd0a,{commentThreadId:_0x4663cf,resolvedBy:_0x53f985,resolvedAt:_0x5efe7f})=>{const _0x25e286=_0x38854e,_0x5c2f24=_0x50b474[_0x25e286(0x1b9)](_0x4663cf);_0x5c2f24&&_0x5c2f24[_0x25e286(0x182)]({'resolvedBy':_0x53f985,'resolvedAt':_0x5efe7f,'isFromAdapter':!0x0});}),this[_0x38854e(0x1b0)](_0x42de5e,_0x38854e(0x1a4),(_0x1e95b,{commentThreadId:_0x59fc50})=>{const _0x18da39=_0x38854e,_0x5d794c=_0x50b474[_0x18da39(0x1b9)](_0x59fc50);_0x5d794c&&_0x5d794c[_0x18da39(0x1a2)]({'isFromAdapter':!0x0});}),this[_0x38854e(0x1b0)](_0x42de5e,_0x38854e(0x196),(_0x289ebc,{commentThreadId:_0x3e495a})=>{const _0x3670e8=_0x38854e,_0x3766b8=_0x50b474[_0x3670e8(0x1b9)](_0x3e495a);_0x3766b8&&_0x3766b8[_0x3670e8(0x18f)]({'isFromAdapter':!0x0});}),this[_0x38854e(0x1b0)](_0x42de5e,_0x38854e(0x1be),(_0x259d87,_0x412d34)=>{const _0x2bbdef=_0x38854e,_0x3e93ca=_0x412d34[_0x2bbdef(0x1b4)],_0x4cbff6=_0x50b474[_0x2bbdef(0x1b9)](_0x3e93ca);_0x4cbff6&&_0x4cbff6[_0x2bbdef(0x192)]({...S(_0x412d34),'isFromAdapter':!0x0});}),this[_0x38854e(0x1b0)](_0x42de5e,_0x38854e(0x18e),(_0x199f3b,{commentThreadId:_0x27caf8,commentId:_0x5733cd,content:_0x2e9b44,attributes:_0xda71b2})=>{const _0x51bfa5=_0x38854e,_0xb80e2b=_0x50b474[_0x51bfa5(0x1b9)](_0x27caf8);if(_0xb80e2b){const _0x376965=_0xb80e2b[_0x51bfa5(0x195)](_0x5733cd);_0x376965&&_0x376965[_0x51bfa5(0x1c7)]({'content':_0x2e9b44,'attributes':_0xda71b2,'isFromAdapter':!0x0});}}),this[_0x38854e(0x1b0)](_0x42de5e,_0x38854e(0x179),(_0x1f9872,{commentThreadId:_0x1e5517,commentId:_0x1ed109})=>{const _0x36814b=_0x38854e,_0x489cd8=_0x50b474[_0x36814b(0x1b9)](_0x1e5517);if(_0x489cd8){const _0x12e5cd=_0x489cd8[_0x36814b(0x195)](_0x1ed109);_0x12e5cd&&_0x12e5cd[_0x36814b(0x18f)]({'isFromAdapter':!0x0});}}),await this[_0x38854e(0x176)](_0x26b9b3);}[_0x1c32b4(0x189)](){const _0x4fdf86=_0x1c32b4;if(this[_0x4fdf86(0x1c9)]instanceof _0x31c33c){const _0x21ea2f=this[_0x4fdf86(0x1c9)][_0x4fdf86(0x184)][_0x4fdf86(0x1bf)](_0x4fdf86(0x1a9));this[_0x4fdf86(0x1ba)](_0x21ea2f);}}[_0x1c32b4(0x1ba)](_0x1b5780){const _0x585074=_0x1c32b4;if(!this[_0x585074(0x191)][_0x585074(0x1d4)](_0x1b5780))throw new _0x2cd801(_0x585074(0x1d9),null,{'channelId':_0x1b5780});this[_0x585074(0x190)](_0x1b5780)[_0x585074(0x1c0)](),this[_0x585074(0x191)][_0x585074(0x1cb)](_0x1b5780);}async[_0x1c32b4(0x1b3)](){const _0x1410a9=_0x1c32b4;for(const _0x4e7367 of this[_0x1410a9(0x191)][_0x1410a9(0x1c3)]())await this[_0x1410a9(0x176)](_0x4e7367);if(this[_0x1410a9(0x1c9)]instanceof _0x31c33c){const _0xbcb357=this[_0x1410a9(0x1c9)][_0x1410a9(0x184)][_0x1410a9(0x1bf)](_0x1410a9(0x1a9)),_0x16c168=this[_0x1410a9(0x1c9)][_0x1410a9(0x1c6)][_0x1410a9(0x1bf)](_0x67fc50);_0x16c168[_0x1410a9(0x174)](_0xbcb357);const _0x57dc3e=await this[_0x1410a9(0x191)][_0x1410a9(0x1bf)](_0xbcb357)[_0x1410a9(0x17d)]();_0x16c168[_0x1410a9(0x1d0)](_0xbcb357,_0x57dc3e);}}async[_0x1c32b4(0x176)](_0x485b69){const _0x6ea4ca=_0x1c32b4,{connection:_0x4acc5f}=this[_0x6ea4ca(0x1c9)][_0x6ea4ca(0x1c6)][_0x6ea4ca(0x1bf)](_0x44b61c),_0x947fdc=this[_0x6ea4ca(0x1c9)][_0x6ea4ca(0x1c6)][_0x6ea4ca(0x1bf)](_0x6ea4ca(0x186)),_0x7f80a0=this[_0x6ea4ca(0x191)][_0x6ea4ca(0x1bf)](_0x485b69),_0x48e28d=await _0x7f80a0[_0x6ea4ca(0x1b7)](_0x4acc5f);await this[_0x6ea4ca(0x17b)](_0x48e28d);const _0x52f412=new Set(Array[_0x6ea4ca(0x199)](_0x947fdc[_0x6ea4ca(0x1cd)]({'channelId':_0x485b69}),_0x33d236=>_0x33d236['id']));for(const _0x369b6b of _0x48e28d)_0x369b6b[_0x6ea4ca(0x19f)]||_0x52f412[_0x6ea4ca(0x1cb)](_0x369b6b[_0x6ea4ca(0x1b4)]);for(const _0x4b5f45 of _0x52f412)_0x947fdc[_0x6ea4ca(0x1b9)](_0x4b5f45)[_0x6ea4ca(0x18f)]({'isFromAdapter':!0x0});for(const _0x3f8c2a of _0x48e28d){let _0x22e007=_0x947fdc[_0x6ea4ca(0x1b9)](_0x3f8c2a[_0x6ea4ca(0x1b4)]);const {commentThreadId:_0x1f3fa6,context:_0x2ce0f2,attributes:_0x2f4c7a,resolvedBy:_0x58a940,resolvedAt:_0x4f688f,unlinkedAt:_0x18d2e1,deletedAt:_0x566e2b}=_0x3f8c2a;if(_0x566e2b)continue;_0x22e007||(_0x22e007=_0x947fdc[_0x6ea4ca(0x194)]({'channelId':_0x485b69,'threadId':_0x1f3fa6,'context':_0x2ce0f2,'attributes':_0x2f4c7a||{},'resolvedBy':_0x58a940,'resolvedAt':_0x4f688f,'unlinkedAt':_0x18d2e1,'isFromAdapter':!0x0}));const _0x155808=new Set(Array[_0x6ea4ca(0x199)](_0x22e007[_0x6ea4ca(0x197)],_0x4e9e4b=>_0x4e9e4b['id']));for(const _0x105ce1 of _0x3f8c2a[_0x6ea4ca(0x197)])_0x155808[_0x6ea4ca(0x1cb)](_0x105ce1[_0x6ea4ca(0x178)]);for(const _0x512523 of _0x155808)_0x22e007[_0x6ea4ca(0x195)](_0x512523)[_0x6ea4ca(0x18f)]({'isFromAdapter':!0x0});for(const _0x276838 of _0x3f8c2a[_0x6ea4ca(0x197)]){const _0x1ccc86=_0x22e007[_0x6ea4ca(0x195)](_0x276838[_0x6ea4ca(0x178)]);_0x1ccc86?_0x1ccc86[_0x6ea4ca(0x1b8)]!==_0x276838[_0x6ea4ca(0x1b8)]&&_0x1ccc86[_0x6ea4ca(0x1c7)]({'content':_0x276838[_0x6ea4ca(0x1b8)],'isFromAdapter':!0x0}):_0x22e007[_0x6ea4ca(0x192)](Object[_0x6ea4ca(0x17c)](S(_0x276838),{'isFromAdapter':!0x0}));}}}[_0x1c32b4(0x190)](_0x4a79e2){const _0x1ba34d=_0x1c32b4;if(!this[_0x1ba34d(0x191)][_0x1ba34d(0x1d4)](_0x4a79e2))throw new _0x2cd801(_0x1ba34d(0x1d1),null,{'channelId':_0x4a79e2});return this[_0x1ba34d(0x191)][_0x1ba34d(0x1bf)](_0x4a79e2);}async[_0x1c32b4(0x17b)](_0xded461){const _0x476498=_0x1c32b4,_0x4ffc=this[_0x476498(0x1c9)][_0x476498(0x1c6)][_0x476498(0x1bf)](_0x108ab5),{connection:_0x2c1757}=this[_0x476498(0x1c9)][_0x476498(0x1c6)][_0x476498(0x1bf)](_0x44b61c),_0x520dc9=new Set();for(const {resolvedBy:_0x4a241c,comments:_0x266f25}of _0xded461){_0x4a241c&&!_0x4ffc[_0x476498(0x1d6)](_0x4a241c)&&_0x520dc9[_0x476498(0x1b6)](_0x4a241c);for(const {userId:_0x5c4b0d}of _0x266f25)_0x4ffc[_0x476498(0x1d6)](_0x5c4b0d)||_0x520dc9[_0x476498(0x1b6)](_0x5c4b0d);}if(0x0===_0x520dc9[_0x476498(0x193)])return;const _0x4d3892=await _0x1e68d6[_0x476498(0x1d5)](_0x2c1757,Array[_0x476498(0x199)](_0x520dc9));for(const _0x457a43 of _0x4d3892)_0x4ffc[_0x476498(0x1d6)](_0x457a43['id'])||_0x4ffc[_0x476498(0x177)](_0x457a43);}}a[_0x1c32b4(0x18d)]=_0x1d61e0;export default a;function _0x4bdd(){const _0x47b1bf=['commentThreadId','set','add','connect','content','getCommentThread','_terminateService','7PoOcrT','5836470LCvYAH','430185ZoRWLO','commentAdded','get','disconnect','updateCommentThread','startsWith','keys','catch','authorId','plugins','update','permissions','context','commentThreadUpdated','delete','cloud-services-internal-error:\x20Request\x20timeout.','getCommentThreads','404','adapter','register','cloudservicescommentsadapter-service-not-exist','mySessionId','commentThreadResolved','has','getMany','getUser','4350660bClhPi','1165206bahKBm','cloudservicescommentsadapter-disconnect-not-exist','unregister','commentThreadAdded','_connectService','addUser','commentId','commentRemoved','isPremiumPlugin','_fetchMissingUsersForThreads','assign','getConnectedSessions','resolvedBy','removeCommentThread','map','message','resolve','isOfficialPlugin','config','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','CommentsRepository','createdAt','5741012hLOSkR','destroy','requires','userId','resolveCommentThread','CommentsService','commentUpdated','remove','_getService','_services','addComment','size','addCommentThread','getComment','commentThreadRemoved','comments','off','from','updateComment','2830780fNRHQV','_setUpService','6861632smQQOx','72qDCShU','deletedAt','cloudservicescommentsadapter-connect-already-connected','removeComment','reopen','resolvedAt','commentThreadReopened','pluginName','attributes','code','CloudServicesCommentsAdapter','collaboration.channelId','addToReconnectionStack','sessionAdd:','init','3gqbCcA','Permissions','reopenCommentThread','listenTo','cloud-services-internal-error:\x20Not\x20connected.','setPermissions','reconnect'];_0x4bdd=function(){return _0x47b1bf;};return _0x4bdd();}function _0x42e3(_0x21f5ec,_0xbb4097){const _0x4bddf4=_0x4bdd();return _0x42e3=function(_0x42e387,_0x1c8a0e){_0x42e387=_0x42e387-0x174;let _0x14ce9c=_0x4bddf4[_0x42e387];return _0x14ce9c;},_0x42e3(_0x21f5ec,_0xbb4097);}async function B(_0x3d8498){const _0x40708c=_0x1c32b4;if(_0x40708c(0x1ce)!==_0x3d8498[_0x40708c(0x1a7)])throw _0x3d8498;}function R(_0x4533e3){const _0x4807c6=_0x1c32b4;if((_0x4374b3=_0x4533e3)[_0x4807c6(0x181)][_0x4807c6(0x1c2)](_0x4807c6(0x185))||_0x4374b3[_0x4807c6(0x181)][_0x4807c6(0x1c2)](_0x4807c6(0x1b1))||_0x4374b3[_0x4807c6(0x181)][_0x4807c6(0x1c2)](_0x4807c6(0x1cc)))return new Promise(()=>{});var _0x4374b3;throw _0x4533e3;}function S(_0x25325d){const _0x49a1cb=_0x1c32b4;return{'threadId':_0x25325d[_0x49a1cb(0x1b4)],'commentId':_0x25325d[_0x49a1cb(0x178)],'content':_0x25325d[_0x49a1cb(0x1b8)],'createdAt':_0x25325d[_0x49a1cb(0x187)],'authorId':_0x25325d[_0x49a1cb(0x18b)],'attributes':_0x25325d[_0x49a1cb(0x1a6)]||{}};}
|
|
23
|
+
const _0x1b615c=_0x293d;(function(_0x18588f,_0x4a4fc2){const _0x36db72=_0x293d,_0x2008cd=_0x18588f();while(!![]){try{const _0x45d6d6=-parseInt(_0x36db72(0x117))/0x1*(-parseInt(_0x36db72(0x11b))/0x2)+-parseInt(_0x36db72(0xc9))/0x3*(parseInt(_0x36db72(0x107))/0x4)+parseInt(_0x36db72(0xf6))/0x5*(parseInt(_0x36db72(0x116))/0x6)+-parseInt(_0x36db72(0xf0))/0x7+parseInt(_0x36db72(0x101))/0x8*(-parseInt(_0x36db72(0x106))/0x9)+-parseInt(_0x36db72(0x11f))/0xa+parseInt(_0x36db72(0xc3))/0xb*(parseInt(_0x36db72(0xb9))/0xc);if(_0x45d6d6===_0x4a4fc2)break;else _0x2008cd['push'](_0x2008cd['shift']());}catch(_0x19a6c7){_0x2008cd['push'](_0x2008cd['shift']());}}}(_0x30a7,0x95339));import{Context as _0xd33c15,ContextPlugin as _0x376597}from'ckeditor5/src/core.js';import{CKEditorError as _0x6edaed}from'ckeditor5/src/utils.js';import{Users as _0x41fb9a}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x8ce273,User as _0x361d04}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x38d122 from'../realtimecollaborativeediting/websocketgateway.js';function _0x30a7(){const _0x2bd67b=['delete','get','4492488iCqeap','cloud-services-internal-error:\x20Request\x20timeout.','register','has','catch','getMany','10GQAcIT','getCommentThreads','CommentsService','_terminateService','remove','commentRemoved','cloudservicescommentsadapter-connect-already-connected','code','commentThreadUpdated','commentThreadResolved','startsWith','8vsJnoL','getConnectedSessions','_getService','getCommentThread','resolve','1548279rDhxoR','166748poJCgb','createdAt','assign','content','isPremiumPlugin','removeComment','_setUpService','_fetchMissingUsersForThreads','commentThreadId','init','Permissions','message','plugins','destroy','sessionAdd:','1195614bGjZvY','52483wZjnzO','setPermissions','comments','add','20lJXKAC','set','commentAdded','mySessionId','499890fmVfUy','addToReconnectionStack','24GcFDxp','attributes','commentThreadRemoved','commentThreadReopened','context','requires','resolveCommentThread','404','getComment','update','8307013DRZQFh','unregister','config','off','adapter','updateCommentThread','69MVgNLT','permissions','resolvedAt','disconnect','collaboration.channelId','authorId','_services','cloud-services-internal-error:\x20Not\x20connected.','cloudservicescommentsadapter-service-not-exist','getUser','from','pluginName','removeCommentThread','addCommentThread','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','commentUpdated','commentId','addUser','cloudservicescommentsadapter-disconnect-not-exist','reconnect','listenTo','reopen','updateComment','CloudServicesCommentsAdapter','userId','map','keys','isOfficialPlugin','reopenCommentThread','deletedAt','addComment','_connectService','connect','CommentsRepository','commentThreadAdded','size','resolvedBy'];_0x30a7=function(){return _0x2bd67b;};return _0x30a7();}function _0x293d(_0x6207be,_0x108e26){const _0x30a712=_0x30a7();return _0x293d=function(_0x293d40,_0xea32a8){_0x293d40=_0x293d40-0xb9;let _0x4fc189=_0x30a712[_0x293d40];return _0x4fc189;},_0x293d(_0x6207be,_0x108e26);}import _0x59ba00 from'../realtimecollaborativeediting/sessions.js';class a extends _0x376597{static get[_0x1b615c(0xbe)](){const _0x1d2e2a=_0x1b615c;return[_0x38d122,_0x1d2e2a(0xea),_0x59ba00,_0x41fb9a];}static get[_0x1b615c(0xd4)](){const _0x261a3b=_0x1b615c;return _0x261a3b(0xe0);}static get[_0x1b615c(0xe4)](){return!0x0;}static get[_0x1b615c(0x10b)](){return!0x0;}constructor(_0x1a5e4c){const _0x3f0a9b=_0x1b615c;super(_0x1a5e4c),this[_0x3f0a9b(0xcf)]=new Map();}async[_0x1b615c(0x110)](){const _0x5ab320=_0x1b615c,_0x83f25c=this[_0x5ab320(0xbd)],_0x4fae92=_0x83f25c[_0x5ab320(0x113)][_0x5ab320(0xef)](_0x5ab320(0xea));if(_0x83f25c[_0x5ab320(0x113)][_0x5ab320(0xef)](_0x38d122)[_0x5ab320(0x120)](this),_0x4fae92[_0x5ab320(0xc7)]={'addCommentThread':async({channelId:_0x5572d4,threadId:_0x345790,comments:_0x510a27,resolvedAt:_0x2a3c9a,resolvedBy:_0x3fb45f,context:_0x1e0fe7,attributes:_0xca5b08})=>{const _0x2f0034=_0x5ab320,_0x928f76=await this[_0x2f0034(0x103)](_0x5572d4)[_0x2f0034(0xd6)]({'commentThreadId':_0x345790,'comments':_0x510a27[_0x2f0034(0xe2)](_0x5a5208=>function(_0x2240bd,_0x4c23d9,_0x7a2b09){const _0x35a3d7=_0x2f0034;return{'commentThreadId':_0x7a2b09,'commentId':_0x2240bd[_0x35a3d7(0xd9)],'userId':_0x2240bd[_0x35a3d7(0xce)],'content':_0x2240bd[_0x35a3d7(0x10a)],'documentId':_0x4c23d9,'createdAt':_0x2240bd[_0x35a3d7(0x108)],'attributes':_0x2240bd[_0x35a3d7(0xba)]||{}};}(_0x5a5208,_0x5572d4,_0x345790)),'resolvedAt':_0x2a3c9a,'resolvedBy':_0x3fb45f,'context':_0x1e0fe7,'attributes':_0xca5b08})[_0x2f0034(0xf4)](R);return{'threadId':_0x928f76[_0x2f0034(0x10f)],'comments':_0x928f76[_0x2f0034(0x119)]};},'getCommentThread':async({channelId:_0x409189,threadId:_0xb56d41})=>{const _0x177656=_0x5ab320,_0x11129c=await this[_0x177656(0x103)](_0x409189)[_0x177656(0x104)](_0xb56d41)[_0x177656(0xf4)](R);return _0x11129c[_0x177656(0xe6)]?null:(await this[_0x177656(0x10e)]([_0x11129c]),{'threadId':_0x11129c[_0x177656(0x10f)],'comments':_0x11129c[_0x177656(0x119)][_0x177656(0xe2)](S),'context':_0x11129c[_0x177656(0xbd)],'resolvedAt':_0x11129c[_0x177656(0xcb)],'resolvedBy':_0x11129c[_0x177656(0xed)],'attributes':_0x11129c[_0x177656(0xba)]||{}});},'updateCommentThread':async({channelId:_0x4b3f21,threadId:_0x4fc84a,context:_0x3b2709,unlinkedAt:_0x3ba1f8,attributes:_0xd9209c})=>this[_0x5ab320(0x103)](_0x4b3f21)[_0x5ab320(0xc8)]({'commentThreadId':_0x4fc84a,'context':_0x3b2709,'attributes':_0xd9209c,'unlinkedAt':_0x3ba1f8})[_0x5ab320(0xf4)](B)[_0x5ab320(0xf4)](R),'resolveCommentThread':async({channelId:_0x2090ed,threadId:_0x854796})=>{const _0x49cfaa=_0x5ab320,_0x5abfc4=await this[_0x49cfaa(0x103)](_0x2090ed)[_0x49cfaa(0xbf)](_0x854796)[_0x49cfaa(0xf4)](B)[_0x49cfaa(0xf4)](R);return{'threadId':_0x5abfc4[_0x49cfaa(0x10f)],'resolvedAt':_0x5abfc4[_0x49cfaa(0xcb)],'resolvedBy':_0x5abfc4[_0x49cfaa(0xed)]};},'reopenCommentThread':async({channelId:_0x45ba2f,threadId:_0x528b3f})=>this[_0x5ab320(0x103)](_0x45ba2f)[_0x5ab320(0xe5)](_0x528b3f)[_0x5ab320(0xf4)](B)[_0x5ab320(0xf4)](R),'removeCommentThread':({channelId:_0x2919db,threadId:_0x2fc6b3})=>this[_0x5ab320(0x103)](_0x2919db)[_0x5ab320(0xd5)](_0x2fc6b3)[_0x5ab320(0xf4)](B)[_0x5ab320(0xf4)](R),'addComment':({channelId:_0x468664,threadId:_0x4ee02e,commentId:_0xabff7,content:_0x317b23,attributes:_0x39cf39})=>this[_0x5ab320(0x103)](_0x468664)[_0x5ab320(0xe7)](_0x4ee02e,_0xabff7,_0x317b23,_0x39cf39)[_0x5ab320(0xf4)](R),'updateComment':({channelId:_0x343104,threadId:_0x35c108,commentId:_0x1b0c71,content:_0x2caaa5,attributes:_0x73d536})=>this[_0x5ab320(0x103)](_0x343104)[_0x5ab320(0xdf)](_0x35c108,_0x1b0c71,_0x2caaa5,_0x73d536)[_0x5ab320(0xf4)](B)[_0x5ab320(0xf4)](R),'removeComment':({channelId:_0x24ae5f,threadId:_0xf29b9b,commentId:_0x28bdec})=>this[_0x5ab320(0x103)](_0x24ae5f)[_0x5ab320(0x10c)](_0xf29b9b,_0x28bdec)[_0x5ab320(0xf4)](B)[_0x5ab320(0xf4)](R)},_0x83f25c instanceof _0xd33c15){const _0x26ba92=_0x83f25c[_0x5ab320(0xc5)][_0x5ab320(0xef)](_0x5ab320(0xcd)),_0x56a6b1=_0x83f25c[_0x5ab320(0x113)][_0x5ab320(0xef)](_0x59ba00);await this[_0x5ab320(0x10d)](_0x26ba92);const _0x27a20e=await this[_0x5ab320(0xcf)][_0x5ab320(0xef)](_0x26ba92)[_0x5ab320(0x102)]();this[_0x5ab320(0xdd)](_0x56a6b1,_0x5ab320(0x115)+_0x26ba92,(_0xd83f60,{session:_0x30f285})=>{const _0x229b9c=_0x5ab320;_0x30f285['id']===_0x56a6b1[_0x229b9c(0x11e)]&&(_0xd83f60[_0x229b9c(0xc6)](),this[_0x229b9c(0xbd)][_0x229b9c(0x113)][_0x229b9c(0xef)](_0x229b9c(0x111))[_0x229b9c(0x118)](_0x30f285[_0x229b9c(0xca)],_0x26ba92));}),_0x56a6b1[_0x5ab320(0xf2)](_0x26ba92,_0x27a20e);}}async[_0x1b615c(0x10d)](_0x299f7b){const _0x1c9b86=_0x1b615c;if(this[_0x1c9b86(0xcf)][_0x1c9b86(0xf3)](_0x299f7b))throw new _0x6edaed(_0x1c9b86(0xfc),null,{'channelId':_0x299f7b});const _0x4545e3=this[_0x1c9b86(0xbd)][_0x1c9b86(0x113)][_0x1c9b86(0xef)](_0x1c9b86(0xea)),_0x4d7593=new a[(_0x1c9b86(0xf8))](_0x299f7b);this[_0x1c9b86(0xcf)][_0x1c9b86(0x11c)](_0x299f7b,_0x4d7593),this[_0x1c9b86(0xdd)](_0x4d7593,_0x1c9b86(0xeb),(_0xe2352,_0x22c352)=>{const _0x614aab=_0x1c9b86,{commentThreadId:_0x269d31,documentId:_0x5dcf29,context:_0x1337b5,attributes:_0x4227e2,resolvedAt:_0x341a41,resolvedBy:_0x1ded46,comments:_0x59629c}=_0x22c352;_0x4545e3[_0x614aab(0x104)](_0x269d31)||_0x4545e3[_0x614aab(0xd6)]({'threadId':_0x269d31,'channelId':_0x5dcf29,'comments':_0x59629c?_0x59629c[_0x614aab(0xe2)](S):[],'context':_0x1337b5,'attributes':_0x4227e2,'resolvedAt':_0x341a41,'resolvedBy':_0x1ded46,'isFromAdapter':!0x0});}),this[_0x1c9b86(0xdd)](_0x4d7593,_0x1c9b86(0xfe),(_0xa337f8,{commentThreadId:_0x5ea3ce,documentId:_0x55afd3,context:_0x396583,unlinkedAt:_0x57a7c1,attributes:_0x1803c3})=>{const _0x291218=_0x1c9b86;_0x4545e3[_0x291218(0x104)](_0x5ea3ce)&&_0x4545e3[_0x291218(0xc8)]({'threadId':_0x5ea3ce,'channelId':_0x55afd3,'context':_0x396583,'unlinkedAt':_0x57a7c1,'attributes':_0x1803c3,'isFromAdapter':!0x0});}),this[_0x1c9b86(0xdd)](_0x4d7593,_0x1c9b86(0xff),(_0x152d19,{commentThreadId:_0xbf04a9,resolvedBy:_0x4fe378,resolvedAt:_0x1a3bb6})=>{const _0x518ce6=_0x1c9b86,_0x354e13=_0x4545e3[_0x518ce6(0x104)](_0xbf04a9);_0x354e13&&_0x354e13[_0x518ce6(0x105)]({'resolvedBy':_0x4fe378,'resolvedAt':_0x1a3bb6,'isFromAdapter':!0x0});}),this[_0x1c9b86(0xdd)](_0x4d7593,_0x1c9b86(0xbc),(_0x429dc9,{commentThreadId:_0x295822})=>{const _0x1b0c0d=_0x1c9b86,_0x21c25d=_0x4545e3[_0x1b0c0d(0x104)](_0x295822);_0x21c25d&&_0x21c25d[_0x1b0c0d(0xde)]({'isFromAdapter':!0x0});}),this[_0x1c9b86(0xdd)](_0x4d7593,_0x1c9b86(0xbb),(_0x11d50a,{commentThreadId:_0x1412cb})=>{const _0x267d72=_0x1c9b86,_0x481863=_0x4545e3[_0x267d72(0x104)](_0x1412cb);_0x481863&&_0x481863[_0x267d72(0xfa)]({'isFromAdapter':!0x0});}),this[_0x1c9b86(0xdd)](_0x4d7593,_0x1c9b86(0x11d),(_0x107b5c,_0x1c0647)=>{const _0x4c757e=_0x1c9b86,_0x43f6d3=_0x1c0647[_0x4c757e(0x10f)],_0x4571d9=_0x4545e3[_0x4c757e(0x104)](_0x43f6d3);_0x4571d9&&_0x4571d9[_0x4c757e(0xe7)]({...S(_0x1c0647),'isFromAdapter':!0x0});}),this[_0x1c9b86(0xdd)](_0x4d7593,_0x1c9b86(0xd8),(_0x48e274,{commentThreadId:_0x23dbc6,commentId:_0x5d34da,content:_0xf521f,attributes:_0x4125fb})=>{const _0x7c4bf8=_0x1c9b86,_0x504a61=_0x4545e3[_0x7c4bf8(0x104)](_0x23dbc6);if(_0x504a61){const _0x2fa08f=_0x504a61[_0x7c4bf8(0xc1)](_0x5d34da);_0x2fa08f&&_0x2fa08f[_0x7c4bf8(0xc2)]({'content':_0xf521f,'attributes':_0x4125fb,'isFromAdapter':!0x0});}}),this[_0x1c9b86(0xdd)](_0x4d7593,_0x1c9b86(0xfb),(_0x4676fa,{commentThreadId:_0x26cfad,commentId:_0x1c0aa5})=>{const _0x4431c4=_0x1c9b86,_0x406b92=_0x4545e3[_0x4431c4(0x104)](_0x26cfad);if(_0x406b92){const _0x592969=_0x406b92[_0x4431c4(0xc1)](_0x1c0aa5);_0x592969&&_0x592969[_0x4431c4(0xfa)]({'isFromAdapter':!0x0});}}),await this[_0x1c9b86(0xe8)](_0x299f7b);}[_0x1b615c(0x114)](){const _0x4dcc7a=_0x1b615c;if(this[_0x4dcc7a(0xbd)]instanceof _0xd33c15){const _0x2a0e5c=this[_0x4dcc7a(0xbd)][_0x4dcc7a(0xc5)][_0x4dcc7a(0xef)](_0x4dcc7a(0xcd));this[_0x4dcc7a(0xf9)](_0x2a0e5c);}}[_0x1b615c(0xf9)](_0x2f1422){const _0x118b8=_0x1b615c;if(!this[_0x118b8(0xcf)][_0x118b8(0xf3)](_0x2f1422))throw new _0x6edaed(_0x118b8(0xdb),null,{'channelId':_0x2f1422});this[_0x118b8(0x103)](_0x2f1422)[_0x118b8(0xcc)](),this[_0x118b8(0xcf)][_0x118b8(0xee)](_0x2f1422);}async[_0x1b615c(0xdc)](){const _0xbbb693=_0x1b615c;for(const _0x14de9b of this[_0xbbb693(0xcf)][_0xbbb693(0xe3)]())await this[_0xbbb693(0xe8)](_0x14de9b);if(this[_0xbbb693(0xbd)]instanceof _0xd33c15){const _0x1e21bf=this[_0xbbb693(0xbd)][_0xbbb693(0xc5)][_0xbbb693(0xef)](_0xbbb693(0xcd)),_0x3e25cc=this[_0xbbb693(0xbd)][_0xbbb693(0x113)][_0xbbb693(0xef)](_0x59ba00);_0x3e25cc[_0xbbb693(0xc4)](_0x1e21bf);const _0x54ffc0=await this[_0xbbb693(0xcf)][_0xbbb693(0xef)](_0x1e21bf)[_0xbbb693(0x102)]();_0x3e25cc[_0xbbb693(0xf2)](_0x1e21bf,_0x54ffc0);}}async[_0x1b615c(0xe8)](_0x330b7d){const _0x1e0670=_0x1b615c,{connection:_0x5aaa6f}=this[_0x1e0670(0xbd)][_0x1e0670(0x113)][_0x1e0670(0xef)](_0x38d122),_0x49261f=this[_0x1e0670(0xbd)][_0x1e0670(0x113)][_0x1e0670(0xef)](_0x1e0670(0xea)),_0x5c81d2=this[_0x1e0670(0xcf)][_0x1e0670(0xef)](_0x330b7d),_0x1ba884=await _0x5c81d2[_0x1e0670(0xe9)](_0x5aaa6f);await this[_0x1e0670(0x10e)](_0x1ba884);const _0x54ca16=new Set(Array[_0x1e0670(0xd3)](_0x49261f[_0x1e0670(0xf7)]({'channelId':_0x330b7d}),_0x34104b=>_0x34104b['id']));for(const _0x2be80d of _0x1ba884)_0x2be80d[_0x1e0670(0xe6)]||_0x54ca16[_0x1e0670(0xee)](_0x2be80d[_0x1e0670(0x10f)]);for(const _0x5acdd9 of _0x54ca16)_0x49261f[_0x1e0670(0x104)](_0x5acdd9)[_0x1e0670(0xfa)]({'isFromAdapter':!0x0});for(const _0xbe6da of _0x1ba884){let _0x410e84=_0x49261f[_0x1e0670(0x104)](_0xbe6da[_0x1e0670(0x10f)]);const {commentThreadId:_0x4b0ad3,context:_0x47fa67,attributes:_0x3792e8,resolvedBy:_0x4677fa,resolvedAt:_0x4f7842,unlinkedAt:_0x537de5,deletedAt:_0x5da030}=_0xbe6da;if(_0x5da030)continue;_0x410e84||(_0x410e84=_0x49261f[_0x1e0670(0xd6)]({'channelId':_0x330b7d,'threadId':_0x4b0ad3,'context':_0x47fa67,'attributes':_0x3792e8||{},'resolvedBy':_0x4677fa,'resolvedAt':_0x4f7842,'unlinkedAt':_0x537de5,'isFromAdapter':!0x0}));const _0x30bb73=new Set(Array[_0x1e0670(0xd3)](_0x410e84[_0x1e0670(0x119)],_0x2e021e=>_0x2e021e['id']));for(const _0x2eb296 of _0xbe6da[_0x1e0670(0x119)])_0x30bb73[_0x1e0670(0xee)](_0x2eb296[_0x1e0670(0xd9)]);for(const _0xaf9689 of _0x30bb73)_0x410e84[_0x1e0670(0xc1)](_0xaf9689)[_0x1e0670(0xfa)]({'isFromAdapter':!0x0});for(const _0x64ed92 of _0xbe6da[_0x1e0670(0x119)]){const _0x454c17=_0x410e84[_0x1e0670(0xc1)](_0x64ed92[_0x1e0670(0xd9)]);_0x454c17?_0x454c17[_0x1e0670(0x10a)]!==_0x64ed92[_0x1e0670(0x10a)]&&_0x454c17[_0x1e0670(0xc2)]({'content':_0x64ed92[_0x1e0670(0x10a)],'isFromAdapter':!0x0}):_0x410e84[_0x1e0670(0xe7)](Object[_0x1e0670(0x109)](S(_0x64ed92),{'isFromAdapter':!0x0}));}}}[_0x1b615c(0x103)](_0x3ee3a9){const _0x4e26f3=_0x1b615c;if(!this[_0x4e26f3(0xcf)][_0x4e26f3(0xf3)](_0x3ee3a9))throw new _0x6edaed(_0x4e26f3(0xd1),null,{'channelId':_0x3ee3a9});return this[_0x4e26f3(0xcf)][_0x4e26f3(0xef)](_0x3ee3a9);}async[_0x1b615c(0x10e)](_0x34e0e7){const _0x5186e0=_0x1b615c,_0x237d6f=this[_0x5186e0(0xbd)][_0x5186e0(0x113)][_0x5186e0(0xef)](_0x41fb9a),{connection:_0x532021}=this[_0x5186e0(0xbd)][_0x5186e0(0x113)][_0x5186e0(0xef)](_0x38d122),_0x4878a6=new Set();for(const {resolvedBy:_0x68bef2,comments:_0x22d946}of _0x34e0e7){_0x68bef2&&!_0x237d6f[_0x5186e0(0xd2)](_0x68bef2)&&_0x4878a6[_0x5186e0(0x11a)](_0x68bef2);for(const {userId:_0x486f0f}of _0x22d946)_0x237d6f[_0x5186e0(0xd2)](_0x486f0f)||_0x4878a6[_0x5186e0(0x11a)](_0x486f0f);}if(0x0===_0x4878a6[_0x5186e0(0xec)])return;const _0x781c20=await _0x361d04[_0x5186e0(0xf5)](_0x532021,Array[_0x5186e0(0xd3)](_0x4878a6));for(const _0x2b4f90 of _0x781c20)_0x237d6f[_0x5186e0(0xd2)](_0x2b4f90['id'])||_0x237d6f[_0x5186e0(0xda)](_0x2b4f90);}}a[_0x1b615c(0xf8)]=_0x8ce273;export default a;async function B(_0x6ccccf){const _0x54acf8=_0x1b615c;if(_0x54acf8(0xc0)!==_0x6ccccf[_0x54acf8(0xfd)])throw _0x6ccccf;}function R(_0x2e1268){const _0x3db575=_0x1b615c;if((_0x3e929f=_0x2e1268)[_0x3db575(0x112)][_0x3db575(0x100)](_0x3db575(0xd7))||_0x3e929f[_0x3db575(0x112)][_0x3db575(0x100)](_0x3db575(0xd0))||_0x3e929f[_0x3db575(0x112)][_0x3db575(0x100)](_0x3db575(0xf1)))return new Promise(()=>{});var _0x3e929f;throw _0x2e1268;}function S(_0xee5210){const _0x4cd908=_0x1b615c;return{'threadId':_0xee5210[_0x4cd908(0x10f)],'commentId':_0xee5210[_0x4cd908(0xd9)],'content':_0xee5210[_0x4cd908(0x10a)],'createdAt':_0xee5210[_0x4cd908(0x108)],'authorId':_0xee5210[_0x4cd908(0xe1)],'attributes':_0xee5210[_0x4cd908(0xba)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x31c1e3=_0x54a1;function _0x738d(){const _0xcb5e76=['16816JlUMUp','isPremiumPlugin','7myYdei','2036mwdOmd','config','change:state','editor','_terminateService','collaboration.channelId','86230jVLrfy','plugins','listenTo','get','pluginName','connected','48fpnApl','1160cVYqal','data','CommentsEditing','3944105XCQdkd','ready','isOfficialPlugin','4618664xMaeeq','switchReadOnly','Comments','isThreadsLoadingPaused','destroy','671952yZGKnx','3923160zQjXlp','RealTimeCollaborativeComments','12TwZJKk','1215daulCd','requires','CommentsRepository','once','init','_setUpService'];_0x738d=function(){return _0xcb5e76;};return _0x738d();}(function(_0x5c35db,_0x469b14){const _0x4cd98a=_0x54a1,_0x22ee3c=_0x5c35db();while(!![]){try{const _0xfb7627=-parseInt(_0x4cd98a(0xb9))/0x1*(parseInt(_0x4cd98a(0xa3))/0x2)+parseInt(_0x4cd98a(0xb0))/0x3+parseInt(_0x4cd98a(0xbc))/0x4*(parseInt(_0x4cd98a(0xa4))/0x5)+-parseInt(_0x4cd98a(0xaf))/0x6+parseInt(_0x4cd98a(0xbb))/0x7*(parseInt(_0x4cd98a(0xaa))/0x8)+parseInt(_0x4cd98a(0xb3))/0x9*(-parseInt(_0x4cd98a(0xc2))/0xa)+-parseInt(_0x4cd98a(0xa7))/0xb*(-parseInt(_0x4cd98a(0xb2))/0xc);if(_0xfb7627===_0x469b14)break;else _0x22ee3c['push'](_0x22ee3c['shift']());}catch(_0x495945){_0x22ee3c['push'](_0x22ee3c['shift']());}}}(_0x738d,0xa681f));import{Plugin as _0x1c54bc}from'ckeditor5/src/core.js';import _0x463402 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x54a1(_0x5f35ed,_0x4d0b4e){const _0x738d67=_0x738d();return _0x54a1=function(_0x54a1a4,_0x126da5){_0x54a1a4=_0x54a1a4-0xa1;let _0x207624=_0x738d67[_0x54a1a4];return _0x207624;},_0x54a1(_0x5f35ed,_0x4d0b4e);}import _0x541e66 from'./realtimecollaborativeediting.js';import _0x2d0d18 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x1c54bc{static get[_0x31c1e3(0xb4)](){const _0x47550b=_0x31c1e3;return[_0x47550b(0xac),_0x463402,_0x541e66,_0x2d0d18];}static get[_0x31c1e3(0xa1)](){const _0x859c14=_0x31c1e3;return _0x859c14(0xb1);}static get[_0x31c1e3(0xa9)](){return!0x0;}static get[_0x31c1e3(0xba)](){return!0x0;}[_0x31c1e3(0xb7)](){const _0x4a11ea=_0x31c1e3,_0x56eabf=this[_0x4a11ea(0xbf)][_0x4a11ea(0xc3)][_0x4a11ea(0xc5)](_0x2d0d18),_0x4d0966=this[_0x4a11ea(0xbf)][_0x4a11ea(0xc3)][_0x4a11ea(0xc5)](_0x4a11ea(0xa6)),_0x117917=this[_0x4a11ea(0xbf)][_0x4a11ea(0xc3)][_0x4a11ea(0xc5)](_0x463402);return this[_0x4a11ea(0xbf)][_0x4a11ea(0xa5)][_0x4a11ea(0xb6)](_0x4a11ea(0xa8),()=>{const _0x33248a=_0x4a11ea;this[_0x33248a(0xc4)](_0x56eabf,_0x33248a(0xbe),(_0x4bdb3b,_0x5261cb,_0x54582d)=>{const _0x16174f=_0x33248a;_0x4d0966[_0x16174f(0xad)]=_0x16174f(0xa2)!==_0x54582d;});}),this[_0x4a11ea(0xc4)](_0x56eabf,_0x4a11ea(0xbe),(_0x46bdfc,_0x19bdbe,_0x36cacd)=>{const _0x8d8ad4=_0x4a11ea;this[_0x8d8ad4(0xbf)][_0x8d8ad4(0xc3)][_0x8d8ad4(0xc5)](_0x8d8ad4(0xb5))[_0x8d8ad4(0xab)](_0x8d8ad4(0xa2)!==_0x36cacd);}),_0x117917[_0x4a11ea(0xb8)](this[_0x4a11ea(0xbf)][_0x4a11ea(0xbd)][_0x4a11ea(0xc5)](_0x4a11ea(0xc1)));}[_0x31c1e3(0xae)](){const _0x51a26e=_0x31c1e3;this[_0x51a26e(0xbf)][_0x51a26e(0xc3)][_0x51a26e(0xc5)](_0x463402)[_0x51a26e(0xc0)](this[_0x51a26e(0xbf)][_0x51a26e(0xbd)][_0x51a26e(0xc5)](_0x51a26e(0xc1))),super[_0x51a26e(0xae)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5cd73b=_0x4311;(function(_0x5bfd36,_0x44846c){const _0x4ec2ac=_0x4311,_0x354c0d=_0x5bfd36();while(!![]){try{const _0x2cf99f=-parseInt(_0x4ec2ac(0x1de))/0x1+-parseInt(_0x4ec2ac(0x194))/0x2+parseInt(_0x4ec2ac(0x24e))/0x3+-parseInt(_0x4ec2ac(0x253))/0x4+parseInt(_0x4ec2ac(0x272))/0x5*(parseInt(_0x4ec2ac(0x244))/0x6)+parseInt(_0x4ec2ac(0x1d9))/0x7*(-parseInt(_0x4ec2ac(0x205))/0x8)+parseInt(_0x4ec2ac(0x250))/0x9;if(_0x2cf99f===_0x44846c)break;else _0x354c0d['push'](_0x354c0d['shift']());}catch(_0x3165cc){_0x354c0d['push'](_0x354c0d['shift']());}}}(_0x207a,0xbd1c1));import{Plugin as _0x4229a1,PendingActions as _0x44cbb6}from'ckeditor5/src/core.js';import{CKEditorError as _0x3e9944,version as _0xc45eee,uid as _0x3d74f7}from'ckeditor5/src/utils.js';import{Notification as _0x36f22e}from'ckeditor5/src/ui.js';import{transformSets as _0x28e587,NoOperation as _0x3aa3c7,InsertOperation as _0x56013b,MarkerOperation as _0x1d0074,RootAttributeOperation as _0xd7b21,OperationFactory as _0x1cfbed,History as _0x557537}from'ckeditor5/src/engine.js';import _0x336b59 from'./websocketgateway.js';import _0x3ce857 from'./sessions.js';import _0x2b867e from'./usermarkers.js';import{getTranslation as _0x3b586f}from'../common-translations.js';function _0x4311(_0x190c66,_0x39a0f2){const _0x207a28=_0x207a();return _0x4311=function(_0x4311aa,_0x503a09){_0x4311aa=_0x4311aa-0x180;let _0x50a603=_0x207a28[_0x4311aa];return _0x50a603;},_0x4311(_0x190c66,_0x39a0f2);}import{Compressor as _0x414c9b}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x48651d}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x207a(){const _0x2bed9f=['Synchronization\x20issue','_ignoredOperations','addRootAttribute','_baseBufferDelay','getOperationAuthor','_lastSyncedOperationId','currentDocumentSession','realtimecollaborationclient-handleserverresponse','_saveOperationInBuffer','lastOperationAcceptedAt','_isLoaded','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','removeFromReconnectionStack','_addKnownRoot','_initThrowingOnDataSet','batch','collaboration','_handleExternalOperations','entries','cloud-services-internal-error:\x20Not\x20connected.','decompress','sessionId','_isPendingUpdate','realtimecollaborationclient-error','affectedSelectable','document','connection','insert','serverHistory','createPositionAt','setIdForTheLastOperation','CommentsOnly','_knownOperations','4506714NkMHpy','model','get','rtc-offline','reconnection:\x20flushed\x20session','document:write','createRange','add','targetPosition','_bufferedOperations','2590143utGlfq','Notification','25376526YgCBfP','locale','view','2308728wlzLiF','_initSessionsHandling','clone','showWarning','createRoot','data','_channelId','mySessionId','suppressErrorInCollaboration','realtimecollaborationclient-init-connection-failed','createUserMarkerOperations','isUndoneOperation','isDocumentOperation','config','_compressor','push','realtimecollaborationclient-init-service-incorrect-server-operation','_connectAfterSessionHasBeenFlushed','roots','_getOperationsFromInitData','listenTo','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.','_handleReconnectionResponse','keys','connected','realtimecollaborationclient-init-service-internal-error','init','_handleSendingSelectionMarkers','collaboration.channelId','rootName','register','5wpQLyj','multi-root-editor-root-attributes-no-root','isOfficialPlugin','path','real-time-collaboration','sendOperations','finally','_currentBufferDelay','realtimecollaborationclient-init-document-already-initialized','getOperations','addOperation','permissions','stopListening','directChange','_isDisconnection','_sendBufferedOperationsDelayed','includes','_sendBufferedOperationsDelayId','version','enqueueChange','_disconnectionOperations','parse','state','_decompressOperations','_waitUntilSynced','affectsData','wereChangesApplied','disableReadOnlyMode','sessionAdd:','editing','editor','_bufferRootLoad','offset','error','length','_pendingAction','root','applyOperation','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','2621598PwiClH','getIdOfTheLastOperation','newRange','_isEditingAllowed','apply','fromJSON','reset','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.','_handleServerResponse','_knownRootNames','sessionCreatedAt','destroy','isReadOnly','high','setPermissions','_updateServerHistory','_shouldSendUpdate','409','_compressOperations','slice','markers','startsWith','filter','bind','then','PENDING_ACTION_SENDING_DATA','map','connect','set','_hasSelectionChanged','fire','_isAttached','_getAffectedRoot','has','reconnect','marker','toJSON','getConnectedSessions','requires','realtimecollaborationclient-init-non-existent-root','isPremiumPlugin','return','_clearPendingAction','change:_isEditingAllowed','addRoot','attributes','cloudServices.bundleVersion','cloudDocumentVersion','_document','position','InsertOperation','baseVersion','off','loadRoot','getMany','_setPendingAction','disconnected','_handleInitialConnectionData','cloud-services-internal-error:\x20Request\x20timeout.','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','disconnect','lastDocumentSession','enableReadOnlyMode','getUser','start','realtimecollaborationclient-init-session-connection-error','change:hasDomSelection','change:range','getRoot','8351VxjBqM','_refreshUserSelectionMarkers','cs:removeUser','initData','lastOperationId','925703NHDUjM','code','lastSyncVersion','createPositionFromPath','_sendBufferedOperations','_handleReceivedOperations','change:_isPendingUpdate','catch','_disconnectService','ready','_crash','CollaborativeEditingService','_operationIdentifier','_fetchMissingUsers','history','collaboration-missing-channelid','createdAt','addToReconnectionStack','_setUpDataInit','forEach','move','from','userId','string','_authorId','_hasSynchronizationProblem','operationsReceived','type','size','_handleReconnectionError','_lastServerVersion','addUser','_isConnected','realtimecollaborationclient','isEnabled','__className','RealTimeCollaborationClient','stop','selection','5672ugLvgU','differ','_offset','_service','getDocumentDetails','plugins','end','channelSessions','realtimecollaborationclient-sendbufferedoperations','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_shouldSendSelectionUpdate','404','rootsAttributes','_loadRoot','round','define','unregister','remove','compress','metadata','wasUndone','_isInit','_operationToId','_connectService','$root','_applyOperationsSet','message','Permissions','rtc-destroyed','pluginName'];_0x207a=function(){return _0x2bed9f;};return _0x207a();}import{User as _0x3ebf8e,CollaborativeEditingService as _0x2be7a4}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x4229a1{static get[_0x5cd73b(0x1ba)](){return[_0x336b59,_0x3ce857,_0x2b867e,_0x44cbb6,_0x48651d,_0x36f22e];}static get[_0x5cd73b(0x222)](){const _0x1266a7=_0x5cd73b;return _0x1266a7(0x202);}static get[_0x5cd73b(0x274)](){return!0x0;}static get[_0x5cd73b(0x1bc)](){return!0x0;}get[_0x5cd73b(0x1c3)](){const _0x489114=_0x5cd73b;return this[_0x489114(0x1fc)]+this[_0x489114(0x207)];}get[_0x5cd73b(0x1fc)](){const _0x275357=_0x5cd73b;return this[_0x275357(0x23f)][_0x275357(0x284)]-this[_0x275357(0x207)];}get[_0x5cd73b(0x1e0)](){const _0x46faf8=_0x5cd73b,_0x252f4a=this[_0x46faf8(0x23f)][_0x46faf8(0x27b)]();for(let _0x5c63ed=_0x252f4a[_0x46faf8(0x18f)]-0x1;_0x5c63ed>=0x0;_0x5c63ed--){const _0x2ae626=_0x252f4a[_0x5c63ed];if(!this[_0x46faf8(0x181)][_0x46faf8(0x1b5)](_0x2ae626))return _0x2ae626[_0x46faf8(0x1c7)]+0x1-this[_0x46faf8(0x207)];}return 0x0;}constructor(_0x130674){const _0x2255cf=_0x5cd73b;if(super(_0x130674),this[_0x2255cf(0x207)]=0x0,this[_0x2255cf(0x238)]=null,this[_0x2255cf(0x23f)]=new _0x557537(),this[_0x2255cf(0x18b)][_0x2255cf(0x260)][_0x2255cf(0x214)](_0x2255cf(0x233),{}),this[_0x2255cf(0x259)]=this[_0x2255cf(0x18b)][_0x2255cf(0x260)][_0x2255cf(0x246)](_0x2255cf(0x26f)),!this[_0x2255cf(0x259)])throw new _0x3e9944(_0x2255cf(0x1ed),this);const _0x5913f4=_0x130674[_0x2255cf(0x260)][_0x2255cf(0x246)](_0x2255cf(0x1c2))||_0xc45eee;this[_0x2255cf(0x208)]=new l[(_0x2255cf(0x1e9))](_0x5913f4,this[_0x2255cf(0x259)]),this[_0x2255cf(0x1c4)]=this[_0x2255cf(0x18b)][_0x2255cf(0x245)][_0x2255cf(0x23c)],this[_0x2255cf(0x261)]=new _0x414c9b(),this[_0x2255cf(0x24d)]=[],this[_0x2255cf(0x243)]=new WeakSet(),this[_0x2255cf(0x19d)]=new Set(),this[_0x2255cf(0x1b0)](_0x2255cf(0x239),!0x1),this[_0x2255cf(0x1b0)](_0x2255cf(0x1f7),!0x1),this[_0x2255cf(0x190)]=null,this[_0x2255cf(0x1b1)]=!0x1,this[_0x2255cf(0x283)]=null,this[_0x2255cf(0x226)]=0x12c,this[_0x2255cf(0x279)]=this[_0x2255cf(0x226)],this[_0x2255cf(0x228)]=null,this[_0x2255cf(0x181)]=new WeakSet(),this[_0x2255cf(0x1ea)]=new X(this[_0x2255cf(0x181)]);}[_0x5cd73b(0x26d)](){const _0x462a1f=_0x5cd73b,_0x177227=this[_0x462a1f(0x18b)],_0x37d337=_0x177227[_0x462a1f(0x20a)][_0x462a1f(0x246)](_0x48651d),_0x3a2f7b=_0x177227[_0x462a1f(0x20a)][_0x462a1f(0x246)](_0x336b59);this[_0x462a1f(0x267)](_0x37d337,_0x462a1f(0x227),(_0x507aeb,_0x2b10dc)=>{const _0x389151=_0x462a1f,_0x18e7dc=_0x2b10dc[0x0];_0x18e7dc[_0x389151(0x1f6)]&&(_0x507aeb[_0x389151(0x1bd)]=_0x37d337[_0x389151(0x1d3)](_0x18e7dc[_0x389151(0x1f6)]),_0x507aeb[_0x389151(0x203)]()),null===_0x18e7dc[_0x389151(0x1f6)]&&(_0x507aeb[_0x389151(0x1bd)]=null,_0x507aeb[_0x389151(0x203)]());},{'priority':_0x462a1f(0x1a1)}),this[_0x462a1f(0x267)](_0x177227[_0x462a1f(0x245)][_0x462a1f(0x23c)][_0x462a1f(0x204)],_0x462a1f(0x1d7),(_0x11ba0d,_0x56007e)=>{const _0xc26693=_0x462a1f;_0x56007e[_0xc26693(0x27f)]&&this[_0xc26693(0x1da)]();}),this[_0x462a1f(0x267)](_0x177227[_0x462a1f(0x18a)][_0x462a1f(0x252)],_0x462a1f(0x1d6),()=>{const _0x35a7e9=_0x462a1f;this[_0x35a7e9(0x1da)]();}),this[_0x462a1f(0x231)](),_0x177227[_0x462a1f(0x245)]['on'](_0x462a1f(0x192),(_0x3ee034,_0x36eef6)=>{const _0x2b7f77=_0x462a1f,_0x2b095b=_0x36eef6[0x0];_0x2b095b[_0x2b7f77(0x25f)]&&(this[_0x2b7f77(0x22b)](_0x2b095b),this[_0x2b7f77(0x1a4)]()&&this[_0x2b7f77(0x281)]());}),this[_0x462a1f(0x1f0)](),this[_0x462a1f(0x1ab)](_0x462a1f(0x197))['to'](_0x3a2f7b,_0x462a1f(0x183),this,_0x462a1f(0x1f7),(_0x531d45,_0x5bd621)=>_0x462a1f(0x26b)===_0x531d45&&!_0x5bd621),this['on'](_0x462a1f(0x1bf),()=>{const _0x32601c=_0x462a1f;this[_0x32601c(0x197)]?_0x177227[_0x32601c(0x188)](_0x32601c(0x247)):_0x177227[_0x32601c(0x1d2)](_0x32601c(0x247));}),this[_0x462a1f(0x197)]?_0x177227[_0x462a1f(0x188)](_0x462a1f(0x247)):_0x177227[_0x462a1f(0x1d2)](_0x462a1f(0x247)),this[_0x462a1f(0x1b0)](_0x462a1f(0x1fe),!0x1);}async[_0x5cd73b(0x1b6)](){const _0x5c8a4b=_0x5cd73b,_0x4c5982=this[_0x5c8a4b(0x18b)][_0x5c8a4b(0x20a)][_0x5c8a4b(0x246)](_0x3ce857),_0x1e11ca=this[_0x5c8a4b(0x18b)][_0x5c8a4b(0x20a)][_0x5c8a4b(0x246)](_0x336b59);try{this[_0x5c8a4b(0x239)]=!0x0,_0x4c5982[_0x5c8a4b(0x215)](this[_0x5c8a4b(0x259)]);const _0x7aa808=await this[_0x5c8a4b(0x208)][_0x5c8a4b(0x1b6)](_0x1e11ca[_0x5c8a4b(0x23d)],this[_0x5c8a4b(0x1e0)]);await this[_0x5c8a4b(0x269)](_0x7aa808)&&(this[_0x5c8a4b(0x239)]=!0x1,this[_0x5c8a4b(0x1be)]());const _0x82a53b=await this[_0x5c8a4b(0x208)][_0x5c8a4b(0x1b9)]();_0x4c5982[_0x5c8a4b(0x271)](this[_0x5c8a4b(0x259)],_0x82a53b),this[_0x5c8a4b(0x26e)](),this[_0x5c8a4b(0x1fe)]=!0x0;}catch(_0x3aef6b){if(function(_0x117a5f){const _0x557111=_0x5c8a4b;return _0x557111(0x210)===_0x117a5f[_0x557111(0x1df)];}(_0x3aef6b)&&this[_0x5c8a4b(0x238)])await this[_0x5c8a4b(0x264)]();else{if(function(_0x1dec65){const _0x2adac9=_0x5c8a4b;return _0x2adac9(0x1a5)===_0x1dec65[_0x2adac9(0x1df)];}(_0x3aef6b)){const _0x2a26b5=_0x3b586f(this[_0x5c8a4b(0x18b)][_0x5c8a4b(0x251)],_0x5c8a4b(0x22e));this[_0x5c8a4b(0x1fb)](_0x2a26b5);}else{if(!(_0x3aef6b instanceof J))throw _0x3aef6b;this[_0x5c8a4b(0x1fb)]();}}}}[_0x5cd73b(0x19f)](){const _0x511ce5=_0x5cd73b,_0x2e84c1=this[_0x511ce5(0x18b)][_0x511ce5(0x20a)][_0x511ce5(0x246)](_0x336b59),_0xe38c09=this[_0x511ce5(0x18b)][_0x511ce5(0x20a)][_0x511ce5(0x246)](_0x3ce857);this[_0x511ce5(0x18b)][_0x511ce5(0x1d2)](_0x511ce5(0x221)),_0xe38c09[_0x511ce5(0x20c)][_0x511ce5(0x1b5)](this[_0x511ce5(0x259)])&&_0xe38c09[_0x511ce5(0x215)](this[_0x511ce5(0x259)]),_0x2e84c1[_0x511ce5(0x22f)](this),this[_0x511ce5(0x1e6)](),super[_0x511ce5(0x19f)]();}async[_0x5cd73b(0x269)](_0x378f36){const _0x32e25f=_0x5cd73b;if(this[_0x32e25f(0x238)]!==_0x378f36[_0x32e25f(0x238)]&&this[_0x32e25f(0x228)]!==_0x378f36[_0x32e25f(0x1dd)])throw new J();return this[_0x32e25f(0x238)]=_0x378f36[_0x32e25f(0x238)],this[_0x32e25f(0x19c)]([],{..._0x378f36,'wereChangesApplied':!0x1,'data':_0x378f36[_0x32e25f(0x258)]},_0x32e25f(0x1b6));}async[_0x5cd73b(0x21c)](_0x2e53a3,_0x266de1=!0x1){const _0x4c07db=_0x5cd73b,{connection:_0x3b1c20}=this[_0x4c07db(0x18b)][_0x4c07db(0x20a)][_0x4c07db(0x246)](_0x336b59);l[_0x4c07db(0x1e9)][_0x4c07db(0x1b9)](_0x3b1c20,this[_0x4c07db(0x259)])[_0x4c07db(0x1ac)](_0x9e6e0a=>this[_0x4c07db(0x254)](_0x9e6e0a))[_0x4c07db(0x1e5)](_0x392c9c=>{const _0x4d3d0c=_0x4c07db;this[_0x4d3d0c(0x1e8)](_0x4d3d0c(0x1d5),_0x392c9c);}),this[_0x4c07db(0x267)](this[_0x4c07db(0x208)],_0x4c07db(0x1f8),this[_0x4c07db(0x1e3)][_0x4c07db(0x1ab)](this)),this[_0x4c07db(0x267)](this[_0x4c07db(0x208)],_0x4c07db(0x18e),(_0x1942d6,_0x57a992)=>{const _0x59fa6e=_0x4c07db;this[_0x59fa6e(0x1e8)](_0x59fa6e(0x26c),_0x57a992);}),this[_0x4c07db(0x267)](this[_0x4c07db(0x208)],_0x4c07db(0x1cc),()=>{const _0x30bb45=_0x4c07db;this[_0x30bb45(0x1fe)]=!0x1;});const _0xf8281a=this[_0x4c07db(0x1ea)][_0x4c07db(0x195)](_0x2e53a3);this[_0x4c07db(0x239)]=!0x0;const _0x5ea361=await this[_0x4c07db(0x208)][_0x4c07db(0x1af)](_0x3b1c20,this[_0x4c07db(0x1a6)](_0x2e53a3),_0xf8281a);if(this[_0x4c07db(0x238)]=_0x5ea361[_0x4c07db(0x238)],_0x266de1){if(!_0x5ea361[_0x4c07db(0x187)])return void this[_0x4c07db(0x1fb)]();this[_0x4c07db(0x239)]=!0x1,this[_0x4c07db(0x1be)](),this[_0x4c07db(0x23f)][_0x4c07db(0x19a)](),this[_0x4c07db(0x207)]=_0x5ea361[_0x4c07db(0x18d)],this[_0x4c07db(0x23f)][_0x4c07db(0x284)]=this[_0x4c07db(0x207)],await this[_0x4c07db(0x19c)](_0x2e53a3,_0x5ea361,_0x4c07db(0x248));}else await this[_0x4c07db(0x1cd)](_0x5ea361,_0x2e53a3);this[_0x4c07db(0x26e)](),this[_0x4c07db(0x1fe)]=!0x0;}[_0x5cd73b(0x26e)](){const _0x3bc45d=_0x5cd73b,_0x2d2291=this[_0x3bc45d(0x18b)][_0x3bc45d(0x20a)][_0x3bc45d(0x246)](_0x3ce857),_0x3108bb=this[_0x3bc45d(0x18b)][_0x3bc45d(0x20a)][_0x3bc45d(0x246)](_0x2b867e),_0x1ae932=_0x2d2291[_0x3bc45d(0x20c)][_0x3bc45d(0x246)](this[_0x3bc45d(0x259)]);_0x1ae932&&_0x1ae932[_0x3bc45d(0x18f)]>0x1?_0x3108bb[_0x3bc45d(0x25d)]():this[_0x3bc45d(0x267)](_0x2d2291,_0x3bc45d(0x189)+this[_0x3bc45d(0x259)],()=>{const _0x1e1ca2=_0x3bc45d;0x2===_0x2d2291[_0x1e1ca2(0x20c)][_0x1e1ca2(0x246)](this[_0x1e1ca2(0x259)])[_0x1e1ca2(0x18f)]&&_0x3108bb[_0x1e1ca2(0x25d)]();});}async[_0x5cd73b(0x1e3)](_0xca6462,_0xd2302e,_0x2559d0,_0x5be9f6){const _0x1f2aa1=_0x5cd73b;if(!this[_0x1f2aa1(0x239)]&&this[_0x1f2aa1(0x1c4)][_0x1f2aa1(0x284)]==_0xd2302e){const _0x47fe73=this[_0x1f2aa1(0x184)](_0x2559d0,_0x5be9f6);await this[_0x1f2aa1(0x1eb)](_0x47fe73),this[_0x1f2aa1(0x234)](_0x47fe73,_0xd2302e,_0x2559d0[_0x1f2aa1(0x1dd)])||this[_0x1f2aa1(0x1e8)](_0x1f2aa1(0x263));}}async[_0x5cd73b(0x264)](){const _0x96ef8e=_0x5cd73b;this[_0x96ef8e(0x1e6)]();const {locale:_0x32c50b}=this[_0x96ef8e(0x18b)];let _0x30bc30;try{_0x30bc30=await this[_0x96ef8e(0x208)][_0x96ef8e(0x209)]();}catch(_0x2f9b81){const _0x1887be=_0x3b586f(_0x32c50b,_0x96ef8e(0x1cf));return void this[_0x96ef8e(0x1fb)](_0x1887be);}const _0xfa9617=_0x30bc30[_0x96ef8e(0x229)]||_0x30bc30[_0x96ef8e(0x1d1)];if(this[_0x96ef8e(0x228)]===_0xfa9617[_0x96ef8e(0x1dd)])await this[_0x96ef8e(0x21c)](this[_0x96ef8e(0x18b)][_0x96ef8e(0x245)][_0x96ef8e(0x23c)][_0x96ef8e(0x1ec)][_0x96ef8e(0x27b)](),!0x0);else{const _0x548bd9=_0x3b586f(_0x32c50b,_0x96ef8e(0x19b));this[_0x96ef8e(0x1fb)](_0x548bd9);}}[_0x5cd73b(0x1e6)](){const _0x14e146=_0x5cd73b;this[_0x14e146(0x208)][_0x14e146(0x1d0)](),this[_0x14e146(0x24d)]=[],clearTimeout(this[_0x14e146(0x283)]),this[_0x14e146(0x27e)](this[_0x14e146(0x208)]);}[_0x5cd73b(0x254)](_0x4bb575){const _0x366966=_0x5cd73b,_0x3464f3=this[_0x366966(0x18b)][_0x366966(0x20a)][_0x366966(0x246)](_0x3ce857);this[_0x366966(0x267)](_0x3464f3,_0x366966(0x189)+this[_0x366966(0x259)],(_0x42ee99,{session:_0x1be85c})=>{const _0x347d80=_0x366966;if(_0x1be85c['id']===_0x3464f3[_0x347d80(0x25a)]){_0x42ee99[_0x347d80(0x1c8)]();const _0x5af5d6=this[_0x347d80(0x18b)][_0x347d80(0x20a)][_0x347d80(0x1b5)](_0x347d80(0x242))&&this[_0x347d80(0x18b)][_0x347d80(0x20a)][_0x347d80(0x246)](_0x347d80(0x242));let _0x2eb165=_0x1be85c[_0x347d80(0x27d)];_0x5af5d6&&_0x5af5d6[_0x347d80(0x200)]&&(_0x2eb165=_0x2eb165[_0x347d80(0x1aa)](_0xfb8696=>_0x347d80(0x249)!==_0xfb8696)),this[_0x347d80(0x18b)][_0x347d80(0x20a)][_0x347d80(0x246)](_0x347d80(0x220))[_0x347d80(0x1a2)](_0x2eb165,this[_0x347d80(0x259)]);}}),_0x3464f3[_0x366966(0x271)](this[_0x366966(0x259)],_0x4bb575);}[_0x5cd73b(0x231)](){const _0x171ec5=_0x5cd73b,_0x2e7f60=this[_0x171ec5(0x18b)][_0x171ec5(0x258)][_0x171ec5(0x1b0)];this[_0x171ec5(0x18b)][_0x171ec5(0x258)][_0x171ec5(0x1b0)]=(..._0x11ae8d)=>{const _0x3baa00=_0x171ec5;if(!_0x11ae8d[_0x11ae8d[_0x3baa00(0x18f)]-0x1][_0x3baa00(0x25b)])throw new _0x3e9944(_0x3baa00(0x193),this);_0x2e7f60[_0x3baa00(0x198)](this[_0x3baa00(0x18b)][_0x3baa00(0x258)],_0x11ae8d);};}[_0x5cd73b(0x1f0)](){const _0x491e06=_0x5cd73b;this[_0x491e06(0x18b)][_0x491e06(0x258)]['on'](_0x491e06(0x26d),(_0x2f747c,[_0x516894])=>{const _0x58a805=_0x491e06;if(this[_0x58a805(0x1c4)][_0x58a805(0x284)])throw new _0x3e9944(_0x58a805(0x27a),this);_0x2f747c[_0x58a805(0x203)](),this[_0x58a805(0x1cb)]();const _0x2569ed=this[_0x58a805(0x18b)][_0x58a805(0x260)][_0x58a805(0x246)](_0x58a805(0x211)),_0x3b26cd=this[_0x58a805(0x266)](_0x516894,_0x2569ed);0x0==_0x3b26cd[_0x58a805(0x18f)]&&_0x3b26cd[_0x58a805(0x262)](new _0x3aa3c7(0x0)),_0x2f747c[_0x58a805(0x1bd)]=this[_0x58a805(0x21c)](_0x3b26cd)[_0x58a805(0x1ac)](()=>{const _0x58d8db=_0x58a805;this[_0x58d8db(0x18b)][_0x58d8db(0x20a)][_0x58d8db(0x246)](_0x336b59)[_0x58d8db(0x1ef)](this),this[_0x58d8db(0x18b)][_0x58d8db(0x258)][_0x58d8db(0x1b2)](_0x58d8db(0x1e7));})[_0x58a805(0x1e5)](_0x1a929c=>this[_0x58a805(0x1e8)](_0x58a805(0x25c),_0x1a929c))[_0x58a805(0x278)](()=>this[_0x58a805(0x1be)]());},{'priority':_0x491e06(0x1a1)}),this[_0x491e06(0x18b)]['on'](_0x491e06(0x1c9),async(_0x5efd5c,[_0x94618c,_0x3328f8])=>{const _0x197e03=_0x491e06;_0x5efd5c[_0x197e03(0x203)]();const _0x5495a2=this[_0x197e03(0x18b)][_0x197e03(0x245)][_0x197e03(0x23c)][_0x197e03(0x1d8)](_0x94618c);if(!this[_0x197e03(0x19d)][_0x197e03(0x1b5)](_0x94618c)){const _0x273532=_0x3328f8&&_0x3328f8[_0x197e03(0x258)]?_0x3328f8[_0x197e03(0x258)]:'',_0x256197=_0x3328f8&&_0x3328f8[_0x197e03(0x1c1)]?_0x3328f8[_0x197e03(0x1c1)]:{};await this[_0x197e03(0x212)](_0x94618c,_0x273532,_0x256197);}this[_0x197e03(0x18b)][_0x197e03(0x245)][_0x197e03(0x180)]({'isUndoable':!0x1},()=>{const _0x3bcf1a=_0x197e03;_0x5495a2[_0x3bcf1a(0x22d)]=!0x0,this[_0x3bcf1a(0x18b)][_0x3bcf1a(0x245)][_0x3bcf1a(0x23c)][_0x3bcf1a(0x206)][_0x3bcf1a(0x18c)](_0x5495a2);});},{'priority':_0x491e06(0x1a1)});}async[_0x5cd73b(0x1eb)](_0x46a6c0){const _0xe17ff6=_0x5cd73b,_0xd4ba01=this[_0xe17ff6(0x18b)][_0xe17ff6(0x20a)][_0xe17ff6(0x246)](_0x48651d),{connection:_0x5924c2}=this[_0xe17ff6(0x18b)][_0xe17ff6(0x20a)][_0xe17ff6(0x246)](_0x336b59),_0x3dffd0=new Set();for(const _0x588b79 of _0x46a6c0){const _0x252ace=_0x588b79[_0xe17ff6(0x1f6)];_0x252ace&&!_0xd4ba01[_0xe17ff6(0x1d3)](_0x252ace)&&_0x3dffd0[_0xe17ff6(0x24b)](_0x252ace);}if(0x0===_0x3dffd0[_0xe17ff6(0x1fa)])return;const _0x13065b=await _0x3ebf8e[_0xe17ff6(0x1ca)](_0x5924c2,Array[_0xe17ff6(0x1f3)](_0x3dffd0));for(const _0x1623c9 of _0x13065b)_0xd4ba01[_0xe17ff6(0x1d3)](_0x1623c9['id'])||_0xd4ba01[_0xe17ff6(0x1fd)](_0x1623c9);}[_0x5cd73b(0x266)](_0x246ad3,_0x4c8b87={}){const _0x51fcb3=_0x5cd73b,_0x17e232=this[_0x51fcb3(0x18b)][_0x51fcb3(0x245)],_0x3567e0=[];let _0x1cd819=0x0;const _0x1b7e84=_0x51fcb3(0x1f5)==typeof _0x246ad3?{'main':_0x246ad3}:_0x246ad3;for(const _0x2862c1 of Object[_0x51fcb3(0x26a)](_0x1b7e84)){if(!this[_0x51fcb3(0x1c4)][_0x51fcb3(0x265)][_0x51fcb3(0x1b5)](_0x2862c1))throw new _0x3e9944(_0x51fcb3(0x1bb),this);const _0x49260c=this[_0x51fcb3(0x18b)][_0x51fcb3(0x258)][_0x51fcb3(0x182)](_0x1b7e84[_0x2862c1]),_0x44837a=this[_0x51fcb3(0x1c4)][_0x51fcb3(0x1d8)](_0x2862c1),_0x2e5832=new _0x56013b(_0x17e232[_0x51fcb3(0x240)](_0x44837a,0x0),_0x49260c,_0x1cd819++);_0x3567e0[_0x51fcb3(0x262)](_0x2e5832);for(const [_0x4a1211,_0x379a90]of _0x49260c[_0x51fcb3(0x1a8)]){const _0x46c725=_0x17e232[_0x51fcb3(0x24a)](_0x17e232[_0x51fcb3(0x1e1)](_0x44837a,_0x379a90[_0x51fcb3(0x1d4)][_0x51fcb3(0x275)][_0x51fcb3(0x1a7)]()),_0x17e232[_0x51fcb3(0x1e1)](_0x44837a,_0x379a90[_0x51fcb3(0x20b)][_0x51fcb3(0x275)][_0x51fcb3(0x1a7)]())),_0x2885c3=new _0x1d0074(_0x4a1211,null,_0x46c725,_0x17e232[_0x51fcb3(0x1a8)],!0x0,_0x1cd819++);_0x3567e0[_0x51fcb3(0x262)](_0x2885c3);}}if(_0x4c8b87)for(const [_0x19d62b,_0x6782f8]of Object[_0x51fcb3(0x235)](_0x4c8b87)){const _0x1ddb9e=_0x17e232[_0x51fcb3(0x23c)][_0x51fcb3(0x1d8)](_0x19d62b);if(!_0x1ddb9e)throw new _0x3e9944(_0x51fcb3(0x273),null);for(const [_0x496d21,_0x764c5c]of Object[_0x51fcb3(0x235)](_0x6782f8))if(null!==_0x764c5c){const _0x4837f5=new _0xd7b21(_0x1ddb9e,_0x496d21,null,_0x764c5c,_0x1cd819++);_0x3567e0[_0x51fcb3(0x262)](_0x4837f5);}}return _0x3567e0;}async[_0x5cd73b(0x212)](_0x250564,_0x3195bd,_0x9d1a06){const _0x1563da=_0x5cd73b;this[_0x1563da(0x266)]({[_0x250564]:_0x3195bd},{[_0x250564]:_0x9d1a06})[_0x1563da(0x1f1)]((_0x5d6808,_0x33836b)=>{const _0x11dcb9=_0x1563da;_0x5d6808[_0x11dcb9(0x1c7)]=this[_0x11dcb9(0x1c4)][_0x11dcb9(0x284)]+_0x33836b,_0x5d6808[_0x11dcb9(0x21a)]=!0x0,this[_0x11dcb9(0x22b)](_0x5d6808);}),this[_0x1563da(0x281)](),await this[_0x1563da(0x185)]();}async[_0x5cd73b(0x1cd)](_0x54a3e9,_0x16024a){const _0x23bb57=_0x5cd73b;let _0x6f6b04;this[_0x23bb57(0x207)]=_0x54a3e9[_0x23bb57(0x18d)];const _0x182b4c=_0x54a3e9[_0x23bb57(0x187)]&&!_0x54a3e9[_0x23bb57(0x1dc)],_0x2ce4a8=_0x182b4c?0x0:_0x54a3e9[_0x23bb57(0x258)][_0x23bb57(0x1c7)];if(_0x16024a[_0x23bb57(0x1f1)](_0x4fa661=>{const _0x889268=_0x23bb57;_0x4fa661[_0x889268(0x21a)]=!0x0,_0x4fa661[_0x889268(0x1ee)]=_0x54a3e9[_0x889268(0x19e)],_0x4fa661[_0x889268(0x1f6)]=null;}),_0x182b4c)_0x6f6b04=_0x16024a,this[_0x23bb57(0x21e)](_0x6f6b04,_0x182b4c);else{if(_0x54a3e9[_0x23bb57(0x1dc)]){const _0x52885d=this[_0x23bb57(0x266)](_0x54a3e9[_0x23bb57(0x1dc)]);this[_0x23bb57(0x1c4)][_0x23bb57(0x1ec)][_0x23bb57(0x284)]=-_0x52885d[_0x23bb57(0x18f)],_0x52885d[_0x23bb57(0x1f1)](_0xb0635a=>{const _0xd2313b=_0x23bb57;_0xb0635a[_0xd2313b(0x1c7)]-=_0x52885d[_0xd2313b(0x18f)],_0xb0635a[_0xd2313b(0x1ee)]=_0x54a3e9[_0xd2313b(0x19e)],_0xb0635a[_0xd2313b(0x21a)]=!0x0,_0xb0635a[_0xd2313b(0x1f6)]=null;}),this[_0x23bb57(0x21e)](_0x52885d,!0x0),this[_0x23bb57(0x23f)][_0x23bb57(0x284)]=-_0x52885d[_0x23bb57(0x18f)]+this[_0x23bb57(0x207)],this[_0x23bb57(0x1a3)](_0x52885d);}this[_0x23bb57(0x1c4)][_0x23bb57(0x1ec)][_0x23bb57(0x284)]=_0x2ce4a8,_0x6f6b04=this[_0x23bb57(0x184)](_0x54a3e9[_0x23bb57(0x258)],_0x54a3e9[_0x23bb57(0x218)]),await this[_0x23bb57(0x1eb)](_0x6f6b04),this[_0x23bb57(0x21e)](_0x6f6b04,_0x182b4c);}_0x54a3e9[_0x23bb57(0x1dd)]&&(this[_0x23bb57(0x1ea)][_0x23bb57(0x241)](_0x6f6b04,_0x54a3e9[_0x23bb57(0x1dd)]),this[_0x23bb57(0x228)]=_0x54a3e9[_0x23bb57(0x1dd)]),this[_0x23bb57(0x23f)][_0x23bb57(0x284)]=_0x2ce4a8+this[_0x23bb57(0x207)],this[_0x23bb57(0x1a3)](_0x6f6b04),_0x16024a[_0x23bb57(0x1aa)](_0x1462cd=>{const _0xa9d593=_0x23bb57,_0x2c1e5b=this[_0xa9d593(0x1b4)](_0x1462cd);return _0x2c1e5b&&!this[_0xa9d593(0x19d)][_0xa9d593(0x1b5)](_0x2c1e5b);})[_0x23bb57(0x1f1)]((_0x96b762,_0x32e45f)=>{const _0x4b2fa5=_0x23bb57;_0x96b762[_0x4b2fa5(0x1c7)]=this[_0x4b2fa5(0x1c4)][_0x4b2fa5(0x284)]+_0x32e45f,this[_0x4b2fa5(0x22b)](_0x96b762);}),this[_0x23bb57(0x1a4)]()?(this[_0x23bb57(0x279)]=0x0,this[_0x23bb57(0x281)](!0x0),await this[_0x23bb57(0x185)]()):(this[_0x23bb57(0x239)]=!0x1,this[_0x23bb57(0x1be)]());}[_0x5cd73b(0x1e8)](_0x1fce44,_0x14e432){const _0x597b60=_0x5cd73b,_0x3d077c=_0x14e432&&_0x14e432[_0x597b60(0x21f)];if(_0x3d077c&&_0x3d077c[_0x597b60(0x1a9)](_0x597b60(0x1ff)))throw _0x14e432;const _0x3820a6=this[_0x597b60(0x18b)][_0x597b60(0x20a)][_0x597b60(0x246)](_0x336b59);throw this[_0x597b60(0x239)]=!0x0,_0x3820a6[_0x597b60(0x1d0)](),this[_0x597b60(0x18b)][_0x597b60(0x1d2)](_0x597b60(0x23a)),new _0x3e9944(_0x1fce44,this[_0x597b60(0x18b)],_0x3d077c?{'originalError':_0x3d077c}:void 0x0);}[_0x5cd73b(0x22b)](_0x394303){const _0x1e9e38=_0x5cd73b;this[_0x1e9e38(0x243)][_0x1e9e38(0x1b5)](_0x394303)||(this[_0x1e9e38(0x243)][_0x1e9e38(0x24b)](_0x394303),this[_0x1e9e38(0x24d)][_0x1e9e38(0x262)](_0x394303),this[_0x1e9e38(0x190)]||_0x1e9e38(0x1b7)==_0x394303[_0x1e9e38(0x1f9)]&&!_0x394303[_0x1e9e38(0x186)]||this[_0x1e9e38(0x1cb)]());}[_0x5cd73b(0x281)](_0xa1cd39=!0x1){const _0x1994d8=_0x5cd73b;!_0xa1cd39&&this[_0x1994d8(0x239)]||(this[_0x1994d8(0x239)]=!0x0,clearTimeout(this[_0x1994d8(0x283)]),this[_0x1994d8(0x283)]=setTimeout(()=>{const _0x270406=_0x1994d8;this[_0x270406(0x1e2)]()[_0x270406(0x1ac)](_0x13c3ac=>{const _0x36106a=_0x270406;_0x13c3ac&&(this[_0x36106a(0x1be)](),this[_0x36106a(0x239)]=!0x1);})[_0x270406(0x1e5)](_0x3f48e5=>{const _0x9f6c9c=_0x270406;this[_0x9f6c9c(0x1be)](),this[_0x9f6c9c(0x239)]=!0x1,function(_0xde2333){const _0x441ddc=_0x9f6c9c;return _0xde2333[_0x441ddc(0x21f)][_0x441ddc(0x1a9)](_0x441ddc(0x236))||_0xde2333[_0x441ddc(0x21f)][_0x441ddc(0x1a9)](_0x441ddc(0x20e))||_0xde2333[_0x441ddc(0x21f)][_0x441ddc(0x1a9)](_0x441ddc(0x1ce));}(_0x3f48e5)||this[_0x9f6c9c(0x1e8)](_0x3f48e5[_0x9f6c9c(0x21f)],_0x3f48e5);});},this[_0x1994d8(0x279)]));}[_0x5cd73b(0x185)](){return new Promise(_0x2a9505=>{const _0x301da4=_0x4311;this['on'](_0x301da4(0x1e4),()=>{_0x2a9505();});});}async[_0x5cd73b(0x1e2)](){const _0x20fac3=_0x5cd73b,_0x3c443f=this[_0x20fac3(0x18b)][_0x20fac3(0x20a)][_0x20fac3(0x246)](_0x2b867e);if(this[_0x20fac3(0x20f)]()&&(_0x3c443f[_0x20fac3(0x25d)](),this[_0x20fac3(0x1b1)]=!0x1),!this[_0x20fac3(0x1a4)]())return!0x0;const _0x36178c=[...this[_0x20fac3(0x24d)]];for(const _0x25978b of _0x36178c)_0x25978b[_0x20fac3(0x219)]=this[_0x20fac3(0x1c4)][_0x20fac3(0x1ec)][_0x20fac3(0x25e)](_0x25978b);const _0x308d99=this[_0x20fac3(0x1ea)][_0x20fac3(0x195)](_0x36178c),_0x3712c7=K++,_0xffdd75=this[_0x20fac3(0x1a6)](_0x36178c),_0x5a3739=await this[_0x20fac3(0x208)][_0x20fac3(0x277)](_0xffdd75,_0xffdd75[_0x20fac3(0x1c7)],_0x308d99);try{return await this[_0x20fac3(0x19c)](_0x36178c,_0x5a3739,_0x3712c7);}catch(_0x1624ff){return this[_0x20fac3(0x1e8)](_0x20fac3(0x20d),_0x1624ff);}}async[_0x5cd73b(0x19c)](_0x8f7f39,_0x511606,_0xbe458b){const _0x59e70e=_0x5cd73b;if(_0x59e70e(0x18e)in _0x511606)throw _0x511606[_0x59e70e(0x18e)];let _0x3e4b2c=!0x1;if(_0x511606[_0x59e70e(0x187)]){_0x511606[_0x59e70e(0x1dd)]&&(this[_0x59e70e(0x228)]=_0x511606[_0x59e70e(0x1dd)]),this[_0x59e70e(0x24d)]=this[_0x59e70e(0x24d)][_0x59e70e(0x1aa)](_0x2f4dc8=>!_0x8f7f39[_0x59e70e(0x282)](_0x2f4dc8));for(const _0xacc666 of _0x8f7f39)_0xacc666[_0x59e70e(0x1ee)]=_0x59e70e(0x22c)in _0x511606&&_0x511606[_0x59e70e(0x22c)]||void 0x0;Q(_0x8f7f39,_0x511606[_0x59e70e(0x284)]-_0x8f7f39[_0x59e70e(0x18f)]),this[_0x59e70e(0x1a3)](_0x8f7f39);const _0x205bab=_0x8f7f39[_0x59e70e(0x1aa)](_0x6dbdb8=>{const _0x4bdce6=_0x59e70e;if(!_0x6dbdb8[_0x4bdce6(0x21a)])return!0x1;const _0x118be3=this[_0x4bdce6(0x1b4)](_0x6dbdb8);return _0x118be3&&!this[_0x4bdce6(0x19d)][_0x4bdce6(0x1b5)](_0x118be3);});Q(_0x205bab,this[_0x59e70e(0x1c4)][_0x59e70e(0x284)]),this[_0x59e70e(0x21e)](_0x205bab),_0x3e4b2c=!0x0,this[_0x59e70e(0x279)]=this[_0x59e70e(0x226)];}else{const _0x528239=this[_0x59e70e(0x184)](_0x511606[_0x59e70e(0x258)],_0x511606[_0x59e70e(0x218)])[_0x59e70e(0x1aa)](_0x3b52ed=>_0x3b52ed[_0x59e70e(0x1c7)]>=this[_0x59e70e(0x1fc)]);_0x528239[_0x59e70e(0x1f1)](_0x1a63ba=>this[_0x59e70e(0x230)](_0x1a63ba)),this[_0x59e70e(0x24d)]=this[_0x59e70e(0x24d)][_0x59e70e(0x1aa)](_0x4507d0=>!_0x4507d0[_0x59e70e(0x21a)]||!this[_0x59e70e(0x19d)][_0x59e70e(0x1b5)](this[_0x59e70e(0x1b4)](_0x4507d0))),this[_0x59e70e(0x24d)][_0x59e70e(0x18f)]&&Q(this[_0x59e70e(0x24d)],this[_0x59e70e(0x24d)][0x0][_0x59e70e(0x1c7)]),await this[_0x59e70e(0x1eb)](_0x528239),_0x3e4b2c=this[_0x59e70e(0x234)](_0x528239,_0x511606[_0x59e70e(0x284)],_0x511606[_0x59e70e(0x1dd)]),this[_0x59e70e(0x279)]=Math[_0x59e70e(0x213)](this[_0x59e70e(0x279)]/0x2);}return _0x3e4b2c?!this[_0x59e70e(0x1a4)]()||(this[_0x59e70e(0x281)](!0x0),!0x1):this[_0x59e70e(0x1e8)](_0x59e70e(0x22a));}[_0x5cd73b(0x234)](_0x31db92,_0x245aab,_0x3b1628){const _0x3e2cab=_0x5cd73b;try{const _0xfa6c37={'document':this[_0x3e2cab(0x1c4)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x22c17f,operationsB:_0x352363,originalOperations:_0x1ff79a}=_0x28e587(_0x31db92,this[_0x3e2cab(0x24d)],_0xfa6c37);Q(_0x22c17f,this[_0x3e2cab(0x1c4)][_0x3e2cab(0x284)]),Q(_0x352363,_0x245aab);for(const _0x53437f of _0x22c17f){const _0x1e01d6=_0x1ff79a[_0x3e2cab(0x246)](_0x53437f);_0x53437f[_0x3e2cab(0x1f6)]=_0x1e01d6?_0x1e01d6[_0x3e2cab(0x1f6)]:null;}_0x3b1628&&(this[_0x3e2cab(0x1ea)][_0x3e2cab(0x241)](_0x31db92,_0x3b1628),this[_0x3e2cab(0x228)]=_0x3b1628),this[_0x3e2cab(0x24d)]=[..._0x352363],this[_0x3e2cab(0x21e)](_0x22c17f),this[_0x3e2cab(0x1a3)](_0x31db92);}catch(_0x4d176a){return console[_0x3e2cab(0x18e)](_0x4d176a),!0x1;}return!0x0;}[_0x5cd73b(0x21e)](_0x1e69a1,_0x8ffe27=!0x1){const _0x311b95=_0x5cd73b;this[_0x311b95(0x18b)][_0x311b95(0x245)][_0x311b95(0x180)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3f271d=>{const _0xc51e8a=_0x311b95;for(const _0x343221 of _0x1e69a1)this[_0xc51e8a(0x243)][_0xc51e8a(0x24b)](_0x343221),this[_0xc51e8a(0x230)](_0x343221),_0x3f271d[_0xc51e8a(0x232)][_0xc51e8a(0x27c)](_0x343221),this[_0xc51e8a(0x18b)][_0xc51e8a(0x245)][_0xc51e8a(0x192)](_0x343221);});}[_0x5cd73b(0x230)](_0x56e6b6){const _0x2df552=_0x5cd73b,_0x167259=this[_0x2df552(0x1b4)](_0x56e6b6);_0x167259&&this[_0x2df552(0x19d)][_0x2df552(0x24b)](_0x167259);}[_0x5cd73b(0x1b4)](_0x32c464){const _0x44cf2f=_0x5cd73b;let _0x54854d,_0x374eff;switch(_0x32c464[_0x44cf2f(0x1f9)]){case _0x44cf2f(0x23e):_0x54854d=_0x32c464[_0x44cf2f(0x1c5)][_0x44cf2f(0x191)];break;case _0x44cf2f(0x1b7):if(_0x374eff=_0x32c464[_0x44cf2f(0x196)],!_0x374eff)return null;_0x54854d=_0x374eff[_0x44cf2f(0x191)];break;case _0x44cf2f(0x225):_0x54854d=_0x32c464[_0x44cf2f(0x191)];break;case _0x44cf2f(0x1c0):_0x54854d=_0x32c464[_0x44cf2f(0x23b)];break;case _0x44cf2f(0x1f2):_0x54854d=_0x32c464[_0x44cf2f(0x24c)][_0x44cf2f(0x191)];break;default:return null;}return _0x54854d[_0x44cf2f(0x270)];}[_0x5cd73b(0x1a3)](_0x926680){const _0x588b16=_0x5cd73b;_0x926680[_0x588b16(0x1f1)](_0x12fc22=>{const _0x2282cc=_0x588b16,_0x336778=_0x12fc22[_0x2282cc(0x255)]();_0x336778[_0x2282cc(0x1f6)]=_0x12fc22[_0x2282cc(0x1f6)],_0x336778[_0x2282cc(0x21a)]=!!_0x12fc22[_0x2282cc(0x21a)],_0x336778[_0x2282cc(0x1ee)]=_0x12fc22[_0x2282cc(0x1ee)],_0x336778[_0x2282cc(0x1c7)]+=this[_0x2282cc(0x207)],_0x12fc22[_0x2282cc(0x280)]&&this[_0x2282cc(0x181)][_0x2282cc(0x24b)](_0x336778),this[_0x2282cc(0x23f)][_0x2282cc(0x27c)](_0x336778);});}[_0x5cd73b(0x1fb)](_0x53ed15){const _0x36c311=_0x5cd73b,_0x5cd9c2=this[_0x36c311(0x18b)][_0x36c311(0x20a)][_0x36c311(0x246)](_0x36c311(0x24f)),_0x45d1=this[_0x36c311(0x18b)][_0x36c311(0x251)];_0x53ed15||(_0x53ed15=_0x3b586f(_0x45d1,_0x36c311(0x268))),_0x5cd9c2[_0x36c311(0x256)](_0x53ed15,{'title':_0x3b586f(_0x45d1,_0x36c311(0x223)),'namespace':_0x36c311(0x276)}),this[_0x36c311(0x1f7)]=!0x0,clearTimeout(this[_0x36c311(0x283)]),this[_0x36c311(0x24d)]=[],this[_0x36c311(0x18b)][_0x36c311(0x20a)][_0x36c311(0x246)](_0x336b59)[_0x36c311(0x1d0)]();}[_0x5cd73b(0x1cb)](){const _0x3cc1c2=_0x5cd73b;this[_0x3cc1c2(0x190)]||(this[_0x3cc1c2(0x190)]=this[_0x3cc1c2(0x18b)][_0x3cc1c2(0x20a)][_0x3cc1c2(0x246)](_0x44cbb6)[_0x3cc1c2(0x24b)](_0x3b586f(this[_0x3cc1c2(0x18b)][_0x3cc1c2(0x251)],_0x3cc1c2(0x1ad))));}[_0x5cd73b(0x1be)](){const _0x50b450=_0x5cd73b;this[_0x50b450(0x190)]&&(this[_0x50b450(0x18b)][_0x50b450(0x20a)][_0x50b450(0x246)](_0x44cbb6)[_0x50b450(0x216)](this[_0x50b450(0x190)]),this[_0x50b450(0x190)]=null);}[_0x5cd73b(0x1a6)](_0x1974ab){const _0x2a1d4e=_0x5cd73b,_0x8e6415=_0x1974ab[_0x2a1d4e(0x1ae)](_0x4a8783=>_0x4a8783[_0x2a1d4e(0x1b8)]());return this[_0x2a1d4e(0x261)][_0x2a1d4e(0x217)](_0x8e6415);}[_0x5cd73b(0x184)](_0x1a60f1,_0x53aa52){const _0x3002d7=_0x5cd73b;return this[_0x3002d7(0x261)][_0x3002d7(0x237)](_0x1a60f1)[_0x3002d7(0x1ae)]((_0x43b92c,_0xb6eb5c)=>{const _0x56eb74=_0x3002d7,_0x1a61a2=_0x56eb74(0x26d)==_0x53aa52[_0xb6eb5c][_0x56eb74(0x1f9)];if(_0x56eb74(0x1c6)==_0x43b92c[_0x56eb74(0x201)]){const _0x1cecc0=_0x43b92c[_0x56eb74(0x1c5)][_0x56eb74(0x191)];!this[_0x56eb74(0x1c4)][_0x56eb74(0x1d8)](_0x1cecc0)&&(this[_0x56eb74(0x1c4)][_0x56eb74(0x257)](_0x56eb74(0x21d),_0x1cecc0)[_0x56eb74(0x1b3)]=!0x1);}const _0x35408e=_0x1cfbed[_0x56eb74(0x199)](_0x43b92c,this[_0x56eb74(0x1c4)]);return _0x35408e[_0x56eb74(0x219)]=_0x43b92c[_0x56eb74(0x219)],_0x35408e[_0x56eb74(0x21a)]=_0x1a61a2,_0x35408e[_0x56eb74(0x1f6)]=_0x1a61a2?null:_0x53aa52[_0xb6eb5c][_0x56eb74(0x1f4)],_0x35408e[_0x56eb74(0x280)]=_0x56eb74(0x1db)===_0x53aa52[_0xb6eb5c][_0x56eb74(0x1f9)],_0x35408e[_0x56eb74(0x1ee)]=_0x53aa52[_0xb6eb5c][_0x56eb74(0x1ee)],_0x35408e;});}[_0x5cd73b(0x1da)](){const _0x339b78=_0x5cd73b;this[_0x339b78(0x1b1)]=!0x0,this[_0x339b78(0x20f)]()?this[_0x339b78(0x281)]():this[_0x339b78(0x1b1)]=!0x1;}[_0x5cd73b(0x20f)](){const _0x47e492=_0x5cd73b,_0x403446=this[_0x47e492(0x18b)][_0x47e492(0x20a)][_0x47e492(0x246)](_0x3ce857)[_0x47e492(0x20c)][_0x47e492(0x246)](this[_0x47e492(0x259)]);return!this[_0x47e492(0x18b)][_0x47e492(0x1a0)]&&!!_0x403446&&_0x403446[_0x47e492(0x18f)]>0x1&&this[_0x47e492(0x1b1)];}[_0x5cd73b(0x1a4)](){const _0xa71c0=_0x5cd73b;return this[_0xa71c0(0x24d)][_0xa71c0(0x18f)]>0x0||this[_0xa71c0(0x20f)]();}}l[_0x5cd73b(0x1e9)]=_0x2be7a4;export default l;class J extends Error{}function Q(_0x5efc35,_0x30ccdc){const _0x129748=_0x5cd73b;for(const _0x92e28f of _0x5efc35)_0x92e28f[_0x129748(0x1c7)]=_0x30ccdc++;}class X{constructor(_0x3749e4){const _0x7be000=_0x5cd73b;this[_0x7be000(0x224)]=_0x3749e4,this[_0x7be000(0x21b)]=new WeakMap();}[_0x5cd73b(0x195)](_0x515abd){const _0x2ca431=_0x5cd73b;let _0x507380=_0x515abd[_0x2ca431(0x18f)];for(;_0x507380--;){const _0x5cd401=_0x515abd[_0x507380];if(!this[_0x2ca431(0x224)][_0x2ca431(0x1b5)](_0x5cd401)){if(!this[_0x2ca431(0x21b)][_0x2ca431(0x1b5)](_0x5cd401)){const _0x18e6ce=_0x3d74f7()[_0x2ca431(0x1a7)](0x1,0x12);this[_0x2ca431(0x21b)][_0x2ca431(0x1b0)](_0x5cd401,_0x18e6ce);}return this[_0x2ca431(0x21b)][_0x2ca431(0x246)](_0x5cd401);}}}[_0x5cd73b(0x241)](_0x5caeb4,_0x3added){const _0x263375=_0x5cd73b;if(!_0x3added)return;let _0x43d75f=_0x5caeb4[_0x263375(0x18f)];for(;_0x43d75f--;){const _0x3a163b=_0x5caeb4[_0x43d75f];this[_0x263375(0x224)][_0x263375(0x1b5)](_0x3a163b)||this[_0x263375(0x21b)][_0x263375(0x1b0)](_0x3a163b,_0x3added);}}}
|
|
23
|
+
const _0x525771=_0x4def;(function(_0x3f9a8b,_0x4adbff){const _0x926105=_0x4def,_0x3ed0b1=_0x3f9a8b();while(!![]){try{const _0x51fe9d=parseInt(_0x926105(0x202))/0x1*(parseInt(_0x926105(0x2be))/0x2)+parseInt(_0x926105(0x25b))/0x3*(parseInt(_0x926105(0x27f))/0x4)+parseInt(_0x926105(0x23a))/0x5+-parseInt(_0x926105(0x1dd))/0x6*(parseInt(_0x926105(0x290))/0x7)+parseInt(_0x926105(0x2af))/0x8*(parseInt(_0x926105(0x228))/0x9)+parseInt(_0x926105(0x2cc))/0xa+-parseInt(_0x926105(0x230))/0xb;if(_0x51fe9d===_0x4adbff)break;else _0x3ed0b1['push'](_0x3ed0b1['shift']());}catch(_0x27666b){_0x3ed0b1['push'](_0x3ed0b1['shift']());}}}(_0x583b,0x8739e));import{Plugin as _0x39bd16,PendingActions as _0x4ab22b}from'ckeditor5/src/core.js';import{CKEditorError as _0x2088af,version as _0x42e265,uid as _0x342575}from'ckeditor5/src/utils.js';import{Notification as _0x1a0593}from'ckeditor5/src/ui.js';import{transformSets as _0x5e3e54,NoOperation as _0x4695a0,InsertOperation as _0x4d91d1,MarkerOperation as _0x40caa8,RootAttributeOperation as _0xa21ed5,OperationFactory as _0x56a523,History as _0x35c543}from'ckeditor5/src/engine.js';import _0x6229f3 from'./websocketgateway.js';import _0x10439a from'./sessions.js';function _0x583b(){const _0x2d66fd=['_compressor','Notification','_getAffectedRoot','404','plugins','history','isReadOnly','getOperations','_clearPendingAction','_channelId','applyOperation','disconnected','type','model','error','view','connection','_service','_knownOperations','disconnect','30pPCEGf','_sendBufferedOperations','realtimecollaborationclient-init-document-already-initialized','suppressErrorInCollaboration','cloudServices.bundleVersion','_knownRootNames','_connectService','set','_offset','setPermissions','forEach','path','isEnabled','createRange','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.','targetPosition','channelSessions','_disconnectService','_waitUntilSynced','addRootAttribute','reconnect','realtimecollaborationclient-init-service-internal-error','__className','_isPendingUpdate','loadRoot','clone','isPremiumPlugin','rootName','_handleReconnectionError','CollaborativeEditingService','collaboration.channelId','_operationIdentifier','define','_crash','realtimecollaborationclient-init-connection-failed','lastDocumentSession','stop','1jDLuXO','isOfficialPlugin','getIdOfTheLastOperation','requires','collaboration','realtimecollaborationclient-handleserverresponse','getUser','get','setIdForTheLastOperation','offset','ready','multi-root-editor-root-attributes-no-root','createPositionAt','_addKnownRoot','_handleInitialConnectionData','enqueueChange','add','getOperationAuthor','_saveOperationInBuffer','sendOperations','differ','then','currentDocumentSession','CommentsOnly','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_bufferedOperations','push','409','getRoot','isDocumentOperation','reset','permissions','_getOperationsFromInitData','createdAt','_initSessionsHandling','$root','_applyOperationsSet','attributes','9nikNOQ','createUserMarkerOperations','string','_baseBufferDelay','editing','realtimecollaborationclient-init-session-connection-error','real-time-collaboration','rtc-destroyed','21607531lLvhFK','_sendBufferedOperationsDelayId','version','wereChangesApplied','filter','change:range','baseVersion','lastSyncVersion','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.','_setUpDataInit','2834295QpFbQT','_document','initData','fire','compress','addOperation','move','createRoot','_operationToId','register','sessionAdd:','enableReadOnlyMode','_handleServerResponse','_pendingAction','addUser','_loadRoot','userId','message','removeFromReconnectionStack','cs:removeUser','catch','bind','addRoot','_connectAfterSessionHasBeenFlushed','createPositionFromPath','_handleExternalOperations','_handleReconnectionResponse','realtimecollaborationclient-error','includes','batch','_isInit','_updateServerHistory','serverHistory','221226HeDpHD','_fetchMissingUsers','_compressOperations','config','map','_isAttached','realtimecollaborationclient-init-service-incorrect-server-operation','change:hasDomSelection','size','state','_shouldSendUpdate','selection','connected','_isConnected','high','connect','_refreshUserSelectionMarkers','_authorId','keys','affectedSelectable','rtc-offline','Synchronization\x20issue','remove','destroy','data','rootsAttributes','newRange','_handleReceivedOperations','position','startsWith','sessionCreatedAt','lastOperationAcceptedAt','roots','cloudDocumentVersion','metadata','realtimecollaborationclient-init-non-existent-root','28AyUWgl','apply','decompress','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_hasSelectionChanged','_initThrowingOnDataSet','RealTimeCollaborationClient','Permissions','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','PENDING_ACTION_SENDING_DATA','insert','isUndoneOperation','_isLoaded','finally','disableReadOnlyMode','getConnectedSessions','document:write','566839jqkntJ','change:_isPendingUpdate','_lastServerVersion','_lastSyncedOperationId','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','reconnection:\x20flushed\x20session','_sendBufferedOperationsDelayed','fromJSON','round','listenTo','toJSON','_bufferRootLoad','off','realtimecollaborationclient','cloud-services-internal-error:\x20Request\x20timeout.','sessionId','root','pluginName','_shouldSendSelectionUpdate','editor','mySessionId','_hasSynchronizationProblem','getDocumentDetails','_isEditingAllowed','return','cloud-services-internal-error:\x20Not\x20connected.','_isDisconnection','realtimecollaborationclient-sendbufferedoperations','start','change:_isEditingAllowed','_disconnectionOperations','1227112CIQVab','_currentBufferDelay','init','markers','_handleSendingSelectionMarkers','showWarning','lastOperationId','_setPendingAction','length','collaboration-missing-channelid','affectsData','locale','directChange','parse','has','1741612MiyWbL','getMany','from','unregister','operationsReceived','stopListening','end','wasUndone','code','marker','InsertOperation','document','addToReconnectionStack','entries','8158440idcFMx','_ignoredOperations','_decompressOperations','slice'];_0x583b=function(){return _0x2d66fd;};return _0x583b();}import _0x3a573b from'./usermarkers.js';import{getTranslation as _0x1170e2}from'../common-translations.js';import{Compressor as _0x2df2c4}from'@ckeditor/ckeditor5-operations-compressor';function _0x4def(_0xd350dd,_0x3662ab){const _0x583b56=_0x583b();return _0x4def=function(_0x4def94,_0x71f8df){_0x4def94=_0x4def94-0x1c9;let _0x5a8477=_0x583b56[_0x4def94];return _0x5a8477;},_0x4def(_0xd350dd,_0x3662ab);}import{Users as _0x4787ee}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x277403,CollaborativeEditingService as _0x2ee6c0}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x39bd16{static get[_0x525771(0x205)](){return[_0x6229f3,_0x10439a,_0x3a573b,_0x4ab22b,_0x4787ee,_0x1a0593];}static get[_0x525771(0x2a1)](){const _0x952674=_0x525771;return _0x952674(0x285);}static get[_0x525771(0x203)](){return!0x0;}static get[_0x525771(0x1f7)](){return!0x0;}get[_0x525771(0x27c)](){const _0x8894dc=_0x525771;return this[_0x8894dc(0x292)]+this[_0x8894dc(0x1e5)];}get[_0x525771(0x292)](){const _0x2a775d=_0x525771;return this[_0x2a775d(0x25a)][_0x2a775d(0x232)]-this[_0x2a775d(0x1e5)];}get[_0x525771(0x237)](){const _0x3e8477=_0x525771,_0x56b8f1=this[_0x3e8477(0x25a)][_0x3e8477(0x1d0)]();for(let _0x4735f8=_0x56b8f1[_0x3e8477(0x2b7)]-0x1;_0x4735f8>=0x0;_0x4735f8--){const _0x5cd147=_0x56b8f1[_0x4735f8];if(!this[_0x3e8477(0x2ae)][_0x3e8477(0x2bd)](_0x5cd147))return _0x5cd147[_0x3e8477(0x236)]+0x1-this[_0x3e8477(0x1e5)];}return 0x0;}constructor(_0x3bc059){const _0x32d497=_0x525771;if(super(_0x3bc059),this[_0x32d497(0x1e5)]=0x0,this[_0x32d497(0x29f)]=null,this[_0x32d497(0x25a)]=new _0x35c543(),this[_0x32d497(0x2a3)][_0x32d497(0x25e)][_0x32d497(0x1fd)](_0x32d497(0x206),{}),this[_0x32d497(0x1d2)]=this[_0x32d497(0x2a3)][_0x32d497(0x25e)][_0x32d497(0x209)](_0x32d497(0x1fb)),!this[_0x32d497(0x1d2)])throw new _0x2088af(_0x32d497(0x2b8),this);const _0x2cc238=_0x3bc059[_0x32d497(0x25e)][_0x32d497(0x209)](_0x32d497(0x1e1))||_0x42e265;this[_0x32d497(0x1da)]=new l[(_0x32d497(0x1fa))](_0x2cc238,this[_0x32d497(0x1d2)]),this[_0x32d497(0x23b)]=this[_0x32d497(0x2a3)][_0x32d497(0x1d6)][_0x32d497(0x2c9)],this[_0x32d497(0x1c9)]=new _0x2df2c4(),this[_0x32d497(0x21b)]=[],this[_0x32d497(0x1db)]=new WeakSet(),this[_0x32d497(0x1e2)]=new Set(),this[_0x32d497(0x1e4)](_0x32d497(0x1f4),!0x1),this[_0x32d497(0x1e4)](_0x32d497(0x2a5),!0x1),this[_0x32d497(0x247)]=null,this[_0x32d497(0x283)]=!0x1,this[_0x32d497(0x231)]=null,this[_0x32d497(0x22b)]=0x12c,this[_0x32d497(0x2b0)]=this[_0x32d497(0x22b)],this[_0x32d497(0x293)]=null,this[_0x32d497(0x2ae)]=new WeakSet(),this[_0x32d497(0x1fc)]=new X(this[_0x32d497(0x2ae)]);}[_0x525771(0x2b1)](){const _0x58241b=_0x525771,_0x19841e=this[_0x58241b(0x2a3)],_0x348864=_0x19841e[_0x58241b(0x1cd)][_0x58241b(0x209)](_0x4787ee),_0x4de357=_0x19841e[_0x58241b(0x1cd)][_0x58241b(0x209)](_0x6229f3);this[_0x58241b(0x299)](_0x348864,_0x58241b(0x213),(_0x50d617,_0x15c0c7)=>{const _0x2d04fe=_0x58241b,_0x4b691e=_0x15c0c7[0x0];_0x4b691e[_0x2d04fe(0x26c)]&&(_0x50d617[_0x2d04fe(0x2a8)]=_0x348864[_0x2d04fe(0x208)](_0x4b691e[_0x2d04fe(0x26c)]),_0x50d617[_0x2d04fe(0x201)]()),null===_0x4b691e[_0x2d04fe(0x26c)]&&(_0x50d617[_0x2d04fe(0x2a8)]=null,_0x50d617[_0x2d04fe(0x201)]());},{'priority':_0x58241b(0x269)}),this[_0x58241b(0x299)](_0x19841e[_0x58241b(0x1d6)][_0x58241b(0x2c9)][_0x58241b(0x266)],_0x58241b(0x235),(_0x408dd0,_0x23ca13)=>{const _0x35d74f=_0x58241b;_0x23ca13[_0x35d74f(0x2bb)]&&this[_0x35d74f(0x26b)]();}),this[_0x58241b(0x299)](_0x19841e[_0x58241b(0x22c)][_0x58241b(0x1d8)],_0x58241b(0x262),()=>{const _0x46b3cb=_0x58241b;this[_0x46b3cb(0x26b)]();}),this[_0x58241b(0x284)](),_0x19841e[_0x58241b(0x1d6)]['on'](_0x58241b(0x1d3),(_0x5aaa37,_0x2dcd2a)=>{const _0x13a3e0=_0x58241b,_0x381c00=_0x2dcd2a[0x0];_0x381c00[_0x13a3e0(0x21f)]&&(this[_0x13a3e0(0x214)](_0x381c00),this[_0x13a3e0(0x265)]()&&this[_0x13a3e0(0x296)]());}),this[_0x58241b(0x239)](),this[_0x58241b(0x24f)](_0x58241b(0x2a7))['to'](_0x4de357,_0x58241b(0x264),this,_0x58241b(0x2a5),(_0x404cd7,_0x4deb3b)=>_0x58241b(0x267)===_0x404cd7&&!_0x4deb3b),this['on'](_0x58241b(0x2ad),()=>{const _0x2380ee=_0x58241b;this[_0x2380ee(0x2a7)]?_0x19841e[_0x2380ee(0x28d)](_0x2380ee(0x26f)):_0x19841e[_0x2380ee(0x245)](_0x2380ee(0x26f));}),this[_0x58241b(0x2a7)]?_0x19841e[_0x58241b(0x28d)](_0x58241b(0x26f)):_0x19841e[_0x58241b(0x245)](_0x58241b(0x26f)),this[_0x58241b(0x1e4)](_0x58241b(0x268),!0x1);}async[_0x525771(0x1f1)](){const _0x23acf7=_0x525771,_0x13a7bf=this[_0x23acf7(0x2a3)][_0x23acf7(0x1cd)][_0x23acf7(0x209)](_0x10439a),_0x43dcc0=this[_0x23acf7(0x2a3)][_0x23acf7(0x1cd)][_0x23acf7(0x209)](_0x6229f3);try{this[_0x23acf7(0x1f4)]=!0x0,_0x13a7bf[_0x23acf7(0x2c1)](this[_0x23acf7(0x1d2)]);const _0x1c28e2=await this[_0x23acf7(0x1da)][_0x23acf7(0x1f1)](_0x43dcc0[_0x23acf7(0x1d9)],this[_0x23acf7(0x237)]);await this[_0x23acf7(0x254)](_0x1c28e2)&&(this[_0x23acf7(0x1f4)]=!0x1,this[_0x23acf7(0x1d1)]());const _0x22b099=await this[_0x23acf7(0x1da)][_0x23acf7(0x28e)]();_0x13a7bf[_0x23acf7(0x243)](this[_0x23acf7(0x1d2)],_0x22b099),this[_0x23acf7(0x2b3)](),this[_0x23acf7(0x268)]=!0x0;}catch(_0x395ef4){if(function(_0x3d1c8f){const _0xc8f938=_0x23acf7;return _0xc8f938(0x1cc)===_0x3d1c8f[_0xc8f938(0x2c6)];}(_0x395ef4)&&this[_0x23acf7(0x29f)])await this[_0x23acf7(0x251)]();else{if(function(_0x50f68c){const _0x3847db=_0x23acf7;return _0x3847db(0x21d)===_0x50f68c[_0x3847db(0x2c6)];}(_0x395ef4)){const _0x2e5ba2=_0x1170e2(this[_0x23acf7(0x2a3)][_0x23acf7(0x2ba)],_0x23acf7(0x21a));this[_0x23acf7(0x1f9)](_0x2e5ba2);}else{if(!(_0x395ef4 instanceof J))throw _0x395ef4;this[_0x23acf7(0x1f9)]();}}}}[_0x525771(0x272)](){const _0xe4aa54=_0x525771,_0x16a55d=this[_0xe4aa54(0x2a3)][_0xe4aa54(0x1cd)][_0xe4aa54(0x209)](_0x6229f3),_0x55651d=this[_0xe4aa54(0x2a3)][_0xe4aa54(0x1cd)][_0xe4aa54(0x209)](_0x10439a);this[_0xe4aa54(0x2a3)][_0xe4aa54(0x245)](_0xe4aa54(0x22f)),_0x55651d[_0xe4aa54(0x1ed)][_0xe4aa54(0x2bd)](this[_0xe4aa54(0x1d2)])&&_0x55651d[_0xe4aa54(0x2c1)](this[_0xe4aa54(0x1d2)]),_0x16a55d[_0xe4aa54(0x24c)](this),this[_0xe4aa54(0x1ee)](),super[_0xe4aa54(0x272)]();}async[_0x525771(0x254)](_0x4699ab){const _0x3f763=_0x525771;if(this[_0x3f763(0x29f)]!==_0x4699ab[_0x3f763(0x29f)]&&this[_0x3f763(0x293)]!==_0x4699ab[_0x3f763(0x2b5)])throw new J();return this[_0x3f763(0x29f)]=_0x4699ab[_0x3f763(0x29f)],this[_0x3f763(0x246)]([],{..._0x4699ab,'wereChangesApplied':!0x1,'data':_0x4699ab[_0x3f763(0x273)]},_0x3f763(0x1f1));}async[_0x525771(0x1e3)](_0x165513,_0x504d99=!0x1){const _0x3abf0c=_0x525771,{connection:_0x325b94}=this[_0x3abf0c(0x2a3)][_0x3abf0c(0x1cd)][_0x3abf0c(0x209)](_0x6229f3);l[_0x3abf0c(0x1fa)][_0x3abf0c(0x28e)](_0x325b94,this[_0x3abf0c(0x1d2)])[_0x3abf0c(0x217)](_0x3d0eec=>this[_0x3abf0c(0x224)](_0x3d0eec))[_0x3abf0c(0x24e)](_0x51aaa3=>{const _0x556de3=_0x3abf0c;this[_0x556de3(0x1fe)](_0x556de3(0x22d),_0x51aaa3);}),this[_0x3abf0c(0x299)](this[_0x3abf0c(0x1da)],_0x3abf0c(0x2c2),this[_0x3abf0c(0x276)][_0x3abf0c(0x24f)](this)),this[_0x3abf0c(0x299)](this[_0x3abf0c(0x1da)],_0x3abf0c(0x1d7),(_0xac81b7,_0x149621)=>{const _0x2fe9bc=_0x3abf0c;this[_0x2fe9bc(0x1fe)](_0x2fe9bc(0x1f2),_0x149621);}),this[_0x3abf0c(0x299)](this[_0x3abf0c(0x1da)],_0x3abf0c(0x1d4),()=>{const _0xd969b2=_0x3abf0c;this[_0xd969b2(0x268)]=!0x1;});const _0x3bc479=this[_0x3abf0c(0x1fc)][_0x3abf0c(0x204)](_0x165513);this[_0x3abf0c(0x1f4)]=!0x0;const _0x7bd1d0=await this[_0x3abf0c(0x1da)][_0x3abf0c(0x26a)](_0x325b94,this[_0x3abf0c(0x25d)](_0x165513),_0x3bc479);if(this[_0x3abf0c(0x29f)]=_0x7bd1d0[_0x3abf0c(0x29f)],_0x504d99){if(!_0x7bd1d0[_0x3abf0c(0x233)])return void this[_0x3abf0c(0x1f9)]();this[_0x3abf0c(0x1f4)]=!0x1,this[_0x3abf0c(0x1d1)](),this[_0x3abf0c(0x25a)][_0x3abf0c(0x220)](),this[_0x3abf0c(0x1e5)]=_0x7bd1d0[_0x3abf0c(0x20b)],this[_0x3abf0c(0x25a)][_0x3abf0c(0x232)]=this[_0x3abf0c(0x1e5)],await this[_0x3abf0c(0x246)](_0x165513,_0x7bd1d0,_0x3abf0c(0x295));}else await this[_0x3abf0c(0x210)](_0x7bd1d0,_0x165513);this[_0x3abf0c(0x2b3)](),this[_0x3abf0c(0x268)]=!0x0;}[_0x525771(0x2b3)](){const _0xb5c0a4=_0x525771,_0x353ff9=this[_0xb5c0a4(0x2a3)][_0xb5c0a4(0x1cd)][_0xb5c0a4(0x209)](_0x10439a),_0x26df1d=this[_0xb5c0a4(0x2a3)][_0xb5c0a4(0x1cd)][_0xb5c0a4(0x209)](_0x3a573b),_0x483cd7=_0x353ff9[_0xb5c0a4(0x1ed)][_0xb5c0a4(0x209)](this[_0xb5c0a4(0x1d2)]);_0x483cd7&&_0x483cd7[_0xb5c0a4(0x2b7)]>0x1?_0x26df1d[_0xb5c0a4(0x229)]():this[_0xb5c0a4(0x299)](_0x353ff9,_0xb5c0a4(0x244)+this[_0xb5c0a4(0x1d2)],()=>{const _0x50b7c5=_0xb5c0a4;0x2===_0x353ff9[_0x50b7c5(0x1ed)][_0x50b7c5(0x209)](this[_0x50b7c5(0x1d2)])[_0x50b7c5(0x2b7)]&&_0x26df1d[_0x50b7c5(0x229)]();});}async[_0x525771(0x276)](_0x7070b6,_0x49436e,_0x36d4d3,_0x241da6){const _0x27811d=_0x525771;if(!this[_0x27811d(0x1f4)]&&this[_0x27811d(0x23b)][_0x27811d(0x232)]==_0x49436e){const _0x580f10=this[_0x27811d(0x2ce)](_0x36d4d3,_0x241da6);await this[_0x27811d(0x25c)](_0x580f10),this[_0x27811d(0x253)](_0x580f10,_0x49436e,_0x36d4d3[_0x27811d(0x2b5)])||this[_0x27811d(0x1fe)](_0x27811d(0x261));}}async[_0x525771(0x251)](){const _0xd32f19=_0x525771;this[_0xd32f19(0x1ee)]();const {locale:_0x55ccd4}=this[_0xd32f19(0x2a3)];let _0x25b7c4;try{_0x25b7c4=await this[_0xd32f19(0x1da)][_0xd32f19(0x2a6)]();}catch(_0x4c9288){const _0x3bc894=_0x1170e2(_0x55ccd4,_0xd32f19(0x287));return void this[_0xd32f19(0x1f9)](_0x3bc894);}const _0x3fa222=_0x25b7c4[_0xd32f19(0x218)]||_0x25b7c4[_0xd32f19(0x200)];if(this[_0xd32f19(0x293)]===_0x3fa222[_0xd32f19(0x2b5)])await this[_0xd32f19(0x1e3)](this[_0xd32f19(0x2a3)][_0xd32f19(0x1d6)][_0xd32f19(0x2c9)][_0xd32f19(0x1ce)][_0xd32f19(0x1d0)](),!0x0);else{const _0x48cfb5=_0x1170e2(_0x55ccd4,_0xd32f19(0x1eb));this[_0xd32f19(0x1f9)](_0x48cfb5);}}[_0x525771(0x1ee)](){const _0x1d1859=_0x525771;this[_0x1d1859(0x1da)][_0x1d1859(0x1dc)](),this[_0x1d1859(0x21b)]=[],clearTimeout(this[_0x1d1859(0x231)]),this[_0x1d1859(0x2c3)](this[_0x1d1859(0x1da)]);}[_0x525771(0x224)](_0xb59285){const _0x55df0e=_0x525771,_0x9f0934=this[_0x55df0e(0x2a3)][_0x55df0e(0x1cd)][_0x55df0e(0x209)](_0x10439a);this[_0x55df0e(0x299)](_0x9f0934,_0x55df0e(0x244)+this[_0x55df0e(0x1d2)],(_0xe20f46,{session:_0x5c1b97})=>{const _0x12e1e2=_0x55df0e;if(_0x5c1b97['id']===_0x9f0934[_0x12e1e2(0x2a4)]){_0xe20f46[_0x12e1e2(0x29c)]();const _0x73b7fa=this[_0x12e1e2(0x2a3)][_0x12e1e2(0x1cd)][_0x12e1e2(0x2bd)](_0x12e1e2(0x219))&&this[_0x12e1e2(0x2a3)][_0x12e1e2(0x1cd)][_0x12e1e2(0x209)](_0x12e1e2(0x219));let _0x2174c0=_0x5c1b97[_0x12e1e2(0x221)];_0x73b7fa&&_0x73b7fa[_0x12e1e2(0x1e9)]&&(_0x2174c0=_0x2174c0[_0x12e1e2(0x234)](_0x384517=>_0x12e1e2(0x28f)!==_0x384517)),this[_0x12e1e2(0x2a3)][_0x12e1e2(0x1cd)][_0x12e1e2(0x209)](_0x12e1e2(0x286))[_0x12e1e2(0x1e6)](_0x2174c0,this[_0x12e1e2(0x1d2)]);}}),_0x9f0934[_0x55df0e(0x243)](this[_0x55df0e(0x1d2)],_0xb59285);}[_0x525771(0x284)](){const _0x38e9d5=_0x525771,_0x34fcce=this[_0x38e9d5(0x2a3)][_0x38e9d5(0x273)][_0x38e9d5(0x1e4)];this[_0x38e9d5(0x2a3)][_0x38e9d5(0x273)][_0x38e9d5(0x1e4)]=(..._0x2a4178)=>{const _0xf451b9=_0x38e9d5;if(!_0x2a4178[_0x2a4178[_0xf451b9(0x2b7)]-0x1][_0xf451b9(0x1e0)])throw new _0x2088af(_0xf451b9(0x282),this);_0x34fcce[_0xf451b9(0x280)](this[_0xf451b9(0x2a3)][_0xf451b9(0x273)],_0x2a4178);};}[_0x525771(0x239)](){const _0x6d2813=_0x525771;this[_0x6d2813(0x2a3)][_0x6d2813(0x273)]['on'](_0x6d2813(0x2b1),(_0x42b58f,[_0x5a9ef9])=>{const _0x169725=_0x6d2813;if(this[_0x169725(0x23b)][_0x169725(0x232)])throw new _0x2088af(_0x169725(0x1df),this);_0x42b58f[_0x169725(0x201)](),this[_0x169725(0x2b6)]();const _0x252ad3=this[_0x169725(0x2a3)][_0x169725(0x25e)][_0x169725(0x209)](_0x169725(0x274)),_0x4afb72=this[_0x169725(0x222)](_0x5a9ef9,_0x252ad3);0x0==_0x4afb72[_0x169725(0x2b7)]&&_0x4afb72[_0x169725(0x21c)](new _0x4695a0(0x0)),_0x42b58f[_0x169725(0x2a8)]=this[_0x169725(0x1e3)](_0x4afb72)[_0x169725(0x217)](()=>{const _0x55ea90=_0x169725;this[_0x55ea90(0x2a3)][_0x55ea90(0x1cd)][_0x55ea90(0x209)](_0x6229f3)[_0x55ea90(0x2ca)](this),this[_0x55ea90(0x2a3)][_0x55ea90(0x273)][_0x55ea90(0x23d)](_0x55ea90(0x20c));})[_0x169725(0x24e)](_0x9cd14d=>this[_0x169725(0x1fe)](_0x169725(0x1ff),_0x9cd14d))[_0x169725(0x28c)](()=>this[_0x169725(0x1d1)]());},{'priority':_0x6d2813(0x269)}),this[_0x6d2813(0x2a3)]['on'](_0x6d2813(0x1f5),async(_0x3b89ba,[_0x3f7625,_0x47d660])=>{const _0x12cac5=_0x6d2813;_0x3b89ba[_0x12cac5(0x201)]();const _0x88f000=this[_0x12cac5(0x2a3)][_0x12cac5(0x1d6)][_0x12cac5(0x2c9)][_0x12cac5(0x21e)](_0x3f7625);if(!this[_0x12cac5(0x1e2)][_0x12cac5(0x2bd)](_0x3f7625)){const _0x3ef8cb=_0x47d660&&_0x47d660[_0x12cac5(0x273)]?_0x47d660[_0x12cac5(0x273)]:'',_0x47d9ea=_0x47d660&&_0x47d660[_0x12cac5(0x227)]?_0x47d660[_0x12cac5(0x227)]:{};await this[_0x12cac5(0x249)](_0x3f7625,_0x3ef8cb,_0x47d9ea);}this[_0x12cac5(0x2a3)][_0x12cac5(0x1d6)][_0x12cac5(0x211)]({'isUndoable':!0x1},()=>{const _0x4574c4=_0x12cac5;_0x88f000[_0x4574c4(0x28b)]=!0x0,this[_0x4574c4(0x2a3)][_0x4574c4(0x1d6)][_0x4574c4(0x2c9)][_0x4574c4(0x216)][_0x4574c4(0x29b)](_0x88f000);});},{'priority':_0x6d2813(0x269)});}async[_0x525771(0x25c)](_0x50bfb4){const _0x4c16c4=_0x525771,_0x28811d=this[_0x4c16c4(0x2a3)][_0x4c16c4(0x1cd)][_0x4c16c4(0x209)](_0x4787ee),{connection:_0x547126}=this[_0x4c16c4(0x2a3)][_0x4c16c4(0x1cd)][_0x4c16c4(0x209)](_0x6229f3),_0x23f9d9=new Set();for(const _0x558be4 of _0x50bfb4){const _0x450ca1=_0x558be4[_0x4c16c4(0x26c)];_0x450ca1&&!_0x28811d[_0x4c16c4(0x208)](_0x450ca1)&&_0x23f9d9[_0x4c16c4(0x212)](_0x450ca1);}if(0x0===_0x23f9d9[_0x4c16c4(0x263)])return;const _0x5c86e4=await _0x277403[_0x4c16c4(0x2bf)](_0x547126,Array[_0x4c16c4(0x2c0)](_0x23f9d9));for(const _0x429b99 of _0x5c86e4)_0x28811d[_0x4c16c4(0x208)](_0x429b99['id'])||_0x28811d[_0x4c16c4(0x248)](_0x429b99);}[_0x525771(0x222)](_0x64e866,_0x276268={}){const _0xb24fa2=_0x525771,_0x75926f=this[_0xb24fa2(0x2a3)][_0xb24fa2(0x1d6)],_0x26cf6c=[];let _0x1949ea=0x0;const _0x3fae85=_0xb24fa2(0x22a)==typeof _0x64e866?{'main':_0x64e866}:_0x64e866;for(const _0xa51c87 of Object[_0xb24fa2(0x26d)](_0x3fae85)){if(!this[_0xb24fa2(0x23b)][_0xb24fa2(0x27b)][_0xb24fa2(0x2bd)](_0xa51c87))throw new _0x2088af(_0xb24fa2(0x27e),this);const _0x18cf74=this[_0xb24fa2(0x2a3)][_0xb24fa2(0x273)][_0xb24fa2(0x2bc)](_0x3fae85[_0xa51c87]),_0x4096df=this[_0xb24fa2(0x23b)][_0xb24fa2(0x21e)](_0xa51c87),_0xdab741=new _0x4d91d1(_0x75926f[_0xb24fa2(0x20e)](_0x4096df,0x0),_0x18cf74,_0x1949ea++);_0x26cf6c[_0xb24fa2(0x21c)](_0xdab741);for(const [_0x263b38,_0x30ca23]of _0x18cf74[_0xb24fa2(0x2b2)]){const _0x300d79=_0x75926f[_0xb24fa2(0x1ea)](_0x75926f[_0xb24fa2(0x252)](_0x4096df,_0x30ca23[_0xb24fa2(0x2ac)][_0xb24fa2(0x1e8)][_0xb24fa2(0x2cf)]()),_0x75926f[_0xb24fa2(0x252)](_0x4096df,_0x30ca23[_0xb24fa2(0x2c4)][_0xb24fa2(0x1e8)][_0xb24fa2(0x2cf)]())),_0x2db327=new _0x40caa8(_0x263b38,null,_0x300d79,_0x75926f[_0xb24fa2(0x2b2)],!0x0,_0x1949ea++);_0x26cf6c[_0xb24fa2(0x21c)](_0x2db327);}}if(_0x276268)for(const [_0x3a1c20,_0x1767a1]of Object[_0xb24fa2(0x2cb)](_0x276268)){const _0x20b294=_0x75926f[_0xb24fa2(0x2c9)][_0xb24fa2(0x21e)](_0x3a1c20);if(!_0x20b294)throw new _0x2088af(_0xb24fa2(0x20d),null);for(const [_0x34fd08,_0xe90772]of Object[_0xb24fa2(0x2cb)](_0x1767a1))if(null!==_0xe90772){const _0x5a18e5=new _0xa21ed5(_0x20b294,_0x34fd08,null,_0xe90772,_0x1949ea++);_0x26cf6c[_0xb24fa2(0x21c)](_0x5a18e5);}}return _0x26cf6c;}async[_0x525771(0x249)](_0x5e3f39,_0x11d54a,_0x1ab2a2){const _0x5641d3=_0x525771;this[_0x5641d3(0x222)]({[_0x5e3f39]:_0x11d54a},{[_0x5e3f39]:_0x1ab2a2})[_0x5641d3(0x1e7)]((_0x2bf39d,_0x55a955)=>{const _0x488102=_0x5641d3;_0x2bf39d[_0x488102(0x236)]=this[_0x488102(0x23b)][_0x488102(0x232)]+_0x55a955,_0x2bf39d[_0x488102(0x258)]=!0x0,this[_0x488102(0x214)](_0x2bf39d);}),this[_0x5641d3(0x296)](),await this[_0x5641d3(0x1ef)]();}async[_0x525771(0x210)](_0x8d9e32,_0x3a49ee){const _0x438086=_0x525771;let _0x23532f;this[_0x438086(0x1e5)]=_0x8d9e32[_0x438086(0x20b)];const _0x5a8692=_0x8d9e32[_0x438086(0x233)]&&!_0x8d9e32[_0x438086(0x23c)],_0x4b6a94=_0x5a8692?0x0:_0x8d9e32[_0x438086(0x273)][_0x438086(0x236)];if(_0x3a49ee[_0x438086(0x1e7)](_0x49285f=>{const _0x28918b=_0x438086;_0x49285f[_0x28918b(0x258)]=!0x0,_0x49285f[_0x28918b(0x223)]=_0x8d9e32[_0x28918b(0x279)],_0x49285f[_0x28918b(0x26c)]=null;}),_0x5a8692)_0x23532f=_0x3a49ee,this[_0x438086(0x226)](_0x23532f,_0x5a8692);else{if(_0x8d9e32[_0x438086(0x23c)]){const _0x5a20fd=this[_0x438086(0x222)](_0x8d9e32[_0x438086(0x23c)]);this[_0x438086(0x23b)][_0x438086(0x1ce)][_0x438086(0x232)]=-_0x5a20fd[_0x438086(0x2b7)],_0x5a20fd[_0x438086(0x1e7)](_0x5ae30c=>{const _0x405bc1=_0x438086;_0x5ae30c[_0x405bc1(0x236)]-=_0x5a20fd[_0x405bc1(0x2b7)],_0x5ae30c[_0x405bc1(0x223)]=_0x8d9e32[_0x405bc1(0x279)],_0x5ae30c[_0x405bc1(0x258)]=!0x0,_0x5ae30c[_0x405bc1(0x26c)]=null;}),this[_0x438086(0x226)](_0x5a20fd,!0x0),this[_0x438086(0x25a)][_0x438086(0x232)]=-_0x5a20fd[_0x438086(0x2b7)]+this[_0x438086(0x1e5)],this[_0x438086(0x259)](_0x5a20fd);}this[_0x438086(0x23b)][_0x438086(0x1ce)][_0x438086(0x232)]=_0x4b6a94,_0x23532f=this[_0x438086(0x2ce)](_0x8d9e32[_0x438086(0x273)],_0x8d9e32[_0x438086(0x27d)]),await this[_0x438086(0x25c)](_0x23532f),this[_0x438086(0x226)](_0x23532f,_0x5a8692);}_0x8d9e32[_0x438086(0x2b5)]&&(this[_0x438086(0x1fc)][_0x438086(0x20a)](_0x23532f,_0x8d9e32[_0x438086(0x2b5)]),this[_0x438086(0x293)]=_0x8d9e32[_0x438086(0x2b5)]),this[_0x438086(0x25a)][_0x438086(0x232)]=_0x4b6a94+this[_0x438086(0x1e5)],this[_0x438086(0x259)](_0x23532f),_0x3a49ee[_0x438086(0x234)](_0x128b4d=>{const _0x56f17c=_0x438086,_0x4af891=this[_0x56f17c(0x1cb)](_0x128b4d);return _0x4af891&&!this[_0x56f17c(0x1e2)][_0x56f17c(0x2bd)](_0x4af891);})[_0x438086(0x1e7)]((_0x42d8f1,_0x35e484)=>{const _0x4bdbac=_0x438086;_0x42d8f1[_0x4bdbac(0x236)]=this[_0x4bdbac(0x23b)][_0x4bdbac(0x232)]+_0x35e484,this[_0x4bdbac(0x214)](_0x42d8f1);}),this[_0x438086(0x265)]()?(this[_0x438086(0x2b0)]=0x0,this[_0x438086(0x296)](!0x0),await this[_0x438086(0x1ef)]()):(this[_0x438086(0x1f4)]=!0x1,this[_0x438086(0x1d1)]());}[_0x525771(0x1fe)](_0x5f4946,_0x5f2631){const _0x33d184=_0x525771,_0x50325c=_0x5f2631&&_0x5f2631[_0x33d184(0x24b)];if(_0x50325c&&_0x50325c[_0x33d184(0x278)](_0x33d184(0x29d)))throw _0x5f2631;const _0x2e3eda=this[_0x33d184(0x2a3)][_0x33d184(0x1cd)][_0x33d184(0x209)](_0x6229f3);throw this[_0x33d184(0x1f4)]=!0x0,_0x2e3eda[_0x33d184(0x1dc)](),this[_0x33d184(0x2a3)][_0x33d184(0x245)](_0x33d184(0x255)),new _0x2088af(_0x5f4946,this[_0x33d184(0x2a3)],_0x50325c?{'originalError':_0x50325c}:void 0x0);}[_0x525771(0x214)](_0x1fb564){const _0x5c3367=_0x525771;this[_0x5c3367(0x1db)][_0x5c3367(0x2bd)](_0x1fb564)||(this[_0x5c3367(0x1db)][_0x5c3367(0x212)](_0x1fb564),this[_0x5c3367(0x21b)][_0x5c3367(0x21c)](_0x1fb564),this[_0x5c3367(0x247)]||_0x5c3367(0x2c7)==_0x1fb564[_0x5c3367(0x1d5)]&&!_0x1fb564[_0x5c3367(0x2b9)]||this[_0x5c3367(0x2b6)]());}[_0x525771(0x296)](_0x33c1eb=!0x1){const _0x40b76a=_0x525771;!_0x33c1eb&&this[_0x40b76a(0x1f4)]||(this[_0x40b76a(0x1f4)]=!0x0,clearTimeout(this[_0x40b76a(0x231)]),this[_0x40b76a(0x231)]=setTimeout(()=>{const _0x19a7cc=_0x40b76a;this[_0x19a7cc(0x1de)]()[_0x19a7cc(0x217)](_0x268c15=>{const _0x3740e7=_0x19a7cc;_0x268c15&&(this[_0x3740e7(0x1d1)](),this[_0x3740e7(0x1f4)]=!0x1);})[_0x19a7cc(0x24e)](_0x23699e=>{const _0x2d1b95=_0x19a7cc;this[_0x2d1b95(0x1d1)](),this[_0x2d1b95(0x1f4)]=!0x1,function(_0x367252){const _0x12c214=_0x2d1b95;return _0x367252[_0x12c214(0x24b)][_0x12c214(0x278)](_0x12c214(0x2a9))||_0x367252[_0x12c214(0x24b)][_0x12c214(0x278)](_0x12c214(0x294))||_0x367252[_0x12c214(0x24b)][_0x12c214(0x278)](_0x12c214(0x29e));}(_0x23699e)||this[_0x2d1b95(0x1fe)](_0x23699e[_0x2d1b95(0x24b)],_0x23699e);});},this[_0x40b76a(0x2b0)]));}[_0x525771(0x1ef)](){return new Promise(_0x1a6862=>{const _0x25d99d=_0x4def;this['on'](_0x25d99d(0x291),()=>{_0x1a6862();});});}async[_0x525771(0x1de)](){const _0x4d75e5=_0x525771,_0x2c7d32=this[_0x4d75e5(0x2a3)][_0x4d75e5(0x1cd)][_0x4d75e5(0x209)](_0x3a573b);if(this[_0x4d75e5(0x2a2)]()&&(_0x2c7d32[_0x4d75e5(0x229)](),this[_0x4d75e5(0x283)]=!0x1),!this[_0x4d75e5(0x265)]())return!0x0;const _0x586ca3=[...this[_0x4d75e5(0x21b)]];for(const _0x135e92 of _0x586ca3)_0x135e92[_0x4d75e5(0x2c5)]=this[_0x4d75e5(0x23b)][_0x4d75e5(0x1ce)][_0x4d75e5(0x28a)](_0x135e92);const _0x244a10=this[_0x4d75e5(0x1fc)][_0x4d75e5(0x204)](_0x586ca3),_0x1b7920=K++,_0x48bfec=this[_0x4d75e5(0x25d)](_0x586ca3),_0x58795e=await this[_0x4d75e5(0x1da)][_0x4d75e5(0x215)](_0x48bfec,_0x48bfec[_0x4d75e5(0x236)],_0x244a10);try{return await this[_0x4d75e5(0x246)](_0x586ca3,_0x58795e,_0x1b7920);}catch(_0xb0635){return this[_0x4d75e5(0x1fe)](_0x4d75e5(0x2ab),_0xb0635);}}async[_0x525771(0x246)](_0x567c89,_0xc58c32,_0x309377){const _0x3d2135=_0x525771;if(_0x3d2135(0x1d7)in _0xc58c32)throw _0xc58c32[_0x3d2135(0x1d7)];let _0x45ec3b=!0x1;if(_0xc58c32[_0x3d2135(0x233)]){_0xc58c32[_0x3d2135(0x2b5)]&&(this[_0x3d2135(0x293)]=_0xc58c32[_0x3d2135(0x2b5)]),this[_0x3d2135(0x21b)]=this[_0x3d2135(0x21b)][_0x3d2135(0x234)](_0x1e21b8=>!_0x567c89[_0x3d2135(0x256)](_0x1e21b8));for(const _0x57a18f of _0x567c89)_0x57a18f[_0x3d2135(0x223)]=_0x3d2135(0x27a)in _0xc58c32&&_0xc58c32[_0x3d2135(0x27a)]||void 0x0;Q(_0x567c89,_0xc58c32[_0x3d2135(0x232)]-_0x567c89[_0x3d2135(0x2b7)]),this[_0x3d2135(0x259)](_0x567c89);const _0x59aa6b=_0x567c89[_0x3d2135(0x234)](_0x3c6bc=>{const _0x51885f=_0x3d2135;if(!_0x3c6bc[_0x51885f(0x258)])return!0x1;const _0x521755=this[_0x51885f(0x1cb)](_0x3c6bc);return _0x521755&&!this[_0x51885f(0x1e2)][_0x51885f(0x2bd)](_0x521755);});Q(_0x59aa6b,this[_0x3d2135(0x23b)][_0x3d2135(0x232)]),this[_0x3d2135(0x226)](_0x59aa6b),_0x45ec3b=!0x0,this[_0x3d2135(0x2b0)]=this[_0x3d2135(0x22b)];}else{const _0x19ba8b=this[_0x3d2135(0x2ce)](_0xc58c32[_0x3d2135(0x273)],_0xc58c32[_0x3d2135(0x27d)])[_0x3d2135(0x234)](_0x3542b9=>_0x3542b9[_0x3d2135(0x236)]>=this[_0x3d2135(0x292)]);_0x19ba8b[_0x3d2135(0x1e7)](_0x59a2b0=>this[_0x3d2135(0x20f)](_0x59a2b0)),this[_0x3d2135(0x21b)]=this[_0x3d2135(0x21b)][_0x3d2135(0x234)](_0x364463=>!_0x364463[_0x3d2135(0x258)]||!this[_0x3d2135(0x1e2)][_0x3d2135(0x2bd)](this[_0x3d2135(0x1cb)](_0x364463))),this[_0x3d2135(0x21b)][_0x3d2135(0x2b7)]&&Q(this[_0x3d2135(0x21b)],this[_0x3d2135(0x21b)][0x0][_0x3d2135(0x236)]),await this[_0x3d2135(0x25c)](_0x19ba8b),_0x45ec3b=this[_0x3d2135(0x253)](_0x19ba8b,_0xc58c32[_0x3d2135(0x232)],_0xc58c32[_0x3d2135(0x2b5)]),this[_0x3d2135(0x2b0)]=Math[_0x3d2135(0x298)](this[_0x3d2135(0x2b0)]/0x2);}return _0x45ec3b?!this[_0x3d2135(0x265)]()||(this[_0x3d2135(0x296)](!0x0),!0x1):this[_0x3d2135(0x1fe)](_0x3d2135(0x207));}[_0x525771(0x253)](_0x12fd34,_0x8d9abd,_0x2079d0){const _0x48e02d=_0x525771;try{const _0x5996c1={'document':this[_0x48e02d(0x23b)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x5a9ded,operationsB:_0x32147b,originalOperations:_0x4e0e69}=_0x5e3e54(_0x12fd34,this[_0x48e02d(0x21b)],_0x5996c1);Q(_0x5a9ded,this[_0x48e02d(0x23b)][_0x48e02d(0x232)]),Q(_0x32147b,_0x8d9abd);for(const _0xb6ff8b of _0x5a9ded){const _0x484103=_0x4e0e69[_0x48e02d(0x209)](_0xb6ff8b);_0xb6ff8b[_0x48e02d(0x26c)]=_0x484103?_0x484103[_0x48e02d(0x26c)]:null;}_0x2079d0&&(this[_0x48e02d(0x1fc)][_0x48e02d(0x20a)](_0x12fd34,_0x2079d0),this[_0x48e02d(0x293)]=_0x2079d0),this[_0x48e02d(0x21b)]=[..._0x32147b],this[_0x48e02d(0x226)](_0x5a9ded),this[_0x48e02d(0x259)](_0x12fd34);}catch(_0x30ba8a){return console[_0x48e02d(0x1d7)](_0x30ba8a),!0x1;}return!0x0;}[_0x525771(0x226)](_0x3a6f2b,_0x54c219=!0x1){const _0x1cea19=_0x525771;this[_0x1cea19(0x2a3)][_0x1cea19(0x1d6)][_0x1cea19(0x211)]({'isUndoable':!0x1,'isLocal':!0x1},_0x33ff24=>{const _0x365b1d=_0x1cea19;for(const _0x114bc7 of _0x3a6f2b)this[_0x365b1d(0x1db)][_0x365b1d(0x212)](_0x114bc7),this[_0x365b1d(0x20f)](_0x114bc7),_0x33ff24[_0x365b1d(0x257)][_0x365b1d(0x23f)](_0x114bc7),this[_0x365b1d(0x2a3)][_0x365b1d(0x1d6)][_0x365b1d(0x1d3)](_0x114bc7);});}[_0x525771(0x20f)](_0x3b72f7){const _0xff841c=_0x525771,_0x1092f4=this[_0xff841c(0x1cb)](_0x3b72f7);_0x1092f4&&this[_0xff841c(0x1e2)][_0xff841c(0x212)](_0x1092f4);}[_0x525771(0x1cb)](_0x42f19f){const _0x18bad8=_0x525771;let _0x374213,_0xcc6bef;switch(_0x42f19f[_0x18bad8(0x1d5)]){case _0x18bad8(0x289):_0x374213=_0x42f19f[_0x18bad8(0x277)][_0x18bad8(0x2a0)];break;case _0x18bad8(0x2c7):if(_0xcc6bef=_0x42f19f[_0x18bad8(0x275)],!_0xcc6bef)return null;_0x374213=_0xcc6bef[_0x18bad8(0x2a0)];break;case _0x18bad8(0x1f0):_0x374213=_0x42f19f[_0x18bad8(0x2a0)];break;case _0x18bad8(0x250):_0x374213=_0x42f19f[_0x18bad8(0x26e)];break;case _0x18bad8(0x240):_0x374213=_0x42f19f[_0x18bad8(0x1ec)][_0x18bad8(0x2a0)];break;default:return null;}return _0x374213[_0x18bad8(0x1f8)];}[_0x525771(0x259)](_0x48307f){const _0x574455=_0x525771;_0x48307f[_0x574455(0x1e7)](_0x14ac2d=>{const _0x2b2b90=_0x574455,_0x2d5491=_0x14ac2d[_0x2b2b90(0x1f6)]();_0x2d5491[_0x2b2b90(0x26c)]=_0x14ac2d[_0x2b2b90(0x26c)],_0x2d5491[_0x2b2b90(0x258)]=!!_0x14ac2d[_0x2b2b90(0x258)],_0x2d5491[_0x2b2b90(0x223)]=_0x14ac2d[_0x2b2b90(0x223)],_0x2d5491[_0x2b2b90(0x236)]+=this[_0x2b2b90(0x1e5)],_0x14ac2d[_0x2b2b90(0x2aa)]&&this[_0x2b2b90(0x2ae)][_0x2b2b90(0x212)](_0x2d5491),this[_0x2b2b90(0x25a)][_0x2b2b90(0x23f)](_0x2d5491);});}[_0x525771(0x1f9)](_0x1d02c8){const _0x564696=_0x525771,_0x31e0d3=this[_0x564696(0x2a3)][_0x564696(0x1cd)][_0x564696(0x209)](_0x564696(0x1ca)),_0x14b910=this[_0x564696(0x2a3)][_0x564696(0x2ba)];_0x1d02c8||(_0x1d02c8=_0x1170e2(_0x14b910,_0x564696(0x238))),_0x31e0d3[_0x564696(0x2b4)](_0x1d02c8,{'title':_0x1170e2(_0x14b910,_0x564696(0x270)),'namespace':_0x564696(0x22e)}),this[_0x564696(0x2a5)]=!0x0,clearTimeout(this[_0x564696(0x231)]),this[_0x564696(0x21b)]=[],this[_0x564696(0x2a3)][_0x564696(0x1cd)][_0x564696(0x209)](_0x6229f3)[_0x564696(0x1dc)]();}[_0x525771(0x2b6)](){const _0x4fabdc=_0x525771;this[_0x4fabdc(0x247)]||(this[_0x4fabdc(0x247)]=this[_0x4fabdc(0x2a3)][_0x4fabdc(0x1cd)][_0x4fabdc(0x209)](_0x4ab22b)[_0x4fabdc(0x212)](_0x1170e2(this[_0x4fabdc(0x2a3)][_0x4fabdc(0x2ba)],_0x4fabdc(0x288))));}[_0x525771(0x1d1)](){const _0x84cbb9=_0x525771;this[_0x84cbb9(0x247)]&&(this[_0x84cbb9(0x2a3)][_0x84cbb9(0x1cd)][_0x84cbb9(0x209)](_0x4ab22b)[_0x84cbb9(0x271)](this[_0x84cbb9(0x247)]),this[_0x84cbb9(0x247)]=null);}[_0x525771(0x25d)](_0x23fe8c){const _0x3c303d=_0x525771,_0x3592f4=_0x23fe8c[_0x3c303d(0x25f)](_0x3a7704=>_0x3a7704[_0x3c303d(0x29a)]());return this[_0x3c303d(0x1c9)][_0x3c303d(0x23e)](_0x3592f4);}[_0x525771(0x2ce)](_0x3802f5,_0xab02c0){const _0xb006aa=_0x525771;return this[_0xb006aa(0x1c9)][_0xb006aa(0x281)](_0x3802f5)[_0xb006aa(0x25f)]((_0xe43690,_0x18f0d5)=>{const _0x19a307=_0xb006aa,_0x5808c8=_0x19a307(0x2b1)==_0xab02c0[_0x18f0d5][_0x19a307(0x1d5)];if(_0x19a307(0x2c8)==_0xe43690[_0x19a307(0x1f3)]){const _0x3ac4ec=_0xe43690[_0x19a307(0x277)][_0x19a307(0x2a0)];!this[_0x19a307(0x23b)][_0x19a307(0x21e)](_0x3ac4ec)&&(this[_0x19a307(0x23b)][_0x19a307(0x241)](_0x19a307(0x225),_0x3ac4ec)[_0x19a307(0x260)]=!0x1);}const _0x2f2da7=_0x56a523[_0x19a307(0x297)](_0xe43690,this[_0x19a307(0x23b)]);return _0x2f2da7[_0x19a307(0x2c5)]=_0xe43690[_0x19a307(0x2c5)],_0x2f2da7[_0x19a307(0x258)]=_0x5808c8,_0x2f2da7[_0x19a307(0x26c)]=_0x5808c8?null:_0xab02c0[_0x18f0d5][_0x19a307(0x24a)],_0x2f2da7[_0x19a307(0x2aa)]=_0x19a307(0x24d)===_0xab02c0[_0x18f0d5][_0x19a307(0x1d5)],_0x2f2da7[_0x19a307(0x223)]=_0xab02c0[_0x18f0d5][_0x19a307(0x223)],_0x2f2da7;});}[_0x525771(0x26b)](){const _0x4617b2=_0x525771;this[_0x4617b2(0x283)]=!0x0,this[_0x4617b2(0x2a2)]()?this[_0x4617b2(0x296)]():this[_0x4617b2(0x283)]=!0x1;}[_0x525771(0x2a2)](){const _0x3be181=_0x525771,_0x3c92d4=this[_0x3be181(0x2a3)][_0x3be181(0x1cd)][_0x3be181(0x209)](_0x10439a)[_0x3be181(0x1ed)][_0x3be181(0x209)](this[_0x3be181(0x1d2)]);return!this[_0x3be181(0x2a3)][_0x3be181(0x1cf)]&&!!_0x3c92d4&&_0x3c92d4[_0x3be181(0x2b7)]>0x1&&this[_0x3be181(0x283)];}[_0x525771(0x265)](){const _0x59bc56=_0x525771;return this[_0x59bc56(0x21b)][_0x59bc56(0x2b7)]>0x0||this[_0x59bc56(0x2a2)]();}}l[_0x525771(0x1fa)]=_0x2ee6c0;export default l;class J extends Error{}function Q(_0x2b46b6,_0x26cfc9){const _0x5c81dd=_0x525771;for(const _0x17f64e of _0x2b46b6)_0x17f64e[_0x5c81dd(0x236)]=_0x26cfc9++;}class X{constructor(_0x21ad8a){const _0x13dec8=_0x525771;this[_0x13dec8(0x2cd)]=_0x21ad8a,this[_0x13dec8(0x242)]=new WeakMap();}[_0x525771(0x204)](_0x57f04a){const _0x19b316=_0x525771;let _0x4146a4=_0x57f04a[_0x19b316(0x2b7)];for(;_0x4146a4--;){const _0x349b64=_0x57f04a[_0x4146a4];if(!this[_0x19b316(0x2cd)][_0x19b316(0x2bd)](_0x349b64)){if(!this[_0x19b316(0x242)][_0x19b316(0x2bd)](_0x349b64)){const _0x568f5f=_0x342575()[_0x19b316(0x2cf)](0x1,0x12);this[_0x19b316(0x242)][_0x19b316(0x1e4)](_0x349b64,_0x568f5f);}return this[_0x19b316(0x242)][_0x19b316(0x209)](_0x349b64);}}}[_0x525771(0x20a)](_0x2e7f1d,_0x4ecf2e){const _0x4f5608=_0x525771;if(!_0x4ecf2e)return;let _0xafc40c=_0x2e7f1d[_0x4f5608(0x2b7)];for(;_0xafc40c--;){const _0x5afd15=_0x2e7f1d[_0xafc40c];this[_0x4f5608(0x2cd)][_0x4f5608(0x2bd)](_0x5afd15)||this[_0x4f5608(0x242)][_0x4f5608(0x1e4)](_0x5afd15,_0x4ecf2e);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2af8bf=_0x7755;(function(_0x2be50a,_0x8a7377){const _0x586ad7=_0x7755,_0x3426da=_0x2be50a();while(!![]){try{const _0x4a1b55=parseInt(_0x586ad7(0xfb))/0x1+parseInt(_0x586ad7(0xd5))/0x2+parseInt(_0x586ad7(0xf9))/0x3+-parseInt(_0x586ad7(0xee))/0x4+parseInt(_0x586ad7(0xdb))/0x5*(parseInt(_0x586ad7(0xe8))/0x6)+-parseInt(_0x586ad7(0xd6))/0x7*(-parseInt(_0x586ad7(0xf1))/0x8)+parseInt(_0x586ad7(0xd3))/0x9*(-parseInt(_0x586ad7(0xef))/0xa);if(_0x4a1b55===_0x8a7377)break;else _0x3426da['push'](_0x3426da['shift']());}catch(_0x1c0cbc){_0x3426da['push'](_0x3426da['shift']());}}}(_0x2b6d,0xc9528));import{ContextPlugin as _0x27ae14}from'ckeditor5/src/core.js';import{Collection as _0x23481b,CKEditorError as _0x269e3d}from'ckeditor5/src/utils.js';function _0x7755(_0x4e9a00,_0x2f895c){const _0x2b6d3f=_0x2b6d();return _0x7755=function(_0x7755ac,_0x1142c9){_0x7755ac=_0x7755ac-0xc2;let _0x567d38=_0x2b6d3f[_0x7755ac];return _0x567d38;},_0x7755(_0x4e9a00,_0x2f895c);}import _0x3fe17c from'./websocketgateway.js';import{Users as _0x1bfb6a}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x27ae14{static get[_0x2af8bf(0xc3)](){const _0x272068=_0x2af8bf;return _0x272068(0xc2);}static get[_0x2af8bf(0xf6)](){return!0x0;}static get[_0x2af8bf(0xc4)](){return!0x0;}static get[_0x2af8bf(0xed)](){return[_0x3fe17c,_0x1bfb6a];}constructor(_0x514633){const _0x643ec5=_0x2af8bf;super(_0x514633),this[_0x643ec5(0xd0)]=new Map(),this[_0x643ec5(0xea)]=new Map(),this[_0x643ec5(0xcc)]=new _0x23481b(),this[_0x643ec5(0xf0)]=new Map(),this[_0x643ec5(0xc5)]=0x0,this[_0x643ec5(0xf5)]=this[_0x643ec5(0xcd)][_0x643ec5(0xe7)][_0x643ec5(0xd8)](_0x1bfb6a);}[_0x2af8bf(0xe3)](){const _0x1e882b=_0x2af8bf,_0x28d3cc=this[_0x1e882b(0xcd)][_0x1e882b(0xe7)][_0x1e882b(0xd8)](_0x3fe17c);this[_0x1e882b(0xf7)](_0x28d3cc,_0x1e882b(0xfa),(_0x28fecd,_0x2a02cf,_0x476557)=>{const _0x14c3b=_0x1e882b;if(_0x14c3b(0xdd)!==_0x476557)this[_0x14c3b(0xd0)][_0x14c3b(0xe2)](_0x4698c7=>_0x4698c7[_0x14c3b(0xd1)]()),this[_0x14c3b(0xea)][_0x14c3b(0xe2)](_0x2f2a97=>_0x2f2a97[_0x14c3b(0xd1)]()),this[_0x14c3b(0xcc)][_0x14c3b(0xd1)]();else{for(const [_0x2b23d2,_0x339c61]of this[_0x14c3b(0xf0)])for(const _0x279331 of _0x339c61)this[_0x14c3b(0xec)](_0x2b23d2,_0x279331);}}),this[_0x1e882b(0xe0)](_0x28d3cc[_0x1e882b(0xc9)]['me'],!0x0);}[_0x2af8bf(0xd2)](_0x363038,_0x42740a){const _0x3feed8=_0x2af8bf;if(this[_0x3feed8(0xf0)][_0x3feed8(0xc7)](_0x363038))throw new _0x269e3d(_0x3feed8(0xc6),null,{'channelId':_0x363038});this[_0x3feed8(0xf0)][_0x3feed8(0xdc)](_0x363038,_0x42740a),this[_0x3feed8(0xd0)][_0x3feed8(0xdc)](_0x363038,new _0x23481b()),this[_0x3feed8(0xea)][_0x3feed8(0xdc)](_0x363038,new _0x23481b()),this[_0x3feed8(0xf7)](_0x42740a,_0x3feed8(0xd9),(_0x40e59a,_0xc88cea)=>this[_0x3feed8(0xec)](_0x363038,_0xc88cea)),this[_0x3feed8(0xf7)](_0x42740a,_0x3feed8(0xcf),(_0x350b9d,_0x306459)=>this[_0x3feed8(0xe9)](_0x363038,_0x306459));for(const _0x5a5ab9 of _0x42740a)this[_0x3feed8(0xec)](_0x363038,_0x5a5ab9);}[_0x2af8bf(0xd7)](_0x319b49){const _0x54a147=_0x2af8bf;if(!this[_0x54a147(0xf0)][_0x54a147(0xc7)](_0x319b49))throw new _0x269e3d(_0x54a147(0xf2),null,{'channelId':_0x319b49});const _0x1106da=this[_0x54a147(0xf0)][_0x54a147(0xd8)](_0x319b49);this[_0x54a147(0xe5)](_0x1106da);for(const _0x1683f9 of _0x1106da)_0x54a147(0xdd)===this[_0x54a147(0xcd)][_0x54a147(0xe7)][_0x54a147(0xd8)](_0x3fe17c)[_0x54a147(0xce)]&&this[_0x54a147(0xe9)](_0x319b49,_0x1683f9);this[_0x54a147(0xf0)][_0x54a147(0xca)](_0x319b49),this[_0x54a147(0xd0)][_0x54a147(0xca)](_0x319b49),this[_0x54a147(0xea)][_0x54a147(0xca)](_0x319b49);}get[_0x2af8bf(0xff)](){const _0x357e44=_0x2af8bf;return this[_0x357e44(0xcd)][_0x357e44(0xe7)][_0x357e44(0xd8)](_0x3fe17c)[_0x357e44(0xc9)][_0x357e44(0xe4)];}[_0x2af8bf(0xde)](_0x134664){const _0x5de67d=_0x2af8bf;for(const _0x176526 of this[_0x5de67d(0xd0)][_0x5de67d(0xfc)]())for(const _0x14f6bc of _0x176526)if(_0x14f6bc['id']===_0x134664)return _0x14f6bc[_0x5de67d(0xc8)];}[_0x2af8bf(0xdf)](_0x5e29c0,_0x5ca14e){const _0x532f66=_0x2af8bf,_0x3daccb=_0x5ca14e?[this[_0x532f66(0xd0)][_0x532f66(0xd8)](_0x5ca14e)]:this[_0x532f66(0xd0)][_0x532f66(0xfc)](),_0x3c4c1b=new Set();for(const _0x362c80 of _0x3daccb)for(const _0x205faa of _0x362c80)_0x205faa[_0x532f66(0xc8)]['id']===_0x5e29c0['id']&&_0x3c4c1b[_0x532f66(0xd9)](_0x205faa['id']);return _0x3c4c1b;}[_0x2af8bf(0xda)](_0x16ceed){const _0x37a88b=_0x2af8bf;for(const _0x6ff70d of this[_0x37a88b(0xd0)][_0x37a88b(0xfc)]())for(const _0x5ad819 of _0x6ff70d)if(_0x5ad819[_0x37a88b(0xc8)]===_0x16ceed)return _0x5ad819[_0x37a88b(0xfe)];}[_0x2af8bf(0xec)](_0xdc9d4f,_0x57f88e){const _0x3763cb=_0x2af8bf;if(_0x3763cb(0xdd)!==this[_0x3763cb(0xcd)][_0x3763cb(0xe7)][_0x3763cb(0xd8)](_0x3fe17c)[_0x3763cb(0xce)])return;const _0x29d9d9=_0x57f88e[_0x3763cb(0xc8)],_0xa2b7b0=this[_0x3763cb(0xf5)][_0x3763cb(0xfd)](_0x29d9d9['id'])||this[_0x3763cb(0xe0)](_0x29d9d9),_0x5608cc=Object[_0x3763cb(0xf3)]({},_0x57f88e,{'user':_0xa2b7b0});this[_0x3763cb(0xd0)][_0x3763cb(0xd8)](_0xdc9d4f)[_0x3763cb(0xd9)](_0x5608cc);const _0x5bb58d=this[_0x3763cb(0xea)][_0x3763cb(0xd8)](_0xdc9d4f);_0x5bb58d[_0x3763cb(0xc7)](_0xa2b7b0['id'])||_0x5bb58d[_0x3763cb(0xd9)](_0xa2b7b0),this[_0x3763cb(0xcc)][_0x3763cb(0xc7)](_0xa2b7b0['id'])||this[_0x3763cb(0xcc)][_0x3763cb(0xd9)](_0xa2b7b0,_0xa2b7b0[_0x3763cb(0xcb)]?0x0:void 0x0),this[_0x3763cb(0xf4)](_0x3763cb(0xeb)+_0xdc9d4f,{'channelId':_0xdc9d4f,'session':_0x5608cc});}[_0x2af8bf(0xe9)](_0x4a27d1,_0x3904b5){const _0x560c5e=_0x2af8bf;if(_0x560c5e(0xdd)!==this[_0x560c5e(0xcd)][_0x560c5e(0xe7)][_0x560c5e(0xd8)](_0x3fe17c)[_0x560c5e(0xce)])return;const _0x1949cc=this[_0x560c5e(0xea)][_0x560c5e(0xd8)](_0x4a27d1),_0x2cc50c=_0x3904b5[_0x560c5e(0xc8)];_0x2cc50c['id']&&(this[_0x560c5e(0xd0)][_0x560c5e(0xd8)](_0x4a27d1)[_0x560c5e(0xcf)](_0x3904b5['id']),_0x1949cc[_0x560c5e(0xc7)](_0x2cc50c['id'])&&!this[_0x560c5e(0xdf)](_0x2cc50c,_0x4a27d1)[_0x560c5e(0xe1)]&&_0x1949cc[_0x560c5e(0xcf)](_0x2cc50c['id']),this[_0x560c5e(0xcc)][_0x560c5e(0xd8)](_0x2cc50c['id'])&&!this[_0x560c5e(0xdf)](_0x2cc50c)[_0x560c5e(0xe1)]&&this[_0x560c5e(0xcc)][_0x560c5e(0xcf)](_0x2cc50c['id']));}[_0x2af8bf(0xe0)](_0x2eb3bb,_0x376ed4){const _0x3ee361=_0x2af8bf,_0x6d9cbe=this[_0x3ee361(0xf5)][_0x3ee361(0xf8)](_0x2eb3bb);return _0x376ed4&&this[_0x3ee361(0xf5)][_0x3ee361(0xd4)](_0x2eb3bb['id']),_0x6d9cbe[_0x3ee361(0xe6)]=this[_0x3ee361(0xc5)]++,_0x6d9cbe;}}function _0x2b6d(){const _0x5b8ca1=['8MlEqby','sessions-unregister-not-exist','assign','fire','_users','isOfficialPlugin','listenTo','addUser','1598946JSUqws','change:state','1189487OLeKEA','values','getUser','role','mySessionId','Sessions','pluginName','isPremiumPlugin','_uniqueUsersCount','sessions-register-already-registered','has','user','connection','delete','isMe','allConnectedUsers','context','state','remove','channelSessions','clear','register','2496789BBZCbo','defineMe','96568czztwp','10375295IrnHYI','unregister','get','add','getUserRole','6115TdDYsz','set','connected','getUserBySessionId','getUserSessions','_createUser','size','forEach','init','sessionId','stopListening','orderNumber','plugins','1308YVkQGp','_handleSessionRemove','channelConnectedUsers','sessionAdd:','_handleSessionAdd','requires','1902272DyREHf','80awatnb','_registeredSessions'];_0x2b6d=function(){return _0x5b8ca1;};return _0x2b6d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5d919d=_0x5302;(function(_0x48c77a,_0xbe0d41){const _0x2e70c9=_0x5302,_0x50dc93=_0x48c77a();while(!![]){try{const _0x1c640d=-parseInt(_0x2e70c9(0xb9))/0x1+-parseInt(_0x2e70c9(0xdd))/0x2+parseInt(_0x2e70c9(0xc1))/0x3*(parseInt(_0x2e70c9(0x9b))/0x4)+parseInt(_0x2e70c9(0x9a))/0x5+-parseInt(_0x2e70c9(0xd8))/0x6+parseInt(_0x2e70c9(0x92))/0x7*(parseInt(_0x2e70c9(0x69))/0x8)+parseInt(_0x2e70c9(0x7d))/0x9;if(_0x1c640d===_0xbe0d41)break;else _0x50dc93['push'](_0x50dc93['shift']());}catch(_0xeb6cdf){_0x50dc93['push'](_0x50dc93['shift']());}}}(_0xf41b,0xe7622));import{Plugin as _0x74c102}from'ckeditor5/src/core.js';import{global as _0x399e6b,DomEmitterMixin as _0x595e9c}from'ckeditor5/src/utils.js';function _0xf41b(){const _0x592607=['checkChild','data-session-id','createRange','setCustomProperty','2559330Fymjya','1162940TaVVki','applyOperation','mySessionId','hasContent','user:','keydown','rootName','change:range','getUserBySessionId','has','isInline','createUIElement','<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>','user:range','document','ck-user__selection','isOfficialPlugin','markerRange','getContainedElement','marker','render','remove','tableCell','getPositions','stopListening','_createdBatches','user:range:','isSimilar','fromRange','model','866634kKGVDm','deletionPosition','getNearestSelectionRange','orderNumber','mouseenter','updateMarker','highest','editor','3LKeYCO','afterInit','for','batch','span','editing','removeClass','parent','split','innerHTML','isDocumentOperation','markerToElement','</span>','name','mouseleave','isLimit','$graveyard','userPositionMarker','commands','Escape','nodeAfter','getCustomProperty','color','4973112MhbmjC','startsWith','editingDowncast','oldRange','element','1033828ghCwMO','end','markerToHighlight','classList','view','isObject','conversion','listenTo','getMarkerClass','ck-user__marker_hovered','change','getRange','removeMarker','getSelectionClass','pluginName','requires','796328hqujLS','mapper','markers','destroy','selection','undo','user:position:','isCollapsed','getAttribute','delete','start','getStart','ck-user__marker\x20','set','addMarker','init','hasDomSelection','get','add','$text','19426167gtklMy','_domEmitter','schema','update:user:range','reconvertMarker','newRange','addEventListener','isPremiumPlugin','UserMarkers','toRange','contenteditable','user:position','enqueueChange','clear','type','root','toDomElement','createUserMarkerOperations','getFirstRange','markerName','markerNameToElements','14ICLbEA','size','plugins','detach'];_0xf41b=function(){return _0x592607;};return _0xf41b();}import _0x3c7b36 from'./sessions.js';import{LiveRange as _0x102f27}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x5302(_0xe318db,_0x4d2f23){const _0xf41bd9=_0xf41b();return _0x5302=function(_0x53023d,_0x233112){_0x53023d=_0x53023d-0x65;let _0x176fda=_0xf41bd9[_0x53023d];return _0x176fda;},_0x5302(_0xe318db,_0x4d2f23);}export default class H extends _0x74c102{constructor(){const _0x3329ac=_0x5302;super(...arguments),this[_0x3329ac(0x7e)]=new(_0x595e9c())();}static get[_0x5d919d(0x68)](){return[_0x3c7b36];}static get[_0x5d919d(0x67)](){const _0x3cd32f=_0x5d919d;return _0x3cd32f(0x85);}static get[_0x5d919d(0xab)](){return!0x0;}static get[_0x5d919d(0x84)](){return!0x0;}[_0x5d919d(0x78)](){const _0x58f50a=_0x5d919d,_0x8703ba=this[_0x58f50a(0xc0)],_0x440891=_0x8703ba[_0x58f50a(0x94)][_0x58f50a(0x7a)](_0x3c7b36);_0x8703ba[_0x58f50a(0xe3)][_0x58f50a(0xc3)](_0x58f50a(0xda))[_0x58f50a(0xcc)]({'model':_0x58f50a(0x88),'view':(_0x145938,{writer:_0x4a4a2d})=>function(_0x57225d,_0xd7fa9,_0x41bd80,_0x5784b6){const _0x1dd76e=_0x58f50a,_0x339d80=_0x57225d[_0x1dd76e(0x90)][_0x1dd76e(0xc9)](':')[0x2],_0x4b8c39=_0x41bd80[_0x1dd76e(0xa3)](_0x339d80);if(!_0x4b8c39||_0x339d80===_0x41bd80[_0x1dd76e(0x9d)])return;if(!_0x5784b6[_0x1dd76e(0xb8)][_0x1dd76e(0x7f)][_0x1dd76e(0x96)](_0x57225d[_0x1dd76e(0xac)][_0x1dd76e(0x73)],_0x1dd76e(0x7c)))return;const _0x241ec2={'class':_0x1dd76e(0x75)+_0x4b8c39[_0x1dd76e(0xd7)][_0x1dd76e(0xe5)](),'data-name':_0x4b8c39[_0x1dd76e(0xce)],'data-session-id':_0x339d80},_0x26d7d8=_0x5784b6[_0x1dd76e(0xb8)][_0x1dd76e(0x6b)][_0x1dd76e(0x7a)](_0x57225d[_0x1dd76e(0x90)]),_0xe2d10e=_0x26d7d8[_0x1dd76e(0x74)](),_0x1fba5d=_0xe2d10e[_0x1dd76e(0xd5)],_0x469d56=_0x5784b6[_0x1dd76e(0xb8)][_0x1dd76e(0x7f)];if(_0x1fba5d&&_0x469d56[_0x1dd76e(0xe2)](_0x1fba5d)&&_0x469d56[_0x1dd76e(0xa5)](_0x1fba5d)&&!_0x5784b6[_0x1dd76e(0xb8)][_0x1dd76e(0x6b)][_0x1dd76e(0x7a)](_0x1dd76e(0xb5)+_0x339d80)[_0x1dd76e(0xe8)]()[_0x1dd76e(0x70)])return;const _0x382db2=_0xe2d10e[_0x1dd76e(0xc8)];return _0x5784b6[_0x1dd76e(0xb8)][_0x1dd76e(0x7f)][_0x1dd76e(0xd0)](_0x382db2)&&!_0x5784b6[_0x1dd76e(0xb8)][_0x1dd76e(0x9e)](_0x382db2)&&(_0x241ec2[_0x1dd76e(0x87)]=!0x1),function(_0x11b67b,_0x481d7f,_0x491d4f){const _0x328463=_0x1dd76e,_0x3e9f19=_0x11b67b[_0x328463(0xa6)](_0x328463(0xc5),_0x481d7f);return _0x11b67b[_0x328463(0x99)](_0x328463(0xd2),!0x0,_0x3e9f19),_0x3e9f19[_0x328463(0xaf)]=function(_0x453d99){const _0xffea80=_0x328463,_0x597ea0=this[_0xffea80(0x8d)](_0x453d99);return _0x597ea0[_0xffea80(0xca)]=_0xffea80(0xa7)+_0x491d4f[_0xffea80(0xce)]+_0xffea80(0xcd),_0x597ea0[_0xffea80(0x83)](_0xffea80(0xbd),()=>{const _0x10a8a9=_0xffea80;_0x597ea0[_0x10a8a9(0xe0)][_0x10a8a9(0x7b)](_0x10a8a9(0xe6));}),_0x597ea0[_0xffea80(0x83)](_0xffea80(0xcf),()=>{const _0x320d5c=_0xffea80;_0x597ea0[_0x320d5c(0xe0)][_0x320d5c(0xb0)](_0x320d5c(0xe6));}),_0x597ea0;},_0x3e9f19[_0x328463(0xb6)]=function(_0x4f3d10){const _0x4d8177=_0x328463;return!(!this[_0x4d8177(0xd6)](_0x4d8177(0xd2))||!_0x4f3d10[_0x4d8177(0xd6)](_0x4d8177(0xd2))||this[_0x4d8177(0x71)](_0x4d8177(0x97))!=_0x4f3d10[_0x4d8177(0x71)](_0x4d8177(0x97)));},_0x3e9f19;}(_0xd7fa9,_0x241ec2,_0x4b8c39);}(_0x145938,_0x4a4a2d,_0x440891,_0x8703ba)}),_0x8703ba[_0x58f50a(0xe3)][_0x58f50a(0xc3)](_0x58f50a(0xda))[_0x58f50a(0xdf)]({'model':_0x58f50a(0xa8),'view':_0x4ce86a=>function(_0x445bfd,_0x126e76){const _0x20c97e=_0x58f50a,_0x684d91=_0x445bfd[_0x20c97e(0x90)][_0x20c97e(0xc9)](':')[0x2];if(_0x684d91===_0x126e76[_0x20c97e(0x9d)])return null;const _0xfd4de1=_0x126e76[_0x20c97e(0xa3)](_0x684d91);if(!_0xfd4de1)return{'id':_0x684d91,'classes':[]};return{'id':_0x684d91,'classes':[_0x20c97e(0xaa),_0xfd4de1[_0x20c97e(0xd7)][_0x20c97e(0x66)]()],'attributes':{'data-session-id':_0x684d91},'priority':0x7d0+_0xfd4de1[_0x20c97e(0xbc)]};}(_0x4ce86a,_0x440891)}),function(_0x508505){const _0x518065=_0x58f50a,_0x441367=_0x508505[_0x518065(0xb8)],_0x3e6b16=new Map(),_0x452bfc=_0x508505[_0x518065(0x94)][_0x518065(0x7a)](_0x3c7b36);_0x441367[_0x518065(0x6b)]['on'](_0x518065(0x80),(_0x35db87,_0x4e7bf1,_0xed90f6,_0x44cc24)=>{const _0x199438=_0x518065;if(!_0x44cc24&&_0x3e6b16[_0x199438(0x7a)](_0x4e7bf1[_0x199438(0xce)]))return _0x3e6b16[_0x199438(0x7a)](_0x4e7bf1[_0x199438(0xce)])[_0x199438(0x95)](),void _0x3e6b16[_0x199438(0x72)](_0x4e7bf1[_0x199438(0xce)]);const _0x1af09=_0x4e7bf1[_0x199438(0xce)][_0x199438(0xc9)](':')[0x2];if(_0x1af09===_0x452bfc[_0x199438(0x9d)])return;const _0x256812=_0x199438(0x6f)+_0x1af09;_0x441367[_0x199438(0x6b)][_0x199438(0xa4)](_0x256812)&&_0x508505[_0x199438(0xc6)][_0x199438(0x81)](_0x256812),_0x4e7bf1['on'](_0x199438(0xa2),(_0x343542,_0x2a7902,_0x41b439)=>{const _0x1914a4=_0x199438;if(_0x1914a4(0xd1)!=_0x2a7902[_0x1914a4(0x8c)][_0x1914a4(0xa1)]&&_0x1914a4(0xd1)==_0x4e7bf1[_0x1914a4(0xe8)]()[_0x1914a4(0x8c)][_0x1914a4(0xa1)]&&!_0x3e6b16[_0x1914a4(0xa4)](_0x4e7bf1[_0x1914a4(0xce)])){const _0x3d9498=_0x441367[_0x1914a4(0x7f)][_0x1914a4(0xbb)](_0x41b439[_0x1914a4(0xba)]);if(_0x3d9498){const _0x14624a=_0x102f27[_0x1914a4(0xb7)](_0x3d9498);_0x3e6b16[_0x1914a4(0x76)](_0x4e7bf1[_0x1914a4(0xce)],_0x14624a),_0x14624a['on'](_0x1914a4(0xa2),(_0x9121fa,_0x4368f1,_0x28c54d)=>{const _0x13c9d9=_0x1914a4;if(_0x13c9d9(0xd1)==_0x14624a[_0x13c9d9(0x8c)][_0x13c9d9(0xa1)]){const _0x52874d=_0x441367[_0x13c9d9(0x7f)][_0x13c9d9(0xbb)](_0x28c54d[_0x13c9d9(0xba)]);_0x52874d?(_0x14624a[_0x13c9d9(0x73)]=_0x52874d[_0x13c9d9(0x73)],_0x14624a[_0x13c9d9(0xde)]=_0x52874d[_0x13c9d9(0xde)]):(_0x3e6b16[_0x13c9d9(0x72)](_0x4e7bf1[_0x13c9d9(0xce)]),_0x14624a[_0x13c9d9(0x95)]());}});}}});}),_0x441367[_0x518065(0xa9)]['on'](_0x518065(0xe7),()=>{const _0x1aa107=_0x518065;_0x3e6b16[_0x1aa107(0x93)]>0x0&&_0x441367[_0x1aa107(0x89)]({'isUndoable':!0x1},_0xd3ac17=>{const _0x34e188=_0x1aa107;for(const [_0x1169a1,_0x41957b]of _0x3e6b16)_0x34e188(0xd1)==_0x441367[_0x34e188(0x6b)][_0x34e188(0x7a)](_0x1169a1)[_0x34e188(0xe8)]()[_0x34e188(0x8c)][_0x34e188(0xa1)]&&(re(_0x1169a1[_0x34e188(0xc9)](':')[0x2],_0x41957b[_0x34e188(0x86)](),_0x441367,_0xd3ac17),_0x41957b[_0x34e188(0x95)]());_0x3e6b16[_0x34e188(0x8a)]();});});}(_0x8703ba),this[_0x58f50a(0x7e)][_0x58f50a(0xe4)](_0x399e6b[_0x58f50a(0xa9)],_0x58f50a(0xa0),(_0x25df35,{key:_0x23aafc})=>{const _0x5d368b=_0x58f50a;_0x5d368b(0xd4)===_0x23aafc&&function(_0x9da02a){const _0x51dcc5=_0x5d368b;_0x9da02a[_0x51dcc5(0xc6)][_0x51dcc5(0xe1)][_0x51dcc5(0xe7)](_0x2c9f7a=>{const _0x312e76=_0x51dcc5;for(const _0x19395b of _0x9da02a[_0x312e76(0xb8)][_0x312e76(0x6b)]){if(!_0x19395b[_0x312e76(0xce)][_0x312e76(0xd9)](_0x312e76(0x88)))continue;const _0x35aec0=_0x9da02a[_0x312e76(0xc6)][_0x312e76(0x6a)][_0x312e76(0x91)](_0x19395b[_0x312e76(0xce)]);if(_0x35aec0){for(const _0x2b642a of _0x35aec0)_0x2c9f7a[_0x312e76(0xc7)](_0x312e76(0xe6),_0x2b642a);}}});}(_0x8703ba);},{'useCapture':!0x0});}[_0x5d919d(0xc2)](){const _0x56de0e=_0x5d919d,_0xf419a1=this[_0x56de0e(0xc0)],_0x1aa94c=_0xf419a1[_0x56de0e(0xd3)][_0x56de0e(0x7a)](_0x56de0e(0x6e));_0x1aa94c&&_0xf419a1[_0x56de0e(0xb8)]['on'](_0x56de0e(0x9c),(_0x2bceb0,_0x49f262)=>{const _0x38c01f=_0x56de0e,_0x1cb34f=_0x49f262[0x0];if(!_0x1cb34f[_0x38c01f(0xcb)])return;if(_0x38c01f(0xae)!=_0x1cb34f[_0x38c01f(0x8b)]||!_0x1cb34f[_0x38c01f(0xce)][_0x38c01f(0xd9)](_0x38c01f(0x9f)))return;const _0x3bd94a=_0x1cb34f[_0x38c01f(0xc4)];_0x1aa94c[_0x38c01f(0xb4)][_0x38c01f(0xa4)](_0x3bd94a)&&(_0x1cb34f[_0x38c01f(0x82)]=_0x1cb34f[_0x38c01f(0xdb)]?_0xf419a1[_0x38c01f(0xb8)][_0x38c01f(0x98)](_0x1cb34f[_0x38c01f(0xdb)][_0x38c01f(0x73)],_0x1cb34f[_0x38c01f(0xdb)][_0x38c01f(0xde)]):null);},{'priority':_0x56de0e(0xbf)});}[_0x5d919d(0x6c)](){const _0x40b5d0=_0x5d919d;return this[_0x40b5d0(0x7e)][_0x40b5d0(0xb3)](),super[_0x40b5d0(0x6c)]();}[_0x5d919d(0x8e)](){const _0xa4118d=_0x5d919d,_0xb76b2d=this[_0xa4118d(0xc0)],_0x123fca=_0xb76b2d[_0xa4118d(0xb8)][_0xa4118d(0xa9)],_0x385a87=_0xb76b2d[_0xa4118d(0x94)][_0xa4118d(0x7a)](_0x3c7b36);_0xb76b2d[_0xa4118d(0xb8)][_0xa4118d(0x89)]({'isUndoable':!0x1},_0x2c2d9e=>{const _0x328e01=_0xa4118d,_0x1344c6=_0x328e01(0xb5)+_0x385a87[_0x328e01(0x9d)],_0x82eeaf=_0x328e01(0x6f)+_0x385a87[_0x328e01(0x9d)],_0x46a098=_0xb76b2d[_0x328e01(0xb8)][_0x328e01(0x6b)][_0x328e01(0xa4)](_0x1344c6);_0xb76b2d[_0x328e01(0xc6)][_0x328e01(0xe1)][_0x328e01(0x79)]?re(_0x385a87[_0x328e01(0x9d)],_0x123fca[_0x328e01(0x6d)][_0x328e01(0x8f)](),_0xb76b2d[_0x328e01(0xb8)],_0x2c2d9e):_0x46a098&&(_0x2c2d9e[_0x328e01(0x65)](_0x1344c6),_0x2c2d9e[_0x328e01(0x65)](_0x82eeaf));});}}function re(_0x15f71f,_0x1602b5,_0x4306e1,_0x2668da){const _0x554a45=_0x5d919d,_0xc08fdb=_0x554a45(0xb5)+_0x15f71f,_0x573b25=_0x554a45(0x6f)+_0x15f71f,_0x31a188=_0x1602b5[_0x554a45(0xad)]();let _0xb7c77=_0x1602b5[_0x554a45(0x73)];_0x31a188&&_0x31a188['is'](_0x554a45(0xdc),_0x554a45(0xb1))&&(_0xb7c77=function(_0x3c18f5,_0x148f80){const _0x11aec6=_0x554a45;for(const _0x3135fa of _0x3c18f5[_0x11aec6(0xb2)]())if(_0x148f80[_0x11aec6(0x7f)][_0x11aec6(0x96)](_0x3135fa,_0x11aec6(0x7c)))return _0x3135fa;}(_0x1602b5,_0x4306e1),_0x1602b5=_0x2668da[_0x554a45(0x98)](_0xb7c77));const _0xd9ad80=_0x2668da[_0x554a45(0x98)](_0xb7c77);_0x4306e1[_0x554a45(0x6b)][_0x554a45(0xa4)](_0xc08fdb)?(_0x2668da[_0x554a45(0xbe)](_0xc08fdb,{'range':_0x1602b5}),_0x2668da[_0x554a45(0xbe)](_0x573b25,{'range':_0xd9ad80})):(_0x2668da[_0x554a45(0x77)](_0xc08fdb,{'range':_0x1602b5,'usingOperation':!0x0}),_0x2668da[_0x554a45(0x77)](_0x573b25,{'range':_0xd9ad80,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x2be542=_0x88d2;(function(_0x4cee28,_0x5d8f17){const _0x56b69f=_0x88d2,_0x2b281a=_0x4cee28();while(!![]){try{const _0xfebe64=parseInt(_0x56b69f(0x14b))/0x1+parseInt(_0x56b69f(0x15e))/0x2*(-parseInt(_0x56b69f(0x17d))/0x3)+-parseInt(_0x56b69f(0x16c))/0x4*(parseInt(_0x56b69f(0x12e))/0x5)+-parseInt(_0x56b69f(0x129))/0x6*(-parseInt(_0x56b69f(0x174))/0x7)+parseInt(_0x56b69f(0x145))/0x8+-parseInt(_0x56b69f(0x133))/0x9*(parseInt(_0x56b69f(0x15d))/0xa)+parseInt(_0x56b69f(0x148))/0xb;if(_0xfebe64===_0x5d8f17)break;else _0x2b281a['push'](_0x2b281a['shift']());}catch(_0x4dea14){_0x2b281a['push'](_0x2b281a['shift']());}}}(_0x405a,0x513fc));import{Plugin as _0x582696}from'ckeditor5/src/core.js';function _0x88d2(_0x577a8a,_0x52e909){const _0x405a73=_0x405a();return _0x88d2=function(_0x88d29d,_0x512667){_0x88d29d=_0x88d29d-0x110;let _0x1e8351=_0x405a73[_0x88d29d];return _0x1e8351;},_0x88d2(_0x577a8a,_0x52e909);}import{global as _0x29dcb2,DomEmitterMixin as _0x3f4bf1}from'ckeditor5/src/utils.js';import _0x5a54bc from'./sessions.js';import{LiveRange as _0x34ac85}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x582696{constructor(){const _0x19bb35=_0x88d2;super(...arguments),this[_0x19bb35(0x17f)]=new(_0x3f4bf1())();}static get[_0x2be542(0x16d)](){return[_0x5a54bc];}static get[_0x2be542(0x11d)](){const _0x512fa8=_0x2be542;return _0x512fa8(0x176);}static get[_0x2be542(0x15f)](){return!0x0;}static get[_0x2be542(0x13b)](){return!0x0;}[_0x2be542(0x154)](){const _0x1cebf7=_0x2be542,_0x1df7ed=this[_0x1cebf7(0x16b)],_0x4ffb0d=_0x1df7ed[_0x1cebf7(0x111)][_0x1cebf7(0x14e)](_0x5a54bc);_0x1df7ed[_0x1cebf7(0x163)][_0x1cebf7(0x12d)](_0x1cebf7(0x13c))[_0x1cebf7(0x139)]({'model':_0x1cebf7(0x123),'view':(_0x4ccc88,{writer:_0x26deea})=>function(_0x4ab5bd,_0x295c15,_0x222936,_0x42eac5){const _0x110f6f=_0x1cebf7,_0x127115=_0x4ab5bd[_0x110f6f(0x161)][_0x110f6f(0x164)](':')[0x2],_0x3bf8af=_0x222936[_0x110f6f(0x136)](_0x127115);if(!_0x3bf8af||_0x127115===_0x222936[_0x110f6f(0x170)])return;if(!_0x42eac5[_0x110f6f(0x13e)][_0x110f6f(0x167)][_0x110f6f(0x14c)](_0x4ab5bd[_0x110f6f(0x117)][_0x110f6f(0x149)],_0x110f6f(0x14a)))return;const _0x4e37ca={'class':_0x110f6f(0x153)+_0x3bf8af[_0x110f6f(0x121)][_0x110f6f(0x118)](),'data-name':_0x3bf8af[_0x110f6f(0x112)],'data-session-id':_0x127115},_0x3c3ef9=_0x42eac5[_0x110f6f(0x13e)][_0x110f6f(0x158)][_0x110f6f(0x14e)](_0x4ab5bd[_0x110f6f(0x161)]),_0x1fa4cf=_0x3c3ef9[_0x110f6f(0x114)](),_0x12b34a=_0x1fa4cf[_0x110f6f(0x14f)],_0x2bd0ba=_0x42eac5[_0x110f6f(0x13e)][_0x110f6f(0x167)];if(_0x12b34a&&_0x2bd0ba[_0x110f6f(0x151)](_0x12b34a)&&_0x2bd0ba[_0x110f6f(0x194)](_0x12b34a)&&!_0x42eac5[_0x110f6f(0x13e)][_0x110f6f(0x158)][_0x110f6f(0x14e)](_0x110f6f(0x172)+_0x127115)[_0x110f6f(0x162)]()[_0x110f6f(0x191)])return;const _0x5f5891=_0x1fa4cf[_0x110f6f(0x11b)];return _0x42eac5[_0x110f6f(0x13e)][_0x110f6f(0x167)][_0x110f6f(0x18b)](_0x5f5891)&&!_0x42eac5[_0x110f6f(0x13e)][_0x110f6f(0x142)](_0x5f5891)&&(_0x4e37ca[_0x110f6f(0x119)]=!0x1),function(_0x18903f,_0x5db98e,_0x5a7a3c){const _0x4d479a=_0x110f6f,_0x3744ad=_0x18903f[_0x4d479a(0x130)](_0x4d479a(0x115),_0x5db98e);return _0x18903f[_0x4d479a(0x184)](_0x4d479a(0x124),!0x0,_0x3744ad),_0x3744ad[_0x4d479a(0x165)]=function(_0x3dcd65){const _0x37f928=_0x4d479a,_0x7ea54=this[_0x37f928(0x120)](_0x3dcd65);return _0x7ea54[_0x37f928(0x141)]=_0x37f928(0x169)+_0x5a7a3c[_0x37f928(0x112)]+_0x37f928(0x166),_0x7ea54[_0x37f928(0x135)](_0x37f928(0x156),()=>{const _0x41e81c=_0x37f928;_0x7ea54[_0x41e81c(0x11e)][_0x41e81c(0x15a)](_0x41e81c(0x17a));}),_0x7ea54[_0x37f928(0x135)](_0x37f928(0x16f),()=>{const _0x4d988d=_0x37f928;_0x7ea54[_0x4d988d(0x11e)][_0x4d988d(0x188)](_0x4d988d(0x17a));}),_0x7ea54;},_0x3744ad[_0x4d479a(0x171)]=function(_0x1ffb1d){const _0x15c431=_0x4d479a;return!(!this[_0x15c431(0x159)](_0x15c431(0x124))||!_0x1ffb1d[_0x15c431(0x159)](_0x15c431(0x124))||this[_0x15c431(0x152)](_0x15c431(0x12a))!=_0x1ffb1d[_0x15c431(0x152)](_0x15c431(0x12a)));},_0x3744ad;}(_0x295c15,_0x4e37ca,_0x3bf8af);}(_0x4ccc88,_0x26deea,_0x4ffb0d,_0x1df7ed)}),_0x1df7ed[_0x1cebf7(0x163)][_0x1cebf7(0x12d)](_0x1cebf7(0x13c))[_0x1cebf7(0x132)]({'model':_0x1cebf7(0x134),'view':_0x38a423=>function(_0x53e5a5,_0x2c77ac){const _0x510784=_0x1cebf7,_0x40e323=_0x53e5a5[_0x510784(0x161)][_0x510784(0x164)](':')[0x2];if(_0x40e323===_0x2c77ac[_0x510784(0x170)])return null;const _0x519784=_0x2c77ac[_0x510784(0x136)](_0x40e323);if(!_0x519784)return{'id':_0x40e323,'classes':[]};return{'id':_0x40e323,'classes':[_0x510784(0x11a),_0x519784[_0x510784(0x121)][_0x510784(0x178)]()],'attributes':{'data-session-id':_0x40e323},'priority':0x7d0+_0x519784[_0x510784(0x143)]};}(_0x38a423,_0x4ffb0d)}),function(_0x6bb5ed){const _0x34d541=_0x1cebf7,_0x14d669=_0x6bb5ed[_0x34d541(0x13e)],_0x989adb=new Map(),_0x2e2594=_0x6bb5ed[_0x34d541(0x111)][_0x34d541(0x14e)](_0x5a54bc);_0x14d669[_0x34d541(0x158)]['on'](_0x34d541(0x146),(_0x4e5d92,_0x1761a9,_0x45c204,_0xe5d2a5)=>{const _0x26fc7b=_0x34d541;if(!_0xe5d2a5&&_0x989adb[_0x26fc7b(0x14e)](_0x1761a9[_0x26fc7b(0x112)]))return _0x989adb[_0x26fc7b(0x14e)](_0x1761a9[_0x26fc7b(0x112)])[_0x26fc7b(0x181)](),void _0x989adb[_0x26fc7b(0x127)](_0x1761a9[_0x26fc7b(0x112)]);const _0x434dd3=_0x1761a9[_0x26fc7b(0x112)][_0x26fc7b(0x164)](':')[0x2];if(_0x434dd3===_0x2e2594[_0x26fc7b(0x170)])return;const _0x7fa183=_0x26fc7b(0x190)+_0x434dd3;_0x14d669[_0x26fc7b(0x158)][_0x26fc7b(0x138)](_0x7fa183)&&_0x6bb5ed[_0x26fc7b(0x144)][_0x26fc7b(0x17b)](_0x7fa183),_0x1761a9['on'](_0x26fc7b(0x175),(_0x3ba7df,_0x401b57,_0x3ca21d)=>{const _0x5e39d0=_0x26fc7b;if(_0x5e39d0(0x128)!=_0x401b57[_0x5e39d0(0x12f)][_0x5e39d0(0x125)]&&_0x5e39d0(0x128)==_0x1761a9[_0x5e39d0(0x162)]()[_0x5e39d0(0x12f)][_0x5e39d0(0x125)]&&!_0x989adb[_0x5e39d0(0x138)](_0x1761a9[_0x5e39d0(0x112)])){const _0x4c3b15=_0x14d669[_0x5e39d0(0x167)][_0x5e39d0(0x18c)](_0x3ca21d[_0x5e39d0(0x173)]);if(_0x4c3b15){const _0x2e3244=_0x34ac85[_0x5e39d0(0x126)](_0x4c3b15);_0x989adb[_0x5e39d0(0x187)](_0x1761a9[_0x5e39d0(0x112)],_0x2e3244),_0x2e3244['on'](_0x5e39d0(0x175),(_0xd7f885,_0x1b6db0,_0x260b7b)=>{const _0x5066cd=_0x5e39d0;if(_0x5066cd(0x128)==_0x2e3244[_0x5066cd(0x12f)][_0x5066cd(0x125)]){const _0xceedf6=_0x14d669[_0x5066cd(0x167)][_0x5066cd(0x18c)](_0x260b7b[_0x5066cd(0x173)]);_0xceedf6?(_0x2e3244[_0x5066cd(0x149)]=_0xceedf6[_0x5066cd(0x149)],_0x2e3244[_0x5066cd(0x168)]=_0xceedf6[_0x5066cd(0x168)]):(_0x989adb[_0x5066cd(0x127)](_0x1761a9[_0x5066cd(0x112)]),_0x2e3244[_0x5066cd(0x181)]());}});}}});}),_0x14d669[_0x34d541(0x11f)]['on'](_0x34d541(0x192),()=>{const _0x12b053=_0x34d541;_0x989adb[_0x12b053(0x140)]>0x0&&_0x14d669[_0x12b053(0x185)]({'isUndoable':!0x1},_0x1047cd=>{const _0x223cf1=_0x12b053;for(const [_0x30a226,_0x187629]of _0x989adb)_0x223cf1(0x128)==_0x14d669[_0x223cf1(0x158)][_0x223cf1(0x14e)](_0x30a226)[_0x223cf1(0x162)]()[_0x223cf1(0x12f)][_0x223cf1(0x125)]&&(re(_0x30a226[_0x223cf1(0x164)](':')[0x2],_0x187629[_0x223cf1(0x13f)](),_0x14d669,_0x1047cd),_0x187629[_0x223cf1(0x181)]());_0x989adb[_0x223cf1(0x12b)]();});});}(_0x1df7ed),this[_0x1cebf7(0x17f)][_0x1cebf7(0x15b)](_0x29dcb2[_0x1cebf7(0x11f)],_0x1cebf7(0x183),(_0xdbc2b9,{key:_0x19becc})=>{const _0x49eee7=_0x1cebf7;_0x49eee7(0x160)===_0x19becc&&function(_0x59a5b4){const _0x364504=_0x49eee7;_0x59a5b4[_0x364504(0x144)][_0x364504(0x179)][_0x364504(0x192)](_0x19d7c4=>{const _0x469edc=_0x364504;for(const _0x15a8f5 of _0x59a5b4[_0x469edc(0x13e)][_0x469edc(0x158)]){if(!_0x15a8f5[_0x469edc(0x112)][_0x469edc(0x16e)](_0x469edc(0x123)))continue;const _0x28559a=_0x59a5b4[_0x469edc(0x144)][_0x469edc(0x131)][_0x469edc(0x18d)](_0x15a8f5[_0x469edc(0x112)]);if(_0x28559a){for(const _0x4bd3cf of _0x28559a)_0x19d7c4[_0x469edc(0x17c)](_0x469edc(0x17a),_0x4bd3cf);}}});}(_0x1df7ed);},{'useCapture':!0x0});}[_0x2be542(0x155)](){const _0x1beb5d=_0x2be542,_0x1ad53e=this[_0x1beb5d(0x16b)],_0x24eb00=_0x1ad53e[_0x1beb5d(0x113)][_0x1beb5d(0x14e)](_0x1beb5d(0x13a));_0x24eb00&&_0x1ad53e[_0x1beb5d(0x13e)]['on'](_0x1beb5d(0x122),(_0x4b9766,_0x3d3969)=>{const _0x1de3e5=_0x1beb5d,_0x48e3ac=_0x3d3969[0x0];if(!_0x48e3ac[_0x1de3e5(0x18f)])return;if(_0x1de3e5(0x180)!=_0x48e3ac[_0x1de3e5(0x137)]||!_0x48e3ac[_0x1de3e5(0x112)][_0x1de3e5(0x16e)](_0x1de3e5(0x16a)))return;const _0x2531ea=_0x48e3ac[_0x1de3e5(0x195)];_0x24eb00[_0x1de3e5(0x150)][_0x1de3e5(0x138)](_0x2531ea)&&(_0x48e3ac[_0x1de3e5(0x11c)]=_0x48e3ac[_0x1de3e5(0x193)]?_0x1ad53e[_0x1de3e5(0x13e)][_0x1de3e5(0x186)](_0x48e3ac[_0x1de3e5(0x193)][_0x1de3e5(0x149)],_0x48e3ac[_0x1de3e5(0x193)][_0x1de3e5(0x168)]):null);},{'priority':_0x1beb5d(0x177)});}[_0x2be542(0x12c)](){const _0x873808=_0x2be542;return this[_0x873808(0x17f)][_0x873808(0x15c)](),super[_0x873808(0x12c)]();}[_0x2be542(0x18e)](){const _0x3ec442=_0x2be542,_0x41e3a2=this[_0x3ec442(0x16b)],_0x19caab=_0x41e3a2[_0x3ec442(0x13e)][_0x3ec442(0x11f)],_0x4d8e69=_0x41e3a2[_0x3ec442(0x111)][_0x3ec442(0x14e)](_0x5a54bc);_0x41e3a2[_0x3ec442(0x13e)][_0x3ec442(0x185)]({'isUndoable':!0x1},_0x273a7d=>{const _0x1c3cd9=_0x3ec442,_0x3ddfaf=_0x1c3cd9(0x172)+_0x4d8e69[_0x1c3cd9(0x170)],_0x22db84=_0x1c3cd9(0x190)+_0x4d8e69[_0x1c3cd9(0x170)],_0x9248d9=_0x41e3a2[_0x1c3cd9(0x13e)][_0x1c3cd9(0x158)][_0x1c3cd9(0x138)](_0x3ddfaf);_0x41e3a2[_0x1c3cd9(0x144)][_0x1c3cd9(0x179)][_0x1c3cd9(0x17e)]?re(_0x4d8e69[_0x1c3cd9(0x170)],_0x19caab[_0x1c3cd9(0x110)][_0x1c3cd9(0x182)](),_0x41e3a2[_0x1c3cd9(0x13e)],_0x273a7d):_0x9248d9&&(_0x273a7d[_0x1c3cd9(0x189)](_0x3ddfaf),_0x273a7d[_0x1c3cd9(0x189)](_0x22db84));});}}function _0x405a(){const _0x95f827=['isCollapsed','change','oldRange','isInline','batch','selection','plugins','name','commands','getStart','span','getPositions','markerRange','getMarkerClass','contenteditable','ck-user__selection','parent','newRange','pluginName','classList','document','toDomElement','color','applyOperation','user:position','userPositionMarker','rootName','fromRange','delete','$graveyard','6bfTnJQ','data-session-id','clear','destroy','for','56285hlDJtu','root','createUIElement','mapper','markerToHighlight','18zGZQnv','user:range','addEventListener','getUserBySessionId','type','has','markerToElement','undo','isPremiumPlugin','editingDowncast','updateMarker','model','toRange','size','innerHTML','hasContent','orderNumber','editing','5134352LROHQq','update:user:range','addMarker','93830LAGlLm','start','$text','660906HAnuXj','checkChild','getContainedElement','get','nodeAfter','_createdBatches','isObject','getAttribute','ck-user__marker\x20','init','afterInit','mouseenter','tableCell','markers','getCustomProperty','add','listenTo','stopListening','3082610IcSWBc','6JLWFDn','isOfficialPlugin','Escape','markerName','getRange','conversion','split','render','</span>','schema','end','<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>','user:','editor','228fBARtz','requires','startsWith','mouseleave','mySessionId','isSimilar','user:range:','deletionPosition','3384836jJnkgP','change:range','UserMarkers','highest','getSelectionClass','view','ck-user__marker_hovered','reconvertMarker','removeClass','203811uyjcDE','hasDomSelection','_domEmitter','marker','detach','getFirstRange','keydown','setCustomProperty','enqueueChange','createRange','set','remove','removeMarker','element','isLimit','getNearestSelectionRange','markerNameToElements','createUserMarkerOperations','isDocumentOperation','user:position:'];_0x405a=function(){return _0x95f827;};return _0x405a();}function re(_0x33080a,_0x467d81,_0x10cd01,_0x3e5beb){const _0x4308f6=_0x2be542,_0x1febbf=_0x4308f6(0x172)+_0x33080a,_0x2d527b=_0x4308f6(0x190)+_0x33080a,_0x546bfa=_0x467d81[_0x4308f6(0x14d)]();let _0xb0594e=_0x467d81[_0x4308f6(0x149)];_0x546bfa&&_0x546bfa['is'](_0x4308f6(0x18a),_0x4308f6(0x157))&&(_0xb0594e=function(_0x1707d0,_0x49eedc){const _0x59bb3b=_0x4308f6;for(const _0xa8548b of _0x1707d0[_0x59bb3b(0x116)]())if(_0x49eedc[_0x59bb3b(0x167)][_0x59bb3b(0x14c)](_0xa8548b,_0x59bb3b(0x14a)))return _0xa8548b;}(_0x467d81,_0x10cd01),_0x467d81=_0x3e5beb[_0x4308f6(0x186)](_0xb0594e));const _0x2698f5=_0x3e5beb[_0x4308f6(0x186)](_0xb0594e);_0x10cd01[_0x4308f6(0x158)][_0x4308f6(0x138)](_0x1febbf)?(_0x3e5beb[_0x4308f6(0x13d)](_0x1febbf,{'range':_0x467d81}),_0x3e5beb[_0x4308f6(0x13d)](_0x2d527b,{'range':_0x2698f5})):(_0x3e5beb[_0x4308f6(0x147)](_0x1febbf,{'range':_0x467d81,'usingOperation':!0x0}),_0x3e5beb[_0x4308f6(0x147)](_0x2d527b,{'range':_0x2698f5,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe4dc=_0x1de5;function _0x1de5(_0x32c698,_0x2d6171){const _0xa7a2d8=_0xa7a2();return _0x1de5=function(_0x1de5c9,_0x3f5388){_0x1de5c9=_0x1de5c9-0x74;let _0x158606=_0xa7a2d8[_0x1de5c9];return _0x158606;},_0x1de5(_0x32c698,_0x2d6171);}(function(_0x38cb1e,_0x48d96c){const _0x59448f=_0x1de5,_0x1e4012=_0x38cb1e();while(!![]){try{const _0x2d105d=parseInt(_0x59448f(0xb4))/0x1+-parseInt(_0x59448f(0x91))/0x2+-parseInt(_0x59448f(0xaa))/0x3+parseInt(_0x59448f(0xa3))/0x4*(-parseInt(_0x59448f(0xae))/0x5)+-parseInt(_0x59448f(0xb5))/0x6+-parseInt(_0x59448f(0xb8))/0x7+parseInt(_0x59448f(0x9f))/0x8;if(_0x2d105d===_0x48d96c)break;else _0x1e4012['push'](_0x1e4012['shift']());}catch(_0x4124c9){_0x1e4012['push'](_0x1e4012['shift']());}}}(_0xa7a2,0x839a5));function _0xa7a2(){const _0x39d69e=['reconnect','_reconnect','delete','22685736kTNWvN','CONNECTED','Connected\x20users\x20limit\x20exceeded','bind','496NGKHUP','DISCONNECTED','token','function','add','_isBrowserOffline','showWarning','916062KNHcuK','CONNECTING','state','websocketgateway-missing-websocket-url','41330QiXCIq','cloudservices-reconnection-error','WebSocketGateway','error','_domEmitter','online','943983TTFzuO','1128792IsKqsg','_shouldPluginsReconnect','real-time-collaboration','5880630HIsBRt','offline','cloudservices-init','context','connected','websocketgateway-invalid-plugin-interface','destroy','requires','_reconnectionStack','isInReconnectionStack','cloudServices.requestTimeout','disconnect','init','constructor','websocketgateway-missing-token','code','removeFromReconnectionStack','create','set','has','cloudServices.connectionTimeout','webSocketUrl','then','connect','catch','initialReconnectionInterval','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.','from','isOfficialPlugin','plugins','all','define','addToReconnectionStack','stopListening','1764190WdoFEF','limitExceeded','CloudServices','change:me','get','isPremiumPlugin','listenTo','config','connection','websocketgateway-plugin-already-registered','pluginName'];_0xa7a2=function(){return _0x39d69e;};return _0xa7a2();}import{ContextPlugin as _0x167690}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x5284dd,CKEditorError as _0x244f7c}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x494135,WEB_SOCKET_GATEWAY_STATES as _0x3a6c80}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x3e1067}from'ckeditor5/src/ui.js';class c extends _0x167690{static get[_0xe4dc(0x76)](){const _0x5cac48=_0xe4dc;return[_0x5cac48(0x93),_0x3e1067];}static get[_0xe4dc(0x9b)](){const _0x15266d=_0xe4dc;return _0x15266d(0xb0);}static get[_0xe4dc(0x8b)](){return!0x0;}static get[_0xe4dc(0x96)](){return!0x0;}constructor(_0x49c627){const _0x6bdfff=_0xe4dc;super(_0x49c627),this[_0x6bdfff(0x81)](_0x6bdfff(0xac),_0x3a6c80[_0x6bdfff(0xa0)]),this[_0x6bdfff(0x81)](_0x6bdfff(0xa8),!0x1),this[_0x6bdfff(0x77)]=new Set(),this[_0x6bdfff(0xb6)]=!0x1,this[_0x6bdfff(0xb2)]=Object[_0x6bdfff(0x80)](_0x5284dd);}[_0xe4dc(0x7b)](){const _0x540175=_0xe4dc,_0x4011e3=this[_0x540175(0xbb)],_0x37be3a=_0x4011e3[_0x540175(0x8c)][_0x540175(0x95)](_0x540175(0x93)),_0x16f221=_0x4011e3[_0x540175(0x8c)][_0x540175(0x95)](_0x3e1067);if(!_0x37be3a[_0x540175(0xa5)])throw new _0x244f7c(_0x540175(0x7d),this);if(!_0x37be3a[_0x540175(0x84)])throw new _0x244f7c(_0x540175(0xad),this);return this[_0x540175(0xb2)][_0x540175(0x97)](window,_0x540175(0xb9),()=>this[_0x540175(0xa8)]=!0x0),this[_0x540175(0xb2)][_0x540175(0x97)](window,_0x540175(0xb3),()=>this[_0x540175(0xa8)]=!0x1),this[_0x540175(0xbb)][_0x540175(0x98)][_0x540175(0x8e)](_0x540175(0x83),0xa),this[_0x540175(0xbb)][_0x540175(0x98)][_0x540175(0x8e)](_0x540175(0x79),0x14),c[_0x540175(0xb0)][_0x540175(0x86)](_0x37be3a[_0x540175(0xa5)],_0x37be3a[_0x540175(0x84)],{'timeout':0x3e8*this[_0x540175(0xbb)][_0x540175(0x98)][_0x540175(0x95)](_0x540175(0x83)),'requestTimeout':0x3e8*this[_0x540175(0xbb)][_0x540175(0x98)][_0x540175(0x95)](_0x540175(0x79))})[_0x540175(0x85)](_0x414666=>{const _0x5582a5=_0x540175;if(this[_0x5582a5(0x99)]=_0x414666,this[_0x5582a5(0xa2)](_0x5582a5(0xac))['to'](_0x414666,_0x5582a5(0xac),this,_0x5582a5(0xa8),(_0x4f100f,_0x25cf89)=>(_0x5582a5(0xbc)!==_0x4f100f&&(this[_0x5582a5(0xb6)]=!0x0),_0x25cf89||_0x4f100f!==_0x3a6c80[_0x5582a5(0xa0)]?_0x3a6c80[_0x5582a5(0xa4)]:this[_0x5582a5(0xac)]==_0x3a6c80[_0x5582a5(0xa4)]&&this[_0x5582a5(0xb6)]?(this[_0x5582a5(0xb6)]=!0x1,this[_0x5582a5(0x9d)](),_0x3a6c80[_0x5582a5(0xab)]):_0x3a6c80[_0x5582a5(0xa0)])),this[_0x5582a5(0x99)]['on'](_0x5582a5(0xb1),(_0x543705,_0x25e19e)=>{const _0x47255b=_0x5582a5;if(_0x47255b(0x92)!==_0x25e19e[_0x47255b(0x7e)])throw console[_0x47255b(0xb1)](_0x25e19e),new _0x244f7c(_0x47255b(0xba),null,{'originalError':_0x25e19e});_0x16f221[_0x47255b(0xa9)](_0x47255b(0x89),{'title':_0x47255b(0xa1),'namespace':_0x47255b(0xb7)});}),!_0x414666['me'])return new Promise(_0x9a0a90=>_0x414666['on'](_0x5582a5(0x94),_0x9a0a90));})[_0x540175(0x87)](_0x1e8a31=>{const _0x1321b5=_0x540175;throw console[_0x1321b5(0xb1)](_0x1e8a31),new _0x244f7c(_0x1321b5(0xba),null,{'originalError':_0x1e8a31});});}[_0xe4dc(0x8f)](_0x293639){const _0x3ae828=_0xe4dc;if(_0x3ae828(0xa6)!=typeof _0x293639[_0x3ae828(0x9c)])throw new _0x244f7c(_0x3ae828(0x74),this);if(this[_0x3ae828(0x78)](_0x293639))throw new _0x244f7c(_0x3ae828(0x9a),this,{'name':_0x293639[_0x3ae828(0x7c)][_0x3ae828(0x9b)]});this[_0x3ae828(0x77)][_0x3ae828(0xa7)](_0x293639);}[_0xe4dc(0x7f)](_0x14259a){const _0x3b85ac=_0xe4dc;this[_0x3b85ac(0x77)][_0x3b85ac(0x9e)](_0x14259a);}[_0xe4dc(0x78)](_0x4524db){const _0x4266b6=_0xe4dc;return this[_0x4266b6(0x77)][_0x4266b6(0x82)](_0x4524db);}[_0xe4dc(0x9d)](){const _0x5111d9=_0xe4dc;return this[_0x5111d9(0x99)][_0x5111d9(0x9c)]()[_0x5111d9(0x85)](()=>Promise[_0x5111d9(0x8d)](Array[_0x5111d9(0x8a)](this[_0x5111d9(0x77)],_0x24b154=>_0x24b154[_0x5111d9(0x9c)]())))[_0x5111d9(0x85)](()=>this[_0x5111d9(0xac)]=_0x3a6c80[_0x5111d9(0xa0)])[_0x5111d9(0x87)](_0xe1653=>{const _0x55235e=_0x5111d9;throw console[_0x55235e(0xb1)](_0xe1653),new _0x244f7c(_0x55235e(0xaf),this[_0x55235e(0xbb)]);});}[_0xe4dc(0x7a)](){const _0x11f79c=_0xe4dc;this[_0x11f79c(0x99)]&&this[_0x11f79c(0x99)][_0x11f79c(0x7a)](),this[_0x11f79c(0xac)]=_0x3a6c80[_0x11f79c(0xa4)],this[_0x11f79c(0xb2)][_0x11f79c(0x90)]();}[_0xe4dc(0x75)](){const _0x1de593=_0xe4dc;this[_0x1de593(0x7a)](),super[_0x1de593(0x75)]();}}c[_0xe4dc(0xb0)]=_0x494135,c[_0xe4dc(0x88)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x28e5(_0xd74c5,_0x323b0a){var _0x26a8a8=_0x26a8();return _0x28e5=function(_0x28e5b0,_0x320e1b){_0x28e5b0=_0x28e5b0-0x18a;var _0x50484d=_0x26a8a8[_0x28e5b0];return _0x50484d;},_0x28e5(_0xd74c5,_0x323b0a);}function _0x26a8(){var _0x21cefc=['826290xTcFtp','requires','isPremiumPlugin','26799zrYUCP','1565505FDEmVC','412GnJrlk','18BHEQDR','482536jrrCmO','RealTimeCollaborativeEditing','23961730kTPwTA','9iRMqcd','pluginName','isOfficialPlugin','7319431ulLnXA','2484582qUdLuH'];_0x26a8=function(){return _0x21cefc;};return _0x26a8();}var _0xf39bb7=_0x28e5;(function(_0x31718f,_0x473f7f){var _0x3e52f4=_0x28e5,_0xf388bd=_0x31718f();while(!![]){try{var _0x489758=parseInt(_0x3e52f4(0x193))/0x1+parseInt(_0x3e52f4(0x18e))/0x2+parseInt(_0x3e52f4(0x192))/0x3*(-parseInt(_0x3e52f4(0x194))/0x4)+parseInt(_0x3e52f4(0x18f))/0x5*(parseInt(_0x3e52f4(0x195))/0x6)+parseInt(_0x3e52f4(0x18d))/0x7+-parseInt(_0x3e52f4(0x196))/0x8*(parseInt(_0x3e52f4(0x18a))/0x9)+-parseInt(_0x3e52f4(0x198))/0xa;if(_0x489758===_0x473f7f)break;else _0xf388bd['push'](_0xf388bd['shift']());}catch(_0x5b7cde){_0xf388bd['push'](_0xf388bd['shift']());}}}(_0x26a8,0xed746));import{Plugin as _0x2f7d0a}from'ckeditor5/src/core.js';import _0x273b16 from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x2f7d0a{static get[_0xf39bb7(0x190)](){return[_0x273b16];}static get[_0xf39bb7(0x18b)](){var _0xb5c75d=_0xf39bb7;return _0xb5c75d(0x197);}static get[_0xf39bb7(0x18c)](){return!0x0;}static get[_0xf39bb7(0x191)](){return!0x0;}}
|