@ckeditor/ckeditor5-real-time-collaboration 43.0.0-alpha.0 → 43.0.0-alpha.2
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/build/translations/ar.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.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/lang/translations/ar.po +3 -3
- package/lang/translations/bg.po +3 -3
- package/lang/translations/bn.po +3 -3
- package/lang/translations/ca.po +3 -3
- package/lang/translations/cs.po +3 -3
- package/lang/translations/da.po +3 -3
- package/lang/translations/de.po +3 -3
- package/lang/translations/el.po +3 -3
- package/lang/translations/es.po +3 -3
- package/lang/translations/et.po +3 -3
- package/lang/translations/fi.po +3 -3
- package/lang/translations/fr.po +3 -3
- package/lang/translations/gl.po +3 -3
- package/lang/translations/he.po +3 -3
- package/lang/translations/hi.po +3 -3
- package/lang/translations/hu.po +3 -3
- package/lang/translations/id.po +3 -3
- package/lang/translations/it.po +3 -3
- package/lang/translations/ja.po +3 -3
- package/lang/translations/ko.po +3 -3
- package/lang/translations/lt.po +3 -3
- package/lang/translations/lv.po +3 -3
- package/lang/translations/ms.po +3 -3
- package/lang/translations/nl.po +3 -3
- package/lang/translations/no.po +3 -3
- package/lang/translations/pl.po +3 -3
- package/lang/translations/pt-br.po +3 -3
- package/lang/translations/pt.po +3 -3
- package/lang/translations/ro.po +3 -3
- package/lang/translations/ru.po +3 -3
- package/lang/translations/sk.po +3 -3
- package/lang/translations/sr.po +3 -3
- package/lang/translations/sv.po +3 -3
- package/lang/translations/th.po +3 -3
- package/lang/translations/tr.po +3 -3
- package/lang/translations/uk.po +3 -3
- package/lang/translations/vi.po +3 -3
- package/lang/translations/zh-cn.po +3 -3
- package/lang/translations/zh.po +3 -3
- 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
|
|
23
|
+
const _0x55d894=_0x820d;(function(_0x35269a,_0x4420b9){const _0x340390=_0x820d,_0x292e70=_0x35269a();while(!![]){try{const _0x3279fb=parseInt(_0x340390(0x1f4))/0x1*(parseInt(_0x340390(0x1f3))/0x2)+parseInt(_0x340390(0x1f1))/0x3+-parseInt(_0x340390(0x1dc))/0x4*(-parseInt(_0x340390(0x1f0))/0x5)+-parseInt(_0x340390(0x1ef))/0x6*(-parseInt(_0x340390(0x1e3))/0x7)+-parseInt(_0x340390(0x1f2))/0x8*(-parseInt(_0x340390(0x1f7))/0x9)+-parseInt(_0x340390(0x1e1))/0xa+-parseInt(_0x340390(0x1eb))/0xb;if(_0x3279fb===_0x4420b9)break;else _0x292e70['push'](_0x292e70['shift']());}catch(_0x44411b){_0x292e70['push'](_0x292e70['shift']());}}}(_0x4c3f,0x6f437));function _0x820d(_0x4fc228,_0x34963e){const _0x4c3ff8=_0x4c3f();return _0x820d=function(_0x820d0e,_0x2ca026){_0x820d0e=_0x820d0e-0x1dc;let _0x3907ea=_0x4c3ff8[_0x820d0e];return _0x3907ea;},_0x820d(_0x4fc228,_0x34963e);}import{Plugin as _0x400809}from'ckeditor5/src/core.js';import _0x28668d from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x4c3f(){const _0x3fac8e=['plugins','RealTimeCollaborativeComments','change:state','1496PKGRAJ','switchReadOnly','ready','_setUpService','collaboration.channelId','1317020DujUbO','editor','3478433UlgkWL','destroy','requires','get','init','connected','Comments','CommentsRepository','13950079ArzwRx','listenTo','isThreadsLoadingPaused','data','6fVFJkL','2810srnlez','1530876YKdeFZ','8XgkIQC','4ZoHPVM','261295PhzMon','CommentsEditing','config','1040733WHrics','_terminateService','pluginName','once'];_0x4c3f=function(){return _0x3fac8e;};return _0x4c3f();}import _0x21f39e from'./realtimecollaborativeediting.js';import _0x3d31ec from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x400809{static get[_0x55d894(0x1e5)](){const _0x368173=_0x55d894;return[_0x368173(0x1e9),_0x28668d,_0x21f39e,_0x3d31ec];}static get[_0x55d894(0x1f9)](){const _0x2d4721=_0x55d894;return _0x2d4721(0x1fc);}[_0x55d894(0x1e7)](){const _0x37a194=_0x55d894,_0x2007ff=this[_0x37a194(0x1e2)][_0x37a194(0x1fb)][_0x37a194(0x1e6)](_0x3d31ec),_0x3eb7cd=this[_0x37a194(0x1e2)][_0x37a194(0x1fb)][_0x37a194(0x1e6)](_0x37a194(0x1f5)),_0x15595d=this[_0x37a194(0x1e2)][_0x37a194(0x1fb)][_0x37a194(0x1e6)](_0x28668d);return this[_0x37a194(0x1e2)][_0x37a194(0x1ee)][_0x37a194(0x1fa)](_0x37a194(0x1de),()=>{const _0x2e9931=_0x37a194;this[_0x2e9931(0x1ec)](_0x2007ff,_0x2e9931(0x1fd),(_0x5ef573,_0x58d7b6,_0x2e718f)=>{const _0x489a0c=_0x2e9931;_0x3eb7cd[_0x489a0c(0x1ed)]=_0x489a0c(0x1e8)!==_0x2e718f;});}),this[_0x37a194(0x1ec)](_0x2007ff,_0x37a194(0x1fd),(_0x1ed489,_0x390078,_0x53c8bc)=>{const _0x2eaa75=_0x37a194;this[_0x2eaa75(0x1e2)][_0x2eaa75(0x1fb)][_0x2eaa75(0x1e6)](_0x2eaa75(0x1ea))[_0x2eaa75(0x1dd)](_0x2eaa75(0x1e8)!==_0x53c8bc);}),_0x15595d[_0x37a194(0x1df)](this[_0x37a194(0x1e2)][_0x37a194(0x1f6)][_0x37a194(0x1e6)](_0x37a194(0x1e0)));}[_0x55d894(0x1e4)](){const _0x3e31e5=_0x55d894;this[_0x3e31e5(0x1e2)][_0x3e31e5(0x1fb)][_0x3e31e5(0x1e6)](_0x28668d)[_0x3e31e5(0x1f8)](this[_0x3e31e5(0x1e2)][_0x3e31e5(0x1f6)][_0x3e31e5(0x1e6)](_0x3e31e5(0x1e0))),super[_0x3e31e5(0x1e4)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1abcf0=_0x436a;function _0x4271(){const _0x4608be=['sendOperations','_operationToId','lastSyncVersion','_loadRoot','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.','_handleExternalOperations','$root','has','_addKnownRoot','_decompressOperations','connect','realtimecollaborationclient-initservice-internal-error','rootsAttributes','fromJSON','differ','disconnected','addUser','addOperation','cloud-services-internal-error:\x20Request\x20timeout.','change:_isPendingUpdate','getOperations','rtc-offline','toJSON','_handleReconnectionError','_handleServerResponse','define','document','loadRoot','model','code','_baseBufferDelay','getRoot','removeFromReconnectionStack','_compressor','register','channelSessions','isDocumentOperation','createUserMarkerOperations','5728KWLDsg','root','getDocumentDetails','selection','getUser','_initSessionsHandling','end','reconnect','forEach','realtimecollaborationclient-handleserverresponse','rtc-destroyed','createdAt','realtimecollaborationclient-initservice-incorrect-server-operation','slice','_saveOperationInBuffer','includes','_handleReceivedOperations','position','initData','createPositionAt','return','showWarning','cloudDocumentVersion','_operationIdentifier','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_bufferedOperations','serverHistory','realtimecollaborationclient-init-connection-failed','string','listenTo','newRange','finally','_disconnectionOperations','affectedSelectable','filter','suppressErrorInCollaboration','batch','cloudServices.bundleVersion','409','404','realtimecollaborationclient-init-non-existent-root','_shouldSendUpdate','version','_getAffectedRoot','change:_isEditingAllowed','history','422100cktSII','locale','_bufferRootLoad','ready','setPermissions','clone','lastOperationId','cs:removeUser','length','fire','641366CzhClt','_setPendingAction','_lastServerVersion','_isPendingUpdate','isEnabled','_document','_isDisconnection','_setUpDataInit','insert','PENDING_ACTION_SENDING_DATA','_sendBufferedOperationsDelayed','_lastSyncedOperationId','entries','real-time-collaboration','disconnect','data','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','state','RealTimeCollaborationClient','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','lastDocumentSession','16577032LijaJy','start','reconnection:\x20flushed\x20session','createRoot','baseVersion','CommentsOnly','_hasSelectionChanged','off','createRange','addToReconnectionStack','high','push','collaboration','attributes','offset','_updateServerHistory','_waitUntilSynced','connection','remove','get','2260QbfryH','error','document:write','add','then','_isConnected','enqueueChange','createPositionFromPath','enableReadOnlyMode','editor','connected','_pendingAction','_disconnectService','destroy','change:range','bind','__className','sessionAdd:','applyOperation','unregister','_shouldSendSelectionUpdate','_service','requires','getConnectedSessions','wereChangesApplied','path','apply','_ignoredOperations','map','addRootAttribute','_sendBufferedOperationsDelayId','_hasSynchronizationProblem','isReadOnly','_isInit','parse','disableReadOnlyMode','marker','stop','affectsData','_clearPendingAction','currentDocumentSession','roots','mySessionId','getIdOfTheLastOperation','_knownRootNames','isUndoneOperation','cloud-services-internal-error:\x20Not\x20connected.','markers','_handleReconnectionResponse','387478hIBPip','realtimecollaborationclient-init-document-already-initialized','Synchronization\x20issue','decompress','sessionCreatedAt','message','set','rootName','_applyOperationsSet','_isAttached','collaboration-missing-channelid','reset','permissions','_isLoaded','config','pluginName','compress','size','_handleInitialConnectionData','_refreshUserSelectionMarkers','_offset','_knownOperations','change:hasDomSelection','plugins','type','multi-root-editor-root-attributes-no-root','_connectService','move','_connectAfterSessionHasBeenFlushed','lastOperationAcceptedAt','editing','keys','CollaborativeEditingService','_currentBufferDelay','directChange','InsertOperation','_isEditingAllowed','_crash','stopListening','_sendBufferedOperations','operationsReceived','round','_authorId','targetPosition','metadata','addRoot','startsWith','getMany','realtimecollaborationclient-sendbufferedoperations','catch','from','setIdForTheLastOperation','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','view','_fetchMissingUsers','userId','_channelId','_handleSendingSelectionMarkers','Permissions','Notification','_getOperationsFromInitData','3648648PcgsuS','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.','sessionId','collaboration.channelId','_compressOperations','wasUndone','init','realtimecollaborationclient-init-session-connection-error','1363144rAWnpy','_initThrowingOnDataSet','getOperationAuthor'];_0x4271=function(){return _0x4608be;};return _0x4271();}(function(_0x5c181f,_0x4b7eac){const _0x41051c=_0x436a,_0x5d921e=_0x5c181f();while(!![]){try{const _0x1e7c1f=-parseInt(_0x41051c(0x1db))/0x1+-parseInt(_0x41051c(0x17a))/0x2+-parseInt(_0x41051c(0x1d1))/0x3+-parseInt(_0x41051c(0x1a3))/0x4*(parseInt(_0x41051c(0x204))/0x5)+parseInt(_0x41051c(0x172))/0x6+-parseInt(_0x41051c(0x135))/0x7+parseInt(_0x41051c(0x1f0))/0x8;if(_0x1e7c1f===_0x4b7eac)break;else _0x5d921e['push'](_0x5d921e['shift']());}catch(_0x41072d){_0x5d921e['push'](_0x5d921e['shift']());}}}(_0x4271,0x7d7bd));import{Plugin as _0x27484c,PendingActions as _0x3b4e6c}from'ckeditor5/src/core.js';import{CKEditorError as _0x33e7b1,version as _0x2c53cf,uid as _0x210524}from'ckeditor5/src/utils.js';import{Notification as _0x382bd4}from'ckeditor5/src/ui.js';import{transformSets as _0x56f52d,NoOperation as _0x29f9c5,InsertOperation as _0xdc763c,MarkerOperation as _0x491066,RootAttributeOperation as _0x10b864,OperationFactory as _0x494412,History as _0xcd4449}from'ckeditor5/src/engine.js';import _0xa2d1b7 from'./websocketgateway.js';import _0x420edb from'./sessions.js';function _0x436a(_0x1ae1f4,_0xe3963c){const _0x427155=_0x4271();return _0x436a=function(_0x436a9d,_0x55dcad){_0x436a9d=_0x436a9d-0x111;let _0xd3fad=_0x427155[_0x436a9d];return _0xd3fad;},_0x436a(_0x1ae1f4,_0xe3963c);}import _0x1d8259 from'./usermarkers.js';import{getTranslation as _0x34d6b7}from'../common-translations.js';import{Compressor as _0x838233}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0xf32c4a}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x47663e,CollaborativeEditingService as _0x263d71}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x27484c{static get[_0x1abcf0(0x11a)](){return[_0xa2d1b7,_0x420edb,_0x1d8259,_0x3b4e6c,_0xf32c4a,_0x382bd4];}static get[_0x1abcf0(0x144)](){const _0x2dd642=_0x1abcf0;return _0x2dd642(0x1ed);}get[_0x1abcf0(0x1b9)](){const _0x4e075b=_0x1abcf0;return this[_0x4e075b(0x1dd)]+this[_0x4e075b(0x149)];}get[_0x1abcf0(0x1dd)](){const _0x572d54=_0x1abcf0;return this[_0x572d54(0x1bd)][_0x572d54(0x1cd)]-this[_0x572d54(0x149)];}get[_0x1abcf0(0x17f)](){const _0x2bbe4b=_0x1abcf0,_0x513b4e=this[_0x2bbe4b(0x1bd)][_0x2bbe4b(0x191)]();for(let _0x48d6c5=_0x513b4e[_0x2bbe4b(0x1d9)]-0x1;_0x48d6c5>=0x0;_0x48d6c5--){const _0x2bfa99=_0x513b4e[_0x48d6c5];if(!this[_0x2bbe4b(0x1c3)][_0x2bbe4b(0x184)](_0x2bfa99))return _0x2bfa99[_0x2bbe4b(0x1f4)]+0x1-this[_0x2bbe4b(0x149)];}return 0x0;}constructor(_0x254519){const _0x1b1246=_0x1abcf0;if(super(_0x254519),this[_0x1b1246(0x149)]=0x0,this[_0x1b1246(0x174)]=null,this[_0x1b1246(0x1bd)]=new _0xcd4449(),this[_0x1b1246(0x20d)][_0x1b1246(0x143)][_0x1b1246(0x196)](_0x1b1246(0x1fc),{}),this[_0x1b1246(0x16d)]=this[_0x1b1246(0x20d)][_0x1b1246(0x143)][_0x1b1246(0x203)](_0x1b1246(0x175)),!this[_0x1b1246(0x16d)])throw new _0x33e7b1(_0x1b1246(0x13f),this);const _0x54a751=_0x254519[_0x1b1246(0x143)][_0x1b1246(0x203)](_0x1b1246(0x1c8))||_0x2c53cf;this[_0x1b1246(0x119)]=new l[(_0x1b1246(0x155))](_0x54a751,this[_0x1b1246(0x16d)]),this[_0x1b1246(0x1e0)]=this[_0x1b1246(0x20d)][_0x1b1246(0x199)][_0x1b1246(0x197)],this[_0x1b1246(0x19e)]=new _0x838233(),this[_0x1b1246(0x1bc)]=[],this[_0x1b1246(0x14a)]=new WeakSet(),this[_0x1b1246(0x130)]=new Set(),this[_0x1b1246(0x13b)](_0x1b1246(0x1de),!0x1),this[_0x1b1246(0x13b)](_0x1b1246(0x123),!0x1),this[_0x1b1246(0x20f)]=null,this[_0x1b1246(0x1f6)]=!0x1,this[_0x1b1246(0x122)]=null,this[_0x1b1246(0x19b)]=0x12c,this[_0x1b1246(0x156)]=this[_0x1b1246(0x19b)],this[_0x1b1246(0x1e6)]=null,this[_0x1b1246(0x1c3)]=new WeakSet(),this[_0x1b1246(0x1ba)]=new X(this[_0x1b1246(0x1c3)]);}[_0x1abcf0(0x178)](){const _0x41c768=_0x1abcf0,_0x2095ef=this[_0x41c768(0x20d)],_0x41cf84=_0x2095ef[_0x41c768(0x14c)][_0x41c768(0x203)](_0xf32c4a),_0x62e85b=_0x2095ef[_0x41c768(0x14c)][_0x41c768(0x203)](_0xa2d1b7);this[_0x41c768(0x1c0)](_0x41cf84,_0x41c768(0x17c),(_0xa572ac,_0x247f5a)=>{const _0x15b1b4=_0x41c768,_0x396dab=_0x247f5a[0x0];_0x396dab[_0x15b1b4(0x15f)]&&(_0xa572ac[_0x15b1b4(0x1b7)]=_0x41cf84[_0x15b1b4(0x1a7)](_0x396dab[_0x15b1b4(0x15f)]),_0xa572ac[_0x15b1b4(0x129)]()),null===_0x396dab[_0x15b1b4(0x15f)]&&(_0xa572ac[_0x15b1b4(0x1b7)]=null,_0xa572ac[_0x15b1b4(0x129)]());},{'priority':_0x41c768(0x1fa)}),this[_0x41c768(0x1c0)](_0x2095ef[_0x41c768(0x199)][_0x41c768(0x197)][_0x41c768(0x1a6)],_0x41c768(0x112),(_0xe75957,_0x37bd2d)=>{const _0x139d4a=_0x41c768;_0x37bd2d[_0x139d4a(0x157)]&&this[_0x139d4a(0x148)]();}),this[_0x41c768(0x1c0)](_0x2095ef[_0x41c768(0x153)][_0x41c768(0x16a)],_0x41c768(0x14b),()=>{const _0x248ff2=_0x41c768;this[_0x248ff2(0x148)]();}),this[_0x41c768(0x17b)](),_0x2095ef[_0x41c768(0x199)]['on'](_0x41c768(0x116),(_0x5487bd,_0xac7258)=>{const _0xc41a9=_0x41c768,_0x23f0c9=_0xac7258[0x0];_0x23f0c9[_0xc41a9(0x1a1)]&&(this[_0xc41a9(0x1b1)](_0x23f0c9),this[_0xc41a9(0x1cc)]()&&this[_0xc41a9(0x1e5)]());}),this[_0x41c768(0x1e2)](),this[_0x41c768(0x113)](_0x41c768(0x159))['to'](_0x62e85b,_0x41c768(0x1ec),this,_0x41c768(0x123),(_0x3f02f4,_0x3c1d46)=>_0x41c768(0x20e)===_0x3f02f4&&!_0x3c1d46),this['on'](_0x41c768(0x1cf),()=>{const _0x2ff378=_0x41c768;this[_0x2ff378(0x159)]?_0x2095ef[_0x2ff378(0x127)](_0x2ff378(0x192)):_0x2095ef[_0x2ff378(0x20c)](_0x2ff378(0x192));}),this[_0x41c768(0x159)]?_0x2095ef[_0x41c768(0x127)](_0x41c768(0x192)):_0x2095ef[_0x41c768(0x20c)](_0x41c768(0x192)),this[_0x41c768(0x13b)](_0x41c768(0x209),!0x1);}async[_0x1abcf0(0x1aa)](){const _0x2e332d=_0x1abcf0,_0x5ec163=this[_0x2e332d(0x20d)][_0x2e332d(0x14c)][_0x2e332d(0x203)](_0x420edb),_0x3d56d2=this[_0x2e332d(0x20d)][_0x2e332d(0x14c)][_0x2e332d(0x203)](_0xa2d1b7);try{this[_0x2e332d(0x1de)]=!0x0,_0x5ec163[_0x2e332d(0x117)](this[_0x2e332d(0x16d)]);const _0x166be1=await this[_0x2e332d(0x119)][_0x2e332d(0x1aa)](_0x3d56d2[_0x2e332d(0x201)],this[_0x2e332d(0x17f)]);await this[_0x2e332d(0x134)](_0x166be1)&&(this[_0x2e332d(0x1de)]=!0x1,this[_0x2e332d(0x12b)]());const _0x1d85ed=await this[_0x2e332d(0x119)][_0x2e332d(0x11b)]();_0x5ec163[_0x2e332d(0x19f)](this[_0x2e332d(0x16d)],_0x1d85ed),this[_0x2e332d(0x16e)](),this[_0x2e332d(0x209)]=!0x0;}catch(_0x2b2c27){if(function(_0x1ec794){const _0x31bfd4=_0x2e332d;return _0x31bfd4(0x1ca)===_0x1ec794[_0x31bfd4(0x19a)];}(_0x2b2c27)&&this[_0x2e332d(0x174)])await this[_0x2e332d(0x151)]();else{if(function(_0xbee314){const _0x441e8f=_0x2e332d;return _0x441e8f(0x1c9)===_0xbee314[_0x441e8f(0x19a)];}(_0x2b2c27)){const _0x4b75cc=_0x34d6b7(this[_0x2e332d(0x20d)][_0x2e332d(0x1d2)],_0x2e332d(0x1bb));this[_0x2e332d(0x194)](_0x4b75cc);}else{if(!(_0x2b2c27 instanceof J))throw _0x2b2c27;this[_0x2e332d(0x194)]();}}}}[_0x1abcf0(0x111)](){const _0x2a6fae=_0x1abcf0,_0x314610=this[_0x2a6fae(0x20d)][_0x2a6fae(0x14c)][_0x2a6fae(0x203)](_0xa2d1b7),_0x17d11c=this[_0x2a6fae(0x20d)][_0x2a6fae(0x14c)][_0x2a6fae(0x203)](_0x420edb);this[_0x2a6fae(0x20d)][_0x2a6fae(0x20c)](_0x2a6fae(0x1ad)),_0x17d11c[_0x2a6fae(0x1a0)][_0x2a6fae(0x184)](this[_0x2a6fae(0x16d)])&&_0x17d11c[_0x2a6fae(0x117)](this[_0x2a6fae(0x16d)]),_0x314610[_0x2a6fae(0x19d)](this),this[_0x2a6fae(0x210)](),super[_0x2a6fae(0x111)]();}async[_0x1abcf0(0x134)](_0x77abfd){const _0x48395c=_0x1abcf0;if(this[_0x48395c(0x174)]!==_0x77abfd[_0x48395c(0x174)]&&this[_0x48395c(0x1e6)]!==_0x77abfd[_0x48395c(0x1d7)])throw new J();return this[_0x48395c(0x174)]=_0x77abfd[_0x48395c(0x174)],this[_0x48395c(0x195)]([],{..._0x77abfd,'wereChangesApplied':!0x1,'data':_0x77abfd[_0x48395c(0x1ea)]},_0x48395c(0x1aa));}async[_0x1abcf0(0x14f)](_0x3e0248,_0x4ecad4=!0x1){const _0x41ae9d=_0x1abcf0,{connection:_0x293ee1}=this[_0x41ae9d(0x20d)][_0x41ae9d(0x14c)][_0x41ae9d(0x203)](_0xa2d1b7);l[_0x41ae9d(0x155)][_0x41ae9d(0x11b)](_0x293ee1,this[_0x41ae9d(0x16d)])[_0x41ae9d(0x208)](_0x2f6af2=>this[_0x41ae9d(0x1a8)](_0x2f6af2))[_0x41ae9d(0x166)](_0x2ae8bb=>{const _0x44b176=_0x41ae9d;this[_0x44b176(0x15a)](_0x44b176(0x179),_0x2ae8bb);}),this[_0x41ae9d(0x1c0)](this[_0x41ae9d(0x119)],_0x41ae9d(0x15d),this[_0x41ae9d(0x1b3)][_0x41ae9d(0x113)](this)),this[_0x41ae9d(0x1c0)](this[_0x41ae9d(0x119)],_0x41ae9d(0x205),(_0x29ac24,_0x3aea01)=>{const _0x344f2a=_0x41ae9d;this[_0x344f2a(0x15a)](_0x344f2a(0x188),_0x3aea01);}),this[_0x41ae9d(0x1c0)](this[_0x41ae9d(0x119)],_0x41ae9d(0x18c),()=>{const _0x54e270=_0x41ae9d;this[_0x54e270(0x209)]=!0x1;});const _0x3ae38f=this[_0x41ae9d(0x1ba)][_0x41ae9d(0x12f)](_0x3e0248);this[_0x41ae9d(0x1de)]=!0x0;const _0x312582=await this[_0x41ae9d(0x119)][_0x41ae9d(0x187)](_0x293ee1,this[_0x41ae9d(0x176)](_0x3e0248),_0x3ae38f);if(this[_0x41ae9d(0x174)]=_0x312582[_0x41ae9d(0x174)],_0x4ecad4){if(!_0x312582[_0x41ae9d(0x11c)])return void this[_0x41ae9d(0x194)]();this[_0x41ae9d(0x1de)]=!0x1,this[_0x41ae9d(0x12b)](),this[_0x41ae9d(0x1bd)][_0x41ae9d(0x140)](),this[_0x41ae9d(0x149)]=_0x312582[_0x41ae9d(0x1fe)],this[_0x41ae9d(0x1bd)][_0x41ae9d(0x1cd)]=this[_0x41ae9d(0x149)],await this[_0x41ae9d(0x195)](_0x3e0248,_0x312582,_0x41ae9d(0x1f2));}else await this[_0x41ae9d(0x147)](_0x312582,_0x3e0248);this[_0x41ae9d(0x16e)](),this[_0x41ae9d(0x209)]=!0x0;}[_0x1abcf0(0x16e)](){const _0x32a6ef=_0x1abcf0,_0x284e52=this[_0x32a6ef(0x20d)][_0x32a6ef(0x14c)][_0x32a6ef(0x203)](_0x420edb),_0x25b322=this[_0x32a6ef(0x20d)][_0x32a6ef(0x14c)][_0x32a6ef(0x203)](_0x1d8259),_0x1abb1b=_0x284e52[_0x32a6ef(0x1a0)][_0x32a6ef(0x203)](this[_0x32a6ef(0x16d)]);_0x1abb1b&&_0x1abb1b[_0x32a6ef(0x1d9)]>0x1?_0x25b322[_0x32a6ef(0x1a2)]():this[_0x32a6ef(0x1c0)](_0x284e52,_0x32a6ef(0x115)+this[_0x32a6ef(0x16d)],()=>{const _0x5a6d62=_0x32a6ef;0x2===_0x284e52[_0x5a6d62(0x1a0)][_0x5a6d62(0x203)](this[_0x5a6d62(0x16d)])[_0x5a6d62(0x1d9)]&&_0x25b322[_0x5a6d62(0x1a2)]();});}async[_0x1abcf0(0x1b3)](_0x516b47,_0x57a4ad,_0x5ebe26,_0x42c996){const _0x2b2edf=_0x1abcf0;if(!this[_0x2b2edf(0x1de)]&&this[_0x2b2edf(0x1e0)][_0x2b2edf(0x1cd)]==_0x57a4ad){const _0x1f457b=this[_0x2b2edf(0x186)](_0x5ebe26,_0x42c996);await this[_0x2b2edf(0x16b)](_0x1f457b),this[_0x2b2edf(0x182)](_0x1f457b,_0x57a4ad,_0x5ebe26[_0x2b2edf(0x1d7)])||this[_0x2b2edf(0x15a)](_0x2b2edf(0x1af));}}async[_0x1abcf0(0x151)](){const _0x2881d5=_0x1abcf0;this[_0x2881d5(0x210)]();const {locale:_0x122130}=this[_0x2881d5(0x20d)];let _0x566dd6;try{_0x566dd6=await this[_0x2881d5(0x119)][_0x2881d5(0x1a5)]();}catch(_0x15f2b2){const _0x23fe54=_0x34d6b7(_0x122130,_0x2881d5(0x1eb));return void this[_0x2881d5(0x194)](_0x23fe54);}const _0x1a4ae3=_0x566dd6[_0x2881d5(0x12c)]||_0x566dd6[_0x2881d5(0x1ef)];if(this[_0x2881d5(0x1e6)]===_0x1a4ae3[_0x2881d5(0x1d7)])await this[_0x2881d5(0x14f)](this[_0x2881d5(0x20d)][_0x2881d5(0x199)][_0x2881d5(0x197)][_0x2881d5(0x1d0)][_0x2881d5(0x191)](),!0x0);else{const _0x2bd7a7=_0x34d6b7(_0x122130,_0x2881d5(0x173));this[_0x2881d5(0x194)](_0x2bd7a7);}}[_0x1abcf0(0x210)](){const _0x5d0b94=_0x1abcf0;this[_0x5d0b94(0x119)][_0x5d0b94(0x1e9)](),this[_0x5d0b94(0x1bc)]=[],clearTimeout(this[_0x5d0b94(0x122)]),this[_0x5d0b94(0x15b)](this[_0x5d0b94(0x119)]);}[_0x1abcf0(0x1a8)](_0x456906){const _0x109274=_0x1abcf0,_0x3ae011=this[_0x109274(0x20d)][_0x109274(0x14c)][_0x109274(0x203)](_0x420edb);this[_0x109274(0x1c0)](_0x3ae011,_0x109274(0x115)+this[_0x109274(0x16d)],(_0x38e2ff,{session:_0x25c551})=>{const _0x1e555e=_0x109274;if(_0x25c551['id']===_0x3ae011[_0x1e555e(0x12e)]){_0x38e2ff[_0x1e555e(0x1f7)]();const _0x2a5b84=this[_0x1e555e(0x20d)][_0x1e555e(0x14c)][_0x1e555e(0x184)](_0x1e555e(0x1f5))&&this[_0x1e555e(0x20d)][_0x1e555e(0x14c)][_0x1e555e(0x203)](_0x1e555e(0x1f5));let _0x521431=_0x25c551[_0x1e555e(0x141)];_0x2a5b84&&_0x2a5b84[_0x1e555e(0x1df)]&&(_0x521431=_0x521431[_0x1e555e(0x1c5)](_0x1b3f80=>_0x1e555e(0x206)!==_0x1b3f80)),this[_0x1e555e(0x20d)][_0x1e555e(0x14c)][_0x1e555e(0x203)](_0x1e555e(0x16f))[_0x1e555e(0x1d5)](_0x521431,this[_0x1e555e(0x16d)]);}}),_0x3ae011[_0x109274(0x19f)](this[_0x109274(0x16d)],_0x456906);}[_0x1abcf0(0x17b)](){const _0x5e690e=_0x1abcf0,_0x516e7e=this[_0x5e690e(0x20d)][_0x5e690e(0x1ea)][_0x5e690e(0x13b)];this[_0x5e690e(0x20d)][_0x5e690e(0x1ea)][_0x5e690e(0x13b)]=(..._0x1aa116)=>{const _0x14d65d=_0x5e690e;if(!_0x1aa116[_0x1aa116[_0x14d65d(0x1d9)]-0x1][_0x14d65d(0x1c6)])throw new _0x33e7b1(_0x14d65d(0x169),this);_0x516e7e[_0x14d65d(0x11e)](this[_0x14d65d(0x20d)][_0x14d65d(0x1ea)],_0x1aa116);};}[_0x1abcf0(0x1e2)](){const _0xfce262=_0x1abcf0;this[_0xfce262(0x20d)][_0xfce262(0x1ea)]['on'](_0xfce262(0x178),(_0x30fbd8,[_0x46a0ac])=>{const _0x3864f6=_0xfce262;if(this[_0x3864f6(0x1e0)][_0x3864f6(0x1cd)])throw new _0x33e7b1(_0x3864f6(0x136),this);_0x30fbd8[_0x3864f6(0x129)](),this[_0x3864f6(0x1dc)]();const _0x185916=this[_0x3864f6(0x20d)][_0x3864f6(0x143)][_0x3864f6(0x203)](_0x3864f6(0x189)),_0x3ca337=this[_0x3864f6(0x171)](_0x46a0ac,_0x185916);0x0==_0x3ca337[_0x3864f6(0x1d9)]&&_0x3ca337[_0x3864f6(0x1fb)](new _0x29f9c5(0x0)),_0x30fbd8[_0x3864f6(0x1b7)]=this[_0x3864f6(0x14f)](_0x3ca337)[_0x3864f6(0x208)](()=>{const _0x4a6e38=_0x3864f6;this[_0x4a6e38(0x20d)][_0x4a6e38(0x14c)][_0x4a6e38(0x203)](_0xa2d1b7)[_0x4a6e38(0x1f9)](this),this[_0x4a6e38(0x20d)][_0x4a6e38(0x1ea)][_0x4a6e38(0x1da)](_0x4a6e38(0x1d4));})[_0x3864f6(0x166)](_0x367165=>this[_0x3864f6(0x15a)](_0x3864f6(0x1be),_0x367165))[_0x3864f6(0x1c2)](()=>this[_0x3864f6(0x12b)]());},{'priority':_0xfce262(0x1fa)}),this[_0xfce262(0x20d)]['on'](_0xfce262(0x198),async(_0x31c378,[_0x19f9d3,_0x485c0e])=>{const _0x141087=_0xfce262;_0x31c378[_0x141087(0x129)]();const _0x5a15fb=this[_0x141087(0x20d)][_0x141087(0x199)][_0x141087(0x197)][_0x141087(0x19c)](_0x19f9d3);if(!this[_0x141087(0x130)][_0x141087(0x184)](_0x19f9d3)){const _0x17f522=_0x485c0e&&_0x485c0e[_0x141087(0x1ea)]?_0x485c0e[_0x141087(0x1ea)]:'',_0x190d21=_0x485c0e&&_0x485c0e[_0x141087(0x1fd)]?_0x485c0e[_0x141087(0x1fd)]:{};await this[_0x141087(0x180)](_0x19f9d3,_0x17f522,_0x190d21);}this[_0x141087(0x20d)][_0x141087(0x199)][_0x141087(0x20a)]({'isUndoable':!0x1},()=>{const _0xce58e9=_0x141087;_0x5a15fb[_0xce58e9(0x142)]=!0x0,this[_0xce58e9(0x20d)][_0xce58e9(0x199)][_0xce58e9(0x197)][_0xce58e9(0x18b)][_0xce58e9(0x1d3)](_0x5a15fb);});},{'priority':_0xfce262(0x1fa)});}async[_0x1abcf0(0x16b)](_0xe56004){const _0x5c9e76=_0x1abcf0,_0x224ba2=this[_0x5c9e76(0x20d)][_0x5c9e76(0x14c)][_0x5c9e76(0x203)](_0xf32c4a),{connection:_0x516aa9}=this[_0x5c9e76(0x20d)][_0x5c9e76(0x14c)][_0x5c9e76(0x203)](_0xa2d1b7),_0x254110=new Set();for(const _0x4b3942 of _0xe56004){const _0x4b650e=_0x4b3942[_0x5c9e76(0x15f)];_0x4b650e&&!_0x224ba2[_0x5c9e76(0x1a7)](_0x4b650e)&&_0x254110[_0x5c9e76(0x207)](_0x4b650e);}if(0x0===_0x254110[_0x5c9e76(0x146)])return;const _0x4236cb=await _0x47663e[_0x5c9e76(0x164)](_0x516aa9,Array[_0x5c9e76(0x167)](_0x254110));for(const _0x1c13ce of _0x4236cb)_0x224ba2[_0x5c9e76(0x1a7)](_0x1c13ce['id'])||_0x224ba2[_0x5c9e76(0x18d)](_0x1c13ce);}[_0x1abcf0(0x171)](_0x442e1a,_0x2d95b9={}){const _0x32f0ad=_0x1abcf0,_0xafe997=this[_0x32f0ad(0x20d)][_0x32f0ad(0x199)],_0x59b1b9=[];let _0x3cc6d5=0x0;const _0x31c1ff=_0x32f0ad(0x1bf)==typeof _0x442e1a?{'main':_0x442e1a}:_0x442e1a;for(const _0x58a40a of Object[_0x32f0ad(0x154)](_0x31c1ff)){if(!this[_0x32f0ad(0x1e0)][_0x32f0ad(0x12d)][_0x32f0ad(0x184)](_0x58a40a))throw new _0x33e7b1(_0x32f0ad(0x1cb),this);const _0x485a90=this[_0x32f0ad(0x20d)][_0x32f0ad(0x1ea)][_0x32f0ad(0x126)](_0x31c1ff[_0x58a40a]),_0x43198a=this[_0x32f0ad(0x1e0)][_0x32f0ad(0x19c)](_0x58a40a),_0x2241d2=new _0xdc763c(_0xafe997[_0x32f0ad(0x1b6)](_0x43198a,0x0),_0x485a90,_0x3cc6d5++);_0x59b1b9[_0x32f0ad(0x1fb)](_0x2241d2);for(const [_0x2bfbf1,_0x52a451]of _0x485a90[_0x32f0ad(0x133)]){const _0x3630c6=_0xafe997[_0x32f0ad(0x1f8)](_0xafe997[_0x32f0ad(0x20b)](_0x43198a,_0x52a451[_0x32f0ad(0x1f1)][_0x32f0ad(0x11d)][_0x32f0ad(0x1b0)]()),_0xafe997[_0x32f0ad(0x20b)](_0x43198a,_0x52a451[_0x32f0ad(0x1a9)][_0x32f0ad(0x11d)][_0x32f0ad(0x1b0)]())),_0x41fbfa=new _0x491066(_0x2bfbf1,null,_0x3630c6,_0xafe997[_0x32f0ad(0x133)],!0x0,_0x3cc6d5++);_0x59b1b9[_0x32f0ad(0x1fb)](_0x41fbfa);}}if(_0x2d95b9)for(const [_0x2ce01a,_0x4d6303]of Object[_0x32f0ad(0x1e7)](_0x2d95b9)){const _0x239827=_0xafe997[_0x32f0ad(0x197)][_0x32f0ad(0x19c)](_0x2ce01a);if(!_0x239827)throw new _0x33e7b1(_0x32f0ad(0x14e),null);for(const [_0x4ea23a,_0x449b00]of Object[_0x32f0ad(0x1e7)](_0x4d6303))if(null!==_0x449b00){const _0x2f13b1=new _0x10b864(_0x239827,_0x4ea23a,null,_0x449b00,_0x3cc6d5++);_0x59b1b9[_0x32f0ad(0x1fb)](_0x2f13b1);}}return _0x59b1b9;}async[_0x1abcf0(0x180)](_0xe27451,_0x18c157,_0x34161e){const _0x117a79=_0x1abcf0;this[_0x117a79(0x171)]({[_0xe27451]:_0x18c157},{[_0xe27451]:_0x34161e})[_0x117a79(0x1ab)]((_0x4c1376,_0x763709)=>{const _0x51193b=_0x117a79;_0x4c1376[_0x51193b(0x1f4)]=this[_0x51193b(0x1e0)][_0x51193b(0x1cd)]+_0x763709,_0x4c1376[_0x51193b(0x125)]=!0x0,this[_0x51193b(0x1b1)](_0x4c1376);}),this[_0x117a79(0x1e5)](),await this[_0x117a79(0x200)]();}async[_0x1abcf0(0x147)](_0x401953,_0x17d8b2){const _0x5f41e3=_0x1abcf0;let _0x5e13ca;this[_0x5f41e3(0x149)]=_0x401953[_0x5f41e3(0x1fe)];const _0xeda9db=_0x401953[_0x5f41e3(0x11c)]&&!_0x401953[_0x5f41e3(0x1b5)],_0x41a777=_0xeda9db?0x0:_0x401953[_0x5f41e3(0x1ea)][_0x5f41e3(0x1f4)];if(_0x17d8b2[_0x5f41e3(0x1ab)](_0x4dfeca=>{const _0x56bb5f=_0x5f41e3;_0x4dfeca[_0x56bb5f(0x125)]=!0x0,_0x4dfeca[_0x56bb5f(0x1ae)]=_0x401953[_0x56bb5f(0x139)],_0x4dfeca[_0x56bb5f(0x15f)]=null;}),_0xeda9db)_0x5e13ca=_0x17d8b2,this[_0x5f41e3(0x13d)](_0x5e13ca,_0xeda9db);else{if(_0x401953[_0x5f41e3(0x1b5)]){const _0x58c0b5=this[_0x5f41e3(0x171)](_0x401953[_0x5f41e3(0x1b5)]);this[_0x5f41e3(0x1e0)][_0x5f41e3(0x1d0)][_0x5f41e3(0x1cd)]=-_0x58c0b5[_0x5f41e3(0x1d9)],_0x58c0b5[_0x5f41e3(0x1ab)](_0x4d6d8f=>{const _0x392435=_0x5f41e3;_0x4d6d8f[_0x392435(0x1f4)]-=_0x58c0b5[_0x392435(0x1d9)],_0x4d6d8f[_0x392435(0x1ae)]=_0x401953[_0x392435(0x139)],_0x4d6d8f[_0x392435(0x125)]=!0x0,_0x4d6d8f[_0x392435(0x15f)]=null;}),this[_0x5f41e3(0x13d)](_0x58c0b5,!0x0),this[_0x5f41e3(0x1bd)][_0x5f41e3(0x1cd)]=-_0x58c0b5[_0x5f41e3(0x1d9)]+this[_0x5f41e3(0x149)],this[_0x5f41e3(0x1ff)](_0x58c0b5);}this[_0x5f41e3(0x1e0)][_0x5f41e3(0x1d0)][_0x5f41e3(0x1cd)]=_0x41a777,_0x5e13ca=this[_0x5f41e3(0x186)](_0x401953[_0x5f41e3(0x1ea)],_0x401953[_0x5f41e3(0x161)]),await this[_0x5f41e3(0x16b)](_0x5e13ca),this[_0x5f41e3(0x13d)](_0x5e13ca,_0xeda9db);}_0x401953[_0x5f41e3(0x1d7)]&&(this[_0x5f41e3(0x1ba)][_0x5f41e3(0x168)](_0x5e13ca,_0x401953[_0x5f41e3(0x1d7)]),this[_0x5f41e3(0x1e6)]=_0x401953[_0x5f41e3(0x1d7)]),this[_0x5f41e3(0x1bd)][_0x5f41e3(0x1cd)]=_0x41a777+this[_0x5f41e3(0x149)],this[_0x5f41e3(0x1ff)](_0x5e13ca),_0x17d8b2[_0x5f41e3(0x1c5)](_0xdcbf8a=>{const _0x393a58=_0x5f41e3,_0x311bf9=this[_0x393a58(0x1ce)](_0xdcbf8a);return _0x311bf9&&!this[_0x393a58(0x130)][_0x393a58(0x184)](_0x311bf9);})[_0x5f41e3(0x1ab)]((_0xc3b470,_0x212d24)=>{const _0x362eeb=_0x5f41e3;_0xc3b470[_0x362eeb(0x1f4)]=this[_0x362eeb(0x1e0)][_0x362eeb(0x1cd)]+_0x212d24,this[_0x362eeb(0x1b1)](_0xc3b470);}),this[_0x5f41e3(0x1cc)]()?(this[_0x5f41e3(0x156)]=0x0,this[_0x5f41e3(0x1e5)](!0x0),await this[_0x5f41e3(0x200)]()):(this[_0x5f41e3(0x1de)]=!0x1,this[_0x5f41e3(0x12b)]());}[_0x1abcf0(0x15a)](_0x1c59c4,_0x4ae812){const _0x58aad3=_0x1abcf0;throw this[_0x58aad3(0x1de)]=!0x0,_0x4ae812&&console[_0x58aad3(0x205)](_0x4ae812),new _0x33e7b1(_0x1c59c4,this[_0x58aad3(0x20d)]);}[_0x1abcf0(0x1b1)](_0x1c06b7){const _0x1cbbbf=_0x1abcf0;this[_0x1cbbbf(0x14a)][_0x1cbbbf(0x184)](_0x1c06b7)||(this[_0x1cbbbf(0x14a)][_0x1cbbbf(0x207)](_0x1c06b7),this[_0x1cbbbf(0x1bc)][_0x1cbbbf(0x1fb)](_0x1c06b7),this[_0x1cbbbf(0x20f)]||_0x1cbbbf(0x128)==_0x1c06b7[_0x1cbbbf(0x14d)]&&!_0x1c06b7[_0x1cbbbf(0x12a)]||this[_0x1cbbbf(0x1dc)]());}[_0x1abcf0(0x1e5)](_0x540bf9=!0x1){const _0x29807a=_0x1abcf0;!_0x540bf9&&this[_0x29807a(0x1de)]||(this[_0x29807a(0x1de)]=!0x0,clearTimeout(this[_0x29807a(0x122)]),this[_0x29807a(0x122)]=setTimeout(()=>{const _0x4c86f2=_0x29807a;this[_0x4c86f2(0x15c)]()[_0x4c86f2(0x208)](_0xaaf1f6=>{const _0x118b67=_0x4c86f2;_0xaaf1f6&&(this[_0x118b67(0x12b)](),this[_0x118b67(0x1de)]=!0x1);})[_0x4c86f2(0x166)](_0x27a160=>{const _0x90c1e5=_0x4c86f2;if(this[_0x90c1e5(0x12b)](),this[_0x90c1e5(0x1de)]=!0x1,!function(_0x2d2bd9){const _0x132a04=_0x90c1e5;return _0x2d2bd9[_0x132a04(0x13a)][_0x132a04(0x163)](_0x132a04(0x132))||_0x2d2bd9[_0x132a04(0x13a)][_0x132a04(0x163)](_0x132a04(0x1ee))||_0x2d2bd9[_0x132a04(0x13a)][_0x132a04(0x163)](_0x132a04(0x18f));}(_0x27a160))throw _0x27a160;});},this[_0x29807a(0x156)]));}[_0x1abcf0(0x200)](){return new Promise(_0x385b12=>{const _0x14499e=_0x436a;this['on'](_0x14499e(0x190),()=>{_0x385b12();});});}async[_0x1abcf0(0x15c)](){const _0x506e5d=_0x1abcf0,_0x5d39c1=this[_0x506e5d(0x20d)][_0x506e5d(0x14c)][_0x506e5d(0x203)](_0x1d8259);if(this[_0x506e5d(0x118)]()&&(_0x5d39c1[_0x506e5d(0x1a2)](),this[_0x506e5d(0x1f6)]=!0x1),!this[_0x506e5d(0x1cc)]())return!0x0;const _0x5887df=[...this[_0x506e5d(0x1bc)]];for(const _0x4cc7bc of _0x5887df)_0x4cc7bc[_0x506e5d(0x177)]=this[_0x506e5d(0x1e0)][_0x506e5d(0x1d0)][_0x506e5d(0x131)](_0x4cc7bc);const _0x31642b=this[_0x506e5d(0x1ba)][_0x506e5d(0x12f)](_0x5887df),_0x32f8b5=K++,_0x1e3865=this[_0x506e5d(0x176)](_0x5887df),_0x2667ba=await this[_0x506e5d(0x119)][_0x506e5d(0x17d)](_0x1e3865,_0x1e3865[_0x506e5d(0x1f4)],_0x31642b);try{return await this[_0x506e5d(0x195)](_0x5887df,_0x2667ba,_0x32f8b5);}catch(_0x58b878){return this[_0x506e5d(0x15a)](_0x506e5d(0x165),_0x58b878);}}async[_0x1abcf0(0x195)](_0x1dde4e,_0x4a9fd1,_0x543d4f){const _0xfb0e9a=_0x1abcf0;if(_0xfb0e9a(0x205)in _0x4a9fd1)throw _0x4a9fd1[_0xfb0e9a(0x205)];let _0x136437=!0x1;if(_0x4a9fd1[_0xfb0e9a(0x11c)]){_0x4a9fd1[_0xfb0e9a(0x1d7)]&&(this[_0xfb0e9a(0x1e6)]=_0x4a9fd1[_0xfb0e9a(0x1d7)]),this[_0xfb0e9a(0x1bc)]=this[_0xfb0e9a(0x1bc)][_0xfb0e9a(0x1c5)](_0x1de639=>!_0x1dde4e[_0xfb0e9a(0x1b2)](_0x1de639));for(const _0x5ee2e6 of _0x1dde4e)_0x5ee2e6[_0xfb0e9a(0x1ae)]=_0xfb0e9a(0x152)in _0x4a9fd1&&_0x4a9fd1[_0xfb0e9a(0x152)]||void 0x0;Q(_0x1dde4e,_0x4a9fd1[_0xfb0e9a(0x1cd)]-_0x1dde4e[_0xfb0e9a(0x1d9)]),this[_0xfb0e9a(0x1ff)](_0x1dde4e);const _0x498e4f=_0x1dde4e[_0xfb0e9a(0x1c5)](_0x47ba9f=>{const _0x501a6b=_0xfb0e9a;if(!_0x47ba9f[_0x501a6b(0x125)])return!0x1;const _0xedcda3=this[_0x501a6b(0x1ce)](_0x47ba9f);return _0xedcda3&&!this[_0x501a6b(0x130)][_0x501a6b(0x184)](_0xedcda3);});Q(_0x498e4f,this[_0xfb0e9a(0x1e0)][_0xfb0e9a(0x1cd)]),this[_0xfb0e9a(0x13d)](_0x498e4f),_0x136437=!0x0,this[_0xfb0e9a(0x156)]=this[_0xfb0e9a(0x19b)];}else{const _0x2a6e9e=this[_0xfb0e9a(0x186)](_0x4a9fd1[_0xfb0e9a(0x1ea)],_0x4a9fd1[_0xfb0e9a(0x161)])[_0xfb0e9a(0x1c5)](_0x1d090d=>_0x1d090d[_0xfb0e9a(0x1f4)]>=this[_0xfb0e9a(0x1dd)]);_0x2a6e9e[_0xfb0e9a(0x1ab)](_0x3bb900=>this[_0xfb0e9a(0x185)](_0x3bb900)),this[_0xfb0e9a(0x1bc)]=this[_0xfb0e9a(0x1bc)][_0xfb0e9a(0x1c5)](_0x52956a=>!_0x52956a[_0xfb0e9a(0x125)]||!this[_0xfb0e9a(0x130)][_0xfb0e9a(0x184)](this[_0xfb0e9a(0x1ce)](_0x52956a))),this[_0xfb0e9a(0x1bc)][_0xfb0e9a(0x1d9)]&&Q(this[_0xfb0e9a(0x1bc)],this[_0xfb0e9a(0x1bc)][0x0][_0xfb0e9a(0x1f4)]),await this[_0xfb0e9a(0x16b)](_0x2a6e9e),_0x136437=this[_0xfb0e9a(0x182)](_0x2a6e9e,_0x4a9fd1[_0xfb0e9a(0x1cd)],_0x4a9fd1[_0xfb0e9a(0x1d7)]),this[_0xfb0e9a(0x156)]=Math[_0xfb0e9a(0x15e)](this[_0xfb0e9a(0x156)]/0x2);}return _0x136437?!this[_0xfb0e9a(0x1cc)]()||(this[_0xfb0e9a(0x1e5)](!0x0),!0x1):this[_0xfb0e9a(0x15a)](_0xfb0e9a(0x1ac));}[_0x1abcf0(0x182)](_0x1eb1ac,_0x57489e,_0x129e87){const _0x1dc2d2=_0x1abcf0;try{const _0xc136bd={'document':this[_0x1dc2d2(0x1e0)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x384f96,operationsB:_0x3ca58b,originalOperations:_0x21655c}=_0x56f52d(_0x1eb1ac,this[_0x1dc2d2(0x1bc)],_0xc136bd);Q(_0x384f96,this[_0x1dc2d2(0x1e0)][_0x1dc2d2(0x1cd)]),Q(_0x3ca58b,_0x57489e);for(const _0x36d023 of _0x384f96){const _0x349670=_0x21655c[_0x1dc2d2(0x203)](_0x36d023);_0x36d023[_0x1dc2d2(0x15f)]=_0x349670?_0x349670[_0x1dc2d2(0x15f)]:null;}_0x129e87&&(this[_0x1dc2d2(0x1ba)][_0x1dc2d2(0x168)](_0x1eb1ac,_0x129e87),this[_0x1dc2d2(0x1e6)]=_0x129e87),this[_0x1dc2d2(0x1bc)]=[..._0x3ca58b],this[_0x1dc2d2(0x13d)](_0x384f96),this[_0x1dc2d2(0x1ff)](_0x1eb1ac);}catch(_0x4980ec){return console[_0x1dc2d2(0x205)](_0x4980ec),!0x1;}return!0x0;}[_0x1abcf0(0x13d)](_0xa09ad,_0x2508a=!0x1){const _0x18cc9b=_0x1abcf0;this[_0x18cc9b(0x20d)][_0x18cc9b(0x199)][_0x18cc9b(0x20a)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3e83c8=>{const _0x2b6f97=_0x18cc9b;for(const _0x56427f of _0xa09ad)this[_0x2b6f97(0x14a)][_0x2b6f97(0x207)](_0x56427f),this[_0x2b6f97(0x185)](_0x56427f),_0x3e83c8[_0x2b6f97(0x1c7)][_0x2b6f97(0x18e)](_0x56427f),this[_0x2b6f97(0x20d)][_0x2b6f97(0x199)][_0x2b6f97(0x116)](_0x56427f);});}[_0x1abcf0(0x185)](_0x44d2f7){const _0x5ad040=_0x1abcf0,_0x178816=this[_0x5ad040(0x1ce)](_0x44d2f7);_0x178816&&this[_0x5ad040(0x130)][_0x5ad040(0x207)](_0x178816);}[_0x1abcf0(0x1ce)](_0x107a36){const _0x266ef5=_0x1abcf0;let _0x59c1a1,_0x59cf31;switch(_0x107a36[_0x266ef5(0x14d)]){case _0x266ef5(0x1e3):_0x59c1a1=_0x107a36[_0x266ef5(0x1b4)][_0x266ef5(0x1a4)];break;case _0x266ef5(0x128):if(_0x59cf31=_0x107a36[_0x266ef5(0x1c1)],!_0x59cf31)return null;_0x59c1a1=_0x59cf31[_0x266ef5(0x1a4)];break;case _0x266ef5(0x121):_0x59c1a1=_0x107a36[_0x266ef5(0x1a4)];break;case _0x266ef5(0x162):_0x59c1a1=_0x107a36[_0x266ef5(0x1c4)];break;case _0x266ef5(0x150):_0x59c1a1=_0x107a36[_0x266ef5(0x160)][_0x266ef5(0x1a4)];break;default:return null;}return _0x59c1a1[_0x266ef5(0x13c)];}[_0x1abcf0(0x1ff)](_0x4f4ebc){const _0x3e0780=_0x1abcf0;_0x4f4ebc[_0x3e0780(0x1ab)](_0x351d67=>{const _0x59c737=_0x3e0780,_0x446e49=_0x351d67[_0x59c737(0x1d6)]();_0x446e49[_0x59c737(0x15f)]=_0x351d67[_0x59c737(0x15f)],_0x446e49[_0x59c737(0x125)]=!!_0x351d67[_0x59c737(0x125)],_0x446e49[_0x59c737(0x1ae)]=_0x351d67[_0x59c737(0x1ae)],_0x446e49[_0x59c737(0x1f4)]+=this[_0x59c737(0x149)],_0x351d67[_0x59c737(0x1e1)]&&this[_0x59c737(0x1c3)][_0x59c737(0x207)](_0x446e49),this[_0x59c737(0x1bd)][_0x59c737(0x18e)](_0x446e49);});}[_0x1abcf0(0x194)](_0x298ec8){const _0x3301b2=_0x1abcf0,_0x3b694c=this[_0x3301b2(0x20d)][_0x3301b2(0x14c)][_0x3301b2(0x203)](_0x3301b2(0x170)),_0x307e03=this[_0x3301b2(0x20d)][_0x3301b2(0x1d2)];_0x298ec8||(_0x298ec8=_0x34d6b7(_0x307e03,_0x3301b2(0x181))),_0x3b694c[_0x3301b2(0x1b8)](_0x298ec8,{'title':_0x34d6b7(_0x307e03,_0x3301b2(0x137)),'namespace':_0x3301b2(0x1e8)}),this[_0x3301b2(0x123)]=!0x0,clearTimeout(this[_0x3301b2(0x122)]),this[_0x3301b2(0x1bc)]=[],this[_0x3301b2(0x20d)][_0x3301b2(0x14c)][_0x3301b2(0x203)](_0xa2d1b7)[_0x3301b2(0x111)]();}[_0x1abcf0(0x1dc)](){const _0x28054b=_0x1abcf0;this[_0x28054b(0x20f)]||(this[_0x28054b(0x20f)]=this[_0x28054b(0x20d)][_0x28054b(0x14c)][_0x28054b(0x203)](_0x3b4e6c)[_0x28054b(0x207)](_0x34d6b7(this[_0x28054b(0x20d)][_0x28054b(0x1d2)],_0x28054b(0x1e4))));}[_0x1abcf0(0x12b)](){const _0x19d9a8=_0x1abcf0;this[_0x19d9a8(0x20f)]&&(this[_0x19d9a8(0x20d)][_0x19d9a8(0x14c)][_0x19d9a8(0x203)](_0x3b4e6c)[_0x19d9a8(0x202)](this[_0x19d9a8(0x20f)]),this[_0x19d9a8(0x20f)]=null);}[_0x1abcf0(0x176)](_0x14f200){const _0x4d01ee=_0x1abcf0,_0x395620=_0x14f200[_0x4d01ee(0x120)](_0x1e0d97=>_0x1e0d97[_0x4d01ee(0x193)]());return this[_0x4d01ee(0x19e)][_0x4d01ee(0x145)](_0x395620);}[_0x1abcf0(0x186)](_0x2b6f7d,_0xd057cb){const _0x1aea42=_0x1abcf0;return this[_0x1aea42(0x19e)][_0x1aea42(0x138)](_0x2b6f7d)[_0x1aea42(0x120)]((_0x40052f,_0x3f7635)=>{const _0x3e1abd=_0x1aea42,_0x115c97=_0x3e1abd(0x178)==_0xd057cb[_0x3f7635][_0x3e1abd(0x14d)];if(_0x3e1abd(0x158)==_0x40052f[_0x3e1abd(0x114)]){const _0x49e008=_0x40052f[_0x3e1abd(0x1b4)][_0x3e1abd(0x1a4)];!this[_0x3e1abd(0x1e0)][_0x3e1abd(0x19c)](_0x49e008)&&(this[_0x3e1abd(0x1e0)][_0x3e1abd(0x1f3)](_0x3e1abd(0x183),_0x49e008)[_0x3e1abd(0x13e)]=!0x1);}const _0x418249=_0x494412[_0x3e1abd(0x18a)](_0x40052f,this[_0x3e1abd(0x1e0)]);return _0x418249[_0x3e1abd(0x177)]=_0x40052f[_0x3e1abd(0x177)],_0x418249[_0x3e1abd(0x125)]=_0x115c97,_0x418249[_0x3e1abd(0x15f)]=_0x115c97?null:_0xd057cb[_0x3f7635][_0x3e1abd(0x16c)],_0x418249[_0x3e1abd(0x1e1)]=_0x3e1abd(0x1d8)===_0xd057cb[_0x3f7635][_0x3e1abd(0x14d)],_0x418249[_0x3e1abd(0x1ae)]=_0xd057cb[_0x3f7635][_0x3e1abd(0x1ae)],_0x418249;});}[_0x1abcf0(0x148)](){const _0x120481=_0x1abcf0;this[_0x120481(0x1f6)]=!0x0,this[_0x120481(0x118)]()?this[_0x120481(0x1e5)]():this[_0x120481(0x1f6)]=!0x1;}[_0x1abcf0(0x118)](){const _0x8d69e4=_0x1abcf0,_0x3bc9f0=this[_0x8d69e4(0x20d)][_0x8d69e4(0x14c)][_0x8d69e4(0x203)](_0x420edb)[_0x8d69e4(0x1a0)][_0x8d69e4(0x203)](this[_0x8d69e4(0x16d)]);return!this[_0x8d69e4(0x20d)][_0x8d69e4(0x124)]&&!!_0x3bc9f0&&_0x3bc9f0[_0x8d69e4(0x1d9)]>0x1&&this[_0x8d69e4(0x1f6)];}[_0x1abcf0(0x1cc)](){const _0x57b206=_0x1abcf0;return this[_0x57b206(0x1bc)][_0x57b206(0x1d9)]>0x0||this[_0x57b206(0x118)]();}}l[_0x1abcf0(0x155)]=_0x263d71;export default l;class J extends Error{}function Q(_0xd58bb6,_0x3635bd){const _0x7dde4=_0x1abcf0;for(const _0x2b94bf of _0xd58bb6)_0x2b94bf[_0x7dde4(0x1f4)]=_0x3635bd++;}class X{constructor(_0x2bbfa5){const _0x48fbb9=_0x1abcf0;this[_0x48fbb9(0x11f)]=_0x2bbfa5,this[_0x48fbb9(0x17e)]=new WeakMap();}[_0x1abcf0(0x12f)](_0xdcf7e){const _0x43571e=_0x1abcf0;let _0x3abed6=_0xdcf7e[_0x43571e(0x1d9)];for(;_0x3abed6--;){const _0x24bc01=_0xdcf7e[_0x3abed6];if(!this[_0x43571e(0x11f)][_0x43571e(0x184)](_0x24bc01)){if(!this[_0x43571e(0x17e)][_0x43571e(0x184)](_0x24bc01)){const _0x4f78e9=_0x210524()[_0x43571e(0x1b0)](0x1,0x12);this[_0x43571e(0x17e)][_0x43571e(0x13b)](_0x24bc01,_0x4f78e9);}return this[_0x43571e(0x17e)][_0x43571e(0x203)](_0x24bc01);}}}[_0x1abcf0(0x168)](_0x22caa9,_0x4ce0aa){const _0x4a53e7=_0x1abcf0;if(!_0x4ce0aa)return;let _0xd17c71=_0x22caa9[_0x4a53e7(0x1d9)];for(;_0xd17c71--;){const _0x36f83b=_0x22caa9[_0xd17c71];this[_0x4a53e7(0x11f)][_0x4a53e7(0x184)](_0x36f83b)||this[_0x4a53e7(0x17e)][_0x4a53e7(0x13b)](_0x36f83b,_0x4ce0aa);}}}
|
|
23
|
+
const _0x23fac9=_0x3ddb;function _0x3ddb(_0x1758e0,_0x18bd12){const _0xca7d40=_0xca7d();return _0x3ddb=function(_0x3ddbe3,_0x4ba0f7){_0x3ddbe3=_0x3ddbe3-0x1e1;let _0x577db2=_0xca7d40[_0x3ddbe3];return _0x577db2;},_0x3ddb(_0x1758e0,_0x18bd12);}(function(_0x3ffd44,_0x27982c){const _0x22a257=_0x3ddb,_0x415236=_0x3ffd44();while(!![]){try{const _0x2b02c9=-parseInt(_0x22a257(0x200))/0x1*(-parseInt(_0x22a257(0x249))/0x2)+-parseInt(_0x22a257(0x274))/0x3+parseInt(_0x22a257(0x2a4))/0x4+-parseInt(_0x22a257(0x278))/0x5+-parseInt(_0x22a257(0x1ef))/0x6*(parseInt(_0x22a257(0x1ff))/0x7)+parseInt(_0x22a257(0x2c2))/0x8+parseInt(_0x22a257(0x25b))/0x9*(parseInt(_0x22a257(0x23b))/0xa);if(_0x2b02c9===_0x27982c)break;else _0x415236['push'](_0x415236['shift']());}catch(_0x1814cf){_0x415236['push'](_0x415236['shift']());}}}(_0xca7d,0xf2d4b));import{Plugin as _0x527514,PendingActions as _0x4a74a8}from'ckeditor5/src/core.js';import{CKEditorError as _0x955a98,version as _0x4e534f,uid as _0x9bcbe0}from'ckeditor5/src/utils.js';import{Notification as _0x455b76}from'ckeditor5/src/ui.js';import{transformSets as _0x3254c4,NoOperation as _0x39c327,InsertOperation as _0x233c80,MarkerOperation as _0x5c3a74,RootAttributeOperation as _0x5a149f,OperationFactory as _0x22244f,History as _0x2d376c}from'ckeditor5/src/engine.js';import _0x29f581 from'./websocketgateway.js';import _0x291ae3 from'./sessions.js';import _0x15d043 from'./usermarkers.js';import{getTranslation as _0x58300f}from'../common-translations.js';import{Compressor as _0x5ba977}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5cb5f6}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x5aabc8,CollaborativeEditingService as _0x522e38}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x527514{static get[_0x23fac9(0x21c)](){return[_0x29f581,_0x291ae3,_0x15d043,_0x4a74a8,_0x5cb5f6,_0x455b76];}static get[_0x23fac9(0x2bc)](){const _0x4513ee=_0x23fac9;return _0x4513ee(0x25a);}get[_0x23fac9(0x29f)](){const _0x13c33f=_0x23fac9;return this[_0x13c33f(0x26b)]+this[_0x13c33f(0x235)];}get[_0x23fac9(0x26b)](){const _0x33ebe5=_0x23fac9;return this[_0x33ebe5(0x29d)][_0x33ebe5(0x2c3)]-this[_0x33ebe5(0x235)];}get[_0x23fac9(0x20b)](){const _0x447767=_0x23fac9,_0xbc1b76=this[_0x447767(0x29d)][_0x447767(0x23e)]();for(let _0x11d2de=_0xbc1b76[_0x447767(0x219)]-0x1;_0x11d2de>=0x0;_0x11d2de--){const _0x461248=_0xbc1b76[_0x11d2de];if(!this[_0x447767(0x241)][_0x447767(0x1ec)](_0x461248))return _0x461248[_0x447767(0x2ad)]+0x1-this[_0x447767(0x235)];}return 0x0;}constructor(_0x38113d){const _0x3dd63d=_0x23fac9;if(super(_0x38113d),this[_0x3dd63d(0x235)]=0x0,this[_0x3dd63d(0x2d4)]=null,this[_0x3dd63d(0x29d)]=new _0x2d376c(),this[_0x3dd63d(0x22f)][_0x3dd63d(0x268)][_0x3dd63d(0x20e)](_0x3dd63d(0x22c),{}),this[_0x3dd63d(0x2a8)]=this[_0x3dd63d(0x22f)][_0x3dd63d(0x268)][_0x3dd63d(0x229)](_0x3dd63d(0x1e4)),!this[_0x3dd63d(0x2a8)])throw new _0x955a98(_0x3dd63d(0x1f2),this);const _0x23c3b7=_0x38113d[_0x3dd63d(0x268)][_0x3dd63d(0x229)](_0x3dd63d(0x284))||_0x4e534f;this[_0x3dd63d(0x264)]=new l[(_0x3dd63d(0x27a))](_0x23c3b7,this[_0x3dd63d(0x2a8)]),this[_0x3dd63d(0x269)]=this[_0x3dd63d(0x22f)][_0x3dd63d(0x2a3)][_0x3dd63d(0x295)],this[_0x3dd63d(0x286)]=new _0x5ba977(),this[_0x3dd63d(0x220)]=[],this[_0x3dd63d(0x277)]=new WeakSet(),this[_0x3dd63d(0x2dd)]=new Set(),this[_0x3dd63d(0x2b8)](_0x3dd63d(0x26f),!0x1),this[_0x3dd63d(0x2b8)](_0x3dd63d(0x2c0),!0x1),this[_0x3dd63d(0x203)]=null,this[_0x3dd63d(0x1f5)]=!0x1,this[_0x3dd63d(0x2b2)]=null,this[_0x3dd63d(0x259)]=0x12c,this[_0x3dd63d(0x2dc)]=this[_0x3dd63d(0x259)],this[_0x3dd63d(0x2b7)]=null,this[_0x3dd63d(0x241)]=new WeakSet(),this[_0x3dd63d(0x237)]=new X(this[_0x3dd63d(0x241)]);}[_0x23fac9(0x2bf)](){const _0x819ec6=_0x23fac9,_0x203e8e=this[_0x819ec6(0x22f)],_0x1537d9=_0x203e8e[_0x819ec6(0x227)][_0x819ec6(0x229)](_0x5cb5f6),_0x55d160=_0x203e8e[_0x819ec6(0x227)][_0x819ec6(0x229)](_0x29f581);this[_0x819ec6(0x29e)](_0x1537d9,_0x819ec6(0x1f8),(_0x183cd8,_0x53e39e)=>{const _0x56d293=_0x819ec6,_0x15f232=_0x53e39e[0x0];_0x15f232[_0x56d293(0x214)]&&(_0x183cd8[_0x56d293(0x205)]=_0x1537d9[_0x56d293(0x27e)](_0x15f232[_0x56d293(0x214)]),_0x183cd8[_0x56d293(0x239)]()),null===_0x15f232[_0x56d293(0x214)]&&(_0x183cd8[_0x56d293(0x205)]=null,_0x183cd8[_0x56d293(0x239)]());},{'priority':_0x819ec6(0x283)}),this[_0x819ec6(0x29e)](_0x203e8e[_0x819ec6(0x2a3)][_0x819ec6(0x295)][_0x819ec6(0x2d2)],_0x819ec6(0x25d),(_0x398d20,_0x9f90a6)=>{const _0x54b98f=_0x819ec6;_0x9f90a6[_0x54b98f(0x2c8)]&&this[_0x54b98f(0x224)]();}),this[_0x819ec6(0x29e)](_0x203e8e[_0x819ec6(0x290)][_0x819ec6(0x1e9)],_0x819ec6(0x2d6),()=>{const _0x5c4a13=_0x819ec6;this[_0x5c4a13(0x224)]();}),this[_0x819ec6(0x299)](),_0x203e8e[_0x819ec6(0x2a3)]['on'](_0x819ec6(0x1e6),(_0x500494,_0x11c6ed)=>{const _0x1ec67a=_0x819ec6,_0x270169=_0x11c6ed[0x0];_0x270169[_0x1ec67a(0x291)]&&(this[_0x1ec67a(0x20f)](_0x270169),this[_0x1ec67a(0x22e)]()&&this[_0x1ec67a(0x234)]());}),this[_0x819ec6(0x273)](),this[_0x819ec6(0x22b)](_0x819ec6(0x267))['to'](_0x55d160,_0x819ec6(0x232),this,_0x819ec6(0x2c0),(_0x2645d3,_0x37ab56)=>_0x819ec6(0x282)===_0x2645d3&&!_0x37ab56),this['on'](_0x819ec6(0x270),()=>{const _0x43a1e1=_0x819ec6;this[_0x43a1e1(0x267)]?_0x203e8e[_0x43a1e1(0x2c9)](_0x43a1e1(0x21e)):_0x203e8e[_0x43a1e1(0x245)](_0x43a1e1(0x21e));}),this[_0x819ec6(0x267)]?_0x203e8e[_0x819ec6(0x2c9)](_0x819ec6(0x21e)):_0x203e8e[_0x819ec6(0x245)](_0x819ec6(0x21e)),this[_0x819ec6(0x2b8)](_0x819ec6(0x222),!0x1);}async[_0x23fac9(0x2df)](){const _0xf6400c=_0x23fac9,_0x1b40c8=this[_0xf6400c(0x22f)][_0xf6400c(0x227)][_0xf6400c(0x229)](_0x291ae3),_0x3a96bb=this[_0xf6400c(0x22f)][_0xf6400c(0x227)][_0xf6400c(0x229)](_0x29f581);try{this[_0xf6400c(0x26f)]=!0x0,_0x1b40c8[_0xf6400c(0x1eb)](this[_0xf6400c(0x2a8)]);const _0x5c8a51=await this[_0xf6400c(0x264)][_0xf6400c(0x2df)](_0x3a96bb[_0xf6400c(0x2c5)],this[_0xf6400c(0x20b)]);await this[_0xf6400c(0x1e2)](_0x5c8a51)&&(this[_0xf6400c(0x26f)]=!0x1,this[_0xf6400c(0x293)]());const _0x2897bb=await this[_0xf6400c(0x264)][_0xf6400c(0x20d)]();_0x1b40c8[_0xf6400c(0x2da)](this[_0xf6400c(0x2a8)],_0x2897bb),this[_0xf6400c(0x29b)](),this[_0xf6400c(0x222)]=!0x0;}catch(_0x40f676){if(function(_0x5f040a){const _0x41a3f6=_0xf6400c;return _0x41a3f6(0x25f)===_0x5f040a[_0x41a3f6(0x1fd)];}(_0x40f676)&&this[_0xf6400c(0x2d4)])await this[_0xf6400c(0x23d)]();else{if(function(_0x214e42){const _0x2cd39b=_0xf6400c;return _0x2cd39b(0x211)===_0x214e42[_0x2cd39b(0x1fd)];}(_0x40f676)){const _0x47fa1b=_0x58300f(this[_0xf6400c(0x22f)][_0xf6400c(0x294)],_0xf6400c(0x2bb));this[_0xf6400c(0x1e8)](_0x47fa1b);}else{if(!(_0x40f676 instanceof J))throw _0x40f676;this[_0xf6400c(0x1e8)]();}}}}[_0x23fac9(0x20a)](){const _0x173990=_0x23fac9,_0xeeabdd=this[_0x173990(0x22f)][_0x173990(0x227)][_0x173990(0x229)](_0x29f581),_0x3b7e06=this[_0x173990(0x22f)][_0x173990(0x227)][_0x173990(0x229)](_0x291ae3);this[_0x173990(0x22f)][_0x173990(0x245)](_0x173990(0x2c1)),_0x3b7e06[_0x173990(0x1ee)][_0x173990(0x1ec)](this[_0x173990(0x2a8)])&&_0x3b7e06[_0x173990(0x1eb)](this[_0x173990(0x2a8)]),_0xeeabdd[_0x173990(0x230)](this),this[_0x173990(0x24b)](),super[_0x173990(0x20a)]();}async[_0x23fac9(0x1e2)](_0x346b54){const _0xa8313a=_0x23fac9;if(this[_0xa8313a(0x2d4)]!==_0x346b54[_0xa8313a(0x2d4)]&&this[_0xa8313a(0x2b7)]!==_0x346b54[_0xa8313a(0x2a1)])throw new J();return this[_0xa8313a(0x2d4)]=_0x346b54[_0xa8313a(0x2d4)],this[_0xa8313a(0x27f)]([],{..._0x346b54,'wereChangesApplied':!0x1,'data':_0x346b54[_0xa8313a(0x260)]},_0xa8313a(0x2df));}async[_0x23fac9(0x275)](_0x1ae0cd,_0x54240b=!0x1){const _0x2a5398=_0x23fac9,{connection:_0x53b00e}=this[_0x2a5398(0x22f)][_0x2a5398(0x227)][_0x2a5398(0x229)](_0x29f581);l[_0x2a5398(0x27a)][_0x2a5398(0x20d)](_0x53b00e,this[_0x2a5398(0x2a8)])[_0x2a5398(0x21b)](_0x611b83=>this[_0x2a5398(0x266)](_0x611b83))[_0x2a5398(0x285)](_0x5716b8=>{const _0x57a19d=_0x2a5398;this[_0x57a19d(0x257)](_0x57a19d(0x2cf),_0x5716b8);}),this[_0x2a5398(0x29e)](this[_0x2a5398(0x264)],_0x2a5398(0x1fa),this[_0x2a5398(0x1ea)][_0x2a5398(0x22b)](this)),this[_0x2a5398(0x29e)](this[_0x2a5398(0x264)],_0x2a5398(0x2d8),(_0xfb1ada,_0x4adf66)=>{const _0x32fc22=_0x2a5398;this[_0x32fc22(0x257)](_0x32fc22(0x27c),_0x4adf66);}),this[_0x2a5398(0x29e)](this[_0x2a5398(0x264)],_0x2a5398(0x254),()=>{const _0x33e0b5=_0x2a5398;this[_0x33e0b5(0x222)]=!0x1;});const _0x343966=this[_0x2a5398(0x237)][_0x2a5398(0x261)](_0x1ae0cd);this[_0x2a5398(0x26f)]=!0x0;const _0xfb3ea8=await this[_0x2a5398(0x264)][_0x2a5398(0x2d0)](_0x53b00e,this[_0x2a5398(0x2bd)](_0x1ae0cd),_0x343966);if(this[_0x2a5398(0x2d4)]=_0xfb3ea8[_0x2a5398(0x2d4)],_0x54240b){if(!_0xfb3ea8[_0x2a5398(0x263)])return void this[_0x2a5398(0x1e8)]();this[_0x2a5398(0x26f)]=!0x1,this[_0x2a5398(0x293)](),this[_0x2a5398(0x29d)][_0x2a5398(0x1fe)](),this[_0x2a5398(0x235)]=_0xfb3ea8[_0x2a5398(0x26c)],this[_0x2a5398(0x29d)][_0x2a5398(0x2c3)]=this[_0x2a5398(0x235)],await this[_0x2a5398(0x27f)](_0x1ae0cd,_0xfb3ea8,_0x2a5398(0x276));}else await this[_0x2a5398(0x2c4)](_0xfb3ea8,_0x1ae0cd);this[_0x2a5398(0x29b)](),this[_0x2a5398(0x222)]=!0x0;}[_0x23fac9(0x29b)](){const _0x503634=_0x23fac9,_0x4b77c4=this[_0x503634(0x22f)][_0x503634(0x227)][_0x503634(0x229)](_0x291ae3),_0x4cf720=this[_0x503634(0x22f)][_0x503634(0x227)][_0x503634(0x229)](_0x15d043),_0xe2916d=_0x4b77c4[_0x503634(0x1ee)][_0x503634(0x229)](this[_0x503634(0x2a8)]);_0xe2916d&&_0xe2916d[_0x503634(0x219)]>0x1?_0x4cf720[_0x503634(0x2be)]():this[_0x503634(0x29e)](_0x4b77c4,_0x503634(0x238)+this[_0x503634(0x2a8)],()=>{const _0x4def0b=_0x503634;0x2===_0x4b77c4[_0x4def0b(0x1ee)][_0x4def0b(0x229)](this[_0x4def0b(0x2a8)])[_0x4def0b(0x219)]&&_0x4cf720[_0x4def0b(0x2be)]();});}async[_0x23fac9(0x1ea)](_0x33dacd,_0x311926,_0xac75cd,_0x3c18c2){const _0x23afcd=_0x23fac9;if(!this[_0x23afcd(0x26f)]&&this[_0x23afcd(0x269)][_0x23afcd(0x2c3)]==_0x311926){const _0x4bd927=this[_0x23afcd(0x279)](_0xac75cd,_0x3c18c2);await this[_0x23afcd(0x1fc)](_0x4bd927),this[_0x23afcd(0x2a2)](_0x4bd927,_0x311926,_0xac75cd[_0x23afcd(0x2a1)])||this[_0x23afcd(0x257)](_0x23afcd(0x2ab));}}async[_0x23fac9(0x23d)](){const _0x204856=_0x23fac9;this[_0x204856(0x24b)]();const {locale:_0x325aa7}=this[_0x204856(0x22f)];let _0x342627;try{_0x342627=await this[_0x204856(0x264)][_0x204856(0x252)]();}catch(_0x26530f){const _0x2ced46=_0x58300f(_0x325aa7,_0x204856(0x2db));return void this[_0x204856(0x1e8)](_0x2ced46);}const _0x3f8924=_0x342627[_0x204856(0x28b)]||_0x342627[_0x204856(0x213)];if(this[_0x204856(0x2b7)]===_0x3f8924[_0x204856(0x2a1)])await this[_0x204856(0x275)](this[_0x204856(0x22f)][_0x204856(0x2a3)][_0x204856(0x295)][_0x204856(0x1e7)][_0x204856(0x23e)](),!0x0);else{const _0x484db9=_0x58300f(_0x325aa7,_0x204856(0x25c));this[_0x204856(0x1e8)](_0x484db9);}}[_0x23fac9(0x24b)](){const _0x908bc=_0x23fac9;this[_0x908bc(0x264)][_0x908bc(0x226)](),this[_0x908bc(0x220)]=[],clearTimeout(this[_0x908bc(0x2b2)]),this[_0x908bc(0x28e)](this[_0x908bc(0x264)]);}[_0x23fac9(0x266)](_0x3a6c18){const _0x4f2c77=_0x23fac9,_0x405035=this[_0x4f2c77(0x22f)][_0x4f2c77(0x227)][_0x4f2c77(0x229)](_0x291ae3);this[_0x4f2c77(0x29e)](_0x405035,_0x4f2c77(0x238)+this[_0x4f2c77(0x2a8)],(_0x340fcd,{session:_0x256441})=>{const _0x3aac42=_0x4f2c77;if(_0x256441['id']===_0x405035[_0x3aac42(0x2d3)]){_0x340fcd[_0x3aac42(0x2a5)]();const _0x5a1569=this[_0x3aac42(0x22f)][_0x3aac42(0x227)][_0x3aac42(0x1ec)](_0x3aac42(0x209))&&this[_0x3aac42(0x22f)][_0x3aac42(0x227)][_0x3aac42(0x229)](_0x3aac42(0x209));let _0x3f6240=_0x256441[_0x3aac42(0x1f9)];_0x5a1569&&_0x5a1569[_0x3aac42(0x1f1)]&&(_0x3f6240=_0x3f6240[_0x3aac42(0x2ae)](_0x344b21=>_0x3aac42(0x2ac)!==_0x344b21)),this[_0x3aac42(0x22f)][_0x3aac42(0x227)][_0x3aac42(0x229)](_0x3aac42(0x215))[_0x3aac42(0x242)](_0x3f6240,this[_0x3aac42(0x2a8)]);}}),_0x405035[_0x4f2c77(0x2da)](this[_0x4f2c77(0x2a8)],_0x3a6c18);}[_0x23fac9(0x299)](){const _0x38be2c=_0x23fac9,_0x464d21=this[_0x38be2c(0x22f)][_0x38be2c(0x260)][_0x38be2c(0x2b8)];this[_0x38be2c(0x22f)][_0x38be2c(0x260)][_0x38be2c(0x2b8)]=(..._0x803523)=>{const _0x3a0781=_0x38be2c;if(!_0x803523[_0x803523[_0x3a0781(0x219)]-0x1][_0x3a0781(0x2c6)])throw new _0x955a98(_0x3a0781(0x218),this);_0x464d21[_0x3a0781(0x244)](this[_0x3a0781(0x22f)][_0x3a0781(0x260)],_0x803523);};}[_0x23fac9(0x273)](){const _0x57e835=_0x23fac9;this[_0x57e835(0x22f)][_0x57e835(0x260)]['on'](_0x57e835(0x2bf),(_0xcb196c,[_0x2484ab])=>{const _0x26f0f7=_0x57e835;if(this[_0x26f0f7(0x269)][_0x26f0f7(0x2c3)])throw new _0x955a98(_0x26f0f7(0x23c),this);_0xcb196c[_0x26f0f7(0x239)](),this[_0x26f0f7(0x2ce)]();const _0x5a942a=this[_0x26f0f7(0x22f)][_0x26f0f7(0x268)][_0x26f0f7(0x229)](_0x26f0f7(0x1ed)),_0xc79a91=this[_0x26f0f7(0x247)](_0x2484ab,_0x5a942a);0x0==_0xc79a91[_0x26f0f7(0x219)]&&_0xc79a91[_0x26f0f7(0x20c)](new _0x39c327(0x0)),_0xcb196c[_0x26f0f7(0x205)]=this[_0x26f0f7(0x275)](_0xc79a91)[_0x26f0f7(0x21b)](()=>{const _0x355f73=_0x26f0f7;this[_0x355f73(0x22f)][_0x355f73(0x227)][_0x355f73(0x229)](_0x29f581)[_0x355f73(0x27d)](this),this[_0x355f73(0x22f)][_0x355f73(0x260)][_0x355f73(0x217)](_0x355f73(0x287));})[_0x26f0f7(0x285)](_0x40747f=>this[_0x26f0f7(0x257)](_0x26f0f7(0x2b5),_0x40747f))[_0x26f0f7(0x236)](()=>this[_0x26f0f7(0x293)]());},{'priority':_0x57e835(0x283)}),this[_0x57e835(0x22f)]['on'](_0x57e835(0x216),async(_0x37d88d,[_0x5a020f,_0x4dbcb2])=>{const _0x10bea5=_0x57e835;_0x37d88d[_0x10bea5(0x239)]();const _0x2def85=this[_0x10bea5(0x22f)][_0x10bea5(0x2a3)][_0x10bea5(0x295)][_0x10bea5(0x1f0)](_0x5a020f);if(!this[_0x10bea5(0x2dd)][_0x10bea5(0x1ec)](_0x5a020f)){const _0x1502d1=_0x4dbcb2&&_0x4dbcb2[_0x10bea5(0x260)]?_0x4dbcb2[_0x10bea5(0x260)]:'',_0x1c39d7=_0x4dbcb2&&_0x4dbcb2[_0x10bea5(0x201)]?_0x4dbcb2[_0x10bea5(0x201)]:{};await this[_0x10bea5(0x210)](_0x5a020f,_0x1502d1,_0x1c39d7);}this[_0x10bea5(0x22f)][_0x10bea5(0x2a3)][_0x10bea5(0x2cc)]({'isUndoable':!0x1},()=>{const _0x1d5bc0=_0x10bea5;_0x2def85[_0x1d5bc0(0x2d5)]=!0x0,this[_0x1d5bc0(0x22f)][_0x1d5bc0(0x2a3)][_0x1d5bc0(0x295)][_0x1d5bc0(0x1fb)][_0x1d5bc0(0x2b3)](_0x2def85);});},{'priority':_0x57e835(0x283)});}async[_0x23fac9(0x1fc)](_0x425115){const _0x45afb6=_0x23fac9,_0x470cae=this[_0x45afb6(0x22f)][_0x45afb6(0x227)][_0x45afb6(0x229)](_0x5cb5f6),{connection:_0x38de46}=this[_0x45afb6(0x22f)][_0x45afb6(0x227)][_0x45afb6(0x229)](_0x29f581),_0x4c417d=new Set();for(const _0x512122 of _0x425115){const _0x29e328=_0x512122[_0x45afb6(0x214)];_0x29e328&&!_0x470cae[_0x45afb6(0x27e)](_0x29e328)&&_0x4c417d[_0x45afb6(0x21a)](_0x29e328);}if(0x0===_0x4c417d[_0x45afb6(0x262)])return;const _0x174d96=await _0x5aabc8[_0x45afb6(0x208)](_0x38de46,Array[_0x45afb6(0x28a)](_0x4c417d));for(const _0x1e0ae8 of _0x174d96)_0x470cae[_0x45afb6(0x27e)](_0x1e0ae8['id'])||_0x470cae[_0x45afb6(0x243)](_0x1e0ae8);}[_0x23fac9(0x247)](_0x1906a4,_0x26d131={}){const _0x1cbe32=_0x23fac9,_0x58251c=this[_0x1cbe32(0x22f)][_0x1cbe32(0x2a3)],_0x177762=[];let _0x574461=0x0;const _0x4bb158=_0x1cbe32(0x240)==typeof _0x1906a4?{'main':_0x1906a4}:_0x1906a4;for(const _0x4190cd of Object[_0x1cbe32(0x1e3)](_0x4bb158)){if(!this[_0x1cbe32(0x269)][_0x1cbe32(0x24d)][_0x1cbe32(0x1ec)](_0x4190cd))throw new _0x955a98(_0x1cbe32(0x1f3),this);const _0x5899ee=this[_0x1cbe32(0x22f)][_0x1cbe32(0x260)][_0x1cbe32(0x248)](_0x4bb158[_0x4190cd]),_0x4dde2e=this[_0x1cbe32(0x269)][_0x1cbe32(0x1f0)](_0x4190cd),_0x5214ca=new _0x233c80(_0x58251c[_0x1cbe32(0x212)](_0x4dde2e,0x0),_0x5899ee,_0x574461++);_0x177762[_0x1cbe32(0x20c)](_0x5214ca);for(const [_0x4094f8,_0x594e14]of _0x5899ee[_0x1cbe32(0x258)]){const _0x17f4f4=_0x58251c[_0x1cbe32(0x246)](_0x58251c[_0x1cbe32(0x26a)](_0x4dde2e,_0x594e14[_0x1cbe32(0x28c)][_0x1cbe32(0x2b9)][_0x1cbe32(0x25e)]()),_0x58251c[_0x1cbe32(0x26a)](_0x4dde2e,_0x594e14[_0x1cbe32(0x288)][_0x1cbe32(0x2b9)][_0x1cbe32(0x25e)]())),_0xbfd96f=new _0x5c3a74(_0x4094f8,null,_0x17f4f4,_0x58251c[_0x1cbe32(0x258)],!0x0,_0x574461++);_0x177762[_0x1cbe32(0x20c)](_0xbfd96f);}}if(_0x26d131)for(const [_0x407c1b,_0x43def1]of Object[_0x1cbe32(0x272)](_0x26d131)){const _0x1a3106=_0x58251c[_0x1cbe32(0x295)][_0x1cbe32(0x1f0)](_0x407c1b);if(!_0x1a3106)throw new _0x955a98(_0x1cbe32(0x2cb),null);for(const [_0x3a2606,_0x594aea]of Object[_0x1cbe32(0x272)](_0x43def1))if(null!==_0x594aea){const _0x51e5e1=new _0x5a149f(_0x1a3106,_0x3a2606,null,_0x594aea,_0x574461++);_0x177762[_0x1cbe32(0x20c)](_0x51e5e1);}}return _0x177762;}async[_0x23fac9(0x210)](_0x3415a9,_0x325242,_0x1e5fec){const _0xb4e1a6=_0x23fac9;this[_0xb4e1a6(0x247)]({[_0x3415a9]:_0x325242},{[_0x3415a9]:_0x1e5fec})[_0xb4e1a6(0x2e1)]((_0x27e244,_0x5b5b6)=>{const _0x909853=_0xb4e1a6;_0x27e244[_0x909853(0x2ad)]=this[_0x909853(0x269)][_0x909853(0x2c3)]+_0x5b5b6,_0x27e244[_0x909853(0x255)]=!0x0,this[_0x909853(0x20f)](_0x27e244);}),this[_0xb4e1a6(0x234)](),await this[_0xb4e1a6(0x2e0)]();}async[_0x23fac9(0x2c4)](_0x3ae7d0,_0x19a129){const _0x4fdccf=_0x23fac9;let _0x37b04a;this[_0x4fdccf(0x235)]=_0x3ae7d0[_0x4fdccf(0x26c)];const _0x57a449=_0x3ae7d0[_0x4fdccf(0x263)]&&!_0x3ae7d0[_0x4fdccf(0x2a9)],_0x48dcec=_0x57a449?0x0:_0x3ae7d0[_0x4fdccf(0x260)][_0x4fdccf(0x2ad)];if(_0x19a129[_0x4fdccf(0x2e1)](_0x4fa057=>{const _0x49c5f2=_0x4fdccf;_0x4fa057[_0x49c5f2(0x255)]=!0x0,_0x4fa057[_0x49c5f2(0x24c)]=_0x3ae7d0[_0x49c5f2(0x2b1)],_0x4fa057[_0x49c5f2(0x214)]=null;}),_0x57a449)_0x37b04a=_0x19a129,this[_0x4fdccf(0x28f)](_0x37b04a,_0x57a449);else{if(_0x3ae7d0[_0x4fdccf(0x2a9)]){const _0xea1699=this[_0x4fdccf(0x247)](_0x3ae7d0[_0x4fdccf(0x2a9)]);this[_0x4fdccf(0x269)][_0x4fdccf(0x1e7)][_0x4fdccf(0x2c3)]=-_0xea1699[_0x4fdccf(0x219)],_0xea1699[_0x4fdccf(0x2e1)](_0x58fdc1=>{const _0x48b3f1=_0x4fdccf;_0x58fdc1[_0x48b3f1(0x2ad)]-=_0xea1699[_0x48b3f1(0x219)],_0x58fdc1[_0x48b3f1(0x24c)]=_0x3ae7d0[_0x48b3f1(0x2b1)],_0x58fdc1[_0x48b3f1(0x255)]=!0x0,_0x58fdc1[_0x48b3f1(0x214)]=null;}),this[_0x4fdccf(0x28f)](_0xea1699,!0x0),this[_0x4fdccf(0x29d)][_0x4fdccf(0x2c3)]=-_0xea1699[_0x4fdccf(0x219)]+this[_0x4fdccf(0x235)],this[_0x4fdccf(0x23f)](_0xea1699);}this[_0x4fdccf(0x269)][_0x4fdccf(0x1e7)][_0x4fdccf(0x2c3)]=_0x48dcec,_0x37b04a=this[_0x4fdccf(0x279)](_0x3ae7d0[_0x4fdccf(0x260)],_0x3ae7d0[_0x4fdccf(0x231)]),await this[_0x4fdccf(0x1fc)](_0x37b04a),this[_0x4fdccf(0x28f)](_0x37b04a,_0x57a449);}_0x3ae7d0[_0x4fdccf(0x2a1)]&&(this[_0x4fdccf(0x237)][_0x4fdccf(0x1e5)](_0x37b04a,_0x3ae7d0[_0x4fdccf(0x2a1)]),this[_0x4fdccf(0x2b7)]=_0x3ae7d0[_0x4fdccf(0x2a1)]),this[_0x4fdccf(0x29d)][_0x4fdccf(0x2c3)]=_0x48dcec+this[_0x4fdccf(0x235)],this[_0x4fdccf(0x23f)](_0x37b04a),_0x19a129[_0x4fdccf(0x2ae)](_0x40fd78=>{const _0x8ec002=_0x4fdccf,_0x229a28=this[_0x8ec002(0x2e2)](_0x40fd78);return _0x229a28&&!this[_0x8ec002(0x2dd)][_0x8ec002(0x1ec)](_0x229a28);})[_0x4fdccf(0x2e1)]((_0x3a462b,_0x4c0c83)=>{const _0x462904=_0x4fdccf;_0x3a462b[_0x462904(0x2ad)]=this[_0x462904(0x269)][_0x462904(0x2c3)]+_0x4c0c83,this[_0x462904(0x20f)](_0x3a462b);}),this[_0x4fdccf(0x22e)]()?(this[_0x4fdccf(0x2dc)]=0x0,this[_0x4fdccf(0x234)](!0x0),await this[_0x4fdccf(0x2e0)]()):(this[_0x4fdccf(0x26f)]=!0x1,this[_0x4fdccf(0x293)]());}[_0x23fac9(0x257)](_0xb8e7a4,_0x41c77c){const _0x1c9eba=_0x23fac9;throw this[_0x1c9eba(0x26f)]=!0x0,_0x41c77c&&console[_0x1c9eba(0x2d8)](_0x41c77c),new _0x955a98(_0xb8e7a4,this[_0x1c9eba(0x22f)]);}[_0x23fac9(0x20f)](_0x113ed0){const _0x4c2eae=_0x23fac9;this[_0x4c2eae(0x277)][_0x4c2eae(0x1ec)](_0x113ed0)||(this[_0x4c2eae(0x277)][_0x4c2eae(0x21a)](_0x113ed0),this[_0x4c2eae(0x220)][_0x4c2eae(0x20c)](_0x113ed0),this[_0x4c2eae(0x203)]||_0x4c2eae(0x2af)==_0x113ed0[_0x4c2eae(0x24f)]&&!_0x113ed0[_0x4c2eae(0x233)]||this[_0x4c2eae(0x2ce)]());}[_0x23fac9(0x234)](_0x1eb682=!0x1){const _0xdc2453=_0x23fac9;!_0x1eb682&&this[_0xdc2453(0x26f)]||(this[_0xdc2453(0x26f)]=!0x0,clearTimeout(this[_0xdc2453(0x2b2)]),this[_0xdc2453(0x2b2)]=setTimeout(()=>{const _0x5e0118=_0xdc2453;this[_0x5e0118(0x2b0)]()[_0x5e0118(0x21b)](_0x568f69=>{const _0x209489=_0x5e0118;_0x568f69&&(this[_0x209489(0x293)](),this[_0x209489(0x26f)]=!0x1);})[_0x5e0118(0x285)](_0x2b4b84=>{const _0x57a651=_0x5e0118;if(this[_0x57a651(0x293)](),this[_0x57a651(0x26f)]=!0x1,!function(_0x51ceee){const _0x46deb9=_0x57a651;return _0x51ceee[_0x46deb9(0x26e)][_0x46deb9(0x206)](_0x46deb9(0x297))||_0x51ceee[_0x46deb9(0x26e)][_0x46deb9(0x206)](_0x46deb9(0x280))||_0x51ceee[_0x46deb9(0x26e)][_0x46deb9(0x206)](_0x46deb9(0x28d));}(_0x2b4b84))throw _0x2b4b84;});},this[_0xdc2453(0x2dc)]));}[_0x23fac9(0x2e0)](){return new Promise(_0x14a73b=>{const _0x57e241=_0x3ddb;this['on'](_0x57e241(0x253),()=>{_0x14a73b();});});}async[_0x23fac9(0x2b0)](){const _0x5051c3=_0x23fac9,_0x255fc1=this[_0x5051c3(0x22f)][_0x5051c3(0x227)][_0x5051c3(0x229)](_0x15d043);if(this[_0x5051c3(0x207)]()&&(_0x255fc1[_0x5051c3(0x2be)](),this[_0x5051c3(0x1f5)]=!0x1),!this[_0x5051c3(0x22e)]())return!0x0;const _0x1664ee=[...this[_0x5051c3(0x220)]];for(const _0xc07b9a of _0x1664ee)_0xc07b9a[_0x5051c3(0x265)]=this[_0x5051c3(0x269)][_0x5051c3(0x1e7)][_0x5051c3(0x21d)](_0xc07b9a);const _0x5b4ef7=this[_0x5051c3(0x237)][_0x5051c3(0x261)](_0x1664ee),_0x21c4dd=K++,_0x41e618=this[_0x5051c3(0x2bd)](_0x1664ee),_0x2156b1=await this[_0x5051c3(0x264)][_0x5051c3(0x21f)](_0x41e618,_0x41e618[_0x5051c3(0x2ad)],_0x5b4ef7);try{return await this[_0x5051c3(0x27f)](_0x1664ee,_0x2156b1,_0x21c4dd);}catch(_0x8f2cf0){return this[_0x5051c3(0x257)](_0x5051c3(0x2b6),_0x8f2cf0);}}async[_0x23fac9(0x27f)](_0x27d363,_0x309d4c,_0x9c26da){const _0x26bed0=_0x23fac9;if(_0x26bed0(0x2d8)in _0x309d4c)throw _0x309d4c[_0x26bed0(0x2d8)];let _0x49fbfa=!0x1;if(_0x309d4c[_0x26bed0(0x263)]){_0x309d4c[_0x26bed0(0x2a1)]&&(this[_0x26bed0(0x2b7)]=_0x309d4c[_0x26bed0(0x2a1)]),this[_0x26bed0(0x220)]=this[_0x26bed0(0x220)][_0x26bed0(0x2ae)](_0x4fee1d=>!_0x27d363[_0x26bed0(0x2b4)](_0x4fee1d));for(const _0x16d6a4 of _0x27d363)_0x16d6a4[_0x26bed0(0x24c)]=_0x26bed0(0x202)in _0x309d4c&&_0x309d4c[_0x26bed0(0x202)]||void 0x0;Q(_0x27d363,_0x309d4c[_0x26bed0(0x2c3)]-_0x27d363[_0x26bed0(0x219)]),this[_0x26bed0(0x23f)](_0x27d363);const _0x534593=_0x27d363[_0x26bed0(0x2ae)](_0x43efb1=>{const _0x2d0c1b=_0x26bed0;if(!_0x43efb1[_0x2d0c1b(0x255)])return!0x1;const _0x2e6a33=this[_0x2d0c1b(0x2e2)](_0x43efb1);return _0x2e6a33&&!this[_0x2d0c1b(0x2dd)][_0x2d0c1b(0x1ec)](_0x2e6a33);});Q(_0x534593,this[_0x26bed0(0x269)][_0x26bed0(0x2c3)]),this[_0x26bed0(0x28f)](_0x534593),_0x49fbfa=!0x0,this[_0x26bed0(0x2dc)]=this[_0x26bed0(0x259)];}else{const _0x2eac3b=this[_0x26bed0(0x279)](_0x309d4c[_0x26bed0(0x260)],_0x309d4c[_0x26bed0(0x231)])[_0x26bed0(0x2ae)](_0x10152c=>_0x10152c[_0x26bed0(0x2ad)]>=this[_0x26bed0(0x26b)]);_0x2eac3b[_0x26bed0(0x2e1)](_0x38155d=>this[_0x26bed0(0x24a)](_0x38155d)),this[_0x26bed0(0x220)]=this[_0x26bed0(0x220)][_0x26bed0(0x2ae)](_0x3ceb79=>!_0x3ceb79[_0x26bed0(0x255)]||!this[_0x26bed0(0x2dd)][_0x26bed0(0x1ec)](this[_0x26bed0(0x2e2)](_0x3ceb79))),this[_0x26bed0(0x220)][_0x26bed0(0x219)]&&Q(this[_0x26bed0(0x220)],this[_0x26bed0(0x220)][0x0][_0x26bed0(0x2ad)]),await this[_0x26bed0(0x1fc)](_0x2eac3b),_0x49fbfa=this[_0x26bed0(0x2a2)](_0x2eac3b,_0x309d4c[_0x26bed0(0x2c3)],_0x309d4c[_0x26bed0(0x2a1)]),this[_0x26bed0(0x2dc)]=Math[_0x26bed0(0x2cd)](this[_0x26bed0(0x2dc)]/0x2);}return _0x49fbfa?!this[_0x26bed0(0x22e)]()||(this[_0x26bed0(0x234)](!0x0),!0x1):this[_0x26bed0(0x257)](_0x26bed0(0x22d));}[_0x23fac9(0x2a2)](_0x1fac57,_0x54d6f4,_0xe575b3){const _0x202724=_0x23fac9;try{const _0x74b226={'document':this[_0x202724(0x269)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4dacd6,operationsB:_0x379b1b,originalOperations:_0x44197c}=_0x3254c4(_0x1fac57,this[_0x202724(0x220)],_0x74b226);Q(_0x4dacd6,this[_0x202724(0x269)][_0x202724(0x2c3)]),Q(_0x379b1b,_0x54d6f4);for(const _0x3ca8b8 of _0x4dacd6){const _0x610997=_0x44197c[_0x202724(0x229)](_0x3ca8b8);_0x3ca8b8[_0x202724(0x214)]=_0x610997?_0x610997[_0x202724(0x214)]:null;}_0xe575b3&&(this[_0x202724(0x237)][_0x202724(0x1e5)](_0x1fac57,_0xe575b3),this[_0x202724(0x2b7)]=_0xe575b3),this[_0x202724(0x220)]=[..._0x379b1b],this[_0x202724(0x28f)](_0x4dacd6),this[_0x202724(0x23f)](_0x1fac57);}catch(_0x15d6d5){return console[_0x202724(0x2d8)](_0x15d6d5),!0x1;}return!0x0;}[_0x23fac9(0x28f)](_0x5a8699,_0x37c247=!0x1){const _0x25a818=_0x23fac9;this[_0x25a818(0x22f)][_0x25a818(0x2a3)][_0x25a818(0x2cc)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4828d5=>{const _0x314b6a=_0x25a818;for(const _0x1c47a9 of _0x5a8699)this[_0x314b6a(0x277)][_0x314b6a(0x21a)](_0x1c47a9),this[_0x314b6a(0x24a)](_0x1c47a9),_0x4828d5[_0x314b6a(0x289)][_0x314b6a(0x26d)](_0x1c47a9),this[_0x314b6a(0x22f)][_0x314b6a(0x2a3)][_0x314b6a(0x1e6)](_0x1c47a9);});}[_0x23fac9(0x24a)](_0x30e4ec){const _0x445f00=_0x23fac9,_0x4665c7=this[_0x445f00(0x2e2)](_0x30e4ec);_0x4665c7&&this[_0x445f00(0x2dd)][_0x445f00(0x21a)](_0x4665c7);}[_0x23fac9(0x2e2)](_0x2deabc){const _0x2cf374=_0x23fac9;let _0x15d6f3,_0x560395;switch(_0x2deabc[_0x2cf374(0x24f)]){case _0x2cf374(0x292):_0x15d6f3=_0x2deabc[_0x2cf374(0x29c)][_0x2cf374(0x2a0)];break;case _0x2cf374(0x2af):if(_0x560395=_0x2deabc[_0x2cf374(0x250)],!_0x560395)return null;_0x15d6f3=_0x560395[_0x2cf374(0x2a0)];break;case _0x2cf374(0x1f4):_0x15d6f3=_0x2deabc[_0x2cf374(0x2a0)];break;case _0x2cf374(0x221):_0x15d6f3=_0x2deabc[_0x2cf374(0x1f7)];break;case _0x2cf374(0x2c7):_0x15d6f3=_0x2deabc[_0x2cf374(0x23a)][_0x2cf374(0x2a0)];break;default:return null;}return _0x15d6f3[_0x2cf374(0x298)];}[_0x23fac9(0x23f)](_0xa04d58){const _0x28875b=_0x23fac9;_0xa04d58[_0x28875b(0x2e1)](_0x3648c7=>{const _0x1d3ce5=_0x28875b,_0x114e5f=_0x3648c7[_0x1d3ce5(0x2ca)]();_0x114e5f[_0x1d3ce5(0x214)]=_0x3648c7[_0x1d3ce5(0x214)],_0x114e5f[_0x1d3ce5(0x255)]=!!_0x3648c7[_0x1d3ce5(0x255)],_0x114e5f[_0x1d3ce5(0x24c)]=_0x3648c7[_0x1d3ce5(0x24c)],_0x114e5f[_0x1d3ce5(0x2ad)]+=this[_0x1d3ce5(0x235)],_0x3648c7[_0x1d3ce5(0x27b)]&&this[_0x1d3ce5(0x241)][_0x1d3ce5(0x21a)](_0x114e5f),this[_0x1d3ce5(0x29d)][_0x1d3ce5(0x26d)](_0x114e5f);});}[_0x23fac9(0x1e8)](_0x502690){const _0xf2524f=_0x23fac9,_0x5d7d5e=this[_0xf2524f(0x22f)][_0xf2524f(0x227)][_0xf2524f(0x229)](_0xf2524f(0x2de)),_0x840ed8=this[_0xf2524f(0x22f)][_0xf2524f(0x294)];_0x502690||(_0x502690=_0x58300f(_0x840ed8,_0xf2524f(0x2aa))),_0x5d7d5e[_0xf2524f(0x2d7)](_0x502690,{'title':_0x58300f(_0x840ed8,_0xf2524f(0x296)),'namespace':_0xf2524f(0x2a7)}),this[_0xf2524f(0x2c0)]=!0x0,clearTimeout(this[_0xf2524f(0x2b2)]),this[_0xf2524f(0x220)]=[],this[_0xf2524f(0x22f)][_0xf2524f(0x227)][_0xf2524f(0x229)](_0x29f581)[_0xf2524f(0x20a)]();}[_0x23fac9(0x2ce)](){const _0x289dc8=_0x23fac9;this[_0x289dc8(0x203)]||(this[_0x289dc8(0x203)]=this[_0x289dc8(0x22f)][_0x289dc8(0x227)][_0x289dc8(0x229)](_0x4a74a8)[_0x289dc8(0x21a)](_0x58300f(this[_0x289dc8(0x22f)][_0x289dc8(0x294)],_0x289dc8(0x22a))));}[_0x23fac9(0x293)](){const _0x1ef6cf=_0x23fac9;this[_0x1ef6cf(0x203)]&&(this[_0x1ef6cf(0x22f)][_0x1ef6cf(0x227)][_0x1ef6cf(0x229)](_0x4a74a8)[_0x1ef6cf(0x225)](this[_0x1ef6cf(0x203)]),this[_0x1ef6cf(0x203)]=null);}[_0x23fac9(0x2bd)](_0x245643){const _0x317d6a=_0x23fac9,_0x736b56=_0x245643[_0x317d6a(0x2d1)](_0x1ef876=>_0x1ef876[_0x317d6a(0x1f6)]());return this[_0x317d6a(0x286)][_0x317d6a(0x271)](_0x736b56);}[_0x23fac9(0x279)](_0x4d0516,_0x39ccf2){const _0x2e88ff=_0x23fac9;return this[_0x2e88ff(0x286)][_0x2e88ff(0x29a)](_0x4d0516)[_0x2e88ff(0x2d1)]((_0x46aa15,_0x2c41ba)=>{const _0x15d761=_0x2e88ff,_0x18a6c2=_0x15d761(0x2bf)==_0x39ccf2[_0x2c41ba][_0x15d761(0x24f)];if(_0x15d761(0x24e)==_0x46aa15[_0x15d761(0x228)]){const _0x19e256=_0x46aa15[_0x15d761(0x29c)][_0x15d761(0x2a0)];!this[_0x15d761(0x269)][_0x15d761(0x1f0)](_0x19e256)&&(this[_0x15d761(0x269)][_0x15d761(0x281)](_0x15d761(0x204),_0x19e256)[_0x15d761(0x251)]=!0x1);}const _0x296ec9=_0x22244f[_0x15d761(0x1e1)](_0x46aa15,this[_0x15d761(0x269)]);return _0x296ec9[_0x15d761(0x265)]=_0x46aa15[_0x15d761(0x265)],_0x296ec9[_0x15d761(0x255)]=_0x18a6c2,_0x296ec9[_0x15d761(0x214)]=_0x18a6c2?null:_0x39ccf2[_0x2c41ba][_0x15d761(0x223)],_0x296ec9[_0x15d761(0x27b)]=_0x15d761(0x2ba)===_0x39ccf2[_0x2c41ba][_0x15d761(0x24f)],_0x296ec9[_0x15d761(0x24c)]=_0x39ccf2[_0x2c41ba][_0x15d761(0x24c)],_0x296ec9;});}[_0x23fac9(0x224)](){const _0x28bd0e=_0x23fac9;this[_0x28bd0e(0x1f5)]=!0x0,this[_0x28bd0e(0x207)]()?this[_0x28bd0e(0x234)]():this[_0x28bd0e(0x1f5)]=!0x1;}[_0x23fac9(0x207)](){const _0x2d9783=_0x23fac9,_0x1b037f=this[_0x2d9783(0x22f)][_0x2d9783(0x227)][_0x2d9783(0x229)](_0x291ae3)[_0x2d9783(0x1ee)][_0x2d9783(0x229)](this[_0x2d9783(0x2a8)]);return!this[_0x2d9783(0x22f)][_0x2d9783(0x256)]&&!!_0x1b037f&&_0x1b037f[_0x2d9783(0x219)]>0x1&&this[_0x2d9783(0x1f5)];}[_0x23fac9(0x22e)](){const _0x53629b=_0x23fac9;return this[_0x53629b(0x220)][_0x53629b(0x219)]>0x0||this[_0x53629b(0x207)]();}}l[_0x23fac9(0x27a)]=_0x522e38;export default l;class J extends Error{}function _0xca7d(){const _0x3a625f=['_initThrowingOnDataSet','decompress','_handleSendingSelectionMarkers','position','serverHistory','listenTo','cloudDocumentVersion','root','lastOperationId','_handleExternalOperations','model','1162128AqEHAy','off','_ignoredOperations','real-time-collaboration','_channelId','initData','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','realtimecollaborationclient-initservice-incorrect-server-operation','document:write','baseVersion','filter','marker','_sendBufferedOperations','sessionCreatedAt','_sendBufferedOperationsDelayId','_bufferRootLoad','includes','realtimecollaborationclient-init-connection-failed','realtimecollaborationclient-sendbufferedoperations','_lastSyncedOperationId','set','path','cs:removeUser','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','pluginName','_compressOperations','createUserMarkerOperations','init','_hasSynchronizationProblem','rtc-destroyed','2284384UjMYwB','version','_handleInitialConnectionData','connection','suppressErrorInCollaboration','move','directChange','disableReadOnlyMode','clone','multi-root-editor-root-attributes-no-root','enqueueChange','round','_setPendingAction','realtimecollaborationclient-init-session-connection-error','connect','map','selection','mySessionId','sessionId','_isLoaded','change:hasDomSelection','showWarning','error','_operationToId','register','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_currentBufferDelay','_knownRootNames','Notification','reconnect','_waitUntilSynced','forEach','_getAffectedRoot','fromJSON','_handleReconnectionResponse','keys','collaboration.channelId','setIdForTheLastOperation','applyOperation','history','_handleReconnectionError','view','_handleReceivedOperations','unregister','has','rootsAttributes','channelSessions','93486ywPOPy','getRoot','isEnabled','collaboration-missing-channelid','realtimecollaborationclient-init-non-existent-root','addRootAttribute','_hasSelectionChanged','toJSON','affectedSelectable','getOperationAuthor','permissions','operationsReceived','differ','_fetchMissingUsers','code','reset','560hUXclt','12569emvgpF','attributes','lastOperationAcceptedAt','_pendingAction','$root','return','startsWith','_shouldSendSelectionUpdate','getMany','CommentsOnly','destroy','lastSyncVersion','push','getConnectedSessions','define','_saveOperationInBuffer','_loadRoot','409','createPositionAt','lastDocumentSession','_authorId','Permissions','loadRoot','fire','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','length','add','then','requires','isUndoneOperation','rtc-offline','sendOperations','_bufferedOperations','addRoot','_isConnected','userId','_refreshUserSelectionMarkers','remove','disconnect','plugins','__className','get','PENDING_ACTION_SENDING_DATA','bind','collaboration','realtimecollaborationclient-handleserverresponse','_shouldSendUpdate','editor','removeFromReconnectionStack','metadata','state','affectsData','_sendBufferedOperationsDelayed','_offset','finally','_operationIdentifier','sessionAdd:','stop','targetPosition','351640CadxmO','realtimecollaborationclient-init-document-already-initialized','_connectAfterSessionHasBeenFlushed','getOperations','_updateServerHistory','string','_disconnectionOperations','setPermissions','addUser','apply','enableReadOnlyMode','createRange','_getOperationsFromInitData','parse','260XQkKtO','_addKnownRoot','_disconnectService','createdAt','roots','InsertOperation','type','newRange','_isAttached','getDocumentDetails','change:_isPendingUpdate','disconnected','_isInit','isReadOnly','_crash','markers','_baseBufferDelay','RealTimeCollaborationClient','369WdVTCk','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.','change:range','slice','404','data','getIdOfTheLastOperation','size','wereChangesApplied','_service','wasUndone','_initSessionsHandling','_isEditingAllowed','config','_document','createPositionFromPath','_lastServerVersion','offset','addOperation','message','_isPendingUpdate','change:_isEditingAllowed','compress','entries','_setUpDataInit','1726401uqZIoA','_connectService','reconnection:\x20flushed\x20session','_knownOperations','4175960nkmOJL','_decompressOperations','CollaborativeEditingService','_isDisconnection','realtimecollaborationclient-initservice-internal-error','addToReconnectionStack','getUser','_handleServerResponse','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','createRoot','connected','high','cloudServices.bundleVersion','catch','_compressor','ready','end','batch','from','currentDocumentSession','start','cloud-services-internal-error:\x20Request\x20timeout.','stopListening','_applyOperationsSet','editing','isDocumentOperation','insert','_clearPendingAction','locale','document','Synchronization\x20issue','cloud-services-internal-error:\x20Not\x20connected.','rootName'];_0xca7d=function(){return _0x3a625f;};return _0xca7d();}function Q(_0x10f3d7,_0x51b03b){const _0x36f5be=_0x23fac9;for(const _0xaff854 of _0x10f3d7)_0xaff854[_0x36f5be(0x2ad)]=_0x51b03b++;}class X{constructor(_0xf4d9ec){const _0x398f0b=_0x23fac9;this[_0x398f0b(0x2a6)]=_0xf4d9ec,this[_0x398f0b(0x2d9)]=new WeakMap();}[_0x23fac9(0x261)](_0x3a3d09){const _0x3435d7=_0x23fac9;let _0x1e263a=_0x3a3d09[_0x3435d7(0x219)];for(;_0x1e263a--;){const _0x79a6fb=_0x3a3d09[_0x1e263a];if(!this[_0x3435d7(0x2a6)][_0x3435d7(0x1ec)](_0x79a6fb)){if(!this[_0x3435d7(0x2d9)][_0x3435d7(0x1ec)](_0x79a6fb)){const _0x4803a5=_0x9bcbe0()[_0x3435d7(0x25e)](0x1,0x12);this[_0x3435d7(0x2d9)][_0x3435d7(0x2b8)](_0x79a6fb,_0x4803a5);}return this[_0x3435d7(0x2d9)][_0x3435d7(0x229)](_0x79a6fb);}}}[_0x23fac9(0x1e5)](_0x4fcd1d,_0x3de489){const _0x3800c6=_0x23fac9;if(!_0x3de489)return;let _0x55e398=_0x4fcd1d[_0x3800c6(0x219)];for(;_0x55e398--;){const _0x15b095=_0x4fcd1d[_0x55e398];this[_0x3800c6(0x2a6)][_0x3800c6(0x1ec)](_0x15b095)||this[_0x3800c6(0x2d9)][_0x3800c6(0x2b8)](_0x15b095,_0x3de489);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x59a4(){const _0x5ca99d=['_createUser','1702790pDXzQa','Sessions','requires','_uniqueUsersCount','4046856WMKMzh','unregister','delete','_registeredSessions','4980RJkWZI','connection','plugins','init','sessions-register-already-registered','_users','isMe','sessionId','getUserRole','getUser','allConnectedUsers','assign','112lyhxsh','get','defineMe','add','809862jMkMPu','_handleSessionAdd','_handleSessionRemove','role','7wxPJUE','remove','3156oORzQy','change:state','addUser','user','529101xhMNVT','orderNumber','getUserBySessionId','sessions-unregister-not-exist','has','stopListening','set','1645545iqLahO','11WfMXlO','channelConnectedUsers','pluginName','channelSessions','connected','getUserSessions','592562sQBSkr','mySessionId','context','forEach','state','clear','size','2pdTqZx','listenTo','register','values','fire','sessionAdd:'];_0x59a4=function(){return _0x5ca99d;};return _0x59a4();}const _0x2caf6b=_0x2cac;(function(_0x52842c,_0x531c38){const _0x396e54=_0x2cac,_0x1feaee=_0x52842c();while(!![]){try{const _0x130362=-parseInt(_0x396e54(0x1d5))/0x1*(parseInt(_0x396e54(0x1dc))/0x2)+-parseInt(_0x396e54(0x1ce))/0x3+-parseInt(_0x396e54(0x1c3))/0x4*(-parseInt(_0x396e54(0x1eb))/0x5)+-parseInt(_0x396e54(0x1bd))/0x6*(-parseInt(_0x396e54(0x1c1))/0x7)+-parseInt(_0x396e54(0x1f7))/0x8*(-parseInt(_0x396e54(0x1c7))/0x9)+parseInt(_0x396e54(0x1e3))/0xa+-parseInt(_0x396e54(0x1cf))/0xb*(parseInt(_0x396e54(0x1e7))/0xc);if(_0x130362===_0x531c38)break;else _0x1feaee['push'](_0x1feaee['shift']());}catch(_0x32c4f9){_0x1feaee['push'](_0x1feaee['shift']());}}}(_0x59a4,0x6a677));import{ContextPlugin as _0x3b909d}from'ckeditor5/src/core.js';function _0x2cac(_0x404ec0,_0x24cac8){const _0x59a4be=_0x59a4();return _0x2cac=function(_0x2cac7e,_0x3fc7eb){_0x2cac7e=_0x2cac7e-0x1bd;let _0x3fec41=_0x59a4be[_0x2cac7e];return _0x3fec41;},_0x2cac(_0x404ec0,_0x24cac8);}import{Collection as _0x1e7255,CKEditorError as _0x575992}from'ckeditor5/src/utils.js';import _0x10ff0b from'./websocketgateway.js';import{Users as _0x5568ca}from'ckeditor5-collaboration/src/collaboration-core.js';export default class r extends _0x3b909d{static get[_0x2caf6b(0x1d1)](){const _0x57143e=_0x2caf6b;return _0x57143e(0x1e4);}static get[_0x2caf6b(0x1e5)](){return[_0x10ff0b,_0x5568ca];}constructor(_0x326816){const _0x3978c9=_0x2caf6b;super(_0x326816),this[_0x3978c9(0x1d2)]=new Map(),this[_0x3978c9(0x1d0)]=new Map(),this[_0x3978c9(0x1f5)]=new _0x1e7255(),this[_0x3978c9(0x1ea)]=new Map(),this[_0x3978c9(0x1e6)]=0x0,this[_0x3978c9(0x1f0)]=this[_0x3978c9(0x1d7)][_0x3978c9(0x1ed)][_0x3978c9(0x1f8)](_0x5568ca);}[_0x2caf6b(0x1ee)](){const _0x1f24a5=_0x2caf6b,_0x977fe5=this[_0x1f24a5(0x1d7)][_0x1f24a5(0x1ed)][_0x1f24a5(0x1f8)](_0x10ff0b);this[_0x1f24a5(0x1dd)](_0x977fe5,_0x1f24a5(0x1c4),(_0xb55fcd,_0x43bd1b,_0x1c9f10)=>{const _0x418e65=_0x1f24a5;if(_0x418e65(0x1d3)!==_0x1c9f10)this[_0x418e65(0x1d2)][_0x418e65(0x1d8)](_0x3b00bb=>_0x3b00bb[_0x418e65(0x1da)]()),this[_0x418e65(0x1d0)][_0x418e65(0x1d8)](_0x45d2f9=>_0x45d2f9[_0x418e65(0x1da)]()),this[_0x418e65(0x1f5)][_0x418e65(0x1da)]();else{for(const [_0xda8a36,_0x1dfc78]of this[_0x418e65(0x1ea)])for(const _0x322287 of _0x1dfc78)this[_0x418e65(0x1be)](_0xda8a36,_0x322287);}}),this[_0x1f24a5(0x1e2)](_0x977fe5[_0x1f24a5(0x1ec)]['me'],!0x0);}[_0x2caf6b(0x1de)](_0x252755,_0x4da23f){const _0x119010=_0x2caf6b;if(this[_0x119010(0x1ea)][_0x119010(0x1cb)](_0x252755))throw new _0x575992(_0x119010(0x1ef),null,{'channelId':_0x252755});this[_0x119010(0x1ea)][_0x119010(0x1cd)](_0x252755,_0x4da23f),this[_0x119010(0x1d2)][_0x119010(0x1cd)](_0x252755,new _0x1e7255()),this[_0x119010(0x1d0)][_0x119010(0x1cd)](_0x252755,new _0x1e7255()),this[_0x119010(0x1dd)](_0x4da23f,_0x119010(0x1fa),(_0x2069a2,_0x5ece2b)=>this[_0x119010(0x1be)](_0x252755,_0x5ece2b)),this[_0x119010(0x1dd)](_0x4da23f,_0x119010(0x1c2),(_0x43c51d,_0x1d63bb)=>this[_0x119010(0x1bf)](_0x252755,_0x1d63bb));for(const _0x2c355d of _0x4da23f)this[_0x119010(0x1be)](_0x252755,_0x2c355d);}[_0x2caf6b(0x1e8)](_0x335ca1){const _0xc1ed7f=_0x2caf6b;if(!this[_0xc1ed7f(0x1ea)][_0xc1ed7f(0x1cb)](_0x335ca1))throw new _0x575992(_0xc1ed7f(0x1ca),null,{'channelId':_0x335ca1});const _0x186254=this[_0xc1ed7f(0x1ea)][_0xc1ed7f(0x1f8)](_0x335ca1);this[_0xc1ed7f(0x1cc)](_0x186254);for(const _0x4c185f of _0x186254)_0xc1ed7f(0x1d3)===this[_0xc1ed7f(0x1d7)][_0xc1ed7f(0x1ed)][_0xc1ed7f(0x1f8)](_0x10ff0b)[_0xc1ed7f(0x1d9)]&&this[_0xc1ed7f(0x1bf)](_0x335ca1,_0x4c185f);this[_0xc1ed7f(0x1ea)][_0xc1ed7f(0x1e9)](_0x335ca1),this[_0xc1ed7f(0x1d2)][_0xc1ed7f(0x1e9)](_0x335ca1),this[_0xc1ed7f(0x1d0)][_0xc1ed7f(0x1e9)](_0x335ca1);}get[_0x2caf6b(0x1d6)](){const _0x224290=_0x2caf6b;return this[_0x224290(0x1d7)][_0x224290(0x1ed)][_0x224290(0x1f8)](_0x10ff0b)[_0x224290(0x1ec)][_0x224290(0x1f2)];}[_0x2caf6b(0x1c9)](_0x124054){const _0x1a5d28=_0x2caf6b;for(const _0x5ad836 of this[_0x1a5d28(0x1d2)][_0x1a5d28(0x1df)]())for(const _0x8c32db of _0x5ad836)if(_0x8c32db['id']===_0x124054)return _0x8c32db[_0x1a5d28(0x1c6)];}[_0x2caf6b(0x1d4)](_0x28e3fb,_0x585b4d){const _0xfd78c=_0x2caf6b,_0x125e2c=_0x585b4d?[this[_0xfd78c(0x1d2)][_0xfd78c(0x1f8)](_0x585b4d)]:this[_0xfd78c(0x1d2)][_0xfd78c(0x1df)](),_0x109d01=new Set();for(const _0x7fe5a2 of _0x125e2c)for(const _0x234a9c of _0x7fe5a2)_0x234a9c[_0xfd78c(0x1c6)]['id']===_0x28e3fb['id']&&_0x109d01[_0xfd78c(0x1fa)](_0x234a9c['id']);return _0x109d01;}[_0x2caf6b(0x1f3)](_0x5c4ca3){const _0x193478=_0x2caf6b;for(const _0x1efbab of this[_0x193478(0x1d2)][_0x193478(0x1df)]())for(const _0x127986 of _0x1efbab)if(_0x127986[_0x193478(0x1c6)]===_0x5c4ca3)return _0x127986[_0x193478(0x1c0)];}[_0x2caf6b(0x1be)](_0x26345b,_0x3b2616){const _0x53023a=_0x2caf6b;if(_0x53023a(0x1d3)!==this[_0x53023a(0x1d7)][_0x53023a(0x1ed)][_0x53023a(0x1f8)](_0x10ff0b)[_0x53023a(0x1d9)])return;const _0x4439d6=_0x3b2616[_0x53023a(0x1c6)],_0x1d595e=this[_0x53023a(0x1f0)][_0x53023a(0x1f4)](_0x4439d6['id'])||this[_0x53023a(0x1e2)](_0x4439d6),_0x562b8c=Object[_0x53023a(0x1f6)]({},_0x3b2616,{'user':_0x1d595e});this[_0x53023a(0x1d2)][_0x53023a(0x1f8)](_0x26345b)[_0x53023a(0x1fa)](_0x562b8c);const _0xb426d9=this[_0x53023a(0x1d0)][_0x53023a(0x1f8)](_0x26345b);_0xb426d9[_0x53023a(0x1cb)](_0x1d595e['id'])||_0xb426d9[_0x53023a(0x1fa)](_0x1d595e),this[_0x53023a(0x1f5)][_0x53023a(0x1cb)](_0x1d595e['id'])||this[_0x53023a(0x1f5)][_0x53023a(0x1fa)](_0x1d595e,_0x1d595e[_0x53023a(0x1f1)]?0x0:void 0x0),this[_0x53023a(0x1e0)](_0x53023a(0x1e1)+_0x26345b,{'channelId':_0x26345b,'session':_0x562b8c});}[_0x2caf6b(0x1bf)](_0x56f324,_0x47b84a){const _0x29ad19=_0x2caf6b;if(_0x29ad19(0x1d3)!==this[_0x29ad19(0x1d7)][_0x29ad19(0x1ed)][_0x29ad19(0x1f8)](_0x10ff0b)[_0x29ad19(0x1d9)])return;const _0x7d99d7=this[_0x29ad19(0x1d0)][_0x29ad19(0x1f8)](_0x56f324),_0x32afbc=_0x47b84a[_0x29ad19(0x1c6)];_0x32afbc['id']&&(this[_0x29ad19(0x1d2)][_0x29ad19(0x1f8)](_0x56f324)[_0x29ad19(0x1c2)](_0x47b84a['id']),_0x7d99d7[_0x29ad19(0x1cb)](_0x32afbc['id'])&&!this[_0x29ad19(0x1d4)](_0x32afbc,_0x56f324)[_0x29ad19(0x1db)]&&_0x7d99d7[_0x29ad19(0x1c2)](_0x32afbc['id']),this[_0x29ad19(0x1f5)][_0x29ad19(0x1f8)](_0x32afbc['id'])&&!this[_0x29ad19(0x1d4)](_0x32afbc)[_0x29ad19(0x1db)]&&this[_0x29ad19(0x1f5)][_0x29ad19(0x1c2)](_0x32afbc['id']));}[_0x2caf6b(0x1e2)](_0x1779fe,_0x324a25){const _0x4f5f06=_0x2caf6b,_0x4f0970=this[_0x4f5f06(0x1f0)][_0x4f5f06(0x1c5)](_0x1779fe);return _0x324a25&&this[_0x4f5f06(0x1f0)][_0x4f5f06(0x1f9)](_0x1779fe['id']),_0x4f0970[_0x4f5f06(0x1c8)]=this[_0x4f5f06(0x1e6)]++,_0x4f0970;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5797e4=_0x13ca;(function(_0x52c68,_0x7e5918){const _0x54d651=_0x13ca,_0x3b212b=_0x52c68();while(!![]){try{const _0x5681d9=-parseInt(_0x54d651(0xf5))/0x1*(-parseInt(_0x54d651(0xe6))/0x2)+parseInt(_0x54d651(0x109))/0x3+parseInt(_0x54d651(0xa7))/0x4+-parseInt(_0x54d651(0x100))/0x5+-parseInt(_0x54d651(0xd6))/0x6*(-parseInt(_0x54d651(0xd7))/0x7)+-parseInt(_0x54d651(0xdf))/0x8+parseInt(_0x54d651(0xde))/0x9*(-parseInt(_0x54d651(0xa8))/0xa);if(_0x5681d9===_0x7e5918)break;else _0x3b212b['push'](_0x3b212b['shift']());}catch(_0x126f97){_0x3b212b['push'](_0x3b212b['shift']());}}}(_0x4314,0xc677b));import{Plugin as _0x1c52c1}from'ckeditor5/src/core.js';import{global as _0x84655a,DomEmitterMixin as _0x3fd2a1}from'ckeditor5/src/utils.js';import _0x3e2a1e from'./sessions.js';function _0x4314(){const _0x39edc4=['has','ck-user__marker_hovered','user:position','root','tableCell','element','ck-user__selection','schema','getMarkerClass','fromRange','add','markerName','view','plugins','start','markerRange','51888mIqXog','1057FZIOxk','userPositionMarker','orderNumber','hasDomSelection','isCollapsed','set','requires','9333351ExhPIH','9338888Vftrkd','marker','remove','getUserBySessionId','destroy','_createdBatches','conversion','75514niUpFI','markerToHighlight','removeClass','$graveyard','update:user:range','classList','markerNameToElements','getAttribute','keydown','span','markers','ck-user__marker\x20','addMarker','getRange','commands','21HfUbry','highest','for','checkChild','nodeAfter','render','model','getCustomProperty','startsWith','mapper','mouseleave','1332460OiwbSz','listenTo','createUIElement','stopListening','init','afterInit','isLimit','getFirstRange','split','3313896qONcVS','isInline','toRange','innerHTML','editor','get','change','deletionPosition','toDomElement','contenteditable','user:position:','_domEmitter','UserMarkers','name','hasContent','user:range','isSimilar','createRange','newRange','<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>','batch','Escape','detach','pluginName','mySessionId','selection','editing','clear','$text','mouseenter','isObject','size','321752TMZMVO','10BsLXMO','updateMarker','getSelectionClass','removeMarker','color','addEventListener','data-session-id','rootName','getStart','delete','end','type','getContainedElement','document','user:','user:range:','reconvertMarker','change:range','createUserMarkerOperations','undo','enqueueChange','getNearestSelectionRange','</span>','getPositions','markerToElement','parent','applyOperation','setCustomProperty','editingDowncast','oldRange'];_0x4314=function(){return _0x39edc4;};return _0x4314();}import{LiveRange as _0x451f75}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x13ca(_0x2647eb,_0x2bbac5){const _0x4314b1=_0x4314();return _0x13ca=function(_0x13cae5,_0x1d44f3){_0x13cae5=_0x13cae5-0xa0;let _0x2d590f=_0x4314b1[_0x13cae5];return _0x2d590f;},_0x13ca(_0x2647eb,_0x2bbac5);}export default class H extends _0x1c52c1{constructor(){const _0x3648cc=_0x13ca;super(...arguments),this[_0x3648cc(0x114)]=new(_0x3fd2a1())();}static get[_0x5797e4(0xdd)](){return[_0x3e2a1e];}static get[_0x5797e4(0x120)](){const _0x5f43db=_0x5797e4;return _0x5f43db(0x115);}[_0x5797e4(0x104)](){const _0x33bdca=_0x5797e4,_0x17676a=this[_0x33bdca(0x10d)],_0xf976e5=_0x17676a[_0x33bdca(0xd3)][_0x33bdca(0x10e)](_0x3e2a1e);_0x17676a[_0x33bdca(0xe5)][_0x33bdca(0xf7)](_0x33bdca(0xc4))[_0x33bdca(0xc0)]({'model':_0x33bdca(0xc8),'view':(_0x36503e,{writer:_0x2be57c})=>function(_0x15270e,_0x971de9,_0x4449fc,_0x386792){const _0x44183e=_0x33bdca,_0x18d15f=_0x15270e[_0x44183e(0xd1)][_0x44183e(0x108)](':')[0x2],_0xfa4131=_0x4449fc[_0x44183e(0xe2)](_0x18d15f);if(!_0xfa4131||_0x18d15f===_0x4449fc[_0x44183e(0x121)])return;if(!_0x386792[_0x44183e(0xfb)][_0x44183e(0xcd)][_0x44183e(0xf8)](_0x15270e[_0x44183e(0xd5)][_0x44183e(0xd4)],_0x44183e(0xa3)))return;const _0x4e7322={'class':_0x44183e(0xf1)+_0xfa4131[_0x44183e(0xac)][_0x44183e(0xce)](),'data-name':_0xfa4131[_0x44183e(0x116)],'data-session-id':_0x18d15f},_0x2ea827=_0x386792[_0x44183e(0xfb)][_0x44183e(0xf0)][_0x44183e(0x10e)](_0x15270e[_0x44183e(0xd1)]),_0x1ddf9d=_0x2ea827[_0x44183e(0xb0)](),_0xd9cee=_0x1ddf9d[_0x44183e(0xf9)],_0x22337a=_0x386792[_0x44183e(0xfb)][_0x44183e(0xcd)];if(_0xd9cee&&_0x22337a[_0x44183e(0xa5)](_0xd9cee)&&_0x22337a[_0x44183e(0x10a)](_0xd9cee)&&!_0x386792[_0x44183e(0xfb)][_0x44183e(0xf0)][_0x44183e(0x10e)](_0x44183e(0xb7)+_0x18d15f)[_0x44183e(0xf3)]()[_0x44183e(0xdb)])return;const _0x1117c4=_0x1ddf9d[_0x44183e(0xc1)];return _0x386792[_0x44183e(0xfb)][_0x44183e(0xcd)][_0x44183e(0x106)](_0x1117c4)&&!_0x386792[_0x44183e(0xfb)][_0x44183e(0x117)](_0x1117c4)&&(_0x4e7322[_0x44183e(0x112)]=!0x1),function(_0x277017,_0x5762b4,_0x7f1942){const _0x2e09cd=_0x44183e,_0x4d06d8=_0x277017[_0x2e09cd(0x102)](_0x2e09cd(0xef),_0x5762b4);return _0x277017[_0x2e09cd(0xc3)](_0x2e09cd(0xd8),!0x0,_0x4d06d8),_0x4d06d8[_0x2e09cd(0xfa)]=function(_0x1615f7){const _0xe04f76=_0x2e09cd,_0x4fda40=this[_0xe04f76(0x111)](_0x1615f7);return _0x4fda40[_0xe04f76(0x10c)]=_0xe04f76(0x11c)+_0x7f1942[_0xe04f76(0x116)]+_0xe04f76(0xbe),_0x4fda40[_0xe04f76(0xad)](_0xe04f76(0xa4),()=>{const _0x44c4a3=_0xe04f76;_0x4fda40[_0x44c4a3(0xeb)][_0x44c4a3(0xd0)](_0x44c4a3(0xc7));}),_0x4fda40[_0xe04f76(0xad)](_0xe04f76(0xff),()=>{const _0xbdb10c=_0xe04f76;_0x4fda40[_0xbdb10c(0xeb)][_0xbdb10c(0xe1)](_0xbdb10c(0xc7));}),_0x4fda40;},_0x4d06d8[_0x2e09cd(0x119)]=function(_0x3334ca){const _0x452329=_0x2e09cd;return!(!this[_0x452329(0xfc)](_0x452329(0xd8))||!_0x3334ca[_0x452329(0xfc)](_0x452329(0xd8))||this[_0x452329(0xed)](_0x452329(0xae))!=_0x3334ca[_0x452329(0xed)](_0x452329(0xae)));},_0x4d06d8;}(_0x971de9,_0x4e7322,_0xfa4131);}(_0x36503e,_0x2be57c,_0xf976e5,_0x17676a)}),_0x17676a[_0x33bdca(0xe5)][_0x33bdca(0xf7)](_0x33bdca(0xc4))[_0x33bdca(0xe7)]({'model':_0x33bdca(0x118),'view':_0xb06db0=>function(_0x23e5d7,_0x537eed){const _0x5ca337=_0x33bdca,_0x50f599=_0x23e5d7[_0x5ca337(0xd1)][_0x5ca337(0x108)](':')[0x2];if(_0x50f599===_0x537eed[_0x5ca337(0x121)])return null;const _0x2d2bf6=_0x537eed[_0x5ca337(0xe2)](_0x50f599);if(!_0x2d2bf6)return{'id':_0x50f599,'classes':[]};return{'id':_0x50f599,'classes':[_0x5ca337(0xcc),_0x2d2bf6[_0x5ca337(0xac)][_0x5ca337(0xaa)]()],'attributes':{'data-session-id':_0x50f599},'priority':0x7d0+_0x2d2bf6[_0x5ca337(0xd9)]};}(_0xb06db0,_0xf976e5)}),function(_0x3f02ed){const _0x3cd7b6=_0x33bdca,_0x58ca2c=_0x3f02ed[_0x3cd7b6(0xfb)],_0x4f9d85=new Map(),_0x525909=_0x3f02ed[_0x3cd7b6(0xd3)][_0x3cd7b6(0x10e)](_0x3e2a1e);_0x58ca2c[_0x3cd7b6(0xf0)]['on'](_0x3cd7b6(0xea),(_0x14e83f,_0x17f4b6,_0x44a6a7,_0xd90b7a)=>{const _0x1fb3ae=_0x3cd7b6;if(!_0xd90b7a&&_0x4f9d85[_0x1fb3ae(0x10e)](_0x17f4b6[_0x1fb3ae(0x116)]))return _0x4f9d85[_0x1fb3ae(0x10e)](_0x17f4b6[_0x1fb3ae(0x116)])[_0x1fb3ae(0x11f)](),void _0x4f9d85[_0x1fb3ae(0xb1)](_0x17f4b6[_0x1fb3ae(0x116)]);const _0x2590f7=_0x17f4b6[_0x1fb3ae(0x116)][_0x1fb3ae(0x108)](':')[0x2];if(_0x2590f7===_0x525909[_0x1fb3ae(0x121)])return;const _0x23e779=_0x1fb3ae(0x113)+_0x2590f7;_0x58ca2c[_0x1fb3ae(0xf0)][_0x1fb3ae(0xc6)](_0x23e779)&&_0x3f02ed[_0x1fb3ae(0xa1)][_0x1fb3ae(0xb8)](_0x23e779),_0x17f4b6['on'](_0x1fb3ae(0xb9),(_0x546d2e,_0x233aa3,_0x5be7d4)=>{const _0x301215=_0x1fb3ae;if(_0x301215(0xe9)!=_0x233aa3[_0x301215(0xc9)][_0x301215(0xaf)]&&_0x301215(0xe9)==_0x17f4b6[_0x301215(0xf3)]()[_0x301215(0xc9)][_0x301215(0xaf)]&&!_0x4f9d85[_0x301215(0xc6)](_0x17f4b6[_0x301215(0x116)])){const _0x84f6ae=_0x58ca2c[_0x301215(0xcd)][_0x301215(0xbd)](_0x5be7d4[_0x301215(0x110)]);if(_0x84f6ae){const _0x1eb657=_0x451f75[_0x301215(0xcf)](_0x84f6ae);_0x4f9d85[_0x301215(0xdc)](_0x17f4b6[_0x301215(0x116)],_0x1eb657),_0x1eb657['on'](_0x301215(0xb9),(_0x4a58d6,_0x5b37c9,_0x3fcbe7)=>{const _0xf27bd1=_0x301215;if(_0xf27bd1(0xe9)==_0x1eb657[_0xf27bd1(0xc9)][_0xf27bd1(0xaf)]){const _0x5946d9=_0x58ca2c[_0xf27bd1(0xcd)][_0xf27bd1(0xbd)](_0x3fcbe7[_0xf27bd1(0x110)]);_0x5946d9?(_0x1eb657[_0xf27bd1(0xd4)]=_0x5946d9[_0xf27bd1(0xd4)],_0x1eb657[_0xf27bd1(0xb2)]=_0x5946d9[_0xf27bd1(0xb2)]):(_0x4f9d85[_0xf27bd1(0xb1)](_0x17f4b6[_0xf27bd1(0x116)]),_0x1eb657[_0xf27bd1(0x11f)]());}});}}});}),_0x58ca2c[_0x3cd7b6(0xb5)]['on'](_0x3cd7b6(0x10f),()=>{const _0x43006d=_0x3cd7b6;_0x4f9d85[_0x43006d(0xa6)]>0x0&&_0x58ca2c[_0x43006d(0xbc)]({'isUndoable':!0x1},_0x23e63d=>{const _0x2dc0ff=_0x43006d;for(const [_0x4da02e,_0x31dc04]of _0x4f9d85)_0x2dc0ff(0xe9)==_0x58ca2c[_0x2dc0ff(0xf0)][_0x2dc0ff(0x10e)](_0x4da02e)[_0x2dc0ff(0xf3)]()[_0x2dc0ff(0xc9)][_0x2dc0ff(0xaf)]&&(re(_0x4da02e[_0x2dc0ff(0x108)](':')[0x2],_0x31dc04[_0x2dc0ff(0x10b)](),_0x58ca2c,_0x23e63d),_0x31dc04[_0x2dc0ff(0x11f)]());_0x4f9d85[_0x2dc0ff(0xa2)]();});});}(_0x17676a),this[_0x33bdca(0x114)][_0x33bdca(0x101)](_0x84655a[_0x33bdca(0xb5)],_0x33bdca(0xee),(_0x1a7e05,{key:_0x4cf537})=>{const _0x12e2dc=_0x33bdca;_0x12e2dc(0x11e)===_0x4cf537&&function(_0x4d553e){const _0x3baddc=_0x12e2dc;_0x4d553e[_0x3baddc(0xa1)][_0x3baddc(0xd2)][_0x3baddc(0x10f)](_0x54c383=>{const _0x36a367=_0x3baddc;for(const _0x2c2fbb of _0x4d553e[_0x36a367(0xfb)][_0x36a367(0xf0)]){if(!_0x2c2fbb[_0x36a367(0x116)][_0x36a367(0xfd)](_0x36a367(0xc8)))continue;const _0x32e9a4=_0x4d553e[_0x36a367(0xa1)][_0x36a367(0xfe)][_0x36a367(0xec)](_0x2c2fbb[_0x36a367(0x116)]);if(_0x32e9a4){for(const _0x296232 of _0x32e9a4)_0x54c383[_0x36a367(0xe8)](_0x36a367(0xc7),_0x296232);}}});}(_0x17676a);},{'useCapture':!0x0});}[_0x5797e4(0x105)](){const _0x28efd8=_0x5797e4,_0x2ac374=this[_0x28efd8(0x10d)],_0x3a3af6=_0x2ac374[_0x28efd8(0xf4)][_0x28efd8(0x10e)](_0x28efd8(0xbb));_0x3a3af6&&_0x2ac374[_0x28efd8(0xfb)]['on'](_0x28efd8(0xc2),(_0x6f4a51,_0x1f746b)=>{const _0x134c19=_0x28efd8,_0xae8de9=_0x1f746b[0x0];if(_0x134c19(0xe0)!=_0xae8de9[_0x134c19(0xb3)]||!_0xae8de9[_0x134c19(0x116)][_0x134c19(0xfd)](_0x134c19(0xb6)))return;const _0x3c9e71=_0xae8de9[_0x134c19(0x11d)];_0x3a3af6[_0x134c19(0xe4)][_0x134c19(0xc6)](_0x3c9e71)&&(_0xae8de9[_0x134c19(0x11b)]=_0xae8de9[_0x134c19(0xc5)]?_0x2ac374[_0x134c19(0xfb)][_0x134c19(0x11a)](_0xae8de9[_0x134c19(0xc5)][_0x134c19(0xd4)],_0xae8de9[_0x134c19(0xc5)][_0x134c19(0xb2)]):null);},{'priority':_0x28efd8(0xf6)});}[_0x5797e4(0xe3)](){const _0x4b2a3b=_0x5797e4;return this[_0x4b2a3b(0x114)][_0x4b2a3b(0x103)](),super[_0x4b2a3b(0xe3)]();}[_0x5797e4(0xba)](){const _0x340610=_0x5797e4,_0xebaca6=this[_0x340610(0x10d)],_0x42a2b9=_0xebaca6[_0x340610(0xfb)][_0x340610(0xb5)],_0x5e7290=_0xebaca6[_0x340610(0xd3)][_0x340610(0x10e)](_0x3e2a1e);_0xebaca6[_0x340610(0xfb)][_0x340610(0xbc)]({'isUndoable':!0x1},_0x30b929=>{const _0x46f218=_0x340610,_0x1d5a6a=_0x46f218(0xb7)+_0x5e7290[_0x46f218(0x121)],_0x232454=_0x46f218(0x113)+_0x5e7290[_0x46f218(0x121)],_0x3fb826=_0xebaca6[_0x46f218(0xfb)][_0x46f218(0xf0)][_0x46f218(0xc6)](_0x1d5a6a);_0xebaca6[_0x46f218(0xa1)][_0x46f218(0xd2)][_0x46f218(0xda)]?re(_0x5e7290[_0x46f218(0x121)],_0x42a2b9[_0x46f218(0xa0)][_0x46f218(0x107)](),_0xebaca6[_0x46f218(0xfb)],_0x30b929):_0x3fb826&&(_0x30b929[_0x46f218(0xab)](_0x1d5a6a),_0x30b929[_0x46f218(0xab)](_0x232454));});}}function re(_0xafda4b,_0x26af61,_0x211c55,_0x4b395a){const _0x56f410=_0x5797e4,_0x2fecdb=_0x56f410(0xb7)+_0xafda4b,_0x3c1d60=_0x56f410(0x113)+_0xafda4b,_0x587ff3=_0x26af61[_0x56f410(0xb4)]();let _0x4010d1=_0x26af61[_0x56f410(0xd4)];_0x587ff3&&_0x587ff3['is'](_0x56f410(0xcb),_0x56f410(0xca))&&(_0x4010d1=function(_0x4889d7,_0x3662d4){const _0x306048=_0x56f410;for(const _0x1a793a of _0x4889d7[_0x306048(0xbf)]())if(_0x3662d4[_0x306048(0xcd)][_0x306048(0xf8)](_0x1a793a,_0x306048(0xa3)))return _0x1a793a;}(_0x26af61,_0x211c55),_0x26af61=_0x4b395a[_0x56f410(0x11a)](_0x4010d1));const _0x342fe0=_0x4b395a[_0x56f410(0x11a)](_0x4010d1);_0x211c55[_0x56f410(0xf0)][_0x56f410(0xc6)](_0x2fecdb)?(_0x4b395a[_0x56f410(0xa9)](_0x2fecdb,{'range':_0x26af61}),_0x4b395a[_0x56f410(0xa9)](_0x3c1d60,{'range':_0x342fe0})):(_0x4b395a[_0x56f410(0xf2)](_0x2fecdb,{'range':_0x26af61,'usingOperation':!0x0}),_0x4b395a[_0x56f410(0xf2)](_0x3c1d60,{'range':_0x342fe0,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x51826e=_0x5d9e;(function(_0x3af7c5,_0x206286){const _0x52287d=_0x5d9e,_0x5d5388=_0x3af7c5();while(!![]){try{const _0xda4fd1=-parseInt(_0x52287d(0x167))/0x1+parseInt(_0x52287d(0x11a))/0x2*(-parseInt(_0x52287d(0x16f))/0x3)+parseInt(_0x52287d(0x10d))/0x4+-parseInt(_0x52287d(0x105))/0x5*(parseInt(_0x52287d(0x101))/0x6)+-parseInt(_0x52287d(0x159))/0x7*(-parseInt(_0x52287d(0x115))/0x8)+-parseInt(_0x52287d(0x10c))/0x9+parseInt(_0x52287d(0x165))/0xa;if(_0xda4fd1===_0x206286)break;else _0x5d5388['push'](_0x5d5388['shift']());}catch(_0x470241){_0x5d5388['push'](_0x5d5388['shift']());}}}(_0x311c,0xcf9d2));function _0x311c(){const _0x406f02=['3697968rwuQoj','add','requires','remove','isLimit','createUIElement','name','init','67616WCvaqI','<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>','getContainedElement','toRange','ck-user__selection','3163934FhelwF','parent','checkChild','createRange','highest','plugins','$graveyard','end','for','undo','getNearestSelectionRange','mapper','markerNameToElements','enqueueChange','mouseenter','</span>','getCustomProperty','orderNumber','$text','addMarker','getStart','getPositions','view','mySessionId','conversion','classList','createUserMarkerOperations','toDomElement','applyOperation','reconvertMarker','getSelectionClass','clear','element','batch','user:range','tableCell','user:position','mouseleave','updateMarker','has','start','model','selection','detach','setCustomProperty','getAttribute','newRange','ck-user__marker_hovered','getMarkerClass','user:range:','listenTo','_createdBatches','editor','root','getRange','getFirstRange','schema','size','editingDowncast','isSimilar','split','isObject','getUserBySessionId','259XjTxUt','addEventListener','stopListening','document','markerRange','editing','isInline','set','destroy','marker','removeMarker','nodeAfter','27439180UpeNGL','_domEmitter','1349844oawSTx','removeClass','render','contenteditable','markerToHighlight','Escape','change:range','oldRange','3ZIfAxy','innerHTML','markerName','rootName','span','markers','fromRange','user:','startsWith','UserMarkers','hasDomSelection','deletionPosition','pluginName','color','ck-user__marker\x20','hasContent','update:user:range','type','data-session-id','markerToElement','282hEGaBz','change','commands','user:position:','16535aMcISq','isCollapsed','get','delete','keydown','userPositionMarker','afterInit','391572wKOJtO'];_0x311c=function(){return _0x406f02;};return _0x311c();}import{Plugin as _0x57f5a5}from'ckeditor5/src/core.js';function _0x5d9e(_0x1a816c,_0x317896){const _0x311c61=_0x311c();return _0x5d9e=function(_0x5d9ea2,_0x160c89){_0x5d9ea2=_0x5d9ea2-0xf9;let _0xd4a602=_0x311c61[_0x5d9ea2];return _0xd4a602;},_0x5d9e(_0x1a816c,_0x317896);}import{global as _0x22541a,DomEmitterMixin as _0x17593d}from'ckeditor5/src/utils.js';import _0x5339a6 from'./sessions.js';import{LiveRange as _0x482251}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x57f5a5{constructor(){const _0x4e4243=_0x5d9e;super(...arguments),this[_0x4e4243(0x166)]=new(_0x17593d())();}static get[_0x51826e(0x10f)](){return[_0x5339a6];}static get[_0x51826e(0xf9)](){const _0x5b3587=_0x51826e;return _0x5b3587(0x178);}[_0x51826e(0x114)](){const _0x420a37=_0x51826e,_0x56da63=this[_0x420a37(0x14e)],_0x2195e1=_0x56da63[_0x420a37(0x11f)][_0x420a37(0x107)](_0x5339a6);_0x56da63[_0x420a37(0x132)][_0x420a37(0x122)](_0x420a37(0x154))[_0x420a37(0x100)]({'model':_0x420a37(0x13e),'view':(_0x153b96,{writer:_0x2d4182})=>function(_0x1b6eb8,_0x5c85cf,_0x41122e,_0x19392d){const _0x4406d6=_0x420a37,_0x4b731f=_0x1b6eb8[_0x4406d6(0x171)][_0x4406d6(0x156)](':')[0x2],_0x51f2bc=_0x41122e[_0x4406d6(0x158)](_0x4b731f);if(!_0x51f2bc||_0x4b731f===_0x41122e[_0x4406d6(0x131)])return;if(!_0x19392d[_0x4406d6(0x143)][_0x4406d6(0x152)][_0x4406d6(0x11c)](_0x1b6eb8[_0x4406d6(0x15d)][_0x4406d6(0x142)],_0x4406d6(0x12c)))return;const _0x30aa24={'class':_0x4406d6(0xfb)+_0x51f2bc[_0x4406d6(0xfa)][_0x4406d6(0x14a)](),'data-name':_0x51f2bc[_0x4406d6(0x113)],'data-session-id':_0x4b731f},_0x30c07c=_0x19392d[_0x4406d6(0x143)][_0x4406d6(0x174)][_0x4406d6(0x107)](_0x1b6eb8[_0x4406d6(0x171)]),_0x20572f=_0x30c07c[_0x4406d6(0x12e)](),_0x2d91b9=_0x20572f[_0x4406d6(0x164)],_0x27b638=_0x19392d[_0x4406d6(0x143)][_0x4406d6(0x152)];if(_0x2d91b9&&_0x27b638[_0x4406d6(0x157)](_0x2d91b9)&&_0x27b638[_0x4406d6(0x15f)](_0x2d91b9)&&!_0x19392d[_0x4406d6(0x143)][_0x4406d6(0x174)][_0x4406d6(0x107)](_0x4406d6(0x14b)+_0x4b731f)[_0x4406d6(0x150)]()[_0x4406d6(0x106)])return;const _0x46d28c=_0x20572f[_0x4406d6(0x11b)];return _0x19392d[_0x4406d6(0x143)][_0x4406d6(0x152)][_0x4406d6(0x111)](_0x46d28c)&&!_0x19392d[_0x4406d6(0x143)][_0x4406d6(0xfc)](_0x46d28c)&&(_0x30aa24[_0x4406d6(0x16a)]=!0x1),function(_0x5a7b53,_0x36df15,_0x5aa6c7){const _0x1362da=_0x4406d6,_0x11da67=_0x5a7b53[_0x1362da(0x112)](_0x1362da(0x173),_0x36df15);return _0x5a7b53[_0x1362da(0x146)](_0x1362da(0x10a),!0x0,_0x11da67),_0x11da67[_0x1362da(0x169)]=function(_0x13a509){const _0x4bebda=_0x1362da,_0x161f6a=this[_0x4bebda(0x135)](_0x13a509);return _0x161f6a[_0x4bebda(0x170)]=_0x4bebda(0x116)+_0x5aa6c7[_0x4bebda(0x113)]+_0x4bebda(0x129),_0x161f6a[_0x4bebda(0x15a)](_0x4bebda(0x128),()=>{const _0x4d01ed=_0x4bebda;_0x161f6a[_0x4d01ed(0x133)][_0x4d01ed(0x10e)](_0x4d01ed(0x149));}),_0x161f6a[_0x4bebda(0x15a)](_0x4bebda(0x13f),()=>{const _0x357c44=_0x4bebda;_0x161f6a[_0x357c44(0x133)][_0x357c44(0x110)](_0x357c44(0x149));}),_0x161f6a;},_0x11da67[_0x1362da(0x155)]=function(_0x4a8fae){const _0x38d4ac=_0x1362da;return!(!this[_0x38d4ac(0x12a)](_0x38d4ac(0x10a))||!_0x4a8fae[_0x38d4ac(0x12a)](_0x38d4ac(0x10a))||this[_0x38d4ac(0x147)](_0x38d4ac(0xff))!=_0x4a8fae[_0x38d4ac(0x147)](_0x38d4ac(0xff)));},_0x11da67;}(_0x5c85cf,_0x30aa24,_0x51f2bc);}(_0x153b96,_0x2d4182,_0x2195e1,_0x56da63)}),_0x56da63[_0x420a37(0x132)][_0x420a37(0x122)](_0x420a37(0x154))[_0x420a37(0x16b)]({'model':_0x420a37(0x13c),'view':_0x1a39b2=>function(_0x318686,_0x5e21a0){const _0x2c4c06=_0x420a37,_0x21a5b2=_0x318686[_0x2c4c06(0x171)][_0x2c4c06(0x156)](':')[0x2];if(_0x21a5b2===_0x5e21a0[_0x2c4c06(0x131)])return null;const _0x3fa951=_0x5e21a0[_0x2c4c06(0x158)](_0x21a5b2);if(!_0x3fa951)return{'id':_0x21a5b2,'classes':[]};return{'id':_0x21a5b2,'classes':[_0x2c4c06(0x119),_0x3fa951[_0x2c4c06(0xfa)][_0x2c4c06(0x138)]()],'attributes':{'data-session-id':_0x21a5b2},'priority':0x7d0+_0x3fa951[_0x2c4c06(0x12b)]};}(_0x1a39b2,_0x2195e1)}),function(_0x4d6404){const _0x23079e=_0x420a37,_0x3b966a=_0x4d6404[_0x23079e(0x143)],_0x2b5def=new Map(),_0x909736=_0x4d6404[_0x23079e(0x11f)][_0x23079e(0x107)](_0x5339a6);_0x3b966a[_0x23079e(0x174)]['on'](_0x23079e(0xfd),(_0x49078d,_0x55b0db,_0x434b40,_0x55fa22)=>{const _0x331e52=_0x23079e;if(!_0x55fa22&&_0x2b5def[_0x331e52(0x107)](_0x55b0db[_0x331e52(0x113)]))return _0x2b5def[_0x331e52(0x107)](_0x55b0db[_0x331e52(0x113)])[_0x331e52(0x145)](),void _0x2b5def[_0x331e52(0x108)](_0x55b0db[_0x331e52(0x113)]);const _0x2c3745=_0x55b0db[_0x331e52(0x113)][_0x331e52(0x156)](':')[0x2];if(_0x2c3745===_0x909736[_0x331e52(0x131)])return;const _0x1a215f=_0x331e52(0x104)+_0x2c3745;_0x3b966a[_0x331e52(0x174)][_0x331e52(0x141)](_0x1a215f)&&_0x4d6404[_0x331e52(0x15e)][_0x331e52(0x137)](_0x1a215f),_0x55b0db['on'](_0x331e52(0x16d),(_0x425e1b,_0x94d2b8,_0xaa9210)=>{const _0x4b4097=_0x331e52;if(_0x4b4097(0x120)!=_0x94d2b8[_0x4b4097(0x14f)][_0x4b4097(0x172)]&&_0x4b4097(0x120)==_0x55b0db[_0x4b4097(0x150)]()[_0x4b4097(0x14f)][_0x4b4097(0x172)]&&!_0x2b5def[_0x4b4097(0x141)](_0x55b0db[_0x4b4097(0x113)])){const _0x21d33f=_0x3b966a[_0x4b4097(0x152)][_0x4b4097(0x124)](_0xaa9210[_0x4b4097(0x17a)]);if(_0x21d33f){const _0x374cd5=_0x482251[_0x4b4097(0x175)](_0x21d33f);_0x2b5def[_0x4b4097(0x160)](_0x55b0db[_0x4b4097(0x113)],_0x374cd5),_0x374cd5['on'](_0x4b4097(0x16d),(_0x3c2241,_0x17ea84,_0x4a1d36)=>{const _0x37f832=_0x4b4097;if(_0x37f832(0x120)==_0x374cd5[_0x37f832(0x14f)][_0x37f832(0x172)]){const _0x5661f0=_0x3b966a[_0x37f832(0x152)][_0x37f832(0x124)](_0x4a1d36[_0x37f832(0x17a)]);_0x5661f0?(_0x374cd5[_0x37f832(0x142)]=_0x5661f0[_0x37f832(0x142)],_0x374cd5[_0x37f832(0x121)]=_0x5661f0[_0x37f832(0x121)]):(_0x2b5def[_0x37f832(0x108)](_0x55b0db[_0x37f832(0x113)]),_0x374cd5[_0x37f832(0x145)]());}});}}});}),_0x3b966a[_0x23079e(0x15c)]['on'](_0x23079e(0x102),()=>{const _0x471bce=_0x23079e;_0x2b5def[_0x471bce(0x153)]>0x0&&_0x3b966a[_0x471bce(0x127)]({'isUndoable':!0x1},_0x18c98c=>{const _0x2583e4=_0x471bce;for(const [_0x4bbec1,_0x4c7516]of _0x2b5def)_0x2583e4(0x120)==_0x3b966a[_0x2583e4(0x174)][_0x2583e4(0x107)](_0x4bbec1)[_0x2583e4(0x150)]()[_0x2583e4(0x14f)][_0x2583e4(0x172)]&&(re(_0x4bbec1[_0x2583e4(0x156)](':')[0x2],_0x4c7516[_0x2583e4(0x118)](),_0x3b966a,_0x18c98c),_0x4c7516[_0x2583e4(0x145)]());_0x2b5def[_0x2583e4(0x139)]();});});}(_0x56da63),this[_0x420a37(0x166)][_0x420a37(0x14c)](_0x22541a[_0x420a37(0x15c)],_0x420a37(0x109),(_0x4dec5c,{key:_0x1662d8})=>{const _0x4a9f88=_0x420a37;_0x4a9f88(0x16c)===_0x1662d8&&function(_0xc4184a){const _0x430ce5=_0x4a9f88;_0xc4184a[_0x430ce5(0x15e)][_0x430ce5(0x130)][_0x430ce5(0x102)](_0x2a6d7b=>{const _0x50e763=_0x430ce5;for(const _0xd84efb of _0xc4184a[_0x50e763(0x143)][_0x50e763(0x174)]){if(!_0xd84efb[_0x50e763(0x113)][_0x50e763(0x177)](_0x50e763(0x13e)))continue;const _0xef2ddc=_0xc4184a[_0x50e763(0x15e)][_0x50e763(0x125)][_0x50e763(0x126)](_0xd84efb[_0x50e763(0x113)]);if(_0xef2ddc){for(const _0x2702e7 of _0xef2ddc)_0x2a6d7b[_0x50e763(0x168)](_0x50e763(0x149),_0x2702e7);}}});}(_0x56da63);},{'useCapture':!0x0});}[_0x51826e(0x10b)](){const _0x196eb4=_0x51826e,_0x3aa73a=this[_0x196eb4(0x14e)],_0xe7c8af=_0x3aa73a[_0x196eb4(0x103)][_0x196eb4(0x107)](_0x196eb4(0x123));_0xe7c8af&&_0x3aa73a[_0x196eb4(0x143)]['on'](_0x196eb4(0x136),(_0x173714,_0x2ee491)=>{const _0x5236ca=_0x196eb4,_0x6d417d=_0x2ee491[0x0];if(_0x5236ca(0x162)!=_0x6d417d[_0x5236ca(0xfe)]||!_0x6d417d[_0x5236ca(0x113)][_0x5236ca(0x177)](_0x5236ca(0x176)))return;const _0x568679=_0x6d417d[_0x5236ca(0x13b)];_0xe7c8af[_0x5236ca(0x14d)][_0x5236ca(0x141)](_0x568679)&&(_0x6d417d[_0x5236ca(0x148)]=_0x6d417d[_0x5236ca(0x16e)]?_0x3aa73a[_0x5236ca(0x143)][_0x5236ca(0x11d)](_0x6d417d[_0x5236ca(0x16e)][_0x5236ca(0x142)],_0x6d417d[_0x5236ca(0x16e)][_0x5236ca(0x121)]):null);},{'priority':_0x196eb4(0x11e)});}[_0x51826e(0x161)](){const _0x3edc99=_0x51826e;return this[_0x3edc99(0x166)][_0x3edc99(0x15b)](),super[_0x3edc99(0x161)]();}[_0x51826e(0x134)](){const _0x1f53ee=_0x51826e,_0x23527b=this[_0x1f53ee(0x14e)],_0x2c8f7d=_0x23527b[_0x1f53ee(0x143)][_0x1f53ee(0x15c)],_0x38afbd=_0x23527b[_0x1f53ee(0x11f)][_0x1f53ee(0x107)](_0x5339a6);_0x23527b[_0x1f53ee(0x143)][_0x1f53ee(0x127)]({'isUndoable':!0x1},_0xd276b1=>{const _0x54d769=_0x1f53ee,_0x2666e2=_0x54d769(0x14b)+_0x38afbd[_0x54d769(0x131)],_0xc2f761=_0x54d769(0x104)+_0x38afbd[_0x54d769(0x131)],_0x5a216c=_0x23527b[_0x54d769(0x143)][_0x54d769(0x174)][_0x54d769(0x141)](_0x2666e2);_0x23527b[_0x54d769(0x15e)][_0x54d769(0x130)][_0x54d769(0x179)]?re(_0x38afbd[_0x54d769(0x131)],_0x2c8f7d[_0x54d769(0x144)][_0x54d769(0x151)](),_0x23527b[_0x54d769(0x143)],_0xd276b1):_0x5a216c&&(_0xd276b1[_0x54d769(0x163)](_0x2666e2),_0xd276b1[_0x54d769(0x163)](_0xc2f761));});}}function re(_0x32193a,_0x23ed30,_0x32bfd2,_0x1b8842){const _0x2203f3=_0x51826e,_0x1020f5=_0x2203f3(0x14b)+_0x32193a,_0x40faf5=_0x2203f3(0x104)+_0x32193a,_0x2c042a=_0x23ed30[_0x2203f3(0x117)]();let _0x37b355=_0x23ed30[_0x2203f3(0x142)];_0x2c042a&&_0x2c042a['is'](_0x2203f3(0x13a),_0x2203f3(0x13d))&&(_0x37b355=function(_0x1a7480,_0x5c3161){const _0x293dea=_0x2203f3;for(const _0x7c411b of _0x1a7480[_0x293dea(0x12f)]())if(_0x5c3161[_0x293dea(0x152)][_0x293dea(0x11c)](_0x7c411b,_0x293dea(0x12c)))return _0x7c411b;}(_0x23ed30,_0x32bfd2),_0x23ed30=_0x1b8842[_0x2203f3(0x11d)](_0x37b355));const _0x24320e=_0x1b8842[_0x2203f3(0x11d)](_0x37b355);_0x32bfd2[_0x2203f3(0x174)][_0x2203f3(0x141)](_0x1020f5)?(_0x1b8842[_0x2203f3(0x140)](_0x1020f5,{'range':_0x23ed30}),_0x1b8842[_0x2203f3(0x140)](_0x40faf5,{'range':_0x24320e})):(_0x1b8842[_0x2203f3(0x12d)](_0x1020f5,{'range':_0x23ed30,'usingOperation':!0x0}),_0x1b8842[_0x2203f3(0x12d)](_0x40faf5,{'range':_0x24320e,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d9224=_0x53c4;(function(_0x4dcd32,_0x34d438){const _0x4f898f=_0x53c4,_0x3b84cf=_0x4dcd32();while(!![]){try{const _0x3e640a=parseInt(_0x4f898f(0x19c))/0x1+parseInt(_0x4f898f(0x19e))/0x2+parseInt(_0x4f898f(0x1a3))/0x3*(parseInt(_0x4f898f(0x1ae))/0x4)+parseInt(_0x4f898f(0x199))/0x5+parseInt(_0x4f898f(0x18b))/0x6*(-parseInt(_0x4f898f(0x190))/0x7)+-parseInt(_0x4f898f(0x1af))/0x8+parseInt(_0x4f898f(0x174))/0x9*(-parseInt(_0x4f898f(0x17d))/0xa);if(_0x3e640a===_0x34d438)break;else _0x3b84cf['push'](_0x3b84cf['shift']());}catch(_0x4ee92f){_0x3b84cf['push'](_0x3b84cf['shift']());}}}(_0x1386,0xd3ddc));import{ContextPlugin as _0x52457e}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x5bacab,CKEditorError as _0x47cf0a}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4df735,WEB_SOCKET_GATEWAY_STATES as _0x1fd3a0}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x53c4(_0x21b581,_0xbd6042){const _0x1386ae=_0x1386();return _0x53c4=function(_0x53c48e,_0x3b3c6c){_0x53c48e=_0x53c48e-0x169;let _0x387f20=_0x1386ae[_0x53c48e];return _0x387f20;},_0x53c4(_0x21b581,_0xbd6042);}import{Notification as _0x31c7c5}from'ckeditor5/src/ui.js';class c extends _0x52457e{static get[_0x2d9224(0x171)](){const _0x891ef2=_0x2d9224;return[_0x891ef2(0x195),_0x31c7c5];}static get[_0x2d9224(0x16a)](){const _0x3466cc=_0x2d9224;return _0x3466cc(0x1a9);}constructor(_0x4d39d8){const _0x42c3f9=_0x2d9224;super(_0x4d39d8),this[_0x42c3f9(0x189)](_0x42c3f9(0x194),_0x1fd3a0[_0x42c3f9(0x197)]),this[_0x42c3f9(0x189)](_0x42c3f9(0x18a),!0x1),this[_0x42c3f9(0x16c)]=new Set(),this[_0x42c3f9(0x177)]=!0x1,this[_0x42c3f9(0x17a)]=Object[_0x42c3f9(0x1a6)](_0x5bacab);}[_0x2d9224(0x198)](){const _0x39ad4e=_0x2d9224,_0x5be7d8=this[_0x39ad4e(0x181)],_0x18bd20=_0x5be7d8[_0x39ad4e(0x187)][_0x39ad4e(0x1a8)](_0x39ad4e(0x195)),_0x2b1e76=_0x5be7d8[_0x39ad4e(0x187)][_0x39ad4e(0x1a8)](_0x31c7c5);if(!_0x18bd20[_0x39ad4e(0x17e)])throw new _0x47cf0a(_0x39ad4e(0x196),this);if(!_0x18bd20[_0x39ad4e(0x19a)])throw new _0x47cf0a(_0x39ad4e(0x1ab),this);return this[_0x39ad4e(0x17a)][_0x39ad4e(0x18d)](window,_0x39ad4e(0x1a1),()=>this[_0x39ad4e(0x18a)]=!0x0),this[_0x39ad4e(0x17a)][_0x39ad4e(0x18d)](window,_0x39ad4e(0x1ad),()=>this[_0x39ad4e(0x18a)]=!0x1),this[_0x39ad4e(0x181)][_0x39ad4e(0x170)][_0x39ad4e(0x193)](_0x39ad4e(0x183),0xa),this[_0x39ad4e(0x181)][_0x39ad4e(0x170)][_0x39ad4e(0x193)](_0x39ad4e(0x17f),0x14),c[_0x39ad4e(0x1a9)][_0x39ad4e(0x175)](_0x18bd20[_0x39ad4e(0x17e)],_0x18bd20[_0x39ad4e(0x19a)],{'timeout':0x3e8*this[_0x39ad4e(0x181)][_0x39ad4e(0x170)][_0x39ad4e(0x1a8)](_0x39ad4e(0x183)),'requestTimeout':0x3e8*this[_0x39ad4e(0x181)][_0x39ad4e(0x170)][_0x39ad4e(0x1a8)](_0x39ad4e(0x17f))})[_0x39ad4e(0x1a4)](_0x2dd25e=>{const _0x517ab0=_0x39ad4e;if(this[_0x517ab0(0x186)]=_0x2dd25e,this[_0x517ab0(0x19d)](_0x517ab0(0x194))['to'](_0x2dd25e,_0x517ab0(0x194),this,_0x517ab0(0x18a),(_0x17c80a,_0x137712)=>(_0x517ab0(0x169)!==_0x17c80a&&(this[_0x517ab0(0x177)]=!0x0),_0x137712||_0x17c80a!==_0x1fd3a0[_0x517ab0(0x197)]?_0x1fd3a0[_0x517ab0(0x188)]:this[_0x517ab0(0x194)]==_0x1fd3a0[_0x517ab0(0x188)]&&this[_0x517ab0(0x177)]?(this[_0x517ab0(0x177)]=!0x1,this[_0x517ab0(0x191)](),_0x1fd3a0[_0x517ab0(0x184)]):_0x1fd3a0[_0x517ab0(0x197)])),this[_0x517ab0(0x186)]['on'](_0x517ab0(0x1aa),(_0x481b5b,_0x1c6f1b)=>{const _0x3b1fc7=_0x517ab0;if(_0x3b1fc7(0x179)!==_0x1c6f1b[_0x3b1fc7(0x178)])throw console[_0x3b1fc7(0x1aa)](_0x1c6f1b),new _0x47cf0a(_0x3b1fc7(0x1ac),null,{'originalError':_0x1c6f1b});_0x2b1e76[_0x3b1fc7(0x17c)](_0x3b1fc7(0x185),{'title':_0x3b1fc7(0x1b0),'namespace':_0x3b1fc7(0x192)});}),!_0x2dd25e['me'])return new Promise(_0x1ca0bf=>_0x2dd25e['on'](_0x517ab0(0x16f),_0x1ca0bf));})[_0x39ad4e(0x16e)](_0x594a64=>{const _0x293a74=_0x39ad4e;throw console[_0x293a74(0x1aa)](_0x594a64),new _0x47cf0a(_0x293a74(0x1ac),null,{'originalError':_0x594a64});});}[_0x2d9224(0x1a7)](_0x52946e){const _0x33f2af=_0x2d9224;if(_0x33f2af(0x1a5)!=typeof _0x52946e[_0x33f2af(0x1a2)])throw new _0x47cf0a(_0x33f2af(0x180),this);if(this[_0x33f2af(0x182)](_0x52946e))throw new _0x47cf0a(_0x33f2af(0x17b),this,{'name':_0x52946e[_0x33f2af(0x173)][_0x33f2af(0x16a)]});this[_0x33f2af(0x16c)][_0x33f2af(0x19f)](_0x52946e);}[_0x2d9224(0x1b1)](_0x5be44c){const _0x581cc4=_0x2d9224;this[_0x581cc4(0x16c)][_0x581cc4(0x16d)](_0x5be44c);}[_0x2d9224(0x182)](_0x10c37d){const _0x311c41=_0x2d9224;return this[_0x311c41(0x16c)][_0x311c41(0x176)](_0x10c37d);}[_0x2d9224(0x191)](){const _0x1a5cc6=_0x2d9224;return this[_0x1a5cc6(0x186)][_0x1a5cc6(0x1a2)]()[_0x1a5cc6(0x1a4)](()=>Promise[_0x1a5cc6(0x19b)](Array[_0x1a5cc6(0x18c)](this[_0x1a5cc6(0x16c)],_0x281b14=>_0x281b14[_0x1a5cc6(0x1a2)]())))[_0x1a5cc6(0x1a4)](()=>this[_0x1a5cc6(0x194)]=_0x1fd3a0[_0x1a5cc6(0x197)])[_0x1a5cc6(0x16e)](_0x3fc46c=>{const _0x322fc8=_0x1a5cc6;throw console[_0x322fc8(0x1aa)](_0x3fc46c),new _0x47cf0a(_0x322fc8(0x18f),this[_0x322fc8(0x181)]);});}[_0x2d9224(0x18e)](){const _0x6c2ad3=_0x2d9224;this[_0x6c2ad3(0x186)]&&this[_0x6c2ad3(0x186)][_0x6c2ad3(0x1a0)](),this[_0x6c2ad3(0x194)]=_0x1fd3a0[_0x6c2ad3(0x188)],this[_0x6c2ad3(0x17a)][_0x6c2ad3(0x16b)](),super[_0x6c2ad3(0x18e)]();}}function _0x1386(){const _0x134989=['96042ZMvXUX','from','listenTo','destroy','cloudservices-reconnection-error','175UIXmYo','_reconnect','real-time-collaboration','define','state','CloudServices','websocketgateway-missing-token','CONNECTED','init','3978025sVAvKd','webSocketUrl','all','1566469XZIpEx','bind','3359432QuSbsu','add','disconnect','offline','reconnect','1752741emprwt','then','function','create','addToReconnectionStack','get','WebSocketGateway','error','websocketgateway-missing-websocket-url','cloudservices-init','online','4MrGTab','1913768sVcQcq','Connected\x20users\x20limit\x20exceeded','removeFromReconnectionStack','connected','pluginName','stopListening','_reconnectionStack','delete','catch','change:me','config','requires','initialReconnectionInterval','constructor','9vEsyuN','connect','has','_shouldPluginsReconnect','code','limitExceeded','_domEmitter','websocketgateway-plugin-already-registered','showWarning','31188370MARKnn','token','cloudServices.requestTimeout','websocketgateway-invalid-plugin-interface','context','isInReconnectionStack','cloudServices.connectionTimeout','CONNECTING','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.','connection','plugins','DISCONNECTED','set','_isBrowserOffline'];_0x1386=function(){return _0x134989;};return _0x1386();}c[_0x2d9224(0x1a9)]=_0x4df735,c[_0x2d9224(0x172)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2154(_0x3ad2ae,_0x2acbff){var _0x2d4948=_0x2d49();return _0x2154=function(_0x2154e9,_0x36298a){_0x2154e9=_0x2154e9-0x1cd;var _0x551ea0=_0x2d4948[_0x2154e9];return _0x551ea0;},_0x2154(_0x3ad2ae,_0x2acbff);}var _0x2b57af=_0x2154;(function(_0x567b69,_0x266c3a){var _0x3a9bd2=_0x2154,_0x354061=_0x567b69();while(!![]){try{var _0x6d07c9=-parseInt(_0x3a9bd2(0x1cd))/0x1*(-parseInt(_0x3a9bd2(0x1cf))/0x2)+-parseInt(_0x3a9bd2(0x1da))/0x3+parseInt(_0x3a9bd2(0x1d8))/0x4+parseInt(_0x3a9bd2(0x1d9))/0x5*(-parseInt(_0x3a9bd2(0x1ce))/0x6)+parseInt(_0x3a9bd2(0x1d6))/0x7*(-parseInt(_0x3a9bd2(0x1d7))/0x8)+parseInt(_0x3a9bd2(0x1d1))/0x9*(parseInt(_0x3a9bd2(0x1d2))/0xa)+parseInt(_0x3a9bd2(0x1d3))/0xb;if(_0x6d07c9===_0x266c3a)break;else _0x354061['push'](_0x354061['shift']());}catch(_0xc7925f){_0x354061['push'](_0x354061['shift']());}}}(_0x2d49,0x88f99));import{Plugin as _0xe79d6f}from'ckeditor5/src/core.js';import _0x19e3a1 from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0xe79d6f{static get[_0x2b57af(0x1d0)](){return[_0x19e3a1];}static get[_0x2b57af(0x1d5)](){var _0x8c98ab=_0x2b57af;return _0x8c98ab(0x1d4);}}function _0x2d49(){var _0x19527c=['1988312BoDrXU','1865NFSacr','269106RkBUdd','193OhZhBc','13602ofkArg','2974KaFYmj','requires','42831aZtGdh','220IpgnOS','6830461YSxHJM','RealTimeCollaborativeEditing','pluginName','224QuvHXk','3344dfxyWi'];_0x2d49=function(){return _0x19527c;};return _0x2d49();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4210a6=_0x42dd;(function(_0x17564b,_0x531281){const _0x163917=_0x42dd,_0x15e14c=_0x17564b();while(!![]){try{const _0x191ce0=-parseInt(_0x163917(0x122))/0x1*(parseInt(_0x163917(0x130))/0x2)+parseInt(_0x163917(0x11e))/0x3*(-parseInt(_0x163917(0x135))/0x4)+-parseInt(_0x163917(0x146))/0x5+-parseInt(_0x163917(0x166))/0x6+-parseInt(_0x163917(0x13a))/0x7+parseInt(_0x163917(0x11b))/0x8*(parseInt(_0x163917(0x123))/0x9)+-parseInt(_0x163917(0x119))/0xa*(-parseInt(_0x163917(0x16e))/0xb);if(_0x191ce0===_0x531281)break;else _0x15e14c['push'](_0x15e14c['shift']());}catch(_0x28f8e7){_0x15e14c['push'](_0x15e14c['shift']());}}}(_0x4d1f,0x5f8b2));import{Plugin as _0x5b03dd}from'ckeditor5/src/core.js';function _0x42dd(_0x43a781,_0x32c7ce){const _0x4d1feb=_0x4d1f();return _0x42dd=function(_0x42ddda,_0x41071f){_0x42ddda=_0x42ddda-0x113;let _0x1372b2=_0x4d1feb[_0x42ddda];return _0x1372b2;},_0x42dd(_0x43a781,_0x32c7ce);}import{version as _0x37fd3b}from'ckeditor5/src/utils.js';import{Users as _0x3ae0c1}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2f5585 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x45b505 from'../realtimecollaborativeediting/websocketgateway.js';import _0x34a32f from'../realtimecollaborativeediting/sessions.js';function _0x4d1f(){const _0x50d9c9=['then','getRevisions','length','affectsData','addToReconnectionStack','_waitForServiceReady','wrongRequestId','size','cloudServices.bundleVersion','isConnected','once','remove','data','_createCurrentRevision','currentRevision','adapter','getUser','plugins','_getLatestVersion','_offset','3048730yBMDIQ','max','34312aTCKQn','RevisionHistoryService','requires','21YfDsYd','serverHistory','get','_lastRequestId','516081DeQInU','153BbjRXc','from','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','_fetchMissingUsers','state','buildRevisionData','RevisionTracker','getMany','reInit','_revisionTracker','isEnabled','message','getRevision','2YOhToE','400','_revisionHistoryService','updateRevisions','change:_isConnected','102412HFOPoj','connect','toVersion','bind','fromVersion','2723833tvrqYr','isEmptyCurrent','off','_startingVersion','connection','addRevisionData','baseVersion','setRevisionData','config','code','marker','connected','2417040QpyWvr','diffData','authors','keys','has','destroy','isBundleUploaded','cloud-services-internal-error:\x20Request\x20timeout.','getOperations','init','editor','createdAt','_preventResendingRevisionData','_getLatestVersionFromServerOperations','_handleReconnectionError','map','catch','revisionsUpdated','creatorId','_isConnected','sessionId','reverse','_bufferUpdate','startsWith','CONNECTED','type','collaboration.channelId','listenTo','add','reconnect','_fixRevision','_revisionDataBuilder','1487094OMITTo','_handleRevisionsUpdate','_revisions','_isPendingUpdate','_bufferedUpdates','setSource','repository','addUser','77zqbVPG','_update','cloud-services-internal-error:\x20Not\x20connected.','sendBufferedUpdates','authorsIds','change:_isPendingUpdate','_oldOffset'];_0x4d1f=function(){return _0x50d9c9;};return _0x4d1f();}import{EditorService as _0x2fbeda,RevisionHistoryService as _0x7a5d51,User as _0x2aa874,WEB_SOCKET_GATEWAY_STATES as _0xccc569}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class v extends _0x5b03dd{static get[_0x4210a6(0x11d)](){const _0x1d0b16=_0x4210a6;return[_0x45b505,_0x2f5585,_0x1d0b16(0x129),_0x34a32f,_0x3ae0c1];}constructor(_0x2da212){const _0x8deafa=_0x4210a6;super(_0x2da212);const _0x58c1ae=this[_0x8deafa(0x150)][_0x8deafa(0x142)][_0x8deafa(0x120)](_0x8deafa(0x160));this[_0x8deafa(0x121)]=null,this[_0x8deafa(0x12c)]=this[_0x8deafa(0x150)][_0x8deafa(0x116)][_0x8deafa(0x120)](_0x8deafa(0x129)),this[_0x8deafa(0x132)]=new v[(_0x8deafa(0x11c))](_0x58c1ae);}async[_0x4210a6(0x14f)](){const _0x447e65=_0x4210a6,_0x2ad429=this[_0x447e65(0x150)][_0x447e65(0x116)][_0x447e65(0x120)](_0x2f5585),_0x561742=_0x2ad429[_0x447e65(0x11f)],_0x122eeb=this[_0x447e65(0x150)][_0x447e65(0x116)][_0x447e65(0x120)](_0x45b505);this[_0x447e65(0x12c)][_0x447e65(0x16b)]({'history':_0x561742,'getLatestVersion':()=>this[_0x447e65(0x117)](),'getCurrentRevisionId':()=>_0x2ad429[_0x447e65(0x15a)]});const _0x53bf22=this[_0x447e65(0x150)][_0x447e65(0x142)][_0x447e65(0x120)](_0x447e65(0x17d))||_0x37fd3b,_0x428ed4=await _0x2fbeda[_0x447e65(0x14c)](_0x122eeb[_0x447e65(0x13e)],_0x53bf22);this[_0x447e65(0x12c)][_0x447e65(0x114)]={'getRevision':async({revisionId:_0x4d3e57})=>(await this[_0x447e65(0x17a)](),await this[_0x447e65(0x132)][_0x447e65(0x12f)](_0x4d3e57)),'updateRevisions':async _0x4433c7=>{const _0x2ef854=_0x447e65;await this[_0x2ef854(0x17a)]();const _0x4fa0db=this[_0x2ef854(0x12c)][_0x2ef854(0x113)];if(_0x428ed4&&0x1===_0x4433c7[_0x2ef854(0x177)]&&_0x4433c7[0x0]['id']===_0x4fa0db['id'])return _0x4433c7;for(const _0x3a0c61 of _0x4433c7)_0x3a0c61['id']===_0x4fa0db['id']&&(_0x3a0c61[_0x2ef854(0x13b)]=_0x3a0c61[_0x2ef854(0x139)]===_0x3a0c61[_0x2ef854(0x137)]);return this[_0x2ef854(0x132)][_0x2ef854(0x133)](_0x4433c7,this[_0x2ef854(0x121)])[_0x2ef854(0x175)](_0x213a5e=>(this[_0x2ef854(0x121)]=_0x213a5e,_0x4433c7))[_0x2ef854(0x156)](_0x1bc986=>{const _0x6a9e1=_0x2ef854;if(st(_0x1bc986)||_0x6a9e1(0x131)===_0x1bc986[_0x6a9e1(0x143)]&&void 0x0!==_0x1bc986[_0x6a9e1(0x181)][_0x6a9e1(0x17b)]){for(const _0x396352 of _0x4433c7){!this[_0x6a9e1(0x12c)][_0x6a9e1(0x16c)][_0x6a9e1(0x12f)](_0x396352['id'])||this[_0x6a9e1(0x12c)][_0x6a9e1(0x15c)](_0x396352['id'],_0x396352,!0x1);}if(st(_0x1bc986))throw _0x1bc986;return _0x4433c7;}throw _0x1bc986;});}},this[_0x447e65(0x161)](this[_0x447e65(0x132)],_0x447e65(0x157),(_0x5ab6ad,{revisionsData:_0x9c9440,requestId:_0x396a63})=>{const _0x8922c1=_0x447e65;Math[_0x8922c1(0x11a)](..._0x9c9440[_0x8922c1(0x155)](_0x34b5b4=>_0x34b5b4[_0x8922c1(0x137)]))>this[_0x8922c1(0x153)]()-0x1?this[_0x8922c1(0x117)]()[_0x8922c1(0x175)](()=>{const _0x24e373=_0x8922c1;this[_0x24e373(0x167)](_0x9c9440,_0x396a63);}):this[_0x8922c1(0x167)](_0x9c9440,_0x396a63);});const {revisions:_0x4df54a,requestId:_0x5cd22e}=await this[_0x447e65(0x132)][_0x447e65(0x136)](_0x122eeb[_0x447e65(0x13e)]);_0x122eeb[_0x447e65(0x179)](this),this[_0x447e65(0x121)]=_0x5cd22e,await this[_0x447e65(0x126)](_0x4df54a);for(const _0x4fd2d0 of _0x4df54a)this[_0x447e65(0x12c)][_0x447e65(0x13f)](_0x4fd2d0);this[_0x447e65(0x161)](_0x2ad429,_0x447e65(0x134),(_0x178544,_0x187c8b,_0x256408)=>{const _0x19a3b8=_0x447e65;_0x256408&&(this[_0x19a3b8(0x174)]=_0x2ad429[_0x19a3b8(0x118)],_0x178544[_0x19a3b8(0x13c)]());}),this[_0x447e65(0x12c)][_0x447e65(0x138)](_0x447e65(0x12d))['to'](_0x122eeb,_0x447e65(0x127),_0x211fd5=>_0x211fd5===_0xccc569[_0x447e65(0x15e)]);}async[_0x4210a6(0x163)](){const _0x41a797=_0x4210a6,_0x41e154=this[_0x41a797(0x150)][_0x41a797(0x116)][_0x41a797(0x120)](_0x45b505),_0x4b9803=this[_0x41a797(0x150)][_0x41a797(0x116)][_0x41a797(0x120)](_0x2f5585),_0x403a14=async()=>{const _0x2b591d=_0x41a797,_0xce4045=this[_0x2b591d(0x12c)][_0x2b591d(0x113)],_0x5c0d18=_0xce4045['id'],_0x1c4ebf=_0x5c0d18!==_0x4b9803[_0x2b591d(0x15a)];if(_0x1c4ebf){const _0x43714c=_0x4b9803[_0x2b591d(0x118)]-this[_0x2b591d(0x174)],_0x360c25=this[_0x2b591d(0x153)]();this[_0x2b591d(0x12c)][_0x2b591d(0x165)][_0x2b591d(0x12b)]();if(_0xce4045[_0x2b591d(0x137)]+_0x43714c!==_0x360c25){const _0x3cbd41=_0xce4045[_0x2b591d(0x139)]+_0x43714c,_0x345be8=this[_0x2b591d(0x150)][_0x2b591d(0x116)][_0x2b591d(0x120)](_0x3ae0c1),_0x3fc790=this[_0x2b591d(0x12c)][_0x2b591d(0x128)]({'revision':_0xce4045,'from':_0x3cbd41,'to':_0x360c25});_0x3fc790['id']=_0xce4045['id'];const _0x17d31d=_0x3fc790[_0x2b591d(0x172)][_0x2b591d(0x155)](_0x4672bb=>_0x345be8[_0x2b591d(0x115)](_0x4672bb));_0xce4045[_0x2b591d(0x16f)]({..._0x3fc790,'authors':_0x17d31d},!0x0),this[_0x2b591d(0x12c)][_0x2b591d(0x15c)](_0xce4045['id'],_0x3fc790,!0x0);}this[_0x2b591d(0x12c)][_0x2b591d(0x13d)]=_0x360c25,(_0xce4045[_0x2b591d(0x137)]===_0xce4045[_0x2b591d(0x139)]&&!this[_0x2b591d(0x12c)][_0x2b591d(0x16a)][_0x2b591d(0x14a)](_0x5c0d18)&&this[_0x2b591d(0x12c)][_0x2b591d(0x16c)][_0x2b591d(0x168)][_0x2b591d(0x180)](_0x5c0d18),this[_0x2b591d(0x12c)][_0x2b591d(0x182)](_0x360c25));}const {revisions:_0x414388,requestId:_0x59ef71}=await this[_0x2b591d(0x132)][_0x2b591d(0x163)](_0x41e154[_0x2b591d(0x13e)],this[_0x2b591d(0x121)]);_0x1c4ebf&&_0x414388[_0x2b591d(0x177)]>0x0?_0x4b9803[_0x2b591d(0x154)]():(await this[_0x2b591d(0x126)](_0x414388),this[_0x2b591d(0x167)](_0x414388,_0x59ef71),this[_0x2b591d(0x12c)][_0x2b591d(0x171)]());};return _0x4b9803[_0x41a797(0x159)]?_0x403a14():new Promise((_0x26f653,_0x4af1c1)=>{const _0x28785e=_0x41a797;_0x4b9803[_0x28785e(0x17f)](_0x28785e(0x134),()=>{const _0x3fafab=_0x28785e;_0x403a14()[_0x3fafab(0x175)](_0x26f653)[_0x3fafab(0x156)](_0x4af1c1);});});}[_0x4210a6(0x14b)](){const _0x258d75=_0x4210a6;super[_0x258d75(0x14b)]();}async[_0x4210a6(0x17a)](){const _0x13eb8e=_0x4210a6;this[_0x13eb8e(0x132)][_0x13eb8e(0x17e)]||await new Promise(_0x41356c=>{const _0x7ae60a=_0x13eb8e;this[_0x7ae60a(0x161)](this[_0x7ae60a(0x132)],_0x7ae60a(0x145),_0x4f578f=>{const _0x3749e1=_0x7ae60a;_0x4f578f[_0x3749e1(0x13c)](),_0x41356c();});});}[_0x4210a6(0x153)](){const _0x2895c1=_0x4210a6,_0x3f05b2=this[_0x2895c1(0x150)][_0x2895c1(0x116)][_0x2895c1(0x120)](_0x2f5585)[_0x2895c1(0x11f)][_0x2895c1(0x14e)]()[_0x2895c1(0x15b)]();for(const _0x15af27 of _0x3f05b2)if(_0x2895c1(0x144)!==_0x15af27[_0x2895c1(0x15f)]||_0x15af27[_0x2895c1(0x178)])return _0x15af27[_0x2895c1(0x140)]+0x1;}[_0x4210a6(0x117)](){const _0x11c40b=_0x4210a6,_0x506edd=this[_0x11c40b(0x150)][_0x11c40b(0x116)][_0x11c40b(0x120)](_0x2f5585);return new Promise(_0x40fce9=>{const _0x1a4e7c=_0x11c40b;_0x506edd[_0x1a4e7c(0x169)]?_0x506edd[_0x1a4e7c(0x17f)](_0x1a4e7c(0x173),()=>{const _0x3830ec=_0x1a4e7c;_0x40fce9(this[_0x3830ec(0x153)]());}):_0x40fce9(this[_0x1a4e7c(0x153)]());});}[_0x4210a6(0x167)](_0x1f56c4,_0x3504b2){const _0x576c8e=_0x4210a6,_0xd6cb1e=this[_0x576c8e(0x12c)][_0x576c8e(0x16c)];this[_0x576c8e(0x121)]=_0x3504b2;for(const _0xd9d777 of _0x1f56c4){const _0x36ddf2=_0xd6cb1e[_0x576c8e(0x12f)](_0xd9d777['id']);if(_0x36ddf2){if((_0xd9d777[_0x576c8e(0x139)]||_0xd9d777[_0x576c8e(0x137)])&&(_0xd9d777[_0x576c8e(0x147)]=null),_0x36ddf2===this[_0x576c8e(0x12c)][_0x576c8e(0x113)]){const _0x2ba701=Math[_0x576c8e(0x11a)](_0x36ddf2[_0x576c8e(0x137)],_0xd9d777[_0x576c8e(0x137)]),_0xb46972=Math[_0x576c8e(0x11a)](_0x36ddf2[_0x576c8e(0x139)],_0xd9d777[_0x576c8e(0x139)]);let _0x2b8477;_0x36ddf2[_0x576c8e(0x137)]===_0xd9d777[_0x576c8e(0x137)]&&_0x36ddf2[_0x576c8e(0x139)]===_0xd9d777[_0x576c8e(0x139)]?(_0x2b8477=!0x0,this[_0x576c8e(0x152)](_0xd9d777)):_0xd9d777[_0x576c8e(0x137)]===_0x2ba701&&_0xd9d777[_0x576c8e(0x139)]===_0xb46972?_0x2b8477=!0x1:(_0x36ddf2[_0x576c8e(0x137)]===_0x2ba701&&_0x36ddf2[_0x576c8e(0x139)]===_0xb46972||this[_0x576c8e(0x164)]({'revision':_0x36ddf2,'from':_0xb46972,'to':_0x2ba701}),_0x2b8477=!0x0),_0x2b8477&&(delete _0xd9d777[_0x576c8e(0x139)],delete _0xd9d777[_0x576c8e(0x137)],delete _0xd9d777[_0x576c8e(0x147)],delete _0xd9d777[_0x576c8e(0x151)],delete _0xd9d777[_0x576c8e(0x172)]);}this[_0x576c8e(0x12c)][_0x576c8e(0x141)](_0xd9d777),this[_0x576c8e(0x152)](_0xd9d777);}else this[_0x576c8e(0x12c)][_0x576c8e(0x13f)](_0xd9d777);}const _0x176d74=_0xd6cb1e[_0x576c8e(0x176)]();_0x176d74[_0x576c8e(0x15b)]();for(let _0x28b931=0x0;_0x28b931<_0x176d74[_0x576c8e(0x177)]-0x1;_0x28b931++){const _0x24664f=_0x176d74[_0x28b931],_0x1f2cc4=_0x176d74[_0x28b931+0x1];if(_0x24664f[_0x576c8e(0x139)]<_0x1f2cc4[_0x576c8e(0x137)]){const _0x8b1197=_0x1f2cc4[_0x576c8e(0x137)],_0x4763b2=Math[_0x576c8e(0x11a)](_0x8b1197,_0x24664f[_0x576c8e(0x137)]);this[_0x576c8e(0x164)]({'revision':_0x24664f,'from':_0x8b1197,'to':_0x4763b2});}}}[_0x4210a6(0x164)]({revision:_0x5c1af9,from:_0x481cd0,to:_0x467555}={}){const _0x52b7da=_0x4210a6,_0x204a9=this[_0x52b7da(0x150)][_0x52b7da(0x116)][_0x52b7da(0x120)](_0x3ae0c1),_0x4eaed1=this[_0x52b7da(0x12c)][_0x52b7da(0x128)]({'revision':_0x5c1af9,'from':_0x481cd0,'to':_0x467555});_0x4eaed1[_0x52b7da(0x148)]=_0x4eaed1[_0x52b7da(0x172)][_0x52b7da(0x155)](_0x503cc9=>_0x204a9[_0x52b7da(0x115)](_0x503cc9)),_0x5c1af9[_0x52b7da(0x16f)](_0x4eaed1);}[_0x4210a6(0x152)](_0x3cdeb2){const _0x322819=_0x4210a6,_0x4561bb={};_0x4561bb['id']=_0x3cdeb2['id'];for(const _0x4b7793 of Object[_0x322819(0x149)](_0x3cdeb2))'id'!==_0x4b7793&&(_0x4561bb[_0x4b7793]=void 0x0);this[_0x322819(0x12c)][_0x322819(0x15c)](_0x4561bb['id'],_0x4561bb,!0x0);}async[_0x4210a6(0x126)](_0x4bda9e){const _0x1cabf9=_0x4210a6,_0x1394c7=this[_0x1cabf9(0x150)][_0x1cabf9(0x116)][_0x1cabf9(0x120)](_0x3ae0c1),{connection:_0x4e5e3d}=this[_0x1cabf9(0x150)][_0x1cabf9(0x116)][_0x1cabf9(0x120)](_0x45b505),_0x5b95b7=new Set();for(const _0x24ab8b of _0x4bda9e){for(const _0x3cac8f of _0x24ab8b[_0x1cabf9(0x172)])_0x24f42a(_0x3cac8f);_0x24ab8b[_0x1cabf9(0x158)]&&_0x24f42a(_0x24ab8b[_0x1cabf9(0x158)]);}if(0x0===_0x5b95b7[_0x1cabf9(0x17c)])return;const _0x12e28f=await _0x2aa874[_0x1cabf9(0x12a)](_0x4e5e3d,Array[_0x1cabf9(0x124)](_0x5b95b7));for(const _0x2c78d2 of _0x12e28f)_0x1394c7[_0x1cabf9(0x115)](_0x2c78d2['id'])||_0x1394c7[_0x1cabf9(0x16d)](_0x2c78d2);function _0x24f42a(_0x58b05d){const _0x4ce169=_0x1cabf9;_0x1394c7[_0x4ce169(0x115)](_0x58b05d)||_0x5b95b7[_0x4ce169(0x162)](_0x58b05d);}}}v[_0x4210a6(0x11c)]=_0x7a5d51;export default v;function st(_0x15d929){const _0xca81f6=_0x4210a6;return _0x15d929[_0xca81f6(0x12e)][_0xca81f6(0x15d)](_0xca81f6(0x125))||_0x15d929[_0xca81f6(0x12e)][_0xca81f6(0x15d)](_0xca81f6(0x170))||_0x15d929[_0xca81f6(0x12e)][_0xca81f6(0x15d)](_0xca81f6(0x14d));}
|
|
23
|
+
const _0x50e44=_0x4fb9;(function(_0x3499db,_0x59747a){const _0x5e7b3c=_0x4fb9,_0x560bae=_0x3499db();while(!![]){try{const _0x292809=-parseInt(_0x5e7b3c(0x226))/0x1+-parseInt(_0x5e7b3c(0x211))/0x2+-parseInt(_0x5e7b3c(0x210))/0x3+parseInt(_0x5e7b3c(0x20d))/0x4+parseInt(_0x5e7b3c(0x1fd))/0x5*(parseInt(_0x5e7b3c(0x22e))/0x6)+parseInt(_0x5e7b3c(0x1f5))/0x7+-parseInt(_0x5e7b3c(0x207))/0x8*(-parseInt(_0x5e7b3c(0x227))/0x9);if(_0x292809===_0x59747a)break;else _0x560bae['push'](_0x560bae['shift']());}catch(_0x363bcc){_0x560bae['push'](_0x560bae['shift']());}}}(_0x11f7,0xea9cb));import{Plugin as _0x49bac4}from'ckeditor5/src/core.js';function _0x11f7(){const _0x38187c=['getRevision','_handleReconnectionError','buildRevisionData','reverse','marker','_oldOffset','_lastRequestId','_preventResendingRevisionData','_waitForServiceReady','max','connected','_handleRevisionsUpdate','creatorId','change:_isConnected','cloudServices.bundleVersion','has','from','addRevisionData','sendBufferedUpdates','581846TUKBzK','1747386OLnRNd','_revisionDataBuilder','currentRevision','init','state','isEnabled','repository','24uOyxOs','code','authorsIds','revisionsUpdated','editor','adapter','connection','_bufferUpdate','collaboration.channelId','getOperations','connect','keys','authors','plugins','toVersion','catch','_bufferedUpdates','get','listenTo','_createCurrentRevision','cloud-services-internal-error:\x20Not\x20connected.','getMany','baseVersion','data','_startingVersion','_revisionTracker','off','getRevisions','addUser','isConnected','add','reInit','_isPendingUpdate','destroy','remove','reconnect','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','RevisionHistoryService','config','affectsData','isBundleUploaded','isEmptyCurrent','updateRevisions','_revisionHistoryService','400','_getLatestVersion','_offset','size','fromVersion','once','_update','_fetchMissingUsers','length','8090236XQllna','cloud-services-internal-error:\x20Request\x20timeout.','wrongRequestId','diffData','serverHistory','addToReconnectionStack','change:_isPendingUpdate','message','290215wktKmm','requires','CONNECTED','_getLatestVersionFromServerOperations','map','setSource','sessionId','then','_revisions','bind','104braRRS','createdAt','RevisionTracker','getUser','type','_isConnected','242212UQWnWh','_fixRevision','startsWith','4686744MZFVoA','1734820DqaawK','setRevisionData'];_0x11f7=function(){return _0x38187c;};return _0x11f7();}import{version as _0x59852e}from'ckeditor5/src/utils.js';import{Users as _0x4b45bb}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x27a015 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x14cda9 from'../realtimecollaborativeediting/websocketgateway.js';import _0x1dbef2 from'../realtimecollaborativeediting/sessions.js';function _0x4fb9(_0x5f5c69,_0x2a507b){const _0x11f7a8=_0x11f7();return _0x4fb9=function(_0x4fb9e2,_0x6140a9){_0x4fb9e2=_0x4fb9e2-0x1c1;let _0x86b29d=_0x11f7a8[_0x4fb9e2];return _0x86b29d;},_0x4fb9(_0x5f5c69,_0x2a507b);}import{EditorService as _0x1fc7fb,RevisionHistoryService as _0x2faaf3,User as _0x8ae92d,WEB_SOCKET_GATEWAY_STATES as _0x5b6c2f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class v extends _0x49bac4{static get[_0x50e44(0x1fe)](){const _0x4cfc13=_0x50e44;return[_0x14cda9,_0x27a015,_0x4cfc13(0x209),_0x1dbef2,_0x4b45bb];}constructor(_0x5b4c5f){const _0x48d08c=_0x50e44;super(_0x5b4c5f);const _0x11b110=this[_0x48d08c(0x1c4)][_0x48d08c(0x1e6)][_0x48d08c(0x1d1)](_0x48d08c(0x1c8));this[_0x48d08c(0x219)]=null,this[_0x48d08c(0x1d9)]=this[_0x48d08c(0x1c4)][_0x48d08c(0x1cd)][_0x48d08c(0x1d1)](_0x48d08c(0x209)),this[_0x48d08c(0x1eb)]=new v[(_0x48d08c(0x1e5))](_0x11b110);}async[_0x50e44(0x22a)](){const _0x38e998=_0x50e44,_0x13c43b=this[_0x38e998(0x1c4)][_0x38e998(0x1cd)][_0x38e998(0x1d1)](_0x27a015),_0x15c0c7=_0x13c43b[_0x38e998(0x1f9)],_0x492619=this[_0x38e998(0x1c4)][_0x38e998(0x1cd)][_0x38e998(0x1d1)](_0x14cda9);this[_0x38e998(0x1d9)][_0x38e998(0x202)]({'history':_0x15c0c7,'getLatestVersion':()=>this[_0x38e998(0x1ed)](),'getCurrentRevisionId':()=>_0x13c43b[_0x38e998(0x203)]});const _0x59d1e1=this[_0x38e998(0x1c4)][_0x38e998(0x1e6)][_0x38e998(0x1d1)](_0x38e998(0x221))||_0x59852e,_0x55f113=await _0x1fc7fb[_0x38e998(0x1e8)](_0x492619[_0x38e998(0x1c6)],_0x59d1e1);this[_0x38e998(0x1d9)][_0x38e998(0x1c5)]={'getRevision':async({revisionId:_0x1bc6a5})=>(await this[_0x38e998(0x21b)](),await this[_0x38e998(0x1eb)][_0x38e998(0x213)](_0x1bc6a5)),'updateRevisions':async _0x1fc698=>{const _0xa7ab47=_0x38e998;await this[_0xa7ab47(0x21b)]();const _0x23a2d4=this[_0xa7ab47(0x1d9)][_0xa7ab47(0x229)];if(_0x55f113&&0x1===_0x1fc698[_0xa7ab47(0x1f4)]&&_0x1fc698[0x0]['id']===_0x23a2d4['id'])return _0x1fc698;for(const _0x2a93a0 of _0x1fc698)_0x2a93a0['id']===_0x23a2d4['id']&&(_0x2a93a0[_0xa7ab47(0x1e9)]=_0x2a93a0[_0xa7ab47(0x1f0)]===_0x2a93a0[_0xa7ab47(0x1ce)]);return this[_0xa7ab47(0x1eb)][_0xa7ab47(0x1ea)](_0x1fc698,this[_0xa7ab47(0x219)])[_0xa7ab47(0x204)](_0x15467a=>(this[_0xa7ab47(0x219)]=_0x15467a,_0x1fc698))[_0xa7ab47(0x1cf)](_0x32c714=>{const _0x35e3fc=_0xa7ab47;if(st(_0x32c714)||_0x35e3fc(0x1ec)===_0x32c714[_0x35e3fc(0x1c1)]&&void 0x0!==_0x32c714[_0x35e3fc(0x1d7)][_0x35e3fc(0x1f7)]){for(const _0x359b90 of _0x1fc698){!this[_0x35e3fc(0x1d9)][_0x35e3fc(0x22d)][_0x35e3fc(0x213)](_0x359b90['id'])||this[_0x35e3fc(0x1d9)][_0x35e3fc(0x1c7)](_0x359b90['id'],_0x359b90,!0x1);}if(st(_0x32c714))throw _0x32c714;return _0x1fc698;}throw _0x32c714;});}},this[_0x38e998(0x1d2)](this[_0x38e998(0x1eb)],_0x38e998(0x1c3),(_0x27e4d7,{revisionsData:_0xde892e,requestId:_0x579d84})=>{const _0x35e5b8=_0x38e998;Math[_0x35e5b8(0x21c)](..._0xde892e[_0x35e5b8(0x201)](_0x4fd76f=>_0x4fd76f[_0x35e5b8(0x1ce)]))>this[_0x35e5b8(0x200)]()-0x1?this[_0x35e5b8(0x1ed)]()[_0x35e5b8(0x204)](()=>{const _0x28aa0d=_0x35e5b8;this[_0x28aa0d(0x21e)](_0xde892e,_0x579d84);}):this[_0x35e5b8(0x21e)](_0xde892e,_0x579d84);});const {revisions:_0x2e4b06,requestId:_0x53667d}=await this[_0x38e998(0x1eb)][_0x38e998(0x1ca)](_0x492619[_0x38e998(0x1c6)]);_0x492619[_0x38e998(0x1fa)](this),this[_0x38e998(0x219)]=_0x53667d,await this[_0x38e998(0x1f3)](_0x2e4b06);for(const _0x2056be of _0x2e4b06)this[_0x38e998(0x1d9)][_0x38e998(0x224)](_0x2056be);this[_0x38e998(0x1d2)](_0x13c43b,_0x38e998(0x220),(_0x493739,_0x5dc70a,_0x197d6b)=>{const _0x29b106=_0x38e998;_0x197d6b&&(this[_0x29b106(0x218)]=_0x13c43b[_0x29b106(0x1ee)],_0x493739[_0x29b106(0x1da)]());}),this[_0x38e998(0x1d9)][_0x38e998(0x206)](_0x38e998(0x22c))['to'](_0x492619,_0x38e998(0x22b),_0x4607ae=>_0x4607ae===_0x5b6c2f[_0x38e998(0x1ff)]);}async[_0x50e44(0x1e3)](){const _0x265b47=_0x50e44,_0x4caf16=this[_0x265b47(0x1c4)][_0x265b47(0x1cd)][_0x265b47(0x1d1)](_0x14cda9),_0x15d20c=this[_0x265b47(0x1c4)][_0x265b47(0x1cd)][_0x265b47(0x1d1)](_0x27a015),_0x18bb58=async()=>{const _0x12b48=_0x265b47,_0xa633b7=this[_0x12b48(0x1d9)][_0x12b48(0x229)],_0x3ccef8=_0xa633b7['id'],_0x40d8b0=_0x3ccef8!==_0x15d20c[_0x12b48(0x203)];if(_0x40d8b0){const _0x39a8a9=_0x15d20c[_0x12b48(0x1ee)]-this[_0x12b48(0x218)],_0x387f21=this[_0x12b48(0x200)]();this[_0x12b48(0x1d9)][_0x12b48(0x228)][_0x12b48(0x1df)]();if(_0xa633b7[_0x12b48(0x1ce)]+_0x39a8a9!==_0x387f21){const _0x261e23=_0xa633b7[_0x12b48(0x1f0)]+_0x39a8a9,_0x4b39e8=this[_0x12b48(0x1c4)][_0x12b48(0x1cd)][_0x12b48(0x1d1)](_0x4b45bb),_0x384267=this[_0x12b48(0x1d9)][_0x12b48(0x215)]({'revision':_0xa633b7,'from':_0x261e23,'to':_0x387f21});_0x384267['id']=_0xa633b7['id'];const _0x25d7e5=_0x384267[_0x12b48(0x1c2)][_0x12b48(0x201)](_0x517a99=>_0x4b39e8[_0x12b48(0x20a)](_0x517a99));_0xa633b7[_0x12b48(0x1f2)]({..._0x384267,'authors':_0x25d7e5},!0x0),this[_0x12b48(0x1d9)][_0x12b48(0x1c7)](_0xa633b7['id'],_0x384267,!0x0);}this[_0x12b48(0x1d9)][_0x12b48(0x1d8)]=_0x387f21,(_0xa633b7[_0x12b48(0x1ce)]===_0xa633b7[_0x12b48(0x1f0)]&&!this[_0x12b48(0x1d9)][_0x12b48(0x1d0)][_0x12b48(0x222)](_0x3ccef8)&&this[_0x12b48(0x1d9)][_0x12b48(0x22d)][_0x12b48(0x205)][_0x12b48(0x1e2)](_0x3ccef8),this[_0x12b48(0x1d9)][_0x12b48(0x1d3)](_0x387f21));}const {revisions:_0x50b0a1,requestId:_0x10e716}=await this[_0x12b48(0x1eb)][_0x12b48(0x1e3)](_0x4caf16[_0x12b48(0x1c6)],this[_0x12b48(0x219)]);_0x40d8b0&&_0x50b0a1[_0x12b48(0x1f4)]>0x0?_0x15d20c[_0x12b48(0x214)]():(await this[_0x12b48(0x1f3)](_0x50b0a1),this[_0x12b48(0x21e)](_0x50b0a1,_0x10e716),this[_0x12b48(0x1d9)][_0x12b48(0x225)]());};return _0x15d20c[_0x265b47(0x20c)]?_0x18bb58():new Promise((_0x516ef9,_0x4c9026)=>{const _0x4f45aa=_0x265b47;_0x15d20c[_0x4f45aa(0x1f1)](_0x4f45aa(0x220),()=>{const _0x4a5b45=_0x4f45aa;_0x18bb58()[_0x4a5b45(0x204)](_0x516ef9)[_0x4a5b45(0x1cf)](_0x4c9026);});});}[_0x50e44(0x1e1)](){const _0x783c52=_0x50e44;super[_0x783c52(0x1e1)]();}async[_0x50e44(0x21b)](){const _0x5df5ed=_0x50e44;this[_0x5df5ed(0x1eb)][_0x5df5ed(0x1dd)]||await new Promise(_0x4daa9c=>{const _0x345a16=_0x5df5ed;this[_0x345a16(0x1d2)](this[_0x345a16(0x1eb)],_0x345a16(0x21d),_0x1ce386=>{const _0x5be6fc=_0x345a16;_0x1ce386[_0x5be6fc(0x1da)](),_0x4daa9c();});});}[_0x50e44(0x200)](){const _0x4a0bb8=_0x50e44,_0x263531=this[_0x4a0bb8(0x1c4)][_0x4a0bb8(0x1cd)][_0x4a0bb8(0x1d1)](_0x27a015)[_0x4a0bb8(0x1f9)][_0x4a0bb8(0x1c9)]()[_0x4a0bb8(0x216)]();for(const _0x4cec87 of _0x263531)if(_0x4a0bb8(0x217)!==_0x4cec87[_0x4a0bb8(0x20b)]||_0x4cec87[_0x4a0bb8(0x1e7)])return _0x4cec87[_0x4a0bb8(0x1d6)]+0x1;}[_0x50e44(0x1ed)](){const _0x5cb088=_0x50e44,_0x1e6ab5=this[_0x5cb088(0x1c4)][_0x5cb088(0x1cd)][_0x5cb088(0x1d1)](_0x27a015);return new Promise(_0x8843f0=>{const _0x422349=_0x5cb088;_0x1e6ab5[_0x422349(0x1e0)]?_0x1e6ab5[_0x422349(0x1f1)](_0x422349(0x1fb),()=>{const _0x421165=_0x422349;_0x8843f0(this[_0x421165(0x200)]());}):_0x8843f0(this[_0x422349(0x200)]());});}[_0x50e44(0x21e)](_0x19be26,_0x2d8ee3){const _0x4a6521=_0x50e44,_0x30a206=this[_0x4a6521(0x1d9)][_0x4a6521(0x22d)];this[_0x4a6521(0x219)]=_0x2d8ee3;for(const _0x486681 of _0x19be26){const _0x2a7420=_0x30a206[_0x4a6521(0x213)](_0x486681['id']);if(_0x2a7420){if((_0x486681[_0x4a6521(0x1f0)]||_0x486681[_0x4a6521(0x1ce)])&&(_0x486681[_0x4a6521(0x1f8)]=null),_0x2a7420===this[_0x4a6521(0x1d9)][_0x4a6521(0x229)]){const _0x2fbd52=Math[_0x4a6521(0x21c)](_0x2a7420[_0x4a6521(0x1ce)],_0x486681[_0x4a6521(0x1ce)]),_0x2ec537=Math[_0x4a6521(0x21c)](_0x2a7420[_0x4a6521(0x1f0)],_0x486681[_0x4a6521(0x1f0)]);let _0x35b58d;_0x2a7420[_0x4a6521(0x1ce)]===_0x486681[_0x4a6521(0x1ce)]&&_0x2a7420[_0x4a6521(0x1f0)]===_0x486681[_0x4a6521(0x1f0)]?(_0x35b58d=!0x0,this[_0x4a6521(0x21a)](_0x486681)):_0x486681[_0x4a6521(0x1ce)]===_0x2fbd52&&_0x486681[_0x4a6521(0x1f0)]===_0x2ec537?_0x35b58d=!0x1:(_0x2a7420[_0x4a6521(0x1ce)]===_0x2fbd52&&_0x2a7420[_0x4a6521(0x1f0)]===_0x2ec537||this[_0x4a6521(0x20e)]({'revision':_0x2a7420,'from':_0x2ec537,'to':_0x2fbd52}),_0x35b58d=!0x0),_0x35b58d&&(delete _0x486681[_0x4a6521(0x1f0)],delete _0x486681[_0x4a6521(0x1ce)],delete _0x486681[_0x4a6521(0x1f8)],delete _0x486681[_0x4a6521(0x208)],delete _0x486681[_0x4a6521(0x1c2)]);}this[_0x4a6521(0x1d9)][_0x4a6521(0x212)](_0x486681),this[_0x4a6521(0x21a)](_0x486681);}else this[_0x4a6521(0x1d9)][_0x4a6521(0x224)](_0x486681);}const _0x1ba9c2=_0x30a206[_0x4a6521(0x1db)]();_0x1ba9c2[_0x4a6521(0x216)]();for(let _0x3aa616=0x0;_0x3aa616<_0x1ba9c2[_0x4a6521(0x1f4)]-0x1;_0x3aa616++){const _0x591ee0=_0x1ba9c2[_0x3aa616],_0xb81539=_0x1ba9c2[_0x3aa616+0x1];if(_0x591ee0[_0x4a6521(0x1f0)]<_0xb81539[_0x4a6521(0x1ce)]){const _0x315953=_0xb81539[_0x4a6521(0x1ce)],_0x4ddfcb=Math[_0x4a6521(0x21c)](_0x315953,_0x591ee0[_0x4a6521(0x1ce)]);this[_0x4a6521(0x20e)]({'revision':_0x591ee0,'from':_0x315953,'to':_0x4ddfcb});}}}[_0x50e44(0x20e)]({revision:_0x61f7cb,from:_0x16f767,to:_0x59d90e}={}){const _0x3f05d4=_0x50e44,_0x289481=this[_0x3f05d4(0x1c4)][_0x3f05d4(0x1cd)][_0x3f05d4(0x1d1)](_0x4b45bb),_0x41ca3c=this[_0x3f05d4(0x1d9)][_0x3f05d4(0x215)]({'revision':_0x61f7cb,'from':_0x16f767,'to':_0x59d90e});_0x41ca3c[_0x3f05d4(0x1cc)]=_0x41ca3c[_0x3f05d4(0x1c2)][_0x3f05d4(0x201)](_0xa85cc=>_0x289481[_0x3f05d4(0x20a)](_0xa85cc)),_0x61f7cb[_0x3f05d4(0x1f2)](_0x41ca3c);}[_0x50e44(0x21a)](_0x45a7bf){const _0x34d38a=_0x50e44,_0x3aece0={};_0x3aece0['id']=_0x45a7bf['id'];for(const _0x15e22f of Object[_0x34d38a(0x1cb)](_0x45a7bf))'id'!==_0x15e22f&&(_0x3aece0[_0x15e22f]=void 0x0);this[_0x34d38a(0x1d9)][_0x34d38a(0x1c7)](_0x3aece0['id'],_0x3aece0,!0x0);}async[_0x50e44(0x1f3)](_0x1521c5){const _0x5c9577=_0x50e44,_0x28b39b=this[_0x5c9577(0x1c4)][_0x5c9577(0x1cd)][_0x5c9577(0x1d1)](_0x4b45bb),{connection:_0x27d23e}=this[_0x5c9577(0x1c4)][_0x5c9577(0x1cd)][_0x5c9577(0x1d1)](_0x14cda9),_0x24a2f2=new Set();for(const _0x50408f of _0x1521c5){for(const _0x171326 of _0x50408f[_0x5c9577(0x1c2)])_0x6e3986(_0x171326);_0x50408f[_0x5c9577(0x21f)]&&_0x6e3986(_0x50408f[_0x5c9577(0x21f)]);}if(0x0===_0x24a2f2[_0x5c9577(0x1ef)])return;const _0x1b10c4=await _0x8ae92d[_0x5c9577(0x1d5)](_0x27d23e,Array[_0x5c9577(0x223)](_0x24a2f2));for(const _0x571b2e of _0x1b10c4)_0x28b39b[_0x5c9577(0x20a)](_0x571b2e['id'])||_0x28b39b[_0x5c9577(0x1dc)](_0x571b2e);function _0x6e3986(_0x43f899){const _0x4c41d1=_0x5c9577;_0x28b39b[_0x4c41d1(0x20a)](_0x43f899)||_0x24a2f2[_0x4c41d1(0x1de)](_0x43f899);}}}v[_0x50e44(0x1e5)]=_0x2faaf3;export default v;function st(_0x39e2f2){const _0x1b9366=_0x50e44;return _0x39e2f2[_0x1b9366(0x1fc)][_0x1b9366(0x20f)](_0x1b9366(0x1e4))||_0x39e2f2[_0x1b9366(0x1fc)][_0x1b9366(0x20f)](_0x1b9366(0x1d4))||_0x39e2f2[_0x1b9366(0x1fc)][_0x1b9366(0x20f)](_0x1b9366(0x1f6));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x327b4b=_0x37f7;(function(_0x21ed8d,_0xd4227){var _0x3c263b=_0x37f7,_0x48f456=_0x21ed8d();while(!![]){try{var _0xc01c09=-parseInt(_0x3c263b(0x103))/0x1*(parseInt(_0x3c263b(0x110))/0x2)+parseInt(_0x3c263b(0x10e))/0x3+parseInt(_0x3c263b(0x10f))/0x4+-parseInt(_0x3c263b(0x10c))/0x5+parseInt(_0x3c263b(0x106))/0x6*(-parseInt(_0x3c263b(0x10a))/0x7)+-parseInt(_0x3c263b(0x109))/0x8+-parseInt(_0x3c263b(0x105))/0x9*(-parseInt(_0x3c263b(0x104))/0xa);if(_0xc01c09===_0xd4227)break;else _0x48f456['push'](_0x48f456['shift']());}catch(_0x197f78){_0x48f456['push'](_0x48f456['shift']());}}}(_0x3081,0x2af68));function _0x37f7(_0x17dfcc,_0x151e52){var _0x3081e1=_0x3081();return _0x37f7=function(_0x37f7d5,_0x42670e){_0x37f7d5=_0x37f7d5-0x103;var _0x1ccf62=_0x3081e1[_0x37f7d5];return _0x1ccf62;},_0x37f7(_0x17dfcc,_0x151e52);}import{Plugin as _0x36163a}from'ckeditor5/src/core.js';import _0x2684d8 from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import _0x36da91 from'./realtimecollaborativeediting.js';function _0x3081(){var _0x2f535e=['requires','pluginName','2298400eLIXzx','56vXedei','RevisionHistory','1334090DuuYNg','RealTimeCollaborativeRevisionHistory','700527aNMTce','258024tlhDhK','657698MPVQVE','1UZsvwh','180mCDyAU','521748qTGDVI','211926Pofyux'];_0x3081=function(){return _0x2f535e;};return _0x3081();}export default class d extends _0x36163a{static get[_0x327b4b(0x107)](){var _0x56f411=_0x327b4b;return[_0x56f411(0x10b),_0x2684d8,_0x36da91];}static get[_0x327b4b(0x108)](){var _0xc9e981=_0x327b4b;return _0xc9e981(0x10d);}}
|