@ckeditor/ckeditor5-real-time-collaboration 44.3.0-alpha.1 → 44.3.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5e695e=_0x36a5;(function(_0x413bf4,_0x5b27d0){const _0x1fddb1=_0x36a5,_0x265ba4=_0x413bf4();while(!![]){try{const _0x7c2d59=-parseInt(_0x1fddb1(0x216))/0x1*(-parseInt(_0x1fddb1(0x22c))/0x2)+parseInt(_0x1fddb1(0x23b))/0x3+parseInt(_0x1fddb1(0x20f))/0x4*(-parseInt(_0x1fddb1(0x213))/0x5)+parseInt(_0x1fddb1(0x23c))/0x6+-parseInt(_0x1fddb1(0x226))/0x7+parseInt(_0x1fddb1(0x1fb))/0x8+-parseInt(_0x1fddb1(0x21a))/0x9*(parseInt(_0x1fddb1(0x21c))/0xa);if(_0x7c2d59===_0x5b27d0)break;else _0x265ba4['push'](_0x265ba4['shift']());}catch(_0x282637){_0x265ba4['push'](_0x265ba4['shift']());}}}(_0x5715,0x36ce0));function _0x5715(){const _0x51c34b=['init','from','size','_setUpService','getCommentThreads','assign','deletedAt','resolveCommentThread','commentThreadId','unregister','authorId','permissions','off','remove','reconnect','keys','delete','getMany','addComment','4NHwvpg','isOfficialPlugin','cloudservicescommentsadapter-disconnect-not-exist','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','125315ddKsPy','commentThreadAdded','setPermissions','1qEJTbV','userId','reopenCommentThread','getCommentThread','774414IAKOls','cloud-services-internal-error:\x20Not\x20connected.','110BHRLTT','addUser','content','set','addToReconnectionStack','commentThreadResolved','mySessionId','catch','connect','startsWith','486178Ofmfiq','isPremiumPlugin','resolvedBy','Permissions','commentThreadUpdated','sessionAdd:','795044JGNECv','cloudservicescommentsadapter-connect-already-connected','commentThreadReopened','update','listenTo','message','updateCommentThread','reopen','cloud-services-internal-error:\x20Request\x20timeout.','requires','CommentsRepository','CloudServicesCommentsAdapter','resolve','commentAdded','commentThreadRemoved','139461jMLVkg','2298108BNVVQE','_connectService','removeComment','context','comments','_terminateService','_getService','getUser','_fetchMissingUsersForThreads','resolvedAt','register','get','destroy','commentUpdated','collaboration.channelId','cloudservicescommentsadapter-service-not-exist','commentId','adapter','getComment','CommentsService','createdAt','has','disconnect','404','commentRemoved','addCommentThread','plugins','config','removeCommentThread','updateComment','attributes','_services','map','getConnectedSessions','pluginName','code','add','3507808MMEmIO'];_0x5715=function(){return _0x51c34b;};return _0x5715();}import{Context as _0x59413e,ContextPlugin as _0x42bf62}from'ckeditor5/src/core.js';import{CKEditorError as _0x35c330}from'ckeditor5/src/utils.js';import{Users as _0x5af661}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x321ebe,User as _0x4a43fd}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x36a5(_0x14eb37,_0xd11b70){const _0x5715d7=_0x5715();return _0x36a5=function(_0x36a595,_0xde75a4){_0x36a595=_0x36a595-0x1e9;let _0x354b46=_0x5715d7[_0x36a595];return _0x354b46;},_0x36a5(_0x14eb37,_0xd11b70);}import _0x5c9d37 from'../realtimecollaborativeediting/websocketgateway.js';import _0x2db870 from'../realtimecollaborativeediting/sessions.js';class a extends _0x42bf62{static get[_0x5e695e(0x235)](){const _0x2f86b7=_0x5e695e;return[_0x5c9d37,_0x2f86b7(0x236),_0x2db870,_0x5af661];}static get[_0x5e695e(0x1f8)](){const _0x30edaf=_0x5e695e;return _0x30edaf(0x237);}static get[_0x5e695e(0x210)](){return!0x0;}static get[_0x5e695e(0x227)](){return!0x0;}constructor(_0x1905c8){const _0x138309=_0x5e695e;super(_0x1905c8),this[_0x138309(0x1f5)]=new Map();}async[_0x5e695e(0x1fc)](){const _0x7bf9f4=_0x5e695e,_0x2988ce=this[_0x7bf9f4(0x23f)],_0x1f241a=_0x2988ce[_0x7bf9f4(0x1f0)][_0x7bf9f4(0x247)](_0x7bf9f4(0x236));if(_0x2988ce[_0x7bf9f4(0x1f0)][_0x7bf9f4(0x247)](_0x5c9d37)[_0x7bf9f4(0x220)](this),_0x1f241a[_0x7bf9f4(0x24d)]={'addCommentThread':async({channelId:_0x4a6202,threadId:_0x34073a,comments:_0x9fc191,resolvedAt:_0x40558f,resolvedBy:_0x2a94f3,context:_0x2ad12e,attributes:_0xb76ef})=>{const _0x533123=_0x7bf9f4,_0x462de9=await this[_0x533123(0x242)](_0x4a6202)[_0x533123(0x1ef)]({'commentThreadId':_0x34073a,'comments':_0x9fc191[_0x533123(0x1f6)](_0x191dc8=>function(_0x1f7496,_0x5cb13c,_0xa45856){const _0x4ff12d=_0x533123;return{'commentThreadId':_0xa45856,'commentId':_0x1f7496[_0x4ff12d(0x24c)],'userId':_0x1f7496[_0x4ff12d(0x206)],'content':_0x1f7496[_0x4ff12d(0x21e)],'documentId':_0x5cb13c,'createdAt':_0x1f7496[_0x4ff12d(0x1ea)],'attributes':_0x1f7496[_0x4ff12d(0x1f4)]||{}};}(_0x191dc8,_0x4a6202,_0x34073a)),'resolvedAt':_0x40558f,'resolvedBy':_0x2a94f3,'context':_0x2ad12e,'attributes':_0xb76ef})[_0x533123(0x223)](R);return{'threadId':_0x462de9[_0x533123(0x204)],'comments':_0x462de9[_0x533123(0x240)]};},'getCommentThread':async({channelId:_0x180d0b,threadId:_0x4d22e9})=>{const _0x511d22=_0x7bf9f4,_0x5ed1fe=await this[_0x511d22(0x242)](_0x180d0b)[_0x511d22(0x219)](_0x4d22e9)[_0x511d22(0x223)](R);return _0x5ed1fe[_0x511d22(0x202)]?null:(await this[_0x511d22(0x244)]([_0x5ed1fe]),{'threadId':_0x5ed1fe[_0x511d22(0x204)],'comments':_0x5ed1fe[_0x511d22(0x240)][_0x511d22(0x1f6)](S),'context':_0x5ed1fe[_0x511d22(0x23f)],'resolvedAt':_0x5ed1fe[_0x511d22(0x245)],'resolvedBy':_0x5ed1fe[_0x511d22(0x228)],'attributes':_0x5ed1fe[_0x511d22(0x1f4)]||{}});},'updateCommentThread':async({channelId:_0x4ad669,threadId:_0x553d63,context:_0x4ae557,unlinkedAt:_0x71824,attributes:_0x57d11d})=>this[_0x7bf9f4(0x242)](_0x4ad669)[_0x7bf9f4(0x232)]({'commentThreadId':_0x553d63,'context':_0x4ae557,'attributes':_0x57d11d,'unlinkedAt':_0x71824})[_0x7bf9f4(0x223)](B)[_0x7bf9f4(0x223)](R),'resolveCommentThread':async({channelId:_0x4bbcc7,threadId:_0x1f2f6d})=>{const _0x3f217d=_0x7bf9f4,_0x118e9b=await this[_0x3f217d(0x242)](_0x4bbcc7)[_0x3f217d(0x203)](_0x1f2f6d)[_0x3f217d(0x223)](B)[_0x3f217d(0x223)](R);return{'threadId':_0x118e9b[_0x3f217d(0x204)],'resolvedAt':_0x118e9b[_0x3f217d(0x245)],'resolvedBy':_0x118e9b[_0x3f217d(0x228)]};},'reopenCommentThread':async({channelId:_0x232b9c,threadId:_0x9a8cb9})=>this[_0x7bf9f4(0x242)](_0x232b9c)[_0x7bf9f4(0x218)](_0x9a8cb9)[_0x7bf9f4(0x223)](B)[_0x7bf9f4(0x223)](R),'removeCommentThread':({channelId:_0x2b4209,threadId:_0x457816})=>this[_0x7bf9f4(0x242)](_0x2b4209)[_0x7bf9f4(0x1f2)](_0x457816)[_0x7bf9f4(0x223)](B)[_0x7bf9f4(0x223)](R),'addComment':({channelId:_0x299eae,threadId:_0x339523,commentId:_0x424a77,content:_0x2868e5,attributes:_0x18b7f0})=>this[_0x7bf9f4(0x242)](_0x299eae)[_0x7bf9f4(0x20e)](_0x339523,_0x424a77,_0x2868e5,_0x18b7f0)[_0x7bf9f4(0x223)](R),'updateComment':({channelId:_0x327dab,threadId:_0x1dbeaa,commentId:_0xfdef86,content:_0x536d15,attributes:_0x3ac80b})=>this[_0x7bf9f4(0x242)](_0x327dab)[_0x7bf9f4(0x1f3)](_0x1dbeaa,_0xfdef86,_0x536d15,_0x3ac80b)[_0x7bf9f4(0x223)](B)[_0x7bf9f4(0x223)](R),'removeComment':({channelId:_0x4c33ee,threadId:_0x900d48,commentId:_0x15a647})=>this[_0x7bf9f4(0x242)](_0x4c33ee)[_0x7bf9f4(0x23e)](_0x900d48,_0x15a647)[_0x7bf9f4(0x223)](B)[_0x7bf9f4(0x223)](R)},_0x2988ce instanceof _0x59413e){const _0x50c251=_0x2988ce[_0x7bf9f4(0x1f1)][_0x7bf9f4(0x247)](_0x7bf9f4(0x24a)),_0x5f3c9c=_0x2988ce[_0x7bf9f4(0x1f0)][_0x7bf9f4(0x247)](_0x2db870);await this[_0x7bf9f4(0x1ff)](_0x50c251);const _0x591ef8=await this[_0x7bf9f4(0x1f5)][_0x7bf9f4(0x247)](_0x50c251)[_0x7bf9f4(0x1f7)]();this[_0x7bf9f4(0x230)](_0x5f3c9c,_0x7bf9f4(0x22b)+_0x50c251,(_0x23f37b,{session:_0xa9903})=>{const _0x2c2e0b=_0x7bf9f4;_0xa9903['id']===_0x5f3c9c[_0x2c2e0b(0x222)]&&(_0x23f37b[_0x2c2e0b(0x208)](),this[_0x2c2e0b(0x23f)][_0x2c2e0b(0x1f0)][_0x2c2e0b(0x247)](_0x2c2e0b(0x229))[_0x2c2e0b(0x215)](_0xa9903[_0x2c2e0b(0x207)],_0x50c251));}),_0x5f3c9c[_0x7bf9f4(0x246)](_0x50c251,_0x591ef8);}}async[_0x5e695e(0x1ff)](_0x3950a6){const _0x15d649=_0x5e695e;if(this[_0x15d649(0x1f5)][_0x15d649(0x1eb)](_0x3950a6))throw new _0x35c330(_0x15d649(0x22d),null,{'channelId':_0x3950a6});const _0x41258e=this[_0x15d649(0x23f)][_0x15d649(0x1f0)][_0x15d649(0x247)](_0x15d649(0x236)),_0x4d3490=new a[(_0x15d649(0x1e9))](_0x3950a6);this[_0x15d649(0x1f5)][_0x15d649(0x21f)](_0x3950a6,_0x4d3490),this[_0x15d649(0x230)](_0x4d3490,_0x15d649(0x214),(_0x383406,_0x491678)=>{const _0x41a66c=_0x15d649,{commentThreadId:_0x4b0f74,documentId:_0x5e652a,context:_0x59f800,attributes:_0x445d48,resolvedAt:_0x5c505d,resolvedBy:_0x4888f9,comments:_0x301f24}=_0x491678;_0x41258e[_0x41a66c(0x219)](_0x4b0f74)||_0x41258e[_0x41a66c(0x1ef)]({'threadId':_0x4b0f74,'channelId':_0x5e652a,'comments':_0x301f24?_0x301f24[_0x41a66c(0x1f6)](S):[],'context':_0x59f800,'attributes':_0x445d48,'resolvedAt':_0x5c505d,'resolvedBy':_0x4888f9,'isFromAdapter':!0x0});}),this[_0x15d649(0x230)](_0x4d3490,_0x15d649(0x22a),(_0x35e53f,{commentThreadId:_0x1e2854,documentId:_0x56526b,context:_0x2739f1,unlinkedAt:_0x1fa682,attributes:_0x256915})=>{const _0x440a96=_0x15d649;_0x41258e[_0x440a96(0x219)](_0x1e2854)&&_0x41258e[_0x440a96(0x232)]({'threadId':_0x1e2854,'channelId':_0x56526b,'context':_0x2739f1,'unlinkedAt':_0x1fa682,'attributes':_0x256915,'isFromAdapter':!0x0});}),this[_0x15d649(0x230)](_0x4d3490,_0x15d649(0x221),(_0x284fe4,{commentThreadId:_0x5eb6df,resolvedBy:_0x3094e2,resolvedAt:_0x2cfad9})=>{const _0x3fb958=_0x15d649,_0x381a81=_0x41258e[_0x3fb958(0x219)](_0x5eb6df);_0x381a81&&_0x381a81[_0x3fb958(0x238)]({'resolvedBy':_0x3094e2,'resolvedAt':_0x2cfad9,'isFromAdapter':!0x0});}),this[_0x15d649(0x230)](_0x4d3490,_0x15d649(0x22e),(_0x3c1a4e,{commentThreadId:_0x119312})=>{const _0x656ed8=_0x15d649,_0x574770=_0x41258e[_0x656ed8(0x219)](_0x119312);_0x574770&&_0x574770[_0x656ed8(0x233)]({'isFromAdapter':!0x0});}),this[_0x15d649(0x230)](_0x4d3490,_0x15d649(0x23a),(_0x4755ea,{commentThreadId:_0x515db0})=>{const _0xa83294=_0x15d649,_0x51ce4b=_0x41258e[_0xa83294(0x219)](_0x515db0);_0x51ce4b&&_0x51ce4b[_0xa83294(0x209)]({'isFromAdapter':!0x0});}),this[_0x15d649(0x230)](_0x4d3490,_0x15d649(0x239),(_0x942393,_0x52a7c8)=>{const _0x2da6cb=_0x15d649,_0x10d518=_0x52a7c8[_0x2da6cb(0x204)],_0x5c10b3=_0x41258e[_0x2da6cb(0x219)](_0x10d518);_0x5c10b3&&_0x5c10b3[_0x2da6cb(0x20e)]({...S(_0x52a7c8),'isFromAdapter':!0x0});}),this[_0x15d649(0x230)](_0x4d3490,_0x15d649(0x249),(_0x48a47e,{commentThreadId:_0x3041fa,commentId:_0x40cd70,content:_0x2b2590,attributes:_0x4e4855})=>{const _0x4ef3db=_0x15d649,_0x5918de=_0x41258e[_0x4ef3db(0x219)](_0x3041fa);if(_0x5918de){const _0x5bbb65=_0x5918de[_0x4ef3db(0x24e)](_0x40cd70);_0x5bbb65&&_0x5bbb65[_0x4ef3db(0x22f)]({'content':_0x2b2590,'attributes':_0x4e4855,'isFromAdapter':!0x0});}}),this[_0x15d649(0x230)](_0x4d3490,_0x15d649(0x1ee),(_0x1d9236,{commentThreadId:_0x3b3b15,commentId:_0x5d7ec8})=>{const _0x18b824=_0x15d649,_0x53f7c2=_0x41258e[_0x18b824(0x219)](_0x3b3b15);if(_0x53f7c2){const _0x7a5b9b=_0x53f7c2[_0x18b824(0x24e)](_0x5d7ec8);_0x7a5b9b&&_0x7a5b9b[_0x18b824(0x209)]({'isFromAdapter':!0x0});}}),await this[_0x15d649(0x23d)](_0x3950a6);}[_0x5e695e(0x248)](){const _0xc732a7=_0x5e695e;if(this[_0xc732a7(0x23f)]instanceof _0x59413e){const _0x591de4=this[_0xc732a7(0x23f)][_0xc732a7(0x1f1)][_0xc732a7(0x247)](_0xc732a7(0x24a));this[_0xc732a7(0x241)](_0x591de4);}}[_0x5e695e(0x241)](_0x5aa68d){const _0x4700be=_0x5e695e;if(!this[_0x4700be(0x1f5)][_0x4700be(0x1eb)](_0x5aa68d))throw new _0x35c330(_0x4700be(0x211),null,{'channelId':_0x5aa68d});this[_0x4700be(0x242)](_0x5aa68d)[_0x4700be(0x1ec)](),this[_0x4700be(0x1f5)][_0x4700be(0x20c)](_0x5aa68d);}async[_0x5e695e(0x20a)](){const _0x5c8857=_0x5e695e;for(const _0x21ba7a of this[_0x5c8857(0x1f5)][_0x5c8857(0x20b)]())await this[_0x5c8857(0x23d)](_0x21ba7a);if(this[_0x5c8857(0x23f)]instanceof _0x59413e){const _0x52750b=this[_0x5c8857(0x23f)][_0x5c8857(0x1f1)][_0x5c8857(0x247)](_0x5c8857(0x24a)),_0xf14e07=this[_0x5c8857(0x23f)][_0x5c8857(0x1f0)][_0x5c8857(0x247)](_0x2db870);_0xf14e07[_0x5c8857(0x205)](_0x52750b);const _0x553b06=await this[_0x5c8857(0x1f5)][_0x5c8857(0x247)](_0x52750b)[_0x5c8857(0x1f7)]();_0xf14e07[_0x5c8857(0x246)](_0x52750b,_0x553b06);}}async[_0x5e695e(0x23d)](_0x4be094){const _0x500bd8=_0x5e695e,{connection:_0x52def2}=this[_0x500bd8(0x23f)][_0x500bd8(0x1f0)][_0x500bd8(0x247)](_0x5c9d37),_0x2bd9a7=this[_0x500bd8(0x23f)][_0x500bd8(0x1f0)][_0x500bd8(0x247)](_0x500bd8(0x236)),_0x113761=this[_0x500bd8(0x1f5)][_0x500bd8(0x247)](_0x4be094),_0x5e816f=await _0x113761[_0x500bd8(0x224)](_0x52def2);await this[_0x500bd8(0x244)](_0x5e816f);const _0x3d309f=new Set(Array[_0x500bd8(0x1fd)](_0x2bd9a7[_0x500bd8(0x200)]({'channelId':_0x4be094}),_0x254c58=>_0x254c58['id']));for(const _0x15bdb3 of _0x5e816f)_0x15bdb3[_0x500bd8(0x202)]||_0x3d309f[_0x500bd8(0x20c)](_0x15bdb3[_0x500bd8(0x204)]);for(const _0x10ae76 of _0x3d309f)_0x2bd9a7[_0x500bd8(0x219)](_0x10ae76)[_0x500bd8(0x209)]({'isFromAdapter':!0x0});for(const _0x57233f of _0x5e816f){let _0x1cb9cb=_0x2bd9a7[_0x500bd8(0x219)](_0x57233f[_0x500bd8(0x204)]);const {commentThreadId:_0x278140,context:_0x58da73,attributes:_0x2e8683,resolvedBy:_0x50c0ae,resolvedAt:_0x3e38ea,unlinkedAt:_0x248c61,deletedAt:_0x324592}=_0x57233f;if(_0x324592)continue;_0x1cb9cb||(_0x1cb9cb=_0x2bd9a7[_0x500bd8(0x1ef)]({'channelId':_0x4be094,'threadId':_0x278140,'context':_0x58da73,'attributes':_0x2e8683||{},'resolvedBy':_0x50c0ae,'resolvedAt':_0x3e38ea,'unlinkedAt':_0x248c61,'isFromAdapter':!0x0}));const _0x58e28b=new Set(Array[_0x500bd8(0x1fd)](_0x1cb9cb[_0x500bd8(0x240)],_0x4f0d80=>_0x4f0d80['id']));for(const _0x61c46d of _0x57233f[_0x500bd8(0x240)])_0x58e28b[_0x500bd8(0x20c)](_0x61c46d[_0x500bd8(0x24c)]);for(const _0x4057c6 of _0x58e28b)_0x1cb9cb[_0x500bd8(0x24e)](_0x4057c6)[_0x500bd8(0x209)]({'isFromAdapter':!0x0});for(const _0x3b375c of _0x57233f[_0x500bd8(0x240)]){const _0x2a2edf=_0x1cb9cb[_0x500bd8(0x24e)](_0x3b375c[_0x500bd8(0x24c)]);_0x2a2edf?_0x2a2edf[_0x500bd8(0x21e)]!==_0x3b375c[_0x500bd8(0x21e)]&&_0x2a2edf[_0x500bd8(0x22f)]({'content':_0x3b375c[_0x500bd8(0x21e)],'isFromAdapter':!0x0}):_0x1cb9cb[_0x500bd8(0x20e)](Object[_0x500bd8(0x201)](S(_0x3b375c),{'isFromAdapter':!0x0}));}}}[_0x5e695e(0x242)](_0x5c2260){const _0x38ecdc=_0x5e695e;if(!this[_0x38ecdc(0x1f5)][_0x38ecdc(0x1eb)](_0x5c2260))throw new _0x35c330(_0x38ecdc(0x24b),null,{'channelId':_0x5c2260});return this[_0x38ecdc(0x1f5)][_0x38ecdc(0x247)](_0x5c2260);}async[_0x5e695e(0x244)](_0x39f71f){const _0x3453a8=_0x5e695e,_0x386690=this[_0x3453a8(0x23f)][_0x3453a8(0x1f0)][_0x3453a8(0x247)](_0x5af661),{connection:_0x3cc22c}=this[_0x3453a8(0x23f)][_0x3453a8(0x1f0)][_0x3453a8(0x247)](_0x5c9d37),_0x120d1f=new Set();for(const {resolvedBy:_0x6b93d0,comments:_0x5c95b8}of _0x39f71f){_0x6b93d0&&!_0x386690[_0x3453a8(0x243)](_0x6b93d0)&&_0x120d1f[_0x3453a8(0x1fa)](_0x6b93d0);for(const {userId:_0x137d71}of _0x5c95b8)_0x386690[_0x3453a8(0x243)](_0x137d71)||_0x120d1f[_0x3453a8(0x1fa)](_0x137d71);}if(0x0===_0x120d1f[_0x3453a8(0x1fe)])return;const _0x1ae4db=await _0x4a43fd[_0x3453a8(0x20d)](_0x3cc22c,Array[_0x3453a8(0x1fd)](_0x120d1f));for(const _0x4442ab of _0x1ae4db)_0x386690[_0x3453a8(0x243)](_0x4442ab['id'])||_0x386690[_0x3453a8(0x21d)](_0x4442ab);}}a[_0x5e695e(0x1e9)]=_0x321ebe;export default a;async function B(_0x2dfed2){const _0x3b22ee=_0x5e695e;if(_0x3b22ee(0x1ed)!==_0x2dfed2[_0x3b22ee(0x1f9)])throw _0x2dfed2;}function R(_0xfc6c68){const _0x5b9da3=_0x5e695e;if((_0x546c71=_0xfc6c68)[_0x5b9da3(0x231)][_0x5b9da3(0x225)](_0x5b9da3(0x212))||_0x546c71[_0x5b9da3(0x231)][_0x5b9da3(0x225)](_0x5b9da3(0x21b))||_0x546c71[_0x5b9da3(0x231)][_0x5b9da3(0x225)](_0x5b9da3(0x234)))return new Promise(()=>{});var _0x546c71;throw _0xfc6c68;}function S(_0x47756c){const _0x4c4297=_0x5e695e;return{'threadId':_0x47756c[_0x4c4297(0x204)],'commentId':_0x47756c[_0x4c4297(0x24c)],'content':_0x47756c[_0x4c4297(0x21e)],'createdAt':_0x47756c[_0x4c4297(0x1ea)],'authorId':_0x47756c[_0x4c4297(0x217)],'attributes':_0x47756c[_0x4c4297(0x1f4)]||{}};}
|
|
23
|
+
function _0xdea2(_0x3135cb,_0x4d1414){const _0x26c92c=_0x26c9();return _0xdea2=function(_0xdea2ea,_0x13a5dc){_0xdea2ea=_0xdea2ea-0x17e;let _0xc5e2fa=_0x26c92c[_0xdea2ea];return _0xc5e2fa;},_0xdea2(_0x3135cb,_0x4d1414);}const _0x592c2b=_0xdea2;(function(_0x40884c,_0x564cef){const _0x25867f=_0xdea2,_0x2df7c9=_0x40884c();while(!![]){try{const _0x3d6d18=parseInt(_0x25867f(0x194))/0x1*(-parseInt(_0x25867f(0x1c7))/0x2)+parseInt(_0x25867f(0x1a7))/0x3+parseInt(_0x25867f(0x1df))/0x4*(-parseInt(_0x25867f(0x1d6))/0x5)+-parseInt(_0x25867f(0x1ae))/0x6+parseInt(_0x25867f(0x1c1))/0x7*(parseInt(_0x25867f(0x196))/0x8)+parseInt(_0x25867f(0x18b))/0x9+parseInt(_0x25867f(0x193))/0xa*(parseInt(_0x25867f(0x17f))/0xb);if(_0x3d6d18===_0x564cef)break;else _0x2df7c9['push'](_0x2df7c9['shift']());}catch(_0x2167c9){_0x2df7c9['push'](_0x2df7c9['shift']());}}}(_0x26c9,0x2c95b));import{Context as _0x100af8,ContextPlugin as _0x38a87a}from'ckeditor5/src/core.js';import{CKEditorError as _0x49da2a}from'ckeditor5/src/utils.js';import{Users as _0x48d332}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x16f68f,User as _0x272fdc}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x50527d from'../realtimecollaborativeediting/websocketgateway.js';import _0x1c81a5 from'../realtimecollaborativeediting/sessions.js';class a extends _0x38a87a{static get[_0x592c2b(0x19b)](){const _0x275c01=_0x592c2b;return[_0x50527d,_0x275c01(0x1b3),_0x1c81a5,_0x48d332];}static get[_0x592c2b(0x199)](){const _0x1cbc69=_0x592c2b;return _0x1cbc69(0x180);}static get[_0x592c2b(0x1d3)](){return!0x0;}static get[_0x592c2b(0x184)](){return!0x0;}constructor(_0x5ef481){const _0x165dea=_0x592c2b;super(_0x5ef481),this[_0x165dea(0x1bc)]=new Map();}async[_0x592c2b(0x188)](){const _0x103192=_0x592c2b,_0x20664e=this[_0x103192(0x1c4)],_0x21fe9a=_0x20664e[_0x103192(0x197)][_0x103192(0x1c8)](_0x103192(0x1b3));if(_0x20664e[_0x103192(0x197)][_0x103192(0x1c8)](_0x50527d)[_0x103192(0x1d0)](this),_0x21fe9a[_0x103192(0x1cd)]={'addCommentThread':async({channelId:_0x103c76,threadId:_0x5765ad,comments:_0x29eb63,resolvedAt:_0x1b5474,resolvedBy:_0xefabc2,context:_0x313786,attributes:_0x6f2465})=>{const _0x40a50c=_0x103192,_0x2f399b=await this[_0x40a50c(0x1d4)](_0x103c76)[_0x40a50c(0x1de)]({'commentThreadId':_0x5765ad,'comments':_0x29eb63[_0x40a50c(0x1ce)](_0xbf5266=>function(_0x164113,_0x6a99bb,_0x334cab){const _0x10d85f=_0x40a50c;return{'commentThreadId':_0x334cab,'commentId':_0x164113[_0x10d85f(0x1ac)],'userId':_0x164113[_0x10d85f(0x192)],'content':_0x164113[_0x10d85f(0x1e2)],'documentId':_0x6a99bb,'createdAt':_0x164113[_0x10d85f(0x1bf)],'attributes':_0x164113[_0x10d85f(0x1ba)]||{}};}(_0xbf5266,_0x103c76,_0x5765ad)),'resolvedAt':_0x1b5474,'resolvedBy':_0xefabc2,'context':_0x313786,'attributes':_0x6f2465})[_0x40a50c(0x182)](R);return{'threadId':_0x2f399b[_0x40a50c(0x1b1)],'comments':_0x2f399b[_0x40a50c(0x19e)]};},'getCommentThread':async({channelId:_0x574071,threadId:_0x5e68df})=>{const _0xc3ad72=_0x103192,_0x2c9f21=await this[_0xc3ad72(0x1d4)](_0x574071)[_0xc3ad72(0x1ca)](_0x5e68df)[_0xc3ad72(0x182)](R);return _0x2c9f21[_0xc3ad72(0x1da)]?null:(await this[_0xc3ad72(0x1d1)]([_0x2c9f21]),{'threadId':_0x2c9f21[_0xc3ad72(0x1b1)],'comments':_0x2c9f21[_0xc3ad72(0x19e)][_0xc3ad72(0x1ce)](S),'context':_0x2c9f21[_0xc3ad72(0x1c4)],'resolvedAt':_0x2c9f21[_0xc3ad72(0x1a8)],'resolvedBy':_0x2c9f21[_0xc3ad72(0x1d8)],'attributes':_0x2c9f21[_0xc3ad72(0x1ba)]||{}});},'updateCommentThread':async({channelId:_0x335de3,threadId:_0x38355c,context:_0x1415bf,unlinkedAt:_0x1b5bc6,attributes:_0x70a346})=>this[_0x103192(0x1d4)](_0x335de3)[_0x103192(0x18f)]({'commentThreadId':_0x38355c,'context':_0x1415bf,'attributes':_0x70a346,'unlinkedAt':_0x1b5bc6})[_0x103192(0x182)](B)[_0x103192(0x182)](R),'resolveCommentThread':async({channelId:_0x2eb579,threadId:_0x3c1099})=>{const _0x12378d=_0x103192,_0x32d587=await this[_0x12378d(0x1d4)](_0x2eb579)[_0x12378d(0x19f)](_0x3c1099)[_0x12378d(0x182)](B)[_0x12378d(0x182)](R);return{'threadId':_0x32d587[_0x12378d(0x1b1)],'resolvedAt':_0x32d587[_0x12378d(0x1a8)],'resolvedBy':_0x32d587[_0x12378d(0x1d8)]};},'reopenCommentThread':async({channelId:_0x5b90f2,threadId:_0xa56cf5})=>this[_0x103192(0x1d4)](_0x5b90f2)[_0x103192(0x1cc)](_0xa56cf5)[_0x103192(0x182)](B)[_0x103192(0x182)](R),'removeCommentThread':({channelId:_0x54a062,threadId:_0xc35110})=>this[_0x103192(0x1d4)](_0x54a062)[_0x103192(0x1d9)](_0xc35110)[_0x103192(0x182)](B)[_0x103192(0x182)](R),'addComment':({channelId:_0x2eb713,threadId:_0x25f217,commentId:_0x41ff7e,content:_0x16c714,attributes:_0x4e6821})=>this[_0x103192(0x1d4)](_0x2eb713)[_0x103192(0x186)](_0x25f217,_0x41ff7e,_0x16c714,_0x4e6821)[_0x103192(0x182)](R),'updateComment':({channelId:_0x364b9d,threadId:_0xf21f01,commentId:_0x4554b3,content:_0x580970,attributes:_0x171702})=>this[_0x103192(0x1d4)](_0x364b9d)[_0x103192(0x1dd)](_0xf21f01,_0x4554b3,_0x580970,_0x171702)[_0x103192(0x182)](B)[_0x103192(0x182)](R),'removeComment':({channelId:_0x3987cd,threadId:_0x968ddf,commentId:_0x5f5807})=>this[_0x103192(0x1d4)](_0x3987cd)[_0x103192(0x1d2)](_0x968ddf,_0x5f5807)[_0x103192(0x182)](B)[_0x103192(0x182)](R)},_0x20664e instanceof _0x100af8){const _0x2da110=_0x20664e[_0x103192(0x1b2)][_0x103192(0x1c8)](_0x103192(0x190)),_0x310063=_0x20664e[_0x103192(0x197)][_0x103192(0x1c8)](_0x1c81a5);await this[_0x103192(0x198)](_0x2da110);const _0x256bec=await this[_0x103192(0x1bc)][_0x103192(0x1c8)](_0x2da110)[_0x103192(0x1c5)]();this[_0x103192(0x1a5)](_0x310063,_0x103192(0x18c)+_0x2da110,(_0x1a2695,{session:_0x16e8aa})=>{const _0x1bee7a=_0x103192;_0x16e8aa['id']===_0x310063[_0x1bee7a(0x18e)]&&(_0x1a2695[_0x1bee7a(0x1b0)](),this[_0x1bee7a(0x1c4)][_0x1bee7a(0x197)][_0x1bee7a(0x1c8)](_0x1bee7a(0x1b6))[_0x1bee7a(0x181)](_0x16e8aa[_0x1bee7a(0x1e3)],_0x2da110));}),_0x310063[_0x103192(0x1be)](_0x2da110,_0x256bec);}}async[_0x592c2b(0x198)](_0x2949ff){const _0x4e2efe=_0x592c2b;if(this[_0x4e2efe(0x1bc)][_0x4e2efe(0x1d7)](_0x2949ff))throw new _0x49da2a(_0x4e2efe(0x1af),null,{'channelId':_0x2949ff});const _0x6e4eef=this[_0x4e2efe(0x1c4)][_0x4e2efe(0x197)][_0x4e2efe(0x1c8)](_0x4e2efe(0x1b3)),_0x603b7c=new a[(_0x4e2efe(0x1db))](_0x2949ff);this[_0x4e2efe(0x1bc)][_0x4e2efe(0x189)](_0x2949ff,_0x603b7c),this[_0x4e2efe(0x1a5)](_0x603b7c,_0x4e2efe(0x187),(_0x13dbf1,_0xb0114b)=>{const _0x19848e=_0x4e2efe,{commentThreadId:_0x5d4559,documentId:_0xbb1707,context:_0x1d5374,attributes:_0x35553e,resolvedAt:_0x19e3da,resolvedBy:_0x51e39d,comments:_0x309e25}=_0xb0114b;_0x6e4eef[_0x19848e(0x1ca)](_0x5d4559)||_0x6e4eef[_0x19848e(0x1de)]({'threadId':_0x5d4559,'channelId':_0xbb1707,'comments':_0x309e25?_0x309e25[_0x19848e(0x1ce)](S):[],'context':_0x1d5374,'attributes':_0x35553e,'resolvedAt':_0x19e3da,'resolvedBy':_0x51e39d,'isFromAdapter':!0x0});}),this[_0x4e2efe(0x1a5)](_0x603b7c,_0x4e2efe(0x1a6),(_0x55d999,{commentThreadId:_0x565637,documentId:_0x23d65c,context:_0x50781b,unlinkedAt:_0x2a5000,attributes:_0x3dd4d5})=>{const _0xcee435=_0x4e2efe;_0x6e4eef[_0xcee435(0x1ca)](_0x565637)&&_0x6e4eef[_0xcee435(0x18f)]({'threadId':_0x565637,'channelId':_0x23d65c,'context':_0x50781b,'unlinkedAt':_0x2a5000,'attributes':_0x3dd4d5,'isFromAdapter':!0x0});}),this[_0x4e2efe(0x1a5)](_0x603b7c,_0x4e2efe(0x1a3),(_0x4491c4,{commentThreadId:_0xee2ab1,resolvedBy:_0x27d9d3,resolvedAt:_0x102823})=>{const _0x10a022=_0x4e2efe,_0xf082b5=_0x6e4eef[_0x10a022(0x1ca)](_0xee2ab1);_0xf082b5&&_0xf082b5[_0x10a022(0x1bd)]({'resolvedBy':_0x27d9d3,'resolvedAt':_0x102823,'isFromAdapter':!0x0});}),this[_0x4e2efe(0x1a5)](_0x603b7c,_0x4e2efe(0x18a),(_0x40badf,{commentThreadId:_0x274668})=>{const _0x305e9c=_0x4e2efe,_0x84f2a9=_0x6e4eef[_0x305e9c(0x1ca)](_0x274668);_0x84f2a9&&_0x84f2a9[_0x305e9c(0x1aa)]({'isFromAdapter':!0x0});}),this[_0x4e2efe(0x1a5)](_0x603b7c,_0x4e2efe(0x1b4),(_0x1f4447,{commentThreadId:_0x288f44})=>{const _0x4b5ac5=_0x4e2efe,_0x43873d=_0x6e4eef[_0x4b5ac5(0x1ca)](_0x288f44);_0x43873d&&_0x43873d[_0x4b5ac5(0x19d)]({'isFromAdapter':!0x0});}),this[_0x4e2efe(0x1a5)](_0x603b7c,_0x4e2efe(0x1b8),(_0x55b753,_0x476119)=>{const _0x2ea4df=_0x4e2efe,_0x4b6635=_0x476119[_0x2ea4df(0x1b1)],_0x474228=_0x6e4eef[_0x2ea4df(0x1ca)](_0x4b6635);_0x474228&&_0x474228[_0x2ea4df(0x186)]({...S(_0x476119),'isFromAdapter':!0x0});}),this[_0x4e2efe(0x1a5)](_0x603b7c,_0x4e2efe(0x1cb),(_0x89a6c1,{commentThreadId:_0x1dd4c6,commentId:_0x31d65e,content:_0x32357f,attributes:_0x2d0654})=>{const _0x153dc8=_0x4e2efe,_0x22a7f9=_0x6e4eef[_0x153dc8(0x1ca)](_0x1dd4c6);if(_0x22a7f9){const _0x365601=_0x22a7f9[_0x153dc8(0x1b7)](_0x31d65e);_0x365601&&_0x365601[_0x153dc8(0x1e1)]({'content':_0x32357f,'attributes':_0x2d0654,'isFromAdapter':!0x0});}}),this[_0x4e2efe(0x1a5)](_0x603b7c,_0x4e2efe(0x1a9),(_0x1d4c4d,{commentThreadId:_0x43aad6,commentId:_0x2afe87})=>{const _0x4ddcd1=_0x4e2efe,_0x3fd68e=_0x6e4eef[_0x4ddcd1(0x1ca)](_0x43aad6);if(_0x3fd68e){const _0xf6e71a=_0x3fd68e[_0x4ddcd1(0x1b7)](_0x2afe87);_0xf6e71a&&_0xf6e71a[_0x4ddcd1(0x19d)]({'isFromAdapter':!0x0});}}),await this[_0x4e2efe(0x1d5)](_0x2949ff);}[_0x592c2b(0x1a4)](){const _0x2830ea=_0x592c2b;if(this[_0x2830ea(0x1c4)]instanceof _0x100af8){const _0x63906d=this[_0x2830ea(0x1c4)][_0x2830ea(0x1b2)][_0x2830ea(0x1c8)](_0x2830ea(0x190));this[_0x2830ea(0x17e)](_0x63906d);}}[_0x592c2b(0x17e)](_0xda422e){const _0x2c80c4=_0x592c2b;if(!this[_0x2c80c4(0x1bc)][_0x2c80c4(0x1d7)](_0xda422e))throw new _0x49da2a(_0x2c80c4(0x1ad),null,{'channelId':_0xda422e});this[_0x2c80c4(0x1d4)](_0xda422e)[_0x2c80c4(0x1c0)](),this[_0x2c80c4(0x1bc)][_0x2c80c4(0x191)](_0xda422e);}async[_0x592c2b(0x185)](){const _0x2f5b89=_0x592c2b;for(const _0x2edc66 of this[_0x2f5b89(0x1bc)][_0x2f5b89(0x1e0)]())await this[_0x2f5b89(0x1d5)](_0x2edc66);if(this[_0x2f5b89(0x1c4)]instanceof _0x100af8){const _0xed9e6b=this[_0x2f5b89(0x1c4)][_0x2f5b89(0x1b2)][_0x2f5b89(0x1c8)](_0x2f5b89(0x190)),_0x257c9c=this[_0x2f5b89(0x1c4)][_0x2f5b89(0x197)][_0x2f5b89(0x1c8)](_0x1c81a5);_0x257c9c[_0x2f5b89(0x18d)](_0xed9e6b);const _0xc68759=await this[_0x2f5b89(0x1bc)][_0x2f5b89(0x1c8)](_0xed9e6b)[_0x2f5b89(0x1c5)]();_0x257c9c[_0x2f5b89(0x1be)](_0xed9e6b,_0xc68759);}}async[_0x592c2b(0x1d5)](_0x47f441){const _0x58b1a6=_0x592c2b,{connection:_0x4f4e5e}=this[_0x58b1a6(0x1c4)][_0x58b1a6(0x197)][_0x58b1a6(0x1c8)](_0x50527d),_0x46770a=this[_0x58b1a6(0x1c4)][_0x58b1a6(0x197)][_0x58b1a6(0x1c8)](_0x58b1a6(0x1b3)),_0x388650=this[_0x58b1a6(0x1bc)][_0x58b1a6(0x1c8)](_0x47f441),_0x461697=await _0x388650[_0x58b1a6(0x1dc)](_0x4f4e5e);await this[_0x58b1a6(0x1d1)](_0x461697);const _0x2976c1=new Set(Array[_0x58b1a6(0x1a0)](_0x46770a[_0x58b1a6(0x1cf)]({'channelId':_0x47f441}),_0x47e13d=>_0x47e13d['id']));for(const _0x2c9270 of _0x461697)_0x2c9270[_0x58b1a6(0x1da)]||_0x2976c1[_0x58b1a6(0x191)](_0x2c9270[_0x58b1a6(0x1b1)]);for(const _0x17b3c4 of _0x2976c1)_0x46770a[_0x58b1a6(0x1ca)](_0x17b3c4)[_0x58b1a6(0x19d)]({'isFromAdapter':!0x0});for(const _0x4f442a of _0x461697){let _0x197977=_0x46770a[_0x58b1a6(0x1ca)](_0x4f442a[_0x58b1a6(0x1b1)]);const {commentThreadId:_0x2da9fc,context:_0x3f3e7f,attributes:_0x3bcf9a,resolvedBy:_0x1d57d5,resolvedAt:_0x5bc3db,unlinkedAt:_0x524c84,deletedAt:_0x5d79d8}=_0x4f442a;if(_0x5d79d8)continue;_0x197977||(_0x197977=_0x46770a[_0x58b1a6(0x1de)]({'channelId':_0x47f441,'threadId':_0x2da9fc,'context':_0x3f3e7f,'attributes':_0x3bcf9a||{},'resolvedBy':_0x1d57d5,'resolvedAt':_0x5bc3db,'unlinkedAt':_0x524c84,'isFromAdapter':!0x0}));const _0x2d10b5=new Set(Array[_0x58b1a6(0x1a0)](_0x197977[_0x58b1a6(0x19e)],_0x16f316=>_0x16f316['id']));for(const _0x49a6e3 of _0x4f442a[_0x58b1a6(0x19e)])_0x2d10b5[_0x58b1a6(0x191)](_0x49a6e3[_0x58b1a6(0x1ac)]);for(const _0x144cc2 of _0x2d10b5)_0x197977[_0x58b1a6(0x1b7)](_0x144cc2)[_0x58b1a6(0x19d)]({'isFromAdapter':!0x0});for(const _0x208143 of _0x4f442a[_0x58b1a6(0x19e)]){const _0x1b947d=_0x197977[_0x58b1a6(0x1b7)](_0x208143[_0x58b1a6(0x1ac)]);_0x1b947d?_0x1b947d[_0x58b1a6(0x1e2)]!==_0x208143[_0x58b1a6(0x1e2)]&&_0x1b947d[_0x58b1a6(0x1e1)]({'content':_0x208143[_0x58b1a6(0x1e2)],'isFromAdapter':!0x0}):_0x197977[_0x58b1a6(0x186)](Object[_0x58b1a6(0x183)](S(_0x208143),{'isFromAdapter':!0x0}));}}}[_0x592c2b(0x1d4)](_0x2d0cc2){const _0x179392=_0x592c2b;if(!this[_0x179392(0x1bc)][_0x179392(0x1d7)](_0x2d0cc2))throw new _0x49da2a(_0x179392(0x1b9),null,{'channelId':_0x2d0cc2});return this[_0x179392(0x1bc)][_0x179392(0x1c8)](_0x2d0cc2);}async[_0x592c2b(0x1d1)](_0x5df1f3){const _0x2be466=_0x592c2b,_0x2cddb0=this[_0x2be466(0x1c4)][_0x2be466(0x197)][_0x2be466(0x1c8)](_0x48d332),{connection:_0x119e96}=this[_0x2be466(0x1c4)][_0x2be466(0x197)][_0x2be466(0x1c8)](_0x50527d),_0x59a64a=new Set();for(const {resolvedBy:_0x4da34c,comments:_0x4bf652}of _0x5df1f3){_0x4da34c&&!_0x2cddb0[_0x2be466(0x1b5)](_0x4da34c)&&_0x59a64a[_0x2be466(0x1a2)](_0x4da34c);for(const {userId:_0x3d5727}of _0x4bf652)_0x2cddb0[_0x2be466(0x1b5)](_0x3d5727)||_0x59a64a[_0x2be466(0x1a2)](_0x3d5727);}if(0x0===_0x59a64a[_0x2be466(0x1c9)])return;const _0x26c6e1=await _0x272fdc[_0x2be466(0x19a)](_0x119e96,Array[_0x2be466(0x1a0)](_0x59a64a));for(const _0x92632c of _0x26c6e1)_0x2cddb0[_0x2be466(0x1b5)](_0x92632c['id'])||_0x2cddb0[_0x2be466(0x1e4)](_0x92632c);}}a[_0x592c2b(0x1db)]=_0x16f68f;function _0x26c9(){const _0x4e3127=['userId','commentId','cloudservicescommentsadapter-disconnect-not-exist','874902isNrWn','cloudservicescommentsadapter-connect-already-connected','off','commentThreadId','config','CommentsRepository','commentThreadRemoved','getUser','Permissions','getComment','commentAdded','cloudservicescommentsadapter-service-not-exist','attributes','404','_services','resolve','register','createdAt','disconnect','7xgSfTv','cloud-services-internal-error:\x20Request\x20timeout.','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','context','getConnectedSessions','code','4wAzLWb','get','size','getCommentThread','commentUpdated','reopenCommentThread','adapter','map','getCommentThreads','addToReconnectionStack','_fetchMissingUsersForThreads','removeComment','isOfficialPlugin','_getService','_connectService','207885gUjTID','has','resolvedBy','removeCommentThread','deletedAt','CommentsService','connect','updateComment','addCommentThread','12nELrNe','keys','update','content','permissions','addUser','_terminateService','693WhbHgc','CloudServicesCommentsAdapter','setPermissions','catch','assign','isPremiumPlugin','reconnect','addComment','commentThreadAdded','init','set','commentThreadReopened','809865bMlmyR','sessionAdd:','unregister','mySessionId','updateCommentThread','collaboration.channelId','delete','authorId','36070TUCmFb','51704hCfOJr','startsWith','260872rhOywQ','plugins','_setUpService','pluginName','getMany','requires','message','remove','comments','resolveCommentThread','from','cloud-services-internal-error:\x20Not\x20connected.','add','commentThreadResolved','destroy','listenTo','commentThreadUpdated','620220BlcHwD','resolvedAt','commentRemoved','reopen'];_0x26c9=function(){return _0x4e3127;};return _0x26c9();}export default a;async function B(_0x563351){const _0x30175b=_0x592c2b;if(_0x30175b(0x1bb)!==_0x563351[_0x30175b(0x1c6)])throw _0x563351;}function R(_0x32a958){const _0x3b8e89=_0x592c2b;if((_0x20057d=_0x32a958)[_0x3b8e89(0x19c)][_0x3b8e89(0x195)](_0x3b8e89(0x1c3))||_0x20057d[_0x3b8e89(0x19c)][_0x3b8e89(0x195)](_0x3b8e89(0x1a1))||_0x20057d[_0x3b8e89(0x19c)][_0x3b8e89(0x195)](_0x3b8e89(0x1c2)))return new Promise(()=>{});var _0x20057d;throw _0x32a958;}function S(_0x4e2277){const _0x1cac12=_0x592c2b;return{'threadId':_0x4e2277[_0x1cac12(0x1b1)],'commentId':_0x4e2277[_0x1cac12(0x1ac)],'content':_0x4e2277[_0x1cac12(0x1e2)],'createdAt':_0x4e2277[_0x1cac12(0x1bf)],'authorId':_0x4e2277[_0x1cac12(0x1ab)],'attributes':_0x4e2277[_0x1cac12(0x1ba)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5dafb8=_0x38fc;(function(_0xbee6ed,_0xeb6938){const _0x1b8a2e=_0x38fc,_0x2b289c=_0xbee6ed();while(!![]){try{const _0x3486af=-parseInt(_0x1b8a2e(0x141))/0x1*(parseInt(_0x1b8a2e(0x145))/0x2)+parseInt(_0x1b8a2e(0x129))/0x3+-parseInt(_0x1b8a2e(0x148))/0x4*(parseInt(_0x1b8a2e(0x146))/0x5)+-parseInt(_0x1b8a2e(0x12b))/0x6*(parseInt(_0x1b8a2e(0x140))/0x7)+-parseInt(_0x1b8a2e(0x133))/0x8+parseInt(_0x1b8a2e(0x14a))/0x9+parseInt(_0x1b8a2e(0x143))/0xa;if(_0x3486af===_0xeb6938)break;else _0x2b289c['push'](_0x2b289c['shift']());}catch(_0x4f6756){_0x2b289c['push'](_0x2b289c['shift']());}}}(_0xf7dd,0xb7aed));import{Plugin as _0x5e8274}from'ckeditor5/src/core.js';function _0x38fc(_0x199d81,_0x2b78ec){const _0xf7dda2=_0xf7dd();return _0x38fc=function(_0x38fc5a,_0x44d3c3){_0x38fc5a=_0x38fc5a-0x129;let _0x572af1=_0xf7dda2[_0x38fc5a];return _0x572af1;},_0x38fc(_0x199d81,_0x2b78ec);}import _0x1512fd from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x519c12 from'./realtimecollaborativeediting.js';function _0xf7dd(){const _0x5ab36c=['plugins','isOfficialPlugin','ready','_setUpService','data','2105816XlBHkI','config','isPremiumPlugin','collaboration.channelId','once','pluginName','CommentsEditing','connected','init','change:state','editor','isThreadsLoadingPaused','RealTimeCollaborativeComments','1918OKtwzx','1qcbGmO','switchReadOnly','4623340oORoDr','CommentsRepository','1235462cdVQNx','2068385MTXblE','get','4icDBVm','Comments','11955240NdCBIm','_terminateService','2267424ZMclOp','listenTo','10938obCkSA','requires','destroy'];_0xf7dd=function(){return _0x5ab36c;};return _0xf7dd();}import _0x22d6bf from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x5e8274{static get[_0x5dafb8(0x12c)](){const _0x510a9d=_0x5dafb8;return[_0x510a9d(0x149),_0x1512fd,_0x519c12,_0x22d6bf];}static get[_0x5dafb8(0x138)](){const _0x2f1230=_0x5dafb8;return _0x2f1230(0x13f);}static get[_0x5dafb8(0x12f)](){return!0x0;}static get[_0x5dafb8(0x135)](){return!0x0;}[_0x5dafb8(0x13b)](){const _0x5929de=_0x5dafb8,_0x40bb50=this[_0x5929de(0x13d)][_0x5929de(0x12e)][_0x5929de(0x147)](_0x22d6bf),_0x3d48ac=this[_0x5929de(0x13d)][_0x5929de(0x12e)][_0x5929de(0x147)](_0x5929de(0x139)),_0x4d91b2=this[_0x5929de(0x13d)][_0x5929de(0x12e)][_0x5929de(0x147)](_0x1512fd);return this[_0x5929de(0x13d)][_0x5929de(0x132)][_0x5929de(0x137)](_0x5929de(0x130),()=>{const _0x29cef1=_0x5929de;this[_0x29cef1(0x12a)](_0x40bb50,_0x29cef1(0x13c),(_0x320c3d,_0x2e8871,_0x5ed86e)=>{const _0x320e95=_0x29cef1;_0x3d48ac[_0x320e95(0x13e)]=_0x320e95(0x13a)!==_0x5ed86e;});}),this[_0x5929de(0x12a)](_0x40bb50,_0x5929de(0x13c),(_0xf52d28,_0x2d0b7b,_0x4b4247)=>{const _0x1359f8=_0x5929de;this[_0x1359f8(0x13d)][_0x1359f8(0x12e)][_0x1359f8(0x147)](_0x1359f8(0x144))[_0x1359f8(0x142)](_0x1359f8(0x13a)!==_0x4b4247);}),_0x4d91b2[_0x5929de(0x131)](this[_0x5929de(0x13d)][_0x5929de(0x134)][_0x5929de(0x147)](_0x5929de(0x136)));}[_0x5dafb8(0x12d)](){const _0x3826d6=_0x5dafb8;this[_0x3826d6(0x13d)][_0x3826d6(0x12e)][_0x3826d6(0x147)](_0x1512fd)[_0x3826d6(0x14b)](this[_0x3826d6(0x13d)][_0x3826d6(0x134)][_0x3826d6(0x147)](_0x3826d6(0x136))),super[_0x3826d6(0x12d)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5350ce=_0x2931;(function(_0xa86928,_0x42074c){const _0x12cadf=_0x2931,_0x5dd905=_0xa86928();while(!![]){try{const _0x1929a7=-parseInt(_0x12cadf(0x248))/0x1+parseInt(_0x12cadf(0x20f))/0x2*(parseInt(_0x12cadf(0x22a))/0x3)+parseInt(_0x12cadf(0x25e))/0x4+parseInt(_0x12cadf(0x175))/0x5*(parseInt(_0x12cadf(0x235))/0x6)+parseInt(_0x12cadf(0x200))/0x7+parseInt(_0x12cadf(0x220))/0x8+parseInt(_0x12cadf(0x1f8))/0x9*(-parseInt(_0x12cadf(0x1aa))/0xa);if(_0x1929a7===_0x42074c)break;else _0x5dd905['push'](_0x5dd905['shift']());}catch(_0x3e2c6b){_0x5dd905['push'](_0x5dd905['shift']());}}}(_0x4f12,0x522e2));import{Plugin as _0xee48a0,PendingActions as _0x2d2b47}from'ckeditor5/src/core.js';import{CKEditorError as _0x2d0d1f,version as _0x456e6d,uid as _0x4e08cd}from'ckeditor5/src/utils.js';import{Notification as _0x50148d}from'ckeditor5/src/ui.js';import{transformSets as _0x365332,NoOperation as _0x3d558e,InsertOperation as _0x52bd8c,MarkerOperation as _0x68fc1c,RootAttributeOperation as _0x5a9052,OperationFactory as _0xa6e666,History as _0x40fcbd}from'ckeditor5/src/engine.js';import _0x46ff47 from'./websocketgateway.js';import _0x3ff351 from'./sessions.js';import _0x457bc1 from'./usermarkers.js';import{getTranslation as _0x11e4bc}from'../common-translations.js';import{Compressor as _0x4f2d42}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1641d1}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x13dccb,CollaborativeEditingService as _0x2dc116}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0xee48a0{static get[_0x5350ce(0x258)](){return[_0x46ff47,_0x3ff351,_0x457bc1,_0x2d2b47,_0x1641d1,_0x50148d];}static get[_0x5350ce(0x19c)](){const _0x2a5be2=_0x5350ce;return _0x2a5be2(0x1ae);}static get[_0x5350ce(0x211)](){return!0x0;}static get[_0x5350ce(0x18b)](){return!0x0;}get[_0x5350ce(0x193)](){const _0x2ae713=_0x5350ce;return this[_0x2ae713(0x1e0)]+this[_0x2ae713(0x1cf)];}get[_0x5350ce(0x1e0)](){const _0x1eb2d9=_0x5350ce;return this[_0x1eb2d9(0x1be)][_0x1eb2d9(0x225)]-this[_0x1eb2d9(0x1cf)];}get[_0x5350ce(0x1fc)](){const _0x54c934=_0x5350ce,_0x137107=this[_0x54c934(0x1be)][_0x54c934(0x1de)]();for(let _0x449652=_0x137107[_0x54c934(0x1d8)]-0x1;_0x449652>=0x0;_0x449652--){const _0x5d9cfd=_0x137107[_0x449652];if(!this[_0x54c934(0x217)][_0x54c934(0x1b2)](_0x5d9cfd))return _0x5d9cfd[_0x54c934(0x1b4)]+0x1-this[_0x54c934(0x1cf)];}return 0x0;}constructor(_0x8a7189){const _0x7cc104=_0x5350ce;if(super(_0x8a7189),this[_0x7cc104(0x1cf)]=0x0,this[_0x7cc104(0x264)]=null,this[_0x7cc104(0x1be)]=new _0x40fcbd(),this[_0x7cc104(0x25d)][_0x7cc104(0x223)][_0x7cc104(0x1ba)](_0x7cc104(0x1b8),{}),this[_0x7cc104(0x205)]=this[_0x7cc104(0x25d)][_0x7cc104(0x223)][_0x7cc104(0x216)](_0x7cc104(0x273)),!this[_0x7cc104(0x205)])throw new _0x2d0d1f(_0x7cc104(0x189),this);const _0x43f374=_0x8a7189[_0x7cc104(0x223)][_0x7cc104(0x216)](_0x7cc104(0x26b))||_0x456e6d;this[_0x7cc104(0x1ee)]=new l[(_0x7cc104(0x1d4))](_0x43f374,this[_0x7cc104(0x205)]),this[_0x7cc104(0x276)]=this[_0x7cc104(0x25d)][_0x7cc104(0x1d6)][_0x7cc104(0x1b5)],this[_0x7cc104(0x212)]=new _0x4f2d42(),this[_0x7cc104(0x1f5)]=[],this[_0x7cc104(0x238)]=new WeakSet(),this[_0x7cc104(0x241)]=new Set(),this[_0x7cc104(0x1d3)](_0x7cc104(0x183),!0x1),this[_0x7cc104(0x1d3)](_0x7cc104(0x178),!0x1),this[_0x7cc104(0x1e6)]=null,this[_0x7cc104(0x232)]=!0x1,this[_0x7cc104(0x194)]=null,this[_0x7cc104(0x219)]=0x12c,this[_0x7cc104(0x1ce)]=this[_0x7cc104(0x219)],this[_0x7cc104(0x188)]=null,this[_0x7cc104(0x217)]=new WeakSet(),this[_0x7cc104(0x1d1)]=new X(this[_0x7cc104(0x217)]);}[_0x5350ce(0x174)](){const _0x504380=_0x5350ce,_0x5c0722=this[_0x504380(0x25d)],_0x215fd9=_0x5c0722[_0x504380(0x192)][_0x504380(0x216)](_0x1641d1),_0x1415c6=_0x5c0722[_0x504380(0x192)][_0x504380(0x216)](_0x46ff47);this[_0x504380(0x21c)](_0x215fd9,_0x504380(0x25b),(_0x2f2298,_0x4fcac4)=>{const _0x5e69fb=_0x504380,_0x15f242=_0x4fcac4[0x0];_0x15f242[_0x5e69fb(0x1f1)]&&(_0x2f2298[_0x5e69fb(0x1af)]=_0x215fd9[_0x5e69fb(0x24d)](_0x15f242[_0x5e69fb(0x1f1)]),_0x2f2298[_0x5e69fb(0x26d)]()),null===_0x15f242[_0x5e69fb(0x1f1)]&&(_0x2f2298[_0x5e69fb(0x1af)]=null,_0x2f2298[_0x5e69fb(0x26d)]());},{'priority':_0x504380(0x262)}),this[_0x504380(0x21c)](_0x5c0722[_0x504380(0x1d6)][_0x504380(0x1b5)][_0x504380(0x17b)],_0x504380(0x25a),(_0x1750f3,_0x5175a2)=>{const _0x3a9203=_0x504380;_0x5175a2[_0x3a9203(0x1fb)]&&this[_0x3a9203(0x23a)]();}),this[_0x504380(0x21c)](_0x5c0722[_0x504380(0x1da)][_0x504380(0x19b)],_0x504380(0x266),()=>{const _0x1f3fb4=_0x504380;this[_0x1f3fb4(0x23a)]();}),this[_0x504380(0x271)](),_0x5c0722[_0x504380(0x1d6)]['on'](_0x504380(0x247),(_0x4dd4a8,_0x487800)=>{const _0x1e2c2e=_0x504380,_0x542f86=_0x487800[0x0];_0x542f86[_0x1e2c2e(0x226)]&&(this[_0x1e2c2e(0x1e5)](_0x542f86),this[_0x1e2c2e(0x207)]()&&this[_0x1e2c2e(0x17e)]());}),this[_0x504380(0x21e)](),this[_0x504380(0x229)](_0x504380(0x1df))['to'](_0x1415c6,_0x504380(0x1ff),this,_0x504380(0x178),(_0x4d65c7,_0xaba55e)=>_0x504380(0x173)===_0x4d65c7&&!_0xaba55e),this['on'](_0x504380(0x181),()=>{const _0x575d0b=_0x504380;this[_0x575d0b(0x1df)]?_0x5c0722[_0x575d0b(0x179)](_0x575d0b(0x209)):_0x5c0722[_0x575d0b(0x1d5)](_0x575d0b(0x209));}),this[_0x504380(0x1df)]?_0x5c0722[_0x504380(0x179)](_0x504380(0x209)):_0x5c0722[_0x504380(0x1d5)](_0x504380(0x209)),this[_0x504380(0x1d3)](_0x504380(0x177),!0x1);}async[_0x5350ce(0x228)](){const _0x213a97=_0x5350ce,_0x2c821b=this[_0x213a97(0x25d)][_0x213a97(0x192)][_0x213a97(0x216)](_0x3ff351),_0x3e1807=this[_0x213a97(0x25d)][_0x213a97(0x192)][_0x213a97(0x216)](_0x46ff47);try{this[_0x213a97(0x183)]=!0x0,_0x2c821b[_0x213a97(0x26f)](this[_0x213a97(0x205)]);const _0x3c73c1=await this[_0x213a97(0x1ee)][_0x213a97(0x228)](_0x3e1807[_0x213a97(0x1a6)],this[_0x213a97(0x1fc)]);await this[_0x213a97(0x1fd)](_0x3c73c1)&&(this[_0x213a97(0x183)]=!0x1,this[_0x213a97(0x23d)]());const _0x3e276d=await this[_0x213a97(0x1ee)][_0x213a97(0x1eb)]();_0x2c821b[_0x213a97(0x218)](this[_0x213a97(0x205)],_0x3e276d),this[_0x213a97(0x1f0)](),this[_0x213a97(0x177)]=!0x0;}catch(_0xec4d2a){if(function(_0x3812ec){const _0x4f4f24=_0x213a97;return _0x4f4f24(0x1d9)===_0x3812ec[_0x4f4f24(0x1ab)];}(_0xec4d2a)&&this[_0x213a97(0x264)])await this[_0x213a97(0x184)]();else{if(function(_0x1d4cce){const _0x489fdb=_0x213a97;return _0x489fdb(0x215)===_0x1d4cce[_0x489fdb(0x1ab)];}(_0xec4d2a)){const _0x1bea66=_0x11e4bc(this[_0x213a97(0x25d)][_0x213a97(0x1a7)],_0x213a97(0x199));this[_0x213a97(0x18c)](_0x1bea66);}else{if(!(_0xec4d2a instanceof J))throw _0xec4d2a;this[_0x213a97(0x18c)]();}}}}[_0x5350ce(0x186)](){const _0x16b01e=_0x5350ce,_0x3249ee=this[_0x16b01e(0x25d)][_0x16b01e(0x192)][_0x16b01e(0x216)](_0x46ff47),_0xe96002=this[_0x16b01e(0x25d)][_0x16b01e(0x192)][_0x16b01e(0x216)](_0x3ff351);this[_0x16b01e(0x25d)][_0x16b01e(0x1d5)](_0x16b01e(0x245)),_0xe96002[_0x16b01e(0x17c)][_0x16b01e(0x1b2)](this[_0x16b01e(0x205)])&&_0xe96002[_0x16b01e(0x26f)](this[_0x16b01e(0x205)]),_0x3249ee[_0x16b01e(0x1a3)](this),this[_0x16b01e(0x236)](),super[_0x16b01e(0x186)]();}async[_0x5350ce(0x1fd)](_0x491493){const _0x527da7=_0x5350ce;if(this[_0x527da7(0x264)]!==_0x491493[_0x527da7(0x264)]&&this[_0x527da7(0x188)]!==_0x491493[_0x527da7(0x17a)])throw new J();return this[_0x527da7(0x264)]=_0x491493[_0x527da7(0x264)],this[_0x527da7(0x23b)]([],{..._0x491493,'wereChangesApplied':!0x1,'data':_0x491493[_0x527da7(0x172)]},_0x527da7(0x228));}async[_0x5350ce(0x1d2)](_0x104aab,_0x233914=!0x1){const _0x4dca49=_0x5350ce,{connection:_0x1c911a}=this[_0x4dca49(0x25d)][_0x4dca49(0x192)][_0x4dca49(0x216)](_0x46ff47);l[_0x4dca49(0x1d4)][_0x4dca49(0x1eb)](_0x1c911a,this[_0x4dca49(0x205)])[_0x4dca49(0x1e7)](_0x11d8cf=>this[_0x4dca49(0x1b7)](_0x11d8cf))[_0x4dca49(0x182)](_0x38133b=>{const _0x4d54ce=_0x4dca49;this[_0x4d54ce(0x1e9)](_0x4d54ce(0x1f4),_0x38133b);}),this[_0x4dca49(0x21c)](this[_0x4dca49(0x1ee)],_0x4dca49(0x1ea),this[_0x4dca49(0x201)][_0x4dca49(0x229)](this)),this[_0x4dca49(0x21c)](this[_0x4dca49(0x1ee)],_0x4dca49(0x17d),(_0x35af75,_0x1b26f6)=>{const _0x5048c3=_0x4dca49;this[_0x5048c3(0x1e9)](_0x5048c3(0x180),_0x1b26f6);}),this[_0x4dca49(0x21c)](this[_0x4dca49(0x1ee)],_0x4dca49(0x171),()=>{const _0x4744b5=_0x4dca49;this[_0x4744b5(0x177)]=!0x1;});const _0x2ef832=this[_0x4dca49(0x1d1)][_0x4dca49(0x263)](_0x104aab);this[_0x4dca49(0x183)]=!0x0;const _0x40981e=await this[_0x4dca49(0x1ee)][_0x4dca49(0x1f9)](_0x1c911a,this[_0x4dca49(0x19d)](_0x104aab),_0x2ef832);if(this[_0x4dca49(0x264)]=_0x40981e[_0x4dca49(0x264)],_0x233914){if(!_0x40981e[_0x4dca49(0x1c2)])return void this[_0x4dca49(0x18c)]();this[_0x4dca49(0x183)]=!0x1,this[_0x4dca49(0x23d)](),this[_0x4dca49(0x1be)][_0x4dca49(0x1b0)](),this[_0x4dca49(0x1cf)]=_0x40981e[_0x4dca49(0x18e)],this[_0x4dca49(0x1be)][_0x4dca49(0x225)]=this[_0x4dca49(0x1cf)],await this[_0x4dca49(0x23b)](_0x104aab,_0x40981e,_0x4dca49(0x234));}else await this[_0x4dca49(0x20e)](_0x40981e,_0x104aab);this[_0x4dca49(0x1f0)](),this[_0x4dca49(0x177)]=!0x0;}[_0x5350ce(0x1f0)](){const _0x5c4ad7=_0x5350ce,_0xa60337=this[_0x5c4ad7(0x25d)][_0x5c4ad7(0x192)][_0x5c4ad7(0x216)](_0x3ff351),_0x436d6a=this[_0x5c4ad7(0x25d)][_0x5c4ad7(0x192)][_0x5c4ad7(0x216)](_0x457bc1),_0xf70d33=_0xa60337[_0x5c4ad7(0x17c)][_0x5c4ad7(0x216)](this[_0x5c4ad7(0x205)]);_0xf70d33&&_0xf70d33[_0x5c4ad7(0x1d8)]>0x1?_0x436d6a[_0x5c4ad7(0x1c7)]():this[_0x5c4ad7(0x21c)](_0xa60337,_0x5c4ad7(0x224)+this[_0x5c4ad7(0x205)],()=>{const _0x3781f6=_0x5c4ad7;0x2===_0xa60337[_0x3781f6(0x17c)][_0x3781f6(0x216)](this[_0x3781f6(0x205)])[_0x3781f6(0x1d8)]&&_0x436d6a[_0x3781f6(0x1c7)]();});}async[_0x5350ce(0x201)](_0x9678ad,_0x9d5a27,_0x196a65,_0x19d759){const _0x41c599=_0x5350ce;if(!this[_0x41c599(0x183)]&&this[_0x41c599(0x276)][_0x41c599(0x225)]==_0x9d5a27){const _0x22fe2a=this[_0x41c599(0x24c)](_0x196a65,_0x19d759);await this[_0x41c599(0x1dd)](_0x22fe2a),this[_0x41c599(0x261)](_0x22fe2a,_0x9d5a27,_0x196a65[_0x41c599(0x17a)])||this[_0x41c599(0x1e9)](_0x41c599(0x1cc));}}async[_0x5350ce(0x184)](){const _0x2a60b5=_0x5350ce;this[_0x2a60b5(0x236)]();const {locale:_0x147504}=this[_0x2a60b5(0x25d)];let _0x510b5f;try{_0x510b5f=await this[_0x2a60b5(0x1ee)][_0x2a60b5(0x1a8)]();}catch(_0x5240ce){const _0x5665f1=_0x11e4bc(_0x147504,_0x2a60b5(0x253));return void this[_0x2a60b5(0x18c)](_0x5665f1);}const _0x2a8080=_0x510b5f[_0x2a60b5(0x230)]||_0x510b5f[_0x2a60b5(0x1db)];if(this[_0x2a60b5(0x188)]===_0x2a8080[_0x2a60b5(0x17a)])await this[_0x2a60b5(0x1d2)](this[_0x2a60b5(0x25d)][_0x2a60b5(0x1d6)][_0x2a60b5(0x1b5)][_0x2a60b5(0x272)][_0x2a60b5(0x1de)](),!0x0);else{const _0x340b2d=_0x11e4bc(_0x147504,_0x2a60b5(0x1c0));this[_0x2a60b5(0x18c)](_0x340b2d);}}[_0x5350ce(0x236)](){const _0x22ec59=_0x5350ce;this[_0x22ec59(0x1ee)][_0x22ec59(0x274)](),this[_0x22ec59(0x1f5)]=[],clearTimeout(this[_0x22ec59(0x194)]),this[_0x22ec59(0x25f)](this[_0x22ec59(0x1ee)]);}[_0x5350ce(0x1b7)](_0x4a0d7f){const _0x5928b2=_0x5350ce,_0x11627d=this[_0x5928b2(0x25d)][_0x5928b2(0x192)][_0x5928b2(0x216)](_0x3ff351);this[_0x5928b2(0x21c)](_0x11627d,_0x5928b2(0x224)+this[_0x5928b2(0x205)],(_0x4c2176,{session:_0x565603})=>{const _0x47c193=_0x5928b2;if(_0x565603['id']===_0x11627d[_0x47c193(0x260)]){_0x4c2176[_0x47c193(0x239)]();const _0x4b2299=this[_0x47c193(0x25d)][_0x47c193(0x192)][_0x47c193(0x1b2)](_0x47c193(0x1fa))&&this[_0x47c193(0x25d)][_0x47c193(0x192)][_0x47c193(0x216)](_0x47c193(0x1fa));let _0x258ff5=_0x565603[_0x47c193(0x26e)];_0x4b2299&&_0x4b2299[_0x47c193(0x255)]&&(_0x258ff5=_0x258ff5[_0x47c193(0x1e2)](_0x394c7c=>_0x47c193(0x203)!==_0x394c7c)),this[_0x47c193(0x25d)][_0x47c193(0x192)][_0x47c193(0x216)](_0x47c193(0x206))[_0x47c193(0x1e3)](_0x258ff5,this[_0x47c193(0x205)]);}}),_0x11627d[_0x5928b2(0x218)](this[_0x5928b2(0x205)],_0x4a0d7f);}[_0x5350ce(0x271)](){const _0x3bc60c=_0x5350ce,_0xa2d763=this[_0x3bc60c(0x25d)][_0x3bc60c(0x172)][_0x3bc60c(0x1d3)];this[_0x3bc60c(0x25d)][_0x3bc60c(0x172)][_0x3bc60c(0x1d3)]=(..._0x4ef32b)=>{const _0x694511=_0x3bc60c;if(!_0x4ef32b[_0x4ef32b[_0x694511(0x1d8)]-0x1][_0x694511(0x1b3)])throw new _0x2d0d1f(_0x694511(0x227),this);_0xa2d763[_0x694511(0x21f)](this[_0x694511(0x25d)][_0x694511(0x172)],_0x4ef32b);};}[_0x5350ce(0x21e)](){const _0x544099=_0x5350ce;this[_0x544099(0x25d)][_0x544099(0x172)]['on'](_0x544099(0x174),(_0x5188fa,[_0x2e8507])=>{const _0x6b4b09=_0x544099;if(this[_0x6b4b09(0x276)][_0x6b4b09(0x225)])throw new _0x2d0d1f(_0x6b4b09(0x257),this);_0x5188fa[_0x6b4b09(0x26d)](),this[_0x6b4b09(0x249)]();const _0x2f83e6=this[_0x6b4b09(0x25d)][_0x6b4b09(0x223)][_0x6b4b09(0x216)](_0x6b4b09(0x1a1)),_0x1db697=this[_0x6b4b09(0x250)](_0x2e8507,_0x2f83e6);0x0==_0x1db697[_0x6b4b09(0x1d8)]&&_0x1db697[_0x6b4b09(0x1cd)](new _0x3d558e(0x0)),_0x5188fa[_0x6b4b09(0x1af)]=this[_0x6b4b09(0x1d2)](_0x1db697)[_0x6b4b09(0x1e7)](()=>{const _0x292110=_0x6b4b09;this[_0x292110(0x25d)][_0x292110(0x192)][_0x292110(0x216)](_0x46ff47)[_0x292110(0x1bc)](this),this[_0x292110(0x25d)][_0x292110(0x172)][_0x292110(0x1bd)](_0x292110(0x20a));})[_0x6b4b09(0x182)](_0x4f03ee=>this[_0x6b4b09(0x1e9)](_0x6b4b09(0x24b),_0x4f03ee))[_0x6b4b09(0x24f)](()=>this[_0x6b4b09(0x23d)]());},{'priority':_0x544099(0x262)}),this[_0x544099(0x25d)]['on'](_0x544099(0x1b9),async(_0x21722e,[_0x4fc39f,_0x73b14])=>{const _0x7f6a44=_0x544099;_0x21722e[_0x7f6a44(0x26d)]();const _0x14a2b0=this[_0x7f6a44(0x25d)][_0x7f6a44(0x1d6)][_0x7f6a44(0x1b5)][_0x7f6a44(0x1f3)](_0x4fc39f);if(!this[_0x7f6a44(0x241)][_0x7f6a44(0x1b2)](_0x4fc39f)){const _0x299d78=_0x73b14&&_0x73b14[_0x7f6a44(0x172)]?_0x73b14[_0x7f6a44(0x172)]:'',_0x47d6b3=_0x73b14&&_0x73b14[_0x7f6a44(0x19e)]?_0x73b14[_0x7f6a44(0x19e)]:{};await this[_0x7f6a44(0x22e)](_0x4fc39f,_0x299d78,_0x47d6b3);}this[_0x7f6a44(0x25d)][_0x7f6a44(0x1d6)][_0x7f6a44(0x1bb)]({'isUndoable':!0x1},()=>{const _0x57fe48=_0x7f6a44;_0x14a2b0[_0x57fe48(0x20c)]=!0x0,this[_0x57fe48(0x25d)][_0x57fe48(0x1d6)][_0x57fe48(0x1b5)][_0x57fe48(0x1e4)][_0x57fe48(0x210)](_0x14a2b0);});},{'priority':_0x544099(0x262)});}async[_0x5350ce(0x1dd)](_0x2dfd92){const _0x43050a=_0x5350ce,_0x482e8a=this[_0x43050a(0x25d)][_0x43050a(0x192)][_0x43050a(0x216)](_0x1641d1),{connection:_0x12c757}=this[_0x43050a(0x25d)][_0x43050a(0x192)][_0x43050a(0x216)](_0x46ff47),_0x235137=new Set();for(const _0x219c2a of _0x2dfd92){const _0x4d9da5=_0x219c2a[_0x43050a(0x1f1)];_0x4d9da5&&!_0x482e8a[_0x43050a(0x24d)](_0x4d9da5)&&_0x235137[_0x43050a(0x270)](_0x4d9da5);}if(0x0===_0x235137[_0x43050a(0x244)])return;const _0x3484e6=await _0x13dccb[_0x43050a(0x240)](_0x12c757,Array[_0x43050a(0x1c4)](_0x235137));for(const _0x18a321 of _0x3484e6)_0x482e8a[_0x43050a(0x24d)](_0x18a321['id'])||_0x482e8a[_0x43050a(0x1e1)](_0x18a321);}[_0x5350ce(0x250)](_0x1e4020,_0x3356e6={}){const _0x30173d=_0x5350ce,_0x3d2605=this[_0x30173d(0x25d)][_0x30173d(0x1d6)],_0x40f2c4=[];let _0x34738f=0x0;const _0x2501fc=_0x30173d(0x19a)==typeof _0x1e4020?{'main':_0x1e4020}:_0x1e4020;for(const _0x2bf25c of Object[_0x30173d(0x1c8)](_0x2501fc)){if(!this[_0x30173d(0x276)][_0x30173d(0x1c1)][_0x30173d(0x1b2)](_0x2bf25c))throw new _0x2d0d1f(_0x30173d(0x1a2),this);const _0x40cc48=this[_0x30173d(0x25d)][_0x30173d(0x172)][_0x30173d(0x251)](_0x2501fc[_0x2bf25c]),_0x5ee69d=this[_0x30173d(0x276)][_0x30173d(0x1f3)](_0x2bf25c),_0x5b1be4=new _0x52bd8c(_0x3d2605[_0x30173d(0x187)](_0x5ee69d,0x0),_0x40cc48,_0x34738f++);_0x40f2c4[_0x30173d(0x1cd)](_0x5b1be4);for(const [_0x3da6b8,_0x507779]of _0x40cc48[_0x30173d(0x1e8)]){const _0x5f4ec5=_0x3d2605[_0x30173d(0x18f)](_0x3d2605[_0x30173d(0x22f)](_0x5ee69d,_0x507779[_0x30173d(0x1f6)][_0x30173d(0x20d)][_0x30173d(0x185)]()),_0x3d2605[_0x30173d(0x22f)](_0x5ee69d,_0x507779[_0x30173d(0x22d)][_0x30173d(0x20d)][_0x30173d(0x185)]())),_0x11cb85=new _0x68fc1c(_0x3da6b8,null,_0x5f4ec5,_0x3d2605[_0x30173d(0x1e8)],!0x0,_0x34738f++);_0x40f2c4[_0x30173d(0x1cd)](_0x11cb85);}}if(_0x3356e6)for(const [_0x52029b,_0x358c4c]of Object[_0x30173d(0x1c9)](_0x3356e6)){const _0xa8e67=_0x3d2605[_0x30173d(0x1b5)][_0x30173d(0x1f3)](_0x52029b);if(!_0xa8e67)throw new _0x2d0d1f(_0x30173d(0x23c),null);for(const [_0x12a41b,_0x10e78e]of Object[_0x30173d(0x1c9)](_0x358c4c))if(null!==_0x10e78e){const _0x3b5f04=new _0x5a9052(_0xa8e67,_0x12a41b,null,_0x10e78e,_0x34738f++);_0x40f2c4[_0x30173d(0x1cd)](_0x3b5f04);}}return _0x40f2c4;}async[_0x5350ce(0x22e)](_0xcd9711,_0x5efd67,_0x59377b){const _0x340bd4=_0x5350ce;this[_0x340bd4(0x250)]({[_0xcd9711]:_0x5efd67},{[_0xcd9711]:_0x59377b})[_0x340bd4(0x1b6)]((_0x253372,_0x2e0642)=>{const _0x3579d8=_0x340bd4;_0x253372[_0x3579d8(0x1b4)]=this[_0x3579d8(0x276)][_0x3579d8(0x225)]+_0x2e0642,_0x253372[_0x3579d8(0x1cb)]=!0x0,this[_0x3579d8(0x1e5)](_0x253372);}),this[_0x340bd4(0x17e)](),await this[_0x340bd4(0x1ac)]();}async[_0x5350ce(0x20e)](_0x25c665,_0x40fb9d){const _0x550af3=_0x5350ce;let _0x3869bd;this[_0x550af3(0x1cf)]=_0x25c665[_0x550af3(0x18e)];const _0x25f4ea=_0x25c665[_0x550af3(0x1c2)]&&!_0x25c665[_0x550af3(0x191)],_0x3bce77=_0x25f4ea?0x0:_0x25c665[_0x550af3(0x172)][_0x550af3(0x1b4)];if(_0x40fb9d[_0x550af3(0x1b6)](_0x273ef0=>{const _0x3e43f5=_0x550af3;_0x273ef0[_0x3e43f5(0x1cb)]=!0x0,_0x273ef0[_0x3e43f5(0x198)]=_0x25c665[_0x3e43f5(0x1bf)],_0x273ef0[_0x3e43f5(0x1f1)]=null;}),_0x25f4ea)_0x3869bd=_0x40fb9d,this[_0x550af3(0x1f7)](_0x3869bd,_0x25f4ea);else{if(_0x25c665[_0x550af3(0x191)]){const _0x2571e5=this[_0x550af3(0x250)](_0x25c665[_0x550af3(0x191)]);this[_0x550af3(0x276)][_0x550af3(0x272)][_0x550af3(0x225)]=-_0x2571e5[_0x550af3(0x1d8)],_0x2571e5[_0x550af3(0x1b6)](_0x9c3ab0=>{const _0x44289f=_0x550af3;_0x9c3ab0[_0x44289f(0x1b4)]-=_0x2571e5[_0x44289f(0x1d8)],_0x9c3ab0[_0x44289f(0x198)]=_0x25c665[_0x44289f(0x1bf)],_0x9c3ab0[_0x44289f(0x1cb)]=!0x0,_0x9c3ab0[_0x44289f(0x1f1)]=null;}),this[_0x550af3(0x1f7)](_0x2571e5,!0x0),this[_0x550af3(0x1be)][_0x550af3(0x225)]=-_0x2571e5[_0x550af3(0x1d8)]+this[_0x550af3(0x1cf)],this[_0x550af3(0x22c)](_0x2571e5);}this[_0x550af3(0x276)][_0x550af3(0x272)][_0x550af3(0x225)]=_0x3bce77,_0x3869bd=this[_0x550af3(0x24c)](_0x25c665[_0x550af3(0x172)],_0x25c665[_0x550af3(0x1f2)]),await this[_0x550af3(0x1dd)](_0x3869bd),this[_0x550af3(0x1f7)](_0x3869bd,_0x25f4ea);}_0x25c665[_0x550af3(0x17a)]&&(this[_0x550af3(0x1d1)][_0x550af3(0x231)](_0x3869bd,_0x25c665[_0x550af3(0x17a)]),this[_0x550af3(0x188)]=_0x25c665[_0x550af3(0x17a)]),this[_0x550af3(0x1be)][_0x550af3(0x225)]=_0x3bce77+this[_0x550af3(0x1cf)],this[_0x550af3(0x22c)](_0x3869bd),_0x40fb9d[_0x550af3(0x1e2)](_0x40bb46=>{const _0xba9f03=_0x550af3,_0x4cb6d5=this[_0xba9f03(0x222)](_0x40bb46);return _0x4cb6d5&&!this[_0xba9f03(0x241)][_0xba9f03(0x1b2)](_0x4cb6d5);})[_0x550af3(0x1b6)]((_0x300836,_0x258101)=>{const _0x2e7629=_0x550af3;_0x300836[_0x2e7629(0x1b4)]=this[_0x2e7629(0x276)][_0x2e7629(0x225)]+_0x258101,this[_0x2e7629(0x1e5)](_0x300836);}),this[_0x550af3(0x207)]()?(this[_0x550af3(0x1ce)]=0x0,this[_0x550af3(0x17e)](!0x0),await this[_0x550af3(0x1ac)]()):(this[_0x550af3(0x183)]=!0x1,this[_0x550af3(0x23d)]());}[_0x5350ce(0x1e9)](_0x18297e,_0x386253){const _0x49cb6f=_0x5350ce,_0x4a8925=_0x386253&&_0x386253[_0x49cb6f(0x1a4)];if(_0x4a8925&&_0x4a8925[_0x49cb6f(0x22b)](_0x49cb6f(0x1c3)))throw _0x386253;const _0x242b46=this[_0x49cb6f(0x25d)][_0x49cb6f(0x192)][_0x49cb6f(0x216)](_0x46ff47);throw this[_0x49cb6f(0x183)]=!0x0,_0x242b46[_0x49cb6f(0x274)](),this[_0x49cb6f(0x25d)][_0x49cb6f(0x1d5)](_0x49cb6f(0x1d7)),new _0x2d0d1f(_0x18297e,this[_0x49cb6f(0x25d)],_0x4a8925?{'originalError':_0x4a8925}:void 0x0);}[_0x5350ce(0x1e5)](_0x374530){const _0x5e2efe=_0x5350ce;this[_0x5e2efe(0x238)][_0x5e2efe(0x1b2)](_0x374530)||(this[_0x5e2efe(0x238)][_0x5e2efe(0x270)](_0x374530),this[_0x5e2efe(0x1f5)][_0x5e2efe(0x1cd)](_0x374530),this[_0x5e2efe(0x1e6)]||_0x5e2efe(0x1b1)==_0x374530[_0x5e2efe(0x267)]&&!_0x374530[_0x5e2efe(0x1c5)]||this[_0x5e2efe(0x249)]());}[_0x5350ce(0x17e)](_0x4a21ae=!0x1){const _0x41b50d=_0x5350ce;!_0x4a21ae&&this[_0x41b50d(0x183)]||(this[_0x41b50d(0x183)]=!0x0,clearTimeout(this[_0x41b50d(0x194)]),this[_0x41b50d(0x194)]=setTimeout(()=>{const _0x4743e2=_0x41b50d;this[_0x4743e2(0x246)]()[_0x4743e2(0x1e7)](_0x28ecb3=>{const _0x1a3ed9=_0x4743e2;_0x28ecb3&&(this[_0x1a3ed9(0x23d)](),this[_0x1a3ed9(0x183)]=!0x1);})[_0x4743e2(0x182)](_0x5c7c6e=>{const _0xc51e15=_0x4743e2;this[_0xc51e15(0x23d)](),this[_0xc51e15(0x183)]=!0x1,function(_0x4a47b8){const _0x4ad623=_0xc51e15;return _0x4a47b8[_0x4ad623(0x1a4)][_0x4ad623(0x22b)](_0x4ad623(0x17f))||_0x4a47b8[_0x4ad623(0x1a4)][_0x4ad623(0x22b)](_0x4ad623(0x233))||_0x4a47b8[_0x4ad623(0x1a4)][_0x4ad623(0x22b)](_0x4ad623(0x21a));}(_0x5c7c6e)||this[_0xc51e15(0x1e9)](_0x5c7c6e[_0xc51e15(0x1a4)],_0x5c7c6e);});},this[_0x41b50d(0x1ce)]));}[_0x5350ce(0x1ac)](){return new Promise(_0x29d1f4=>{const _0x2add72=_0x2931;this['on'](_0x2add72(0x1ad),()=>{_0x29d1f4();});});}async[_0x5350ce(0x246)](){const _0x3c8fed=_0x5350ce,_0x572b1e=this[_0x3c8fed(0x25d)][_0x3c8fed(0x192)][_0x3c8fed(0x216)](_0x457bc1);if(this[_0x3c8fed(0x195)]()&&(_0x572b1e[_0x3c8fed(0x1c7)](),this[_0x3c8fed(0x232)]=!0x1),!this[_0x3c8fed(0x207)]())return!0x0;const _0x16be50=[...this[_0x3c8fed(0x1f5)]];for(const _0x6b09af of _0x16be50)_0x6b09af[_0x3c8fed(0x268)]=this[_0x3c8fed(0x276)][_0x3c8fed(0x272)][_0x3c8fed(0x269)](_0x6b09af);const _0x335bc0=this[_0x3c8fed(0x1d1)][_0x3c8fed(0x263)](_0x16be50),_0x149a95=K++,_0x1c2cd7=this[_0x3c8fed(0x19d)](_0x16be50),_0x3bef56=await this[_0x3c8fed(0x1ee)][_0x3c8fed(0x1ec)](_0x1c2cd7,_0x1c2cd7[_0x3c8fed(0x1b4)],_0x335bc0);try{return await this[_0x3c8fed(0x23b)](_0x16be50,_0x3bef56,_0x149a95);}catch(_0x2e0f7b){return this[_0x3c8fed(0x1e9)](_0x3c8fed(0x214),_0x2e0f7b);}}async[_0x5350ce(0x23b)](_0x569e18,_0xb25633,_0x1ed297){const _0x1a1955=_0x5350ce;if(_0x1a1955(0x17d)in _0xb25633)throw _0xb25633[_0x1a1955(0x17d)];let _0x4c79fa=!0x1;if(_0xb25633[_0x1a1955(0x1c2)]){_0xb25633[_0x1a1955(0x17a)]&&(this[_0x1a1955(0x188)]=_0xb25633[_0x1a1955(0x17a)]),this[_0x1a1955(0x1f5)]=this[_0x1a1955(0x1f5)][_0x1a1955(0x1e2)](_0x4c6b63=>!_0x569e18[_0x1a1955(0x256)](_0x4c6b63));for(const _0x31cf4c of _0x569e18)_0x31cf4c[_0x1a1955(0x198)]=_0x1a1955(0x243)in _0xb25633&&_0xb25633[_0x1a1955(0x243)]||void 0x0;Q(_0x569e18,_0xb25633[_0x1a1955(0x225)]-_0x569e18[_0x1a1955(0x1d8)]),this[_0x1a1955(0x22c)](_0x569e18);const _0x15ada4=_0x569e18[_0x1a1955(0x1e2)](_0x350192=>{const _0x426cb1=_0x1a1955;if(!_0x350192[_0x426cb1(0x1cb)])return!0x1;const _0x4a1115=this[_0x426cb1(0x222)](_0x350192);return _0x4a1115&&!this[_0x426cb1(0x241)][_0x426cb1(0x1b2)](_0x4a1115);});Q(_0x15ada4,this[_0x1a1955(0x276)][_0x1a1955(0x225)]),this[_0x1a1955(0x1f7)](_0x15ada4),_0x4c79fa=!0x0,this[_0x1a1955(0x1ce)]=this[_0x1a1955(0x219)];}else{const _0x4982ce=this[_0x1a1955(0x24c)](_0xb25633[_0x1a1955(0x172)],_0xb25633[_0x1a1955(0x1f2)])[_0x1a1955(0x1e2)](_0x5809d7=>_0x5809d7[_0x1a1955(0x1b4)]>=this[_0x1a1955(0x1e0)]);_0x4982ce[_0x1a1955(0x1b6)](_0x58d054=>this[_0x1a1955(0x1ed)](_0x58d054)),this[_0x1a1955(0x1f5)]=this[_0x1a1955(0x1f5)][_0x1a1955(0x1e2)](_0x40e504=>!_0x40e504[_0x1a1955(0x1cb)]||!this[_0x1a1955(0x241)][_0x1a1955(0x1b2)](this[_0x1a1955(0x222)](_0x40e504))),this[_0x1a1955(0x1f5)][_0x1a1955(0x1d8)]&&Q(this[_0x1a1955(0x1f5)],this[_0x1a1955(0x1f5)][0x0][_0x1a1955(0x1b4)]),await this[_0x1a1955(0x1dd)](_0x4982ce),_0x4c79fa=this[_0x1a1955(0x261)](_0x4982ce,_0xb25633[_0x1a1955(0x225)],_0xb25633[_0x1a1955(0x17a)]),this[_0x1a1955(0x1ce)]=Math[_0x1a1955(0x1dc)](this[_0x1a1955(0x1ce)]/0x2);}return _0x4c79fa?!this[_0x1a1955(0x207)]()||(this[_0x1a1955(0x17e)](!0x0),!0x1):this[_0x1a1955(0x1e9)](_0x1a1955(0x202));}[_0x5350ce(0x261)](_0x2104b7,_0x2829de,_0x4e703e){const _0x3a0698=_0x5350ce;try{const _0x31cc03={'document':this[_0x3a0698(0x276)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x2e9719,operationsB:_0x679399,originalOperations:_0x2237e0}=_0x365332(_0x2104b7,this[_0x3a0698(0x1f5)],_0x31cc03);Q(_0x2e9719,this[_0x3a0698(0x276)][_0x3a0698(0x225)]),Q(_0x679399,_0x2829de);for(const _0x2e8379 of _0x2e9719){const _0x43b066=_0x2237e0[_0x3a0698(0x216)](_0x2e8379);_0x2e8379[_0x3a0698(0x1f1)]=_0x43b066?_0x43b066[_0x3a0698(0x1f1)]:null;}_0x4e703e&&(this[_0x3a0698(0x1d1)][_0x3a0698(0x231)](_0x2104b7,_0x4e703e),this[_0x3a0698(0x188)]=_0x4e703e),this[_0x3a0698(0x1f5)]=[..._0x679399],this[_0x3a0698(0x1f7)](_0x2e9719),this[_0x3a0698(0x22c)](_0x2104b7);}catch(_0x5d9b3e){return console[_0x3a0698(0x17d)](_0x5d9b3e),!0x1;}return!0x0;}[_0x5350ce(0x1f7)](_0x5dda88,_0x3debfe=!0x1){const _0x30a899=_0x5350ce;this[_0x30a899(0x25d)][_0x30a899(0x1d6)][_0x30a899(0x1bb)]({'isUndoable':!0x1,'isLocal':!0x1},_0x544fc8=>{const _0x595ee4=_0x30a899;for(const _0x29c3cf of _0x5dda88)this[_0x595ee4(0x238)][_0x595ee4(0x270)](_0x29c3cf),this[_0x595ee4(0x1ed)](_0x29c3cf),_0x544fc8[_0x595ee4(0x21d)][_0x595ee4(0x242)](_0x29c3cf),this[_0x595ee4(0x25d)][_0x595ee4(0x1d6)][_0x595ee4(0x247)](_0x29c3cf);});}[_0x5350ce(0x1ed)](_0x312f86){const _0x343e79=_0x5350ce,_0xf95b14=this[_0x343e79(0x222)](_0x312f86);_0xf95b14&&this[_0x343e79(0x241)][_0x343e79(0x270)](_0xf95b14);}[_0x5350ce(0x222)](_0x53f66a){const _0x439f2f=_0x5350ce;let _0x1d4230,_0x2cb95a;switch(_0x53f66a[_0x439f2f(0x267)]){case _0x439f2f(0x176):_0x1d4230=_0x53f66a[_0x439f2f(0x259)][_0x439f2f(0x24a)];break;case _0x439f2f(0x1b1):if(_0x2cb95a=_0x53f66a[_0x439f2f(0x196)],!_0x2cb95a)return null;_0x1d4230=_0x2cb95a[_0x439f2f(0x24a)];break;case _0x439f2f(0x20b):_0x1d4230=_0x53f66a[_0x439f2f(0x24a)];break;case _0x439f2f(0x254):_0x1d4230=_0x53f66a[_0x439f2f(0x1d0)];break;case _0x439f2f(0x237):_0x1d4230=_0x53f66a[_0x439f2f(0x252)][_0x439f2f(0x24a)];break;default:return null;}return _0x1d4230[_0x439f2f(0x1a9)];}[_0x5350ce(0x22c)](_0x25fc83){const _0x5459d5=_0x5350ce;_0x25fc83[_0x5459d5(0x1b6)](_0x1b0ce0=>{const _0x5b8572=_0x5459d5,_0x14a43b=_0x1b0ce0[_0x5b8572(0x21b)]();_0x14a43b[_0x5b8572(0x1f1)]=_0x1b0ce0[_0x5b8572(0x1f1)],_0x14a43b[_0x5b8572(0x1cb)]=!!_0x1b0ce0[_0x5b8572(0x1cb)],_0x14a43b[_0x5b8572(0x198)]=_0x1b0ce0[_0x5b8572(0x198)],_0x14a43b[_0x5b8572(0x1b4)]+=this[_0x5b8572(0x1cf)],_0x1b0ce0[_0x5b8572(0x1a0)]&&this[_0x5b8572(0x217)][_0x5b8572(0x270)](_0x14a43b),this[_0x5b8572(0x1be)][_0x5b8572(0x242)](_0x14a43b);});}[_0x5350ce(0x18c)](_0x110c85){const _0x26e9f0=_0x5350ce,_0x531958=this[_0x26e9f0(0x25d)][_0x26e9f0(0x192)][_0x26e9f0(0x216)](_0x26e9f0(0x208)),_0x4d76bf=this[_0x26e9f0(0x25d)][_0x26e9f0(0x1a7)];_0x110c85||(_0x110c85=_0x11e4bc(_0x4d76bf,_0x26e9f0(0x1ef))),_0x531958[_0x26e9f0(0x1a5)](_0x110c85,{'title':_0x11e4bc(_0x4d76bf,_0x26e9f0(0x23f)),'namespace':_0x26e9f0(0x221)}),this[_0x26e9f0(0x178)]=!0x0,clearTimeout(this[_0x26e9f0(0x194)]),this[_0x26e9f0(0x1f5)]=[],this[_0x26e9f0(0x25d)][_0x26e9f0(0x192)][_0x26e9f0(0x216)](_0x46ff47)[_0x26e9f0(0x274)]();}[_0x5350ce(0x249)](){const _0x2b1ada=_0x5350ce;this[_0x2b1ada(0x1e6)]||(this[_0x2b1ada(0x1e6)]=this[_0x2b1ada(0x25d)][_0x2b1ada(0x192)][_0x2b1ada(0x216)](_0x2d2b47)[_0x2b1ada(0x270)](_0x11e4bc(this[_0x2b1ada(0x25d)][_0x2b1ada(0x1a7)],_0x2b1ada(0x23e))));}[_0x5350ce(0x23d)](){const _0x391c55=_0x5350ce;this[_0x391c55(0x1e6)]&&(this[_0x391c55(0x25d)][_0x391c55(0x192)][_0x391c55(0x216)](_0x2d2b47)[_0x391c55(0x275)](this[_0x391c55(0x1e6)]),this[_0x391c55(0x1e6)]=null);}[_0x5350ce(0x19d)](_0x30b959){const _0x278287=_0x5350ce,_0xe02f1f=_0x30b959[_0x278287(0x25c)](_0x39cd35=>_0x39cd35[_0x278287(0x1c6)]());return this[_0x278287(0x212)][_0x278287(0x18a)](_0xe02f1f);}[_0x5350ce(0x24c)](_0x18cee4,_0x427cbc){const _0x222752=_0x5350ce;return this[_0x222752(0x212)][_0x222752(0x265)](_0x18cee4)[_0x222752(0x25c)]((_0xc70469,_0x5b8927)=>{const _0x3beefb=_0x222752,_0x15f0e2=_0x3beefb(0x174)==_0x427cbc[_0x5b8927][_0x3beefb(0x267)];if(_0x3beefb(0x24e)==_0xc70469[_0x3beefb(0x18d)]){const _0x7d1e87=_0xc70469[_0x3beefb(0x259)][_0x3beefb(0x24a)];!this[_0x3beefb(0x276)][_0x3beefb(0x1f3)](_0x7d1e87)&&(this[_0x3beefb(0x276)][_0x3beefb(0x204)](_0x3beefb(0x1fe),_0x7d1e87)[_0x3beefb(0x19f)]=!0x1);}const _0x51cd52=_0xa6e666[_0x3beefb(0x26c)](_0xc70469,this[_0x3beefb(0x276)]);return _0x51cd52[_0x3beefb(0x268)]=_0xc70469[_0x3beefb(0x268)],_0x51cd52[_0x3beefb(0x1cb)]=_0x15f0e2,_0x51cd52[_0x3beefb(0x1f1)]=_0x15f0e2?null:_0x427cbc[_0x5b8927][_0x3beefb(0x197)],_0x51cd52[_0x3beefb(0x1a0)]=_0x3beefb(0x213)===_0x427cbc[_0x5b8927][_0x3beefb(0x267)],_0x51cd52[_0x3beefb(0x198)]=_0x427cbc[_0x5b8927][_0x3beefb(0x198)],_0x51cd52;});}[_0x5350ce(0x23a)](){const _0x114304=_0x5350ce;this[_0x114304(0x232)]=!0x0,this[_0x114304(0x195)]()?this[_0x114304(0x17e)]():this[_0x114304(0x232)]=!0x1;}[_0x5350ce(0x195)](){const _0x2b9d7c=_0x5350ce,_0x15fd09=this[_0x2b9d7c(0x25d)][_0x2b9d7c(0x192)][_0x2b9d7c(0x216)](_0x3ff351)[_0x2b9d7c(0x17c)][_0x2b9d7c(0x216)](this[_0x2b9d7c(0x205)]);return!this[_0x2b9d7c(0x25d)][_0x2b9d7c(0x1ca)]&&!!_0x15fd09&&_0x15fd09[_0x2b9d7c(0x1d8)]>0x1&&this[_0x2b9d7c(0x232)];}[_0x5350ce(0x207)](){const _0x9e2027=_0x5350ce;return this[_0x9e2027(0x1f5)][_0x9e2027(0x1d8)]>0x0||this[_0x9e2027(0x195)]();}}function _0x4f12(){const _0x4d0908=['cloudDocumentVersion','_sendBufferedOperationsDelayId','_shouldSendSelectionUpdate','newRange','userId','createdAt','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','string','view','pluginName','_compressOperations','attributes','_isAttached','_isDisconnection','rootsAttributes','realtimecollaborationclient-init-non-existent-root','removeFromReconnectionStack','message','showWarning','connection','locale','getDocumentDetails','rootName','991540krSmoa','code','_waitUntilSynced','change:_isPendingUpdate','RealTimeCollaborationClient','return','reset','marker','has','suppressErrorInCollaboration','baseVersion','document','forEach','_initSessionsHandling','collaboration','loadRoot','define','enqueueChange','addToReconnectionStack','fire','serverHistory','sessionCreatedAt','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.','roots','wereChangesApplied','realtimecollaborationclient','from','affectsData','toJSON','createUserMarkerOperations','keys','entries','isReadOnly','_isInit','realtimecollaborationclient-init-service-incorrect-server-operation','push','_currentBufferDelay','_offset','affectedSelectable','_operationIdentifier','_connectService','set','CollaborativeEditingService','enableReadOnlyMode','model','realtimecollaborationclient-error','length','404','editing','lastDocumentSession','round','_fetchMissingUsers','getOperations','_isEditingAllowed','_lastServerVersion','addUser','filter','setPermissions','differ','_saveOperationInBuffer','_pendingAction','then','markers','_crash','operationsReceived','getConnectedSessions','sendOperations','_addKnownRoot','_service','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.','_handleSendingSelectionMarkers','_authorId','metadata','getRoot','realtimecollaborationclient-init-session-connection-error','_bufferedOperations','start','_applyOperationsSet','72kPClmC','connect','CommentsOnly','directChange','lastSyncVersion','_handleReconnectionResponse','$root','state','889651xjVfqr','_handleReceivedOperations','realtimecollaborationclient-handleserverresponse','document:write','createRoot','_channelId','Permissions','_shouldSendUpdate','Notification','rtc-offline','ready','addRootAttribute','_isLoaded','path','_handleInitialConnectionData','140VfuARU','_bufferRootLoad','isOfficialPlugin','_compressor','cs:removeUser','realtimecollaborationclient-sendbufferedoperations','409','get','_disconnectionOperations','register','_baseBufferDelay','cloud-services-internal-error:\x20Request\x20timeout.','clone','listenTo','batch','_setUpDataInit','apply','2608848WmnTcJ','real-time-collaboration','_getAffectedRoot','config','sessionAdd:','version','isDocumentOperation','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','reconnect','bind','11493IRaLGu','startsWith','_updateServerHistory','end','_loadRoot','createPositionFromPath','currentDocumentSession','setIdForTheLastOperation','_hasSelectionChanged','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','reconnection:\x20flushed\x20session','3003558kJKFEK','_disconnectService','move','_knownOperations','off','_refreshUserSelectionMarkers','_handleServerResponse','multi-root-editor-root-attributes-no-root','_clearPendingAction','PENDING_ACTION_SENDING_DATA','Synchronization\x20issue','getMany','_knownRootNames','addOperation','lastOperationAcceptedAt','size','rtc-destroyed','_sendBufferedOperations','applyOperation','370953HfCKGR','_setPendingAction','root','realtimecollaborationclient-init-connection-failed','_decompressOperations','getUser','InsertOperation','finally','_getOperationsFromInitData','parse','targetPosition','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','addRoot','isEnabled','includes','realtimecollaborationclient-init-document-already-initialized','requires','position','change:range','getOperationAuthor','map','editor','1115332XftrkJ','stopListening','mySessionId','_handleExternalOperations','high','getIdOfTheLastOperation','sessionId','decompress','change:hasDomSelection','type','wasUndone','isUndoneOperation','_operationToId','cloudServices.bundleVersion','fromJSON','stop','permissions','unregister','add','_initThrowingOnDataSet','history','collaboration.channelId','disconnect','remove','_document','disconnected','data','connected','init','5xrIHTm','insert','_isConnected','_hasSynchronizationProblem','disableReadOnlyMode','lastOperationId','selection','channelSessions','error','_sendBufferedOperationsDelayed','cloud-services-internal-error:\x20Not\x20connected.','realtimecollaborationclient-init-service-internal-error','change:_isEditingAllowed','catch','_isPendingUpdate','_connectAfterSessionHasBeenFlushed','slice','destroy','createPositionAt','_lastSyncedOperationId','collaboration-missing-channelid','compress','isPremiumPlugin','_handleReconnectionError','__className','offset','createRange','_ignoredOperations','initData','plugins'];_0x4f12=function(){return _0x4d0908;};return _0x4f12();}l[_0x5350ce(0x1d4)]=_0x2dc116;export default l;class J extends Error{}function Q(_0x10aaa4,_0x4effcf){const _0x35f405=_0x5350ce;for(const _0xb3f53a of _0x10aaa4)_0xb3f53a[_0x35f405(0x1b4)]=_0x4effcf++;}function _0x2931(_0x44dafb,_0x822578){const _0x4f12c6=_0x4f12();return _0x2931=function(_0x2931cb,_0x2364fc){_0x2931cb=_0x2931cb-0x171;let _0x5eb21c=_0x4f12c6[_0x2931cb];return _0x5eb21c;},_0x2931(_0x44dafb,_0x822578);}class X{constructor(_0x5e3a95){const _0x404571=_0x5350ce;this[_0x404571(0x190)]=_0x5e3a95,this[_0x404571(0x26a)]=new WeakMap();}[_0x5350ce(0x263)](_0x239210){const _0x33a1cf=_0x5350ce;let _0x37fa70=_0x239210[_0x33a1cf(0x1d8)];for(;_0x37fa70--;){const _0x58c967=_0x239210[_0x37fa70];if(!this[_0x33a1cf(0x190)][_0x33a1cf(0x1b2)](_0x58c967)){if(!this[_0x33a1cf(0x26a)][_0x33a1cf(0x1b2)](_0x58c967)){const _0xe29d65=_0x4e08cd()[_0x33a1cf(0x185)](0x1,0x12);this[_0x33a1cf(0x26a)][_0x33a1cf(0x1d3)](_0x58c967,_0xe29d65);}return this[_0x33a1cf(0x26a)][_0x33a1cf(0x216)](_0x58c967);}}}[_0x5350ce(0x231)](_0x221b67,_0x3b8216){const _0x2b5c20=_0x5350ce;if(!_0x3b8216)return;let _0x1c17df=_0x221b67[_0x2b5c20(0x1d8)];for(;_0x1c17df--;){const _0x5da0e8=_0x221b67[_0x1c17df];this[_0x2b5c20(0x190)][_0x2b5c20(0x1b2)](_0x5da0e8)||this[_0x2b5c20(0x26a)][_0x2b5c20(0x1d3)](_0x5da0e8,_0x3b8216);}}}
|
|
23
|
+
const _0x291f8c=_0x5539;(function(_0x21f0ac,_0x477ba5){const _0x164943=_0x5539,_0x3686d3=_0x21f0ac();while(!![]){try{const _0x98c9a0=parseInt(_0x164943(0x18c))/0x1*(-parseInt(_0x164943(0x10e))/0x2)+parseInt(_0x164943(0x19e))/0x3+parseInt(_0x164943(0xe3))/0x4*(-parseInt(_0x164943(0xcf))/0x5)+parseInt(_0x164943(0x151))/0x6*(-parseInt(_0x164943(0x192))/0x7)+-parseInt(_0x164943(0xd1))/0x8+parseInt(_0x164943(0x1be))/0x9+parseInt(_0x164943(0x18d))/0xa;if(_0x98c9a0===_0x477ba5)break;else _0x3686d3['push'](_0x3686d3['shift']());}catch(_0x4b36d4){_0x3686d3['push'](_0x3686d3['shift']());}}}(_0x41a1,0xa6e74));import{Plugin as _0x3fec6f,PendingActions as _0x5ea4fa}from'ckeditor5/src/core.js';import{CKEditorError as _0x29c926,version as _0x153d64,uid as _0x225b75}from'ckeditor5/src/utils.js';function _0x5539(_0x3e55bd,_0x1f7951){const _0x41a1cc=_0x41a1();return _0x5539=function(_0x553975,_0x29e46d){_0x553975=_0x553975-0xc1;let _0x539163=_0x41a1cc[_0x553975];return _0x539163;},_0x5539(_0x3e55bd,_0x1f7951);}import{Notification as _0x57b113}from'ckeditor5/src/ui.js';import{transformSets as _0x79e66e,NoOperation as _0x30979b,InsertOperation as _0xcc76f,MarkerOperation as _0x911d8c,RootAttributeOperation as _0x6200fb,OperationFactory as _0x216516,History as _0x43035c}from'ckeditor5/src/engine.js';import _0x452966 from'./websocketgateway.js';import _0x51922d from'./sessions.js';import _0x38e319 from'./usermarkers.js';import{getTranslation as _0xfd2789}from'../common-translations.js';import{Compressor as _0x1578c1}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0xae4b56}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x5db5c8,CollaborativeEditingService as _0x1c2738}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x3fec6f{static get[_0x291f8c(0x1b1)](){return[_0x452966,_0x51922d,_0x38e319,_0x5ea4fa,_0xae4b56,_0x57b113];}static get[_0x291f8c(0x1b8)](){const _0x36f440=_0x291f8c;return _0x36f440(0xde);}static get[_0x291f8c(0x172)](){return!0x0;}static get[_0x291f8c(0xc9)](){return!0x0;}get[_0x291f8c(0x12e)](){const _0x2dae91=_0x291f8c;return this[_0x2dae91(0x181)]+this[_0x2dae91(0x197)];}get[_0x291f8c(0x181)](){const _0x3e085a=_0x291f8c;return this[_0x3e085a(0x167)][_0x3e085a(0x177)]-this[_0x3e085a(0x197)];}get[_0x291f8c(0x1b9)](){const _0x1018de=_0x291f8c,_0x19b0fc=this[_0x1018de(0x167)][_0x1018de(0x1a0)]();for(let _0x3cf8f7=_0x19b0fc[_0x1018de(0x15c)]-0x1;_0x3cf8f7>=0x0;_0x3cf8f7--){const _0x3b82ee=_0x19b0fc[_0x3cf8f7];if(!this[_0x1018de(0x1c5)][_0x1018de(0x1ba)](_0x3b82ee))return _0x3b82ee[_0x1018de(0xc6)]+0x1-this[_0x1018de(0x197)];}return 0x0;}constructor(_0x36e18e){const _0x48be40=_0x291f8c;if(super(_0x36e18e),this[_0x48be40(0x197)]=0x0,this[_0x48be40(0xf1)]=null,this[_0x48be40(0x167)]=new _0x43035c(),this[_0x48be40(0x13a)][_0x48be40(0x18a)][_0x48be40(0x159)](_0x48be40(0x19d),{}),this[_0x48be40(0x14c)]=this[_0x48be40(0x13a)][_0x48be40(0x18a)][_0x48be40(0x176)](_0x48be40(0x1c6)),!this[_0x48be40(0x14c)])throw new _0x29c926(_0x48be40(0x17c),this);const _0x163825=_0x36e18e[_0x48be40(0x18a)][_0x48be40(0x176)](_0x48be40(0x16d))||_0x153d64;this[_0x48be40(0xcd)]=new l[(_0x48be40(0x12a))](_0x163825,this[_0x48be40(0x14c)]),this[_0x48be40(0xe7)]=this[_0x48be40(0x13a)][_0x48be40(0x183)][_0x48be40(0xc2)],this[_0x48be40(0x158)]=new _0x1578c1(),this[_0x48be40(0xd7)]=[],this[_0x48be40(0x18e)]=new WeakSet(),this[_0x48be40(0x121)]=new Set(),this[_0x48be40(0x170)](_0x48be40(0x12d),!0x1),this[_0x48be40(0x170)](_0x48be40(0x132),!0x1),this[_0x48be40(0x117)]=null,this[_0x48be40(0xf5)]=!0x1,this[_0x48be40(0x198)]=null,this[_0x48be40(0x135)]=0x12c,this[_0x48be40(0x16a)]=this[_0x48be40(0x135)],this[_0x48be40(0xdd)]=null,this[_0x48be40(0x1c5)]=new WeakSet(),this[_0x48be40(0x102)]=new X(this[_0x48be40(0x1c5)]);}[_0x291f8c(0x105)](){const _0x4d6842=_0x291f8c,_0x21618c=this[_0x4d6842(0x13a)],_0x11dc27=_0x21618c[_0x4d6842(0xd4)][_0x4d6842(0x176)](_0xae4b56),_0x3985e9=_0x21618c[_0x4d6842(0xd4)][_0x4d6842(0x176)](_0x452966);this[_0x4d6842(0xd5)](_0x11dc27,_0x4d6842(0x139),(_0x17a6c6,_0x579674)=>{const _0x550ce7=_0x4d6842,_0x583473=_0x579674[0x0];_0x583473[_0x550ce7(0x155)]&&(_0x17a6c6[_0x550ce7(0x15e)]=_0x11dc27[_0x550ce7(0x163)](_0x583473[_0x550ce7(0x155)]),_0x17a6c6[_0x550ce7(0x14e)]()),null===_0x583473[_0x550ce7(0x155)]&&(_0x17a6c6[_0x550ce7(0x15e)]=null,_0x17a6c6[_0x550ce7(0x14e)]());},{'priority':_0x4d6842(0x1af)}),this[_0x4d6842(0xd5)](_0x21618c[_0x4d6842(0x183)][_0x4d6842(0xc2)][_0x4d6842(0x19b)],_0x4d6842(0x1c1),(_0x14362b,_0x116abc)=>{const _0x59a658=_0x4d6842;_0x116abc[_0x59a658(0x15f)]&&this[_0x59a658(0x14f)]();}),this[_0x4d6842(0xd5)](_0x21618c[_0x4d6842(0x17a)][_0x4d6842(0xe4)],_0x4d6842(0x1a3),()=>{const _0x1472ef=_0x4d6842;this[_0x1472ef(0x14f)]();}),this[_0x4d6842(0x145)](),_0x21618c[_0x4d6842(0x183)]['on'](_0x4d6842(0x191),(_0x3a8417,_0x7f8464)=>{const _0x5a6db5=_0x4d6842,_0x9ac666=_0x7f8464[0x0];_0x9ac666[_0x5a6db5(0x1a6)]&&(this[_0x5a6db5(0xec)](_0x9ac666),this[_0x5a6db5(0x161)]()&&this[_0x5a6db5(0x12f)]());}),this[_0x4d6842(0x130)](),this[_0x4d6842(0xf9)](_0x4d6842(0x186))['to'](_0x3985e9,_0x4d6842(0x11f),this,_0x4d6842(0x132),(_0x392127,_0x5e3e73)=>_0x4d6842(0x1ab)===_0x392127&&!_0x5e3e73),this['on'](_0x4d6842(0x126),()=>{const _0x1ce949=_0x4d6842;this[_0x1ce949(0x186)]?_0x21618c[_0x1ce949(0x11e)](_0x1ce949(0x108)):_0x21618c[_0x1ce949(0x109)](_0x1ce949(0x108));}),this[_0x4d6842(0x186)]?_0x21618c[_0x4d6842(0x11e)](_0x4d6842(0x108)):_0x21618c[_0x4d6842(0x109)](_0x4d6842(0x108)),this[_0x4d6842(0x170)](_0x4d6842(0x1b4),!0x1);}async[_0x291f8c(0xe8)](){const _0x44147d=_0x291f8c,_0x565914=this[_0x44147d(0x13a)][_0x44147d(0xd4)][_0x44147d(0x176)](_0x51922d),_0x3ff6cd=this[_0x44147d(0x13a)][_0x44147d(0xd4)][_0x44147d(0x176)](_0x452966);try{this[_0x44147d(0x12d)]=!0x0,_0x565914[_0x44147d(0xe6)](this[_0x44147d(0x14c)]);const _0x5926b1=await this[_0x44147d(0xcd)][_0x44147d(0xe8)](_0x3ff6cd[_0x44147d(0x165)],this[_0x44147d(0x1b9)]);await this[_0x44147d(0x162)](_0x5926b1)&&(this[_0x44147d(0x12d)]=!0x1,this[_0x44147d(0x13e)]());const _0x258f50=await this[_0x44147d(0xcd)][_0x44147d(0x16c)]();_0x565914[_0x44147d(0x15a)](this[_0x44147d(0x14c)],_0x258f50),this[_0x44147d(0xe1)](),this[_0x44147d(0x1b4)]=!0x0;}catch(_0xd766c1){if(function(_0x341b90){const _0x117099=_0x44147d;return _0x117099(0xc5)===_0x341b90[_0x117099(0x143)];}(_0xd766c1)&&this[_0x44147d(0xf1)])await this[_0x44147d(0xe5)]();else{if(function(_0x2acb15){const _0x4415cc=_0x44147d;return _0x4415cc(0x133)===_0x2acb15[_0x4415cc(0x143)];}(_0xd766c1)){const _0x1e701e=_0xfd2789(this[_0x44147d(0x13a)][_0x44147d(0xfd)],_0x44147d(0x144));this[_0x44147d(0xf0)](_0x1e701e);}else{if(!(_0xd766c1 instanceof J))throw _0xd766c1;this[_0x44147d(0xf0)]();}}}}[_0x291f8c(0x17e)](){const _0x579028=_0x291f8c,_0x2f9f2f=this[_0x579028(0x13a)][_0x579028(0xd4)][_0x579028(0x176)](_0x452966),_0x4e9fd7=this[_0x579028(0x13a)][_0x579028(0xd4)][_0x579028(0x176)](_0x51922d);this[_0x579028(0x13a)][_0x579028(0x109)](_0x579028(0x10c)),_0x4e9fd7[_0x579028(0x1c4)][_0x579028(0x1ba)](this[_0x579028(0x14c)])&&_0x4e9fd7[_0x579028(0xe6)](this[_0x579028(0x14c)]),_0x2f9f2f[_0x579028(0x10f)](this),this[_0x579028(0x17b)](),super[_0x579028(0x17e)]();}async[_0x291f8c(0x162)](_0xdc83f4){const _0x1eb140=_0x291f8c;if(this[_0x1eb140(0xf1)]!==_0xdc83f4[_0x1eb140(0xf1)]&&this[_0x1eb140(0xdd)]!==_0xdc83f4[_0x1eb140(0xcc)])throw new J();return this[_0x1eb140(0xf1)]=_0xdc83f4[_0x1eb140(0xf1)],this[_0x1eb140(0x19f)]([],{..._0xdc83f4,'wereChangesApplied':!0x1,'data':_0xdc83f4[_0x1eb140(0x178)]},_0x1eb140(0xe8));}async[_0x291f8c(0x142)](_0x11b8cd,_0x5470b5=!0x1){const _0x47bd2d=_0x291f8c,{connection:_0x4bf196}=this[_0x47bd2d(0x13a)][_0x47bd2d(0xd4)][_0x47bd2d(0x176)](_0x452966);l[_0x47bd2d(0x12a)][_0x47bd2d(0x16c)](_0x4bf196,this[_0x47bd2d(0x14c)])[_0x47bd2d(0x150)](_0x2b6122=>this[_0x47bd2d(0x168)](_0x2b6122))[_0x47bd2d(0x190)](_0x2c48c1=>{const _0x4cb94a=_0x47bd2d;this[_0x4cb94a(0xfb)](_0x4cb94a(0x1b5),_0x2c48c1);}),this[_0x47bd2d(0xd5)](this[_0x47bd2d(0xcd)],_0x47bd2d(0x182),this[_0x47bd2d(0x129)][_0x47bd2d(0xf9)](this)),this[_0x47bd2d(0xd5)](this[_0x47bd2d(0xcd)],_0x47bd2d(0x152),(_0x31dc5f,_0x423410)=>{const _0x1c6bb9=_0x47bd2d;this[_0x1c6bb9(0xfb)](_0x1c6bb9(0x16b),_0x423410);}),this[_0x47bd2d(0xd5)](this[_0x47bd2d(0xcd)],_0x47bd2d(0x128),()=>{const _0xf79316=_0x47bd2d;this[_0xf79316(0x1b4)]=!0x1;});const _0x23c8ff=this[_0x47bd2d(0x102)][_0x47bd2d(0x171)](_0x11b8cd);this[_0x47bd2d(0x12d)]=!0x0;const _0x89b198=await this[_0x47bd2d(0xcd)][_0x47bd2d(0x137)](_0x4bf196,this[_0x47bd2d(0xe2)](_0x11b8cd),_0x23c8ff);if(this[_0x47bd2d(0xf1)]=_0x89b198[_0x47bd2d(0xf1)],_0x5470b5){if(!_0x89b198[_0x47bd2d(0x173)])return void this[_0x47bd2d(0xf0)]();this[_0x47bd2d(0x12d)]=!0x1,this[_0x47bd2d(0x13e)](),this[_0x47bd2d(0x167)][_0x47bd2d(0x1b7)](),this[_0x47bd2d(0x197)]=_0x89b198[_0x47bd2d(0xef)],this[_0x47bd2d(0x167)][_0x47bd2d(0x177)]=this[_0x47bd2d(0x197)],await this[_0x47bd2d(0x19f)](_0x11b8cd,_0x89b198,_0x47bd2d(0xdb));}else await this[_0x47bd2d(0x19a)](_0x89b198,_0x11b8cd);this[_0x47bd2d(0xe1)](),this[_0x47bd2d(0x1b4)]=!0x0;}[_0x291f8c(0xe1)](){const _0x48bfbc=_0x291f8c,_0x5007bc=this[_0x48bfbc(0x13a)][_0x48bfbc(0xd4)][_0x48bfbc(0x176)](_0x51922d),_0x349d90=this[_0x48bfbc(0x13a)][_0x48bfbc(0xd4)][_0x48bfbc(0x176)](_0x38e319),_0x51a5ac=_0x5007bc[_0x48bfbc(0x1c4)][_0x48bfbc(0x176)](this[_0x48bfbc(0x14c)]);_0x51a5ac&&_0x51a5ac[_0x48bfbc(0x15c)]>0x1?_0x349d90[_0x48bfbc(0x131)]():this[_0x48bfbc(0xd5)](_0x5007bc,_0x48bfbc(0x1ae)+this[_0x48bfbc(0x14c)],()=>{const _0x1a3ebc=_0x48bfbc;0x2===_0x5007bc[_0x1a3ebc(0x1c4)][_0x1a3ebc(0x176)](this[_0x1a3ebc(0x14c)])[_0x1a3ebc(0x15c)]&&_0x349d90[_0x1a3ebc(0x131)]();});}async[_0x291f8c(0x129)](_0x2434f6,_0x2b9901,_0x5a05b5,_0x1bb6ee){const _0x3b6bac=_0x291f8c;if(!this[_0x3b6bac(0x12d)]&&this[_0x3b6bac(0xe7)][_0x3b6bac(0x177)]==_0x2b9901){const _0x1528a5=this[_0x3b6bac(0x1a4)](_0x5a05b5,_0x1bb6ee);await this[_0x3b6bac(0x116)](_0x1528a5),this[_0x3b6bac(0xff)](_0x1528a5,_0x2b9901,_0x5a05b5[_0x3b6bac(0xcc)])||this[_0x3b6bac(0xfb)](_0x3b6bac(0xfc));}}async[_0x291f8c(0xe5)](){const _0x52d08a=_0x291f8c;this[_0x52d08a(0x17b)]();const {locale:_0x4d0044}=this[_0x52d08a(0x13a)];let _0x209601;try{_0x209601=await this[_0x52d08a(0xcd)][_0x52d08a(0x13f)]();}catch(_0xeda205){const _0x446094=_0xfd2789(_0x4d0044,_0x52d08a(0x164));return void this[_0x52d08a(0xf0)](_0x446094);}const _0xb068a9=_0x209601[_0x52d08a(0x13d)]||_0x209601[_0x52d08a(0xfe)];if(this[_0x52d08a(0xdd)]===_0xb068a9[_0x52d08a(0xcc)])await this[_0x52d08a(0x142)](this[_0x52d08a(0x13a)][_0x52d08a(0x183)][_0x52d08a(0xc2)][_0x52d08a(0xd3)][_0x52d08a(0x1a0)](),!0x0);else{const _0x4c2161=_0xfd2789(_0x4d0044,_0x52d08a(0xc4));this[_0x52d08a(0xf0)](_0x4c2161);}}[_0x291f8c(0x17b)](){const _0x494f08=_0x291f8c;this[_0x494f08(0xcd)][_0x494f08(0x1bf)](),this[_0x494f08(0xd7)]=[],clearTimeout(this[_0x494f08(0x198)]),this[_0x494f08(0x18f)](this[_0x494f08(0xcd)]);}[_0x291f8c(0x168)](_0x41e629){const _0x56804d=_0x291f8c,_0x4085f9=this[_0x56804d(0x13a)][_0x56804d(0xd4)][_0x56804d(0x176)](_0x51922d);this[_0x56804d(0xd5)](_0x4085f9,_0x56804d(0x1ae)+this[_0x56804d(0x14c)],(_0x285613,{session:_0x1cbde9})=>{const _0x11c205=_0x56804d;if(_0x1cbde9['id']===_0x4085f9[_0x11c205(0x169)]){_0x285613[_0x11c205(0x106)]();const _0xf437af=this[_0x11c205(0x13a)][_0x11c205(0xd4)][_0x11c205(0x1ba)](_0x11c205(0x140))&&this[_0x11c205(0x13a)][_0x11c205(0xd4)][_0x11c205(0x176)](_0x11c205(0x140));let _0x14419f=_0x1cbde9[_0x11c205(0x1a1)];_0xf437af&&_0xf437af[_0x11c205(0x19c)]&&(_0x14419f=_0x14419f[_0x11c205(0x146)](_0x5b41ba=>_0x11c205(0xd0)!==_0x5b41ba)),this[_0x11c205(0x13a)][_0x11c205(0xd4)][_0x11c205(0x176)](_0x11c205(0xd8))[_0x11c205(0x160)](_0x14419f,this[_0x11c205(0x14c)]);}}),_0x4085f9[_0x56804d(0x15a)](this[_0x56804d(0x14c)],_0x41e629);}[_0x291f8c(0x145)](){const _0x20d859=_0x291f8c,_0x3092a7=this[_0x20d859(0x13a)][_0x20d859(0x178)][_0x20d859(0x170)];this[_0x20d859(0x13a)][_0x20d859(0x178)][_0x20d859(0x170)]=(..._0x290e18)=>{const _0xfff904=_0x20d859;if(!_0x290e18[_0x290e18[_0xfff904(0x15c)]-0x1][_0xfff904(0x157)])throw new _0x29c926(_0xfff904(0x124),this);_0x3092a7[_0xfff904(0x18b)](this[_0xfff904(0x13a)][_0xfff904(0x178)],_0x290e18);};}[_0x291f8c(0x130)](){const _0x335b40=_0x291f8c;this[_0x335b40(0x13a)][_0x335b40(0x178)]['on'](_0x335b40(0x105),(_0x33859d,[_0x1aef77])=>{const _0xf460bc=_0x335b40;if(this[_0xf460bc(0xe7)][_0xf460bc(0x177)])throw new _0x29c926(_0xf460bc(0xeb),this);_0x33859d[_0xf460bc(0x14e)](),this[_0xf460bc(0x11d)]();const _0x3da549=this[_0xf460bc(0x13a)][_0xf460bc(0x18a)][_0xf460bc(0x176)](_0xf460bc(0x11c)),_0x482a54=this[_0xf460bc(0xc3)](_0x1aef77,_0x3da549);0x0==_0x482a54[_0xf460bc(0x15c)]&&_0x482a54[_0xf460bc(0x147)](new _0x30979b(0x0)),_0x33859d[_0xf460bc(0x15e)]=this[_0xf460bc(0x142)](_0x482a54)[_0xf460bc(0x150)](()=>{const _0x41027a=_0xf460bc;this[_0x41027a(0x13a)][_0x41027a(0xd4)][_0x41027a(0x176)](_0x452966)[_0x41027a(0xdc)](this),this[_0x41027a(0x13a)][_0x41027a(0x178)][_0x41027a(0x17f)](_0x41027a(0xce));})[_0xf460bc(0x190)](_0x50bcd1=>this[_0xf460bc(0xfb)](_0xf460bc(0x1a2),_0x50bcd1))[_0xf460bc(0x107)](()=>this[_0xf460bc(0x13e)]());},{'priority':_0x335b40(0x1af)}),this[_0x335b40(0x13a)]['on'](_0x335b40(0x1c3),async(_0x3e9a45,[_0xe2bc4b,_0x250dfb])=>{const _0x3e2cca=_0x335b40;_0x3e9a45[_0x3e2cca(0x14e)]();const _0x7e57c0=this[_0x3e2cca(0x13a)][_0x3e2cca(0x183)][_0x3e2cca(0xc2)][_0x3e2cca(0x15b)](_0xe2bc4b);if(!this[_0x3e2cca(0x121)][_0x3e2cca(0x1ba)](_0xe2bc4b)){const _0x3a342b=_0x250dfb&&_0x250dfb[_0x3e2cca(0x178)]?_0x250dfb[_0x3e2cca(0x178)]:'',_0x71f7a6=_0x250dfb&&_0x250dfb[_0x3e2cca(0xc8)]?_0x250dfb[_0x3e2cca(0xc8)]:{};await this[_0x3e2cca(0x1ad)](_0xe2bc4b,_0x3a342b,_0x71f7a6);}this[_0x3e2cca(0x13a)][_0x3e2cca(0x183)][_0x3e2cca(0xe0)]({'isUndoable':!0x1},()=>{const _0x2e0cac=_0x3e2cca;_0x7e57c0[_0x2e0cac(0x1b0)]=!0x0,this[_0x2e0cac(0x13a)][_0x2e0cac(0x183)][_0x2e0cac(0xc2)][_0x2e0cac(0x115)][_0x2e0cac(0x120)](_0x7e57c0);});},{'priority':_0x335b40(0x1af)});}async[_0x291f8c(0x116)](_0x5c6f4b){const _0x337bed=_0x291f8c,_0x1bf317=this[_0x337bed(0x13a)][_0x337bed(0xd4)][_0x337bed(0x176)](_0xae4b56),{connection:_0x5639b0}=this[_0x337bed(0x13a)][_0x337bed(0xd4)][_0x337bed(0x176)](_0x452966),_0x201638=new Set();for(const _0x48c2be of _0x5c6f4b){const _0x36e201=_0x48c2be[_0x337bed(0x155)];_0x36e201&&!_0x1bf317[_0x337bed(0x163)](_0x36e201)&&_0x201638[_0x337bed(0x136)](_0x36e201);}if(0x0===_0x201638[_0x337bed(0x114)])return;const _0x3f84f5=await _0x5db5c8[_0x337bed(0x127)](_0x5639b0,Array[_0x337bed(0x104)](_0x201638));for(const _0x191dce of _0x3f84f5)_0x1bf317[_0x337bed(0x163)](_0x191dce['id'])||_0x1bf317[_0x337bed(0x1a5)](_0x191dce);}[_0x291f8c(0xc3)](_0x45c88c,_0x7a2046={}){const _0x304727=_0x291f8c,_0x221dd1=this[_0x304727(0x13a)][_0x304727(0x183)],_0xb45533=[];let _0x34571f=0x0;const _0x5911f3=_0x304727(0x11a)==typeof _0x45c88c?{'main':_0x45c88c}:_0x45c88c;for(const _0x57fb51 of Object[_0x304727(0x1c0)](_0x5911f3)){if(!this[_0x304727(0xe7)][_0x304727(0xc7)][_0x304727(0x1ba)](_0x57fb51))throw new _0x29c926(_0x304727(0x113),this);const _0x172087=this[_0x304727(0x13a)][_0x304727(0x178)][_0x304727(0x1bb)](_0x5911f3[_0x57fb51]),_0x12ff29=this[_0x304727(0xe7)][_0x304727(0x15b)](_0x57fb51),_0x5bc925=new _0xcc76f(_0x221dd1[_0x304727(0xda)](_0x12ff29,0x0),_0x172087,_0x34571f++);_0xb45533[_0x304727(0x147)](_0x5bc925);for(const [_0xd77b7c,_0x496f6c]of _0x172087[_0x304727(0x16e)]){const _0x40c004=_0x221dd1[_0x304727(0x100)](_0x221dd1[_0x304727(0x103)](_0x12ff29,_0x496f6c[_0x304727(0x1a9)][_0x304727(0xea)][_0x304727(0x17d)]()),_0x221dd1[_0x304727(0x103)](_0x12ff29,_0x496f6c[_0x304727(0x195)][_0x304727(0xea)][_0x304727(0x17d)]())),_0x2eab10=new _0x911d8c(_0xd77b7c,null,_0x40c004,_0x221dd1[_0x304727(0x16e)],!0x0,_0x34571f++);_0xb45533[_0x304727(0x147)](_0x2eab10);}}if(_0x7a2046)for(const [_0x37738e,_0x39347e]of Object[_0x304727(0xdf)](_0x7a2046)){const _0x5d674f=_0x221dd1[_0x304727(0xc2)][_0x304727(0x15b)](_0x37738e);if(!_0x5d674f)throw new _0x29c926(_0x304727(0x188),null);for(const [_0x32a881,_0x20754f]of Object[_0x304727(0xdf)](_0x39347e))if(null!==_0x20754f){const _0x293001=new _0x6200fb(_0x5d674f,_0x32a881,null,_0x20754f,_0x34571f++);_0xb45533[_0x304727(0x147)](_0x293001);}}return _0xb45533;}async[_0x291f8c(0x1ad)](_0x5e5ae3,_0x2cea94,_0x19424a){const _0x4f5e59=_0x291f8c;this[_0x4f5e59(0xc3)]({[_0x5e5ae3]:_0x2cea94},{[_0x5e5ae3]:_0x19424a})[_0x4f5e59(0x12c)]((_0x10b9d9,_0x3ab334)=>{const _0x21742f=_0x4f5e59;_0x10b9d9[_0x21742f(0xc6)]=this[_0x21742f(0xe7)][_0x21742f(0x177)]+_0x3ab334,_0x10b9d9[_0x21742f(0xca)]=!0x0,this[_0x21742f(0xec)](_0x10b9d9);}),this[_0x4f5e59(0x12f)](),await this[_0x4f5e59(0x1aa)]();}async[_0x291f8c(0x19a)](_0xb05355,_0x29bc7d){const _0x532190=_0x291f8c;let _0x1caa97;this[_0x532190(0x197)]=_0xb05355[_0x532190(0xef)];const _0x445b2d=_0xb05355[_0x532190(0x173)]&&!_0xb05355[_0x532190(0x16f)],_0x22468c=_0x445b2d?0x0:_0xb05355[_0x532190(0x178)][_0x532190(0xc6)];if(_0x29bc7d[_0x532190(0x12c)](_0x255b4a=>{const _0x401649=_0x532190;_0x255b4a[_0x401649(0xca)]=!0x0,_0x255b4a[_0x401649(0xcb)]=_0xb05355[_0x401649(0x10d)],_0x255b4a[_0x401649(0x155)]=null;}),_0x445b2d)_0x1caa97=_0x29bc7d,this[_0x532190(0xf7)](_0x1caa97,_0x445b2d);else{if(_0xb05355[_0x532190(0x16f)]){const _0x446ae5=this[_0x532190(0xc3)](_0xb05355[_0x532190(0x16f)]);this[_0x532190(0xe7)][_0x532190(0xd3)][_0x532190(0x177)]=-_0x446ae5[_0x532190(0x15c)],_0x446ae5[_0x532190(0x12c)](_0x1b590a=>{const _0x154a6d=_0x532190;_0x1b590a[_0x154a6d(0xc6)]-=_0x446ae5[_0x154a6d(0x15c)],_0x1b590a[_0x154a6d(0xcb)]=_0xb05355[_0x154a6d(0x10d)],_0x1b590a[_0x154a6d(0xca)]=!0x0,_0x1b590a[_0x154a6d(0x155)]=null;}),this[_0x532190(0xf7)](_0x446ae5,!0x0),this[_0x532190(0x167)][_0x532190(0x177)]=-_0x446ae5[_0x532190(0x15c)]+this[_0x532190(0x197)],this[_0x532190(0xf6)](_0x446ae5);}this[_0x532190(0xe7)][_0x532190(0xd3)][_0x532190(0x177)]=_0x22468c,_0x1caa97=this[_0x532190(0x1a4)](_0xb05355[_0x532190(0x178)],_0xb05355[_0x532190(0x1bd)]),await this[_0x532190(0x116)](_0x1caa97),this[_0x532190(0xf7)](_0x1caa97,_0x445b2d);}_0xb05355[_0x532190(0xcc)]&&(this[_0x532190(0x102)][_0x532190(0xc1)](_0x1caa97,_0xb05355[_0x532190(0xcc)]),this[_0x532190(0xdd)]=_0xb05355[_0x532190(0xcc)]),this[_0x532190(0x167)][_0x532190(0x177)]=_0x22468c+this[_0x532190(0x197)],this[_0x532190(0xf6)](_0x1caa97),_0x29bc7d[_0x532190(0x146)](_0x41e9ec=>{const _0x592adb=_0x532190,_0x293066=this[_0x592adb(0x119)](_0x41e9ec);return _0x293066&&!this[_0x592adb(0x121)][_0x592adb(0x1ba)](_0x293066);})[_0x532190(0x12c)]((_0x255bde,_0x306860)=>{const _0x348a16=_0x532190;_0x255bde[_0x348a16(0xc6)]=this[_0x348a16(0xe7)][_0x348a16(0x177)]+_0x306860,this[_0x348a16(0xec)](_0x255bde);}),this[_0x532190(0x161)]()?(this[_0x532190(0x16a)]=0x0,this[_0x532190(0x12f)](!0x0),await this[_0x532190(0x1aa)]()):(this[_0x532190(0x12d)]=!0x1,this[_0x532190(0x13e)]());}[_0x291f8c(0xfb)](_0x21b2df,_0x4adb30){const _0x20e7eb=_0x291f8c,_0x2d72fe=_0x4adb30&&_0x4adb30[_0x20e7eb(0x149)];if(_0x2d72fe&&_0x2d72fe[_0x20e7eb(0x111)](_0x20e7eb(0x134)))throw _0x4adb30;const _0x2b961e=this[_0x20e7eb(0x13a)][_0x20e7eb(0xd4)][_0x20e7eb(0x176)](_0x452966);throw this[_0x20e7eb(0x12d)]=!0x0,_0x2b961e[_0x20e7eb(0x1bf)](),this[_0x20e7eb(0x13a)][_0x20e7eb(0x109)](_0x20e7eb(0x138)),new _0x29c926(_0x21b2df,this[_0x20e7eb(0x13a)],_0x2d72fe?{'originalError':_0x2d72fe}:void 0x0);}[_0x291f8c(0xec)](_0x82def0){const _0x405b15=_0x291f8c;this[_0x405b15(0x18e)][_0x405b15(0x1ba)](_0x82def0)||(this[_0x405b15(0x18e)][_0x405b15(0x136)](_0x82def0),this[_0x405b15(0xd7)][_0x405b15(0x147)](_0x82def0),this[_0x405b15(0x117)]||_0x405b15(0x10a)==_0x82def0[_0x405b15(0x1a8)]&&!_0x82def0[_0x405b15(0x154)]||this[_0x405b15(0x11d)]());}[_0x291f8c(0x12f)](_0x299a7b=!0x1){const _0x32e1f5=_0x291f8c;!_0x299a7b&&this[_0x32e1f5(0x12d)]||(this[_0x32e1f5(0x12d)]=!0x0,clearTimeout(this[_0x32e1f5(0x198)]),this[_0x32e1f5(0x198)]=setTimeout(()=>{const _0x4f2ac6=_0x32e1f5;this[_0x4f2ac6(0xd9)]()[_0x4f2ac6(0x150)](_0x701b66=>{const _0x1d5b88=_0x4f2ac6;_0x701b66&&(this[_0x1d5b88(0x13e)](),this[_0x1d5b88(0x12d)]=!0x1);})[_0x4f2ac6(0x190)](_0x20b1c1=>{const _0x31ccc8=_0x4f2ac6;this[_0x31ccc8(0x13e)](),this[_0x31ccc8(0x12d)]=!0x1,function(_0x3d916f){const _0x4858ef=_0x31ccc8;return _0x3d916f[_0x4858ef(0x149)][_0x4858ef(0x111)](_0x4858ef(0xed))||_0x3d916f[_0x4858ef(0x149)][_0x4858ef(0x111)](_0x4858ef(0xd6))||_0x3d916f[_0x4858ef(0x149)][_0x4858ef(0x111)](_0x4858ef(0x123));}(_0x20b1c1)||this[_0x31ccc8(0xfb)](_0x20b1c1[_0x31ccc8(0x149)],_0x20b1c1);});},this[_0x32e1f5(0x16a)]));}[_0x291f8c(0x1aa)](){return new Promise(_0x88a9bd=>{const _0x44eb1f=_0x5539;this['on'](_0x44eb1f(0xee),()=>{_0x88a9bd();});});}async[_0x291f8c(0xd9)](){const _0x496d59=_0x291f8c,_0x387f4e=this[_0x496d59(0x13a)][_0x496d59(0xd4)][_0x496d59(0x176)](_0x38e319);if(this[_0x496d59(0x174)]()&&(_0x387f4e[_0x496d59(0x131)](),this[_0x496d59(0xf5)]=!0x1),!this[_0x496d59(0x161)]())return!0x0;const _0x40f8a8=[...this[_0x496d59(0xd7)]];for(const _0x5143ef of _0x40f8a8)_0x5143ef[_0x496d59(0x1b2)]=this[_0x496d59(0xe7)][_0x496d59(0xd3)][_0x496d59(0x199)](_0x5143ef);const _0x28e79e=this[_0x496d59(0x102)][_0x496d59(0x171)](_0x40f8a8),_0x430c9d=K++,_0x192181=this[_0x496d59(0xe2)](_0x40f8a8),_0x1addd7=await this[_0x496d59(0xcd)][_0x496d59(0xd2)](_0x192181,_0x192181[_0x496d59(0xc6)],_0x28e79e);try{return await this[_0x496d59(0x19f)](_0x40f8a8,_0x1addd7,_0x430c9d);}catch(_0x32bcf5){return this[_0x496d59(0xfb)](_0x496d59(0x13c),_0x32bcf5);}}async[_0x291f8c(0x19f)](_0x32eb7f,_0x5dda43,_0x3f75e2){const _0x2db1d1=_0x291f8c;if(_0x2db1d1(0x152)in _0x5dda43)throw _0x5dda43[_0x2db1d1(0x152)];let _0x37fd73=!0x1;if(_0x5dda43[_0x2db1d1(0x173)]){_0x5dda43[_0x2db1d1(0xcc)]&&(this[_0x2db1d1(0xdd)]=_0x5dda43[_0x2db1d1(0xcc)]),this[_0x2db1d1(0xd7)]=this[_0x2db1d1(0xd7)][_0x2db1d1(0x146)](_0x2fb26e=>!_0x32eb7f[_0x2db1d1(0x14b)](_0x2fb26e));for(const _0x2a215b of _0x32eb7f)_0x2a215b[_0x2db1d1(0xcb)]=_0x2db1d1(0x175)in _0x5dda43&&_0x5dda43[_0x2db1d1(0x175)]||void 0x0;Q(_0x32eb7f,_0x5dda43[_0x2db1d1(0x177)]-_0x32eb7f[_0x2db1d1(0x15c)]),this[_0x2db1d1(0xf6)](_0x32eb7f);const _0x395646=_0x32eb7f[_0x2db1d1(0x146)](_0x1730e7=>{const _0x128330=_0x2db1d1;if(!_0x1730e7[_0x128330(0xca)])return!0x1;const _0x490d8d=this[_0x128330(0x119)](_0x1730e7);return _0x490d8d&&!this[_0x128330(0x121)][_0x128330(0x1ba)](_0x490d8d);});Q(_0x395646,this[_0x2db1d1(0xe7)][_0x2db1d1(0x177)]),this[_0x2db1d1(0xf7)](_0x395646),_0x37fd73=!0x0,this[_0x2db1d1(0x16a)]=this[_0x2db1d1(0x135)];}else{const _0x1e5b3d=this[_0x2db1d1(0x1a4)](_0x5dda43[_0x2db1d1(0x178)],_0x5dda43[_0x2db1d1(0x1bd)])[_0x2db1d1(0x146)](_0x2ab276=>_0x2ab276[_0x2db1d1(0xc6)]>=this[_0x2db1d1(0x181)]);_0x1e5b3d[_0x2db1d1(0x12c)](_0x51ab8c=>this[_0x2db1d1(0x1c2)](_0x51ab8c)),this[_0x2db1d1(0xd7)]=this[_0x2db1d1(0xd7)][_0x2db1d1(0x146)](_0x5cd484=>!_0x5cd484[_0x2db1d1(0xca)]||!this[_0x2db1d1(0x121)][_0x2db1d1(0x1ba)](this[_0x2db1d1(0x119)](_0x5cd484))),this[_0x2db1d1(0xd7)][_0x2db1d1(0x15c)]&&Q(this[_0x2db1d1(0xd7)],this[_0x2db1d1(0xd7)][0x0][_0x2db1d1(0xc6)]),await this[_0x2db1d1(0x116)](_0x1e5b3d),_0x37fd73=this[_0x2db1d1(0xff)](_0x1e5b3d,_0x5dda43[_0x2db1d1(0x177)],_0x5dda43[_0x2db1d1(0xcc)]),this[_0x2db1d1(0x16a)]=Math[_0x2db1d1(0x153)](this[_0x2db1d1(0x16a)]/0x2);}return _0x37fd73?!this[_0x2db1d1(0x161)]()||(this[_0x2db1d1(0x12f)](!0x0),!0x1):this[_0x2db1d1(0xfb)](_0x2db1d1(0xf3));}[_0x291f8c(0xff)](_0x29fd70,_0x2fd8db,_0x3c7940){const _0x1d9b35=_0x291f8c;try{const _0x478edf={'document':this[_0x1d9b35(0xe7)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xd1159e,operationsB:_0x4b052f,originalOperations:_0x180568}=_0x79e66e(_0x29fd70,this[_0x1d9b35(0xd7)],_0x478edf);Q(_0xd1159e,this[_0x1d9b35(0xe7)][_0x1d9b35(0x177)]),Q(_0x4b052f,_0x2fd8db);for(const _0x54b260 of _0xd1159e){const _0xf6cc17=_0x180568[_0x1d9b35(0x176)](_0x54b260);_0x54b260[_0x1d9b35(0x155)]=_0xf6cc17?_0xf6cc17[_0x1d9b35(0x155)]:null;}_0x3c7940&&(this[_0x1d9b35(0x102)][_0x1d9b35(0xc1)](_0x29fd70,_0x3c7940),this[_0x1d9b35(0xdd)]=_0x3c7940),this[_0x1d9b35(0xd7)]=[..._0x4b052f],this[_0x1d9b35(0xf7)](_0xd1159e),this[_0x1d9b35(0xf6)](_0x29fd70);}catch(_0x3bf93d){return console[_0x1d9b35(0x152)](_0x3bf93d),!0x1;}return!0x0;}[_0x291f8c(0xf7)](_0x24eb4e,_0x46a124=!0x1){const _0x3aa8d3=_0x291f8c;this[_0x3aa8d3(0x13a)][_0x3aa8d3(0x183)][_0x3aa8d3(0xe0)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3c99d0=>{const _0x2387b5=_0x3aa8d3;for(const _0x46780e of _0x24eb4e)this[_0x2387b5(0x18e)][_0x2387b5(0x136)](_0x46780e),this[_0x2387b5(0x1c2)](_0x46780e),_0x3c99d0[_0x2387b5(0x194)][_0x2387b5(0x122)](_0x46780e),this[_0x2387b5(0x13a)][_0x2387b5(0x183)][_0x2387b5(0x191)](_0x46780e);});}[_0x291f8c(0x1c2)](_0x2f69aa){const _0x4d31e9=_0x291f8c,_0x4fa642=this[_0x4d31e9(0x119)](_0x2f69aa);_0x4fa642&&this[_0x4d31e9(0x121)][_0x4d31e9(0x136)](_0x4fa642);}[_0x291f8c(0x119)](_0xa61158){const _0xce3df7=_0x291f8c;let _0xbc3108,_0xed2c23;switch(_0xa61158[_0xce3df7(0x1a8)]){case _0xce3df7(0x196):_0xbc3108=_0xa61158[_0xce3df7(0x185)][_0xce3df7(0x1bc)];break;case _0xce3df7(0x10a):if(_0xed2c23=_0xa61158[_0xce3df7(0x110)],!_0xed2c23)return null;_0xbc3108=_0xed2c23[_0xce3df7(0x1bc)];break;case _0xce3df7(0x1a7):_0xbc3108=_0xa61158[_0xce3df7(0x1bc)];break;case _0xce3df7(0xf4):_0xbc3108=_0xa61158[_0xce3df7(0x187)];break;case _0xce3df7(0x189):_0xbc3108=_0xa61158[_0xce3df7(0x180)][_0xce3df7(0x1bc)];break;default:return null;}return _0xbc3108[_0xce3df7(0x11b)];}[_0x291f8c(0xf6)](_0xec89af){const _0x5f440c=_0x291f8c;_0xec89af[_0x5f440c(0x12c)](_0x46f670=>{const _0x443867=_0x5f440c,_0x141b34=_0x46f670[_0x443867(0x12b)]();_0x141b34[_0x443867(0x155)]=_0x46f670[_0x443867(0x155)],_0x141b34[_0x443867(0xca)]=!!_0x46f670[_0x443867(0xca)],_0x141b34[_0x443867(0xcb)]=_0x46f670[_0x443867(0xcb)],_0x141b34[_0x443867(0xc6)]+=this[_0x443867(0x197)],_0x46f670[_0x443867(0x184)]&&this[_0x443867(0x1c5)][_0x443867(0x136)](_0x141b34),this[_0x443867(0x167)][_0x443867(0x122)](_0x141b34);});}[_0x291f8c(0xf0)](_0x56f1e3){const _0x15fd05=_0x291f8c,_0x100c8d=this[_0x15fd05(0x13a)][_0x15fd05(0xd4)][_0x15fd05(0x176)](_0x15fd05(0x156)),_0x14f4f1=this[_0x15fd05(0x13a)][_0x15fd05(0xfd)];_0x56f1e3||(_0x56f1e3=_0xfd2789(_0x14f4f1,_0x15fd05(0x10b))),_0x100c8d[_0x15fd05(0x14a)](_0x56f1e3,{'title':_0xfd2789(_0x14f4f1,_0x15fd05(0x179)),'namespace':_0x15fd05(0x125)}),this[_0x15fd05(0x132)]=!0x0,clearTimeout(this[_0x15fd05(0x198)]),this[_0x15fd05(0xd7)]=[],this[_0x15fd05(0x13a)][_0x15fd05(0xd4)][_0x15fd05(0x176)](_0x452966)[_0x15fd05(0x1bf)]();}[_0x291f8c(0x11d)](){const _0x53ff24=_0x291f8c;this[_0x53ff24(0x117)]||(this[_0x53ff24(0x117)]=this[_0x53ff24(0x13a)][_0x53ff24(0xd4)][_0x53ff24(0x176)](_0x5ea4fa)[_0x53ff24(0x136)](_0xfd2789(this[_0x53ff24(0x13a)][_0x53ff24(0xfd)],_0x53ff24(0x13b))));}[_0x291f8c(0x13e)](){const _0x519f4c=_0x291f8c;this[_0x519f4c(0x117)]&&(this[_0x519f4c(0x13a)][_0x519f4c(0xd4)][_0x519f4c(0x176)](_0x5ea4fa)[_0x519f4c(0x101)](this[_0x519f4c(0x117)]),this[_0x519f4c(0x117)]=null);}[_0x291f8c(0xe2)](_0x2012e9){const _0x5a9a3c=_0x291f8c,_0x4c3a32=_0x2012e9[_0x5a9a3c(0xf2)](_0x2bf4db=>_0x2bf4db[_0x5a9a3c(0x118)]());return this[_0x5a9a3c(0x158)][_0x5a9a3c(0x166)](_0x4c3a32);}[_0x291f8c(0x1a4)](_0x424f61,_0x5731d5){const _0x5e29cc=_0x291f8c;return this[_0x5e29cc(0x158)][_0x5e29cc(0x141)](_0x424f61)[_0x5e29cc(0xf2)]((_0x18fdaf,_0x491b0c)=>{const _0x371f23=_0x5e29cc,_0x5589e4=_0x371f23(0x105)==_0x5731d5[_0x491b0c][_0x371f23(0x1a8)];if(_0x371f23(0x148)==_0x18fdaf[_0x371f23(0x1b3)]){const _0x30ff20=_0x18fdaf[_0x371f23(0x185)][_0x371f23(0x1bc)];!this[_0x371f23(0xe7)][_0x371f23(0x15b)](_0x30ff20)&&(this[_0x371f23(0xe7)][_0x371f23(0x193)](_0x371f23(0x1b6),_0x30ff20)[_0x371f23(0xe9)]=!0x1);}const _0x4fdb48=_0x216516[_0x371f23(0xf8)](_0x18fdaf,this[_0x371f23(0xe7)]);return _0x4fdb48[_0x371f23(0x1b2)]=_0x18fdaf[_0x371f23(0x1b2)],_0x4fdb48[_0x371f23(0xca)]=_0x5589e4,_0x4fdb48[_0x371f23(0x155)]=_0x5589e4?null:_0x5731d5[_0x491b0c][_0x371f23(0x1ac)],_0x4fdb48[_0x371f23(0x184)]=_0x371f23(0x15d)===_0x5731d5[_0x491b0c][_0x371f23(0x1a8)],_0x4fdb48[_0x371f23(0xcb)]=_0x5731d5[_0x491b0c][_0x371f23(0xcb)],_0x4fdb48;});}[_0x291f8c(0x14f)](){const _0x1c0329=_0x291f8c;this[_0x1c0329(0xf5)]=!0x0,this[_0x1c0329(0x174)]()?this[_0x1c0329(0x12f)]():this[_0x1c0329(0xf5)]=!0x1;}[_0x291f8c(0x174)](){const _0x2a4688=_0x291f8c,_0x18f45f=this[_0x2a4688(0x13a)][_0x2a4688(0xd4)][_0x2a4688(0x176)](_0x51922d)[_0x2a4688(0x1c4)][_0x2a4688(0x176)](this[_0x2a4688(0x14c)]);return!this[_0x2a4688(0x13a)][_0x2a4688(0xfa)]&&!!_0x18f45f&&_0x18f45f[_0x2a4688(0x15c)]>0x1&&this[_0x2a4688(0xf5)];}[_0x291f8c(0x161)](){const _0x5888a2=_0x291f8c;return this[_0x5888a2(0xd7)][_0x5888a2(0x15c)]>0x0||this[_0x5888a2(0x174)]();}}l[_0x291f8c(0x12a)]=_0x1c2738;export default l;class J extends Error{}function Q(_0x2cc4a6,_0x541f6d){const _0x6d8ebe=_0x291f8c;for(const _0x57dc26 of _0x2cc4a6)_0x57dc26[_0x6d8ebe(0xc6)]=_0x541f6d++;}function _0x41a1(){const _0x1f5504=['message','showWarning','includes','_channelId','_operationToId','stop','_refreshUserSelectionMarkers','then','40578HNImfL','error','round','affectsData','_authorId','Notification','suppressErrorInCollaboration','_compressor','define','register','getRoot','length','cs:removeUser','return','directChange','setPermissions','_shouldSendUpdate','_handleReconnectionResponse','getUser','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','connection','compress','serverHistory','_initSessionsHandling','mySessionId','_currentBufferDelay','realtimecollaborationclient-init-service-internal-error','getConnectedSessions','cloudServices.bundleVersion','markers','initData','set','getIdOfTheLastOperation','isOfficialPlugin','wereChangesApplied','_shouldSendSelectionUpdate','lastOperationAcceptedAt','get','version','data','Synchronization\x20issue','editing','_disconnectService','collaboration-missing-channelid','slice','destroy','fire','targetPosition','_lastServerVersion','operationsReceived','model','_isDisconnection','position','_isEditingAllowed','affectedSelectable','multi-root-editor-root-attributes-no-root','move','config','apply','45722rqDglv','15151560xXfNXb','_knownOperations','stopListening','catch','applyOperation','406iOzzqN','createRoot','batch','end','insert','_offset','_sendBufferedOperationsDelayId','isUndoneOperation','_handleInitialConnectionData','selection','isEnabled','collaboration','1453773uUOxma','_handleServerResponse','getOperations','permissions','realtimecollaborationclient-init-connection-failed','change:hasDomSelection','_decompressOperations','addUser','isDocumentOperation','addRootAttribute','type','start','_waitUntilSynced','connected','userId','_loadRoot','sessionAdd:','high','_isLoaded','requires','wasUndone','__className','_isConnected','realtimecollaborationclient-init-session-connection-error','$root','reset','pluginName','lastSyncVersion','has','parse','root','metadata','4368033ysuIcF','disconnect','keys','change:range','_addKnownRoot','loadRoot','channelSessions','_disconnectionOperations','collaboration.channelId','setIdForTheLastOperation','document','_getOperationsFromInitData','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','404','baseVersion','roots','attributes','isPremiumPlugin','_isInit','createdAt','lastOperationId','_service','ready','3335eAsGym','document:write','10144728YqTpQB','sendOperations','history','plugins','listenTo','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_bufferedOperations','Permissions','_sendBufferedOperations','createPositionAt','reconnection:\x20flushed\x20session','addToReconnectionStack','_lastSyncedOperationId','RealTimeCollaborationClient','entries','enqueueChange','_handleSendingSelectionMarkers','_compressOperations','572CTEdVj','view','_connectAfterSessionHasBeenFlushed','unregister','_document','reconnect','_isAttached','path','realtimecollaborationclient-init-document-already-initialized','_saveOperationInBuffer','cloud-services-internal-error:\x20Not\x20connected.','change:_isPendingUpdate','offset','_handleReconnectionError','sessionId','map','realtimecollaborationclient-handleserverresponse','addRoot','_hasSelectionChanged','_updateServerHistory','_applyOperationsSet','fromJSON','bind','isReadOnly','_crash','realtimecollaborationclient-init-service-incorrect-server-operation','locale','lastDocumentSession','_handleExternalOperations','createRange','remove','_operationIdentifier','createPositionFromPath','from','init','off','finally','rtc-offline','enableReadOnlyMode','marker','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','rtc-destroyed','sessionCreatedAt','2KObyAU','removeFromReconnectionStack','newRange','startsWith','_ignoredOperations','realtimecollaborationclient-init-non-existent-root','size','differ','_fetchMissingUsers','_pendingAction','toJSON','_getAffectedRoot','string','rootName','rootsAttributes','_setPendingAction','disableReadOnlyMode','state','_bufferRootLoad','_knownRootNames','addOperation','cloud-services-internal-error:\x20Request\x20timeout.','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','real-time-collaboration','change:_isEditingAllowed','getMany','disconnected','_handleReceivedOperations','CollaborativeEditingService','clone','forEach','_isPendingUpdate','cloudDocumentVersion','_sendBufferedOperationsDelayed','_setUpDataInit','createUserMarkerOperations','_hasSynchronizationProblem','409','realtimecollaborationclient','_baseBufferDelay','add','connect','realtimecollaborationclient-error','getOperationAuthor','editor','PENDING_ACTION_SENDING_DATA','realtimecollaborationclient-sendbufferedoperations','currentDocumentSession','_clearPendingAction','getDocumentDetails','CommentsOnly','decompress','_connectService','code','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_initThrowingOnDataSet','filter','push','InsertOperation'];_0x41a1=function(){return _0x1f5504;};return _0x41a1();}class X{constructor(_0x13f854){const _0x760111=_0x291f8c;this[_0x760111(0x112)]=_0x13f854,this[_0x760111(0x14d)]=new WeakMap();}[_0x291f8c(0x171)](_0x2e03dc){const _0x320dce=_0x291f8c;let _0xfc93b=_0x2e03dc[_0x320dce(0x15c)];for(;_0xfc93b--;){const _0x303e03=_0x2e03dc[_0xfc93b];if(!this[_0x320dce(0x112)][_0x320dce(0x1ba)](_0x303e03)){if(!this[_0x320dce(0x14d)][_0x320dce(0x1ba)](_0x303e03)){const _0x30d507=_0x225b75()[_0x320dce(0x17d)](0x1,0x12);this[_0x320dce(0x14d)][_0x320dce(0x170)](_0x303e03,_0x30d507);}return this[_0x320dce(0x14d)][_0x320dce(0x176)](_0x303e03);}}}[_0x291f8c(0xc1)](_0x4b7b26,_0x2d9677){const _0x49a3ff=_0x291f8c;if(!_0x2d9677)return;let _0x3b19f9=_0x4b7b26[_0x49a3ff(0x15c)];for(;_0x3b19f9--;){const _0xa5b3cd=_0x4b7b26[_0x3b19f9];this[_0x49a3ff(0x112)][_0x49a3ff(0x1ba)](_0xa5b3cd)||this[_0x49a3ff(0x14d)][_0x49a3ff(0x170)](_0xa5b3cd,_0x2d9677);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x52ef(){const _0x3874f3=['pluginName','isMe','_registeredSessions','2133943fOXCSK','size','_handleSessionRemove','766812dFXdoe','8JxCAvn','1878520ZwHkKX','4802274oAzWOc','forEach','sessionAdd:','unregister','allConnectedUsers','has','state','_users','set','add','stopListening','connected','fire','isOfficialPlugin','clear','addUser','init','connection','24124793JaObTg','listenTo','role','getUserBySessionId','channelConnectedUsers','sessions-register-already-registered','getUserRole','user','isPremiumPlugin','mySessionId','46678CDDIfG','plugins','context','5mIAsxO','_createUser','defineMe','12aTSHDn','sessions-unregister-not-exist','get','channelSessions','change:state','requires','_uniqueUsersCount','sessionId','values','1270852PkJkAw','register','orderNumber','getUserSessions','delete','Sessions','assign','remove','_handleSessionAdd','147CRCzmx','getUser'];_0x52ef=function(){return _0x3874f3;};return _0x52ef();}const _0x13e4c2=_0x3cec;function _0x3cec(_0x188b41,_0x35eeb8){const _0x52ef76=_0x52ef();return _0x3cec=function(_0x3cec30,_0x439e86){_0x3cec30=_0x3cec30-0x1f0;let _0x1750bc=_0x52ef76[_0x3cec30];return _0x1750bc;},_0x3cec(_0x188b41,_0x35eeb8);}(function(_0x10c356,_0x5203db){const _0x3e7270=_0x3cec,_0x431945=_0x10c356();while(!![]){try{const _0x42ded7=-parseInt(_0x3e7270(0x223))/0x1+-parseInt(_0x3e7270(0x214))/0x2*(parseInt(_0x3e7270(0x22c))/0x3)+parseInt(_0x3e7270(0x1f5))/0x4*(-parseInt(_0x3e7270(0x217))/0x5)+parseInt(_0x3e7270(0x21a))/0x6*(parseInt(_0x3e7270(0x1f2))/0x7)+-parseInt(_0x3e7270(0x1f6))/0x8*(-parseInt(_0x3e7270(0x1f8))/0x9)+parseInt(_0x3e7270(0x1f7))/0xa+parseInt(_0x3e7270(0x20a))/0xb;if(_0x42ded7===_0x5203db)break;else _0x431945['push'](_0x431945['shift']());}catch(_0x3ae150){_0x431945['push'](_0x431945['shift']());}}}(_0x52ef,0xe0275));import{ContextPlugin as _0xe72a64}from'ckeditor5/src/core.js';import{Collection as _0x1d6417,CKEditorError as _0x59f46a}from'ckeditor5/src/utils.js';import _0xeeb000 from'./websocketgateway.js';import{Users as _0x3bf897}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0xe72a64{static get[_0x13e4c2(0x22e)](){const _0x3fa192=_0x13e4c2;return _0x3fa192(0x228);}static get[_0x13e4c2(0x205)](){return!0x0;}static get[_0x13e4c2(0x212)](){return!0x0;}static get[_0x13e4c2(0x21f)](){return[_0xeeb000,_0x3bf897];}constructor(_0x18ef36){const _0x1e3c9c=_0x13e4c2;super(_0x18ef36),this[_0x1e3c9c(0x21d)]=new Map(),this[_0x1e3c9c(0x20e)]=new Map(),this[_0x1e3c9c(0x1fc)]=new _0x1d6417(),this[_0x1e3c9c(0x1f1)]=new Map(),this[_0x1e3c9c(0x220)]=0x0,this[_0x1e3c9c(0x1ff)]=this[_0x1e3c9c(0x216)][_0x1e3c9c(0x215)][_0x1e3c9c(0x21c)](_0x3bf897);}[_0x13e4c2(0x208)](){const _0x2d158e=_0x13e4c2,_0x31d696=this[_0x2d158e(0x216)][_0x2d158e(0x215)][_0x2d158e(0x21c)](_0xeeb000);this[_0x2d158e(0x20b)](_0x31d696,_0x2d158e(0x21e),(_0x2dfdfb,_0x32802d,_0x16db0b)=>{const _0x2508cc=_0x2d158e;if(_0x2508cc(0x203)!==_0x16db0b)this[_0x2508cc(0x21d)][_0x2508cc(0x1f9)](_0x511b68=>_0x511b68[_0x2508cc(0x206)]()),this[_0x2508cc(0x20e)][_0x2508cc(0x1f9)](_0x920053=>_0x920053[_0x2508cc(0x206)]()),this[_0x2508cc(0x1fc)][_0x2508cc(0x206)]();else{for(const [_0x5a5afd,_0x45f6be]of this[_0x2508cc(0x1f1)])for(const _0x5015a3 of _0x45f6be)this[_0x2508cc(0x22b)](_0x5a5afd,_0x5015a3);}}),this[_0x2d158e(0x218)](_0x31d696[_0x2d158e(0x209)]['me'],!0x0);}[_0x13e4c2(0x224)](_0x1f0057,_0x3b1e8e){const _0x1c2820=_0x13e4c2;if(this[_0x1c2820(0x1f1)][_0x1c2820(0x1fd)](_0x1f0057))throw new _0x59f46a(_0x1c2820(0x20f),null,{'channelId':_0x1f0057});this[_0x1c2820(0x1f1)][_0x1c2820(0x200)](_0x1f0057,_0x3b1e8e),this[_0x1c2820(0x21d)][_0x1c2820(0x200)](_0x1f0057,new _0x1d6417()),this[_0x1c2820(0x20e)][_0x1c2820(0x200)](_0x1f0057,new _0x1d6417()),this[_0x1c2820(0x20b)](_0x3b1e8e,_0x1c2820(0x201),(_0x40eeaa,_0x21b929)=>this[_0x1c2820(0x22b)](_0x1f0057,_0x21b929)),this[_0x1c2820(0x20b)](_0x3b1e8e,_0x1c2820(0x22a),(_0x34e562,_0x4aff4a)=>this[_0x1c2820(0x1f4)](_0x1f0057,_0x4aff4a));for(const _0x29dea8 of _0x3b1e8e)this[_0x1c2820(0x22b)](_0x1f0057,_0x29dea8);}[_0x13e4c2(0x1fb)](_0x3acdc0){const _0x79e738=_0x13e4c2;if(!this[_0x79e738(0x1f1)][_0x79e738(0x1fd)](_0x3acdc0))throw new _0x59f46a(_0x79e738(0x21b),null,{'channelId':_0x3acdc0});const _0x2b75cd=this[_0x79e738(0x1f1)][_0x79e738(0x21c)](_0x3acdc0);this[_0x79e738(0x202)](_0x2b75cd);for(const _0x2cdc5d of _0x2b75cd)_0x79e738(0x203)===this[_0x79e738(0x216)][_0x79e738(0x215)][_0x79e738(0x21c)](_0xeeb000)[_0x79e738(0x1fe)]&&this[_0x79e738(0x1f4)](_0x3acdc0,_0x2cdc5d);this[_0x79e738(0x1f1)][_0x79e738(0x227)](_0x3acdc0),this[_0x79e738(0x21d)][_0x79e738(0x227)](_0x3acdc0),this[_0x79e738(0x20e)][_0x79e738(0x227)](_0x3acdc0);}get[_0x13e4c2(0x213)](){const _0x3d3c51=_0x13e4c2;return this[_0x3d3c51(0x216)][_0x3d3c51(0x215)][_0x3d3c51(0x21c)](_0xeeb000)[_0x3d3c51(0x209)][_0x3d3c51(0x221)];}[_0x13e4c2(0x20d)](_0x341382){const _0x2d5a04=_0x13e4c2;for(const _0x52b6ea of this[_0x2d5a04(0x21d)][_0x2d5a04(0x222)]())for(const _0x5f12d4 of _0x52b6ea)if(_0x5f12d4['id']===_0x341382)return _0x5f12d4[_0x2d5a04(0x211)];}[_0x13e4c2(0x226)](_0x2c9fe4,_0x1448a3){const _0x7ab9ea=_0x13e4c2,_0x4d03d1=_0x1448a3?[this[_0x7ab9ea(0x21d)][_0x7ab9ea(0x21c)](_0x1448a3)]:this[_0x7ab9ea(0x21d)][_0x7ab9ea(0x222)](),_0xbdc7d5=new Set();for(const _0x3cedef of _0x4d03d1)for(const _0x3fd7aa of _0x3cedef)_0x3fd7aa[_0x7ab9ea(0x211)]['id']===_0x2c9fe4['id']&&_0xbdc7d5[_0x7ab9ea(0x201)](_0x3fd7aa['id']);return _0xbdc7d5;}[_0x13e4c2(0x210)](_0xb06f71){const _0x85a925=_0x13e4c2;for(const _0x45a5ba of this[_0x85a925(0x21d)][_0x85a925(0x222)]())for(const _0x5c142b of _0x45a5ba)if(_0x5c142b[_0x85a925(0x211)]===_0xb06f71)return _0x5c142b[_0x85a925(0x20c)];}[_0x13e4c2(0x22b)](_0x59b161,_0x471a8c){const _0x3dc511=_0x13e4c2;if(_0x3dc511(0x203)!==this[_0x3dc511(0x216)][_0x3dc511(0x215)][_0x3dc511(0x21c)](_0xeeb000)[_0x3dc511(0x1fe)])return;const _0x9dcc08=_0x471a8c[_0x3dc511(0x211)],_0x13ab04=this[_0x3dc511(0x1ff)][_0x3dc511(0x22d)](_0x9dcc08['id'])||this[_0x3dc511(0x218)](_0x9dcc08),_0x215bf4=Object[_0x3dc511(0x229)]({},_0x471a8c,{'user':_0x13ab04});this[_0x3dc511(0x21d)][_0x3dc511(0x21c)](_0x59b161)[_0x3dc511(0x201)](_0x215bf4);const _0x2bf963=this[_0x3dc511(0x20e)][_0x3dc511(0x21c)](_0x59b161);_0x2bf963[_0x3dc511(0x1fd)](_0x13ab04['id'])||_0x2bf963[_0x3dc511(0x201)](_0x13ab04),this[_0x3dc511(0x1fc)][_0x3dc511(0x1fd)](_0x13ab04['id'])||this[_0x3dc511(0x1fc)][_0x3dc511(0x201)](_0x13ab04,_0x13ab04[_0x3dc511(0x1f0)]?0x0:void 0x0),this[_0x3dc511(0x204)](_0x3dc511(0x1fa)+_0x59b161,{'channelId':_0x59b161,'session':_0x215bf4});}[_0x13e4c2(0x1f4)](_0xaf9da4,_0x37c61a){const _0x54de5d=_0x13e4c2;if(_0x54de5d(0x203)!==this[_0x54de5d(0x216)][_0x54de5d(0x215)][_0x54de5d(0x21c)](_0xeeb000)[_0x54de5d(0x1fe)])return;const _0x5d5b9f=this[_0x54de5d(0x20e)][_0x54de5d(0x21c)](_0xaf9da4),_0x57eb66=_0x37c61a[_0x54de5d(0x211)];_0x57eb66['id']&&(this[_0x54de5d(0x21d)][_0x54de5d(0x21c)](_0xaf9da4)[_0x54de5d(0x22a)](_0x37c61a['id']),_0x5d5b9f[_0x54de5d(0x1fd)](_0x57eb66['id'])&&!this[_0x54de5d(0x226)](_0x57eb66,_0xaf9da4)[_0x54de5d(0x1f3)]&&_0x5d5b9f[_0x54de5d(0x22a)](_0x57eb66['id']),this[_0x54de5d(0x1fc)][_0x54de5d(0x21c)](_0x57eb66['id'])&&!this[_0x54de5d(0x226)](_0x57eb66)[_0x54de5d(0x1f3)]&&this[_0x54de5d(0x1fc)][_0x54de5d(0x22a)](_0x57eb66['id']));}[_0x13e4c2(0x218)](_0x31c7e0,_0x36e4a6){const _0x2b890f=_0x13e4c2,_0x11da91=this[_0x2b890f(0x1ff)][_0x2b890f(0x207)](_0x31c7e0);return _0x36e4a6&&this[_0x2b890f(0x1ff)][_0x2b890f(0x219)](_0x31c7e0['id']),_0x11da91[_0x2b890f(0x225)]=this[_0x2b890f(0x220)]++,_0x11da91;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3a2893=_0x5eaa;(function(_0x365581,_0x39e5e8){const _0x1a3219=_0x5eaa,_0x23c95a=_0x365581();while(!![]){try{const _0x54509a=-parseInt(_0x1a3219(0x1f0))/0x1*(parseInt(_0x1a3219(0x243))/0x2)+parseInt(_0x1a3219(0x254))/0x3+parseInt(_0x1a3219(0x23d))/0x4+parseInt(_0x1a3219(0x246))/0x5*(parseInt(_0x1a3219(0x1ea))/0x6)+-parseInt(_0x1a3219(0x203))/0x7+-parseInt(_0x1a3219(0x23a))/0x8+parseInt(_0x1a3219(0x231))/0x9*(parseInt(_0x1a3219(0x1ed))/0xa);if(_0x54509a===_0x39e5e8)break;else _0x23c95a['push'](_0x23c95a['shift']());}catch(_0x35a4c5){_0x23c95a['push'](_0x23c95a['shift']());}}}(_0x4b2b,0x49366));function _0x5eaa(_0x48006a,_0x328a81){const _0x4b2b1c=_0x4b2b();return _0x5eaa=function(_0x5eaaf7,_0x5e208d){_0x5eaaf7=_0x5eaaf7-0x1ea;let _0x23baf4=_0x4b2b1c[_0x5eaaf7];return _0x23baf4;},_0x5eaa(_0x48006a,_0x328a81);}import{Plugin as _0x1ed93e}from'ckeditor5/src/core.js';import{global as _0x4c150b,DomEmitterMixin as _0x58c2fe}from'ckeditor5/src/utils.js';import _0x4fadc0 from'./sessions.js';import{LiveRange as _0x42af8f}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x4b2b(){const _0x502686=['createRange','highest','document','isOfficialPlugin','clear','3103746nneTOW','checkChild','createElement','2851950OMSQJr','textContent','createUserMarkerOperations','294439CpemJg','startsWith','nodeAfter','render','newRange','model','removeClass','markerName','markers','user:position','orderNumber','mouseenter','user:position:','getContainedElement','setAttribute','ck-user__selection','has','reconvertMarker','_domEmitter','3346483ODGpiK','editor','enqueueChange','end','markerRange','view','UserMarkers','schema','listenTo','selection','toRange','$graveyard','change:range','marker','undo','keydown','ck-user__marker\x20','user:','oldRange','conversion','createUIElement','mouseleave','getPositions','$text','span','addEventListener','batch','addMarker','markerNameToElements','getRange','innerHTML','hasDomSelection','mapper','ck-user__marker-tooltip','user:range','pluginName','element','editingDowncast','hasContent','name','remove','Escape','markerToElement','setCustomProperty','detach','afterInit','9ueHZbD','init','plugins','for','applyOperation','isObject','contenteditable','parent','tableCell','1712560VJXLLt','get','root','1300404XHmTjS','false','rootName','updateMarker','destroy','getStart','4wKxwfz','delete','color','5lYTMLp','type','requires','isLimit','isCollapsed','getAttribute','markerToHighlight','isDocumentOperation','removeMarker','deletionPosition','commands','classList','getMarkerClass','getSelectionClass','1359924rrLPba','editing','getCustomProperty','ck-user__marker_hovered','set','getFirstRange','user:range:','outerHTML','stopListening','isSimilar','change','size','update:user:range','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','spellcheck','split','start','data-session-id','isPremiumPlugin','isInline','fromRange','_createdBatches','userPositionMarker','getUserBySessionId','toDomElement','getNearestSelectionRange','mySessionId','add'];_0x4b2b=function(){return _0x502686;};return _0x4b2b();}export default class H extends _0x1ed93e{constructor(){const _0x3c9cc7=_0x5eaa;super(...arguments),this[_0x3c9cc7(0x202)]=new(_0x58c2fe())();}static get[_0x3a2893(0x248)](){return[_0x4fadc0];}static get[_0x3a2893(0x226)](){const _0x3cd8fa=_0x3a2893;return _0x3cd8fa(0x209);}static get[_0x3a2893(0x273)](){return!0x0;}static get[_0x3a2893(0x266)](){return!0x0;}[_0x3a2893(0x232)](){const _0x9938b1=_0x3a2893,_0x13f603=this[_0x9938b1(0x204)],_0x414637=_0x13f603[_0x9938b1(0x233)][_0x9938b1(0x23b)](_0x4fadc0);_0x13f603[_0x9938b1(0x216)][_0x9938b1(0x234)](_0x9938b1(0x228))[_0x9938b1(0x22d)]({'model':_0x9938b1(0x1f9),'view':(_0x335abd,{writer:_0x4c61c6})=>function(_0x42444e,_0x3f4fc1,_0xd9caac,_0x5f0dd6){const _0x54a9fd=_0x9938b1,_0x5e06b2=_0x42444e[_0x54a9fd(0x1f7)][_0x54a9fd(0x263)](':')[0x2],_0x18ebac=_0xd9caac[_0x54a9fd(0x26b)](_0x5e06b2);if(!_0x18ebac||_0x5e06b2===_0xd9caac[_0x54a9fd(0x26e)])return;if(!_0x5f0dd6[_0x54a9fd(0x1f5)][_0x54a9fd(0x20a)][_0x54a9fd(0x1eb)](_0x42444e[_0x54a9fd(0x207)][_0x54a9fd(0x264)],_0x54a9fd(0x21a)))return;const _0x9314b8={'class':_0x54a9fd(0x213)+_0x18ebac[_0x54a9fd(0x245)][_0x54a9fd(0x252)](),'data-name':_0x18ebac[_0x54a9fd(0x22a)],'data-session-id':_0x5e06b2},_0x59ded7=_0x5f0dd6[_0x54a9fd(0x1f5)][_0x54a9fd(0x1f8)][_0x54a9fd(0x23b)](_0x42444e[_0x54a9fd(0x1f7)]),_0x792141=_0x59ded7[_0x54a9fd(0x242)](),_0x2defd1=_0x792141[_0x54a9fd(0x1f2)],_0x4d95ce=_0x5f0dd6[_0x54a9fd(0x1f5)][_0x54a9fd(0x20a)];if(_0x2defd1&&_0x4d95ce[_0x54a9fd(0x236)](_0x2defd1)&&_0x4d95ce[_0x54a9fd(0x267)](_0x2defd1)&&!_0x5f0dd6[_0x54a9fd(0x1f5)][_0x54a9fd(0x1f8)][_0x54a9fd(0x23b)](_0x54a9fd(0x25a)+_0x5e06b2)[_0x54a9fd(0x220)]()[_0x54a9fd(0x24a)])return;const _0x11219a=_0x792141[_0x54a9fd(0x238)];return _0x5f0dd6[_0x54a9fd(0x1f5)][_0x54a9fd(0x20a)][_0x54a9fd(0x249)](_0x11219a)&&!_0x5f0dd6[_0x54a9fd(0x1f5)][_0x54a9fd(0x229)](_0x11219a)&&(_0x9314b8[_0x54a9fd(0x237)]=!0x1),function(_0x18ac3c,_0x239c2e,_0x5ca5e0){const _0x542b28=_0x54a9fd,_0xd0a7ec=_0x18ac3c[_0x542b28(0x217)](_0x542b28(0x21b),_0x239c2e);return _0x18ac3c[_0x542b28(0x22e)](_0x542b28(0x26a),!0x0,_0xd0a7ec),_0xd0a7ec[_0x542b28(0x1f3)]=function(_0x1a5e6c){const _0x5243b8=_0x542b28,_0x21b4ff=this[_0x5243b8(0x26c)](_0x1a5e6c),_0x2f9fd4=document[_0x5243b8(0x1ec)](_0x5243b8(0x21b));return _0x2f9fd4[_0x5243b8(0x251)][_0x5243b8(0x26f)](_0x5243b8(0x224)),_0x2f9fd4[_0x5243b8(0x1fe)](_0x5243b8(0x237),_0x5243b8(0x23e)),_0x2f9fd4[_0x5243b8(0x1fe)](_0x5243b8(0x262),_0x5243b8(0x23e)),_0x2f9fd4[_0x5243b8(0x1ee)]=_0x5ca5e0[_0x5243b8(0x22a)],_0x21b4ff[_0x5243b8(0x221)]=_0x5243b8(0x261)+_0x2f9fd4[_0x5243b8(0x25b)]+'',_0x21b4ff[_0x5243b8(0x21c)](_0x5243b8(0x1fb),()=>{const _0x70232d=_0x5243b8;_0x21b4ff[_0x70232d(0x251)][_0x70232d(0x26f)](_0x70232d(0x257));}),_0x21b4ff[_0x5243b8(0x21c)](_0x5243b8(0x218),()=>{const _0x32598d=_0x5243b8;_0x21b4ff[_0x32598d(0x251)][_0x32598d(0x22b)](_0x32598d(0x257));}),_0x21b4ff;},_0xd0a7ec[_0x542b28(0x25d)]=function(_0xf91008){const _0xb4f570=_0x542b28;return!(!this[_0xb4f570(0x256)](_0xb4f570(0x26a))||!_0xf91008[_0xb4f570(0x256)](_0xb4f570(0x26a))||this[_0xb4f570(0x24b)](_0xb4f570(0x265))!=_0xf91008[_0xb4f570(0x24b)](_0xb4f570(0x265)));},_0xd0a7ec;}(_0x3f4fc1,_0x9314b8,_0x18ebac);}(_0x335abd,_0x4c61c6,_0x414637,_0x13f603)}),_0x13f603[_0x9938b1(0x216)][_0x9938b1(0x234)](_0x9938b1(0x228))[_0x9938b1(0x24c)]({'model':_0x9938b1(0x225),'view':_0x42f191=>function(_0x10cddf,_0x3e79fb){const _0x43383e=_0x9938b1,_0x33d480=_0x10cddf[_0x43383e(0x1f7)][_0x43383e(0x263)](':')[0x2];if(_0x33d480===_0x3e79fb[_0x43383e(0x26e)])return null;const _0x245367=_0x3e79fb[_0x43383e(0x26b)](_0x33d480);if(!_0x245367)return{'id':_0x33d480,'classes':[]};return{'id':_0x33d480,'classes':[_0x43383e(0x1ff),_0x245367[_0x43383e(0x245)][_0x43383e(0x253)]()],'attributes':{'data-session-id':_0x33d480},'priority':0x7d0+_0x245367[_0x43383e(0x1fa)]};}(_0x42f191,_0x414637)}),function(_0x4c7230){const _0x1855ab=_0x9938b1,_0x31f03b=_0x4c7230[_0x1855ab(0x1f5)],_0x31a8e2=new Map(),_0x54fadf=_0x4c7230[_0x1855ab(0x233)][_0x1855ab(0x23b)](_0x4fadc0);_0x31f03b[_0x1855ab(0x1f8)]['on'](_0x1855ab(0x260),(_0x1788ab,_0xf55d61,_0x8994e3,_0x21966b)=>{const _0x19a269=_0x1855ab;if(!_0x21966b&&_0x31a8e2[_0x19a269(0x23b)](_0xf55d61[_0x19a269(0x22a)]))return _0x31a8e2[_0x19a269(0x23b)](_0xf55d61[_0x19a269(0x22a)])[_0x19a269(0x22f)](),void _0x31a8e2[_0x19a269(0x244)](_0xf55d61[_0x19a269(0x22a)]);const _0x42af8e=_0xf55d61[_0x19a269(0x22a)][_0x19a269(0x263)](':')[0x2];if(_0x42af8e===_0x54fadf[_0x19a269(0x26e)])return;const _0x291935=_0x19a269(0x1fc)+_0x42af8e;_0x31f03b[_0x19a269(0x1f8)][_0x19a269(0x200)](_0x291935)&&_0x4c7230[_0x19a269(0x255)][_0x19a269(0x201)](_0x291935),_0xf55d61['on'](_0x19a269(0x20f),(_0x1cabd6,_0x155df7,_0x191548)=>{const _0x4e4f0c=_0x19a269;if(_0x4e4f0c(0x20e)!=_0x155df7[_0x4e4f0c(0x23c)][_0x4e4f0c(0x23f)]&&_0x4e4f0c(0x20e)==_0xf55d61[_0x4e4f0c(0x220)]()[_0x4e4f0c(0x23c)][_0x4e4f0c(0x23f)]&&!_0x31a8e2[_0x4e4f0c(0x200)](_0xf55d61[_0x4e4f0c(0x22a)])){const _0xccfdac=_0x31f03b[_0x4e4f0c(0x20a)][_0x4e4f0c(0x26d)](_0x191548[_0x4e4f0c(0x24f)]);if(_0xccfdac){const _0x34ee1b=_0x42af8f[_0x4e4f0c(0x268)](_0xccfdac);_0x31a8e2[_0x4e4f0c(0x258)](_0xf55d61[_0x4e4f0c(0x22a)],_0x34ee1b),_0x34ee1b['on'](_0x4e4f0c(0x20f),(_0x148e69,_0x4e12b5,_0x20d1f6)=>{const _0x10adb2=_0x4e4f0c;if(_0x10adb2(0x20e)==_0x34ee1b[_0x10adb2(0x23c)][_0x10adb2(0x23f)]){const _0x2deee9=_0x31f03b[_0x10adb2(0x20a)][_0x10adb2(0x26d)](_0x20d1f6[_0x10adb2(0x24f)]);_0x2deee9?(_0x34ee1b[_0x10adb2(0x264)]=_0x2deee9[_0x10adb2(0x264)],_0x34ee1b[_0x10adb2(0x206)]=_0x2deee9[_0x10adb2(0x206)]):(_0x31a8e2[_0x10adb2(0x244)](_0xf55d61[_0x10adb2(0x22a)]),_0x34ee1b[_0x10adb2(0x22f)]());}});}}});}),_0x31f03b[_0x1855ab(0x272)]['on'](_0x1855ab(0x25e),()=>{const _0x3cbe86=_0x1855ab;_0x31a8e2[_0x3cbe86(0x25f)]>0x0&&_0x31f03b[_0x3cbe86(0x205)]({'isUndoable':!0x1},_0x194a4f=>{const _0x42f350=_0x3cbe86;for(const [_0x578715,_0x5a46d0]of _0x31a8e2)_0x42f350(0x20e)==_0x31f03b[_0x42f350(0x1f8)][_0x42f350(0x23b)](_0x578715)[_0x42f350(0x220)]()[_0x42f350(0x23c)][_0x42f350(0x23f)]&&(re(_0x578715[_0x42f350(0x263)](':')[0x2],_0x5a46d0[_0x42f350(0x20d)](),_0x31f03b,_0x194a4f),_0x5a46d0[_0x42f350(0x22f)]());_0x31a8e2[_0x42f350(0x274)]();});});}(_0x13f603),this[_0x9938b1(0x202)][_0x9938b1(0x20b)](_0x4c150b[_0x9938b1(0x272)],_0x9938b1(0x212),(_0x50ee68,{key:_0x5624a8})=>{const _0x3c1cd1=_0x9938b1;_0x3c1cd1(0x22c)===_0x5624a8&&function(_0x247ede){const _0xa58147=_0x3c1cd1;_0x247ede[_0xa58147(0x255)][_0xa58147(0x208)][_0xa58147(0x25e)](_0x87d9a=>{const _0x393221=_0xa58147;for(const _0x5d2914 of _0x247ede[_0x393221(0x1f5)][_0x393221(0x1f8)]){if(!_0x5d2914[_0x393221(0x22a)][_0x393221(0x1f1)](_0x393221(0x1f9)))continue;const _0x4ec4eb=_0x247ede[_0x393221(0x255)][_0x393221(0x223)][_0x393221(0x21f)](_0x5d2914[_0x393221(0x22a)]);if(_0x4ec4eb){for(const _0x37d0e5 of _0x4ec4eb)_0x87d9a[_0x393221(0x1f6)](_0x393221(0x257),_0x37d0e5);}}});}(_0x13f603);},{'useCapture':!0x0});}[_0x3a2893(0x230)](){const _0x25dd81=_0x3a2893,_0x1d035e=this[_0x25dd81(0x204)],_0x1a2a0d=_0x1d035e[_0x25dd81(0x250)][_0x25dd81(0x23b)](_0x25dd81(0x211));_0x1a2a0d&&_0x1d035e[_0x25dd81(0x1f5)]['on'](_0x25dd81(0x235),(_0x4a4b39,_0x2141ab)=>{const _0x5c2f03=_0x25dd81,_0x239d83=_0x2141ab[0x0];if(!_0x239d83[_0x5c2f03(0x24d)])return;if(_0x5c2f03(0x210)!=_0x239d83[_0x5c2f03(0x247)]||!_0x239d83[_0x5c2f03(0x22a)][_0x5c2f03(0x1f1)](_0x5c2f03(0x214)))return;const _0xdaecfe=_0x239d83[_0x5c2f03(0x21d)];_0x1a2a0d[_0x5c2f03(0x269)][_0x5c2f03(0x200)](_0xdaecfe)&&(_0x239d83[_0x5c2f03(0x1f4)]=_0x239d83[_0x5c2f03(0x215)]?_0x1d035e[_0x5c2f03(0x1f5)][_0x5c2f03(0x270)](_0x239d83[_0x5c2f03(0x215)][_0x5c2f03(0x264)],_0x239d83[_0x5c2f03(0x215)][_0x5c2f03(0x206)]):null);},{'priority':_0x25dd81(0x271)});}[_0x3a2893(0x241)](){const _0xe73624=_0x3a2893;return this[_0xe73624(0x202)][_0xe73624(0x25c)](),super[_0xe73624(0x241)]();}[_0x3a2893(0x1ef)](){const _0x4fdd2=_0x3a2893,_0x3cb753=this[_0x4fdd2(0x204)],_0x4027ca=_0x3cb753[_0x4fdd2(0x1f5)][_0x4fdd2(0x272)],_0x66af70=_0x3cb753[_0x4fdd2(0x233)][_0x4fdd2(0x23b)](_0x4fadc0);_0x3cb753[_0x4fdd2(0x1f5)][_0x4fdd2(0x205)]({'isUndoable':!0x1},_0x1fb6e3=>{const _0x182bd0=_0x4fdd2,_0x42176b=_0x182bd0(0x25a)+_0x66af70[_0x182bd0(0x26e)],_0x169668=_0x182bd0(0x1fc)+_0x66af70[_0x182bd0(0x26e)],_0x1c4254=_0x3cb753[_0x182bd0(0x1f5)][_0x182bd0(0x1f8)][_0x182bd0(0x200)](_0x42176b);_0x3cb753[_0x182bd0(0x255)][_0x182bd0(0x208)][_0x182bd0(0x222)]?re(_0x66af70[_0x182bd0(0x26e)],_0x4027ca[_0x182bd0(0x20c)][_0x182bd0(0x259)](),_0x3cb753[_0x182bd0(0x1f5)],_0x1fb6e3):_0x1c4254&&(_0x1fb6e3[_0x182bd0(0x24e)](_0x42176b),_0x1fb6e3[_0x182bd0(0x24e)](_0x169668));});}}function re(_0x2cc3f8,_0x54f208,_0x237af8,_0xa7336e){const _0xaf218e=_0x3a2893,_0x4b7715=_0xaf218e(0x25a)+_0x2cc3f8,_0x4a2ba4=_0xaf218e(0x1fc)+_0x2cc3f8,_0x515c74=_0x54f208[_0xaf218e(0x1fd)]();let _0x3634e7=_0x54f208[_0xaf218e(0x264)];_0x515c74&&_0x515c74['is'](_0xaf218e(0x227),_0xaf218e(0x239))&&(_0x3634e7=function(_0x301e10,_0x3cdb44){const _0x420e38=_0xaf218e;for(const _0x2af4fc of _0x301e10[_0x420e38(0x219)]())if(_0x3cdb44[_0x420e38(0x20a)][_0x420e38(0x1eb)](_0x2af4fc,_0x420e38(0x21a)))return _0x2af4fc;}(_0x54f208,_0x237af8),_0x54f208=_0xa7336e[_0xaf218e(0x270)](_0x3634e7));const _0x1e5750=_0xa7336e[_0xaf218e(0x270)](_0x3634e7);_0x237af8[_0xaf218e(0x1f8)][_0xaf218e(0x200)](_0x4b7715)?(_0xa7336e[_0xaf218e(0x240)](_0x4b7715,{'range':_0x54f208}),_0xa7336e[_0xaf218e(0x240)](_0x4a2ba4,{'range':_0x1e5750})):(_0xa7336e[_0xaf218e(0x21e)](_0x4b7715,{'range':_0x54f208,'usingOperation':!0x0}),_0xa7336e[_0xaf218e(0x21e)](_0x4a2ba4,{'range':_0x1e5750,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x404abb=_0x237f;function _0x237f(_0x46a40f,_0x300867){const _0x3bdf3d=_0x3bdf();return _0x237f=function(_0x237f22,_0x46999d){_0x237f22=_0x237f22-0x70;let _0x2cbfb6=_0x3bdf3d[_0x237f22];return _0x2cbfb6;},_0x237f(_0x46a40f,_0x300867);}(function(_0x30aa65,_0x42431c){const _0x125831=_0x237f,_0x5d1636=_0x30aa65();while(!![]){try{const _0x2ef728=parseInt(_0x125831(0xef))/0x1+parseInt(_0x125831(0x8b))/0x2+parseInt(_0x125831(0x88))/0x3*(parseInt(_0x125831(0xcc))/0x4)+parseInt(_0x125831(0xc3))/0x5+parseInt(_0x125831(0x8e))/0x6+parseInt(_0x125831(0xc5))/0x7*(-parseInt(_0x125831(0xd9))/0x8)+-parseInt(_0x125831(0x8c))/0x9;if(_0x2ef728===_0x42431c)break;else _0x5d1636['push'](_0x5d1636['shift']());}catch(_0x398259){_0x5d1636['push'](_0x5d1636['shift']());}}}(_0x3bdf,0x397e7));import{Plugin as _0x1e7478}from'ckeditor5/src/core.js';import{global as _0x520b9d,DomEmitterMixin as _0x179441}from'ckeditor5/src/utils.js';import _0x1719e7 from'./sessions.js';import{LiveRange as _0x2d3654}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x1e7478{constructor(){const _0x408d2e=_0x237f;super(...arguments),this[_0x408d2e(0xda)]=new(_0x179441())();}static get[_0x404abb(0xd4)](){return[_0x1719e7];}static get[_0x404abb(0x96)](){const _0x3585b3=_0x404abb;return _0x3585b3(0xb8);}static get[_0x404abb(0xd2)](){return!0x0;}static get[_0x404abb(0x73)](){return!0x0;}[_0x404abb(0xdb)](){const _0x274b4f=_0x404abb,_0xa9db3=this[_0x274b4f(0xa8)],_0x128920=_0xa9db3[_0x274b4f(0xf9)][_0x274b4f(0x98)](_0x1719e7);_0xa9db3[_0x274b4f(0xe6)][_0x274b4f(0x7c)](_0x274b4f(0xb9))[_0x274b4f(0xa5)]({'model':_0x274b4f(0xed),'view':(_0x8ec6ba,{writer:_0xd10be3})=>function(_0x1a043b,_0x25eb44,_0x2a74af,_0x350c97){const _0x411f6c=_0x274b4f,_0x5a35be=_0x1a043b[_0x411f6c(0xea)][_0x411f6c(0xa2)](':')[0x2],_0x36a452=_0x2a74af[_0x411f6c(0xbc)](_0x5a35be);if(!_0x36a452||_0x5a35be===_0x2a74af[_0x411f6c(0xe0)])return;if(!_0x350c97[_0x411f6c(0xce)][_0x411f6c(0xb5)][_0x411f6c(0xa4)](_0x1a043b[_0x411f6c(0xcf)][_0x411f6c(0xca)],_0x411f6c(0xb3)))return;const _0x3ef8d3={'class':_0x411f6c(0x86)+_0x36a452[_0x411f6c(0xbd)][_0x411f6c(0xb6)](),'data-name':_0x36a452[_0x411f6c(0xe4)],'data-session-id':_0x5a35be},_0x4f4b9d=_0x350c97[_0x411f6c(0xce)][_0x411f6c(0xcd)][_0x411f6c(0x98)](_0x1a043b[_0x411f6c(0xea)]),_0xbafea5=_0x4f4b9d[_0x411f6c(0xc4)](),_0x19889f=_0xbafea5[_0x411f6c(0xf0)],_0x4a536e=_0x350c97[_0x411f6c(0xce)][_0x411f6c(0xb5)];if(_0x19889f&&_0x4a536e[_0x411f6c(0x9d)](_0x19889f)&&_0x4a536e[_0x411f6c(0x93)](_0x19889f)&&!_0x350c97[_0x411f6c(0xce)][_0x411f6c(0xcd)][_0x411f6c(0x98)](_0x411f6c(0xe8)+_0x5a35be)[_0x411f6c(0x94)]()[_0x411f6c(0xf2)])return;const _0x3f4890=_0xbafea5[_0x411f6c(0xa0)];return _0x350c97[_0x411f6c(0xce)][_0x411f6c(0xb5)][_0x411f6c(0x85)](_0x3f4890)&&!_0x350c97[_0x411f6c(0xce)][_0x411f6c(0xbb)](_0x3f4890)&&(_0x3ef8d3[_0x411f6c(0x92)]=!0x1),function(_0x519718,_0x142174,_0x30a61d){const _0xafd61c=_0x411f6c,_0x35c736=_0x519718[_0xafd61c(0x9c)](_0xafd61c(0xe1),_0x142174);return _0x519718[_0xafd61c(0xcb)](_0xafd61c(0x8d),!0x0,_0x35c736),_0x35c736[_0xafd61c(0xb1)]=function(_0x275c08){const _0x3f3da4=_0xafd61c,_0x239795=this[_0x3f3da4(0xa7)](_0x275c08),_0x15f988=document[_0x3f3da4(0xd7)](_0x3f3da4(0xe1));return _0x15f988[_0x3f3da4(0xc1)][_0x3f3da4(0xac)](_0x3f3da4(0x82)),_0x15f988[_0x3f3da4(0xf8)](_0x3f3da4(0x92),_0x3f3da4(0xaa)),_0x15f988[_0x3f3da4(0xf8)](_0x3f3da4(0x7d),_0x3f3da4(0xaa)),_0x15f988[_0x3f3da4(0x9e)]=_0x30a61d[_0x3f3da4(0xe4)],_0x239795[_0x3f3da4(0x77)]=_0x3f3da4(0x83)+_0x15f988[_0x3f3da4(0x9a)]+'',_0x239795[_0x3f3da4(0xba)](_0x3f3da4(0x76),()=>{const _0x80d80b=_0x3f3da4;_0x239795[_0x80d80b(0xc1)][_0x80d80b(0xac)](_0x80d80b(0x80));}),_0x239795[_0x3f3da4(0xba)](_0x3f3da4(0x90),()=>{const _0x18dd82=_0x3f3da4;_0x239795[_0x18dd82(0xc1)][_0x18dd82(0xc9)](_0x18dd82(0x80));}),_0x239795;},_0x35c736[_0xafd61c(0xe3)]=function(_0x54d75a){const _0x2397c6=_0xafd61c;return!(!this[_0x2397c6(0x7e)](_0x2397c6(0x8d))||!_0x54d75a[_0x2397c6(0x7e)](_0x2397c6(0x8d))||this[_0x2397c6(0xd1)](_0x2397c6(0xd5))!=_0x54d75a[_0x2397c6(0xd1)](_0x2397c6(0xd5)));},_0x35c736;}(_0x25eb44,_0x3ef8d3,_0x36a452);}(_0x8ec6ba,_0xd10be3,_0x128920,_0xa9db3)}),_0xa9db3[_0x274b4f(0xe6)][_0x274b4f(0x7c)](_0x274b4f(0xb9))[_0x274b4f(0x97)]({'model':_0x274b4f(0x7b),'view':_0x4bdd2a=>function(_0x349f8a,_0x4a8b78){const _0x56c38e=_0x274b4f,_0x267fe5=_0x349f8a[_0x56c38e(0xea)][_0x56c38e(0xa2)](':')[0x2];if(_0x267fe5===_0x4a8b78[_0x56c38e(0xe0)])return null;const _0x592dea=_0x4a8b78[_0x56c38e(0xbc)](_0x267fe5);if(!_0x592dea)return{'id':_0x267fe5,'classes':[]};return{'id':_0x267fe5,'classes':[_0x56c38e(0xb2),_0x592dea[_0x56c38e(0xbd)][_0x56c38e(0xf1)]()],'attributes':{'data-session-id':_0x267fe5},'priority':0x7d0+_0x592dea[_0x56c38e(0x75)]};}(_0x4bdd2a,_0x128920)}),function(_0xa9404d){const _0x10f4f0=_0x274b4f,_0x1624a2=_0xa9404d[_0x10f4f0(0xce)],_0x319596=new Map(),_0x56cefb=_0xa9404d[_0x10f4f0(0xf9)][_0x10f4f0(0x98)](_0x1719e7);_0x1624a2[_0x10f4f0(0xcd)]['on'](_0x10f4f0(0xe5),(_0x55a850,_0x5c4aa1,_0x32ee40,_0x54afbc)=>{const _0x14b17d=_0x10f4f0;if(!_0x54afbc&&_0x319596[_0x14b17d(0x98)](_0x5c4aa1[_0x14b17d(0xe4)]))return _0x319596[_0x14b17d(0x98)](_0x5c4aa1[_0x14b17d(0xe4)])[_0x14b17d(0xc2)](),void _0x319596[_0x14b17d(0xee)](_0x5c4aa1[_0x14b17d(0xe4)]);const _0x32e10c=_0x5c4aa1[_0x14b17d(0xe4)][_0x14b17d(0xa2)](':')[0x2];if(_0x32e10c===_0x56cefb[_0x14b17d(0xe0)])return;const _0x3e2870=_0x14b17d(0xe9)+_0x32e10c;_0x1624a2[_0x14b17d(0xcd)][_0x14b17d(0xdf)](_0x3e2870)&&_0xa9404d[_0x14b17d(0x89)][_0x14b17d(0x84)](_0x3e2870),_0x5c4aa1['on'](_0x14b17d(0xc6),(_0x326a09,_0x230311,_0x114873)=>{const _0x3fcba0=_0x14b17d;if(_0x3fcba0(0x9b)!=_0x230311[_0x3fcba0(0xa1)][_0x3fcba0(0x7f)]&&_0x3fcba0(0x9b)==_0x5c4aa1[_0x3fcba0(0x94)]()[_0x3fcba0(0xa1)][_0x3fcba0(0x7f)]&&!_0x319596[_0x3fcba0(0xdf)](_0x5c4aa1[_0x3fcba0(0xe4)])){const _0x3c46f2=_0x1624a2[_0x3fcba0(0xb5)][_0x3fcba0(0x7a)](_0x114873[_0x3fcba0(0xdc)]);if(_0x3c46f2){const _0x98adcd=_0x2d3654[_0x3fcba0(0xde)](_0x3c46f2);_0x319596[_0x3fcba0(0xb4)](_0x5c4aa1[_0x3fcba0(0xe4)],_0x98adcd),_0x98adcd['on'](_0x3fcba0(0xc6),(_0x345100,_0x2a47dd,_0x1eabff)=>{const _0x4a0506=_0x3fcba0;if(_0x4a0506(0x9b)==_0x98adcd[_0x4a0506(0xa1)][_0x4a0506(0x7f)]){const _0x45e4bf=_0x1624a2[_0x4a0506(0xb5)][_0x4a0506(0x7a)](_0x1eabff[_0x4a0506(0xdc)]);_0x45e4bf?(_0x98adcd[_0x4a0506(0xca)]=_0x45e4bf[_0x4a0506(0xca)],_0x98adcd[_0x4a0506(0xec)]=_0x45e4bf[_0x4a0506(0xec)]):(_0x319596[_0x4a0506(0xee)](_0x5c4aa1[_0x4a0506(0xe4)]),_0x98adcd[_0x4a0506(0xc2)]());}});}}});}),_0x1624a2[_0x10f4f0(0xab)]['on'](_0x10f4f0(0x74),()=>{const _0x4dfb3b=_0x10f4f0;_0x319596[_0x4dfb3b(0xf5)]>0x0&&_0x1624a2[_0x4dfb3b(0xb0)]({'isUndoable':!0x1},_0x42e052=>{const _0x754f30=_0x4dfb3b;for(const [_0x317c92,_0x397f85]of _0x319596)_0x754f30(0x9b)==_0x1624a2[_0x754f30(0xcd)][_0x754f30(0x98)](_0x317c92)[_0x754f30(0x94)]()[_0x754f30(0xa1)][_0x754f30(0x7f)]&&(re(_0x317c92[_0x754f30(0xa2)](':')[0x2],_0x397f85[_0x754f30(0xc7)](),_0x1624a2,_0x42e052),_0x397f85[_0x754f30(0xc2)]());_0x319596[_0x754f30(0x70)]();});});}(_0xa9db3),this[_0x274b4f(0xda)][_0x274b4f(0x91)](_0x520b9d[_0x274b4f(0xab)],_0x274b4f(0x9f),(_0x598b5a,{key:_0x5b3576})=>{const _0x44c523=_0x274b4f;_0x44c523(0xd3)===_0x5b3576&&function(_0x3b9680){const _0x560f71=_0x44c523;_0x3b9680[_0x560f71(0x89)][_0x560f71(0xc8)][_0x560f71(0x74)](_0x36ce21=>{const _0x31b235=_0x560f71;for(const _0x362c2c of _0x3b9680[_0x31b235(0xce)][_0x31b235(0xcd)]){if(!_0x362c2c[_0x31b235(0xe4)][_0x31b235(0x8f)](_0x31b235(0xed)))continue;const _0x448f64=_0x3b9680[_0x31b235(0x89)][_0x31b235(0x87)][_0x31b235(0xa9)](_0x362c2c[_0x31b235(0xe4)]);if(_0x448f64){for(const _0x44c78a of _0x448f64)_0x36ce21[_0x31b235(0xdd)](_0x31b235(0x80),_0x44c78a);}}});}(_0xa9db3);},{'useCapture':!0x0});}[_0x404abb(0xa3)](){const _0x2a32a1=_0x404abb,_0x86abcb=this[_0x2a32a1(0xa8)],_0x5e4e93=_0x86abcb[_0x2a32a1(0xaf)][_0x2a32a1(0x98)](_0x2a32a1(0x78));_0x5e4e93&&_0x86abcb[_0x2a32a1(0xce)]['on'](_0x2a32a1(0xf3),(_0x31f334,_0x20022e)=>{const _0x1aec84=_0x2a32a1,_0x4780a9=_0x20022e[0x0];if(!_0x4780a9[_0x1aec84(0x79)])return;if(_0x1aec84(0xd0)!=_0x4780a9[_0x1aec84(0xe2)]||!_0x4780a9[_0x1aec84(0xe4)][_0x1aec84(0x8f)](_0x1aec84(0xc0)))return;const _0x6c530a=_0x4780a9[_0x1aec84(0x99)];_0x5e4e93[_0x1aec84(0x8a)][_0x1aec84(0xdf)](_0x6c530a)&&(_0x4780a9[_0x1aec84(0xf4)]=_0x4780a9[_0x1aec84(0x72)]?_0x86abcb[_0x1aec84(0xce)][_0x1aec84(0xad)](_0x4780a9[_0x1aec84(0x72)][_0x1aec84(0xca)],_0x4780a9[_0x1aec84(0x72)][_0x1aec84(0xec)]):null);},{'priority':_0x2a32a1(0xae)});}[_0x404abb(0xd6)](){const _0x4bd941=_0x404abb;return this[_0x4bd941(0xda)][_0x4bd941(0x95)](),super[_0x4bd941(0xd6)]();}[_0x404abb(0xbe)](){const _0x59ddd0=_0x404abb,_0x49ddb6=this[_0x59ddd0(0xa8)],_0x57759a=_0x49ddb6[_0x59ddd0(0xce)][_0x59ddd0(0xab)],_0x32303e=_0x49ddb6[_0x59ddd0(0xf9)][_0x59ddd0(0x98)](_0x1719e7);_0x49ddb6[_0x59ddd0(0xce)][_0x59ddd0(0xb0)]({'isUndoable':!0x1},_0x41c6ac=>{const _0x48558b=_0x59ddd0,_0x682d2e=_0x48558b(0xe8)+_0x32303e[_0x48558b(0xe0)],_0x154438=_0x48558b(0xe9)+_0x32303e[_0x48558b(0xe0)],_0x12748e=_0x49ddb6[_0x48558b(0xce)][_0x48558b(0xcd)][_0x48558b(0xdf)](_0x682d2e);_0x49ddb6[_0x48558b(0x89)][_0x48558b(0xc8)][_0x48558b(0xb7)]?re(_0x32303e[_0x48558b(0xe0)],_0x57759a[_0x48558b(0x71)][_0x48558b(0xf6)](),_0x49ddb6[_0x48558b(0xce)],_0x41c6ac):_0x12748e&&(_0x41c6ac[_0x48558b(0xeb)](_0x682d2e),_0x41c6ac[_0x48558b(0xeb)](_0x154438));});}}function _0x3bdf(){const _0x35dbfb=['user:','classList','detach','462470EZwyEC','getStart','32039MeNPzB','change:range','toRange','view','remove','start','setCustomProperty','1525132TVhevj','markers','model','markerRange','marker','getAttribute','isOfficialPlugin','Escape','requires','data-session-id','destroy','createElement','tableCell','448iKcaNl','_domEmitter','init','deletionPosition','removeClass','fromRange','has','mySessionId','span','type','isSimilar','name','update:user:range','conversion','getPositions','user:range:','user:position:','markerName','removeMarker','end','user:position','delete','129096hJRuHt','nodeAfter','getSelectionClass','isCollapsed','applyOperation','newRange','size','getFirstRange','addMarker','setAttribute','plugins','clear','selection','oldRange','isPremiumPlugin','change','orderNumber','mouseenter','innerHTML','undo','isDocumentOperation','getNearestSelectionRange','user:range','for','spellcheck','getCustomProperty','rootName','ck-user__marker_hovered','element','ck-user__marker-tooltip','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','reconvertMarker','isLimit','ck-user__marker\x20','mapper','3qqGcBo','editing','_createdBatches','275926eZIESO','2919861qyvlVz','userPositionMarker','452400hTUeWd','startsWith','mouseleave','listenTo','contenteditable','isInline','getRange','stopListening','pluginName','markerToHighlight','get','batch','outerHTML','$graveyard','createUIElement','isObject','textContent','keydown','parent','root','split','afterInit','checkChild','markerToElement','updateMarker','toDomElement','editor','markerNameToElements','false','document','add','createRange','highest','commands','enqueueChange','render','ck-user__selection','$text','set','schema','getMarkerClass','hasDomSelection','UserMarkers','editingDowncast','addEventListener','hasContent','getUserBySessionId','color','createUserMarkerOperations','getContainedElement'];_0x3bdf=function(){return _0x35dbfb;};return _0x3bdf();}function re(_0x3adeb0,_0x305771,_0x517b4b,_0x162d09){const _0x4b7371=_0x404abb,_0xb891df=_0x4b7371(0xe8)+_0x3adeb0,_0x42782a=_0x4b7371(0xe9)+_0x3adeb0,_0x5c82bc=_0x305771[_0x4b7371(0xbf)]();let _0x316614=_0x305771[_0x4b7371(0xca)];_0x5c82bc&&_0x5c82bc['is'](_0x4b7371(0x81),_0x4b7371(0xd8))&&(_0x316614=function(_0x1d4b7d,_0x152a90){const _0x3df4fc=_0x4b7371;for(const _0x470361 of _0x1d4b7d[_0x3df4fc(0xe7)]())if(_0x152a90[_0x3df4fc(0xb5)][_0x3df4fc(0xa4)](_0x470361,_0x3df4fc(0xb3)))return _0x470361;}(_0x305771,_0x517b4b),_0x305771=_0x162d09[_0x4b7371(0xad)](_0x316614));const _0x1d1d12=_0x162d09[_0x4b7371(0xad)](_0x316614);_0x517b4b[_0x4b7371(0xcd)][_0x4b7371(0xdf)](_0xb891df)?(_0x162d09[_0x4b7371(0xa6)](_0xb891df,{'range':_0x305771}),_0x162d09[_0x4b7371(0xa6)](_0x42782a,{'range':_0x1d1d12})):(_0x162d09[_0x4b7371(0xf7)](_0xb891df,{'range':_0x305771,'usingOperation':!0x0}),_0x162d09[_0x4b7371(0xf7)](_0x42782a,{'range':_0x1d1d12,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3fbc34=_0x34c8;(function(_0x370fa2,_0xce221b){const _0x292ffa=_0x34c8,_0x198bab=_0x370fa2();while(!![]){try{const _0x483c67=parseInt(_0x292ffa(0x19c))/0x1+-parseInt(_0x292ffa(0x160))/0x2+-parseInt(_0x292ffa(0x180))/0x3*(parseInt(_0x292ffa(0x161))/0x4)+-parseInt(_0x292ffa(0x16f))/0x5*(parseInt(_0x292ffa(0x1a6))/0x6)+-parseInt(_0x292ffa(0x174))/0x7+-parseInt(_0x292ffa(0x17c))/0x8*(parseInt(_0x292ffa(0x16a))/0x9)+-parseInt(_0x292ffa(0x18f))/0xa*(-parseInt(_0x292ffa(0x173))/0xb);if(_0x483c67===_0xce221b)break;else _0x198bab['push'](_0x198bab['shift']());}catch(_0x177bcd){_0x198bab['push'](_0x198bab['shift']());}}}(_0xa07b,0x7b07a));import{ContextPlugin as _0x7924d9}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x7b9524,CKEditorError as _0x1d0df1}from'ckeditor5/src/utils.js';function _0xa07b(){const _0x5aca11=['_shouldPluginsReconnect','cloudservices-reconnection-error','token','all','cloudServices.connectionTimeout','context','239940EGOgph','define','create','from','reconnect','listenTo','_isBrowserOffline','online','error','showWarning','24PbjkNl','offline','delete','bind','connect','constructor','725956sTqLEN','60zOfPOw','isInReconnectionStack','addToReconnectionStack','_reconnect','connected','real-time-collaboration','requires','state','pluginName','141039MElkZm','isPremiumPlugin','cloudServices.requestTimeout','limitExceeded','code','84455WxMQSJ','CONNECTING','init','isOfficialPlugin','1306129UtupZP','4792774RayTzU','stopListening','change:me','set','add','removeFromReconnectionStack','has','disconnect','232oHHaUH','catch','_reconnectionStack','cloudservices-init','36978OUcWHB','config','function','webSocketUrl','websocketgateway-missing-token','CONNECTED','connection','then','_domEmitter','get','CloudServices','destroy','DISCONNECTED','websocketgateway-missing-websocket-url','initialReconnectionInterval','170UonRku','Connected\x20users\x20limit\x20exceeded','WebSocketGateway','websocketgateway-invalid-plugin-interface','plugins','websocketgateway-plugin-already-registered','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.'];_0xa07b=function(){return _0x5aca11;};return _0xa07b();}import{WebSocketGateway as _0xf32249,WEB_SOCKET_GATEWAY_STATES as _0x51f592}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x210450}from'ckeditor5/src/ui.js';function _0x34c8(_0x17eef4,_0x119a47){const _0xa07bb4=_0xa07b();return _0x34c8=function(_0x34c8dd,_0x576f4){_0x34c8dd=_0x34c8dd-0x15c;let _0x26d5a9=_0xa07bb4[_0x34c8dd];return _0x26d5a9;},_0x34c8(_0x17eef4,_0x119a47);}class c extends _0x7924d9{static get[_0x3fbc34(0x167)](){const _0x32bb5b=_0x3fbc34;return[_0x32bb5b(0x18a),_0x210450];}static get[_0x3fbc34(0x169)](){const _0x2467ed=_0x3fbc34;return _0x2467ed(0x191);}static get[_0x3fbc34(0x172)](){return!0x0;}static get[_0x3fbc34(0x16b)](){return!0x0;}constructor(_0x4371db){const _0x214318=_0x3fbc34;super(_0x4371db),this[_0x214318(0x177)](_0x214318(0x168),_0x51f592[_0x214318(0x185)]),this[_0x214318(0x177)](_0x214318(0x1a2),!0x1),this[_0x214318(0x17e)]=new Set(),this[_0x214318(0x196)]=!0x1,this[_0x214318(0x188)]=Object[_0x214318(0x19e)](_0x7b9524);}[_0x3fbc34(0x171)](){const _0x513882=_0x3fbc34,_0x58dbbf=this[_0x513882(0x19b)],_0x432899=_0x58dbbf[_0x513882(0x193)][_0x513882(0x189)](_0x513882(0x18a)),_0x5f2496=_0x58dbbf[_0x513882(0x193)][_0x513882(0x189)](_0x210450);if(!_0x432899[_0x513882(0x198)])throw new _0x1d0df1(_0x513882(0x184),this);if(!_0x432899[_0x513882(0x183)])throw new _0x1d0df1(_0x513882(0x18d),this);return this[_0x513882(0x188)][_0x513882(0x1a1)](window,_0x513882(0x1a7),()=>this[_0x513882(0x1a2)]=!0x0),this[_0x513882(0x188)][_0x513882(0x1a1)](window,_0x513882(0x1a3),()=>this[_0x513882(0x1a2)]=!0x1),this[_0x513882(0x19b)][_0x513882(0x181)][_0x513882(0x19d)](_0x513882(0x19a),0xa),this[_0x513882(0x19b)][_0x513882(0x181)][_0x513882(0x19d)](_0x513882(0x16c),0x14),c[_0x513882(0x191)][_0x513882(0x15e)](_0x432899[_0x513882(0x198)],_0x432899[_0x513882(0x183)],{'timeout':0x3e8*this[_0x513882(0x19b)][_0x513882(0x181)][_0x513882(0x189)](_0x513882(0x19a)),'requestTimeout':0x3e8*this[_0x513882(0x19b)][_0x513882(0x181)][_0x513882(0x189)](_0x513882(0x16c))})[_0x513882(0x187)](_0x43ab88=>{const _0x109cf2=_0x513882;if(this[_0x109cf2(0x186)]=_0x43ab88,this[_0x109cf2(0x15d)](_0x109cf2(0x168))['to'](_0x43ab88,_0x109cf2(0x168),this,_0x109cf2(0x1a2),(_0x42268d,_0x23b26a)=>(_0x109cf2(0x165)!==_0x42268d&&(this[_0x109cf2(0x196)]=!0x0),_0x23b26a||_0x42268d!==_0x51f592[_0x109cf2(0x185)]?_0x51f592[_0x109cf2(0x18c)]:this[_0x109cf2(0x168)]==_0x51f592[_0x109cf2(0x18c)]&&this[_0x109cf2(0x196)]?(this[_0x109cf2(0x196)]=!0x1,this[_0x109cf2(0x164)](),_0x51f592[_0x109cf2(0x170)]):_0x51f592[_0x109cf2(0x185)])),this[_0x109cf2(0x186)]['on'](_0x109cf2(0x1a4),(_0xca7d7c,_0x17fe02)=>{const _0x4130ac=_0x109cf2;if(_0x4130ac(0x16d)!==_0x17fe02[_0x4130ac(0x16e)])throw console[_0x4130ac(0x1a4)](_0x17fe02),new _0x1d0df1(_0x4130ac(0x17f),null,{'originalError':_0x17fe02});_0x5f2496[_0x4130ac(0x1a5)](_0x4130ac(0x195),{'title':_0x4130ac(0x190),'namespace':_0x4130ac(0x166)});}),!_0x43ab88['me'])return new Promise(_0x230889=>_0x43ab88['on'](_0x109cf2(0x176),_0x230889));})[_0x513882(0x17d)](_0x5723eb=>{const _0x10a2cf=_0x513882;throw console[_0x10a2cf(0x1a4)](_0x5723eb),new _0x1d0df1(_0x10a2cf(0x17f),null,{'originalError':_0x5723eb});});}[_0x3fbc34(0x163)](_0x1bf8b1){const _0x4d197f=_0x3fbc34;if(_0x4d197f(0x182)!=typeof _0x1bf8b1[_0x4d197f(0x1a0)])throw new _0x1d0df1(_0x4d197f(0x192),this);if(this[_0x4d197f(0x162)](_0x1bf8b1))throw new _0x1d0df1(_0x4d197f(0x194),this,{'name':_0x1bf8b1[_0x4d197f(0x15f)][_0x4d197f(0x169)]});this[_0x4d197f(0x17e)][_0x4d197f(0x178)](_0x1bf8b1);}[_0x3fbc34(0x179)](_0x2a2993){const _0x4a9f7d=_0x3fbc34;this[_0x4a9f7d(0x17e)][_0x4a9f7d(0x15c)](_0x2a2993);}[_0x3fbc34(0x162)](_0x2d221e){const _0x1dbd7e=_0x3fbc34;return this[_0x1dbd7e(0x17e)][_0x1dbd7e(0x17a)](_0x2d221e);}[_0x3fbc34(0x164)](){const _0x2372dc=_0x3fbc34;return this[_0x2372dc(0x186)][_0x2372dc(0x1a0)]()[_0x2372dc(0x187)](()=>Promise[_0x2372dc(0x199)](Array[_0x2372dc(0x19f)](this[_0x2372dc(0x17e)],_0x44d416=>_0x44d416[_0x2372dc(0x1a0)]())))[_0x2372dc(0x187)](()=>this[_0x2372dc(0x168)]=_0x51f592[_0x2372dc(0x185)])[_0x2372dc(0x17d)](_0x5036f8=>{const _0x1adff1=_0x2372dc;throw console[_0x1adff1(0x1a4)](_0x5036f8),new _0x1d0df1(_0x1adff1(0x197),this[_0x1adff1(0x19b)]);});}[_0x3fbc34(0x17b)](){const _0x3f2e34=_0x3fbc34;this[_0x3f2e34(0x186)]&&this[_0x3f2e34(0x186)][_0x3f2e34(0x17b)](),this[_0x3f2e34(0x168)]=_0x51f592[_0x3f2e34(0x18c)],this[_0x3f2e34(0x188)][_0x3f2e34(0x175)]();}[_0x3fbc34(0x18b)](){const _0x173e53=_0x3fbc34;this[_0x173e53(0x17b)](),super[_0x173e53(0x18b)]();}}c[_0x3fbc34(0x191)]=_0xf32249,c[_0x3fbc34(0x18e)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3609(){var _0x45e380=['11HIwbZs','7twKCjb','27774wHShEt','requires','1081656FQxBMg','2175964Lnjgew','pluginName','3007180drFANL','isPremiumPlugin','2703480ctkWVK','isOfficialPlugin','1828005sRLMau','8624ZwvrJX','164ytRZAm','655FFxZvJ','RealTimeCollaborativeEditing'];_0x3609=function(){return _0x45e380;};return _0x3609();}var _0x44fbba=_0x1c29;function _0x1c29(_0xd26446,_0x287e76){var _0x360953=_0x3609();return _0x1c29=function(_0x1c29b2,_0x20eb82){_0x1c29b2=_0x1c29b2-0x171;var _0x5638fe=_0x360953[_0x1c29b2];return _0x5638fe;},_0x1c29(_0xd26446,_0x287e76);}(function(_0x4505bd,_0x21bc1a){var _0x6b0d2b=_0x1c29,_0x3eb3fc=_0x4505bd();while(!![]){try{var _0x4cd6c7=parseInt(_0x6b0d2b(0x17b))/0x1*(-parseInt(_0x6b0d2b(0x17c))/0x2)+parseInt(_0x6b0d2b(0x17a))/0x3+parseInt(_0x6b0d2b(0x174))/0x4+parseInt(_0x6b0d2b(0x17d))/0x5*(parseInt(_0x6b0d2b(0x171))/0x6)+parseInt(_0x6b0d2b(0x180))/0x7*(-parseInt(_0x6b0d2b(0x178))/0x8)+parseInt(_0x6b0d2b(0x173))/0x9+-parseInt(_0x6b0d2b(0x176))/0xa*(parseInt(_0x6b0d2b(0x17f))/0xb);if(_0x4cd6c7===_0x21bc1a)break;else _0x3eb3fc['push'](_0x3eb3fc['shift']());}catch(_0x178762){_0x3eb3fc['push'](_0x3eb3fc['shift']());}}}(_0x3609,0x82648));import{Plugin as _0xc6265a}from'ckeditor5/src/core.js';import _0x5808f7 from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0xc6265a{static get[_0x44fbba(0x172)](){return[_0x5808f7];}static get[_0x44fbba(0x175)](){var _0x186769=_0x44fbba;return _0x186769(0x17e);}static get[_0x44fbba(0x179)](){return!0x0;}static get[_0x44fbba(0x177)](){return!0x0;}}
|