@ckeditor/ckeditor5-real-time-collaboration 44.3.0-alpha.2 → 44.3.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +2 -2
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x44912f=_0x215a;(function(_0xdd207,_0xd5c64c){const _0x2a2075=_0x215a,_0x3b8925=_0xdd207();while(!![]){try{const _0x5bdbf7=parseInt(_0x2a2075(0x1d1))/0x1*(parseInt(_0x2a2075(0x1d5))/0x2)+-parseInt(_0x2a2075(0x1fa))/0x3*(-parseInt(_0x2a2075(0x22b))/0x4)+-parseInt(_0x2a2075(0x212))/0x5+-parseInt(_0x2a2075(0x1e0))/0x6+-parseInt(_0x2a2075(0x1e9))/0x7+parseInt(_0x2a2075(0x213))/0x8*(-parseInt(_0x2a2075(0x1da))/0x9)+parseInt(_0x2a2075(0x1d6))/0xa;if(_0x5bdbf7===_0xd5c64c)break;else _0x3b8925['push'](_0x3b8925['shift']());}catch(_0x495dc6){_0x3b8925['push'](_0x3b8925['shift']());}}}(_0xd20a,0x3b6bb));function _0xd20a(){const _0x1235ec=['reopenCommentThread','comments','context','has','resolve','cloudservicescommentsadapter-service-not-exist','828115XKEtjH','632504tsZFJA','get','reconnect','listenTo','content','collaboration.channelId','size','addToReconnectionStack','resolvedBy','mySessionId','commentThreadResolved','_setUpService','userId','cloudservicescommentsadapter-disconnect-not-exist','permissions','update','updateCommentThread','CloudServicesCommentsAdapter','getMany','init','cloud-services-internal-error:\x20Not\x20connected.','resolveCommentThread','code','removeComment','124eKCwmD','disconnect','unregister','isOfficialPlugin','404','startsWith','setPermissions','requires','sessionAdd:','createdAt','isPremiumPlugin','removeCommentThread','1hvDawG','adapter','commentId','getCommentThreads','92826CkgRXt','7374020jvojCs','getCommentThread','updateComment','destroy','18MqCWrY','commentAdded','_terminateService','cloud-services-internal-error:\x20Request\x20timeout.','off','addUser','533988BAxHVu','assign','resolvedAt','from','catch','config','attributes','getComment','map','3192448DTDuVy','_services','set','message','commentUpdated','_fetchMissingUsersForThreads','Permissions','connect','getUser','_connectService','cloudservicescommentsadapter-connect-already-connected','delete','commentRemoved','pluginName','keys','CommentsRepository','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','31779opUsIS','add','commentThreadReopened','reopen','commentThreadId','commentThreadUpdated','addCommentThread','deletedAt','authorId','plugins','addComment','getConnectedSessions','commentThreadAdded','remove','commentThreadRemoved','_getService','CommentsService','register'];_0xd20a=function(){return _0x1235ec;};return _0xd20a();}function _0x215a(_0xe05870,_0x2257e5){const _0xd20a5c=_0xd20a();return _0x215a=function(_0x215a1c,_0x132d19){_0x215a1c=_0x215a1c-0x1cd;let _0x2a69b9=_0xd20a5c[_0x215a1c];return _0x2a69b9;},_0x215a(_0xe05870,_0x2257e5);}import{Context as _0x388369,ContextPlugin as _0x50e3e9}from'ckeditor5/src/core.js';import{CKEditorError as _0x413889}from'ckeditor5/src/utils.js';import{Users as _0x55a47b}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x2676a5,User as _0x257d58}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x21dce4 from'../realtimecollaborativeediting/websocketgateway.js';import _0x5a118d from'../realtimecollaborativeediting/sessions.js';class a extends _0x50e3e9{static get[_0x44912f(0x232)](){const _0x26dd67=_0x44912f;return[_0x21dce4,_0x26dd67(0x1f8),_0x5a118d,_0x55a47b];}static get[_0x44912f(0x1f6)](){const _0x5f9760=_0x44912f;return _0x5f9760(0x224);}static get[_0x44912f(0x22e)](){return!0x0;}static get[_0x44912f(0x1cf)](){return!0x0;}constructor(_0x27ec38){const _0x1b3dd7=_0x44912f;super(_0x27ec38),this[_0x1b3dd7(0x1ea)]=new Map();}async[_0x44912f(0x226)](){const _0x5c31de=_0x44912f,_0x3649d4=this[_0x5c31de(0x20e)],_0x1577bf=_0x3649d4[_0x5c31de(0x203)][_0x5c31de(0x214)](_0x5c31de(0x1f8));if(_0x3649d4[_0x5c31de(0x203)][_0x5c31de(0x214)](_0x21dce4)[_0x5c31de(0x21a)](this),_0x1577bf[_0x5c31de(0x1d2)]={'addCommentThread':async({channelId:_0x17d67f,threadId:_0x232472,comments:_0xd56206,resolvedAt:_0x3d540e,resolvedBy:_0x4cc289,context:_0x2cfd0e,attributes:_0x3b7596})=>{const _0x25c2d7=_0x5c31de,_0x1f94a4=await this[_0x25c2d7(0x209)](_0x17d67f)[_0x25c2d7(0x200)]({'commentThreadId':_0x232472,'comments':_0xd56206[_0x25c2d7(0x1e8)](_0x3bb1f3=>function(_0x52ceed,_0x21894f,_0x2e3f63){const _0x379af3=_0x25c2d7;return{'commentThreadId':_0x2e3f63,'commentId':_0x52ceed[_0x379af3(0x1d3)],'userId':_0x52ceed[_0x379af3(0x202)],'content':_0x52ceed[_0x379af3(0x217)],'documentId':_0x21894f,'createdAt':_0x52ceed[_0x379af3(0x1ce)],'attributes':_0x52ceed[_0x379af3(0x1e6)]||{}};}(_0x3bb1f3,_0x17d67f,_0x232472)),'resolvedAt':_0x3d540e,'resolvedBy':_0x4cc289,'context':_0x2cfd0e,'attributes':_0x3b7596})[_0x25c2d7(0x1e4)](R);return{'threadId':_0x1f94a4[_0x25c2d7(0x1fe)],'comments':_0x1f94a4[_0x25c2d7(0x20d)]};},'getCommentThread':async({channelId:_0x3949d3,threadId:_0x2eab28})=>{const _0xf1bbf9=_0x5c31de,_0x4a228=await this[_0xf1bbf9(0x209)](_0x3949d3)[_0xf1bbf9(0x1d7)](_0x2eab28)[_0xf1bbf9(0x1e4)](R);return _0x4a228[_0xf1bbf9(0x201)]?null:(await this[_0xf1bbf9(0x1ee)]([_0x4a228]),{'threadId':_0x4a228[_0xf1bbf9(0x1fe)],'comments':_0x4a228[_0xf1bbf9(0x20d)][_0xf1bbf9(0x1e8)](S),'context':_0x4a228[_0xf1bbf9(0x20e)],'resolvedAt':_0x4a228[_0xf1bbf9(0x1e2)],'resolvedBy':_0x4a228[_0xf1bbf9(0x21b)],'attributes':_0x4a228[_0xf1bbf9(0x1e6)]||{}});},'updateCommentThread':async({channelId:_0x1e0cb8,threadId:_0x5e679e,context:_0x4caa16,unlinkedAt:_0x155fe1,attributes:_0x5a6bca})=>this[_0x5c31de(0x209)](_0x1e0cb8)[_0x5c31de(0x223)]({'commentThreadId':_0x5e679e,'context':_0x4caa16,'attributes':_0x5a6bca,'unlinkedAt':_0x155fe1})[_0x5c31de(0x1e4)](B)[_0x5c31de(0x1e4)](R),'resolveCommentThread':async({channelId:_0x2b33be,threadId:_0x31732b})=>{const _0x968a17=_0x5c31de,_0x525c0a=await this[_0x968a17(0x209)](_0x2b33be)[_0x968a17(0x228)](_0x31732b)[_0x968a17(0x1e4)](B)[_0x968a17(0x1e4)](R);return{'threadId':_0x525c0a[_0x968a17(0x1fe)],'resolvedAt':_0x525c0a[_0x968a17(0x1e2)],'resolvedBy':_0x525c0a[_0x968a17(0x21b)]};},'reopenCommentThread':async({channelId:_0xbc5422,threadId:_0x3b8620})=>this[_0x5c31de(0x209)](_0xbc5422)[_0x5c31de(0x20c)](_0x3b8620)[_0x5c31de(0x1e4)](B)[_0x5c31de(0x1e4)](R),'removeCommentThread':({channelId:_0x381d96,threadId:_0x526bec})=>this[_0x5c31de(0x209)](_0x381d96)[_0x5c31de(0x1d0)](_0x526bec)[_0x5c31de(0x1e4)](B)[_0x5c31de(0x1e4)](R),'addComment':({channelId:_0x5efb52,threadId:_0x7fbd17,commentId:_0x25b770,content:_0x362777,attributes:_0x3e5fd9})=>this[_0x5c31de(0x209)](_0x5efb52)[_0x5c31de(0x204)](_0x7fbd17,_0x25b770,_0x362777,_0x3e5fd9)[_0x5c31de(0x1e4)](R),'updateComment':({channelId:_0x152fe2,threadId:_0x171c0f,commentId:_0x14ec74,content:_0x40372e,attributes:_0x3f4145})=>this[_0x5c31de(0x209)](_0x152fe2)[_0x5c31de(0x1d8)](_0x171c0f,_0x14ec74,_0x40372e,_0x3f4145)[_0x5c31de(0x1e4)](B)[_0x5c31de(0x1e4)](R),'removeComment':({channelId:_0x5f370e,threadId:_0x4c926f,commentId:_0x3e840a})=>this[_0x5c31de(0x209)](_0x5f370e)[_0x5c31de(0x22a)](_0x4c926f,_0x3e840a)[_0x5c31de(0x1e4)](B)[_0x5c31de(0x1e4)](R)},_0x3649d4 instanceof _0x388369){const _0x21edb2=_0x3649d4[_0x5c31de(0x1e5)][_0x5c31de(0x214)](_0x5c31de(0x218)),_0x2a3d6d=_0x3649d4[_0x5c31de(0x203)][_0x5c31de(0x214)](_0x5a118d);await this[_0x5c31de(0x21e)](_0x21edb2);const _0x3eecf0=await this[_0x5c31de(0x1ea)][_0x5c31de(0x214)](_0x21edb2)[_0x5c31de(0x205)]();this[_0x5c31de(0x216)](_0x2a3d6d,_0x5c31de(0x1cd)+_0x21edb2,(_0x4f1ab0,{session:_0x325dda})=>{const _0x1cf89e=_0x5c31de;_0x325dda['id']===_0x2a3d6d[_0x1cf89e(0x21c)]&&(_0x4f1ab0[_0x1cf89e(0x1de)](),this[_0x1cf89e(0x20e)][_0x1cf89e(0x203)][_0x1cf89e(0x214)](_0x1cf89e(0x1ef))[_0x1cf89e(0x231)](_0x325dda[_0x1cf89e(0x221)],_0x21edb2));}),_0x2a3d6d[_0x5c31de(0x20b)](_0x21edb2,_0x3eecf0);}}async[_0x44912f(0x21e)](_0x5f5688){const _0x58f086=_0x44912f;if(this[_0x58f086(0x1ea)][_0x58f086(0x20f)](_0x5f5688))throw new _0x413889(_0x58f086(0x1f3),null,{'channelId':_0x5f5688});const _0x5d3d12=this[_0x58f086(0x20e)][_0x58f086(0x203)][_0x58f086(0x214)](_0x58f086(0x1f8)),_0x50d91a=new a[(_0x58f086(0x20a))](_0x5f5688);this[_0x58f086(0x1ea)][_0x58f086(0x1eb)](_0x5f5688,_0x50d91a),this[_0x58f086(0x216)](_0x50d91a,_0x58f086(0x206),(_0x2f17e5,_0x136308)=>{const _0x4e6934=_0x58f086,{commentThreadId:_0x11ba09,documentId:_0x5b86a4,context:_0x4e13b1,attributes:_0x3cd5fd,resolvedAt:_0x42ff69,resolvedBy:_0x24b042,comments:_0x27de07}=_0x136308;_0x5d3d12[_0x4e6934(0x1d7)](_0x11ba09)||_0x5d3d12[_0x4e6934(0x200)]({'threadId':_0x11ba09,'channelId':_0x5b86a4,'comments':_0x27de07?_0x27de07[_0x4e6934(0x1e8)](S):[],'context':_0x4e13b1,'attributes':_0x3cd5fd,'resolvedAt':_0x42ff69,'resolvedBy':_0x24b042,'isFromAdapter':!0x0});}),this[_0x58f086(0x216)](_0x50d91a,_0x58f086(0x1ff),(_0x58e655,{commentThreadId:_0x58a204,documentId:_0x39f26,context:_0x23fa5b,unlinkedAt:_0x488ab2,attributes:_0x255129})=>{const _0x45dc3a=_0x58f086;_0x5d3d12[_0x45dc3a(0x1d7)](_0x58a204)&&_0x5d3d12[_0x45dc3a(0x223)]({'threadId':_0x58a204,'channelId':_0x39f26,'context':_0x23fa5b,'unlinkedAt':_0x488ab2,'attributes':_0x255129,'isFromAdapter':!0x0});}),this[_0x58f086(0x216)](_0x50d91a,_0x58f086(0x21d),(_0x7e03a7,{commentThreadId:_0x562b40,resolvedBy:_0x4661af,resolvedAt:_0x26b731})=>{const _0x1b5ac7=_0x58f086,_0x413b0d=_0x5d3d12[_0x1b5ac7(0x1d7)](_0x562b40);_0x413b0d&&_0x413b0d[_0x1b5ac7(0x210)]({'resolvedBy':_0x4661af,'resolvedAt':_0x26b731,'isFromAdapter':!0x0});}),this[_0x58f086(0x216)](_0x50d91a,_0x58f086(0x1fc),(_0x4307e9,{commentThreadId:_0x4cd2b6})=>{const _0x109a12=_0x58f086,_0x153a6f=_0x5d3d12[_0x109a12(0x1d7)](_0x4cd2b6);_0x153a6f&&_0x153a6f[_0x109a12(0x1fd)]({'isFromAdapter':!0x0});}),this[_0x58f086(0x216)](_0x50d91a,_0x58f086(0x208),(_0x21cd97,{commentThreadId:_0x4dff95})=>{const _0x500da9=_0x58f086,_0x5c4a02=_0x5d3d12[_0x500da9(0x1d7)](_0x4dff95);_0x5c4a02&&_0x5c4a02[_0x500da9(0x207)]({'isFromAdapter':!0x0});}),this[_0x58f086(0x216)](_0x50d91a,_0x58f086(0x1db),(_0x270c9b,_0x85f608)=>{const _0x59a516=_0x58f086,_0x357926=_0x85f608[_0x59a516(0x1fe)],_0xb1cb40=_0x5d3d12[_0x59a516(0x1d7)](_0x357926);_0xb1cb40&&_0xb1cb40[_0x59a516(0x204)]({...S(_0x85f608),'isFromAdapter':!0x0});}),this[_0x58f086(0x216)](_0x50d91a,_0x58f086(0x1ed),(_0x351bc4,{commentThreadId:_0x5c0085,commentId:_0x6852bc,content:_0x2ebc99,attributes:_0x4a9c38})=>{const _0x17cdea=_0x58f086,_0x539a3c=_0x5d3d12[_0x17cdea(0x1d7)](_0x5c0085);if(_0x539a3c){const _0x51c6d1=_0x539a3c[_0x17cdea(0x1e7)](_0x6852bc);_0x51c6d1&&_0x51c6d1[_0x17cdea(0x222)]({'content':_0x2ebc99,'attributes':_0x4a9c38,'isFromAdapter':!0x0});}}),this[_0x58f086(0x216)](_0x50d91a,_0x58f086(0x1f5),(_0x4951df,{commentThreadId:_0x52750b,commentId:_0x2470f0})=>{const _0x1d6895=_0x58f086,_0x4690c6=_0x5d3d12[_0x1d6895(0x1d7)](_0x52750b);if(_0x4690c6){const _0x468635=_0x4690c6[_0x1d6895(0x1e7)](_0x2470f0);_0x468635&&_0x468635[_0x1d6895(0x207)]({'isFromAdapter':!0x0});}}),await this[_0x58f086(0x1f2)](_0x5f5688);}[_0x44912f(0x1d9)](){const _0x445451=_0x44912f;if(this[_0x445451(0x20e)]instanceof _0x388369){const _0x5f1f67=this[_0x445451(0x20e)][_0x445451(0x1e5)][_0x445451(0x214)](_0x445451(0x218));this[_0x445451(0x1dc)](_0x5f1f67);}}[_0x44912f(0x1dc)](_0x2cd3e3){const _0x1678dd=_0x44912f;if(!this[_0x1678dd(0x1ea)][_0x1678dd(0x20f)](_0x2cd3e3))throw new _0x413889(_0x1678dd(0x220),null,{'channelId':_0x2cd3e3});this[_0x1678dd(0x209)](_0x2cd3e3)[_0x1678dd(0x22c)](),this[_0x1678dd(0x1ea)][_0x1678dd(0x1f4)](_0x2cd3e3);}async[_0x44912f(0x215)](){const _0x5cb9bd=_0x44912f;for(const _0x92afbb of this[_0x5cb9bd(0x1ea)][_0x5cb9bd(0x1f7)]())await this[_0x5cb9bd(0x1f2)](_0x92afbb);if(this[_0x5cb9bd(0x20e)]instanceof _0x388369){const _0x4b0b62=this[_0x5cb9bd(0x20e)][_0x5cb9bd(0x1e5)][_0x5cb9bd(0x214)](_0x5cb9bd(0x218)),_0x225565=this[_0x5cb9bd(0x20e)][_0x5cb9bd(0x203)][_0x5cb9bd(0x214)](_0x5a118d);_0x225565[_0x5cb9bd(0x22d)](_0x4b0b62);const _0xc21bed=await this[_0x5cb9bd(0x1ea)][_0x5cb9bd(0x214)](_0x4b0b62)[_0x5cb9bd(0x205)]();_0x225565[_0x5cb9bd(0x20b)](_0x4b0b62,_0xc21bed);}}async[_0x44912f(0x1f2)](_0x412ca3){const _0x46a59b=_0x44912f,{connection:_0x3016e7}=this[_0x46a59b(0x20e)][_0x46a59b(0x203)][_0x46a59b(0x214)](_0x21dce4),_0x57053c=this[_0x46a59b(0x20e)][_0x46a59b(0x203)][_0x46a59b(0x214)](_0x46a59b(0x1f8)),_0x197356=this[_0x46a59b(0x1ea)][_0x46a59b(0x214)](_0x412ca3),_0x52ac33=await _0x197356[_0x46a59b(0x1f0)](_0x3016e7);await this[_0x46a59b(0x1ee)](_0x52ac33);const _0x2cfa69=new Set(Array[_0x46a59b(0x1e3)](_0x57053c[_0x46a59b(0x1d4)]({'channelId':_0x412ca3}),_0x54f7b8=>_0x54f7b8['id']));for(const _0x5b538c of _0x52ac33)_0x5b538c[_0x46a59b(0x201)]||_0x2cfa69[_0x46a59b(0x1f4)](_0x5b538c[_0x46a59b(0x1fe)]);for(const _0x5e5cc0 of _0x2cfa69)_0x57053c[_0x46a59b(0x1d7)](_0x5e5cc0)[_0x46a59b(0x207)]({'isFromAdapter':!0x0});for(const _0x4cad0d of _0x52ac33){let _0x397d3d=_0x57053c[_0x46a59b(0x1d7)](_0x4cad0d[_0x46a59b(0x1fe)]);const {commentThreadId:_0x2b2984,context:_0x18d443,attributes:_0x4daaa1,resolvedBy:_0x3ba854,resolvedAt:_0x38464d,unlinkedAt:_0x541271,deletedAt:_0x5189d2}=_0x4cad0d;if(_0x5189d2)continue;_0x397d3d||(_0x397d3d=_0x57053c[_0x46a59b(0x200)]({'channelId':_0x412ca3,'threadId':_0x2b2984,'context':_0x18d443,'attributes':_0x4daaa1||{},'resolvedBy':_0x3ba854,'resolvedAt':_0x38464d,'unlinkedAt':_0x541271,'isFromAdapter':!0x0}));const _0xe33979=new Set(Array[_0x46a59b(0x1e3)](_0x397d3d[_0x46a59b(0x20d)],_0x1f0788=>_0x1f0788['id']));for(const _0x469460 of _0x4cad0d[_0x46a59b(0x20d)])_0xe33979[_0x46a59b(0x1f4)](_0x469460[_0x46a59b(0x1d3)]);for(const _0x5e1842 of _0xe33979)_0x397d3d[_0x46a59b(0x1e7)](_0x5e1842)[_0x46a59b(0x207)]({'isFromAdapter':!0x0});for(const _0x20c473 of _0x4cad0d[_0x46a59b(0x20d)]){const _0x480e17=_0x397d3d[_0x46a59b(0x1e7)](_0x20c473[_0x46a59b(0x1d3)]);_0x480e17?_0x480e17[_0x46a59b(0x217)]!==_0x20c473[_0x46a59b(0x217)]&&_0x480e17[_0x46a59b(0x222)]({'content':_0x20c473[_0x46a59b(0x217)],'isFromAdapter':!0x0}):_0x397d3d[_0x46a59b(0x204)](Object[_0x46a59b(0x1e1)](S(_0x20c473),{'isFromAdapter':!0x0}));}}}[_0x44912f(0x209)](_0x55b805){const _0x490534=_0x44912f;if(!this[_0x490534(0x1ea)][_0x490534(0x20f)](_0x55b805))throw new _0x413889(_0x490534(0x211),null,{'channelId':_0x55b805});return this[_0x490534(0x1ea)][_0x490534(0x214)](_0x55b805);}async[_0x44912f(0x1ee)](_0x249aa6){const _0x587d60=_0x44912f,_0x4b906a=this[_0x587d60(0x20e)][_0x587d60(0x203)][_0x587d60(0x214)](_0x55a47b),{connection:_0x44538e}=this[_0x587d60(0x20e)][_0x587d60(0x203)][_0x587d60(0x214)](_0x21dce4),_0xa1c342=new Set();for(const {resolvedBy:_0x1ef6d0,comments:_0x1d98d1}of _0x249aa6){_0x1ef6d0&&!_0x4b906a[_0x587d60(0x1f1)](_0x1ef6d0)&&_0xa1c342[_0x587d60(0x1fb)](_0x1ef6d0);for(const {userId:_0x58d070}of _0x1d98d1)_0x4b906a[_0x587d60(0x1f1)](_0x58d070)||_0xa1c342[_0x587d60(0x1fb)](_0x58d070);}if(0x0===_0xa1c342[_0x587d60(0x219)])return;const _0x27289a=await _0x257d58[_0x587d60(0x225)](_0x44538e,Array[_0x587d60(0x1e3)](_0xa1c342));for(const _0x81dfc9 of _0x27289a)_0x4b906a[_0x587d60(0x1f1)](_0x81dfc9['id'])||_0x4b906a[_0x587d60(0x1df)](_0x81dfc9);}}a[_0x44912f(0x20a)]=_0x2676a5;export default a;async function B(_0x8e202){const _0x32d439=_0x44912f;if(_0x32d439(0x22f)!==_0x8e202[_0x32d439(0x229)])throw _0x8e202;}function R(_0x595cbd){const _0x4a8a7e=_0x44912f;if((_0x1e5d1f=_0x595cbd)[_0x4a8a7e(0x1ec)][_0x4a8a7e(0x230)](_0x4a8a7e(0x1f9))||_0x1e5d1f[_0x4a8a7e(0x1ec)][_0x4a8a7e(0x230)](_0x4a8a7e(0x227))||_0x1e5d1f[_0x4a8a7e(0x1ec)][_0x4a8a7e(0x230)](_0x4a8a7e(0x1dd)))return new Promise(()=>{});var _0x1e5d1f;throw _0x595cbd;}function S(_0x3fba78){const _0x48c358=_0x44912f;return{'threadId':_0x3fba78[_0x48c358(0x1fe)],'commentId':_0x3fba78[_0x48c358(0x1d3)],'content':_0x3fba78[_0x48c358(0x217)],'createdAt':_0x3fba78[_0x48c358(0x1ce)],'authorId':_0x3fba78[_0x48c358(0x21f)],'attributes':_0x3fba78[_0x48c358(0x1e6)]||{}};}
|
|
23
|
+
const _0x54dee8=_0x2923;(function(_0x165ebd,_0x3e0b7d){const _0x4ad7fd=_0x2923,_0x42400f=_0x165ebd();while(!![]){try{const _0x48af64=parseInt(_0x4ad7fd(0x1de))/0x1+parseInt(_0x4ad7fd(0x1c1))/0x2*(parseInt(_0x4ad7fd(0x18e))/0x3)+-parseInt(_0x4ad7fd(0x19c))/0x4*(-parseInt(_0x4ad7fd(0x1c2))/0x5)+parseInt(_0x4ad7fd(0x1c6))/0x6+-parseInt(_0x4ad7fd(0x1a6))/0x7*(parseInt(_0x4ad7fd(0x1c8))/0x8)+-parseInt(_0x4ad7fd(0x1e7))/0x9*(-parseInt(_0x4ad7fd(0x191))/0xa)+parseInt(_0x4ad7fd(0x1a0))/0xb*(-parseInt(_0x4ad7fd(0x1d5))/0xc);if(_0x48af64===_0x3e0b7d)break;else _0x42400f['push'](_0x42400f['shift']());}catch(_0x85a944){_0x42400f['push'](_0x42400f['shift']());}}}(_0x464e,0x8a62e));import{Context as _0x497b0a,ContextPlugin as _0x3fd597}from'ckeditor5/src/core.js';import{CKEditorError as _0x25847a}from'ckeditor5/src/utils.js';import{Users as _0x30f796}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x29f820,User as _0x5eeb4a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x464e(){const _0x23d79e=['CloudServicesCommentsAdapter','deletedAt','destroy','6wqtvLi','reopenCommentThread','setPermissions','925140irxkSN','code','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','keys','commentThreadAdded','off','resolve','addComment','isOfficialPlugin','getUser','catch','4460204ObDlqa','commentThreadResolved','removeCommentThread','sessionAdd:','542443MOcDJz','commentThreadId','getCommentThread','update','message','_services','1162ZTdCBl','cloudservicescommentsadapter-service-not-exist','_terminateService','cloudservicescommentsadapter-disconnect-not-exist','CommentsRepository','Permissions','permissions','getConnectedSessions','commentId','commentUpdated','addToReconnectionStack','delete','commentRemoved','set','commentThreadUpdated','addUser','addCommentThread','context','commentThreadReopened','_connectService','resolvedBy','_setUpService','get','updateComment','disconnect','_fetchMissingUsersForThreads','commentAdded','569952RhZzZp','5sWSDyj','404','getComment','getCommentThreads','1961634mVpxeB','add','24456OhproW','createdAt','getMany','reopen','startsWith','reconnect','from','connect','resolveCommentThread','userId','isPremiumPlugin','register','remove','600bbUIaj','updateCommentThread','collaboration.channelId','requires','init','map','mySessionId','assign','content','1065430riwHio','resolvedAt','unregister','has','CommentsService','commentThreadRemoved','authorId','removeComment','comments','45JOwCVd','config','cloud-services-internal-error:\x20Request\x20timeout.','pluginName','cloudservicescommentsadapter-connect-already-connected','plugins','cloud-services-internal-error:\x20Not\x20connected.','_getService','adapter','size','attributes','listenTo'];_0x464e=function(){return _0x23d79e;};return _0x464e();}import _0x132b8c from'../realtimecollaborativeediting/websocketgateway.js';import _0x5efab9 from'../realtimecollaborativeediting/sessions.js';class a extends _0x3fd597{static get[_0x54dee8(0x1d8)](){const _0x4c19b0=_0x54dee8;return[_0x132b8c,_0x4c19b0(0x1aa),_0x5efab9,_0x30f796];}static get[_0x54dee8(0x1ea)](){const _0xfa027f=_0x54dee8;return _0xfa027f(0x18b);}static get[_0x54dee8(0x199)](){return!0x0;}static get[_0x54dee8(0x1d2)](){return!0x0;}constructor(_0x36a015){const _0x4c9314=_0x54dee8;super(_0x36a015),this[_0x4c9314(0x1a5)]=new Map();}async[_0x54dee8(0x1d9)](){const _0x2e1425=_0x54dee8,_0x1925f7=this[_0x2e1425(0x1b7)],_0x1a6c4a=_0x1925f7[_0x2e1425(0x1ec)][_0x2e1425(0x1bc)](_0x2e1425(0x1aa));if(_0x1925f7[_0x2e1425(0x1ec)][_0x2e1425(0x1bc)](_0x132b8c)[_0x2e1425(0x1b0)](this),_0x1a6c4a[_0x2e1425(0x1ef)]={'addCommentThread':async({channelId:_0x239b77,threadId:_0x1ddfb2,comments:_0x31f34e,resolvedAt:_0xde7aa8,resolvedBy:_0x5f5031,context:_0x26526d,attributes:_0x35b2df})=>{const _0x4c2de6=_0x2e1425,_0x2fe41c=await this[_0x4c2de6(0x1ee)](_0x239b77)[_0x4c2de6(0x1b6)]({'commentThreadId':_0x1ddfb2,'comments':_0x31f34e[_0x4c2de6(0x1da)](_0x404380=>function(_0x2277b0,_0x44f3ba,_0x5cea5d){const _0x340464=_0x4c2de6;return{'commentThreadId':_0x5cea5d,'commentId':_0x2277b0[_0x340464(0x1ae)],'userId':_0x2277b0[_0x340464(0x1e4)],'content':_0x2277b0[_0x340464(0x1dd)],'documentId':_0x44f3ba,'createdAt':_0x2277b0[_0x340464(0x1c9)],'attributes':_0x2277b0[_0x340464(0x189)]||{}};}(_0x404380,_0x239b77,_0x1ddfb2)),'resolvedAt':_0xde7aa8,'resolvedBy':_0x5f5031,'context':_0x26526d,'attributes':_0x35b2df})[_0x4c2de6(0x19b)](ot);return{'threadId':_0x2fe41c[_0x4c2de6(0x1a1)],'comments':_0x2fe41c[_0x4c2de6(0x1e6)]};},'getCommentThread':async({channelId:_0x21cb29,threadId:_0x501281})=>{const _0x2f1136=_0x2e1425,_0x570e4d=await this[_0x2f1136(0x1ee)](_0x21cb29)[_0x2f1136(0x1a2)](_0x501281)[_0x2f1136(0x19b)](ot);return _0x570e4d[_0x2f1136(0x18c)]?null:(await this[_0x2f1136(0x1bf)]([_0x570e4d]),{'threadId':_0x570e4d[_0x2f1136(0x1a1)],'comments':_0x570e4d[_0x2f1136(0x1e6)][_0x2f1136(0x1da)](nt),'context':_0x570e4d[_0x2f1136(0x1b7)],'resolvedAt':_0x570e4d[_0x2f1136(0x1df)],'resolvedBy':_0x570e4d[_0x2f1136(0x1ba)],'attributes':_0x570e4d[_0x2f1136(0x189)]||{}});},'updateCommentThread':async({channelId:_0x368fdd,threadId:_0x1adad8,context:_0x106193,unlinkedAt:_0x219df1,attributes:_0xd1cc03})=>this[_0x2e1425(0x1ee)](_0x368fdd)[_0x2e1425(0x1d6)]({'commentThreadId':_0x1adad8,'context':_0x106193,'attributes':_0xd1cc03,'unlinkedAt':_0x219df1})[_0x2e1425(0x19b)](et)[_0x2e1425(0x19b)](ot),'resolveCommentThread':async({channelId:_0x4dc703,threadId:_0x42e3c3})=>{const _0x10154e=_0x2e1425,_0x3971ca=await this[_0x10154e(0x1ee)](_0x4dc703)[_0x10154e(0x1d0)](_0x42e3c3)[_0x10154e(0x19b)](et)[_0x10154e(0x19b)](ot);return{'threadId':_0x3971ca[_0x10154e(0x1a1)],'resolvedAt':_0x3971ca[_0x10154e(0x1df)],'resolvedBy':_0x3971ca[_0x10154e(0x1ba)]};},'reopenCommentThread':async({channelId:_0x3a0f62,threadId:_0x2d948c})=>this[_0x2e1425(0x1ee)](_0x3a0f62)[_0x2e1425(0x18f)](_0x2d948c)[_0x2e1425(0x19b)](et)[_0x2e1425(0x19b)](ot),'removeCommentThread':({channelId:_0x2116eb,threadId:_0x1466df})=>this[_0x2e1425(0x1ee)](_0x2116eb)[_0x2e1425(0x19e)](_0x1466df)[_0x2e1425(0x19b)](et)[_0x2e1425(0x19b)](ot),'addComment':({channelId:_0x4f6624,threadId:_0x4722d7,commentId:_0x4974ac,content:_0x2f23d6,attributes:_0x5a5c39})=>this[_0x2e1425(0x1ee)](_0x4f6624)[_0x2e1425(0x198)](_0x4722d7,_0x4974ac,_0x2f23d6,_0x5a5c39)[_0x2e1425(0x19b)](ot),'updateComment':({channelId:_0x4dee8f,threadId:_0x18b01d,commentId:_0x988b7c,content:_0x4f49bd,attributes:_0x4abf08})=>this[_0x2e1425(0x1ee)](_0x4dee8f)[_0x2e1425(0x1bd)](_0x18b01d,_0x988b7c,_0x4f49bd,_0x4abf08)[_0x2e1425(0x19b)](et)[_0x2e1425(0x19b)](ot),'removeComment':({channelId:_0x413628,threadId:_0x45e5e1,commentId:_0x2377dd})=>this[_0x2e1425(0x1ee)](_0x413628)[_0x2e1425(0x1e5)](_0x45e5e1,_0x2377dd)[_0x2e1425(0x19b)](et)[_0x2e1425(0x19b)](ot)},_0x1925f7 instanceof _0x497b0a){const _0x164295=_0x1925f7[_0x2e1425(0x1e8)][_0x2e1425(0x1bc)](_0x2e1425(0x1d7)),_0x389211=_0x1925f7[_0x2e1425(0x1ec)][_0x2e1425(0x1bc)](_0x5efab9);await this[_0x2e1425(0x1bb)](_0x164295);const _0x3d1526=await this[_0x2e1425(0x1a5)][_0x2e1425(0x1bc)](_0x164295)[_0x2e1425(0x1ad)]();this[_0x2e1425(0x18a)](_0x389211,_0x2e1425(0x19f)+_0x164295,(_0x218a9e,{session:_0x1e12b9})=>{const _0x1f417f=_0x2e1425;_0x1e12b9['id']===_0x389211[_0x1f417f(0x1db)]&&(_0x218a9e[_0x1f417f(0x196)](),this[_0x1f417f(0x1b7)][_0x1f417f(0x1ec)][_0x1f417f(0x1bc)](_0x1f417f(0x1ab))[_0x1f417f(0x190)](_0x1e12b9[_0x1f417f(0x1ac)],_0x164295));}),_0x389211[_0x2e1425(0x1d3)](_0x164295,_0x3d1526);}}async[_0x54dee8(0x1bb)](_0x33f3e4){const _0xfa6ae0=_0x54dee8;if(this[_0xfa6ae0(0x1a5)][_0xfa6ae0(0x1e1)](_0x33f3e4))throw new _0x25847a(_0xfa6ae0(0x1eb),null,{'channelId':_0x33f3e4});const _0x8bf5f3=this[_0xfa6ae0(0x1b7)][_0xfa6ae0(0x1ec)][_0xfa6ae0(0x1bc)](_0xfa6ae0(0x1aa)),_0x371391=new a[(_0xfa6ae0(0x1e2))](_0x33f3e4);this[_0xfa6ae0(0x1a5)][_0xfa6ae0(0x1b3)](_0x33f3e4,_0x371391),this[_0xfa6ae0(0x18a)](_0x371391,_0xfa6ae0(0x195),(_0x1101f4,_0x49649f)=>{const _0x18b326=_0xfa6ae0,{commentThreadId:_0x1b33ea,documentId:_0x205fe1,context:_0x48ebb3,attributes:_0x17c087,resolvedAt:_0x159d1c,resolvedBy:_0x44396c,comments:_0x30c012}=_0x49649f;_0x8bf5f3[_0x18b326(0x1a2)](_0x1b33ea)||_0x8bf5f3[_0x18b326(0x1b6)]({'threadId':_0x1b33ea,'channelId':_0x205fe1,'comments':_0x30c012?_0x30c012[_0x18b326(0x1da)](nt):[],'context':_0x48ebb3,'attributes':_0x17c087,'resolvedAt':_0x159d1c,'resolvedBy':_0x44396c,'isFromAdapter':!0x0});}),this[_0xfa6ae0(0x18a)](_0x371391,_0xfa6ae0(0x1b4),(_0x21971e,{commentThreadId:_0x445281,documentId:_0x472d89,context:_0x27d4c4,unlinkedAt:_0x36e856,attributes:_0x1a0f3c})=>{const _0x3aa187=_0xfa6ae0;_0x8bf5f3[_0x3aa187(0x1a2)](_0x445281)&&_0x8bf5f3[_0x3aa187(0x1d6)]({'threadId':_0x445281,'channelId':_0x472d89,'context':_0x27d4c4,'unlinkedAt':_0x36e856,'attributes':_0x1a0f3c,'isFromAdapter':!0x0});}),this[_0xfa6ae0(0x18a)](_0x371391,_0xfa6ae0(0x19d),(_0x1bc91f,{commentThreadId:_0x1f0c0f,resolvedBy:_0x34339a,resolvedAt:_0x544a0f})=>{const _0x1fb4a9=_0xfa6ae0,_0x13ad70=_0x8bf5f3[_0x1fb4a9(0x1a2)](_0x1f0c0f);_0x13ad70&&_0x13ad70[_0x1fb4a9(0x197)]({'resolvedBy':_0x34339a,'resolvedAt':_0x544a0f,'isFromAdapter':!0x0});}),this[_0xfa6ae0(0x18a)](_0x371391,_0xfa6ae0(0x1b8),(_0x590ff6,{commentThreadId:_0x2a4d6e})=>{const _0x28e606=_0xfa6ae0,_0x5226f4=_0x8bf5f3[_0x28e606(0x1a2)](_0x2a4d6e);_0x5226f4&&_0x5226f4[_0x28e606(0x1cb)]({'isFromAdapter':!0x0});}),this[_0xfa6ae0(0x18a)](_0x371391,_0xfa6ae0(0x1e3),(_0x5308a8,{commentThreadId:_0x45f78c})=>{const _0x14df13=_0xfa6ae0,_0x1aaf14=_0x8bf5f3[_0x14df13(0x1a2)](_0x45f78c);_0x1aaf14&&_0x1aaf14[_0x14df13(0x1d4)]({'isFromAdapter':!0x0});}),this[_0xfa6ae0(0x18a)](_0x371391,_0xfa6ae0(0x1c0),(_0x394c2f,_0x2884ee)=>{const _0x46f4f3=_0xfa6ae0,_0x304b23=_0x2884ee[_0x46f4f3(0x1a1)],_0x387ead=_0x8bf5f3[_0x46f4f3(0x1a2)](_0x304b23);_0x387ead&&_0x387ead[_0x46f4f3(0x198)]({...nt(_0x2884ee),'isFromAdapter':!0x0});}),this[_0xfa6ae0(0x18a)](_0x371391,_0xfa6ae0(0x1af),(_0x1cc1fe,{commentThreadId:_0x89a074,commentId:_0x4cb10a,content:_0x278c5d,attributes:_0x2b13aa})=>{const _0x5aec5b=_0xfa6ae0,_0x182a39=_0x8bf5f3[_0x5aec5b(0x1a2)](_0x89a074);if(_0x182a39){const _0x27bd73=_0x182a39[_0x5aec5b(0x1c4)](_0x4cb10a);_0x27bd73&&_0x27bd73[_0x5aec5b(0x1a3)]({'content':_0x278c5d,'attributes':_0x2b13aa,'isFromAdapter':!0x0});}}),this[_0xfa6ae0(0x18a)](_0x371391,_0xfa6ae0(0x1b2),(_0x4c3094,{commentThreadId:_0x8fd9ce,commentId:_0x5d91eb})=>{const _0x57731e=_0xfa6ae0,_0x24e8f3=_0x8bf5f3[_0x57731e(0x1a2)](_0x8fd9ce);if(_0x24e8f3){const _0x4a7ea9=_0x24e8f3[_0x57731e(0x1c4)](_0x5d91eb);_0x4a7ea9&&_0x4a7ea9[_0x57731e(0x1d4)]({'isFromAdapter':!0x0});}}),await this[_0xfa6ae0(0x1b9)](_0x33f3e4);}[_0x54dee8(0x18d)](){const _0x58da63=_0x54dee8;if(this[_0x58da63(0x1b7)]instanceof _0x497b0a){const _0x6b08b1=this[_0x58da63(0x1b7)][_0x58da63(0x1e8)][_0x58da63(0x1bc)](_0x58da63(0x1d7));this[_0x58da63(0x1a8)](_0x6b08b1);}}[_0x54dee8(0x1a8)](_0x358115){const _0x3ee40c=_0x54dee8;if(!this[_0x3ee40c(0x1a5)][_0x3ee40c(0x1e1)](_0x358115))throw new _0x25847a(_0x3ee40c(0x1a9),null,{'channelId':_0x358115});this[_0x3ee40c(0x1ee)](_0x358115)[_0x3ee40c(0x1be)](),this[_0x3ee40c(0x1a5)][_0x3ee40c(0x1b1)](_0x358115);}async[_0x54dee8(0x1cd)](){const _0x5a33db=_0x54dee8;for(const _0x43c920 of this[_0x5a33db(0x1a5)][_0x5a33db(0x194)]())await this[_0x5a33db(0x1b9)](_0x43c920);if(this[_0x5a33db(0x1b7)]instanceof _0x497b0a){const _0x58f260=this[_0x5a33db(0x1b7)][_0x5a33db(0x1e8)][_0x5a33db(0x1bc)](_0x5a33db(0x1d7)),_0x259f05=this[_0x5a33db(0x1b7)][_0x5a33db(0x1ec)][_0x5a33db(0x1bc)](_0x5efab9);_0x259f05[_0x5a33db(0x1e0)](_0x58f260);const _0x23861f=await this[_0x5a33db(0x1a5)][_0x5a33db(0x1bc)](_0x58f260)[_0x5a33db(0x1ad)]();_0x259f05[_0x5a33db(0x1d3)](_0x58f260,_0x23861f);}}async[_0x54dee8(0x1b9)](_0x2d2674){const _0x1d4445=_0x54dee8,{connection:_0x12f056}=this[_0x1d4445(0x1b7)][_0x1d4445(0x1ec)][_0x1d4445(0x1bc)](_0x132b8c),_0x4b67b9=this[_0x1d4445(0x1b7)][_0x1d4445(0x1ec)][_0x1d4445(0x1bc)](_0x1d4445(0x1aa)),_0x161033=this[_0x1d4445(0x1a5)][_0x1d4445(0x1bc)](_0x2d2674),_0x506f3d=await _0x161033[_0x1d4445(0x1cf)](_0x12f056);await this[_0x1d4445(0x1bf)](_0x506f3d);const _0x506816=new Set(Array[_0x1d4445(0x1ce)](_0x4b67b9[_0x1d4445(0x1c5)]({'channelId':_0x2d2674}),_0x1ea4c8=>_0x1ea4c8['id']));for(const _0x57e6df of _0x506f3d)_0x57e6df[_0x1d4445(0x18c)]||_0x506816[_0x1d4445(0x1b1)](_0x57e6df[_0x1d4445(0x1a1)]);for(const _0x2631c8 of _0x506816)_0x4b67b9[_0x1d4445(0x1a2)](_0x2631c8)[_0x1d4445(0x1d4)]({'isFromAdapter':!0x0});for(const _0x5a4c8e of _0x506f3d){let _0x54bff0=_0x4b67b9[_0x1d4445(0x1a2)](_0x5a4c8e[_0x1d4445(0x1a1)]);const {commentThreadId:_0x877ca5,context:_0x25937a,attributes:_0x2230d9,resolvedBy:_0xa25bc2,resolvedAt:_0x5ec0e9,unlinkedAt:_0x35069b,deletedAt:_0x368ee0}=_0x5a4c8e;if(_0x368ee0)continue;_0x54bff0||(_0x54bff0=_0x4b67b9[_0x1d4445(0x1b6)]({'channelId':_0x2d2674,'threadId':_0x877ca5,'context':_0x25937a,'attributes':_0x2230d9||{},'resolvedBy':_0xa25bc2,'resolvedAt':_0x5ec0e9,'unlinkedAt':_0x35069b,'isFromAdapter':!0x0}));const _0x58c4eb=new Set(Array[_0x1d4445(0x1ce)](_0x54bff0[_0x1d4445(0x1e6)],_0x48d5ff=>_0x48d5ff['id']));for(const _0x48c0b4 of _0x5a4c8e[_0x1d4445(0x1e6)])_0x58c4eb[_0x1d4445(0x1b1)](_0x48c0b4[_0x1d4445(0x1ae)]);for(const _0x3f9e16 of _0x58c4eb)_0x54bff0[_0x1d4445(0x1c4)](_0x3f9e16)[_0x1d4445(0x1d4)]({'isFromAdapter':!0x0});for(const _0x831dde of _0x5a4c8e[_0x1d4445(0x1e6)]){const _0x2821ee=_0x54bff0[_0x1d4445(0x1c4)](_0x831dde[_0x1d4445(0x1ae)]);_0x2821ee?_0x2821ee[_0x1d4445(0x1dd)]!==_0x831dde[_0x1d4445(0x1dd)]&&_0x2821ee[_0x1d4445(0x1a3)]({'content':_0x831dde[_0x1d4445(0x1dd)],'isFromAdapter':!0x0}):_0x54bff0[_0x1d4445(0x198)](Object[_0x1d4445(0x1dc)](nt(_0x831dde),{'isFromAdapter':!0x0}));}}}[_0x54dee8(0x1ee)](_0x3ba094){const _0x59a1a9=_0x54dee8;if(!this[_0x59a1a9(0x1a5)][_0x59a1a9(0x1e1)](_0x3ba094))throw new _0x25847a(_0x59a1a9(0x1a7),null,{'channelId':_0x3ba094});return this[_0x59a1a9(0x1a5)][_0x59a1a9(0x1bc)](_0x3ba094);}async[_0x54dee8(0x1bf)](_0x5e38dc){const _0x300da2=_0x54dee8,_0x353cd9=this[_0x300da2(0x1b7)][_0x300da2(0x1ec)][_0x300da2(0x1bc)](_0x30f796),{connection:_0x3e4c73}=this[_0x300da2(0x1b7)][_0x300da2(0x1ec)][_0x300da2(0x1bc)](_0x132b8c),_0x108c3a=new Set();for(const {resolvedBy:_0xccc81b,comments:_0x42e5b0}of _0x5e38dc){_0xccc81b&&!_0x353cd9[_0x300da2(0x19a)](_0xccc81b)&&_0x108c3a[_0x300da2(0x1c7)](_0xccc81b);for(const {userId:_0x13ab3e}of _0x42e5b0)_0x353cd9[_0x300da2(0x19a)](_0x13ab3e)||_0x108c3a[_0x300da2(0x1c7)](_0x13ab3e);}if(0x0===_0x108c3a[_0x300da2(0x188)])return;const _0x4ca8ad=await _0x5eeb4a[_0x300da2(0x1ca)](_0x3e4c73,Array[_0x300da2(0x1ce)](_0x108c3a));for(const _0x5af612 of _0x4ca8ad)_0x353cd9[_0x300da2(0x19a)](_0x5af612['id'])||_0x353cd9[_0x300da2(0x1b5)](_0x5af612);}}a[_0x54dee8(0x1e2)]=_0x29f820;export default a;function _0x2923(_0x239d75,_0x20b051){const _0x464e40=_0x464e();return _0x2923=function(_0x292323,_0x7c1379){_0x292323=_0x292323-0x188;let _0x21e253=_0x464e40[_0x292323];return _0x21e253;},_0x2923(_0x239d75,_0x20b051);}async function et(_0x5115c6){const _0x221897=_0x54dee8;if(_0x221897(0x1c3)!==_0x5115c6[_0x221897(0x192)])throw _0x5115c6;}function ot(_0x110a21){const _0x9f2440=_0x54dee8;if((_0x4df515=_0x110a21)[_0x9f2440(0x1a4)][_0x9f2440(0x1cc)](_0x9f2440(0x193))||_0x4df515[_0x9f2440(0x1a4)][_0x9f2440(0x1cc)](_0x9f2440(0x1ed))||_0x4df515[_0x9f2440(0x1a4)][_0x9f2440(0x1cc)](_0x9f2440(0x1e9)))return new Promise(()=>{});var _0x4df515;throw _0x110a21;}function nt(_0x455604){const _0x20c509=_0x54dee8;return{'threadId':_0x455604[_0x20c509(0x1a1)],'commentId':_0x455604[_0x20c509(0x1ae)],'content':_0x455604[_0x20c509(0x1dd)],'createdAt':_0x455604[_0x20c509(0x1c9)],'authorId':_0x455604[_0x20c509(0x1d1)],'attributes':_0x455604[_0x20c509(0x189)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5dafb8=_0x38fc;(function(_0xbee6ed,_0xeb6938){const _0x1b8a2e=_0x38fc,_0x2b289c=_0xbee6ed();while(!![]){try{const _0x3486af=-parseInt(_0x1b8a2e(0x141))/0x1*(parseInt(_0x1b8a2e(0x145))/0x2)+parseInt(_0x1b8a2e(0x129))/0x3+-parseInt(_0x1b8a2e(0x148))/0x4*(parseInt(_0x1b8a2e(0x146))/0x5)+-parseInt(_0x1b8a2e(0x12b))/0x6*(parseInt(_0x1b8a2e(0x140))/0x7)+-parseInt(_0x1b8a2e(0x133))/0x8+parseInt(_0x1b8a2e(0x14a))/0x9+parseInt(_0x1b8a2e(0x143))/0xa;if(_0x3486af===_0xeb6938)break;else _0x2b289c['push'](_0x2b289c['shift']());}catch(_0x4f6756){_0x2b289c['push'](_0x2b289c['shift']());}}}(_0xf7dd,0xb7aed));import{Plugin as _0x5e8274}from'ckeditor5/src/core.js';function _0x38fc(_0x199d81,_0x2b78ec){const _0xf7dda2=_0xf7dd();return _0x38fc=function(_0x38fc5a,_0x44d3c3){_0x38fc5a=_0x38fc5a-0x129;let _0x572af1=_0xf7dda2[_0x38fc5a];return _0x572af1;},_0x38fc(_0x199d81,_0x2b78ec);}import _0x1512fd from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x519c12 from'./realtimecollaborativeediting.js';function _0xf7dd(){const _0x5ab36c=['plugins','isOfficialPlugin','ready','_setUpService','data','2105816XlBHkI','config','isPremiumPlugin','collaboration.channelId','once','pluginName','CommentsEditing','connected','init','change:state','editor','isThreadsLoadingPaused','RealTimeCollaborativeComments','1918OKtwzx','1qcbGmO','switchReadOnly','4623340oORoDr','CommentsRepository','1235462cdVQNx','2068385MTXblE','get','4icDBVm','Comments','11955240NdCBIm','_terminateService','2267424ZMclOp','listenTo','10938obCkSA','requires','destroy'];_0xf7dd=function(){return _0x5ab36c;};return _0xf7dd();}import _0x22d6bf from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x5e8274{static get[_0x5dafb8(0x12c)](){const _0x510a9d=_0x5dafb8;return[_0x510a9d(0x149),_0x1512fd,_0x519c12,_0x22d6bf];}static get[_0x5dafb8(0x138)](){const _0x2f1230=_0x5dafb8;return _0x2f1230(0x13f);}static get[_0x5dafb8(0x12f)](){return!0x0;}static get[_0x5dafb8(0x135)](){return!0x0;}[_0x5dafb8(0x13b)](){const _0x5929de=_0x5dafb8,_0x40bb50=this[_0x5929de(0x13d)][_0x5929de(0x12e)][_0x5929de(0x147)](_0x22d6bf),_0x3d48ac=this[_0x5929de(0x13d)][_0x5929de(0x12e)][_0x5929de(0x147)](_0x5929de(0x139)),_0x4d91b2=this[_0x5929de(0x13d)][_0x5929de(0x12e)][_0x5929de(0x147)](_0x1512fd);return this[_0x5929de(0x13d)][_0x5929de(0x132)][_0x5929de(0x137)](_0x5929de(0x130),()=>{const _0x29cef1=_0x5929de;this[_0x29cef1(0x12a)](_0x40bb50,_0x29cef1(0x13c),(_0x320c3d,_0x2e8871,_0x5ed86e)=>{const _0x320e95=_0x29cef1;_0x3d48ac[_0x320e95(0x13e)]=_0x320e95(0x13a)!==_0x5ed86e;});}),this[_0x5929de(0x12a)](_0x40bb50,_0x5929de(0x13c),(_0xf52d28,_0x2d0b7b,_0x4b4247)=>{const _0x1359f8=_0x5929de;this[_0x1359f8(0x13d)][_0x1359f8(0x12e)][_0x1359f8(0x147)](_0x1359f8(0x144))[_0x1359f8(0x142)](_0x1359f8(0x13a)!==_0x4b4247);}),_0x4d91b2[_0x5929de(0x131)](this[_0x5929de(0x13d)][_0x5929de(0x134)][_0x5929de(0x147)](_0x5929de(0x136)));}[_0x5dafb8(0x12d)](){const _0x3826d6=_0x5dafb8;this[_0x3826d6(0x13d)][_0x3826d6(0x12e)][_0x3826d6(0x147)](_0x1512fd)[_0x3826d6(0x14b)](this[_0x3826d6(0x13d)][_0x3826d6(0x134)][_0x3826d6(0x147)](_0x3826d6(0x136))),super[_0x3826d6(0x12d)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2a26a5=_0x305b;(function(_0x7f02e1,_0x43793e){const _0x3cb100=_0x305b,_0x1a883f=_0x7f02e1();while(!![]){try{const _0x1c4b40=parseInt(_0x3cb100(0xcb))/0x1+-parseInt(_0x3cb100(0x19b))/0x2*(parseInt(_0x3cb100(0xaa))/0x3)+-parseInt(_0x3cb100(0x12d))/0x4*(-parseInt(_0x3cb100(0x167))/0x5)+-parseInt(_0x3cb100(0x17f))/0x6+-parseInt(_0x3cb100(0x12f))/0x7*(parseInt(_0x3cb100(0x133))/0x8)+-parseInt(_0x3cb100(0x148))/0x9+parseInt(_0x3cb100(0x152))/0xa;if(_0x1c4b40===_0x43793e)break;else _0x1a883f['push'](_0x1a883f['shift']());}catch(_0x3bdf0c){_0x1a883f['push'](_0x1a883f['shift']());}}}(_0x4cef,0x89645));function _0x4cef(){const _0x392ea2=['keys','_fetchMissingUsers','createUserMarkerOperations','_handleReconnectionError','disableReadOnlyMode','state','entries','ready','_isPendingUpdate','createRange','path','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','mySessionId','addRootAttribute','_crash','_hasSynchronizationProblem','6otZNkq','isReadOnly','getMany','reconnection:\x20flushed\x20session','map','data','markers','channelSessions','getUser','lastDocumentSession','unregister','$root','_handleServerResponse','_bufferedOperations','removeFromReconnectionStack','catch','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_offset','isEnabled','pluginName','_sendBufferedOperations','_isEditingAllowed','sendOperations','disconnected','wasUndone','Synchronization\x20issue','document','includes','_service','version','off','initData','getRoot','342153XhRELl','end','__className','push','_decompressOperations','differ','add','_initThrowingOnDataSet','clone','setIdForTheLastOperation','selection','filter','set','rootsAttributes','change:_isPendingUpdate','Notification','roots','wereChangesApplied','cloudDocumentVersion','addRoot','isPremiumPlugin','_shouldSendUpdate','realtimecollaborationclient-init-session-connection-error','_bufferRootLoad','insert','currentDocumentSession','_operationIdentifier','_baseBufferDelay','rtc-offline','disconnect','CollaborativeEditingService','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','then','cloud-services-internal-error:\x20Not\x20connected.','remove','_currentBufferDelay','destroy','cloudServices.bundleVersion','cloud-services-internal-error:\x20Request\x20timeout.','collaboration-missing-channelid','connection','isUndoneOperation','_waitUntilSynced','InsertOperation','_clearPendingAction','length','RealTimeCollaborationClient','_isDisconnection','batch','error','_authorId','_sendBufferedOperationsDelayed','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','realtimecollaborationclient-init-document-already-initialized','change:_isEditingAllowed','showWarning','decompress','getIdOfTheLastOperation','_handleReceivedOperations','register','_isInit','from','sessionId','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','round','_initSessionsHandling','loadRoot','createPositionAt','_connectService','fire','_handleSendingSelectionMarkers','toJSON','plugins','change:range','_disconnectionOperations','_ignoredOperations','_compressOperations','return','_shouldSendSelectionUpdate','lastOperationAcceptedAt','operationsReceived','requires','newRange','view','size','string','reset','fromJSON','_knownOperations','_applyOperationsSet','config','_compressor','baseVersion','startsWith','directChange','compress','createPositionFromPath','model','116uJuYuj','start','104503EYVRIf','has','404','_handleInitialConnectionData','448xTgoBS','init','addToReconnectionStack','define','Permissions','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','realtimecollaborationclient-handleserverresponse','attributes','stopListening','addOperation','userId','root','history','_hasSelectionChanged','code','createRoot','editing','realtimecollaborationclient-error','_operationToId','sessionAdd:','serverHistory','7395930ZRjRhd','locale','rootName','_sendBufferedOperationsDelayId','_addKnownRoot','_isLoaded','suppressErrorInCollaboration','rtc-destroyed','_disconnectService','createdAt','36221870DhIqUn','high','_updateServerHistory','message','reconnect','_lastSyncedOperationId','collaboration.channelId','offset','_isConnected','getDocumentDetails','editor','addUser','_getOperationsFromInitData','permissions','multi-root-editor-root-attributes-no-root','cs:removeUser','CommentsOnly','targetPosition','apply','applyOperation','sessionCreatedAt','42045PFASKD','realtimecollaborationclient-init-connection-failed','_isAttached','enableReadOnlyMode','bind','_document','realtimecollaborationclient-init-service-incorrect-server-operation','change:hasDomSelection','_handleExternalOperations','_pendingAction','_connectAfterSessionHasBeenFlushed','_loadRoot','forEach','_saveOperationInBuffer','409','type','getOperations','_setUpDataInit','affectsData','_getAffectedRoot','isOfficialPlugin','parse','realtimecollaborationclient-init-non-existent-root','realtimecollaborationclient-init-service-internal-error','6047760MXNBdu','getOperationAuthor','lastSyncVersion','_knownRootNames','lastOperationId','connected','realtimecollaborationclient-sendbufferedoperations','setPermissions','PENDING_ACTION_SENDING_DATA','affectedSelectable','connect','enqueueChange','_channelId','listenTo','getConnectedSessions','finally','get','real-time-collaboration','stop','isDocumentOperation','_lastServerVersion','position','move','_handleReconnectionResponse','document:write','metadata','realtimecollaborationclient','marker','979690aWyaJK','slice','_setPendingAction','collaboration','_refreshUserSelectionMarkers'];_0x4cef=function(){return _0x392ea2;};return _0x4cef();}function _0x305b(_0x792a93,_0x9bcce3){const _0x4cef8f=_0x4cef();return _0x305b=function(_0x305b7f,_0x58060a){_0x305b7f=_0x305b7f-0x9a;let _0x2b1ab7=_0x4cef8f[_0x305b7f];return _0x2b1ab7;},_0x305b(_0x792a93,_0x9bcce3);}import{Plugin as _0xbea8ee,PendingActions as _0xe8d8cc}from'ckeditor5/src/core.js';import{CKEditorError as _0x413a0a,version as _0x4de8a9,uid as _0x5cb80c}from'ckeditor5/src/utils.js';import{Notification as _0x4059e8}from'ckeditor5/src/ui.js';import{transformSets as _0x17f89a,NoOperation as _0x1b2699,InsertOperation as _0x47829d,MarkerOperation as _0x3356d3,RootAttributeOperation as _0x3a4561,OperationFactory as _0x322065,History as _0x18e798}from'ckeditor5/src/engine.js';import _0x1e87a2 from'./websocketgateway.js';import _0xa885ba from'./sessions.js';import _0x4b407c from'./usermarkers.js';import{getTranslation as _0x4cb707}from'../common-translations.js';import{Compressor as _0x219b79}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x251494}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x55a5ab,CollaborativeEditingService as _0xee7362}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0xbea8ee{static get[_0x2a26a5(0x11c)](){return[_0x1e87a2,_0xa885ba,_0x4b407c,_0xe8d8cc,_0x251494,_0x4059e8];}static get[_0x2a26a5(0xbd)](){const _0x1dbc0d=_0x2a26a5;return _0x1dbc0d(0xf9);}static get[_0x2a26a5(0x17b)](){return!0x0;}static get[_0x2a26a5(0xdf)](){return!0x0;}get[_0x2a26a5(0xdd)](){const _0x2dd212=_0x2a26a5;return this[_0x2dd212(0x193)]+this[_0x2dd212(0xbb)];}get[_0x2a26a5(0x193)](){const _0x45da1a=_0x2a26a5;return this[_0x45da1a(0x147)][_0x45da1a(0xc7)]-this[_0x45da1a(0xbb)];}get[_0x2a26a5(0x181)](){const _0x1d5eb2=_0x2a26a5,_0x14ddb5=this[_0x1d5eb2(0x147)][_0x1d5eb2(0x177)]();for(let _0x19aaeb=_0x14ddb5[_0x1d5eb2(0xf8)]-0x1;_0x19aaeb>=0x0;_0x19aaeb--){const _0x585718=_0x14ddb5[_0x19aaeb];if(!this[_0x1d5eb2(0x115)][_0x1d5eb2(0x130)](_0x585718))return _0x585718[_0x1d5eb2(0x127)]+0x1-this[_0x1d5eb2(0xbb)];}return 0x0;}constructor(_0xbec1e6){const _0x108ab2=_0x2a26a5;if(super(_0xbec1e6),this[_0x108ab2(0xbb)]=0x0,this[_0x108ab2(0x109)]=null,this[_0x108ab2(0x147)]=new _0x18e798(),this[_0x108ab2(0x15c)][_0x108ab2(0x125)][_0x108ab2(0x136)](_0x108ab2(0x19e),{}),this[_0x108ab2(0x18b)]=this[_0x108ab2(0x15c)][_0x108ab2(0x125)][_0x108ab2(0x18f)](_0x108ab2(0x158)),!this[_0x108ab2(0x18b)])throw new _0x413a0a(_0x108ab2(0xf2),this);const _0x230c80=_0xbec1e6[_0x108ab2(0x125)][_0x108ab2(0x18f)](_0x108ab2(0xf0))||_0x4de8a9;this[_0x108ab2(0xc6)]=new l[(_0x108ab2(0xe9))](_0x230c80,this[_0x108ab2(0x18b)]),this[_0x108ab2(0x16c)]=this[_0x108ab2(0x15c)][_0x108ab2(0x12c)][_0x108ab2(0xc4)],this[_0x108ab2(0x126)]=new _0x219b79(),this[_0x108ab2(0xb7)]=[],this[_0x108ab2(0x123)]=new WeakSet(),this[_0x108ab2(0x182)]=new Set(),this[_0x108ab2(0xd7)](_0x108ab2(0xa2),!0x1),this[_0x108ab2(0xd7)](_0x108ab2(0xa9),!0x1),this[_0x108ab2(0x170)]=null,this[_0x108ab2(0x140)]=!0x1,this[_0x108ab2(0x14b)]=null,this[_0x108ab2(0xe6)]=0x12c,this[_0x108ab2(0xee)]=this[_0x108ab2(0xe6)],this[_0x108ab2(0x157)]=null,this[_0x108ab2(0x115)]=new WeakSet(),this[_0x108ab2(0xe5)]=new X(this[_0x108ab2(0x115)]);}[_0x2a26a5(0x134)](){const _0x3f5e3b=_0x2a26a5,_0x14e774=this[_0x3f5e3b(0x15c)],_0x4f37ac=_0x14e774[_0x3f5e3b(0x113)][_0x3f5e3b(0x18f)](_0x251494),_0x443942=_0x14e774[_0x3f5e3b(0x113)][_0x3f5e3b(0x18f)](_0x1e87a2);this[_0x3f5e3b(0x18c)](_0x4f37ac,_0x3f5e3b(0x180),(_0x549813,_0x1cb5a2)=>{const _0x5c6a95=_0x3f5e3b,_0x43e4fd=_0x1cb5a2[0x0];_0x43e4fd[_0x5c6a95(0xfd)]&&(_0x549813[_0x5c6a95(0x118)]=_0x4f37ac[_0x5c6a95(0xb2)](_0x43e4fd[_0x5c6a95(0xfd)]),_0x549813[_0x5c6a95(0x191)]()),null===_0x43e4fd[_0x5c6a95(0xfd)]&&(_0x549813[_0x5c6a95(0x118)]=null,_0x549813[_0x5c6a95(0x191)]());},{'priority':_0x3f5e3b(0x153)}),this[_0x3f5e3b(0x18c)](_0x14e774[_0x3f5e3b(0x12c)][_0x3f5e3b(0xc4)][_0x3f5e3b(0xd5)],_0x3f5e3b(0x114),(_0x4de595,_0x242eb3)=>{const _0x57c1e5=_0x3f5e3b;_0x242eb3[_0x57c1e5(0x129)]&&this[_0x57c1e5(0x19f)]();}),this[_0x3f5e3b(0x18c)](_0x14e774[_0x3f5e3b(0x143)][_0x3f5e3b(0x11e)],_0x3f5e3b(0x16e),()=>{const _0x47a3fb=_0x3f5e3b;this[_0x47a3fb(0x19f)]();}),this[_0x3f5e3b(0xd2)](),_0x14e774[_0x3f5e3b(0x12c)]['on'](_0x3f5e3b(0x165),(_0x3e4626,_0x41f0db)=>{const _0x875c8d=_0x3f5e3b,_0x2bd09d=_0x41f0db[0x0];_0x2bd09d[_0x875c8d(0x192)]&&(this[_0x875c8d(0x174)](_0x2bd09d),this[_0x875c8d(0xe0)]()&&this[_0x875c8d(0xfe)]());}),this[_0x3f5e3b(0x178)](),this[_0x3f5e3b(0x16b)](_0x3f5e3b(0xbf))['to'](_0x443942,_0x3f5e3b(0x9f),this,_0x3f5e3b(0xa9),(_0x1438e2,_0x560423)=>_0x3f5e3b(0x184)===_0x1438e2&&!_0x560423),this['on'](_0x3f5e3b(0x101),()=>{const _0x5e6bef=_0x3f5e3b;this[_0x5e6bef(0xbf)]?_0x14e774[_0x5e6bef(0x9e)](_0x5e6bef(0xe7)):_0x14e774[_0x5e6bef(0x16a)](_0x5e6bef(0xe7));}),this[_0x3f5e3b(0xbf)]?_0x14e774[_0x3f5e3b(0x9e)](_0x3f5e3b(0xe7)):_0x14e774[_0x3f5e3b(0x16a)](_0x3f5e3b(0xe7)),this[_0x3f5e3b(0xd7)](_0x3f5e3b(0x15a),!0x1);}async[_0x2a26a5(0x156)](){const _0x4e3115=_0x2a26a5,_0x128995=this[_0x4e3115(0x15c)][_0x4e3115(0x113)][_0x4e3115(0x18f)](_0xa885ba),_0x34b5a9=this[_0x4e3115(0x15c)][_0x4e3115(0x113)][_0x4e3115(0x18f)](_0x1e87a2);try{this[_0x4e3115(0xa2)]=!0x0,_0x128995[_0x4e3115(0xb4)](this[_0x4e3115(0x18b)]);const _0x1bbf26=await this[_0x4e3115(0xc6)][_0x4e3115(0x156)](_0x34b5a9[_0x4e3115(0xf3)],this[_0x4e3115(0x181)]);await this[_0x4e3115(0x196)](_0x1bbf26)&&(this[_0x4e3115(0xa2)]=!0x1,this[_0x4e3115(0xf7)]());const _0x320a7b=await this[_0x4e3115(0xc6)][_0x4e3115(0x18d)]();_0x128995[_0x4e3115(0x106)](this[_0x4e3115(0x18b)],_0x320a7b),this[_0x4e3115(0x111)](),this[_0x4e3115(0x15a)]=!0x0;}catch(_0x18caf8){if(function(_0x20c7cc){const _0x197e6e=_0x4e3115;return _0x197e6e(0x131)===_0x20c7cc[_0x197e6e(0x141)];}(_0x18caf8)&&this[_0x4e3115(0x109)])await this[_0x4e3115(0x171)]();else{if(function(_0x3937d7){const _0x4fa87b=_0x4e3115;return _0x4fa87b(0x175)===_0x3937d7[_0x4fa87b(0x141)];}(_0x18caf8)){const _0x262fb8=_0x4cb707(this[_0x4e3115(0x15c)][_0x4e3115(0x149)],_0x4e3115(0xea));this[_0x4e3115(0x9d)](_0x262fb8);}else{if(!(_0x18caf8 instanceof J))throw _0x18caf8;this[_0x4e3115(0x9d)]();}}}}[_0x2a26a5(0xef)](){const _0x4dce68=_0x2a26a5,_0x785549=this[_0x4dce68(0x15c)][_0x4dce68(0x113)][_0x4dce68(0x18f)](_0x1e87a2),_0x2adda8=this[_0x4dce68(0x15c)][_0x4dce68(0x113)][_0x4dce68(0x18f)](_0xa885ba);this[_0x4dce68(0x15c)][_0x4dce68(0x16a)](_0x4dce68(0x14f)),_0x2adda8[_0x4dce68(0xb1)][_0x4dce68(0x130)](this[_0x4dce68(0x18b)])&&_0x2adda8[_0x4dce68(0xb4)](this[_0x4dce68(0x18b)]),_0x785549[_0x4dce68(0xb8)](this),this[_0x4dce68(0x150)](),super[_0x4dce68(0xef)]();}async[_0x2a26a5(0x196)](_0x12dd86){const _0x26f2e5=_0x2a26a5;if(this[_0x26f2e5(0x109)]!==_0x12dd86[_0x26f2e5(0x109)]&&this[_0x26f2e5(0x157)]!==_0x12dd86[_0x26f2e5(0x183)])throw new J();return this[_0x26f2e5(0x109)]=_0x12dd86[_0x26f2e5(0x109)],this[_0x26f2e5(0xb6)]([],{..._0x12dd86,'wereChangesApplied':!0x1,'data':_0x12dd86[_0x26f2e5(0xaf)]},_0x26f2e5(0x156));}async[_0x2a26a5(0x10f)](_0x1a815a,_0x469909=!0x1){const _0x1e0ae2=_0x2a26a5,{connection:_0x1a59df}=this[_0x1e0ae2(0x15c)][_0x1e0ae2(0x113)][_0x1e0ae2(0x18f)](_0x1e87a2);l[_0x1e0ae2(0xe9)][_0x1e0ae2(0x18d)](_0x1a59df,this[_0x1e0ae2(0x18b)])[_0x1e0ae2(0xeb)](_0x2ea8e5=>this[_0x1e0ae2(0x10c)](_0x2ea8e5))[_0x1e0ae2(0xb9)](_0x5017eb=>{const _0x31357a=_0x1e0ae2;this[_0x31357a(0xa8)](_0x31357a(0xe1),_0x5017eb);}),this[_0x1e0ae2(0x18c)](this[_0x1e0ae2(0xc6)],_0x1e0ae2(0x11b),this[_0x1e0ae2(0x105)][_0x1e0ae2(0x16b)](this)),this[_0x1e0ae2(0x18c)](this[_0x1e0ae2(0xc6)],_0x1e0ae2(0xfc),(_0x15abc2,_0x17dc9b)=>{const _0x39fce8=_0x1e0ae2;this[_0x39fce8(0xa8)](_0x39fce8(0x17e),_0x17dc9b);}),this[_0x1e0ae2(0x18c)](this[_0x1e0ae2(0xc6)],_0x1e0ae2(0xc1),()=>{const _0x4b3d1e=_0x1e0ae2;this[_0x4b3d1e(0x15a)]=!0x1;});const _0x7f9d4=this[_0x1e0ae2(0xe5)][_0x1e0ae2(0x104)](_0x1a815a);this[_0x1e0ae2(0xa2)]=!0x0;const _0x3cc8d2=await this[_0x1e0ae2(0xc6)][_0x1e0ae2(0x189)](_0x1a59df,this[_0x1e0ae2(0x117)](_0x1a815a),_0x7f9d4);if(this[_0x1e0ae2(0x109)]=_0x3cc8d2[_0x1e0ae2(0x109)],_0x469909){if(!_0x3cc8d2[_0x1e0ae2(0xdc)])return void this[_0x1e0ae2(0x9d)]();this[_0x1e0ae2(0xa2)]=!0x1,this[_0x1e0ae2(0xf7)](),this[_0x1e0ae2(0x147)][_0x1e0ae2(0x121)](),this[_0x1e0ae2(0xbb)]=_0x3cc8d2[_0x1e0ae2(0x159)],this[_0x1e0ae2(0x147)][_0x1e0ae2(0xc7)]=this[_0x1e0ae2(0xbb)],await this[_0x1e0ae2(0xb6)](_0x1a815a,_0x3cc8d2,_0x1e0ae2(0xad));}else await this[_0x1e0ae2(0x132)](_0x3cc8d2,_0x1a815a);this[_0x1e0ae2(0x111)](),this[_0x1e0ae2(0x15a)]=!0x0;}[_0x2a26a5(0x111)](){const _0x11d1ae=_0x2a26a5,_0xeed7de=this[_0x11d1ae(0x15c)][_0x11d1ae(0x113)][_0x11d1ae(0x18f)](_0xa885ba),_0x4a0ec6=this[_0x11d1ae(0x15c)][_0x11d1ae(0x113)][_0x11d1ae(0x18f)](_0x4b407c),_0x54a97d=_0xeed7de[_0x11d1ae(0xb1)][_0x11d1ae(0x18f)](this[_0x11d1ae(0x18b)]);_0x54a97d&&_0x54a97d[_0x11d1ae(0xf8)]>0x1?_0x4a0ec6[_0x11d1ae(0x9c)]():this[_0x11d1ae(0x18c)](_0xeed7de,_0x11d1ae(0x146)+this[_0x11d1ae(0x18b)],()=>{const _0x454de4=_0x11d1ae;0x2===_0xeed7de[_0x454de4(0xb1)][_0x454de4(0x18f)](this[_0x454de4(0x18b)])[_0x454de4(0xf8)]&&_0x4a0ec6[_0x454de4(0x9c)]();});}async[_0x2a26a5(0x105)](_0x2754fa,_0x100a05,_0x42e004,_0x30db4b){const _0x43f9b2=_0x2a26a5;if(!this[_0x43f9b2(0xa2)]&&this[_0x43f9b2(0x16c)][_0x43f9b2(0xc7)]==_0x100a05){const _0x31d4dd=this[_0x43f9b2(0xcf)](_0x42e004,_0x30db4b);await this[_0x43f9b2(0x9b)](_0x31d4dd),this[_0x43f9b2(0x16f)](_0x31d4dd,_0x100a05,_0x42e004[_0x43f9b2(0x183)])||this[_0x43f9b2(0xa8)](_0x43f9b2(0x16d));}}async[_0x2a26a5(0x171)](){const _0x711485=_0x2a26a5;this[_0x711485(0x150)]();const {locale:_0x3a7acc}=this[_0x711485(0x15c)];let _0x1606e4;try{_0x1606e4=await this[_0x711485(0xc6)][_0x711485(0x15b)]();}catch(_0x44dc3e){const _0x4f7dad=_0x4cb707(_0x3a7acc,_0x711485(0xff));return void this[_0x711485(0x9d)](_0x4f7dad);}const _0x542803=_0x1606e4[_0x711485(0xe4)]||_0x1606e4[_0x711485(0xb3)];if(this[_0x711485(0x157)]===_0x542803[_0x711485(0x183)])await this[_0x711485(0x10f)](this[_0x711485(0x15c)][_0x711485(0x12c)][_0x711485(0xc4)][_0x711485(0x13f)][_0x711485(0x177)](),!0x0);else{const _0x4516b2=_0x4cb707(_0x3a7acc,_0x711485(0x10a));this[_0x711485(0x9d)](_0x4516b2);}}[_0x2a26a5(0x150)](){const _0x102ef5=_0x2a26a5;this[_0x102ef5(0xc6)][_0x102ef5(0xe8)](),this[_0x102ef5(0xb7)]=[],clearTimeout(this[_0x102ef5(0x14b)]),this[_0x102ef5(0x13b)](this[_0x102ef5(0xc6)]);}[_0x2a26a5(0x10c)](_0x229b37){const _0x211d13=_0x2a26a5,_0x92a025=this[_0x211d13(0x15c)][_0x211d13(0x113)][_0x211d13(0x18f)](_0xa885ba);this[_0x211d13(0x18c)](_0x92a025,_0x211d13(0x146)+this[_0x211d13(0x18b)],(_0x1925e3,{session:_0x101829})=>{const _0x19e35c=_0x211d13;if(_0x101829['id']===_0x92a025[_0x19e35c(0xa6)]){_0x1925e3[_0x19e35c(0xc8)]();const _0xf975c3=this[_0x19e35c(0x15c)][_0x19e35c(0x113)][_0x19e35c(0x130)](_0x19e35c(0x162))&&this[_0x19e35c(0x15c)][_0x19e35c(0x113)][_0x19e35c(0x18f)](_0x19e35c(0x162));let _0x4969e3=_0x101829[_0x19e35c(0x15f)];_0xf975c3&&_0xf975c3[_0x19e35c(0xbc)]&&(_0x4969e3=_0x4969e3[_0x19e35c(0xd6)](_0x702f7a=>_0x19e35c(0x197)!==_0x702f7a)),this[_0x19e35c(0x15c)][_0x19e35c(0x113)][_0x19e35c(0x18f)](_0x19e35c(0x137))[_0x19e35c(0x186)](_0x4969e3,this[_0x19e35c(0x18b)]);}}),_0x92a025[_0x211d13(0x106)](this[_0x211d13(0x18b)],_0x229b37);}[_0x2a26a5(0xd2)](){const _0x3ad90a=_0x2a26a5,_0x5bc71e=this[_0x3ad90a(0x15c)][_0x3ad90a(0xaf)][_0x3ad90a(0xd7)];this[_0x3ad90a(0x15c)][_0x3ad90a(0xaf)][_0x3ad90a(0xd7)]=(..._0x17ef92)=>{const _0x769201=_0x3ad90a;if(!_0x17ef92[_0x17ef92[_0x769201(0xf8)]-0x1][_0x769201(0x14e)])throw new _0x413a0a(_0x769201(0xa5),this);_0x5bc71e[_0x769201(0x164)](this[_0x769201(0x15c)][_0x769201(0xaf)],_0x17ef92);};}[_0x2a26a5(0x178)](){const _0x151655=_0x2a26a5;this[_0x151655(0x15c)][_0x151655(0xaf)]['on'](_0x151655(0x134),(_0x4d4136,[_0x5cd262])=>{const _0x5d6723=_0x151655;if(this[_0x5d6723(0x16c)][_0x5d6723(0xc7)])throw new _0x413a0a(_0x5d6723(0x100),this);_0x4d4136[_0x5d6723(0x191)](),this[_0x5d6723(0x19d)]();const _0x5a9c52=this[_0x5d6723(0x15c)][_0x5d6723(0x125)][_0x5d6723(0x18f)](_0x5d6723(0xd8)),_0x529ddc=this[_0x5d6723(0x15e)](_0x5cd262,_0x5a9c52);0x0==_0x529ddc[_0x5d6723(0xf8)]&&_0x529ddc[_0x5d6723(0xce)](new _0x1b2699(0x0)),_0x4d4136[_0x5d6723(0x118)]=this[_0x5d6723(0x10f)](_0x529ddc)[_0x5d6723(0xeb)](()=>{const _0x5654e6=_0x5d6723;this[_0x5654e6(0x15c)][_0x5654e6(0x113)][_0x5654e6(0x18f)](_0x1e87a2)[_0x5654e6(0x135)](this),this[_0x5654e6(0x15c)][_0x5654e6(0xaf)][_0x5654e6(0x110)](_0x5654e6(0xa1));})[_0x5d6723(0xb9)](_0x4611e9=>this[_0x5d6723(0xa8)](_0x5d6723(0x168),_0x4611e9))[_0x5d6723(0x18e)](()=>this[_0x5d6723(0xf7)]());},{'priority':_0x151655(0x153)}),this[_0x151655(0x15c)]['on'](_0x151655(0x10d),async(_0x552d6f,[_0x814ccb,_0x441ccc])=>{const _0x170e06=_0x151655;_0x552d6f[_0x170e06(0x191)]();const _0x133d8a=this[_0x170e06(0x15c)][_0x170e06(0x12c)][_0x170e06(0xc4)][_0x170e06(0xca)](_0x814ccb);if(!this[_0x170e06(0x182)][_0x170e06(0x130)](_0x814ccb)){const _0x5ef175=_0x441ccc&&_0x441ccc[_0x170e06(0xaf)]?_0x441ccc[_0x170e06(0xaf)]:'',_0xb22854=_0x441ccc&&_0x441ccc[_0x170e06(0x13a)]?_0x441ccc[_0x170e06(0x13a)]:{};await this[_0x170e06(0x172)](_0x814ccb,_0x5ef175,_0xb22854);}this[_0x170e06(0x15c)][_0x170e06(0x12c)][_0x170e06(0x18a)]({'isUndoable':!0x1},()=>{const _0x3693a1=_0x170e06;_0x133d8a[_0x3693a1(0x14d)]=!0x0,this[_0x3693a1(0x15c)][_0x3693a1(0x12c)][_0x3693a1(0xc4)][_0x3693a1(0xd0)][_0x3693a1(0xe2)](_0x133d8a);});},{'priority':_0x151655(0x153)});}async[_0x2a26a5(0x9b)](_0x100d7c){const _0xa5c222=_0x2a26a5,_0xff03ae=this[_0xa5c222(0x15c)][_0xa5c222(0x113)][_0xa5c222(0x18f)](_0x251494),{connection:_0x57ed6c}=this[_0xa5c222(0x15c)][_0xa5c222(0x113)][_0xa5c222(0x18f)](_0x1e87a2),_0x1b2312=new Set();for(const _0x5a4664 of _0x100d7c){const _0x346ea9=_0x5a4664[_0xa5c222(0xfd)];_0x346ea9&&!_0xff03ae[_0xa5c222(0xb2)](_0x346ea9)&&_0x1b2312[_0xa5c222(0xd1)](_0x346ea9);}if(0x0===_0x1b2312[_0xa5c222(0x11f)])return;const _0x375717=await _0x55a5ab[_0xa5c222(0xac)](_0x57ed6c,Array[_0xa5c222(0x108)](_0x1b2312));for(const _0x177843 of _0x375717)_0xff03ae[_0xa5c222(0xb2)](_0x177843['id'])||_0xff03ae[_0xa5c222(0x15d)](_0x177843);}[_0x2a26a5(0x15e)](_0x3e34bd,_0x284080={}){const _0x16b4ab=_0x2a26a5,_0x3db30b=this[_0x16b4ab(0x15c)][_0x16b4ab(0x12c)],_0x1f13d9=[];let _0x56349c=0x0;const _0x161fa5=_0x16b4ab(0x120)==typeof _0x3e34bd?{'main':_0x3e34bd}:_0x3e34bd;for(const _0x1eea22 of Object[_0x16b4ab(0x9a)](_0x161fa5)){if(!this[_0x16b4ab(0x16c)][_0x16b4ab(0xdb)][_0x16b4ab(0x130)](_0x1eea22))throw new _0x413a0a(_0x16b4ab(0x17d),this);const _0x53e516=this[_0x16b4ab(0x15c)][_0x16b4ab(0xaf)][_0x16b4ab(0x17c)](_0x161fa5[_0x1eea22]),_0x507765=this[_0x16b4ab(0x16c)][_0x16b4ab(0xca)](_0x1eea22),_0x1958f1=new _0x47829d(_0x3db30b[_0x16b4ab(0x10e)](_0x507765,0x0),_0x53e516,_0x56349c++);_0x1f13d9[_0x16b4ab(0xce)](_0x1958f1);for(const [_0x4d654a,_0x22ce3c]of _0x53e516[_0x16b4ab(0xb0)]){const _0x16e363=_0x3db30b[_0x16b4ab(0xa3)](_0x3db30b[_0x16b4ab(0x12b)](_0x507765,_0x22ce3c[_0x16b4ab(0x12e)][_0x16b4ab(0xa4)][_0x16b4ab(0x19c)]()),_0x3db30b[_0x16b4ab(0x12b)](_0x507765,_0x22ce3c[_0x16b4ab(0xcc)][_0x16b4ab(0xa4)][_0x16b4ab(0x19c)]())),_0xe15640=new _0x3356d3(_0x4d654a,null,_0x16e363,_0x3db30b[_0x16b4ab(0xb0)],!0x0,_0x56349c++);_0x1f13d9[_0x16b4ab(0xce)](_0xe15640);}}if(_0x284080)for(const [_0xf16dcb,_0x491f2f]of Object[_0x16b4ab(0xa0)](_0x284080)){const _0x52e03f=_0x3db30b[_0x16b4ab(0xc4)][_0x16b4ab(0xca)](_0xf16dcb);if(!_0x52e03f)throw new _0x413a0a(_0x16b4ab(0x160),null);for(const [_0x48e148,_0x1d7258]of Object[_0x16b4ab(0xa0)](_0x491f2f))if(null!==_0x1d7258){const _0x1e8c6d=new _0x3a4561(_0x52e03f,_0x48e148,null,_0x1d7258,_0x56349c++);_0x1f13d9[_0x16b4ab(0xce)](_0x1e8c6d);}}return _0x1f13d9;}async[_0x2a26a5(0x172)](_0x459396,_0xed8a47,_0x54b685){const _0x3f8937=_0x2a26a5;this[_0x3f8937(0x15e)]({[_0x459396]:_0xed8a47},{[_0x459396]:_0x54b685})[_0x3f8937(0x173)]((_0x115c54,_0xcf42be)=>{const _0x987a0e=_0x3f8937;_0x115c54[_0x987a0e(0x127)]=this[_0x987a0e(0x16c)][_0x987a0e(0xc7)]+_0xcf42be,_0x115c54[_0x987a0e(0x107)]=!0x0,this[_0x987a0e(0x174)](_0x115c54);}),this[_0x3f8937(0xfe)](),await this[_0x3f8937(0xf5)]();}async[_0x2a26a5(0x132)](_0x32a433,_0x5df103){const _0x3abb23=_0x2a26a5;let _0x3a5d1b;this[_0x3abb23(0xbb)]=_0x32a433[_0x3abb23(0x159)];const _0x18cbce=_0x32a433[_0x3abb23(0xdc)]&&!_0x32a433[_0x3abb23(0xc9)],_0x38f838=_0x18cbce?0x0:_0x32a433[_0x3abb23(0xaf)][_0x3abb23(0x127)];if(_0x5df103[_0x3abb23(0x173)](_0x19d01f=>{const _0x410c20=_0x3abb23;_0x19d01f[_0x410c20(0x107)]=!0x0,_0x19d01f[_0x410c20(0x151)]=_0x32a433[_0x410c20(0x166)],_0x19d01f[_0x410c20(0xfd)]=null;}),_0x18cbce)_0x3a5d1b=_0x5df103,this[_0x3abb23(0x124)](_0x3a5d1b,_0x18cbce);else{if(_0x32a433[_0x3abb23(0xc9)]){const _0x14c2a3=this[_0x3abb23(0x15e)](_0x32a433[_0x3abb23(0xc9)]);this[_0x3abb23(0x16c)][_0x3abb23(0x13f)][_0x3abb23(0xc7)]=-_0x14c2a3[_0x3abb23(0xf8)],_0x14c2a3[_0x3abb23(0x173)](_0x25c585=>{const _0x84c09c=_0x3abb23;_0x25c585[_0x84c09c(0x127)]-=_0x14c2a3[_0x84c09c(0xf8)],_0x25c585[_0x84c09c(0x151)]=_0x32a433[_0x84c09c(0x166)],_0x25c585[_0x84c09c(0x107)]=!0x0,_0x25c585[_0x84c09c(0xfd)]=null;}),this[_0x3abb23(0x124)](_0x14c2a3,!0x0),this[_0x3abb23(0x147)][_0x3abb23(0xc7)]=-_0x14c2a3[_0x3abb23(0xf8)]+this[_0x3abb23(0xbb)],this[_0x3abb23(0x154)](_0x14c2a3);}this[_0x3abb23(0x16c)][_0x3abb23(0x13f)][_0x3abb23(0xc7)]=_0x38f838,_0x3a5d1b=this[_0x3abb23(0xcf)](_0x32a433[_0x3abb23(0xaf)],_0x32a433[_0x3abb23(0x198)]),await this[_0x3abb23(0x9b)](_0x3a5d1b),this[_0x3abb23(0x124)](_0x3a5d1b,_0x18cbce);}_0x32a433[_0x3abb23(0x183)]&&(this[_0x3abb23(0xe5)][_0x3abb23(0xd4)](_0x3a5d1b,_0x32a433[_0x3abb23(0x183)]),this[_0x3abb23(0x157)]=_0x32a433[_0x3abb23(0x183)]),this[_0x3abb23(0x147)][_0x3abb23(0xc7)]=_0x38f838+this[_0x3abb23(0xbb)],this[_0x3abb23(0x154)](_0x3a5d1b),_0x5df103[_0x3abb23(0xd6)](_0x22d60c=>{const _0x1eab81=_0x3abb23,_0x1245d4=this[_0x1eab81(0x17a)](_0x22d60c);return _0x1245d4&&!this[_0x1eab81(0x182)][_0x1eab81(0x130)](_0x1245d4);})[_0x3abb23(0x173)]((_0x2b0bb2,_0x4f6dc7)=>{const _0x4e0e43=_0x3abb23;_0x2b0bb2[_0x4e0e43(0x127)]=this[_0x4e0e43(0x16c)][_0x4e0e43(0xc7)]+_0x4f6dc7,this[_0x4e0e43(0x174)](_0x2b0bb2);}),this[_0x3abb23(0xe0)]()?(this[_0x3abb23(0xee)]=0x0,this[_0x3abb23(0xfe)](!0x0),await this[_0x3abb23(0xf5)]()):(this[_0x3abb23(0xa2)]=!0x1,this[_0x3abb23(0xf7)]());}[_0x2a26a5(0xa8)](_0x1f81a0,_0x9bfcde){const _0x3b2d09=_0x2a26a5,_0x2be450=_0x9bfcde&&_0x9bfcde[_0x3b2d09(0x155)];if(_0x2be450&&_0x2be450[_0x3b2d09(0x128)](_0x3b2d09(0x199)))throw _0x9bfcde;const _0x353251=this[_0x3b2d09(0x15c)][_0x3b2d09(0x113)][_0x3b2d09(0x18f)](_0x1e87a2);throw this[_0x3b2d09(0xa2)]=!0x0,_0x353251[_0x3b2d09(0xe8)](),this[_0x3b2d09(0x15c)][_0x3b2d09(0x16a)](_0x3b2d09(0x144)),new _0x413a0a(_0x1f81a0,this[_0x3b2d09(0x15c)],_0x2be450?{'originalError':_0x2be450}:void 0x0);}[_0x2a26a5(0x174)](_0x1618e0){const _0x32153c=_0x2a26a5;this[_0x32153c(0x123)][_0x32153c(0x130)](_0x1618e0)||(this[_0x32153c(0x123)][_0x32153c(0xd1)](_0x1618e0),this[_0x32153c(0xb7)][_0x32153c(0xce)](_0x1618e0),this[_0x32153c(0x170)]||_0x32153c(0x19a)==_0x1618e0[_0x32153c(0x176)]&&!_0x1618e0[_0x32153c(0x179)]||this[_0x32153c(0x19d)]());}[_0x2a26a5(0xfe)](_0x2a835d=!0x1){const _0x1d951c=_0x2a26a5;!_0x2a835d&&this[_0x1d951c(0xa2)]||(this[_0x1d951c(0xa2)]=!0x0,clearTimeout(this[_0x1d951c(0x14b)]),this[_0x1d951c(0x14b)]=setTimeout(()=>{const _0x3d0d8a=_0x1d951c;this[_0x3d0d8a(0xbe)]()[_0x3d0d8a(0xeb)](_0x3dc68d=>{const _0x2e0c29=_0x3d0d8a;_0x3dc68d&&(this[_0x2e0c29(0xf7)](),this[_0x2e0c29(0xa2)]=!0x1);})[_0x3d0d8a(0xb9)](_0x336259=>{const _0x3af520=_0x3d0d8a;this[_0x3af520(0xf7)](),this[_0x3af520(0xa2)]=!0x1,function(_0xcb7c34){const _0x150816=_0x3af520;return _0xcb7c34[_0x150816(0x155)][_0x150816(0x128)](_0x150816(0xec))||_0xcb7c34[_0x150816(0x155)][_0x150816(0x128)](_0x150816(0xba))||_0xcb7c34[_0x150816(0x155)][_0x150816(0x128)](_0x150816(0xf1));}(_0x336259)||this[_0x3af520(0xa8)](_0x336259[_0x3af520(0x155)],_0x336259);});},this[_0x1d951c(0xee)]));}[_0x2a26a5(0xf5)](){return new Promise(_0x16d3bf=>{const _0x4876c9=_0x305b;this['on'](_0x4876c9(0xd9),()=>{_0x16d3bf();});});}async[_0x2a26a5(0xbe)](){const _0x590899=_0x2a26a5,_0x199a99=this[_0x590899(0x15c)][_0x590899(0x113)][_0x590899(0x18f)](_0x4b407c);if(this[_0x590899(0x119)]()&&(_0x199a99[_0x590899(0x9c)](),this[_0x590899(0x140)]=!0x1),!this[_0x590899(0xe0)]())return!0x0;const _0x152843=[...this[_0x590899(0xb7)]];for(const _0x3424a8 of _0x152843)_0x3424a8[_0x590899(0xc2)]=this[_0x590899(0x16c)][_0x590899(0x13f)][_0x590899(0xf4)](_0x3424a8);const _0x26bced=this[_0x590899(0xe5)][_0x590899(0x104)](_0x152843),_0x51ed6d=K++,_0x11ec09=this[_0x590899(0x117)](_0x152843),_0x2b19ec=await this[_0x590899(0xc6)][_0x590899(0xc0)](_0x11ec09,_0x11ec09[_0x590899(0x127)],_0x26bced);try{return await this[_0x590899(0xb6)](_0x152843,_0x2b19ec,_0x51ed6d);}catch(_0x1dd7c7){return this[_0x590899(0xa8)](_0x590899(0x185),_0x1dd7c7);}}async[_0x2a26a5(0xb6)](_0x4e01eb,_0x569e7e,_0x43c0c1){const _0xcc899f=_0x2a26a5;if(_0xcc899f(0xfc)in _0x569e7e)throw _0x569e7e[_0xcc899f(0xfc)];let _0x50fc9e=!0x1;if(_0x569e7e[_0xcc899f(0xdc)]){_0x569e7e[_0xcc899f(0x183)]&&(this[_0xcc899f(0x157)]=_0x569e7e[_0xcc899f(0x183)]),this[_0xcc899f(0xb7)]=this[_0xcc899f(0xb7)][_0xcc899f(0xd6)](_0x132eef=>!_0x4e01eb[_0xcc899f(0xc5)](_0x132eef));for(const _0x265310 of _0x4e01eb)_0x265310[_0xcc899f(0x151)]=_0xcc899f(0x11a)in _0x569e7e&&_0x569e7e[_0xcc899f(0x11a)]||void 0x0;Q(_0x4e01eb,_0x569e7e[_0xcc899f(0xc7)]-_0x4e01eb[_0xcc899f(0xf8)]),this[_0xcc899f(0x154)](_0x4e01eb);const _0x1d5968=_0x4e01eb[_0xcc899f(0xd6)](_0x16bc58=>{const _0x38fcca=_0xcc899f;if(!_0x16bc58[_0x38fcca(0x107)])return!0x1;const _0x1c102d=this[_0x38fcca(0x17a)](_0x16bc58);return _0x1c102d&&!this[_0x38fcca(0x182)][_0x38fcca(0x130)](_0x1c102d);});Q(_0x1d5968,this[_0xcc899f(0x16c)][_0xcc899f(0xc7)]),this[_0xcc899f(0x124)](_0x1d5968),_0x50fc9e=!0x0,this[_0xcc899f(0xee)]=this[_0xcc899f(0xe6)];}else{const _0x18142f=this[_0xcc899f(0xcf)](_0x569e7e[_0xcc899f(0xaf)],_0x569e7e[_0xcc899f(0x198)])[_0xcc899f(0xd6)](_0x7b1299=>_0x7b1299[_0xcc899f(0x127)]>=this[_0xcc899f(0x193)]);_0x18142f[_0xcc899f(0x173)](_0x1748af=>this[_0xcc899f(0x14c)](_0x1748af)),this[_0xcc899f(0xb7)]=this[_0xcc899f(0xb7)][_0xcc899f(0xd6)](_0x293fd4=>!_0x293fd4[_0xcc899f(0x107)]||!this[_0xcc899f(0x182)][_0xcc899f(0x130)](this[_0xcc899f(0x17a)](_0x293fd4))),this[_0xcc899f(0xb7)][_0xcc899f(0xf8)]&&Q(this[_0xcc899f(0xb7)],this[_0xcc899f(0xb7)][0x0][_0xcc899f(0x127)]),await this[_0xcc899f(0x9b)](_0x18142f),_0x50fc9e=this[_0xcc899f(0x16f)](_0x18142f,_0x569e7e[_0xcc899f(0xc7)],_0x569e7e[_0xcc899f(0x183)]),this[_0xcc899f(0xee)]=Math[_0xcc899f(0x10b)](this[_0xcc899f(0xee)]/0x2);}return _0x50fc9e?!this[_0xcc899f(0xe0)]()||(this[_0xcc899f(0xfe)](!0x0),!0x1):this[_0xcc899f(0xa8)](_0xcc899f(0x139));}[_0x2a26a5(0x16f)](_0x18b374,_0x216134,_0x5cba91){const _0x87284d=_0x2a26a5;try{const _0x271cf2={'document':this[_0x87284d(0x16c)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x5620f8,operationsB:_0x32b0de,originalOperations:_0x4ecec6}=_0x17f89a(_0x18b374,this[_0x87284d(0xb7)],_0x271cf2);Q(_0x5620f8,this[_0x87284d(0x16c)][_0x87284d(0xc7)]),Q(_0x32b0de,_0x216134);for(const _0x41e400 of _0x5620f8){const _0x462c34=_0x4ecec6[_0x87284d(0x18f)](_0x41e400);_0x41e400[_0x87284d(0xfd)]=_0x462c34?_0x462c34[_0x87284d(0xfd)]:null;}_0x5cba91&&(this[_0x87284d(0xe5)][_0x87284d(0xd4)](_0x18b374,_0x5cba91),this[_0x87284d(0x157)]=_0x5cba91),this[_0x87284d(0xb7)]=[..._0x32b0de],this[_0x87284d(0x124)](_0x5620f8),this[_0x87284d(0x154)](_0x18b374);}catch(_0x1eade0){return console[_0x87284d(0xfc)](_0x1eade0),!0x1;}return!0x0;}[_0x2a26a5(0x124)](_0x238372,_0x2e9ad8=!0x1){const _0x2be1d5=_0x2a26a5;this[_0x2be1d5(0x15c)][_0x2be1d5(0x12c)][_0x2be1d5(0x18a)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1fe744=>{const _0x3c7120=_0x2be1d5;for(const _0x4c07f6 of _0x238372)this[_0x3c7120(0x123)][_0x3c7120(0xd1)](_0x4c07f6),this[_0x3c7120(0x14c)](_0x4c07f6),_0x1fe744[_0x3c7120(0xfb)][_0x3c7120(0x13c)](_0x4c07f6),this[_0x3c7120(0x15c)][_0x3c7120(0x12c)][_0x3c7120(0x165)](_0x4c07f6);});}[_0x2a26a5(0x14c)](_0x45f6fb){const _0x566054=_0x2a26a5,_0x4ba06f=this[_0x566054(0x17a)](_0x45f6fb);_0x4ba06f&&this[_0x566054(0x182)][_0x566054(0xd1)](_0x4ba06f);}[_0x2a26a5(0x17a)](_0x5426d0){const _0x14840b=_0x2a26a5;let _0x234aab,_0x2dbb59;switch(_0x5426d0[_0x14840b(0x176)]){case _0x14840b(0xe3):_0x234aab=_0x5426d0[_0x14840b(0x194)][_0x14840b(0x13e)];break;case _0x14840b(0x19a):if(_0x2dbb59=_0x5426d0[_0x14840b(0x11d)],!_0x2dbb59)return null;_0x234aab=_0x2dbb59[_0x14840b(0x13e)];break;case _0x14840b(0xa7):_0x234aab=_0x5426d0[_0x14840b(0x13e)];break;case _0x14840b(0xde):_0x234aab=_0x5426d0[_0x14840b(0x188)];break;case _0x14840b(0x195):_0x234aab=_0x5426d0[_0x14840b(0x163)][_0x14840b(0x13e)];break;default:return null;}return _0x234aab[_0x14840b(0x14a)];}[_0x2a26a5(0x154)](_0x3c0820){const _0x533f15=_0x2a26a5;_0x3c0820[_0x533f15(0x173)](_0x54bf52=>{const _0x3157d8=_0x533f15,_0x1e6bfa=_0x54bf52[_0x3157d8(0xd3)]();_0x1e6bfa[_0x3157d8(0xfd)]=_0x54bf52[_0x3157d8(0xfd)],_0x1e6bfa[_0x3157d8(0x107)]=!!_0x54bf52[_0x3157d8(0x107)],_0x1e6bfa[_0x3157d8(0x151)]=_0x54bf52[_0x3157d8(0x151)],_0x1e6bfa[_0x3157d8(0x127)]+=this[_0x3157d8(0xbb)],_0x54bf52[_0x3157d8(0xfa)]&&this[_0x3157d8(0x115)][_0x3157d8(0xd1)](_0x1e6bfa),this[_0x3157d8(0x147)][_0x3157d8(0x13c)](_0x1e6bfa);});}[_0x2a26a5(0x9d)](_0x4b74d3){const _0x107d92=_0x2a26a5,_0xb82db5=this[_0x107d92(0x15c)][_0x107d92(0x113)][_0x107d92(0x18f)](_0x107d92(0xda)),_0x16e51f=this[_0x107d92(0x15c)][_0x107d92(0x149)];_0x4b74d3||(_0x4b74d3=_0x4cb707(_0x16e51f,_0x107d92(0x138))),_0xb82db5[_0x107d92(0x102)](_0x4b74d3,{'title':_0x4cb707(_0x16e51f,_0x107d92(0xc3)),'namespace':_0x107d92(0x190)}),this[_0x107d92(0xa9)]=!0x0,clearTimeout(this[_0x107d92(0x14b)]),this[_0x107d92(0xb7)]=[],this[_0x107d92(0x15c)][_0x107d92(0x113)][_0x107d92(0x18f)](_0x1e87a2)[_0x107d92(0xe8)]();}[_0x2a26a5(0x19d)](){const _0x284f70=_0x2a26a5;this[_0x284f70(0x170)]||(this[_0x284f70(0x170)]=this[_0x284f70(0x15c)][_0x284f70(0x113)][_0x284f70(0x18f)](_0xe8d8cc)[_0x284f70(0xd1)](_0x4cb707(this[_0x284f70(0x15c)][_0x284f70(0x149)],_0x284f70(0x187))));}[_0x2a26a5(0xf7)](){const _0x34eabe=_0x2a26a5;this[_0x34eabe(0x170)]&&(this[_0x34eabe(0x15c)][_0x34eabe(0x113)][_0x34eabe(0x18f)](_0xe8d8cc)[_0x34eabe(0xed)](this[_0x34eabe(0x170)]),this[_0x34eabe(0x170)]=null);}[_0x2a26a5(0x117)](_0x48e0b6){const _0x30c8e6=_0x2a26a5,_0x53964b=_0x48e0b6[_0x30c8e6(0xae)](_0x45e0f4=>_0x45e0f4[_0x30c8e6(0x112)]());return this[_0x30c8e6(0x126)][_0x30c8e6(0x12a)](_0x53964b);}[_0x2a26a5(0xcf)](_0x1ead6d,_0x32fdf8){const _0x462b9d=_0x2a26a5;return this[_0x462b9d(0x126)][_0x462b9d(0x103)](_0x1ead6d)[_0x462b9d(0xae)]((_0x5cf7c5,_0x3bcc64)=>{const _0x53605f=_0x462b9d,_0xcf9a02=_0x53605f(0x134)==_0x32fdf8[_0x3bcc64][_0x53605f(0x176)];if(_0x53605f(0xf6)==_0x5cf7c5[_0x53605f(0xcd)]){const _0x383ed5=_0x5cf7c5[_0x53605f(0x194)][_0x53605f(0x13e)];!this[_0x53605f(0x16c)][_0x53605f(0xca)](_0x383ed5)&&(this[_0x53605f(0x16c)][_0x53605f(0x142)](_0x53605f(0xb5),_0x383ed5)[_0x53605f(0x169)]=!0x1);}const _0x30c66c=_0x322065[_0x53605f(0x122)](_0x5cf7c5,this[_0x53605f(0x16c)]);return _0x30c66c[_0x53605f(0xc2)]=_0x5cf7c5[_0x53605f(0xc2)],_0x30c66c[_0x53605f(0x107)]=_0xcf9a02,_0x30c66c[_0x53605f(0xfd)]=_0xcf9a02?null:_0x32fdf8[_0x3bcc64][_0x53605f(0x13d)],_0x30c66c[_0x53605f(0xfa)]=_0x53605f(0x161)===_0x32fdf8[_0x3bcc64][_0x53605f(0x176)],_0x30c66c[_0x53605f(0x151)]=_0x32fdf8[_0x3bcc64][_0x53605f(0x151)],_0x30c66c;});}[_0x2a26a5(0x19f)](){const _0x239547=_0x2a26a5;this[_0x239547(0x140)]=!0x0,this[_0x239547(0x119)]()?this[_0x239547(0xfe)]():this[_0x239547(0x140)]=!0x1;}[_0x2a26a5(0x119)](){const _0x5b7c86=_0x2a26a5,_0xfec4ae=this[_0x5b7c86(0x15c)][_0x5b7c86(0x113)][_0x5b7c86(0x18f)](_0xa885ba)[_0x5b7c86(0xb1)][_0x5b7c86(0x18f)](this[_0x5b7c86(0x18b)]);return!this[_0x5b7c86(0x15c)][_0x5b7c86(0xab)]&&!!_0xfec4ae&&_0xfec4ae[_0x5b7c86(0xf8)]>0x1&&this[_0x5b7c86(0x140)];}[_0x2a26a5(0xe0)](){const _0x57fc04=_0x2a26a5;return this[_0x57fc04(0xb7)][_0x57fc04(0xf8)]>0x0||this[_0x57fc04(0x119)]();}}l[_0x2a26a5(0xe9)]=_0xee7362;export default l;class J extends Error{}function Q(_0x5c68d7,_0x4d4885){const _0x5740eb=_0x2a26a5;for(const _0x1f6662 of _0x5c68d7)_0x1f6662[_0x5740eb(0x127)]=_0x4d4885++;}class X{constructor(_0x1fa3e6){const _0xcadfaf=_0x2a26a5;this[_0xcadfaf(0x116)]=_0x1fa3e6,this[_0xcadfaf(0x145)]=new WeakMap();}[_0x2a26a5(0x104)](_0x133168){const _0x3b5847=_0x2a26a5;let _0x44c8d0=_0x133168[_0x3b5847(0xf8)];for(;_0x44c8d0--;){const _0x33f8ca=_0x133168[_0x44c8d0];if(!this[_0x3b5847(0x116)][_0x3b5847(0x130)](_0x33f8ca)){if(!this[_0x3b5847(0x145)][_0x3b5847(0x130)](_0x33f8ca)){const _0x194748=_0x5cb80c()[_0x3b5847(0x19c)](0x1,0x12);this[_0x3b5847(0x145)][_0x3b5847(0xd7)](_0x33f8ca,_0x194748);}return this[_0x3b5847(0x145)][_0x3b5847(0x18f)](_0x33f8ca);}}}[_0x2a26a5(0xd4)](_0x84b9ba,_0x4a0e58){const _0x3e389c=_0x2a26a5;if(!_0x4a0e58)return;let _0x48be0f=_0x84b9ba[_0x3e389c(0xf8)];for(;_0x48be0f--;){const _0x3241f6=_0x84b9ba[_0x48be0f];this[_0x3e389c(0x116)][_0x3e389c(0x130)](_0x3241f6)||this[_0x3e389c(0x145)][_0x3e389c(0xd7)](_0x3241f6,_0x4a0e58);}}}
|
|
23
|
+
const _0x25edc1=_0x4d7c;function _0x4d7c(_0x5053b7,_0x19c0de){const _0x2acaa8=_0x2aca();return _0x4d7c=function(_0x4d7c99,_0x2eb90c){_0x4d7c99=_0x4d7c99-0x1b8;let _0x5ab8d6=_0x2acaa8[_0x4d7c99];return _0x5ab8d6;},_0x4d7c(_0x5053b7,_0x19c0de);}(function(_0x361d39,_0x226da4){const _0x5d45b0=_0x4d7c,_0x5860ad=_0x361d39();while(!![]){try{const _0x5847a4=-parseInt(_0x5d45b0(0x27f))/0x1+parseInt(_0x5d45b0(0x1d9))/0x2+parseInt(_0x5d45b0(0x29a))/0x3*(-parseInt(_0x5d45b0(0x229))/0x4)+-parseInt(_0x5d45b0(0x226))/0x5*(-parseInt(_0x5d45b0(0x2ac))/0x6)+parseInt(_0x5d45b0(0x1d7))/0x7*(-parseInt(_0x5d45b0(0x2af))/0x8)+-parseInt(_0x5d45b0(0x278))/0x9+-parseInt(_0x5d45b0(0x1df))/0xa*(-parseInt(_0x5d45b0(0x212))/0xb);if(_0x5847a4===_0x226da4)break;else _0x5860ad['push'](_0x5860ad['shift']());}catch(_0x2cc8f5){_0x5860ad['push'](_0x5860ad['shift']());}}}(_0x2aca,0xd58a6));import{Plugin as _0x4a13f4,PendingActions as _0x1d6655}from'ckeditor5/src/core.js';import{CKEditorError as _0x5af213,version as _0x205efd,uid as _0x23932a}from'ckeditor5/src/utils.js';import{Notification as _0x554211}from'ckeditor5/src/ui.js';import{transformSets as _0x268478,NoOperation as _0x4703cf,InsertOperation as _0x3e7a44,MarkerOperation as _0x217b0f,RootAttributeOperation as _0x4a837d,OperationFactory as _0x1ea7b6,History as _0x322849}from'ckeditor5/src/engine.js';import _0x14bdb3 from'./websocketgateway.js';import _0x22b84c from'./sessions.js';import _0x1d73c3 from'./usermarkers.js';import{getTranslation as _0x1ed547}from'../common-translations.js';import{Compressor as _0x22fd47}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x3dccb6}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x1cf8ac,CollaborativeEditingService as _0x37337b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let F=0x1;class l extends _0x4a13f4{static get[_0x25edc1(0x25c)](){return[_0x14bdb3,_0x22b84c,_0x1d73c3,_0x1d6655,_0x3dccb6,_0x554211];}static get[_0x25edc1(0x261)](){const _0xf7ef=_0x25edc1;return _0xf7ef(0x27a);}static get[_0x25edc1(0x24a)](){return!0x0;}static get[_0x25edc1(0x27d)](){return!0x0;}get[_0x25edc1(0x289)](){const _0x2300bb=_0x25edc1;return this[_0x2300bb(0x26a)]+this[_0x2300bb(0x1e7)];}get[_0x25edc1(0x26a)](){const _0x4aea61=_0x25edc1;return this[_0x4aea61(0x23f)][_0x4aea61(0x28b)]-this[_0x4aea61(0x1e7)];}get[_0x25edc1(0x21f)](){const _0x365ad9=_0x25edc1,_0x358b78=this[_0x365ad9(0x23f)][_0x365ad9(0x2a3)]();for(let _0xc7777b=_0x358b78[_0x365ad9(0x284)]-0x1;_0xc7777b>=0x0;_0xc7777b--){const _0x1e816e=_0x358b78[_0xc7777b];if(!this[_0x365ad9(0x29d)][_0x365ad9(0x2a8)](_0x1e816e))return _0x1e816e[_0x365ad9(0x234)]+0x1-this[_0x365ad9(0x1e7)];}return 0x0;}constructor(_0x41d1ec){const _0x9eac06=_0x25edc1;if(super(_0x41d1ec),this[_0x9eac06(0x1e7)]=0x0,this[_0x9eac06(0x1b8)]=null,this[_0x9eac06(0x23f)]=new _0x322849(),this[_0x9eac06(0x233)][_0x9eac06(0x225)][_0x9eac06(0x201)](_0x9eac06(0x20c),{}),this[_0x9eac06(0x236)]=this[_0x9eac06(0x233)][_0x9eac06(0x225)][_0x9eac06(0x1f8)](_0x9eac06(0x27e)),!this[_0x9eac06(0x236)])throw new _0x5af213(_0x9eac06(0x247),this);const _0x163be6=_0x41d1ec[_0x9eac06(0x225)][_0x9eac06(0x1f8)](_0x9eac06(0x1c1))||_0x205efd;this[_0x9eac06(0x232)]=new l[(_0x9eac06(0x218))](_0x163be6,this[_0x9eac06(0x236)]),this[_0x9eac06(0x294)]=this[_0x9eac06(0x233)][_0x9eac06(0x2b7)][_0x9eac06(0x26f)],this[_0x9eac06(0x26b)]=new _0x22fd47(),this[_0x9eac06(0x1ec)]=[],this[_0x9eac06(0x266)]=new WeakSet(),this[_0x9eac06(0x20d)]=new Set(),this[_0x9eac06(0x2b2)](_0x9eac06(0x280),!0x1),this[_0x9eac06(0x2b2)](_0x9eac06(0x27b),!0x1),this[_0x9eac06(0x2ae)]=null,this[_0x9eac06(0x213)]=!0x1,this[_0x9eac06(0x1f0)]=null,this[_0x9eac06(0x1d1)]=0x12c,this[_0x9eac06(0x277)]=this[_0x9eac06(0x1d1)],this[_0x9eac06(0x254)]=null,this[_0x9eac06(0x29d)]=new WeakSet(),this[_0x9eac06(0x2bd)]=new G(this[_0x9eac06(0x29d)]);}[_0x25edc1(0x235)](){const _0x5394fe=_0x25edc1,_0x151bb1=this[_0x5394fe(0x233)],_0x538fe9=_0x151bb1[_0x5394fe(0x290)][_0x5394fe(0x1f8)](_0x3dccb6),_0x5dc5a3=_0x151bb1[_0x5394fe(0x290)][_0x5394fe(0x1f8)](_0x14bdb3);this[_0x5394fe(0x257)](_0x538fe9,_0x5394fe(0x2aa),(_0x4ca5e4,_0x16fa82)=>{const _0x5a920a=_0x5394fe,_0xef7e9c=_0x16fa82[0x0];_0xef7e9c[_0x5a920a(0x223)]&&(_0x4ca5e4[_0x5a920a(0x24d)]=_0x538fe9[_0x5a920a(0x291)](_0xef7e9c[_0x5a920a(0x223)]),_0x4ca5e4[_0x5a920a(0x274)]()),null===_0xef7e9c[_0x5a920a(0x223)]&&(_0x4ca5e4[_0x5a920a(0x24d)]=null,_0x4ca5e4[_0x5a920a(0x274)]());},{'priority':_0x5394fe(0x242)}),this[_0x5394fe(0x257)](_0x151bb1[_0x5394fe(0x2b7)][_0x5394fe(0x26f)][_0x5394fe(0x221)],_0x5394fe(0x1bb),(_0x22c132,_0x4a6173)=>{const _0x127b83=_0x5394fe;_0x4a6173[_0x127b83(0x26e)]&&this[_0x127b83(0x1e4)]();}),this[_0x5394fe(0x257)](_0x151bb1[_0x5394fe(0x2b1)][_0x5394fe(0x1da)],_0x5394fe(0x22c),()=>{const _0xadba14=_0x5394fe;this[_0xadba14(0x1e4)]();}),this[_0x5394fe(0x239)](),_0x151bb1[_0x5394fe(0x2b7)]['on'](_0x5394fe(0x285),(_0x26c211,_0x45b8ed)=>{const _0x9e09b0=_0x5394fe,_0x1151bc=_0x45b8ed[0x0];_0x1151bc[_0x9e09b0(0x29e)]&&(this[_0x9e09b0(0x214)](_0x1151bc),this[_0x9e09b0(0x1ca)]()&&this[_0x9e09b0(0x2b5)]());}),this[_0x5394fe(0x2bb)](),this[_0x5394fe(0x293)](_0x5394fe(0x209))['to'](_0x5dc5a3,_0x5394fe(0x2bc),this,_0x5394fe(0x27b),(_0xcf97a1,_0x521339)=>_0x5394fe(0x1d6)===_0xcf97a1&&!_0x521339),this['on'](_0x5394fe(0x1dd),()=>{const _0x3a9d5f=_0x5394fe;this[_0x3a9d5f(0x209)]?_0x151bb1[_0x3a9d5f(0x1f4)](_0x3a9d5f(0x276)):_0x151bb1[_0x3a9d5f(0x28c)](_0x3a9d5f(0x276));}),this[_0x5394fe(0x209)]?_0x151bb1[_0x5394fe(0x1f4)](_0x5394fe(0x276)):_0x151bb1[_0x5394fe(0x28c)](_0x5394fe(0x276)),this[_0x5394fe(0x2b2)](_0x5394fe(0x1f7),!0x1);}async[_0x25edc1(0x1d8)](){const _0x420695=_0x25edc1,_0x2d51b8=this[_0x420695(0x233)][_0x420695(0x290)][_0x420695(0x1f8)](_0x22b84c),_0xa70878=this[_0x420695(0x233)][_0x420695(0x290)][_0x420695(0x1f8)](_0x14bdb3);try{this[_0x420695(0x280)]=!0x0,_0x2d51b8[_0x420695(0x241)](this[_0x420695(0x236)]);const _0x1da77e=await this[_0x420695(0x232)][_0x420695(0x1d8)](_0xa70878[_0x420695(0x24e)],this[_0x420695(0x21f)]);await this[_0x420695(0x2a4)](_0x1da77e)&&(this[_0x420695(0x280)]=!0x1,this[_0x420695(0x1ee)]());const _0xa748fa=await this[_0x420695(0x232)][_0x420695(0x231)]();_0x2d51b8[_0x420695(0x21e)](this[_0x420695(0x236)],_0xa748fa),this[_0x420695(0x1c4)](),this[_0x420695(0x1f7)]=!0x0;}catch(_0x3ced74){if(function(_0x1c49f0){const _0x21e274=_0x420695;return _0x21e274(0x1ba)===_0x1c49f0[_0x21e274(0x1dc)];}(_0x3ced74)&&this[_0x420695(0x1b8)])await this[_0x420695(0x22f)]();else{if(function(_0x583bf6){const _0x19d66d=_0x420695;return _0x19d66d(0x204)===_0x583bf6[_0x19d66d(0x1dc)];}(_0x3ced74)){const _0x25641d=_0x1ed547(this[_0x420695(0x233)][_0x420695(0x24b)],_0x420695(0x269));this[_0x420695(0x295)](_0x25641d);}else{if(!(_0x3ced74 instanceof H))throw _0x3ced74;this[_0x420695(0x295)]();}}}}[_0x25edc1(0x237)](){const _0x54104a=_0x25edc1,_0x59ce72=this[_0x54104a(0x233)][_0x54104a(0x290)][_0x54104a(0x1f8)](_0x14bdb3),_0x562ff0=this[_0x54104a(0x233)][_0x54104a(0x290)][_0x54104a(0x1f8)](_0x22b84c);this[_0x54104a(0x233)][_0x54104a(0x28c)](_0x54104a(0x25e)),_0x562ff0[_0x54104a(0x1bd)][_0x54104a(0x2a8)](this[_0x54104a(0x236)])&&_0x562ff0[_0x54104a(0x241)](this[_0x54104a(0x236)]),_0x59ce72[_0x54104a(0x255)](this),this[_0x54104a(0x1db)](),super[_0x54104a(0x237)]();}async[_0x25edc1(0x2a4)](_0x20d1d1){const _0x3245a9=_0x25edc1;if(this[_0x3245a9(0x1b8)]!==_0x20d1d1[_0x3245a9(0x1b8)]&&this[_0x3245a9(0x254)]!==_0x20d1d1[_0x3245a9(0x2b9)])throw new H();return this[_0x3245a9(0x1b8)]=_0x20d1d1[_0x3245a9(0x1b8)],this[_0x3245a9(0x1be)]([],{..._0x20d1d1,'wereChangesApplied':!0x1,'data':_0x20d1d1[_0x3245a9(0x1c8)]},_0x3245a9(0x1d8));}async[_0x25edc1(0x26d)](_0x373249,_0x2843c7=!0x1){const _0x4eac1b=_0x25edc1,{connection:_0x41bb58}=this[_0x4eac1b(0x233)][_0x4eac1b(0x290)][_0x4eac1b(0x1f8)](_0x14bdb3);l[_0x4eac1b(0x218)][_0x4eac1b(0x231)](_0x41bb58,this[_0x4eac1b(0x236)])[_0x4eac1b(0x23c)](_0x585d82=>this[_0x4eac1b(0x1fa)](_0x585d82))[_0x4eac1b(0x1c0)](_0x44e705=>{const _0x25012c=_0x4eac1b;this[_0x25012c(0x283)](_0x25012c(0x296),_0x44e705);}),this[_0x4eac1b(0x257)](this[_0x4eac1b(0x232)],_0x4eac1b(0x1d5),this[_0x4eac1b(0x23d)][_0x4eac1b(0x293)](this)),this[_0x4eac1b(0x257)](this[_0x4eac1b(0x232)],_0x4eac1b(0x260),(_0x1a367c,_0x115b69)=>{const _0x5bb662=_0x4eac1b;this[_0x5bb662(0x283)](_0x5bb662(0x25d),_0x115b69);}),this[_0x4eac1b(0x257)](this[_0x4eac1b(0x232)],_0x4eac1b(0x279),()=>{const _0x3a9eb3=_0x4eac1b;this[_0x3a9eb3(0x1f7)]=!0x1;});const _0x1002fe=this[_0x4eac1b(0x2bd)][_0x4eac1b(0x262)](_0x373249);this[_0x4eac1b(0x280)]=!0x0;const _0x2f3503=await this[_0x4eac1b(0x232)][_0x4eac1b(0x1fe)](_0x41bb58,this[_0x4eac1b(0x264)](_0x373249),_0x1002fe);if(this[_0x4eac1b(0x1b8)]=_0x2f3503[_0x4eac1b(0x1b8)],_0x2843c7){if(!_0x2f3503[_0x4eac1b(0x249)])return void this[_0x4eac1b(0x295)]();this[_0x4eac1b(0x280)]=!0x1,this[_0x4eac1b(0x1ee)](),this[_0x4eac1b(0x23f)][_0x4eac1b(0x263)](),this[_0x4eac1b(0x1e7)]=_0x2f3503[_0x4eac1b(0x203)],this[_0x4eac1b(0x23f)][_0x4eac1b(0x28b)]=this[_0x4eac1b(0x1e7)],await this[_0x4eac1b(0x1be)](_0x373249,_0x2f3503,_0x4eac1b(0x272));}else await this[_0x4eac1b(0x1c3)](_0x2f3503,_0x373249);this[_0x4eac1b(0x1c4)](),this[_0x4eac1b(0x1f7)]=!0x0;}[_0x25edc1(0x1c4)](){const _0x3d6586=_0x25edc1,_0x34bae9=this[_0x3d6586(0x233)][_0x3d6586(0x290)][_0x3d6586(0x1f8)](_0x22b84c),_0x123338=this[_0x3d6586(0x233)][_0x3d6586(0x290)][_0x3d6586(0x1f8)](_0x1d73c3),_0x2f35e9=_0x34bae9[_0x3d6586(0x1bd)][_0x3d6586(0x1f8)](this[_0x3d6586(0x236)]);_0x2f35e9&&_0x2f35e9[_0x3d6586(0x284)]>0x1?_0x123338[_0x3d6586(0x1de)]():this[_0x3d6586(0x257)](_0x34bae9,_0x3d6586(0x222)+this[_0x3d6586(0x236)],()=>{const _0x238919=_0x3d6586;0x2===_0x34bae9[_0x238919(0x1bd)][_0x238919(0x1f8)](this[_0x238919(0x236)])[_0x238919(0x284)]&&_0x123338[_0x238919(0x1de)]();});}async[_0x25edc1(0x23d)](_0x1f1733,_0x13e543,_0x712cc1,_0x5144d2){const _0x4b7d84=_0x25edc1;if(!this[_0x4b7d84(0x280)]&&this[_0x4b7d84(0x294)][_0x4b7d84(0x28b)]==_0x13e543){const _0x93625d=this[_0x4b7d84(0x1cd)](_0x712cc1,_0x5144d2);await this[_0x4b7d84(0x21a)](_0x93625d),this[_0x4b7d84(0x2ba)](_0x93625d,_0x13e543,_0x712cc1[_0x4b7d84(0x2b9)])||this[_0x4b7d84(0x283)](_0x4b7d84(0x205));}}async[_0x25edc1(0x22f)](){const _0x6fb37a=_0x25edc1;this[_0x6fb37a(0x1db)]();const {locale:_0xd9d53d}=this[_0x6fb37a(0x233)];let _0x452fb2;try{_0x452fb2=await this[_0x6fb37a(0x232)][_0x6fb37a(0x1c7)]();}catch(_0x428ce2){const _0x36d204=_0x1ed547(_0xd9d53d,_0x6fb37a(0x1c5));return void this[_0x6fb37a(0x295)](_0x36d204);}const _0x4e5cac=_0x452fb2[_0x6fb37a(0x1e0)]||_0x452fb2[_0x6fb37a(0x243)];if(this[_0x6fb37a(0x254)]===_0x4e5cac[_0x6fb37a(0x2b9)])await this[_0x6fb37a(0x26d)](this[_0x6fb37a(0x233)][_0x6fb37a(0x2b7)][_0x6fb37a(0x26f)][_0x6fb37a(0x2a7)][_0x6fb37a(0x2a3)](),!0x0);else{const _0x2225f7=_0x1ed547(_0xd9d53d,_0x6fb37a(0x246));this[_0x6fb37a(0x295)](_0x2225f7);}}[_0x25edc1(0x1db)](){const _0x299a94=_0x25edc1;this[_0x299a94(0x232)][_0x299a94(0x1e8)](),this[_0x299a94(0x1ec)]=[],clearTimeout(this[_0x299a94(0x1f0)]),this[_0x299a94(0x2a6)](this[_0x299a94(0x232)]);}[_0x25edc1(0x1fa)](_0x2ed6ce){const _0x293fc1=_0x25edc1,_0xcb5554=this[_0x293fc1(0x233)][_0x293fc1(0x290)][_0x293fc1(0x1f8)](_0x22b84c);this[_0x293fc1(0x257)](_0xcb5554,_0x293fc1(0x222)+this[_0x293fc1(0x236)],(_0x39cf38,{session:_0x5a8da4})=>{const _0x496149=_0x293fc1;if(_0x5a8da4['id']===_0xcb5554[_0x496149(0x21c)]){_0x39cf38[_0x496149(0x244)]();const _0x5866f8=this[_0x496149(0x233)][_0x496149(0x290)][_0x496149(0x2a8)](_0x496149(0x2b6))&&this[_0x496149(0x233)][_0x496149(0x290)][_0x496149(0x1f8)](_0x496149(0x2b6));let _0x411371=_0x5a8da4[_0x496149(0x28f)];_0x5866f8&&_0x5866f8[_0x496149(0x1e2)]&&(_0x411371=_0x411371[_0x496149(0x28d)](_0x589eb3=>_0x496149(0x24f)!==_0x589eb3)),this[_0x496149(0x233)][_0x496149(0x290)][_0x496149(0x1f8)](_0x496149(0x211))[_0x496149(0x2a1)](_0x411371,this[_0x496149(0x236)]);}}),_0xcb5554[_0x293fc1(0x21e)](this[_0x293fc1(0x236)],_0x2ed6ce);}[_0x25edc1(0x239)](){const _0x3c8f4a=_0x25edc1,_0x265669=this[_0x3c8f4a(0x233)][_0x3c8f4a(0x1c8)][_0x3c8f4a(0x2b2)];this[_0x3c8f4a(0x233)][_0x3c8f4a(0x1c8)][_0x3c8f4a(0x2b2)]=(..._0x41deb6)=>{const _0xbbfa6=_0x3c8f4a;if(!_0x41deb6[_0x41deb6[_0xbbfa6(0x284)]-0x1][_0xbbfa6(0x1ed)])throw new _0x5af213(_0xbbfa6(0x258),this);_0x265669[_0xbbfa6(0x282)](this[_0xbbfa6(0x233)][_0xbbfa6(0x1c8)],_0x41deb6);};}[_0x25edc1(0x2bb)](){const _0xee6141=_0x25edc1;this[_0xee6141(0x233)][_0xee6141(0x1c8)]['on'](_0xee6141(0x235),(_0x4eaf14,[_0x3cb387])=>{const _0x29bacb=_0xee6141;if(this[_0x29bacb(0x294)][_0x29bacb(0x28b)])throw new _0x5af213(_0x29bacb(0x216),this);_0x4eaf14[_0x29bacb(0x274)](),this[_0x29bacb(0x298)]();const _0x17a64a=this[_0x29bacb(0x233)][_0x29bacb(0x225)][_0x29bacb(0x1f8)](_0x29bacb(0x2b3)),_0xbe81ad=this[_0x29bacb(0x207)](_0x3cb387,_0x17a64a);0x0==_0xbe81ad[_0x29bacb(0x284)]&&_0xbe81ad[_0x29bacb(0x253)](new _0x4703cf(0x0)),_0x4eaf14[_0x29bacb(0x24d)]=this[_0x29bacb(0x26d)](_0xbe81ad)[_0x29bacb(0x23c)](()=>{const _0x1f6d1b=_0x29bacb;this[_0x1f6d1b(0x233)][_0x1f6d1b(0x290)][_0x1f6d1b(0x1f8)](_0x14bdb3)[_0x1f6d1b(0x22d)](this),this[_0x1f6d1b(0x233)][_0x1f6d1b(0x1c8)][_0x1f6d1b(0x297)](_0x1f6d1b(0x240));})[_0x29bacb(0x1c0)](_0x11da4e=>this[_0x29bacb(0x283)](_0x29bacb(0x1f9),_0x11da4e))[_0x29bacb(0x1f3)](()=>this[_0x29bacb(0x1ee)]());},{'priority':_0xee6141(0x242)}),this[_0xee6141(0x233)]['on'](_0xee6141(0x23b),async(_0xb5691,[_0x3c18fa,_0x5e7502])=>{const _0x310387=_0xee6141;_0xb5691[_0x310387(0x274)]();const _0x1ee061=this[_0x310387(0x233)][_0x310387(0x2b7)][_0x310387(0x26f)][_0x310387(0x220)](_0x3c18fa);if(!this[_0x310387(0x20d)][_0x310387(0x2a8)](_0x3c18fa)){const _0x18411e=_0x5e7502&&_0x5e7502[_0x310387(0x1c8)]?_0x5e7502[_0x310387(0x1c8)]:'',_0x4b4e0a=_0x5e7502&&_0x5e7502[_0x310387(0x20b)]?_0x5e7502[_0x310387(0x20b)]:{};await this[_0x310387(0x268)](_0x3c18fa,_0x18411e,_0x4b4e0a);}this[_0x310387(0x233)][_0x310387(0x2b7)][_0x310387(0x1bf)]({'isUndoable':!0x1},()=>{const _0x2e569f=_0x310387;_0x1ee061[_0x2e569f(0x1f1)]=!0x0,this[_0x2e569f(0x233)][_0x2e569f(0x2b7)][_0x2e569f(0x26f)][_0x2e569f(0x219)][_0x2e569f(0x286)](_0x1ee061);});},{'priority':_0xee6141(0x242)});}async[_0x25edc1(0x21a)](_0x3baedb){const _0x7d47=_0x25edc1,_0x1e010d=this[_0x7d47(0x233)][_0x7d47(0x290)][_0x7d47(0x1f8)](_0x3dccb6),{connection:_0xc48f79}=this[_0x7d47(0x233)][_0x7d47(0x290)][_0x7d47(0x1f8)](_0x14bdb3),_0x437fcb=new Set();for(const _0x27e8df of _0x3baedb){const _0x42da8f=_0x27e8df[_0x7d47(0x223)];_0x42da8f&&!_0x1e010d[_0x7d47(0x291)](_0x42da8f)&&_0x437fcb[_0x7d47(0x1ea)](_0x42da8f);}if(0x0===_0x437fcb[_0x7d47(0x23e)])return;const _0xc67c36=await _0x1cf8ac[_0x7d47(0x26c)](_0xc48f79,Array[_0x7d47(0x267)](_0x437fcb));for(const _0x59a4d8 of _0xc67c36)_0x1e010d[_0x7d47(0x291)](_0x59a4d8['id'])||_0x1e010d[_0x7d47(0x2a2)](_0x59a4d8);}[_0x25edc1(0x207)](_0x26555d,_0x508805={}){const _0x35ecb7=_0x25edc1,_0x4159a3=this[_0x35ecb7(0x233)][_0x35ecb7(0x2b7)],_0x1e09e6=[];let _0x28184a=0x0;const _0x1a809c=_0x35ecb7(0x29b)==typeof _0x26555d?{'main':_0x26555d}:_0x26555d;for(const _0x5f19c1 of Object[_0x35ecb7(0x25b)](_0x1a809c)){if(!this[_0x35ecb7(0x294)][_0x35ecb7(0x28a)][_0x35ecb7(0x2a8)](_0x5f19c1))throw new _0x5af213(_0x35ecb7(0x299),this);const _0x1680f4=this[_0x35ecb7(0x233)][_0x35ecb7(0x1c8)][_0x35ecb7(0x251)](_0x1a809c[_0x5f19c1]),_0x72a3d8=this[_0x35ecb7(0x294)][_0x35ecb7(0x220)](_0x5f19c1),_0xe9fc8c=new _0x3e7a44(_0x4159a3[_0x35ecb7(0x22a)](_0x72a3d8,0x0),_0x1680f4,_0x28184a++);_0x1e09e6[_0x35ecb7(0x253)](_0xe9fc8c);for(const [_0x4b3828,_0x226534]of _0x1680f4[_0x35ecb7(0x1b9)]){const _0x55f2f1=_0x4159a3[_0x35ecb7(0x1e9)](_0x4159a3[_0x35ecb7(0x1e3)](_0x72a3d8,_0x226534[_0x35ecb7(0x1d0)][_0x35ecb7(0x252)][_0x35ecb7(0x1ce)]()),_0x4159a3[_0x35ecb7(0x1e3)](_0x72a3d8,_0x226534[_0x35ecb7(0x1e6)][_0x35ecb7(0x252)][_0x35ecb7(0x1ce)]())),_0x303ca8=new _0x217b0f(_0x4b3828,null,_0x55f2f1,_0x4159a3[_0x35ecb7(0x1b9)],!0x0,_0x28184a++);_0x1e09e6[_0x35ecb7(0x253)](_0x303ca8);}}if(_0x508805)for(const [_0x399cac,_0xb8d336]of Object[_0x35ecb7(0x25f)](_0x508805)){const _0x3195a4=_0x4159a3[_0x35ecb7(0x26f)][_0x35ecb7(0x220)](_0x399cac);if(!_0x3195a4)throw new _0x5af213(_0x35ecb7(0x22e),null);for(const [_0x1912f8,_0x3267ba]of Object[_0x35ecb7(0x25f)](_0xb8d336))if(null!==_0x3267ba){const _0x44aefb=new _0x4a837d(_0x3195a4,_0x1912f8,null,_0x3267ba,_0x28184a++);_0x1e09e6[_0x35ecb7(0x253)](_0x44aefb);}}return _0x1e09e6;}async[_0x25edc1(0x268)](_0x4f4688,_0x101804,_0x484141){const _0x26e3dc=_0x25edc1;this[_0x26e3dc(0x207)]({[_0x4f4688]:_0x101804},{[_0x4f4688]:_0x484141})[_0x26e3dc(0x288)]((_0x212497,_0x422127)=>{const _0x2258c6=_0x26e3dc;_0x212497[_0x2258c6(0x234)]=this[_0x2258c6(0x294)][_0x2258c6(0x28b)]+_0x422127,_0x212497[_0x2258c6(0x208)]=!0x0,this[_0x2258c6(0x214)](_0x212497);}),this[_0x26e3dc(0x2b5)](),await this[_0x26e3dc(0x28e)]();}async[_0x25edc1(0x1c3)](_0x4cb825,_0x2762da){const _0x1678ec=_0x25edc1;let _0x5a5263;this[_0x1678ec(0x1e7)]=_0x4cb825[_0x1678ec(0x203)];const _0x10ead2=_0x4cb825[_0x1678ec(0x249)]&&!_0x4cb825[_0x1678ec(0x20e)],_0x133f31=_0x10ead2?0x0:_0x4cb825[_0x1678ec(0x1c8)][_0x1678ec(0x234)];if(_0x2762da[_0x1678ec(0x288)](_0x441e71=>{const _0xcef707=_0x1678ec;_0x441e71[_0xcef707(0x208)]=!0x0,_0x441e71[_0xcef707(0x230)]=_0x4cb825[_0xcef707(0x265)],_0x441e71[_0xcef707(0x223)]=null;}),_0x10ead2)_0x5a5263=_0x2762da,this[_0x1678ec(0x287)](_0x5a5263,_0x10ead2);else{if(_0x4cb825[_0x1678ec(0x20e)]){const _0x5725e0=this[_0x1678ec(0x207)](_0x4cb825[_0x1678ec(0x20e)]);this[_0x1678ec(0x294)][_0x1678ec(0x2a7)][_0x1678ec(0x28b)]=-_0x5725e0[_0x1678ec(0x284)],_0x5725e0[_0x1678ec(0x288)](_0x1a5449=>{const _0x390b3f=_0x1678ec;_0x1a5449[_0x390b3f(0x234)]-=_0x5725e0[_0x390b3f(0x284)],_0x1a5449[_0x390b3f(0x230)]=_0x4cb825[_0x390b3f(0x265)],_0x1a5449[_0x390b3f(0x208)]=!0x0,_0x1a5449[_0x390b3f(0x223)]=null;}),this[_0x1678ec(0x287)](_0x5725e0,!0x0),this[_0x1678ec(0x23f)][_0x1678ec(0x28b)]=-_0x5725e0[_0x1678ec(0x284)]+this[_0x1678ec(0x1e7)],this[_0x1678ec(0x20f)](_0x5725e0);}this[_0x1678ec(0x294)][_0x1678ec(0x2a7)][_0x1678ec(0x28b)]=_0x133f31,_0x5a5263=this[_0x1678ec(0x1cd)](_0x4cb825[_0x1678ec(0x1c8)],_0x4cb825[_0x1678ec(0x1ff)]),await this[_0x1678ec(0x21a)](_0x5a5263),this[_0x1678ec(0x287)](_0x5a5263,_0x10ead2);}_0x4cb825[_0x1678ec(0x2b9)]&&(this[_0x1678ec(0x2bd)][_0x1678ec(0x281)](_0x5a5263,_0x4cb825[_0x1678ec(0x2b9)]),this[_0x1678ec(0x254)]=_0x4cb825[_0x1678ec(0x2b9)]),this[_0x1678ec(0x23f)][_0x1678ec(0x28b)]=_0x133f31+this[_0x1678ec(0x1e7)],this[_0x1678ec(0x20f)](_0x5a5263),_0x2762da[_0x1678ec(0x28d)](_0x5170af=>{const _0x414deb=_0x1678ec,_0x4ee501=this[_0x414deb(0x1d2)](_0x5170af);return _0x4ee501&&!this[_0x414deb(0x20d)][_0x414deb(0x2a8)](_0x4ee501);})[_0x1678ec(0x288)]((_0x1fe242,_0xdac940)=>{const _0x4061b2=_0x1678ec;_0x1fe242[_0x4061b2(0x234)]=this[_0x4061b2(0x294)][_0x4061b2(0x28b)]+_0xdac940,this[_0x4061b2(0x214)](_0x1fe242);}),this[_0x1678ec(0x1ca)]()?(this[_0x1678ec(0x277)]=0x0,this[_0x1678ec(0x2b5)](!0x0),await this[_0x1678ec(0x28e)]()):(this[_0x1678ec(0x280)]=!0x1,this[_0x1678ec(0x1ee)]());}[_0x25edc1(0x283)](_0x5a7232,_0x2783b0){const _0xd4aa5f=_0x25edc1,_0x431925=_0x2783b0&&_0x2783b0[_0xd4aa5f(0x24c)];if(_0x431925&&_0x431925[_0xd4aa5f(0x21b)](_0xd4aa5f(0x273)))throw _0x2783b0;const _0xa4e643=this[_0xd4aa5f(0x233)][_0xd4aa5f(0x290)][_0xd4aa5f(0x1f8)](_0x14bdb3);throw this[_0xd4aa5f(0x280)]=!0x0,_0xa4e643[_0xd4aa5f(0x1e8)](),this[_0xd4aa5f(0x233)][_0xd4aa5f(0x28c)](_0xd4aa5f(0x1cb)),new _0x5af213(_0x5a7232,this[_0xd4aa5f(0x233)],_0x431925?{'originalError':_0x431925}:void 0x0);}[_0x25edc1(0x214)](_0x1352db){const _0x2af228=_0x25edc1;this[_0x2af228(0x266)][_0x2af228(0x2a8)](_0x1352db)||(this[_0x2af228(0x266)][_0x2af228(0x1ea)](_0x1352db),this[_0x2af228(0x1ec)][_0x2af228(0x253)](_0x1352db),this[_0x2af228(0x2ae)]||_0x2af228(0x202)==_0x1352db[_0x2af228(0x1ef)]&&!_0x1352db[_0x2af228(0x27c)]||this[_0x2af228(0x298)]());}[_0x25edc1(0x2b5)](_0x2dd127=!0x1){const _0x26cc2d=_0x25edc1;!_0x2dd127&&this[_0x26cc2d(0x280)]||(this[_0x26cc2d(0x280)]=!0x0,clearTimeout(this[_0x26cc2d(0x1f0)]),this[_0x26cc2d(0x1f0)]=setTimeout(()=>{const _0x3a4703=_0x26cc2d;this[_0x3a4703(0x248)]()[_0x3a4703(0x23c)](_0x8ae256=>{const _0x15107d=_0x3a4703;_0x8ae256&&(this[_0x15107d(0x1ee)](),this[_0x15107d(0x280)]=!0x1);})[_0x3a4703(0x1c0)](_0x3a755d=>{const _0x111ee2=_0x3a4703;this[_0x111ee2(0x1ee)](),this[_0x111ee2(0x280)]=!0x1,function(_0x32113f){const _0x4ce4be=_0x111ee2;return _0x32113f[_0x4ce4be(0x24c)][_0x4ce4be(0x21b)](_0x4ce4be(0x1d4))||_0x32113f[_0x4ce4be(0x24c)][_0x4ce4be(0x21b)](_0x4ce4be(0x2a0))||_0x32113f[_0x4ce4be(0x24c)][_0x4ce4be(0x21b)](_0x4ce4be(0x2a9));}(_0x3a755d)||this[_0x111ee2(0x283)](_0x3a755d[_0x111ee2(0x24c)],_0x3a755d);});},this[_0x26cc2d(0x277)]));}[_0x25edc1(0x28e)](){return new Promise(_0x5463db=>{const _0x51db00=_0x4d7c;this['on'](_0x51db00(0x2be),()=>{_0x5463db();});});}async[_0x25edc1(0x248)](){const _0x2de747=_0x25edc1,_0x52303c=this[_0x2de747(0x233)][_0x2de747(0x290)][_0x2de747(0x1f8)](_0x1d73c3);if(this[_0x2de747(0x1cc)]()&&(_0x52303c[_0x2de747(0x1de)](),this[_0x2de747(0x213)]=!0x1),!this[_0x2de747(0x1ca)]())return!0x0;const _0x2ed4cc=[...this[_0x2de747(0x1ec)]];for(const _0x515aca of _0x2ed4cc)_0x515aca[_0x2de747(0x29f)]=this[_0x2de747(0x294)][_0x2de747(0x2a7)][_0x2de747(0x270)](_0x515aca);const _0x579885=this[_0x2de747(0x2bd)][_0x2de747(0x262)](_0x2ed4cc),_0x2b7290=F++,_0x2e5cfb=this[_0x2de747(0x264)](_0x2ed4cc),_0x453601=await this[_0x2de747(0x232)][_0x2de747(0x206)](_0x2e5cfb,_0x2e5cfb[_0x2de747(0x234)],_0x579885);try{return await this[_0x2de747(0x1be)](_0x2ed4cc,_0x453601,_0x2b7290);}catch(_0x193dca){return this[_0x2de747(0x283)](_0x2de747(0x245),_0x193dca);}}async[_0x25edc1(0x1be)](_0x227e72,_0x52a625,_0x342318){const _0x4d1332=_0x25edc1;if(_0x4d1332(0x260)in _0x52a625)throw _0x52a625[_0x4d1332(0x260)];let _0x5d5068=!0x1;if(_0x52a625[_0x4d1332(0x249)]){_0x52a625[_0x4d1332(0x2b9)]&&(this[_0x4d1332(0x254)]=_0x52a625[_0x4d1332(0x2b9)]),this[_0x4d1332(0x1ec)]=this[_0x4d1332(0x1ec)][_0x4d1332(0x28d)](_0x2f860c=>!_0x227e72[_0x4d1332(0x2ab)](_0x2f860c));for(const _0x469c89 of _0x227e72)_0x469c89[_0x4d1332(0x230)]=_0x4d1332(0x1e5)in _0x52a625&&_0x52a625[_0x4d1332(0x1e5)]||void 0x0;q(_0x227e72,_0x52a625[_0x4d1332(0x28b)]-_0x227e72[_0x4d1332(0x284)]),this[_0x4d1332(0x20f)](_0x227e72);const _0xf225fa=_0x227e72[_0x4d1332(0x28d)](_0x143a40=>{const _0x389aff=_0x4d1332;if(!_0x143a40[_0x389aff(0x208)])return!0x1;const _0x2b5509=this[_0x389aff(0x1d2)](_0x143a40);return _0x2b5509&&!this[_0x389aff(0x20d)][_0x389aff(0x2a8)](_0x2b5509);});q(_0xf225fa,this[_0x4d1332(0x294)][_0x4d1332(0x28b)]),this[_0x4d1332(0x287)](_0xf225fa),_0x5d5068=!0x0,this[_0x4d1332(0x277)]=this[_0x4d1332(0x1d1)];}else{const _0x34230a=this[_0x4d1332(0x1cd)](_0x52a625[_0x4d1332(0x1c8)],_0x52a625[_0x4d1332(0x1ff)])[_0x4d1332(0x28d)](_0x10dcc1=>_0x10dcc1[_0x4d1332(0x234)]>=this[_0x4d1332(0x26a)]);_0x34230a[_0x4d1332(0x288)](_0x43c69c=>this[_0x4d1332(0x275)](_0x43c69c)),this[_0x4d1332(0x1ec)]=this[_0x4d1332(0x1ec)][_0x4d1332(0x28d)](_0x37c3e9=>!_0x37c3e9[_0x4d1332(0x208)]||!this[_0x4d1332(0x20d)][_0x4d1332(0x2a8)](this[_0x4d1332(0x1d2)](_0x37c3e9))),this[_0x4d1332(0x1ec)][_0x4d1332(0x284)]&&q(this[_0x4d1332(0x1ec)],this[_0x4d1332(0x1ec)][0x0][_0x4d1332(0x234)]),await this[_0x4d1332(0x21a)](_0x34230a),_0x5d5068=this[_0x4d1332(0x2ba)](_0x34230a,_0x52a625[_0x4d1332(0x28b)],_0x52a625[_0x4d1332(0x2b9)]),this[_0x4d1332(0x277)]=Math[_0x4d1332(0x215)](this[_0x4d1332(0x277)]/0x2);}return _0x5d5068?!this[_0x4d1332(0x1ca)]()||(this[_0x4d1332(0x2b5)](!0x0),!0x1):this[_0x4d1332(0x283)](_0x4d1332(0x217));}[_0x25edc1(0x2ba)](_0x1c3428,_0x2aab3d,_0x450ef5){const _0x304ade=_0x25edc1;try{const _0x37476e={'document':this[_0x304ade(0x294)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4f5010,operationsB:_0x1993fa,originalOperations:_0x52de7b}=_0x268478(_0x1c3428,this[_0x304ade(0x1ec)],_0x37476e);q(_0x4f5010,this[_0x304ade(0x294)][_0x304ade(0x28b)]),q(_0x1993fa,_0x2aab3d);for(const _0x5575ad of _0x4f5010){const _0x25bcb0=_0x52de7b[_0x304ade(0x1f8)](_0x5575ad);_0x5575ad[_0x304ade(0x223)]=_0x25bcb0?_0x25bcb0[_0x304ade(0x223)]:null;}_0x450ef5&&(this[_0x304ade(0x2bd)][_0x304ade(0x281)](_0x1c3428,_0x450ef5),this[_0x304ade(0x254)]=_0x450ef5),this[_0x304ade(0x1ec)]=[..._0x1993fa],this[_0x304ade(0x287)](_0x4f5010),this[_0x304ade(0x20f)](_0x1c3428);}catch(_0x30f357){return console[_0x304ade(0x260)](_0x30f357),!0x1;}return!0x0;}[_0x25edc1(0x287)](_0x3c2748,_0x27f622=!0x1){const _0x2ca73c=_0x25edc1;this[_0x2ca73c(0x233)][_0x2ca73c(0x2b7)][_0x2ca73c(0x1bf)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1612a1=>{const _0x1c9d9b=_0x2ca73c;for(const _0x7b1ddc of _0x3c2748)this[_0x1c9d9b(0x266)][_0x1c9d9b(0x1ea)](_0x7b1ddc),this[_0x1c9d9b(0x275)](_0x7b1ddc),_0x1612a1[_0x1c9d9b(0x1fd)][_0x1c9d9b(0x224)](_0x7b1ddc),this[_0x1c9d9b(0x233)][_0x1c9d9b(0x2b7)][_0x1c9d9b(0x285)](_0x7b1ddc);});}[_0x25edc1(0x275)](_0x19e102){const _0x192f46=_0x25edc1,_0x5b5ebc=this[_0x192f46(0x1d2)](_0x19e102);_0x5b5ebc&&this[_0x192f46(0x20d)][_0x192f46(0x1ea)](_0x5b5ebc);}[_0x25edc1(0x1d2)](_0x533eac){const _0x57e5ce=_0x25edc1;let _0x4144d7,_0x3415b0;switch(_0x533eac[_0x57e5ce(0x1ef)]){case _0x57e5ce(0x227):_0x4144d7=_0x533eac[_0x57e5ce(0x25a)][_0x57e5ce(0x2b4)];break;case _0x57e5ce(0x202):if(_0x3415b0=_0x533eac[_0x57e5ce(0x200)],!_0x3415b0)return null;_0x4144d7=_0x3415b0[_0x57e5ce(0x2b4)];break;case _0x57e5ce(0x1c9):_0x4144d7=_0x533eac[_0x57e5ce(0x2b4)];break;case _0x57e5ce(0x228):_0x4144d7=_0x533eac[_0x57e5ce(0x259)];break;case _0x57e5ce(0x1f6):_0x4144d7=_0x533eac[_0x57e5ce(0x22b)][_0x57e5ce(0x2b4)];break;default:return null;}return _0x4144d7[_0x57e5ce(0x2a5)];}[_0x25edc1(0x20f)](_0x399bd5){const _0x537076=_0x25edc1;_0x399bd5[_0x537076(0x288)](_0x161223=>{const _0x3c79cd=_0x537076,_0x4fa2c9=_0x161223[_0x3c79cd(0x1d3)]();_0x4fa2c9[_0x3c79cd(0x223)]=_0x161223[_0x3c79cd(0x223)],_0x4fa2c9[_0x3c79cd(0x208)]=!!_0x161223[_0x3c79cd(0x208)],_0x4fa2c9[_0x3c79cd(0x230)]=_0x161223[_0x3c79cd(0x230)],_0x4fa2c9[_0x3c79cd(0x234)]+=this[_0x3c79cd(0x1e7)],_0x161223[_0x3c79cd(0x1fb)]&&this[_0x3c79cd(0x29d)][_0x3c79cd(0x1ea)](_0x4fa2c9),this[_0x3c79cd(0x23f)][_0x3c79cd(0x224)](_0x4fa2c9);});}[_0x25edc1(0x295)](_0xd8a481){const _0x227d26=_0x25edc1,_0x152507=this[_0x227d26(0x233)][_0x227d26(0x290)][_0x227d26(0x1f8)](_0x227d26(0x256)),_0x38545e=this[_0x227d26(0x233)][_0x227d26(0x24b)];_0xd8a481||(_0xd8a481=_0x1ed547(_0x38545e,_0x227d26(0x1c2))),_0x152507[_0x227d26(0x29c)](_0xd8a481,{'title':_0x1ed547(_0x38545e,_0x227d26(0x1c6)),'namespace':_0x227d26(0x271)}),this[_0x227d26(0x27b)]=!0x0,clearTimeout(this[_0x227d26(0x1f0)]),this[_0x227d26(0x1ec)]=[],this[_0x227d26(0x233)][_0x227d26(0x290)][_0x227d26(0x1f8)](_0x14bdb3)[_0x227d26(0x1e8)]();}[_0x25edc1(0x298)](){const _0x13b760=_0x25edc1;this[_0x13b760(0x2ae)]||(this[_0x13b760(0x2ae)]=this[_0x13b760(0x233)][_0x13b760(0x290)][_0x13b760(0x1f8)](_0x1d6655)[_0x13b760(0x1ea)](_0x1ed547(this[_0x13b760(0x233)][_0x13b760(0x24b)],_0x13b760(0x20a))));}[_0x25edc1(0x1ee)](){const _0x14c0c4=_0x25edc1;this[_0x14c0c4(0x2ae)]&&(this[_0x14c0c4(0x233)][_0x14c0c4(0x290)][_0x14c0c4(0x1f8)](_0x1d6655)[_0x14c0c4(0x1e1)](this[_0x14c0c4(0x2ae)]),this[_0x14c0c4(0x2ae)]=null);}[_0x25edc1(0x264)](_0x3c905b){const _0x90ace8=_0x25edc1,_0x202592=_0x3c905b[_0x90ace8(0x1fc)](_0x5d43af=>_0x5d43af[_0x90ace8(0x2b0)]());return this[_0x90ace8(0x26b)][_0x90ace8(0x1bc)](_0x202592);}[_0x25edc1(0x1cd)](_0x4550a2,_0x1ad491){const _0x13941c=_0x25edc1;return this[_0x13941c(0x26b)][_0x13941c(0x292)](_0x4550a2)[_0x13941c(0x1fc)]((_0x2b34f2,_0x544299)=>{const _0x11b3d9=_0x13941c,_0x1a671d=_0x11b3d9(0x235)==_0x1ad491[_0x544299][_0x11b3d9(0x1ef)];if(_0x11b3d9(0x1cf)==_0x2b34f2[_0x11b3d9(0x238)]){const _0x3b3de9=_0x2b34f2[_0x11b3d9(0x25a)][_0x11b3d9(0x2b4)];!this[_0x11b3d9(0x294)][_0x11b3d9(0x220)](_0x3b3de9)&&(this[_0x11b3d9(0x294)][_0x11b3d9(0x2b8)](_0x11b3d9(0x21d),_0x3b3de9)[_0x11b3d9(0x250)]=!0x1);}const _0xb62257=_0x1ea7b6[_0x11b3d9(0x2ad)](_0x2b34f2,this[_0x11b3d9(0x294)]);return _0xb62257[_0x11b3d9(0x29f)]=_0x2b34f2[_0x11b3d9(0x29f)],_0xb62257[_0x11b3d9(0x208)]=_0x1a671d,_0xb62257[_0x11b3d9(0x223)]=_0x1a671d?null:_0x1ad491[_0x544299][_0x11b3d9(0x1f2)],_0xb62257[_0x11b3d9(0x1fb)]=_0x11b3d9(0x23a)===_0x1ad491[_0x544299][_0x11b3d9(0x1ef)],_0xb62257[_0x11b3d9(0x230)]=_0x1ad491[_0x544299][_0x11b3d9(0x230)],_0xb62257;});}[_0x25edc1(0x1e4)](){const _0x3101be=_0x25edc1;this[_0x3101be(0x213)]=!0x0,this[_0x3101be(0x1cc)]()?this[_0x3101be(0x2b5)]():this[_0x3101be(0x213)]=!0x1;}[_0x25edc1(0x1cc)](){const _0xc434de=_0x25edc1,_0x5d725c=this[_0xc434de(0x233)][_0xc434de(0x290)][_0xc434de(0x1f8)](_0x22b84c)[_0xc434de(0x1bd)][_0xc434de(0x1f8)](this[_0xc434de(0x236)]);return!this[_0xc434de(0x233)][_0xc434de(0x1eb)]&&!!_0x5d725c&&_0x5d725c[_0xc434de(0x284)]>0x1&&this[_0xc434de(0x213)];}[_0x25edc1(0x1ca)](){const _0x536ba2=_0x25edc1;return this[_0x536ba2(0x1ec)][_0x536ba2(0x284)]>0x0||this[_0x536ba2(0x1cc)]();}}l[_0x25edc1(0x218)]=_0x37337b;export default l;class H extends Error{}function q(_0xf033bb,_0x1f139e){const _0x2cc0f2=_0x25edc1;for(const _0x39fd7d of _0xf033bb)_0x39fd7d[_0x2cc0f2(0x234)]=_0x1f139e++;}class G{constructor(_0x17ade8){const _0x5dbae3=_0x25edc1;this[_0x5dbae3(0x1f5)]=_0x17ade8,this[_0x5dbae3(0x210)]=new WeakMap();}[_0x25edc1(0x262)](_0x105cb2){const _0x3313df=_0x25edc1;let _0x54eef1=_0x105cb2[_0x3313df(0x284)];for(;_0x54eef1--;){const _0x167493=_0x105cb2[_0x54eef1];if(!this[_0x3313df(0x1f5)][_0x3313df(0x2a8)](_0x167493)){if(!this[_0x3313df(0x210)][_0x3313df(0x2a8)](_0x167493)){const _0x57bf0f=_0x23932a()[_0x3313df(0x1ce)](0x1,0x12);this[_0x3313df(0x210)][_0x3313df(0x2b2)](_0x167493,_0x57bf0f);}return this[_0x3313df(0x210)][_0x3313df(0x1f8)](_0x167493);}}}[_0x25edc1(0x281)](_0x6677a3,_0x4290d6){const _0xe32389=_0x25edc1;if(!_0x4290d6)return;let _0x1fce67=_0x6677a3[_0xe32389(0x284)];for(;_0x1fce67--;){const _0x55da45=_0x6677a3[_0x1fce67];this[_0xe32389(0x1f5)][_0xe32389(0x2a8)](_0x55da45)||this[_0xe32389(0x210)][_0xe32389(0x2b2)](_0x55da45,_0x4290d6);}}}function _0x2aca(){const _0x2b8323=['position','keys','requires','realtimecollaborationclient-init-service-internal-error','rtc-destroyed','entries','error','pluginName','getIdOfTheLastOperation','reset','_compressOperations','sessionCreatedAt','_knownOperations','from','_loadRoot','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_lastServerVersion','_compressor','getMany','_connectService','directChange','document','isUndoneOperation','real-time-collaboration','reconnection:\x20flushed\x20session','realtimecollaborationclient','stop','_addKnownRoot','rtc-offline','_currentBufferDelay','1560024lPKZZC','disconnected','RealTimeCollaborationClient','_hasSynchronizationProblem','affectsData','isPremiumPlugin','collaboration.channelId','732506EqzmNx','_isPendingUpdate','setIdForTheLastOperation','apply','_crash','length','applyOperation','_bufferRootLoad','_applyOperationsSet','forEach','cloudDocumentVersion','roots','version','enableReadOnlyMode','filter','_waitUntilSynced','permissions','plugins','getUser','decompress','bind','_document','_handleReconnectionError','realtimecollaborationclient-init-session-connection-error','fire','_setPendingAction','realtimecollaborationclient-init-non-existent-root','1284OCiECh','string','showWarning','_disconnectionOperations','isDocumentOperation','wasUndone','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','setPermissions','addUser','getOperations','_handleReconnectionResponse','rootName','stopListening','history','has','cloud-services-internal-error:\x20Request\x20timeout.','getOperationAuthor','includes','60510KQwVCa','fromJSON','_pendingAction','40JVUpMs','toJSON','editing','set','rootsAttributes','root','_sendBufferedOperationsDelayed','CommentsOnly','model','createRoot','lastOperationId','_handleExternalOperations','_setUpDataInit','state','_operationIdentifier','change:_isPendingUpdate','sessionId','markers','404','change:range','compress','channelSessions','_handleServerResponse','enqueueChange','catch','cloudServices.bundleVersion','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.','_handleInitialConnectionData','_handleSendingSelectionMarkers','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','Synchronization\x20issue','getDocumentDetails','data','addRootAttribute','_shouldSendUpdate','realtimecollaborationclient-error','_shouldSendSelectionUpdate','_decompressOperations','slice','InsertOperation','start','_baseBufferDelay','_getAffectedRoot','clone','cloud-services-internal-error:\x20Not\x20connected.','operationsReceived','connected','1142414oWbPNA','reconnect','2954124mQZAJp','view','_disconnectService','code','change:_isEditingAllowed','createUserMarkerOperations','470VTlkyq','currentDocumentSession','remove','isEnabled','createPositionFromPath','_refreshUserSelectionMarkers','lastOperationAcceptedAt','end','_offset','disconnect','createRange','add','isReadOnly','_bufferedOperations','suppressErrorInCollaboration','_clearPendingAction','type','_sendBufferedOperationsDelayId','_isLoaded','userId','finally','disableReadOnlyMode','_ignoredOperations','move','_isConnected','get','realtimecollaborationclient-init-connection-failed','_initSessionsHandling','_isDisconnection','map','batch','connect','metadata','newRange','define','marker','offset','409','realtimecollaborationclient-init-service-incorrect-server-operation','sendOperations','_getOperationsFromInitData','_isInit','_isEditingAllowed','PENDING_ACTION_SENDING_DATA','attributes','collaboration','_knownRootNames','initData','_updateServerHistory','_operationToId','Permissions','406483iooyHt','_hasSelectionChanged','_saveOperationInBuffer','round','realtimecollaborationclient-init-document-already-initialized','realtimecollaborationclient-handleserverresponse','CollaborativeEditingService','differ','_fetchMissingUsers','startsWith','mySessionId','$root','register','lastSyncVersion','getRoot','selection','sessionAdd:','_authorId','addOperation','config','485mpMEai','insert','addRoot','14912JBhGgc','createPositionAt','targetPosition','change:hasDomSelection','addToReconnectionStack','multi-root-editor-root-attributes-no-root','_connectAfterSessionHasBeenFlushed','createdAt','getConnectedSessions','_service','editor','baseVersion','init','_channelId','destroy','__className','_initThrowingOnDataSet','cs:removeUser','loadRoot','then','_handleReceivedOperations','size','serverHistory','ready','unregister','high','lastDocumentSession','off','realtimecollaborationclient-sendbufferedoperations','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','collaboration-missing-channelid','_sendBufferedOperations','wereChangesApplied','isOfficialPlugin','locale','message','return','connection','document:write','_isAttached','parse','path','push','_lastSyncedOperationId','removeFromReconnectionStack','Notification','listenTo','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','affectedSelectable'];_0x2aca=function(){return _0x2b8323;};return _0x2aca();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9e0373=_0x3aa0;(function(_0x224ba9,_0x40a5c3){const _0x559aa2=_0x3aa0,_0x40fb3d=_0x224ba9();while(!![]){try{const _0x4c1fa1=-parseInt(_0x559aa2(0x167))/0x1+-parseInt(_0x559aa2(0x170))/0x2*(parseInt(_0x559aa2(0x16f))/0x3)+parseInt(_0x559aa2(0x17b))/0x4*(-parseInt(_0x559aa2(0x190))/0x5)+parseInt(_0x559aa2(0x17e))/0x6*(parseInt(_0x559aa2(0x17d))/0x7)+-parseInt(_0x559aa2(0x17f))/0x8*(parseInt(_0x559aa2(0x195))/0x9)+parseInt(_0x559aa2(0x19f))/0xa*(-parseInt(_0x559aa2(0x171))/0xb)+parseInt(_0x559aa2(0x19c))/0xc*(parseInt(_0x559aa2(0x168))/0xd);if(_0x4c1fa1===_0x40a5c3)break;else _0x40fb3d['push'](_0x40fb3d['shift']());}catch(_0x3bcabc){_0x40fb3d['push'](_0x40fb3d['shift']());}}}(_0x3541,0x73b64));import{ContextPlugin as _0x4cb7f7}from'ckeditor5/src/core.js';function _0x3aa0(_0x43dec7,_0xfff95d){const _0x3541fe=_0x3541();return _0x3aa0=function(_0x3aa04c,_0x240df3){_0x3aa04c=_0x3aa04c-0x163;let _0x4f2aee=_0x3541fe[_0x3aa04c];return _0x4f2aee;},_0x3aa0(_0x43dec7,_0xfff95d);}import{Collection as _0x15124a,CKEditorError as _0x52be30}from'ckeditor5/src/utils.js';import _0x4c4a7f from'./websocketgateway.js';import{Users as _0x39bf6c}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x4cb7f7{static get[_0x9e0373(0x172)](){const _0x2eec3d=_0x9e0373;return _0x2eec3d(0x182);}static get[_0x9e0373(0x198)](){return!0x0;}static get[_0x9e0373(0x189)](){return!0x0;}static get[_0x9e0373(0x180)](){return[_0x4c4a7f,_0x39bf6c];}constructor(_0xb43d94){const _0x18a520=_0x9e0373;super(_0xb43d94),this[_0x18a520(0x18d)]=new Map(),this[_0x18a520(0x1a0)]=new Map(),this[_0x18a520(0x193)]=new _0x15124a(),this[_0x18a520(0x191)]=new Map(),this[_0x18a520(0x178)]=0x0,this[_0x18a520(0x1a3)]=this[_0x18a520(0x183)][_0x18a520(0x18c)][_0x18a520(0x18f)](_0x39bf6c);}[_0x9e0373(0x164)](){const _0x4d961e=_0x9e0373,_0x48cc63=this[_0x4d961e(0x183)][_0x4d961e(0x18c)][_0x4d961e(0x18f)](_0x4c4a7f);this[_0x4d961e(0x18e)](_0x48cc63,_0x4d961e(0x17a),(_0x5d9d39,_0x1b2a28,_0x3707c2)=>{const _0x5de88b=_0x4d961e;if(_0x5de88b(0x19d)!==_0x3707c2)this[_0x5de88b(0x18d)][_0x5de88b(0x184)](_0x3bd415=>_0x3bd415[_0x5de88b(0x196)]()),this[_0x5de88b(0x1a0)][_0x5de88b(0x184)](_0x34d1b4=>_0x34d1b4[_0x5de88b(0x196)]()),this[_0x5de88b(0x193)][_0x5de88b(0x196)]();else{for(const [_0x2cbcad,_0x5a0185]of this[_0x5de88b(0x191)])for(const _0x58bae2 of _0x5a0185)this[_0x5de88b(0x19a)](_0x2cbcad,_0x58bae2);}}),this[_0x4d961e(0x165)](_0x48cc63[_0x4d961e(0x18b)]['me'],!0x0);}[_0x9e0373(0x173)](_0x151fe6,_0x17644f){const _0x253572=_0x9e0373;if(this[_0x253572(0x191)][_0x253572(0x163)](_0x151fe6))throw new _0x52be30(_0x253572(0x16d),null,{'channelId':_0x151fe6});this[_0x253572(0x191)][_0x253572(0x19b)](_0x151fe6,_0x17644f),this[_0x253572(0x18d)][_0x253572(0x19b)](_0x151fe6,new _0x15124a()),this[_0x253572(0x1a0)][_0x253572(0x19b)](_0x151fe6,new _0x15124a()),this[_0x253572(0x18e)](_0x17644f,_0x253572(0x16b),(_0x3abfde,_0x3fc813)=>this[_0x253572(0x19a)](_0x151fe6,_0x3fc813)),this[_0x253572(0x18e)](_0x17644f,_0x253572(0x1a1),(_0x21116e,_0x3dddbb)=>this[_0x253572(0x179)](_0x151fe6,_0x3dddbb));for(const _0x593ea9 of _0x17644f)this[_0x253572(0x19a)](_0x151fe6,_0x593ea9);}[_0x9e0373(0x169)](_0x4738f1){const _0x663255=_0x9e0373;if(!this[_0x663255(0x191)][_0x663255(0x163)](_0x4738f1))throw new _0x52be30(_0x663255(0x19e),null,{'channelId':_0x4738f1});const _0x2593b7=this[_0x663255(0x191)][_0x663255(0x18f)](_0x4738f1);this[_0x663255(0x188)](_0x2593b7);for(const _0x58885d of _0x2593b7)_0x663255(0x19d)===this[_0x663255(0x183)][_0x663255(0x18c)][_0x663255(0x18f)](_0x4c4a7f)[_0x663255(0x16a)]&&this[_0x663255(0x179)](_0x4738f1,_0x58885d);this[_0x663255(0x191)][_0x663255(0x174)](_0x4738f1),this[_0x663255(0x18d)][_0x663255(0x174)](_0x4738f1),this[_0x663255(0x1a0)][_0x663255(0x174)](_0x4738f1);}get[_0x9e0373(0x197)](){const _0x337a8f=_0x9e0373;return this[_0x337a8f(0x183)][_0x337a8f(0x18c)][_0x337a8f(0x18f)](_0x4c4a7f)[_0x337a8f(0x18b)][_0x337a8f(0x16c)];}[_0x9e0373(0x181)](_0x204d57){const _0x4af216=_0x9e0373;for(const _0x3090f8 of this[_0x4af216(0x18d)][_0x4af216(0x185)]())for(const _0x3c0ff3 of _0x3090f8)if(_0x3c0ff3['id']===_0x204d57)return _0x3c0ff3[_0x4af216(0x1a2)];}[_0x9e0373(0x194)](_0x3408c9,_0x27c4b5){const _0x300366=_0x9e0373,_0x8d9287=_0x27c4b5?[this[_0x300366(0x18d)][_0x300366(0x18f)](_0x27c4b5)]:this[_0x300366(0x18d)][_0x300366(0x185)](),_0x5e3a7c=new Set();for(const _0x388e30 of _0x8d9287)for(const _0x1dc52d of _0x388e30)_0x1dc52d[_0x300366(0x1a2)]['id']===_0x3408c9['id']&&_0x5e3a7c[_0x300366(0x16b)](_0x1dc52d['id']);return _0x5e3a7c;}[_0x9e0373(0x16e)](_0x6d4e50){const _0x22a909=_0x9e0373;for(const _0x16aa84 of this[_0x22a909(0x18d)][_0x22a909(0x185)]())for(const _0x393261 of _0x16aa84)if(_0x393261[_0x22a909(0x1a2)]===_0x6d4e50)return _0x393261[_0x22a909(0x186)];}[_0x9e0373(0x19a)](_0x64b7e3,_0xc64ebb){const _0x1768a3=_0x9e0373;if(_0x1768a3(0x19d)!==this[_0x1768a3(0x183)][_0x1768a3(0x18c)][_0x1768a3(0x18f)](_0x4c4a7f)[_0x1768a3(0x16a)])return;const _0x5d0baf=_0xc64ebb[_0x1768a3(0x1a2)],_0x76b86e=this[_0x1768a3(0x1a3)][_0x1768a3(0x17c)](_0x5d0baf['id'])||this[_0x1768a3(0x165)](_0x5d0baf),_0xd2509=Object[_0x1768a3(0x199)]({},_0xc64ebb,{'user':_0x76b86e});this[_0x1768a3(0x18d)][_0x1768a3(0x18f)](_0x64b7e3)[_0x1768a3(0x16b)](_0xd2509);const _0x283216=this[_0x1768a3(0x1a0)][_0x1768a3(0x18f)](_0x64b7e3);_0x283216[_0x1768a3(0x163)](_0x76b86e['id'])||_0x283216[_0x1768a3(0x16b)](_0x76b86e),this[_0x1768a3(0x193)][_0x1768a3(0x163)](_0x76b86e['id'])||this[_0x1768a3(0x193)][_0x1768a3(0x16b)](_0x76b86e,_0x76b86e[_0x1768a3(0x187)]?0x0:void 0x0),this[_0x1768a3(0x166)](_0x1768a3(0x177)+_0x64b7e3,{'channelId':_0x64b7e3,'session':_0xd2509});}[_0x9e0373(0x179)](_0x56989d,_0x464c67){const _0x50f08f=_0x9e0373;if(_0x50f08f(0x19d)!==this[_0x50f08f(0x183)][_0x50f08f(0x18c)][_0x50f08f(0x18f)](_0x4c4a7f)[_0x50f08f(0x16a)])return;const _0xea677=this[_0x50f08f(0x1a0)][_0x50f08f(0x18f)](_0x56989d),_0x5a1495=_0x464c67[_0x50f08f(0x1a2)];_0x5a1495['id']&&(this[_0x50f08f(0x18d)][_0x50f08f(0x18f)](_0x56989d)[_0x50f08f(0x1a1)](_0x464c67['id']),_0xea677[_0x50f08f(0x163)](_0x5a1495['id'])&&!this[_0x50f08f(0x194)](_0x5a1495,_0x56989d)[_0x50f08f(0x192)]&&_0xea677[_0x50f08f(0x1a1)](_0x5a1495['id']),this[_0x50f08f(0x193)][_0x50f08f(0x18f)](_0x5a1495['id'])&&!this[_0x50f08f(0x194)](_0x5a1495)[_0x50f08f(0x192)]&&this[_0x50f08f(0x193)][_0x50f08f(0x1a1)](_0x5a1495['id']));}[_0x9e0373(0x165)](_0x8250cb,_0x16d2cb){const _0x4ad813=_0x9e0373,_0x6df6ec=this[_0x4ad813(0x1a3)][_0x4ad813(0x176)](_0x8250cb);return _0x16d2cb&&this[_0x4ad813(0x1a3)][_0x4ad813(0x175)](_0x8250cb['id']),_0x6df6ec[_0x4ad813(0x18a)]=this[_0x4ad813(0x178)]++,_0x6df6ec;}}function _0x3541(){const _0xc05290=['stopListening','isPremiumPlugin','orderNumber','connection','plugins','channelSessions','listenTo','get','98585lIjFVT','_registeredSessions','size','allConnectedUsers','getUserSessions','63711ewcXbs','clear','mySessionId','isOfficialPlugin','assign','_handleSessionAdd','set','11569032KvsmDv','connected','sessions-unregister-not-exist','410vQlwQC','channelConnectedUsers','remove','user','_users','has','init','_createUser','fire','144459IZnNka','39SaiSTT','unregister','state','add','sessionId','sessions-register-already-registered','getUserRole','3lbbLsy','1746086wbllqu','7623MQUCRb','pluginName','register','delete','defineMe','addUser','sessionAdd:','_uniqueUsersCount','_handleSessionRemove','change:state','148TSxQdF','getUser','7322GoKbHK','1104OgGfJA','944PiitFq','requires','getUserBySessionId','Sessions','context','forEach','values','role','isMe'];_0x3541=function(){return _0xc05290;};return _0x3541();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2b8048=_0x3ed5;function _0x3ed5(_0x1534da,_0xa2fc3c){const _0x5f2e02=_0x5f2e();return _0x3ed5=function(_0x3ed58e,_0x4252fb){_0x3ed58e=_0x3ed58e-0x125;let _0x597bd1=_0x5f2e02[_0x3ed58e];return _0x597bd1;},_0x3ed5(_0x1534da,_0xa2fc3c);}function _0x5f2e(){const _0x1287bd=['hasContent','orderNumber','change:range','getAttribute','4474540UaUvDS','get','ck-user__marker\x20','keydown','user:','startsWith','element','stopListening','fromRange','12616CncgEg','requires','end','remove','view','render','removeClass','ck-user__marker-tooltip','applyOperation','oldRange','createUIElement','change','getFirstRange','type','classList','has','set','false','root','schema','ck-user__selection','isSimilar','user:range:','getUserBySessionId','innerHTML','plugins','update:user:range','nodeAfter','destroy','mouseleave','deletionPosition','markerName','isCollapsed','delete','getSelectionClass','editor','clear','isDocumentOperation','isInline','createRange','getRange','batch','setAttribute','5340240xzYvDA','enqueueChange','11918ohbpss','mouseenter','isOfficialPlugin','getContainedElement','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','markerNameToElements','$graveyard','getNearestSelectionRange','reconvertMarker','start','detach','getPositions','markers','markerRange','user:position:','user:position','pluginName','3858ZTxRPj','getCustomProperty','mapper','parent','contenteditable','_domEmitter','name','toRange','toDomElement','listenTo','markerToElement','highest','Escape','mySessionId','document','data-session-id','removeMarker','for','UserMarkers','conversion','339KWsXKW','newRange','user:range','tableCell','$text','getStart','undo','size','textContent','init','selection','rootName','getMarkerClass','createUserMarkerOperations','ck-user__marker_hovered','isLimit','span','addMarker','5172525kHoXNV','addEventListener','split','marker','updateMarker','editingDowncast','isPremiumPlugin','add','outerHTML','88232ubYdRE','createElement','commands','1565LlmKdd','_createdBatches','editing','markerToHighlight','spellcheck','model','setCustomProperty','hasDomSelection','color','userPositionMarker','afterInit','isObject','checkChild'];_0x5f2e=function(){return _0x1287bd;};return _0x5f2e();}(function(_0x253120,_0x43f30f){const _0x436d94=_0x3ed5,_0x704587=_0x253120();while(!![]){try{const _0x51547b=-parseInt(_0x436d94(0x14c))/0x1+-parseInt(_0x436d94(0x18c))/0x2+-parseInt(_0x436d94(0x171))/0x3*(parseInt(_0x436d94(0x1a9))/0x4)+parseInt(_0x436d94(0x18f))/0x5*(parseInt(_0x436d94(0x15d))/0x6)+parseInt(_0x436d94(0x1a0))/0x7+parseInt(_0x436d94(0x14a))/0x8+-parseInt(_0x436d94(0x183))/0x9;if(_0x51547b===_0x43f30f)break;else _0x704587['push'](_0x704587['shift']());}catch(_0x3cbd35){_0x704587['push'](_0x704587['shift']());}}}(_0x5f2e,0x7f290));import{Plugin as _0x4ae042}from'ckeditor5/src/core.js';import{global as _0x57abd1,DomEmitterMixin as _0x141f61}from'ckeditor5/src/utils.js';import _0x402f6e from'./sessions.js';import{LiveRange as _0x547f72}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x4ae042{constructor(){const _0x532f7a=_0x3ed5;super(...arguments),this[_0x532f7a(0x162)]=new(_0x141f61())();}static get[_0x2b8048(0x1aa)](){return[_0x402f6e];}static get[_0x2b8048(0x15c)](){const _0x5d5f02=_0x2b8048;return _0x5d5f02(0x16f);}static get[_0x2b8048(0x14e)](){return!0x0;}static get[_0x2b8048(0x189)](){return!0x0;}[_0x2b8048(0x17a)](){const _0x46ed43=_0x2b8048,_0x4df158=this[_0x46ed43(0x142)],_0x7c60ce=_0x4df158[_0x46ed43(0x138)][_0x46ed43(0x1a1)](_0x402f6e);_0x4df158[_0x46ed43(0x170)][_0x46ed43(0x16e)](_0x46ed43(0x188))[_0x46ed43(0x167)]({'model':_0x46ed43(0x15b),'view':(_0x3fcc9c,{writer:_0x51d498})=>function(_0x591584,_0x370cea,_0xc81caa,_0x2eb98b){const _0x131974=_0x46ed43,_0x4bba87=_0x591584[_0x131974(0x13e)][_0x131974(0x185)](':')[0x2],_0x980e22=_0xc81caa[_0x131974(0x136)](_0x4bba87);if(!_0x980e22||_0x4bba87===_0xc81caa[_0x131974(0x16a)])return;if(!_0x2eb98b[_0x131974(0x194)][_0x131974(0x132)][_0x131974(0x19b)](_0x591584[_0x131974(0x159)][_0x131974(0x155)],_0x131974(0x175)))return;const _0x34a495={'class':_0x131974(0x1a2)+_0x980e22[_0x131974(0x197)][_0x131974(0x17d)](),'data-name':_0x980e22[_0x131974(0x163)],'data-session-id':_0x4bba87},_0x4e6cfb=_0x2eb98b[_0x131974(0x194)][_0x131974(0x158)][_0x131974(0x1a1)](_0x591584[_0x131974(0x13e)]),_0x431b21=_0x4e6cfb[_0x131974(0x176)](),_0x22b174=_0x431b21[_0x131974(0x13a)],_0x24fe42=_0x2eb98b[_0x131974(0x194)][_0x131974(0x132)];if(_0x22b174&&_0x24fe42[_0x131974(0x19a)](_0x22b174)&&_0x24fe42[_0x131974(0x145)](_0x22b174)&&!_0x2eb98b[_0x131974(0x194)][_0x131974(0x158)][_0x131974(0x1a1)](_0x131974(0x135)+_0x4bba87)[_0x131974(0x147)]()[_0x131974(0x13f)])return;const _0x2acf07=_0x431b21[_0x131974(0x160)];return _0x2eb98b[_0x131974(0x194)][_0x131974(0x132)][_0x131974(0x180)](_0x2acf07)&&!_0x2eb98b[_0x131974(0x194)][_0x131974(0x19c)](_0x2acf07)&&(_0x34a495[_0x131974(0x161)]=!0x1),function(_0x259282,_0x42265b,_0x2a6076){const _0x4eba40=_0x131974,_0x374123=_0x259282[_0x4eba40(0x129)](_0x4eba40(0x181),_0x42265b);return _0x259282[_0x4eba40(0x195)](_0x4eba40(0x198),!0x0,_0x374123),_0x374123[_0x4eba40(0x1ae)]=function(_0x9446ef){const _0x13f944=_0x4eba40,_0x3a9033=this[_0x13f944(0x165)](_0x9446ef),_0x4406ab=document[_0x13f944(0x18d)](_0x13f944(0x181));return _0x4406ab[_0x13f944(0x12d)][_0x13f944(0x18a)](_0x13f944(0x126)),_0x4406ab[_0x13f944(0x149)](_0x13f944(0x161),_0x13f944(0x130)),_0x4406ab[_0x13f944(0x149)](_0x13f944(0x193),_0x13f944(0x130)),_0x4406ab[_0x13f944(0x179)]=_0x2a6076[_0x13f944(0x163)],_0x3a9033[_0x13f944(0x137)]=_0x13f944(0x150)+_0x4406ab[_0x13f944(0x18b)]+'',_0x3a9033[_0x13f944(0x184)](_0x13f944(0x14d),()=>{const _0xf41f02=_0x13f944;_0x3a9033[_0xf41f02(0x12d)][_0xf41f02(0x18a)](_0xf41f02(0x17f));}),_0x3a9033[_0x13f944(0x184)](_0x13f944(0x13c),()=>{const _0x1414dc=_0x13f944;_0x3a9033[_0x1414dc(0x12d)][_0x1414dc(0x1ac)](_0x1414dc(0x17f));}),_0x3a9033;},_0x374123[_0x4eba40(0x134)]=function(_0x2a092b){const _0x2e5e9e=_0x4eba40;return!(!this[_0x2e5e9e(0x15e)](_0x2e5e9e(0x198))||!_0x2a092b[_0x2e5e9e(0x15e)](_0x2e5e9e(0x198))||this[_0x2e5e9e(0x19f)](_0x2e5e9e(0x16c))!=_0x2a092b[_0x2e5e9e(0x19f)](_0x2e5e9e(0x16c)));},_0x374123;}(_0x370cea,_0x34a495,_0x980e22);}(_0x3fcc9c,_0x51d498,_0x7c60ce,_0x4df158)}),_0x4df158[_0x46ed43(0x170)][_0x46ed43(0x16e)](_0x46ed43(0x188))[_0x46ed43(0x192)]({'model':_0x46ed43(0x173),'view':_0x3958ed=>function(_0x5123ce,_0x4a103c){const _0x11703c=_0x46ed43,_0x53b818=_0x5123ce[_0x11703c(0x13e)][_0x11703c(0x185)](':')[0x2];if(_0x53b818===_0x4a103c[_0x11703c(0x16a)])return null;const _0x2f2ee1=_0x4a103c[_0x11703c(0x136)](_0x53b818);if(!_0x2f2ee1)return{'id':_0x53b818,'classes':[]};return{'id':_0x53b818,'classes':[_0x11703c(0x133),_0x2f2ee1[_0x11703c(0x197)][_0x11703c(0x141)]()],'attributes':{'data-session-id':_0x53b818},'priority':0x7d0+_0x2f2ee1[_0x11703c(0x19d)]};}(_0x3958ed,_0x7c60ce)}),function(_0x2ecd7a){const _0x9fdfe8=_0x46ed43,_0x4a27fc=_0x2ecd7a[_0x9fdfe8(0x194)],_0x5ca31c=new Map(),_0x40f1fa=_0x2ecd7a[_0x9fdfe8(0x138)][_0x9fdfe8(0x1a1)](_0x402f6e);_0x4a27fc[_0x9fdfe8(0x158)]['on'](_0x9fdfe8(0x139),(_0x538830,_0x211c91,_0x487caa,_0x11397c)=>{const _0x2bffee=_0x9fdfe8;if(!_0x11397c&&_0x5ca31c[_0x2bffee(0x1a1)](_0x211c91[_0x2bffee(0x163)]))return _0x5ca31c[_0x2bffee(0x1a1)](_0x211c91[_0x2bffee(0x163)])[_0x2bffee(0x156)](),void _0x5ca31c[_0x2bffee(0x140)](_0x211c91[_0x2bffee(0x163)]);const _0x58e0a9=_0x211c91[_0x2bffee(0x163)][_0x2bffee(0x185)](':')[0x2];if(_0x58e0a9===_0x40f1fa[_0x2bffee(0x16a)])return;const _0x30c0b0=_0x2bffee(0x15a)+_0x58e0a9;_0x4a27fc[_0x2bffee(0x158)][_0x2bffee(0x12e)](_0x30c0b0)&&_0x2ecd7a[_0x2bffee(0x191)][_0x2bffee(0x154)](_0x30c0b0),_0x211c91['on'](_0x2bffee(0x19e),(_0x23afc7,_0x7acff0,_0x213463)=>{const _0x15a7aa=_0x2bffee;if(_0x15a7aa(0x152)!=_0x7acff0[_0x15a7aa(0x131)][_0x15a7aa(0x17c)]&&_0x15a7aa(0x152)==_0x211c91[_0x15a7aa(0x147)]()[_0x15a7aa(0x131)][_0x15a7aa(0x17c)]&&!_0x5ca31c[_0x15a7aa(0x12e)](_0x211c91[_0x15a7aa(0x163)])){const _0x963ee9=_0x4a27fc[_0x15a7aa(0x132)][_0x15a7aa(0x153)](_0x213463[_0x15a7aa(0x13d)]);if(_0x963ee9){const _0x31beaf=_0x547f72[_0x15a7aa(0x1a8)](_0x963ee9);_0x5ca31c[_0x15a7aa(0x12f)](_0x211c91[_0x15a7aa(0x163)],_0x31beaf),_0x31beaf['on'](_0x15a7aa(0x19e),(_0x1966ca,_0xe69c2a,_0x2b08bc)=>{const _0x481a44=_0x15a7aa;if(_0x481a44(0x152)==_0x31beaf[_0x481a44(0x131)][_0x481a44(0x17c)]){const _0x25e972=_0x4a27fc[_0x481a44(0x132)][_0x481a44(0x153)](_0x2b08bc[_0x481a44(0x13d)]);_0x25e972?(_0x31beaf[_0x481a44(0x155)]=_0x25e972[_0x481a44(0x155)],_0x31beaf[_0x481a44(0x1ab)]=_0x25e972[_0x481a44(0x1ab)]):(_0x5ca31c[_0x481a44(0x140)](_0x211c91[_0x481a44(0x163)]),_0x31beaf[_0x481a44(0x156)]());}});}}});}),_0x4a27fc[_0x9fdfe8(0x16b)]['on'](_0x9fdfe8(0x12a),()=>{const _0x3017b5=_0x9fdfe8;_0x5ca31c[_0x3017b5(0x178)]>0x0&&_0x4a27fc[_0x3017b5(0x14b)]({'isUndoable':!0x1},_0x446c8c=>{const _0x10375f=_0x3017b5;for(const [_0x44bae3,_0x2a3c76]of _0x5ca31c)_0x10375f(0x152)==_0x4a27fc[_0x10375f(0x158)][_0x10375f(0x1a1)](_0x44bae3)[_0x10375f(0x147)]()[_0x10375f(0x131)][_0x10375f(0x17c)]&&(re(_0x44bae3[_0x10375f(0x185)](':')[0x2],_0x2a3c76[_0x10375f(0x164)](),_0x4a27fc,_0x446c8c),_0x2a3c76[_0x10375f(0x156)]());_0x5ca31c[_0x10375f(0x143)]();});});}(_0x4df158),this[_0x46ed43(0x162)][_0x46ed43(0x166)](_0x57abd1[_0x46ed43(0x16b)],_0x46ed43(0x1a3),(_0x428b58,{key:_0x42f89c})=>{const _0x59d999=_0x46ed43;_0x59d999(0x169)===_0x42f89c&&function(_0x3b90f9){const _0x408817=_0x59d999;_0x3b90f9[_0x408817(0x191)][_0x408817(0x1ad)][_0x408817(0x12a)](_0x7c1ead=>{const _0x3979d2=_0x408817;for(const _0x4d8da8 of _0x3b90f9[_0x3979d2(0x194)][_0x3979d2(0x158)]){if(!_0x4d8da8[_0x3979d2(0x163)][_0x3979d2(0x1a5)](_0x3979d2(0x15b)))continue;const _0x5aec65=_0x3b90f9[_0x3979d2(0x191)][_0x3979d2(0x15f)][_0x3979d2(0x151)](_0x4d8da8[_0x3979d2(0x163)]);if(_0x5aec65){for(const _0x250af7 of _0x5aec65)_0x7c1ead[_0x3979d2(0x125)](_0x3979d2(0x17f),_0x250af7);}}});}(_0x4df158);},{'useCapture':!0x0});}[_0x2b8048(0x199)](){const _0x42ae53=_0x2b8048,_0x35f606=this[_0x42ae53(0x142)],_0x399584=_0x35f606[_0x42ae53(0x18e)][_0x42ae53(0x1a1)](_0x42ae53(0x177));_0x399584&&_0x35f606[_0x42ae53(0x194)]['on'](_0x42ae53(0x127),(_0x4e94d3,_0x41dcc2)=>{const _0x23f5fc=_0x42ae53,_0x230598=_0x41dcc2[0x0];if(!_0x230598[_0x23f5fc(0x144)])return;if(_0x23f5fc(0x186)!=_0x230598[_0x23f5fc(0x12c)]||!_0x230598[_0x23f5fc(0x163)][_0x23f5fc(0x1a5)](_0x23f5fc(0x1a4)))return;const _0x3b859b=_0x230598[_0x23f5fc(0x148)];_0x399584[_0x23f5fc(0x190)][_0x23f5fc(0x12e)](_0x3b859b)&&(_0x230598[_0x23f5fc(0x172)]=_0x230598[_0x23f5fc(0x128)]?_0x35f606[_0x23f5fc(0x194)][_0x23f5fc(0x146)](_0x230598[_0x23f5fc(0x128)][_0x23f5fc(0x155)],_0x230598[_0x23f5fc(0x128)][_0x23f5fc(0x1ab)]):null);},{'priority':_0x42ae53(0x168)});}[_0x2b8048(0x13b)](){const _0x39a8ba=_0x2b8048;return this[_0x39a8ba(0x162)][_0x39a8ba(0x1a7)](),super[_0x39a8ba(0x13b)]();}[_0x2b8048(0x17e)](){const _0x46e30c=_0x2b8048,_0x1599f3=this[_0x46e30c(0x142)],_0x5aa4ca=_0x1599f3[_0x46e30c(0x194)][_0x46e30c(0x16b)],_0x556a93=_0x1599f3[_0x46e30c(0x138)][_0x46e30c(0x1a1)](_0x402f6e);_0x1599f3[_0x46e30c(0x194)][_0x46e30c(0x14b)]({'isUndoable':!0x1},_0x4dc6a6=>{const _0x289031=_0x46e30c,_0x54108b=_0x289031(0x135)+_0x556a93[_0x289031(0x16a)],_0x4406a3=_0x289031(0x15a)+_0x556a93[_0x289031(0x16a)],_0x7eb750=_0x1599f3[_0x289031(0x194)][_0x289031(0x158)][_0x289031(0x12e)](_0x54108b);_0x1599f3[_0x289031(0x191)][_0x289031(0x1ad)][_0x289031(0x196)]?re(_0x556a93[_0x289031(0x16a)],_0x5aa4ca[_0x289031(0x17b)][_0x289031(0x12b)](),_0x1599f3[_0x289031(0x194)],_0x4dc6a6):_0x7eb750&&(_0x4dc6a6[_0x289031(0x16d)](_0x54108b),_0x4dc6a6[_0x289031(0x16d)](_0x4406a3));});}}function re(_0x4237ca,_0xfbad82,_0x4d7840,_0x4f4fcd){const _0x4bcb91=_0x2b8048,_0x45190a=_0x4bcb91(0x135)+_0x4237ca,_0x4af8f5=_0x4bcb91(0x15a)+_0x4237ca,_0x592755=_0xfbad82[_0x4bcb91(0x14f)]();let _0x3ee5e9=_0xfbad82[_0x4bcb91(0x155)];_0x592755&&_0x592755['is'](_0x4bcb91(0x1a6),_0x4bcb91(0x174))&&(_0x3ee5e9=function(_0x376c77,_0x997d10){const _0x5f23c3=_0x4bcb91;for(const _0x488214 of _0x376c77[_0x5f23c3(0x157)]())if(_0x997d10[_0x5f23c3(0x132)][_0x5f23c3(0x19b)](_0x488214,_0x5f23c3(0x175)))return _0x488214;}(_0xfbad82,_0x4d7840),_0xfbad82=_0x4f4fcd[_0x4bcb91(0x146)](_0x3ee5e9));const _0x35eb78=_0x4f4fcd[_0x4bcb91(0x146)](_0x3ee5e9);_0x4d7840[_0x4bcb91(0x158)][_0x4bcb91(0x12e)](_0x45190a)?(_0x4f4fcd[_0x4bcb91(0x187)](_0x45190a,{'range':_0xfbad82}),_0x4f4fcd[_0x4bcb91(0x187)](_0x4af8f5,{'range':_0x35eb78})):(_0x4f4fcd[_0x4bcb91(0x182)](_0x45190a,{'range':_0xfbad82,'usingOperation':!0x0}),_0x4f4fcd[_0x4bcb91(0x182)](_0x4af8f5,{'range':_0x35eb78,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x42db04=_0x3058;function _0x3058(_0x2752cc,_0x5b4a2b){const _0x4578c3=_0x4578();return _0x3058=function(_0x305806,_0x4b86ad){_0x305806=_0x305806-0x16e;let _0x33a428=_0x4578c3[_0x305806];return _0x33a428;},_0x3058(_0x2752cc,_0x5b4a2b);}function _0x4578(){const _0x5a7cd1=['color','getContainedElement','schema','5039730rBmckH','527315PwGVRt','keydown','commands','change','has','markerName','markerRange','batch','toRange','add','$text','orderNumber','21991qDwheP','userPositionMarker','for','updateMarker','9238672MlpUcc','afterInit','ck-user__marker\x20','marker','markers','setCustomProperty','checkChild','668859sfjZzx','spellcheck','52DrThVF','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','_domEmitter','user:','user:range','root','conversion','6ntBuBM','getRange','end','textContent','tableCell','mySessionId','oldRange','createUIElement','ck-user__marker_hovered','isOfficialPlugin','editingDowncast','createUserMarkerOperations','reconvertMarker','editing','data-session-id','hasDomSelection','toDomElement','setAttribute','isObject','startsWith','removeClass','change:range','parent','getCustomProperty','deletionPosition','isCollapsed','addMarker','getUserBySessionId','remove','isSimilar','view','isPremiumPlugin','28gjiDfN','contenteditable','ck-user__selection','mouseleave','UserMarkers','applyOperation','user:position:','getNearestSelectionRange','newRange','editor','rootName','hasContent','createElement','element','size','pluginName','stopListening','selection','isInline','getStart','set','nodeAfter','ck-user__marker-tooltip','getPositions','highest','listenTo','user:range:','fromRange','mouseenter','getFirstRange','addEventListener','span','render','detach','split','start','type','enqueueChange','get','createRange','Escape','_createdBatches','innerHTML','model','update:user:range','removeMarker','classList','document','user:position','isLimit','$graveyard','init','clear','isDocumentOperation','delete','markerToElement','mapper','requires','false','outerHTML','11251152uPBeFa','getSelectionClass','markerNameToElements','getMarkerClass','plugins','undo','672049JzYcNL','markerToHighlight','destroy','name','getAttribute'];_0x4578=function(){return _0x5a7cd1;};return _0x4578();}(function(_0x343bc9,_0x1324bc){const _0x33d10c=_0x3058,_0x5eeb4a=_0x343bc9();while(!![]){try{const _0x32e7f3=parseInt(_0x33d10c(0x1d7))/0x1*(-parseInt(_0x33d10c(0x1e4))/0x2)+parseInt(_0x33d10c(0x1e2))/0x3*(-parseInt(_0x33d10c(0x180))/0x4)+parseInt(_0x33d10c(0x1cb))/0x5*(parseInt(_0x33d10c(0x1eb))/0x6)+-parseInt(_0x33d10c(0x1c2))/0x7+parseInt(_0x33d10c(0x1db))/0x8+parseInt(_0x33d10c(0x1bc))/0x9+parseInt(_0x33d10c(0x1ca))/0xa;if(_0x32e7f3===_0x1324bc)break;else _0x5eeb4a['push'](_0x5eeb4a['shift']());}catch(_0x12e55d){_0x5eeb4a['push'](_0x5eeb4a['shift']());}}}(_0x4578,0xbfe22));import{Plugin as _0x3cb95d}from'ckeditor5/src/core.js';import{global as _0x30f233,DomEmitterMixin as _0x1067c8}from'ckeditor5/src/utils.js';import _0x29d988 from'./sessions.js';import{LiveRange as _0x5ad2f2}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class N extends _0x3cb95d{constructor(){const _0x275428=_0x3058;super(...arguments),this[_0x275428(0x1e6)]=new(_0x1067c8())();}static get[_0x42db04(0x1b9)](){return[_0x29d988];}static get[_0x42db04(0x18f)](){const _0x30e1f4=_0x42db04;return _0x30e1f4(0x184);}static get[_0x42db04(0x1f4)](){return!0x0;}static get[_0x42db04(0x17f)](){return!0x0;}[_0x42db04(0x1b3)](){const _0x438185=_0x42db04,_0x2db259=this[_0x438185(0x189)],_0x31fdf4=_0x2db259[_0x438185(0x1c0)][_0x438185(0x1a6)](_0x29d988);_0x2db259[_0x438185(0x1ea)][_0x438185(0x1d9)](_0x438185(0x1f5))[_0x438185(0x1b7)]({'model':_0x438185(0x1b0),'view':(_0x613f51,{writer:_0x391de9})=>function(_0x1fb1e8,_0x9f26ce,_0x472d01,_0xd3e45f){const _0x4d0abe=_0x438185,_0x3e0bd0=_0x1fb1e8[_0x4d0abe(0x1d0)][_0x4d0abe(0x1a2)](':')[0x2],_0x109c4b=_0x472d01[_0x4d0abe(0x17b)](_0x3e0bd0);if(!_0x109c4b||_0x3e0bd0===_0x472d01[_0x4d0abe(0x1f0)])return;if(!_0xd3e45f[_0x4d0abe(0x1ab)][_0x4d0abe(0x1c9)][_0x4d0abe(0x1e1)](_0x1fb1e8[_0x4d0abe(0x1d1)][_0x4d0abe(0x1a3)],_0x4d0abe(0x1d5)))return;const _0x4677c8={'class':_0x4d0abe(0x1dd)+_0x109c4b[_0x4d0abe(0x1c7)][_0x4d0abe(0x1bf)](),'data-name':_0x109c4b[_0x4d0abe(0x1c5)],'data-session-id':_0x3e0bd0},_0x57e16b=_0xd3e45f[_0x4d0abe(0x1ab)][_0x4d0abe(0x1df)][_0x4d0abe(0x1a6)](_0x1fb1e8[_0x4d0abe(0x1d0)]),_0x3943ed=_0x57e16b[_0x4d0abe(0x193)](),_0x36ac1e=_0x3943ed[_0x4d0abe(0x195)],_0xce3007=_0xd3e45f[_0x4d0abe(0x1ab)][_0x4d0abe(0x1c9)];if(_0x36ac1e&&_0xce3007[_0x4d0abe(0x172)](_0x36ac1e)&&_0xce3007[_0x4d0abe(0x192)](_0x36ac1e)&&!_0xd3e45f[_0x4d0abe(0x1ab)][_0x4d0abe(0x1df)][_0x4d0abe(0x1a6)](_0x4d0abe(0x19a)+_0x3e0bd0)[_0x4d0abe(0x1ec)]()[_0x4d0abe(0x179)])return;const _0x1868b1=_0x3943ed[_0x4d0abe(0x176)];return _0xd3e45f[_0x4d0abe(0x1ab)][_0x4d0abe(0x1c9)][_0x4d0abe(0x1b1)](_0x1868b1)&&!_0xd3e45f[_0x4d0abe(0x1ab)][_0x4d0abe(0x18b)](_0x1868b1)&&(_0x4677c8[_0x4d0abe(0x181)]=!0x1),function(_0x48a58a,_0x3b0fb0,_0x5999fe){const _0x295be3=_0x4d0abe,_0x417209=_0x48a58a[_0x295be3(0x1f2)](_0x295be3(0x19f),_0x3b0fb0);return _0x48a58a[_0x295be3(0x1e0)](_0x295be3(0x1d8),!0x0,_0x417209),_0x417209[_0x295be3(0x1a0)]=function(_0x31a27f){const _0x1c0010=_0x295be3,_0x7f1da=this[_0x1c0010(0x170)](_0x31a27f),_0x2d30ee=document[_0x1c0010(0x18c)](_0x1c0010(0x19f));return _0x2d30ee[_0x1c0010(0x1ae)][_0x1c0010(0x1d4)](_0x1c0010(0x196)),_0x2d30ee[_0x1c0010(0x171)](_0x1c0010(0x181),_0x1c0010(0x1ba)),_0x2d30ee[_0x1c0010(0x171)](_0x1c0010(0x1e3),_0x1c0010(0x1ba)),_0x2d30ee[_0x1c0010(0x1ee)]=_0x5999fe[_0x1c0010(0x1c5)],_0x7f1da[_0x1c0010(0x1aa)]=_0x1c0010(0x1e5)+_0x2d30ee[_0x1c0010(0x1bb)]+'',_0x7f1da[_0x1c0010(0x19e)](_0x1c0010(0x19c),()=>{const _0x4e81cc=_0x1c0010;_0x7f1da[_0x4e81cc(0x1ae)][_0x4e81cc(0x1d4)](_0x4e81cc(0x1f3));}),_0x7f1da[_0x1c0010(0x19e)](_0x1c0010(0x183),()=>{const _0x100215=_0x1c0010;_0x7f1da[_0x100215(0x1ae)][_0x100215(0x17c)](_0x100215(0x1f3));}),_0x7f1da;},_0x417209[_0x295be3(0x17d)]=function(_0x29a591){const _0x4aecf6=_0x295be3;return!(!this[_0x4aecf6(0x177)](_0x4aecf6(0x1d8))||!_0x29a591[_0x4aecf6(0x177)](_0x4aecf6(0x1d8))||this[_0x4aecf6(0x1c6)](_0x4aecf6(0x16e))!=_0x29a591[_0x4aecf6(0x1c6)](_0x4aecf6(0x16e)));},_0x417209;}(_0x9f26ce,_0x4677c8,_0x109c4b);}(_0x613f51,_0x391de9,_0x31fdf4,_0x2db259)}),_0x2db259[_0x438185(0x1ea)][_0x438185(0x1d9)](_0x438185(0x1f5))[_0x438185(0x1c3)]({'model':_0x438185(0x1e8),'view':_0x16f07c=>function(_0x484e22,_0x19450f){const _0xfb28b4=_0x438185,_0xd653df=_0x484e22[_0xfb28b4(0x1d0)][_0xfb28b4(0x1a2)](':')[0x2];if(_0xd653df===_0x19450f[_0xfb28b4(0x1f0)])return null;const _0x3bb5cc=_0x19450f[_0xfb28b4(0x17b)](_0xd653df);if(!_0x3bb5cc)return{'id':_0xd653df,'classes':[]};return{'id':_0xd653df,'classes':[_0xfb28b4(0x182),_0x3bb5cc[_0xfb28b4(0x1c7)][_0xfb28b4(0x1bd)]()],'attributes':{'data-session-id':_0xd653df},'priority':0x7d0+_0x3bb5cc[_0xfb28b4(0x1d6)]};}(_0x16f07c,_0x31fdf4)}),function(_0x61ed4d){const _0x525eb0=_0x438185,_0x4b74d2=_0x61ed4d[_0x525eb0(0x1ab)],_0x2790e5=new Map(),_0x19ccd8=_0x61ed4d[_0x525eb0(0x1c0)][_0x525eb0(0x1a6)](_0x29d988);_0x4b74d2[_0x525eb0(0x1df)]['on'](_0x525eb0(0x1ac),(_0x359622,_0x421bf1,_0x4e977e,_0x5cc33d)=>{const _0x91ce56=_0x525eb0;if(!_0x5cc33d&&_0x2790e5[_0x91ce56(0x1a6)](_0x421bf1[_0x91ce56(0x1c5)]))return _0x2790e5[_0x91ce56(0x1a6)](_0x421bf1[_0x91ce56(0x1c5)])[_0x91ce56(0x1a1)](),void _0x2790e5[_0x91ce56(0x1b6)](_0x421bf1[_0x91ce56(0x1c5)]);const _0x5c072e=_0x421bf1[_0x91ce56(0x1c5)][_0x91ce56(0x1a2)](':')[0x2];if(_0x5c072e===_0x19ccd8[_0x91ce56(0x1f0)])return;const _0x1230b3=_0x91ce56(0x186)+_0x5c072e;_0x4b74d2[_0x91ce56(0x1df)][_0x91ce56(0x1cf)](_0x1230b3)&&_0x61ed4d[_0x91ce56(0x1f8)][_0x91ce56(0x1f7)](_0x1230b3),_0x421bf1['on'](_0x91ce56(0x175),(_0x65b322,_0x3d6168,_0x2d29b2)=>{const _0xac53c9=_0x91ce56;if(_0xac53c9(0x1b2)!=_0x3d6168[_0xac53c9(0x1e9)][_0xac53c9(0x18a)]&&_0xac53c9(0x1b2)==_0x421bf1[_0xac53c9(0x1ec)]()[_0xac53c9(0x1e9)][_0xac53c9(0x18a)]&&!_0x2790e5[_0xac53c9(0x1cf)](_0x421bf1[_0xac53c9(0x1c5)])){const _0x2136a9=_0x4b74d2[_0xac53c9(0x1c9)][_0xac53c9(0x187)](_0x2d29b2[_0xac53c9(0x178)]);if(_0x2136a9){const _0x2b5ef9=_0x5ad2f2[_0xac53c9(0x19b)](_0x2136a9);_0x2790e5[_0xac53c9(0x194)](_0x421bf1[_0xac53c9(0x1c5)],_0x2b5ef9),_0x2b5ef9['on'](_0xac53c9(0x175),(_0x267d7e,_0x6b705e,_0x342ead)=>{const _0x534412=_0xac53c9;if(_0x534412(0x1b2)==_0x2b5ef9[_0x534412(0x1e9)][_0x534412(0x18a)]){const _0x42e4b9=_0x4b74d2[_0x534412(0x1c9)][_0x534412(0x187)](_0x342ead[_0x534412(0x178)]);_0x42e4b9?(_0x2b5ef9[_0x534412(0x1a3)]=_0x42e4b9[_0x534412(0x1a3)],_0x2b5ef9[_0x534412(0x1ed)]=_0x42e4b9[_0x534412(0x1ed)]):(_0x2790e5[_0x534412(0x1b6)](_0x421bf1[_0x534412(0x1c5)]),_0x2b5ef9[_0x534412(0x1a1)]());}});}}});}),_0x4b74d2[_0x525eb0(0x1af)]['on'](_0x525eb0(0x1ce),()=>{const _0x3899b5=_0x525eb0;_0x2790e5[_0x3899b5(0x18e)]>0x0&&_0x4b74d2[_0x3899b5(0x1a5)]({'isUndoable':!0x1},_0x237021=>{const _0x5c774b=_0x3899b5;for(const [_0x2ce4a2,_0x13d3aa]of _0x2790e5)_0x5c774b(0x1b2)==_0x4b74d2[_0x5c774b(0x1df)][_0x5c774b(0x1a6)](_0x2ce4a2)[_0x5c774b(0x1ec)]()[_0x5c774b(0x1e9)][_0x5c774b(0x18a)]&&(Q(_0x2ce4a2[_0x5c774b(0x1a2)](':')[0x2],_0x13d3aa[_0x5c774b(0x1d3)](),_0x4b74d2,_0x237021),_0x13d3aa[_0x5c774b(0x1a1)]());_0x2790e5[_0x5c774b(0x1b4)]();});});}(_0x2db259),this[_0x438185(0x1e6)][_0x438185(0x199)](_0x30f233[_0x438185(0x1af)],_0x438185(0x1cc),(_0x149adc,{key:_0x2ecb4a})=>{const _0x4195ec=_0x438185;_0x4195ec(0x1a8)===_0x2ecb4a&&function(_0x5ab895){const _0xbfc6d6=_0x4195ec;_0x5ab895[_0xbfc6d6(0x1f8)][_0xbfc6d6(0x17e)][_0xbfc6d6(0x1ce)](_0x33b109=>{const _0x127a22=_0xbfc6d6;for(const _0x24affa of _0x5ab895[_0x127a22(0x1ab)][_0x127a22(0x1df)]){if(!_0x24affa[_0x127a22(0x1c5)][_0x127a22(0x173)](_0x127a22(0x1b0)))continue;const _0x209c37=_0x5ab895[_0x127a22(0x1f8)][_0x127a22(0x1b8)][_0x127a22(0x1be)](_0x24affa[_0x127a22(0x1c5)]);if(_0x209c37){for(const _0x54293a of _0x209c37)_0x33b109[_0x127a22(0x174)](_0x127a22(0x1f3),_0x54293a);}}});}(_0x2db259);},{'useCapture':!0x0});}[_0x42db04(0x1dc)](){const _0x1695c5=_0x42db04,_0xc2269d=this[_0x1695c5(0x189)],_0x38170c=_0xc2269d[_0x1695c5(0x1cd)][_0x1695c5(0x1a6)](_0x1695c5(0x1c1));_0x38170c&&_0xc2269d[_0x1695c5(0x1ab)]['on'](_0x1695c5(0x185),(_0x4cdc71,_0x49ab0a)=>{const _0x431308=_0x1695c5,_0x169169=_0x49ab0a[0x0];if(!_0x169169[_0x431308(0x1b5)])return;if(_0x431308(0x1de)!=_0x169169[_0x431308(0x1a4)]||!_0x169169[_0x431308(0x1c5)][_0x431308(0x173)](_0x431308(0x1e7)))return;const _0x59a817=_0x169169[_0x431308(0x1d2)];_0x38170c[_0x431308(0x1a9)][_0x431308(0x1cf)](_0x59a817)&&(_0x169169[_0x431308(0x188)]=_0x169169[_0x431308(0x1f1)]?_0xc2269d[_0x431308(0x1ab)][_0x431308(0x1a7)](_0x169169[_0x431308(0x1f1)][_0x431308(0x1a3)],_0x169169[_0x431308(0x1f1)][_0x431308(0x1ed)]):null);},{'priority':_0x1695c5(0x198)});}[_0x42db04(0x1c4)](){const _0x16f16d=_0x42db04;return this[_0x16f16d(0x1e6)][_0x16f16d(0x190)](),super[_0x16f16d(0x1c4)]();}[_0x42db04(0x1f6)](){const _0x9ec326=_0x42db04,_0x95a47=this[_0x9ec326(0x189)],_0x42ef68=_0x95a47[_0x9ec326(0x1ab)][_0x9ec326(0x1af)],_0x5709de=_0x95a47[_0x9ec326(0x1c0)][_0x9ec326(0x1a6)](_0x29d988);_0x95a47[_0x9ec326(0x1ab)][_0x9ec326(0x1a5)]({'isUndoable':!0x1},_0x38ed05=>{const _0x2e5641=_0x9ec326,_0xf23ad1=_0x2e5641(0x19a)+_0x5709de[_0x2e5641(0x1f0)],_0x55ad8f=_0x2e5641(0x186)+_0x5709de[_0x2e5641(0x1f0)],_0x6b359e=_0x95a47[_0x2e5641(0x1ab)][_0x2e5641(0x1df)][_0x2e5641(0x1cf)](_0xf23ad1);_0x95a47[_0x2e5641(0x1f8)][_0x2e5641(0x17e)][_0x2e5641(0x16f)]?Q(_0x5709de[_0x2e5641(0x1f0)],_0x42ef68[_0x2e5641(0x191)][_0x2e5641(0x19d)](),_0x95a47[_0x2e5641(0x1ab)],_0x38ed05):_0x6b359e&&(_0x38ed05[_0x2e5641(0x1ad)](_0xf23ad1),_0x38ed05[_0x2e5641(0x1ad)](_0x55ad8f));});}}function Q(_0x1e2b21,_0x3e16a2,_0x4467c8,_0x2f9deb){const _0x69cd6=_0x42db04,_0x2423ff=_0x69cd6(0x19a)+_0x1e2b21,_0x2abd16=_0x69cd6(0x186)+_0x1e2b21,_0x3f9073=_0x3e16a2[_0x69cd6(0x1c8)]();let _0x3b4be1=_0x3e16a2[_0x69cd6(0x1a3)];_0x3f9073&&_0x3f9073['is'](_0x69cd6(0x18d),_0x69cd6(0x1ef))&&(_0x3b4be1=function(_0x2b13c4,_0x55ee53){const _0x2462a2=_0x69cd6;for(const _0x584f05 of _0x2b13c4[_0x2462a2(0x197)]())if(_0x55ee53[_0x2462a2(0x1c9)][_0x2462a2(0x1e1)](_0x584f05,_0x2462a2(0x1d5)))return _0x584f05;}(_0x3e16a2,_0x4467c8),_0x3e16a2=_0x2f9deb[_0x69cd6(0x1a7)](_0x3b4be1));const _0x102a73=_0x2f9deb[_0x69cd6(0x1a7)](_0x3b4be1);_0x4467c8[_0x69cd6(0x1df)][_0x69cd6(0x1cf)](_0x2423ff)?(_0x2f9deb[_0x69cd6(0x1da)](_0x2423ff,{'range':_0x3e16a2}),_0x2f9deb[_0x69cd6(0x1da)](_0x2abd16,{'range':_0x102a73})):(_0x2f9deb[_0x69cd6(0x17a)](_0x2423ff,{'range':_0x3e16a2,'usingOperation':!0x0}),_0x2f9deb[_0x69cd6(0x17a)](_0x2abd16,{'range':_0x102a73,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1d1247=_0xef7d;(function(_0x18536e,_0x390efc){const _0x1b83a4=_0xef7d,_0x56ff80=_0x18536e();while(!![]){try{const _0x32d663=-parseInt(_0x1b83a4(0xae))/0x1*(parseInt(_0x1b83a4(0x7d))/0x2)+-parseInt(_0x1b83a4(0x93))/0x3*(-parseInt(_0x1b83a4(0x98))/0x4)+parseInt(_0x1b83a4(0x73))/0x5+-parseInt(_0x1b83a4(0x90))/0x6*(-parseInt(_0x1b83a4(0x92))/0x7)+parseInt(_0x1b83a4(0x67))/0x8*(parseInt(_0x1b83a4(0xa5))/0x9)+-parseInt(_0x1b83a4(0x84))/0xa+-parseInt(_0x1b83a4(0x8c))/0xb;if(_0x32d663===_0x390efc)break;else _0x56ff80['push'](_0x56ff80['shift']());}catch(_0x25c559){_0x56ff80['push'](_0x56ff80['shift']());}}}(_0x1ece,0x5a763));import{ContextPlugin as _0x2ad3ba}from'ckeditor5/src/core.js';function _0xef7d(_0x5ca753,_0x35e8db){const _0x1ece7e=_0x1ece();return _0xef7d=function(_0xef7d05,_0x3556d8){_0xef7d05=_0xef7d05-0x67;let _0x2df78c=_0x1ece7e[_0xef7d05];return _0x2df78c;},_0xef7d(_0x5ca753,_0x35e8db);}import{DomEmitterMixin as _0x5edc9e,CKEditorError as _0x190842}from'ckeditor5/src/utils.js';function _0x1ece(){const _0x45b6f6=['init','requires','config','DISCONNECTED','addToReconnectionStack','cloudservices-init','1629490BiDHss','stopListening','then','set','webSocketUrl','removeFromReconnectionStack','websocketgateway-invalid-plugin-interface','online','initialReconnectionInterval','reconnect','164FMissn','define','connected','function','add','pluginName','real-time-collaboration','3361810jNkbJH','_shouldPluginsReconnect','create','change:me','constructor','all','bind','offline','3369355IPWLZm','cloudServices.requestTimeout','get','CONNECTING','1194wiypJi','websocketgateway-plugin-already-registered','14063NxzeKw','183957ltBvto','_domEmitter','cloudservices-reconnection-error','isPremiumPlugin','cloudServices.connectionTimeout','4ItBKwG','plugins','CloudServices','destroy','CONNECTED','from','websocketgateway-missing-token','Connected\x20users\x20limit\x20exceeded','connection','_reconnect','has','_reconnectionStack','WebSocketGateway','3581667MIEIfP','showWarning','error','_isBrowserOffline','context','isInReconnectionStack','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.','catch','connect','2097sAWsCy','listenTo','limitExceeded','code','websocketgateway-missing-websocket-url','8sGFDwA','state','isOfficialPlugin','delete','token','disconnect'];_0x1ece=function(){return _0x45b6f6;};return _0x1ece();}import{WebSocketGateway as _0x2b1735,WEB_SOCKET_GATEWAY_STATES as _0x35338b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0xb596a}from'ckeditor5/src/ui.js';class c extends _0x2ad3ba{static get[_0x1d1247(0x6e)](){const _0x45377f=_0x1d1247;return[_0x45377f(0x9a),_0xb596a];}static get[_0x1d1247(0x82)](){const _0x5a4dfc=_0x1d1247;return _0x5a4dfc(0xa4);}static get[_0x1d1247(0x69)](){return!0x0;}static get[_0x1d1247(0x96)](){return!0x0;}constructor(_0x1a7af6){const _0x54fe0a=_0x1d1247;super(_0x1a7af6),this[_0x54fe0a(0x76)](_0x54fe0a(0x68),_0x35338b[_0x54fe0a(0x9c)]),this[_0x54fe0a(0x76)](_0x54fe0a(0xa8),!0x1),this[_0x54fe0a(0xa3)]=new Set(),this[_0x54fe0a(0x85)]=!0x1,this[_0x54fe0a(0x94)]=Object[_0x54fe0a(0x86)](_0x5edc9e);}[_0x1d1247(0x6d)](){const _0x5b2842=_0x1d1247,_0x6f5b8c=this[_0x5b2842(0xa9)],_0x524fb4=_0x6f5b8c[_0x5b2842(0x99)][_0x5b2842(0x8e)](_0x5b2842(0x9a)),_0x34c37e=_0x6f5b8c[_0x5b2842(0x99)][_0x5b2842(0x8e)](_0xb596a);if(!_0x524fb4[_0x5b2842(0x6b)])throw new _0x190842(_0x5b2842(0x9e),this);if(!_0x524fb4[_0x5b2842(0x77)])throw new _0x190842(_0x5b2842(0xb2),this);return this[_0x5b2842(0x94)][_0x5b2842(0xaf)](window,_0x5b2842(0x8b),()=>this[_0x5b2842(0xa8)]=!0x0),this[_0x5b2842(0x94)][_0x5b2842(0xaf)](window,_0x5b2842(0x7a),()=>this[_0x5b2842(0xa8)]=!0x1),this[_0x5b2842(0xa9)][_0x5b2842(0x6f)][_0x5b2842(0x7e)](_0x5b2842(0x97),0xa),this[_0x5b2842(0xa9)][_0x5b2842(0x6f)][_0x5b2842(0x7e)](_0x5b2842(0x8d),0x14),c[_0x5b2842(0xa4)][_0x5b2842(0xad)](_0x524fb4[_0x5b2842(0x6b)],_0x524fb4[_0x5b2842(0x77)],{'timeout':0x3e8*this[_0x5b2842(0xa9)][_0x5b2842(0x6f)][_0x5b2842(0x8e)](_0x5b2842(0x97)),'requestTimeout':0x3e8*this[_0x5b2842(0xa9)][_0x5b2842(0x6f)][_0x5b2842(0x8e)](_0x5b2842(0x8d))})[_0x5b2842(0x75)](_0x4d156e=>{const _0x393d02=_0x5b2842;if(this[_0x393d02(0xa0)]=_0x4d156e,this[_0x393d02(0x8a)](_0x393d02(0x68))['to'](_0x4d156e,_0x393d02(0x68),this,_0x393d02(0xa8),(_0x21b919,_0x7a2dce)=>(_0x393d02(0x7f)!==_0x21b919&&(this[_0x393d02(0x85)]=!0x0),_0x7a2dce||_0x21b919!==_0x35338b[_0x393d02(0x9c)]?_0x35338b[_0x393d02(0x70)]:this[_0x393d02(0x68)]==_0x35338b[_0x393d02(0x70)]&&this[_0x393d02(0x85)]?(this[_0x393d02(0x85)]=!0x1,this[_0x393d02(0xa1)](),_0x35338b[_0x393d02(0x8f)]):_0x35338b[_0x393d02(0x9c)])),this[_0x393d02(0xa0)]['on'](_0x393d02(0xa7),(_0x3b9ee5,_0x3f9f1e)=>{const _0x42353d=_0x393d02;if(_0x42353d(0xb0)!==_0x3f9f1e[_0x42353d(0xb1)])throw console[_0x42353d(0xa7)](_0x3f9f1e),new _0x190842(_0x42353d(0x72),null,{'originalError':_0x3f9f1e});_0x34c37e[_0x42353d(0xa6)](_0x42353d(0xab),{'title':_0x42353d(0x9f),'namespace':_0x42353d(0x83)});}),!_0x4d156e['me'])return new Promise(_0x4cdec0=>_0x4d156e['on'](_0x393d02(0x87),_0x4cdec0));})[_0x5b2842(0xac)](_0x4693fd=>{const _0x126145=_0x5b2842;throw console[_0x126145(0xa7)](_0x4693fd),new _0x190842(_0x126145(0x72),null,{'originalError':_0x4693fd});});}[_0x1d1247(0x71)](_0x175fe8){const _0x26f340=_0x1d1247;if(_0x26f340(0x80)!=typeof _0x175fe8[_0x26f340(0x7c)])throw new _0x190842(_0x26f340(0x79),this);if(this[_0x26f340(0xaa)](_0x175fe8))throw new _0x190842(_0x26f340(0x91),this,{'name':_0x175fe8[_0x26f340(0x88)][_0x26f340(0x82)]});this[_0x26f340(0xa3)][_0x26f340(0x81)](_0x175fe8);}[_0x1d1247(0x78)](_0x1ad863){const _0x4c7c78=_0x1d1247;this[_0x4c7c78(0xa3)][_0x4c7c78(0x6a)](_0x1ad863);}[_0x1d1247(0xaa)](_0x26a62f){const _0x2bf64b=_0x1d1247;return this[_0x2bf64b(0xa3)][_0x2bf64b(0xa2)](_0x26a62f);}[_0x1d1247(0xa1)](){const _0x1a7310=_0x1d1247;return this[_0x1a7310(0xa0)][_0x1a7310(0x7c)]()[_0x1a7310(0x75)](()=>Promise[_0x1a7310(0x89)](Array[_0x1a7310(0x9d)](this[_0x1a7310(0xa3)],_0xed4c31=>_0xed4c31[_0x1a7310(0x7c)]())))[_0x1a7310(0x75)](()=>this[_0x1a7310(0x68)]=_0x35338b[_0x1a7310(0x9c)])[_0x1a7310(0xac)](_0x22626d=>{const _0x16a231=_0x1a7310;throw console[_0x16a231(0xa7)](_0x22626d),new _0x190842(_0x16a231(0x95),this[_0x16a231(0xa9)]);});}[_0x1d1247(0x6c)](){const _0x1e10f5=_0x1d1247;this[_0x1e10f5(0xa0)]&&this[_0x1e10f5(0xa0)][_0x1e10f5(0x6c)](),this[_0x1e10f5(0x68)]=_0x35338b[_0x1e10f5(0x70)],this[_0x1e10f5(0x94)][_0x1e10f5(0x74)]();}[_0x1d1247(0x9b)](){const _0x2f4512=_0x1d1247;this[_0x2f4512(0x6c)](),super[_0x2f4512(0x9b)]();}}c[_0x1d1247(0xa4)]=_0x2b1735,c[_0x1d1247(0x7b)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3609(){var _0x45e380=['11HIwbZs','7twKCjb','27774wHShEt','requires','1081656FQxBMg','2175964Lnjgew','pluginName','3007180drFANL','isPremiumPlugin','2703480ctkWVK','isOfficialPlugin','1828005sRLMau','8624ZwvrJX','164ytRZAm','655FFxZvJ','RealTimeCollaborativeEditing'];_0x3609=function(){return _0x45e380;};return _0x3609();}var _0x44fbba=_0x1c29;function _0x1c29(_0xd26446,_0x287e76){var _0x360953=_0x3609();return _0x1c29=function(_0x1c29b2,_0x20eb82){_0x1c29b2=_0x1c29b2-0x171;var _0x5638fe=_0x360953[_0x1c29b2];return _0x5638fe;},_0x1c29(_0xd26446,_0x287e76);}(function(_0x4505bd,_0x21bc1a){var _0x6b0d2b=_0x1c29,_0x3eb3fc=_0x4505bd();while(!![]){try{var _0x4cd6c7=parseInt(_0x6b0d2b(0x17b))/0x1*(-parseInt(_0x6b0d2b(0x17c))/0x2)+parseInt(_0x6b0d2b(0x17a))/0x3+parseInt(_0x6b0d2b(0x174))/0x4+parseInt(_0x6b0d2b(0x17d))/0x5*(parseInt(_0x6b0d2b(0x171))/0x6)+parseInt(_0x6b0d2b(0x180))/0x7*(-parseInt(_0x6b0d2b(0x178))/0x8)+parseInt(_0x6b0d2b(0x173))/0x9+-parseInt(_0x6b0d2b(0x176))/0xa*(parseInt(_0x6b0d2b(0x17f))/0xb);if(_0x4cd6c7===_0x21bc1a)break;else _0x3eb3fc['push'](_0x3eb3fc['shift']());}catch(_0x178762){_0x3eb3fc['push'](_0x3eb3fc['shift']());}}}(_0x3609,0x82648));import{Plugin as _0xc6265a}from'ckeditor5/src/core.js';import _0x5808f7 from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0xc6265a{static get[_0x44fbba(0x172)](){return[_0x5808f7];}static get[_0x44fbba(0x175)](){var _0x186769=_0x44fbba;return _0x186769(0x17e);}static get[_0x44fbba(0x179)](){return!0x0;}static get[_0x44fbba(0x177)](){return!0x0;}}
|