@ckeditor/ckeditor5-real-time-collaboration 43.1.0 → 43.1.1
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/ar.js +1 -1
- package/dist/translations/ar.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/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.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/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/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/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/ko.js +1 -1
- package/dist/translations/ko.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/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/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/sk.js +1 -1
- package/dist/translations/sk.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/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/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x517f36=_0x10bf;(function(_0x18dab9,_0xc0a40d){const _0x220158=_0x10bf,_0x3de79b=_0x18dab9();while(!![]){try{const _0x229206=-parseInt(_0x220158(0x174))/0x1*(-parseInt(_0x220158(0x97))/0x2)+parseInt(_0x220158(0x101))/0x3*(-parseInt(_0x220158(0x125))/0x4)+parseInt(_0x220158(0x157))/0x5*(-parseInt(_0x220158(0x119))/0x6)+-parseInt(_0x220158(0xb0))/0x7+parseInt(_0x220158(0x131))/0x8*(parseInt(_0x220158(0xe2))/0x9)+-parseInt(_0x220158(0x14e))/0xa+parseInt(_0x220158(0x173))/0xb*(parseInt(_0x220158(0xf1))/0xc);if(_0x229206===_0xc0a40d)break;else _0x3de79b['push'](_0x3de79b['shift']());}catch(_0x13925c){_0x3de79b['push'](_0x3de79b['shift']());}}}(_0x492a,0xd4d02));import{Plugin as _0x16edd1,PendingActions as _0x5f8e75}from'ckeditor5/src/core.js';function _0x10bf(_0x4fd74e,_0x205b15){const _0x492af3=_0x492a();return _0x10bf=function(_0x10bf9e,_0x37170a){_0x10bf9e=_0x10bf9e-0x81;let _0x4c5faf=_0x492af3[_0x10bf9e];return _0x4c5faf;},_0x10bf(_0x4fd74e,_0x205b15);}import{CKEditorError as _0x2e3c88,version as _0x59313c,uid as _0x20be7d}from'ckeditor5/src/utils.js';import{Notification as _0xfc33fe}from'ckeditor5/src/ui.js';function _0x492a(){const _0x2c63df=['directChange','entries','rootsAttributes','_baseBufferDelay','change:hasDomSelection','createRange','4740SSsklT','_handleSendingSelectionMarkers','_fetchMissingUsers','_connectService','real-time-collaboration','_compressor','decompress','_ignoredOperations','has','disconnected','sessionAdd:','_isLoaded','finally','409','batch','_lastSyncedOperationId','27PCEYJC','parse','_sendBufferedOperationsDelayed','view','getOperationAuthor','userId','addUser','initData','path','addToReconnectionStack','_setUpDataInit','realtimecollaborationclient-init-connection-failed','return','operationsReceived','connection','InsertOperation','baseVersion','destroy','cloudDocumentVersion','getIdOfTheLastOperation','createPositionAt','_refreshUserSelectionMarkers','_handleServerResponse','lastOperationAcceptedAt','4848cLSVhQ','_initThrowingOnDataSet','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.','setIdForTheLastOperation','_isDisconnection','permissions','sessionId','position','__className','history','reconnect','marker','290216xfNlAc','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_getAffectedRoot','_sendBufferedOperationsDelayId','bind','realtimecollaborationclient-initservice-internal-error','getUser','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','length','_handleReconnectionResponse','stopListening','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','23128EIqIqb','_disconnectionOperations','_applyOperationsSet','metadata','wasUndone','realtimecollaborationclient-init-document-already-initialized','Permissions','rtc-offline','unregister','_connectAfterSessionHasBeenFlushed','differ','_disconnectService','enqueueChange','string','compress','reconnection:\x20flushed\x20session','_sendBufferedOperations','_bufferRootLoad','sendOperations','error','loadRoot','disableReadOnlyMode','mySessionId','connect','listenTo','_shouldSendUpdate','define','clone','createPositionFromPath','15989360cmpidq','_isEditingAllowed','forEach','attributes','_handleInitialConnectionData','affectedSelectable','_clearPendingAction','_document','requires','5430HnMxHK','_initSessionsHandling','addRootAttribute','collaboration','_addKnownRoot','_operationToId','_crash','_hasSelectionChanged','document','_isInit','collaboration-missing-channelid','push','reset','cloudServices.bundleVersion','isUndoneOperation','_loadRoot','serverHistory','_handleExternalOperations','PENDING_ACTION_SENDING_DATA','_isConnected','currentDocumentSession','change:_isEditingAllowed','_offset','fire','catch','CollaborativeEditingService','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.','getConnectedSessions','48917RTTsGw','823hRfSkb','lastSyncVersion','_knownOperations','start','insert','multi-root-editor-root-attributes-no-root','setPermissions','apply','roots','startsWith','_isPendingUpdate','type','_saveOperationInBuffer','ready','createdAt','cloud-services-internal-error:\x20Not\x20connected.','includes','add','realtimecollaborationclient-handleserverresponse','from','high','$root','collaboration.channelId','cs:removeUser','_handleReceivedOperations','isDocumentOperation','realtimecollaborationclient-init-non-existent-root','Synchronization\x20issue','wereChangesApplied','locale','_waitUntilSynced','get','realtimecollaborationclient-init-session-connection-error','_handleReconnectionError','createUserMarkerOperations','_service','_setPendingAction','register','state','4202XgLuaF','move','enableReadOnlyMode','change:_isPendingUpdate','removeFromReconnectionStack','_hasSynchronizationProblem','rtc-destroyed','change:range','_channelId','targetPosition','RealTimeCollaborationClient','offset','round','editor','affectsData','message','_isAttached','getRoot','createRoot','404','suppressErrorInCollaboration','data','set','Notification','getOperations','8190343rNwnSu','isEnabled','keys','_knownRootNames','_pendingAction','sessionCreatedAt','toJSON','map','cloud-services-internal-error:\x20Request\x20timeout.','selection','init','rootName','then','addRoot','getMany','plugins','getDocumentDetails','fromJSON','_operationIdentifier','config','_authorId','_getOperationsFromInitData','stop','version','off','slice','markers','showWarning','remove','channelSessions','realtimecollaborationclient-initservice-incorrect-server-operation','_currentBufferDelay','_lastServerVersion','_shouldSendSelectionUpdate','disconnect','isReadOnly','root','pluginName','newRange','_compressOperations','filter','applyOperation','_bufferedOperations','realtimecollaborationclient-sendbufferedoperations','end','CommentsOnly','model','document:write','addOperation','lastDocumentSession','5247XdAxRh','editing','_updateServerHistory','lastOperationId','size','_decompressOperations','code','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','connected'];_0x492a=function(){return _0x2c63df;};return _0x492a();}import{transformSets as _0x291ece,NoOperation as _0x5f3824,InsertOperation as _0x583d5d,MarkerOperation as _0x138bf2,RootAttributeOperation as _0x1fb4b0,OperationFactory as _0xdd7db5,History as _0x400615}from'ckeditor5/src/engine.js';import _0x3da96e from'./websocketgateway.js';import _0x66e81a from'./sessions.js';import _0x52a180 from'./usermarkers.js';import{getTranslation as _0x4e9508}from'../common-translations.js';import{Compressor as _0x2b3492}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x3fc241}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x1ec56a,CollaborativeEditingService as _0x4fc1ae}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x16edd1{static get[_0x517f36(0x156)](){return[_0x3da96e,_0x66e81a,_0x52a180,_0x5f8e75,_0x3fc241,_0xfc33fe];}static get[_0x517f36(0xd5)](){const _0x315efa=_0x517f36;return _0x315efa(0xa1);}get[_0x517f36(0x113)](){const _0x14ec81=_0x517f36;return this[_0x14ec81(0xd0)]+this[_0x14ec81(0x16d)];}get[_0x517f36(0xd0)](){const _0x1252cf=_0x517f36;return this[_0x1252cf(0x167)][_0x1252cf(0xc7)]-this[_0x1252cf(0x16d)];}get[_0x517f36(0x175)](){const _0x8fdcee=_0x517f36,_0x19a3fb=this[_0x8fdcee(0x167)][_0x8fdcee(0xaf)]();for(let _0xdc665c=_0x19a3fb[_0x8fdcee(0x12d)]-0x1;_0xdc665c>=0x0;_0xdc665c--){const _0x1897a1=_0x19a3fb[_0xdc665c];if(!this[_0x8fdcee(0x132)][_0x8fdcee(0xf9)](_0x1897a1))return _0x1897a1[_0x8fdcee(0x111)]+0x1-this[_0x8fdcee(0x16d)];}return 0x0;}constructor(_0x50f851){const _0x52038e=_0x517f36;if(super(_0x50f851),this[_0x52038e(0x16d)]=0x0,this[_0x52038e(0x11f)]=null,this[_0x52038e(0x167)]=new _0x400615(),this[_0x52038e(0xa4)][_0x52038e(0xc3)][_0x52038e(0x14b)](_0x52038e(0x15a),{}),this[_0x52038e(0x9f)]=this[_0x52038e(0xa4)][_0x52038e(0xc3)][_0x52038e(0x8f)](_0x52038e(0x86)),!this[_0x52038e(0x9f)])throw new _0x2e3c88(_0x52038e(0x161),this);const _0x3d385b=_0x50f851[_0x52038e(0xc3)][_0x52038e(0x8f)](_0x52038e(0x164))||_0x59313c;this[_0x52038e(0x93)]=new l[(_0x52038e(0x170))](_0x3d385b,this[_0x52038e(0x9f)]),this[_0x52038e(0x155)]=this[_0x52038e(0xa4)][_0x52038e(0xde)][_0x52038e(0x15f)],this[_0x52038e(0xf6)]=new _0x2b3492(),this[_0x52038e(0xda)]=[],this[_0x52038e(0x176)]=new WeakSet(),this[_0x52038e(0xb3)]=new Set(),this[_0x52038e(0xad)](_0x52038e(0x17e),!0x1),this[_0x52038e(0xad)](_0x52038e(0x9c),!0x1),this[_0x52038e(0xb4)]=null,this[_0x52038e(0x15e)]=!0x1,this[_0x52038e(0x128)]=null,this[_0x52038e(0xee)]=0x12c,this[_0x52038e(0xcf)]=this[_0x52038e(0xee)],this[_0x52038e(0x100)]=null,this[_0x52038e(0x132)]=new WeakSet(),this[_0x52038e(0xc2)]=new X(this[_0x52038e(0x132)]);}[_0x517f36(0xba)](){const _0x16f20d=_0x517f36,_0x35199b=this[_0x16f20d(0xa4)],_0x15220d=_0x35199b[_0x16f20d(0xbf)][_0x16f20d(0x8f)](_0x3fc241),_0x2c76cf=_0x35199b[_0x16f20d(0xbf)][_0x16f20d(0x8f)](_0x3da96e);this[_0x16f20d(0x149)](_0x15220d,_0x16f20d(0x105),(_0x115449,_0xb4db1f)=>{const _0x2959cb=_0x16f20d,_0x4a5e03=_0xb4db1f[0x0];_0x4a5e03[_0x2959cb(0xc4)]&&(_0x115449[_0x2959cb(0x10d)]=_0x15220d[_0x2959cb(0x12b)](_0x4a5e03[_0x2959cb(0xc4)]),_0x115449[_0x2959cb(0xc6)]()),null===_0x4a5e03[_0x2959cb(0xc4)]&&(_0x115449[_0x2959cb(0x10d)]=null,_0x115449[_0x2959cb(0xc6)]());},{'priority':_0x16f20d(0x84)}),this[_0x16f20d(0x149)](_0x35199b[_0x16f20d(0xde)][_0x16f20d(0x15f)][_0x16f20d(0xb9)],_0x16f20d(0x9e),(_0x19ad49,_0x3c6e16)=>{const _0x2e5265=_0x16f20d;_0x3c6e16[_0x2e5265(0xeb)]&&this[_0x2e5265(0x116)]();}),this[_0x16f20d(0x149)](_0x35199b[_0x16f20d(0xe3)][_0x16f20d(0x104)],_0x16f20d(0xef),()=>{const _0x4fea62=_0x16f20d;this[_0x4fea62(0x116)]();}),this[_0x16f20d(0x11a)](),_0x35199b[_0x16f20d(0xde)]['on'](_0x16f20d(0xd9),(_0x34ded8,_0x26d722)=>{const _0x4392cb=_0x16f20d,_0x4ec97c=_0x26d722[0x0];_0x4ec97c[_0x4392cb(0x89)]&&(this[_0x4392cb(0x180)](_0x4ec97c),this[_0x4392cb(0x14a)]()&&this[_0x4392cb(0x103)]());}),this[_0x16f20d(0x10b)](),this[_0x16f20d(0x129)](_0x16f20d(0x14f))['to'](_0x2c76cf,_0x16f20d(0x96),this,_0x16f20d(0x9c),(_0x4ec941,_0x17ff92)=>_0x16f20d(0xea)===_0x4ec941&&!_0x17ff92),this['on'](_0x16f20d(0x16c),()=>{const _0x4a7c50=_0x16f20d;this[_0x4a7c50(0x14f)]?_0x35199b[_0x4a7c50(0x146)](_0x4a7c50(0x138)):_0x35199b[_0x4a7c50(0x99)](_0x4a7c50(0x138));}),this[_0x16f20d(0x14f)]?_0x35199b[_0x16f20d(0x146)](_0x16f20d(0x138)):_0x35199b[_0x16f20d(0x99)](_0x16f20d(0x138)),this[_0x16f20d(0xad)](_0x16f20d(0x16a),!0x1);}async[_0x517f36(0x123)](){const _0x5964b1=_0x517f36,_0x2061cc=this[_0x5964b1(0xa4)][_0x5964b1(0xbf)][_0x5964b1(0x8f)](_0x66e81a),_0x475c96=this[_0x5964b1(0xa4)][_0x5964b1(0xbf)][_0x5964b1(0x8f)](_0x3da96e);try{this[_0x5964b1(0x17e)]=!0x0,_0x2061cc[_0x5964b1(0x139)](this[_0x5964b1(0x9f)]);const _0x385e73=await this[_0x5964b1(0x93)][_0x5964b1(0x123)](_0x475c96[_0x5964b1(0x10f)],this[_0x5964b1(0x175)]);await this[_0x5964b1(0x12e)](_0x385e73)&&(this[_0x5964b1(0x17e)]=!0x1,this[_0x5964b1(0x154)]());const _0x530374=await this[_0x5964b1(0x93)][_0x5964b1(0x172)]();_0x2061cc[_0x5964b1(0x95)](this[_0x5964b1(0x9f)],_0x530374),this[_0x5964b1(0xf2)](),this[_0x5964b1(0x16a)]=!0x0;}catch(_0x3f3855){if(function(_0x1b8b59){const _0x4ae0e6=_0x5964b1;return _0x4ae0e6(0xaa)===_0x1b8b59[_0x4ae0e6(0xe8)];}(_0x3f3855)&&this[_0x5964b1(0x11f)])await this[_0x5964b1(0x13a)]();else{if(function(_0x10c949){const _0xf444d4=_0x5964b1;return _0xf444d4(0xfe)===_0x10c949[_0xf444d4(0xe8)];}(_0x3f3855)){const _0x544cbb=_0x4e9508(this[_0x5964b1(0xa4)][_0x5964b1(0x8d)],_0x5964b1(0x12c));this[_0x5964b1(0x91)](_0x544cbb);}else{if(!(_0x3f3855 instanceof J))throw _0x3f3855;this[_0x5964b1(0x91)]();}}}}[_0x517f36(0x112)](){const _0x4c6cc3=_0x517f36,_0x16a839=this[_0x4c6cc3(0xa4)][_0x4c6cc3(0xbf)][_0x4c6cc3(0x8f)](_0x3da96e),_0x40f144=this[_0x4c6cc3(0xa4)][_0x4c6cc3(0xbf)][_0x4c6cc3(0x8f)](_0x66e81a);this[_0x4c6cc3(0xa4)][_0x4c6cc3(0x99)](_0x4c6cc3(0x9d)),_0x40f144[_0x4c6cc3(0xcd)][_0x4c6cc3(0xf9)](this[_0x4c6cc3(0x9f)])&&_0x40f144[_0x4c6cc3(0x139)](this[_0x4c6cc3(0x9f)]),_0x16a839[_0x4c6cc3(0x9b)](this),this[_0x4c6cc3(0x13c)](),super[_0x4c6cc3(0x112)]();}async[_0x517f36(0x12e)](_0xf7d44f){const _0x392afa=_0x517f36;if(this[_0x392afa(0x11f)]!==_0xf7d44f[_0x392afa(0x11f)]&&this[_0x392afa(0x100)]!==_0xf7d44f[_0x392afa(0xe5)])throw new J();return this[_0x392afa(0x11f)]=_0xf7d44f[_0x392afa(0x11f)],this[_0x392afa(0x117)]([],{..._0xf7d44f,'wereChangesApplied':!0x1,'data':_0xf7d44f[_0x392afa(0xac)]},_0x392afa(0x123));}async[_0x517f36(0xf4)](_0x56d311,_0x4544a9=!0x1){const _0x1fb8ea=_0x517f36,{connection:_0xfa02ce}=this[_0x1fb8ea(0xa4)][_0x1fb8ea(0xbf)][_0x1fb8ea(0x8f)](_0x3da96e);l[_0x1fb8ea(0x170)][_0x1fb8ea(0x172)](_0xfa02ce,this[_0x1fb8ea(0x9f)])[_0x1fb8ea(0xbc)](_0x46092a=>this[_0x1fb8ea(0x158)](_0x46092a))[_0x1fb8ea(0x16f)](_0x3a7aba=>{const _0x1de388=_0x1fb8ea;this[_0x1de388(0x15d)](_0x1de388(0x90),_0x3a7aba);}),this[_0x1fb8ea(0x149)](this[_0x1fb8ea(0x93)],_0x1fb8ea(0x10e),this[_0x1fb8ea(0x88)][_0x1fb8ea(0x129)](this)),this[_0x1fb8ea(0x149)](this[_0x1fb8ea(0x93)],_0x1fb8ea(0x144),(_0x90dcbd,_0x36d735)=>{const _0x8bc173=_0x1fb8ea;this[_0x8bc173(0x15d)](_0x8bc173(0x12a),_0x36d735);}),this[_0x1fb8ea(0x149)](this[_0x1fb8ea(0x93)],_0x1fb8ea(0xfa),()=>{const _0x45750c=_0x1fb8ea;this[_0x45750c(0x16a)]=!0x1;});const _0x136e83=this[_0x1fb8ea(0xc2)][_0x1fb8ea(0x114)](_0x56d311);this[_0x1fb8ea(0x17e)]=!0x0;const _0x5839be=await this[_0x1fb8ea(0x93)][_0x1fb8ea(0x148)](_0xfa02ce,this[_0x1fb8ea(0xd7)](_0x56d311),_0x136e83);if(this[_0x1fb8ea(0x11f)]=_0x5839be[_0x1fb8ea(0x11f)],_0x4544a9){if(!_0x5839be[_0x1fb8ea(0x8c)])return void this[_0x1fb8ea(0x91)]();this[_0x1fb8ea(0x17e)]=!0x1,this[_0x1fb8ea(0x154)](),this[_0x1fb8ea(0x167)][_0x1fb8ea(0x163)](),this[_0x1fb8ea(0x16d)]=_0x5839be[_0x1fb8ea(0xa2)],this[_0x1fb8ea(0x167)][_0x1fb8ea(0xc7)]=this[_0x1fb8ea(0x16d)],await this[_0x1fb8ea(0x117)](_0x56d311,_0x5839be,_0x1fb8ea(0x140));}else await this[_0x1fb8ea(0x152)](_0x5839be,_0x56d311);this[_0x1fb8ea(0xf2)](),this[_0x1fb8ea(0x16a)]=!0x0;}[_0x517f36(0xf2)](){const _0x69057=_0x517f36,_0x2102a5=this[_0x69057(0xa4)][_0x69057(0xbf)][_0x69057(0x8f)](_0x66e81a),_0x143d91=this[_0x69057(0xa4)][_0x69057(0xbf)][_0x69057(0x8f)](_0x52a180),_0x4dd700=_0x2102a5[_0x69057(0xcd)][_0x69057(0x8f)](this[_0x69057(0x9f)]);_0x4dd700&&_0x4dd700[_0x69057(0x12d)]>0x1?_0x143d91[_0x69057(0x92)]():this[_0x69057(0x149)](_0x2102a5,_0x69057(0xfb)+this[_0x69057(0x9f)],()=>{const _0x618a26=_0x69057;0x2===_0x2102a5[_0x618a26(0xcd)][_0x618a26(0x8f)](this[_0x618a26(0x9f)])[_0x618a26(0x12d)]&&_0x143d91[_0x618a26(0x92)]();});}async[_0x517f36(0x88)](_0x27abc2,_0x130787,_0xd224a,_0x3cc0bb){const _0x4d293f=_0x517f36;if(!this[_0x4d293f(0x17e)]&&this[_0x4d293f(0x155)][_0x4d293f(0xc7)]==_0x130787){const _0x22e722=this[_0x4d293f(0xe7)](_0xd224a,_0x3cc0bb);await this[_0x4d293f(0xf3)](_0x22e722),this[_0x4d293f(0x168)](_0x22e722,_0x130787,_0xd224a[_0x4d293f(0xe5)])||this[_0x4d293f(0x15d)](_0x4d293f(0xce));}}async[_0x517f36(0x13a)](){const _0x2fc230=_0x517f36;this[_0x2fc230(0x13c)]();const {locale:_0xe2f405}=this[_0x2fc230(0xa4)];let _0xc80579;try{_0xc80579=await this[_0x2fc230(0x93)][_0x2fc230(0xc0)]();}catch(_0x393f73){const _0x5c431f=_0x4e9508(_0xe2f405,_0x2fc230(0x126));return void this[_0x2fc230(0x91)](_0x5c431f);}const _0x22c7da=_0xc80579[_0x2fc230(0x16b)]||_0xc80579[_0x2fc230(0xe1)];if(this[_0x2fc230(0x100)]===_0x22c7da[_0x2fc230(0xe5)])await this[_0x2fc230(0xf4)](this[_0x2fc230(0xa4)][_0x2fc230(0xde)][_0x2fc230(0x15f)][_0x2fc230(0x122)][_0x2fc230(0xaf)](),!0x0);else{const _0x24c997=_0x4e9508(_0xe2f405,_0x2fc230(0x11b));this[_0x2fc230(0x91)](_0x24c997);}}[_0x517f36(0x13c)](){const _0x194c2b=_0x517f36;this[_0x194c2b(0x93)][_0x194c2b(0xd2)](),this[_0x194c2b(0xda)]=[],clearTimeout(this[_0x194c2b(0x128)]),this[_0x194c2b(0x12f)](this[_0x194c2b(0x93)]);}[_0x517f36(0x158)](_0x1d3a17){const _0x253fb7=_0x517f36,_0x2b4d29=this[_0x253fb7(0xa4)][_0x253fb7(0xbf)][_0x253fb7(0x8f)](_0x66e81a);this[_0x253fb7(0x149)](_0x2b4d29,_0x253fb7(0xfb)+this[_0x253fb7(0x9f)],(_0x4c6f2f,{session:_0x385280})=>{const _0x4099b5=_0x253fb7;if(_0x385280['id']===_0x2b4d29[_0x4099b5(0x147)]){_0x4c6f2f[_0x4099b5(0xc8)]();const _0xb11b7d=this[_0x4099b5(0xa4)][_0x4099b5(0xbf)][_0x4099b5(0xf9)](_0x4099b5(0xdd))&&this[_0x4099b5(0xa4)][_0x4099b5(0xbf)][_0x4099b5(0x8f)](_0x4099b5(0xdd));let _0xd6bc60=_0x385280[_0x4099b5(0x11e)];_0xb11b7d&&_0xb11b7d[_0x4099b5(0xb1)]&&(_0xd6bc60=_0xd6bc60[_0x4099b5(0xd8)](_0x19976b=>_0x4099b5(0xdf)!==_0x19976b)),this[_0x4099b5(0xa4)][_0x4099b5(0xbf)][_0x4099b5(0x8f)](_0x4099b5(0x137))[_0x4099b5(0x17a)](_0xd6bc60,this[_0x4099b5(0x9f)]);}}),_0x2b4d29[_0x253fb7(0x95)](this[_0x253fb7(0x9f)],_0x1d3a17);}[_0x517f36(0x11a)](){const _0xb91fda=_0x517f36,_0x2afe97=this[_0xb91fda(0xa4)][_0xb91fda(0xac)][_0xb91fda(0xad)];this[_0xb91fda(0xa4)][_0xb91fda(0xac)][_0xb91fda(0xad)]=(..._0x261998)=>{const _0xc636b6=_0xb91fda;if(!_0x261998[_0x261998[_0xc636b6(0x12d)]-0x1][_0xc636b6(0xab)])throw new _0x2e3c88(_0xc636b6(0xe9),this);_0x2afe97[_0xc636b6(0x17b)](this[_0xc636b6(0xa4)][_0xc636b6(0xac)],_0x261998);};}[_0x517f36(0x10b)](){const _0x3f4e6c=_0x517f36;this[_0x3f4e6c(0xa4)][_0x3f4e6c(0xac)]['on'](_0x3f4e6c(0xba),(_0x19d2cd,[_0x313685])=>{const _0x4f0429=_0x3f4e6c;if(this[_0x4f0429(0x155)][_0x4f0429(0xc7)])throw new _0x2e3c88(_0x4f0429(0x136),this);_0x19d2cd[_0x4f0429(0xc6)](),this[_0x4f0429(0x94)]();const _0x43c987=this[_0x4f0429(0xa4)][_0x4f0429(0xc3)][_0x4f0429(0x8f)](_0x4f0429(0xed)),_0x44b9fd=this[_0x4f0429(0xc5)](_0x313685,_0x43c987);0x0==_0x44b9fd[_0x4f0429(0x12d)]&&_0x44b9fd[_0x4f0429(0x162)](new _0x5f3824(0x0)),_0x19d2cd[_0x4f0429(0x10d)]=this[_0x4f0429(0xf4)](_0x44b9fd)[_0x4f0429(0xbc)](()=>{const _0x5da588=_0x4f0429;this[_0x5da588(0xa4)][_0x5da588(0xbf)][_0x5da588(0x8f)](_0x3da96e)[_0x5da588(0x10a)](this),this[_0x5da588(0xa4)][_0x5da588(0xac)][_0x5da588(0x16e)](_0x5da588(0x181));})[_0x4f0429(0x16f)](_0x1f47c3=>this[_0x4f0429(0x15d)](_0x4f0429(0x10c),_0x1f47c3))[_0x4f0429(0xfd)](()=>this[_0x4f0429(0x154)]());},{'priority':_0x3f4e6c(0x84)}),this[_0x3f4e6c(0xa4)]['on'](_0x3f4e6c(0x145),async(_0x409084,[_0xf5afaa,_0x26036e])=>{const _0x4cc1a2=_0x3f4e6c;_0x409084[_0x4cc1a2(0xc6)]();const _0x253d9e=this[_0x4cc1a2(0xa4)][_0x4cc1a2(0xde)][_0x4cc1a2(0x15f)][_0x4cc1a2(0xa8)](_0xf5afaa);if(!this[_0x4cc1a2(0xb3)][_0x4cc1a2(0xf9)](_0xf5afaa)){const _0xf2321e=_0x26036e&&_0x26036e[_0x4cc1a2(0xac)]?_0x26036e[_0x4cc1a2(0xac)]:'',_0xfbabfa=_0x26036e&&_0x26036e[_0x4cc1a2(0x151)]?_0x26036e[_0x4cc1a2(0x151)]:{};await this[_0x4cc1a2(0x166)](_0xf5afaa,_0xf2321e,_0xfbabfa);}this[_0x4cc1a2(0xa4)][_0x4cc1a2(0xde)][_0x4cc1a2(0x13d)]({'isUndoable':!0x1},()=>{const _0x3bd83d=_0x4cc1a2;_0x253d9e[_0x3bd83d(0xfc)]=!0x0,this[_0x3bd83d(0xa4)][_0x3bd83d(0xde)][_0x3bd83d(0x15f)][_0x3bd83d(0x13b)][_0x3bd83d(0x142)](_0x253d9e);});},{'priority':_0x3f4e6c(0x84)});}async[_0x517f36(0xf3)](_0x2fd4ec){const _0x7da3d7=_0x517f36,_0x989c9f=this[_0x7da3d7(0xa4)][_0x7da3d7(0xbf)][_0x7da3d7(0x8f)](_0x3fc241),{connection:_0x443bd0}=this[_0x7da3d7(0xa4)][_0x7da3d7(0xbf)][_0x7da3d7(0x8f)](_0x3da96e),_0x4570d6=new Set();for(const _0x1edc46 of _0x2fd4ec){const _0x5c67bc=_0x1edc46[_0x7da3d7(0xc4)];_0x5c67bc&&!_0x989c9f[_0x7da3d7(0x12b)](_0x5c67bc)&&_0x4570d6[_0x7da3d7(0x81)](_0x5c67bc);}if(0x0===_0x4570d6[_0x7da3d7(0xe6)])return;const _0x5cbb82=await _0x1ec56a[_0x7da3d7(0xbe)](_0x443bd0,Array[_0x7da3d7(0x83)](_0x4570d6));for(const _0x1f1651 of _0x5cbb82)_0x989c9f[_0x7da3d7(0x12b)](_0x1f1651['id'])||_0x989c9f[_0x7da3d7(0x107)](_0x1f1651);}[_0x517f36(0xc5)](_0x3b106a,_0x23e5b1={}){const _0x5a9b81=_0x517f36,_0x2d6ea8=this[_0x5a9b81(0xa4)][_0x5a9b81(0xde)],_0x34bd94=[];let _0x385d7f=0x0;const _0x3f2df8=_0x5a9b81(0x13e)==typeof _0x3b106a?{'main':_0x3b106a}:_0x3b106a;for(const _0x483aff of Object[_0x5a9b81(0xb2)](_0x3f2df8)){if(!this[_0x5a9b81(0x155)][_0x5a9b81(0x17c)][_0x5a9b81(0xf9)](_0x483aff))throw new _0x2e3c88(_0x5a9b81(0x8a),this);const _0x71b6fc=this[_0x5a9b81(0xa4)][_0x5a9b81(0xac)][_0x5a9b81(0x102)](_0x3f2df8[_0x483aff]),_0x38d68a=this[_0x5a9b81(0x155)][_0x5a9b81(0xa8)](_0x483aff),_0x1b9cde=new _0x583d5d(_0x2d6ea8[_0x5a9b81(0x115)](_0x38d68a,0x0),_0x71b6fc,_0x385d7f++);_0x34bd94[_0x5a9b81(0x162)](_0x1b9cde);for(const [_0x4794c1,_0x552630]of _0x71b6fc[_0x5a9b81(0xca)]){const _0x140170=_0x2d6ea8[_0x5a9b81(0xf0)](_0x2d6ea8[_0x5a9b81(0x14d)](_0x38d68a,_0x552630[_0x5a9b81(0x177)][_0x5a9b81(0x109)][_0x5a9b81(0xc9)]()),_0x2d6ea8[_0x5a9b81(0x14d)](_0x38d68a,_0x552630[_0x5a9b81(0xdc)][_0x5a9b81(0x109)][_0x5a9b81(0xc9)]())),_0x442cda=new _0x138bf2(_0x4794c1,null,_0x140170,_0x2d6ea8[_0x5a9b81(0xca)],!0x0,_0x385d7f++);_0x34bd94[_0x5a9b81(0x162)](_0x442cda);}}if(_0x23e5b1)for(const [_0x198889,_0x17bca0]of Object[_0x5a9b81(0xec)](_0x23e5b1)){const _0x2fece0=_0x2d6ea8[_0x5a9b81(0x15f)][_0x5a9b81(0xa8)](_0x198889);if(!_0x2fece0)throw new _0x2e3c88(_0x5a9b81(0x179),null);for(const [_0x4f2842,_0x1df148]of Object[_0x5a9b81(0xec)](_0x17bca0))if(null!==_0x1df148){const _0x1c2d54=new _0x1fb4b0(_0x2fece0,_0x4f2842,null,_0x1df148,_0x385d7f++);_0x34bd94[_0x5a9b81(0x162)](_0x1c2d54);}}return _0x34bd94;}async[_0x517f36(0x166)](_0x2ec8c4,_0x12f9f3,_0x385410){const _0x4bcb20=_0x517f36;this[_0x4bcb20(0xc5)]({[_0x2ec8c4]:_0x12f9f3},{[_0x2ec8c4]:_0x385410})[_0x4bcb20(0x150)]((_0xcfca08,_0x1201d9)=>{const _0x32fb0b=_0x4bcb20;_0xcfca08[_0x32fb0b(0x111)]=this[_0x32fb0b(0x155)][_0x32fb0b(0xc7)]+_0x1201d9,_0xcfca08[_0x32fb0b(0x160)]=!0x0,this[_0x32fb0b(0x180)](_0xcfca08);}),this[_0x4bcb20(0x103)](),await this[_0x4bcb20(0x8e)]();}async[_0x517f36(0x152)](_0x545311,_0x26d447){const _0xa40367=_0x517f36;let _0x2427eb;this[_0xa40367(0x16d)]=_0x545311[_0xa40367(0xa2)];const _0x194a10=_0x545311[_0xa40367(0x8c)]&&!_0x545311[_0xa40367(0x108)],_0x2d4ddc=_0x194a10?0x0:_0x545311[_0xa40367(0xac)][_0xa40367(0x111)];if(_0x26d447[_0xa40367(0x150)](_0x2016ff=>{const _0x596d4a=_0xa40367;_0x2016ff[_0x596d4a(0x160)]=!0x0,_0x2016ff[_0x596d4a(0x182)]=_0x545311[_0x596d4a(0xb5)],_0x2016ff[_0x596d4a(0xc4)]=null;}),_0x194a10)_0x2427eb=_0x26d447,this[_0xa40367(0x133)](_0x2427eb,_0x194a10);else{if(_0x545311[_0xa40367(0x108)]){const _0x2cc5a5=this[_0xa40367(0xc5)](_0x545311[_0xa40367(0x108)]);this[_0xa40367(0x155)][_0xa40367(0x122)][_0xa40367(0xc7)]=-_0x2cc5a5[_0xa40367(0x12d)],_0x2cc5a5[_0xa40367(0x150)](_0x4b9525=>{const _0x285079=_0xa40367;_0x4b9525[_0x285079(0x111)]-=_0x2cc5a5[_0x285079(0x12d)],_0x4b9525[_0x285079(0x182)]=_0x545311[_0x285079(0xb5)],_0x4b9525[_0x285079(0x160)]=!0x0,_0x4b9525[_0x285079(0xc4)]=null;}),this[_0xa40367(0x133)](_0x2cc5a5,!0x0),this[_0xa40367(0x167)][_0xa40367(0xc7)]=-_0x2cc5a5[_0xa40367(0x12d)]+this[_0xa40367(0x16d)],this[_0xa40367(0xe4)](_0x2cc5a5);}this[_0xa40367(0x155)][_0xa40367(0x122)][_0xa40367(0xc7)]=_0x2d4ddc,_0x2427eb=this[_0xa40367(0xe7)](_0x545311[_0xa40367(0xac)],_0x545311[_0xa40367(0x134)]),await this[_0xa40367(0xf3)](_0x2427eb),this[_0xa40367(0x133)](_0x2427eb,_0x194a10);}_0x545311[_0xa40367(0xe5)]&&(this[_0xa40367(0xc2)][_0xa40367(0x11c)](_0x2427eb,_0x545311[_0xa40367(0xe5)]),this[_0xa40367(0x100)]=_0x545311[_0xa40367(0xe5)]),this[_0xa40367(0x167)][_0xa40367(0xc7)]=_0x2d4ddc+this[_0xa40367(0x16d)],this[_0xa40367(0xe4)](_0x2427eb),_0x26d447[_0xa40367(0xd8)](_0xa0a6a3=>{const _0x250b05=_0xa40367,_0x276d65=this[_0x250b05(0x127)](_0xa0a6a3);return _0x276d65&&!this[_0x250b05(0xb3)][_0x250b05(0xf9)](_0x276d65);})[_0xa40367(0x150)]((_0x37c968,_0x345ba1)=>{const _0x1d2ddc=_0xa40367;_0x37c968[_0x1d2ddc(0x111)]=this[_0x1d2ddc(0x155)][_0x1d2ddc(0xc7)]+_0x345ba1,this[_0x1d2ddc(0x180)](_0x37c968);}),this[_0xa40367(0x14a)]()?(this[_0xa40367(0xcf)]=0x0,this[_0xa40367(0x103)](!0x0),await this[_0xa40367(0x8e)]()):(this[_0xa40367(0x17e)]=!0x1,this[_0xa40367(0x154)]());}[_0x517f36(0x15d)](_0x232226,_0x4abc26){const _0x16933b=_0x517f36;throw this[_0x16933b(0x17e)]=!0x0,_0x4abc26&&console[_0x16933b(0x144)](_0x4abc26),new _0x2e3c88(_0x232226,this[_0x16933b(0xa4)]);}[_0x517f36(0x180)](_0x4a70df){const _0x50f767=_0x517f36;this[_0x50f767(0x176)][_0x50f767(0xf9)](_0x4a70df)||(this[_0x50f767(0x176)][_0x50f767(0x81)](_0x4a70df),this[_0x50f767(0xda)][_0x50f767(0x162)](_0x4a70df),this[_0x50f767(0xb4)]||_0x50f767(0x124)==_0x4a70df[_0x50f767(0x17f)]&&!_0x4a70df[_0x50f767(0xa5)]||this[_0x50f767(0x94)]());}[_0x517f36(0x103)](_0x4a9c51=!0x1){const _0xed7d6e=_0x517f36;!_0x4a9c51&&this[_0xed7d6e(0x17e)]||(this[_0xed7d6e(0x17e)]=!0x0,clearTimeout(this[_0xed7d6e(0x128)]),this[_0xed7d6e(0x128)]=setTimeout(()=>{const _0x13e989=_0xed7d6e;this[_0x13e989(0x141)]()[_0x13e989(0xbc)](_0x4c5bdc=>{const _0x4cf2ac=_0x13e989;_0x4c5bdc&&(this[_0x4cf2ac(0x154)](),this[_0x4cf2ac(0x17e)]=!0x1);})[_0x13e989(0x16f)](_0xe527be=>{const _0x2c765e=_0x13e989;if(this[_0x2c765e(0x154)](),this[_0x2c765e(0x17e)]=!0x1,!function(_0x4eabeb){const _0x52ed58=_0x2c765e;return _0x4eabeb[_0x52ed58(0xa6)][_0x52ed58(0x17d)](_0x52ed58(0x183))||_0x4eabeb[_0x52ed58(0xa6)][_0x52ed58(0x17d)](_0x52ed58(0x130))||_0x4eabeb[_0x52ed58(0xa6)][_0x52ed58(0x17d)](_0x52ed58(0xb8));}(_0xe527be))throw _0xe527be;});},this[_0xed7d6e(0xcf)]));}[_0x517f36(0x8e)](){return new Promise(_0x15b403=>{const _0x553886=_0x10bf;this['on'](_0x553886(0x9a),()=>{_0x15b403();});});}async[_0x517f36(0x141)](){const _0xd1e58b=_0x517f36,_0x508700=this[_0xd1e58b(0xa4)][_0xd1e58b(0xbf)][_0xd1e58b(0x8f)](_0x52a180);if(this[_0xd1e58b(0xd1)]()&&(_0x508700[_0xd1e58b(0x92)](),this[_0xd1e58b(0x15e)]=!0x1),!this[_0xd1e58b(0x14a)]())return!0x0;const _0x50f1ee=[...this[_0xd1e58b(0xda)]];for(const _0x5b430b of _0x50f1ee)_0x5b430b[_0xd1e58b(0x135)]=this[_0xd1e58b(0x155)][_0xd1e58b(0x122)][_0xd1e58b(0x165)](_0x5b430b);const _0x508b9f=this[_0xd1e58b(0xc2)][_0xd1e58b(0x114)](_0x50f1ee),_0xc35e5d=K++,_0x23f407=this[_0xd1e58b(0xd7)](_0x50f1ee),_0x2c34d7=await this[_0xd1e58b(0x93)][_0xd1e58b(0x143)](_0x23f407,_0x23f407[_0xd1e58b(0x111)],_0x508b9f);try{return await this[_0xd1e58b(0x117)](_0x50f1ee,_0x2c34d7,_0xc35e5d);}catch(_0x3f936c){return this[_0xd1e58b(0x15d)](_0xd1e58b(0xdb),_0x3f936c);}}async[_0x517f36(0x117)](_0x58b56f,_0x141e17,_0x1802fa){const _0x4a2b5e=_0x517f36;if(_0x4a2b5e(0x144)in _0x141e17)throw _0x141e17[_0x4a2b5e(0x144)];let _0x519222=!0x1;if(_0x141e17[_0x4a2b5e(0x8c)]){_0x141e17[_0x4a2b5e(0xe5)]&&(this[_0x4a2b5e(0x100)]=_0x141e17[_0x4a2b5e(0xe5)]),this[_0x4a2b5e(0xda)]=this[_0x4a2b5e(0xda)][_0x4a2b5e(0xd8)](_0x4078fe=>!_0x58b56f[_0x4a2b5e(0x184)](_0x4078fe));for(const _0x92e869 of _0x58b56f)_0x92e869[_0x4a2b5e(0x182)]=_0x4a2b5e(0x118)in _0x141e17&&_0x141e17[_0x4a2b5e(0x118)]||void 0x0;Q(_0x58b56f,_0x141e17[_0x4a2b5e(0xc7)]-_0x58b56f[_0x4a2b5e(0x12d)]),this[_0x4a2b5e(0xe4)](_0x58b56f);const _0x8111d4=_0x58b56f[_0x4a2b5e(0xd8)](_0x2c8223=>{const _0x449eb3=_0x4a2b5e;if(!_0x2c8223[_0x449eb3(0x160)])return!0x1;const _0x13e7f5=this[_0x449eb3(0x127)](_0x2c8223);return _0x13e7f5&&!this[_0x449eb3(0xb3)][_0x449eb3(0xf9)](_0x13e7f5);});Q(_0x8111d4,this[_0x4a2b5e(0x155)][_0x4a2b5e(0xc7)]),this[_0x4a2b5e(0x133)](_0x8111d4),_0x519222=!0x0,this[_0x4a2b5e(0xcf)]=this[_0x4a2b5e(0xee)];}else{const _0xbfcb60=this[_0x4a2b5e(0xe7)](_0x141e17[_0x4a2b5e(0xac)],_0x141e17[_0x4a2b5e(0x134)])[_0x4a2b5e(0xd8)](_0xe71b68=>_0xe71b68[_0x4a2b5e(0x111)]>=this[_0x4a2b5e(0xd0)]);_0xbfcb60[_0x4a2b5e(0x150)](_0x2ce187=>this[_0x4a2b5e(0x15b)](_0x2ce187)),this[_0x4a2b5e(0xda)]=this[_0x4a2b5e(0xda)][_0x4a2b5e(0xd8)](_0x5719fd=>!_0x5719fd[_0x4a2b5e(0x160)]||!this[_0x4a2b5e(0xb3)][_0x4a2b5e(0xf9)](this[_0x4a2b5e(0x127)](_0x5719fd))),this[_0x4a2b5e(0xda)][_0x4a2b5e(0x12d)]&&Q(this[_0x4a2b5e(0xda)],this[_0x4a2b5e(0xda)][0x0][_0x4a2b5e(0x111)]),await this[_0x4a2b5e(0xf3)](_0xbfcb60),_0x519222=this[_0x4a2b5e(0x168)](_0xbfcb60,_0x141e17[_0x4a2b5e(0xc7)],_0x141e17[_0x4a2b5e(0xe5)]),this[_0x4a2b5e(0xcf)]=Math[_0x4a2b5e(0xa3)](this[_0x4a2b5e(0xcf)]/0x2);}return _0x519222?!this[_0x4a2b5e(0x14a)]()||(this[_0x4a2b5e(0x103)](!0x0),!0x1):this[_0x4a2b5e(0x15d)](_0x4a2b5e(0x82));}[_0x517f36(0x168)](_0x4c5a1d,_0xb6120d,_0x5729d3){const _0xd6de4f=_0x517f36;try{const _0x3c469c={'document':this[_0xd6de4f(0x155)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x2627b0,operationsB:_0x52b876,originalOperations:_0x109c7e}=_0x291ece(_0x4c5a1d,this[_0xd6de4f(0xda)],_0x3c469c);Q(_0x2627b0,this[_0xd6de4f(0x155)][_0xd6de4f(0xc7)]),Q(_0x52b876,_0xb6120d);for(const _0x3196a1 of _0x2627b0){const _0x4da741=_0x109c7e[_0xd6de4f(0x8f)](_0x3196a1);_0x3196a1[_0xd6de4f(0xc4)]=_0x4da741?_0x4da741[_0xd6de4f(0xc4)]:null;}_0x5729d3&&(this[_0xd6de4f(0xc2)][_0xd6de4f(0x11c)](_0x4c5a1d,_0x5729d3),this[_0xd6de4f(0x100)]=_0x5729d3),this[_0xd6de4f(0xda)]=[..._0x52b876],this[_0xd6de4f(0x133)](_0x2627b0),this[_0xd6de4f(0xe4)](_0x4c5a1d);}catch(_0xa41692){return console[_0xd6de4f(0x144)](_0xa41692),!0x1;}return!0x0;}[_0x517f36(0x133)](_0x434124,_0x55d3cb=!0x1){const _0x5d6ec6=_0x517f36;this[_0x5d6ec6(0xa4)][_0x5d6ec6(0xde)][_0x5d6ec6(0x13d)]({'isUndoable':!0x1,'isLocal':!0x1},_0x2126aa=>{const _0x26d1d4=_0x5d6ec6;for(const _0xe97378 of _0x434124)this[_0x26d1d4(0x176)][_0x26d1d4(0x81)](_0xe97378),this[_0x26d1d4(0x15b)](_0xe97378),_0x2126aa[_0x26d1d4(0xff)][_0x26d1d4(0xe0)](_0xe97378),this[_0x26d1d4(0xa4)][_0x26d1d4(0xde)][_0x26d1d4(0xd9)](_0xe97378);});}[_0x517f36(0x15b)](_0x4ba2cc){const _0x3cde41=_0x517f36,_0x3ac412=this[_0x3cde41(0x127)](_0x4ba2cc);_0x3ac412&&this[_0x3cde41(0xb3)][_0x3cde41(0x81)](_0x3ac412);}[_0x517f36(0x127)](_0x483a8d){const _0x3d438e=_0x517f36;let _0x145e16,_0x26ebf7;switch(_0x483a8d[_0x3d438e(0x17f)]){case _0x3d438e(0x178):_0x145e16=_0x483a8d[_0x3d438e(0x120)][_0x3d438e(0xd4)];break;case _0x3d438e(0x124):if(_0x26ebf7=_0x483a8d[_0x3d438e(0xd6)],!_0x26ebf7)return null;_0x145e16=_0x26ebf7[_0x3d438e(0xd4)];break;case _0x3d438e(0x159):_0x145e16=_0x483a8d[_0x3d438e(0xd4)];break;case _0x3d438e(0xbd):_0x145e16=_0x483a8d[_0x3d438e(0x153)];break;case _0x3d438e(0x98):_0x145e16=_0x483a8d[_0x3d438e(0xa0)][_0x3d438e(0xd4)];break;default:return null;}return _0x145e16[_0x3d438e(0xbb)];}[_0x517f36(0xe4)](_0x28650c){const _0x6b8446=_0x517f36;_0x28650c[_0x6b8446(0x150)](_0x4cac41=>{const _0x1b3572=_0x6b8446,_0x5f50da=_0x4cac41[_0x1b3572(0x14c)]();_0x5f50da[_0x1b3572(0xc4)]=_0x4cac41[_0x1b3572(0xc4)],_0x5f50da[_0x1b3572(0x160)]=!!_0x4cac41[_0x1b3572(0x160)],_0x5f50da[_0x1b3572(0x182)]=_0x4cac41[_0x1b3572(0x182)],_0x5f50da[_0x1b3572(0x111)]+=this[_0x1b3572(0x16d)],_0x4cac41[_0x1b3572(0x11d)]&&this[_0x1b3572(0x132)][_0x1b3572(0x81)](_0x5f50da),this[_0x1b3572(0x167)][_0x1b3572(0xe0)](_0x5f50da);});}[_0x517f36(0x91)](_0x1bc8b0){const _0x17279c=_0x517f36,_0x1b16a1=this[_0x17279c(0xa4)][_0x17279c(0xbf)][_0x17279c(0x8f)](_0x17279c(0xae)),_0x4f5d11=this[_0x17279c(0xa4)][_0x17279c(0x8d)];_0x1bc8b0||(_0x1bc8b0=_0x4e9508(_0x4f5d11,_0x17279c(0x171))),_0x1b16a1[_0x17279c(0xcb)](_0x1bc8b0,{'title':_0x4e9508(_0x4f5d11,_0x17279c(0x8b)),'namespace':_0x17279c(0xf5)}),this[_0x17279c(0x9c)]=!0x0,clearTimeout(this[_0x17279c(0x128)]),this[_0x17279c(0xda)]=[],this[_0x17279c(0xa4)][_0x17279c(0xbf)][_0x17279c(0x8f)](_0x3da96e)[_0x17279c(0x112)]();}[_0x517f36(0x94)](){const _0x4f4f09=_0x517f36;this[_0x4f4f09(0xb4)]||(this[_0x4f4f09(0xb4)]=this[_0x4f4f09(0xa4)][_0x4f4f09(0xbf)][_0x4f4f09(0x8f)](_0x5f8e75)[_0x4f4f09(0x81)](_0x4e9508(this[_0x4f4f09(0xa4)][_0x4f4f09(0x8d)],_0x4f4f09(0x169))));}[_0x517f36(0x154)](){const _0x3bdacb=_0x517f36;this[_0x3bdacb(0xb4)]&&(this[_0x3bdacb(0xa4)][_0x3bdacb(0xbf)][_0x3bdacb(0x8f)](_0x5f8e75)[_0x3bdacb(0xcc)](this[_0x3bdacb(0xb4)]),this[_0x3bdacb(0xb4)]=null);}[_0x517f36(0xd7)](_0x4b4a0c){const _0x3e34f4=_0x517f36,_0x3e77c1=_0x4b4a0c[_0x3e34f4(0xb7)](_0x5d8369=>_0x5d8369[_0x3e34f4(0xb6)]());return this[_0x3e34f4(0xf6)][_0x3e34f4(0x13f)](_0x3e77c1);}[_0x517f36(0xe7)](_0xcb9d9b,_0x143c5b){const _0x1a2b32=_0x517f36;return this[_0x1a2b32(0xf6)][_0x1a2b32(0xf7)](_0xcb9d9b)[_0x1a2b32(0xb7)]((_0x1bd7c8,_0x29ef39)=>{const _0x396839=_0x1a2b32,_0x3e9650=_0x396839(0xba)==_0x143c5b[_0x29ef39][_0x396839(0x17f)];if(_0x396839(0x110)==_0x1bd7c8[_0x396839(0x121)]){const _0x23bc57=_0x1bd7c8[_0x396839(0x120)][_0x396839(0xd4)];!this[_0x396839(0x155)][_0x396839(0xa8)](_0x23bc57)&&(this[_0x396839(0x155)][_0x396839(0xa9)](_0x396839(0x85),_0x23bc57)[_0x396839(0xa7)]=!0x1);}const _0x2530e4=_0xdd7db5[_0x396839(0xc1)](_0x1bd7c8,this[_0x396839(0x155)]);return _0x2530e4[_0x396839(0x135)]=_0x1bd7c8[_0x396839(0x135)],_0x2530e4[_0x396839(0x160)]=_0x3e9650,_0x2530e4[_0x396839(0xc4)]=_0x3e9650?null:_0x143c5b[_0x29ef39][_0x396839(0x106)],_0x2530e4[_0x396839(0x11d)]=_0x396839(0x87)===_0x143c5b[_0x29ef39][_0x396839(0x17f)],_0x2530e4[_0x396839(0x182)]=_0x143c5b[_0x29ef39][_0x396839(0x182)],_0x2530e4;});}[_0x517f36(0x116)](){const _0x586c60=_0x517f36;this[_0x586c60(0x15e)]=!0x0,this[_0x586c60(0xd1)]()?this[_0x586c60(0x103)]():this[_0x586c60(0x15e)]=!0x1;}[_0x517f36(0xd1)](){const _0x5bc05f=_0x517f36,_0x230448=this[_0x5bc05f(0xa4)][_0x5bc05f(0xbf)][_0x5bc05f(0x8f)](_0x66e81a)[_0x5bc05f(0xcd)][_0x5bc05f(0x8f)](this[_0x5bc05f(0x9f)]);return!this[_0x5bc05f(0xa4)][_0x5bc05f(0xd3)]&&!!_0x230448&&_0x230448[_0x5bc05f(0x12d)]>0x1&&this[_0x5bc05f(0x15e)];}[_0x517f36(0x14a)](){const _0x2d85dd=_0x517f36;return this[_0x2d85dd(0xda)][_0x2d85dd(0x12d)]>0x0||this[_0x2d85dd(0xd1)]();}}l[_0x517f36(0x170)]=_0x4fc1ae;export default l;class J extends Error{}function Q(_0x111762,_0x5620f3){const _0x1bce51=_0x517f36;for(const _0x20a9c3 of _0x111762)_0x20a9c3[_0x1bce51(0x111)]=_0x5620f3++;}class X{constructor(_0x56d60b){const _0x3b90a8=_0x517f36;this[_0x3b90a8(0xf8)]=_0x56d60b,this[_0x3b90a8(0x15c)]=new WeakMap();}[_0x517f36(0x114)](_0x2a3a9e){const _0x5a237a=_0x517f36;let _0x31b0f5=_0x2a3a9e[_0x5a237a(0x12d)];for(;_0x31b0f5--;){const _0x8d1969=_0x2a3a9e[_0x31b0f5];if(!this[_0x5a237a(0xf8)][_0x5a237a(0xf9)](_0x8d1969)){if(!this[_0x5a237a(0x15c)][_0x5a237a(0xf9)](_0x8d1969)){const _0x2e7d34=_0x20be7d()[_0x5a237a(0xc9)](0x1,0x12);this[_0x5a237a(0x15c)][_0x5a237a(0xad)](_0x8d1969,_0x2e7d34);}return this[_0x5a237a(0x15c)][_0x5a237a(0x8f)](_0x8d1969);}}}[_0x517f36(0x11c)](_0x254bb0,_0x18415a){const _0x2fea9a=_0x517f36;if(!_0x18415a)return;let _0x23800e=_0x254bb0[_0x2fea9a(0x12d)];for(;_0x23800e--;){const _0x1179e9=_0x254bb0[_0x23800e];this[_0x2fea9a(0xf8)][_0x2fea9a(0xf9)](_0x1179e9)||this[_0x2fea9a(0x15c)][_0x2fea9a(0xad)](_0x1179e9,_0x18415a);}}}
|
|
23
|
+
const _0x4c6d35=_0x2df3;(function(_0x164864,_0x4fb2ad){const _0xdb91=_0x2df3,_0x4a1c01=_0x164864();while(!![]){try{const _0xe9905d=parseInt(_0xdb91(0x146))/0x1*(-parseInt(_0xdb91(0x145))/0x2)+parseInt(_0xdb91(0x197))/0x3+-parseInt(_0xdb91(0xc8))/0x4*(-parseInt(_0xdb91(0x172))/0x5)+-parseInt(_0xdb91(0x16d))/0x6+parseInt(_0xdb91(0xc4))/0x7+-parseInt(_0xdb91(0x1af))/0x8*(parseInt(_0xdb91(0x1ac))/0x9)+-parseInt(_0xdb91(0xf1))/0xa;if(_0xe9905d===_0x4fb2ad)break;else _0x4a1c01['push'](_0x4a1c01['shift']());}catch(_0x2e8ce0){_0x4a1c01['push'](_0x4a1c01['shift']());}}}(_0x1b9a,0x845b6));import{Plugin as _0x42ea2e,PendingActions as _0x44b0dd}from'ckeditor5/src/core.js';import{CKEditorError as _0x55529f,version as _0x123b0d,uid as _0x1944f1}from'ckeditor5/src/utils.js';import{Notification as _0x566884}from'ckeditor5/src/ui.js';import{transformSets as _0x454125,NoOperation as _0x2b1fc1,InsertOperation as _0x17bfa2,MarkerOperation as _0x8cb6b0,RootAttributeOperation as _0x4c9afd,OperationFactory as _0x10c948,History as _0x58703a}from'ckeditor5/src/engine.js';import _0x196662 from'./websocketgateway.js';import _0x3476a7 from'./sessions.js';import _0x5b06bf from'./usermarkers.js';import{getTranslation as _0x1870a9}from'../common-translations.js';function _0x1b9a(){const _0x2be87f=['parse','round','_setPendingAction','directChange','from','path','change:hasDomSelection','30MmQQfk','19501wYsHAy','createRange','markers','toJSON','reset','addToReconnectionStack','_hasSynchronizationProblem','sendOperations','enableReadOnlyMode','define','selection','metadata','_ignoredOperations','cloud-services-internal-error:\x20Request\x20timeout.','_sendBufferedOperationsDelayId','_initSessionsHandling','_handleInitialConnectionData','_channelId','requires','getIdOfTheLastOperation','change:_isPendingUpdate','_connectAfterSessionHasBeenFlushed','connected','high','_handleReconnectionResponse','_fetchMissingUsers','newRange','lastSyncVersion','_handleReceivedOperations','slice','_getOperationsFromInitData','addOperation','get','getUser','realtimecollaborationclient-initservice-incorrect-server-operation','RealTimeCollaborationClient','_authorId','affectedSelectable','_handleExternalOperations','3030036rOmhbS','isEnabled','_isInit','__className','rootName','5LjALgK','Notification','_handleReconnectionError','Permissions','pluginName','setPermissions','sessionCreatedAt','init','keys','suppressErrorInCollaboration','marker','collaboration','lastDocumentSession','_disconnectionOperations','baseVersion','state','_compressOperations','realtimecollaborationclient-initservice-internal-error','compress','reconnection:\x20flushed\x20session','_pendingAction','wasUndone','document:write','cloudDocumentVersion','realtimecollaborationclient-sendbufferedoperations','serverHistory','lastOperationAcceptedAt','push','setIdForTheLastOperation','_sendBufferedOperationsDelayed','type','_saveOperationInBuffer','off','userId','config','getDocumentDetails','getConnectedSessions','2892303FhHCxa','cloud-services-internal-error:\x20Not\x20connected.','root','fromJSON','filter','code','then','stop','_isAttached','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.','$root','_currentBufferDelay','differ','clone','createUserMarkerOperations','message','_bufferRootLoad','wereChangesApplied','destroy','editor','mySessionId','19845FlDhmS','includes','document','1512nQSioC','entries','unregister','register','editing','_addKnownRoot','lastOperationId','409','realtimecollaborationclient-handleserverresponse','length','_shouldSendUpdate','_getAffectedRoot','_operationToId','addRoot','start','showWarning','getRoot','listenTo','_refreshUserSelectionMarkers','change:_isEditingAllowed','channelSessions','view','return','5628294DDrawJ','_crash','CollaborativeEditingService','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','1323988UaMzap','affectsData','_sendBufferedOperations','sessionAdd:','collaboration.channelId','_disconnectService','_isPendingUpdate','collaboration-missing-channelid','reconnect','addRootAttribute','getOperationAuthor','PENDING_ACTION_SENDING_DATA','_updateServerHistory','loadRoot','disconnected','_knownOperations','ready','plugins','fire','_isLoaded','move','_lastServerVersion','isDocumentOperation','change:range','realtimecollaborationclient-init-connection-failed','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','realtimecollaborationclient-init-session-connection-error','catch','map','realtimecollaborationclient-init-document-already-initialized','offset','history','bind','version','_setUpDataInit','rtc-offline','position','isReadOnly','_connectService','isUndoneOperation','_waitUntilSynced','3427400RtnKUe','_handleSendingSelectionMarkers','roots','currentDocumentSession','insert','createPositionFromPath','rtc-destroyed','_hasSelectionChanged','error','connection','end','attributes','size','apply','_shouldSendSelectionUpdate','getMany','disableReadOnlyMode','connect','has','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.','set','startsWith','model','real-time-collaboration','_operationIdentifier','remove','add','createRoot','_offset','_isConnected','rootsAttributes','enqueueChange','_loadRoot','permissions','removeFromReconnectionStack','cs:removeUser','operationsReceived','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','addUser','getOperations','decompress','disconnect','_service','multi-root-editor-root-attributes-no-root','_decompressOperations','targetPosition','cloudServices.bundleVersion','_isDisconnection','_initThrowingOnDataSet','InsertOperation','_baseBufferDelay','data','locale','_bufferedOperations','_handleServerResponse','404','_knownRootNames','Synchronization\x20issue','batch','_compressor','_clearPendingAction','string','stopListening','_document','createdAt','sessionId','CommentsOnly','finally','initData','_lastSyncedOperationId','forEach','_isEditingAllowed','realtimecollaborationclient-init-non-existent-root','_applyOperationsSet','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','applyOperation','createPositionAt'];_0x1b9a=function(){return _0x2be87f;};return _0x1b9a();}function _0x2df3(_0x6a6af9,_0x34c751){const _0x1b9ae8=_0x1b9a();return _0x2df3=function(_0x2df31b,_0x325742){_0x2df31b=_0x2df31b-0xb3;let _0x3a869f=_0x1b9ae8[_0x2df31b];return _0x3a869f;},_0x2df3(_0x6a6af9,_0x34c751);}import{Compressor as _0x4266ed}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x57d553}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x5f15fb,CollaborativeEditingService as _0x351c65}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let F=0x1;class l extends _0x42ea2e{static get[_0x4c6d35(0x158)](){return[_0x196662,_0x3476a7,_0x5b06bf,_0x44b0dd,_0x57d553,_0x566884];}static get[_0x4c6d35(0x176)](){const _0x4188e1=_0x4c6d35;return _0x4188e1(0x169);}get[_0x4c6d35(0x189)](){const _0xd5686=_0x4c6d35;return this[_0xd5686(0xdd)]+this[_0xd5686(0x10d)];}get[_0x4c6d35(0xdd)](){const _0x2a9937=_0x4c6d35;return this[_0x2a9937(0x18b)][_0x2a9937(0xe9)]-this[_0x2a9937(0x10d)];}get[_0x4c6d35(0x161)](){const _0x35795d=_0x4c6d35,_0x36470e=this[_0x35795d(0x18b)][_0x35795d(0x118)]();for(let _0x5c2ac3=_0x36470e[_0x35795d(0xb6)]-0x1;_0x5c2ac3>=0x0;_0x5c2ac3--){const _0x4ba3c8=_0x36470e[_0x5c2ac3];if(!this[_0x35795d(0x17f)][_0x35795d(0x103)](_0x4ba3c8))return _0x4ba3c8[_0x35795d(0x180)]+0x1-this[_0x35795d(0x10d)];}return 0x0;}constructor(_0x165374){const _0x3545b0=_0x4c6d35;if(super(_0x165374),this[_0x3545b0(0x10d)]=0x0,this[_0x3545b0(0x132)]=null,this[_0x3545b0(0x18b)]=new _0x58703a(),this[_0x3545b0(0x1aa)][_0x3545b0(0x194)][_0x3545b0(0x14f)](_0x3545b0(0x17d),{}),this[_0x3545b0(0x157)]=this[_0x3545b0(0x1aa)][_0x3545b0(0x194)][_0x3545b0(0x166)](_0x3545b0(0xcc)),!this[_0x3545b0(0x157)])throw new _0x55529f(_0x3545b0(0xcf),this);const _0x4259a2=_0x165374[_0x3545b0(0x194)][_0x3545b0(0x166)](_0x3545b0(0x11f))||_0x123b0d;this[_0x3545b0(0x11b)]=new l[(_0x3545b0(0xc6))](_0x4259a2,this[_0x3545b0(0x157)]),this[_0x3545b0(0x130)]=this[_0x3545b0(0x1aa)][_0x3545b0(0x107)][_0x3545b0(0x1ae)],this[_0x3545b0(0x12c)]=new _0x4266ed(),this[_0x3545b0(0x126)]=[],this[_0x3545b0(0xd7)]=new WeakSet(),this[_0x3545b0(0x129)]=new Set(),this[_0x3545b0(0x105)](_0x3545b0(0xce),!0x1),this[_0x3545b0(0x105)](_0x3545b0(0x14c),!0x1),this[_0x3545b0(0x186)]=null,this[_0x3545b0(0xf8)]=!0x1,this[_0x3545b0(0x154)]=null,this[_0x3545b0(0x123)]=0x12c,this[_0x3545b0(0x1a2)]=this[_0x3545b0(0x123)],this[_0x3545b0(0x136)]=null,this[_0x3545b0(0x17f)]=new WeakSet(),this[_0x3545b0(0x109)]=new G(this[_0x3545b0(0x17f)]);}[_0x4c6d35(0x179)](){const _0x14774=_0x4c6d35,_0xc3672c=this[_0x14774(0x1aa)],_0x4f874d=_0xc3672c[_0x14774(0xd9)][_0x14774(0x166)](_0x57d553),_0x4acecd=_0xc3672c[_0x14774(0xd9)][_0x14774(0x166)](_0x196662);this[_0x14774(0xbe)](_0x4f874d,_0x14774(0xd2),(_0x29439c,_0x55eb52)=>{const _0x4f5986=_0x14774,_0x51ca01=_0x55eb52[0x0];_0x51ca01[_0x4f5986(0x16a)]&&(_0x29439c[_0x4f5986(0xc3)]=_0x4f874d[_0x4f5986(0x167)](_0x51ca01[_0x4f5986(0x16a)]),_0x29439c[_0x4f5986(0x19e)]()),null===_0x51ca01[_0x4f5986(0x16a)]&&(_0x29439c[_0x4f5986(0xc3)]=null,_0x29439c[_0x4f5986(0x19e)]());},{'priority':_0x14774(0x15d)}),this[_0x14774(0xbe)](_0xc3672c[_0x14774(0x107)][_0x14774(0x1ae)][_0x14774(0x150)],_0x14774(0xdf),(_0x142b18,_0xbe4909)=>{const _0x5d2f02=_0x14774;_0xbe4909[_0x5d2f02(0x141)]&&this[_0x5d2f02(0xbf)]();}),this[_0x14774(0xbe)](_0xc3672c[_0x14774(0x1b3)][_0x14774(0xc2)],_0x14774(0x144),()=>{const _0x3330fc=_0x14774;this[_0x3330fc(0xbf)]();}),this[_0x14774(0x121)](),_0xc3672c[_0x14774(0x107)]['on'](_0x14774(0x13c),(_0x265dc0,_0x22fb28)=>{const _0x22ac58=_0x14774,_0x3f03ac=_0x22fb28[0x0];_0x3f03ac[_0x22ac58(0xde)]&&(this[_0x22ac58(0x191)](_0x3f03ac),this[_0x22ac58(0xb7)]()&&this[_0x22ac58(0x18f)]());}),this[_0x14774(0xea)](),this[_0x14774(0xe8)](_0x14774(0x138))['to'](_0x4acecd,_0x14774(0x181),this,_0x14774(0x14c),(_0x37ee55,_0x382449)=>_0x14774(0x15c)===_0x37ee55&&!_0x382449),this['on'](_0x14774(0xc0),()=>{const _0x15698d=_0x14774;this[_0x15698d(0x138)]?_0xc3672c[_0x15698d(0x101)](_0x15698d(0xeb)):_0xc3672c[_0x15698d(0x14e)](_0x15698d(0xeb));}),this[_0x14774(0x138)]?_0xc3672c[_0x14774(0x101)](_0x14774(0xeb)):_0xc3672c[_0x14774(0x14e)](_0x14774(0xeb)),this[_0x14774(0x105)](_0x14774(0x10e),!0x1);}async[_0x4c6d35(0xd0)](){const _0x2c725b=_0x4c6d35,_0x273112=this[_0x2c725b(0x1aa)][_0x2c725b(0xd9)][_0x2c725b(0x166)](_0x3476a7),_0x23a189=this[_0x2c725b(0x1aa)][_0x2c725b(0xd9)][_0x2c725b(0x166)](_0x196662);try{this[_0x2c725b(0xce)]=!0x0,_0x273112[_0x2c725b(0x1b1)](this[_0x2c725b(0x157)]);const _0x43be22=await this[_0x2c725b(0x11b)][_0x2c725b(0xd0)](_0x23a189[_0x2c725b(0xfa)],this[_0x2c725b(0x161)]);await this[_0x2c725b(0x15e)](_0x43be22)&&(this[_0x2c725b(0xce)]=!0x1,this[_0x2c725b(0x12d)]());const _0x3c2432=await this[_0x2c725b(0x11b)][_0x2c725b(0x196)]();_0x273112[_0x2c725b(0x1b2)](this[_0x2c725b(0x157)],_0x3c2432),this[_0x2c725b(0xf2)](),this[_0x2c725b(0x10e)]=!0x0;}catch(_0x57683f){if(function(_0x2285ae){const _0x135d5a=_0x2c725b;return _0x135d5a(0x128)===_0x2285ae[_0x135d5a(0x19c)];}(_0x57683f)&&this[_0x2c725b(0x132)])await this[_0x2c725b(0x15b)]();else{if(function(_0x45cd09){const _0x21249f=_0x2c725b;return _0x21249f(0xb4)===_0x45cd09[_0x21249f(0x19c)];}(_0x57683f)){const _0x2e52b0=_0x1870a9(this[_0x2c725b(0x1aa)][_0x2c725b(0x125)],_0x2c725b(0xe1));this[_0x2c725b(0x174)](_0x2e52b0);}else{if(!(_0x57683f instanceof H))throw _0x57683f;this[_0x2c725b(0x174)]();}}}}[_0x4c6d35(0x1a9)](){const _0x145957=_0x4c6d35,_0x2dcef0=this[_0x145957(0x1aa)][_0x145957(0xd9)][_0x145957(0x166)](_0x196662),_0x5bf523=this[_0x145957(0x1aa)][_0x145957(0xd9)][_0x145957(0x166)](_0x3476a7);this[_0x145957(0x1aa)][_0x145957(0x14e)](_0x145957(0xf7)),_0x5bf523[_0x145957(0xc1)][_0x145957(0x103)](this[_0x145957(0x157)])&&_0x5bf523[_0x145957(0x1b1)](this[_0x145957(0x157)]),_0x2dcef0[_0x145957(0x113)](this),this[_0x145957(0xcd)](),super[_0x145957(0x1a9)]();}async[_0x4c6d35(0x15e)](_0x4e327b){const _0x5d326b=_0x4c6d35;if(this[_0x5d326b(0x132)]!==_0x4e327b[_0x5d326b(0x132)]&&this[_0x5d326b(0x136)]!==_0x4e327b[_0x5d326b(0xb3)])throw new H();return this[_0x5d326b(0x132)]=_0x4e327b[_0x5d326b(0x132)],this[_0x5d326b(0x127)]([],{..._0x4e327b,'wereChangesApplied':!0x1,'data':_0x4e327b[_0x5d326b(0x124)]},_0x5d326b(0xd0));}async[_0x4c6d35(0xee)](_0x25da7b,_0x5b6332=!0x1){const _0xe196ca=_0x4c6d35,{connection:_0xebc2c2}=this[_0xe196ca(0x1aa)][_0xe196ca(0xd9)][_0xe196ca(0x166)](_0x196662);l[_0xe196ca(0xc6)][_0xe196ca(0x196)](_0xebc2c2,this[_0xe196ca(0x157)])[_0xe196ca(0x19d)](_0x42d071=>this[_0xe196ca(0x155)](_0x42d071))[_0xe196ca(0xe3)](_0x5ebf54=>{const _0xc49c4a=_0xe196ca;this[_0xc49c4a(0xc5)](_0xc49c4a(0xe2),_0x5ebf54);}),this[_0xe196ca(0xbe)](this[_0xe196ca(0x11b)],_0xe196ca(0x115),this[_0xe196ca(0x162)][_0xe196ca(0xe8)](this)),this[_0xe196ca(0xbe)](this[_0xe196ca(0x11b)],_0xe196ca(0xf9),(_0x444852,_0x255d0d)=>{const _0x505f64=_0xe196ca;this[_0x505f64(0xc5)](_0x505f64(0x183),_0x255d0d);}),this[_0xe196ca(0xbe)](this[_0xe196ca(0x11b)],_0xe196ca(0xd6),()=>{const _0x508acf=_0xe196ca;this[_0x508acf(0x10e)]=!0x1;});const _0x55e5b2=this[_0xe196ca(0x109)][_0xe196ca(0x159)](_0x25da7b);this[_0xe196ca(0xce)]=!0x0;const _0x5c3d44=await this[_0xe196ca(0x11b)][_0xe196ca(0x102)](_0xebc2c2,this[_0xe196ca(0x182)](_0x25da7b),_0x55e5b2);if(this[_0xe196ca(0x132)]=_0x5c3d44[_0xe196ca(0x132)],_0x5b6332){if(!_0x5c3d44[_0xe196ca(0x1a8)])return void this[_0xe196ca(0x174)]();this[_0xe196ca(0xce)]=!0x1,this[_0xe196ca(0x12d)](),this[_0xe196ca(0x18b)][_0xe196ca(0x14a)](),this[_0xe196ca(0x10d)]=_0x5c3d44[_0xe196ca(0xe6)],this[_0xe196ca(0x18b)][_0xe196ca(0xe9)]=this[_0xe196ca(0x10d)],await this[_0xe196ca(0x127)](_0x25da7b,_0x5c3d44,_0xe196ca(0x185));}else await this[_0xe196ca(0x156)](_0x5c3d44,_0x25da7b);this[_0xe196ca(0xf2)](),this[_0xe196ca(0x10e)]=!0x0;}[_0x4c6d35(0xf2)](){const _0x53a71f=_0x4c6d35,_0x597bec=this[_0x53a71f(0x1aa)][_0x53a71f(0xd9)][_0x53a71f(0x166)](_0x3476a7),_0xb68b7d=this[_0x53a71f(0x1aa)][_0x53a71f(0xd9)][_0x53a71f(0x166)](_0x5b06bf),_0x120afe=_0x597bec[_0x53a71f(0xc1)][_0x53a71f(0x166)](this[_0x53a71f(0x157)]);_0x120afe&&_0x120afe[_0x53a71f(0xb6)]>0x1?_0xb68b7d[_0x53a71f(0x1a5)]():this[_0x53a71f(0xbe)](_0x597bec,_0x53a71f(0xcb)+this[_0x53a71f(0x157)],()=>{const _0x2d8fa4=_0x53a71f;0x2===_0x597bec[_0x2d8fa4(0xc1)][_0x2d8fa4(0x166)](this[_0x2d8fa4(0x157)])[_0x2d8fa4(0xb6)]&&_0xb68b7d[_0x2d8fa4(0x1a5)]();});}async[_0x4c6d35(0x162)](_0x13cfac,_0x38ef82,_0x4ea700,_0x4a9a16){const _0x36a8db=_0x4c6d35;if(!this[_0x36a8db(0xce)]&&this[_0x36a8db(0x130)][_0x36a8db(0xe9)]==_0x38ef82){const _0x311170=this[_0x36a8db(0x11d)](_0x4ea700,_0x4a9a16);await this[_0x36a8db(0x15f)](_0x311170),this[_0x36a8db(0x16c)](_0x311170,_0x38ef82,_0x4ea700[_0x36a8db(0xb3)])||this[_0x36a8db(0xc5)](_0x36a8db(0x168));}}async[_0x4c6d35(0x15b)](){const _0x26082b=_0x4c6d35;this[_0x26082b(0xcd)]();const {locale:_0x3720c9}=this[_0x26082b(0x1aa)];let _0x2521fe;try{_0x2521fe=await this[_0x26082b(0x11b)][_0x26082b(0x195)]();}catch(_0x4175a6){const _0x170e5c=_0x1870a9(_0x3720c9,_0x26082b(0x116));return void this[_0x26082b(0x174)](_0x170e5c);}const _0x457e04=_0x2521fe[_0x26082b(0xf4)]||_0x2521fe[_0x26082b(0x17e)];if(this[_0x26082b(0x136)]===_0x457e04[_0x26082b(0xb3)])await this[_0x26082b(0xee)](this[_0x26082b(0x1aa)][_0x26082b(0x107)][_0x26082b(0x1ae)][_0x26082b(0xe7)][_0x26082b(0x118)](),!0x0);else{const _0x19bafb=_0x1870a9(_0x3720c9,_0x26082b(0x104));this[_0x26082b(0x174)](_0x19bafb);}}[_0x4c6d35(0xcd)](){const _0x5b5bef=_0x4c6d35;this[_0x5b5bef(0x11b)][_0x5b5bef(0x11a)](),this[_0x5b5bef(0x126)]=[],clearTimeout(this[_0x5b5bef(0x154)]),this[_0x5b5bef(0x12f)](this[_0x5b5bef(0x11b)]);}[_0x4c6d35(0x155)](_0x18fca9){const _0x57bff2=_0x4c6d35,_0x1c3655=this[_0x57bff2(0x1aa)][_0x57bff2(0xd9)][_0x57bff2(0x166)](_0x3476a7);this[_0x57bff2(0xbe)](_0x1c3655,_0x57bff2(0xcb)+this[_0x57bff2(0x157)],(_0x2f4774,{session:_0x20437b})=>{const _0x3a5a50=_0x57bff2;if(_0x20437b['id']===_0x1c3655[_0x3a5a50(0x1ab)]){_0x2f4774[_0x3a5a50(0x192)]();const _0x570ee5=this[_0x3a5a50(0x1aa)][_0x3a5a50(0xd9)][_0x3a5a50(0x103)](_0x3a5a50(0x133))&&this[_0x3a5a50(0x1aa)][_0x3a5a50(0xd9)][_0x3a5a50(0x166)](_0x3a5a50(0x133));let _0x42a784=_0x20437b[_0x3a5a50(0x112)];_0x570ee5&&_0x570ee5[_0x3a5a50(0x16e)]&&(_0x42a784=_0x42a784[_0x3a5a50(0x19b)](_0x3641e6=>_0x3a5a50(0x188)!==_0x3641e6)),this[_0x3a5a50(0x1aa)][_0x3a5a50(0xd9)][_0x3a5a50(0x166)](_0x3a5a50(0x175))[_0x3a5a50(0x177)](_0x42a784,this[_0x3a5a50(0x157)]);}}),_0x1c3655[_0x57bff2(0x1b2)](this[_0x57bff2(0x157)],_0x18fca9);}[_0x4c6d35(0x121)](){const _0xb77ce9=_0x4c6d35,_0x2641a5=this[_0xb77ce9(0x1aa)][_0xb77ce9(0x124)][_0xb77ce9(0x105)];this[_0xb77ce9(0x1aa)][_0xb77ce9(0x124)][_0xb77ce9(0x105)]=(..._0x421636)=>{const _0xdad734=_0xb77ce9;if(!_0x421636[_0x421636[_0xdad734(0xb6)]-0x1][_0xdad734(0x17b)])throw new _0x55529f(_0xdad734(0xc7),this);_0x2641a5[_0xdad734(0xfe)](this[_0xdad734(0x1aa)][_0xdad734(0x124)],_0x421636);};}[_0x4c6d35(0xea)](){const _0x1be5c1=_0x4c6d35;this[_0x1be5c1(0x1aa)][_0x1be5c1(0x124)]['on'](_0x1be5c1(0x179),(_0x38bba9,[_0x11384b])=>{const _0x4f8f34=_0x1be5c1;if(this[_0x4f8f34(0x130)][_0x4f8f34(0xe9)])throw new _0x55529f(_0x4f8f34(0xe5),this);_0x38bba9[_0x4f8f34(0x19e)](),this[_0x4f8f34(0x140)]();const _0xb7f424=this[_0x4f8f34(0x1aa)][_0x4f8f34(0x194)][_0x4f8f34(0x166)](_0x4f8f34(0x10f)),_0x454533=this[_0x4f8f34(0x164)](_0x11384b,_0xb7f424);0x0==_0x454533[_0x4f8f34(0xb6)]&&_0x454533[_0x4f8f34(0x18d)](new _0x2b1fc1(0x0)),_0x38bba9[_0x4f8f34(0xc3)]=this[_0x4f8f34(0xee)](_0x454533)[_0x4f8f34(0x19d)](()=>{const _0x72a19d=_0x4f8f34;this[_0x72a19d(0x1aa)][_0x72a19d(0xd9)][_0x72a19d(0x166)](_0x196662)[_0x72a19d(0x14b)](this),this[_0x72a19d(0x1aa)][_0x72a19d(0x124)][_0x72a19d(0xda)](_0x72a19d(0xd8));})[_0x4f8f34(0xe3)](_0x539c80=>this[_0x4f8f34(0xc5)](_0x4f8f34(0xe0),_0x539c80))[_0x4f8f34(0x134)](()=>this[_0x4f8f34(0x12d)]());},{'priority':_0x1be5c1(0x15d)}),this[_0x1be5c1(0x1aa)]['on'](_0x1be5c1(0xd5),async(_0x5a8022,[_0x59c95e,_0x5e8692])=>{const _0x165bcf=_0x1be5c1;_0x5a8022[_0x165bcf(0x19e)]();const _0x170e93=this[_0x165bcf(0x1aa)][_0x165bcf(0x107)][_0x165bcf(0x1ae)][_0x165bcf(0xbd)](_0x59c95e);if(!this[_0x165bcf(0x129)][_0x165bcf(0x103)](_0x59c95e)){const _0x2fffb4=_0x5e8692&&_0x5e8692[_0x165bcf(0x124)]?_0x5e8692[_0x165bcf(0x124)]:'',_0x58d9e2=_0x5e8692&&_0x5e8692[_0x165bcf(0xfc)]?_0x5e8692[_0x165bcf(0xfc)]:{};await this[_0x165bcf(0x111)](_0x59c95e,_0x2fffb4,_0x58d9e2);}this[_0x165bcf(0x1aa)][_0x165bcf(0x107)][_0x165bcf(0x110)]({'isUndoable':!0x1},()=>{const _0x5a2f38=_0x165bcf;_0x170e93[_0x5a2f38(0xdb)]=!0x0,this[_0x5a2f38(0x1aa)][_0x5a2f38(0x107)][_0x5a2f38(0x1ae)][_0x5a2f38(0x1a3)][_0x5a2f38(0x1a7)](_0x170e93);});},{'priority':_0x1be5c1(0x15d)});}async[_0x4c6d35(0x15f)](_0x310241){const _0x5a9390=_0x4c6d35,_0x45d3a7=this[_0x5a9390(0x1aa)][_0x5a9390(0xd9)][_0x5a9390(0x166)](_0x57d553),{connection:_0x32027b}=this[_0x5a9390(0x1aa)][_0x5a9390(0xd9)][_0x5a9390(0x166)](_0x196662),_0xdbbe21=new Set();for(const _0x584004 of _0x310241){const _0x5af3f7=_0x584004[_0x5a9390(0x16a)];_0x5af3f7&&!_0x45d3a7[_0x5a9390(0x167)](_0x5af3f7)&&_0xdbbe21[_0x5a9390(0x10b)](_0x5af3f7);}if(0x0===_0xdbbe21[_0x5a9390(0xfd)])return;const _0x4eb6f1=await _0x5f15fb[_0x5a9390(0x100)](_0x32027b,Array[_0x5a9390(0x142)](_0xdbbe21));for(const _0x2e3dfc of _0x4eb6f1)_0x45d3a7[_0x5a9390(0x167)](_0x2e3dfc['id'])||_0x45d3a7[_0x5a9390(0x117)](_0x2e3dfc);}[_0x4c6d35(0x164)](_0x36d265,_0x8785eb={}){const _0x428300=_0x4c6d35,_0x5b99ab=this[_0x428300(0x1aa)][_0x428300(0x107)],_0x4fe136=[];let _0x369832=0x0;const _0x3373c6=_0x428300(0x12e)==typeof _0x36d265?{'main':_0x36d265}:_0x36d265;for(const _0x3f8e4e of Object[_0x428300(0x17a)](_0x3373c6)){if(!this[_0x428300(0x130)][_0x428300(0xf3)][_0x428300(0x103)](_0x3f8e4e))throw new _0x55529f(_0x428300(0x139),this);const _0x34525e=this[_0x428300(0x1aa)][_0x428300(0x124)][_0x428300(0x13e)](_0x3373c6[_0x3f8e4e]),_0x219558=this[_0x428300(0x130)][_0x428300(0xbd)](_0x3f8e4e),_0x1ec5b5=new _0x17bfa2(_0x5b99ab[_0x428300(0x13d)](_0x219558,0x0),_0x34525e,_0x369832++);_0x4fe136[_0x428300(0x18d)](_0x1ec5b5);for(const [_0x124a38,_0x1cb4f8]of _0x34525e[_0x428300(0x148)]){const _0x1e1168=_0x5b99ab[_0x428300(0x147)](_0x5b99ab[_0x428300(0xf6)](_0x219558,_0x1cb4f8[_0x428300(0xbb)][_0x428300(0x143)][_0x428300(0x163)]()),_0x5b99ab[_0x428300(0xf6)](_0x219558,_0x1cb4f8[_0x428300(0xfb)][_0x428300(0x143)][_0x428300(0x163)]())),_0x4d5cf1=new _0x8cb6b0(_0x124a38,null,_0x1e1168,_0x5b99ab[_0x428300(0x148)],!0x0,_0x369832++);_0x4fe136[_0x428300(0x18d)](_0x4d5cf1);}}if(_0x8785eb)for(const [_0x31ed00,_0x74016f]of Object[_0x428300(0x1b0)](_0x8785eb)){const _0x3da063=_0x5b99ab[_0x428300(0x1ae)][_0x428300(0xbd)](_0x31ed00);if(!_0x3da063)throw new _0x55529f(_0x428300(0x11c),null);for(const [_0x4b43b0,_0x4f284d]of Object[_0x428300(0x1b0)](_0x74016f))if(null!==_0x4f284d){const _0x5b875c=new _0x4c9afd(_0x3da063,_0x4b43b0,null,_0x4f284d,_0x369832++);_0x4fe136[_0x428300(0x18d)](_0x5b875c);}}return _0x4fe136;}async[_0x4c6d35(0x111)](_0x14d919,_0x27feea,_0x508c27){const _0x625458=_0x4c6d35;this[_0x625458(0x164)]({[_0x14d919]:_0x27feea},{[_0x14d919]:_0x508c27})[_0x625458(0x137)]((_0x5119a3,_0x491d85)=>{const _0x3e482c=_0x625458;_0x5119a3[_0x3e482c(0x180)]=this[_0x3e482c(0x130)][_0x3e482c(0xe9)]+_0x491d85,_0x5119a3[_0x3e482c(0x16f)]=!0x0,this[_0x3e482c(0x191)](_0x5119a3);}),this[_0x625458(0x18f)](),await this[_0x625458(0xf0)]();}async[_0x4c6d35(0x156)](_0x10ba17,_0x487386){const _0x1ea5ef=_0x4c6d35;let _0x3eef62;this[_0x1ea5ef(0x10d)]=_0x10ba17[_0x1ea5ef(0xe6)];const _0x5371e6=_0x10ba17[_0x1ea5ef(0x1a8)]&&!_0x10ba17[_0x1ea5ef(0x135)],_0x924624=_0x5371e6?0x0:_0x10ba17[_0x1ea5ef(0x124)][_0x1ea5ef(0x180)];if(_0x487386[_0x1ea5ef(0x137)](_0x23c526=>{const _0x4e2423=_0x1ea5ef;_0x23c526[_0x4e2423(0x16f)]=!0x0,_0x23c526[_0x4e2423(0x131)]=_0x10ba17[_0x4e2423(0x178)],_0x23c526[_0x4e2423(0x16a)]=null;}),_0x5371e6)_0x3eef62=_0x487386,this[_0x1ea5ef(0x13a)](_0x3eef62,_0x5371e6);else{if(_0x10ba17[_0x1ea5ef(0x135)]){const _0x578f6b=this[_0x1ea5ef(0x164)](_0x10ba17[_0x1ea5ef(0x135)]);this[_0x1ea5ef(0x130)][_0x1ea5ef(0xe7)][_0x1ea5ef(0xe9)]=-_0x578f6b[_0x1ea5ef(0xb6)],_0x578f6b[_0x1ea5ef(0x137)](_0x4f5672=>{const _0x39b052=_0x1ea5ef;_0x4f5672[_0x39b052(0x180)]-=_0x578f6b[_0x39b052(0xb6)],_0x4f5672[_0x39b052(0x131)]=_0x10ba17[_0x39b052(0x178)],_0x4f5672[_0x39b052(0x16f)]=!0x0,_0x4f5672[_0x39b052(0x16a)]=null;}),this[_0x1ea5ef(0x13a)](_0x578f6b,!0x0),this[_0x1ea5ef(0x18b)][_0x1ea5ef(0xe9)]=-_0x578f6b[_0x1ea5ef(0xb6)]+this[_0x1ea5ef(0x10d)],this[_0x1ea5ef(0xd4)](_0x578f6b);}this[_0x1ea5ef(0x130)][_0x1ea5ef(0xe7)][_0x1ea5ef(0xe9)]=_0x924624,_0x3eef62=this[_0x1ea5ef(0x11d)](_0x10ba17[_0x1ea5ef(0x124)],_0x10ba17[_0x1ea5ef(0x151)]),await this[_0x1ea5ef(0x15f)](_0x3eef62),this[_0x1ea5ef(0x13a)](_0x3eef62,_0x5371e6);}_0x10ba17[_0x1ea5ef(0xb3)]&&(this[_0x1ea5ef(0x109)][_0x1ea5ef(0x18e)](_0x3eef62,_0x10ba17[_0x1ea5ef(0xb3)]),this[_0x1ea5ef(0x136)]=_0x10ba17[_0x1ea5ef(0xb3)]),this[_0x1ea5ef(0x18b)][_0x1ea5ef(0xe9)]=_0x924624+this[_0x1ea5ef(0x10d)],this[_0x1ea5ef(0xd4)](_0x3eef62),_0x487386[_0x1ea5ef(0x19b)](_0x30eeb4=>{const _0x26b5db=_0x1ea5ef,_0xc0f10d=this[_0x26b5db(0xb8)](_0x30eeb4);return _0xc0f10d&&!this[_0x26b5db(0x129)][_0x26b5db(0x103)](_0xc0f10d);})[_0x1ea5ef(0x137)]((_0x2709be,_0x4fa3c7)=>{const _0x5b61b1=_0x1ea5ef;_0x2709be[_0x5b61b1(0x180)]=this[_0x5b61b1(0x130)][_0x5b61b1(0xe9)]+_0x4fa3c7,this[_0x5b61b1(0x191)](_0x2709be);}),this[_0x1ea5ef(0xb7)]()?(this[_0x1ea5ef(0x1a2)]=0x0,this[_0x1ea5ef(0x18f)](!0x0),await this[_0x1ea5ef(0xf0)]()):(this[_0x1ea5ef(0xce)]=!0x1,this[_0x1ea5ef(0x12d)]());}[_0x4c6d35(0xc5)](_0x1245de,_0xc2db9a){const _0x1b8526=_0x4c6d35;throw this[_0x1b8526(0xce)]=!0x0,_0xc2db9a&&console[_0x1b8526(0xf9)](_0xc2db9a),new _0x55529f(_0x1245de,this[_0x1b8526(0x1aa)]);}[_0x4c6d35(0x191)](_0xfb2c){const _0x167c13=_0x4c6d35;this[_0x167c13(0xd7)][_0x167c13(0x103)](_0xfb2c)||(this[_0x167c13(0xd7)][_0x167c13(0x10b)](_0xfb2c),this[_0x167c13(0x126)][_0x167c13(0x18d)](_0xfb2c),this[_0x167c13(0x186)]||_0x167c13(0x17c)==_0xfb2c[_0x167c13(0x190)]&&!_0xfb2c[_0x167c13(0xc9)]||this[_0x167c13(0x140)]());}[_0x4c6d35(0x18f)](_0x30554d=!0x1){const _0x3c392f=_0x4c6d35;!_0x30554d&&this[_0x3c392f(0xce)]||(this[_0x3c392f(0xce)]=!0x0,clearTimeout(this[_0x3c392f(0x154)]),this[_0x3c392f(0x154)]=setTimeout(()=>{const _0x535646=_0x3c392f;this[_0x535646(0xca)]()[_0x535646(0x19d)](_0x29ca7d=>{const _0x3bd52f=_0x535646;_0x29ca7d&&(this[_0x3bd52f(0x12d)](),this[_0x3bd52f(0xce)]=!0x1);})[_0x535646(0xe3)](_0x304ebb=>{const _0x3b5fa1=_0x535646;if(this[_0x3b5fa1(0x12d)](),this[_0x3b5fa1(0xce)]=!0x1,!function(_0x15439f){const _0x22b8b4=_0x3b5fa1;return _0x15439f[_0x22b8b4(0x1a6)][_0x22b8b4(0x106)](_0x22b8b4(0x198))||_0x15439f[_0x22b8b4(0x1a6)][_0x22b8b4(0x106)](_0x22b8b4(0x13b))||_0x15439f[_0x22b8b4(0x1a6)][_0x22b8b4(0x106)](_0x22b8b4(0x153));}(_0x304ebb))throw _0x304ebb;});},this[_0x3c392f(0x1a2)]));}[_0x4c6d35(0xf0)](){return new Promise(_0x121270=>{const _0x2b8f82=_0x2df3;this['on'](_0x2b8f82(0x15a),()=>{_0x121270();});});}async[_0x4c6d35(0xca)](){const _0x10ffbb=_0x4c6d35,_0xffb197=this[_0x10ffbb(0x1aa)][_0x10ffbb(0xd9)][_0x10ffbb(0x166)](_0x5b06bf);if(this[_0x10ffbb(0xff)]()&&(_0xffb197[_0x10ffbb(0x1a5)](),this[_0x10ffbb(0xf8)]=!0x1),!this[_0x10ffbb(0xb7)]())return!0x0;const _0x4e6660=[...this[_0x10ffbb(0x126)]];for(const _0x4854cc of _0x4e6660)_0x4854cc[_0x10ffbb(0x187)]=this[_0x10ffbb(0x130)][_0x10ffbb(0xe7)][_0x10ffbb(0xef)](_0x4854cc);const _0x33840d=this[_0x10ffbb(0x109)][_0x10ffbb(0x159)](_0x4e6660),_0x22cd8d=F++,_0x2a1238=this[_0x10ffbb(0x182)](_0x4e6660),_0x38f643=await this[_0x10ffbb(0x11b)][_0x10ffbb(0x14d)](_0x2a1238,_0x2a1238[_0x10ffbb(0x180)],_0x33840d);try{return await this[_0x10ffbb(0x127)](_0x4e6660,_0x38f643,_0x22cd8d);}catch(_0x34d8f0){return this[_0x10ffbb(0xc5)](_0x10ffbb(0x18a),_0x34d8f0);}}async[_0x4c6d35(0x127)](_0x2f2acb,_0xd689a4,_0x54431a){const _0x25e954=_0x4c6d35;if(_0x25e954(0xf9)in _0xd689a4)throw _0xd689a4[_0x25e954(0xf9)];let _0x9ad480=!0x1;if(_0xd689a4[_0x25e954(0x1a8)]){_0xd689a4[_0x25e954(0xb3)]&&(this[_0x25e954(0x136)]=_0xd689a4[_0x25e954(0xb3)]),this[_0x25e954(0x126)]=this[_0x25e954(0x126)][_0x25e954(0x19b)](_0x4295b0=>!_0x2f2acb[_0x25e954(0x1ad)](_0x4295b0));for(const _0x571e4d of _0x2f2acb)_0x571e4d[_0x25e954(0x131)]=_0x25e954(0x18c)in _0xd689a4&&_0xd689a4[_0x25e954(0x18c)]||void 0x0;q(_0x2f2acb,_0xd689a4[_0x25e954(0xe9)]-_0x2f2acb[_0x25e954(0xb6)]),this[_0x25e954(0xd4)](_0x2f2acb);const _0x5503de=_0x2f2acb[_0x25e954(0x19b)](_0x521227=>{const _0x49e38e=_0x25e954;if(!_0x521227[_0x49e38e(0x16f)])return!0x1;const _0x1b62f5=this[_0x49e38e(0xb8)](_0x521227);return _0x1b62f5&&!this[_0x49e38e(0x129)][_0x49e38e(0x103)](_0x1b62f5);});q(_0x5503de,this[_0x25e954(0x130)][_0x25e954(0xe9)]),this[_0x25e954(0x13a)](_0x5503de),_0x9ad480=!0x0,this[_0x25e954(0x1a2)]=this[_0x25e954(0x123)];}else{const _0x436d09=this[_0x25e954(0x11d)](_0xd689a4[_0x25e954(0x124)],_0xd689a4[_0x25e954(0x151)])[_0x25e954(0x19b)](_0x5dcafc=>_0x5dcafc[_0x25e954(0x180)]>=this[_0x25e954(0xdd)]);_0x436d09[_0x25e954(0x137)](_0x3dced4=>this[_0x25e954(0x1b4)](_0x3dced4)),this[_0x25e954(0x126)]=this[_0x25e954(0x126)][_0x25e954(0x19b)](_0x4dffa2=>!_0x4dffa2[_0x25e954(0x16f)]||!this[_0x25e954(0x129)][_0x25e954(0x103)](this[_0x25e954(0xb8)](_0x4dffa2))),this[_0x25e954(0x126)][_0x25e954(0xb6)]&&q(this[_0x25e954(0x126)],this[_0x25e954(0x126)][0x0][_0x25e954(0x180)]),await this[_0x25e954(0x15f)](_0x436d09),_0x9ad480=this[_0x25e954(0x16c)](_0x436d09,_0xd689a4[_0x25e954(0xe9)],_0xd689a4[_0x25e954(0xb3)]),this[_0x25e954(0x1a2)]=Math[_0x25e954(0x13f)](this[_0x25e954(0x1a2)]/0x2);}return _0x9ad480?!this[_0x25e954(0xb7)]()||(this[_0x25e954(0x18f)](!0x0),!0x1):this[_0x25e954(0xc5)](_0x25e954(0xb5));}[_0x4c6d35(0x16c)](_0x492bdb,_0x16ceb9,_0x437130){const _0x128f11=_0x4c6d35;try{const _0x42de72={'document':this[_0x128f11(0x130)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xef1e52,operationsB:_0x1b2c27,originalOperations:_0x3c76a0}=_0x454125(_0x492bdb,this[_0x128f11(0x126)],_0x42de72);q(_0xef1e52,this[_0x128f11(0x130)][_0x128f11(0xe9)]),q(_0x1b2c27,_0x16ceb9);for(const _0x2f70e0 of _0xef1e52){const _0x177277=_0x3c76a0[_0x128f11(0x166)](_0x2f70e0);_0x2f70e0[_0x128f11(0x16a)]=_0x177277?_0x177277[_0x128f11(0x16a)]:null;}_0x437130&&(this[_0x128f11(0x109)][_0x128f11(0x18e)](_0x492bdb,_0x437130),this[_0x128f11(0x136)]=_0x437130),this[_0x128f11(0x126)]=[..._0x1b2c27],this[_0x128f11(0x13a)](_0xef1e52),this[_0x128f11(0xd4)](_0x492bdb);}catch(_0x2d2bb1){return console[_0x128f11(0xf9)](_0x2d2bb1),!0x1;}return!0x0;}[_0x4c6d35(0x13a)](_0x231362,_0x163fbe=!0x1){const _0x6b3e60=_0x4c6d35;this[_0x6b3e60(0x1aa)][_0x6b3e60(0x107)][_0x6b3e60(0x110)]({'isUndoable':!0x1,'isLocal':!0x1},_0x545cfb=>{const _0x3a9725=_0x6b3e60;for(const _0x38c393 of _0x231362)this[_0x3a9725(0xd7)][_0x3a9725(0x10b)](_0x38c393),this[_0x3a9725(0x1b4)](_0x38c393),_0x545cfb[_0x3a9725(0x12b)][_0x3a9725(0x165)](_0x38c393),this[_0x3a9725(0x1aa)][_0x3a9725(0x107)][_0x3a9725(0x13c)](_0x38c393);});}[_0x4c6d35(0x1b4)](_0xac38f0){const _0x576048=_0x4c6d35,_0x28a0c4=this[_0x576048(0xb8)](_0xac38f0);_0x28a0c4&&this[_0x576048(0x129)][_0x576048(0x10b)](_0x28a0c4);}[_0x4c6d35(0xb8)](_0x4f8936){const _0x3bc7c8=_0x4c6d35;let _0x224a95,_0x1d3044;switch(_0x4f8936[_0x3bc7c8(0x190)]){case _0x3bc7c8(0xf5):_0x224a95=_0x4f8936[_0x3bc7c8(0xec)][_0x3bc7c8(0x199)];break;case _0x3bc7c8(0x17c):if(_0x1d3044=_0x4f8936[_0x3bc7c8(0x160)],!_0x1d3044)return null;_0x224a95=_0x1d3044[_0x3bc7c8(0x199)];break;case _0x3bc7c8(0xd1):_0x224a95=_0x4f8936[_0x3bc7c8(0x199)];break;case _0x3bc7c8(0xba):_0x224a95=_0x4f8936[_0x3bc7c8(0x16b)];break;case _0x3bc7c8(0xdc):_0x224a95=_0x4f8936[_0x3bc7c8(0x11e)][_0x3bc7c8(0x199)];break;default:return null;}return _0x224a95[_0x3bc7c8(0x171)];}[_0x4c6d35(0xd4)](_0x2d58c3){const _0x4978c8=_0x4c6d35;_0x2d58c3[_0x4978c8(0x137)](_0x6335fd=>{const _0x1a738c=_0x4978c8,_0x55d32f=_0x6335fd[_0x1a738c(0x1a4)]();_0x55d32f[_0x1a738c(0x16a)]=_0x6335fd[_0x1a738c(0x16a)],_0x55d32f[_0x1a738c(0x16f)]=!!_0x6335fd[_0x1a738c(0x16f)],_0x55d32f[_0x1a738c(0x131)]=_0x6335fd[_0x1a738c(0x131)],_0x55d32f[_0x1a738c(0x180)]+=this[_0x1a738c(0x10d)],_0x6335fd[_0x1a738c(0x120)]&&this[_0x1a738c(0x17f)][_0x1a738c(0x10b)](_0x55d32f),this[_0x1a738c(0x18b)][_0x1a738c(0x165)](_0x55d32f);});}[_0x4c6d35(0x174)](_0x814a51){const _0x1adcd0=_0x4c6d35,_0x51dd17=this[_0x1adcd0(0x1aa)][_0x1adcd0(0xd9)][_0x1adcd0(0x166)](_0x1adcd0(0x173)),_0x1beca0=this[_0x1adcd0(0x1aa)][_0x1adcd0(0x125)];_0x814a51||(_0x814a51=_0x1870a9(_0x1beca0,_0x1adcd0(0x1a0))),_0x51dd17[_0x1adcd0(0xbc)](_0x814a51,{'title':_0x1870a9(_0x1beca0,_0x1adcd0(0x12a)),'namespace':_0x1adcd0(0x108)}),this[_0x1adcd0(0x14c)]=!0x0,clearTimeout(this[_0x1adcd0(0x154)]),this[_0x1adcd0(0x126)]=[],this[_0x1adcd0(0x1aa)][_0x1adcd0(0xd9)][_0x1adcd0(0x166)](_0x196662)[_0x1adcd0(0x1a9)]();}[_0x4c6d35(0x140)](){const _0x5398ef=_0x4c6d35;this[_0x5398ef(0x186)]||(this[_0x5398ef(0x186)]=this[_0x5398ef(0x1aa)][_0x5398ef(0xd9)][_0x5398ef(0x166)](_0x44b0dd)[_0x5398ef(0x10b)](_0x1870a9(this[_0x5398ef(0x1aa)][_0x5398ef(0x125)],_0x5398ef(0xd3))));}[_0x4c6d35(0x12d)](){const _0x13b526=_0x4c6d35;this[_0x13b526(0x186)]&&(this[_0x13b526(0x1aa)][_0x13b526(0xd9)][_0x13b526(0x166)](_0x44b0dd)[_0x13b526(0x10a)](this[_0x13b526(0x186)]),this[_0x13b526(0x186)]=null);}[_0x4c6d35(0x182)](_0x2dfda7){const _0x38e3a5=_0x4c6d35,_0x136eee=_0x2dfda7[_0x38e3a5(0xe4)](_0x42e7f0=>_0x42e7f0[_0x38e3a5(0x149)]());return this[_0x38e3a5(0x12c)][_0x38e3a5(0x184)](_0x136eee);}[_0x4c6d35(0x11d)](_0x76c68b,_0x2b148a){const _0xb29d8a=_0x4c6d35;return this[_0xb29d8a(0x12c)][_0xb29d8a(0x119)](_0x76c68b)[_0xb29d8a(0xe4)]((_0x192104,_0xdbad54)=>{const _0x1e01ed=_0xb29d8a,_0x387d9e=_0x1e01ed(0x179)==_0x2b148a[_0xdbad54][_0x1e01ed(0x190)];if(_0x1e01ed(0x122)==_0x192104[_0x1e01ed(0x170)]){const _0x51f65e=_0x192104[_0x1e01ed(0xec)][_0x1e01ed(0x199)];!this[_0x1e01ed(0x130)][_0x1e01ed(0xbd)](_0x51f65e)&&(this[_0x1e01ed(0x130)][_0x1e01ed(0x10c)](_0x1e01ed(0x1a1),_0x51f65e)[_0x1e01ed(0x19f)]=!0x1);}const _0x402007=_0x10c948[_0x1e01ed(0x19a)](_0x192104,this[_0x1e01ed(0x130)]);return _0x402007[_0x1e01ed(0x187)]=_0x192104[_0x1e01ed(0x187)],_0x402007[_0x1e01ed(0x16f)]=_0x387d9e,_0x402007[_0x1e01ed(0x16a)]=_0x387d9e?null:_0x2b148a[_0xdbad54][_0x1e01ed(0x193)],_0x402007[_0x1e01ed(0x120)]=_0x1e01ed(0x114)===_0x2b148a[_0xdbad54][_0x1e01ed(0x190)],_0x402007[_0x1e01ed(0x131)]=_0x2b148a[_0xdbad54][_0x1e01ed(0x131)],_0x402007;});}[_0x4c6d35(0xbf)](){const _0x26246b=_0x4c6d35;this[_0x26246b(0xf8)]=!0x0,this[_0x26246b(0xff)]()?this[_0x26246b(0x18f)]():this[_0x26246b(0xf8)]=!0x1;}[_0x4c6d35(0xff)](){const _0x52baed=_0x4c6d35,_0x168ede=this[_0x52baed(0x1aa)][_0x52baed(0xd9)][_0x52baed(0x166)](_0x3476a7)[_0x52baed(0xc1)][_0x52baed(0x166)](this[_0x52baed(0x157)]);return!this[_0x52baed(0x1aa)][_0x52baed(0xed)]&&!!_0x168ede&&_0x168ede[_0x52baed(0xb6)]>0x1&&this[_0x52baed(0xf8)];}[_0x4c6d35(0xb7)](){const _0x4bbc1a=_0x4c6d35;return this[_0x4bbc1a(0x126)][_0x4bbc1a(0xb6)]>0x0||this[_0x4bbc1a(0xff)]();}}l[_0x4c6d35(0xc6)]=_0x351c65;export default l;class H extends Error{}function q(_0x391ed2,_0x3d5c89){const _0x4f2e41=_0x4c6d35;for(const _0x9b1f00 of _0x391ed2)_0x9b1f00[_0x4f2e41(0x180)]=_0x3d5c89++;}class G{constructor(_0x35341a){const _0x34718a=_0x4c6d35;this[_0x34718a(0x152)]=_0x35341a,this[_0x34718a(0xb9)]=new WeakMap();}[_0x4c6d35(0x159)](_0x125655){const _0x3e5f58=_0x4c6d35;let _0x5e63ba=_0x125655[_0x3e5f58(0xb6)];for(;_0x5e63ba--;){const _0x1d8053=_0x125655[_0x5e63ba];if(!this[_0x3e5f58(0x152)][_0x3e5f58(0x103)](_0x1d8053)){if(!this[_0x3e5f58(0xb9)][_0x3e5f58(0x103)](_0x1d8053)){const _0x163132=_0x1944f1()[_0x3e5f58(0x163)](0x1,0x12);this[_0x3e5f58(0xb9)][_0x3e5f58(0x105)](_0x1d8053,_0x163132);}return this[_0x3e5f58(0xb9)][_0x3e5f58(0x166)](_0x1d8053);}}}[_0x4c6d35(0x18e)](_0x23b27b,_0x4dbc4b){const _0x4081d9=_0x4c6d35;if(!_0x4dbc4b)return;let _0x3337ed=_0x23b27b[_0x4081d9(0xb6)];for(;_0x3337ed--;){const _0x4fec32=_0x23b27b[_0x3337ed];this[_0x4081d9(0x152)][_0x4081d9(0x103)](_0x4fec32)||this[_0x4081d9(0xb9)][_0x4081d9(0x105)](_0x4fec32,_0x4dbc4b);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1073f6=_0x3875;function _0x28bd(){const _0x109c71=['_handleSessionRemove','plugins','addUser','channelConnectedUsers','getUserSessions','set','unregister','4McyXer','1579194iqzvnl','_handleSessionAdd','3138215fyTZga','isMe','listenTo','orderNumber','getUserRole','_createUser','stopListening','21bDGNky','connected','add','allConnectedUsers','_users','defineMe','3712614Gzdsbf','has','change:state','_uniqueUsersCount','pluginName','1105617cDFbhJ','_registeredSessions','18647260mhfEpc','sessionId','15255279qVddLc','assign','connection','context','values','forEach','get','fire','getUserBySessionId','sessions-unregister-not-exist','Sessions','remove','init','role','clear','6wkUVRB','state','delete','size','channelSessions','getUser','57912371xAmVpd','sessions-register-already-registered','8DSpDWk','requires','sessionAdd:','user','register','mySessionId'];_0x28bd=function(){return _0x109c71;};return _0x28bd();}(function(_0xf3db4d,_0x2e94e3){const _0x575db8=_0x3875,_0x57922c=_0xf3db4d();while(!![]){try{const _0x4911ed=parseInt(_0x575db8(0xa0))/0x1+parseInt(_0x575db8(0x8a))/0x2*(-parseInt(_0x575db8(0xb4))/0x3)+parseInt(_0x575db8(0x9f))/0x4*(parseInt(_0x575db8(0xa2))/0x5)+-parseInt(_0x575db8(0xaf))/0x6*(parseInt(_0x575db8(0xa9))/0x7)+parseInt(_0x575db8(0x92))/0x8*(-parseInt(_0x575db8(0x7b))/0x9)+-parseInt(_0x575db8(0x79))/0xa+parseInt(_0x575db8(0x90))/0xb;if(_0x4911ed===_0x2e94e3)break;else _0x57922c['push'](_0x57922c['shift']());}catch(_0x300aa7){_0x57922c['push'](_0x57922c['shift']());}}}(_0x28bd,0xe7e9d));import{ContextPlugin as _0x5e4836}from'ckeditor5/src/core.js';function _0x3875(_0x27e393,_0x21df1f){const _0x28bd0d=_0x28bd();return _0x3875=function(_0x387588,_0x239d5e){_0x387588=_0x387588-0x79;let _0xf11f81=_0x28bd0d[_0x387588];return _0xf11f81;},_0x3875(_0x27e393,_0x21df1f);}import{Collection as _0x1eb21e,CKEditorError as _0x19ecd9}from'ckeditor5/src/utils.js';import _0x529d63 from'./websocketgateway.js';import{Users as _0x4b62b6}from'ckeditor5-collaboration/src/collaboration-core.js';export default class r extends _0x5e4836{static get[_0x1073f6(0xb3)](){const _0x35610f=_0x1073f6;return _0x35610f(0x85);}static get[_0x1073f6(0x93)](){return[_0x529d63,_0x4b62b6];}constructor(_0x206c6e){const _0x3af787=_0x1073f6;super(_0x206c6e),this[_0x3af787(0x8e)]=new Map(),this[_0x3af787(0x9b)]=new Map(),this[_0x3af787(0xac)]=new _0x1eb21e(),this[_0x3af787(0xb5)]=new Map(),this[_0x3af787(0xb2)]=0x0,this[_0x3af787(0xad)]=this[_0x3af787(0x7e)][_0x3af787(0x99)][_0x3af787(0x81)](_0x4b62b6);}[_0x1073f6(0x87)](){const _0x60595b=_0x1073f6,_0x2af3a8=this[_0x60595b(0x7e)][_0x60595b(0x99)][_0x60595b(0x81)](_0x529d63);this[_0x60595b(0xa4)](_0x2af3a8,_0x60595b(0xb1),(_0x26b251,_0x275871,_0x12af02)=>{const _0x2644ee=_0x60595b;if(_0x2644ee(0xaa)!==_0x12af02)this[_0x2644ee(0x8e)][_0x2644ee(0x80)](_0x42640b=>_0x42640b[_0x2644ee(0x89)]()),this[_0x2644ee(0x9b)][_0x2644ee(0x80)](_0x45732c=>_0x45732c[_0x2644ee(0x89)]()),this[_0x2644ee(0xac)][_0x2644ee(0x89)]();else{for(const [_0x48ef69,_0x36157b]of this[_0x2644ee(0xb5)])for(const _0x17d1ae of _0x36157b)this[_0x2644ee(0xa1)](_0x48ef69,_0x17d1ae);}}),this[_0x60595b(0xa7)](_0x2af3a8[_0x60595b(0x7d)]['me'],!0x0);}[_0x1073f6(0x96)](_0xfc2c0c,_0x59237f){const _0x519ae0=_0x1073f6;if(this[_0x519ae0(0xb5)][_0x519ae0(0xb0)](_0xfc2c0c))throw new _0x19ecd9(_0x519ae0(0x91),null,{'channelId':_0xfc2c0c});this[_0x519ae0(0xb5)][_0x519ae0(0x9d)](_0xfc2c0c,_0x59237f),this[_0x519ae0(0x8e)][_0x519ae0(0x9d)](_0xfc2c0c,new _0x1eb21e()),this[_0x519ae0(0x9b)][_0x519ae0(0x9d)](_0xfc2c0c,new _0x1eb21e()),this[_0x519ae0(0xa4)](_0x59237f,_0x519ae0(0xab),(_0x2d734d,_0x594a0e)=>this[_0x519ae0(0xa1)](_0xfc2c0c,_0x594a0e)),this[_0x519ae0(0xa4)](_0x59237f,_0x519ae0(0x86),(_0x36fe73,_0x23b69c)=>this[_0x519ae0(0x98)](_0xfc2c0c,_0x23b69c));for(const _0x40e372 of _0x59237f)this[_0x519ae0(0xa1)](_0xfc2c0c,_0x40e372);}[_0x1073f6(0x9e)](_0x54affb){const _0x219e4d=_0x1073f6;if(!this[_0x219e4d(0xb5)][_0x219e4d(0xb0)](_0x54affb))throw new _0x19ecd9(_0x219e4d(0x84),null,{'channelId':_0x54affb});const _0x4a5c81=this[_0x219e4d(0xb5)][_0x219e4d(0x81)](_0x54affb);this[_0x219e4d(0xa8)](_0x4a5c81);for(const _0x5d4e34 of _0x4a5c81)_0x219e4d(0xaa)===this[_0x219e4d(0x7e)][_0x219e4d(0x99)][_0x219e4d(0x81)](_0x529d63)[_0x219e4d(0x8b)]&&this[_0x219e4d(0x98)](_0x54affb,_0x5d4e34);this[_0x219e4d(0xb5)][_0x219e4d(0x8c)](_0x54affb),this[_0x219e4d(0x8e)][_0x219e4d(0x8c)](_0x54affb),this[_0x219e4d(0x9b)][_0x219e4d(0x8c)](_0x54affb);}get[_0x1073f6(0x97)](){const _0x66ddaa=_0x1073f6;return this[_0x66ddaa(0x7e)][_0x66ddaa(0x99)][_0x66ddaa(0x81)](_0x529d63)[_0x66ddaa(0x7d)][_0x66ddaa(0x7a)];}[_0x1073f6(0x83)](_0x5c1243){const _0x53377d=_0x1073f6;for(const _0x4798ae of this[_0x53377d(0x8e)][_0x53377d(0x7f)]())for(const _0x49d43f of _0x4798ae)if(_0x49d43f['id']===_0x5c1243)return _0x49d43f[_0x53377d(0x95)];}[_0x1073f6(0x9c)](_0x796d19,_0x13d586){const _0xb58a2d=_0x1073f6,_0x4c292a=_0x13d586?[this[_0xb58a2d(0x8e)][_0xb58a2d(0x81)](_0x13d586)]:this[_0xb58a2d(0x8e)][_0xb58a2d(0x7f)](),_0x4530f4=new Set();for(const _0xf1b1a7 of _0x4c292a)for(const _0x220c41 of _0xf1b1a7)_0x220c41[_0xb58a2d(0x95)]['id']===_0x796d19['id']&&_0x4530f4[_0xb58a2d(0xab)](_0x220c41['id']);return _0x4530f4;}[_0x1073f6(0xa6)](_0x5cd43e){const _0x5958f1=_0x1073f6;for(const _0x585e53 of this[_0x5958f1(0x8e)][_0x5958f1(0x7f)]())for(const _0x35659b of _0x585e53)if(_0x35659b[_0x5958f1(0x95)]===_0x5cd43e)return _0x35659b[_0x5958f1(0x88)];}[_0x1073f6(0xa1)](_0x2cc057,_0x5c6db8){const _0x3bdb87=_0x1073f6;if(_0x3bdb87(0xaa)!==this[_0x3bdb87(0x7e)][_0x3bdb87(0x99)][_0x3bdb87(0x81)](_0x529d63)[_0x3bdb87(0x8b)])return;const _0x1c1a93=_0x5c6db8[_0x3bdb87(0x95)],_0x211b10=this[_0x3bdb87(0xad)][_0x3bdb87(0x8f)](_0x1c1a93['id'])||this[_0x3bdb87(0xa7)](_0x1c1a93),_0x5a4985=Object[_0x3bdb87(0x7c)]({},_0x5c6db8,{'user':_0x211b10});this[_0x3bdb87(0x8e)][_0x3bdb87(0x81)](_0x2cc057)[_0x3bdb87(0xab)](_0x5a4985);const _0x233991=this[_0x3bdb87(0x9b)][_0x3bdb87(0x81)](_0x2cc057);_0x233991[_0x3bdb87(0xb0)](_0x211b10['id'])||_0x233991[_0x3bdb87(0xab)](_0x211b10),this[_0x3bdb87(0xac)][_0x3bdb87(0xb0)](_0x211b10['id'])||this[_0x3bdb87(0xac)][_0x3bdb87(0xab)](_0x211b10,_0x211b10[_0x3bdb87(0xa3)]?0x0:void 0x0),this[_0x3bdb87(0x82)](_0x3bdb87(0x94)+_0x2cc057,{'channelId':_0x2cc057,'session':_0x5a4985});}[_0x1073f6(0x98)](_0x478267,_0x4f7c31){const _0x5a37b6=_0x1073f6;if(_0x5a37b6(0xaa)!==this[_0x5a37b6(0x7e)][_0x5a37b6(0x99)][_0x5a37b6(0x81)](_0x529d63)[_0x5a37b6(0x8b)])return;const _0x32c0b5=this[_0x5a37b6(0x9b)][_0x5a37b6(0x81)](_0x478267),_0x12fc5b=_0x4f7c31[_0x5a37b6(0x95)];_0x12fc5b['id']&&(this[_0x5a37b6(0x8e)][_0x5a37b6(0x81)](_0x478267)[_0x5a37b6(0x86)](_0x4f7c31['id']),_0x32c0b5[_0x5a37b6(0xb0)](_0x12fc5b['id'])&&!this[_0x5a37b6(0x9c)](_0x12fc5b,_0x478267)[_0x5a37b6(0x8d)]&&_0x32c0b5[_0x5a37b6(0x86)](_0x12fc5b['id']),this[_0x5a37b6(0xac)][_0x5a37b6(0x81)](_0x12fc5b['id'])&&!this[_0x5a37b6(0x9c)](_0x12fc5b)[_0x5a37b6(0x8d)]&&this[_0x5a37b6(0xac)][_0x5a37b6(0x86)](_0x12fc5b['id']));}[_0x1073f6(0xa7)](_0x4588ec,_0x236436){const _0x39d9ae=_0x1073f6,_0x5001f8=this[_0x39d9ae(0xad)][_0x39d9ae(0x9a)](_0x4588ec);return _0x236436&&this[_0x39d9ae(0xad)][_0x39d9ae(0xae)](_0x4588ec['id']),_0x5001f8[_0x39d9ae(0xa5)]=this[_0x39d9ae(0xb2)]++,_0x5001f8;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x46c3(){const _0x195cff=['clear','getAttribute','isCollapsed','requires','name','split','init','createUserMarkerOperations','user:range:','contenteditable','reconvertMarker','document','hasContent','render','mapper','for','model','markerNameToElements','batch','user:position','undo','UserMarkers','user:position:','pluginName','toDomElement','newRange','highest','markerToHighlight','markerName','innerHTML','set','addMarker','getNearestSelectionRange','updateMarker','nodeAfter','userPositionMarker','marker','Escape','mouseenter','_createdBatches','plugins','</span>','mouseleave','enqueueChange','65010RLXnwy','orderNumber','selection','applyOperation','commands','markers','add','getPositions','setCustomProperty','getSelectionClass','removeMarker','delete','has','mySessionId','getContainedElement','deletionPosition','addEventListener','923073XvNPFt','888292iUifNU','change','isLimit','afterInit','288NVFNmW','ck-user__marker\x20','startsWith','_domEmitter','5265948uxakIK','$graveyard','keydown','$text','ck-user__selection','oldRange','tableCell','ck-user__marker_hovered','detach','change:range','createRange','element','remove','stopListening','isObject','getRange','checkChild','type','4417416iZRuDX','size','destroy','createUIElement','getCustomProperty','classList','editor','schema','885772Yyramp','user:','15moJLNr','getFirstRange','rootName','data-session-id','listenTo','7tjRdLy','isSimilar','12020TqliWR','getStart','start','view','isInline','color','parent','removeClass','markerRange','hasDomSelection','fromRange','root','update:user:range','user:range','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','conversion','end','getUserBySessionId','markerToElement','toRange','editingDowncast','editing','get','getMarkerClass','span'];_0x46c3=function(){return _0x195cff;};return _0x46c3();}const _0x471c0a=_0x4670;(function(_0x40fac5,_0x4ffb6f){const _0xec7043=_0x4670,_0x18252b=_0x40fac5();while(!![]){try{const _0x289ea6=parseInt(_0xec7043(0x17b))/0x1+parseInt(_0xec7043(0x184))/0x2+-parseInt(_0xec7043(0x158))/0x3+-parseInt(_0xec7043(0x159))/0x4*(parseInt(_0xec7043(0x17d))/0x5)+-parseInt(_0xec7043(0x161))/0x6*(-parseInt(_0xec7043(0x182))/0x7)+-parseInt(_0xec7043(0x173))/0x8+parseInt(_0xec7043(0x15d))/0x9*(parseInt(_0xec7043(0x147))/0xa);if(_0x289ea6===_0x4ffb6f)break;else _0x18252b['push'](_0x18252b['shift']());}catch(_0x584f6f){_0x18252b['push'](_0x18252b['shift']());}}}(_0x46c3,0x6e339));import{Plugin as _0x27da86}from'ckeditor5/src/core.js';import{global as _0x3776d9,DomEmitterMixin as _0x1f2ac6}from'ckeditor5/src/utils.js';import _0x2205ba from'./sessions.js';function _0x4670(_0x40a699,_0xadcd6e){const _0x46c315=_0x46c3();return _0x4670=function(_0x4670d2,_0x1c180f){_0x4670d2=_0x4670d2-0x136;let _0x5abbe6=_0x46c315[_0x4670d2];return _0x5abbe6;},_0x4670(_0x40a699,_0xadcd6e);}import{LiveRange as _0x56df32}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x27da86{constructor(){const _0xad4ff4=_0x4670;super(...arguments),this[_0xad4ff4(0x160)]=new(_0x1f2ac6())();}static get[_0x471c0a(0x1a0)](){return[_0x2205ba];}static get[_0x471c0a(0x1b4)](){const _0x4b647d=_0x471c0a;return _0x4b647d(0x1b2);}[_0x471c0a(0x1a3)](){const _0x1dcf83=_0x471c0a,_0x31785d=this[_0x1dcf83(0x179)],_0x8852f8=_0x31785d[_0x1dcf83(0x143)][_0x1dcf83(0x19a)](_0x2205ba);_0x31785d[_0x1dcf83(0x193)][_0x1dcf83(0x1ac)](_0x1dcf83(0x198))[_0x1dcf83(0x196)]({'model':_0x1dcf83(0x1b0),'view':(_0x430d72,{writer:_0x2efeaf})=>function(_0x3485ef,_0x15890f,_0x426672,_0x3c961e){const _0x3cbbaf=_0x1dcf83,_0x560c9a=_0x3485ef[_0x3cbbaf(0x137)][_0x3cbbaf(0x1a2)](':')[0x2],_0x488336=_0x426672[_0x3cbbaf(0x195)](_0x560c9a);if(!_0x488336||_0x560c9a===_0x426672[_0x3cbbaf(0x154)])return;if(!_0x3c961e[_0x3cbbaf(0x1ad)][_0x3cbbaf(0x17a)][_0x3cbbaf(0x171)](_0x3485ef[_0x3cbbaf(0x18c)][_0x3cbbaf(0x186)],_0x3cbbaf(0x164)))return;const _0x466da7={'class':_0x3cbbaf(0x15e)+_0x488336[_0x3cbbaf(0x189)][_0x3cbbaf(0x19b)](),'data-name':_0x488336[_0x3cbbaf(0x1a1)],'data-session-id':_0x560c9a},_0x5765b3=_0x3c961e[_0x3cbbaf(0x1ad)][_0x3cbbaf(0x14c)][_0x3cbbaf(0x19a)](_0x3485ef[_0x3cbbaf(0x137)]),_0x39dfb2=_0x5765b3[_0x3cbbaf(0x185)](),_0xbca505=_0x39dfb2[_0x3cbbaf(0x13d)],_0x51b49d=_0x3c961e[_0x3cbbaf(0x1ad)][_0x3cbbaf(0x17a)];if(_0xbca505&&_0x51b49d[_0x3cbbaf(0x16f)](_0xbca505)&&_0x51b49d[_0x3cbbaf(0x188)](_0xbca505)&&!_0x3c961e[_0x3cbbaf(0x1ad)][_0x3cbbaf(0x14c)][_0x3cbbaf(0x19a)](_0x3cbbaf(0x1a5)+_0x560c9a)[_0x3cbbaf(0x170)]()[_0x3cbbaf(0x19f)])return;const _0x24a3c8=_0x39dfb2[_0x3cbbaf(0x18a)];return _0x3c961e[_0x3cbbaf(0x1ad)][_0x3cbbaf(0x17a)][_0x3cbbaf(0x15b)](_0x24a3c8)&&!_0x3c961e[_0x3cbbaf(0x1ad)][_0x3cbbaf(0x1a9)](_0x24a3c8)&&(_0x466da7[_0x3cbbaf(0x1a6)]=!0x1),function(_0x20631e,_0x13a37e,_0x360c8c){const _0x24dcbb=_0x3cbbaf,_0x3ce6e5=_0x20631e[_0x24dcbb(0x176)](_0x24dcbb(0x19c),_0x13a37e);return _0x20631e[_0x24dcbb(0x14f)](_0x24dcbb(0x13e),!0x0,_0x3ce6e5),_0x3ce6e5[_0x24dcbb(0x1aa)]=function(_0x37f2c3){const _0x5a8f55=_0x24dcbb,_0x1e698f=this[_0x5a8f55(0x1b5)](_0x37f2c3);return _0x1e698f[_0x5a8f55(0x138)]=_0x5a8f55(0x192)+_0x360c8c[_0x5a8f55(0x1a1)]+_0x5a8f55(0x144),_0x1e698f[_0x5a8f55(0x157)](_0x5a8f55(0x141),()=>{const _0x4c7efb=_0x5a8f55;_0x1e698f[_0x4c7efb(0x178)][_0x4c7efb(0x14d)](_0x4c7efb(0x168));}),_0x1e698f[_0x5a8f55(0x157)](_0x5a8f55(0x145),()=>{const _0x3b29d7=_0x5a8f55;_0x1e698f[_0x3b29d7(0x178)][_0x3b29d7(0x16d)](_0x3b29d7(0x168));}),_0x1e698f;},_0x3ce6e5[_0x24dcbb(0x183)]=function(_0x2dac38){const _0x25411d=_0x24dcbb;return!(!this[_0x25411d(0x177)](_0x25411d(0x13e))||!_0x2dac38[_0x25411d(0x177)](_0x25411d(0x13e))||this[_0x25411d(0x19e)](_0x25411d(0x180))!=_0x2dac38[_0x25411d(0x19e)](_0x25411d(0x180)));},_0x3ce6e5;}(_0x15890f,_0x466da7,_0x488336);}(_0x430d72,_0x2efeaf,_0x8852f8,_0x31785d)}),_0x31785d[_0x1dcf83(0x193)][_0x1dcf83(0x1ac)](_0x1dcf83(0x198))[_0x1dcf83(0x136)]({'model':_0x1dcf83(0x191),'view':_0x2139aa=>function(_0xf93d80,_0x408e25){const _0x4ed055=_0x1dcf83,_0x227e70=_0xf93d80[_0x4ed055(0x137)][_0x4ed055(0x1a2)](':')[0x2];if(_0x227e70===_0x408e25[_0x4ed055(0x154)])return null;const _0x3c0b32=_0x408e25[_0x4ed055(0x195)](_0x227e70);if(!_0x3c0b32)return{'id':_0x227e70,'classes':[]};return{'id':_0x227e70,'classes':[_0x4ed055(0x165),_0x3c0b32[_0x4ed055(0x189)][_0x4ed055(0x150)]()],'attributes':{'data-session-id':_0x227e70},'priority':0x7d0+_0x3c0b32[_0x4ed055(0x148)]};}(_0x2139aa,_0x8852f8)}),function(_0x54d4e9){const _0x5dc35a=_0x1dcf83,_0x89818f=_0x54d4e9[_0x5dc35a(0x1ad)],_0x421bb0=new Map(),_0x41f76d=_0x54d4e9[_0x5dc35a(0x143)][_0x5dc35a(0x19a)](_0x2205ba);_0x89818f[_0x5dc35a(0x14c)]['on'](_0x5dc35a(0x190),(_0x5d62d7,_0x337472,_0x22938c,_0xa28424)=>{const _0x55a096=_0x5dc35a;if(!_0xa28424&&_0x421bb0[_0x55a096(0x19a)](_0x337472[_0x55a096(0x1a1)]))return _0x421bb0[_0x55a096(0x19a)](_0x337472[_0x55a096(0x1a1)])[_0x55a096(0x169)](),void _0x421bb0[_0x55a096(0x152)](_0x337472[_0x55a096(0x1a1)]);const _0xb7ea7=_0x337472[_0x55a096(0x1a1)][_0x55a096(0x1a2)](':')[0x2];if(_0xb7ea7===_0x41f76d[_0x55a096(0x154)])return;const _0x409b58=_0x55a096(0x1b3)+_0xb7ea7;_0x89818f[_0x55a096(0x14c)][_0x55a096(0x153)](_0x409b58)&&_0x54d4e9[_0x55a096(0x199)][_0x55a096(0x1a7)](_0x409b58),_0x337472['on'](_0x55a096(0x16a),(_0x142b4b,_0x3f2364,_0x246e49)=>{const _0x544ce1=_0x55a096;if(_0x544ce1(0x162)!=_0x3f2364[_0x544ce1(0x18f)][_0x544ce1(0x17f)]&&_0x544ce1(0x162)==_0x337472[_0x544ce1(0x170)]()[_0x544ce1(0x18f)][_0x544ce1(0x17f)]&&!_0x421bb0[_0x544ce1(0x153)](_0x337472[_0x544ce1(0x1a1)])){const _0xe81bc3=_0x89818f[_0x544ce1(0x17a)][_0x544ce1(0x13b)](_0x246e49[_0x544ce1(0x156)]);if(_0xe81bc3){const _0x15e337=_0x56df32[_0x544ce1(0x18e)](_0xe81bc3);_0x421bb0[_0x544ce1(0x139)](_0x337472[_0x544ce1(0x1a1)],_0x15e337),_0x15e337['on'](_0x544ce1(0x16a),(_0x12a373,_0x270d81,_0x5c9112)=>{const _0x35d47f=_0x544ce1;if(_0x35d47f(0x162)==_0x15e337[_0x35d47f(0x18f)][_0x35d47f(0x17f)]){const _0x36765c=_0x89818f[_0x35d47f(0x17a)][_0x35d47f(0x13b)](_0x5c9112[_0x35d47f(0x156)]);_0x36765c?(_0x15e337[_0x35d47f(0x186)]=_0x36765c[_0x35d47f(0x186)],_0x15e337[_0x35d47f(0x194)]=_0x36765c[_0x35d47f(0x194)]):(_0x421bb0[_0x35d47f(0x152)](_0x337472[_0x35d47f(0x1a1)]),_0x15e337[_0x35d47f(0x169)]());}});}}});}),_0x89818f[_0x5dc35a(0x1a8)]['on'](_0x5dc35a(0x15a),()=>{const _0x1ad46e=_0x5dc35a;_0x421bb0[_0x1ad46e(0x174)]>0x0&&_0x89818f[_0x1ad46e(0x146)]({'isUndoable':!0x1},_0x3aa998=>{const _0x1514d6=_0x1ad46e;for(const [_0x21c2c3,_0x1320f7]of _0x421bb0)_0x1514d6(0x162)==_0x89818f[_0x1514d6(0x14c)][_0x1514d6(0x19a)](_0x21c2c3)[_0x1514d6(0x170)]()[_0x1514d6(0x18f)][_0x1514d6(0x17f)]&&(re(_0x21c2c3[_0x1514d6(0x1a2)](':')[0x2],_0x1320f7[_0x1514d6(0x197)](),_0x89818f,_0x3aa998),_0x1320f7[_0x1514d6(0x169)]());_0x421bb0[_0x1514d6(0x19d)]();});});}(_0x31785d),this[_0x1dcf83(0x160)][_0x1dcf83(0x181)](_0x3776d9[_0x1dcf83(0x1a8)],_0x1dcf83(0x163),(_0x48f5e0,{key:_0x4f62c2})=>{const _0x45bf9c=_0x1dcf83;_0x45bf9c(0x140)===_0x4f62c2&&function(_0x4588b0){const _0x219baa=_0x45bf9c;_0x4588b0[_0x219baa(0x199)][_0x219baa(0x187)][_0x219baa(0x15a)](_0x3367df=>{const _0x395e19=_0x219baa;for(const _0x5bfde9 of _0x4588b0[_0x395e19(0x1ad)][_0x395e19(0x14c)]){if(!_0x5bfde9[_0x395e19(0x1a1)][_0x395e19(0x15f)](_0x395e19(0x1b0)))continue;const _0x4fb1ca=_0x4588b0[_0x395e19(0x199)][_0x395e19(0x1ab)][_0x395e19(0x1ae)](_0x5bfde9[_0x395e19(0x1a1)]);if(_0x4fb1ca){for(const _0x4f3f05 of _0x4fb1ca)_0x3367df[_0x395e19(0x18b)](_0x395e19(0x168),_0x4f3f05);}}});}(_0x31785d);},{'useCapture':!0x0});}[_0x471c0a(0x15c)](){const _0x5ccc8a=_0x471c0a,_0x16a15d=this[_0x5ccc8a(0x179)],_0x27d4bd=_0x16a15d[_0x5ccc8a(0x14b)][_0x5ccc8a(0x19a)](_0x5ccc8a(0x1b1));_0x27d4bd&&_0x16a15d[_0x5ccc8a(0x1ad)]['on'](_0x5ccc8a(0x14a),(_0x2bc7bf,_0x592d8f)=>{const _0x3b65d5=_0x5ccc8a,_0x2375ee=_0x592d8f[0x0];if(_0x3b65d5(0x13f)!=_0x2375ee[_0x3b65d5(0x172)]||!_0x2375ee[_0x3b65d5(0x1a1)][_0x3b65d5(0x15f)](_0x3b65d5(0x17c)))return;const _0x588daa=_0x2375ee[_0x3b65d5(0x1af)];_0x27d4bd[_0x3b65d5(0x142)][_0x3b65d5(0x153)](_0x588daa)&&(_0x2375ee[_0x3b65d5(0x1b6)]=_0x2375ee[_0x3b65d5(0x166)]?_0x16a15d[_0x3b65d5(0x1ad)][_0x3b65d5(0x16b)](_0x2375ee[_0x3b65d5(0x166)][_0x3b65d5(0x186)],_0x2375ee[_0x3b65d5(0x166)][_0x3b65d5(0x194)]):null);},{'priority':_0x5ccc8a(0x1b7)});}[_0x471c0a(0x175)](){const _0x38417c=_0x471c0a;return this[_0x38417c(0x160)][_0x38417c(0x16e)](),super[_0x38417c(0x175)]();}[_0x471c0a(0x1a4)](){const _0x1ce38e=_0x471c0a,_0x2f5eca=this[_0x1ce38e(0x179)],_0xf2db7d=_0x2f5eca[_0x1ce38e(0x1ad)][_0x1ce38e(0x1a8)],_0x218381=_0x2f5eca[_0x1ce38e(0x143)][_0x1ce38e(0x19a)](_0x2205ba);_0x2f5eca[_0x1ce38e(0x1ad)][_0x1ce38e(0x146)]({'isUndoable':!0x1},_0x4100a9=>{const _0x58910e=_0x1ce38e,_0x440ef=_0x58910e(0x1a5)+_0x218381[_0x58910e(0x154)],_0x49f5af=_0x58910e(0x1b3)+_0x218381[_0x58910e(0x154)],_0x500dff=_0x2f5eca[_0x58910e(0x1ad)][_0x58910e(0x14c)][_0x58910e(0x153)](_0x440ef);_0x2f5eca[_0x58910e(0x199)][_0x58910e(0x187)][_0x58910e(0x18d)]?re(_0x218381[_0x58910e(0x154)],_0xf2db7d[_0x58910e(0x149)][_0x58910e(0x17e)](),_0x2f5eca[_0x58910e(0x1ad)],_0x4100a9):_0x500dff&&(_0x4100a9[_0x58910e(0x151)](_0x440ef),_0x4100a9[_0x58910e(0x151)](_0x49f5af));});}}function re(_0x2b3cca,_0x3945fe,_0x1d8b10,_0x20fbf8){const _0x3bfbb5=_0x471c0a,_0x42d9e4=_0x3bfbb5(0x1a5)+_0x2b3cca,_0x588e4a=_0x3bfbb5(0x1b3)+_0x2b3cca,_0x1cde16=_0x3945fe[_0x3bfbb5(0x155)]();let _0x47533b=_0x3945fe[_0x3bfbb5(0x186)];_0x1cde16&&_0x1cde16['is'](_0x3bfbb5(0x16c),_0x3bfbb5(0x167))&&(_0x47533b=function(_0x405655,_0xf40ddb){const _0x1ee35d=_0x3bfbb5;for(const _0x42df8a of _0x405655[_0x1ee35d(0x14e)]())if(_0xf40ddb[_0x1ee35d(0x17a)][_0x1ee35d(0x171)](_0x42df8a,_0x1ee35d(0x164)))return _0x42df8a;}(_0x3945fe,_0x1d8b10),_0x3945fe=_0x20fbf8[_0x3bfbb5(0x16b)](_0x47533b));const _0x4b6f08=_0x20fbf8[_0x3bfbb5(0x16b)](_0x47533b);_0x1d8b10[_0x3bfbb5(0x14c)][_0x3bfbb5(0x153)](_0x42d9e4)?(_0x20fbf8[_0x3bfbb5(0x13c)](_0x42d9e4,{'range':_0x3945fe}),_0x20fbf8[_0x3bfbb5(0x13c)](_0x588e4a,{'range':_0x4b6f08})):(_0x20fbf8[_0x3bfbb5(0x13a)](_0x42d9e4,{'range':_0x3945fe,'usingOperation':!0x0}),_0x20fbf8[_0x3bfbb5(0x13a)](_0x588e4a,{'range':_0x4b6f08,'usingOperation':!0x0}));}
|
|
23
|
+
const _0xc66db9=_0x547c;(function(_0x2e010f,_0x22d10a){const _0x4ce011=_0x547c,_0x52ffc7=_0x2e010f();while(!![]){try{const _0x549a89=-parseInt(_0x4ce011(0x235))/0x1+parseInt(_0x4ce011(0x240))/0x2*(-parseInt(_0x4ce011(0x220))/0x3)+parseInt(_0x4ce011(0x234))/0x4+parseInt(_0x4ce011(0x24b))/0x5*(parseInt(_0x4ce011(0x1f5))/0x6)+parseInt(_0x4ce011(0x252))/0x7+parseInt(_0x4ce011(0x232))/0x8*(-parseInt(_0x4ce011(0x219))/0x9)+parseInt(_0x4ce011(0x244))/0xa;if(_0x549a89===_0x22d10a)break;else _0x52ffc7['push'](_0x52ffc7['shift']());}catch(_0x3146d1){_0x52ffc7['push'](_0x52ffc7['shift']());}}}(_0x5329,0xc6404));import{Plugin as _0x2daf1d}from'ckeditor5/src/core.js';import{global as _0x5230c5,DomEmitterMixin as _0x1d1d24}from'ckeditor5/src/utils.js';import _0x5525db from'./sessions.js';import{LiveRange as _0x43a750}from'ckeditor5/src/engine.js';function _0x547c(_0x17a371,_0x4a4d18){const _0x53299d=_0x5329();return _0x547c=function(_0x547c88,_0x41cd48){_0x547c88=_0x547c88-0x1d8;let _0xe24f0f=_0x53299d[_0x547c88];return _0xe24f0f;},_0x547c(_0x17a371,_0x4a4d18);}import'../../theme/usermarkers.css';export default class E extends _0x2daf1d{constructor(){const _0x5b35be=_0x547c;super(...arguments),this[_0x5b35be(0x1f7)]=new(_0x1d1d24())();}static get[_0xc66db9(0x1f6)](){return[_0x5525db];}static get[_0xc66db9(0x236)](){const _0x28c429=_0xc66db9;return _0x28c429(0x256);}[_0xc66db9(0x1f4)](){const _0x1c5dff=_0xc66db9,_0x177561=this[_0x1c5dff(0x23e)],_0x1bb43b=_0x177561[_0x1c5dff(0x242)][_0x1c5dff(0x241)](_0x5525db);_0x177561[_0x1c5dff(0x1de)][_0x1c5dff(0x1fc)](_0x1c5dff(0x21d))[_0x1c5dff(0x21a)]({'model':_0x1c5dff(0x1f1),'view':(_0x4fc918,{writer:_0xdd0c43})=>function(_0x2b1b64,_0x371ae4,_0x548cf1,_0x22fa1e){const _0x527c00=_0x1c5dff,_0x5b3732=_0x2b1b64[_0x527c00(0x227)][_0x527c00(0x23d)](':')[0x2],_0x35056b=_0x548cf1[_0x527c00(0x20d)](_0x5b3732);if(!_0x35056b||_0x5b3732===_0x548cf1[_0x527c00(0x211)])return;if(!_0x22fa1e[_0x527c00(0x23b)][_0x527c00(0x1e6)][_0x527c00(0x1e2)](_0x2b1b64[_0x527c00(0x1f9)][_0x527c00(0x226)],_0x527c00(0x21c)))return;const _0x3b94f8={'class':_0x527c00(0x1f2)+_0x35056b[_0x527c00(0x24f)][_0x527c00(0x20f)](),'data-name':_0x35056b[_0x527c00(0x207)],'data-session-id':_0x5b3732},_0x3458ce=_0x22fa1e[_0x527c00(0x23b)][_0x527c00(0x1e8)][_0x527c00(0x241)](_0x2b1b64[_0x527c00(0x227)]),_0x302727=_0x3458ce[_0x527c00(0x24e)](),_0xcb9aa4=_0x302727[_0x527c00(0x1ed)],_0x41d887=_0x22fa1e[_0x527c00(0x23b)][_0x527c00(0x1e6)];if(_0xcb9aa4&&_0x41d887[_0x527c00(0x22f)](_0xcb9aa4)&&_0x41d887[_0x527c00(0x1dd)](_0xcb9aa4)&&!_0x22fa1e[_0x527c00(0x23b)][_0x527c00(0x1e8)][_0x527c00(0x241)](_0x527c00(0x23a)+_0x5b3732)[_0x527c00(0x1fb)]()[_0x527c00(0x23c)])return;const _0x29a170=_0x302727[_0x527c00(0x228)];return _0x22fa1e[_0x527c00(0x23b)][_0x527c00(0x1e6)][_0x527c00(0x213)](_0x29a170)&&!_0x22fa1e[_0x527c00(0x23b)][_0x527c00(0x224)](_0x29a170)&&(_0x3b94f8[_0x527c00(0x1fd)]=!0x1),function(_0x289f56,_0x19e781,_0x58eded){const _0x357ce9=_0x527c00,_0x5f2955=_0x289f56[_0x357ce9(0x209)](_0x357ce9(0x255),_0x19e781);return _0x289f56[_0x357ce9(0x23f)](_0x357ce9(0x214),!0x0,_0x5f2955),_0x5f2955[_0x357ce9(0x231)]=function(_0x140501){const _0x30a81a=_0x357ce9,_0x52996f=this[_0x30a81a(0x203)](_0x140501);return _0x52996f[_0x30a81a(0x22a)]=_0x30a81a(0x253)+_0x58eded[_0x30a81a(0x207)]+_0x30a81a(0x217),_0x52996f[_0x30a81a(0x21e)](_0x30a81a(0x1f0),()=>{const _0x127969=_0x30a81a;_0x52996f[_0x127969(0x1e1)][_0x127969(0x1f3)](_0x127969(0x254));}),_0x52996f[_0x30a81a(0x21e)](_0x30a81a(0x1ec),()=>{const _0x3c10d0=_0x30a81a;_0x52996f[_0x3c10d0(0x1e1)][_0x3c10d0(0x1df)](_0x3c10d0(0x254));}),_0x52996f;},_0x5f2955[_0x357ce9(0x1eb)]=function(_0x10e198){const _0x240cec=_0x357ce9;return!(!this[_0x240cec(0x1e7)](_0x240cec(0x214))||!_0x10e198[_0x240cec(0x1e7)](_0x240cec(0x214))||this[_0x240cec(0x20e)](_0x240cec(0x201))!=_0x10e198[_0x240cec(0x20e)](_0x240cec(0x201)));},_0x5f2955;}(_0x371ae4,_0x3b94f8,_0x35056b);}(_0x4fc918,_0xdd0c43,_0x1bb43b,_0x177561)}),_0x177561[_0x1c5dff(0x1de)][_0x1c5dff(0x1fc)](_0x1c5dff(0x21d))[_0x1c5dff(0x1e9)]({'model':_0x1c5dff(0x250),'view':_0x12c130=>function(_0x535498,_0x86eb87){const _0x1d56e1=_0x1c5dff,_0xead0e7=_0x535498[_0x1d56e1(0x227)][_0x1d56e1(0x23d)](':')[0x2];if(_0xead0e7===_0x86eb87[_0x1d56e1(0x211)])return null;const _0x4519f0=_0x86eb87[_0x1d56e1(0x20d)](_0xead0e7);if(!_0x4519f0)return{'id':_0xead0e7,'classes':[]};return{'id':_0xead0e7,'classes':[_0x1d56e1(0x202),_0x4519f0[_0x1d56e1(0x24f)][_0x1d56e1(0x1e4)]()],'attributes':{'data-session-id':_0xead0e7},'priority':0x7d0+_0x4519f0[_0x1d56e1(0x1e5)]};}(_0x12c130,_0x1bb43b)}),function(_0x11a716){const _0x66c30f=_0x1c5dff,_0x354f14=_0x11a716[_0x66c30f(0x23b)],_0x58cfb1=new Map(),_0x89687c=_0x11a716[_0x66c30f(0x242)][_0x66c30f(0x241)](_0x5525db);_0x354f14[_0x66c30f(0x1e8)]['on'](_0x66c30f(0x24d),(_0x213202,_0x39ca84,_0x591f68,_0x3e8a78)=>{const _0x1c2f93=_0x66c30f;if(!_0x3e8a78&&_0x58cfb1[_0x1c2f93(0x241)](_0x39ca84[_0x1c2f93(0x207)]))return _0x58cfb1[_0x1c2f93(0x241)](_0x39ca84[_0x1c2f93(0x207)])[_0x1c2f93(0x237)](),void _0x58cfb1[_0x1c2f93(0x259)](_0x39ca84[_0x1c2f93(0x207)]);const _0x13aa21=_0x39ca84[_0x1c2f93(0x207)][_0x1c2f93(0x23d)](':')[0x2];if(_0x13aa21===_0x89687c[_0x1c2f93(0x211)])return;const _0x32fb6b=_0x1c2f93(0x225)+_0x13aa21;_0x354f14[_0x1c2f93(0x1e8)][_0x1c2f93(0x1fa)](_0x32fb6b)&&_0x11a716[_0x1c2f93(0x20a)][_0x1c2f93(0x210)](_0x32fb6b),_0x39ca84['on'](_0x1c2f93(0x218),(_0x5d2540,_0xaa6fa4,_0x50c65e)=>{const _0xbfdaeb=_0x1c2f93;if(_0xbfdaeb(0x239)!=_0xaa6fa4[_0xbfdaeb(0x21f)][_0xbfdaeb(0x1da)]&&_0xbfdaeb(0x239)==_0x39ca84[_0xbfdaeb(0x1fb)]()[_0xbfdaeb(0x21f)][_0xbfdaeb(0x1da)]&&!_0x58cfb1[_0xbfdaeb(0x1fa)](_0x39ca84[_0xbfdaeb(0x207)])){const _0x31339a=_0x354f14[_0xbfdaeb(0x1e6)][_0xbfdaeb(0x212)](_0x50c65e[_0xbfdaeb(0x243)]);if(_0x31339a){const _0x364f96=_0x43a750[_0xbfdaeb(0x238)](_0x31339a);_0x58cfb1[_0xbfdaeb(0x216)](_0x39ca84[_0xbfdaeb(0x207)],_0x364f96),_0x364f96['on'](_0xbfdaeb(0x218),(_0x4821c5,_0x1bb424,_0x3df609)=>{const _0x46b418=_0xbfdaeb;if(_0x46b418(0x239)==_0x364f96[_0x46b418(0x21f)][_0x46b418(0x1da)]){const _0x4eb954=_0x354f14[_0x46b418(0x1e6)][_0x46b418(0x212)](_0x3df609[_0x46b418(0x243)]);_0x4eb954?(_0x364f96[_0x46b418(0x226)]=_0x4eb954[_0x46b418(0x226)],_0x364f96[_0x46b418(0x230)]=_0x4eb954[_0x46b418(0x230)]):(_0x58cfb1[_0x46b418(0x259)](_0x39ca84[_0x46b418(0x207)]),_0x364f96[_0x46b418(0x237)]());}});}}});}),_0x354f14[_0x66c30f(0x1d9)]['on'](_0x66c30f(0x221),()=>{const _0x7437c4=_0x66c30f;_0x58cfb1[_0x7437c4(0x205)]>0x0&&_0x354f14[_0x7437c4(0x1ff)]({'isUndoable':!0x1},_0x12bb51=>{const _0x5e27ed=_0x7437c4;for(const [_0x25ac81,_0x15f9d3]of _0x58cfb1)_0x5e27ed(0x239)==_0x354f14[_0x5e27ed(0x1e8)][_0x5e27ed(0x241)](_0x25ac81)[_0x5e27ed(0x1fb)]()[_0x5e27ed(0x21f)][_0x5e27ed(0x1da)]&&(Q(_0x25ac81[_0x5e27ed(0x23d)](':')[0x2],_0x15f9d3[_0x5e27ed(0x1fe)](),_0x354f14,_0x12bb51),_0x15f9d3[_0x5e27ed(0x237)]());_0x58cfb1[_0x5e27ed(0x249)]();});});}(_0x177561),this[_0x1c5dff(0x1f7)][_0x1c5dff(0x229)](_0x5230c5[_0x1c5dff(0x1d9)],_0x1c5dff(0x24a),(_0x431de7,{key:_0x4c401d})=>{const _0x3a2bab=_0x1c5dff;_0x3a2bab(0x208)===_0x4c401d&&function(_0xeeb290){const _0x2d829f=_0x3a2bab;_0xeeb290[_0x2d829f(0x20a)][_0x2d829f(0x215)][_0x2d829f(0x221)](_0x17a481=>{const _0xfd72d5=_0x2d829f;for(const _0x465a24 of _0xeeb290[_0xfd72d5(0x23b)][_0xfd72d5(0x1e8)]){if(!_0x465a24[_0xfd72d5(0x207)][_0xfd72d5(0x204)](_0xfd72d5(0x1f1)))continue;const _0x41c78a=_0xeeb290[_0xfd72d5(0x20a)][_0xfd72d5(0x1e0)][_0xfd72d5(0x22d)](_0x465a24[_0xfd72d5(0x207)]);if(_0x41c78a){for(const _0x393394 of _0x41c78a)_0x17a481[_0xfd72d5(0x246)](_0xfd72d5(0x254),_0x393394);}}});}(_0x177561);},{'useCapture':!0x0});}[_0xc66db9(0x233)](){const _0x3bc184=_0xc66db9,_0x28bb2f=this[_0x3bc184(0x23e)],_0x1abfaf=_0x28bb2f[_0x3bc184(0x1e3)][_0x3bc184(0x241)](_0x3bc184(0x1d8));_0x1abfaf&&_0x28bb2f[_0x3bc184(0x23b)]['on'](_0x3bc184(0x22c),(_0x37a074,_0x28a103)=>{const _0x19c142=_0x3bc184,_0x30ccbf=_0x28a103[0x0];if(_0x19c142(0x1dc)!=_0x30ccbf[_0x19c142(0x20b)]||!_0x30ccbf[_0x19c142(0x207)][_0x19c142(0x204)](_0x19c142(0x206)))return;const _0x2299fe=_0x30ccbf[_0x19c142(0x247)];_0x1abfaf[_0x19c142(0x200)][_0x19c142(0x1fa)](_0x2299fe)&&(_0x30ccbf[_0x19c142(0x24c)]=_0x30ccbf[_0x19c142(0x20c)]?_0x28bb2f[_0x19c142(0x23b)][_0x19c142(0x1ef)](_0x30ccbf[_0x19c142(0x20c)][_0x19c142(0x226)],_0x30ccbf[_0x19c142(0x20c)][_0x19c142(0x230)]):null);},{'priority':_0x3bc184(0x251)});}[_0xc66db9(0x258)](){const _0x3f8de2=_0xc66db9;return this[_0x3f8de2(0x1f7)][_0x3f8de2(0x1f8)](),super[_0x3f8de2(0x258)]();}[_0xc66db9(0x22e)](){const _0x503181=_0xc66db9,_0x16798d=this[_0x503181(0x23e)],_0x20f15b=_0x16798d[_0x503181(0x23b)][_0x503181(0x1d9)],_0x2b36c3=_0x16798d[_0x503181(0x242)][_0x503181(0x241)](_0x5525db);_0x16798d[_0x503181(0x23b)][_0x503181(0x1ff)]({'isUndoable':!0x1},_0x472486=>{const _0x4db714=_0x503181,_0x40ec84=_0x4db714(0x23a)+_0x2b36c3[_0x4db714(0x211)],_0x2aed34=_0x4db714(0x225)+_0x2b36c3[_0x4db714(0x211)],_0xac5263=_0x16798d[_0x4db714(0x23b)][_0x4db714(0x1e8)][_0x4db714(0x1fa)](_0x40ec84);_0x16798d[_0x4db714(0x20a)][_0x4db714(0x215)][_0x4db714(0x1db)]?Q(_0x2b36c3[_0x4db714(0x211)],_0x20f15b[_0x4db714(0x223)][_0x4db714(0x1ea)](),_0x16798d[_0x4db714(0x23b)],_0x472486):_0xac5263&&(_0x472486[_0x4db714(0x248)](_0x40ec84),_0x472486[_0x4db714(0x248)](_0x2aed34));});}}function _0x5329(){const _0x4e4a49=['change:range','18hlYrqv','markerToElement','updateMarker','$text','editingDowncast','addEventListener','root','3212346iyHBFF','change','addMarker','selection','hasContent','user:position:','start','markerName','parent','listenTo','innerHTML','getPositions','applyOperation','markerNameToElements','createUserMarkerOperations','isObject','end','render','1845800YhdPkY','afterInit','1011268olJCEI','629338BEGQNO','pluginName','detach','fromRange','$graveyard','user:range:','model','isCollapsed','split','editor','setCustomProperty','2jRWQFR','get','plugins','deletionPosition','19224760matZVG','getContainedElement','removeClass','batch','removeMarker','clear','keydown','92425CylQgZ','newRange','update:user:range','getStart','color','user:range','highest','1576946YdvwKO','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','ck-user__marker_hovered','span','UserMarkers','element','destroy','delete','undo','document','rootName','hasDomSelection','marker','isInline','conversion','remove','mapper','classList','checkChild','commands','getSelectionClass','orderNumber','schema','getCustomProperty','markers','markerToHighlight','getFirstRange','isSimilar','mouseleave','nodeAfter','tableCell','createRange','mouseenter','user:position','ck-user__marker\x20','add','init','186fWIYZX','requires','_domEmitter','stopListening','markerRange','has','getRange','for','contenteditable','toRange','enqueueChange','_createdBatches','data-session-id','ck-user__selection','toDomElement','startsWith','size','user:','name','Escape','createUIElement','editing','type','oldRange','getUserBySessionId','getAttribute','getMarkerClass','reconvertMarker','mySessionId','getNearestSelectionRange','isLimit','userPositionMarker','view','set','</span>'];_0x5329=function(){return _0x4e4a49;};return _0x5329();}function Q(_0x574a36,_0x5d92f8,_0x4d1fc6,_0x5d5052){const _0xa0bc54=_0xc66db9,_0x5b0579=_0xa0bc54(0x23a)+_0x574a36,_0x1e9d64=_0xa0bc54(0x225)+_0x574a36,_0x280fee=_0x5d92f8[_0xa0bc54(0x245)]();let _0x2d7b69=_0x5d92f8[_0xa0bc54(0x226)];_0x280fee&&_0x280fee['is'](_0xa0bc54(0x257),_0xa0bc54(0x1ee))&&(_0x2d7b69=function(_0xc1b87f,_0x1753f9){const _0x3cab65=_0xa0bc54;for(const _0x390b6d of _0xc1b87f[_0x3cab65(0x22b)]())if(_0x1753f9[_0x3cab65(0x1e6)][_0x3cab65(0x1e2)](_0x390b6d,_0x3cab65(0x21c)))return _0x390b6d;}(_0x5d92f8,_0x4d1fc6),_0x5d92f8=_0x5d5052[_0xa0bc54(0x1ef)](_0x2d7b69));const _0x5289e4=_0x5d5052[_0xa0bc54(0x1ef)](_0x2d7b69);_0x4d1fc6[_0xa0bc54(0x1e8)][_0xa0bc54(0x1fa)](_0x5b0579)?(_0x5d5052[_0xa0bc54(0x21b)](_0x5b0579,{'range':_0x5d92f8}),_0x5d5052[_0xa0bc54(0x21b)](_0x1e9d64,{'range':_0x5289e4})):(_0x5d5052[_0xa0bc54(0x222)](_0x5b0579,{'range':_0x5d92f8,'usingOperation':!0x0}),_0x5d5052[_0xa0bc54(0x222)](_0x1e9d64,{'range':_0x5289e4,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1c0e(_0x12544a,_0x2fe499){const _0x2465b8=_0x2465();return _0x1c0e=function(_0x1c0ea7,_0x137775){_0x1c0ea7=_0x1c0ea7-0x85;let _0x188ee9=_0x2465b8[_0x1c0ea7];return _0x188ee9;},_0x1c0e(_0x12544a,_0x2fe499);}const _0x2f041d=_0x1c0e;(function(_0x2f878c,_0x3d9af2){const _0x338dd2=_0x1c0e,_0x31ab7e=_0x2f878c();while(!![]){try{const _0x658019=parseInt(_0x338dd2(0xcc))/0x1*(parseInt(_0x338dd2(0xac))/0x2)+parseInt(_0x338dd2(0xcf))/0x3*(-parseInt(_0x338dd2(0xca))/0x4)+-parseInt(_0x338dd2(0xbd))/0x5+-parseInt(_0x338dd2(0xa8))/0x6*(-parseInt(_0x338dd2(0xbc))/0x7)+parseInt(_0x338dd2(0x8a))/0x8*(-parseInt(_0x338dd2(0xa4))/0x9)+-parseInt(_0x338dd2(0xc1))/0xa*(-parseInt(_0x338dd2(0xd0))/0xb)+-parseInt(_0x338dd2(0x9f))/0xc*(-parseInt(_0x338dd2(0x85))/0xd);if(_0x658019===_0x3d9af2)break;else _0x31ab7e['push'](_0x31ab7e['shift']());}catch(_0x1e1ae3){_0x31ab7e['push'](_0x31ab7e['shift']());}}}(_0x2465,0x9f7cb));function _0x2465(){const _0x412e8c=['listenTo','7KzguEo','define','config','1685451woyZay','1364FfnEWO','5596214aRLlEb','function','catch','CONNECTED','then','938640mLDnWJ','isInReconnectionStack','websocketgateway-missing-websocket-url','reconnect','destroy','real-time-collaboration','has','connection','state','cloudServices.requestTimeout','offline','addToReconnectionStack','removeFromReconnectionStack','CloudServices','from','_domEmitter','CONNECTING','stopListening','online','initialReconnectionInterval','disconnect','24JYtbxN','limitExceeded','delete','_shouldPluginsReconnect','showWarning','45GRcZMG','connect','cloudservices-init','requires','6IjidZR','_isBrowserOffline','get','connected','310962ZhBTvS','cloudservices-reconnection-error','_reconnectionStack','token','WebSocketGateway','create','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.','_reconnect','webSocketUrl','websocketgateway-invalid-plugin-interface','error','context','change:me','websocketgateway-missing-token','websocketgateway-plugin-already-registered','code','3782667hsEUdL','6069930vqUKmP','cloudServices.connectionTimeout','Connected\x20users\x20limit\x20exceeded','plugins','42420hBqTDg','constructor','bind','init','pluginName','add','DISCONNECTED','set','all','4rjBzCl'];_0x2465=function(){return _0x412e8c;};return _0x2465();}import{ContextPlugin as _0x934174}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x471d14,CKEditorError as _0x143dcf}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x129cc1,WEB_SOCKET_GATEWAY_STATES as _0x4f87b0}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x58353e}from'ckeditor5/src/ui.js';class c extends _0x934174{static get[_0x2f041d(0xa7)](){const _0x370cab=_0x2f041d;return[_0x370cab(0x97),_0x58353e];}static get[_0x2f041d(0xc5)](){const _0x5c7af5=_0x2f041d;return _0x5c7af5(0xb0);}constructor(_0x3608e8){const _0x34fd73=_0x2f041d;super(_0x3608e8),this[_0x34fd73(0xc8)](_0x34fd73(0x92),_0x4f87b0[_0x34fd73(0x88)]),this[_0x34fd73(0xc8)](_0x34fd73(0xa9),!0x1),this[_0x34fd73(0xae)]=new Set(),this[_0x34fd73(0xa2)]=!0x1,this[_0x34fd73(0x99)]=Object[_0x34fd73(0xb1)](_0x471d14);}[_0x2f041d(0xc4)](){const _0x4ef4ea=_0x2f041d,_0x4a8d4f=this[_0x4ef4ea(0xb7)],_0x12a93c=_0x4a8d4f[_0x4ef4ea(0xc0)][_0x4ef4ea(0xaa)](_0x4ef4ea(0x97)),_0x14ceb2=_0x4a8d4f[_0x4ef4ea(0xc0)][_0x4ef4ea(0xaa)](_0x58353e);if(!_0x12a93c[_0x4ef4ea(0xaf)])throw new _0x143dcf(_0x4ef4ea(0xb9),this);if(!_0x12a93c[_0x4ef4ea(0xb4)])throw new _0x143dcf(_0x4ef4ea(0x8c),this);return this[_0x4ef4ea(0x99)][_0x4ef4ea(0xcb)](window,_0x4ef4ea(0x94),()=>this[_0x4ef4ea(0xa9)]=!0x0),this[_0x4ef4ea(0x99)][_0x4ef4ea(0xcb)](window,_0x4ef4ea(0x9c),()=>this[_0x4ef4ea(0xa9)]=!0x1),this[_0x4ef4ea(0xb7)][_0x4ef4ea(0xce)][_0x4ef4ea(0xcd)](_0x4ef4ea(0xbe),0xa),this[_0x4ef4ea(0xb7)][_0x4ef4ea(0xce)][_0x4ef4ea(0xcd)](_0x4ef4ea(0x93),0x14),c[_0x4ef4ea(0xb0)][_0x4ef4ea(0xa5)](_0x12a93c[_0x4ef4ea(0xaf)],_0x12a93c[_0x4ef4ea(0xb4)],{'timeout':0x3e8*this[_0x4ef4ea(0xb7)][_0x4ef4ea(0xce)][_0x4ef4ea(0xaa)](_0x4ef4ea(0xbe)),'requestTimeout':0x3e8*this[_0x4ef4ea(0xb7)][_0x4ef4ea(0xce)][_0x4ef4ea(0xaa)](_0x4ef4ea(0x93))})[_0x4ef4ea(0x89)](_0x1befc1=>{const _0x547195=_0x4ef4ea;if(this[_0x547195(0x91)]=_0x1befc1,this[_0x547195(0xc3)](_0x547195(0x92))['to'](_0x1befc1,_0x547195(0x92),this,_0x547195(0xa9),(_0x19b51b,_0x2231f3)=>(_0x547195(0xab)!==_0x19b51b&&(this[_0x547195(0xa2)]=!0x0),_0x2231f3||_0x19b51b!==_0x4f87b0[_0x547195(0x88)]?_0x4f87b0[_0x547195(0xc7)]:this[_0x547195(0x92)]==_0x4f87b0[_0x547195(0xc7)]&&this[_0x547195(0xa2)]?(this[_0x547195(0xa2)]=!0x1,this[_0x547195(0xb3)](),_0x4f87b0[_0x547195(0x9a)]):_0x4f87b0[_0x547195(0x88)])),this[_0x547195(0x91)]['on'](_0x547195(0xb6),(_0x2b64b7,_0x3099b0)=>{const _0x32a31d=_0x547195;if(_0x32a31d(0xa0)!==_0x3099b0[_0x32a31d(0xbb)])throw console[_0x32a31d(0xb6)](_0x3099b0),new _0x143dcf(_0x32a31d(0xa6),null,{'originalError':_0x3099b0});_0x14ceb2[_0x32a31d(0xa3)](_0x32a31d(0xb2),{'title':_0x32a31d(0xbf),'namespace':_0x32a31d(0x8f)});}),!_0x1befc1['me'])return new Promise(_0x5304e7=>_0x1befc1['on'](_0x547195(0xb8),_0x5304e7));})[_0x4ef4ea(0x87)](_0x7f68ed=>{const _0xe1c074=_0x4ef4ea;throw console[_0xe1c074(0xb6)](_0x7f68ed),new _0x143dcf(_0xe1c074(0xa6),null,{'originalError':_0x7f68ed});});}[_0x2f041d(0x95)](_0x4f2ced){const _0x412458=_0x2f041d;if(_0x412458(0x86)!=typeof _0x4f2ced[_0x412458(0x8d)])throw new _0x143dcf(_0x412458(0xb5),this);if(this[_0x412458(0x8b)](_0x4f2ced))throw new _0x143dcf(_0x412458(0xba),this,{'name':_0x4f2ced[_0x412458(0xc2)][_0x412458(0xc5)]});this[_0x412458(0xae)][_0x412458(0xc6)](_0x4f2ced);}[_0x2f041d(0x96)](_0x36a082){const _0x1ad57f=_0x2f041d;this[_0x1ad57f(0xae)][_0x1ad57f(0xa1)](_0x36a082);}[_0x2f041d(0x8b)](_0x290ea2){const _0x351dae=_0x2f041d;return this[_0x351dae(0xae)][_0x351dae(0x90)](_0x290ea2);}[_0x2f041d(0xb3)](){const _0x533313=_0x2f041d;return this[_0x533313(0x91)][_0x533313(0x8d)]()[_0x533313(0x89)](()=>Promise[_0x533313(0xc9)](Array[_0x533313(0x98)](this[_0x533313(0xae)],_0x483e6f=>_0x483e6f[_0x533313(0x8d)]())))[_0x533313(0x89)](()=>this[_0x533313(0x92)]=_0x4f87b0[_0x533313(0x88)])[_0x533313(0x87)](_0x165144=>{const _0x22c3d3=_0x533313;throw console[_0x22c3d3(0xb6)](_0x165144),new _0x143dcf(_0x22c3d3(0xad),this[_0x22c3d3(0xb7)]);});}[_0x2f041d(0x8e)](){const _0x44de49=_0x2f041d;this[_0x44de49(0x91)]&&this[_0x44de49(0x91)][_0x44de49(0x9e)](),this[_0x44de49(0x92)]=_0x4f87b0[_0x44de49(0xc7)],this[_0x44de49(0x99)][_0x44de49(0x9b)](),super[_0x44de49(0x8e)]();}}c[_0x2f041d(0xb0)]=_0x129cc1,c[_0x2f041d(0x9d)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x24f4(){var _0x57b878=['pluginName','79880AgbGwQ','10mbgnBR','1304700ExLcbp','140222JVSjWT','RealTimeCollaborativeEditing','requires','387648vAAkdh','3XOcZbL','1064885rjvxyc','745076qWhdvL','2204055vsvmmj','161vxHncD'];_0x24f4=function(){return _0x57b878;};return _0x24f4();}var _0x52e357=_0x33c9;function _0x33c9(_0xe31e6,_0x27e6ba){var _0x24f473=_0x24f4();return _0x33c9=function(_0x33c903,_0x4992a2){_0x33c903=_0x33c903-0xd4;var _0x27c5bf=_0x24f473[_0x33c903];return _0x27c5bf;},_0x33c9(_0xe31e6,_0x27e6ba);}(function(_0x240355,_0x5205ed){var _0x30dd47=_0x33c9,_0x1ea796=_0x240355();while(!![]){try{var _0x485f64=parseInt(_0x30dd47(0xdf))/0x1+-parseInt(_0x30dd47(0xd5))/0x2+parseInt(_0x30dd47(0xd6))/0x3*(parseInt(_0x30dd47(0xd8))/0x4)+parseInt(_0x30dd47(0xd7))/0x5+-parseInt(_0x30dd47(0xde))/0x6+parseInt(_0x30dd47(0xda))/0x7*(-parseInt(_0x30dd47(0xdc))/0x8)+-parseInt(_0x30dd47(0xd9))/0x9*(-parseInt(_0x30dd47(0xdd))/0xa);if(_0x485f64===_0x5205ed)break;else _0x1ea796['push'](_0x1ea796['shift']());}catch(_0x54f396){_0x1ea796['push'](_0x1ea796['shift']());}}}(_0x24f4,0x2304a));import{Plugin as _0x568c8c}from'ckeditor5/src/core.js';import _0xd8f519 from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x568c8c{static get[_0x52e357(0xd4)](){return[_0xd8f519];}static get[_0x52e357(0xdb)](){var _0xa23bcd=_0x52e357;return _0xa23bcd(0xe0);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x50cc2c=_0x53b5;(function(_0x2affa0,_0x5e21b4){const _0x518bb5=_0x53b5,_0x283fd0=_0x2affa0();while(!![]){try{const _0x3b4c20=parseInt(_0x518bb5(0x1a3))/0x1*(-parseInt(_0x518bb5(0x1a1))/0x2)+parseInt(_0x518bb5(0x135))/0x3*(parseInt(_0x518bb5(0x169))/0x4)+parseInt(_0x518bb5(0x13d))/0x5+parseInt(_0x518bb5(0x13b))/0x6*(-parseInt(_0x518bb5(0x199))/0x7)+parseInt(_0x518bb5(0x145))/0x8*(-parseInt(_0x518bb5(0x162))/0x9)+parseInt(_0x518bb5(0x15c))/0xa*(parseInt(_0x518bb5(0x159))/0xb)+-parseInt(_0x518bb5(0x176))/0xc;if(_0x3b4c20===_0x5e21b4)break;else _0x283fd0['push'](_0x283fd0['shift']());}catch(_0x56ae99){_0x283fd0['push'](_0x283fd0['shift']());}}}(_0x3df7,0x8e3e7));import{Plugin as _0x14e663}from'ckeditor5/src/core.js';import{version as _0x3712ce}from'ckeditor5/src/utils.js';import{Users as _0x571fda}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x3e7ad2 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x48e5af from'../realtimecollaborativeediting/websocketgateway.js';import _0x310fdc from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x8cf26d,RevisionHistoryService as _0x1d935c,User as _0x1e4ca1,WEB_SOCKET_GATEWAY_STATES as _0x12e4fd}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x53b5(_0x280e43,_0x155ec1){const _0x3df734=_0x3df7();return _0x53b5=function(_0x53b58e,_0xf233a7){_0x53b58e=_0x53b58e-0x133;let _0x2f5196=_0x3df734[_0x53b58e];return _0x2f5196;},_0x53b5(_0x280e43,_0x155ec1);}class v extends _0x14e663{static get[_0x50cc2c(0x193)](){const _0x4dab91=_0x50cc2c;return[_0x48e5af,_0x3e7ad2,_0x4dab91(0x172),_0x310fdc,_0x571fda];}constructor(_0x2be2de){const _0x21a86d=_0x50cc2c;super(_0x2be2de);const _0x1bffd5=this[_0x21a86d(0x141)][_0x21a86d(0x19e)][_0x21a86d(0x16a)](_0x21a86d(0x188));this[_0x21a86d(0x161)]=null,this[_0x21a86d(0x194)]=this[_0x21a86d(0x141)][_0x21a86d(0x185)][_0x21a86d(0x16a)](_0x21a86d(0x172)),this[_0x21a86d(0x192)]=new v[(_0x21a86d(0x158))](_0x1bffd5);}async[_0x50cc2c(0x144)](){const _0xce2085=_0x50cc2c,_0x5b1f7c=this[_0xce2085(0x141)][_0xce2085(0x185)][_0xce2085(0x16a)](_0x3e7ad2),_0x2f0038=_0x5b1f7c[_0xce2085(0x15d)],_0x133479=this[_0xce2085(0x141)][_0xce2085(0x185)][_0xce2085(0x16a)](_0x48e5af);this[_0xce2085(0x194)][_0xce2085(0x189)]({'history':_0x2f0038,'getLatestVersion':()=>this[_0xce2085(0x149)](),'getCurrentRevisionId':()=>_0x5b1f7c[_0xce2085(0x155)]});const _0x2afe95=this[_0xce2085(0x141)][_0xce2085(0x19e)][_0xce2085(0x16a)](_0xce2085(0x183))||_0x3712ce,_0x130e28=await _0x8cf26d[_0xce2085(0x1a0)](_0x133479[_0xce2085(0x15a)],_0x2afe95);this[_0xce2085(0x194)][_0xce2085(0x138)]={'getRevision':async({revisionId:_0x713b1c})=>(await this[_0xce2085(0x163)](),await this[_0xce2085(0x192)][_0xce2085(0x14b)](_0x713b1c)),'updateRevisions':async _0x4c0b82=>{const _0x14740b=_0xce2085;await this[_0x14740b(0x163)]();const _0x40e984=this[_0x14740b(0x194)][_0x14740b(0x17f)];if(_0x130e28&&0x1===_0x4c0b82[_0x14740b(0x157)]&&_0x4c0b82[0x0]['id']===_0x40e984['id'])return _0x4c0b82;for(const _0x3e4ebe of _0x4c0b82)_0x3e4ebe['id']===_0x40e984['id']&&(_0x3e4ebe[_0x14740b(0x13a)]=_0x3e4ebe[_0x14740b(0x168)]===_0x3e4ebe[_0x14740b(0x19b)]);return this[_0x14740b(0x192)][_0x14740b(0x15b)](_0x4c0b82,this[_0x14740b(0x161)])[_0x14740b(0x142)](_0x2c6278=>(this[_0x14740b(0x161)]=_0x2c6278,_0x4c0b82))[_0x14740b(0x177)](_0x426406=>{const _0x3bacb7=_0x14740b;if(st(_0x426406)||_0x3bacb7(0x16c)===_0x426406[_0x3bacb7(0x179)]&&void 0x0!==_0x426406[_0x3bacb7(0x160)][_0x3bacb7(0x173)]){for(const _0x11d6bd of _0x4c0b82){!this[_0x3bacb7(0x194)][_0x3bacb7(0x154)][_0x3bacb7(0x14b)](_0x11d6bd['id'])||this[_0x3bacb7(0x194)][_0x3bacb7(0x14d)](_0x11d6bd['id'],_0x11d6bd,!0x1);}if(st(_0x426406))throw _0x426406;return _0x4c0b82;}throw _0x426406;});}},this[_0xce2085(0x148)](this[_0xce2085(0x192)],_0xce2085(0x17c),(_0x337c14,{revisionsData:_0x1d24c2,requestId:_0x54e593})=>{const _0x37fd02=_0xce2085;Math[_0x37fd02(0x16e)](..._0x1d24c2[_0x37fd02(0x170)](_0x568b8d=>_0x568b8d[_0x37fd02(0x19b)]))>this[_0x37fd02(0x14a)]()-0x1?this[_0x37fd02(0x149)]()[_0x37fd02(0x142)](()=>{const _0x827989=_0x37fd02;this[_0x827989(0x143)](_0x1d24c2,_0x54e593);}):this[_0x37fd02(0x143)](_0x1d24c2,_0x54e593);});const {revisions:_0x118464,requestId:_0x4095a0}=await this[_0xce2085(0x192)][_0xce2085(0x175)](_0x133479[_0xce2085(0x15a)]);_0x133479[_0xce2085(0x146)](this),this[_0xce2085(0x161)]=_0x4095a0,await this[_0xce2085(0x18c)](_0x118464);for(const _0x462772 of _0x118464)this[_0xce2085(0x194)][_0xce2085(0x147)](_0x462772);this[_0xce2085(0x148)](_0x5b1f7c,_0xce2085(0x18a),(_0x3fe3d2,_0x32af4e,_0x445cf3)=>{const _0x24d8db=_0xce2085;_0x445cf3&&(this[_0x24d8db(0x178)]=_0x5b1f7c[_0x24d8db(0x16d)],_0x3fe3d2[_0x24d8db(0x13c)]());}),this[_0xce2085(0x194)][_0xce2085(0x18f)](_0xce2085(0x18b))['to'](_0x133479,_0xce2085(0x13e),_0x368215=>_0x368215===_0x12e4fd[_0xce2085(0x17e)]);}async[_0x50cc2c(0x184)](){const _0x458ba0=_0x50cc2c,_0xed62ae=this[_0x458ba0(0x141)][_0x458ba0(0x185)][_0x458ba0(0x16a)](_0x48e5af),_0xaad094=this[_0x458ba0(0x141)][_0x458ba0(0x185)][_0x458ba0(0x16a)](_0x3e7ad2),_0x37ca0c=async()=>{const _0x596f63=_0x458ba0,_0x964bad=this[_0x596f63(0x194)][_0x596f63(0x17f)],_0x4a41af=_0x964bad['id'],_0x45f5f9=_0x4a41af!==_0xaad094[_0x596f63(0x155)];if(_0x45f5f9){const _0x3b210d=_0xaad094[_0x596f63(0x16d)]-this[_0x596f63(0x178)],_0x57c4e8=this[_0x596f63(0x14a)]();this[_0x596f63(0x194)][_0x596f63(0x166)][_0x596f63(0x14f)]();if(_0x964bad[_0x596f63(0x19b)]+_0x3b210d!==_0x57c4e8){const _0x3ffcd6=_0x964bad[_0x596f63(0x168)]+_0x3b210d,_0x1538b0=this[_0x596f63(0x141)][_0x596f63(0x185)][_0x596f63(0x16a)](_0x571fda),_0x1facb9=this[_0x596f63(0x194)][_0x596f63(0x18d)]({'revision':_0x964bad,'from':_0x3ffcd6,'to':_0x57c4e8});_0x1facb9['id']=_0x964bad['id'];const _0x1f5cb7=_0x1facb9[_0x596f63(0x186)][_0x596f63(0x170)](_0x15b0bb=>_0x1538b0[_0x596f63(0x171)](_0x15b0bb));_0x964bad[_0x596f63(0x174)]({..._0x1facb9,'authors':_0x1f5cb7},!0x0),this[_0x596f63(0x194)][_0x596f63(0x14d)](_0x964bad['id'],_0x1facb9,!0x0);}this[_0x596f63(0x194)][_0x596f63(0x150)]=_0x57c4e8,(_0x964bad[_0x596f63(0x19b)]===_0x964bad[_0x596f63(0x168)]&&!this[_0x596f63(0x194)][_0x596f63(0x190)][_0x596f63(0x167)](_0x4a41af)&&this[_0x596f63(0x194)][_0x596f63(0x154)][_0x596f63(0x17b)][_0x596f63(0x14e)](_0x4a41af),this[_0x596f63(0x194)][_0x596f63(0x14c)](_0x57c4e8));}const {revisions:_0x5a9088,requestId:_0x27d00b}=await this[_0x596f63(0x192)][_0x596f63(0x184)](_0xed62ae[_0x596f63(0x15a)],this[_0x596f63(0x161)]);_0x45f5f9&&_0x5a9088[_0x596f63(0x157)]>0x0?_0xaad094[_0x596f63(0x196)]():(await this[_0x596f63(0x18c)](_0x5a9088),this[_0x596f63(0x143)](_0x5a9088,_0x27d00b),this[_0x596f63(0x194)][_0x596f63(0x19c)]());};return _0xaad094[_0x458ba0(0x153)]?_0x37ca0c():new Promise((_0x2f272f,_0x10df96)=>{const _0x416aae=_0x458ba0;_0xaad094[_0x416aae(0x18e)](_0x416aae(0x18a),()=>{const _0x395ed2=_0x416aae;_0x37ca0c()[_0x395ed2(0x142)](_0x2f272f)[_0x395ed2(0x177)](_0x10df96);});});}[_0x50cc2c(0x134)](){const _0x3c9ef8=_0x50cc2c;super[_0x3c9ef8(0x134)]();}async[_0x50cc2c(0x163)](){const _0x23a938=_0x50cc2c;this[_0x23a938(0x192)][_0x23a938(0x182)]||await new Promise(_0x4923af=>{const _0x449304=_0x23a938;this[_0x449304(0x148)](this[_0x449304(0x192)],_0x449304(0x17d),_0x43563b=>{const _0x2e258b=_0x449304;_0x43563b[_0x2e258b(0x13c)](),_0x4923af();});});}[_0x50cc2c(0x14a)](){const _0x4f7fe7=_0x50cc2c,_0x21dc8a=this[_0x4f7fe7(0x141)][_0x4f7fe7(0x185)][_0x4f7fe7(0x16a)](_0x3e7ad2)[_0x4f7fe7(0x15d)][_0x4f7fe7(0x15e)]()[_0x4f7fe7(0x16f)]();for(const _0x4f5548 of _0x21dc8a)if(_0x4f7fe7(0x187)!==_0x4f5548[_0x4f7fe7(0x140)]||_0x4f5548[_0x4f7fe7(0x13f)])return _0x4f5548[_0x4f7fe7(0x152)]+0x1;}[_0x50cc2c(0x149)](){const _0x29b991=_0x50cc2c,_0x2706ef=this[_0x29b991(0x141)][_0x29b991(0x185)][_0x29b991(0x16a)](_0x3e7ad2);return new Promise(_0xbe47f4=>{const _0x27b264=_0x29b991;_0x2706ef[_0x27b264(0x165)]?_0x2706ef[_0x27b264(0x18e)](_0x27b264(0x19f),()=>{const _0x133e64=_0x27b264;_0xbe47f4(this[_0x133e64(0x14a)]());}):_0xbe47f4(this[_0x27b264(0x14a)]());});}[_0x50cc2c(0x143)](_0x47bfd3,_0x1dbd42){const _0x535864=_0x50cc2c,_0x1c1941=this[_0x535864(0x194)][_0x535864(0x154)];this[_0x535864(0x161)]=_0x1dbd42;for(const _0x1230b0 of _0x47bfd3){const _0xac98ce=_0x1c1941[_0x535864(0x14b)](_0x1230b0['id']);if(_0xac98ce){if((_0x1230b0[_0x535864(0x168)]||_0x1230b0[_0x535864(0x19b)])&&(_0x1230b0[_0x535864(0x191)]=null),_0xac98ce===this[_0x535864(0x194)][_0x535864(0x17f)]){const _0x3d73db=Math[_0x535864(0x16e)](_0xac98ce[_0x535864(0x19b)],_0x1230b0[_0x535864(0x19b)]),_0x288163=Math[_0x535864(0x16e)](_0xac98ce[_0x535864(0x168)],_0x1230b0[_0x535864(0x168)]);let _0x3cda5c;_0xac98ce[_0x535864(0x19b)]===_0x1230b0[_0x535864(0x19b)]&&_0xac98ce[_0x535864(0x168)]===_0x1230b0[_0x535864(0x168)]?(_0x3cda5c=!0x0,this[_0x535864(0x164)](_0x1230b0)):_0x1230b0[_0x535864(0x19b)]===_0x3d73db&&_0x1230b0[_0x535864(0x168)]===_0x288163?_0x3cda5c=!0x1:(_0xac98ce[_0x535864(0x19b)]===_0x3d73db&&_0xac98ce[_0x535864(0x168)]===_0x288163||this[_0x535864(0x139)]({'revision':_0xac98ce,'from':_0x288163,'to':_0x3d73db}),_0x3cda5c=!0x0),_0x3cda5c&&(delete _0x1230b0[_0x535864(0x168)],delete _0x1230b0[_0x535864(0x19b)],delete _0x1230b0[_0x535864(0x191)],delete _0x1230b0[_0x535864(0x137)],delete _0x1230b0[_0x535864(0x186)]);}this[_0x535864(0x194)][_0x535864(0x17a)](_0x1230b0),this[_0x535864(0x164)](_0x1230b0);}else this[_0x535864(0x194)][_0x535864(0x147)](_0x1230b0);}const _0x10ebcf=_0x1c1941[_0x535864(0x136)]();_0x10ebcf[_0x535864(0x16f)]();for(let _0x14290c=0x0;_0x14290c<_0x10ebcf[_0x535864(0x157)]-0x1;_0x14290c++){const _0xe0299c=_0x10ebcf[_0x14290c],_0x3af772=_0x10ebcf[_0x14290c+0x1];if(_0xe0299c[_0x535864(0x168)]<_0x3af772[_0x535864(0x19b)]){const _0x248346=_0x3af772[_0x535864(0x19b)],_0x37f01b=Math[_0x535864(0x16e)](_0x248346,_0xe0299c[_0x535864(0x19b)]);this[_0x535864(0x139)]({'revision':_0xe0299c,'from':_0x248346,'to':_0x37f01b});}}}[_0x50cc2c(0x139)]({revision:_0x55ebb6,from:_0x443852,to:_0x5d767d}={}){const _0xe05261=_0x50cc2c,_0x163be4=this[_0xe05261(0x141)][_0xe05261(0x185)][_0xe05261(0x16a)](_0x571fda),_0x4f1008=this[_0xe05261(0x194)][_0xe05261(0x18d)]({'revision':_0x55ebb6,'from':_0x443852,'to':_0x5d767d});_0x4f1008[_0xe05261(0x156)]=_0x4f1008[_0xe05261(0x186)][_0xe05261(0x170)](_0x158252=>_0x163be4[_0xe05261(0x171)](_0x158252)),_0x55ebb6[_0xe05261(0x174)](_0x4f1008);}[_0x50cc2c(0x164)](_0x4d6097){const _0x472922=_0x50cc2c,_0x26483d={};_0x26483d['id']=_0x4d6097['id'];for(const _0x95afa7 of Object[_0x472922(0x151)](_0x4d6097))'id'!==_0x95afa7&&(_0x26483d[_0x95afa7]=void 0x0);this[_0x472922(0x194)][_0x472922(0x14d)](_0x26483d['id'],_0x26483d,!0x0);}async[_0x50cc2c(0x18c)](_0x2b47c3){const _0x23ef9a=_0x50cc2c,_0x1a5245=this[_0x23ef9a(0x141)][_0x23ef9a(0x185)][_0x23ef9a(0x16a)](_0x571fda),{connection:_0x2efc67}=this[_0x23ef9a(0x141)][_0x23ef9a(0x185)][_0x23ef9a(0x16a)](_0x48e5af),_0x180156=new Set();for(const _0x2db8c1 of _0x2b47c3){for(const _0x105c97 of _0x2db8c1[_0x23ef9a(0x186)])_0x3d10e2(_0x105c97);_0x2db8c1[_0x23ef9a(0x181)]&&_0x3d10e2(_0x2db8c1[_0x23ef9a(0x181)]);}if(0x0===_0x180156[_0x23ef9a(0x195)])return;const _0x563ec1=await _0x1e4ca1[_0x23ef9a(0x19a)](_0x2efc67,Array[_0x23ef9a(0x198)](_0x180156));for(const _0x3053f0 of _0x563ec1)_0x1a5245[_0x23ef9a(0x171)](_0x3053f0['id'])||_0x1a5245[_0x23ef9a(0x19d)](_0x3053f0);function _0x3d10e2(_0x6e6cfe){const _0x3686bf=_0x23ef9a;_0x1a5245[_0x3686bf(0x171)](_0x6e6cfe)||_0x180156[_0x3686bf(0x1a2)](_0x6e6cfe);}}}v[_0x50cc2c(0x158)]=_0x1d935c;function _0x3df7(){const _0x5a883a=['_fixRevision','isEmptyCurrent','56796LTaPWp','off','3954165hCDZNc','state','affectsData','type','editor','then','_handleRevisionsUpdate','init','8oJxTmQ','addToReconnectionStack','addRevisionData','listenTo','_getLatestVersion','_getLatestVersionFromServerOperations','getRevision','_createCurrentRevision','_bufferUpdate','remove','reInit','_startingVersion','keys','baseVersion','_isConnected','repository','sessionId','authors','length','RevisionHistoryService','248875VCOOzI','connection','updateRevisions','240jTMIqC','serverHistory','getOperations','cloud-services-internal-error:\x20Not\x20connected.','data','_lastRequestId','1152477xsMgfs','_waitForServiceReady','_preventResendingRevisionData','_isPendingUpdate','_revisionDataBuilder','has','fromVersion','4OfPqUj','get','message','400','_offset','max','reverse','map','getUser','RevisionTracker','wrongRequestId','_update','connect','6732012WfHOma','catch','_oldOffset','code','setRevisionData','_revisions','revisionsUpdated','connected','CONNECTED','currentRevision','startsWith','creatorId','isConnected','cloudServices.bundleVersion','reconnect','plugins','authorsIds','marker','collaboration.channelId','setSource','change:_isConnected','isEnabled','_fetchMissingUsers','buildRevisionData','once','bind','_bufferedUpdates','diffData','_revisionHistoryService','requires','_revisionTracker','size','_handleReconnectionError','cloud-services-internal-error:\x20Request\x20timeout.','from','119ZUYWRk','getMany','toVersion','sendBufferedUpdates','addUser','config','change:_isPendingUpdate','isBundleUploaded','563606Jlnane','add','1pyvcsX','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','destroy','1141731OsXHlF','getRevisions','createdAt','adapter'];_0x3df7=function(){return _0x5a883a;};return _0x3df7();}export default v;function st(_0x3bc351){const _0x19bfae=_0x50cc2c;return _0x3bc351[_0x19bfae(0x16b)][_0x19bfae(0x180)](_0x19bfae(0x133))||_0x3bc351[_0x19bfae(0x16b)][_0x19bfae(0x180)](_0x19bfae(0x15f))||_0x3bc351[_0x19bfae(0x16b)][_0x19bfae(0x180)](_0x19bfae(0x197));}
|
|
23
|
+
const _0x23af12=_0x19d6;(function(_0x17dd89,_0x3fd51){const _0xf852a7=_0x19d6,_0x4846ea=_0x17dd89();while(!![]){try{const _0x2ddc9d=-parseInt(_0xf852a7(0xe2))/0x1+-parseInt(_0xf852a7(0x117))/0x2+parseInt(_0xf852a7(0xcd))/0x3*(parseInt(_0xf852a7(0xbb))/0x4)+-parseInt(_0xf852a7(0xb2))/0x5+-parseInt(_0xf852a7(0xe8))/0x6*(-parseInt(_0xf852a7(0xec))/0x7)+-parseInt(_0xf852a7(0x116))/0x8*(-parseInt(_0xf852a7(0xbe))/0x9)+parseInt(_0xf852a7(0x101))/0xa;if(_0x2ddc9d===_0x3fd51)break;else _0x4846ea['push'](_0x4846ea['shift']());}catch(_0x18e7cc){_0x4846ea['push'](_0x4846ea['shift']());}}}(_0x4d91,0x8dfbc));import{Plugin as _0x4a3e4a}from'ckeditor5/src/core.js';import{version as _0xe33f8e}from'ckeditor5/src/utils.js';import{Users as _0x2525d2}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x4a8ad0 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x4262cf from'../realtimecollaborativeediting/websocketgateway.js';import _0xeae74c from'../realtimecollaborativeediting/sessions.js';function _0x19d6(_0xafff71,_0x2e6ac3){const _0x4d9140=_0x4d91();return _0x19d6=function(_0x19d647,_0xd29842){_0x19d647=_0x19d647-0xab;let _0x2a5bf0=_0x4d9140[_0x19d647];return _0x2a5bf0;},_0x19d6(_0xafff71,_0x2e6ac3);}import{EditorService as _0x3ae975,RevisionHistoryService as _0x45f082,User as _0x32fe33,WEB_SOCKET_GATEWAY_STATES as _0x46a07b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class v extends _0x4a3e4a{static get[_0x23af12(0x10d)](){const _0xf05237=_0x23af12;return[_0x4262cf,_0x4a8ad0,_0xf05237(0xc0),_0xeae74c,_0x2525d2];}constructor(_0x3e5db2){const _0x4cd4e5=_0x23af12;super(_0x3e5db2);const _0x5b1d22=this[_0x4cd4e5(0xac)][_0x4cd4e5(0xfe)][_0x4cd4e5(0xdf)](_0x4cd4e5(0xf0));this[_0x4cd4e5(0x100)]=null,this[_0x4cd4e5(0xe9)]=this[_0x4cd4e5(0xac)][_0x4cd4e5(0xcb)][_0x4cd4e5(0xdf)](_0x4cd4e5(0xc0)),this[_0x4cd4e5(0x115)]=new v[(_0x4cd4e5(0xb4))](_0x5b1d22);}async[_0x23af12(0xbd)](){const _0x27681e=_0x23af12,_0x54e2b2=this[_0x27681e(0xac)][_0x27681e(0xcb)][_0x27681e(0xdf)](_0x4a8ad0),_0x4fbb83=_0x54e2b2[_0x27681e(0xf7)],_0x2b525f=this[_0x27681e(0xac)][_0x27681e(0xcb)][_0x27681e(0xdf)](_0x4262cf);this[_0x27681e(0xe9)][_0x27681e(0xeb)]({'history':_0x4fbb83,'getLatestVersion':()=>this[_0x27681e(0xc9)](),'getCurrentRevisionId':()=>_0x54e2b2[_0x27681e(0xe6)]});const _0x560c70=this[_0x27681e(0xac)][_0x27681e(0xfe)][_0x27681e(0xdf)](_0x27681e(0x103))||_0xe33f8e,_0x56757e=await _0x3ae975[_0x27681e(0x106)](_0x2b525f[_0x27681e(0xc6)],_0x560c70);this[_0x27681e(0xe9)][_0x27681e(0x104)]={'getRevision':async({revisionId:_0x31247e})=>(await this[_0x27681e(0xad)](),await this[_0x27681e(0x115)][_0x27681e(0x109)](_0x31247e)),'updateRevisions':async _0x5ecf5a=>{const _0x3aba45=_0x27681e;await this[_0x3aba45(0xad)]();const _0x5dde71=this[_0x3aba45(0xe9)][_0x3aba45(0x108)];if(_0x56757e&&0x1===_0x5ecf5a[_0x3aba45(0xc5)]&&_0x5ecf5a[0x0]['id']===_0x5dde71['id'])return _0x5ecf5a;for(const _0x5c2b6a of _0x5ecf5a)_0x5c2b6a['id']===_0x5dde71['id']&&(_0x5c2b6a[_0x3aba45(0xd3)]=_0x5c2b6a[_0x3aba45(0xb0)]===_0x5c2b6a[_0x3aba45(0xba)]);return this[_0x3aba45(0x115)][_0x3aba45(0x118)](_0x5ecf5a,this[_0x3aba45(0x100)])[_0x3aba45(0xd8)](_0x7a798d=>(this[_0x3aba45(0x100)]=_0x7a798d,_0x5ecf5a))[_0x3aba45(0xbf)](_0x589fa6=>{const _0x2d1e70=_0x3aba45;if(rt(_0x589fa6)||_0x2d1e70(0xe5)===_0x589fa6[_0x2d1e70(0xb6)]&&void 0x0!==_0x589fa6[_0x2d1e70(0xd1)][_0x2d1e70(0xb3)]){for(const _0x29f03c of _0x5ecf5a){!this[_0x2d1e70(0xe9)][_0x2d1e70(0xd5)][_0x2d1e70(0x109)](_0x29f03c['id'])||this[_0x2d1e70(0xe9)][_0x2d1e70(0xed)](_0x29f03c['id'],_0x29f03c,!0x1);}if(rt(_0x589fa6))throw _0x589fa6;return _0x5ecf5a;}throw _0x589fa6;});}},this[_0x27681e(0x10e)](this[_0x27681e(0x115)],_0x27681e(0xca),(_0xbcedcf,{revisionsData:_0x4c9a65,requestId:_0xb7f48c})=>{const _0x528658=_0x27681e;Math[_0x528658(0xc2)](..._0x4c9a65[_0x528658(0xd2)](_0x599bb8=>_0x599bb8[_0x528658(0xba)]))>this[_0x528658(0xde)]()-0x1?this[_0x528658(0xc9)]()[_0x528658(0xd8)](()=>{const _0xe08e2f=_0x528658;this[_0xe08e2f(0xfb)](_0x4c9a65,_0xb7f48c);}):this[_0x528658(0xfb)](_0x4c9a65,_0xb7f48c);});const {revisions:_0x383eb0,requestId:_0x2cb3d0}=await this[_0x27681e(0x115)][_0x27681e(0xc4)](_0x2b525f[_0x27681e(0xc6)]);_0x2b525f[_0x27681e(0xcc)](this),this[_0x27681e(0x100)]=_0x2cb3d0,await this[_0x27681e(0x111)](_0x383eb0);for(const _0x1e44ff of _0x383eb0)this[_0x27681e(0xe9)][_0x27681e(0xd0)](_0x1e44ff);this[_0x27681e(0x10e)](_0x54e2b2,_0x27681e(0xd4),(_0x4ffd5d,_0x5203aa,_0x356af5)=>{const _0x26d6a8=_0x27681e;_0x356af5&&(this[_0x26d6a8(0xee)]=_0x54e2b2[_0x26d6a8(0x102)],_0x4ffd5d[_0x26d6a8(0xd7)]());}),this[_0x27681e(0xe9)][_0x27681e(0x113)](_0x27681e(0xc7))['to'](_0x2b525f,_0x27681e(0xfd),_0x295540=>_0x295540===_0x46a07b[_0x27681e(0x112)]);}async[_0x23af12(0xc3)](){const _0x1decf6=_0x23af12,_0x5b17f8=this[_0x1decf6(0xac)][_0x1decf6(0xcb)][_0x1decf6(0xdf)](_0x4262cf),_0x1a23f2=this[_0x1decf6(0xac)][_0x1decf6(0xcb)][_0x1decf6(0xdf)](_0x4a8ad0),_0x549006=async()=>{const _0x169f0f=_0x1decf6,_0x3c1efa=this[_0x169f0f(0xe9)][_0x169f0f(0x108)],_0x3e88e5=_0x3c1efa['id'],_0x2c8072=_0x3e88e5!==_0x1a23f2[_0x169f0f(0xe6)];if(_0x2c8072){const _0x38471d=_0x1a23f2[_0x169f0f(0x102)]-this[_0x169f0f(0xee)],_0xe509b7=this[_0x169f0f(0xde)]();this[_0x169f0f(0xe9)][_0x169f0f(0xe1)][_0x169f0f(0xe3)]();if(_0x3c1efa[_0x169f0f(0xba)]+_0x38471d!==_0xe509b7){const _0x43a9ab=_0x3c1efa[_0x169f0f(0xb0)]+_0x38471d,_0x2ed618=this[_0x169f0f(0xac)][_0x169f0f(0xcb)][_0x169f0f(0xdf)](_0x2525d2),_0x1493e8=this[_0x169f0f(0xe9)][_0x169f0f(0xea)]({'revision':_0x3c1efa,'from':_0x43a9ab,'to':_0xe509b7});_0x1493e8['id']=_0x3c1efa['id'];const _0x4054c1=_0x1493e8[_0x169f0f(0xf1)][_0x169f0f(0xd2)](_0x43523c=>_0x2ed618[_0x169f0f(0xcf)](_0x43523c));_0x3c1efa[_0x169f0f(0x110)]({..._0x1493e8,'authors':_0x4054c1},!0x0),this[_0x169f0f(0xe9)][_0x169f0f(0xed)](_0x3c1efa['id'],_0x1493e8,!0x0);}this[_0x169f0f(0xe9)][_0x169f0f(0xb7)]=_0xe509b7,(_0x3c1efa[_0x169f0f(0xba)]===_0x3c1efa[_0x169f0f(0xb0)]&&!this[_0x169f0f(0xe9)][_0x169f0f(0xd9)][_0x169f0f(0xe0)](_0x3e88e5)&&this[_0x169f0f(0xe9)][_0x169f0f(0xd5)][_0x169f0f(0xce)][_0x169f0f(0xaf)](_0x3e88e5),this[_0x169f0f(0xe9)][_0x169f0f(0xe4)](_0xe509b7));}const {revisions:_0x18a13e,requestId:_0x356e56}=await this[_0x169f0f(0x115)][_0x169f0f(0xc3)](_0x5b17f8[_0x169f0f(0xc6)],this[_0x169f0f(0x100)]);_0x2c8072&&_0x18a13e[_0x169f0f(0xc5)]>0x0?_0x1a23f2[_0x169f0f(0xb8)]():(await this[_0x169f0f(0x111)](_0x18a13e),this[_0x169f0f(0xfb)](_0x18a13e,_0x356e56),this[_0x169f0f(0xe9)][_0x169f0f(0x107)]());};return _0x1a23f2[_0x1decf6(0xf9)]?_0x549006():new Promise((_0x22956d,_0x541d3d)=>{const _0x5c3595=_0x1decf6;_0x1a23f2[_0x5c3595(0xef)](_0x5c3595(0xd4),()=>{const _0x26a5ba=_0x5c3595;_0x549006()[_0x26a5ba(0xd8)](_0x22956d)[_0x26a5ba(0xbf)](_0x541d3d);});});}[_0x23af12(0xb1)](){const _0xe597a8=_0x23af12;super[_0xe597a8(0xb1)]();}async[_0x23af12(0xad)](){const _0x4fee50=_0x23af12;this[_0x4fee50(0x115)][_0x4fee50(0xda)]||await new Promise(_0x4676be=>{const _0x57f4d8=_0x4fee50;this[_0x57f4d8(0x10e)](this[_0x57f4d8(0x115)],_0x57f4d8(0xff),_0x4ab9e7=>{const _0x2a0d4e=_0x57f4d8;_0x4ab9e7[_0x2a0d4e(0xd7)](),_0x4676be();});});}[_0x23af12(0xde)](){const _0x57bd40=_0x23af12,_0xf50aed=this[_0x57bd40(0xac)][_0x57bd40(0xcb)][_0x57bd40(0xdf)](_0x4a8ad0)[_0x57bd40(0xf7)][_0x57bd40(0x10c)]()[_0x57bd40(0xfc)]();for(const _0x8c6f1 of _0xf50aed)if(_0x57bd40(0x105)!==_0x8c6f1[_0x57bd40(0x114)]||_0x8c6f1[_0x57bd40(0xf4)])return _0x8c6f1[_0x57bd40(0xf3)]+0x1;}[_0x23af12(0xc9)](){const _0x161ee9=_0x23af12,_0x473e2c=this[_0x161ee9(0xac)][_0x161ee9(0xcb)][_0x161ee9(0xdf)](_0x4a8ad0);return new Promise(_0x308b3b=>{const _0x3ad83c=_0x161ee9;_0x473e2c[_0x3ad83c(0xd6)]?_0x473e2c[_0x3ad83c(0xef)](_0x3ad83c(0xe7),()=>{const _0x3d0265=_0x3ad83c;_0x308b3b(this[_0x3d0265(0xde)]());}):_0x308b3b(this[_0x3ad83c(0xde)]());});}[_0x23af12(0xfb)](_0x33d982,_0x538912){const _0xec44b0=_0x23af12,_0x2c7743=this[_0xec44b0(0xe9)][_0xec44b0(0xd5)];this[_0xec44b0(0x100)]=_0x538912;for(const _0x140e88 of _0x33d982){const _0x5b6ae6=_0x2c7743[_0xec44b0(0x109)](_0x140e88['id']);if(_0x5b6ae6){if((_0x140e88[_0xec44b0(0xb0)]||_0x140e88[_0xec44b0(0xba)])&&(_0x140e88[_0xec44b0(0xf2)]=null),_0x5b6ae6===this[_0xec44b0(0xe9)][_0xec44b0(0x108)]){const _0x60853c=Math[_0xec44b0(0xc2)](_0x5b6ae6[_0xec44b0(0xba)],_0x140e88[_0xec44b0(0xba)]),_0x32792d=Math[_0xec44b0(0xc2)](_0x5b6ae6[_0xec44b0(0xb0)],_0x140e88[_0xec44b0(0xb0)]);let _0xd9c850;_0x5b6ae6[_0xec44b0(0xba)]===_0x140e88[_0xec44b0(0xba)]&&_0x5b6ae6[_0xec44b0(0xb0)]===_0x140e88[_0xec44b0(0xb0)]?(_0xd9c850=!0x0,this[_0xec44b0(0xdd)](_0x140e88)):_0x140e88[_0xec44b0(0xba)]===_0x60853c&&_0x140e88[_0xec44b0(0xb0)]===_0x32792d?_0xd9c850=!0x1:(_0x5b6ae6[_0xec44b0(0xba)]===_0x60853c&&_0x5b6ae6[_0xec44b0(0xb0)]===_0x32792d||this[_0xec44b0(0xf5)]({'revision':_0x5b6ae6,'from':_0x32792d,'to':_0x60853c}),_0xd9c850=!0x0),_0xd9c850&&(delete _0x140e88[_0xec44b0(0xb0)],delete _0x140e88[_0xec44b0(0xba)],delete _0x140e88[_0xec44b0(0xf2)],delete _0x140e88[_0xec44b0(0xc8)],delete _0x140e88[_0xec44b0(0xf1)]);}this[_0xec44b0(0xe9)][_0xec44b0(0xdc)](_0x140e88),this[_0xec44b0(0xdd)](_0x140e88);}else this[_0xec44b0(0xe9)][_0xec44b0(0xd0)](_0x140e88);}const _0x5bb057=_0x2c7743[_0xec44b0(0xdb)]();_0x5bb057[_0xec44b0(0xfc)]();for(let _0x3a79c5=0x0;_0x3a79c5<_0x5bb057[_0xec44b0(0xc5)]-0x1;_0x3a79c5++){const _0x3023ce=_0x5bb057[_0x3a79c5],_0x812b15=_0x5bb057[_0x3a79c5+0x1];if(_0x3023ce[_0xec44b0(0xb0)]<_0x812b15[_0xec44b0(0xba)]){const _0x25dbcb=_0x812b15[_0xec44b0(0xba)],_0x335c08=Math[_0xec44b0(0xc2)](_0x25dbcb,_0x3023ce[_0xec44b0(0xba)]);this[_0xec44b0(0xf5)]({'revision':_0x3023ce,'from':_0x25dbcb,'to':_0x335c08});}}}[_0x23af12(0xf5)]({revision:_0x4096d4,from:_0x57edc4,to:_0x5d5c4e}={}){const _0x207101=_0x23af12,_0x988046=this[_0x207101(0xac)][_0x207101(0xcb)][_0x207101(0xdf)](_0x2525d2),_0x59ef56=this[_0x207101(0xe9)][_0x207101(0xea)]({'revision':_0x4096d4,'from':_0x57edc4,'to':_0x5d5c4e});_0x59ef56[_0x207101(0x10f)]=_0x59ef56[_0x207101(0xf1)][_0x207101(0xd2)](_0x4689cf=>_0x988046[_0x207101(0xcf)](_0x4689cf)),_0x4096d4[_0x207101(0x110)](_0x59ef56);}[_0x23af12(0xdd)](_0x587059){const _0x104dfa=_0x23af12,_0x7e4e74={};_0x7e4e74['id']=_0x587059['id'];for(const _0x4428a1 of Object[_0x104dfa(0xc1)](_0x587059))'id'!==_0x4428a1&&(_0x7e4e74[_0x4428a1]=void 0x0);this[_0x104dfa(0xe9)][_0x104dfa(0xed)](_0x7e4e74['id'],_0x7e4e74,!0x0);}async[_0x23af12(0x111)](_0x32cb24){const _0x5775c1=_0x23af12,_0x5c5a2b=this[_0x5775c1(0xac)][_0x5775c1(0xcb)][_0x5775c1(0xdf)](_0x2525d2),{connection:_0x251c84}=this[_0x5775c1(0xac)][_0x5775c1(0xcb)][_0x5775c1(0xdf)](_0x4262cf),_0x8f34ab=new Set();for(const _0x39c670 of _0x32cb24){for(const _0x2b5739 of _0x39c670[_0x5775c1(0xf1)])_0x428483(_0x2b5739);_0x39c670[_0x5775c1(0xf8)]&&_0x428483(_0x39c670[_0x5775c1(0xf8)]);}if(0x0===_0x8f34ab[_0x5775c1(0xbc)])return;const _0xd840=await _0x32fe33[_0x5775c1(0xf6)](_0x251c84,Array[_0x5775c1(0x10b)](_0x8f34ab));for(const _0x978696 of _0xd840)_0x5c5a2b[_0x5775c1(0xcf)](_0x978696['id'])||_0x5c5a2b[_0x5775c1(0xb5)](_0x978696);function _0x428483(_0x15b4d4){const _0x3810a1=_0x5775c1;_0x5c5a2b[_0x3810a1(0xcf)](_0x15b4d4)||_0x8f34ab[_0x3810a1(0xb9)](_0x15b4d4);}}}function _0x4d91(){const _0x7e16db=['_fetchMissingUsers','CONNECTED','bind','type','_revisionHistoryService','144Xcajkz','606152ZoBZAl','updateRevisions','cloud-services-internal-error:\x20Not\x20connected.','message','editor','_waitForServiceReady','cloud-services-internal-error:\x20Request\x20timeout.','remove','fromVersion','destroy','795990RhSSiN','wrongRequestId','RevisionHistoryService','addUser','code','_startingVersion','_handleReconnectionError','add','toVersion','96972CJKwdl','size','init','431406IYhxAr','catch','RevisionTracker','keys','max','reconnect','connect','length','connection','isEnabled','createdAt','_getLatestVersion','revisionsUpdated','plugins','addToReconnectionStack','36bNQoDD','_revisions','getUser','addRevisionData','data','map','isEmptyCurrent','change:_isConnected','repository','_isPendingUpdate','off','then','_bufferedUpdates','isConnected','getRevisions','setRevisionData','_preventResendingRevisionData','_getLatestVersionFromServerOperations','get','has','_revisionDataBuilder','1043473cTsSwx','reInit','_createCurrentRevision','400','sessionId','change:_isPendingUpdate','6TsQoXP','_revisionTracker','buildRevisionData','setSource','1825726zJdvmg','_bufferUpdate','_oldOffset','once','collaboration.channelId','authorsIds','diffData','baseVersion','affectsData','_fixRevision','getMany','serverHistory','creatorId','_isConnected','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','_handleRevisionsUpdate','reverse','state','config','connected','_lastRequestId','6727650kjCSDr','_offset','cloudServices.bundleVersion','adapter','marker','isBundleUploaded','sendBufferedUpdates','currentRevision','getRevision','startsWith','from','getOperations','requires','listenTo','authors','_update'];_0x4d91=function(){return _0x7e16db;};return _0x4d91();}v[_0x23af12(0xb4)]=_0x45f082;export default v;function rt(_0x4b0d4b){const _0x2d7051=_0x23af12;return _0x4b0d4b[_0x2d7051(0xab)][_0x2d7051(0x10a)](_0x2d7051(0xfa))||_0x4b0d4b[_0x2d7051(0xab)][_0x2d7051(0x10a)](_0x2d7051(0x119))||_0x4b0d4b[_0x2d7051(0xab)][_0x2d7051(0x10a)](_0x2d7051(0xae));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x6c2dd7=_0x5eb3;function _0x5eb3(_0x18a559,_0x4e5f9a){var _0x3edcdf=_0x3edc();return _0x5eb3=function(_0x5eb301,_0x375a81){_0x5eb301=_0x5eb301-0x161;var _0xdfeb5f=_0x3edcdf[_0x5eb301];return _0xdfeb5f;},_0x5eb3(_0x18a559,_0x4e5f9a);}function _0x3edc(){var _0x37eb4e=['9QUwIxp','RealTimeCollaborativeRevisionHistory','21tGJFfJ','44TrZtOo','150106HCkaAS','pluginName','6CVOpRx','29340TPERhi','51115CCXpFi','1499030vFJKFU','840936kcVsuL','180pScVGR','34452LbbgLl','52481eLdTwW','requires','RevisionHistory'];_0x3edc=function(){return _0x37eb4e;};return _0x3edc();}(function(_0x1d1553,_0x3767dd){var _0x2f484c=_0x5eb3,_0x16eba7=_0x1d1553();while(!![]){try{var _0xa995e7=-parseInt(_0x2f484c(0x164))/0x1+-parseInt(_0x2f484c(0x16d))/0x2*(-parseInt(_0x2f484c(0x163))/0x3)+parseInt(_0x2f484c(0x16a))/0x4*(-parseInt(_0x2f484c(0x16f))/0x5)+-parseInt(_0x2f484c(0x16e))/0x6*(-parseInt(_0x2f484c(0x169))/0x7)+-parseInt(_0x2f484c(0x161))/0x8+-parseInt(_0x2f484c(0x167))/0x9*(-parseInt(_0x2f484c(0x170))/0xa)+parseInt(_0x2f484c(0x16b))/0xb*(parseInt(_0x2f484c(0x162))/0xc);if(_0xa995e7===_0x3767dd)break;else _0x16eba7['push'](_0x16eba7['shift']());}catch(_0x4c0bf3){_0x16eba7['push'](_0x16eba7['shift']());}}}(_0x3edc,0x20a20));import{Plugin as _0x73829e}from'ckeditor5/src/core.js';import _0x121456 from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import _0x533265 from'./realtimecollaborativeediting.js';export default class d extends _0x73829e{static get[_0x6c2dd7(0x165)](){var _0x1d9ffb=_0x6c2dd7;return[_0x1d9ffb(0x166),_0x121456,_0x533265];}static get[_0x6c2dd7(0x16c)](){var _0x290ef0=_0x6c2dd7;return _0x290ef0(0x168);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2834(_0x5e9665,_0x8d30a7){const _0x1776c6=_0x1776();return _0x2834=function(_0x283497,_0xadbb42){_0x283497=_0x283497-0x6a;let _0x1dbf88=_0x1776c6[_0x283497];return _0x1dbf88;},_0x2834(_0x5e9665,_0x8d30a7);}const _0x26111e=_0x2834;function _0x1776(){const _0xfab372=['getUser','listenTo','hasSuggestion','catch','cloud-services-internal-error:\x20Not\x20connected.','61338LoWcmY','startsWith','21TheGuR','init','535134Zeyuhu','collaboration.channelId','15ZOSeya','editor','addUser','delete','then','state','addToReconnectionStack','isConnected','size','15120060rQwScc','suggestionUpdated','getSuggestion','type','data','getMany','values','update','_waitForServiceReady','1936128WKbyxA','addSuggestionData','find','TrackChangesEditing','287844TOjLys','reconnect','connection','_fetchMissingUsersForThreads','set','adapter','open','attributes','_bufferedRequests','_saved','add','connected','originalSuggestionId','from','message','plugins','24wrDiXw','connect','TrackChangesService','get','cloud-services-internal-error:\x20Request\x20timeout.','config','6740514LVgxEa','off','requires','_trackChangesService','961068EPDXuQ'];_0x1776=function(){return _0xfab372;};return _0x1776();}(function(_0x2feff0,_0x478b47){const _0x2afe63=_0x2834,_0x414907=_0x2feff0();while(!![]){try{const _0x20e755=-parseInt(_0x2afe63(0x85))/0x1+parseInt(_0x2afe63(0x95))/0x2*(parseInt(_0x2afe63(0xa5))/0x3)+-parseInt(_0x2afe63(0x9f))/0x4*(parseInt(_0x2afe63(0x6f))/0x5)+-parseInt(_0x2afe63(0x6d))/0x6*(-parseInt(_0x2afe63(0x6b))/0x7)+parseInt(_0x2afe63(0x81))/0x8+-parseInt(_0x2afe63(0x9b))/0x9+parseInt(_0x2afe63(0x78))/0xa;if(_0x20e755===_0x478b47)break;else _0x414907['push'](_0x414907['shift']());}catch(_0x13e676){_0x414907['push'](_0x414907['shift']());}}}(_0x1776,0x7c5a6));import{Plugin as _0x26c18f}from'ckeditor5/src/core.js';import{User as _0x20979c,TrackChangesService as _0x3c10aa}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x161169 from'../realtimecollaborativeediting/websocketgateway.js';import _0x5ce1a7 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x11d6d2}from'ckeditor5-collaboration/src/collaboration-core.js';class g extends _0x26c18f{static get[_0x26111e(0x9d)](){const _0x4c45b4=_0x26111e;return[_0x5ce1a7,_0x4c45b4(0x84),_0x161169];}constructor(_0x5d7b43){const _0x31c7f8=_0x26111e;super(_0x5d7b43);const _0xf85b04=this[_0x31c7f8(0x70)][_0x31c7f8(0x9a)][_0x31c7f8(0x98)](_0x31c7f8(0x6e));this[_0x31c7f8(0x8d)]=new Map(),this[_0x31c7f8(0x9e)]=new g[(_0x31c7f8(0x97))](_0xf85b04);}[_0x26111e(0x6c)](){const _0x5279cb=_0x26111e,_0x30b2e6=this[_0x5279cb(0x70)][_0x5279cb(0x94)][_0x5279cb(0x98)](_0x161169),_0x45d07f=this[_0x5279cb(0x70)][_0x5279cb(0x94)][_0x5279cb(0x98)](_0x5279cb(0x84));return _0x45d07f[_0x5279cb(0x8a)]={'getSuggestion':async _0x5460f6=>{const _0x5e0ec4=_0x5279cb;await this[_0x5e0ec4(0x80)]();const _0x519634=await this[_0x5e0ec4(0x9e)][_0x5e0ec4(0x98)](_0x5460f6)[_0x5e0ec4(0xa3)](ot);return await this[_0x5e0ec4(0x88)]([_0x519634]),_0x519634;},'addSuggestion':async({id:_0x5790ac,type:_0x2d4d2c,data:_0x424d12,originalSuggestionId:_0x55017d,attributes:_0x419873})=>{const _0x36ca3c=_0x5279cb;await this[_0x36ca3c(0x80)]();const _0x31a077={'id':_0x5790ac,'type':_0x2d4d2c,'data':_0x424d12,'originalSuggestionId':_0x55017d,'attributes':_0x419873},_0x3e9c90=await this[_0x36ca3c(0x9e)][_0x36ca3c(0x8f)](_0x5790ac,_0x2d4d2c,_0x424d12,_0x55017d,_0x419873)[_0x36ca3c(0xa3)](_0x6f0bd4=>{if(rt(_0x6f0bd4))return new Promise(_0x1f3a19=>{const _0x23b9bf=_0x2834;this[_0x23b9bf(0x8d)][_0x23b9bf(0x89)](_0x5790ac,{'resolve':_0x1f3a19,'suggestionData':_0x31a077});});throw _0x6f0bd4;});return this[_0x36ca3c(0x8d)][_0x36ca3c(0x72)](_0x5790ac),_0x3e9c90;},'updateSuggestion':async(_0x57460d,_0xcbdc7)=>{const _0x127676=_0x5279cb;if(await this[_0x127676(0x80)](),_0x127676(0x8b)!==_0xcbdc7[_0x127676(0x74)])return this[_0x127676(0x9e)][_0x127676(0x7f)](_0x57460d,_0xcbdc7)[_0x127676(0xa3)](ot);}},this[_0x5279cb(0xa1)](this[_0x5279cb(0x9e)],_0x5279cb(0x79),(_0x34a649,_0x44a25a)=>{const _0x377eac=_0x5279cb;_0x45d07f[_0x377eac(0xa2)](_0x44a25a['id'])&&(_0x45d07f[_0x377eac(0x7a)](_0x44a25a['id'])[_0x377eac(0x8c)]=_0x44a25a[_0x377eac(0x8c)]);}),this[_0x5279cb(0x9e)][_0x5279cb(0x96)](_0x30b2e6[_0x5279cb(0x87)])[_0x5279cb(0x73)](_0x37244e=>(_0x30b2e6[_0x5279cb(0x75)](this),this[_0x5279cb(0x88)](_0x37244e)[_0x5279cb(0x73)](()=>{const _0x31c136=_0x5279cb;for(const _0x38a1c4 of _0x37244e){_0x45d07f[_0x31c136(0x82)](_0x38a1c4)[_0x31c136(0x8e)]=!0x0;}})));}async[_0x26111e(0x86)](){const _0x4cefc4=_0x26111e,_0x4aac6b=this[_0x4cefc4(0x70)][_0x4cefc4(0x94)][_0x4cefc4(0x98)](_0x4cefc4(0x84)),{connection:_0x1f1091}=this[_0x4cefc4(0x70)][_0x4cefc4(0x94)][_0x4cefc4(0x98)](_0x161169),_0x9dde46=await this[_0x4cefc4(0x9e)][_0x4cefc4(0x96)](_0x1f1091);await this[_0x4cefc4(0x88)](_0x9dde46);for(const {suggestionData:_0x128e06,resolve:_0x1218f0}of this[_0x4cefc4(0x8d)][_0x4cefc4(0x7e)]()){let _0x39aa88=_0x9dde46[_0x4cefc4(0x83)](_0x408616=>_0x408616['id']===_0x128e06['id']);_0x39aa88||(_0x39aa88=await this[_0x4cefc4(0x9e)][_0x4cefc4(0x8f)](_0x128e06['id'],_0x128e06[_0x4cefc4(0x7b)],_0x128e06[_0x4cefc4(0x7c)],_0x128e06[_0x4cefc4(0x91)])),_0x1218f0(_0x39aa88);}for(const _0x5a133f of _0x9dde46)_0x4aac6b[_0x4cefc4(0xa2)](_0x5a133f['id'])||_0x4aac6b[_0x4cefc4(0x82)](_0x5a133f);}async[_0x26111e(0x80)](){const _0x4e4f19=_0x26111e;this[_0x4e4f19(0x9e)][_0x4e4f19(0x76)]||await new Promise(_0x57b5a1=>{const _0xf4bb95=_0x4e4f19;this[_0xf4bb95(0xa1)](this[_0xf4bb95(0x9e)],_0xf4bb95(0x90),_0x2a03b9=>{const _0x405993=_0xf4bb95;_0x2a03b9[_0x405993(0x9c)](),_0x57b5a1();});});}async[_0x26111e(0x88)](_0x5dc99c){const _0x5215e1=_0x26111e,_0x121cdc=this[_0x5215e1(0x70)][_0x5215e1(0x94)][_0x5215e1(0x98)](_0x11d6d2),{connection:_0x1f1bbd}=this[_0x5215e1(0x70)][_0x5215e1(0x94)][_0x5215e1(0x98)](_0x161169),_0x28f84f=new Set();for(const {authorId:_0x20e3cb}of _0x5dc99c)_0x121cdc[_0x5215e1(0xa0)](_0x20e3cb)||_0x28f84f[_0x5215e1(0x8f)](_0x20e3cb);if(0x0===_0x28f84f[_0x5215e1(0x77)])return;const _0x110da9=await _0x20979c[_0x5215e1(0x7d)](_0x1f1bbd,Array[_0x5215e1(0x92)](_0x28f84f));for(const _0xbfcbf1 of _0x110da9)_0x121cdc[_0x5215e1(0xa0)](_0xbfcbf1['id'])||_0x121cdc[_0x5215e1(0x71)](_0xbfcbf1);}}g[_0x26111e(0x97)]=_0x3c10aa;export default g;function ot(_0x5b95fc){if(rt(_0x5b95fc))return new Promise(()=>{});throw _0x5b95fc;}function rt(_0x2f204f){const _0x473a10=_0x26111e;return _0x2f204f[_0x473a10(0x93)][_0x473a10(0x6a)](_0x473a10(0xa4))||_0x2f204f[_0x473a10(0x93)][_0x473a10(0x6a)](_0x473a10(0x99));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x5e00f7=_0x2b6f;(function(_0x2ba276,_0x196758){var _0x120b3f=_0x2b6f,_0x5567c9=_0x2ba276();while(!![]){try{var _0x11b888=parseInt(_0x120b3f(0x1f3))/0x1*(-parseInt(_0x120b3f(0x1f4))/0x2)+parseInt(_0x120b3f(0x1ef))/0x3+-parseInt(_0x120b3f(0x1ee))/0x4*(-parseInt(_0x120b3f(0x1f7))/0x5)+parseInt(_0x120b3f(0x1ed))/0x6+parseInt(_0x120b3f(0x1f5))/0x7+-parseInt(_0x120b3f(0x1f1))/0x8+-parseInt(_0x120b3f(0x1f2))/0x9*(parseInt(_0x120b3f(0x1f6))/0xa);if(_0x11b888===_0x196758)break;else _0x5567c9['push'](_0x5567c9['shift']());}catch(_0x15d95d){_0x5567c9['push'](_0x5567c9['shift']());}}}(_0x2629,0xb55c4));function _0x2629(){var _0x59b303=['9964787rsbHHx','50bdOCRA','113210fBiLtM','TrackChanges','pluginName','RealTimeCollaborativeTrackChanges','5887254IpTcyL','56DiOLOq','2330355xbArVR','requires','7222520GVonfW','1376307cxEqSl','231DBWyrx','9422ixETJk'];_0x2629=function(){return _0x59b303;};return _0x2629();}function _0x2b6f(_0x572f03,_0x2ba5de){var _0x2629e1=_0x2629();return _0x2b6f=function(_0x2b6f33,_0x5492ba){_0x2b6f33=_0x2b6f33-0x1ed;var _0x26dffa=_0x2629e1[_0x2b6f33];return _0x26dffa;},_0x2b6f(_0x572f03,_0x2ba5de);}import{Plugin as _0x49dba8}from'ckeditor5/src/core.js';import _0x376541 from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import _0xf5a047 from'./realtimecollaborativecomments.js';export default class p extends _0x49dba8{static get[_0x5e00f7(0x1f0)](){var _0x24abdc=_0x5e00f7;return[_0xf5a047,_0x376541,_0x24abdc(0x1f8)];}static get[_0x5e00f7(0x1f9)](){var _0x256632=_0x5e00f7;return _0x256632(0x1fa);}}
|