@ckeditor/ckeditor5-real-time-collaboration 44.2.0-alpha.10 → 44.2.0-alpha.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x240925=_0x321b;(function(_0x4652b7,_0x1cc76c){const _0x5b8fa1=_0x321b,_0x3d2bdb=_0x4652b7();while(!![]){try{const _0x447010=parseInt(_0x5b8fa1(0x21f))/0x1+-parseInt(_0x5b8fa1(0x1ff))/0x2*(-parseInt(_0x5b8fa1(0x1f0))/0x3)+-parseInt(_0x5b8fa1(0x22f))/0x4*(parseInt(_0x5b8fa1(0x1e1))/0x5)+-parseInt(_0x5b8fa1(0x1d3))/0x6*(-parseInt(_0x5b8fa1(0x226))/0x7)+parseInt(_0x5b8fa1(0x20f))/0x8*(-parseInt(_0x5b8fa1(0x22a))/0x9)+-parseInt(_0x5b8fa1(0x1fe))/0xa+-parseInt(_0x5b8fa1(0x209))/0xb;if(_0x447010===_0x1cc76c)break;else _0x3d2bdb['push'](_0x3d2bdb['shift']());}catch(_0x2c8d1b){_0x3d2bdb['push'](_0x3d2bdb['shift']());}}}(_0x1e71,0x3189d));import{Context as _0x5c43a2,ContextPlugin as _0x4c4d3f}from'ckeditor5/src/core.js';import{CKEditorError as _0x574583}from'ckeditor5/src/utils.js';import{Users as _0x192a1b}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1e71(){const _0x574a18=['addToReconnectionStack','104UWOEdB','connect','catch','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','getCommentThreads','attributes','resolveCommentThread','commentThreadId','cloud-services-internal-error:\x20Not\x20connected.','isPremiumPlugin','commentThreadRemoved','reconnect','sessionAdd:','assign','off','addUser','402000EHPpcz','size','commentAdded','unregister','content','removeCommentThread','updateComment','81977LDNKpy','commentThreadResolved','getCommentThread','404','21294RnDHax','adapter','keys','delete','isOfficialPlugin','1027228nGGSob','_setUpService','comments','update','get','requires','updateCommentThread','_getService','resolve','add','permissions','174YZEaPD','commentRemoved','map','commentThreadReopened','startsWith','_connectService','commentUpdated','commentThreadAdded','context','reopenCommentThread','_services','listenTo','destroy','resolvedAt','5XryPSr','cloudservicescommentsadapter-disconnect-not-exist','set','commentThreadUpdated','commentId','addComment','removeComment','getConnectedSessions','disconnect','_terminateService','CloudServicesCommentsAdapter','collaboration.channelId','authorId','code','getUser','87tITLek','message','plugins','config','createdAt','cloud-services-internal-error:\x20Request\x20timeout.','cloudservicescommentsadapter-service-not-exist','CommentsService','addCommentThread','resolvedBy','pluginName','getMany','_fetchMissingUsersForThreads','userId','745250rNzNEu','23060gGjGdX','CommentsRepository','Permissions','register','getComment','deletedAt','mySessionId','cloudservicescommentsadapter-connect-already-connected','reopen','remove','5620890GFpGLw','has','init','setPermissions','from'];_0x1e71=function(){return _0x574a18;};return _0x1e71();}import{CommentsService as _0x4979b8,User as _0x5ec5e3}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x37046a from'../realtimecollaborativeediting/websocketgateway.js';import _0x3d23ff from'../realtimecollaborativeediting/sessions.js';class a extends _0x4c4d3f{static get[_0x240925(0x234)](){const _0x21ea2c=_0x240925;return[_0x37046a,_0x21ea2c(0x200),_0x3d23ff,_0x192a1b];}static get[_0x240925(0x1fa)](){const _0x307bb1=_0x240925;return _0x307bb1(0x1eb);}static get[_0x240925(0x22e)](){return!0x0;}static get[_0x240925(0x218)](){return!0x0;}constructor(_0x3b0e83){const _0x1e04cd=_0x240925;super(_0x3b0e83),this[_0x1e04cd(0x1dd)]=new Map();}async[_0x240925(0x20b)](){const _0x59a0da=_0x240925,_0xfc6204=this[_0x59a0da(0x1db)],_0x4de5d2=_0xfc6204[_0x59a0da(0x1f2)][_0x59a0da(0x233)](_0x59a0da(0x200));if(_0xfc6204[_0x59a0da(0x1f2)][_0x59a0da(0x233)](_0x37046a)[_0x59a0da(0x20e)](this),_0x4de5d2[_0x59a0da(0x22b)]={'addCommentThread':async({channelId:_0x4e025a,threadId:_0x32ca98,comments:_0x1920d7,resolvedAt:_0xa08935,resolvedBy:_0x3e14b1,context:_0x5626fe,attributes:_0x390a44})=>{const _0x5930b1=_0x59a0da,_0x3ac32a=await this[_0x5930b1(0x236)](_0x4e025a)[_0x5930b1(0x1f8)]({'commentThreadId':_0x32ca98,'comments':_0x1920d7[_0x5930b1(0x1d5)](_0x246030=>function(_0x3834ef,_0x18be28,_0x99545f){const _0x37ae61=_0x5930b1;return{'commentThreadId':_0x99545f,'commentId':_0x3834ef[_0x37ae61(0x1e5)],'userId':_0x3834ef[_0x37ae61(0x1ed)],'content':_0x3834ef[_0x37ae61(0x223)],'documentId':_0x18be28,'createdAt':_0x3834ef[_0x37ae61(0x1f4)],'attributes':_0x3834ef[_0x37ae61(0x214)]||{}};}(_0x246030,_0x4e025a,_0x32ca98)),'resolvedAt':_0xa08935,'resolvedBy':_0x3e14b1,'context':_0x5626fe,'attributes':_0x390a44})[_0x5930b1(0x211)](R);return{'threadId':_0x3ac32a[_0x5930b1(0x216)],'comments':_0x3ac32a[_0x5930b1(0x231)]};},'getCommentThread':async({channelId:_0x3b6719,threadId:_0x73d0f8})=>{const _0xd70e76=_0x59a0da,_0x90b9cc=await this[_0xd70e76(0x236)](_0x3b6719)[_0xd70e76(0x228)](_0x73d0f8)[_0xd70e76(0x211)](R);return _0x90b9cc[_0xd70e76(0x204)]?null:(await this[_0xd70e76(0x1fc)]([_0x90b9cc]),{'threadId':_0x90b9cc[_0xd70e76(0x216)],'comments':_0x90b9cc[_0xd70e76(0x231)][_0xd70e76(0x1d5)](S),'context':_0x90b9cc[_0xd70e76(0x1db)],'resolvedAt':_0x90b9cc[_0xd70e76(0x1e0)],'resolvedBy':_0x90b9cc[_0xd70e76(0x1f9)],'attributes':_0x90b9cc[_0xd70e76(0x214)]||{}});},'updateCommentThread':async({channelId:_0x4546ba,threadId:_0x3297ea,context:_0x102e64,unlinkedAt:_0x4b9299,attributes:_0x49d3e5})=>this[_0x59a0da(0x236)](_0x4546ba)[_0x59a0da(0x235)]({'commentThreadId':_0x3297ea,'context':_0x102e64,'attributes':_0x49d3e5,'unlinkedAt':_0x4b9299})[_0x59a0da(0x211)](B)[_0x59a0da(0x211)](R),'resolveCommentThread':async({channelId:_0x1f5170,threadId:_0xe435eb})=>{const _0x172d02=_0x59a0da,_0x1ae960=await this[_0x172d02(0x236)](_0x1f5170)[_0x172d02(0x215)](_0xe435eb)[_0x172d02(0x211)](B)[_0x172d02(0x211)](R);return{'threadId':_0x1ae960[_0x172d02(0x216)],'resolvedAt':_0x1ae960[_0x172d02(0x1e0)],'resolvedBy':_0x1ae960[_0x172d02(0x1f9)]};},'reopenCommentThread':async({channelId:_0x552387,threadId:_0x375151})=>this[_0x59a0da(0x236)](_0x552387)[_0x59a0da(0x1dc)](_0x375151)[_0x59a0da(0x211)](B)[_0x59a0da(0x211)](R),'removeCommentThread':({channelId:_0x31c2ef,threadId:_0x3be2e7})=>this[_0x59a0da(0x236)](_0x31c2ef)[_0x59a0da(0x224)](_0x3be2e7)[_0x59a0da(0x211)](B)[_0x59a0da(0x211)](R),'addComment':({channelId:_0x47474b,threadId:_0x41078c,commentId:_0x1570d6,content:_0x427c10,attributes:_0x218227})=>this[_0x59a0da(0x236)](_0x47474b)[_0x59a0da(0x1e6)](_0x41078c,_0x1570d6,_0x427c10,_0x218227)[_0x59a0da(0x211)](R),'updateComment':({channelId:_0x274e74,threadId:_0x565313,commentId:_0x3a13a1,content:_0x1fb58e,attributes:_0x4ea4bd})=>this[_0x59a0da(0x236)](_0x274e74)[_0x59a0da(0x225)](_0x565313,_0x3a13a1,_0x1fb58e,_0x4ea4bd)[_0x59a0da(0x211)](B)[_0x59a0da(0x211)](R),'removeComment':({channelId:_0x9404ea,threadId:_0x4f97be,commentId:_0x7c8f70})=>this[_0x59a0da(0x236)](_0x9404ea)[_0x59a0da(0x1e7)](_0x4f97be,_0x7c8f70)[_0x59a0da(0x211)](B)[_0x59a0da(0x211)](R)},_0xfc6204 instanceof _0x5c43a2){const _0x4f3400=_0xfc6204[_0x59a0da(0x1f3)][_0x59a0da(0x233)](_0x59a0da(0x1ec)),_0x5b8c55=_0xfc6204[_0x59a0da(0x1f2)][_0x59a0da(0x233)](_0x3d23ff);await this[_0x59a0da(0x230)](_0x4f3400);const _0x4e0e38=await this[_0x59a0da(0x1dd)][_0x59a0da(0x233)](_0x4f3400)[_0x59a0da(0x1e8)]();this[_0x59a0da(0x1de)](_0x5b8c55,_0x59a0da(0x21b)+_0x4f3400,(_0x2c10c9,{session:_0x1a9f32})=>{const _0x472e96=_0x59a0da;_0x1a9f32['id']===_0x5b8c55[_0x472e96(0x205)]&&(_0x2c10c9[_0x472e96(0x21d)](),this[_0x472e96(0x1db)][_0x472e96(0x1f2)][_0x472e96(0x233)](_0x472e96(0x201))[_0x472e96(0x20c)](_0x1a9f32[_0x472e96(0x1d2)],_0x4f3400));}),_0x5b8c55[_0x59a0da(0x202)](_0x4f3400,_0x4e0e38);}}async[_0x240925(0x230)](_0x4d123){const _0x231807=_0x240925;if(this[_0x231807(0x1dd)][_0x231807(0x20a)](_0x4d123))throw new _0x574583(_0x231807(0x206),null,{'channelId':_0x4d123});const _0x15ba20=this[_0x231807(0x1db)][_0x231807(0x1f2)][_0x231807(0x233)](_0x231807(0x200)),_0x402a01=new a[(_0x231807(0x1f7))](_0x4d123);this[_0x231807(0x1dd)][_0x231807(0x1e3)](_0x4d123,_0x402a01),this[_0x231807(0x1de)](_0x402a01,_0x231807(0x1da),(_0xbc1123,_0x5b5ddd)=>{const _0x458e13=_0x231807,{commentThreadId:_0x27589c,documentId:_0x2a8ef2,context:_0x233b8c,attributes:_0x2f8733,resolvedAt:_0x392f84,resolvedBy:_0x5dd35d,comments:_0x3fb10f}=_0x5b5ddd;_0x15ba20[_0x458e13(0x228)](_0x27589c)||_0x15ba20[_0x458e13(0x1f8)]({'threadId':_0x27589c,'channelId':_0x2a8ef2,'comments':_0x3fb10f?_0x3fb10f[_0x458e13(0x1d5)](S):[],'context':_0x233b8c,'attributes':_0x2f8733,'resolvedAt':_0x392f84,'resolvedBy':_0x5dd35d,'isFromAdapter':!0x0});}),this[_0x231807(0x1de)](_0x402a01,_0x231807(0x1e4),(_0x5f1bf4,{commentThreadId:_0x14fae5,documentId:_0x51e209,context:_0x4a6d20,unlinkedAt:_0x2bdd65,attributes:_0x29c111})=>{const _0x21ed62=_0x231807;_0x15ba20[_0x21ed62(0x228)](_0x14fae5)&&_0x15ba20[_0x21ed62(0x235)]({'threadId':_0x14fae5,'channelId':_0x51e209,'context':_0x4a6d20,'unlinkedAt':_0x2bdd65,'attributes':_0x29c111,'isFromAdapter':!0x0});}),this[_0x231807(0x1de)](_0x402a01,_0x231807(0x227),(_0x4dc36c,{commentThreadId:_0x3cc9a6,resolvedBy:_0x5ccb12,resolvedAt:_0x556e92})=>{const _0x537e1e=_0x231807,_0x1c01bc=_0x15ba20[_0x537e1e(0x228)](_0x3cc9a6);_0x1c01bc&&_0x1c01bc[_0x537e1e(0x1d0)]({'resolvedBy':_0x5ccb12,'resolvedAt':_0x556e92,'isFromAdapter':!0x0});}),this[_0x231807(0x1de)](_0x402a01,_0x231807(0x1d6),(_0x3acc71,{commentThreadId:_0x1c3b89})=>{const _0x3dc90d=_0x231807,_0xfac864=_0x15ba20[_0x3dc90d(0x228)](_0x1c3b89);_0xfac864&&_0xfac864[_0x3dc90d(0x207)]({'isFromAdapter':!0x0});}),this[_0x231807(0x1de)](_0x402a01,_0x231807(0x219),(_0x535f7a,{commentThreadId:_0x3a4837})=>{const _0x47d8cd=_0x231807,_0x346e1b=_0x15ba20[_0x47d8cd(0x228)](_0x3a4837);_0x346e1b&&_0x346e1b[_0x47d8cd(0x208)]({'isFromAdapter':!0x0});}),this[_0x231807(0x1de)](_0x402a01,_0x231807(0x221),(_0x7b3c24,_0x55d16c)=>{const _0x138305=_0x231807,_0x27eb8b=_0x55d16c[_0x138305(0x216)],_0x2fe958=_0x15ba20[_0x138305(0x228)](_0x27eb8b);_0x2fe958&&_0x2fe958[_0x138305(0x1e6)]({...S(_0x55d16c),'isFromAdapter':!0x0});}),this[_0x231807(0x1de)](_0x402a01,_0x231807(0x1d9),(_0x3823eb,{commentThreadId:_0x4c5652,commentId:_0x5596a8,content:_0x511a29,attributes:_0x65ae31})=>{const _0x36bce1=_0x231807,_0x4ed3e2=_0x15ba20[_0x36bce1(0x228)](_0x4c5652);if(_0x4ed3e2){const _0x82daf5=_0x4ed3e2[_0x36bce1(0x203)](_0x5596a8);_0x82daf5&&_0x82daf5[_0x36bce1(0x232)]({'content':_0x511a29,'attributes':_0x65ae31,'isFromAdapter':!0x0});}}),this[_0x231807(0x1de)](_0x402a01,_0x231807(0x1d4),(_0x41aedd,{commentThreadId:_0x268267,commentId:_0x56eec4})=>{const _0x559e1c=_0x231807,_0x24e446=_0x15ba20[_0x559e1c(0x228)](_0x268267);if(_0x24e446){const _0x42a0e5=_0x24e446[_0x559e1c(0x203)](_0x56eec4);_0x42a0e5&&_0x42a0e5[_0x559e1c(0x208)]({'isFromAdapter':!0x0});}}),await this[_0x231807(0x1d8)](_0x4d123);}[_0x240925(0x1df)](){const _0x17ad22=_0x240925;if(this[_0x17ad22(0x1db)]instanceof _0x5c43a2){const _0x4f6f26=this[_0x17ad22(0x1db)][_0x17ad22(0x1f3)][_0x17ad22(0x233)](_0x17ad22(0x1ec));this[_0x17ad22(0x1ea)](_0x4f6f26);}}[_0x240925(0x1ea)](_0x5b8e05){const _0x1679c5=_0x240925;if(!this[_0x1679c5(0x1dd)][_0x1679c5(0x20a)](_0x5b8e05))throw new _0x574583(_0x1679c5(0x1e2),null,{'channelId':_0x5b8e05});this[_0x1679c5(0x236)](_0x5b8e05)[_0x1679c5(0x1e9)](),this[_0x1679c5(0x1dd)][_0x1679c5(0x22d)](_0x5b8e05);}async[_0x240925(0x21a)](){const _0x19ddd6=_0x240925;for(const _0xd818e9 of this[_0x19ddd6(0x1dd)][_0x19ddd6(0x22c)]())await this[_0x19ddd6(0x1d8)](_0xd818e9);if(this[_0x19ddd6(0x1db)]instanceof _0x5c43a2){const _0xeec6fd=this[_0x19ddd6(0x1db)][_0x19ddd6(0x1f3)][_0x19ddd6(0x233)](_0x19ddd6(0x1ec)),_0x8360a1=this[_0x19ddd6(0x1db)][_0x19ddd6(0x1f2)][_0x19ddd6(0x233)](_0x3d23ff);_0x8360a1[_0x19ddd6(0x222)](_0xeec6fd);const _0x2a43c9=await this[_0x19ddd6(0x1dd)][_0x19ddd6(0x233)](_0xeec6fd)[_0x19ddd6(0x1e8)]();_0x8360a1[_0x19ddd6(0x202)](_0xeec6fd,_0x2a43c9);}}async[_0x240925(0x1d8)](_0x2a4d0f){const _0xc79792=_0x240925,{connection:_0x172378}=this[_0xc79792(0x1db)][_0xc79792(0x1f2)][_0xc79792(0x233)](_0x37046a),_0x445603=this[_0xc79792(0x1db)][_0xc79792(0x1f2)][_0xc79792(0x233)](_0xc79792(0x200)),_0x395c4b=this[_0xc79792(0x1dd)][_0xc79792(0x233)](_0x2a4d0f),_0x4230e3=await _0x395c4b[_0xc79792(0x210)](_0x172378);await this[_0xc79792(0x1fc)](_0x4230e3);const _0x39b629=new Set(Array[_0xc79792(0x20d)](_0x445603[_0xc79792(0x213)]({'channelId':_0x2a4d0f}),_0xbecc39=>_0xbecc39['id']));for(const _0x246b8b of _0x4230e3)_0x246b8b[_0xc79792(0x204)]||_0x39b629[_0xc79792(0x22d)](_0x246b8b[_0xc79792(0x216)]);for(const _0x4de50d of _0x39b629)_0x445603[_0xc79792(0x228)](_0x4de50d)[_0xc79792(0x208)]({'isFromAdapter':!0x0});for(const _0x202c31 of _0x4230e3){let _0x40b47b=_0x445603[_0xc79792(0x228)](_0x202c31[_0xc79792(0x216)]);const {commentThreadId:_0xdff7f9,context:_0x3ea230,attributes:_0x477729,resolvedBy:_0x297726,resolvedAt:_0x1d9ba7,unlinkedAt:_0x4f4c65,deletedAt:_0x40510b}=_0x202c31;if(_0x40510b)continue;_0x40b47b||(_0x40b47b=_0x445603[_0xc79792(0x1f8)]({'channelId':_0x2a4d0f,'threadId':_0xdff7f9,'context':_0x3ea230,'attributes':_0x477729||{},'resolvedBy':_0x297726,'resolvedAt':_0x1d9ba7,'unlinkedAt':_0x4f4c65,'isFromAdapter':!0x0}));const _0x45e8e7=new Set(Array[_0xc79792(0x20d)](_0x40b47b[_0xc79792(0x231)],_0x166e2c=>_0x166e2c['id']));for(const _0x58931e of _0x202c31[_0xc79792(0x231)])_0x45e8e7[_0xc79792(0x22d)](_0x58931e[_0xc79792(0x1e5)]);for(const _0x5e26cc of _0x45e8e7)_0x40b47b[_0xc79792(0x203)](_0x5e26cc)[_0xc79792(0x208)]({'isFromAdapter':!0x0});for(const _0x17b7b7 of _0x202c31[_0xc79792(0x231)]){const _0x4f6784=_0x40b47b[_0xc79792(0x203)](_0x17b7b7[_0xc79792(0x1e5)]);_0x4f6784?_0x4f6784[_0xc79792(0x223)]!==_0x17b7b7[_0xc79792(0x223)]&&_0x4f6784[_0xc79792(0x232)]({'content':_0x17b7b7[_0xc79792(0x223)],'isFromAdapter':!0x0}):_0x40b47b[_0xc79792(0x1e6)](Object[_0xc79792(0x21c)](S(_0x17b7b7),{'isFromAdapter':!0x0}));}}}[_0x240925(0x236)](_0x156b63){const _0x3e460e=_0x240925;if(!this[_0x3e460e(0x1dd)][_0x3e460e(0x20a)](_0x156b63))throw new _0x574583(_0x3e460e(0x1f6),null,{'channelId':_0x156b63});return this[_0x3e460e(0x1dd)][_0x3e460e(0x233)](_0x156b63);}async[_0x240925(0x1fc)](_0x2230c9){const _0x3c838b=_0x240925,_0x207fa0=this[_0x3c838b(0x1db)][_0x3c838b(0x1f2)][_0x3c838b(0x233)](_0x192a1b),{connection:_0x44e9b3}=this[_0x3c838b(0x1db)][_0x3c838b(0x1f2)][_0x3c838b(0x233)](_0x37046a),_0x5b3962=new Set();for(const {resolvedBy:_0x1a43cf,comments:_0x531275}of _0x2230c9){_0x1a43cf&&!_0x207fa0[_0x3c838b(0x1ef)](_0x1a43cf)&&_0x5b3962[_0x3c838b(0x1d1)](_0x1a43cf);for(const {userId:_0x530787}of _0x531275)_0x207fa0[_0x3c838b(0x1ef)](_0x530787)||_0x5b3962[_0x3c838b(0x1d1)](_0x530787);}if(0x0===_0x5b3962[_0x3c838b(0x220)])return;const _0x251f29=await _0x5ec5e3[_0x3c838b(0x1fb)](_0x44e9b3,Array[_0x3c838b(0x20d)](_0x5b3962));for(const _0x1ea47c of _0x251f29)_0x207fa0[_0x3c838b(0x1ef)](_0x1ea47c['id'])||_0x207fa0[_0x3c838b(0x21e)](_0x1ea47c);}}a[_0x240925(0x1f7)]=_0x4979b8;function _0x321b(_0x36b37a,_0x1cdd43){const _0x1e71dd=_0x1e71();return _0x321b=function(_0x321b10,_0x458a7d){_0x321b10=_0x321b10-0x1d0;let _0x255dd0=_0x1e71dd[_0x321b10];return _0x255dd0;},_0x321b(_0x36b37a,_0x1cdd43);}export default a;async function B(_0x14cee4){const _0x3302a2=_0x240925;if(_0x3302a2(0x229)!==_0x14cee4[_0x3302a2(0x1ee)])throw _0x14cee4;}function R(_0x342f44){const _0x56d3a3=_0x240925;if((_0x7a49a3=_0x342f44)[_0x56d3a3(0x1f1)][_0x56d3a3(0x1d7)](_0x56d3a3(0x212))||_0x7a49a3[_0x56d3a3(0x1f1)][_0x56d3a3(0x1d7)](_0x56d3a3(0x217))||_0x7a49a3[_0x56d3a3(0x1f1)][_0x56d3a3(0x1d7)](_0x56d3a3(0x1f5)))return new Promise(()=>{});var _0x7a49a3;throw _0x342f44;}function S(_0x1097f4){const _0x38c4a1=_0x240925;return{'threadId':_0x1097f4[_0x38c4a1(0x216)],'commentId':_0x1097f4[_0x38c4a1(0x1e5)],'content':_0x1097f4[_0x38c4a1(0x223)],'createdAt':_0x1097f4[_0x38c4a1(0x1f4)],'authorId':_0x1097f4[_0x38c4a1(0x1fd)],'attributes':_0x1097f4[_0x38c4a1(0x214)]||{}};}
|
|
23
|
+
function _0xeb0a(_0x38aa4,_0x340b2f){const _0x1a331d=_0x1a33();return _0xeb0a=function(_0xeb0a4b,_0x32b7a1){_0xeb0a4b=_0xeb0a4b-0x6b;let _0x54c731=_0x1a331d[_0xeb0a4b];return _0x54c731;},_0xeb0a(_0x38aa4,_0x340b2f);}const _0x157489=_0xeb0a;(function(_0x11f6ca,_0x5f2f58){const _0x3e05af=_0xeb0a,_0xc93dac=_0x11f6ca();while(!![]){try{const _0x3a85c8=parseInt(_0x3e05af(0xb9))/0x1*(-parseInt(_0x3e05af(0x82))/0x2)+parseInt(_0x3e05af(0xbf))/0x3*(-parseInt(_0x3e05af(0xc3))/0x4)+-parseInt(_0x3e05af(0x9b))/0x5*(-parseInt(_0x3e05af(0xcf))/0x6)+-parseInt(_0x3e05af(0x7f))/0x7*(-parseInt(_0x3e05af(0xb1))/0x8)+parseInt(_0x3e05af(0x88))/0x9*(-parseInt(_0x3e05af(0xb0))/0xa)+-parseInt(_0x3e05af(0x7c))/0xb+parseInt(_0x3e05af(0xba))/0xc*(parseInt(_0x3e05af(0xb6))/0xd);if(_0x3a85c8===_0x5f2f58)break;else _0xc93dac['push'](_0xc93dac['shift']());}catch(_0x4be24d){_0xc93dac['push'](_0xc93dac['shift']());}}}(_0x1a33,0x84d5a));import{Context as _0x45bb07,ContextPlugin as _0x6f5ad6}from'ckeditor5/src/core.js';import{CKEditorError as _0x4bb878}from'ckeditor5/src/utils.js';import{Users as _0x200940}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x4502a9,User as _0xd21ee4}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x721b1a from'../realtimecollaborativeediting/websocketgateway.js';import _0x332c82 from'../realtimecollaborativeediting/sessions.js';class a extends _0x6f5ad6{static get[_0x157489(0x86)](){const _0x5e2e02=_0x157489;return[_0x721b1a,_0x5e2e02(0xcc),_0x332c82,_0x200940];}static get[_0x157489(0x70)](){const _0x360a47=_0x157489;return _0x360a47(0x90);}static get[_0x157489(0xa3)](){return!0x0;}static get[_0x157489(0x97)](){return!0x0;}constructor(_0xe4acc4){const _0x2ab5ca=_0x157489;super(_0xe4acc4),this[_0x2ab5ca(0x7a)]=new Map();}async[_0x157489(0xac)](){const _0x332e8f=_0x157489,_0x2e29d6=this[_0x332e8f(0x7e)],_0xf4f25b=_0x2e29d6[_0x332e8f(0x78)][_0x332e8f(0xa4)](_0x332e8f(0xcc));if(_0x2e29d6[_0x332e8f(0x78)][_0x332e8f(0xa4)](_0x721b1a)[_0x332e8f(0x6f)](this),_0xf4f25b[_0x332e8f(0x71)]={'addCommentThread':async({channelId:_0x175780,threadId:_0x2d7ac9,comments:_0x3834dc,resolvedAt:_0x2a623a,resolvedBy:_0x5b375e,context:_0x70653d,attributes:_0x906dde})=>{const _0x554d57=_0x332e8f,_0x1b1a2d=await this[_0x554d57(0xab)](_0x175780)[_0x554d57(0xa5)]({'commentThreadId':_0x2d7ac9,'comments':_0x3834dc[_0x554d57(0xaa)](_0x1c992f=>function(_0x402884,_0x470da8,_0x326cc5){const _0x35ee0a=_0x554d57;return{'commentThreadId':_0x326cc5,'commentId':_0x402884[_0x35ee0a(0x8c)],'userId':_0x402884[_0x35ee0a(0x7b)],'content':_0x402884[_0x35ee0a(0x89)],'documentId':_0x470da8,'createdAt':_0x402884[_0x35ee0a(0x93)],'attributes':_0x402884[_0x35ee0a(0xa7)]||{}};}(_0x1c992f,_0x175780,_0x2d7ac9)),'resolvedAt':_0x2a623a,'resolvedBy':_0x5b375e,'context':_0x70653d,'attributes':_0x906dde})[_0x554d57(0xa8)](w);return{'threadId':_0x1b1a2d[_0x554d57(0xc9)],'comments':_0x1b1a2d[_0x554d57(0xae)]};},'getCommentThread':async({channelId:_0x4193a7,threadId:_0x4171d1})=>{const _0x252f95=_0x332e8f,_0x3330ef=await this[_0x252f95(0xab)](_0x4193a7)[_0x252f95(0x91)](_0x4171d1)[_0x252f95(0xa8)](w);return _0x3330ef[_0x252f95(0x75)]?null:(await this[_0x252f95(0xa6)]([_0x3330ef]),{'threadId':_0x3330ef[_0x252f95(0xc9)],'comments':_0x3330ef[_0x252f95(0xae)][_0x252f95(0xaa)](b),'context':_0x3330ef[_0x252f95(0x7e)],'resolvedAt':_0x3330ef[_0x252f95(0xd3)],'resolvedBy':_0x3330ef[_0x252f95(0xcd)],'attributes':_0x3330ef[_0x252f95(0xa7)]||{}});},'updateCommentThread':async({channelId:_0x50bd9e,threadId:_0x1fb6ae,context:_0x552e99,unlinkedAt:_0x2f1791,attributes:_0x1082b8})=>this[_0x332e8f(0xab)](_0x50bd9e)[_0x332e8f(0xa1)]({'commentThreadId':_0x1fb6ae,'context':_0x552e99,'attributes':_0x1082b8,'unlinkedAt':_0x2f1791})[_0x332e8f(0xa8)](y)[_0x332e8f(0xa8)](w),'resolveCommentThread':async({channelId:_0x271ff4,threadId:_0x2dbdf6})=>{const _0x2a23b8=_0x332e8f,_0x1171b1=await this[_0x2a23b8(0xab)](_0x271ff4)[_0x2a23b8(0x85)](_0x2dbdf6)[_0x2a23b8(0xa8)](y)[_0x2a23b8(0xa8)](w);return{'threadId':_0x1171b1[_0x2a23b8(0xc9)],'resolvedAt':_0x1171b1[_0x2a23b8(0xd3)],'resolvedBy':_0x1171b1[_0x2a23b8(0xcd)]};},'reopenCommentThread':async({channelId:_0x3b280e,threadId:_0x1fdc34})=>this[_0x332e8f(0xab)](_0x3b280e)[_0x332e8f(0xb4)](_0x1fdc34)[_0x332e8f(0xa8)](y)[_0x332e8f(0xa8)](w),'removeCommentThread':({channelId:_0x8c473b,threadId:_0x29ceff})=>this[_0x332e8f(0xab)](_0x8c473b)[_0x332e8f(0xb5)](_0x29ceff)[_0x332e8f(0xa8)](y)[_0x332e8f(0xa8)](w),'addComment':({channelId:_0x11a46b,threadId:_0x5e5807,commentId:_0x2a446f,content:_0x32ad32,attributes:_0x1f4786})=>this[_0x332e8f(0xab)](_0x11a46b)[_0x332e8f(0x8e)](_0x5e5807,_0x2a446f,_0x32ad32,_0x1f4786)[_0x332e8f(0xa8)](w),'updateComment':({channelId:_0x57c977,threadId:_0x1459ed,commentId:_0x473da0,content:_0x10a073,attributes:_0x4c98bb})=>this[_0x332e8f(0xab)](_0x57c977)[_0x332e8f(0x9c)](_0x1459ed,_0x473da0,_0x10a073,_0x4c98bb)[_0x332e8f(0xa8)](y)[_0x332e8f(0xa8)](w),'removeComment':({channelId:_0x46703c,threadId:_0x2c1942,commentId:_0x100526})=>this[_0x332e8f(0xab)](_0x46703c)[_0x332e8f(0x9d)](_0x2c1942,_0x100526)[_0x332e8f(0xa8)](y)[_0x332e8f(0xa8)](w)},_0x2e29d6 instanceof _0x45bb07){const _0x3505fa=_0x2e29d6[_0x332e8f(0xad)][_0x332e8f(0xa4)](_0x332e8f(0x79)),_0x98d729=_0x2e29d6[_0x332e8f(0x78)][_0x332e8f(0xa4)](_0x332c82);await this[_0x332e8f(0xcb)](_0x3505fa);const _0x4ffa95=await this[_0x332e8f(0x7a)][_0x332e8f(0xa4)](_0x3505fa)[_0x332e8f(0xca)]();this[_0x332e8f(0x95)](_0x98d729,_0x332e8f(0x74)+_0x3505fa,(_0x29dd0b,{session:_0x1e2a7d})=>{const _0x199af6=_0x332e8f;_0x1e2a7d['id']===_0x98d729[_0x199af6(0x98)]&&(_0x29dd0b[_0x199af6(0xd0)](),this[_0x199af6(0x7e)][_0x199af6(0x78)][_0x199af6(0xa4)](_0x199af6(0xbd))[_0x199af6(0xc1)](_0x1e2a7d[_0x199af6(0xc6)],_0x3505fa));}),_0x98d729[_0x332e8f(0xc7)](_0x3505fa,_0x4ffa95);}}async[_0x157489(0xcb)](_0x59038f){const _0x4818c2=_0x157489;if(this[_0x4818c2(0x7a)][_0x4818c2(0x81)](_0x59038f))throw new _0x4bb878(_0x4818c2(0xaf),null,{'channelId':_0x59038f});const _0x17badd=this[_0x4818c2(0x7e)][_0x4818c2(0x78)][_0x4818c2(0xa4)](_0x4818c2(0xcc)),_0x283e15=new a[(_0x4818c2(0xb2))](_0x59038f);this[_0x4818c2(0x7a)][_0x4818c2(0x6d)](_0x59038f,_0x283e15),this[_0x4818c2(0x95)](_0x283e15,_0x4818c2(0x8b),(_0x416b40,_0x5721de)=>{const _0x247ddf=_0x4818c2,{commentThreadId:_0x644418,documentId:_0x5d4607,context:_0x4dd154,attributes:_0x3ecc0e,resolvedAt:_0x318af6,resolvedBy:_0x46dde7,comments:_0x29bfef}=_0x5721de;_0x17badd[_0x247ddf(0x91)](_0x644418)||_0x17badd[_0x247ddf(0xa5)]({'threadId':_0x644418,'channelId':_0x5d4607,'comments':_0x29bfef?_0x29bfef[_0x247ddf(0xaa)](b):[],'context':_0x4dd154,'attributes':_0x3ecc0e,'resolvedAt':_0x318af6,'resolvedBy':_0x46dde7,'isFromAdapter':!0x0});}),this[_0x4818c2(0x95)](_0x283e15,_0x4818c2(0xd2),(_0x470e8c,{commentThreadId:_0x1bde5a,documentId:_0x98eb29,context:_0x11121b,unlinkedAt:_0xb38ce4,attributes:_0x83a8d})=>{const _0x3f65c9=_0x4818c2;_0x17badd[_0x3f65c9(0x91)](_0x1bde5a)&&_0x17badd[_0x3f65c9(0xa1)]({'threadId':_0x1bde5a,'channelId':_0x98eb29,'context':_0x11121b,'unlinkedAt':_0xb38ce4,'attributes':_0x83a8d,'isFromAdapter':!0x0});}),this[_0x4818c2(0x95)](_0x283e15,_0x4818c2(0x72),(_0x1d5cbe,{commentThreadId:_0x2dd48c,resolvedBy:_0x4d051c,resolvedAt:_0x2bc5a8})=>{const _0x19629b=_0x4818c2,_0x53c483=_0x17badd[_0x19629b(0x91)](_0x2dd48c);_0x53c483&&_0x53c483[_0x19629b(0xbe)]({'resolvedBy':_0x4d051c,'resolvedAt':_0x2bc5a8,'isFromAdapter':!0x0});}),this[_0x4818c2(0x95)](_0x283e15,_0x4818c2(0x87),(_0x2144e3,{commentThreadId:_0x24ca3d})=>{const _0x3e4111=_0x4818c2,_0x3b6169=_0x17badd[_0x3e4111(0x91)](_0x24ca3d);_0x3b6169&&_0x3b6169[_0x3e4111(0x9e)]({'isFromAdapter':!0x0});}),this[_0x4818c2(0x95)](_0x283e15,_0x4818c2(0x8d),(_0x4cd41b,{commentThreadId:_0x349f15})=>{const _0x4b3e35=_0x4818c2,_0x2fe18a=_0x17badd[_0x4b3e35(0x91)](_0x349f15);_0x2fe18a&&_0x2fe18a[_0x4b3e35(0x9f)]({'isFromAdapter':!0x0});}),this[_0x4818c2(0x95)](_0x283e15,_0x4818c2(0xc4),(_0x350533,_0x316c5b)=>{const _0x4e703b=_0x4818c2,_0x161aa2=_0x316c5b[_0x4e703b(0xc9)],_0x245e19=_0x17badd[_0x4e703b(0x91)](_0x161aa2);_0x245e19&&_0x245e19[_0x4e703b(0x8e)]({...b(_0x316c5b),'isFromAdapter':!0x0});}),this[_0x4818c2(0x95)](_0x283e15,_0x4818c2(0x83),(_0x48aa8f,{commentThreadId:_0x4ea4a3,commentId:_0x4c0b6b,content:_0x8e56c9,attributes:_0x5c7aea})=>{const _0x4931b6=_0x4818c2,_0x144352=_0x17badd[_0x4931b6(0x91)](_0x4ea4a3);if(_0x144352){const _0x13ea52=_0x144352[_0x4931b6(0xb7)](_0x4c0b6b);_0x13ea52&&_0x13ea52[_0x4931b6(0x7d)]({'content':_0x8e56c9,'attributes':_0x5c7aea,'isFromAdapter':!0x0});}}),this[_0x4818c2(0x95)](_0x283e15,_0x4818c2(0x80),(_0x2e9a2a,{commentThreadId:_0x53dcef,commentId:_0x454cd8})=>{const _0x21b400=_0x4818c2,_0x4952fb=_0x17badd[_0x21b400(0x91)](_0x53dcef);if(_0x4952fb){const _0x1176fd=_0x4952fb[_0x21b400(0xb7)](_0x454cd8);_0x1176fd&&_0x1176fd[_0x21b400(0x9f)]({'isFromAdapter':!0x0});}}),await this[_0x4818c2(0x6c)](_0x59038f);}[_0x157489(0xa2)](){const _0x5bf2c8=_0x157489;if(this[_0x5bf2c8(0x7e)]instanceof _0x45bb07){const _0x1487f9=this[_0x5bf2c8(0x7e)][_0x5bf2c8(0xad)][_0x5bf2c8(0xa4)](_0x5bf2c8(0x79));this[_0x5bf2c8(0xa0)](_0x1487f9);}}[_0x157489(0xa0)](_0x12d14b){const _0x390cbf=_0x157489;if(!this[_0x390cbf(0x7a)][_0x390cbf(0x81)](_0x12d14b))throw new _0x4bb878(_0x390cbf(0x76),null,{'channelId':_0x12d14b});this[_0x390cbf(0xab)](_0x12d14b)[_0x390cbf(0xc2)](),this[_0x390cbf(0x7a)][_0x390cbf(0x9a)](_0x12d14b);}async[_0x157489(0xa9)](){const _0x5cd247=_0x157489;for(const _0x1db209 of this[_0x5cd247(0x7a)][_0x5cd247(0xc0)]())await this[_0x5cd247(0x6c)](_0x1db209);if(this[_0x5cd247(0x7e)]instanceof _0x45bb07){const _0x4af7c0=this[_0x5cd247(0x7e)][_0x5cd247(0xad)][_0x5cd247(0xa4)](_0x5cd247(0x79)),_0x51f235=this[_0x5cd247(0x7e)][_0x5cd247(0x78)][_0x5cd247(0xa4)](_0x332c82);_0x51f235[_0x5cd247(0x8f)](_0x4af7c0);const _0x34d898=await this[_0x5cd247(0x7a)][_0x5cd247(0xa4)](_0x4af7c0)[_0x5cd247(0xca)]();_0x51f235[_0x5cd247(0xc7)](_0x4af7c0,_0x34d898);}}async[_0x157489(0x6c)](_0x2c770b){const _0x205b7f=_0x157489,{connection:_0x7ebe0e}=this[_0x205b7f(0x7e)][_0x205b7f(0x78)][_0x205b7f(0xa4)](_0x721b1a),_0x552455=this[_0x205b7f(0x7e)][_0x205b7f(0x78)][_0x205b7f(0xa4)](_0x205b7f(0xcc)),_0xa3ef75=this[_0x205b7f(0x7a)][_0x205b7f(0xa4)](_0x2c770b),_0x5c7f39=await _0xa3ef75[_0x205b7f(0xce)](_0x7ebe0e);await this[_0x205b7f(0xa6)](_0x5c7f39);const _0x4d2551=new Set(Array[_0x205b7f(0x84)](_0x552455[_0x205b7f(0x6b)]({'channelId':_0x2c770b}),_0x399714=>_0x399714['id']));for(const _0x3348f3 of _0x5c7f39)_0x3348f3[_0x205b7f(0x75)]||_0x4d2551[_0x205b7f(0x9a)](_0x3348f3[_0x205b7f(0xc9)]);for(const _0x962b53 of _0x4d2551)_0x552455[_0x205b7f(0x91)](_0x962b53)[_0x205b7f(0x9f)]({'isFromAdapter':!0x0});for(const _0x79ee4f of _0x5c7f39){let _0x57a3bd=_0x552455[_0x205b7f(0x91)](_0x79ee4f[_0x205b7f(0xc9)]);const {commentThreadId:_0x565c68,context:_0x2b8dde,attributes:_0x36f0bf,resolvedBy:_0x381ab9,resolvedAt:_0xf9dab,unlinkedAt:_0x5784a5,deletedAt:_0x11d57e}=_0x79ee4f;if(_0x11d57e)continue;_0x57a3bd||(_0x57a3bd=_0x552455[_0x205b7f(0xa5)]({'channelId':_0x2c770b,'threadId':_0x565c68,'context':_0x2b8dde,'attributes':_0x36f0bf||{},'resolvedBy':_0x381ab9,'resolvedAt':_0xf9dab,'unlinkedAt':_0x5784a5,'isFromAdapter':!0x0}));const _0x314366=new Set(Array[_0x205b7f(0x84)](_0x57a3bd[_0x205b7f(0xae)],_0x148d0c=>_0x148d0c['id']));for(const _0x401f8b of _0x79ee4f[_0x205b7f(0xae)])_0x314366[_0x205b7f(0x9a)](_0x401f8b[_0x205b7f(0x8c)]);for(const _0x21fa18 of _0x314366)_0x57a3bd[_0x205b7f(0xb7)](_0x21fa18)[_0x205b7f(0x9f)]({'isFromAdapter':!0x0});for(const _0xed2334 of _0x79ee4f[_0x205b7f(0xae)]){const _0x39e790=_0x57a3bd[_0x205b7f(0xb7)](_0xed2334[_0x205b7f(0x8c)]);_0x39e790?_0x39e790[_0x205b7f(0x89)]!==_0xed2334[_0x205b7f(0x89)]&&_0x39e790[_0x205b7f(0x7d)]({'content':_0xed2334[_0x205b7f(0x89)],'isFromAdapter':!0x0}):_0x57a3bd[_0x205b7f(0x8e)](Object[_0x205b7f(0xb3)](b(_0xed2334),{'isFromAdapter':!0x0}));}}}[_0x157489(0xab)](_0x81fc85){const _0x13fc62=_0x157489;if(!this[_0x13fc62(0x7a)][_0x13fc62(0x81)](_0x81fc85))throw new _0x4bb878(_0x13fc62(0x73),null,{'channelId':_0x81fc85});return this[_0x13fc62(0x7a)][_0x13fc62(0xa4)](_0x81fc85);}async[_0x157489(0xa6)](_0x46ac27){const _0x4451ea=_0x157489,_0x3614a7=this[_0x4451ea(0x7e)][_0x4451ea(0x78)][_0x4451ea(0xa4)](_0x200940),{connection:_0x5b1015}=this[_0x4451ea(0x7e)][_0x4451ea(0x78)][_0x4451ea(0xa4)](_0x721b1a),_0x13b16c=new Set();for(const {resolvedBy:_0x345fba,comments:_0x2a613a}of _0x46ac27){_0x345fba&&!_0x3614a7[_0x4451ea(0x94)](_0x345fba)&&_0x13b16c[_0x4451ea(0xc8)](_0x345fba);for(const {userId:_0x20495c}of _0x2a613a)_0x3614a7[_0x4451ea(0x94)](_0x20495c)||_0x13b16c[_0x4451ea(0xc8)](_0x20495c);}if(0x0===_0x13b16c[_0x4451ea(0xc5)])return;const _0x4de734=await _0xd21ee4[_0x4451ea(0xbb)](_0x5b1015,Array[_0x4451ea(0x84)](_0x13b16c));for(const _0x32c1e0 of _0x4de734)_0x3614a7[_0x4451ea(0x94)](_0x32c1e0['id'])||_0x3614a7[_0x4451ea(0xb8)](_0x32c1e0);}}a[_0x157489(0xb2)]=_0x4502a9;function _0x1a33(){const _0x1c17ae=['_connectService','set','code','addToReconnectionStack','pluginName','adapter','commentThreadResolved','cloudservicescommentsadapter-service-not-exist','sessionAdd:','deletedAt','cloudservicescommentsadapter-disconnect-not-exist','startsWith','plugins','collaboration.channelId','_services','authorId','11345488TPFyWn','update','context','427pleOfw','commentRemoved','has','2MhiLRP','commentUpdated','from','resolveCommentThread','requires','commentThreadReopened','9LOAAGg','content','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','commentThreadAdded','commentId','commentThreadRemoved','addComment','unregister','CloudServicesCommentsAdapter','getCommentThread','cloud-services-internal-error:\x20Request\x20timeout.','createdAt','getUser','listenTo','cloud-services-internal-error:\x20Not\x20connected.','isPremiumPlugin','mySessionId','404','delete','7660lQCJCU','updateComment','removeComment','reopen','remove','_terminateService','updateCommentThread','destroy','isOfficialPlugin','get','addCommentThread','_fetchMissingUsersForThreads','attributes','catch','reconnect','map','_getService','init','config','comments','cloudservicescommentsadapter-connect-already-connected','5755810FmDpsE','74152gPXxCP','CommentsService','assign','reopenCommentThread','removeCommentThread','31433753BJRJrz','getComment','addUser','441619pbxOWH','12CQzEpc','getMany','message','Permissions','resolve','2610624doBtSg','keys','setPermissions','disconnect','4GHNDTQ','commentAdded','size','permissions','register','add','commentThreadId','getConnectedSessions','_setUpService','CommentsRepository','resolvedBy','connect','1878hebFdN','off','userId','commentThreadUpdated','resolvedAt','getCommentThreads'];_0x1a33=function(){return _0x1c17ae;};return _0x1a33();}export default a;async function y(_0x550b00){const _0x398fe6=_0x157489;if(_0x398fe6(0x99)!==_0x550b00[_0x398fe6(0x6e)])throw _0x550b00;}function w(_0x2507e5){const _0x3df0cc=_0x157489;if((_0x184636=_0x2507e5)[_0x3df0cc(0xbc)][_0x3df0cc(0x77)](_0x3df0cc(0x8a))||_0x184636[_0x3df0cc(0xbc)][_0x3df0cc(0x77)](_0x3df0cc(0x96))||_0x184636[_0x3df0cc(0xbc)][_0x3df0cc(0x77)](_0x3df0cc(0x92)))return new Promise(()=>{});var _0x184636;throw _0x2507e5;}function b(_0x466958){const _0x1bca4a=_0x157489;return{'threadId':_0x466958[_0x1bca4a(0xc9)],'commentId':_0x466958[_0x1bca4a(0x8c)],'content':_0x466958[_0x1bca4a(0x89)],'createdAt':_0x466958[_0x1bca4a(0x93)],'authorId':_0x466958[_0x1bca4a(0xd1)],'attributes':_0x466958[_0x1bca4a(0xa7)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5957(){const _0xe84173=['connected','78MWHrcG','13939740FqNwpR','config','64mVuxzU','3132780FHVbgt','CommentsRepository','11cpBtcj','880947HouXbB','data','pluginName','ready','editor','isOfficialPlugin','22520136MPmXsR','RealTimeCollaborativeComments','2804488RkFWcq','collaboration.channelId','464527cfLaIz','plugins','_terminateService','Comments','once','10iBRKTo','4rzsrpW','isPremiumPlugin','change:state','_setUpService','listenTo','switchReadOnly','requires','CommentsEditing','destroy','923834oNKINF','get','isThreadsLoadingPaused','init'];_0x5957=function(){return _0xe84173;};return _0x5957();}const _0x31b8a1=_0x53ba;(function(_0x94ab3c,_0x3c2a54){const _0x3adc87=_0x53ba,_0x145d35=_0x94ab3c();while(!![]){try{const _0x7fcfb8=-parseInt(_0x3adc87(0x18e))/0x1*(-parseInt(_0x3adc87(0x1aa))/0x2)+parseInt(_0x3adc87(0x197))/0x3+parseInt(_0x3adc87(0x1a2))/0x4*(parseInt(_0x3adc87(0x1a9))/0x5)+-parseInt(_0x3adc87(0x193))/0x6*(parseInt(_0x3adc87(0x1a4))/0x7)+parseInt(_0x3adc87(0x196))/0x8*(parseInt(_0x3adc87(0x19a))/0x9)+-parseInt(_0x3adc87(0x194))/0xa+-parseInt(_0x3adc87(0x199))/0xb*(parseInt(_0x3adc87(0x1a0))/0xc);if(_0x7fcfb8===_0x3c2a54)break;else _0x145d35['push'](_0x145d35['shift']());}catch(_0x4a8dfe){_0x145d35['push'](_0x145d35['shift']());}}}(_0x5957,0xe6713));import{Plugin as _0x5f0eee}from'ckeditor5/src/core.js';function _0x53ba(_0x53cf5b,_0x28ab0a){const _0x5957e1=_0x5957();return _0x53ba=function(_0x53ba55,_0x47007e){_0x53ba55=_0x53ba55-0x189;let _0x1f2736=_0x5957e1[_0x53ba55];return _0x1f2736;},_0x53ba(_0x53cf5b,_0x28ab0a);}import _0x11d4a8 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x80d296 from'./realtimecollaborativeediting.js';import _0x50d890 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x5f0eee{static get[_0x31b8a1(0x18b)](){const _0x14243a=_0x31b8a1;return[_0x14243a(0x1a7),_0x11d4a8,_0x80d296,_0x50d890];}static get[_0x31b8a1(0x19c)](){const _0x4782a1=_0x31b8a1;return _0x4782a1(0x1a1);}static get[_0x31b8a1(0x19f)](){return!0x0;}static get[_0x31b8a1(0x1ab)](){return!0x0;}[_0x31b8a1(0x191)](){const _0x36a1bd=_0x31b8a1,_0x2ff7d4=this[_0x36a1bd(0x19e)][_0x36a1bd(0x1a5)][_0x36a1bd(0x18f)](_0x50d890),_0x394e08=this[_0x36a1bd(0x19e)][_0x36a1bd(0x1a5)][_0x36a1bd(0x18f)](_0x36a1bd(0x18c)),_0x5ba36b=this[_0x36a1bd(0x19e)][_0x36a1bd(0x1a5)][_0x36a1bd(0x18f)](_0x11d4a8);return this[_0x36a1bd(0x19e)][_0x36a1bd(0x19b)][_0x36a1bd(0x1a8)](_0x36a1bd(0x19d),()=>{const _0x41576b=_0x36a1bd;this[_0x41576b(0x189)](_0x2ff7d4,_0x41576b(0x1ac),(_0x5b6e5d,_0x34596f,_0x4a5f6d)=>{const _0x23d059=_0x41576b;_0x394e08[_0x23d059(0x190)]=_0x23d059(0x192)!==_0x4a5f6d;});}),this[_0x36a1bd(0x189)](_0x2ff7d4,_0x36a1bd(0x1ac),(_0x20df75,_0xefd2e8,_0x31eacd)=>{const _0x1cb933=_0x36a1bd;this[_0x1cb933(0x19e)][_0x1cb933(0x1a5)][_0x1cb933(0x18f)](_0x1cb933(0x198))[_0x1cb933(0x18a)](_0x1cb933(0x192)!==_0x31eacd);}),_0x5ba36b[_0x36a1bd(0x1ad)](this[_0x36a1bd(0x19e)][_0x36a1bd(0x195)][_0x36a1bd(0x18f)](_0x36a1bd(0x1a3)));}[_0x31b8a1(0x18d)](){const _0x48fa2d=_0x31b8a1;this[_0x48fa2d(0x19e)][_0x48fa2d(0x1a5)][_0x48fa2d(0x18f)](_0x11d4a8)[_0x48fa2d(0x1a6)](this[_0x48fa2d(0x19e)][_0x48fa2d(0x195)][_0x48fa2d(0x18f)](_0x48fa2d(0x1a3))),super[_0x48fa2d(0x18d)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3d35bf=_0x304e;(function(_0xea4be7,_0x586c33){const _0x15be0d=_0x304e,_0x33462e=_0xea4be7();while(!![]){try{const _0x2866de=parseInt(_0x15be0d(0x23a))/0x1+parseInt(_0x15be0d(0x28b))/0x2+parseInt(_0x15be0d(0x232))/0x3*(-parseInt(_0x15be0d(0x267))/0x4)+-parseInt(_0x15be0d(0x218))/0x5+-parseInt(_0x15be0d(0x245))/0x6*(parseInt(_0x15be0d(0x24f))/0x7)+-parseInt(_0x15be0d(0x2ab))/0x8+parseInt(_0x15be0d(0x276))/0x9;if(_0x2866de===_0x586c33)break;else _0x33462e['push'](_0x33462e['shift']());}catch(_0x546aef){_0x33462e['push'](_0x33462e['shift']());}}}(_0x3bcd,0xf1834));import{Plugin as _0x29ea41,PendingActions as _0x109940}from'ckeditor5/src/core.js';import{CKEditorError as _0x41198c,version as _0x891554,uid as _0x12f772}from'ckeditor5/src/utils.js';import{Notification as _0x22f8fb}from'ckeditor5/src/ui.js';import{transformSets as _0x537314,NoOperation as _0x113cac,InsertOperation as _0x51cf24,MarkerOperation as _0x29a48c,RootAttributeOperation as _0x535837,OperationFactory as _0x4ff852,History as _0x72b1ab}from'ckeditor5/src/engine.js';function _0x304e(_0x3daef4,_0x2663d5){const _0x3bcd16=_0x3bcd();return _0x304e=function(_0x304e24,_0x255388){_0x304e24=_0x304e24-0x1ab;let _0x2cb878=_0x3bcd16[_0x304e24];return _0x2cb878;},_0x304e(_0x3daef4,_0x2663d5);}import _0x545b57 from'./websocketgateway.js';import _0x5a52f5 from'./sessions.js';import _0x4fd09b from'./usermarkers.js';import{getTranslation as _0xe2cf1}from'../common-translations.js';import{Compressor as _0x4a6654}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x242592}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x14b0de,CollaborativeEditingService as _0x20da33}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x3bcd(){const _0x1309e5=['CollaborativeEditingService','11540KhiAAZ','getDocumentDetails','_document','_initSessionsHandling','change:_isPendingUpdate','error','realtimecollaborationclient-init-service-internal-error','cloud-services-internal-error:\x20Not\x20connected.','apply','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_updateServerHistory','_getOperationsFromInitData','forEach','_sendBufferedOperations','disconnect','16213662SceNAa','realtimecollaborationclient-handleserverresponse','slice','getConnectedSessions','change:_isEditingAllowed','has','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.','createRange','selection','_getAffectedRoot','createUserMarkerOperations','enqueueChange','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','position','marker','_handleReceivedOperations','addOperation','setPermissions','404','markers','includes','3936598kdogEo','collaboration-missing-channelid','_setUpDataInit','fire','high','sessionAdd:','lastDocumentSession','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.','connected','_shouldSendSelectionUpdate','_saveOperationInBuffer','InsertOperation','_baseBufferDelay','cloudServices.bundleVersion','history','type','cs:removeUser','change:hasDomSelection','_handleSendingSelectionMarkers','serverHistory','_isConnected','model','sendOperations','_isLoaded','clone','keys','realtimecollaborationclient-init-service-incorrect-server-operation','state','createRoot','attributes','realtimecollaborationclient-init-non-existent-root','round','9943048OwECWP','sessionCreatedAt','_authorId','_compressor','_connectAfterSessionHasBeenFlushed','realtimecollaborationclient-error','fromJSON','addRootAttribute','then','real-time-collaboration','register','directChange','connect','isEnabled','_connectService','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','stopListening','CommentsOnly','stop','_crash','code','bind','collaboration','enableReadOnlyMode','_clearPendingAction','_compressOperations','roots','_handleReconnectionResponse','wereChangesApplied','batch','editor','remove','_handleExternalOperations','_handleServerResponse','disableReadOnlyMode','createPositionFromPath','$root','_ignoredOperations','addRoot','wasUndone','_offset','rootName','operationsReceived','locale','_bufferedOperations','_setPendingAction','_lastSyncedOperationId','change:range','parse','_decompressOperations','plugins','_lastServerVersion','mySessionId','path','ready','decompress','move','unregister','config','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','getIdOfTheLastOperation','requires','length','realtimecollaborationclient-sendbufferedoperations','_hasSynchronizationProblem','initData','isUndoneOperation','_operationToId','setIdForTheLastOperation','_service','addToReconnectionStack','targetPosition','_sendBufferedOperationsDelayId','startsWith','rtc-destroyed','getUser','document','sessionId','_hasSelectionChanged','suppressErrorInCollaboration','_loadRoot','showWarning','return','message','collaboration.channelId','getOperationAuthor','reset','toJSON','lastSyncVersion','lastOperationId','reconnection:\x20flushed\x20session','catch','size','_handleReconnectionError','cloudDocumentVersion','offset','getOperations','disconnected','get','data','realtimecollaborationclient-init-document-already-initialized','_isDisconnection','_isInit','addUser','baseVersion','PENDING_ACTION_SENDING_DATA','createPositionAt','lastOperationAcceptedAt','rootsAttributes','off','_addKnownRoot','insert','isReadOnly','channelSessions','2856610eqdJCq','_fetchMissingUsers','pluginName','rtc-offline','_handleInitialConnectionData','string','userId','removeFromReconnectionStack','realtimecollaborationclient-init-connection-failed','editing','Synchronization\x20issue','newRange','409','getRoot','map','_refreshUserSelectionMarkers','from','_isEditingAllowed','realtimecollaborationclient-init-session-connection-error','_channelId','_initThrowingOnDataSet','add','_isPendingUpdate','Notification','Permissions','start','1497UHqcIV','end','_applyOperationsSet','metadata','init','_operationIdentifier','affectedSelectable','loadRoot','1928104uWEVZd','listenTo','applyOperation','getMany','filter','_shouldSendUpdate','_isAttached','version','root','realtimecollaborationclient','push','9582CgSNgM','_bufferRootLoad','differ','define','document:write','_disconnectService','permissions','affectsData','_disconnectionOperations','createdAt','6377EVZkDA','__className','destroy','isDocumentOperation','_knownRootNames','RealTimeCollaborationClient','view','isPremiumPlugin','currentDocumentSession','multi-root-editor-root-attributes-no-root','finally','_waitUntilSynced','reconnect','entries','compress','_sendBufferedOperationsDelayed','isOfficialPlugin','set','connection','_currentBufferDelay','_knownOperations','cloud-services-internal-error:\x20Request\x20timeout.','_pendingAction'];_0x3bcd=function(){return _0x1309e5;};return _0x3bcd();}let K=0x1;class l extends _0x29ea41{static get[_0x3d35bf(0x1e3)](){return[_0x545b57,_0x5a52f5,_0x4fd09b,_0x109940,_0x242592,_0x22f8fb];}static get[_0x3d35bf(0x21a)](){const _0x5e6bcc=_0x3d35bf;return _0x5e6bcc(0x254);}static get[_0x3d35bf(0x25f)](){return!0x0;}static get[_0x3d35bf(0x256)](){return!0x0;}get[_0x3d35bf(0x204)](){const _0x20ec89=_0x3d35bf;return this[_0x20ec89(0x1d9)]+this[_0x20ec89(0x1ce)];}get[_0x3d35bf(0x1d9)](){const _0x569bb9=_0x3d35bf;return this[_0x569bb9(0x29e)][_0x569bb9(0x241)]-this[_0x569bb9(0x1ce)];}get[_0x3d35bf(0x1fe)](){const _0x4a42a1=_0x3d35bf,_0x334714=this[_0x4a42a1(0x29e)][_0x4a42a1(0x206)]();for(let _0xfb0139=_0x334714[_0x4a42a1(0x1e4)]-0x1;_0xfb0139>=0x0;_0xfb0139--){const _0x56cfc9=_0x334714[_0xfb0139];if(!this[_0x4a42a1(0x24d)][_0x4a42a1(0x27b)](_0x56cfc9))return _0x56cfc9[_0x4a42a1(0x20e)]+0x1-this[_0x4a42a1(0x1ce)];}return 0x0;}constructor(_0x4205a2){const _0x4295e3=_0x3d35bf;if(super(_0x4205a2),this[_0x4295e3(0x1ce)]=0x0,this[_0x4295e3(0x1f3)]=null,this[_0x4295e3(0x29e)]=new _0x72b1ab(),this[_0x4295e3(0x1c4)][_0x4295e3(0x1e0)][_0x4295e3(0x248)](_0x4295e3(0x1bc),{}),this[_0x4295e3(0x22b)]=this[_0x4295e3(0x1c4)][_0x4295e3(0x1e0)][_0x4295e3(0x208)](_0x4295e3(0x1fa)),!this[_0x4295e3(0x22b)])throw new _0x41198c(_0x4295e3(0x28c),this);const _0x45276b=_0x4205a2[_0x4295e3(0x1e0)][_0x4295e3(0x208)](_0x4295e3(0x298))||_0x891554;this[_0x4295e3(0x1eb)]=new l[(_0x4295e3(0x266))](_0x45276b,this[_0x4295e3(0x22b)]),this[_0x4295e3(0x269)]=this[_0x4295e3(0x1c4)][_0x4295e3(0x2a0)][_0x4295e3(0x1f2)],this[_0x4295e3(0x2ae)]=new _0x4a6654(),this[_0x4295e3(0x1d2)]=[],this[_0x4295e3(0x263)]=new WeakSet(),this[_0x4295e3(0x253)]=new Set(),this[_0x4295e3(0x260)](_0x4295e3(0x22e),!0x1),this[_0x4295e3(0x260)](_0x4295e3(0x1e6),!0x1),this[_0x4295e3(0x265)]=null,this[_0x4295e3(0x1f4)]=!0x1,this[_0x4295e3(0x1ee)]=null,this[_0x4295e3(0x297)]=0x12c,this[_0x4295e3(0x262)]=this[_0x4295e3(0x297)],this[_0x4295e3(0x1d4)]=null,this[_0x4295e3(0x24d)]=new WeakSet(),this[_0x4295e3(0x237)]=new X(this[_0x4295e3(0x24d)]);}[_0x3d35bf(0x236)](){const _0x3fd5da=_0x3d35bf,_0x4615dd=this[_0x3fd5da(0x1c4)],_0x55ee26=_0x4615dd[_0x3fd5da(0x1d8)][_0x3fd5da(0x208)](_0x242592),_0x31ebd1=_0x4615dd[_0x3fd5da(0x1d8)][_0x3fd5da(0x208)](_0x545b57);this[_0x3fd5da(0x23b)](_0x55ee26,_0x3fd5da(0x1fb),(_0x733728,_0x4b9304)=>{const _0x16699f=_0x3fd5da,_0x38ae3d=_0x4b9304[0x0];_0x38ae3d[_0x16699f(0x2ad)]&&(_0x733728[_0x16699f(0x1f8)]=_0x55ee26[_0x16699f(0x1f1)](_0x38ae3d[_0x16699f(0x2ad)]),_0x733728[_0x16699f(0x1b8)]()),null===_0x38ae3d[_0x16699f(0x2ad)]&&(_0x733728[_0x16699f(0x1f8)]=null,_0x733728[_0x16699f(0x1b8)]());},{'priority':_0x3fd5da(0x28f)}),this[_0x3fd5da(0x23b)](_0x4615dd[_0x3fd5da(0x2a0)][_0x3fd5da(0x1f2)][_0x3fd5da(0x27e)],_0x3fd5da(0x1d5),(_0x46eec2,_0x1f24bf)=>{const _0x3b3990=_0x3fd5da;_0x1f24bf[_0x3b3990(0x1b1)]&&this[_0x3b3990(0x227)]();}),this[_0x3fd5da(0x23b)](_0x4615dd[_0x3fd5da(0x221)][_0x3fd5da(0x255)],_0x3fd5da(0x29c),()=>{const _0x1ef254=_0x3fd5da;this[_0x1ef254(0x227)]();}),this[_0x3fd5da(0x22c)](),_0x4615dd[_0x3fd5da(0x2a0)]['on'](_0x3fd5da(0x23c),(_0x500d46,_0x3804c7)=>{const _0x52696f=_0x3fd5da,_0x334521=_0x3804c7[0x0];_0x334521[_0x52696f(0x252)]&&(this[_0x52696f(0x295)](_0x334521),this[_0x52696f(0x23f)]()&&this[_0x52696f(0x25e)]());}),this[_0x3fd5da(0x28d)](),this[_0x3fd5da(0x1bb)](_0x3fd5da(0x229))['to'](_0x31ebd1,_0x3fd5da(0x2a6),this,_0x3fd5da(0x1e6),(_0x2c0884,_0x2302cc)=>_0x3fd5da(0x293)===_0x2c0884&&!_0x2302cc),this['on'](_0x3fd5da(0x27a),()=>{const _0x3b65c3=_0x3fd5da;this[_0x3b65c3(0x229)]?_0x4615dd[_0x3b65c3(0x1c8)](_0x3b65c3(0x21b)):_0x4615dd[_0x3b65c3(0x1bd)](_0x3b65c3(0x21b));}),this[_0x3fd5da(0x229)]?_0x4615dd[_0x3fd5da(0x1c8)](_0x3fd5da(0x21b)):_0x4615dd[_0x3fd5da(0x1bd)](_0x3fd5da(0x21b)),this[_0x3fd5da(0x260)](_0x3fd5da(0x29f),!0x1);}async[_0x3d35bf(0x25b)](){const _0x493be8=_0x3d35bf,_0x4b13af=this[_0x493be8(0x1c4)][_0x493be8(0x1d8)][_0x493be8(0x208)](_0x5a52f5),_0x23a0a8=this[_0x493be8(0x1c4)][_0x493be8(0x1d8)][_0x493be8(0x208)](_0x545b57);try{this[_0x493be8(0x22e)]=!0x0,_0x4b13af[_0x493be8(0x1df)](this[_0x493be8(0x22b)]);const _0x14e187=await this[_0x493be8(0x1eb)][_0x493be8(0x25b)](_0x23a0a8[_0x493be8(0x261)],this[_0x493be8(0x1fe)]);await this[_0x493be8(0x1c1)](_0x14e187)&&(this[_0x493be8(0x22e)]=!0x1,this[_0x493be8(0x1be)]());const _0x555f8b=await this[_0x493be8(0x1eb)][_0x493be8(0x279)]();_0x4b13af[_0x493be8(0x1b0)](this[_0x493be8(0x22b)],_0x555f8b),this[_0x493be8(0x29d)](),this[_0x493be8(0x29f)]=!0x0;}catch(_0x2f5648){if(function(_0x191b70){const _0x3f9656=_0x493be8;return _0x3f9656(0x288)===_0x191b70[_0x3f9656(0x1ba)];}(_0x2f5648)&&this[_0x493be8(0x1f3)])await this[_0x493be8(0x2af)]();else{if(function(_0x3c6e6d){const _0x4c1dc3=_0x493be8;return _0x4c1dc3(0x224)===_0x3c6e6d[_0x4c1dc3(0x1ba)];}(_0x2f5648)){const _0x3e9532=_0xe2cf1(this[_0x493be8(0x1c4)][_0x493be8(0x1d1)],_0x493be8(0x1b5));this[_0x493be8(0x203)](_0x3e9532);}else{if(!(_0x2f5648 instanceof J))throw _0x2f5648;this[_0x493be8(0x203)]();}}}}[_0x3d35bf(0x251)](){const _0x23b4a9=_0x3d35bf,_0x2005e5=this[_0x23b4a9(0x1c4)][_0x23b4a9(0x1d8)][_0x23b4a9(0x208)](_0x545b57),_0x5e4c38=this[_0x23b4a9(0x1c4)][_0x23b4a9(0x1d8)][_0x23b4a9(0x208)](_0x5a52f5);this[_0x23b4a9(0x1c4)][_0x23b4a9(0x1bd)](_0x23b4a9(0x1f0)),_0x5e4c38[_0x23b4a9(0x217)][_0x23b4a9(0x27b)](this[_0x23b4a9(0x22b)])&&_0x5e4c38[_0x23b4a9(0x1df)](this[_0x23b4a9(0x22b)]),_0x2005e5[_0x23b4a9(0x21f)](this),this[_0x23b4a9(0x24a)](),super[_0x23b4a9(0x251)]();}async[_0x3d35bf(0x1c1)](_0x28c970){const _0x3e1a38=_0x3d35bf;if(this[_0x3e1a38(0x1f3)]!==_0x28c970[_0x3e1a38(0x1f3)]&&this[_0x3e1a38(0x1d4)]!==_0x28c970[_0x3e1a38(0x1ff)])throw new J();return this[_0x3e1a38(0x1f3)]=_0x28c970[_0x3e1a38(0x1f3)],this[_0x3e1a38(0x1c7)]([],{..._0x28c970,'wereChangesApplied':!0x1,'data':_0x28c970[_0x3e1a38(0x209)]},_0x3e1a38(0x25b));}async[_0x3d35bf(0x1b4)](_0x328db5,_0x202afd=!0x1){const _0x529201=_0x3d35bf,{connection:_0x45eb42}=this[_0x529201(0x1c4)][_0x529201(0x1d8)][_0x529201(0x208)](_0x545b57);l[_0x529201(0x266)][_0x529201(0x279)](_0x45eb42,this[_0x529201(0x22b)])[_0x529201(0x1ae)](_0x198066=>this[_0x529201(0x26a)](_0x198066))[_0x529201(0x201)](_0x4739ca=>{const _0x58f02f=_0x529201;this[_0x58f02f(0x1b9)](_0x58f02f(0x22a),_0x4739ca);}),this[_0x529201(0x23b)](this[_0x529201(0x1eb)],_0x529201(0x1d0),this[_0x529201(0x285)][_0x529201(0x1bb)](this)),this[_0x529201(0x23b)](this[_0x529201(0x1eb)],_0x529201(0x26c),(_0x59ec05,_0x3a3656)=>{const _0x4e77de=_0x529201;this[_0x4e77de(0x1b9)](_0x4e77de(0x26d),_0x3a3656);}),this[_0x529201(0x23b)](this[_0x529201(0x1eb)],_0x529201(0x207),()=>{const _0x182af0=_0x529201;this[_0x182af0(0x29f)]=!0x1;});const _0x2325d2=this[_0x529201(0x237)][_0x529201(0x1e2)](_0x328db5);this[_0x529201(0x22e)]=!0x0;const _0x78a4d5=await this[_0x529201(0x1eb)][_0x529201(0x1b2)](_0x45eb42,this[_0x529201(0x1bf)](_0x328db5),_0x2325d2);if(this[_0x529201(0x1f3)]=_0x78a4d5[_0x529201(0x1f3)],_0x202afd){if(!_0x78a4d5[_0x529201(0x1c2)])return void this[_0x529201(0x203)]();this[_0x529201(0x22e)]=!0x1,this[_0x529201(0x1be)](),this[_0x529201(0x29e)][_0x529201(0x1fc)](),this[_0x529201(0x1ce)]=_0x78a4d5[_0x529201(0x205)],this[_0x529201(0x29e)][_0x529201(0x241)]=this[_0x529201(0x1ce)],await this[_0x529201(0x1c7)](_0x328db5,_0x78a4d5,_0x529201(0x200));}else await this[_0x529201(0x21c)](_0x78a4d5,_0x328db5);this[_0x529201(0x29d)](),this[_0x529201(0x29f)]=!0x0;}[_0x3d35bf(0x29d)](){const _0x513b7a=_0x3d35bf,_0x53c7f1=this[_0x513b7a(0x1c4)][_0x513b7a(0x1d8)][_0x513b7a(0x208)](_0x5a52f5),_0x1a70d3=this[_0x513b7a(0x1c4)][_0x513b7a(0x1d8)][_0x513b7a(0x208)](_0x4fd09b),_0x36ba92=_0x53c7f1[_0x513b7a(0x217)][_0x513b7a(0x208)](this[_0x513b7a(0x22b)]);_0x36ba92&&_0x36ba92[_0x513b7a(0x1e4)]>0x1?_0x1a70d3[_0x513b7a(0x280)]():this[_0x513b7a(0x23b)](_0x53c7f1,_0x513b7a(0x290)+this[_0x513b7a(0x22b)],()=>{const _0x543517=_0x513b7a;0x2===_0x53c7f1[_0x543517(0x217)][_0x543517(0x208)](this[_0x543517(0x22b)])[_0x543517(0x1e4)]&&_0x1a70d3[_0x543517(0x280)]();});}async[_0x3d35bf(0x285)](_0xb2f08,_0x1915ee,_0x1f9214,_0x4ef887){const _0x1c42d7=_0x3d35bf;if(!this[_0x1c42d7(0x22e)]&&this[_0x1c42d7(0x269)][_0x1c42d7(0x241)]==_0x1915ee){const _0xfdf7ee=this[_0x1c42d7(0x1d7)](_0x1f9214,_0x4ef887);await this[_0x1c42d7(0x219)](_0xfdf7ee),this[_0x1c42d7(0x1c6)](_0xfdf7ee,_0x1915ee,_0x1f9214[_0x1c42d7(0x1ff)])||this[_0x1c42d7(0x1b9)](_0x1c42d7(0x2a5));}}async[_0x3d35bf(0x2af)](){const _0x3c4154=_0x3d35bf;this[_0x3c4154(0x24a)]();const {locale:_0x12bbbf}=this[_0x3c4154(0x1c4)];let _0x5b7da0;try{_0x5b7da0=await this[_0x3c4154(0x1eb)][_0x3c4154(0x268)]();}catch(_0x437aed){const _0x22b129=_0xe2cf1(_0x12bbbf,_0x3c4154(0x270));return void this[_0x3c4154(0x203)](_0x22b129);}const _0x3e2878=_0x5b7da0[_0x3c4154(0x257)]||_0x5b7da0[_0x3c4154(0x291)];if(this[_0x3c4154(0x1d4)]===_0x3e2878[_0x3c4154(0x1ff)])await this[_0x3c4154(0x1b4)](this[_0x3c4154(0x1c4)][_0x3c4154(0x2a0)][_0x3c4154(0x1f2)][_0x3c4154(0x299)][_0x3c4154(0x206)](),!0x0);else{const _0x15e9b3=_0xe2cf1(_0x12bbbf,_0x3c4154(0x292));this[_0x3c4154(0x203)](_0x15e9b3);}}[_0x3d35bf(0x24a)](){const _0x9e9632=_0x3d35bf;this[_0x9e9632(0x1eb)][_0x9e9632(0x275)](),this[_0x9e9632(0x1d2)]=[],clearTimeout(this[_0x9e9632(0x1ee)]),this[_0x9e9632(0x1b6)](this[_0x9e9632(0x1eb)]);}[_0x3d35bf(0x26a)](_0x4ec6d3){const _0x5debe7=_0x3d35bf,_0x40be24=this[_0x5debe7(0x1c4)][_0x5debe7(0x1d8)][_0x5debe7(0x208)](_0x5a52f5);this[_0x5debe7(0x23b)](_0x40be24,_0x5debe7(0x290)+this[_0x5debe7(0x22b)],(_0x1416b8,{session:_0x5bfac5})=>{const _0x2b83d0=_0x5debe7;if(_0x5bfac5['id']===_0x40be24[_0x2b83d0(0x1da)]){_0x1416b8[_0x2b83d0(0x213)]();const _0x4a1eb1=this[_0x2b83d0(0x1c4)][_0x2b83d0(0x1d8)][_0x2b83d0(0x27b)](_0x2b83d0(0x1b7))&&this[_0x2b83d0(0x1c4)][_0x2b83d0(0x1d8)][_0x2b83d0(0x208)](_0x2b83d0(0x1b7));let _0x357441=_0x5bfac5[_0x2b83d0(0x24b)];_0x4a1eb1&&_0x4a1eb1[_0x2b83d0(0x1b3)]&&(_0x357441=_0x357441[_0x2b83d0(0x23e)](_0x415cac=>_0x2b83d0(0x249)!==_0x415cac)),this[_0x2b83d0(0x1c4)][_0x2b83d0(0x1d8)][_0x2b83d0(0x208)](_0x2b83d0(0x230))[_0x2b83d0(0x287)](_0x357441,this[_0x2b83d0(0x22b)]);}}),_0x40be24[_0x5debe7(0x1b0)](this[_0x5debe7(0x22b)],_0x4ec6d3);}[_0x3d35bf(0x22c)](){const _0x2cfaeb=_0x3d35bf,_0x1f7db4=this[_0x2cfaeb(0x1c4)][_0x2cfaeb(0x209)][_0x2cfaeb(0x260)];this[_0x2cfaeb(0x1c4)][_0x2cfaeb(0x209)][_0x2cfaeb(0x260)]=(..._0x1a4b0b)=>{const _0x3d726a=_0x2cfaeb;if(!_0x1a4b0b[_0x1a4b0b[_0x3d726a(0x1e4)]-0x1][_0x3d726a(0x1f5)])throw new _0x41198c(_0x3d726a(0x1e1),this);_0x1f7db4[_0x3d726a(0x26f)](this[_0x3d726a(0x1c4)][_0x3d726a(0x209)],_0x1a4b0b);};}[_0x3d35bf(0x28d)](){const _0x2b5e40=_0x3d35bf;this[_0x2b5e40(0x1c4)][_0x2b5e40(0x209)]['on'](_0x2b5e40(0x236),(_0x5235b0,[_0x5214f3])=>{const _0x1a100a=_0x2b5e40;if(this[_0x1a100a(0x269)][_0x1a100a(0x241)])throw new _0x41198c(_0x1a100a(0x20a),this);_0x5235b0[_0x1a100a(0x1b8)](),this[_0x1a100a(0x1d3)]();const _0x4dfbf6=this[_0x1a100a(0x1c4)][_0x1a100a(0x1e0)][_0x1a100a(0x208)](_0x1a100a(0x212)),_0x3227f4=this[_0x1a100a(0x272)](_0x5214f3,_0x4dfbf6);0x0==_0x3227f4[_0x1a100a(0x1e4)]&&_0x3227f4[_0x1a100a(0x244)](new _0x113cac(0x0)),_0x5235b0[_0x1a100a(0x1f8)]=this[_0x1a100a(0x1b4)](_0x3227f4)[_0x1a100a(0x1ae)](()=>{const _0x4f61c9=_0x1a100a;this[_0x4f61c9(0x1c4)][_0x4f61c9(0x1d8)][_0x4f61c9(0x208)](_0x545b57)[_0x4f61c9(0x1ec)](this),this[_0x4f61c9(0x1c4)][_0x4f61c9(0x209)][_0x4f61c9(0x28e)](_0x4f61c9(0x1dc));})[_0x1a100a(0x201)](_0x4cd42c=>this[_0x1a100a(0x1b9)](_0x1a100a(0x220),_0x4cd42c))[_0x1a100a(0x259)](()=>this[_0x1a100a(0x1be)]());},{'priority':_0x2b5e40(0x28f)}),this[_0x2b5e40(0x1c4)]['on'](_0x2b5e40(0x239),async(_0x548952,[_0x219580,_0x26fe07])=>{const _0x3099b3=_0x2b5e40;_0x548952[_0x3099b3(0x1b8)]();const _0x2ba1ea=this[_0x3099b3(0x1c4)][_0x3099b3(0x2a0)][_0x3099b3(0x1f2)][_0x3099b3(0x225)](_0x219580);if(!this[_0x3099b3(0x253)][_0x3099b3(0x27b)](_0x219580)){const _0x555249=_0x26fe07&&_0x26fe07[_0x3099b3(0x209)]?_0x26fe07[_0x3099b3(0x209)]:'',_0x14b935=_0x26fe07&&_0x26fe07[_0x3099b3(0x2a8)]?_0x26fe07[_0x3099b3(0x2a8)]:{};await this[_0x3099b3(0x1f6)](_0x219580,_0x555249,_0x14b935);}this[_0x3099b3(0x1c4)][_0x3099b3(0x2a0)][_0x3099b3(0x281)]({'isUndoable':!0x1},()=>{const _0x1233de=_0x3099b3;_0x2ba1ea[_0x1233de(0x2a2)]=!0x0,this[_0x1233de(0x1c4)][_0x1233de(0x2a0)][_0x1233de(0x1f2)][_0x1233de(0x247)][_0x1233de(0x246)](_0x2ba1ea);});},{'priority':_0x2b5e40(0x28f)});}async[_0x3d35bf(0x219)](_0x498bd9){const _0x587a72=_0x3d35bf,_0xdcb568=this[_0x587a72(0x1c4)][_0x587a72(0x1d8)][_0x587a72(0x208)](_0x242592),{connection:_0xd37dce}=this[_0x587a72(0x1c4)][_0x587a72(0x1d8)][_0x587a72(0x208)](_0x545b57),_0x59e3a4=new Set();for(const _0x10c902 of _0x498bd9){const _0x5ac5d7=_0x10c902[_0x587a72(0x2ad)];_0x5ac5d7&&!_0xdcb568[_0x587a72(0x1f1)](_0x5ac5d7)&&_0x59e3a4[_0x587a72(0x22d)](_0x5ac5d7);}if(0x0===_0x59e3a4[_0x587a72(0x202)])return;const _0x5239ea=await _0x14b0de[_0x587a72(0x23d)](_0xd37dce,Array[_0x587a72(0x228)](_0x59e3a4));for(const _0x2542ec of _0x5239ea)_0xdcb568[_0x587a72(0x1f1)](_0x2542ec['id'])||_0xdcb568[_0x587a72(0x20d)](_0x2542ec);}[_0x3d35bf(0x272)](_0x4bce1e,_0x4d3155={}){const _0x13f7cc=_0x3d35bf,_0x47ffc0=this[_0x13f7cc(0x1c4)][_0x13f7cc(0x2a0)],_0x283f4b=[];let _0x379ae6=0x0;const _0xb8035c=_0x13f7cc(0x21d)==typeof _0x4bce1e?{'main':_0x4bce1e}:_0x4bce1e;for(const _0x471a0d of Object[_0x13f7cc(0x2a4)](_0xb8035c)){if(!this[_0x13f7cc(0x269)][_0x13f7cc(0x1c0)][_0x13f7cc(0x27b)](_0x471a0d))throw new _0x41198c(_0x13f7cc(0x2a9),this);const _0x1b2509=this[_0x13f7cc(0x1c4)][_0x13f7cc(0x209)][_0x13f7cc(0x1d6)](_0xb8035c[_0x471a0d]),_0x262a7a=this[_0x13f7cc(0x269)][_0x13f7cc(0x225)](_0x471a0d),_0x2101e8=new _0x51cf24(_0x47ffc0[_0x13f7cc(0x210)](_0x262a7a,0x0),_0x1b2509,_0x379ae6++);_0x283f4b[_0x13f7cc(0x244)](_0x2101e8);for(const [_0x29be3a,_0x6cc6e9]of _0x1b2509[_0x13f7cc(0x289)]){const _0x17154e=_0x47ffc0[_0x13f7cc(0x27d)](_0x47ffc0[_0x13f7cc(0x1c9)](_0x262a7a,_0x6cc6e9[_0x13f7cc(0x231)][_0x13f7cc(0x1db)][_0x13f7cc(0x278)]()),_0x47ffc0[_0x13f7cc(0x1c9)](_0x262a7a,_0x6cc6e9[_0x13f7cc(0x233)][_0x13f7cc(0x1db)][_0x13f7cc(0x278)]())),_0xed498a=new _0x29a48c(_0x29be3a,null,_0x17154e,_0x47ffc0[_0x13f7cc(0x289)],!0x0,_0x379ae6++);_0x283f4b[_0x13f7cc(0x244)](_0xed498a);}}if(_0x4d3155)for(const [_0xda5bcc,_0x5d9535]of Object[_0x13f7cc(0x25c)](_0x4d3155)){const _0x24ac1d=_0x47ffc0[_0x13f7cc(0x1f2)][_0x13f7cc(0x225)](_0xda5bcc);if(!_0x24ac1d)throw new _0x41198c(_0x13f7cc(0x258),null);for(const [_0x28ec72,_0x119e7f]of Object[_0x13f7cc(0x25c)](_0x5d9535))if(null!==_0x119e7f){const _0x42ccc3=new _0x535837(_0x24ac1d,_0x28ec72,null,_0x119e7f,_0x379ae6++);_0x283f4b[_0x13f7cc(0x244)](_0x42ccc3);}}return _0x283f4b;}async[_0x3d35bf(0x1f6)](_0x2c2a68,_0xb8989d,_0x40213c){const _0x52ed41=_0x3d35bf;this[_0x52ed41(0x272)]({[_0x2c2a68]:_0xb8989d},{[_0x2c2a68]:_0x40213c})[_0x52ed41(0x273)]((_0x6727a2,_0x381861)=>{const _0x1e76ca=_0x52ed41;_0x6727a2[_0x1e76ca(0x20e)]=this[_0x1e76ca(0x269)][_0x1e76ca(0x241)]+_0x381861,_0x6727a2[_0x1e76ca(0x20c)]=!0x0,this[_0x1e76ca(0x295)](_0x6727a2);}),this[_0x52ed41(0x25e)](),await this[_0x52ed41(0x25a)]();}async[_0x3d35bf(0x21c)](_0x2234fd,_0x37edca){const _0x33f251=_0x3d35bf;let _0x2c5343;this[_0x33f251(0x1ce)]=_0x2234fd[_0x33f251(0x205)];const _0x290caa=_0x2234fd[_0x33f251(0x1c2)]&&!_0x2234fd[_0x33f251(0x1e7)],_0x5e5489=_0x290caa?0x0:_0x2234fd[_0x33f251(0x209)][_0x33f251(0x20e)];if(_0x37edca[_0x33f251(0x273)](_0x2ee65e=>{const _0x267f41=_0x33f251;_0x2ee65e[_0x267f41(0x20c)]=!0x0,_0x2ee65e[_0x267f41(0x24e)]=_0x2234fd[_0x267f41(0x2ac)],_0x2ee65e[_0x267f41(0x2ad)]=null;}),_0x290caa)_0x2c5343=_0x37edca,this[_0x33f251(0x234)](_0x2c5343,_0x290caa);else{if(_0x2234fd[_0x33f251(0x1e7)]){const _0x3a5254=this[_0x33f251(0x272)](_0x2234fd[_0x33f251(0x1e7)]);this[_0x33f251(0x269)][_0x33f251(0x299)][_0x33f251(0x241)]=-_0x3a5254[_0x33f251(0x1e4)],_0x3a5254[_0x33f251(0x273)](_0x37a43b=>{const _0x22e6cb=_0x33f251;_0x37a43b[_0x22e6cb(0x20e)]-=_0x3a5254[_0x22e6cb(0x1e4)],_0x37a43b[_0x22e6cb(0x24e)]=_0x2234fd[_0x22e6cb(0x2ac)],_0x37a43b[_0x22e6cb(0x20c)]=!0x0,_0x37a43b[_0x22e6cb(0x2ad)]=null;}),this[_0x33f251(0x234)](_0x3a5254,!0x0),this[_0x33f251(0x29e)][_0x33f251(0x241)]=-_0x3a5254[_0x33f251(0x1e4)]+this[_0x33f251(0x1ce)],this[_0x33f251(0x271)](_0x3a5254);}this[_0x33f251(0x269)][_0x33f251(0x299)][_0x33f251(0x241)]=_0x5e5489,_0x2c5343=this[_0x33f251(0x1d7)](_0x2234fd[_0x33f251(0x209)],_0x2234fd[_0x33f251(0x235)]),await this[_0x33f251(0x219)](_0x2c5343),this[_0x33f251(0x234)](_0x2c5343,_0x290caa);}_0x2234fd[_0x33f251(0x1ff)]&&(this[_0x33f251(0x237)][_0x33f251(0x1ea)](_0x2c5343,_0x2234fd[_0x33f251(0x1ff)]),this[_0x33f251(0x1d4)]=_0x2234fd[_0x33f251(0x1ff)]),this[_0x33f251(0x29e)][_0x33f251(0x241)]=_0x5e5489+this[_0x33f251(0x1ce)],this[_0x33f251(0x271)](_0x2c5343),_0x37edca[_0x33f251(0x23e)](_0x3c207c=>{const _0x416ba6=_0x33f251,_0x4e4f08=this[_0x416ba6(0x27f)](_0x3c207c);return _0x4e4f08&&!this[_0x416ba6(0x253)][_0x416ba6(0x27b)](_0x4e4f08);})[_0x33f251(0x273)]((_0x19a5f7,_0xd891fa)=>{const _0xa8647a=_0x33f251;_0x19a5f7[_0xa8647a(0x20e)]=this[_0xa8647a(0x269)][_0xa8647a(0x241)]+_0xd891fa,this[_0xa8647a(0x295)](_0x19a5f7);}),this[_0x33f251(0x23f)]()?(this[_0x33f251(0x262)]=0x0,this[_0x33f251(0x25e)](!0x0),await this[_0x33f251(0x25a)]()):(this[_0x33f251(0x22e)]=!0x1,this[_0x33f251(0x1be)]());}[_0x3d35bf(0x1b9)](_0xab3ca,_0x20ca57){const _0x165db3=_0x3d35bf,_0x260d8c=_0x20ca57&&_0x20ca57[_0x165db3(0x1f9)];if(_0x260d8c&&_0x260d8c[_0x165db3(0x1ef)](_0x165db3(0x243)))throw _0x20ca57;const _0x54b519=this[_0x165db3(0x1c4)][_0x165db3(0x1d8)][_0x165db3(0x208)](_0x545b57);throw this[_0x165db3(0x22e)]=!0x0,_0x54b519[_0x165db3(0x275)](),this[_0x165db3(0x1c4)][_0x165db3(0x1bd)](_0x165db3(0x1ab)),new _0x41198c(_0xab3ca,this[_0x165db3(0x1c4)],_0x260d8c?{'originalError':_0x260d8c}:void 0x0);}[_0x3d35bf(0x295)](_0x566c89){const _0x44b218=_0x3d35bf;this[_0x44b218(0x263)][_0x44b218(0x27b)](_0x566c89)||(this[_0x44b218(0x263)][_0x44b218(0x22d)](_0x566c89),this[_0x44b218(0x1d2)][_0x44b218(0x244)](_0x566c89),this[_0x44b218(0x265)]||_0x44b218(0x284)==_0x566c89[_0x44b218(0x29a)]&&!_0x566c89[_0x44b218(0x24c)]||this[_0x44b218(0x1d3)]());}[_0x3d35bf(0x25e)](_0x5e5bee=!0x1){const _0x5a71cb=_0x3d35bf;!_0x5e5bee&&this[_0x5a71cb(0x22e)]||(this[_0x5a71cb(0x22e)]=!0x0,clearTimeout(this[_0x5a71cb(0x1ee)]),this[_0x5a71cb(0x1ee)]=setTimeout(()=>{const _0x470351=_0x5a71cb;this[_0x470351(0x274)]()[_0x470351(0x1ae)](_0x2e8b2d=>{const _0x3597ed=_0x470351;_0x2e8b2d&&(this[_0x3597ed(0x1be)](),this[_0x3597ed(0x22e)]=!0x1);})[_0x470351(0x201)](_0x41aed0=>{const _0x16785d=_0x470351;this[_0x16785d(0x1be)](),this[_0x16785d(0x22e)]=!0x1,function(_0x5e5620){const _0x273427=_0x16785d;return _0x5e5620[_0x273427(0x1f9)][_0x273427(0x1ef)](_0x273427(0x26e))||_0x5e5620[_0x273427(0x1f9)][_0x273427(0x1ef)](_0x273427(0x282))||_0x5e5620[_0x273427(0x1f9)][_0x273427(0x1ef)](_0x273427(0x264));}(_0x41aed0)||this[_0x16785d(0x1b9)](_0x41aed0[_0x16785d(0x1f9)],_0x41aed0);});},this[_0x5a71cb(0x262)]));}[_0x3d35bf(0x25a)](){return new Promise(_0x257e32=>{const _0x51ca19=_0x304e;this['on'](_0x51ca19(0x26b),()=>{_0x257e32();});});}async[_0x3d35bf(0x274)](){const _0x5cc12f=_0x3d35bf,_0x333f9f=this[_0x5cc12f(0x1c4)][_0x5cc12f(0x1d8)][_0x5cc12f(0x208)](_0x4fd09b);if(this[_0x5cc12f(0x294)]()&&(_0x333f9f[_0x5cc12f(0x280)](),this[_0x5cc12f(0x1f4)]=!0x1),!this[_0x5cc12f(0x23f)]())return!0x0;const _0x474a81=[...this[_0x5cc12f(0x1d2)]];for(const _0x2d946a of _0x474a81)_0x2d946a[_0x5cc12f(0x1cd)]=this[_0x5cc12f(0x269)][_0x5cc12f(0x299)][_0x5cc12f(0x1e8)](_0x2d946a);const _0x4bc3fb=this[_0x5cc12f(0x237)][_0x5cc12f(0x1e2)](_0x474a81),_0x3c01e3=K++,_0xebc6d6=this[_0x5cc12f(0x1bf)](_0x474a81),_0x12b5e4=await this[_0x5cc12f(0x1eb)][_0x5cc12f(0x2a1)](_0xebc6d6,_0xebc6d6[_0x5cc12f(0x20e)],_0x4bc3fb);try{return await this[_0x5cc12f(0x1c7)](_0x474a81,_0x12b5e4,_0x3c01e3);}catch(_0x12f942){return this[_0x5cc12f(0x1b9)](_0x5cc12f(0x1e5),_0x12f942);}}async[_0x3d35bf(0x1c7)](_0x654127,_0x35390e,_0x510c2d){const _0x334119=_0x3d35bf;if(_0x334119(0x26c)in _0x35390e)throw _0x35390e[_0x334119(0x26c)];let _0x346241=!0x1;if(_0x35390e[_0x334119(0x1c2)]){_0x35390e[_0x334119(0x1ff)]&&(this[_0x334119(0x1d4)]=_0x35390e[_0x334119(0x1ff)]),this[_0x334119(0x1d2)]=this[_0x334119(0x1d2)][_0x334119(0x23e)](_0x1fa43c=>!_0x654127[_0x334119(0x28a)](_0x1fa43c));for(const _0x1204f5 of _0x654127)_0x1204f5[_0x334119(0x24e)]=_0x334119(0x211)in _0x35390e&&_0x35390e[_0x334119(0x211)]||void 0x0;Q(_0x654127,_0x35390e[_0x334119(0x241)]-_0x654127[_0x334119(0x1e4)]),this[_0x334119(0x271)](_0x654127);const _0x800a13=_0x654127[_0x334119(0x23e)](_0x247088=>{const _0xb65cbb=_0x334119;if(!_0x247088[_0xb65cbb(0x20c)])return!0x1;const _0x1d537c=this[_0xb65cbb(0x27f)](_0x247088);return _0x1d537c&&!this[_0xb65cbb(0x253)][_0xb65cbb(0x27b)](_0x1d537c);});Q(_0x800a13,this[_0x334119(0x269)][_0x334119(0x241)]),this[_0x334119(0x234)](_0x800a13),_0x346241=!0x0,this[_0x334119(0x262)]=this[_0x334119(0x297)];}else{const _0x1927e0=this[_0x334119(0x1d7)](_0x35390e[_0x334119(0x209)],_0x35390e[_0x334119(0x235)])[_0x334119(0x23e)](_0x18abe1=>_0x18abe1[_0x334119(0x20e)]>=this[_0x334119(0x1d9)]);_0x1927e0[_0x334119(0x273)](_0xdc3b13=>this[_0x334119(0x214)](_0xdc3b13)),this[_0x334119(0x1d2)]=this[_0x334119(0x1d2)][_0x334119(0x23e)](_0x3b73ff=>!_0x3b73ff[_0x334119(0x20c)]||!this[_0x334119(0x253)][_0x334119(0x27b)](this[_0x334119(0x27f)](_0x3b73ff))),this[_0x334119(0x1d2)][_0x334119(0x1e4)]&&Q(this[_0x334119(0x1d2)],this[_0x334119(0x1d2)][0x0][_0x334119(0x20e)]),await this[_0x334119(0x219)](_0x1927e0),_0x346241=this[_0x334119(0x1c6)](_0x1927e0,_0x35390e[_0x334119(0x241)],_0x35390e[_0x334119(0x1ff)]),this[_0x334119(0x262)]=Math[_0x334119(0x2aa)](this[_0x334119(0x262)]/0x2);}return _0x346241?!this[_0x334119(0x23f)]()||(this[_0x334119(0x25e)](!0x0),!0x1):this[_0x334119(0x1b9)](_0x334119(0x277));}[_0x3d35bf(0x1c6)](_0xaf2f5b,_0xb22009,_0x39f952){const _0x1d3b6b=_0x3d35bf;try{const _0x152827={'document':this[_0x1d3b6b(0x269)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x20f1d5,operationsB:_0x5e5274,originalOperations:_0x4db8a4}=_0x537314(_0xaf2f5b,this[_0x1d3b6b(0x1d2)],_0x152827);Q(_0x20f1d5,this[_0x1d3b6b(0x269)][_0x1d3b6b(0x241)]),Q(_0x5e5274,_0xb22009);for(const _0x148f86 of _0x20f1d5){const _0x2df959=_0x4db8a4[_0x1d3b6b(0x208)](_0x148f86);_0x148f86[_0x1d3b6b(0x2ad)]=_0x2df959?_0x2df959[_0x1d3b6b(0x2ad)]:null;}_0x39f952&&(this[_0x1d3b6b(0x237)][_0x1d3b6b(0x1ea)](_0xaf2f5b,_0x39f952),this[_0x1d3b6b(0x1d4)]=_0x39f952),this[_0x1d3b6b(0x1d2)]=[..._0x5e5274],this[_0x1d3b6b(0x234)](_0x20f1d5),this[_0x1d3b6b(0x271)](_0xaf2f5b);}catch(_0x1d6676){return console[_0x1d3b6b(0x26c)](_0x1d6676),!0x1;}return!0x0;}[_0x3d35bf(0x234)](_0x2518de,_0x1b557c=!0x1){const _0x2b4f54=_0x3d35bf;this[_0x2b4f54(0x1c4)][_0x2b4f54(0x2a0)][_0x2b4f54(0x281)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1d3e69=>{const _0x10ca15=_0x2b4f54;for(const _0x3ab287 of _0x2518de)this[_0x10ca15(0x263)][_0x10ca15(0x22d)](_0x3ab287),this[_0x10ca15(0x214)](_0x3ab287),_0x1d3e69[_0x10ca15(0x1c3)][_0x10ca15(0x286)](_0x3ab287),this[_0x10ca15(0x1c4)][_0x10ca15(0x2a0)][_0x10ca15(0x23c)](_0x3ab287);});}[_0x3d35bf(0x214)](_0x4ab5d9){const _0x4d5521=_0x3d35bf,_0x24f7f0=this[_0x4d5521(0x27f)](_0x4ab5d9);_0x24f7f0&&this[_0x4d5521(0x253)][_0x4d5521(0x22d)](_0x24f7f0);}[_0x3d35bf(0x27f)](_0x3a7988){const _0x549796=_0x3d35bf;let _0x2ad455,_0x1402f0;switch(_0x3a7988[_0x549796(0x29a)]){case _0x549796(0x215):_0x2ad455=_0x3a7988[_0x549796(0x283)][_0x549796(0x242)];break;case _0x549796(0x284):if(_0x1402f0=_0x3a7988[_0x549796(0x223)],!_0x1402f0)return null;_0x2ad455=_0x1402f0[_0x549796(0x242)];break;case _0x549796(0x1ad):_0x2ad455=_0x3a7988[_0x549796(0x242)];break;case _0x549796(0x1cc):_0x2ad455=_0x3a7988[_0x549796(0x238)];break;case _0x549796(0x1de):_0x2ad455=_0x3a7988[_0x549796(0x1ed)][_0x549796(0x242)];break;default:return null;}return _0x2ad455[_0x549796(0x1cf)];}[_0x3d35bf(0x271)](_0x129c9f){const _0x4320fe=_0x3d35bf;_0x129c9f[_0x4320fe(0x273)](_0xf51bbc=>{const _0x2e5d02=_0x4320fe,_0x3bea83=_0xf51bbc[_0x2e5d02(0x2a3)]();_0x3bea83[_0x2e5d02(0x2ad)]=_0xf51bbc[_0x2e5d02(0x2ad)],_0x3bea83[_0x2e5d02(0x20c)]=!!_0xf51bbc[_0x2e5d02(0x20c)],_0x3bea83[_0x2e5d02(0x24e)]=_0xf51bbc[_0x2e5d02(0x24e)],_0x3bea83[_0x2e5d02(0x20e)]+=this[_0x2e5d02(0x1ce)],_0xf51bbc[_0x2e5d02(0x20b)]&&this[_0x2e5d02(0x24d)][_0x2e5d02(0x22d)](_0x3bea83),this[_0x2e5d02(0x29e)][_0x2e5d02(0x286)](_0x3bea83);});}[_0x3d35bf(0x203)](_0x38e37c){const _0xa5fb6d=_0x3d35bf,_0x465118=this[_0xa5fb6d(0x1c4)][_0xa5fb6d(0x1d8)][_0xa5fb6d(0x208)](_0xa5fb6d(0x22f)),_0x44bf1e=this[_0xa5fb6d(0x1c4)][_0xa5fb6d(0x1d1)];_0x38e37c||(_0x38e37c=_0xe2cf1(_0x44bf1e,_0xa5fb6d(0x27c))),_0x465118[_0xa5fb6d(0x1f7)](_0x38e37c,{'title':_0xe2cf1(_0x44bf1e,_0xa5fb6d(0x222)),'namespace':_0xa5fb6d(0x1af)}),this[_0xa5fb6d(0x1e6)]=!0x0,clearTimeout(this[_0xa5fb6d(0x1ee)]),this[_0xa5fb6d(0x1d2)]=[],this[_0xa5fb6d(0x1c4)][_0xa5fb6d(0x1d8)][_0xa5fb6d(0x208)](_0x545b57)[_0xa5fb6d(0x275)]();}[_0x3d35bf(0x1d3)](){const _0x3c4fa1=_0x3d35bf;this[_0x3c4fa1(0x265)]||(this[_0x3c4fa1(0x265)]=this[_0x3c4fa1(0x1c4)][_0x3c4fa1(0x1d8)][_0x3c4fa1(0x208)](_0x109940)[_0x3c4fa1(0x22d)](_0xe2cf1(this[_0x3c4fa1(0x1c4)][_0x3c4fa1(0x1d1)],_0x3c4fa1(0x20f))));}[_0x3d35bf(0x1be)](){const _0x565205=_0x3d35bf;this[_0x565205(0x265)]&&(this[_0x565205(0x1c4)][_0x565205(0x1d8)][_0x565205(0x208)](_0x109940)[_0x565205(0x1c5)](this[_0x565205(0x265)]),this[_0x565205(0x265)]=null);}[_0x3d35bf(0x1bf)](_0x9c9e25){const _0x28857f=_0x3d35bf,_0x5008a2=_0x9c9e25[_0x28857f(0x226)](_0x2defa8=>_0x2defa8[_0x28857f(0x1fd)]());return this[_0x28857f(0x2ae)][_0x28857f(0x25d)](_0x5008a2);}[_0x3d35bf(0x1d7)](_0x3fde77,_0x6409fa){const _0x3061e4=_0x3d35bf;return this[_0x3061e4(0x2ae)][_0x3061e4(0x1dd)](_0x3fde77)[_0x3061e4(0x226)]((_0x1d52c5,_0x254966)=>{const _0xc934dc=_0x3061e4,_0x137579=_0xc934dc(0x236)==_0x6409fa[_0x254966][_0xc934dc(0x29a)];if(_0xc934dc(0x296)==_0x1d52c5[_0xc934dc(0x250)]){const _0x129bb8=_0x1d52c5[_0xc934dc(0x283)][_0xc934dc(0x242)];!this[_0xc934dc(0x269)][_0xc934dc(0x225)](_0x129bb8)&&(this[_0xc934dc(0x269)][_0xc934dc(0x2a7)](_0xc934dc(0x1ca),_0x129bb8)[_0xc934dc(0x240)]=!0x1);}const _0x5d94aa=_0x4ff852[_0xc934dc(0x1ac)](_0x1d52c5,this[_0xc934dc(0x269)]);return _0x5d94aa[_0xc934dc(0x1cd)]=_0x1d52c5[_0xc934dc(0x1cd)],_0x5d94aa[_0xc934dc(0x20c)]=_0x137579,_0x5d94aa[_0xc934dc(0x2ad)]=_0x137579?null:_0x6409fa[_0x254966][_0xc934dc(0x21e)],_0x5d94aa[_0xc934dc(0x20b)]=_0xc934dc(0x29b)===_0x6409fa[_0x254966][_0xc934dc(0x29a)],_0x5d94aa[_0xc934dc(0x24e)]=_0x6409fa[_0x254966][_0xc934dc(0x24e)],_0x5d94aa;});}[_0x3d35bf(0x227)](){const _0x4fcbca=_0x3d35bf;this[_0x4fcbca(0x1f4)]=!0x0,this[_0x4fcbca(0x294)]()?this[_0x4fcbca(0x25e)]():this[_0x4fcbca(0x1f4)]=!0x1;}[_0x3d35bf(0x294)](){const _0x29ef0e=_0x3d35bf,_0x4197dc=this[_0x29ef0e(0x1c4)][_0x29ef0e(0x1d8)][_0x29ef0e(0x208)](_0x5a52f5)[_0x29ef0e(0x217)][_0x29ef0e(0x208)](this[_0x29ef0e(0x22b)]);return!this[_0x29ef0e(0x1c4)][_0x29ef0e(0x216)]&&!!_0x4197dc&&_0x4197dc[_0x29ef0e(0x1e4)]>0x1&&this[_0x29ef0e(0x1f4)];}[_0x3d35bf(0x23f)](){const _0x1f2648=_0x3d35bf;return this[_0x1f2648(0x1d2)][_0x1f2648(0x1e4)]>0x0||this[_0x1f2648(0x294)]();}}l[_0x3d35bf(0x266)]=_0x20da33;export default l;class J extends Error{}function Q(_0x1e19b9,_0x4e2e9d){const _0x314d86=_0x3d35bf;for(const _0x32997b of _0x1e19b9)_0x32997b[_0x314d86(0x20e)]=_0x4e2e9d++;}class X{constructor(_0x2a9722){const _0x1ee845=_0x3d35bf;this[_0x1ee845(0x1cb)]=_0x2a9722,this[_0x1ee845(0x1e9)]=new WeakMap();}[_0x3d35bf(0x1e2)](_0x2716b8){const _0xce74d6=_0x3d35bf;let _0x1dc565=_0x2716b8[_0xce74d6(0x1e4)];for(;_0x1dc565--;){const _0x45c727=_0x2716b8[_0x1dc565];if(!this[_0xce74d6(0x1cb)][_0xce74d6(0x27b)](_0x45c727)){if(!this[_0xce74d6(0x1e9)][_0xce74d6(0x27b)](_0x45c727)){const _0x2af338=_0x12f772()[_0xce74d6(0x278)](0x1,0x12);this[_0xce74d6(0x1e9)][_0xce74d6(0x260)](_0x45c727,_0x2af338);}return this[_0xce74d6(0x1e9)][_0xce74d6(0x208)](_0x45c727);}}}[_0x3d35bf(0x1ea)](_0xadcfc5,_0xd4ceec){const _0x556c9a=_0x3d35bf;if(!_0xd4ceec)return;let _0x420261=_0xadcfc5[_0x556c9a(0x1e4)];for(;_0x420261--;){const _0x10d936=_0xadcfc5[_0x420261];this[_0x556c9a(0x1cb)][_0x556c9a(0x27b)](_0x10d936)||this[_0x556c9a(0x1e9)][_0x556c9a(0x260)](_0x10d936,_0xd4ceec);}}}
|
|
23
|
+
const _0x32c658=_0x26fd;(function(_0x596f60,_0x26d4e8){const _0x2439e7=_0x26fd,_0x2abde8=_0x596f60();while(!![]){try{const _0x3d874e=parseInt(_0x2439e7(0x1b4))/0x1*(-parseInt(_0x2439e7(0xe7))/0x2)+-parseInt(_0x2439e7(0x155))/0x3+parseInt(_0x2439e7(0xc8))/0x4*(-parseInt(_0x2439e7(0x143))/0x5)+parseInt(_0x2439e7(0xd2))/0x6*(-parseInt(_0x2439e7(0x112))/0x7)+parseInt(_0x2439e7(0x10c))/0x8*(-parseInt(_0x2439e7(0x14c))/0x9)+-parseInt(_0x2439e7(0x117))/0xa+-parseInt(_0x2439e7(0xc5))/0xb*(-parseInt(_0x2439e7(0x1b3))/0xc);if(_0x3d874e===_0x26d4e8)break;else _0x2abde8['push'](_0x2abde8['shift']());}catch(_0x262797){_0x2abde8['push'](_0x2abde8['shift']());}}}(_0x36ed,0x6f0e5));import{Plugin as _0x119b5f,PendingActions as _0x19f290}from'ckeditor5/src/core.js';import{CKEditorError as _0xb522b5,version as _0x113c89,uid as _0x4ca5da}from'ckeditor5/src/utils.js';import{Notification as _0x4934f5}from'ckeditor5/src/ui.js';import{transformSets as _0x2d6a3c,NoOperation as _0x2f4649,InsertOperation as _0x2817d8,MarkerOperation as _0x307164,RootAttributeOperation as _0x592043,OperationFactory as _0x26f46a,History as _0x1ac4f2}from'ckeditor5/src/engine.js';import _0x4128c4 from'./websocketgateway.js';import _0x5886e0 from'./sessions.js';import _0x40141b from'./usermarkers.js';import{getTranslation as _0x2d7f16}from'../common-translations.js';import{Compressor as _0x149fba}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x433f22}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x1af6df,CollaborativeEditingService as _0x5023cb}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x119b5f{static get[_0x32c658(0x152)](){return[_0x4128c4,_0x5886e0,_0x40141b,_0x19f290,_0x433f22,_0x4934f5];}static get[_0x32c658(0xef)](){const _0x5c9609=_0x32c658;return _0x5c9609(0x1a3);}static get[_0x32c658(0x129)](){return!0x0;}static get[_0x32c658(0x133)](){return!0x0;}get[_0x32c658(0x1b7)](){const _0x1ff4e2=_0x32c658;return this[_0x1ff4e2(0x184)]+this[_0x1ff4e2(0x14f)];}get[_0x32c658(0x184)](){const _0x39c021=_0x32c658;return this[_0x39c021(0xe1)][_0x39c021(0x179)]-this[_0x39c021(0x14f)];}get[_0x32c658(0x187)](){const _0x170ce9=_0x32c658,_0x5b5035=this[_0x170ce9(0xe1)][_0x170ce9(0x195)]();for(let _0x152daf=_0x5b5035[_0x170ce9(0x138)]-0x1;_0x152daf>=0x0;_0x152daf--){const _0x4de55d=_0x5b5035[_0x152daf];if(!this[_0x170ce9(0x196)][_0x170ce9(0x150)](_0x4de55d))return _0x4de55d[_0x170ce9(0xcb)]+0x1-this[_0x170ce9(0x14f)];}return 0x0;}constructor(_0x3b6c8f){const _0x2b41ef=_0x32c658;if(super(_0x3b6c8f),this[_0x2b41ef(0x14f)]=0x0,this[_0x2b41ef(0x145)]=null,this[_0x2b41ef(0xe1)]=new _0x1ac4f2(),this[_0x2b41ef(0x1b6)][_0x2b41ef(0x147)][_0x2b41ef(0x17c)](_0x2b41ef(0xcf),{}),this[_0x2b41ef(0x118)]=this[_0x2b41ef(0x1b6)][_0x2b41ef(0x147)][_0x2b41ef(0x1ba)](_0x2b41ef(0x1a0)),!this[_0x2b41ef(0x118)])throw new _0xb522b5(_0x2b41ef(0x14b),this);const _0x451e59=_0x3b6c8f[_0x2b41ef(0x147)][_0x2b41ef(0x1ba)](_0x2b41ef(0x19d))||_0x113c89;this[_0x2b41ef(0x100)]=new l[(_0x2b41ef(0x10e))](_0x451e59,this[_0x2b41ef(0x118)]),this[_0x2b41ef(0x11c)]=this[_0x2b41ef(0x1b6)][_0x2b41ef(0x1bb)][_0x2b41ef(0x111)],this[_0x2b41ef(0x176)]=new _0x149fba(),this[_0x2b41ef(0x14a)]=[],this[_0x2b41ef(0xce)]=new WeakSet(),this[_0x2b41ef(0xff)]=new Set(),this[_0x2b41ef(0x169)](_0x2b41ef(0x1ad),!0x1),this[_0x2b41ef(0x169)](_0x2b41ef(0x127),!0x1),this[_0x2b41ef(0xed)]=null,this[_0x2b41ef(0x10d)]=!0x1,this[_0x2b41ef(0x1ab)]=null,this[_0x2b41ef(0x13c)]=0x12c,this[_0x2b41ef(0xc4)]=this[_0x2b41ef(0x13c)],this[_0x2b41ef(0xd3)]=null,this[_0x2b41ef(0x196)]=new WeakSet(),this[_0x2b41ef(0x17b)]=new X(this[_0x2b41ef(0x196)]);}[_0x32c658(0x116)](){const _0x23a032=_0x32c658,_0x243d22=this[_0x23a032(0x1b6)],_0x30174a=_0x243d22[_0x23a032(0x1be)][_0x23a032(0x1ba)](_0x433f22),_0xa052ea=_0x243d22[_0x23a032(0x1be)][_0x23a032(0x1ba)](_0x4128c4);this[_0x23a032(0x165)](_0x30174a,_0x23a032(0x12c),(_0x4962ef,_0x542fda)=>{const _0x49ae25=_0x23a032,_0x174119=_0x542fda[0x0];_0x174119[_0x49ae25(0x193)]&&(_0x4962ef[_0x49ae25(0x15b)]=_0x30174a[_0x49ae25(0x1c0)](_0x174119[_0x49ae25(0x193)]),_0x4962ef[_0x49ae25(0x181)]()),null===_0x174119[_0x49ae25(0x193)]&&(_0x4962ef[_0x49ae25(0x15b)]=null,_0x4962ef[_0x49ae25(0x181)]());},{'priority':_0x23a032(0x189)}),this[_0x23a032(0x165)](_0x243d22[_0x23a032(0x1bb)][_0x23a032(0x111)][_0x23a032(0xf0)],_0x23a032(0x12a),(_0xd7a3aa,_0x19e97c)=>{const _0x4f8fc7=_0x23a032;_0x19e97c[_0x4f8fc7(0x13d)]&&this[_0x4f8fc7(0x157)]();}),this[_0x23a032(0x165)](_0x243d22[_0x23a032(0x1af)][_0x23a032(0x16f)],_0x23a032(0xc7),()=>{const _0x3f1404=_0x23a032;this[_0x3f1404(0x157)]();}),this[_0x23a032(0xd4)](),_0x243d22[_0x23a032(0x1bb)]['on'](_0x23a032(0xf3),(_0x207deb,_0x45dda9)=>{const _0x56d5de=_0x23a032,_0x149136=_0x45dda9[0x0];_0x149136[_0x56d5de(0x180)]&&(this[_0x56d5de(0x173)](_0x149136),this[_0x56d5de(0x1b5)]()&&this[_0x56d5de(0x151)]());}),this[_0x23a032(0x107)](),this[_0x23a032(0x128)](_0x23a032(0x17a))['to'](_0xa052ea,_0x23a032(0x16d),this,_0x23a032(0x127),(_0x3af92c,_0x4fe60a)=>_0x23a032(0x19a)===_0x3af92c&&!_0x4fe60a),this['on'](_0x23a032(0xcc),()=>{const _0x151e37=_0x23a032;this[_0x151e37(0x17a)]?_0x243d22[_0x151e37(0x16c)](_0x151e37(0xfe)):_0x243d22[_0x151e37(0x144)](_0x151e37(0xfe));}),this[_0x23a032(0x17a)]?_0x243d22[_0x23a032(0x16c)](_0x23a032(0xfe)):_0x243d22[_0x23a032(0x144)](_0x23a032(0xfe)),this[_0x23a032(0x169)](_0x23a032(0xe3),!0x1);}async[_0x32c658(0xdb)](){const _0x2e6791=_0x32c658,_0x3f953c=this[_0x2e6791(0x1b6)][_0x2e6791(0x1be)][_0x2e6791(0x1ba)](_0x5886e0),_0x3bd197=this[_0x2e6791(0x1b6)][_0x2e6791(0x1be)][_0x2e6791(0x1ba)](_0x4128c4);try{this[_0x2e6791(0x1ad)]=!0x0,_0x3f953c[_0x2e6791(0x1a9)](this[_0x2e6791(0x118)]);const _0xb8a50b=await this[_0x2e6791(0x100)][_0x2e6791(0xdb)](_0x3bd197[_0x2e6791(0x19b)],this[_0x2e6791(0x187)]);await this[_0x2e6791(0x190)](_0xb8a50b)&&(this[_0x2e6791(0x1ad)]=!0x1,this[_0x2e6791(0x12e)]());const _0xbd0441=await this[_0x2e6791(0x100)][_0x2e6791(0x11f)]();_0x3f953c[_0x2e6791(0x1c2)](this[_0x2e6791(0x118)],_0xbd0441),this[_0x2e6791(0x125)](),this[_0x2e6791(0xe3)]=!0x0;}catch(_0x4be736){if(function(_0x59ce5c){const _0x3c88dd=_0x2e6791;return _0x3c88dd(0xd5)===_0x59ce5c[_0x3c88dd(0xd6)];}(_0x4be736)&&this[_0x2e6791(0x145)])await this[_0x2e6791(0xea)]();else{if(function(_0x209ddd){const _0x5ef073=_0x2e6791;return _0x5ef073(0x13a)===_0x209ddd[_0x5ef073(0xd6)];}(_0x4be736)){const _0x4a6e97=_0x2d7f16(this[_0x2e6791(0x1b6)][_0x2e6791(0x1b0)],_0x2e6791(0x106));this[_0x2e6791(0x122)](_0x4a6e97);}else{if(!(_0x4be736 instanceof J))throw _0x4be736;this[_0x2e6791(0x122)]();}}}}[_0x32c658(0xbc)](){const _0x4f4800=_0x32c658,_0x35e235=this[_0x4f4800(0x1b6)][_0x4f4800(0x1be)][_0x4f4800(0x1ba)](_0x4128c4),_0x3173cb=this[_0x4f4800(0x1b6)][_0x4f4800(0x1be)][_0x4f4800(0x1ba)](_0x5886e0);this[_0x4f4800(0x1b6)][_0x4f4800(0x144)](_0x4f4800(0x14d)),_0x3173cb[_0x4f4800(0xd1)][_0x4f4800(0x150)](this[_0x4f4800(0x118)])&&_0x3173cb[_0x4f4800(0x1a9)](this[_0x4f4800(0x118)]),_0x35e235[_0x4f4800(0x19c)](this),this[_0x4f4800(0xc1)](),super[_0x4f4800(0xbc)]();}async[_0x32c658(0x190)](_0x1edfae){const _0x20f2eb=_0x32c658;if(this[_0x20f2eb(0x145)]!==_0x1edfae[_0x20f2eb(0x145)]&&this[_0x20f2eb(0xd3)]!==_0x1edfae[_0x20f2eb(0x148)])throw new J();return this[_0x20f2eb(0x145)]=_0x1edfae[_0x20f2eb(0x145)],this[_0x20f2eb(0x18c)]([],{..._0x1edfae,'wereChangesApplied':!0x1,'data':_0x1edfae[_0x20f2eb(0x17e)]},_0x20f2eb(0xdb));}async[_0x32c658(0xd8)](_0x2fe915,_0xd6990a=!0x1){const _0x3edf93=_0x32c658,{connection:_0x1a8fee}=this[_0x3edf93(0x1b6)][_0x3edf93(0x1be)][_0x3edf93(0x1ba)](_0x4128c4);l[_0x3edf93(0x10e)][_0x3edf93(0x11f)](_0x1a8fee,this[_0x3edf93(0x118)])[_0x3edf93(0x192)](_0x44ed82=>this[_0x3edf93(0x1b1)](_0x44ed82))[_0x3edf93(0x16e)](_0x1f83aa=>{const _0x2c7203=_0x3edf93;this[_0x2c7203(0x158)](_0x2c7203(0x18e),_0x1f83aa);}),this[_0x3edf93(0x165)](this[_0x3edf93(0x100)],_0x3edf93(0x115),this[_0x3edf93(0x154)][_0x3edf93(0x128)](this)),this[_0x3edf93(0x165)](this[_0x3edf93(0x100)],_0x3edf93(0x136),(_0x3ef38e,_0x304c62)=>{const _0x27e72f=_0x3edf93;this[_0x27e72f(0x158)](_0x27e72f(0x10f),_0x304c62);}),this[_0x3edf93(0x165)](this[_0x3edf93(0x100)],_0x3edf93(0x142),()=>{const _0xc39615=_0x3edf93;this[_0xc39615(0xe3)]=!0x1;});const _0x4f99da=this[_0x3edf93(0x17b)][_0x3edf93(0x183)](_0x2fe915);this[_0x3edf93(0x1ad)]=!0x0;const _0xe05e75=await this[_0x3edf93(0x100)][_0x3edf93(0xfc)](_0x1a8fee,this[_0x3edf93(0xdf)](_0x2fe915),_0x4f99da);if(this[_0x3edf93(0x145)]=_0xe05e75[_0x3edf93(0x145)],_0xd6990a){if(!_0xe05e75[_0x3edf93(0x15d)])return void this[_0x3edf93(0x122)]();this[_0x3edf93(0x1ad)]=!0x1,this[_0x3edf93(0x12e)](),this[_0x3edf93(0xe1)][_0x3edf93(0x131)](),this[_0x3edf93(0x14f)]=_0xe05e75[_0x3edf93(0x11a)],this[_0x3edf93(0xe1)][_0x3edf93(0x179)]=this[_0x3edf93(0x14f)],await this[_0x3edf93(0x18c)](_0x2fe915,_0xe05e75,_0x3edf93(0x139));}else await this[_0x3edf93(0x1a4)](_0xe05e75,_0x2fe915);this[_0x3edf93(0x125)](),this[_0x3edf93(0xe3)]=!0x0;}[_0x32c658(0x125)](){const _0xbcd3b2=_0x32c658,_0x266b6f=this[_0xbcd3b2(0x1b6)][_0xbcd3b2(0x1be)][_0xbcd3b2(0x1ba)](_0x5886e0),_0x535ef5=this[_0xbcd3b2(0x1b6)][_0xbcd3b2(0x1be)][_0xbcd3b2(0x1ba)](_0x40141b),_0x29e69b=_0x266b6f[_0xbcd3b2(0xd1)][_0xbcd3b2(0x1ba)](this[_0xbcd3b2(0x118)]);_0x29e69b&&_0x29e69b[_0xbcd3b2(0x138)]>0x1?_0x535ef5[_0xbcd3b2(0x175)]():this[_0xbcd3b2(0x165)](_0x266b6f,_0xbcd3b2(0xbe)+this[_0xbcd3b2(0x118)],()=>{const _0x5de513=_0xbcd3b2;0x2===_0x266b6f[_0x5de513(0xd1)][_0x5de513(0x1ba)](this[_0x5de513(0x118)])[_0x5de513(0x138)]&&_0x535ef5[_0x5de513(0x175)]();});}async[_0x32c658(0x154)](_0x533b6a,_0x2f25b8,_0x4d3aa3,_0x570f7c){const _0xc96d7b=_0x32c658;if(!this[_0xc96d7b(0x1ad)]&&this[_0xc96d7b(0x11c)][_0xc96d7b(0x179)]==_0x2f25b8){const _0x5e57dc=this[_0xc96d7b(0x149)](_0x4d3aa3,_0x570f7c);await this[_0xc96d7b(0x199)](_0x5e57dc),this[_0xc96d7b(0x194)](_0x5e57dc,_0x2f25b8,_0x4d3aa3[_0xc96d7b(0x148)])||this[_0xc96d7b(0x158)](_0xc96d7b(0x109));}}async[_0x32c658(0xea)](){const _0x2e54be=_0x32c658;this[_0x2e54be(0xc1)]();const {locale:_0x2bb9fd}=this[_0x2e54be(0x1b6)];let _0x42d379;try{_0x42d379=await this[_0x2e54be(0x100)][_0x2e54be(0x105)]();}catch(_0x4d46fe){const _0x474dd1=_0x2d7f16(_0x2bb9fd,_0x2e54be(0x1bf));return void this[_0x2e54be(0x122)](_0x474dd1);}const _0x52ecdf=_0x42d379[_0x2e54be(0x1a5)]||_0x42d379[_0x2e54be(0x137)];if(this[_0x2e54be(0xd3)]===_0x52ecdf[_0x2e54be(0x148)])await this[_0x2e54be(0xd8)](this[_0x2e54be(0x1b6)][_0x2e54be(0x1bb)][_0x2e54be(0x111)][_0x2e54be(0x10b)][_0x2e54be(0x195)](),!0x0);else{const _0x437ada=_0x2d7f16(_0x2bb9fd,_0x2e54be(0x174));this[_0x2e54be(0x122)](_0x437ada);}}[_0x32c658(0xc1)](){const _0x37752b=_0x32c658;this[_0x37752b(0x100)][_0x37752b(0x113)](),this[_0x37752b(0x14a)]=[],clearTimeout(this[_0x37752b(0x1ab)]),this[_0x37752b(0x185)](this[_0x37752b(0x100)]);}[_0x32c658(0x1b1)](_0x46217f){const _0x3de842=_0x32c658,_0x4e09ec=this[_0x3de842(0x1b6)][_0x3de842(0x1be)][_0x3de842(0x1ba)](_0x5886e0);this[_0x3de842(0x165)](_0x4e09ec,_0x3de842(0xbe)+this[_0x3de842(0x118)],(_0x4de298,{session:_0x49eb55})=>{const _0x40bfab=_0x3de842;if(_0x49eb55['id']===_0x4e09ec[_0x40bfab(0xd9)]){_0x4de298[_0x40bfab(0x1aa)]();const _0x38ae82=this[_0x40bfab(0x1b6)][_0x40bfab(0x1be)][_0x40bfab(0x150)](_0x40bfab(0xf4))&&this[_0x40bfab(0x1b6)][_0x40bfab(0x1be)][_0x40bfab(0x1ba)](_0x40bfab(0xf4));let _0x473bdd=_0x49eb55[_0x40bfab(0x1ae)];_0x38ae82&&_0x38ae82[_0x40bfab(0x161)]&&(_0x473bdd=_0x473bdd[_0x40bfab(0x166)](_0x522134=>_0x40bfab(0x171)!==_0x522134)),this[_0x40bfab(0x1b6)][_0x40bfab(0x1be)][_0x40bfab(0x1ba)](_0x40bfab(0xe0))[_0x40bfab(0xc0)](_0x473bdd,this[_0x40bfab(0x118)]);}}),_0x4e09ec[_0x3de842(0x1c2)](this[_0x3de842(0x118)],_0x46217f);}[_0x32c658(0xd4)](){const _0x10789d=_0x32c658,_0xaeef0a=this[_0x10789d(0x1b6)][_0x10789d(0x17e)][_0x10789d(0x169)];this[_0x10789d(0x1b6)][_0x10789d(0x17e)][_0x10789d(0x169)]=(..._0xde1718)=>{const _0x18c65a=_0x10789d;if(!_0xde1718[_0xde1718[_0x18c65a(0x138)]-0x1][_0x18c65a(0x141)])throw new _0xb522b5(_0x18c65a(0x18a),this);_0xaeef0a[_0x18c65a(0xe6)](this[_0x18c65a(0x1b6)][_0x18c65a(0x17e)],_0xde1718);};}[_0x32c658(0x107)](){const _0x4bbceb=_0x32c658;this[_0x4bbceb(0x1b6)][_0x4bbceb(0x17e)]['on'](_0x4bbceb(0x116),(_0x2ddb11,[_0x5c1876])=>{const _0x53a0b0=_0x4bbceb;if(this[_0x53a0b0(0x11c)][_0x53a0b0(0x179)])throw new _0xb522b5(_0x53a0b0(0x1c1),this);_0x2ddb11[_0x53a0b0(0x181)](),this[_0x53a0b0(0x15f)]();const _0xae9ef4=this[_0x53a0b0(0x1b6)][_0x53a0b0(0x147)][_0x53a0b0(0x1ba)](_0x53a0b0(0x1ac)),_0x50178b=this[_0x53a0b0(0xf9)](_0x5c1876,_0xae9ef4);0x0==_0x50178b[_0x53a0b0(0x138)]&&_0x50178b[_0x53a0b0(0x178)](new _0x2f4649(0x0)),_0x2ddb11[_0x53a0b0(0x15b)]=this[_0x53a0b0(0xd8)](_0x50178b)[_0x53a0b0(0x192)](()=>{const _0x57a9a4=_0x53a0b0;this[_0x57a9a4(0x1b6)][_0x57a9a4(0x1be)][_0x57a9a4(0x1ba)](_0x4128c4)[_0x57a9a4(0xca)](this),this[_0x57a9a4(0x1b6)][_0x57a9a4(0x17e)][_0x57a9a4(0xe4)](_0x57a9a4(0x167));})[_0x53a0b0(0x16e)](_0x1bc71b=>this[_0x53a0b0(0x158)](_0x53a0b0(0xe8),_0x1bc71b))[_0x53a0b0(0x12f)](()=>this[_0x53a0b0(0x12e)]());},{'priority':_0x4bbceb(0x189)}),this[_0x4bbceb(0x1b6)]['on'](_0x4bbceb(0x153),async(_0x39b874,[_0xd0c34,_0x242ed8])=>{const _0x891d19=_0x4bbceb;_0x39b874[_0x891d19(0x181)]();const _0x394fbf=this[_0x891d19(0x1b6)][_0x891d19(0x1bb)][_0x891d19(0x111)][_0x891d19(0x135)](_0xd0c34);if(!this[_0x891d19(0xff)][_0x891d19(0x150)](_0xd0c34)){const _0x45b256=_0x242ed8&&_0x242ed8[_0x891d19(0x17e)]?_0x242ed8[_0x891d19(0x17e)]:'',_0x2adf1f=_0x242ed8&&_0x242ed8[_0x891d19(0xc9)]?_0x242ed8[_0x891d19(0xc9)]:{};await this[_0x891d19(0x191)](_0xd0c34,_0x45b256,_0x2adf1f);}this[_0x891d19(0x1b6)][_0x891d19(0x1bb)][_0x891d19(0xcd)]({'isUndoable':!0x1},()=>{const _0x3d26e9=_0x891d19;_0x394fbf[_0x3d26e9(0x14e)]=!0x0,this[_0x3d26e9(0x1b6)][_0x3d26e9(0x1bb)][_0x3d26e9(0x111)][_0x3d26e9(0x15c)][_0x3d26e9(0x164)](_0x394fbf);});},{'priority':_0x4bbceb(0x189)});}async[_0x32c658(0x199)](_0x37e8ec){const _0x2770ca=_0x32c658,_0x5d0b34=this[_0x2770ca(0x1b6)][_0x2770ca(0x1be)][_0x2770ca(0x1ba)](_0x433f22),{connection:_0x3863e2}=this[_0x2770ca(0x1b6)][_0x2770ca(0x1be)][_0x2770ca(0x1ba)](_0x4128c4),_0x3d2e63=new Set();for(const _0x1af75d of _0x37e8ec){const _0x17051a=_0x1af75d[_0x2770ca(0x193)];_0x17051a&&!_0x5d0b34[_0x2770ca(0x1c0)](_0x17051a)&&_0x3d2e63[_0x2770ca(0x124)](_0x17051a);}if(0x0===_0x3d2e63[_0x2770ca(0x16a)])return;const _0x185748=await _0x1af6df[_0x2770ca(0x146)](_0x3863e2,Array[_0x2770ca(0xf8)](_0x3d2e63));for(const _0x382524 of _0x185748)_0x5d0b34[_0x2770ca(0x1c0)](_0x382524['id'])||_0x5d0b34[_0x2770ca(0x17f)](_0x382524);}[_0x32c658(0xf9)](_0x33bb38,_0x44bcb3={}){const _0x1bdb41=_0x32c658,_0x139bce=this[_0x1bdb41(0x1b6)][_0x1bdb41(0x1bb)],_0x35f768=[];let _0x20757a=0x0;const _0x55642a=_0x1bdb41(0x13e)==typeof _0x33bb38?{'main':_0x33bb38}:_0x33bb38;for(const _0x338720 of Object[_0x1bdb41(0x140)](_0x55642a)){if(!this[_0x1bdb41(0x11c)][_0x1bdb41(0x15e)][_0x1bdb41(0x150)](_0x338720))throw new _0xb522b5(_0x1bdb41(0x12b),this);const _0x453302=this[_0x1bdb41(0x1b6)][_0x1bdb41(0x17e)][_0x1bdb41(0xd7)](_0x55642a[_0x338720]),_0x4c7513=this[_0x1bdb41(0x11c)][_0x1bdb41(0x135)](_0x338720),_0x4dec48=new _0x2817d8(_0x139bce[_0x1bdb41(0x1a6)](_0x4c7513,0x0),_0x453302,_0x20757a++);_0x35f768[_0x1bdb41(0x178)](_0x4dec48);for(const [_0x4f61c4,_0x5dc02d]of _0x453302[_0x1bdb41(0x1bc)]){const _0x56cc48=_0x139bce[_0x1bdb41(0x172)](_0x139bce[_0x1bdb41(0x103)](_0x4c7513,_0x5dc02d[_0x1bdb41(0x160)][_0x1bdb41(0xfb)][_0x1bdb41(0x1a1)]()),_0x139bce[_0x1bdb41(0x103)](_0x4c7513,_0x5dc02d[_0x1bdb41(0x168)][_0x1bdb41(0xfb)][_0x1bdb41(0x1a1)]())),_0x2436c3=new _0x307164(_0x4f61c4,null,_0x56cc48,_0x139bce[_0x1bdb41(0x1bc)],!0x0,_0x20757a++);_0x35f768[_0x1bdb41(0x178)](_0x2436c3);}}if(_0x44bcb3)for(const [_0x39ef58,_0x52ca4d]of Object[_0x1bdb41(0x11b)](_0x44bcb3)){const _0x40c49f=_0x139bce[_0x1bdb41(0x111)][_0x1bdb41(0x135)](_0x39ef58);if(!_0x40c49f)throw new _0xb522b5(_0x1bdb41(0xe5),null);for(const [_0x2abb0b,_0x5df6b5]of Object[_0x1bdb41(0x11b)](_0x52ca4d))if(null!==_0x5df6b5){const _0x1a419d=new _0x592043(_0x40c49f,_0x2abb0b,null,_0x5df6b5,_0x20757a++);_0x35f768[_0x1bdb41(0x178)](_0x1a419d);}}return _0x35f768;}async[_0x32c658(0x191)](_0x50689b,_0x919a72,_0x4a95e1){const _0x3dffa8=_0x32c658;this[_0x3dffa8(0xf9)]({[_0x50689b]:_0x919a72},{[_0x50689b]:_0x4a95e1})[_0x3dffa8(0xee)]((_0x5ddf78,_0x192d92)=>{const _0x2ee5f6=_0x3dffa8;_0x5ddf78[_0x2ee5f6(0xcb)]=this[_0x2ee5f6(0x11c)][_0x2ee5f6(0x179)]+_0x192d92,_0x5ddf78[_0x2ee5f6(0x134)]=!0x0,this[_0x2ee5f6(0x173)](_0x5ddf78);}),this[_0x3dffa8(0x151)](),await this[_0x3dffa8(0x102)]();}async[_0x32c658(0x1a4)](_0x3a3787,_0x3523d0){const _0x2d5074=_0x32c658;let _0x224695;this[_0x2d5074(0x14f)]=_0x3a3787[_0x2d5074(0x11a)];const _0x2a25bb=_0x3a3787[_0x2d5074(0x15d)]&&!_0x3a3787[_0x2d5074(0x188)],_0x479642=_0x2a25bb?0x0:_0x3a3787[_0x2d5074(0x17e)][_0x2d5074(0xcb)];if(_0x3523d0[_0x2d5074(0xee)](_0x8ecb5=>{const _0x49f6f1=_0x2d5074;_0x8ecb5[_0x49f6f1(0x134)]=!0x0,_0x8ecb5[_0x49f6f1(0x177)]=_0x3a3787[_0x49f6f1(0x197)],_0x8ecb5[_0x49f6f1(0x193)]=null;}),_0x2a25bb)_0x224695=_0x3523d0,this[_0x2d5074(0x17d)](_0x224695,_0x2a25bb);else{if(_0x3a3787[_0x2d5074(0x188)]){const _0x390165=this[_0x2d5074(0xf9)](_0x3a3787[_0x2d5074(0x188)]);this[_0x2d5074(0x11c)][_0x2d5074(0x10b)][_0x2d5074(0x179)]=-_0x390165[_0x2d5074(0x138)],_0x390165[_0x2d5074(0xee)](_0x1fed77=>{const _0xfc69c2=_0x2d5074;_0x1fed77[_0xfc69c2(0xcb)]-=_0x390165[_0xfc69c2(0x138)],_0x1fed77[_0xfc69c2(0x177)]=_0x3a3787[_0xfc69c2(0x197)],_0x1fed77[_0xfc69c2(0x134)]=!0x0,_0x1fed77[_0xfc69c2(0x193)]=null;}),this[_0x2d5074(0x17d)](_0x390165,!0x0),this[_0x2d5074(0xe1)][_0x2d5074(0x179)]=-_0x390165[_0x2d5074(0x138)]+this[_0x2d5074(0x14f)],this[_0x2d5074(0xec)](_0x390165);}this[_0x2d5074(0x11c)][_0x2d5074(0x10b)][_0x2d5074(0x179)]=_0x479642,_0x224695=this[_0x2d5074(0x149)](_0x3a3787[_0x2d5074(0x17e)],_0x3a3787[_0x2d5074(0x110)]),await this[_0x2d5074(0x199)](_0x224695),this[_0x2d5074(0x17d)](_0x224695,_0x2a25bb);}_0x3a3787[_0x2d5074(0x148)]&&(this[_0x2d5074(0x17b)][_0x2d5074(0x159)](_0x224695,_0x3a3787[_0x2d5074(0x148)]),this[_0x2d5074(0xd3)]=_0x3a3787[_0x2d5074(0x148)]),this[_0x2d5074(0xe1)][_0x2d5074(0x179)]=_0x479642+this[_0x2d5074(0x14f)],this[_0x2d5074(0xec)](_0x224695),_0x3523d0[_0x2d5074(0x166)](_0x45ef2a=>{const _0x37d4aa=_0x2d5074,_0x4f68b4=this[_0x37d4aa(0x13f)](_0x45ef2a);return _0x4f68b4&&!this[_0x37d4aa(0xff)][_0x37d4aa(0x150)](_0x4f68b4);})[_0x2d5074(0xee)]((_0x4b2070,_0x1a5d9d)=>{const _0x2d920d=_0x2d5074;_0x4b2070[_0x2d920d(0xcb)]=this[_0x2d920d(0x11c)][_0x2d920d(0x179)]+_0x1a5d9d,this[_0x2d920d(0x173)](_0x4b2070);}),this[_0x2d5074(0x1b5)]()?(this[_0x2d5074(0xc4)]=0x0,this[_0x2d5074(0x151)](!0x0),await this[_0x2d5074(0x102)]()):(this[_0x2d5074(0x1ad)]=!0x1,this[_0x2d5074(0x12e)]());}[_0x32c658(0x158)](_0x3bfc3b,_0x1b15cd){const _0x1bb86d=_0x32c658,_0x5770ee=_0x1b15cd&&_0x1b15cd[_0x1bb86d(0xdd)];if(_0x5770ee&&_0x5770ee[_0x1bb86d(0x1b8)](_0x1bb86d(0xbd)))throw _0x1b15cd;const _0x2f0a05=this[_0x1bb86d(0x1b6)][_0x1bb86d(0x1be)][_0x1bb86d(0x1ba)](_0x4128c4);throw this[_0x1bb86d(0x1ad)]=!0x0,_0x2f0a05[_0x1bb86d(0x113)](),this[_0x1bb86d(0x1b6)][_0x1bb86d(0x144)](_0x1bb86d(0x119)),new _0xb522b5(_0x3bfc3b,this[_0x1bb86d(0x1b6)],_0x5770ee?{'originalError':_0x5770ee}:void 0x0);}[_0x32c658(0x173)](_0x5bcb06){const _0x2297c0=_0x32c658;this[_0x2297c0(0xce)][_0x2297c0(0x150)](_0x5bcb06)||(this[_0x2297c0(0xce)][_0x2297c0(0x124)](_0x5bcb06),this[_0x2297c0(0x14a)][_0x2297c0(0x178)](_0x5bcb06),this[_0x2297c0(0xed)]||_0x2297c0(0x130)==_0x5bcb06[_0x2297c0(0x1bd)]&&!_0x5bcb06[_0x2297c0(0xfa)]||this[_0x2297c0(0x15f)]());}[_0x32c658(0x151)](_0x5b0932=!0x1){const _0x5e0118=_0x32c658;!_0x5b0932&&this[_0x5e0118(0x1ad)]||(this[_0x5e0118(0x1ad)]=!0x0,clearTimeout(this[_0x5e0118(0x1ab)]),this[_0x5e0118(0x1ab)]=setTimeout(()=>{const _0x43fc23=_0x5e0118;this[_0x43fc23(0xe9)]()[_0x43fc23(0x192)](_0x18463f=>{const _0x227ad5=_0x43fc23;_0x18463f&&(this[_0x227ad5(0x12e)](),this[_0x227ad5(0x1ad)]=!0x1);})[_0x43fc23(0x16e)](_0x54f502=>{const _0x228350=_0x43fc23;this[_0x228350(0x12e)](),this[_0x228350(0x1ad)]=!0x1,function(_0x20a719){const _0x3d9eaa=_0x228350;return _0x20a719[_0x3d9eaa(0xdd)][_0x3d9eaa(0x1b8)](_0x3d9eaa(0x1b9))||_0x20a719[_0x3d9eaa(0xdd)][_0x3d9eaa(0x1b8)](_0x3d9eaa(0x1a2))||_0x20a719[_0x3d9eaa(0xdd)][_0x3d9eaa(0x1b8)](_0x3d9eaa(0x170));}(_0x54f502)||this[_0x228350(0x158)](_0x54f502[_0x228350(0xdd)],_0x54f502);});},this[_0x5e0118(0xc4)]));}[_0x32c658(0x102)](){return new Promise(_0x5c9639=>{const _0x27ed2a=_0x26fd;this['on'](_0x27ed2a(0xda),()=>{_0x5c9639();});});}async[_0x32c658(0xe9)](){const _0x2e230e=_0x32c658,_0x17c132=this[_0x2e230e(0x1b6)][_0x2e230e(0x1be)][_0x2e230e(0x1ba)](_0x40141b);if(this[_0x2e230e(0x16b)]()&&(_0x17c132[_0x2e230e(0x175)](),this[_0x2e230e(0x10d)]=!0x1),!this[_0x2e230e(0x1b5)]())return!0x0;const _0x3a5046=[...this[_0x2e230e(0x14a)]];for(const _0x5461dd of _0x3a5046)_0x5461dd[_0x2e230e(0x11e)]=this[_0x2e230e(0x11c)][_0x2e230e(0x10b)][_0x2e230e(0x114)](_0x5461dd);const _0x186d32=this[_0x2e230e(0x17b)][_0x2e230e(0x183)](_0x3a5046),_0x3de8cd=K++,_0x57e1ba=this[_0x2e230e(0xdf)](_0x3a5046),_0x1b1adf=await this[_0x2e230e(0x100)][_0x2e230e(0x120)](_0x57e1ba,_0x57e1ba[_0x2e230e(0xcb)],_0x186d32);try{return await this[_0x2e230e(0x18c)](_0x3a5046,_0x1b1adf,_0x3de8cd);}catch(_0x4f4442){return this[_0x2e230e(0x158)](_0x2e230e(0xc2),_0x4f4442);}}async[_0x32c658(0x18c)](_0x19f016,_0x376464,_0x14e532){const _0x31d933=_0x32c658;if(_0x31d933(0x136)in _0x376464)throw _0x376464[_0x31d933(0x136)];let _0x4f0ebf=!0x1;if(_0x376464[_0x31d933(0x15d)]){_0x376464[_0x31d933(0x148)]&&(this[_0x31d933(0xd3)]=_0x376464[_0x31d933(0x148)]),this[_0x31d933(0x14a)]=this[_0x31d933(0x14a)][_0x31d933(0x166)](_0x1b844a=>!_0x19f016[_0x31d933(0x12d)](_0x1b844a));for(const _0x4fa07c of _0x19f016)_0x4fa07c[_0x31d933(0x177)]=_0x31d933(0xfd)in _0x376464&&_0x376464[_0x31d933(0xfd)]||void 0x0;Q(_0x19f016,_0x376464[_0x31d933(0x179)]-_0x19f016[_0x31d933(0x138)]),this[_0x31d933(0xec)](_0x19f016);const _0x1a90c5=_0x19f016[_0x31d933(0x166)](_0x23609e=>{const _0x578335=_0x31d933;if(!_0x23609e[_0x578335(0x134)])return!0x1;const _0x91a461=this[_0x578335(0x13f)](_0x23609e);return _0x91a461&&!this[_0x578335(0xff)][_0x578335(0x150)](_0x91a461);});Q(_0x1a90c5,this[_0x31d933(0x11c)][_0x31d933(0x179)]),this[_0x31d933(0x17d)](_0x1a90c5),_0x4f0ebf=!0x0,this[_0x31d933(0xc4)]=this[_0x31d933(0x13c)];}else{const _0x1e2c08=this[_0x31d933(0x149)](_0x376464[_0x31d933(0x17e)],_0x376464[_0x31d933(0x110)])[_0x31d933(0x166)](_0x33c558=>_0x33c558[_0x31d933(0xcb)]>=this[_0x31d933(0x184)]);_0x1e2c08[_0x31d933(0xee)](_0x2fac8e=>this[_0x31d933(0x19e)](_0x2fac8e)),this[_0x31d933(0x14a)]=this[_0x31d933(0x14a)][_0x31d933(0x166)](_0x160ede=>!_0x160ede[_0x31d933(0x134)]||!this[_0x31d933(0xff)][_0x31d933(0x150)](this[_0x31d933(0x13f)](_0x160ede))),this[_0x31d933(0x14a)][_0x31d933(0x138)]&&Q(this[_0x31d933(0x14a)],this[_0x31d933(0x14a)][0x0][_0x31d933(0xcb)]),await this[_0x31d933(0x199)](_0x1e2c08),_0x4f0ebf=this[_0x31d933(0x194)](_0x1e2c08,_0x376464[_0x31d933(0x179)],_0x376464[_0x31d933(0x148)]),this[_0x31d933(0xc4)]=Math[_0x31d933(0x162)](this[_0x31d933(0xc4)]/0x2);}return _0x4f0ebf?!this[_0x31d933(0x1b5)]()||(this[_0x31d933(0x151)](!0x0),!0x1):this[_0x31d933(0x158)](_0x31d933(0x18d));}[_0x32c658(0x194)](_0x340d48,_0xb37eca,_0x29707b){const _0x563c8c=_0x32c658;try{const _0x27fcc1={'document':this[_0x563c8c(0x11c)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x50c535,operationsB:_0x2c7879,originalOperations:_0x2897e3}=_0x2d6a3c(_0x340d48,this[_0x563c8c(0x14a)],_0x27fcc1);Q(_0x50c535,this[_0x563c8c(0x11c)][_0x563c8c(0x179)]),Q(_0x2c7879,_0xb37eca);for(const _0x341b67 of _0x50c535){const _0x23f46a=_0x2897e3[_0x563c8c(0x1ba)](_0x341b67);_0x341b67[_0x563c8c(0x193)]=_0x23f46a?_0x23f46a[_0x563c8c(0x193)]:null;}_0x29707b&&(this[_0x563c8c(0x17b)][_0x563c8c(0x159)](_0x340d48,_0x29707b),this[_0x563c8c(0xd3)]=_0x29707b),this[_0x563c8c(0x14a)]=[..._0x2c7879],this[_0x563c8c(0x17d)](_0x50c535),this[_0x563c8c(0xec)](_0x340d48);}catch(_0x17785e){return console[_0x563c8c(0x136)](_0x17785e),!0x1;}return!0x0;}[_0x32c658(0x17d)](_0x2f54b7,_0x4fb095=!0x1){const _0x19050f=_0x32c658;this[_0x19050f(0x1b6)][_0x19050f(0x1bb)][_0x19050f(0xcd)]({'isUndoable':!0x1,'isLocal':!0x1},_0x34f7a1=>{const _0xa72e36=_0x19050f;for(const _0x1c3462 of _0x2f54b7)this[_0xa72e36(0xce)][_0xa72e36(0x124)](_0x1c3462),this[_0xa72e36(0x19e)](_0x1c3462),_0x34f7a1[_0xa72e36(0xc6)][_0xa72e36(0x15a)](_0x1c3462),this[_0xa72e36(0x1b6)][_0xa72e36(0x1bb)][_0xa72e36(0xf3)](_0x1c3462);});}[_0x32c658(0x19e)](_0x904667){const _0x4d1b63=_0x32c658,_0x5816c6=this[_0x4d1b63(0x13f)](_0x904667);_0x5816c6&&this[_0x4d1b63(0xff)][_0x4d1b63(0x124)](_0x5816c6);}[_0x32c658(0x13f)](_0x505570){const _0x479aa6=_0x32c658;let _0x5e9c18,_0x2031bf;switch(_0x505570[_0x479aa6(0x1bd)]){case _0x479aa6(0x198):_0x5e9c18=_0x505570[_0x479aa6(0xf5)][_0x479aa6(0x121)];break;case _0x479aa6(0x130):if(_0x2031bf=_0x505570[_0x479aa6(0x163)],!_0x2031bf)return null;_0x5e9c18=_0x2031bf[_0x479aa6(0x121)];break;case _0x479aa6(0xde):_0x5e9c18=_0x505570[_0x479aa6(0x121)];break;case _0x479aa6(0xf6):_0x5e9c18=_0x505570[_0x479aa6(0x104)];break;case _0x479aa6(0x186):_0x5e9c18=_0x505570[_0x479aa6(0x18b)][_0x479aa6(0x121)];break;default:return null;}return _0x5e9c18[_0x479aa6(0x18f)];}[_0x32c658(0xec)](_0x520e5a){const _0xcd8e47=_0x32c658;_0x520e5a[_0xcd8e47(0xee)](_0x4212eb=>{const _0x458ccc=_0xcd8e47,_0x45d2d0=_0x4212eb[_0x458ccc(0x10a)]();_0x45d2d0[_0x458ccc(0x193)]=_0x4212eb[_0x458ccc(0x193)],_0x45d2d0[_0x458ccc(0x134)]=!!_0x4212eb[_0x458ccc(0x134)],_0x45d2d0[_0x458ccc(0x177)]=_0x4212eb[_0x458ccc(0x177)],_0x45d2d0[_0x458ccc(0xcb)]+=this[_0x458ccc(0x14f)],_0x4212eb[_0x458ccc(0x1b2)]&&this[_0x458ccc(0x196)][_0x458ccc(0x124)](_0x45d2d0),this[_0x458ccc(0xe1)][_0x458ccc(0x15a)](_0x45d2d0);});}[_0x32c658(0x122)](_0x51546a){const _0x4769ad=_0x32c658,_0x4d9aff=this[_0x4769ad(0x1b6)][_0x4769ad(0x1be)][_0x4769ad(0x1ba)](_0x4769ad(0xbb)),_0x5149d4=this[_0x4769ad(0x1b6)][_0x4769ad(0x1b0)];_0x51546a||(_0x51546a=_0x2d7f16(_0x5149d4,_0x4769ad(0x108))),_0x4d9aff[_0x4769ad(0xeb)](_0x51546a,{'title':_0x2d7f16(_0x5149d4,_0x4769ad(0x1a7)),'namespace':_0x4769ad(0x1a8)}),this[_0x4769ad(0x127)]=!0x0,clearTimeout(this[_0x4769ad(0x1ab)]),this[_0x4769ad(0x14a)]=[],this[_0x4769ad(0x1b6)][_0x4769ad(0x1be)][_0x4769ad(0x1ba)](_0x4128c4)[_0x4769ad(0x113)]();}[_0x32c658(0x15f)](){const _0x13d789=_0x32c658;this[_0x13d789(0xed)]||(this[_0x13d789(0xed)]=this[_0x13d789(0x1b6)][_0x13d789(0x1be)][_0x13d789(0x1ba)](_0x19f290)[_0x13d789(0x124)](_0x2d7f16(this[_0x13d789(0x1b6)][_0x13d789(0x1b0)],_0x13d789(0xdc))));}[_0x32c658(0x12e)](){const _0x4f5c84=_0x32c658;this[_0x4f5c84(0xed)]&&(this[_0x4f5c84(0x1b6)][_0x4f5c84(0x1be)][_0x4f5c84(0x1ba)](_0x19f290)[_0x4f5c84(0xd0)](this[_0x4f5c84(0xed)]),this[_0x4f5c84(0xed)]=null);}[_0x32c658(0xdf)](_0x1f1c35){const _0xb073dc=_0x32c658,_0x3c696f=_0x1f1c35[_0xb073dc(0x126)](_0x4d2911=>_0x4d2911[_0xb073dc(0x11d)]());return this[_0xb073dc(0x176)][_0xb073dc(0xf7)](_0x3c696f);}[_0x32c658(0x149)](_0x15c3d7,_0x26fa91){const _0x45b59a=_0x32c658;return this[_0x45b59a(0x176)][_0x45b59a(0x156)](_0x15c3d7)[_0x45b59a(0x126)]((_0x520e85,_0x21f393)=>{const _0x814ebb=_0x45b59a,_0x185f38=_0x814ebb(0x116)==_0x26fa91[_0x21f393][_0x814ebb(0x1bd)];if(_0x814ebb(0xf1)==_0x520e85[_0x814ebb(0xc3)]){const _0x127413=_0x520e85[_0x814ebb(0xf5)][_0x814ebb(0x121)];!this[_0x814ebb(0x11c)][_0x814ebb(0x135)](_0x127413)&&(this[_0x814ebb(0x11c)][_0x814ebb(0xf2)](_0x814ebb(0x123),_0x127413)[_0x814ebb(0x13b)]=!0x1);}const _0x262870=_0x26f46a[_0x814ebb(0xbf)](_0x520e85,this[_0x814ebb(0x11c)]);return _0x262870[_0x814ebb(0x11e)]=_0x520e85[_0x814ebb(0x11e)],_0x262870[_0x814ebb(0x134)]=_0x185f38,_0x262870[_0x814ebb(0x193)]=_0x185f38?null:_0x26fa91[_0x21f393][_0x814ebb(0x101)],_0x262870[_0x814ebb(0x1b2)]=_0x814ebb(0xe2)===_0x26fa91[_0x21f393][_0x814ebb(0x1bd)],_0x262870[_0x814ebb(0x177)]=_0x26fa91[_0x21f393][_0x814ebb(0x177)],_0x262870;});}[_0x32c658(0x157)](){const _0x1e5f89=_0x32c658;this[_0x1e5f89(0x10d)]=!0x0,this[_0x1e5f89(0x16b)]()?this[_0x1e5f89(0x151)]():this[_0x1e5f89(0x10d)]=!0x1;}[_0x32c658(0x16b)](){const _0xeac20=_0x32c658,_0xae5f18=this[_0xeac20(0x1b6)][_0xeac20(0x1be)][_0xeac20(0x1ba)](_0x5886e0)[_0xeac20(0xd1)][_0xeac20(0x1ba)](this[_0xeac20(0x118)]);return!this[_0xeac20(0x1b6)][_0xeac20(0x132)]&&!!_0xae5f18&&_0xae5f18[_0xeac20(0x138)]>0x1&&this[_0xeac20(0x10d)];}[_0x32c658(0x1b5)](){const _0x386596=_0x32c658;return this[_0x386596(0x14a)][_0x386596(0x138)]>0x0||this[_0x386596(0x16b)]();}}l[_0x32c658(0x10e)]=_0x5023cb;export default l;class J extends Error{}function _0x26fd(_0x39c37f,_0x40bf9e){const _0x36eddb=_0x36ed();return _0x26fd=function(_0x26fd8a,_0x576328){_0x26fd8a=_0x26fd8a-0xbb;let _0x2f619c=_0x36eddb[_0x26fd8a];return _0x2f619c;},_0x26fd(_0x39c37f,_0x40bf9e);}function Q(_0x2bbe0d,_0x53b22b){const _0x3b2069=_0x32c658;for(const _0x5986ad of _0x2bbe0d)_0x5986ad[_0x3b2069(0xcb)]=_0x53b22b++;}class X{constructor(_0xbb541c){const _0x4d7518=_0x32c658;this[_0x4d7518(0x182)]=_0xbb541c,this[_0x4d7518(0x19f)]=new WeakMap();}[_0x32c658(0x183)](_0x3fee57){const _0x11330c=_0x32c658;let _0x54bad9=_0x3fee57[_0x11330c(0x138)];for(;_0x54bad9--;){const _0x2547f6=_0x3fee57[_0x54bad9];if(!this[_0x11330c(0x182)][_0x11330c(0x150)](_0x2547f6)){if(!this[_0x11330c(0x19f)][_0x11330c(0x150)](_0x2547f6)){const _0x25aa3d=_0x4ca5da()[_0x11330c(0x1a1)](0x1,0x12);this[_0x11330c(0x19f)][_0x11330c(0x169)](_0x2547f6,_0x25aa3d);}return this[_0x11330c(0x19f)][_0x11330c(0x1ba)](_0x2547f6);}}}[_0x32c658(0x159)](_0x1c2a18,_0x4a91fa){const _0x45b932=_0x32c658;if(!_0x4a91fa)return;let _0x33b603=_0x1c2a18[_0x45b932(0x138)];for(;_0x33b603--;){const _0x4fc829=_0x1c2a18[_0x33b603];this[_0x45b932(0x182)][_0x45b932(0x150)](_0x4fc829)||this[_0x45b932(0x19f)][_0x45b932(0x169)](_0x4fc829,_0x4a91fa);}}}function _0x36ed(){const _0x3ed6b8=['isEnabled','round','newRange','_bufferRootLoad','listenTo','filter','ready','end','set','size','_shouldSendSelectionUpdate','disableReadOnlyMode','state','catch','view','cloud-services-internal-error:\x20Request\x20timeout.','document:write','createRange','_saveOperationInBuffer','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.','createUserMarkerOperations','_compressor','createdAt','push','version','_isEditingAllowed','_operationIdentifier','define','_applyOperationsSet','data','addUser','isDocumentOperation','stop','_ignoredOperations','getIdOfTheLastOperation','_lastServerVersion','stopListening','move','lastSyncVersion','initData','high','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','targetPosition','_handleServerResponse','realtimecollaborationclient-handleserverresponse','realtimecollaborationclient-init-session-connection-error','rootName','_handleReconnectionResponse','_loadRoot','then','_authorId','_handleExternalOperations','getOperations','_disconnectionOperations','sessionCreatedAt','insert','_fetchMissingUsers','connected','connection','removeFromReconnectionStack','cloudServices.bundleVersion','_addKnownRoot','_operationToId','collaboration.channelId','slice','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','RealTimeCollaborationClient','_handleInitialConnectionData','currentDocumentSession','createPositionAt','Synchronization\x20issue','real-time-collaboration','unregister','off','_sendBufferedOperationsDelayId','rootsAttributes','_isPendingUpdate','permissions','editing','locale','_initSessionsHandling','_isDisconnection','13037592HHpaOH','91397LpLVXl','_shouldSendUpdate','editor','cloudDocumentVersion','startsWith','cloud-services-internal-error:\x20Not\x20connected.','get','model','markers','type','plugins','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','getUser','realtimecollaborationclient-init-document-already-initialized','register','Notification','destroy','realtimecollaborationclient','sessionAdd:','fromJSON','setPermissions','_disconnectService','realtimecollaborationclient-sendbufferedoperations','__className','_currentBufferDelay','22HZdzFZ','batch','change:hasDomSelection','4NDeFRm','attributes','addToReconnectionStack','baseVersion','change:_isEditingAllowed','enqueueChange','_knownOperations','collaboration','remove','channelSessions','105138DRyeZQ','_lastSyncedOperationId','_initThrowingOnDataSet','404','code','parse','_connectService','mySessionId','change:_isPendingUpdate','reconnect','PENDING_ACTION_SENDING_DATA','message','addRootAttribute','_compressOperations','Permissions','serverHistory','cs:removeUser','_isConnected','fire','multi-root-editor-root-attributes-no-root','apply','12xupRnP','realtimecollaborationclient-init-connection-failed','_sendBufferedOperations','_connectAfterSessionHasBeenFlushed','showWarning','_updateServerHistory','_pendingAction','forEach','pluginName','selection','InsertOperation','createRoot','applyOperation','CommentsOnly','position','addRoot','compress','from','_getOperationsFromInitData','affectsData','path','connect','lastOperationAcceptedAt','rtc-offline','_knownRootNames','_service','userId','_waitUntilSynced','createPositionFromPath','affectedSelectable','getDocumentDetails','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_setUpDataInit','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-init-service-incorrect-server-operation','clone','history','18520eufAhN','_hasSelectionChanged','CollaborativeEditingService','realtimecollaborationclient-init-service-internal-error','metadata','document','217PWJWIg','disconnect','isUndoneOperation','operationsReceived','init','62510ckgSQI','_channelId','realtimecollaborationclient-error','offset','entries','_document','toJSON','wasUndone','getConnectedSessions','sendOperations','root','_handleReconnectionError','$root','add','_handleSendingSelectionMarkers','map','_hasSynchronizationProblem','bind','isOfficialPlugin','change:range','realtimecollaborationclient-init-non-existent-root','getOperationAuthor','includes','_clearPendingAction','finally','marker','reset','isReadOnly','isPremiumPlugin','_isInit','getRoot','error','lastDocumentSession','length','reconnection:\x20flushed\x20session','409','_isAttached','_baseBufferDelay','directChange','string','_getAffectedRoot','keys','suppressErrorInCollaboration','disconnected','970440QReBtj','enableReadOnlyMode','sessionId','getMany','config','lastOperationId','_decompressOperations','_bufferedOperations','collaboration-missing-channelid','27gezzQm','rtc-destroyed','_isLoaded','_offset','has','_sendBufferedOperationsDelayed','requires','loadRoot','_handleReceivedOperations','1257504nzuxYi','decompress','_refreshUserSelectionMarkers','_crash','setIdForTheLastOperation','addOperation','return','differ','wereChangesApplied','roots','_setPendingAction','start'];_0x36ed=function(){return _0x3ed6b8;};return _0x36ed();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0xcff1(_0x8e98e5,_0x4784d6){const _0x16ad16=_0x16ad();return _0xcff1=function(_0xcff1a2,_0xa44a77){_0xcff1a2=_0xcff1a2-0x148;let _0x464f08=_0x16ad16[_0xcff1a2];return _0x464f08;},_0xcff1(_0x8e98e5,_0x4784d6);}const _0x469feb=_0xcff1;function _0x16ad(){const _0x50561b=['445310eTuqPP','1454320nuSmYP','get','delete','getUserRole','_handleSessionAdd','set','_registeredSessions','872125pidfun','add','350ZZXxtW','getUserSessions','33bcIrww','141948qxhgXX','assign','listenTo','forEach','plugins','unregister','fire','addUser','getUserBySessionId','_users','isMe','isOfficialPlugin','2837331dgJegP','state','allConnectedUsers','4hbPXaN','sessionAdd:','channelConnectedUsers','values','remove','mySessionId','has','register','user','connected','init','_handleSessionRemove','stopListening','context','36318UJlMQg','orderNumber','_createUser','channelSessions','291547dYUKAK','requires','_uniqueUsersCount','sessions-unregister-not-exist','size','sessionId','isPremiumPlugin','getUser','pluginName','12nyBieV','clear','Sessions','change:state','connection','role','defineMe','sessions-register-already-registered'];_0x16ad=function(){return _0x50561b;};return _0x16ad();}(function(_0x25ea16,_0x5af6a3){const _0x34729c=_0xcff1,_0xf2168f=_0x25ea16();while(!![]){try{const _0x4c8584=-parseInt(_0x34729c(0x168))/0x1+-parseInt(_0x34729c(0x171))/0x2*(parseInt(_0x34729c(0x186))/0x3)+parseInt(_0x34729c(0x156))/0x4*(parseInt(_0x34729c(0x181))/0x5)+parseInt(_0x34729c(0x164))/0x6*(parseInt(_0x34729c(0x183))/0x7)+-parseInt(_0x34729c(0x17a))/0x8+parseInt(_0x34729c(0x153))/0x9+parseInt(_0x34729c(0x179))/0xa*(parseInt(_0x34729c(0x185))/0xb);if(_0x4c8584===_0x5af6a3)break;else _0xf2168f['push'](_0xf2168f['shift']());}catch(_0x141c4a){_0xf2168f['push'](_0xf2168f['shift']());}}}(_0x16ad,0x292f6));import{ContextPlugin as _0x4d5ec2}from'ckeditor5/src/core.js';import{Collection as _0x212b5e,CKEditorError as _0x437eab}from'ckeditor5/src/utils.js';import _0x370cfb from'./websocketgateway.js';import{Users as _0x28618c}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x4d5ec2{static get[_0x469feb(0x170)](){const _0x1d5908=_0x469feb;return _0x1d5908(0x173);}static get[_0x469feb(0x152)](){return!0x0;}static get[_0x469feb(0x16e)](){return!0x0;}static get[_0x469feb(0x169)](){return[_0x370cfb,_0x28618c];}constructor(_0x5c4678){const _0x7b33e5=_0x469feb;super(_0x5c4678),this[_0x7b33e5(0x167)]=new Map(),this[_0x7b33e5(0x158)]=new Map(),this[_0x7b33e5(0x155)]=new _0x212b5e(),this[_0x7b33e5(0x180)]=new Map(),this[_0x7b33e5(0x16a)]=0x0,this[_0x7b33e5(0x150)]=this[_0x7b33e5(0x163)][_0x7b33e5(0x14b)][_0x7b33e5(0x17b)](_0x28618c);}[_0x469feb(0x160)](){const _0x2f154d=_0x469feb,_0x2ff986=this[_0x2f154d(0x163)][_0x2f154d(0x14b)][_0x2f154d(0x17b)](_0x370cfb);this[_0x2f154d(0x149)](_0x2ff986,_0x2f154d(0x174),(_0x10800f,_0x375f18,_0x3b7907)=>{const _0x265363=_0x2f154d;if(_0x265363(0x15f)!==_0x3b7907)this[_0x265363(0x167)][_0x265363(0x14a)](_0xbff05f=>_0xbff05f[_0x265363(0x172)]()),this[_0x265363(0x158)][_0x265363(0x14a)](_0x5cef71=>_0x5cef71[_0x265363(0x172)]()),this[_0x265363(0x155)][_0x265363(0x172)]();else{for(const [_0x1df5ea,_0x341c02]of this[_0x265363(0x180)])for(const _0x1b6963 of _0x341c02)this[_0x265363(0x17e)](_0x1df5ea,_0x1b6963);}}),this[_0x2f154d(0x166)](_0x2ff986[_0x2f154d(0x175)]['me'],!0x0);}[_0x469feb(0x15d)](_0x229857,_0x5c9bd9){const _0x12d9b7=_0x469feb;if(this[_0x12d9b7(0x180)][_0x12d9b7(0x15c)](_0x229857))throw new _0x437eab(_0x12d9b7(0x178),null,{'channelId':_0x229857});this[_0x12d9b7(0x180)][_0x12d9b7(0x17f)](_0x229857,_0x5c9bd9),this[_0x12d9b7(0x167)][_0x12d9b7(0x17f)](_0x229857,new _0x212b5e()),this[_0x12d9b7(0x158)][_0x12d9b7(0x17f)](_0x229857,new _0x212b5e()),this[_0x12d9b7(0x149)](_0x5c9bd9,_0x12d9b7(0x182),(_0x407406,_0x3a2717)=>this[_0x12d9b7(0x17e)](_0x229857,_0x3a2717)),this[_0x12d9b7(0x149)](_0x5c9bd9,_0x12d9b7(0x15a),(_0x31c61f,_0x53be4d)=>this[_0x12d9b7(0x161)](_0x229857,_0x53be4d));for(const _0x416777 of _0x5c9bd9)this[_0x12d9b7(0x17e)](_0x229857,_0x416777);}[_0x469feb(0x14c)](_0x391ff2){const _0xf4d9dc=_0x469feb;if(!this[_0xf4d9dc(0x180)][_0xf4d9dc(0x15c)](_0x391ff2))throw new _0x437eab(_0xf4d9dc(0x16b),null,{'channelId':_0x391ff2});const _0x4dda55=this[_0xf4d9dc(0x180)][_0xf4d9dc(0x17b)](_0x391ff2);this[_0xf4d9dc(0x162)](_0x4dda55);for(const _0x1cb358 of _0x4dda55)_0xf4d9dc(0x15f)===this[_0xf4d9dc(0x163)][_0xf4d9dc(0x14b)][_0xf4d9dc(0x17b)](_0x370cfb)[_0xf4d9dc(0x154)]&&this[_0xf4d9dc(0x161)](_0x391ff2,_0x1cb358);this[_0xf4d9dc(0x180)][_0xf4d9dc(0x17c)](_0x391ff2),this[_0xf4d9dc(0x167)][_0xf4d9dc(0x17c)](_0x391ff2),this[_0xf4d9dc(0x158)][_0xf4d9dc(0x17c)](_0x391ff2);}get[_0x469feb(0x15b)](){const _0x17d5f0=_0x469feb;return this[_0x17d5f0(0x163)][_0x17d5f0(0x14b)][_0x17d5f0(0x17b)](_0x370cfb)[_0x17d5f0(0x175)][_0x17d5f0(0x16d)];}[_0x469feb(0x14f)](_0xe724dc){const _0x2cc032=_0x469feb;for(const _0x3df709 of this[_0x2cc032(0x167)][_0x2cc032(0x159)]())for(const _0xd94231 of _0x3df709)if(_0xd94231['id']===_0xe724dc)return _0xd94231[_0x2cc032(0x15e)];}[_0x469feb(0x184)](_0x41eccd,_0x27474e){const _0x4710d4=_0x469feb,_0x24e1fc=_0x27474e?[this[_0x4710d4(0x167)][_0x4710d4(0x17b)](_0x27474e)]:this[_0x4710d4(0x167)][_0x4710d4(0x159)](),_0x431c8e=new Set();for(const _0x3e78cd of _0x24e1fc)for(const _0x4a0d65 of _0x3e78cd)_0x4a0d65[_0x4710d4(0x15e)]['id']===_0x41eccd['id']&&_0x431c8e[_0x4710d4(0x182)](_0x4a0d65['id']);return _0x431c8e;}[_0x469feb(0x17d)](_0x55510e){const _0x4f2888=_0x469feb;for(const _0x21148b of this[_0x4f2888(0x167)][_0x4f2888(0x159)]())for(const _0xe12206 of _0x21148b)if(_0xe12206[_0x4f2888(0x15e)]===_0x55510e)return _0xe12206[_0x4f2888(0x176)];}[_0x469feb(0x17e)](_0x1b0f16,_0x2795e6){const _0x3aade9=_0x469feb;if(_0x3aade9(0x15f)!==this[_0x3aade9(0x163)][_0x3aade9(0x14b)][_0x3aade9(0x17b)](_0x370cfb)[_0x3aade9(0x154)])return;const _0x4164a2=_0x2795e6[_0x3aade9(0x15e)],_0x2ea8e7=this[_0x3aade9(0x150)][_0x3aade9(0x16f)](_0x4164a2['id'])||this[_0x3aade9(0x166)](_0x4164a2),_0x14e82a=Object[_0x3aade9(0x148)]({},_0x2795e6,{'user':_0x2ea8e7});this[_0x3aade9(0x167)][_0x3aade9(0x17b)](_0x1b0f16)[_0x3aade9(0x182)](_0x14e82a);const _0x43bd98=this[_0x3aade9(0x158)][_0x3aade9(0x17b)](_0x1b0f16);_0x43bd98[_0x3aade9(0x15c)](_0x2ea8e7['id'])||_0x43bd98[_0x3aade9(0x182)](_0x2ea8e7),this[_0x3aade9(0x155)][_0x3aade9(0x15c)](_0x2ea8e7['id'])||this[_0x3aade9(0x155)][_0x3aade9(0x182)](_0x2ea8e7,_0x2ea8e7[_0x3aade9(0x151)]?0x0:void 0x0),this[_0x3aade9(0x14d)](_0x3aade9(0x157)+_0x1b0f16,{'channelId':_0x1b0f16,'session':_0x14e82a});}[_0x469feb(0x161)](_0x373302,_0x27b326){const _0x5e7d31=_0x469feb;if(_0x5e7d31(0x15f)!==this[_0x5e7d31(0x163)][_0x5e7d31(0x14b)][_0x5e7d31(0x17b)](_0x370cfb)[_0x5e7d31(0x154)])return;const _0x198eec=this[_0x5e7d31(0x158)][_0x5e7d31(0x17b)](_0x373302),_0x21f383=_0x27b326[_0x5e7d31(0x15e)];_0x21f383['id']&&(this[_0x5e7d31(0x167)][_0x5e7d31(0x17b)](_0x373302)[_0x5e7d31(0x15a)](_0x27b326['id']),_0x198eec[_0x5e7d31(0x15c)](_0x21f383['id'])&&!this[_0x5e7d31(0x184)](_0x21f383,_0x373302)[_0x5e7d31(0x16c)]&&_0x198eec[_0x5e7d31(0x15a)](_0x21f383['id']),this[_0x5e7d31(0x155)][_0x5e7d31(0x17b)](_0x21f383['id'])&&!this[_0x5e7d31(0x184)](_0x21f383)[_0x5e7d31(0x16c)]&&this[_0x5e7d31(0x155)][_0x5e7d31(0x15a)](_0x21f383['id']));}[_0x469feb(0x166)](_0x177bf5,_0x56761f){const _0x491cf9=_0x469feb,_0x2f11de=this[_0x491cf9(0x150)][_0x491cf9(0x14e)](_0x177bf5);return _0x56761f&&this[_0x491cf9(0x150)][_0x491cf9(0x177)](_0x177bf5['id']),_0x2f11de[_0x491cf9(0x165)]=this[_0x491cf9(0x16a)]++,_0x2f11de;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4fe718=_0x3554;function _0x3554(_0xf6e0b4,_0x5a9eae){const _0xa69ff2=_0xa69f();return _0x3554=function(_0x35545e,_0x2d8873){_0x35545e=_0x35545e-0x1ca;let _0x1a8827=_0xa69ff2[_0x35545e];return _0x1a8827;},_0x3554(_0xf6e0b4,_0x5a9eae);}(function(_0x543179,_0x575fb8){const _0x334778=_0x3554,_0x6aecdb=_0x543179();while(!![]){try{const _0x14ce92=parseInt(_0x334778(0x245))/0x1*(parseInt(_0x334778(0x233))/0x2)+parseInt(_0x334778(0x234))/0x3+parseInt(_0x334778(0x1e5))/0x4*(parseInt(_0x334778(0x201))/0x5)+-parseInt(_0x334778(0x217))/0x6+parseInt(_0x334778(0x20c))/0x7+-parseInt(_0x334778(0x23c))/0x8*(parseInt(_0x334778(0x1cf))/0x9)+-parseInt(_0x334778(0x1ef))/0xa*(parseInt(_0x334778(0x1f1))/0xb);if(_0x14ce92===_0x575fb8)break;else _0x6aecdb['push'](_0x6aecdb['shift']());}catch(_0x5bd3a6){_0x6aecdb['push'](_0x6aecdb['shift']());}}}(_0xa69f,0xbe782));import{Plugin as _0x4e0ae9}from'ckeditor5/src/core.js';function _0xa69f(){const _0xf2e7e3=['undo','selection','isCollapsed','innerHTML','1450356tHdmOp','markers','mapper','for','editingDowncast','mouseleave','isLimit','user:position:','delete','startsWith','applyOperation','remove','_domEmitter','removeMarker','getSelectionClass','contenteditable','name','getAttribute','keydown','size','</span>','getFirstRange','user:range:','classList','set','element','stopListening','getRange','2RndzzP','948318sraavT','ck-user__marker\x20','rootName','Escape','addEventListener','hasDomSelection','_createdBatches','clear','2000wkxfVg','highest','pluginName','enqueueChange','updateMarker','model','toDomElement','getContainedElement','markerToHighlight','679226KAhjsj','render','has','end','UserMarkers','document','deletionPosition','getPositions','markerToElement','data-session-id','view','tableCell','user:range','getCustomProperty','span','commands','44640mWbIct','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','add','checkChild','isDocumentOperation','markerRange','mouseenter','change','getMarkerClass','marker','createUserMarkerOperations','toRange','parent','oldRange','hasContent','schema','user:','createRange','type','setCustomProperty','getNearestSelectionRange','isSimilar','1208qjnbJJ','update:user:range','listenTo','removeClass','change:range','orderNumber','mySessionId','batch','detach','isPremiumPlugin','3437710qnedim','addMarker','11QwFoXi','reconvertMarker','destroy','ck-user__marker_hovered','root','getUserBySessionId','markerNameToElements','requires','editing','ck-user__selection','fromRange','userPositionMarker','editor','newRange','$text','init','5440ojXEDb','start','get','isOfficialPlugin','createUIElement','plugins','$graveyard','color','isObject','conversion','nodeAfter','8972257yuXpPZ','afterInit','split','user:position','markerName','isInline','getStart'];_0xa69f=function(){return _0xf2e7e3;};return _0xa69f();}import{global as _0x3fdd6e,DomEmitterMixin as _0x4a0a59}from'ckeditor5/src/utils.js';import _0x22f6bf from'./sessions.js';import{LiveRange as _0x15559e}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x4e0ae9{constructor(){const _0x266a8b=_0x3554;super(...arguments),this[_0x266a8b(0x223)]=new(_0x4a0a59())();}static get[_0x4fe718(0x1f8)](){return[_0x22f6bf];}static get[_0x4fe718(0x23e)](){const _0x56a741=_0x4fe718;return _0x56a741(0x249);}static get[_0x4fe718(0x204)](){return!0x0;}static get[_0x4fe718(0x1ee)](){return!0x0;}[_0x4fe718(0x200)](){const _0x13f564=_0x4fe718,_0x487bd3=this[_0x13f564(0x1fd)],_0x2bf775=_0x487bd3[_0x13f564(0x206)][_0x13f564(0x203)](_0x22f6bf);_0x487bd3[_0x13f564(0x20a)][_0x13f564(0x21a)](_0x13f564(0x21b))[_0x13f564(0x24d)]({'model':_0x13f564(0x20f),'view':(_0x171838,{writer:_0x568bf3})=>function(_0x3d142c,_0x573d18,_0x55a20d,_0x57402e){const _0x235dbc=_0x13f564,_0x1bfe6a=_0x3d142c[_0x235dbc(0x210)][_0x235dbc(0x20e)](':')[0x2],_0x2d6eb4=_0x55a20d[_0x235dbc(0x1f6)](_0x1bfe6a);if(!_0x2d6eb4||_0x1bfe6a===_0x55a20d[_0x235dbc(0x1eb)])return;if(!_0x57402e[_0x235dbc(0x241)][_0x235dbc(0x1de)][_0x235dbc(0x1d2)](_0x3d142c[_0x235dbc(0x1d4)][_0x235dbc(0x202)],_0x235dbc(0x1ff)))return;const _0x15c13b={'class':_0x235dbc(0x235)+_0x2d6eb4[_0x235dbc(0x208)][_0x235dbc(0x1d7)](),'data-name':_0x2d6eb4[_0x235dbc(0x227)],'data-session-id':_0x1bfe6a},_0xffd53c=_0x57402e[_0x235dbc(0x241)][_0x235dbc(0x218)][_0x235dbc(0x203)](_0x3d142c[_0x235dbc(0x210)]),_0x3f5f85=_0xffd53c[_0x235dbc(0x212)](),_0x16cdb7=_0x3f5f85[_0x235dbc(0x20b)],_0x5e1ec4=_0x57402e[_0x235dbc(0x241)][_0x235dbc(0x1de)];if(_0x16cdb7&&_0x5e1ec4[_0x235dbc(0x209)](_0x16cdb7)&&_0x5e1ec4[_0x235dbc(0x211)](_0x16cdb7)&&!_0x57402e[_0x235dbc(0x241)][_0x235dbc(0x218)][_0x235dbc(0x203)](_0x235dbc(0x22d)+_0x1bfe6a)[_0x235dbc(0x232)]()[_0x235dbc(0x215)])return;const _0x1aec82=_0x3f5f85[_0x235dbc(0x1db)];return _0x57402e[_0x235dbc(0x241)][_0x235dbc(0x1de)][_0x235dbc(0x21d)](_0x1aec82)&&!_0x57402e[_0x235dbc(0x241)][_0x235dbc(0x1dd)](_0x1aec82)&&(_0x15c13b[_0x235dbc(0x226)]=!0x1),function(_0x1e2178,_0xeb6dcf,_0x48151c){const _0x24db62=_0x235dbc,_0x502c59=_0x1e2178[_0x24db62(0x205)](_0x24db62(0x1cd),_0xeb6dcf);return _0x1e2178[_0x24db62(0x1e2)](_0x24db62(0x1fc),!0x0,_0x502c59),_0x502c59[_0x24db62(0x246)]=function(_0x386e72){const _0x2a01eb=_0x24db62,_0x210de3=this[_0x2a01eb(0x242)](_0x386e72);return _0x210de3[_0x2a01eb(0x216)]=_0x2a01eb(0x1d0)+_0x48151c[_0x2a01eb(0x227)]+_0x2a01eb(0x22b),_0x210de3[_0x2a01eb(0x238)](_0x2a01eb(0x1d5),()=>{const _0xda30f0=_0x2a01eb;_0x210de3[_0xda30f0(0x22e)][_0xda30f0(0x1d1)](_0xda30f0(0x1f4));}),_0x210de3[_0x2a01eb(0x238)](_0x2a01eb(0x21c),()=>{const _0x12a3fa=_0x2a01eb;_0x210de3[_0x12a3fa(0x22e)][_0x12a3fa(0x222)](_0x12a3fa(0x1f4));}),_0x210de3;},_0x502c59[_0x24db62(0x1e4)]=function(_0x3f17cd){const _0x172c3c=_0x24db62;return!(!this[_0x172c3c(0x1cc)](_0x172c3c(0x1fc))||!_0x3f17cd[_0x172c3c(0x1cc)](_0x172c3c(0x1fc))||this[_0x172c3c(0x228)](_0x172c3c(0x24e))!=_0x3f17cd[_0x172c3c(0x228)](_0x172c3c(0x24e)));},_0x502c59;}(_0x573d18,_0x15c13b,_0x2d6eb4);}(_0x171838,_0x568bf3,_0x2bf775,_0x487bd3)}),_0x487bd3[_0x13f564(0x20a)][_0x13f564(0x21a)](_0x13f564(0x21b))[_0x13f564(0x244)]({'model':_0x13f564(0x1cb),'view':_0x4acf03=>function(_0x534e33,_0x40af0a){const _0x347a40=_0x13f564,_0x3f9aaa=_0x534e33[_0x347a40(0x210)][_0x347a40(0x20e)](':')[0x2];if(_0x3f9aaa===_0x40af0a[_0x347a40(0x1eb)])return null;const _0x57e51d=_0x40af0a[_0x347a40(0x1f6)](_0x3f9aaa);if(!_0x57e51d)return{'id':_0x3f9aaa,'classes':[]};return{'id':_0x3f9aaa,'classes':[_0x347a40(0x1fa),_0x57e51d[_0x347a40(0x208)][_0x347a40(0x225)]()],'attributes':{'data-session-id':_0x3f9aaa},'priority':0x7d0+_0x57e51d[_0x347a40(0x1ea)]};}(_0x4acf03,_0x2bf775)}),function(_0x1b31d0){const _0x1aef43=_0x13f564,_0xe6f71=_0x1b31d0[_0x1aef43(0x241)],_0x4478b6=new Map(),_0x352609=_0x1b31d0[_0x1aef43(0x206)][_0x1aef43(0x203)](_0x22f6bf);_0xe6f71[_0x1aef43(0x218)]['on'](_0x1aef43(0x1e6),(_0x42bebd,_0x161128,_0x552c22,_0xf6dd4f)=>{const _0x23b473=_0x1aef43;if(!_0xf6dd4f&&_0x4478b6[_0x23b473(0x203)](_0x161128[_0x23b473(0x227)]))return _0x4478b6[_0x23b473(0x203)](_0x161128[_0x23b473(0x227)])[_0x23b473(0x1ed)](),void _0x4478b6[_0x23b473(0x21f)](_0x161128[_0x23b473(0x227)]);const _0x7bc343=_0x161128[_0x23b473(0x227)][_0x23b473(0x20e)](':')[0x2];if(_0x7bc343===_0x352609[_0x23b473(0x1eb)])return;const _0x5e9717=_0x23b473(0x21e)+_0x7bc343;_0xe6f71[_0x23b473(0x218)][_0x23b473(0x247)](_0x5e9717)&&_0x1b31d0[_0x23b473(0x1f9)][_0x23b473(0x1f2)](_0x5e9717),_0x161128['on'](_0x23b473(0x1e9),(_0x4d7174,_0x32d1ef,_0x59efe4)=>{const _0x252536=_0x23b473;if(_0x252536(0x207)!=_0x32d1ef[_0x252536(0x1f5)][_0x252536(0x236)]&&_0x252536(0x207)==_0x161128[_0x252536(0x232)]()[_0x252536(0x1f5)][_0x252536(0x236)]&&!_0x4478b6[_0x252536(0x247)](_0x161128[_0x252536(0x227)])){const _0x3c6d59=_0xe6f71[_0x252536(0x1de)][_0x252536(0x1e3)](_0x59efe4[_0x252536(0x24b)]);if(_0x3c6d59){const _0x1d1ec4=_0x15559e[_0x252536(0x1fb)](_0x3c6d59);_0x4478b6[_0x252536(0x22f)](_0x161128[_0x252536(0x227)],_0x1d1ec4),_0x1d1ec4['on'](_0x252536(0x1e9),(_0x5dccbd,_0x2b21c7,_0x2b75f9)=>{const _0x23b176=_0x252536;if(_0x23b176(0x207)==_0x1d1ec4[_0x23b176(0x1f5)][_0x23b176(0x236)]){const _0x23df1a=_0xe6f71[_0x23b176(0x1de)][_0x23b176(0x1e3)](_0x2b75f9[_0x23b176(0x24b)]);_0x23df1a?(_0x1d1ec4[_0x23b176(0x202)]=_0x23df1a[_0x23b176(0x202)],_0x1d1ec4[_0x23b176(0x248)]=_0x23df1a[_0x23b176(0x248)]):(_0x4478b6[_0x23b176(0x21f)](_0x161128[_0x23b176(0x227)]),_0x1d1ec4[_0x23b176(0x1ed)]());}});}}});}),_0xe6f71[_0x1aef43(0x24a)]['on'](_0x1aef43(0x1d6),()=>{const _0x37999a=_0x1aef43;_0x4478b6[_0x37999a(0x22a)]>0x0&&_0xe6f71[_0x37999a(0x23f)]({'isUndoable':!0x1},_0x12a76d=>{const _0x180b05=_0x37999a;for(const [_0x3c3555,_0x5d4fd4]of _0x4478b6)_0x180b05(0x207)==_0xe6f71[_0x180b05(0x218)][_0x180b05(0x203)](_0x3c3555)[_0x180b05(0x232)]()[_0x180b05(0x1f5)][_0x180b05(0x236)]&&(re(_0x3c3555[_0x180b05(0x20e)](':')[0x2],_0x5d4fd4[_0x180b05(0x1da)](),_0xe6f71,_0x12a76d),_0x5d4fd4[_0x180b05(0x1ed)]());_0x4478b6[_0x180b05(0x23b)]();});});}(_0x487bd3),this[_0x13f564(0x223)][_0x13f564(0x1e7)](_0x3fdd6e[_0x13f564(0x24a)],_0x13f564(0x229),(_0x5cecdb,{key:_0x289e2f})=>{const _0x38c21e=_0x13f564;_0x38c21e(0x237)===_0x289e2f&&function(_0x378d81){const _0x3763f3=_0x38c21e;_0x378d81[_0x3763f3(0x1f9)][_0x3763f3(0x24f)][_0x3763f3(0x1d6)](_0x9adcfd=>{const _0x5c6bb6=_0x3763f3;for(const _0x5c0156 of _0x378d81[_0x5c6bb6(0x241)][_0x5c6bb6(0x218)]){if(!_0x5c0156[_0x5c6bb6(0x227)][_0x5c6bb6(0x220)](_0x5c6bb6(0x20f)))continue;const _0x2ba57f=_0x378d81[_0x5c6bb6(0x1f9)][_0x5c6bb6(0x219)][_0x5c6bb6(0x1f7)](_0x5c0156[_0x5c6bb6(0x227)]);if(_0x2ba57f){for(const _0x362a65 of _0x2ba57f)_0x9adcfd[_0x5c6bb6(0x1e8)](_0x5c6bb6(0x1f4),_0x362a65);}}});}(_0x487bd3);},{'useCapture':!0x0});}[_0x4fe718(0x20d)](){const _0x24ce04=_0x4fe718,_0x18931e=this[_0x24ce04(0x1fd)],_0xd9c9d2=_0x18931e[_0x24ce04(0x1ce)][_0x24ce04(0x203)](_0x24ce04(0x213));_0xd9c9d2&&_0x18931e[_0x24ce04(0x241)]['on'](_0x24ce04(0x221),(_0x409489,_0x5a8cc6)=>{const _0x5e4d4c=_0x24ce04,_0x30539d=_0x5a8cc6[0x0];if(!_0x30539d[_0x5e4d4c(0x1d3)])return;if(_0x5e4d4c(0x1d8)!=_0x30539d[_0x5e4d4c(0x1e1)]||!_0x30539d[_0x5e4d4c(0x227)][_0x5e4d4c(0x220)](_0x5e4d4c(0x1df)))return;const _0x5708ba=_0x30539d[_0x5e4d4c(0x1ec)];_0xd9c9d2[_0x5e4d4c(0x23a)][_0x5e4d4c(0x247)](_0x5708ba)&&(_0x30539d[_0x5e4d4c(0x1fe)]=_0x30539d[_0x5e4d4c(0x1dc)]?_0x18931e[_0x5e4d4c(0x241)][_0x5e4d4c(0x1e0)](_0x30539d[_0x5e4d4c(0x1dc)][_0x5e4d4c(0x202)],_0x30539d[_0x5e4d4c(0x1dc)][_0x5e4d4c(0x248)]):null);},{'priority':_0x24ce04(0x23d)});}[_0x4fe718(0x1f3)](){const _0x4b5b88=_0x4fe718;return this[_0x4b5b88(0x223)][_0x4b5b88(0x231)](),super[_0x4b5b88(0x1f3)]();}[_0x4fe718(0x1d9)](){const _0xec5aef=_0x4fe718,_0x23cdf=this[_0xec5aef(0x1fd)],_0x151788=_0x23cdf[_0xec5aef(0x241)][_0xec5aef(0x24a)],_0x228e95=_0x23cdf[_0xec5aef(0x206)][_0xec5aef(0x203)](_0x22f6bf);_0x23cdf[_0xec5aef(0x241)][_0xec5aef(0x23f)]({'isUndoable':!0x1},_0x77fd8a=>{const _0x2b4f48=_0xec5aef,_0x5e70d1=_0x2b4f48(0x22d)+_0x228e95[_0x2b4f48(0x1eb)],_0x35d633=_0x2b4f48(0x21e)+_0x228e95[_0x2b4f48(0x1eb)],_0x3de200=_0x23cdf[_0x2b4f48(0x241)][_0x2b4f48(0x218)][_0x2b4f48(0x247)](_0x5e70d1);_0x23cdf[_0x2b4f48(0x1f9)][_0x2b4f48(0x24f)][_0x2b4f48(0x239)]?re(_0x228e95[_0x2b4f48(0x1eb)],_0x151788[_0x2b4f48(0x214)][_0x2b4f48(0x22c)](),_0x23cdf[_0x2b4f48(0x241)],_0x77fd8a):_0x3de200&&(_0x77fd8a[_0x2b4f48(0x224)](_0x5e70d1),_0x77fd8a[_0x2b4f48(0x224)](_0x35d633));});}}function re(_0x1f4acf,_0xc5a43e,_0x1322e5,_0x377358){const _0x56a0eb=_0x4fe718,_0x4e48c4=_0x56a0eb(0x22d)+_0x1f4acf,_0x48234c=_0x56a0eb(0x21e)+_0x1f4acf,_0xbe9978=_0xc5a43e[_0x56a0eb(0x243)]();let _0x1dad77=_0xc5a43e[_0x56a0eb(0x202)];_0xbe9978&&_0xbe9978['is'](_0x56a0eb(0x230),_0x56a0eb(0x1ca))&&(_0x1dad77=function(_0x21c5a0,_0x3e3706){const _0x1fc4ad=_0x56a0eb;for(const _0xf0209 of _0x21c5a0[_0x1fc4ad(0x24c)]())if(_0x3e3706[_0x1fc4ad(0x1de)][_0x1fc4ad(0x1d2)](_0xf0209,_0x1fc4ad(0x1ff)))return _0xf0209;}(_0xc5a43e,_0x1322e5),_0xc5a43e=_0x377358[_0x56a0eb(0x1e0)](_0x1dad77));const _0x58af5a=_0x377358[_0x56a0eb(0x1e0)](_0x1dad77);_0x1322e5[_0x56a0eb(0x218)][_0x56a0eb(0x247)](_0x4e48c4)?(_0x377358[_0x56a0eb(0x240)](_0x4e48c4,{'range':_0xc5a43e}),_0x377358[_0x56a0eb(0x240)](_0x48234c,{'range':_0x58af5a})):(_0x377358[_0x56a0eb(0x1f0)](_0x4e48c4,{'range':_0xc5a43e,'usingOperation':!0x0}),_0x377358[_0x56a0eb(0x1f0)](_0x48234c,{'range':_0x58af5a,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x469163=_0x24f6;(function(_0x5c99c8,_0x2eab14){const _0x4f2ed4=_0x24f6,_0x36b00f=_0x5c99c8();while(!![]){try{const _0x383b51=-parseInt(_0x4f2ed4(0x10d))/0x1+-parseInt(_0x4f2ed4(0x143))/0x2*(parseInt(_0x4f2ed4(0x15a))/0x3)+parseInt(_0x4f2ed4(0x159))/0x4+-parseInt(_0x4f2ed4(0x12f))/0x5*(parseInt(_0x4f2ed4(0x132))/0x6)+-parseInt(_0x4f2ed4(0xfe))/0x7*(-parseInt(_0x4f2ed4(0x12a))/0x8)+-parseInt(_0x4f2ed4(0x166))/0x9+-parseInt(_0x4f2ed4(0xe5))/0xa*(-parseInt(_0x4f2ed4(0x14e))/0xb);if(_0x383b51===_0x2eab14)break;else _0x36b00f['push'](_0x36b00f['shift']());}catch(_0x5372f7){_0x36b00f['push'](_0x36b00f['shift']());}}}(_0x1e5f,0xd837a));import{Plugin as _0x540af4}from'ckeditor5/src/core.js';import{global as _0x5e7fba,DomEmitterMixin as _0x5a7c36}from'ckeditor5/src/utils.js';import _0x6def50 from'./sessions.js';function _0x24f6(_0x27efee,_0x5755e8){const _0x1e5f35=_0x1e5f();return _0x24f6=function(_0x24f694,_0x55cdf4){_0x24f694=_0x24f694-0xe5;let _0x29b43e=_0x1e5f35[_0x24f694];return _0x29b43e;},_0x24f6(_0x27efee,_0x5755e8);}import{LiveRange as _0x2ecfec}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x540af4{constructor(){const _0x2f107c=_0x24f6;super(...arguments),this[_0x2f107c(0xf6)]=new(_0x5a7c36())();}static get[_0x469163(0x146)](){return[_0x6def50];}static get[_0x469163(0xf7)](){const _0x30b586=_0x469163;return _0x30b586(0x164);}static get[_0x469163(0x13d)](){return!0x0;}static get[_0x469163(0x135)](){return!0x0;}[_0x469163(0x11a)](){const _0x3f921e=_0x469163,_0x5304c1=this[_0x3f921e(0x15e)],_0x3e385c=_0x5304c1[_0x3f921e(0x149)][_0x3f921e(0x158)](_0x6def50);_0x5304c1[_0x3f921e(0xef)][_0x3f921e(0x101)](_0x3f921e(0x12c))[_0x3f921e(0x114)]({'model':_0x3f921e(0x15d),'view':(_0x18f127,{writer:_0x527037})=>function(_0x2c2f24,_0x4b78a4,_0x27d499,_0x1e99d5){const _0x50cbb0=_0x3f921e,_0x1fbd02=_0x2c2f24[_0x50cbb0(0x147)][_0x50cbb0(0x13a)](':')[0x2],_0x2f1ade=_0x27d499[_0x50cbb0(0x10e)](_0x1fbd02);if(!_0x2f1ade||_0x1fbd02===_0x27d499[_0x50cbb0(0x110)])return;if(!_0x1e99d5[_0x50cbb0(0x122)][_0x50cbb0(0xfa)][_0x50cbb0(0x137)](_0x2c2f24[_0x50cbb0(0x153)][_0x50cbb0(0x119)],_0x50cbb0(0xf4)))return;const _0x54cc80={'class':_0x50cbb0(0x11c)+_0x2f1ade[_0x50cbb0(0x10b)][_0x50cbb0(0x163)](),'data-name':_0x2f1ade[_0x50cbb0(0x13e)],'data-session-id':_0x1fbd02},_0x2611a2=_0x1e99d5[_0x50cbb0(0x122)][_0x50cbb0(0x129)][_0x50cbb0(0x158)](_0x2c2f24[_0x50cbb0(0x147)]),_0x5cc0b7=_0x2611a2[_0x50cbb0(0x144)](),_0x176812=_0x5cc0b7[_0x50cbb0(0xea)],_0x4bab00=_0x1e99d5[_0x50cbb0(0x122)][_0x50cbb0(0xfa)];if(_0x176812&&_0x4bab00[_0x50cbb0(0x117)](_0x176812)&&_0x4bab00[_0x50cbb0(0x12b)](_0x176812)&&!_0x1e99d5[_0x50cbb0(0x122)][_0x50cbb0(0x129)][_0x50cbb0(0x158)](_0x50cbb0(0x13f)+_0x1fbd02)[_0x50cbb0(0xf3)]()[_0x50cbb0(0x126)])return;const _0x176404=_0x5cc0b7[_0x50cbb0(0x125)];return _0x1e99d5[_0x50cbb0(0x122)][_0x50cbb0(0xfa)][_0x50cbb0(0x112)](_0x176404)&&!_0x1e99d5[_0x50cbb0(0x122)][_0x50cbb0(0xed)](_0x176404)&&(_0x54cc80[_0x50cbb0(0x13c)]=!0x1),function(_0x5817fd,_0x146829,_0x26924a){const _0x304fa9=_0x50cbb0,_0x400cb9=_0x5817fd[_0x304fa9(0x131)](_0x304fa9(0x108),_0x146829);return _0x5817fd[_0x304fa9(0x106)](_0x304fa9(0x104),!0x0,_0x400cb9),_0x400cb9[_0x304fa9(0x128)]=function(_0x3ca558){const _0x32ffa1=_0x304fa9,_0x30d06d=this[_0x32ffa1(0xf9)](_0x3ca558);return _0x30d06d[_0x32ffa1(0x115)]=_0x32ffa1(0x107)+_0x26924a[_0x32ffa1(0x13e)]+_0x32ffa1(0x138),_0x30d06d[_0x32ffa1(0xf5)](_0x32ffa1(0x134),()=>{const _0x4a8c0c=_0x32ffa1;_0x30d06d[_0x4a8c0c(0xfc)][_0x4a8c0c(0xf0)](_0x4a8c0c(0x145));}),_0x30d06d[_0x32ffa1(0xf5)](_0x32ffa1(0x14f),()=>{const _0x342ecc=_0x32ffa1;_0x30d06d[_0x342ecc(0xfc)][_0x342ecc(0x139)](_0x342ecc(0x145));}),_0x30d06d;},_0x400cb9[_0x304fa9(0x14a)]=function(_0x296947){const _0x3cce23=_0x304fa9;return!(!this[_0x3cce23(0x136)](_0x3cce23(0x104))||!_0x296947[_0x3cce23(0x136)](_0x3cce23(0x104))||this[_0x3cce23(0x133)](_0x3cce23(0x118))!=_0x296947[_0x3cce23(0x133)](_0x3cce23(0x118)));},_0x400cb9;}(_0x4b78a4,_0x54cc80,_0x2f1ade);}(_0x18f127,_0x527037,_0x3e385c,_0x5304c1)}),_0x5304c1[_0x3f921e(0xef)][_0x3f921e(0x101)](_0x3f921e(0x12c))[_0x3f921e(0x109)]({'model':_0x3f921e(0x121),'view':_0x4e870c=>function(_0x28840c,_0x4df2d8){const _0x999a15=_0x3f921e,_0x4c6843=_0x28840c[_0x999a15(0x147)][_0x999a15(0x13a)](':')[0x2];if(_0x4c6843===_0x4df2d8[_0x999a15(0x110)])return null;const _0x2870bc=_0x4df2d8[_0x999a15(0x10e)](_0x4c6843);if(!_0x2870bc)return{'id':_0x4c6843,'classes':[]};return{'id':_0x4c6843,'classes':[_0x999a15(0x14b),_0x2870bc[_0x999a15(0x10b)][_0x999a15(0x103)]()],'attributes':{'data-session-id':_0x4c6843},'priority':0x7d0+_0x2870bc[_0x999a15(0x160)]};}(_0x4e870c,_0x3e385c)}),function(_0x14213c){const _0x2d8345=_0x3f921e,_0x35bae3=_0x14213c[_0x2d8345(0x122)],_0x2c014b=new Map(),_0x1c0edd=_0x14213c[_0x2d8345(0x149)][_0x2d8345(0x158)](_0x6def50);_0x35bae3[_0x2d8345(0x129)]['on'](_0x2d8345(0x162),(_0x3f6293,_0x462aeb,_0x11c628,_0x166bd4)=>{const _0x41a286=_0x2d8345;if(!_0x166bd4&&_0x2c014b[_0x41a286(0x158)](_0x462aeb[_0x41a286(0x13e)]))return _0x2c014b[_0x41a286(0x158)](_0x462aeb[_0x41a286(0x13e)])[_0x41a286(0xf8)](),void _0x2c014b[_0x41a286(0x155)](_0x462aeb[_0x41a286(0x13e)]);const _0x39bce2=_0x462aeb[_0x41a286(0x13e)][_0x41a286(0x13a)](':')[0x2];if(_0x39bce2===_0x1c0edd[_0x41a286(0x110)])return;const _0x5b6fe2=_0x41a286(0x113)+_0x39bce2;_0x35bae3[_0x41a286(0x129)][_0x41a286(0x10a)](_0x5b6fe2)&&_0x14213c[_0x41a286(0x11d)][_0x41a286(0x14d)](_0x5b6fe2),_0x462aeb['on'](_0x41a286(0x165),(_0x56d41f,_0x16a130,_0x5a0d61)=>{const _0x19472e=_0x41a286;if(_0x19472e(0x14c)!=_0x16a130[_0x19472e(0x124)][_0x19472e(0x111)]&&_0x19472e(0x14c)==_0x462aeb[_0x19472e(0xf3)]()[_0x19472e(0x124)][_0x19472e(0x111)]&&!_0x2c014b[_0x19472e(0x10a)](_0x462aeb[_0x19472e(0x13e)])){const _0x353382=_0x35bae3[_0x19472e(0xfa)][_0x19472e(0x12e)](_0x5a0d61[_0x19472e(0x10c)]);if(_0x353382){const _0x4f57f7=_0x2ecfec[_0x19472e(0x141)](_0x353382);_0x2c014b[_0x19472e(0x142)](_0x462aeb[_0x19472e(0x13e)],_0x4f57f7),_0x4f57f7['on'](_0x19472e(0x165),(_0x56ec79,_0x38e8ba,_0x35063a)=>{const _0x1f1ba0=_0x19472e;if(_0x1f1ba0(0x14c)==_0x4f57f7[_0x1f1ba0(0x124)][_0x1f1ba0(0x111)]){const _0x424dc9=_0x35bae3[_0x1f1ba0(0xfa)][_0x1f1ba0(0x12e)](_0x35063a[_0x1f1ba0(0x10c)]);_0x424dc9?(_0x4f57f7[_0x1f1ba0(0x119)]=_0x424dc9[_0x1f1ba0(0x119)],_0x4f57f7[_0x1f1ba0(0x15c)]=_0x424dc9[_0x1f1ba0(0x15c)]):(_0x2c014b[_0x1f1ba0(0x155)](_0x462aeb[_0x1f1ba0(0x13e)]),_0x4f57f7[_0x1f1ba0(0xf8)]());}});}}});}),_0x35bae3[_0x2d8345(0x168)]['on'](_0x2d8345(0x150),()=>{const _0x203074=_0x2d8345;_0x2c014b[_0x203074(0xfb)]>0x0&&_0x35bae3[_0x203074(0x13b)]({'isUndoable':!0x1},_0x887d22=>{const _0x1fcd62=_0x203074;for(const [_0x4a73a7,_0xcffee2]of _0x2c014b)_0x1fcd62(0x14c)==_0x35bae3[_0x1fcd62(0x129)][_0x1fcd62(0x158)](_0x4a73a7)[_0x1fcd62(0xf3)]()[_0x1fcd62(0x124)][_0x1fcd62(0x111)]&&(re(_0x4a73a7[_0x1fcd62(0x13a)](':')[0x2],_0xcffee2[_0x1fcd62(0x12d)](),_0x35bae3,_0x887d22),_0xcffee2[_0x1fcd62(0xf8)]());_0x2c014b[_0x1fcd62(0x140)]();});});}(_0x5304c1),this[_0x3f921e(0xf6)][_0x3f921e(0x100)](_0x5e7fba[_0x3f921e(0x168)],_0x3f921e(0xe9),(_0x4f1c12,{key:_0x5557ac})=>{const _0x311900=_0x3f921e;_0x311900(0xf1)===_0x5557ac&&function(_0x467663){const _0x435d42=_0x311900;_0x467663[_0x435d42(0x11d)][_0x435d42(0xeb)][_0x435d42(0x150)](_0x546c24=>{const _0xd53a37=_0x435d42;for(const _0x5ef3e3 of _0x467663[_0xd53a37(0x122)][_0xd53a37(0x129)]){if(!_0x5ef3e3[_0xd53a37(0x13e)][_0xd53a37(0x154)](_0xd53a37(0x15d)))continue;const _0x18cf6f=_0x467663[_0xd53a37(0x11d)][_0xd53a37(0x152)][_0xd53a37(0xe8)](_0x5ef3e3[_0xd53a37(0x13e)]);if(_0x18cf6f){for(const _0x4e6aac of _0x18cf6f)_0x546c24[_0xd53a37(0xe6)](_0xd53a37(0x145),_0x4e6aac);}}});}(_0x5304c1);},{'useCapture':!0x0});}[_0x469163(0x161)](){const _0x8f9a23=_0x469163,_0x365931=this[_0x8f9a23(0x15e)],_0x1a9449=_0x365931[_0x8f9a23(0x15f)][_0x8f9a23(0x158)](_0x8f9a23(0x105));_0x1a9449&&_0x365931[_0x8f9a23(0x122)]['on'](_0x8f9a23(0x11b),(_0x52aeb1,_0x686fca)=>{const _0x1bb3db=_0x8f9a23,_0x5a739b=_0x686fca[0x0];if(!_0x5a739b[_0x1bb3db(0x127)])return;if(_0x1bb3db(0x16a)!=_0x5a739b[_0x1bb3db(0x123)]||!_0x5a739b[_0x1bb3db(0x13e)][_0x1bb3db(0x154)](_0x1bb3db(0x148)))return;const _0x3dab17=_0x5a739b[_0x1bb3db(0xff)];_0x1a9449[_0x1bb3db(0x167)][_0x1bb3db(0x10a)](_0x3dab17)&&(_0x5a739b[_0x1bb3db(0xe7)]=_0x5a739b[_0x1bb3db(0x102)]?_0x365931[_0x1bb3db(0x122)][_0x1bb3db(0x116)](_0x5a739b[_0x1bb3db(0x102)][_0x1bb3db(0x119)],_0x5a739b[_0x1bb3db(0x102)][_0x1bb3db(0x15c)]):null);},{'priority':_0x8f9a23(0xf2)});}[_0x469163(0x11f)](){const _0x2d1338=_0x469163;return this[_0x2d1338(0xf6)][_0x2d1338(0x10f)](),super[_0x2d1338(0x11f)]();}[_0x469163(0x130)](){const _0x38042e=_0x469163,_0x553888=this[_0x38042e(0x15e)],_0x502c0b=_0x553888[_0x38042e(0x122)][_0x38042e(0x168)],_0x26a587=_0x553888[_0x38042e(0x149)][_0x38042e(0x158)](_0x6def50);_0x553888[_0x38042e(0x122)][_0x38042e(0x13b)]({'isUndoable':!0x1},_0x2acae0=>{const _0x1244c8=_0x38042e,_0x111c2e=_0x1244c8(0x13f)+_0x26a587[_0x1244c8(0x110)],_0x22be25=_0x1244c8(0x113)+_0x26a587[_0x1244c8(0x110)],_0x54c3f5=_0x553888[_0x1244c8(0x122)][_0x1244c8(0x129)][_0x1244c8(0x10a)](_0x111c2e);_0x553888[_0x1244c8(0x11d)][_0x1244c8(0xeb)][_0x1244c8(0xec)]?re(_0x26a587[_0x1244c8(0x110)],_0x502c0b[_0x1244c8(0x169)][_0x1244c8(0x157)](),_0x553888[_0x1244c8(0x122)],_0x2acae0):_0x54c3f5&&(_0x2acae0[_0x1244c8(0x156)](_0x111c2e),_0x2acae0[_0x1244c8(0x156)](_0x22be25));});}}function _0x1e5f(){const _0x3d2d7a=['removeClass','newRange','markerNameToElements','keydown','nodeAfter','view','hasDomSelection','hasContent','element','conversion','add','Escape','highest','getRange','$text','addEventListener','_domEmitter','pluginName','detach','toDomElement','schema','size','classList','addMarker','6378239ocoEpa','batch','listenTo','for','oldRange','getSelectionClass','userPositionMarker','undo','setCustomProperty','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','span','markerToHighlight','has','color','deletionPosition','1400315exLTMV','getUserBySessionId','stopListening','mySessionId','rootName','isLimit','user:position:','markerToElement','innerHTML','createRange','isObject','data-session-id','start','init','applyOperation','ck-user__marker\x20','editing','updateMarker','destroy','getContainedElement','user:range','model','type','root','parent','isCollapsed','isDocumentOperation','render','markers','8BpSGmh','isInline','editingDowncast','toRange','getNearestSelectionRange','3393155LmVzSw','createUserMarkerOperations','createUIElement','6NamBrB','getAttribute','mouseenter','isPremiumPlugin','getCustomProperty','checkChild','</span>','remove','split','enqueueChange','contenteditable','isOfficialPlugin','name','user:range:','clear','fromRange','set','2RweXjg','getStart','ck-user__marker_hovered','requires','markerName','user:','plugins','isSimilar','ck-user__selection','$graveyard','reconvertMarker','11UyBpki','mouseleave','change','tableCell','mapper','markerRange','startsWith','delete','removeMarker','getFirstRange','get','5688760iKQbKP','3773478ePDXeG','getPositions','end','user:position','editor','commands','orderNumber','afterInit','update:user:range','getMarkerClass','UserMarkers','change:range','3046212EVLeod','_createdBatches','document','selection','marker','22274990LsrXZM'];_0x1e5f=function(){return _0x3d2d7a;};return _0x1e5f();}function re(_0x2c98f5,_0x3b3df6,_0xe428c8,_0x2801e7){const _0x1a66f9=_0x469163,_0x19087b=_0x1a66f9(0x13f)+_0x2c98f5,_0x3097e2=_0x1a66f9(0x113)+_0x2c98f5,_0x21ec26=_0x3b3df6[_0x1a66f9(0x120)]();let _0x59ef86=_0x3b3df6[_0x1a66f9(0x119)];_0x21ec26&&_0x21ec26['is'](_0x1a66f9(0xee),_0x1a66f9(0x151))&&(_0x59ef86=function(_0x331003,_0x55d67d){const _0x21f74b=_0x1a66f9;for(const _0xb8a9f8 of _0x331003[_0x21f74b(0x15b)]())if(_0x55d67d[_0x21f74b(0xfa)][_0x21f74b(0x137)](_0xb8a9f8,_0x21f74b(0xf4)))return _0xb8a9f8;}(_0x3b3df6,_0xe428c8),_0x3b3df6=_0x2801e7[_0x1a66f9(0x116)](_0x59ef86));const _0x4e7b63=_0x2801e7[_0x1a66f9(0x116)](_0x59ef86);_0xe428c8[_0x1a66f9(0x129)][_0x1a66f9(0x10a)](_0x19087b)?(_0x2801e7[_0x1a66f9(0x11e)](_0x19087b,{'range':_0x3b3df6}),_0x2801e7[_0x1a66f9(0x11e)](_0x3097e2,{'range':_0x4e7b63})):(_0x2801e7[_0x1a66f9(0xfd)](_0x19087b,{'range':_0x3b3df6,'usingOperation':!0x0}),_0x2801e7[_0x1a66f9(0xfd)](_0x3097e2,{'range':_0x4e7b63,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1026f4=_0x3ae0;(function(_0x89ff6b,_0x44e10d){const _0x1a569b=_0x3ae0,_0x55050d=_0x89ff6b();while(!![]){try{const _0x591b90=-parseInt(_0x1a569b(0x13d))/0x1*(-parseInt(_0x1a569b(0x173))/0x2)+-parseInt(_0x1a569b(0x12d))/0x3+parseInt(_0x1a569b(0x12c))/0x4+parseInt(_0x1a569b(0x171))/0x5+parseInt(_0x1a569b(0x167))/0x6*(-parseInt(_0x1a569b(0x14a))/0x7)+parseInt(_0x1a569b(0x13e))/0x8*(parseInt(_0x1a569b(0x166))/0x9)+parseInt(_0x1a569b(0x16c))/0xa;if(_0x591b90===_0x44e10d)break;else _0x55050d['push'](_0x55050d['shift']());}catch(_0x377de9){_0x55050d['push'](_0x55050d['shift']());}}}(_0x2b6d,0x63c3d));import{ContextPlugin as _0x558ba7}from'ckeditor5/src/core.js';function _0x3ae0(_0x3e2bb9,_0x4ece81){const _0x2b6d2b=_0x2b6d();return _0x3ae0=function(_0x3ae020,_0x14ad26){_0x3ae020=_0x3ae020-0x12b;let _0x16e491=_0x2b6d2b[_0x3ae020];return _0x16e491;},_0x3ae0(_0x3e2bb9,_0x4ece81);}import{DomEmitterMixin as _0x47af38,CKEditorError as _0x2c85da}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4c8d7e,WEB_SOCKET_GATEWAY_STATES as _0x35debe}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x53c8af}from'ckeditor5/src/ui.js';class c extends _0x558ba7{static get[_0x1026f4(0x159)](){const _0x42e509=_0x1026f4;return[_0x42e509(0x151),_0x53c8af];}static get[_0x1026f4(0x147)](){const _0x3240c4=_0x1026f4;return _0x3240c4(0x163);}static get[_0x1026f4(0x146)](){return!0x0;}static get[_0x1026f4(0x172)](){return!0x0;}constructor(_0x2171f9){const _0x28db96=_0x1026f4;super(_0x2171f9),this[_0x28db96(0x16f)](_0x28db96(0x152),_0x35debe[_0x28db96(0x139)]),this[_0x28db96(0x16f)](_0x28db96(0x169),!0x1),this[_0x28db96(0x160)]=new Set(),this[_0x28db96(0x170)]=!0x1,this[_0x28db96(0x150)]=Object[_0x28db96(0x13c)](_0x47af38);}[_0x1026f4(0x132)](){const _0x23e015=_0x1026f4,_0x4f9947=this[_0x23e015(0x14e)],_0x565b02=_0x4f9947[_0x23e015(0x153)][_0x23e015(0x135)](_0x23e015(0x151)),_0x922868=_0x4f9947[_0x23e015(0x153)][_0x23e015(0x135)](_0x53c8af);if(!_0x565b02[_0x23e015(0x154)])throw new _0x2c85da(_0x23e015(0x164),this);if(!_0x565b02[_0x23e015(0x15b)])throw new _0x2c85da(_0x23e015(0x157),this);return this[_0x23e015(0x150)][_0x23e015(0x141)](window,_0x23e015(0x13f),()=>this[_0x23e015(0x169)]=!0x0),this[_0x23e015(0x150)][_0x23e015(0x141)](window,_0x23e015(0x162),()=>this[_0x23e015(0x169)]=!0x1),this[_0x23e015(0x14e)][_0x23e015(0x14c)][_0x23e015(0x155)](_0x23e015(0x175),0xa),this[_0x23e015(0x14e)][_0x23e015(0x14c)][_0x23e015(0x155)](_0x23e015(0x16e),0x14),c[_0x23e015(0x163)][_0x23e015(0x12b)](_0x565b02[_0x23e015(0x154)],_0x565b02[_0x23e015(0x15b)],{'timeout':0x3e8*this[_0x23e015(0x14e)][_0x23e015(0x14c)][_0x23e015(0x135)](_0x23e015(0x175)),'requestTimeout':0x3e8*this[_0x23e015(0x14e)][_0x23e015(0x14c)][_0x23e015(0x135)](_0x23e015(0x16e))})[_0x23e015(0x15f)](_0x7366f4=>{const _0x41d146=_0x23e015;if(this[_0x41d146(0x136)]=_0x7366f4,this[_0x41d146(0x15c)](_0x41d146(0x152))['to'](_0x7366f4,_0x41d146(0x152),this,_0x41d146(0x169),(_0x4e1767,_0x4b4824)=>(_0x41d146(0x142)!==_0x4e1767&&(this[_0x41d146(0x170)]=!0x0),_0x4b4824||_0x4e1767!==_0x35debe[_0x41d146(0x139)]?_0x35debe[_0x41d146(0x140)]:this[_0x41d146(0x152)]==_0x35debe[_0x41d146(0x140)]&&this[_0x41d146(0x170)]?(this[_0x41d146(0x170)]=!0x1,this[_0x41d146(0x149)](),_0x35debe[_0x41d146(0x138)]):_0x35debe[_0x41d146(0x139)])),this[_0x41d146(0x136)]['on'](_0x41d146(0x14b),(_0x5c89ed,_0x389d5a)=>{const _0x204a91=_0x41d146;if(_0x204a91(0x16a)!==_0x389d5a[_0x204a91(0x14d)])throw console[_0x204a91(0x14b)](_0x389d5a),new _0x2c85da(_0x204a91(0x148),null,{'originalError':_0x389d5a});_0x922868[_0x204a91(0x130)](_0x204a91(0x168),{'title':_0x204a91(0x15a),'namespace':_0x204a91(0x15d)});}),!_0x7366f4['me'])return new Promise(_0x15b4d9=>_0x7366f4['on'](_0x41d146(0x137),_0x15b4d9));})[_0x23e015(0x12f)](_0x1f4b40=>{const _0x57a300=_0x23e015;throw console[_0x57a300(0x14b)](_0x1f4b40),new _0x2c85da(_0x57a300(0x148),null,{'originalError':_0x1f4b40});});}[_0x1026f4(0x15e)](_0x24a4b3){const _0x5d38e9=_0x1026f4;if(_0x5d38e9(0x134)!=typeof _0x24a4b3[_0x5d38e9(0x161)])throw new _0x2c85da(_0x5d38e9(0x165),this);if(this[_0x5d38e9(0x12e)](_0x24a4b3))throw new _0x2c85da(_0x5d38e9(0x156),this,{'name':_0x24a4b3[_0x5d38e9(0x144)][_0x5d38e9(0x147)]});this[_0x5d38e9(0x160)][_0x5d38e9(0x158)](_0x24a4b3);}[_0x1026f4(0x174)](_0x2fef71){const _0x4f1a77=_0x1026f4;this[_0x4f1a77(0x160)][_0x4f1a77(0x16b)](_0x2fef71);}[_0x1026f4(0x12e)](_0x33be7c){const _0x5b5d9d=_0x1026f4;return this[_0x5b5d9d(0x160)][_0x5b5d9d(0x143)](_0x33be7c);}[_0x1026f4(0x149)](){const _0x3f55f8=_0x1026f4;return this[_0x3f55f8(0x136)][_0x3f55f8(0x161)]()[_0x3f55f8(0x15f)](()=>Promise[_0x3f55f8(0x131)](Array[_0x3f55f8(0x145)](this[_0x3f55f8(0x160)],_0x52e1ef=>_0x52e1ef[_0x3f55f8(0x161)]())))[_0x3f55f8(0x15f)](()=>this[_0x3f55f8(0x152)]=_0x35debe[_0x3f55f8(0x139)])[_0x3f55f8(0x12f)](_0x58e549=>{const _0x113011=_0x3f55f8;throw console[_0x113011(0x14b)](_0x58e549),new _0x2c85da(_0x113011(0x14f),this[_0x113011(0x14e)]);});}[_0x1026f4(0x133)](){const _0x278d57=_0x1026f4;this[_0x278d57(0x136)]&&this[_0x278d57(0x136)][_0x278d57(0x133)](),this[_0x278d57(0x152)]=_0x35debe[_0x278d57(0x140)],this[_0x278d57(0x150)][_0x278d57(0x13a)]();}[_0x1026f4(0x13b)](){const _0x28e20d=_0x1026f4;this[_0x28e20d(0x133)](),super[_0x28e20d(0x13b)]();}}function _0x2b6d(){const _0x39efbe=['function','get','connection','change:me','CONNECTING','CONNECTED','stopListening','destroy','create','7cTrkFZ','75928EuExLd','offline','DISCONNECTED','listenTo','connected','has','constructor','from','isOfficialPlugin','pluginName','cloudservices-init','_reconnect','519701WvTGIY','error','config','code','context','cloudservices-reconnection-error','_domEmitter','CloudServices','state','plugins','token','define','websocketgateway-plugin-already-registered','websocketgateway-missing-websocket-url','add','requires','Connected\x20users\x20limit\x20exceeded','webSocketUrl','bind','real-time-collaboration','addToReconnectionStack','then','_reconnectionStack','reconnect','online','WebSocketGateway','websocketgateway-missing-token','websocketgateway-invalid-plugin-interface','9foGdrz','30BZIAiZ','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.','_isBrowserOffline','limitExceeded','delete','743770JCsYEj','initialReconnectionInterval','cloudServices.requestTimeout','set','_shouldPluginsReconnect','1054900qvTdfh','isPremiumPlugin','217432CmeZhX','removeFromReconnectionStack','cloudServices.connectionTimeout','connect','729340chfYnq','1375029qarict','isInReconnectionStack','catch','showWarning','all','init','disconnect'];_0x2b6d=function(){return _0x39efbe;};return _0x2b6d();}c[_0x1026f4(0x163)]=_0x4c8d7e,c[_0x1026f4(0x16d)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x52c0(_0x54bdbb,_0x59d888){var _0x57ca7f=_0x57ca();return _0x52c0=function(_0x52c0ee,_0x2d4bd0){_0x52c0ee=_0x52c0ee-0x1e1;var _0x260b47=_0x57ca7f[_0x52c0ee];return _0x260b47;},_0x52c0(_0x54bdbb,_0x59d888);}var _0x5a7d49=_0x52c0;(function(_0x3ef368,_0x51ea13){var _0x453faa=_0x52c0,_0x269e91=_0x3ef368();while(!![]){try{var _0x5032b5=-parseInt(_0x453faa(0x1e4))/0x1*(-parseInt(_0x453faa(0x1e5))/0x2)+-parseInt(_0x453faa(0x1ec))/0x3*(parseInt(_0x453faa(0x1ee))/0x4)+parseInt(_0x453faa(0x1e8))/0x5+-parseInt(_0x453faa(0x1ef))/0x6+parseInt(_0x453faa(0x1e6))/0x7+parseInt(_0x453faa(0x1e9))/0x8*(parseInt(_0x453faa(0x1ed))/0x9)+-parseInt(_0x453faa(0x1ea))/0xa;if(_0x5032b5===_0x51ea13)break;else _0x269e91['push'](_0x269e91['shift']());}catch(_0x4bfd5a){_0x269e91['push'](_0x269e91['shift']());}}}(_0x57ca,0x32153));import{Plugin as _0x3dfefe}from'ckeditor5/src/core.js';import _0x5c9545 from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x3dfefe{static get[_0x5a7d49(0x1eb)](){return[_0x5c9545];}static get[_0x5a7d49(0x1e1)](){var _0x55f36c=_0x5a7d49;return _0x55f36c(0x1e7);}static get[_0x5a7d49(0x1e3)](){return!0x0;}static get[_0x5a7d49(0x1e2)](){return!0x0;}}function _0x57ca(){var _0x2a5555=['isPremiumPlugin','isOfficialPlugin','1tOepth','333466yIeLPg','2471350iYszVA','RealTimeCollaborativeEditing','49285EPtKyK','231576MsScOY','1080990hhKeKD','requires','61275YarrUO','72iXjJBr','40TNnUFl','1462368qaMGDn','pluginName'];_0x57ca=function(){return _0x2a5555;};return _0x57ca();}
|