@ckeditor/ckeditor5-real-time-collaboration 43.0.0-alpha.6 → 43.1.0-alpha.0
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 _0x2ed147=_0x1199;(function(_0x169f05,_0x40c5c0){const _0x2906a9=_0x1199,_0x221a88=_0x169f05();while(!![]){try{const _0x3cd46b=-parseInt(_0x2906a9(0x1a5))/0x1*(parseInt(_0x2906a9(0x255))/0x2)+parseInt(_0x2906a9(0x238))/0x3*(-parseInt(_0x2906a9(0x287))/0x4)+-parseInt(_0x2906a9(0x214))/0x5*(parseInt(_0x2906a9(0x1e7))/0x6)+parseInt(_0x2906a9(0x221))/0x7+parseInt(_0x2906a9(0x244))/0x8*(-parseInt(_0x2906a9(0x288))/0x9)+parseInt(_0x2906a9(0x26c))/0xa*(parseInt(_0x2906a9(0x206))/0xb)+-parseInt(_0x2906a9(0x23d))/0xc*(-parseInt(_0x2906a9(0x250))/0xd);if(_0x3cd46b===_0x40c5c0)break;else _0x221a88['push'](_0x221a88['shift']());}catch(_0x1673bd){_0x221a88['push'](_0x221a88['shift']());}}}(_0x5290,0xb12c0));import{Plugin as _0x2e7d36,PendingActions as _0x2c65d5}from'ckeditor5/src/core.js';import{CKEditorError as _0x10e80b,version as _0x5e6176,uid as _0x4a95df}from'ckeditor5/src/utils.js';import{Notification as _0x2e9785}from'ckeditor5/src/ui.js';function _0x1199(_0x353660,_0x5dfe53){const _0x52906b=_0x5290();return _0x1199=function(_0x11999e,_0x2839fd){_0x11999e=_0x11999e-0x189;let _0x5f15fc=_0x52906b[_0x11999e];return _0x5f15fc;},_0x1199(_0x353660,_0x5dfe53);}import{transformSets as _0x4c8bb6,NoOperation as _0x1a4f3e,InsertOperation as _0x52f24d,MarkerOperation as _0x91463b,RootAttributeOperation as _0x31d108,OperationFactory as _0x3583d5,History as _0x477be4}from'ckeditor5/src/engine.js';import _0xebe0d8 from'./websocketgateway.js';import _0x3cc8cf from'./sessions.js';import _0x33f82d from'./usermarkers.js';import{getTranslation as _0x541991}from'../common-translations.js';import{Compressor as _0x5dbc43}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x2be60c}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x305b86,CollaborativeEditingService as _0x592a31}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x5290(){const _0x8ba554=['realtimecollaborationclient-initservice-internal-error','235aazJbz','_currentBufferDelay','_document','_shouldSendUpdate','_updateServerHistory','type','markers','string','collaboration-missing-channelid','getMany','realtimecollaborationclient-init-connection-failed','history','getDocumentDetails','6636574aBsUBh','_isDisconnection','_isEditingAllowed','isReadOnly','_authorId','plugins','view','connection','affectedSelectable','marker','return','createRange','CollaborativeEditingService','_isInit','lastDocumentSession','getUser','version','high','RealTimeCollaborationClient','roots','define','sessionAdd:','collaboration','93ASITlg','rootName','reconnect','message','setPermissions','41028aAriDJ','stopListening','add','_setUpDataInit','off','realtimecollaborationclient-sendbufferedoperations','addRootAttribute','6960568feJAPj','permissions','wereChangesApplied','loadRoot','_handleReconnectionResponse','offset','collaboration.channelId','toJSON','targetPosition','rtc-offline','removeFromReconnectionStack','rootsAttributes','10491MPBxZj','createdAt','set','lastOperationAcceptedAt','_refreshUserSelectionMarkers','358cXFAyJ','_applyOperationsSet','mySessionId','_handleServerResponse','from','cs:removeUser','clone','userId','suppressErrorInCollaboration','_sendBufferedOperations','_knownOperations','catch','cloud-services-internal-error:\x20Request\x20timeout.','_handleSendingSelectionMarkers','reset','channelSessions','affectsData','_loadRoot','$root','enqueueChange','baseVersion','createPositionFromPath','lastSyncVersion','10UQUdyD','getConnectedSessions','_handleReceivedOperations','Notification','__className','realtimecollaborationclient-init-document-already-initialized','includes','applyOperation','_pendingAction','destroy','path','realtimecollaborationclient-handleserverresponse','getIdOfTheLastOperation','decompress','cloud-services-internal-error:\x20Not\x20connected.','addToReconnectionStack','_compressOperations','_addKnownRoot','forEach','_getOperationsFromInitData','fromJSON','sendOperations','_disconnectionOperations','then','has','multi-root-editor-root-attributes-no-root','_hasSelectionChanged','175204GmPJWT','9HYSoHh','_fetchMissingUsers','realtimecollaborationclient-init-non-existent-root','startsWith','stop','_isConnected','size','finally','_bufferedOperations','_disconnectService','register','_channelId','_service','locale','_operationToId','_saveOperationInBuffer','entries','listenTo','pluginName','realtimecollaborationclient-init-session-connection-error','change:_isPendingUpdate','_initSessionsHandling','setIdForTheLastOperation','_isPendingUpdate','_getAffectedRoot','lastOperationId','Synchronization\x20issue','change:_isEditingAllowed','_lastSyncedOperationId','directChange','push','requires','createUserMarkerOperations','_baseBufferDelay','6746nqDHqV','apply','createRoot','insert','slice','getRoot','_handleInitialConnectionData','ready','_setPendingAction','rtc-destroyed','_handleReconnectionError','connected','round','wasUndone','_handleExternalOperations','editing','start','_knownRootNames','change:hasDomSelection','serverHistory','_connectService','_bufferRootLoad','sessionCreatedAt','createPositionAt','disconnect','Permissions','_sendBufferedOperationsDelayed','map','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.','attributes','_ignoredOperations','isEnabled','isUndoneOperation','enableReadOnlyMode','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_compressor','code','disconnected','_operationIdentifier','InsertOperation','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.','keys','get','data','_shouldSendSelectionUpdate','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','disableReadOnlyMode','409','connect','remove','length','CommentsOnly','getOperations','initData','model','addOperation','compress','config','404','newRange','isDocumentOperation','currentDocumentSession','_sendBufferedOperationsDelayId','error','_lastServerVersion','state','45852wMuisQ','sessionId','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','reconnection:\x20flushed\x20session','batch','_hasSynchronizationProblem','addRoot','selection','document:write','end','operationsReceived','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_connectAfterSessionHasBeenFlushed','showWarning','document','_offset','PENDING_ACTION_SENDING_DATA','_clearPendingAction','position','parse','bind','differ','filter','realtimecollaborationclient-initservice-incorrect-server-operation','_isLoaded','unregister','addUser','_waitUntilSynced','metadata','editor','change:range','8944001KAEQUL','root','_isAttached','cloudServices.bundleVersion','real-time-collaboration','move','_decompressOperations','fire','_initThrowingOnDataSet','cloudDocumentVersion','_crash','getOperationAuthor','init'];_0x5290=function(){return _0x8ba554;};return _0x5290();}let K=0x1;class l extends _0x2e7d36{static get[_0x2ed147(0x1a2)](){return[_0xebe0d8,_0x3cc8cf,_0x33f82d,_0x2c65d5,_0x2be60c,_0x2e9785];}static get[_0x2ed147(0x195)](){const _0x56e967=_0x2ed147;return _0x56e967(0x233);}get[_0x2ed147(0x20f)](){const _0x45749f=_0x2ed147;return this[_0x45749f(0x1e5)]+this[_0x45749f(0x1f6)];}get[_0x2ed147(0x1e5)](){const _0x3cd7e3=_0x2ed147;return this[_0x3cd7e3(0x1b8)][_0x3cd7e3(0x231)]-this[_0x3cd7e3(0x1f6)];}get[_0x2ed147(0x26b)](){const _0x4293c5=_0x2ed147,_0x3e78b8=this[_0x4293c5(0x1b8)][_0x4293c5(0x1d9)]();for(let _0x421480=_0x3e78b8[_0x4293c5(0x1d7)]-0x1;_0x421480>=0x0;_0x421480--){const _0x10cfb2=_0x3e78b8[_0x421480];if(!this[_0x4293c5(0x282)][_0x4293c5(0x284)](_0x10cfb2))return _0x10cfb2[_0x4293c5(0x269)]+0x1-this[_0x4293c5(0x1f6)];}return 0x0;}constructor(_0x39e4ff){const _0x3a2c64=_0x2ed147;if(super(_0x39e4ff),this[_0x3a2c64(0x1f6)]=0x0,this[_0x3a2c64(0x1e8)]=null,this[_0x3a2c64(0x1b8)]=new _0x477be4(),this[_0x3a2c64(0x204)][_0x3a2c64(0x1de)][_0x3a2c64(0x235)](_0x3a2c64(0x237),{}),this[_0x3a2c64(0x18e)]=this[_0x3a2c64(0x204)][_0x3a2c64(0x1de)][_0x3a2c64(0x1cf)](_0x3a2c64(0x24a)),!this[_0x3a2c64(0x18e)])throw new _0x10e80b(_0x3a2c64(0x21c),this);const _0x411b2a=_0x39e4ff[_0x3a2c64(0x1de)][_0x3a2c64(0x1cf)](_0x3a2c64(0x209))||_0x5e6176;this[_0x3a2c64(0x18f)]=new l[(_0x3a2c64(0x22d))](_0x411b2a,this[_0x3a2c64(0x18e)]),this[_0x3a2c64(0x216)]=this[_0x3a2c64(0x204)][_0x3a2c64(0x1db)][_0x3a2c64(0x1f5)],this[_0x3a2c64(0x1c8)]=new _0x5dbc43(),this[_0x3a2c64(0x18b)]=[],this[_0x3a2c64(0x25f)]=new WeakSet(),this[_0x3a2c64(0x1b6)]=new Set(),this[_0x3a2c64(0x252)](_0x3a2c64(0x19a),!0x1),this[_0x3a2c64(0x252)](_0x3a2c64(0x1ec),!0x1),this[_0x3a2c64(0x274)]=null,this[_0x3a2c64(0x286)]=!0x1,this[_0x3a2c64(0x1e3)]=null,this[_0x3a2c64(0x1a4)]=0x12c,this[_0x3a2c64(0x215)]=this[_0x3a2c64(0x1a4)],this[_0x3a2c64(0x19f)]=null,this[_0x3a2c64(0x282)]=new WeakSet(),this[_0x3a2c64(0x1cb)]=new X(this[_0x3a2c64(0x282)]);}[_0x2ed147(0x212)](){const _0x5e4463=_0x2ed147,_0x2d8c6e=this[_0x5e4463(0x204)],_0x1818c8=_0x2d8c6e[_0x5e4463(0x226)][_0x5e4463(0x1cf)](_0x2be60c),_0x33d9eb=_0x2d8c6e[_0x5e4463(0x226)][_0x5e4463(0x1cf)](_0xebe0d8);this[_0x5e4463(0x194)](_0x1818c8,_0x5e4463(0x211),(_0x3d2c2f,_0x268339)=>{const _0x39a830=_0x5e4463,_0xd8341f=_0x268339[0x0];_0xd8341f[_0x39a830(0x225)]&&(_0x3d2c2f[_0x39a830(0x22b)]=_0x1818c8[_0x39a830(0x230)](_0xd8341f[_0x39a830(0x225)]),_0x3d2c2f[_0x39a830(0x28c)]()),null===_0xd8341f[_0x39a830(0x225)]&&(_0x3d2c2f[_0x39a830(0x22b)]=null,_0x3d2c2f[_0x39a830(0x28c)]());},{'priority':_0x5e4463(0x232)}),this[_0x5e4463(0x194)](_0x2d8c6e[_0x5e4463(0x1db)][_0x5e4463(0x1f5)][_0x5e4463(0x1ee)],_0x5e4463(0x205),(_0xc66fa1,_0xbbc90c)=>{const _0x1eda6d=_0x5e4463;_0xbbc90c[_0x1eda6d(0x1a0)]&&this[_0x1eda6d(0x254)]();}),this[_0x5e4463(0x194)](_0x2d8c6e[_0x5e4463(0x1b4)][_0x5e4463(0x227)],_0x5e4463(0x1b7),()=>{const _0x5ca5a8=_0x5e4463;this[_0x5ca5a8(0x254)]();}),this[_0x5e4463(0x20e)](),_0x2d8c6e[_0x5e4463(0x1db)]['on'](_0x5e4463(0x273),(_0x30156f,_0x4c2258)=>{const _0x33a60e=_0x5e4463,_0x168441=_0x4c2258[0x0];_0x168441[_0x33a60e(0x1e1)]&&(this[_0x33a60e(0x192)](_0x168441),this[_0x33a60e(0x217)]()&&this[_0x33a60e(0x1bf)]());}),this[_0x5e4463(0x240)](),this[_0x5e4463(0x1fb)](_0x5e4463(0x223))['to'](_0x33d9eb,_0x5e4463(0x1e6),this,_0x5e4463(0x1ec),(_0x76580d,_0x1ee333)=>_0x5e4463(0x1b0)===_0x76580d&&!_0x1ee333),this['on'](_0x5e4463(0x19e),()=>{const _0x5435d1=_0x5e4463;this[_0x5435d1(0x223)]?_0x2d8c6e[_0x5435d1(0x1d3)](_0x5435d1(0x24d)):_0x2d8c6e[_0x5435d1(0x1c6)](_0x5435d1(0x24d));}),this[_0x5e4463(0x223)]?_0x2d8c6e[_0x5e4463(0x1d3)](_0x5e4463(0x24d)):_0x2d8c6e[_0x5e4463(0x1c6)](_0x5e4463(0x24d)),this[_0x5e4463(0x252)](_0x5e4463(0x28d),!0x1);}async[_0x2ed147(0x23a)](){const _0xaf8a45=_0x2ed147,_0x20cdc5=this[_0xaf8a45(0x204)][_0xaf8a45(0x226)][_0xaf8a45(0x1cf)](_0x3cc8cf),_0x570ff0=this[_0xaf8a45(0x204)][_0xaf8a45(0x226)][_0xaf8a45(0x1cf)](_0xebe0d8);try{this[_0xaf8a45(0x19a)]=!0x0,_0x20cdc5[_0xaf8a45(0x200)](this[_0xaf8a45(0x18e)]);const _0x1ca698=await this[_0xaf8a45(0x18f)][_0xaf8a45(0x23a)](_0x570ff0[_0xaf8a45(0x228)],this[_0xaf8a45(0x26b)]);await this[_0xaf8a45(0x248)](_0x1ca698)&&(this[_0xaf8a45(0x19a)]=!0x1,this[_0xaf8a45(0x1f8)]());const _0x28696f=await this[_0xaf8a45(0x18f)][_0xaf8a45(0x26d)]();_0x20cdc5[_0xaf8a45(0x18d)](this[_0xaf8a45(0x18e)],_0x28696f),this[_0xaf8a45(0x262)](),this[_0xaf8a45(0x28d)]=!0x0;}catch(_0x1bb1cb){if(function(_0x257e05){const _0x42e812=_0xaf8a45;return _0x42e812(0x1df)===_0x257e05[_0x42e812(0x1c9)];}(_0x1bb1cb)&&this[_0xaf8a45(0x1e8)])await this[_0xaf8a45(0x1f3)]();else{if(function(_0xce47c5){const _0x371b13=_0xaf8a45;return _0x371b13(0x1d4)===_0xce47c5[_0x371b13(0x1c9)];}(_0x1bb1cb)){const _0x50744a=_0x541991(this[_0xaf8a45(0x204)][_0xaf8a45(0x190)],_0xaf8a45(0x1c7));this[_0xaf8a45(0x1af)](_0x50744a);}else{if(!(_0x1bb1cb instanceof J))throw _0x1bb1cb;this[_0xaf8a45(0x1af)]();}}}}[_0x2ed147(0x275)](){const _0x103820=_0x2ed147,_0x436147=this[_0x103820(0x204)][_0x103820(0x226)][_0x103820(0x1cf)](_0xebe0d8),_0x39e38b=this[_0x103820(0x204)][_0x103820(0x226)][_0x103820(0x1cf)](_0x3cc8cf);this[_0x103820(0x204)][_0x103820(0x1c6)](_0x103820(0x1ae)),_0x39e38b[_0x103820(0x264)][_0x103820(0x284)](this[_0x103820(0x18e)])&&_0x39e38b[_0x103820(0x200)](this[_0x103820(0x18e)]),_0x436147[_0x103820(0x24e)](this),this[_0x103820(0x18c)](),super[_0x103820(0x275)]();}async[_0x2ed147(0x248)](_0x5b9042){const _0x1354cf=_0x2ed147;if(this[_0x1354cf(0x1e8)]!==_0x5b9042[_0x1354cf(0x1e8)]&&this[_0x1354cf(0x19f)]!==_0x5b9042[_0x1354cf(0x19c)])throw new J();return this[_0x1354cf(0x1e8)]=_0x5b9042[_0x1354cf(0x1e8)],this[_0x1354cf(0x258)]([],{..._0x5b9042,'wereChangesApplied':!0x1,'data':_0x5b9042[_0x1354cf(0x1d0)]},_0x1354cf(0x23a));}async[_0x2ed147(0x1b9)](_0x406934,_0x3a5cad=!0x1){const _0x1d7e7a=_0x2ed147,{connection:_0x353f1c}=this[_0x1d7e7a(0x204)][_0x1d7e7a(0x226)][_0x1d7e7a(0x1cf)](_0xebe0d8);l[_0x1d7e7a(0x22d)][_0x1d7e7a(0x26d)](_0x353f1c,this[_0x1d7e7a(0x18e)])[_0x1d7e7a(0x283)](_0x2a0511=>this[_0x1d7e7a(0x198)](_0x2a0511))[_0x1d7e7a(0x260)](_0x2e2a9b=>{const _0x30eb3a=_0x1d7e7a;this[_0x30eb3a(0x210)](_0x30eb3a(0x196),_0x2e2a9b);}),this[_0x1d7e7a(0x194)](this[_0x1d7e7a(0x18f)],_0x1d7e7a(0x1f1),this[_0x1d7e7a(0x26e)][_0x1d7e7a(0x1fb)](this)),this[_0x1d7e7a(0x194)](this[_0x1d7e7a(0x18f)],_0x1d7e7a(0x1e4),(_0x2cb8b0,_0x2dad57)=>{const _0xebdd39=_0x1d7e7a;this[_0xebdd39(0x210)](_0xebdd39(0x213),_0x2dad57);}),this[_0x1d7e7a(0x194)](this[_0x1d7e7a(0x18f)],_0x1d7e7a(0x1ca),()=>{const _0x4eba71=_0x1d7e7a;this[_0x4eba71(0x28d)]=!0x1;});const _0x51dadc=this[_0x1d7e7a(0x1cb)][_0x1d7e7a(0x278)](_0x406934);this[_0x1d7e7a(0x19a)]=!0x0;const _0xab6146=await this[_0x1d7e7a(0x18f)][_0x1d7e7a(0x1d5)](_0x353f1c,this[_0x1d7e7a(0x27c)](_0x406934),_0x51dadc);if(this[_0x1d7e7a(0x1e8)]=_0xab6146[_0x1d7e7a(0x1e8)],_0x3a5cad){if(!_0xab6146[_0x1d7e7a(0x246)])return void this[_0x1d7e7a(0x1af)]();this[_0x1d7e7a(0x19a)]=!0x1,this[_0x1d7e7a(0x1f8)](),this[_0x1d7e7a(0x1b8)][_0x1d7e7a(0x263)](),this[_0x1d7e7a(0x1f6)]=_0xab6146[_0x1d7e7a(0x249)],this[_0x1d7e7a(0x1b8)][_0x1d7e7a(0x231)]=this[_0x1d7e7a(0x1f6)],await this[_0x1d7e7a(0x258)](_0x406934,_0xab6146,_0x1d7e7a(0x1ea));}else await this[_0x1d7e7a(0x1ab)](_0xab6146,_0x406934);this[_0x1d7e7a(0x262)](),this[_0x1d7e7a(0x28d)]=!0x0;}[_0x2ed147(0x262)](){const _0x167361=_0x2ed147,_0x574255=this[_0x167361(0x204)][_0x167361(0x226)][_0x167361(0x1cf)](_0x3cc8cf),_0x1f0cc2=this[_0x167361(0x204)][_0x167361(0x226)][_0x167361(0x1cf)](_0x33f82d),_0x4da757=_0x574255[_0x167361(0x264)][_0x167361(0x1cf)](this[_0x167361(0x18e)]);_0x4da757&&_0x4da757[_0x167361(0x1d7)]>0x1?_0x1f0cc2[_0x167361(0x1a3)]():this[_0x167361(0x194)](_0x574255,_0x167361(0x236)+this[_0x167361(0x18e)],()=>{const _0x1dc464=_0x167361;0x2===_0x574255[_0x1dc464(0x264)][_0x1dc464(0x1cf)](this[_0x1dc464(0x18e)])[_0x1dc464(0x1d7)]&&_0x1f0cc2[_0x1dc464(0x1a3)]();});}async[_0x2ed147(0x26e)](_0x92dfa6,_0x3fc5bd,_0x159b6a,_0x2fb6d4){const _0x238470=_0x2ed147;if(!this[_0x238470(0x19a)]&&this[_0x238470(0x216)][_0x238470(0x231)]==_0x3fc5bd){const _0x243a3c=this[_0x238470(0x20c)](_0x159b6a,_0x2fb6d4);await this[_0x238470(0x289)](_0x243a3c),this[_0x238470(0x1b3)](_0x243a3c,_0x3fc5bd,_0x159b6a[_0x238470(0x19c)])||this[_0x238470(0x210)](_0x238470(0x1fe));}}async[_0x2ed147(0x1f3)](){const _0x49c2fe=_0x2ed147;this[_0x49c2fe(0x18c)]();const {locale:_0x4ede45}=this[_0x49c2fe(0x204)];let _0x5573e4;try{_0x5573e4=await this[_0x49c2fe(0x18f)][_0x49c2fe(0x220)]();}catch(_0x2cadc2){const _0x213061=_0x541991(_0x4ede45,_0x49c2fe(0x1f2));return void this[_0x49c2fe(0x1af)](_0x213061);}const _0x4f3c1f=_0x5573e4[_0x49c2fe(0x1e2)]||_0x5573e4[_0x49c2fe(0x22f)];if(this[_0x49c2fe(0x19f)]===_0x4f3c1f[_0x49c2fe(0x19c)])await this[_0x49c2fe(0x1b9)](this[_0x49c2fe(0x204)][_0x49c2fe(0x1db)][_0x49c2fe(0x1f5)][_0x49c2fe(0x21f)][_0x49c2fe(0x1d9)](),!0x0);else{const _0x1d4f3f=_0x541991(_0x4ede45,_0x49c2fe(0x1c1));this[_0x49c2fe(0x1af)](_0x1d4f3f);}}[_0x2ed147(0x18c)](){const _0x5aab30=_0x2ed147;this[_0x5aab30(0x18f)][_0x5aab30(0x1bd)](),this[_0x5aab30(0x18b)]=[],clearTimeout(this[_0x5aab30(0x1e3)]),this[_0x5aab30(0x23e)](this[_0x5aab30(0x18f)]);}[_0x2ed147(0x198)](_0x5cf1a5){const _0xc95acd=_0x2ed147,_0x32c9d8=this[_0xc95acd(0x204)][_0xc95acd(0x226)][_0xc95acd(0x1cf)](_0x3cc8cf);this[_0xc95acd(0x194)](_0x32c9d8,_0xc95acd(0x236)+this[_0xc95acd(0x18e)],(_0xa4e652,{session:_0x5a2828})=>{const _0x644bb8=_0xc95acd;if(_0x5a2828['id']===_0x32c9d8[_0x644bb8(0x257)]){_0xa4e652[_0x644bb8(0x241)]();const _0x5ef805=this[_0x644bb8(0x204)][_0x644bb8(0x226)][_0x644bb8(0x284)](_0x644bb8(0x1d8))&&this[_0x644bb8(0x204)][_0x644bb8(0x226)][_0x644bb8(0x1cf)](_0x644bb8(0x1d8));let _0x74ec7e=_0x5a2828[_0x644bb8(0x245)];_0x5ef805&&_0x5ef805[_0x644bb8(0x1c4)]&&(_0x74ec7e=_0x74ec7e[_0x644bb8(0x1fd)](_0x118c86=>_0x644bb8(0x1ef)!==_0x118c86)),this[_0x644bb8(0x204)][_0x644bb8(0x226)][_0x644bb8(0x1cf)](_0x644bb8(0x1be))[_0x644bb8(0x23c)](_0x74ec7e,this[_0x644bb8(0x18e)]);}}),_0x32c9d8[_0xc95acd(0x18d)](this[_0xc95acd(0x18e)],_0x5cf1a5);}[_0x2ed147(0x20e)](){const _0x3487af=_0x2ed147,_0x1f8890=this[_0x3487af(0x204)][_0x3487af(0x1d0)][_0x3487af(0x252)];this[_0x3487af(0x204)][_0x3487af(0x1d0)][_0x3487af(0x252)]=(..._0x1694af)=>{const _0x2bb3b3=_0x3487af;if(!_0x1694af[_0x1694af[_0x2bb3b3(0x1d7)]-0x1][_0x2bb3b3(0x25d)])throw new _0x10e80b(_0x2bb3b3(0x1d2),this);_0x1f8890[_0x2bb3b3(0x1a6)](this[_0x2bb3b3(0x204)][_0x2bb3b3(0x1d0)],_0x1694af);};}[_0x2ed147(0x240)](){const _0x5bdbc8=_0x2ed147;this[_0x5bdbc8(0x204)][_0x5bdbc8(0x1d0)]['on'](_0x5bdbc8(0x212),(_0x59850b,[_0xa9bc5c])=>{const _0x13d423=_0x5bdbc8;if(this[_0x13d423(0x216)][_0x13d423(0x231)])throw new _0x10e80b(_0x13d423(0x271),this);_0x59850b[_0x13d423(0x28c)](),this[_0x13d423(0x1ad)]();const _0x226973=this[_0x13d423(0x204)][_0x13d423(0x1de)][_0x13d423(0x1cf)](_0x13d423(0x24f)),_0x445e96=this[_0x13d423(0x27f)](_0xa9bc5c,_0x226973);0x0==_0x445e96[_0x13d423(0x1d7)]&&_0x445e96[_0x13d423(0x1a1)](new _0x1a4f3e(0x0)),_0x59850b[_0x13d423(0x22b)]=this[_0x13d423(0x1b9)](_0x445e96)[_0x13d423(0x283)](()=>{const _0x10aecf=_0x13d423;this[_0x10aecf(0x204)][_0x10aecf(0x226)][_0x10aecf(0x1cf)](_0xebe0d8)[_0x10aecf(0x27b)](this),this[_0x10aecf(0x204)][_0x10aecf(0x1d0)][_0x10aecf(0x20d)](_0x10aecf(0x1ac));})[_0x13d423(0x260)](_0x952ef=>this[_0x13d423(0x210)](_0x13d423(0x21e),_0x952ef))[_0x13d423(0x18a)](()=>this[_0x13d423(0x1f8)]());},{'priority':_0x5bdbc8(0x232)}),this[_0x5bdbc8(0x204)]['on'](_0x5bdbc8(0x247),async(_0x43c1f6,[_0x1a908f,_0x281491])=>{const _0x18f636=_0x5bdbc8;_0x43c1f6[_0x18f636(0x28c)]();const _0x308034=this[_0x18f636(0x204)][_0x18f636(0x1db)][_0x18f636(0x1f5)][_0x18f636(0x1aa)](_0x1a908f);if(!this[_0x18f636(0x1b6)][_0x18f636(0x284)](_0x1a908f)){const _0x18567f=_0x281491&&_0x281491[_0x18f636(0x1d0)]?_0x281491[_0x18f636(0x1d0)]:'',_0xe93e5b=_0x281491&&_0x281491[_0x18f636(0x1c2)]?_0x281491[_0x18f636(0x1c2)]:{};await this[_0x18f636(0x266)](_0x1a908f,_0x18567f,_0xe93e5b);}this[_0x18f636(0x204)][_0x18f636(0x1db)][_0x18f636(0x268)]({'isUndoable':!0x1},()=>{const _0x3e1c85=_0x18f636;_0x308034[_0x3e1c85(0x1ff)]=!0x0,this[_0x3e1c85(0x204)][_0x3e1c85(0x1db)][_0x3e1c85(0x1f5)][_0x3e1c85(0x1fc)][_0x3e1c85(0x1ba)](_0x308034);});},{'priority':_0x5bdbc8(0x232)});}async[_0x2ed147(0x289)](_0x1ccd24){const _0x10ff91=_0x2ed147,_0x295f0d=this[_0x10ff91(0x204)][_0x10ff91(0x226)][_0x10ff91(0x1cf)](_0x2be60c),{connection:_0x4729f0}=this[_0x10ff91(0x204)][_0x10ff91(0x226)][_0x10ff91(0x1cf)](_0xebe0d8),_0x4d7b02=new Set();for(const _0x1e9ce3 of _0x1ccd24){const _0x98e30f=_0x1e9ce3[_0x10ff91(0x225)];_0x98e30f&&!_0x295f0d[_0x10ff91(0x230)](_0x98e30f)&&_0x4d7b02[_0x10ff91(0x23f)](_0x98e30f);}if(0x0===_0x4d7b02[_0x10ff91(0x189)])return;const _0x5e00a6=await _0x305b86[_0x10ff91(0x21d)](_0x4729f0,Array[_0x10ff91(0x259)](_0x4d7b02));for(const _0x18a1a7 of _0x5e00a6)_0x295f0d[_0x10ff91(0x230)](_0x18a1a7['id'])||_0x295f0d[_0x10ff91(0x201)](_0x18a1a7);}[_0x2ed147(0x27f)](_0x3864d4,_0x510896={}){const _0x54d952=_0x2ed147,_0x594efb=this[_0x54d952(0x204)][_0x54d952(0x1db)],_0xf9385f=[];let _0x293482=0x0;const _0x2b2c36=_0x54d952(0x21b)==typeof _0x3864d4?{'main':_0x3864d4}:_0x3864d4;for(const _0x59e2fa of Object[_0x54d952(0x1ce)](_0x2b2c36)){if(!this[_0x54d952(0x216)][_0x54d952(0x234)][_0x54d952(0x284)](_0x59e2fa))throw new _0x10e80b(_0x54d952(0x28a),this);const _0x4761d1=this[_0x54d952(0x204)][_0x54d952(0x1d0)][_0x54d952(0x1fa)](_0x2b2c36[_0x59e2fa]),_0x30e910=this[_0x54d952(0x216)][_0x54d952(0x1aa)](_0x59e2fa),_0x105562=new _0x52f24d(_0x594efb[_0x54d952(0x1bc)](_0x30e910,0x0),_0x4761d1,_0x293482++);_0xf9385f[_0x54d952(0x1a1)](_0x105562);for(const [_0x49132c,_0x144dbc]of _0x4761d1[_0x54d952(0x21a)]){const _0x11b1c3=_0x594efb[_0x54d952(0x22c)](_0x594efb[_0x54d952(0x26a)](_0x30e910,_0x144dbc[_0x54d952(0x1b5)][_0x54d952(0x276)][_0x54d952(0x1a9)]()),_0x594efb[_0x54d952(0x26a)](_0x30e910,_0x144dbc[_0x54d952(0x1f0)][_0x54d952(0x276)][_0x54d952(0x1a9)]())),_0x3afd42=new _0x91463b(_0x49132c,null,_0x11b1c3,_0x594efb[_0x54d952(0x21a)],!0x0,_0x293482++);_0xf9385f[_0x54d952(0x1a1)](_0x3afd42);}}if(_0x510896)for(const [_0x36be2a,_0x4e53d0]of Object[_0x54d952(0x193)](_0x510896)){const _0x314ef3=_0x594efb[_0x54d952(0x1f5)][_0x54d952(0x1aa)](_0x36be2a);if(!_0x314ef3)throw new _0x10e80b(_0x54d952(0x285),null);for(const [_0x33aa9e,_0x588d15]of Object[_0x54d952(0x193)](_0x4e53d0))if(null!==_0x588d15){const _0x3bdd79=new _0x31d108(_0x314ef3,_0x33aa9e,null,_0x588d15,_0x293482++);_0xf9385f[_0x54d952(0x1a1)](_0x3bdd79);}}return _0xf9385f;}async[_0x2ed147(0x266)](_0x5013cf,_0x3c65f4,_0x584faf){const _0x464903=_0x2ed147;this[_0x464903(0x27f)]({[_0x5013cf]:_0x3c65f4},{[_0x5013cf]:_0x584faf})[_0x464903(0x27e)]((_0x3f3909,_0x3eaeb2)=>{const _0x5e481e=_0x464903;_0x3f3909[_0x5e481e(0x269)]=this[_0x5e481e(0x216)][_0x5e481e(0x231)]+_0x3eaeb2,_0x3f3909[_0x5e481e(0x22e)]=!0x0,this[_0x5e481e(0x192)](_0x3f3909);}),this[_0x464903(0x1bf)](),await this[_0x464903(0x202)]();}async[_0x2ed147(0x1ab)](_0xd0d92a,_0x20c2a4){const _0x5a7c9f=_0x2ed147;let _0x14b0c1;this[_0x5a7c9f(0x1f6)]=_0xd0d92a[_0x5a7c9f(0x249)];const _0x5ac67a=_0xd0d92a[_0x5a7c9f(0x246)]&&!_0xd0d92a[_0x5a7c9f(0x1da)],_0x1b9f2b=_0x5ac67a?0x0:_0xd0d92a[_0x5a7c9f(0x1d0)][_0x5a7c9f(0x269)];if(_0x20c2a4[_0x5a7c9f(0x27e)](_0x276393=>{const _0x1f839d=_0x5a7c9f;_0x276393[_0x1f839d(0x22e)]=!0x0,_0x276393[_0x1f839d(0x251)]=_0xd0d92a[_0x1f839d(0x1bb)],_0x276393[_0x1f839d(0x225)]=null;}),_0x5ac67a)_0x14b0c1=_0x20c2a4,this[_0x5a7c9f(0x256)](_0x14b0c1,_0x5ac67a);else{if(_0xd0d92a[_0x5a7c9f(0x1da)]){const _0x1dd35a=this[_0x5a7c9f(0x27f)](_0xd0d92a[_0x5a7c9f(0x1da)]);this[_0x5a7c9f(0x216)][_0x5a7c9f(0x21f)][_0x5a7c9f(0x231)]=-_0x1dd35a[_0x5a7c9f(0x1d7)],_0x1dd35a[_0x5a7c9f(0x27e)](_0x164866=>{const _0xb8e30=_0x5a7c9f;_0x164866[_0xb8e30(0x269)]-=_0x1dd35a[_0xb8e30(0x1d7)],_0x164866[_0xb8e30(0x251)]=_0xd0d92a[_0xb8e30(0x1bb)],_0x164866[_0xb8e30(0x22e)]=!0x0,_0x164866[_0xb8e30(0x225)]=null;}),this[_0x5a7c9f(0x256)](_0x1dd35a,!0x0),this[_0x5a7c9f(0x1b8)][_0x5a7c9f(0x231)]=-_0x1dd35a[_0x5a7c9f(0x1d7)]+this[_0x5a7c9f(0x1f6)],this[_0x5a7c9f(0x218)](_0x1dd35a);}this[_0x5a7c9f(0x216)][_0x5a7c9f(0x21f)][_0x5a7c9f(0x231)]=_0x1b9f2b,_0x14b0c1=this[_0x5a7c9f(0x20c)](_0xd0d92a[_0x5a7c9f(0x1d0)],_0xd0d92a[_0x5a7c9f(0x203)]),await this[_0x5a7c9f(0x289)](_0x14b0c1),this[_0x5a7c9f(0x256)](_0x14b0c1,_0x5ac67a);}_0xd0d92a[_0x5a7c9f(0x19c)]&&(this[_0x5a7c9f(0x1cb)][_0x5a7c9f(0x199)](_0x14b0c1,_0xd0d92a[_0x5a7c9f(0x19c)]),this[_0x5a7c9f(0x19f)]=_0xd0d92a[_0x5a7c9f(0x19c)]),this[_0x5a7c9f(0x1b8)][_0x5a7c9f(0x231)]=_0x1b9f2b+this[_0x5a7c9f(0x1f6)],this[_0x5a7c9f(0x218)](_0x14b0c1),_0x20c2a4[_0x5a7c9f(0x1fd)](_0x4dce29=>{const _0x209c0a=_0x5a7c9f,_0xe00c2=this[_0x209c0a(0x19b)](_0x4dce29);return _0xe00c2&&!this[_0x209c0a(0x1b6)][_0x209c0a(0x284)](_0xe00c2);})[_0x5a7c9f(0x27e)]((_0x423af5,_0x51dff5)=>{const _0x5b6330=_0x5a7c9f;_0x423af5[_0x5b6330(0x269)]=this[_0x5b6330(0x216)][_0x5b6330(0x231)]+_0x51dff5,this[_0x5b6330(0x192)](_0x423af5);}),this[_0x5a7c9f(0x217)]()?(this[_0x5a7c9f(0x215)]=0x0,this[_0x5a7c9f(0x1bf)](!0x0),await this[_0x5a7c9f(0x202)]()):(this[_0x5a7c9f(0x19a)]=!0x1,this[_0x5a7c9f(0x1f8)]());}[_0x2ed147(0x210)](_0x259e4c,_0x2a3e1c){const _0x28fa38=_0x2ed147;throw this[_0x28fa38(0x19a)]=!0x0,_0x2a3e1c&&console[_0x28fa38(0x1e4)](_0x2a3e1c),new _0x10e80b(_0x259e4c,this[_0x28fa38(0x204)]);}[_0x2ed147(0x192)](_0x5c476d){const _0x1970a7=_0x2ed147;this[_0x1970a7(0x25f)][_0x1970a7(0x284)](_0x5c476d)||(this[_0x1970a7(0x25f)][_0x1970a7(0x23f)](_0x5c476d),this[_0x1970a7(0x18b)][_0x1970a7(0x1a1)](_0x5c476d),this[_0x1970a7(0x274)]||_0x1970a7(0x22a)==_0x5c476d[_0x1970a7(0x219)]&&!_0x5c476d[_0x1970a7(0x265)]||this[_0x1970a7(0x1ad)]());}[_0x2ed147(0x1bf)](_0x2b8393=!0x1){const _0x5fcf1d=_0x2ed147;!_0x2b8393&&this[_0x5fcf1d(0x19a)]||(this[_0x5fcf1d(0x19a)]=!0x0,clearTimeout(this[_0x5fcf1d(0x1e3)]),this[_0x5fcf1d(0x1e3)]=setTimeout(()=>{const _0x29a5ea=_0x5fcf1d;this[_0x29a5ea(0x25e)]()[_0x29a5ea(0x283)](_0x3baa72=>{const _0x3c9bf0=_0x29a5ea;_0x3baa72&&(this[_0x3c9bf0(0x1f8)](),this[_0x3c9bf0(0x19a)]=!0x1);})[_0x29a5ea(0x260)](_0x3833c0=>{const _0x1a9890=_0x29a5ea;if(this[_0x1a9890(0x1f8)](),this[_0x1a9890(0x19a)]=!0x1,!function(_0x34ae65){const _0x3011a9=_0x1a9890;return _0x34ae65[_0x3011a9(0x23b)][_0x3011a9(0x28b)](_0x3011a9(0x27a))||_0x34ae65[_0x3011a9(0x23b)][_0x3011a9(0x28b)](_0x3011a9(0x1e9))||_0x34ae65[_0x3011a9(0x23b)][_0x3011a9(0x28b)](_0x3011a9(0x261));}(_0x3833c0))throw _0x3833c0;});},this[_0x5fcf1d(0x215)]));}[_0x2ed147(0x202)](){return new Promise(_0x59c180=>{const _0x105c41=_0x1199;this['on'](_0x105c41(0x197),()=>{_0x59c180();});});}async[_0x2ed147(0x25e)](){const _0x490dea=_0x2ed147,_0x30fc71=this[_0x490dea(0x204)][_0x490dea(0x226)][_0x490dea(0x1cf)](_0x33f82d);if(this[_0x490dea(0x1d1)]()&&(_0x30fc71[_0x490dea(0x1a3)](),this[_0x490dea(0x286)]=!0x1),!this[_0x490dea(0x217)]())return!0x0;const _0x193701=[...this[_0x490dea(0x18b)]];for(const _0x5375f3 of _0x193701)_0x5375f3[_0x490dea(0x1b2)]=this[_0x490dea(0x216)][_0x490dea(0x21f)][_0x490dea(0x1c5)](_0x5375f3);const _0x147014=this[_0x490dea(0x1cb)][_0x490dea(0x278)](_0x193701),_0x332b53=K++,_0x501086=this[_0x490dea(0x27c)](_0x193701),_0xa15c2a=await this[_0x490dea(0x18f)][_0x490dea(0x281)](_0x501086,_0x501086[_0x490dea(0x269)],_0x147014);try{return await this[_0x490dea(0x258)](_0x193701,_0xa15c2a,_0x332b53);}catch(_0x4e5609){return this[_0x490dea(0x210)](_0x490dea(0x242),_0x4e5609);}}async[_0x2ed147(0x258)](_0x393d0e,_0x31072c,_0x4dc5e){const _0x31f613=_0x2ed147;if(_0x31f613(0x1e4)in _0x31072c)throw _0x31072c[_0x31f613(0x1e4)];let _0x4ae037=!0x1;if(_0x31072c[_0x31f613(0x246)]){_0x31072c[_0x31f613(0x19c)]&&(this[_0x31f613(0x19f)]=_0x31072c[_0x31f613(0x19c)]),this[_0x31f613(0x18b)]=this[_0x31f613(0x18b)][_0x31f613(0x1fd)](_0x44aa6b=>!_0x393d0e[_0x31f613(0x272)](_0x44aa6b));for(const _0x4123bd of _0x393d0e)_0x4123bd[_0x31f613(0x251)]=_0x31f613(0x253)in _0x31072c&&_0x31072c[_0x31f613(0x253)]||void 0x0;Q(_0x393d0e,_0x31072c[_0x31f613(0x231)]-_0x393d0e[_0x31f613(0x1d7)]),this[_0x31f613(0x218)](_0x393d0e);const _0x3164c8=_0x393d0e[_0x31f613(0x1fd)](_0xa6643b=>{const _0x430e0c=_0x31f613;if(!_0xa6643b[_0x430e0c(0x22e)])return!0x1;const _0x42e170=this[_0x430e0c(0x19b)](_0xa6643b);return _0x42e170&&!this[_0x430e0c(0x1b6)][_0x430e0c(0x284)](_0x42e170);});Q(_0x3164c8,this[_0x31f613(0x216)][_0x31f613(0x231)]),this[_0x31f613(0x256)](_0x3164c8),_0x4ae037=!0x0,this[_0x31f613(0x215)]=this[_0x31f613(0x1a4)];}else{const _0x80a4da=this[_0x31f613(0x20c)](_0x31072c[_0x31f613(0x1d0)],_0x31072c[_0x31f613(0x203)])[_0x31f613(0x1fd)](_0x391d4c=>_0x391d4c[_0x31f613(0x269)]>=this[_0x31f613(0x1e5)]);_0x80a4da[_0x31f613(0x27e)](_0x5db633=>this[_0x31f613(0x27d)](_0x5db633)),this[_0x31f613(0x18b)]=this[_0x31f613(0x18b)][_0x31f613(0x1fd)](_0xd11a42=>!_0xd11a42[_0x31f613(0x22e)]||!this[_0x31f613(0x1b6)][_0x31f613(0x284)](this[_0x31f613(0x19b)](_0xd11a42))),this[_0x31f613(0x18b)][_0x31f613(0x1d7)]&&Q(this[_0x31f613(0x18b)],this[_0x31f613(0x18b)][0x0][_0x31f613(0x269)]),await this[_0x31f613(0x289)](_0x80a4da),_0x4ae037=this[_0x31f613(0x1b3)](_0x80a4da,_0x31072c[_0x31f613(0x231)],_0x31072c[_0x31f613(0x19c)]),this[_0x31f613(0x215)]=Math[_0x31f613(0x1b1)](this[_0x31f613(0x215)]/0x2);}return _0x4ae037?!this[_0x31f613(0x217)]()||(this[_0x31f613(0x1bf)](!0x0),!0x1):this[_0x31f613(0x210)](_0x31f613(0x277));}[_0x2ed147(0x1b3)](_0x53e6ac,_0x458321,_0x5095b){const _0x4ede95=_0x2ed147;try{const _0x36079a={'document':this[_0x4ede95(0x216)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xdd24d0,operationsB:_0x57a280,originalOperations:_0x379683}=_0x4c8bb6(_0x53e6ac,this[_0x4ede95(0x18b)],_0x36079a);Q(_0xdd24d0,this[_0x4ede95(0x216)][_0x4ede95(0x231)]),Q(_0x57a280,_0x458321);for(const _0x2de48c of _0xdd24d0){const _0x4a7043=_0x379683[_0x4ede95(0x1cf)](_0x2de48c);_0x2de48c[_0x4ede95(0x225)]=_0x4a7043?_0x4a7043[_0x4ede95(0x225)]:null;}_0x5095b&&(this[_0x4ede95(0x1cb)][_0x4ede95(0x199)](_0x53e6ac,_0x5095b),this[_0x4ede95(0x19f)]=_0x5095b),this[_0x4ede95(0x18b)]=[..._0x57a280],this[_0x4ede95(0x256)](_0xdd24d0),this[_0x4ede95(0x218)](_0x53e6ac);}catch(_0x240af1){return console[_0x4ede95(0x1e4)](_0x240af1),!0x1;}return!0x0;}[_0x2ed147(0x256)](_0x3527f7,_0x44c3be=!0x1){const _0x1fa33a=_0x2ed147;this[_0x1fa33a(0x204)][_0x1fa33a(0x1db)][_0x1fa33a(0x268)]({'isUndoable':!0x1,'isLocal':!0x1},_0x857f89=>{const _0x5a199d=_0x1fa33a;for(const _0x3b43bc of _0x3527f7)this[_0x5a199d(0x25f)][_0x5a199d(0x23f)](_0x3b43bc),this[_0x5a199d(0x27d)](_0x3b43bc),_0x857f89[_0x5a199d(0x1eb)][_0x5a199d(0x1dc)](_0x3b43bc),this[_0x5a199d(0x204)][_0x5a199d(0x1db)][_0x5a199d(0x273)](_0x3b43bc);});}[_0x2ed147(0x27d)](_0x39e521){const _0x398ce0=_0x2ed147,_0x4f32ca=this[_0x398ce0(0x19b)](_0x39e521);_0x4f32ca&&this[_0x398ce0(0x1b6)][_0x398ce0(0x23f)](_0x4f32ca);}[_0x2ed147(0x19b)](_0x310c7f){const _0x406ab4=_0x2ed147;let _0x98d48b,_0x27cf6f;switch(_0x310c7f[_0x406ab4(0x219)]){case _0x406ab4(0x1a8):_0x98d48b=_0x310c7f[_0x406ab4(0x1f9)][_0x406ab4(0x207)];break;case _0x406ab4(0x22a):if(_0x27cf6f=_0x310c7f[_0x406ab4(0x1e0)],!_0x27cf6f)return null;_0x98d48b=_0x27cf6f[_0x406ab4(0x207)];break;case _0x406ab4(0x243):_0x98d48b=_0x310c7f[_0x406ab4(0x207)];break;case _0x406ab4(0x1ed):_0x98d48b=_0x310c7f[_0x406ab4(0x229)];break;case _0x406ab4(0x20b):_0x98d48b=_0x310c7f[_0x406ab4(0x24c)][_0x406ab4(0x207)];break;default:return null;}return _0x98d48b[_0x406ab4(0x239)];}[_0x2ed147(0x218)](_0x397aff){const _0xdcba5f=_0x2ed147;_0x397aff[_0xdcba5f(0x27e)](_0x2e3a96=>{const _0xb1e3a0=_0xdcba5f,_0x8603ad=_0x2e3a96[_0xb1e3a0(0x25b)]();_0x8603ad[_0xb1e3a0(0x225)]=_0x2e3a96[_0xb1e3a0(0x225)],_0x8603ad[_0xb1e3a0(0x22e)]=!!_0x2e3a96[_0xb1e3a0(0x22e)],_0x8603ad[_0xb1e3a0(0x251)]=_0x2e3a96[_0xb1e3a0(0x251)],_0x8603ad[_0xb1e3a0(0x269)]+=this[_0xb1e3a0(0x1f6)],_0x2e3a96[_0xb1e3a0(0x222)]&&this[_0xb1e3a0(0x282)][_0xb1e3a0(0x23f)](_0x8603ad),this[_0xb1e3a0(0x1b8)][_0xb1e3a0(0x1dc)](_0x8603ad);});}[_0x2ed147(0x1af)](_0xf19be3){const _0x2da56c=_0x2ed147,_0x4880cc=this[_0x2da56c(0x204)][_0x2da56c(0x226)][_0x2da56c(0x1cf)](_0x2da56c(0x26f)),_0x2f9848=this[_0x2da56c(0x204)][_0x2da56c(0x190)];_0xf19be3||(_0xf19be3=_0x541991(_0x2f9848,_0x2da56c(0x1cd))),_0x4880cc[_0x2da56c(0x1f4)](_0xf19be3,{'title':_0x541991(_0x2f9848,_0x2da56c(0x19d)),'namespace':_0x2da56c(0x20a)}),this[_0x2da56c(0x1ec)]=!0x0,clearTimeout(this[_0x2da56c(0x1e3)]),this[_0x2da56c(0x18b)]=[],this[_0x2da56c(0x204)][_0x2da56c(0x226)][_0x2da56c(0x1cf)](_0xebe0d8)[_0x2da56c(0x275)]();}[_0x2ed147(0x1ad)](){const _0x5d7ca8=_0x2ed147;this[_0x5d7ca8(0x274)]||(this[_0x5d7ca8(0x274)]=this[_0x5d7ca8(0x204)][_0x5d7ca8(0x226)][_0x5d7ca8(0x1cf)](_0x2c65d5)[_0x5d7ca8(0x23f)](_0x541991(this[_0x5d7ca8(0x204)][_0x5d7ca8(0x190)],_0x5d7ca8(0x1f7))));}[_0x2ed147(0x1f8)](){const _0x488e2c=_0x2ed147;this[_0x488e2c(0x274)]&&(this[_0x488e2c(0x204)][_0x488e2c(0x226)][_0x488e2c(0x1cf)](_0x2c65d5)[_0x488e2c(0x1d6)](this[_0x488e2c(0x274)]),this[_0x488e2c(0x274)]=null);}[_0x2ed147(0x27c)](_0x3e8c2f){const _0x5c3a1e=_0x2ed147,_0x1f087c=_0x3e8c2f[_0x5c3a1e(0x1c0)](_0x28eee9=>_0x28eee9[_0x5c3a1e(0x24b)]());return this[_0x5c3a1e(0x1c8)][_0x5c3a1e(0x1dd)](_0x1f087c);}[_0x2ed147(0x20c)](_0x2460a1,_0x168ac0){const _0x1dfa55=_0x2ed147;return this[_0x1dfa55(0x1c8)][_0x1dfa55(0x279)](_0x2460a1)[_0x1dfa55(0x1c0)]((_0x6743b0,_0xbc877a)=>{const _0x552b27=_0x1dfa55,_0x2a9ace=_0x552b27(0x212)==_0x168ac0[_0xbc877a][_0x552b27(0x219)];if(_0x552b27(0x1cc)==_0x6743b0[_0x552b27(0x270)]){const _0x5af8d9=_0x6743b0[_0x552b27(0x1f9)][_0x552b27(0x207)];!this[_0x552b27(0x216)][_0x552b27(0x1aa)](_0x5af8d9)&&(this[_0x552b27(0x216)][_0x552b27(0x1a7)](_0x552b27(0x267),_0x5af8d9)[_0x552b27(0x208)]=!0x1);}const _0x28701f=_0x3583d5[_0x552b27(0x280)](_0x6743b0,this[_0x552b27(0x216)]);return _0x28701f[_0x552b27(0x1b2)]=_0x6743b0[_0x552b27(0x1b2)],_0x28701f[_0x552b27(0x22e)]=_0x2a9ace,_0x28701f[_0x552b27(0x225)]=_0x2a9ace?null:_0x168ac0[_0xbc877a][_0x552b27(0x25c)],_0x28701f[_0x552b27(0x222)]=_0x552b27(0x25a)===_0x168ac0[_0xbc877a][_0x552b27(0x219)],_0x28701f[_0x552b27(0x251)]=_0x168ac0[_0xbc877a][_0x552b27(0x251)],_0x28701f;});}[_0x2ed147(0x254)](){const _0x3903b5=_0x2ed147;this[_0x3903b5(0x286)]=!0x0,this[_0x3903b5(0x1d1)]()?this[_0x3903b5(0x1bf)]():this[_0x3903b5(0x286)]=!0x1;}[_0x2ed147(0x1d1)](){const _0x5071a6=_0x2ed147,_0x279e13=this[_0x5071a6(0x204)][_0x5071a6(0x226)][_0x5071a6(0x1cf)](_0x3cc8cf)[_0x5071a6(0x264)][_0x5071a6(0x1cf)](this[_0x5071a6(0x18e)]);return!this[_0x5071a6(0x204)][_0x5071a6(0x224)]&&!!_0x279e13&&_0x279e13[_0x5071a6(0x1d7)]>0x1&&this[_0x5071a6(0x286)];}[_0x2ed147(0x217)](){const _0x10e97e=_0x2ed147;return this[_0x10e97e(0x18b)][_0x10e97e(0x1d7)]>0x0||this[_0x10e97e(0x1d1)]();}}l[_0x2ed147(0x22d)]=_0x592a31;export default l;class J extends Error{}function Q(_0x5a0fa5,_0x450208){const _0x4d1a2f=_0x2ed147;for(const _0x3ebcdf of _0x5a0fa5)_0x3ebcdf[_0x4d1a2f(0x269)]=_0x450208++;}class X{constructor(_0x65c08c){const _0x2b32be=_0x2ed147;this[_0x2b32be(0x1c3)]=_0x65c08c,this[_0x2b32be(0x191)]=new WeakMap();}[_0x2ed147(0x278)](_0x3d3c33){const _0x4e03ce=_0x2ed147;let _0x52ead2=_0x3d3c33[_0x4e03ce(0x1d7)];for(;_0x52ead2--;){const _0x1b3433=_0x3d3c33[_0x52ead2];if(!this[_0x4e03ce(0x1c3)][_0x4e03ce(0x284)](_0x1b3433)){if(!this[_0x4e03ce(0x191)][_0x4e03ce(0x284)](_0x1b3433)){const _0x351971=_0x4a95df()[_0x4e03ce(0x1a9)](0x1,0x12);this[_0x4e03ce(0x191)][_0x4e03ce(0x252)](_0x1b3433,_0x351971);}return this[_0x4e03ce(0x191)][_0x4e03ce(0x1cf)](_0x1b3433);}}}[_0x2ed147(0x199)](_0x4981bf,_0x47087d){const _0xf29cf5=_0x2ed147;if(!_0x47087d)return;let _0x37afa6=_0x4981bf[_0xf29cf5(0x1d7)];for(;_0x37afa6--;){const _0x516534=_0x4981bf[_0x37afa6];this[_0xf29cf5(0x1c3)][_0xf29cf5(0x284)](_0x516534)||this[_0xf29cf5(0x191)][_0xf29cf5(0x252)](_0x516534,_0x47087d);}}}
|
|
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);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x163542=_0x3dd3;function _0x3dd3(_0x186923,_0x20e01c){const _0x16e1d2=_0x16e1();return _0x3dd3=function(_0x3dd3c9,_0x5db136){_0x3dd3c9=_0x3dd3c9-0x10d;let _0x20fe20=_0x16e1d2[_0x3dd3c9];return _0x20fe20;},_0x3dd3(_0x186923,_0x20e01c);}(function(_0x4d6931,_0x15c70a){const _0x674c5d=_0x3dd3,_0x20ded3=_0x4d6931();while(!![]){try{const _0x2441d5=parseInt(_0x674c5d(0x135))/0x1*(-parseInt(_0x674c5d(0x141))/0x2)+-parseInt(_0x674c5d(0x120))/0x3+parseInt(_0x674c5d(0x11a))/0x4*(-parseInt(_0x674c5d(0x114))/0x5)+parseInt(_0x674c5d(0x121))/0x6*(-parseInt(_0x674c5d(0x111))/0x7)+-parseInt(_0x674c5d(0x115))/0x8+parseInt(_0x674c5d(0x130))/0x9*(parseInt(_0x674c5d(0x12c))/0xa)+-parseInt(_0x674c5d(0x14a))/0xb*(-parseInt(_0x674c5d(0x12a))/0xc);if(_0x2441d5===_0x15c70a)break;else _0x20ded3['push'](_0x20ded3['shift']());}catch(_0x4e4c4e){_0x20ded3['push'](_0x20ded3['shift']());}}}(_0x16e1,0xaf505));import{ContextPlugin as _0x1f0379}from'ckeditor5/src/core.js';import{Collection as _0x5574dc,CKEditorError as _0x4c1ba4}from'ckeditor5/src/utils.js';import _0x51853d from'./websocketgateway.js';function _0x16e1(){const _0x3fb850=['orderNumber','allConnectedUsers','channelSessions','remove','stopListening','getUserSessions','unregister','getUserRole','size','requires','connected','611434LNlfFP','forEach','connection','has','getUser','defineMe','listenTo','mySessionId','addUser','26389flPYkR','add','values','sessionId','plugins','623yOhSxU','state','sessionAdd:','14855oMjonc','10095168OIhSpy','user','register','Sessions','sessions-unregister-not-exist','160kMkhcF','get','_handleSessionAdd','_createUser','role','assign','693270QEDAOe','1662VGyXGx','clear','_registeredSessions','getUserBySessionId','_uniqueUsersCount','isMe','init','set','_handleSessionRemove','14736RzmQnV','_users','380afcPUx','context','channelConnectedUsers','pluginName','4743FiemYS','delete','sessions-register-already-registered','fire','change:state','2lizQRq'];_0x16e1=function(){return _0x3fb850;};return _0x16e1();}import{Users as _0x36fa7f}from'ckeditor5-collaboration/src/collaboration-core.js';export default class r extends _0x1f0379{static get[_0x163542(0x12f)](){const _0x5468a1=_0x163542;return _0x5468a1(0x118);}static get[_0x163542(0x13f)](){return[_0x51853d,_0x36fa7f];}constructor(_0x1a9acf){const _0x53200f=_0x163542;super(_0x1a9acf),this[_0x53200f(0x138)]=new Map(),this[_0x53200f(0x12e)]=new Map(),this[_0x53200f(0x137)]=new _0x5574dc(),this[_0x53200f(0x123)]=new Map(),this[_0x53200f(0x125)]=0x0,this[_0x53200f(0x12b)]=this[_0x53200f(0x12d)][_0x53200f(0x110)][_0x53200f(0x11b)](_0x36fa7f);}[_0x163542(0x127)](){const _0x29a9fa=_0x163542,_0x642a46=this[_0x29a9fa(0x12d)][_0x29a9fa(0x110)][_0x29a9fa(0x11b)](_0x51853d);this[_0x29a9fa(0x147)](_0x642a46,_0x29a9fa(0x134),(_0x45dfcb,_0x14bee6,_0x1c1a48)=>{const _0x4ef10c=_0x29a9fa;if(_0x4ef10c(0x140)!==_0x1c1a48)this[_0x4ef10c(0x138)][_0x4ef10c(0x142)](_0x5c4716=>_0x5c4716[_0x4ef10c(0x122)]()),this[_0x4ef10c(0x12e)][_0x4ef10c(0x142)](_0x2d2178=>_0x2d2178[_0x4ef10c(0x122)]()),this[_0x4ef10c(0x137)][_0x4ef10c(0x122)]();else{for(const [_0xf4b338,_0x2954c2]of this[_0x4ef10c(0x123)])for(const _0x22870e of _0x2954c2)this[_0x4ef10c(0x11c)](_0xf4b338,_0x22870e);}}),this[_0x29a9fa(0x11d)](_0x642a46[_0x29a9fa(0x143)]['me'],!0x0);}[_0x163542(0x117)](_0x16d8cc,_0x5cd84c){const _0x537e02=_0x163542;if(this[_0x537e02(0x123)][_0x537e02(0x144)](_0x16d8cc))throw new _0x4c1ba4(_0x537e02(0x132),null,{'channelId':_0x16d8cc});this[_0x537e02(0x123)][_0x537e02(0x128)](_0x16d8cc,_0x5cd84c),this[_0x537e02(0x138)][_0x537e02(0x128)](_0x16d8cc,new _0x5574dc()),this[_0x537e02(0x12e)][_0x537e02(0x128)](_0x16d8cc,new _0x5574dc()),this[_0x537e02(0x147)](_0x5cd84c,_0x537e02(0x10d),(_0x1e9a8e,_0x5291b2)=>this[_0x537e02(0x11c)](_0x16d8cc,_0x5291b2)),this[_0x537e02(0x147)](_0x5cd84c,_0x537e02(0x139),(_0x535ed4,_0x58598b)=>this[_0x537e02(0x129)](_0x16d8cc,_0x58598b));for(const _0x41363a of _0x5cd84c)this[_0x537e02(0x11c)](_0x16d8cc,_0x41363a);}[_0x163542(0x13c)](_0x52d7ab){const _0x2ef27d=_0x163542;if(!this[_0x2ef27d(0x123)][_0x2ef27d(0x144)](_0x52d7ab))throw new _0x4c1ba4(_0x2ef27d(0x119),null,{'channelId':_0x52d7ab});const _0x142f48=this[_0x2ef27d(0x123)][_0x2ef27d(0x11b)](_0x52d7ab);this[_0x2ef27d(0x13a)](_0x142f48);for(const _0x17b8e3 of _0x142f48)_0x2ef27d(0x140)===this[_0x2ef27d(0x12d)][_0x2ef27d(0x110)][_0x2ef27d(0x11b)](_0x51853d)[_0x2ef27d(0x112)]&&this[_0x2ef27d(0x129)](_0x52d7ab,_0x17b8e3);this[_0x2ef27d(0x123)][_0x2ef27d(0x131)](_0x52d7ab),this[_0x2ef27d(0x138)][_0x2ef27d(0x131)](_0x52d7ab),this[_0x2ef27d(0x12e)][_0x2ef27d(0x131)](_0x52d7ab);}get[_0x163542(0x148)](){const _0x28c2be=_0x163542;return this[_0x28c2be(0x12d)][_0x28c2be(0x110)][_0x28c2be(0x11b)](_0x51853d)[_0x28c2be(0x143)][_0x28c2be(0x10f)];}[_0x163542(0x124)](_0xb9a55){const _0x1f1a17=_0x163542;for(const _0x8f8658 of this[_0x1f1a17(0x138)][_0x1f1a17(0x10e)]())for(const _0x5e3fee of _0x8f8658)if(_0x5e3fee['id']===_0xb9a55)return _0x5e3fee[_0x1f1a17(0x116)];}[_0x163542(0x13b)](_0x40439a,_0x665954){const _0x32b049=_0x163542,_0x43ccc7=_0x665954?[this[_0x32b049(0x138)][_0x32b049(0x11b)](_0x665954)]:this[_0x32b049(0x138)][_0x32b049(0x10e)](),_0x47297d=new Set();for(const _0x4703cf of _0x43ccc7)for(const _0x205ff5 of _0x4703cf)_0x205ff5[_0x32b049(0x116)]['id']===_0x40439a['id']&&_0x47297d[_0x32b049(0x10d)](_0x205ff5['id']);return _0x47297d;}[_0x163542(0x13d)](_0x5ba650){const _0xf7aff8=_0x163542;for(const _0x477c62 of this[_0xf7aff8(0x138)][_0xf7aff8(0x10e)]())for(const _0x5844a3 of _0x477c62)if(_0x5844a3[_0xf7aff8(0x116)]===_0x5ba650)return _0x5844a3[_0xf7aff8(0x11e)];}[_0x163542(0x11c)](_0x17ce67,_0x35abf3){const _0x292329=_0x163542;if(_0x292329(0x140)!==this[_0x292329(0x12d)][_0x292329(0x110)][_0x292329(0x11b)](_0x51853d)[_0x292329(0x112)])return;const _0x2d34c7=_0x35abf3[_0x292329(0x116)],_0x37bd03=this[_0x292329(0x12b)][_0x292329(0x145)](_0x2d34c7['id'])||this[_0x292329(0x11d)](_0x2d34c7),_0x297d4f=Object[_0x292329(0x11f)]({},_0x35abf3,{'user':_0x37bd03});this[_0x292329(0x138)][_0x292329(0x11b)](_0x17ce67)[_0x292329(0x10d)](_0x297d4f);const _0x46e10b=this[_0x292329(0x12e)][_0x292329(0x11b)](_0x17ce67);_0x46e10b[_0x292329(0x144)](_0x37bd03['id'])||_0x46e10b[_0x292329(0x10d)](_0x37bd03),this[_0x292329(0x137)][_0x292329(0x144)](_0x37bd03['id'])||this[_0x292329(0x137)][_0x292329(0x10d)](_0x37bd03,_0x37bd03[_0x292329(0x126)]?0x0:void 0x0),this[_0x292329(0x133)](_0x292329(0x113)+_0x17ce67,{'channelId':_0x17ce67,'session':_0x297d4f});}[_0x163542(0x129)](_0x3f5b69,_0x27ea85){const _0x57fe32=_0x163542;if(_0x57fe32(0x140)!==this[_0x57fe32(0x12d)][_0x57fe32(0x110)][_0x57fe32(0x11b)](_0x51853d)[_0x57fe32(0x112)])return;const _0x1ebc73=this[_0x57fe32(0x12e)][_0x57fe32(0x11b)](_0x3f5b69),_0x164131=_0x27ea85[_0x57fe32(0x116)];_0x164131['id']&&(this[_0x57fe32(0x138)][_0x57fe32(0x11b)](_0x3f5b69)[_0x57fe32(0x139)](_0x27ea85['id']),_0x1ebc73[_0x57fe32(0x144)](_0x164131['id'])&&!this[_0x57fe32(0x13b)](_0x164131,_0x3f5b69)[_0x57fe32(0x13e)]&&_0x1ebc73[_0x57fe32(0x139)](_0x164131['id']),this[_0x57fe32(0x137)][_0x57fe32(0x11b)](_0x164131['id'])&&!this[_0x57fe32(0x13b)](_0x164131)[_0x57fe32(0x13e)]&&this[_0x57fe32(0x137)][_0x57fe32(0x139)](_0x164131['id']));}[_0x163542(0x11d)](_0x5d3611,_0xb151ed){const _0x490804=_0x163542,_0x3f0214=this[_0x490804(0x12b)][_0x490804(0x149)](_0x5d3611);return _0xb151ed&&this[_0x490804(0x12b)][_0x490804(0x146)](_0x5d3611['id']),_0x3f0214[_0x490804(0x136)]=this[_0x490804(0x125)]++,_0x3f0214;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x9a780b=_0x1d85;(function(_0x105c01,_0x38ef00){const _0x30ca73=_0x1d85,_0x531795=_0x105c01();while(!![]){try{const _0x563af9=parseInt(_0x30ca73(0x1c5))/0x1+parseInt(_0x30ca73(0x1bb))/0x2*(-parseInt(_0x30ca73(0x203))/0x3)+parseInt(_0x30ca73(0x215))/0x4*(-parseInt(_0x30ca73(0x1d5))/0x5)+-parseInt(_0x30ca73(0x1cc))/0x6*(-parseInt(_0x30ca73(0x1c8))/0x7)+parseInt(_0x30ca73(0x1a8))/0x8+parseInt(_0x30ca73(0x21a))/0x9*(-parseInt(_0x30ca73(0x1bc))/0xa)+parseInt(_0x30ca73(0x198))/0xb;if(_0x563af9===_0x38ef00)break;else _0x531795['push'](_0x531795['shift']());}catch(_0x1867e4){_0x531795['push'](_0x531795['shift']());}}}(_0x52f5,0x1c98b));import{Plugin as _0xa33135}from'ckeditor5/src/core.js';function _0x52f5(){const _0x59f645=['init','document','view','data-session-id','highest','parent','enqueueChange','mouseleave','UserMarkers','user:range','add','split','getAttribute','237198cHqvzA','getContainedElement','set','getSelectionClass','end','updateMarker','applyOperation','requires','addEventListener','classList','reconvertMarker','selection','markerToElement','innerHTML','mouseenter','checkChild','fromRange','isLimit','4pYsTwU','toRange','markers','has','afterInit','477JWoequ','2045461NzXFvp','rootName','listenTo','span','toDomElement','deletionPosition','clear','editingDowncast','getRange','remove','createUIElement','undo','schema','detach','ck-user__selection','change','339432KheJci','pluginName','commands','render','_createdBatches','delete','markerName','root','getUserBySessionId','getPositions','removeClass','plugins','stopListening','getCustomProperty','for','hasDomSelection','<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>','isCollapsed','nodeAfter','2LTEBXQ','42610PLUihc','startsWith','ck-user__marker_hovered','getFirstRange','createRange','getNearestSelectionRange','user:position:','editing','markerToHighlight','123872RjhCGc','tableCell','batch','35BVqGcZ','mySessionId','markerNameToElements','model','223134lxCsKS','isInline','contenteditable','_domEmitter','hasContent','isObject','destroy','Escape','element','580835LioVMn','createUserMarkerOperations','user:','$graveyard','user:range:','userPositionMarker','color','</span>','get','marker','ck-user__marker\x20','mapper','editor','change:range','$text','conversion','getMarkerClass','orderNumber','type','start','size','removeMarker','keydown','newRange','markerRange','name','oldRange','isSimilar','getStart','update:user:range','user:position','addMarker','setCustomProperty'];_0x52f5=function(){return _0x59f645;};return _0x52f5();}function _0x1d85(_0x1c3b30,_0xfb49f8){const _0x52f576=_0x52f5();return _0x1d85=function(_0x1d85dc,_0x53d413){_0x1d85dc=_0x1d85dc-0x198;let _0x16e2d6=_0x52f576[_0x1d85dc];return _0x16e2d6;},_0x1d85(_0x1c3b30,_0xfb49f8);}import{global as _0x5cdf5b,DomEmitterMixin as _0x445b81}from'ckeditor5/src/utils.js';import _0x1eb670 from'./sessions.js';import{LiveRange as _0x447c7a}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0xa33135{constructor(){const _0x1a7954=_0x1d85;super(...arguments),this[_0x1a7954(0x1cf)]=new(_0x445b81())();}static get[_0x9a780b(0x20a)](){return[_0x1eb670];}static get[_0x9a780b(0x1a9)](){const _0x2ce895=_0x9a780b;return _0x2ce895(0x1fe);}[_0x9a780b(0x1f6)](){const _0x1f7140=_0x9a780b,_0x39f32f=this[_0x1f7140(0x1e1)],_0x31bcca=_0x39f32f[_0x1f7140(0x1b3)][_0x1f7140(0x1dd)](_0x1eb670);_0x39f32f[_0x1f7140(0x1e4)][_0x1f7140(0x1b6)](_0x1f7140(0x19f))[_0x1f7140(0x20f)]({'model':_0x1f7140(0x1f3),'view':(_0x121bc5,{writer:_0x439fc8})=>function(_0x498be0,_0xd3b928,_0x3f29f9,_0x26813a){const _0xdc4389=_0x1f7140,_0x1d26e7=_0x498be0[_0xdc4389(0x1ae)][_0xdc4389(0x201)](':')[0x2],_0xf6a5e4=_0x3f29f9[_0xdc4389(0x1b0)](_0x1d26e7);if(!_0xf6a5e4||_0x1d26e7===_0x3f29f9[_0xdc4389(0x1c9)])return;if(!_0x26813a[_0xdc4389(0x1cb)][_0xdc4389(0x1a4)][_0xdc4389(0x212)](_0x498be0[_0xdc4389(0x1ed)][_0xdc4389(0x1e8)],_0xdc4389(0x1e3)))return;const _0x27cb01={'class':_0xdc4389(0x1df)+_0xf6a5e4[_0xdc4389(0x1db)][_0xdc4389(0x1e5)](),'data-name':_0xf6a5e4[_0xdc4389(0x1ee)],'data-session-id':_0x1d26e7},_0x8c8558=_0x26813a[_0xdc4389(0x1cb)][_0xdc4389(0x217)][_0xdc4389(0x1dd)](_0x498be0[_0xdc4389(0x1ae)]),_0xb1e082=_0x8c8558[_0xdc4389(0x1f1)](),_0x382c67=_0xb1e082[_0xdc4389(0x1ba)],_0x21418e=_0x26813a[_0xdc4389(0x1cb)][_0xdc4389(0x1a4)];if(_0x382c67&&_0x21418e[_0xdc4389(0x1d1)](_0x382c67)&&_0x21418e[_0xdc4389(0x1cd)](_0x382c67)&&!_0x26813a[_0xdc4389(0x1cb)][_0xdc4389(0x217)][_0xdc4389(0x1dd)](_0xdc4389(0x1d9)+_0x1d26e7)[_0xdc4389(0x1a0)]()[_0xdc4389(0x1b9)])return;const _0x2b6ee1=_0xb1e082[_0xdc4389(0x1fb)];return _0x26813a[_0xdc4389(0x1cb)][_0xdc4389(0x1a4)][_0xdc4389(0x214)](_0x2b6ee1)&&!_0x26813a[_0xdc4389(0x1cb)][_0xdc4389(0x1d0)](_0x2b6ee1)&&(_0x27cb01[_0xdc4389(0x1ce)]=!0x1),function(_0x4431bc,_0x10051c,_0x3861a6){const _0x46659d=_0xdc4389,_0x14d6d1=_0x4431bc[_0x46659d(0x1a2)](_0x46659d(0x19b),_0x10051c);return _0x4431bc[_0x46659d(0x1f5)](_0x46659d(0x1da),!0x0,_0x14d6d1),_0x14d6d1[_0x46659d(0x1ab)]=function(_0x128941){const _0x2f89cd=_0x46659d,_0x4eb42f=this[_0x2f89cd(0x19c)](_0x128941);return _0x4eb42f[_0x2f89cd(0x210)]=_0x2f89cd(0x1b8)+_0x3861a6[_0x2f89cd(0x1ee)]+_0x2f89cd(0x1dc),_0x4eb42f[_0x2f89cd(0x20b)](_0x2f89cd(0x211),()=>{const _0x3a2ea5=_0x2f89cd;_0x4eb42f[_0x3a2ea5(0x20c)][_0x3a2ea5(0x200)](_0x3a2ea5(0x1be));}),_0x4eb42f[_0x2f89cd(0x20b)](_0x2f89cd(0x1fd),()=>{const _0x1dedff=_0x2f89cd;_0x4eb42f[_0x1dedff(0x20c)][_0x1dedff(0x1a1)](_0x1dedff(0x1be));}),_0x4eb42f;},_0x14d6d1[_0x46659d(0x1f0)]=function(_0x136ba0){const _0x4e9232=_0x46659d;return!(!this[_0x4e9232(0x1b5)](_0x4e9232(0x1da))||!_0x136ba0[_0x4e9232(0x1b5)](_0x4e9232(0x1da))||this[_0x4e9232(0x202)](_0x4e9232(0x1f9))!=_0x136ba0[_0x4e9232(0x202)](_0x4e9232(0x1f9)));},_0x14d6d1;}(_0xd3b928,_0x27cb01,_0xf6a5e4);}(_0x121bc5,_0x439fc8,_0x31bcca,_0x39f32f)}),_0x39f32f[_0x1f7140(0x1e4)][_0x1f7140(0x1b6)](_0x1f7140(0x19f))[_0x1f7140(0x1c4)]({'model':_0x1f7140(0x1ff),'view':_0x25c8b0=>function(_0x24c63e,_0x33f3fd){const _0x8df02f=_0x1f7140,_0x209b4b=_0x24c63e[_0x8df02f(0x1ae)][_0x8df02f(0x201)](':')[0x2];if(_0x209b4b===_0x33f3fd[_0x8df02f(0x1c9)])return null;const _0x452251=_0x33f3fd[_0x8df02f(0x1b0)](_0x209b4b);if(!_0x452251)return{'id':_0x209b4b,'classes':[]};return{'id':_0x209b4b,'classes':[_0x8df02f(0x1a6),_0x452251[_0x8df02f(0x1db)][_0x8df02f(0x206)]()],'attributes':{'data-session-id':_0x209b4b},'priority':0x7d0+_0x452251[_0x8df02f(0x1e6)]};}(_0x25c8b0,_0x31bcca)}),function(_0x28200d){const _0x291c5e=_0x1f7140,_0x14d9ef=_0x28200d[_0x291c5e(0x1cb)],_0x2c0928=new Map(),_0x200d18=_0x28200d[_0x291c5e(0x1b3)][_0x291c5e(0x1dd)](_0x1eb670);_0x14d9ef[_0x291c5e(0x217)]['on'](_0x291c5e(0x1f2),(_0x3e0eac,_0x3773e6,_0x177f9a,_0x49c28)=>{const _0x27ca71=_0x291c5e;if(!_0x49c28&&_0x2c0928[_0x27ca71(0x1dd)](_0x3773e6[_0x27ca71(0x1ee)]))return _0x2c0928[_0x27ca71(0x1dd)](_0x3773e6[_0x27ca71(0x1ee)])[_0x27ca71(0x1a5)](),void _0x2c0928[_0x27ca71(0x1ad)](_0x3773e6[_0x27ca71(0x1ee)]);const _0x56ce97=_0x3773e6[_0x27ca71(0x1ee)][_0x27ca71(0x201)](':')[0x2];if(_0x56ce97===_0x200d18[_0x27ca71(0x1c9)])return;const _0x5163f9=_0x27ca71(0x1c2)+_0x56ce97;_0x14d9ef[_0x27ca71(0x217)][_0x27ca71(0x218)](_0x5163f9)&&_0x28200d[_0x27ca71(0x1c3)][_0x27ca71(0x20d)](_0x5163f9),_0x3773e6['on'](_0x27ca71(0x1e2),(_0x47eb00,_0x4977a8,_0x24502a)=>{const _0x46c0c1=_0x27ca71;if(_0x46c0c1(0x1d8)!=_0x4977a8[_0x46c0c1(0x1af)][_0x46c0c1(0x199)]&&_0x46c0c1(0x1d8)==_0x3773e6[_0x46c0c1(0x1a0)]()[_0x46c0c1(0x1af)][_0x46c0c1(0x199)]&&!_0x2c0928[_0x46c0c1(0x218)](_0x3773e6[_0x46c0c1(0x1ee)])){const _0x6a1580=_0x14d9ef[_0x46c0c1(0x1a4)][_0x46c0c1(0x1c1)](_0x24502a[_0x46c0c1(0x19d)]);if(_0x6a1580){const _0xe1c705=_0x447c7a[_0x46c0c1(0x213)](_0x6a1580);_0x2c0928[_0x46c0c1(0x205)](_0x3773e6[_0x46c0c1(0x1ee)],_0xe1c705),_0xe1c705['on'](_0x46c0c1(0x1e2),(_0x4e33d9,_0x3c6fd,_0x3ca18e)=>{const _0x109007=_0x46c0c1;if(_0x109007(0x1d8)==_0xe1c705[_0x109007(0x1af)][_0x109007(0x199)]){const _0x457a91=_0x14d9ef[_0x109007(0x1a4)][_0x109007(0x1c1)](_0x3ca18e[_0x109007(0x19d)]);_0x457a91?(_0xe1c705[_0x109007(0x1e8)]=_0x457a91[_0x109007(0x1e8)],_0xe1c705[_0x109007(0x207)]=_0x457a91[_0x109007(0x207)]):(_0x2c0928[_0x109007(0x1ad)](_0x3773e6[_0x109007(0x1ee)]),_0xe1c705[_0x109007(0x1a5)]());}});}}});}),_0x14d9ef[_0x291c5e(0x1f7)]['on'](_0x291c5e(0x1a7),()=>{const _0x5c53e2=_0x291c5e;_0x2c0928[_0x5c53e2(0x1e9)]>0x0&&_0x14d9ef[_0x5c53e2(0x1fc)]({'isUndoable':!0x1},_0x19513d=>{const _0x207ed5=_0x5c53e2;for(const [_0x5d0b06,_0x24bf3c]of _0x2c0928)_0x207ed5(0x1d8)==_0x14d9ef[_0x207ed5(0x217)][_0x207ed5(0x1dd)](_0x5d0b06)[_0x207ed5(0x1a0)]()[_0x207ed5(0x1af)][_0x207ed5(0x199)]&&(re(_0x5d0b06[_0x207ed5(0x201)](':')[0x2],_0x24bf3c[_0x207ed5(0x216)](),_0x14d9ef,_0x19513d),_0x24bf3c[_0x207ed5(0x1a5)]());_0x2c0928[_0x207ed5(0x19e)]();});});}(_0x39f32f),this[_0x1f7140(0x1cf)][_0x1f7140(0x19a)](_0x5cdf5b[_0x1f7140(0x1f7)],_0x1f7140(0x1eb),(_0x4e2257,{key:_0x27898b})=>{const _0x5f287a=_0x1f7140;_0x5f287a(0x1d3)===_0x27898b&&function(_0x5959c1){const _0x1519ac=_0x5f287a;_0x5959c1[_0x1519ac(0x1c3)][_0x1519ac(0x1f8)][_0x1519ac(0x1a7)](_0x4f582f=>{const _0x300582=_0x1519ac;for(const _0x1c74be of _0x5959c1[_0x300582(0x1cb)][_0x300582(0x217)]){if(!_0x1c74be[_0x300582(0x1ee)][_0x300582(0x1bd)](_0x300582(0x1f3)))continue;const _0x42ef36=_0x5959c1[_0x300582(0x1c3)][_0x300582(0x1e0)][_0x300582(0x1ca)](_0x1c74be[_0x300582(0x1ee)]);if(_0x42ef36){for(const _0x24cd60 of _0x42ef36)_0x4f582f[_0x300582(0x1b2)](_0x300582(0x1be),_0x24cd60);}}});}(_0x39f32f);},{'useCapture':!0x0});}[_0x9a780b(0x219)](){const _0x3d4c9b=_0x9a780b,_0x660502=this[_0x3d4c9b(0x1e1)],_0x4ad134=_0x660502[_0x3d4c9b(0x1aa)][_0x3d4c9b(0x1dd)](_0x3d4c9b(0x1a3));_0x4ad134&&_0x660502[_0x3d4c9b(0x1cb)]['on'](_0x3d4c9b(0x209),(_0x459d5b,_0x567f8a)=>{const _0xcf5033=_0x3d4c9b,_0x155adb=_0x567f8a[0x0];if(_0xcf5033(0x1de)!=_0x155adb[_0xcf5033(0x1e7)]||!_0x155adb[_0xcf5033(0x1ee)][_0xcf5033(0x1bd)](_0xcf5033(0x1d7)))return;const _0x3d463d=_0x155adb[_0xcf5033(0x1c7)];_0x4ad134[_0xcf5033(0x1ac)][_0xcf5033(0x218)](_0x3d463d)&&(_0x155adb[_0xcf5033(0x1ec)]=_0x155adb[_0xcf5033(0x1ef)]?_0x660502[_0xcf5033(0x1cb)][_0xcf5033(0x1c0)](_0x155adb[_0xcf5033(0x1ef)][_0xcf5033(0x1e8)],_0x155adb[_0xcf5033(0x1ef)][_0xcf5033(0x207)]):null);},{'priority':_0x3d4c9b(0x1fa)});}[_0x9a780b(0x1d2)](){const _0x52ecd3=_0x9a780b;return this[_0x52ecd3(0x1cf)][_0x52ecd3(0x1b4)](),super[_0x52ecd3(0x1d2)]();}[_0x9a780b(0x1d6)](){const _0x3742f4=_0x9a780b,_0x48e2e7=this[_0x3742f4(0x1e1)],_0x3595fc=_0x48e2e7[_0x3742f4(0x1cb)][_0x3742f4(0x1f7)],_0x5dcd69=_0x48e2e7[_0x3742f4(0x1b3)][_0x3742f4(0x1dd)](_0x1eb670);_0x48e2e7[_0x3742f4(0x1cb)][_0x3742f4(0x1fc)]({'isUndoable':!0x1},_0x2b55c0=>{const _0x30a000=_0x3742f4,_0x20b14f=_0x30a000(0x1d9)+_0x5dcd69[_0x30a000(0x1c9)],_0x36b26c=_0x30a000(0x1c2)+_0x5dcd69[_0x30a000(0x1c9)],_0x3a1770=_0x48e2e7[_0x30a000(0x1cb)][_0x30a000(0x217)][_0x30a000(0x218)](_0x20b14f);_0x48e2e7[_0x30a000(0x1c3)][_0x30a000(0x1f8)][_0x30a000(0x1b7)]?re(_0x5dcd69[_0x30a000(0x1c9)],_0x3595fc[_0x30a000(0x20e)][_0x30a000(0x1bf)](),_0x48e2e7[_0x30a000(0x1cb)],_0x2b55c0):_0x3a1770&&(_0x2b55c0[_0x30a000(0x1ea)](_0x20b14f),_0x2b55c0[_0x30a000(0x1ea)](_0x36b26c));});}}function re(_0x16999e,_0x1ad35a,_0x5df43b,_0x4e6949){const _0x307e7e=_0x9a780b,_0x1324ba=_0x307e7e(0x1d9)+_0x16999e,_0x5a425a=_0x307e7e(0x1c2)+_0x16999e,_0x2d747a=_0x1ad35a[_0x307e7e(0x204)]();let _0x257bb4=_0x1ad35a[_0x307e7e(0x1e8)];_0x2d747a&&_0x2d747a['is'](_0x307e7e(0x1d4),_0x307e7e(0x1c6))&&(_0x257bb4=function(_0x51599f,_0x168d9d){const _0x11f9cf=_0x307e7e;for(const _0x38b40d of _0x51599f[_0x11f9cf(0x1b1)]())if(_0x168d9d[_0x11f9cf(0x1a4)][_0x11f9cf(0x212)](_0x38b40d,_0x11f9cf(0x1e3)))return _0x38b40d;}(_0x1ad35a,_0x5df43b),_0x1ad35a=_0x4e6949[_0x307e7e(0x1c0)](_0x257bb4));const _0x5c8a96=_0x4e6949[_0x307e7e(0x1c0)](_0x257bb4);_0x5df43b[_0x307e7e(0x217)][_0x307e7e(0x218)](_0x1324ba)?(_0x4e6949[_0x307e7e(0x208)](_0x1324ba,{'range':_0x1ad35a}),_0x4e6949[_0x307e7e(0x208)](_0x5a425a,{'range':_0x5c8a96})):(_0x4e6949[_0x307e7e(0x1f4)](_0x1324ba,{'range':_0x1ad35a,'usingOperation':!0x0}),_0x4e6949[_0x307e7e(0x1f4)](_0x5a425a,{'range':_0x5c8a96,'usingOperation':!0x0}));}
|
|
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}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x47c8fa=_0x5cea;function _0x5cea(_0x33f8d1,_0x372b50){const _0x72777f=_0x7277();return _0x5cea=function(_0x5ceae7,_0x5949c9){_0x5ceae7=_0x5ceae7-0x155;let _0x46aff6=_0x72777f[_0x5ceae7];return _0x46aff6;},_0x5cea(_0x33f8d1,_0x372b50);}(function(_0x35c31f,_0x582f8e){const _0x44e6ea=_0x5cea,_0x2754ac=_0x35c31f();while(!![]){try{const _0x125b74=parseInt(_0x44e6ea(0x16c))/0x1*(parseInt(_0x44e6ea(0x18c))/0x2)+parseInt(_0x44e6ea(0x182))/0x3+-parseInt(_0x44e6ea(0x17a))/0x4*(parseInt(_0x44e6ea(0x179))/0x5)+parseInt(_0x44e6ea(0x165))/0x6*(-parseInt(_0x44e6ea(0x16e))/0x7)+-parseInt(_0x44e6ea(0x195))/0x8+-parseInt(_0x44e6ea(0x190))/0x9+parseInt(_0x44e6ea(0x18a))/0xa;if(_0x125b74===_0x582f8e)break;else _0x2754ac['push'](_0x2754ac['shift']());}catch(_0x98e388){_0x2754ac['push'](_0x2754ac['shift']());}}}(_0x7277,0xdec03));import{ContextPlugin as _0x2e3610}from'ckeditor5/src/core.js';function _0x7277(){const _0x38b87e=['removeFromReconnectionStack','DISCONNECTED','reconnect','webSocketUrl','stopListening','159270pgYuZg','cloudServices.requestTimeout','define','websocketgateway-invalid-plugin-interface','add','bind','context','Connected\x20users\x20limit\x20exceeded','27597280VlIaaX','websocketgateway-plugin-already-registered','992YJnyKH','_domEmitter','create','initialReconnectionInterval','1322514JhhxBY','showWarning','connect','isInReconnectionStack','requires','8273240NMhVMx','_reconnectionStack','cloudservices-reconnection-error','CloudServices','change:me','catch','code','from','function','has','all','_shouldPluginsReconnect','get','offline','error','config','_isBrowserOffline','listenTo','limitExceeded','plugins','_reconnect','destroy','websocketgateway-missing-websocket-url','connection','delete','12gaAPyo','CONNECTING','CONNECTED','then','cloudservices-init','state','WebSocketGateway','1999Tsnqcs','connected','5223848pmKjyr','cloudServices.connectionTimeout','set','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.','token','constructor','pluginName','online','real-time-collaboration','addToReconnectionStack','websocketgateway-missing-token','49615YWxDKw','88KHmBIW','init','disconnect'];_0x7277=function(){return _0x38b87e;};return _0x7277();}import{DomEmitterMixin as _0x832213,CKEditorError as _0x3eb8c3}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x13e1ab,WEB_SOCKET_GATEWAY_STATES as _0x372339}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0xb77581}from'ckeditor5/src/ui.js';class c extends _0x2e3610{static get[_0x47c8fa(0x194)](){const _0x3ddd0c=_0x47c8fa;return[_0x3ddd0c(0x198),_0xb77581];}static get[_0x47c8fa(0x174)](){const _0x1e93cc=_0x47c8fa;return _0x1e93cc(0x16b);}constructor(_0x44ca87){const _0x348c94=_0x47c8fa;super(_0x44ca87),this[_0x348c94(0x170)](_0x348c94(0x16a),_0x372339[_0x348c94(0x167)]),this[_0x348c94(0x170)](_0x348c94(0x15c),!0x1),this[_0x348c94(0x196)]=new Set(),this[_0x348c94(0x157)]=!0x1,this[_0x348c94(0x18d)]=Object[_0x348c94(0x18e)](_0x832213);}[_0x47c8fa(0x17b)](){const _0x4b3630=_0x47c8fa,_0x265e2c=this[_0x4b3630(0x188)],_0x13580a=_0x265e2c[_0x4b3630(0x15f)][_0x4b3630(0x158)](_0x4b3630(0x198)),_0xa2e76d=_0x265e2c[_0x4b3630(0x15f)][_0x4b3630(0x158)](_0xb77581);if(!_0x13580a[_0x4b3630(0x172)])throw new _0x3eb8c3(_0x4b3630(0x178),this);if(!_0x13580a[_0x4b3630(0x180)])throw new _0x3eb8c3(_0x4b3630(0x162),this);return this[_0x4b3630(0x18d)][_0x4b3630(0x15d)](window,_0x4b3630(0x159),()=>this[_0x4b3630(0x15c)]=!0x0),this[_0x4b3630(0x18d)][_0x4b3630(0x15d)](window,_0x4b3630(0x175),()=>this[_0x4b3630(0x15c)]=!0x1),this[_0x4b3630(0x188)][_0x4b3630(0x15b)][_0x4b3630(0x184)](_0x4b3630(0x16f),0xa),this[_0x4b3630(0x188)][_0x4b3630(0x15b)][_0x4b3630(0x184)](_0x4b3630(0x183),0x14),c[_0x4b3630(0x16b)][_0x4b3630(0x192)](_0x13580a[_0x4b3630(0x172)],_0x13580a[_0x4b3630(0x180)],{'timeout':0x3e8*this[_0x4b3630(0x188)][_0x4b3630(0x15b)][_0x4b3630(0x158)](_0x4b3630(0x16f)),'requestTimeout':0x3e8*this[_0x4b3630(0x188)][_0x4b3630(0x15b)][_0x4b3630(0x158)](_0x4b3630(0x183))})[_0x4b3630(0x168)](_0x200992=>{const _0x7e2926=_0x4b3630;if(this[_0x7e2926(0x163)]=_0x200992,this[_0x7e2926(0x187)](_0x7e2926(0x16a))['to'](_0x200992,_0x7e2926(0x16a),this,_0x7e2926(0x15c),(_0x140cd4,_0x393777)=>(_0x7e2926(0x16d)!==_0x140cd4&&(this[_0x7e2926(0x157)]=!0x0),_0x393777||_0x140cd4!==_0x372339[_0x7e2926(0x167)]?_0x372339[_0x7e2926(0x17e)]:this[_0x7e2926(0x16a)]==_0x372339[_0x7e2926(0x17e)]&&this[_0x7e2926(0x157)]?(this[_0x7e2926(0x157)]=!0x1,this[_0x7e2926(0x160)](),_0x372339[_0x7e2926(0x166)]):_0x372339[_0x7e2926(0x167)])),this[_0x7e2926(0x163)]['on'](_0x7e2926(0x15a),(_0x42964e,_0x350718)=>{const _0x587ffa=_0x7e2926;if(_0x587ffa(0x15e)!==_0x350718[_0x587ffa(0x19b)])throw console[_0x587ffa(0x15a)](_0x350718),new _0x3eb8c3(_0x587ffa(0x169),null,{'originalError':_0x350718});_0xa2e76d[_0x587ffa(0x191)](_0x587ffa(0x171),{'title':_0x587ffa(0x189),'namespace':_0x587ffa(0x176)});}),!_0x200992['me'])return new Promise(_0x4f7d3b=>_0x200992['on'](_0x7e2926(0x199),_0x4f7d3b));})[_0x4b3630(0x19a)](_0x2deedb=>{const _0x250839=_0x4b3630;throw console[_0x250839(0x15a)](_0x2deedb),new _0x3eb8c3(_0x250839(0x169),null,{'originalError':_0x2deedb});});}[_0x47c8fa(0x177)](_0x422a97){const _0xf04541=_0x47c8fa;if(_0xf04541(0x19d)!=typeof _0x422a97[_0xf04541(0x17f)])throw new _0x3eb8c3(_0xf04541(0x185),this);if(this[_0xf04541(0x193)](_0x422a97))throw new _0x3eb8c3(_0xf04541(0x18b),this,{'name':_0x422a97[_0xf04541(0x173)][_0xf04541(0x174)]});this[_0xf04541(0x196)][_0xf04541(0x186)](_0x422a97);}[_0x47c8fa(0x17d)](_0x55c37b){const _0x31e7e2=_0x47c8fa;this[_0x31e7e2(0x196)][_0x31e7e2(0x164)](_0x55c37b);}[_0x47c8fa(0x193)](_0x3adcca){const _0x109980=_0x47c8fa;return this[_0x109980(0x196)][_0x109980(0x155)](_0x3adcca);}[_0x47c8fa(0x160)](){const _0x42fcac=_0x47c8fa;return this[_0x42fcac(0x163)][_0x42fcac(0x17f)]()[_0x42fcac(0x168)](()=>Promise[_0x42fcac(0x156)](Array[_0x42fcac(0x19c)](this[_0x42fcac(0x196)],_0x45c4dd=>_0x45c4dd[_0x42fcac(0x17f)]())))[_0x42fcac(0x168)](()=>this[_0x42fcac(0x16a)]=_0x372339[_0x42fcac(0x167)])[_0x42fcac(0x19a)](_0x2038d9=>{const _0x4c4147=_0x42fcac;throw console[_0x4c4147(0x15a)](_0x2038d9),new _0x3eb8c3(_0x4c4147(0x197),this[_0x4c4147(0x188)]);});}[_0x47c8fa(0x161)](){const _0x27fb9c=_0x47c8fa;this[_0x27fb9c(0x163)]&&this[_0x27fb9c(0x163)][_0x27fb9c(0x17c)](),this[_0x27fb9c(0x16a)]=_0x372339[_0x27fb9c(0x17e)],this[_0x27fb9c(0x18d)][_0x27fb9c(0x181)](),super[_0x27fb9c(0x161)]();}}c[_0x47c8fa(0x16b)]=_0x13e1ab,c[_0x47c8fa(0x18f)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x482a(){var _0x43d41c=['RealTimeCollaborativeEditing','1834540evMSzI','19888tWELbk','pluginName','requires','23268SFfbUf','2435746ngFKQy','4161544HFZgmp','5NJSvti','1779930xQdKTy','2065Exqpjf','513vVYHyf','445624vuiDQI'];_0x482a=function(){return _0x43d41c;};return _0x482a();}var _0x56d071=_0x4014;(function(_0x4f5d55,_0x5806e0){var _0x39a1f3=_0x4014,_0x1fb477=_0x4f5d55();while(!![]){try{var _0x110e37=-parseInt(_0x39a1f3(0x1f4))/0x1+-parseInt(_0x39a1f3(0x1ee))/0x2+parseInt(_0x39a1f3(0x1f1))/0x3+parseInt(_0x39a1f3(0x1ef))/0x4*(parseInt(_0x39a1f3(0x1f0))/0x5)+-parseInt(_0x39a1f3(0x1ed))/0x6*(-parseInt(_0x39a1f3(0x1f2))/0x7)+parseInt(_0x39a1f3(0x1ea))/0x8*(-parseInt(_0x39a1f3(0x1f3))/0x9)+-parseInt(_0x39a1f3(0x1e9))/0xa;if(_0x110e37===_0x5806e0)break;else _0x1fb477['push'](_0x1fb477['shift']());}catch(_0xd2d665){_0x1fb477['push'](_0x1fb477['shift']());}}}(_0x482a,0xc0a3d));import{Plugin as _0xd40337}from'ckeditor5/src/core.js';function _0x4014(_0xbcea39,_0x2600d2){var _0x482a2d=_0x482a();return _0x4014=function(_0x401414,_0x5197a7){_0x401414=_0x401414-0x1e8;var _0x5284d0=_0x482a2d[_0x401414];return _0x5284d0;},_0x4014(_0xbcea39,_0x2600d2);}import _0x4e91c1 from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0xd40337{static get[_0x56d071(0x1ec)](){return[_0x4e91c1];}static get[_0x56d071(0x1eb)](){var _0x3e9460=_0x56d071;return _0x3e9460(0x1e8);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1db5f3=_0x5eb3;(function(_0x1ab040,_0x1a12fb){const _0x485a5d=_0x5eb3,_0x500b81=_0x1ab040();while(!![]){try{const _0x332776=-parseInt(_0x485a5d(0x216))/0x1*(parseInt(_0x485a5d(0x1fe))/0x2)+parseInt(_0x485a5d(0x20f))/0x3+parseInt(_0x485a5d(0x212))/0x4*(-parseInt(_0x485a5d(0x237))/0x5)+-parseInt(_0x485a5d(0x23d))/0x6+-parseInt(_0x485a5d(0x23c))/0x7+parseInt(_0x485a5d(0x207))/0x8*(parseInt(_0x485a5d(0x1e6))/0x9)+parseInt(_0x485a5d(0x205))/0xa;if(_0x332776===_0x1a12fb)break;else _0x500b81['push'](_0x500b81['shift']());}catch(_0x18e91e){_0x500b81['push'](_0x500b81['shift']());}}}(_0x6490,0x3d453));import{Plugin as _0xcf4494}from'ckeditor5/src/core.js';function _0x6490(){const _0xae68ad=['data','_fixRevision','reverse','type','isEmptyCurrent','authorsIds','then','creatorId','editor','sessionId','getRevisions','setSource','_createCurrentRevision','getMany','once','collaboration.channelId','RevisionHistoryService','_fetchMissingUsers','_getLatestVersion','9mlTkFL','startsWith','off','cloud-services-internal-error:\x20Request\x20timeout.','_revisionTracker','message','buildRevisionData','_revisionHistoryService','reInit','_revisions','has','authors','marker','addRevisionData','getOperations','remove','_lastRequestId','_update','map','bind','isBundleUploaded','requires','addToReconnectionStack','createdAt','2WnGUnd','add','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','isEnabled','config','init','_bufferUpdate','6043160dPVXMD','CONNECTED','440368qaqLvE','_preventResendingRevisionData','change:_isPendingUpdate','repository','getUser','addUser','_isConnected','baseVersion','1213854UTrVXE','revisionsUpdated','_oldOffset','20SlWyyo','code','_revisionDataBuilder','_handleReconnectionError','58769uFSIKt','connection','reconnect','diffData','isConnected','from','RevisionTracker','length','keys','size','state','getRevision','currentRevision','serverHistory','_handleRevisionsUpdate','get','adapter','connected','_getLatestVersionFromServerOperations','_bufferedUpdates','affectsData','cloud-services-internal-error:\x20Not\x20connected.','destroy','change:_isConnected','wrongRequestId','_isPendingUpdate','_waitForServiceReady','_offset','sendBufferedUpdates','400','updateRevisions','listenTo','catch','92075FCYwPh','cloudServices.bundleVersion','plugins','toVersion','_startingVersion','2985297hLEkaA','1414212pkCiEY','max','connect','fromVersion','setRevisionData'];_0x6490=function(){return _0xae68ad;};return _0x6490();}import{version as _0x21b2cc}from'ckeditor5/src/utils.js';import{Users as _0x2e2196}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xeca116 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x2c12b2 from'../realtimecollaborativeediting/websocketgateway.js';function _0x5eb3(_0x486bb5,_0x4b092a){const _0x649080=_0x6490();return _0x5eb3=function(_0x5eb38f,_0x5a0ad9){_0x5eb38f=_0x5eb38f-0x1d1;let _0x540e14=_0x649080[_0x5eb38f];return _0x540e14;},_0x5eb3(_0x486bb5,_0x4b092a);}import _0x1a7545 from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x361f67,RevisionHistoryService as _0x49cdb4,User as _0x33a27e,WEB_SOCKET_GATEWAY_STATES as _0x5ac1ce}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class v extends _0xcf4494{static get[_0x1db5f3(0x1fb)](){const _0x51ff4e=_0x1db5f3;return[_0x2c12b2,_0xeca116,_0x51ff4e(0x21c),_0x1a7545,_0x2e2196];}constructor(_0x3bc134){const _0x1cf9c1=_0x1db5f3;super(_0x3bc134);const _0x2e532d=this[_0x1cf9c1(0x1db)][_0x1cf9c1(0x202)][_0x1cf9c1(0x225)](_0x1cf9c1(0x1e2));this[_0x1cf9c1(0x1f6)]=null,this[_0x1cf9c1(0x1ea)]=this[_0x1cf9c1(0x1db)][_0x1cf9c1(0x239)][_0x1cf9c1(0x225)](_0x1cf9c1(0x21c)),this[_0x1cf9c1(0x1ed)]=new v[(_0x1cf9c1(0x1e3))](_0x2e532d);}async[_0x1db5f3(0x203)](){const _0x3a06c0=_0x1db5f3,_0x2fd558=this[_0x3a06c0(0x1db)][_0x3a06c0(0x239)][_0x3a06c0(0x225)](_0xeca116),_0x213545=_0x2fd558[_0x3a06c0(0x223)],_0x3c1ab8=this[_0x3a06c0(0x1db)][_0x3a06c0(0x239)][_0x3a06c0(0x225)](_0x2c12b2);this[_0x3a06c0(0x1ea)][_0x3a06c0(0x1de)]({'history':_0x213545,'getLatestVersion':()=>this[_0x3a06c0(0x1e5)](),'getCurrentRevisionId':()=>_0x2fd558[_0x3a06c0(0x1dc)]});const _0x3882c0=this[_0x3a06c0(0x1db)][_0x3a06c0(0x202)][_0x3a06c0(0x225)](_0x3a06c0(0x238))||_0x21b2cc,_0x23d6bb=await _0x361f67[_0x3a06c0(0x1fa)](_0x3c1ab8[_0x3a06c0(0x217)],_0x3882c0);this[_0x3a06c0(0x1ea)][_0x3a06c0(0x226)]={'getRevision':async({revisionId:_0x4a31bd})=>(await this[_0x3a06c0(0x230)](),await this[_0x3a06c0(0x1ed)][_0x3a06c0(0x221)](_0x4a31bd)),'updateRevisions':async _0x1b934a=>{const _0x581550=_0x3a06c0;await this[_0x581550(0x230)]();const _0x3de225=this[_0x581550(0x1ea)][_0x581550(0x222)];if(_0x23d6bb&&0x1===_0x1b934a[_0x581550(0x21d)]&&_0x1b934a[0x0]['id']===_0x3de225['id'])return _0x1b934a;for(const _0x3e4ba7 of _0x1b934a)_0x3e4ba7['id']===_0x3de225['id']&&(_0x3e4ba7[_0x581550(0x1d7)]=_0x3e4ba7[_0x581550(0x1d1)]===_0x3e4ba7[_0x581550(0x23a)]);return this[_0x581550(0x1ed)][_0x581550(0x234)](_0x1b934a,this[_0x581550(0x1f6)])[_0x581550(0x1d9)](_0x1e790d=>(this[_0x581550(0x1f6)]=_0x1e790d,_0x1b934a))[_0x581550(0x236)](_0x28bd9b=>{const _0x10a1cf=_0x581550;if(st(_0x28bd9b)||_0x10a1cf(0x233)===_0x28bd9b[_0x10a1cf(0x213)]&&void 0x0!==_0x28bd9b[_0x10a1cf(0x1d3)][_0x10a1cf(0x22e)]){for(const _0x58b6b3 of _0x1b934a){!this[_0x10a1cf(0x1ea)][_0x10a1cf(0x20a)][_0x10a1cf(0x221)](_0x58b6b3['id'])||this[_0x10a1cf(0x1ea)][_0x10a1cf(0x204)](_0x58b6b3['id'],_0x58b6b3,!0x1);}if(st(_0x28bd9b))throw _0x28bd9b;return _0x1b934a;}throw _0x28bd9b;});}},this[_0x3a06c0(0x235)](this[_0x3a06c0(0x1ed)],_0x3a06c0(0x210),(_0x41eecf,{revisionsData:_0x524c5e,requestId:_0x332ca3})=>{const _0x57d419=_0x3a06c0;Math[_0x57d419(0x23e)](..._0x524c5e[_0x57d419(0x1f8)](_0x53fd27=>_0x53fd27[_0x57d419(0x23a)]))>this[_0x57d419(0x228)]()-0x1?this[_0x57d419(0x1e5)]()[_0x57d419(0x1d9)](()=>{const _0x30a17f=_0x57d419;this[_0x30a17f(0x224)](_0x524c5e,_0x332ca3);}):this[_0x57d419(0x224)](_0x524c5e,_0x332ca3);});const {revisions:_0x4043d8,requestId:_0x5ca947}=await this[_0x3a06c0(0x1ed)][_0x3a06c0(0x23f)](_0x3c1ab8[_0x3a06c0(0x217)]);_0x3c1ab8[_0x3a06c0(0x1fc)](this),this[_0x3a06c0(0x1f6)]=_0x5ca947,await this[_0x3a06c0(0x1e4)](_0x4043d8);for(const _0xee1b27 of _0x4043d8)this[_0x3a06c0(0x1ea)][_0x3a06c0(0x1f3)](_0xee1b27);this[_0x3a06c0(0x235)](_0x2fd558,_0x3a06c0(0x22d),(_0x20131b,_0xbcf01f,_0x59b461)=>{const _0x51f2ef=_0x3a06c0;_0x59b461&&(this[_0x51f2ef(0x211)]=_0x2fd558[_0x51f2ef(0x231)],_0x20131b[_0x51f2ef(0x1e8)]());}),this[_0x3a06c0(0x1ea)][_0x3a06c0(0x1f9)](_0x3a06c0(0x201))['to'](_0x3c1ab8,_0x3a06c0(0x220),_0x41175e=>_0x41175e===_0x5ac1ce[_0x3a06c0(0x206)]);}async[_0x1db5f3(0x218)](){const _0x1fc438=_0x1db5f3,_0x2df802=this[_0x1fc438(0x1db)][_0x1fc438(0x239)][_0x1fc438(0x225)](_0x2c12b2),_0x23da69=this[_0x1fc438(0x1db)][_0x1fc438(0x239)][_0x1fc438(0x225)](_0xeca116),_0x5994bb=async()=>{const _0x35479a=_0x1fc438,_0x27f0bd=this[_0x35479a(0x1ea)][_0x35479a(0x222)],_0x226474=_0x27f0bd['id'],_0x4fb70f=_0x226474!==_0x23da69[_0x35479a(0x1dc)];if(_0x4fb70f){const _0x18481f=_0x23da69[_0x35479a(0x231)]-this[_0x35479a(0x211)],_0x34ad70=this[_0x35479a(0x228)]();this[_0x35479a(0x1ea)][_0x35479a(0x214)][_0x35479a(0x1ee)]();if(_0x27f0bd[_0x35479a(0x23a)]+_0x18481f!==_0x34ad70){const _0x12c3a1=_0x27f0bd[_0x35479a(0x1d1)]+_0x18481f,_0x52e986=this[_0x35479a(0x1db)][_0x35479a(0x239)][_0x35479a(0x225)](_0x2e2196),_0x28e393=this[_0x35479a(0x1ea)][_0x35479a(0x1ec)]({'revision':_0x27f0bd,'from':_0x12c3a1,'to':_0x34ad70});_0x28e393['id']=_0x27f0bd['id'];const _0x95fa82=_0x28e393[_0x35479a(0x1d8)][_0x35479a(0x1f8)](_0x433347=>_0x52e986[_0x35479a(0x20b)](_0x433347));_0x27f0bd[_0x35479a(0x1f7)]({..._0x28e393,'authors':_0x95fa82},!0x0),this[_0x35479a(0x1ea)][_0x35479a(0x204)](_0x27f0bd['id'],_0x28e393,!0x0);}this[_0x35479a(0x1ea)][_0x35479a(0x23b)]=_0x34ad70,(_0x27f0bd[_0x35479a(0x23a)]===_0x27f0bd[_0x35479a(0x1d1)]&&!this[_0x35479a(0x1ea)][_0x35479a(0x229)][_0x35479a(0x1f0)](_0x226474)&&this[_0x35479a(0x1ea)][_0x35479a(0x20a)][_0x35479a(0x1ef)][_0x35479a(0x1f5)](_0x226474),this[_0x35479a(0x1ea)][_0x35479a(0x1df)](_0x34ad70));}const {revisions:_0x130f3d,requestId:_0x329790}=await this[_0x35479a(0x1ed)][_0x35479a(0x218)](_0x2df802[_0x35479a(0x217)],this[_0x35479a(0x1f6)]);_0x4fb70f&&_0x130f3d[_0x35479a(0x21d)]>0x0?_0x23da69[_0x35479a(0x215)]():(await this[_0x35479a(0x1e4)](_0x130f3d),this[_0x35479a(0x224)](_0x130f3d,_0x329790),this[_0x35479a(0x1ea)][_0x35479a(0x232)]());};return _0x23da69[_0x1fc438(0x20d)]?_0x5994bb():new Promise((_0x43e795,_0x20e2ea)=>{const _0xf1e0f3=_0x1fc438;_0x23da69[_0xf1e0f3(0x1e1)](_0xf1e0f3(0x22d),()=>{const _0x37ad77=_0xf1e0f3;_0x5994bb()[_0x37ad77(0x1d9)](_0x43e795)[_0x37ad77(0x236)](_0x20e2ea);});});}[_0x1db5f3(0x22c)](){const _0x38c890=_0x1db5f3;super[_0x38c890(0x22c)]();}async[_0x1db5f3(0x230)](){const _0x1bed7e=_0x1db5f3;this[_0x1bed7e(0x1ed)][_0x1bed7e(0x21a)]||await new Promise(_0x501f03=>{const _0x547648=_0x1bed7e;this[_0x547648(0x235)](this[_0x547648(0x1ed)],_0x547648(0x227),_0x316db9=>{const _0xc14836=_0x547648;_0x316db9[_0xc14836(0x1e8)](),_0x501f03();});});}[_0x1db5f3(0x228)](){const _0x45e3c=_0x1db5f3,_0x299d96=this[_0x45e3c(0x1db)][_0x45e3c(0x239)][_0x45e3c(0x225)](_0xeca116)[_0x45e3c(0x223)][_0x45e3c(0x1f4)]()[_0x45e3c(0x1d5)]();for(const _0x367055 of _0x299d96)if(_0x45e3c(0x1f2)!==_0x367055[_0x45e3c(0x1d6)]||_0x367055[_0x45e3c(0x22a)])return _0x367055[_0x45e3c(0x20e)]+0x1;}[_0x1db5f3(0x1e5)](){const _0x243baa=_0x1db5f3,_0x42f4b7=this[_0x243baa(0x1db)][_0x243baa(0x239)][_0x243baa(0x225)](_0xeca116);return new Promise(_0x43dacd=>{const _0x1d3294=_0x243baa;_0x42f4b7[_0x1d3294(0x22f)]?_0x42f4b7[_0x1d3294(0x1e1)](_0x1d3294(0x209),()=>{const _0x314ecf=_0x1d3294;_0x43dacd(this[_0x314ecf(0x228)]());}):_0x43dacd(this[_0x1d3294(0x228)]());});}[_0x1db5f3(0x224)](_0x46e564,_0x1d6b59){const _0x29718a=_0x1db5f3,_0x41fa12=this[_0x29718a(0x1ea)][_0x29718a(0x20a)];this[_0x29718a(0x1f6)]=_0x1d6b59;for(const _0x397127 of _0x46e564){const _0x1e3ba7=_0x41fa12[_0x29718a(0x221)](_0x397127['id']);if(_0x1e3ba7){if((_0x397127[_0x29718a(0x1d1)]||_0x397127[_0x29718a(0x23a)])&&(_0x397127[_0x29718a(0x219)]=null),_0x1e3ba7===this[_0x29718a(0x1ea)][_0x29718a(0x222)]){const _0x58fdfa=Math[_0x29718a(0x23e)](_0x1e3ba7[_0x29718a(0x23a)],_0x397127[_0x29718a(0x23a)]),_0x36ac30=Math[_0x29718a(0x23e)](_0x1e3ba7[_0x29718a(0x1d1)],_0x397127[_0x29718a(0x1d1)]);let _0x479485;_0x1e3ba7[_0x29718a(0x23a)]===_0x397127[_0x29718a(0x23a)]&&_0x1e3ba7[_0x29718a(0x1d1)]===_0x397127[_0x29718a(0x1d1)]?(_0x479485=!0x0,this[_0x29718a(0x208)](_0x397127)):_0x397127[_0x29718a(0x23a)]===_0x58fdfa&&_0x397127[_0x29718a(0x1d1)]===_0x36ac30?_0x479485=!0x1:(_0x1e3ba7[_0x29718a(0x23a)]===_0x58fdfa&&_0x1e3ba7[_0x29718a(0x1d1)]===_0x36ac30||this[_0x29718a(0x1d4)]({'revision':_0x1e3ba7,'from':_0x36ac30,'to':_0x58fdfa}),_0x479485=!0x0),_0x479485&&(delete _0x397127[_0x29718a(0x1d1)],delete _0x397127[_0x29718a(0x23a)],delete _0x397127[_0x29718a(0x219)],delete _0x397127[_0x29718a(0x1fd)],delete _0x397127[_0x29718a(0x1d8)]);}this[_0x29718a(0x1ea)][_0x29718a(0x1d2)](_0x397127),this[_0x29718a(0x208)](_0x397127);}else this[_0x29718a(0x1ea)][_0x29718a(0x1f3)](_0x397127);}const _0xb84fcc=_0x41fa12[_0x29718a(0x1dd)]();_0xb84fcc[_0x29718a(0x1d5)]();for(let _0x32ab18=0x0;_0x32ab18<_0xb84fcc[_0x29718a(0x21d)]-0x1;_0x32ab18++){const _0x222ddb=_0xb84fcc[_0x32ab18],_0x3b7b28=_0xb84fcc[_0x32ab18+0x1];if(_0x222ddb[_0x29718a(0x1d1)]<_0x3b7b28[_0x29718a(0x23a)]){const _0x292bbd=_0x3b7b28[_0x29718a(0x23a)],_0x35348b=Math[_0x29718a(0x23e)](_0x292bbd,_0x222ddb[_0x29718a(0x23a)]);this[_0x29718a(0x1d4)]({'revision':_0x222ddb,'from':_0x292bbd,'to':_0x35348b});}}}[_0x1db5f3(0x1d4)]({revision:_0x3e84cf,from:_0x5f0a47,to:_0x588f0a}={}){const _0x7c24a0=_0x1db5f3,_0x3d0837=this[_0x7c24a0(0x1db)][_0x7c24a0(0x239)][_0x7c24a0(0x225)](_0x2e2196),_0x53a127=this[_0x7c24a0(0x1ea)][_0x7c24a0(0x1ec)]({'revision':_0x3e84cf,'from':_0x5f0a47,'to':_0x588f0a});_0x53a127[_0x7c24a0(0x1f1)]=_0x53a127[_0x7c24a0(0x1d8)][_0x7c24a0(0x1f8)](_0x5d39c0=>_0x3d0837[_0x7c24a0(0x20b)](_0x5d39c0)),_0x3e84cf[_0x7c24a0(0x1f7)](_0x53a127);}[_0x1db5f3(0x208)](_0x870953){const _0x589e9a=_0x1db5f3,_0x59409d={};_0x59409d['id']=_0x870953['id'];for(const _0x2eef49 of Object[_0x589e9a(0x21e)](_0x870953))'id'!==_0x2eef49&&(_0x59409d[_0x2eef49]=void 0x0);this[_0x589e9a(0x1ea)][_0x589e9a(0x204)](_0x59409d['id'],_0x59409d,!0x0);}async[_0x1db5f3(0x1e4)](_0xd1c029){const _0x411476=_0x1db5f3,_0x2192a3=this[_0x411476(0x1db)][_0x411476(0x239)][_0x411476(0x225)](_0x2e2196),{connection:_0x3e9c20}=this[_0x411476(0x1db)][_0x411476(0x239)][_0x411476(0x225)](_0x2c12b2),_0x277b93=new Set();for(const _0x3f0b18 of _0xd1c029){for(const _0x1de082 of _0x3f0b18[_0x411476(0x1d8)])_0xea7e7e(_0x1de082);_0x3f0b18[_0x411476(0x1da)]&&_0xea7e7e(_0x3f0b18[_0x411476(0x1da)]);}if(0x0===_0x277b93[_0x411476(0x21f)])return;const _0x3aeef8=await _0x33a27e[_0x411476(0x1e0)](_0x3e9c20,Array[_0x411476(0x21b)](_0x277b93));for(const _0x5ae2dd of _0x3aeef8)_0x2192a3[_0x411476(0x20b)](_0x5ae2dd['id'])||_0x2192a3[_0x411476(0x20c)](_0x5ae2dd);function _0xea7e7e(_0x237957){const _0x5bcb3d=_0x411476;_0x2192a3[_0x5bcb3d(0x20b)](_0x237957)||_0x277b93[_0x5bcb3d(0x1ff)](_0x237957);}}}v[_0x1db5f3(0x1e3)]=_0x49cdb4;export default v;function st(_0x3f93e1){const _0x1022a3=_0x1db5f3;return _0x3f93e1[_0x1022a3(0x1eb)][_0x1022a3(0x1e7)](_0x1022a3(0x200))||_0x3f93e1[_0x1022a3(0x1eb)][_0x1022a3(0x1e7)](_0x1022a3(0x22b))||_0x3f93e1[_0x1022a3(0x1eb)][_0x1022a3(0x1e7)](_0x1022a3(0x1e9));}
|
|
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));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x176d(){var _0x1b8fa8=['RealTimeCollaborativeRevisionHistory','88AoZujS','712386CzLUPj','39838EtntVk','RevisionHistory','57351DbWePT','934130IomDKF','123430xLLulH','pluginName','9NHtKhY','923460xnlwkg','450396ELyLSp','requires'];_0x176d=function(){return _0x1b8fa8;};return _0x176d();}function _0x31b3(_0x131101,_0x1f6e12){var _0x176d5e=_0x176d();return _0x31b3=function(_0x31b3d4,_0x208f92){_0x31b3d4=_0x31b3d4-0x152;var _0x33c409=_0x176d5e[_0x31b3d4];return _0x33c409;},_0x31b3(_0x131101,_0x1f6e12);}var _0x5af1c4=_0x31b3;(function(_0x9b5d4,_0x27725b){var _0x388bfc=_0x31b3,_0x5b7b09=_0x9b5d4();while(!![]){try{var _0x43a193=parseInt(_0x388bfc(0x158))/0x1+-parseInt(_0x388bfc(0x154))/0x2*(parseInt(_0x388bfc(0x15a))/0x3)+-parseInt(_0x388bfc(0x15c))/0x4+parseInt(_0x388bfc(0x157))/0x5+parseInt(_0x388bfc(0x15b))/0x6+-parseInt(_0x388bfc(0x156))/0x7*(parseInt(_0x388bfc(0x152))/0x8)+-parseInt(_0x388bfc(0x153))/0x9;if(_0x43a193===_0x27725b)break;else _0x5b7b09['push'](_0x5b7b09['shift']());}catch(_0x271433){_0x5b7b09['push'](_0x5b7b09['shift']());}}}(_0x176d,0x1dea5));import{Plugin as _0x13882e}from'ckeditor5/src/core.js';import _0x477b32 from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import _0x3af7ba from'./realtimecollaborativeediting.js';export default class d extends _0x13882e{static get[_0x5af1c4(0x15d)](){var _0x30cb5b=_0x5af1c4;return[_0x30cb5b(0x155),_0x477b32,_0x3af7ba];}static get[_0x5af1c4(0x159)](){var _0x2b6300=_0x5af1c4;return _0x2b6300(0x15e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x403a(){const _0x4e504b=['10134828sNENAL','editor','isConnected','cloud-services-internal-error:\x20Not\x20connected.','getMany','suggestionUpdated','config','_fetchMissingUsersForThreads','215vjTKYa','getSuggestion','cloud-services-internal-error:\x20Request\x20timeout.','listenTo','adapter','plugins','TrackChangesService','_trackChangesService','addSuggestionData','type','delete','hasSuggestion','27xqDLEI','message','14437760PsFSDA','values','connected','get','off','add','2240802Zetzgu','from','collaboration.channelId','set','startsWith','init','open','state','_waitForServiceReady','connection','addToReconnectionStack','2144760DhoHTd','TrackChangesEditing','_saved','_bufferedRequests','catch','connect','update','size','33EhPdds','attributes','requires','reconnect','120536KDignW','1KTctln','originalSuggestionId','2205970rMJEoI','1561SowzQE','getUser','find','addUser','then','444OMovCK','data'];_0x403a=function(){return _0x4e504b;};return _0x403a();}const _0x38ef0c=_0x4dc1;function _0x4dc1(_0x32f777,_0x5874e3){const _0x403aba=_0x403a();return _0x4dc1=function(_0x4dc1d9,_0x57b7bf){_0x4dc1d9=_0x4dc1d9-0xa6;let _0x496372=_0x403aba[_0x4dc1d9];return _0x496372;},_0x4dc1(_0x32f777,_0x5874e3);}(function(_0x3a287e,_0x38a363){const _0x30ca38=_0x4dc1,_0x7cf5d7=_0x3a287e();while(!![]){try{const _0x32117=parseInt(_0x30ca38(0xce))/0x1*(parseInt(_0x30ca38(0xd0))/0x2)+-parseInt(_0x30ca38(0xb6))/0x3+-parseInt(_0x30ca38(0xcd))/0x4*(parseInt(_0x30ca38(0xe0))/0x5)+-parseInt(_0x30ca38(0xd6))/0x6*(parseInt(_0x30ca38(0xd1))/0x7)+parseInt(_0x30ca38(0xc1))/0x8*(parseInt(_0x30ca38(0xae))/0x9)+-parseInt(_0x30ca38(0xb0))/0xa+parseInt(_0x30ca38(0xc9))/0xb*(parseInt(_0x30ca38(0xd8))/0xc);if(_0x32117===_0x38a363)break;else _0x7cf5d7['push'](_0x7cf5d7['shift']());}catch(_0x5069bb){_0x7cf5d7['push'](_0x7cf5d7['shift']());}}}(_0x403a,0xe5013));import{Plugin as _0x282716}from'ckeditor5/src/core.js';import{User as _0x1520fc,TrackChangesService as _0x2f33e2}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x5d280e from'../realtimecollaborativeediting/websocketgateway.js';import _0x2b7883 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x38c2b5}from'ckeditor5-collaboration/src/collaboration-core.js';class g extends _0x282716{static get[_0x38ef0c(0xcb)](){const _0x3bafb7=_0x38ef0c;return[_0x2b7883,_0x3bafb7(0xc2),_0x5d280e];}constructor(_0x1189fe){const _0x41edec=_0x38ef0c;super(_0x1189fe);const _0x1fe531=this[_0x41edec(0xd9)][_0x41edec(0xde)][_0x41edec(0xb3)](_0x41edec(0xb8));this[_0x41edec(0xc4)]=new Map(),this[_0x41edec(0xa9)]=new g[(_0x41edec(0xa8))](_0x1fe531);}[_0x38ef0c(0xbb)](){const _0x1e84a7=_0x38ef0c,_0x534cc5=this[_0x1e84a7(0xd9)][_0x1e84a7(0xa7)][_0x1e84a7(0xb3)](_0x5d280e),_0x3c7c9e=this[_0x1e84a7(0xd9)][_0x1e84a7(0xa7)][_0x1e84a7(0xb3)](_0x1e84a7(0xc2));return _0x3c7c9e[_0x1e84a7(0xa6)]={'getSuggestion':async _0x515254=>{const _0x124de1=_0x1e84a7;await this[_0x124de1(0xbe)]();const _0x4281b6=await this[_0x124de1(0xa9)][_0x124de1(0xb3)](_0x515254)[_0x124de1(0xc5)](R);return await this[_0x124de1(0xdf)]([_0x4281b6]),_0x4281b6;},'addSuggestion':async({id:_0x1e93a5,type:_0x1e3760,data:_0x51c584,originalSuggestionId:_0x4b0999,attributes:_0x446a0b})=>{const _0xfa660d=_0x1e84a7;await this[_0xfa660d(0xbe)]();const _0x58837f={'id':_0x1e93a5,'type':_0x1e3760,'data':_0x51c584,'originalSuggestionId':_0x4b0999,'attributes':_0x446a0b},_0x1221f0=await this[_0xfa660d(0xa9)][_0xfa660d(0xb5)](_0x1e93a5,_0x1e3760,_0x51c584,_0x4b0999,_0x446a0b)[_0xfa660d(0xc5)](_0x1639b4=>{if(st(_0x1639b4))return new Promise(_0x605004=>{const _0x4bd8f3=_0x4dc1;this[_0x4bd8f3(0xc4)][_0x4bd8f3(0xb9)](_0x1e93a5,{'resolve':_0x605004,'suggestionData':_0x58837f});});throw _0x1639b4;});return this[_0xfa660d(0xc4)][_0xfa660d(0xac)](_0x1e93a5),_0x1221f0;},'updateSuggestion':async(_0x3a8c1d,_0x38d0a5)=>{const _0x3960a2=_0x1e84a7;if(await this[_0x3960a2(0xbe)](),_0x3960a2(0xbc)!==_0x38d0a5[_0x3960a2(0xbd)])return this[_0x3960a2(0xa9)][_0x3960a2(0xc7)](_0x3a8c1d,_0x38d0a5)[_0x3960a2(0xc5)](R);}},this[_0x1e84a7(0xe3)](this[_0x1e84a7(0xa9)],_0x1e84a7(0xdd),(_0x5754db,_0x33cb1f)=>{const _0x3882d6=_0x1e84a7;_0x3c7c9e[_0x3882d6(0xad)](_0x33cb1f['id'])&&(_0x3c7c9e[_0x3882d6(0xe1)](_0x33cb1f['id'])[_0x3882d6(0xca)]=_0x33cb1f[_0x3882d6(0xca)]);}),this[_0x1e84a7(0xa9)][_0x1e84a7(0xc6)](_0x534cc5[_0x1e84a7(0xbf)])[_0x1e84a7(0xd5)](_0x31bc86=>(_0x534cc5[_0x1e84a7(0xc0)](this),this[_0x1e84a7(0xdf)](_0x31bc86)[_0x1e84a7(0xd5)](()=>{const _0x174e6f=_0x1e84a7;for(const _0x4275ba of _0x31bc86){_0x3c7c9e[_0x174e6f(0xaa)](_0x4275ba)[_0x174e6f(0xc3)]=!0x0;}})));}async[_0x38ef0c(0xcc)](){const _0xd8ab64=_0x38ef0c,_0x74e152=this[_0xd8ab64(0xd9)][_0xd8ab64(0xa7)][_0xd8ab64(0xb3)](_0xd8ab64(0xc2)),{connection:_0x5b81a4}=this[_0xd8ab64(0xd9)][_0xd8ab64(0xa7)][_0xd8ab64(0xb3)](_0x5d280e),_0x1b845c=await this[_0xd8ab64(0xa9)][_0xd8ab64(0xc6)](_0x5b81a4);await this[_0xd8ab64(0xdf)](_0x1b845c);for(const {suggestionData:_0x5a70b8,resolve:_0x3ee65f}of this[_0xd8ab64(0xc4)][_0xd8ab64(0xb1)]()){let _0x5827c7=_0x1b845c[_0xd8ab64(0xd3)](_0x23c817=>_0x23c817['id']===_0x5a70b8['id']);_0x5827c7||(_0x5827c7=await this[_0xd8ab64(0xa9)][_0xd8ab64(0xb5)](_0x5a70b8['id'],_0x5a70b8[_0xd8ab64(0xab)],_0x5a70b8[_0xd8ab64(0xd7)],_0x5a70b8[_0xd8ab64(0xcf)])),_0x3ee65f(_0x5827c7);}for(const _0x21889c of _0x1b845c)_0x74e152[_0xd8ab64(0xad)](_0x21889c['id'])||_0x74e152[_0xd8ab64(0xaa)](_0x21889c);}async[_0x38ef0c(0xbe)](){const _0x234fdc=_0x38ef0c;this[_0x234fdc(0xa9)][_0x234fdc(0xda)]||await new Promise(_0x196337=>{const _0x24b70c=_0x234fdc;this[_0x24b70c(0xe3)](this[_0x24b70c(0xa9)],_0x24b70c(0xb2),_0x5e0f4f=>{const _0x2b5235=_0x24b70c;_0x5e0f4f[_0x2b5235(0xb4)](),_0x196337();});});}async[_0x38ef0c(0xdf)](_0x43c8f8){const _0x290839=_0x38ef0c,_0x4a474e=this[_0x290839(0xd9)][_0x290839(0xa7)][_0x290839(0xb3)](_0x38c2b5),{connection:_0x2816ad}=this[_0x290839(0xd9)][_0x290839(0xa7)][_0x290839(0xb3)](_0x5d280e),_0x3b6c2e=new Set();for(const {authorId:_0x588dbf}of _0x43c8f8)_0x4a474e[_0x290839(0xd2)](_0x588dbf)||_0x3b6c2e[_0x290839(0xb5)](_0x588dbf);if(0x0===_0x3b6c2e[_0x290839(0xc8)])return;const _0x130a38=await _0x1520fc[_0x290839(0xdc)](_0x2816ad,Array[_0x290839(0xb7)](_0x3b6c2e));for(const _0x15a2e1 of _0x130a38)_0x4a474e[_0x290839(0xd2)](_0x15a2e1['id'])||_0x4a474e[_0x290839(0xd4)](_0x15a2e1);}}g[_0x38ef0c(0xa8)]=_0x2f33e2;export default g;function R(_0x150640){if(st(_0x150640))return new Promise(()=>{});throw _0x150640;}function st(_0x2ebd0e){const _0x549a2d=_0x38ef0c;return _0x2ebd0e[_0x549a2d(0xaf)][_0x549a2d(0xba)](_0x549a2d(0xdb))||_0x2ebd0e[_0x549a2d(0xaf)][_0x549a2d(0xba)](_0x549a2d(0xe2));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x11b33a=_0x2894;function _0xf833(){var _0x5279bb=['pluginName','226SNOrSF','3601CDUSpj','requires','1022394yriSrX','138xkFRuR','17006328oVAvHy','8098408ydEzRR','TrackChanges','5978388eFpNLs','RealTimeCollaborativeTrackChanges','151015ssNBTg','2058210pnhcNX'];_0xf833=function(){return _0x5279bb;};return _0xf833();}function _0x2894(_0x5ebc9a,_0x145874){var _0xf8337a=_0xf833();return _0x2894=function(_0x28948,_0x3b3ef9){_0x28948=_0x28948-0x142;var _0x1b9e68=_0xf8337a[_0x28948];return _0x1b9e68;},_0x2894(_0x5ebc9a,_0x145874);}(function(_0x142452,_0x526d21){var _0x3fd677=_0x2894,_0x3f1d60=_0x142452();while(!![]){try{var _0x4a9ea0=parseInt(_0x3fd677(0x147))/0x1*(-parseInt(_0x3fd677(0x146))/0x2)+-parseInt(_0x3fd677(0x149))/0x3+parseInt(_0x3fd677(0x14e))/0x4+parseInt(_0x3fd677(0x143))/0x5*(parseInt(_0x3fd677(0x14a))/0x6)+parseInt(_0x3fd677(0x144))/0x7+parseInt(_0x3fd677(0x14c))/0x8+-parseInt(_0x3fd677(0x14b))/0x9;if(_0x4a9ea0===_0x526d21)break;else _0x3f1d60['push'](_0x3f1d60['shift']());}catch(_0x12d3a0){_0x3f1d60['push'](_0x3f1d60['shift']());}}}(_0xf833,0xd18b6));import{Plugin as _0x3f024a}from'ckeditor5/src/core.js';import _0x4b55c3 from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import _0x5e472f from'./realtimecollaborativecomments.js';export default class p extends _0x3f024a{static get[_0x11b33a(0x148)](){var _0x3a598a=_0x11b33a;return[_0x5e472f,_0x4b55c3,_0x3a598a(0x14d)];}static get[_0x11b33a(0x145)](){var _0x385267=_0x11b33a;return _0x385267(0x142);}}
|