@ckeditor/ckeditor5-real-time-collaboration 43.3.0-alpha.7 → 43.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x55d6df=_0x3121;(function(_0xc2b7c6,_0x151cae){const _0x4a52f2=_0x3121,_0x1d5892=_0xc2b7c6();while(!![]){try{const _0x22e630=-parseInt(_0x4a52f2(0xd9))/0x1*(-parseInt(_0x4a52f2(0xf0))/0x2)+parseInt(_0x4a52f2(0xe1))/0x3*(-parseInt(_0x4a52f2(0xe9))/0x4)+parseInt(_0x4a52f2(0xd0))/0x5*(parseInt(_0x4a52f2(0xe3))/0x6)+-parseInt(_0x4a52f2(0xd5))/0x7*(parseInt(_0x4a52f2(0xa8))/0x8)+parseInt(_0x4a52f2(0xbb))/0x9*(parseInt(_0x4a52f2(0xf2))/0xa)+-parseInt(_0x4a52f2(0x9b))/0xb+parseInt(_0x4a52f2(0xb3))/0xc;if(_0x22e630===_0x151cae)break;else _0x1d5892['push'](_0x1d5892['shift']());}catch(_0x6fdceb){_0x1d5892['push'](_0x1d5892['shift']());}}}(_0x4d32,0xdacc6));import{Context as _0x146c78,ContextPlugin as _0x3c7ec1}from'ckeditor5/src/core.js';import{CKEditorError as _0x4e6679}from'ckeditor5/src/utils.js';import{Users as _0x472d76}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x43c497,User as _0x35f639}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x28def from'../realtimecollaborativeediting/websocketgateway.js';import _0x395d5b from'../realtimecollaborativeediting/sessions.js';class a extends _0x3c7ec1{static get[_0x55d6df(0xad)](){const _0x495e53=_0x55d6df;return[_0x28def,_0x495e53(0x95),_0x395d5b,_0x472d76];}static get[_0x55d6df(0xc1)](){const _0x26fc97=_0x55d6df;return _0x26fc97(0xc0);}static get[_0x55d6df(0xa7)](){return!0x0;}static get[_0x55d6df(0xe8)](){return!0x0;}constructor(_0x4387c0){const _0x2f19ce=_0x55d6df;super(_0x4387c0),this[_0x2f19ce(0xc3)]=new Map();}async[_0x55d6df(0x9c)](){const _0x303f4f=_0x55d6df,_0x358d35=this[_0x303f4f(0xdb)],_0x13db1e=_0x358d35[_0x303f4f(0xab)][_0x303f4f(0xd2)](_0x303f4f(0x95));if(_0x358d35[_0x303f4f(0xab)][_0x303f4f(0xd2)](_0x28def)[_0x303f4f(0xb4)](this),_0x13db1e[_0x303f4f(0xa9)]={'addCommentThread':async({channelId:_0x5db07d,threadId:_0x2c115e,comments:_0x107b70,resolvedAt:_0xadcf06,resolvedBy:_0x207d93,context:_0x1b0e3a,attributes:_0x565490})=>{const _0x5b4352=_0x303f4f,_0x5862db=await this[_0x5b4352(0xaa)](_0x5db07d)[_0x5b4352(0xa6)]({'commentThreadId':_0x2c115e,'comments':_0x107b70[_0x5b4352(0xb6)](_0x2ab835=>function(_0x410828,_0x5d5508,_0x547cb3){const _0x57693d=_0x5b4352;return{'commentThreadId':_0x547cb3,'commentId':_0x410828[_0x57693d(0xb0)],'userId':_0x410828[_0x57693d(0xcb)],'content':_0x410828[_0x57693d(0xd6)],'documentId':_0x5d5508,'createdAt':_0x410828[_0x57693d(0xf5)],'attributes':_0x410828[_0x57693d(0x9f)]||{}};}(_0x2ab835,_0x5db07d,_0x2c115e)),'resolvedAt':_0xadcf06,'resolvedBy':_0x207d93,'context':_0x1b0e3a,'attributes':_0x565490})[_0x5b4352(0xd1)](R);return{'threadId':_0x5862db[_0x5b4352(0xbe)],'comments':_0x5862db[_0x5b4352(0x92)]};},'getCommentThread':async({channelId:_0x35d3ca,threadId:_0x57106a})=>{const _0xa6efe4=_0x303f4f,_0x541418=await this[_0xa6efe4(0xaa)](_0x35d3ca)[_0xa6efe4(0xc8)](_0x57106a)[_0xa6efe4(0xd1)](R);return _0x541418[_0xa6efe4(0xa2)]?null:(await this[_0xa6efe4(0xb8)]([_0x541418]),{'threadId':_0x541418[_0xa6efe4(0xbe)],'comments':_0x541418[_0xa6efe4(0x92)][_0xa6efe4(0xb6)](S),'context':_0x541418[_0xa6efe4(0xdb)],'resolvedAt':_0x541418[_0xa6efe4(0xde)],'resolvedBy':_0x541418[_0xa6efe4(0x97)],'attributes':_0x541418[_0xa6efe4(0x9f)]||{}});},'updateCommentThread':async({channelId:_0x37dce8,threadId:_0x3815f5,context:_0x162fdd,unlinkedAt:_0x428eed,attributes:_0x3c389a})=>this[_0x303f4f(0xaa)](_0x37dce8)[_0x303f4f(0xca)]({'commentThreadId':_0x3815f5,'context':_0x162fdd,'attributes':_0x3c389a,'unlinkedAt':_0x428eed})[_0x303f4f(0xd1)](B)[_0x303f4f(0xd1)](R),'resolveCommentThread':async({channelId:_0x26929e,threadId:_0x4984b7})=>{const _0x2a1d6b=_0x303f4f,_0x418e25=await this[_0x2a1d6b(0xaa)](_0x26929e)[_0x2a1d6b(0xd4)](_0x4984b7)[_0x2a1d6b(0xd1)](B)[_0x2a1d6b(0xd1)](R);return{'threadId':_0x418e25[_0x2a1d6b(0xbe)],'resolvedAt':_0x418e25[_0x2a1d6b(0xde)],'resolvedBy':_0x418e25[_0x2a1d6b(0x97)]};},'reopenCommentThread':async({channelId:_0x60ade8,threadId:_0x97d9fe})=>this[_0x303f4f(0xaa)](_0x60ade8)[_0x303f4f(0xc4)](_0x97d9fe)[_0x303f4f(0xd1)](B)[_0x303f4f(0xd1)](R),'removeCommentThread':({channelId:_0x3b6dce,threadId:_0x5748dc})=>this[_0x303f4f(0xaa)](_0x3b6dce)[_0x303f4f(0xc7)](_0x5748dc)[_0x303f4f(0xd1)](B)[_0x303f4f(0xd1)](R),'addComment':({channelId:_0x59846a,threadId:_0x2d2880,commentId:_0x51adc5,content:_0x1f3729,attributes:_0x205258})=>this[_0x303f4f(0xaa)](_0x59846a)[_0x303f4f(0xf1)](_0x2d2880,_0x51adc5,_0x1f3729,_0x205258)[_0x303f4f(0xd1)](R),'updateComment':({channelId:_0x38598c,threadId:_0x38e935,commentId:_0x3ef258,content:_0x4c6e19,attributes:_0x2d2308})=>this[_0x303f4f(0xaa)](_0x38598c)[_0x303f4f(0xcf)](_0x38e935,_0x3ef258,_0x4c6e19,_0x2d2308)[_0x303f4f(0xd1)](B)[_0x303f4f(0xd1)](R),'removeComment':({channelId:_0x33496c,threadId:_0x23979b,commentId:_0x4b34f9})=>this[_0x303f4f(0xaa)](_0x33496c)[_0x303f4f(0xaf)](_0x23979b,_0x4b34f9)[_0x303f4f(0xd1)](B)[_0x303f4f(0xd1)](R)},_0x358d35 instanceof _0x146c78){const _0x24b59a=_0x358d35[_0x303f4f(0xe6)][_0x303f4f(0xd2)](_0x303f4f(0xf3)),_0xf9df9c=_0x358d35[_0x303f4f(0xab)][_0x303f4f(0xd2)](_0x395d5b);await this[_0x303f4f(0xef)](_0x24b59a);const _0xa2eef5=await this[_0x303f4f(0xc3)][_0x303f4f(0xd2)](_0x24b59a)[_0x303f4f(0x98)]();this[_0x303f4f(0xe5)](_0xf9df9c,_0x303f4f(0xeb)+_0x24b59a,(_0x51cf67,{session:_0x27c59c})=>{const _0x377111=_0x303f4f;_0x27c59c['id']===_0xf9df9c[_0x377111(0x99)]&&(_0x51cf67[_0x377111(0xe0)](),this[_0x377111(0xdb)][_0x377111(0xab)][_0x377111(0xd2)](_0x377111(0xdc))[_0x377111(0xb9)](_0x27c59c[_0x377111(0xcc)],_0x24b59a));}),_0xf9df9c[_0x303f4f(0xc6)](_0x24b59a,_0xa2eef5);}}async[_0x55d6df(0xef)](_0x28ef9d){const _0x11378d=_0x55d6df;if(this[_0x11378d(0xc3)][_0x11378d(0xf9)](_0x28ef9d))throw new _0x4e6679(_0x11378d(0xbd),null,{'channelId':_0x28ef9d});const _0x1b6dbb=this[_0x11378d(0xdb)][_0x11378d(0xab)][_0x11378d(0xd2)](_0x11378d(0x95)),_0x5224ca=new a[(_0x11378d(0xea))](_0x28ef9d);this[_0x11378d(0xc3)][_0x11378d(0xe4)](_0x28ef9d,_0x5224ca),this[_0x11378d(0xe5)](_0x5224ca,_0x11378d(0xbc),(_0x11ed3a,_0x45223c)=>{const _0x74ba27=_0x11378d,{commentThreadId:_0x20db50,documentId:_0x4a2d08,context:_0x375fca,attributes:_0x562fcd,resolvedAt:_0x1a3ed0,resolvedBy:_0x56e105,comments:_0x1081c6}=_0x45223c;_0x1b6dbb[_0x74ba27(0xc8)](_0x20db50)||_0x1b6dbb[_0x74ba27(0xa6)]({'threadId':_0x20db50,'channelId':_0x4a2d08,'comments':_0x1081c6?_0x1081c6[_0x74ba27(0xb6)](S):[],'context':_0x375fca,'attributes':_0x562fcd,'resolvedAt':_0x1a3ed0,'resolvedBy':_0x56e105,'isFromAdapter':!0x0});}),this[_0x11378d(0xe5)](_0x5224ca,_0x11378d(0x9e),(_0x47decc,{commentThreadId:_0x41aa68,documentId:_0x2ec1dd,context:_0x2a9754,unlinkedAt:_0x401cfd,attributes:_0x32b768})=>{const _0x2008f7=_0x11378d;_0x1b6dbb[_0x2008f7(0xc8)](_0x41aa68)&&_0x1b6dbb[_0x2008f7(0xca)]({'threadId':_0x41aa68,'channelId':_0x2ec1dd,'context':_0x2a9754,'unlinkedAt':_0x401cfd,'attributes':_0x32b768,'isFromAdapter':!0x0});}),this[_0x11378d(0xe5)](_0x5224ca,_0x11378d(0xee),(_0x1a8c47,{commentThreadId:_0x2ae796,resolvedBy:_0x4aa034,resolvedAt:_0x37a033})=>{const _0x32bae5=_0x11378d,_0x254c9e=_0x1b6dbb[_0x32bae5(0xc8)](_0x2ae796);_0x254c9e&&_0x254c9e[_0x32bae5(0x96)]({'resolvedBy':_0x4aa034,'resolvedAt':_0x37a033,'isFromAdapter':!0x0});}),this[_0x11378d(0xe5)](_0x5224ca,_0x11378d(0xcd),(_0x3a4cd4,{commentThreadId:_0x26ae30})=>{const _0xe261f9=_0x11378d,_0x5a49da=_0x1b6dbb[_0xe261f9(0xc8)](_0x26ae30);_0x5a49da&&_0x5a49da[_0xe261f9(0xc2)]({'isFromAdapter':!0x0});}),this[_0x11378d(0xe5)](_0x5224ca,_0x11378d(0xc5),(_0x5d794a,{commentThreadId:_0x210a63})=>{const _0x47f22e=_0x11378d,_0x4d33fd=_0x1b6dbb[_0x47f22e(0xc8)](_0x210a63);_0x4d33fd&&_0x4d33fd[_0x47f22e(0xd3)]({'isFromAdapter':!0x0});}),this[_0x11378d(0xe5)](_0x5224ca,_0x11378d(0xce),(_0x38a6b2,_0x9ae04f)=>{const _0x537c94=_0x11378d,_0x14ddae=_0x9ae04f[_0x537c94(0xbe)],_0x153792=_0x1b6dbb[_0x537c94(0xc8)](_0x14ddae);_0x153792&&_0x153792[_0x537c94(0xf1)]({...S(_0x9ae04f),'isFromAdapter':!0x0});}),this[_0x11378d(0xe5)](_0x5224ca,_0x11378d(0x9d),(_0x2783db,{commentThreadId:_0x1c2fba,commentId:_0x24ab4e,content:_0x35fdef,attributes:_0x251c57})=>{const _0x203eb7=_0x11378d,_0x1416af=_0x1b6dbb[_0x203eb7(0xc8)](_0x1c2fba);if(_0x1416af){const _0x25cc11=_0x1416af[_0x203eb7(0xae)](_0x24ab4e);_0x25cc11&&_0x25cc11[_0x203eb7(0xb7)]({'content':_0x35fdef,'attributes':_0x251c57,'isFromAdapter':!0x0});}}),this[_0x11378d(0xe5)](_0x5224ca,_0x11378d(0xe7),(_0x38d1f0,{commentThreadId:_0x5868c8,commentId:_0x159047})=>{const _0x233ccc=_0x11378d,_0x12680f=_0x1b6dbb[_0x233ccc(0xc8)](_0x5868c8);if(_0x12680f){const _0x32f259=_0x12680f[_0x233ccc(0xae)](_0x159047);_0x32f259&&_0x32f259[_0x233ccc(0xd3)]({'isFromAdapter':!0x0});}}),await this[_0x11378d(0xd7)](_0x28ef9d);}[_0x55d6df(0xda)](){const _0x168be2=_0x55d6df;if(this[_0x168be2(0xdb)]instanceof _0x146c78){const _0x3b6678=this[_0x168be2(0xdb)][_0x168be2(0xe6)][_0x168be2(0xd2)](_0x168be2(0xf3));this[_0x168be2(0xa1)](_0x3b6678);}}[_0x55d6df(0xa1)](_0x4cefc9){const _0x29a473=_0x55d6df;if(!this[_0x29a473(0xc3)][_0x29a473(0xf9)](_0x4cefc9))throw new _0x4e6679(_0x29a473(0x93),null,{'channelId':_0x4cefc9});this[_0x29a473(0xaa)](_0x4cefc9)[_0x29a473(0xe2)](),this[_0x29a473(0xc3)][_0x29a473(0xa0)](_0x4cefc9);}async[_0x55d6df(0xac)](){const _0x32620e=_0x55d6df;for(const _0x1d804c of this[_0x32620e(0xc3)][_0x32620e(0xa4)]())await this[_0x32620e(0xd7)](_0x1d804c);if(this[_0x32620e(0xdb)]instanceof _0x146c78){const _0x4fffb8=this[_0x32620e(0xdb)][_0x32620e(0xe6)][_0x32620e(0xd2)](_0x32620e(0xf3)),_0x742d71=this[_0x32620e(0xdb)][_0x32620e(0xab)][_0x32620e(0xd2)](_0x395d5b);_0x742d71[_0x32620e(0xf7)](_0x4fffb8);const _0x2126bc=await this[_0x32620e(0xc3)][_0x32620e(0xd2)](_0x4fffb8)[_0x32620e(0x98)]();_0x742d71[_0x32620e(0xc6)](_0x4fffb8,_0x2126bc);}}async[_0x55d6df(0xd7)](_0x18d0ed){const _0x1bb32a=_0x55d6df,{connection:_0x28cb96}=this[_0x1bb32a(0xdb)][_0x1bb32a(0xab)][_0x1bb32a(0xd2)](_0x28def),_0x218af0=this[_0x1bb32a(0xdb)][_0x1bb32a(0xab)][_0x1bb32a(0xd2)](_0x1bb32a(0x95)),_0x38c4d6=this[_0x1bb32a(0xc3)][_0x1bb32a(0xd2)](_0x18d0ed),_0x5da918=await _0x38c4d6[_0x1bb32a(0xa5)](_0x28cb96);await this[_0x1bb32a(0xb8)](_0x5da918);const _0x364f4f=new Set(Array[_0x1bb32a(0xdd)](_0x218af0[_0x1bb32a(0xdf)]({'channelId':_0x18d0ed}),_0x1d8ffb=>_0x1d8ffb['id']));for(const _0x7280a9 of _0x5da918)_0x7280a9[_0x1bb32a(0xa2)]||_0x364f4f[_0x1bb32a(0xa0)](_0x7280a9[_0x1bb32a(0xbe)]);for(const _0x589b34 of _0x364f4f)_0x218af0[_0x1bb32a(0xc8)](_0x589b34)[_0x1bb32a(0xd3)]({'isFromAdapter':!0x0});for(const _0x4cdeff of _0x5da918){let _0x4e59f5=_0x218af0[_0x1bb32a(0xc8)](_0x4cdeff[_0x1bb32a(0xbe)]);const {commentThreadId:_0x1186eb,context:_0x51da2e,attributes:_0x24b262,resolvedBy:_0x44d976,resolvedAt:_0x287a79,unlinkedAt:_0x5ba1d6,deletedAt:_0x2a32e3}=_0x4cdeff;if(_0x2a32e3)continue;_0x4e59f5||(_0x4e59f5=_0x218af0[_0x1bb32a(0xa6)]({'channelId':_0x18d0ed,'threadId':_0x1186eb,'context':_0x51da2e,'attributes':_0x24b262||{},'resolvedBy':_0x44d976,'resolvedAt':_0x287a79,'unlinkedAt':_0x5ba1d6,'isFromAdapter':!0x0}));const _0x424d31=new Set(Array[_0x1bb32a(0xdd)](_0x4e59f5[_0x1bb32a(0x92)],_0x10fb5a=>_0x10fb5a['id']));for(const _0x2c48d7 of _0x4cdeff[_0x1bb32a(0x92)])_0x424d31[_0x1bb32a(0xa0)](_0x2c48d7[_0x1bb32a(0xb0)]);for(const _0x3e1dbb of _0x424d31)_0x4e59f5[_0x1bb32a(0xae)](_0x3e1dbb)[_0x1bb32a(0xd3)]({'isFromAdapter':!0x0});for(const _0x3e6d7f of _0x4cdeff[_0x1bb32a(0x92)]){const _0x170409=_0x4e59f5[_0x1bb32a(0xae)](_0x3e6d7f[_0x1bb32a(0xb0)]);_0x170409?_0x170409[_0x1bb32a(0xd6)]!==_0x3e6d7f[_0x1bb32a(0xd6)]&&_0x170409[_0x1bb32a(0xb7)]({'content':_0x3e6d7f[_0x1bb32a(0xd6)],'isFromAdapter':!0x0}):_0x4e59f5[_0x1bb32a(0xf1)](Object[_0x1bb32a(0xb5)](S(_0x3e6d7f),{'isFromAdapter':!0x0}));}}}[_0x55d6df(0xaa)](_0x365e07){const _0x314ddc=_0x55d6df;if(!this[_0x314ddc(0xc3)][_0x314ddc(0xf9)](_0x365e07))throw new _0x4e6679(_0x314ddc(0xc9),null,{'channelId':_0x365e07});return this[_0x314ddc(0xc3)][_0x314ddc(0xd2)](_0x365e07);}async[_0x55d6df(0xb8)](_0x135e2f){const _0x45ae9c=_0x55d6df,_0x35c0e8=this[_0x45ae9c(0xdb)][_0x45ae9c(0xab)][_0x45ae9c(0xd2)](_0x472d76),{connection:_0x174cbd}=this[_0x45ae9c(0xdb)][_0x45ae9c(0xab)][_0x45ae9c(0xd2)](_0x28def),_0x33552f=new Set();for(const {resolvedBy:_0x19932c,comments:_0x35c574}of _0x135e2f){_0x19932c&&!_0x35c0e8[_0x45ae9c(0xf6)](_0x19932c)&&_0x33552f[_0x45ae9c(0xba)](_0x19932c);for(const {userId:_0xe90480}of _0x35c574)_0x35c0e8[_0x45ae9c(0xf6)](_0xe90480)||_0x33552f[_0x45ae9c(0xba)](_0xe90480);}if(0x0===_0x33552f[_0x45ae9c(0xd8)])return;const _0x504a42=await _0x35f639[_0x45ae9c(0xed)](_0x174cbd,Array[_0x45ae9c(0xdd)](_0x33552f));for(const _0x2da903 of _0x504a42)_0x35c0e8[_0x45ae9c(0xf6)](_0x2da903['id'])||_0x35c0e8[_0x45ae9c(0xec)](_0x2da903);}}a[_0x55d6df(0xea)]=_0x43c497;export default a;async function B(_0x1bed27){const _0x2304f2=_0x55d6df;if(_0x2304f2(0xa3)!==_0x1bed27[_0x2304f2(0xf4)])throw _0x1bed27;}function _0x4d32(){const _0x286db1=['4248Dbuvyy','set','listenTo','config','commentRemoved','isPremiumPlugin','20XXcJma','CommentsService','sessionAdd:','addUser','getMany','commentThreadResolved','_setUpService','2315904oXYWfn','addComment','5859090dSKaIJ','collaboration.channelId','code','createdAt','getUser','unregister','startsWith','has','comments','cloudservicescommentsadapter-disconnect-not-exist','userId','CommentsRepository','resolve','resolvedBy','getConnectedSessions','mySessionId','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','15389572ayjctA','init','commentUpdated','commentThreadUpdated','attributes','delete','_terminateService','deletedAt','404','keys','connect','addCommentThread','isOfficialPlugin','128tYWIYf','adapter','_getService','plugins','reconnect','requires','getComment','removeComment','commentId','cloud-services-internal-error:\x20Not\x20connected.','message','22732872MsfjLt','addToReconnectionStack','assign','map','update','_fetchMissingUsersForThreads','setPermissions','add','9xTxnAk','commentThreadAdded','cloudservicescommentsadapter-connect-already-connected','commentThreadId','cloud-services-internal-error:\x20Request\x20timeout.','CloudServicesCommentsAdapter','pluginName','reopen','_services','reopenCommentThread','commentThreadRemoved','register','removeCommentThread','getCommentThread','cloudservicescommentsadapter-service-not-exist','updateCommentThread','authorId','permissions','commentThreadReopened','commentAdded','updateComment','2045eJdjPX','catch','get','remove','resolveCommentThread','620858QdCZlt','content','_connectService','size','1LweXmd','destroy','context','Permissions','from','resolvedAt','getCommentThreads','off','128091PXAcrz','disconnect'];_0x4d32=function(){return _0x286db1;};return _0x4d32();}function _0x3121(_0x5dda97,_0x228282){const _0x4d324c=_0x4d32();return _0x3121=function(_0x312126,_0x1589e){_0x312126=_0x312126-0x92;let _0x5d4b76=_0x4d324c[_0x312126];return _0x5d4b76;},_0x3121(_0x5dda97,_0x228282);}function R(_0x27fa50){const _0x23214b=_0x55d6df;if((_0x137120=_0x27fa50)[_0x23214b(0xb2)][_0x23214b(0xf8)](_0x23214b(0x9a))||_0x137120[_0x23214b(0xb2)][_0x23214b(0xf8)](_0x23214b(0xb1))||_0x137120[_0x23214b(0xb2)][_0x23214b(0xf8)](_0x23214b(0xbf)))return new Promise(()=>{});var _0x137120;throw _0x27fa50;}function S(_0x50cdda){const _0x1bb131=_0x55d6df;return{'threadId':_0x50cdda[_0x1bb131(0xbe)],'commentId':_0x50cdda[_0x1bb131(0xb0)],'content':_0x50cdda[_0x1bb131(0xd6)],'createdAt':_0x50cdda[_0x1bb131(0xf5)],'authorId':_0x50cdda[_0x1bb131(0x94)],'attributes':_0x50cdda[_0x1bb131(0x9f)]||{}};}
|
|
23
|
+
const _0x1e9cee=_0x550e;function _0x50df(){const _0x244f50=['_fetchMissingUsersForThreads','CloudServicesCommentsAdapter','resolvedBy','180963madaYS','getMany','isPremiumPlugin','update','resolvedAt','setPermissions','connect','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','commentUpdated','Permissions','47523dnRYfZ','commentThreadAdded','size','addToReconnectionStack','_services','assign','permissions','cloud-services-internal-error:\x20Not\x20connected.','commentThreadId','addCommentThread','isOfficialPlugin','commentAdded','getCommentThread','context','reopen','commentRemoved','updateComment','map','mySessionId','code','reopenCommentThread','3226788zlWvsd','4lkunux','resolve','addComment','from','404','commentThreadReopened','commentThreadResolved','removeComment','getCommentThreads','reconnect','CommentsRepository','getConnectedSessions','sessionAdd:','232AJbIXq','attributes','2983CUKnJZ','register','message','get','authorId','createdAt','cloud-services-internal-error:\x20Request\x20timeout.','content','_connectService','plugins','getUser','off','1567865NqObqj','keys','453939ZelNGU','_setUpService','adapter','disconnect','removeCommentThread','add','delete','commentThreadRemoved','cloudservicescommentsadapter-service-not-exist','config','set','getComment','catch','_terminateService','resolveCommentThread','remove','listenTo','commentId','pluginName','cloudservicescommentsadapter-disconnect-not-exist','commentThreadUpdated','startsWith','requires','has','init','addUser','330510gKoclo','userId','unregister','destroy','collaboration.channelId','cloudservicescommentsadapter-connect-already-connected','_getService','comments','CommentsService','130CTabXB','deletedAt','updateCommentThread'];_0x50df=function(){return _0x244f50;};return _0x50df();}(function(_0x41ec3e,_0x194e15){const _0x5333be=_0x550e,_0x429be4=_0x41ec3e();while(!![]){try{const _0x4793dc=parseInt(_0x5333be(0xde))/0x1+-parseInt(_0x5333be(0x106))/0x2+parseInt(_0x5333be(0xec))/0x3+parseInt(_0x5333be(0x135))/0x4*(-parseInt(_0x5333be(0xea))/0x5)+parseInt(_0x5333be(0x134))/0x6+-parseInt(_0x5333be(0x11f))/0x7*(parseInt(_0x5333be(0xdc))/0x8)+parseInt(_0x5333be(0x115))/0x9*(parseInt(_0x5333be(0x10f))/0xa);if(_0x4793dc===_0x194e15)break;else _0x429be4['push'](_0x429be4['shift']());}catch(_0x7e960b){_0x429be4['push'](_0x429be4['shift']());}}}(_0x50df,0x43d10));function _0x550e(_0x50c524,_0x8afa39){const _0x50df0c=_0x50df();return _0x550e=function(_0x550ef7,_0x33c0f0){_0x550ef7=_0x550ef7-0xd6;let _0x457d9e=_0x50df0c[_0x550ef7];return _0x457d9e;},_0x550e(_0x50c524,_0x8afa39);}import{Context as _0x26ea1,ContextPlugin as _0x27b638}from'ckeditor5/src/core.js';import{CKEditorError as _0x5b4129}from'ckeditor5/src/utils.js';import{Users as _0x4dfdfd}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x15e35d,User as _0x4a4473}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x15c38c from'../realtimecollaborativeediting/websocketgateway.js';import _0x461e25 from'../realtimecollaborativeediting/sessions.js';class a extends _0x27b638{static get[_0x1e9cee(0x102)](){const _0x210eb6=_0x1e9cee;return[_0x15c38c,_0x210eb6(0xd9),_0x461e25,_0x4dfdfd];}static get[_0x1e9cee(0xfe)](){const _0x1457b5=_0x1e9cee;return _0x1457b5(0x113);}static get[_0x1e9cee(0x129)](){return!0x0;}static get[_0x1e9cee(0x117)](){return!0x0;}constructor(_0x24ef52){const _0x4fac33=_0x1e9cee;super(_0x24ef52),this[_0x4fac33(0x123)]=new Map();}async[_0x1e9cee(0x104)](){const _0x2bf6e2=_0x1e9cee,_0x43d1a0=this[_0x2bf6e2(0x12c)],_0x54e5ba=_0x43d1a0[_0x2bf6e2(0xe7)][_0x2bf6e2(0xe1)](_0x2bf6e2(0xd9));if(_0x43d1a0[_0x2bf6e2(0xe7)][_0x2bf6e2(0xe1)](_0x15c38c)[_0x2bf6e2(0x122)](this),_0x54e5ba[_0x2bf6e2(0xee)]={'addCommentThread':async({channelId:_0x56c071,threadId:_0x4d7316,comments:_0x56be9b,resolvedAt:_0x4eda07,resolvedBy:_0x2de7f5,context:_0x5a14eb,attributes:_0x2d824b})=>{const _0x5f5253=_0x2bf6e2,_0x19561=await this[_0x5f5253(0x10c)](_0x56c071)[_0x5f5253(0x128)]({'commentThreadId':_0x4d7316,'comments':_0x56be9b[_0x5f5253(0x130)](_0x17b789=>function(_0x41d75e,_0x40e005,_0x20eb64){const _0x4ea72e=_0x5f5253;return{'commentThreadId':_0x20eb64,'commentId':_0x41d75e[_0x4ea72e(0xfd)],'userId':_0x41d75e[_0x4ea72e(0xe2)],'content':_0x41d75e[_0x4ea72e(0xe5)],'documentId':_0x40e005,'createdAt':_0x41d75e[_0x4ea72e(0xe3)],'attributes':_0x41d75e[_0x4ea72e(0xdd)]||{}};}(_0x17b789,_0x56c071,_0x4d7316)),'resolvedAt':_0x4eda07,'resolvedBy':_0x2de7f5,'context':_0x5a14eb,'attributes':_0x2d824b})[_0x5f5253(0xf8)](R);return{'threadId':_0x19561[_0x5f5253(0x127)],'comments':_0x19561[_0x5f5253(0x10d)]};},'getCommentThread':async({channelId:_0x248f92,threadId:_0x4f812e})=>{const _0x285574=_0x2bf6e2,_0x280284=await this[_0x285574(0x10c)](_0x248f92)[_0x285574(0x12b)](_0x4f812e)[_0x285574(0xf8)](R);return _0x280284[_0x285574(0x110)]?null:(await this[_0x285574(0x112)]([_0x280284]),{'threadId':_0x280284[_0x285574(0x127)],'comments':_0x280284[_0x285574(0x10d)][_0x285574(0x130)](S),'context':_0x280284[_0x285574(0x12c)],'resolvedAt':_0x280284[_0x285574(0x119)],'resolvedBy':_0x280284[_0x285574(0x114)],'attributes':_0x280284[_0x285574(0xdd)]||{}});},'updateCommentThread':async({channelId:_0x425560,threadId:_0x488285,context:_0x4e70ba,unlinkedAt:_0x4ac1da,attributes:_0x182652})=>this[_0x2bf6e2(0x10c)](_0x425560)[_0x2bf6e2(0x111)]({'commentThreadId':_0x488285,'context':_0x4e70ba,'attributes':_0x182652,'unlinkedAt':_0x4ac1da})[_0x2bf6e2(0xf8)](B)[_0x2bf6e2(0xf8)](R),'resolveCommentThread':async({channelId:_0x507554,threadId:_0x46cafa})=>{const _0x398827=_0x2bf6e2,_0x450cda=await this[_0x398827(0x10c)](_0x507554)[_0x398827(0xfa)](_0x46cafa)[_0x398827(0xf8)](B)[_0x398827(0xf8)](R);return{'threadId':_0x450cda[_0x398827(0x127)],'resolvedAt':_0x450cda[_0x398827(0x119)],'resolvedBy':_0x450cda[_0x398827(0x114)]};},'reopenCommentThread':async({channelId:_0x3cb999,threadId:_0x1d90e8})=>this[_0x2bf6e2(0x10c)](_0x3cb999)[_0x2bf6e2(0x133)](_0x1d90e8)[_0x2bf6e2(0xf8)](B)[_0x2bf6e2(0xf8)](R),'removeCommentThread':({channelId:_0x2cdc0a,threadId:_0x1134e4})=>this[_0x2bf6e2(0x10c)](_0x2cdc0a)[_0x2bf6e2(0xf0)](_0x1134e4)[_0x2bf6e2(0xf8)](B)[_0x2bf6e2(0xf8)](R),'addComment':({channelId:_0x578508,threadId:_0x30f368,commentId:_0x119c36,content:_0x757006,attributes:_0x5e63af})=>this[_0x2bf6e2(0x10c)](_0x578508)[_0x2bf6e2(0x137)](_0x30f368,_0x119c36,_0x757006,_0x5e63af)[_0x2bf6e2(0xf8)](R),'updateComment':({channelId:_0x3d88a7,threadId:_0x22c67b,commentId:_0x31e06f,content:_0x3ba70f,attributes:_0x10af69})=>this[_0x2bf6e2(0x10c)](_0x3d88a7)[_0x2bf6e2(0x12f)](_0x22c67b,_0x31e06f,_0x3ba70f,_0x10af69)[_0x2bf6e2(0xf8)](B)[_0x2bf6e2(0xf8)](R),'removeComment':({channelId:_0xe0fec1,threadId:_0x4f22b4,commentId:_0x1581bf})=>this[_0x2bf6e2(0x10c)](_0xe0fec1)[_0x2bf6e2(0xd6)](_0x4f22b4,_0x1581bf)[_0x2bf6e2(0xf8)](B)[_0x2bf6e2(0xf8)](R)},_0x43d1a0 instanceof _0x26ea1){const _0x2db835=_0x43d1a0[_0x2bf6e2(0xf5)][_0x2bf6e2(0xe1)](_0x2bf6e2(0x10a)),_0x1494f7=_0x43d1a0[_0x2bf6e2(0xe7)][_0x2bf6e2(0xe1)](_0x461e25);await this[_0x2bf6e2(0xed)](_0x2db835);const _0x5576e3=await this[_0x2bf6e2(0x123)][_0x2bf6e2(0xe1)](_0x2db835)[_0x2bf6e2(0xda)]();this[_0x2bf6e2(0xfc)](_0x1494f7,_0x2bf6e2(0xdb)+_0x2db835,(_0x23bec3,{session:_0x32225c})=>{const _0x3ae6cc=_0x2bf6e2;_0x32225c['id']===_0x1494f7[_0x3ae6cc(0x131)]&&(_0x23bec3[_0x3ae6cc(0xe9)](),this[_0x3ae6cc(0x12c)][_0x3ae6cc(0xe7)][_0x3ae6cc(0xe1)](_0x3ae6cc(0x11e))[_0x3ae6cc(0x11a)](_0x32225c[_0x3ae6cc(0x125)],_0x2db835));}),_0x1494f7[_0x2bf6e2(0xdf)](_0x2db835,_0x5576e3);}}async[_0x1e9cee(0xed)](_0x595840){const _0x14d0d4=_0x1e9cee;if(this[_0x14d0d4(0x123)][_0x14d0d4(0x103)](_0x595840))throw new _0x5b4129(_0x14d0d4(0x10b),null,{'channelId':_0x595840});const _0x5256bb=this[_0x14d0d4(0x12c)][_0x14d0d4(0xe7)][_0x14d0d4(0xe1)](_0x14d0d4(0xd9)),_0x44b91c=new a[(_0x14d0d4(0x10e))](_0x595840);this[_0x14d0d4(0x123)][_0x14d0d4(0xf6)](_0x595840,_0x44b91c),this[_0x14d0d4(0xfc)](_0x44b91c,_0x14d0d4(0x120),(_0x199770,_0x429933)=>{const _0x40cd0d=_0x14d0d4,{commentThreadId:_0x1a0a47,documentId:_0x10b330,context:_0x16ec9c,attributes:_0x8d4c23,resolvedAt:_0x245899,resolvedBy:_0xaa7d35,comments:_0x459386}=_0x429933;_0x5256bb[_0x40cd0d(0x12b)](_0x1a0a47)||_0x5256bb[_0x40cd0d(0x128)]({'threadId':_0x1a0a47,'channelId':_0x10b330,'comments':_0x459386?_0x459386[_0x40cd0d(0x130)](S):[],'context':_0x16ec9c,'attributes':_0x8d4c23,'resolvedAt':_0x245899,'resolvedBy':_0xaa7d35,'isFromAdapter':!0x0});}),this[_0x14d0d4(0xfc)](_0x44b91c,_0x14d0d4(0x100),(_0x3a6717,{commentThreadId:_0x56905,documentId:_0x250f1b,context:_0x2ac7ee,unlinkedAt:_0x18786f,attributes:_0x13accf})=>{const _0x35428b=_0x14d0d4;_0x5256bb[_0x35428b(0x12b)](_0x56905)&&_0x5256bb[_0x35428b(0x111)]({'threadId':_0x56905,'channelId':_0x250f1b,'context':_0x2ac7ee,'unlinkedAt':_0x18786f,'attributes':_0x13accf,'isFromAdapter':!0x0});}),this[_0x14d0d4(0xfc)](_0x44b91c,_0x14d0d4(0x13b),(_0x561c55,{commentThreadId:_0x41002b,resolvedBy:_0x31f459,resolvedAt:_0x4996d8})=>{const _0x4b5f81=_0x14d0d4,_0x4c15c0=_0x5256bb[_0x4b5f81(0x12b)](_0x41002b);_0x4c15c0&&_0x4c15c0[_0x4b5f81(0x136)]({'resolvedBy':_0x31f459,'resolvedAt':_0x4996d8,'isFromAdapter':!0x0});}),this[_0x14d0d4(0xfc)](_0x44b91c,_0x14d0d4(0x13a),(_0x786289,{commentThreadId:_0xa9c4fe})=>{const _0x14189c=_0x14d0d4,_0x7e2dfe=_0x5256bb[_0x14189c(0x12b)](_0xa9c4fe);_0x7e2dfe&&_0x7e2dfe[_0x14189c(0x12d)]({'isFromAdapter':!0x0});}),this[_0x14d0d4(0xfc)](_0x44b91c,_0x14d0d4(0xf3),(_0x33c4b9,{commentThreadId:_0x22f112})=>{const _0x44faf8=_0x14d0d4,_0x1b4f0e=_0x5256bb[_0x44faf8(0x12b)](_0x22f112);_0x1b4f0e&&_0x1b4f0e[_0x44faf8(0xfb)]({'isFromAdapter':!0x0});}),this[_0x14d0d4(0xfc)](_0x44b91c,_0x14d0d4(0x12a),(_0x1d6726,_0x9799fa)=>{const _0x384aa4=_0x14d0d4,_0x49d78d=_0x9799fa[_0x384aa4(0x127)],_0xfb0723=_0x5256bb[_0x384aa4(0x12b)](_0x49d78d);_0xfb0723&&_0xfb0723[_0x384aa4(0x137)]({...S(_0x9799fa),'isFromAdapter':!0x0});}),this[_0x14d0d4(0xfc)](_0x44b91c,_0x14d0d4(0x11d),(_0x23da99,{commentThreadId:_0x550525,commentId:_0x17119e,content:_0x2a1de2,attributes:_0x466bd8})=>{const _0x18c2d8=_0x14d0d4,_0xdc1c4a=_0x5256bb[_0x18c2d8(0x12b)](_0x550525);if(_0xdc1c4a){const _0xd4f6df=_0xdc1c4a[_0x18c2d8(0xf7)](_0x17119e);_0xd4f6df&&_0xd4f6df[_0x18c2d8(0x118)]({'content':_0x2a1de2,'attributes':_0x466bd8,'isFromAdapter':!0x0});}}),this[_0x14d0d4(0xfc)](_0x44b91c,_0x14d0d4(0x12e),(_0x3fc44a,{commentThreadId:_0x5a6313,commentId:_0x274de7})=>{const _0xfe3b16=_0x14d0d4,_0x4034ad=_0x5256bb[_0xfe3b16(0x12b)](_0x5a6313);if(_0x4034ad){const _0x2491a5=_0x4034ad[_0xfe3b16(0xf7)](_0x274de7);_0x2491a5&&_0x2491a5[_0xfe3b16(0xfb)]({'isFromAdapter':!0x0});}}),await this[_0x14d0d4(0xe6)](_0x595840);}[_0x1e9cee(0x109)](){const _0x2b2ece=_0x1e9cee;if(this[_0x2b2ece(0x12c)]instanceof _0x26ea1){const _0xa5a1f0=this[_0x2b2ece(0x12c)][_0x2b2ece(0xf5)][_0x2b2ece(0xe1)](_0x2b2ece(0x10a));this[_0x2b2ece(0xf9)](_0xa5a1f0);}}[_0x1e9cee(0xf9)](_0x279cda){const _0x567a36=_0x1e9cee;if(!this[_0x567a36(0x123)][_0x567a36(0x103)](_0x279cda))throw new _0x5b4129(_0x567a36(0xff),null,{'channelId':_0x279cda});this[_0x567a36(0x10c)](_0x279cda)[_0x567a36(0xef)](),this[_0x567a36(0x123)][_0x567a36(0xf2)](_0x279cda);}async[_0x1e9cee(0xd8)](){const _0x29701b=_0x1e9cee;for(const _0x303cd8 of this[_0x29701b(0x123)][_0x29701b(0xeb)]())await this[_0x29701b(0xe6)](_0x303cd8);if(this[_0x29701b(0x12c)]instanceof _0x26ea1){const _0x3406b3=this[_0x29701b(0x12c)][_0x29701b(0xf5)][_0x29701b(0xe1)](_0x29701b(0x10a)),_0x56b73d=this[_0x29701b(0x12c)][_0x29701b(0xe7)][_0x29701b(0xe1)](_0x461e25);_0x56b73d[_0x29701b(0x108)](_0x3406b3);const _0x4f6149=await this[_0x29701b(0x123)][_0x29701b(0xe1)](_0x3406b3)[_0x29701b(0xda)]();_0x56b73d[_0x29701b(0xdf)](_0x3406b3,_0x4f6149);}}async[_0x1e9cee(0xe6)](_0x88a983){const _0x5129bd=_0x1e9cee,{connection:_0x3256dd}=this[_0x5129bd(0x12c)][_0x5129bd(0xe7)][_0x5129bd(0xe1)](_0x15c38c),_0x4cd139=this[_0x5129bd(0x12c)][_0x5129bd(0xe7)][_0x5129bd(0xe1)](_0x5129bd(0xd9)),_0x1dc40a=this[_0x5129bd(0x123)][_0x5129bd(0xe1)](_0x88a983),_0x1c9e95=await _0x1dc40a[_0x5129bd(0x11b)](_0x3256dd);await this[_0x5129bd(0x112)](_0x1c9e95);const _0x3555e4=new Set(Array[_0x5129bd(0x138)](_0x4cd139[_0x5129bd(0xd7)]({'channelId':_0x88a983}),_0xd8cbf5=>_0xd8cbf5['id']));for(const _0x5ef02d of _0x1c9e95)_0x5ef02d[_0x5129bd(0x110)]||_0x3555e4[_0x5129bd(0xf2)](_0x5ef02d[_0x5129bd(0x127)]);for(const _0x4d0940 of _0x3555e4)_0x4cd139[_0x5129bd(0x12b)](_0x4d0940)[_0x5129bd(0xfb)]({'isFromAdapter':!0x0});for(const _0x116eea of _0x1c9e95){let _0x2852bd=_0x4cd139[_0x5129bd(0x12b)](_0x116eea[_0x5129bd(0x127)]);const {commentThreadId:_0x5d501a,context:_0x1d0d35,attributes:_0x1896c3,resolvedBy:_0x1175a7,resolvedAt:_0x1011cd,unlinkedAt:_0x4da13d,deletedAt:_0x583159}=_0x116eea;if(_0x583159)continue;_0x2852bd||(_0x2852bd=_0x4cd139[_0x5129bd(0x128)]({'channelId':_0x88a983,'threadId':_0x5d501a,'context':_0x1d0d35,'attributes':_0x1896c3||{},'resolvedBy':_0x1175a7,'resolvedAt':_0x1011cd,'unlinkedAt':_0x4da13d,'isFromAdapter':!0x0}));const _0x53b8b7=new Set(Array[_0x5129bd(0x138)](_0x2852bd[_0x5129bd(0x10d)],_0x3e644a=>_0x3e644a['id']));for(const _0x239416 of _0x116eea[_0x5129bd(0x10d)])_0x53b8b7[_0x5129bd(0xf2)](_0x239416[_0x5129bd(0xfd)]);for(const _0x460f2c of _0x53b8b7)_0x2852bd[_0x5129bd(0xf7)](_0x460f2c)[_0x5129bd(0xfb)]({'isFromAdapter':!0x0});for(const _0x2ecf3f of _0x116eea[_0x5129bd(0x10d)]){const _0xed6bce=_0x2852bd[_0x5129bd(0xf7)](_0x2ecf3f[_0x5129bd(0xfd)]);_0xed6bce?_0xed6bce[_0x5129bd(0xe5)]!==_0x2ecf3f[_0x5129bd(0xe5)]&&_0xed6bce[_0x5129bd(0x118)]({'content':_0x2ecf3f[_0x5129bd(0xe5)],'isFromAdapter':!0x0}):_0x2852bd[_0x5129bd(0x137)](Object[_0x5129bd(0x124)](S(_0x2ecf3f),{'isFromAdapter':!0x0}));}}}[_0x1e9cee(0x10c)](_0x15d653){const _0x26110e=_0x1e9cee;if(!this[_0x26110e(0x123)][_0x26110e(0x103)](_0x15d653))throw new _0x5b4129(_0x26110e(0xf4),null,{'channelId':_0x15d653});return this[_0x26110e(0x123)][_0x26110e(0xe1)](_0x15d653);}async[_0x1e9cee(0x112)](_0x19a134){const _0x437730=_0x1e9cee,_0x457ace=this[_0x437730(0x12c)][_0x437730(0xe7)][_0x437730(0xe1)](_0x4dfdfd),{connection:_0x15126b}=this[_0x437730(0x12c)][_0x437730(0xe7)][_0x437730(0xe1)](_0x15c38c),_0x2735d4=new Set();for(const {resolvedBy:_0x59ce2c,comments:_0x372d9d}of _0x19a134){_0x59ce2c&&!_0x457ace[_0x437730(0xe8)](_0x59ce2c)&&_0x2735d4[_0x437730(0xf1)](_0x59ce2c);for(const {userId:_0x5e5498}of _0x372d9d)_0x457ace[_0x437730(0xe8)](_0x5e5498)||_0x2735d4[_0x437730(0xf1)](_0x5e5498);}if(0x0===_0x2735d4[_0x437730(0x121)])return;const _0x1f153d=await _0x4a4473[_0x437730(0x116)](_0x15126b,Array[_0x437730(0x138)](_0x2735d4));for(const _0x170411 of _0x1f153d)_0x457ace[_0x437730(0xe8)](_0x170411['id'])||_0x457ace[_0x437730(0x105)](_0x170411);}}a[_0x1e9cee(0x10e)]=_0x15e35d;export default a;async function B(_0x529c13){const _0x385596=_0x1e9cee;if(_0x385596(0x139)!==_0x529c13[_0x385596(0x132)])throw _0x529c13;}function R(_0x14b34f){const _0x2ecb55=_0x1e9cee;if((_0x3f5987=_0x14b34f)[_0x2ecb55(0xe0)][_0x2ecb55(0x101)](_0x2ecb55(0x11c))||_0x3f5987[_0x2ecb55(0xe0)][_0x2ecb55(0x101)](_0x2ecb55(0x126))||_0x3f5987[_0x2ecb55(0xe0)][_0x2ecb55(0x101)](_0x2ecb55(0xe4)))return new Promise(()=>{});var _0x3f5987;throw _0x14b34f;}function S(_0x4382e6){const _0x241e97=_0x1e9cee;return{'threadId':_0x4382e6[_0x241e97(0x127)],'commentId':_0x4382e6[_0x241e97(0xfd)],'content':_0x4382e6[_0x241e97(0xe5)],'createdAt':_0x4382e6[_0x241e97(0xe3)],'authorId':_0x4382e6[_0x241e97(0x107)],'attributes':_0x4382e6[_0x241e97(0xdd)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x8fb5(_0x4ad1b5,_0x59b2d1){const _0x1c17ef=_0x1c17();return _0x8fb5=function(_0x8fb545,_0x1e3d41){_0x8fb545=_0x8fb545-0x71;let _0x160b56=_0x1c17ef[_0x8fb545];return _0x160b56;},_0x8fb5(_0x4ad1b5,_0x59b2d1);}const _0x171b6a=_0x8fb5;function _0x1c17(){const _0x96086c=['RealTimeCollaborativeComments','get','259674HbCFwM','isPremiumPlugin','config','once','isOfficialPlugin','5493807yLIqcI','change:state','CommentsEditing','Comments','_setUpService','3724850xaFreS','init','727930NJPaCL','requires','collaboration.channelId','connected','140sFnNkF','4JAbNkK','plugins','listenTo','switchReadOnly','ready','isThreadsLoadingPaused','destroy','6SLGUbJ','pluginName','_terminateService','161XDTrJC','701429euRuXr','CommentsRepository','data','528198LVvtDD','editor','9258240PAHEOQ'];_0x1c17=function(){return _0x96086c;};return _0x1c17();}(function(_0x1d248d,_0x8ab3ed){const _0x168a41=_0x8fb5,_0xdb8c2=_0x1d248d();while(!![]){try{const _0xec8ad=-parseInt(_0x168a41(0x74))/0x1+parseInt(_0x168a41(0x88))/0x2*(parseInt(_0x168a41(0x94))/0x3)+-parseInt(_0x168a41(0x8d))/0x4*(-parseInt(_0x168a41(0x86))/0x5)+-parseInt(_0x168a41(0x7c))/0x6*(-parseInt(_0x168a41(0x73))/0x7)+-parseInt(_0x168a41(0x79))/0x8+-parseInt(_0x168a41(0x81))/0x9+-parseInt(_0x168a41(0x8c))/0xa*(-parseInt(_0x168a41(0x77))/0xb);if(_0xec8ad===_0x8ab3ed)break;else _0xdb8c2['push'](_0xdb8c2['shift']());}catch(_0x11154d){_0xdb8c2['push'](_0xdb8c2['shift']());}}}(_0x1c17,0xa3ecd));import{Plugin as _0x20366}from'ckeditor5/src/core.js';import _0x5eb451 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0xec6130 from'./realtimecollaborativeediting.js';import _0x5aae9a from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x20366{static get[_0x171b6a(0x89)](){const _0x57bb08=_0x171b6a;return[_0x57bb08(0x84),_0x5eb451,_0xec6130,_0x5aae9a];}static get[_0x171b6a(0x71)](){const _0x111dfe=_0x171b6a;return _0x111dfe(0x7a);}static get[_0x171b6a(0x80)](){return!0x0;}static get[_0x171b6a(0x7d)](){return!0x0;}[_0x171b6a(0x87)](){const _0x66bd2e=_0x171b6a,_0x5333f1=this[_0x66bd2e(0x78)][_0x66bd2e(0x8e)][_0x66bd2e(0x7b)](_0x5aae9a),_0x11c26b=this[_0x66bd2e(0x78)][_0x66bd2e(0x8e)][_0x66bd2e(0x7b)](_0x66bd2e(0x83)),_0x238298=this[_0x66bd2e(0x78)][_0x66bd2e(0x8e)][_0x66bd2e(0x7b)](_0x5eb451);return this[_0x66bd2e(0x78)][_0x66bd2e(0x76)][_0x66bd2e(0x7f)](_0x66bd2e(0x91),()=>{const _0xae560b=_0x66bd2e;this[_0xae560b(0x8f)](_0x5333f1,_0xae560b(0x82),(_0x273c4a,_0x38939b,_0x3c26c3)=>{const _0x339202=_0xae560b;_0x11c26b[_0x339202(0x92)]=_0x339202(0x8b)!==_0x3c26c3;});}),this[_0x66bd2e(0x8f)](_0x5333f1,_0x66bd2e(0x82),(_0x225b1f,_0x4ea608,_0x1d9e49)=>{const _0x19dee3=_0x66bd2e;this[_0x19dee3(0x78)][_0x19dee3(0x8e)][_0x19dee3(0x7b)](_0x19dee3(0x75))[_0x19dee3(0x90)](_0x19dee3(0x8b)!==_0x1d9e49);}),_0x238298[_0x66bd2e(0x85)](this[_0x66bd2e(0x78)][_0x66bd2e(0x7e)][_0x66bd2e(0x7b)](_0x66bd2e(0x8a)));}[_0x171b6a(0x93)](){const _0x1e40b1=_0x171b6a;this[_0x1e40b1(0x78)][_0x1e40b1(0x8e)][_0x1e40b1(0x7b)](_0x5eb451)[_0x1e40b1(0x72)](this[_0x1e40b1(0x78)][_0x1e40b1(0x7e)][_0x1e40b1(0x7b)](_0x1e40b1(0x8a))),super[_0x1e40b1(0x93)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x20565c=_0x22eb;(function(_0x87e05,_0x5763e5){const _0x4f85e2=_0x22eb,_0xe76a33=_0x87e05();while(!![]){try{const _0x488c58=parseInt(_0x4f85e2(0x167))/0x1+parseInt(_0x4f85e2(0x180))/0x2+parseInt(_0x4f85e2(0x172))/0x3+-parseInt(_0x4f85e2(0x190))/0x4+parseInt(_0x4f85e2(0x18f))/0x5+-parseInt(_0x4f85e2(0x176))/0x6*(-parseInt(_0x4f85e2(0x171))/0x7)+parseInt(_0x4f85e2(0x138))/0x8*(-parseInt(_0x4f85e2(0x10f))/0x9);if(_0x488c58===_0x5763e5)break;else _0xe76a33['push'](_0xe76a33['shift']());}catch(_0x202093){_0xe76a33['push'](_0xe76a33['shift']());}}}(_0x3d43,0x953fd));import{Plugin as _0x10512a,PendingActions as _0x9e3f39}from'ckeditor5/src/core.js';import{CKEditorError as _0x2f200e,version as _0x31cb36,uid as _0x256992}from'ckeditor5/src/utils.js';import{Notification as _0x4127a5}from'ckeditor5/src/ui.js';import{transformSets as _0xbb1d04,NoOperation as _0x4e29a9,InsertOperation as _0x33d2f9,MarkerOperation as _0x3fdd8f,RootAttributeOperation as _0x247570,OperationFactory as _0x116930,History as _0x4f5937}from'ckeditor5/src/engine.js';import _0x294822 from'./websocketgateway.js';import _0x2f4c0c from'./sessions.js';import _0x4fe910 from'./usermarkers.js';import{getTranslation as _0xcde7f2}from'../common-translations.js';import{Compressor as _0x4202d3}from'@ckeditor/ckeditor5-operations-compressor';function _0x22eb(_0x34f6ce,_0x50fa8b){const _0x3d431c=_0x3d43();return _0x22eb=function(_0x22eb3c,_0x29bbce){_0x22eb3c=_0x22eb3c-0x10a;let _0x54da3c=_0x3d431c[_0x22eb3c];return _0x54da3c;},_0x22eb(_0x34f6ce,_0x50fa8b);}import{Users as _0x2c4c1a}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x40c789,CollaborativeEditingService as _0x418210}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x10512a{static get[_0x20565c(0x1bb)](){return[_0x294822,_0x2f4c0c,_0x4fe910,_0x9e3f39,_0x2c4c1a,_0x4127a5];}static get[_0x20565c(0x1ca)](){const _0x454ab1=_0x20565c;return _0x454ab1(0x189);}static get[_0x20565c(0x206)](){return!0x0;}static get[_0x20565c(0x203)](){return!0x0;}get[_0x20565c(0x178)](){const _0x6ffb12=_0x20565c;return this[_0x6ffb12(0x19d)]+this[_0x6ffb12(0x147)];}get[_0x20565c(0x19d)](){const _0x415374=_0x20565c;return this[_0x415374(0x1ae)][_0x415374(0x17d)]-this[_0x415374(0x147)];}get[_0x20565c(0x1af)](){const _0x1a5f5a=_0x20565c,_0x4595a5=this[_0x1a5f5a(0x1ae)][_0x1a5f5a(0x17f)]();for(let _0x2ed018=_0x4595a5[_0x1a5f5a(0x1bd)]-0x1;_0x2ed018>=0x0;_0x2ed018--){const _0x48b424=_0x4595a5[_0x2ed018];if(!this[_0x1a5f5a(0x137)][_0x1a5f5a(0x1ad)](_0x48b424))return _0x48b424[_0x1a5f5a(0x15d)]+0x1-this[_0x1a5f5a(0x147)];}return 0x0;}constructor(_0x3852db){const _0x36562b=_0x20565c;if(super(_0x3852db),this[_0x36562b(0x147)]=0x0,this[_0x36562b(0x10d)]=null,this[_0x36562b(0x1ae)]=new _0x4f5937(),this[_0x36562b(0x1c0)][_0x36562b(0x161)][_0x36562b(0x119)](_0x36562b(0x170),{}),this[_0x36562b(0x1b2)]=this[_0x36562b(0x1c0)][_0x36562b(0x161)][_0x36562b(0x151)](_0x36562b(0x1ee)),!this[_0x36562b(0x1b2)])throw new _0x2f200e(_0x36562b(0x193),this);const _0x40ddcf=_0x3852db[_0x36562b(0x161)][_0x36562b(0x151)](_0x36562b(0x110))||_0x31cb36;this[_0x36562b(0x1b0)]=new l[(_0x36562b(0x1d8))](_0x40ddcf,this[_0x36562b(0x1b2)]),this[_0x36562b(0x174)]=this[_0x36562b(0x1c0)][_0x36562b(0x144)][_0x36562b(0x19e)],this[_0x36562b(0x1cd)]=new _0x4202d3(),this[_0x36562b(0x11f)]=[],this[_0x36562b(0x12b)]=new WeakSet(),this[_0x36562b(0x1aa)]=new Set(),this[_0x36562b(0x12f)](_0x36562b(0x13d),!0x1),this[_0x36562b(0x12f)](_0x36562b(0x18e),!0x1),this[_0x36562b(0x129)]=null,this[_0x36562b(0x15a)]=!0x1,this[_0x36562b(0x208)]=null,this[_0x36562b(0x142)]=0x12c,this[_0x36562b(0x1cf)]=this[_0x36562b(0x142)],this[_0x36562b(0x1d3)]=null,this[_0x36562b(0x137)]=new WeakSet(),this[_0x36562b(0x13a)]=new X(this[_0x36562b(0x137)]);}[_0x20565c(0x132)](){const _0x43f6d0=_0x20565c,_0x2684a2=this[_0x43f6d0(0x1c0)],_0x5f548a=_0x2684a2[_0x43f6d0(0x195)][_0x43f6d0(0x151)](_0x2c4c1a),_0x582663=_0x2684a2[_0x43f6d0(0x195)][_0x43f6d0(0x151)](_0x294822);this[_0x43f6d0(0x1e0)](_0x5f548a,_0x43f6d0(0x1dd),(_0x373923,_0x22ff72)=>{const _0x489bd2=_0x43f6d0,_0x40438e=_0x22ff72[0x0];_0x40438e[_0x489bd2(0x1f1)]&&(_0x373923[_0x489bd2(0x140)]=_0x5f548a[_0x489bd2(0x16a)](_0x40438e[_0x489bd2(0x1f1)]),_0x373923[_0x489bd2(0x17b)]()),null===_0x40438e[_0x489bd2(0x1f1)]&&(_0x373923[_0x489bd2(0x140)]=null,_0x373923[_0x489bd2(0x17b)]());},{'priority':_0x43f6d0(0x14c)}),this[_0x43f6d0(0x1e0)](_0x2684a2[_0x43f6d0(0x144)][_0x43f6d0(0x19e)][_0x43f6d0(0x19f)],_0x43f6d0(0x116),(_0x5ea36c,_0x5e344f)=>{const _0x36efc3=_0x43f6d0;_0x5e344f[_0x36efc3(0x113)]&&this[_0x36efc3(0x1e1)]();}),this[_0x43f6d0(0x1e0)](_0x2684a2[_0x43f6d0(0x168)][_0x43f6d0(0x201)],_0x43f6d0(0x1b3),()=>{const _0x569cd0=_0x43f6d0;this[_0x569cd0(0x1e1)]();}),this[_0x43f6d0(0x1cc)](),_0x2684a2[_0x43f6d0(0x144)]['on'](_0x43f6d0(0x1e4),(_0x27e2e8,_0x51012f)=>{const _0x1e8de8=_0x43f6d0,_0x5d1c18=_0x51012f[0x0];_0x5d1c18[_0x1e8de8(0x1dc)]&&(this[_0x1e8de8(0x13e)](_0x5d1c18),this[_0x1e8de8(0x1e9)]()&&this[_0x1e8de8(0x18b)]());}),this[_0x43f6d0(0x185)](),this[_0x43f6d0(0x1f8)](_0x43f6d0(0x1c2))['to'](_0x582663,_0x43f6d0(0x20b),this,_0x43f6d0(0x18e),(_0x31eabc,_0x449aa0)=>_0x43f6d0(0x1a7)===_0x31eabc&&!_0x449aa0),this['on'](_0x43f6d0(0x121),()=>{const _0x1b79d5=_0x43f6d0;this[_0x1b79d5(0x1c2)]?_0x2684a2[_0x1b79d5(0x152)](_0x1b79d5(0x188)):_0x2684a2[_0x1b79d5(0x146)](_0x1b79d5(0x188));}),this[_0x43f6d0(0x1c2)]?_0x2684a2[_0x43f6d0(0x152)](_0x43f6d0(0x188)):_0x2684a2[_0x43f6d0(0x146)](_0x43f6d0(0x188)),this[_0x43f6d0(0x12f)](_0x43f6d0(0x157),!0x1);}async[_0x20565c(0x1ed)](){const _0x4c74c9=_0x20565c,_0x5029e3=this[_0x4c74c9(0x1c0)][_0x4c74c9(0x195)][_0x4c74c9(0x151)](_0x2f4c0c),_0x3b172d=this[_0x4c74c9(0x1c0)][_0x4c74c9(0x195)][_0x4c74c9(0x151)](_0x294822);try{this[_0x4c74c9(0x13d)]=!0x0,_0x5029e3[_0x4c74c9(0x1b5)](this[_0x4c74c9(0x1b2)]);const _0x4b87f7=await this[_0x4c74c9(0x1b0)][_0x4c74c9(0x1ed)](_0x3b172d[_0x4c74c9(0x1d1)],this[_0x4c74c9(0x1af)]);await this[_0x4c74c9(0x1a1)](_0x4b87f7)&&(this[_0x4c74c9(0x13d)]=!0x1,this[_0x4c74c9(0x1c4)]());const _0x104a51=await this[_0x4c74c9(0x1b0)][_0x4c74c9(0x131)]();_0x5029e3[_0x4c74c9(0x1f4)](this[_0x4c74c9(0x1b2)],_0x104a51),this[_0x4c74c9(0x202)](),this[_0x4c74c9(0x157)]=!0x0;}catch(_0x5158a9){if(function(_0x585671){const _0x9d06bf=_0x4c74c9;return _0x9d06bf(0x122)===_0x585671[_0x9d06bf(0x184)];}(_0x5158a9)&&this[_0x4c74c9(0x10d)])await this[_0x4c74c9(0x1e7)]();else{if(function(_0x2b2ef6){const _0x5fa8ca=_0x4c74c9;return _0x5fa8ca(0x12a)===_0x2b2ef6[_0x5fa8ca(0x184)];}(_0x5158a9)){const _0x2153e3=_0xcde7f2(this[_0x4c74c9(0x1c0)][_0x4c74c9(0x1b1)],_0x4c74c9(0x13c));this[_0x4c74c9(0x11e)](_0x2153e3);}else{if(!(_0x5158a9 instanceof J))throw _0x5158a9;this[_0x4c74c9(0x11e)]();}}}}[_0x20565c(0x196)](){const _0x311235=_0x20565c,_0xb5bbd0=this[_0x311235(0x1c0)][_0x311235(0x195)][_0x311235(0x151)](_0x294822),_0x29e32e=this[_0x311235(0x1c0)][_0x311235(0x195)][_0x311235(0x151)](_0x2f4c0c);this[_0x311235(0x1c0)][_0x311235(0x146)](_0x311235(0x15b)),_0x29e32e[_0x311235(0x1fe)][_0x311235(0x1ad)](this[_0x311235(0x1b2)])&&_0x29e32e[_0x311235(0x1b5)](this[_0x311235(0x1b2)]),_0xb5bbd0[_0x311235(0x1ef)](this),this[_0x311235(0x156)](),super[_0x311235(0x196)]();}async[_0x20565c(0x1a1)](_0x17d384){const _0x45d9ba=_0x20565c;if(this[_0x45d9ba(0x10d)]!==_0x17d384[_0x45d9ba(0x10d)]&&this[_0x45d9ba(0x1d3)]!==_0x17d384[_0x45d9ba(0x16f)])throw new J();return this[_0x45d9ba(0x10d)]=_0x17d384[_0x45d9ba(0x10d)],this[_0x45d9ba(0x16e)]([],{..._0x17d384,'wereChangesApplied':!0x1,'data':_0x17d384[_0x45d9ba(0x14e)]},_0x45d9ba(0x1ed));}async[_0x20565c(0x20a)](_0x4b13f5,_0x11ce23=!0x1){const _0x45f515=_0x20565c,{connection:_0x384fb3}=this[_0x45f515(0x1c0)][_0x45f515(0x195)][_0x45f515(0x151)](_0x294822);l[_0x45f515(0x1d8)][_0x45f515(0x131)](_0x384fb3,this[_0x45f515(0x1b2)])[_0x45f515(0x10a)](_0xd2d679=>this[_0x45f515(0x13b)](_0xd2d679))[_0x45f515(0x181)](_0x4bb287=>{const _0x1f58a4=_0x45f515;this[_0x1f58a4(0x139)](_0x1f58a4(0x207),_0x4bb287);}),this[_0x45f515(0x1e0)](this[_0x45f515(0x1b0)],_0x45f515(0x173),this[_0x45f515(0x1fa)][_0x45f515(0x1f8)](this)),this[_0x45f515(0x1e0)](this[_0x45f515(0x1b0)],_0x45f515(0x1c1),(_0x206a07,_0x4d0943)=>{const _0x42959f=_0x45f515;this[_0x42959f(0x139)](_0x42959f(0x13f),_0x4d0943);}),this[_0x45f515(0x1e0)](this[_0x45f515(0x1b0)],_0x45f515(0x1c9),()=>{const _0xdb503c=_0x45f515;this[_0xdb503c(0x157)]=!0x1;});const _0x16173c=this[_0x45f515(0x13a)][_0x45f515(0x154)](_0x4b13f5);this[_0x45f515(0x13d)]=!0x0;const _0x4a8627=await this[_0x45f515(0x1b0)][_0x45f515(0x169)](_0x384fb3,this[_0x45f515(0x1a0)](_0x4b13f5),_0x16173c);if(this[_0x45f515(0x10d)]=_0x4a8627[_0x45f515(0x10d)],_0x11ce23){if(!_0x4a8627[_0x45f515(0x1c3)])return void this[_0x45f515(0x11e)]();this[_0x45f515(0x13d)]=!0x1,this[_0x45f515(0x1c4)](),this[_0x45f515(0x1ae)][_0x45f515(0x158)](),this[_0x45f515(0x147)]=_0x4a8627[_0x45f515(0x124)],this[_0x45f515(0x1ae)][_0x45f515(0x17d)]=this[_0x45f515(0x147)],await this[_0x45f515(0x16e)](_0x4b13f5,_0x4a8627,_0x45f515(0x1d0));}else await this[_0x45f515(0x204)](_0x4a8627,_0x4b13f5);this[_0x45f515(0x202)](),this[_0x45f515(0x157)]=!0x0;}[_0x20565c(0x202)](){const _0x3672a6=_0x20565c,_0x4e1bcd=this[_0x3672a6(0x1c0)][_0x3672a6(0x195)][_0x3672a6(0x151)](_0x2f4c0c),_0x54dc98=this[_0x3672a6(0x1c0)][_0x3672a6(0x195)][_0x3672a6(0x151)](_0x4fe910),_0x43e3c0=_0x4e1bcd[_0x3672a6(0x1fe)][_0x3672a6(0x151)](this[_0x3672a6(0x1b2)]);_0x43e3c0&&_0x43e3c0[_0x3672a6(0x1bd)]>0x1?_0x54dc98[_0x3672a6(0x1fc)]():this[_0x3672a6(0x1e0)](_0x4e1bcd,_0x3672a6(0x1d9)+this[_0x3672a6(0x1b2)],()=>{const _0x4a03c9=_0x3672a6;0x2===_0x4e1bcd[_0x4a03c9(0x1fe)][_0x4a03c9(0x151)](this[_0x4a03c9(0x1b2)])[_0x4a03c9(0x1bd)]&&_0x54dc98[_0x4a03c9(0x1fc)]();});}async[_0x20565c(0x1fa)](_0x354b16,_0x190981,_0x551598,_0x63d9e){const _0x14b300=_0x20565c;if(!this[_0x14b300(0x13d)]&&this[_0x14b300(0x174)][_0x14b300(0x17d)]==_0x190981){const _0x244fa4=this[_0x14b300(0x1d7)](_0x551598,_0x63d9e);await this[_0x14b300(0x1b8)](_0x244fa4),this[_0x14b300(0x1c7)](_0x244fa4,_0x190981,_0x551598[_0x14b300(0x16f)])||this[_0x14b300(0x139)](_0x14b300(0x1ec));}}async[_0x20565c(0x1e7)](){const _0x4a14e1=_0x20565c;this[_0x4a14e1(0x156)]();const {locale:_0x15b544}=this[_0x4a14e1(0x1c0)];let _0xf81218;try{_0xf81218=await this[_0x4a14e1(0x1b0)][_0x4a14e1(0x17e)]();}catch(_0x79f9e7){const _0x17eeaf=_0xcde7f2(_0x15b544,_0x4a14e1(0x1ea));return void this[_0x4a14e1(0x11e)](_0x17eeaf);}const _0x2e2bb9=_0xf81218[_0x4a14e1(0x16b)]||_0xf81218[_0x4a14e1(0x12c)];if(this[_0x4a14e1(0x1d3)]===_0x2e2bb9[_0x4a14e1(0x16f)])await this[_0x4a14e1(0x20a)](this[_0x4a14e1(0x1c0)][_0x4a14e1(0x144)][_0x4a14e1(0x19e)][_0x4a14e1(0x182)][_0x4a14e1(0x17f)](),!0x0);else{const _0x305223=_0xcde7f2(_0x15b544,_0x4a14e1(0x200));this[_0x4a14e1(0x11e)](_0x305223);}}[_0x20565c(0x156)](){const _0x4d62fb=_0x20565c;this[_0x4d62fb(0x1b0)][_0x4d62fb(0x1a6)](),this[_0x4d62fb(0x11f)]=[],clearTimeout(this[_0x4d62fb(0x208)]),this[_0x4d62fb(0x1be)](this[_0x4d62fb(0x1b0)]);}[_0x20565c(0x13b)](_0x46cbd2){const _0x5ea4c5=_0x20565c,_0x2659ae=this[_0x5ea4c5(0x1c0)][_0x5ea4c5(0x195)][_0x5ea4c5(0x151)](_0x2f4c0c);this[_0x5ea4c5(0x1e0)](_0x2659ae,_0x5ea4c5(0x1d9)+this[_0x5ea4c5(0x1b2)],(_0x98cebe,{session:_0x1ce7a4})=>{const _0x1bc40a=_0x5ea4c5;if(_0x1ce7a4['id']===_0x2659ae[_0x1bc40a(0x1c5)]){_0x98cebe[_0x1bc40a(0x130)]();const _0x8a6229=this[_0x1bc40a(0x1c0)][_0x1bc40a(0x195)][_0x1bc40a(0x1ad)](_0x1bc40a(0x15c))&&this[_0x1bc40a(0x1c0)][_0x1bc40a(0x195)][_0x1bc40a(0x151)](_0x1bc40a(0x15c));let _0x254e77=_0x1ce7a4[_0x1bc40a(0x1f7)];_0x8a6229&&_0x8a6229[_0x1bc40a(0x1db)]&&(_0x254e77=_0x254e77[_0x1bc40a(0x118)](_0x32b0e7=>_0x1bc40a(0x143)!==_0x32b0e7)),this[_0x1bc40a(0x1c0)][_0x1bc40a(0x195)][_0x1bc40a(0x151)](_0x1bc40a(0x112))[_0x1bc40a(0x18c)](_0x254e77,this[_0x1bc40a(0x1b2)]);}}),_0x2659ae[_0x5ea4c5(0x1f4)](this[_0x5ea4c5(0x1b2)],_0x46cbd2);}[_0x20565c(0x1cc)](){const _0x21ed59=_0x20565c,_0x20d8f8=this[_0x21ed59(0x1c0)][_0x21ed59(0x14e)][_0x21ed59(0x12f)];this[_0x21ed59(0x1c0)][_0x21ed59(0x14e)][_0x21ed59(0x12f)]=(..._0x15c332)=>{const _0x142f7e=_0x21ed59;if(!_0x15c332[_0x15c332[_0x142f7e(0x1bd)]-0x1][_0x142f7e(0x11c)])throw new _0x2f200e(_0x142f7e(0x127),this);_0x20d8f8[_0x142f7e(0x14f)](this[_0x142f7e(0x1c0)][_0x142f7e(0x14e)],_0x15c332);};}[_0x20565c(0x185)](){const _0x219dd6=_0x20565c;this[_0x219dd6(0x1c0)][_0x219dd6(0x14e)]['on'](_0x219dd6(0x132),(_0x5ace07,[_0x3b32a2])=>{const _0x576fd3=_0x219dd6;if(this[_0x576fd3(0x174)][_0x576fd3(0x17d)])throw new _0x2f200e(_0x576fd3(0x148),this);_0x5ace07[_0x576fd3(0x17b)](),this[_0x576fd3(0x11b)]();const _0x478bf2=this[_0x576fd3(0x1c0)][_0x576fd3(0x161)][_0x576fd3(0x151)](_0x576fd3(0x17a)),_0x32eb02=this[_0x576fd3(0x186)](_0x3b32a2,_0x478bf2);0x0==_0x32eb02[_0x576fd3(0x1bd)]&&_0x32eb02[_0x576fd3(0x16c)](new _0x4e29a9(0x0)),_0x5ace07[_0x576fd3(0x140)]=this[_0x576fd3(0x20a)](_0x32eb02)[_0x576fd3(0x10a)](()=>{const _0x3cd7bb=_0x576fd3;this[_0x3cd7bb(0x1c0)][_0x3cd7bb(0x195)][_0x3cd7bb(0x151)](_0x294822)[_0x3cd7bb(0x1ab)](this),this[_0x3cd7bb(0x1c0)][_0x3cd7bb(0x14e)][_0x3cd7bb(0x1b9)](_0x3cd7bb(0x1d6));})[_0x576fd3(0x181)](_0x3eb513=>this[_0x576fd3(0x139)](_0x576fd3(0x1fd),_0x3eb513))[_0x576fd3(0x191)](()=>this[_0x576fd3(0x1c4)]());},{'priority':_0x219dd6(0x14c)}),this[_0x219dd6(0x1c0)]['on'](_0x219dd6(0x209),async(_0x58177e,[_0x5357b4,_0x9950ed])=>{const _0x5290b2=_0x219dd6;_0x58177e[_0x5290b2(0x17b)]();const _0x3169b5=this[_0x5290b2(0x1c0)][_0x5290b2(0x144)][_0x5290b2(0x19e)][_0x5290b2(0x1e3)](_0x5357b4);if(!this[_0x5290b2(0x1aa)][_0x5290b2(0x1ad)](_0x5357b4)){const _0xdbcc81=_0x9950ed&&_0x9950ed[_0x5290b2(0x14e)]?_0x9950ed[_0x5290b2(0x14e)]:'',_0x14d458=_0x9950ed&&_0x9950ed[_0x5290b2(0x1c8)]?_0x9950ed[_0x5290b2(0x1c8)]:{};await this[_0x5290b2(0x1ff)](_0x5357b4,_0xdbcc81,_0x14d458);}this[_0x5290b2(0x1c0)][_0x5290b2(0x144)][_0x5290b2(0x179)]({'isUndoable':!0x1},()=>{const _0x2fd161=_0x5290b2;_0x3169b5[_0x2fd161(0x1da)]=!0x0,this[_0x2fd161(0x1c0)][_0x2fd161(0x144)][_0x2fd161(0x19e)][_0x2fd161(0x1fb)][_0x2fd161(0x1df)](_0x3169b5);});},{'priority':_0x219dd6(0x14c)});}async[_0x20565c(0x1b8)](_0x2a0d4f){const _0x17b790=_0x20565c,_0x33d48a=this[_0x17b790(0x1c0)][_0x17b790(0x195)][_0x17b790(0x151)](_0x2c4c1a),{connection:_0x31065d}=this[_0x17b790(0x1c0)][_0x17b790(0x195)][_0x17b790(0x151)](_0x294822),_0x500e68=new Set();for(const _0x4a7b68 of _0x2a0d4f){const _0x13471f=_0x4a7b68[_0x17b790(0x1f1)];_0x13471f&&!_0x33d48a[_0x17b790(0x16a)](_0x13471f)&&_0x500e68[_0x17b790(0x1f0)](_0x13471f);}if(0x0===_0x500e68[_0x17b790(0x192)])return;const _0x4c2129=await _0x40c789[_0x17b790(0x164)](_0x31065d,Array[_0x17b790(0x1c6)](_0x500e68));for(const _0x50d7a7 of _0x4c2129)_0x33d48a[_0x17b790(0x16a)](_0x50d7a7['id'])||_0x33d48a[_0x17b790(0x16d)](_0x50d7a7);}[_0x20565c(0x186)](_0x1b6564,_0x39ee5c={}){const _0x21cf4d=_0x20565c,_0x259bf1=this[_0x21cf4d(0x1c0)][_0x21cf4d(0x144)],_0x46e684=[];let _0x48a66d=0x0;const _0x36738e=_0x21cf4d(0x1f3)==typeof _0x1b6564?{'main':_0x1b6564}:_0x1b6564;for(const _0x4935f7 of Object[_0x21cf4d(0x123)](_0x36738e)){if(!this[_0x21cf4d(0x174)][_0x21cf4d(0x18d)][_0x21cf4d(0x1ad)](_0x4935f7))throw new _0x2f200e(_0x21cf4d(0x128),this);const _0x413482=this[_0x21cf4d(0x1c0)][_0x21cf4d(0x14e)][_0x21cf4d(0x1f6)](_0x36738e[_0x4935f7]),_0x390992=this[_0x21cf4d(0x174)][_0x21cf4d(0x1e3)](_0x4935f7),_0x59964f=new _0x33d2f9(_0x259bf1[_0x21cf4d(0x153)](_0x390992,0x0),_0x413482,_0x48a66d++);_0x46e684[_0x21cf4d(0x16c)](_0x59964f);for(const [_0x59c732,_0x760569]of _0x413482[_0x21cf4d(0x115)]){const _0xbd0d65=_0x259bf1[_0x21cf4d(0x11d)](_0x259bf1[_0x21cf4d(0x14a)](_0x390992,_0x760569[_0x21cf4d(0x1b4)][_0x21cf4d(0x162)][_0x21cf4d(0x141)]()),_0x259bf1[_0x21cf4d(0x14a)](_0x390992,_0x760569[_0x21cf4d(0x125)][_0x21cf4d(0x162)][_0x21cf4d(0x141)]())),_0x54ac25=new _0x3fdd8f(_0x59c732,null,_0xbd0d65,_0x259bf1[_0x21cf4d(0x115)],!0x0,_0x48a66d++);_0x46e684[_0x21cf4d(0x16c)](_0x54ac25);}}if(_0x39ee5c)for(const [_0x1dea6d,_0x595222]of Object[_0x21cf4d(0x12d)](_0x39ee5c)){const _0xd118fa=_0x259bf1[_0x21cf4d(0x19e)][_0x21cf4d(0x1e3)](_0x1dea6d);if(!_0xd118fa)throw new _0x2f200e(_0x21cf4d(0x163),null);for(const [_0x562b43,_0x49f782]of Object[_0x21cf4d(0x12d)](_0x595222))if(null!==_0x49f782){const _0x297dee=new _0x247570(_0xd118fa,_0x562b43,null,_0x49f782,_0x48a66d++);_0x46e684[_0x21cf4d(0x16c)](_0x297dee);}}return _0x46e684;}async[_0x20565c(0x1ff)](_0x241124,_0x5b4feb,_0x386a1e){const _0x2ebd4a=_0x20565c;this[_0x2ebd4a(0x186)]({[_0x241124]:_0x5b4feb},{[_0x241124]:_0x386a1e})[_0x2ebd4a(0x1a8)]((_0xc3a984,_0x51223f)=>{const _0x550ba0=_0x2ebd4a;_0xc3a984[_0x550ba0(0x15d)]=this[_0x550ba0(0x174)][_0x550ba0(0x17d)]+_0x51223f,_0xc3a984[_0x550ba0(0x114)]=!0x0,this[_0x550ba0(0x13e)](_0xc3a984);}),this[_0x2ebd4a(0x18b)](),await this[_0x2ebd4a(0x111)]();}async[_0x20565c(0x204)](_0x5acfec,_0x4e976f){const _0x17839c=_0x20565c;let _0x5f4c32;this[_0x17839c(0x147)]=_0x5acfec[_0x17839c(0x124)];const _0x300ff1=_0x5acfec[_0x17839c(0x1c3)]&&!_0x5acfec[_0x17839c(0x1b6)],_0x3ad812=_0x300ff1?0x0:_0x5acfec[_0x17839c(0x14e)][_0x17839c(0x15d)];if(_0x4e976f[_0x17839c(0x1a8)](_0x4aa541=>{const _0x42f6b1=_0x17839c;_0x4aa541[_0x42f6b1(0x114)]=!0x0,_0x4aa541[_0x42f6b1(0x175)]=_0x5acfec[_0x42f6b1(0x199)],_0x4aa541[_0x42f6b1(0x1f1)]=null;}),_0x300ff1)_0x5f4c32=_0x4e976f,this[_0x17839c(0x1a2)](_0x5f4c32,_0x300ff1);else{if(_0x5acfec[_0x17839c(0x1b6)]){const _0x3ec09f=this[_0x17839c(0x186)](_0x5acfec[_0x17839c(0x1b6)]);this[_0x17839c(0x174)][_0x17839c(0x182)][_0x17839c(0x17d)]=-_0x3ec09f[_0x17839c(0x1bd)],_0x3ec09f[_0x17839c(0x1a8)](_0x588f86=>{const _0x4fcb7f=_0x17839c;_0x588f86[_0x4fcb7f(0x15d)]-=_0x3ec09f[_0x4fcb7f(0x1bd)],_0x588f86[_0x4fcb7f(0x175)]=_0x5acfec[_0x4fcb7f(0x199)],_0x588f86[_0x4fcb7f(0x114)]=!0x0,_0x588f86[_0x4fcb7f(0x1f1)]=null;}),this[_0x17839c(0x1a2)](_0x3ec09f,!0x0),this[_0x17839c(0x1ae)][_0x17839c(0x17d)]=-_0x3ec09f[_0x17839c(0x1bd)]+this[_0x17839c(0x147)],this[_0x17839c(0x155)](_0x3ec09f);}this[_0x17839c(0x174)][_0x17839c(0x182)][_0x17839c(0x17d)]=_0x3ad812,_0x5f4c32=this[_0x17839c(0x1d7)](_0x5acfec[_0x17839c(0x14e)],_0x5acfec[_0x17839c(0x14b)]),await this[_0x17839c(0x1b8)](_0x5f4c32),this[_0x17839c(0x1a2)](_0x5f4c32,_0x300ff1);}_0x5acfec[_0x17839c(0x16f)]&&(this[_0x17839c(0x13a)][_0x17839c(0x1ba)](_0x5f4c32,_0x5acfec[_0x17839c(0x16f)]),this[_0x17839c(0x1d3)]=_0x5acfec[_0x17839c(0x16f)]),this[_0x17839c(0x1ae)][_0x17839c(0x17d)]=_0x3ad812+this[_0x17839c(0x147)],this[_0x17839c(0x155)](_0x5f4c32),_0x4e976f[_0x17839c(0x118)](_0x3e276f=>{const _0x1b81be=_0x17839c,_0x16cb5f=this[_0x1b81be(0x150)](_0x3e276f);return _0x16cb5f&&!this[_0x1b81be(0x1aa)][_0x1b81be(0x1ad)](_0x16cb5f);})[_0x17839c(0x1a8)]((_0x3da888,_0x4e0e58)=>{const _0x4e7195=_0x17839c;_0x3da888[_0x4e7195(0x15d)]=this[_0x4e7195(0x174)][_0x4e7195(0x17d)]+_0x4e0e58,this[_0x4e7195(0x13e)](_0x3da888);}),this[_0x17839c(0x1e9)]()?(this[_0x17839c(0x1cf)]=0x0,this[_0x17839c(0x18b)](!0x0),await this[_0x17839c(0x111)]()):(this[_0x17839c(0x13d)]=!0x1,this[_0x17839c(0x1c4)]());}[_0x20565c(0x139)](_0x2d1895,_0x1f02c8){const _0x2d8c7b=_0x20565c;throw this[_0x2d8c7b(0x13d)]=!0x0,_0x1f02c8&&console[_0x2d8c7b(0x1c1)](_0x1f02c8),new _0x2f200e(_0x2d1895,this[_0x2d8c7b(0x1c0)]);}[_0x20565c(0x13e)](_0x280352){const _0x18457b=_0x20565c;this[_0x18457b(0x12b)][_0x18457b(0x1ad)](_0x280352)||(this[_0x18457b(0x12b)][_0x18457b(0x1f0)](_0x280352),this[_0x18457b(0x11f)][_0x18457b(0x16c)](_0x280352),this[_0x18457b(0x129)]||_0x18457b(0x17c)==_0x280352[_0x18457b(0x165)]&&!_0x280352[_0x18457b(0x19a)]||this[_0x18457b(0x11b)]());}[_0x20565c(0x18b)](_0x118084=!0x1){const _0x2f0a53=_0x20565c;!_0x118084&&this[_0x2f0a53(0x13d)]||(this[_0x2f0a53(0x13d)]=!0x0,clearTimeout(this[_0x2f0a53(0x208)]),this[_0x2f0a53(0x208)]=setTimeout(()=>{const _0x2a552f=_0x2f0a53;this[_0x2a552f(0x166)]()[_0x2a552f(0x10a)](_0x4d757b=>{const _0xe826ee=_0x2a552f;_0x4d757b&&(this[_0xe826ee(0x1c4)](),this[_0xe826ee(0x13d)]=!0x1);})[_0x2a552f(0x181)](_0x39ba8f=>{const _0x13d37f=_0x2a552f;if(this[_0x13d37f(0x1c4)](),this[_0x13d37f(0x13d)]=!0x1,!function(_0x47181f){const _0xc8a732=_0x13d37f;return _0x47181f[_0xc8a732(0x205)][_0xc8a732(0x187)](_0xc8a732(0x10e))||_0x47181f[_0xc8a732(0x205)][_0xc8a732(0x187)](_0xc8a732(0x1e8))||_0x47181f[_0xc8a732(0x205)][_0xc8a732(0x187)](_0xc8a732(0x11a));}(_0x39ba8f))throw _0x39ba8f;});},this[_0x2f0a53(0x1cf)]));}[_0x20565c(0x111)](){return new Promise(_0x31ab09=>{const _0x337bd4=_0x22eb;this['on'](_0x337bd4(0x177),()=>{_0x31ab09();});});}async[_0x20565c(0x166)](){const _0x4c22a5=_0x20565c,_0x20f007=this[_0x4c22a5(0x1c0)][_0x4c22a5(0x195)][_0x4c22a5(0x151)](_0x4fe910);if(this[_0x4c22a5(0x10b)]()&&(_0x20f007[_0x4c22a5(0x1fc)](),this[_0x4c22a5(0x15a)]=!0x1),!this[_0x4c22a5(0x1e9)]())return!0x0;const _0x8fc3e8=[...this[_0x4c22a5(0x11f)]];for(const _0x4280e9 of _0x8fc3e8)_0x4280e9[_0x4c22a5(0x1d5)]=this[_0x4c22a5(0x174)][_0x4c22a5(0x182)][_0x4c22a5(0x1a9)](_0x4280e9);const _0x42e372=this[_0x4c22a5(0x13a)][_0x4c22a5(0x154)](_0x8fc3e8),_0x509261=K++,_0x55836a=this[_0x4c22a5(0x1a0)](_0x8fc3e8),_0x3f2792=await this[_0x4c22a5(0x1b0)][_0x4c22a5(0x1e5)](_0x55836a,_0x55836a[_0x4c22a5(0x15d)],_0x42e372);try{return await this[_0x4c22a5(0x16e)](_0x8fc3e8,_0x3f2792,_0x509261);}catch(_0x47b76b){return this[_0x4c22a5(0x139)](_0x4c22a5(0x10c),_0x47b76b);}}async[_0x20565c(0x16e)](_0x108d51,_0x40ecfd,_0x49d0aa){const _0x1fdebb=_0x20565c;if(_0x1fdebb(0x1c1)in _0x40ecfd)throw _0x40ecfd[_0x1fdebb(0x1c1)];let _0x388054=!0x1;if(_0x40ecfd[_0x1fdebb(0x1c3)]){_0x40ecfd[_0x1fdebb(0x16f)]&&(this[_0x1fdebb(0x1d3)]=_0x40ecfd[_0x1fdebb(0x16f)]),this[_0x1fdebb(0x11f)]=this[_0x1fdebb(0x11f)][_0x1fdebb(0x118)](_0x18bda0=>!_0x108d51[_0x1fdebb(0x149)](_0x18bda0));for(const _0x39c662 of _0x108d51)_0x39c662[_0x1fdebb(0x175)]=_0x1fdebb(0x198)in _0x40ecfd&&_0x40ecfd[_0x1fdebb(0x198)]||void 0x0;Q(_0x108d51,_0x40ecfd[_0x1fdebb(0x17d)]-_0x108d51[_0x1fdebb(0x1bd)]),this[_0x1fdebb(0x155)](_0x108d51);const _0x43bc80=_0x108d51[_0x1fdebb(0x118)](_0x45dd29=>{const _0x5c77dc=_0x1fdebb;if(!_0x45dd29[_0x5c77dc(0x114)])return!0x1;const _0x2589fc=this[_0x5c77dc(0x150)](_0x45dd29);return _0x2589fc&&!this[_0x5c77dc(0x1aa)][_0x5c77dc(0x1ad)](_0x2589fc);});Q(_0x43bc80,this[_0x1fdebb(0x174)][_0x1fdebb(0x17d)]),this[_0x1fdebb(0x1a2)](_0x43bc80),_0x388054=!0x0,this[_0x1fdebb(0x1cf)]=this[_0x1fdebb(0x142)];}else{const _0x37d192=this[_0x1fdebb(0x1d7)](_0x40ecfd[_0x1fdebb(0x14e)],_0x40ecfd[_0x1fdebb(0x14b)])[_0x1fdebb(0x118)](_0x5e0ce4=>_0x5e0ce4[_0x1fdebb(0x15d)]>=this[_0x1fdebb(0x19d)]);_0x37d192[_0x1fdebb(0x1a8)](_0xa08fc4=>this[_0x1fdebb(0x19b)](_0xa08fc4)),this[_0x1fdebb(0x11f)]=this[_0x1fdebb(0x11f)][_0x1fdebb(0x118)](_0x17a842=>!_0x17a842[_0x1fdebb(0x114)]||!this[_0x1fdebb(0x1aa)][_0x1fdebb(0x1ad)](this[_0x1fdebb(0x150)](_0x17a842))),this[_0x1fdebb(0x11f)][_0x1fdebb(0x1bd)]&&Q(this[_0x1fdebb(0x11f)],this[_0x1fdebb(0x11f)][0x0][_0x1fdebb(0x15d)]),await this[_0x1fdebb(0x1b8)](_0x37d192),_0x388054=this[_0x1fdebb(0x1c7)](_0x37d192,_0x40ecfd[_0x1fdebb(0x17d)],_0x40ecfd[_0x1fdebb(0x16f)]),this[_0x1fdebb(0x1cf)]=Math[_0x1fdebb(0x160)](this[_0x1fdebb(0x1cf)]/0x2);}return _0x388054?!this[_0x1fdebb(0x1e9)]()||(this[_0x1fdebb(0x18b)](!0x0),!0x1):this[_0x1fdebb(0x139)](_0x1fdebb(0x1d4));}[_0x20565c(0x1c7)](_0x1edcd4,_0x364f90,_0x3bbcf6){const _0x55f195=_0x20565c;try{const _0x3c4d08={'document':this[_0x55f195(0x174)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x26387c,operationsB:_0x49b52c,originalOperations:_0x4e291c}=_0xbb1d04(_0x1edcd4,this[_0x55f195(0x11f)],_0x3c4d08);Q(_0x26387c,this[_0x55f195(0x174)][_0x55f195(0x17d)]),Q(_0x49b52c,_0x364f90);for(const _0x2d328d of _0x26387c){const _0x4da016=_0x4e291c[_0x55f195(0x151)](_0x2d328d);_0x2d328d[_0x55f195(0x1f1)]=_0x4da016?_0x4da016[_0x55f195(0x1f1)]:null;}_0x3bbcf6&&(this[_0x55f195(0x13a)][_0x55f195(0x1ba)](_0x1edcd4,_0x3bbcf6),this[_0x55f195(0x1d3)]=_0x3bbcf6),this[_0x55f195(0x11f)]=[..._0x49b52c],this[_0x55f195(0x1a2)](_0x26387c),this[_0x55f195(0x155)](_0x1edcd4);}catch(_0x1a6db1){return console[_0x55f195(0x1c1)](_0x1a6db1),!0x1;}return!0x0;}[_0x20565c(0x1a2)](_0x2345a8,_0x1dd9ff=!0x1){const _0x3dc740=_0x20565c;this[_0x3dc740(0x1c0)][_0x3dc740(0x144)][_0x3dc740(0x179)]({'isUndoable':!0x1,'isLocal':!0x1},_0x32e800=>{const _0x4b7b76=_0x3dc740;for(const _0x501196 of _0x2345a8)this[_0x4b7b76(0x12b)][_0x4b7b76(0x1f0)](_0x501196),this[_0x4b7b76(0x19b)](_0x501196),_0x32e800[_0x4b7b76(0x1bc)][_0x4b7b76(0x20c)](_0x501196),this[_0x4b7b76(0x1c0)][_0x4b7b76(0x144)][_0x4b7b76(0x1e4)](_0x501196);});}[_0x20565c(0x19b)](_0x1d01ca){const _0x362f17=_0x20565c,_0x432dba=this[_0x362f17(0x150)](_0x1d01ca);_0x432dba&&this[_0x362f17(0x1aa)][_0x362f17(0x1f0)](_0x432dba);}[_0x20565c(0x150)](_0x527b2e){const _0x100bfc=_0x20565c;let _0x4cf2fb,_0x413834;switch(_0x527b2e[_0x100bfc(0x165)]){case _0x100bfc(0x1de):_0x4cf2fb=_0x527b2e[_0x100bfc(0x1b7)][_0x100bfc(0x18a)];break;case _0x100bfc(0x17c):if(_0x413834=_0x527b2e[_0x100bfc(0x133)],!_0x413834)return null;_0x4cf2fb=_0x413834[_0x100bfc(0x18a)];break;case _0x100bfc(0x1e6):_0x4cf2fb=_0x527b2e[_0x100bfc(0x18a)];break;case _0x100bfc(0x1e2):_0x4cf2fb=_0x527b2e[_0x100bfc(0x19c)];break;case _0x100bfc(0x117):_0x4cf2fb=_0x527b2e[_0x100bfc(0x15e)][_0x100bfc(0x18a)];break;default:return null;}return _0x4cf2fb[_0x100bfc(0x183)];}[_0x20565c(0x155)](_0x97a7b5){const _0x343fbd=_0x20565c;_0x97a7b5[_0x343fbd(0x1a8)](_0x29c725=>{const _0x35cba5=_0x343fbd,_0x3bc6e3=_0x29c725[_0x35cba5(0x1bf)]();_0x3bc6e3[_0x35cba5(0x1f1)]=_0x29c725[_0x35cba5(0x1f1)],_0x3bc6e3[_0x35cba5(0x114)]=!!_0x29c725[_0x35cba5(0x114)],_0x3bc6e3[_0x35cba5(0x175)]=_0x29c725[_0x35cba5(0x175)],_0x3bc6e3[_0x35cba5(0x15d)]+=this[_0x35cba5(0x147)],_0x29c725[_0x35cba5(0x1f2)]&&this[_0x35cba5(0x137)][_0x35cba5(0x1f0)](_0x3bc6e3),this[_0x35cba5(0x1ae)][_0x35cba5(0x20c)](_0x3bc6e3);});}[_0x20565c(0x11e)](_0x139ce7){const _0x2b2b59=_0x20565c,_0x1e2b3c=this[_0x2b2b59(0x1c0)][_0x2b2b59(0x195)][_0x2b2b59(0x151)](_0x2b2b59(0x12e)),_0x5b7814=this[_0x2b2b59(0x1c0)][_0x2b2b59(0x1b1)];_0x139ce7||(_0x139ce7=_0xcde7f2(_0x5b7814,_0x2b2b59(0x159))),_0x1e2b3c[_0x2b2b59(0x134)](_0x139ce7,{'title':_0xcde7f2(_0x5b7814,_0x2b2b59(0x120)),'namespace':_0x2b2b59(0x1ce)}),this[_0x2b2b59(0x18e)]=!0x0,clearTimeout(this[_0x2b2b59(0x208)]),this[_0x2b2b59(0x11f)]=[],this[_0x2b2b59(0x1c0)][_0x2b2b59(0x195)][_0x2b2b59(0x151)](_0x294822)[_0x2b2b59(0x196)]();}[_0x20565c(0x11b)](){const _0x1233af=_0x20565c;this[_0x1233af(0x129)]||(this[_0x1233af(0x129)]=this[_0x1233af(0x1c0)][_0x1233af(0x195)][_0x1233af(0x151)](_0x9e3f39)[_0x1233af(0x1f0)](_0xcde7f2(this[_0x1233af(0x1c0)][_0x1233af(0x1b1)],_0x1233af(0x1eb))));}[_0x20565c(0x1c4)](){const _0x48d368=_0x20565c;this[_0x48d368(0x129)]&&(this[_0x48d368(0x1c0)][_0x48d368(0x195)][_0x48d368(0x151)](_0x9e3f39)[_0x48d368(0x1a4)](this[_0x48d368(0x129)]),this[_0x48d368(0x129)]=null);}[_0x20565c(0x1a0)](_0x20724d){const _0x1cac50=_0x20565c,_0x4087ae=_0x20724d[_0x1cac50(0x14d)](_0x39eeb2=>_0x39eeb2[_0x1cac50(0x126)]());return this[_0x1cac50(0x1cd)][_0x1cac50(0x135)](_0x4087ae);}[_0x20565c(0x1d7)](_0x22d5cd,_0x398e07){const _0x388ef4=_0x20565c;return this[_0x388ef4(0x1cd)][_0x388ef4(0x136)](_0x22d5cd)[_0x388ef4(0x14d)]((_0x271eb7,_0x2c1137)=>{const _0x35f182=_0x388ef4,_0x546fa9=_0x35f182(0x132)==_0x398e07[_0x2c1137][_0x35f182(0x165)];if(_0x35f182(0x1f9)==_0x271eb7[_0x35f182(0x1ac)]){const _0x4c3fc5=_0x271eb7[_0x35f182(0x1b7)][_0x35f182(0x18a)];!this[_0x35f182(0x174)][_0x35f182(0x1e3)](_0x4c3fc5)&&(this[_0x35f182(0x174)][_0x35f182(0x197)](_0x35f182(0x1cb),_0x4c3fc5)[_0x35f182(0x1a5)]=!0x1);}const _0x545534=_0x116930[_0x35f182(0x1d2)](_0x271eb7,this[_0x35f182(0x174)]);return _0x545534[_0x35f182(0x1d5)]=_0x271eb7[_0x35f182(0x1d5)],_0x545534[_0x35f182(0x114)]=_0x546fa9,_0x545534[_0x35f182(0x1f1)]=_0x546fa9?null:_0x398e07[_0x2c1137][_0x35f182(0x194)],_0x545534[_0x35f182(0x1f2)]=_0x35f182(0x1a3)===_0x398e07[_0x2c1137][_0x35f182(0x165)],_0x545534[_0x35f182(0x175)]=_0x398e07[_0x2c1137][_0x35f182(0x175)],_0x545534;});}[_0x20565c(0x1e1)](){const _0x17b45d=_0x20565c;this[_0x17b45d(0x15a)]=!0x0,this[_0x17b45d(0x10b)]()?this[_0x17b45d(0x18b)]():this[_0x17b45d(0x15a)]=!0x1;}[_0x20565c(0x10b)](){const _0x30b27f=_0x20565c,_0x32e1a3=this[_0x30b27f(0x1c0)][_0x30b27f(0x195)][_0x30b27f(0x151)](_0x2f4c0c)[_0x30b27f(0x1fe)][_0x30b27f(0x151)](this[_0x30b27f(0x1b2)]);return!this[_0x30b27f(0x1c0)][_0x30b27f(0x1f5)]&&!!_0x32e1a3&&_0x32e1a3[_0x30b27f(0x1bd)]>0x1&&this[_0x30b27f(0x15a)];}[_0x20565c(0x1e9)](){const _0x4d31c6=_0x20565c;return this[_0x4d31c6(0x11f)][_0x4d31c6(0x1bd)]>0x0||this[_0x4d31c6(0x10b)]();}}l[_0x20565c(0x1d8)]=_0x418210;function _0x3d43(){const _0x3e4943=['affectsData','_addKnownRoot','affectedSelectable','_lastServerVersion','document','selection','_compressOperations','_handleReconnectionResponse','_applyOperationsSet','cs:removeUser','remove','_isAttached','disconnect','connected','forEach','isUndoneOperation','_knownRootNames','addToReconnectionStack','__className','has','serverHistory','lastSyncVersion','_service','locale','_channelId','change:hasDomSelection','start','unregister','initData','position','_fetchMissingUsers','fire','setIdForTheLastOperation','requires','batch','length','stopListening','clone','editor','error','_isEditingAllowed','wereChangesApplied','_clearPendingAction','mySessionId','from','_handleExternalOperations','attributes','disconnected','pluginName','$root','_initThrowingOnDataSet','_compressor','real-time-collaboration','_currentBufferDelay','reconnection:\x20flushed\x20session','connection','fromJSON','_lastSyncedOperationId','realtimecollaborationclient-handleserverresponse','wasUndone','ready','_decompressOperations','CollaborativeEditingService','sessionAdd:','_isLoaded','isEnabled','isDocumentOperation','getOperationAuthor','insert','_bufferRootLoad','listenTo','_refreshUserSelectionMarkers','addRoot','getRoot','applyOperation','sendOperations','addRootAttribute','_connectAfterSessionHasBeenFlushed','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_shouldSendUpdate','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','realtimecollaborationclient-initservice-incorrect-server-operation','reconnect','collaboration.channelId','removeFromReconnectionStack','add','_authorId','_isDisconnection','string','register','isReadOnly','parse','permissions','bind','InsertOperation','_handleReceivedOperations','differ','createUserMarkerOperations','realtimecollaborationclient-init-connection-failed','channelSessions','_loadRoot','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.','view','_handleSendingSelectionMarkers','isPremiumPlugin','_handleInitialConnectionData','message','isOfficialPlugin','realtimecollaborationclient-init-session-connection-error','_sendBufferedOperationsDelayId','loadRoot','_connectService','state','addOperation','then','_shouldSendSelectionUpdate','realtimecollaborationclient-sendbufferedoperations','sessionId','cloud-services-internal-error:\x20Not\x20connected.','2691099AkWmsJ','cloudServices.bundleVersion','_waitUntilSynced','Permissions','directChange','_isInit','markers','change:range','move','filter','define','cloud-services-internal-error:\x20Request\x20timeout.','_setPendingAction','suppressErrorInCollaboration','createRange','_handleReconnectionError','_bufferedOperations','Synchronization\x20issue','change:_isEditingAllowed','404','keys','offset','end','toJSON','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','realtimecollaborationclient-init-non-existent-root','_pendingAction','409','_knownOperations','lastDocumentSession','entries','Notification','set','off','getConnectedSessions','init','newRange','showWarning','compress','decompress','_disconnectionOperations','24zQRFMW','_crash','_operationIdentifier','_initSessionsHandling','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_isPendingUpdate','_saveOperationInBuffer','realtimecollaborationclient-initservice-internal-error','return','slice','_baseBufferDelay','document:write','model','_ignoredOperations','enableReadOnlyMode','_offset','realtimecollaborationclient-init-document-already-initialized','includes','createPositionFromPath','metadata','high','map','data','apply','_getAffectedRoot','get','disableReadOnlyMode','createPositionAt','getIdOfTheLastOperation','_updateServerHistory','_disconnectService','_isConnected','reset','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.','_hasSelectionChanged','rtc-destroyed','CommentsOnly','baseVersion','targetPosition','_operationToId','round','config','path','multi-root-editor-root-attributes-no-root','getMany','type','_sendBufferedOperations','1151102PSfytX','editing','connect','getUser','currentDocumentSession','push','addUser','_handleServerResponse','lastOperationId','collaboration','14RSxRXp','119370sBpQnK','operationsReceived','_document','createdAt','555996LHmmPn','change:_isPendingUpdate','cloudDocumentVersion','enqueueChange','rootsAttributes','stop','marker','version','getDocumentDetails','getOperations','1770216SSjOog','catch','history','rootName','code','_setUpDataInit','_getOperationsFromInitData','startsWith','rtc-offline','RealTimeCollaborationClient','root','_sendBufferedOperationsDelayed','setPermissions','roots','_hasSynchronizationProblem','1229010WYFvNR','3995104OuVhxF','finally','size','collaboration-missing-channelid','userId','plugins','destroy','createRoot','lastOperationAcceptedAt','sessionCreatedAt'];_0x3d43=function(){return _0x3e4943;};return _0x3d43();}export default l;class J extends Error{}function Q(_0x3164ad,_0x5d79b1){const _0x5c764f=_0x20565c;for(const _0x48a2a4 of _0x3164ad)_0x48a2a4[_0x5c764f(0x15d)]=_0x5d79b1++;}class X{constructor(_0x3b9651){const _0x24b21a=_0x20565c;this[_0x24b21a(0x145)]=_0x3b9651,this[_0x24b21a(0x15f)]=new WeakMap();}[_0x20565c(0x154)](_0x5e837c){const _0x27f9ca=_0x20565c;let _0x104dec=_0x5e837c[_0x27f9ca(0x1bd)];for(;_0x104dec--;){const _0x1421ec=_0x5e837c[_0x104dec];if(!this[_0x27f9ca(0x145)][_0x27f9ca(0x1ad)](_0x1421ec)){if(!this[_0x27f9ca(0x15f)][_0x27f9ca(0x1ad)](_0x1421ec)){const _0x422be3=_0x256992()[_0x27f9ca(0x141)](0x1,0x12);this[_0x27f9ca(0x15f)][_0x27f9ca(0x12f)](_0x1421ec,_0x422be3);}return this[_0x27f9ca(0x15f)][_0x27f9ca(0x151)](_0x1421ec);}}}[_0x20565c(0x1ba)](_0x474ece,_0x54814c){const _0x202668=_0x20565c;if(!_0x54814c)return;let _0x3bd4a7=_0x474ece[_0x202668(0x1bd)];for(;_0x3bd4a7--;){const _0x3def40=_0x474ece[_0x3bd4a7];this[_0x202668(0x145)][_0x202668(0x1ad)](_0x3def40)||this[_0x202668(0x15f)][_0x202668(0x12f)](_0x3def40,_0x54814c);}}}
|
|
23
|
+
const _0x4097d3=_0x3389;(function(_0x91d4a8,_0x2cf91b){const _0x390974=_0x3389,_0x45aa30=_0x91d4a8();while(!![]){try{const _0x1af461=-parseInt(_0x390974(0x204))/0x1+parseInt(_0x390974(0x18d))/0x2+parseInt(_0x390974(0x134))/0x3+-parseInt(_0x390974(0x1e6))/0x4+-parseInt(_0x390974(0x1ef))/0x5+parseInt(_0x390974(0x149))/0x6*(-parseInt(_0x390974(0x14a))/0x7)+parseInt(_0x390974(0x164))/0x8;if(_0x1af461===_0x2cf91b)break;else _0x45aa30['push'](_0x45aa30['shift']());}catch(_0xa0bf29){_0x45aa30['push'](_0x45aa30['shift']());}}}(_0x413a,0x2f7ae));import{Plugin as _0x9499f2,PendingActions as _0xc7e2db}from'ckeditor5/src/core.js';import{CKEditorError as _0x1869a5,version as _0x5a7acf,uid as _0x434fef}from'ckeditor5/src/utils.js';import{Notification as _0x6f78ea}from'ckeditor5/src/ui.js';import{transformSets as _0x4364f0,NoOperation as _0x6ebd8,InsertOperation as _0x2b95c0,MarkerOperation as _0x3384cc,RootAttributeOperation as _0x158c7a,OperationFactory as _0x49d2d1,History as _0x1232dc}from'ckeditor5/src/engine.js';import _0x5b1049 from'./websocketgateway.js';function _0x413a(){const _0x2286a3=['_addKnownRoot','apply','currentDocumentSession','catch','high','rtc-destroyed','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','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.','affectedSelectable','disableReadOnlyMode','realtimecollaborationclient-init-document-already-initialized','_waitUntilSynced','setIdForTheLastOperation','multi-root-editor-root-attributes-no-root','directChange','_currentBufferDelay','initData','entries','differ','showWarning','startsWith','cloudDocumentVersion','register','_applyOperationsSet','409','_isConnected','plugins','isOfficialPlugin','rootsAttributes','59379HGyazh','newRange','createdAt','suppressErrorInCollaboration','slice','realtimecollaborationclient-initservice-incorrect-server-operation','_handleSendingSelectionMarkers','isEnabled','sessionAdd:','connection','then','view','cloud-services-internal-error:\x20Not\x20connected.','realtimecollaborationclient-sendbufferedoperations','$root','_getOperationsFromInitData','userId','locale','type','_loadRoot','has','69246zRzrPx','49MzmsBx','cloudServices.bundleVersion','pluginName','disconnect','position','_saveOperationInBuffer','isUndoneOperation','_fetchMissingUsers','size','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','removeFromReconnectionStack','_operationIdentifier','getRoot','remove','wereChangesApplied','operationsReceived','lastOperationAcceptedAt','Synchronization\x20issue','createPositionFromPath','loadRoot','bind','sessionCreatedAt','version','_decompressOperations','_initSessionsHandling','PENDING_ACTION_SENDING_DATA','7907992Bonokd','applyOperation','stopListening','_hasSynchronizationProblem','history','_operationToId','init','isDocumentOperation','realtimecollaborationclient-init-non-existent-root','_lastServerVersion','createRoot','document','_ignoredOperations','change:hasDomSelection','editor','permissions','_baseBufferDelay','ready','_handleReconnectionError','_knownOperations','sendOperations','__className','_document','string','off','push','getConnectedSessions','end','_shouldSendSelectionUpdate','code','error','metadata','Permissions','createUserMarkerOperations','fromJSON','_isDisconnection','compress','getMany','fire','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_clearPendingAction','32528MRtPxN','isPremiumPlugin','lastOperationId','addUser','_updateServerHistory','CollaborativeEditingService','get','path','change:_isEditingAllowed','addOperation','_connectAfterSessionHasBeenFlushed','collaboration.channelId','stop','InsertOperation','enableReadOnlyMode','connected','serverHistory','includes','lastSyncVersion','model','move','unregister','CommentsOnly','disconnected','change:range','_setUpDataInit','document:write','sessionId','_isPendingUpdate','reconnect','marker','reset','finally','requires','root','RealTimeCollaborationClient','set','_isInit','_isEditingAllowed','getOperations','reconnection:\x20flushed\x20session','_bufferedOperations','_handleServerResponse','_sendBufferedOperationsDelayId','insert','_offset','getIdOfTheLastOperation','_shouldSendUpdate','channelSessions','selection','parse','change:_isPendingUpdate','define','wasUndone','realtimecollaborationclient-init-connection-failed','editing','keys','lastDocumentSession','collaboration-missing-channelid','_initThrowingOnDataSet','offset','_sendBufferedOperationsDelayed','filter','connect','addRoot','realtimecollaborationclient-handleserverresponse','_disconnectionOperations','realtimecollaborationclient-init-session-connection-error','getUser','from','rootName','targetPosition','attributes','baseVersion','clone','enqueueChange','_pendingAction','createPositionAt','_compressOperations','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.','collaboration','rtc-offline','_bufferRootLoad','_knownRootNames','_refreshUserSelectionMarkers','_handleReconnectionResponse','return','batch','getOperationAuthor','923368BcJQcY','state','_service','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','add','_handleReceivedOperations','404','config','_compressor','1433850sxOxdy','length','roots','_sendBufferedOperations','toJSON','_getAffectedRoot','markers','Notification','createRange','data','affectsData','_handleInitialConnectionData','realtimecollaborationclient-initservice-internal-error','addToReconnectionStack','_disconnectService','_authorId','cloud-services-internal-error:\x20Request\x20timeout.','_handleExternalOperations','isReadOnly','_lastSyncedOperationId','_setPendingAction','231679HDTYDD','_crash','decompress','_hasSelectionChanged','map','getDocumentDetails','start','destroy','round','_isLoaded','message','cs:removeUser','forEach','mySessionId','addRootAttribute','real-time-collaboration','listenTo','_isAttached','_connectService','_channelId','setPermissions'];_0x413a=function(){return _0x2286a3;};return _0x413a();}import _0x442fab from'./sessions.js';import _0xdd7a1d from'./usermarkers.js';function _0x3389(_0x1b1701,_0x40adce){const _0x413adc=_0x413a();return _0x3389=function(_0x3389f8,_0x1c9030){_0x3389f8=_0x3389f8-0x111;let _0x22359b=_0x413adc[_0x3389f8];return _0x22359b;},_0x3389(_0x1b1701,_0x40adce);}import{getTranslation as _0x319e51}from'../common-translations.js';import{Compressor as _0xac7311}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x3357b0}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x432c62,CollaborativeEditingService as _0x2e8aaa}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Y=0x1;class l extends _0x9499f2{static get[_0x4097d3(0x1ae)](){return[_0x5b1049,_0x442fab,_0xdd7a1d,_0xc7e2db,_0x3357b0,_0x6f78ea];}static get[_0x4097d3(0x14c)](){const _0x1684e2=_0x4097d3;return _0x1684e2(0x1b0);}static get[_0x4097d3(0x132)](){return!0x0;}static get[_0x4097d3(0x18e)](){return!0x0;}get[_0x4097d3(0x12c)](){const _0x3bb27d=_0x4097d3;return this[_0x3bb27d(0x16d)]+this[_0x3bb27d(0x1ba)];}get[_0x4097d3(0x16d)](){const _0x335a46=_0x4097d3;return this[_0x335a46(0x19d)][_0x335a46(0x160)]-this[_0x335a46(0x1ba)];}get[_0x4097d3(0x19f)](){const _0x46d4a7=_0x4097d3,_0x151a17=this[_0x46d4a7(0x19d)][_0x46d4a7(0x1b4)]();for(let _0x567dc8=_0x151a17[_0x46d4a7(0x1f0)]-0x1;_0x567dc8>=0x0;_0x567dc8--){const _0x57d62d=_0x151a17[_0x567dc8];if(!this[_0x46d4a7(0x1cf)][_0x46d4a7(0x148)](_0x57d62d))return _0x57d62d[_0x46d4a7(0x1d6)]+0x1-this[_0x46d4a7(0x1ba)];}return 0x0;}constructor(_0x4195a){const _0x5f29ae=_0x4097d3;if(super(_0x4195a),this[_0x5f29ae(0x1ba)]=0x0,this[_0x5f29ae(0x1a8)]=null,this[_0x5f29ae(0x19d)]=new _0x1232dc(),this[_0x5f29ae(0x172)][_0x5f29ae(0x1ed)][_0x5f29ae(0x1c1)](_0x5f29ae(0x1dd),{}),this[_0x5f29ae(0x115)]=this[_0x5f29ae(0x172)][_0x5f29ae(0x1ed)][_0x5f29ae(0x193)](_0x5f29ae(0x198)),!this[_0x5f29ae(0x115)])throw new _0x1869a5(_0x5f29ae(0x1c7),this);const _0xf190e=_0x4195a[_0x5f29ae(0x1ed)][_0x5f29ae(0x193)](_0x5f29ae(0x14b))||_0x5a7acf;this[_0x5f29ae(0x1e8)]=new l[(_0x5f29ae(0x192))](_0xf190e,this[_0x5f29ae(0x115)]),this[_0x5f29ae(0x17a)]=this[_0x5f29ae(0x172)][_0x5f29ae(0x1a0)][_0x5f29ae(0x16f)],this[_0x5f29ae(0x1ee)]=new _0xac7311(),this[_0x5f29ae(0x1b6)]=[],this[_0x5f29ae(0x177)]=new WeakSet(),this[_0x5f29ae(0x1e0)]=new Set(),this[_0x5f29ae(0x1b1)](_0x5f29ae(0x1a9),!0x1),this[_0x5f29ae(0x1b1)](_0x5f29ae(0x167),!0x1),this[_0x5f29ae(0x1d9)]=null,this[_0x5f29ae(0x207)]=!0x1,this[_0x5f29ae(0x1b8)]=null,this[_0x5f29ae(0x174)]=0x12c,this[_0x5f29ae(0x126)]=this[_0x5f29ae(0x174)],this[_0x5f29ae(0x202)]=null,this[_0x5f29ae(0x1cf)]=new WeakSet(),this[_0x5f29ae(0x155)]=new it(this[_0x5f29ae(0x1cf)]);}[_0x4097d3(0x16a)](){const _0x3d2a19=_0x4097d3,_0x5814a7=this[_0x3d2a19(0x172)],_0xeb6e43=_0x5814a7[_0x3d2a19(0x131)][_0x3d2a19(0x193)](_0x3357b0),_0x34c715=_0x5814a7[_0x3d2a19(0x131)][_0x3d2a19(0x193)](_0x5b1049);this[_0x3d2a19(0x112)](_0xeb6e43,_0x3d2a19(0x1e5),(_0x1b37f5,_0x47766f)=>{const _0x31ab96=_0x3d2a19,_0x2434c4=_0x47766f[0x0];_0x2434c4[_0x31ab96(0x1fe)]&&(_0x1b37f5[_0x31ab96(0x1e3)]=_0xeb6e43[_0x31ab96(0x1d1)](_0x2434c4[_0x31ab96(0x1fe)]),_0x1b37f5[_0x31ab96(0x199)]()),null===_0x2434c4[_0x31ab96(0x1fe)]&&(_0x1b37f5[_0x31ab96(0x1e3)]=null,_0x1b37f5[_0x31ab96(0x199)]());},{'priority':_0x3d2a19(0x11b)}),this[_0x3d2a19(0x112)](_0x5814a7[_0x3d2a19(0x1a0)][_0x3d2a19(0x16f)][_0x3d2a19(0x1be)],_0x3d2a19(0x1a5),(_0x403b22,_0x29dcbf)=>{const _0xb5585c=_0x3d2a19;_0x29dcbf[_0xb5585c(0x125)]&&this[_0xb5585c(0x1e1)]();}),this[_0x3d2a19(0x112)](_0x5814a7[_0x3d2a19(0x1c4)][_0x3d2a19(0x13f)],_0x3d2a19(0x171),()=>{const _0x3257a8=_0x3d2a19;this[_0x3257a8(0x1e1)]();}),this[_0x3d2a19(0x1c8)](),_0x5814a7[_0x3d2a19(0x1a0)]['on'](_0x3d2a19(0x165),(_0x596864,_0x25c0e7)=>{const _0x20d898=_0x3d2a19,_0x11a5d5=_0x25c0e7[0x0];_0x11a5d5[_0x20d898(0x16b)]&&(this[_0x20d898(0x14f)](_0x11a5d5),this[_0x20d898(0x1bc)]()&&this[_0x20d898(0x1ca)]());}),this[_0x3d2a19(0x1a6)](),this[_0x3d2a19(0x15e)](_0x3d2a19(0x1b3))['to'](_0x34c715,_0x3d2a19(0x1e7),this,_0x3d2a19(0x167),(_0x44a13e,_0x2fe935)=>_0x3d2a19(0x19c)===_0x44a13e&&!_0x2fe935),this['on'](_0x3d2a19(0x195),()=>{const _0x5cde3a=_0x3d2a19;this[_0x5cde3a(0x1b3)]?_0x5814a7[_0x5cde3a(0x120)](_0x5cde3a(0x1de)):_0x5814a7[_0x5cde3a(0x19b)](_0x5cde3a(0x1de));}),this[_0x3d2a19(0x1b3)]?_0x5814a7[_0x3d2a19(0x120)](_0x3d2a19(0x1de)):_0x5814a7[_0x3d2a19(0x19b)](_0x3d2a19(0x1de)),this[_0x3d2a19(0x1b1)](_0x3d2a19(0x130),!0x1);}async[_0x4097d3(0x1aa)](){const _0x5b3ebb=_0x4097d3,_0x1feddc=this[_0x5b3ebb(0x172)][_0x5b3ebb(0x131)][_0x5b3ebb(0x193)](_0x442fab),_0x33c4fe=this[_0x5b3ebb(0x172)][_0x5b3ebb(0x131)][_0x5b3ebb(0x193)](_0x5b1049);try{this[_0x5b3ebb(0x1a9)]=!0x0,_0x1feddc[_0x5b3ebb(0x1a2)](this[_0x5b3ebb(0x115)]);const _0x192462=await this[_0x5b3ebb(0x1e8)][_0x5b3ebb(0x1aa)](_0x33c4fe[_0x5b3ebb(0x13d)],this[_0x5b3ebb(0x19f)]);await this[_0x5b3ebb(0x1e2)](_0x192462)&&(this[_0x5b3ebb(0x1a9)]=!0x1,this[_0x5b3ebb(0x18c)]());const _0x44a3fa=await this[_0x5b3ebb(0x1e8)][_0x5b3ebb(0x17e)]();_0x1feddc[_0x5b3ebb(0x12d)](this[_0x5b3ebb(0x115)],_0x44a3fa),this[_0x5b3ebb(0x13a)](),this[_0x5b3ebb(0x130)]=!0x0;}catch(_0xd2a817){if(function(_0x28def4){const _0x3717bd=_0x5b3ebb;return _0x3717bd(0x1ec)===_0x28def4[_0x3717bd(0x181)];}(_0xd2a817)&&this[_0x5b3ebb(0x1a8)])await this[_0x5b3ebb(0x197)]();else{if(function(_0xcd9ab){const _0x324fc2=_0x5b3ebb;return _0x324fc2(0x12f)===_0xcd9ab[_0x324fc2(0x181)];}(_0xd2a817)){const _0x108d59=_0x319e51(this[_0x5b3ebb(0x172)][_0x5b3ebb(0x145)],_0x5b3ebb(0x18b));this[_0x5b3ebb(0x176)](_0x108d59);}else{if(!(_0xd2a817 instanceof Z))throw _0xd2a817;this[_0x5b3ebb(0x176)]();}}}}[_0x4097d3(0x20b)](){const _0x2dedd4=_0x4097d3,_0x4bd755=this[_0x2dedd4(0x172)][_0x2dedd4(0x131)][_0x2dedd4(0x193)](_0x5b1049),_0x4c63d9=this[_0x2dedd4(0x172)][_0x2dedd4(0x131)][_0x2dedd4(0x193)](_0x442fab);this[_0x2dedd4(0x172)][_0x2dedd4(0x19b)](_0x2dedd4(0x11c)),_0x4c63d9[_0x2dedd4(0x1bd)][_0x2dedd4(0x148)](this[_0x2dedd4(0x115)])&&_0x4c63d9[_0x2dedd4(0x1a2)](this[_0x2dedd4(0x115)]),_0x4bd755[_0x2dedd4(0x154)](this),this[_0x2dedd4(0x1fd)](),super[_0x2dedd4(0x20b)]();}async[_0x4097d3(0x1e2)](_0x277148){const _0x3179cd=_0x4097d3;if(this[_0x3179cd(0x1a8)]!==_0x277148[_0x3179cd(0x1a8)]&&this[_0x3179cd(0x202)]!==_0x277148[_0x3179cd(0x18f)])throw new Z();return this[_0x3179cd(0x1a8)]=_0x277148[_0x3179cd(0x1a8)],this[_0x3179cd(0x1b7)]([],{..._0x277148,'wereChangesApplied':!0x1,'data':_0x277148[_0x3179cd(0x1f8)]},_0x3179cd(0x1aa));}async[_0x4097d3(0x114)](_0x3ff231,_0x2a462f=!0x1){const _0x5da7cf=_0x4097d3,{connection:_0x3418f0}=this[_0x5da7cf(0x172)][_0x5da7cf(0x131)][_0x5da7cf(0x193)](_0x5b1049);l[_0x5da7cf(0x192)][_0x5da7cf(0x17e)](_0x3418f0,this[_0x5da7cf(0x115)])[_0x5da7cf(0x13e)](_0x1209a4=>this[_0x5da7cf(0x162)](_0x1209a4))[_0x5da7cf(0x11a)](_0x4414d1=>{const _0xf87a3c=_0x5da7cf;this[_0xf87a3c(0x205)](_0xf87a3c(0x1d0),_0x4414d1);}),this[_0x5da7cf(0x112)](this[_0x5da7cf(0x1e8)],_0x5da7cf(0x159),this[_0x5da7cf(0x1eb)][_0x5da7cf(0x15e)](this)),this[_0x5da7cf(0x112)](this[_0x5da7cf(0x1e8)],_0x5da7cf(0x182),(_0x5bb3ae,_0x593d0c)=>{const _0x9f73f=_0x5da7cf;this[_0x9f73f(0x205)](_0x9f73f(0x1fb),_0x593d0c);}),this[_0x5da7cf(0x112)](this[_0x5da7cf(0x1e8)],_0x5da7cf(0x1a4),()=>{const _0xc7839f=_0x5da7cf;this[_0xc7839f(0x130)]=!0x1;});const _0x5db49e=this[_0x5da7cf(0x155)][_0x5da7cf(0x1bb)](_0x3ff231);this[_0x5da7cf(0x1a9)]=!0x0;const _0x14e68d=await this[_0x5da7cf(0x1e8)][_0x5da7cf(0x1cc)](_0x3418f0,this[_0x5da7cf(0x1db)](_0x3ff231),_0x5db49e);if(this[_0x5da7cf(0x1a8)]=_0x14e68d[_0x5da7cf(0x1a8)],_0x2a462f){if(!_0x14e68d[_0x5da7cf(0x158)])return void this[_0x5da7cf(0x176)]();this[_0x5da7cf(0x1a9)]=!0x1,this[_0x5da7cf(0x18c)](),this[_0x5da7cf(0x19d)][_0x5da7cf(0x1ac)](),this[_0x5da7cf(0x1ba)]=_0x14e68d[_0x5da7cf(0x1c9)],this[_0x5da7cf(0x19d)][_0x5da7cf(0x160)]=this[_0x5da7cf(0x1ba)],await this[_0x5da7cf(0x1b7)](_0x3ff231,_0x14e68d,_0x5da7cf(0x1b5));}else await this[_0x5da7cf(0x1fa)](_0x14e68d,_0x3ff231);this[_0x5da7cf(0x13a)](),this[_0x5da7cf(0x130)]=!0x0;}[_0x4097d3(0x13a)](){const _0x2e780f=_0x4097d3,_0x58163a=this[_0x2e780f(0x172)][_0x2e780f(0x131)][_0x2e780f(0x193)](_0x442fab),_0x3531b5=this[_0x2e780f(0x172)][_0x2e780f(0x131)][_0x2e780f(0x193)](_0xdd7a1d),_0x254b41=_0x58163a[_0x2e780f(0x1bd)][_0x2e780f(0x193)](this[_0x2e780f(0x115)]);_0x254b41&&_0x254b41[_0x2e780f(0x1f0)]>0x1?_0x3531b5[_0x2e780f(0x185)]():this[_0x2e780f(0x112)](_0x58163a,_0x2e780f(0x13c)+this[_0x2e780f(0x115)],()=>{const _0x5b8da9=_0x2e780f;0x2===_0x58163a[_0x5b8da9(0x1bd)][_0x5b8da9(0x193)](this[_0x5b8da9(0x115)])[_0x5b8da9(0x1f0)]&&_0x3531b5[_0x5b8da9(0x185)]();});}async[_0x4097d3(0x1eb)](_0x577303,_0x4bc532,_0x376bd1,_0x3e6591){const _0x458027=_0x4097d3;if(!this[_0x458027(0x1a9)]&&this[_0x458027(0x17a)][_0x458027(0x160)]==_0x4bc532){const _0x403457=this[_0x458027(0x161)](_0x376bd1,_0x3e6591);await this[_0x458027(0x151)](_0x403457),this[_0x458027(0x200)](_0x403457,_0x4bc532,_0x376bd1[_0x458027(0x18f)])||this[_0x458027(0x205)](_0x458027(0x139));}}async[_0x4097d3(0x197)](){const _0x5d0cb2=_0x4097d3;this[_0x5d0cb2(0x1fd)]();const {locale:_0x56327e}=this[_0x5d0cb2(0x172)];let _0x21bfc6;try{_0x21bfc6=await this[_0x5d0cb2(0x1e8)][_0x5d0cb2(0x209)]();}catch(_0x53eab6){const _0x51169a=_0x319e51(_0x56327e,_0x5d0cb2(0x1e9));return void this[_0x5d0cb2(0x176)](_0x51169a);}const _0x304aae=_0x21bfc6[_0x5d0cb2(0x119)]||_0x21bfc6[_0x5d0cb2(0x1c6)];if(this[_0x5d0cb2(0x202)]===_0x304aae[_0x5d0cb2(0x18f)])await this[_0x5d0cb2(0x114)](this[_0x5d0cb2(0x172)][_0x5d0cb2(0x1a0)][_0x5d0cb2(0x16f)][_0x5d0cb2(0x168)][_0x5d0cb2(0x1b4)](),!0x0);else{const _0x18942b=_0x319e51(_0x56327e,_0x5d0cb2(0x1dc));this[_0x5d0cb2(0x176)](_0x18942b);}}[_0x4097d3(0x1fd)](){const _0x3ddcaf=_0x4097d3;this[_0x3ddcaf(0x1e8)][_0x3ddcaf(0x14d)](),this[_0x3ddcaf(0x1b6)]=[],clearTimeout(this[_0x3ddcaf(0x1b8)]),this[_0x3ddcaf(0x166)](this[_0x3ddcaf(0x1e8)]);}[_0x4097d3(0x162)](_0x436446){const _0x4d1f1c=_0x4097d3,_0x4cdc48=this[_0x4d1f1c(0x172)][_0x4d1f1c(0x131)][_0x4d1f1c(0x193)](_0x442fab);this[_0x4d1f1c(0x112)](_0x4cdc48,_0x4d1f1c(0x13c)+this[_0x4d1f1c(0x115)],(_0xe999b0,{session:_0x2c5056})=>{const _0x3d6b14=_0x4d1f1c;if(_0x2c5056['id']===_0x4cdc48[_0x3d6b14(0x211)]){_0xe999b0[_0x3d6b14(0x17c)]();const _0x3d91ea=this[_0x3d6b14(0x172)][_0x3d6b14(0x131)][_0x3d6b14(0x148)](_0x3d6b14(0x1a3))&&this[_0x3d6b14(0x172)][_0x3d6b14(0x131)][_0x3d6b14(0x193)](_0x3d6b14(0x1a3));let _0x5c1543=_0x2c5056[_0x3d6b14(0x173)];_0x3d91ea&&_0x3d91ea[_0x3d6b14(0x13b)]&&(_0x5c1543=_0x5c1543[_0x3d6b14(0x1cb)](_0x44cab1=>_0x3d6b14(0x1a7)!==_0x44cab1)),this[_0x3d6b14(0x172)][_0x3d6b14(0x131)][_0x3d6b14(0x193)](_0x3d6b14(0x184))[_0x3d6b14(0x116)](_0x5c1543,this[_0x3d6b14(0x115)]);}}),_0x4cdc48[_0x4d1f1c(0x12d)](this[_0x4d1f1c(0x115)],_0x436446);}[_0x4097d3(0x1c8)](){const _0x58ab81=_0x4097d3,_0x301c70=this[_0x58ab81(0x172)][_0x58ab81(0x1f8)][_0x58ab81(0x1b1)];this[_0x58ab81(0x172)][_0x58ab81(0x1f8)][_0x58ab81(0x1b1)]=(..._0x43cdaf)=>{const _0x14aae3=_0x58ab81;if(!_0x43cdaf[_0x43cdaf[_0x14aae3(0x1f0)]-0x1][_0x14aae3(0x137)])throw new _0x1869a5(_0x14aae3(0x11d),this);_0x301c70[_0x14aae3(0x118)](this[_0x14aae3(0x172)][_0x14aae3(0x1f8)],_0x43cdaf);};}[_0x4097d3(0x1a6)](){const _0x53d9b6=_0x4097d3;this[_0x53d9b6(0x172)][_0x53d9b6(0x1f8)]['on'](_0x53d9b6(0x16a),(_0x5a757c,[_0x381829])=>{const _0x5117de=_0x53d9b6;if(this[_0x5117de(0x17a)][_0x5117de(0x160)])throw new _0x1869a5(_0x5117de(0x121),this);_0x5a757c[_0x5117de(0x199)](),this[_0x5117de(0x203)]();const _0x6fcff9=this[_0x5117de(0x172)][_0x5117de(0x1ed)][_0x5117de(0x193)](_0x5117de(0x133)),_0x1bd4a0=this[_0x5117de(0x143)](_0x381829,_0x6fcff9);0x0==_0x1bd4a0[_0x5117de(0x1f0)]&&_0x1bd4a0[_0x5117de(0x17d)](new _0x6ebd8(0x0)),_0x5a757c[_0x5117de(0x1e3)]=this[_0x5117de(0x114)](_0x1bd4a0)[_0x5117de(0x13e)](()=>{const _0x1fb9d1=_0x5117de;this[_0x1fb9d1(0x172)][_0x1fb9d1(0x131)][_0x1fb9d1(0x193)](_0x5b1049)[_0x1fb9d1(0x1fc)](this),this[_0x1fb9d1(0x172)][_0x1fb9d1(0x1f8)][_0x1fb9d1(0x18a)](_0x1fb9d1(0x175));})[_0x5117de(0x11a)](_0x1721c9=>this[_0x5117de(0x205)](_0x5117de(0x1c3),_0x1721c9))[_0x5117de(0x1ad)](()=>this[_0x5117de(0x18c)]());},{'priority':_0x53d9b6(0x11b)}),this[_0x53d9b6(0x172)]['on'](_0x53d9b6(0x15d),async(_0x35f7eb,[_0x16cbfb,_0x4a39c6])=>{const _0x2f356a=_0x53d9b6;_0x35f7eb[_0x2f356a(0x199)]();const _0x230cb2=this[_0x2f356a(0x172)][_0x2f356a(0x1a0)][_0x2f356a(0x16f)][_0x2f356a(0x156)](_0x16cbfb);if(!this[_0x2f356a(0x1e0)][_0x2f356a(0x148)](_0x16cbfb)){const _0x1c3f62=_0x4a39c6&&_0x4a39c6[_0x2f356a(0x1f8)]?_0x4a39c6[_0x2f356a(0x1f8)]:'',_0x4e7dc2=_0x4a39c6&&_0x4a39c6[_0x2f356a(0x1d5)]?_0x4a39c6[_0x2f356a(0x1d5)]:{};await this[_0x2f356a(0x147)](_0x16cbfb,_0x1c3f62,_0x4e7dc2);}this[_0x2f356a(0x172)][_0x2f356a(0x1a0)][_0x2f356a(0x1d8)]({'isUndoable':!0x1},()=>{const _0x1cd9d4=_0x2f356a;_0x230cb2[_0x1cd9d4(0x20d)]=!0x0,this[_0x1cd9d4(0x172)][_0x1cd9d4(0x1a0)][_0x1cd9d4(0x16f)][_0x1cd9d4(0x129)][_0x1cd9d4(0x1df)](_0x230cb2);});},{'priority':_0x53d9b6(0x11b)});}async[_0x4097d3(0x151)](_0x24e985){const _0x31f693=_0x4097d3,_0xd9b408=this[_0x31f693(0x172)][_0x31f693(0x131)][_0x31f693(0x193)](_0x3357b0),{connection:_0x34f726}=this[_0x31f693(0x172)][_0x31f693(0x131)][_0x31f693(0x193)](_0x5b1049),_0x4dd43d=new Set();for(const _0x3fc977 of _0x24e985){const _0x4a13f9=_0x3fc977[_0x31f693(0x1fe)];_0x4a13f9&&!_0xd9b408[_0x31f693(0x1d1)](_0x4a13f9)&&_0x4dd43d[_0x31f693(0x1ea)](_0x4a13f9);}if(0x0===_0x4dd43d[_0x31f693(0x152)])return;const _0x4d0c91=await _0x432c62[_0x31f693(0x189)](_0x34f726,Array[_0x31f693(0x1d2)](_0x4dd43d));for(const _0x2575df of _0x4d0c91)_0xd9b408[_0x31f693(0x1d1)](_0x2575df['id'])||_0xd9b408[_0x31f693(0x190)](_0x2575df);}[_0x4097d3(0x143)](_0x1d61f4,_0x5b9369={}){const _0x4d62d6=_0x4097d3,_0x1b9f7b=this[_0x4d62d6(0x172)][_0x4d62d6(0x1a0)],_0x27bd3b=[];let _0x4ff6b9=0x0;const _0x10c3e5=_0x4d62d6(0x17b)==typeof _0x1d61f4?{'main':_0x1d61f4}:_0x1d61f4;for(const _0x462489 of Object[_0x4d62d6(0x1c5)](_0x10c3e5)){if(!this[_0x4d62d6(0x17a)][_0x4d62d6(0x1f1)][_0x4d62d6(0x148)](_0x462489))throw new _0x1869a5(_0x4d62d6(0x16c),this);const _0x2ad93d=this[_0x4d62d6(0x172)][_0x4d62d6(0x1f8)][_0x4d62d6(0x1bf)](_0x10c3e5[_0x462489]),_0x4b8322=this[_0x4d62d6(0x17a)][_0x4d62d6(0x156)](_0x462489),_0xc0e03e=new _0x2b95c0(_0x1b9f7b[_0x4d62d6(0x1da)](_0x4b8322,0x0),_0x2ad93d,_0x4ff6b9++);_0x27bd3b[_0x4d62d6(0x17d)](_0xc0e03e);for(const [_0x56aaae,_0x31ce80]of _0x2ad93d[_0x4d62d6(0x1f5)]){const _0x543d45=_0x1b9f7b[_0x4d62d6(0x1f7)](_0x1b9f7b[_0x4d62d6(0x15c)](_0x4b8322,_0x31ce80[_0x4d62d6(0x20a)][_0x4d62d6(0x194)][_0x4d62d6(0x138)]()),_0x1b9f7b[_0x4d62d6(0x15c)](_0x4b8322,_0x31ce80[_0x4d62d6(0x17f)][_0x4d62d6(0x194)][_0x4d62d6(0x138)]())),_0x1c4a21=new _0x3384cc(_0x56aaae,null,_0x543d45,_0x1b9f7b[_0x4d62d6(0x1f5)],!0x0,_0x4ff6b9++);_0x27bd3b[_0x4d62d6(0x17d)](_0x1c4a21);}}if(_0x5b9369)for(const [_0x45abd7,_0x33437b]of Object[_0x4d62d6(0x128)](_0x5b9369)){const _0xce25f=_0x1b9f7b[_0x4d62d6(0x16f)][_0x4d62d6(0x156)](_0x45abd7);if(!_0xce25f)throw new _0x1869a5(_0x4d62d6(0x124),null);for(const [_0x4373ef,_0x2d4372]of Object[_0x4d62d6(0x128)](_0x33437b))if(null!==_0x2d4372){const _0x1ed282=new _0x158c7a(_0xce25f,_0x4373ef,null,_0x2d4372,_0x4ff6b9++);_0x27bd3b[_0x4d62d6(0x17d)](_0x1ed282);}}return _0x27bd3b;}async[_0x4097d3(0x147)](_0x4dc664,_0x1d2355,_0x308b79){const _0xf0c6ec=_0x4097d3;this[_0xf0c6ec(0x143)]({[_0x4dc664]:_0x1d2355},{[_0x4dc664]:_0x308b79})[_0xf0c6ec(0x210)]((_0x5383f1,_0x5db392)=>{const _0x345963=_0xf0c6ec;_0x5383f1[_0x345963(0x1d6)]=this[_0x345963(0x17a)][_0x345963(0x160)]+_0x5db392,_0x5383f1[_0x345963(0x1b2)]=!0x0,this[_0x345963(0x14f)](_0x5383f1);}),this[_0xf0c6ec(0x1ca)](),await this[_0xf0c6ec(0x122)]();}async[_0x4097d3(0x1fa)](_0x4bdb06,_0xff0da2){const _0x4facbd=_0x4097d3;let _0x288aa6;this[_0x4facbd(0x1ba)]=_0x4bdb06[_0x4facbd(0x1c9)];const _0x3b2448=_0x4bdb06[_0x4facbd(0x158)]&&!_0x4bdb06[_0x4facbd(0x127)],_0x51e6a5=_0x3b2448?0x0:_0x4bdb06[_0x4facbd(0x1f8)][_0x4facbd(0x1d6)];if(_0xff0da2[_0x4facbd(0x210)](_0x5f3bd8=>{const _0x5f3e9f=_0x4facbd;_0x5f3bd8[_0x5f3e9f(0x1b2)]=!0x0,_0x5f3bd8[_0x5f3e9f(0x136)]=_0x4bdb06[_0x5f3e9f(0x15f)],_0x5f3bd8[_0x5f3e9f(0x1fe)]=null;}),_0x3b2448)_0x288aa6=_0xff0da2,this[_0x4facbd(0x12e)](_0x288aa6,_0x3b2448);else{if(_0x4bdb06[_0x4facbd(0x127)]){const _0x36a9d9=this[_0x4facbd(0x143)](_0x4bdb06[_0x4facbd(0x127)]);this[_0x4facbd(0x17a)][_0x4facbd(0x168)][_0x4facbd(0x160)]=-_0x36a9d9[_0x4facbd(0x1f0)],_0x36a9d9[_0x4facbd(0x210)](_0xa625a6=>{const _0x31e68a=_0x4facbd;_0xa625a6[_0x31e68a(0x1d6)]-=_0x36a9d9[_0x31e68a(0x1f0)],_0xa625a6[_0x31e68a(0x136)]=_0x4bdb06[_0x31e68a(0x15f)],_0xa625a6[_0x31e68a(0x1b2)]=!0x0,_0xa625a6[_0x31e68a(0x1fe)]=null;}),this[_0x4facbd(0x12e)](_0x36a9d9,!0x0),this[_0x4facbd(0x19d)][_0x4facbd(0x160)]=-_0x36a9d9[_0x4facbd(0x1f0)]+this[_0x4facbd(0x1ba)],this[_0x4facbd(0x191)](_0x36a9d9);}this[_0x4facbd(0x17a)][_0x4facbd(0x168)][_0x4facbd(0x160)]=_0x51e6a5,_0x288aa6=this[_0x4facbd(0x161)](_0x4bdb06[_0x4facbd(0x1f8)],_0x4bdb06[_0x4facbd(0x183)]),await this[_0x4facbd(0x151)](_0x288aa6),this[_0x4facbd(0x12e)](_0x288aa6,_0x3b2448);}_0x4bdb06[_0x4facbd(0x18f)]&&(this[_0x4facbd(0x155)][_0x4facbd(0x123)](_0x288aa6,_0x4bdb06[_0x4facbd(0x18f)]),this[_0x4facbd(0x202)]=_0x4bdb06[_0x4facbd(0x18f)]),this[_0x4facbd(0x19d)][_0x4facbd(0x160)]=_0x51e6a5+this[_0x4facbd(0x1ba)],this[_0x4facbd(0x191)](_0x288aa6),_0xff0da2[_0x4facbd(0x1cb)](_0x4f66e2=>{const _0x49103d=_0x4facbd,_0x25801f=this[_0x49103d(0x1f4)](_0x4f66e2);return _0x25801f&&!this[_0x49103d(0x1e0)][_0x49103d(0x148)](_0x25801f);})[_0x4facbd(0x210)]((_0x4bc0b4,_0x16d1c4)=>{const _0x3c9714=_0x4facbd;_0x4bc0b4[_0x3c9714(0x1d6)]=this[_0x3c9714(0x17a)][_0x3c9714(0x160)]+_0x16d1c4,this[_0x3c9714(0x14f)](_0x4bc0b4);}),this[_0x4facbd(0x1bc)]()?(this[_0x4facbd(0x126)]=0x0,this[_0x4facbd(0x1ca)](!0x0),await this[_0x4facbd(0x122)]()):(this[_0x4facbd(0x1a9)]=!0x1,this[_0x4facbd(0x18c)]());}[_0x4097d3(0x205)](_0x3a1688,_0xc8d46f){const _0x214aa0=_0x4097d3;throw this[_0x214aa0(0x1a9)]=!0x0,_0xc8d46f&&console[_0x214aa0(0x182)](_0xc8d46f),new _0x1869a5(_0x3a1688,this[_0x214aa0(0x172)]);}[_0x4097d3(0x14f)](_0x1bd420){const _0x38cef2=_0x4097d3;this[_0x38cef2(0x177)][_0x38cef2(0x148)](_0x1bd420)||(this[_0x38cef2(0x177)][_0x38cef2(0x1ea)](_0x1bd420),this[_0x38cef2(0x1b6)][_0x38cef2(0x17d)](_0x1bd420),this[_0x38cef2(0x1d9)]||_0x38cef2(0x1ab)==_0x1bd420[_0x38cef2(0x146)]&&!_0x1bd420[_0x38cef2(0x1f9)]||this[_0x38cef2(0x203)]());}[_0x4097d3(0x1ca)](_0x2ad972=!0x1){const _0x3bfed0=_0x4097d3;!_0x2ad972&&this[_0x3bfed0(0x1a9)]||(this[_0x3bfed0(0x1a9)]=!0x0,clearTimeout(this[_0x3bfed0(0x1b8)]),this[_0x3bfed0(0x1b8)]=setTimeout(()=>{const _0x542a1a=_0x3bfed0;this[_0x542a1a(0x1f2)]()[_0x542a1a(0x13e)](_0x512c38=>{const _0x120c75=_0x542a1a;_0x512c38&&(this[_0x120c75(0x18c)](),this[_0x120c75(0x1a9)]=!0x1);})[_0x542a1a(0x11a)](_0x14d8bb=>{const _0x50d723=_0x542a1a;if(this[_0x50d723(0x18c)](),this[_0x50d723(0x1a9)]=!0x1,!function(_0x476f3e){const _0x210a6d=_0x50d723;return _0x476f3e[_0x210a6d(0x20e)][_0x210a6d(0x12b)](_0x210a6d(0x140))||_0x476f3e[_0x210a6d(0x20e)][_0x210a6d(0x12b)](_0x210a6d(0x153))||_0x476f3e[_0x210a6d(0x20e)][_0x210a6d(0x12b)](_0x210a6d(0x1ff));}(_0x14d8bb))throw _0x14d8bb;});},this[_0x3bfed0(0x126)]));}[_0x4097d3(0x122)](){return new Promise(_0x32cbb4=>{const _0x5f0409=_0x3389;this['on'](_0x5f0409(0x1c0),()=>{_0x32cbb4();});});}async[_0x4097d3(0x1f2)](){const _0x53ca6d=_0x4097d3,_0x1ba832=this[_0x53ca6d(0x172)][_0x53ca6d(0x131)][_0x53ca6d(0x193)](_0xdd7a1d);if(this[_0x53ca6d(0x180)]()&&(_0x1ba832[_0x53ca6d(0x185)](),this[_0x53ca6d(0x207)]=!0x1),!this[_0x53ca6d(0x1bc)]())return!0x0;const _0x59e321=[...this[_0x53ca6d(0x1b6)]];for(const _0x1e4497 of _0x59e321)_0x1e4497[_0x53ca6d(0x1c2)]=this[_0x53ca6d(0x17a)][_0x53ca6d(0x168)][_0x53ca6d(0x150)](_0x1e4497);const _0x5e556f=this[_0x53ca6d(0x155)][_0x53ca6d(0x1bb)](_0x59e321),_0x141b42=Y++,_0x49a19d=this[_0x53ca6d(0x1db)](_0x59e321),_0xc915d6=await this[_0x53ca6d(0x1e8)][_0x53ca6d(0x178)](_0x49a19d,_0x49a19d[_0x53ca6d(0x1d6)],_0x5e556f);try{return await this[_0x53ca6d(0x1b7)](_0x59e321,_0xc915d6,_0x141b42);}catch(_0xe4b3f7){return this[_0x53ca6d(0x205)](_0x53ca6d(0x141),_0xe4b3f7);}}async[_0x4097d3(0x1b7)](_0x612550,_0x55325e,_0x31fa17){const _0x3607f2=_0x4097d3;if(_0x3607f2(0x182)in _0x55325e)throw _0x55325e[_0x3607f2(0x182)];let _0x38f759=!0x1;if(_0x55325e[_0x3607f2(0x158)]){_0x55325e[_0x3607f2(0x18f)]&&(this[_0x3607f2(0x202)]=_0x55325e[_0x3607f2(0x18f)]),this[_0x3607f2(0x1b6)]=this[_0x3607f2(0x1b6)][_0x3607f2(0x1cb)](_0x360890=>!_0x612550[_0x3607f2(0x19e)](_0x360890));for(const _0x44516f of _0x612550)_0x44516f[_0x3607f2(0x136)]=_0x3607f2(0x15a)in _0x55325e&&_0x55325e[_0x3607f2(0x15a)]||void 0x0;tt(_0x612550,_0x55325e[_0x3607f2(0x160)]-_0x612550[_0x3607f2(0x1f0)]),this[_0x3607f2(0x191)](_0x612550);const _0x3123c9=_0x612550[_0x3607f2(0x1cb)](_0x1cdb63=>{const _0x4e75dd=_0x3607f2;if(!_0x1cdb63[_0x4e75dd(0x1b2)])return!0x1;const _0x4def01=this[_0x4e75dd(0x1f4)](_0x1cdb63);return _0x4def01&&!this[_0x4e75dd(0x1e0)][_0x4e75dd(0x148)](_0x4def01);});tt(_0x3123c9,this[_0x3607f2(0x17a)][_0x3607f2(0x160)]),this[_0x3607f2(0x12e)](_0x3123c9),_0x38f759=!0x0,this[_0x3607f2(0x126)]=this[_0x3607f2(0x174)];}else{const _0x5c11c9=this[_0x3607f2(0x161)](_0x55325e[_0x3607f2(0x1f8)],_0x55325e[_0x3607f2(0x183)])[_0x3607f2(0x1cb)](_0x242b9b=>_0x242b9b[_0x3607f2(0x1d6)]>=this[_0x3607f2(0x16d)]);_0x5c11c9[_0x3607f2(0x210)](_0xb5fe59=>this[_0x3607f2(0x117)](_0xb5fe59)),this[_0x3607f2(0x1b6)]=this[_0x3607f2(0x1b6)][_0x3607f2(0x1cb)](_0x1c44d3=>!_0x1c44d3[_0x3607f2(0x1b2)]||!this[_0x3607f2(0x1e0)][_0x3607f2(0x148)](this[_0x3607f2(0x1f4)](_0x1c44d3))),this[_0x3607f2(0x1b6)][_0x3607f2(0x1f0)]&&tt(this[_0x3607f2(0x1b6)],this[_0x3607f2(0x1b6)][0x0][_0x3607f2(0x1d6)]),await this[_0x3607f2(0x151)](_0x5c11c9),_0x38f759=this[_0x3607f2(0x200)](_0x5c11c9,_0x55325e[_0x3607f2(0x160)],_0x55325e[_0x3607f2(0x18f)]),this[_0x3607f2(0x126)]=Math[_0x3607f2(0x20c)](this[_0x3607f2(0x126)]/0x2);}return _0x38f759?!this[_0x3607f2(0x1bc)]()||(this[_0x3607f2(0x1ca)](!0x0),!0x1):this[_0x3607f2(0x205)](_0x3607f2(0x1ce));}[_0x4097d3(0x200)](_0x55baa7,_0x5b24c7,_0x2ba11d){const _0x2ef68a=_0x4097d3;try{const _0x23ced6={'document':this[_0x2ef68a(0x17a)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x3232a1,operationsB:_0x437aa7,originalOperations:_0x39893b}=_0x4364f0(_0x55baa7,this[_0x2ef68a(0x1b6)],_0x23ced6);tt(_0x3232a1,this[_0x2ef68a(0x17a)][_0x2ef68a(0x160)]),tt(_0x437aa7,_0x5b24c7);for(const _0x2e9a41 of _0x3232a1){const _0x439912=_0x39893b[_0x2ef68a(0x193)](_0x2e9a41);_0x2e9a41[_0x2ef68a(0x1fe)]=_0x439912?_0x439912[_0x2ef68a(0x1fe)]:null;}_0x2ba11d&&(this[_0x2ef68a(0x155)][_0x2ef68a(0x123)](_0x55baa7,_0x2ba11d),this[_0x2ef68a(0x202)]=_0x2ba11d),this[_0x2ef68a(0x1b6)]=[..._0x437aa7],this[_0x2ef68a(0x12e)](_0x3232a1),this[_0x2ef68a(0x191)](_0x55baa7);}catch(_0x39a501){return console[_0x2ef68a(0x182)](_0x39a501),!0x1;}return!0x0;}[_0x4097d3(0x12e)](_0x1bfcfd,_0x498970=!0x1){const _0x4233e9=_0x4097d3;this[_0x4233e9(0x172)][_0x4233e9(0x1a0)][_0x4233e9(0x1d8)]({'isUndoable':!0x1,'isLocal':!0x1},_0x55c27b=>{const _0x33399e=_0x4233e9;for(const _0x451cdc of _0x1bfcfd)this[_0x33399e(0x177)][_0x33399e(0x1ea)](_0x451cdc),this[_0x33399e(0x117)](_0x451cdc),_0x55c27b[_0x33399e(0x1e4)][_0x33399e(0x196)](_0x451cdc),this[_0x33399e(0x172)][_0x33399e(0x1a0)][_0x33399e(0x165)](_0x451cdc);});}[_0x4097d3(0x117)](_0x19a5df){const _0xa84cad=_0x4097d3,_0x1e6910=this[_0xa84cad(0x1f4)](_0x19a5df);_0x1e6910&&this[_0xa84cad(0x1e0)][_0xa84cad(0x1ea)](_0x1e6910);}[_0x4097d3(0x1f4)](_0x32c3d0){const _0x3dde59=_0x4097d3;let _0x2b170d,_0x255259;switch(_0x32c3d0[_0x3dde59(0x146)]){case _0x3dde59(0x1b9):_0x2b170d=_0x32c3d0[_0x3dde59(0x14e)][_0x3dde59(0x1af)];break;case _0x3dde59(0x1ab):if(_0x255259=_0x32c3d0[_0x3dde59(0x135)],!_0x255259)return null;_0x2b170d=_0x255259[_0x3dde59(0x1af)];break;case _0x3dde59(0x212):_0x2b170d=_0x32c3d0[_0x3dde59(0x1af)];break;case _0x3dde59(0x1cd):_0x2b170d=_0x32c3d0[_0x3dde59(0x11f)];break;case _0x3dde59(0x1a1):_0x2b170d=_0x32c3d0[_0x3dde59(0x1d4)][_0x3dde59(0x1af)];break;default:return null;}return _0x2b170d[_0x3dde59(0x1d3)];}[_0x4097d3(0x191)](_0x231d70){const _0x17624a=_0x4097d3;_0x231d70[_0x17624a(0x210)](_0x2d620b=>{const _0x10d7e6=_0x17624a,_0x307856=_0x2d620b[_0x10d7e6(0x1d7)]();_0x307856[_0x10d7e6(0x1fe)]=_0x2d620b[_0x10d7e6(0x1fe)],_0x307856[_0x10d7e6(0x1b2)]=!!_0x2d620b[_0x10d7e6(0x1b2)],_0x307856[_0x10d7e6(0x136)]=_0x2d620b[_0x10d7e6(0x136)],_0x307856[_0x10d7e6(0x1d6)]+=this[_0x10d7e6(0x1ba)],_0x2d620b[_0x10d7e6(0x187)]&&this[_0x10d7e6(0x1cf)][_0x10d7e6(0x1ea)](_0x307856),this[_0x10d7e6(0x19d)][_0x10d7e6(0x196)](_0x307856);});}[_0x4097d3(0x176)](_0x554e39){const _0x4bbd3f=_0x4097d3,_0x41c04f=this[_0x4bbd3f(0x172)][_0x4bbd3f(0x131)][_0x4bbd3f(0x193)](_0x4bbd3f(0x1f6)),_0x4d9818=this[_0x4bbd3f(0x172)][_0x4bbd3f(0x145)];_0x554e39||(_0x554e39=_0x319e51(_0x4d9818,_0x4bbd3f(0x11e))),_0x41c04f[_0x4bbd3f(0x12a)](_0x554e39,{'title':_0x319e51(_0x4d9818,_0x4bbd3f(0x15b)),'namespace':_0x4bbd3f(0x111)}),this[_0x4bbd3f(0x167)]=!0x0,clearTimeout(this[_0x4bbd3f(0x1b8)]),this[_0x4bbd3f(0x1b6)]=[],this[_0x4bbd3f(0x172)][_0x4bbd3f(0x131)][_0x4bbd3f(0x193)](_0x5b1049)[_0x4bbd3f(0x20b)]();}[_0x4097d3(0x203)](){const _0x30522a=_0x4097d3;this[_0x30522a(0x1d9)]||(this[_0x30522a(0x1d9)]=this[_0x30522a(0x172)][_0x30522a(0x131)][_0x30522a(0x193)](_0xc7e2db)[_0x30522a(0x1ea)](_0x319e51(this[_0x30522a(0x172)][_0x30522a(0x145)],_0x30522a(0x163))));}[_0x4097d3(0x18c)](){const _0x4e62c7=_0x4097d3;this[_0x4e62c7(0x1d9)]&&(this[_0x4e62c7(0x172)][_0x4e62c7(0x131)][_0x4e62c7(0x193)](_0xc7e2db)[_0x4e62c7(0x157)](this[_0x4e62c7(0x1d9)]),this[_0x4e62c7(0x1d9)]=null);}[_0x4097d3(0x1db)](_0x26fb10){const _0x10bbea=_0x4097d3,_0x4ea5bd=_0x26fb10[_0x10bbea(0x208)](_0xb7c48a=>_0xb7c48a[_0x10bbea(0x1f3)]());return this[_0x10bbea(0x1ee)][_0x10bbea(0x188)](_0x4ea5bd);}[_0x4097d3(0x161)](_0x395746,_0x5c529f){const _0xacce24=_0x4097d3;return this[_0xacce24(0x1ee)][_0xacce24(0x206)](_0x395746)[_0xacce24(0x208)]((_0x593cc6,_0x5b67ee)=>{const _0x30bb71=_0xacce24,_0x24b9df=_0x30bb71(0x16a)==_0x5c529f[_0x5b67ee][_0x30bb71(0x146)];if(_0x30bb71(0x19a)==_0x593cc6[_0x30bb71(0x179)]){const _0x54ea38=_0x593cc6[_0x30bb71(0x14e)][_0x30bb71(0x1af)];!this[_0x30bb71(0x17a)][_0x30bb71(0x156)](_0x54ea38)&&(this[_0x30bb71(0x17a)][_0x30bb71(0x16e)](_0x30bb71(0x142),_0x54ea38)[_0x30bb71(0x113)]=!0x1);}const _0x3c0968=_0x49d2d1[_0x30bb71(0x186)](_0x593cc6,this[_0x30bb71(0x17a)]);return _0x3c0968[_0x30bb71(0x1c2)]=_0x593cc6[_0x30bb71(0x1c2)],_0x3c0968[_0x30bb71(0x1b2)]=_0x24b9df,_0x3c0968[_0x30bb71(0x1fe)]=_0x24b9df?null:_0x5c529f[_0x5b67ee][_0x30bb71(0x144)],_0x3c0968[_0x30bb71(0x187)]=_0x30bb71(0x20f)===_0x5c529f[_0x5b67ee][_0x30bb71(0x146)],_0x3c0968[_0x30bb71(0x136)]=_0x5c529f[_0x5b67ee][_0x30bb71(0x136)],_0x3c0968;});}[_0x4097d3(0x1e1)](){const _0x406854=_0x4097d3;this[_0x406854(0x207)]=!0x0,this[_0x406854(0x180)]()?this[_0x406854(0x1ca)]():this[_0x406854(0x207)]=!0x1;}[_0x4097d3(0x180)](){const _0x41e1ac=_0x4097d3,_0x140721=this[_0x41e1ac(0x172)][_0x41e1ac(0x131)][_0x41e1ac(0x193)](_0x442fab)[_0x41e1ac(0x1bd)][_0x41e1ac(0x193)](this[_0x41e1ac(0x115)]);return!this[_0x41e1ac(0x172)][_0x41e1ac(0x201)]&&!!_0x140721&&_0x140721[_0x41e1ac(0x1f0)]>0x1&&this[_0x41e1ac(0x207)];}[_0x4097d3(0x1bc)](){const _0x6ba255=_0x4097d3;return this[_0x6ba255(0x1b6)][_0x6ba255(0x1f0)]>0x0||this[_0x6ba255(0x180)]();}}l[_0x4097d3(0x192)]=_0x2e8aaa;export default l;class Z extends Error{}function tt(_0x1539a2,_0x3717a3){const _0x3c716d=_0x4097d3;for(const _0x9dca0d of _0x1539a2)_0x9dca0d[_0x3c716d(0x1d6)]=_0x3717a3++;}class it{constructor(_0x1a1b85){const _0x3e05d1=_0x4097d3;this[_0x3e05d1(0x170)]=_0x1a1b85,this[_0x3e05d1(0x169)]=new WeakMap();}[_0x4097d3(0x1bb)](_0x370a4b){const _0x378621=_0x4097d3;let _0x5bf624=_0x370a4b[_0x378621(0x1f0)];for(;_0x5bf624--;){const _0x55c772=_0x370a4b[_0x5bf624];if(!this[_0x378621(0x170)][_0x378621(0x148)](_0x55c772)){if(!this[_0x378621(0x169)][_0x378621(0x148)](_0x55c772)){const _0x39027a=_0x434fef()[_0x378621(0x138)](0x1,0x12);this[_0x378621(0x169)][_0x378621(0x1b1)](_0x55c772,_0x39027a);}return this[_0x378621(0x169)][_0x378621(0x193)](_0x55c772);}}}[_0x4097d3(0x123)](_0x24a884,_0x2d4bfb){const _0x109051=_0x4097d3;if(!_0x2d4bfb)return;let _0x500020=_0x24a884[_0x109051(0x1f0)];for(;_0x500020--;){const _0x3de211=_0x24a884[_0x500020];this[_0x109051(0x170)][_0x109051(0x148)](_0x3de211)||this[_0x109051(0x169)][_0x109051(0x1b1)](_0x3de211,_0x2d4bfb);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xedc191=_0x320f;function _0x320f(_0x32e808,_0x55b0d3){const _0xadb93c=_0xadb9();return _0x320f=function(_0x320f57,_0x258e5e){_0x320f57=_0x320f57-0xd6;let _0x5dc721=_0xadb93c[_0x320f57];return _0x5dc721;},_0x320f(_0x32e808,_0x55b0d3);}(function(_0x352ee4,_0x1072bf){const _0x119923=_0x320f,_0x29baf7=_0x352ee4();while(!![]){try{const _0x570d6d=-parseInt(_0x119923(0x116))/0x1*(parseInt(_0x119923(0xe8))/0x2)+-parseInt(_0x119923(0xed))/0x3*(-parseInt(_0x119923(0xe4))/0x4)+parseInt(_0x119923(0xe2))/0x5*(-parseInt(_0x119923(0xee))/0x6)+parseInt(_0x119923(0x111))/0x7*(parseInt(_0x119923(0xe9))/0x8)+parseInt(_0x119923(0xd9))/0x9*(-parseInt(_0x119923(0xf9))/0xa)+parseInt(_0x119923(0xfd))/0xb*(-parseInt(_0x119923(0xda))/0xc)+parseInt(_0x119923(0xe0))/0xd;if(_0x570d6d===_0x1072bf)break;else _0x29baf7['push'](_0x29baf7['shift']());}catch(_0x3b603d){_0x29baf7['push'](_0x29baf7['shift']());}}}(_0xadb9,0xeda2f));import{ContextPlugin as _0x369485}from'ckeditor5/src/core.js';import{Collection as _0x550935,CKEditorError as _0x394e59}from'ckeditor5/src/utils.js';import _0x4bde45 from'./websocketgateway.js';import{Users as _0x4c7d62}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xadb9(){const _0x2c9c15=['isOfficialPlugin','requires','context','isPremiumPlugin','clear','mySessionId','10847950iUFKWL','getUser','sessionId','fire','2222TuwyWF','change:state','channelConnectedUsers','_registeredSessions','register','_handleSessionRemove','sessions-unregister-not-exist','Sessions','getUserSessions','isMe','unregister','remove','delete','has','allConnectedUsers','connected','connection','values','getUserRole','channelSessions','7XigUiv','addUser','get','plugins','user','222881QGdgkS','_uniqueUsersCount','defineMe','pluginName','9kcrzNt','13152ABWVOX','_handleSessionAdd','state','assign','_users','orderNumber','26803296MlaMVA','forEach','5yByxwV','add','172604QdSWEz','getUserBySessionId','stopListening','role','14xTlmTZ','13373032mmCBGG','_createUser','size','listenTo','69VHEdcb','5317086kyzepl','set','sessions-register-already-registered','init','sessionAdd:'];_0xadb9=function(){return _0x2c9c15;};return _0xadb9();}export default class i extends _0x369485{static get[_0xedc191(0xd8)](){const _0x3e5551=_0xedc191;return _0x3e5551(0x104);}static get[_0xedc191(0xf3)](){return!0x0;}static get[_0xedc191(0xf6)](){return!0x0;}static get[_0xedc191(0xf4)](){return[_0x4bde45,_0x4c7d62];}constructor(_0x11bba2){const _0x359e9e=_0xedc191;super(_0x11bba2),this[_0x359e9e(0x110)]=new Map(),this[_0x359e9e(0xff)]=new Map(),this[_0x359e9e(0x10b)]=new _0x550935(),this[_0x359e9e(0x100)]=new Map(),this[_0x359e9e(0xd6)]=0x0,this[_0x359e9e(0xde)]=this[_0x359e9e(0xf5)][_0x359e9e(0x114)][_0x359e9e(0x113)](_0x4c7d62);}[_0xedc191(0xf1)](){const _0x5afe30=_0xedc191,_0x4062e0=this[_0x5afe30(0xf5)][_0x5afe30(0x114)][_0x5afe30(0x113)](_0x4bde45);this[_0x5afe30(0xec)](_0x4062e0,_0x5afe30(0xfe),(_0xe23c1f,_0x2b3430,_0x5d8526)=>{const _0x221b70=_0x5afe30;if(_0x221b70(0x10c)!==_0x5d8526)this[_0x221b70(0x110)][_0x221b70(0xe1)](_0x18a0c8=>_0x18a0c8[_0x221b70(0xf7)]()),this[_0x221b70(0xff)][_0x221b70(0xe1)](_0x43dad4=>_0x43dad4[_0x221b70(0xf7)]()),this[_0x221b70(0x10b)][_0x221b70(0xf7)]();else{for(const [_0x26e37c,_0x4befe8]of this[_0x221b70(0x100)])for(const _0x4e38d4 of _0x4befe8)this[_0x221b70(0xdb)](_0x26e37c,_0x4e38d4);}}),this[_0x5afe30(0xea)](_0x4062e0[_0x5afe30(0x10d)]['me'],!0x0);}[_0xedc191(0x101)](_0x3edee3,_0xa15894){const _0x3da689=_0xedc191;if(this[_0x3da689(0x100)][_0x3da689(0x10a)](_0x3edee3))throw new _0x394e59(_0x3da689(0xf0),null,{'channelId':_0x3edee3});this[_0x3da689(0x100)][_0x3da689(0xef)](_0x3edee3,_0xa15894),this[_0x3da689(0x110)][_0x3da689(0xef)](_0x3edee3,new _0x550935()),this[_0x3da689(0xff)][_0x3da689(0xef)](_0x3edee3,new _0x550935()),this[_0x3da689(0xec)](_0xa15894,_0x3da689(0xe3),(_0x7578ae,_0x57b2bc)=>this[_0x3da689(0xdb)](_0x3edee3,_0x57b2bc)),this[_0x3da689(0xec)](_0xa15894,_0x3da689(0x108),(_0x13f026,_0x45acaa)=>this[_0x3da689(0x102)](_0x3edee3,_0x45acaa));for(const _0x18006a of _0xa15894)this[_0x3da689(0xdb)](_0x3edee3,_0x18006a);}[_0xedc191(0x107)](_0xe29b7a){const _0x31442f=_0xedc191;if(!this[_0x31442f(0x100)][_0x31442f(0x10a)](_0xe29b7a))throw new _0x394e59(_0x31442f(0x103),null,{'channelId':_0xe29b7a});const _0x21fcfe=this[_0x31442f(0x100)][_0x31442f(0x113)](_0xe29b7a);this[_0x31442f(0xe6)](_0x21fcfe);for(const _0x15e125 of _0x21fcfe)_0x31442f(0x10c)===this[_0x31442f(0xf5)][_0x31442f(0x114)][_0x31442f(0x113)](_0x4bde45)[_0x31442f(0xdc)]&&this[_0x31442f(0x102)](_0xe29b7a,_0x15e125);this[_0x31442f(0x100)][_0x31442f(0x109)](_0xe29b7a),this[_0x31442f(0x110)][_0x31442f(0x109)](_0xe29b7a),this[_0x31442f(0xff)][_0x31442f(0x109)](_0xe29b7a);}get[_0xedc191(0xf8)](){const _0x4d24fa=_0xedc191;return this[_0x4d24fa(0xf5)][_0x4d24fa(0x114)][_0x4d24fa(0x113)](_0x4bde45)[_0x4d24fa(0x10d)][_0x4d24fa(0xfb)];}[_0xedc191(0xe5)](_0x4f3b3b){const _0x43229a=_0xedc191;for(const _0x3aa737 of this[_0x43229a(0x110)][_0x43229a(0x10e)]())for(const _0x27a03e of _0x3aa737)if(_0x27a03e['id']===_0x4f3b3b)return _0x27a03e[_0x43229a(0x115)];}[_0xedc191(0x105)](_0xbc1af0,_0x1e32b3){const _0x106992=_0xedc191,_0x226d99=_0x1e32b3?[this[_0x106992(0x110)][_0x106992(0x113)](_0x1e32b3)]:this[_0x106992(0x110)][_0x106992(0x10e)](),_0x47af71=new Set();for(const _0xa48c2 of _0x226d99)for(const _0x5216fa of _0xa48c2)_0x5216fa[_0x106992(0x115)]['id']===_0xbc1af0['id']&&_0x47af71[_0x106992(0xe3)](_0x5216fa['id']);return _0x47af71;}[_0xedc191(0x10f)](_0x5d244b){const _0x5c2178=_0xedc191;for(const _0x53b855 of this[_0x5c2178(0x110)][_0x5c2178(0x10e)]())for(const _0xd33f64 of _0x53b855)if(_0xd33f64[_0x5c2178(0x115)]===_0x5d244b)return _0xd33f64[_0x5c2178(0xe7)];}[_0xedc191(0xdb)](_0x1ebaee,_0x4d99bd){const _0x4d319f=_0xedc191;if(_0x4d319f(0x10c)!==this[_0x4d319f(0xf5)][_0x4d319f(0x114)][_0x4d319f(0x113)](_0x4bde45)[_0x4d319f(0xdc)])return;const _0x2b53d6=_0x4d99bd[_0x4d319f(0x115)],_0x12f322=this[_0x4d319f(0xde)][_0x4d319f(0xfa)](_0x2b53d6['id'])||this[_0x4d319f(0xea)](_0x2b53d6),_0x597268=Object[_0x4d319f(0xdd)]({},_0x4d99bd,{'user':_0x12f322});this[_0x4d319f(0x110)][_0x4d319f(0x113)](_0x1ebaee)[_0x4d319f(0xe3)](_0x597268);const _0x38236c=this[_0x4d319f(0xff)][_0x4d319f(0x113)](_0x1ebaee);_0x38236c[_0x4d319f(0x10a)](_0x12f322['id'])||_0x38236c[_0x4d319f(0xe3)](_0x12f322),this[_0x4d319f(0x10b)][_0x4d319f(0x10a)](_0x12f322['id'])||this[_0x4d319f(0x10b)][_0x4d319f(0xe3)](_0x12f322,_0x12f322[_0x4d319f(0x106)]?0x0:void 0x0),this[_0x4d319f(0xfc)](_0x4d319f(0xf2)+_0x1ebaee,{'channelId':_0x1ebaee,'session':_0x597268});}[_0xedc191(0x102)](_0x56f892,_0x4d1bc2){const _0x2fa35a=_0xedc191;if(_0x2fa35a(0x10c)!==this[_0x2fa35a(0xf5)][_0x2fa35a(0x114)][_0x2fa35a(0x113)](_0x4bde45)[_0x2fa35a(0xdc)])return;const _0x390e3b=this[_0x2fa35a(0xff)][_0x2fa35a(0x113)](_0x56f892),_0x27d66f=_0x4d1bc2[_0x2fa35a(0x115)];_0x27d66f['id']&&(this[_0x2fa35a(0x110)][_0x2fa35a(0x113)](_0x56f892)[_0x2fa35a(0x108)](_0x4d1bc2['id']),_0x390e3b[_0x2fa35a(0x10a)](_0x27d66f['id'])&&!this[_0x2fa35a(0x105)](_0x27d66f,_0x56f892)[_0x2fa35a(0xeb)]&&_0x390e3b[_0x2fa35a(0x108)](_0x27d66f['id']),this[_0x2fa35a(0x10b)][_0x2fa35a(0x113)](_0x27d66f['id'])&&!this[_0x2fa35a(0x105)](_0x27d66f)[_0x2fa35a(0xeb)]&&this[_0x2fa35a(0x10b)][_0x2fa35a(0x108)](_0x27d66f['id']));}[_0xedc191(0xea)](_0x1ff92f,_0x19ebaf){const _0x5722ee=_0xedc191,_0x432079=this[_0x5722ee(0xde)][_0x5722ee(0x112)](_0x1ff92f);return _0x19ebaf&&this[_0x5722ee(0xde)][_0x5722ee(0xd7)](_0x1ff92f['id']),_0x432079[_0x5722ee(0xdf)]=this[_0x5722ee(0xd6)]++,_0x432079;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x6992f7=_0x6afa;(function(_0x30283a,_0x472205){const _0x2d7832=_0x6afa,_0x58f0d8=_0x30283a();while(!![]){try{const _0x59bd65=parseInt(_0x2d7832(0x1e8))/0x1*(-parseInt(_0x2d7832(0x25a))/0x2)+parseInt(_0x2d7832(0x258))/0x3+parseInt(_0x2d7832(0x1f1))/0x4*(-parseInt(_0x2d7832(0x251))/0x5)+-parseInt(_0x2d7832(0x242))/0x6+parseInt(_0x2d7832(0x24a))/0x7+-parseInt(_0x2d7832(0x223))/0x8*(-parseInt(_0x2d7832(0x252))/0x9)+-parseInt(_0x2d7832(0x239))/0xa*(parseInt(_0x2d7832(0x1de))/0xb);if(_0x59bd65===_0x472205)break;else _0x58f0d8['push'](_0x58f0d8['shift']());}catch(_0x147355){_0x58f0d8['push'](_0x58f0d8['shift']());}}}(_0x5b86,0xdbc2c));import{Plugin as _0x248f95}from'ckeditor5/src/core.js';function _0x5b86(){const _0x43d003=['markerToElement','afterInit','getRange','model','tableCell','getSelectionClass','$graveyard','set','ck-user__marker_hovered','4897210TiQEAB','listenTo','startsWith','getAttribute','getNearestSelectionRange','document','mySessionId','highest','user:position:','9288804KyNYhj','editor','user:range','isInline','rootName','change:range','stopListening','getContainedElement','9080379ZFLibA','size','toRange','batch','getCustomProperty','data-session-id','marker','4205fFTVeL','9ScsDDO','markerNameToElements','</span>','enqueueChange','color','commands','4720284KpeOWT','addEventListener','3389534LVYuKr','updateMarker','add','Escape','editingDowncast','user:','remove','_domEmitter','has','11EbLMOJ','nodeAfter','undo','getPositions','createUserMarkerOperations','get','newRange','getUserBySessionId','orderNumber','UserMarkers','1BzXHeZ','userPositionMarker','innerHTML','isCollapsed','hasContent','markerName','markers','<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>','pluginName','176bSoZcd','classList','removeClass','mouseenter','user:position','requires','parent','createUIElement','setCustomProperty','change','schema','markerToHighlight','isSimilar','selection','root','start','getMarkerClass','toDomElement','update:user:range','deletionPosition','isOfficialPlugin','oldRange','hasDomSelection','mapper','end','keydown','init','contenteditable','ck-user__marker\x20','render','plugins','for','name','isPremiumPlugin','_createdBatches','element','span','conversion','createRange','reconvertMarker','mouseleave','markerRange','$text','removeMarker','detach','getFirstRange','view','getStart','addMarker','destroy','14393128PTZAEj','ck-user__selection','isLimit','split','delete','checkChild','fromRange','isObject','clear','type','editing','user:range:','applyOperation'];_0x5b86=function(){return _0x43d003;};return _0x5b86();}import{global as _0x31b1c4,DomEmitterMixin as _0x21843e}from'ckeditor5/src/utils.js';import _0x10941d from'./sessions.js';import{LiveRange as _0x25a681}from'ckeditor5/src/engine.js';function _0x6afa(_0x56918e,_0x520357){const _0x5b86e6=_0x5b86();return _0x6afa=function(_0x6afa7c,_0xd5d66a){_0x6afa7c=_0x6afa7c-0x1db;let _0x589643=_0x5b86e6[_0x6afa7c];return _0x589643;},_0x6afa(_0x56918e,_0x520357);}import'../../theme/usermarkers.css';export default class H extends _0x248f95{constructor(){const _0x13902f=_0x6afa;super(...arguments),this[_0x13902f(0x1dc)]=new(_0x21843e())();}static get[_0x6992f7(0x1f6)](){return[_0x10941d];}static get[_0x6992f7(0x1f0)](){const _0x370f91=_0x6992f7;return _0x370f91(0x1e7);}static get[_0x6992f7(0x205)](){return!0x0;}static get[_0x6992f7(0x212)](){return!0x0;}[_0x6992f7(0x20b)](){const _0x27c827=_0x6992f7,_0x45a522=this[_0x27c827(0x243)],_0x371b8b=_0x45a522[_0x27c827(0x20f)][_0x27c827(0x1e3)](_0x10941d);_0x45a522[_0x27c827(0x216)][_0x27c827(0x210)](_0x27c827(0x25e))[_0x27c827(0x230)]({'model':_0x27c827(0x1f5),'view':(_0x3773be,{writer:_0x38b580})=>function(_0x49fd5a,_0x48afad,_0x59b5f5,_0x594ce2){const _0x13f819=_0x27c827,_0x5c1443=_0x49fd5a[_0x13f819(0x1ed)][_0x13f819(0x226)](':')[0x2],_0x270933=_0x59b5f5[_0x13f819(0x1e5)](_0x5c1443);if(!_0x270933||_0x5c1443===_0x59b5f5[_0x13f819(0x23f)])return;if(!_0x594ce2[_0x13f819(0x233)][_0x13f819(0x1fb)][_0x13f819(0x228)](_0x49fd5a[_0x13f819(0x21a)][_0x13f819(0x200)],_0x13f819(0x21b)))return;const _0xb38b7e={'class':_0x13f819(0x20d)+_0x270933[_0x13f819(0x256)][_0x13f819(0x201)](),'data-name':_0x270933[_0x13f819(0x211)],'data-session-id':_0x5c1443},_0x4a55e4=_0x594ce2[_0x13f819(0x233)][_0x13f819(0x1ee)][_0x13f819(0x1e3)](_0x49fd5a[_0x13f819(0x1ed)]),_0x2ea279=_0x4a55e4[_0x13f819(0x220)](),_0x2fb6cc=_0x2ea279[_0x13f819(0x1df)],_0x17fd19=_0x594ce2[_0x13f819(0x233)][_0x13f819(0x1fb)];if(_0x2fb6cc&&_0x17fd19[_0x13f819(0x22a)](_0x2fb6cc)&&_0x17fd19[_0x13f819(0x245)](_0x2fb6cc)&&!_0x594ce2[_0x13f819(0x233)][_0x13f819(0x1ee)][_0x13f819(0x1e3)](_0x13f819(0x22e)+_0x5c1443)[_0x13f819(0x232)]()[_0x13f819(0x1eb)])return;const _0x19e8de=_0x2ea279[_0x13f819(0x1f7)];return _0x594ce2[_0x13f819(0x233)][_0x13f819(0x1fb)][_0x13f819(0x225)](_0x19e8de)&&!_0x594ce2[_0x13f819(0x233)][_0x13f819(0x1ec)](_0x19e8de)&&(_0xb38b7e[_0x13f819(0x20c)]=!0x1),function(_0x13a477,_0x3b2028,_0x2df893){const _0x1bf62d=_0x13f819,_0xaec115=_0x13a477[_0x1bf62d(0x1f8)](_0x1bf62d(0x215),_0x3b2028);return _0x13a477[_0x1bf62d(0x1f9)](_0x1bf62d(0x1e9),!0x0,_0xaec115),_0xaec115[_0x1bf62d(0x20e)]=function(_0x2924ac){const _0x5a393f=_0x1bf62d,_0x1d8065=this[_0x5a393f(0x202)](_0x2924ac);return _0x1d8065[_0x5a393f(0x1ea)]=_0x5a393f(0x1ef)+_0x2df893[_0x5a393f(0x211)]+_0x5a393f(0x254),_0x1d8065[_0x5a393f(0x259)](_0x5a393f(0x1f4),()=>{const _0x46d7a3=_0x5a393f;_0x1d8065[_0x46d7a3(0x1f2)][_0x46d7a3(0x25c)](_0x46d7a3(0x238));}),_0x1d8065[_0x5a393f(0x259)](_0x5a393f(0x219),()=>{const _0x2f2f52=_0x5a393f;_0x1d8065[_0x2f2f52(0x1f2)][_0x2f2f52(0x1db)](_0x2f2f52(0x238));}),_0x1d8065;},_0xaec115[_0x1bf62d(0x1fd)]=function(_0x5d5285){const _0x52b60e=_0x1bf62d;return!(!this[_0x52b60e(0x24e)](_0x52b60e(0x1e9))||!_0x5d5285[_0x52b60e(0x24e)](_0x52b60e(0x1e9))||this[_0x52b60e(0x23c)](_0x52b60e(0x24f))!=_0x5d5285[_0x52b60e(0x23c)](_0x52b60e(0x24f)));},_0xaec115;}(_0x48afad,_0xb38b7e,_0x270933);}(_0x3773be,_0x38b580,_0x371b8b,_0x45a522)}),_0x45a522[_0x27c827(0x216)][_0x27c827(0x210)](_0x27c827(0x25e))[_0x27c827(0x1fc)]({'model':_0x27c827(0x244),'view':_0x5d484d=>function(_0x10e1c6,_0x43ec8e){const _0x174006=_0x27c827,_0x33ae30=_0x10e1c6[_0x174006(0x1ed)][_0x174006(0x226)](':')[0x2];if(_0x33ae30===_0x43ec8e[_0x174006(0x23f)])return null;const _0x340699=_0x43ec8e[_0x174006(0x1e5)](_0x33ae30);if(!_0x340699)return{'id':_0x33ae30,'classes':[]};return{'id':_0x33ae30,'classes':[_0x174006(0x224),_0x340699[_0x174006(0x256)][_0x174006(0x235)]()],'attributes':{'data-session-id':_0x33ae30},'priority':0x7d0+_0x340699[_0x174006(0x1e6)]};}(_0x5d484d,_0x371b8b)}),function(_0x2b1701){const _0x2558f5=_0x27c827,_0x1f735e=_0x2b1701[_0x2558f5(0x233)],_0x1359d7=new Map(),_0x1e84ae=_0x2b1701[_0x2558f5(0x20f)][_0x2558f5(0x1e3)](_0x10941d);_0x1f735e[_0x2558f5(0x1ee)]['on'](_0x2558f5(0x203),(_0x4c0219,_0x1ca216,_0x524bc4,_0x4b0fc8)=>{const _0x1344da=_0x2558f5;if(!_0x4b0fc8&&_0x1359d7[_0x1344da(0x1e3)](_0x1ca216[_0x1344da(0x211)]))return _0x1359d7[_0x1344da(0x1e3)](_0x1ca216[_0x1344da(0x211)])[_0x1344da(0x21d)](),void _0x1359d7[_0x1344da(0x227)](_0x1ca216[_0x1344da(0x211)]);const _0x2bdab1=_0x1ca216[_0x1344da(0x211)][_0x1344da(0x226)](':')[0x2];if(_0x2bdab1===_0x1e84ae[_0x1344da(0x23f)])return;const _0x24c627=_0x1344da(0x241)+_0x2bdab1;_0x1f735e[_0x1344da(0x1ee)][_0x1344da(0x1dd)](_0x24c627)&&_0x2b1701[_0x1344da(0x22d)][_0x1344da(0x218)](_0x24c627),_0x1ca216['on'](_0x1344da(0x247),(_0x2b0702,_0x2e174d,_0x209375)=>{const _0x54db75=_0x1344da;if(_0x54db75(0x236)!=_0x2e174d[_0x54db75(0x1ff)][_0x54db75(0x246)]&&_0x54db75(0x236)==_0x1ca216[_0x54db75(0x232)]()[_0x54db75(0x1ff)][_0x54db75(0x246)]&&!_0x1359d7[_0x54db75(0x1dd)](_0x1ca216[_0x54db75(0x211)])){const _0x158c69=_0x1f735e[_0x54db75(0x1fb)][_0x54db75(0x23d)](_0x209375[_0x54db75(0x204)]);if(_0x158c69){const _0x20bad8=_0x25a681[_0x54db75(0x229)](_0x158c69);_0x1359d7[_0x54db75(0x237)](_0x1ca216[_0x54db75(0x211)],_0x20bad8),_0x20bad8['on'](_0x54db75(0x247),(_0xb4c937,_0x1329c7,_0x1d9a9d)=>{const _0xa21991=_0x54db75;if(_0xa21991(0x236)==_0x20bad8[_0xa21991(0x1ff)][_0xa21991(0x246)]){const _0x36b3a6=_0x1f735e[_0xa21991(0x1fb)][_0xa21991(0x23d)](_0x1d9a9d[_0xa21991(0x204)]);_0x36b3a6?(_0x20bad8[_0xa21991(0x200)]=_0x36b3a6[_0xa21991(0x200)],_0x20bad8[_0xa21991(0x209)]=_0x36b3a6[_0xa21991(0x209)]):(_0x1359d7[_0xa21991(0x227)](_0x1ca216[_0xa21991(0x211)]),_0x20bad8[_0xa21991(0x21d)]());}});}}});}),_0x1f735e[_0x2558f5(0x23e)]['on'](_0x2558f5(0x1fa),()=>{const _0x116642=_0x2558f5;_0x1359d7[_0x116642(0x24b)]>0x0&&_0x1f735e[_0x116642(0x255)]({'isUndoable':!0x1},_0xbe427c=>{const _0x162ec1=_0x116642;for(const [_0x257869,_0x1255c8]of _0x1359d7)_0x162ec1(0x236)==_0x1f735e[_0x162ec1(0x1ee)][_0x162ec1(0x1e3)](_0x257869)[_0x162ec1(0x232)]()[_0x162ec1(0x1ff)][_0x162ec1(0x246)]&&(re(_0x257869[_0x162ec1(0x226)](':')[0x2],_0x1255c8[_0x162ec1(0x24c)](),_0x1f735e,_0xbe427c),_0x1255c8[_0x162ec1(0x21d)]());_0x1359d7[_0x162ec1(0x22b)]();});});}(_0x45a522),this[_0x27c827(0x1dc)][_0x27c827(0x23a)](_0x31b1c4[_0x27c827(0x23e)],_0x27c827(0x20a),(_0x144480,{key:_0x5801bd})=>{const _0x334196=_0x27c827;_0x334196(0x25d)===_0x5801bd&&function(_0x5675b6){const _0x494ab8=_0x334196;_0x5675b6[_0x494ab8(0x22d)][_0x494ab8(0x21f)][_0x494ab8(0x1fa)](_0x46003b=>{const _0x555102=_0x494ab8;for(const _0x47484f of _0x5675b6[_0x555102(0x233)][_0x555102(0x1ee)]){if(!_0x47484f[_0x555102(0x211)][_0x555102(0x23b)](_0x555102(0x1f5)))continue;const _0x326bf5=_0x5675b6[_0x555102(0x22d)][_0x555102(0x208)][_0x555102(0x253)](_0x47484f[_0x555102(0x211)]);if(_0x326bf5){for(const _0x45b42e of _0x326bf5)_0x46003b[_0x555102(0x1f3)](_0x555102(0x238),_0x45b42e);}}});}(_0x45a522);},{'useCapture':!0x0});}[_0x6992f7(0x231)](){const _0x85d9a2=_0x6992f7,_0x3a1fe3=this[_0x85d9a2(0x243)],_0x3eb11f=_0x3a1fe3[_0x85d9a2(0x257)][_0x85d9a2(0x1e3)](_0x85d9a2(0x1e0));_0x3eb11f&&_0x3a1fe3[_0x85d9a2(0x233)]['on'](_0x85d9a2(0x22f),(_0x2c0683,_0x24e683)=>{const _0x4c1af3=_0x85d9a2,_0x1062bd=_0x24e683[0x0];if(_0x4c1af3(0x250)!=_0x1062bd[_0x4c1af3(0x22c)]||!_0x1062bd[_0x4c1af3(0x211)][_0x4c1af3(0x23b)](_0x4c1af3(0x25f)))return;const _0x52907c=_0x1062bd[_0x4c1af3(0x24d)];_0x3eb11f[_0x4c1af3(0x213)][_0x4c1af3(0x1dd)](_0x52907c)&&(_0x1062bd[_0x4c1af3(0x1e4)]=_0x1062bd[_0x4c1af3(0x206)]?_0x3a1fe3[_0x4c1af3(0x233)][_0x4c1af3(0x217)](_0x1062bd[_0x4c1af3(0x206)][_0x4c1af3(0x200)],_0x1062bd[_0x4c1af3(0x206)][_0x4c1af3(0x209)]):null);},{'priority':_0x85d9a2(0x240)});}[_0x6992f7(0x222)](){const _0x12e1cf=_0x6992f7;return this[_0x12e1cf(0x1dc)][_0x12e1cf(0x248)](),super[_0x12e1cf(0x222)]();}[_0x6992f7(0x1e2)](){const _0x3a9be5=_0x6992f7,_0x15cdfa=this[_0x3a9be5(0x243)],_0x2ca717=_0x15cdfa[_0x3a9be5(0x233)][_0x3a9be5(0x23e)],_0xd9a498=_0x15cdfa[_0x3a9be5(0x20f)][_0x3a9be5(0x1e3)](_0x10941d);_0x15cdfa[_0x3a9be5(0x233)][_0x3a9be5(0x255)]({'isUndoable':!0x1},_0x808978=>{const _0x5806bd=_0x3a9be5,_0x16042c=_0x5806bd(0x22e)+_0xd9a498[_0x5806bd(0x23f)],_0x5a3aa9=_0x5806bd(0x241)+_0xd9a498[_0x5806bd(0x23f)],_0x579535=_0x15cdfa[_0x5806bd(0x233)][_0x5806bd(0x1ee)][_0x5806bd(0x1dd)](_0x16042c);_0x15cdfa[_0x5806bd(0x22d)][_0x5806bd(0x21f)][_0x5806bd(0x207)]?re(_0xd9a498[_0x5806bd(0x23f)],_0x2ca717[_0x5806bd(0x1fe)][_0x5806bd(0x21e)](),_0x15cdfa[_0x5806bd(0x233)],_0x808978):_0x579535&&(_0x808978[_0x5806bd(0x21c)](_0x16042c),_0x808978[_0x5806bd(0x21c)](_0x5a3aa9));});}}function re(_0x438517,_0x36d36d,_0x197220,_0x5ba7fe){const _0x2df5d2=_0x6992f7,_0x26f5af=_0x2df5d2(0x22e)+_0x438517,_0x429bce=_0x2df5d2(0x241)+_0x438517,_0xae4e08=_0x36d36d[_0x2df5d2(0x249)]();let _0x5e0d90=_0x36d36d[_0x2df5d2(0x200)];_0xae4e08&&_0xae4e08['is'](_0x2df5d2(0x214),_0x2df5d2(0x234))&&(_0x5e0d90=function(_0x1afb4d,_0xab3d05){const _0xf66c1d=_0x2df5d2;for(const _0x327348 of _0x1afb4d[_0xf66c1d(0x1e1)]())if(_0xab3d05[_0xf66c1d(0x1fb)][_0xf66c1d(0x228)](_0x327348,_0xf66c1d(0x21b)))return _0x327348;}(_0x36d36d,_0x197220),_0x36d36d=_0x5ba7fe[_0x2df5d2(0x217)](_0x5e0d90));const _0x4ac247=_0x5ba7fe[_0x2df5d2(0x217)](_0x5e0d90);_0x197220[_0x2df5d2(0x1ee)][_0x2df5d2(0x1dd)](_0x26f5af)?(_0x5ba7fe[_0x2df5d2(0x25b)](_0x26f5af,{'range':_0x36d36d}),_0x5ba7fe[_0x2df5d2(0x25b)](_0x429bce,{'range':_0x4ac247})):(_0x5ba7fe[_0x2df5d2(0x221)](_0x26f5af,{'range':_0x36d36d,'usingOperation':!0x0}),_0x5ba7fe[_0x2df5d2(0x221)](_0x429bce,{'range':_0x4ac247,'usingOperation':!0x0}));}
|
|
23
|
+
const _0xad70ae=_0xd177;(function(_0x2dfeea,_0x483c84){const _0x2fb9b6=_0xd177,_0x4e8eca=_0x2dfeea();while(!![]){try{const _0xc7a7eb=-parseInt(_0x2fb9b6(0x211))/0x1*(-parseInt(_0x2fb9b6(0x204))/0x2)+parseInt(_0x2fb9b6(0x1b0))/0x3*(-parseInt(_0x2fb9b6(0x1a6))/0x4)+-parseInt(_0x2fb9b6(0x201))/0x5+parseInt(_0x2fb9b6(0x1ba))/0x6*(-parseInt(_0x2fb9b6(0x1be))/0x7)+-parseInt(_0x2fb9b6(0x1ac))/0x8+-parseInt(_0x2fb9b6(0x20c))/0x9*(parseInt(_0x2fb9b6(0x1d6))/0xa)+parseInt(_0x2fb9b6(0x20b))/0xb;if(_0xc7a7eb===_0x483c84)break;else _0x4e8eca['push'](_0x4e8eca['shift']());}catch(_0x1cf566){_0x4e8eca['push'](_0x4e8eca['shift']());}}}(_0x2142,0x1faec));import{Plugin as _0x1ddea0}from'ckeditor5/src/core.js';import{global as _0xc8a9fe,DomEmitterMixin as _0x394a54}from'ckeditor5/src/utils.js';import _0x1655d6 from'./sessions.js';import{LiveRange as _0x374944}from'ckeditor5/src/engine.js';function _0x2142(){const _0x57d341=['editingDowncast','model','editing','<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>','listenTo','nodeAfter','user:','newRange','size','schema','getSelectionClass','user:position:','commands','UserMarkers','_domEmitter','clear','data-session-id','contenteditable','change:range','fromRange','getRange','applyOperation','reconvertMarker','ck-user__marker\x20','userPositionMarker','updateMarker','destroy','start','markerNameToElements','startsWith','createUserMarkerOperations','afterInit','ck-user__selection','set','getUserBySessionId','detach','for','render','isObject','isLimit','isSimilar','390005pKkUbZ','getNearestSelectionRange','addEventListener','642uQVvdB','view','split','markerToHighlight','undo','update:user:range','selection','5765793UTuPJz','55206ZtcCDg','element','batch','color','span','487QqRmRD','getCustomProperty','markerToElement','user:range:','getAttribute','innerHTML','Escape','user:range','mySessionId','isCollapsed','stopListening','rootName','getMarkerClass','highest','change','type','getContainedElement','mouseenter','mouseleave','ck-user__marker_hovered','keydown','document','setCustomProperty','classList','createRange','getPositions','21572PbYrCU','markerName','checkChild','toDomElement','parent','markers','1532112zkHIoZ','oldRange','init','hasContent','30FrjRlW','marker','remove','root','enqueueChange','end','$graveyard','</span>','removeClass','addMarker','37182YtTVun','tableCell','isPremiumPlugin','add','35yQypLQ','createUIElement','removeMarker','editor','hasDomSelection','plugins','requires','_createdBatches','isOfficialPlugin','toRange','has','isInline','getFirstRange','get','deletionPosition','getStart','$text','delete','conversion','markerRange','mapper','pluginName','orderNumber','user:position','320JDElLx','name'];_0x2142=function(){return _0x57d341;};return _0x2142();}function _0xd177(_0x393a07,_0x27ada4){const _0x21428b=_0x2142();return _0xd177=function(_0xd17782,_0x49ec3f){_0xd17782=_0xd17782-0x199;let _0x31545e=_0x21428b[_0xd17782];return _0x31545e;},_0xd177(_0x393a07,_0x27ada4);}import'../../theme/usermarkers.css';export default class K extends _0x1ddea0{constructor(){const _0x5688da=_0xd177;super(...arguments),this[_0x5688da(0x1e6)]=new(_0x394a54())();}static get[_0xad70ae(0x1c4)](){return[_0x1655d6];}static get[_0xad70ae(0x1d3)](){const _0x354c6a=_0xad70ae;return _0x354c6a(0x1e5);}static get[_0xad70ae(0x1c6)](){return!0x0;}static get[_0xad70ae(0x1bc)](){return!0x0;}[_0xad70ae(0x1ae)](){const _0x5c435e=_0xad70ae,_0x232a59=this[_0x5c435e(0x1c1)],_0x367884=_0x232a59[_0x5c435e(0x1c3)][_0x5c435e(0x1cb)](_0x1655d6);_0x232a59[_0x5c435e(0x1d0)][_0x5c435e(0x1fc)](_0x5c435e(0x1d8))[_0x5c435e(0x213)]({'model':_0x5c435e(0x1d5),'view':(_0x16f88b,{writer:_0x11549b})=>function(_0x5f0c32,_0x2495ed,_0x1466a8,_0x5b9a30){const _0x2e5b09=_0x5c435e,_0x5eab73=_0x5f0c32[_0x2e5b09(0x1a7)][_0x2e5b09(0x206)](':')[0x2],_0x47ad91=_0x1466a8[_0x2e5b09(0x1fa)](_0x5eab73);if(!_0x47ad91||_0x5eab73===_0x1466a8[_0x2e5b09(0x219)])return;if(!_0x5b9a30[_0x2e5b09(0x1d9)][_0x2e5b09(0x1e1)][_0x2e5b09(0x1a8)](_0x5f0c32[_0x2e5b09(0x1d1)][_0x2e5b09(0x1f3)],_0x2e5b09(0x1ce)))return;const _0xc97046={'class':_0x2e5b09(0x1ef)+_0x47ad91[_0x2e5b09(0x20f)][_0x2e5b09(0x21d)](),'data-name':_0x47ad91[_0x2e5b09(0x1d7)],'data-session-id':_0x5eab73},_0x1c6c6a=_0x5b9a30[_0x2e5b09(0x1d9)][_0x2e5b09(0x1ab)][_0x2e5b09(0x1cb)](_0x5f0c32[_0x2e5b09(0x1a7)]),_0x4a519a=_0x1c6c6a[_0x2e5b09(0x1cd)](),_0x366112=_0x4a519a[_0x2e5b09(0x1dd)],_0x503ccf=_0x5b9a30[_0x2e5b09(0x1d9)][_0x2e5b09(0x1e1)];if(_0x366112&&_0x503ccf[_0x2e5b09(0x1fe)](_0x366112)&&_0x503ccf[_0x2e5b09(0x1c9)](_0x366112)&&!_0x5b9a30[_0x2e5b09(0x1d9)][_0x2e5b09(0x1ab)][_0x2e5b09(0x1cb)](_0x2e5b09(0x214)+_0x5eab73)[_0x2e5b09(0x1ec)]()[_0x2e5b09(0x21a)])return;const _0x9e5bb7=_0x4a519a[_0x2e5b09(0x1aa)];return _0x5b9a30[_0x2e5b09(0x1d9)][_0x2e5b09(0x1e1)][_0x2e5b09(0x1ff)](_0x9e5bb7)&&!_0x5b9a30[_0x2e5b09(0x1d9)][_0x2e5b09(0x1af)](_0x9e5bb7)&&(_0xc97046[_0x2e5b09(0x1e9)]=!0x1),function(_0x5c748b,_0x311d75,_0x3435e0){const _0x349052=_0x2e5b09,_0x7986b4=_0x5c748b[_0x349052(0x1bf)](_0x349052(0x210),_0x311d75);return _0x5c748b[_0x349052(0x1a2)](_0x349052(0x1f0),!0x0,_0x7986b4),_0x7986b4[_0x349052(0x1fd)]=function(_0x2dff2f){const _0x5ebda1=_0x349052,_0x4eae6f=this[_0x5ebda1(0x1a9)](_0x2dff2f);return _0x4eae6f[_0x5ebda1(0x216)]=_0x5ebda1(0x1db)+_0x3435e0[_0x5ebda1(0x1d7)]+_0x5ebda1(0x1b7),_0x4eae6f[_0x5ebda1(0x203)](_0x5ebda1(0x19d),()=>{const _0x48e925=_0x5ebda1;_0x4eae6f[_0x48e925(0x1a3)][_0x48e925(0x1bd)](_0x48e925(0x19f));}),_0x4eae6f[_0x5ebda1(0x203)](_0x5ebda1(0x19e),()=>{const _0x1c2d6f=_0x5ebda1;_0x4eae6f[_0x1c2d6f(0x1a3)][_0x1c2d6f(0x1b2)](_0x1c2d6f(0x19f));}),_0x4eae6f;},_0x7986b4[_0x349052(0x200)]=function(_0x3898cd){const _0x475c8a=_0x349052;return!(!this[_0x475c8a(0x212)](_0x475c8a(0x1f0))||!_0x3898cd[_0x475c8a(0x212)](_0x475c8a(0x1f0))||this[_0x475c8a(0x215)](_0x475c8a(0x1e8))!=_0x3898cd[_0x475c8a(0x215)](_0x475c8a(0x1e8)));},_0x7986b4;}(_0x2495ed,_0xc97046,_0x47ad91);}(_0x16f88b,_0x11549b,_0x367884,_0x232a59)}),_0x232a59[_0x5c435e(0x1d0)][_0x5c435e(0x1fc)](_0x5c435e(0x1d8))[_0x5c435e(0x207)]({'model':_0x5c435e(0x218),'view':_0x531011=>function(_0x3789d0,_0x2fca0a){const _0x5588cf=_0x5c435e,_0xd74933=_0x3789d0[_0x5588cf(0x1a7)][_0x5588cf(0x206)](':')[0x2];if(_0xd74933===_0x2fca0a[_0x5588cf(0x219)])return null;const _0x46f770=_0x2fca0a[_0x5588cf(0x1fa)](_0xd74933);if(!_0x46f770)return{'id':_0xd74933,'classes':[]};return{'id':_0xd74933,'classes':[_0x5588cf(0x1f8),_0x46f770[_0x5588cf(0x20f)][_0x5588cf(0x1e2)]()],'attributes':{'data-session-id':_0xd74933},'priority':0x7d0+_0x46f770[_0x5588cf(0x1d4)]};}(_0x531011,_0x367884)}),function(_0x22d77){const _0x32bac9=_0x5c435e,_0x2fedbe=_0x22d77[_0x32bac9(0x1d9)],_0x44dcd9=new Map(),_0x4b5bc8=_0x22d77[_0x32bac9(0x1c3)][_0x32bac9(0x1cb)](_0x1655d6);_0x2fedbe[_0x32bac9(0x1ab)]['on'](_0x32bac9(0x209),(_0x41294b,_0x389273,_0x4c4f5c,_0x3007e6)=>{const _0x1377fc=_0x32bac9;if(!_0x3007e6&&_0x44dcd9[_0x1377fc(0x1cb)](_0x389273[_0x1377fc(0x1d7)]))return _0x44dcd9[_0x1377fc(0x1cb)](_0x389273[_0x1377fc(0x1d7)])[_0x1377fc(0x1fb)](),void _0x44dcd9[_0x1377fc(0x1cf)](_0x389273[_0x1377fc(0x1d7)]);const _0x8df4b9=_0x389273[_0x1377fc(0x1d7)][_0x1377fc(0x206)](':')[0x2];if(_0x8df4b9===_0x4b5bc8[_0x1377fc(0x219)])return;const _0x1f78ee=_0x1377fc(0x1e3)+_0x8df4b9;_0x2fedbe[_0x1377fc(0x1ab)][_0x1377fc(0x1c8)](_0x1f78ee)&&_0x22d77[_0x1377fc(0x1da)][_0x1377fc(0x1ee)](_0x1f78ee),_0x389273['on'](_0x1377fc(0x1ea),(_0x201ded,_0x41a320,_0x38fa96)=>{const _0x604fc=_0x1377fc;if(_0x604fc(0x1b6)!=_0x41a320[_0x604fc(0x1b3)][_0x604fc(0x21c)]&&_0x604fc(0x1b6)==_0x389273[_0x604fc(0x1ec)]()[_0x604fc(0x1b3)][_0x604fc(0x21c)]&&!_0x44dcd9[_0x604fc(0x1c8)](_0x389273[_0x604fc(0x1d7)])){const _0x429a0f=_0x2fedbe[_0x604fc(0x1e1)][_0x604fc(0x202)](_0x38fa96[_0x604fc(0x1cc)]);if(_0x429a0f){const _0xe528a7=_0x374944[_0x604fc(0x1eb)](_0x429a0f);_0x44dcd9[_0x604fc(0x1f9)](_0x389273[_0x604fc(0x1d7)],_0xe528a7),_0xe528a7['on'](_0x604fc(0x1ea),(_0x2c64f9,_0x24977b,_0x22af28)=>{const _0x14c260=_0x604fc;if(_0x14c260(0x1b6)==_0xe528a7[_0x14c260(0x1b3)][_0x14c260(0x21c)]){const _0x1d6b6a=_0x2fedbe[_0x14c260(0x1e1)][_0x14c260(0x202)](_0x22af28[_0x14c260(0x1cc)]);_0x1d6b6a?(_0xe528a7[_0x14c260(0x1f3)]=_0x1d6b6a[_0x14c260(0x1f3)],_0xe528a7[_0x14c260(0x1b5)]=_0x1d6b6a[_0x14c260(0x1b5)]):(_0x44dcd9[_0x14c260(0x1cf)](_0x389273[_0x14c260(0x1d7)]),_0xe528a7[_0x14c260(0x1fb)]());}});}}});}),_0x2fedbe[_0x32bac9(0x1a1)]['on'](_0x32bac9(0x19a),()=>{const _0x2c4e5e=_0x32bac9;_0x44dcd9[_0x2c4e5e(0x1e0)]>0x0&&_0x2fedbe[_0x2c4e5e(0x1b4)]({'isUndoable':!0x1},_0x4039f0=>{const _0x3ca298=_0x2c4e5e;for(const [_0x35f975,_0x1b935b]of _0x44dcd9)_0x3ca298(0x1b6)==_0x2fedbe[_0x3ca298(0x1ab)][_0x3ca298(0x1cb)](_0x35f975)[_0x3ca298(0x1ec)]()[_0x3ca298(0x1b3)][_0x3ca298(0x21c)]&&(te(_0x35f975[_0x3ca298(0x206)](':')[0x2],_0x1b935b[_0x3ca298(0x1c7)](),_0x2fedbe,_0x4039f0),_0x1b935b[_0x3ca298(0x1fb)]());_0x44dcd9[_0x3ca298(0x1e7)]();});});}(_0x232a59),this[_0x5c435e(0x1e6)][_0x5c435e(0x1dc)](_0xc8a9fe[_0x5c435e(0x1a1)],_0x5c435e(0x1a0),(_0x10d5e2,{key:_0x14b2ef})=>{const _0xdefc30=_0x5c435e;_0xdefc30(0x217)===_0x14b2ef&&function(_0x46b4b7){const _0x5b7546=_0xdefc30;_0x46b4b7[_0x5b7546(0x1da)][_0x5b7546(0x205)][_0x5b7546(0x19a)](_0x530dd3=>{const _0xbaf1a1=_0x5b7546;for(const _0x1e0b3d of _0x46b4b7[_0xbaf1a1(0x1d9)][_0xbaf1a1(0x1ab)]){if(!_0x1e0b3d[_0xbaf1a1(0x1d7)][_0xbaf1a1(0x1f5)](_0xbaf1a1(0x1d5)))continue;const _0x2668d6=_0x46b4b7[_0xbaf1a1(0x1da)][_0xbaf1a1(0x1d2)][_0xbaf1a1(0x1f4)](_0x1e0b3d[_0xbaf1a1(0x1d7)]);if(_0x2668d6){for(const _0x38aae0 of _0x2668d6)_0x530dd3[_0xbaf1a1(0x1b8)](_0xbaf1a1(0x19f),_0x38aae0);}}});}(_0x232a59);},{'useCapture':!0x0});}[_0xad70ae(0x1f7)](){const _0x4818a2=_0xad70ae,_0x1d9815=this[_0x4818a2(0x1c1)],_0x1bcefb=_0x1d9815[_0x4818a2(0x1e4)][_0x4818a2(0x1cb)](_0x4818a2(0x208));_0x1bcefb&&_0x1d9815[_0x4818a2(0x1d9)]['on'](_0x4818a2(0x1ed),(_0x1dde62,_0x3e7700)=>{const _0x51513c=_0x4818a2,_0x45a6ed=_0x3e7700[0x0];if(_0x51513c(0x1b1)!=_0x45a6ed[_0x51513c(0x19b)]||!_0x45a6ed[_0x51513c(0x1d7)][_0x51513c(0x1f5)](_0x51513c(0x1de)))return;const _0x55db5d=_0x45a6ed[_0x51513c(0x20e)];_0x1bcefb[_0x51513c(0x1c5)][_0x51513c(0x1c8)](_0x55db5d)&&(_0x45a6ed[_0x51513c(0x1df)]=_0x45a6ed[_0x51513c(0x1ad)]?_0x1d9815[_0x51513c(0x1d9)][_0x51513c(0x1a4)](_0x45a6ed[_0x51513c(0x1ad)][_0x51513c(0x1f3)],_0x45a6ed[_0x51513c(0x1ad)][_0x51513c(0x1b5)]):null);},{'priority':_0x4818a2(0x199)});}[_0xad70ae(0x1f2)](){const _0x42574c=_0xad70ae;return this[_0x42574c(0x1e6)][_0x42574c(0x21b)](),super[_0x42574c(0x1f2)]();}[_0xad70ae(0x1f6)](){const _0x1d86c5=_0xad70ae,_0x3a16f0=this[_0x1d86c5(0x1c1)],_0x955e93=_0x3a16f0[_0x1d86c5(0x1d9)][_0x1d86c5(0x1a1)],_0x4c03df=_0x3a16f0[_0x1d86c5(0x1c3)][_0x1d86c5(0x1cb)](_0x1655d6);_0x3a16f0[_0x1d86c5(0x1d9)][_0x1d86c5(0x1b4)]({'isUndoable':!0x1},_0xbf7e52=>{const _0x105faa=_0x1d86c5,_0x29a46b=_0x105faa(0x214)+_0x4c03df[_0x105faa(0x219)],_0x277a29=_0x105faa(0x1e3)+_0x4c03df[_0x105faa(0x219)],_0x2fb2ff=_0x3a16f0[_0x105faa(0x1d9)][_0x105faa(0x1ab)][_0x105faa(0x1c8)](_0x29a46b);_0x3a16f0[_0x105faa(0x1da)][_0x105faa(0x205)][_0x105faa(0x1c2)]?te(_0x4c03df[_0x105faa(0x219)],_0x955e93[_0x105faa(0x20a)][_0x105faa(0x1ca)](),_0x3a16f0[_0x105faa(0x1d9)],_0xbf7e52):_0x2fb2ff&&(_0xbf7e52[_0x105faa(0x1c0)](_0x29a46b),_0xbf7e52[_0x105faa(0x1c0)](_0x277a29));});}}function te(_0x34769d,_0x95ff76,_0x4eb1d0,_0x56ba50){const _0x347034=_0xad70ae,_0x4e3028=_0x347034(0x214)+_0x34769d,_0x4499cf=_0x347034(0x1e3)+_0x34769d,_0x150713=_0x95ff76[_0x347034(0x19c)]();let _0xe2be53=_0x95ff76[_0x347034(0x1f3)];_0x150713&&_0x150713['is'](_0x347034(0x20d),_0x347034(0x1bb))&&(_0xe2be53=function(_0x9b3f01,_0x19d7a0){const _0xe73df9=_0x347034;for(const _0x2bc861 of _0x9b3f01[_0xe73df9(0x1a5)]())if(_0x19d7a0[_0xe73df9(0x1e1)][_0xe73df9(0x1a8)](_0x2bc861,_0xe73df9(0x1ce)))return _0x2bc861;}(_0x95ff76,_0x4eb1d0),_0x95ff76=_0x56ba50[_0x347034(0x1a4)](_0xe2be53));const _0x46d209=_0x56ba50[_0x347034(0x1a4)](_0xe2be53);_0x4eb1d0[_0x347034(0x1ab)][_0x347034(0x1c8)](_0x4e3028)?(_0x56ba50[_0x347034(0x1f1)](_0x4e3028,{'range':_0x95ff76}),_0x56ba50[_0x347034(0x1f1)](_0x4499cf,{'range':_0x46d209})):(_0x56ba50[_0x347034(0x1b9)](_0x4e3028,{'range':_0x95ff76,'usingOperation':!0x0}),_0x56ba50[_0x347034(0x1b9)](_0x4499cf,{'range':_0x46d209,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x48b21a=_0x6448;function _0x6448(_0x719b31,_0x1910e2){const _0x26d803=_0x26d8();return _0x6448=function(_0x64487,_0x173899){_0x64487=_0x64487-0x154;let _0x1aef27=_0x26d803[_0x64487];return _0x1aef27;},_0x6448(_0x719b31,_0x1910e2);}(function(_0x4816a2,_0x1ec27e){const _0x2a267b=_0x6448,_0x25c80f=_0x4816a2();while(!![]){try{const _0x1e23bb=-parseInt(_0x2a267b(0x19f))/0x1*(parseInt(_0x2a267b(0x183))/0x2)+-parseInt(_0x2a267b(0x167))/0x3*(-parseInt(_0x2a267b(0x16d))/0x4)+-parseInt(_0x2a267b(0x15f))/0x5*(parseInt(_0x2a267b(0x182))/0x6)+-parseInt(_0x2a267b(0x158))/0x7*(-parseInt(_0x2a267b(0x180))/0x8)+parseInt(_0x2a267b(0x19c))/0x9*(-parseInt(_0x2a267b(0x18f))/0xa)+parseInt(_0x2a267b(0x18e))/0xb+parseInt(_0x2a267b(0x16a))/0xc;if(_0x1e23bb===_0x1ec27e)break;else _0x25c80f['push'](_0x25c80f['shift']());}catch(_0x50ee97){_0x25c80f['push'](_0x25c80f['shift']());}}}(_0x26d8,0x83b76));import{ContextPlugin as _0x571573}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x142030,CKEditorError as _0x373a3c}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x34774f,WEB_SOCKET_GATEWAY_STATES as _0x379cc5}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x387e7c}from'ckeditor5/src/ui.js';class c extends _0x571573{static get[_0x48b21a(0x17a)](){const _0x19beed=_0x48b21a;return[_0x19beed(0x192),_0x387e7c];}static get[_0x48b21a(0x19e)](){const _0x5a16a8=_0x48b21a;return _0x5a16a8(0x19d);}static get[_0x48b21a(0x196)](){return!0x0;}static get[_0x48b21a(0x173)](){return!0x0;}constructor(_0x182c45){const _0x27c7e5=_0x48b21a;super(_0x182c45),this[_0x27c7e5(0x170)](_0x27c7e5(0x17c),_0x379cc5[_0x27c7e5(0x15c)]),this[_0x27c7e5(0x170)](_0x27c7e5(0x1a0),!0x1),this[_0x27c7e5(0x163)]=new Set(),this[_0x27c7e5(0x174)]=!0x1,this[_0x27c7e5(0x15b)]=Object[_0x27c7e5(0x15e)](_0x142030);}[_0x48b21a(0x17f)](){const _0x1ff428=_0x48b21a,_0x44ee90=this[_0x1ff428(0x17b)],_0x51c089=_0x44ee90[_0x1ff428(0x184)][_0x1ff428(0x19a)](_0x1ff428(0x192)),_0x3e7882=_0x44ee90[_0x1ff428(0x184)][_0x1ff428(0x19a)](_0x387e7c);if(!_0x51c089[_0x1ff428(0x191)])throw new _0x373a3c(_0x1ff428(0x16f),this);if(!_0x51c089[_0x1ff428(0x178)])throw new _0x373a3c(_0x1ff428(0x165),this);return this[_0x1ff428(0x15b)][_0x1ff428(0x193)](window,_0x1ff428(0x198),()=>this[_0x1ff428(0x1a0)]=!0x0),this[_0x1ff428(0x15b)][_0x1ff428(0x193)](window,_0x1ff428(0x164),()=>this[_0x1ff428(0x1a0)]=!0x1),this[_0x1ff428(0x17b)][_0x1ff428(0x161)][_0x1ff428(0x179)](_0x1ff428(0x18d),0xa),this[_0x1ff428(0x17b)][_0x1ff428(0x161)][_0x1ff428(0x179)](_0x1ff428(0x194),0x14),c[_0x1ff428(0x19d)][_0x1ff428(0x16b)](_0x51c089[_0x1ff428(0x191)],_0x51c089[_0x1ff428(0x178)],{'timeout':0x3e8*this[_0x1ff428(0x17b)][_0x1ff428(0x161)][_0x1ff428(0x19a)](_0x1ff428(0x18d)),'requestTimeout':0x3e8*this[_0x1ff428(0x17b)][_0x1ff428(0x161)][_0x1ff428(0x19a)](_0x1ff428(0x194))})[_0x1ff428(0x169)](_0x1cc877=>{const _0x4e7e9c=_0x1ff428;if(this[_0x4e7e9c(0x162)]=_0x1cc877,this[_0x4e7e9c(0x189)](_0x4e7e9c(0x17c))['to'](_0x1cc877,_0x4e7e9c(0x17c),this,_0x4e7e9c(0x1a0),(_0x527918,_0x340511)=>(_0x4e7e9c(0x195)!==_0x527918&&(this[_0x4e7e9c(0x174)]=!0x0),_0x340511||_0x527918!==_0x379cc5[_0x4e7e9c(0x15c)]?_0x379cc5[_0x4e7e9c(0x17d)]:this[_0x4e7e9c(0x17c)]==_0x379cc5[_0x4e7e9c(0x17d)]&&this[_0x4e7e9c(0x174)]?(this[_0x4e7e9c(0x174)]=!0x1,this[_0x4e7e9c(0x188)](),_0x379cc5[_0x4e7e9c(0x177)]):_0x379cc5[_0x4e7e9c(0x15c)])),this[_0x4e7e9c(0x162)]['on'](_0x4e7e9c(0x168),(_0x41780a,_0x445e57)=>{const _0x253303=_0x4e7e9c;if(_0x253303(0x154)!==_0x445e57[_0x253303(0x181)])throw console[_0x253303(0x168)](_0x445e57),new _0x373a3c(_0x253303(0x190),null,{'originalError':_0x445e57});_0x3e7882[_0x253303(0x16c)](_0x253303(0x199),{'title':_0x253303(0x18b),'namespace':_0x253303(0x155)});}),!_0x1cc877['me'])return new Promise(_0x106e50=>_0x1cc877['on'](_0x4e7e9c(0x159),_0x106e50));})[_0x1ff428(0x186)](_0x3091c8=>{const _0x1b1d70=_0x1ff428;throw console[_0x1b1d70(0x168)](_0x3091c8),new _0x373a3c(_0x1b1d70(0x190),null,{'originalError':_0x3091c8});});}[_0x48b21a(0x19b)](_0x36d6d4){const _0x1a43a7=_0x48b21a;if(_0x1a43a7(0x187)!=typeof _0x36d6d4[_0x1a43a7(0x171)])throw new _0x373a3c(_0x1a43a7(0x185),this);if(this[_0x1a43a7(0x18c)](_0x36d6d4))throw new _0x373a3c(_0x1a43a7(0x17e),this,{'name':_0x36d6d4[_0x1a43a7(0x176)][_0x1a43a7(0x19e)]});this[_0x1a43a7(0x163)][_0x1a43a7(0x172)](_0x36d6d4);}[_0x48b21a(0x157)](_0x59df77){const _0x5d435c=_0x48b21a;this[_0x5d435c(0x163)][_0x5d435c(0x15a)](_0x59df77);}[_0x48b21a(0x18c)](_0x4faff7){const _0x352914=_0x48b21a;return this[_0x352914(0x163)][_0x352914(0x156)](_0x4faff7);}[_0x48b21a(0x188)](){const _0xb5e94b=_0x48b21a;return this[_0xb5e94b(0x162)][_0xb5e94b(0x171)]()[_0xb5e94b(0x169)](()=>Promise[_0xb5e94b(0x18a)](Array[_0xb5e94b(0x166)](this[_0xb5e94b(0x163)],_0x3d5f62=>_0x3d5f62[_0xb5e94b(0x171)]())))[_0xb5e94b(0x169)](()=>this[_0xb5e94b(0x17c)]=_0x379cc5[_0xb5e94b(0x15c)])[_0xb5e94b(0x186)](_0x77d975=>{const _0x31a568=_0xb5e94b;throw console[_0x31a568(0x168)](_0x77d975),new _0x373a3c(_0x31a568(0x16e),this[_0x31a568(0x17b)]);});}[_0x48b21a(0x197)](){const _0x247a99=_0x48b21a;this[_0x247a99(0x162)]&&this[_0x247a99(0x162)][_0x247a99(0x160)](),this[_0x247a99(0x17c)]=_0x379cc5[_0x247a99(0x17d)],this[_0x247a99(0x15b)][_0x247a99(0x15d)](),super[_0x247a99(0x197)]();}}c[_0x48b21a(0x19d)]=_0x34774f,c[_0x48b21a(0x175)]=0x3e8;export default c;function _0x26d8(){const _0x4b1245=['CloudServices','listenTo','cloudServices.requestTimeout','connected','isOfficialPlugin','destroy','offline','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.','get','addToReconnectionStack','378SarjjM','WebSocketGateway','pluginName','118epBkVC','_isBrowserOffline','limitExceeded','real-time-collaboration','has','removeFromReconnectionStack','511LPVhSj','change:me','delete','_domEmitter','CONNECTED','stopListening','create','470dXcgrY','disconnect','config','connection','_reconnectionStack','online','websocketgateway-missing-websocket-url','from','5811YgthUt','error','then','2103120VVBxim','connect','showWarning','860maFhJt','cloudservices-reconnection-error','websocketgateway-missing-token','set','reconnect','add','isPremiumPlugin','_shouldPluginsReconnect','initialReconnectionInterval','constructor','CONNECTING','webSocketUrl','define','requires','context','state','DISCONNECTED','websocketgateway-plugin-already-registered','init','6408fCpkAF','code','49290DumYTJ','4956ZONULn','plugins','websocketgateway-invalid-plugin-interface','catch','function','_reconnect','bind','all','Connected\x20users\x20limit\x20exceeded','isInReconnectionStack','cloudServices.connectionTimeout','11430694cuSvua','20290FVCQdw','cloudservices-init','token'];_0x26d8=function(){return _0x4b1245;};return _0x26d8();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2c8a(_0x265ab0,_0x572b10){var _0x3ddc38=_0x3ddc();return _0x2c8a=function(_0x2c8a61,_0x19af2b){_0x2c8a61=_0x2c8a61-0x1ce;var _0x52f248=_0x3ddc38[_0x2c8a61];return _0x52f248;},_0x2c8a(_0x265ab0,_0x572b10);}var _0x2a1aed=_0x2c8a;(function(_0x5643ec,_0x3a2f28){var _0x3438be=_0x2c8a,_0xf7ed68=_0x5643ec();while(!![]){try{var _0x3d34a3=parseInt(_0x3438be(0x1d4))/0x1*(parseInt(_0x3438be(0x1dd))/0x2)+-parseInt(_0x3438be(0x1d5))/0x3*(parseInt(_0x3438be(0x1d0))/0x4)+parseInt(_0x3438be(0x1cf))/0x5+-parseInt(_0x3438be(0x1d3))/0x6*(parseInt(_0x3438be(0x1db))/0x7)+parseInt(_0x3438be(0x1dc))/0x8+-parseInt(_0x3438be(0x1d1))/0x9*(-parseInt(_0x3438be(0x1d7))/0xa)+parseInt(_0x3438be(0x1da))/0xb;if(_0x3d34a3===_0x3a2f28)break;else _0xf7ed68['push'](_0xf7ed68['shift']());}catch(_0x301613){_0xf7ed68['push'](_0xf7ed68['shift']());}}}(_0x3ddc,0xf12a7));import{Plugin as _0x30e321}from'ckeditor5/src/core.js';import _0x6e034c from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x30e321{static get[_0x2a1aed(0x1d2)](){return[_0x6e034c];}static get[_0x2a1aed(0x1d9)](){var _0x17306b=_0x2a1aed;return _0x17306b(0x1d6);}static get[_0x2a1aed(0x1d8)](){return!0x0;}static get[_0x2a1aed(0x1ce)](){return!0x0;}}function _0x3ddc(){var _0x1e7262=['5172248UiJmln','76138VWoUCJ','isPremiumPlugin','4618360IzyaQg','8KLQfUB','7878771RrIPjQ','requires','354RaHSxu','2nxbTMa','2598747GzXBQE','RealTimeCollaborativeEditing','10UImazh','isOfficialPlugin','pluginName','14709134xKuDWT','135093ZrNyXC'];_0x3ddc=function(){return _0x1e7262;};return _0x3ddc();}
|