@ckeditor/ckeditor5-real-time-collaboration 44.0.0-alpha.1 → 44.0.0-alpha.10
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/LICENSE.md +7 -7
- package/README.md +12 -10
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x545d69=_0x2521;(function(_0x1e23eb,_0x3a1960){const _0x425890=_0x2521,_0x4f2f6b=_0x1e23eb();while(!![]){try{const _0x52e819=-parseInt(_0x425890(0x216))/0x1*(parseInt(_0x425890(0x21c))/0x2)+-parseInt(_0x425890(0x1fe))/0x3+parseInt(_0x425890(0x211))/0x4+-parseInt(_0x425890(0x1ee))/0x5*(-parseInt(_0x425890(0x1d7))/0x6)+-parseInt(_0x425890(0x1ed))/0x7*(parseInt(_0x425890(0x226))/0x8)+-parseInt(_0x425890(0x1ff))/0x9*(parseInt(_0x425890(0x203))/0xa)+parseInt(_0x425890(0x22f))/0xb;if(_0x52e819===_0x3a1960)break;else _0x4f2f6b['push'](_0x4f2f6b['shift']());}catch(_0xb011f1){_0x4f2f6b['push'](_0x4f2f6b['shift']());}}}(_0x41de,0xae715));import{Context as _0x2ef821,ContextPlugin as _0x1601a5}from'ckeditor5/src/core.js';import{CKEditorError as _0x36f270}from'ckeditor5/src/utils.js';import{Users as _0x1ed59a}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x41de(){const _0x11c40b=['map','has','reconnect','comments','delete','commentRemoved','connect','commentUpdated','disconnect','16DhtPlp','getComment','addToReconnectionStack','unregister','_terminateService','code','commentThreadId','commentThreadResolved','_getService','9234797xPSzKc','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','permissions','get','createdAt','mySessionId','getUser','commentThreadAdded','cloud-services-internal-error:\x20Request\x20timeout.','catch','size','destroy','_connectService','remove','removeComment','10284JyPFwO','add','config','commentThreadUpdated','register','collaboration.channelId','cloudservicescommentsadapter-connect-already-connected','adapter','reopen','cloudservicescommentsadapter-service-not-exist','updateComment','from','cloud-services-internal-error:\x20Not\x20connected.','resolveCommentThread','reopenCommentThread','404','_fetchMissingUsersForThreads','update','resolvedAt','getCommentThreads','updateCommentThread','_services','916727jezmJs','2840TVKHCM','resolvedBy','attributes','Permissions','commentThreadReopened','message','commentAdded','cloudservicescommentsadapter-disconnect-not-exist','getMany','context','authorId','plugins','pluginName','off','removeCommentThread','requires','1080411eobVHX','9ehmzHJ','set','commentThreadRemoved','content','6789490syooEw','startsWith','CommentsRepository','addUser','addCommentThread','getConnectedSessions','init','commentId','keys','sessionAdd:','listenTo','setPermissions','CloudServicesCommentsAdapter','userId','5702892Btztoi','isPremiumPlugin','isOfficialPlugin','resolve','getCommentThread','3lHEbkl','CommentsService','deletedAt','assign','addComment','_setUpService','815518pxcxSQ'];_0x41de=function(){return _0x11c40b;};return _0x41de();}import{CommentsService as _0xe93b13,User as _0x3fa39d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x220617 from'../realtimecollaborativeediting/websocketgateway.js';import _0x84d379 from'../realtimecollaborativeediting/sessions.js';class a extends _0x1601a5{static get[_0x545d69(0x1fd)](){const _0x40bf74=_0x545d69;return[_0x220617,_0x40bf74(0x205),_0x84d379,_0x1ed59a];}static get[_0x545d69(0x1fa)](){const _0x114131=_0x545d69;return _0x114131(0x20f);}static get[_0x545d69(0x213)](){return!0x0;}static get[_0x545d69(0x212)](){return!0x0;}constructor(_0x43cb5e){const _0x4ed304=_0x545d69;super(_0x43cb5e),this[_0x4ed304(0x1ec)]=new Map();}async[_0x545d69(0x209)](){const _0xd1665e=_0x545d69,_0x17b05c=this[_0xd1665e(0x1f7)],_0x173664=_0x17b05c[_0xd1665e(0x1f9)][_0xd1665e(0x232)](_0xd1665e(0x205));if(_0x17b05c[_0xd1665e(0x1f9)][_0xd1665e(0x232)](_0x220617)[_0xd1665e(0x228)](this),_0x173664[_0xd1665e(0x1de)]={'addCommentThread':async({channelId:_0x32d3ba,threadId:_0x4cff7b,comments:_0x4b6200,resolvedAt:_0xdcf86c,resolvedBy:_0x89f9a4,context:_0xe0df08,attributes:_0x16585})=>{const _0x4823a4=_0xd1665e,_0x57015c=await this[_0x4823a4(0x22e)](_0x32d3ba)[_0x4823a4(0x207)]({'commentThreadId':_0x4cff7b,'comments':_0x4b6200[_0x4823a4(0x21d)](_0x40fc98=>function(_0x4c781a,_0x51b9dd,_0x4f13e8){const _0x4a86ec=_0x4823a4;return{'commentThreadId':_0x4f13e8,'commentId':_0x4c781a[_0x4a86ec(0x20a)],'userId':_0x4c781a[_0x4a86ec(0x1f8)],'content':_0x4c781a[_0x4a86ec(0x202)],'documentId':_0x51b9dd,'createdAt':_0x4c781a[_0x4a86ec(0x233)],'attributes':_0x4c781a[_0x4a86ec(0x1f0)]||{}};}(_0x40fc98,_0x32d3ba,_0x4cff7b)),'resolvedAt':_0xdcf86c,'resolvedBy':_0x89f9a4,'context':_0xe0df08,'attributes':_0x16585})[_0x4823a4(0x238)](w);return{'threadId':_0x57015c[_0x4823a4(0x22c)],'comments':_0x57015c[_0x4823a4(0x220)]};},'getCommentThread':async({channelId:_0x243b32,threadId:_0x143b5a})=>{const _0x22cf6d=_0xd1665e,_0x55f75d=await this[_0x22cf6d(0x22e)](_0x243b32)[_0x22cf6d(0x215)](_0x143b5a)[_0x22cf6d(0x238)](w);return _0x55f75d[_0x22cf6d(0x218)]?null:(await this[_0x22cf6d(0x1e7)]([_0x55f75d]),{'threadId':_0x55f75d[_0x22cf6d(0x22c)],'comments':_0x55f75d[_0x22cf6d(0x220)][_0x22cf6d(0x21d)](b),'context':_0x55f75d[_0x22cf6d(0x1f7)],'resolvedAt':_0x55f75d[_0x22cf6d(0x1e9)],'resolvedBy':_0x55f75d[_0x22cf6d(0x1ef)],'attributes':_0x55f75d[_0x22cf6d(0x1f0)]||{}});},'updateCommentThread':async({channelId:_0x19f3a7,threadId:_0x55bf58,context:_0xa28203,unlinkedAt:_0x55e99b,attributes:_0x125043})=>this[_0xd1665e(0x22e)](_0x19f3a7)[_0xd1665e(0x1eb)]({'commentThreadId':_0x55bf58,'context':_0xa28203,'attributes':_0x125043,'unlinkedAt':_0x55e99b})[_0xd1665e(0x238)](y)[_0xd1665e(0x238)](w),'resolveCommentThread':async({channelId:_0x45137c,threadId:_0xfe6185})=>{const _0x3e0f5c=_0xd1665e,_0x519906=await this[_0x3e0f5c(0x22e)](_0x45137c)[_0x3e0f5c(0x1e4)](_0xfe6185)[_0x3e0f5c(0x238)](y)[_0x3e0f5c(0x238)](w);return{'threadId':_0x519906[_0x3e0f5c(0x22c)],'resolvedAt':_0x519906[_0x3e0f5c(0x1e9)],'resolvedBy':_0x519906[_0x3e0f5c(0x1ef)]};},'reopenCommentThread':async({channelId:_0x211ef5,threadId:_0xea1a4a})=>this[_0xd1665e(0x22e)](_0x211ef5)[_0xd1665e(0x1e5)](_0xea1a4a)[_0xd1665e(0x238)](y)[_0xd1665e(0x238)](w),'removeCommentThread':({channelId:_0x158d0a,threadId:_0x1290b0})=>this[_0xd1665e(0x22e)](_0x158d0a)[_0xd1665e(0x1fc)](_0x1290b0)[_0xd1665e(0x238)](y)[_0xd1665e(0x238)](w),'addComment':({channelId:_0x838849,threadId:_0x5af8ff,commentId:_0x48c2ea,content:_0x2a3fc2,attributes:_0x159be7})=>this[_0xd1665e(0x22e)](_0x838849)[_0xd1665e(0x21a)](_0x5af8ff,_0x48c2ea,_0x2a3fc2,_0x159be7)[_0xd1665e(0x238)](w),'updateComment':({channelId:_0x147fc7,threadId:_0x29b72c,commentId:_0x311101,content:_0x5053e1,attributes:_0x568939})=>this[_0xd1665e(0x22e)](_0x147fc7)[_0xd1665e(0x1e1)](_0x29b72c,_0x311101,_0x5053e1,_0x568939)[_0xd1665e(0x238)](y)[_0xd1665e(0x238)](w),'removeComment':({channelId:_0xbaba1f,threadId:_0x58fe94,commentId:_0x33be5d})=>this[_0xd1665e(0x22e)](_0xbaba1f)[_0xd1665e(0x1d6)](_0x58fe94,_0x33be5d)[_0xd1665e(0x238)](y)[_0xd1665e(0x238)](w)},_0x17b05c instanceof _0x2ef821){const _0x54c679=_0x17b05c[_0xd1665e(0x1d9)][_0xd1665e(0x232)](_0xd1665e(0x1dc)),_0x3ca129=_0x17b05c[_0xd1665e(0x1f9)][_0xd1665e(0x232)](_0x84d379);await this[_0xd1665e(0x21b)](_0x54c679);const _0x395af4=await this[_0xd1665e(0x1ec)][_0xd1665e(0x232)](_0x54c679)[_0xd1665e(0x208)]();this[_0xd1665e(0x20d)](_0x3ca129,_0xd1665e(0x20c)+_0x54c679,(_0x40ae19,{session:_0x58b8e3})=>{const _0x459f1a=_0xd1665e;_0x58b8e3['id']===_0x3ca129[_0x459f1a(0x234)]&&(_0x40ae19[_0x459f1a(0x1fb)](),this[_0x459f1a(0x1f7)][_0x459f1a(0x1f9)][_0x459f1a(0x232)](_0x459f1a(0x1f1))[_0x459f1a(0x20e)](_0x58b8e3[_0x459f1a(0x231)],_0x54c679));}),_0x3ca129[_0xd1665e(0x1db)](_0x54c679,_0x395af4);}}async[_0x545d69(0x21b)](_0x481257){const _0x2f0a49=_0x545d69;if(this[_0x2f0a49(0x1ec)][_0x2f0a49(0x21e)](_0x481257))throw new _0x36f270(_0x2f0a49(0x1dd),null,{'channelId':_0x481257});const _0x3cfd5c=this[_0x2f0a49(0x1f7)][_0x2f0a49(0x1f9)][_0x2f0a49(0x232)](_0x2f0a49(0x205)),_0x1c1b13=new a[(_0x2f0a49(0x217))](_0x481257);this[_0x2f0a49(0x1ec)][_0x2f0a49(0x200)](_0x481257,_0x1c1b13),this[_0x2f0a49(0x20d)](_0x1c1b13,_0x2f0a49(0x236),(_0x4e584a,_0x195b2c)=>{const _0x371626=_0x2f0a49,{commentThreadId:_0x8104a1,documentId:_0x8d23,context:_0x106473,attributes:_0x57d5d4,resolvedAt:_0xbbb13b,resolvedBy:_0x3d481b,comments:_0x46c646}=_0x195b2c;_0x3cfd5c[_0x371626(0x215)](_0x8104a1)||_0x3cfd5c[_0x371626(0x207)]({'threadId':_0x8104a1,'channelId':_0x8d23,'comments':_0x46c646?_0x46c646[_0x371626(0x21d)](b):[],'context':_0x106473,'attributes':_0x57d5d4,'resolvedAt':_0xbbb13b,'resolvedBy':_0x3d481b,'isFromAdapter':!0x0});}),this[_0x2f0a49(0x20d)](_0x1c1b13,_0x2f0a49(0x1da),(_0x5b591c,{commentThreadId:_0x4ddf37,documentId:_0x86285c,context:_0x16acab,unlinkedAt:_0x596d40,attributes:_0x501e0c})=>{const _0x47e353=_0x2f0a49;_0x3cfd5c[_0x47e353(0x215)](_0x4ddf37)&&_0x3cfd5c[_0x47e353(0x1eb)]({'threadId':_0x4ddf37,'channelId':_0x86285c,'context':_0x16acab,'unlinkedAt':_0x596d40,'attributes':_0x501e0c,'isFromAdapter':!0x0});}),this[_0x2f0a49(0x20d)](_0x1c1b13,_0x2f0a49(0x22d),(_0x3366c9,{commentThreadId:_0x23ff97,resolvedBy:_0x42d42f,resolvedAt:_0x503908})=>{const _0x1de1c2=_0x2f0a49,_0x3f09ff=_0x3cfd5c[_0x1de1c2(0x215)](_0x23ff97);_0x3f09ff&&_0x3f09ff[_0x1de1c2(0x214)]({'resolvedBy':_0x42d42f,'resolvedAt':_0x503908,'isFromAdapter':!0x0});}),this[_0x2f0a49(0x20d)](_0x1c1b13,_0x2f0a49(0x1f2),(_0x456546,{commentThreadId:_0x2c2289})=>{const _0x51620d=_0x2f0a49,_0x475bda=_0x3cfd5c[_0x51620d(0x215)](_0x2c2289);_0x475bda&&_0x475bda[_0x51620d(0x1df)]({'isFromAdapter':!0x0});}),this[_0x2f0a49(0x20d)](_0x1c1b13,_0x2f0a49(0x201),(_0x3cfcc2,{commentThreadId:_0x1e725f})=>{const _0x37058f=_0x2f0a49,_0x5edcfc=_0x3cfd5c[_0x37058f(0x215)](_0x1e725f);_0x5edcfc&&_0x5edcfc[_0x37058f(0x23c)]({'isFromAdapter':!0x0});}),this[_0x2f0a49(0x20d)](_0x1c1b13,_0x2f0a49(0x1f4),(_0x210041,_0x4bf60f)=>{const _0x5e026e=_0x2f0a49,_0x4f8e28=_0x4bf60f[_0x5e026e(0x22c)],_0x1a8ef0=_0x3cfd5c[_0x5e026e(0x215)](_0x4f8e28);_0x1a8ef0&&_0x1a8ef0[_0x5e026e(0x21a)]({...b(_0x4bf60f),'isFromAdapter':!0x0});}),this[_0x2f0a49(0x20d)](_0x1c1b13,_0x2f0a49(0x224),(_0x2f555a,{commentThreadId:_0xe46668,commentId:_0x2848fe,content:_0x392ed0,attributes:_0x41224b})=>{const _0x61e309=_0x2f0a49,_0x1c4032=_0x3cfd5c[_0x61e309(0x215)](_0xe46668);if(_0x1c4032){const _0x44a24d=_0x1c4032[_0x61e309(0x227)](_0x2848fe);_0x44a24d&&_0x44a24d[_0x61e309(0x1e8)]({'content':_0x392ed0,'attributes':_0x41224b,'isFromAdapter':!0x0});}}),this[_0x2f0a49(0x20d)](_0x1c1b13,_0x2f0a49(0x222),(_0x28c99e,{commentThreadId:_0x2cb611,commentId:_0x775a4d})=>{const _0x2c552b=_0x2f0a49,_0x3631a1=_0x3cfd5c[_0x2c552b(0x215)](_0x2cb611);if(_0x3631a1){const _0x47a6a7=_0x3631a1[_0x2c552b(0x227)](_0x775a4d);_0x47a6a7&&_0x47a6a7[_0x2c552b(0x23c)]({'isFromAdapter':!0x0});}}),await this[_0x2f0a49(0x23b)](_0x481257);}[_0x545d69(0x23a)](){const _0x2b6679=_0x545d69;if(this[_0x2b6679(0x1f7)]instanceof _0x2ef821){const _0x1e9e57=this[_0x2b6679(0x1f7)][_0x2b6679(0x1d9)][_0x2b6679(0x232)](_0x2b6679(0x1dc));this[_0x2b6679(0x22a)](_0x1e9e57);}}[_0x545d69(0x22a)](_0x14e9db){const _0x27fbeb=_0x545d69;if(!this[_0x27fbeb(0x1ec)][_0x27fbeb(0x21e)](_0x14e9db))throw new _0x36f270(_0x27fbeb(0x1f5),null,{'channelId':_0x14e9db});this[_0x27fbeb(0x22e)](_0x14e9db)[_0x27fbeb(0x225)](),this[_0x27fbeb(0x1ec)][_0x27fbeb(0x221)](_0x14e9db);}async[_0x545d69(0x21f)](){const _0x3d6bd0=_0x545d69;for(const _0x288e67 of this[_0x3d6bd0(0x1ec)][_0x3d6bd0(0x20b)]())await this[_0x3d6bd0(0x23b)](_0x288e67);if(this[_0x3d6bd0(0x1f7)]instanceof _0x2ef821){const _0x2bf769=this[_0x3d6bd0(0x1f7)][_0x3d6bd0(0x1d9)][_0x3d6bd0(0x232)](_0x3d6bd0(0x1dc)),_0x189d14=this[_0x3d6bd0(0x1f7)][_0x3d6bd0(0x1f9)][_0x3d6bd0(0x232)](_0x84d379);_0x189d14[_0x3d6bd0(0x229)](_0x2bf769);const _0x588c53=await this[_0x3d6bd0(0x1ec)][_0x3d6bd0(0x232)](_0x2bf769)[_0x3d6bd0(0x208)]();_0x189d14[_0x3d6bd0(0x1db)](_0x2bf769,_0x588c53);}}async[_0x545d69(0x23b)](_0x5edc1e){const _0x37c92e=_0x545d69,{connection:_0x1afdac}=this[_0x37c92e(0x1f7)][_0x37c92e(0x1f9)][_0x37c92e(0x232)](_0x220617),_0x111be5=this[_0x37c92e(0x1f7)][_0x37c92e(0x1f9)][_0x37c92e(0x232)](_0x37c92e(0x205)),_0x1f2d73=this[_0x37c92e(0x1ec)][_0x37c92e(0x232)](_0x5edc1e),_0x2fe013=await _0x1f2d73[_0x37c92e(0x223)](_0x1afdac);await this[_0x37c92e(0x1e7)](_0x2fe013);const _0x27c422=new Set(Array[_0x37c92e(0x1e2)](_0x111be5[_0x37c92e(0x1ea)]({'channelId':_0x5edc1e}),_0x363fa7=>_0x363fa7['id']));for(const _0x1e7bc5 of _0x2fe013)_0x1e7bc5[_0x37c92e(0x218)]||_0x27c422[_0x37c92e(0x221)](_0x1e7bc5[_0x37c92e(0x22c)]);for(const _0x5d9cd6 of _0x27c422)_0x111be5[_0x37c92e(0x215)](_0x5d9cd6)[_0x37c92e(0x23c)]({'isFromAdapter':!0x0});for(const _0x102fe1 of _0x2fe013){let _0x2a25bd=_0x111be5[_0x37c92e(0x215)](_0x102fe1[_0x37c92e(0x22c)]);const {commentThreadId:_0x1b1b2b,context:_0x1bb76a,attributes:_0x1cceba,resolvedBy:_0x4a8e29,resolvedAt:_0x33a938,unlinkedAt:_0x2a9a35,deletedAt:_0x3ffa2a}=_0x102fe1;if(_0x3ffa2a)continue;_0x2a25bd||(_0x2a25bd=_0x111be5[_0x37c92e(0x207)]({'channelId':_0x5edc1e,'threadId':_0x1b1b2b,'context':_0x1bb76a,'attributes':_0x1cceba||{},'resolvedBy':_0x4a8e29,'resolvedAt':_0x33a938,'unlinkedAt':_0x2a9a35,'isFromAdapter':!0x0}));const _0x598ed8=new Set(Array[_0x37c92e(0x1e2)](_0x2a25bd[_0x37c92e(0x220)],_0x350c3c=>_0x350c3c['id']));for(const _0x3a8b78 of _0x102fe1[_0x37c92e(0x220)])_0x598ed8[_0x37c92e(0x221)](_0x3a8b78[_0x37c92e(0x20a)]);for(const _0x3cd543 of _0x598ed8)_0x2a25bd[_0x37c92e(0x227)](_0x3cd543)[_0x37c92e(0x23c)]({'isFromAdapter':!0x0});for(const _0x3b9af9 of _0x102fe1[_0x37c92e(0x220)]){const _0x2060f4=_0x2a25bd[_0x37c92e(0x227)](_0x3b9af9[_0x37c92e(0x20a)]);_0x2060f4?_0x2060f4[_0x37c92e(0x202)]!==_0x3b9af9[_0x37c92e(0x202)]&&_0x2060f4[_0x37c92e(0x1e8)]({'content':_0x3b9af9[_0x37c92e(0x202)],'isFromAdapter':!0x0}):_0x2a25bd[_0x37c92e(0x21a)](Object[_0x37c92e(0x219)](b(_0x3b9af9),{'isFromAdapter':!0x0}));}}}[_0x545d69(0x22e)](_0x518291){const _0x3efdf1=_0x545d69;if(!this[_0x3efdf1(0x1ec)][_0x3efdf1(0x21e)](_0x518291))throw new _0x36f270(_0x3efdf1(0x1e0),null,{'channelId':_0x518291});return this[_0x3efdf1(0x1ec)][_0x3efdf1(0x232)](_0x518291);}async[_0x545d69(0x1e7)](_0x515643){const _0x35e908=_0x545d69,_0x10451f=this[_0x35e908(0x1f7)][_0x35e908(0x1f9)][_0x35e908(0x232)](_0x1ed59a),{connection:_0x198da9}=this[_0x35e908(0x1f7)][_0x35e908(0x1f9)][_0x35e908(0x232)](_0x220617),_0x58901f=new Set();for(const {resolvedBy:_0x529077,comments:_0x3ec079}of _0x515643){_0x529077&&!_0x10451f[_0x35e908(0x235)](_0x529077)&&_0x58901f[_0x35e908(0x1d8)](_0x529077);for(const {userId:_0x118008}of _0x3ec079)_0x10451f[_0x35e908(0x235)](_0x118008)||_0x58901f[_0x35e908(0x1d8)](_0x118008);}if(0x0===_0x58901f[_0x35e908(0x239)])return;const _0x2275eb=await _0x3fa39d[_0x35e908(0x1f6)](_0x198da9,Array[_0x35e908(0x1e2)](_0x58901f));for(const _0x3fd508 of _0x2275eb)_0x10451f[_0x35e908(0x235)](_0x3fd508['id'])||_0x10451f[_0x35e908(0x206)](_0x3fd508);}}a[_0x545d69(0x217)]=_0xe93b13;export default a;async function y(_0x2cb7af){const _0x3a31ac=_0x545d69;if(_0x3a31ac(0x1e6)!==_0x2cb7af[_0x3a31ac(0x22b)])throw _0x2cb7af;}function _0x2521(_0x1a313b,_0x370581){const _0x41dea4=_0x41de();return _0x2521=function(_0x252123,_0x18872c){_0x252123=_0x252123-0x1d6;let _0x5104c4=_0x41dea4[_0x252123];return _0x5104c4;},_0x2521(_0x1a313b,_0x370581);}function w(_0x102d95){const _0x449eb8=_0x545d69;if((_0x513891=_0x102d95)[_0x449eb8(0x1f3)][_0x449eb8(0x204)](_0x449eb8(0x230))||_0x513891[_0x449eb8(0x1f3)][_0x449eb8(0x204)](_0x449eb8(0x1e3))||_0x513891[_0x449eb8(0x1f3)][_0x449eb8(0x204)](_0x449eb8(0x237)))return new Promise(()=>{});var _0x513891;throw _0x102d95;}function b(_0xe87ca3){const _0x18ffb8=_0x545d69;return{'threadId':_0xe87ca3[_0x18ffb8(0x22c)],'commentId':_0xe87ca3[_0x18ffb8(0x20a)],'content':_0xe87ca3[_0x18ffb8(0x202)],'createdAt':_0xe87ca3[_0x18ffb8(0x233)],'authorId':_0xe87ca3[_0x18ffb8(0x210)],'attributes':_0xe87ca3[_0x18ffb8(0x1f0)]||{}};}
|
|
23
|
+
function _0x46e3(){const _0x3173c2=['remove','register','code','18jSumMX','cloud-services-internal-error:\x20Request\x20timeout.','add','off','404','30cPtlNO','isOfficialPlugin','commentThreadAdded','reconnect','permissions','get','content','commentThreadResolved','_fetchMissingUsersForThreads','commentThreadRemoved','set','resolveCommentThread','update','CommentsService','comments','commentThreadReopened','resolve','commentId','_terminateService','connect','userId','setPermissions','config','cloudservicescommentsadapter-connect-already-connected','destroy','pluginName','CloudServicesCommentsAdapter','disconnect','startsWith','resolvedBy','commentThreadUpdated','723434MKkxaY','isPremiumPlugin','addComment','getConnectedSessions','_connectService','size','plugins','unregister','commentRemoved','attributes','has','getCommentThreads','removeComment','_services','updateCommentThread','getComment','getUser','76600uQZVJc','authorId','delete','adapter','_setUpService','listenTo','addCommentThread','context','cloudservicescommentsadapter-disconnect-not-exist','getMany','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','deletedAt','map','reopenCommentThread','commentAdded','reopen','1360896SyQIww','commentThreadId','addToReconnectionStack','commentUpdated','mySessionId','_getService','init','1935094xMhqgS','getCommentThread','requires','assign','cloudservicescommentsadapter-service-not-exist','removeCommentThread','496673vJAgRi','createdAt','addUser','sessionAdd:','catch','collaboration.channelId','message','cloud-services-internal-error:\x20Not\x20connected.','2887520DlXfbb','keys','updateComment','Permissions','resolvedAt','from','CommentsRepository','1115286IsmSpB'];_0x46e3=function(){return _0x3173c2;};return _0x46e3();}const _0x21ee67=_0x168e;function _0x168e(_0x2850fe,_0x3c6dd5){const _0x46e39d=_0x46e3();return _0x168e=function(_0x168ee5,_0x54de24){_0x168ee5=_0x168ee5-0x1b4;let _0x8281b=_0x46e39d[_0x168ee5];return _0x8281b;},_0x168e(_0x2850fe,_0x3c6dd5);}(function(_0x7472cd,_0x12fa95){const _0x4f77fa=_0x168e,_0x5f55a1=_0x7472cd();while(!![]){try{const _0x2756a2=parseInt(_0x4f77fa(0x1f2))/0x1+parseInt(_0x4f77fa(0x1c4))/0x2+-parseInt(_0x4f77fa(0x201))/0x3+parseInt(_0x4f77fa(0x1e5))/0x4+-parseInt(_0x4f77fa(0x1d5))/0x5*(parseInt(_0x4f77fa(0x20a))/0x6)+parseInt(_0x4f77fa(0x1ec))/0x7+parseInt(_0x4f77fa(0x1fa))/0x8*(-parseInt(_0x4f77fa(0x205))/0x9);if(_0x2756a2===_0x12fa95)break;else _0x5f55a1['push'](_0x5f55a1['shift']());}catch(_0x475a5d){_0x5f55a1['push'](_0x5f55a1['shift']());}}}(_0x46e3,0x4a6ae));import{Context as _0x5640db,ContextPlugin as _0x2250c8}from'ckeditor5/src/core.js';import{CKEditorError as _0x429c61}from'ckeditor5/src/utils.js';import{Users as _0x3d7ebf}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x171e56,User as _0x340080}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x47f9a6 from'../realtimecollaborativeediting/websocketgateway.js';import _0x3c0b4e from'../realtimecollaborativeediting/sessions.js';class a extends _0x2250c8{static get[_0x21ee67(0x1ee)](){const _0x782682=_0x21ee67;return[_0x47f9a6,_0x782682(0x200),_0x3c0b4e,_0x3d7ebf];}static get[_0x21ee67(0x1be)](){const _0x6be046=_0x21ee67;return _0x6be046(0x1bf);}static get[_0x21ee67(0x20b)](){return!0x0;}static get[_0x21ee67(0x1c5)](){return!0x0;}constructor(_0xb8d4a6){const _0x24168a=_0x21ee67;super(_0xb8d4a6),this[_0x24168a(0x1d1)]=new Map();}async[_0x21ee67(0x1eb)](){const _0x5b74ee=_0x21ee67,_0x35a13a=this[_0x5b74ee(0x1dc)],_0x192c5f=_0x35a13a[_0x5b74ee(0x1ca)][_0x5b74ee(0x20f)](_0x5b74ee(0x200));if(_0x35a13a[_0x5b74ee(0x1ca)][_0x5b74ee(0x20f)](_0x47f9a6)[_0x5b74ee(0x1e7)](this),_0x192c5f[_0x5b74ee(0x1d8)]={'addCommentThread':async({channelId:_0x2eb1c3,threadId:_0x5c528c,comments:_0x175dc3,resolvedAt:_0x28ae85,resolvedBy:_0x49c751,context:_0x1a4056,attributes:_0x16b5e9})=>{const _0x7ca657=_0x5b74ee,_0x2bbb83=await this[_0x7ca657(0x1ea)](_0x2eb1c3)[_0x7ca657(0x1db)]({'commentThreadId':_0x5c528c,'comments':_0x175dc3[_0x7ca657(0x1e1)](_0xb6d25e=>function(_0x4d14a2,_0x884346,_0x34d73f){const _0x45306f=_0x7ca657;return{'commentThreadId':_0x34d73f,'commentId':_0x4d14a2[_0x45306f(0x1b6)],'userId':_0x4d14a2[_0x45306f(0x1d6)],'content':_0x4d14a2[_0x45306f(0x210)],'documentId':_0x884346,'createdAt':_0x4d14a2[_0x45306f(0x1f3)],'attributes':_0x4d14a2[_0x45306f(0x1cd)]||{}};}(_0xb6d25e,_0x2eb1c3,_0x5c528c)),'resolvedAt':_0x28ae85,'resolvedBy':_0x49c751,'context':_0x1a4056,'attributes':_0x16b5e9})[_0x7ca657(0x1f6)](R);return{'threadId':_0x2bbb83[_0x7ca657(0x1e6)],'comments':_0x2bbb83[_0x7ca657(0x218)]};},'getCommentThread':async({channelId:_0x2fe173,threadId:_0x51ad99})=>{const _0x60f984=_0x5b74ee,_0x34102b=await this[_0x60f984(0x1ea)](_0x2fe173)[_0x60f984(0x1ed)](_0x51ad99)[_0x60f984(0x1f6)](R);return _0x34102b[_0x60f984(0x1e0)]?null:(await this[_0x60f984(0x212)]([_0x34102b]),{'threadId':_0x34102b[_0x60f984(0x1e6)],'comments':_0x34102b[_0x60f984(0x218)][_0x60f984(0x1e1)](S),'context':_0x34102b[_0x60f984(0x1dc)],'resolvedAt':_0x34102b[_0x60f984(0x1fe)],'resolvedBy':_0x34102b[_0x60f984(0x1c2)],'attributes':_0x34102b[_0x60f984(0x1cd)]||{}});},'updateCommentThread':async({channelId:_0x39fd0f,threadId:_0x22721a,context:_0x3ea0fc,unlinkedAt:_0x1e031d,attributes:_0x116d7c})=>this[_0x5b74ee(0x1ea)](_0x39fd0f)[_0x5b74ee(0x1d2)]({'commentThreadId':_0x22721a,'context':_0x3ea0fc,'attributes':_0x116d7c,'unlinkedAt':_0x1e031d})[_0x5b74ee(0x1f6)](B)[_0x5b74ee(0x1f6)](R),'resolveCommentThread':async({channelId:_0x25e12d,threadId:_0x192cc8})=>{const _0x570c05=_0x5b74ee,_0xd5e792=await this[_0x570c05(0x1ea)](_0x25e12d)[_0x570c05(0x215)](_0x192cc8)[_0x570c05(0x1f6)](B)[_0x570c05(0x1f6)](R);return{'threadId':_0xd5e792[_0x570c05(0x1e6)],'resolvedAt':_0xd5e792[_0x570c05(0x1fe)],'resolvedBy':_0xd5e792[_0x570c05(0x1c2)]};},'reopenCommentThread':async({channelId:_0x4c03ac,threadId:_0x5eb106})=>this[_0x5b74ee(0x1ea)](_0x4c03ac)[_0x5b74ee(0x1e2)](_0x5eb106)[_0x5b74ee(0x1f6)](B)[_0x5b74ee(0x1f6)](R),'removeCommentThread':({channelId:_0x2d81d5,threadId:_0x57bacc})=>this[_0x5b74ee(0x1ea)](_0x2d81d5)[_0x5b74ee(0x1f1)](_0x57bacc)[_0x5b74ee(0x1f6)](B)[_0x5b74ee(0x1f6)](R),'addComment':({channelId:_0x48482e,threadId:_0xc64b6c,commentId:_0x3519db,content:_0xfbfa9e,attributes:_0xb04e7d})=>this[_0x5b74ee(0x1ea)](_0x48482e)[_0x5b74ee(0x1c6)](_0xc64b6c,_0x3519db,_0xfbfa9e,_0xb04e7d)[_0x5b74ee(0x1f6)](R),'updateComment':({channelId:_0x363bf7,threadId:_0x4b6633,commentId:_0x54c40b,content:_0x3dec76,attributes:_0x21c2c1})=>this[_0x5b74ee(0x1ea)](_0x363bf7)[_0x5b74ee(0x1fc)](_0x4b6633,_0x54c40b,_0x3dec76,_0x21c2c1)[_0x5b74ee(0x1f6)](B)[_0x5b74ee(0x1f6)](R),'removeComment':({channelId:_0x561dbf,threadId:_0x25bd28,commentId:_0x35be40})=>this[_0x5b74ee(0x1ea)](_0x561dbf)[_0x5b74ee(0x1d0)](_0x25bd28,_0x35be40)[_0x5b74ee(0x1f6)](B)[_0x5b74ee(0x1f6)](R)},_0x35a13a instanceof _0x5640db){const _0x91a61f=_0x35a13a[_0x5b74ee(0x1bb)][_0x5b74ee(0x20f)](_0x5b74ee(0x1f7)),_0x2ed30d=_0x35a13a[_0x5b74ee(0x1ca)][_0x5b74ee(0x20f)](_0x3c0b4e);await this[_0x5b74ee(0x1d9)](_0x91a61f);const _0x491bfa=await this[_0x5b74ee(0x1d1)][_0x5b74ee(0x20f)](_0x91a61f)[_0x5b74ee(0x1c7)]();this[_0x5b74ee(0x1da)](_0x2ed30d,_0x5b74ee(0x1f5)+_0x91a61f,(_0x262d7c,{session:_0x254746})=>{const _0x552f3e=_0x5b74ee;_0x254746['id']===_0x2ed30d[_0x552f3e(0x1e9)]&&(_0x262d7c[_0x552f3e(0x208)](),this[_0x552f3e(0x1dc)][_0x552f3e(0x1ca)][_0x552f3e(0x20f)](_0x552f3e(0x1fd))[_0x552f3e(0x1ba)](_0x254746[_0x552f3e(0x20e)],_0x91a61f));}),_0x2ed30d[_0x5b74ee(0x203)](_0x91a61f,_0x491bfa);}}async[_0x21ee67(0x1d9)](_0x3bfaae){const _0x57a071=_0x21ee67;if(this[_0x57a071(0x1d1)][_0x57a071(0x1ce)](_0x3bfaae))throw new _0x429c61(_0x57a071(0x1bc),null,{'channelId':_0x3bfaae});const _0x35b1b6=this[_0x57a071(0x1dc)][_0x57a071(0x1ca)][_0x57a071(0x20f)](_0x57a071(0x200)),_0x58a42e=new a[(_0x57a071(0x217))](_0x3bfaae);this[_0x57a071(0x1d1)][_0x57a071(0x214)](_0x3bfaae,_0x58a42e),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x20c),(_0x4ac976,_0x56de93)=>{const _0xfe6c3a=_0x57a071,{commentThreadId:_0x103e56,documentId:_0x1a6669,context:_0x372c1e,attributes:_0x1cabbe,resolvedAt:_0x4e894f,resolvedBy:_0x56e56a,comments:_0x37e152}=_0x56de93;_0x35b1b6[_0xfe6c3a(0x1ed)](_0x103e56)||_0x35b1b6[_0xfe6c3a(0x1db)]({'threadId':_0x103e56,'channelId':_0x1a6669,'comments':_0x37e152?_0x37e152[_0xfe6c3a(0x1e1)](S):[],'context':_0x372c1e,'attributes':_0x1cabbe,'resolvedAt':_0x4e894f,'resolvedBy':_0x56e56a,'isFromAdapter':!0x0});}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x1c3),(_0x1533f4,{commentThreadId:_0x49de52,documentId:_0x4d99d5,context:_0x4d223d,unlinkedAt:_0x1506d7,attributes:_0x40a09c})=>{const _0x433e24=_0x57a071;_0x35b1b6[_0x433e24(0x1ed)](_0x49de52)&&_0x35b1b6[_0x433e24(0x1d2)]({'threadId':_0x49de52,'channelId':_0x4d99d5,'context':_0x4d223d,'unlinkedAt':_0x1506d7,'attributes':_0x40a09c,'isFromAdapter':!0x0});}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x211),(_0x5d80fe,{commentThreadId:_0x5c456d,resolvedBy:_0x22ab2e,resolvedAt:_0x4adddd})=>{const _0x177def=_0x57a071,_0x350556=_0x35b1b6[_0x177def(0x1ed)](_0x5c456d);_0x350556&&_0x350556[_0x177def(0x1b5)]({'resolvedBy':_0x22ab2e,'resolvedAt':_0x4adddd,'isFromAdapter':!0x0});}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x1b4),(_0x36cb8b,{commentThreadId:_0x4a955d})=>{const _0x126569=_0x57a071,_0x448acd=_0x35b1b6[_0x126569(0x1ed)](_0x4a955d);_0x448acd&&_0x448acd[_0x126569(0x1e4)]({'isFromAdapter':!0x0});}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x213),(_0x304a62,{commentThreadId:_0xf6bc81})=>{const _0x1da605=_0x57a071,_0x551595=_0x35b1b6[_0x1da605(0x1ed)](_0xf6bc81);_0x551595&&_0x551595[_0x1da605(0x202)]({'isFromAdapter':!0x0});}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x1e3),(_0x38cece,_0x2e52e6)=>{const _0x299505=_0x57a071,_0x45f71f=_0x2e52e6[_0x299505(0x1e6)],_0x512898=_0x35b1b6[_0x299505(0x1ed)](_0x45f71f);_0x512898&&_0x512898[_0x299505(0x1c6)]({...S(_0x2e52e6),'isFromAdapter':!0x0});}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x1e8),(_0x28167e,{commentThreadId:_0x1b08ae,commentId:_0x463c75,content:_0x433222,attributes:_0x3b88df})=>{const _0x206828=_0x57a071,_0x42d140=_0x35b1b6[_0x206828(0x1ed)](_0x1b08ae);if(_0x42d140){const _0x35839a=_0x42d140[_0x206828(0x1d3)](_0x463c75);_0x35839a&&_0x35839a[_0x206828(0x216)]({'content':_0x433222,'attributes':_0x3b88df,'isFromAdapter':!0x0});}}),this[_0x57a071(0x1da)](_0x58a42e,_0x57a071(0x1cc),(_0x12be3d,{commentThreadId:_0x8bf9e4,commentId:_0x286dab})=>{const _0x280cd7=_0x57a071,_0x574159=_0x35b1b6[_0x280cd7(0x1ed)](_0x8bf9e4);if(_0x574159){const _0x303725=_0x574159[_0x280cd7(0x1d3)](_0x286dab);_0x303725&&_0x303725[_0x280cd7(0x202)]({'isFromAdapter':!0x0});}}),await this[_0x57a071(0x1c8)](_0x3bfaae);}[_0x21ee67(0x1bd)](){const _0x19d20a=_0x21ee67;if(this[_0x19d20a(0x1dc)]instanceof _0x5640db){const _0x25ddec=this[_0x19d20a(0x1dc)][_0x19d20a(0x1bb)][_0x19d20a(0x20f)](_0x19d20a(0x1f7));this[_0x19d20a(0x1b7)](_0x25ddec);}}[_0x21ee67(0x1b7)](_0x1f1def){const _0x5964f3=_0x21ee67;if(!this[_0x5964f3(0x1d1)][_0x5964f3(0x1ce)](_0x1f1def))throw new _0x429c61(_0x5964f3(0x1dd),null,{'channelId':_0x1f1def});this[_0x5964f3(0x1ea)](_0x1f1def)[_0x5964f3(0x1c0)](),this[_0x5964f3(0x1d1)][_0x5964f3(0x1d7)](_0x1f1def);}async[_0x21ee67(0x20d)](){const _0xd90857=_0x21ee67;for(const _0x2810e7 of this[_0xd90857(0x1d1)][_0xd90857(0x1fb)]())await this[_0xd90857(0x1c8)](_0x2810e7);if(this[_0xd90857(0x1dc)]instanceof _0x5640db){const _0x485c8f=this[_0xd90857(0x1dc)][_0xd90857(0x1bb)][_0xd90857(0x20f)](_0xd90857(0x1f7)),_0x30fc80=this[_0xd90857(0x1dc)][_0xd90857(0x1ca)][_0xd90857(0x20f)](_0x3c0b4e);_0x30fc80[_0xd90857(0x1cb)](_0x485c8f);const _0x311496=await this[_0xd90857(0x1d1)][_0xd90857(0x20f)](_0x485c8f)[_0xd90857(0x1c7)]();_0x30fc80[_0xd90857(0x203)](_0x485c8f,_0x311496);}}async[_0x21ee67(0x1c8)](_0x333f9d){const _0x4dff06=_0x21ee67,{connection:_0x235770}=this[_0x4dff06(0x1dc)][_0x4dff06(0x1ca)][_0x4dff06(0x20f)](_0x47f9a6),_0x4ddbf9=this[_0x4dff06(0x1dc)][_0x4dff06(0x1ca)][_0x4dff06(0x20f)](_0x4dff06(0x200)),_0x5ac819=this[_0x4dff06(0x1d1)][_0x4dff06(0x20f)](_0x333f9d),_0xefcc53=await _0x5ac819[_0x4dff06(0x1b8)](_0x235770);await this[_0x4dff06(0x212)](_0xefcc53);const _0x46f158=new Set(Array[_0x4dff06(0x1ff)](_0x4ddbf9[_0x4dff06(0x1cf)]({'channelId':_0x333f9d}),_0x37fe64=>_0x37fe64['id']));for(const _0x1c1373 of _0xefcc53)_0x1c1373[_0x4dff06(0x1e0)]||_0x46f158[_0x4dff06(0x1d7)](_0x1c1373[_0x4dff06(0x1e6)]);for(const _0x4b3b34 of _0x46f158)_0x4ddbf9[_0x4dff06(0x1ed)](_0x4b3b34)[_0x4dff06(0x202)]({'isFromAdapter':!0x0});for(const _0x13c77d of _0xefcc53){let _0x23d4c5=_0x4ddbf9[_0x4dff06(0x1ed)](_0x13c77d[_0x4dff06(0x1e6)]);const {commentThreadId:_0x1e80f5,context:_0x1a2ea1,attributes:_0x42bcce,resolvedBy:_0x83872a,resolvedAt:_0x4b9a61,unlinkedAt:_0x59762,deletedAt:_0x5bfa3c}=_0x13c77d;if(_0x5bfa3c)continue;_0x23d4c5||(_0x23d4c5=_0x4ddbf9[_0x4dff06(0x1db)]({'channelId':_0x333f9d,'threadId':_0x1e80f5,'context':_0x1a2ea1,'attributes':_0x42bcce||{},'resolvedBy':_0x83872a,'resolvedAt':_0x4b9a61,'unlinkedAt':_0x59762,'isFromAdapter':!0x0}));const _0x4ae376=new Set(Array[_0x4dff06(0x1ff)](_0x23d4c5[_0x4dff06(0x218)],_0x3edbc5=>_0x3edbc5['id']));for(const _0x20486c of _0x13c77d[_0x4dff06(0x218)])_0x4ae376[_0x4dff06(0x1d7)](_0x20486c[_0x4dff06(0x1b6)]);for(const _0xe67ac5 of _0x4ae376)_0x23d4c5[_0x4dff06(0x1d3)](_0xe67ac5)[_0x4dff06(0x202)]({'isFromAdapter':!0x0});for(const _0x5e02c7 of _0x13c77d[_0x4dff06(0x218)]){const _0x72d5b6=_0x23d4c5[_0x4dff06(0x1d3)](_0x5e02c7[_0x4dff06(0x1b6)]);_0x72d5b6?_0x72d5b6[_0x4dff06(0x210)]!==_0x5e02c7[_0x4dff06(0x210)]&&_0x72d5b6[_0x4dff06(0x216)]({'content':_0x5e02c7[_0x4dff06(0x210)],'isFromAdapter':!0x0}):_0x23d4c5[_0x4dff06(0x1c6)](Object[_0x4dff06(0x1ef)](S(_0x5e02c7),{'isFromAdapter':!0x0}));}}}[_0x21ee67(0x1ea)](_0xe5b254){const _0x449a0d=_0x21ee67;if(!this[_0x449a0d(0x1d1)][_0x449a0d(0x1ce)](_0xe5b254))throw new _0x429c61(_0x449a0d(0x1f0),null,{'channelId':_0xe5b254});return this[_0x449a0d(0x1d1)][_0x449a0d(0x20f)](_0xe5b254);}async[_0x21ee67(0x212)](_0x5833c2){const _0x417db4=_0x21ee67,_0x5b38bb=this[_0x417db4(0x1dc)][_0x417db4(0x1ca)][_0x417db4(0x20f)](_0x3d7ebf),{connection:_0x3186af}=this[_0x417db4(0x1dc)][_0x417db4(0x1ca)][_0x417db4(0x20f)](_0x47f9a6),_0x51f790=new Set();for(const {resolvedBy:_0x4abd73,comments:_0x9a5d0b}of _0x5833c2){_0x4abd73&&!_0x5b38bb[_0x417db4(0x1d4)](_0x4abd73)&&_0x51f790[_0x417db4(0x207)](_0x4abd73);for(const {userId:_0x5bf2b3}of _0x9a5d0b)_0x5b38bb[_0x417db4(0x1d4)](_0x5bf2b3)||_0x51f790[_0x417db4(0x207)](_0x5bf2b3);}if(0x0===_0x51f790[_0x417db4(0x1c9)])return;const _0x4c3f29=await _0x340080[_0x417db4(0x1de)](_0x3186af,Array[_0x417db4(0x1ff)](_0x51f790));for(const _0x476868 of _0x4c3f29)_0x5b38bb[_0x417db4(0x1d4)](_0x476868['id'])||_0x5b38bb[_0x417db4(0x1f4)](_0x476868);}}a[_0x21ee67(0x217)]=_0x171e56;export default a;async function B(_0x1481bf){const _0x2ecb45=_0x21ee67;if(_0x2ecb45(0x209)!==_0x1481bf[_0x2ecb45(0x204)])throw _0x1481bf;}function R(_0x4b7424){const _0x3d77d0=_0x21ee67;if((_0x647ab=_0x4b7424)[_0x3d77d0(0x1f8)][_0x3d77d0(0x1c1)](_0x3d77d0(0x1df))||_0x647ab[_0x3d77d0(0x1f8)][_0x3d77d0(0x1c1)](_0x3d77d0(0x1f9))||_0x647ab[_0x3d77d0(0x1f8)][_0x3d77d0(0x1c1)](_0x3d77d0(0x206)))return new Promise(()=>{});var _0x647ab;throw _0x4b7424;}function S(_0x20a29b){const _0x14c20b=_0x21ee67;return{'threadId':_0x20a29b[_0x14c20b(0x1e6)],'commentId':_0x20a29b[_0x14c20b(0x1b6)],'content':_0x20a29b[_0x14c20b(0x210)],'createdAt':_0x20a29b[_0x14c20b(0x1f3)],'authorId':_0x20a29b[_0x14c20b(0x1b9)],'attributes':_0x20a29b[_0x14c20b(0x1cd)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4598(){const _0x14138a=['18QXealJ','_setUpService','editor','CommentsRepository','isOfficialPlugin','collaboration.channelId','listenTo','1072554urLMko','1854064QSIlTL','requires','_terminateService','1313580mesDpi','config','plugins','data','663148bpmnde','connected','destroy','once','ready','get','isThreadsLoadingPaused','RealTimeCollaborativeComments','Comments','pluginName','switchReadOnly','init','3734685SNcAHs','585486IbHNUw','change:state','isPremiumPlugin','CommentsEditing','1866764tjRvxY'];_0x4598=function(){return _0x14138a;};return _0x4598();}const _0x1bfab5=_0x433b;(function(_0x394644,_0x34268f){const _0x36b2e6=_0x433b,_0x48f228=_0x394644();while(!![]){try{const _0x16f888=parseInt(_0x36b2e6(0x1e2))/0x1+-parseInt(_0x36b2e6(0x1ef))/0x2+-parseInt(_0x36b2e6(0x1de))/0x3+-parseInt(_0x36b2e6(0x1f3))/0x4+parseInt(_0x36b2e6(0x1ee))/0x5+-parseInt(_0x36b2e6(0x1f4))/0x6*(-parseInt(_0x36b2e6(0x1fb))/0x7)+-parseInt(_0x36b2e6(0x1fc))/0x8;if(_0x16f888===_0x34268f)break;else _0x48f228['push'](_0x48f228['shift']());}catch(_0x39da47){_0x48f228['push'](_0x48f228['shift']());}}}(_0x4598,0x6b97b));import{Plugin as _0x5c170c}from'ckeditor5/src/core.js';function _0x433b(_0x5ef0f1,_0x2caa17){const _0x4598d6=_0x4598();return _0x433b=function(_0x433bda,_0x135cbe){_0x433bda=_0x433bda-0x1dd;let _0x2aff07=_0x4598d6[_0x433bda];return _0x2aff07;},_0x433b(_0x5ef0f1,_0x2caa17);}import _0x3dedc1 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x4ac658 from'./realtimecollaborativeediting.js';import _0x31bfe2 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x5c170c{static get[_0x1bfab5(0x1fd)](){const _0x3ba04c=_0x1bfab5;return[_0x3ba04c(0x1ea),_0x3dedc1,_0x4ac658,_0x31bfe2];}static get[_0x1bfab5(0x1eb)](){const _0x5633c5=_0x1bfab5;return _0x5633c5(0x1e9);}static get[_0x1bfab5(0x1f8)](){return!0x0;}static get[_0x1bfab5(0x1f1)](){return!0x0;}[_0x1bfab5(0x1ed)](){const _0xe86ed2=_0x1bfab5,_0x31ec8c=this[_0xe86ed2(0x1f6)][_0xe86ed2(0x1e0)][_0xe86ed2(0x1e7)](_0x31bfe2),_0x5a91b4=this[_0xe86ed2(0x1f6)][_0xe86ed2(0x1e0)][_0xe86ed2(0x1e7)](_0xe86ed2(0x1f2)),_0xa31de3=this[_0xe86ed2(0x1f6)][_0xe86ed2(0x1e0)][_0xe86ed2(0x1e7)](_0x3dedc1);return this[_0xe86ed2(0x1f6)][_0xe86ed2(0x1e1)][_0xe86ed2(0x1e5)](_0xe86ed2(0x1e6),()=>{const _0x44bd2e=_0xe86ed2;this[_0x44bd2e(0x1fa)](_0x31ec8c,_0x44bd2e(0x1f0),(_0x5e19c2,_0x4b8f13,_0x16485b)=>{const _0x2fc153=_0x44bd2e;_0x5a91b4[_0x2fc153(0x1e8)]=_0x2fc153(0x1e3)!==_0x16485b;});}),this[_0xe86ed2(0x1fa)](_0x31ec8c,_0xe86ed2(0x1f0),(_0x33692a,_0x1cb405,_0x3050eb)=>{const _0x3c2347=_0xe86ed2;this[_0x3c2347(0x1f6)][_0x3c2347(0x1e0)][_0x3c2347(0x1e7)](_0x3c2347(0x1f7))[_0x3c2347(0x1ec)](_0x3c2347(0x1e3)!==_0x3050eb);}),_0xa31de3[_0xe86ed2(0x1f5)](this[_0xe86ed2(0x1f6)][_0xe86ed2(0x1df)][_0xe86ed2(0x1e7)](_0xe86ed2(0x1f9)));}[_0x1bfab5(0x1e4)](){const _0x3e1174=_0x1bfab5;this[_0x3e1174(0x1f6)][_0x3e1174(0x1e0)][_0x3e1174(0x1e7)](_0x3dedc1)[_0x3e1174(0x1dd)](this[_0x3e1174(0x1f6)][_0x3e1174(0x1df)][_0x3e1174(0x1e7)](_0x3e1174(0x1f9))),super[_0x3e1174(0x1e4)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x49dc9b=_0x46c3;(function(_0x185a22,_0x5439a3){const _0x16ba24=_0x46c3,_0x206587=_0x185a22();while(!![]){try{const _0x4ae0d3=-parseInt(_0x16ba24(0x1b7))/0x1*(-parseInt(_0x16ba24(0x1cf))/0x2)+parseInt(_0x16ba24(0x112))/0x3+-parseInt(_0x16ba24(0x16b))/0x4*(parseInt(_0x16ba24(0x135))/0x5)+-parseInt(_0x16ba24(0x137))/0x6+parseInt(_0x16ba24(0x1e4))/0x7*(parseInt(_0x16ba24(0x1da))/0x8)+-parseInt(_0x16ba24(0x1d4))/0x9*(-parseInt(_0x16ba24(0x15b))/0xa)+parseInt(_0x16ba24(0x17f))/0xb;if(_0x4ae0d3===_0x5439a3)break;else _0x206587['push'](_0x206587['shift']());}catch(_0x3a07f2){_0x206587['push'](_0x206587['shift']());}}}(_0x5650,0xd7e24));import{Plugin as _0x548bb4,PendingActions as _0x2b97a3}from'ckeditor5/src/core.js';import{CKEditorError as _0x57d5ca,version as _0x35ac8d,uid as _0x2fee69}from'ckeditor5/src/utils.js';import{Notification as _0x53d6ab}from'ckeditor5/src/ui.js';import{transformSets as _0x5cc109,NoOperation as _0x441c4a,InsertOperation as _0x333157,MarkerOperation as _0x317dfd,RootAttributeOperation as _0x21e1a3,OperationFactory as _0x2df84a,History as _0x49db6c}from'ckeditor5/src/engine.js';import _0xb6ae99 from'./websocketgateway.js';import _0x300782 from'./sessions.js';import _0x5530eb from'./usermarkers.js';import{getTranslation as _0x23685d}from'../common-translations.js';import{Compressor as _0x32ce40}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x31afa5}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x14b421,CollaborativeEditingService as _0x2c74b6}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let M=0x1;class l extends _0x548bb4{static get[_0x49dc9b(0x13a)](){return[_0xb6ae99,_0x300782,_0x5530eb,_0x2b97a3,_0x31afa5,_0x53d6ab];}static get[_0x49dc9b(0x13b)](){const _0x1b15a9=_0x49dc9b;return _0x1b15a9(0x158);}static get[_0x49dc9b(0x1b9)](){return!0x0;}static get[_0x49dc9b(0x1e0)](){return!0x0;}get[_0x49dc9b(0x117)](){const _0x101d0a=_0x49dc9b;return this[_0x101d0a(0x1d6)]+this[_0x101d0a(0xec)];}get[_0x49dc9b(0x1d6)](){const _0x4556b0=_0x49dc9b;return this[_0x4556b0(0x157)][_0x4556b0(0x184)]-this[_0x4556b0(0xec)];}get[_0x49dc9b(0x148)](){const _0x2112fe=_0x49dc9b,_0x4ffabe=this[_0x2112fe(0x157)][_0x2112fe(0x1b1)]();for(let _0x2b68cf=_0x4ffabe[_0x2112fe(0x154)]-0x1;_0x2b68cf>=0x0;_0x2b68cf--){const _0x57b2fb=_0x4ffabe[_0x2b68cf];if(!this[_0x2112fe(0x1a4)][_0x2112fe(0x1dd)](_0x57b2fb))return _0x57b2fb[_0x2112fe(0x1e9)]+0x1-this[_0x2112fe(0xec)];}return 0x0;}constructor(_0x568aa6){const _0x14c192=_0x49dc9b;if(super(_0x568aa6),this[_0x14c192(0xec)]=0x0,this[_0x14c192(0x19e)]=null,this[_0x14c192(0x157)]=new _0x49db6c(),this[_0x14c192(0x130)][_0x14c192(0xfa)][_0x14c192(0x113)](_0x14c192(0x10c),{}),this[_0x14c192(0x111)]=this[_0x14c192(0x130)][_0x14c192(0xfa)][_0x14c192(0x18e)](_0x14c192(0xf6)),!this[_0x14c192(0x111)])throw new _0x57d5ca(_0x14c192(0x162),this);const _0x54e1b6=_0x568aa6[_0x14c192(0xfa)][_0x14c192(0x18e)](_0x14c192(0x1bc))||_0x35ac8d;this[_0x14c192(0x129)]=new l[(_0x14c192(0x1df))](_0x54e1b6,this[_0x14c192(0x111)]),this[_0x14c192(0xed)]=this[_0x14c192(0x130)][_0x14c192(0xfb)][_0x14c192(0x1ed)],this[_0x14c192(0x1b5)]=new _0x32ce40(),this[_0x14c192(0x187)]=[],this[_0x14c192(0xff)]=new WeakSet(),this[_0x14c192(0x100)]=new Set(),this[_0x14c192(0xee)](_0x14c192(0x1b8),!0x1),this[_0x14c192(0xee)](_0x14c192(0x126),!0x1),this[_0x14c192(0x178)]=null,this[_0x14c192(0x106)]=!0x1,this[_0x14c192(0x108)]=null,this[_0x14c192(0x102)]=0x12c,this[_0x14c192(0x168)]=this[_0x14c192(0x102)],this[_0x14c192(0x115)]=null,this[_0x14c192(0x1a4)]=new WeakSet(),this[_0x14c192(0x18a)]=new W(this[_0x14c192(0x1a4)]);}[_0x49dc9b(0x13e)](){const _0x4b8aa8=_0x49dc9b,_0x199b64=this[_0x4b8aa8(0x130)],_0x492a79=_0x199b64[_0x4b8aa8(0xfc)][_0x4b8aa8(0x18e)](_0x31afa5),_0x5ab0ed=_0x199b64[_0x4b8aa8(0xfc)][_0x4b8aa8(0x18e)](_0xb6ae99);this[_0x4b8aa8(0x15e)](_0x492a79,_0x4b8aa8(0x194),(_0x25452e,_0x52925a)=>{const _0x2c17e6=_0x4b8aa8,_0x11e846=_0x52925a[0x0];_0x11e846[_0x2c17e6(0x1c0)]&&(_0x25452e[_0x2c17e6(0x11a)]=_0x492a79[_0x2c17e6(0x164)](_0x11e846[_0x2c17e6(0x1c0)]),_0x25452e[_0x2c17e6(0x151)]()),null===_0x11e846[_0x2c17e6(0x1c0)]&&(_0x25452e[_0x2c17e6(0x11a)]=null,_0x25452e[_0x2c17e6(0x151)]());},{'priority':_0x4b8aa8(0xf2)}),this[_0x4b8aa8(0x15e)](_0x199b64[_0x4b8aa8(0xfb)][_0x4b8aa8(0x1ed)][_0x4b8aa8(0x17b)],_0x4b8aa8(0x1ac),(_0x556147,_0x3a53f7)=>{const _0x13a531=_0x4b8aa8;_0x3a53f7[_0x13a531(0x186)]&&this[_0x13a531(0xf8)]();}),this[_0x4b8aa8(0x15e)](_0x199b64[_0x4b8aa8(0xf3)][_0x4b8aa8(0x10d)],_0x4b8aa8(0x1d8),()=>{const _0x2686a3=_0x4b8aa8;this[_0x2686a3(0xf8)]();}),this[_0x4b8aa8(0x124)](),_0x199b64[_0x4b8aa8(0xfb)]['on'](_0x4b8aa8(0x1a1),(_0x3ca748,_0x4f7a22)=>{const _0x59b9d8=_0x4b8aa8,_0x541c27=_0x4f7a22[0x0];_0x541c27[_0x59b9d8(0x127)]&&(this[_0x59b9d8(0x104)](_0x541c27),this[_0x59b9d8(0x174)]()&&this[_0x59b9d8(0x1a9)]());}),this[_0x4b8aa8(0x145)](),this[_0x4b8aa8(0x1bb)](_0x4b8aa8(0x110))['to'](_0x5ab0ed,_0x4b8aa8(0x1ba),this,_0x4b8aa8(0x126),(_0x35fbc1,_0x349721)=>_0x4b8aa8(0x103)===_0x35fbc1&&!_0x349721),this['on'](_0x4b8aa8(0x1de),()=>{const _0x1a3d43=_0x4b8aa8;this[_0x1a3d43(0x110)]?_0x199b64[_0x1a3d43(0x1c4)](_0x1a3d43(0x10e)):_0x199b64[_0x1a3d43(0x170)](_0x1a3d43(0x10e));}),this[_0x4b8aa8(0x110)]?_0x199b64[_0x4b8aa8(0x1c4)](_0x4b8aa8(0x10e)):_0x199b64[_0x4b8aa8(0x170)](_0x4b8aa8(0x10e)),this[_0x4b8aa8(0xee)](_0x4b8aa8(0x10a),!0x1);}async[_0x49dc9b(0x18b)](){const _0x3a9534=_0x49dc9b,_0x46e4dc=this[_0x3a9534(0x130)][_0x3a9534(0xfc)][_0x3a9534(0x18e)](_0x300782),_0x5bfaaa=this[_0x3a9534(0x130)][_0x3a9534(0xfc)][_0x3a9534(0x18e)](_0xb6ae99);try{this[_0x3a9534(0x1b8)]=!0x0,_0x46e4dc[_0x3a9534(0x181)](this[_0x3a9534(0x111)]);const _0x3da21a=await this[_0x3a9534(0x129)][_0x3a9534(0x18b)](_0x5bfaaa[_0x3a9534(0x177)],this[_0x3a9534(0x148)]);await this[_0x3a9534(0x19f)](_0x3da21a)&&(this[_0x3a9534(0x1b8)]=!0x1,this[_0x3a9534(0x155)]());const _0x44b61c=await this[_0x3a9534(0x129)][_0x3a9534(0x1d5)]();_0x46e4dc[_0x3a9534(0x188)](this[_0x3a9534(0x111)],_0x44b61c),this[_0x3a9534(0x14e)](),this[_0x3a9534(0x10a)]=!0x0;}catch(_0x32ef0b){if(function(_0x18ceff){const _0x31624d=_0x3a9534;return _0x31624d(0x1d7)===_0x18ceff[_0x31624d(0x1e8)];}(_0x32ef0b)&&this[_0x3a9534(0x19e)])await this[_0x3a9534(0x1e3)]();else{if(function(_0xfb1cba){const _0x5d3027=_0x3a9534;return _0x5d3027(0x13d)===_0xfb1cba[_0x5d3027(0x1e8)];}(_0x32ef0b)){const _0x2a1175=_0x23685d(this[_0x3a9534(0x130)][_0x3a9534(0x122)],_0x3a9534(0x1ab));this[_0x3a9534(0x1b4)](_0x2a1175);}else{if(!(_0x32ef0b instanceof z))throw _0x32ef0b;this[_0x3a9534(0x1b4)]();}}}}[_0x49dc9b(0xfe)](){const _0x2d66a4=_0x49dc9b,_0x989548=this[_0x2d66a4(0x130)][_0x2d66a4(0xfc)][_0x2d66a4(0x18e)](_0xb6ae99),_0x132c34=this[_0x2d66a4(0x130)][_0x2d66a4(0xfc)][_0x2d66a4(0x18e)](_0x300782);this[_0x2d66a4(0x130)][_0x2d66a4(0x170)](_0x2d66a4(0x160)),_0x132c34[_0x2d66a4(0x15f)][_0x2d66a4(0x1dd)](this[_0x2d66a4(0x111)])&&_0x132c34[_0x2d66a4(0x181)](this[_0x2d66a4(0x111)]),_0x989548[_0x2d66a4(0x171)](this),this[_0x2d66a4(0x1e1)](),super[_0x2d66a4(0xfe)]();}async[_0x49dc9b(0x19f)](_0xe60f3e){const _0x1b0821=_0x49dc9b;if(this[_0x1b0821(0x19e)]!==_0xe60f3e[_0x1b0821(0x19e)]&&this[_0x1b0821(0x115)]!==_0xe60f3e[_0x1b0821(0x11b)])throw new z();return this[_0x1b0821(0x19e)]=_0xe60f3e[_0x1b0821(0x19e)],this[_0x1b0821(0x1a2)]([],{..._0xe60f3e,'wereChangesApplied':!0x1,'data':_0xe60f3e[_0x1b0821(0x11e)]},_0x1b0821(0x18b));}async[_0x49dc9b(0x14b)](_0x584dd9,_0x333487=!0x1){const _0x548b27=_0x49dc9b,{connection:_0xcc8f36}=this[_0x548b27(0x130)][_0x548b27(0xfc)][_0x548b27(0x18e)](_0xb6ae99);l[_0x548b27(0x1df)][_0x548b27(0x1d5)](_0xcc8f36,this[_0x548b27(0x111)])[_0x548b27(0x12a)](_0x4665e1=>this[_0x548b27(0x17a)](_0x4665e1))[_0x548b27(0x1ad)](_0x48bd23=>{const _0x42191d=_0x548b27;this[_0x42191d(0x153)](_0x42191d(0x182),_0x48bd23);}),this[_0x548b27(0x15e)](this[_0x548b27(0x129)],_0x548b27(0x136),this[_0x548b27(0x138)][_0x548b27(0x1bb)](this)),this[_0x548b27(0x15e)](this[_0x548b27(0x129)],_0x548b27(0x19b),(_0x3645b9,_0x54cd23)=>{const _0x43176f=_0x548b27;this[_0x43176f(0x153)](_0x43176f(0xf5),_0x54cd23);}),this[_0x548b27(0x15e)](this[_0x548b27(0x129)],_0x548b27(0x109),()=>{const _0x29fa64=_0x548b27;this[_0x29fa64(0x10a)]=!0x1;});const _0x181887=this[_0x548b27(0x18a)][_0x548b27(0x152)](_0x584dd9);this[_0x548b27(0x1b8)]=!0x0;const _0x35d36e=await this[_0x548b27(0x129)][_0x548b27(0x140)](_0xcc8f36,this[_0x548b27(0x163)](_0x584dd9),_0x181887);if(this[_0x548b27(0x19e)]=_0x35d36e[_0x548b27(0x19e)],_0x333487){if(!_0x35d36e[_0x548b27(0x1a8)])return void this[_0x548b27(0x1b4)]();this[_0x548b27(0x1b8)]=!0x1,this[_0x548b27(0x155)](),this[_0x548b27(0x157)][_0x548b27(0x17e)](),this[_0x548b27(0xec)]=_0x35d36e[_0x548b27(0x12e)],this[_0x548b27(0x157)][_0x548b27(0x184)]=this[_0x548b27(0xec)],await this[_0x548b27(0x1a2)](_0x584dd9,_0x35d36e,_0x548b27(0x1bf));}else await this[_0x548b27(0x125)](_0x35d36e,_0x584dd9);this[_0x548b27(0x14e)](),this[_0x548b27(0x10a)]=!0x0;}[_0x49dc9b(0x14e)](){const _0x15860a=_0x49dc9b,_0x269f34=this[_0x15860a(0x130)][_0x15860a(0xfc)][_0x15860a(0x18e)](_0x300782),_0x40c79c=this[_0x15860a(0x130)][_0x15860a(0xfc)][_0x15860a(0x18e)](_0x5530eb),_0x2a4ae9=_0x269f34[_0x15860a(0x15f)][_0x15860a(0x18e)](this[_0x15860a(0x111)]);_0x2a4ae9&&_0x2a4ae9[_0x15860a(0x154)]>0x1?_0x40c79c[_0x15860a(0x1ce)]():this[_0x15860a(0x15e)](_0x269f34,_0x15860a(0x1db)+this[_0x15860a(0x111)],()=>{const _0x16c400=_0x15860a;0x2===_0x269f34[_0x16c400(0x15f)][_0x16c400(0x18e)](this[_0x16c400(0x111)])[_0x16c400(0x154)]&&_0x40c79c[_0x16c400(0x1ce)]();});}async[_0x49dc9b(0x138)](_0x2fd653,_0x26d0f4,_0x34e2b8,_0x3d7ed9){const _0xa74bdc=_0x49dc9b;if(!this[_0xa74bdc(0x1b8)]&&this[_0xa74bdc(0xed)][_0xa74bdc(0x184)]==_0x26d0f4){const _0x5e0978=this[_0xa74bdc(0x1d3)](_0x34e2b8,_0x3d7ed9);await this[_0xa74bdc(0x114)](_0x5e0978),this[_0xa74bdc(0x1e6)](_0x5e0978,_0x26d0f4,_0x34e2b8[_0xa74bdc(0x11b)])||this[_0xa74bdc(0x153)](_0xa74bdc(0x156));}}async[_0x49dc9b(0x1e3)](){const _0x3c7a0c=_0x49dc9b;this[_0x3c7a0c(0x1e1)]();const {locale:_0x23389d}=this[_0x3c7a0c(0x130)];let _0x1aef6f;try{_0x1aef6f=await this[_0x3c7a0c(0x129)][_0x3c7a0c(0x12f)]();}catch(_0x7a5ac0){const _0xc47ac8=_0x23685d(_0x23389d,_0x3c7a0c(0x189));return void this[_0x3c7a0c(0x1b4)](_0xc47ac8);}const _0x320093=_0x1aef6f[_0x3c7a0c(0x13f)]||_0x1aef6f[_0x3c7a0c(0x15a)];if(this[_0x3c7a0c(0x115)]===_0x320093[_0x3c7a0c(0x11b)])await this[_0x3c7a0c(0x14b)](this[_0x3c7a0c(0x130)][_0x3c7a0c(0xfb)][_0x3c7a0c(0x1ed)][_0x3c7a0c(0x1c9)][_0x3c7a0c(0x1b1)](),!0x0);else{const _0x38c4c3=_0x23685d(_0x23389d,_0x3c7a0c(0x16a));this[_0x3c7a0c(0x1b4)](_0x38c4c3);}}[_0x49dc9b(0x1e1)](){const _0x1d99f7=_0x49dc9b;this[_0x1d99f7(0x129)][_0x1d99f7(0x1c8)](),this[_0x1d99f7(0x187)]=[],clearTimeout(this[_0x1d99f7(0x108)]),this[_0x1d99f7(0x17c)](this[_0x1d99f7(0x129)]);}[_0x49dc9b(0x17a)](_0x4c94a0){const _0x1811f4=_0x49dc9b,_0x15c4a1=this[_0x1811f4(0x130)][_0x1811f4(0xfc)][_0x1811f4(0x18e)](_0x300782);this[_0x1811f4(0x15e)](_0x15c4a1,_0x1811f4(0x1db)+this[_0x1811f4(0x111)],(_0x4ce40a,{session:_0x34d8fe})=>{const _0x6bc80a=_0x1811f4;if(_0x34d8fe['id']===_0x15c4a1[_0x6bc80a(0x1d9)]){_0x4ce40a[_0x6bc80a(0x1bd)]();const _0x9b36d4=this[_0x6bc80a(0x130)][_0x6bc80a(0xfc)][_0x6bc80a(0x1dd)](_0x6bc80a(0x16e))&&this[_0x6bc80a(0x130)][_0x6bc80a(0xfc)][_0x6bc80a(0x18e)](_0x6bc80a(0x16e));let _0x5179a6=_0x34d8fe[_0x6bc80a(0x118)];_0x9b36d4&&_0x9b36d4[_0x6bc80a(0xf9)]&&(_0x5179a6=_0x5179a6[_0x6bc80a(0x1dc)](_0x2e3963=>_0x6bc80a(0x16f)!==_0x2e3963)),this[_0x6bc80a(0x130)][_0x6bc80a(0xfc)][_0x6bc80a(0x18e)](_0x6bc80a(0x15c))[_0x6bc80a(0x141)](_0x5179a6,this[_0x6bc80a(0x111)]);}}),_0x15c4a1[_0x1811f4(0x188)](this[_0x1811f4(0x111)],_0x4c94a0);}[_0x49dc9b(0x124)](){const _0x31808d=_0x49dc9b,_0x1d4379=this[_0x31808d(0x130)][_0x31808d(0x11e)][_0x31808d(0xee)];this[_0x31808d(0x130)][_0x31808d(0x11e)][_0x31808d(0xee)]=(..._0x2ba8fe)=>{const _0x28ab36=_0x31808d;if(!_0x2ba8fe[_0x2ba8fe[_0x28ab36(0x154)]-0x1][_0x28ab36(0x128)])throw new _0x57d5ca(_0x28ab36(0x183),this);_0x1d4379[_0x28ab36(0xfd)](this[_0x28ab36(0x130)][_0x28ab36(0x11e)],_0x2ba8fe);};}[_0x49dc9b(0x145)](){const _0x11e1ad=_0x49dc9b;this[_0x11e1ad(0x130)][_0x11e1ad(0x11e)]['on'](_0x11e1ad(0x13e),(_0x127e8b,[_0x3f55be])=>{const _0x3fb8c7=_0x11e1ad;if(this[_0x3fb8c7(0xed)][_0x3fb8c7(0x184)])throw new _0x57d5ca(_0x3fb8c7(0x1be),this);_0x127e8b[_0x3fb8c7(0x151)](),this[_0x3fb8c7(0x1c5)]();const _0x59e6c1=this[_0x3fb8c7(0x130)][_0x3fb8c7(0xfa)][_0x3fb8c7(0x18e)](_0x3fb8c7(0x1c3)),_0x3e2525=this[_0x3fb8c7(0x1a5)](_0x3f55be,_0x59e6c1);0x0==_0x3e2525[_0x3fb8c7(0x154)]&&_0x3e2525[_0x3fb8c7(0x165)](new _0x441c4a(0x0)),_0x127e8b[_0x3fb8c7(0x11a)]=this[_0x3fb8c7(0x14b)](_0x3e2525)[_0x3fb8c7(0x12a)](()=>{const _0x4b01c6=_0x3fb8c7;this[_0x4b01c6(0x130)][_0x4b01c6(0xfc)][_0x4b01c6(0x18e)](_0xb6ae99)[_0x4b01c6(0x185)](this),this[_0x4b01c6(0x130)][_0x4b01c6(0x11e)][_0x4b01c6(0x161)](_0x4b01c6(0x1b2));})[_0x3fb8c7(0x1ad)](_0x1cca1e=>this[_0x3fb8c7(0x153)](_0x3fb8c7(0x1c6),_0x1cca1e))[_0x3fb8c7(0x132)](()=>this[_0x3fb8c7(0x155)]());},{'priority':_0x11e1ad(0xf2)}),this[_0x11e1ad(0x130)]['on'](_0x11e1ad(0x134),async(_0x1c9d70,[_0x5ca9ce,_0x5e6da3])=>{const _0x3b323f=_0x11e1ad;_0x1c9d70[_0x3b323f(0x151)]();const _0x1c4c6b=this[_0x3b323f(0x130)][_0x3b323f(0xfb)][_0x3b323f(0x1ed)][_0x3b323f(0x1ae)](_0x5ca9ce);if(!this[_0x3b323f(0x100)][_0x3b323f(0x1dd)](_0x5ca9ce)){const _0x1889e3=_0x5e6da3&&_0x5e6da3[_0x3b323f(0x11e)]?_0x5e6da3[_0x3b323f(0x11e)]:'',_0x421cc6=_0x5e6da3&&_0x5e6da3[_0x3b323f(0x19c)]?_0x5e6da3[_0x3b323f(0x19c)]:{};await this[_0x3b323f(0x11c)](_0x5ca9ce,_0x1889e3,_0x421cc6);}this[_0x3b323f(0x130)][_0x3b323f(0xfb)][_0x3b323f(0x169)]({'isUndoable':!0x1},()=>{const _0x5c8380=_0x3b323f;_0x1c4c6b[_0x5c8380(0x1c2)]=!0x0,this[_0x5c8380(0x130)][_0x5c8380(0xfb)][_0x5c8380(0x1ed)][_0x5c8380(0x167)][_0x5c8380(0x172)](_0x1c4c6b);});},{'priority':_0x11e1ad(0xf2)});}async[_0x49dc9b(0x114)](_0x19ea00){const _0x34e05e=_0x49dc9b,_0x1db437=this[_0x34e05e(0x130)][_0x34e05e(0xfc)][_0x34e05e(0x18e)](_0x31afa5),{connection:_0x50a3ce}=this[_0x34e05e(0x130)][_0x34e05e(0xfc)][_0x34e05e(0x18e)](_0xb6ae99),_0x33c068=new Set();for(const _0x624250 of _0x19ea00){const _0xcc37a=_0x624250[_0x34e05e(0x1c0)];_0xcc37a&&!_0x1db437[_0x34e05e(0x164)](_0xcc37a)&&_0x33c068[_0x34e05e(0x14c)](_0xcc37a);}if(0x0===_0x33c068[_0x34e05e(0x173)])return;const _0x9614a=await _0x14b421[_0x34e05e(0x116)](_0x50a3ce,Array[_0x34e05e(0x1e7)](_0x33c068));for(const _0x2c01cd of _0x9614a)_0x1db437[_0x34e05e(0x164)](_0x2c01cd['id'])||_0x1db437[_0x34e05e(0x1a7)](_0x2c01cd);}[_0x49dc9b(0x1a5)](_0x3630f4,_0x761e74={}){const _0x5c59d0=_0x49dc9b,_0x3ccc21=this[_0x5c59d0(0x130)][_0x5c59d0(0xfb)],_0x1ec0dd=[];let _0x46de2b=0x0;const _0x9aaf43=_0x5c59d0(0x11d)==typeof _0x3630f4?{'main':_0x3630f4}:_0x3630f4;for(const _0xd9b461 of Object[_0x5c59d0(0x199)](_0x9aaf43)){if(!this[_0x5c59d0(0xed)][_0x5c59d0(0x18c)][_0x5c59d0(0x1dd)](_0xd9b461))throw new _0x57d5ca(_0x5c59d0(0x198),this);const _0x1f6973=this[_0x5c59d0(0x130)][_0x5c59d0(0x11e)][_0x5c59d0(0xf7)](_0x9aaf43[_0xd9b461]),_0x53ad0c=this[_0x5c59d0(0xed)][_0x5c59d0(0x1ae)](_0xd9b461),_0x489934=new _0x333157(_0x3ccc21[_0x5c59d0(0x15d)](_0x53ad0c,0x0),_0x1f6973,_0x46de2b++);_0x1ec0dd[_0x5c59d0(0x165)](_0x489934);for(const [_0x563d8d,_0x430724]of _0x1f6973[_0x5c59d0(0x150)]){const _0x595497=_0x3ccc21[_0x5c59d0(0x1ec)](_0x3ccc21[_0x5c59d0(0x1c7)](_0x53ad0c,_0x430724[_0x5c59d0(0x1a0)][_0x5c59d0(0x1b0)][_0x5c59d0(0x1ea)]()),_0x3ccc21[_0x5c59d0(0x1c7)](_0x53ad0c,_0x430724[_0x5c59d0(0x1cd)][_0x5c59d0(0x1b0)][_0x5c59d0(0x1ea)]())),_0x3c6229=new _0x317dfd(_0x563d8d,null,_0x595497,_0x3ccc21[_0x5c59d0(0x150)],!0x0,_0x46de2b++);_0x1ec0dd[_0x5c59d0(0x165)](_0x3c6229);}}if(_0x761e74)for(const [_0x43efdc,_0x62d9fb]of Object[_0x5c59d0(0x123)](_0x761e74)){const _0x315328=_0x3ccc21[_0x5c59d0(0x1ed)][_0x5c59d0(0x1ae)](_0x43efdc);if(!_0x315328)throw new _0x57d5ca(_0x5c59d0(0x12b),null);for(const [_0x2a42c5,_0x5802b1]of Object[_0x5c59d0(0x123)](_0x62d9fb))if(null!==_0x5802b1){const _0x2bfd2e=new _0x21e1a3(_0x315328,_0x2a42c5,null,_0x5802b1,_0x46de2b++);_0x1ec0dd[_0x5c59d0(0x165)](_0x2bfd2e);}}return _0x1ec0dd;}async[_0x49dc9b(0x11c)](_0x5324df,_0x1d855d,_0x2ca8ae){const _0x3cbce6=_0x49dc9b;this[_0x3cbce6(0x1a5)]({[_0x5324df]:_0x1d855d},{[_0x5324df]:_0x2ca8ae})[_0x3cbce6(0x11f)]((_0x2049d1,_0x44fddc)=>{const _0x657fc2=_0x3cbce6;_0x2049d1[_0x657fc2(0x1e9)]=this[_0x657fc2(0xed)][_0x657fc2(0x184)]+_0x44fddc,_0x2049d1[_0x657fc2(0x143)]=!0x0,this[_0x657fc2(0x104)](_0x2049d1);}),this[_0x3cbce6(0x1a9)](),await this[_0x3cbce6(0x1e5)]();}async[_0x49dc9b(0x125)](_0x2780c5,_0x34c3e6){const _0x544fbd=_0x49dc9b;let _0x6f5b17;this[_0x544fbd(0xec)]=_0x2780c5[_0x544fbd(0x12e)];const _0x34398f=_0x2780c5[_0x544fbd(0x1a8)]&&!_0x2780c5[_0x544fbd(0x1aa)],_0x2add34=_0x34398f?0x0:_0x2780c5[_0x544fbd(0x11e)][_0x544fbd(0x1e9)];if(_0x34c3e6[_0x544fbd(0x11f)](_0xfa644c=>{const _0x923bbe=_0x544fbd;_0xfa644c[_0x923bbe(0x143)]=!0x0,_0xfa644c[_0x923bbe(0x16d)]=_0x2780c5[_0x923bbe(0x149)],_0xfa644c[_0x923bbe(0x1c0)]=null;}),_0x34398f)_0x6f5b17=_0x34c3e6,this[_0x544fbd(0x175)](_0x6f5b17,_0x34398f);else{if(_0x2780c5[_0x544fbd(0x1aa)]){const _0x307c25=this[_0x544fbd(0x1a5)](_0x2780c5[_0x544fbd(0x1aa)]);this[_0x544fbd(0xed)][_0x544fbd(0x1c9)][_0x544fbd(0x184)]=-_0x307c25[_0x544fbd(0x154)],_0x307c25[_0x544fbd(0x11f)](_0x3edc90=>{const _0xfe3e52=_0x544fbd;_0x3edc90[_0xfe3e52(0x1e9)]-=_0x307c25[_0xfe3e52(0x154)],_0x3edc90[_0xfe3e52(0x16d)]=_0x2780c5[_0xfe3e52(0x149)],_0x3edc90[_0xfe3e52(0x143)]=!0x0,_0x3edc90[_0xfe3e52(0x1c0)]=null;}),this[_0x544fbd(0x175)](_0x307c25,!0x0),this[_0x544fbd(0x157)][_0x544fbd(0x184)]=-_0x307c25[_0x544fbd(0x154)]+this[_0x544fbd(0xec)],this[_0x544fbd(0x1af)](_0x307c25);}this[_0x544fbd(0xed)][_0x544fbd(0x1c9)][_0x544fbd(0x184)]=_0x2add34,_0x6f5b17=this[_0x544fbd(0x1d3)](_0x2780c5[_0x544fbd(0x11e)],_0x2780c5[_0x544fbd(0x176)]),await this[_0x544fbd(0x114)](_0x6f5b17),this[_0x544fbd(0x175)](_0x6f5b17,_0x34398f);}_0x2780c5[_0x544fbd(0x11b)]&&(this[_0x544fbd(0x18a)][_0x544fbd(0x1eb)](_0x6f5b17,_0x2780c5[_0x544fbd(0x11b)]),this[_0x544fbd(0x115)]=_0x2780c5[_0x544fbd(0x11b)]),this[_0x544fbd(0x157)][_0x544fbd(0x184)]=_0x2add34+this[_0x544fbd(0xec)],this[_0x544fbd(0x1af)](_0x6f5b17),_0x34c3e6[_0x544fbd(0x1dc)](_0x4bca40=>{const _0x46d332=_0x544fbd,_0x14efd7=this[_0x46d332(0x142)](_0x4bca40);return _0x14efd7&&!this[_0x46d332(0x100)][_0x46d332(0x1dd)](_0x14efd7);})[_0x544fbd(0x11f)]((_0x37bf35,_0x2285e7)=>{const _0x2921b0=_0x544fbd;_0x37bf35[_0x2921b0(0x1e9)]=this[_0x2921b0(0xed)][_0x2921b0(0x184)]+_0x2285e7,this[_0x2921b0(0x104)](_0x37bf35);}),this[_0x544fbd(0x174)]()?(this[_0x544fbd(0x168)]=0x0,this[_0x544fbd(0x1a9)](!0x0),await this[_0x544fbd(0x1e5)]()):(this[_0x544fbd(0x1b8)]=!0x1,this[_0x544fbd(0x155)]());}[_0x49dc9b(0x153)](_0x4197ab,_0x434105,_0xc73960){const _0x309b3b=_0x49dc9b;throw this[_0x309b3b(0x1b8)]=!0x0,_0x434105&&console[_0x309b3b(0x19b)](_0x434105),_0xc73960&&this[_0x309b3b(0x130)][_0x309b3b(0x170)](_0x309b3b(0x16c)),new _0x57d5ca(_0x4197ab,this[_0x309b3b(0x130)]);}[_0x49dc9b(0x104)](_0x16d8a1){const _0x3a1f99=_0x49dc9b;this[_0x3a1f99(0xff)][_0x3a1f99(0x1dd)](_0x16d8a1)||(this[_0x3a1f99(0xff)][_0x3a1f99(0x14c)](_0x16d8a1),this[_0x3a1f99(0x187)][_0x3a1f99(0x165)](_0x16d8a1),this[_0x3a1f99(0x178)]||_0x3a1f99(0x1b6)==_0x16d8a1[_0x3a1f99(0x1a6)]&&!_0x16d8a1[_0x3a1f99(0x1cb)]||this[_0x3a1f99(0x1c5)]());}[_0x49dc9b(0x1a9)](_0x2d4691=!0x1){const _0x3b4e3b=_0x49dc9b;!_0x2d4691&&this[_0x3b4e3b(0x1b8)]||(this[_0x3b4e3b(0x1b8)]=!0x0,clearTimeout(this[_0x3b4e3b(0x108)]),this[_0x3b4e3b(0x108)]=setTimeout(()=>{const _0x3660a0=_0x3b4e3b;this[_0x3660a0(0x197)]()[_0x3660a0(0x12a)](_0x378410=>{const _0x3124d2=_0x3660a0;_0x378410&&(this[_0x3124d2(0x155)](),this[_0x3124d2(0x1b8)]=!0x1);})[_0x3660a0(0x1ad)](_0x506220=>{const _0x3c7845=_0x3660a0;this[_0x3c7845(0x155)](),this[_0x3c7845(0x1b8)]=!0x1,function(_0x21153c){const _0x3b50c3=_0x3c7845;return _0x21153c[_0x3b50c3(0x139)][_0x3b50c3(0x19a)](_0x3b50c3(0x14a))||_0x21153c[_0x3b50c3(0x139)][_0x3b50c3(0x19a)](_0x3b50c3(0x147))||_0x21153c[_0x3b50c3(0x139)][_0x3b50c3(0x19a)](_0x3b50c3(0x159));}(_0x506220)||this[_0x3c7845(0x153)](_0x506220[_0x3c7845(0x139)],_0x506220,!0x0);});},this[_0x3b4e3b(0x168)]));}[_0x49dc9b(0x1e5)](){return new Promise(_0x49e426=>{const _0x5a1ba8=_0x46c3;this['on'](_0x5a1ba8(0x120),()=>{_0x49e426();});});}async[_0x49dc9b(0x197)](){const _0x51e05e=_0x49dc9b,_0x354875=this[_0x51e05e(0x130)][_0x51e05e(0xfc)][_0x51e05e(0x18e)](_0x5530eb);if(this[_0x51e05e(0x1ca)]()&&(_0x354875[_0x51e05e(0x1ce)](),this[_0x51e05e(0x106)]=!0x1),!this[_0x51e05e(0x174)]())return!0x0;const _0x1757f4=[...this[_0x51e05e(0x187)]];for(const _0x4e24c9 of _0x1757f4)_0x4e24c9[_0x51e05e(0x180)]=this[_0x51e05e(0xed)][_0x51e05e(0x1c9)][_0x51e05e(0x166)](_0x4e24c9);const _0x4a5192=this[_0x51e05e(0x18a)][_0x51e05e(0x152)](_0x1757f4),_0x2a0004=M++,_0x55b220=this[_0x51e05e(0x163)](_0x1757f4),_0x41ecd9=await this[_0x51e05e(0x129)][_0x51e05e(0xef)](_0x55b220,_0x55b220[_0x51e05e(0x1e9)],_0x4a5192);try{return await this[_0x51e05e(0x1a2)](_0x1757f4,_0x41ecd9,_0x2a0004);}catch(_0x6eef9e){return this[_0x51e05e(0x153)](_0x51e05e(0xea),_0x6eef9e);}}async[_0x49dc9b(0x1a2)](_0x52c4b6,_0x2dee22,_0x3508ad){const _0x56884f=_0x49dc9b;if(_0x56884f(0x19b)in _0x2dee22)throw _0x2dee22[_0x56884f(0x19b)];let _0x587b1d=!0x1;if(_0x2dee22[_0x56884f(0x1a8)]){_0x2dee22[_0x56884f(0x11b)]&&(this[_0x56884f(0x115)]=_0x2dee22[_0x56884f(0x11b)]),this[_0x56884f(0x187)]=this[_0x56884f(0x187)][_0x56884f(0x1dc)](_0x908c84=>!_0x52c4b6[_0x56884f(0x190)](_0x908c84));for(const _0x919ff2 of _0x52c4b6)_0x919ff2[_0x56884f(0x16d)]=_0x56884f(0x10f)in _0x2dee22&&_0x2dee22[_0x56884f(0x10f)]||void 0x0;V(_0x52c4b6,_0x2dee22[_0x56884f(0x184)]-_0x52c4b6[_0x56884f(0x154)]),this[_0x56884f(0x1af)](_0x52c4b6);const _0x2a955f=_0x52c4b6[_0x56884f(0x1dc)](_0x109f04=>{const _0x359760=_0x56884f;if(!_0x109f04[_0x359760(0x143)])return!0x1;const _0x4d7ca3=this[_0x359760(0x142)](_0x109f04);return _0x4d7ca3&&!this[_0x359760(0x100)][_0x359760(0x1dd)](_0x4d7ca3);});V(_0x2a955f,this[_0x56884f(0xed)][_0x56884f(0x184)]),this[_0x56884f(0x175)](_0x2a955f),_0x587b1d=!0x0,this[_0x56884f(0x168)]=this[_0x56884f(0x102)];}else{const _0x548cdf=this[_0x56884f(0x1d3)](_0x2dee22[_0x56884f(0x11e)],_0x2dee22[_0x56884f(0x176)])[_0x56884f(0x1dc)](_0x29b62b=>_0x29b62b[_0x56884f(0x1e9)]>=this[_0x56884f(0x1d6)]);_0x548cdf[_0x56884f(0x11f)](_0x25cc0c=>this[_0x56884f(0x144)](_0x25cc0c)),this[_0x56884f(0x187)]=this[_0x56884f(0x187)][_0x56884f(0x1dc)](_0x5bdc76=>!_0x5bdc76[_0x56884f(0x143)]||!this[_0x56884f(0x100)][_0x56884f(0x1dd)](this[_0x56884f(0x142)](_0x5bdc76))),this[_0x56884f(0x187)][_0x56884f(0x154)]&&V(this[_0x56884f(0x187)],this[_0x56884f(0x187)][0x0][_0x56884f(0x1e9)]),await this[_0x56884f(0x114)](_0x548cdf),_0x587b1d=this[_0x56884f(0x1e6)](_0x548cdf,_0x2dee22[_0x56884f(0x184)],_0x2dee22[_0x56884f(0x11b)]),this[_0x56884f(0x168)]=Math[_0x56884f(0x1c1)](this[_0x56884f(0x168)]/0x2);}return _0x587b1d?!this[_0x56884f(0x174)]()||(this[_0x56884f(0x1a9)](!0x0),!0x1):this[_0x56884f(0x153)](_0x56884f(0x14f));}[_0x49dc9b(0x1e6)](_0x1bfd56,_0x22bd69,_0x25ef6d){const _0x554194=_0x49dc9b;try{const _0x21732a={'document':this[_0x554194(0xed)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x2f4976,operationsB:_0xaf399,originalOperations:_0x1e28dd}=_0x5cc109(_0x1bfd56,this[_0x554194(0x187)],_0x21732a);V(_0x2f4976,this[_0x554194(0xed)][_0x554194(0x184)]),V(_0xaf399,_0x22bd69);for(const _0x441076 of _0x2f4976){const _0x2d57b2=_0x1e28dd[_0x554194(0x18e)](_0x441076);_0x441076[_0x554194(0x1c0)]=_0x2d57b2?_0x2d57b2[_0x554194(0x1c0)]:null;}_0x25ef6d&&(this[_0x554194(0x18a)][_0x554194(0x1eb)](_0x1bfd56,_0x25ef6d),this[_0x554194(0x115)]=_0x25ef6d),this[_0x554194(0x187)]=[..._0xaf399],this[_0x554194(0x175)](_0x2f4976),this[_0x554194(0x1af)](_0x1bfd56);}catch(_0x3b6917){return console[_0x554194(0x19b)](_0x3b6917),!0x1;}return!0x0;}[_0x49dc9b(0x175)](_0x4f59ef,_0x4dc90c=!0x1){const _0x1f708c=_0x49dc9b;this[_0x1f708c(0x130)][_0x1f708c(0xfb)][_0x1f708c(0x169)]({'isUndoable':!0x1,'isLocal':!0x1},_0x20c502=>{const _0x20475e=_0x1f708c;for(const _0x3855f5 of _0x4f59ef)this[_0x20475e(0xff)][_0x20475e(0x14c)](_0x3855f5),this[_0x20475e(0x144)](_0x3855f5),_0x20c502[_0x20475e(0xeb)][_0x20475e(0xe9)](_0x3855f5),this[_0x20475e(0x130)][_0x20475e(0xfb)][_0x20475e(0x1a1)](_0x3855f5);});}[_0x49dc9b(0x144)](_0x15a59b){const _0x50b02b=_0x49dc9b,_0x8eea33=this[_0x50b02b(0x142)](_0x15a59b);_0x8eea33&&this[_0x50b02b(0x100)][_0x50b02b(0x14c)](_0x8eea33);}[_0x49dc9b(0x142)](_0x3f812f){const _0x181059=_0x49dc9b;let _0x370466,_0x325894;switch(_0x3f812f[_0x181059(0x1a6)]){case _0x181059(0x131):_0x370466=_0x3f812f[_0x181059(0x1b3)][_0x181059(0x193)];break;case _0x181059(0x1b6):if(_0x325894=_0x3f812f[_0x181059(0x14d)],!_0x325894)return null;_0x370466=_0x325894[_0x181059(0x193)];break;case _0x181059(0x17d):_0x370466=_0x3f812f[_0x181059(0x193)];break;case _0x181059(0x105):_0x370466=_0x3f812f[_0x181059(0x133)];break;case _0x181059(0x121):_0x370466=_0x3f812f[_0x181059(0xf4)][_0x181059(0x193)];break;default:return null;}return _0x370466[_0x181059(0x196)];}[_0x49dc9b(0x1af)](_0x16ffd7){const _0x98330f=_0x49dc9b;_0x16ffd7[_0x98330f(0x11f)](_0x25ad4e=>{const _0x30385a=_0x98330f,_0x1eab9f=_0x25ad4e[_0x30385a(0x119)]();_0x1eab9f[_0x30385a(0x1c0)]=_0x25ad4e[_0x30385a(0x1c0)],_0x1eab9f[_0x30385a(0x143)]=!!_0x25ad4e[_0x30385a(0x143)],_0x1eab9f[_0x30385a(0x16d)]=_0x25ad4e[_0x30385a(0x16d)],_0x1eab9f[_0x30385a(0x1e9)]+=this[_0x30385a(0xec)],_0x25ad4e[_0x30385a(0x192)]&&this[_0x30385a(0x1a4)][_0x30385a(0x14c)](_0x1eab9f),this[_0x30385a(0x157)][_0x30385a(0xe9)](_0x1eab9f);});}[_0x49dc9b(0x1b4)](_0x191d3a){const _0x2574a1=_0x49dc9b,_0x325049=this[_0x2574a1(0x130)][_0x2574a1(0xfc)][_0x2574a1(0x18e)](_0x2574a1(0x1ee)),_0x43bdd5=this[_0x2574a1(0x130)][_0x2574a1(0x122)];_0x191d3a||(_0x191d3a=_0x23685d(_0x43bdd5,_0x2574a1(0x12d))),_0x325049[_0x2574a1(0x1a3)](_0x191d3a,{'title':_0x23685d(_0x43bdd5,_0x2574a1(0xf1)),'namespace':_0x2574a1(0x195)}),this[_0x2574a1(0x126)]=!0x0,clearTimeout(this[_0x2574a1(0x108)]),this[_0x2574a1(0x187)]=[],this[_0x2574a1(0x130)][_0x2574a1(0xfc)][_0x2574a1(0x18e)](_0xb6ae99)[_0x2574a1(0xfe)]();}[_0x49dc9b(0x1c5)](){const _0x3bb860=_0x49dc9b;this[_0x3bb860(0x178)]||(this[_0x3bb860(0x178)]=this[_0x3bb860(0x130)][_0x3bb860(0xfc)][_0x3bb860(0x18e)](_0x2b97a3)[_0x3bb860(0x14c)](_0x23685d(this[_0x3bb860(0x130)][_0x3bb860(0x122)],_0x3bb860(0x1cc))));}[_0x49dc9b(0x155)](){const _0x57ac29=_0x49dc9b;this[_0x57ac29(0x178)]&&(this[_0x57ac29(0x130)][_0x57ac29(0xfc)][_0x57ac29(0x18e)](_0x2b97a3)[_0x57ac29(0x19d)](this[_0x57ac29(0x178)]),this[_0x57ac29(0x178)]=null);}[_0x49dc9b(0x163)](_0x5b48a9){const _0x874ba2=_0x49dc9b,_0x331b2e=_0x5b48a9[_0x874ba2(0x1d0)](_0x4a291a=>_0x4a291a[_0x874ba2(0x179)]());return this[_0x874ba2(0x1b5)][_0x874ba2(0xf0)](_0x331b2e);}[_0x49dc9b(0x1d3)](_0x14c91d,_0x588c75){const _0x388351=_0x49dc9b;return this[_0x388351(0x1b5)][_0x388351(0x101)](_0x14c91d)[_0x388351(0x1d0)]((_0x599bb4,_0x174189)=>{const _0x201fd4=_0x388351,_0x1cb3bd=_0x201fd4(0x13e)==_0x588c75[_0x174189][_0x201fd4(0x1a6)];if(_0x201fd4(0x107)==_0x599bb4[_0x201fd4(0x12c)]){const _0x376d4d=_0x599bb4[_0x201fd4(0x1b3)][_0x201fd4(0x193)];!this[_0x201fd4(0xed)][_0x201fd4(0x1ae)](_0x376d4d)&&(this[_0x201fd4(0xed)][_0x201fd4(0x1d1)](_0x201fd4(0x1d2),_0x376d4d)[_0x201fd4(0x191)]=!0x1);}const _0x362b69=_0x2df84a[_0x201fd4(0x10b)](_0x599bb4,this[_0x201fd4(0xed)]);return _0x362b69[_0x201fd4(0x180)]=_0x599bb4[_0x201fd4(0x180)],_0x362b69[_0x201fd4(0x143)]=_0x1cb3bd,_0x362b69[_0x201fd4(0x1c0)]=_0x1cb3bd?null:_0x588c75[_0x174189][_0x201fd4(0x146)],_0x362b69[_0x201fd4(0x192)]=_0x201fd4(0x18d)===_0x588c75[_0x174189][_0x201fd4(0x1a6)],_0x362b69[_0x201fd4(0x16d)]=_0x588c75[_0x174189][_0x201fd4(0x16d)],_0x362b69;});}[_0x49dc9b(0xf8)](){const _0x2ad912=_0x49dc9b;this[_0x2ad912(0x106)]=!0x0,this[_0x2ad912(0x1ca)]()?this[_0x2ad912(0x1a9)]():this[_0x2ad912(0x106)]=!0x1;}[_0x49dc9b(0x1ca)](){const _0x2ef5aa=_0x49dc9b,_0x101402=this[_0x2ef5aa(0x130)][_0x2ef5aa(0xfc)][_0x2ef5aa(0x18e)](_0x300782)[_0x2ef5aa(0x15f)][_0x2ef5aa(0x18e)](this[_0x2ef5aa(0x111)]);return!this[_0x2ef5aa(0x130)][_0x2ef5aa(0x18f)]&&!!_0x101402&&_0x101402[_0x2ef5aa(0x154)]>0x1&&this[_0x2ef5aa(0x106)];}[_0x49dc9b(0x174)](){const _0x5d434c=_0x49dc9b;return this[_0x5d434c(0x187)][_0x5d434c(0x154)]>0x0||this[_0x5d434c(0x1ca)]();}}l[_0x49dc9b(0x1df)]=_0x2c74b6;function _0x46c3(_0x5e49c2,_0x5edbc0){const _0x565066=_0x5650();return _0x46c3=function(_0x46c31f,_0x1d9f53){_0x46c31f=_0x46c31f-0xe9;let _0x1d9795=_0x565066[_0x46c31f];return _0x1d9795;},_0x46c3(_0x5e49c2,_0x5edbc0);}export default l;function _0x5650(){const _0x34d112=['compress','Synchronization\x20issue','high','editing','targetPosition','realtimecollaborationclient-initservice-internal-error','collaboration.channelId','parse','_refreshUserSelectionMarkers','isEnabled','config','model','plugins','apply','destroy','_knownOperations','_knownRootNames','decompress','_baseBufferDelay','connected','_saveOperationInBuffer','addRoot','_hasSelectionChanged','InsertOperation','_sendBufferedOperationsDelayId','disconnected','_isConnected','fromJSON','collaboration','view','rtc-offline','lastOperationAcceptedAt','_isEditingAllowed','_channelId','364212eaGFMc','define','_fetchMissingUsers','_lastSyncedOperationId','getMany','cloudDocumentVersion','permissions','clone','return','lastOperationId','_loadRoot','string','data','forEach','change:_isPendingUpdate','move','locale','entries','_initThrowingOnDataSet','_handleInitialConnectionData','_hasSynchronizationProblem','isDocumentOperation','suppressErrorInCollaboration','_service','then','multi-root-editor-root-attributes-no-root','__className','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.','offset','getDocumentDetails','editor','insert','finally','affectedSelectable','loadRoot','73005rKKCnE','operationsReceived','8612388TcCELq','_handleReceivedOperations','message','requires','pluginName','_operationToId','409','init','currentDocumentSession','connect','setPermissions','_getAffectedRoot','_isInit','_addKnownRoot','_setUpDataInit','userId','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','lastSyncVersion','sessionCreatedAt','cloud-services-internal-error:\x20Not\x20connected.','_connectService','add','newRange','_handleSendingSelectionMarkers','realtimecollaborationclient-handleserverresponse','markers','stop','getIdOfTheLastOperation','_crash','length','_clearPendingAction','realtimecollaborationclient-initservice-incorrect-server-operation','serverHistory','RealTimeCollaborationClient','cloud-services-internal-error:\x20Request\x20timeout.','lastDocumentSession','8230LLkxZe','Permissions','createPositionAt','listenTo','channelSessions','rtc-destroyed','fire','collaboration-missing-channelid','_compressOperations','getUser','push','isUndoneOperation','differ','_currentBufferDelay','enqueueChange','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.','76wTMnFl','realtimecollaborationclient-error','createdAt','CommentsOnly','document:write','enableReadOnlyMode','removeFromReconnectionStack','_bufferRootLoad','size','_shouldSendUpdate','_applyOperationsSet','metadata','connection','_pendingAction','toJSON','_initSessionsHandling','selection','stopListening','addRootAttribute','reset','6884977XDGnBz','wasUndone','unregister','realtimecollaborationclient-init-session-connection-error','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','version','addToReconnectionStack','directChange','_bufferedOperations','register','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_operationIdentifier','reconnect','roots','cs:removeUser','get','isReadOnly','includes','_isAttached','_isDisconnection','root','getOperationAuthor','real-time-collaboration','rootName','_sendBufferedOperations','realtimecollaborationclient-init-non-existent-root','keys','startsWith','error','attributes','remove','sessionId','_handleReconnectionResponse','start','applyOperation','_handleServerResponse','showWarning','_disconnectionOperations','_getOperationsFromInitData','type','addUser','wereChangesApplied','_sendBufferedOperationsDelayed','initData','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','change:range','catch','getRoot','_updateServerHistory','path','getOperations','ready','position','_handleReconnectionError','_compressor','marker','87379xuPWwP','_isPendingUpdate','isOfficialPlugin','state','bind','cloudServices.bundleVersion','off','realtimecollaborationclient-init-document-already-initialized','reconnection:\x20flushed\x20session','_authorId','round','_isLoaded','rootsAttributes','disableReadOnlyMode','_setPendingAction','realtimecollaborationclient-init-connection-failed','createPositionFromPath','disconnect','history','_shouldSendSelectionUpdate','affectsData','PENDING_ACTION_SENDING_DATA','end','createUserMarkerOperations','28WxOUOW','map','createRoot','$root','_decompressOperations','5067blgbyn','getConnectedSessions','_lastServerVersion','404','change:hasDomSelection','mySessionId','100376rAcqkX','sessionAdd:','filter','has','change:_isEditingAllowed','CollaborativeEditingService','isPremiumPlugin','_disconnectService','_ignoredOperations','_connectAfterSessionHasBeenFlushed','91PikBvV','_waitUntilSynced','_handleExternalOperations','from','code','baseVersion','slice','setIdForTheLastOperation','createRange','document','Notification','addOperation','realtimecollaborationclient-sendbufferedoperations','batch','_offset','_document','set','sendOperations'];_0x5650=function(){return _0x34d112;};return _0x5650();}class z extends Error{}function V(_0x4cc936,_0x5a0bbd){const _0x18ab92=_0x49dc9b;for(const _0x569055 of _0x4cc936)_0x569055[_0x18ab92(0x1e9)]=_0x5a0bbd++;}class W{constructor(_0x3ef081){const _0x39189d=_0x49dc9b;this[_0x39189d(0x1e2)]=_0x3ef081,this[_0x39189d(0x13c)]=new WeakMap();}[_0x49dc9b(0x152)](_0x451bd8){const _0x51f7e7=_0x49dc9b;let _0x170f4d=_0x451bd8[_0x51f7e7(0x154)];for(;_0x170f4d--;){const _0x1deaf0=_0x451bd8[_0x170f4d];if(!this[_0x51f7e7(0x1e2)][_0x51f7e7(0x1dd)](_0x1deaf0)){if(!this[_0x51f7e7(0x13c)][_0x51f7e7(0x1dd)](_0x1deaf0)){const _0x41a545=_0x2fee69()[_0x51f7e7(0x1ea)](0x1,0x12);this[_0x51f7e7(0x13c)][_0x51f7e7(0xee)](_0x1deaf0,_0x41a545);}return this[_0x51f7e7(0x13c)][_0x51f7e7(0x18e)](_0x1deaf0);}}}[_0x49dc9b(0x1eb)](_0x390f5e,_0x363d65){const _0x14d6ef=_0x49dc9b;if(!_0x363d65)return;let _0x52bb68=_0x390f5e[_0x14d6ef(0x154)];for(;_0x52bb68--;){const _0x19015c=_0x390f5e[_0x52bb68];this[_0x14d6ef(0x1e2)][_0x14d6ef(0x1dd)](_0x19015c)||this[_0x14d6ef(0x13c)][_0x14d6ef(0xee)](_0x19015c,_0x363d65);}}}
|
|
23
|
+
const _0x1cac3e=_0x48f4;(function(_0x1154b5,_0x4997f1){const _0x21cc48=_0x48f4,_0x237c35=_0x1154b5();while(!![]){try{const _0x3eeb7a=parseInt(_0x21cc48(0x113))/0x1*(-parseInt(_0x21cc48(0x14c))/0x2)+-parseInt(_0x21cc48(0x199))/0x3*(parseInt(_0x21cc48(0x127))/0x4)+parseInt(_0x21cc48(0x1dc))/0x5+-parseInt(_0x21cc48(0x176))/0x6*(parseInt(_0x21cc48(0x1b6))/0x7)+parseInt(_0x21cc48(0x15d))/0x8+-parseInt(_0x21cc48(0x19d))/0x9*(parseInt(_0x21cc48(0x1a9))/0xa)+parseInt(_0x21cc48(0x184))/0xb;if(_0x3eeb7a===_0x4997f1)break;else _0x237c35['push'](_0x237c35['shift']());}catch(_0x522d78){_0x237c35['push'](_0x237c35['shift']());}}}(_0x476c,0x822a1));import{Plugin as _0x580e20,PendingActions as _0x146775}from'ckeditor5/src/core.js';import{CKEditorError as _0x5c907e,version as _0x4c9c4a,uid as _0x20d65c}from'ckeditor5/src/utils.js';import{Notification as _0x264c65}from'ckeditor5/src/ui.js';import{transformSets as _0x1f4073,NoOperation as _0x179e08,InsertOperation as _0x243b56,MarkerOperation as _0x6b055c,RootAttributeOperation as _0x11b1c2,OperationFactory as _0x4e6430,History as _0x3185e2}from'ckeditor5/src/engine.js';import _0x39dd3a from'./websocketgateway.js';import _0x248130 from'./sessions.js';import _0x568f16 from'./usermarkers.js';function _0x476c(){const _0x49dbf4=['_service','collaboration.channelId','baseVersion','apply','sessionAdd:','_crash','_authorId','roots','_clearPendingAction','2257287JCGcol','stop','currentDocumentSession','_compressor','504OMcDIy','type','marker','RealTimeCollaborationClient','404','initData','channelSessions','set','getIdOfTheLastOperation','_setPendingAction','_decompressOperations','state','184720EMVZHZ','remove','filter','isReadOnly','requires','Permissions','get','lastDocumentSession','realtimecollaborationclient-handleserverresponse','CollaborativeEditingService','Notification','realtimecollaborationclient-init-document-already-initialized','includes','7dsSIlN','CommentsOnly','_hasSynchronizationProblem','_hasSelectionChanged','clone','error','_compressOperations','off','length','realtimecollaborationclient-sendbufferedoperations','keys','startsWith','_document','_ignoredOperations','isUndoneOperation','_handleReceivedOperations','plugins','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','compress','editor','enableReadOnlyMode','loadRoot','pluginName','serverHistory','metadata','_initThrowingOnDataSet','realtimecollaborationclient-init-non-existent-root','change:_isEditingAllowed','_baseBufferDelay','locale','_sendBufferedOperationsDelayId','PENDING_ACTION_SENDING_DATA','_addKnownRoot','sendOperations','affectsData','_knownOperations','_waitUntilSynced','_handleServerResponse','3566170ZxRNoY','listenTo','suppressErrorInCollaboration','change:range','_setUpDataInit','_handleReconnectionResponse','add','bind','_sendBufferedOperationsDelayed','isPremiumPlugin','has','addUser','getRoot','setIdForTheLastOperation','InsertOperation','rootsAttributes','_isLoaded','wereChangesApplied','realtimecollaborationclient-error','409','getDocumentDetails','toJSON','permissions','path','_bufferedOperations','_operationIdentifier','multi-root-editor-root-attributes-no-root','rtc-offline','_currentBufferDelay','differ','createRoot','_updateServerHistory','reconnect','_disconnectionOperations','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','targetPosition','applyOperation','end','createRange','ready','_applyOperationsSet','mySessionId','_isEditingAllowed','__className','realtimecollaborationclient-initservice-incorrect-server-operation','userId','document','disableReadOnlyMode','real-time-collaboration','cs:removeUser','register','_knownRootNames','$root','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.','cloudServices.bundleVersion','addToReconnectionStack','createPositionAt','_pendingAction','getOperations','round','lastOperationAcceptedAt','77471ZXeeKD','getUser','stopListening','_handleInitialConnectionData','enqueueChange','from','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','cloud-services-internal-error:\x20Request\x20timeout.','disconnected','code','getOperationAuthor','forEach','_handleSendingSelectionMarkers','removeFromReconnectionStack','collaboration-missing-channelid','root','insert','size','isOfficialPlugin','string','4dzzasR','realtimecollaborationclient-init-connection-failed','history','collaboration','map','operationsReceived','cloudDocumentVersion','cloud-services-internal-error:\x20Not\x20connected.','position','connection','_shouldSendUpdate','push','_loadRoot','slice','_lastSyncedOperationId','connect','editing','addRootAttribute','_handleReconnectionError','_getAffectedRoot','version','rtc-destroyed','batch','isEnabled','decompress','addOperation','return','then','createPositionFromPath','catch','_connectService','realtimecollaborationclient-initservice-internal-error','_isDisconnection','unregister','fromJSON','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','change:_isPendingUpdate','26zqPIpn','_isConnected','wasUndone','_connectAfterSessionHasBeenFlushed','finally','lastSyncVersion','createdAt','selection','_refreshUserSelectionMarkers','sessionCreatedAt','markers','_disconnectService','high','getMany','_handleExternalOperations','Synchronization\x20issue','_lastServerVersion','3191560qtPjlb','_bufferRootLoad','directChange','_fetchMissingUsers','data','_offset','addRoot','_operationToId','fire','showWarning','move','view','document:write','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.','init','config','_sendBufferedOperations','_isInit','offset','_isPendingUpdate','define','affectedSelectable','attributes','_initSessionsHandling','_channelId','3951282SDxyZk','start','destroy','_saveOperationInBuffer','setPermissions','newRange','isDocumentOperation','realtimecollaborationclient-init-session-connection-error','connected','entries','reset','parse','reconnection:\x20flushed\x20session','rootName','31608555PAMzky','message','_getOperationsFromInitData','sessionId','lastOperationId','change:hasDomSelection','model','_shouldSendSelectionUpdate','disconnect','getConnectedSessions','createUserMarkerOperations','_isAttached'];_0x476c=function(){return _0x49dbf4;};return _0x476c();}import{getTranslation as _0x165fb2}from'../common-translations.js';import{Compressor as _0x12e98a}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x150a16}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x48f4(_0x3eb470,_0x123433){const _0x476cd5=_0x476c();return _0x48f4=function(_0x48f40c,_0x40e9b8){_0x48f40c=_0x48f40c-0x10f;let _0x56786a=_0x476cd5[_0x48f40c];return _0x56786a;},_0x48f4(_0x3eb470,_0x123433);}import{User as _0x57934e,CollaborativeEditingService as _0x40621e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x580e20{static get[_0x1cac3e(0x1ad)](){return[_0x39dd3a,_0x248130,_0x568f16,_0x146775,_0x150a16,_0x264c65];}static get[_0x1cac3e(0x1cc)](){const _0x16ca9c=_0x1cac3e;return _0x16ca9c(0x1a0);}static get[_0x1cac3e(0x125)](){return!0x0;}static get[_0x1cac3e(0x1e5)](){return!0x0;}get[_0x1cac3e(0x12d)](){const _0x328bc1=_0x1cac3e;return this[_0x328bc1(0x15c)]+this[_0x328bc1(0x162)];}get[_0x1cac3e(0x15c)](){const _0x19a7bc=_0x1cac3e;return this[_0x19a7bc(0x1cd)][_0x19a7bc(0x13b)]-this[_0x19a7bc(0x162)];}get[_0x1cac3e(0x151)](){const _0x191eb6=_0x1cac3e,_0x4cb551=this[_0x191eb6(0x1cd)][_0x191eb6(0x110)]();for(let _0x454e52=_0x4cb551[_0x191eb6(0x1be)]-0x1;_0x454e52>=0x0;_0x454e52--){const _0x50c151=_0x4cb551[_0x454e52];if(!this[_0x191eb6(0x1fd)][_0x191eb6(0x1e6)](_0x50c151))return _0x50c151[_0x191eb6(0x192)]+0x1-this[_0x191eb6(0x162)];}return 0x0;}constructor(_0x2cf844){const _0x2f77b8=_0x1cac3e;if(super(_0x2cf844),this[_0x2f77b8(0x162)]=0x0,this[_0x2f77b8(0x187)]=null,this[_0x2f77b8(0x1cd)]=new _0x3185e2(),this[_0x2f77b8(0x1c9)][_0x2f77b8(0x16c)][_0x2f77b8(0x171)](_0x2f77b8(0x12a),{}),this[_0x2f77b8(0x175)]=this[_0x2f77b8(0x1c9)][_0x2f77b8(0x16c)][_0x2f77b8(0x1af)](_0x2f77b8(0x191)),!this[_0x2f77b8(0x175)])throw new _0x5c907e(_0x2f77b8(0x121),this);const _0x10f450=_0x2cf844[_0x2f77b8(0x16c)][_0x2f77b8(0x1af)](_0x2f77b8(0x212))||_0x4c9c4a;this[_0x2f77b8(0x190)]=new l[(_0x2f77b8(0x1b2))](_0x10f450,this[_0x2f77b8(0x175)]),this[_0x2f77b8(0x1c2)]=this[_0x2f77b8(0x1c9)][_0x2f77b8(0x18a)][_0x2f77b8(0x20a)],this[_0x2f77b8(0x19c)]=new _0x12e98a(),this[_0x2f77b8(0x1f4)]=[],this[_0x2f77b8(0x1d9)]=new WeakSet(),this[_0x2f77b8(0x20f)]=new Set(),this[_0x2f77b8(0x1a4)](_0x2f77b8(0x170),!0x1),this[_0x2f77b8(0x1a4)](_0x2f77b8(0x1b8),!0x1),this[_0x2f77b8(0x10f)]=null,this[_0x2f77b8(0x1b9)]=!0x1,this[_0x2f77b8(0x1d4)]=null,this[_0x2f77b8(0x1d2)]=0x12c,this[_0x2f77b8(0x1f8)]=this[_0x2f77b8(0x1d2)],this[_0x2f77b8(0x135)]=null,this[_0x2f77b8(0x1fd)]=new WeakSet(),this[_0x2f77b8(0x1f5)]=new X(this[_0x2f77b8(0x1fd)]);}[_0x1cac3e(0x16b)](){const _0x507459=_0x1cac3e,_0x245e8e=this[_0x507459(0x1c9)],_0xff18fe=_0x245e8e[_0x507459(0x1c6)][_0x507459(0x1af)](_0x150a16),_0x5eee2f=_0x245e8e[_0x507459(0x1c6)][_0x507459(0x1af)](_0x39dd3a);this[_0x507459(0x1dd)](_0xff18fe,_0x507459(0x11d),(_0x549e52,_0x42d7af)=>{const _0x5ad642=_0x507459,_0x5bead8=_0x42d7af[0x0];_0x5bead8[_0x5ad642(0x196)]&&(_0x549e52[_0x5ad642(0x141)]=_0xff18fe[_0x5ad642(0x114)](_0x5bead8[_0x5ad642(0x196)]),_0x549e52[_0x5ad642(0x19a)]()),null===_0x5bead8[_0x5ad642(0x196)]&&(_0x549e52[_0x5ad642(0x141)]=null,_0x549e52[_0x5ad642(0x19a)]());},{'priority':_0x507459(0x158)}),this[_0x507459(0x1dd)](_0x245e8e[_0x507459(0x18a)][_0x507459(0x20a)][_0x507459(0x153)],_0x507459(0x1df),(_0x839dce,_0x22d69a)=>{const _0x3a9556=_0x507459;_0x22d69a[_0x3a9556(0x15f)]&&this[_0x3a9556(0x154)]();}),this[_0x507459(0x1dd)](_0x245e8e[_0x507459(0x137)][_0x507459(0x168)],_0x507459(0x189),()=>{const _0x364d82=_0x507459;this[_0x364d82(0x154)]();}),this[_0x507459(0x1cf)](),_0x245e8e[_0x507459(0x18a)]['on'](_0x507459(0x200),(_0x54d278,_0x1a280c)=>{const _0x502a5e=_0x507459,_0x34668d=_0x1a280c[0x0];_0x34668d[_0x502a5e(0x17c)]&&(this[_0x502a5e(0x179)](_0x34668d),this[_0x502a5e(0x131)]()&&this[_0x502a5e(0x1e4)]());}),this[_0x507459(0x1e0)](),this[_0x507459(0x1e3)](_0x507459(0x206))['to'](_0x5eee2f,_0x507459(0x1a8),this,_0x507459(0x1b8),(_0x3bf650,_0x5af169)=>_0x507459(0x17e)===_0x3bf650&&!_0x5af169),this['on'](_0x507459(0x1d1),()=>{const _0x425702=_0x507459;this[_0x425702(0x206)]?_0x245e8e[_0x425702(0x20b)](_0x425702(0x1f7)):_0x245e8e[_0x425702(0x1ca)](_0x425702(0x1f7));}),this[_0x507459(0x206)]?_0x245e8e[_0x507459(0x20b)](_0x507459(0x1f7)):_0x245e8e[_0x507459(0x1ca)](_0x507459(0x1f7)),this[_0x507459(0x1a4)](_0x507459(0x14d),!0x1);}async[_0x1cac3e(0x1fc)](){const _0x193233=_0x1cac3e,_0x5bdfc7=this[_0x193233(0x1c9)][_0x193233(0x1c6)][_0x193233(0x1af)](_0x248130),_0xa3003f=this[_0x193233(0x1c9)][_0x193233(0x1c6)][_0x193233(0x1af)](_0x39dd3a);try{this[_0x193233(0x170)]=!0x0,_0x5bdfc7[_0x193233(0x148)](this[_0x193233(0x175)]);const _0x3e3f28=await this[_0x193233(0x190)][_0x193233(0x1fc)](_0xa3003f[_0x193233(0x130)],this[_0x193233(0x151)]);await this[_0x193233(0x1e1)](_0x3e3f28)&&(this[_0x193233(0x170)]=!0x1,this[_0x193233(0x198)]());const _0x833a58=await this[_0x193233(0x190)][_0x193233(0x18d)]();_0x5bdfc7[_0x193233(0x20e)](this[_0x193233(0x175)],_0x833a58),this[_0x193233(0x11f)](),this[_0x193233(0x14d)]=!0x0;}catch(_0x116609){if(function(_0x1ec099){const _0x4d07c3=_0x193233;return _0x4d07c3(0x1a1)===_0x1ec099[_0x4d07c3(0x11c)];}(_0x116609)&&this[_0x193233(0x187)])await this[_0x193233(0x14f)]();else{if(function(_0x2782b5){const _0x5e76e1=_0x193233;return _0x5e76e1(0x1ef)===_0x2782b5[_0x5e76e1(0x11c)];}(_0x116609)){const _0x4f3c64=_0x165fb2(this[_0x193233(0x1c9)][_0x193233(0x1d3)],_0x193233(0x14a));this[_0x193233(0x139)](_0x4f3c64);}else{if(!(_0x116609 instanceof J))throw _0x116609;this[_0x193233(0x139)]();}}}}[_0x1cac3e(0x178)](){const _0x40153e=_0x1cac3e,_0xbce6ad=this[_0x40153e(0x1c9)][_0x40153e(0x1c6)][_0x40153e(0x1af)](_0x39dd3a),_0x45a27c=this[_0x40153e(0x1c9)][_0x40153e(0x1c6)][_0x40153e(0x1af)](_0x248130);this[_0x40153e(0x1c9)][_0x40153e(0x1ca)](_0x40153e(0x13c)),_0x45a27c[_0x40153e(0x1a3)][_0x40153e(0x1e6)](this[_0x40153e(0x175)])&&_0x45a27c[_0x40153e(0x148)](this[_0x40153e(0x175)]),_0xbce6ad[_0x40153e(0x120)](this),this[_0x40153e(0x157)](),super[_0x40153e(0x178)]();}async[_0x1cac3e(0x1e1)](_0x574c0d){const _0x2e1832=_0x1cac3e;if(this[_0x2e1832(0x187)]!==_0x574c0d[_0x2e1832(0x187)]&&this[_0x2e1832(0x135)]!==_0x574c0d[_0x2e1832(0x188)])throw new J();return this[_0x2e1832(0x187)]=_0x574c0d[_0x2e1832(0x187)],this[_0x2e1832(0x1db)]([],{..._0x574c0d,'wereChangesApplied':!0x1,'data':_0x574c0d[_0x2e1832(0x161)]},_0x2e1832(0x1fc));}async[_0x1cac3e(0x145)](_0x284344,_0x55c379=!0x1){const _0x2c929d=_0x1cac3e,{connection:_0x18046d}=this[_0x2c929d(0x1c9)][_0x2c929d(0x1c6)][_0x2c929d(0x1af)](_0x39dd3a);l[_0x2c929d(0x1b2)][_0x2c929d(0x18d)](_0x18046d,this[_0x2c929d(0x175)])[_0x2c929d(0x142)](_0x444d6d=>this[_0x2c929d(0x174)](_0x444d6d))[_0x2c929d(0x144)](_0x5d2b30=>{const _0x3dbb55=_0x2c929d;this[_0x3dbb55(0x195)](_0x3dbb55(0x17d),_0x5d2b30);}),this[_0x2c929d(0x1dd)](this[_0x2c929d(0x190)],_0x2c929d(0x12c),this[_0x2c929d(0x1c5)][_0x2c929d(0x1e3)](this)),this[_0x2c929d(0x1dd)](this[_0x2c929d(0x190)],_0x2c929d(0x1bb),(_0x4521d7,_0x3dc9e2)=>{const _0x135e85=_0x2c929d;this[_0x135e85(0x195)](_0x135e85(0x146),_0x3dc9e2);}),this[_0x2c929d(0x1dd)](this[_0x2c929d(0x190)],_0x2c929d(0x11b),()=>{const _0x234f1f=_0x2c929d;this[_0x234f1f(0x14d)]=!0x1;});const _0x51d799=this[_0x2c929d(0x1f5)][_0x2c929d(0x1a5)](_0x284344);this[_0x2c929d(0x170)]=!0x0;const _0x5445f8=await this[_0x2c929d(0x190)][_0x2c929d(0x136)](_0x18046d,this[_0x2c929d(0x1bc)](_0x284344),_0x51d799);if(this[_0x2c929d(0x187)]=_0x5445f8[_0x2c929d(0x187)],_0x55c379){if(!_0x5445f8[_0x2c929d(0x1ed)])return void this[_0x2c929d(0x139)]();this[_0x2c929d(0x170)]=!0x1,this[_0x2c929d(0x198)](),this[_0x2c929d(0x1cd)][_0x2c929d(0x180)](),this[_0x2c929d(0x162)]=_0x5445f8[_0x2c929d(0x16f)],this[_0x2c929d(0x1cd)][_0x2c929d(0x13b)]=this[_0x2c929d(0x162)],await this[_0x2c929d(0x1db)](_0x284344,_0x5445f8,_0x2c929d(0x182));}else await this[_0x2c929d(0x116)](_0x5445f8,_0x284344);this[_0x2c929d(0x11f)](),this[_0x2c929d(0x14d)]=!0x0;}[_0x1cac3e(0x11f)](){const _0x4b3216=_0x1cac3e,_0x13bee2=this[_0x4b3216(0x1c9)][_0x4b3216(0x1c6)][_0x4b3216(0x1af)](_0x248130),_0x2962e3=this[_0x4b3216(0x1c9)][_0x4b3216(0x1c6)][_0x4b3216(0x1af)](_0x568f16),_0x592a1e=_0x13bee2[_0x4b3216(0x1a3)][_0x4b3216(0x1af)](this[_0x4b3216(0x175)]);_0x592a1e&&_0x592a1e[_0x4b3216(0x1be)]>0x1?_0x2962e3[_0x4b3216(0x18e)]():this[_0x4b3216(0x1dd)](_0x13bee2,_0x4b3216(0x194)+this[_0x4b3216(0x175)],()=>{const _0x39c5a1=_0x4b3216;0x2===_0x13bee2[_0x39c5a1(0x1a3)][_0x39c5a1(0x1af)](this[_0x39c5a1(0x175)])[_0x39c5a1(0x1be)]&&_0x2962e3[_0x39c5a1(0x18e)]();});}async[_0x1cac3e(0x1c5)](_0x308f6b,_0xf5f1a7,_0x4b2863,_0x4b6a7e){const _0x57c044=_0x1cac3e;if(!this[_0x57c044(0x170)]&&this[_0x57c044(0x1c2)][_0x57c044(0x13b)]==_0xf5f1a7){const _0x36a813=this[_0x57c044(0x1a7)](_0x4b2863,_0x4b6a7e);await this[_0x57c044(0x160)](_0x36a813),this[_0x57c044(0x15a)](_0x36a813,_0xf5f1a7,_0x4b2863[_0x57c044(0x188)])||this[_0x57c044(0x195)](_0x57c044(0x208));}}async[_0x1cac3e(0x14f)](){const _0x1d1ca7=_0x1cac3e;this[_0x1d1ca7(0x157)]();const {locale:_0x7eec1b}=this[_0x1d1ca7(0x1c9)];let _0x348c44;try{_0x348c44=await this[_0x1d1ca7(0x190)][_0x1d1ca7(0x1f0)]();}catch(_0x716ae0){const _0x1aae8b=_0x165fb2(_0x7eec1b,_0x1d1ca7(0x1c7));return void this[_0x1d1ca7(0x139)](_0x1aae8b);}const _0x5ab889=_0x348c44[_0x1d1ca7(0x19b)]||_0x348c44[_0x1d1ca7(0x1b0)];if(this[_0x1d1ca7(0x135)]===_0x5ab889[_0x1d1ca7(0x188)])await this[_0x1d1ca7(0x145)](this[_0x1d1ca7(0x1c9)][_0x1d1ca7(0x18a)][_0x1d1ca7(0x20a)][_0x1d1ca7(0x129)][_0x1d1ca7(0x110)](),!0x0);else{const _0x1360b6=_0x165fb2(_0x7eec1b,_0x1d1ca7(0x16a));this[_0x1d1ca7(0x139)](_0x1360b6);}}[_0x1cac3e(0x157)](){const _0x2f3a7d=_0x1cac3e;this[_0x2f3a7d(0x190)][_0x2f3a7d(0x18c)](),this[_0x2f3a7d(0x1f4)]=[],clearTimeout(this[_0x2f3a7d(0x1d4)]),this[_0x2f3a7d(0x115)](this[_0x2f3a7d(0x190)]);}[_0x1cac3e(0x174)](_0x34d8f0){const _0xd0e560=_0x1cac3e,_0x19c448=this[_0xd0e560(0x1c9)][_0xd0e560(0x1c6)][_0xd0e560(0x1af)](_0x248130);this[_0xd0e560(0x1dd)](_0x19c448,_0xd0e560(0x194)+this[_0xd0e560(0x175)],(_0x2aeaee,{session:_0x1d8696})=>{const _0x30bc2b=_0xd0e560;if(_0x1d8696['id']===_0x19c448[_0x30bc2b(0x205)]){_0x2aeaee[_0x30bc2b(0x1bd)]();const _0xd72510=this[_0x30bc2b(0x1c9)][_0x30bc2b(0x1c6)][_0x30bc2b(0x1e6)](_0x30bc2b(0x1b7))&&this[_0x30bc2b(0x1c9)][_0x30bc2b(0x1c6)][_0x30bc2b(0x1af)](_0x30bc2b(0x1b7));let _0x368c7b=_0x1d8696[_0x30bc2b(0x1f2)];_0xd72510&&_0xd72510[_0x30bc2b(0x13e)]&&(_0x368c7b=_0x368c7b[_0x30bc2b(0x1ab)](_0x1a07a3=>_0x30bc2b(0x169)!==_0x1a07a3)),this[_0x30bc2b(0x1c9)][_0x30bc2b(0x1c6)][_0x30bc2b(0x1af)](_0x30bc2b(0x1ae))[_0x30bc2b(0x17a)](_0x368c7b,this[_0x30bc2b(0x175)]);}}),_0x19c448[_0xd0e560(0x20e)](this[_0xd0e560(0x175)],_0x34d8f0);}[_0x1cac3e(0x1cf)](){const _0x3dddde=_0x1cac3e,_0x39293a=this[_0x3dddde(0x1c9)][_0x3dddde(0x161)][_0x3dddde(0x1a4)];this[_0x3dddde(0x1c9)][_0x3dddde(0x161)][_0x3dddde(0x1a4)]=(..._0x402640)=>{const _0x5af054=_0x3dddde;if(!_0x402640[_0x402640[_0x5af054(0x1be)]-0x1][_0x5af054(0x1de)])throw new _0x5c907e(_0x5af054(0x1fe),this);_0x39293a[_0x5af054(0x193)](this[_0x5af054(0x1c9)][_0x5af054(0x161)],_0x402640);};}[_0x1cac3e(0x1e0)](){const _0x31318e=_0x1cac3e;this[_0x31318e(0x1c9)][_0x31318e(0x161)]['on'](_0x31318e(0x16b),(_0x21465d,[_0x7b5eb5])=>{const _0x420d0e=_0x31318e;if(this[_0x420d0e(0x1c2)][_0x420d0e(0x13b)])throw new _0x5c907e(_0x420d0e(0x1b4),this);_0x21465d[_0x420d0e(0x19a)](),this[_0x420d0e(0x1a6)]();const _0x5b7fc8=this[_0x420d0e(0x1c9)][_0x420d0e(0x16c)][_0x420d0e(0x1af)](_0x420d0e(0x1eb)),_0x474e90=this[_0x420d0e(0x186)](_0x7b5eb5,_0x5b7fc8);0x0==_0x474e90[_0x420d0e(0x1be)]&&_0x474e90[_0x420d0e(0x132)](new _0x179e08(0x0)),_0x21465d[_0x420d0e(0x141)]=this[_0x420d0e(0x145)](_0x474e90)[_0x420d0e(0x142)](()=>{const _0x547751=_0x420d0e;this[_0x547751(0x1c9)][_0x547751(0x1c6)][_0x547751(0x1af)](_0x39dd3a)[_0x547751(0x213)](this),this[_0x547751(0x1c9)][_0x547751(0x161)][_0x547751(0x165)](_0x547751(0x203));})[_0x420d0e(0x144)](_0x28dace=>this[_0x420d0e(0x195)](_0x420d0e(0x128),_0x28dace))[_0x420d0e(0x150)](()=>this[_0x420d0e(0x198)]());},{'priority':_0x31318e(0x158)}),this[_0x31318e(0x1c9)]['on'](_0x31318e(0x1cb),async(_0x3de4ea,[_0x3b2f0c,_0x112ed8])=>{const _0x45ebf5=_0x31318e;_0x3de4ea[_0x45ebf5(0x19a)]();const _0x4ebd6d=this[_0x45ebf5(0x1c9)][_0x45ebf5(0x18a)][_0x45ebf5(0x20a)][_0x45ebf5(0x1e8)](_0x3b2f0c);if(!this[_0x45ebf5(0x20f)][_0x45ebf5(0x1e6)](_0x3b2f0c)){const _0x5a9473=_0x112ed8&&_0x112ed8[_0x45ebf5(0x161)]?_0x112ed8[_0x45ebf5(0x161)]:'',_0x55e1a0=_0x112ed8&&_0x112ed8[_0x45ebf5(0x173)]?_0x112ed8[_0x45ebf5(0x173)]:{};await this[_0x45ebf5(0x133)](_0x3b2f0c,_0x5a9473,_0x55e1a0);}this[_0x45ebf5(0x1c9)][_0x45ebf5(0x18a)][_0x45ebf5(0x117)]({'isUndoable':!0x1},()=>{const _0x5d9c5a=_0x45ebf5;_0x4ebd6d[_0x5d9c5a(0x1ec)]=!0x0,this[_0x5d9c5a(0x1c9)][_0x5d9c5a(0x18a)][_0x5d9c5a(0x20a)][_0x5d9c5a(0x1f9)][_0x5d9c5a(0x15e)](_0x4ebd6d);});},{'priority':_0x31318e(0x158)});}async[_0x1cac3e(0x160)](_0x3c829d){const _0x54980a=_0x1cac3e,_0x111bdf=this[_0x54980a(0x1c9)][_0x54980a(0x1c6)][_0x54980a(0x1af)](_0x150a16),{connection:_0x334382}=this[_0x54980a(0x1c9)][_0x54980a(0x1c6)][_0x54980a(0x1af)](_0x39dd3a),_0x361a50=new Set();for(const _0x3892f2 of _0x3c829d){const _0x1bbd0f=_0x3892f2[_0x54980a(0x196)];_0x1bbd0f&&!_0x111bdf[_0x54980a(0x114)](_0x1bbd0f)&&_0x361a50[_0x54980a(0x1e2)](_0x1bbd0f);}if(0x0===_0x361a50[_0x54980a(0x124)])return;const _0x27414d=await _0x57934e[_0x54980a(0x159)](_0x334382,Array[_0x54980a(0x118)](_0x361a50));for(const _0x4d48a2 of _0x27414d)_0x111bdf[_0x54980a(0x114)](_0x4d48a2['id'])||_0x111bdf[_0x54980a(0x1e7)](_0x4d48a2);}[_0x1cac3e(0x186)](_0xd3b2fc,_0x58720e={}){const _0x510127=_0x1cac3e,_0x1df813=this[_0x510127(0x1c9)][_0x510127(0x18a)],_0x580e88=[];let _0x2b80dd=0x0;const _0x3383eb=_0x510127(0x126)==typeof _0xd3b2fc?{'main':_0xd3b2fc}:_0xd3b2fc;for(const _0x171b3a of Object[_0x510127(0x1c0)](_0x3383eb)){if(!this[_0x510127(0x1c2)][_0x510127(0x197)][_0x510127(0x1e6)](_0x171b3a))throw new _0x5c907e(_0x510127(0x1d0),this);const _0x2903a7=this[_0x510127(0x1c9)][_0x510127(0x161)][_0x510127(0x181)](_0x3383eb[_0x171b3a]),_0x3b744e=this[_0x510127(0x1c2)][_0x510127(0x1e8)](_0x171b3a),_0x503c8f=new _0x243b56(_0x1df813[_0x510127(0x214)](_0x3b744e,0x0),_0x2903a7,_0x2b80dd++);_0x580e88[_0x510127(0x132)](_0x503c8f);for(const [_0x4f8a9a,_0x128312]of _0x2903a7[_0x510127(0x156)]){const _0x110113=_0x1df813[_0x510127(0x202)](_0x1df813[_0x510127(0x143)](_0x3b744e,_0x128312[_0x510127(0x177)][_0x510127(0x1f3)][_0x510127(0x134)]()),_0x1df813[_0x510127(0x143)](_0x3b744e,_0x128312[_0x510127(0x201)][_0x510127(0x1f3)][_0x510127(0x134)]())),_0x51fe41=new _0x6b055c(_0x4f8a9a,null,_0x110113,_0x1df813[_0x510127(0x156)],!0x0,_0x2b80dd++);_0x580e88[_0x510127(0x132)](_0x51fe41);}}if(_0x58720e)for(const [_0x14cc0d,_0x412482]of Object[_0x510127(0x17f)](_0x58720e)){const _0x1add35=_0x1df813[_0x510127(0x20a)][_0x510127(0x1e8)](_0x14cc0d);if(!_0x1add35)throw new _0x5c907e(_0x510127(0x1f6),null);for(const [_0x42ba26,_0x3e7e0a]of Object[_0x510127(0x17f)](_0x412482))if(null!==_0x3e7e0a){const _0x521114=new _0x11b1c2(_0x1add35,_0x42ba26,null,_0x3e7e0a,_0x2b80dd++);_0x580e88[_0x510127(0x132)](_0x521114);}}return _0x580e88;}async[_0x1cac3e(0x133)](_0x17327a,_0x5d00c3,_0x3a1721){const _0x28011a=_0x1cac3e;this[_0x28011a(0x186)]({[_0x17327a]:_0x5d00c3},{[_0x17327a]:_0x3a1721})[_0x28011a(0x11e)]((_0x2fdb3e,_0x19a106)=>{const _0x246758=_0x28011a;_0x2fdb3e[_0x246758(0x192)]=this[_0x246758(0x1c2)][_0x246758(0x13b)]+_0x19a106,_0x2fdb3e[_0x246758(0x16e)]=!0x0,this[_0x246758(0x179)](_0x2fdb3e);}),this[_0x28011a(0x1e4)](),await this[_0x28011a(0x1da)]();}async[_0x1cac3e(0x116)](_0x32d9d1,_0x1da7ad){const _0x37de0b=_0x1cac3e;let _0x183b4d;this[_0x37de0b(0x162)]=_0x32d9d1[_0x37de0b(0x16f)];const _0x3de5a3=_0x32d9d1[_0x37de0b(0x1ed)]&&!_0x32d9d1[_0x37de0b(0x1a2)],_0x2f6135=_0x3de5a3?0x0:_0x32d9d1[_0x37de0b(0x161)][_0x37de0b(0x192)];if(_0x1da7ad[_0x37de0b(0x11e)](_0xdda96f=>{const _0x532b84=_0x37de0b;_0xdda96f[_0x532b84(0x16e)]=!0x0,_0xdda96f[_0x532b84(0x152)]=_0x32d9d1[_0x532b84(0x155)],_0xdda96f[_0x532b84(0x196)]=null;}),_0x3de5a3)_0x183b4d=_0x1da7ad,this[_0x37de0b(0x204)](_0x183b4d,_0x3de5a3);else{if(_0x32d9d1[_0x37de0b(0x1a2)]){const _0x4e5a9a=this[_0x37de0b(0x186)](_0x32d9d1[_0x37de0b(0x1a2)]);this[_0x37de0b(0x1c2)][_0x37de0b(0x129)][_0x37de0b(0x13b)]=-_0x4e5a9a[_0x37de0b(0x1be)],_0x4e5a9a[_0x37de0b(0x11e)](_0x3ee804=>{const _0x2b246f=_0x37de0b;_0x3ee804[_0x2b246f(0x192)]-=_0x4e5a9a[_0x2b246f(0x1be)],_0x3ee804[_0x2b246f(0x152)]=_0x32d9d1[_0x2b246f(0x155)],_0x3ee804[_0x2b246f(0x16e)]=!0x0,_0x3ee804[_0x2b246f(0x196)]=null;}),this[_0x37de0b(0x204)](_0x4e5a9a,!0x0),this[_0x37de0b(0x1cd)][_0x37de0b(0x13b)]=-_0x4e5a9a[_0x37de0b(0x1be)]+this[_0x37de0b(0x162)],this[_0x37de0b(0x1fb)](_0x4e5a9a);}this[_0x37de0b(0x1c2)][_0x37de0b(0x129)][_0x37de0b(0x13b)]=_0x2f6135,_0x183b4d=this[_0x37de0b(0x1a7)](_0x32d9d1[_0x37de0b(0x161)],_0x32d9d1[_0x37de0b(0x1ce)]),await this[_0x37de0b(0x160)](_0x183b4d),this[_0x37de0b(0x204)](_0x183b4d,_0x3de5a3);}_0x32d9d1[_0x37de0b(0x188)]&&(this[_0x37de0b(0x1f5)][_0x37de0b(0x1e9)](_0x183b4d,_0x32d9d1[_0x37de0b(0x188)]),this[_0x37de0b(0x135)]=_0x32d9d1[_0x37de0b(0x188)]),this[_0x37de0b(0x1cd)][_0x37de0b(0x13b)]=_0x2f6135+this[_0x37de0b(0x162)],this[_0x37de0b(0x1fb)](_0x183b4d),_0x1da7ad[_0x37de0b(0x1ab)](_0x5c48c7=>{const _0x18c58c=_0x37de0b,_0x57b5c4=this[_0x18c58c(0x13a)](_0x5c48c7);return _0x57b5c4&&!this[_0x18c58c(0x20f)][_0x18c58c(0x1e6)](_0x57b5c4);})[_0x37de0b(0x11e)]((_0x36ef70,_0x96d789)=>{const _0x358116=_0x37de0b;_0x36ef70[_0x358116(0x192)]=this[_0x358116(0x1c2)][_0x358116(0x13b)]+_0x96d789,this[_0x358116(0x179)](_0x36ef70);}),this[_0x37de0b(0x131)]()?(this[_0x37de0b(0x1f8)]=0x0,this[_0x37de0b(0x1e4)](!0x0),await this[_0x37de0b(0x1da)]()):(this[_0x37de0b(0x170)]=!0x1,this[_0x37de0b(0x198)]());}[_0x1cac3e(0x195)](_0x367236,_0x54535e,_0x1beabf){const _0x454826=_0x1cac3e;throw this[_0x454826(0x170)]=!0x0,_0x54535e&&console[_0x454826(0x1bb)](_0x54535e),_0x1beabf&&this[_0x454826(0x1c9)][_0x454826(0x1ca)](_0x454826(0x1ee)),new _0x5c907e(_0x367236,this[_0x454826(0x1c9)]);}[_0x1cac3e(0x179)](_0x22d80b){const _0x5e230c=_0x1cac3e;this[_0x5e230c(0x1d9)][_0x5e230c(0x1e6)](_0x22d80b)||(this[_0x5e230c(0x1d9)][_0x5e230c(0x1e2)](_0x22d80b),this[_0x5e230c(0x1f4)][_0x5e230c(0x132)](_0x22d80b),this[_0x5e230c(0x10f)]||_0x5e230c(0x19f)==_0x22d80b[_0x5e230c(0x19e)]&&!_0x22d80b[_0x5e230c(0x1d8)]||this[_0x5e230c(0x1a6)]());}[_0x1cac3e(0x1e4)](_0x3e2c07=!0x1){const _0x4f9ce2=_0x1cac3e;!_0x3e2c07&&this[_0x4f9ce2(0x170)]||(this[_0x4f9ce2(0x170)]=!0x0,clearTimeout(this[_0x4f9ce2(0x1d4)]),this[_0x4f9ce2(0x1d4)]=setTimeout(()=>{const _0x519671=_0x4f9ce2;this[_0x519671(0x16d)]()[_0x519671(0x142)](_0xdab92=>{const _0x4dd95d=_0x519671;_0xdab92&&(this[_0x4dd95d(0x198)](),this[_0x4dd95d(0x170)]=!0x1);})[_0x519671(0x144)](_0x47b555=>{const _0x1a534e=_0x519671;this[_0x1a534e(0x198)](),this[_0x1a534e(0x170)]=!0x1,function(_0x142c75){const _0x51d217=_0x1a534e;return _0x142c75[_0x51d217(0x185)][_0x51d217(0x1c1)](_0x51d217(0x12e))||_0x142c75[_0x51d217(0x185)][_0x51d217(0x1c1)](_0x51d217(0x119))||_0x142c75[_0x51d217(0x185)][_0x51d217(0x1c1)](_0x51d217(0x11a));}(_0x47b555)||this[_0x1a534e(0x195)](_0x47b555[_0x1a534e(0x185)],_0x47b555,!0x0);});},this[_0x4f9ce2(0x1f8)]));}[_0x1cac3e(0x1da)](){return new Promise(_0x4c7450=>{const _0xad8123=_0x48f4;this['on'](_0xad8123(0x14b),()=>{_0x4c7450();});});}async[_0x1cac3e(0x16d)](){const _0x35c79e=_0x1cac3e,_0x4727a0=this[_0x35c79e(0x1c9)][_0x35c79e(0x1c6)][_0x35c79e(0x1af)](_0x568f16);if(this[_0x35c79e(0x18b)]()&&(_0x4727a0[_0x35c79e(0x18e)](),this[_0x35c79e(0x1b9)]=!0x1),!this[_0x35c79e(0x131)]())return!0x0;const _0x11ca7a=[...this[_0x35c79e(0x1f4)]];for(const _0x5702d0 of _0x11ca7a)_0x5702d0[_0x35c79e(0x14e)]=this[_0x35c79e(0x1c2)][_0x35c79e(0x129)][_0x35c79e(0x1c4)](_0x5702d0);const _0x10e617=this[_0x35c79e(0x1f5)][_0x35c79e(0x1a5)](_0x11ca7a),_0x317d02=K++,_0xb8f3d0=this[_0x35c79e(0x1bc)](_0x11ca7a),_0x25c699=await this[_0x35c79e(0x190)][_0x35c79e(0x1d7)](_0xb8f3d0,_0xb8f3d0[_0x35c79e(0x192)],_0x10e617);try{return await this[_0x35c79e(0x1db)](_0x11ca7a,_0x25c699,_0x317d02);}catch(_0x25a316){return this[_0x35c79e(0x195)](_0x35c79e(0x1bf),_0x25a316);}}async[_0x1cac3e(0x1db)](_0x2c59cc,_0x44ee04,_0x2e9db9){const _0xa5f5ed=_0x1cac3e;if(_0xa5f5ed(0x1bb)in _0x44ee04)throw _0x44ee04[_0xa5f5ed(0x1bb)];let _0x14b0e1=!0x1;if(_0x44ee04[_0xa5f5ed(0x1ed)]){_0x44ee04[_0xa5f5ed(0x188)]&&(this[_0xa5f5ed(0x135)]=_0x44ee04[_0xa5f5ed(0x188)]),this[_0xa5f5ed(0x1f4)]=this[_0xa5f5ed(0x1f4)][_0xa5f5ed(0x1ab)](_0x490414=>!_0x2c59cc[_0xa5f5ed(0x1b5)](_0x490414));for(const _0xb3eb9c of _0x2c59cc)_0xb3eb9c[_0xa5f5ed(0x152)]=_0xa5f5ed(0x112)in _0x44ee04&&_0x44ee04[_0xa5f5ed(0x112)]||void 0x0;Q(_0x2c59cc,_0x44ee04[_0xa5f5ed(0x13b)]-_0x2c59cc[_0xa5f5ed(0x1be)]),this[_0xa5f5ed(0x1fb)](_0x2c59cc);const _0xf9ac2d=_0x2c59cc[_0xa5f5ed(0x1ab)](_0x291a0=>{const _0x2487e3=_0xa5f5ed;if(!_0x291a0[_0x2487e3(0x16e)])return!0x1;const _0x3e40de=this[_0x2487e3(0x13a)](_0x291a0);return _0x3e40de&&!this[_0x2487e3(0x20f)][_0x2487e3(0x1e6)](_0x3e40de);});Q(_0xf9ac2d,this[_0xa5f5ed(0x1c2)][_0xa5f5ed(0x13b)]),this[_0xa5f5ed(0x204)](_0xf9ac2d),_0x14b0e1=!0x0,this[_0xa5f5ed(0x1f8)]=this[_0xa5f5ed(0x1d2)];}else{const _0x1c156b=this[_0xa5f5ed(0x1a7)](_0x44ee04[_0xa5f5ed(0x161)],_0x44ee04[_0xa5f5ed(0x1ce)])[_0xa5f5ed(0x1ab)](_0x4c1114=>_0x4c1114[_0xa5f5ed(0x192)]>=this[_0xa5f5ed(0x15c)]);_0x1c156b[_0xa5f5ed(0x11e)](_0x3315af=>this[_0xa5f5ed(0x1d6)](_0x3315af)),this[_0xa5f5ed(0x1f4)]=this[_0xa5f5ed(0x1f4)][_0xa5f5ed(0x1ab)](_0x504367=>!_0x504367[_0xa5f5ed(0x16e)]||!this[_0xa5f5ed(0x20f)][_0xa5f5ed(0x1e6)](this[_0xa5f5ed(0x13a)](_0x504367))),this[_0xa5f5ed(0x1f4)][_0xa5f5ed(0x1be)]&&Q(this[_0xa5f5ed(0x1f4)],this[_0xa5f5ed(0x1f4)][0x0][_0xa5f5ed(0x192)]),await this[_0xa5f5ed(0x160)](_0x1c156b),_0x14b0e1=this[_0xa5f5ed(0x15a)](_0x1c156b,_0x44ee04[_0xa5f5ed(0x13b)],_0x44ee04[_0xa5f5ed(0x188)]),this[_0xa5f5ed(0x1f8)]=Math[_0xa5f5ed(0x111)](this[_0xa5f5ed(0x1f8)]/0x2);}return _0x14b0e1?!this[_0xa5f5ed(0x131)]()||(this[_0xa5f5ed(0x1e4)](!0x0),!0x1):this[_0xa5f5ed(0x195)](_0xa5f5ed(0x1b1));}[_0x1cac3e(0x15a)](_0x2d393f,_0x249fb8,_0x512048){const _0x1add71=_0x1cac3e;try{const _0x52ad58={'document':this[_0x1add71(0x1c2)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x44ee4a,operationsB:_0x39ee40,originalOperations:_0x49c6f0}=_0x1f4073(_0x2d393f,this[_0x1add71(0x1f4)],_0x52ad58);Q(_0x44ee4a,this[_0x1add71(0x1c2)][_0x1add71(0x13b)]),Q(_0x39ee40,_0x249fb8);for(const _0xab6f83 of _0x44ee4a){const _0x22ff4d=_0x49c6f0[_0x1add71(0x1af)](_0xab6f83);_0xab6f83[_0x1add71(0x196)]=_0x22ff4d?_0x22ff4d[_0x1add71(0x196)]:null;}_0x512048&&(this[_0x1add71(0x1f5)][_0x1add71(0x1e9)](_0x2d393f,_0x512048),this[_0x1add71(0x135)]=_0x512048),this[_0x1add71(0x1f4)]=[..._0x39ee40],this[_0x1add71(0x204)](_0x44ee4a),this[_0x1add71(0x1fb)](_0x2d393f);}catch(_0x1b5140){return console[_0x1add71(0x1bb)](_0x1b5140),!0x1;}return!0x0;}[_0x1cac3e(0x204)](_0x2be6cc,_0xf864f7=!0x1){const _0x1e7c68=_0x1cac3e;this[_0x1e7c68(0x1c9)][_0x1e7c68(0x18a)][_0x1e7c68(0x117)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1da494=>{const _0x2cde0d=_0x1e7c68;for(const _0xc68f26 of _0x2be6cc)this[_0x2cde0d(0x1d9)][_0x2cde0d(0x1e2)](_0xc68f26),this[_0x2cde0d(0x1d6)](_0xc68f26),_0x1da494[_0x2cde0d(0x13d)][_0x2cde0d(0x140)](_0xc68f26),this[_0x2cde0d(0x1c9)][_0x2cde0d(0x18a)][_0x2cde0d(0x200)](_0xc68f26);});}[_0x1cac3e(0x1d6)](_0x34316a){const _0x58f666=_0x1cac3e,_0x24581b=this[_0x58f666(0x13a)](_0x34316a);_0x24581b&&this[_0x58f666(0x20f)][_0x58f666(0x1e2)](_0x24581b);}[_0x1cac3e(0x13a)](_0x34940b){const _0x1d1066=_0x1cac3e;let _0x31d51c,_0x5bc1c0;switch(_0x34940b[_0x1d1066(0x19e)]){case _0x1d1066(0x123):_0x31d51c=_0x34940b[_0x1d1066(0x12f)][_0x1d1066(0x122)];break;case _0x1d1066(0x19f):if(_0x5bc1c0=_0x34940b[_0x1d1066(0x17b)],!_0x5bc1c0)return null;_0x31d51c=_0x5bc1c0[_0x1d1066(0x122)];break;case _0x1d1066(0x138):_0x31d51c=_0x34940b[_0x1d1066(0x122)];break;case _0x1d1066(0x163):_0x31d51c=_0x34940b[_0x1d1066(0x172)];break;case _0x1d1066(0x167):_0x31d51c=_0x34940b[_0x1d1066(0x1ff)][_0x1d1066(0x122)];break;default:return null;}return _0x31d51c[_0x1d1066(0x183)];}[_0x1cac3e(0x1fb)](_0x1f20df){const _0x40fc52=_0x1cac3e;_0x1f20df[_0x40fc52(0x11e)](_0x5ca0ab=>{const _0x434a41=_0x40fc52,_0x22fedd=_0x5ca0ab[_0x434a41(0x1ba)]();_0x22fedd[_0x434a41(0x196)]=_0x5ca0ab[_0x434a41(0x196)],_0x22fedd[_0x434a41(0x16e)]=!!_0x5ca0ab[_0x434a41(0x16e)],_0x22fedd[_0x434a41(0x152)]=_0x5ca0ab[_0x434a41(0x152)],_0x22fedd[_0x434a41(0x192)]+=this[_0x434a41(0x162)],_0x5ca0ab[_0x434a41(0x147)]&&this[_0x434a41(0x1fd)][_0x434a41(0x1e2)](_0x22fedd),this[_0x434a41(0x1cd)][_0x434a41(0x140)](_0x22fedd);});}[_0x1cac3e(0x139)](_0x36ef8e){const _0x2b90ae=_0x1cac3e,_0x1549f8=this[_0x2b90ae(0x1c9)][_0x2b90ae(0x1c6)][_0x2b90ae(0x1af)](_0x2b90ae(0x1b3)),_0x2445c6=this[_0x2b90ae(0x1c9)][_0x2b90ae(0x1d3)];_0x36ef8e||(_0x36ef8e=_0x165fb2(_0x2445c6,_0x2b90ae(0x211))),_0x1549f8[_0x2b90ae(0x166)](_0x36ef8e,{'title':_0x165fb2(_0x2445c6,_0x2b90ae(0x15b)),'namespace':_0x2b90ae(0x20c)}),this[_0x2b90ae(0x1b8)]=!0x0,clearTimeout(this[_0x2b90ae(0x1d4)]),this[_0x2b90ae(0x1f4)]=[],this[_0x2b90ae(0x1c9)][_0x2b90ae(0x1c6)][_0x2b90ae(0x1af)](_0x39dd3a)[_0x2b90ae(0x178)]();}[_0x1cac3e(0x1a6)](){const _0x1f78f7=_0x1cac3e;this[_0x1f78f7(0x10f)]||(this[_0x1f78f7(0x10f)]=this[_0x1f78f7(0x1c9)][_0x1f78f7(0x1c6)][_0x1f78f7(0x1af)](_0x146775)[_0x1f78f7(0x1e2)](_0x165fb2(this[_0x1f78f7(0x1c9)][_0x1f78f7(0x1d3)],_0x1f78f7(0x1d5))));}[_0x1cac3e(0x198)](){const _0x43dcd4=_0x1cac3e;this[_0x43dcd4(0x10f)]&&(this[_0x43dcd4(0x1c9)][_0x43dcd4(0x1c6)][_0x43dcd4(0x1af)](_0x146775)[_0x43dcd4(0x1aa)](this[_0x43dcd4(0x10f)]),this[_0x43dcd4(0x10f)]=null);}[_0x1cac3e(0x1bc)](_0x3d8d56){const _0x39a0af=_0x1cac3e,_0x51d8ec=_0x3d8d56[_0x39a0af(0x12b)](_0x2d1ad6=>_0x2d1ad6[_0x39a0af(0x1f1)]());return this[_0x39a0af(0x19c)][_0x39a0af(0x1c8)](_0x51d8ec);}[_0x1cac3e(0x1a7)](_0x4d66f2,_0x36431d){const _0x4de4ea=_0x1cac3e;return this[_0x4de4ea(0x19c)][_0x4de4ea(0x13f)](_0x4d66f2)[_0x4de4ea(0x12b)]((_0x2f8ba2,_0x12cf01)=>{const _0x379dbd=_0x4de4ea,_0x271a16=_0x379dbd(0x16b)==_0x36431d[_0x12cf01][_0x379dbd(0x19e)];if(_0x379dbd(0x1ea)==_0x2f8ba2[_0x379dbd(0x207)]){const _0x396d45=_0x2f8ba2[_0x379dbd(0x12f)][_0x379dbd(0x122)];!this[_0x379dbd(0x1c2)][_0x379dbd(0x1e8)](_0x396d45)&&(this[_0x379dbd(0x1c2)][_0x379dbd(0x1fa)](_0x379dbd(0x210),_0x396d45)[_0x379dbd(0x18f)]=!0x1);}const _0x9a583b=_0x4e6430[_0x379dbd(0x149)](_0x2f8ba2,this[_0x379dbd(0x1c2)]);return _0x9a583b[_0x379dbd(0x14e)]=_0x2f8ba2[_0x379dbd(0x14e)],_0x9a583b[_0x379dbd(0x16e)]=_0x271a16,_0x9a583b[_0x379dbd(0x196)]=_0x271a16?null:_0x36431d[_0x12cf01][_0x379dbd(0x209)],_0x9a583b[_0x379dbd(0x147)]=_0x379dbd(0x20d)===_0x36431d[_0x12cf01][_0x379dbd(0x19e)],_0x9a583b[_0x379dbd(0x152)]=_0x36431d[_0x12cf01][_0x379dbd(0x152)],_0x9a583b;});}[_0x1cac3e(0x154)](){const _0x41d8d1=_0x1cac3e;this[_0x41d8d1(0x1b9)]=!0x0,this[_0x41d8d1(0x18b)]()?this[_0x41d8d1(0x1e4)]():this[_0x41d8d1(0x1b9)]=!0x1;}[_0x1cac3e(0x18b)](){const _0x5463a4=_0x1cac3e,_0x15d31b=this[_0x5463a4(0x1c9)][_0x5463a4(0x1c6)][_0x5463a4(0x1af)](_0x248130)[_0x5463a4(0x1a3)][_0x5463a4(0x1af)](this[_0x5463a4(0x175)]);return!this[_0x5463a4(0x1c9)][_0x5463a4(0x1ac)]&&!!_0x15d31b&&_0x15d31b[_0x5463a4(0x1be)]>0x1&&this[_0x5463a4(0x1b9)];}[_0x1cac3e(0x131)](){const _0x5bc51e=_0x1cac3e;return this[_0x5bc51e(0x1f4)][_0x5bc51e(0x1be)]>0x0||this[_0x5bc51e(0x18b)]();}}l[_0x1cac3e(0x1b2)]=_0x40621e;export default l;class J extends Error{}function Q(_0x5e57cf,_0x55acd5){const _0x118d06=_0x1cac3e;for(const _0x1f2f5f of _0x5e57cf)_0x1f2f5f[_0x118d06(0x192)]=_0x55acd5++;}class X{constructor(_0x537a82){const _0x79ffb4=_0x1cac3e;this[_0x79ffb4(0x1c3)]=_0x537a82,this[_0x79ffb4(0x164)]=new WeakMap();}[_0x1cac3e(0x1a5)](_0x2e17aa){const _0x416cde=_0x1cac3e;let _0x5741a5=_0x2e17aa[_0x416cde(0x1be)];for(;_0x5741a5--;){const _0x7410a8=_0x2e17aa[_0x5741a5];if(!this[_0x416cde(0x1c3)][_0x416cde(0x1e6)](_0x7410a8)){if(!this[_0x416cde(0x164)][_0x416cde(0x1e6)](_0x7410a8)){const _0x435dd5=_0x20d65c()[_0x416cde(0x134)](0x1,0x12);this[_0x416cde(0x164)][_0x416cde(0x1a4)](_0x7410a8,_0x435dd5);}return this[_0x416cde(0x164)][_0x416cde(0x1af)](_0x7410a8);}}}[_0x1cac3e(0x1e9)](_0x4e4359,_0x451e38){const _0x4b74d9=_0x1cac3e;if(!_0x451e38)return;let _0x1d9df7=_0x4e4359[_0x4b74d9(0x1be)];for(;_0x1d9df7--;){const _0x4dca34=_0x4e4359[_0x1d9df7];this[_0x4b74d9(0x1c3)][_0x4b74d9(0x1e6)](_0x4dca34)||this[_0x4b74d9(0x164)][_0x4b74d9(0x1a4)](_0x4dca34,_0x451e38);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x52d16d=_0x685d;(function(_0x2032f0,_0x213466){const _0x21223c=_0x685d,_0x556832=_0x2032f0();while(!![]){try{const _0x371ab7=parseInt(_0x21223c(0x157))/0x1*(-parseInt(_0x21223c(0x14d))/0x2)+-parseInt(_0x21223c(0x13c))/0x3*(parseInt(_0x21223c(0x146))/0x4)+-parseInt(_0x21223c(0x12d))/0x5+-parseInt(_0x21223c(0x12b))/0x6*(parseInt(_0x21223c(0x14f))/0x7)+parseInt(_0x21223c(0x168))/0x8*(-parseInt(_0x21223c(0x152))/0x9)+-parseInt(_0x21223c(0x139))/0xa*(-parseInt(_0x21223c(0x12c))/0xb)+parseInt(_0x21223c(0x160))/0xc*(parseInt(_0x21223c(0x150))/0xd);if(_0x371ab7===_0x213466)break;else _0x556832['push'](_0x556832['shift']());}catch(_0x4e39cb){_0x556832['push'](_0x556832['shift']());}}}(_0x3ebd,0x5301a));function _0x685d(_0x34371d,_0x5c4c39){const _0x3ebdf9=_0x3ebd();return _0x685d=function(_0x685d73,_0x480bda){_0x685d73=_0x685d73-0x12a;let _0x28a8df=_0x3ebdf9[_0x685d73];return _0x28a8df;},_0x685d(_0x34371d,_0x5c4c39);}function _0x3ebd(){const _0x23d645=['7399764GcyOBO','_createUser','sessionId','isOfficialPlugin','channelSessions','requires','getUserRole','get','8IQVMYF','_handleSessionAdd','init','sessions-unregister-not-exist','6qiGPmv','11OWIJLF','2850720MWxEwL','getUserSessions','values','sessions-register-already-registered','set','getUser','channelConnectedUsers','listenTo','defineMe','clear','connection','connected','6530450YVJfNy','add','delete','129BRufbP','addUser','isPremiumPlugin','mySessionId','state','_uniqueUsersCount','register','sessionAdd:','fire','getUserBySessionId','4548sNQTzj','has','user','_handleSessionRemove','change:state','plugins','size','148JpBxzE','isMe','568855VwmojX','26xSRXWM','Sessions','2295063SukuDk','_users','role','forEach','allConnectedUsers','7987LXTxiu','pluginName','orderNumber','_registeredSessions','unregister','assign','remove','stopListening','context'];_0x3ebd=function(){return _0x23d645;};return _0x3ebd();}import{ContextPlugin as _0x228a7e}from'ckeditor5/src/core.js';import{Collection as _0x4201a2,CKEditorError as _0x5b1bbd}from'ckeditor5/src/utils.js';import _0x1df85d from'./websocketgateway.js';import{Users as _0x4a212e}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x228a7e{static get[_0x52d16d(0x158)](){const _0x15d64b=_0x52d16d;return _0x15d64b(0x151);}static get[_0x52d16d(0x163)](){return!0x0;}static get[_0x52d16d(0x13e)](){return!0x0;}static get[_0x52d16d(0x165)](){return[_0x1df85d,_0x4a212e];}constructor(_0x2a8634){const _0x26ee50=_0x52d16d;super(_0x2a8634),this[_0x26ee50(0x164)]=new Map(),this[_0x26ee50(0x133)]=new Map(),this[_0x26ee50(0x156)]=new _0x4201a2(),this[_0x26ee50(0x15a)]=new Map(),this[_0x26ee50(0x141)]=0x0,this[_0x26ee50(0x153)]=this[_0x26ee50(0x15f)][_0x26ee50(0x14b)][_0x26ee50(0x167)](_0x4a212e);}[_0x52d16d(0x16a)](){const _0x54c2dc=_0x52d16d,_0x2e39e6=this[_0x54c2dc(0x15f)][_0x54c2dc(0x14b)][_0x54c2dc(0x167)](_0x1df85d);this[_0x54c2dc(0x134)](_0x2e39e6,_0x54c2dc(0x14a),(_0x3721f6,_0x159e7f,_0x597549)=>{const _0x1c00ea=_0x54c2dc;if(_0x1c00ea(0x138)!==_0x597549)this[_0x1c00ea(0x164)][_0x1c00ea(0x155)](_0x576e75=>_0x576e75[_0x1c00ea(0x136)]()),this[_0x1c00ea(0x133)][_0x1c00ea(0x155)](_0x27d2b7=>_0x27d2b7[_0x1c00ea(0x136)]()),this[_0x1c00ea(0x156)][_0x1c00ea(0x136)]();else{for(const [_0x2eb30b,_0x478a53]of this[_0x1c00ea(0x15a)])for(const _0x78610 of _0x478a53)this[_0x1c00ea(0x169)](_0x2eb30b,_0x78610);}}),this[_0x54c2dc(0x161)](_0x2e39e6[_0x54c2dc(0x137)]['me'],!0x0);}[_0x52d16d(0x142)](_0x38c74a,_0x340131){const _0x987433=_0x52d16d;if(this[_0x987433(0x15a)][_0x987433(0x147)](_0x38c74a))throw new _0x5b1bbd(_0x987433(0x130),null,{'channelId':_0x38c74a});this[_0x987433(0x15a)][_0x987433(0x131)](_0x38c74a,_0x340131),this[_0x987433(0x164)][_0x987433(0x131)](_0x38c74a,new _0x4201a2()),this[_0x987433(0x133)][_0x987433(0x131)](_0x38c74a,new _0x4201a2()),this[_0x987433(0x134)](_0x340131,_0x987433(0x13a),(_0x387cd5,_0x4c5666)=>this[_0x987433(0x169)](_0x38c74a,_0x4c5666)),this[_0x987433(0x134)](_0x340131,_0x987433(0x15d),(_0x44c053,_0x309ad2)=>this[_0x987433(0x149)](_0x38c74a,_0x309ad2));for(const _0x4224ad of _0x340131)this[_0x987433(0x169)](_0x38c74a,_0x4224ad);}[_0x52d16d(0x15b)](_0x4ce11f){const _0xcb5c02=_0x52d16d;if(!this[_0xcb5c02(0x15a)][_0xcb5c02(0x147)](_0x4ce11f))throw new _0x5b1bbd(_0xcb5c02(0x12a),null,{'channelId':_0x4ce11f});const _0x68f820=this[_0xcb5c02(0x15a)][_0xcb5c02(0x167)](_0x4ce11f);this[_0xcb5c02(0x15e)](_0x68f820);for(const _0x32ff4f of _0x68f820)_0xcb5c02(0x138)===this[_0xcb5c02(0x15f)][_0xcb5c02(0x14b)][_0xcb5c02(0x167)](_0x1df85d)[_0xcb5c02(0x140)]&&this[_0xcb5c02(0x149)](_0x4ce11f,_0x32ff4f);this[_0xcb5c02(0x15a)][_0xcb5c02(0x13b)](_0x4ce11f),this[_0xcb5c02(0x164)][_0xcb5c02(0x13b)](_0x4ce11f),this[_0xcb5c02(0x133)][_0xcb5c02(0x13b)](_0x4ce11f);}get[_0x52d16d(0x13f)](){const _0x64fe65=_0x52d16d;return this[_0x64fe65(0x15f)][_0x64fe65(0x14b)][_0x64fe65(0x167)](_0x1df85d)[_0x64fe65(0x137)][_0x64fe65(0x162)];}[_0x52d16d(0x145)](_0x5758d3){const _0x4e7f7e=_0x52d16d;for(const _0x1fed5b of this[_0x4e7f7e(0x164)][_0x4e7f7e(0x12f)]())for(const _0x59f849 of _0x1fed5b)if(_0x59f849['id']===_0x5758d3)return _0x59f849[_0x4e7f7e(0x148)];}[_0x52d16d(0x12e)](_0x48e781,_0x23418a){const _0xc6efc=_0x52d16d,_0x5b395a=_0x23418a?[this[_0xc6efc(0x164)][_0xc6efc(0x167)](_0x23418a)]:this[_0xc6efc(0x164)][_0xc6efc(0x12f)](),_0x1451b9=new Set();for(const _0x47ad0f of _0x5b395a)for(const _0x272dc5 of _0x47ad0f)_0x272dc5[_0xc6efc(0x148)]['id']===_0x48e781['id']&&_0x1451b9[_0xc6efc(0x13a)](_0x272dc5['id']);return _0x1451b9;}[_0x52d16d(0x166)](_0x3ef3db){const _0x26bfe9=_0x52d16d;for(const _0x5c9e89 of this[_0x26bfe9(0x164)][_0x26bfe9(0x12f)]())for(const _0x269d3e of _0x5c9e89)if(_0x269d3e[_0x26bfe9(0x148)]===_0x3ef3db)return _0x269d3e[_0x26bfe9(0x154)];}[_0x52d16d(0x169)](_0x4c7770,_0x2535fd){const _0x2babf2=_0x52d16d;if(_0x2babf2(0x138)!==this[_0x2babf2(0x15f)][_0x2babf2(0x14b)][_0x2babf2(0x167)](_0x1df85d)[_0x2babf2(0x140)])return;const _0x60ecb3=_0x2535fd[_0x2babf2(0x148)],_0x3eab17=this[_0x2babf2(0x153)][_0x2babf2(0x132)](_0x60ecb3['id'])||this[_0x2babf2(0x161)](_0x60ecb3),_0x575515=Object[_0x2babf2(0x15c)]({},_0x2535fd,{'user':_0x3eab17});this[_0x2babf2(0x164)][_0x2babf2(0x167)](_0x4c7770)[_0x2babf2(0x13a)](_0x575515);const _0x5934dc=this[_0x2babf2(0x133)][_0x2babf2(0x167)](_0x4c7770);_0x5934dc[_0x2babf2(0x147)](_0x3eab17['id'])||_0x5934dc[_0x2babf2(0x13a)](_0x3eab17),this[_0x2babf2(0x156)][_0x2babf2(0x147)](_0x3eab17['id'])||this[_0x2babf2(0x156)][_0x2babf2(0x13a)](_0x3eab17,_0x3eab17[_0x2babf2(0x14e)]?0x0:void 0x0),this[_0x2babf2(0x144)](_0x2babf2(0x143)+_0x4c7770,{'channelId':_0x4c7770,'session':_0x575515});}[_0x52d16d(0x149)](_0x3a8157,_0x5110af){const _0x5d1a86=_0x52d16d;if(_0x5d1a86(0x138)!==this[_0x5d1a86(0x15f)][_0x5d1a86(0x14b)][_0x5d1a86(0x167)](_0x1df85d)[_0x5d1a86(0x140)])return;const _0x542f85=this[_0x5d1a86(0x133)][_0x5d1a86(0x167)](_0x3a8157),_0x285f6d=_0x5110af[_0x5d1a86(0x148)];_0x285f6d['id']&&(this[_0x5d1a86(0x164)][_0x5d1a86(0x167)](_0x3a8157)[_0x5d1a86(0x15d)](_0x5110af['id']),_0x542f85[_0x5d1a86(0x147)](_0x285f6d['id'])&&!this[_0x5d1a86(0x12e)](_0x285f6d,_0x3a8157)[_0x5d1a86(0x14c)]&&_0x542f85[_0x5d1a86(0x15d)](_0x285f6d['id']),this[_0x5d1a86(0x156)][_0x5d1a86(0x167)](_0x285f6d['id'])&&!this[_0x5d1a86(0x12e)](_0x285f6d)[_0x5d1a86(0x14c)]&&this[_0x5d1a86(0x156)][_0x5d1a86(0x15d)](_0x285f6d['id']));}[_0x52d16d(0x161)](_0xd39e22,_0x30f3b5){const _0x58c46c=_0x52d16d,_0x4537f1=this[_0x58c46c(0x153)][_0x58c46c(0x13d)](_0xd39e22);return _0x30f3b5&&this[_0x58c46c(0x153)][_0x58c46c(0x135)](_0xd39e22['id']),_0x4537f1[_0x58c46c(0x159)]=this[_0x58c46c(0x141)]++,_0x4537f1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2dc9e5=_0x3519;(function(_0x394038,_0x4bba69){const _0x30cc1b=_0x3519,_0x1778b7=_0x394038();while(!![]){try{const _0x3272a6=parseInt(_0x30cc1b(0x159))/0x1*(parseInt(_0x30cc1b(0x130))/0x2)+-parseInt(_0x30cc1b(0x184))/0x3*(parseInt(_0x30cc1b(0x1a0))/0x4)+-parseInt(_0x30cc1b(0x150))/0x5*(-parseInt(_0x30cc1b(0x157))/0x6)+-parseInt(_0x30cc1b(0x182))/0x7+-parseInt(_0x30cc1b(0x197))/0x8*(-parseInt(_0x30cc1b(0x188))/0x9)+-parseInt(_0x30cc1b(0x15b))/0xa+parseInt(_0x30cc1b(0x12d))/0xb;if(_0x3272a6===_0x4bba69)break;else _0x1778b7['push'](_0x1778b7['shift']());}catch(_0x3b173b){_0x1778b7['push'](_0x1778b7['shift']());}}}(_0x46d7,0xe0d5a));function _0x46d7(){const _0x4f497c=['fromRange','7170460RSCqAW','change','requires','636vWAGMp','user:','toDomElement','isOfficialPlugin','getCustomProperty','add','getUserBySessionId','isSimilar','getMarkerClass','markerToElement','ck-user__marker\x20','keydown','addMarker','createUIElement','$graveyard','remove','createRange','$text','_domEmitter','Escape','mouseenter','view','document','parent','nodeAfter','start','stopListening','set','mapper','span','commands','getFirstRange','175aWmXpv','markers','model','isObject','isCollapsed','isLimit','getPositions','42066XABXGS','element','4093zxCVmv','name','418240ibZBpr','editing','highest','_createdBatches','change:range','update:user:range','type','end','mouseleave','editor','editingDowncast','newRange','schema','render','split','destroy','innerHTML','getNearestSelectionRange','size','createUserMarkerOperations','orderNumber','reconvertMarker','toRange','</span>','markerRange','isPremiumPlugin','color','userPositionMarker','getRange','removeClass','get','has','contenteditable','ck-user__marker_hovered','tableCell','mySessionId','markerToHighlight','marker','delete','4988046iXrgZd','addEventListener','3oedMMO','conversion','getSelectionClass','pluginName','18vtnrtt','updateMarker','plugins','for','getStart','applyOperation','isInline','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','user:position:','root','detach','listenTo','ck-user__selection','classList','rootName','1879496qVHbtU','setCustomProperty','afterInit','hasContent','selection','init','user:range','deletionPosition','clear','3973476APHFtr','hasDomSelection','user:position','batch','getAttribute','markerNameToElements','oldRange','undo','checkChild','markerName','getContainedElement','data-session-id','startsWith','UserMarkers','enqueueChange','user:range:','removeMarker'];_0x46d7=function(){return _0x4f497c;};return _0x46d7();}function _0x3519(_0x7d63a7,_0x2af8de){const _0x46d7e0=_0x46d7();return _0x3519=function(_0x351908,_0xb540c8){_0x351908=_0x351908-0x126;let _0x364829=_0x46d7e0[_0x351908];return _0x364829;},_0x3519(_0x7d63a7,_0x2af8de);}import{Plugin as _0x29a993}from'ckeditor5/src/core.js';import{global as _0x1ab183,DomEmitterMixin as _0x3967be}from'ckeditor5/src/utils.js';import _0x44ea84 from'./sessions.js';import{LiveRange as _0x471789}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class N extends _0x29a993{constructor(){const _0x495c02=_0x3519;super(...arguments),this[_0x495c02(0x142)]=new(_0x3967be())();}static get[_0x2dc9e5(0x12f)](){return[_0x44ea84];}static get[_0x2dc9e5(0x187)](){const _0x313dcd=_0x2dc9e5;return _0x313dcd(0x128);}static get[_0x2dc9e5(0x133)](){return!0x0;}static get[_0x2dc9e5(0x174)](){return!0x0;}[_0x2dc9e5(0x19c)](){const _0x364457=_0x2dc9e5,_0x125f76=this[_0x364457(0x164)],_0x42e6a3=_0x125f76[_0x364457(0x18a)][_0x364457(0x179)](_0x44ea84);_0x125f76[_0x364457(0x185)][_0x364457(0x18b)](_0x364457(0x165))[_0x364457(0x139)]({'model':_0x364457(0x1a2),'view':(_0x5dc189,{writer:_0x14ab36})=>function(_0x118eca,_0x24fb48,_0x7833eb,_0x52e477){const _0x4f04d6=_0x364457,_0x5111f7=_0x118eca[_0x4f04d6(0x1a9)][_0x4f04d6(0x169)](':')[0x2],_0x141e63=_0x7833eb[_0x4f04d6(0x136)](_0x5111f7);if(!_0x141e63||_0x5111f7===_0x7833eb[_0x4f04d6(0x17e)])return;if(!_0x52e477[_0x4f04d6(0x152)][_0x4f04d6(0x167)][_0x4f04d6(0x1a8)](_0x118eca[_0x4f04d6(0x173)][_0x4f04d6(0x149)],_0x4f04d6(0x141)))return;const _0x46f0b8={'class':_0x4f04d6(0x13a)+_0x141e63[_0x4f04d6(0x175)][_0x4f04d6(0x138)](),'data-name':_0x141e63[_0x4f04d6(0x15a)],'data-session-id':_0x5111f7},_0xb1a783=_0x52e477[_0x4f04d6(0x152)][_0x4f04d6(0x151)][_0x4f04d6(0x179)](_0x118eca[_0x4f04d6(0x1a9)]),_0x496e1b=_0xb1a783[_0x4f04d6(0x18c)](),_0x44142d=_0x496e1b[_0x4f04d6(0x148)],_0x79caa2=_0x52e477[_0x4f04d6(0x152)][_0x4f04d6(0x167)];if(_0x44142d&&_0x79caa2[_0x4f04d6(0x153)](_0x44142d)&&_0x79caa2[_0x4f04d6(0x18e)](_0x44142d)&&!_0x52e477[_0x4f04d6(0x152)][_0x4f04d6(0x151)][_0x4f04d6(0x179)](_0x4f04d6(0x12a)+_0x5111f7)[_0x4f04d6(0x177)]()[_0x4f04d6(0x154)])return;const _0x425cfb=_0x496e1b[_0x4f04d6(0x147)];return _0x52e477[_0x4f04d6(0x152)][_0x4f04d6(0x167)][_0x4f04d6(0x155)](_0x425cfb)&&!_0x52e477[_0x4f04d6(0x152)][_0x4f04d6(0x19a)](_0x425cfb)&&(_0x46f0b8[_0x4f04d6(0x17b)]=!0x1),function(_0x1175a7,_0x52c36d,_0x41b6f3){const _0x1b020c=_0x4f04d6,_0x1e71b3=_0x1175a7[_0x1b020c(0x13d)](_0x1b020c(0x14d),_0x52c36d);return _0x1175a7[_0x1b020c(0x198)](_0x1b020c(0x176),!0x0,_0x1e71b3),_0x1e71b3[_0x1b020c(0x168)]=function(_0x4af592){const _0xde9bfc=_0x1b020c,_0xa5d0d8=this[_0xde9bfc(0x132)](_0x4af592);return _0xa5d0d8[_0xde9bfc(0x16b)]=_0xde9bfc(0x18f)+_0x41b6f3[_0xde9bfc(0x15a)]+_0xde9bfc(0x172),_0xa5d0d8[_0xde9bfc(0x183)](_0xde9bfc(0x144),()=>{const _0x563fc7=_0xde9bfc;_0xa5d0d8[_0x563fc7(0x195)][_0x563fc7(0x135)](_0x563fc7(0x17c));}),_0xa5d0d8[_0xde9bfc(0x183)](_0xde9bfc(0x163),()=>{const _0x263c5f=_0xde9bfc;_0xa5d0d8[_0x263c5f(0x195)][_0x263c5f(0x13f)](_0x263c5f(0x17c));}),_0xa5d0d8;},_0x1e71b3[_0x1b020c(0x137)]=function(_0x16dba6){const _0x5803eb=_0x1b020c;return!(!this[_0x5803eb(0x134)](_0x5803eb(0x176))||!_0x16dba6[_0x5803eb(0x134)](_0x5803eb(0x176))||this[_0x5803eb(0x1a4)](_0x5803eb(0x126))!=_0x16dba6[_0x5803eb(0x1a4)](_0x5803eb(0x126)));},_0x1e71b3;}(_0x24fb48,_0x46f0b8,_0x141e63);}(_0x5dc189,_0x14ab36,_0x42e6a3,_0x125f76)}),_0x125f76[_0x364457(0x185)][_0x364457(0x18b)](_0x364457(0x165))[_0x364457(0x17f)]({'model':_0x364457(0x19d),'view':_0x2bb661=>function(_0x4b2f6f,_0x5f559b){const _0xd1e212=_0x364457,_0x4dfaa0=_0x4b2f6f[_0xd1e212(0x1a9)][_0xd1e212(0x169)](':')[0x2];if(_0x4dfaa0===_0x5f559b[_0xd1e212(0x17e)])return null;const _0x4ec0d8=_0x5f559b[_0xd1e212(0x136)](_0x4dfaa0);if(!_0x4ec0d8)return{'id':_0x4dfaa0,'classes':[]};return{'id':_0x4dfaa0,'classes':[_0xd1e212(0x194),_0x4ec0d8[_0xd1e212(0x175)][_0xd1e212(0x186)]()],'attributes':{'data-session-id':_0x4dfaa0},'priority':0x7d0+_0x4ec0d8[_0xd1e212(0x16f)]};}(_0x2bb661,_0x42e6a3)}),function(_0x23f008){const _0x263870=_0x364457,_0x5a04b4=_0x23f008[_0x263870(0x152)],_0x1d46b5=new Map(),_0x55ef8d=_0x23f008[_0x263870(0x18a)][_0x263870(0x179)](_0x44ea84);_0x5a04b4[_0x263870(0x151)]['on'](_0x263870(0x160),(_0x4511ab,_0x41d05b,_0x45dc53,_0xb90b05)=>{const _0x114075=_0x263870;if(!_0xb90b05&&_0x1d46b5[_0x114075(0x179)](_0x41d05b[_0x114075(0x15a)]))return _0x1d46b5[_0x114075(0x179)](_0x41d05b[_0x114075(0x15a)])[_0x114075(0x192)](),void _0x1d46b5[_0x114075(0x181)](_0x41d05b[_0x114075(0x15a)]);const _0x496c68=_0x41d05b[_0x114075(0x15a)][_0x114075(0x169)](':')[0x2];if(_0x496c68===_0x55ef8d[_0x114075(0x17e)])return;const _0x3d4aa0=_0x114075(0x190)+_0x496c68;_0x5a04b4[_0x114075(0x151)][_0x114075(0x17a)](_0x3d4aa0)&&_0x23f008[_0x114075(0x15c)][_0x114075(0x170)](_0x3d4aa0),_0x41d05b['on'](_0x114075(0x15f),(_0x2ccc65,_0x3c800f,_0x599daa)=>{const _0x59dde4=_0x114075;if(_0x59dde4(0x13e)!=_0x3c800f[_0x59dde4(0x191)][_0x59dde4(0x196)]&&_0x59dde4(0x13e)==_0x41d05b[_0x59dde4(0x177)]()[_0x59dde4(0x191)][_0x59dde4(0x196)]&&!_0x1d46b5[_0x59dde4(0x17a)](_0x41d05b[_0x59dde4(0x15a)])){const _0x51c2c6=_0x5a04b4[_0x59dde4(0x167)][_0x59dde4(0x16c)](_0x599daa[_0x59dde4(0x19e)]);if(_0x51c2c6){const _0x4fa46b=_0x471789[_0x59dde4(0x12c)](_0x51c2c6);_0x1d46b5[_0x59dde4(0x14b)](_0x41d05b[_0x59dde4(0x15a)],_0x4fa46b),_0x4fa46b['on'](_0x59dde4(0x15f),(_0x46ca76,_0x4ab48b,_0x735747)=>{const _0x465020=_0x59dde4;if(_0x465020(0x13e)==_0x4fa46b[_0x465020(0x191)][_0x465020(0x196)]){const _0x339f5e=_0x5a04b4[_0x465020(0x167)][_0x465020(0x16c)](_0x735747[_0x465020(0x19e)]);_0x339f5e?(_0x4fa46b[_0x465020(0x149)]=_0x339f5e[_0x465020(0x149)],_0x4fa46b[_0x465020(0x162)]=_0x339f5e[_0x465020(0x162)]):(_0x1d46b5[_0x465020(0x181)](_0x41d05b[_0x465020(0x15a)]),_0x4fa46b[_0x465020(0x192)]());}});}}});}),_0x5a04b4[_0x263870(0x146)]['on'](_0x263870(0x12e),()=>{const _0x46a520=_0x263870;_0x1d46b5[_0x46a520(0x16d)]>0x0&&_0x5a04b4[_0x46a520(0x129)]({'isUndoable':!0x1},_0x3419b1=>{const _0xc4d341=_0x46a520;for(const [_0x242fce,_0x4e7be5]of _0x1d46b5)_0xc4d341(0x13e)==_0x5a04b4[_0xc4d341(0x151)][_0xc4d341(0x179)](_0x242fce)[_0xc4d341(0x177)]()[_0xc4d341(0x191)][_0xc4d341(0x196)]&&(G(_0x242fce[_0xc4d341(0x169)](':')[0x2],_0x4e7be5[_0xc4d341(0x171)](),_0x5a04b4,_0x3419b1),_0x4e7be5[_0xc4d341(0x192)]());_0x1d46b5[_0xc4d341(0x19f)]();});});}(_0x125f76),this[_0x364457(0x142)][_0x364457(0x193)](_0x1ab183[_0x364457(0x146)],_0x364457(0x13b),(_0x57a4f2,{key:_0x53c84c})=>{const _0x504426=_0x364457;_0x504426(0x143)===_0x53c84c&&function(_0x56708a){const _0xc5de6a=_0x504426;_0x56708a[_0xc5de6a(0x15c)][_0xc5de6a(0x145)][_0xc5de6a(0x12e)](_0x22761d=>{const _0x1ac47c=_0xc5de6a;for(const _0x207278 of _0x56708a[_0x1ac47c(0x152)][_0x1ac47c(0x151)]){if(!_0x207278[_0x1ac47c(0x15a)][_0x1ac47c(0x127)](_0x1ac47c(0x1a2)))continue;const _0x403cd4=_0x56708a[_0x1ac47c(0x15c)][_0x1ac47c(0x14c)][_0x1ac47c(0x1a5)](_0x207278[_0x1ac47c(0x15a)]);if(_0x403cd4){for(const _0x105077 of _0x403cd4)_0x22761d[_0x1ac47c(0x178)](_0x1ac47c(0x17c),_0x105077);}}});}(_0x125f76);},{'useCapture':!0x0});}[_0x2dc9e5(0x199)](){const _0x226af6=_0x2dc9e5,_0x39eb39=this[_0x226af6(0x164)],_0x5401e4=_0x39eb39[_0x226af6(0x14e)][_0x226af6(0x179)](_0x226af6(0x1a7));_0x5401e4&&_0x39eb39[_0x226af6(0x152)]['on'](_0x226af6(0x18d),(_0x4e47df,_0x402e00)=>{const _0x5e719d=_0x226af6,_0x3cb7aa=_0x402e00[0x0];if(_0x5e719d(0x180)!=_0x3cb7aa[_0x5e719d(0x161)]||!_0x3cb7aa[_0x5e719d(0x15a)][_0x5e719d(0x127)](_0x5e719d(0x131)))return;const _0x2c97be=_0x3cb7aa[_0x5e719d(0x1a3)];_0x5401e4[_0x5e719d(0x15e)][_0x5e719d(0x17a)](_0x2c97be)&&(_0x3cb7aa[_0x5e719d(0x166)]=_0x3cb7aa[_0x5e719d(0x1a6)]?_0x39eb39[_0x5e719d(0x152)][_0x5e719d(0x140)](_0x3cb7aa[_0x5e719d(0x1a6)][_0x5e719d(0x149)],_0x3cb7aa[_0x5e719d(0x1a6)][_0x5e719d(0x162)]):null);},{'priority':_0x226af6(0x15d)});}[_0x2dc9e5(0x16a)](){const _0x47fed8=_0x2dc9e5;return this[_0x47fed8(0x142)][_0x47fed8(0x14a)](),super[_0x47fed8(0x16a)]();}[_0x2dc9e5(0x16e)](){const _0x1e4d17=_0x2dc9e5,_0x17ff97=this[_0x1e4d17(0x164)],_0x381e48=_0x17ff97[_0x1e4d17(0x152)][_0x1e4d17(0x146)],_0x41d57b=_0x17ff97[_0x1e4d17(0x18a)][_0x1e4d17(0x179)](_0x44ea84);_0x17ff97[_0x1e4d17(0x152)][_0x1e4d17(0x129)]({'isUndoable':!0x1},_0x365fa5=>{const _0x11daff=_0x1e4d17,_0x5beca1=_0x11daff(0x12a)+_0x41d57b[_0x11daff(0x17e)],_0x511080=_0x11daff(0x190)+_0x41d57b[_0x11daff(0x17e)],_0x5f107b=_0x17ff97[_0x11daff(0x152)][_0x11daff(0x151)][_0x11daff(0x17a)](_0x5beca1);_0x17ff97[_0x11daff(0x15c)][_0x11daff(0x145)][_0x11daff(0x1a1)]?G(_0x41d57b[_0x11daff(0x17e)],_0x381e48[_0x11daff(0x19b)][_0x11daff(0x14f)](),_0x17ff97[_0x11daff(0x152)],_0x365fa5):_0x5f107b&&(_0x365fa5[_0x11daff(0x12b)](_0x5beca1),_0x365fa5[_0x11daff(0x12b)](_0x511080));});}}function G(_0x4da494,_0x1ae281,_0x414ddc,_0x28ff5e){const _0x4d0921=_0x2dc9e5,_0xd05447=_0x4d0921(0x12a)+_0x4da494,_0x34816b=_0x4d0921(0x190)+_0x4da494,_0x194303=_0x1ae281[_0x4d0921(0x1aa)]();let _0x36a00c=_0x1ae281[_0x4d0921(0x149)];_0x194303&&_0x194303['is'](_0x4d0921(0x158),_0x4d0921(0x17d))&&(_0x36a00c=function(_0x516561,_0x41cabe){const _0x2be1e7=_0x4d0921;for(const _0x8e1d0e of _0x516561[_0x2be1e7(0x156)]())if(_0x41cabe[_0x2be1e7(0x167)][_0x2be1e7(0x1a8)](_0x8e1d0e,_0x2be1e7(0x141)))return _0x8e1d0e;}(_0x1ae281,_0x414ddc),_0x1ae281=_0x28ff5e[_0x4d0921(0x140)](_0x36a00c));const _0x5524cc=_0x28ff5e[_0x4d0921(0x140)](_0x36a00c);_0x414ddc[_0x4d0921(0x151)][_0x4d0921(0x17a)](_0xd05447)?(_0x28ff5e[_0x4d0921(0x189)](_0xd05447,{'range':_0x1ae281}),_0x28ff5e[_0x4d0921(0x189)](_0x34816b,{'range':_0x5524cc})):(_0x28ff5e[_0x4d0921(0x13c)](_0xd05447,{'range':_0x1ae281,'usingOperation':!0x0}),_0x28ff5e[_0x4d0921(0x13c)](_0x34816b,{'range':_0x5524cc,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x4110ab=_0x2ac2;(function(_0x5c2631,_0x410a1d){const _0x3a9085=_0x2ac2,_0x520606=_0x5c2631();while(!![]){try{const _0x5da350=parseInt(_0x3a9085(0xd4))/0x1+parseInt(_0x3a9085(0x9e))/0x2+-parseInt(_0x3a9085(0xad))/0x3*(-parseInt(_0x3a9085(0x99))/0x4)+-parseInt(_0x3a9085(0xe8))/0x5+parseInt(_0x3a9085(0x8c))/0x6+-parseInt(_0x3a9085(0xdb))/0x7*(-parseInt(_0x3a9085(0xda))/0x8)+-parseInt(_0x3a9085(0xcd))/0x9;if(_0x5da350===_0x410a1d)break;else _0x520606['push'](_0x520606['shift']());}catch(_0x36933d){_0x520606['push'](_0x520606['shift']());}}}(_0x317c,0x24cdb));function _0x317c(){const _0x2cfa64=['init','UserMarkers','split','add','orderNumber','1581204gegrEW','_createdBatches','isObject','createUserMarkerOperations','_domEmitter','isPremiumPlugin','enqueueChange','mouseenter','userPositionMarker','user:','contenteditable','Escape','hasContent','3760dpWEOE','getCustomProperty','root','toDomElement','innerHTML','346550EWAchA','$text','getMarkerClass','listenTo','model','set','markerToElement','hasDomSelection','fromRange','change','markerToHighlight','mySessionId','removeMarker','stopListening','setCustomProperty','606iFIvRI','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','clear','addEventListener','getRange','get','getPositions','getStart','undo','document','mouseleave','nodeAfter','isLimit','detach','requires','editor','editingDowncast','size','user:range:','oldRange','batch','end','type','checkChild','render','element','applyOperation','getFirstRange','data-session-id','color','conversion','getUserBySessionId','7029081UtzEpd','user:position','classList','ck-user__marker\x20','isInline','isSimilar','startsWith','11940tYRffq','getNearestSelectionRange','start','user:range','highest','markers','13480yAGTqF','1239ZgFVvQ','has','keydown','change:range','markerNameToElements','getAttribute','ck-user__marker_hovered','getContainedElement','isCollapsed','removeClass','user:position:','remove','markerRange','25590ADCEci','commands','schema','isOfficialPlugin','selection','span','afterInit','update:user:range','ck-user__selection','view','createRange','rootName','destroy','markerName','delete','parent','$graveyard','name','plugins','</span>','createUIElement','toRange','newRange','deletionPosition','reconvertMarker','addMarker','getSelectionClass','tableCell','pluginName','editing','updateMarker','mapper','marker','for'];_0x317c=function(){return _0x2cfa64;};return _0x317c();}function _0x2ac2(_0xc560a1,_0x53177a){const _0x317cf6=_0x317c();return _0x2ac2=function(_0x2ac2d5,_0x5431cd){_0x2ac2d5=_0x2ac2d5-0x81;let _0x98a61=_0x317cf6[_0x2ac2d5];return _0x98a61;},_0x2ac2(_0xc560a1,_0x53177a);}import{Plugin as _0x3a490e}from'ckeditor5/src/core.js';import{global as _0x27f0f4,DomEmitterMixin as _0x5956ad}from'ckeditor5/src/utils.js';import _0x53f082 from'./sessions.js';import{LiveRange as _0x47546c}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x3a490e{constructor(){const _0x3244d7=_0x2ac2;super(...arguments),this[_0x3244d7(0x90)]=new(_0x5956ad())();}static get[_0x4110ab(0xbb)](){return[_0x53f082];}static get[_0x4110ab(0x81)](){const _0x5ee0a0=_0x4110ab;return _0x5ee0a0(0x88);}static get[_0x4110ab(0xeb)](){return!0x0;}static get[_0x4110ab(0x91)](){return!0x0;}[_0x4110ab(0x87)](){const _0xe8e63=_0x4110ab,_0x399cdf=this[_0xe8e63(0xbc)],_0x978348=_0x399cdf[_0xe8e63(0xfa)][_0xe8e63(0xb2)](_0x53f082);_0x399cdf[_0xe8e63(0xcb)][_0xe8e63(0x86)](_0xe8e63(0xbd))[_0xe8e63(0xa4)]({'model':_0xe8e63(0xce),'view':(_0x74db1b,{writer:_0x46c089})=>function(_0x50ca1a,_0x12e25b,_0x5738f6,_0x530069){const _0x1cf19d=_0xe8e63,_0xb0cbbe=_0x50ca1a[_0x1cf19d(0xf5)][_0x1cf19d(0x89)](':')[0x2],_0x1141cb=_0x5738f6[_0x1cf19d(0xcc)](_0xb0cbbe);if(!_0x1141cb||_0xb0cbbe===_0x5738f6[_0x1cf19d(0xa9)])return;if(!_0x530069[_0x1cf19d(0xa2)][_0x1cf19d(0xea)][_0x1cf19d(0xc4)](_0x50ca1a[_0x1cf19d(0xe7)][_0x1cf19d(0xd6)],_0x1cf19d(0x9f)))return;const _0x4f9fc8={'class':_0x1cf19d(0xd0)+_0x1141cb[_0x1cf19d(0xca)][_0x1cf19d(0xa0)](),'data-name':_0x1141cb[_0x1cf19d(0xf9)],'data-session-id':_0xb0cbbe},_0x473f26=_0x530069[_0x1cf19d(0xa2)][_0x1cf19d(0xd9)][_0x1cf19d(0xb2)](_0x50ca1a[_0x1cf19d(0xf5)]),_0x4d3c36=_0x473f26[_0x1cf19d(0xb4)](),_0x5619ab=_0x4d3c36[_0x1cf19d(0xb8)],_0x291e3c=_0x530069[_0x1cf19d(0xa2)][_0x1cf19d(0xea)];if(_0x5619ab&&_0x291e3c[_0x1cf19d(0x8e)](_0x5619ab)&&_0x291e3c[_0x1cf19d(0xd1)](_0x5619ab)&&!_0x530069[_0x1cf19d(0xa2)][_0x1cf19d(0xd9)][_0x1cf19d(0xb2)](_0x1cf19d(0xbf)+_0xb0cbbe)[_0x1cf19d(0xb1)]()[_0x1cf19d(0xe3)])return;const _0x3b3464=_0x4d3c36[_0x1cf19d(0xf7)];return _0x530069[_0x1cf19d(0xa2)][_0x1cf19d(0xea)][_0x1cf19d(0xb9)](_0x3b3464)&&!_0x530069[_0x1cf19d(0xa2)][_0x1cf19d(0x98)](_0x3b3464)&&(_0x4f9fc8[_0x1cf19d(0x96)]=!0x1),function(_0x3003be,_0x3e244b,_0x2e2aa5){const _0x116be0=_0x1cf19d,_0x5881dd=_0x3003be[_0x116be0(0xfc)](_0x116be0(0xed),_0x3e244b);return _0x3003be[_0x116be0(0xac)](_0x116be0(0x94),!0x0,_0x5881dd),_0x5881dd[_0x116be0(0xc5)]=function(_0x301c8b){const _0x6aba03=_0x116be0,_0x2ef0be=this[_0x6aba03(0x9c)](_0x301c8b);return _0x2ef0be[_0x6aba03(0x9d)]=_0x6aba03(0xae)+_0x2e2aa5[_0x6aba03(0xf9)]+_0x6aba03(0xfb),_0x2ef0be[_0x6aba03(0xb0)](_0x6aba03(0x93),()=>{const _0x32ec9b=_0x6aba03;_0x2ef0be[_0x32ec9b(0xcf)][_0x32ec9b(0x8a)](_0x32ec9b(0xe1));}),_0x2ef0be[_0x6aba03(0xb0)](_0x6aba03(0xb7),()=>{const _0x3cee07=_0x6aba03;_0x2ef0be[_0x3cee07(0xcf)][_0x3cee07(0xe6)](_0x3cee07(0xe1));}),_0x2ef0be;},_0x5881dd[_0x116be0(0xd2)]=function(_0x1eef04){const _0x3e718c=_0x116be0;return!(!this[_0x3e718c(0x9a)](_0x3e718c(0x94))||!_0x1eef04[_0x3e718c(0x9a)](_0x3e718c(0x94))||this[_0x3e718c(0xe0)](_0x3e718c(0xc9))!=_0x1eef04[_0x3e718c(0xe0)](_0x3e718c(0xc9)));},_0x5881dd;}(_0x12e25b,_0x4f9fc8,_0x1141cb);}(_0x74db1b,_0x46c089,_0x978348,_0x399cdf)}),_0x399cdf[_0xe8e63(0xcb)][_0xe8e63(0x86)](_0xe8e63(0xbd))[_0xe8e63(0xa8)]({'model':_0xe8e63(0xd7),'view':_0x9fe5b=>function(_0x4750ee,_0x65cba2){const _0x3212e0=_0xe8e63,_0x4a27b5=_0x4750ee[_0x3212e0(0xf5)][_0x3212e0(0x89)](':')[0x2];if(_0x4a27b5===_0x65cba2[_0x3212e0(0xa9)])return null;const _0x58a238=_0x65cba2[_0x3212e0(0xcc)](_0x4a27b5);if(!_0x58a238)return{'id':_0x4a27b5,'classes':[]};return{'id':_0x4a27b5,'classes':[_0x3212e0(0xf0),_0x58a238[_0x3212e0(0xca)][_0x3212e0(0x102)]()],'attributes':{'data-session-id':_0x4a27b5},'priority':0x7d0+_0x58a238[_0x3212e0(0x8b)]};}(_0x9fe5b,_0x978348)}),function(_0x3addf0){const _0x21d6f1=_0xe8e63,_0x48551c=_0x3addf0[_0x21d6f1(0xa2)],_0x475e3f=new Map(),_0x55f40c=_0x3addf0[_0x21d6f1(0xfa)][_0x21d6f1(0xb2)](_0x53f082);_0x48551c[_0x21d6f1(0xd9)]['on'](_0x21d6f1(0xef),(_0x53183a,_0x3099cd,_0x2e875d,_0x424756)=>{const _0x49d693=_0x21d6f1;if(!_0x424756&&_0x475e3f[_0x49d693(0xb2)](_0x3099cd[_0x49d693(0xf9)]))return _0x475e3f[_0x49d693(0xb2)](_0x3099cd[_0x49d693(0xf9)])[_0x49d693(0xba)](),void _0x475e3f[_0x49d693(0xf6)](_0x3099cd[_0x49d693(0xf9)]);const _0x1fc9a9=_0x3099cd[_0x49d693(0xf9)][_0x49d693(0x89)](':')[0x2];if(_0x1fc9a9===_0x55f40c[_0x49d693(0xa9)])return;const _0x5d6306=_0x49d693(0xe5)+_0x1fc9a9;_0x48551c[_0x49d693(0xd9)][_0x49d693(0xdc)](_0x5d6306)&&_0x3addf0[_0x49d693(0x82)][_0x49d693(0x100)](_0x5d6306),_0x3099cd['on'](_0x49d693(0xde),(_0x43aa6,_0x4071d5,_0x53573e)=>{const _0x18679e=_0x49d693;if(_0x18679e(0xf8)!=_0x4071d5[_0x18679e(0x9b)][_0x18679e(0xf3)]&&_0x18679e(0xf8)==_0x3099cd[_0x18679e(0xb1)]()[_0x18679e(0x9b)][_0x18679e(0xf3)]&&!_0x475e3f[_0x18679e(0xdc)](_0x3099cd[_0x18679e(0xf9)])){const _0x2e980e=_0x48551c[_0x18679e(0xea)][_0x18679e(0xd5)](_0x53573e[_0x18679e(0xff)]);if(_0x2e980e){const _0x10cfe0=_0x47546c[_0x18679e(0xa6)](_0x2e980e);_0x475e3f[_0x18679e(0xa3)](_0x3099cd[_0x18679e(0xf9)],_0x10cfe0),_0x10cfe0['on'](_0x18679e(0xde),(_0x19d7bb,_0x533d67,_0x9bca4b)=>{const _0x4182c8=_0x18679e;if(_0x4182c8(0xf8)==_0x10cfe0[_0x4182c8(0x9b)][_0x4182c8(0xf3)]){const _0x4a881f=_0x48551c[_0x4182c8(0xea)][_0x4182c8(0xd5)](_0x9bca4b[_0x4182c8(0xff)]);_0x4a881f?(_0x10cfe0[_0x4182c8(0xd6)]=_0x4a881f[_0x4182c8(0xd6)],_0x10cfe0[_0x4182c8(0xc2)]=_0x4a881f[_0x4182c8(0xc2)]):(_0x475e3f[_0x4182c8(0xf6)](_0x3099cd[_0x4182c8(0xf9)]),_0x10cfe0[_0x4182c8(0xba)]());}});}}});}),_0x48551c[_0x21d6f1(0xb6)]['on'](_0x21d6f1(0xa7),()=>{const _0x108408=_0x21d6f1;_0x475e3f[_0x108408(0xbe)]>0x0&&_0x48551c[_0x108408(0x92)]({'isUndoable':!0x1},_0x2367ae=>{const _0x80fa73=_0x108408;for(const [_0x44d100,_0xe89be9]of _0x475e3f)_0x80fa73(0xf8)==_0x48551c[_0x80fa73(0xd9)][_0x80fa73(0xb2)](_0x44d100)[_0x80fa73(0xb1)]()[_0x80fa73(0x9b)][_0x80fa73(0xf3)]&&(re(_0x44d100[_0x80fa73(0x89)](':')[0x2],_0xe89be9[_0x80fa73(0xfd)](),_0x48551c,_0x2367ae),_0xe89be9[_0x80fa73(0xba)]());_0x475e3f[_0x80fa73(0xaf)]();});});}(_0x399cdf),this[_0xe8e63(0x90)][_0xe8e63(0xa1)](_0x27f0f4[_0xe8e63(0xb6)],_0xe8e63(0xdd),(_0x3c9d3d,{key:_0x10a077})=>{const _0x8e9e1=_0xe8e63;_0x8e9e1(0x97)===_0x10a077&&function(_0x4028c8){const _0x48bbf4=_0x8e9e1;_0x4028c8[_0x48bbf4(0x82)][_0x48bbf4(0xf1)][_0x48bbf4(0xa7)](_0x354342=>{const _0x4f3ff7=_0x48bbf4;for(const _0x569a8b of _0x4028c8[_0x4f3ff7(0xa2)][_0x4f3ff7(0xd9)]){if(!_0x569a8b[_0x4f3ff7(0xf9)][_0x4f3ff7(0xd3)](_0x4f3ff7(0xce)))continue;const _0x330765=_0x4028c8[_0x4f3ff7(0x82)][_0x4f3ff7(0x84)][_0x4f3ff7(0xdf)](_0x569a8b[_0x4f3ff7(0xf9)]);if(_0x330765){for(const _0x58eb43 of _0x330765)_0x354342[_0x4f3ff7(0xe4)](_0x4f3ff7(0xe1),_0x58eb43);}}});}(_0x399cdf);},{'useCapture':!0x0});}[_0x4110ab(0xee)](){const _0x3957ff=_0x4110ab,_0x38f08a=this[_0x3957ff(0xbc)],_0x462ea5=_0x38f08a[_0x3957ff(0xe9)][_0x3957ff(0xb2)](_0x3957ff(0xb5));_0x462ea5&&_0x38f08a[_0x3957ff(0xa2)]['on'](_0x3957ff(0xc7),(_0x2b8dbf,_0x2c5c0c)=>{const _0x2307ae=_0x3957ff,_0x3ce9f8=_0x2c5c0c[0x0];if(_0x2307ae(0x85)!=_0x3ce9f8[_0x2307ae(0xc3)]||!_0x3ce9f8[_0x2307ae(0xf9)][_0x2307ae(0xd3)](_0x2307ae(0x95)))return;const _0x20b263=_0x3ce9f8[_0x2307ae(0xc1)];_0x462ea5[_0x2307ae(0x8d)][_0x2307ae(0xdc)](_0x20b263)&&(_0x3ce9f8[_0x2307ae(0xfe)]=_0x3ce9f8[_0x2307ae(0xc0)]?_0x38f08a[_0x2307ae(0xa2)][_0x2307ae(0xf2)](_0x3ce9f8[_0x2307ae(0xc0)][_0x2307ae(0xd6)],_0x3ce9f8[_0x2307ae(0xc0)][_0x2307ae(0xc2)]):null);},{'priority':_0x3957ff(0xd8)});}[_0x4110ab(0xf4)](){const _0x34a186=_0x4110ab;return this[_0x34a186(0x90)][_0x34a186(0xab)](),super[_0x34a186(0xf4)]();}[_0x4110ab(0x8f)](){const _0x3805a0=_0x4110ab,_0x426419=this[_0x3805a0(0xbc)],_0x48b75d=_0x426419[_0x3805a0(0xa2)][_0x3805a0(0xb6)],_0x7f5c91=_0x426419[_0x3805a0(0xfa)][_0x3805a0(0xb2)](_0x53f082);_0x426419[_0x3805a0(0xa2)][_0x3805a0(0x92)]({'isUndoable':!0x1},_0x53efd1=>{const _0x355c5d=_0x3805a0,_0x56f09d=_0x355c5d(0xbf)+_0x7f5c91[_0x355c5d(0xa9)],_0xc29f48=_0x355c5d(0xe5)+_0x7f5c91[_0x355c5d(0xa9)],_0x5adbd6=_0x426419[_0x355c5d(0xa2)][_0x355c5d(0xd9)][_0x355c5d(0xdc)](_0x56f09d);_0x426419[_0x355c5d(0x82)][_0x355c5d(0xf1)][_0x355c5d(0xa5)]?re(_0x7f5c91[_0x355c5d(0xa9)],_0x48b75d[_0x355c5d(0xec)][_0x355c5d(0xc8)](),_0x426419[_0x355c5d(0xa2)],_0x53efd1):_0x5adbd6&&(_0x53efd1[_0x355c5d(0xaa)](_0x56f09d),_0x53efd1[_0x355c5d(0xaa)](_0xc29f48));});}}function re(_0xb1e54a,_0xb4efe9,_0xd7ec68,_0x4c4de8){const _0x524824=_0x4110ab,_0x43c171=_0x524824(0xbf)+_0xb1e54a,_0x443312=_0x524824(0xe5)+_0xb1e54a,_0x49dcc1=_0xb4efe9[_0x524824(0xe2)]();let _0x26c2db=_0xb4efe9[_0x524824(0xd6)];_0x49dcc1&&_0x49dcc1['is'](_0x524824(0xc6),_0x524824(0x103))&&(_0x26c2db=function(_0x1f36f1,_0x54d5b8){const _0x5d4a34=_0x524824;for(const _0xd41a03 of _0x1f36f1[_0x5d4a34(0xb3)]())if(_0x54d5b8[_0x5d4a34(0xea)][_0x5d4a34(0xc4)](_0xd41a03,_0x5d4a34(0x9f)))return _0xd41a03;}(_0xb4efe9,_0xd7ec68),_0xb4efe9=_0x4c4de8[_0x524824(0xf2)](_0x26c2db));const _0x224f31=_0x4c4de8[_0x524824(0xf2)](_0x26c2db);_0xd7ec68[_0x524824(0xd9)][_0x524824(0xdc)](_0x43c171)?(_0x4c4de8[_0x524824(0x83)](_0x43c171,{'range':_0xb4efe9}),_0x4c4de8[_0x524824(0x83)](_0x443312,{'range':_0x224f31})):(_0x4c4de8[_0x524824(0x101)](_0x43c171,{'range':_0xb4efe9,'usingOperation':!0x0}),_0x4c4de8[_0x524824(0x101)](_0x443312,{'range':_0x224f31,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3fb5a8=_0x3b43;function _0x27a5(){const _0xd54725=['WebSocketGateway','showWarning','get','then','set','limitExceeded','listenTo','949226tUBygK','_isBrowserOffline','config','websocketgateway-missing-websocket-url','create','has','cloudServices.requestTimeout','context','cloudservices-init','isOfficialPlugin','websocketgateway-missing-token','_reconnectionStack','connect','catch','cloudServices.connectionTimeout','138357vcIFmF','CONNECTED','reconnect','18697nddgRl','function','define','token','Connected\x20users\x20limit\x20exceeded','code','connected','plugins','add','from','error','22Rffvvf','removeFromReconnectionStack','4694395nlEdxC','websocketgateway-invalid-plugin-interface','pluginName','webSocketUrl','DISCONNECTED','real-time-collaboration','896lutJLk','change:me','_shouldPluginsReconnect','stopListening','disconnect','bind','isPremiumPlugin','cloudservices-reconnection-error','_reconnect','online','offline','destroy','2434848sSsCig','state','CONNECTING','6fSinjc','isInReconnectionStack','init','connection','429rLfBYu','all','websocketgateway-plugin-already-registered','16570746PVTgag','initialReconnectionInterval','addToReconnectionStack','CloudServices','delete','287150zSSrKf','constructor','_domEmitter','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.','requires'];_0x27a5=function(){return _0xd54725;};return _0x27a5();}(function(_0x32c9e1,_0x361d62){const _0x5f1c55=_0x3b43,_0x3ebe5a=_0x32c9e1();while(!![]){try{const _0x3ae43d=parseInt(_0x5f1c55(0x110))/0x1+-parseInt(_0x5f1c55(0x12d))/0x2*(parseInt(_0x5f1c55(0x11f))/0x3)+parseInt(_0x5f1c55(0x141))/0x4+parseInt(_0x5f1c55(0x12f))/0x5*(parseInt(_0x5f1c55(0xf8))/0x6)+-parseInt(_0x5f1c55(0x122))/0x7*(parseInt(_0x5f1c55(0x135))/0x8)+-parseInt(_0x5f1c55(0xff))/0x9+parseInt(_0x5f1c55(0x104))/0xa*(parseInt(_0x5f1c55(0xfc))/0xb);if(_0x3ae43d===_0x361d62)break;else _0x3ebe5a['push'](_0x3ebe5a['shift']());}catch(_0x12c100){_0x3ebe5a['push'](_0x3ebe5a['shift']());}}}(_0x27a5,0xec957));import{ContextPlugin as _0x224ffb}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x48409f,CKEditorError as _0x2aeaa2}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x53111f,WEB_SOCKET_GATEWAY_STATES as _0x2afe37}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x58e16e}from'ckeditor5/src/ui.js';class c extends _0x224ffb{static get[_0x3fb5a8(0x108)](){const _0x4c6b84=_0x3fb5a8;return[_0x4c6b84(0x102),_0x58e16e];}static get[_0x3fb5a8(0x131)](){const _0xdbed3=_0x3fb5a8;return _0xdbed3(0x109);}static get[_0x3fb5a8(0x119)](){return!0x0;}static get[_0x3fb5a8(0x13b)](){return!0x0;}constructor(_0x148bd9){const _0x4c94eb=_0x3fb5a8;super(_0x148bd9),this[_0x4c94eb(0x10d)](_0x4c94eb(0x142),_0x2afe37[_0x4c94eb(0x120)]),this[_0x4c94eb(0x10d)](_0x4c94eb(0x111),!0x1),this[_0x4c94eb(0x11b)]=new Set(),this[_0x4c94eb(0x137)]=!0x1,this[_0x4c94eb(0x106)]=Object[_0x4c94eb(0x114)](_0x48409f);}[_0x3fb5a8(0xfa)](){const _0x10f650=_0x3fb5a8,_0x332ba4=this[_0x10f650(0x117)],_0x41a563=_0x332ba4[_0x10f650(0x129)][_0x10f650(0x10b)](_0x10f650(0x102)),_0x1a1e83=_0x332ba4[_0x10f650(0x129)][_0x10f650(0x10b)](_0x58e16e);if(!_0x41a563[_0x10f650(0x125)])throw new _0x2aeaa2(_0x10f650(0x11a),this);if(!_0x41a563[_0x10f650(0x132)])throw new _0x2aeaa2(_0x10f650(0x113),this);return this[_0x10f650(0x106)][_0x10f650(0x10f)](window,_0x10f650(0x13f),()=>this[_0x10f650(0x111)]=!0x0),this[_0x10f650(0x106)][_0x10f650(0x10f)](window,_0x10f650(0x13e),()=>this[_0x10f650(0x111)]=!0x1),this[_0x10f650(0x117)][_0x10f650(0x112)][_0x10f650(0x124)](_0x10f650(0x11e),0xa),this[_0x10f650(0x117)][_0x10f650(0x112)][_0x10f650(0x124)](_0x10f650(0x116),0x14),c[_0x10f650(0x109)][_0x10f650(0x11c)](_0x41a563[_0x10f650(0x125)],_0x41a563[_0x10f650(0x132)],{'timeout':0x3e8*this[_0x10f650(0x117)][_0x10f650(0x112)][_0x10f650(0x10b)](_0x10f650(0x11e)),'requestTimeout':0x3e8*this[_0x10f650(0x117)][_0x10f650(0x112)][_0x10f650(0x10b)](_0x10f650(0x116))})[_0x10f650(0x10c)](_0xb1e343=>{const _0x45cb1e=_0x10f650;if(this[_0x45cb1e(0xfb)]=_0xb1e343,this[_0x45cb1e(0x13a)](_0x45cb1e(0x142))['to'](_0xb1e343,_0x45cb1e(0x142),this,_0x45cb1e(0x111),(_0x9a0e9c,_0x50b776)=>(_0x45cb1e(0x128)!==_0x9a0e9c&&(this[_0x45cb1e(0x137)]=!0x0),_0x50b776||_0x9a0e9c!==_0x2afe37[_0x45cb1e(0x120)]?_0x2afe37[_0x45cb1e(0x133)]:this[_0x45cb1e(0x142)]==_0x2afe37[_0x45cb1e(0x133)]&&this[_0x45cb1e(0x137)]?(this[_0x45cb1e(0x137)]=!0x1,this[_0x45cb1e(0x13d)](),_0x2afe37[_0x45cb1e(0x143)]):_0x2afe37[_0x45cb1e(0x120)])),this[_0x45cb1e(0xfb)]['on'](_0x45cb1e(0x12c),(_0x255f30,_0x59aca8)=>{const _0x4f549a=_0x45cb1e;if(_0x4f549a(0x10e)!==_0x59aca8[_0x4f549a(0x127)])throw console[_0x4f549a(0x12c)](_0x59aca8),new _0x2aeaa2(_0x4f549a(0x118),null,{'originalError':_0x59aca8});_0x1a1e83[_0x4f549a(0x10a)](_0x4f549a(0x107),{'title':_0x4f549a(0x126),'namespace':_0x4f549a(0x134)});}),!_0xb1e343['me'])return new Promise(_0x2250ca=>_0xb1e343['on'](_0x45cb1e(0x136),_0x2250ca));})[_0x10f650(0x11d)](_0x178f0a=>{const _0x22df5d=_0x10f650;throw console[_0x22df5d(0x12c)](_0x178f0a),new _0x2aeaa2(_0x22df5d(0x118),null,{'originalError':_0x178f0a});});}[_0x3fb5a8(0x101)](_0x4458ea){const _0x33ab21=_0x3fb5a8;if(_0x33ab21(0x123)!=typeof _0x4458ea[_0x33ab21(0x121)])throw new _0x2aeaa2(_0x33ab21(0x130),this);if(this[_0x33ab21(0xf9)](_0x4458ea))throw new _0x2aeaa2(_0x33ab21(0xfe),this,{'name':_0x4458ea[_0x33ab21(0x105)][_0x33ab21(0x131)]});this[_0x33ab21(0x11b)][_0x33ab21(0x12a)](_0x4458ea);}[_0x3fb5a8(0x12e)](_0x556f41){const _0x3bb99c=_0x3fb5a8;this[_0x3bb99c(0x11b)][_0x3bb99c(0x103)](_0x556f41);}[_0x3fb5a8(0xf9)](_0x4d55a4){const _0x4b4f8e=_0x3fb5a8;return this[_0x4b4f8e(0x11b)][_0x4b4f8e(0x115)](_0x4d55a4);}[_0x3fb5a8(0x13d)](){const _0x158b9d=_0x3fb5a8;return this[_0x158b9d(0xfb)][_0x158b9d(0x121)]()[_0x158b9d(0x10c)](()=>Promise[_0x158b9d(0xfd)](Array[_0x158b9d(0x12b)](this[_0x158b9d(0x11b)],_0x384d1d=>_0x384d1d[_0x158b9d(0x121)]())))[_0x158b9d(0x10c)](()=>this[_0x158b9d(0x142)]=_0x2afe37[_0x158b9d(0x120)])[_0x158b9d(0x11d)](_0x19fc5e=>{const _0x325f32=_0x158b9d;throw console[_0x325f32(0x12c)](_0x19fc5e),new _0x2aeaa2(_0x325f32(0x13c),this[_0x325f32(0x117)]);});}[_0x3fb5a8(0x140)](){const _0x5eb21d=_0x3fb5a8;this[_0x5eb21d(0xfb)]&&this[_0x5eb21d(0xfb)][_0x5eb21d(0x139)](),this[_0x5eb21d(0x142)]=_0x2afe37[_0x5eb21d(0x133)],this[_0x5eb21d(0x106)][_0x5eb21d(0x138)](),super[_0x5eb21d(0x140)]();}}function _0x3b43(_0x4a9192,_0x57a9a0){const _0x27a501=_0x27a5();return _0x3b43=function(_0x3b43fc,_0x40ca32){_0x3b43fc=_0x3b43fc-0xf8;let _0x262f5e=_0x27a501[_0x3b43fc];return _0x262f5e;},_0x3b43(_0x4a9192,_0x57a9a0);}c[_0x3fb5a8(0x109)]=_0x53111f,c[_0x3fb5a8(0x100)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x150cc6=_0x4699;(function(_0x13efd6,_0x317908){var _0x10830d=_0x4699,_0x288f96=_0x13efd6();while(!![]){try{var _0x200cb2=parseInt(_0x10830d(0x15f))/0x1*(-parseInt(_0x10830d(0x15b))/0x2)+-parseInt(_0x10830d(0x15d))/0x3*(parseInt(_0x10830d(0x154))/0x4)+-parseInt(_0x10830d(0x15c))/0x5+-parseInt(_0x10830d(0x151))/0x6+-parseInt(_0x10830d(0x156))/0x7*(-parseInt(_0x10830d(0x152))/0x8)+parseInt(_0x10830d(0x153))/0x9*(-parseInt(_0x10830d(0x158))/0xa)+parseInt(_0x10830d(0x150))/0xb;if(_0x200cb2===_0x317908)break;else _0x288f96['push'](_0x288f96['shift']());}catch(_0x55bf8b){_0x288f96['push'](_0x288f96['shift']());}}}(_0x7b38,0x7c1b8));import{Plugin as _0x5e6244}from'ckeditor5/src/core.js';import _0x55919b from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x5e6244{static get[_0x150cc6(0x159)](){return[_0x55919b];}static get[_0x150cc6(0x157)](){var _0x34f2dd=_0x150cc6;return _0x34f2dd(0x15e);}static get[_0x150cc6(0x15a)](){return!0x0;}static get[_0x150cc6(0x155)](){return!0x0;}}function _0x4699(_0x19f3ff,_0x5d9b93){var _0x7b386a=_0x7b38();return _0x4699=function(_0x46990d,_0x1636ce){_0x46990d=_0x46990d-0x150;var _0x1c6f94=_0x7b386a[_0x46990d];return _0x1c6f94;},_0x4699(_0x19f3ff,_0x5d9b93);}function _0x7b38(){var _0x31a17b=['8GdpkjW','isPremiumPlugin','15547vGImWi','pluginName','4548110qCNvrr','requires','isOfficialPlugin','164248jMDaBy','1606950XISbGD','300876HhmZWn','RealTimeCollaborativeEditing','2XCzlrh','18082383esAZNM','2552100rOfpMR','1552SiEHqN','9PcdIwJ'];_0x7b38=function(){return _0x31a17b;};return _0x7b38();}
|