@ckeditor/ckeditor5-real-time-collaboration 44.3.0-alpha.2 → 44.3.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +2 -2
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x44912f=_0x215a;(function(_0xdd207,_0xd5c64c){const _0x2a2075=_0x215a,_0x3b8925=_0xdd207();while(!![]){try{const _0x5bdbf7=parseInt(_0x2a2075(0x1d1))/0x1*(parseInt(_0x2a2075(0x1d5))/0x2)+-parseInt(_0x2a2075(0x1fa))/0x3*(-parseInt(_0x2a2075(0x22b))/0x4)+-parseInt(_0x2a2075(0x212))/0x5+-parseInt(_0x2a2075(0x1e0))/0x6+-parseInt(_0x2a2075(0x1e9))/0x7+parseInt(_0x2a2075(0x213))/0x8*(-parseInt(_0x2a2075(0x1da))/0x9)+parseInt(_0x2a2075(0x1d6))/0xa;if(_0x5bdbf7===_0xd5c64c)break;else _0x3b8925['push'](_0x3b8925['shift']());}catch(_0x495dc6){_0x3b8925['push'](_0x3b8925['shift']());}}}(_0xd20a,0x3b6bb));function _0xd20a(){const _0x1235ec=['reopenCommentThread','comments','context','has','resolve','cloudservicescommentsadapter-service-not-exist','828115XKEtjH','632504tsZFJA','get','reconnect','listenTo','content','collaboration.channelId','size','addToReconnectionStack','resolvedBy','mySessionId','commentThreadResolved','_setUpService','userId','cloudservicescommentsadapter-disconnect-not-exist','permissions','update','updateCommentThread','CloudServicesCommentsAdapter','getMany','init','cloud-services-internal-error:\x20Not\x20connected.','resolveCommentThread','code','removeComment','124eKCwmD','disconnect','unregister','isOfficialPlugin','404','startsWith','setPermissions','requires','sessionAdd:','createdAt','isPremiumPlugin','removeCommentThread','1hvDawG','adapter','commentId','getCommentThreads','92826CkgRXt','7374020jvojCs','getCommentThread','updateComment','destroy','18MqCWrY','commentAdded','_terminateService','cloud-services-internal-error:\x20Request\x20timeout.','off','addUser','533988BAxHVu','assign','resolvedAt','from','catch','config','attributes','getComment','map','3192448DTDuVy','_services','set','message','commentUpdated','_fetchMissingUsersForThreads','Permissions','connect','getUser','_connectService','cloudservicescommentsadapter-connect-already-connected','delete','commentRemoved','pluginName','keys','CommentsRepository','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','31779opUsIS','add','commentThreadReopened','reopen','commentThreadId','commentThreadUpdated','addCommentThread','deletedAt','authorId','plugins','addComment','getConnectedSessions','commentThreadAdded','remove','commentThreadRemoved','_getService','CommentsService','register'];_0xd20a=function(){return _0x1235ec;};return _0xd20a();}function _0x215a(_0xe05870,_0x2257e5){const _0xd20a5c=_0xd20a();return _0x215a=function(_0x215a1c,_0x132d19){_0x215a1c=_0x215a1c-0x1cd;let _0x2a69b9=_0xd20a5c[_0x215a1c];return _0x2a69b9;},_0x215a(_0xe05870,_0x2257e5);}import{Context as _0x388369,ContextPlugin as _0x50e3e9}from'ckeditor5/src/core.js';import{CKEditorError as _0x413889}from'ckeditor5/src/utils.js';import{Users as _0x55a47b}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x2676a5,User as _0x257d58}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x21dce4 from'../realtimecollaborativeediting/websocketgateway.js';import _0x5a118d from'../realtimecollaborativeediting/sessions.js';class a extends _0x50e3e9{static get[_0x44912f(0x232)](){const _0x26dd67=_0x44912f;return[_0x21dce4,_0x26dd67(0x1f8),_0x5a118d,_0x55a47b];}static get[_0x44912f(0x1f6)](){const _0x5f9760=_0x44912f;return _0x5f9760(0x224);}static get[_0x44912f(0x22e)](){return!0x0;}static get[_0x44912f(0x1cf)](){return!0x0;}constructor(_0x27ec38){const _0x1b3dd7=_0x44912f;super(_0x27ec38),this[_0x1b3dd7(0x1ea)]=new Map();}async[_0x44912f(0x226)](){const _0x5c31de=_0x44912f,_0x3649d4=this[_0x5c31de(0x20e)],_0x1577bf=_0x3649d4[_0x5c31de(0x203)][_0x5c31de(0x214)](_0x5c31de(0x1f8));if(_0x3649d4[_0x5c31de(0x203)][_0x5c31de(0x214)](_0x21dce4)[_0x5c31de(0x21a)](this),_0x1577bf[_0x5c31de(0x1d2)]={'addCommentThread':async({channelId:_0x17d67f,threadId:_0x232472,comments:_0xd56206,resolvedAt:_0x3d540e,resolvedBy:_0x4cc289,context:_0x2cfd0e,attributes:_0x3b7596})=>{const _0x25c2d7=_0x5c31de,_0x1f94a4=await this[_0x25c2d7(0x209)](_0x17d67f)[_0x25c2d7(0x200)]({'commentThreadId':_0x232472,'comments':_0xd56206[_0x25c2d7(0x1e8)](_0x3bb1f3=>function(_0x52ceed,_0x21894f,_0x2e3f63){const _0x379af3=_0x25c2d7;return{'commentThreadId':_0x2e3f63,'commentId':_0x52ceed[_0x379af3(0x1d3)],'userId':_0x52ceed[_0x379af3(0x202)],'content':_0x52ceed[_0x379af3(0x217)],'documentId':_0x21894f,'createdAt':_0x52ceed[_0x379af3(0x1ce)],'attributes':_0x52ceed[_0x379af3(0x1e6)]||{}};}(_0x3bb1f3,_0x17d67f,_0x232472)),'resolvedAt':_0x3d540e,'resolvedBy':_0x4cc289,'context':_0x2cfd0e,'attributes':_0x3b7596})[_0x25c2d7(0x1e4)](R);return{'threadId':_0x1f94a4[_0x25c2d7(0x1fe)],'comments':_0x1f94a4[_0x25c2d7(0x20d)]};},'getCommentThread':async({channelId:_0x3949d3,threadId:_0x2eab28})=>{const _0xf1bbf9=_0x5c31de,_0x4a228=await this[_0xf1bbf9(0x209)](_0x3949d3)[_0xf1bbf9(0x1d7)](_0x2eab28)[_0xf1bbf9(0x1e4)](R);return _0x4a228[_0xf1bbf9(0x201)]?null:(await this[_0xf1bbf9(0x1ee)]([_0x4a228]),{'threadId':_0x4a228[_0xf1bbf9(0x1fe)],'comments':_0x4a228[_0xf1bbf9(0x20d)][_0xf1bbf9(0x1e8)](S),'context':_0x4a228[_0xf1bbf9(0x20e)],'resolvedAt':_0x4a228[_0xf1bbf9(0x1e2)],'resolvedBy':_0x4a228[_0xf1bbf9(0x21b)],'attributes':_0x4a228[_0xf1bbf9(0x1e6)]||{}});},'updateCommentThread':async({channelId:_0x1e0cb8,threadId:_0x5e679e,context:_0x4caa16,unlinkedAt:_0x155fe1,attributes:_0x5a6bca})=>this[_0x5c31de(0x209)](_0x1e0cb8)[_0x5c31de(0x223)]({'commentThreadId':_0x5e679e,'context':_0x4caa16,'attributes':_0x5a6bca,'unlinkedAt':_0x155fe1})[_0x5c31de(0x1e4)](B)[_0x5c31de(0x1e4)](R),'resolveCommentThread':async({channelId:_0x2b33be,threadId:_0x31732b})=>{const _0x968a17=_0x5c31de,_0x525c0a=await this[_0x968a17(0x209)](_0x2b33be)[_0x968a17(0x228)](_0x31732b)[_0x968a17(0x1e4)](B)[_0x968a17(0x1e4)](R);return{'threadId':_0x525c0a[_0x968a17(0x1fe)],'resolvedAt':_0x525c0a[_0x968a17(0x1e2)],'resolvedBy':_0x525c0a[_0x968a17(0x21b)]};},'reopenCommentThread':async({channelId:_0xbc5422,threadId:_0x3b8620})=>this[_0x5c31de(0x209)](_0xbc5422)[_0x5c31de(0x20c)](_0x3b8620)[_0x5c31de(0x1e4)](B)[_0x5c31de(0x1e4)](R),'removeCommentThread':({channelId:_0x381d96,threadId:_0x526bec})=>this[_0x5c31de(0x209)](_0x381d96)[_0x5c31de(0x1d0)](_0x526bec)[_0x5c31de(0x1e4)](B)[_0x5c31de(0x1e4)](R),'addComment':({channelId:_0x5efb52,threadId:_0x7fbd17,commentId:_0x25b770,content:_0x362777,attributes:_0x3e5fd9})=>this[_0x5c31de(0x209)](_0x5efb52)[_0x5c31de(0x204)](_0x7fbd17,_0x25b770,_0x362777,_0x3e5fd9)[_0x5c31de(0x1e4)](R),'updateComment':({channelId:_0x152fe2,threadId:_0x171c0f,commentId:_0x14ec74,content:_0x40372e,attributes:_0x3f4145})=>this[_0x5c31de(0x209)](_0x152fe2)[_0x5c31de(0x1d8)](_0x171c0f,_0x14ec74,_0x40372e,_0x3f4145)[_0x5c31de(0x1e4)](B)[_0x5c31de(0x1e4)](R),'removeComment':({channelId:_0x5f370e,threadId:_0x4c926f,commentId:_0x3e840a})=>this[_0x5c31de(0x209)](_0x5f370e)[_0x5c31de(0x22a)](_0x4c926f,_0x3e840a)[_0x5c31de(0x1e4)](B)[_0x5c31de(0x1e4)](R)},_0x3649d4 instanceof _0x388369){const _0x21edb2=_0x3649d4[_0x5c31de(0x1e5)][_0x5c31de(0x214)](_0x5c31de(0x218)),_0x2a3d6d=_0x3649d4[_0x5c31de(0x203)][_0x5c31de(0x214)](_0x5a118d);await this[_0x5c31de(0x21e)](_0x21edb2);const _0x3eecf0=await this[_0x5c31de(0x1ea)][_0x5c31de(0x214)](_0x21edb2)[_0x5c31de(0x205)]();this[_0x5c31de(0x216)](_0x2a3d6d,_0x5c31de(0x1cd)+_0x21edb2,(_0x4f1ab0,{session:_0x325dda})=>{const _0x1cf89e=_0x5c31de;_0x325dda['id']===_0x2a3d6d[_0x1cf89e(0x21c)]&&(_0x4f1ab0[_0x1cf89e(0x1de)](),this[_0x1cf89e(0x20e)][_0x1cf89e(0x203)][_0x1cf89e(0x214)](_0x1cf89e(0x1ef))[_0x1cf89e(0x231)](_0x325dda[_0x1cf89e(0x221)],_0x21edb2));}),_0x2a3d6d[_0x5c31de(0x20b)](_0x21edb2,_0x3eecf0);}}async[_0x44912f(0x21e)](_0x5f5688){const _0x58f086=_0x44912f;if(this[_0x58f086(0x1ea)][_0x58f086(0x20f)](_0x5f5688))throw new _0x413889(_0x58f086(0x1f3),null,{'channelId':_0x5f5688});const _0x5d3d12=this[_0x58f086(0x20e)][_0x58f086(0x203)][_0x58f086(0x214)](_0x58f086(0x1f8)),_0x50d91a=new a[(_0x58f086(0x20a))](_0x5f5688);this[_0x58f086(0x1ea)][_0x58f086(0x1eb)](_0x5f5688,_0x50d91a),this[_0x58f086(0x216)](_0x50d91a,_0x58f086(0x206),(_0x2f17e5,_0x136308)=>{const _0x4e6934=_0x58f086,{commentThreadId:_0x11ba09,documentId:_0x5b86a4,context:_0x4e13b1,attributes:_0x3cd5fd,resolvedAt:_0x42ff69,resolvedBy:_0x24b042,comments:_0x27de07}=_0x136308;_0x5d3d12[_0x4e6934(0x1d7)](_0x11ba09)||_0x5d3d12[_0x4e6934(0x200)]({'threadId':_0x11ba09,'channelId':_0x5b86a4,'comments':_0x27de07?_0x27de07[_0x4e6934(0x1e8)](S):[],'context':_0x4e13b1,'attributes':_0x3cd5fd,'resolvedAt':_0x42ff69,'resolvedBy':_0x24b042,'isFromAdapter':!0x0});}),this[_0x58f086(0x216)](_0x50d91a,_0x58f086(0x1ff),(_0x58e655,{commentThreadId:_0x58a204,documentId:_0x39f26,context:_0x23fa5b,unlinkedAt:_0x488ab2,attributes:_0x255129})=>{const _0x45dc3a=_0x58f086;_0x5d3d12[_0x45dc3a(0x1d7)](_0x58a204)&&_0x5d3d12[_0x45dc3a(0x223)]({'threadId':_0x58a204,'channelId':_0x39f26,'context':_0x23fa5b,'unlinkedAt':_0x488ab2,'attributes':_0x255129,'isFromAdapter':!0x0});}),this[_0x58f086(0x216)](_0x50d91a,_0x58f086(0x21d),(_0x7e03a7,{commentThreadId:_0x562b40,resolvedBy:_0x4661af,resolvedAt:_0x26b731})=>{const _0x1b5ac7=_0x58f086,_0x413b0d=_0x5d3d12[_0x1b5ac7(0x1d7)](_0x562b40);_0x413b0d&&_0x413b0d[_0x1b5ac7(0x210)]({'resolvedBy':_0x4661af,'resolvedAt':_0x26b731,'isFromAdapter':!0x0});}),this[_0x58f086(0x216)](_0x50d91a,_0x58f086(0x1fc),(_0x4307e9,{commentThreadId:_0x4cd2b6})=>{const _0x109a12=_0x58f086,_0x153a6f=_0x5d3d12[_0x109a12(0x1d7)](_0x4cd2b6);_0x153a6f&&_0x153a6f[_0x109a12(0x1fd)]({'isFromAdapter':!0x0});}),this[_0x58f086(0x216)](_0x50d91a,_0x58f086(0x208),(_0x21cd97,{commentThreadId:_0x4dff95})=>{const _0x500da9=_0x58f086,_0x5c4a02=_0x5d3d12[_0x500da9(0x1d7)](_0x4dff95);_0x5c4a02&&_0x5c4a02[_0x500da9(0x207)]({'isFromAdapter':!0x0});}),this[_0x58f086(0x216)](_0x50d91a,_0x58f086(0x1db),(_0x270c9b,_0x85f608)=>{const _0x59a516=_0x58f086,_0x357926=_0x85f608[_0x59a516(0x1fe)],_0xb1cb40=_0x5d3d12[_0x59a516(0x1d7)](_0x357926);_0xb1cb40&&_0xb1cb40[_0x59a516(0x204)]({...S(_0x85f608),'isFromAdapter':!0x0});}),this[_0x58f086(0x216)](_0x50d91a,_0x58f086(0x1ed),(_0x351bc4,{commentThreadId:_0x5c0085,commentId:_0x6852bc,content:_0x2ebc99,attributes:_0x4a9c38})=>{const _0x17cdea=_0x58f086,_0x539a3c=_0x5d3d12[_0x17cdea(0x1d7)](_0x5c0085);if(_0x539a3c){const _0x51c6d1=_0x539a3c[_0x17cdea(0x1e7)](_0x6852bc);_0x51c6d1&&_0x51c6d1[_0x17cdea(0x222)]({'content':_0x2ebc99,'attributes':_0x4a9c38,'isFromAdapter':!0x0});}}),this[_0x58f086(0x216)](_0x50d91a,_0x58f086(0x1f5),(_0x4951df,{commentThreadId:_0x52750b,commentId:_0x2470f0})=>{const _0x1d6895=_0x58f086,_0x4690c6=_0x5d3d12[_0x1d6895(0x1d7)](_0x52750b);if(_0x4690c6){const _0x468635=_0x4690c6[_0x1d6895(0x1e7)](_0x2470f0);_0x468635&&_0x468635[_0x1d6895(0x207)]({'isFromAdapter':!0x0});}}),await this[_0x58f086(0x1f2)](_0x5f5688);}[_0x44912f(0x1d9)](){const _0x445451=_0x44912f;if(this[_0x445451(0x20e)]instanceof _0x388369){const _0x5f1f67=this[_0x445451(0x20e)][_0x445451(0x1e5)][_0x445451(0x214)](_0x445451(0x218));this[_0x445451(0x1dc)](_0x5f1f67);}}[_0x44912f(0x1dc)](_0x2cd3e3){const _0x1678dd=_0x44912f;if(!this[_0x1678dd(0x1ea)][_0x1678dd(0x20f)](_0x2cd3e3))throw new _0x413889(_0x1678dd(0x220),null,{'channelId':_0x2cd3e3});this[_0x1678dd(0x209)](_0x2cd3e3)[_0x1678dd(0x22c)](),this[_0x1678dd(0x1ea)][_0x1678dd(0x1f4)](_0x2cd3e3);}async[_0x44912f(0x215)](){const _0x5cb9bd=_0x44912f;for(const _0x92afbb of this[_0x5cb9bd(0x1ea)][_0x5cb9bd(0x1f7)]())await this[_0x5cb9bd(0x1f2)](_0x92afbb);if(this[_0x5cb9bd(0x20e)]instanceof _0x388369){const _0x4b0b62=this[_0x5cb9bd(0x20e)][_0x5cb9bd(0x1e5)][_0x5cb9bd(0x214)](_0x5cb9bd(0x218)),_0x225565=this[_0x5cb9bd(0x20e)][_0x5cb9bd(0x203)][_0x5cb9bd(0x214)](_0x5a118d);_0x225565[_0x5cb9bd(0x22d)](_0x4b0b62);const _0xc21bed=await this[_0x5cb9bd(0x1ea)][_0x5cb9bd(0x214)](_0x4b0b62)[_0x5cb9bd(0x205)]();_0x225565[_0x5cb9bd(0x20b)](_0x4b0b62,_0xc21bed);}}async[_0x44912f(0x1f2)](_0x412ca3){const _0x46a59b=_0x44912f,{connection:_0x3016e7}=this[_0x46a59b(0x20e)][_0x46a59b(0x203)][_0x46a59b(0x214)](_0x21dce4),_0x57053c=this[_0x46a59b(0x20e)][_0x46a59b(0x203)][_0x46a59b(0x214)](_0x46a59b(0x1f8)),_0x197356=this[_0x46a59b(0x1ea)][_0x46a59b(0x214)](_0x412ca3),_0x52ac33=await _0x197356[_0x46a59b(0x1f0)](_0x3016e7);await this[_0x46a59b(0x1ee)](_0x52ac33);const _0x2cfa69=new Set(Array[_0x46a59b(0x1e3)](_0x57053c[_0x46a59b(0x1d4)]({'channelId':_0x412ca3}),_0x54f7b8=>_0x54f7b8['id']));for(const _0x5b538c of _0x52ac33)_0x5b538c[_0x46a59b(0x201)]||_0x2cfa69[_0x46a59b(0x1f4)](_0x5b538c[_0x46a59b(0x1fe)]);for(const _0x5e5cc0 of _0x2cfa69)_0x57053c[_0x46a59b(0x1d7)](_0x5e5cc0)[_0x46a59b(0x207)]({'isFromAdapter':!0x0});for(const _0x4cad0d of _0x52ac33){let _0x397d3d=_0x57053c[_0x46a59b(0x1d7)](_0x4cad0d[_0x46a59b(0x1fe)]);const {commentThreadId:_0x2b2984,context:_0x18d443,attributes:_0x4daaa1,resolvedBy:_0x3ba854,resolvedAt:_0x38464d,unlinkedAt:_0x541271,deletedAt:_0x5189d2}=_0x4cad0d;if(_0x5189d2)continue;_0x397d3d||(_0x397d3d=_0x57053c[_0x46a59b(0x200)]({'channelId':_0x412ca3,'threadId':_0x2b2984,'context':_0x18d443,'attributes':_0x4daaa1||{},'resolvedBy':_0x3ba854,'resolvedAt':_0x38464d,'unlinkedAt':_0x541271,'isFromAdapter':!0x0}));const _0xe33979=new Set(Array[_0x46a59b(0x1e3)](_0x397d3d[_0x46a59b(0x20d)],_0x1f0788=>_0x1f0788['id']));for(const _0x469460 of _0x4cad0d[_0x46a59b(0x20d)])_0xe33979[_0x46a59b(0x1f4)](_0x469460[_0x46a59b(0x1d3)]);for(const _0x5e1842 of _0xe33979)_0x397d3d[_0x46a59b(0x1e7)](_0x5e1842)[_0x46a59b(0x207)]({'isFromAdapter':!0x0});for(const _0x20c473 of _0x4cad0d[_0x46a59b(0x20d)]){const _0x480e17=_0x397d3d[_0x46a59b(0x1e7)](_0x20c473[_0x46a59b(0x1d3)]);_0x480e17?_0x480e17[_0x46a59b(0x217)]!==_0x20c473[_0x46a59b(0x217)]&&_0x480e17[_0x46a59b(0x222)]({'content':_0x20c473[_0x46a59b(0x217)],'isFromAdapter':!0x0}):_0x397d3d[_0x46a59b(0x204)](Object[_0x46a59b(0x1e1)](S(_0x20c473),{'isFromAdapter':!0x0}));}}}[_0x44912f(0x209)](_0x55b805){const _0x490534=_0x44912f;if(!this[_0x490534(0x1ea)][_0x490534(0x20f)](_0x55b805))throw new _0x413889(_0x490534(0x211),null,{'channelId':_0x55b805});return this[_0x490534(0x1ea)][_0x490534(0x214)](_0x55b805);}async[_0x44912f(0x1ee)](_0x249aa6){const _0x587d60=_0x44912f,_0x4b906a=this[_0x587d60(0x20e)][_0x587d60(0x203)][_0x587d60(0x214)](_0x55a47b),{connection:_0x44538e}=this[_0x587d60(0x20e)][_0x587d60(0x203)][_0x587d60(0x214)](_0x21dce4),_0xa1c342=new Set();for(const {resolvedBy:_0x1ef6d0,comments:_0x1d98d1}of _0x249aa6){_0x1ef6d0&&!_0x4b906a[_0x587d60(0x1f1)](_0x1ef6d0)&&_0xa1c342[_0x587d60(0x1fb)](_0x1ef6d0);for(const {userId:_0x58d070}of _0x1d98d1)_0x4b906a[_0x587d60(0x1f1)](_0x58d070)||_0xa1c342[_0x587d60(0x1fb)](_0x58d070);}if(0x0===_0xa1c342[_0x587d60(0x219)])return;const _0x27289a=await _0x257d58[_0x587d60(0x225)](_0x44538e,Array[_0x587d60(0x1e3)](_0xa1c342));for(const _0x81dfc9 of _0x27289a)_0x4b906a[_0x587d60(0x1f1)](_0x81dfc9['id'])||_0x4b906a[_0x587d60(0x1df)](_0x81dfc9);}}a[_0x44912f(0x20a)]=_0x2676a5;export default a;async function B(_0x8e202){const _0x32d439=_0x44912f;if(_0x32d439(0x22f)!==_0x8e202[_0x32d439(0x229)])throw _0x8e202;}function R(_0x595cbd){const _0x4a8a7e=_0x44912f;if((_0x1e5d1f=_0x595cbd)[_0x4a8a7e(0x1ec)][_0x4a8a7e(0x230)](_0x4a8a7e(0x1f9))||_0x1e5d1f[_0x4a8a7e(0x1ec)][_0x4a8a7e(0x230)](_0x4a8a7e(0x227))||_0x1e5d1f[_0x4a8a7e(0x1ec)][_0x4a8a7e(0x230)](_0x4a8a7e(0x1dd)))return new Promise(()=>{});var _0x1e5d1f;throw _0x595cbd;}function S(_0x3fba78){const _0x48c358=_0x44912f;return{'threadId':_0x3fba78[_0x48c358(0x1fe)],'commentId':_0x3fba78[_0x48c358(0x1d3)],'content':_0x3fba78[_0x48c358(0x217)],'createdAt':_0x3fba78[_0x48c358(0x1ce)],'authorId':_0x3fba78[_0x48c358(0x21f)],'attributes':_0x3fba78[_0x48c358(0x1e6)]||{}};}
|
|
23
|
+
function _0xdea2(_0x3135cb,_0x4d1414){const _0x26c92c=_0x26c9();return _0xdea2=function(_0xdea2ea,_0x13a5dc){_0xdea2ea=_0xdea2ea-0x17e;let _0xc5e2fa=_0x26c92c[_0xdea2ea];return _0xc5e2fa;},_0xdea2(_0x3135cb,_0x4d1414);}const _0x592c2b=_0xdea2;(function(_0x40884c,_0x564cef){const _0x25867f=_0xdea2,_0x2df7c9=_0x40884c();while(!![]){try{const _0x3d6d18=parseInt(_0x25867f(0x194))/0x1*(-parseInt(_0x25867f(0x1c7))/0x2)+parseInt(_0x25867f(0x1a7))/0x3+parseInt(_0x25867f(0x1df))/0x4*(-parseInt(_0x25867f(0x1d6))/0x5)+-parseInt(_0x25867f(0x1ae))/0x6+parseInt(_0x25867f(0x1c1))/0x7*(parseInt(_0x25867f(0x196))/0x8)+parseInt(_0x25867f(0x18b))/0x9+parseInt(_0x25867f(0x193))/0xa*(parseInt(_0x25867f(0x17f))/0xb);if(_0x3d6d18===_0x564cef)break;else _0x2df7c9['push'](_0x2df7c9['shift']());}catch(_0x2167c9){_0x2df7c9['push'](_0x2df7c9['shift']());}}}(_0x26c9,0x2c95b));import{Context as _0x100af8,ContextPlugin as _0x38a87a}from'ckeditor5/src/core.js';import{CKEditorError as _0x49da2a}from'ckeditor5/src/utils.js';import{Users as _0x48d332}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x16f68f,User as _0x272fdc}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x50527d from'../realtimecollaborativeediting/websocketgateway.js';import _0x1c81a5 from'../realtimecollaborativeediting/sessions.js';class a extends _0x38a87a{static get[_0x592c2b(0x19b)](){const _0x275c01=_0x592c2b;return[_0x50527d,_0x275c01(0x1b3),_0x1c81a5,_0x48d332];}static get[_0x592c2b(0x199)](){const _0x1cbc69=_0x592c2b;return _0x1cbc69(0x180);}static get[_0x592c2b(0x1d3)](){return!0x0;}static get[_0x592c2b(0x184)](){return!0x0;}constructor(_0x5ef481){const _0x165dea=_0x592c2b;super(_0x5ef481),this[_0x165dea(0x1bc)]=new Map();}async[_0x592c2b(0x188)](){const _0x103192=_0x592c2b,_0x20664e=this[_0x103192(0x1c4)],_0x21fe9a=_0x20664e[_0x103192(0x197)][_0x103192(0x1c8)](_0x103192(0x1b3));if(_0x20664e[_0x103192(0x197)][_0x103192(0x1c8)](_0x50527d)[_0x103192(0x1d0)](this),_0x21fe9a[_0x103192(0x1cd)]={'addCommentThread':async({channelId:_0x103c76,threadId:_0x5765ad,comments:_0x29eb63,resolvedAt:_0x1b5474,resolvedBy:_0xefabc2,context:_0x313786,attributes:_0x6f2465})=>{const _0x40a50c=_0x103192,_0x2f399b=await this[_0x40a50c(0x1d4)](_0x103c76)[_0x40a50c(0x1de)]({'commentThreadId':_0x5765ad,'comments':_0x29eb63[_0x40a50c(0x1ce)](_0xbf5266=>function(_0x164113,_0x6a99bb,_0x334cab){const _0x10d85f=_0x40a50c;return{'commentThreadId':_0x334cab,'commentId':_0x164113[_0x10d85f(0x1ac)],'userId':_0x164113[_0x10d85f(0x192)],'content':_0x164113[_0x10d85f(0x1e2)],'documentId':_0x6a99bb,'createdAt':_0x164113[_0x10d85f(0x1bf)],'attributes':_0x164113[_0x10d85f(0x1ba)]||{}};}(_0xbf5266,_0x103c76,_0x5765ad)),'resolvedAt':_0x1b5474,'resolvedBy':_0xefabc2,'context':_0x313786,'attributes':_0x6f2465})[_0x40a50c(0x182)](R);return{'threadId':_0x2f399b[_0x40a50c(0x1b1)],'comments':_0x2f399b[_0x40a50c(0x19e)]};},'getCommentThread':async({channelId:_0x574071,threadId:_0x5e68df})=>{const _0xc3ad72=_0x103192,_0x2c9f21=await this[_0xc3ad72(0x1d4)](_0x574071)[_0xc3ad72(0x1ca)](_0x5e68df)[_0xc3ad72(0x182)](R);return _0x2c9f21[_0xc3ad72(0x1da)]?null:(await this[_0xc3ad72(0x1d1)]([_0x2c9f21]),{'threadId':_0x2c9f21[_0xc3ad72(0x1b1)],'comments':_0x2c9f21[_0xc3ad72(0x19e)][_0xc3ad72(0x1ce)](S),'context':_0x2c9f21[_0xc3ad72(0x1c4)],'resolvedAt':_0x2c9f21[_0xc3ad72(0x1a8)],'resolvedBy':_0x2c9f21[_0xc3ad72(0x1d8)],'attributes':_0x2c9f21[_0xc3ad72(0x1ba)]||{}});},'updateCommentThread':async({channelId:_0x335de3,threadId:_0x38355c,context:_0x1415bf,unlinkedAt:_0x1b5bc6,attributes:_0x70a346})=>this[_0x103192(0x1d4)](_0x335de3)[_0x103192(0x18f)]({'commentThreadId':_0x38355c,'context':_0x1415bf,'attributes':_0x70a346,'unlinkedAt':_0x1b5bc6})[_0x103192(0x182)](B)[_0x103192(0x182)](R),'resolveCommentThread':async({channelId:_0x2eb579,threadId:_0x3c1099})=>{const _0x12378d=_0x103192,_0x32d587=await this[_0x12378d(0x1d4)](_0x2eb579)[_0x12378d(0x19f)](_0x3c1099)[_0x12378d(0x182)](B)[_0x12378d(0x182)](R);return{'threadId':_0x32d587[_0x12378d(0x1b1)],'resolvedAt':_0x32d587[_0x12378d(0x1a8)],'resolvedBy':_0x32d587[_0x12378d(0x1d8)]};},'reopenCommentThread':async({channelId:_0x5b90f2,threadId:_0xa56cf5})=>this[_0x103192(0x1d4)](_0x5b90f2)[_0x103192(0x1cc)](_0xa56cf5)[_0x103192(0x182)](B)[_0x103192(0x182)](R),'removeCommentThread':({channelId:_0x54a062,threadId:_0xc35110})=>this[_0x103192(0x1d4)](_0x54a062)[_0x103192(0x1d9)](_0xc35110)[_0x103192(0x182)](B)[_0x103192(0x182)](R),'addComment':({channelId:_0x2eb713,threadId:_0x25f217,commentId:_0x41ff7e,content:_0x16c714,attributes:_0x4e6821})=>this[_0x103192(0x1d4)](_0x2eb713)[_0x103192(0x186)](_0x25f217,_0x41ff7e,_0x16c714,_0x4e6821)[_0x103192(0x182)](R),'updateComment':({channelId:_0x364b9d,threadId:_0xf21f01,commentId:_0x4554b3,content:_0x580970,attributes:_0x171702})=>this[_0x103192(0x1d4)](_0x364b9d)[_0x103192(0x1dd)](_0xf21f01,_0x4554b3,_0x580970,_0x171702)[_0x103192(0x182)](B)[_0x103192(0x182)](R),'removeComment':({channelId:_0x3987cd,threadId:_0x968ddf,commentId:_0x5f5807})=>this[_0x103192(0x1d4)](_0x3987cd)[_0x103192(0x1d2)](_0x968ddf,_0x5f5807)[_0x103192(0x182)](B)[_0x103192(0x182)](R)},_0x20664e instanceof _0x100af8){const _0x2da110=_0x20664e[_0x103192(0x1b2)][_0x103192(0x1c8)](_0x103192(0x190)),_0x310063=_0x20664e[_0x103192(0x197)][_0x103192(0x1c8)](_0x1c81a5);await this[_0x103192(0x198)](_0x2da110);const _0x256bec=await this[_0x103192(0x1bc)][_0x103192(0x1c8)](_0x2da110)[_0x103192(0x1c5)]();this[_0x103192(0x1a5)](_0x310063,_0x103192(0x18c)+_0x2da110,(_0x1a2695,{session:_0x16e8aa})=>{const _0x1bee7a=_0x103192;_0x16e8aa['id']===_0x310063[_0x1bee7a(0x18e)]&&(_0x1a2695[_0x1bee7a(0x1b0)](),this[_0x1bee7a(0x1c4)][_0x1bee7a(0x197)][_0x1bee7a(0x1c8)](_0x1bee7a(0x1b6))[_0x1bee7a(0x181)](_0x16e8aa[_0x1bee7a(0x1e3)],_0x2da110));}),_0x310063[_0x103192(0x1be)](_0x2da110,_0x256bec);}}async[_0x592c2b(0x198)](_0x2949ff){const _0x4e2efe=_0x592c2b;if(this[_0x4e2efe(0x1bc)][_0x4e2efe(0x1d7)](_0x2949ff))throw new _0x49da2a(_0x4e2efe(0x1af),null,{'channelId':_0x2949ff});const _0x6e4eef=this[_0x4e2efe(0x1c4)][_0x4e2efe(0x197)][_0x4e2efe(0x1c8)](_0x4e2efe(0x1b3)),_0x603b7c=new a[(_0x4e2efe(0x1db))](_0x2949ff);this[_0x4e2efe(0x1bc)][_0x4e2efe(0x189)](_0x2949ff,_0x603b7c),this[_0x4e2efe(0x1a5)](_0x603b7c,_0x4e2efe(0x187),(_0x13dbf1,_0xb0114b)=>{const _0x19848e=_0x4e2efe,{commentThreadId:_0x5d4559,documentId:_0xbb1707,context:_0x1d5374,attributes:_0x35553e,resolvedAt:_0x19e3da,resolvedBy:_0x51e39d,comments:_0x309e25}=_0xb0114b;_0x6e4eef[_0x19848e(0x1ca)](_0x5d4559)||_0x6e4eef[_0x19848e(0x1de)]({'threadId':_0x5d4559,'channelId':_0xbb1707,'comments':_0x309e25?_0x309e25[_0x19848e(0x1ce)](S):[],'context':_0x1d5374,'attributes':_0x35553e,'resolvedAt':_0x19e3da,'resolvedBy':_0x51e39d,'isFromAdapter':!0x0});}),this[_0x4e2efe(0x1a5)](_0x603b7c,_0x4e2efe(0x1a6),(_0x55d999,{commentThreadId:_0x565637,documentId:_0x23d65c,context:_0x50781b,unlinkedAt:_0x2a5000,attributes:_0x3dd4d5})=>{const _0xcee435=_0x4e2efe;_0x6e4eef[_0xcee435(0x1ca)](_0x565637)&&_0x6e4eef[_0xcee435(0x18f)]({'threadId':_0x565637,'channelId':_0x23d65c,'context':_0x50781b,'unlinkedAt':_0x2a5000,'attributes':_0x3dd4d5,'isFromAdapter':!0x0});}),this[_0x4e2efe(0x1a5)](_0x603b7c,_0x4e2efe(0x1a3),(_0x4491c4,{commentThreadId:_0xee2ab1,resolvedBy:_0x27d9d3,resolvedAt:_0x102823})=>{const _0x10a022=_0x4e2efe,_0xf082b5=_0x6e4eef[_0x10a022(0x1ca)](_0xee2ab1);_0xf082b5&&_0xf082b5[_0x10a022(0x1bd)]({'resolvedBy':_0x27d9d3,'resolvedAt':_0x102823,'isFromAdapter':!0x0});}),this[_0x4e2efe(0x1a5)](_0x603b7c,_0x4e2efe(0x18a),(_0x40badf,{commentThreadId:_0x274668})=>{const _0x305e9c=_0x4e2efe,_0x84f2a9=_0x6e4eef[_0x305e9c(0x1ca)](_0x274668);_0x84f2a9&&_0x84f2a9[_0x305e9c(0x1aa)]({'isFromAdapter':!0x0});}),this[_0x4e2efe(0x1a5)](_0x603b7c,_0x4e2efe(0x1b4),(_0x1f4447,{commentThreadId:_0x288f44})=>{const _0x4b5ac5=_0x4e2efe,_0x43873d=_0x6e4eef[_0x4b5ac5(0x1ca)](_0x288f44);_0x43873d&&_0x43873d[_0x4b5ac5(0x19d)]({'isFromAdapter':!0x0});}),this[_0x4e2efe(0x1a5)](_0x603b7c,_0x4e2efe(0x1b8),(_0x55b753,_0x476119)=>{const _0x2ea4df=_0x4e2efe,_0x4b6635=_0x476119[_0x2ea4df(0x1b1)],_0x474228=_0x6e4eef[_0x2ea4df(0x1ca)](_0x4b6635);_0x474228&&_0x474228[_0x2ea4df(0x186)]({...S(_0x476119),'isFromAdapter':!0x0});}),this[_0x4e2efe(0x1a5)](_0x603b7c,_0x4e2efe(0x1cb),(_0x89a6c1,{commentThreadId:_0x1dd4c6,commentId:_0x31d65e,content:_0x32357f,attributes:_0x2d0654})=>{const _0x153dc8=_0x4e2efe,_0x22a7f9=_0x6e4eef[_0x153dc8(0x1ca)](_0x1dd4c6);if(_0x22a7f9){const _0x365601=_0x22a7f9[_0x153dc8(0x1b7)](_0x31d65e);_0x365601&&_0x365601[_0x153dc8(0x1e1)]({'content':_0x32357f,'attributes':_0x2d0654,'isFromAdapter':!0x0});}}),this[_0x4e2efe(0x1a5)](_0x603b7c,_0x4e2efe(0x1a9),(_0x1d4c4d,{commentThreadId:_0x43aad6,commentId:_0x2afe87})=>{const _0x4ddcd1=_0x4e2efe,_0x3fd68e=_0x6e4eef[_0x4ddcd1(0x1ca)](_0x43aad6);if(_0x3fd68e){const _0xf6e71a=_0x3fd68e[_0x4ddcd1(0x1b7)](_0x2afe87);_0xf6e71a&&_0xf6e71a[_0x4ddcd1(0x19d)]({'isFromAdapter':!0x0});}}),await this[_0x4e2efe(0x1d5)](_0x2949ff);}[_0x592c2b(0x1a4)](){const _0x2830ea=_0x592c2b;if(this[_0x2830ea(0x1c4)]instanceof _0x100af8){const _0x63906d=this[_0x2830ea(0x1c4)][_0x2830ea(0x1b2)][_0x2830ea(0x1c8)](_0x2830ea(0x190));this[_0x2830ea(0x17e)](_0x63906d);}}[_0x592c2b(0x17e)](_0xda422e){const _0x2c80c4=_0x592c2b;if(!this[_0x2c80c4(0x1bc)][_0x2c80c4(0x1d7)](_0xda422e))throw new _0x49da2a(_0x2c80c4(0x1ad),null,{'channelId':_0xda422e});this[_0x2c80c4(0x1d4)](_0xda422e)[_0x2c80c4(0x1c0)](),this[_0x2c80c4(0x1bc)][_0x2c80c4(0x191)](_0xda422e);}async[_0x592c2b(0x185)](){const _0x2f5b89=_0x592c2b;for(const _0x2edc66 of this[_0x2f5b89(0x1bc)][_0x2f5b89(0x1e0)]())await this[_0x2f5b89(0x1d5)](_0x2edc66);if(this[_0x2f5b89(0x1c4)]instanceof _0x100af8){const _0xed9e6b=this[_0x2f5b89(0x1c4)][_0x2f5b89(0x1b2)][_0x2f5b89(0x1c8)](_0x2f5b89(0x190)),_0x257c9c=this[_0x2f5b89(0x1c4)][_0x2f5b89(0x197)][_0x2f5b89(0x1c8)](_0x1c81a5);_0x257c9c[_0x2f5b89(0x18d)](_0xed9e6b);const _0xc68759=await this[_0x2f5b89(0x1bc)][_0x2f5b89(0x1c8)](_0xed9e6b)[_0x2f5b89(0x1c5)]();_0x257c9c[_0x2f5b89(0x1be)](_0xed9e6b,_0xc68759);}}async[_0x592c2b(0x1d5)](_0x47f441){const _0x58b1a6=_0x592c2b,{connection:_0x4f4e5e}=this[_0x58b1a6(0x1c4)][_0x58b1a6(0x197)][_0x58b1a6(0x1c8)](_0x50527d),_0x46770a=this[_0x58b1a6(0x1c4)][_0x58b1a6(0x197)][_0x58b1a6(0x1c8)](_0x58b1a6(0x1b3)),_0x388650=this[_0x58b1a6(0x1bc)][_0x58b1a6(0x1c8)](_0x47f441),_0x461697=await _0x388650[_0x58b1a6(0x1dc)](_0x4f4e5e);await this[_0x58b1a6(0x1d1)](_0x461697);const _0x2976c1=new Set(Array[_0x58b1a6(0x1a0)](_0x46770a[_0x58b1a6(0x1cf)]({'channelId':_0x47f441}),_0x47e13d=>_0x47e13d['id']));for(const _0x2c9270 of _0x461697)_0x2c9270[_0x58b1a6(0x1da)]||_0x2976c1[_0x58b1a6(0x191)](_0x2c9270[_0x58b1a6(0x1b1)]);for(const _0x17b3c4 of _0x2976c1)_0x46770a[_0x58b1a6(0x1ca)](_0x17b3c4)[_0x58b1a6(0x19d)]({'isFromAdapter':!0x0});for(const _0x4f442a of _0x461697){let _0x197977=_0x46770a[_0x58b1a6(0x1ca)](_0x4f442a[_0x58b1a6(0x1b1)]);const {commentThreadId:_0x2da9fc,context:_0x3f3e7f,attributes:_0x3bcf9a,resolvedBy:_0x1d57d5,resolvedAt:_0x5bc3db,unlinkedAt:_0x524c84,deletedAt:_0x5d79d8}=_0x4f442a;if(_0x5d79d8)continue;_0x197977||(_0x197977=_0x46770a[_0x58b1a6(0x1de)]({'channelId':_0x47f441,'threadId':_0x2da9fc,'context':_0x3f3e7f,'attributes':_0x3bcf9a||{},'resolvedBy':_0x1d57d5,'resolvedAt':_0x5bc3db,'unlinkedAt':_0x524c84,'isFromAdapter':!0x0}));const _0x2d10b5=new Set(Array[_0x58b1a6(0x1a0)](_0x197977[_0x58b1a6(0x19e)],_0x16f316=>_0x16f316['id']));for(const _0x49a6e3 of _0x4f442a[_0x58b1a6(0x19e)])_0x2d10b5[_0x58b1a6(0x191)](_0x49a6e3[_0x58b1a6(0x1ac)]);for(const _0x144cc2 of _0x2d10b5)_0x197977[_0x58b1a6(0x1b7)](_0x144cc2)[_0x58b1a6(0x19d)]({'isFromAdapter':!0x0});for(const _0x208143 of _0x4f442a[_0x58b1a6(0x19e)]){const _0x1b947d=_0x197977[_0x58b1a6(0x1b7)](_0x208143[_0x58b1a6(0x1ac)]);_0x1b947d?_0x1b947d[_0x58b1a6(0x1e2)]!==_0x208143[_0x58b1a6(0x1e2)]&&_0x1b947d[_0x58b1a6(0x1e1)]({'content':_0x208143[_0x58b1a6(0x1e2)],'isFromAdapter':!0x0}):_0x197977[_0x58b1a6(0x186)](Object[_0x58b1a6(0x183)](S(_0x208143),{'isFromAdapter':!0x0}));}}}[_0x592c2b(0x1d4)](_0x2d0cc2){const _0x179392=_0x592c2b;if(!this[_0x179392(0x1bc)][_0x179392(0x1d7)](_0x2d0cc2))throw new _0x49da2a(_0x179392(0x1b9),null,{'channelId':_0x2d0cc2});return this[_0x179392(0x1bc)][_0x179392(0x1c8)](_0x2d0cc2);}async[_0x592c2b(0x1d1)](_0x5df1f3){const _0x2be466=_0x592c2b,_0x2cddb0=this[_0x2be466(0x1c4)][_0x2be466(0x197)][_0x2be466(0x1c8)](_0x48d332),{connection:_0x119e96}=this[_0x2be466(0x1c4)][_0x2be466(0x197)][_0x2be466(0x1c8)](_0x50527d),_0x59a64a=new Set();for(const {resolvedBy:_0x4da34c,comments:_0x4bf652}of _0x5df1f3){_0x4da34c&&!_0x2cddb0[_0x2be466(0x1b5)](_0x4da34c)&&_0x59a64a[_0x2be466(0x1a2)](_0x4da34c);for(const {userId:_0x3d5727}of _0x4bf652)_0x2cddb0[_0x2be466(0x1b5)](_0x3d5727)||_0x59a64a[_0x2be466(0x1a2)](_0x3d5727);}if(0x0===_0x59a64a[_0x2be466(0x1c9)])return;const _0x26c6e1=await _0x272fdc[_0x2be466(0x19a)](_0x119e96,Array[_0x2be466(0x1a0)](_0x59a64a));for(const _0x92632c of _0x26c6e1)_0x2cddb0[_0x2be466(0x1b5)](_0x92632c['id'])||_0x2cddb0[_0x2be466(0x1e4)](_0x92632c);}}a[_0x592c2b(0x1db)]=_0x16f68f;function _0x26c9(){const _0x4e3127=['userId','commentId','cloudservicescommentsadapter-disconnect-not-exist','874902isNrWn','cloudservicescommentsadapter-connect-already-connected','off','commentThreadId','config','CommentsRepository','commentThreadRemoved','getUser','Permissions','getComment','commentAdded','cloudservicescommentsadapter-service-not-exist','attributes','404','_services','resolve','register','createdAt','disconnect','7xgSfTv','cloud-services-internal-error:\x20Request\x20timeout.','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','context','getConnectedSessions','code','4wAzLWb','get','size','getCommentThread','commentUpdated','reopenCommentThread','adapter','map','getCommentThreads','addToReconnectionStack','_fetchMissingUsersForThreads','removeComment','isOfficialPlugin','_getService','_connectService','207885gUjTID','has','resolvedBy','removeCommentThread','deletedAt','CommentsService','connect','updateComment','addCommentThread','12nELrNe','keys','update','content','permissions','addUser','_terminateService','693WhbHgc','CloudServicesCommentsAdapter','setPermissions','catch','assign','isPremiumPlugin','reconnect','addComment','commentThreadAdded','init','set','commentThreadReopened','809865bMlmyR','sessionAdd:','unregister','mySessionId','updateCommentThread','collaboration.channelId','delete','authorId','36070TUCmFb','51704hCfOJr','startsWith','260872rhOywQ','plugins','_setUpService','pluginName','getMany','requires','message','remove','comments','resolveCommentThread','from','cloud-services-internal-error:\x20Not\x20connected.','add','commentThreadResolved','destroy','listenTo','commentThreadUpdated','620220BlcHwD','resolvedAt','commentRemoved','reopen'];_0x26c9=function(){return _0x4e3127;};return _0x26c9();}export default a;async function B(_0x563351){const _0x30175b=_0x592c2b;if(_0x30175b(0x1bb)!==_0x563351[_0x30175b(0x1c6)])throw _0x563351;}function R(_0x32a958){const _0x3b8e89=_0x592c2b;if((_0x20057d=_0x32a958)[_0x3b8e89(0x19c)][_0x3b8e89(0x195)](_0x3b8e89(0x1c3))||_0x20057d[_0x3b8e89(0x19c)][_0x3b8e89(0x195)](_0x3b8e89(0x1a1))||_0x20057d[_0x3b8e89(0x19c)][_0x3b8e89(0x195)](_0x3b8e89(0x1c2)))return new Promise(()=>{});var _0x20057d;throw _0x32a958;}function S(_0x4e2277){const _0x1cac12=_0x592c2b;return{'threadId':_0x4e2277[_0x1cac12(0x1b1)],'commentId':_0x4e2277[_0x1cac12(0x1ac)],'content':_0x4e2277[_0x1cac12(0x1e2)],'createdAt':_0x4e2277[_0x1cac12(0x1bf)],'authorId':_0x4e2277[_0x1cac12(0x1ab)],'attributes':_0x4e2277[_0x1cac12(0x1ba)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5dafb8=_0x38fc;(function(_0xbee6ed,_0xeb6938){const _0x1b8a2e=_0x38fc,_0x2b289c=_0xbee6ed();while(!![]){try{const _0x3486af=-parseInt(_0x1b8a2e(0x141))/0x1*(parseInt(_0x1b8a2e(0x145))/0x2)+parseInt(_0x1b8a2e(0x129))/0x3+-parseInt(_0x1b8a2e(0x148))/0x4*(parseInt(_0x1b8a2e(0x146))/0x5)+-parseInt(_0x1b8a2e(0x12b))/0x6*(parseInt(_0x1b8a2e(0x140))/0x7)+-parseInt(_0x1b8a2e(0x133))/0x8+parseInt(_0x1b8a2e(0x14a))/0x9+parseInt(_0x1b8a2e(0x143))/0xa;if(_0x3486af===_0xeb6938)break;else _0x2b289c['push'](_0x2b289c['shift']());}catch(_0x4f6756){_0x2b289c['push'](_0x2b289c['shift']());}}}(_0xf7dd,0xb7aed));import{Plugin as _0x5e8274}from'ckeditor5/src/core.js';function _0x38fc(_0x199d81,_0x2b78ec){const _0xf7dda2=_0xf7dd();return _0x38fc=function(_0x38fc5a,_0x44d3c3){_0x38fc5a=_0x38fc5a-0x129;let _0x572af1=_0xf7dda2[_0x38fc5a];return _0x572af1;},_0x38fc(_0x199d81,_0x2b78ec);}import _0x1512fd from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x519c12 from'./realtimecollaborativeediting.js';function _0xf7dd(){const _0x5ab36c=['plugins','isOfficialPlugin','ready','_setUpService','data','2105816XlBHkI','config','isPremiumPlugin','collaboration.channelId','once','pluginName','CommentsEditing','connected','init','change:state','editor','isThreadsLoadingPaused','RealTimeCollaborativeComments','1918OKtwzx','1qcbGmO','switchReadOnly','4623340oORoDr','CommentsRepository','1235462cdVQNx','2068385MTXblE','get','4icDBVm','Comments','11955240NdCBIm','_terminateService','2267424ZMclOp','listenTo','10938obCkSA','requires','destroy'];_0xf7dd=function(){return _0x5ab36c;};return _0xf7dd();}import _0x22d6bf from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x5e8274{static get[_0x5dafb8(0x12c)](){const _0x510a9d=_0x5dafb8;return[_0x510a9d(0x149),_0x1512fd,_0x519c12,_0x22d6bf];}static get[_0x5dafb8(0x138)](){const _0x2f1230=_0x5dafb8;return _0x2f1230(0x13f);}static get[_0x5dafb8(0x12f)](){return!0x0;}static get[_0x5dafb8(0x135)](){return!0x0;}[_0x5dafb8(0x13b)](){const _0x5929de=_0x5dafb8,_0x40bb50=this[_0x5929de(0x13d)][_0x5929de(0x12e)][_0x5929de(0x147)](_0x22d6bf),_0x3d48ac=this[_0x5929de(0x13d)][_0x5929de(0x12e)][_0x5929de(0x147)](_0x5929de(0x139)),_0x4d91b2=this[_0x5929de(0x13d)][_0x5929de(0x12e)][_0x5929de(0x147)](_0x1512fd);return this[_0x5929de(0x13d)][_0x5929de(0x132)][_0x5929de(0x137)](_0x5929de(0x130),()=>{const _0x29cef1=_0x5929de;this[_0x29cef1(0x12a)](_0x40bb50,_0x29cef1(0x13c),(_0x320c3d,_0x2e8871,_0x5ed86e)=>{const _0x320e95=_0x29cef1;_0x3d48ac[_0x320e95(0x13e)]=_0x320e95(0x13a)!==_0x5ed86e;});}),this[_0x5929de(0x12a)](_0x40bb50,_0x5929de(0x13c),(_0xf52d28,_0x2d0b7b,_0x4b4247)=>{const _0x1359f8=_0x5929de;this[_0x1359f8(0x13d)][_0x1359f8(0x12e)][_0x1359f8(0x147)](_0x1359f8(0x144))[_0x1359f8(0x142)](_0x1359f8(0x13a)!==_0x4b4247);}),_0x4d91b2[_0x5929de(0x131)](this[_0x5929de(0x13d)][_0x5929de(0x134)][_0x5929de(0x147)](_0x5929de(0x136)));}[_0x5dafb8(0x12d)](){const _0x3826d6=_0x5dafb8;this[_0x3826d6(0x13d)][_0x3826d6(0x12e)][_0x3826d6(0x147)](_0x1512fd)[_0x3826d6(0x14b)](this[_0x3826d6(0x13d)][_0x3826d6(0x134)][_0x3826d6(0x147)](_0x3826d6(0x136))),super[_0x3826d6(0x12d)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2a26a5=_0x305b;(function(_0x7f02e1,_0x43793e){const _0x3cb100=_0x305b,_0x1a883f=_0x7f02e1();while(!![]){try{const _0x1c4b40=parseInt(_0x3cb100(0xcb))/0x1+-parseInt(_0x3cb100(0x19b))/0x2*(parseInt(_0x3cb100(0xaa))/0x3)+-parseInt(_0x3cb100(0x12d))/0x4*(-parseInt(_0x3cb100(0x167))/0x5)+-parseInt(_0x3cb100(0x17f))/0x6+-parseInt(_0x3cb100(0x12f))/0x7*(parseInt(_0x3cb100(0x133))/0x8)+-parseInt(_0x3cb100(0x148))/0x9+parseInt(_0x3cb100(0x152))/0xa;if(_0x1c4b40===_0x43793e)break;else _0x1a883f['push'](_0x1a883f['shift']());}catch(_0x3bdf0c){_0x1a883f['push'](_0x1a883f['shift']());}}}(_0x4cef,0x89645));function _0x4cef(){const _0x392ea2=['keys','_fetchMissingUsers','createUserMarkerOperations','_handleReconnectionError','disableReadOnlyMode','state','entries','ready','_isPendingUpdate','createRange','path','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','mySessionId','addRootAttribute','_crash','_hasSynchronizationProblem','6otZNkq','isReadOnly','getMany','reconnection:\x20flushed\x20session','map','data','markers','channelSessions','getUser','lastDocumentSession','unregister','$root','_handleServerResponse','_bufferedOperations','removeFromReconnectionStack','catch','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_offset','isEnabled','pluginName','_sendBufferedOperations','_isEditingAllowed','sendOperations','disconnected','wasUndone','Synchronization\x20issue','document','includes','_service','version','off','initData','getRoot','342153XhRELl','end','__className','push','_decompressOperations','differ','add','_initThrowingOnDataSet','clone','setIdForTheLastOperation','selection','filter','set','rootsAttributes','change:_isPendingUpdate','Notification','roots','wereChangesApplied','cloudDocumentVersion','addRoot','isPremiumPlugin','_shouldSendUpdate','realtimecollaborationclient-init-session-connection-error','_bufferRootLoad','insert','currentDocumentSession','_operationIdentifier','_baseBufferDelay','rtc-offline','disconnect','CollaborativeEditingService','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','then','cloud-services-internal-error:\x20Not\x20connected.','remove','_currentBufferDelay','destroy','cloudServices.bundleVersion','cloud-services-internal-error:\x20Request\x20timeout.','collaboration-missing-channelid','connection','isUndoneOperation','_waitUntilSynced','InsertOperation','_clearPendingAction','length','RealTimeCollaborationClient','_isDisconnection','batch','error','_authorId','_sendBufferedOperationsDelayed','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','realtimecollaborationclient-init-document-already-initialized','change:_isEditingAllowed','showWarning','decompress','getIdOfTheLastOperation','_handleReceivedOperations','register','_isInit','from','sessionId','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.','round','_initSessionsHandling','loadRoot','createPositionAt','_connectService','fire','_handleSendingSelectionMarkers','toJSON','plugins','change:range','_disconnectionOperations','_ignoredOperations','_compressOperations','return','_shouldSendSelectionUpdate','lastOperationAcceptedAt','operationsReceived','requires','newRange','view','size','string','reset','fromJSON','_knownOperations','_applyOperationsSet','config','_compressor','baseVersion','startsWith','directChange','compress','createPositionFromPath','model','116uJuYuj','start','104503EYVRIf','has','404','_handleInitialConnectionData','448xTgoBS','init','addToReconnectionStack','define','Permissions','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.','realtimecollaborationclient-handleserverresponse','attributes','stopListening','addOperation','userId','root','history','_hasSelectionChanged','code','createRoot','editing','realtimecollaborationclient-error','_operationToId','sessionAdd:','serverHistory','7395930ZRjRhd','locale','rootName','_sendBufferedOperationsDelayId','_addKnownRoot','_isLoaded','suppressErrorInCollaboration','rtc-destroyed','_disconnectService','createdAt','36221870DhIqUn','high','_updateServerHistory','message','reconnect','_lastSyncedOperationId','collaboration.channelId','offset','_isConnected','getDocumentDetails','editor','addUser','_getOperationsFromInitData','permissions','multi-root-editor-root-attributes-no-root','cs:removeUser','CommentsOnly','targetPosition','apply','applyOperation','sessionCreatedAt','42045PFASKD','realtimecollaborationclient-init-connection-failed','_isAttached','enableReadOnlyMode','bind','_document','realtimecollaborationclient-init-service-incorrect-server-operation','change:hasDomSelection','_handleExternalOperations','_pendingAction','_connectAfterSessionHasBeenFlushed','_loadRoot','forEach','_saveOperationInBuffer','409','type','getOperations','_setUpDataInit','affectsData','_getAffectedRoot','isOfficialPlugin','parse','realtimecollaborationclient-init-non-existent-root','realtimecollaborationclient-init-service-internal-error','6047760MXNBdu','getOperationAuthor','lastSyncVersion','_knownRootNames','lastOperationId','connected','realtimecollaborationclient-sendbufferedoperations','setPermissions','PENDING_ACTION_SENDING_DATA','affectedSelectable','connect','enqueueChange','_channelId','listenTo','getConnectedSessions','finally','get','real-time-collaboration','stop','isDocumentOperation','_lastServerVersion','position','move','_handleReconnectionResponse','document:write','metadata','realtimecollaborationclient','marker','979690aWyaJK','slice','_setPendingAction','collaboration','_refreshUserSelectionMarkers'];_0x4cef=function(){return _0x392ea2;};return _0x4cef();}function _0x305b(_0x792a93,_0x9bcce3){const _0x4cef8f=_0x4cef();return _0x305b=function(_0x305b7f,_0x58060a){_0x305b7f=_0x305b7f-0x9a;let _0x2b1ab7=_0x4cef8f[_0x305b7f];return _0x2b1ab7;},_0x305b(_0x792a93,_0x9bcce3);}import{Plugin as _0xbea8ee,PendingActions as _0xe8d8cc}from'ckeditor5/src/core.js';import{CKEditorError as _0x413a0a,version as _0x4de8a9,uid as _0x5cb80c}from'ckeditor5/src/utils.js';import{Notification as _0x4059e8}from'ckeditor5/src/ui.js';import{transformSets as _0x17f89a,NoOperation as _0x1b2699,InsertOperation as _0x47829d,MarkerOperation as _0x3356d3,RootAttributeOperation as _0x3a4561,OperationFactory as _0x322065,History as _0x18e798}from'ckeditor5/src/engine.js';import _0x1e87a2 from'./websocketgateway.js';import _0xa885ba from'./sessions.js';import _0x4b407c from'./usermarkers.js';import{getTranslation as _0x4cb707}from'../common-translations.js';import{Compressor as _0x219b79}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x251494}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x55a5ab,CollaborativeEditingService as _0xee7362}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0xbea8ee{static get[_0x2a26a5(0x11c)](){return[_0x1e87a2,_0xa885ba,_0x4b407c,_0xe8d8cc,_0x251494,_0x4059e8];}static get[_0x2a26a5(0xbd)](){const _0x1dbc0d=_0x2a26a5;return _0x1dbc0d(0xf9);}static get[_0x2a26a5(0x17b)](){return!0x0;}static get[_0x2a26a5(0xdf)](){return!0x0;}get[_0x2a26a5(0xdd)](){const _0x2dd212=_0x2a26a5;return this[_0x2dd212(0x193)]+this[_0x2dd212(0xbb)];}get[_0x2a26a5(0x193)](){const _0x45da1a=_0x2a26a5;return this[_0x45da1a(0x147)][_0x45da1a(0xc7)]-this[_0x45da1a(0xbb)];}get[_0x2a26a5(0x181)](){const _0x1d5eb2=_0x2a26a5,_0x14ddb5=this[_0x1d5eb2(0x147)][_0x1d5eb2(0x177)]();for(let _0x19aaeb=_0x14ddb5[_0x1d5eb2(0xf8)]-0x1;_0x19aaeb>=0x0;_0x19aaeb--){const _0x585718=_0x14ddb5[_0x19aaeb];if(!this[_0x1d5eb2(0x115)][_0x1d5eb2(0x130)](_0x585718))return _0x585718[_0x1d5eb2(0x127)]+0x1-this[_0x1d5eb2(0xbb)];}return 0x0;}constructor(_0xbec1e6){const _0x108ab2=_0x2a26a5;if(super(_0xbec1e6),this[_0x108ab2(0xbb)]=0x0,this[_0x108ab2(0x109)]=null,this[_0x108ab2(0x147)]=new _0x18e798(),this[_0x108ab2(0x15c)][_0x108ab2(0x125)][_0x108ab2(0x136)](_0x108ab2(0x19e),{}),this[_0x108ab2(0x18b)]=this[_0x108ab2(0x15c)][_0x108ab2(0x125)][_0x108ab2(0x18f)](_0x108ab2(0x158)),!this[_0x108ab2(0x18b)])throw new _0x413a0a(_0x108ab2(0xf2),this);const _0x230c80=_0xbec1e6[_0x108ab2(0x125)][_0x108ab2(0x18f)](_0x108ab2(0xf0))||_0x4de8a9;this[_0x108ab2(0xc6)]=new l[(_0x108ab2(0xe9))](_0x230c80,this[_0x108ab2(0x18b)]),this[_0x108ab2(0x16c)]=this[_0x108ab2(0x15c)][_0x108ab2(0x12c)][_0x108ab2(0xc4)],this[_0x108ab2(0x126)]=new _0x219b79(),this[_0x108ab2(0xb7)]=[],this[_0x108ab2(0x123)]=new WeakSet(),this[_0x108ab2(0x182)]=new Set(),this[_0x108ab2(0xd7)](_0x108ab2(0xa2),!0x1),this[_0x108ab2(0xd7)](_0x108ab2(0xa9),!0x1),this[_0x108ab2(0x170)]=null,this[_0x108ab2(0x140)]=!0x1,this[_0x108ab2(0x14b)]=null,this[_0x108ab2(0xe6)]=0x12c,this[_0x108ab2(0xee)]=this[_0x108ab2(0xe6)],this[_0x108ab2(0x157)]=null,this[_0x108ab2(0x115)]=new WeakSet(),this[_0x108ab2(0xe5)]=new X(this[_0x108ab2(0x115)]);}[_0x2a26a5(0x134)](){const _0x3f5e3b=_0x2a26a5,_0x14e774=this[_0x3f5e3b(0x15c)],_0x4f37ac=_0x14e774[_0x3f5e3b(0x113)][_0x3f5e3b(0x18f)](_0x251494),_0x443942=_0x14e774[_0x3f5e3b(0x113)][_0x3f5e3b(0x18f)](_0x1e87a2);this[_0x3f5e3b(0x18c)](_0x4f37ac,_0x3f5e3b(0x180),(_0x549813,_0x1cb5a2)=>{const _0x5c6a95=_0x3f5e3b,_0x43e4fd=_0x1cb5a2[0x0];_0x43e4fd[_0x5c6a95(0xfd)]&&(_0x549813[_0x5c6a95(0x118)]=_0x4f37ac[_0x5c6a95(0xb2)](_0x43e4fd[_0x5c6a95(0xfd)]),_0x549813[_0x5c6a95(0x191)]()),null===_0x43e4fd[_0x5c6a95(0xfd)]&&(_0x549813[_0x5c6a95(0x118)]=null,_0x549813[_0x5c6a95(0x191)]());},{'priority':_0x3f5e3b(0x153)}),this[_0x3f5e3b(0x18c)](_0x14e774[_0x3f5e3b(0x12c)][_0x3f5e3b(0xc4)][_0x3f5e3b(0xd5)],_0x3f5e3b(0x114),(_0x4de595,_0x242eb3)=>{const _0x57c1e5=_0x3f5e3b;_0x242eb3[_0x57c1e5(0x129)]&&this[_0x57c1e5(0x19f)]();}),this[_0x3f5e3b(0x18c)](_0x14e774[_0x3f5e3b(0x143)][_0x3f5e3b(0x11e)],_0x3f5e3b(0x16e),()=>{const _0x47a3fb=_0x3f5e3b;this[_0x47a3fb(0x19f)]();}),this[_0x3f5e3b(0xd2)](),_0x14e774[_0x3f5e3b(0x12c)]['on'](_0x3f5e3b(0x165),(_0x3e4626,_0x41f0db)=>{const _0x875c8d=_0x3f5e3b,_0x2bd09d=_0x41f0db[0x0];_0x2bd09d[_0x875c8d(0x192)]&&(this[_0x875c8d(0x174)](_0x2bd09d),this[_0x875c8d(0xe0)]()&&this[_0x875c8d(0xfe)]());}),this[_0x3f5e3b(0x178)](),this[_0x3f5e3b(0x16b)](_0x3f5e3b(0xbf))['to'](_0x443942,_0x3f5e3b(0x9f),this,_0x3f5e3b(0xa9),(_0x1438e2,_0x560423)=>_0x3f5e3b(0x184)===_0x1438e2&&!_0x560423),this['on'](_0x3f5e3b(0x101),()=>{const _0x5e6bef=_0x3f5e3b;this[_0x5e6bef(0xbf)]?_0x14e774[_0x5e6bef(0x9e)](_0x5e6bef(0xe7)):_0x14e774[_0x5e6bef(0x16a)](_0x5e6bef(0xe7));}),this[_0x3f5e3b(0xbf)]?_0x14e774[_0x3f5e3b(0x9e)](_0x3f5e3b(0xe7)):_0x14e774[_0x3f5e3b(0x16a)](_0x3f5e3b(0xe7)),this[_0x3f5e3b(0xd7)](_0x3f5e3b(0x15a),!0x1);}async[_0x2a26a5(0x156)](){const _0x4e3115=_0x2a26a5,_0x128995=this[_0x4e3115(0x15c)][_0x4e3115(0x113)][_0x4e3115(0x18f)](_0xa885ba),_0x34b5a9=this[_0x4e3115(0x15c)][_0x4e3115(0x113)][_0x4e3115(0x18f)](_0x1e87a2);try{this[_0x4e3115(0xa2)]=!0x0,_0x128995[_0x4e3115(0xb4)](this[_0x4e3115(0x18b)]);const _0x1bbf26=await this[_0x4e3115(0xc6)][_0x4e3115(0x156)](_0x34b5a9[_0x4e3115(0xf3)],this[_0x4e3115(0x181)]);await this[_0x4e3115(0x196)](_0x1bbf26)&&(this[_0x4e3115(0xa2)]=!0x1,this[_0x4e3115(0xf7)]());const _0x320a7b=await this[_0x4e3115(0xc6)][_0x4e3115(0x18d)]();_0x128995[_0x4e3115(0x106)](this[_0x4e3115(0x18b)],_0x320a7b),this[_0x4e3115(0x111)](),this[_0x4e3115(0x15a)]=!0x0;}catch(_0x18caf8){if(function(_0x20c7cc){const _0x197e6e=_0x4e3115;return _0x197e6e(0x131)===_0x20c7cc[_0x197e6e(0x141)];}(_0x18caf8)&&this[_0x4e3115(0x109)])await this[_0x4e3115(0x171)]();else{if(function(_0x3937d7){const _0x4fa87b=_0x4e3115;return _0x4fa87b(0x175)===_0x3937d7[_0x4fa87b(0x141)];}(_0x18caf8)){const _0x262fb8=_0x4cb707(this[_0x4e3115(0x15c)][_0x4e3115(0x149)],_0x4e3115(0xea));this[_0x4e3115(0x9d)](_0x262fb8);}else{if(!(_0x18caf8 instanceof J))throw _0x18caf8;this[_0x4e3115(0x9d)]();}}}}[_0x2a26a5(0xef)](){const _0x4dce68=_0x2a26a5,_0x785549=this[_0x4dce68(0x15c)][_0x4dce68(0x113)][_0x4dce68(0x18f)](_0x1e87a2),_0x2adda8=this[_0x4dce68(0x15c)][_0x4dce68(0x113)][_0x4dce68(0x18f)](_0xa885ba);this[_0x4dce68(0x15c)][_0x4dce68(0x16a)](_0x4dce68(0x14f)),_0x2adda8[_0x4dce68(0xb1)][_0x4dce68(0x130)](this[_0x4dce68(0x18b)])&&_0x2adda8[_0x4dce68(0xb4)](this[_0x4dce68(0x18b)]),_0x785549[_0x4dce68(0xb8)](this),this[_0x4dce68(0x150)](),super[_0x4dce68(0xef)]();}async[_0x2a26a5(0x196)](_0x12dd86){const _0x26f2e5=_0x2a26a5;if(this[_0x26f2e5(0x109)]!==_0x12dd86[_0x26f2e5(0x109)]&&this[_0x26f2e5(0x157)]!==_0x12dd86[_0x26f2e5(0x183)])throw new J();return this[_0x26f2e5(0x109)]=_0x12dd86[_0x26f2e5(0x109)],this[_0x26f2e5(0xb6)]([],{..._0x12dd86,'wereChangesApplied':!0x1,'data':_0x12dd86[_0x26f2e5(0xaf)]},_0x26f2e5(0x156));}async[_0x2a26a5(0x10f)](_0x1a815a,_0x469909=!0x1){const _0x1e0ae2=_0x2a26a5,{connection:_0x1a59df}=this[_0x1e0ae2(0x15c)][_0x1e0ae2(0x113)][_0x1e0ae2(0x18f)](_0x1e87a2);l[_0x1e0ae2(0xe9)][_0x1e0ae2(0x18d)](_0x1a59df,this[_0x1e0ae2(0x18b)])[_0x1e0ae2(0xeb)](_0x2ea8e5=>this[_0x1e0ae2(0x10c)](_0x2ea8e5))[_0x1e0ae2(0xb9)](_0x5017eb=>{const _0x31357a=_0x1e0ae2;this[_0x31357a(0xa8)](_0x31357a(0xe1),_0x5017eb);}),this[_0x1e0ae2(0x18c)](this[_0x1e0ae2(0xc6)],_0x1e0ae2(0x11b),this[_0x1e0ae2(0x105)][_0x1e0ae2(0x16b)](this)),this[_0x1e0ae2(0x18c)](this[_0x1e0ae2(0xc6)],_0x1e0ae2(0xfc),(_0x15abc2,_0x17dc9b)=>{const _0x39fce8=_0x1e0ae2;this[_0x39fce8(0xa8)](_0x39fce8(0x17e),_0x17dc9b);}),this[_0x1e0ae2(0x18c)](this[_0x1e0ae2(0xc6)],_0x1e0ae2(0xc1),()=>{const _0x4b3d1e=_0x1e0ae2;this[_0x4b3d1e(0x15a)]=!0x1;});const _0x7f9d4=this[_0x1e0ae2(0xe5)][_0x1e0ae2(0x104)](_0x1a815a);this[_0x1e0ae2(0xa2)]=!0x0;const _0x3cc8d2=await this[_0x1e0ae2(0xc6)][_0x1e0ae2(0x189)](_0x1a59df,this[_0x1e0ae2(0x117)](_0x1a815a),_0x7f9d4);if(this[_0x1e0ae2(0x109)]=_0x3cc8d2[_0x1e0ae2(0x109)],_0x469909){if(!_0x3cc8d2[_0x1e0ae2(0xdc)])return void this[_0x1e0ae2(0x9d)]();this[_0x1e0ae2(0xa2)]=!0x1,this[_0x1e0ae2(0xf7)](),this[_0x1e0ae2(0x147)][_0x1e0ae2(0x121)](),this[_0x1e0ae2(0xbb)]=_0x3cc8d2[_0x1e0ae2(0x159)],this[_0x1e0ae2(0x147)][_0x1e0ae2(0xc7)]=this[_0x1e0ae2(0xbb)],await this[_0x1e0ae2(0xb6)](_0x1a815a,_0x3cc8d2,_0x1e0ae2(0xad));}else await this[_0x1e0ae2(0x132)](_0x3cc8d2,_0x1a815a);this[_0x1e0ae2(0x111)](),this[_0x1e0ae2(0x15a)]=!0x0;}[_0x2a26a5(0x111)](){const _0x11d1ae=_0x2a26a5,_0xeed7de=this[_0x11d1ae(0x15c)][_0x11d1ae(0x113)][_0x11d1ae(0x18f)](_0xa885ba),_0x4a0ec6=this[_0x11d1ae(0x15c)][_0x11d1ae(0x113)][_0x11d1ae(0x18f)](_0x4b407c),_0x54a97d=_0xeed7de[_0x11d1ae(0xb1)][_0x11d1ae(0x18f)](this[_0x11d1ae(0x18b)]);_0x54a97d&&_0x54a97d[_0x11d1ae(0xf8)]>0x1?_0x4a0ec6[_0x11d1ae(0x9c)]():this[_0x11d1ae(0x18c)](_0xeed7de,_0x11d1ae(0x146)+this[_0x11d1ae(0x18b)],()=>{const _0x454de4=_0x11d1ae;0x2===_0xeed7de[_0x454de4(0xb1)][_0x454de4(0x18f)](this[_0x454de4(0x18b)])[_0x454de4(0xf8)]&&_0x4a0ec6[_0x454de4(0x9c)]();});}async[_0x2a26a5(0x105)](_0x2754fa,_0x100a05,_0x42e004,_0x30db4b){const _0x43f9b2=_0x2a26a5;if(!this[_0x43f9b2(0xa2)]&&this[_0x43f9b2(0x16c)][_0x43f9b2(0xc7)]==_0x100a05){const _0x31d4dd=this[_0x43f9b2(0xcf)](_0x42e004,_0x30db4b);await this[_0x43f9b2(0x9b)](_0x31d4dd),this[_0x43f9b2(0x16f)](_0x31d4dd,_0x100a05,_0x42e004[_0x43f9b2(0x183)])||this[_0x43f9b2(0xa8)](_0x43f9b2(0x16d));}}async[_0x2a26a5(0x171)](){const _0x711485=_0x2a26a5;this[_0x711485(0x150)]();const {locale:_0x3a7acc}=this[_0x711485(0x15c)];let _0x1606e4;try{_0x1606e4=await this[_0x711485(0xc6)][_0x711485(0x15b)]();}catch(_0x44dc3e){const _0x4f7dad=_0x4cb707(_0x3a7acc,_0x711485(0xff));return void this[_0x711485(0x9d)](_0x4f7dad);}const _0x542803=_0x1606e4[_0x711485(0xe4)]||_0x1606e4[_0x711485(0xb3)];if(this[_0x711485(0x157)]===_0x542803[_0x711485(0x183)])await this[_0x711485(0x10f)](this[_0x711485(0x15c)][_0x711485(0x12c)][_0x711485(0xc4)][_0x711485(0x13f)][_0x711485(0x177)](),!0x0);else{const _0x4516b2=_0x4cb707(_0x3a7acc,_0x711485(0x10a));this[_0x711485(0x9d)](_0x4516b2);}}[_0x2a26a5(0x150)](){const _0x102ef5=_0x2a26a5;this[_0x102ef5(0xc6)][_0x102ef5(0xe8)](),this[_0x102ef5(0xb7)]=[],clearTimeout(this[_0x102ef5(0x14b)]),this[_0x102ef5(0x13b)](this[_0x102ef5(0xc6)]);}[_0x2a26a5(0x10c)](_0x229b37){const _0x211d13=_0x2a26a5,_0x92a025=this[_0x211d13(0x15c)][_0x211d13(0x113)][_0x211d13(0x18f)](_0xa885ba);this[_0x211d13(0x18c)](_0x92a025,_0x211d13(0x146)+this[_0x211d13(0x18b)],(_0x1925e3,{session:_0x101829})=>{const _0x19e35c=_0x211d13;if(_0x101829['id']===_0x92a025[_0x19e35c(0xa6)]){_0x1925e3[_0x19e35c(0xc8)]();const _0xf975c3=this[_0x19e35c(0x15c)][_0x19e35c(0x113)][_0x19e35c(0x130)](_0x19e35c(0x162))&&this[_0x19e35c(0x15c)][_0x19e35c(0x113)][_0x19e35c(0x18f)](_0x19e35c(0x162));let _0x4969e3=_0x101829[_0x19e35c(0x15f)];_0xf975c3&&_0xf975c3[_0x19e35c(0xbc)]&&(_0x4969e3=_0x4969e3[_0x19e35c(0xd6)](_0x702f7a=>_0x19e35c(0x197)!==_0x702f7a)),this[_0x19e35c(0x15c)][_0x19e35c(0x113)][_0x19e35c(0x18f)](_0x19e35c(0x137))[_0x19e35c(0x186)](_0x4969e3,this[_0x19e35c(0x18b)]);}}),_0x92a025[_0x211d13(0x106)](this[_0x211d13(0x18b)],_0x229b37);}[_0x2a26a5(0xd2)](){const _0x3ad90a=_0x2a26a5,_0x5bc71e=this[_0x3ad90a(0x15c)][_0x3ad90a(0xaf)][_0x3ad90a(0xd7)];this[_0x3ad90a(0x15c)][_0x3ad90a(0xaf)][_0x3ad90a(0xd7)]=(..._0x17ef92)=>{const _0x769201=_0x3ad90a;if(!_0x17ef92[_0x17ef92[_0x769201(0xf8)]-0x1][_0x769201(0x14e)])throw new _0x413a0a(_0x769201(0xa5),this);_0x5bc71e[_0x769201(0x164)](this[_0x769201(0x15c)][_0x769201(0xaf)],_0x17ef92);};}[_0x2a26a5(0x178)](){const _0x151655=_0x2a26a5;this[_0x151655(0x15c)][_0x151655(0xaf)]['on'](_0x151655(0x134),(_0x4d4136,[_0x5cd262])=>{const _0x5d6723=_0x151655;if(this[_0x5d6723(0x16c)][_0x5d6723(0xc7)])throw new _0x413a0a(_0x5d6723(0x100),this);_0x4d4136[_0x5d6723(0x191)](),this[_0x5d6723(0x19d)]();const _0x5a9c52=this[_0x5d6723(0x15c)][_0x5d6723(0x125)][_0x5d6723(0x18f)](_0x5d6723(0xd8)),_0x529ddc=this[_0x5d6723(0x15e)](_0x5cd262,_0x5a9c52);0x0==_0x529ddc[_0x5d6723(0xf8)]&&_0x529ddc[_0x5d6723(0xce)](new _0x1b2699(0x0)),_0x4d4136[_0x5d6723(0x118)]=this[_0x5d6723(0x10f)](_0x529ddc)[_0x5d6723(0xeb)](()=>{const _0x5654e6=_0x5d6723;this[_0x5654e6(0x15c)][_0x5654e6(0x113)][_0x5654e6(0x18f)](_0x1e87a2)[_0x5654e6(0x135)](this),this[_0x5654e6(0x15c)][_0x5654e6(0xaf)][_0x5654e6(0x110)](_0x5654e6(0xa1));})[_0x5d6723(0xb9)](_0x4611e9=>this[_0x5d6723(0xa8)](_0x5d6723(0x168),_0x4611e9))[_0x5d6723(0x18e)](()=>this[_0x5d6723(0xf7)]());},{'priority':_0x151655(0x153)}),this[_0x151655(0x15c)]['on'](_0x151655(0x10d),async(_0x552d6f,[_0x814ccb,_0x441ccc])=>{const _0x170e06=_0x151655;_0x552d6f[_0x170e06(0x191)]();const _0x133d8a=this[_0x170e06(0x15c)][_0x170e06(0x12c)][_0x170e06(0xc4)][_0x170e06(0xca)](_0x814ccb);if(!this[_0x170e06(0x182)][_0x170e06(0x130)](_0x814ccb)){const _0x5ef175=_0x441ccc&&_0x441ccc[_0x170e06(0xaf)]?_0x441ccc[_0x170e06(0xaf)]:'',_0xb22854=_0x441ccc&&_0x441ccc[_0x170e06(0x13a)]?_0x441ccc[_0x170e06(0x13a)]:{};await this[_0x170e06(0x172)](_0x814ccb,_0x5ef175,_0xb22854);}this[_0x170e06(0x15c)][_0x170e06(0x12c)][_0x170e06(0x18a)]({'isUndoable':!0x1},()=>{const _0x3693a1=_0x170e06;_0x133d8a[_0x3693a1(0x14d)]=!0x0,this[_0x3693a1(0x15c)][_0x3693a1(0x12c)][_0x3693a1(0xc4)][_0x3693a1(0xd0)][_0x3693a1(0xe2)](_0x133d8a);});},{'priority':_0x151655(0x153)});}async[_0x2a26a5(0x9b)](_0x100d7c){const _0xa5c222=_0x2a26a5,_0xff03ae=this[_0xa5c222(0x15c)][_0xa5c222(0x113)][_0xa5c222(0x18f)](_0x251494),{connection:_0x57ed6c}=this[_0xa5c222(0x15c)][_0xa5c222(0x113)][_0xa5c222(0x18f)](_0x1e87a2),_0x1b2312=new Set();for(const _0x5a4664 of _0x100d7c){const _0x346ea9=_0x5a4664[_0xa5c222(0xfd)];_0x346ea9&&!_0xff03ae[_0xa5c222(0xb2)](_0x346ea9)&&_0x1b2312[_0xa5c222(0xd1)](_0x346ea9);}if(0x0===_0x1b2312[_0xa5c222(0x11f)])return;const _0x375717=await _0x55a5ab[_0xa5c222(0xac)](_0x57ed6c,Array[_0xa5c222(0x108)](_0x1b2312));for(const _0x177843 of _0x375717)_0xff03ae[_0xa5c222(0xb2)](_0x177843['id'])||_0xff03ae[_0xa5c222(0x15d)](_0x177843);}[_0x2a26a5(0x15e)](_0x3e34bd,_0x284080={}){const _0x16b4ab=_0x2a26a5,_0x3db30b=this[_0x16b4ab(0x15c)][_0x16b4ab(0x12c)],_0x1f13d9=[];let _0x56349c=0x0;const _0x161fa5=_0x16b4ab(0x120)==typeof _0x3e34bd?{'main':_0x3e34bd}:_0x3e34bd;for(const _0x1eea22 of Object[_0x16b4ab(0x9a)](_0x161fa5)){if(!this[_0x16b4ab(0x16c)][_0x16b4ab(0xdb)][_0x16b4ab(0x130)](_0x1eea22))throw new _0x413a0a(_0x16b4ab(0x17d),this);const _0x53e516=this[_0x16b4ab(0x15c)][_0x16b4ab(0xaf)][_0x16b4ab(0x17c)](_0x161fa5[_0x1eea22]),_0x507765=this[_0x16b4ab(0x16c)][_0x16b4ab(0xca)](_0x1eea22),_0x1958f1=new _0x47829d(_0x3db30b[_0x16b4ab(0x10e)](_0x507765,0x0),_0x53e516,_0x56349c++);_0x1f13d9[_0x16b4ab(0xce)](_0x1958f1);for(const [_0x4d654a,_0x22ce3c]of _0x53e516[_0x16b4ab(0xb0)]){const _0x16e363=_0x3db30b[_0x16b4ab(0xa3)](_0x3db30b[_0x16b4ab(0x12b)](_0x507765,_0x22ce3c[_0x16b4ab(0x12e)][_0x16b4ab(0xa4)][_0x16b4ab(0x19c)]()),_0x3db30b[_0x16b4ab(0x12b)](_0x507765,_0x22ce3c[_0x16b4ab(0xcc)][_0x16b4ab(0xa4)][_0x16b4ab(0x19c)]())),_0xe15640=new _0x3356d3(_0x4d654a,null,_0x16e363,_0x3db30b[_0x16b4ab(0xb0)],!0x0,_0x56349c++);_0x1f13d9[_0x16b4ab(0xce)](_0xe15640);}}if(_0x284080)for(const [_0xf16dcb,_0x491f2f]of Object[_0x16b4ab(0xa0)](_0x284080)){const _0x52e03f=_0x3db30b[_0x16b4ab(0xc4)][_0x16b4ab(0xca)](_0xf16dcb);if(!_0x52e03f)throw new _0x413a0a(_0x16b4ab(0x160),null);for(const [_0x48e148,_0x1d7258]of Object[_0x16b4ab(0xa0)](_0x491f2f))if(null!==_0x1d7258){const _0x1e8c6d=new _0x3a4561(_0x52e03f,_0x48e148,null,_0x1d7258,_0x56349c++);_0x1f13d9[_0x16b4ab(0xce)](_0x1e8c6d);}}return _0x1f13d9;}async[_0x2a26a5(0x172)](_0x459396,_0xed8a47,_0x54b685){const _0x3f8937=_0x2a26a5;this[_0x3f8937(0x15e)]({[_0x459396]:_0xed8a47},{[_0x459396]:_0x54b685})[_0x3f8937(0x173)]((_0x115c54,_0xcf42be)=>{const _0x987a0e=_0x3f8937;_0x115c54[_0x987a0e(0x127)]=this[_0x987a0e(0x16c)][_0x987a0e(0xc7)]+_0xcf42be,_0x115c54[_0x987a0e(0x107)]=!0x0,this[_0x987a0e(0x174)](_0x115c54);}),this[_0x3f8937(0xfe)](),await this[_0x3f8937(0xf5)]();}async[_0x2a26a5(0x132)](_0x32a433,_0x5df103){const _0x3abb23=_0x2a26a5;let _0x3a5d1b;this[_0x3abb23(0xbb)]=_0x32a433[_0x3abb23(0x159)];const _0x18cbce=_0x32a433[_0x3abb23(0xdc)]&&!_0x32a433[_0x3abb23(0xc9)],_0x38f838=_0x18cbce?0x0:_0x32a433[_0x3abb23(0xaf)][_0x3abb23(0x127)];if(_0x5df103[_0x3abb23(0x173)](_0x19d01f=>{const _0x410c20=_0x3abb23;_0x19d01f[_0x410c20(0x107)]=!0x0,_0x19d01f[_0x410c20(0x151)]=_0x32a433[_0x410c20(0x166)],_0x19d01f[_0x410c20(0xfd)]=null;}),_0x18cbce)_0x3a5d1b=_0x5df103,this[_0x3abb23(0x124)](_0x3a5d1b,_0x18cbce);else{if(_0x32a433[_0x3abb23(0xc9)]){const _0x14c2a3=this[_0x3abb23(0x15e)](_0x32a433[_0x3abb23(0xc9)]);this[_0x3abb23(0x16c)][_0x3abb23(0x13f)][_0x3abb23(0xc7)]=-_0x14c2a3[_0x3abb23(0xf8)],_0x14c2a3[_0x3abb23(0x173)](_0x25c585=>{const _0x84c09c=_0x3abb23;_0x25c585[_0x84c09c(0x127)]-=_0x14c2a3[_0x84c09c(0xf8)],_0x25c585[_0x84c09c(0x151)]=_0x32a433[_0x84c09c(0x166)],_0x25c585[_0x84c09c(0x107)]=!0x0,_0x25c585[_0x84c09c(0xfd)]=null;}),this[_0x3abb23(0x124)](_0x14c2a3,!0x0),this[_0x3abb23(0x147)][_0x3abb23(0xc7)]=-_0x14c2a3[_0x3abb23(0xf8)]+this[_0x3abb23(0xbb)],this[_0x3abb23(0x154)](_0x14c2a3);}this[_0x3abb23(0x16c)][_0x3abb23(0x13f)][_0x3abb23(0xc7)]=_0x38f838,_0x3a5d1b=this[_0x3abb23(0xcf)](_0x32a433[_0x3abb23(0xaf)],_0x32a433[_0x3abb23(0x198)]),await this[_0x3abb23(0x9b)](_0x3a5d1b),this[_0x3abb23(0x124)](_0x3a5d1b,_0x18cbce);}_0x32a433[_0x3abb23(0x183)]&&(this[_0x3abb23(0xe5)][_0x3abb23(0xd4)](_0x3a5d1b,_0x32a433[_0x3abb23(0x183)]),this[_0x3abb23(0x157)]=_0x32a433[_0x3abb23(0x183)]),this[_0x3abb23(0x147)][_0x3abb23(0xc7)]=_0x38f838+this[_0x3abb23(0xbb)],this[_0x3abb23(0x154)](_0x3a5d1b),_0x5df103[_0x3abb23(0xd6)](_0x22d60c=>{const _0x1eab81=_0x3abb23,_0x1245d4=this[_0x1eab81(0x17a)](_0x22d60c);return _0x1245d4&&!this[_0x1eab81(0x182)][_0x1eab81(0x130)](_0x1245d4);})[_0x3abb23(0x173)]((_0x2b0bb2,_0x4f6dc7)=>{const _0x4e0e43=_0x3abb23;_0x2b0bb2[_0x4e0e43(0x127)]=this[_0x4e0e43(0x16c)][_0x4e0e43(0xc7)]+_0x4f6dc7,this[_0x4e0e43(0x174)](_0x2b0bb2);}),this[_0x3abb23(0xe0)]()?(this[_0x3abb23(0xee)]=0x0,this[_0x3abb23(0xfe)](!0x0),await this[_0x3abb23(0xf5)]()):(this[_0x3abb23(0xa2)]=!0x1,this[_0x3abb23(0xf7)]());}[_0x2a26a5(0xa8)](_0x1f81a0,_0x9bfcde){const _0x3b2d09=_0x2a26a5,_0x2be450=_0x9bfcde&&_0x9bfcde[_0x3b2d09(0x155)];if(_0x2be450&&_0x2be450[_0x3b2d09(0x128)](_0x3b2d09(0x199)))throw _0x9bfcde;const _0x353251=this[_0x3b2d09(0x15c)][_0x3b2d09(0x113)][_0x3b2d09(0x18f)](_0x1e87a2);throw this[_0x3b2d09(0xa2)]=!0x0,_0x353251[_0x3b2d09(0xe8)](),this[_0x3b2d09(0x15c)][_0x3b2d09(0x16a)](_0x3b2d09(0x144)),new _0x413a0a(_0x1f81a0,this[_0x3b2d09(0x15c)],_0x2be450?{'originalError':_0x2be450}:void 0x0);}[_0x2a26a5(0x174)](_0x1618e0){const _0x32153c=_0x2a26a5;this[_0x32153c(0x123)][_0x32153c(0x130)](_0x1618e0)||(this[_0x32153c(0x123)][_0x32153c(0xd1)](_0x1618e0),this[_0x32153c(0xb7)][_0x32153c(0xce)](_0x1618e0),this[_0x32153c(0x170)]||_0x32153c(0x19a)==_0x1618e0[_0x32153c(0x176)]&&!_0x1618e0[_0x32153c(0x179)]||this[_0x32153c(0x19d)]());}[_0x2a26a5(0xfe)](_0x2a835d=!0x1){const _0x1d951c=_0x2a26a5;!_0x2a835d&&this[_0x1d951c(0xa2)]||(this[_0x1d951c(0xa2)]=!0x0,clearTimeout(this[_0x1d951c(0x14b)]),this[_0x1d951c(0x14b)]=setTimeout(()=>{const _0x3d0d8a=_0x1d951c;this[_0x3d0d8a(0xbe)]()[_0x3d0d8a(0xeb)](_0x3dc68d=>{const _0x2e0c29=_0x3d0d8a;_0x3dc68d&&(this[_0x2e0c29(0xf7)](),this[_0x2e0c29(0xa2)]=!0x1);})[_0x3d0d8a(0xb9)](_0x336259=>{const _0x3af520=_0x3d0d8a;this[_0x3af520(0xf7)](),this[_0x3af520(0xa2)]=!0x1,function(_0xcb7c34){const _0x150816=_0x3af520;return _0xcb7c34[_0x150816(0x155)][_0x150816(0x128)](_0x150816(0xec))||_0xcb7c34[_0x150816(0x155)][_0x150816(0x128)](_0x150816(0xba))||_0xcb7c34[_0x150816(0x155)][_0x150816(0x128)](_0x150816(0xf1));}(_0x336259)||this[_0x3af520(0xa8)](_0x336259[_0x3af520(0x155)],_0x336259);});},this[_0x1d951c(0xee)]));}[_0x2a26a5(0xf5)](){return new Promise(_0x16d3bf=>{const _0x4876c9=_0x305b;this['on'](_0x4876c9(0xd9),()=>{_0x16d3bf();});});}async[_0x2a26a5(0xbe)](){const _0x590899=_0x2a26a5,_0x199a99=this[_0x590899(0x15c)][_0x590899(0x113)][_0x590899(0x18f)](_0x4b407c);if(this[_0x590899(0x119)]()&&(_0x199a99[_0x590899(0x9c)](),this[_0x590899(0x140)]=!0x1),!this[_0x590899(0xe0)]())return!0x0;const _0x152843=[...this[_0x590899(0xb7)]];for(const _0x3424a8 of _0x152843)_0x3424a8[_0x590899(0xc2)]=this[_0x590899(0x16c)][_0x590899(0x13f)][_0x590899(0xf4)](_0x3424a8);const _0x26bced=this[_0x590899(0xe5)][_0x590899(0x104)](_0x152843),_0x51ed6d=K++,_0x11ec09=this[_0x590899(0x117)](_0x152843),_0x2b19ec=await this[_0x590899(0xc6)][_0x590899(0xc0)](_0x11ec09,_0x11ec09[_0x590899(0x127)],_0x26bced);try{return await this[_0x590899(0xb6)](_0x152843,_0x2b19ec,_0x51ed6d);}catch(_0x1dd7c7){return this[_0x590899(0xa8)](_0x590899(0x185),_0x1dd7c7);}}async[_0x2a26a5(0xb6)](_0x4e01eb,_0x569e7e,_0x43c0c1){const _0xcc899f=_0x2a26a5;if(_0xcc899f(0xfc)in _0x569e7e)throw _0x569e7e[_0xcc899f(0xfc)];let _0x50fc9e=!0x1;if(_0x569e7e[_0xcc899f(0xdc)]){_0x569e7e[_0xcc899f(0x183)]&&(this[_0xcc899f(0x157)]=_0x569e7e[_0xcc899f(0x183)]),this[_0xcc899f(0xb7)]=this[_0xcc899f(0xb7)][_0xcc899f(0xd6)](_0x132eef=>!_0x4e01eb[_0xcc899f(0xc5)](_0x132eef));for(const _0x265310 of _0x4e01eb)_0x265310[_0xcc899f(0x151)]=_0xcc899f(0x11a)in _0x569e7e&&_0x569e7e[_0xcc899f(0x11a)]||void 0x0;Q(_0x4e01eb,_0x569e7e[_0xcc899f(0xc7)]-_0x4e01eb[_0xcc899f(0xf8)]),this[_0xcc899f(0x154)](_0x4e01eb);const _0x1d5968=_0x4e01eb[_0xcc899f(0xd6)](_0x16bc58=>{const _0x38fcca=_0xcc899f;if(!_0x16bc58[_0x38fcca(0x107)])return!0x1;const _0x1c102d=this[_0x38fcca(0x17a)](_0x16bc58);return _0x1c102d&&!this[_0x38fcca(0x182)][_0x38fcca(0x130)](_0x1c102d);});Q(_0x1d5968,this[_0xcc899f(0x16c)][_0xcc899f(0xc7)]),this[_0xcc899f(0x124)](_0x1d5968),_0x50fc9e=!0x0,this[_0xcc899f(0xee)]=this[_0xcc899f(0xe6)];}else{const _0x18142f=this[_0xcc899f(0xcf)](_0x569e7e[_0xcc899f(0xaf)],_0x569e7e[_0xcc899f(0x198)])[_0xcc899f(0xd6)](_0x7b1299=>_0x7b1299[_0xcc899f(0x127)]>=this[_0xcc899f(0x193)]);_0x18142f[_0xcc899f(0x173)](_0x1748af=>this[_0xcc899f(0x14c)](_0x1748af)),this[_0xcc899f(0xb7)]=this[_0xcc899f(0xb7)][_0xcc899f(0xd6)](_0x293fd4=>!_0x293fd4[_0xcc899f(0x107)]||!this[_0xcc899f(0x182)][_0xcc899f(0x130)](this[_0xcc899f(0x17a)](_0x293fd4))),this[_0xcc899f(0xb7)][_0xcc899f(0xf8)]&&Q(this[_0xcc899f(0xb7)],this[_0xcc899f(0xb7)][0x0][_0xcc899f(0x127)]),await this[_0xcc899f(0x9b)](_0x18142f),_0x50fc9e=this[_0xcc899f(0x16f)](_0x18142f,_0x569e7e[_0xcc899f(0xc7)],_0x569e7e[_0xcc899f(0x183)]),this[_0xcc899f(0xee)]=Math[_0xcc899f(0x10b)](this[_0xcc899f(0xee)]/0x2);}return _0x50fc9e?!this[_0xcc899f(0xe0)]()||(this[_0xcc899f(0xfe)](!0x0),!0x1):this[_0xcc899f(0xa8)](_0xcc899f(0x139));}[_0x2a26a5(0x16f)](_0x18b374,_0x216134,_0x5cba91){const _0x87284d=_0x2a26a5;try{const _0x271cf2={'document':this[_0x87284d(0x16c)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x5620f8,operationsB:_0x32b0de,originalOperations:_0x4ecec6}=_0x17f89a(_0x18b374,this[_0x87284d(0xb7)],_0x271cf2);Q(_0x5620f8,this[_0x87284d(0x16c)][_0x87284d(0xc7)]),Q(_0x32b0de,_0x216134);for(const _0x41e400 of _0x5620f8){const _0x462c34=_0x4ecec6[_0x87284d(0x18f)](_0x41e400);_0x41e400[_0x87284d(0xfd)]=_0x462c34?_0x462c34[_0x87284d(0xfd)]:null;}_0x5cba91&&(this[_0x87284d(0xe5)][_0x87284d(0xd4)](_0x18b374,_0x5cba91),this[_0x87284d(0x157)]=_0x5cba91),this[_0x87284d(0xb7)]=[..._0x32b0de],this[_0x87284d(0x124)](_0x5620f8),this[_0x87284d(0x154)](_0x18b374);}catch(_0x1eade0){return console[_0x87284d(0xfc)](_0x1eade0),!0x1;}return!0x0;}[_0x2a26a5(0x124)](_0x238372,_0x2e9ad8=!0x1){const _0x2be1d5=_0x2a26a5;this[_0x2be1d5(0x15c)][_0x2be1d5(0x12c)][_0x2be1d5(0x18a)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1fe744=>{const _0x3c7120=_0x2be1d5;for(const _0x4c07f6 of _0x238372)this[_0x3c7120(0x123)][_0x3c7120(0xd1)](_0x4c07f6),this[_0x3c7120(0x14c)](_0x4c07f6),_0x1fe744[_0x3c7120(0xfb)][_0x3c7120(0x13c)](_0x4c07f6),this[_0x3c7120(0x15c)][_0x3c7120(0x12c)][_0x3c7120(0x165)](_0x4c07f6);});}[_0x2a26a5(0x14c)](_0x45f6fb){const _0x566054=_0x2a26a5,_0x4ba06f=this[_0x566054(0x17a)](_0x45f6fb);_0x4ba06f&&this[_0x566054(0x182)][_0x566054(0xd1)](_0x4ba06f);}[_0x2a26a5(0x17a)](_0x5426d0){const _0x14840b=_0x2a26a5;let _0x234aab,_0x2dbb59;switch(_0x5426d0[_0x14840b(0x176)]){case _0x14840b(0xe3):_0x234aab=_0x5426d0[_0x14840b(0x194)][_0x14840b(0x13e)];break;case _0x14840b(0x19a):if(_0x2dbb59=_0x5426d0[_0x14840b(0x11d)],!_0x2dbb59)return null;_0x234aab=_0x2dbb59[_0x14840b(0x13e)];break;case _0x14840b(0xa7):_0x234aab=_0x5426d0[_0x14840b(0x13e)];break;case _0x14840b(0xde):_0x234aab=_0x5426d0[_0x14840b(0x188)];break;case _0x14840b(0x195):_0x234aab=_0x5426d0[_0x14840b(0x163)][_0x14840b(0x13e)];break;default:return null;}return _0x234aab[_0x14840b(0x14a)];}[_0x2a26a5(0x154)](_0x3c0820){const _0x533f15=_0x2a26a5;_0x3c0820[_0x533f15(0x173)](_0x54bf52=>{const _0x3157d8=_0x533f15,_0x1e6bfa=_0x54bf52[_0x3157d8(0xd3)]();_0x1e6bfa[_0x3157d8(0xfd)]=_0x54bf52[_0x3157d8(0xfd)],_0x1e6bfa[_0x3157d8(0x107)]=!!_0x54bf52[_0x3157d8(0x107)],_0x1e6bfa[_0x3157d8(0x151)]=_0x54bf52[_0x3157d8(0x151)],_0x1e6bfa[_0x3157d8(0x127)]+=this[_0x3157d8(0xbb)],_0x54bf52[_0x3157d8(0xfa)]&&this[_0x3157d8(0x115)][_0x3157d8(0xd1)](_0x1e6bfa),this[_0x3157d8(0x147)][_0x3157d8(0x13c)](_0x1e6bfa);});}[_0x2a26a5(0x9d)](_0x4b74d3){const _0x107d92=_0x2a26a5,_0xb82db5=this[_0x107d92(0x15c)][_0x107d92(0x113)][_0x107d92(0x18f)](_0x107d92(0xda)),_0x16e51f=this[_0x107d92(0x15c)][_0x107d92(0x149)];_0x4b74d3||(_0x4b74d3=_0x4cb707(_0x16e51f,_0x107d92(0x138))),_0xb82db5[_0x107d92(0x102)](_0x4b74d3,{'title':_0x4cb707(_0x16e51f,_0x107d92(0xc3)),'namespace':_0x107d92(0x190)}),this[_0x107d92(0xa9)]=!0x0,clearTimeout(this[_0x107d92(0x14b)]),this[_0x107d92(0xb7)]=[],this[_0x107d92(0x15c)][_0x107d92(0x113)][_0x107d92(0x18f)](_0x1e87a2)[_0x107d92(0xe8)]();}[_0x2a26a5(0x19d)](){const _0x284f70=_0x2a26a5;this[_0x284f70(0x170)]||(this[_0x284f70(0x170)]=this[_0x284f70(0x15c)][_0x284f70(0x113)][_0x284f70(0x18f)](_0xe8d8cc)[_0x284f70(0xd1)](_0x4cb707(this[_0x284f70(0x15c)][_0x284f70(0x149)],_0x284f70(0x187))));}[_0x2a26a5(0xf7)](){const _0x34eabe=_0x2a26a5;this[_0x34eabe(0x170)]&&(this[_0x34eabe(0x15c)][_0x34eabe(0x113)][_0x34eabe(0x18f)](_0xe8d8cc)[_0x34eabe(0xed)](this[_0x34eabe(0x170)]),this[_0x34eabe(0x170)]=null);}[_0x2a26a5(0x117)](_0x48e0b6){const _0x30c8e6=_0x2a26a5,_0x53964b=_0x48e0b6[_0x30c8e6(0xae)](_0x45e0f4=>_0x45e0f4[_0x30c8e6(0x112)]());return this[_0x30c8e6(0x126)][_0x30c8e6(0x12a)](_0x53964b);}[_0x2a26a5(0xcf)](_0x1ead6d,_0x32fdf8){const _0x462b9d=_0x2a26a5;return this[_0x462b9d(0x126)][_0x462b9d(0x103)](_0x1ead6d)[_0x462b9d(0xae)]((_0x5cf7c5,_0x3bcc64)=>{const _0x53605f=_0x462b9d,_0xcf9a02=_0x53605f(0x134)==_0x32fdf8[_0x3bcc64][_0x53605f(0x176)];if(_0x53605f(0xf6)==_0x5cf7c5[_0x53605f(0xcd)]){const _0x383ed5=_0x5cf7c5[_0x53605f(0x194)][_0x53605f(0x13e)];!this[_0x53605f(0x16c)][_0x53605f(0xca)](_0x383ed5)&&(this[_0x53605f(0x16c)][_0x53605f(0x142)](_0x53605f(0xb5),_0x383ed5)[_0x53605f(0x169)]=!0x1);}const _0x30c66c=_0x322065[_0x53605f(0x122)](_0x5cf7c5,this[_0x53605f(0x16c)]);return _0x30c66c[_0x53605f(0xc2)]=_0x5cf7c5[_0x53605f(0xc2)],_0x30c66c[_0x53605f(0x107)]=_0xcf9a02,_0x30c66c[_0x53605f(0xfd)]=_0xcf9a02?null:_0x32fdf8[_0x3bcc64][_0x53605f(0x13d)],_0x30c66c[_0x53605f(0xfa)]=_0x53605f(0x161)===_0x32fdf8[_0x3bcc64][_0x53605f(0x176)],_0x30c66c[_0x53605f(0x151)]=_0x32fdf8[_0x3bcc64][_0x53605f(0x151)],_0x30c66c;});}[_0x2a26a5(0x19f)](){const _0x239547=_0x2a26a5;this[_0x239547(0x140)]=!0x0,this[_0x239547(0x119)]()?this[_0x239547(0xfe)]():this[_0x239547(0x140)]=!0x1;}[_0x2a26a5(0x119)](){const _0x5b7c86=_0x2a26a5,_0xfec4ae=this[_0x5b7c86(0x15c)][_0x5b7c86(0x113)][_0x5b7c86(0x18f)](_0xa885ba)[_0x5b7c86(0xb1)][_0x5b7c86(0x18f)](this[_0x5b7c86(0x18b)]);return!this[_0x5b7c86(0x15c)][_0x5b7c86(0xab)]&&!!_0xfec4ae&&_0xfec4ae[_0x5b7c86(0xf8)]>0x1&&this[_0x5b7c86(0x140)];}[_0x2a26a5(0xe0)](){const _0x57fc04=_0x2a26a5;return this[_0x57fc04(0xb7)][_0x57fc04(0xf8)]>0x0||this[_0x57fc04(0x119)]();}}l[_0x2a26a5(0xe9)]=_0xee7362;export default l;class J extends Error{}function Q(_0x5c68d7,_0x4d4885){const _0x5740eb=_0x2a26a5;for(const _0x1f6662 of _0x5c68d7)_0x1f6662[_0x5740eb(0x127)]=_0x4d4885++;}class X{constructor(_0x1fa3e6){const _0xcadfaf=_0x2a26a5;this[_0xcadfaf(0x116)]=_0x1fa3e6,this[_0xcadfaf(0x145)]=new WeakMap();}[_0x2a26a5(0x104)](_0x133168){const _0x3b5847=_0x2a26a5;let _0x44c8d0=_0x133168[_0x3b5847(0xf8)];for(;_0x44c8d0--;){const _0x33f8ca=_0x133168[_0x44c8d0];if(!this[_0x3b5847(0x116)][_0x3b5847(0x130)](_0x33f8ca)){if(!this[_0x3b5847(0x145)][_0x3b5847(0x130)](_0x33f8ca)){const _0x194748=_0x5cb80c()[_0x3b5847(0x19c)](0x1,0x12);this[_0x3b5847(0x145)][_0x3b5847(0xd7)](_0x33f8ca,_0x194748);}return this[_0x3b5847(0x145)][_0x3b5847(0x18f)](_0x33f8ca);}}}[_0x2a26a5(0xd4)](_0x84b9ba,_0x4a0e58){const _0x3e389c=_0x2a26a5;if(!_0x4a0e58)return;let _0x48be0f=_0x84b9ba[_0x3e389c(0xf8)];for(;_0x48be0f--;){const _0x3241f6=_0x84b9ba[_0x48be0f];this[_0x3e389c(0x116)][_0x3e389c(0x130)](_0x3241f6)||this[_0x3e389c(0x145)][_0x3e389c(0xd7)](_0x3241f6,_0x4a0e58);}}}
|
|
23
|
+
const _0x291f8c=_0x5539;(function(_0x21f0ac,_0x477ba5){const _0x164943=_0x5539,_0x3686d3=_0x21f0ac();while(!![]){try{const _0x98c9a0=parseInt(_0x164943(0x18c))/0x1*(-parseInt(_0x164943(0x10e))/0x2)+parseInt(_0x164943(0x19e))/0x3+parseInt(_0x164943(0xe3))/0x4*(-parseInt(_0x164943(0xcf))/0x5)+parseInt(_0x164943(0x151))/0x6*(-parseInt(_0x164943(0x192))/0x7)+-parseInt(_0x164943(0xd1))/0x8+parseInt(_0x164943(0x1be))/0x9+parseInt(_0x164943(0x18d))/0xa;if(_0x98c9a0===_0x477ba5)break;else _0x3686d3['push'](_0x3686d3['shift']());}catch(_0x4b36d4){_0x3686d3['push'](_0x3686d3['shift']());}}}(_0x41a1,0xa6e74));import{Plugin as _0x3fec6f,PendingActions as _0x5ea4fa}from'ckeditor5/src/core.js';import{CKEditorError as _0x29c926,version as _0x153d64,uid as _0x225b75}from'ckeditor5/src/utils.js';function _0x5539(_0x3e55bd,_0x1f7951){const _0x41a1cc=_0x41a1();return _0x5539=function(_0x553975,_0x29e46d){_0x553975=_0x553975-0xc1;let _0x539163=_0x41a1cc[_0x553975];return _0x539163;},_0x5539(_0x3e55bd,_0x1f7951);}import{Notification as _0x57b113}from'ckeditor5/src/ui.js';import{transformSets as _0x79e66e,NoOperation as _0x30979b,InsertOperation as _0xcc76f,MarkerOperation as _0x911d8c,RootAttributeOperation as _0x6200fb,OperationFactory as _0x216516,History as _0x43035c}from'ckeditor5/src/engine.js';import _0x452966 from'./websocketgateway.js';import _0x51922d from'./sessions.js';import _0x38e319 from'./usermarkers.js';import{getTranslation as _0xfd2789}from'../common-translations.js';import{Compressor as _0x1578c1}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0xae4b56}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x5db5c8,CollaborativeEditingService as _0x1c2738}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x3fec6f{static get[_0x291f8c(0x1b1)](){return[_0x452966,_0x51922d,_0x38e319,_0x5ea4fa,_0xae4b56,_0x57b113];}static get[_0x291f8c(0x1b8)](){const _0x36f440=_0x291f8c;return _0x36f440(0xde);}static get[_0x291f8c(0x172)](){return!0x0;}static get[_0x291f8c(0xc9)](){return!0x0;}get[_0x291f8c(0x12e)](){const _0x2dae91=_0x291f8c;return this[_0x2dae91(0x181)]+this[_0x2dae91(0x197)];}get[_0x291f8c(0x181)](){const _0x3e085a=_0x291f8c;return this[_0x3e085a(0x167)][_0x3e085a(0x177)]-this[_0x3e085a(0x197)];}get[_0x291f8c(0x1b9)](){const _0x1018de=_0x291f8c,_0x19b0fc=this[_0x1018de(0x167)][_0x1018de(0x1a0)]();for(let _0x3cf8f7=_0x19b0fc[_0x1018de(0x15c)]-0x1;_0x3cf8f7>=0x0;_0x3cf8f7--){const _0x3b82ee=_0x19b0fc[_0x3cf8f7];if(!this[_0x1018de(0x1c5)][_0x1018de(0x1ba)](_0x3b82ee))return _0x3b82ee[_0x1018de(0xc6)]+0x1-this[_0x1018de(0x197)];}return 0x0;}constructor(_0x36e18e){const _0x48be40=_0x291f8c;if(super(_0x36e18e),this[_0x48be40(0x197)]=0x0,this[_0x48be40(0xf1)]=null,this[_0x48be40(0x167)]=new _0x43035c(),this[_0x48be40(0x13a)][_0x48be40(0x18a)][_0x48be40(0x159)](_0x48be40(0x19d),{}),this[_0x48be40(0x14c)]=this[_0x48be40(0x13a)][_0x48be40(0x18a)][_0x48be40(0x176)](_0x48be40(0x1c6)),!this[_0x48be40(0x14c)])throw new _0x29c926(_0x48be40(0x17c),this);const _0x163825=_0x36e18e[_0x48be40(0x18a)][_0x48be40(0x176)](_0x48be40(0x16d))||_0x153d64;this[_0x48be40(0xcd)]=new l[(_0x48be40(0x12a))](_0x163825,this[_0x48be40(0x14c)]),this[_0x48be40(0xe7)]=this[_0x48be40(0x13a)][_0x48be40(0x183)][_0x48be40(0xc2)],this[_0x48be40(0x158)]=new _0x1578c1(),this[_0x48be40(0xd7)]=[],this[_0x48be40(0x18e)]=new WeakSet(),this[_0x48be40(0x121)]=new Set(),this[_0x48be40(0x170)](_0x48be40(0x12d),!0x1),this[_0x48be40(0x170)](_0x48be40(0x132),!0x1),this[_0x48be40(0x117)]=null,this[_0x48be40(0xf5)]=!0x1,this[_0x48be40(0x198)]=null,this[_0x48be40(0x135)]=0x12c,this[_0x48be40(0x16a)]=this[_0x48be40(0x135)],this[_0x48be40(0xdd)]=null,this[_0x48be40(0x1c5)]=new WeakSet(),this[_0x48be40(0x102)]=new X(this[_0x48be40(0x1c5)]);}[_0x291f8c(0x105)](){const _0x4d6842=_0x291f8c,_0x21618c=this[_0x4d6842(0x13a)],_0x11dc27=_0x21618c[_0x4d6842(0xd4)][_0x4d6842(0x176)](_0xae4b56),_0x3985e9=_0x21618c[_0x4d6842(0xd4)][_0x4d6842(0x176)](_0x452966);this[_0x4d6842(0xd5)](_0x11dc27,_0x4d6842(0x139),(_0x17a6c6,_0x579674)=>{const _0x550ce7=_0x4d6842,_0x583473=_0x579674[0x0];_0x583473[_0x550ce7(0x155)]&&(_0x17a6c6[_0x550ce7(0x15e)]=_0x11dc27[_0x550ce7(0x163)](_0x583473[_0x550ce7(0x155)]),_0x17a6c6[_0x550ce7(0x14e)]()),null===_0x583473[_0x550ce7(0x155)]&&(_0x17a6c6[_0x550ce7(0x15e)]=null,_0x17a6c6[_0x550ce7(0x14e)]());},{'priority':_0x4d6842(0x1af)}),this[_0x4d6842(0xd5)](_0x21618c[_0x4d6842(0x183)][_0x4d6842(0xc2)][_0x4d6842(0x19b)],_0x4d6842(0x1c1),(_0x14362b,_0x116abc)=>{const _0x59a658=_0x4d6842;_0x116abc[_0x59a658(0x15f)]&&this[_0x59a658(0x14f)]();}),this[_0x4d6842(0xd5)](_0x21618c[_0x4d6842(0x17a)][_0x4d6842(0xe4)],_0x4d6842(0x1a3),()=>{const _0x1472ef=_0x4d6842;this[_0x1472ef(0x14f)]();}),this[_0x4d6842(0x145)](),_0x21618c[_0x4d6842(0x183)]['on'](_0x4d6842(0x191),(_0x3a8417,_0x7f8464)=>{const _0x5a6db5=_0x4d6842,_0x9ac666=_0x7f8464[0x0];_0x9ac666[_0x5a6db5(0x1a6)]&&(this[_0x5a6db5(0xec)](_0x9ac666),this[_0x5a6db5(0x161)]()&&this[_0x5a6db5(0x12f)]());}),this[_0x4d6842(0x130)](),this[_0x4d6842(0xf9)](_0x4d6842(0x186))['to'](_0x3985e9,_0x4d6842(0x11f),this,_0x4d6842(0x132),(_0x392127,_0x5e3e73)=>_0x4d6842(0x1ab)===_0x392127&&!_0x5e3e73),this['on'](_0x4d6842(0x126),()=>{const _0x1ce949=_0x4d6842;this[_0x1ce949(0x186)]?_0x21618c[_0x1ce949(0x11e)](_0x1ce949(0x108)):_0x21618c[_0x1ce949(0x109)](_0x1ce949(0x108));}),this[_0x4d6842(0x186)]?_0x21618c[_0x4d6842(0x11e)](_0x4d6842(0x108)):_0x21618c[_0x4d6842(0x109)](_0x4d6842(0x108)),this[_0x4d6842(0x170)](_0x4d6842(0x1b4),!0x1);}async[_0x291f8c(0xe8)](){const _0x44147d=_0x291f8c,_0x565914=this[_0x44147d(0x13a)][_0x44147d(0xd4)][_0x44147d(0x176)](_0x51922d),_0x3ff6cd=this[_0x44147d(0x13a)][_0x44147d(0xd4)][_0x44147d(0x176)](_0x452966);try{this[_0x44147d(0x12d)]=!0x0,_0x565914[_0x44147d(0xe6)](this[_0x44147d(0x14c)]);const _0x5926b1=await this[_0x44147d(0xcd)][_0x44147d(0xe8)](_0x3ff6cd[_0x44147d(0x165)],this[_0x44147d(0x1b9)]);await this[_0x44147d(0x162)](_0x5926b1)&&(this[_0x44147d(0x12d)]=!0x1,this[_0x44147d(0x13e)]());const _0x258f50=await this[_0x44147d(0xcd)][_0x44147d(0x16c)]();_0x565914[_0x44147d(0x15a)](this[_0x44147d(0x14c)],_0x258f50),this[_0x44147d(0xe1)](),this[_0x44147d(0x1b4)]=!0x0;}catch(_0xd766c1){if(function(_0x341b90){const _0x117099=_0x44147d;return _0x117099(0xc5)===_0x341b90[_0x117099(0x143)];}(_0xd766c1)&&this[_0x44147d(0xf1)])await this[_0x44147d(0xe5)]();else{if(function(_0x2acb15){const _0x4415cc=_0x44147d;return _0x4415cc(0x133)===_0x2acb15[_0x4415cc(0x143)];}(_0xd766c1)){const _0x1e701e=_0xfd2789(this[_0x44147d(0x13a)][_0x44147d(0xfd)],_0x44147d(0x144));this[_0x44147d(0xf0)](_0x1e701e);}else{if(!(_0xd766c1 instanceof J))throw _0xd766c1;this[_0x44147d(0xf0)]();}}}}[_0x291f8c(0x17e)](){const _0x579028=_0x291f8c,_0x2f9f2f=this[_0x579028(0x13a)][_0x579028(0xd4)][_0x579028(0x176)](_0x452966),_0x4e9fd7=this[_0x579028(0x13a)][_0x579028(0xd4)][_0x579028(0x176)](_0x51922d);this[_0x579028(0x13a)][_0x579028(0x109)](_0x579028(0x10c)),_0x4e9fd7[_0x579028(0x1c4)][_0x579028(0x1ba)](this[_0x579028(0x14c)])&&_0x4e9fd7[_0x579028(0xe6)](this[_0x579028(0x14c)]),_0x2f9f2f[_0x579028(0x10f)](this),this[_0x579028(0x17b)](),super[_0x579028(0x17e)]();}async[_0x291f8c(0x162)](_0xdc83f4){const _0x1eb140=_0x291f8c;if(this[_0x1eb140(0xf1)]!==_0xdc83f4[_0x1eb140(0xf1)]&&this[_0x1eb140(0xdd)]!==_0xdc83f4[_0x1eb140(0xcc)])throw new J();return this[_0x1eb140(0xf1)]=_0xdc83f4[_0x1eb140(0xf1)],this[_0x1eb140(0x19f)]([],{..._0xdc83f4,'wereChangesApplied':!0x1,'data':_0xdc83f4[_0x1eb140(0x178)]},_0x1eb140(0xe8));}async[_0x291f8c(0x142)](_0x11b8cd,_0x5470b5=!0x1){const _0x47bd2d=_0x291f8c,{connection:_0x4bf196}=this[_0x47bd2d(0x13a)][_0x47bd2d(0xd4)][_0x47bd2d(0x176)](_0x452966);l[_0x47bd2d(0x12a)][_0x47bd2d(0x16c)](_0x4bf196,this[_0x47bd2d(0x14c)])[_0x47bd2d(0x150)](_0x2b6122=>this[_0x47bd2d(0x168)](_0x2b6122))[_0x47bd2d(0x190)](_0x2c48c1=>{const _0x4cb94a=_0x47bd2d;this[_0x4cb94a(0xfb)](_0x4cb94a(0x1b5),_0x2c48c1);}),this[_0x47bd2d(0xd5)](this[_0x47bd2d(0xcd)],_0x47bd2d(0x182),this[_0x47bd2d(0x129)][_0x47bd2d(0xf9)](this)),this[_0x47bd2d(0xd5)](this[_0x47bd2d(0xcd)],_0x47bd2d(0x152),(_0x31dc5f,_0x423410)=>{const _0x1c6bb9=_0x47bd2d;this[_0x1c6bb9(0xfb)](_0x1c6bb9(0x16b),_0x423410);}),this[_0x47bd2d(0xd5)](this[_0x47bd2d(0xcd)],_0x47bd2d(0x128),()=>{const _0xf79316=_0x47bd2d;this[_0xf79316(0x1b4)]=!0x1;});const _0x23c8ff=this[_0x47bd2d(0x102)][_0x47bd2d(0x171)](_0x11b8cd);this[_0x47bd2d(0x12d)]=!0x0;const _0x89b198=await this[_0x47bd2d(0xcd)][_0x47bd2d(0x137)](_0x4bf196,this[_0x47bd2d(0xe2)](_0x11b8cd),_0x23c8ff);if(this[_0x47bd2d(0xf1)]=_0x89b198[_0x47bd2d(0xf1)],_0x5470b5){if(!_0x89b198[_0x47bd2d(0x173)])return void this[_0x47bd2d(0xf0)]();this[_0x47bd2d(0x12d)]=!0x1,this[_0x47bd2d(0x13e)](),this[_0x47bd2d(0x167)][_0x47bd2d(0x1b7)](),this[_0x47bd2d(0x197)]=_0x89b198[_0x47bd2d(0xef)],this[_0x47bd2d(0x167)][_0x47bd2d(0x177)]=this[_0x47bd2d(0x197)],await this[_0x47bd2d(0x19f)](_0x11b8cd,_0x89b198,_0x47bd2d(0xdb));}else await this[_0x47bd2d(0x19a)](_0x89b198,_0x11b8cd);this[_0x47bd2d(0xe1)](),this[_0x47bd2d(0x1b4)]=!0x0;}[_0x291f8c(0xe1)](){const _0x48bfbc=_0x291f8c,_0x5007bc=this[_0x48bfbc(0x13a)][_0x48bfbc(0xd4)][_0x48bfbc(0x176)](_0x51922d),_0x349d90=this[_0x48bfbc(0x13a)][_0x48bfbc(0xd4)][_0x48bfbc(0x176)](_0x38e319),_0x51a5ac=_0x5007bc[_0x48bfbc(0x1c4)][_0x48bfbc(0x176)](this[_0x48bfbc(0x14c)]);_0x51a5ac&&_0x51a5ac[_0x48bfbc(0x15c)]>0x1?_0x349d90[_0x48bfbc(0x131)]():this[_0x48bfbc(0xd5)](_0x5007bc,_0x48bfbc(0x1ae)+this[_0x48bfbc(0x14c)],()=>{const _0x1a3ebc=_0x48bfbc;0x2===_0x5007bc[_0x1a3ebc(0x1c4)][_0x1a3ebc(0x176)](this[_0x1a3ebc(0x14c)])[_0x1a3ebc(0x15c)]&&_0x349d90[_0x1a3ebc(0x131)]();});}async[_0x291f8c(0x129)](_0x2434f6,_0x2b9901,_0x5a05b5,_0x1bb6ee){const _0x3b6bac=_0x291f8c;if(!this[_0x3b6bac(0x12d)]&&this[_0x3b6bac(0xe7)][_0x3b6bac(0x177)]==_0x2b9901){const _0x1528a5=this[_0x3b6bac(0x1a4)](_0x5a05b5,_0x1bb6ee);await this[_0x3b6bac(0x116)](_0x1528a5),this[_0x3b6bac(0xff)](_0x1528a5,_0x2b9901,_0x5a05b5[_0x3b6bac(0xcc)])||this[_0x3b6bac(0xfb)](_0x3b6bac(0xfc));}}async[_0x291f8c(0xe5)](){const _0x52d08a=_0x291f8c;this[_0x52d08a(0x17b)]();const {locale:_0x4d0044}=this[_0x52d08a(0x13a)];let _0x209601;try{_0x209601=await this[_0x52d08a(0xcd)][_0x52d08a(0x13f)]();}catch(_0xeda205){const _0x446094=_0xfd2789(_0x4d0044,_0x52d08a(0x164));return void this[_0x52d08a(0xf0)](_0x446094);}const _0xb068a9=_0x209601[_0x52d08a(0x13d)]||_0x209601[_0x52d08a(0xfe)];if(this[_0x52d08a(0xdd)]===_0xb068a9[_0x52d08a(0xcc)])await this[_0x52d08a(0x142)](this[_0x52d08a(0x13a)][_0x52d08a(0x183)][_0x52d08a(0xc2)][_0x52d08a(0xd3)][_0x52d08a(0x1a0)](),!0x0);else{const _0x4c2161=_0xfd2789(_0x4d0044,_0x52d08a(0xc4));this[_0x52d08a(0xf0)](_0x4c2161);}}[_0x291f8c(0x17b)](){const _0x494f08=_0x291f8c;this[_0x494f08(0xcd)][_0x494f08(0x1bf)](),this[_0x494f08(0xd7)]=[],clearTimeout(this[_0x494f08(0x198)]),this[_0x494f08(0x18f)](this[_0x494f08(0xcd)]);}[_0x291f8c(0x168)](_0x41e629){const _0x56804d=_0x291f8c,_0x4085f9=this[_0x56804d(0x13a)][_0x56804d(0xd4)][_0x56804d(0x176)](_0x51922d);this[_0x56804d(0xd5)](_0x4085f9,_0x56804d(0x1ae)+this[_0x56804d(0x14c)],(_0x285613,{session:_0x1cbde9})=>{const _0x11c205=_0x56804d;if(_0x1cbde9['id']===_0x4085f9[_0x11c205(0x169)]){_0x285613[_0x11c205(0x106)]();const _0xf437af=this[_0x11c205(0x13a)][_0x11c205(0xd4)][_0x11c205(0x1ba)](_0x11c205(0x140))&&this[_0x11c205(0x13a)][_0x11c205(0xd4)][_0x11c205(0x176)](_0x11c205(0x140));let _0x14419f=_0x1cbde9[_0x11c205(0x1a1)];_0xf437af&&_0xf437af[_0x11c205(0x19c)]&&(_0x14419f=_0x14419f[_0x11c205(0x146)](_0x5b41ba=>_0x11c205(0xd0)!==_0x5b41ba)),this[_0x11c205(0x13a)][_0x11c205(0xd4)][_0x11c205(0x176)](_0x11c205(0xd8))[_0x11c205(0x160)](_0x14419f,this[_0x11c205(0x14c)]);}}),_0x4085f9[_0x56804d(0x15a)](this[_0x56804d(0x14c)],_0x41e629);}[_0x291f8c(0x145)](){const _0x20d859=_0x291f8c,_0x3092a7=this[_0x20d859(0x13a)][_0x20d859(0x178)][_0x20d859(0x170)];this[_0x20d859(0x13a)][_0x20d859(0x178)][_0x20d859(0x170)]=(..._0x290e18)=>{const _0xfff904=_0x20d859;if(!_0x290e18[_0x290e18[_0xfff904(0x15c)]-0x1][_0xfff904(0x157)])throw new _0x29c926(_0xfff904(0x124),this);_0x3092a7[_0xfff904(0x18b)](this[_0xfff904(0x13a)][_0xfff904(0x178)],_0x290e18);};}[_0x291f8c(0x130)](){const _0x335b40=_0x291f8c;this[_0x335b40(0x13a)][_0x335b40(0x178)]['on'](_0x335b40(0x105),(_0x33859d,[_0x1aef77])=>{const _0xf460bc=_0x335b40;if(this[_0xf460bc(0xe7)][_0xf460bc(0x177)])throw new _0x29c926(_0xf460bc(0xeb),this);_0x33859d[_0xf460bc(0x14e)](),this[_0xf460bc(0x11d)]();const _0x3da549=this[_0xf460bc(0x13a)][_0xf460bc(0x18a)][_0xf460bc(0x176)](_0xf460bc(0x11c)),_0x482a54=this[_0xf460bc(0xc3)](_0x1aef77,_0x3da549);0x0==_0x482a54[_0xf460bc(0x15c)]&&_0x482a54[_0xf460bc(0x147)](new _0x30979b(0x0)),_0x33859d[_0xf460bc(0x15e)]=this[_0xf460bc(0x142)](_0x482a54)[_0xf460bc(0x150)](()=>{const _0x41027a=_0xf460bc;this[_0x41027a(0x13a)][_0x41027a(0xd4)][_0x41027a(0x176)](_0x452966)[_0x41027a(0xdc)](this),this[_0x41027a(0x13a)][_0x41027a(0x178)][_0x41027a(0x17f)](_0x41027a(0xce));})[_0xf460bc(0x190)](_0x50bcd1=>this[_0xf460bc(0xfb)](_0xf460bc(0x1a2),_0x50bcd1))[_0xf460bc(0x107)](()=>this[_0xf460bc(0x13e)]());},{'priority':_0x335b40(0x1af)}),this[_0x335b40(0x13a)]['on'](_0x335b40(0x1c3),async(_0x3e9a45,[_0xe2bc4b,_0x250dfb])=>{const _0x3e2cca=_0x335b40;_0x3e9a45[_0x3e2cca(0x14e)]();const _0x7e57c0=this[_0x3e2cca(0x13a)][_0x3e2cca(0x183)][_0x3e2cca(0xc2)][_0x3e2cca(0x15b)](_0xe2bc4b);if(!this[_0x3e2cca(0x121)][_0x3e2cca(0x1ba)](_0xe2bc4b)){const _0x3a342b=_0x250dfb&&_0x250dfb[_0x3e2cca(0x178)]?_0x250dfb[_0x3e2cca(0x178)]:'',_0x71f7a6=_0x250dfb&&_0x250dfb[_0x3e2cca(0xc8)]?_0x250dfb[_0x3e2cca(0xc8)]:{};await this[_0x3e2cca(0x1ad)](_0xe2bc4b,_0x3a342b,_0x71f7a6);}this[_0x3e2cca(0x13a)][_0x3e2cca(0x183)][_0x3e2cca(0xe0)]({'isUndoable':!0x1},()=>{const _0x2e0cac=_0x3e2cca;_0x7e57c0[_0x2e0cac(0x1b0)]=!0x0,this[_0x2e0cac(0x13a)][_0x2e0cac(0x183)][_0x2e0cac(0xc2)][_0x2e0cac(0x115)][_0x2e0cac(0x120)](_0x7e57c0);});},{'priority':_0x335b40(0x1af)});}async[_0x291f8c(0x116)](_0x5c6f4b){const _0x337bed=_0x291f8c,_0x1bf317=this[_0x337bed(0x13a)][_0x337bed(0xd4)][_0x337bed(0x176)](_0xae4b56),{connection:_0x5639b0}=this[_0x337bed(0x13a)][_0x337bed(0xd4)][_0x337bed(0x176)](_0x452966),_0x201638=new Set();for(const _0x48c2be of _0x5c6f4b){const _0x36e201=_0x48c2be[_0x337bed(0x155)];_0x36e201&&!_0x1bf317[_0x337bed(0x163)](_0x36e201)&&_0x201638[_0x337bed(0x136)](_0x36e201);}if(0x0===_0x201638[_0x337bed(0x114)])return;const _0x3f84f5=await _0x5db5c8[_0x337bed(0x127)](_0x5639b0,Array[_0x337bed(0x104)](_0x201638));for(const _0x191dce of _0x3f84f5)_0x1bf317[_0x337bed(0x163)](_0x191dce['id'])||_0x1bf317[_0x337bed(0x1a5)](_0x191dce);}[_0x291f8c(0xc3)](_0x45c88c,_0x7a2046={}){const _0x304727=_0x291f8c,_0x221dd1=this[_0x304727(0x13a)][_0x304727(0x183)],_0xb45533=[];let _0x34571f=0x0;const _0x5911f3=_0x304727(0x11a)==typeof _0x45c88c?{'main':_0x45c88c}:_0x45c88c;for(const _0x57fb51 of Object[_0x304727(0x1c0)](_0x5911f3)){if(!this[_0x304727(0xe7)][_0x304727(0xc7)][_0x304727(0x1ba)](_0x57fb51))throw new _0x29c926(_0x304727(0x113),this);const _0x172087=this[_0x304727(0x13a)][_0x304727(0x178)][_0x304727(0x1bb)](_0x5911f3[_0x57fb51]),_0x12ff29=this[_0x304727(0xe7)][_0x304727(0x15b)](_0x57fb51),_0x5bc925=new _0xcc76f(_0x221dd1[_0x304727(0xda)](_0x12ff29,0x0),_0x172087,_0x34571f++);_0xb45533[_0x304727(0x147)](_0x5bc925);for(const [_0xd77b7c,_0x496f6c]of _0x172087[_0x304727(0x16e)]){const _0x40c004=_0x221dd1[_0x304727(0x100)](_0x221dd1[_0x304727(0x103)](_0x12ff29,_0x496f6c[_0x304727(0x1a9)][_0x304727(0xea)][_0x304727(0x17d)]()),_0x221dd1[_0x304727(0x103)](_0x12ff29,_0x496f6c[_0x304727(0x195)][_0x304727(0xea)][_0x304727(0x17d)]())),_0x2eab10=new _0x911d8c(_0xd77b7c,null,_0x40c004,_0x221dd1[_0x304727(0x16e)],!0x0,_0x34571f++);_0xb45533[_0x304727(0x147)](_0x2eab10);}}if(_0x7a2046)for(const [_0x37738e,_0x39347e]of Object[_0x304727(0xdf)](_0x7a2046)){const _0x5d674f=_0x221dd1[_0x304727(0xc2)][_0x304727(0x15b)](_0x37738e);if(!_0x5d674f)throw new _0x29c926(_0x304727(0x188),null);for(const [_0x32a881,_0x20754f]of Object[_0x304727(0xdf)](_0x39347e))if(null!==_0x20754f){const _0x293001=new _0x6200fb(_0x5d674f,_0x32a881,null,_0x20754f,_0x34571f++);_0xb45533[_0x304727(0x147)](_0x293001);}}return _0xb45533;}async[_0x291f8c(0x1ad)](_0x5e5ae3,_0x2cea94,_0x19424a){const _0x4f5e59=_0x291f8c;this[_0x4f5e59(0xc3)]({[_0x5e5ae3]:_0x2cea94},{[_0x5e5ae3]:_0x19424a})[_0x4f5e59(0x12c)]((_0x10b9d9,_0x3ab334)=>{const _0x21742f=_0x4f5e59;_0x10b9d9[_0x21742f(0xc6)]=this[_0x21742f(0xe7)][_0x21742f(0x177)]+_0x3ab334,_0x10b9d9[_0x21742f(0xca)]=!0x0,this[_0x21742f(0xec)](_0x10b9d9);}),this[_0x4f5e59(0x12f)](),await this[_0x4f5e59(0x1aa)]();}async[_0x291f8c(0x19a)](_0xb05355,_0x29bc7d){const _0x532190=_0x291f8c;let _0x1caa97;this[_0x532190(0x197)]=_0xb05355[_0x532190(0xef)];const _0x445b2d=_0xb05355[_0x532190(0x173)]&&!_0xb05355[_0x532190(0x16f)],_0x22468c=_0x445b2d?0x0:_0xb05355[_0x532190(0x178)][_0x532190(0xc6)];if(_0x29bc7d[_0x532190(0x12c)](_0x255b4a=>{const _0x401649=_0x532190;_0x255b4a[_0x401649(0xca)]=!0x0,_0x255b4a[_0x401649(0xcb)]=_0xb05355[_0x401649(0x10d)],_0x255b4a[_0x401649(0x155)]=null;}),_0x445b2d)_0x1caa97=_0x29bc7d,this[_0x532190(0xf7)](_0x1caa97,_0x445b2d);else{if(_0xb05355[_0x532190(0x16f)]){const _0x446ae5=this[_0x532190(0xc3)](_0xb05355[_0x532190(0x16f)]);this[_0x532190(0xe7)][_0x532190(0xd3)][_0x532190(0x177)]=-_0x446ae5[_0x532190(0x15c)],_0x446ae5[_0x532190(0x12c)](_0x1b590a=>{const _0x154a6d=_0x532190;_0x1b590a[_0x154a6d(0xc6)]-=_0x446ae5[_0x154a6d(0x15c)],_0x1b590a[_0x154a6d(0xcb)]=_0xb05355[_0x154a6d(0x10d)],_0x1b590a[_0x154a6d(0xca)]=!0x0,_0x1b590a[_0x154a6d(0x155)]=null;}),this[_0x532190(0xf7)](_0x446ae5,!0x0),this[_0x532190(0x167)][_0x532190(0x177)]=-_0x446ae5[_0x532190(0x15c)]+this[_0x532190(0x197)],this[_0x532190(0xf6)](_0x446ae5);}this[_0x532190(0xe7)][_0x532190(0xd3)][_0x532190(0x177)]=_0x22468c,_0x1caa97=this[_0x532190(0x1a4)](_0xb05355[_0x532190(0x178)],_0xb05355[_0x532190(0x1bd)]),await this[_0x532190(0x116)](_0x1caa97),this[_0x532190(0xf7)](_0x1caa97,_0x445b2d);}_0xb05355[_0x532190(0xcc)]&&(this[_0x532190(0x102)][_0x532190(0xc1)](_0x1caa97,_0xb05355[_0x532190(0xcc)]),this[_0x532190(0xdd)]=_0xb05355[_0x532190(0xcc)]),this[_0x532190(0x167)][_0x532190(0x177)]=_0x22468c+this[_0x532190(0x197)],this[_0x532190(0xf6)](_0x1caa97),_0x29bc7d[_0x532190(0x146)](_0x41e9ec=>{const _0x592adb=_0x532190,_0x293066=this[_0x592adb(0x119)](_0x41e9ec);return _0x293066&&!this[_0x592adb(0x121)][_0x592adb(0x1ba)](_0x293066);})[_0x532190(0x12c)]((_0x255bde,_0x306860)=>{const _0x348a16=_0x532190;_0x255bde[_0x348a16(0xc6)]=this[_0x348a16(0xe7)][_0x348a16(0x177)]+_0x306860,this[_0x348a16(0xec)](_0x255bde);}),this[_0x532190(0x161)]()?(this[_0x532190(0x16a)]=0x0,this[_0x532190(0x12f)](!0x0),await this[_0x532190(0x1aa)]()):(this[_0x532190(0x12d)]=!0x1,this[_0x532190(0x13e)]());}[_0x291f8c(0xfb)](_0x21b2df,_0x4adb30){const _0x20e7eb=_0x291f8c,_0x2d72fe=_0x4adb30&&_0x4adb30[_0x20e7eb(0x149)];if(_0x2d72fe&&_0x2d72fe[_0x20e7eb(0x111)](_0x20e7eb(0x134)))throw _0x4adb30;const _0x2b961e=this[_0x20e7eb(0x13a)][_0x20e7eb(0xd4)][_0x20e7eb(0x176)](_0x452966);throw this[_0x20e7eb(0x12d)]=!0x0,_0x2b961e[_0x20e7eb(0x1bf)](),this[_0x20e7eb(0x13a)][_0x20e7eb(0x109)](_0x20e7eb(0x138)),new _0x29c926(_0x21b2df,this[_0x20e7eb(0x13a)],_0x2d72fe?{'originalError':_0x2d72fe}:void 0x0);}[_0x291f8c(0xec)](_0x82def0){const _0x405b15=_0x291f8c;this[_0x405b15(0x18e)][_0x405b15(0x1ba)](_0x82def0)||(this[_0x405b15(0x18e)][_0x405b15(0x136)](_0x82def0),this[_0x405b15(0xd7)][_0x405b15(0x147)](_0x82def0),this[_0x405b15(0x117)]||_0x405b15(0x10a)==_0x82def0[_0x405b15(0x1a8)]&&!_0x82def0[_0x405b15(0x154)]||this[_0x405b15(0x11d)]());}[_0x291f8c(0x12f)](_0x299a7b=!0x1){const _0x32e1f5=_0x291f8c;!_0x299a7b&&this[_0x32e1f5(0x12d)]||(this[_0x32e1f5(0x12d)]=!0x0,clearTimeout(this[_0x32e1f5(0x198)]),this[_0x32e1f5(0x198)]=setTimeout(()=>{const _0x4f2ac6=_0x32e1f5;this[_0x4f2ac6(0xd9)]()[_0x4f2ac6(0x150)](_0x701b66=>{const _0x1d5b88=_0x4f2ac6;_0x701b66&&(this[_0x1d5b88(0x13e)](),this[_0x1d5b88(0x12d)]=!0x1);})[_0x4f2ac6(0x190)](_0x20b1c1=>{const _0x31ccc8=_0x4f2ac6;this[_0x31ccc8(0x13e)](),this[_0x31ccc8(0x12d)]=!0x1,function(_0x3d916f){const _0x4858ef=_0x31ccc8;return _0x3d916f[_0x4858ef(0x149)][_0x4858ef(0x111)](_0x4858ef(0xed))||_0x3d916f[_0x4858ef(0x149)][_0x4858ef(0x111)](_0x4858ef(0xd6))||_0x3d916f[_0x4858ef(0x149)][_0x4858ef(0x111)](_0x4858ef(0x123));}(_0x20b1c1)||this[_0x31ccc8(0xfb)](_0x20b1c1[_0x31ccc8(0x149)],_0x20b1c1);});},this[_0x32e1f5(0x16a)]));}[_0x291f8c(0x1aa)](){return new Promise(_0x88a9bd=>{const _0x44eb1f=_0x5539;this['on'](_0x44eb1f(0xee),()=>{_0x88a9bd();});});}async[_0x291f8c(0xd9)](){const _0x496d59=_0x291f8c,_0x387f4e=this[_0x496d59(0x13a)][_0x496d59(0xd4)][_0x496d59(0x176)](_0x38e319);if(this[_0x496d59(0x174)]()&&(_0x387f4e[_0x496d59(0x131)](),this[_0x496d59(0xf5)]=!0x1),!this[_0x496d59(0x161)]())return!0x0;const _0x40f8a8=[...this[_0x496d59(0xd7)]];for(const _0x5143ef of _0x40f8a8)_0x5143ef[_0x496d59(0x1b2)]=this[_0x496d59(0xe7)][_0x496d59(0xd3)][_0x496d59(0x199)](_0x5143ef);const _0x28e79e=this[_0x496d59(0x102)][_0x496d59(0x171)](_0x40f8a8),_0x430c9d=K++,_0x192181=this[_0x496d59(0xe2)](_0x40f8a8),_0x1addd7=await this[_0x496d59(0xcd)][_0x496d59(0xd2)](_0x192181,_0x192181[_0x496d59(0xc6)],_0x28e79e);try{return await this[_0x496d59(0x19f)](_0x40f8a8,_0x1addd7,_0x430c9d);}catch(_0x32bcf5){return this[_0x496d59(0xfb)](_0x496d59(0x13c),_0x32bcf5);}}async[_0x291f8c(0x19f)](_0x32eb7f,_0x5dda43,_0x3f75e2){const _0x2db1d1=_0x291f8c;if(_0x2db1d1(0x152)in _0x5dda43)throw _0x5dda43[_0x2db1d1(0x152)];let _0x37fd73=!0x1;if(_0x5dda43[_0x2db1d1(0x173)]){_0x5dda43[_0x2db1d1(0xcc)]&&(this[_0x2db1d1(0xdd)]=_0x5dda43[_0x2db1d1(0xcc)]),this[_0x2db1d1(0xd7)]=this[_0x2db1d1(0xd7)][_0x2db1d1(0x146)](_0x2fb26e=>!_0x32eb7f[_0x2db1d1(0x14b)](_0x2fb26e));for(const _0x2a215b of _0x32eb7f)_0x2a215b[_0x2db1d1(0xcb)]=_0x2db1d1(0x175)in _0x5dda43&&_0x5dda43[_0x2db1d1(0x175)]||void 0x0;Q(_0x32eb7f,_0x5dda43[_0x2db1d1(0x177)]-_0x32eb7f[_0x2db1d1(0x15c)]),this[_0x2db1d1(0xf6)](_0x32eb7f);const _0x395646=_0x32eb7f[_0x2db1d1(0x146)](_0x1730e7=>{const _0x128330=_0x2db1d1;if(!_0x1730e7[_0x128330(0xca)])return!0x1;const _0x490d8d=this[_0x128330(0x119)](_0x1730e7);return _0x490d8d&&!this[_0x128330(0x121)][_0x128330(0x1ba)](_0x490d8d);});Q(_0x395646,this[_0x2db1d1(0xe7)][_0x2db1d1(0x177)]),this[_0x2db1d1(0xf7)](_0x395646),_0x37fd73=!0x0,this[_0x2db1d1(0x16a)]=this[_0x2db1d1(0x135)];}else{const _0x1e5b3d=this[_0x2db1d1(0x1a4)](_0x5dda43[_0x2db1d1(0x178)],_0x5dda43[_0x2db1d1(0x1bd)])[_0x2db1d1(0x146)](_0x2ab276=>_0x2ab276[_0x2db1d1(0xc6)]>=this[_0x2db1d1(0x181)]);_0x1e5b3d[_0x2db1d1(0x12c)](_0x51ab8c=>this[_0x2db1d1(0x1c2)](_0x51ab8c)),this[_0x2db1d1(0xd7)]=this[_0x2db1d1(0xd7)][_0x2db1d1(0x146)](_0x5cd484=>!_0x5cd484[_0x2db1d1(0xca)]||!this[_0x2db1d1(0x121)][_0x2db1d1(0x1ba)](this[_0x2db1d1(0x119)](_0x5cd484))),this[_0x2db1d1(0xd7)][_0x2db1d1(0x15c)]&&Q(this[_0x2db1d1(0xd7)],this[_0x2db1d1(0xd7)][0x0][_0x2db1d1(0xc6)]),await this[_0x2db1d1(0x116)](_0x1e5b3d),_0x37fd73=this[_0x2db1d1(0xff)](_0x1e5b3d,_0x5dda43[_0x2db1d1(0x177)],_0x5dda43[_0x2db1d1(0xcc)]),this[_0x2db1d1(0x16a)]=Math[_0x2db1d1(0x153)](this[_0x2db1d1(0x16a)]/0x2);}return _0x37fd73?!this[_0x2db1d1(0x161)]()||(this[_0x2db1d1(0x12f)](!0x0),!0x1):this[_0x2db1d1(0xfb)](_0x2db1d1(0xf3));}[_0x291f8c(0xff)](_0x29fd70,_0x2fd8db,_0x3c7940){const _0x1d9b35=_0x291f8c;try{const _0x478edf={'document':this[_0x1d9b35(0xe7)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xd1159e,operationsB:_0x4b052f,originalOperations:_0x180568}=_0x79e66e(_0x29fd70,this[_0x1d9b35(0xd7)],_0x478edf);Q(_0xd1159e,this[_0x1d9b35(0xe7)][_0x1d9b35(0x177)]),Q(_0x4b052f,_0x2fd8db);for(const _0x54b260 of _0xd1159e){const _0xf6cc17=_0x180568[_0x1d9b35(0x176)](_0x54b260);_0x54b260[_0x1d9b35(0x155)]=_0xf6cc17?_0xf6cc17[_0x1d9b35(0x155)]:null;}_0x3c7940&&(this[_0x1d9b35(0x102)][_0x1d9b35(0xc1)](_0x29fd70,_0x3c7940),this[_0x1d9b35(0xdd)]=_0x3c7940),this[_0x1d9b35(0xd7)]=[..._0x4b052f],this[_0x1d9b35(0xf7)](_0xd1159e),this[_0x1d9b35(0xf6)](_0x29fd70);}catch(_0x3bf93d){return console[_0x1d9b35(0x152)](_0x3bf93d),!0x1;}return!0x0;}[_0x291f8c(0xf7)](_0x24eb4e,_0x46a124=!0x1){const _0x3aa8d3=_0x291f8c;this[_0x3aa8d3(0x13a)][_0x3aa8d3(0x183)][_0x3aa8d3(0xe0)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3c99d0=>{const _0x2387b5=_0x3aa8d3;for(const _0x46780e of _0x24eb4e)this[_0x2387b5(0x18e)][_0x2387b5(0x136)](_0x46780e),this[_0x2387b5(0x1c2)](_0x46780e),_0x3c99d0[_0x2387b5(0x194)][_0x2387b5(0x122)](_0x46780e),this[_0x2387b5(0x13a)][_0x2387b5(0x183)][_0x2387b5(0x191)](_0x46780e);});}[_0x291f8c(0x1c2)](_0x2f69aa){const _0x4d31e9=_0x291f8c,_0x4fa642=this[_0x4d31e9(0x119)](_0x2f69aa);_0x4fa642&&this[_0x4d31e9(0x121)][_0x4d31e9(0x136)](_0x4fa642);}[_0x291f8c(0x119)](_0xa61158){const _0xce3df7=_0x291f8c;let _0xbc3108,_0xed2c23;switch(_0xa61158[_0xce3df7(0x1a8)]){case _0xce3df7(0x196):_0xbc3108=_0xa61158[_0xce3df7(0x185)][_0xce3df7(0x1bc)];break;case _0xce3df7(0x10a):if(_0xed2c23=_0xa61158[_0xce3df7(0x110)],!_0xed2c23)return null;_0xbc3108=_0xed2c23[_0xce3df7(0x1bc)];break;case _0xce3df7(0x1a7):_0xbc3108=_0xa61158[_0xce3df7(0x1bc)];break;case _0xce3df7(0xf4):_0xbc3108=_0xa61158[_0xce3df7(0x187)];break;case _0xce3df7(0x189):_0xbc3108=_0xa61158[_0xce3df7(0x180)][_0xce3df7(0x1bc)];break;default:return null;}return _0xbc3108[_0xce3df7(0x11b)];}[_0x291f8c(0xf6)](_0xec89af){const _0x5f440c=_0x291f8c;_0xec89af[_0x5f440c(0x12c)](_0x46f670=>{const _0x443867=_0x5f440c,_0x141b34=_0x46f670[_0x443867(0x12b)]();_0x141b34[_0x443867(0x155)]=_0x46f670[_0x443867(0x155)],_0x141b34[_0x443867(0xca)]=!!_0x46f670[_0x443867(0xca)],_0x141b34[_0x443867(0xcb)]=_0x46f670[_0x443867(0xcb)],_0x141b34[_0x443867(0xc6)]+=this[_0x443867(0x197)],_0x46f670[_0x443867(0x184)]&&this[_0x443867(0x1c5)][_0x443867(0x136)](_0x141b34),this[_0x443867(0x167)][_0x443867(0x122)](_0x141b34);});}[_0x291f8c(0xf0)](_0x56f1e3){const _0x15fd05=_0x291f8c,_0x100c8d=this[_0x15fd05(0x13a)][_0x15fd05(0xd4)][_0x15fd05(0x176)](_0x15fd05(0x156)),_0x14f4f1=this[_0x15fd05(0x13a)][_0x15fd05(0xfd)];_0x56f1e3||(_0x56f1e3=_0xfd2789(_0x14f4f1,_0x15fd05(0x10b))),_0x100c8d[_0x15fd05(0x14a)](_0x56f1e3,{'title':_0xfd2789(_0x14f4f1,_0x15fd05(0x179)),'namespace':_0x15fd05(0x125)}),this[_0x15fd05(0x132)]=!0x0,clearTimeout(this[_0x15fd05(0x198)]),this[_0x15fd05(0xd7)]=[],this[_0x15fd05(0x13a)][_0x15fd05(0xd4)][_0x15fd05(0x176)](_0x452966)[_0x15fd05(0x1bf)]();}[_0x291f8c(0x11d)](){const _0x53ff24=_0x291f8c;this[_0x53ff24(0x117)]||(this[_0x53ff24(0x117)]=this[_0x53ff24(0x13a)][_0x53ff24(0xd4)][_0x53ff24(0x176)](_0x5ea4fa)[_0x53ff24(0x136)](_0xfd2789(this[_0x53ff24(0x13a)][_0x53ff24(0xfd)],_0x53ff24(0x13b))));}[_0x291f8c(0x13e)](){const _0x519f4c=_0x291f8c;this[_0x519f4c(0x117)]&&(this[_0x519f4c(0x13a)][_0x519f4c(0xd4)][_0x519f4c(0x176)](_0x5ea4fa)[_0x519f4c(0x101)](this[_0x519f4c(0x117)]),this[_0x519f4c(0x117)]=null);}[_0x291f8c(0xe2)](_0x2012e9){const _0x5a9a3c=_0x291f8c,_0x4c3a32=_0x2012e9[_0x5a9a3c(0xf2)](_0x2bf4db=>_0x2bf4db[_0x5a9a3c(0x118)]());return this[_0x5a9a3c(0x158)][_0x5a9a3c(0x166)](_0x4c3a32);}[_0x291f8c(0x1a4)](_0x424f61,_0x5731d5){const _0x5e29cc=_0x291f8c;return this[_0x5e29cc(0x158)][_0x5e29cc(0x141)](_0x424f61)[_0x5e29cc(0xf2)]((_0x18fdaf,_0x491b0c)=>{const _0x371f23=_0x5e29cc,_0x5589e4=_0x371f23(0x105)==_0x5731d5[_0x491b0c][_0x371f23(0x1a8)];if(_0x371f23(0x148)==_0x18fdaf[_0x371f23(0x1b3)]){const _0x30ff20=_0x18fdaf[_0x371f23(0x185)][_0x371f23(0x1bc)];!this[_0x371f23(0xe7)][_0x371f23(0x15b)](_0x30ff20)&&(this[_0x371f23(0xe7)][_0x371f23(0x193)](_0x371f23(0x1b6),_0x30ff20)[_0x371f23(0xe9)]=!0x1);}const _0x4fdb48=_0x216516[_0x371f23(0xf8)](_0x18fdaf,this[_0x371f23(0xe7)]);return _0x4fdb48[_0x371f23(0x1b2)]=_0x18fdaf[_0x371f23(0x1b2)],_0x4fdb48[_0x371f23(0xca)]=_0x5589e4,_0x4fdb48[_0x371f23(0x155)]=_0x5589e4?null:_0x5731d5[_0x491b0c][_0x371f23(0x1ac)],_0x4fdb48[_0x371f23(0x184)]=_0x371f23(0x15d)===_0x5731d5[_0x491b0c][_0x371f23(0x1a8)],_0x4fdb48[_0x371f23(0xcb)]=_0x5731d5[_0x491b0c][_0x371f23(0xcb)],_0x4fdb48;});}[_0x291f8c(0x14f)](){const _0x1c0329=_0x291f8c;this[_0x1c0329(0xf5)]=!0x0,this[_0x1c0329(0x174)]()?this[_0x1c0329(0x12f)]():this[_0x1c0329(0xf5)]=!0x1;}[_0x291f8c(0x174)](){const _0x2a4688=_0x291f8c,_0x18f45f=this[_0x2a4688(0x13a)][_0x2a4688(0xd4)][_0x2a4688(0x176)](_0x51922d)[_0x2a4688(0x1c4)][_0x2a4688(0x176)](this[_0x2a4688(0x14c)]);return!this[_0x2a4688(0x13a)][_0x2a4688(0xfa)]&&!!_0x18f45f&&_0x18f45f[_0x2a4688(0x15c)]>0x1&&this[_0x2a4688(0xf5)];}[_0x291f8c(0x161)](){const _0x5888a2=_0x291f8c;return this[_0x5888a2(0xd7)][_0x5888a2(0x15c)]>0x0||this[_0x5888a2(0x174)]();}}l[_0x291f8c(0x12a)]=_0x1c2738;export default l;class J extends Error{}function Q(_0x2cc4a6,_0x541f6d){const _0x6d8ebe=_0x291f8c;for(const _0x57dc26 of _0x2cc4a6)_0x57dc26[_0x6d8ebe(0xc6)]=_0x541f6d++;}function _0x41a1(){const _0x1f5504=['message','showWarning','includes','_channelId','_operationToId','stop','_refreshUserSelectionMarkers','then','40578HNImfL','error','round','affectsData','_authorId','Notification','suppressErrorInCollaboration','_compressor','define','register','getRoot','length','cs:removeUser','return','directChange','setPermissions','_shouldSendUpdate','_handleReconnectionResponse','getUser','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','connection','compress','serverHistory','_initSessionsHandling','mySessionId','_currentBufferDelay','realtimecollaborationclient-init-service-internal-error','getConnectedSessions','cloudServices.bundleVersion','markers','initData','set','getIdOfTheLastOperation','isOfficialPlugin','wereChangesApplied','_shouldSendSelectionUpdate','lastOperationAcceptedAt','get','version','data','Synchronization\x20issue','editing','_disconnectService','collaboration-missing-channelid','slice','destroy','fire','targetPosition','_lastServerVersion','operationsReceived','model','_isDisconnection','position','_isEditingAllowed','affectedSelectable','multi-root-editor-root-attributes-no-root','move','config','apply','45722rqDglv','15151560xXfNXb','_knownOperations','stopListening','catch','applyOperation','406iOzzqN','createRoot','batch','end','insert','_offset','_sendBufferedOperationsDelayId','isUndoneOperation','_handleInitialConnectionData','selection','isEnabled','collaboration','1453773uUOxma','_handleServerResponse','getOperations','permissions','realtimecollaborationclient-init-connection-failed','change:hasDomSelection','_decompressOperations','addUser','isDocumentOperation','addRootAttribute','type','start','_waitUntilSynced','connected','userId','_loadRoot','sessionAdd:','high','_isLoaded','requires','wasUndone','__className','_isConnected','realtimecollaborationclient-init-session-connection-error','$root','reset','pluginName','lastSyncVersion','has','parse','root','metadata','4368033ysuIcF','disconnect','keys','change:range','_addKnownRoot','loadRoot','channelSessions','_disconnectionOperations','collaboration.channelId','setIdForTheLastOperation','document','_getOperationsFromInitData','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.','404','baseVersion','roots','attributes','isPremiumPlugin','_isInit','createdAt','lastOperationId','_service','ready','3335eAsGym','document:write','10144728YqTpQB','sendOperations','history','plugins','listenTo','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_bufferedOperations','Permissions','_sendBufferedOperations','createPositionAt','reconnection:\x20flushed\x20session','addToReconnectionStack','_lastSyncedOperationId','RealTimeCollaborationClient','entries','enqueueChange','_handleSendingSelectionMarkers','_compressOperations','572CTEdVj','view','_connectAfterSessionHasBeenFlushed','unregister','_document','reconnect','_isAttached','path','realtimecollaborationclient-init-document-already-initialized','_saveOperationInBuffer','cloud-services-internal-error:\x20Not\x20connected.','change:_isPendingUpdate','offset','_handleReconnectionError','sessionId','map','realtimecollaborationclient-handleserverresponse','addRoot','_hasSelectionChanged','_updateServerHistory','_applyOperationsSet','fromJSON','bind','isReadOnly','_crash','realtimecollaborationclient-init-service-incorrect-server-operation','locale','lastDocumentSession','_handleExternalOperations','createRange','remove','_operationIdentifier','createPositionFromPath','from','init','off','finally','rtc-offline','enableReadOnlyMode','marker','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.','rtc-destroyed','sessionCreatedAt','2KObyAU','removeFromReconnectionStack','newRange','startsWith','_ignoredOperations','realtimecollaborationclient-init-non-existent-root','size','differ','_fetchMissingUsers','_pendingAction','toJSON','_getAffectedRoot','string','rootName','rootsAttributes','_setPendingAction','disableReadOnlyMode','state','_bufferRootLoad','_knownRootNames','addOperation','cloud-services-internal-error:\x20Request\x20timeout.','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','real-time-collaboration','change:_isEditingAllowed','getMany','disconnected','_handleReceivedOperations','CollaborativeEditingService','clone','forEach','_isPendingUpdate','cloudDocumentVersion','_sendBufferedOperationsDelayed','_setUpDataInit','createUserMarkerOperations','_hasSynchronizationProblem','409','realtimecollaborationclient','_baseBufferDelay','add','connect','realtimecollaborationclient-error','getOperationAuthor','editor','PENDING_ACTION_SENDING_DATA','realtimecollaborationclient-sendbufferedoperations','currentDocumentSession','_clearPendingAction','getDocumentDetails','CommentsOnly','decompress','_connectService','code','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_initThrowingOnDataSet','filter','push','InsertOperation'];_0x41a1=function(){return _0x1f5504;};return _0x41a1();}class X{constructor(_0x13f854){const _0x760111=_0x291f8c;this[_0x760111(0x112)]=_0x13f854,this[_0x760111(0x14d)]=new WeakMap();}[_0x291f8c(0x171)](_0x2e03dc){const _0x320dce=_0x291f8c;let _0xfc93b=_0x2e03dc[_0x320dce(0x15c)];for(;_0xfc93b--;){const _0x303e03=_0x2e03dc[_0xfc93b];if(!this[_0x320dce(0x112)][_0x320dce(0x1ba)](_0x303e03)){if(!this[_0x320dce(0x14d)][_0x320dce(0x1ba)](_0x303e03)){const _0x30d507=_0x225b75()[_0x320dce(0x17d)](0x1,0x12);this[_0x320dce(0x14d)][_0x320dce(0x170)](_0x303e03,_0x30d507);}return this[_0x320dce(0x14d)][_0x320dce(0x176)](_0x303e03);}}}[_0x291f8c(0xc1)](_0x4b7b26,_0x2d9677){const _0x49a3ff=_0x291f8c;if(!_0x2d9677)return;let _0x3b19f9=_0x4b7b26[_0x49a3ff(0x15c)];for(;_0x3b19f9--;){const _0xa5b3cd=_0x4b7b26[_0x3b19f9];this[_0x49a3ff(0x112)][_0x49a3ff(0x1ba)](_0xa5b3cd)||this[_0x49a3ff(0x14d)][_0x49a3ff(0x170)](_0xa5b3cd,_0x2d9677);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x52ef(){const _0x3874f3=['pluginName','isMe','_registeredSessions','2133943fOXCSK','size','_handleSessionRemove','766812dFXdoe','8JxCAvn','1878520ZwHkKX','4802274oAzWOc','forEach','sessionAdd:','unregister','allConnectedUsers','has','state','_users','set','add','stopListening','connected','fire','isOfficialPlugin','clear','addUser','init','connection','24124793JaObTg','listenTo','role','getUserBySessionId','channelConnectedUsers','sessions-register-already-registered','getUserRole','user','isPremiumPlugin','mySessionId','46678CDDIfG','plugins','context','5mIAsxO','_createUser','defineMe','12aTSHDn','sessions-unregister-not-exist','get','channelSessions','change:state','requires','_uniqueUsersCount','sessionId','values','1270852PkJkAw','register','orderNumber','getUserSessions','delete','Sessions','assign','remove','_handleSessionAdd','147CRCzmx','getUser'];_0x52ef=function(){return _0x3874f3;};return _0x52ef();}const _0x13e4c2=_0x3cec;function _0x3cec(_0x188b41,_0x35eeb8){const _0x52ef76=_0x52ef();return _0x3cec=function(_0x3cec30,_0x439e86){_0x3cec30=_0x3cec30-0x1f0;let _0x1750bc=_0x52ef76[_0x3cec30];return _0x1750bc;},_0x3cec(_0x188b41,_0x35eeb8);}(function(_0x10c356,_0x5203db){const _0x3e7270=_0x3cec,_0x431945=_0x10c356();while(!![]){try{const _0x42ded7=-parseInt(_0x3e7270(0x223))/0x1+-parseInt(_0x3e7270(0x214))/0x2*(parseInt(_0x3e7270(0x22c))/0x3)+parseInt(_0x3e7270(0x1f5))/0x4*(-parseInt(_0x3e7270(0x217))/0x5)+parseInt(_0x3e7270(0x21a))/0x6*(parseInt(_0x3e7270(0x1f2))/0x7)+-parseInt(_0x3e7270(0x1f6))/0x8*(-parseInt(_0x3e7270(0x1f8))/0x9)+parseInt(_0x3e7270(0x1f7))/0xa+parseInt(_0x3e7270(0x20a))/0xb;if(_0x42ded7===_0x5203db)break;else _0x431945['push'](_0x431945['shift']());}catch(_0x3ae150){_0x431945['push'](_0x431945['shift']());}}}(_0x52ef,0xe0275));import{ContextPlugin as _0xe72a64}from'ckeditor5/src/core.js';import{Collection as _0x1d6417,CKEditorError as _0x59f46a}from'ckeditor5/src/utils.js';import _0xeeb000 from'./websocketgateway.js';import{Users as _0x3bf897}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0xe72a64{static get[_0x13e4c2(0x22e)](){const _0x3fa192=_0x13e4c2;return _0x3fa192(0x228);}static get[_0x13e4c2(0x205)](){return!0x0;}static get[_0x13e4c2(0x212)](){return!0x0;}static get[_0x13e4c2(0x21f)](){return[_0xeeb000,_0x3bf897];}constructor(_0x18ef36){const _0x1e3c9c=_0x13e4c2;super(_0x18ef36),this[_0x1e3c9c(0x21d)]=new Map(),this[_0x1e3c9c(0x20e)]=new Map(),this[_0x1e3c9c(0x1fc)]=new _0x1d6417(),this[_0x1e3c9c(0x1f1)]=new Map(),this[_0x1e3c9c(0x220)]=0x0,this[_0x1e3c9c(0x1ff)]=this[_0x1e3c9c(0x216)][_0x1e3c9c(0x215)][_0x1e3c9c(0x21c)](_0x3bf897);}[_0x13e4c2(0x208)](){const _0x2d158e=_0x13e4c2,_0x31d696=this[_0x2d158e(0x216)][_0x2d158e(0x215)][_0x2d158e(0x21c)](_0xeeb000);this[_0x2d158e(0x20b)](_0x31d696,_0x2d158e(0x21e),(_0x2dfdfb,_0x32802d,_0x16db0b)=>{const _0x2508cc=_0x2d158e;if(_0x2508cc(0x203)!==_0x16db0b)this[_0x2508cc(0x21d)][_0x2508cc(0x1f9)](_0x511b68=>_0x511b68[_0x2508cc(0x206)]()),this[_0x2508cc(0x20e)][_0x2508cc(0x1f9)](_0x920053=>_0x920053[_0x2508cc(0x206)]()),this[_0x2508cc(0x1fc)][_0x2508cc(0x206)]();else{for(const [_0x5a5afd,_0x45f6be]of this[_0x2508cc(0x1f1)])for(const _0x5015a3 of _0x45f6be)this[_0x2508cc(0x22b)](_0x5a5afd,_0x5015a3);}}),this[_0x2d158e(0x218)](_0x31d696[_0x2d158e(0x209)]['me'],!0x0);}[_0x13e4c2(0x224)](_0x1f0057,_0x3b1e8e){const _0x1c2820=_0x13e4c2;if(this[_0x1c2820(0x1f1)][_0x1c2820(0x1fd)](_0x1f0057))throw new _0x59f46a(_0x1c2820(0x20f),null,{'channelId':_0x1f0057});this[_0x1c2820(0x1f1)][_0x1c2820(0x200)](_0x1f0057,_0x3b1e8e),this[_0x1c2820(0x21d)][_0x1c2820(0x200)](_0x1f0057,new _0x1d6417()),this[_0x1c2820(0x20e)][_0x1c2820(0x200)](_0x1f0057,new _0x1d6417()),this[_0x1c2820(0x20b)](_0x3b1e8e,_0x1c2820(0x201),(_0x40eeaa,_0x21b929)=>this[_0x1c2820(0x22b)](_0x1f0057,_0x21b929)),this[_0x1c2820(0x20b)](_0x3b1e8e,_0x1c2820(0x22a),(_0x34e562,_0x4aff4a)=>this[_0x1c2820(0x1f4)](_0x1f0057,_0x4aff4a));for(const _0x29dea8 of _0x3b1e8e)this[_0x1c2820(0x22b)](_0x1f0057,_0x29dea8);}[_0x13e4c2(0x1fb)](_0x3acdc0){const _0x79e738=_0x13e4c2;if(!this[_0x79e738(0x1f1)][_0x79e738(0x1fd)](_0x3acdc0))throw new _0x59f46a(_0x79e738(0x21b),null,{'channelId':_0x3acdc0});const _0x2b75cd=this[_0x79e738(0x1f1)][_0x79e738(0x21c)](_0x3acdc0);this[_0x79e738(0x202)](_0x2b75cd);for(const _0x2cdc5d of _0x2b75cd)_0x79e738(0x203)===this[_0x79e738(0x216)][_0x79e738(0x215)][_0x79e738(0x21c)](_0xeeb000)[_0x79e738(0x1fe)]&&this[_0x79e738(0x1f4)](_0x3acdc0,_0x2cdc5d);this[_0x79e738(0x1f1)][_0x79e738(0x227)](_0x3acdc0),this[_0x79e738(0x21d)][_0x79e738(0x227)](_0x3acdc0),this[_0x79e738(0x20e)][_0x79e738(0x227)](_0x3acdc0);}get[_0x13e4c2(0x213)](){const _0x3d3c51=_0x13e4c2;return this[_0x3d3c51(0x216)][_0x3d3c51(0x215)][_0x3d3c51(0x21c)](_0xeeb000)[_0x3d3c51(0x209)][_0x3d3c51(0x221)];}[_0x13e4c2(0x20d)](_0x341382){const _0x2d5a04=_0x13e4c2;for(const _0x52b6ea of this[_0x2d5a04(0x21d)][_0x2d5a04(0x222)]())for(const _0x5f12d4 of _0x52b6ea)if(_0x5f12d4['id']===_0x341382)return _0x5f12d4[_0x2d5a04(0x211)];}[_0x13e4c2(0x226)](_0x2c9fe4,_0x1448a3){const _0x7ab9ea=_0x13e4c2,_0x4d03d1=_0x1448a3?[this[_0x7ab9ea(0x21d)][_0x7ab9ea(0x21c)](_0x1448a3)]:this[_0x7ab9ea(0x21d)][_0x7ab9ea(0x222)](),_0xbdc7d5=new Set();for(const _0x3cedef of _0x4d03d1)for(const _0x3fd7aa of _0x3cedef)_0x3fd7aa[_0x7ab9ea(0x211)]['id']===_0x2c9fe4['id']&&_0xbdc7d5[_0x7ab9ea(0x201)](_0x3fd7aa['id']);return _0xbdc7d5;}[_0x13e4c2(0x210)](_0xb06f71){const _0x85a925=_0x13e4c2;for(const _0x45a5ba of this[_0x85a925(0x21d)][_0x85a925(0x222)]())for(const _0x5c142b of _0x45a5ba)if(_0x5c142b[_0x85a925(0x211)]===_0xb06f71)return _0x5c142b[_0x85a925(0x20c)];}[_0x13e4c2(0x22b)](_0x59b161,_0x471a8c){const _0x3dc511=_0x13e4c2;if(_0x3dc511(0x203)!==this[_0x3dc511(0x216)][_0x3dc511(0x215)][_0x3dc511(0x21c)](_0xeeb000)[_0x3dc511(0x1fe)])return;const _0x9dcc08=_0x471a8c[_0x3dc511(0x211)],_0x13ab04=this[_0x3dc511(0x1ff)][_0x3dc511(0x22d)](_0x9dcc08['id'])||this[_0x3dc511(0x218)](_0x9dcc08),_0x215bf4=Object[_0x3dc511(0x229)]({},_0x471a8c,{'user':_0x13ab04});this[_0x3dc511(0x21d)][_0x3dc511(0x21c)](_0x59b161)[_0x3dc511(0x201)](_0x215bf4);const _0x2bf963=this[_0x3dc511(0x20e)][_0x3dc511(0x21c)](_0x59b161);_0x2bf963[_0x3dc511(0x1fd)](_0x13ab04['id'])||_0x2bf963[_0x3dc511(0x201)](_0x13ab04),this[_0x3dc511(0x1fc)][_0x3dc511(0x1fd)](_0x13ab04['id'])||this[_0x3dc511(0x1fc)][_0x3dc511(0x201)](_0x13ab04,_0x13ab04[_0x3dc511(0x1f0)]?0x0:void 0x0),this[_0x3dc511(0x204)](_0x3dc511(0x1fa)+_0x59b161,{'channelId':_0x59b161,'session':_0x215bf4});}[_0x13e4c2(0x1f4)](_0xaf9da4,_0x37c61a){const _0x54de5d=_0x13e4c2;if(_0x54de5d(0x203)!==this[_0x54de5d(0x216)][_0x54de5d(0x215)][_0x54de5d(0x21c)](_0xeeb000)[_0x54de5d(0x1fe)])return;const _0x5d5b9f=this[_0x54de5d(0x20e)][_0x54de5d(0x21c)](_0xaf9da4),_0x57eb66=_0x37c61a[_0x54de5d(0x211)];_0x57eb66['id']&&(this[_0x54de5d(0x21d)][_0x54de5d(0x21c)](_0xaf9da4)[_0x54de5d(0x22a)](_0x37c61a['id']),_0x5d5b9f[_0x54de5d(0x1fd)](_0x57eb66['id'])&&!this[_0x54de5d(0x226)](_0x57eb66,_0xaf9da4)[_0x54de5d(0x1f3)]&&_0x5d5b9f[_0x54de5d(0x22a)](_0x57eb66['id']),this[_0x54de5d(0x1fc)][_0x54de5d(0x21c)](_0x57eb66['id'])&&!this[_0x54de5d(0x226)](_0x57eb66)[_0x54de5d(0x1f3)]&&this[_0x54de5d(0x1fc)][_0x54de5d(0x22a)](_0x57eb66['id']));}[_0x13e4c2(0x218)](_0x31c7e0,_0x36e4a6){const _0x2b890f=_0x13e4c2,_0x11da91=this[_0x2b890f(0x1ff)][_0x2b890f(0x207)](_0x31c7e0);return _0x36e4a6&&this[_0x2b890f(0x1ff)][_0x2b890f(0x219)](_0x31c7e0['id']),_0x11da91[_0x2b890f(0x225)]=this[_0x2b890f(0x220)]++,_0x11da91;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2b8048=_0x3ed5;function _0x3ed5(_0x1534da,_0xa2fc3c){const _0x5f2e02=_0x5f2e();return _0x3ed5=function(_0x3ed58e,_0x4252fb){_0x3ed58e=_0x3ed58e-0x125;let _0x597bd1=_0x5f2e02[_0x3ed58e];return _0x597bd1;},_0x3ed5(_0x1534da,_0xa2fc3c);}function _0x5f2e(){const _0x1287bd=['hasContent','orderNumber','change:range','getAttribute','4474540UaUvDS','get','ck-user__marker\x20','keydown','user:','startsWith','element','stopListening','fromRange','12616CncgEg','requires','end','remove','view','render','removeClass','ck-user__marker-tooltip','applyOperation','oldRange','createUIElement','change','getFirstRange','type','classList','has','set','false','root','schema','ck-user__selection','isSimilar','user:range:','getUserBySessionId','innerHTML','plugins','update:user:range','nodeAfter','destroy','mouseleave','deletionPosition','markerName','isCollapsed','delete','getSelectionClass','editor','clear','isDocumentOperation','isInline','createRange','getRange','batch','setAttribute','5340240xzYvDA','enqueueChange','11918ohbpss','mouseenter','isOfficialPlugin','getContainedElement','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','markerNameToElements','$graveyard','getNearestSelectionRange','reconvertMarker','start','detach','getPositions','markers','markerRange','user:position:','user:position','pluginName','3858ZTxRPj','getCustomProperty','mapper','parent','contenteditable','_domEmitter','name','toRange','toDomElement','listenTo','markerToElement','highest','Escape','mySessionId','document','data-session-id','removeMarker','for','UserMarkers','conversion','339KWsXKW','newRange','user:range','tableCell','$text','getStart','undo','size','textContent','init','selection','rootName','getMarkerClass','createUserMarkerOperations','ck-user__marker_hovered','isLimit','span','addMarker','5172525kHoXNV','addEventListener','split','marker','updateMarker','editingDowncast','isPremiumPlugin','add','outerHTML','88232ubYdRE','createElement','commands','1565LlmKdd','_createdBatches','editing','markerToHighlight','spellcheck','model','setCustomProperty','hasDomSelection','color','userPositionMarker','afterInit','isObject','checkChild'];_0x5f2e=function(){return _0x1287bd;};return _0x5f2e();}(function(_0x253120,_0x43f30f){const _0x436d94=_0x3ed5,_0x704587=_0x253120();while(!![]){try{const _0x51547b=-parseInt(_0x436d94(0x14c))/0x1+-parseInt(_0x436d94(0x18c))/0x2+-parseInt(_0x436d94(0x171))/0x3*(parseInt(_0x436d94(0x1a9))/0x4)+parseInt(_0x436d94(0x18f))/0x5*(parseInt(_0x436d94(0x15d))/0x6)+parseInt(_0x436d94(0x1a0))/0x7+parseInt(_0x436d94(0x14a))/0x8+-parseInt(_0x436d94(0x183))/0x9;if(_0x51547b===_0x43f30f)break;else _0x704587['push'](_0x704587['shift']());}catch(_0x3cbd35){_0x704587['push'](_0x704587['shift']());}}}(_0x5f2e,0x7f290));import{Plugin as _0x4ae042}from'ckeditor5/src/core.js';import{global as _0x57abd1,DomEmitterMixin as _0x141f61}from'ckeditor5/src/utils.js';import _0x402f6e from'./sessions.js';import{LiveRange as _0x547f72}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x4ae042{constructor(){const _0x532f7a=_0x3ed5;super(...arguments),this[_0x532f7a(0x162)]=new(_0x141f61())();}static get[_0x2b8048(0x1aa)](){return[_0x402f6e];}static get[_0x2b8048(0x15c)](){const _0x5d5f02=_0x2b8048;return _0x5d5f02(0x16f);}static get[_0x2b8048(0x14e)](){return!0x0;}static get[_0x2b8048(0x189)](){return!0x0;}[_0x2b8048(0x17a)](){const _0x46ed43=_0x2b8048,_0x4df158=this[_0x46ed43(0x142)],_0x7c60ce=_0x4df158[_0x46ed43(0x138)][_0x46ed43(0x1a1)](_0x402f6e);_0x4df158[_0x46ed43(0x170)][_0x46ed43(0x16e)](_0x46ed43(0x188))[_0x46ed43(0x167)]({'model':_0x46ed43(0x15b),'view':(_0x3fcc9c,{writer:_0x51d498})=>function(_0x591584,_0x370cea,_0xc81caa,_0x2eb98b){const _0x131974=_0x46ed43,_0x4bba87=_0x591584[_0x131974(0x13e)][_0x131974(0x185)](':')[0x2],_0x980e22=_0xc81caa[_0x131974(0x136)](_0x4bba87);if(!_0x980e22||_0x4bba87===_0xc81caa[_0x131974(0x16a)])return;if(!_0x2eb98b[_0x131974(0x194)][_0x131974(0x132)][_0x131974(0x19b)](_0x591584[_0x131974(0x159)][_0x131974(0x155)],_0x131974(0x175)))return;const _0x34a495={'class':_0x131974(0x1a2)+_0x980e22[_0x131974(0x197)][_0x131974(0x17d)](),'data-name':_0x980e22[_0x131974(0x163)],'data-session-id':_0x4bba87},_0x4e6cfb=_0x2eb98b[_0x131974(0x194)][_0x131974(0x158)][_0x131974(0x1a1)](_0x591584[_0x131974(0x13e)]),_0x431b21=_0x4e6cfb[_0x131974(0x176)](),_0x22b174=_0x431b21[_0x131974(0x13a)],_0x24fe42=_0x2eb98b[_0x131974(0x194)][_0x131974(0x132)];if(_0x22b174&&_0x24fe42[_0x131974(0x19a)](_0x22b174)&&_0x24fe42[_0x131974(0x145)](_0x22b174)&&!_0x2eb98b[_0x131974(0x194)][_0x131974(0x158)][_0x131974(0x1a1)](_0x131974(0x135)+_0x4bba87)[_0x131974(0x147)]()[_0x131974(0x13f)])return;const _0x2acf07=_0x431b21[_0x131974(0x160)];return _0x2eb98b[_0x131974(0x194)][_0x131974(0x132)][_0x131974(0x180)](_0x2acf07)&&!_0x2eb98b[_0x131974(0x194)][_0x131974(0x19c)](_0x2acf07)&&(_0x34a495[_0x131974(0x161)]=!0x1),function(_0x259282,_0x42265b,_0x2a6076){const _0x4eba40=_0x131974,_0x374123=_0x259282[_0x4eba40(0x129)](_0x4eba40(0x181),_0x42265b);return _0x259282[_0x4eba40(0x195)](_0x4eba40(0x198),!0x0,_0x374123),_0x374123[_0x4eba40(0x1ae)]=function(_0x9446ef){const _0x13f944=_0x4eba40,_0x3a9033=this[_0x13f944(0x165)](_0x9446ef),_0x4406ab=document[_0x13f944(0x18d)](_0x13f944(0x181));return _0x4406ab[_0x13f944(0x12d)][_0x13f944(0x18a)](_0x13f944(0x126)),_0x4406ab[_0x13f944(0x149)](_0x13f944(0x161),_0x13f944(0x130)),_0x4406ab[_0x13f944(0x149)](_0x13f944(0x193),_0x13f944(0x130)),_0x4406ab[_0x13f944(0x179)]=_0x2a6076[_0x13f944(0x163)],_0x3a9033[_0x13f944(0x137)]=_0x13f944(0x150)+_0x4406ab[_0x13f944(0x18b)]+'',_0x3a9033[_0x13f944(0x184)](_0x13f944(0x14d),()=>{const _0xf41f02=_0x13f944;_0x3a9033[_0xf41f02(0x12d)][_0xf41f02(0x18a)](_0xf41f02(0x17f));}),_0x3a9033[_0x13f944(0x184)](_0x13f944(0x13c),()=>{const _0x1414dc=_0x13f944;_0x3a9033[_0x1414dc(0x12d)][_0x1414dc(0x1ac)](_0x1414dc(0x17f));}),_0x3a9033;},_0x374123[_0x4eba40(0x134)]=function(_0x2a092b){const _0x2e5e9e=_0x4eba40;return!(!this[_0x2e5e9e(0x15e)](_0x2e5e9e(0x198))||!_0x2a092b[_0x2e5e9e(0x15e)](_0x2e5e9e(0x198))||this[_0x2e5e9e(0x19f)](_0x2e5e9e(0x16c))!=_0x2a092b[_0x2e5e9e(0x19f)](_0x2e5e9e(0x16c)));},_0x374123;}(_0x370cea,_0x34a495,_0x980e22);}(_0x3fcc9c,_0x51d498,_0x7c60ce,_0x4df158)}),_0x4df158[_0x46ed43(0x170)][_0x46ed43(0x16e)](_0x46ed43(0x188))[_0x46ed43(0x192)]({'model':_0x46ed43(0x173),'view':_0x3958ed=>function(_0x5123ce,_0x4a103c){const _0x11703c=_0x46ed43,_0x53b818=_0x5123ce[_0x11703c(0x13e)][_0x11703c(0x185)](':')[0x2];if(_0x53b818===_0x4a103c[_0x11703c(0x16a)])return null;const _0x2f2ee1=_0x4a103c[_0x11703c(0x136)](_0x53b818);if(!_0x2f2ee1)return{'id':_0x53b818,'classes':[]};return{'id':_0x53b818,'classes':[_0x11703c(0x133),_0x2f2ee1[_0x11703c(0x197)][_0x11703c(0x141)]()],'attributes':{'data-session-id':_0x53b818},'priority':0x7d0+_0x2f2ee1[_0x11703c(0x19d)]};}(_0x3958ed,_0x7c60ce)}),function(_0x2ecd7a){const _0x9fdfe8=_0x46ed43,_0x4a27fc=_0x2ecd7a[_0x9fdfe8(0x194)],_0x5ca31c=new Map(),_0x40f1fa=_0x2ecd7a[_0x9fdfe8(0x138)][_0x9fdfe8(0x1a1)](_0x402f6e);_0x4a27fc[_0x9fdfe8(0x158)]['on'](_0x9fdfe8(0x139),(_0x538830,_0x211c91,_0x487caa,_0x11397c)=>{const _0x2bffee=_0x9fdfe8;if(!_0x11397c&&_0x5ca31c[_0x2bffee(0x1a1)](_0x211c91[_0x2bffee(0x163)]))return _0x5ca31c[_0x2bffee(0x1a1)](_0x211c91[_0x2bffee(0x163)])[_0x2bffee(0x156)](),void _0x5ca31c[_0x2bffee(0x140)](_0x211c91[_0x2bffee(0x163)]);const _0x58e0a9=_0x211c91[_0x2bffee(0x163)][_0x2bffee(0x185)](':')[0x2];if(_0x58e0a9===_0x40f1fa[_0x2bffee(0x16a)])return;const _0x30c0b0=_0x2bffee(0x15a)+_0x58e0a9;_0x4a27fc[_0x2bffee(0x158)][_0x2bffee(0x12e)](_0x30c0b0)&&_0x2ecd7a[_0x2bffee(0x191)][_0x2bffee(0x154)](_0x30c0b0),_0x211c91['on'](_0x2bffee(0x19e),(_0x23afc7,_0x7acff0,_0x213463)=>{const _0x15a7aa=_0x2bffee;if(_0x15a7aa(0x152)!=_0x7acff0[_0x15a7aa(0x131)][_0x15a7aa(0x17c)]&&_0x15a7aa(0x152)==_0x211c91[_0x15a7aa(0x147)]()[_0x15a7aa(0x131)][_0x15a7aa(0x17c)]&&!_0x5ca31c[_0x15a7aa(0x12e)](_0x211c91[_0x15a7aa(0x163)])){const _0x963ee9=_0x4a27fc[_0x15a7aa(0x132)][_0x15a7aa(0x153)](_0x213463[_0x15a7aa(0x13d)]);if(_0x963ee9){const _0x31beaf=_0x547f72[_0x15a7aa(0x1a8)](_0x963ee9);_0x5ca31c[_0x15a7aa(0x12f)](_0x211c91[_0x15a7aa(0x163)],_0x31beaf),_0x31beaf['on'](_0x15a7aa(0x19e),(_0x1966ca,_0xe69c2a,_0x2b08bc)=>{const _0x481a44=_0x15a7aa;if(_0x481a44(0x152)==_0x31beaf[_0x481a44(0x131)][_0x481a44(0x17c)]){const _0x25e972=_0x4a27fc[_0x481a44(0x132)][_0x481a44(0x153)](_0x2b08bc[_0x481a44(0x13d)]);_0x25e972?(_0x31beaf[_0x481a44(0x155)]=_0x25e972[_0x481a44(0x155)],_0x31beaf[_0x481a44(0x1ab)]=_0x25e972[_0x481a44(0x1ab)]):(_0x5ca31c[_0x481a44(0x140)](_0x211c91[_0x481a44(0x163)]),_0x31beaf[_0x481a44(0x156)]());}});}}});}),_0x4a27fc[_0x9fdfe8(0x16b)]['on'](_0x9fdfe8(0x12a),()=>{const _0x3017b5=_0x9fdfe8;_0x5ca31c[_0x3017b5(0x178)]>0x0&&_0x4a27fc[_0x3017b5(0x14b)]({'isUndoable':!0x1},_0x446c8c=>{const _0x10375f=_0x3017b5;for(const [_0x44bae3,_0x2a3c76]of _0x5ca31c)_0x10375f(0x152)==_0x4a27fc[_0x10375f(0x158)][_0x10375f(0x1a1)](_0x44bae3)[_0x10375f(0x147)]()[_0x10375f(0x131)][_0x10375f(0x17c)]&&(re(_0x44bae3[_0x10375f(0x185)](':')[0x2],_0x2a3c76[_0x10375f(0x164)](),_0x4a27fc,_0x446c8c),_0x2a3c76[_0x10375f(0x156)]());_0x5ca31c[_0x10375f(0x143)]();});});}(_0x4df158),this[_0x46ed43(0x162)][_0x46ed43(0x166)](_0x57abd1[_0x46ed43(0x16b)],_0x46ed43(0x1a3),(_0x428b58,{key:_0x42f89c})=>{const _0x59d999=_0x46ed43;_0x59d999(0x169)===_0x42f89c&&function(_0x3b90f9){const _0x408817=_0x59d999;_0x3b90f9[_0x408817(0x191)][_0x408817(0x1ad)][_0x408817(0x12a)](_0x7c1ead=>{const _0x3979d2=_0x408817;for(const _0x4d8da8 of _0x3b90f9[_0x3979d2(0x194)][_0x3979d2(0x158)]){if(!_0x4d8da8[_0x3979d2(0x163)][_0x3979d2(0x1a5)](_0x3979d2(0x15b)))continue;const _0x5aec65=_0x3b90f9[_0x3979d2(0x191)][_0x3979d2(0x15f)][_0x3979d2(0x151)](_0x4d8da8[_0x3979d2(0x163)]);if(_0x5aec65){for(const _0x250af7 of _0x5aec65)_0x7c1ead[_0x3979d2(0x125)](_0x3979d2(0x17f),_0x250af7);}}});}(_0x4df158);},{'useCapture':!0x0});}[_0x2b8048(0x199)](){const _0x42ae53=_0x2b8048,_0x35f606=this[_0x42ae53(0x142)],_0x399584=_0x35f606[_0x42ae53(0x18e)][_0x42ae53(0x1a1)](_0x42ae53(0x177));_0x399584&&_0x35f606[_0x42ae53(0x194)]['on'](_0x42ae53(0x127),(_0x4e94d3,_0x41dcc2)=>{const _0x23f5fc=_0x42ae53,_0x230598=_0x41dcc2[0x0];if(!_0x230598[_0x23f5fc(0x144)])return;if(_0x23f5fc(0x186)!=_0x230598[_0x23f5fc(0x12c)]||!_0x230598[_0x23f5fc(0x163)][_0x23f5fc(0x1a5)](_0x23f5fc(0x1a4)))return;const _0x3b859b=_0x230598[_0x23f5fc(0x148)];_0x399584[_0x23f5fc(0x190)][_0x23f5fc(0x12e)](_0x3b859b)&&(_0x230598[_0x23f5fc(0x172)]=_0x230598[_0x23f5fc(0x128)]?_0x35f606[_0x23f5fc(0x194)][_0x23f5fc(0x146)](_0x230598[_0x23f5fc(0x128)][_0x23f5fc(0x155)],_0x230598[_0x23f5fc(0x128)][_0x23f5fc(0x1ab)]):null);},{'priority':_0x42ae53(0x168)});}[_0x2b8048(0x13b)](){const _0x39a8ba=_0x2b8048;return this[_0x39a8ba(0x162)][_0x39a8ba(0x1a7)](),super[_0x39a8ba(0x13b)]();}[_0x2b8048(0x17e)](){const _0x46e30c=_0x2b8048,_0x1599f3=this[_0x46e30c(0x142)],_0x5aa4ca=_0x1599f3[_0x46e30c(0x194)][_0x46e30c(0x16b)],_0x556a93=_0x1599f3[_0x46e30c(0x138)][_0x46e30c(0x1a1)](_0x402f6e);_0x1599f3[_0x46e30c(0x194)][_0x46e30c(0x14b)]({'isUndoable':!0x1},_0x4dc6a6=>{const _0x289031=_0x46e30c,_0x54108b=_0x289031(0x135)+_0x556a93[_0x289031(0x16a)],_0x4406a3=_0x289031(0x15a)+_0x556a93[_0x289031(0x16a)],_0x7eb750=_0x1599f3[_0x289031(0x194)][_0x289031(0x158)][_0x289031(0x12e)](_0x54108b);_0x1599f3[_0x289031(0x191)][_0x289031(0x1ad)][_0x289031(0x196)]?re(_0x556a93[_0x289031(0x16a)],_0x5aa4ca[_0x289031(0x17b)][_0x289031(0x12b)](),_0x1599f3[_0x289031(0x194)],_0x4dc6a6):_0x7eb750&&(_0x4dc6a6[_0x289031(0x16d)](_0x54108b),_0x4dc6a6[_0x289031(0x16d)](_0x4406a3));});}}function re(_0x4237ca,_0xfbad82,_0x4d7840,_0x4f4fcd){const _0x4bcb91=_0x2b8048,_0x45190a=_0x4bcb91(0x135)+_0x4237ca,_0x4af8f5=_0x4bcb91(0x15a)+_0x4237ca,_0x592755=_0xfbad82[_0x4bcb91(0x14f)]();let _0x3ee5e9=_0xfbad82[_0x4bcb91(0x155)];_0x592755&&_0x592755['is'](_0x4bcb91(0x1a6),_0x4bcb91(0x174))&&(_0x3ee5e9=function(_0x376c77,_0x997d10){const _0x5f23c3=_0x4bcb91;for(const _0x488214 of _0x376c77[_0x5f23c3(0x157)]())if(_0x997d10[_0x5f23c3(0x132)][_0x5f23c3(0x19b)](_0x488214,_0x5f23c3(0x175)))return _0x488214;}(_0xfbad82,_0x4d7840),_0xfbad82=_0x4f4fcd[_0x4bcb91(0x146)](_0x3ee5e9));const _0x35eb78=_0x4f4fcd[_0x4bcb91(0x146)](_0x3ee5e9);_0x4d7840[_0x4bcb91(0x158)][_0x4bcb91(0x12e)](_0x45190a)?(_0x4f4fcd[_0x4bcb91(0x187)](_0x45190a,{'range':_0xfbad82}),_0x4f4fcd[_0x4bcb91(0x187)](_0x4af8f5,{'range':_0x35eb78})):(_0x4f4fcd[_0x4bcb91(0x182)](_0x45190a,{'range':_0xfbad82,'usingOperation':!0x0}),_0x4f4fcd[_0x4bcb91(0x182)](_0x4af8f5,{'range':_0x35eb78,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x404abb=_0x237f;function _0x237f(_0x46a40f,_0x300867){const _0x3bdf3d=_0x3bdf();return _0x237f=function(_0x237f22,_0x46999d){_0x237f22=_0x237f22-0x70;let _0x2cbfb6=_0x3bdf3d[_0x237f22];return _0x2cbfb6;},_0x237f(_0x46a40f,_0x300867);}(function(_0x30aa65,_0x42431c){const _0x125831=_0x237f,_0x5d1636=_0x30aa65();while(!![]){try{const _0x2ef728=parseInt(_0x125831(0xef))/0x1+parseInt(_0x125831(0x8b))/0x2+parseInt(_0x125831(0x88))/0x3*(parseInt(_0x125831(0xcc))/0x4)+parseInt(_0x125831(0xc3))/0x5+parseInt(_0x125831(0x8e))/0x6+parseInt(_0x125831(0xc5))/0x7*(-parseInt(_0x125831(0xd9))/0x8)+-parseInt(_0x125831(0x8c))/0x9;if(_0x2ef728===_0x42431c)break;else _0x5d1636['push'](_0x5d1636['shift']());}catch(_0x398259){_0x5d1636['push'](_0x5d1636['shift']());}}}(_0x3bdf,0x397e7));import{Plugin as _0x1e7478}from'ckeditor5/src/core.js';import{global as _0x520b9d,DomEmitterMixin as _0x179441}from'ckeditor5/src/utils.js';import _0x1719e7 from'./sessions.js';import{LiveRange as _0x2d3654}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x1e7478{constructor(){const _0x408d2e=_0x237f;super(...arguments),this[_0x408d2e(0xda)]=new(_0x179441())();}static get[_0x404abb(0xd4)](){return[_0x1719e7];}static get[_0x404abb(0x96)](){const _0x3585b3=_0x404abb;return _0x3585b3(0xb8);}static get[_0x404abb(0xd2)](){return!0x0;}static get[_0x404abb(0x73)](){return!0x0;}[_0x404abb(0xdb)](){const _0x274b4f=_0x404abb,_0xa9db3=this[_0x274b4f(0xa8)],_0x128920=_0xa9db3[_0x274b4f(0xf9)][_0x274b4f(0x98)](_0x1719e7);_0xa9db3[_0x274b4f(0xe6)][_0x274b4f(0x7c)](_0x274b4f(0xb9))[_0x274b4f(0xa5)]({'model':_0x274b4f(0xed),'view':(_0x8ec6ba,{writer:_0xd10be3})=>function(_0x1a043b,_0x25eb44,_0x2a74af,_0x350c97){const _0x411f6c=_0x274b4f,_0x5a35be=_0x1a043b[_0x411f6c(0xea)][_0x411f6c(0xa2)](':')[0x2],_0x36a452=_0x2a74af[_0x411f6c(0xbc)](_0x5a35be);if(!_0x36a452||_0x5a35be===_0x2a74af[_0x411f6c(0xe0)])return;if(!_0x350c97[_0x411f6c(0xce)][_0x411f6c(0xb5)][_0x411f6c(0xa4)](_0x1a043b[_0x411f6c(0xcf)][_0x411f6c(0xca)],_0x411f6c(0xb3)))return;const _0x3ef8d3={'class':_0x411f6c(0x86)+_0x36a452[_0x411f6c(0xbd)][_0x411f6c(0xb6)](),'data-name':_0x36a452[_0x411f6c(0xe4)],'data-session-id':_0x5a35be},_0x4f4b9d=_0x350c97[_0x411f6c(0xce)][_0x411f6c(0xcd)][_0x411f6c(0x98)](_0x1a043b[_0x411f6c(0xea)]),_0xbafea5=_0x4f4b9d[_0x411f6c(0xc4)](),_0x19889f=_0xbafea5[_0x411f6c(0xf0)],_0x4a536e=_0x350c97[_0x411f6c(0xce)][_0x411f6c(0xb5)];if(_0x19889f&&_0x4a536e[_0x411f6c(0x9d)](_0x19889f)&&_0x4a536e[_0x411f6c(0x93)](_0x19889f)&&!_0x350c97[_0x411f6c(0xce)][_0x411f6c(0xcd)][_0x411f6c(0x98)](_0x411f6c(0xe8)+_0x5a35be)[_0x411f6c(0x94)]()[_0x411f6c(0xf2)])return;const _0x3f4890=_0xbafea5[_0x411f6c(0xa0)];return _0x350c97[_0x411f6c(0xce)][_0x411f6c(0xb5)][_0x411f6c(0x85)](_0x3f4890)&&!_0x350c97[_0x411f6c(0xce)][_0x411f6c(0xbb)](_0x3f4890)&&(_0x3ef8d3[_0x411f6c(0x92)]=!0x1),function(_0x519718,_0x142174,_0x30a61d){const _0xafd61c=_0x411f6c,_0x35c736=_0x519718[_0xafd61c(0x9c)](_0xafd61c(0xe1),_0x142174);return _0x519718[_0xafd61c(0xcb)](_0xafd61c(0x8d),!0x0,_0x35c736),_0x35c736[_0xafd61c(0xb1)]=function(_0x275c08){const _0x3f3da4=_0xafd61c,_0x239795=this[_0x3f3da4(0xa7)](_0x275c08),_0x15f988=document[_0x3f3da4(0xd7)](_0x3f3da4(0xe1));return _0x15f988[_0x3f3da4(0xc1)][_0x3f3da4(0xac)](_0x3f3da4(0x82)),_0x15f988[_0x3f3da4(0xf8)](_0x3f3da4(0x92),_0x3f3da4(0xaa)),_0x15f988[_0x3f3da4(0xf8)](_0x3f3da4(0x7d),_0x3f3da4(0xaa)),_0x15f988[_0x3f3da4(0x9e)]=_0x30a61d[_0x3f3da4(0xe4)],_0x239795[_0x3f3da4(0x77)]=_0x3f3da4(0x83)+_0x15f988[_0x3f3da4(0x9a)]+'',_0x239795[_0x3f3da4(0xba)](_0x3f3da4(0x76),()=>{const _0x80d80b=_0x3f3da4;_0x239795[_0x80d80b(0xc1)][_0x80d80b(0xac)](_0x80d80b(0x80));}),_0x239795[_0x3f3da4(0xba)](_0x3f3da4(0x90),()=>{const _0x18dd82=_0x3f3da4;_0x239795[_0x18dd82(0xc1)][_0x18dd82(0xc9)](_0x18dd82(0x80));}),_0x239795;},_0x35c736[_0xafd61c(0xe3)]=function(_0x54d75a){const _0x2397c6=_0xafd61c;return!(!this[_0x2397c6(0x7e)](_0x2397c6(0x8d))||!_0x54d75a[_0x2397c6(0x7e)](_0x2397c6(0x8d))||this[_0x2397c6(0xd1)](_0x2397c6(0xd5))!=_0x54d75a[_0x2397c6(0xd1)](_0x2397c6(0xd5)));},_0x35c736;}(_0x25eb44,_0x3ef8d3,_0x36a452);}(_0x8ec6ba,_0xd10be3,_0x128920,_0xa9db3)}),_0xa9db3[_0x274b4f(0xe6)][_0x274b4f(0x7c)](_0x274b4f(0xb9))[_0x274b4f(0x97)]({'model':_0x274b4f(0x7b),'view':_0x4bdd2a=>function(_0x349f8a,_0x4a8b78){const _0x56c38e=_0x274b4f,_0x267fe5=_0x349f8a[_0x56c38e(0xea)][_0x56c38e(0xa2)](':')[0x2];if(_0x267fe5===_0x4a8b78[_0x56c38e(0xe0)])return null;const _0x592dea=_0x4a8b78[_0x56c38e(0xbc)](_0x267fe5);if(!_0x592dea)return{'id':_0x267fe5,'classes':[]};return{'id':_0x267fe5,'classes':[_0x56c38e(0xb2),_0x592dea[_0x56c38e(0xbd)][_0x56c38e(0xf1)]()],'attributes':{'data-session-id':_0x267fe5},'priority':0x7d0+_0x592dea[_0x56c38e(0x75)]};}(_0x4bdd2a,_0x128920)}),function(_0xa9404d){const _0x10f4f0=_0x274b4f,_0x1624a2=_0xa9404d[_0x10f4f0(0xce)],_0x319596=new Map(),_0x56cefb=_0xa9404d[_0x10f4f0(0xf9)][_0x10f4f0(0x98)](_0x1719e7);_0x1624a2[_0x10f4f0(0xcd)]['on'](_0x10f4f0(0xe5),(_0x55a850,_0x5c4aa1,_0x32ee40,_0x54afbc)=>{const _0x14b17d=_0x10f4f0;if(!_0x54afbc&&_0x319596[_0x14b17d(0x98)](_0x5c4aa1[_0x14b17d(0xe4)]))return _0x319596[_0x14b17d(0x98)](_0x5c4aa1[_0x14b17d(0xe4)])[_0x14b17d(0xc2)](),void _0x319596[_0x14b17d(0xee)](_0x5c4aa1[_0x14b17d(0xe4)]);const _0x32e10c=_0x5c4aa1[_0x14b17d(0xe4)][_0x14b17d(0xa2)](':')[0x2];if(_0x32e10c===_0x56cefb[_0x14b17d(0xe0)])return;const _0x3e2870=_0x14b17d(0xe9)+_0x32e10c;_0x1624a2[_0x14b17d(0xcd)][_0x14b17d(0xdf)](_0x3e2870)&&_0xa9404d[_0x14b17d(0x89)][_0x14b17d(0x84)](_0x3e2870),_0x5c4aa1['on'](_0x14b17d(0xc6),(_0x326a09,_0x230311,_0x114873)=>{const _0x3fcba0=_0x14b17d;if(_0x3fcba0(0x9b)!=_0x230311[_0x3fcba0(0xa1)][_0x3fcba0(0x7f)]&&_0x3fcba0(0x9b)==_0x5c4aa1[_0x3fcba0(0x94)]()[_0x3fcba0(0xa1)][_0x3fcba0(0x7f)]&&!_0x319596[_0x3fcba0(0xdf)](_0x5c4aa1[_0x3fcba0(0xe4)])){const _0x3c46f2=_0x1624a2[_0x3fcba0(0xb5)][_0x3fcba0(0x7a)](_0x114873[_0x3fcba0(0xdc)]);if(_0x3c46f2){const _0x98adcd=_0x2d3654[_0x3fcba0(0xde)](_0x3c46f2);_0x319596[_0x3fcba0(0xb4)](_0x5c4aa1[_0x3fcba0(0xe4)],_0x98adcd),_0x98adcd['on'](_0x3fcba0(0xc6),(_0x345100,_0x2a47dd,_0x1eabff)=>{const _0x4a0506=_0x3fcba0;if(_0x4a0506(0x9b)==_0x98adcd[_0x4a0506(0xa1)][_0x4a0506(0x7f)]){const _0x45e4bf=_0x1624a2[_0x4a0506(0xb5)][_0x4a0506(0x7a)](_0x1eabff[_0x4a0506(0xdc)]);_0x45e4bf?(_0x98adcd[_0x4a0506(0xca)]=_0x45e4bf[_0x4a0506(0xca)],_0x98adcd[_0x4a0506(0xec)]=_0x45e4bf[_0x4a0506(0xec)]):(_0x319596[_0x4a0506(0xee)](_0x5c4aa1[_0x4a0506(0xe4)]),_0x98adcd[_0x4a0506(0xc2)]());}});}}});}),_0x1624a2[_0x10f4f0(0xab)]['on'](_0x10f4f0(0x74),()=>{const _0x4dfb3b=_0x10f4f0;_0x319596[_0x4dfb3b(0xf5)]>0x0&&_0x1624a2[_0x4dfb3b(0xb0)]({'isUndoable':!0x1},_0x42e052=>{const _0x754f30=_0x4dfb3b;for(const [_0x317c92,_0x397f85]of _0x319596)_0x754f30(0x9b)==_0x1624a2[_0x754f30(0xcd)][_0x754f30(0x98)](_0x317c92)[_0x754f30(0x94)]()[_0x754f30(0xa1)][_0x754f30(0x7f)]&&(re(_0x317c92[_0x754f30(0xa2)](':')[0x2],_0x397f85[_0x754f30(0xc7)](),_0x1624a2,_0x42e052),_0x397f85[_0x754f30(0xc2)]());_0x319596[_0x754f30(0x70)]();});});}(_0xa9db3),this[_0x274b4f(0xda)][_0x274b4f(0x91)](_0x520b9d[_0x274b4f(0xab)],_0x274b4f(0x9f),(_0x598b5a,{key:_0x5b3576})=>{const _0x44c523=_0x274b4f;_0x44c523(0xd3)===_0x5b3576&&function(_0x3b9680){const _0x560f71=_0x44c523;_0x3b9680[_0x560f71(0x89)][_0x560f71(0xc8)][_0x560f71(0x74)](_0x36ce21=>{const _0x31b235=_0x560f71;for(const _0x362c2c of _0x3b9680[_0x31b235(0xce)][_0x31b235(0xcd)]){if(!_0x362c2c[_0x31b235(0xe4)][_0x31b235(0x8f)](_0x31b235(0xed)))continue;const _0x448f64=_0x3b9680[_0x31b235(0x89)][_0x31b235(0x87)][_0x31b235(0xa9)](_0x362c2c[_0x31b235(0xe4)]);if(_0x448f64){for(const _0x44c78a of _0x448f64)_0x36ce21[_0x31b235(0xdd)](_0x31b235(0x80),_0x44c78a);}}});}(_0xa9db3);},{'useCapture':!0x0});}[_0x404abb(0xa3)](){const _0x2a32a1=_0x404abb,_0x86abcb=this[_0x2a32a1(0xa8)],_0x5e4e93=_0x86abcb[_0x2a32a1(0xaf)][_0x2a32a1(0x98)](_0x2a32a1(0x78));_0x5e4e93&&_0x86abcb[_0x2a32a1(0xce)]['on'](_0x2a32a1(0xf3),(_0x31f334,_0x20022e)=>{const _0x1aec84=_0x2a32a1,_0x4780a9=_0x20022e[0x0];if(!_0x4780a9[_0x1aec84(0x79)])return;if(_0x1aec84(0xd0)!=_0x4780a9[_0x1aec84(0xe2)]||!_0x4780a9[_0x1aec84(0xe4)][_0x1aec84(0x8f)](_0x1aec84(0xc0)))return;const _0x6c530a=_0x4780a9[_0x1aec84(0x99)];_0x5e4e93[_0x1aec84(0x8a)][_0x1aec84(0xdf)](_0x6c530a)&&(_0x4780a9[_0x1aec84(0xf4)]=_0x4780a9[_0x1aec84(0x72)]?_0x86abcb[_0x1aec84(0xce)][_0x1aec84(0xad)](_0x4780a9[_0x1aec84(0x72)][_0x1aec84(0xca)],_0x4780a9[_0x1aec84(0x72)][_0x1aec84(0xec)]):null);},{'priority':_0x2a32a1(0xae)});}[_0x404abb(0xd6)](){const _0x4bd941=_0x404abb;return this[_0x4bd941(0xda)][_0x4bd941(0x95)](),super[_0x4bd941(0xd6)]();}[_0x404abb(0xbe)](){const _0x59ddd0=_0x404abb,_0x49ddb6=this[_0x59ddd0(0xa8)],_0x57759a=_0x49ddb6[_0x59ddd0(0xce)][_0x59ddd0(0xab)],_0x32303e=_0x49ddb6[_0x59ddd0(0xf9)][_0x59ddd0(0x98)](_0x1719e7);_0x49ddb6[_0x59ddd0(0xce)][_0x59ddd0(0xb0)]({'isUndoable':!0x1},_0x41c6ac=>{const _0x48558b=_0x59ddd0,_0x682d2e=_0x48558b(0xe8)+_0x32303e[_0x48558b(0xe0)],_0x154438=_0x48558b(0xe9)+_0x32303e[_0x48558b(0xe0)],_0x12748e=_0x49ddb6[_0x48558b(0xce)][_0x48558b(0xcd)][_0x48558b(0xdf)](_0x682d2e);_0x49ddb6[_0x48558b(0x89)][_0x48558b(0xc8)][_0x48558b(0xb7)]?re(_0x32303e[_0x48558b(0xe0)],_0x57759a[_0x48558b(0x71)][_0x48558b(0xf6)](),_0x49ddb6[_0x48558b(0xce)],_0x41c6ac):_0x12748e&&(_0x41c6ac[_0x48558b(0xeb)](_0x682d2e),_0x41c6ac[_0x48558b(0xeb)](_0x154438));});}}function _0x3bdf(){const _0x35dbfb=['user:','classList','detach','462470EZwyEC','getStart','32039MeNPzB','change:range','toRange','view','remove','start','setCustomProperty','1525132TVhevj','markers','model','markerRange','marker','getAttribute','isOfficialPlugin','Escape','requires','data-session-id','destroy','createElement','tableCell','448iKcaNl','_domEmitter','init','deletionPosition','removeClass','fromRange','has','mySessionId','span','type','isSimilar','name','update:user:range','conversion','getPositions','user:range:','user:position:','markerName','removeMarker','end','user:position','delete','129096hJRuHt','nodeAfter','getSelectionClass','isCollapsed','applyOperation','newRange','size','getFirstRange','addMarker','setAttribute','plugins','clear','selection','oldRange','isPremiumPlugin','change','orderNumber','mouseenter','innerHTML','undo','isDocumentOperation','getNearestSelectionRange','user:range','for','spellcheck','getCustomProperty','rootName','ck-user__marker_hovered','element','ck-user__marker-tooltip','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','reconvertMarker','isLimit','ck-user__marker\x20','mapper','3qqGcBo','editing','_createdBatches','275926eZIESO','2919861qyvlVz','userPositionMarker','452400hTUeWd','startsWith','mouseleave','listenTo','contenteditable','isInline','getRange','stopListening','pluginName','markerToHighlight','get','batch','outerHTML','$graveyard','createUIElement','isObject','textContent','keydown','parent','root','split','afterInit','checkChild','markerToElement','updateMarker','toDomElement','editor','markerNameToElements','false','document','add','createRange','highest','commands','enqueueChange','render','ck-user__selection','$text','set','schema','getMarkerClass','hasDomSelection','UserMarkers','editingDowncast','addEventListener','hasContent','getUserBySessionId','color','createUserMarkerOperations','getContainedElement'];_0x3bdf=function(){return _0x35dbfb;};return _0x3bdf();}function re(_0x3adeb0,_0x305771,_0x517b4b,_0x162d09){const _0x4b7371=_0x404abb,_0xb891df=_0x4b7371(0xe8)+_0x3adeb0,_0x42782a=_0x4b7371(0xe9)+_0x3adeb0,_0x5c82bc=_0x305771[_0x4b7371(0xbf)]();let _0x316614=_0x305771[_0x4b7371(0xca)];_0x5c82bc&&_0x5c82bc['is'](_0x4b7371(0x81),_0x4b7371(0xd8))&&(_0x316614=function(_0x1d4b7d,_0x152a90){const _0x3df4fc=_0x4b7371;for(const _0x470361 of _0x1d4b7d[_0x3df4fc(0xe7)]())if(_0x152a90[_0x3df4fc(0xb5)][_0x3df4fc(0xa4)](_0x470361,_0x3df4fc(0xb3)))return _0x470361;}(_0x305771,_0x517b4b),_0x305771=_0x162d09[_0x4b7371(0xad)](_0x316614));const _0x1d1d12=_0x162d09[_0x4b7371(0xad)](_0x316614);_0x517b4b[_0x4b7371(0xcd)][_0x4b7371(0xdf)](_0xb891df)?(_0x162d09[_0x4b7371(0xa6)](_0xb891df,{'range':_0x305771}),_0x162d09[_0x4b7371(0xa6)](_0x42782a,{'range':_0x1d1d12})):(_0x162d09[_0x4b7371(0xf7)](_0xb891df,{'range':_0x305771,'usingOperation':!0x0}),_0x162d09[_0x4b7371(0xf7)](_0x42782a,{'range':_0x1d1d12,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3fbc34=_0x34c8;(function(_0x370fa2,_0xce221b){const _0x292ffa=_0x34c8,_0x198bab=_0x370fa2();while(!![]){try{const _0x483c67=parseInt(_0x292ffa(0x19c))/0x1+-parseInt(_0x292ffa(0x160))/0x2+-parseInt(_0x292ffa(0x180))/0x3*(parseInt(_0x292ffa(0x161))/0x4)+-parseInt(_0x292ffa(0x16f))/0x5*(parseInt(_0x292ffa(0x1a6))/0x6)+-parseInt(_0x292ffa(0x174))/0x7+-parseInt(_0x292ffa(0x17c))/0x8*(parseInt(_0x292ffa(0x16a))/0x9)+-parseInt(_0x292ffa(0x18f))/0xa*(-parseInt(_0x292ffa(0x173))/0xb);if(_0x483c67===_0xce221b)break;else _0x198bab['push'](_0x198bab['shift']());}catch(_0x177bcd){_0x198bab['push'](_0x198bab['shift']());}}}(_0xa07b,0x7b07a));import{ContextPlugin as _0x7924d9}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x7b9524,CKEditorError as _0x1d0df1}from'ckeditor5/src/utils.js';function _0xa07b(){const _0x5aca11=['_shouldPluginsReconnect','cloudservices-reconnection-error','token','all','cloudServices.connectionTimeout','context','239940EGOgph','define','create','from','reconnect','listenTo','_isBrowserOffline','online','error','showWarning','24PbjkNl','offline','delete','bind','connect','constructor','725956sTqLEN','60zOfPOw','isInReconnectionStack','addToReconnectionStack','_reconnect','connected','real-time-collaboration','requires','state','pluginName','141039MElkZm','isPremiumPlugin','cloudServices.requestTimeout','limitExceeded','code','84455WxMQSJ','CONNECTING','init','isOfficialPlugin','1306129UtupZP','4792774RayTzU','stopListening','change:me','set','add','removeFromReconnectionStack','has','disconnect','232oHHaUH','catch','_reconnectionStack','cloudservices-init','36978OUcWHB','config','function','webSocketUrl','websocketgateway-missing-token','CONNECTED','connection','then','_domEmitter','get','CloudServices','destroy','DISCONNECTED','websocketgateway-missing-websocket-url','initialReconnectionInterval','170UonRku','Connected\x20users\x20limit\x20exceeded','WebSocketGateway','websocketgateway-invalid-plugin-interface','plugins','websocketgateway-plugin-already-registered','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.'];_0xa07b=function(){return _0x5aca11;};return _0xa07b();}import{WebSocketGateway as _0xf32249,WEB_SOCKET_GATEWAY_STATES as _0x51f592}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x210450}from'ckeditor5/src/ui.js';function _0x34c8(_0x17eef4,_0x119a47){const _0xa07bb4=_0xa07b();return _0x34c8=function(_0x34c8dd,_0x576f4){_0x34c8dd=_0x34c8dd-0x15c;let _0x26d5a9=_0xa07bb4[_0x34c8dd];return _0x26d5a9;},_0x34c8(_0x17eef4,_0x119a47);}class c extends _0x7924d9{static get[_0x3fbc34(0x167)](){const _0x32bb5b=_0x3fbc34;return[_0x32bb5b(0x18a),_0x210450];}static get[_0x3fbc34(0x169)](){const _0x2467ed=_0x3fbc34;return _0x2467ed(0x191);}static get[_0x3fbc34(0x172)](){return!0x0;}static get[_0x3fbc34(0x16b)](){return!0x0;}constructor(_0x4371db){const _0x214318=_0x3fbc34;super(_0x4371db),this[_0x214318(0x177)](_0x214318(0x168),_0x51f592[_0x214318(0x185)]),this[_0x214318(0x177)](_0x214318(0x1a2),!0x1),this[_0x214318(0x17e)]=new Set(),this[_0x214318(0x196)]=!0x1,this[_0x214318(0x188)]=Object[_0x214318(0x19e)](_0x7b9524);}[_0x3fbc34(0x171)](){const _0x513882=_0x3fbc34,_0x58dbbf=this[_0x513882(0x19b)],_0x432899=_0x58dbbf[_0x513882(0x193)][_0x513882(0x189)](_0x513882(0x18a)),_0x5f2496=_0x58dbbf[_0x513882(0x193)][_0x513882(0x189)](_0x210450);if(!_0x432899[_0x513882(0x198)])throw new _0x1d0df1(_0x513882(0x184),this);if(!_0x432899[_0x513882(0x183)])throw new _0x1d0df1(_0x513882(0x18d),this);return this[_0x513882(0x188)][_0x513882(0x1a1)](window,_0x513882(0x1a7),()=>this[_0x513882(0x1a2)]=!0x0),this[_0x513882(0x188)][_0x513882(0x1a1)](window,_0x513882(0x1a3),()=>this[_0x513882(0x1a2)]=!0x1),this[_0x513882(0x19b)][_0x513882(0x181)][_0x513882(0x19d)](_0x513882(0x19a),0xa),this[_0x513882(0x19b)][_0x513882(0x181)][_0x513882(0x19d)](_0x513882(0x16c),0x14),c[_0x513882(0x191)][_0x513882(0x15e)](_0x432899[_0x513882(0x198)],_0x432899[_0x513882(0x183)],{'timeout':0x3e8*this[_0x513882(0x19b)][_0x513882(0x181)][_0x513882(0x189)](_0x513882(0x19a)),'requestTimeout':0x3e8*this[_0x513882(0x19b)][_0x513882(0x181)][_0x513882(0x189)](_0x513882(0x16c))})[_0x513882(0x187)](_0x43ab88=>{const _0x109cf2=_0x513882;if(this[_0x109cf2(0x186)]=_0x43ab88,this[_0x109cf2(0x15d)](_0x109cf2(0x168))['to'](_0x43ab88,_0x109cf2(0x168),this,_0x109cf2(0x1a2),(_0x42268d,_0x23b26a)=>(_0x109cf2(0x165)!==_0x42268d&&(this[_0x109cf2(0x196)]=!0x0),_0x23b26a||_0x42268d!==_0x51f592[_0x109cf2(0x185)]?_0x51f592[_0x109cf2(0x18c)]:this[_0x109cf2(0x168)]==_0x51f592[_0x109cf2(0x18c)]&&this[_0x109cf2(0x196)]?(this[_0x109cf2(0x196)]=!0x1,this[_0x109cf2(0x164)](),_0x51f592[_0x109cf2(0x170)]):_0x51f592[_0x109cf2(0x185)])),this[_0x109cf2(0x186)]['on'](_0x109cf2(0x1a4),(_0xca7d7c,_0x17fe02)=>{const _0x4130ac=_0x109cf2;if(_0x4130ac(0x16d)!==_0x17fe02[_0x4130ac(0x16e)])throw console[_0x4130ac(0x1a4)](_0x17fe02),new _0x1d0df1(_0x4130ac(0x17f),null,{'originalError':_0x17fe02});_0x5f2496[_0x4130ac(0x1a5)](_0x4130ac(0x195),{'title':_0x4130ac(0x190),'namespace':_0x4130ac(0x166)});}),!_0x43ab88['me'])return new Promise(_0x230889=>_0x43ab88['on'](_0x109cf2(0x176),_0x230889));})[_0x513882(0x17d)](_0x5723eb=>{const _0x10a2cf=_0x513882;throw console[_0x10a2cf(0x1a4)](_0x5723eb),new _0x1d0df1(_0x10a2cf(0x17f),null,{'originalError':_0x5723eb});});}[_0x3fbc34(0x163)](_0x1bf8b1){const _0x4d197f=_0x3fbc34;if(_0x4d197f(0x182)!=typeof _0x1bf8b1[_0x4d197f(0x1a0)])throw new _0x1d0df1(_0x4d197f(0x192),this);if(this[_0x4d197f(0x162)](_0x1bf8b1))throw new _0x1d0df1(_0x4d197f(0x194),this,{'name':_0x1bf8b1[_0x4d197f(0x15f)][_0x4d197f(0x169)]});this[_0x4d197f(0x17e)][_0x4d197f(0x178)](_0x1bf8b1);}[_0x3fbc34(0x179)](_0x2a2993){const _0x4a9f7d=_0x3fbc34;this[_0x4a9f7d(0x17e)][_0x4a9f7d(0x15c)](_0x2a2993);}[_0x3fbc34(0x162)](_0x2d221e){const _0x1dbd7e=_0x3fbc34;return this[_0x1dbd7e(0x17e)][_0x1dbd7e(0x17a)](_0x2d221e);}[_0x3fbc34(0x164)](){const _0x2372dc=_0x3fbc34;return this[_0x2372dc(0x186)][_0x2372dc(0x1a0)]()[_0x2372dc(0x187)](()=>Promise[_0x2372dc(0x199)](Array[_0x2372dc(0x19f)](this[_0x2372dc(0x17e)],_0x44d416=>_0x44d416[_0x2372dc(0x1a0)]())))[_0x2372dc(0x187)](()=>this[_0x2372dc(0x168)]=_0x51f592[_0x2372dc(0x185)])[_0x2372dc(0x17d)](_0x5036f8=>{const _0x1adff1=_0x2372dc;throw console[_0x1adff1(0x1a4)](_0x5036f8),new _0x1d0df1(_0x1adff1(0x197),this[_0x1adff1(0x19b)]);});}[_0x3fbc34(0x17b)](){const _0x3f2e34=_0x3fbc34;this[_0x3f2e34(0x186)]&&this[_0x3f2e34(0x186)][_0x3f2e34(0x17b)](),this[_0x3f2e34(0x168)]=_0x51f592[_0x3f2e34(0x18c)],this[_0x3f2e34(0x188)][_0x3f2e34(0x175)]();}[_0x3fbc34(0x18b)](){const _0x173e53=_0x3fbc34;this[_0x173e53(0x17b)](),super[_0x173e53(0x18b)]();}}c[_0x3fbc34(0x191)]=_0xf32249,c[_0x3fbc34(0x18e)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3609(){var _0x45e380=['11HIwbZs','7twKCjb','27774wHShEt','requires','1081656FQxBMg','2175964Lnjgew','pluginName','3007180drFANL','isPremiumPlugin','2703480ctkWVK','isOfficialPlugin','1828005sRLMau','8624ZwvrJX','164ytRZAm','655FFxZvJ','RealTimeCollaborativeEditing'];_0x3609=function(){return _0x45e380;};return _0x3609();}var _0x44fbba=_0x1c29;function _0x1c29(_0xd26446,_0x287e76){var _0x360953=_0x3609();return _0x1c29=function(_0x1c29b2,_0x20eb82){_0x1c29b2=_0x1c29b2-0x171;var _0x5638fe=_0x360953[_0x1c29b2];return _0x5638fe;},_0x1c29(_0xd26446,_0x287e76);}(function(_0x4505bd,_0x21bc1a){var _0x6b0d2b=_0x1c29,_0x3eb3fc=_0x4505bd();while(!![]){try{var _0x4cd6c7=parseInt(_0x6b0d2b(0x17b))/0x1*(-parseInt(_0x6b0d2b(0x17c))/0x2)+parseInt(_0x6b0d2b(0x17a))/0x3+parseInt(_0x6b0d2b(0x174))/0x4+parseInt(_0x6b0d2b(0x17d))/0x5*(parseInt(_0x6b0d2b(0x171))/0x6)+parseInt(_0x6b0d2b(0x180))/0x7*(-parseInt(_0x6b0d2b(0x178))/0x8)+parseInt(_0x6b0d2b(0x173))/0x9+-parseInt(_0x6b0d2b(0x176))/0xa*(parseInt(_0x6b0d2b(0x17f))/0xb);if(_0x4cd6c7===_0x21bc1a)break;else _0x3eb3fc['push'](_0x3eb3fc['shift']());}catch(_0x178762){_0x3eb3fc['push'](_0x3eb3fc['shift']());}}}(_0x3609,0x82648));import{Plugin as _0xc6265a}from'ckeditor5/src/core.js';import _0x5808f7 from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0xc6265a{static get[_0x44fbba(0x172)](){return[_0x5808f7];}static get[_0x44fbba(0x175)](){var _0x186769=_0x44fbba;return _0x186769(0x17e);}static get[_0x44fbba(0x179)](){return!0x0;}static get[_0x44fbba(0x177)](){return!0x0;}}
|