@ckeditor/ckeditor5-real-time-collaboration 43.1.1 → 43.2.0-alpha.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 _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);}}}
|
|
23
|
+
const _0x21e88d=_0x2f9b;(function(_0x32eace,_0x110027){const _0x3e77e4=_0x2f9b,_0x5adc21=_0x32eace();while(!![]){try{const _0x68cffa=-parseInt(_0x3e77e4(0x155))/0x1+parseInt(_0x3e77e4(0x1c5))/0x2*(-parseInt(_0x3e77e4(0x18b))/0x3)+-parseInt(_0x3e77e4(0x11a))/0x4*(-parseInt(_0x3e77e4(0x1b8))/0x5)+-parseInt(_0x3e77e4(0xfa))/0x6+-parseInt(_0x3e77e4(0x12c))/0x7+-parseInt(_0x3e77e4(0x186))/0x8+parseInt(_0x3e77e4(0x104))/0x9;if(_0x68cffa===_0x110027)break;else _0x5adc21['push'](_0x5adc21['shift']());}catch(_0x376dc8){_0x5adc21['push'](_0x5adc21['shift']());}}}(_0x3173,0x314b8));import{Plugin as _0x10eaea,PendingActions as _0x252bb5}from'ckeditor5/src/core.js';function _0x3173(){const _0x2df7b1=['round','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.','_getAffectedRoot','has','applyOperation','_operationToId','_isLoaded','_applyOperationsSet','change:_isEditingAllowed','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','view','realtimecollaborationclient-init-document-already-initialized','_loadRoot','register','_isInit','cloud-services-internal-error:\x20Not\x20connected.','entries','404','_compressOperations','then','732LYeGmd','offset','state','getOperations','plugins','_service','start','CommentsOnly','_handleReconnectionError','_disconnectService','_ignoredOperations','newRange','permissions','_document','_refreshUserSelectionMarkers','_getOperationsFromInitData','attributes','init','1379910RIvSSi','editor','_shouldSendUpdate','getUser','toJSON','currentDocumentSession','model','directChange','_handleServerResponse','_isEditingAllowed','_handleReconnectionResponse','wereChangesApplied','sessionId','_currentBufferDelay','realtimecollaborationclient-init-session-connection-error','finally','isReadOnly','getMany','_disconnectionOperations','setIdForTheLastOperation','loadRoot','createPositionFromPath','cs:removeUser','editing','PENDING_ACTION_SENDING_DATA','unregister','parse','string','getConnectedSessions','ready','connected','locale','define','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','startsWith','getDocumentDetails','sessionAdd:','fromJSON','metadata','_handleReceivedOperations','_channelId','185398gjbPVS','CollaborativeEditingService','addUser','disconnected','add','marker','path','config','RealTimeCollaborationClient','cloudDocumentVersion','suppressErrorInCollaboration','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_saveOperationInBuffer','message','sendOperations','_bufferRootLoad','change:_isPendingUpdate','batch','getRoot','_operationIdentifier','high','isUndoneOperation','lastSyncVersion','_compressor','slice','filter','remove','_knownRootNames','rtc-destroyed','_crash','_authorId','compress','data','_decompressOperations','collaboration.channelId','_isDisconnection','move','root','position','_shouldSendSelectionUpdate','pluginName','rtc-offline','selection','_sendBufferedOperationsDelayed','_handleInitialConnectionData','_addKnownRoot','_lastSyncedOperationId','createRange','_sendBufferedOperationsDelayId','2465272QMnrlO','collaboration','stopListening','clone','_hasSelectionChanged','75chSrfn','affectsData','requires','addRootAttribute','_lastServerVersion','rootsAttributes','return','mySessionId','reconnection:\x20flushed\x20session','_connectService','multi-root-editor-root-attributes-no-root','_sendBufferedOperations','removeFromReconnectionStack','change:hasDomSelection','sessionCreatedAt','createPositionAt','addRoot','initData','baseVersion','_bufferedOperations','InsertOperation','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.','operationsReceived','_offset','lastOperationAcceptedAt','getOperationAuthor','version','forEach','_initThrowingOnDataSet','from','targetPosition','_hasSynchronizationProblem','reset','createRoot','realtimecollaborationclient-init-non-existent-root','_initSessionsHandling','differ','realtimecollaborationclient-init-connection-failed','_isAttached','catch','connection','Notification','size','realtimecollaborationclient-initservice-incorrect-server-operation','bind','9535dzxQJh','_handleExternalOperations','history','error','_baseBufferDelay','409','_pendingAction','cloud-services-internal-error:\x20Request\x20timeout.','get','_knownOperations','_handleSendingSelectionMarkers','destroy','channelSessions','10646oOeTxo','userId','wasUndone','document:write','isEnabled','connect','insert','enableReadOnlyMode','lastDocumentSession','isDocumentOperation','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_clearPendingAction','enqueueChange','createUserMarkerOperations','_setUpDataInit','collaboration-missing-channelid','addOperation','_updateServerHistory','realtimecollaborationclient-initservice-internal-error','Synchronization\x20issue','_isPendingUpdate','disconnect','set','addToReconnectionStack','fire','change:range','realtimecollaborationclient-handleserverresponse','getIdOfTheLastOperation','lastOperationId','code','_connectAfterSessionHasBeenFlushed','_waitUntilSynced','_fetchMissingUsers','end','real-time-collaboration','disableReadOnlyMode','type','includes','serverHistory','length','__className','realtimecollaborationclient-sendbufferedoperations','showWarning','keys','_setPendingAction','listenTo','Permissions','affectedSelectable','document','$root','apply','cloudServices.bundleVersion','stop','reconnect','171456OeclXV','off','createdAt','markers','rootName','map','setPermissions','_isConnected','roots','decompress','6347421dvbohx','push'];_0x3173=function(){return _0x2df7b1;};return _0x3173();}import{CKEditorError as _0x1be210,version as _0x1f6d39,uid as _0x258646}from'ckeditor5/src/utils.js';import{Notification as _0x1e19c8}from'ckeditor5/src/ui.js';import{transformSets as _0xdbbc28,NoOperation as _0x40b499,InsertOperation as _0x21e76f,MarkerOperation as _0x165a27,RootAttributeOperation as _0x4c1eee,OperationFactory as _0x4282e2,History as _0x57b6c0}from'ckeditor5/src/engine.js';import _0x540b88 from'./websocketgateway.js';import _0x527801 from'./sessions.js';import _0x5ede46 from'./usermarkers.js';import{getTranslation as _0x206d74}from'../common-translations.js';import{Compressor as _0x13aa26}from'@ckeditor/ckeditor5-operations-compressor';function _0x2f9b(_0x581c8b,_0x5d98bc){const _0x3173c7=_0x3173();return _0x2f9b=function(_0x2f9b01,_0x687229){_0x2f9b01=_0x2f9b01-0xf1;let _0x538b2e=_0x3173c7[_0x2f9b01];return _0x538b2e;},_0x2f9b(_0x581c8b,_0x5d98bc);}import{Users as _0xe4c887}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x109467,CollaborativeEditingService as _0x481907}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let M=0x1;class l extends _0x10eaea{static get[_0x21e88d(0x18d)](){return[_0x540b88,_0x527801,_0x5ede46,_0x252bb5,_0xe4c887,_0x1e19c8];}static get[_0x21e88d(0x17d)](){const _0x36fd13=_0x21e88d;return _0x36fd13(0x15d);}get[_0x21e88d(0x15e)](){const _0x4320b7=_0x21e88d;return this[_0x4320b7(0x18f)]+this[_0x4320b7(0x1a2)];}get[_0x21e88d(0x18f)](){const _0x46cc27=_0x21e88d;return this[_0x46cc27(0x1eb)][_0x46cc27(0x1a5)]-this[_0x46cc27(0x1a2)];}get[_0x21e88d(0x16b)](){const _0x5005e0=_0x21e88d,_0x3eed4e=this[_0x5005e0(0x1eb)][_0x5005e0(0x11d)]();for(let _0x55c16c=_0x3eed4e[_0x5005e0(0x1ec)]-0x1;_0x55c16c>=0x0;_0x55c16c--){const _0x5a27d6=_0x3eed4e[_0x55c16c];if(!this[_0x5005e0(0x13e)][_0x5005e0(0x109)](_0x5a27d6))return _0x5a27d6[_0x5005e0(0x19d)]+0x1-this[_0x5005e0(0x1a2)];}return 0x0;}constructor(_0x40590a){const _0x20556a=_0x21e88d;if(super(_0x40590a),this[_0x20556a(0x1a2)]=0x0,this[_0x20556a(0x138)]=null,this[_0x20556a(0x1eb)]=new _0x57b6c0(),this[_0x20556a(0x12d)][_0x20556a(0x15c)][_0x20556a(0x14c)](_0x20556a(0x187),{}),this[_0x20556a(0x154)]=this[_0x20556a(0x12d)][_0x20556a(0x15c)][_0x20556a(0x1c0)](_0x20556a(0x177)),!this[_0x20556a(0x154)])throw new _0x1be210(_0x20556a(0x1d4),this);const _0x202dd4=_0x40590a[_0x20556a(0x15c)][_0x20556a(0x1c0)](_0x20556a(0xf7))||_0x1f6d39;this[_0x20556a(0x11f)]=new l[(_0x20556a(0x156))](_0x202dd4,this[_0x20556a(0x154)]),this[_0x20556a(0x127)]=this[_0x20556a(0x12d)][_0x20556a(0x132)][_0x20556a(0xf4)],this[_0x20556a(0x16c)]=new _0x13aa26(),this[_0x20556a(0x19e)]=[],this[_0x20556a(0x1c1)]=new WeakSet(),this[_0x20556a(0x170)]=new Set(),this[_0x20556a(0x1db)](_0x20556a(0x1d9),!0x1),this[_0x20556a(0x1db)](_0x20556a(0x1aa),!0x1),this[_0x20556a(0x1be)]=null,this[_0x20556a(0x18a)]=!0x1,this[_0x20556a(0x185)]=null,this[_0x20556a(0x1bc)]=0x12c,this[_0x20556a(0x139)]=this[_0x20556a(0x1bc)],this[_0x20556a(0x183)]=null,this[_0x20556a(0x13e)]=new WeakSet(),this[_0x20556a(0x168)]=new W(this[_0x20556a(0x13e)]);}[_0x21e88d(0x12b)](){const _0x5f3dcd=_0x21e88d,_0x2ce388=this[_0x5f3dcd(0x12d)],_0x148a7c=_0x2ce388[_0x5f3dcd(0x11e)][_0x5f3dcd(0x1c0)](_0xe4c887),_0x5256bc=_0x2ce388[_0x5f3dcd(0x11e)][_0x5f3dcd(0x1c0)](_0x540b88);this[_0x5f3dcd(0xf1)](_0x148a7c,_0x5f3dcd(0x1a4),(_0x53d460,_0x4c8c5e)=>{const _0x549c74=_0x5f3dcd,_0x32b87c=_0x4c8c5e[0x0];_0x32b87c[_0x549c74(0x173)]&&(_0x53d460[_0x549c74(0x191)]=_0x148a7c[_0x549c74(0x12f)](_0x32b87c[_0x549c74(0x173)]),_0x53d460[_0x549c74(0xf8)]()),null===_0x32b87c[_0x549c74(0x173)]&&(_0x53d460[_0x549c74(0x191)]=null,_0x53d460[_0x549c74(0xf8)]());},{'priority':_0x5f3dcd(0x169)}),this[_0x5f3dcd(0xf1)](_0x2ce388[_0x5f3dcd(0x132)][_0x5f3dcd(0xf4)][_0x5f3dcd(0x17f)],_0x5f3dcd(0x1de),(_0x453721,_0x4f7cea)=>{const _0x120aea=_0x5f3dcd;_0x4f7cea[_0x120aea(0x133)]&&this[_0x120aea(0x128)]();}),this[_0x5f3dcd(0xf1)](_0x2ce388[_0x5f3dcd(0x143)][_0x5f3dcd(0x110)],_0x5f3dcd(0x198),()=>{const _0xba1732=_0x5f3dcd;this[_0xba1732(0x128)]();}),this[_0x5f3dcd(0x1a7)](),_0x2ce388[_0x5f3dcd(0x132)]['on'](_0x5f3dcd(0x10a),(_0x3cd234,_0x45c137)=>{const _0x51d421=_0x5f3dcd,_0x433588=_0x45c137[0x0];_0x433588[_0x51d421(0x1ce)]&&(this[_0x51d421(0x161)](_0x433588),this[_0x51d421(0x12e)]()&&this[_0x51d421(0x180)]());}),this[_0x5f3dcd(0x1d3)](),this[_0x5f3dcd(0x1b7)](_0x5f3dcd(0x135))['to'](_0x5256bc,_0x5f3dcd(0x11c),this,_0x5f3dcd(0x1aa),(_0x59f27d,_0x50d6ba)=>_0x5f3dcd(0x14a)===_0x59f27d&&!_0x50d6ba),this['on'](_0x5f3dcd(0x10e),()=>{const _0x55fc2a=_0x5f3dcd;this[_0x55fc2a(0x135)]?_0x2ce388[_0x55fc2a(0x1e8)](_0x55fc2a(0x17e)):_0x2ce388[_0x55fc2a(0x1cc)](_0x55fc2a(0x17e));}),this[_0x5f3dcd(0x135)]?_0x2ce388[_0x5f3dcd(0x1e8)](_0x5f3dcd(0x17e)):_0x2ce388[_0x5f3dcd(0x1cc)](_0x5f3dcd(0x17e)),this[_0x5f3dcd(0x1db)](_0x5f3dcd(0x101),!0x1);}async[_0x21e88d(0xf9)](){const _0x3baa27=_0x21e88d,_0xf0da5d=this[_0x3baa27(0x12d)][_0x3baa27(0x11e)][_0x3baa27(0x1c0)](_0x527801),_0x2298ec=this[_0x3baa27(0x12d)][_0x3baa27(0x11e)][_0x3baa27(0x1c0)](_0x540b88);try{this[_0x3baa27(0x1d9)]=!0x0,_0xf0da5d[_0x3baa27(0x145)](this[_0x3baa27(0x154)]);const _0xc26f79=await this[_0x3baa27(0x11f)][_0x3baa27(0xf9)](_0x2298ec[_0x3baa27(0x1b3)],this[_0x3baa27(0x16b)]);await this[_0x3baa27(0x136)](_0xc26f79)&&(this[_0x3baa27(0x1d9)]=!0x1,this[_0x3baa27(0x1d0)]());const _0x3cb119=await this[_0x3baa27(0x11f)][_0x3baa27(0x148)]();_0xf0da5d[_0x3baa27(0x113)](this[_0x3baa27(0x154)],_0x3cb119),this[_0x3baa27(0x1c2)](),this[_0x3baa27(0x101)]=!0x0;}catch(_0x34c90f){if(function(_0x53d632){const _0x2daf8d=_0x3baa27;return _0x2daf8d(0x117)===_0x53d632[_0x2daf8d(0x1e2)];}(_0x34c90f)&&this[_0x3baa27(0x138)])await this[_0x3baa27(0x1e3)]();else{if(function(_0x32c77b){const _0xee57f9=_0x3baa27;return _0xee57f9(0x1bd)===_0x32c77b[_0xee57f9(0x1e2)];}(_0x34c90f)){const _0x3a21b8=_0x206d74(this[_0x3baa27(0x12d)][_0x3baa27(0x14b)],_0x3baa27(0x160));this[_0x3baa27(0x122)](_0x3a21b8);}else{if(!(_0x34c90f instanceof z))throw _0x34c90f;this[_0x3baa27(0x122)]();}}}}[_0x21e88d(0x1c3)](){const _0x286729=_0x21e88d,_0x210ed0=this[_0x286729(0x12d)][_0x286729(0x11e)][_0x286729(0x1c0)](_0x540b88),_0x4c452b=this[_0x286729(0x12d)][_0x286729(0x11e)][_0x286729(0x1c0)](_0x527801);this[_0x286729(0x12d)][_0x286729(0x1cc)](_0x286729(0x171)),_0x4c452b[_0x286729(0x1c4)][_0x286729(0x109)](this[_0x286729(0x154)])&&_0x4c452b[_0x286729(0x145)](this[_0x286729(0x154)]),_0x210ed0[_0x286729(0x197)](this),this[_0x286729(0x123)](),super[_0x286729(0x1c3)]();}async[_0x21e88d(0x136)](_0x128221){const _0x59d85f=_0x21e88d;if(this[_0x59d85f(0x138)]!==_0x128221[_0x59d85f(0x138)]&&this[_0x59d85f(0x183)]!==_0x128221[_0x59d85f(0x1e1)])throw new z();return this[_0x59d85f(0x138)]=_0x128221[_0x59d85f(0x138)],this[_0x59d85f(0x134)]([],{..._0x128221,'wereChangesApplied':!0x1,'data':_0x128221[_0x59d85f(0x175)]},_0x59d85f(0xf9));}async[_0x21e88d(0x194)](_0x7e731f,_0x1f663c=!0x1){const _0xed3f03=_0x21e88d,{connection:_0x430827}=this[_0xed3f03(0x12d)][_0xed3f03(0x11e)][_0xed3f03(0x1c0)](_0x540b88);l[_0xed3f03(0x156)][_0xed3f03(0x148)](_0x430827,this[_0xed3f03(0x154)])[_0xed3f03(0x119)](_0x342ea1=>this[_0xed3f03(0x1ae)](_0x342ea1))[_0xed3f03(0x1b2)](_0x19111a=>{const _0x387ba1=_0xed3f03;this[_0x387ba1(0x172)](_0x387ba1(0x13a),_0x19111a);}),this[_0xed3f03(0xf1)](this[_0xed3f03(0x11f)],_0xed3f03(0x1a1),this[_0xed3f03(0x153)][_0xed3f03(0x1b7)](this)),this[_0xed3f03(0xf1)](this[_0xed3f03(0x11f)],_0xed3f03(0x1bb),(_0x426110,_0x2acb18)=>{const _0x8d75a0=_0xed3f03;this[_0x8d75a0(0x172)](_0x8d75a0(0x1d7),_0x2acb18);}),this[_0xed3f03(0xf1)](this[_0xed3f03(0x11f)],_0xed3f03(0x158),()=>{const _0x5ca562=_0xed3f03;this[_0x5ca562(0x101)]=!0x1;});const _0x5e1f38=this[_0xed3f03(0x168)][_0xed3f03(0x1e0)](_0x7e731f);this[_0xed3f03(0x1d9)]=!0x0;const _0x3e96ab=await this[_0xed3f03(0x11f)][_0xed3f03(0x1ca)](_0x430827,this[_0xed3f03(0x118)](_0x7e731f),_0x5e1f38);if(this[_0xed3f03(0x138)]=_0x3e96ab[_0xed3f03(0x138)],_0x1f663c){if(!_0x3e96ab[_0xed3f03(0x137)])return void this[_0xed3f03(0x122)]();this[_0xed3f03(0x1d9)]=!0x1,this[_0xed3f03(0x1d0)](),this[_0xed3f03(0x1eb)][_0xed3f03(0x1ab)](),this[_0xed3f03(0x1a2)]=_0x3e96ab[_0xed3f03(0x11b)],this[_0xed3f03(0x1eb)][_0xed3f03(0x1a5)]=this[_0xed3f03(0x1a2)],await this[_0xed3f03(0x134)](_0x7e731f,_0x3e96ab,_0xed3f03(0x193));}else await this[_0xed3f03(0x181)](_0x3e96ab,_0x7e731f);this[_0xed3f03(0x1c2)](),this[_0xed3f03(0x101)]=!0x0;}[_0x21e88d(0x1c2)](){const _0x10be9f=_0x21e88d,_0x14bac1=this[_0x10be9f(0x12d)][_0x10be9f(0x11e)][_0x10be9f(0x1c0)](_0x527801),_0x153fb7=this[_0x10be9f(0x12d)][_0x10be9f(0x11e)][_0x10be9f(0x1c0)](_0x5ede46),_0x2a7ae2=_0x14bac1[_0x10be9f(0x1c4)][_0x10be9f(0x1c0)](this[_0x10be9f(0x154)]);_0x2a7ae2&&_0x2a7ae2[_0x10be9f(0x1ec)]>0x1?_0x153fb7[_0x10be9f(0x1d2)]():this[_0x10be9f(0xf1)](_0x14bac1,_0x10be9f(0x150)+this[_0x10be9f(0x154)],()=>{const _0xb76d6e=_0x10be9f;0x2===_0x14bac1[_0xb76d6e(0x1c4)][_0xb76d6e(0x1c0)](this[_0xb76d6e(0x154)])[_0xb76d6e(0x1ec)]&&_0x153fb7[_0xb76d6e(0x1d2)]();});}async[_0x21e88d(0x153)](_0x4dc2ec,_0x1f806d,_0x3c2ec9,_0x541f3e){const _0x151b1c=_0x21e88d;if(!this[_0x151b1c(0x1d9)]&&this[_0x151b1c(0x127)][_0x151b1c(0x1a5)]==_0x1f806d){const _0x5a884e=this[_0x151b1c(0x176)](_0x3c2ec9,_0x541f3e);await this[_0x151b1c(0x1e5)](_0x5a884e),this[_0x151b1c(0x1b9)](_0x5a884e,_0x1f806d,_0x3c2ec9[_0x151b1c(0x1e1)])||this[_0x151b1c(0x172)](_0x151b1c(0x1b6));}}async[_0x21e88d(0x1e3)](){const _0x23658f=_0x21e88d;this[_0x23658f(0x123)]();const {locale:_0x55067e}=this[_0x23658f(0x12d)];let _0x45ec6f;try{_0x45ec6f=await this[_0x23658f(0x11f)][_0x23658f(0x14f)]();}catch(_0x1340a7){const _0x144650=_0x206d74(_0x55067e,_0x23658f(0x1cf));return void this[_0x23658f(0x122)](_0x144650);}const _0x45339d=_0x45ec6f[_0x23658f(0x131)]||_0x45ec6f[_0x23658f(0x1cd)];if(this[_0x23658f(0x183)]===_0x45339d[_0x23658f(0x1e1)])await this[_0x23658f(0x194)](this[_0x23658f(0x12d)][_0x23658f(0x132)][_0x23658f(0xf4)][_0x23658f(0x1ba)][_0x23658f(0x11d)](),!0x0);else{const _0x41681a=_0x206d74(_0x55067e,_0x23658f(0x1a0));this[_0x23658f(0x122)](_0x41681a);}}[_0x21e88d(0x123)](){const _0x13320b=_0x21e88d;this[_0x13320b(0x11f)][_0x13320b(0x1da)](),this[_0x13320b(0x19e)]=[],clearTimeout(this[_0x13320b(0x185)]),this[_0x13320b(0x188)](this[_0x13320b(0x11f)]);}[_0x21e88d(0x1ae)](_0x261a9b){const _0x4937=_0x21e88d,_0x2a00fe=this[_0x4937(0x12d)][_0x4937(0x11e)][_0x4937(0x1c0)](_0x527801);this[_0x4937(0xf1)](_0x2a00fe,_0x4937(0x150)+this[_0x4937(0x154)],(_0x3581ac,{session:_0x1f702d})=>{const _0x2dd833=_0x4937;if(_0x1f702d['id']===_0x2a00fe[_0x2dd833(0x192)]){_0x3581ac[_0x2dd833(0xfb)]();const _0x44bb86=this[_0x2dd833(0x12d)][_0x2dd833(0x11e)][_0x2dd833(0x109)](_0x2dd833(0x121))&&this[_0x2dd833(0x12d)][_0x2dd833(0x11e)][_0x2dd833(0x1c0)](_0x2dd833(0x121));let _0x5c61c5=_0x1f702d[_0x2dd833(0x126)];_0x44bb86&&_0x44bb86[_0x2dd833(0x1c9)]&&(_0x5c61c5=_0x5c61c5[_0x2dd833(0x16e)](_0x3f32a0=>_0x2dd833(0x1c8)!==_0x3f32a0)),this[_0x2dd833(0x12d)][_0x2dd833(0x11e)][_0x2dd833(0x1c0)](_0x2dd833(0xf2))[_0x2dd833(0x100)](_0x5c61c5,this[_0x2dd833(0x154)]);}}),_0x2a00fe[_0x4937(0x113)](this[_0x4937(0x154)],_0x261a9b);}[_0x21e88d(0x1a7)](){const _0x4ac030=_0x21e88d,_0x183d56=this[_0x4ac030(0x12d)][_0x4ac030(0x175)][_0x4ac030(0x1db)];this[_0x4ac030(0x12d)][_0x4ac030(0x175)][_0x4ac030(0x1db)]=(..._0x4e943a)=>{const _0x4af4ad=_0x4ac030;if(!_0x4e943a[_0x4e943a[_0x4af4ad(0x1ec)]-0x1][_0x4af4ad(0x15f)])throw new _0x1be210(_0x4af4ad(0x10f),this);_0x183d56[_0x4af4ad(0xf6)](this[_0x4af4ad(0x12d)][_0x4af4ad(0x175)],_0x4e943a);};}[_0x21e88d(0x1d3)](){const _0x281d32=_0x21e88d;this[_0x281d32(0x12d)][_0x281d32(0x175)]['on'](_0x281d32(0x12b),(_0x585c88,[_0x11b868])=>{const _0x16cc8f=_0x281d32;if(this[_0x16cc8f(0x127)][_0x16cc8f(0x1a5)])throw new _0x1be210(_0x16cc8f(0x111),this);_0x585c88[_0x16cc8f(0xf8)](),this[_0x16cc8f(0x1f1)]();const _0x552a03=this[_0x16cc8f(0x12d)][_0x16cc8f(0x15c)][_0x16cc8f(0x1c0)](_0x16cc8f(0x190)),_0x56d7e1=this[_0x16cc8f(0x129)](_0x11b868,_0x552a03);0x0==_0x56d7e1[_0x16cc8f(0x1ec)]&&_0x56d7e1[_0x16cc8f(0x105)](new _0x40b499(0x0)),_0x585c88[_0x16cc8f(0x191)]=this[_0x16cc8f(0x194)](_0x56d7e1)[_0x16cc8f(0x119)](()=>{const _0x506eed=_0x16cc8f;this[_0x506eed(0x12d)][_0x506eed(0x11e)][_0x506eed(0x1c0)](_0x540b88)[_0x506eed(0x1dc)](this),this[_0x506eed(0x12d)][_0x506eed(0x175)][_0x506eed(0x1dd)](_0x506eed(0x149));})[_0x16cc8f(0x1b2)](_0xea1567=>this[_0x16cc8f(0x172)](_0x16cc8f(0x1b0),_0xea1567))[_0x16cc8f(0x13b)](()=>this[_0x16cc8f(0x1d0)]());},{'priority':_0x281d32(0x169)}),this[_0x281d32(0x12d)]['on'](_0x281d32(0x140),async(_0x245e58,[_0x4b53a9,_0x380337])=>{const _0x1d6536=_0x281d32;_0x245e58[_0x1d6536(0xf8)]();const _0x57b8b2=this[_0x1d6536(0x12d)][_0x1d6536(0x132)][_0x1d6536(0xf4)][_0x1d6536(0x167)](_0x4b53a9);if(!this[_0x1d6536(0x170)][_0x1d6536(0x109)](_0x4b53a9)){const _0x367269=_0x380337&&_0x380337[_0x1d6536(0x175)]?_0x380337[_0x1d6536(0x175)]:'',_0xe9d03f=_0x380337&&_0x380337[_0x1d6536(0x12a)]?_0x380337[_0x1d6536(0x12a)]:{};await this[_0x1d6536(0x112)](_0x4b53a9,_0x367269,_0xe9d03f);}this[_0x1d6536(0x12d)][_0x1d6536(0x132)][_0x1d6536(0x1d1)]({'isUndoable':!0x1},()=>{const _0xe31655=_0x1d6536;_0x57b8b2[_0xe31655(0x10c)]=!0x0,this[_0xe31655(0x12d)][_0xe31655(0x132)][_0xe31655(0xf4)][_0xe31655(0x1af)][_0xe31655(0x164)](_0x57b8b2);});},{'priority':_0x281d32(0x169)});}async[_0x21e88d(0x1e5)](_0x412414){const _0x49fd4d=_0x21e88d,_0xb83de5=this[_0x49fd4d(0x12d)][_0x49fd4d(0x11e)][_0x49fd4d(0x1c0)](_0xe4c887),{connection:_0x336da5}=this[_0x49fd4d(0x12d)][_0x49fd4d(0x11e)][_0x49fd4d(0x1c0)](_0x540b88),_0x4521c4=new Set();for(const _0x1ebfb5 of _0x412414){const _0x1e1c74=_0x1ebfb5[_0x49fd4d(0x173)];_0x1e1c74&&!_0xb83de5[_0x49fd4d(0x12f)](_0x1e1c74)&&_0x4521c4[_0x49fd4d(0x159)](_0x1e1c74);}if(0x0===_0x4521c4[_0x49fd4d(0x1b5)])return;const _0x185f06=await _0x109467[_0x49fd4d(0x13d)](_0x336da5,Array[_0x49fd4d(0x1a8)](_0x4521c4));for(const _0x1f7397 of _0x185f06)_0xb83de5[_0x49fd4d(0x12f)](_0x1f7397['id'])||_0xb83de5[_0x49fd4d(0x157)](_0x1f7397);}[_0x21e88d(0x129)](_0x52d1d0,_0x4232f3={}){const _0xd3daea=_0x21e88d,_0x2892df=this[_0xd3daea(0x12d)][_0xd3daea(0x132)],_0x18bea7=[];let _0x13814c=0x0;const _0x39f3aa=_0xd3daea(0x147)==typeof _0x52d1d0?{'main':_0x52d1d0}:_0x52d1d0;for(const _0x42db99 of Object[_0xd3daea(0x1f0)](_0x39f3aa)){if(!this[_0xd3daea(0x127)][_0xd3daea(0x102)][_0xd3daea(0x109)](_0x42db99))throw new _0x1be210(_0xd3daea(0x1ad),this);const _0x4d7a31=this[_0xd3daea(0x12d)][_0xd3daea(0x175)][_0xd3daea(0x146)](_0x39f3aa[_0x42db99]),_0x25ffe3=this[_0xd3daea(0x127)][_0xd3daea(0x167)](_0x42db99),_0x352985=new _0x21e76f(_0x2892df[_0xd3daea(0x19a)](_0x25ffe3,0x0),_0x4d7a31,_0x13814c++);_0x18bea7[_0xd3daea(0x105)](_0x352985);for(const [_0xc1980a,_0x1a4b06]of _0x4d7a31[_0xd3daea(0xfd)]){const _0x3e1534=_0x2892df[_0xd3daea(0x184)](_0x2892df[_0xd3daea(0x141)](_0x25ffe3,_0x1a4b06[_0xd3daea(0x120)][_0xd3daea(0x15b)][_0xd3daea(0x16d)]()),_0x2892df[_0xd3daea(0x141)](_0x25ffe3,_0x1a4b06[_0xd3daea(0x1e6)][_0xd3daea(0x15b)][_0xd3daea(0x16d)]())),_0x5ae75a=new _0x165a27(_0xc1980a,null,_0x3e1534,_0x2892df[_0xd3daea(0xfd)],!0x0,_0x13814c++);_0x18bea7[_0xd3daea(0x105)](_0x5ae75a);}}if(_0x4232f3)for(const [_0x269536,_0x302722]of Object[_0xd3daea(0x116)](_0x4232f3)){const _0x3b2dcb=_0x2892df[_0xd3daea(0xf4)][_0xd3daea(0x167)](_0x269536);if(!_0x3b2dcb)throw new _0x1be210(_0xd3daea(0x195),null);for(const [_0x3e87d0,_0x5ef1d1]of Object[_0xd3daea(0x116)](_0x302722))if(null!==_0x5ef1d1){const _0x17152d=new _0x4c1eee(_0x3b2dcb,_0x3e87d0,null,_0x5ef1d1,_0x13814c++);_0x18bea7[_0xd3daea(0x105)](_0x17152d);}}return _0x18bea7;}async[_0x21e88d(0x112)](_0xfa8855,_0x524cfc,_0x1b3911){const _0x114b38=_0x21e88d;this[_0x114b38(0x129)]({[_0xfa8855]:_0x524cfc},{[_0xfa8855]:_0x1b3911})[_0x114b38(0x1a6)]((_0x186692,_0x28fe7f)=>{const _0x426f6d=_0x114b38;_0x186692[_0x426f6d(0x19d)]=this[_0x426f6d(0x127)][_0x426f6d(0x1a5)]+_0x28fe7f,_0x186692[_0x426f6d(0x114)]=!0x0,this[_0x426f6d(0x161)](_0x186692);}),this[_0x114b38(0x180)](),await this[_0x114b38(0x1e4)]();}async[_0x21e88d(0x181)](_0x1abf8d,_0x575345){const _0x1ef986=_0x21e88d;let _0x6f81ad;this[_0x1ef986(0x1a2)]=_0x1abf8d[_0x1ef986(0x11b)];const _0x2203fc=_0x1abf8d[_0x1ef986(0x137)]&&!_0x1abf8d[_0x1ef986(0x19c)],_0x20cc41=_0x2203fc?0x0:_0x1abf8d[_0x1ef986(0x175)][_0x1ef986(0x19d)];if(_0x575345[_0x1ef986(0x1a6)](_0x5f2424=>{const _0x332887=_0x1ef986;_0x5f2424[_0x332887(0x114)]=!0x0,_0x5f2424[_0x332887(0xfc)]=_0x1abf8d[_0x332887(0x199)],_0x5f2424[_0x332887(0x173)]=null;}),_0x2203fc)_0x6f81ad=_0x575345,this[_0x1ef986(0x10d)](_0x6f81ad,_0x2203fc);else{if(_0x1abf8d[_0x1ef986(0x19c)]){const _0x16c5f4=this[_0x1ef986(0x129)](_0x1abf8d[_0x1ef986(0x19c)]);this[_0x1ef986(0x127)][_0x1ef986(0x1ba)][_0x1ef986(0x1a5)]=-_0x16c5f4[_0x1ef986(0x1ec)],_0x16c5f4[_0x1ef986(0x1a6)](_0x24ad3d=>{const _0x4a2fc4=_0x1ef986;_0x24ad3d[_0x4a2fc4(0x19d)]-=_0x16c5f4[_0x4a2fc4(0x1ec)],_0x24ad3d[_0x4a2fc4(0xfc)]=_0x1abf8d[_0x4a2fc4(0x199)],_0x24ad3d[_0x4a2fc4(0x114)]=!0x0,_0x24ad3d[_0x4a2fc4(0x173)]=null;}),this[_0x1ef986(0x10d)](_0x16c5f4,!0x0),this[_0x1ef986(0x1eb)][_0x1ef986(0x1a5)]=-_0x16c5f4[_0x1ef986(0x1ec)]+this[_0x1ef986(0x1a2)],this[_0x1ef986(0x1d6)](_0x16c5f4);}this[_0x1ef986(0x127)][_0x1ef986(0x1ba)][_0x1ef986(0x1a5)]=_0x20cc41,_0x6f81ad=this[_0x1ef986(0x176)](_0x1abf8d[_0x1ef986(0x175)],_0x1abf8d[_0x1ef986(0x152)]),await this[_0x1ef986(0x1e5)](_0x6f81ad),this[_0x1ef986(0x10d)](_0x6f81ad,_0x2203fc);}_0x1abf8d[_0x1ef986(0x1e1)]&&(this[_0x1ef986(0x168)][_0x1ef986(0x13f)](_0x6f81ad,_0x1abf8d[_0x1ef986(0x1e1)]),this[_0x1ef986(0x183)]=_0x1abf8d[_0x1ef986(0x1e1)]),this[_0x1ef986(0x1eb)][_0x1ef986(0x1a5)]=_0x20cc41+this[_0x1ef986(0x1a2)],this[_0x1ef986(0x1d6)](_0x6f81ad),_0x575345[_0x1ef986(0x16e)](_0x363190=>{const _0x3499e4=_0x1ef986,_0x2c0562=this[_0x3499e4(0x108)](_0x363190);return _0x2c0562&&!this[_0x3499e4(0x170)][_0x3499e4(0x109)](_0x2c0562);})[_0x1ef986(0x1a6)]((_0x36d5d3,_0x20070c)=>{const _0xa1891=_0x1ef986;_0x36d5d3[_0xa1891(0x19d)]=this[_0xa1891(0x127)][_0xa1891(0x1a5)]+_0x20070c,this[_0xa1891(0x161)](_0x36d5d3);}),this[_0x1ef986(0x12e)]()?(this[_0x1ef986(0x139)]=0x0,this[_0x1ef986(0x180)](!0x0),await this[_0x1ef986(0x1e4)]()):(this[_0x1ef986(0x1d9)]=!0x1,this[_0x1ef986(0x1d0)]());}[_0x21e88d(0x172)](_0x2468ec,_0x5dc3cd){const _0x1ef5ba=_0x21e88d;throw this[_0x1ef5ba(0x1d9)]=!0x0,_0x5dc3cd&&console[_0x1ef5ba(0x1bb)](_0x5dc3cd),new _0x1be210(_0x2468ec,this[_0x1ef5ba(0x12d)]);}[_0x21e88d(0x161)](_0x4311a8){const _0x5979a8=_0x21e88d;this[_0x5979a8(0x1c1)][_0x5979a8(0x109)](_0x4311a8)||(this[_0x5979a8(0x1c1)][_0x5979a8(0x159)](_0x4311a8),this[_0x5979a8(0x19e)][_0x5979a8(0x105)](_0x4311a8),this[_0x5979a8(0x1be)]||_0x5979a8(0x15a)==_0x4311a8[_0x5979a8(0x1e9)]&&!_0x4311a8[_0x5979a8(0x18c)]||this[_0x5979a8(0x1f1)]());}[_0x21e88d(0x180)](_0x5281e9=!0x1){const _0x33f189=_0x21e88d;!_0x5281e9&&this[_0x33f189(0x1d9)]||(this[_0x33f189(0x1d9)]=!0x0,clearTimeout(this[_0x33f189(0x185)]),this[_0x33f189(0x185)]=setTimeout(()=>{const _0x4a94b9=_0x33f189;this[_0x4a94b9(0x196)]()[_0x4a94b9(0x119)](_0x50e5fa=>{const _0xdca765=_0x4a94b9;_0x50e5fa&&(this[_0xdca765(0x1d0)](),this[_0xdca765(0x1d9)]=!0x1);})[_0x4a94b9(0x1b2)](_0xb399d8=>{const _0xf6abeb=_0x4a94b9;if(this[_0xf6abeb(0x1d0)](),this[_0xf6abeb(0x1d9)]=!0x1,!function(_0x3756db){const _0x48c6ad=_0xf6abeb;return _0x3756db[_0x48c6ad(0x162)][_0x48c6ad(0x14e)](_0x48c6ad(0x115))||_0x3756db[_0x48c6ad(0x162)][_0x48c6ad(0x14e)](_0x48c6ad(0x14d))||_0x3756db[_0x48c6ad(0x162)][_0x48c6ad(0x14e)](_0x48c6ad(0x1bf));}(_0xb399d8))throw _0xb399d8;});},this[_0x33f189(0x139)]));}[_0x21e88d(0x1e4)](){return new Promise(_0x33313a=>{const _0x575229=_0x2f9b;this['on'](_0x575229(0x165),()=>{_0x33313a();});});}async[_0x21e88d(0x196)](){const _0x93d2de=_0x21e88d,_0x30afd2=this[_0x93d2de(0x12d)][_0x93d2de(0x11e)][_0x93d2de(0x1c0)](_0x5ede46);if(this[_0x93d2de(0x17c)]()&&(_0x30afd2[_0x93d2de(0x1d2)](),this[_0x93d2de(0x18a)]=!0x1),!this[_0x93d2de(0x12e)]())return!0x0;const _0x1c93fa=[...this[_0x93d2de(0x19e)]];for(const _0x362687 of _0x1c93fa)_0x362687[_0x93d2de(0x1c7)]=this[_0x93d2de(0x127)][_0x93d2de(0x1ba)][_0x93d2de(0x16a)](_0x362687);const _0x432bff=this[_0x93d2de(0x168)][_0x93d2de(0x1e0)](_0x1c93fa),_0x3983c7=M++,_0x405827=this[_0x93d2de(0x118)](_0x1c93fa),_0x11aadf=await this[_0x93d2de(0x11f)][_0x93d2de(0x163)](_0x405827,_0x405827[_0x93d2de(0x19d)],_0x432bff);try{return await this[_0x93d2de(0x134)](_0x1c93fa,_0x11aadf,_0x3983c7);}catch(_0x3fca10){return this[_0x93d2de(0x172)](_0x93d2de(0x1ee),_0x3fca10);}}async[_0x21e88d(0x134)](_0x39b99f,_0x513a09,_0x509216){const _0x1446fa=_0x21e88d;if(_0x1446fa(0x1bb)in _0x513a09)throw _0x513a09[_0x1446fa(0x1bb)];let _0x593e30=!0x1;if(_0x513a09[_0x1446fa(0x137)]){_0x513a09[_0x1446fa(0x1e1)]&&(this[_0x1446fa(0x183)]=_0x513a09[_0x1446fa(0x1e1)]),this[_0x1446fa(0x19e)]=this[_0x1446fa(0x19e)][_0x1446fa(0x16e)](_0x1c16df=>!_0x39b99f[_0x1446fa(0x1ea)](_0x1c16df));for(const _0x4eeecb of _0x39b99f)_0x4eeecb[_0x1446fa(0xfc)]=_0x1446fa(0x1a3)in _0x513a09&&_0x513a09[_0x1446fa(0x1a3)]||void 0x0;V(_0x39b99f,_0x513a09[_0x1446fa(0x1a5)]-_0x39b99f[_0x1446fa(0x1ec)]),this[_0x1446fa(0x1d6)](_0x39b99f);const _0xe51ba3=_0x39b99f[_0x1446fa(0x16e)](_0x1ef994=>{const _0x3e88c5=_0x1446fa;if(!_0x1ef994[_0x3e88c5(0x114)])return!0x1;const _0x1f9fad=this[_0x3e88c5(0x108)](_0x1ef994);return _0x1f9fad&&!this[_0x3e88c5(0x170)][_0x3e88c5(0x109)](_0x1f9fad);});V(_0xe51ba3,this[_0x1446fa(0x127)][_0x1446fa(0x1a5)]),this[_0x1446fa(0x10d)](_0xe51ba3),_0x593e30=!0x0,this[_0x1446fa(0x139)]=this[_0x1446fa(0x1bc)];}else{const _0x973b14=this[_0x1446fa(0x176)](_0x513a09[_0x1446fa(0x175)],_0x513a09[_0x1446fa(0x152)])[_0x1446fa(0x16e)](_0x3749bf=>_0x3749bf[_0x1446fa(0x19d)]>=this[_0x1446fa(0x18f)]);_0x973b14[_0x1446fa(0x1a6)](_0x1dc12c=>this[_0x1446fa(0x182)](_0x1dc12c)),this[_0x1446fa(0x19e)]=this[_0x1446fa(0x19e)][_0x1446fa(0x16e)](_0x3be1ab=>!_0x3be1ab[_0x1446fa(0x114)]||!this[_0x1446fa(0x170)][_0x1446fa(0x109)](this[_0x1446fa(0x108)](_0x3be1ab))),this[_0x1446fa(0x19e)][_0x1446fa(0x1ec)]&&V(this[_0x1446fa(0x19e)],this[_0x1446fa(0x19e)][0x0][_0x1446fa(0x19d)]),await this[_0x1446fa(0x1e5)](_0x973b14),_0x593e30=this[_0x1446fa(0x1b9)](_0x973b14,_0x513a09[_0x1446fa(0x1a5)],_0x513a09[_0x1446fa(0x1e1)]),this[_0x1446fa(0x139)]=Math[_0x1446fa(0x106)](this[_0x1446fa(0x139)]/0x2);}return _0x593e30?!this[_0x1446fa(0x12e)]()||(this[_0x1446fa(0x180)](!0x0),!0x1):this[_0x1446fa(0x172)](_0x1446fa(0x1df));}[_0x21e88d(0x1b9)](_0x3f53f5,_0x1bea48,_0x318d1e){const _0x292ed2=_0x21e88d;try{const _0x235fa0={'document':this[_0x292ed2(0x127)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x161e23,operationsB:_0x4aaede,originalOperations:_0x509158}=_0xdbbc28(_0x3f53f5,this[_0x292ed2(0x19e)],_0x235fa0);V(_0x161e23,this[_0x292ed2(0x127)][_0x292ed2(0x1a5)]),V(_0x4aaede,_0x1bea48);for(const _0x35ee1e of _0x161e23){const _0x2205d1=_0x509158[_0x292ed2(0x1c0)](_0x35ee1e);_0x35ee1e[_0x292ed2(0x173)]=_0x2205d1?_0x2205d1[_0x292ed2(0x173)]:null;}_0x318d1e&&(this[_0x292ed2(0x168)][_0x292ed2(0x13f)](_0x3f53f5,_0x318d1e),this[_0x292ed2(0x183)]=_0x318d1e),this[_0x292ed2(0x19e)]=[..._0x4aaede],this[_0x292ed2(0x10d)](_0x161e23),this[_0x292ed2(0x1d6)](_0x3f53f5);}catch(_0x2b2a47){return console[_0x292ed2(0x1bb)](_0x2b2a47),!0x1;}return!0x0;}[_0x21e88d(0x10d)](_0x2ddf30,_0x4bcafd=!0x1){const _0x621307=_0x21e88d;this[_0x621307(0x12d)][_0x621307(0x132)][_0x621307(0x1d1)]({'isUndoable':!0x1,'isLocal':!0x1},_0x29c5a0=>{const _0xb342c3=_0x621307;for(const _0x2f1eac of _0x2ddf30)this[_0xb342c3(0x1c1)][_0xb342c3(0x159)](_0x2f1eac),this[_0xb342c3(0x182)](_0x2f1eac),_0x29c5a0[_0xb342c3(0x166)][_0xb342c3(0x1d5)](_0x2f1eac),this[_0xb342c3(0x12d)][_0xb342c3(0x132)][_0xb342c3(0x10a)](_0x2f1eac);});}[_0x21e88d(0x182)](_0x389a52){const _0x2b0918=_0x21e88d,_0x2c4786=this[_0x2b0918(0x108)](_0x389a52);_0x2c4786&&this[_0x2b0918(0x170)][_0x2b0918(0x159)](_0x2c4786);}[_0x21e88d(0x108)](_0x58187b){const _0x8d9967=_0x21e88d;let _0x596eb8,_0x20e2e3;switch(_0x58187b[_0x8d9967(0x1e9)]){case _0x8d9967(0x1cb):_0x596eb8=_0x58187b[_0x8d9967(0x17b)][_0x8d9967(0x17a)];break;case _0x8d9967(0x15a):if(_0x20e2e3=_0x58187b[_0x8d9967(0x125)],!_0x20e2e3)return null;_0x596eb8=_0x20e2e3[_0x8d9967(0x17a)];break;case _0x8d9967(0x18e):_0x596eb8=_0x58187b[_0x8d9967(0x17a)];break;case _0x8d9967(0x19b):_0x596eb8=_0x58187b[_0x8d9967(0xf3)];break;case _0x8d9967(0x179):_0x596eb8=_0x58187b[_0x8d9967(0x1a9)][_0x8d9967(0x17a)];break;default:return null;}return _0x596eb8[_0x8d9967(0xfe)];}[_0x21e88d(0x1d6)](_0x351bbd){const _0x1b554f=_0x21e88d;_0x351bbd[_0x1b554f(0x1a6)](_0x52f95e=>{const _0x500e04=_0x1b554f,_0x11727b=_0x52f95e[_0x500e04(0x189)]();_0x11727b[_0x500e04(0x173)]=_0x52f95e[_0x500e04(0x173)],_0x11727b[_0x500e04(0x114)]=!!_0x52f95e[_0x500e04(0x114)],_0x11727b[_0x500e04(0xfc)]=_0x52f95e[_0x500e04(0xfc)],_0x11727b[_0x500e04(0x19d)]+=this[_0x500e04(0x1a2)],_0x52f95e[_0x500e04(0x178)]&&this[_0x500e04(0x13e)][_0x500e04(0x159)](_0x11727b),this[_0x500e04(0x1eb)][_0x500e04(0x1d5)](_0x11727b);});}[_0x21e88d(0x122)](_0x24a9fe){const _0x1ba1f7=_0x21e88d,_0x55afa2=this[_0x1ba1f7(0x12d)][_0x1ba1f7(0x11e)][_0x1ba1f7(0x1c0)](_0x1ba1f7(0x1b4)),_0x533bd4=this[_0x1ba1f7(0x12d)][_0x1ba1f7(0x14b)];_0x24a9fe||(_0x24a9fe=_0x206d74(_0x533bd4,_0x1ba1f7(0x107))),_0x55afa2[_0x1ba1f7(0x1ef)](_0x24a9fe,{'title':_0x206d74(_0x533bd4,_0x1ba1f7(0x1d8)),'namespace':_0x1ba1f7(0x1e7)}),this[_0x1ba1f7(0x1aa)]=!0x0,clearTimeout(this[_0x1ba1f7(0x185)]),this[_0x1ba1f7(0x19e)]=[],this[_0x1ba1f7(0x12d)][_0x1ba1f7(0x11e)][_0x1ba1f7(0x1c0)](_0x540b88)[_0x1ba1f7(0x1c3)]();}[_0x21e88d(0x1f1)](){const _0x4d600b=_0x21e88d;this[_0x4d600b(0x1be)]||(this[_0x4d600b(0x1be)]=this[_0x4d600b(0x12d)][_0x4d600b(0x11e)][_0x4d600b(0x1c0)](_0x252bb5)[_0x4d600b(0x159)](_0x206d74(this[_0x4d600b(0x12d)][_0x4d600b(0x14b)],_0x4d600b(0x144))));}[_0x21e88d(0x1d0)](){const _0x48d29b=_0x21e88d;this[_0x48d29b(0x1be)]&&(this[_0x48d29b(0x12d)][_0x48d29b(0x11e)][_0x48d29b(0x1c0)](_0x252bb5)[_0x48d29b(0x16f)](this[_0x48d29b(0x1be)]),this[_0x48d29b(0x1be)]=null);}[_0x21e88d(0x118)](_0xac7f4d){const _0x40314c=_0x21e88d,_0x17f854=_0xac7f4d[_0x40314c(0xff)](_0xf194e7=>_0xf194e7[_0x40314c(0x130)]());return this[_0x40314c(0x16c)][_0x40314c(0x174)](_0x17f854);}[_0x21e88d(0x176)](_0x2ed794,_0x5b59e4){const _0x46901f=_0x21e88d;return this[_0x46901f(0x16c)][_0x46901f(0x103)](_0x2ed794)[_0x46901f(0xff)]((_0x525385,_0x5e7562)=>{const _0x395542=_0x46901f,_0x1d8f2f=_0x395542(0x12b)==_0x5b59e4[_0x5e7562][_0x395542(0x1e9)];if(_0x395542(0x19f)==_0x525385[_0x395542(0x1ed)]){const _0xe05004=_0x525385[_0x395542(0x17b)][_0x395542(0x17a)];!this[_0x395542(0x127)][_0x395542(0x167)](_0xe05004)&&(this[_0x395542(0x127)][_0x395542(0x1ac)](_0x395542(0xf5),_0xe05004)[_0x395542(0x1b1)]=!0x1);}const _0x172747=_0x4282e2[_0x395542(0x151)](_0x525385,this[_0x395542(0x127)]);return _0x172747[_0x395542(0x1c7)]=_0x525385[_0x395542(0x1c7)],_0x172747[_0x395542(0x114)]=_0x1d8f2f,_0x172747[_0x395542(0x173)]=_0x1d8f2f?null:_0x5b59e4[_0x5e7562][_0x395542(0x1c6)],_0x172747[_0x395542(0x178)]=_0x395542(0x142)===_0x5b59e4[_0x5e7562][_0x395542(0x1e9)],_0x172747[_0x395542(0xfc)]=_0x5b59e4[_0x5e7562][_0x395542(0xfc)],_0x172747;});}[_0x21e88d(0x128)](){const _0x56c4e7=_0x21e88d;this[_0x56c4e7(0x18a)]=!0x0,this[_0x56c4e7(0x17c)]()?this[_0x56c4e7(0x180)]():this[_0x56c4e7(0x18a)]=!0x1;}[_0x21e88d(0x17c)](){const _0x46dc75=_0x21e88d,_0x1d95aa=this[_0x46dc75(0x12d)][_0x46dc75(0x11e)][_0x46dc75(0x1c0)](_0x527801)[_0x46dc75(0x1c4)][_0x46dc75(0x1c0)](this[_0x46dc75(0x154)]);return!this[_0x46dc75(0x12d)][_0x46dc75(0x13c)]&&!!_0x1d95aa&&_0x1d95aa[_0x46dc75(0x1ec)]>0x1&&this[_0x46dc75(0x18a)];}[_0x21e88d(0x12e)](){const _0x595667=_0x21e88d;return this[_0x595667(0x19e)][_0x595667(0x1ec)]>0x0||this[_0x595667(0x17c)]();}}l[_0x21e88d(0x156)]=_0x481907;export default l;class z extends Error{}function V(_0xaa0098,_0x31c2bc){const _0x19041b=_0x21e88d;for(const _0x236b19 of _0xaa0098)_0x236b19[_0x19041b(0x19d)]=_0x31c2bc++;}class W{constructor(_0x2bd894){const _0x98f84a=_0x21e88d;this[_0x98f84a(0x124)]=_0x2bd894,this[_0x98f84a(0x10b)]=new WeakMap();}[_0x21e88d(0x1e0)](_0x29a13a){const _0x297ccc=_0x21e88d;let _0x37384d=_0x29a13a[_0x297ccc(0x1ec)];for(;_0x37384d--;){const _0x196cb0=_0x29a13a[_0x37384d];if(!this[_0x297ccc(0x124)][_0x297ccc(0x109)](_0x196cb0)){if(!this[_0x297ccc(0x10b)][_0x297ccc(0x109)](_0x196cb0)){const _0x1370cf=_0x258646()[_0x297ccc(0x16d)](0x1,0x12);this[_0x297ccc(0x10b)][_0x297ccc(0x1db)](_0x196cb0,_0x1370cf);}return this[_0x297ccc(0x10b)][_0x297ccc(0x1c0)](_0x196cb0);}}}[_0x21e88d(0x13f)](_0x5db11f,_0x5bbc34){const _0x500eac=_0x21e88d;if(!_0x5bbc34)return;let _0x5ba429=_0x5db11f[_0x500eac(0x1ec)];for(;_0x5ba429--;){const _0x2a16e0=_0x5db11f[_0x5ba429];this[_0x500eac(0x124)][_0x500eac(0x109)](_0x2a16e0)||this[_0x500eac(0x10b)][_0x500eac(0x1db)](_0x2a16e0,_0x5bbc34);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5f057d=_0x71a3;(function(_0x5a7ba,_0x452165){const _0x392dbb=_0x71a3,_0x260be=_0x5a7ba();while(!![]){try{const _0x18954f=parseInt(_0x392dbb(0x12e))/0x1+-parseInt(_0x392dbb(0x123))/0x2*(-parseInt(_0x392dbb(0x145))/0x3)+parseInt(_0x392dbb(0x129))/0x4+parseInt(_0x392dbb(0x13e))/0x5+parseInt(_0x392dbb(0x13c))/0x6+parseInt(_0x392dbb(0x125))/0x7*(parseInt(_0x392dbb(0x12d))/0x8)+-parseInt(_0x392dbb(0x11e))/0x9;if(_0x18954f===_0x452165)break;else _0x260be['push'](_0x260be['shift']());}catch(_0x5b2f77){_0x260be['push'](_0x260be['shift']());}}}(_0x1742,0xc01e1));import{ContextPlugin as _0x3feb11}from'ckeditor5/src/core.js';function _0x71a3(_0x21760e,_0x1c356d){const _0x1742ee=_0x1742();return _0x71a3=function(_0x71a391,_0x2a2b81){_0x71a391=_0x71a391-0x11a;let _0xe04c5e=_0x1742ee[_0x71a391];return _0xe04c5e;},_0x71a3(_0x21760e,_0x1c356d);}import{Collection as _0x5cbb81,CKEditorError as _0x5d7833}from'ckeditor5/src/utils.js';import _0x42d956 from'./websocketgateway.js';function _0x1742(){const _0x3e5835=['values','delete','getUserSessions','getUser','connected','_createUser','allConnectedUsers','assign','isMe','getUserBySessionId','sessions-register-already-registered','_uniqueUsersCount','getUserRole','2717568ZzUFvb','channelSessions','6949500Marwyp','sessionId','stopListening','size','_handleSessionRemove','has','user','2286JdcrlO','set','_handleSessionAdd','_users','defineMe','plugins','sessionAdd:','pluginName','_registeredSessions','requires','listenTo','register','role','init','Sessions','connection','remove','addUser','mySessionId','orderNumber','43242885qtccXj','get','change:state','unregister','state','2892OmYNwX','forEach','22771IEmrah','clear','context','fire','2567336cObWTV','add','sessions-unregister-not-exist','channelConnectedUsers','3448XWHMSL','603121QdcTGZ'];_0x1742=function(){return _0x3e5835;};return _0x1742();}import{Users as _0x933fd}from'ckeditor5-collaboration/src/collaboration-core.js';export default class r extends _0x3feb11{static get[_0x5f057d(0x14c)](){const _0x5d9f9f=_0x5f057d;return _0x5d9f9f(0x153);}static get[_0x5f057d(0x14e)](){return[_0x42d956,_0x933fd];}constructor(_0x55d713){const _0x4d844b=_0x5f057d;super(_0x55d713),this[_0x4d844b(0x13d)]=new Map(),this[_0x4d844b(0x12c)]=new Map(),this[_0x4d844b(0x135)]=new _0x5cbb81(),this[_0x4d844b(0x14d)]=new Map(),this[_0x4d844b(0x13a)]=0x0,this[_0x4d844b(0x148)]=this[_0x4d844b(0x127)][_0x4d844b(0x14a)][_0x4d844b(0x11f)](_0x933fd);}[_0x5f057d(0x152)](){const _0x160188=_0x5f057d,_0x2aa5b1=this[_0x160188(0x127)][_0x160188(0x14a)][_0x160188(0x11f)](_0x42d956);this[_0x160188(0x14f)](_0x2aa5b1,_0x160188(0x120),(_0x2b2dd2,_0x44db7b,_0x5ee02b)=>{const _0x56d4d3=_0x160188;if(_0x56d4d3(0x133)!==_0x5ee02b)this[_0x56d4d3(0x13d)][_0x56d4d3(0x124)](_0x26a84e=>_0x26a84e[_0x56d4d3(0x126)]()),this[_0x56d4d3(0x12c)][_0x56d4d3(0x124)](_0x30113c=>_0x30113c[_0x56d4d3(0x126)]()),this[_0x56d4d3(0x135)][_0x56d4d3(0x126)]();else{for(const [_0x47b8c8,_0x239a54]of this[_0x56d4d3(0x14d)])for(const _0x465935 of _0x239a54)this[_0x56d4d3(0x147)](_0x47b8c8,_0x465935);}}),this[_0x160188(0x134)](_0x2aa5b1[_0x160188(0x154)]['me'],!0x0);}[_0x5f057d(0x150)](_0x5dbc66,_0x3367c5){const _0x203450=_0x5f057d;if(this[_0x203450(0x14d)][_0x203450(0x143)](_0x5dbc66))throw new _0x5d7833(_0x203450(0x139),null,{'channelId':_0x5dbc66});this[_0x203450(0x14d)][_0x203450(0x146)](_0x5dbc66,_0x3367c5),this[_0x203450(0x13d)][_0x203450(0x146)](_0x5dbc66,new _0x5cbb81()),this[_0x203450(0x12c)][_0x203450(0x146)](_0x5dbc66,new _0x5cbb81()),this[_0x203450(0x14f)](_0x3367c5,_0x203450(0x12a),(_0x445261,_0x103b4d)=>this[_0x203450(0x147)](_0x5dbc66,_0x103b4d)),this[_0x203450(0x14f)](_0x3367c5,_0x203450(0x11a),(_0x4eb811,_0x73f551)=>this[_0x203450(0x142)](_0x5dbc66,_0x73f551));for(const _0x2ecfa7 of _0x3367c5)this[_0x203450(0x147)](_0x5dbc66,_0x2ecfa7);}[_0x5f057d(0x121)](_0x382812){const _0x73069d=_0x5f057d;if(!this[_0x73069d(0x14d)][_0x73069d(0x143)](_0x382812))throw new _0x5d7833(_0x73069d(0x12b),null,{'channelId':_0x382812});const _0x1ec2ef=this[_0x73069d(0x14d)][_0x73069d(0x11f)](_0x382812);this[_0x73069d(0x140)](_0x1ec2ef);for(const _0x4bf814 of _0x1ec2ef)_0x73069d(0x133)===this[_0x73069d(0x127)][_0x73069d(0x14a)][_0x73069d(0x11f)](_0x42d956)[_0x73069d(0x122)]&&this[_0x73069d(0x142)](_0x382812,_0x4bf814);this[_0x73069d(0x14d)][_0x73069d(0x130)](_0x382812),this[_0x73069d(0x13d)][_0x73069d(0x130)](_0x382812),this[_0x73069d(0x12c)][_0x73069d(0x130)](_0x382812);}get[_0x5f057d(0x11c)](){const _0x215a52=_0x5f057d;return this[_0x215a52(0x127)][_0x215a52(0x14a)][_0x215a52(0x11f)](_0x42d956)[_0x215a52(0x154)][_0x215a52(0x13f)];}[_0x5f057d(0x138)](_0x569bc4){const _0x19fe78=_0x5f057d;for(const _0x5d9a4b of this[_0x19fe78(0x13d)][_0x19fe78(0x12f)]())for(const _0x119b9e of _0x5d9a4b)if(_0x119b9e['id']===_0x569bc4)return _0x119b9e[_0x19fe78(0x144)];}[_0x5f057d(0x131)](_0x24ea93,_0x4c3a5e){const _0x2bd722=_0x5f057d,_0x24fbd0=_0x4c3a5e?[this[_0x2bd722(0x13d)][_0x2bd722(0x11f)](_0x4c3a5e)]:this[_0x2bd722(0x13d)][_0x2bd722(0x12f)](),_0x549a9c=new Set();for(const _0x1aab07 of _0x24fbd0)for(const _0x28466b of _0x1aab07)_0x28466b[_0x2bd722(0x144)]['id']===_0x24ea93['id']&&_0x549a9c[_0x2bd722(0x12a)](_0x28466b['id']);return _0x549a9c;}[_0x5f057d(0x13b)](_0x1701b9){const _0x410f90=_0x5f057d;for(const _0x23781a of this[_0x410f90(0x13d)][_0x410f90(0x12f)]())for(const _0x169ec4 of _0x23781a)if(_0x169ec4[_0x410f90(0x144)]===_0x1701b9)return _0x169ec4[_0x410f90(0x151)];}[_0x5f057d(0x147)](_0x452ce7,_0x3257dd){const _0x588ecf=_0x5f057d;if(_0x588ecf(0x133)!==this[_0x588ecf(0x127)][_0x588ecf(0x14a)][_0x588ecf(0x11f)](_0x42d956)[_0x588ecf(0x122)])return;const _0x40d5a5=_0x3257dd[_0x588ecf(0x144)],_0x48a5ba=this[_0x588ecf(0x148)][_0x588ecf(0x132)](_0x40d5a5['id'])||this[_0x588ecf(0x134)](_0x40d5a5),_0x5b634f=Object[_0x588ecf(0x136)]({},_0x3257dd,{'user':_0x48a5ba});this[_0x588ecf(0x13d)][_0x588ecf(0x11f)](_0x452ce7)[_0x588ecf(0x12a)](_0x5b634f);const _0x424c56=this[_0x588ecf(0x12c)][_0x588ecf(0x11f)](_0x452ce7);_0x424c56[_0x588ecf(0x143)](_0x48a5ba['id'])||_0x424c56[_0x588ecf(0x12a)](_0x48a5ba),this[_0x588ecf(0x135)][_0x588ecf(0x143)](_0x48a5ba['id'])||this[_0x588ecf(0x135)][_0x588ecf(0x12a)](_0x48a5ba,_0x48a5ba[_0x588ecf(0x137)]?0x0:void 0x0),this[_0x588ecf(0x128)](_0x588ecf(0x14b)+_0x452ce7,{'channelId':_0x452ce7,'session':_0x5b634f});}[_0x5f057d(0x142)](_0x14e205,_0x10d870){const _0x1987ed=_0x5f057d;if(_0x1987ed(0x133)!==this[_0x1987ed(0x127)][_0x1987ed(0x14a)][_0x1987ed(0x11f)](_0x42d956)[_0x1987ed(0x122)])return;const _0x12c618=this[_0x1987ed(0x12c)][_0x1987ed(0x11f)](_0x14e205),_0x5d359c=_0x10d870[_0x1987ed(0x144)];_0x5d359c['id']&&(this[_0x1987ed(0x13d)][_0x1987ed(0x11f)](_0x14e205)[_0x1987ed(0x11a)](_0x10d870['id']),_0x12c618[_0x1987ed(0x143)](_0x5d359c['id'])&&!this[_0x1987ed(0x131)](_0x5d359c,_0x14e205)[_0x1987ed(0x141)]&&_0x12c618[_0x1987ed(0x11a)](_0x5d359c['id']),this[_0x1987ed(0x135)][_0x1987ed(0x11f)](_0x5d359c['id'])&&!this[_0x1987ed(0x131)](_0x5d359c)[_0x1987ed(0x141)]&&this[_0x1987ed(0x135)][_0x1987ed(0x11a)](_0x5d359c['id']));}[_0x5f057d(0x134)](_0x37b82c,_0x31e90a){const _0x12543e=_0x5f057d,_0x74989d=this[_0x12543e(0x148)][_0x12543e(0x11b)](_0x37b82c);return _0x31e90a&&this[_0x12543e(0x148)][_0x12543e(0x149)](_0x37b82c['id']),_0x74989d[_0x12543e(0x11d)]=this[_0x12543e(0x13a)]++,_0x74989d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
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}));}
|
|
23
|
+
function _0xc531(){const _0x5e4570=['destroy','commands','parent','mapper','getNearestSelectionRange','document','83RdrTLA','render','change','undo','element','deletionPosition','selection','afterInit','applyOperation','mouseleave','createUIElement','getSelectionClass','get','contenteditable','innerHTML','user:position','set','861939nlSijF','span','237894uCrjsY','getFirstRange','split','view','markerToElement','size','markerToHighlight','getStart','user:','isCollapsed','stopListening','_createdBatches','createUserMarkerOperations','ck-user__marker_hovered','4450EpfFlm','editingDowncast','addEventListener','nodeAfter','fromRange','hasContent','oldRange','keydown','newRange','toRange','getUserBySessionId','add','1687356cwihbx','toDomElement','userPositionMarker','pluginName','addMarker','highest','marker','orderNumber','markerName','mySessionId','user:position:','isLimit','editor','135HeBGMv','markerNameToElements','classList','conversion','setCustomProperty','$text','7PapFME','color','update:user:range','schema','markerRange','rootName','root','$graveyard','clear','mouseenter','user:range','5571880RvteKP','getContainedElement','getPositions','UserMarkers','checkChild','2610fogREZ','startsWith','1716003cvyjlT','listenTo','name','start','getMarkerClass','getRange','Escape','ck-user__marker\x20','updateMarker','isObject','type','isSimilar','createRange','requires','isInline','removeClass','removeMarker','init','ck-user__selection','reconvertMarker','detach','markers','end','batch','tableCell','<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>','_domEmitter','getAttribute','change:range','delete','has','hasDomSelection','for','editing','model','remove','user:range:','</span>','plugins','22847CTVGqB','getCustomProperty','enqueueChange','data-session-id'];_0xc531=function(){return _0x5e4570;};return _0xc531();}const _0x4a1b6d=_0x6f55;(function(_0x13bf2f,_0x3ed769){const _0x535701=_0x6f55,_0xab52bc=_0x13bf2f();while(!![]){try{const _0x5df897=parseInt(_0x535701(0x1c0))/0x1*(-parseInt(_0x535701(0x1e1))/0x2)+parseInt(_0x535701(0x1d1))/0x3+parseInt(_0x535701(0x1ed))/0x4+-parseInt(_0x535701(0x1fa))/0x5*(-parseInt(_0x535701(0x1d3))/0x6)+-parseInt(_0x535701(0x17d))/0x7*(parseInt(_0x535701(0x188))/0x8)+parseInt(_0x535701(0x18f))/0x9+-parseInt(_0x535701(0x18d))/0xa*(parseInt(_0x535701(0x1b6))/0xb);if(_0x5df897===_0x3ed769)break;else _0xab52bc['push'](_0xab52bc['shift']());}catch(_0x13d6dc){_0xab52bc['push'](_0xab52bc['shift']());}}}(_0xc531,0x8590d));import{Plugin as _0x1fb561}from'ckeditor5/src/core.js';import{global as _0xf97e4c,DomEmitterMixin as _0x10f601}from'ckeditor5/src/utils.js';function _0x6f55(_0x3d2552,_0x261cef){const _0xc53120=_0xc531();return _0x6f55=function(_0x6f5524,_0x17a992){_0x6f5524=_0x6f5524-0x17d;let _0x4b2a77=_0xc53120[_0x6f5524];return _0x4b2a77;},_0x6f55(_0x3d2552,_0x261cef);}import _0x2bd1e8 from'./sessions.js';import{LiveRange as _0x1637e3}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class P extends _0x1fb561{constructor(){const _0x2e3633=_0x6f55;super(...arguments),this[_0x2e3633(0x1a9)]=new(_0x10f601())();}static get[_0x4a1b6d(0x19c)](){return[_0x2bd1e8];}static get[_0x4a1b6d(0x1f0)](){const _0x52617c=_0x4a1b6d;return _0x52617c(0x18b);}[_0x4a1b6d(0x1a0)](){const _0x5b7d25=_0x4a1b6d,_0x26c0b1=this[_0x5b7d25(0x1f9)],_0x4542d6=_0x26c0b1[_0x5b7d25(0x1b5)][_0x5b7d25(0x1cc)](_0x2bd1e8);_0x26c0b1[_0x5b7d25(0x1fd)][_0x5b7d25(0x1af)](_0x5b7d25(0x1e2))[_0x5b7d25(0x1d7)]({'model':_0x5b7d25(0x1cf),'view':(_0x3eca47,{writer:_0x5ae5be})=>function(_0x2da509,_0x229ea5,_0xa0bb86,_0x1cb26b){const _0x22872a=_0x5b7d25,_0x3b1e58=_0x2da509[_0x22872a(0x1f5)][_0x22872a(0x1d5)](':')[0x2],_0x376e78=_0xa0bb86[_0x22872a(0x1eb)](_0x3b1e58);if(!_0x376e78||_0x3b1e58===_0xa0bb86[_0x22872a(0x1f6)])return;if(!_0x1cb26b[_0x22872a(0x1b1)][_0x22872a(0x180)][_0x22872a(0x18c)](_0x2da509[_0x22872a(0x181)][_0x22872a(0x192)],_0x22872a(0x1ff)))return;const _0x5c18c6={'class':_0x22872a(0x196)+_0x376e78[_0x22872a(0x17e)][_0x22872a(0x193)](),'data-name':_0x376e78[_0x22872a(0x191)],'data-session-id':_0x3b1e58},_0x289bdb=_0x1cb26b[_0x22872a(0x1b1)][_0x22872a(0x1a4)][_0x22872a(0x1cc)](_0x2da509[_0x22872a(0x1f5)]),_0x3392a1=_0x289bdb[_0x22872a(0x1da)](),_0x2294da=_0x3392a1[_0x22872a(0x1e4)],_0x109451=_0x1cb26b[_0x22872a(0x1b1)][_0x22872a(0x180)];if(_0x2294da&&_0x109451[_0x22872a(0x198)](_0x2294da)&&_0x109451[_0x22872a(0x19d)](_0x2294da)&&!_0x1cb26b[_0x22872a(0x1b1)][_0x22872a(0x1a4)][_0x22872a(0x1cc)](_0x22872a(0x1b3)+_0x3b1e58)[_0x22872a(0x194)]()[_0x22872a(0x1dc)])return;const _0x35f89e=_0x3392a1[_0x22872a(0x1bc)];return _0x1cb26b[_0x22872a(0x1b1)][_0x22872a(0x180)][_0x22872a(0x1f8)](_0x35f89e)&&!_0x1cb26b[_0x22872a(0x1b1)][_0x22872a(0x1e6)](_0x35f89e)&&(_0x5c18c6[_0x22872a(0x1cd)]=!0x1),function(_0x2c6fb5,_0x452d06,_0x121b7c){const _0xbb5b06=_0x22872a,_0x26f2c2=_0x2c6fb5[_0xbb5b06(0x1ca)](_0xbb5b06(0x1d2),_0x452d06);return _0x2c6fb5[_0xbb5b06(0x1fe)](_0xbb5b06(0x1ef),!0x0,_0x26f2c2),_0x26f2c2[_0xbb5b06(0x1c1)]=function(_0x2f7178){const _0x3a1adf=_0xbb5b06,_0x5af6e3=this[_0x3a1adf(0x1ee)](_0x2f7178);return _0x5af6e3[_0x3a1adf(0x1ce)]=_0x3a1adf(0x1a8)+_0x121b7c[_0x3a1adf(0x191)]+_0x3a1adf(0x1b4),_0x5af6e3[_0x3a1adf(0x1e3)](_0x3a1adf(0x186),()=>{const _0x59eb11=_0x3a1adf;_0x5af6e3[_0x59eb11(0x1fc)][_0x59eb11(0x1ec)](_0x59eb11(0x1e0));}),_0x5af6e3[_0x3a1adf(0x1e3)](_0x3a1adf(0x1c9),()=>{const _0x142790=_0x3a1adf;_0x5af6e3[_0x142790(0x1fc)][_0x142790(0x1b2)](_0x142790(0x1e0));}),_0x5af6e3;},_0x26f2c2[_0xbb5b06(0x19a)]=function(_0x46e4d0){const _0x265c14=_0xbb5b06;return!(!this[_0x265c14(0x1b7)](_0x265c14(0x1ef))||!_0x46e4d0[_0x265c14(0x1b7)](_0x265c14(0x1ef))||this[_0x265c14(0x1aa)](_0x265c14(0x1b9))!=_0x46e4d0[_0x265c14(0x1aa)](_0x265c14(0x1b9)));},_0x26f2c2;}(_0x229ea5,_0x5c18c6,_0x376e78);}(_0x3eca47,_0x5ae5be,_0x4542d6,_0x26c0b1)}),_0x26c0b1[_0x5b7d25(0x1fd)][_0x5b7d25(0x1af)](_0x5b7d25(0x1e2))[_0x5b7d25(0x1d9)]({'model':_0x5b7d25(0x187),'view':_0x3e16bf=>function(_0x186eaa,_0x188006){const _0x247e1f=_0x5b7d25,_0x19d9cd=_0x186eaa[_0x247e1f(0x1f5)][_0x247e1f(0x1d5)](':')[0x2];if(_0x19d9cd===_0x188006[_0x247e1f(0x1f6)])return null;const _0x771f8d=_0x188006[_0x247e1f(0x1eb)](_0x19d9cd);if(!_0x771f8d)return{'id':_0x19d9cd,'classes':[]};return{'id':_0x19d9cd,'classes':[_0x247e1f(0x1a1),_0x771f8d[_0x247e1f(0x17e)][_0x247e1f(0x1cb)]()],'attributes':{'data-session-id':_0x19d9cd},'priority':0x7d0+_0x771f8d[_0x247e1f(0x1f4)]};}(_0x3e16bf,_0x4542d6)}),function(_0x508e7c){const _0x5ea977=_0x5b7d25,_0x63f035=_0x508e7c[_0x5ea977(0x1b1)],_0x4c9533=new Map(),_0xb5c831=_0x508e7c[_0x5ea977(0x1b5)][_0x5ea977(0x1cc)](_0x2bd1e8);_0x63f035[_0x5ea977(0x1a4)]['on'](_0x5ea977(0x17f),(_0x4c257e,_0x37c15,_0x7abb30,_0x21c6d7)=>{const _0x23d2e2=_0x5ea977;if(!_0x21c6d7&&_0x4c9533[_0x23d2e2(0x1cc)](_0x37c15[_0x23d2e2(0x191)]))return _0x4c9533[_0x23d2e2(0x1cc)](_0x37c15[_0x23d2e2(0x191)])[_0x23d2e2(0x1a3)](),void _0x4c9533[_0x23d2e2(0x1ac)](_0x37c15[_0x23d2e2(0x191)]);const _0x49a759=_0x37c15[_0x23d2e2(0x191)][_0x23d2e2(0x1d5)](':')[0x2];if(_0x49a759===_0xb5c831[_0x23d2e2(0x1f6)])return;const _0x48dc0c=_0x23d2e2(0x1f7)+_0x49a759;_0x63f035[_0x23d2e2(0x1a4)][_0x23d2e2(0x1ad)](_0x48dc0c)&&_0x508e7c[_0x23d2e2(0x1b0)][_0x23d2e2(0x1a2)](_0x48dc0c),_0x37c15['on'](_0x23d2e2(0x1ab),(_0x1e999e,_0x120d57,_0x205b9d)=>{const _0x4353fb=_0x23d2e2;if(_0x4353fb(0x184)!=_0x120d57[_0x4353fb(0x183)][_0x4353fb(0x182)]&&_0x4353fb(0x184)==_0x37c15[_0x4353fb(0x194)]()[_0x4353fb(0x183)][_0x4353fb(0x182)]&&!_0x4c9533[_0x4353fb(0x1ad)](_0x37c15[_0x4353fb(0x191)])){const _0x24156c=_0x63f035[_0x4353fb(0x180)][_0x4353fb(0x1be)](_0x205b9d[_0x4353fb(0x1c5)]);if(_0x24156c){const _0x3c7927=_0x1637e3[_0x4353fb(0x1e5)](_0x24156c);_0x4c9533[_0x4353fb(0x1d0)](_0x37c15[_0x4353fb(0x191)],_0x3c7927),_0x3c7927['on'](_0x4353fb(0x1ab),(_0x3c49d3,_0x1fed95,_0x5de07b)=>{const _0x590d3b=_0x4353fb;if(_0x590d3b(0x184)==_0x3c7927[_0x590d3b(0x183)][_0x590d3b(0x182)]){const _0x279e5a=_0x63f035[_0x590d3b(0x180)][_0x590d3b(0x1be)](_0x5de07b[_0x590d3b(0x1c5)]);_0x279e5a?(_0x3c7927[_0x590d3b(0x192)]=_0x279e5a[_0x590d3b(0x192)],_0x3c7927[_0x590d3b(0x1a5)]=_0x279e5a[_0x590d3b(0x1a5)]):(_0x4c9533[_0x590d3b(0x1ac)](_0x37c15[_0x590d3b(0x191)]),_0x3c7927[_0x590d3b(0x1a3)]());}});}}});}),_0x63f035[_0x5ea977(0x1bf)]['on'](_0x5ea977(0x1c2),()=>{const _0x36ae1d=_0x5ea977;_0x4c9533[_0x36ae1d(0x1d8)]>0x0&&_0x63f035[_0x36ae1d(0x1b8)]({'isUndoable':!0x1},_0x13c35b=>{const _0x7c1350=_0x36ae1d;for(const [_0x38a215,_0x17ffa9]of _0x4c9533)_0x7c1350(0x184)==_0x63f035[_0x7c1350(0x1a4)][_0x7c1350(0x1cc)](_0x38a215)[_0x7c1350(0x194)]()[_0x7c1350(0x183)][_0x7c1350(0x182)]&&(G(_0x38a215[_0x7c1350(0x1d5)](':')[0x2],_0x17ffa9[_0x7c1350(0x1ea)](),_0x63f035,_0x13c35b),_0x17ffa9[_0x7c1350(0x1a3)]());_0x4c9533[_0x7c1350(0x185)]();});});}(_0x26c0b1),this[_0x5b7d25(0x1a9)][_0x5b7d25(0x190)](_0xf97e4c[_0x5b7d25(0x1bf)],_0x5b7d25(0x1e8),(_0x43fe55,{key:_0x4b8f52})=>{const _0xa8034b=_0x5b7d25;_0xa8034b(0x195)===_0x4b8f52&&function(_0x18948d){const _0x26bf2b=_0xa8034b;_0x18948d[_0x26bf2b(0x1b0)][_0x26bf2b(0x1d6)][_0x26bf2b(0x1c2)](_0x441b40=>{const _0x1e033d=_0x26bf2b;for(const _0x49e6d0 of _0x18948d[_0x1e033d(0x1b1)][_0x1e033d(0x1a4)]){if(!_0x49e6d0[_0x1e033d(0x191)][_0x1e033d(0x18e)](_0x1e033d(0x1cf)))continue;const _0x2dda0d=_0x18948d[_0x1e033d(0x1b0)][_0x1e033d(0x1bd)][_0x1e033d(0x1fb)](_0x49e6d0[_0x1e033d(0x191)]);if(_0x2dda0d){for(const _0x2b46eb of _0x2dda0d)_0x441b40[_0x1e033d(0x19e)](_0x1e033d(0x1e0),_0x2b46eb);}}});}(_0x26c0b1);},{'useCapture':!0x0});}[_0x4a1b6d(0x1c7)](){const _0x11bb3c=_0x4a1b6d,_0x325b96=this[_0x11bb3c(0x1f9)],_0x192677=_0x325b96[_0x11bb3c(0x1bb)][_0x11bb3c(0x1cc)](_0x11bb3c(0x1c3));_0x192677&&_0x325b96[_0x11bb3c(0x1b1)]['on'](_0x11bb3c(0x1c8),(_0x9bd6e,_0x400272)=>{const _0x5c27e0=_0x11bb3c,_0x447c0f=_0x400272[0x0];if(_0x5c27e0(0x1f3)!=_0x447c0f[_0x5c27e0(0x199)]||!_0x447c0f[_0x5c27e0(0x191)][_0x5c27e0(0x18e)](_0x5c27e0(0x1db)))return;const _0x161dd3=_0x447c0f[_0x5c27e0(0x1a6)];_0x192677[_0x5c27e0(0x1de)][_0x5c27e0(0x1ad)](_0x161dd3)&&(_0x447c0f[_0x5c27e0(0x1e9)]=_0x447c0f[_0x5c27e0(0x1e7)]?_0x325b96[_0x5c27e0(0x1b1)][_0x5c27e0(0x19b)](_0x447c0f[_0x5c27e0(0x1e7)][_0x5c27e0(0x192)],_0x447c0f[_0x5c27e0(0x1e7)][_0x5c27e0(0x1a5)]):null);},{'priority':_0x11bb3c(0x1f2)});}[_0x4a1b6d(0x1ba)](){const _0x4a5058=_0x4a1b6d;return this[_0x4a5058(0x1a9)][_0x4a5058(0x1dd)](),super[_0x4a5058(0x1ba)]();}[_0x4a1b6d(0x1df)](){const _0x5d4680=_0x4a1b6d,_0x2513e0=this[_0x5d4680(0x1f9)],_0x2c4bd8=_0x2513e0[_0x5d4680(0x1b1)][_0x5d4680(0x1bf)],_0xad7b2e=_0x2513e0[_0x5d4680(0x1b5)][_0x5d4680(0x1cc)](_0x2bd1e8);_0x2513e0[_0x5d4680(0x1b1)][_0x5d4680(0x1b8)]({'isUndoable':!0x1},_0x9b004d=>{const _0xf8295d=_0x5d4680,_0x4d18a8=_0xf8295d(0x1b3)+_0xad7b2e[_0xf8295d(0x1f6)],_0x4588c2=_0xf8295d(0x1f7)+_0xad7b2e[_0xf8295d(0x1f6)],_0x3fe2c6=_0x2513e0[_0xf8295d(0x1b1)][_0xf8295d(0x1a4)][_0xf8295d(0x1ad)](_0x4d18a8);_0x2513e0[_0xf8295d(0x1b0)][_0xf8295d(0x1d6)][_0xf8295d(0x1ae)]?G(_0xad7b2e[_0xf8295d(0x1f6)],_0x2c4bd8[_0xf8295d(0x1c6)][_0xf8295d(0x1d4)](),_0x2513e0[_0xf8295d(0x1b1)],_0x9b004d):_0x3fe2c6&&(_0x9b004d[_0xf8295d(0x19f)](_0x4d18a8),_0x9b004d[_0xf8295d(0x19f)](_0x4588c2));});}}function G(_0x1d67dc,_0x3bdf8b,_0x1a30c8,_0x5b5d2c){const _0x369d4b=_0x4a1b6d,_0x27307a=_0x369d4b(0x1b3)+_0x1d67dc,_0x333641=_0x369d4b(0x1f7)+_0x1d67dc,_0x1dcf77=_0x3bdf8b[_0x369d4b(0x189)]();let _0x5ae4b1=_0x3bdf8b[_0x369d4b(0x192)];_0x1dcf77&&_0x1dcf77['is'](_0x369d4b(0x1c4),_0x369d4b(0x1a7))&&(_0x5ae4b1=function(_0x4716d7,_0x59055e){const _0x436f10=_0x369d4b;for(const _0x467206 of _0x4716d7[_0x436f10(0x18a)]())if(_0x59055e[_0x436f10(0x180)][_0x436f10(0x18c)](_0x467206,_0x436f10(0x1ff)))return _0x467206;}(_0x3bdf8b,_0x1a30c8),_0x3bdf8b=_0x5b5d2c[_0x369d4b(0x19b)](_0x5ae4b1));const _0x28fd1a=_0x5b5d2c[_0x369d4b(0x19b)](_0x5ae4b1);_0x1a30c8[_0x369d4b(0x1a4)][_0x369d4b(0x1ad)](_0x27307a)?(_0x5b5d2c[_0x369d4b(0x197)](_0x27307a,{'range':_0x3bdf8b}),_0x5b5d2c[_0x369d4b(0x197)](_0x333641,{'range':_0x28fd1a})):(_0x5b5d2c[_0x369d4b(0x1f1)](_0x27307a,{'range':_0x3bdf8b,'usingOperation':!0x0}),_0x5b5d2c[_0x369d4b(0x1f1)](_0x333641,{'range':_0x28fd1a,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1ef3ce=_0x4b01;(function(_0x1d25af,_0x10c60c){const _0x120c9c=_0x4b01,_0xe996d0=_0x1d25af();while(!![]){try{const _0x21891b=parseInt(_0x120c9c(0xb7))/0x1+parseInt(_0x120c9c(0xd9))/0x2*(-parseInt(_0x120c9c(0xe7))/0x3)+parseInt(_0x120c9c(0xc5))/0x4*(parseInt(_0x120c9c(0xac))/0x5)+parseInt(_0x120c9c(0xd6))/0x6+-parseInt(_0x120c9c(0xc3))/0x7*(-parseInt(_0x120c9c(0xc0))/0x8)+-parseInt(_0x120c9c(0xe3))/0x9+-parseInt(_0x120c9c(0xb4))/0xa;if(_0x21891b===_0x10c60c)break;else _0xe996d0['push'](_0xe996d0['shift']());}catch(_0x38ee91){_0xe996d0['push'](_0xe996d0['shift']());}}}(_0x1eb2,0x81e49));import{ContextPlugin as _0x35f7be}from'ckeditor5/src/core.js';function _0x1eb2(){const _0x33e768=['connection','CloudServices','connect','init','8253981ywqfzr','isInReconnectionStack','token','set','1554597RAPkcB','_isBrowserOffline','real-time-collaboration','add','_reconnectionStack','requires','has','disconnect','_reconnect','webSocketUrl','WebSocketGateway','context','DISCONNECTED','plugins','212115xFMgnF','cloudservices-init','reconnect','state','initialReconnectionInterval','define','function','stopListening','5508230RtgZhw','create','get','844984AaBfBl','_domEmitter','showWarning','removeFromReconnectionStack','online','pluginName','bind','config','_shouldPluginsReconnect','111912UtORwR','from','constructor','399grWoki','then','44edFEiI','limitExceeded','error','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.','CONNECTED','websocketgateway-invalid-plugin-interface','change:me','websocketgateway-plugin-already-registered','Connected\x20users\x20limit\x20exceeded','offline','delete','all','cloudServices.connectionTimeout','connected','addToReconnectionStack','listenTo','cloudservices-reconnection-error','2454972VUNLyg','catch','destroy','2zsSeqU','code','websocketgateway-missing-websocket-url','cloudServices.requestTimeout','CONNECTING','websocketgateway-missing-token'];_0x1eb2=function(){return _0x33e768;};return _0x1eb2();}import{DomEmitterMixin as _0xbb9960,CKEditorError as _0x34f04d}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x496fa3,WEB_SOCKET_GATEWAY_STATES as _0x4b6b10}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x11c059}from'ckeditor5/src/ui.js';function _0x4b01(_0x3e5dd3,_0x614dbc){const _0x1eb288=_0x1eb2();return _0x4b01=function(_0x4b01be,_0x3694c8){_0x4b01be=_0x4b01be-0xa5;let _0x1033f1=_0x1eb288[_0x4b01be];return _0x1033f1;},_0x4b01(_0x3e5dd3,_0x614dbc);}class c extends _0x35f7be{static get[_0x1ef3ce(0xec)](){const _0xc227b=_0x1ef3ce;return[_0xc227b(0xe0),_0x11c059];}static get[_0x1ef3ce(0xbc)](){const _0x3086a3=_0x1ef3ce;return _0x3086a3(0xa8);}constructor(_0x3afb22){const _0xe5c6df=_0x1ef3ce;super(_0x3afb22),this[_0xe5c6df(0xe6)](_0xe5c6df(0xaf),_0x4b6b10[_0xe5c6df(0xc9)]),this[_0xe5c6df(0xe6)](_0xe5c6df(0xe8),!0x1),this[_0xe5c6df(0xeb)]=new Set(),this[_0xe5c6df(0xbf)]=!0x1,this[_0xe5c6df(0xb8)]=Object[_0xe5c6df(0xb5)](_0xbb9960);}[_0x1ef3ce(0xe2)](){const _0x42f1fd=_0x1ef3ce,_0x2a45a6=this[_0x42f1fd(0xa9)],_0x1d237b=_0x2a45a6[_0x42f1fd(0xab)][_0x42f1fd(0xb6)](_0x42f1fd(0xe0)),_0x4b8fe0=_0x2a45a6[_0x42f1fd(0xab)][_0x42f1fd(0xb6)](_0x11c059);if(!_0x1d237b[_0x42f1fd(0xe5)])throw new _0x34f04d(_0x42f1fd(0xde),this);if(!_0x1d237b[_0x42f1fd(0xa7)])throw new _0x34f04d(_0x42f1fd(0xdb),this);return this[_0x42f1fd(0xb8)][_0x42f1fd(0xd4)](window,_0x42f1fd(0xce),()=>this[_0x42f1fd(0xe8)]=!0x0),this[_0x42f1fd(0xb8)][_0x42f1fd(0xd4)](window,_0x42f1fd(0xbb),()=>this[_0x42f1fd(0xe8)]=!0x1),this[_0x42f1fd(0xa9)][_0x42f1fd(0xbe)][_0x42f1fd(0xb1)](_0x42f1fd(0xd1),0xa),this[_0x42f1fd(0xa9)][_0x42f1fd(0xbe)][_0x42f1fd(0xb1)](_0x42f1fd(0xdc),0x14),c[_0x42f1fd(0xa8)][_0x42f1fd(0xe1)](_0x1d237b[_0x42f1fd(0xe5)],_0x1d237b[_0x42f1fd(0xa7)],{'timeout':0x3e8*this[_0x42f1fd(0xa9)][_0x42f1fd(0xbe)][_0x42f1fd(0xb6)](_0x42f1fd(0xd1)),'requestTimeout':0x3e8*this[_0x42f1fd(0xa9)][_0x42f1fd(0xbe)][_0x42f1fd(0xb6)](_0x42f1fd(0xdc))})[_0x42f1fd(0xc4)](_0x4b35a0=>{const _0x15b136=_0x42f1fd;if(this[_0x15b136(0xdf)]=_0x4b35a0,this[_0x15b136(0xbd)](_0x15b136(0xaf))['to'](_0x4b35a0,_0x15b136(0xaf),this,_0x15b136(0xe8),(_0x51c25e,_0x336f08)=>(_0x15b136(0xd2)!==_0x51c25e&&(this[_0x15b136(0xbf)]=!0x0),_0x336f08||_0x51c25e!==_0x4b6b10[_0x15b136(0xc9)]?_0x4b6b10[_0x15b136(0xaa)]:this[_0x15b136(0xaf)]==_0x4b6b10[_0x15b136(0xaa)]&&this[_0x15b136(0xbf)]?(this[_0x15b136(0xbf)]=!0x1,this[_0x15b136(0xa6)](),_0x4b6b10[_0x15b136(0xdd)]):_0x4b6b10[_0x15b136(0xc9)])),this[_0x15b136(0xdf)]['on'](_0x15b136(0xc7),(_0x573c61,_0x447a09)=>{const _0xf0c8f8=_0x15b136;if(_0xf0c8f8(0xc6)!==_0x447a09[_0xf0c8f8(0xda)])throw console[_0xf0c8f8(0xc7)](_0x447a09),new _0x34f04d(_0xf0c8f8(0xad),null,{'originalError':_0x447a09});_0x4b8fe0[_0xf0c8f8(0xb9)](_0xf0c8f8(0xc8),{'title':_0xf0c8f8(0xcd),'namespace':_0xf0c8f8(0xe9)});}),!_0x4b35a0['me'])return new Promise(_0x32f97d=>_0x4b35a0['on'](_0x15b136(0xcb),_0x32f97d));})[_0x42f1fd(0xd7)](_0x2a6eed=>{const _0x47ae24=_0x42f1fd;throw console[_0x47ae24(0xc7)](_0x2a6eed),new _0x34f04d(_0x47ae24(0xad),null,{'originalError':_0x2a6eed});});}[_0x1ef3ce(0xd3)](_0x15c6aa){const _0x261cdb=_0x1ef3ce;if(_0x261cdb(0xb2)!=typeof _0x15c6aa[_0x261cdb(0xae)])throw new _0x34f04d(_0x261cdb(0xca),this);if(this[_0x261cdb(0xe4)](_0x15c6aa))throw new _0x34f04d(_0x261cdb(0xcc),this,{'name':_0x15c6aa[_0x261cdb(0xc2)][_0x261cdb(0xbc)]});this[_0x261cdb(0xeb)][_0x261cdb(0xea)](_0x15c6aa);}[_0x1ef3ce(0xba)](_0x4df193){const _0x518b60=_0x1ef3ce;this[_0x518b60(0xeb)][_0x518b60(0xcf)](_0x4df193);}[_0x1ef3ce(0xe4)](_0x252da8){const _0x5e3ed1=_0x1ef3ce;return this[_0x5e3ed1(0xeb)][_0x5e3ed1(0xed)](_0x252da8);}[_0x1ef3ce(0xa6)](){const _0x4b8142=_0x1ef3ce;return this[_0x4b8142(0xdf)][_0x4b8142(0xae)]()[_0x4b8142(0xc4)](()=>Promise[_0x4b8142(0xd0)](Array[_0x4b8142(0xc1)](this[_0x4b8142(0xeb)],_0x4d7127=>_0x4d7127[_0x4b8142(0xae)]())))[_0x4b8142(0xc4)](()=>this[_0x4b8142(0xaf)]=_0x4b6b10[_0x4b8142(0xc9)])[_0x4b8142(0xd7)](_0x3d9461=>{const _0x523961=_0x4b8142;throw console[_0x523961(0xc7)](_0x3d9461),new _0x34f04d(_0x523961(0xd5),this[_0x523961(0xa9)]);});}[_0x1ef3ce(0xd8)](){const _0x350d19=_0x1ef3ce;this[_0x350d19(0xdf)]&&this[_0x350d19(0xdf)][_0x350d19(0xa5)](),this[_0x350d19(0xaf)]=_0x4b6b10[_0x350d19(0xaa)],this[_0x350d19(0xb8)][_0x350d19(0xb3)](),super[_0x350d19(0xd8)]();}}c[_0x1ef3ce(0xa8)]=_0x496fa3,c[_0x1ef3ce(0xb0)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x3c0987=_0x3e16;function _0x3e16(_0x1acac5,_0x8b7ce9){var _0x340128=_0x3401();return _0x3e16=function(_0x3e1680,_0xe35fbd){_0x3e1680=_0x3e1680-0x184;var _0x4f1bbd=_0x340128[_0x3e1680];return _0x4f1bbd;},_0x3e16(_0x1acac5,_0x8b7ce9);}(function(_0x1467a5,_0x3d00b9){var _0x283af7=_0x3e16,_0x28e29e=_0x1467a5();while(!![]){try{var _0x322965=parseInt(_0x283af7(0x184))/0x1*(-parseInt(_0x283af7(0x18b))/0x2)+parseInt(_0x283af7(0x192))/0x3*(-parseInt(_0x283af7(0x18d))/0x4)+-parseInt(_0x283af7(0x18a))/0x5+parseInt(_0x283af7(0x188))/0x6*(-parseInt(_0x283af7(0x18f))/0x7)+parseInt(_0x283af7(0x18c))/0x8+parseInt(_0x283af7(0x186))/0x9*(parseInt(_0x283af7(0x185))/0xa)+-parseInt(_0x283af7(0x187))/0xb*(-parseInt(_0x283af7(0x190))/0xc);if(_0x322965===_0x3d00b9)break;else _0x28e29e['push'](_0x28e29e['shift']());}catch(_0x1b84d6){_0x28e29e['push'](_0x28e29e['shift']());}}}(_0x3401,0x3fa0c));import{Plugin as _0x5c6209}from'ckeditor5/src/core.js';function _0x3401(){var _0x11bdbc=['40ylIoKJ','704448jjTMcP','1148pksRUz','pluginName','14028KFFUWw','264rRnXaV','requires','1479FHMwtk','13697aQhMtU','129100vRqAzb','351ApOBmK','368698iHVVRc','804egzqAO','RealTimeCollaborativeEditing','1921775nasDUL'];_0x3401=function(){return _0x11bdbc;};return _0x3401();}import _0x57a2e6 from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x5c6209{static get[_0x3c0987(0x191)](){return[_0x57a2e6];}static get[_0x3c0987(0x18e)](){var _0x3f4aae=_0x3c0987;return _0x3f4aae(0x189);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
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));}
|
|
23
|
+
const _0x4e5b4c=_0x3a07;(function(_0x40a94d,_0x3b0015){const _0xa61065=_0x3a07,_0x132c42=_0x40a94d();while(!![]){try{const _0x4d8d64=-parseInt(_0xa61065(0x1ea))/0x1+-parseInt(_0xa61065(0x205))/0x2*(-parseInt(_0xa61065(0x201))/0x3)+parseInt(_0xa61065(0x226))/0x4+parseInt(_0xa61065(0x206))/0x5*(-parseInt(_0xa61065(0x212))/0x6)+-parseInt(_0xa61065(0x21f))/0x7+parseInt(_0xa61065(0x1f0))/0x8*(-parseInt(_0xa61065(0x23b))/0x9)+parseInt(_0xa61065(0x213))/0xa;if(_0x4d8d64===_0x3b0015)break;else _0x132c42['push'](_0x132c42['shift']());}catch(_0x363c75){_0x132c42['push'](_0x132c42['shift']());}}}(_0x10e3,0xb0873));import{Plugin as _0x307776}from'ckeditor5/src/core.js';import{version as _0x1c69f7}from'ckeditor5/src/utils.js';function _0x3a07(_0xd9ff5e,_0xa960a1){const _0x10e337=_0x10e3();return _0x3a07=function(_0x3a0708,_0x21bc91){_0x3a0708=_0x3a0708-0x1d9;let _0x4f29fe=_0x10e337[_0x3a0708];return _0x4f29fe;},_0x3a07(_0xd9ff5e,_0xa960a1);}import{Users as _0x2d4510}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x113924 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x1b944f from'../realtimecollaborativeediting/websocketgateway.js';import _0xfbae11 from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x1b4d19,RevisionHistoryService as _0x3b7e63,User as _0x4359f4,WEB_SOCKET_GATEWAY_STATES as _0x4f9224}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x10e3(){const _0x7637d=['cloud-services-internal-error:\x20Not\x20connected.','400','add','diffData','1160lTQsal','_getLatestVersion','max','_handleRevisionsUpdate','_startingVersion','revisionsUpdated','keys','_createCurrentRevision','isConnected','fromVersion','getUser','bind','from','connected','createdAt','init','collaboration.channelId','9FBZXrS','_fetchMissingUsers','updateRevisions','adapter','135986ozGTfl','10HMnRMB','_revisions','isEmptyCurrent','serverHistory','_bufferedUpdates','getOperations','reInit','_waitForServiceReady','reconnect','requires','_isConnected','sessionId','3876696gUPFCH','29167110gPMTtI','then','wrongRequestId','_lastRequestId','listenTo','sendBufferedUpdates','has','marker','getRevision','_revisionDataBuilder','size','currentRevision','2617874NKxTGr','creatorId','addUser','change:_isPendingUpdate','repository','config','getMany','4352732jrMPBv','_bufferUpdate','_offset','reverse','editor','remove','affectsData','isBundleUploaded','_oldOffset','RevisionTracker','_revisionHistoryService','cloudServices.bundleVersion','off','code','setRevisionData','message','_fixRevision','startsWith','_revisionTracker','baseVersion','_getLatestVersionFromServerOperations','75159CXXfwe','connection','catch','state','cloud-services-internal-error:\x20Request\x20timeout.','buildRevisionData','addToReconnectionStack','connect','toVersion','type','isEnabled','_update','once','authors','getRevisions','_preventResendingRevisionData','RevisionHistoryService','setSource','destroy','_handleReconnectionError','plugins','map','length','authorsIds','addRevisionData','data','get','change:_isConnected','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','_isPendingUpdate','608705HnDCTw','CONNECTED'];_0x10e3=function(){return _0x7637d;};return _0x10e3();}class v extends _0x307776{static get[_0x4e5b4c(0x20f)](){const _0x354b3c=_0x4e5b4c;return[_0x1b944f,_0x113924,_0x354b3c(0x22f),_0xfbae11,_0x2d4510];}constructor(_0x193b55){const _0x481903=_0x4e5b4c;super(_0x193b55);const _0x23d96f=this[_0x481903(0x22a)][_0x481903(0x224)][_0x481903(0x1e6)](_0x481903(0x200));this[_0x481903(0x216)]=null,this[_0x481903(0x238)]=this[_0x481903(0x22a)][_0x481903(0x1e0)][_0x481903(0x1e6)](_0x481903(0x22f)),this[_0x481903(0x230)]=new v[(_0x481903(0x1dc))](_0x23d96f);}async[_0x4e5b4c(0x1ff)](){const _0x5b30b5=_0x4e5b4c,_0x125c8a=this[_0x5b30b5(0x22a)][_0x5b30b5(0x1e0)][_0x5b30b5(0x1e6)](_0x113924),_0x4d3d0a=_0x125c8a[_0x5b30b5(0x209)],_0xbdc237=this[_0x5b30b5(0x22a)][_0x5b30b5(0x1e0)][_0x5b30b5(0x1e6)](_0x1b944f);this[_0x5b30b5(0x238)][_0x5b30b5(0x1dd)]({'history':_0x4d3d0a,'getLatestVersion':()=>this[_0x5b30b5(0x1f1)](),'getCurrentRevisionId':()=>_0x125c8a[_0x5b30b5(0x211)]});const _0x4afb9a=this[_0x5b30b5(0x22a)][_0x5b30b5(0x224)][_0x5b30b5(0x1e6)](_0x5b30b5(0x231))||_0x1c69f7,_0x455a9e=await _0x1b4d19[_0x5b30b5(0x22d)](_0xbdc237[_0x5b30b5(0x23c)],_0x4afb9a);this[_0x5b30b5(0x238)][_0x5b30b5(0x204)]={'getRevision':async({revisionId:_0x545892})=>(await this[_0x5b30b5(0x20d)](),await this[_0x5b30b5(0x230)][_0x5b30b5(0x21b)](_0x545892)),'updateRevisions':async _0x5943ed=>{const _0xbbfbe0=_0x5b30b5;await this[_0xbbfbe0(0x20d)]();const _0x11d350=this[_0xbbfbe0(0x238)][_0xbbfbe0(0x21e)];if(_0x455a9e&&0x1===_0x5943ed[_0xbbfbe0(0x1e2)]&&_0x5943ed[0x0]['id']===_0x11d350['id'])return _0x5943ed;for(const _0xb8bc80 of _0x5943ed)_0xb8bc80['id']===_0x11d350['id']&&(_0xb8bc80[_0xbbfbe0(0x208)]=_0xb8bc80[_0xbbfbe0(0x1f9)]===_0xb8bc80[_0xbbfbe0(0x243)]);return this[_0xbbfbe0(0x230)][_0xbbfbe0(0x203)](_0x5943ed,this[_0xbbfbe0(0x216)])[_0xbbfbe0(0x214)](_0x2a15ef=>(this[_0xbbfbe0(0x216)]=_0x2a15ef,_0x5943ed))[_0xbbfbe0(0x23d)](_0x246b1e=>{const _0x3ebfe6=_0xbbfbe0;if(nt(_0x246b1e)||_0x3ebfe6(0x1ed)===_0x246b1e[_0x3ebfe6(0x233)]&&void 0x0!==_0x246b1e[_0x3ebfe6(0x1e5)][_0x3ebfe6(0x215)]){for(const _0x45e20e of _0x5943ed){!this[_0x3ebfe6(0x238)][_0x3ebfe6(0x223)][_0x3ebfe6(0x21b)](_0x45e20e['id'])||this[_0x3ebfe6(0x238)][_0x3ebfe6(0x227)](_0x45e20e['id'],_0x45e20e,!0x1);}if(nt(_0x246b1e))throw _0x246b1e;return _0x5943ed;}throw _0x246b1e;});}},this[_0x5b30b5(0x217)](this[_0x5b30b5(0x230)],_0x5b30b5(0x1f5),(_0x570913,{revisionsData:_0x5c3b0e,requestId:_0x306b1e})=>{const _0x1e98ee=_0x5b30b5;Math[_0x1e98ee(0x1f2)](..._0x5c3b0e[_0x1e98ee(0x1e1)](_0x5814bb=>_0x5814bb[_0x1e98ee(0x243)]))>this[_0x1e98ee(0x23a)]()-0x1?this[_0x1e98ee(0x1f1)]()[_0x1e98ee(0x214)](()=>{const _0x52dcb0=_0x1e98ee;this[_0x52dcb0(0x1f3)](_0x5c3b0e,_0x306b1e);}):this[_0x1e98ee(0x1f3)](_0x5c3b0e,_0x306b1e);});const {revisions:_0x3c5dbd,requestId:_0x584dc3}=await this[_0x5b30b5(0x230)][_0x5b30b5(0x242)](_0xbdc237[_0x5b30b5(0x23c)]);_0xbdc237[_0x5b30b5(0x241)](this),this[_0x5b30b5(0x216)]=_0x584dc3,await this[_0x5b30b5(0x202)](_0x3c5dbd);for(const _0x3d65c5 of _0x3c5dbd)this[_0x5b30b5(0x238)][_0x5b30b5(0x1e4)](_0x3d65c5);this[_0x5b30b5(0x217)](_0x125c8a,_0x5b30b5(0x1e7),(_0x37a78f,_0x3afc34,_0x4c5fb8)=>{const _0x3c9b86=_0x5b30b5;_0x4c5fb8&&(this[_0x3c9b86(0x22e)]=_0x125c8a[_0x3c9b86(0x228)],_0x37a78f[_0x3c9b86(0x232)]());}),this[_0x5b30b5(0x238)][_0x5b30b5(0x1fb)](_0x5b30b5(0x245))['to'](_0xbdc237,_0x5b30b5(0x23e),_0x454a1e=>_0x454a1e===_0x4f9224[_0x5b30b5(0x1eb)]);}async[_0x4e5b4c(0x20e)](){const _0x48543c=_0x4e5b4c,_0x1849ba=this[_0x48543c(0x22a)][_0x48543c(0x1e0)][_0x48543c(0x1e6)](_0x1b944f),_0x32e1ae=this[_0x48543c(0x22a)][_0x48543c(0x1e0)][_0x48543c(0x1e6)](_0x113924),_0x40d865=async()=>{const _0x665e08=_0x48543c,_0x58f35d=this[_0x665e08(0x238)][_0x665e08(0x21e)],_0x1b9407=_0x58f35d['id'],_0x4951b6=_0x1b9407!==_0x32e1ae[_0x665e08(0x211)];if(_0x4951b6){const _0x24991c=_0x32e1ae[_0x665e08(0x228)]-this[_0x665e08(0x22e)],_0x35bfb6=this[_0x665e08(0x23a)]();this[_0x665e08(0x238)][_0x665e08(0x21c)][_0x665e08(0x20c)]();if(_0x58f35d[_0x665e08(0x243)]+_0x24991c!==_0x35bfb6){const _0x4af511=_0x58f35d[_0x665e08(0x1f9)]+_0x24991c,_0x5942ea=this[_0x665e08(0x22a)][_0x665e08(0x1e0)][_0x665e08(0x1e6)](_0x2d4510),_0x546113=this[_0x665e08(0x238)][_0x665e08(0x240)]({'revision':_0x58f35d,'from':_0x4af511,'to':_0x35bfb6});_0x546113['id']=_0x58f35d['id'];const _0x3e38dd=_0x546113[_0x665e08(0x1e3)][_0x665e08(0x1e1)](_0x2f1ffe=>_0x5942ea[_0x665e08(0x1fa)](_0x2f1ffe));_0x58f35d[_0x665e08(0x246)]({..._0x546113,'authors':_0x3e38dd},!0x0),this[_0x665e08(0x238)][_0x665e08(0x227)](_0x58f35d['id'],_0x546113,!0x0);}this[_0x665e08(0x238)][_0x665e08(0x1f4)]=_0x35bfb6,(_0x58f35d[_0x665e08(0x243)]===_0x58f35d[_0x665e08(0x1f9)]&&!this[_0x665e08(0x238)][_0x665e08(0x20a)][_0x665e08(0x219)](_0x1b9407)&&this[_0x665e08(0x238)][_0x665e08(0x223)][_0x665e08(0x207)][_0x665e08(0x22b)](_0x1b9407),this[_0x665e08(0x238)][_0x665e08(0x1f7)](_0x35bfb6));}const {revisions:_0x5d5e01,requestId:_0x31b34d}=await this[_0x665e08(0x230)][_0x665e08(0x20e)](_0x1849ba[_0x665e08(0x23c)],this[_0x665e08(0x216)]);_0x4951b6&&_0x5d5e01[_0x665e08(0x1e2)]>0x0?_0x32e1ae[_0x665e08(0x1df)]():(await this[_0x665e08(0x202)](_0x5d5e01),this[_0x665e08(0x1f3)](_0x5d5e01,_0x31b34d),this[_0x665e08(0x238)][_0x665e08(0x218)]());};return _0x32e1ae[_0x48543c(0x210)]?_0x40d865():new Promise((_0x1010ad,_0x889748)=>{const _0x4aed15=_0x48543c;_0x32e1ae[_0x4aed15(0x247)](_0x4aed15(0x1e7),()=>{const _0x3c33ec=_0x4aed15;_0x40d865()[_0x3c33ec(0x214)](_0x1010ad)[_0x3c33ec(0x23d)](_0x889748);});});}[_0x4e5b4c(0x1de)](){const _0x181b6c=_0x4e5b4c;super[_0x181b6c(0x1de)]();}async[_0x4e5b4c(0x20d)](){const _0x473ca5=_0x4e5b4c;this[_0x473ca5(0x230)][_0x473ca5(0x1f8)]||await new Promise(_0x39d59c=>{const _0x3d66f3=_0x473ca5;this[_0x3d66f3(0x217)](this[_0x3d66f3(0x230)],_0x3d66f3(0x1fd),_0x9df924=>{const _0x35f601=_0x3d66f3;_0x9df924[_0x35f601(0x232)](),_0x39d59c();});});}[_0x4e5b4c(0x23a)](){const _0x541538=_0x4e5b4c,_0x1161c4=this[_0x541538(0x22a)][_0x541538(0x1e0)][_0x541538(0x1e6)](_0x113924)[_0x541538(0x209)][_0x541538(0x20b)]()[_0x541538(0x229)]();for(const _0x87471e of _0x1161c4)if(_0x541538(0x21a)!==_0x87471e[_0x541538(0x244)]||_0x87471e[_0x541538(0x22c)])return _0x87471e[_0x541538(0x239)]+0x1;}[_0x4e5b4c(0x1f1)](){const _0x117563=_0x4e5b4c,_0x3ffee3=this[_0x117563(0x22a)][_0x117563(0x1e0)][_0x117563(0x1e6)](_0x113924);return new Promise(_0x1cf3d5=>{const _0x5badbe=_0x117563;_0x3ffee3[_0x5badbe(0x1e9)]?_0x3ffee3[_0x5badbe(0x247)](_0x5badbe(0x222),()=>{const _0x438615=_0x5badbe;_0x1cf3d5(this[_0x438615(0x23a)]());}):_0x1cf3d5(this[_0x5badbe(0x23a)]());});}[_0x4e5b4c(0x1f3)](_0x4a5926,_0x6bd52c){const _0x355443=_0x4e5b4c,_0x459369=this[_0x355443(0x238)][_0x355443(0x223)];this[_0x355443(0x216)]=_0x6bd52c;for(const _0x1892a9 of _0x4a5926){const _0x2823dc=_0x459369[_0x355443(0x21b)](_0x1892a9['id']);if(_0x2823dc){if((_0x1892a9[_0x355443(0x1f9)]||_0x1892a9[_0x355443(0x243)])&&(_0x1892a9[_0x355443(0x1ef)]=null),_0x2823dc===this[_0x355443(0x238)][_0x355443(0x21e)]){const _0x23aceb=Math[_0x355443(0x1f2)](_0x2823dc[_0x355443(0x243)],_0x1892a9[_0x355443(0x243)]),_0x4f53b3=Math[_0x355443(0x1f2)](_0x2823dc[_0x355443(0x1f9)],_0x1892a9[_0x355443(0x1f9)]);let _0x89df8;_0x2823dc[_0x355443(0x243)]===_0x1892a9[_0x355443(0x243)]&&_0x2823dc[_0x355443(0x1f9)]===_0x1892a9[_0x355443(0x1f9)]?(_0x89df8=!0x0,this[_0x355443(0x1db)](_0x1892a9)):_0x1892a9[_0x355443(0x243)]===_0x23aceb&&_0x1892a9[_0x355443(0x1f9)]===_0x4f53b3?_0x89df8=!0x1:(_0x2823dc[_0x355443(0x243)]===_0x23aceb&&_0x2823dc[_0x355443(0x1f9)]===_0x4f53b3||this[_0x355443(0x236)]({'revision':_0x2823dc,'from':_0x4f53b3,'to':_0x23aceb}),_0x89df8=!0x0),_0x89df8&&(delete _0x1892a9[_0x355443(0x1f9)],delete _0x1892a9[_0x355443(0x243)],delete _0x1892a9[_0x355443(0x1ef)],delete _0x1892a9[_0x355443(0x1fe)],delete _0x1892a9[_0x355443(0x1e3)]);}this[_0x355443(0x238)][_0x355443(0x234)](_0x1892a9),this[_0x355443(0x1db)](_0x1892a9);}else this[_0x355443(0x238)][_0x355443(0x1e4)](_0x1892a9);}const _0x1c39a1=_0x459369[_0x355443(0x1da)]();_0x1c39a1[_0x355443(0x229)]();for(let _0x44af13=0x0;_0x44af13<_0x1c39a1[_0x355443(0x1e2)]-0x1;_0x44af13++){const _0xf80a00=_0x1c39a1[_0x44af13],_0x5cf458=_0x1c39a1[_0x44af13+0x1];if(_0xf80a00[_0x355443(0x1f9)]<_0x5cf458[_0x355443(0x243)]){const _0x585abf=_0x5cf458[_0x355443(0x243)],_0x7022d8=Math[_0x355443(0x1f2)](_0x585abf,_0xf80a00[_0x355443(0x243)]);this[_0x355443(0x236)]({'revision':_0xf80a00,'from':_0x585abf,'to':_0x7022d8});}}}[_0x4e5b4c(0x236)]({revision:_0x4d7080,from:_0x20daf9,to:_0x2f48ea}={}){const _0x1013b7=_0x4e5b4c,_0x2befec=this[_0x1013b7(0x22a)][_0x1013b7(0x1e0)][_0x1013b7(0x1e6)](_0x2d4510),_0x2d52f4=this[_0x1013b7(0x238)][_0x1013b7(0x240)]({'revision':_0x4d7080,'from':_0x20daf9,'to':_0x2f48ea});_0x2d52f4[_0x1013b7(0x1d9)]=_0x2d52f4[_0x1013b7(0x1e3)][_0x1013b7(0x1e1)](_0x53d839=>_0x2befec[_0x1013b7(0x1fa)](_0x53d839)),_0x4d7080[_0x1013b7(0x246)](_0x2d52f4);}[_0x4e5b4c(0x1db)](_0x1c175e){const _0x14f447=_0x4e5b4c,_0x55a6d7={};_0x55a6d7['id']=_0x1c175e['id'];for(const _0x3f2ce2 of Object[_0x14f447(0x1f6)](_0x1c175e))'id'!==_0x3f2ce2&&(_0x55a6d7[_0x3f2ce2]=void 0x0);this[_0x14f447(0x238)][_0x14f447(0x227)](_0x55a6d7['id'],_0x55a6d7,!0x0);}async[_0x4e5b4c(0x202)](_0x585438){const _0x32eeb9=_0x4e5b4c,_0x568741=this[_0x32eeb9(0x22a)][_0x32eeb9(0x1e0)][_0x32eeb9(0x1e6)](_0x2d4510),{connection:_0x36561f}=this[_0x32eeb9(0x22a)][_0x32eeb9(0x1e0)][_0x32eeb9(0x1e6)](_0x1b944f),_0x4e74b8=new Set();for(const _0x9b9c6f of _0x585438){for(const _0x21ef0f of _0x9b9c6f[_0x32eeb9(0x1e3)])_0xa59cd1(_0x21ef0f);_0x9b9c6f[_0x32eeb9(0x220)]&&_0xa59cd1(_0x9b9c6f[_0x32eeb9(0x220)]);}if(0x0===_0x4e74b8[_0x32eeb9(0x21d)])return;const _0x2a9c6f=await _0x4359f4[_0x32eeb9(0x225)](_0x36561f,Array[_0x32eeb9(0x1fc)](_0x4e74b8));for(const _0x4e9a29 of _0x2a9c6f)_0x568741[_0x32eeb9(0x1fa)](_0x4e9a29['id'])||_0x568741[_0x32eeb9(0x221)](_0x4e9a29);function _0xa59cd1(_0x39f56a){const _0x409012=_0x32eeb9;_0x568741[_0x409012(0x1fa)](_0x39f56a)||_0x4e74b8[_0x409012(0x1ee)](_0x39f56a);}}}v[_0x4e5b4c(0x1dc)]=_0x3b7e63;export default v;function nt(_0x3fabb9){const _0xc8c6b9=_0x4e5b4c;return _0x3fabb9[_0xc8c6b9(0x235)][_0xc8c6b9(0x237)](_0xc8c6b9(0x1e8))||_0x3fabb9[_0xc8c6b9(0x235)][_0xc8c6b9(0x237)](_0xc8c6b9(0x1ec))||_0x3fabb9[_0xc8c6b9(0x235)][_0xc8c6b9(0x237)](_0xc8c6b9(0x23f));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4d94bb=_0x38cd;(function(_0x58a4e8,_0x1dbde0){var _0x15764e=_0x38cd,_0x494406=_0x58a4e8();while(!![]){try{var _0x184153=parseInt(_0x15764e(0x11c))/0x1+parseInt(_0x15764e(0x124))/0x2+parseInt(_0x15764e(0x125))/0x3+-parseInt(_0x15764e(0x128))/0x4*(parseInt(_0x15764e(0x11f))/0x5)+parseInt(_0x15764e(0x121))/0x6*(parseInt(_0x15764e(0x127))/0x7)+parseInt(_0x15764e(0x120))/0x8*(-parseInt(_0x15764e(0x123))/0x9)+-parseInt(_0x15764e(0x11e))/0xa;if(_0x184153===_0x1dbde0)break;else _0x494406['push'](_0x494406['shift']());}catch(_0x2b0e61){_0x494406['push'](_0x494406['shift']());}}}(_0x467e,0xa5354));import{Plugin as _0x3c1fa7}from'ckeditor5/src/core.js';import _0x3a86b2 from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import _0xb8bc2e from'./realtimecollaborativeediting.js';export default class d extends _0x3c1fa7{static get[_0x4d94bb(0x11b)](){var _0x50b1a3=_0x4d94bb;return[_0x50b1a3(0x122),_0x3a86b2,_0xb8bc2e];}static get[_0x4d94bb(0x11d)](){var _0x1d601b=_0x4d94bb;return _0x1d601b(0x126);}}function _0x38cd(_0x55c1e1,_0x4ad321){var _0x467ec=_0x467e();return _0x38cd=function(_0x38cd1f,_0x549db2){_0x38cd1f=_0x38cd1f-0x11b;var _0x29fc22=_0x467ec[_0x38cd1f];return _0x29fc22;},_0x38cd(_0x55c1e1,_0x4ad321);}function _0x467e(){var _0x35314f=['RevisionHistory','1224xwjVVw','1900708AHUfqR','2851473rIfOWt','RealTimeCollaborativeRevisionHistory','294fbLfqi','2597828VOMRcS','requires','1343924ewKIQQ','pluginName','16165180xFxuGM','5EGzpPZ','46264eWCcIP','69198NxAHMg'];_0x467e=function(){return _0x35314f;};return _0x467e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x4bed2b=_0x2b48;(function(_0xb2bd3b,_0x5c6f81){const _0x549fb4=_0x2b48,_0x5eac1c=_0xb2bd3b();while(!![]){try{const _0x3fc1bd=-parseInt(_0x549fb4(0xd7))/0x1+-parseInt(_0x549fb4(0xc9))/0x2+parseInt(_0x549fb4(0xf9))/0x3*(parseInt(_0x549fb4(0xc5))/0x4)+-parseInt(_0x549fb4(0xd4))/0x5+-parseInt(_0x549fb4(0xec))/0x6+-parseInt(_0x549fb4(0xeb))/0x7+parseInt(_0x549fb4(0xca))/0x8*(parseInt(_0x549fb4(0xe7))/0x9);if(_0x3fc1bd===_0x5c6f81)break;else _0x5eac1c['push'](_0x5eac1c['shift']());}catch(_0x320581){_0x5eac1c['push'](_0x5eac1c['shift']());}}}(_0x5ea7,0xb1951));import{Plugin as _0x1faad9}from'ckeditor5/src/core.js';function _0x2b48(_0x49b690,_0x3206b7){const _0x5ea74c=_0x5ea7();return _0x2b48=function(_0x2b48a6,_0x4eb0e2){_0x2b48a6=_0x2b48a6-0xc3;let _0x278ee7=_0x5ea74c[_0x2b48a6];return _0x278ee7;},_0x2b48(_0x49b690,_0x3206b7);}import{User as _0xd1997c,TrackChangesService as _0x34d210}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x2ce6c2 from'../realtimecollaborativeediting/websocketgateway.js';function _0x5ea7(){const _0x329575=['TrackChangesService','hasSuggestion','3145900ksMlKo','connect','plugins','177923tAvpjq','message','isConnected','cloud-services-internal-error:\x20Request\x20timeout.','reconnect','adapter','_fetchMissingUsersForThreads','get','listenTo','TrackChangesEditing','startsWith','cloud-services-internal-error:\x20Not\x20connected.','connected','init','suggestionUpdated','set','702171GpZPPF','size','data','collaboration.channelId','3151316zRyzqo','6030126lCZjFO','from','attributes','config','requires','connection','getSuggestion','addSuggestionData','type','catch','getMany','editor','_waitForServiceReady','4307379QPOdZV','_saved','delete','then','_bufferedRequests','addToReconnectionStack','originalSuggestionId','4dgjcFE','off','update','state','793158BZRTYd','200lpumCp','add','_trackChangesService','open','getUser','addUser','find','values'];_0x5ea7=function(){return _0x329575;};return _0x5ea7();}import _0x55d5cc from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x438f1d}from'ckeditor5-collaboration/src/collaboration-core.js';class g extends _0x1faad9{static get[_0x4bed2b(0xf0)](){const _0x41e37d=_0x4bed2b;return[_0x55d5cc,_0x41e37d(0xe0),_0x2ce6c2];}constructor(_0x5a9bc0){const _0x8c021e=_0x4bed2b;super(_0x5a9bc0);const _0x5753d6=this[_0x8c021e(0xf7)][_0x8c021e(0xef)][_0x8c021e(0xde)](_0x8c021e(0xea));this[_0x8c021e(0xfd)]=new Map(),this[_0x8c021e(0xcc)]=new g[(_0x8c021e(0xd2))](_0x5753d6);}[_0x4bed2b(0xe4)](){const _0x194827=_0x4bed2b,_0x522971=this[_0x194827(0xf7)][_0x194827(0xd6)][_0x194827(0xde)](_0x2ce6c2),_0x11a1d1=this[_0x194827(0xf7)][_0x194827(0xd6)][_0x194827(0xde)](_0x194827(0xe0));return _0x11a1d1[_0x194827(0xdc)]={'getSuggestion':async _0xb1706f=>{const _0x15dcea=_0x194827;await this[_0x15dcea(0xf8)]();const _0x2eb806=await this[_0x15dcea(0xcc)][_0x15dcea(0xde)](_0xb1706f)[_0x15dcea(0xf5)](w);return await this[_0x15dcea(0xdd)]([_0x2eb806]),_0x2eb806;},'addSuggestion':async({id:_0x429607,type:_0x44938c,data:_0x37c65f,originalSuggestionId:_0x2381ab,attributes:_0x24dc03})=>{const _0x57a173=_0x194827;await this[_0x57a173(0xf8)]();const _0x39efd5={'id':_0x429607,'type':_0x44938c,'data':_0x37c65f,'originalSuggestionId':_0x2381ab,'attributes':_0x24dc03},_0x4cae6f=await this[_0x57a173(0xcc)][_0x57a173(0xcb)](_0x429607,_0x44938c,_0x37c65f,_0x2381ab,_0x24dc03)[_0x57a173(0xf5)](_0x5d33f7=>{if(nt(_0x5d33f7))return new Promise(_0x57c24b=>{const _0x296c92=_0x2b48;this[_0x296c92(0xfd)][_0x296c92(0xe6)](_0x429607,{'resolve':_0x57c24b,'suggestionData':_0x39efd5});});throw _0x5d33f7;});return this[_0x57a173(0xfd)][_0x57a173(0xfb)](_0x429607),_0x4cae6f;},'updateSuggestion':async(_0x2ca466,_0x632ab5)=>{const _0x45f1b1=_0x194827;if(await this[_0x45f1b1(0xf8)](),_0x45f1b1(0xcd)!==_0x632ab5[_0x45f1b1(0xc8)])return this[_0x45f1b1(0xcc)][_0x45f1b1(0xc7)](_0x2ca466,_0x632ab5)[_0x45f1b1(0xf5)](w);}},this[_0x194827(0xdf)](this[_0x194827(0xcc)],_0x194827(0xe5),(_0x3aae65,_0x30079e)=>{const _0x2ac616=_0x194827;_0x11a1d1[_0x2ac616(0xd3)](_0x30079e['id'])&&(_0x11a1d1[_0x2ac616(0xf2)](_0x30079e['id'])[_0x2ac616(0xee)]=_0x30079e[_0x2ac616(0xee)]);}),this[_0x194827(0xcc)][_0x194827(0xd5)](_0x522971[_0x194827(0xf1)])[_0x194827(0xfc)](_0x18040f=>(_0x522971[_0x194827(0xc3)](this),this[_0x194827(0xdd)](_0x18040f)[_0x194827(0xfc)](()=>{const _0x164ff6=_0x194827;for(const _0x904893 of _0x18040f){_0x11a1d1[_0x164ff6(0xf3)](_0x904893)[_0x164ff6(0xfa)]=!0x0;}})));}async[_0x4bed2b(0xdb)](){const _0x46ef5f=_0x4bed2b,_0x1d0b2f=this[_0x46ef5f(0xf7)][_0x46ef5f(0xd6)][_0x46ef5f(0xde)](_0x46ef5f(0xe0)),{connection:_0x204a0c}=this[_0x46ef5f(0xf7)][_0x46ef5f(0xd6)][_0x46ef5f(0xde)](_0x2ce6c2),_0x1b74dc=await this[_0x46ef5f(0xcc)][_0x46ef5f(0xd5)](_0x204a0c);await this[_0x46ef5f(0xdd)](_0x1b74dc);for(const {suggestionData:_0x5eb047,resolve:_0x2f71bc}of this[_0x46ef5f(0xfd)][_0x46ef5f(0xd1)]()){let _0xdf217a=_0x1b74dc[_0x46ef5f(0xd0)](_0xd451f4=>_0xd451f4['id']===_0x5eb047['id']);_0xdf217a||(_0xdf217a=await this[_0x46ef5f(0xcc)][_0x46ef5f(0xcb)](_0x5eb047['id'],_0x5eb047[_0x46ef5f(0xf4)],_0x5eb047[_0x46ef5f(0xe9)],_0x5eb047[_0x46ef5f(0xc4)])),_0x2f71bc(_0xdf217a);}for(const _0xa4b47b of _0x1b74dc)_0x1d0b2f[_0x46ef5f(0xd3)](_0xa4b47b['id'])||_0x1d0b2f[_0x46ef5f(0xf3)](_0xa4b47b);}async[_0x4bed2b(0xf8)](){const _0x4bd5ff=_0x4bed2b;this[_0x4bd5ff(0xcc)][_0x4bd5ff(0xd9)]||await new Promise(_0x3afc02=>{const _0x4a63e2=_0x4bd5ff;this[_0x4a63e2(0xdf)](this[_0x4a63e2(0xcc)],_0x4a63e2(0xe3),_0x16cf24=>{const _0x59e282=_0x4a63e2;_0x16cf24[_0x59e282(0xc6)](),_0x3afc02();});});}async[_0x4bed2b(0xdd)](_0x1da920){const _0x40d93f=_0x4bed2b,_0x8f64bd=this[_0x40d93f(0xf7)][_0x40d93f(0xd6)][_0x40d93f(0xde)](_0x438f1d),{connection:_0x1ad16c}=this[_0x40d93f(0xf7)][_0x40d93f(0xd6)][_0x40d93f(0xde)](_0x2ce6c2),_0x4b78d7=new Set();for(const {authorId:_0x42cd2f}of _0x1da920)_0x8f64bd[_0x40d93f(0xce)](_0x42cd2f)||_0x4b78d7[_0x40d93f(0xcb)](_0x42cd2f);if(0x0===_0x4b78d7[_0x40d93f(0xe8)])return;const _0x5b5deb=await _0xd1997c[_0x40d93f(0xf6)](_0x1ad16c,Array[_0x40d93f(0xed)](_0x4b78d7));for(const _0x477603 of _0x5b5deb)_0x8f64bd[_0x40d93f(0xce)](_0x477603['id'])||_0x8f64bd[_0x40d93f(0xcf)](_0x477603);}}g[_0x4bed2b(0xd2)]=_0x34d210;export default g;function w(_0x2e3175){if(nt(_0x2e3175))return new Promise(()=>{});throw _0x2e3175;}function nt(_0x292a55){const _0x5cb5f3=_0x4bed2b;return _0x292a55[_0x5cb5f3(0xd8)][_0x5cb5f3(0xe1)](_0x5cb5f3(0xe2))||_0x292a55[_0x5cb5f3(0xd8)][_0x5cb5f3(0xe1)](_0x5cb5f3(0xda));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3f4ece=_0x3791;function _0x69bf(){var _0x172440=['130382CEcUeW','pluginName','2506104EHrBxn','51341059jcvCiG','298550bajmbC','10FOdPno','4GDVeYW','TrackChanges','12nCGvUF','13377303GhmJDE','requires','97081fRWyhD','80fJNWSz','2308791SgTyWW','RealTimeCollaborativeTrackChanges'];_0x69bf=function(){return _0x172440;};return _0x69bf();}(function(_0x2da2fb,_0x532b49){var _0x5c8a1d=_0x3791,_0x1f6ac4=_0x2da2fb();while(!![]){try{var _0x3d51f2=-parseInt(_0x5c8a1d(0x8b))/0x1+-parseInt(_0x5c8a1d(0x82))/0x2+-parseInt(_0x5c8a1d(0x8d))/0x3*(parseInt(_0x5c8a1d(0x86))/0x4)+parseInt(_0x5c8a1d(0x84))/0x5*(-parseInt(_0x5c8a1d(0x88))/0x6)+parseInt(_0x5c8a1d(0x80))/0x7*(-parseInt(_0x5c8a1d(0x8c))/0x8)+-parseInt(_0x5c8a1d(0x89))/0x9*(parseInt(_0x5c8a1d(0x85))/0xa)+parseInt(_0x5c8a1d(0x83))/0xb;if(_0x3d51f2===_0x532b49)break;else _0x1f6ac4['push'](_0x1f6ac4['shift']());}catch(_0x4fe3af){_0x1f6ac4['push'](_0x1f6ac4['shift']());}}}(_0x69bf,0xb8788));import{Plugin as _0x1cd74c}from'ckeditor5/src/core.js';import _0x109820 from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';function _0x3791(_0x3908a1,_0x59d9fd){var _0x69bf34=_0x69bf();return _0x3791=function(_0x3791ce,_0x35d303){_0x3791ce=_0x3791ce-0x7f;var _0x2b6f78=_0x69bf34[_0x3791ce];return _0x2b6f78;},_0x3791(_0x3908a1,_0x59d9fd);}import _0x10b447 from'./realtimecollaborativecomments.js';export default class p extends _0x1cd74c{static get[_0x3f4ece(0x8a)](){var _0x340b2e=_0x3f4ece;return[_0x10b447,_0x109820,_0x340b2e(0x87)];}static get[_0x3f4ece(0x81)](){var _0x168477=_0x3f4ece;return _0x168477(0x7f);}}
|