@ckeditor/ckeditor5-real-time-collaboration 43.1.0-alpha.8 → 43.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x51a186=_0x399f;(function(_0x7c10c,_0x50e39c){const _0x415bbf=_0x399f,_0x53e3a6=_0x7c10c();while(!![]){try{const _0x119c30=parseInt(_0x415bbf(0x26e))/0x1+-parseInt(_0x415bbf(0x275))/0x2+parseInt(_0x415bbf(0x198))/0x3*(parseInt(_0x415bbf(0x215))/0x4)+-parseInt(_0x415bbf(0x1b4))/0x5*(-parseInt(_0x415bbf(0x1ac))/0x6)+parseInt(_0x415bbf(0x271))/0x7*(parseInt(_0x415bbf(0x27e))/0x8)+parseInt(_0x415bbf(0x228))/0x9*(parseInt(_0x415bbf(0x1f9))/0xa)+parseInt(_0x415bbf(0x1cb))/0xb*(-parseInt(_0x415bbf(0x1c0))/0xc);if(_0x119c30===_0x50e39c)break;else _0x53e3a6['push'](_0x53e3a6['shift']());}catch(_0x44a39a){_0x53e3a6['push'](_0x53e3a6['shift']());}}}(_0x3abc,0xe9a7c));import{Plugin as _0x1ad366,PendingActions as _0x558879}from'ckeditor5/src/core.js';import{CKEditorError as _0x41699e,version as _0x198047,uid as _0x199709}from'ckeditor5/src/utils.js';import{Notification as _0x5e1c44}from'ckeditor5/src/ui.js';function _0x399f(_0x48dd58,_0x17cabb){const _0x3abcf2=_0x3abc();return _0x399f=function(_0x399fdd,_0x5166e6){_0x399fdd=_0x399fdd-0x198;let _0x16d22d=_0x3abcf2[_0x399fdd];return _0x16d22d;},_0x399f(_0x48dd58,_0x17cabb);}import{transformSets as _0x546cdc,NoOperation as _0x182927,InsertOperation as _0x34caed,MarkerOperation as _0x56995f,RootAttributeOperation as _0xc13341,OperationFactory as _0x21ef6a,History as _0x2d82b9}from'ckeditor5/src/engine.js';import _0x39d755 from'./websocketgateway.js';import _0x5852c1 from'./sessions.js';import _0x341733 from'./usermarkers.js';import{getTranslation as _0x37dd30}from'../common-translations.js';import{Compressor as _0x44403a}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1ff20a}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x14df29,CollaborativeEditingService as _0x29f087}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x3abc(){const _0x35d1cc=['state','finally','sendOperations','_updateServerHistory','76ogxhJL','version','_service','register','end','$root','realtimecollaborationclient-initservice-incorrect-server-operation','message','CommentsOnly','_bufferedOperations','loadRoot','compress','path','operationsReceived','_setUpDataInit','document:write','add','_applyOperationsSet','init','12136239tucXEO','_connectService','addRoot','realtimecollaborationclient-handleserverresponse','createPositionFromPath','affectsData','getIdOfTheLastOperation','wasUndone','_fetchMissingUsers','model','_knownRootNames','has','rootName','cloudServices.bundleVersion','parse','_ignoredOperations','_baseBufferDelay','requires','marker','_handleSendingSelectionMarkers','_getAffectedRoot','applyOperation','_hasSynchronizationProblem','error','realtimecollaborationclient-sendbufferedoperations','plugins','document','get','map','newRange','disableReadOnlyMode','connection','_isEditingAllowed','unregister','fromJSON','reset','markers','rtc-destroyed','stopListening','change:_isPendingUpdate','push','collaboration','_shouldSendUpdate','createRange','enableReadOnlyMode','_clearPendingAction','setPermissions','off','_addKnownRoot','disconnect','Notification','_compressOperations','pluginName','disconnected','_isPendingUpdate','_operationToId','realtimecollaborationclient-init-document-already-initialized','initData','differ','roots','locale','string','remove','_handleExternalOperations','addOperation','stop','_authorId','change:range','lastOperationId','apply','1817357Bctpxa','change:_isEditingAllowed','offset','161PysvKp','_handleInitialConnectionData','code','rootsAttributes','2204756Purgxt','realtimecollaborationclient-init-non-existent-root','change:hasDomSelection','insert','bind','_refreshUserSelectionMarkers','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.','InsertOperation','_offset','634264cgnieT','targetPosition','catch','rtc-offline','_handleServerResponse','isDocumentOperation','realtimecollaborationclient-initservice-internal-error','PENDING_ACTION_SENDING_DATA','high','_setPendingAction','currentDocumentSession','_bufferRootLoad','_currentBufferDelay','cloud-services-internal-error:\x20Not\x20connected.','_isLoaded','_getOperationsFromInitData','_hasSelectionChanged','_lastServerVersion','_connectAfterSessionHasBeenFlushed','isEnabled','attributes','_sendBufferedOperationsDelayId','mySessionId','selection','channelSessions','baseVersion','_handleReconnectionResponse','_initSessionsHandling','CollaborativeEditingService','return','202623ERkgRe','_compressor','view','then','404','start','_loadRoot','sessionAdd:','_isAttached','wereChangesApplied','forEach','isUndoneOperation','createdAt','real-time-collaboration','history','getConnectedSessions','_initThrowingOnDataSet','isReadOnly','getOperations','userId','714234otUGGb','setIdForTheLastOperation','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','metadata','permissions','decompress','getRoot','connected','25ruzzFx','getMany','root','editor','reconnect','startsWith','position','length','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.','enqueueChange','_crash','createPositionAt','17364kZLFfy','showWarning','reconnection:\x20flushed\x20session','cs:removeUser','directChange','cloudDocumentVersion','_lastSyncedOperationId','data','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','lastDocumentSession','editing','36553fIFVVq','_handleReconnectionError','toJSON','sessionId','_operationIdentifier','ready','multi-root-editor-root-attributes-no-root','Synchronization\x20issue','filter','clone','realtimecollaborationclient-init-connection-failed','409','_isInit','_isDisconnection','destroy','serverHistory','getUser','fire','RealTimeCollaborationClient','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','set','removeFromReconnectionStack','_document','_pendingAction','_disconnectService','affectedSelectable','_waitUntilSynced','sessionCreatedAt','suppressErrorInCollaboration','round','lastSyncVersion','_decompressOperations','createUserMarkerOperations','getOperationAuthor','collaboration-missing-channelid','_shouldSendSelectionUpdate','type','_sendBufferedOperations','slice','listenTo','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_channelId','realtimecollaborationclient-init-session-connection-error','_sendBufferedOperationsDelayed','define','lastOperationAcceptedAt','10mUBMTF','addUser','_saveOperationInBuffer','move','_isConnected','Permissions','__className','addRootAttribute','from','addToReconnectionStack','_disconnectionOperations','config','_handleReceivedOperations','collaboration.channelId','createRoot','includes','connect','keys','entries','batch','_knownOperations','getDocumentDetails','cloud-services-internal-error:\x20Request\x20timeout.','size'];_0x3abc=function(){return _0x35d1cc;};return _0x3abc();}let K=0x1;class l extends _0x1ad366{static get[_0x51a186(0x239)](){return[_0x39d755,_0x5852c1,_0x341733,_0x558879,_0x1ff20a,_0x5e1c44];}static get[_0x51a186(0x25c)](){const _0x497b07=_0x51a186;return _0x497b07(0x1dd);}get[_0x51a186(0x1c5)](){const _0xc43413=_0x51a186;return this[_0xc43413(0x28f)]+this[_0xc43413(0x27d)];}get[_0x51a186(0x28f)](){const _0x231250=_0x51a186;return this[_0x231250(0x1da)][_0x231250(0x216)]-this[_0x231250(0x27d)];}get[_0x51a186(0x1e9)](){const _0x11d090=_0x51a186,_0x5d5103=this[_0x11d090(0x1da)][_0x11d090(0x1aa)]();for(let _0x3a6976=_0x5d5103[_0x11d090(0x1bb)]-0x1;_0x3a6976>=0x0;_0x3a6976--){const _0x2332a9=_0x5d5103[_0x3a6976];if(!this[_0x11d090(0x203)][_0x11d090(0x233)](_0x2332a9))return _0x2332a9[_0x11d090(0x297)]+0x1-this[_0x11d090(0x27d)];}return 0x0;}constructor(_0x4162a0){const _0x48ea37=_0x51a186;if(super(_0x4162a0),this[_0x48ea37(0x27d)]=0x0,this[_0x48ea37(0x1ce)]=null,this[_0x48ea37(0x1da)]=new _0x2d82b9(),this[_0x48ea37(0x1b7)][_0x48ea37(0x204)][_0x48ea37(0x1f7)](_0x48ea37(0x251),{}),this[_0x48ea37(0x1f4)]=this[_0x48ea37(0x1b7)][_0x48ea37(0x204)][_0x48ea37(0x243)](_0x48ea37(0x206)),!this[_0x48ea37(0x1f4)])throw new _0x41699e(_0x48ea37(0x1ed),this);const _0x4417e0=_0x4162a0[_0x48ea37(0x204)][_0x48ea37(0x243)](_0x48ea37(0x235))||_0x198047;this[_0x48ea37(0x217)]=new l[(_0x48ea37(0x29a))](_0x4417e0,this[_0x48ea37(0x1f4)]),this[_0x48ea37(0x1e1)]=this[_0x48ea37(0x1b7)][_0x48ea37(0x231)][_0x48ea37(0x242)],this[_0x48ea37(0x199)]=new _0x44403a(),this[_0x48ea37(0x21e)]=[],this[_0x48ea37(0x20d)]=new WeakSet(),this[_0x48ea37(0x232)]=new Set(),this[_0x48ea37(0x1df)](_0x48ea37(0x25e),!0x1),this[_0x48ea37(0x1df)](_0x48ea37(0x23e),!0x1),this[_0x48ea37(0x1e2)]=null,this[_0x48ea37(0x28e)]=!0x1,this[_0x48ea37(0x293)]=null,this[_0x48ea37(0x238)]=0x12c,this[_0x48ea37(0x28a)]=this[_0x48ea37(0x238)],this[_0x48ea37(0x1c6)]=null,this[_0x48ea37(0x203)]=new WeakSet(),this[_0x48ea37(0x1cf)]=new X(this[_0x48ea37(0x203)]);}[_0x51a186(0x227)](){const _0x163b79=_0x51a186,_0x26431a=this[_0x163b79(0x1b7)],_0x20fe03=_0x26431a[_0x163b79(0x241)][_0x163b79(0x243)](_0x1ff20a),_0x11dc06=_0x26431a[_0x163b79(0x241)][_0x163b79(0x243)](_0x39d755);this[_0x163b79(0x1f2)](_0x20fe03,_0x163b79(0x1ec),(_0x19fd45,_0x4c8f1d)=>{const _0x55ebba=_0x163b79,_0x55d2a6=_0x4c8f1d[0x0];_0x55d2a6[_0x55ebba(0x26a)]&&(_0x19fd45[_0x55ebba(0x29b)]=_0x20fe03[_0x55ebba(0x1db)](_0x55d2a6[_0x55ebba(0x26a)]),_0x19fd45[_0x55ebba(0x269)]()),null===_0x55d2a6[_0x55ebba(0x26a)]&&(_0x19fd45[_0x55ebba(0x29b)]=null,_0x19fd45[_0x55ebba(0x269)]());},{'priority':_0x163b79(0x286)}),this[_0x163b79(0x1f2)](_0x26431a[_0x163b79(0x231)][_0x163b79(0x242)][_0x163b79(0x295)],_0x163b79(0x26b),(_0x161bdb,_0x2d22d3)=>{const _0x569714=_0x163b79;_0x2d22d3[_0x569714(0x1c4)]&&this[_0x569714(0x27a)]();}),this[_0x163b79(0x1f2)](_0x26431a[_0x163b79(0x1ca)][_0x163b79(0x19a)],_0x163b79(0x277),()=>{const _0x427e37=_0x163b79;this[_0x427e37(0x27a)]();}),this[_0x163b79(0x1a8)](),_0x26431a[_0x163b79(0x231)]['on'](_0x163b79(0x23d),(_0x29daee,_0x423c4f)=>{const _0x3c1b86=_0x163b79,_0x26a47a=_0x423c4f[0x0];_0x26a47a[_0x3c1b86(0x283)]&&(this[_0x3c1b86(0x1fb)](_0x26a47a),this[_0x3c1b86(0x252)]()&&this[_0x3c1b86(0x1f6)]());}),this[_0x163b79(0x223)](),this[_0x163b79(0x279)](_0x163b79(0x248))['to'](_0x11dc06,_0x163b79(0x211),this,_0x163b79(0x23e),(_0x371e7f,_0x29177d)=>_0x163b79(0x1b3)===_0x371e7f&&!_0x29177d),this['on'](_0x163b79(0x26f),()=>{const _0x2fa799=_0x163b79;this[_0x2fa799(0x248)]?_0x26431a[_0x2fa799(0x246)](_0x2fa799(0x281)):_0x26431a[_0x2fa799(0x254)](_0x2fa799(0x281));}),this[_0x163b79(0x248)]?_0x26431a[_0x163b79(0x246)](_0x163b79(0x281)):_0x26431a[_0x163b79(0x254)](_0x163b79(0x281)),this[_0x163b79(0x1df)](_0x163b79(0x1fd),!0x1);}async[_0x51a186(0x1b8)](){const _0x3da00b=_0x51a186,_0x2eba86=this[_0x3da00b(0x1b7)][_0x3da00b(0x241)][_0x3da00b(0x243)](_0x5852c1),_0x27bbf5=this[_0x3da00b(0x1b7)][_0x3da00b(0x241)][_0x3da00b(0x243)](_0x39d755);try{this[_0x3da00b(0x25e)]=!0x0,_0x2eba86[_0x3da00b(0x249)](this[_0x3da00b(0x1f4)]);const _0x18dd68=await this[_0x3da00b(0x217)][_0x3da00b(0x1b8)](_0x27bbf5[_0x3da00b(0x247)],this[_0x3da00b(0x1e9)]);await this[_0x3da00b(0x298)](_0x18dd68)&&(this[_0x3da00b(0x25e)]=!0x1,this[_0x3da00b(0x255)]());const _0x3974a6=await this[_0x3da00b(0x217)][_0x3da00b(0x1a7)]();_0x2eba86[_0x3da00b(0x218)](this[_0x3da00b(0x1f4)],_0x3974a6),this[_0x3da00b(0x23b)](),this[_0x3da00b(0x1fd)]=!0x0;}catch(_0x419d2f){if(function(_0x159a44){const _0x568737=_0x3da00b;return _0x568737(0x19c)===_0x159a44[_0x568737(0x273)];}(_0x419d2f)&&this[_0x3da00b(0x1ce)])await this[_0x3da00b(0x290)]();else{if(function(_0x446f10){const _0x34b8be=_0x3da00b;return _0x34b8be(0x1d6)===_0x446f10[_0x34b8be(0x273)];}(_0x419d2f)){const _0x28fb7e=_0x37dd30(this[_0x3da00b(0x1b7)][_0x3da00b(0x264)],_0x3da00b(0x1f3));this[_0x3da00b(0x1cc)](_0x28fb7e);}else{if(!(_0x419d2f instanceof J))throw _0x419d2f;this[_0x3da00b(0x1cc)]();}}}}[_0x51a186(0x1d9)](){const _0x5c1b4d=_0x51a186,_0x328948=this[_0x5c1b4d(0x1b7)][_0x5c1b4d(0x241)][_0x5c1b4d(0x243)](_0x39d755),_0x4d4b4e=this[_0x5c1b4d(0x1b7)][_0x5c1b4d(0x241)][_0x5c1b4d(0x243)](_0x5852c1);this[_0x5c1b4d(0x1b7)][_0x5c1b4d(0x254)](_0x5c1b4d(0x24d)),_0x4d4b4e[_0x5c1b4d(0x296)][_0x5c1b4d(0x233)](this[_0x5c1b4d(0x1f4)])&&_0x4d4b4e[_0x5c1b4d(0x249)](this[_0x5c1b4d(0x1f4)]),_0x328948[_0x5c1b4d(0x1e0)](this),this[_0x5c1b4d(0x1e3)](),super[_0x5c1b4d(0x1d9)]();}async[_0x51a186(0x298)](_0x5de484){const _0xdbf848=_0x51a186;if(this[_0xdbf848(0x1ce)]!==_0x5de484[_0xdbf848(0x1ce)]&&this[_0xdbf848(0x1c6)]!==_0x5de484[_0xdbf848(0x26c)])throw new J();return this[_0xdbf848(0x1ce)]=_0x5de484[_0xdbf848(0x1ce)],this[_0xdbf848(0x282)]([],{..._0x5de484,'wereChangesApplied':!0x1,'data':_0x5de484[_0xdbf848(0x1c7)]},_0xdbf848(0x1b8));}async[_0x51a186(0x229)](_0x3bc90d,_0x89137f=!0x1){const _0x5c1767=_0x51a186,{connection:_0x59a365}=this[_0x5c1767(0x1b7)][_0x5c1767(0x241)][_0x5c1767(0x243)](_0x39d755);l[_0x5c1767(0x29a)][_0x5c1767(0x1a7)](_0x59a365,this[_0x5c1767(0x1f4)])[_0x5c1767(0x19b)](_0x1baac8=>this[_0x5c1767(0x299)](_0x1baac8))[_0x5c1767(0x280)](_0x4b6657=>{const _0x5e5726=_0x5c1767;this[_0x5e5726(0x1be)](_0x5e5726(0x1f5),_0x4b6657);}),this[_0x5c1767(0x1f2)](this[_0x5c1767(0x217)],_0x5c1767(0x222),this[_0x5c1767(0x205)][_0x5c1767(0x279)](this)),this[_0x5c1767(0x1f2)](this[_0x5c1767(0x217)],_0x5c1767(0x23f),(_0x2aeeab,_0x31c1d2)=>{const _0x4915e5=_0x5c1767;this[_0x4915e5(0x1be)](_0x4915e5(0x284),_0x31c1d2);}),this[_0x5c1767(0x1f2)](this[_0x5c1767(0x217)],_0x5c1767(0x25d),()=>{const _0x1cc81b=_0x5c1767;this[_0x1cc81b(0x1fd)]=!0x1;});const _0xaf9df2=this[_0x5c1767(0x1cf)][_0x5c1767(0x22e)](_0x3bc90d);this[_0x5c1767(0x25e)]=!0x0;const _0xa65821=await this[_0x5c1767(0x217)][_0x5c1767(0x209)](_0x59a365,this[_0x5c1767(0x25b)](_0x3bc90d),_0xaf9df2);if(this[_0x5c1767(0x1ce)]=_0xa65821[_0x5c1767(0x1ce)],_0x89137f){if(!_0xa65821[_0x5c1767(0x1a1)])return void this[_0x5c1767(0x1cc)]();this[_0x5c1767(0x25e)]=!0x1,this[_0x5c1767(0x255)](),this[_0x5c1767(0x1da)][_0x5c1767(0x24b)](),this[_0x5c1767(0x27d)]=_0xa65821[_0x5c1767(0x270)],this[_0x5c1767(0x1da)][_0x5c1767(0x216)]=this[_0x5c1767(0x27d)],await this[_0x5c1767(0x282)](_0x3bc90d,_0xa65821,_0x5c1767(0x1c2));}else await this[_0x5c1767(0x272)](_0xa65821,_0x3bc90d);this[_0x5c1767(0x23b)](),this[_0x5c1767(0x1fd)]=!0x0;}[_0x51a186(0x23b)](){const _0x1f4774=_0x51a186,_0x5cbcdc=this[_0x1f4774(0x1b7)][_0x1f4774(0x241)][_0x1f4774(0x243)](_0x5852c1),_0x4efb94=this[_0x1f4774(0x1b7)][_0x1f4774(0x241)][_0x1f4774(0x243)](_0x341733),_0x2cc569=_0x5cbcdc[_0x1f4774(0x296)][_0x1f4774(0x243)](this[_0x1f4774(0x1f4)]);_0x2cc569&&_0x2cc569[_0x1f4774(0x1bb)]>0x1?_0x4efb94[_0x1f4774(0x1eb)]():this[_0x1f4774(0x1f2)](_0x5cbcdc,_0x1f4774(0x19f)+this[_0x1f4774(0x1f4)],()=>{const _0x4f3ebb=_0x1f4774;0x2===_0x5cbcdc[_0x4f3ebb(0x296)][_0x4f3ebb(0x243)](this[_0x4f3ebb(0x1f4)])[_0x4f3ebb(0x1bb)]&&_0x4efb94[_0x4f3ebb(0x1eb)]();});}async[_0x51a186(0x205)](_0x1adb3d,_0x28d82a,_0x280b3c,_0x63627){const _0x32e95e=_0x51a186;if(!this[_0x32e95e(0x25e)]&&this[_0x32e95e(0x1e1)][_0x32e95e(0x216)]==_0x28d82a){const _0x2c1d4d=this[_0x32e95e(0x1ea)](_0x280b3c,_0x63627);await this[_0x32e95e(0x230)](_0x2c1d4d),this[_0x32e95e(0x267)](_0x2c1d4d,_0x28d82a,_0x280b3c[_0x32e95e(0x26c)])||this[_0x32e95e(0x1be)](_0x32e95e(0x21b));}}async[_0x51a186(0x290)](){const _0xeec2ab=_0x51a186;this[_0xeec2ab(0x1e3)]();const {locale:_0x3ca47}=this[_0xeec2ab(0x1b7)];let _0x286b74;try{_0x286b74=await this[_0xeec2ab(0x217)][_0xeec2ab(0x20e)]();}catch(_0x448cf1){const _0x52183f=_0x37dd30(_0x3ca47,_0xeec2ab(0x1ae));return void this[_0xeec2ab(0x1cc)](_0x52183f);}const _0x419ea0=_0x286b74[_0xeec2ab(0x288)]||_0x286b74[_0xeec2ab(0x1c9)];if(this[_0xeec2ab(0x1c6)]===_0x419ea0[_0xeec2ab(0x26c)])await this[_0xeec2ab(0x229)](this[_0xeec2ab(0x1b7)][_0xeec2ab(0x231)][_0xeec2ab(0x242)][_0xeec2ab(0x1a6)][_0xeec2ab(0x1aa)](),!0x0);else{const _0xab586e=_0x37dd30(_0x3ca47,_0xeec2ab(0x1bc));this[_0xeec2ab(0x1cc)](_0xab586e);}}[_0x51a186(0x1e3)](){const _0x1d82f9=_0x51a186;this[_0x1d82f9(0x217)][_0x1d82f9(0x259)](),this[_0x1d82f9(0x21e)]=[],clearTimeout(this[_0x1d82f9(0x293)]),this[_0x1d82f9(0x24e)](this[_0x1d82f9(0x217)]);}[_0x51a186(0x299)](_0x21b5ad){const _0x21b92c=_0x51a186,_0x11fa5b=this[_0x21b92c(0x1b7)][_0x21b92c(0x241)][_0x21b92c(0x243)](_0x5852c1);this[_0x21b92c(0x1f2)](_0x11fa5b,_0x21b92c(0x19f)+this[_0x21b92c(0x1f4)],(_0x2fa6c2,{session:_0x51fdff})=>{const _0x56d30c=_0x21b92c;if(_0x51fdff['id']===_0x11fa5b[_0x56d30c(0x294)]){_0x2fa6c2[_0x56d30c(0x257)]();const _0x5cb741=this[_0x56d30c(0x1b7)][_0x56d30c(0x241)][_0x56d30c(0x233)](_0x56d30c(0x21d))&&this[_0x56d30c(0x1b7)][_0x56d30c(0x241)][_0x56d30c(0x243)](_0x56d30c(0x21d));let _0x5e66e6=_0x51fdff[_0x56d30c(0x1b0)];_0x5cb741&&_0x5cb741[_0x56d30c(0x291)]&&(_0x5e66e6=_0x5e66e6[_0x56d30c(0x1d3)](_0x161199=>_0x56d30c(0x224)!==_0x161199)),this[_0x56d30c(0x1b7)][_0x56d30c(0x241)][_0x56d30c(0x243)](_0x56d30c(0x1fe))[_0x56d30c(0x256)](_0x5e66e6,this[_0x56d30c(0x1f4)]);}}),_0x11fa5b[_0x21b92c(0x218)](this[_0x21b92c(0x1f4)],_0x21b5ad);}[_0x51a186(0x1a8)](){const _0x3693ce=_0x51a186,_0x33f192=this[_0x3693ce(0x1b7)][_0x3693ce(0x1c7)][_0x3693ce(0x1df)];this[_0x3693ce(0x1b7)][_0x3693ce(0x1c7)][_0x3693ce(0x1df)]=(..._0x30850f)=>{const _0xc4b25d=_0x3693ce;if(!_0x30850f[_0x30850f[_0xc4b25d(0x1bb)]-0x1][_0xc4b25d(0x1e7)])throw new _0x41699e(_0xc4b25d(0x1c8),this);_0x33f192[_0xc4b25d(0x26d)](this[_0xc4b25d(0x1b7)][_0xc4b25d(0x1c7)],_0x30850f);};}[_0x51a186(0x223)](){const _0x20c4e0=_0x51a186;this[_0x20c4e0(0x1b7)][_0x20c4e0(0x1c7)]['on'](_0x20c4e0(0x227),(_0x2d1c50,[_0x18a1c7])=>{const _0x4870cf=_0x20c4e0;if(this[_0x4870cf(0x1e1)][_0x4870cf(0x216)])throw new _0x41699e(_0x4870cf(0x260),this);_0x2d1c50[_0x4870cf(0x269)](),this[_0x4870cf(0x287)]();const _0x8ce0b2=this[_0x4870cf(0x1b7)][_0x4870cf(0x204)][_0x4870cf(0x243)](_0x4870cf(0x274)),_0x3ee864=this[_0x4870cf(0x28d)](_0x18a1c7,_0x8ce0b2);0x0==_0x3ee864[_0x4870cf(0x1bb)]&&_0x3ee864[_0x4870cf(0x250)](new _0x182927(0x0)),_0x2d1c50[_0x4870cf(0x29b)]=this[_0x4870cf(0x229)](_0x3ee864)[_0x4870cf(0x19b)](()=>{const _0x556060=_0x4870cf;this[_0x556060(0x1b7)][_0x556060(0x241)][_0x556060(0x243)](_0x39d755)[_0x556060(0x202)](this),this[_0x556060(0x1b7)][_0x556060(0x1c7)][_0x556060(0x1dc)](_0x556060(0x1d0));})[_0x4870cf(0x280)](_0x364e65=>this[_0x4870cf(0x1be)](_0x4870cf(0x1d5),_0x364e65))[_0x4870cf(0x212)](()=>this[_0x4870cf(0x255)]());},{'priority':_0x20c4e0(0x286)}),this[_0x20c4e0(0x1b7)]['on'](_0x20c4e0(0x21f),async(_0x45dee3,[_0x48e494,_0x3c29a1])=>{const _0x2cd297=_0x20c4e0;_0x45dee3[_0x2cd297(0x269)]();const _0x39d0d8=this[_0x2cd297(0x1b7)][_0x2cd297(0x231)][_0x2cd297(0x242)][_0x2cd297(0x1b2)](_0x48e494);if(!this[_0x2cd297(0x232)][_0x2cd297(0x233)](_0x48e494)){const _0x643272=_0x3c29a1&&_0x3c29a1[_0x2cd297(0x1c7)]?_0x3c29a1[_0x2cd297(0x1c7)]:'',_0x1e7894=_0x3c29a1&&_0x3c29a1[_0x2cd297(0x292)]?_0x3c29a1[_0x2cd297(0x292)]:{};await this[_0x2cd297(0x19e)](_0x48e494,_0x643272,_0x1e7894);}this[_0x2cd297(0x1b7)][_0x2cd297(0x231)][_0x2cd297(0x1bd)]({'isUndoable':!0x1},()=>{const _0x5d91ef=_0x2cd297;_0x39d0d8[_0x5d91ef(0x28c)]=!0x0,this[_0x5d91ef(0x1b7)][_0x5d91ef(0x231)][_0x5d91ef(0x242)][_0x5d91ef(0x262)][_0x5d91ef(0x289)](_0x39d0d8);});},{'priority':_0x20c4e0(0x286)});}async[_0x51a186(0x230)](_0x357e64){const _0x367f2c=_0x51a186,_0x256f77=this[_0x367f2c(0x1b7)][_0x367f2c(0x241)][_0x367f2c(0x243)](_0x1ff20a),{connection:_0x44a2c4}=this[_0x367f2c(0x1b7)][_0x367f2c(0x241)][_0x367f2c(0x243)](_0x39d755),_0x3f94db=new Set();for(const _0x135b3b of _0x357e64){const _0x5a67a7=_0x135b3b[_0x367f2c(0x26a)];_0x5a67a7&&!_0x256f77[_0x367f2c(0x1db)](_0x5a67a7)&&_0x3f94db[_0x367f2c(0x225)](_0x5a67a7);}if(0x0===_0x3f94db[_0x367f2c(0x210)])return;const _0x235549=await _0x14df29[_0x367f2c(0x1b5)](_0x44a2c4,Array[_0x367f2c(0x201)](_0x3f94db));for(const _0x53a835 of _0x235549)_0x256f77[_0x367f2c(0x1db)](_0x53a835['id'])||_0x256f77[_0x367f2c(0x1fa)](_0x53a835);}[_0x51a186(0x28d)](_0x314630,_0x5d96c7={}){const _0x129554=_0x51a186,_0x20dd14=this[_0x129554(0x1b7)][_0x129554(0x231)],_0x1f107a=[];let _0x1b5d02=0x0;const _0x88d8e9=_0x129554(0x265)==typeof _0x314630?{'main':_0x314630}:_0x314630;for(const _0x22cead of Object[_0x129554(0x20a)](_0x88d8e9)){if(!this[_0x129554(0x1e1)][_0x129554(0x263)][_0x129554(0x233)](_0x22cead))throw new _0x41699e(_0x129554(0x276),this);const _0x3fcd39=this[_0x129554(0x1b7)][_0x129554(0x1c7)][_0x129554(0x236)](_0x88d8e9[_0x22cead]),_0x3d0916=this[_0x129554(0x1e1)][_0x129554(0x1b2)](_0x22cead),_0x15be09=new _0x34caed(_0x20dd14[_0x129554(0x1bf)](_0x3d0916,0x0),_0x3fcd39,_0x1b5d02++);_0x1f107a[_0x129554(0x250)](_0x15be09);for(const [_0x50f721,_0x141412]of _0x3fcd39[_0x129554(0x24c)]){const _0x277664=_0x20dd14[_0x129554(0x253)](_0x20dd14[_0x129554(0x22c)](_0x3d0916,_0x141412[_0x129554(0x19d)][_0x129554(0x221)][_0x129554(0x1f1)]()),_0x20dd14[_0x129554(0x22c)](_0x3d0916,_0x141412[_0x129554(0x219)][_0x129554(0x221)][_0x129554(0x1f1)]())),_0x50d1c1=new _0x56995f(_0x50f721,null,_0x277664,_0x20dd14[_0x129554(0x24c)],!0x0,_0x1b5d02++);_0x1f107a[_0x129554(0x250)](_0x50d1c1);}}if(_0x5d96c7)for(const [_0x1d7c22,_0x4d5157]of Object[_0x129554(0x20b)](_0x5d96c7)){const _0x1fe2f1=_0x20dd14[_0x129554(0x242)][_0x129554(0x1b2)](_0x1d7c22);if(!_0x1fe2f1)throw new _0x41699e(_0x129554(0x1d1),null);for(const [_0x57d990,_0x6b4ba6]of Object[_0x129554(0x20b)](_0x4d5157))if(null!==_0x6b4ba6){const _0x3e7e21=new _0xc13341(_0x1fe2f1,_0x57d990,null,_0x6b4ba6,_0x1b5d02++);_0x1f107a[_0x129554(0x250)](_0x3e7e21);}}return _0x1f107a;}async[_0x51a186(0x19e)](_0x32fbe1,_0x44f16d,_0x26ee23){const _0x4e3be0=_0x51a186;this[_0x4e3be0(0x28d)]({[_0x32fbe1]:_0x44f16d},{[_0x32fbe1]:_0x26ee23})[_0x4e3be0(0x1a2)]((_0x1d146b,_0x53316b)=>{const _0x1144ed=_0x4e3be0;_0x1d146b[_0x1144ed(0x297)]=this[_0x1144ed(0x1e1)][_0x1144ed(0x216)]+_0x53316b,_0x1d146b[_0x1144ed(0x1d7)]=!0x0,this[_0x1144ed(0x1fb)](_0x1d146b);}),this[_0x4e3be0(0x1f6)](),await this[_0x4e3be0(0x1e5)]();}async[_0x51a186(0x272)](_0xac6fff,_0x453422){const _0x46c228=_0x51a186;let _0x42e62c;this[_0x46c228(0x27d)]=_0xac6fff[_0x46c228(0x270)];const _0x11082f=_0xac6fff[_0x46c228(0x1a1)]&&!_0xac6fff[_0x46c228(0x261)],_0x10575b=_0x11082f?0x0:_0xac6fff[_0x46c228(0x1c7)][_0x46c228(0x297)];if(_0x453422[_0x46c228(0x1a2)](_0xcfce5a=>{const _0x25db70=_0x46c228;_0xcfce5a[_0x25db70(0x1d7)]=!0x0,_0xcfce5a[_0x25db70(0x1a4)]=_0xac6fff[_0x25db70(0x1e6)],_0xcfce5a[_0x25db70(0x26a)]=null;}),_0x11082f)_0x42e62c=_0x453422,this[_0x46c228(0x226)](_0x42e62c,_0x11082f);else{if(_0xac6fff[_0x46c228(0x261)]){const _0x1cce1e=this[_0x46c228(0x28d)](_0xac6fff[_0x46c228(0x261)]);this[_0x46c228(0x1e1)][_0x46c228(0x1a6)][_0x46c228(0x216)]=-_0x1cce1e[_0x46c228(0x1bb)],_0x1cce1e[_0x46c228(0x1a2)](_0x117c1b=>{const _0x3e1843=_0x46c228;_0x117c1b[_0x3e1843(0x297)]-=_0x1cce1e[_0x3e1843(0x1bb)],_0x117c1b[_0x3e1843(0x1a4)]=_0xac6fff[_0x3e1843(0x1e6)],_0x117c1b[_0x3e1843(0x1d7)]=!0x0,_0x117c1b[_0x3e1843(0x26a)]=null;}),this[_0x46c228(0x226)](_0x1cce1e,!0x0),this[_0x46c228(0x1da)][_0x46c228(0x216)]=-_0x1cce1e[_0x46c228(0x1bb)]+this[_0x46c228(0x27d)],this[_0x46c228(0x214)](_0x1cce1e);}this[_0x46c228(0x1e1)][_0x46c228(0x1a6)][_0x46c228(0x216)]=_0x10575b,_0x42e62c=this[_0x46c228(0x1ea)](_0xac6fff[_0x46c228(0x1c7)],_0xac6fff[_0x46c228(0x1af)]),await this[_0x46c228(0x230)](_0x42e62c),this[_0x46c228(0x226)](_0x42e62c,_0x11082f);}_0xac6fff[_0x46c228(0x26c)]&&(this[_0x46c228(0x1cf)][_0x46c228(0x1ad)](_0x42e62c,_0xac6fff[_0x46c228(0x26c)]),this[_0x46c228(0x1c6)]=_0xac6fff[_0x46c228(0x26c)]),this[_0x46c228(0x1da)][_0x46c228(0x216)]=_0x10575b+this[_0x46c228(0x27d)],this[_0x46c228(0x214)](_0x42e62c),_0x453422[_0x46c228(0x1d3)](_0x1bb8f9=>{const _0x44552b=_0x46c228,_0x599d21=this[_0x44552b(0x23c)](_0x1bb8f9);return _0x599d21&&!this[_0x44552b(0x232)][_0x44552b(0x233)](_0x599d21);})[_0x46c228(0x1a2)]((_0x11dbf8,_0x4b2366)=>{const _0x1b6961=_0x46c228;_0x11dbf8[_0x1b6961(0x297)]=this[_0x1b6961(0x1e1)][_0x1b6961(0x216)]+_0x4b2366,this[_0x1b6961(0x1fb)](_0x11dbf8);}),this[_0x46c228(0x252)]()?(this[_0x46c228(0x28a)]=0x0,this[_0x46c228(0x1f6)](!0x0),await this[_0x46c228(0x1e5)]()):(this[_0x46c228(0x25e)]=!0x1,this[_0x46c228(0x255)]());}[_0x51a186(0x1be)](_0x1eb1f4,_0x464637){const _0x691d5a=_0x51a186;throw this[_0x691d5a(0x25e)]=!0x0,_0x464637&&console[_0x691d5a(0x23f)](_0x464637),new _0x41699e(_0x1eb1f4,this[_0x691d5a(0x1b7)]);}[_0x51a186(0x1fb)](_0x496afb){const _0x4499af=_0x51a186;this[_0x4499af(0x20d)][_0x4499af(0x233)](_0x496afb)||(this[_0x4499af(0x20d)][_0x4499af(0x225)](_0x496afb),this[_0x4499af(0x21e)][_0x4499af(0x250)](_0x496afb),this[_0x4499af(0x1e2)]||_0x4499af(0x23a)==_0x496afb[_0x4499af(0x1ef)]&&!_0x496afb[_0x4499af(0x22d)]||this[_0x4499af(0x287)]());}[_0x51a186(0x1f6)](_0x523f41=!0x1){const _0x34e81a=_0x51a186;!_0x523f41&&this[_0x34e81a(0x25e)]||(this[_0x34e81a(0x25e)]=!0x0,clearTimeout(this[_0x34e81a(0x293)]),this[_0x34e81a(0x293)]=setTimeout(()=>{const _0x4f5a30=_0x34e81a;this[_0x4f5a30(0x1f0)]()[_0x4f5a30(0x19b)](_0x1cc767=>{const _0xff33b0=_0x4f5a30;_0x1cc767&&(this[_0xff33b0(0x255)](),this[_0xff33b0(0x25e)]=!0x1);})[_0x4f5a30(0x280)](_0xb5f351=>{const _0xca101f=_0x4f5a30;if(this[_0xca101f(0x255)](),this[_0xca101f(0x25e)]=!0x1,!function(_0x494cc9){const _0x17ddd0=_0xca101f;return _0x494cc9[_0x17ddd0(0x21c)][_0x17ddd0(0x1b9)](_0x17ddd0(0x28b))||_0x494cc9[_0x17ddd0(0x21c)][_0x17ddd0(0x1b9)](_0x17ddd0(0x1de))||_0x494cc9[_0x17ddd0(0x21c)][_0x17ddd0(0x1b9)](_0x17ddd0(0x20f));}(_0xb5f351))throw _0xb5f351;});},this[_0x34e81a(0x28a)]));}[_0x51a186(0x1e5)](){return new Promise(_0x5e336f=>{const _0x6df09=_0x399f;this['on'](_0x6df09(0x24f),()=>{_0x5e336f();});});}async[_0x51a186(0x1f0)](){const _0x2ed5c9=_0x51a186,_0x192dc2=this[_0x2ed5c9(0x1b7)][_0x2ed5c9(0x241)][_0x2ed5c9(0x243)](_0x341733);if(this[_0x2ed5c9(0x1ee)]()&&(_0x192dc2[_0x2ed5c9(0x1eb)](),this[_0x2ed5c9(0x28e)]=!0x1),!this[_0x2ed5c9(0x252)]())return!0x0;const _0x3b1852=[...this[_0x2ed5c9(0x21e)]];for(const _0x226649 of _0x3b1852)_0x226649[_0x2ed5c9(0x22f)]=this[_0x2ed5c9(0x1e1)][_0x2ed5c9(0x1a6)][_0x2ed5c9(0x1a3)](_0x226649);const _0x1c756b=this[_0x2ed5c9(0x1cf)][_0x2ed5c9(0x22e)](_0x3b1852),_0x4fd6ad=K++,_0x6ddee3=this[_0x2ed5c9(0x25b)](_0x3b1852),_0x38c895=await this[_0x2ed5c9(0x217)][_0x2ed5c9(0x213)](_0x6ddee3,_0x6ddee3[_0x2ed5c9(0x297)],_0x1c756b);try{return await this[_0x2ed5c9(0x282)](_0x3b1852,_0x38c895,_0x4fd6ad);}catch(_0x3acb6c){return this[_0x2ed5c9(0x1be)](_0x2ed5c9(0x240),_0x3acb6c);}}async[_0x51a186(0x282)](_0xc323da,_0x18d6bf,_0x4d6c0e){const _0x59b4a0=_0x51a186;if(_0x59b4a0(0x23f)in _0x18d6bf)throw _0x18d6bf[_0x59b4a0(0x23f)];let _0x5cf746=!0x1;if(_0x18d6bf[_0x59b4a0(0x1a1)]){_0x18d6bf[_0x59b4a0(0x26c)]&&(this[_0x59b4a0(0x1c6)]=_0x18d6bf[_0x59b4a0(0x26c)]),this[_0x59b4a0(0x21e)]=this[_0x59b4a0(0x21e)][_0x59b4a0(0x1d3)](_0x41da10=>!_0xc323da[_0x59b4a0(0x208)](_0x41da10));for(const _0xd9238 of _0xc323da)_0xd9238[_0x59b4a0(0x1a4)]=_0x59b4a0(0x1f8)in _0x18d6bf&&_0x18d6bf[_0x59b4a0(0x1f8)]||void 0x0;Q(_0xc323da,_0x18d6bf[_0x59b4a0(0x216)]-_0xc323da[_0x59b4a0(0x1bb)]),this[_0x59b4a0(0x214)](_0xc323da);const _0x21adaf=_0xc323da[_0x59b4a0(0x1d3)](_0x58e47a=>{const _0x293051=_0x59b4a0;if(!_0x58e47a[_0x293051(0x1d7)])return!0x1;const _0x2ea427=this[_0x293051(0x23c)](_0x58e47a);return _0x2ea427&&!this[_0x293051(0x232)][_0x293051(0x233)](_0x2ea427);});Q(_0x21adaf,this[_0x59b4a0(0x1e1)][_0x59b4a0(0x216)]),this[_0x59b4a0(0x226)](_0x21adaf),_0x5cf746=!0x0,this[_0x59b4a0(0x28a)]=this[_0x59b4a0(0x238)];}else{const _0x3ffecf=this[_0x59b4a0(0x1ea)](_0x18d6bf[_0x59b4a0(0x1c7)],_0x18d6bf[_0x59b4a0(0x1af)])[_0x59b4a0(0x1d3)](_0x217f5e=>_0x217f5e[_0x59b4a0(0x297)]>=this[_0x59b4a0(0x28f)]);_0x3ffecf[_0x59b4a0(0x1a2)](_0x305fa7=>this[_0x59b4a0(0x258)](_0x305fa7)),this[_0x59b4a0(0x21e)]=this[_0x59b4a0(0x21e)][_0x59b4a0(0x1d3)](_0x351777=>!_0x351777[_0x59b4a0(0x1d7)]||!this[_0x59b4a0(0x232)][_0x59b4a0(0x233)](this[_0x59b4a0(0x23c)](_0x351777))),this[_0x59b4a0(0x21e)][_0x59b4a0(0x1bb)]&&Q(this[_0x59b4a0(0x21e)],this[_0x59b4a0(0x21e)][0x0][_0x59b4a0(0x297)]),await this[_0x59b4a0(0x230)](_0x3ffecf),_0x5cf746=this[_0x59b4a0(0x267)](_0x3ffecf,_0x18d6bf[_0x59b4a0(0x216)],_0x18d6bf[_0x59b4a0(0x26c)]),this[_0x59b4a0(0x28a)]=Math[_0x59b4a0(0x1e8)](this[_0x59b4a0(0x28a)]/0x2);}return _0x5cf746?!this[_0x59b4a0(0x252)]()||(this[_0x59b4a0(0x1f6)](!0x0),!0x1):this[_0x59b4a0(0x1be)](_0x59b4a0(0x22b));}[_0x51a186(0x267)](_0x2bf717,_0x480825,_0x502324){const _0x352d2e=_0x51a186;try{const _0x18c88b={'document':this[_0x352d2e(0x1e1)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x5718d7,operationsB:_0x51d6c7,originalOperations:_0x3b489b}=_0x546cdc(_0x2bf717,this[_0x352d2e(0x21e)],_0x18c88b);Q(_0x5718d7,this[_0x352d2e(0x1e1)][_0x352d2e(0x216)]),Q(_0x51d6c7,_0x480825);for(const _0x1b7a95 of _0x5718d7){const _0x22e9e4=_0x3b489b[_0x352d2e(0x243)](_0x1b7a95);_0x1b7a95[_0x352d2e(0x26a)]=_0x22e9e4?_0x22e9e4[_0x352d2e(0x26a)]:null;}_0x502324&&(this[_0x352d2e(0x1cf)][_0x352d2e(0x1ad)](_0x2bf717,_0x502324),this[_0x352d2e(0x1c6)]=_0x502324),this[_0x352d2e(0x21e)]=[..._0x51d6c7],this[_0x352d2e(0x226)](_0x5718d7),this[_0x352d2e(0x214)](_0x2bf717);}catch(_0x2682cc){return console[_0x352d2e(0x23f)](_0x2682cc),!0x1;}return!0x0;}[_0x51a186(0x226)](_0x1820a9,_0x4daa6a=!0x1){const _0x105081=_0x51a186;this[_0x105081(0x1b7)][_0x105081(0x231)][_0x105081(0x1bd)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4f0c31=>{const _0x45011c=_0x105081;for(const _0x140069 of _0x1820a9)this[_0x45011c(0x20d)][_0x45011c(0x225)](_0x140069),this[_0x45011c(0x258)](_0x140069),_0x4f0c31[_0x45011c(0x20c)][_0x45011c(0x268)](_0x140069),this[_0x45011c(0x1b7)][_0x45011c(0x231)][_0x45011c(0x23d)](_0x140069);});}[_0x51a186(0x258)](_0x11b6bd){const _0x52797c=_0x51a186,_0x2a5836=this[_0x52797c(0x23c)](_0x11b6bd);_0x2a5836&&this[_0x52797c(0x232)][_0x52797c(0x225)](_0x2a5836);}[_0x51a186(0x23c)](_0x4d24fe){const _0x2798f5=_0x51a186;let _0x5266bb,_0x54f80b;switch(_0x4d24fe[_0x2798f5(0x1ef)]){case _0x2798f5(0x278):_0x5266bb=_0x4d24fe[_0x2798f5(0x1ba)][_0x2798f5(0x1b6)];break;case _0x2798f5(0x23a):if(_0x54f80b=_0x4d24fe[_0x2798f5(0x245)],!_0x54f80b)return null;_0x5266bb=_0x54f80b[_0x2798f5(0x1b6)];break;case _0x2798f5(0x200):_0x5266bb=_0x4d24fe[_0x2798f5(0x1b6)];break;case _0x2798f5(0x22a):_0x5266bb=_0x4d24fe[_0x2798f5(0x1e4)];break;case _0x2798f5(0x1fc):_0x5266bb=_0x4d24fe[_0x2798f5(0x27f)][_0x2798f5(0x1b6)];break;default:return null;}return _0x5266bb[_0x2798f5(0x234)];}[_0x51a186(0x214)](_0xfd08bc){const _0xa2a7c7=_0x51a186;_0xfd08bc[_0xa2a7c7(0x1a2)](_0x12b337=>{const _0x5840c0=_0xa2a7c7,_0x369fc0=_0x12b337[_0x5840c0(0x1d4)]();_0x369fc0[_0x5840c0(0x26a)]=_0x12b337[_0x5840c0(0x26a)],_0x369fc0[_0x5840c0(0x1d7)]=!!_0x12b337[_0x5840c0(0x1d7)],_0x369fc0[_0x5840c0(0x1a4)]=_0x12b337[_0x5840c0(0x1a4)],_0x369fc0[_0x5840c0(0x297)]+=this[_0x5840c0(0x27d)],_0x12b337[_0x5840c0(0x1d8)]&&this[_0x5840c0(0x203)][_0x5840c0(0x225)](_0x369fc0),this[_0x5840c0(0x1da)][_0x5840c0(0x268)](_0x369fc0);});}[_0x51a186(0x1cc)](_0x5eaaca){const _0x4ae35c=_0x51a186,_0x46a2c8=this[_0x4ae35c(0x1b7)][_0x4ae35c(0x241)][_0x4ae35c(0x243)](_0x4ae35c(0x25a)),_0x1c45e7=this[_0x4ae35c(0x1b7)][_0x4ae35c(0x264)];_0x5eaaca||(_0x5eaaca=_0x37dd30(_0x1c45e7,_0x4ae35c(0x27b))),_0x46a2c8[_0x4ae35c(0x1c1)](_0x5eaaca,{'title':_0x37dd30(_0x1c45e7,_0x4ae35c(0x1d2)),'namespace':_0x4ae35c(0x1a5)}),this[_0x4ae35c(0x23e)]=!0x0,clearTimeout(this[_0x4ae35c(0x293)]),this[_0x4ae35c(0x21e)]=[],this[_0x4ae35c(0x1b7)][_0x4ae35c(0x241)][_0x4ae35c(0x243)](_0x39d755)[_0x4ae35c(0x1d9)]();}[_0x51a186(0x287)](){const _0x4de189=_0x51a186;this[_0x4de189(0x1e2)]||(this[_0x4de189(0x1e2)]=this[_0x4de189(0x1b7)][_0x4de189(0x241)][_0x4de189(0x243)](_0x558879)[_0x4de189(0x225)](_0x37dd30(this[_0x4de189(0x1b7)][_0x4de189(0x264)],_0x4de189(0x285))));}[_0x51a186(0x255)](){const _0x5dcb02=_0x51a186;this[_0x5dcb02(0x1e2)]&&(this[_0x5dcb02(0x1b7)][_0x5dcb02(0x241)][_0x5dcb02(0x243)](_0x558879)[_0x5dcb02(0x266)](this[_0x5dcb02(0x1e2)]),this[_0x5dcb02(0x1e2)]=null);}[_0x51a186(0x25b)](_0x2fcfb4){const _0x2301ed=_0x51a186,_0x9252fb=_0x2fcfb4[_0x2301ed(0x244)](_0x2bcd58=>_0x2bcd58[_0x2301ed(0x1cd)]());return this[_0x2301ed(0x199)][_0x2301ed(0x220)](_0x9252fb);}[_0x51a186(0x1ea)](_0x1aff57,_0x1bd985){const _0x3f3805=_0x51a186;return this[_0x3f3805(0x199)][_0x3f3805(0x1b1)](_0x1aff57)[_0x3f3805(0x244)]((_0x7ab69b,_0x108be4)=>{const _0x86a4c0=_0x3f3805,_0x2f7588=_0x86a4c0(0x227)==_0x1bd985[_0x108be4][_0x86a4c0(0x1ef)];if(_0x86a4c0(0x27c)==_0x7ab69b[_0x86a4c0(0x1ff)]){const _0xfdc8ff=_0x7ab69b[_0x86a4c0(0x1ba)][_0x86a4c0(0x1b6)];!this[_0x86a4c0(0x1e1)][_0x86a4c0(0x1b2)](_0xfdc8ff)&&(this[_0x86a4c0(0x1e1)][_0x86a4c0(0x207)](_0x86a4c0(0x21a),_0xfdc8ff)[_0x86a4c0(0x1a0)]=!0x1);}const _0x40a98e=_0x21ef6a[_0x86a4c0(0x24a)](_0x7ab69b,this[_0x86a4c0(0x1e1)]);return _0x40a98e[_0x86a4c0(0x22f)]=_0x7ab69b[_0x86a4c0(0x22f)],_0x40a98e[_0x86a4c0(0x1d7)]=_0x2f7588,_0x40a98e[_0x86a4c0(0x26a)]=_0x2f7588?null:_0x1bd985[_0x108be4][_0x86a4c0(0x1ab)],_0x40a98e[_0x86a4c0(0x1d8)]=_0x86a4c0(0x1c3)===_0x1bd985[_0x108be4][_0x86a4c0(0x1ef)],_0x40a98e[_0x86a4c0(0x1a4)]=_0x1bd985[_0x108be4][_0x86a4c0(0x1a4)],_0x40a98e;});}[_0x51a186(0x27a)](){const _0x23a4a2=_0x51a186;this[_0x23a4a2(0x28e)]=!0x0,this[_0x23a4a2(0x1ee)]()?this[_0x23a4a2(0x1f6)]():this[_0x23a4a2(0x28e)]=!0x1;}[_0x51a186(0x1ee)](){const _0x34d242=_0x51a186,_0x5f5162=this[_0x34d242(0x1b7)][_0x34d242(0x241)][_0x34d242(0x243)](_0x5852c1)[_0x34d242(0x296)][_0x34d242(0x243)](this[_0x34d242(0x1f4)]);return!this[_0x34d242(0x1b7)][_0x34d242(0x1a9)]&&!!_0x5f5162&&_0x5f5162[_0x34d242(0x1bb)]>0x1&&this[_0x34d242(0x28e)];}[_0x51a186(0x252)](){const _0x443793=_0x51a186;return this[_0x443793(0x21e)][_0x443793(0x1bb)]>0x0||this[_0x443793(0x1ee)]();}}l[_0x51a186(0x29a)]=_0x29f087;export default l;class J extends Error{}function Q(_0x159804,_0x5c7aca){const _0x9275c2=_0x51a186;for(const _0x57331b of _0x159804)_0x57331b[_0x9275c2(0x297)]=_0x5c7aca++;}class X{constructor(_0x1fa336){const _0xde68f3=_0x51a186;this[_0xde68f3(0x237)]=_0x1fa336,this[_0xde68f3(0x25f)]=new WeakMap();}[_0x51a186(0x22e)](_0x5c6e45){const _0x2c809d=_0x51a186;let _0x3a9928=_0x5c6e45[_0x2c809d(0x1bb)];for(;_0x3a9928--;){const _0x3d1232=_0x5c6e45[_0x3a9928];if(!this[_0x2c809d(0x237)][_0x2c809d(0x233)](_0x3d1232)){if(!this[_0x2c809d(0x25f)][_0x2c809d(0x233)](_0x3d1232)){const _0x3fe0c7=_0x199709()[_0x2c809d(0x1f1)](0x1,0x12);this[_0x2c809d(0x25f)][_0x2c809d(0x1df)](_0x3d1232,_0x3fe0c7);}return this[_0x2c809d(0x25f)][_0x2c809d(0x243)](_0x3d1232);}}}[_0x51a186(0x1ad)](_0x41e18a,_0x250d78){const _0x3e9429=_0x51a186;if(!_0x250d78)return;let _0x3593a1=_0x41e18a[_0x3e9429(0x1bb)];for(;_0x3593a1--;){const _0x15437f=_0x41e18a[_0x3593a1];this[_0x3e9429(0x237)][_0x3e9429(0x233)](_0x15437f)||this[_0x3e9429(0x25f)][_0x3e9429(0x1df)](_0x15437f,_0x250d78);}}}
|
|
23
|
+
const _0x4c6d35=_0x2df3;(function(_0x164864,_0x4fb2ad){const _0xdb91=_0x2df3,_0x4a1c01=_0x164864();while(!![]){try{const _0xe9905d=parseInt(_0xdb91(0x146))/0x1*(-parseInt(_0xdb91(0x145))/0x2)+parseInt(_0xdb91(0x197))/0x3+-parseInt(_0xdb91(0xc8))/0x4*(-parseInt(_0xdb91(0x172))/0x5)+-parseInt(_0xdb91(0x16d))/0x6+parseInt(_0xdb91(0xc4))/0x7+-parseInt(_0xdb91(0x1af))/0x8*(parseInt(_0xdb91(0x1ac))/0x9)+-parseInt(_0xdb91(0xf1))/0xa;if(_0xe9905d===_0x4fb2ad)break;else _0x4a1c01['push'](_0x4a1c01['shift']());}catch(_0x2e8ce0){_0x4a1c01['push'](_0x4a1c01['shift']());}}}(_0x1b9a,0x845b6));import{Plugin as _0x42ea2e,PendingActions as _0x44b0dd}from'ckeditor5/src/core.js';import{CKEditorError as _0x55529f,version as _0x123b0d,uid as _0x1944f1}from'ckeditor5/src/utils.js';import{Notification as _0x566884}from'ckeditor5/src/ui.js';import{transformSets as _0x454125,NoOperation as _0x2b1fc1,InsertOperation as _0x17bfa2,MarkerOperation as _0x8cb6b0,RootAttributeOperation as _0x4c9afd,OperationFactory as _0x10c948,History as _0x58703a}from'ckeditor5/src/engine.js';import _0x196662 from'./websocketgateway.js';import _0x3476a7 from'./sessions.js';import _0x5b06bf from'./usermarkers.js';import{getTranslation as _0x1870a9}from'../common-translations.js';function _0x1b9a(){const _0x2be87f=['parse','round','_setPendingAction','directChange','from','path','change:hasDomSelection','30MmQQfk','19501wYsHAy','createRange','markers','toJSON','reset','addToReconnectionStack','_hasSynchronizationProblem','sendOperations','enableReadOnlyMode','define','selection','metadata','_ignoredOperations','cloud-services-internal-error:\x20Request\x20timeout.','_sendBufferedOperationsDelayId','_initSessionsHandling','_handleInitialConnectionData','_channelId','requires','getIdOfTheLastOperation','change:_isPendingUpdate','_connectAfterSessionHasBeenFlushed','connected','high','_handleReconnectionResponse','_fetchMissingUsers','newRange','lastSyncVersion','_handleReceivedOperations','slice','_getOperationsFromInitData','addOperation','get','getUser','realtimecollaborationclient-initservice-incorrect-server-operation','RealTimeCollaborationClient','_authorId','affectedSelectable','_handleExternalOperations','3030036rOmhbS','isEnabled','_isInit','__className','rootName','5LjALgK','Notification','_handleReconnectionError','Permissions','pluginName','setPermissions','sessionCreatedAt','init','keys','suppressErrorInCollaboration','marker','collaboration','lastDocumentSession','_disconnectionOperations','baseVersion','state','_compressOperations','realtimecollaborationclient-initservice-internal-error','compress','reconnection:\x20flushed\x20session','_pendingAction','wasUndone','document:write','cloudDocumentVersion','realtimecollaborationclient-sendbufferedoperations','serverHistory','lastOperationAcceptedAt','push','setIdForTheLastOperation','_sendBufferedOperationsDelayed','type','_saveOperationInBuffer','off','userId','config','getDocumentDetails','getConnectedSessions','2892303FhHCxa','cloud-services-internal-error:\x20Not\x20connected.','root','fromJSON','filter','code','then','stop','_isAttached','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','$root','_currentBufferDelay','differ','clone','createUserMarkerOperations','message','_bufferRootLoad','wereChangesApplied','destroy','editor','mySessionId','19845FlDhmS','includes','document','1512nQSioC','entries','unregister','register','editing','_addKnownRoot','lastOperationId','409','realtimecollaborationclient-handleserverresponse','length','_shouldSendUpdate','_getAffectedRoot','_operationToId','addRoot','start','showWarning','getRoot','listenTo','_refreshUserSelectionMarkers','change:_isEditingAllowed','channelSessions','view','return','5628294DDrawJ','_crash','CollaborativeEditingService','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','1323988UaMzap','affectsData','_sendBufferedOperations','sessionAdd:','collaboration.channelId','_disconnectService','_isPendingUpdate','collaboration-missing-channelid','reconnect','addRootAttribute','getOperationAuthor','PENDING_ACTION_SENDING_DATA','_updateServerHistory','loadRoot','disconnected','_knownOperations','ready','plugins','fire','_isLoaded','move','_lastServerVersion','isDocumentOperation','change:range','realtimecollaborationclient-init-connection-failed','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','realtimecollaborationclient-init-session-connection-error','catch','map','realtimecollaborationclient-init-document-already-initialized','offset','history','bind','version','_setUpDataInit','rtc-offline','position','isReadOnly','_connectService','isUndoneOperation','_waitUntilSynced','3427400RtnKUe','_handleSendingSelectionMarkers','roots','currentDocumentSession','insert','createPositionFromPath','rtc-destroyed','_hasSelectionChanged','error','connection','end','attributes','size','apply','_shouldSendSelectionUpdate','getMany','disableReadOnlyMode','connect','has','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','set','startsWith','model','real-time-collaboration','_operationIdentifier','remove','add','createRoot','_offset','_isConnected','rootsAttributes','enqueueChange','_loadRoot','permissions','removeFromReconnectionStack','cs:removeUser','operationsReceived','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','addUser','getOperations','decompress','disconnect','_service','multi-root-editor-root-attributes-no-root','_decompressOperations','targetPosition','cloudServices.bundleVersion','_isDisconnection','_initThrowingOnDataSet','InsertOperation','_baseBufferDelay','data','locale','_bufferedOperations','_handleServerResponse','404','_knownRootNames','Synchronization\x20issue','batch','_compressor','_clearPendingAction','string','stopListening','_document','createdAt','sessionId','CommentsOnly','finally','initData','_lastSyncedOperationId','forEach','_isEditingAllowed','realtimecollaborationclient-init-non-existent-root','_applyOperationsSet','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','applyOperation','createPositionAt'];_0x1b9a=function(){return _0x2be87f;};return _0x1b9a();}function _0x2df3(_0x6a6af9,_0x34c751){const _0x1b9ae8=_0x1b9a();return _0x2df3=function(_0x2df31b,_0x325742){_0x2df31b=_0x2df31b-0xb3;let _0x3a869f=_0x1b9ae8[_0x2df31b];return _0x3a869f;},_0x2df3(_0x6a6af9,_0x34c751);}import{Compressor as _0x4266ed}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x57d553}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x5f15fb,CollaborativeEditingService as _0x351c65}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let F=0x1;class l extends _0x42ea2e{static get[_0x4c6d35(0x158)](){return[_0x196662,_0x3476a7,_0x5b06bf,_0x44b0dd,_0x57d553,_0x566884];}static get[_0x4c6d35(0x176)](){const _0x4188e1=_0x4c6d35;return _0x4188e1(0x169);}get[_0x4c6d35(0x189)](){const _0xd5686=_0x4c6d35;return this[_0xd5686(0xdd)]+this[_0xd5686(0x10d)];}get[_0x4c6d35(0xdd)](){const _0x2a9937=_0x4c6d35;return this[_0x2a9937(0x18b)][_0x2a9937(0xe9)]-this[_0x2a9937(0x10d)];}get[_0x4c6d35(0x161)](){const _0x35795d=_0x4c6d35,_0x36470e=this[_0x35795d(0x18b)][_0x35795d(0x118)]();for(let _0x5c2ac3=_0x36470e[_0x35795d(0xb6)]-0x1;_0x5c2ac3>=0x0;_0x5c2ac3--){const _0x4ba3c8=_0x36470e[_0x5c2ac3];if(!this[_0x35795d(0x17f)][_0x35795d(0x103)](_0x4ba3c8))return _0x4ba3c8[_0x35795d(0x180)]+0x1-this[_0x35795d(0x10d)];}return 0x0;}constructor(_0x165374){const _0x3545b0=_0x4c6d35;if(super(_0x165374),this[_0x3545b0(0x10d)]=0x0,this[_0x3545b0(0x132)]=null,this[_0x3545b0(0x18b)]=new _0x58703a(),this[_0x3545b0(0x1aa)][_0x3545b0(0x194)][_0x3545b0(0x14f)](_0x3545b0(0x17d),{}),this[_0x3545b0(0x157)]=this[_0x3545b0(0x1aa)][_0x3545b0(0x194)][_0x3545b0(0x166)](_0x3545b0(0xcc)),!this[_0x3545b0(0x157)])throw new _0x55529f(_0x3545b0(0xcf),this);const _0x4259a2=_0x165374[_0x3545b0(0x194)][_0x3545b0(0x166)](_0x3545b0(0x11f))||_0x123b0d;this[_0x3545b0(0x11b)]=new l[(_0x3545b0(0xc6))](_0x4259a2,this[_0x3545b0(0x157)]),this[_0x3545b0(0x130)]=this[_0x3545b0(0x1aa)][_0x3545b0(0x107)][_0x3545b0(0x1ae)],this[_0x3545b0(0x12c)]=new _0x4266ed(),this[_0x3545b0(0x126)]=[],this[_0x3545b0(0xd7)]=new WeakSet(),this[_0x3545b0(0x129)]=new Set(),this[_0x3545b0(0x105)](_0x3545b0(0xce),!0x1),this[_0x3545b0(0x105)](_0x3545b0(0x14c),!0x1),this[_0x3545b0(0x186)]=null,this[_0x3545b0(0xf8)]=!0x1,this[_0x3545b0(0x154)]=null,this[_0x3545b0(0x123)]=0x12c,this[_0x3545b0(0x1a2)]=this[_0x3545b0(0x123)],this[_0x3545b0(0x136)]=null,this[_0x3545b0(0x17f)]=new WeakSet(),this[_0x3545b0(0x109)]=new G(this[_0x3545b0(0x17f)]);}[_0x4c6d35(0x179)](){const _0x14774=_0x4c6d35,_0xc3672c=this[_0x14774(0x1aa)],_0x4f874d=_0xc3672c[_0x14774(0xd9)][_0x14774(0x166)](_0x57d553),_0x4acecd=_0xc3672c[_0x14774(0xd9)][_0x14774(0x166)](_0x196662);this[_0x14774(0xbe)](_0x4f874d,_0x14774(0xd2),(_0x29439c,_0x55eb52)=>{const _0x4f5986=_0x14774,_0x51ca01=_0x55eb52[0x0];_0x51ca01[_0x4f5986(0x16a)]&&(_0x29439c[_0x4f5986(0xc3)]=_0x4f874d[_0x4f5986(0x167)](_0x51ca01[_0x4f5986(0x16a)]),_0x29439c[_0x4f5986(0x19e)]()),null===_0x51ca01[_0x4f5986(0x16a)]&&(_0x29439c[_0x4f5986(0xc3)]=null,_0x29439c[_0x4f5986(0x19e)]());},{'priority':_0x14774(0x15d)}),this[_0x14774(0xbe)](_0xc3672c[_0x14774(0x107)][_0x14774(0x1ae)][_0x14774(0x150)],_0x14774(0xdf),(_0x142b18,_0xbe4909)=>{const _0x5d2f02=_0x14774;_0xbe4909[_0x5d2f02(0x141)]&&this[_0x5d2f02(0xbf)]();}),this[_0x14774(0xbe)](_0xc3672c[_0x14774(0x1b3)][_0x14774(0xc2)],_0x14774(0x144),()=>{const _0x3330fc=_0x14774;this[_0x3330fc(0xbf)]();}),this[_0x14774(0x121)](),_0xc3672c[_0x14774(0x107)]['on'](_0x14774(0x13c),(_0x265dc0,_0x22fb28)=>{const _0x22ac58=_0x14774,_0x3f03ac=_0x22fb28[0x0];_0x3f03ac[_0x22ac58(0xde)]&&(this[_0x22ac58(0x191)](_0x3f03ac),this[_0x22ac58(0xb7)]()&&this[_0x22ac58(0x18f)]());}),this[_0x14774(0xea)](),this[_0x14774(0xe8)](_0x14774(0x138))['to'](_0x4acecd,_0x14774(0x181),this,_0x14774(0x14c),(_0x37ee55,_0x382449)=>_0x14774(0x15c)===_0x37ee55&&!_0x382449),this['on'](_0x14774(0xc0),()=>{const _0x15698d=_0x14774;this[_0x15698d(0x138)]?_0xc3672c[_0x15698d(0x101)](_0x15698d(0xeb)):_0xc3672c[_0x15698d(0x14e)](_0x15698d(0xeb));}),this[_0x14774(0x138)]?_0xc3672c[_0x14774(0x101)](_0x14774(0xeb)):_0xc3672c[_0x14774(0x14e)](_0x14774(0xeb)),this[_0x14774(0x105)](_0x14774(0x10e),!0x1);}async[_0x4c6d35(0xd0)](){const _0x2c725b=_0x4c6d35,_0x273112=this[_0x2c725b(0x1aa)][_0x2c725b(0xd9)][_0x2c725b(0x166)](_0x3476a7),_0x23a189=this[_0x2c725b(0x1aa)][_0x2c725b(0xd9)][_0x2c725b(0x166)](_0x196662);try{this[_0x2c725b(0xce)]=!0x0,_0x273112[_0x2c725b(0x1b1)](this[_0x2c725b(0x157)]);const _0x43be22=await this[_0x2c725b(0x11b)][_0x2c725b(0xd0)](_0x23a189[_0x2c725b(0xfa)],this[_0x2c725b(0x161)]);await this[_0x2c725b(0x15e)](_0x43be22)&&(this[_0x2c725b(0xce)]=!0x1,this[_0x2c725b(0x12d)]());const _0x3c2432=await this[_0x2c725b(0x11b)][_0x2c725b(0x196)]();_0x273112[_0x2c725b(0x1b2)](this[_0x2c725b(0x157)],_0x3c2432),this[_0x2c725b(0xf2)](),this[_0x2c725b(0x10e)]=!0x0;}catch(_0x57683f){if(function(_0x2285ae){const _0x135d5a=_0x2c725b;return _0x135d5a(0x128)===_0x2285ae[_0x135d5a(0x19c)];}(_0x57683f)&&this[_0x2c725b(0x132)])await this[_0x2c725b(0x15b)]();else{if(function(_0x45cd09){const _0x21249f=_0x2c725b;return _0x21249f(0xb4)===_0x45cd09[_0x21249f(0x19c)];}(_0x57683f)){const _0x2e52b0=_0x1870a9(this[_0x2c725b(0x1aa)][_0x2c725b(0x125)],_0x2c725b(0xe1));this[_0x2c725b(0x174)](_0x2e52b0);}else{if(!(_0x57683f instanceof H))throw _0x57683f;this[_0x2c725b(0x174)]();}}}}[_0x4c6d35(0x1a9)](){const _0x145957=_0x4c6d35,_0x2dcef0=this[_0x145957(0x1aa)][_0x145957(0xd9)][_0x145957(0x166)](_0x196662),_0x5bf523=this[_0x145957(0x1aa)][_0x145957(0xd9)][_0x145957(0x166)](_0x3476a7);this[_0x145957(0x1aa)][_0x145957(0x14e)](_0x145957(0xf7)),_0x5bf523[_0x145957(0xc1)][_0x145957(0x103)](this[_0x145957(0x157)])&&_0x5bf523[_0x145957(0x1b1)](this[_0x145957(0x157)]),_0x2dcef0[_0x145957(0x113)](this),this[_0x145957(0xcd)](),super[_0x145957(0x1a9)]();}async[_0x4c6d35(0x15e)](_0x4e327b){const _0x5d326b=_0x4c6d35;if(this[_0x5d326b(0x132)]!==_0x4e327b[_0x5d326b(0x132)]&&this[_0x5d326b(0x136)]!==_0x4e327b[_0x5d326b(0xb3)])throw new H();return this[_0x5d326b(0x132)]=_0x4e327b[_0x5d326b(0x132)],this[_0x5d326b(0x127)]([],{..._0x4e327b,'wereChangesApplied':!0x1,'data':_0x4e327b[_0x5d326b(0x124)]},_0x5d326b(0xd0));}async[_0x4c6d35(0xee)](_0x25da7b,_0x5b6332=!0x1){const _0xe196ca=_0x4c6d35,{connection:_0xebc2c2}=this[_0xe196ca(0x1aa)][_0xe196ca(0xd9)][_0xe196ca(0x166)](_0x196662);l[_0xe196ca(0xc6)][_0xe196ca(0x196)](_0xebc2c2,this[_0xe196ca(0x157)])[_0xe196ca(0x19d)](_0x42d071=>this[_0xe196ca(0x155)](_0x42d071))[_0xe196ca(0xe3)](_0x5ebf54=>{const _0xc49c4a=_0xe196ca;this[_0xc49c4a(0xc5)](_0xc49c4a(0xe2),_0x5ebf54);}),this[_0xe196ca(0xbe)](this[_0xe196ca(0x11b)],_0xe196ca(0x115),this[_0xe196ca(0x162)][_0xe196ca(0xe8)](this)),this[_0xe196ca(0xbe)](this[_0xe196ca(0x11b)],_0xe196ca(0xf9),(_0x444852,_0x255d0d)=>{const _0x505f64=_0xe196ca;this[_0x505f64(0xc5)](_0x505f64(0x183),_0x255d0d);}),this[_0xe196ca(0xbe)](this[_0xe196ca(0x11b)],_0xe196ca(0xd6),()=>{const _0x508acf=_0xe196ca;this[_0x508acf(0x10e)]=!0x1;});const _0x55e5b2=this[_0xe196ca(0x109)][_0xe196ca(0x159)](_0x25da7b);this[_0xe196ca(0xce)]=!0x0;const _0x5c3d44=await this[_0xe196ca(0x11b)][_0xe196ca(0x102)](_0xebc2c2,this[_0xe196ca(0x182)](_0x25da7b),_0x55e5b2);if(this[_0xe196ca(0x132)]=_0x5c3d44[_0xe196ca(0x132)],_0x5b6332){if(!_0x5c3d44[_0xe196ca(0x1a8)])return void this[_0xe196ca(0x174)]();this[_0xe196ca(0xce)]=!0x1,this[_0xe196ca(0x12d)](),this[_0xe196ca(0x18b)][_0xe196ca(0x14a)](),this[_0xe196ca(0x10d)]=_0x5c3d44[_0xe196ca(0xe6)],this[_0xe196ca(0x18b)][_0xe196ca(0xe9)]=this[_0xe196ca(0x10d)],await this[_0xe196ca(0x127)](_0x25da7b,_0x5c3d44,_0xe196ca(0x185));}else await this[_0xe196ca(0x156)](_0x5c3d44,_0x25da7b);this[_0xe196ca(0xf2)](),this[_0xe196ca(0x10e)]=!0x0;}[_0x4c6d35(0xf2)](){const _0x53a71f=_0x4c6d35,_0x597bec=this[_0x53a71f(0x1aa)][_0x53a71f(0xd9)][_0x53a71f(0x166)](_0x3476a7),_0xb68b7d=this[_0x53a71f(0x1aa)][_0x53a71f(0xd9)][_0x53a71f(0x166)](_0x5b06bf),_0x120afe=_0x597bec[_0x53a71f(0xc1)][_0x53a71f(0x166)](this[_0x53a71f(0x157)]);_0x120afe&&_0x120afe[_0x53a71f(0xb6)]>0x1?_0xb68b7d[_0x53a71f(0x1a5)]():this[_0x53a71f(0xbe)](_0x597bec,_0x53a71f(0xcb)+this[_0x53a71f(0x157)],()=>{const _0x2d8fa4=_0x53a71f;0x2===_0x597bec[_0x2d8fa4(0xc1)][_0x2d8fa4(0x166)](this[_0x2d8fa4(0x157)])[_0x2d8fa4(0xb6)]&&_0xb68b7d[_0x2d8fa4(0x1a5)]();});}async[_0x4c6d35(0x162)](_0x13cfac,_0x38ef82,_0x4ea700,_0x4a9a16){const _0x36a8db=_0x4c6d35;if(!this[_0x36a8db(0xce)]&&this[_0x36a8db(0x130)][_0x36a8db(0xe9)]==_0x38ef82){const _0x311170=this[_0x36a8db(0x11d)](_0x4ea700,_0x4a9a16);await this[_0x36a8db(0x15f)](_0x311170),this[_0x36a8db(0x16c)](_0x311170,_0x38ef82,_0x4ea700[_0x36a8db(0xb3)])||this[_0x36a8db(0xc5)](_0x36a8db(0x168));}}async[_0x4c6d35(0x15b)](){const _0x26082b=_0x4c6d35;this[_0x26082b(0xcd)]();const {locale:_0x3720c9}=this[_0x26082b(0x1aa)];let _0x2521fe;try{_0x2521fe=await this[_0x26082b(0x11b)][_0x26082b(0x195)]();}catch(_0x4175a6){const _0x170e5c=_0x1870a9(_0x3720c9,_0x26082b(0x116));return void this[_0x26082b(0x174)](_0x170e5c);}const _0x457e04=_0x2521fe[_0x26082b(0xf4)]||_0x2521fe[_0x26082b(0x17e)];if(this[_0x26082b(0x136)]===_0x457e04[_0x26082b(0xb3)])await this[_0x26082b(0xee)](this[_0x26082b(0x1aa)][_0x26082b(0x107)][_0x26082b(0x1ae)][_0x26082b(0xe7)][_0x26082b(0x118)](),!0x0);else{const _0x19bafb=_0x1870a9(_0x3720c9,_0x26082b(0x104));this[_0x26082b(0x174)](_0x19bafb);}}[_0x4c6d35(0xcd)](){const _0x5b5bef=_0x4c6d35;this[_0x5b5bef(0x11b)][_0x5b5bef(0x11a)](),this[_0x5b5bef(0x126)]=[],clearTimeout(this[_0x5b5bef(0x154)]),this[_0x5b5bef(0x12f)](this[_0x5b5bef(0x11b)]);}[_0x4c6d35(0x155)](_0x18fca9){const _0x57bff2=_0x4c6d35,_0x1c3655=this[_0x57bff2(0x1aa)][_0x57bff2(0xd9)][_0x57bff2(0x166)](_0x3476a7);this[_0x57bff2(0xbe)](_0x1c3655,_0x57bff2(0xcb)+this[_0x57bff2(0x157)],(_0x2f4774,{session:_0x20437b})=>{const _0x3a5a50=_0x57bff2;if(_0x20437b['id']===_0x1c3655[_0x3a5a50(0x1ab)]){_0x2f4774[_0x3a5a50(0x192)]();const _0x570ee5=this[_0x3a5a50(0x1aa)][_0x3a5a50(0xd9)][_0x3a5a50(0x103)](_0x3a5a50(0x133))&&this[_0x3a5a50(0x1aa)][_0x3a5a50(0xd9)][_0x3a5a50(0x166)](_0x3a5a50(0x133));let _0x42a784=_0x20437b[_0x3a5a50(0x112)];_0x570ee5&&_0x570ee5[_0x3a5a50(0x16e)]&&(_0x42a784=_0x42a784[_0x3a5a50(0x19b)](_0x3641e6=>_0x3a5a50(0x188)!==_0x3641e6)),this[_0x3a5a50(0x1aa)][_0x3a5a50(0xd9)][_0x3a5a50(0x166)](_0x3a5a50(0x175))[_0x3a5a50(0x177)](_0x42a784,this[_0x3a5a50(0x157)]);}}),_0x1c3655[_0x57bff2(0x1b2)](this[_0x57bff2(0x157)],_0x18fca9);}[_0x4c6d35(0x121)](){const _0xb77ce9=_0x4c6d35,_0x2641a5=this[_0xb77ce9(0x1aa)][_0xb77ce9(0x124)][_0xb77ce9(0x105)];this[_0xb77ce9(0x1aa)][_0xb77ce9(0x124)][_0xb77ce9(0x105)]=(..._0x421636)=>{const _0xdad734=_0xb77ce9;if(!_0x421636[_0x421636[_0xdad734(0xb6)]-0x1][_0xdad734(0x17b)])throw new _0x55529f(_0xdad734(0xc7),this);_0x2641a5[_0xdad734(0xfe)](this[_0xdad734(0x1aa)][_0xdad734(0x124)],_0x421636);};}[_0x4c6d35(0xea)](){const _0x1be5c1=_0x4c6d35;this[_0x1be5c1(0x1aa)][_0x1be5c1(0x124)]['on'](_0x1be5c1(0x179),(_0x38bba9,[_0x11384b])=>{const _0x4f8f34=_0x1be5c1;if(this[_0x4f8f34(0x130)][_0x4f8f34(0xe9)])throw new _0x55529f(_0x4f8f34(0xe5),this);_0x38bba9[_0x4f8f34(0x19e)](),this[_0x4f8f34(0x140)]();const _0xb7f424=this[_0x4f8f34(0x1aa)][_0x4f8f34(0x194)][_0x4f8f34(0x166)](_0x4f8f34(0x10f)),_0x454533=this[_0x4f8f34(0x164)](_0x11384b,_0xb7f424);0x0==_0x454533[_0x4f8f34(0xb6)]&&_0x454533[_0x4f8f34(0x18d)](new _0x2b1fc1(0x0)),_0x38bba9[_0x4f8f34(0xc3)]=this[_0x4f8f34(0xee)](_0x454533)[_0x4f8f34(0x19d)](()=>{const _0x72a19d=_0x4f8f34;this[_0x72a19d(0x1aa)][_0x72a19d(0xd9)][_0x72a19d(0x166)](_0x196662)[_0x72a19d(0x14b)](this),this[_0x72a19d(0x1aa)][_0x72a19d(0x124)][_0x72a19d(0xda)](_0x72a19d(0xd8));})[_0x4f8f34(0xe3)](_0x539c80=>this[_0x4f8f34(0xc5)](_0x4f8f34(0xe0),_0x539c80))[_0x4f8f34(0x134)](()=>this[_0x4f8f34(0x12d)]());},{'priority':_0x1be5c1(0x15d)}),this[_0x1be5c1(0x1aa)]['on'](_0x1be5c1(0xd5),async(_0x5a8022,[_0x59c95e,_0x5e8692])=>{const _0x165bcf=_0x1be5c1;_0x5a8022[_0x165bcf(0x19e)]();const _0x170e93=this[_0x165bcf(0x1aa)][_0x165bcf(0x107)][_0x165bcf(0x1ae)][_0x165bcf(0xbd)](_0x59c95e);if(!this[_0x165bcf(0x129)][_0x165bcf(0x103)](_0x59c95e)){const _0x2fffb4=_0x5e8692&&_0x5e8692[_0x165bcf(0x124)]?_0x5e8692[_0x165bcf(0x124)]:'',_0x58d9e2=_0x5e8692&&_0x5e8692[_0x165bcf(0xfc)]?_0x5e8692[_0x165bcf(0xfc)]:{};await this[_0x165bcf(0x111)](_0x59c95e,_0x2fffb4,_0x58d9e2);}this[_0x165bcf(0x1aa)][_0x165bcf(0x107)][_0x165bcf(0x110)]({'isUndoable':!0x1},()=>{const _0x5a2f38=_0x165bcf;_0x170e93[_0x5a2f38(0xdb)]=!0x0,this[_0x5a2f38(0x1aa)][_0x5a2f38(0x107)][_0x5a2f38(0x1ae)][_0x5a2f38(0x1a3)][_0x5a2f38(0x1a7)](_0x170e93);});},{'priority':_0x1be5c1(0x15d)});}async[_0x4c6d35(0x15f)](_0x310241){const _0x5a9390=_0x4c6d35,_0x45d3a7=this[_0x5a9390(0x1aa)][_0x5a9390(0xd9)][_0x5a9390(0x166)](_0x57d553),{connection:_0x32027b}=this[_0x5a9390(0x1aa)][_0x5a9390(0xd9)][_0x5a9390(0x166)](_0x196662),_0xdbbe21=new Set();for(const _0x584004 of _0x310241){const _0x5af3f7=_0x584004[_0x5a9390(0x16a)];_0x5af3f7&&!_0x45d3a7[_0x5a9390(0x167)](_0x5af3f7)&&_0xdbbe21[_0x5a9390(0x10b)](_0x5af3f7);}if(0x0===_0xdbbe21[_0x5a9390(0xfd)])return;const _0x4eb6f1=await _0x5f15fb[_0x5a9390(0x100)](_0x32027b,Array[_0x5a9390(0x142)](_0xdbbe21));for(const _0x2e3dfc of _0x4eb6f1)_0x45d3a7[_0x5a9390(0x167)](_0x2e3dfc['id'])||_0x45d3a7[_0x5a9390(0x117)](_0x2e3dfc);}[_0x4c6d35(0x164)](_0x36d265,_0x8785eb={}){const _0x428300=_0x4c6d35,_0x5b99ab=this[_0x428300(0x1aa)][_0x428300(0x107)],_0x4fe136=[];let _0x369832=0x0;const _0x3373c6=_0x428300(0x12e)==typeof _0x36d265?{'main':_0x36d265}:_0x36d265;for(const _0x3f8e4e of Object[_0x428300(0x17a)](_0x3373c6)){if(!this[_0x428300(0x130)][_0x428300(0xf3)][_0x428300(0x103)](_0x3f8e4e))throw new _0x55529f(_0x428300(0x139),this);const _0x34525e=this[_0x428300(0x1aa)][_0x428300(0x124)][_0x428300(0x13e)](_0x3373c6[_0x3f8e4e]),_0x219558=this[_0x428300(0x130)][_0x428300(0xbd)](_0x3f8e4e),_0x1ec5b5=new _0x17bfa2(_0x5b99ab[_0x428300(0x13d)](_0x219558,0x0),_0x34525e,_0x369832++);_0x4fe136[_0x428300(0x18d)](_0x1ec5b5);for(const [_0x124a38,_0x1cb4f8]of _0x34525e[_0x428300(0x148)]){const _0x1e1168=_0x5b99ab[_0x428300(0x147)](_0x5b99ab[_0x428300(0xf6)](_0x219558,_0x1cb4f8[_0x428300(0xbb)][_0x428300(0x143)][_0x428300(0x163)]()),_0x5b99ab[_0x428300(0xf6)](_0x219558,_0x1cb4f8[_0x428300(0xfb)][_0x428300(0x143)][_0x428300(0x163)]())),_0x4d5cf1=new _0x8cb6b0(_0x124a38,null,_0x1e1168,_0x5b99ab[_0x428300(0x148)],!0x0,_0x369832++);_0x4fe136[_0x428300(0x18d)](_0x4d5cf1);}}if(_0x8785eb)for(const [_0x31ed00,_0x74016f]of Object[_0x428300(0x1b0)](_0x8785eb)){const _0x3da063=_0x5b99ab[_0x428300(0x1ae)][_0x428300(0xbd)](_0x31ed00);if(!_0x3da063)throw new _0x55529f(_0x428300(0x11c),null);for(const [_0x4b43b0,_0x4f284d]of Object[_0x428300(0x1b0)](_0x74016f))if(null!==_0x4f284d){const _0x5b875c=new _0x4c9afd(_0x3da063,_0x4b43b0,null,_0x4f284d,_0x369832++);_0x4fe136[_0x428300(0x18d)](_0x5b875c);}}return _0x4fe136;}async[_0x4c6d35(0x111)](_0x14d919,_0x27feea,_0x508c27){const _0x625458=_0x4c6d35;this[_0x625458(0x164)]({[_0x14d919]:_0x27feea},{[_0x14d919]:_0x508c27})[_0x625458(0x137)]((_0x5119a3,_0x491d85)=>{const _0x3e482c=_0x625458;_0x5119a3[_0x3e482c(0x180)]=this[_0x3e482c(0x130)][_0x3e482c(0xe9)]+_0x491d85,_0x5119a3[_0x3e482c(0x16f)]=!0x0,this[_0x3e482c(0x191)](_0x5119a3);}),this[_0x625458(0x18f)](),await this[_0x625458(0xf0)]();}async[_0x4c6d35(0x156)](_0x10ba17,_0x487386){const _0x1ea5ef=_0x4c6d35;let _0x3eef62;this[_0x1ea5ef(0x10d)]=_0x10ba17[_0x1ea5ef(0xe6)];const _0x5371e6=_0x10ba17[_0x1ea5ef(0x1a8)]&&!_0x10ba17[_0x1ea5ef(0x135)],_0x924624=_0x5371e6?0x0:_0x10ba17[_0x1ea5ef(0x124)][_0x1ea5ef(0x180)];if(_0x487386[_0x1ea5ef(0x137)](_0x23c526=>{const _0x4e2423=_0x1ea5ef;_0x23c526[_0x4e2423(0x16f)]=!0x0,_0x23c526[_0x4e2423(0x131)]=_0x10ba17[_0x4e2423(0x178)],_0x23c526[_0x4e2423(0x16a)]=null;}),_0x5371e6)_0x3eef62=_0x487386,this[_0x1ea5ef(0x13a)](_0x3eef62,_0x5371e6);else{if(_0x10ba17[_0x1ea5ef(0x135)]){const _0x578f6b=this[_0x1ea5ef(0x164)](_0x10ba17[_0x1ea5ef(0x135)]);this[_0x1ea5ef(0x130)][_0x1ea5ef(0xe7)][_0x1ea5ef(0xe9)]=-_0x578f6b[_0x1ea5ef(0xb6)],_0x578f6b[_0x1ea5ef(0x137)](_0x4f5672=>{const _0x39b052=_0x1ea5ef;_0x4f5672[_0x39b052(0x180)]-=_0x578f6b[_0x39b052(0xb6)],_0x4f5672[_0x39b052(0x131)]=_0x10ba17[_0x39b052(0x178)],_0x4f5672[_0x39b052(0x16f)]=!0x0,_0x4f5672[_0x39b052(0x16a)]=null;}),this[_0x1ea5ef(0x13a)](_0x578f6b,!0x0),this[_0x1ea5ef(0x18b)][_0x1ea5ef(0xe9)]=-_0x578f6b[_0x1ea5ef(0xb6)]+this[_0x1ea5ef(0x10d)],this[_0x1ea5ef(0xd4)](_0x578f6b);}this[_0x1ea5ef(0x130)][_0x1ea5ef(0xe7)][_0x1ea5ef(0xe9)]=_0x924624,_0x3eef62=this[_0x1ea5ef(0x11d)](_0x10ba17[_0x1ea5ef(0x124)],_0x10ba17[_0x1ea5ef(0x151)]),await this[_0x1ea5ef(0x15f)](_0x3eef62),this[_0x1ea5ef(0x13a)](_0x3eef62,_0x5371e6);}_0x10ba17[_0x1ea5ef(0xb3)]&&(this[_0x1ea5ef(0x109)][_0x1ea5ef(0x18e)](_0x3eef62,_0x10ba17[_0x1ea5ef(0xb3)]),this[_0x1ea5ef(0x136)]=_0x10ba17[_0x1ea5ef(0xb3)]),this[_0x1ea5ef(0x18b)][_0x1ea5ef(0xe9)]=_0x924624+this[_0x1ea5ef(0x10d)],this[_0x1ea5ef(0xd4)](_0x3eef62),_0x487386[_0x1ea5ef(0x19b)](_0x30eeb4=>{const _0x26b5db=_0x1ea5ef,_0xc0f10d=this[_0x26b5db(0xb8)](_0x30eeb4);return _0xc0f10d&&!this[_0x26b5db(0x129)][_0x26b5db(0x103)](_0xc0f10d);})[_0x1ea5ef(0x137)]((_0x2709be,_0x4fa3c7)=>{const _0x5b61b1=_0x1ea5ef;_0x2709be[_0x5b61b1(0x180)]=this[_0x5b61b1(0x130)][_0x5b61b1(0xe9)]+_0x4fa3c7,this[_0x5b61b1(0x191)](_0x2709be);}),this[_0x1ea5ef(0xb7)]()?(this[_0x1ea5ef(0x1a2)]=0x0,this[_0x1ea5ef(0x18f)](!0x0),await this[_0x1ea5ef(0xf0)]()):(this[_0x1ea5ef(0xce)]=!0x1,this[_0x1ea5ef(0x12d)]());}[_0x4c6d35(0xc5)](_0x1245de,_0xc2db9a){const _0x1b8526=_0x4c6d35;throw this[_0x1b8526(0xce)]=!0x0,_0xc2db9a&&console[_0x1b8526(0xf9)](_0xc2db9a),new _0x55529f(_0x1245de,this[_0x1b8526(0x1aa)]);}[_0x4c6d35(0x191)](_0xfb2c){const _0x167c13=_0x4c6d35;this[_0x167c13(0xd7)][_0x167c13(0x103)](_0xfb2c)||(this[_0x167c13(0xd7)][_0x167c13(0x10b)](_0xfb2c),this[_0x167c13(0x126)][_0x167c13(0x18d)](_0xfb2c),this[_0x167c13(0x186)]||_0x167c13(0x17c)==_0xfb2c[_0x167c13(0x190)]&&!_0xfb2c[_0x167c13(0xc9)]||this[_0x167c13(0x140)]());}[_0x4c6d35(0x18f)](_0x30554d=!0x1){const _0x3c392f=_0x4c6d35;!_0x30554d&&this[_0x3c392f(0xce)]||(this[_0x3c392f(0xce)]=!0x0,clearTimeout(this[_0x3c392f(0x154)]),this[_0x3c392f(0x154)]=setTimeout(()=>{const _0x535646=_0x3c392f;this[_0x535646(0xca)]()[_0x535646(0x19d)](_0x29ca7d=>{const _0x3bd52f=_0x535646;_0x29ca7d&&(this[_0x3bd52f(0x12d)](),this[_0x3bd52f(0xce)]=!0x1);})[_0x535646(0xe3)](_0x304ebb=>{const _0x3b5fa1=_0x535646;if(this[_0x3b5fa1(0x12d)](),this[_0x3b5fa1(0xce)]=!0x1,!function(_0x15439f){const _0x22b8b4=_0x3b5fa1;return _0x15439f[_0x22b8b4(0x1a6)][_0x22b8b4(0x106)](_0x22b8b4(0x198))||_0x15439f[_0x22b8b4(0x1a6)][_0x22b8b4(0x106)](_0x22b8b4(0x13b))||_0x15439f[_0x22b8b4(0x1a6)][_0x22b8b4(0x106)](_0x22b8b4(0x153));}(_0x304ebb))throw _0x304ebb;});},this[_0x3c392f(0x1a2)]));}[_0x4c6d35(0xf0)](){return new Promise(_0x121270=>{const _0x2b8f82=_0x2df3;this['on'](_0x2b8f82(0x15a),()=>{_0x121270();});});}async[_0x4c6d35(0xca)](){const _0x10ffbb=_0x4c6d35,_0xffb197=this[_0x10ffbb(0x1aa)][_0x10ffbb(0xd9)][_0x10ffbb(0x166)](_0x5b06bf);if(this[_0x10ffbb(0xff)]()&&(_0xffb197[_0x10ffbb(0x1a5)](),this[_0x10ffbb(0xf8)]=!0x1),!this[_0x10ffbb(0xb7)]())return!0x0;const _0x4e6660=[...this[_0x10ffbb(0x126)]];for(const _0x4854cc of _0x4e6660)_0x4854cc[_0x10ffbb(0x187)]=this[_0x10ffbb(0x130)][_0x10ffbb(0xe7)][_0x10ffbb(0xef)](_0x4854cc);const _0x33840d=this[_0x10ffbb(0x109)][_0x10ffbb(0x159)](_0x4e6660),_0x22cd8d=F++,_0x2a1238=this[_0x10ffbb(0x182)](_0x4e6660),_0x38f643=await this[_0x10ffbb(0x11b)][_0x10ffbb(0x14d)](_0x2a1238,_0x2a1238[_0x10ffbb(0x180)],_0x33840d);try{return await this[_0x10ffbb(0x127)](_0x4e6660,_0x38f643,_0x22cd8d);}catch(_0x34d8f0){return this[_0x10ffbb(0xc5)](_0x10ffbb(0x18a),_0x34d8f0);}}async[_0x4c6d35(0x127)](_0x2f2acb,_0xd689a4,_0x54431a){const _0x25e954=_0x4c6d35;if(_0x25e954(0xf9)in _0xd689a4)throw _0xd689a4[_0x25e954(0xf9)];let _0x9ad480=!0x1;if(_0xd689a4[_0x25e954(0x1a8)]){_0xd689a4[_0x25e954(0xb3)]&&(this[_0x25e954(0x136)]=_0xd689a4[_0x25e954(0xb3)]),this[_0x25e954(0x126)]=this[_0x25e954(0x126)][_0x25e954(0x19b)](_0x4295b0=>!_0x2f2acb[_0x25e954(0x1ad)](_0x4295b0));for(const _0x571e4d of _0x2f2acb)_0x571e4d[_0x25e954(0x131)]=_0x25e954(0x18c)in _0xd689a4&&_0xd689a4[_0x25e954(0x18c)]||void 0x0;q(_0x2f2acb,_0xd689a4[_0x25e954(0xe9)]-_0x2f2acb[_0x25e954(0xb6)]),this[_0x25e954(0xd4)](_0x2f2acb);const _0x5503de=_0x2f2acb[_0x25e954(0x19b)](_0x521227=>{const _0x49e38e=_0x25e954;if(!_0x521227[_0x49e38e(0x16f)])return!0x1;const _0x1b62f5=this[_0x49e38e(0xb8)](_0x521227);return _0x1b62f5&&!this[_0x49e38e(0x129)][_0x49e38e(0x103)](_0x1b62f5);});q(_0x5503de,this[_0x25e954(0x130)][_0x25e954(0xe9)]),this[_0x25e954(0x13a)](_0x5503de),_0x9ad480=!0x0,this[_0x25e954(0x1a2)]=this[_0x25e954(0x123)];}else{const _0x436d09=this[_0x25e954(0x11d)](_0xd689a4[_0x25e954(0x124)],_0xd689a4[_0x25e954(0x151)])[_0x25e954(0x19b)](_0x5dcafc=>_0x5dcafc[_0x25e954(0x180)]>=this[_0x25e954(0xdd)]);_0x436d09[_0x25e954(0x137)](_0x3dced4=>this[_0x25e954(0x1b4)](_0x3dced4)),this[_0x25e954(0x126)]=this[_0x25e954(0x126)][_0x25e954(0x19b)](_0x4dffa2=>!_0x4dffa2[_0x25e954(0x16f)]||!this[_0x25e954(0x129)][_0x25e954(0x103)](this[_0x25e954(0xb8)](_0x4dffa2))),this[_0x25e954(0x126)][_0x25e954(0xb6)]&&q(this[_0x25e954(0x126)],this[_0x25e954(0x126)][0x0][_0x25e954(0x180)]),await this[_0x25e954(0x15f)](_0x436d09),_0x9ad480=this[_0x25e954(0x16c)](_0x436d09,_0xd689a4[_0x25e954(0xe9)],_0xd689a4[_0x25e954(0xb3)]),this[_0x25e954(0x1a2)]=Math[_0x25e954(0x13f)](this[_0x25e954(0x1a2)]/0x2);}return _0x9ad480?!this[_0x25e954(0xb7)]()||(this[_0x25e954(0x18f)](!0x0),!0x1):this[_0x25e954(0xc5)](_0x25e954(0xb5));}[_0x4c6d35(0x16c)](_0x492bdb,_0x16ceb9,_0x437130){const _0x128f11=_0x4c6d35;try{const _0x42de72={'document':this[_0x128f11(0x130)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xef1e52,operationsB:_0x1b2c27,originalOperations:_0x3c76a0}=_0x454125(_0x492bdb,this[_0x128f11(0x126)],_0x42de72);q(_0xef1e52,this[_0x128f11(0x130)][_0x128f11(0xe9)]),q(_0x1b2c27,_0x16ceb9);for(const _0x2f70e0 of _0xef1e52){const _0x177277=_0x3c76a0[_0x128f11(0x166)](_0x2f70e0);_0x2f70e0[_0x128f11(0x16a)]=_0x177277?_0x177277[_0x128f11(0x16a)]:null;}_0x437130&&(this[_0x128f11(0x109)][_0x128f11(0x18e)](_0x492bdb,_0x437130),this[_0x128f11(0x136)]=_0x437130),this[_0x128f11(0x126)]=[..._0x1b2c27],this[_0x128f11(0x13a)](_0xef1e52),this[_0x128f11(0xd4)](_0x492bdb);}catch(_0x2d2bb1){return console[_0x128f11(0xf9)](_0x2d2bb1),!0x1;}return!0x0;}[_0x4c6d35(0x13a)](_0x231362,_0x163fbe=!0x1){const _0x6b3e60=_0x4c6d35;this[_0x6b3e60(0x1aa)][_0x6b3e60(0x107)][_0x6b3e60(0x110)]({'isUndoable':!0x1,'isLocal':!0x1},_0x545cfb=>{const _0x3a9725=_0x6b3e60;for(const _0x38c393 of _0x231362)this[_0x3a9725(0xd7)][_0x3a9725(0x10b)](_0x38c393),this[_0x3a9725(0x1b4)](_0x38c393),_0x545cfb[_0x3a9725(0x12b)][_0x3a9725(0x165)](_0x38c393),this[_0x3a9725(0x1aa)][_0x3a9725(0x107)][_0x3a9725(0x13c)](_0x38c393);});}[_0x4c6d35(0x1b4)](_0xac38f0){const _0x576048=_0x4c6d35,_0x28a0c4=this[_0x576048(0xb8)](_0xac38f0);_0x28a0c4&&this[_0x576048(0x129)][_0x576048(0x10b)](_0x28a0c4);}[_0x4c6d35(0xb8)](_0x4f8936){const _0x3bc7c8=_0x4c6d35;let _0x224a95,_0x1d3044;switch(_0x4f8936[_0x3bc7c8(0x190)]){case _0x3bc7c8(0xf5):_0x224a95=_0x4f8936[_0x3bc7c8(0xec)][_0x3bc7c8(0x199)];break;case _0x3bc7c8(0x17c):if(_0x1d3044=_0x4f8936[_0x3bc7c8(0x160)],!_0x1d3044)return null;_0x224a95=_0x1d3044[_0x3bc7c8(0x199)];break;case _0x3bc7c8(0xd1):_0x224a95=_0x4f8936[_0x3bc7c8(0x199)];break;case _0x3bc7c8(0xba):_0x224a95=_0x4f8936[_0x3bc7c8(0x16b)];break;case _0x3bc7c8(0xdc):_0x224a95=_0x4f8936[_0x3bc7c8(0x11e)][_0x3bc7c8(0x199)];break;default:return null;}return _0x224a95[_0x3bc7c8(0x171)];}[_0x4c6d35(0xd4)](_0x2d58c3){const _0x4978c8=_0x4c6d35;_0x2d58c3[_0x4978c8(0x137)](_0x6335fd=>{const _0x1a738c=_0x4978c8,_0x55d32f=_0x6335fd[_0x1a738c(0x1a4)]();_0x55d32f[_0x1a738c(0x16a)]=_0x6335fd[_0x1a738c(0x16a)],_0x55d32f[_0x1a738c(0x16f)]=!!_0x6335fd[_0x1a738c(0x16f)],_0x55d32f[_0x1a738c(0x131)]=_0x6335fd[_0x1a738c(0x131)],_0x55d32f[_0x1a738c(0x180)]+=this[_0x1a738c(0x10d)],_0x6335fd[_0x1a738c(0x120)]&&this[_0x1a738c(0x17f)][_0x1a738c(0x10b)](_0x55d32f),this[_0x1a738c(0x18b)][_0x1a738c(0x165)](_0x55d32f);});}[_0x4c6d35(0x174)](_0x814a51){const _0x1adcd0=_0x4c6d35,_0x51dd17=this[_0x1adcd0(0x1aa)][_0x1adcd0(0xd9)][_0x1adcd0(0x166)](_0x1adcd0(0x173)),_0x1beca0=this[_0x1adcd0(0x1aa)][_0x1adcd0(0x125)];_0x814a51||(_0x814a51=_0x1870a9(_0x1beca0,_0x1adcd0(0x1a0))),_0x51dd17[_0x1adcd0(0xbc)](_0x814a51,{'title':_0x1870a9(_0x1beca0,_0x1adcd0(0x12a)),'namespace':_0x1adcd0(0x108)}),this[_0x1adcd0(0x14c)]=!0x0,clearTimeout(this[_0x1adcd0(0x154)]),this[_0x1adcd0(0x126)]=[],this[_0x1adcd0(0x1aa)][_0x1adcd0(0xd9)][_0x1adcd0(0x166)](_0x196662)[_0x1adcd0(0x1a9)]();}[_0x4c6d35(0x140)](){const _0x5398ef=_0x4c6d35;this[_0x5398ef(0x186)]||(this[_0x5398ef(0x186)]=this[_0x5398ef(0x1aa)][_0x5398ef(0xd9)][_0x5398ef(0x166)](_0x44b0dd)[_0x5398ef(0x10b)](_0x1870a9(this[_0x5398ef(0x1aa)][_0x5398ef(0x125)],_0x5398ef(0xd3))));}[_0x4c6d35(0x12d)](){const _0x13b526=_0x4c6d35;this[_0x13b526(0x186)]&&(this[_0x13b526(0x1aa)][_0x13b526(0xd9)][_0x13b526(0x166)](_0x44b0dd)[_0x13b526(0x10a)](this[_0x13b526(0x186)]),this[_0x13b526(0x186)]=null);}[_0x4c6d35(0x182)](_0x2dfda7){const _0x38e3a5=_0x4c6d35,_0x136eee=_0x2dfda7[_0x38e3a5(0xe4)](_0x42e7f0=>_0x42e7f0[_0x38e3a5(0x149)]());return this[_0x38e3a5(0x12c)][_0x38e3a5(0x184)](_0x136eee);}[_0x4c6d35(0x11d)](_0x76c68b,_0x2b148a){const _0xb29d8a=_0x4c6d35;return this[_0xb29d8a(0x12c)][_0xb29d8a(0x119)](_0x76c68b)[_0xb29d8a(0xe4)]((_0x192104,_0xdbad54)=>{const _0x1e01ed=_0xb29d8a,_0x387d9e=_0x1e01ed(0x179)==_0x2b148a[_0xdbad54][_0x1e01ed(0x190)];if(_0x1e01ed(0x122)==_0x192104[_0x1e01ed(0x170)]){const _0x51f65e=_0x192104[_0x1e01ed(0xec)][_0x1e01ed(0x199)];!this[_0x1e01ed(0x130)][_0x1e01ed(0xbd)](_0x51f65e)&&(this[_0x1e01ed(0x130)][_0x1e01ed(0x10c)](_0x1e01ed(0x1a1),_0x51f65e)[_0x1e01ed(0x19f)]=!0x1);}const _0x402007=_0x10c948[_0x1e01ed(0x19a)](_0x192104,this[_0x1e01ed(0x130)]);return _0x402007[_0x1e01ed(0x187)]=_0x192104[_0x1e01ed(0x187)],_0x402007[_0x1e01ed(0x16f)]=_0x387d9e,_0x402007[_0x1e01ed(0x16a)]=_0x387d9e?null:_0x2b148a[_0xdbad54][_0x1e01ed(0x193)],_0x402007[_0x1e01ed(0x120)]=_0x1e01ed(0x114)===_0x2b148a[_0xdbad54][_0x1e01ed(0x190)],_0x402007[_0x1e01ed(0x131)]=_0x2b148a[_0xdbad54][_0x1e01ed(0x131)],_0x402007;});}[_0x4c6d35(0xbf)](){const _0x26246b=_0x4c6d35;this[_0x26246b(0xf8)]=!0x0,this[_0x26246b(0xff)]()?this[_0x26246b(0x18f)]():this[_0x26246b(0xf8)]=!0x1;}[_0x4c6d35(0xff)](){const _0x52baed=_0x4c6d35,_0x168ede=this[_0x52baed(0x1aa)][_0x52baed(0xd9)][_0x52baed(0x166)](_0x3476a7)[_0x52baed(0xc1)][_0x52baed(0x166)](this[_0x52baed(0x157)]);return!this[_0x52baed(0x1aa)][_0x52baed(0xed)]&&!!_0x168ede&&_0x168ede[_0x52baed(0xb6)]>0x1&&this[_0x52baed(0xf8)];}[_0x4c6d35(0xb7)](){const _0x4bbc1a=_0x4c6d35;return this[_0x4bbc1a(0x126)][_0x4bbc1a(0xb6)]>0x0||this[_0x4bbc1a(0xff)]();}}l[_0x4c6d35(0xc6)]=_0x351c65;export default l;class H extends Error{}function q(_0x391ed2,_0x3d5c89){const _0x4f2e41=_0x4c6d35;for(const _0x9b1f00 of _0x391ed2)_0x9b1f00[_0x4f2e41(0x180)]=_0x3d5c89++;}class G{constructor(_0x35341a){const _0x34718a=_0x4c6d35;this[_0x34718a(0x152)]=_0x35341a,this[_0x34718a(0xb9)]=new WeakMap();}[_0x4c6d35(0x159)](_0x125655){const _0x3e5f58=_0x4c6d35;let _0x5e63ba=_0x125655[_0x3e5f58(0xb6)];for(;_0x5e63ba--;){const _0x1d8053=_0x125655[_0x5e63ba];if(!this[_0x3e5f58(0x152)][_0x3e5f58(0x103)](_0x1d8053)){if(!this[_0x3e5f58(0xb9)][_0x3e5f58(0x103)](_0x1d8053)){const _0x163132=_0x1944f1()[_0x3e5f58(0x163)](0x1,0x12);this[_0x3e5f58(0xb9)][_0x3e5f58(0x105)](_0x1d8053,_0x163132);}return this[_0x3e5f58(0xb9)][_0x3e5f58(0x166)](_0x1d8053);}}}[_0x4c6d35(0x18e)](_0x23b27b,_0x4dbc4b){const _0x4081d9=_0x4c6d35;if(!_0x4dbc4b)return;let _0x3337ed=_0x23b27b[_0x4081d9(0xb6)];for(;_0x3337ed--;){const _0x4fec32=_0x23b27b[_0x3337ed];this[_0x4081d9(0x152)][_0x4081d9(0x103)](_0x4fec32)||this[_0x4081d9(0xb9)][_0x4081d9(0x105)](_0x4fec32,_0x4dbc4b);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1073f6=_0x3875;function _0x28bd(){const _0x109c71=['_handleSessionRemove','plugins','addUser','channelConnectedUsers','getUserSessions','set','unregister','4McyXer','1579194iqzvnl','_handleSessionAdd','3138215fyTZga','isMe','listenTo','orderNumber','getUserRole','_createUser','stopListening','21bDGNky','connected','add','allConnectedUsers','_users','defineMe','3712614Gzdsbf','has','change:state','_uniqueUsersCount','pluginName','1105617cDFbhJ','_registeredSessions','18647260mhfEpc','sessionId','15255279qVddLc','assign','connection','context','values','forEach','get','fire','getUserBySessionId','sessions-unregister-not-exist','Sessions','remove','init','role','clear','6wkUVRB','state','delete','size','channelSessions','getUser','57912371xAmVpd','sessions-register-already-registered','8DSpDWk','requires','sessionAdd:','user','register','mySessionId'];_0x28bd=function(){return _0x109c71;};return _0x28bd();}(function(_0xf3db4d,_0x2e94e3){const _0x575db8=_0x3875,_0x57922c=_0xf3db4d();while(!![]){try{const _0x4911ed=parseInt(_0x575db8(0xa0))/0x1+parseInt(_0x575db8(0x8a))/0x2*(-parseInt(_0x575db8(0xb4))/0x3)+parseInt(_0x575db8(0x9f))/0x4*(parseInt(_0x575db8(0xa2))/0x5)+-parseInt(_0x575db8(0xaf))/0x6*(parseInt(_0x575db8(0xa9))/0x7)+parseInt(_0x575db8(0x92))/0x8*(-parseInt(_0x575db8(0x7b))/0x9)+-parseInt(_0x575db8(0x79))/0xa+parseInt(_0x575db8(0x90))/0xb;if(_0x4911ed===_0x2e94e3)break;else _0x57922c['push'](_0x57922c['shift']());}catch(_0x300aa7){_0x57922c['push'](_0x57922c['shift']());}}}(_0x28bd,0xe7e9d));import{ContextPlugin as _0x5e4836}from'ckeditor5/src/core.js';function _0x3875(_0x27e393,_0x21df1f){const _0x28bd0d=_0x28bd();return _0x3875=function(_0x387588,_0x239d5e){_0x387588=_0x387588-0x79;let _0xf11f81=_0x28bd0d[_0x387588];return _0xf11f81;},_0x3875(_0x27e393,_0x21df1f);}import{Collection as _0x1eb21e,CKEditorError as _0x19ecd9}from'ckeditor5/src/utils.js';import _0x529d63 from'./websocketgateway.js';import{Users as _0x4b62b6}from'ckeditor5-collaboration/src/collaboration-core.js';export default class r extends _0x5e4836{static get[_0x1073f6(0xb3)](){const _0x35610f=_0x1073f6;return _0x35610f(0x85);}static get[_0x1073f6(0x93)](){return[_0x529d63,_0x4b62b6];}constructor(_0x206c6e){const _0x3af787=_0x1073f6;super(_0x206c6e),this[_0x3af787(0x8e)]=new Map(),this[_0x3af787(0x9b)]=new Map(),this[_0x3af787(0xac)]=new _0x1eb21e(),this[_0x3af787(0xb5)]=new Map(),this[_0x3af787(0xb2)]=0x0,this[_0x3af787(0xad)]=this[_0x3af787(0x7e)][_0x3af787(0x99)][_0x3af787(0x81)](_0x4b62b6);}[_0x1073f6(0x87)](){const _0x60595b=_0x1073f6,_0x2af3a8=this[_0x60595b(0x7e)][_0x60595b(0x99)][_0x60595b(0x81)](_0x529d63);this[_0x60595b(0xa4)](_0x2af3a8,_0x60595b(0xb1),(_0x26b251,_0x275871,_0x12af02)=>{const _0x2644ee=_0x60595b;if(_0x2644ee(0xaa)!==_0x12af02)this[_0x2644ee(0x8e)][_0x2644ee(0x80)](_0x42640b=>_0x42640b[_0x2644ee(0x89)]()),this[_0x2644ee(0x9b)][_0x2644ee(0x80)](_0x45732c=>_0x45732c[_0x2644ee(0x89)]()),this[_0x2644ee(0xac)][_0x2644ee(0x89)]();else{for(const [_0x48ef69,_0x36157b]of this[_0x2644ee(0xb5)])for(const _0x17d1ae of _0x36157b)this[_0x2644ee(0xa1)](_0x48ef69,_0x17d1ae);}}),this[_0x60595b(0xa7)](_0x2af3a8[_0x60595b(0x7d)]['me'],!0x0);}[_0x1073f6(0x96)](_0xfc2c0c,_0x59237f){const _0x519ae0=_0x1073f6;if(this[_0x519ae0(0xb5)][_0x519ae0(0xb0)](_0xfc2c0c))throw new _0x19ecd9(_0x519ae0(0x91),null,{'channelId':_0xfc2c0c});this[_0x519ae0(0xb5)][_0x519ae0(0x9d)](_0xfc2c0c,_0x59237f),this[_0x519ae0(0x8e)][_0x519ae0(0x9d)](_0xfc2c0c,new _0x1eb21e()),this[_0x519ae0(0x9b)][_0x519ae0(0x9d)](_0xfc2c0c,new _0x1eb21e()),this[_0x519ae0(0xa4)](_0x59237f,_0x519ae0(0xab),(_0x2d734d,_0x594a0e)=>this[_0x519ae0(0xa1)](_0xfc2c0c,_0x594a0e)),this[_0x519ae0(0xa4)](_0x59237f,_0x519ae0(0x86),(_0x36fe73,_0x23b69c)=>this[_0x519ae0(0x98)](_0xfc2c0c,_0x23b69c));for(const _0x40e372 of _0x59237f)this[_0x519ae0(0xa1)](_0xfc2c0c,_0x40e372);}[_0x1073f6(0x9e)](_0x54affb){const _0x219e4d=_0x1073f6;if(!this[_0x219e4d(0xb5)][_0x219e4d(0xb0)](_0x54affb))throw new _0x19ecd9(_0x219e4d(0x84),null,{'channelId':_0x54affb});const _0x4a5c81=this[_0x219e4d(0xb5)][_0x219e4d(0x81)](_0x54affb);this[_0x219e4d(0xa8)](_0x4a5c81);for(const _0x5d4e34 of _0x4a5c81)_0x219e4d(0xaa)===this[_0x219e4d(0x7e)][_0x219e4d(0x99)][_0x219e4d(0x81)](_0x529d63)[_0x219e4d(0x8b)]&&this[_0x219e4d(0x98)](_0x54affb,_0x5d4e34);this[_0x219e4d(0xb5)][_0x219e4d(0x8c)](_0x54affb),this[_0x219e4d(0x8e)][_0x219e4d(0x8c)](_0x54affb),this[_0x219e4d(0x9b)][_0x219e4d(0x8c)](_0x54affb);}get[_0x1073f6(0x97)](){const _0x66ddaa=_0x1073f6;return this[_0x66ddaa(0x7e)][_0x66ddaa(0x99)][_0x66ddaa(0x81)](_0x529d63)[_0x66ddaa(0x7d)][_0x66ddaa(0x7a)];}[_0x1073f6(0x83)](_0x5c1243){const _0x53377d=_0x1073f6;for(const _0x4798ae of this[_0x53377d(0x8e)][_0x53377d(0x7f)]())for(const _0x49d43f of _0x4798ae)if(_0x49d43f['id']===_0x5c1243)return _0x49d43f[_0x53377d(0x95)];}[_0x1073f6(0x9c)](_0x796d19,_0x13d586){const _0xb58a2d=_0x1073f6,_0x4c292a=_0x13d586?[this[_0xb58a2d(0x8e)][_0xb58a2d(0x81)](_0x13d586)]:this[_0xb58a2d(0x8e)][_0xb58a2d(0x7f)](),_0x4530f4=new Set();for(const _0xf1b1a7 of _0x4c292a)for(const _0x220c41 of _0xf1b1a7)_0x220c41[_0xb58a2d(0x95)]['id']===_0x796d19['id']&&_0x4530f4[_0xb58a2d(0xab)](_0x220c41['id']);return _0x4530f4;}[_0x1073f6(0xa6)](_0x5cd43e){const _0x5958f1=_0x1073f6;for(const _0x585e53 of this[_0x5958f1(0x8e)][_0x5958f1(0x7f)]())for(const _0x35659b of _0x585e53)if(_0x35659b[_0x5958f1(0x95)]===_0x5cd43e)return _0x35659b[_0x5958f1(0x88)];}[_0x1073f6(0xa1)](_0x2cc057,_0x5c6db8){const _0x3bdb87=_0x1073f6;if(_0x3bdb87(0xaa)!==this[_0x3bdb87(0x7e)][_0x3bdb87(0x99)][_0x3bdb87(0x81)](_0x529d63)[_0x3bdb87(0x8b)])return;const _0x1c1a93=_0x5c6db8[_0x3bdb87(0x95)],_0x211b10=this[_0x3bdb87(0xad)][_0x3bdb87(0x8f)](_0x1c1a93['id'])||this[_0x3bdb87(0xa7)](_0x1c1a93),_0x5a4985=Object[_0x3bdb87(0x7c)]({},_0x5c6db8,{'user':_0x211b10});this[_0x3bdb87(0x8e)][_0x3bdb87(0x81)](_0x2cc057)[_0x3bdb87(0xab)](_0x5a4985);const _0x233991=this[_0x3bdb87(0x9b)][_0x3bdb87(0x81)](_0x2cc057);_0x233991[_0x3bdb87(0xb0)](_0x211b10['id'])||_0x233991[_0x3bdb87(0xab)](_0x211b10),this[_0x3bdb87(0xac)][_0x3bdb87(0xb0)](_0x211b10['id'])||this[_0x3bdb87(0xac)][_0x3bdb87(0xab)](_0x211b10,_0x211b10[_0x3bdb87(0xa3)]?0x0:void 0x0),this[_0x3bdb87(0x82)](_0x3bdb87(0x94)+_0x2cc057,{'channelId':_0x2cc057,'session':_0x5a4985});}[_0x1073f6(0x98)](_0x478267,_0x4f7c31){const _0x5a37b6=_0x1073f6;if(_0x5a37b6(0xaa)!==this[_0x5a37b6(0x7e)][_0x5a37b6(0x99)][_0x5a37b6(0x81)](_0x529d63)[_0x5a37b6(0x8b)])return;const _0x32c0b5=this[_0x5a37b6(0x9b)][_0x5a37b6(0x81)](_0x478267),_0x12fc5b=_0x4f7c31[_0x5a37b6(0x95)];_0x12fc5b['id']&&(this[_0x5a37b6(0x8e)][_0x5a37b6(0x81)](_0x478267)[_0x5a37b6(0x86)](_0x4f7c31['id']),_0x32c0b5[_0x5a37b6(0xb0)](_0x12fc5b['id'])&&!this[_0x5a37b6(0x9c)](_0x12fc5b,_0x478267)[_0x5a37b6(0x8d)]&&_0x32c0b5[_0x5a37b6(0x86)](_0x12fc5b['id']),this[_0x5a37b6(0xac)][_0x5a37b6(0x81)](_0x12fc5b['id'])&&!this[_0x5a37b6(0x9c)](_0x12fc5b)[_0x5a37b6(0x8d)]&&this[_0x5a37b6(0xac)][_0x5a37b6(0x86)](_0x12fc5b['id']));}[_0x1073f6(0xa7)](_0x4588ec,_0x236436){const _0x39d9ae=_0x1073f6,_0x5001f8=this[_0x39d9ae(0xad)][_0x39d9ae(0x9a)](_0x4588ec);return _0x236436&&this[_0x39d9ae(0xad)][_0x39d9ae(0xae)](_0x4588ec['id']),_0x5001f8[_0x39d9ae(0xa5)]=this[_0x39d9ae(0xb2)]++,_0x5001f8;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5acbf4=_0x7869;(function(_0x424aa8,_0x18e5ef){const _0x583a0d=_0x7869,_0x102a16=_0x424aa8();while(!![]){try{const _0x3461dd=parseInt(_0x583a0d(0x1cb))/0x1+-parseInt(_0x583a0d(0x21e))/0x2+-parseInt(_0x583a0d(0x225))/0x3+parseInt(_0x583a0d(0x22c))/0x4+-parseInt(_0x583a0d(0x20e))/0x5+-parseInt(_0x583a0d(0x202))/0x6+-parseInt(_0x583a0d(0x201))/0x7*(-parseInt(_0x583a0d(0x211))/0x8);if(_0x3461dd===_0x18e5ef)break;else _0x102a16['push'](_0x102a16['shift']());}catch(_0x276290){_0x102a16['push'](_0x102a16['shift']());}}}(_0x245b,0x9faed));function _0x245b(){const _0x25372d=['checkChild','batch','ck-user__selection','102915gwpRft','markerNameToElements','clear','data-session-id','split','nodeAfter','toRange','3778340nhtJNf','root','getStart','stopListening','removeMarker','mouseleave','addMarker','detach','update:user:range','destroy','markerToElement','user:range','editingDowncast','getAttribute','has','$text','contenteditable','_domEmitter','updateMarker','size','type','start','undo','getRange','classList','Escape','startsWith','getFirstRange','document','mapper','applyOperation','455766JDIfbX','selection','innerHTML','enqueueChange','pluginName','render','setCustomProperty','highest','oldRange','change','span','color','for','isCollapsed','removeClass','deletionPosition','getUserBySessionId','ck-user__marker\x20','mouseenter','editing','end','name','addEventListener','remove','isObject','createUIElement','ck-user__marker_hovered','parent','isSimilar','$graveyard','getMarkerClass','keydown','getNearestSelectionRange','set','userPositionMarker','createRange','getSelectionClass','afterInit','_createdBatches','toDomElement','editor','getCustomProperty','createUserMarkerOperations','plugins','markerName','<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>','mySessionId','getContainedElement','getPositions','change:range','newRange','marker','conversion','listenTo','1179843OGNeiv','4427964upwuZc','isInline','hasContent','user:','commands','schema','delete','reconvertMarker','add','isLimit','orderNumber','</span>','3874725DBKOTO','tableCell','fromRange','72bnaofH','markerRange','markerToHighlight','init','rootName','model','UserMarkers','get','user:position','requires','view','hasDomSelection','user:range:','1431974wUsFxN','element','user:position:','markers'];_0x245b=function(){return _0x25372d;};return _0x245b();}import{Plugin as _0x1805e8}from'ckeditor5/src/core.js';import{global as _0x3fa14e,DomEmitterMixin as _0x228b22}from'ckeditor5/src/utils.js';import _0x1f14a5 from'./sessions.js';import{LiveRange as _0x160bb8}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x1805e8{constructor(){const _0x277b09=_0x7869;super(...arguments),this[_0x277b09(0x1bd)]=new(_0x228b22())();}static get[_0x5acbf4(0x21a)](){return[_0x1f14a5];}static get[_0x5acbf4(0x1cf)](){const _0x20575d=_0x5acbf4;return _0x20575d(0x217);}[_0x5acbf4(0x214)](){const _0x3dc129=_0x5acbf4,_0x129358=this[_0x3dc129(0x1f3)],_0x505961=_0x129358[_0x3dc129(0x1f6)][_0x3dc129(0x218)](_0x1f14a5);_0x129358[_0x3dc129(0x1ff)][_0x3dc129(0x1d7)](_0x3dc129(0x1b8))[_0x3dc129(0x1b6)]({'model':_0x3dc129(0x219),'view':(_0x1da180,{writer:_0x31b44d})=>function(_0x1932ae,_0x383f0d,_0x59068b,_0x107e18){const _0x1f327c=_0x3dc129,_0x3b119e=_0x1932ae[_0x1f327c(0x1f7)][_0x1f327c(0x229)](':')[0x2],_0x2fd674=_0x59068b[_0x1f327c(0x1db)](_0x3b119e);if(!_0x2fd674||_0x3b119e===_0x59068b[_0x1f327c(0x1f9)])return;if(!_0x107e18[_0x1f327c(0x216)][_0x1f327c(0x207)][_0x1f327c(0x222)](_0x1932ae[_0x1f327c(0x212)][_0x1f327c(0x1c1)],_0x1f327c(0x1bb)))return;const _0x22e060={'class':_0x1f327c(0x1dc)+_0x2fd674[_0x1f327c(0x1d6)][_0x1f327c(0x1e9)](),'data-name':_0x2fd674[_0x1f327c(0x1e0)],'data-session-id':_0x3b119e},_0x1f7888=_0x107e18[_0x1f327c(0x216)][_0x1f327c(0x221)][_0x1f327c(0x218)](_0x1932ae[_0x1f327c(0x1f7)]),_0x3399d1=_0x1f7888[_0x1f327c(0x1ae)](),_0x21088a=_0x3399d1[_0x1f327c(0x22a)],_0x36abc6=_0x107e18[_0x1f327c(0x216)][_0x1f327c(0x207)];if(_0x21088a&&_0x36abc6[_0x1f327c(0x1e3)](_0x21088a)&&_0x36abc6[_0x1f327c(0x203)](_0x21088a)&&!_0x107e18[_0x1f327c(0x216)][_0x1f327c(0x221)][_0x1f327c(0x218)](_0x1f327c(0x21d)+_0x3b119e)[_0x1f327c(0x1c3)]()[_0x1f327c(0x1d8)])return;const _0xf14bbe=_0x3399d1[_0x1f327c(0x1e6)];return _0x107e18[_0x1f327c(0x216)][_0x1f327c(0x207)][_0x1f327c(0x20b)](_0xf14bbe)&&!_0x107e18[_0x1f327c(0x216)][_0x1f327c(0x204)](_0xf14bbe)&&(_0x22e060[_0x1f327c(0x1bc)]=!0x1),function(_0x36cc31,_0x3c77b2,_0x2e3435){const _0x5302bc=_0x1f327c,_0x1ae0d4=_0x36cc31[_0x5302bc(0x1e4)](_0x5302bc(0x1d5),_0x3c77b2);return _0x36cc31[_0x5302bc(0x1d1)](_0x5302bc(0x1ed),!0x0,_0x1ae0d4),_0x1ae0d4[_0x5302bc(0x1d0)]=function(_0x5aec92){const _0x246476=_0x5302bc,_0x10ae43=this[_0x246476(0x1f2)](_0x5aec92);return _0x10ae43[_0x246476(0x1cd)]=_0x246476(0x1f8)+_0x2e3435[_0x246476(0x1e0)]+_0x246476(0x20d),_0x10ae43[_0x246476(0x1e1)](_0x246476(0x1dd),()=>{const _0x47ae62=_0x246476;_0x10ae43[_0x47ae62(0x1c4)][_0x47ae62(0x20a)](_0x47ae62(0x1e5));}),_0x10ae43[_0x246476(0x1e1)](_0x246476(0x1b1),()=>{const _0x3a8037=_0x246476;_0x10ae43[_0x3a8037(0x1c4)][_0x3a8037(0x1e2)](_0x3a8037(0x1e5));}),_0x10ae43;},_0x1ae0d4[_0x5302bc(0x1e7)]=function(_0x9f757c){const _0x579ecc=_0x5302bc;return!(!this[_0x579ecc(0x1f4)](_0x579ecc(0x1ed))||!_0x9f757c[_0x579ecc(0x1f4)](_0x579ecc(0x1ed))||this[_0x579ecc(0x1b9)](_0x579ecc(0x228))!=_0x9f757c[_0x579ecc(0x1b9)](_0x579ecc(0x228)));},_0x1ae0d4;}(_0x383f0d,_0x22e060,_0x2fd674);}(_0x1da180,_0x31b44d,_0x505961,_0x129358)}),_0x129358[_0x3dc129(0x1ff)][_0x3dc129(0x1d7)](_0x3dc129(0x1b8))[_0x3dc129(0x213)]({'model':_0x3dc129(0x1b7),'view':_0x4ad431=>function(_0x23c9c1,_0x2d4047){const _0x5f0b1e=_0x3dc129,_0x598f7d=_0x23c9c1[_0x5f0b1e(0x1f7)][_0x5f0b1e(0x229)](':')[0x2];if(_0x598f7d===_0x2d4047[_0x5f0b1e(0x1f9)])return null;const _0x650b0a=_0x2d4047[_0x5f0b1e(0x1db)](_0x598f7d);if(!_0x650b0a)return{'id':_0x598f7d,'classes':[]};return{'id':_0x598f7d,'classes':[_0x5f0b1e(0x224),_0x650b0a[_0x5f0b1e(0x1d6)][_0x5f0b1e(0x1ef)]()],'attributes':{'data-session-id':_0x598f7d},'priority':0x7d0+_0x650b0a[_0x5f0b1e(0x20c)]};}(_0x4ad431,_0x505961)}),function(_0x5ace96){const _0x1a1f87=_0x3dc129,_0x49335e=_0x5ace96[_0x1a1f87(0x216)],_0x2ac10d=new Map(),_0xc9130=_0x5ace96[_0x1a1f87(0x1f6)][_0x1a1f87(0x218)](_0x1f14a5);_0x49335e[_0x1a1f87(0x221)]['on'](_0x1a1f87(0x1b4),(_0x5cc285,_0x799c7b,_0x373f74,_0x35a520)=>{const _0x275a8e=_0x1a1f87;if(!_0x35a520&&_0x2ac10d[_0x275a8e(0x218)](_0x799c7b[_0x275a8e(0x1e0)]))return _0x2ac10d[_0x275a8e(0x218)](_0x799c7b[_0x275a8e(0x1e0)])[_0x275a8e(0x1b3)](),void _0x2ac10d[_0x275a8e(0x208)](_0x799c7b[_0x275a8e(0x1e0)]);const _0x1cadff=_0x799c7b[_0x275a8e(0x1e0)][_0x275a8e(0x229)](':')[0x2];if(_0x1cadff===_0xc9130[_0x275a8e(0x1f9)])return;const _0x30b7a8=_0x275a8e(0x220)+_0x1cadff;_0x49335e[_0x275a8e(0x221)][_0x275a8e(0x1ba)](_0x30b7a8)&&_0x5ace96[_0x275a8e(0x1de)][_0x275a8e(0x209)](_0x30b7a8),_0x799c7b['on'](_0x275a8e(0x1fc),(_0x59efdf,_0x11032e,_0x1b1cb1)=>{const _0x4831b3=_0x275a8e;if(_0x4831b3(0x1e8)!=_0x11032e[_0x4831b3(0x22d)][_0x4831b3(0x215)]&&_0x4831b3(0x1e8)==_0x799c7b[_0x4831b3(0x1c3)]()[_0x4831b3(0x22d)][_0x4831b3(0x215)]&&!_0x2ac10d[_0x4831b3(0x1ba)](_0x799c7b[_0x4831b3(0x1e0)])){const _0x52a6aa=_0x49335e[_0x4831b3(0x207)][_0x4831b3(0x1eb)](_0x1b1cb1[_0x4831b3(0x1da)]);if(_0x52a6aa){const _0x19c778=_0x160bb8[_0x4831b3(0x210)](_0x52a6aa);_0x2ac10d[_0x4831b3(0x1ec)](_0x799c7b[_0x4831b3(0x1e0)],_0x19c778),_0x19c778['on'](_0x4831b3(0x1fc),(_0x188b63,_0x2b480f,_0x31827d)=>{const _0x1681ef=_0x4831b3;if(_0x1681ef(0x1e8)==_0x19c778[_0x1681ef(0x22d)][_0x1681ef(0x215)]){const _0x34457c=_0x49335e[_0x1681ef(0x207)][_0x1681ef(0x1eb)](_0x31827d[_0x1681ef(0x1da)]);_0x34457c?(_0x19c778[_0x1681ef(0x1c1)]=_0x34457c[_0x1681ef(0x1c1)],_0x19c778[_0x1681ef(0x1df)]=_0x34457c[_0x1681ef(0x1df)]):(_0x2ac10d[_0x1681ef(0x208)](_0x799c7b[_0x1681ef(0x1e0)]),_0x19c778[_0x1681ef(0x1b3)]());}});}}});}),_0x49335e[_0x1a1f87(0x1c8)]['on'](_0x1a1f87(0x1d4),()=>{const _0x2fbc30=_0x1a1f87;_0x2ac10d[_0x2fbc30(0x1bf)]>0x0&&_0x49335e[_0x2fbc30(0x1ce)]({'isUndoable':!0x1},_0x8bbc9d=>{const _0x158ae2=_0x2fbc30;for(const [_0x394ae3,_0x57fa03]of _0x2ac10d)_0x158ae2(0x1e8)==_0x49335e[_0x158ae2(0x221)][_0x158ae2(0x218)](_0x394ae3)[_0x158ae2(0x1c3)]()[_0x158ae2(0x22d)][_0x158ae2(0x215)]&&(re(_0x394ae3[_0x158ae2(0x229)](':')[0x2],_0x57fa03[_0x158ae2(0x22b)](),_0x49335e,_0x8bbc9d),_0x57fa03[_0x158ae2(0x1b3)]());_0x2ac10d[_0x158ae2(0x227)]();});});}(_0x129358),this[_0x3dc129(0x1bd)][_0x3dc129(0x200)](_0x3fa14e[_0x3dc129(0x1c8)],_0x3dc129(0x1ea),(_0x6f7814,{key:_0x559a31})=>{const _0x5b7fd1=_0x3dc129;_0x5b7fd1(0x1c5)===_0x559a31&&function(_0x1ff57a){const _0x37c523=_0x5b7fd1;_0x1ff57a[_0x37c523(0x1de)][_0x37c523(0x21b)][_0x37c523(0x1d4)](_0x3df87b=>{const _0x5f0215=_0x37c523;for(const _0x511f0f of _0x1ff57a[_0x5f0215(0x216)][_0x5f0215(0x221)]){if(!_0x511f0f[_0x5f0215(0x1e0)][_0x5f0215(0x1c6)](_0x5f0215(0x219)))continue;const _0x5e3612=_0x1ff57a[_0x5f0215(0x1de)][_0x5f0215(0x1c9)][_0x5f0215(0x226)](_0x511f0f[_0x5f0215(0x1e0)]);if(_0x5e3612){for(const _0x5cd716 of _0x5e3612)_0x3df87b[_0x5f0215(0x1d9)](_0x5f0215(0x1e5),_0x5cd716);}}});}(_0x129358);},{'useCapture':!0x0});}[_0x5acbf4(0x1f0)](){const _0x5e2a3e=_0x5acbf4,_0x4f94b6=this[_0x5e2a3e(0x1f3)],_0x24e0d9=_0x4f94b6[_0x5e2a3e(0x206)][_0x5e2a3e(0x218)](_0x5e2a3e(0x1c2));_0x24e0d9&&_0x4f94b6[_0x5e2a3e(0x216)]['on'](_0x5e2a3e(0x1ca),(_0x149ec3,_0x36060b)=>{const _0x3b17bb=_0x5e2a3e,_0x4e061f=_0x36060b[0x0];if(_0x3b17bb(0x1fe)!=_0x4e061f[_0x3b17bb(0x1c0)]||!_0x4e061f[_0x3b17bb(0x1e0)][_0x3b17bb(0x1c6)](_0x3b17bb(0x205)))return;const _0x4a881a=_0x4e061f[_0x3b17bb(0x223)];_0x24e0d9[_0x3b17bb(0x1f1)][_0x3b17bb(0x1ba)](_0x4a881a)&&(_0x4e061f[_0x3b17bb(0x1fd)]=_0x4e061f[_0x3b17bb(0x1d3)]?_0x4f94b6[_0x3b17bb(0x216)][_0x3b17bb(0x1ee)](_0x4e061f[_0x3b17bb(0x1d3)][_0x3b17bb(0x1c1)],_0x4e061f[_0x3b17bb(0x1d3)][_0x3b17bb(0x1df)]):null);},{'priority':_0x5e2a3e(0x1d2)});}[_0x5acbf4(0x1b5)](){const _0x5ba2d0=_0x5acbf4;return this[_0x5ba2d0(0x1bd)][_0x5ba2d0(0x1af)](),super[_0x5ba2d0(0x1b5)]();}[_0x5acbf4(0x1f5)](){const _0x22979a=_0x5acbf4,_0x20693c=this[_0x22979a(0x1f3)],_0xe2773=_0x20693c[_0x22979a(0x216)][_0x22979a(0x1c8)],_0x493a59=_0x20693c[_0x22979a(0x1f6)][_0x22979a(0x218)](_0x1f14a5);_0x20693c[_0x22979a(0x216)][_0x22979a(0x1ce)]({'isUndoable':!0x1},_0x2ae8bb=>{const _0x37bee7=_0x22979a,_0x12e93c=_0x37bee7(0x21d)+_0x493a59[_0x37bee7(0x1f9)],_0x59085b=_0x37bee7(0x220)+_0x493a59[_0x37bee7(0x1f9)],_0x27f690=_0x20693c[_0x37bee7(0x216)][_0x37bee7(0x221)][_0x37bee7(0x1ba)](_0x12e93c);_0x20693c[_0x37bee7(0x1de)][_0x37bee7(0x21b)][_0x37bee7(0x21c)]?re(_0x493a59[_0x37bee7(0x1f9)],_0xe2773[_0x37bee7(0x1cc)][_0x37bee7(0x1c7)](),_0x20693c[_0x37bee7(0x216)],_0x2ae8bb):_0x27f690&&(_0x2ae8bb[_0x37bee7(0x1b0)](_0x12e93c),_0x2ae8bb[_0x37bee7(0x1b0)](_0x59085b));});}}function _0x7869(_0x23990a,_0x297852){const _0x245b4f=_0x245b();return _0x7869=function(_0x78698c,_0xf5c77a){_0x78698c=_0x78698c-0x1ae;let _0x1288d5=_0x245b4f[_0x78698c];return _0x1288d5;},_0x7869(_0x23990a,_0x297852);}function re(_0x51cb5b,_0x1b040e,_0xe0e74f,_0x1f0e3e){const _0x42ca9a=_0x5acbf4,_0x645273=_0x42ca9a(0x21d)+_0x51cb5b,_0xb64ccd=_0x42ca9a(0x220)+_0x51cb5b,_0x2e5322=_0x1b040e[_0x42ca9a(0x1fa)]();let _0x5cb894=_0x1b040e[_0x42ca9a(0x1c1)];_0x2e5322&&_0x2e5322['is'](_0x42ca9a(0x21f),_0x42ca9a(0x20f))&&(_0x5cb894=function(_0xefd547,_0x33bbeb){const _0x4d2f52=_0x42ca9a;for(const _0x4eaf04 of _0xefd547[_0x4d2f52(0x1fb)]())if(_0x33bbeb[_0x4d2f52(0x207)][_0x4d2f52(0x222)](_0x4eaf04,_0x4d2f52(0x1bb)))return _0x4eaf04;}(_0x1b040e,_0xe0e74f),_0x1b040e=_0x1f0e3e[_0x42ca9a(0x1ee)](_0x5cb894));const _0x191565=_0x1f0e3e[_0x42ca9a(0x1ee)](_0x5cb894);_0xe0e74f[_0x42ca9a(0x221)][_0x42ca9a(0x1ba)](_0x645273)?(_0x1f0e3e[_0x42ca9a(0x1be)](_0x645273,{'range':_0x1b040e}),_0x1f0e3e[_0x42ca9a(0x1be)](_0xb64ccd,{'range':_0x191565})):(_0x1f0e3e[_0x42ca9a(0x1b2)](_0x645273,{'range':_0x1b040e,'usingOperation':!0x0}),_0x1f0e3e[_0x42ca9a(0x1b2)](_0xb64ccd,{'range':_0x191565,'usingOperation':!0x0}));}
|
|
23
|
+
const _0xc66db9=_0x547c;(function(_0x2e010f,_0x22d10a){const _0x4ce011=_0x547c,_0x52ffc7=_0x2e010f();while(!![]){try{const _0x549a89=-parseInt(_0x4ce011(0x235))/0x1+parseInt(_0x4ce011(0x240))/0x2*(-parseInt(_0x4ce011(0x220))/0x3)+parseInt(_0x4ce011(0x234))/0x4+parseInt(_0x4ce011(0x24b))/0x5*(parseInt(_0x4ce011(0x1f5))/0x6)+parseInt(_0x4ce011(0x252))/0x7+parseInt(_0x4ce011(0x232))/0x8*(-parseInt(_0x4ce011(0x219))/0x9)+parseInt(_0x4ce011(0x244))/0xa;if(_0x549a89===_0x22d10a)break;else _0x52ffc7['push'](_0x52ffc7['shift']());}catch(_0x3146d1){_0x52ffc7['push'](_0x52ffc7['shift']());}}}(_0x5329,0xc6404));import{Plugin as _0x2daf1d}from'ckeditor5/src/core.js';import{global as _0x5230c5,DomEmitterMixin as _0x1d1d24}from'ckeditor5/src/utils.js';import _0x5525db from'./sessions.js';import{LiveRange as _0x43a750}from'ckeditor5/src/engine.js';function _0x547c(_0x17a371,_0x4a4d18){const _0x53299d=_0x5329();return _0x547c=function(_0x547c88,_0x41cd48){_0x547c88=_0x547c88-0x1d8;let _0xe24f0f=_0x53299d[_0x547c88];return _0xe24f0f;},_0x547c(_0x17a371,_0x4a4d18);}import'../../theme/usermarkers.css';export default class E extends _0x2daf1d{constructor(){const _0x5b35be=_0x547c;super(...arguments),this[_0x5b35be(0x1f7)]=new(_0x1d1d24())();}static get[_0xc66db9(0x1f6)](){return[_0x5525db];}static get[_0xc66db9(0x236)](){const _0x28c429=_0xc66db9;return _0x28c429(0x256);}[_0xc66db9(0x1f4)](){const _0x1c5dff=_0xc66db9,_0x177561=this[_0x1c5dff(0x23e)],_0x1bb43b=_0x177561[_0x1c5dff(0x242)][_0x1c5dff(0x241)](_0x5525db);_0x177561[_0x1c5dff(0x1de)][_0x1c5dff(0x1fc)](_0x1c5dff(0x21d))[_0x1c5dff(0x21a)]({'model':_0x1c5dff(0x1f1),'view':(_0x4fc918,{writer:_0xdd0c43})=>function(_0x2b1b64,_0x371ae4,_0x548cf1,_0x22fa1e){const _0x527c00=_0x1c5dff,_0x5b3732=_0x2b1b64[_0x527c00(0x227)][_0x527c00(0x23d)](':')[0x2],_0x35056b=_0x548cf1[_0x527c00(0x20d)](_0x5b3732);if(!_0x35056b||_0x5b3732===_0x548cf1[_0x527c00(0x211)])return;if(!_0x22fa1e[_0x527c00(0x23b)][_0x527c00(0x1e6)][_0x527c00(0x1e2)](_0x2b1b64[_0x527c00(0x1f9)][_0x527c00(0x226)],_0x527c00(0x21c)))return;const _0x3b94f8={'class':_0x527c00(0x1f2)+_0x35056b[_0x527c00(0x24f)][_0x527c00(0x20f)](),'data-name':_0x35056b[_0x527c00(0x207)],'data-session-id':_0x5b3732},_0x3458ce=_0x22fa1e[_0x527c00(0x23b)][_0x527c00(0x1e8)][_0x527c00(0x241)](_0x2b1b64[_0x527c00(0x227)]),_0x302727=_0x3458ce[_0x527c00(0x24e)](),_0xcb9aa4=_0x302727[_0x527c00(0x1ed)],_0x41d887=_0x22fa1e[_0x527c00(0x23b)][_0x527c00(0x1e6)];if(_0xcb9aa4&&_0x41d887[_0x527c00(0x22f)](_0xcb9aa4)&&_0x41d887[_0x527c00(0x1dd)](_0xcb9aa4)&&!_0x22fa1e[_0x527c00(0x23b)][_0x527c00(0x1e8)][_0x527c00(0x241)](_0x527c00(0x23a)+_0x5b3732)[_0x527c00(0x1fb)]()[_0x527c00(0x23c)])return;const _0x29a170=_0x302727[_0x527c00(0x228)];return _0x22fa1e[_0x527c00(0x23b)][_0x527c00(0x1e6)][_0x527c00(0x213)](_0x29a170)&&!_0x22fa1e[_0x527c00(0x23b)][_0x527c00(0x224)](_0x29a170)&&(_0x3b94f8[_0x527c00(0x1fd)]=!0x1),function(_0x289f56,_0x19e781,_0x58eded){const _0x357ce9=_0x527c00,_0x5f2955=_0x289f56[_0x357ce9(0x209)](_0x357ce9(0x255),_0x19e781);return _0x289f56[_0x357ce9(0x23f)](_0x357ce9(0x214),!0x0,_0x5f2955),_0x5f2955[_0x357ce9(0x231)]=function(_0x140501){const _0x30a81a=_0x357ce9,_0x52996f=this[_0x30a81a(0x203)](_0x140501);return _0x52996f[_0x30a81a(0x22a)]=_0x30a81a(0x253)+_0x58eded[_0x30a81a(0x207)]+_0x30a81a(0x217),_0x52996f[_0x30a81a(0x21e)](_0x30a81a(0x1f0),()=>{const _0x127969=_0x30a81a;_0x52996f[_0x127969(0x1e1)][_0x127969(0x1f3)](_0x127969(0x254));}),_0x52996f[_0x30a81a(0x21e)](_0x30a81a(0x1ec),()=>{const _0x3c10d0=_0x30a81a;_0x52996f[_0x3c10d0(0x1e1)][_0x3c10d0(0x1df)](_0x3c10d0(0x254));}),_0x52996f;},_0x5f2955[_0x357ce9(0x1eb)]=function(_0x10e198){const _0x240cec=_0x357ce9;return!(!this[_0x240cec(0x1e7)](_0x240cec(0x214))||!_0x10e198[_0x240cec(0x1e7)](_0x240cec(0x214))||this[_0x240cec(0x20e)](_0x240cec(0x201))!=_0x10e198[_0x240cec(0x20e)](_0x240cec(0x201)));},_0x5f2955;}(_0x371ae4,_0x3b94f8,_0x35056b);}(_0x4fc918,_0xdd0c43,_0x1bb43b,_0x177561)}),_0x177561[_0x1c5dff(0x1de)][_0x1c5dff(0x1fc)](_0x1c5dff(0x21d))[_0x1c5dff(0x1e9)]({'model':_0x1c5dff(0x250),'view':_0x12c130=>function(_0x535498,_0x86eb87){const _0x1d56e1=_0x1c5dff,_0xead0e7=_0x535498[_0x1d56e1(0x227)][_0x1d56e1(0x23d)](':')[0x2];if(_0xead0e7===_0x86eb87[_0x1d56e1(0x211)])return null;const _0x4519f0=_0x86eb87[_0x1d56e1(0x20d)](_0xead0e7);if(!_0x4519f0)return{'id':_0xead0e7,'classes':[]};return{'id':_0xead0e7,'classes':[_0x1d56e1(0x202),_0x4519f0[_0x1d56e1(0x24f)][_0x1d56e1(0x1e4)]()],'attributes':{'data-session-id':_0xead0e7},'priority':0x7d0+_0x4519f0[_0x1d56e1(0x1e5)]};}(_0x12c130,_0x1bb43b)}),function(_0x11a716){const _0x66c30f=_0x1c5dff,_0x354f14=_0x11a716[_0x66c30f(0x23b)],_0x58cfb1=new Map(),_0x89687c=_0x11a716[_0x66c30f(0x242)][_0x66c30f(0x241)](_0x5525db);_0x354f14[_0x66c30f(0x1e8)]['on'](_0x66c30f(0x24d),(_0x213202,_0x39ca84,_0x591f68,_0x3e8a78)=>{const _0x1c2f93=_0x66c30f;if(!_0x3e8a78&&_0x58cfb1[_0x1c2f93(0x241)](_0x39ca84[_0x1c2f93(0x207)]))return _0x58cfb1[_0x1c2f93(0x241)](_0x39ca84[_0x1c2f93(0x207)])[_0x1c2f93(0x237)](),void _0x58cfb1[_0x1c2f93(0x259)](_0x39ca84[_0x1c2f93(0x207)]);const _0x13aa21=_0x39ca84[_0x1c2f93(0x207)][_0x1c2f93(0x23d)](':')[0x2];if(_0x13aa21===_0x89687c[_0x1c2f93(0x211)])return;const _0x32fb6b=_0x1c2f93(0x225)+_0x13aa21;_0x354f14[_0x1c2f93(0x1e8)][_0x1c2f93(0x1fa)](_0x32fb6b)&&_0x11a716[_0x1c2f93(0x20a)][_0x1c2f93(0x210)](_0x32fb6b),_0x39ca84['on'](_0x1c2f93(0x218),(_0x5d2540,_0xaa6fa4,_0x50c65e)=>{const _0xbfdaeb=_0x1c2f93;if(_0xbfdaeb(0x239)!=_0xaa6fa4[_0xbfdaeb(0x21f)][_0xbfdaeb(0x1da)]&&_0xbfdaeb(0x239)==_0x39ca84[_0xbfdaeb(0x1fb)]()[_0xbfdaeb(0x21f)][_0xbfdaeb(0x1da)]&&!_0x58cfb1[_0xbfdaeb(0x1fa)](_0x39ca84[_0xbfdaeb(0x207)])){const _0x31339a=_0x354f14[_0xbfdaeb(0x1e6)][_0xbfdaeb(0x212)](_0x50c65e[_0xbfdaeb(0x243)]);if(_0x31339a){const _0x364f96=_0x43a750[_0xbfdaeb(0x238)](_0x31339a);_0x58cfb1[_0xbfdaeb(0x216)](_0x39ca84[_0xbfdaeb(0x207)],_0x364f96),_0x364f96['on'](_0xbfdaeb(0x218),(_0x4821c5,_0x1bb424,_0x3df609)=>{const _0x46b418=_0xbfdaeb;if(_0x46b418(0x239)==_0x364f96[_0x46b418(0x21f)][_0x46b418(0x1da)]){const _0x4eb954=_0x354f14[_0x46b418(0x1e6)][_0x46b418(0x212)](_0x3df609[_0x46b418(0x243)]);_0x4eb954?(_0x364f96[_0x46b418(0x226)]=_0x4eb954[_0x46b418(0x226)],_0x364f96[_0x46b418(0x230)]=_0x4eb954[_0x46b418(0x230)]):(_0x58cfb1[_0x46b418(0x259)](_0x39ca84[_0x46b418(0x207)]),_0x364f96[_0x46b418(0x237)]());}});}}});}),_0x354f14[_0x66c30f(0x1d9)]['on'](_0x66c30f(0x221),()=>{const _0x7437c4=_0x66c30f;_0x58cfb1[_0x7437c4(0x205)]>0x0&&_0x354f14[_0x7437c4(0x1ff)]({'isUndoable':!0x1},_0x12bb51=>{const _0x5e27ed=_0x7437c4;for(const [_0x25ac81,_0x15f9d3]of _0x58cfb1)_0x5e27ed(0x239)==_0x354f14[_0x5e27ed(0x1e8)][_0x5e27ed(0x241)](_0x25ac81)[_0x5e27ed(0x1fb)]()[_0x5e27ed(0x21f)][_0x5e27ed(0x1da)]&&(Q(_0x25ac81[_0x5e27ed(0x23d)](':')[0x2],_0x15f9d3[_0x5e27ed(0x1fe)](),_0x354f14,_0x12bb51),_0x15f9d3[_0x5e27ed(0x237)]());_0x58cfb1[_0x5e27ed(0x249)]();});});}(_0x177561),this[_0x1c5dff(0x1f7)][_0x1c5dff(0x229)](_0x5230c5[_0x1c5dff(0x1d9)],_0x1c5dff(0x24a),(_0x431de7,{key:_0x4c401d})=>{const _0x3a2bab=_0x1c5dff;_0x3a2bab(0x208)===_0x4c401d&&function(_0xeeb290){const _0x2d829f=_0x3a2bab;_0xeeb290[_0x2d829f(0x20a)][_0x2d829f(0x215)][_0x2d829f(0x221)](_0x17a481=>{const _0xfd72d5=_0x2d829f;for(const _0x465a24 of _0xeeb290[_0xfd72d5(0x23b)][_0xfd72d5(0x1e8)]){if(!_0x465a24[_0xfd72d5(0x207)][_0xfd72d5(0x204)](_0xfd72d5(0x1f1)))continue;const _0x41c78a=_0xeeb290[_0xfd72d5(0x20a)][_0xfd72d5(0x1e0)][_0xfd72d5(0x22d)](_0x465a24[_0xfd72d5(0x207)]);if(_0x41c78a){for(const _0x393394 of _0x41c78a)_0x17a481[_0xfd72d5(0x246)](_0xfd72d5(0x254),_0x393394);}}});}(_0x177561);},{'useCapture':!0x0});}[_0xc66db9(0x233)](){const _0x3bc184=_0xc66db9,_0x28bb2f=this[_0x3bc184(0x23e)],_0x1abfaf=_0x28bb2f[_0x3bc184(0x1e3)][_0x3bc184(0x241)](_0x3bc184(0x1d8));_0x1abfaf&&_0x28bb2f[_0x3bc184(0x23b)]['on'](_0x3bc184(0x22c),(_0x37a074,_0x28a103)=>{const _0x19c142=_0x3bc184,_0x30ccbf=_0x28a103[0x0];if(_0x19c142(0x1dc)!=_0x30ccbf[_0x19c142(0x20b)]||!_0x30ccbf[_0x19c142(0x207)][_0x19c142(0x204)](_0x19c142(0x206)))return;const _0x2299fe=_0x30ccbf[_0x19c142(0x247)];_0x1abfaf[_0x19c142(0x200)][_0x19c142(0x1fa)](_0x2299fe)&&(_0x30ccbf[_0x19c142(0x24c)]=_0x30ccbf[_0x19c142(0x20c)]?_0x28bb2f[_0x19c142(0x23b)][_0x19c142(0x1ef)](_0x30ccbf[_0x19c142(0x20c)][_0x19c142(0x226)],_0x30ccbf[_0x19c142(0x20c)][_0x19c142(0x230)]):null);},{'priority':_0x3bc184(0x251)});}[_0xc66db9(0x258)](){const _0x3f8de2=_0xc66db9;return this[_0x3f8de2(0x1f7)][_0x3f8de2(0x1f8)](),super[_0x3f8de2(0x258)]();}[_0xc66db9(0x22e)](){const _0x503181=_0xc66db9,_0x16798d=this[_0x503181(0x23e)],_0x20f15b=_0x16798d[_0x503181(0x23b)][_0x503181(0x1d9)],_0x2b36c3=_0x16798d[_0x503181(0x242)][_0x503181(0x241)](_0x5525db);_0x16798d[_0x503181(0x23b)][_0x503181(0x1ff)]({'isUndoable':!0x1},_0x472486=>{const _0x4db714=_0x503181,_0x40ec84=_0x4db714(0x23a)+_0x2b36c3[_0x4db714(0x211)],_0x2aed34=_0x4db714(0x225)+_0x2b36c3[_0x4db714(0x211)],_0xac5263=_0x16798d[_0x4db714(0x23b)][_0x4db714(0x1e8)][_0x4db714(0x1fa)](_0x40ec84);_0x16798d[_0x4db714(0x20a)][_0x4db714(0x215)][_0x4db714(0x1db)]?Q(_0x2b36c3[_0x4db714(0x211)],_0x20f15b[_0x4db714(0x223)][_0x4db714(0x1ea)](),_0x16798d[_0x4db714(0x23b)],_0x472486):_0xac5263&&(_0x472486[_0x4db714(0x248)](_0x40ec84),_0x472486[_0x4db714(0x248)](_0x2aed34));});}}function _0x5329(){const _0x4e4a49=['change:range','18hlYrqv','markerToElement','updateMarker','$text','editingDowncast','addEventListener','root','3212346iyHBFF','change','addMarker','selection','hasContent','user:position:','start','markerName','parent','listenTo','innerHTML','getPositions','applyOperation','markerNameToElements','createUserMarkerOperations','isObject','end','render','1845800YhdPkY','afterInit','1011268olJCEI','629338BEGQNO','pluginName','detach','fromRange','$graveyard','user:range:','model','isCollapsed','split','editor','setCustomProperty','2jRWQFR','get','plugins','deletionPosition','19224760matZVG','getContainedElement','removeClass','batch','removeMarker','clear','keydown','92425CylQgZ','newRange','update:user:range','getStart','color','user:range','highest','1576946YdvwKO','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','ck-user__marker_hovered','span','UserMarkers','element','destroy','delete','undo','document','rootName','hasDomSelection','marker','isInline','conversion','remove','mapper','classList','checkChild','commands','getSelectionClass','orderNumber','schema','getCustomProperty','markers','markerToHighlight','getFirstRange','isSimilar','mouseleave','nodeAfter','tableCell','createRange','mouseenter','user:position','ck-user__marker\x20','add','init','186fWIYZX','requires','_domEmitter','stopListening','markerRange','has','getRange','for','contenteditable','toRange','enqueueChange','_createdBatches','data-session-id','ck-user__selection','toDomElement','startsWith','size','user:','name','Escape','createUIElement','editing','type','oldRange','getUserBySessionId','getAttribute','getMarkerClass','reconvertMarker','mySessionId','getNearestSelectionRange','isLimit','userPositionMarker','view','set','</span>'];_0x5329=function(){return _0x4e4a49;};return _0x5329();}function Q(_0x574a36,_0x5d92f8,_0x4d1fc6,_0x5d5052){const _0xa0bc54=_0xc66db9,_0x5b0579=_0xa0bc54(0x23a)+_0x574a36,_0x1e9d64=_0xa0bc54(0x225)+_0x574a36,_0x280fee=_0x5d92f8[_0xa0bc54(0x245)]();let _0x2d7b69=_0x5d92f8[_0xa0bc54(0x226)];_0x280fee&&_0x280fee['is'](_0xa0bc54(0x257),_0xa0bc54(0x1ee))&&(_0x2d7b69=function(_0xc1b87f,_0x1753f9){const _0x3cab65=_0xa0bc54;for(const _0x390b6d of _0xc1b87f[_0x3cab65(0x22b)]())if(_0x1753f9[_0x3cab65(0x1e6)][_0x3cab65(0x1e2)](_0x390b6d,_0x3cab65(0x21c)))return _0x390b6d;}(_0x5d92f8,_0x4d1fc6),_0x5d92f8=_0x5d5052[_0xa0bc54(0x1ef)](_0x2d7b69));const _0x5289e4=_0x5d5052[_0xa0bc54(0x1ef)](_0x2d7b69);_0x4d1fc6[_0xa0bc54(0x1e8)][_0xa0bc54(0x1fa)](_0x5b0579)?(_0x5d5052[_0xa0bc54(0x21b)](_0x5b0579,{'range':_0x5d92f8}),_0x5d5052[_0xa0bc54(0x21b)](_0x1e9d64,{'range':_0x5289e4})):(_0x5d5052[_0xa0bc54(0x222)](_0x5b0579,{'range':_0x5d92f8,'usingOperation':!0x0}),_0x5d5052[_0xa0bc54(0x222)](_0x1e9d64,{'range':_0x5289e4,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1c0e(_0x12544a,_0x2fe499){const _0x2465b8=_0x2465();return _0x1c0e=function(_0x1c0ea7,_0x137775){_0x1c0ea7=_0x1c0ea7-0x85;let _0x188ee9=_0x2465b8[_0x1c0ea7];return _0x188ee9;},_0x1c0e(_0x12544a,_0x2fe499);}const _0x2f041d=_0x1c0e;(function(_0x2f878c,_0x3d9af2){const _0x338dd2=_0x1c0e,_0x31ab7e=_0x2f878c();while(!![]){try{const _0x658019=parseInt(_0x338dd2(0xcc))/0x1*(parseInt(_0x338dd2(0xac))/0x2)+parseInt(_0x338dd2(0xcf))/0x3*(-parseInt(_0x338dd2(0xca))/0x4)+-parseInt(_0x338dd2(0xbd))/0x5+-parseInt(_0x338dd2(0xa8))/0x6*(-parseInt(_0x338dd2(0xbc))/0x7)+parseInt(_0x338dd2(0x8a))/0x8*(-parseInt(_0x338dd2(0xa4))/0x9)+-parseInt(_0x338dd2(0xc1))/0xa*(-parseInt(_0x338dd2(0xd0))/0xb)+-parseInt(_0x338dd2(0x9f))/0xc*(-parseInt(_0x338dd2(0x85))/0xd);if(_0x658019===_0x3d9af2)break;else _0x31ab7e['push'](_0x31ab7e['shift']());}catch(_0x1e1ae3){_0x31ab7e['push'](_0x31ab7e['shift']());}}}(_0x2465,0x9f7cb));function _0x2465(){const _0x412e8c=['listenTo','7KzguEo','define','config','1685451woyZay','1364FfnEWO','5596214aRLlEb','function','catch','CONNECTED','then','938640mLDnWJ','isInReconnectionStack','websocketgateway-missing-websocket-url','reconnect','destroy','real-time-collaboration','has','connection','state','cloudServices.requestTimeout','offline','addToReconnectionStack','removeFromReconnectionStack','CloudServices','from','_domEmitter','CONNECTING','stopListening','online','initialReconnectionInterval','disconnect','24JYtbxN','limitExceeded','delete','_shouldPluginsReconnect','showWarning','45GRcZMG','connect','cloudservices-init','requires','6IjidZR','_isBrowserOffline','get','connected','310962ZhBTvS','cloudservices-reconnection-error','_reconnectionStack','token','WebSocketGateway','create','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','_reconnect','webSocketUrl','websocketgateway-invalid-plugin-interface','error','context','change:me','websocketgateway-missing-token','websocketgateway-plugin-already-registered','code','3782667hsEUdL','6069930vqUKmP','cloudServices.connectionTimeout','Connected\x20users\x20limit\x20exceeded','plugins','42420hBqTDg','constructor','bind','init','pluginName','add','DISCONNECTED','set','all','4rjBzCl'];_0x2465=function(){return _0x412e8c;};return _0x2465();}import{ContextPlugin as _0x934174}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x471d14,CKEditorError as _0x143dcf}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x129cc1,WEB_SOCKET_GATEWAY_STATES as _0x4f87b0}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x58353e}from'ckeditor5/src/ui.js';class c extends _0x934174{static get[_0x2f041d(0xa7)](){const _0x370cab=_0x2f041d;return[_0x370cab(0x97),_0x58353e];}static get[_0x2f041d(0xc5)](){const _0x5c7af5=_0x2f041d;return _0x5c7af5(0xb0);}constructor(_0x3608e8){const _0x34fd73=_0x2f041d;super(_0x3608e8),this[_0x34fd73(0xc8)](_0x34fd73(0x92),_0x4f87b0[_0x34fd73(0x88)]),this[_0x34fd73(0xc8)](_0x34fd73(0xa9),!0x1),this[_0x34fd73(0xae)]=new Set(),this[_0x34fd73(0xa2)]=!0x1,this[_0x34fd73(0x99)]=Object[_0x34fd73(0xb1)](_0x471d14);}[_0x2f041d(0xc4)](){const _0x4ef4ea=_0x2f041d,_0x4a8d4f=this[_0x4ef4ea(0xb7)],_0x12a93c=_0x4a8d4f[_0x4ef4ea(0xc0)][_0x4ef4ea(0xaa)](_0x4ef4ea(0x97)),_0x14ceb2=_0x4a8d4f[_0x4ef4ea(0xc0)][_0x4ef4ea(0xaa)](_0x58353e);if(!_0x12a93c[_0x4ef4ea(0xaf)])throw new _0x143dcf(_0x4ef4ea(0xb9),this);if(!_0x12a93c[_0x4ef4ea(0xb4)])throw new _0x143dcf(_0x4ef4ea(0x8c),this);return this[_0x4ef4ea(0x99)][_0x4ef4ea(0xcb)](window,_0x4ef4ea(0x94),()=>this[_0x4ef4ea(0xa9)]=!0x0),this[_0x4ef4ea(0x99)][_0x4ef4ea(0xcb)](window,_0x4ef4ea(0x9c),()=>this[_0x4ef4ea(0xa9)]=!0x1),this[_0x4ef4ea(0xb7)][_0x4ef4ea(0xce)][_0x4ef4ea(0xcd)](_0x4ef4ea(0xbe),0xa),this[_0x4ef4ea(0xb7)][_0x4ef4ea(0xce)][_0x4ef4ea(0xcd)](_0x4ef4ea(0x93),0x14),c[_0x4ef4ea(0xb0)][_0x4ef4ea(0xa5)](_0x12a93c[_0x4ef4ea(0xaf)],_0x12a93c[_0x4ef4ea(0xb4)],{'timeout':0x3e8*this[_0x4ef4ea(0xb7)][_0x4ef4ea(0xce)][_0x4ef4ea(0xaa)](_0x4ef4ea(0xbe)),'requestTimeout':0x3e8*this[_0x4ef4ea(0xb7)][_0x4ef4ea(0xce)][_0x4ef4ea(0xaa)](_0x4ef4ea(0x93))})[_0x4ef4ea(0x89)](_0x1befc1=>{const _0x547195=_0x4ef4ea;if(this[_0x547195(0x91)]=_0x1befc1,this[_0x547195(0xc3)](_0x547195(0x92))['to'](_0x1befc1,_0x547195(0x92),this,_0x547195(0xa9),(_0x19b51b,_0x2231f3)=>(_0x547195(0xab)!==_0x19b51b&&(this[_0x547195(0xa2)]=!0x0),_0x2231f3||_0x19b51b!==_0x4f87b0[_0x547195(0x88)]?_0x4f87b0[_0x547195(0xc7)]:this[_0x547195(0x92)]==_0x4f87b0[_0x547195(0xc7)]&&this[_0x547195(0xa2)]?(this[_0x547195(0xa2)]=!0x1,this[_0x547195(0xb3)](),_0x4f87b0[_0x547195(0x9a)]):_0x4f87b0[_0x547195(0x88)])),this[_0x547195(0x91)]['on'](_0x547195(0xb6),(_0x2b64b7,_0x3099b0)=>{const _0x32a31d=_0x547195;if(_0x32a31d(0xa0)!==_0x3099b0[_0x32a31d(0xbb)])throw console[_0x32a31d(0xb6)](_0x3099b0),new _0x143dcf(_0x32a31d(0xa6),null,{'originalError':_0x3099b0});_0x14ceb2[_0x32a31d(0xa3)](_0x32a31d(0xb2),{'title':_0x32a31d(0xbf),'namespace':_0x32a31d(0x8f)});}),!_0x1befc1['me'])return new Promise(_0x5304e7=>_0x1befc1['on'](_0x547195(0xb8),_0x5304e7));})[_0x4ef4ea(0x87)](_0x7f68ed=>{const _0xe1c074=_0x4ef4ea;throw console[_0xe1c074(0xb6)](_0x7f68ed),new _0x143dcf(_0xe1c074(0xa6),null,{'originalError':_0x7f68ed});});}[_0x2f041d(0x95)](_0x4f2ced){const _0x412458=_0x2f041d;if(_0x412458(0x86)!=typeof _0x4f2ced[_0x412458(0x8d)])throw new _0x143dcf(_0x412458(0xb5),this);if(this[_0x412458(0x8b)](_0x4f2ced))throw new _0x143dcf(_0x412458(0xba),this,{'name':_0x4f2ced[_0x412458(0xc2)][_0x412458(0xc5)]});this[_0x412458(0xae)][_0x412458(0xc6)](_0x4f2ced);}[_0x2f041d(0x96)](_0x36a082){const _0x1ad57f=_0x2f041d;this[_0x1ad57f(0xae)][_0x1ad57f(0xa1)](_0x36a082);}[_0x2f041d(0x8b)](_0x290ea2){const _0x351dae=_0x2f041d;return this[_0x351dae(0xae)][_0x351dae(0x90)](_0x290ea2);}[_0x2f041d(0xb3)](){const _0x533313=_0x2f041d;return this[_0x533313(0x91)][_0x533313(0x8d)]()[_0x533313(0x89)](()=>Promise[_0x533313(0xc9)](Array[_0x533313(0x98)](this[_0x533313(0xae)],_0x483e6f=>_0x483e6f[_0x533313(0x8d)]())))[_0x533313(0x89)](()=>this[_0x533313(0x92)]=_0x4f87b0[_0x533313(0x88)])[_0x533313(0x87)](_0x165144=>{const _0x22c3d3=_0x533313;throw console[_0x22c3d3(0xb6)](_0x165144),new _0x143dcf(_0x22c3d3(0xad),this[_0x22c3d3(0xb7)]);});}[_0x2f041d(0x8e)](){const _0x44de49=_0x2f041d;this[_0x44de49(0x91)]&&this[_0x44de49(0x91)][_0x44de49(0x9e)](),this[_0x44de49(0x92)]=_0x4f87b0[_0x44de49(0xc7)],this[_0x44de49(0x99)][_0x44de49(0x9b)](),super[_0x44de49(0x8e)]();}}c[_0x2f041d(0xb0)]=_0x129cc1,c[_0x2f041d(0x9d)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x24f4(){var _0x57b878=['pluginName','79880AgbGwQ','10mbgnBR','1304700ExLcbp','140222JVSjWT','RealTimeCollaborativeEditing','requires','387648vAAkdh','3XOcZbL','1064885rjvxyc','745076qWhdvL','2204055vsvmmj','161vxHncD'];_0x24f4=function(){return _0x57b878;};return _0x24f4();}var _0x52e357=_0x33c9;function _0x33c9(_0xe31e6,_0x27e6ba){var _0x24f473=_0x24f4();return _0x33c9=function(_0x33c903,_0x4992a2){_0x33c903=_0x33c903-0xd4;var _0x27c5bf=_0x24f473[_0x33c903];return _0x27c5bf;},_0x33c9(_0xe31e6,_0x27e6ba);}(function(_0x240355,_0x5205ed){var _0x30dd47=_0x33c9,_0x1ea796=_0x240355();while(!![]){try{var _0x485f64=parseInt(_0x30dd47(0xdf))/0x1+-parseInt(_0x30dd47(0xd5))/0x2+parseInt(_0x30dd47(0xd6))/0x3*(parseInt(_0x30dd47(0xd8))/0x4)+parseInt(_0x30dd47(0xd7))/0x5+-parseInt(_0x30dd47(0xde))/0x6+parseInt(_0x30dd47(0xda))/0x7*(-parseInt(_0x30dd47(0xdc))/0x8)+-parseInt(_0x30dd47(0xd9))/0x9*(-parseInt(_0x30dd47(0xdd))/0xa);if(_0x485f64===_0x5205ed)break;else _0x1ea796['push'](_0x1ea796['shift']());}catch(_0x54f396){_0x1ea796['push'](_0x1ea796['shift']());}}}(_0x24f4,0x2304a));import{Plugin as _0x568c8c}from'ckeditor5/src/core.js';import _0xd8f519 from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x568c8c{static get[_0x52e357(0xd4)](){return[_0xd8f519];}static get[_0x52e357(0xdb)](){var _0xa23bcd=_0x52e357;return _0xa23bcd(0xe0);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x428a80=_0x3511;(function(_0x17536d,_0x4b41b5){const _0x48a545=_0x3511,_0x35eaa2=_0x17536d();while(!![]){try{const _0x2a051a=parseInt(_0x48a545(0x21b))/0x1+parseInt(_0x48a545(0x1e2))/0x2+-parseInt(_0x48a545(0x1d1))/0x3*(parseInt(_0x48a545(0x1c7))/0x4)+parseInt(_0x48a545(0x209))/0x5*(-parseInt(_0x48a545(0x1ee))/0x6)+parseInt(_0x48a545(0x1de))/0x7+-parseInt(_0x48a545(0x1eb))/0x8+parseInt(_0x48a545(0x1d7))/0x9;if(_0x2a051a===_0x4b41b5)break;else _0x35eaa2['push'](_0x35eaa2['shift']());}catch(_0x260816){_0x35eaa2['push'](_0x35eaa2['shift']());}}}(_0x2362,0x7adc2));import{Plugin as _0x5a3cc1}from'ckeditor5/src/core.js';import{version as _0x48c3c8}from'ckeditor5/src/utils.js';import{Users as _0x5977fb}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2f890e from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x46170d from'../realtimecollaborativeediting/websocketgateway.js';import _0x4d7916 from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x128917,RevisionHistoryService as _0x5e4a1f,User as _0x3f5360,WEB_SOCKET_GATEWAY_STATES as _0x38f9c8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class v extends _0x5a3cc1{static get[_0x428a80(0x203)](){const _0x37114b=_0x428a80;return[_0x46170d,_0x2f890e,_0x37114b(0x1e4),_0x4d7916,_0x5977fb];}constructor(_0x549548){const _0x3f3881=_0x428a80;super(_0x549548);const _0x19e26e=this[_0x3f3881(0x207)][_0x3f3881(0x1dd)][_0x3f3881(0x1d9)](_0x3f3881(0x1ec));this[_0x3f3881(0x22e)]=null,this[_0x3f3881(0x20b)]=this[_0x3f3881(0x207)][_0x3f3881(0x1fb)][_0x3f3881(0x1d9)](_0x3f3881(0x1e4)),this[_0x3f3881(0x1d4)]=new v[(_0x3f3881(0x228))](_0x19e26e);}async[_0x428a80(0x1ce)](){const _0xb8ed1=_0x428a80,_0x44441e=this[_0xb8ed1(0x207)][_0xb8ed1(0x1fb)][_0xb8ed1(0x1d9)](_0x2f890e),_0x211236=_0x44441e[_0xb8ed1(0x212)],_0x56f2d2=this[_0xb8ed1(0x207)][_0xb8ed1(0x1fb)][_0xb8ed1(0x1d9)](_0x46170d);this[_0xb8ed1(0x20b)][_0xb8ed1(0x206)]({'history':_0x211236,'getLatestVersion':()=>this[_0xb8ed1(0x1dc)](),'getCurrentRevisionId':()=>_0x44441e[_0xb8ed1(0x1e6)]});const _0x23b9f0=this[_0xb8ed1(0x207)][_0xb8ed1(0x1dd)][_0xb8ed1(0x1d9)](_0xb8ed1(0x229))||_0x48c3c8,_0x56189b=await _0x128917[_0xb8ed1(0x1fe)](_0x56f2d2[_0xb8ed1(0x1c5)],_0x23b9f0);this[_0xb8ed1(0x20b)][_0xb8ed1(0x227)]={'getRevision':async({revisionId:_0xbe64c5})=>(await this[_0xb8ed1(0x1f2)](),await this[_0xb8ed1(0x1d4)][_0xb8ed1(0x21a)](_0xbe64c5)),'updateRevisions':async _0x3453a8=>{const _0x2b2f3e=_0xb8ed1;await this[_0x2b2f3e(0x1f2)]();const _0x428011=this[_0x2b2f3e(0x20b)][_0x2b2f3e(0x1f6)];if(_0x56189b&&0x1===_0x3453a8[_0x2b2f3e(0x211)]&&_0x3453a8[0x0]['id']===_0x428011['id'])return _0x3453a8;for(const _0x3a966c of _0x3453a8)_0x3a966c['id']===_0x428011['id']&&(_0x3a966c[_0x2b2f3e(0x1fd)]=_0x3a966c[_0x2b2f3e(0x1cd)]===_0x3a966c[_0x2b2f3e(0x20a)]);return this[_0x2b2f3e(0x1d4)][_0x2b2f3e(0x201)](_0x3453a8,this[_0x2b2f3e(0x22e)])[_0x2b2f3e(0x1e7)](_0x5d2b6f=>(this[_0x2b2f3e(0x22e)]=_0x5d2b6f,_0x3453a8))[_0x2b2f3e(0x1fc)](_0x5d2a14=>{const _0x563c92=_0x2b2f3e;if(st(_0x5d2a14)||_0x563c92(0x1f8)===_0x5d2a14[_0x563c92(0x1c4)]&&void 0x0!==_0x5d2a14[_0x563c92(0x1c9)][_0x563c92(0x222)]){for(const _0x174155 of _0x3453a8){!this[_0x563c92(0x20b)][_0x563c92(0x1ef)][_0x563c92(0x21a)](_0x174155['id'])||this[_0x563c92(0x20b)][_0x563c92(0x1ff)](_0x174155['id'],_0x174155,!0x1);}if(st(_0x5d2a14))throw _0x5d2a14;return _0x3453a8;}throw _0x5d2a14;});}},this[_0xb8ed1(0x208)](this[_0xb8ed1(0x1d4)],_0xb8ed1(0x21e),(_0x444dd6,{revisionsData:_0x1f5f3d,requestId:_0x1d5215})=>{const _0x3a9638=_0xb8ed1;Math[_0x3a9638(0x22f)](..._0x1f5f3d[_0x3a9638(0x22a)](_0x161b6c=>_0x161b6c[_0x3a9638(0x20a)]))>this[_0x3a9638(0x22c)]()-0x1?this[_0x3a9638(0x1dc)]()[_0x3a9638(0x1e7)](()=>{const _0x2b93b6=_0x3a9638;this[_0x2b93b6(0x21d)](_0x1f5f3d,_0x1d5215);}):this[_0x3a9638(0x21d)](_0x1f5f3d,_0x1d5215);});const {revisions:_0x51cbb1,requestId:_0x3e8b4a}=await this[_0xb8ed1(0x1d4)][_0xb8ed1(0x1f1)](_0x56f2d2[_0xb8ed1(0x1c5)]);_0x56f2d2[_0xb8ed1(0x210)](this),this[_0xb8ed1(0x22e)]=_0x3e8b4a,await this[_0xb8ed1(0x1cf)](_0x51cbb1);for(const _0x57441a of _0x51cbb1)this[_0xb8ed1(0x20b)][_0xb8ed1(0x221)](_0x57441a);this[_0xb8ed1(0x208)](_0x44441e,_0xb8ed1(0x1e8),(_0x8b24b4,_0x564cf3,_0x23e627)=>{const _0x2cee96=_0xb8ed1;_0x23e627&&(this[_0x2cee96(0x21f)]=_0x44441e[_0x2cee96(0x214)],_0x8b24b4[_0x2cee96(0x225)]());}),this[_0xb8ed1(0x20b)][_0xb8ed1(0x1d6)](_0xb8ed1(0x223))['to'](_0x56f2d2,_0xb8ed1(0x1e1),_0xf0bfe1=>_0xf0bfe1===_0x38f9c8[_0xb8ed1(0x1ed)]);}async[_0x428a80(0x205)](){const _0x2edd41=_0x428a80,_0x3dedb0=this[_0x2edd41(0x207)][_0x2edd41(0x1fb)][_0x2edd41(0x1d9)](_0x46170d),_0x426a55=this[_0x2edd41(0x207)][_0x2edd41(0x1fb)][_0x2edd41(0x1d9)](_0x2f890e),_0x316354=async()=>{const _0x4b8198=_0x2edd41,_0x4aee71=this[_0x4b8198(0x20b)][_0x4b8198(0x1f6)],_0x486953=_0x4aee71['id'],_0x3540b5=_0x486953!==_0x426a55[_0x4b8198(0x1e6)];if(_0x3540b5){const _0x57a1a1=_0x426a55[_0x4b8198(0x214)]-this[_0x4b8198(0x21f)],_0x1174cd=this[_0x4b8198(0x22c)]();this[_0x4b8198(0x20b)][_0x4b8198(0x1d3)][_0x4b8198(0x1d0)]();if(_0x4aee71[_0x4b8198(0x20a)]+_0x57a1a1!==_0x1174cd){const _0x517aaa=_0x4aee71[_0x4b8198(0x1cd)]+_0x57a1a1,_0x52700b=this[_0x4b8198(0x207)][_0x4b8198(0x1fb)][_0x4b8198(0x1d9)](_0x5977fb),_0x2c3ea6=this[_0x4b8198(0x20b)][_0x4b8198(0x1f5)]({'revision':_0x4aee71,'from':_0x517aaa,'to':_0x1174cd});_0x2c3ea6['id']=_0x4aee71['id'];const _0x1c58ee=_0x2c3ea6[_0x4b8198(0x218)][_0x4b8198(0x22a)](_0xc01b2a=>_0x52700b[_0x4b8198(0x20f)](_0xc01b2a));_0x4aee71[_0x4b8198(0x224)]({..._0x2c3ea6,'authors':_0x1c58ee},!0x0),this[_0x4b8198(0x20b)][_0x4b8198(0x1ff)](_0x4aee71['id'],_0x2c3ea6,!0x0);}this[_0x4b8198(0x20b)][_0x4b8198(0x216)]=_0x1174cd,(_0x4aee71[_0x4b8198(0x20a)]===_0x4aee71[_0x4b8198(0x1cd)]&&!this[_0x4b8198(0x20b)][_0x4b8198(0x1fa)][_0x4b8198(0x1cb)](_0x486953)&&this[_0x4b8198(0x20b)][_0x4b8198(0x1ef)][_0x4b8198(0x1e0)][_0x4b8198(0x1ea)](_0x486953),this[_0x4b8198(0x20b)][_0x4b8198(0x1f0)](_0x1174cd));}const {revisions:_0x535bc6,requestId:_0xc1625d}=await this[_0x4b8198(0x1d4)][_0x4b8198(0x205)](_0x3dedb0[_0x4b8198(0x1c5)],this[_0x4b8198(0x22e)]);_0x3540b5&&_0x535bc6[_0x4b8198(0x211)]>0x0?_0x426a55[_0x4b8198(0x1c3)]():(await this[_0x4b8198(0x1cf)](_0x535bc6),this[_0x4b8198(0x21d)](_0x535bc6,_0xc1625d),this[_0x4b8198(0x20b)][_0x4b8198(0x202)]());};return _0x426a55[_0x2edd41(0x219)]?_0x316354():new Promise((_0x47ee81,_0x483f16)=>{const _0x19ed5c=_0x2edd41;_0x426a55[_0x19ed5c(0x1df)](_0x19ed5c(0x1e8),()=>{const _0x2114cc=_0x19ed5c;_0x316354()[_0x2114cc(0x1e7)](_0x47ee81)[_0x2114cc(0x1fc)](_0x483f16);});});}[_0x428a80(0x204)](){const _0x392004=_0x428a80;super[_0x392004(0x204)]();}async[_0x428a80(0x1f2)](){const _0x4131f2=_0x428a80;this[_0x4131f2(0x1d4)][_0x4131f2(0x213)]||await new Promise(_0x5f09d9=>{const _0x31c2e7=_0x4131f2;this[_0x31c2e7(0x208)](this[_0x31c2e7(0x1d4)],_0x31c2e7(0x1f9),_0x4a06f6=>{const _0x47a426=_0x31c2e7;_0x4a06f6[_0x47a426(0x225)](),_0x5f09d9();});});}[_0x428a80(0x22c)](){const _0x226d6c=_0x428a80,_0x249635=this[_0x226d6c(0x207)][_0x226d6c(0x1fb)][_0x226d6c(0x1d9)](_0x2f890e)[_0x226d6c(0x212)][_0x226d6c(0x1db)]()[_0x226d6c(0x1e9)]();for(const _0x1d98ef of _0x249635)if(_0x226d6c(0x22b)!==_0x1d98ef[_0x226d6c(0x1c2)]||_0x1d98ef[_0x226d6c(0x1f7)])return _0x1d98ef[_0x226d6c(0x1d5)]+0x1;}[_0x428a80(0x1dc)](){const _0x3a3331=_0x428a80,_0x1d6b3d=this[_0x3a3331(0x207)][_0x3a3331(0x1fb)][_0x3a3331(0x1d9)](_0x2f890e);return new Promise(_0x562c19=>{const _0x4233dd=_0x3a3331;_0x1d6b3d[_0x4233dd(0x1f4)]?_0x1d6b3d[_0x4233dd(0x1df)](_0x4233dd(0x1f3),()=>{const _0x4c59ca=_0x4233dd;_0x562c19(this[_0x4c59ca(0x22c)]());}):_0x562c19(this[_0x4233dd(0x22c)]());});}[_0x428a80(0x21d)](_0x26f5b9,_0x5337a3){const _0x265782=_0x428a80,_0x3a7737=this[_0x265782(0x20b)][_0x265782(0x1ef)];this[_0x265782(0x22e)]=_0x5337a3;for(const _0x33bc5a of _0x26f5b9){const _0x367924=_0x3a7737[_0x265782(0x21a)](_0x33bc5a['id']);if(_0x367924){if((_0x33bc5a[_0x265782(0x1cd)]||_0x33bc5a[_0x265782(0x20a)])&&(_0x33bc5a[_0x265782(0x1d2)]=null),_0x367924===this[_0x265782(0x20b)][_0x265782(0x1f6)]){const _0x370103=Math[_0x265782(0x22f)](_0x367924[_0x265782(0x20a)],_0x33bc5a[_0x265782(0x20a)]),_0x14dd1e=Math[_0x265782(0x22f)](_0x367924[_0x265782(0x1cd)],_0x33bc5a[_0x265782(0x1cd)]);let _0x327523;_0x367924[_0x265782(0x20a)]===_0x33bc5a[_0x265782(0x20a)]&&_0x367924[_0x265782(0x1cd)]===_0x33bc5a[_0x265782(0x1cd)]?(_0x327523=!0x0,this[_0x265782(0x1ca)](_0x33bc5a)):_0x33bc5a[_0x265782(0x20a)]===_0x370103&&_0x33bc5a[_0x265782(0x1cd)]===_0x14dd1e?_0x327523=!0x1:(_0x367924[_0x265782(0x20a)]===_0x370103&&_0x367924[_0x265782(0x1cd)]===_0x14dd1e||this[_0x265782(0x20c)]({'revision':_0x367924,'from':_0x14dd1e,'to':_0x370103}),_0x327523=!0x0),_0x327523&&(delete _0x33bc5a[_0x265782(0x1cd)],delete _0x33bc5a[_0x265782(0x20a)],delete _0x33bc5a[_0x265782(0x1d2)],delete _0x33bc5a[_0x265782(0x226)],delete _0x33bc5a[_0x265782(0x218)]);}this[_0x265782(0x20b)][_0x265782(0x21c)](_0x33bc5a),this[_0x265782(0x1ca)](_0x33bc5a);}else this[_0x265782(0x20b)][_0x265782(0x221)](_0x33bc5a);}const _0x586eca=_0x3a7737[_0x265782(0x22d)]();_0x586eca[_0x265782(0x1e9)]();for(let _0x1f454c=0x0;_0x1f454c<_0x586eca[_0x265782(0x211)]-0x1;_0x1f454c++){const _0x45ffd4=_0x586eca[_0x1f454c],_0x1a1e01=_0x586eca[_0x1f454c+0x1];if(_0x45ffd4[_0x265782(0x1cd)]<_0x1a1e01[_0x265782(0x20a)]){const _0x2567f5=_0x1a1e01[_0x265782(0x20a)],_0x13c0f4=Math[_0x265782(0x22f)](_0x2567f5,_0x45ffd4[_0x265782(0x20a)]);this[_0x265782(0x20c)]({'revision':_0x45ffd4,'from':_0x2567f5,'to':_0x13c0f4});}}}[_0x428a80(0x20c)]({revision:_0x2efd67,from:_0x514da5,to:_0x524d57}={}){const _0x309753=_0x428a80,_0x3b8ac6=this[_0x309753(0x207)][_0x309753(0x1fb)][_0x309753(0x1d9)](_0x5977fb),_0x4082db=this[_0x309753(0x20b)][_0x309753(0x1f5)]({'revision':_0x2efd67,'from':_0x514da5,'to':_0x524d57});_0x4082db[_0x309753(0x1c6)]=_0x4082db[_0x309753(0x218)][_0x309753(0x22a)](_0x3f0aba=>_0x3b8ac6[_0x309753(0x20f)](_0x3f0aba)),_0x2efd67[_0x309753(0x224)](_0x4082db);}[_0x428a80(0x1ca)](_0x48dfd5){const _0x534c88=_0x428a80,_0x1f9bd6={};_0x1f9bd6['id']=_0x48dfd5['id'];for(const _0x1d9b1a of Object[_0x534c88(0x220)](_0x48dfd5))'id'!==_0x1d9b1a&&(_0x1f9bd6[_0x1d9b1a]=void 0x0);this[_0x534c88(0x20b)][_0x534c88(0x1ff)](_0x1f9bd6['id'],_0x1f9bd6,!0x0);}async[_0x428a80(0x1cf)](_0x4c0d89){const _0x5d2228=_0x428a80,_0x43a215=this[_0x5d2228(0x207)][_0x5d2228(0x1fb)][_0x5d2228(0x1d9)](_0x5977fb),{connection:_0x12188e}=this[_0x5d2228(0x207)][_0x5d2228(0x1fb)][_0x5d2228(0x1d9)](_0x46170d),_0x5ad1ec=new Set();for(const _0x36643a of _0x4c0d89){for(const _0x3233f6 of _0x36643a[_0x5d2228(0x218)])_0x14f09b(_0x3233f6);_0x36643a[_0x5d2228(0x215)]&&_0x14f09b(_0x36643a[_0x5d2228(0x215)]);}if(0x0===_0x5ad1ec[_0x5d2228(0x20e)])return;const _0x58b68d=await _0x3f5360[_0x5d2228(0x1cc)](_0x12188e,Array[_0x5d2228(0x1e5)](_0x5ad1ec));for(const _0x2e7a77 of _0x58b68d)_0x43a215[_0x5d2228(0x20f)](_0x2e7a77['id'])||_0x43a215[_0x5d2228(0x1da)](_0x2e7a77);function _0x14f09b(_0x31139d){const _0x3f8111=_0x5d2228;_0x43a215[_0x3f8111(0x20f)](_0x31139d)||_0x5ad1ec[_0x3f8111(0x1e3)](_0x31139d);}}}v[_0x428a80(0x228)]=_0x5e4a1f;function _0x3511(_0x423181,_0x75aaa1){const _0x2362b6=_0x2362();return _0x3511=function(_0x35110c,_0x54dc34){_0x35110c=_0x35110c-0x1c2;let _0x1f19bb=_0x2362b6[_0x35110c];return _0x1f19bb;},_0x3511(_0x423181,_0x75aaa1);}export default v;function st(_0x2828d8){const _0x41844c=_0x428a80;return _0x2828d8[_0x41844c(0x20d)][_0x41844c(0x1c8)](_0x41844c(0x217))||_0x2828d8[_0x41844c(0x20d)][_0x41844c(0x1c8)](_0x41844c(0x1d8))||_0x2828d8[_0x41844c(0x20d)][_0x41844c(0x1c8)](_0x41844c(0x200));}function _0x2362(){const _0x18745a=['destroy','reconnect','setSource','editor','listenTo','622785JmKKMA','toVersion','_revisionTracker','_fixRevision','message','size','getUser','addToReconnectionStack','length','serverHistory','isConnected','_offset','creatorId','_startingVersion','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','authorsIds','_isConnected','getRevision','29170BjmLzj','setRevisionData','_handleRevisionsUpdate','revisionsUpdated','_oldOffset','keys','addRevisionData','wrongRequestId','isEnabled','_update','off','createdAt','adapter','RevisionHistoryService','cloudServices.bundleVersion','map','marker','_getLatestVersionFromServerOperations','getRevisions','_lastRequestId','max','type','_handleReconnectionError','code','connection','authors','8480yCWInQ','startsWith','data','_preventResendingRevisionData','has','getMany','fromVersion','init','_fetchMissingUsers','reInit','78EWbolS','diffData','_revisionDataBuilder','_revisionHistoryService','baseVersion','bind','13428xsbvjl','cloud-services-internal-error:\x20Not\x20connected.','get','addUser','getOperations','_getLatestVersion','config','6802495TzbigL','once','_revisions','state','888644wGCKKK','add','RevisionTracker','from','sessionId','then','change:_isConnected','reverse','remove','4117952tjmPTy','collaboration.channelId','CONNECTED','18rBKzSQ','repository','_createCurrentRevision','connect','_waitForServiceReady','change:_isPendingUpdate','_isPendingUpdate','buildRevisionData','currentRevision','affectsData','400','connected','_bufferedUpdates','plugins','catch','isEmptyCurrent','isBundleUploaded','_bufferUpdate','cloud-services-internal-error:\x20Request\x20timeout.','updateRevisions','sendBufferedUpdates','requires'];_0x2362=function(){return _0x18745a;};return _0x2362();}
|
|
23
|
+
const _0x23af12=_0x19d6;(function(_0x17dd89,_0x3fd51){const _0xf852a7=_0x19d6,_0x4846ea=_0x17dd89();while(!![]){try{const _0x2ddc9d=-parseInt(_0xf852a7(0xe2))/0x1+-parseInt(_0xf852a7(0x117))/0x2+parseInt(_0xf852a7(0xcd))/0x3*(parseInt(_0xf852a7(0xbb))/0x4)+-parseInt(_0xf852a7(0xb2))/0x5+-parseInt(_0xf852a7(0xe8))/0x6*(-parseInt(_0xf852a7(0xec))/0x7)+-parseInt(_0xf852a7(0x116))/0x8*(-parseInt(_0xf852a7(0xbe))/0x9)+parseInt(_0xf852a7(0x101))/0xa;if(_0x2ddc9d===_0x3fd51)break;else _0x4846ea['push'](_0x4846ea['shift']());}catch(_0x18e7cc){_0x4846ea['push'](_0x4846ea['shift']());}}}(_0x4d91,0x8dfbc));import{Plugin as _0x4a3e4a}from'ckeditor5/src/core.js';import{version as _0xe33f8e}from'ckeditor5/src/utils.js';import{Users as _0x2525d2}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x4a8ad0 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x4262cf from'../realtimecollaborativeediting/websocketgateway.js';import _0xeae74c from'../realtimecollaborativeediting/sessions.js';function _0x19d6(_0xafff71,_0x2e6ac3){const _0x4d9140=_0x4d91();return _0x19d6=function(_0x19d647,_0xd29842){_0x19d647=_0x19d647-0xab;let _0x2a5bf0=_0x4d9140[_0x19d647];return _0x2a5bf0;},_0x19d6(_0xafff71,_0x2e6ac3);}import{EditorService as _0x3ae975,RevisionHistoryService as _0x45f082,User as _0x32fe33,WEB_SOCKET_GATEWAY_STATES as _0x46a07b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class v extends _0x4a3e4a{static get[_0x23af12(0x10d)](){const _0xf05237=_0x23af12;return[_0x4262cf,_0x4a8ad0,_0xf05237(0xc0),_0xeae74c,_0x2525d2];}constructor(_0x3e5db2){const _0x4cd4e5=_0x23af12;super(_0x3e5db2);const _0x5b1d22=this[_0x4cd4e5(0xac)][_0x4cd4e5(0xfe)][_0x4cd4e5(0xdf)](_0x4cd4e5(0xf0));this[_0x4cd4e5(0x100)]=null,this[_0x4cd4e5(0xe9)]=this[_0x4cd4e5(0xac)][_0x4cd4e5(0xcb)][_0x4cd4e5(0xdf)](_0x4cd4e5(0xc0)),this[_0x4cd4e5(0x115)]=new v[(_0x4cd4e5(0xb4))](_0x5b1d22);}async[_0x23af12(0xbd)](){const _0x27681e=_0x23af12,_0x54e2b2=this[_0x27681e(0xac)][_0x27681e(0xcb)][_0x27681e(0xdf)](_0x4a8ad0),_0x4fbb83=_0x54e2b2[_0x27681e(0xf7)],_0x2b525f=this[_0x27681e(0xac)][_0x27681e(0xcb)][_0x27681e(0xdf)](_0x4262cf);this[_0x27681e(0xe9)][_0x27681e(0xeb)]({'history':_0x4fbb83,'getLatestVersion':()=>this[_0x27681e(0xc9)](),'getCurrentRevisionId':()=>_0x54e2b2[_0x27681e(0xe6)]});const _0x560c70=this[_0x27681e(0xac)][_0x27681e(0xfe)][_0x27681e(0xdf)](_0x27681e(0x103))||_0xe33f8e,_0x56757e=await _0x3ae975[_0x27681e(0x106)](_0x2b525f[_0x27681e(0xc6)],_0x560c70);this[_0x27681e(0xe9)][_0x27681e(0x104)]={'getRevision':async({revisionId:_0x31247e})=>(await this[_0x27681e(0xad)](),await this[_0x27681e(0x115)][_0x27681e(0x109)](_0x31247e)),'updateRevisions':async _0x5ecf5a=>{const _0x3aba45=_0x27681e;await this[_0x3aba45(0xad)]();const _0x5dde71=this[_0x3aba45(0xe9)][_0x3aba45(0x108)];if(_0x56757e&&0x1===_0x5ecf5a[_0x3aba45(0xc5)]&&_0x5ecf5a[0x0]['id']===_0x5dde71['id'])return _0x5ecf5a;for(const _0x5c2b6a of _0x5ecf5a)_0x5c2b6a['id']===_0x5dde71['id']&&(_0x5c2b6a[_0x3aba45(0xd3)]=_0x5c2b6a[_0x3aba45(0xb0)]===_0x5c2b6a[_0x3aba45(0xba)]);return this[_0x3aba45(0x115)][_0x3aba45(0x118)](_0x5ecf5a,this[_0x3aba45(0x100)])[_0x3aba45(0xd8)](_0x7a798d=>(this[_0x3aba45(0x100)]=_0x7a798d,_0x5ecf5a))[_0x3aba45(0xbf)](_0x589fa6=>{const _0x2d1e70=_0x3aba45;if(rt(_0x589fa6)||_0x2d1e70(0xe5)===_0x589fa6[_0x2d1e70(0xb6)]&&void 0x0!==_0x589fa6[_0x2d1e70(0xd1)][_0x2d1e70(0xb3)]){for(const _0x29f03c of _0x5ecf5a){!this[_0x2d1e70(0xe9)][_0x2d1e70(0xd5)][_0x2d1e70(0x109)](_0x29f03c['id'])||this[_0x2d1e70(0xe9)][_0x2d1e70(0xed)](_0x29f03c['id'],_0x29f03c,!0x1);}if(rt(_0x589fa6))throw _0x589fa6;return _0x5ecf5a;}throw _0x589fa6;});}},this[_0x27681e(0x10e)](this[_0x27681e(0x115)],_0x27681e(0xca),(_0xbcedcf,{revisionsData:_0x4c9a65,requestId:_0xb7f48c})=>{const _0x528658=_0x27681e;Math[_0x528658(0xc2)](..._0x4c9a65[_0x528658(0xd2)](_0x599bb8=>_0x599bb8[_0x528658(0xba)]))>this[_0x528658(0xde)]()-0x1?this[_0x528658(0xc9)]()[_0x528658(0xd8)](()=>{const _0xe08e2f=_0x528658;this[_0xe08e2f(0xfb)](_0x4c9a65,_0xb7f48c);}):this[_0x528658(0xfb)](_0x4c9a65,_0xb7f48c);});const {revisions:_0x383eb0,requestId:_0x2cb3d0}=await this[_0x27681e(0x115)][_0x27681e(0xc4)](_0x2b525f[_0x27681e(0xc6)]);_0x2b525f[_0x27681e(0xcc)](this),this[_0x27681e(0x100)]=_0x2cb3d0,await this[_0x27681e(0x111)](_0x383eb0);for(const _0x1e44ff of _0x383eb0)this[_0x27681e(0xe9)][_0x27681e(0xd0)](_0x1e44ff);this[_0x27681e(0x10e)](_0x54e2b2,_0x27681e(0xd4),(_0x4ffd5d,_0x5203aa,_0x356af5)=>{const _0x26d6a8=_0x27681e;_0x356af5&&(this[_0x26d6a8(0xee)]=_0x54e2b2[_0x26d6a8(0x102)],_0x4ffd5d[_0x26d6a8(0xd7)]());}),this[_0x27681e(0xe9)][_0x27681e(0x113)](_0x27681e(0xc7))['to'](_0x2b525f,_0x27681e(0xfd),_0x295540=>_0x295540===_0x46a07b[_0x27681e(0x112)]);}async[_0x23af12(0xc3)](){const _0x1decf6=_0x23af12,_0x5b17f8=this[_0x1decf6(0xac)][_0x1decf6(0xcb)][_0x1decf6(0xdf)](_0x4262cf),_0x1a23f2=this[_0x1decf6(0xac)][_0x1decf6(0xcb)][_0x1decf6(0xdf)](_0x4a8ad0),_0x549006=async()=>{const _0x169f0f=_0x1decf6,_0x3c1efa=this[_0x169f0f(0xe9)][_0x169f0f(0x108)],_0x3e88e5=_0x3c1efa['id'],_0x2c8072=_0x3e88e5!==_0x1a23f2[_0x169f0f(0xe6)];if(_0x2c8072){const _0x38471d=_0x1a23f2[_0x169f0f(0x102)]-this[_0x169f0f(0xee)],_0xe509b7=this[_0x169f0f(0xde)]();this[_0x169f0f(0xe9)][_0x169f0f(0xe1)][_0x169f0f(0xe3)]();if(_0x3c1efa[_0x169f0f(0xba)]+_0x38471d!==_0xe509b7){const _0x43a9ab=_0x3c1efa[_0x169f0f(0xb0)]+_0x38471d,_0x2ed618=this[_0x169f0f(0xac)][_0x169f0f(0xcb)][_0x169f0f(0xdf)](_0x2525d2),_0x1493e8=this[_0x169f0f(0xe9)][_0x169f0f(0xea)]({'revision':_0x3c1efa,'from':_0x43a9ab,'to':_0xe509b7});_0x1493e8['id']=_0x3c1efa['id'];const _0x4054c1=_0x1493e8[_0x169f0f(0xf1)][_0x169f0f(0xd2)](_0x43523c=>_0x2ed618[_0x169f0f(0xcf)](_0x43523c));_0x3c1efa[_0x169f0f(0x110)]({..._0x1493e8,'authors':_0x4054c1},!0x0),this[_0x169f0f(0xe9)][_0x169f0f(0xed)](_0x3c1efa['id'],_0x1493e8,!0x0);}this[_0x169f0f(0xe9)][_0x169f0f(0xb7)]=_0xe509b7,(_0x3c1efa[_0x169f0f(0xba)]===_0x3c1efa[_0x169f0f(0xb0)]&&!this[_0x169f0f(0xe9)][_0x169f0f(0xd9)][_0x169f0f(0xe0)](_0x3e88e5)&&this[_0x169f0f(0xe9)][_0x169f0f(0xd5)][_0x169f0f(0xce)][_0x169f0f(0xaf)](_0x3e88e5),this[_0x169f0f(0xe9)][_0x169f0f(0xe4)](_0xe509b7));}const {revisions:_0x18a13e,requestId:_0x356e56}=await this[_0x169f0f(0x115)][_0x169f0f(0xc3)](_0x5b17f8[_0x169f0f(0xc6)],this[_0x169f0f(0x100)]);_0x2c8072&&_0x18a13e[_0x169f0f(0xc5)]>0x0?_0x1a23f2[_0x169f0f(0xb8)]():(await this[_0x169f0f(0x111)](_0x18a13e),this[_0x169f0f(0xfb)](_0x18a13e,_0x356e56),this[_0x169f0f(0xe9)][_0x169f0f(0x107)]());};return _0x1a23f2[_0x1decf6(0xf9)]?_0x549006():new Promise((_0x22956d,_0x541d3d)=>{const _0x5c3595=_0x1decf6;_0x1a23f2[_0x5c3595(0xef)](_0x5c3595(0xd4),()=>{const _0x26a5ba=_0x5c3595;_0x549006()[_0x26a5ba(0xd8)](_0x22956d)[_0x26a5ba(0xbf)](_0x541d3d);});});}[_0x23af12(0xb1)](){const _0xe597a8=_0x23af12;super[_0xe597a8(0xb1)]();}async[_0x23af12(0xad)](){const _0x4fee50=_0x23af12;this[_0x4fee50(0x115)][_0x4fee50(0xda)]||await new Promise(_0x4676be=>{const _0x57f4d8=_0x4fee50;this[_0x57f4d8(0x10e)](this[_0x57f4d8(0x115)],_0x57f4d8(0xff),_0x4ab9e7=>{const _0x2a0d4e=_0x57f4d8;_0x4ab9e7[_0x2a0d4e(0xd7)](),_0x4676be();});});}[_0x23af12(0xde)](){const _0x57bd40=_0x23af12,_0xf50aed=this[_0x57bd40(0xac)][_0x57bd40(0xcb)][_0x57bd40(0xdf)](_0x4a8ad0)[_0x57bd40(0xf7)][_0x57bd40(0x10c)]()[_0x57bd40(0xfc)]();for(const _0x8c6f1 of _0xf50aed)if(_0x57bd40(0x105)!==_0x8c6f1[_0x57bd40(0x114)]||_0x8c6f1[_0x57bd40(0xf4)])return _0x8c6f1[_0x57bd40(0xf3)]+0x1;}[_0x23af12(0xc9)](){const _0x161ee9=_0x23af12,_0x473e2c=this[_0x161ee9(0xac)][_0x161ee9(0xcb)][_0x161ee9(0xdf)](_0x4a8ad0);return new Promise(_0x308b3b=>{const _0x3ad83c=_0x161ee9;_0x473e2c[_0x3ad83c(0xd6)]?_0x473e2c[_0x3ad83c(0xef)](_0x3ad83c(0xe7),()=>{const _0x3d0265=_0x3ad83c;_0x308b3b(this[_0x3d0265(0xde)]());}):_0x308b3b(this[_0x3ad83c(0xde)]());});}[_0x23af12(0xfb)](_0x33d982,_0x538912){const _0xec44b0=_0x23af12,_0x2c7743=this[_0xec44b0(0xe9)][_0xec44b0(0xd5)];this[_0xec44b0(0x100)]=_0x538912;for(const _0x140e88 of _0x33d982){const _0x5b6ae6=_0x2c7743[_0xec44b0(0x109)](_0x140e88['id']);if(_0x5b6ae6){if((_0x140e88[_0xec44b0(0xb0)]||_0x140e88[_0xec44b0(0xba)])&&(_0x140e88[_0xec44b0(0xf2)]=null),_0x5b6ae6===this[_0xec44b0(0xe9)][_0xec44b0(0x108)]){const _0x60853c=Math[_0xec44b0(0xc2)](_0x5b6ae6[_0xec44b0(0xba)],_0x140e88[_0xec44b0(0xba)]),_0x32792d=Math[_0xec44b0(0xc2)](_0x5b6ae6[_0xec44b0(0xb0)],_0x140e88[_0xec44b0(0xb0)]);let _0xd9c850;_0x5b6ae6[_0xec44b0(0xba)]===_0x140e88[_0xec44b0(0xba)]&&_0x5b6ae6[_0xec44b0(0xb0)]===_0x140e88[_0xec44b0(0xb0)]?(_0xd9c850=!0x0,this[_0xec44b0(0xdd)](_0x140e88)):_0x140e88[_0xec44b0(0xba)]===_0x60853c&&_0x140e88[_0xec44b0(0xb0)]===_0x32792d?_0xd9c850=!0x1:(_0x5b6ae6[_0xec44b0(0xba)]===_0x60853c&&_0x5b6ae6[_0xec44b0(0xb0)]===_0x32792d||this[_0xec44b0(0xf5)]({'revision':_0x5b6ae6,'from':_0x32792d,'to':_0x60853c}),_0xd9c850=!0x0),_0xd9c850&&(delete _0x140e88[_0xec44b0(0xb0)],delete _0x140e88[_0xec44b0(0xba)],delete _0x140e88[_0xec44b0(0xf2)],delete _0x140e88[_0xec44b0(0xc8)],delete _0x140e88[_0xec44b0(0xf1)]);}this[_0xec44b0(0xe9)][_0xec44b0(0xdc)](_0x140e88),this[_0xec44b0(0xdd)](_0x140e88);}else this[_0xec44b0(0xe9)][_0xec44b0(0xd0)](_0x140e88);}const _0x5bb057=_0x2c7743[_0xec44b0(0xdb)]();_0x5bb057[_0xec44b0(0xfc)]();for(let _0x3a79c5=0x0;_0x3a79c5<_0x5bb057[_0xec44b0(0xc5)]-0x1;_0x3a79c5++){const _0x3023ce=_0x5bb057[_0x3a79c5],_0x812b15=_0x5bb057[_0x3a79c5+0x1];if(_0x3023ce[_0xec44b0(0xb0)]<_0x812b15[_0xec44b0(0xba)]){const _0x25dbcb=_0x812b15[_0xec44b0(0xba)],_0x335c08=Math[_0xec44b0(0xc2)](_0x25dbcb,_0x3023ce[_0xec44b0(0xba)]);this[_0xec44b0(0xf5)]({'revision':_0x3023ce,'from':_0x25dbcb,'to':_0x335c08});}}}[_0x23af12(0xf5)]({revision:_0x4096d4,from:_0x57edc4,to:_0x5d5c4e}={}){const _0x207101=_0x23af12,_0x988046=this[_0x207101(0xac)][_0x207101(0xcb)][_0x207101(0xdf)](_0x2525d2),_0x59ef56=this[_0x207101(0xe9)][_0x207101(0xea)]({'revision':_0x4096d4,'from':_0x57edc4,'to':_0x5d5c4e});_0x59ef56[_0x207101(0x10f)]=_0x59ef56[_0x207101(0xf1)][_0x207101(0xd2)](_0x4689cf=>_0x988046[_0x207101(0xcf)](_0x4689cf)),_0x4096d4[_0x207101(0x110)](_0x59ef56);}[_0x23af12(0xdd)](_0x587059){const _0x104dfa=_0x23af12,_0x7e4e74={};_0x7e4e74['id']=_0x587059['id'];for(const _0x4428a1 of Object[_0x104dfa(0xc1)](_0x587059))'id'!==_0x4428a1&&(_0x7e4e74[_0x4428a1]=void 0x0);this[_0x104dfa(0xe9)][_0x104dfa(0xed)](_0x7e4e74['id'],_0x7e4e74,!0x0);}async[_0x23af12(0x111)](_0x32cb24){const _0x5775c1=_0x23af12,_0x5c5a2b=this[_0x5775c1(0xac)][_0x5775c1(0xcb)][_0x5775c1(0xdf)](_0x2525d2),{connection:_0x251c84}=this[_0x5775c1(0xac)][_0x5775c1(0xcb)][_0x5775c1(0xdf)](_0x4262cf),_0x8f34ab=new Set();for(const _0x39c670 of _0x32cb24){for(const _0x2b5739 of _0x39c670[_0x5775c1(0xf1)])_0x428483(_0x2b5739);_0x39c670[_0x5775c1(0xf8)]&&_0x428483(_0x39c670[_0x5775c1(0xf8)]);}if(0x0===_0x8f34ab[_0x5775c1(0xbc)])return;const _0xd840=await _0x32fe33[_0x5775c1(0xf6)](_0x251c84,Array[_0x5775c1(0x10b)](_0x8f34ab));for(const _0x978696 of _0xd840)_0x5c5a2b[_0x5775c1(0xcf)](_0x978696['id'])||_0x5c5a2b[_0x5775c1(0xb5)](_0x978696);function _0x428483(_0x15b4d4){const _0x3810a1=_0x5775c1;_0x5c5a2b[_0x3810a1(0xcf)](_0x15b4d4)||_0x8f34ab[_0x3810a1(0xb9)](_0x15b4d4);}}}function _0x4d91(){const _0x7e16db=['_fetchMissingUsers','CONNECTED','bind','type','_revisionHistoryService','144Xcajkz','606152ZoBZAl','updateRevisions','cloud-services-internal-error:\x20Not\x20connected.','message','editor','_waitForServiceReady','cloud-services-internal-error:\x20Request\x20timeout.','remove','fromVersion','destroy','795990RhSSiN','wrongRequestId','RevisionHistoryService','addUser','code','_startingVersion','_handleReconnectionError','add','toVersion','96972CJKwdl','size','init','431406IYhxAr','catch','RevisionTracker','keys','max','reconnect','connect','length','connection','isEnabled','createdAt','_getLatestVersion','revisionsUpdated','plugins','addToReconnectionStack','36bNQoDD','_revisions','getUser','addRevisionData','data','map','isEmptyCurrent','change:_isConnected','repository','_isPendingUpdate','off','then','_bufferedUpdates','isConnected','getRevisions','setRevisionData','_preventResendingRevisionData','_getLatestVersionFromServerOperations','get','has','_revisionDataBuilder','1043473cTsSwx','reInit','_createCurrentRevision','400','sessionId','change:_isPendingUpdate','6TsQoXP','_revisionTracker','buildRevisionData','setSource','1825726zJdvmg','_bufferUpdate','_oldOffset','once','collaboration.channelId','authorsIds','diffData','baseVersion','affectsData','_fixRevision','getMany','serverHistory','creatorId','_isConnected','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','_handleRevisionsUpdate','reverse','state','config','connected','_lastRequestId','6727650kjCSDr','_offset','cloudServices.bundleVersion','adapter','marker','isBundleUploaded','sendBufferedUpdates','currentRevision','getRevision','startsWith','from','getOperations','requires','listenTo','authors','_update'];_0x4d91=function(){return _0x7e16db;};return _0x4d91();}v[_0x23af12(0xb4)]=_0x45f082;export default v;function rt(_0x4b0d4b){const _0x2d7051=_0x23af12;return _0x4b0d4b[_0x2d7051(0xab)][_0x2d7051(0x10a)](_0x2d7051(0xfa))||_0x4b0d4b[_0x2d7051(0xab)][_0x2d7051(0x10a)](_0x2d7051(0x119))||_0x4b0d4b[_0x2d7051(0xab)][_0x2d7051(0x10a)](_0x2d7051(0xae));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x6c2dd7=_0x5eb3;function _0x5eb3(_0x18a559,_0x4e5f9a){var _0x3edcdf=_0x3edc();return _0x5eb3=function(_0x5eb301,_0x375a81){_0x5eb301=_0x5eb301-0x161;var _0xdfeb5f=_0x3edcdf[_0x5eb301];return _0xdfeb5f;},_0x5eb3(_0x18a559,_0x4e5f9a);}function _0x3edc(){var _0x37eb4e=['9QUwIxp','RealTimeCollaborativeRevisionHistory','21tGJFfJ','44TrZtOo','150106HCkaAS','pluginName','6CVOpRx','29340TPERhi','51115CCXpFi','1499030vFJKFU','840936kcVsuL','180pScVGR','34452LbbgLl','52481eLdTwW','requires','RevisionHistory'];_0x3edc=function(){return _0x37eb4e;};return _0x3edc();}(function(_0x1d1553,_0x3767dd){var _0x2f484c=_0x5eb3,_0x16eba7=_0x1d1553();while(!![]){try{var _0xa995e7=-parseInt(_0x2f484c(0x164))/0x1+-parseInt(_0x2f484c(0x16d))/0x2*(-parseInt(_0x2f484c(0x163))/0x3)+parseInt(_0x2f484c(0x16a))/0x4*(-parseInt(_0x2f484c(0x16f))/0x5)+-parseInt(_0x2f484c(0x16e))/0x6*(-parseInt(_0x2f484c(0x169))/0x7)+-parseInt(_0x2f484c(0x161))/0x8+-parseInt(_0x2f484c(0x167))/0x9*(-parseInt(_0x2f484c(0x170))/0xa)+parseInt(_0x2f484c(0x16b))/0xb*(parseInt(_0x2f484c(0x162))/0xc);if(_0xa995e7===_0x3767dd)break;else _0x16eba7['push'](_0x16eba7['shift']());}catch(_0x4c0bf3){_0x16eba7['push'](_0x16eba7['shift']());}}}(_0x3edc,0x20a20));import{Plugin as _0x73829e}from'ckeditor5/src/core.js';import _0x121456 from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import _0x533265 from'./realtimecollaborativeediting.js';export default class d extends _0x73829e{static get[_0x6c2dd7(0x165)](){var _0x1d9ffb=_0x6c2dd7;return[_0x1d9ffb(0x166),_0x121456,_0x533265];}static get[_0x6c2dd7(0x16c)](){var _0x290ef0=_0x6c2dd7;return _0x290ef0(0x168);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2834(_0x5e9665,_0x8d30a7){const _0x1776c6=_0x1776();return _0x2834=function(_0x283497,_0xadbb42){_0x283497=_0x283497-0x6a;let _0x1dbf88=_0x1776c6[_0x283497];return _0x1dbf88;},_0x2834(_0x5e9665,_0x8d30a7);}const _0x26111e=_0x2834;function _0x1776(){const _0xfab372=['getUser','listenTo','hasSuggestion','catch','cloud-services-internal-error:\x20Not\x20connected.','61338LoWcmY','startsWith','21TheGuR','init','535134Zeyuhu','collaboration.channelId','15ZOSeya','editor','addUser','delete','then','state','addToReconnectionStack','isConnected','size','15120060rQwScc','suggestionUpdated','getSuggestion','type','data','getMany','values','update','_waitForServiceReady','1936128WKbyxA','addSuggestionData','find','TrackChangesEditing','287844TOjLys','reconnect','connection','_fetchMissingUsersForThreads','set','adapter','open','attributes','_bufferedRequests','_saved','add','connected','originalSuggestionId','from','message','plugins','24wrDiXw','connect','TrackChangesService','get','cloud-services-internal-error:\x20Request\x20timeout.','config','6740514LVgxEa','off','requires','_trackChangesService','961068EPDXuQ'];_0x1776=function(){return _0xfab372;};return _0x1776();}(function(_0x2feff0,_0x478b47){const _0x2afe63=_0x2834,_0x414907=_0x2feff0();while(!![]){try{const _0x20e755=-parseInt(_0x2afe63(0x85))/0x1+parseInt(_0x2afe63(0x95))/0x2*(parseInt(_0x2afe63(0xa5))/0x3)+-parseInt(_0x2afe63(0x9f))/0x4*(parseInt(_0x2afe63(0x6f))/0x5)+-parseInt(_0x2afe63(0x6d))/0x6*(-parseInt(_0x2afe63(0x6b))/0x7)+parseInt(_0x2afe63(0x81))/0x8+-parseInt(_0x2afe63(0x9b))/0x9+parseInt(_0x2afe63(0x78))/0xa;if(_0x20e755===_0x478b47)break;else _0x414907['push'](_0x414907['shift']());}catch(_0x13e676){_0x414907['push'](_0x414907['shift']());}}}(_0x1776,0x7c5a6));import{Plugin as _0x26c18f}from'ckeditor5/src/core.js';import{User as _0x20979c,TrackChangesService as _0x3c10aa}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x161169 from'../realtimecollaborativeediting/websocketgateway.js';import _0x5ce1a7 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x11d6d2}from'ckeditor5-collaboration/src/collaboration-core.js';class g extends _0x26c18f{static get[_0x26111e(0x9d)](){const _0x4c45b4=_0x26111e;return[_0x5ce1a7,_0x4c45b4(0x84),_0x161169];}constructor(_0x5d7b43){const _0x31c7f8=_0x26111e;super(_0x5d7b43);const _0xf85b04=this[_0x31c7f8(0x70)][_0x31c7f8(0x9a)][_0x31c7f8(0x98)](_0x31c7f8(0x6e));this[_0x31c7f8(0x8d)]=new Map(),this[_0x31c7f8(0x9e)]=new g[(_0x31c7f8(0x97))](_0xf85b04);}[_0x26111e(0x6c)](){const _0x5279cb=_0x26111e,_0x30b2e6=this[_0x5279cb(0x70)][_0x5279cb(0x94)][_0x5279cb(0x98)](_0x161169),_0x45d07f=this[_0x5279cb(0x70)][_0x5279cb(0x94)][_0x5279cb(0x98)](_0x5279cb(0x84));return _0x45d07f[_0x5279cb(0x8a)]={'getSuggestion':async _0x5460f6=>{const _0x5e0ec4=_0x5279cb;await this[_0x5e0ec4(0x80)]();const _0x519634=await this[_0x5e0ec4(0x9e)][_0x5e0ec4(0x98)](_0x5460f6)[_0x5e0ec4(0xa3)](ot);return await this[_0x5e0ec4(0x88)]([_0x519634]),_0x519634;},'addSuggestion':async({id:_0x5790ac,type:_0x2d4d2c,data:_0x424d12,originalSuggestionId:_0x55017d,attributes:_0x419873})=>{const _0x36ca3c=_0x5279cb;await this[_0x36ca3c(0x80)]();const _0x31a077={'id':_0x5790ac,'type':_0x2d4d2c,'data':_0x424d12,'originalSuggestionId':_0x55017d,'attributes':_0x419873},_0x3e9c90=await this[_0x36ca3c(0x9e)][_0x36ca3c(0x8f)](_0x5790ac,_0x2d4d2c,_0x424d12,_0x55017d,_0x419873)[_0x36ca3c(0xa3)](_0x6f0bd4=>{if(rt(_0x6f0bd4))return new Promise(_0x1f3a19=>{const _0x23b9bf=_0x2834;this[_0x23b9bf(0x8d)][_0x23b9bf(0x89)](_0x5790ac,{'resolve':_0x1f3a19,'suggestionData':_0x31a077});});throw _0x6f0bd4;});return this[_0x36ca3c(0x8d)][_0x36ca3c(0x72)](_0x5790ac),_0x3e9c90;},'updateSuggestion':async(_0x57460d,_0xcbdc7)=>{const _0x127676=_0x5279cb;if(await this[_0x127676(0x80)](),_0x127676(0x8b)!==_0xcbdc7[_0x127676(0x74)])return this[_0x127676(0x9e)][_0x127676(0x7f)](_0x57460d,_0xcbdc7)[_0x127676(0xa3)](ot);}},this[_0x5279cb(0xa1)](this[_0x5279cb(0x9e)],_0x5279cb(0x79),(_0x34a649,_0x44a25a)=>{const _0x377eac=_0x5279cb;_0x45d07f[_0x377eac(0xa2)](_0x44a25a['id'])&&(_0x45d07f[_0x377eac(0x7a)](_0x44a25a['id'])[_0x377eac(0x8c)]=_0x44a25a[_0x377eac(0x8c)]);}),this[_0x5279cb(0x9e)][_0x5279cb(0x96)](_0x30b2e6[_0x5279cb(0x87)])[_0x5279cb(0x73)](_0x37244e=>(_0x30b2e6[_0x5279cb(0x75)](this),this[_0x5279cb(0x88)](_0x37244e)[_0x5279cb(0x73)](()=>{const _0x31c136=_0x5279cb;for(const _0x38a1c4 of _0x37244e){_0x45d07f[_0x31c136(0x82)](_0x38a1c4)[_0x31c136(0x8e)]=!0x0;}})));}async[_0x26111e(0x86)](){const _0x4cefc4=_0x26111e,_0x4aac6b=this[_0x4cefc4(0x70)][_0x4cefc4(0x94)][_0x4cefc4(0x98)](_0x4cefc4(0x84)),{connection:_0x1f1091}=this[_0x4cefc4(0x70)][_0x4cefc4(0x94)][_0x4cefc4(0x98)](_0x161169),_0x9dde46=await this[_0x4cefc4(0x9e)][_0x4cefc4(0x96)](_0x1f1091);await this[_0x4cefc4(0x88)](_0x9dde46);for(const {suggestionData:_0x128e06,resolve:_0x1218f0}of this[_0x4cefc4(0x8d)][_0x4cefc4(0x7e)]()){let _0x39aa88=_0x9dde46[_0x4cefc4(0x83)](_0x408616=>_0x408616['id']===_0x128e06['id']);_0x39aa88||(_0x39aa88=await this[_0x4cefc4(0x9e)][_0x4cefc4(0x8f)](_0x128e06['id'],_0x128e06[_0x4cefc4(0x7b)],_0x128e06[_0x4cefc4(0x7c)],_0x128e06[_0x4cefc4(0x91)])),_0x1218f0(_0x39aa88);}for(const _0x5a133f of _0x9dde46)_0x4aac6b[_0x4cefc4(0xa2)](_0x5a133f['id'])||_0x4aac6b[_0x4cefc4(0x82)](_0x5a133f);}async[_0x26111e(0x80)](){const _0x4e4f19=_0x26111e;this[_0x4e4f19(0x9e)][_0x4e4f19(0x76)]||await new Promise(_0x57b5a1=>{const _0xf4bb95=_0x4e4f19;this[_0xf4bb95(0xa1)](this[_0xf4bb95(0x9e)],_0xf4bb95(0x90),_0x2a03b9=>{const _0x405993=_0xf4bb95;_0x2a03b9[_0x405993(0x9c)](),_0x57b5a1();});});}async[_0x26111e(0x88)](_0x5dc99c){const _0x5215e1=_0x26111e,_0x121cdc=this[_0x5215e1(0x70)][_0x5215e1(0x94)][_0x5215e1(0x98)](_0x11d6d2),{connection:_0x1f1bbd}=this[_0x5215e1(0x70)][_0x5215e1(0x94)][_0x5215e1(0x98)](_0x161169),_0x28f84f=new Set();for(const {authorId:_0x20e3cb}of _0x5dc99c)_0x121cdc[_0x5215e1(0xa0)](_0x20e3cb)||_0x28f84f[_0x5215e1(0x8f)](_0x20e3cb);if(0x0===_0x28f84f[_0x5215e1(0x77)])return;const _0x110da9=await _0x20979c[_0x5215e1(0x7d)](_0x1f1bbd,Array[_0x5215e1(0x92)](_0x28f84f));for(const _0xbfcbf1 of _0x110da9)_0x121cdc[_0x5215e1(0xa0)](_0xbfcbf1['id'])||_0x121cdc[_0x5215e1(0x71)](_0xbfcbf1);}}g[_0x26111e(0x97)]=_0x3c10aa;export default g;function ot(_0x5b95fc){if(rt(_0x5b95fc))return new Promise(()=>{});throw _0x5b95fc;}function rt(_0x2f204f){const _0x473a10=_0x26111e;return _0x2f204f[_0x473a10(0x93)][_0x473a10(0x6a)](_0x473a10(0xa4))||_0x2f204f[_0x473a10(0x93)][_0x473a10(0x6a)](_0x473a10(0x99));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5e00f7=_0x2b6f;(function(_0x2ba276,_0x196758){var _0x120b3f=_0x2b6f,_0x5567c9=_0x2ba276();while(!![]){try{var _0x11b888=parseInt(_0x120b3f(0x1f3))/0x1*(-parseInt(_0x120b3f(0x1f4))/0x2)+parseInt(_0x120b3f(0x1ef))/0x3+-parseInt(_0x120b3f(0x1ee))/0x4*(-parseInt(_0x120b3f(0x1f7))/0x5)+parseInt(_0x120b3f(0x1ed))/0x6+parseInt(_0x120b3f(0x1f5))/0x7+-parseInt(_0x120b3f(0x1f1))/0x8+-parseInt(_0x120b3f(0x1f2))/0x9*(parseInt(_0x120b3f(0x1f6))/0xa);if(_0x11b888===_0x196758)break;else _0x5567c9['push'](_0x5567c9['shift']());}catch(_0x15d95d){_0x5567c9['push'](_0x5567c9['shift']());}}}(_0x2629,0xb55c4));function _0x2629(){var _0x59b303=['9964787rsbHHx','50bdOCRA','113210fBiLtM','TrackChanges','pluginName','RealTimeCollaborativeTrackChanges','5887254IpTcyL','56DiOLOq','2330355xbArVR','requires','7222520GVonfW','1376307cxEqSl','231DBWyrx','9422ixETJk'];_0x2629=function(){return _0x59b303;};return _0x2629();}function _0x2b6f(_0x572f03,_0x2ba5de){var _0x2629e1=_0x2629();return _0x2b6f=function(_0x2b6f33,_0x5492ba){_0x2b6f33=_0x2b6f33-0x1ed;var _0x26dffa=_0x2629e1[_0x2b6f33];return _0x26dffa;},_0x2b6f(_0x572f03,_0x2ba5de);}import{Plugin as _0x49dba8}from'ckeditor5/src/core.js';import _0x376541 from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import _0xf5a047 from'./realtimecollaborativecomments.js';export default class p extends _0x49dba8{static get[_0x5e00f7(0x1f0)](){var _0x24abdc=_0x5e00f7;return[_0xf5a047,_0x376541,_0x24abdc(0x1f8)];}static get[_0x5e00f7(0x1f9)](){var _0x256632=_0x5e00f7;return _0x256632(0x1fa);}}
|