@ckeditor/ckeditor5-real-time-collaboration 43.1.0-alpha.1 → 43.1.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x44d982=_0x53da;(function(_0x26caea,_0x13962){const _0x44b670=_0x53da,_0x5cf768=_0x26caea();while(!![]){try{const _0x25c6e0=-parseInt(_0x44b670(0x236))/0x1*(parseInt(_0x44b670(0x1a5))/0x2)+parseInt(_0x44b670(0x1f2))/0x3+-parseInt(_0x44b670(0x18c))/0x4*(parseInt(_0x44b670(0x18d))/0x5)+parseInt(_0x44b670(0x27a))/0x6*(parseInt(_0x44b670(0x193))/0x7)+-parseInt(_0x44b670(0x26e))/0x8+parseInt(_0x44b670(0x1e5))/0x9*(parseInt(_0x44b670(0x1c3))/0xa)+parseInt(_0x44b670(0x1ab))/0xb;if(_0x25c6e0===_0x13962)break;else _0x5cf768['push'](_0x5cf768['shift']());}catch(_0x29dedc){_0x5cf768['push'](_0x5cf768['shift']());}}}(_0x2fdb,0xc07e2));function _0x53da(_0x4a76bd,_0x243d28){const _0x2fdb34=_0x2fdb();return _0x53da=function(_0x53daf6,_0x4008fa){_0x53daf6=_0x53daf6-0x187;let _0x591cda=_0x2fdb34[_0x53daf6];return _0x591cda;},_0x53da(_0x4a76bd,_0x243d28);}import{Plugin as _0x59acde,PendingActions as _0x531bba}from'ckeditor5/src/core.js';function _0x2fdb(){const _0xfc92d4=['138kjZPvD','reconnect','addRootAttribute','InsertOperation','config','realtimecollaborationclient-sendbufferedoperations','_initThrowingOnDataSet','keys','pluginName','$root','sessionCreatedAt','change:range','realtimecollaborationclient-handleserverresponse','sendOperations','_connectService','getOperations','metadata','end','_getOperationsFromInitData','remove','_channelId','9064QdnboJ','1685PGBjTs','_initSessionsHandling','locale','directChange','length','round','18130EMchZO','_isPendingUpdate','_setUpDataInit','_bufferedOperations','_knownOperations','includes','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.','push','_isLoaded','state','_isAttached','map','loadRoot','_waitUntilSynced','cloud-services-internal-error:\x20Request\x20timeout.','realtimecollaborationclient-initservice-incorrect-server-operation','createPositionFromPath','wereChangesApplied','1082YGdURU','then','realtimecollaborationclient-initservice-internal-error','_offset','showWarning','cs:removeUser','33885016xyVRUb','change:hasDomSelection','_lastSyncedOperationId','fromJSON','addToReconnectionStack','_shouldSendUpdate','decompress','marker','_pendingAction','from','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_decompressOperations','path','_applyOperationsSet','_crash','document','history','_lastServerVersion','insert','stopListening','start','_handleSendingSelectionMarkers','batch','applyOperation','590IbXpen','return','realtimecollaborationclient-init-document-already-initialized','define','enableReadOnlyMode','_bufferRootLoad','collaboration-missing-channelid','operationsReceived','mySessionId','userId','_fetchMissingUsers','isEnabled','_refreshUserSelectionMarkers','_ignoredOperations','clone','realtimecollaborationclient-init-non-existent-root','size','catch','sessionAdd:','disconnect','baseVersion','model','_disconnectionOperations','serverHistory','Synchronization\x20issue','change:_isEditingAllowed','_isInit','createRange','CollaborativeEditingService','_sendBufferedOperationsDelayId','Permissions','view','listenTo','suppressErrorInCollaboration','4023JArMlr','_handleInitialConnectionData','addOperation','_sendBufferedOperations','plugins','get','requires','409','lastOperationId','wasUndone','ready','_handleReconnectionError','type','367497oRAZVZ','_handleReconnectionResponse','_addKnownRoot','lastDocumentSession','_updateServerHistory','realtimecollaborationclient-init-session-connection-error','message','__className','roots','fire','differ','reconnection:\x20flushed\x20session','move','_handleServerResponse','_compressor','_connectAfterSessionHasBeenFlushed','unregister','newRange','removeFromReconnectionStack','Notification','connection','_baseBufferDelay','has','data','change:_isPendingUpdate','_disconnectService','high','rtc-destroyed','getOperationAuthor','createdAt','multi-root-editor-root-attributes-no-root','selection','_shouldSendSelectionUpdate','_hasSelectionChanged','addUser','targetPosition','off','isDocumentOperation','_loadRoot','_getAffectedRoot','getRoot','attributes','connected','initData','real-time-collaboration','setIdForTheLastOperation','apply','bind','channelSessions','root','_document','getDocumentDetails','_operationIdentifier','init','stop','affectsData','startsWith','_isConnected','markers','editor','compress','toJSON','finally','getMany','lastOperationAcceptedAt','offset','_handleReceivedOperations','permissions','1783AhYkHs','entries','getUser','connect','_authorId','disconnected','parse','_isDisconnection','_clearPendingAction','sessionId','_service','_hasSynchronizationProblem','string','disableReadOnlyMode','lastSyncVersion','position','getIdOfTheLastOperation','error','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','cloudDocumentVersion','rootName','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','slice','collaboration.channelId','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_saveOperationInBuffer','cloudServices.bundleVersion','_handleExternalOperations','PENDING_ACTION_SENDING_DATA','code','_setPendingAction','forEach','affectedSelectable','_operationToId','rootsAttributes','realtimecollaborationclient-init-connection-failed','_isEditingAllowed','_knownRootNames','editing','createRoot','filter','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.','reset','_currentBufferDelay','createUserMarkerOperations','addRoot','setPermissions','add','register','destroy','currentDocumentSession','set','createPositionAt','404','cloud-services-internal-error:\x20Not\x20connected.','rtc-offline','6177624toCmWS','document:write','getConnectedSessions','collaboration','CommentsOnly','RealTimeCollaborationClient','isReadOnly','isUndoneOperation','enqueueChange','_compressOperations','version','_sendBufferedOperationsDelayed'];_0x2fdb=function(){return _0xfc92d4;};return _0x2fdb();}import{CKEditorError as _0x28cabe,version as _0x21cd55,uid as _0x596c2a}from'ckeditor5/src/utils.js';import{Notification as _0x4f5006}from'ckeditor5/src/ui.js';import{transformSets as _0x85b6ea,NoOperation as _0x1ca351,InsertOperation as _0xc57ce,MarkerOperation as _0x2eb59d,RootAttributeOperation as _0xbb93d3,OperationFactory as _0x4b4166,History as _0x2df7fd}from'ckeditor5/src/engine.js';import _0x183c48 from'./websocketgateway.js';import _0x26888d from'./sessions.js';import _0xb683a5 from'./usermarkers.js';import{getTranslation as _0x2292fa}from'../common-translations.js';import{Compressor as _0x54cbca}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0xbb4887}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x5c7edc,CollaborativeEditingService as _0x4071c8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x59acde{static get[_0x44d982(0x1eb)](){return[_0x183c48,_0x26888d,_0xb683a5,_0x531bba,_0xbb4887,_0x4f5006];}static get[_0x44d982(0x282)](){const _0x3910ec=_0x44d982;return _0x3910ec(0x273);}get[_0x44d982(0x249)](){const _0x4830d7=_0x44d982;return this[_0x4830d7(0x1bc)]+this[_0x4830d7(0x1a8)];}get[_0x44d982(0x1bc)](){const _0x34bfe7=_0x44d982;return this[_0x34bfe7(0x1da)][_0x34bfe7(0x278)]-this[_0x34bfe7(0x1a8)];}get[_0x44d982(0x244)](){const _0x50587a=_0x44d982,_0x221243=this[_0x50587a(0x1da)][_0x50587a(0x289)]();for(let _0x649ad6=_0x221243[_0x50587a(0x191)]-0x1;_0x649ad6>=0x0;_0x649ad6--){const _0x5e83ed=_0x221243[_0x649ad6];if(!this[_0x50587a(0x1d9)][_0x50587a(0x208)](_0x5e83ed))return _0x5e83ed[_0x50587a(0x1d7)]+0x1-this[_0x50587a(0x1a8)];}return 0x0;}constructor(_0x55d4d8){const _0x4a88b8=_0x44d982;if(super(_0x55d4d8),this[_0x4a88b8(0x1a8)]=0x0,this[_0x4a88b8(0x23f)]=null,this[_0x4a88b8(0x1da)]=new _0x2df7fd(),this[_0x4a88b8(0x22d)][_0x4a88b8(0x27e)][_0x4a88b8(0x1c6)](_0x4a88b8(0x271),{}),this[_0x4a88b8(0x18b)]=this[_0x4a88b8(0x22d)][_0x4a88b8(0x27e)][_0x4a88b8(0x1ea)](_0x4a88b8(0x24d)),!this[_0x4a88b8(0x18b)])throw new _0x28cabe(_0x4a88b8(0x1c9),this);const _0x209586=_0x55d4d8[_0x4a88b8(0x27e)][_0x4a88b8(0x1ea)](_0x4a88b8(0x250))||_0x21cd55;this[_0x4a88b8(0x240)]=new l[(_0x4a88b8(0x1df))](_0x209586,this[_0x4a88b8(0x18b)]),this[_0x4a88b8(0x224)]=this[_0x4a88b8(0x22d)][_0x4a88b8(0x1d8)][_0x4a88b8(0x1ba)],this[_0x4a88b8(0x200)]=new _0x54cbca(),this[_0x4a88b8(0x196)]=[],this[_0x4a88b8(0x197)]=new WeakSet(),this[_0x4a88b8(0x25b)]=new Set(),this[_0x4a88b8(0x269)](_0x4a88b8(0x194),!0x1),this[_0x4a88b8(0x269)](_0x4a88b8(0x241),!0x1),this[_0x4a88b8(0x1b3)]=null,this[_0x4a88b8(0x213)]=!0x1,this[_0x4a88b8(0x1e0)]=null,this[_0x4a88b8(0x207)]=0x12c,this[_0x4a88b8(0x261)]=this[_0x4a88b8(0x207)],this[_0x4a88b8(0x1ad)]=null,this[_0x4a88b8(0x1d9)]=new WeakSet(),this[_0x4a88b8(0x226)]=new X(this[_0x4a88b8(0x1d9)]);}[_0x44d982(0x227)](){const _0x5cad0d=_0x44d982,_0x532aff=this[_0x5cad0d(0x22d)],_0xf86712=_0x532aff[_0x5cad0d(0x1e9)][_0x5cad0d(0x1ea)](_0xbb4887),_0x28f78e=_0x532aff[_0x5cad0d(0x1e9)][_0x5cad0d(0x1ea)](_0x183c48);this[_0x5cad0d(0x1e3)](_0xf86712,_0x5cad0d(0x20e),(_0x2a8d51,_0x452db9)=>{const _0x3a880c=_0x5cad0d,_0x392829=_0x452db9[0x0];_0x392829[_0x3a880c(0x23a)]&&(_0x2a8d51[_0x3a880c(0x1c4)]=_0xf86712[_0x3a880c(0x238)](_0x392829[_0x3a880c(0x23a)]),_0x2a8d51[_0x3a880c(0x228)]()),null===_0x392829[_0x3a880c(0x23a)]&&(_0x2a8d51[_0x3a880c(0x1c4)]=null,_0x2a8d51[_0x3a880c(0x228)]());},{'priority':_0x5cad0d(0x20c)}),this[_0x5cad0d(0x1e3)](_0x532aff[_0x5cad0d(0x1d8)][_0x5cad0d(0x1ba)][_0x5cad0d(0x211)],_0x5cad0d(0x285),(_0x4fab55,_0x53559b)=>{const _0x1dc896=_0x5cad0d;_0x53559b[_0x1dc896(0x190)]&&this[_0x1dc896(0x1cf)]();}),this[_0x5cad0d(0x1e3)](_0x532aff[_0x5cad0d(0x25c)][_0x5cad0d(0x1e2)],_0x5cad0d(0x1ac),()=>{const _0x5ac1bf=_0x5cad0d;this[_0x5ac1bf(0x1cf)]();}),this[_0x5cad0d(0x280)](),_0x532aff[_0x5cad0d(0x1d8)]['on'](_0x5cad0d(0x1c2),(_0x5c749a,_0x230023)=>{const _0x18b0fe=_0x5cad0d,_0x456843=_0x230023[0x0];_0x456843[_0x18b0fe(0x217)]&&(this[_0x18b0fe(0x24f)](_0x456843),this[_0x18b0fe(0x1b0)]()&&this[_0x18b0fe(0x279)]());}),this[_0x5cad0d(0x195)](),this[_0x5cad0d(0x221)](_0x5cad0d(0x25a))['to'](_0x28f78e,_0x5cad0d(0x19c),this,_0x5cad0d(0x241),(_0x2d2fea,_0x10077d)=>_0x5cad0d(0x21c)===_0x2d2fea&&!_0x10077d),this['on'](_0x5cad0d(0x1dc),()=>{const _0x2ed879=_0x5cad0d;this[_0x2ed879(0x25a)]?_0x532aff[_0x2ed879(0x243)](_0x2ed879(0x26d)):_0x532aff[_0x2ed879(0x1c7)](_0x2ed879(0x26d));}),this[_0x5cad0d(0x25a)]?_0x532aff[_0x5cad0d(0x243)](_0x5cad0d(0x26d)):_0x532aff[_0x5cad0d(0x1c7)](_0x5cad0d(0x26d)),this[_0x5cad0d(0x269)](_0x5cad0d(0x22b),!0x1);}async[_0x44d982(0x27b)](){const _0x1389f8=_0x44d982,_0x529e2b=this[_0x1389f8(0x22d)][_0x1389f8(0x1e9)][_0x1389f8(0x1ea)](_0x26888d),_0x4efc69=this[_0x1389f8(0x22d)][_0x1389f8(0x1e9)][_0x1389f8(0x1ea)](_0x183c48);try{this[_0x1389f8(0x194)]=!0x0,_0x529e2b[_0x1389f8(0x202)](this[_0x1389f8(0x18b)]);const _0x15fc51=await this[_0x1389f8(0x240)][_0x1389f8(0x27b)](_0x4efc69[_0x1389f8(0x206)],this[_0x1389f8(0x244)]);await this[_0x1389f8(0x1f3)](_0x15fc51)&&(this[_0x1389f8(0x194)]=!0x1,this[_0x1389f8(0x23e)]());const _0x53f85c=await this[_0x1389f8(0x240)][_0x1389f8(0x270)]();_0x529e2b[_0x1389f8(0x266)](this[_0x1389f8(0x18b)],_0x53f85c),this[_0x1389f8(0x1c0)](),this[_0x1389f8(0x22b)]=!0x0;}catch(_0x53efbf){if(function(_0x2ab097){const _0x4d3ca5=_0x1389f8;return _0x4d3ca5(0x26b)===_0x2ab097[_0x4d3ca5(0x253)];}(_0x53efbf)&&this[_0x1389f8(0x23f)])await this[_0x1389f8(0x201)]();else{if(function(_0x414db2){const _0x582a41=_0x1389f8;return _0x582a41(0x1ec)===_0x414db2[_0x582a41(0x253)];}(_0x53efbf)){const _0x543e30=_0x2292fa(this[_0x1389f8(0x22d)][_0x1389f8(0x18f)],_0x1389f8(0x24e));this[_0x1389f8(0x1f0)](_0x543e30);}else{if(!(_0x53efbf instanceof J))throw _0x53efbf;this[_0x1389f8(0x1f0)]();}}}}[_0x44d982(0x267)](){const _0x32d497=_0x44d982,_0x12bcb1=this[_0x32d497(0x22d)][_0x32d497(0x1e9)][_0x32d497(0x1ea)](_0x183c48),_0x2f89fc=this[_0x32d497(0x22d)][_0x32d497(0x1e9)][_0x32d497(0x1ea)](_0x26888d);this[_0x32d497(0x22d)][_0x32d497(0x1c7)](_0x32d497(0x20d)),_0x2f89fc[_0x32d497(0x222)][_0x32d497(0x208)](this[_0x32d497(0x18b)])&&_0x2f89fc[_0x32d497(0x202)](this[_0x32d497(0x18b)]),_0x12bcb1[_0x32d497(0x204)](this),this[_0x32d497(0x20b)](),super[_0x32d497(0x267)]();}async[_0x44d982(0x1f3)](_0x543fc7){const _0x4f4d26=_0x44d982;if(this[_0x4f4d26(0x23f)]!==_0x543fc7[_0x4f4d26(0x23f)]&&this[_0x4f4d26(0x1ad)]!==_0x543fc7[_0x4f4d26(0x1ed)])throw new J();return this[_0x4f4d26(0x23f)]=_0x543fc7[_0x4f4d26(0x23f)],this[_0x4f4d26(0x1ff)]([],{..._0x543fc7,'wereChangesApplied':!0x1,'data':_0x543fc7[_0x4f4d26(0x209)]},_0x4f4d26(0x27b));}async[_0x44d982(0x288)](_0x485057,_0x2b5e16=!0x1){const _0x4aa66f=_0x44d982,{connection:_0x1ac6e5}=this[_0x4aa66f(0x22d)][_0x4aa66f(0x1e9)][_0x4aa66f(0x1ea)](_0x183c48);l[_0x4aa66f(0x1df)][_0x4aa66f(0x270)](_0x1ac6e5,this[_0x4aa66f(0x18b)])[_0x4aa66f(0x1a6)](_0x418c70=>this[_0x4aa66f(0x18e)](_0x418c70))[_0x4aa66f(0x1d4)](_0x576efe=>{const _0x13eefe=_0x4aa66f;this[_0x13eefe(0x1b9)](_0x13eefe(0x1f7),_0x576efe);}),this[_0x4aa66f(0x1e3)](this[_0x4aa66f(0x240)],_0x4aa66f(0x1ca),this[_0x4aa66f(0x234)][_0x4aa66f(0x221)](this)),this[_0x4aa66f(0x1e3)](this[_0x4aa66f(0x240)],_0x4aa66f(0x247),(_0x3de06f,_0x375e71)=>{const _0x176d2c=_0x4aa66f;this[_0x176d2c(0x1b9)](_0x176d2c(0x1a7),_0x375e71);}),this[_0x4aa66f(0x1e3)](this[_0x4aa66f(0x240)],_0x4aa66f(0x23b),()=>{const _0x2618f2=_0x4aa66f;this[_0x2618f2(0x22b)]=!0x1;});const _0x19b2eb=this[_0x4aa66f(0x226)][_0x4aa66f(0x246)](_0x485057);this[_0x4aa66f(0x194)]=!0x0;const _0x3909ff=await this[_0x4aa66f(0x240)][_0x4aa66f(0x239)](_0x1ac6e5,this[_0x4aa66f(0x277)](_0x485057),_0x19b2eb);if(this[_0x4aa66f(0x23f)]=_0x3909ff[_0x4aa66f(0x23f)],_0x2b5e16){if(!_0x3909ff[_0x4aa66f(0x1a4)])return void this[_0x4aa66f(0x1f0)]();this[_0x4aa66f(0x194)]=!0x1,this[_0x4aa66f(0x23e)](),this[_0x4aa66f(0x1da)][_0x4aa66f(0x260)](),this[_0x4aa66f(0x1a8)]=_0x3909ff[_0x4aa66f(0x233)],this[_0x4aa66f(0x1da)][_0x4aa66f(0x278)]=this[_0x4aa66f(0x1a8)],await this[_0x4aa66f(0x1ff)](_0x485057,_0x3909ff,_0x4aa66f(0x1fd));}else await this[_0x4aa66f(0x1e6)](_0x3909ff,_0x485057);this[_0x4aa66f(0x1c0)](),this[_0x4aa66f(0x22b)]=!0x0;}[_0x44d982(0x1c0)](){const _0x2950ef=_0x44d982,_0x1f7c0e=this[_0x2950ef(0x22d)][_0x2950ef(0x1e9)][_0x2950ef(0x1ea)](_0x26888d),_0x17dfc7=this[_0x2950ef(0x22d)][_0x2950ef(0x1e9)][_0x2950ef(0x1ea)](_0xb683a5),_0x3cda6b=_0x1f7c0e[_0x2950ef(0x222)][_0x2950ef(0x1ea)](this[_0x2950ef(0x18b)]);_0x3cda6b&&_0x3cda6b[_0x2950ef(0x191)]>0x1?_0x17dfc7[_0x2950ef(0x262)]():this[_0x2950ef(0x1e3)](_0x1f7c0e,_0x2950ef(0x1d5)+this[_0x2950ef(0x18b)],()=>{const _0x404bf9=_0x2950ef;0x2===_0x1f7c0e[_0x404bf9(0x222)][_0x404bf9(0x1ea)](this[_0x404bf9(0x18b)])[_0x404bf9(0x191)]&&_0x17dfc7[_0x404bf9(0x262)]();});}async[_0x44d982(0x234)](_0x3db16b,_0x664d46,_0x1a0180,_0x547e3d){const _0x3cff=_0x44d982;if(!this[_0x3cff(0x194)]&&this[_0x3cff(0x224)][_0x3cff(0x278)]==_0x664d46){const _0x4b7b51=this[_0x3cff(0x1b6)](_0x1a0180,_0x547e3d);await this[_0x3cff(0x1cd)](_0x4b7b51),this[_0x3cff(0x251)](_0x4b7b51,_0x664d46,_0x1a0180[_0x3cff(0x1ed)])||this[_0x3cff(0x1b9)](_0x3cff(0x1a2));}}async[_0x44d982(0x201)](){const _0x2f0f4f=_0x44d982;this[_0x2f0f4f(0x20b)]();const {locale:_0x4d321e}=this[_0x2f0f4f(0x22d)];let _0x5502e5;try{_0x5502e5=await this[_0x2f0f4f(0x240)][_0x2f0f4f(0x225)]();}catch(_0x14b251){const _0x38998b=_0x2292fa(_0x4d321e,_0x2f0f4f(0x248));return void this[_0x2f0f4f(0x1f0)](_0x38998b);}const _0x1dcca3=_0x5502e5[_0x2f0f4f(0x268)]||_0x5502e5[_0x2f0f4f(0x1f5)];if(this[_0x2f0f4f(0x1ad)]===_0x1dcca3[_0x2f0f4f(0x1ed)])await this[_0x2f0f4f(0x288)](this[_0x2f0f4f(0x22d)][_0x2f0f4f(0x1d8)][_0x2f0f4f(0x1ba)][_0x2f0f4f(0x1bb)][_0x2f0f4f(0x289)](),!0x0);else{const _0x1ea669=_0x2292fa(_0x4d321e,_0x2f0f4f(0x199));this[_0x2f0f4f(0x1f0)](_0x1ea669);}}[_0x44d982(0x20b)](){const _0x4a17fe=_0x44d982;this[_0x4a17fe(0x240)][_0x4a17fe(0x1d6)](),this[_0x4a17fe(0x196)]=[],clearTimeout(this[_0x4a17fe(0x1e0)]),this[_0x4a17fe(0x1be)](this[_0x4a17fe(0x240)]);}[_0x44d982(0x18e)](_0x126e36){const _0x45ec6c=_0x44d982,_0x478f31=this[_0x45ec6c(0x22d)][_0x45ec6c(0x1e9)][_0x45ec6c(0x1ea)](_0x26888d);this[_0x45ec6c(0x1e3)](_0x478f31,_0x45ec6c(0x1d5)+this[_0x45ec6c(0x18b)],(_0x3d9bcd,{session:_0x582dcf})=>{const _0x1b495c=_0x45ec6c;if(_0x582dcf['id']===_0x478f31[_0x1b495c(0x1cb)]){_0x3d9bcd[_0x1b495c(0x216)]();const _0x409a22=this[_0x1b495c(0x22d)][_0x1b495c(0x1e9)][_0x1b495c(0x208)](_0x1b495c(0x272))&&this[_0x1b495c(0x22d)][_0x1b495c(0x1e9)][_0x1b495c(0x1ea)](_0x1b495c(0x272));let _0x33e0b0=_0x582dcf[_0x1b495c(0x235)];_0x409a22&&_0x409a22[_0x1b495c(0x1ce)]&&(_0x33e0b0=_0x33e0b0[_0x1b495c(0x25e)](_0xa1a6ea=>_0x1b495c(0x26f)!==_0xa1a6ea)),this[_0x1b495c(0x22d)][_0x1b495c(0x1e9)][_0x1b495c(0x1ea)](_0x1b495c(0x1e1))[_0x1b495c(0x264)](_0x33e0b0,this[_0x1b495c(0x18b)]);}}),_0x478f31[_0x45ec6c(0x266)](this[_0x45ec6c(0x18b)],_0x126e36);}[_0x44d982(0x280)](){const _0x390cd8=_0x44d982,_0x3e7f9e=this[_0x390cd8(0x22d)][_0x390cd8(0x209)][_0x390cd8(0x269)];this[_0x390cd8(0x22d)][_0x390cd8(0x209)][_0x390cd8(0x269)]=(..._0x296328)=>{const _0x55b50e=_0x390cd8;if(!_0x296328[_0x296328[_0x55b50e(0x191)]-0x1][_0x55b50e(0x1e4)])throw new _0x28cabe(_0x55b50e(0x1b5),this);_0x3e7f9e[_0x55b50e(0x220)](this[_0x55b50e(0x22d)][_0x55b50e(0x209)],_0x296328);};}[_0x44d982(0x195)](){const _0x3a0d88=_0x44d982;this[_0x3a0d88(0x22d)][_0x3a0d88(0x209)]['on'](_0x3a0d88(0x227),(_0x29e566,[_0x5dbdf8])=>{const _0x3b4a6b=_0x3a0d88;if(this[_0x3b4a6b(0x224)][_0x3b4a6b(0x278)])throw new _0x28cabe(_0x3b4a6b(0x1c5),this);_0x29e566[_0x3b4a6b(0x228)](),this[_0x3b4a6b(0x254)]();const _0x5d722f=this[_0x3b4a6b(0x22d)][_0x3b4a6b(0x27e)][_0x3b4a6b(0x1ea)](_0x3b4a6b(0x258)),_0x2a7c41=this[_0x3b4a6b(0x189)](_0x5dbdf8,_0x5d722f);0x0==_0x2a7c41[_0x3b4a6b(0x191)]&&_0x2a7c41[_0x3b4a6b(0x19a)](new _0x1ca351(0x0)),_0x29e566[_0x3b4a6b(0x1c4)]=this[_0x3b4a6b(0x288)](_0x2a7c41)[_0x3b4a6b(0x1a6)](()=>{const _0x49649f=_0x3b4a6b;this[_0x49649f(0x22d)][_0x49649f(0x1e9)][_0x49649f(0x1ea)](_0x183c48)[_0x49649f(0x1af)](this),this[_0x49649f(0x22d)][_0x49649f(0x209)][_0x49649f(0x1fb)](_0x49649f(0x1ef));})[_0x3b4a6b(0x1d4)](_0x1fa5a6=>this[_0x3b4a6b(0x1b9)](_0x3b4a6b(0x259),_0x1fa5a6))[_0x3b4a6b(0x230)](()=>this[_0x3b4a6b(0x23e)]());},{'priority':_0x3a0d88(0x20c)}),this[_0x3a0d88(0x22d)]['on'](_0x3a0d88(0x19f),async(_0x2e63f7,[_0x3f2c63,_0x2254c5])=>{const _0x2d1287=_0x3a0d88;_0x2e63f7[_0x2d1287(0x228)]();const _0xa2fd0b=this[_0x2d1287(0x22d)][_0x2d1287(0x1d8)][_0x2d1287(0x1ba)][_0x2d1287(0x21a)](_0x3f2c63);if(!this[_0x2d1287(0x25b)][_0x2d1287(0x208)](_0x3f2c63)){const _0xc92a5c=_0x2254c5&&_0x2254c5[_0x2d1287(0x209)]?_0x2254c5[_0x2d1287(0x209)]:'',_0x186b7b=_0x2254c5&&_0x2254c5[_0x2d1287(0x21b)]?_0x2254c5[_0x2d1287(0x21b)]:{};await this[_0x2d1287(0x218)](_0x3f2c63,_0xc92a5c,_0x186b7b);}this[_0x2d1287(0x22d)][_0x2d1287(0x1d8)][_0x2d1287(0x276)]({'isUndoable':!0x1},()=>{const _0x595476=_0x2d1287;_0xa2fd0b[_0x595476(0x19b)]=!0x0,this[_0x595476(0x22d)][_0x595476(0x1d8)][_0x595476(0x1ba)][_0x595476(0x1fc)][_0x595476(0x1c8)](_0xa2fd0b);});},{'priority':_0x3a0d88(0x20c)});}async[_0x44d982(0x1cd)](_0x771439){const _0x752570=_0x44d982,_0x2a65c8=this[_0x752570(0x22d)][_0x752570(0x1e9)][_0x752570(0x1ea)](_0xbb4887),{connection:_0x3a8ab9}=this[_0x752570(0x22d)][_0x752570(0x1e9)][_0x752570(0x1ea)](_0x183c48),_0x68a068=new Set();for(const _0x1da4bd of _0x771439){const _0x5b94f6=_0x1da4bd[_0x752570(0x23a)];_0x5b94f6&&!_0x2a65c8[_0x752570(0x238)](_0x5b94f6)&&_0x68a068[_0x752570(0x265)](_0x5b94f6);}if(0x0===_0x68a068[_0x752570(0x1d3)])return;const _0x15a7c3=await _0x5c7edc[_0x752570(0x231)](_0x3a8ab9,Array[_0x752570(0x1b4)](_0x68a068));for(const _0x48ea19 of _0x15a7c3)_0x2a65c8[_0x752570(0x238)](_0x48ea19['id'])||_0x2a65c8[_0x752570(0x214)](_0x48ea19);}[_0x44d982(0x189)](_0x2e7f88,_0x2d4004={}){const _0x1cec0c=_0x44d982,_0x5c6e66=this[_0x1cec0c(0x22d)][_0x1cec0c(0x1d8)],_0x4f9d49=[];let _0x108587=0x0;const _0x3e8cba=_0x1cec0c(0x242)==typeof _0x2e7f88?{'main':_0x2e7f88}:_0x2e7f88;for(const _0x1cb858 of Object[_0x1cec0c(0x281)](_0x3e8cba)){if(!this[_0x1cec0c(0x224)][_0x1cec0c(0x1fa)][_0x1cec0c(0x208)](_0x1cb858))throw new _0x28cabe(_0x1cec0c(0x1d2),this);const _0x5e2351=this[_0x1cec0c(0x22d)][_0x1cec0c(0x209)][_0x1cec0c(0x23c)](_0x3e8cba[_0x1cb858]),_0x4a87b8=this[_0x1cec0c(0x224)][_0x1cec0c(0x21a)](_0x1cb858),_0x3028da=new _0xc57ce(_0x5c6e66[_0x1cec0c(0x26a)](_0x4a87b8,0x0),_0x5e2351,_0x108587++);_0x4f9d49[_0x1cec0c(0x19a)](_0x3028da);for(const [_0x281524,_0x20edfa]of _0x5e2351[_0x1cec0c(0x22c)]){const _0x1e29d3=_0x5c6e66[_0x1cec0c(0x1de)](_0x5c6e66[_0x1cec0c(0x1a3)](_0x4a87b8,_0x20edfa[_0x1cec0c(0x1bf)][_0x1cec0c(0x1b7)][_0x1cec0c(0x24c)]()),_0x5c6e66[_0x1cec0c(0x1a3)](_0x4a87b8,_0x20edfa[_0x1cec0c(0x188)][_0x1cec0c(0x1b7)][_0x1cec0c(0x24c)]())),_0x2d70f9=new _0x2eb59d(_0x281524,null,_0x1e29d3,_0x5c6e66[_0x1cec0c(0x22c)],!0x0,_0x108587++);_0x4f9d49[_0x1cec0c(0x19a)](_0x2d70f9);}}if(_0x2d4004)for(const [_0x232eec,_0x5c2836]of Object[_0x1cec0c(0x237)](_0x2d4004)){const _0x22cfad=_0x5c6e66[_0x1cec0c(0x1ba)][_0x1cec0c(0x21a)](_0x232eec);if(!_0x22cfad)throw new _0x28cabe(_0x1cec0c(0x210),null);for(const [_0x19af48,_0x1dbd07]of Object[_0x1cec0c(0x237)](_0x5c2836))if(null!==_0x1dbd07){const _0x5d6b52=new _0xbb93d3(_0x22cfad,_0x19af48,null,_0x1dbd07,_0x108587++);_0x4f9d49[_0x1cec0c(0x19a)](_0x5d6b52);}}return _0x4f9d49;}async[_0x44d982(0x218)](_0x39afeb,_0x1b0220,_0x241b44){const _0x1f3fcf=_0x44d982;this[_0x1f3fcf(0x189)]({[_0x39afeb]:_0x1b0220},{[_0x39afeb]:_0x241b44})[_0x1f3fcf(0x255)]((_0x17872e,_0x227546)=>{const _0x8a2391=_0x1f3fcf;_0x17872e[_0x8a2391(0x1d7)]=this[_0x8a2391(0x224)][_0x8a2391(0x278)]+_0x227546,_0x17872e[_0x8a2391(0x1dd)]=!0x0,this[_0x8a2391(0x24f)](_0x17872e);}),this[_0x1f3fcf(0x279)](),await this[_0x1f3fcf(0x1a0)]();}async[_0x44d982(0x1e6)](_0x2d8556,_0x36b2b7){const _0x1e97f8=_0x44d982;let _0x32c022;this[_0x1e97f8(0x1a8)]=_0x2d8556[_0x1e97f8(0x233)];const _0x537bd7=_0x2d8556[_0x1e97f8(0x1a4)]&&!_0x2d8556[_0x1e97f8(0x21d)],_0x2035b3=_0x537bd7?0x0:_0x2d8556[_0x1e97f8(0x209)][_0x1e97f8(0x1d7)];if(_0x36b2b7[_0x1e97f8(0x255)](_0x16db72=>{const _0x355c81=_0x1e97f8;_0x16db72[_0x355c81(0x1dd)]=!0x0,_0x16db72[_0x355c81(0x20f)]=_0x2d8556[_0x355c81(0x284)],_0x16db72[_0x355c81(0x23a)]=null;}),_0x537bd7)_0x32c022=_0x36b2b7,this[_0x1e97f8(0x1b8)](_0x32c022,_0x537bd7);else{if(_0x2d8556[_0x1e97f8(0x21d)]){const _0xa7b62=this[_0x1e97f8(0x189)](_0x2d8556[_0x1e97f8(0x21d)]);this[_0x1e97f8(0x224)][_0x1e97f8(0x1bb)][_0x1e97f8(0x278)]=-_0xa7b62[_0x1e97f8(0x191)],_0xa7b62[_0x1e97f8(0x255)](_0x53a32e=>{const _0x4516e2=_0x1e97f8;_0x53a32e[_0x4516e2(0x1d7)]-=_0xa7b62[_0x4516e2(0x191)],_0x53a32e[_0x4516e2(0x20f)]=_0x2d8556[_0x4516e2(0x284)],_0x53a32e[_0x4516e2(0x1dd)]=!0x0,_0x53a32e[_0x4516e2(0x23a)]=null;}),this[_0x1e97f8(0x1b8)](_0xa7b62,!0x0),this[_0x1e97f8(0x1da)][_0x1e97f8(0x278)]=-_0xa7b62[_0x1e97f8(0x191)]+this[_0x1e97f8(0x1a8)],this[_0x1e97f8(0x1f6)](_0xa7b62);}this[_0x1e97f8(0x224)][_0x1e97f8(0x1bb)][_0x1e97f8(0x278)]=_0x2035b3,_0x32c022=this[_0x1e97f8(0x1b6)](_0x2d8556[_0x1e97f8(0x209)],_0x2d8556[_0x1e97f8(0x187)]),await this[_0x1e97f8(0x1cd)](_0x32c022),this[_0x1e97f8(0x1b8)](_0x32c022,_0x537bd7);}_0x2d8556[_0x1e97f8(0x1ed)]&&(this[_0x1e97f8(0x226)][_0x1e97f8(0x21f)](_0x32c022,_0x2d8556[_0x1e97f8(0x1ed)]),this[_0x1e97f8(0x1ad)]=_0x2d8556[_0x1e97f8(0x1ed)]),this[_0x1e97f8(0x1da)][_0x1e97f8(0x278)]=_0x2035b3+this[_0x1e97f8(0x1a8)],this[_0x1e97f8(0x1f6)](_0x32c022),_0x36b2b7[_0x1e97f8(0x25e)](_0x288301=>{const _0x510620=_0x1e97f8,_0x141ac2=this[_0x510620(0x219)](_0x288301);return _0x141ac2&&!this[_0x510620(0x25b)][_0x510620(0x208)](_0x141ac2);})[_0x1e97f8(0x255)]((_0x584898,_0x584890)=>{const _0x498350=_0x1e97f8;_0x584898[_0x498350(0x1d7)]=this[_0x498350(0x224)][_0x498350(0x278)]+_0x584890,this[_0x498350(0x24f)](_0x584898);}),this[_0x1e97f8(0x1b0)]()?(this[_0x1e97f8(0x261)]=0x0,this[_0x1e97f8(0x279)](!0x0),await this[_0x1e97f8(0x1a0)]()):(this[_0x1e97f8(0x194)]=!0x1,this[_0x1e97f8(0x23e)]());}[_0x44d982(0x1b9)](_0x4659ce,_0xa7bb4b){const _0x2ed7c8=_0x44d982;throw this[_0x2ed7c8(0x194)]=!0x0,_0xa7bb4b&&console[_0x2ed7c8(0x247)](_0xa7bb4b),new _0x28cabe(_0x4659ce,this[_0x2ed7c8(0x22d)]);}[_0x44d982(0x24f)](_0x1ed28e){const _0x1f71cd=_0x44d982;this[_0x1f71cd(0x197)][_0x1f71cd(0x208)](_0x1ed28e)||(this[_0x1f71cd(0x197)][_0x1f71cd(0x265)](_0x1ed28e),this[_0x1f71cd(0x196)][_0x1f71cd(0x19a)](_0x1ed28e),this[_0x1f71cd(0x1b3)]||_0x1f71cd(0x1b2)==_0x1ed28e[_0x1f71cd(0x1f1)]&&!_0x1ed28e[_0x1f71cd(0x229)]||this[_0x1f71cd(0x254)]());}[_0x44d982(0x279)](_0x526047=!0x1){const _0x51c574=_0x44d982;!_0x526047&&this[_0x51c574(0x194)]||(this[_0x51c574(0x194)]=!0x0,clearTimeout(this[_0x51c574(0x1e0)]),this[_0x51c574(0x1e0)]=setTimeout(()=>{const _0x2e8c2e=_0x51c574;this[_0x2e8c2e(0x1e8)]()[_0x2e8c2e(0x1a6)](_0x43ccb4=>{const _0x18665a=_0x2e8c2e;_0x43ccb4&&(this[_0x18665a(0x23e)](),this[_0x18665a(0x194)]=!0x1);})[_0x2e8c2e(0x1d4)](_0x234911=>{const _0x5766df=_0x2e8c2e;if(this[_0x5766df(0x23e)](),this[_0x5766df(0x194)]=!0x1,!function(_0x488508){const _0x1f5d6a=_0x5766df;return _0x488508[_0x1f5d6a(0x1f8)][_0x1f5d6a(0x22a)](_0x1f5d6a(0x26c))||_0x488508[_0x1f5d6a(0x1f8)][_0x1f5d6a(0x22a)](_0x1f5d6a(0x24b))||_0x488508[_0x1f5d6a(0x1f8)][_0x1f5d6a(0x22a)](_0x1f5d6a(0x1a1));}(_0x234911))throw _0x234911;});},this[_0x51c574(0x261)]));}[_0x44d982(0x1a0)](){return new Promise(_0x2e7735=>{const _0x464438=_0x53da;this['on'](_0x464438(0x20a),()=>{_0x2e7735();});});}async[_0x44d982(0x1e8)](){const _0x202e35=_0x44d982,_0x561e7a=this[_0x202e35(0x22d)][_0x202e35(0x1e9)][_0x202e35(0x1ea)](_0xb683a5);if(this[_0x202e35(0x212)]()&&(_0x561e7a[_0x202e35(0x262)](),this[_0x202e35(0x213)]=!0x1),!this[_0x202e35(0x1b0)]())return!0x0;const _0x17fdaa=[...this[_0x202e35(0x196)]];for(const _0x5cfc6a of _0x17fdaa)_0x5cfc6a[_0x202e35(0x1ee)]=this[_0x202e35(0x224)][_0x202e35(0x1bb)][_0x202e35(0x275)](_0x5cfc6a);const _0xfc4c75=this[_0x202e35(0x226)][_0x202e35(0x246)](_0x17fdaa),_0x3527ba=K++,_0x5889c6=this[_0x202e35(0x277)](_0x17fdaa),_0x4c4759=await this[_0x202e35(0x240)][_0x202e35(0x287)](_0x5889c6,_0x5889c6[_0x202e35(0x1d7)],_0xfc4c75);try{return await this[_0x202e35(0x1ff)](_0x17fdaa,_0x4c4759,_0x3527ba);}catch(_0x279e1e){return this[_0x202e35(0x1b9)](_0x202e35(0x27f),_0x279e1e);}}async[_0x44d982(0x1ff)](_0x1d3b0f,_0x59da03,_0x28e2a7){const _0x387599=_0x44d982;if(_0x387599(0x247)in _0x59da03)throw _0x59da03[_0x387599(0x247)];let _0x133833=!0x1;if(_0x59da03[_0x387599(0x1a4)]){_0x59da03[_0x387599(0x1ed)]&&(this[_0x387599(0x1ad)]=_0x59da03[_0x387599(0x1ed)]),this[_0x387599(0x196)]=this[_0x387599(0x196)][_0x387599(0x25e)](_0x2b5933=>!_0x1d3b0f[_0x387599(0x198)](_0x2b5933));for(const _0x3c2176 of _0x1d3b0f)_0x3c2176[_0x387599(0x20f)]=_0x387599(0x232)in _0x59da03&&_0x59da03[_0x387599(0x232)]||void 0x0;Q(_0x1d3b0f,_0x59da03[_0x387599(0x278)]-_0x1d3b0f[_0x387599(0x191)]),this[_0x387599(0x1f6)](_0x1d3b0f);const _0x1b2085=_0x1d3b0f[_0x387599(0x25e)](_0x550499=>{const _0x4433e7=_0x387599;if(!_0x550499[_0x4433e7(0x1dd)])return!0x1;const _0x259192=this[_0x4433e7(0x219)](_0x550499);return _0x259192&&!this[_0x4433e7(0x25b)][_0x4433e7(0x208)](_0x259192);});Q(_0x1b2085,this[_0x387599(0x224)][_0x387599(0x278)]),this[_0x387599(0x1b8)](_0x1b2085),_0x133833=!0x0,this[_0x387599(0x261)]=this[_0x387599(0x207)];}else{const _0x40b7d8=this[_0x387599(0x1b6)](_0x59da03[_0x387599(0x209)],_0x59da03[_0x387599(0x187)])[_0x387599(0x25e)](_0x13d8eb=>_0x13d8eb[_0x387599(0x1d7)]>=this[_0x387599(0x1bc)]);_0x40b7d8[_0x387599(0x255)](_0x3c2dfe=>this[_0x387599(0x1f4)](_0x3c2dfe)),this[_0x387599(0x196)]=this[_0x387599(0x196)][_0x387599(0x25e)](_0x1c37c7=>!_0x1c37c7[_0x387599(0x1dd)]||!this[_0x387599(0x25b)][_0x387599(0x208)](this[_0x387599(0x219)](_0x1c37c7))),this[_0x387599(0x196)][_0x387599(0x191)]&&Q(this[_0x387599(0x196)],this[_0x387599(0x196)][0x0][_0x387599(0x1d7)]),await this[_0x387599(0x1cd)](_0x40b7d8),_0x133833=this[_0x387599(0x251)](_0x40b7d8,_0x59da03[_0x387599(0x278)],_0x59da03[_0x387599(0x1ed)]),this[_0x387599(0x261)]=Math[_0x387599(0x192)](this[_0x387599(0x261)]/0x2);}return _0x133833?!this[_0x387599(0x1b0)]()||(this[_0x387599(0x279)](!0x0),!0x1):this[_0x387599(0x1b9)](_0x387599(0x286));}[_0x44d982(0x251)](_0x216ce3,_0x48462b,_0xae895e){const _0x557e49=_0x44d982;try{const _0x50f573={'document':this[_0x557e49(0x224)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x2eaf4f,operationsB:_0x1788dc,originalOperations:_0x8b4325}=_0x85b6ea(_0x216ce3,this[_0x557e49(0x196)],_0x50f573);Q(_0x2eaf4f,this[_0x557e49(0x224)][_0x557e49(0x278)]),Q(_0x1788dc,_0x48462b);for(const _0x248f48 of _0x2eaf4f){const _0x1e6a97=_0x8b4325[_0x557e49(0x1ea)](_0x248f48);_0x248f48[_0x557e49(0x23a)]=_0x1e6a97?_0x1e6a97[_0x557e49(0x23a)]:null;}_0xae895e&&(this[_0x557e49(0x226)][_0x557e49(0x21f)](_0x216ce3,_0xae895e),this[_0x557e49(0x1ad)]=_0xae895e),this[_0x557e49(0x196)]=[..._0x1788dc],this[_0x557e49(0x1b8)](_0x2eaf4f),this[_0x557e49(0x1f6)](_0x216ce3);}catch(_0x247ff0){return console[_0x557e49(0x247)](_0x247ff0),!0x1;}return!0x0;}[_0x44d982(0x1b8)](_0x3ba667,_0x4bb479=!0x1){const _0x26f532=_0x44d982;this[_0x26f532(0x22d)][_0x26f532(0x1d8)][_0x26f532(0x276)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1d25f6=>{const _0x4c3b6f=_0x26f532;for(const _0x3a875c of _0x3ba667)this[_0x4c3b6f(0x197)][_0x4c3b6f(0x265)](_0x3a875c),this[_0x4c3b6f(0x1f4)](_0x3a875c),_0x1d25f6[_0x4c3b6f(0x1c1)][_0x4c3b6f(0x1e7)](_0x3a875c),this[_0x4c3b6f(0x22d)][_0x4c3b6f(0x1d8)][_0x4c3b6f(0x1c2)](_0x3a875c);});}[_0x44d982(0x1f4)](_0x1b6d20){const _0x466970=_0x44d982,_0x3fda2a=this[_0x466970(0x219)](_0x1b6d20);_0x3fda2a&&this[_0x466970(0x25b)][_0x466970(0x265)](_0x3fda2a);}[_0x44d982(0x219)](_0x5c7fff){const _0x359eec=_0x44d982;let _0x4f1d50,_0x996d1c;switch(_0x5c7fff[_0x359eec(0x1f1)]){case _0x359eec(0x1bd):_0x4f1d50=_0x5c7fff[_0x359eec(0x245)][_0x359eec(0x223)];break;case _0x359eec(0x1b2):if(_0x996d1c=_0x5c7fff[_0x359eec(0x203)],!_0x996d1c)return null;_0x4f1d50=_0x996d1c[_0x359eec(0x223)];break;case _0x359eec(0x27c):_0x4f1d50=_0x5c7fff[_0x359eec(0x223)];break;case _0x359eec(0x263):_0x4f1d50=_0x5c7fff[_0x359eec(0x256)];break;case _0x359eec(0x1fe):_0x4f1d50=_0x5c7fff[_0x359eec(0x215)][_0x359eec(0x223)];break;default:return null;}return _0x4f1d50[_0x359eec(0x24a)];}[_0x44d982(0x1f6)](_0x106fbb){const _0x5d6d57=_0x44d982;_0x106fbb[_0x5d6d57(0x255)](_0x4ab820=>{const _0x21fbd6=_0x5d6d57,_0x463ec7=_0x4ab820[_0x21fbd6(0x1d1)]();_0x463ec7[_0x21fbd6(0x23a)]=_0x4ab820[_0x21fbd6(0x23a)],_0x463ec7[_0x21fbd6(0x1dd)]=!!_0x4ab820[_0x21fbd6(0x1dd)],_0x463ec7[_0x21fbd6(0x20f)]=_0x4ab820[_0x21fbd6(0x20f)],_0x463ec7[_0x21fbd6(0x1d7)]+=this[_0x21fbd6(0x1a8)],_0x4ab820[_0x21fbd6(0x23d)]&&this[_0x21fbd6(0x1d9)][_0x21fbd6(0x265)](_0x463ec7),this[_0x21fbd6(0x1da)][_0x21fbd6(0x1e7)](_0x463ec7);});}[_0x44d982(0x1f0)](_0xca695){const _0x36dd25=_0x44d982,_0x11308e=this[_0x36dd25(0x22d)][_0x36dd25(0x1e9)][_0x36dd25(0x1ea)](_0x36dd25(0x205)),_0x13c243=this[_0x36dd25(0x22d)][_0x36dd25(0x18f)];_0xca695||(_0xca695=_0x2292fa(_0x13c243,_0x36dd25(0x25f))),_0x11308e[_0x36dd25(0x1a9)](_0xca695,{'title':_0x2292fa(_0x13c243,_0x36dd25(0x1db)),'namespace':_0x36dd25(0x21e)}),this[_0x36dd25(0x241)]=!0x0,clearTimeout(this[_0x36dd25(0x1e0)]),this[_0x36dd25(0x196)]=[],this[_0x36dd25(0x22d)][_0x36dd25(0x1e9)][_0x36dd25(0x1ea)](_0x183c48)[_0x36dd25(0x267)]();}[_0x44d982(0x254)](){const _0xffcb44=_0x44d982;this[_0xffcb44(0x1b3)]||(this[_0xffcb44(0x1b3)]=this[_0xffcb44(0x22d)][_0xffcb44(0x1e9)][_0xffcb44(0x1ea)](_0x531bba)[_0xffcb44(0x265)](_0x2292fa(this[_0xffcb44(0x22d)][_0xffcb44(0x18f)],_0xffcb44(0x252))));}[_0x44d982(0x23e)](){const _0x4f9b21=_0x44d982;this[_0x4f9b21(0x1b3)]&&(this[_0x4f9b21(0x22d)][_0x4f9b21(0x1e9)][_0x4f9b21(0x1ea)](_0x531bba)[_0x4f9b21(0x18a)](this[_0x4f9b21(0x1b3)]),this[_0x4f9b21(0x1b3)]=null);}[_0x44d982(0x277)](_0x385436){const _0x1b16b1=_0x44d982,_0x174fe9=_0x385436[_0x1b16b1(0x19e)](_0x402287=>_0x402287[_0x1b16b1(0x22f)]());return this[_0x1b16b1(0x200)][_0x1b16b1(0x22e)](_0x174fe9);}[_0x44d982(0x1b6)](_0xa423ed,_0x2f4599){const _0x4d9760=_0x44d982;return this[_0x4d9760(0x200)][_0x4d9760(0x1b1)](_0xa423ed)[_0x4d9760(0x19e)]((_0x1ced67,_0xb5d63c)=>{const _0x292ec4=_0x4d9760,_0x42480f=_0x292ec4(0x227)==_0x2f4599[_0xb5d63c][_0x292ec4(0x1f1)];if(_0x292ec4(0x27d)==_0x1ced67[_0x292ec4(0x1f9)]){const _0x17ea1c=_0x1ced67[_0x292ec4(0x245)][_0x292ec4(0x223)];!this[_0x292ec4(0x224)][_0x292ec4(0x21a)](_0x17ea1c)&&(this[_0x292ec4(0x224)][_0x292ec4(0x25d)](_0x292ec4(0x283),_0x17ea1c)[_0x292ec4(0x19d)]=!0x1);}const _0x5af04b=_0x4b4166[_0x292ec4(0x1ae)](_0x1ced67,this[_0x292ec4(0x224)]);return _0x5af04b[_0x292ec4(0x1ee)]=_0x1ced67[_0x292ec4(0x1ee)],_0x5af04b[_0x292ec4(0x1dd)]=_0x42480f,_0x5af04b[_0x292ec4(0x23a)]=_0x42480f?null:_0x2f4599[_0xb5d63c][_0x292ec4(0x1cc)],_0x5af04b[_0x292ec4(0x23d)]=_0x292ec4(0x1aa)===_0x2f4599[_0xb5d63c][_0x292ec4(0x1f1)],_0x5af04b[_0x292ec4(0x20f)]=_0x2f4599[_0xb5d63c][_0x292ec4(0x20f)],_0x5af04b;});}[_0x44d982(0x1cf)](){const _0x17b530=_0x44d982;this[_0x17b530(0x213)]=!0x0,this[_0x17b530(0x212)]()?this[_0x17b530(0x279)]():this[_0x17b530(0x213)]=!0x1;}[_0x44d982(0x212)](){const _0xdc153a=_0x44d982,_0x4ccab1=this[_0xdc153a(0x22d)][_0xdc153a(0x1e9)][_0xdc153a(0x1ea)](_0x26888d)[_0xdc153a(0x222)][_0xdc153a(0x1ea)](this[_0xdc153a(0x18b)]);return!this[_0xdc153a(0x22d)][_0xdc153a(0x274)]&&!!_0x4ccab1&&_0x4ccab1[_0xdc153a(0x191)]>0x1&&this[_0xdc153a(0x213)];}[_0x44d982(0x1b0)](){const _0x40b5b3=_0x44d982;return this[_0x40b5b3(0x196)][_0x40b5b3(0x191)]>0x0||this[_0x40b5b3(0x212)]();}}l[_0x44d982(0x1df)]=_0x4071c8;export default l;class J extends Error{}function Q(_0x4ed9b4,_0x271f64){const _0x32855c=_0x44d982;for(const _0x4ad8b3 of _0x4ed9b4)_0x4ad8b3[_0x32855c(0x1d7)]=_0x271f64++;}class X{constructor(_0x233702){const _0x81637d=_0x44d982;this[_0x81637d(0x1d0)]=_0x233702,this[_0x81637d(0x257)]=new WeakMap();}[_0x44d982(0x246)](_0x22d68a){const _0x4b901b=_0x44d982;let _0x17b60b=_0x22d68a[_0x4b901b(0x191)];for(;_0x17b60b--;){const _0x28c6b5=_0x22d68a[_0x17b60b];if(!this[_0x4b901b(0x1d0)][_0x4b901b(0x208)](_0x28c6b5)){if(!this[_0x4b901b(0x257)][_0x4b901b(0x208)](_0x28c6b5)){const _0x156c3c=_0x596c2a()[_0x4b901b(0x24c)](0x1,0x12);this[_0x4b901b(0x257)][_0x4b901b(0x269)](_0x28c6b5,_0x156c3c);}return this[_0x4b901b(0x257)][_0x4b901b(0x1ea)](_0x28c6b5);}}}[_0x44d982(0x21f)](_0x28c26d,_0x278846){const _0x326528=_0x44d982;if(!_0x278846)return;let _0x4fa742=_0x28c26d[_0x326528(0x191)];for(;_0x4fa742--;){const _0x48fb8d=_0x28c26d[_0x4fa742];this[_0x326528(0x1d0)][_0x326528(0x208)](_0x48fb8d)||this[_0x326528(0x257)][_0x326528(0x269)](_0x48fb8d,_0x278846);}}}
|
|
23
|
+
const _0x31c436=_0x55ae;function _0x55ae(_0x4113b4,_0x530593){const _0x369de7=_0x369d();return _0x55ae=function(_0x55ae63,_0xb842db){_0x55ae63=_0x55ae63-0x1aa;let _0x59e489=_0x369de7[_0x55ae63];return _0x59e489;},_0x55ae(_0x4113b4,_0x530593);}(function(_0x3f8703,_0x20e4cf){const _0x25d606=_0x55ae,_0x4e6473=_0x3f8703();while(!![]){try{const _0x11b9b1=-parseInt(_0x25d606(0x20c))/0x1+parseInt(_0x25d606(0x296))/0x2*(parseInt(_0x25d606(0x2aa))/0x3)+-parseInt(_0x25d606(0x1fc))/0x4*(parseInt(_0x25d606(0x1d4))/0x5)+-parseInt(_0x25d606(0x27f))/0x6*(-parseInt(_0x25d606(0x1bb))/0x7)+parseInt(_0x25d606(0x28a))/0x8*(-parseInt(_0x25d606(0x1e0))/0x9)+-parseInt(_0x25d606(0x28b))/0xa*(parseInt(_0x25d606(0x2a8))/0xb)+parseInt(_0x25d606(0x1ef))/0xc*(parseInt(_0x25d606(0x1f3))/0xd);if(_0x11b9b1===_0x20e4cf)break;else _0x4e6473['push'](_0x4e6473['shift']());}catch(_0x1cea34){_0x4e6473['push'](_0x4e6473['shift']());}}}(_0x369d,0xa1504));import{Plugin as _0x357ffc,PendingActions as _0x2bbd42}from'ckeditor5/src/core.js';import{CKEditorError as _0x7c0af6,version as _0x1f9577,uid as _0x892c46}from'ckeditor5/src/utils.js';import{Notification as _0x42ae73}from'ckeditor5/src/ui.js';import{transformSets as _0x5f0e63,NoOperation as _0x15ad9d,InsertOperation as _0x92e797,MarkerOperation as _0x529eca,RootAttributeOperation as _0xa823d,OperationFactory as _0x38f9a9,History as _0x3b8a4b}from'ckeditor5/src/engine.js';import _0x469e58 from'./websocketgateway.js';import _0x50c1b4 from'./sessions.js';import _0x1a5417 from'./usermarkers.js';import{getTranslation as _0x2d4115}from'../common-translations.js';import{Compressor as _0x3e9fcd}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1c54aa}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x2e63fd,CollaborativeEditingService as _0x3d8213}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x357ffc{static get[_0x31c436(0x2ab)](){return[_0x469e58,_0x50c1b4,_0x1a5417,_0x2bbd42,_0x1c54aa,_0x42ae73];}static get[_0x31c436(0x269)](){const _0x39b13d=_0x31c436;return _0x39b13d(0x1f7);}get[_0x31c436(0x24b)](){const _0x136086=_0x31c436;return this[_0x136086(0x1e6)]+this[_0x136086(0x242)];}get[_0x31c436(0x1e6)](){const _0x2ea773=_0x31c436;return this[_0x2ea773(0x252)][_0x2ea773(0x1ac)]-this[_0x2ea773(0x242)];}get[_0x31c436(0x20e)](){const _0x433274=_0x31c436,_0x47b3ae=this[_0x433274(0x252)][_0x433274(0x208)]();for(let _0x1c5307=_0x47b3ae[_0x433274(0x271)]-0x1;_0x1c5307>=0x0;_0x1c5307--){const _0x306937=_0x47b3ae[_0x1c5307];if(!this[_0x433274(0x23d)][_0x433274(0x1c1)](_0x306937))return _0x306937[_0x433274(0x245)]+0x1-this[_0x433274(0x242)];}return 0x0;}constructor(_0x5ba77f){const _0xc2f62c=_0x31c436;if(super(_0x5ba77f),this[_0xc2f62c(0x242)]=0x0,this[_0xc2f62c(0x281)]=null,this[_0xc2f62c(0x252)]=new _0x3b8a4b(),this[_0xc2f62c(0x29d)][_0xc2f62c(0x26f)][_0xc2f62c(0x255)](_0xc2f62c(0x211),{}),this[_0xc2f62c(0x1b4)]=this[_0xc2f62c(0x29d)][_0xc2f62c(0x26f)][_0xc2f62c(0x282)](_0xc2f62c(0x24a)),!this[_0xc2f62c(0x1b4)])throw new _0x7c0af6(_0xc2f62c(0x273),this);const _0x1f69df=_0x5ba77f[_0xc2f62c(0x26f)][_0xc2f62c(0x282)](_0xc2f62c(0x27b))||_0x1f9577;this[_0xc2f62c(0x26b)]=new l[(_0xc2f62c(0x28f))](_0x1f69df,this[_0xc2f62c(0x1b4)]),this[_0xc2f62c(0x1e9)]=this[_0xc2f62c(0x29d)][_0xc2f62c(0x1aa)][_0xc2f62c(0x1c7)],this[_0xc2f62c(0x22e)]=new _0x3e9fcd(),this[_0xc2f62c(0x27a)]=[],this[_0xc2f62c(0x294)]=new WeakSet(),this[_0xc2f62c(0x221)]=new Set(),this[_0xc2f62c(0x292)](_0xc2f62c(0x287),!0x1),this[_0xc2f62c(0x292)](_0xc2f62c(0x1d0),!0x1),this[_0xc2f62c(0x1d1)]=null,this[_0xc2f62c(0x262)]=!0x1,this[_0xc2f62c(0x1bf)]=null,this[_0xc2f62c(0x1ee)]=0x12c,this[_0xc2f62c(0x21f)]=this[_0xc2f62c(0x1ee)],this[_0xc2f62c(0x21e)]=null,this[_0xc2f62c(0x23d)]=new WeakSet(),this[_0xc2f62c(0x27d)]=new X(this[_0xc2f62c(0x23d)]);}[_0x31c436(0x1fd)](){const _0x1a480a=_0x31c436,_0x587df7=this[_0x1a480a(0x29d)],_0xff7dee=_0x587df7[_0x1a480a(0x265)][_0x1a480a(0x282)](_0x1c54aa),_0x112cb2=_0x587df7[_0x1a480a(0x265)][_0x1a480a(0x282)](_0x469e58);this[_0x1a480a(0x21d)](_0xff7dee,_0x1a480a(0x1cd),(_0x5f193d,_0xa45e2d)=>{const _0x18a20d=_0x1a480a,_0x25ccc7=_0xa45e2d[0x0];_0x25ccc7[_0x18a20d(0x1b0)]&&(_0x5f193d[_0x18a20d(0x1f4)]=_0xff7dee[_0x18a20d(0x1f8)](_0x25ccc7[_0x18a20d(0x1b0)]),_0x5f193d[_0x18a20d(0x217)]()),null===_0x25ccc7[_0x18a20d(0x1b0)]&&(_0x5f193d[_0x18a20d(0x1f4)]=null,_0x5f193d[_0x18a20d(0x217)]());},{'priority':_0x1a480a(0x225)}),this[_0x1a480a(0x21d)](_0x587df7[_0x1a480a(0x1aa)][_0x1a480a(0x1c7)][_0x1a480a(0x25a)],_0x1a480a(0x29f),(_0x8fe7af,_0x56ba54)=>{const _0x32a1ff=_0x1a480a;_0x56ba54[_0x32a1ff(0x1c4)]&&this[_0x32a1ff(0x1c6)]();}),this[_0x1a480a(0x21d)](_0x587df7[_0x1a480a(0x25d)][_0x1a480a(0x1cf)],_0x1a480a(0x2a3),()=>{const _0x181e5a=_0x1a480a;this[_0x181e5a(0x1c6)]();}),this[_0x1a480a(0x1b1)](),_0x587df7[_0x1a480a(0x1aa)]['on'](_0x1a480a(0x268),(_0x4eefce,_0x4a710d)=>{const _0x56d8b1=_0x1a480a,_0x18f3a3=_0x4a710d[0x0];_0x18f3a3[_0x56d8b1(0x1c0)]&&(this[_0x56d8b1(0x28e)](_0x18f3a3),this[_0x56d8b1(0x1cc)]()&&this[_0x56d8b1(0x1c3)]());}),this[_0x1a480a(0x1d5)](),this[_0x1a480a(0x266)](_0x1a480a(0x1cb))['to'](_0x112cb2,_0x1a480a(0x24c),this,_0x1a480a(0x1d0),(_0xa40172,_0x34daeb)=>_0x1a480a(0x1f6)===_0xa40172&&!_0x34daeb),this['on'](_0x1a480a(0x203),()=>{const _0x3b2593=_0x1a480a;this[_0x3b2593(0x1cb)]?_0x587df7[_0x3b2593(0x1b8)](_0x3b2593(0x214)):_0x587df7[_0x3b2593(0x260)](_0x3b2593(0x214));}),this[_0x1a480a(0x1cb)]?_0x587df7[_0x1a480a(0x1b8)](_0x1a480a(0x214)):_0x587df7[_0x1a480a(0x260)](_0x1a480a(0x214)),this[_0x1a480a(0x292)](_0x1a480a(0x267),!0x1);}async[_0x31c436(0x270)](){const _0x342054=_0x31c436,_0x136235=this[_0x342054(0x29d)][_0x342054(0x265)][_0x342054(0x282)](_0x50c1b4),_0xbe128f=this[_0x342054(0x29d)][_0x342054(0x265)][_0x342054(0x282)](_0x469e58);try{this[_0x342054(0x287)]=!0x0,_0x136235[_0x342054(0x239)](this[_0x342054(0x1b4)]);const _0x5d0405=await this[_0x342054(0x26b)][_0x342054(0x270)](_0xbe128f[_0x342054(0x246)],this[_0x342054(0x20e)]);await this[_0x342054(0x1bd)](_0x5d0405)&&(this[_0x342054(0x287)]=!0x1,this[_0x342054(0x227)]());const _0x3bcd06=await this[_0x342054(0x26b)][_0x342054(0x299)]();_0x136235[_0x342054(0x1d3)](this[_0x342054(0x1b4)],_0x3bcd06),this[_0x342054(0x274)](),this[_0x342054(0x267)]=!0x0;}catch(_0x10d7ad){if(function(_0x3ba72c){const _0x2be6f4=_0x342054;return _0x2be6f4(0x1c5)===_0x3ba72c[_0x2be6f4(0x247)];}(_0x10d7ad)&&this[_0x342054(0x281)])await this[_0x342054(0x1e4)]();else{if(function(_0x304339){const _0x28ce4b=_0x342054;return _0x28ce4b(0x23b)===_0x304339[_0x28ce4b(0x247)];}(_0x10d7ad)){const _0x1cc232=_0x2d4115(this[_0x342054(0x29d)][_0x342054(0x1c2)],_0x342054(0x207));this[_0x342054(0x1b3)](_0x1cc232);}else{if(!(_0x10d7ad instanceof J))throw _0x10d7ad;this[_0x342054(0x1b3)]();}}}}[_0x31c436(0x1fe)](){const _0x4722c7=_0x31c436,_0x24400e=this[_0x4722c7(0x29d)][_0x4722c7(0x265)][_0x4722c7(0x282)](_0x469e58),_0x131fd4=this[_0x4722c7(0x29d)][_0x4722c7(0x265)][_0x4722c7(0x282)](_0x50c1b4);this[_0x4722c7(0x29d)][_0x4722c7(0x260)](_0x4722c7(0x297)),_0x131fd4[_0x4722c7(0x1ce)][_0x4722c7(0x1c1)](this[_0x4722c7(0x1b4)])&&_0x131fd4[_0x4722c7(0x239)](this[_0x4722c7(0x1b4)]),_0x24400e[_0x4722c7(0x224)](this),this[_0x4722c7(0x1dd)](),super[_0x4722c7(0x1fe)]();}async[_0x31c436(0x1bd)](_0x37478c){const _0x103289=_0x31c436;if(this[_0x103289(0x281)]!==_0x37478c[_0x103289(0x281)]&&this[_0x103289(0x21e)]!==_0x37478c[_0x103289(0x21c)])throw new J();return this[_0x103289(0x281)]=_0x37478c[_0x103289(0x281)],this[_0x103289(0x1d9)]([],{..._0x37478c,'wereChangesApplied':!0x1,'data':_0x37478c[_0x103289(0x1ec)]},_0x103289(0x270));}async[_0x31c436(0x254)](_0x2f6788,_0x1fca31=!0x1){const _0x420c33=_0x31c436,{connection:_0x3004c8}=this[_0x420c33(0x29d)][_0x420c33(0x265)][_0x420c33(0x282)](_0x469e58);l[_0x420c33(0x28f)][_0x420c33(0x299)](_0x3004c8,this[_0x420c33(0x1b4)])[_0x420c33(0x1e1)](_0x5d64ff=>this[_0x420c33(0x1da)](_0x5d64ff))[_0x420c33(0x1ab)](_0x2502e4=>{const _0x1765a4=_0x420c33;this[_0x1765a4(0x23f)](_0x1765a4(0x206),_0x2502e4);}),this[_0x420c33(0x21d)](this[_0x420c33(0x26b)],_0x420c33(0x2a9),this[_0x420c33(0x20f)][_0x420c33(0x266)](this)),this[_0x420c33(0x21d)](this[_0x420c33(0x26b)],_0x420c33(0x1f1),(_0xba1c82,_0x431037)=>{const _0x47779e=_0x420c33;this[_0x47779e(0x23f)](_0x47779e(0x220),_0x431037);}),this[_0x420c33(0x21d)](this[_0x420c33(0x26b)],_0x420c33(0x279),()=>{const _0x51fe52=_0x420c33;this[_0x51fe52(0x267)]=!0x1;});const _0x2e5dbc=this[_0x420c33(0x27d)][_0x420c33(0x1b6)](_0x2f6788);this[_0x420c33(0x287)]=!0x0;const _0x1fe830=await this[_0x420c33(0x26b)][_0x420c33(0x283)](_0x3004c8,this[_0x420c33(0x21b)](_0x2f6788),_0x2e5dbc);if(this[_0x420c33(0x281)]=_0x1fe830[_0x420c33(0x281)],_0x1fca31){if(!_0x1fe830[_0x420c33(0x1e3)])return void this[_0x420c33(0x1b3)]();this[_0x420c33(0x287)]=!0x1,this[_0x420c33(0x227)](),this[_0x420c33(0x252)][_0x420c33(0x1ea)](),this[_0x420c33(0x242)]=_0x1fe830[_0x420c33(0x218)],this[_0x420c33(0x252)][_0x420c33(0x1ac)]=this[_0x420c33(0x242)],await this[_0x420c33(0x1d9)](_0x2f6788,_0x1fe830,_0x420c33(0x1e2));}else await this[_0x420c33(0x26a)](_0x1fe830,_0x2f6788);this[_0x420c33(0x274)](),this[_0x420c33(0x267)]=!0x0;}[_0x31c436(0x274)](){const _0x557213=_0x31c436,_0x10c9ae=this[_0x557213(0x29d)][_0x557213(0x265)][_0x557213(0x282)](_0x50c1b4),_0x15214a=this[_0x557213(0x29d)][_0x557213(0x265)][_0x557213(0x282)](_0x1a5417),_0x4929db=_0x10c9ae[_0x557213(0x1ce)][_0x557213(0x282)](this[_0x557213(0x1b4)]);_0x4929db&&_0x4929db[_0x557213(0x271)]>0x1?_0x15214a[_0x557213(0x20a)]():this[_0x557213(0x21d)](_0x10c9ae,_0x557213(0x240)+this[_0x557213(0x1b4)],()=>{const _0x51e7b5=_0x557213;0x2===_0x10c9ae[_0x51e7b5(0x1ce)][_0x51e7b5(0x282)](this[_0x51e7b5(0x1b4)])[_0x51e7b5(0x271)]&&_0x15214a[_0x51e7b5(0x20a)]();});}async[_0x31c436(0x20f)](_0x120c5c,_0x5c98e5,_0x3a0a5d,_0x3c185e){const _0xad9d27=_0x31c436;if(!this[_0xad9d27(0x287)]&&this[_0xad9d27(0x1e9)][_0xad9d27(0x1ac)]==_0x5c98e5){const _0x3977da=this[_0xad9d27(0x1fa)](_0x3a0a5d,_0x3c185e);await this[_0xad9d27(0x22f)](_0x3977da),this[_0xad9d27(0x1d2)](_0x3977da,_0x5c98e5,_0x3a0a5d[_0xad9d27(0x21c)])||this[_0xad9d27(0x23f)](_0xad9d27(0x209));}}async[_0x31c436(0x1e4)](){const _0x36eea6=_0x31c436;this[_0x36eea6(0x1dd)]();const {locale:_0x4b19bd}=this[_0x36eea6(0x29d)];let _0xbf61b6;try{_0xbf61b6=await this[_0x36eea6(0x26b)][_0x36eea6(0x23e)]();}catch(_0x4ec60e){const _0xb28d5e=_0x2d4115(_0x4b19bd,_0x36eea6(0x2a1));return void this[_0x36eea6(0x1b3)](_0xb28d5e);}const _0x58ea09=_0xbf61b6[_0x36eea6(0x204)]||_0xbf61b6[_0x36eea6(0x238)];if(this[_0x36eea6(0x21e)]===_0x58ea09[_0x36eea6(0x21c)])await this[_0x36eea6(0x254)](this[_0x36eea6(0x29d)][_0x36eea6(0x1aa)][_0x36eea6(0x1c7)][_0x36eea6(0x1db)][_0x36eea6(0x208)](),!0x0);else{const _0x190d1b=_0x2d4115(_0x4b19bd,_0x36eea6(0x25c));this[_0x36eea6(0x1b3)](_0x190d1b);}}[_0x31c436(0x1dd)](){const _0x44b639=_0x31c436;this[_0x44b639(0x26b)][_0x44b639(0x251)](),this[_0x44b639(0x27a)]=[],clearTimeout(this[_0x44b639(0x1bf)]),this[_0x44b639(0x226)](this[_0x44b639(0x26b)]);}[_0x31c436(0x1da)](_0x2b595a){const _0x2d388e=_0x31c436,_0x4d7580=this[_0x2d388e(0x29d)][_0x2d388e(0x265)][_0x2d388e(0x282)](_0x50c1b4);this[_0x2d388e(0x21d)](_0x4d7580,_0x2d388e(0x240)+this[_0x2d388e(0x1b4)],(_0x44e1c8,{session:_0x994f67})=>{const _0x42e4a1=_0x2d388e;if(_0x994f67['id']===_0x4d7580[_0x42e4a1(0x1b5)]){_0x44e1c8[_0x42e4a1(0x2a5)]();const _0x4b0a1e=this[_0x42e4a1(0x29d)][_0x42e4a1(0x265)][_0x42e4a1(0x1c1)](_0x42e4a1(0x1dc))&&this[_0x42e4a1(0x29d)][_0x42e4a1(0x265)][_0x42e4a1(0x282)](_0x42e4a1(0x1dc));let _0x1a67fc=_0x994f67[_0x42e4a1(0x244)];_0x4b0a1e&&_0x4b0a1e[_0x42e4a1(0x200)]&&(_0x1a67fc=_0x1a67fc[_0x42e4a1(0x1e7)](_0x1a0a70=>_0x42e4a1(0x205)!==_0x1a0a70)),this[_0x42e4a1(0x29d)][_0x42e4a1(0x265)][_0x42e4a1(0x282)](_0x42e4a1(0x1ad))[_0x42e4a1(0x22b)](_0x1a67fc,this[_0x42e4a1(0x1b4)]);}}),_0x4d7580[_0x2d388e(0x1d3)](this[_0x2d388e(0x1b4)],_0x2b595a);}[_0x31c436(0x1b1)](){const _0x1b1865=_0x31c436,_0x3dea30=this[_0x1b1865(0x29d)][_0x1b1865(0x1ec)][_0x1b1865(0x292)];this[_0x1b1865(0x29d)][_0x1b1865(0x1ec)][_0x1b1865(0x292)]=(..._0x53b8a6)=>{const _0x2141f5=_0x1b1865;if(!_0x53b8a6[_0x53b8a6[_0x2141f5(0x271)]-0x1][_0x2141f5(0x291)])throw new _0x7c0af6(_0x2141f5(0x234),this);_0x3dea30[_0x2141f5(0x228)](this[_0x2141f5(0x29d)][_0x2141f5(0x1ec)],_0x53b8a6);};}[_0x31c436(0x1d5)](){const _0x4d433d=_0x31c436;this[_0x4d433d(0x29d)][_0x4d433d(0x1ec)]['on'](_0x4d433d(0x1fd),(_0x3181d1,[_0x1d13bf])=>{const _0x542a9c=_0x4d433d;if(this[_0x542a9c(0x1e9)][_0x542a9c(0x1ac)])throw new _0x7c0af6(_0x542a9c(0x259),this);_0x3181d1[_0x542a9c(0x217)](),this[_0x542a9c(0x1b2)]();const _0x2c610c=this[_0x542a9c(0x29d)][_0x542a9c(0x26f)][_0x542a9c(0x282)](_0x542a9c(0x210)),_0x4b78a3=this[_0x542a9c(0x212)](_0x1d13bf,_0x2c610c);0x0==_0x4b78a3[_0x542a9c(0x271)]&&_0x4b78a3[_0x542a9c(0x286)](new _0x15ad9d(0x0)),_0x3181d1[_0x542a9c(0x1f4)]=this[_0x542a9c(0x254)](_0x4b78a3)[_0x542a9c(0x1e1)](()=>{const _0x2945c0=_0x542a9c;this[_0x2945c0(0x29d)][_0x2945c0(0x265)][_0x2945c0(0x282)](_0x469e58)[_0x2945c0(0x253)](this),this[_0x2945c0(0x29d)][_0x2945c0(0x1ec)][_0x2945c0(0x1ff)](_0x2945c0(0x2a0));})[_0x542a9c(0x1ab)](_0x3dc9fd=>this[_0x542a9c(0x23f)](_0x542a9c(0x288),_0x3dc9fd))[_0x542a9c(0x236)](()=>this[_0x542a9c(0x227)]());},{'priority':_0x4d433d(0x225)}),this[_0x4d433d(0x29d)]['on'](_0x4d433d(0x22c),async(_0x2c9371,[_0x36a116,_0x254576])=>{const _0x5b39eb=_0x4d433d;_0x2c9371[_0x5b39eb(0x217)]();const _0x39baeb=this[_0x5b39eb(0x29d)][_0x5b39eb(0x1aa)][_0x5b39eb(0x1c7)][_0x5b39eb(0x21a)](_0x36a116);if(!this[_0x5b39eb(0x221)][_0x5b39eb(0x1c1)](_0x36a116)){const _0x223346=_0x254576&&_0x254576[_0x5b39eb(0x1ec)]?_0x254576[_0x5b39eb(0x1ec)]:'',_0x288af5=_0x254576&&_0x254576[_0x5b39eb(0x1e5)]?_0x254576[_0x5b39eb(0x1e5)]:{};await this[_0x5b39eb(0x231)](_0x36a116,_0x223346,_0x288af5);}this[_0x5b39eb(0x29d)][_0x5b39eb(0x1aa)][_0x5b39eb(0x25f)]({'isUndoable':!0x1},()=>{const _0x1b6377=_0x5b39eb;_0x39baeb[_0x1b6377(0x29a)]=!0x0,this[_0x1b6377(0x29d)][_0x1b6377(0x1aa)][_0x1b6377(0x1c7)][_0x1b6377(0x1ca)][_0x1b6377(0x277)](_0x39baeb);});},{'priority':_0x4d433d(0x225)});}async[_0x31c436(0x22f)](_0x2db691){const _0x4c9ac2=_0x31c436,_0x18cd39=this[_0x4c9ac2(0x29d)][_0x4c9ac2(0x265)][_0x4c9ac2(0x282)](_0x1c54aa),{connection:_0x2bdf0d}=this[_0x4c9ac2(0x29d)][_0x4c9ac2(0x265)][_0x4c9ac2(0x282)](_0x469e58),_0x46a545=new Set();for(const _0x5ebd23 of _0x2db691){const _0x1ca77c=_0x5ebd23[_0x4c9ac2(0x1b0)];_0x1ca77c&&!_0x18cd39[_0x4c9ac2(0x1f8)](_0x1ca77c)&&_0x46a545[_0x4c9ac2(0x26e)](_0x1ca77c);}if(0x0===_0x46a545[_0x4c9ac2(0x237)])return;const _0x2a4061=await _0x2e63fd[_0x4c9ac2(0x2a2)](_0x2bdf0d,Array[_0x4c9ac2(0x213)](_0x46a545));for(const _0x47ebf7 of _0x2a4061)_0x18cd39[_0x4c9ac2(0x1f8)](_0x47ebf7['id'])||_0x18cd39[_0x4c9ac2(0x1d8)](_0x47ebf7);}[_0x31c436(0x212)](_0x2b825e,_0xbd7d20={}){const _0x3e8066=_0x31c436,_0x5ddea7=this[_0x3e8066(0x29d)][_0x3e8066(0x1aa)],_0x18cf9e=[];let _0x13877d=0x0;const _0x42f96a=_0x3e8066(0x22d)==typeof _0x2b825e?{'main':_0x2b825e}:_0x2b825e;for(const _0x554437 of Object[_0x3e8066(0x2ad)](_0x42f96a)){if(!this[_0x3e8066(0x1e9)][_0x3e8066(0x295)][_0x3e8066(0x1c1)](_0x554437))throw new _0x7c0af6(_0x3e8066(0x24e),this);const _0x3ba89e=this[_0x3e8066(0x29d)][_0x3e8066(0x1ec)][_0x3e8066(0x26d)](_0x42f96a[_0x554437]),_0x5970e5=this[_0x3e8066(0x1e9)][_0x3e8066(0x21a)](_0x554437),_0x9ff3e1=new _0x92e797(_0x5ddea7[_0x3e8066(0x25b)](_0x5970e5,0x0),_0x3ba89e,_0x13877d++);_0x18cf9e[_0x3e8066(0x286)](_0x9ff3e1);for(const [_0x277f5a,_0x134fdf]of _0x3ba89e[_0x3e8066(0x23a)]){const _0x2a9f77=_0x5ddea7[_0x3e8066(0x1ba)](_0x5ddea7[_0x3e8066(0x263)](_0x5970e5,_0x134fdf[_0x3e8066(0x1af)][_0x3e8066(0x27e)][_0x3e8066(0x2ae)]()),_0x5ddea7[_0x3e8066(0x263)](_0x5970e5,_0x134fdf[_0x3e8066(0x24f)][_0x3e8066(0x27e)][_0x3e8066(0x2ae)]())),_0x2c635f=new _0x529eca(_0x277f5a,null,_0x2a9f77,_0x5ddea7[_0x3e8066(0x23a)],!0x0,_0x13877d++);_0x18cf9e[_0x3e8066(0x286)](_0x2c635f);}}if(_0xbd7d20)for(const [_0x477864,_0x49a624]of Object[_0x3e8066(0x1de)](_0xbd7d20)){const _0x5632ba=_0x5ddea7[_0x3e8066(0x1c7)][_0x3e8066(0x21a)](_0x477864);if(!_0x5632ba)throw new _0x7c0af6(_0x3e8066(0x1bc),null);for(const [_0x55f654,_0x21166e]of Object[_0x3e8066(0x1de)](_0x49a624))if(null!==_0x21166e){const _0x5534b9=new _0xa823d(_0x5632ba,_0x55f654,null,_0x21166e,_0x13877d++);_0x18cf9e[_0x3e8066(0x286)](_0x5534b9);}}return _0x18cf9e;}async[_0x31c436(0x231)](_0x1d45ba,_0x308dce,_0xf58311){const _0x4d0b2e=_0x31c436;this[_0x4d0b2e(0x212)]({[_0x1d45ba]:_0x308dce},{[_0x1d45ba]:_0xf58311})[_0x4d0b2e(0x202)]((_0x4eafc8,_0x4d8d56)=>{const _0x2b3b37=_0x4d0b2e;_0x4eafc8[_0x2b3b37(0x245)]=this[_0x2b3b37(0x1e9)][_0x2b3b37(0x1ac)]+_0x4d8d56,_0x4eafc8[_0x2b3b37(0x256)]=!0x0,this[_0x2b3b37(0x28e)](_0x4eafc8);}),this[_0x4d0b2e(0x1c3)](),await this[_0x4d0b2e(0x1f9)]();}async[_0x31c436(0x26a)](_0xec16d9,_0x58e99f){const _0x2cd9e3=_0x31c436;let _0x361b2e;this[_0x2cd9e3(0x242)]=_0xec16d9[_0x2cd9e3(0x218)];const _0x38ba49=_0xec16d9[_0x2cd9e3(0x1e3)]&&!_0xec16d9[_0x2cd9e3(0x29b)],_0x16ce16=_0x38ba49?0x0:_0xec16d9[_0x2cd9e3(0x1ec)][_0x2cd9e3(0x245)];if(_0x58e99f[_0x2cd9e3(0x202)](_0x48c1ab=>{const _0x2bdff2=_0x2cd9e3;_0x48c1ab[_0x2bdff2(0x256)]=!0x0,_0x48c1ab[_0x2bdff2(0x1c8)]=_0xec16d9[_0x2bdff2(0x249)],_0x48c1ab[_0x2bdff2(0x1b0)]=null;}),_0x38ba49)_0x361b2e=_0x58e99f,this[_0x2cd9e3(0x243)](_0x361b2e,_0x38ba49);else{if(_0xec16d9[_0x2cd9e3(0x29b)]){const _0xf5a20b=this[_0x2cd9e3(0x212)](_0xec16d9[_0x2cd9e3(0x29b)]);this[_0x2cd9e3(0x1e9)][_0x2cd9e3(0x1db)][_0x2cd9e3(0x1ac)]=-_0xf5a20b[_0x2cd9e3(0x271)],_0xf5a20b[_0x2cd9e3(0x202)](_0x21f1e2=>{const _0x2dfada=_0x2cd9e3;_0x21f1e2[_0x2dfada(0x245)]-=_0xf5a20b[_0x2dfada(0x271)],_0x21f1e2[_0x2dfada(0x1c8)]=_0xec16d9[_0x2dfada(0x249)],_0x21f1e2[_0x2dfada(0x256)]=!0x0,_0x21f1e2[_0x2dfada(0x1b0)]=null;}),this[_0x2cd9e3(0x243)](_0xf5a20b,!0x0),this[_0x2cd9e3(0x252)][_0x2cd9e3(0x1ac)]=-_0xf5a20b[_0x2cd9e3(0x271)]+this[_0x2cd9e3(0x242)],this[_0x2cd9e3(0x28d)](_0xf5a20b);}this[_0x2cd9e3(0x1e9)][_0x2cd9e3(0x1db)][_0x2cd9e3(0x1ac)]=_0x16ce16,_0x361b2e=this[_0x2cd9e3(0x1fa)](_0xec16d9[_0x2cd9e3(0x1ec)],_0xec16d9[_0x2cd9e3(0x222)]),await this[_0x2cd9e3(0x22f)](_0x361b2e),this[_0x2cd9e3(0x243)](_0x361b2e,_0x38ba49);}_0xec16d9[_0x2cd9e3(0x21c)]&&(this[_0x2cd9e3(0x27d)][_0x2cd9e3(0x1d6)](_0x361b2e,_0xec16d9[_0x2cd9e3(0x21c)]),this[_0x2cd9e3(0x21e)]=_0xec16d9[_0x2cd9e3(0x21c)]),this[_0x2cd9e3(0x252)][_0x2cd9e3(0x1ac)]=_0x16ce16+this[_0x2cd9e3(0x242)],this[_0x2cd9e3(0x28d)](_0x361b2e),_0x58e99f[_0x2cd9e3(0x1e7)](_0x5c6459=>{const _0xb18e79=_0x2cd9e3,_0x71a0c1=this[_0xb18e79(0x1ed)](_0x5c6459);return _0x71a0c1&&!this[_0xb18e79(0x221)][_0xb18e79(0x1c1)](_0x71a0c1);})[_0x2cd9e3(0x202)]((_0x355c26,_0x36fa2d)=>{const _0x489480=_0x2cd9e3;_0x355c26[_0x489480(0x245)]=this[_0x489480(0x1e9)][_0x489480(0x1ac)]+_0x36fa2d,this[_0x489480(0x28e)](_0x355c26);}),this[_0x2cd9e3(0x1cc)]()?(this[_0x2cd9e3(0x21f)]=0x0,this[_0x2cd9e3(0x1c3)](!0x0),await this[_0x2cd9e3(0x1f9)]()):(this[_0x2cd9e3(0x287)]=!0x1,this[_0x2cd9e3(0x227)]());}[_0x31c436(0x23f)](_0x21339e,_0x22323f){const _0x4a6722=_0x31c436;throw this[_0x4a6722(0x287)]=!0x0,_0x22323f&&console[_0x4a6722(0x1f1)](_0x22323f),new _0x7c0af6(_0x21339e,this[_0x4a6722(0x29d)]);}[_0x31c436(0x28e)](_0x53d2d1){const _0x36a3f7=_0x31c436;this[_0x36a3f7(0x294)][_0x36a3f7(0x1c1)](_0x53d2d1)||(this[_0x36a3f7(0x294)][_0x36a3f7(0x26e)](_0x53d2d1),this[_0x36a3f7(0x27a)][_0x36a3f7(0x286)](_0x53d2d1),this[_0x36a3f7(0x1d1)]||_0x36a3f7(0x27c)==_0x53d2d1[_0x36a3f7(0x219)]&&!_0x53d2d1[_0x36a3f7(0x26c)]||this[_0x36a3f7(0x1b2)]());}[_0x31c436(0x1c3)](_0x5f207d=!0x1){const _0x4a77d7=_0x31c436;!_0x5f207d&&this[_0x4a77d7(0x287)]||(this[_0x4a77d7(0x287)]=!0x0,clearTimeout(this[_0x4a77d7(0x1bf)]),this[_0x4a77d7(0x1bf)]=setTimeout(()=>{const _0x1e960b=_0x4a77d7;this[_0x1e960b(0x264)]()[_0x1e960b(0x1e1)](_0x38a23e=>{const _0x2dba2f=_0x1e960b;_0x38a23e&&(this[_0x2dba2f(0x227)](),this[_0x2dba2f(0x287)]=!0x1);})[_0x1e960b(0x1ab)](_0xb35b9f=>{const _0xa83c82=_0x1e960b;if(this[_0xa83c82(0x227)](),this[_0xa83c82(0x287)]=!0x1,!function(_0x485708){const _0x51f8c7=_0xa83c82;return _0x485708[_0x51f8c7(0x289)][_0x51f8c7(0x29c)](_0x51f8c7(0x248))||_0x485708[_0x51f8c7(0x289)][_0x51f8c7(0x29c)](_0x51f8c7(0x216))||_0x485708[_0x51f8c7(0x289)][_0x51f8c7(0x29c)](_0x51f8c7(0x28c));}(_0xb35b9f))throw _0xb35b9f;});},this[_0x4a77d7(0x21f)]));}[_0x31c436(0x1f9)](){return new Promise(_0x28d494=>{const _0x2fb462=_0x55ae;this['on'](_0x2fb462(0x272),()=>{_0x28d494();});});}async[_0x31c436(0x264)](){const _0xb85818=_0x31c436,_0x4eed36=this[_0xb85818(0x29d)][_0xb85818(0x265)][_0xb85818(0x282)](_0x1a5417);if(this[_0xb85818(0x229)]()&&(_0x4eed36[_0xb85818(0x20a)](),this[_0xb85818(0x262)]=!0x1),!this[_0xb85818(0x1cc)]())return!0x0;const _0x9e97fa=[...this[_0xb85818(0x27a)]];for(const _0x36e41a of _0x9e97fa)_0x36e41a[_0xb85818(0x278)]=this[_0xb85818(0x1e9)][_0xb85818(0x1db)][_0xb85818(0x258)](_0x36e41a);const _0x2b66a8=this[_0xb85818(0x27d)][_0xb85818(0x1b6)](_0x9e97fa),_0x206d20=K++,_0x5de3f5=this[_0xb85818(0x21b)](_0x9e97fa),_0x25417d=await this[_0xb85818(0x26b)][_0xb85818(0x285)](_0x5de3f5,_0x5de3f5[_0xb85818(0x245)],_0x2b66a8);try{return await this[_0xb85818(0x1d9)](_0x9e97fa,_0x25417d,_0x206d20);}catch(_0x4cf90e){return this[_0xb85818(0x23f)](_0xb85818(0x298),_0x4cf90e);}}async[_0x31c436(0x1d9)](_0x4b7768,_0x37a754,_0x2a3d84){const _0x4538e7=_0x31c436;if(_0x4538e7(0x1f1)in _0x37a754)throw _0x37a754[_0x4538e7(0x1f1)];let _0x459dfc=!0x1;if(_0x37a754[_0x4538e7(0x1e3)]){_0x37a754[_0x4538e7(0x21c)]&&(this[_0x4538e7(0x21e)]=_0x37a754[_0x4538e7(0x21c)]),this[_0x4538e7(0x27a)]=this[_0x4538e7(0x27a)][_0x4538e7(0x1e7)](_0x3ef867=>!_0x4b7768[_0x4538e7(0x1b9)](_0x3ef867));for(const _0x208939 of _0x4b7768)_0x208939[_0x4538e7(0x1c8)]=_0x4538e7(0x23c)in _0x37a754&&_0x37a754[_0x4538e7(0x23c)]||void 0x0;Q(_0x4b7768,_0x37a754[_0x4538e7(0x1ac)]-_0x4b7768[_0x4538e7(0x271)]),this[_0x4538e7(0x28d)](_0x4b7768);const _0x216c85=_0x4b7768[_0x4538e7(0x1e7)](_0x406a2d=>{const _0x3266b2=_0x4538e7;if(!_0x406a2d[_0x3266b2(0x256)])return!0x1;const _0x4a5894=this[_0x3266b2(0x1ed)](_0x406a2d);return _0x4a5894&&!this[_0x3266b2(0x221)][_0x3266b2(0x1c1)](_0x4a5894);});Q(_0x216c85,this[_0x4538e7(0x1e9)][_0x4538e7(0x1ac)]),this[_0x4538e7(0x243)](_0x216c85),_0x459dfc=!0x0,this[_0x4538e7(0x21f)]=this[_0x4538e7(0x1ee)];}else{const _0xebca4=this[_0x4538e7(0x1fa)](_0x37a754[_0x4538e7(0x1ec)],_0x37a754[_0x4538e7(0x222)])[_0x4538e7(0x1e7)](_0x4bafe7=>_0x4bafe7[_0x4538e7(0x245)]>=this[_0x4538e7(0x1e6)]);_0xebca4[_0x4538e7(0x202)](_0xf736f6=>this[_0x4538e7(0x201)](_0xf736f6)),this[_0x4538e7(0x27a)]=this[_0x4538e7(0x27a)][_0x4538e7(0x1e7)](_0x584b11=>!_0x584b11[_0x4538e7(0x256)]||!this[_0x4538e7(0x221)][_0x4538e7(0x1c1)](this[_0x4538e7(0x1ed)](_0x584b11))),this[_0x4538e7(0x27a)][_0x4538e7(0x271)]&&Q(this[_0x4538e7(0x27a)],this[_0x4538e7(0x27a)][0x0][_0x4538e7(0x245)]),await this[_0x4538e7(0x22f)](_0xebca4),_0x459dfc=this[_0x4538e7(0x1d2)](_0xebca4,_0x37a754[_0x4538e7(0x1ac)],_0x37a754[_0x4538e7(0x21c)]),this[_0x4538e7(0x21f)]=Math[_0x4538e7(0x290)](this[_0x4538e7(0x21f)]/0x2);}return _0x459dfc?!this[_0x4538e7(0x1cc)]()||(this[_0x4538e7(0x1c3)](!0x0),!0x1):this[_0x4538e7(0x23f)](_0x4538e7(0x261));}[_0x31c436(0x1d2)](_0x3743f3,_0x51a2db,_0xa2d840){const _0xdfaa5c=_0x31c436;try{const _0x59c47a={'document':this[_0xdfaa5c(0x1e9)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x119bb6,operationsB:_0x35f876,originalOperations:_0x20c4cc}=_0x5f0e63(_0x3743f3,this[_0xdfaa5c(0x27a)],_0x59c47a);Q(_0x119bb6,this[_0xdfaa5c(0x1e9)][_0xdfaa5c(0x1ac)]),Q(_0x35f876,_0x51a2db);for(const _0x170347 of _0x119bb6){const _0x128f7c=_0x20c4cc[_0xdfaa5c(0x282)](_0x170347);_0x170347[_0xdfaa5c(0x1b0)]=_0x128f7c?_0x128f7c[_0xdfaa5c(0x1b0)]:null;}_0xa2d840&&(this[_0xdfaa5c(0x27d)][_0xdfaa5c(0x1d6)](_0x3743f3,_0xa2d840),this[_0xdfaa5c(0x21e)]=_0xa2d840),this[_0xdfaa5c(0x27a)]=[..._0x35f876],this[_0xdfaa5c(0x243)](_0x119bb6),this[_0xdfaa5c(0x28d)](_0x3743f3);}catch(_0x2d26f9){return console[_0xdfaa5c(0x1f1)](_0x2d26f9),!0x1;}return!0x0;}[_0x31c436(0x243)](_0x34390f,_0x149188=!0x1){const _0x182678=_0x31c436;this[_0x182678(0x29d)][_0x182678(0x1aa)][_0x182678(0x25f)]({'isUndoable':!0x1,'isLocal':!0x1},_0x51fb81=>{const _0x4c94b4=_0x182678;for(const _0x1e9fd3 of _0x34390f)this[_0x4c94b4(0x294)][_0x4c94b4(0x26e)](_0x1e9fd3),this[_0x4c94b4(0x201)](_0x1e9fd3),_0x51fb81[_0x4c94b4(0x1f0)][_0x4c94b4(0x215)](_0x1e9fd3),this[_0x4c94b4(0x29d)][_0x4c94b4(0x1aa)][_0x4c94b4(0x268)](_0x1e9fd3);});}[_0x31c436(0x201)](_0x1cbd45){const _0x1e284d=_0x31c436,_0x124fef=this[_0x1e284d(0x1ed)](_0x1cbd45);_0x124fef&&this[_0x1e284d(0x221)][_0x1e284d(0x26e)](_0x124fef);}[_0x31c436(0x1ed)](_0x4955ea){const _0xd9cb63=_0x31c436;let _0x4bba63,_0x488d98;switch(_0x4955ea[_0xd9cb63(0x219)]){case _0xd9cb63(0x241):_0x4bba63=_0x4955ea[_0xd9cb63(0x1d7)][_0xd9cb63(0x1df)];break;case _0xd9cb63(0x27c):if(_0x488d98=_0x4955ea[_0xd9cb63(0x22a)],!_0x488d98)return null;_0x4bba63=_0x488d98[_0xd9cb63(0x1df)];break;case _0xd9cb63(0x257):_0x4bba63=_0x4955ea[_0xd9cb63(0x1df)];break;case _0xd9cb63(0x25e):_0x4bba63=_0x4955ea[_0xd9cb63(0x2a6)];break;case _0xd9cb63(0x24d):_0x4bba63=_0x4955ea[_0xd9cb63(0x276)][_0xd9cb63(0x1df)];break;default:return null;}return _0x4bba63[_0xd9cb63(0x20d)];}[_0x31c436(0x28d)](_0x49de4b){const _0x5d8e83=_0x31c436;_0x49de4b[_0x5d8e83(0x202)](_0x13485d=>{const _0x2c1e5b=_0x5d8e83,_0x59599c=_0x13485d[_0x2c1e5b(0x1f5)]();_0x59599c[_0x2c1e5b(0x1b0)]=_0x13485d[_0x2c1e5b(0x1b0)],_0x59599c[_0x2c1e5b(0x256)]=!!_0x13485d[_0x2c1e5b(0x256)],_0x59599c[_0x2c1e5b(0x1c8)]=_0x13485d[_0x2c1e5b(0x1c8)],_0x59599c[_0x2c1e5b(0x245)]+=this[_0x2c1e5b(0x242)],_0x13485d[_0x2c1e5b(0x250)]&&this[_0x2c1e5b(0x23d)][_0x2c1e5b(0x26e)](_0x59599c),this[_0x2c1e5b(0x252)][_0x2c1e5b(0x215)](_0x59599c);});}[_0x31c436(0x1b3)](_0x504f53){const _0x291d31=_0x31c436,_0x96becd=this[_0x291d31(0x29d)][_0x291d31(0x265)][_0x291d31(0x282)](_0x291d31(0x275)),_0x265211=this[_0x291d31(0x29d)][_0x291d31(0x1c2)];_0x504f53||(_0x504f53=_0x2d4115(_0x265211,_0x291d31(0x235))),_0x96becd[_0x291d31(0x280)](_0x504f53,{'title':_0x2d4115(_0x265211,_0x291d31(0x1e8)),'namespace':_0x291d31(0x223)}),this[_0x291d31(0x1d0)]=!0x0,clearTimeout(this[_0x291d31(0x1bf)]),this[_0x291d31(0x27a)]=[],this[_0x291d31(0x29d)][_0x291d31(0x265)][_0x291d31(0x282)](_0x469e58)[_0x291d31(0x1fe)]();}[_0x31c436(0x1b2)](){const _0x11ffa9=_0x31c436;this[_0x11ffa9(0x1d1)]||(this[_0x11ffa9(0x1d1)]=this[_0x11ffa9(0x29d)][_0x11ffa9(0x265)][_0x11ffa9(0x282)](_0x2bbd42)[_0x11ffa9(0x26e)](_0x2d4115(this[_0x11ffa9(0x29d)][_0x11ffa9(0x1c2)],_0x11ffa9(0x29e))));}[_0x31c436(0x227)](){const _0x2e22c9=_0x31c436;this[_0x2e22c9(0x1d1)]&&(this[_0x2e22c9(0x29d)][_0x2e22c9(0x265)][_0x2e22c9(0x282)](_0x2bbd42)[_0x2e22c9(0x2a4)](this[_0x2e22c9(0x1d1)]),this[_0x2e22c9(0x1d1)]=null);}[_0x31c436(0x21b)](_0x13636f){const _0x59d991=_0x31c436,_0x54ed9=_0x13636f[_0x59d991(0x1f2)](_0x9872a7=>_0x9872a7[_0x59d991(0x233)]());return this[_0x59d991(0x22e)][_0x59d991(0x293)](_0x54ed9);}[_0x31c436(0x1fa)](_0x3732bb,_0x29f77b){const _0x11f645=_0x31c436;return this[_0x11f645(0x22e)][_0x11f645(0x284)](_0x3732bb)[_0x11f645(0x1f2)]((_0x2c8fe9,_0x5b6772)=>{const _0x36eba=_0x11f645,_0x20144a=_0x36eba(0x1fd)==_0x29f77b[_0x5b6772][_0x36eba(0x219)];if(_0x36eba(0x1be)==_0x2c8fe9[_0x36eba(0x2a7)]){const _0x48072d=_0x2c8fe9[_0x36eba(0x1d7)][_0x36eba(0x1df)];!this[_0x36eba(0x1e9)][_0x36eba(0x21a)](_0x48072d)&&(this[_0x36eba(0x1e9)][_0x36eba(0x1ae)](_0x36eba(0x1eb),_0x48072d)[_0x36eba(0x1fb)]=!0x1);}const _0x513851=_0x38f9a9[_0x36eba(0x232)](_0x2c8fe9,this[_0x36eba(0x1e9)]);return _0x513851[_0x36eba(0x278)]=_0x2c8fe9[_0x36eba(0x278)],_0x513851[_0x36eba(0x256)]=_0x20144a,_0x513851[_0x36eba(0x1b0)]=_0x20144a?null:_0x29f77b[_0x5b6772][_0x36eba(0x20b)],_0x513851[_0x36eba(0x250)]=_0x36eba(0x230)===_0x29f77b[_0x5b6772][_0x36eba(0x219)],_0x513851[_0x36eba(0x1c8)]=_0x29f77b[_0x5b6772][_0x36eba(0x1c8)],_0x513851;});}[_0x31c436(0x1c6)](){const _0x3ddb62=_0x31c436;this[_0x3ddb62(0x262)]=!0x0,this[_0x3ddb62(0x229)]()?this[_0x3ddb62(0x1c3)]():this[_0x3ddb62(0x262)]=!0x1;}[_0x31c436(0x229)](){const _0x2a0cab=_0x31c436,_0x4ed552=this[_0x2a0cab(0x29d)][_0x2a0cab(0x265)][_0x2a0cab(0x282)](_0x50c1b4)[_0x2a0cab(0x1ce)][_0x2a0cab(0x282)](this[_0x2a0cab(0x1b4)]);return!this[_0x2a0cab(0x29d)][_0x2a0cab(0x1b7)]&&!!_0x4ed552&&_0x4ed552[_0x2a0cab(0x271)]>0x1&&this[_0x2a0cab(0x262)];}[_0x31c436(0x1cc)](){const _0x43d6fb=_0x31c436;return this[_0x43d6fb(0x27a)][_0x43d6fb(0x271)]>0x0||this[_0x43d6fb(0x229)]();}}l[_0x31c436(0x28f)]=_0x3d8213;export default l;class J extends Error{}function _0x369d(){const _0x5d1918=['getUser','_waitUntilSynced','_decompressOperations','_isAttached','4954804QQEPwK','init','destroy','fire','isEnabled','_addKnownRoot','forEach','change:_isEditingAllowed','currentDocumentSession','document:write','realtimecollaborationclient-init-session-connection-error','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','getOperations','realtimecollaborationclient-initservice-incorrect-server-operation','createUserMarkerOperations','userId','515378zSfage','rootName','lastSyncVersion','_handleReceivedOperations','rootsAttributes','collaboration','_getOperationsFromInitData','from','rtc-offline','addOperation','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','stop','offset','type','getRoot','_compressOperations','lastOperationId','listenTo','_lastSyncedOperationId','_currentBufferDelay','realtimecollaborationclient-initservice-internal-error','_knownRootNames','metadata','real-time-collaboration','removeFromReconnectionStack','high','stopListening','_clearPendingAction','apply','_shouldSendSelectionUpdate','newRange','setPermissions','loadRoot','string','_compressor','_fetchMissingUsers','cs:removeUser','_loadRoot','fromJSON','toJSON','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','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.','finally','size','lastDocumentSession','unregister','markers','409','lastOperationAcceptedAt','_disconnectionOperations','getDocumentDetails','_crash','sessionAdd:','insert','_offset','_applyOperationsSet','permissions','baseVersion','connection','code','cloud-services-internal-error:\x20Not\x20connected.','sessionCreatedAt','collaboration.channelId','cloudDocumentVersion','state','move','realtimecollaborationclient-init-non-existent-root','end','_isDisconnection','disconnect','serverHistory','addToReconnectionStack','_connectService','define','_isInit','addRootAttribute','isUndoneOperation','realtimecollaborationclient-init-document-already-initialized','selection','createPositionAt','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.','editing','addRoot','enqueueChange','enableReadOnlyMode','realtimecollaborationclient-handleserverresponse','_hasSelectionChanged','createPositionFromPath','_sendBufferedOperations','plugins','bind','_isConnected','applyOperation','pluginName','_handleInitialConnectionData','_service','affectsData','parse','add','config','reconnect','length','change:_isPendingUpdate','collaboration-missing-channelid','_handleSendingSelectionMarkers','Notification','targetPosition','_bufferRootLoad','wasUndone','disconnected','_bufferedOperations','cloudServices.bundleVersion','marker','_operationIdentifier','path','191076ABmBtf','showWarning','sessionId','get','connect','decompress','sendOperations','push','_isPendingUpdate','realtimecollaborationclient-init-connection-failed','message','6968nXsTiH','710kcDNlw','cloud-services-internal-error:\x20Request\x20timeout.','_updateServerHistory','_saveOperationInBuffer','CollaborativeEditingService','round','suppressErrorInCollaboration','set','compress','_knownOperations','roots','2473882XAbYWf','rtc-destroyed','realtimecollaborationclient-sendbufferedoperations','getConnectedSessions','_isLoaded','initData','startsWith','editor','PENDING_ACTION_SENDING_DATA','change:range','ready','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','getMany','change:hasDomSelection','remove','off','affectedSelectable','__className','65582XdrlgA','operationsReceived','3mYhuUP','requires','_ignoredOperations','keys','slice','model','catch','version','Permissions','createRoot','start','_authorId','_initThrowingOnDataSet','_setPendingAction','_handleReconnectionError','_channelId','mySessionId','getIdOfTheLastOperation','isReadOnly','disableReadOnlyMode','includes','createRange','14tmrSXY','multi-root-editor-root-attributes-no-root','_handleReconnectionResponse','InsertOperation','_sendBufferedOperationsDelayId','isDocumentOperation','has','locale','_sendBufferedOperationsDelayed','directChange','404','_refreshUserSelectionMarkers','document','createdAt','_operationToId','differ','_isEditingAllowed','_shouldSendUpdate','getOperationAuthor','channelSessions','view','_hasSynchronizationProblem','_pendingAction','_handleExternalOperations','register','5ecKqui','_setUpDataInit','setIdForTheLastOperation','position','addUser','_handleServerResponse','_initSessionsHandling','history','CommentsOnly','_disconnectService','entries','root','2970GWoQdr','then','reconnection:\x20flushed\x20session','wereChangesApplied','_connectAfterSessionHasBeenFlushed','attributes','_lastServerVersion','filter','Synchronization\x20issue','_document','reset','$root','data','_getAffectedRoot','_baseBufferDelay','3649836gSfiiv','batch','error','map','78upjgfI','return','clone','connected','RealTimeCollaborationClient'];_0x369d=function(){return _0x5d1918;};return _0x369d();}function Q(_0x1703a9,_0x113ca7){const _0x5bdbd3=_0x31c436;for(const _0x37b2d3 of _0x1703a9)_0x37b2d3[_0x5bdbd3(0x245)]=_0x113ca7++;}class X{constructor(_0x2bc10b){const _0x1f8110=_0x31c436;this[_0x1f8110(0x2ac)]=_0x2bc10b,this[_0x1f8110(0x1c9)]=new WeakMap();}[_0x31c436(0x1b6)](_0xf0f5fd){const _0x51ddb7=_0x31c436;let _0x5cf86a=_0xf0f5fd[_0x51ddb7(0x271)];for(;_0x5cf86a--;){const _0xf587af=_0xf0f5fd[_0x5cf86a];if(!this[_0x51ddb7(0x2ac)][_0x51ddb7(0x1c1)](_0xf587af)){if(!this[_0x51ddb7(0x1c9)][_0x51ddb7(0x1c1)](_0xf587af)){const _0x20621f=_0x892c46()[_0x51ddb7(0x2ae)](0x1,0x12);this[_0x51ddb7(0x1c9)][_0x51ddb7(0x292)](_0xf587af,_0x20621f);}return this[_0x51ddb7(0x1c9)][_0x51ddb7(0x282)](_0xf587af);}}}[_0x31c436(0x1d6)](_0x32d3bc,_0xfb5fef){const _0x989d1d=_0x31c436;if(!_0xfb5fef)return;let _0x3a3943=_0x32d3bc[_0x989d1d(0x271)];for(;_0x3a3943--;){const _0x51e3a6=_0x32d3bc[_0x3a3943];this[_0x989d1d(0x2ac)][_0x989d1d(0x1c1)](_0x51e3a6)||this[_0x989d1d(0x1c9)][_0x989d1d(0x292)](_0x51e3a6,_0xfb5fef);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4701(){const _0x8757d9=['Sessions','sessions-register-already-registered','remove','344216xfxCVo','9ksVPdH','_users','isMe','size','allConnectedUsers','orderNumber','4367cRJIcM','connection','2LDpCfq','unregister','plugins','638052nuESHg','_uniqueUsersCount','values','_createUser','add','connected','fire','_handleSessionRemove','14ULCVky','stopListening','2130976PCjoVd','context','channelConnectedUsers','getUserSessions','set','addUser','register','430926HHCepE','593604eQLlhP','clear','assign','3509830MSOFOp','10owEesT','user','15588VjlyPF','sessionAdd:','sessionId','_handleSessionAdd','state','requires','init','get','role','getUserBySessionId','channelSessions','getUser','_registeredSessions','mySessionId','change:state','listenTo','getUserRole','sessions-unregister-not-exist','pluginName','delete','forEach','has','defineMe'];_0x4701=function(){return _0x8757d9;};return _0x4701();}const _0x4f4f29=_0x11b0;(function(_0x3096ed,_0xa7d8df){const _0x49eeff=_0x11b0,_0x1ed6c6=_0x3096ed();while(!![]){try{const _0x414c4a=parseInt(_0x49eeff(0x10b))/0x1*(parseInt(_0x49eeff(0x114))/0x2)+parseInt(_0x49eeff(0x129))/0x3+parseInt(_0x49eeff(0x117))/0x4*(-parseInt(_0x49eeff(0x12d))/0x5)+-parseInt(_0x49eeff(0x128))/0x6*(parseInt(_0x49eeff(0x11f))/0x7)+parseInt(_0x49eeff(0x121))/0x8+parseInt(_0x49eeff(0x10c))/0x9*(parseInt(_0x49eeff(0x12c))/0xa)+-parseInt(_0x49eeff(0x112))/0xb*(parseInt(_0x49eeff(0x12f))/0xc);if(_0x414c4a===_0xa7d8df)break;else _0x1ed6c6['push'](_0x1ed6c6['shift']());}catch(_0xbe084a){_0x1ed6c6['push'](_0x1ed6c6['shift']());}}}(_0x4701,0x2c34c));import{ContextPlugin as _0x5d124e}from'ckeditor5/src/core.js';import{Collection as _0x1838bc,CKEditorError as _0x2a6bd2}from'ckeditor5/src/utils.js';function _0x11b0(_0x2e7c4c,_0x4c73f4){const _0x4701ed=_0x4701();return _0x11b0=function(_0x11b08f,_0x58b2e7){_0x11b08f=_0x11b08f-0x101;let _0xf419c=_0x4701ed[_0x11b08f];return _0xf419c;},_0x11b0(_0x2e7c4c,_0x4c73f4);}import _0x235cf4 from'./websocketgateway.js';import{Users as _0x3f91d5}from'ckeditor5-collaboration/src/collaboration-core.js';export default class r extends _0x5d124e{static get[_0x4f4f29(0x103)](){const _0x2395fd=_0x4f4f29;return _0x2395fd(0x108);}static get[_0x4f4f29(0x134)](){return[_0x235cf4,_0x3f91d5];}constructor(_0xabdc9f){const _0x38d0e5=_0x4f4f29;super(_0xabdc9f),this[_0x38d0e5(0x139)]=new Map(),this[_0x38d0e5(0x123)]=new Map(),this[_0x38d0e5(0x110)]=new _0x1838bc(),this[_0x38d0e5(0x13b)]=new Map(),this[_0x38d0e5(0x118)]=0x0,this[_0x38d0e5(0x10d)]=this[_0x38d0e5(0x122)][_0x38d0e5(0x116)][_0x38d0e5(0x136)](_0x3f91d5);}[_0x4f4f29(0x135)](){const _0x4a8f9b=_0x4f4f29,_0x1d6efc=this[_0x4a8f9b(0x122)][_0x4a8f9b(0x116)][_0x4a8f9b(0x136)](_0x235cf4);this[_0x4a8f9b(0x13e)](_0x1d6efc,_0x4a8f9b(0x13d),(_0x1e7c5b,_0x34c811,_0x147ac6)=>{const _0x4d6544=_0x4a8f9b;if(_0x4d6544(0x11c)!==_0x147ac6)this[_0x4d6544(0x139)][_0x4d6544(0x105)](_0x249006=>_0x249006[_0x4d6544(0x12a)]()),this[_0x4d6544(0x123)][_0x4d6544(0x105)](_0x44b26d=>_0x44b26d[_0x4d6544(0x12a)]()),this[_0x4d6544(0x110)][_0x4d6544(0x12a)]();else{for(const [_0x2f8d50,_0x47e0d7]of this[_0x4d6544(0x13b)])for(const _0x3adb02 of _0x47e0d7)this[_0x4d6544(0x132)](_0x2f8d50,_0x3adb02);}}),this[_0x4a8f9b(0x11a)](_0x1d6efc[_0x4a8f9b(0x113)]['me'],!0x0);}[_0x4f4f29(0x127)](_0x57bd46,_0xb840f5){const _0x5e370f=_0x4f4f29;if(this[_0x5e370f(0x13b)][_0x5e370f(0x106)](_0x57bd46))throw new _0x2a6bd2(_0x5e370f(0x109),null,{'channelId':_0x57bd46});this[_0x5e370f(0x13b)][_0x5e370f(0x125)](_0x57bd46,_0xb840f5),this[_0x5e370f(0x139)][_0x5e370f(0x125)](_0x57bd46,new _0x1838bc()),this[_0x5e370f(0x123)][_0x5e370f(0x125)](_0x57bd46,new _0x1838bc()),this[_0x5e370f(0x13e)](_0xb840f5,_0x5e370f(0x11b),(_0x4aac15,_0x2a9eef)=>this[_0x5e370f(0x132)](_0x57bd46,_0x2a9eef)),this[_0x5e370f(0x13e)](_0xb840f5,_0x5e370f(0x10a),(_0x45fe30,_0x2c11ca)=>this[_0x5e370f(0x11e)](_0x57bd46,_0x2c11ca));for(const _0x4ee22f of _0xb840f5)this[_0x5e370f(0x132)](_0x57bd46,_0x4ee22f);}[_0x4f4f29(0x115)](_0x538c77){const _0xb01af6=_0x4f4f29;if(!this[_0xb01af6(0x13b)][_0xb01af6(0x106)](_0x538c77))throw new _0x2a6bd2(_0xb01af6(0x102),null,{'channelId':_0x538c77});const _0x22ea34=this[_0xb01af6(0x13b)][_0xb01af6(0x136)](_0x538c77);this[_0xb01af6(0x120)](_0x22ea34);for(const _0x539eb4 of _0x22ea34)_0xb01af6(0x11c)===this[_0xb01af6(0x122)][_0xb01af6(0x116)][_0xb01af6(0x136)](_0x235cf4)[_0xb01af6(0x133)]&&this[_0xb01af6(0x11e)](_0x538c77,_0x539eb4);this[_0xb01af6(0x13b)][_0xb01af6(0x104)](_0x538c77),this[_0xb01af6(0x139)][_0xb01af6(0x104)](_0x538c77),this[_0xb01af6(0x123)][_0xb01af6(0x104)](_0x538c77);}get[_0x4f4f29(0x13c)](){const _0x3a1fea=_0x4f4f29;return this[_0x3a1fea(0x122)][_0x3a1fea(0x116)][_0x3a1fea(0x136)](_0x235cf4)[_0x3a1fea(0x113)][_0x3a1fea(0x131)];}[_0x4f4f29(0x138)](_0x154a09){const _0x1b17e5=_0x4f4f29;for(const _0x4c7409 of this[_0x1b17e5(0x139)][_0x1b17e5(0x119)]())for(const _0x41f455 of _0x4c7409)if(_0x41f455['id']===_0x154a09)return _0x41f455[_0x1b17e5(0x12e)];}[_0x4f4f29(0x124)](_0x23f214,_0x29577b){const _0x4e9efa=_0x4f4f29,_0x4de41a=_0x29577b?[this[_0x4e9efa(0x139)][_0x4e9efa(0x136)](_0x29577b)]:this[_0x4e9efa(0x139)][_0x4e9efa(0x119)](),_0x164387=new Set();for(const _0x4ae52a of _0x4de41a)for(const _0x3ccaa6 of _0x4ae52a)_0x3ccaa6[_0x4e9efa(0x12e)]['id']===_0x23f214['id']&&_0x164387[_0x4e9efa(0x11b)](_0x3ccaa6['id']);return _0x164387;}[_0x4f4f29(0x101)](_0x2ecead){const _0x172caf=_0x4f4f29;for(const _0x1c7b1f of this[_0x172caf(0x139)][_0x172caf(0x119)]())for(const _0x50c834 of _0x1c7b1f)if(_0x50c834[_0x172caf(0x12e)]===_0x2ecead)return _0x50c834[_0x172caf(0x137)];}[_0x4f4f29(0x132)](_0x4bdd0b,_0x2bbc7f){const _0xb5659d=_0x4f4f29;if(_0xb5659d(0x11c)!==this[_0xb5659d(0x122)][_0xb5659d(0x116)][_0xb5659d(0x136)](_0x235cf4)[_0xb5659d(0x133)])return;const _0x544718=_0x2bbc7f[_0xb5659d(0x12e)],_0x19f4c1=this[_0xb5659d(0x10d)][_0xb5659d(0x13a)](_0x544718['id'])||this[_0xb5659d(0x11a)](_0x544718),_0x53eeb3=Object[_0xb5659d(0x12b)]({},_0x2bbc7f,{'user':_0x19f4c1});this[_0xb5659d(0x139)][_0xb5659d(0x136)](_0x4bdd0b)[_0xb5659d(0x11b)](_0x53eeb3);const _0x54a753=this[_0xb5659d(0x123)][_0xb5659d(0x136)](_0x4bdd0b);_0x54a753[_0xb5659d(0x106)](_0x19f4c1['id'])||_0x54a753[_0xb5659d(0x11b)](_0x19f4c1),this[_0xb5659d(0x110)][_0xb5659d(0x106)](_0x19f4c1['id'])||this[_0xb5659d(0x110)][_0xb5659d(0x11b)](_0x19f4c1,_0x19f4c1[_0xb5659d(0x10e)]?0x0:void 0x0),this[_0xb5659d(0x11d)](_0xb5659d(0x130)+_0x4bdd0b,{'channelId':_0x4bdd0b,'session':_0x53eeb3});}[_0x4f4f29(0x11e)](_0x3c6c0d,_0x32783e){const _0x114511=_0x4f4f29;if(_0x114511(0x11c)!==this[_0x114511(0x122)][_0x114511(0x116)][_0x114511(0x136)](_0x235cf4)[_0x114511(0x133)])return;const _0x58672d=this[_0x114511(0x123)][_0x114511(0x136)](_0x3c6c0d),_0x5493a7=_0x32783e[_0x114511(0x12e)];_0x5493a7['id']&&(this[_0x114511(0x139)][_0x114511(0x136)](_0x3c6c0d)[_0x114511(0x10a)](_0x32783e['id']),_0x58672d[_0x114511(0x106)](_0x5493a7['id'])&&!this[_0x114511(0x124)](_0x5493a7,_0x3c6c0d)[_0x114511(0x10f)]&&_0x58672d[_0x114511(0x10a)](_0x5493a7['id']),this[_0x114511(0x110)][_0x114511(0x136)](_0x5493a7['id'])&&!this[_0x114511(0x124)](_0x5493a7)[_0x114511(0x10f)]&&this[_0x114511(0x110)][_0x114511(0x10a)](_0x5493a7['id']));}[_0x4f4f29(0x11a)](_0x1ac4d0,_0x55e313){const _0x4defc4=_0x4f4f29,_0x82a4a3=this[_0x4defc4(0x10d)][_0x4defc4(0x126)](_0x1ac4d0);return _0x55e313&&this[_0x4defc4(0x10d)][_0x4defc4(0x107)](_0x1ac4d0['id']),_0x82a4a3[_0x4defc4(0x111)]=this[_0x4defc4(0x118)]++,_0x82a4a3;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x572eba=_0x2dac;(function(_0x367576,_0x2539b0){const _0x4390bd=_0x2dac,_0x323a25=_0x367576();while(!![]){try{const _0x211ad7=parseInt(_0x4390bd(0xfa))/0x1+-parseInt(_0x4390bd(0x112))/0x2+-parseInt(_0x4390bd(0xd6))/0x3+-parseInt(_0x4390bd(0xc9))/0x4*(-parseInt(_0x4390bd(0x104))/0x5)+parseInt(_0x4390bd(0xdc))/0x6*(-parseInt(_0x4390bd(0xdf))/0x7)+-parseInt(_0x4390bd(0x10f))/0x8+parseInt(_0x4390bd(0xe7))/0x9;if(_0x211ad7===_0x2539b0)break;else _0x323a25['push'](_0x323a25['shift']());}catch(_0xfefba){_0x323a25['push'](_0x323a25['shift']());}}}(_0x2567,0xb860f));import{Plugin as _0x2e406d}from'ckeditor5/src/core.js';import{global as _0x18d1c9,DomEmitterMixin as _0x30108f}from'ckeditor5/src/utils.js';import _0x1ef0ff from'./sessions.js';function _0x2567(){const _0x4869ab=['isObject','change:range','hasDomSelection','newRange','applyOperation','933169EXngMi','getStart','batch','editingDowncast','reconvertMarker','isCollapsed','getPositions','marker','getAttribute','nodeAfter','180mHQwNz','model','fromRange','isLimit','ck-user__marker\x20','updateMarker','editing','root','hasContent','markerToHighlight','user:','8947232wzRMrr','user:position:','createRange','717930qQhTQW','for','render','color','conversion','destroy','init','element','user:range:','split','markers','afterInit','getMarkerClass','markerRange','orderNumber','view','user:position','classList','selection','undo','has','mapper','stopListening','pluginName','schema','isInline','data-session-id','mouseenter','_domEmitter','keydown','enqueueChange','</span>','commands','userPositionMarker','contenteditable','requires','size','getUserBySessionId','UserMarkers','document','getCustomProperty','clear','addMarker','delete','$text','toRange','oldRange','startsWith','setCustomProperty','end','getNearestSelectionRange','createUserMarkerOperations','ck-user__selection','set','toDomElement','get','144876oGtIAv','markerNameToElements','$graveyard','name','getSelectionClass','removeMarker','getRange','span','<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>','detach','markerName','rootName','plugins','1858932KaOpvo','listenTo','removeClass','change','user:range','update:user:range','1262076utgvog','getFirstRange','deletionPosition','49ShlBzR','start','parent','checkChild','innerHTML','markerToElement','add','createUIElement','18788373xHIeFJ','highest','editor','isSimilar','mySessionId','ck-user__marker_hovered','_createdBatches','Escape','type','mouseleave','getContainedElement','remove','addEventListener','tableCell'];_0x2567=function(){return _0x4869ab;};return _0x2567();}function _0x2dac(_0x251f9f,_0x2ddee9){const _0x2567c0=_0x2567();return _0x2dac=function(_0x2dacae,_0x215834){_0x2dacae=_0x2dacae-0xbd;let _0x4421ed=_0x2567c0[_0x2dacae];return _0x4421ed;},_0x2dac(_0x251f9f,_0x2ddee9);}import{LiveRange as _0x2832fb}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x2e406d{constructor(){const _0x30b489=_0x2dac;super(...arguments),this[_0x30b489(0x12e)]=new(_0x30108f())();}static get[_0x572eba(0x135)](){return[_0x1ef0ff];}static get[_0x572eba(0x129)](){const _0x59b224=_0x572eba;return _0x59b224(0x138);}[_0x572eba(0x118)](){const _0x7de8de=_0x572eba,_0x5c0260=this[_0x7de8de(0xe9)],_0x5e1736=_0x5c0260[_0x7de8de(0xd5)][_0x7de8de(0xc8)](_0x1ef0ff);_0x5c0260[_0x7de8de(0x116)][_0x7de8de(0x113)](_0x7de8de(0xfd))[_0x7de8de(0xe4)]({'model':_0x7de8de(0x122),'view':(_0x2deb01,{writer:_0x5256e3})=>function(_0x1342c1,_0x5973f1,_0x570471,_0x547fc1){const _0x4a5191=_0x7de8de,_0x47b0b1=_0x1342c1[_0x4a5191(0xd3)][_0x4a5191(0x11b)](':')[0x2],_0x40979c=_0x570471[_0x4a5191(0x137)](_0x47b0b1);if(!_0x40979c||_0x47b0b1===_0x570471[_0x4a5191(0xeb)])return;if(!_0x547fc1[_0x4a5191(0x105)][_0x4a5191(0x12a)][_0x4a5191(0xe2)](_0x1342c1[_0x4a5191(0x11f)][_0x4a5191(0xe0)],_0x4a5191(0xbd)))return;const _0x2f3444={'class':_0x4a5191(0x108)+_0x40979c[_0x4a5191(0x115)][_0x4a5191(0x11e)](),'data-name':_0x40979c[_0x4a5191(0xcc)],'data-session-id':_0x47b0b1},_0x3a388b=_0x547fc1[_0x4a5191(0x105)][_0x4a5191(0x11c)][_0x4a5191(0xc8)](_0x1342c1[_0x4a5191(0xd3)]),_0x217463=_0x3a388b[_0x4a5191(0xfb)](),_0x33513e=_0x217463[_0x4a5191(0x103)],_0x1df911=_0x547fc1[_0x4a5191(0x105)][_0x4a5191(0x12a)];if(_0x33513e&&_0x1df911[_0x4a5191(0xf5)](_0x33513e)&&_0x1df911[_0x4a5191(0x12b)](_0x33513e)&&!_0x547fc1[_0x4a5191(0x105)][_0x4a5191(0x11c)][_0x4a5191(0xc8)](_0x4a5191(0x11a)+_0x47b0b1)[_0x4a5191(0xcf)]()[_0x4a5191(0xff)])return;const _0x334b22=_0x217463[_0x4a5191(0xe1)];return _0x547fc1[_0x4a5191(0x105)][_0x4a5191(0x12a)][_0x4a5191(0x107)](_0x334b22)&&!_0x547fc1[_0x4a5191(0x105)][_0x4a5191(0x10c)](_0x334b22)&&(_0x2f3444[_0x4a5191(0x134)]=!0x1),function(_0x3319c7,_0x162053,_0x5cdc54){const _0x163003=_0x4a5191,_0x13a1f4=_0x3319c7[_0x163003(0xe6)](_0x163003(0xd0),_0x162053);return _0x3319c7[_0x163003(0xc1)](_0x163003(0x133),!0x0,_0x13a1f4),_0x13a1f4[_0x163003(0x114)]=function(_0x1d6960){const _0x34e750=_0x163003,_0x46b47d=this[_0x34e750(0xc7)](_0x1d6960);return _0x46b47d[_0x34e750(0xe3)]=_0x34e750(0xd1)+_0x5cdc54[_0x34e750(0xcc)]+_0x34e750(0x131),_0x46b47d[_0x34e750(0xf3)](_0x34e750(0x12d),()=>{const _0xdd6eb=_0x34e750;_0x46b47d[_0xdd6eb(0x123)][_0xdd6eb(0xe5)](_0xdd6eb(0xec));}),_0x46b47d[_0x34e750(0xf3)](_0x34e750(0xf0),()=>{const _0x40bace=_0x34e750;_0x46b47d[_0x40bace(0x123)][_0x40bace(0xf2)](_0x40bace(0xec));}),_0x46b47d;},_0x13a1f4[_0x163003(0xea)]=function(_0x12d9a1){const _0x179041=_0x163003;return!(!this[_0x179041(0x13a)](_0x179041(0x133))||!_0x12d9a1[_0x179041(0x13a)](_0x179041(0x133))||this[_0x179041(0x102)](_0x179041(0x12c))!=_0x12d9a1[_0x179041(0x102)](_0x179041(0x12c)));},_0x13a1f4;}(_0x5973f1,_0x2f3444,_0x40979c);}(_0x2deb01,_0x5256e3,_0x5e1736,_0x5c0260)}),_0x5c0260[_0x7de8de(0x116)][_0x7de8de(0x113)](_0x7de8de(0xfd))[_0x7de8de(0x10d)]({'model':_0x7de8de(0xda),'view':_0x1a6749=>function(_0x234223,_0x21f2bc){const _0x13df34=_0x7de8de,_0x126a9f=_0x234223[_0x13df34(0xd3)][_0x13df34(0x11b)](':')[0x2];if(_0x126a9f===_0x21f2bc[_0x13df34(0xeb)])return null;const _0x2555a4=_0x21f2bc[_0x13df34(0x137)](_0x126a9f);if(!_0x2555a4)return{'id':_0x126a9f,'classes':[]};return{'id':_0x126a9f,'classes':[_0x13df34(0xc5),_0x2555a4[_0x13df34(0x115)][_0x13df34(0xcd)]()],'attributes':{'data-session-id':_0x126a9f},'priority':0x7d0+_0x2555a4[_0x13df34(0x120)]};}(_0x1a6749,_0x5e1736)}),function(_0x5d041a){const _0x592e84=_0x7de8de,_0x1ae5ed=_0x5d041a[_0x592e84(0x105)],_0x45db81=new Map(),_0x4b1068=_0x5d041a[_0x592e84(0xd5)][_0x592e84(0xc8)](_0x1ef0ff);_0x1ae5ed[_0x592e84(0x11c)]['on'](_0x592e84(0xdb),(_0x39402e,_0x27f78c,_0x2c3d2f,_0x38cfc3)=>{const _0x258074=_0x592e84;if(!_0x38cfc3&&_0x45db81[_0x258074(0xc8)](_0x27f78c[_0x258074(0xcc)]))return _0x45db81[_0x258074(0xc8)](_0x27f78c[_0x258074(0xcc)])[_0x258074(0xd2)](),void _0x45db81[_0x258074(0x13d)](_0x27f78c[_0x258074(0xcc)]);const _0x2ec460=_0x27f78c[_0x258074(0xcc)][_0x258074(0x11b)](':')[0x2];if(_0x2ec460===_0x4b1068[_0x258074(0xeb)])return;const _0x43b720=_0x258074(0x110)+_0x2ec460;_0x1ae5ed[_0x258074(0x11c)][_0x258074(0x126)](_0x43b720)&&_0x5d041a[_0x258074(0x10a)][_0x258074(0xfe)](_0x43b720),_0x27f78c['on'](_0x258074(0xf6),(_0x3a9c45,_0x3d6a58,_0x43d724)=>{const _0x53ee45=_0x258074;if(_0x53ee45(0xcb)!=_0x3d6a58[_0x53ee45(0x10b)][_0x53ee45(0xd4)]&&_0x53ee45(0xcb)==_0x27f78c[_0x53ee45(0xcf)]()[_0x53ee45(0x10b)][_0x53ee45(0xd4)]&&!_0x45db81[_0x53ee45(0x126)](_0x27f78c[_0x53ee45(0xcc)])){const _0x135d18=_0x1ae5ed[_0x53ee45(0x12a)][_0x53ee45(0xc3)](_0x43d724[_0x53ee45(0xde)]);if(_0x135d18){const _0x397c98=_0x2832fb[_0x53ee45(0x106)](_0x135d18);_0x45db81[_0x53ee45(0xc6)](_0x27f78c[_0x53ee45(0xcc)],_0x397c98),_0x397c98['on'](_0x53ee45(0xf6),(_0x15ae77,_0x584a7f,_0x449c3f)=>{const _0x528d95=_0x53ee45;if(_0x528d95(0xcb)==_0x397c98[_0x528d95(0x10b)][_0x528d95(0xd4)]){const _0x4f440f=_0x1ae5ed[_0x528d95(0x12a)][_0x528d95(0xc3)](_0x449c3f[_0x528d95(0xde)]);_0x4f440f?(_0x397c98[_0x528d95(0xe0)]=_0x4f440f[_0x528d95(0xe0)],_0x397c98[_0x528d95(0xc2)]=_0x4f440f[_0x528d95(0xc2)]):(_0x45db81[_0x528d95(0x13d)](_0x27f78c[_0x528d95(0xcc)]),_0x397c98[_0x528d95(0xd2)]());}});}}});}),_0x1ae5ed[_0x592e84(0x139)]['on'](_0x592e84(0xd9),()=>{const _0x5d62ca=_0x592e84;_0x45db81[_0x5d62ca(0x136)]>0x0&&_0x1ae5ed[_0x5d62ca(0x130)]({'isUndoable':!0x1},_0x3727e2=>{const _0x545834=_0x5d62ca;for(const [_0x564e4f,_0xf50516]of _0x45db81)_0x545834(0xcb)==_0x1ae5ed[_0x545834(0x11c)][_0x545834(0xc8)](_0x564e4f)[_0x545834(0xcf)]()[_0x545834(0x10b)][_0x545834(0xd4)]&&(re(_0x564e4f[_0x545834(0x11b)](':')[0x2],_0xf50516[_0x545834(0xbe)](),_0x1ae5ed,_0x3727e2),_0xf50516[_0x545834(0xd2)]());_0x45db81[_0x545834(0x13b)]();});});}(_0x5c0260),this[_0x7de8de(0x12e)][_0x7de8de(0xd7)](_0x18d1c9[_0x7de8de(0x139)],_0x7de8de(0x12f),(_0x5efa56,{key:_0x460a4b})=>{const _0x1b9db3=_0x7de8de;_0x1b9db3(0xee)===_0x460a4b&&function(_0x10a37){const _0x5bb9d3=_0x1b9db3;_0x10a37[_0x5bb9d3(0x10a)][_0x5bb9d3(0x121)][_0x5bb9d3(0xd9)](_0x46ae0a=>{const _0xf58735=_0x5bb9d3;for(const _0x51f515 of _0x10a37[_0xf58735(0x105)][_0xf58735(0x11c)]){if(!_0x51f515[_0xf58735(0xcc)][_0xf58735(0xc0)](_0xf58735(0x122)))continue;const _0x5243a6=_0x10a37[_0xf58735(0x10a)][_0xf58735(0x127)][_0xf58735(0xca)](_0x51f515[_0xf58735(0xcc)]);if(_0x5243a6){for(const _0x555e3f of _0x5243a6)_0x46ae0a[_0xf58735(0xd8)](_0xf58735(0xec),_0x555e3f);}}});}(_0x5c0260);},{'useCapture':!0x0});}[_0x572eba(0x11d)](){const _0x8b1ccf=_0x572eba,_0x123b4b=this[_0x8b1ccf(0xe9)],_0x5ab901=_0x123b4b[_0x8b1ccf(0x132)][_0x8b1ccf(0xc8)](_0x8b1ccf(0x125));_0x5ab901&&_0x123b4b[_0x8b1ccf(0x105)]['on'](_0x8b1ccf(0xf9),(_0x4726d2,_0x186154)=>{const _0x28d9a6=_0x8b1ccf,_0x650621=_0x186154[0x0];if(_0x28d9a6(0x101)!=_0x650621[_0x28d9a6(0xef)]||!_0x650621[_0x28d9a6(0xcc)][_0x28d9a6(0xc0)](_0x28d9a6(0x10e)))return;const _0xe68f31=_0x650621[_0x28d9a6(0xfc)];_0x5ab901[_0x28d9a6(0xed)][_0x28d9a6(0x126)](_0xe68f31)&&(_0x650621[_0x28d9a6(0xf8)]=_0x650621[_0x28d9a6(0xbf)]?_0x123b4b[_0x28d9a6(0x105)][_0x28d9a6(0x111)](_0x650621[_0x28d9a6(0xbf)][_0x28d9a6(0xe0)],_0x650621[_0x28d9a6(0xbf)][_0x28d9a6(0xc2)]):null);},{'priority':_0x8b1ccf(0xe8)});}[_0x572eba(0x117)](){const _0x54d5ba=_0x572eba;return this[_0x54d5ba(0x12e)][_0x54d5ba(0x128)](),super[_0x54d5ba(0x117)]();}[_0x572eba(0xc4)](){const _0x34079c=_0x572eba,_0x59a11b=this[_0x34079c(0xe9)],_0x14d6b7=_0x59a11b[_0x34079c(0x105)][_0x34079c(0x139)],_0x2bad26=_0x59a11b[_0x34079c(0xd5)][_0x34079c(0xc8)](_0x1ef0ff);_0x59a11b[_0x34079c(0x105)][_0x34079c(0x130)]({'isUndoable':!0x1},_0x12b1f9=>{const _0x46b686=_0x34079c,_0x598b0e=_0x46b686(0x11a)+_0x2bad26[_0x46b686(0xeb)],_0x2aacad=_0x46b686(0x110)+_0x2bad26[_0x46b686(0xeb)],_0x10cf55=_0x59a11b[_0x46b686(0x105)][_0x46b686(0x11c)][_0x46b686(0x126)](_0x598b0e);_0x59a11b[_0x46b686(0x10a)][_0x46b686(0x121)][_0x46b686(0xf7)]?re(_0x2bad26[_0x46b686(0xeb)],_0x14d6b7[_0x46b686(0x124)][_0x46b686(0xdd)](),_0x59a11b[_0x46b686(0x105)],_0x12b1f9):_0x10cf55&&(_0x12b1f9[_0x46b686(0xce)](_0x598b0e),_0x12b1f9[_0x46b686(0xce)](_0x2aacad));});}}function re(_0x10e015,_0x5e9fb3,_0x4c2bb8,_0x34cc37){const _0x30b424=_0x572eba,_0xff6fd6=_0x30b424(0x11a)+_0x10e015,_0x2f23b0=_0x30b424(0x110)+_0x10e015,_0x2afb38=_0x5e9fb3[_0x30b424(0xf1)]();let _0x5b93bc=_0x5e9fb3[_0x30b424(0xe0)];_0x2afb38&&_0x2afb38['is'](_0x30b424(0x119),_0x30b424(0xf4))&&(_0x5b93bc=function(_0x215ea4,_0x480a07){const _0x338fd4=_0x30b424;for(const _0x1d4349 of _0x215ea4[_0x338fd4(0x100)]())if(_0x480a07[_0x338fd4(0x12a)][_0x338fd4(0xe2)](_0x1d4349,_0x338fd4(0xbd)))return _0x1d4349;}(_0x5e9fb3,_0x4c2bb8),_0x5e9fb3=_0x34cc37[_0x30b424(0x111)](_0x5b93bc));const _0x10bf7f=_0x34cc37[_0x30b424(0x111)](_0x5b93bc);_0x4c2bb8[_0x30b424(0x11c)][_0x30b424(0x126)](_0xff6fd6)?(_0x34cc37[_0x30b424(0x109)](_0xff6fd6,{'range':_0x5e9fb3}),_0x34cc37[_0x30b424(0x109)](_0x2f23b0,{'range':_0x10bf7f})):(_0x34cc37[_0x30b424(0x13c)](_0xff6fd6,{'range':_0x5e9fb3,'usingOperation':!0x0}),_0x34cc37[_0x30b424(0x13c)](_0x2f23b0,{'range':_0x10bf7f,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x6bd7de=_0x1261;function _0x390c(){const _0x238f79=['fromRange','getPositions','reconvertMarker','UserMarkers','has','stopListening','setCustomProperty','mySessionId','markerNameToElements','color','marker','getFirstRange','addMarker','render','getRange','42261kYAojb','editingDowncast','clear','schema','data-session-id','isSimilar','for','conversion','markers','keydown','undo','<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>','innerHTML','classList','split','add','42EOzgng','change','parent','requires','removeMarker','checkChild','toDomElement','update:user:range','view','user:position','6163852vuQEyl','contenteditable','pluginName','batch','markerName','getCustomProperty','hasContent','removeClass','mapper','userPositionMarker','afterInit','user:range','init','Escape','updateMarker','toRange','newRange','1212021yJdDto','user:','ck-user__selection','isInline','tableCell','end','$graveyard','getStart','markerToElement','getUserBySessionId','258cUufzp','mouseleave','commands','60dhlStt','start','set','markerRange','model','detach','createRange','getSelectionClass','highest','createUIElement','</span>','isObject','get','element','ck-user__marker\x20','getNearestSelectionRange','8648360GXoXZY','mouseenter','getAttribute','listenTo','607854GmQnva','name','user:position:','createUserMarkerOperations','size','applyOperation','_createdBatches','document','editor','plugins','root','markerToHighlight','518386YDpqJt','isLimit','user:range:','destroy','rootName','change:range','startsWith','isCollapsed','deletionPosition','enqueueChange','addEventListener','span','5rRLNHq','type','remove','editing','ck-user__marker_hovered','hasDomSelection','$text','_domEmitter','selection','nodeAfter','oldRange','964974OfbtVQ','orderNumber','delete','getMarkerClass','getContainedElement'];_0x390c=function(){return _0x238f79;};return _0x390c();}(function(_0x514580,_0x44915c){const _0x1b37fe=_0x1261,_0x170928=_0x514580();while(!![]){try{const _0x236ad0=parseInt(_0x1b37fe(0x185))/0x1+parseInt(_0x1b37fe(0x16e))/0x2*(-parseInt(_0x1b37fe(0x1bc))/0x3)+-parseInt(_0x1b37fe(0x1d6))/0x4*(-parseInt(_0x1b37fe(0x19d))/0x5)+parseInt(_0x1b37fe(0x1a8))/0x6*(parseInt(_0x1b37fe(0x1cc))/0x7)+-parseInt(_0x1b37fe(0x181))/0x8+-parseInt(_0x1b37fe(0x164))/0x9*(-parseInt(_0x1b37fe(0x171))/0xa)+-parseInt(_0x1b37fe(0x191))/0xb;if(_0x236ad0===_0x44915c)break;else _0x170928['push'](_0x170928['shift']());}catch(_0x330046){_0x170928['push'](_0x170928['shift']());}}}(_0x390c,0xee61b));import{Plugin as _0x162b08}from'ckeditor5/src/core.js';import{global as _0x1735f4,DomEmitterMixin as _0x4f3d90}from'ckeditor5/src/utils.js';import _0x2280b2 from'./sessions.js';import{LiveRange as _0x50760c}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x1261(_0x37acfc,_0x426657){const _0x390c89=_0x390c();return _0x1261=function(_0x1261e1,_0x17ecd8){_0x1261e1=_0x1261e1-0x154;let _0xb67cd0=_0x390c89[_0x1261e1];return _0xb67cd0;},_0x1261(_0x37acfc,_0x426657);}export default class H extends _0x162b08{constructor(){const _0x577ae9=_0x1261;super(...arguments),this[_0x577ae9(0x1a4)]=new(_0x4f3d90())();}static get[_0x6bd7de(0x1cf)](){return[_0x2280b2];}static get[_0x6bd7de(0x155)](){const _0x3e5f0f=_0x6bd7de;return _0x3e5f0f(0x1b0);}[_0x6bd7de(0x15f)](){const _0x515476=_0x6bd7de,_0x517762=this[_0x515476(0x18d)],_0x50c37=_0x517762[_0x515476(0x18e)][_0x515476(0x17d)](_0x2280b2);_0x517762[_0x515476(0x1c3)][_0x515476(0x1c2)](_0x515476(0x1bd))[_0x515476(0x16c)]({'model':_0x515476(0x1d5),'view':(_0x5422de,{writer:_0x415696})=>function(_0x2d1ee7,_0xeeb8df,_0x475f88,_0x1f9969){const _0x13e4f2=_0x515476,_0x429390=_0x2d1ee7[_0x13e4f2(0x157)][_0x13e4f2(0x1ca)](':')[0x2],_0x3d18ab=_0x475f88[_0x13e4f2(0x16d)](_0x429390);if(!_0x3d18ab||_0x429390===_0x475f88[_0x13e4f2(0x1b4)])return;if(!_0x1f9969[_0x13e4f2(0x175)][_0x13e4f2(0x1bf)][_0x13e4f2(0x1d1)](_0x2d1ee7[_0x13e4f2(0x174)][_0x13e4f2(0x172)],_0x13e4f2(0x1a3)))return;const _0x2c05df={'class':_0x13e4f2(0x17f)+_0x3d18ab[_0x13e4f2(0x1b6)][_0x13e4f2(0x1ab)](),'data-name':_0x3d18ab[_0x13e4f2(0x186)],'data-session-id':_0x429390},_0x1a8e72=_0x1f9969[_0x13e4f2(0x175)][_0x13e4f2(0x1c4)][_0x13e4f2(0x17d)](_0x2d1ee7[_0x13e4f2(0x157)]),_0x553559=_0x1a8e72[_0x13e4f2(0x16b)](),_0x150ef9=_0x553559[_0x13e4f2(0x1a6)],_0x1737f7=_0x1f9969[_0x13e4f2(0x175)][_0x13e4f2(0x1bf)];if(_0x150ef9&&_0x1737f7[_0x13e4f2(0x17c)](_0x150ef9)&&_0x1737f7[_0x13e4f2(0x167)](_0x150ef9)&&!_0x1f9969[_0x13e4f2(0x175)][_0x13e4f2(0x1c4)][_0x13e4f2(0x17d)](_0x13e4f2(0x193)+_0x429390)[_0x13e4f2(0x1bb)]()[_0x13e4f2(0x198)])return;const _0xac65b4=_0x553559[_0x13e4f2(0x1ce)];return _0x1f9969[_0x13e4f2(0x175)][_0x13e4f2(0x1bf)][_0x13e4f2(0x192)](_0xac65b4)&&!_0x1f9969[_0x13e4f2(0x175)][_0x13e4f2(0x159)](_0xac65b4)&&(_0x2c05df[_0x13e4f2(0x154)]=!0x1),function(_0x12a2ca,_0x534cda,_0xbc939d){const _0x6751a8=_0x13e4f2,_0x9a3bc=_0x12a2ca[_0x6751a8(0x17a)](_0x6751a8(0x19c),_0x534cda);return _0x12a2ca[_0x6751a8(0x1b3)](_0x6751a8(0x15c),!0x0,_0x9a3bc),_0x9a3bc[_0x6751a8(0x1ba)]=function(_0x5216d3){const _0x26771b=_0x6751a8,_0x4a5407=this[_0x26771b(0x1d2)](_0x5216d3);return _0x4a5407[_0x26771b(0x1c8)]=_0x26771b(0x1c7)+_0xbc939d[_0x26771b(0x186)]+_0x26771b(0x17b),_0x4a5407[_0x26771b(0x19b)](_0x26771b(0x182),()=>{const _0xd04afd=_0x26771b;_0x4a5407[_0xd04afd(0x1c9)][_0xd04afd(0x1cb)](_0xd04afd(0x1a1));}),_0x4a5407[_0x26771b(0x19b)](_0x26771b(0x16f),()=>{const _0x5ebceb=_0x26771b;_0x4a5407[_0x5ebceb(0x1c9)][_0x5ebceb(0x19f)](_0x5ebceb(0x1a1));}),_0x4a5407;},_0x9a3bc[_0x6751a8(0x1c1)]=function(_0x3be7a2){const _0x288d61=_0x6751a8;return!(!this[_0x288d61(0x158)](_0x288d61(0x15c))||!_0x3be7a2[_0x288d61(0x158)](_0x288d61(0x15c))||this[_0x288d61(0x183)](_0x288d61(0x1c0))!=_0x3be7a2[_0x288d61(0x183)](_0x288d61(0x1c0)));},_0x9a3bc;}(_0xeeb8df,_0x2c05df,_0x3d18ab);}(_0x5422de,_0x415696,_0x50c37,_0x517762)}),_0x517762[_0x515476(0x1c3)][_0x515476(0x1c2)](_0x515476(0x1bd))[_0x515476(0x190)]({'model':_0x515476(0x15e),'view':_0x55d3b0=>function(_0x324b38,_0x284eb1){const _0x447b14=_0x515476,_0x3dbc0b=_0x324b38[_0x447b14(0x157)][_0x447b14(0x1ca)](':')[0x2];if(_0x3dbc0b===_0x284eb1[_0x447b14(0x1b4)])return null;const _0x595916=_0x284eb1[_0x447b14(0x16d)](_0x3dbc0b);if(!_0x595916)return{'id':_0x3dbc0b,'classes':[]};return{'id':_0x3dbc0b,'classes':[_0x447b14(0x166),_0x595916[_0x447b14(0x1b6)][_0x447b14(0x178)]()],'attributes':{'data-session-id':_0x3dbc0b},'priority':0x7d0+_0x595916[_0x447b14(0x1a9)]};}(_0x55d3b0,_0x50c37)}),function(_0x4f95d5){const _0x1e2d72=_0x515476,_0x3f66a2=_0x4f95d5[_0x1e2d72(0x175)],_0xf4fe8e=new Map(),_0x4fdc1d=_0x4f95d5[_0x1e2d72(0x18e)][_0x1e2d72(0x17d)](_0x2280b2);_0x3f66a2[_0x1e2d72(0x1c4)]['on'](_0x1e2d72(0x1d3),(_0x4f3bd8,_0x3df193,_0x33e927,_0x2d77e2)=>{const _0x56f535=_0x1e2d72;if(!_0x2d77e2&&_0xf4fe8e[_0x56f535(0x17d)](_0x3df193[_0x56f535(0x186)]))return _0xf4fe8e[_0x56f535(0x17d)](_0x3df193[_0x56f535(0x186)])[_0x56f535(0x176)](),void _0xf4fe8e[_0x56f535(0x1aa)](_0x3df193[_0x56f535(0x186)]);const _0x3dae35=_0x3df193[_0x56f535(0x186)][_0x56f535(0x1ca)](':')[0x2];if(_0x3dae35===_0x4fdc1d[_0x56f535(0x1b4)])return;const _0xe00f28=_0x56f535(0x187)+_0x3dae35;_0x3f66a2[_0x56f535(0x1c4)][_0x56f535(0x1b1)](_0xe00f28)&&_0x4f95d5[_0x56f535(0x1a0)][_0x56f535(0x1af)](_0xe00f28),_0x3df193['on'](_0x56f535(0x196),(_0x543a13,_0x1ea44b,_0x52f6d)=>{const _0xba6595=_0x56f535;if(_0xba6595(0x16a)!=_0x1ea44b[_0xba6595(0x18f)][_0xba6595(0x195)]&&_0xba6595(0x16a)==_0x3df193[_0xba6595(0x1bb)]()[_0xba6595(0x18f)][_0xba6595(0x195)]&&!_0xf4fe8e[_0xba6595(0x1b1)](_0x3df193[_0xba6595(0x186)])){const _0x44147a=_0x3f66a2[_0xba6595(0x1bf)][_0xba6595(0x180)](_0x52f6d[_0xba6595(0x199)]);if(_0x44147a){const _0x1ea50c=_0x50760c[_0xba6595(0x1ad)](_0x44147a);_0xf4fe8e[_0xba6595(0x173)](_0x3df193[_0xba6595(0x186)],_0x1ea50c),_0x1ea50c['on'](_0xba6595(0x196),(_0x272c44,_0x698562,_0x4efe83)=>{const _0x1b0e0d=_0xba6595;if(_0x1b0e0d(0x16a)==_0x1ea50c[_0x1b0e0d(0x18f)][_0x1b0e0d(0x195)]){const _0x453647=_0x3f66a2[_0x1b0e0d(0x1bf)][_0x1b0e0d(0x180)](_0x4efe83[_0x1b0e0d(0x199)]);_0x453647?(_0x1ea50c[_0x1b0e0d(0x172)]=_0x453647[_0x1b0e0d(0x172)],_0x1ea50c[_0x1b0e0d(0x169)]=_0x453647[_0x1b0e0d(0x169)]):(_0xf4fe8e[_0x1b0e0d(0x1aa)](_0x3df193[_0x1b0e0d(0x186)]),_0x1ea50c[_0x1b0e0d(0x176)]());}});}}});}),_0x3f66a2[_0x1e2d72(0x18c)]['on'](_0x1e2d72(0x1cd),()=>{const _0x529592=_0x1e2d72;_0xf4fe8e[_0x529592(0x189)]>0x0&&_0x3f66a2[_0x529592(0x19a)]({'isUndoable':!0x1},_0x4bdd5a=>{const _0x411ab7=_0x529592;for(const [_0x315cac,_0x1129ef]of _0xf4fe8e)_0x411ab7(0x16a)==_0x3f66a2[_0x411ab7(0x1c4)][_0x411ab7(0x17d)](_0x315cac)[_0x411ab7(0x1bb)]()[_0x411ab7(0x18f)][_0x411ab7(0x195)]&&(re(_0x315cac[_0x411ab7(0x1ca)](':')[0x2],_0x1129ef[_0x411ab7(0x162)](),_0x3f66a2,_0x4bdd5a),_0x1129ef[_0x411ab7(0x176)]());_0xf4fe8e[_0x411ab7(0x1be)]();});});}(_0x517762),this[_0x515476(0x1a4)][_0x515476(0x184)](_0x1735f4[_0x515476(0x18c)],_0x515476(0x1c5),(_0x7601c5,{key:_0x15623f})=>{const _0x48c40c=_0x515476;_0x48c40c(0x160)===_0x15623f&&function(_0x5a153f){const _0xc334e7=_0x48c40c;_0x5a153f[_0xc334e7(0x1a0)][_0xc334e7(0x1d4)][_0xc334e7(0x1cd)](_0x18d3d3=>{const _0x345813=_0xc334e7;for(const _0x31f914 of _0x5a153f[_0x345813(0x175)][_0x345813(0x1c4)]){if(!_0x31f914[_0x345813(0x186)][_0x345813(0x197)](_0x345813(0x1d5)))continue;const _0x1b9cb0=_0x5a153f[_0x345813(0x1a0)][_0x345813(0x15b)][_0x345813(0x1b5)](_0x31f914[_0x345813(0x186)]);if(_0x1b9cb0){for(const _0x1a633c of _0x1b9cb0)_0x18d3d3[_0x345813(0x15a)](_0x345813(0x1a1),_0x1a633c);}}});}(_0x517762);},{'useCapture':!0x0});}[_0x6bd7de(0x15d)](){const _0x50aaff=_0x6bd7de,_0x1a6b98=this[_0x50aaff(0x18d)],_0x55ac41=_0x1a6b98[_0x50aaff(0x170)][_0x50aaff(0x17d)](_0x50aaff(0x1c6));_0x55ac41&&_0x1a6b98[_0x50aaff(0x175)]['on'](_0x50aaff(0x18a),(_0xd8b293,_0x31ee31)=>{const _0xc2fc15=_0x50aaff,_0x443c7d=_0x31ee31[0x0];if(_0xc2fc15(0x1b7)!=_0x443c7d[_0xc2fc15(0x19e)]||!_0x443c7d[_0xc2fc15(0x186)][_0xc2fc15(0x197)](_0xc2fc15(0x165)))return;const _0x1a6ed1=_0x443c7d[_0xc2fc15(0x156)];_0x55ac41[_0xc2fc15(0x18b)][_0xc2fc15(0x1b1)](_0x1a6ed1)&&(_0x443c7d[_0xc2fc15(0x163)]=_0x443c7d[_0xc2fc15(0x1a7)]?_0x1a6b98[_0xc2fc15(0x175)][_0xc2fc15(0x177)](_0x443c7d[_0xc2fc15(0x1a7)][_0xc2fc15(0x172)],_0x443c7d[_0xc2fc15(0x1a7)][_0xc2fc15(0x169)]):null);},{'priority':_0x50aaff(0x179)});}[_0x6bd7de(0x194)](){const _0x1b65e3=_0x6bd7de;return this[_0x1b65e3(0x1a4)][_0x1b65e3(0x1b2)](),super[_0x1b65e3(0x194)]();}[_0x6bd7de(0x188)](){const _0x388eaf=_0x6bd7de,_0x50851d=this[_0x388eaf(0x18d)],_0xaaa100=_0x50851d[_0x388eaf(0x175)][_0x388eaf(0x18c)],_0x4b9abd=_0x50851d[_0x388eaf(0x18e)][_0x388eaf(0x17d)](_0x2280b2);_0x50851d[_0x388eaf(0x175)][_0x388eaf(0x19a)]({'isUndoable':!0x1},_0x152480=>{const _0x289ae6=_0x388eaf,_0x52abfa=_0x289ae6(0x193)+_0x4b9abd[_0x289ae6(0x1b4)],_0x51fa45=_0x289ae6(0x187)+_0x4b9abd[_0x289ae6(0x1b4)],_0x1b7f3a=_0x50851d[_0x289ae6(0x175)][_0x289ae6(0x1c4)][_0x289ae6(0x1b1)](_0x52abfa);_0x50851d[_0x289ae6(0x1a0)][_0x289ae6(0x1d4)][_0x289ae6(0x1a2)]?re(_0x4b9abd[_0x289ae6(0x1b4)],_0xaaa100[_0x289ae6(0x1a5)][_0x289ae6(0x1b8)](),_0x50851d[_0x289ae6(0x175)],_0x152480):_0x1b7f3a&&(_0x152480[_0x289ae6(0x1d0)](_0x52abfa),_0x152480[_0x289ae6(0x1d0)](_0x51fa45));});}}function re(_0x2c7b51,_0x3c03bd,_0x22f4af,_0x90956d){const _0x507f6c=_0x6bd7de,_0x450c88=_0x507f6c(0x193)+_0x2c7b51,_0x1d0478=_0x507f6c(0x187)+_0x2c7b51,_0x1edc81=_0x3c03bd[_0x507f6c(0x1ac)]();let _0x161172=_0x3c03bd[_0x507f6c(0x172)];_0x1edc81&&_0x1edc81['is'](_0x507f6c(0x17e),_0x507f6c(0x168))&&(_0x161172=function(_0x22859b,_0x2b5441){const _0x211c88=_0x507f6c;for(const _0x2107bb of _0x22859b[_0x211c88(0x1ae)]())if(_0x2b5441[_0x211c88(0x1bf)][_0x211c88(0x1d1)](_0x2107bb,_0x211c88(0x1a3)))return _0x2107bb;}(_0x3c03bd,_0x22f4af),_0x3c03bd=_0x90956d[_0x507f6c(0x177)](_0x161172));const _0x129b4f=_0x90956d[_0x507f6c(0x177)](_0x161172);_0x22f4af[_0x507f6c(0x1c4)][_0x507f6c(0x1b1)](_0x450c88)?(_0x90956d[_0x507f6c(0x161)](_0x450c88,{'range':_0x3c03bd}),_0x90956d[_0x507f6c(0x161)](_0x1d0478,{'range':_0x129b4f})):(_0x90956d[_0x507f6c(0x1b9)](_0x450c88,{'range':_0x3c03bd,'usingOperation':!0x0}),_0x90956d[_0x507f6c(0x1b9)](_0x1d0478,{'range':_0x129b4f,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x296542=_0x697c;(function(_0x19915e,_0x5c7eef){const _0x31ec7d=_0x697c,_0x420bd6=_0x19915e();while(!![]){try{const _0x502313=parseInt(_0x31ec7d(0x151))/0x1*(-parseInt(_0x31ec7d(0x149))/0x2)+parseInt(_0x31ec7d(0x177))/0x3*(-parseInt(_0x31ec7d(0x175))/0x4)+-parseInt(_0x31ec7d(0x166))/0x5+parseInt(_0x31ec7d(0x187))/0x6*(-parseInt(_0x31ec7d(0x178))/0x7)+-parseInt(_0x31ec7d(0x17c))/0x8+parseInt(_0x31ec7d(0x171))/0x9+parseInt(_0x31ec7d(0x189))/0xa;if(_0x502313===_0x5c7eef)break;else _0x420bd6['push'](_0x420bd6['shift']());}catch(_0x3dae15){_0x420bd6['push'](_0x420bd6['shift']());}}}(_0x2d27,0x83747));import{ContextPlugin as _0x54b2d3}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x3a89e8,CKEditorError as _0x437692}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x894124,WEB_SOCKET_GATEWAY_STATES as _0x17be08}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x32dbff}from'ckeditor5/src/ui.js';class c extends _0x54b2d3{static get[_0x296542(0x160)](){const _0x2b3d0c=_0x296542;return[_0x2b3d0c(0x174),_0x32dbff];}static get[_0x296542(0x172)](){const _0x1922a7=_0x296542;return _0x1922a7(0x185);}constructor(_0x4c1fe7){const _0x4f31fa=_0x296542;super(_0x4c1fe7),this[_0x4f31fa(0x157)](_0x4f31fa(0x150),_0x17be08[_0x4f31fa(0x16f)]),this[_0x4f31fa(0x157)](_0x4f31fa(0x179),!0x1),this[_0x4f31fa(0x17b)]=new Set(),this[_0x4f31fa(0x152)]=!0x1,this[_0x4f31fa(0x163)]=Object[_0x4f31fa(0x165)](_0x3a89e8);}[_0x296542(0x15f)](){const _0x4eb137=_0x296542,_0x23b1c7=this[_0x4eb137(0x162)],_0xc3a9a0=_0x23b1c7[_0x4eb137(0x168)][_0x4eb137(0x183)](_0x4eb137(0x174)),_0x2e0443=_0x23b1c7[_0x4eb137(0x168)][_0x4eb137(0x183)](_0x32dbff);if(!_0xc3a9a0[_0x4eb137(0x182)])throw new _0x437692(_0x4eb137(0x14b),this);if(!_0xc3a9a0[_0x4eb137(0x167)])throw new _0x437692(_0x4eb137(0x184),this);return this[_0x4eb137(0x163)][_0x4eb137(0x15b)](window,_0x4eb137(0x16a),()=>this[_0x4eb137(0x179)]=!0x0),this[_0x4eb137(0x163)][_0x4eb137(0x15b)](window,_0x4eb137(0x173),()=>this[_0x4eb137(0x179)]=!0x1),this[_0x4eb137(0x162)][_0x4eb137(0x145)][_0x4eb137(0x170)](_0x4eb137(0x176),0xa),this[_0x4eb137(0x162)][_0x4eb137(0x145)][_0x4eb137(0x170)](_0x4eb137(0x158),0x14),c[_0x4eb137(0x185)][_0x4eb137(0x169)](_0xc3a9a0[_0x4eb137(0x182)],_0xc3a9a0[_0x4eb137(0x167)],{'timeout':0x3e8*this[_0x4eb137(0x162)][_0x4eb137(0x145)][_0x4eb137(0x183)](_0x4eb137(0x176)),'requestTimeout':0x3e8*this[_0x4eb137(0x162)][_0x4eb137(0x145)][_0x4eb137(0x183)](_0x4eb137(0x158))})[_0x4eb137(0x154)](_0xf81d45=>{const _0x26bceb=_0x4eb137;if(this[_0x26bceb(0x17d)]=_0xf81d45,this[_0x26bceb(0x14a)](_0x26bceb(0x150))['to'](_0xf81d45,_0x26bceb(0x150),this,_0x26bceb(0x179),(_0x26e60f,_0x1f1863)=>(_0x26bceb(0x15d)!==_0x26e60f&&(this[_0x26bceb(0x152)]=!0x0),_0x1f1863||_0x26e60f!==_0x17be08[_0x26bceb(0x16f)]?_0x17be08[_0x26bceb(0x18b)]:this[_0x26bceb(0x150)]==_0x17be08[_0x26bceb(0x18b)]&&this[_0x26bceb(0x152)]?(this[_0x26bceb(0x152)]=!0x1,this[_0x26bceb(0x16e)](),_0x17be08[_0x26bceb(0x181)]):_0x17be08[_0x26bceb(0x16f)])),this[_0x26bceb(0x17d)]['on'](_0x26bceb(0x180),(_0x549ae9,_0x2013b4)=>{const _0x5b82cd=_0x26bceb;if(_0x5b82cd(0x156)!==_0x2013b4[_0x5b82cd(0x15a)])throw console[_0x5b82cd(0x180)](_0x2013b4),new _0x437692(_0x5b82cd(0x155),null,{'originalError':_0x2013b4});_0x2e0443[_0x5b82cd(0x16b)](_0x5b82cd(0x186),{'title':_0x5b82cd(0x17f),'namespace':_0x5b82cd(0x153)});}),!_0xf81d45['me'])return new Promise(_0x482ab5=>_0xf81d45['on'](_0x26bceb(0x17a),_0x482ab5));})[_0x4eb137(0x14f)](_0xa5a505=>{const _0x2b1737=_0x4eb137;throw console[_0x2b1737(0x180)](_0xa5a505),new _0x437692(_0x2b1737(0x155),null,{'originalError':_0xa5a505});});}[_0x296542(0x16c)](_0x44dad2){const _0x53de9d=_0x296542;if(_0x53de9d(0x147)!=typeof _0x44dad2[_0x53de9d(0x148)])throw new _0x437692(_0x53de9d(0x161),this);if(this[_0x53de9d(0x164)](_0x44dad2))throw new _0x437692(_0x53de9d(0x17e),this,{'name':_0x44dad2[_0x53de9d(0x18a)][_0x53de9d(0x172)]});this[_0x53de9d(0x17b)][_0x53de9d(0x14c)](_0x44dad2);}[_0x296542(0x188)](_0x38cb62){const _0x9f3ab7=_0x296542;this[_0x9f3ab7(0x17b)][_0x9f3ab7(0x15c)](_0x38cb62);}[_0x296542(0x164)](_0x658033){const _0x5ded25=_0x296542;return this[_0x5ded25(0x17b)][_0x5ded25(0x14e)](_0x658033);}[_0x296542(0x16e)](){const _0x4aa530=_0x296542;return this[_0x4aa530(0x17d)][_0x4aa530(0x148)]()[_0x4aa530(0x154)](()=>Promise[_0x4aa530(0x14d)](Array[_0x4aa530(0x159)](this[_0x4aa530(0x17b)],_0x70980b=>_0x70980b[_0x4aa530(0x148)]())))[_0x4aa530(0x154)](()=>this[_0x4aa530(0x150)]=_0x17be08[_0x4aa530(0x16f)])[_0x4aa530(0x14f)](_0x2b2ea4=>{const _0xbc86c6=_0x4aa530;throw console[_0xbc86c6(0x180)](_0x2b2ea4),new _0x437692(_0xbc86c6(0x144),this[_0xbc86c6(0x162)]);});}[_0x296542(0x15e)](){const _0xa530f9=_0x296542;this[_0xa530f9(0x17d)]&&this[_0xa530f9(0x17d)][_0xa530f9(0x146)](),this[_0xa530f9(0x150)]=_0x17be08[_0xa530f9(0x18b)],this[_0xa530f9(0x163)][_0xa530f9(0x16d)](),super[_0xa530f9(0x15e)]();}}function _0x697c(_0x32b1e1,_0x465101){const _0x2d27cc=_0x2d27();return _0x697c=function(_0x697c92,_0x3b9c19){_0x697c92=_0x697c92-0x143;let _0x3aa506=_0x2d27cc[_0x697c92];return _0x3aa506;},_0x697c(_0x32b1e1,_0x465101);}c[_0x296542(0x185)]=_0x894124,c[_0x296542(0x143)]=0x3e8;function _0x2d27(){const _0x578017=['function','reconnect','10XaOlTv','bind','websocketgateway-missing-token','add','all','has','catch','state','51087IUkDLm','_shouldPluginsReconnect','real-time-collaboration','then','cloudservices-init','limitExceeded','set','cloudServices.requestTimeout','from','code','listenTo','delete','connected','destroy','init','requires','websocketgateway-invalid-plugin-interface','context','_domEmitter','isInReconnectionStack','create','2741395qkGhHv','webSocketUrl','plugins','connect','offline','showWarning','addToReconnectionStack','stopListening','_reconnect','CONNECTED','define','485649pgtQsZ','pluginName','online','CloudServices','500qYZFAh','cloudServices.connectionTimeout','16395EeITPF','450331alcXIP','_isBrowserOffline','change:me','_reconnectionStack','5601272vHucou','connection','websocketgateway-plugin-already-registered','Connected\x20users\x20limit\x20exceeded','error','CONNECTING','token','get','websocketgateway-missing-websocket-url','WebSocketGateway','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.','42aoRpMh','removeFromReconnectionStack','31218070TOHcrh','constructor','DISCONNECTED','initialReconnectionInterval','cloudservices-reconnection-error','config','disconnect'];_0x2d27=function(){return _0x578017;};return _0x2d27();}export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x5ae5ce=_0x267d;(function(_0x3f5113,_0x1f1138){var _0x316dd5=_0x267d,_0x8dea97=_0x3f5113();while(!![]){try{var _0x56d1ec=parseInt(_0x316dd5(0x175))/0x1+-parseInt(_0x316dd5(0x170))/0x2*(-parseInt(_0x316dd5(0x176))/0x3)+parseInt(_0x316dd5(0x178))/0x4*(-parseInt(_0x316dd5(0x171))/0x5)+-parseInt(_0x316dd5(0x16d))/0x6*(-parseInt(_0x316dd5(0x16e))/0x7)+parseInt(_0x316dd5(0x16f))/0x8*(-parseInt(_0x316dd5(0x173))/0x9)+-parseInt(_0x316dd5(0x179))/0xa+-parseInt(_0x316dd5(0x17a))/0xb*(-parseInt(_0x316dd5(0x177))/0xc);if(_0x56d1ec===_0x1f1138)break;else _0x8dea97['push'](_0x8dea97['shift']());}catch(_0x1e10f5){_0x8dea97['push'](_0x8dea97['shift']());}}}(_0x92fd,0xa895c));import{Plugin as _0x214324}from'ckeditor5/src/core.js';function _0x92fd(){var _0x1d5eb4=['1535406eXoWPd','35SaiCBS','36832MKFxfG','4pUOsWa','36400bEGtiw','RealTimeCollaborativeEditing','63OKmviN','requires','302433KdhHBz','1246677YibZKp','725688uDGpBA','676krOAMs','11251980BoTMNX','121nlhzFy','pluginName'];_0x92fd=function(){return _0x1d5eb4;};return _0x92fd();}import _0x4028c7 from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x267d(_0x59a42b,_0x5c85e6){var _0x92fd94=_0x92fd();return _0x267d=function(_0x267d51,_0xac94c1){_0x267d51=_0x267d51-0x16d;var _0x379b5b=_0x92fd94[_0x267d51];return _0x379b5b;},_0x267d(_0x59a42b,_0x5c85e6);}export default class n extends _0x214324{static get[_0x5ae5ce(0x174)](){return[_0x4028c7];}static get[_0x5ae5ce(0x17b)](){var _0x17c878=_0x5ae5ce;return _0x17c878(0x172);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xaead42=_0x1f8f;(function(_0x16d792,_0x343a58){const _0x808855=_0x1f8f,_0x51cf2d=_0x16d792();while(!![]){try{const _0x1297ea=parseInt(_0x808855(0x244))/0x1+parseInt(_0x808855(0x23c))/0x2+parseInt(_0x808855(0x1e5))/0x3+parseInt(_0x808855(0x23a))/0x4+parseInt(_0x808855(0x211))/0x5+parseInt(_0x808855(0x1f6))/0x6*(parseInt(_0x808855(0x1e7))/0x7)+-parseInt(_0x808855(0x203))/0x8;if(_0x1297ea===_0x343a58)break;else _0x51cf2d['push'](_0x51cf2d['shift']());}catch(_0x58fcb3){_0x51cf2d['push'](_0x51cf2d['shift']());}}}(_0x1c20,0x45617));function _0x1c20(){const _0x3d486f=['getRevision','_getLatestVersionFromServerOperations','_offset','RevisionHistoryService','_bufferUpdate','_revisionTracker','createdAt','from','get','getUser','currentRevision','400','_preventResendingRevisionData','state','destroy','addUser','CONNECTED','getOperations','_isPendingUpdate','_waitForServiceReady','fromVersion','_createCurrentRevision','length','isConnected','_oldOffset','init','sendBufferedUpdates','_startingVersion','949712jIhlow','reconnect','617574ztHECQ','getMany','change:_isConnected','plugins','connected','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','keys','add','328225euosPi','once','repository','type','_getLatestVersion','sessionId','_update','off','data','baseVersion','adapter','isEnabled','connection','_lastRequestId','132291osdDhr','serverHistory','36491OdoATC','max','_bufferedUpdates','map','_revisionHistoryService','collaboration.channelId','message','creatorId','buildRevisionData','authorsIds','startsWith','revisionsUpdated','affectsData','marker','_handleRevisionsUpdate','642NYType','_handleReconnectionError','_isConnected','requires','listenTo','setRevisionData','addRevisionData','_fixRevision','getRevisions','toVersion','_fetchMissingUsers','catch','cloud-services-internal-error:\x20Not\x20connected.','10435328dDHTyQ','config','reInit','_revisionDataBuilder','then','cloudServices.bundleVersion','isBundleUploaded','addToReconnectionStack','setSource','diffData','has','remove','reverse','size','561355KJxigw','cloud-services-internal-error:\x20Request\x20timeout.','connect','bind','wrongRequestId','isEmptyCurrent','editor','_revisions','code','authors','change:_isPendingUpdate','RevisionTracker','updateRevisions'];_0x1c20=function(){return _0x3d486f;};return _0x1c20();}function _0x1f8f(_0x4cf392,_0x5dad79){const _0x1c2023=_0x1c20();return _0x1f8f=function(_0x1f8f08,_0x2ac68a){_0x1f8f08=_0x1f8f08-0x1dc;let _0x310847=_0x1c2023[_0x1f8f08];return _0x310847;},_0x1f8f(_0x4cf392,_0x5dad79);}import{Plugin as _0x5ce805}from'ckeditor5/src/core.js';import{version as _0x2ae028}from'ckeditor5/src/utils.js';import{Users as _0x2e411c}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xbd12ae from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x34f804 from'../realtimecollaborativeediting/websocketgateway.js';import _0x55bfbe from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x3b7df6,RevisionHistoryService as _0x124cd3,User as _0x879d45,WEB_SOCKET_GATEWAY_STATES as _0x8f9b75}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class v extends _0x5ce805{static get[_0xaead42(0x1f9)](){const _0x3ac41c=_0xaead42;return[_0x34f804,_0xbd12ae,_0x3ac41c(0x21c),_0x55bfbe,_0x2e411c];}constructor(_0x30d5c3){const _0x455b7f=_0xaead42;super(_0x30d5c3);const _0x473d25=this[_0x455b7f(0x217)][_0x455b7f(0x204)][_0x455b7f(0x226)](_0x455b7f(0x1ec));this[_0x455b7f(0x1e4)]=null,this[_0x455b7f(0x223)]=this[_0x455b7f(0x217)][_0x455b7f(0x23f)][_0x455b7f(0x226)](_0x455b7f(0x21c)),this[_0x455b7f(0x1eb)]=new v[(_0x455b7f(0x221))](_0x473d25);}async[_0xaead42(0x237)](){const _0x39390b=_0xaead42,_0x29c7a6=this[_0x39390b(0x217)][_0x39390b(0x23f)][_0x39390b(0x226)](_0xbd12ae),_0x2f5510=_0x29c7a6[_0x39390b(0x1e6)],_0x4c1b5e=this[_0x39390b(0x217)][_0x39390b(0x23f)][_0x39390b(0x226)](_0x34f804);this[_0x39390b(0x223)][_0x39390b(0x20b)]({'history':_0x2f5510,'getLatestVersion':()=>this[_0x39390b(0x248)](),'getCurrentRevisionId':()=>_0x29c7a6[_0x39390b(0x1dc)]});const _0x5ac734=this[_0x39390b(0x217)][_0x39390b(0x204)][_0x39390b(0x226)](_0x39390b(0x208))||_0x2ae028,_0x459b07=await _0x3b7df6[_0x39390b(0x209)](_0x4c1b5e[_0x39390b(0x1e3)],_0x5ac734);this[_0x39390b(0x223)][_0x39390b(0x1e1)]={'getRevision':async({revisionId:_0x3a18da})=>(await this[_0x39390b(0x231)](),await this[_0x39390b(0x1eb)][_0x39390b(0x21e)](_0x3a18da)),'updateRevisions':async _0x460e3d=>{const _0x1028e8=_0x39390b;await this[_0x1028e8(0x231)]();const _0x1cf19d=this[_0x1028e8(0x223)][_0x1028e8(0x228)];if(_0x459b07&&0x1===_0x460e3d[_0x1028e8(0x234)]&&_0x460e3d[0x0]['id']===_0x1cf19d['id'])return _0x460e3d;for(const _0xcfde84 of _0x460e3d)_0xcfde84['id']===_0x1cf19d['id']&&(_0xcfde84[_0x1028e8(0x216)]=_0xcfde84[_0x1028e8(0x232)]===_0xcfde84[_0x1028e8(0x1ff)]);return this[_0x1028e8(0x1eb)][_0x1028e8(0x21d)](_0x460e3d,this[_0x1028e8(0x1e4)])[_0x1028e8(0x207)](_0x1985d8=>(this[_0x1028e8(0x1e4)]=_0x1985d8,_0x460e3d))[_0x1028e8(0x201)](_0xc3c81a=>{const _0x5c753c=_0x1028e8;if(st(_0xc3c81a)||_0x5c753c(0x229)===_0xc3c81a[_0x5c753c(0x219)]&&void 0x0!==_0xc3c81a[_0x5c753c(0x1df)][_0x5c753c(0x215)]){for(const _0x32e0ce of _0x460e3d){!this[_0x5c753c(0x223)][_0x5c753c(0x246)][_0x5c753c(0x21e)](_0x32e0ce['id'])||this[_0x5c753c(0x223)][_0x5c753c(0x222)](_0x32e0ce['id'],_0x32e0ce,!0x1);}if(st(_0xc3c81a))throw _0xc3c81a;return _0x460e3d;}throw _0xc3c81a;});}},this[_0x39390b(0x1fa)](this[_0x39390b(0x1eb)],_0x39390b(0x1f2),(_0x2a6f17,{revisionsData:_0x3fe331,requestId:_0xfb52ff})=>{const _0x2d7d96=_0x39390b;Math[_0x2d7d96(0x1e8)](..._0x3fe331[_0x2d7d96(0x1ea)](_0x1d030a=>_0x1d030a[_0x2d7d96(0x1ff)]))>this[_0x2d7d96(0x21f)]()-0x1?this[_0x2d7d96(0x248)]()[_0x2d7d96(0x207)](()=>{const _0xb6c14=_0x2d7d96;this[_0xb6c14(0x1f5)](_0x3fe331,_0xfb52ff);}):this[_0x2d7d96(0x1f5)](_0x3fe331,_0xfb52ff);});const {revisions:_0x3e6a41,requestId:_0x5a0205}=await this[_0x39390b(0x1eb)][_0x39390b(0x213)](_0x4c1b5e[_0x39390b(0x1e3)]);_0x4c1b5e[_0x39390b(0x20a)](this),this[_0x39390b(0x1e4)]=_0x5a0205,await this[_0x39390b(0x200)](_0x3e6a41);for(const _0x21d792 of _0x3e6a41)this[_0x39390b(0x223)][_0x39390b(0x1fc)](_0x21d792);this[_0x39390b(0x1fa)](_0x29c7a6,_0x39390b(0x23e),(_0x345cea,_0x316b25,_0x72e4d0)=>{const _0xd40709=_0x39390b;_0x72e4d0&&(this[_0xd40709(0x236)]=_0x29c7a6[_0xd40709(0x220)],_0x345cea[_0xd40709(0x1de)]());}),this[_0x39390b(0x223)][_0x39390b(0x214)](_0x39390b(0x1e2))['to'](_0x4c1b5e,_0x39390b(0x22b),_0x5b2ee8=>_0x5b2ee8===_0x8f9b75[_0x39390b(0x22e)]);}async[_0xaead42(0x23b)](){const _0x42c307=_0xaead42,_0x46c023=this[_0x42c307(0x217)][_0x42c307(0x23f)][_0x42c307(0x226)](_0x34f804),_0xcd9601=this[_0x42c307(0x217)][_0x42c307(0x23f)][_0x42c307(0x226)](_0xbd12ae),_0x27fd68=async()=>{const _0x4ddc9f=_0x42c307,_0x2b8606=this[_0x4ddc9f(0x223)][_0x4ddc9f(0x228)],_0x3760cb=_0x2b8606['id'],_0x2dc5e0=_0x3760cb!==_0xcd9601[_0x4ddc9f(0x1dc)];if(_0x2dc5e0){const _0x2b02b6=_0xcd9601[_0x4ddc9f(0x220)]-this[_0x4ddc9f(0x236)],_0x265612=this[_0x4ddc9f(0x21f)]();this[_0x4ddc9f(0x223)][_0x4ddc9f(0x206)][_0x4ddc9f(0x205)]();if(_0x2b8606[_0x4ddc9f(0x1ff)]+_0x2b02b6!==_0x265612){const _0x142367=_0x2b8606[_0x4ddc9f(0x232)]+_0x2b02b6,_0x3b6a6f=this[_0x4ddc9f(0x217)][_0x4ddc9f(0x23f)][_0x4ddc9f(0x226)](_0x2e411c),_0x1ea481=this[_0x4ddc9f(0x223)][_0x4ddc9f(0x1ef)]({'revision':_0x2b8606,'from':_0x142367,'to':_0x265612});_0x1ea481['id']=_0x2b8606['id'];const _0x5b10bd=_0x1ea481[_0x4ddc9f(0x1f0)][_0x4ddc9f(0x1ea)](_0x1bd7b8=>_0x3b6a6f[_0x4ddc9f(0x227)](_0x1bd7b8));_0x2b8606[_0x4ddc9f(0x1dd)]({..._0x1ea481,'authors':_0x5b10bd},!0x0),this[_0x4ddc9f(0x223)][_0x4ddc9f(0x222)](_0x2b8606['id'],_0x1ea481,!0x0);}this[_0x4ddc9f(0x223)][_0x4ddc9f(0x239)]=_0x265612,(_0x2b8606[_0x4ddc9f(0x1ff)]===_0x2b8606[_0x4ddc9f(0x232)]&&!this[_0x4ddc9f(0x223)][_0x4ddc9f(0x1e9)][_0x4ddc9f(0x20d)](_0x3760cb)&&this[_0x4ddc9f(0x223)][_0x4ddc9f(0x246)][_0x4ddc9f(0x218)][_0x4ddc9f(0x20e)](_0x3760cb),this[_0x4ddc9f(0x223)][_0x4ddc9f(0x233)](_0x265612));}const {revisions:_0xd601bb,requestId:_0x41bc57}=await this[_0x4ddc9f(0x1eb)][_0x4ddc9f(0x23b)](_0x46c023[_0x4ddc9f(0x1e3)],this[_0x4ddc9f(0x1e4)]);_0x2dc5e0&&_0xd601bb[_0x4ddc9f(0x234)]>0x0?_0xcd9601[_0x4ddc9f(0x1f7)]():(await this[_0x4ddc9f(0x200)](_0xd601bb),this[_0x4ddc9f(0x1f5)](_0xd601bb,_0x41bc57),this[_0x4ddc9f(0x223)][_0x4ddc9f(0x238)]());};return _0xcd9601[_0x42c307(0x1f8)]?_0x27fd68():new Promise((_0x2e4673,_0x47afec)=>{const _0x4b4650=_0x42c307;_0xcd9601[_0x4b4650(0x245)](_0x4b4650(0x23e),()=>{const _0x533a80=_0x4b4650;_0x27fd68()[_0x533a80(0x207)](_0x2e4673)[_0x533a80(0x201)](_0x47afec);});});}[_0xaead42(0x22c)](){const _0x3d1781=_0xaead42;super[_0x3d1781(0x22c)]();}async[_0xaead42(0x231)](){const _0x3fa7ae=_0xaead42;this[_0x3fa7ae(0x1eb)][_0x3fa7ae(0x235)]||await new Promise(_0x3b91dd=>{const _0x5365da=_0x3fa7ae;this[_0x5365da(0x1fa)](this[_0x5365da(0x1eb)],_0x5365da(0x240),_0x4f4a40=>{const _0x23cd75=_0x5365da;_0x4f4a40[_0x23cd75(0x1de)](),_0x3b91dd();});});}[_0xaead42(0x21f)](){const _0x47b530=_0xaead42,_0x4bc5a2=this[_0x47b530(0x217)][_0x47b530(0x23f)][_0x47b530(0x226)](_0xbd12ae)[_0x47b530(0x1e6)][_0x47b530(0x22f)]()[_0x47b530(0x20f)]();for(const _0xee7d56 of _0x4bc5a2)if(_0x47b530(0x1f4)!==_0xee7d56[_0x47b530(0x247)]||_0xee7d56[_0x47b530(0x1f3)])return _0xee7d56[_0x47b530(0x1e0)]+0x1;}[_0xaead42(0x248)](){const _0xf946fb=_0xaead42,_0xb036fb=this[_0xf946fb(0x217)][_0xf946fb(0x23f)][_0xf946fb(0x226)](_0xbd12ae);return new Promise(_0x51919e=>{const _0x34c630=_0xf946fb;_0xb036fb[_0x34c630(0x230)]?_0xb036fb[_0x34c630(0x245)](_0x34c630(0x21b),()=>{const _0x197fe7=_0x34c630;_0x51919e(this[_0x197fe7(0x21f)]());}):_0x51919e(this[_0x34c630(0x21f)]());});}[_0xaead42(0x1f5)](_0x29a642,_0x36c78c){const _0x3a29bc=_0xaead42,_0x4c5b85=this[_0x3a29bc(0x223)][_0x3a29bc(0x246)];this[_0x3a29bc(0x1e4)]=_0x36c78c;for(const _0x246e0b of _0x29a642){const _0x3aa6b0=_0x4c5b85[_0x3a29bc(0x21e)](_0x246e0b['id']);if(_0x3aa6b0){if((_0x246e0b[_0x3a29bc(0x232)]||_0x246e0b[_0x3a29bc(0x1ff)])&&(_0x246e0b[_0x3a29bc(0x20c)]=null),_0x3aa6b0===this[_0x3a29bc(0x223)][_0x3a29bc(0x228)]){const _0x26507f=Math[_0x3a29bc(0x1e8)](_0x3aa6b0[_0x3a29bc(0x1ff)],_0x246e0b[_0x3a29bc(0x1ff)]),_0x420e5d=Math[_0x3a29bc(0x1e8)](_0x3aa6b0[_0x3a29bc(0x232)],_0x246e0b[_0x3a29bc(0x232)]);let _0x59dd82;_0x3aa6b0[_0x3a29bc(0x1ff)]===_0x246e0b[_0x3a29bc(0x1ff)]&&_0x3aa6b0[_0x3a29bc(0x232)]===_0x246e0b[_0x3a29bc(0x232)]?(_0x59dd82=!0x0,this[_0x3a29bc(0x22a)](_0x246e0b)):_0x246e0b[_0x3a29bc(0x1ff)]===_0x26507f&&_0x246e0b[_0x3a29bc(0x232)]===_0x420e5d?_0x59dd82=!0x1:(_0x3aa6b0[_0x3a29bc(0x1ff)]===_0x26507f&&_0x3aa6b0[_0x3a29bc(0x232)]===_0x420e5d||this[_0x3a29bc(0x1fd)]({'revision':_0x3aa6b0,'from':_0x420e5d,'to':_0x26507f}),_0x59dd82=!0x0),_0x59dd82&&(delete _0x246e0b[_0x3a29bc(0x232)],delete _0x246e0b[_0x3a29bc(0x1ff)],delete _0x246e0b[_0x3a29bc(0x20c)],delete _0x246e0b[_0x3a29bc(0x224)],delete _0x246e0b[_0x3a29bc(0x1f0)]);}this[_0x3a29bc(0x223)][_0x3a29bc(0x1fb)](_0x246e0b),this[_0x3a29bc(0x22a)](_0x246e0b);}else this[_0x3a29bc(0x223)][_0x3a29bc(0x1fc)](_0x246e0b);}const _0x35eb68=_0x4c5b85[_0x3a29bc(0x1fe)]();_0x35eb68[_0x3a29bc(0x20f)]();for(let _0x402130=0x0;_0x402130<_0x35eb68[_0x3a29bc(0x234)]-0x1;_0x402130++){const _0x223fc5=_0x35eb68[_0x402130],_0x2d9d3b=_0x35eb68[_0x402130+0x1];if(_0x223fc5[_0x3a29bc(0x232)]<_0x2d9d3b[_0x3a29bc(0x1ff)]){const _0x51569c=_0x2d9d3b[_0x3a29bc(0x1ff)],_0x510a10=Math[_0x3a29bc(0x1e8)](_0x51569c,_0x223fc5[_0x3a29bc(0x1ff)]);this[_0x3a29bc(0x1fd)]({'revision':_0x223fc5,'from':_0x51569c,'to':_0x510a10});}}}[_0xaead42(0x1fd)]({revision:_0x38a8c9,from:_0x442c93,to:_0x283b92}={}){const _0x41750b=_0xaead42,_0xf45d1d=this[_0x41750b(0x217)][_0x41750b(0x23f)][_0x41750b(0x226)](_0x2e411c),_0x11943e=this[_0x41750b(0x223)][_0x41750b(0x1ef)]({'revision':_0x38a8c9,'from':_0x442c93,'to':_0x283b92});_0x11943e[_0x41750b(0x21a)]=_0x11943e[_0x41750b(0x1f0)][_0x41750b(0x1ea)](_0x255350=>_0xf45d1d[_0x41750b(0x227)](_0x255350)),_0x38a8c9[_0x41750b(0x1dd)](_0x11943e);}[_0xaead42(0x22a)](_0x123cca){const _0x148d84=_0xaead42,_0x732e00={};_0x732e00['id']=_0x123cca['id'];for(const _0x461c0a of Object[_0x148d84(0x242)](_0x123cca))'id'!==_0x461c0a&&(_0x732e00[_0x461c0a]=void 0x0);this[_0x148d84(0x223)][_0x148d84(0x222)](_0x732e00['id'],_0x732e00,!0x0);}async[_0xaead42(0x200)](_0x56b0f0){const _0x547906=_0xaead42,_0x504da2=this[_0x547906(0x217)][_0x547906(0x23f)][_0x547906(0x226)](_0x2e411c),{connection:_0x3e26f1}=this[_0x547906(0x217)][_0x547906(0x23f)][_0x547906(0x226)](_0x34f804),_0x23555c=new Set();for(const _0x45a8e of _0x56b0f0){for(const _0x24b685 of _0x45a8e[_0x547906(0x1f0)])_0x55f9ec(_0x24b685);_0x45a8e[_0x547906(0x1ee)]&&_0x55f9ec(_0x45a8e[_0x547906(0x1ee)]);}if(0x0===_0x23555c[_0x547906(0x210)])return;const _0xef57d=await _0x879d45[_0x547906(0x23d)](_0x3e26f1,Array[_0x547906(0x225)](_0x23555c));for(const _0x44a061 of _0xef57d)_0x504da2[_0x547906(0x227)](_0x44a061['id'])||_0x504da2[_0x547906(0x22d)](_0x44a061);function _0x55f9ec(_0x4ee6fc){const _0x17d68d=_0x547906;_0x504da2[_0x17d68d(0x227)](_0x4ee6fc)||_0x23555c[_0x17d68d(0x243)](_0x4ee6fc);}}}v[_0xaead42(0x221)]=_0x124cd3;export default v;function st(_0x340257){const _0x20d1fb=_0xaead42;return _0x340257[_0x20d1fb(0x1ed)][_0x20d1fb(0x1f1)](_0x20d1fb(0x241))||_0x340257[_0x20d1fb(0x1ed)][_0x20d1fb(0x1f1)](_0x20d1fb(0x202))||_0x340257[_0x20d1fb(0x1ed)][_0x20d1fb(0x1f1)](_0x20d1fb(0x212));}
|
|
23
|
+
const _0x31c979=_0x3396;(function(_0x181e57,_0x115616){const _0x4e55a4=_0x3396,_0x27ef30=_0x181e57();while(!![]){try{const _0x4d2988=-parseInt(_0x4e55a4(0x14d))/0x1*(parseInt(_0x4e55a4(0x14b))/0x2)+parseInt(_0x4e55a4(0x134))/0x3+-parseInt(_0x4e55a4(0x132))/0x4*(parseInt(_0x4e55a4(0x161))/0x5)+parseInt(_0x4e55a4(0x146))/0x6*(parseInt(_0x4e55a4(0x135))/0x7)+-parseInt(_0x4e55a4(0x193))/0x8*(-parseInt(_0x4e55a4(0x16c))/0x9)+parseInt(_0x4e55a4(0x192))/0xa+-parseInt(_0x4e55a4(0x162))/0xb;if(_0x4d2988===_0x115616)break;else _0x27ef30['push'](_0x27ef30['shift']());}catch(_0x457ce8){_0x27ef30['push'](_0x27ef30['shift']());}}}(_0x47e7,0x93e4c));import{Plugin as _0x1f8948}from'ckeditor5/src/core.js';function _0x47e7(){const _0x56c4e7=['getRevisions','56372jVHATK','change:_isConnected','2608449WBhRqB','6331374oiQTXm','length','reconnect','keys','_fixRevision','_startingVersion','currentRevision','400','getMany','getUser','toVersion','createdAt','setSource','listenTo','_isPendingUpdate','creatorId','change:_isPendingUpdate','6LYSFlY','destroy','fromVersion','_fetchMissingUsers','authorsIds','76SALLLd','_getLatestVersion','11809NSAyDK','_revisionTracker','RevisionHistoryService','getRevision','_isConnected','affectsData','type','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','wrongRequestId','connect','RevisionTracker','setRevisionData','_lastRequestId','serverHistory','isEmptyCurrent','remove','_bufferedUpdates','reInit','has','editor','15QhQOrj','22783178WwqzBt','addUser','_oldOffset','cloud-services-internal-error:\x20Not\x20connected.','_bufferUpdate','_revisions','addToReconnectionStack','collaboration.channelId','getOperations','connected','18PlGnhA','reverse','bind','code','adapter','_handleRevisionsUpdate','cloudServices.bundleVersion','repository','updateRevisions','CONNECTED','max','sessionId','isEnabled','_createCurrentRevision','_getLatestVersionFromServerOperations','baseVersion','state','init','_revisionDataBuilder','catch','isConnected','authors','add','_offset','_preventResendingRevisionData','data','then','once','addRevisionData','cloud-services-internal-error:\x20Request\x20timeout.','config','startsWith','connection','get','off','size','marker','diffData','9672840nNvlkd','1706968pLNhNg','_handleReconnectionError','from','_waitForServiceReady','isBundleUploaded','plugins','_revisionHistoryService','_update','map','requires','sendBufferedUpdates','buildRevisionData','message','revisionsUpdated'];_0x47e7=function(){return _0x56c4e7;};return _0x47e7();}import{version as _0x467019}from'ckeditor5/src/utils.js';import{Users as _0x1b8412}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1d19fd from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x36854f from'../realtimecollaborativeediting/websocketgateway.js';import _0xd68eab from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x50be0f,RevisionHistoryService as _0x280806,User as _0x16dd9e,WEB_SOCKET_GATEWAY_STATES as _0x20203e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class v extends _0x1f8948{static get[_0x31c979(0x19c)](){const _0x928c0c=_0x31c979;return[_0x36854f,_0x1d19fd,_0x928c0c(0x157),_0xd68eab,_0x1b8412];}constructor(_0x1e0ef0){const _0x16dc67=_0x31c979;super(_0x1e0ef0);const _0x22fde8=this[_0x16dc67(0x160)][_0x16dc67(0x18a)][_0x16dc67(0x18d)](_0x16dc67(0x169));this[_0x16dc67(0x159)]=null,this[_0x16dc67(0x14e)]=this[_0x16dc67(0x160)][_0x16dc67(0x198)][_0x16dc67(0x18d)](_0x16dc67(0x157)),this[_0x16dc67(0x199)]=new v[(_0x16dc67(0x14f))](_0x22fde8);}async[_0x31c979(0x17d)](){const _0x3efa5c=_0x31c979,_0x3856b3=this[_0x3efa5c(0x160)][_0x3efa5c(0x198)][_0x3efa5c(0x18d)](_0x1d19fd),_0x31a73b=_0x3856b3[_0x3efa5c(0x15a)],_0x31c1aa=this[_0x3efa5c(0x160)][_0x3efa5c(0x198)][_0x3efa5c(0x18d)](_0x36854f);this[_0x3efa5c(0x14e)][_0x3efa5c(0x141)]({'history':_0x31a73b,'getLatestVersion':()=>this[_0x3efa5c(0x14c)](),'getCurrentRevisionId':()=>_0x3856b3[_0x3efa5c(0x177)]});const _0x70e519=this[_0x3efa5c(0x160)][_0x3efa5c(0x18a)][_0x3efa5c(0x18d)](_0x3efa5c(0x172))||_0x467019,_0x1e575c=await _0x50be0f[_0x3efa5c(0x197)](_0x31c1aa[_0x3efa5c(0x18c)],_0x70e519);this[_0x3efa5c(0x14e)][_0x3efa5c(0x170)]={'getRevision':async({revisionId:_0xf7398})=>(await this[_0x3efa5c(0x196)](),await this[_0x3efa5c(0x199)][_0x3efa5c(0x150)](_0xf7398)),'updateRevisions':async _0x4078df=>{const _0x2c217f=_0x3efa5c;await this[_0x2c217f(0x196)]();const _0x5af748=this[_0x2c217f(0x14e)][_0x2c217f(0x13b)];if(_0x1e575c&&0x1===_0x4078df[_0x2c217f(0x136)]&&_0x4078df[0x0]['id']===_0x5af748['id'])return _0x4078df;for(const _0x3da9c0 of _0x4078df)_0x3da9c0['id']===_0x5af748['id']&&(_0x3da9c0[_0x2c217f(0x15b)]=_0x3da9c0[_0x2c217f(0x148)]===_0x3da9c0[_0x2c217f(0x13f)]);return this[_0x2c217f(0x199)][_0x2c217f(0x174)](_0x4078df,this[_0x2c217f(0x159)])[_0x2c217f(0x186)](_0x5a6cb8=>(this[_0x2c217f(0x159)]=_0x5a6cb8,_0x4078df))[_0x2c217f(0x17f)](_0x403680=>{const _0x2ba183=_0x2c217f;if(st(_0x403680)||_0x2ba183(0x13c)===_0x403680[_0x2ba183(0x16f)]&&void 0x0!==_0x403680[_0x2ba183(0x185)][_0x2ba183(0x155)]){for(const _0x20ac44 of _0x4078df){!this[_0x2ba183(0x14e)][_0x2ba183(0x173)][_0x2ba183(0x150)](_0x20ac44['id'])||this[_0x2ba183(0x14e)][_0x2ba183(0x166)](_0x20ac44['id'],_0x20ac44,!0x1);}if(st(_0x403680))throw _0x403680;return _0x4078df;}throw _0x403680;});}},this[_0x3efa5c(0x142)](this[_0x3efa5c(0x199)],_0x3efa5c(0x1a0),(_0x4f1f38,{revisionsData:_0x1a48f2,requestId:_0x54fc48})=>{const _0x3cfc0d=_0x3efa5c;Math[_0x3cfc0d(0x176)](..._0x1a48f2[_0x3cfc0d(0x19b)](_0x2976b6=>_0x2976b6[_0x3cfc0d(0x13f)]))>this[_0x3cfc0d(0x17a)]()-0x1?this[_0x3cfc0d(0x14c)]()[_0x3cfc0d(0x186)](()=>{const _0x4de871=_0x3cfc0d;this[_0x4de871(0x171)](_0x1a48f2,_0x54fc48);}):this[_0x3cfc0d(0x171)](_0x1a48f2,_0x54fc48);});const {revisions:_0x2d8f50,requestId:_0x402902}=await this[_0x3efa5c(0x199)][_0x3efa5c(0x156)](_0x31c1aa[_0x3efa5c(0x18c)]);_0x31c1aa[_0x3efa5c(0x168)](this),this[_0x3efa5c(0x159)]=_0x402902,await this[_0x3efa5c(0x149)](_0x2d8f50);for(const _0x69fc73 of _0x2d8f50)this[_0x3efa5c(0x14e)][_0x3efa5c(0x188)](_0x69fc73);this[_0x3efa5c(0x142)](_0x3856b3,_0x3efa5c(0x133),(_0x1d38c8,_0x31d842,_0x55cc23)=>{const _0x377c32=_0x3efa5c;_0x55cc23&&(this[_0x377c32(0x164)]=_0x3856b3[_0x377c32(0x183)],_0x1d38c8[_0x377c32(0x18e)]());}),this[_0x3efa5c(0x14e)][_0x3efa5c(0x16e)](_0x3efa5c(0x178))['to'](_0x31c1aa,_0x3efa5c(0x17c),_0x252ee1=>_0x252ee1===_0x20203e[_0x3efa5c(0x175)]);}async[_0x31c979(0x137)](){const _0x2c7c89=_0x31c979,_0x506fb5=this[_0x2c7c89(0x160)][_0x2c7c89(0x198)][_0x2c7c89(0x18d)](_0x36854f),_0x390d88=this[_0x2c7c89(0x160)][_0x2c7c89(0x198)][_0x2c7c89(0x18d)](_0x1d19fd),_0x323f08=async()=>{const _0x552b56=_0x2c7c89,_0x49e4d4=this[_0x552b56(0x14e)][_0x552b56(0x13b)],_0x38059e=_0x49e4d4['id'],_0x4f3ac8=_0x38059e!==_0x390d88[_0x552b56(0x177)];if(_0x4f3ac8){const _0x9f67e6=_0x390d88[_0x552b56(0x183)]-this[_0x552b56(0x164)],_0x17b157=this[_0x552b56(0x17a)]();this[_0x552b56(0x14e)][_0x552b56(0x17e)][_0x552b56(0x15e)]();if(_0x49e4d4[_0x552b56(0x13f)]+_0x9f67e6!==_0x17b157){const _0x1129cf=_0x49e4d4[_0x552b56(0x148)]+_0x9f67e6,_0x5d2d31=this[_0x552b56(0x160)][_0x552b56(0x198)][_0x552b56(0x18d)](_0x1b8412),_0x526a1=this[_0x552b56(0x14e)][_0x552b56(0x19e)]({'revision':_0x49e4d4,'from':_0x1129cf,'to':_0x17b157});_0x526a1['id']=_0x49e4d4['id'];const _0x4e29e2=_0x526a1[_0x552b56(0x14a)][_0x552b56(0x19b)](_0x24b324=>_0x5d2d31[_0x552b56(0x13e)](_0x24b324));_0x49e4d4[_0x552b56(0x19a)]({..._0x526a1,'authors':_0x4e29e2},!0x0),this[_0x552b56(0x14e)][_0x552b56(0x166)](_0x49e4d4['id'],_0x526a1,!0x0);}this[_0x552b56(0x14e)][_0x552b56(0x13a)]=_0x17b157,(_0x49e4d4[_0x552b56(0x13f)]===_0x49e4d4[_0x552b56(0x148)]&&!this[_0x552b56(0x14e)][_0x552b56(0x15d)][_0x552b56(0x15f)](_0x38059e)&&this[_0x552b56(0x14e)][_0x552b56(0x173)][_0x552b56(0x167)][_0x552b56(0x15c)](_0x38059e),this[_0x552b56(0x14e)][_0x552b56(0x179)](_0x17b157));}const {revisions:_0xf98a7f,requestId:_0x1dd9d4}=await this[_0x552b56(0x199)][_0x552b56(0x137)](_0x506fb5[_0x552b56(0x18c)],this[_0x552b56(0x159)]);_0x4f3ac8&&_0xf98a7f[_0x552b56(0x136)]>0x0?_0x390d88[_0x552b56(0x194)]():(await this[_0x552b56(0x149)](_0xf98a7f),this[_0x552b56(0x171)](_0xf98a7f,_0x1dd9d4),this[_0x552b56(0x14e)][_0x552b56(0x19d)]());};return _0x390d88[_0x2c7c89(0x151)]?_0x323f08():new Promise((_0x27b03a,_0x3cc5a9)=>{const _0x54a9a9=_0x2c7c89;_0x390d88[_0x54a9a9(0x187)](_0x54a9a9(0x133),()=>{const _0x309672=_0x54a9a9;_0x323f08()[_0x309672(0x186)](_0x27b03a)[_0x309672(0x17f)](_0x3cc5a9);});});}[_0x31c979(0x147)](){const _0x3a13fe=_0x31c979;super[_0x3a13fe(0x147)]();}async[_0x31c979(0x196)](){const _0x54a5a4=_0x31c979;this[_0x54a5a4(0x199)][_0x54a5a4(0x180)]||await new Promise(_0x1889a3=>{const _0x2155c7=_0x54a5a4;this[_0x2155c7(0x142)](this[_0x2155c7(0x199)],_0x2155c7(0x16b),_0x153426=>{const _0xf92f4b=_0x2155c7;_0x153426[_0xf92f4b(0x18e)](),_0x1889a3();});});}[_0x31c979(0x17a)](){const _0xa6e997=_0x31c979,_0x3eefc6=this[_0xa6e997(0x160)][_0xa6e997(0x198)][_0xa6e997(0x18d)](_0x1d19fd)[_0xa6e997(0x15a)][_0xa6e997(0x16a)]()[_0xa6e997(0x16d)]();for(const _0x1c07e2 of _0x3eefc6)if(_0xa6e997(0x190)!==_0x1c07e2[_0xa6e997(0x153)]||_0x1c07e2[_0xa6e997(0x152)])return _0x1c07e2[_0xa6e997(0x17b)]+0x1;}[_0x31c979(0x14c)](){const _0x11b3c8=_0x31c979,_0xc4adf2=this[_0x11b3c8(0x160)][_0x11b3c8(0x198)][_0x11b3c8(0x18d)](_0x1d19fd);return new Promise(_0x3dfc60=>{const _0x3816fa=_0x11b3c8;_0xc4adf2[_0x3816fa(0x143)]?_0xc4adf2[_0x3816fa(0x187)](_0x3816fa(0x145),()=>{const _0x173ee2=_0x3816fa;_0x3dfc60(this[_0x173ee2(0x17a)]());}):_0x3dfc60(this[_0x3816fa(0x17a)]());});}[_0x31c979(0x171)](_0x55796d,_0x3467d3){const _0x55697f=_0x31c979,_0x5a770b=this[_0x55697f(0x14e)][_0x55697f(0x173)];this[_0x55697f(0x159)]=_0x3467d3;for(const _0x18e2fe of _0x55796d){const _0x31cdf0=_0x5a770b[_0x55697f(0x150)](_0x18e2fe['id']);if(_0x31cdf0){if((_0x18e2fe[_0x55697f(0x148)]||_0x18e2fe[_0x55697f(0x13f)])&&(_0x18e2fe[_0x55697f(0x191)]=null),_0x31cdf0===this[_0x55697f(0x14e)][_0x55697f(0x13b)]){const _0x219fe4=Math[_0x55697f(0x176)](_0x31cdf0[_0x55697f(0x13f)],_0x18e2fe[_0x55697f(0x13f)]),_0x104230=Math[_0x55697f(0x176)](_0x31cdf0[_0x55697f(0x148)],_0x18e2fe[_0x55697f(0x148)]);let _0x41fb4e;_0x31cdf0[_0x55697f(0x13f)]===_0x18e2fe[_0x55697f(0x13f)]&&_0x31cdf0[_0x55697f(0x148)]===_0x18e2fe[_0x55697f(0x148)]?(_0x41fb4e=!0x0,this[_0x55697f(0x184)](_0x18e2fe)):_0x18e2fe[_0x55697f(0x13f)]===_0x219fe4&&_0x18e2fe[_0x55697f(0x148)]===_0x104230?_0x41fb4e=!0x1:(_0x31cdf0[_0x55697f(0x13f)]===_0x219fe4&&_0x31cdf0[_0x55697f(0x148)]===_0x104230||this[_0x55697f(0x139)]({'revision':_0x31cdf0,'from':_0x104230,'to':_0x219fe4}),_0x41fb4e=!0x0),_0x41fb4e&&(delete _0x18e2fe[_0x55697f(0x148)],delete _0x18e2fe[_0x55697f(0x13f)],delete _0x18e2fe[_0x55697f(0x191)],delete _0x18e2fe[_0x55697f(0x140)],delete _0x18e2fe[_0x55697f(0x14a)]);}this[_0x55697f(0x14e)][_0x55697f(0x158)](_0x18e2fe),this[_0x55697f(0x184)](_0x18e2fe);}else this[_0x55697f(0x14e)][_0x55697f(0x188)](_0x18e2fe);}const _0x38ea11=_0x5a770b[_0x55697f(0x131)]();_0x38ea11[_0x55697f(0x16d)]();for(let _0x40f2c1=0x0;_0x40f2c1<_0x38ea11[_0x55697f(0x136)]-0x1;_0x40f2c1++){const _0x218be0=_0x38ea11[_0x40f2c1],_0x14ddba=_0x38ea11[_0x40f2c1+0x1];if(_0x218be0[_0x55697f(0x148)]<_0x14ddba[_0x55697f(0x13f)]){const _0x1cb198=_0x14ddba[_0x55697f(0x13f)],_0x1d91f6=Math[_0x55697f(0x176)](_0x1cb198,_0x218be0[_0x55697f(0x13f)]);this[_0x55697f(0x139)]({'revision':_0x218be0,'from':_0x1cb198,'to':_0x1d91f6});}}}[_0x31c979(0x139)]({revision:_0x1370e0,from:_0x289eb3,to:_0xc4c4b8}={}){const _0x22b776=_0x31c979,_0x564ad3=this[_0x22b776(0x160)][_0x22b776(0x198)][_0x22b776(0x18d)](_0x1b8412),_0x423fb0=this[_0x22b776(0x14e)][_0x22b776(0x19e)]({'revision':_0x1370e0,'from':_0x289eb3,'to':_0xc4c4b8});_0x423fb0[_0x22b776(0x181)]=_0x423fb0[_0x22b776(0x14a)][_0x22b776(0x19b)](_0xa37795=>_0x564ad3[_0x22b776(0x13e)](_0xa37795)),_0x1370e0[_0x22b776(0x19a)](_0x423fb0);}[_0x31c979(0x184)](_0x3e92ef){const _0x56e4fb=_0x31c979,_0x1002dc={};_0x1002dc['id']=_0x3e92ef['id'];for(const _0x25ca55 of Object[_0x56e4fb(0x138)](_0x3e92ef))'id'!==_0x25ca55&&(_0x1002dc[_0x25ca55]=void 0x0);this[_0x56e4fb(0x14e)][_0x56e4fb(0x166)](_0x1002dc['id'],_0x1002dc,!0x0);}async[_0x31c979(0x149)](_0x5c0387){const _0x24ff84=_0x31c979,_0x3f301b=this[_0x24ff84(0x160)][_0x24ff84(0x198)][_0x24ff84(0x18d)](_0x1b8412),{connection:_0x2dfb2f}=this[_0x24ff84(0x160)][_0x24ff84(0x198)][_0x24ff84(0x18d)](_0x36854f),_0xb92887=new Set();for(const _0x2d9e65 of _0x5c0387){for(const _0x42915d of _0x2d9e65[_0x24ff84(0x14a)])_0xf0576f(_0x42915d);_0x2d9e65[_0x24ff84(0x144)]&&_0xf0576f(_0x2d9e65[_0x24ff84(0x144)]);}if(0x0===_0xb92887[_0x24ff84(0x18f)])return;const _0x26fe72=await _0x16dd9e[_0x24ff84(0x13d)](_0x2dfb2f,Array[_0x24ff84(0x195)](_0xb92887));for(const _0x25e36d of _0x26fe72)_0x3f301b[_0x24ff84(0x13e)](_0x25e36d['id'])||_0x3f301b[_0x24ff84(0x163)](_0x25e36d);function _0xf0576f(_0x64f980){const _0x4368ff=_0x24ff84;_0x3f301b[_0x4368ff(0x13e)](_0x64f980)||_0xb92887[_0x4368ff(0x182)](_0x64f980);}}}v[_0x31c979(0x14f)]=_0x280806;function _0x3396(_0x3f544a,_0x91808e){const _0x47e726=_0x47e7();return _0x3396=function(_0x339696,_0x5c5545){_0x339696=_0x339696-0x131;let _0x148245=_0x47e726[_0x339696];return _0x148245;},_0x3396(_0x3f544a,_0x91808e);}export default v;function st(_0x41b5dc){const _0x3f1117=_0x31c979;return _0x41b5dc[_0x3f1117(0x19f)][_0x3f1117(0x18b)](_0x3f1117(0x154))||_0x41b5dc[_0x3f1117(0x19f)][_0x3f1117(0x18b)](_0x3f1117(0x165))||_0x41b5dc[_0x3f1117(0x19f)][_0x3f1117(0x18b)](_0x3f1117(0x189));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x345a3d=_0x57c1;(function(_0x274065,_0x5682bb){var _0x5a5412=_0x57c1,_0x5a2b80=_0x274065();while(!![]){try{var _0x31e0d0=parseInt(_0x5a5412(0x113))/0x1*(-parseInt(_0x5a5412(0x11c))/0x2)+parseInt(_0x5a5412(0x117))/0x3*(-parseInt(_0x5a5412(0x119))/0x4)+parseInt(_0x5a5412(0x116))/0x5+parseInt(_0x5a5412(0x10f))/0x6*(parseInt(_0x5a5412(0x10e))/0x7)+parseInt(_0x5a5412(0x114))/0x8+-parseInt(_0x5a5412(0x111))/0x9*(parseInt(_0x5a5412(0x112))/0xa)+-parseInt(_0x5a5412(0x110))/0xb*(parseInt(_0x5a5412(0x10d))/0xc);if(_0x31e0d0===_0x5682bb)break;else _0x5a2b80['push'](_0x5a2b80['shift']());}catch(_0x1b21b9){_0x5a2b80['push'](_0x5a2b80['shift']());}}}(_0x37f6,0x5705d));function _0x57c1(_0x30c950,_0xe98ee8){var _0x37f67a=_0x37f6();return _0x57c1=function(_0x57c156,_0x2286da){_0x57c156=_0x57c156-0x10d;var _0x273ce3=_0x37f67a[_0x57c156];return _0x273ce3;},_0x57c1(_0x30c950,_0xe98ee8);}import{Plugin as _0x515a9e}from'ckeditor5/src/core.js';import _0x22f9a7 from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x37f6(){var _0xa72b1d=['2992760hzScjw','981EFTPtD','RealTimeCollaborativeRevisionHistory','7264HxQDtc','RevisionHistory','requires','422tppGYA','168nCpSTf','14KpkCfl','1541676LNKxOR','108911OOhVkd','909cgAeJy','20180utxhQu','2042uPfIcx','4889016esjoXI','pluginName'];_0x37f6=function(){return _0xa72b1d;};return _0x37f6();}import _0x34f7a5 from'./realtimecollaborativeediting.js';export default class d extends _0x515a9e{static get[_0x345a3d(0x11b)](){var _0x37b20c=_0x345a3d;return[_0x37b20c(0x11a),_0x22f9a7,_0x34f7a5];}static get[_0x345a3d(0x115)](){var _0x103253=_0x345a3d;return _0x103253(0x118);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x5873ec=_0x54fc;(function(_0x4b4c7a,_0x1a2472){const _0x22fca8=_0x54fc,_0x56d0f2=_0x4b4c7a();while(!![]){try{const _0x2ac0fe=parseInt(_0x22fca8(0x13e))/0x1*(parseInt(_0x22fca8(0x152))/0x2)+parseInt(_0x22fca8(0x123))/0x3+parseInt(_0x22fca8(0x154))/0x4+-parseInt(_0x22fca8(0x139))/0x5+parseInt(_0x22fca8(0x143))/0x6*(-parseInt(_0x22fca8(0x129))/0x7)+parseInt(_0x22fca8(0x158))/0x8*(-parseInt(_0x22fca8(0x146))/0x9)+parseInt(_0x22fca8(0x126))/0xa;if(_0x2ac0fe===_0x1a2472)break;else _0x56d0f2['push'](_0x56d0f2['shift']());}catch(_0x3f23e1){_0x56d0f2['push'](_0x56d0f2['shift']());}}}(_0x21ae,0xd2f80));import{Plugin as _0x28cf6f}from'ckeditor5/src/core.js';function _0x21ae(){const _0x10e53c=['requires','delete','_trackChangesService','reconnect','set','update','find','editor','state','type','TrackChangesService','getUser','adapter','connection','values','2509200iPzbbh','config','plugins','originalSuggestionId','off','1lnTGLD','size','suggestionUpdated','connected','_waitForServiceReady','421608WMSWXs','hasSuggestion','TrackChangesEditing','18YwFRZh','collaboration.channelId','cloud-services-internal-error:\x20Request\x20timeout.','from','add','_bufferedRequests','_fetchMissingUsersForThreads','catch','open','get','addSuggestionData','addUser','1356266fIcHyQ','getMany','4624984TSuDUX','then','getSuggestion','startsWith','4644152jVEnNw','listenTo','attributes','connect','init','data','isConnected','713532oBwGWJ','cloud-services-internal-error:\x20Not\x20connected.','_saved','9466590VtZzKP','addToReconnectionStack','message','49YYjEhV'];_0x21ae=function(){return _0x10e53c;};return _0x21ae();}import{User as _0x22de0f,TrackChangesService as _0x10e3ba}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x5d8be4 from'../realtimecollaborativeediting/websocketgateway.js';import _0x2b7a88 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x54fc(_0x1a06c7,_0x5cb940){const _0x21ae9b=_0x21ae();return _0x54fc=function(_0x54fcc4,_0x3e41ee){_0x54fcc4=_0x54fcc4-0x121;let _0x458ade=_0x21ae9b[_0x54fcc4];return _0x458ade;},_0x54fc(_0x1a06c7,_0x5cb940);}import{Users as _0x3ea41c}from'ckeditor5-collaboration/src/collaboration-core.js';class g extends _0x28cf6f{static get[_0x5873ec(0x12a)](){const _0x4c5dea=_0x5873ec;return[_0x2b7a88,_0x4c5dea(0x145),_0x5d8be4];}constructor(_0x22017c){const _0x52b663=_0x5873ec;super(_0x22017c);const _0x23e580=this[_0x52b663(0x131)][_0x52b663(0x13a)][_0x52b663(0x14f)](_0x52b663(0x147));this[_0x52b663(0x14b)]=new Map(),this[_0x52b663(0x12c)]=new g[(_0x52b663(0x134))](_0x23e580);}[_0x5873ec(0x15c)](){const _0x482ffe=_0x5873ec,_0x2b18f3=this[_0x482ffe(0x131)][_0x482ffe(0x13b)][_0x482ffe(0x14f)](_0x5d8be4),_0x2257fb=this[_0x482ffe(0x131)][_0x482ffe(0x13b)][_0x482ffe(0x14f)](_0x482ffe(0x145));return _0x2257fb[_0x482ffe(0x136)]={'getSuggestion':async _0x46b825=>{const _0x5dbb1b=_0x482ffe;await this[_0x5dbb1b(0x142)]();const _0x450730=await this[_0x5dbb1b(0x12c)][_0x5dbb1b(0x14f)](_0x46b825)[_0x5dbb1b(0x14d)](R);return await this[_0x5dbb1b(0x14c)]([_0x450730]),_0x450730;},'addSuggestion':async({id:_0x2ee923,type:_0x39f738,data:_0x3a46f1,originalSuggestionId:_0x228fc4,attributes:_0x3ffebe})=>{const _0x5aedb7=_0x482ffe;await this[_0x5aedb7(0x142)]();const _0x5e011d={'id':_0x2ee923,'type':_0x39f738,'data':_0x3a46f1,'originalSuggestionId':_0x228fc4,'attributes':_0x3ffebe},_0x58bbe2=await this[_0x5aedb7(0x12c)][_0x5aedb7(0x14a)](_0x2ee923,_0x39f738,_0x3a46f1,_0x228fc4,_0x3ffebe)[_0x5aedb7(0x14d)](_0x2c4cb7=>{if(st(_0x2c4cb7))return new Promise(_0x46f8eb=>{const _0x59aee4=_0x54fc;this[_0x59aee4(0x14b)][_0x59aee4(0x12e)](_0x2ee923,{'resolve':_0x46f8eb,'suggestionData':_0x5e011d});});throw _0x2c4cb7;});return this[_0x5aedb7(0x14b)][_0x5aedb7(0x12b)](_0x2ee923),_0x58bbe2;},'updateSuggestion':async(_0x45b918,_0x5bf9a1)=>{const _0x2f93b8=_0x482ffe;if(await this[_0x2f93b8(0x142)](),_0x2f93b8(0x14e)!==_0x5bf9a1[_0x2f93b8(0x132)])return this[_0x2f93b8(0x12c)][_0x2f93b8(0x12f)](_0x45b918,_0x5bf9a1)[_0x2f93b8(0x14d)](R);}},this[_0x482ffe(0x159)](this[_0x482ffe(0x12c)],_0x482ffe(0x140),(_0x23d3c5,_0x2f3a85)=>{const _0xbb1676=_0x482ffe;_0x2257fb[_0xbb1676(0x144)](_0x2f3a85['id'])&&(_0x2257fb[_0xbb1676(0x156)](_0x2f3a85['id'])[_0xbb1676(0x15a)]=_0x2f3a85[_0xbb1676(0x15a)]);}),this[_0x482ffe(0x12c)][_0x482ffe(0x15b)](_0x2b18f3[_0x482ffe(0x137)])[_0x482ffe(0x155)](_0x1b355b=>(_0x2b18f3[_0x482ffe(0x127)](this),this[_0x482ffe(0x14c)](_0x1b355b)[_0x482ffe(0x155)](()=>{const _0x22068a=_0x482ffe;for(const _0x480119 of _0x1b355b){_0x2257fb[_0x22068a(0x150)](_0x480119)[_0x22068a(0x125)]=!0x0;}})));}async[_0x5873ec(0x12d)](){const _0x215d5a=_0x5873ec,_0x3597b1=this[_0x215d5a(0x131)][_0x215d5a(0x13b)][_0x215d5a(0x14f)](_0x215d5a(0x145)),{connection:_0x21992b}=this[_0x215d5a(0x131)][_0x215d5a(0x13b)][_0x215d5a(0x14f)](_0x5d8be4),_0x40e414=await this[_0x215d5a(0x12c)][_0x215d5a(0x15b)](_0x21992b);await this[_0x215d5a(0x14c)](_0x40e414);for(const {suggestionData:_0x511d5e,resolve:_0x11841e}of this[_0x215d5a(0x14b)][_0x215d5a(0x138)]()){let _0x51561a=_0x40e414[_0x215d5a(0x130)](_0x2d00b2=>_0x2d00b2['id']===_0x511d5e['id']);_0x51561a||(_0x51561a=await this[_0x215d5a(0x12c)][_0x215d5a(0x14a)](_0x511d5e['id'],_0x511d5e[_0x215d5a(0x133)],_0x511d5e[_0x215d5a(0x121)],_0x511d5e[_0x215d5a(0x13c)])),_0x11841e(_0x51561a);}for(const _0x43c2a1 of _0x40e414)_0x3597b1[_0x215d5a(0x144)](_0x43c2a1['id'])||_0x3597b1[_0x215d5a(0x150)](_0x43c2a1);}async[_0x5873ec(0x142)](){const _0x39ccfc=_0x5873ec;this[_0x39ccfc(0x12c)][_0x39ccfc(0x122)]||await new Promise(_0x51d07d=>{const _0xd7383d=_0x39ccfc;this[_0xd7383d(0x159)](this[_0xd7383d(0x12c)],_0xd7383d(0x141),_0x105b5c=>{const _0x200ecf=_0xd7383d;_0x105b5c[_0x200ecf(0x13d)](),_0x51d07d();});});}async[_0x5873ec(0x14c)](_0x67206b){const _0x3e2aed=_0x5873ec,_0x5ef1fd=this[_0x3e2aed(0x131)][_0x3e2aed(0x13b)][_0x3e2aed(0x14f)](_0x3ea41c),{connection:_0xb049cf}=this[_0x3e2aed(0x131)][_0x3e2aed(0x13b)][_0x3e2aed(0x14f)](_0x5d8be4),_0x1512b4=new Set();for(const {authorId:_0x365993}of _0x67206b)_0x5ef1fd[_0x3e2aed(0x135)](_0x365993)||_0x1512b4[_0x3e2aed(0x14a)](_0x365993);if(0x0===_0x1512b4[_0x3e2aed(0x13f)])return;const _0x4a1c96=await _0x22de0f[_0x3e2aed(0x153)](_0xb049cf,Array[_0x3e2aed(0x149)](_0x1512b4));for(const _0x1670cb of _0x4a1c96)_0x5ef1fd[_0x3e2aed(0x135)](_0x1670cb['id'])||_0x5ef1fd[_0x3e2aed(0x151)](_0x1670cb);}}g[_0x5873ec(0x134)]=_0x10e3ba;export default g;function R(_0x3564e4){if(st(_0x3564e4))return new Promise(()=>{});throw _0x3564e4;}function st(_0x1c9a8c){const _0x317637=_0x5873ec;return _0x1c9a8c[_0x317637(0x128)][_0x317637(0x157)](_0x317637(0x124))||_0x1c9a8c[_0x317637(0x128)][_0x317637(0x157)](_0x317637(0x148));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x38e9d4=_0x5919;(function(_0x21de9a,_0x5c018c){var _0x4b2427=_0x5919,_0x46ff5a=_0x21de9a();while(!![]){try{var _0x14d8b8=-parseInt(_0x4b2427(0xee))/0x1*(-parseInt(_0x4b2427(0xe0))/0x2)+-parseInt(_0x4b2427(0xe3))/0x3+-parseInt(_0x4b2427(0xe6))/0x4*(parseInt(_0x4b2427(0xe5))/0x5)+parseInt(_0x4b2427(0xe8))/0x6+-parseInt(_0x4b2427(0xec))/0x7*(-parseInt(_0x4b2427(0xe9))/0x8)+-parseInt(_0x4b2427(0xe1))/0x9*(-parseInt(_0x4b2427(0xeb))/0xa)+-parseInt(_0x4b2427(0xe4))/0xb;if(_0x14d8b8===_0x5c018c)break;else _0x46ff5a['push'](_0x46ff5a['shift']());}catch(_0x587c9c){_0x46ff5a['push'](_0x46ff5a['shift']());}}}(_0x254a,0x26382));import{Plugin as _0x4d3e81}from'ckeditor5/src/core.js';import _0x35dd78 from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';function _0x254a(){var _0x1ff61a=['13796VaVQDj','pluginName','1323102uZSECj','787672sgMeJt','TrackChanges','70ObbHqz','7MoefAR','requires','1yoIdUE','309896gnDYss','35505cxaHjj','RealTimeCollaborativeTrackChanges','95856uEdOfk','673904UBHFeM','365NqvLAM'];_0x254a=function(){return _0x1ff61a;};return _0x254a();}function _0x5919(_0x546536,_0x393e48){var _0x254ae7=_0x254a();return _0x5919=function(_0x591959,_0x556904){_0x591959=_0x591959-0xe0;var _0x536cbc=_0x254ae7[_0x591959];return _0x536cbc;},_0x5919(_0x546536,_0x393e48);}import _0x5c9ecf from'./realtimecollaborativecomments.js';export default class p extends _0x4d3e81{static get[_0x38e9d4(0xed)](){var _0x3ae8ea=_0x38e9d4;return[_0x5c9ecf,_0x35dd78,_0x3ae8ea(0xea)];}static get[_0x38e9d4(0xe7)](){var _0x4c3034=_0x38e9d4;return _0x4c3034(0xe2);}}
|