@ckeditor/ckeditor5-real-time-collaboration 41.1.0 → 41.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/build/real-time-collaboration.js +1 -1
  2. package/build/translations/he.js +1 -1
  3. package/lang/translations/he.po +1 -2
  4. package/package.json +5 -5
  5. package/src/augmentation.js +1 -1
  6. package/src/common-translations.js +1 -1
  7. package/src/index.js +1 -1
  8. package/src/presencelist/presencelistui.d.ts +1 -1
  9. package/src/presencelist/presencelistui.js +1 -1
  10. package/src/presencelist/view/presencecounterview.js +1 -1
  11. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  12. package/src/presencelist/view/presencedropdownlistview.d.ts +1 -1
  13. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  14. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  15. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  16. package/src/presencelist/view/presencelistview.js +1 -1
  17. package/src/presencelist.js +1 -1
  18. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
  19. package/src/realtimecollaborativecomments.js +1 -1
  20. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
  21. package/src/realtimecollaborativeediting/sessions.js +1 -1
  22. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  23. package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
  24. package/src/realtimecollaborativeediting.js +1 -1
  25. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
  26. package/src/realtimecollaborativerevisionhistory.js +1 -1
  27. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
  28. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22d8=['disconnect','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.','affectedSelectable','lastOperationId','cs:removeUser','plugins','filter','sessionId','length','add','sendOperations','version','realtimecollaborationclient-init-document-already-initialized','parse','removeFromReconnectionStack','_shouldSendUpdate','_channelId','stop','PENDING_ACTION_SENDING_DATA','_saveOperationInBuffer','pluginName','map','userId','createRoot','_currentBufferDelay','getOperationAuthor','init','createPositionAt','type','connection','loadRoot','addRootAttribute','applyOperation','$root','409','forEach','baseVersion','push','change:hasDomSelection','_lastSyncedOperationId','_handleServerResponse','_handleInitialConnectionData','InsertOperation','isDocumentOperation','batch','editor','_pendingAction','multi-root-editor-root-attributes-no-root','_handleSendingSelectionMarkers','_isPendingUpdate','serverHistory','_baseBufferDelay','_service','editing','_authorId','state','_disconnectService','getDocumentDetails','_operationIdentifier','connect','_knownOperations','Notification','message','_waitUntilSynced','selection','getUser','_connectService','_knownRootNames','set','_hasSynchronizationProblem','reconnect','_setPendingAction','getConnectedSessions','_sendBufferedOperationsDelayed','data','keys','_handleReconnectionError','bind','_lastServerVersion','collaboration','error','RealTimeCollaborationClient','disableReadOnlyMode','realtimecollaborationclient-initservice-internal-error','newRange','_ignoredOperations','404','_handleReconnectionResponse','document','CollaborativeEditingService','start','getOperations','_applyOperationsSet','_updateServerHistory','lastSyncVersion','channelSessions','createdAt','collaboration-missing-channelid','change:range','insert','get','realtimecollaborationclient-sendbufferedoperations','toJSON','realtimecollaborationclient-handleserverresponse','createRange','directChange','getIdOfTheLastOperation','entries','apply','_disconnectionOperations','roots','_getAffectedRoot','realtimecollaborationclient-init-session-connection-error','unregister','offset','_handleReceivedOperations','_fetchMissingUsers','cloudDocumentVersion','config','_sendBufferedOperations','_initSessionsHandling','metadata','targetPosition','differ','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','addUser','real-time-collaboration','addOperation','history','_hasSelectionChanged','_decompressOperations','startsWith','_bufferRootLoad','_addKnownRoot','CommentsOnly','_sendBufferedOperationsDelayId','remove','_getOperationsFromInitData','decompress','_shouldSendSelectionUpdate','_isConnected','_compressOperations','enqueueChange','sessionCreatedAt','currentDocumentSession','getMany','code','locale','mySessionId','position','rootsAttributes','size','fromJSON','Permissions','lastDocumentSession','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','createUserMarkerOperations','model','collaboration.channelId','markers','catch','return','has','cloud-services-internal-error:\x20Not\x20connected.','createPositionFromPath','setIdForTheLastOperation','_handleExternalOperations','clone','high','showWarning','lastOperationAcceptedAt','wereChangesApplied','view','change:_isEditingAllowed','then','includes','isUndoneOperation','_isAttached','_document','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','attributes','root','getRoot','listenTo','connected','affectsData','enableReadOnlyMode','_isDisconnection','_refreshUserSelectionMarkers','_initThrowingOnDataSet','_crash','reconnection:\x20flushed\x20session','isEnabled','_connectAfterSessionHasBeenFlushed','_setUpDataInit','_isLoaded','_isEditingAllowed','_operationToId','disconnected','initData','marker','slice','_compressor','rtc-offline','move','round','sessionAdd:','compress','_isInit','off','_clearPendingAction','realtimecollaborationclient-initservice-incorrect-server-operation','_offset','permissions','_loadRoot','_bufferedOperations','wasUndone','addRoot','from','destroy'];(function(_0x3428d6,_0x22d82f){const _0x19d536=function(_0x1002aa){while(--_0x1002aa){_0x3428d6['push'](_0x3428d6['shift']());}};_0x19d536(++_0x22d82f);}(_0x22d8,0x13f));const _0x19d5=function(_0x3428d6,_0x22d82f){_0x3428d6=_0x3428d6-0x0;let _0x19d536=_0x22d8[_0x3428d6];return _0x19d536;};import{Plugin as _0xfa688c,PendingActions as _0x4f21f9}from'ckeditor5/src/core.js';import{CKEditorError as _0x30499d,version as _0x29e26f,uid as _0x3d16cc}from'ckeditor5/src/utils.js';import{Notification as _0x2fc7be}from'ckeditor5/src/ui.js';import{transformSets as _0x273c3a,NoOperation as _0x3ab651,InsertOperation as _0x38a934,MarkerOperation as _0x5efde6,RootAttributeOperation as _0x241ec0,OperationFactory as _0xd910f,History as _0x1463c3}from'ckeditor5/src/engine.js';import _0x397623 from'./websocketgateway.js';import _0x405fd9 from'./sessions.js';import _0xa19443 from'./usermarkers.js';import{getTranslation as _0x197089}from'../common-translations.js';import _0x55b287 from'@ckeditor/ckeditor5-operations-compressor/src/compressor.js';import{Users as _0x3d9515}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x54e99d}from'@ckeditor/ckeditor-cloud-services-collaboration';import{CollaborativeEditingService as _0x53c4de}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0xfa688c{static get['requires'](){return[_0x397623,_0x405fd9,_0xa19443,_0x4f21f9,_0x3d9515,_0x2fc7be];}static get[_0x19d5('0x8d')](){return _0x19d5('0xca');}get[_0x19d5('0x12')](){return this[_0x19d5('0xc7')]+this[_0x19d5('0x71')];}get[_0x19d5('0xc7')](){return this[_0x19d5('0xab')][_0x19d5('0x84')]-this[_0x19d5('0x71')];}get[_0x19d5('0xd7')](){const _0x180415=this[_0x19d5('0xab')][_0x19d5('0xd4')]();for(let _0x1982f3=_0x180415['length']-0x1;_0x1982f3>=0x0;_0x1982f3--){const _0x5a47e8=_0x180415[_0x1982f3];if(!this[_0x19d5('0xa')][_0x19d5('0x3f')](_0x5a47e8))return _0x5a47e8[_0x19d5('0x9d')]+0x1-this[_0x19d5('0x71')];}return 0x0;}constructor(_0x504d4f){if(super(_0x504d4f),this['_offset']=0x0,this[_0x19d5('0x80')]=null,this[_0x19d5('0xab')]=new _0x1463c3(),this[_0x19d5('0xa6')][_0x19d5('0x13')]['define'](_0x19d5('0xc8'),{}),this['_channelId']=this[_0x19d5('0xa6')][_0x19d5('0x13')]['get'](_0x19d5('0x3b')),!this['_channelId'])throw new _0x30499d(_0x19d5('0xda'),this);const _0x2968fe=_0x504d4f[_0x19d5('0x13')][_0x19d5('0x1')]('cloudServices.bundleVersion')||_0x29e26f;this[_0x19d5('0xad')]=new l[(_0x19d5('0xd2'))](_0x2968fe,this[_0x19d5('0x89')]),this[_0x19d5('0x4f')]=this['editor'][_0x19d5('0x3a')][_0x19d5('0xd1')],this['_compressor']=new _0x55b287(),this[_0x19d5('0x74')]=[],this['_knownOperations']=new WeakSet(),this[_0x19d5('0xbc')]=new Set(),this[_0x19d5('0xbd')](_0x19d5('0xaa'),!0x1),this[_0x19d5('0xbd')](_0x19d5('0xbe'),!0x1),this[_0x19d5('0xa7')]=null,this[_0x19d5('0x1e')]=!0x1,this[_0x19d5('0x24')]=null,this[_0x19d5('0xac')]=0x12c,this[_0x19d5('0x91')]=this[_0x19d5('0xac')],this[_0x19d5('0xa0')]=null,this[_0x19d5('0xa')]=new WeakSet(),this[_0x19d5('0xb3')]=new X(this[_0x19d5('0xa')]);}[_0x19d5('0x93')](){const _0xee374d=this[_0x19d5('0xa6')],_0x110a5f=_0xee374d[_0x19d5('0x7e')][_0x19d5('0x1')](_0x3d9515),_0x226df7=_0xee374d[_0x19d5('0x7e')]['get'](_0x397623);this[_0x19d5('0x54')](_0x110a5f,_0x19d5('0x92'),(_0x39609d,_0x5ad908)=>{const _0x51b35c=_0x5ad908[0x0];_0x51b35c[_0x19d5('0xaf')]&&(_0x39609d[_0x19d5('0x3e')]=_0x110a5f[_0x19d5('0xba')](_0x51b35c[_0x19d5('0xaf')]),_0x39609d[_0x19d5('0x8a')]()),null===_0x51b35c[_0x19d5('0xaf')]&&(_0x39609d[_0x19d5('0x3e')]=null,_0x39609d['stop']());},{'priority':'high'}),this[_0x19d5('0x54')](_0xee374d[_0x19d5('0x3a')][_0x19d5('0xd1')][_0x19d5('0xb9')],_0x19d5('0xdb'),(_0x1b2a9b,_0x1e0ff8)=>{_0x1e0ff8[_0x19d5('0x6')]&&this['_refreshUserSelectionMarkers']();}),this[_0x19d5('0x54')](_0xee374d[_0x19d5('0xae')][_0x19d5('0x49')],_0x19d5('0x9f'),()=>{this[_0x19d5('0x59')]();}),this[_0x19d5('0x5a')](),_0xee374d[_0x19d5('0x3a')]['on'](_0x19d5('0x99'),(_0x15719d,_0x20d575)=>{const _0x577ee0=_0x20d575[0x0];_0x577ee0[_0x19d5('0xa4')]&&(this[_0x19d5('0x8c')](_0x577ee0),this[_0x19d5('0x88')]()&&this[_0x19d5('0xc2')]());}),this[_0x19d5('0x5f')](),this[_0x19d5('0xc6')](_0x19d5('0x61'))['to'](_0x226df7,_0x19d5('0xb0'),this,_0x19d5('0xbe'),(_0x397e4d,_0x5d1d30)=>_0x19d5('0x55')===_0x397e4d&&!_0x5d1d30),this['on'](_0x19d5('0x4a'),()=>{this[_0x19d5('0x61')]?_0xee374d[_0x19d5('0xcb')](_0x19d5('0x68')):_0xee374d['enableReadOnlyMode'](_0x19d5('0x68'));}),this['_isEditingAllowed']?_0xee374d[_0x19d5('0xcb')]('rtc-offline'):_0xee374d[_0x19d5('0x57')]('rtc-offline'),this[_0x19d5('0xbd')](_0x19d5('0x29'),!0x1);}async[_0x19d5('0xbf')](){const _0x5b3dbd=this[_0x19d5('0xa6')][_0x19d5('0x7e')][_0x19d5('0x1')](_0x405fd9),_0x5a41c0=this['editor']['plugins'][_0x19d5('0x1')](_0x397623);try{this['_isPendingUpdate']=!0x0,_0x5b3dbd['unregister'](this[_0x19d5('0x89')]);const _0x3287f7=await this[_0x19d5('0xad')][_0x19d5('0xbf')](_0x5a41c0[_0x19d5('0x96')],this[_0x19d5('0xd7')]);await this[_0x19d5('0xd0')](_0x3287f7)&&(this['_isPendingUpdate']=!0x1,this[_0x19d5('0x6f')]());const _0x543414=await this[_0x19d5('0xad')][_0x19d5('0xc1')]();_0x5b3dbd['register'](this[_0x19d5('0x89')],_0x543414),this[_0x19d5('0xa9')](),this['_isConnected']=!0x0;}catch(_0xd211a3){if(function(_0x325e34){return _0x19d5('0xcf')===_0x325e34['code'];}(_0xd211a3)&&this[_0x19d5('0x80')])await this[_0x19d5('0x5e')]();else{if(function(_0x41cdd9){return _0x19d5('0x9b')===_0x41cdd9[_0x19d5('0x2f')];}(_0xd211a3)){const _0x4094fd=_0x197089(this[_0x19d5('0xa6')]['locale'],_0x19d5('0x50'));this[_0x19d5('0xc5')](_0x4094fd);}else{if(!(_0xd211a3 instanceof J))throw _0xd211a3;this[_0x19d5('0xc5')]();}}}}['destroy'](){const _0x2ce7b2=this[_0x19d5('0xa6')]['plugins']['get'](_0x397623),_0x4a7893=this[_0x19d5('0xa6')][_0x19d5('0x7e')]['get'](_0x405fd9);this[_0x19d5('0xa6')][_0x19d5('0x57')]('rtc-destroyed'),_0x4a7893[_0x19d5('0xd8')][_0x19d5('0x3f')](this[_0x19d5('0x89')])&&_0x4a7893[_0x19d5('0xe')](this[_0x19d5('0x89')]),_0x2ce7b2[_0x19d5('0x87')](this),this[_0x19d5('0xb1')](),super[_0x19d5('0x78')]();}async['_handleReconnectionResponse'](_0x188460){if(this['sessionId']!==_0x188460['sessionId']&&this[_0x19d5('0xa0')]!==_0x188460[_0x19d5('0x7c')])throw new J();return this[_0x19d5('0x80')]=_0x188460['sessionId'],this[_0x19d5('0xa1')]([],{..._0x188460,'wereChangesApplied':!0x1,'data':_0x188460['data']},_0x19d5('0xbf'));}async[_0x19d5('0xbb')](_0x48f7f8,_0xbed3e0=!0x1){const {connection:_0x24273c}=this[_0x19d5('0xa6')][_0x19d5('0x7e')][_0x19d5('0x1')](_0x397623);l['CollaborativeEditingService'][_0x19d5('0xc1')](_0x24273c,this['_channelId'])[_0x19d5('0x4b')](_0xd95c01=>this['_initSessionsHandling'](_0xd95c01))[_0x19d5('0x3d')](_0x4a21e2=>{this[_0x19d5('0x5b')](_0x19d5('0xd'),_0x4a21e2);}),this[_0x19d5('0x54')](this[_0x19d5('0xad')],'operationsReceived',this[_0x19d5('0x10')][_0x19d5('0xc6')](this)),this[_0x19d5('0x54')](this[_0x19d5('0xad')],_0x19d5('0xc9'),(_0x14d9fb,_0x102f4b)=>{this[_0x19d5('0x5b')](_0x19d5('0xcc'),_0x102f4b);}),this[_0x19d5('0x54')](this[_0x19d5('0xad')],_0x19d5('0x63'),()=>{this[_0x19d5('0x29')]=!0x1;});const _0x29b46f=this['_operationIdentifier'][_0x19d5('0x7')](_0x48f7f8);this['_isPendingUpdate']=!0x0;const _0x43b88d=await this[_0x19d5('0xad')][_0x19d5('0xb4')](_0x24273c,this[_0x19d5('0x2a')](_0x48f7f8),_0x29b46f);if(this[_0x19d5('0x80')]=_0x43b88d[_0x19d5('0x80')],_0xbed3e0){if(!_0x43b88d['wereChangesApplied'])return void this[_0x19d5('0xc5')]();this['_isPendingUpdate']=!0x1,this[_0x19d5('0x6f')](),this[_0x19d5('0xab')]['reset'](),this[_0x19d5('0x71')]=_0x43b88d['offset'],this[_0x19d5('0xab')][_0x19d5('0x84')]=this[_0x19d5('0x71')],await this['_handleServerResponse'](_0x48f7f8,_0x43b88d,_0x19d5('0x5c'));}else await this[_0x19d5('0xa2')](_0x43b88d,_0x48f7f8);this['_handleSendingSelectionMarkers'](),this[_0x19d5('0x29')]=!0x0;}['_handleSendingSelectionMarkers'](){const _0x3fdf90=this['editor']['plugins'][_0x19d5('0x1')](_0x405fd9),_0x1ed06e=this[_0x19d5('0xa6')][_0x19d5('0x7e')]['get'](_0xa19443),_0x3f8d52=_0x3fdf90[_0x19d5('0xd8')][_0x19d5('0x1')](this['_channelId']);_0x3f8d52&&_0x3f8d52['length']>0x1?_0x1ed06e['createUserMarkerOperations']():this[_0x19d5('0x54')](_0x3fdf90,_0x19d5('0x6b')+this['_channelId'],()=>{0x2===_0x3fdf90['channelSessions'][_0x19d5('0x1')](this[_0x19d5('0x89')])[_0x19d5('0x81')]&&_0x1ed06e[_0x19d5('0x39')]();});}async[_0x19d5('0x10')](_0x323d39,_0x4dc630,_0x3e2bd5,_0x3d005f){if(!this[_0x19d5('0xaa')]&&this[_0x19d5('0x4f')][_0x19d5('0x84')]==_0x4dc630){const _0x3d176e=this[_0x19d5('0x1f')](_0x3e2bd5,_0x3d005f);await this[_0x19d5('0x11')](_0x3d176e),this[_0x19d5('0x43')](_0x3d176e,_0x4dc630,_0x3e2bd5[_0x19d5('0x7c')])||this[_0x19d5('0x5b')](_0x19d5('0x70'));}}async[_0x19d5('0x5e')](){this['_disconnectService']();const {locale:_0xa4d253}=this['editor'];let _0x2ef343;try{_0x2ef343=await this[_0x19d5('0xad')][_0x19d5('0xb2')]();}catch(_0x4ed5ca){const _0x5834a1=_0x197089(_0xa4d253,'The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');return void this[_0x19d5('0xc5')](_0x5834a1);}const _0xc64286=_0x2ef343[_0x19d5('0x2d')]||_0x2ef343[_0x19d5('0x37')];if(this['_lastSyncedOperationId']===_0xc64286['lastOperationId'])await this[_0x19d5('0xbb')](this[_0x19d5('0xa6')][_0x19d5('0x3a')]['document'][_0x19d5('0x1d')][_0x19d5('0xd4')](),!0x0);else{const _0x216f45=_0x197089(_0xa4d253,'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.');this[_0x19d5('0xc5')](_0x216f45);}}[_0x19d5('0xb1')](){this[_0x19d5('0xad')][_0x19d5('0x79')](),this[_0x19d5('0x74')]=[],clearTimeout(this[_0x19d5('0x24')]),this['stopListening'](this[_0x19d5('0xad')]);}[_0x19d5('0x15')](_0x33ca90){const _0x3db480=this[_0x19d5('0xa6')][_0x19d5('0x7e')][_0x19d5('0x1')](_0x405fd9);this[_0x19d5('0x54')](_0x3db480,'sessionAdd:'+this[_0x19d5('0x89')],(_0x57e5f9,{session:_0x39c85f})=>{if(_0x39c85f['id']===_0x3db480[_0x19d5('0x31')]){_0x57e5f9[_0x19d5('0x6e')]();const _0x8d69c5=this['editor'][_0x19d5('0x7e')][_0x19d5('0x3f')]('CommentsOnly')&&this[_0x19d5('0xa6')]['plugins'][_0x19d5('0x1')](_0x19d5('0x23'));let _0x588911=_0x39c85f[_0x19d5('0x72')];_0x8d69c5&&_0x8d69c5[_0x19d5('0x5d')]&&(_0x588911=_0x588911['filter'](_0x21792c=>'document:write'!==_0x21792c)),this[_0x19d5('0xa6')][_0x19d5('0x7e')][_0x19d5('0x1')](_0x19d5('0x36'))['setPermissions'](_0x588911,this[_0x19d5('0x89')]);}}),_0x3db480['register'](this[_0x19d5('0x89')],_0x33ca90);}['_initThrowingOnDataSet'](){const _0x2a4639=this[_0x19d5('0xa6')][_0x19d5('0xc3')][_0x19d5('0xbd')];this[_0x19d5('0xa6')][_0x19d5('0xc3')][_0x19d5('0xbd')]=(..._0x55d8a3)=>{if(!_0x55d8a3[_0x55d8a3[_0x19d5('0x81')]-0x1]['suppressErrorInCollaboration'])throw new _0x30499d(_0x19d5('0x38'),this);_0x2a4639[_0x19d5('0x9')](this['editor'][_0x19d5('0xc3')],_0x55d8a3);};}[_0x19d5('0x5f')](){this[_0x19d5('0xa6')]['data']['on'](_0x19d5('0x93'),(_0x4f0e5f,[_0x197122])=>{if(this['_document'][_0x19d5('0x84')])throw new _0x30499d(_0x19d5('0x85'),this);_0x4f0e5f[_0x19d5('0x8a')](),this[_0x19d5('0xc0')]();const _0x5ebc38=this['editor'][_0x19d5('0x13')]['get'](_0x19d5('0x33')),_0xc266c3=this['_getOperationsFromInitData'](_0x197122,_0x5ebc38);0x0==_0xc266c3['length']&&_0xc266c3[_0x19d5('0x9e')](new _0x3ab651(0x0)),_0x4f0e5f[_0x19d5('0x3e')]=this[_0x19d5('0xbb')](_0xc266c3)['then'](()=>{this[_0x19d5('0xa6')]['plugins'][_0x19d5('0x1')](_0x397623)['addToReconnectionStack'](this),this[_0x19d5('0xa6')][_0x19d5('0xc3')]['fire']('ready');})[_0x19d5('0x3d')](_0x3a0a67=>this[_0x19d5('0x5b')]('realtimecollaborationclient-init-connection-failed',_0x3a0a67))['finally'](()=>this[_0x19d5('0x6f')]());},{'priority':_0x19d5('0x45')}),this[_0x19d5('0xa6')]['on'](_0x19d5('0x97'),async(_0x3cfe55,[_0x1756b1,_0x33a87f])=>{_0x3cfe55[_0x19d5('0x8a')]();const _0x340eb9=this[_0x19d5('0xa6')][_0x19d5('0x3a')][_0x19d5('0xd1')][_0x19d5('0x53')](_0x1756b1);if(!this[_0x19d5('0xbc')]['has'](_0x1756b1)){const _0xfb8913=_0x33a87f&&_0x33a87f[_0x19d5('0xc3')]?_0x33a87f[_0x19d5('0xc3')]:'',_0xb9cb3c=_0x33a87f&&_0x33a87f[_0x19d5('0x51')]?_0x33a87f[_0x19d5('0x51')]:{};await this[_0x19d5('0x73')](_0x1756b1,_0xfb8913,_0xb9cb3c);}this[_0x19d5('0xa6')][_0x19d5('0x3a')][_0x19d5('0x2b')]({'isUndoable':!0x1},()=>{_0x340eb9[_0x19d5('0x60')]=!0x0,this['editor']['model'][_0x19d5('0xd1')][_0x19d5('0x18')][_0x19d5('0x21')](_0x340eb9);});},{'priority':_0x19d5('0x45')});}async[_0x19d5('0x11')](_0x2a1c67){const _0x3d776d=this[_0x19d5('0xa6')][_0x19d5('0x7e')][_0x19d5('0x1')](_0x3d9515),{connection:_0x48d589}=this[_0x19d5('0xa6')][_0x19d5('0x7e')]['get'](_0x397623),_0xa2a9a0=new Set();for(const _0x4461a of _0x2a1c67){const _0x114f28=_0x4461a[_0x19d5('0xaf')];_0x114f28&&!_0x3d776d[_0x19d5('0xba')](_0x114f28)&&_0xa2a9a0['add'](_0x114f28);}if(0x0===_0xa2a9a0[_0x19d5('0x34')])return;const _0xadc743=await _0x54e99d[_0x19d5('0x2e')](_0x48d589,Array[_0x19d5('0x77')](_0xa2a9a0));for(const _0x28714d of _0xadc743)_0x3d776d['getUser'](_0x28714d['id'])||_0x3d776d[_0x19d5('0x1a')](_0x28714d);}[_0x19d5('0x26')](_0x2d37ec,_0x38ee32={}){const _0x2e8243=this[_0x19d5('0xa6')][_0x19d5('0x3a')],_0x11362f=[];let _0x17c2de=0x0;const _0x58ba94='string'==typeof _0x2d37ec?{'main':_0x2d37ec}:_0x2d37ec;for(const _0x42637c of Object[_0x19d5('0xc4')](_0x58ba94)){if(!this['_document'][_0x19d5('0xb')][_0x19d5('0x3f')](_0x42637c))throw new _0x30499d('realtimecollaborationclient-init-non-existent-root',this);const _0x44578d=this[_0x19d5('0xa6')][_0x19d5('0xc3')][_0x19d5('0x86')](_0x58ba94[_0x42637c]),_0x3dc10a=this[_0x19d5('0x4f')]['getRoot'](_0x42637c),_0x901e19=new _0x38a934(_0x2e8243[_0x19d5('0x94')](_0x3dc10a,0x0),_0x44578d,_0x17c2de++);_0x11362f['push'](_0x901e19);for(const [_0x50b020,_0x5d2d54]of _0x44578d[_0x19d5('0x3c')]){const _0x66b22b=_0x2e8243[_0x19d5('0x5')](_0x2e8243[_0x19d5('0x41')](_0x3dc10a,_0x5d2d54[_0x19d5('0xd3')]['path'][_0x19d5('0x66')]()),_0x2e8243[_0x19d5('0x41')](_0x3dc10a,_0x5d2d54['end']['path'][_0x19d5('0x66')]())),_0xafff47=new _0x5efde6(_0x50b020,null,_0x66b22b,_0x2e8243[_0x19d5('0x3c')],!0x0,_0x17c2de++);_0x11362f[_0x19d5('0x9e')](_0xafff47);}}if(_0x38ee32)for(const [_0x26eb47,_0x317b80]of Object[_0x19d5('0x8')](_0x38ee32)){const _0x4a4e0e=_0x2e8243[_0x19d5('0xd1')][_0x19d5('0x53')](_0x26eb47);if(!_0x4a4e0e)throw new _0x30499d(_0x19d5('0xa8'),null);for(const [_0x12e4d8,_0xbee067]of Object[_0x19d5('0x8')](_0x317b80))if(null!==_0xbee067){const _0x167850=new _0x241ec0(_0x4a4e0e,_0x12e4d8,null,_0xbee067,_0x17c2de++);_0x11362f['push'](_0x167850);}}return _0x11362f;}async[_0x19d5('0x73')](_0x1ee0ff,_0x31b340,_0x4adf83){this[_0x19d5('0x26')]({[_0x1ee0ff]:_0x31b340},{[_0x1ee0ff]:_0x4adf83})[_0x19d5('0x9c')]((_0x38cb01,_0x4bb323)=>{_0x38cb01['baseVersion']=this[_0x19d5('0x4f')][_0x19d5('0x84')]+_0x4bb323,_0x38cb01[_0x19d5('0x6d')]=!0x0,this[_0x19d5('0x8c')](_0x38cb01);}),this[_0x19d5('0xc2')](),await this[_0x19d5('0xb8')]();}async[_0x19d5('0xa2')](_0x55dacd,_0x4f9ed6){let _0xaec08c;this['_offset']=_0x55dacd[_0x19d5('0xf')];const _0x54c612=_0x55dacd[_0x19d5('0x48')]&&!_0x55dacd[_0x19d5('0x64')],_0x49e016=_0x54c612?0x0:_0x55dacd[_0x19d5('0xc3')]['baseVersion'];if(_0x4f9ed6[_0x19d5('0x9c')](_0x194a4c=>{_0x194a4c['_isInit']=!0x0,_0x194a4c[_0x19d5('0xd9')]=_0x55dacd[_0x19d5('0x2c')],_0x194a4c['_authorId']=null;}),_0x54c612)_0xaec08c=_0x4f9ed6,this[_0x19d5('0xd5')](_0xaec08c,_0x54c612);else{if(_0x55dacd[_0x19d5('0x64')]){const _0x1a760f=this[_0x19d5('0x26')](_0x55dacd[_0x19d5('0x64')]);this[_0x19d5('0x4f')]['history']['version']=-_0x1a760f[_0x19d5('0x81')],_0x1a760f['forEach'](_0x30dca7=>{_0x30dca7[_0x19d5('0x9d')]-=_0x1a760f[_0x19d5('0x81')],_0x30dca7['createdAt']=_0x55dacd[_0x19d5('0x2c')],_0x30dca7[_0x19d5('0x6d')]=!0x0,_0x30dca7['_authorId']=null;}),this['_applyOperationsSet'](_0x1a760f,!0x0),this['serverHistory'][_0x19d5('0x84')]=-_0x1a760f['length']+this[_0x19d5('0x71')],this[_0x19d5('0xd6')](_0x1a760f);}this[_0x19d5('0x4f')]['history'][_0x19d5('0x84')]=_0x49e016,_0xaec08c=this[_0x19d5('0x1f')](_0x55dacd[_0x19d5('0xc3')],_0x55dacd[_0x19d5('0x16')]),await this[_0x19d5('0x11')](_0xaec08c),this['_applyOperationsSet'](_0xaec08c,_0x54c612);}_0x55dacd[_0x19d5('0x7c')]&&(this[_0x19d5('0xb3')][_0x19d5('0x42')](_0xaec08c,_0x55dacd[_0x19d5('0x7c')]),this['_lastSyncedOperationId']=_0x55dacd['lastOperationId']),this[_0x19d5('0xab')]['version']=_0x49e016+this[_0x19d5('0x71')],this[_0x19d5('0xd6')](_0xaec08c),_0x4f9ed6[_0x19d5('0x7f')](_0x1a0459=>{const _0x4fe307=this['_getAffectedRoot'](_0x1a0459);return _0x4fe307&&!this['_knownRootNames'][_0x19d5('0x3f')](_0x4fe307);})[_0x19d5('0x9c')]((_0x1e3010,_0x2f7999)=>{_0x1e3010['baseVersion']=this[_0x19d5('0x4f')][_0x19d5('0x84')]+_0x2f7999,this[_0x19d5('0x8c')](_0x1e3010);}),this[_0x19d5('0x88')]()?(this['_currentBufferDelay']=0x0,this[_0x19d5('0xc2')](!0x0),await this[_0x19d5('0xb8')]()):(this[_0x19d5('0xaa')]=!0x1,this[_0x19d5('0x6f')]());}[_0x19d5('0x5b')](_0x3d09ff,_0x106694){throw this[_0x19d5('0xaa')]=!0x0,_0x106694&&console[_0x19d5('0xc9')](_0x106694),new _0x30499d(_0x3d09ff,this[_0x19d5('0xa6')]);}['_saveOperationInBuffer'](_0x310237){this[_0x19d5('0xb5')][_0x19d5('0x3f')](_0x310237)||(this[_0x19d5('0xb5')][_0x19d5('0x82')](_0x310237),this[_0x19d5('0x74')][_0x19d5('0x9e')](_0x310237),this[_0x19d5('0xa7')]||_0x19d5('0x65')==_0x310237['type']&&!_0x310237[_0x19d5('0x56')]||this['_setPendingAction']());}[_0x19d5('0xc2')](_0x24d304=!0x1){!_0x24d304&&this[_0x19d5('0xaa')]||(this[_0x19d5('0xaa')]=!0x0,clearTimeout(this['_sendBufferedOperationsDelayId']),this['_sendBufferedOperationsDelayId']=setTimeout(()=>{this[_0x19d5('0x14')]()[_0x19d5('0x4b')](_0x23089d=>{_0x23089d&&(this[_0x19d5('0x6f')](),this['_isPendingUpdate']=!0x1);})['catch'](_0xa298c5=>{if(this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1,!function(_0x302348){return _0x302348[_0x19d5('0xb7')][_0x19d5('0x20')](_0x19d5('0x40'))||_0x302348['message'][_0x19d5('0x20')](_0x19d5('0x19'))||_0x302348[_0x19d5('0xb7')][_0x19d5('0x20')]('cloud-services-internal-error:\x20Request\x20timeout.');}(_0xa298c5))throw _0xa298c5;});},this[_0x19d5('0x91')]));}[_0x19d5('0xb8')](){return new Promise(_0x59ef18=>{this['on']('change:_isPendingUpdate',()=>{_0x59ef18();});});}async[_0x19d5('0x14')](){const _0xfd8dfd=this['editor'][_0x19d5('0x7e')][_0x19d5('0x1')](_0xa19443);if(this[_0x19d5('0x28')]()&&(_0xfd8dfd[_0x19d5('0x39')](),this[_0x19d5('0x1e')]=!0x1),!this[_0x19d5('0x88')]())return!0x0;const _0x739b51=[...this['_bufferedOperations']];for(const _0x1c2896 of _0x739b51)_0x1c2896[_0x19d5('0x75')]=this[_0x19d5('0x4f')][_0x19d5('0x1d')][_0x19d5('0x4d')](_0x1c2896);const _0x2d7bb2=this['_operationIdentifier'][_0x19d5('0x7')](_0x739b51),_0x2979f5=K++,_0x3aa72c=this[_0x19d5('0x2a')](_0x739b51),_0x5174bb=await this[_0x19d5('0xad')][_0x19d5('0x83')](_0x3aa72c,_0x3aa72c[_0x19d5('0x9d')],_0x2d7bb2);try{return await this['_handleServerResponse'](_0x739b51,_0x5174bb,_0x2979f5);}catch(_0x18b9d4){return this[_0x19d5('0x5b')](_0x19d5('0x2'),_0x18b9d4);}}async['_handleServerResponse'](_0x1a9044,_0x499e9a,_0x35749c){if(_0x19d5('0xc9')in _0x499e9a)throw _0x499e9a['error'];let _0x42c5d7=!0x1;if(_0x499e9a['wereChangesApplied']){_0x499e9a[_0x19d5('0x7c')]&&(this['_lastSyncedOperationId']=_0x499e9a[_0x19d5('0x7c')]),this[_0x19d5('0x74')]=this['_bufferedOperations'][_0x19d5('0x7f')](_0x424c7f=>!_0x1a9044[_0x19d5('0x4c')](_0x424c7f));for(const _0x540e14 of _0x1a9044)_0x540e14['createdAt']='lastOperationAcceptedAt'in _0x499e9a&&_0x499e9a[_0x19d5('0x47')]||void 0x0;Q(_0x1a9044,_0x499e9a['version']-_0x1a9044[_0x19d5('0x81')]),this[_0x19d5('0xd6')](_0x1a9044);const _0x11fbf0=_0x1a9044['filter'](_0x2b8862=>{if(!_0x2b8862[_0x19d5('0x6d')])return!0x1;const _0x17d976=this[_0x19d5('0xc')](_0x2b8862);return _0x17d976&&!this[_0x19d5('0xbc')]['has'](_0x17d976);});Q(_0x11fbf0,this['_document'][_0x19d5('0x84')]),this[_0x19d5('0xd5')](_0x11fbf0),_0x42c5d7=!0x0,this['_currentBufferDelay']=this[_0x19d5('0xac')];}else{const _0x5cf38d=this[_0x19d5('0x1f')](_0x499e9a[_0x19d5('0xc3')],_0x499e9a[_0x19d5('0x16')])['filter'](_0x297ebe=>_0x297ebe[_0x19d5('0x9d')]>=this['_lastServerVersion']);_0x5cf38d[_0x19d5('0x9c')](_0xfd8fe1=>this[_0x19d5('0x22')](_0xfd8fe1)),this[_0x19d5('0x74')]=this[_0x19d5('0x74')][_0x19d5('0x7f')](_0x5da011=>!_0x5da011[_0x19d5('0x6d')]||!this[_0x19d5('0xbc')][_0x19d5('0x3f')](this['_getAffectedRoot'](_0x5da011))),this['_bufferedOperations'][_0x19d5('0x81')]&&Q(this[_0x19d5('0x74')],this[_0x19d5('0x74')][0x0]['baseVersion']),await this['_fetchMissingUsers'](_0x5cf38d),_0x42c5d7=this[_0x19d5('0x43')](_0x5cf38d,_0x499e9a[_0x19d5('0x84')],_0x499e9a[_0x19d5('0x7c')]),this[_0x19d5('0x91')]=Math[_0x19d5('0x6a')](this[_0x19d5('0x91')]/0x2);}return _0x42c5d7?!this[_0x19d5('0x88')]()||(this[_0x19d5('0xc2')](!0x0),!0x1):this['_crash'](_0x19d5('0x4'));}[_0x19d5('0x43')](_0x8411c6,_0x55feda,_0x5c1cc5){try{const _0x2ad1a9={'document':this[_0x19d5('0x4f')],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x5f4d7c,operationsB:_0xefba30,originalOperations:_0x102862}=_0x273c3a(_0x8411c6,this[_0x19d5('0x74')],_0x2ad1a9);Q(_0x5f4d7c,this[_0x19d5('0x4f')][_0x19d5('0x84')]),Q(_0xefba30,_0x55feda);for(const _0x37113d of _0x5f4d7c){const _0x4eeae8=_0x102862[_0x19d5('0x1')](_0x37113d);_0x37113d['_authorId']=_0x4eeae8?_0x4eeae8[_0x19d5('0xaf')]:null;}_0x5c1cc5&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x8411c6,_0x5c1cc5),this[_0x19d5('0xa0')]=_0x5c1cc5),this['_bufferedOperations']=[..._0xefba30],this['_applyOperationsSet'](_0x5f4d7c),this[_0x19d5('0xd6')](_0x8411c6);}catch(_0x319221){return console[_0x19d5('0xc9')](_0x319221),!0x1;}return!0x0;}[_0x19d5('0xd5')](_0xdd0e7d,_0x1dd3a9=!0x1){this[_0x19d5('0xa6')][_0x19d5('0x3a')][_0x19d5('0x2b')]({'isUndoable':!0x1,'isLocal':!0x1},_0x5987a7=>{for(const _0x45a1c0 of _0xdd0e7d)this[_0x19d5('0xb5')][_0x19d5('0x82')](_0x45a1c0),this[_0x19d5('0x22')](_0x45a1c0),_0x5987a7[_0x19d5('0xa5')]['addOperation'](_0x45a1c0),this['editor'][_0x19d5('0x3a')][_0x19d5('0x99')](_0x45a1c0);});}[_0x19d5('0x22')](_0x4d24bc){const _0x3bcf6b=this[_0x19d5('0xc')](_0x4d24bc);_0x3bcf6b&&this[_0x19d5('0xbc')][_0x19d5('0x82')](_0x3bcf6b);}[_0x19d5('0xc')](_0x3b3c2c){let _0x1043a6,_0x3aa3fa;switch(_0x3b3c2c[_0x19d5('0x95')]){case _0x19d5('0x0'):_0x1043a6=_0x3b3c2c[_0x19d5('0x32')][_0x19d5('0x52')];break;case _0x19d5('0x65'):if(_0x3aa3fa=_0x3b3c2c[_0x19d5('0xcd')],!_0x3aa3fa)return null;_0x1043a6=_0x3aa3fa['root'];break;case _0x19d5('0x98'):_0x1043a6=_0x3b3c2c[_0x19d5('0x52')];break;case _0x19d5('0x76'):_0x1043a6=_0x3b3c2c[_0x19d5('0x7b')];break;case _0x19d5('0x69'):_0x1043a6=_0x3b3c2c[_0x19d5('0x17')][_0x19d5('0x52')];break;default:return null;}return _0x1043a6['rootName'];}['_updateServerHistory'](_0x4ac405){_0x4ac405[_0x19d5('0x9c')](_0xa7a420=>{const _0x269a5d=_0xa7a420[_0x19d5('0x44')]();_0x269a5d['_authorId']=_0xa7a420[_0x19d5('0xaf')],_0x269a5d[_0x19d5('0x6d')]=!!_0xa7a420[_0x19d5('0x6d')],_0x269a5d['createdAt']=_0xa7a420[_0x19d5('0xd9')],_0x269a5d[_0x19d5('0x9d')]+=this[_0x19d5('0x71')],_0xa7a420[_0x19d5('0x58')]&&this[_0x19d5('0xa')][_0x19d5('0x82')](_0x269a5d),this[_0x19d5('0xab')][_0x19d5('0x1c')](_0x269a5d);});}['_handleReconnectionError'](_0x73d88e){const _0x5ab941=this[_0x19d5('0xa6')]['plugins'][_0x19d5('0x1')](_0x19d5('0xb6')),_0x41aabd=this['editor'][_0x19d5('0x30')];_0x73d88e||(_0x73d88e=_0x197089(_0x41aabd,_0x19d5('0x7a'))),_0x5ab941[_0x19d5('0x46')](_0x73d88e,{'title':_0x197089(_0x41aabd,'Synchronization\x20issue'),'namespace':_0x19d5('0x1b')}),this[_0x19d5('0xbe')]=!0x0,clearTimeout(this[_0x19d5('0x24')]),this[_0x19d5('0x74')]=[],this[_0x19d5('0xa6')][_0x19d5('0x7e')][_0x19d5('0x1')](_0x397623)[_0x19d5('0x78')]();}['_setPendingAction'](){this[_0x19d5('0xa7')]||(this[_0x19d5('0xa7')]=this[_0x19d5('0xa6')][_0x19d5('0x7e')]['get'](_0x4f21f9)[_0x19d5('0x82')](_0x197089(this[_0x19d5('0xa6')][_0x19d5('0x30')],_0x19d5('0x8b'))));}['_clearPendingAction'](){this[_0x19d5('0xa7')]&&(this[_0x19d5('0xa6')][_0x19d5('0x7e')][_0x19d5('0x1')](_0x4f21f9)[_0x19d5('0x25')](this[_0x19d5('0xa7')]),this['_pendingAction']=null);}[_0x19d5('0x2a')](_0x289f29){const _0x276f9c=_0x289f29[_0x19d5('0x8e')](_0x2676f7=>_0x2676f7[_0x19d5('0x3')]());return this[_0x19d5('0x67')][_0x19d5('0x6c')](_0x276f9c);}[_0x19d5('0x1f')](_0x278d72,_0x5adffb){return this[_0x19d5('0x67')][_0x19d5('0x27')](_0x278d72)[_0x19d5('0x8e')]((_0x3d69d2,_0x3de014)=>{const _0x896fa6=_0x19d5('0x93')==_0x5adffb[_0x3de014][_0x19d5('0x95')];if(_0x19d5('0xa3')==_0x3d69d2['__className']){const _0x221cde=_0x3d69d2['position'][_0x19d5('0x52')];!this[_0x19d5('0x4f')][_0x19d5('0x53')](_0x221cde)&&(this['_document'][_0x19d5('0x90')](_0x19d5('0x9a'),_0x221cde)[_0x19d5('0x4e')]=!0x1);}const _0x4121ef=_0xd910f[_0x19d5('0x35')](_0x3d69d2,this[_0x19d5('0x4f')]);return _0x4121ef[_0x19d5('0x75')]=_0x3d69d2[_0x19d5('0x75')],_0x4121ef['_isInit']=_0x896fa6,_0x4121ef['_authorId']=_0x896fa6?null:_0x5adffb[_0x3de014][_0x19d5('0x8f')],_0x4121ef[_0x19d5('0x58')]=_0x19d5('0x7d')===_0x5adffb[_0x3de014]['type'],_0x4121ef['createdAt']=_0x5adffb[_0x3de014][_0x19d5('0xd9')],_0x4121ef;});}[_0x19d5('0x59')](){this[_0x19d5('0x1e')]=!0x0,this[_0x19d5('0x28')]()?this[_0x19d5('0xc2')]():this['_hasSelectionChanged']=!0x1;}['_shouldSendSelectionUpdate'](){const _0x19c267=this[_0x19d5('0xa6')][_0x19d5('0x7e')]['get'](_0x405fd9)['channelSessions'][_0x19d5('0x1')](this[_0x19d5('0x89')]);return!this[_0x19d5('0xa6')]['isReadOnly']&&!!_0x19c267&&_0x19c267[_0x19d5('0x81')]>0x1&&this[_0x19d5('0x1e')];}[_0x19d5('0x88')](){return this[_0x19d5('0x74')][_0x19d5('0x81')]>0x0||this[_0x19d5('0x28')]();}}l[_0x19d5('0xd2')]=_0x53c4de;export default l;class J extends Error{}function Q(_0x1e8ab5,_0x472143){for(const _0x283fd2 of _0x1e8ab5)_0x283fd2[_0x19d5('0x9d')]=_0x472143++;}class X{constructor(_0xa75d3f){this[_0x19d5('0xce')]=_0xa75d3f,this['_operationToId']=new WeakMap();}['getIdOfTheLastOperation'](_0x1fbf63){let _0x2e7ea1=_0x1fbf63[_0x19d5('0x81')];for(;_0x2e7ea1--;){const _0x358b25=_0x1fbf63[_0x2e7ea1];if(!this[_0x19d5('0xce')]['has'](_0x358b25)){if(!this[_0x19d5('0x62')][_0x19d5('0x3f')](_0x358b25)){const _0x454a64=_0x3d16cc()['slice'](0x1,0x12);this['_operationToId']['set'](_0x358b25,_0x454a64);}return this[_0x19d5('0x62')][_0x19d5('0x1')](_0x358b25);}}}[_0x19d5('0x42')](_0x23e1ee,_0x2681fa){if(!_0x2681fa)return;let _0x4a1a6e=_0x23e1ee[_0x19d5('0x81')];for(;_0x4a1a6e--;){const _0x1d968b=_0x23e1ee[_0x4a1a6e];this[_0x19d5('0xce')]['has'](_0x1d968b)||this[_0x19d5('0x62')][_0x19d5('0xbd')](_0x1d968b,_0x2681fa);}}}
23
+ const _0x15f1b2=_0xe987;(function(_0x55726c,_0x3b8d00){const _0xfc09be=_0xe987,_0x3e4363=_0x55726c();while(!![]){try{const _0x49522d=parseInt(_0xfc09be(0x1f3))/0x1*(-parseInt(_0xfc09be(0x25f))/0x2)+-parseInt(_0xfc09be(0x1e5))/0x3*(parseInt(_0xfc09be(0x2a4))/0x4)+-parseInt(_0xfc09be(0x29b))/0x5+-parseInt(_0xfc09be(0x20b))/0x6*(-parseInt(_0xfc09be(0x1e4))/0x7)+parseInt(_0xfc09be(0x20c))/0x8*(parseInt(_0xfc09be(0x24b))/0x9)+-parseInt(_0xfc09be(0x24e))/0xa*(parseInt(_0xfc09be(0x1e6))/0xb)+parseInt(_0xfc09be(0x213))/0xc*(parseInt(_0xfc09be(0x296))/0xd);if(_0x49522d===_0x3b8d00)break;else _0x3e4363['push'](_0x3e4363['shift']());}catch(_0x2c74b2){_0x3e4363['push'](_0x3e4363['shift']());}}}(_0xc8b7,0xc4bd2));function _0xc8b7(){const _0x53c557=['removeFromReconnectionStack','keys','$root','_pendingAction','error','attributes','start','loadRoot','connection','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','affectsData','_knownOperations','change:_isEditingAllowed','reconnection:\x20flushed\x20session','_handleServerResponse','plugins','1632429qILQRU','type','end','9554570tBlUzS','filter','_applyOperationsSet','roots','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.','requires','config','_compressOperations','_sendBufferedOperationsDelayed','stopListening','parse','document:write','insert','isDocumentOperation','cloud-services-internal-error:\x20Request\x20timeout.','_crash','rtc-offline','2332KtYFIo','_handleReceivedOperations','_updateServerHistory','real-time-collaboration','decompress','mySessionId','newRange','then','collaboration-missing-channelid','_handleSendingSelectionMarkers','_knownRootNames','connected','lastDocumentSession','unregister','rootsAttributes','editing','stop','from','_fetchMissingUsers','_isInit','InsertOperation','_addKnownRoot','ready','_lastServerVersion','get','serverHistory','Synchronization\x20issue','map','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.','version','_decompressOperations','_bufferedOperations','_channelId','has','isReadOnly','createRange','_shouldSendSelectionUpdate','rootName','suppressErrorInCollaboration','listenTo','marker','_handleInitialConnectionData','length','_initThrowingOnDataSet','isEnabled','lastSyncVersion','getOperationAuthor','rtc-destroyed','_loadRoot','locale','applyOperation','createPositionAt','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_baseBufferDelay','markers','31988879DwtMUE','Notification','size','add','_document','5255770HyoDUm','isUndoneOperation','slice','move','_getAffectedRoot','setIdForTheLastOperation','_saveOperationInBuffer','_sendBufferedOperations','push','21236EEBmGf','reset','disableReadOnlyMode','_isLoaded','RealTimeCollaborationClient','sessionAdd:','_handleReconnectionResponse','setPermissions','getDocumentDetails','connect','return','destroy','realtimecollaborationclient-init-connection-failed','realtimecollaborationclient-init-document-already-initialized','differ','history','sessionId','_disconnectService','createUserMarkerOperations','_connectService','collaboration','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','entries','CollaborativeEditingService','collaboration.channelId','createdAt','targetPosition','data','channelSessions','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','batch','_setPendingAction','forEach','editor','_refreshUserSelectionMarkers','realtimecollaborationclient-handleserverresponse','addToReconnectionStack','_isDisconnection','realtimecollaborationclient-init-session-connection-error','code','cloudServices.bundleVersion','getConnectedSessions','_authorId','change:_isPendingUpdate','state','_isAttached','cs:removeUser','view','404','getMany','_sendBufferedOperationsDelayId','createPositionFromPath','sendOperations','bind','initData','showWarning','_handleReconnectionError','_offset','round','position','addOperation','toJSON','off','fromJSON','_compressor','message','_currentBufferDelay','_lastSyncedOperationId','init','10663583rbwxGO','246phLKoC','11frCVtq','offset','realtimecollaborationclient-initservice-incorrect-server-operation','_shouldSendUpdate','reconnect','_isEditingAllowed','createRoot','_operationIdentifier','_handleExternalOperations','addRootAttribute','string','_connectAfterSessionHasBeenFlushed','userId','787sFAmtU','realtimecollaborationclient-sendbufferedoperations','change:range','addRoot','getOperations','define','permissions','cloudDocumentVersion','getUser','catch','register','_waitUntilSynced','metadata','Permissions','_clearPendingAction','_ignoredOperations','clone','CommentsOnly','_bufferRootLoad','remove','enableReadOnlyMode','finally','_service','_initSessionsHandling','6rdiJjk','8lZLgLo','sessionCreatedAt','_disconnectionOperations','operationsReceived','disconnect','selection','affectedSelectable','12OKOokl','realtimecollaborationclient-init-non-existent-root','currentDocumentSession','wereChangesApplied','_isConnected','apply','model','409','PENDING_ACTION_SENDING_DATA','getRoot','multi-root-editor-root-attributes-no-root','_operationToId','enqueueChange','cloud-services-internal-error:\x20Not\x20connected.','includes','_setUpDataInit','baseVersion','wasUndone','lastOperationId','getIdOfTheLastOperation','fire','lastOperationAcceptedAt','change:hasDomSelection','startsWith','pluginName','_getOperationsFromInitData','realtimecollaborationclient-initservice-internal-error','set','__className','high','directChange','_hasSynchronizationProblem','document','root','disconnected','compress','_isPendingUpdate','addUser','path','_hasSelectionChanged'];_0xc8b7=function(){return _0x53c557;};return _0xc8b7();}import{Plugin as _0x1af19a,PendingActions as _0xcd2b6f}from'ckeditor5/src/core.js';import{CKEditorError as _0x3e3c6b,version as _0xdd2914,uid as _0x281225}from'ckeditor5/src/utils.js';import{Notification as _0x1a2199}from'ckeditor5/src/ui.js';import{transformSets as _0x1c4b42,NoOperation as _0x3b7393,InsertOperation as _0x5d7584,MarkerOperation as _0x369d60,RootAttributeOperation as _0x29fcae,OperationFactory as _0x4191b8,History as _0x1d8f17}from'ckeditor5/src/engine.js';import _0x4db621 from'./websocketgateway.js';import _0x5ad414 from'./sessions.js';import _0x28f308 from'./usermarkers.js';import{getTranslation as _0xe23eda}from'../common-translations.js';import _0x19e7c3 from'@ckeditor/ckeditor5-operations-compressor/src/compressor.js';import{Users as _0x2b9913}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x49b26c}from'@ckeditor/ckeditor-cloud-services-collaboration';import{CollaborativeEditingService as _0x24a5a8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x1af19a{static get[_0x15f1b2(0x253)](){return[_0x4db621,_0x5ad414,_0x28f308,_0xcd2b6f,_0x2b9913,_0x1a2199];}static get[_0x15f1b2(0x22b)](){const _0x56a639=_0x15f1b2;return _0x56a639(0x2a8);}get[_0x15f1b2(0x1fa)](){const _0x47d292=_0x15f1b2;return this[_0x47d292(0x276)]+this[_0x47d292(0x2dd)];}get[_0x15f1b2(0x276)](){const _0x4ef08f=_0x15f1b2;return this[_0x4ef08f(0x278)][_0x4ef08f(0x27c)]-this[_0x4ef08f(0x2dd)];}get[_0x15f1b2(0x28c)](){const _0x262753=_0x15f1b2,_0x24cca1=this[_0x262753(0x278)][_0x262753(0x1f7)]();for(let _0xba454d=_0x24cca1[_0x262753(0x289)]-0x1;_0xba454d>=0x0;_0xba454d--){const _0x28634e=_0x24cca1[_0xba454d];if(!this[_0x262753(0x20e)][_0x262753(0x280)](_0x28634e))return _0x28634e[_0x262753(0x223)]+0x1-this[_0x262753(0x2dd)];}return 0x0;}constructor(_0x4406b0){const _0x1e00f8=_0x15f1b2;if(super(_0x4406b0),this[_0x1e00f8(0x2dd)]=0x0,this[_0x1e00f8(0x2b4)]=null,this[_0x1e00f8(0x278)]=new _0x1d8f17(),this[_0x1e00f8(0x2c5)][_0x1e00f8(0x254)][_0x1e00f8(0x1f8)](_0x1e00f8(0x2b8),{}),this[_0x1e00f8(0x27f)]=this[_0x1e00f8(0x2c5)][_0x1e00f8(0x254)][_0x1e00f8(0x277)](_0x1e00f8(0x2bc)),!this[_0x1e00f8(0x27f)])throw new _0x3e3c6b(_0x1e00f8(0x267),this);const _0x7e5d5b=_0x4406b0[_0x1e00f8(0x254)][_0x1e00f8(0x277)](_0x1e00f8(0x2cc))||_0xdd2914;this[_0x1e00f8(0x209)]=new l[(_0x1e00f8(0x2bb))](_0x7e5d5b,this[_0x1e00f8(0x27f)]),this[_0x1e00f8(0x29a)]=this[_0x1e00f8(0x2c5)][_0x1e00f8(0x219)][_0x1e00f8(0x233)],this[_0x1e00f8(0x2e4)]=new _0x19e7c3(),this[_0x1e00f8(0x27e)]=[],this[_0x1e00f8(0x246)]=new WeakSet(),this[_0x1e00f8(0x269)]=new Set(),this[_0x1e00f8(0x22e)](_0x1e00f8(0x237),!0x1),this[_0x1e00f8(0x22e)](_0x1e00f8(0x232),!0x1),this[_0x1e00f8(0x23e)]=null,this[_0x1e00f8(0x23a)]=!0x1,this[_0x1e00f8(0x2d6)]=null,this[_0x1e00f8(0x294)]=0x12c,this[_0x1e00f8(0x2e6)]=this[_0x1e00f8(0x294)],this[_0x1e00f8(0x1e2)]=null,this[_0x1e00f8(0x20e)]=new WeakSet(),this[_0x1e00f8(0x1ed)]=new X(this[_0x1e00f8(0x20e)]);}[_0x15f1b2(0x1e3)](){const _0x343c5d=_0x15f1b2,_0x332496=this[_0x343c5d(0x2c5)],_0x2a7f5f=_0x332496[_0x343c5d(0x24a)][_0x343c5d(0x277)](_0x2b9913),_0x5126af=_0x332496[_0x343c5d(0x24a)][_0x343c5d(0x277)](_0x4db621);this[_0x343c5d(0x286)](_0x2a7f5f,_0x343c5d(0x28d),(_0x1d1b9d,_0xcd32d)=>{const _0x3e0a59=_0x343c5d,_0x4378f2=_0xcd32d[0x0];_0x4378f2[_0x3e0a59(0x2ce)]&&(_0x1d1b9d[_0x3e0a59(0x2ae)]=_0x2a7f5f[_0x3e0a59(0x1fb)](_0x4378f2[_0x3e0a59(0x2ce)]),_0x1d1b9d[_0x3e0a59(0x26f)]()),null===_0x4378f2[_0x3e0a59(0x2ce)]&&(_0x1d1b9d[_0x3e0a59(0x2ae)]=null,_0x1d1b9d[_0x3e0a59(0x26f)]());},{'priority':_0x343c5d(0x230)}),this[_0x343c5d(0x286)](_0x332496[_0x343c5d(0x219)][_0x343c5d(0x233)][_0x343c5d(0x211)],_0x343c5d(0x1f5),(_0x25a83b,_0x20a25f)=>{const _0x4d3eff=_0x343c5d;_0x20a25f[_0x4d3eff(0x231)]&&this[_0x4d3eff(0x2c6)]();}),this[_0x343c5d(0x286)](_0x332496[_0x343c5d(0x26e)][_0x343c5d(0x2d3)],_0x343c5d(0x229),()=>{const _0x4d05b1=_0x343c5d;this[_0x4d05b1(0x2c6)]();}),this[_0x343c5d(0x28a)](),_0x332496[_0x343c5d(0x219)]['on'](_0x343c5d(0x291),(_0x5f353f,_0x578a95)=>{const _0x297ef0=_0x343c5d,_0x53220a=_0x578a95[0x0];_0x53220a[_0x297ef0(0x25b)]&&(this[_0x297ef0(0x2a1)](_0x53220a),this[_0x297ef0(0x1e9)]()&&this[_0x297ef0(0x256)]());}),this[_0x343c5d(0x222)](),this[_0x343c5d(0x2d9)](_0x343c5d(0x1eb))['to'](_0x5126af,_0x343c5d(0x2d0),this,_0x343c5d(0x232),(_0x28c60d,_0x18b450)=>_0x343c5d(0x26a)===_0x28c60d&&!_0x18b450),this['on'](_0x343c5d(0x247),()=>{const _0x2bea5c=_0x343c5d;this[_0x2bea5c(0x1eb)]?_0x332496[_0x2bea5c(0x2a6)](_0x2bea5c(0x25e)):_0x332496[_0x2bea5c(0x207)](_0x2bea5c(0x25e));}),this[_0x343c5d(0x1eb)]?_0x332496[_0x343c5d(0x2a6)](_0x343c5d(0x25e)):_0x332496[_0x343c5d(0x207)](_0x343c5d(0x25e)),this[_0x343c5d(0x22e)](_0x343c5d(0x217),!0x1);}async[_0x15f1b2(0x1ea)](){const _0x2f208e=_0x15f1b2,_0x5b13db=this[_0x2f208e(0x2c5)][_0x2f208e(0x24a)][_0x2f208e(0x277)](_0x5ad414),_0x3b13b4=this[_0x2f208e(0x2c5)][_0x2f208e(0x24a)][_0x2f208e(0x277)](_0x4db621);try{this[_0x2f208e(0x237)]=!0x0,_0x5b13db[_0x2f208e(0x26c)](this[_0x2f208e(0x27f)]);const _0x24fe67=await this[_0x2f208e(0x209)][_0x2f208e(0x1ea)](_0x3b13b4[_0x2f208e(0x243)],this[_0x2f208e(0x28c)]);await this[_0x2f208e(0x2aa)](_0x24fe67)&&(this[_0x2f208e(0x237)]=!0x1,this[_0x2f208e(0x201)]());const _0x11f5b2=await this[_0x2f208e(0x209)][_0x2f208e(0x2cd)]();_0x5b13db[_0x2f208e(0x1fd)](this[_0x2f208e(0x27f)],_0x11f5b2),this[_0x2f208e(0x268)](),this[_0x2f208e(0x217)]=!0x0;}catch(_0x223ed7){if(function(_0xa238d6){const _0x4c6461=_0x2f208e;return _0x4c6461(0x2d4)===_0xa238d6[_0x4c6461(0x2cb)];}(_0x223ed7)&&this[_0x2f208e(0x2b4)])await this[_0x2f208e(0x1f1)]();else{if(function(_0x4d1037){const _0x1e2571=_0x2f208e;return _0x1e2571(0x21a)===_0x4d1037[_0x1e2571(0x2cb)];}(_0x223ed7)){const _0x3047f4=_0xe23eda(this[_0x2f208e(0x2c5)][_0x2f208e(0x290)],_0x2f208e(0x293));this[_0x2f208e(0x2dc)](_0x3047f4);}else{if(!(_0x223ed7 instanceof J))throw _0x223ed7;this[_0x2f208e(0x2dc)]();}}}}[_0x15f1b2(0x2af)](){const _0x55ce4e=_0x15f1b2,_0x22228b=this[_0x55ce4e(0x2c5)][_0x55ce4e(0x24a)][_0x55ce4e(0x277)](_0x4db621),_0x196da2=this[_0x55ce4e(0x2c5)][_0x55ce4e(0x24a)][_0x55ce4e(0x277)](_0x5ad414);this[_0x55ce4e(0x2c5)][_0x55ce4e(0x207)](_0x55ce4e(0x28e)),_0x196da2[_0x55ce4e(0x2c0)][_0x55ce4e(0x280)](this[_0x55ce4e(0x27f)])&&_0x196da2[_0x55ce4e(0x26c)](this[_0x55ce4e(0x27f)]),_0x22228b[_0x55ce4e(0x23b)](this),this[_0x55ce4e(0x2b5)](),super[_0x55ce4e(0x2af)]();}async[_0x15f1b2(0x2aa)](_0x3e0c47){const _0x13c95e=_0x15f1b2;if(this[_0x13c95e(0x2b4)]!==_0x3e0c47[_0x13c95e(0x2b4)]&&this[_0x13c95e(0x1e2)]!==_0x3e0c47[_0x13c95e(0x225)])throw new J();return this[_0x13c95e(0x2b4)]=_0x3e0c47[_0x13c95e(0x2b4)],this[_0x13c95e(0x249)]([],{..._0x3e0c47,'wereChangesApplied':!0x1,'data':_0x3e0c47[_0x13c95e(0x2bf)]},_0x13c95e(0x1ea));}async[_0x15f1b2(0x2b7)](_0x17bd48,_0x2146cf=!0x1){const _0x593898=_0x15f1b2,{connection:_0x436d34}=this[_0x593898(0x2c5)][_0x593898(0x24a)][_0x593898(0x277)](_0x4db621);l[_0x593898(0x2bb)][_0x593898(0x2cd)](_0x436d34,this[_0x593898(0x27f)])[_0x593898(0x266)](_0x2167ee=>this[_0x593898(0x20a)](_0x2167ee))[_0x593898(0x1fc)](_0x14f230=>{const _0x2467a2=_0x593898;this[_0x2467a2(0x25d)](_0x2467a2(0x2ca),_0x14f230);}),this[_0x593898(0x286)](this[_0x593898(0x209)],_0x593898(0x20f),this[_0x593898(0x260)][_0x593898(0x2d9)](this)),this[_0x593898(0x286)](this[_0x593898(0x209)],_0x593898(0x23f),(_0x43eaea,_0x2c1cee)=>{const _0x43cf17=_0x593898;this[_0x43cf17(0x25d)](_0x43cf17(0x22d),_0x2c1cee);}),this[_0x593898(0x286)](this[_0x593898(0x209)],_0x593898(0x235),()=>{const _0x288a63=_0x593898;this[_0x288a63(0x217)]=!0x1;});const _0x2c731f=this[_0x593898(0x1ed)][_0x593898(0x226)](_0x17bd48);this[_0x593898(0x237)]=!0x0;const _0x4cefb3=await this[_0x593898(0x209)][_0x593898(0x2ad)](_0x436d34,this[_0x593898(0x255)](_0x17bd48),_0x2c731f);if(this[_0x593898(0x2b4)]=_0x4cefb3[_0x593898(0x2b4)],_0x2146cf){if(!_0x4cefb3[_0x593898(0x216)])return void this[_0x593898(0x2dc)]();this[_0x593898(0x237)]=!0x1,this[_0x593898(0x201)](),this[_0x593898(0x278)][_0x593898(0x2a5)](),this[_0x593898(0x2dd)]=_0x4cefb3[_0x593898(0x1e7)],this[_0x593898(0x278)][_0x593898(0x27c)]=this[_0x593898(0x2dd)],await this[_0x593898(0x249)](_0x17bd48,_0x4cefb3,_0x593898(0x248));}else await this[_0x593898(0x288)](_0x4cefb3,_0x17bd48);this[_0x593898(0x268)](),this[_0x593898(0x217)]=!0x0;}[_0x15f1b2(0x268)](){const _0x27f918=_0x15f1b2,_0x14b7fa=this[_0x27f918(0x2c5)][_0x27f918(0x24a)][_0x27f918(0x277)](_0x5ad414),_0x38e1e2=this[_0x27f918(0x2c5)][_0x27f918(0x24a)][_0x27f918(0x277)](_0x28f308),_0x37d20d=_0x14b7fa[_0x27f918(0x2c0)][_0x27f918(0x277)](this[_0x27f918(0x27f)]);_0x37d20d&&_0x37d20d[_0x27f918(0x289)]>0x1?_0x38e1e2[_0x27f918(0x2b6)]():this[_0x27f918(0x286)](_0x14b7fa,_0x27f918(0x2a9)+this[_0x27f918(0x27f)],()=>{const _0x4cda75=_0x27f918;0x2===_0x14b7fa[_0x4cda75(0x2c0)][_0x4cda75(0x277)](this[_0x4cda75(0x27f)])[_0x4cda75(0x289)]&&_0x38e1e2[_0x4cda75(0x2b6)]();});}async[_0x15f1b2(0x260)](_0x26edb7,_0x347a6d,_0x1e3526,_0x1950f4){const _0x3496cd=_0x15f1b2;if(!this[_0x3496cd(0x237)]&&this[_0x3496cd(0x29a)][_0x3496cd(0x27c)]==_0x347a6d){const _0x258978=this[_0x3496cd(0x27d)](_0x1e3526,_0x1950f4);await this[_0x3496cd(0x271)](_0x258978),this[_0x3496cd(0x1ee)](_0x258978,_0x347a6d,_0x1e3526[_0x3496cd(0x225)])||this[_0x3496cd(0x25d)](_0x3496cd(0x1e8));}}async[_0x15f1b2(0x1f1)](){const _0x3601ec=_0x15f1b2;this[_0x3601ec(0x2b5)]();const {locale:_0x35e22e}=this[_0x3601ec(0x2c5)];let _0x1361ac;try{_0x1361ac=await this[_0x3601ec(0x209)][_0x3601ec(0x2ac)]();}catch(_0x59de44){const _0x196f3a=_0xe23eda(_0x35e22e,_0x3601ec(0x2b9));return void this[_0x3601ec(0x2dc)](_0x196f3a);}const _0x308a16=_0x1361ac[_0x3601ec(0x215)]||_0x1361ac[_0x3601ec(0x26b)];if(this[_0x3601ec(0x1e2)]===_0x308a16[_0x3601ec(0x225)])await this[_0x3601ec(0x2b7)](this[_0x3601ec(0x2c5)][_0x3601ec(0x219)][_0x3601ec(0x233)][_0x3601ec(0x2b3)][_0x3601ec(0x1f7)](),!0x0);else{const _0x1e58f1=_0xe23eda(_0x35e22e,_0x3601ec(0x252));this[_0x3601ec(0x2dc)](_0x1e58f1);}}[_0x15f1b2(0x2b5)](){const _0x159615=_0x15f1b2;this[_0x159615(0x209)][_0x159615(0x210)](),this[_0x159615(0x27e)]=[],clearTimeout(this[_0x159615(0x2d6)]),this[_0x159615(0x257)](this[_0x159615(0x209)]);}[_0x15f1b2(0x20a)](_0x208d8c){const _0x155722=_0x15f1b2,_0x53dff8=this[_0x155722(0x2c5)][_0x155722(0x24a)][_0x155722(0x277)](_0x5ad414);this[_0x155722(0x286)](_0x53dff8,_0x155722(0x2a9)+this[_0x155722(0x27f)],(_0xc2e508,{session:_0x49315a})=>{const _0x389651=_0x155722;if(_0x49315a['id']===_0x53dff8[_0x389651(0x264)]){_0xc2e508[_0x389651(0x2e2)]();const _0x223f8c=this[_0x389651(0x2c5)][_0x389651(0x24a)][_0x389651(0x280)](_0x389651(0x204))&&this[_0x389651(0x2c5)][_0x389651(0x24a)][_0x389651(0x277)](_0x389651(0x204));let _0x2ae955=_0x49315a[_0x389651(0x1f9)];_0x223f8c&&_0x223f8c[_0x389651(0x28b)]&&(_0x2ae955=_0x2ae955[_0x389651(0x24f)](_0x451695=>_0x389651(0x259)!==_0x451695)),this[_0x389651(0x2c5)][_0x389651(0x24a)][_0x389651(0x277)](_0x389651(0x200))[_0x389651(0x2ab)](_0x2ae955,this[_0x389651(0x27f)]);}}),_0x53dff8[_0x155722(0x1fd)](this[_0x155722(0x27f)],_0x208d8c);}[_0x15f1b2(0x28a)](){const _0x258cb5=_0x15f1b2,_0x43c95d=this[_0x258cb5(0x2c5)][_0x258cb5(0x2bf)][_0x258cb5(0x22e)];this[_0x258cb5(0x2c5)][_0x258cb5(0x2bf)][_0x258cb5(0x22e)]=(..._0x13c3fb)=>{const _0x5cb7c0=_0x258cb5;if(!_0x13c3fb[_0x13c3fb[_0x5cb7c0(0x289)]-0x1][_0x5cb7c0(0x285)])throw new _0x3e3c6b(_0x5cb7c0(0x244),this);_0x43c95d[_0x5cb7c0(0x218)](this[_0x5cb7c0(0x2c5)][_0x5cb7c0(0x2bf)],_0x13c3fb);};}[_0x15f1b2(0x222)](){const _0x1fbdcc=_0x15f1b2;this[_0x1fbdcc(0x2c5)][_0x1fbdcc(0x2bf)]['on'](_0x1fbdcc(0x1e3),(_0xb7abf0,[_0x3d0bf8])=>{const _0xaf34ef=_0x1fbdcc;if(this[_0xaf34ef(0x29a)][_0xaf34ef(0x27c)])throw new _0x3e3c6b(_0xaf34ef(0x2b1),this);_0xb7abf0[_0xaf34ef(0x26f)](),this[_0xaf34ef(0x2c3)]();const _0x23e62f=this[_0xaf34ef(0x2c5)][_0xaf34ef(0x254)][_0xaf34ef(0x277)](_0xaf34ef(0x26d)),_0x591c14=this[_0xaf34ef(0x22c)](_0x3d0bf8,_0x23e62f);0x0==_0x591c14[_0xaf34ef(0x289)]&&_0x591c14[_0xaf34ef(0x2a3)](new _0x3b7393(0x0)),_0xb7abf0[_0xaf34ef(0x2ae)]=this[_0xaf34ef(0x2b7)](_0x591c14)[_0xaf34ef(0x266)](()=>{const _0x7786bb=_0xaf34ef;this[_0x7786bb(0x2c5)][_0x7786bb(0x24a)][_0x7786bb(0x277)](_0x4db621)[_0x7786bb(0x2c8)](this),this[_0x7786bb(0x2c5)][_0x7786bb(0x2bf)][_0x7786bb(0x227)](_0x7786bb(0x275));})[_0xaf34ef(0x1fc)](_0x4596d7=>this[_0xaf34ef(0x25d)](_0xaf34ef(0x2b0),_0x4596d7))[_0xaf34ef(0x208)](()=>this[_0xaf34ef(0x201)]());},{'priority':_0x1fbdcc(0x230)}),this[_0x1fbdcc(0x2c5)]['on'](_0x1fbdcc(0x242),async(_0x36e508,[_0x5ecd86,_0x4c65f6])=>{const _0x3bf994=_0x1fbdcc;_0x36e508[_0x3bf994(0x26f)]();const _0x4d4608=this[_0x3bf994(0x2c5)][_0x3bf994(0x219)][_0x3bf994(0x233)][_0x3bf994(0x21c)](_0x5ecd86);if(!this[_0x3bf994(0x269)][_0x3bf994(0x280)](_0x5ecd86)){const _0x4af6a2=_0x4c65f6&&_0x4c65f6[_0x3bf994(0x2bf)]?_0x4c65f6[_0x3bf994(0x2bf)]:'',_0x3d0684=_0x4c65f6&&_0x4c65f6[_0x3bf994(0x240)]?_0x4c65f6[_0x3bf994(0x240)]:{};await this[_0x3bf994(0x28f)](_0x5ecd86,_0x4af6a2,_0x3d0684);}this[_0x3bf994(0x2c5)][_0x3bf994(0x219)][_0x3bf994(0x21f)]({'isUndoable':!0x1},()=>{const _0x1fdbcd=_0x3bf994;_0x4d4608[_0x1fdbcd(0x2a7)]=!0x0,this[_0x1fdbcd(0x2c5)][_0x1fdbcd(0x219)][_0x1fdbcd(0x233)][_0x1fdbcd(0x2b2)][_0x1fdbcd(0x205)](_0x4d4608);});},{'priority':_0x1fbdcc(0x230)});}async[_0x15f1b2(0x271)](_0x10bc94){const _0x4e4b68=_0x15f1b2,_0x44c5c8=this[_0x4e4b68(0x2c5)][_0x4e4b68(0x24a)][_0x4e4b68(0x277)](_0x2b9913),{connection:_0x3a4888}=this[_0x4e4b68(0x2c5)][_0x4e4b68(0x24a)][_0x4e4b68(0x277)](_0x4db621),_0x31b8a6=new Set();for(const _0x2b8c61 of _0x10bc94){const _0x18fdcb=_0x2b8c61[_0x4e4b68(0x2ce)];_0x18fdcb&&!_0x44c5c8[_0x4e4b68(0x1fb)](_0x18fdcb)&&_0x31b8a6[_0x4e4b68(0x299)](_0x18fdcb);}if(0x0===_0x31b8a6[_0x4e4b68(0x298)])return;const _0x25c861=await _0x49b26c[_0x4e4b68(0x2d5)](_0x3a4888,Array[_0x4e4b68(0x270)](_0x31b8a6));for(const _0x1fb7b0 of _0x25c861)_0x44c5c8[_0x4e4b68(0x1fb)](_0x1fb7b0['id'])||_0x44c5c8[_0x4e4b68(0x238)](_0x1fb7b0);}[_0x15f1b2(0x22c)](_0x3a514e,_0x37de7b={}){const _0x53fc31=_0x15f1b2,_0x455fd9=this[_0x53fc31(0x2c5)][_0x53fc31(0x219)],_0x721e42=[];let _0x3a5680=0x0;const _0x3e1842=_0x53fc31(0x1f0)==typeof _0x3a514e?{'main':_0x3a514e}:_0x3a514e;for(const _0xae09cf of Object[_0x53fc31(0x23c)](_0x3e1842)){if(!this[_0x53fc31(0x29a)][_0x53fc31(0x251)][_0x53fc31(0x280)](_0xae09cf))throw new _0x3e3c6b(_0x53fc31(0x214),this);const _0x379e0e=this[_0x53fc31(0x2c5)][_0x53fc31(0x2bf)][_0x53fc31(0x258)](_0x3e1842[_0xae09cf]),_0x431d8a=this[_0x53fc31(0x29a)][_0x53fc31(0x21c)](_0xae09cf),_0x4a2f95=new _0x5d7584(_0x455fd9[_0x53fc31(0x292)](_0x431d8a,0x0),_0x379e0e,_0x3a5680++);_0x721e42[_0x53fc31(0x2a3)](_0x4a2f95);for(const [_0x3589bb,_0x4b69bb]of _0x379e0e[_0x53fc31(0x295)]){const _0x48b113=_0x455fd9[_0x53fc31(0x282)](_0x455fd9[_0x53fc31(0x2d7)](_0x431d8a,_0x4b69bb[_0x53fc31(0x241)][_0x53fc31(0x239)][_0x53fc31(0x29d)]()),_0x455fd9[_0x53fc31(0x2d7)](_0x431d8a,_0x4b69bb[_0x53fc31(0x24d)][_0x53fc31(0x239)][_0x53fc31(0x29d)]())),_0x3b29ed=new _0x369d60(_0x3589bb,null,_0x48b113,_0x455fd9[_0x53fc31(0x295)],!0x0,_0x3a5680++);_0x721e42[_0x53fc31(0x2a3)](_0x3b29ed);}}if(_0x37de7b)for(const [_0x4b4446,_0x4c6cb1]of Object[_0x53fc31(0x2ba)](_0x37de7b)){const _0x142fc8=_0x455fd9[_0x53fc31(0x233)][_0x53fc31(0x21c)](_0x4b4446);if(!_0x142fc8)throw new _0x3e3c6b(_0x53fc31(0x21d),null);for(const [_0x4ea1e1,_0x5c97fe]of Object[_0x53fc31(0x2ba)](_0x4c6cb1))if(null!==_0x5c97fe){const _0x4e65f3=new _0x29fcae(_0x142fc8,_0x4ea1e1,null,_0x5c97fe,_0x3a5680++);_0x721e42[_0x53fc31(0x2a3)](_0x4e65f3);}}return _0x721e42;}async[_0x15f1b2(0x28f)](_0x3fcdef,_0x11ab54,_0x3236ea){const _0xd5b12=_0x15f1b2;this[_0xd5b12(0x22c)]({[_0x3fcdef]:_0x11ab54},{[_0x3fcdef]:_0x3236ea})[_0xd5b12(0x2c4)]((_0x2439ec,_0x142025)=>{const _0x1ec4da=_0xd5b12;_0x2439ec[_0x1ec4da(0x223)]=this[_0x1ec4da(0x29a)][_0x1ec4da(0x27c)]+_0x142025,_0x2439ec[_0x1ec4da(0x272)]=!0x0,this[_0x1ec4da(0x2a1)](_0x2439ec);}),this[_0xd5b12(0x256)](),await this[_0xd5b12(0x1fe)]();}async[_0x15f1b2(0x288)](_0x4d89f7,_0x249115){const _0x10c66f=_0x15f1b2;let _0x4633c7;this[_0x10c66f(0x2dd)]=_0x4d89f7[_0x10c66f(0x1e7)];const _0x543240=_0x4d89f7[_0x10c66f(0x216)]&&!_0x4d89f7[_0x10c66f(0x2da)],_0x283caa=_0x543240?0x0:_0x4d89f7[_0x10c66f(0x2bf)][_0x10c66f(0x223)];if(_0x249115[_0x10c66f(0x2c4)](_0x4fef6c=>{const _0x497cbb=_0x10c66f;_0x4fef6c[_0x497cbb(0x272)]=!0x0,_0x4fef6c[_0x497cbb(0x2bd)]=_0x4d89f7[_0x497cbb(0x20d)],_0x4fef6c[_0x497cbb(0x2ce)]=null;}),_0x543240)_0x4633c7=_0x249115,this[_0x10c66f(0x250)](_0x4633c7,_0x543240);else{if(_0x4d89f7[_0x10c66f(0x2da)]){const _0xb32a14=this[_0x10c66f(0x22c)](_0x4d89f7[_0x10c66f(0x2da)]);this[_0x10c66f(0x29a)][_0x10c66f(0x2b3)][_0x10c66f(0x27c)]=-_0xb32a14[_0x10c66f(0x289)],_0xb32a14[_0x10c66f(0x2c4)](_0x33d4e6=>{const _0x5f3e87=_0x10c66f;_0x33d4e6[_0x5f3e87(0x223)]-=_0xb32a14[_0x5f3e87(0x289)],_0x33d4e6[_0x5f3e87(0x2bd)]=_0x4d89f7[_0x5f3e87(0x20d)],_0x33d4e6[_0x5f3e87(0x272)]=!0x0,_0x33d4e6[_0x5f3e87(0x2ce)]=null;}),this[_0x10c66f(0x250)](_0xb32a14,!0x0),this[_0x10c66f(0x278)][_0x10c66f(0x27c)]=-_0xb32a14[_0x10c66f(0x289)]+this[_0x10c66f(0x2dd)],this[_0x10c66f(0x261)](_0xb32a14);}this[_0x10c66f(0x29a)][_0x10c66f(0x2b3)][_0x10c66f(0x27c)]=_0x283caa,_0x4633c7=this[_0x10c66f(0x27d)](_0x4d89f7[_0x10c66f(0x2bf)],_0x4d89f7[_0x10c66f(0x1ff)]),await this[_0x10c66f(0x271)](_0x4633c7),this[_0x10c66f(0x250)](_0x4633c7,_0x543240);}_0x4d89f7[_0x10c66f(0x225)]&&(this[_0x10c66f(0x1ed)][_0x10c66f(0x2a0)](_0x4633c7,_0x4d89f7[_0x10c66f(0x225)]),this[_0x10c66f(0x1e2)]=_0x4d89f7[_0x10c66f(0x225)]),this[_0x10c66f(0x278)][_0x10c66f(0x27c)]=_0x283caa+this[_0x10c66f(0x2dd)],this[_0x10c66f(0x261)](_0x4633c7),_0x249115[_0x10c66f(0x24f)](_0x46d669=>{const _0x515407=_0x10c66f,_0xec45d7=this[_0x515407(0x29f)](_0x46d669);return _0xec45d7&&!this[_0x515407(0x269)][_0x515407(0x280)](_0xec45d7);})[_0x10c66f(0x2c4)]((_0x5d551b,_0x583a5d)=>{const _0x171511=_0x10c66f;_0x5d551b[_0x171511(0x223)]=this[_0x171511(0x29a)][_0x171511(0x27c)]+_0x583a5d,this[_0x171511(0x2a1)](_0x5d551b);}),this[_0x10c66f(0x1e9)]()?(this[_0x10c66f(0x2e6)]=0x0,this[_0x10c66f(0x256)](!0x0),await this[_0x10c66f(0x1fe)]()):(this[_0x10c66f(0x237)]=!0x1,this[_0x10c66f(0x201)]());}[_0x15f1b2(0x25d)](_0x1309fa,_0x42950f){const _0x365f=_0x15f1b2;throw this[_0x365f(0x237)]=!0x0,_0x42950f&&console[_0x365f(0x23f)](_0x42950f),new _0x3e3c6b(_0x1309fa,this[_0x365f(0x2c5)]);}[_0x15f1b2(0x2a1)](_0x4d90e0){const _0x146ba9=_0x15f1b2;this[_0x146ba9(0x246)][_0x146ba9(0x280)](_0x4d90e0)||(this[_0x146ba9(0x246)][_0x146ba9(0x299)](_0x4d90e0),this[_0x146ba9(0x27e)][_0x146ba9(0x2a3)](_0x4d90e0),this[_0x146ba9(0x23e)]||_0x146ba9(0x287)==_0x4d90e0[_0x146ba9(0x24c)]&&!_0x4d90e0[_0x146ba9(0x245)]||this[_0x146ba9(0x2c3)]());}[_0x15f1b2(0x256)](_0x474338=!0x1){const _0x53385f=_0x15f1b2;!_0x474338&&this[_0x53385f(0x237)]||(this[_0x53385f(0x237)]=!0x0,clearTimeout(this[_0x53385f(0x2d6)]),this[_0x53385f(0x2d6)]=setTimeout(()=>{const _0x52b96e=_0x53385f;this[_0x52b96e(0x2a2)]()[_0x52b96e(0x266)](_0x203fd3=>{const _0x5d5bad=_0x52b96e;_0x203fd3&&(this[_0x5d5bad(0x201)](),this[_0x5d5bad(0x237)]=!0x1);})[_0x52b96e(0x1fc)](_0x4a357f=>{const _0x22aaa2=_0x52b96e;if(this[_0x22aaa2(0x201)](),this[_0x22aaa2(0x237)]=!0x1,!function(_0x38dcc6){const _0x12eac9=_0x22aaa2;return _0x38dcc6[_0x12eac9(0x2e5)][_0x12eac9(0x22a)](_0x12eac9(0x220))||_0x38dcc6[_0x12eac9(0x2e5)][_0x12eac9(0x22a)](_0x12eac9(0x2c1))||_0x38dcc6[_0x12eac9(0x2e5)][_0x12eac9(0x22a)](_0x12eac9(0x25c));}(_0x4a357f))throw _0x4a357f;});},this[_0x53385f(0x2e6)]));}[_0x15f1b2(0x1fe)](){return new Promise(_0x5ebb8c=>{const _0x27e711=_0xe987;this['on'](_0x27e711(0x2cf),()=>{_0x5ebb8c();});});}async[_0x15f1b2(0x2a2)](){const _0x5afed1=_0x15f1b2,_0x68d320=this[_0x5afed1(0x2c5)][_0x5afed1(0x24a)][_0x5afed1(0x277)](_0x28f308);if(this[_0x5afed1(0x283)]()&&(_0x68d320[_0x5afed1(0x2b6)](),this[_0x5afed1(0x23a)]=!0x1),!this[_0x5afed1(0x1e9)]())return!0x0;const _0x5f2c5e=[...this[_0x5afed1(0x27e)]];for(const _0x5cee62 of _0x5f2c5e)_0x5cee62[_0x5afed1(0x224)]=this[_0x5afed1(0x29a)][_0x5afed1(0x2b3)][_0x5afed1(0x29c)](_0x5cee62);const _0x5bd040=this[_0x5afed1(0x1ed)][_0x5afed1(0x226)](_0x5f2c5e),_0x5c69f8=K++,_0x22b553=this[_0x5afed1(0x255)](_0x5f2c5e),_0x1c099e=await this[_0x5afed1(0x209)][_0x5afed1(0x2d8)](_0x22b553,_0x22b553[_0x5afed1(0x223)],_0x5bd040);try{return await this[_0x5afed1(0x249)](_0x5f2c5e,_0x1c099e,_0x5c69f8);}catch(_0x1d1ef3){return this[_0x5afed1(0x25d)](_0x5afed1(0x1f4),_0x1d1ef3);}}async[_0x15f1b2(0x249)](_0x364e97,_0x44b6eb,_0x3cfd2c){const _0x47683a=_0x15f1b2;if(_0x47683a(0x23f)in _0x44b6eb)throw _0x44b6eb[_0x47683a(0x23f)];let _0x202dde=!0x1;if(_0x44b6eb[_0x47683a(0x216)]){_0x44b6eb[_0x47683a(0x225)]&&(this[_0x47683a(0x1e2)]=_0x44b6eb[_0x47683a(0x225)]),this[_0x47683a(0x27e)]=this[_0x47683a(0x27e)][_0x47683a(0x24f)](_0x3953ba=>!_0x364e97[_0x47683a(0x221)](_0x3953ba));for(const _0x5847e3 of _0x364e97)_0x5847e3[_0x47683a(0x2bd)]=_0x47683a(0x228)in _0x44b6eb&&_0x44b6eb[_0x47683a(0x228)]||void 0x0;Q(_0x364e97,_0x44b6eb[_0x47683a(0x27c)]-_0x364e97[_0x47683a(0x289)]),this[_0x47683a(0x261)](_0x364e97);const _0x56da62=_0x364e97[_0x47683a(0x24f)](_0x15928c=>{const _0x19c324=_0x47683a;if(!_0x15928c[_0x19c324(0x272)])return!0x1;const _0x4a1f0e=this[_0x19c324(0x29f)](_0x15928c);return _0x4a1f0e&&!this[_0x19c324(0x269)][_0x19c324(0x280)](_0x4a1f0e);});Q(_0x56da62,this[_0x47683a(0x29a)][_0x47683a(0x27c)]),this[_0x47683a(0x250)](_0x56da62),_0x202dde=!0x0,this[_0x47683a(0x2e6)]=this[_0x47683a(0x294)];}else{const _0x11aa56=this[_0x47683a(0x27d)](_0x44b6eb[_0x47683a(0x2bf)],_0x44b6eb[_0x47683a(0x1ff)])[_0x47683a(0x24f)](_0x1aa0d6=>_0x1aa0d6[_0x47683a(0x223)]>=this[_0x47683a(0x276)]);_0x11aa56[_0x47683a(0x2c4)](_0x48b2e2=>this[_0x47683a(0x274)](_0x48b2e2)),this[_0x47683a(0x27e)]=this[_0x47683a(0x27e)][_0x47683a(0x24f)](_0x22fb31=>!_0x22fb31[_0x47683a(0x272)]||!this[_0x47683a(0x269)][_0x47683a(0x280)](this[_0x47683a(0x29f)](_0x22fb31))),this[_0x47683a(0x27e)][_0x47683a(0x289)]&&Q(this[_0x47683a(0x27e)],this[_0x47683a(0x27e)][0x0][_0x47683a(0x223)]),await this[_0x47683a(0x271)](_0x11aa56),_0x202dde=this[_0x47683a(0x1ee)](_0x11aa56,_0x44b6eb[_0x47683a(0x27c)],_0x44b6eb[_0x47683a(0x225)]),this[_0x47683a(0x2e6)]=Math[_0x47683a(0x2de)](this[_0x47683a(0x2e6)]/0x2);}return _0x202dde?!this[_0x47683a(0x1e9)]()||(this[_0x47683a(0x256)](!0x0),!0x1):this[_0x47683a(0x25d)](_0x47683a(0x2c7));}[_0x15f1b2(0x1ee)](_0x165d6f,_0x28c9c8,_0x26e1d9){const _0x284631=_0x15f1b2;try{const _0xa04dbf={'document':this[_0x284631(0x29a)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x3142e2,operationsB:_0x373122,originalOperations:_0x2fe498}=_0x1c4b42(_0x165d6f,this[_0x284631(0x27e)],_0xa04dbf);Q(_0x3142e2,this[_0x284631(0x29a)][_0x284631(0x27c)]),Q(_0x373122,_0x28c9c8);for(const _0x3f821a of _0x3142e2){const _0xc46d99=_0x2fe498[_0x284631(0x277)](_0x3f821a);_0x3f821a[_0x284631(0x2ce)]=_0xc46d99?_0xc46d99[_0x284631(0x2ce)]:null;}_0x26e1d9&&(this[_0x284631(0x1ed)][_0x284631(0x2a0)](_0x165d6f,_0x26e1d9),this[_0x284631(0x1e2)]=_0x26e1d9),this[_0x284631(0x27e)]=[..._0x373122],this[_0x284631(0x250)](_0x3142e2),this[_0x284631(0x261)](_0x165d6f);}catch(_0x2f95f1){return console[_0x284631(0x23f)](_0x2f95f1),!0x1;}return!0x0;}[_0x15f1b2(0x250)](_0xfce2a,_0xccd5d0=!0x1){const _0x5a9dd3=_0x15f1b2;this[_0x5a9dd3(0x2c5)][_0x5a9dd3(0x219)][_0x5a9dd3(0x21f)]({'isUndoable':!0x1,'isLocal':!0x1},_0x533122=>{const _0x2f702e=_0x5a9dd3;for(const _0x804cc9 of _0xfce2a)this[_0x2f702e(0x246)][_0x2f702e(0x299)](_0x804cc9),this[_0x2f702e(0x274)](_0x804cc9),_0x533122[_0x2f702e(0x2c2)][_0x2f702e(0x2e0)](_0x804cc9),this[_0x2f702e(0x2c5)][_0x2f702e(0x219)][_0x2f702e(0x291)](_0x804cc9);});}[_0x15f1b2(0x274)](_0x57b1c1){const _0x5bdc40=_0x15f1b2,_0x4e7323=this[_0x5bdc40(0x29f)](_0x57b1c1);_0x4e7323&&this[_0x5bdc40(0x269)][_0x5bdc40(0x299)](_0x4e7323);}[_0x15f1b2(0x29f)](_0x4d7ee3){const _0x43be2b=_0x15f1b2;let _0xc4a0f2,_0x13325f;switch(_0x4d7ee3[_0x43be2b(0x24c)]){case _0x43be2b(0x25a):_0xc4a0f2=_0x4d7ee3[_0x43be2b(0x2df)][_0x43be2b(0x234)];break;case _0x43be2b(0x287):if(_0x13325f=_0x4d7ee3[_0x43be2b(0x265)],!_0x13325f)return null;_0xc4a0f2=_0x13325f[_0x43be2b(0x234)];break;case _0x43be2b(0x1ef):_0xc4a0f2=_0x4d7ee3[_0x43be2b(0x234)];break;case _0x43be2b(0x1f6):_0xc4a0f2=_0x4d7ee3[_0x43be2b(0x212)];break;case _0x43be2b(0x29e):_0xc4a0f2=_0x4d7ee3[_0x43be2b(0x2be)][_0x43be2b(0x234)];break;default:return null;}return _0xc4a0f2[_0x43be2b(0x284)];}[_0x15f1b2(0x261)](_0x158bfb){const _0x56a13d=_0x15f1b2;_0x158bfb[_0x56a13d(0x2c4)](_0x50c124=>{const _0x32cf59=_0x56a13d,_0x51dc75=_0x50c124[_0x32cf59(0x203)]();_0x51dc75[_0x32cf59(0x2ce)]=_0x50c124[_0x32cf59(0x2ce)],_0x51dc75[_0x32cf59(0x272)]=!!_0x50c124[_0x32cf59(0x272)],_0x51dc75[_0x32cf59(0x2bd)]=_0x50c124[_0x32cf59(0x2bd)],_0x51dc75[_0x32cf59(0x223)]+=this[_0x32cf59(0x2dd)],_0x50c124[_0x32cf59(0x2c9)]&&this[_0x32cf59(0x20e)][_0x32cf59(0x299)](_0x51dc75),this[_0x32cf59(0x278)][_0x32cf59(0x2e0)](_0x51dc75);});}[_0x15f1b2(0x2dc)](_0x1e0090){const _0x37ab0b=_0x15f1b2,_0x1d710c=this[_0x37ab0b(0x2c5)][_0x37ab0b(0x24a)][_0x37ab0b(0x277)](_0x37ab0b(0x297)),_0x57f61f=this[_0x37ab0b(0x2c5)][_0x37ab0b(0x290)];_0x1e0090||(_0x1e0090=_0xe23eda(_0x57f61f,_0x37ab0b(0x27b))),_0x1d710c[_0x37ab0b(0x2db)](_0x1e0090,{'title':_0xe23eda(_0x57f61f,_0x37ab0b(0x279)),'namespace':_0x37ab0b(0x262)}),this[_0x37ab0b(0x232)]=!0x0,clearTimeout(this[_0x37ab0b(0x2d6)]),this[_0x37ab0b(0x27e)]=[],this[_0x37ab0b(0x2c5)][_0x37ab0b(0x24a)][_0x37ab0b(0x277)](_0x4db621)[_0x37ab0b(0x2af)]();}[_0x15f1b2(0x2c3)](){const _0x26ffbe=_0x15f1b2;this[_0x26ffbe(0x23e)]||(this[_0x26ffbe(0x23e)]=this[_0x26ffbe(0x2c5)][_0x26ffbe(0x24a)][_0x26ffbe(0x277)](_0xcd2b6f)[_0x26ffbe(0x299)](_0xe23eda(this[_0x26ffbe(0x2c5)][_0x26ffbe(0x290)],_0x26ffbe(0x21b))));}[_0x15f1b2(0x201)](){const _0x29ab19=_0x15f1b2;this[_0x29ab19(0x23e)]&&(this[_0x29ab19(0x2c5)][_0x29ab19(0x24a)][_0x29ab19(0x277)](_0xcd2b6f)[_0x29ab19(0x206)](this[_0x29ab19(0x23e)]),this[_0x29ab19(0x23e)]=null);}[_0x15f1b2(0x255)](_0x416910){const _0x1fae25=_0x15f1b2,_0x260843=_0x416910[_0x1fae25(0x27a)](_0x952ddb=>_0x952ddb[_0x1fae25(0x2e1)]());return this[_0x1fae25(0x2e4)][_0x1fae25(0x236)](_0x260843);}[_0x15f1b2(0x27d)](_0x288cf8,_0x5b3496){const _0x14f465=_0x15f1b2;return this[_0x14f465(0x2e4)][_0x14f465(0x263)](_0x288cf8)[_0x14f465(0x27a)]((_0x18a9df,_0x5582e1)=>{const _0x4070fa=_0x14f465,_0x25a0bb=_0x4070fa(0x1e3)==_0x5b3496[_0x5582e1][_0x4070fa(0x24c)];if(_0x4070fa(0x273)==_0x18a9df[_0x4070fa(0x22f)]){const _0x273683=_0x18a9df[_0x4070fa(0x2df)][_0x4070fa(0x234)];!this[_0x4070fa(0x29a)][_0x4070fa(0x21c)](_0x273683)&&(this[_0x4070fa(0x29a)][_0x4070fa(0x1ec)](_0x4070fa(0x23d),_0x273683)[_0x4070fa(0x2d1)]=!0x1);}const _0x5ac702=_0x4191b8[_0x4070fa(0x2e3)](_0x18a9df,this[_0x4070fa(0x29a)]);return _0x5ac702[_0x4070fa(0x224)]=_0x18a9df[_0x4070fa(0x224)],_0x5ac702[_0x4070fa(0x272)]=_0x25a0bb,_0x5ac702[_0x4070fa(0x2ce)]=_0x25a0bb?null:_0x5b3496[_0x5582e1][_0x4070fa(0x1f2)],_0x5ac702[_0x4070fa(0x2c9)]=_0x4070fa(0x2d2)===_0x5b3496[_0x5582e1][_0x4070fa(0x24c)],_0x5ac702[_0x4070fa(0x2bd)]=_0x5b3496[_0x5582e1][_0x4070fa(0x2bd)],_0x5ac702;});}[_0x15f1b2(0x2c6)](){const _0x25612b=_0x15f1b2;this[_0x25612b(0x23a)]=!0x0,this[_0x25612b(0x283)]()?this[_0x25612b(0x256)]():this[_0x25612b(0x23a)]=!0x1;}[_0x15f1b2(0x283)](){const _0x257096=_0x15f1b2,_0x49d003=this[_0x257096(0x2c5)][_0x257096(0x24a)][_0x257096(0x277)](_0x5ad414)[_0x257096(0x2c0)][_0x257096(0x277)](this[_0x257096(0x27f)]);return!this[_0x257096(0x2c5)][_0x257096(0x281)]&&!!_0x49d003&&_0x49d003[_0x257096(0x289)]>0x1&&this[_0x257096(0x23a)];}[_0x15f1b2(0x1e9)](){const _0x4346b9=_0x15f1b2;return this[_0x4346b9(0x27e)][_0x4346b9(0x289)]>0x0||this[_0x4346b9(0x283)]();}}l[_0x15f1b2(0x2bb)]=_0x24a5a8;export default l;class J extends Error{}function _0xe987(_0x3d6751,_0xce316){const _0xc8b7e5=_0xc8b7();return _0xe987=function(_0xe98737,_0x1dd009){_0xe98737=_0xe98737-0x1e2;let _0x51c27a=_0xc8b7e5[_0xe98737];return _0x51c27a;},_0xe987(_0x3d6751,_0xce316);}function Q(_0x4bcfde,_0x58e95d){const _0x1d7ac3=_0x15f1b2;for(const _0x95d0e2 of _0x4bcfde)_0x95d0e2[_0x1d7ac3(0x223)]=_0x58e95d++;}class X{constructor(_0x22375f){const _0x1cb076=_0x15f1b2;this[_0x1cb076(0x202)]=_0x22375f,this[_0x1cb076(0x21e)]=new WeakMap();}[_0x15f1b2(0x226)](_0x1132ea){const _0x13a824=_0x15f1b2;let _0x44feda=_0x1132ea[_0x13a824(0x289)];for(;_0x44feda--;){const _0x110482=_0x1132ea[_0x44feda];if(!this[_0x13a824(0x202)][_0x13a824(0x280)](_0x110482)){if(!this[_0x13a824(0x21e)][_0x13a824(0x280)](_0x110482)){const _0x2b8f6f=_0x281225()[_0x13a824(0x29d)](0x1,0x12);this[_0x13a824(0x21e)][_0x13a824(0x22e)](_0x110482,_0x2b8f6f);}return this[_0x13a824(0x21e)][_0x13a824(0x277)](_0x110482);}}}[_0x15f1b2(0x2a0)](_0x167a1c,_0x171b4a){const _0x450eb0=_0x15f1b2;if(!_0x171b4a)return;let _0x554d71=_0x167a1c[_0x450eb0(0x289)];for(;_0x554d71--;){const _0x5502c5=_0x167a1c[_0x554d71];this[_0x450eb0(0x202)][_0x450eb0(0x280)](_0x5502c5)||this[_0x450eb0(0x21e)][_0x450eb0(0x22e)](_0x5502c5,_0x171b4a);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a74=['get','getUserBySessionId','clear','_handleSessionAdd','connection','_uniqueUsersCount','plugins','forEach','assign','_registeredSessions','allConnectedUsers','Sessions','size','defineMe','remove','connected','add','role','delete','has','user','_users','orderNumber','_handleSessionRemove','listenTo','pluginName','requires','getUser','change:state','getUserSessions','sessions-register-already-registered','fire','channelConnectedUsers','getUserRole','_createUser','sessions-unregister-not-exist','values','stopListening','isMe','context','state','channelSessions'];(function(_0x2357fb,_0x4a7430){const _0x1a95be=function(_0x4c3276){while(--_0x4c3276){_0x2357fb['push'](_0x2357fb['shift']());}};_0x1a95be(++_0x4a7430);}(_0x4a74,0xf8));const _0x1a95=function(_0x2357fb,_0x4a7430){_0x2357fb=_0x2357fb-0x0;let _0x1a95be=_0x4a74[_0x2357fb];return _0x1a95be;};import{ContextPlugin as _0x190f63}from'ckeditor5/src/core.js';import{Collection as _0x39c271,CKEditorError as _0x21c9f5}from'ckeditor5/src/utils.js';import _0x4a67e4 from'./websocketgateway.js';import{Users as _0x11ade3}from'ckeditor5-collaboration/src/collaboration-core.js';export default class r extends _0x190f63{static get[_0x1a95('0x1d')](){return _0x1a95('0xf');}static get[_0x1a95('0x1e')](){return[_0x4a67e4,_0x11ade3];}constructor(_0x572e01){super(_0x572e01),this[_0x1a95('0x3')]=new Map(),this['channelConnectedUsers']=new Map(),this[_0x1a95('0xe')]=new _0x39c271(),this[_0x1a95('0xd')]=new Map(),this[_0x1a95('0x9')]=0x0,this[_0x1a95('0x19')]=this[_0x1a95('0x1')][_0x1a95('0xa')]['get'](_0x11ade3);}['init'](){const _0x52a64e=this[_0x1a95('0x1')]['plugins'][_0x1a95('0x4')](_0x4a67e4);this[_0x1a95('0x1c')](_0x52a64e,_0x1a95('0x20'),(_0x54025d,_0x5012d9,_0x558a01)=>{if(_0x1a95('0x13')!==_0x558a01)this[_0x1a95('0x3')][_0x1a95('0xb')](_0x4e8c29=>_0x4e8c29[_0x1a95('0x6')]()),this['channelConnectedUsers']['forEach'](_0x3563a7=>_0x3563a7[_0x1a95('0x6')]()),this['allConnectedUsers']['clear']();else for(const [_0x27ffa6,_0x31042d]of this[_0x1a95('0xd')])for(const _0x3c96ff of _0x31042d)this[_0x1a95('0x7')](_0x27ffa6,_0x3c96ff);}),this[_0x1a95('0x26')](_0x52a64e[_0x1a95('0x8')]['me'],!0x0);}['register'](_0x28a677,_0x2a4fbc){if(this[_0x1a95('0xd')][_0x1a95('0x17')](_0x28a677))throw new _0x21c9f5(_0x1a95('0x22'),null,{'channelId':_0x28a677});this[_0x1a95('0xd')]['set'](_0x28a677,_0x2a4fbc),this[_0x1a95('0x3')]['set'](_0x28a677,new _0x39c271()),this['channelConnectedUsers']['set'](_0x28a677,new _0x39c271()),this[_0x1a95('0x1c')](_0x2a4fbc,_0x1a95('0x14'),(_0x49150d,_0x1f0f34)=>this[_0x1a95('0x7')](_0x28a677,_0x1f0f34)),this[_0x1a95('0x1c')](_0x2a4fbc,_0x1a95('0x12'),(_0x55bc85,_0x11cbdf)=>this[_0x1a95('0x1b')](_0x28a677,_0x11cbdf));for(const _0x54e767 of _0x2a4fbc)this[_0x1a95('0x7')](_0x28a677,_0x54e767);}['unregister'](_0x270008){if(!this[_0x1a95('0xd')][_0x1a95('0x17')](_0x270008))throw new _0x21c9f5(_0x1a95('0x27'),null,{'channelId':_0x270008});const _0xa48316=this[_0x1a95('0xd')][_0x1a95('0x4')](_0x270008);this[_0x1a95('0x29')](_0xa48316);for(const _0x2bcb25 of _0xa48316)_0x1a95('0x13')===this[_0x1a95('0x1')][_0x1a95('0xa')][_0x1a95('0x4')](_0x4a67e4)[_0x1a95('0x2')]&&this[_0x1a95('0x1b')](_0x270008,_0x2bcb25);this[_0x1a95('0xd')][_0x1a95('0x16')](_0x270008),this['channelSessions'][_0x1a95('0x16')](_0x270008),this['channelConnectedUsers'][_0x1a95('0x16')](_0x270008);}get['mySessionId'](){return this[_0x1a95('0x1')][_0x1a95('0xa')]['get'](_0x4a67e4)[_0x1a95('0x8')]['sessionId'];}[_0x1a95('0x5')](_0x543347){for(const _0x192a3c of this[_0x1a95('0x3')][_0x1a95('0x28')]())for(const _0xf59ca of _0x192a3c)if(_0xf59ca['id']===_0x543347)return _0xf59ca[_0x1a95('0x18')];}['getUserSessions'](_0x3422d0,_0x3ba23a){const _0x49fc15=_0x3ba23a?[this[_0x1a95('0x3')][_0x1a95('0x4')](_0x3ba23a)]:this['channelSessions'][_0x1a95('0x28')](),_0x3ae168=new Set();for(const _0x8cd75d of _0x49fc15)for(const _0x4c2c98 of _0x8cd75d)_0x4c2c98[_0x1a95('0x18')]['id']===_0x3422d0['id']&&_0x3ae168['add'](_0x4c2c98['id']);return _0x3ae168;}[_0x1a95('0x25')](_0x1a032e){for(const _0x29d372 of this['channelSessions'][_0x1a95('0x28')]())for(const _0xfbe2f7 of _0x29d372)if(_0xfbe2f7[_0x1a95('0x18')]===_0x1a032e)return _0xfbe2f7[_0x1a95('0x15')];}[_0x1a95('0x7')](_0x1f5655,_0xcc83f7){if(_0x1a95('0x13')!==this['context']['plugins']['get'](_0x4a67e4)[_0x1a95('0x2')])return;const _0x5b39c4=_0xcc83f7['user'],_0x10c4e1=this[_0x1a95('0x19')][_0x1a95('0x1f')](_0x5b39c4['id'])||this[_0x1a95('0x26')](_0x5b39c4),_0x2e65c6=Object[_0x1a95('0xc')]({},_0xcc83f7,{'user':_0x10c4e1});this[_0x1a95('0x3')][_0x1a95('0x4')](_0x1f5655)[_0x1a95('0x14')](_0x2e65c6);const _0x1891d8=this[_0x1a95('0x24')]['get'](_0x1f5655);_0x1891d8[_0x1a95('0x17')](_0x10c4e1['id'])||_0x1891d8[_0x1a95('0x14')](_0x10c4e1),this[_0x1a95('0xe')][_0x1a95('0x17')](_0x10c4e1['id'])||this['allConnectedUsers']['add'](_0x10c4e1,_0x10c4e1[_0x1a95('0x0')]?0x0:void 0x0),this[_0x1a95('0x23')]('sessionAdd:'+_0x1f5655,{'channelId':_0x1f5655,'session':_0x2e65c6});}[_0x1a95('0x1b')](_0x5558df,_0x5f4da0){if('connected'!==this[_0x1a95('0x1')][_0x1a95('0xa')][_0x1a95('0x4')](_0x4a67e4)[_0x1a95('0x2')])return;const _0x1ddd67=this[_0x1a95('0x24')]['get'](_0x5558df),_0x4c4858=_0x5f4da0[_0x1a95('0x18')];_0x4c4858['id']&&(this['channelSessions'][_0x1a95('0x4')](_0x5558df)[_0x1a95('0x12')](_0x5f4da0['id']),_0x1ddd67[_0x1a95('0x17')](_0x4c4858['id'])&&!this['getUserSessions'](_0x4c4858,_0x5558df)[_0x1a95('0x10')]&&_0x1ddd67[_0x1a95('0x12')](_0x4c4858['id']),this['allConnectedUsers'][_0x1a95('0x4')](_0x4c4858['id'])&&!this[_0x1a95('0x21')](_0x4c4858)[_0x1a95('0x10')]&&this['allConnectedUsers'][_0x1a95('0x12')](_0x4c4858['id']));}[_0x1a95('0x26')](_0x79805b,_0x5d1355){const _0x8b865c=this[_0x1a95('0x19')]['addUser'](_0x79805b);return _0x5d1355&&this[_0x1a95('0x19')][_0x1a95('0x11')](_0x79805b['id']),_0x8b865c[_0x1a95('0x1a')]=this[_0x1a95('0x9')]++,_0x8b865c;}}
23
+ function _0xff7d(){const _0x3fcae6=['3158985ceGonT','plugins','state','_registeredSessions','delete','user','sessionId','role','remove','values','pluginName','has','2488dOPuCz','context','148248avCTIK','_createUser','register','channelSessions','listenTo','fire','connection','addUser','584280sICkyC','channelConnectedUsers','connected','_users','5720071zIQPZM','getUserRole','forEach','isMe','getUserSessions','add','_handleSessionRemove','unregister','init','_uniqueUsersCount','get','clear','sessions-unregister-not-exist','getUser','_handleSessionAdd','1054832uiaXZj','getUserBySessionId','sessions-register-already-registered','size','mySessionId','Sessions','3274FeMSST','537wUVzeM','allConnectedUsers','requires','defineMe','assign','stopListening','sessionAdd:','52749DxRUfo','change:state','orderNumber','set'];_0xff7d=function(){return _0x3fcae6;};return _0xff7d();}const _0x1935fa=_0x5757;function _0x5757(_0x27e67f,_0x4c64af){const _0xff7d2=_0xff7d();return _0x5757=function(_0x57576e,_0x44c889){_0x57576e=_0x57576e-0x197;let _0x21fd18=_0xff7d2[_0x57576e];return _0x21fd18;},_0x5757(_0x27e67f,_0x4c64af);}(function(_0x1bed8c,_0x21a79d){const _0x2cd59a=_0x5757,_0x1a7aed=_0x1bed8c();while(!![]){try{const _0x29c5aa=-parseInt(_0x2cd59a(0x1b4))/0x1*(-parseInt(_0x2cd59a(0x1b3))/0x2)+parseInt(_0x2cd59a(0x1cd))/0x3+parseInt(_0x2cd59a(0x1ad))/0x4+parseInt(_0x2cd59a(0x1bf))/0x5+-parseInt(_0x2cd59a(0x19a))/0x6+parseInt(_0x2cd59a(0x19e))/0x7+parseInt(_0x2cd59a(0x1cb))/0x8*(-parseInt(_0x2cd59a(0x1bb))/0x9);if(_0x29c5aa===_0x21a79d)break;else _0x1a7aed['push'](_0x1a7aed['shift']());}catch(_0x38561f){_0x1a7aed['push'](_0x1a7aed['shift']());}}}(_0xff7d,0xb0060));import{ContextPlugin as _0x3da629}from'ckeditor5/src/core.js';import{Collection as _0x5956f9,CKEditorError as _0x2fc7ea}from'ckeditor5/src/utils.js';import _0x1e6b12 from'./websocketgateway.js';import{Users as _0x47c146}from'ckeditor5-collaboration/src/collaboration-core.js';export default class r extends _0x3da629{static get[_0x1935fa(0x1c9)](){const _0x2751cf=_0x1935fa;return _0x2751cf(0x1b2);}static get[_0x1935fa(0x1b6)](){return[_0x1e6b12,_0x47c146];}constructor(_0x4e79fc){const _0x37b3f6=_0x1935fa;super(_0x4e79fc),this[_0x37b3f6(0x1d0)]=new Map(),this[_0x37b3f6(0x19b)]=new Map(),this[_0x37b3f6(0x1b5)]=new _0x5956f9(),this[_0x37b3f6(0x1c2)]=new Map(),this[_0x37b3f6(0x1a7)]=0x0,this[_0x37b3f6(0x19d)]=this[_0x37b3f6(0x1cc)][_0x37b3f6(0x1c0)][_0x37b3f6(0x1a8)](_0x47c146);}[_0x1935fa(0x1a6)](){const _0x168123=_0x1935fa,_0x94111d=this[_0x168123(0x1cc)][_0x168123(0x1c0)][_0x168123(0x1a8)](_0x1e6b12);this[_0x168123(0x1d1)](_0x94111d,_0x168123(0x1bc),(_0x1696ea,_0x8e38de,_0xd05f16)=>{const _0x2520e3=_0x168123;if(_0x2520e3(0x19c)!==_0xd05f16)this[_0x2520e3(0x1d0)][_0x2520e3(0x1a0)](_0x68437a=>_0x68437a[_0x2520e3(0x1a9)]()),this[_0x2520e3(0x19b)][_0x2520e3(0x1a0)](_0x19f255=>_0x19f255[_0x2520e3(0x1a9)]()),this[_0x2520e3(0x1b5)][_0x2520e3(0x1a9)]();else{for(const [_0x28d763,_0x5e2f42]of this[_0x2520e3(0x1c2)])for(const _0x39b8a4 of _0x5e2f42)this[_0x2520e3(0x1ac)](_0x28d763,_0x39b8a4);}}),this[_0x168123(0x1ce)](_0x94111d[_0x168123(0x198)]['me'],!0x0);}[_0x1935fa(0x1cf)](_0x4affe8,_0x223d3d){const _0x1cd099=_0x1935fa;if(this[_0x1cd099(0x1c2)][_0x1cd099(0x1ca)](_0x4affe8))throw new _0x2fc7ea(_0x1cd099(0x1af),null,{'channelId':_0x4affe8});this[_0x1cd099(0x1c2)][_0x1cd099(0x1be)](_0x4affe8,_0x223d3d),this[_0x1cd099(0x1d0)][_0x1cd099(0x1be)](_0x4affe8,new _0x5956f9()),this[_0x1cd099(0x19b)][_0x1cd099(0x1be)](_0x4affe8,new _0x5956f9()),this[_0x1cd099(0x1d1)](_0x223d3d,_0x1cd099(0x1a3),(_0x5a34f3,_0x219a4e)=>this[_0x1cd099(0x1ac)](_0x4affe8,_0x219a4e)),this[_0x1cd099(0x1d1)](_0x223d3d,_0x1cd099(0x1c7),(_0x52ed85,_0x54408d)=>this[_0x1cd099(0x1a4)](_0x4affe8,_0x54408d));for(const _0x457704 of _0x223d3d)this[_0x1cd099(0x1ac)](_0x4affe8,_0x457704);}[_0x1935fa(0x1a5)](_0x4bbe87){const _0xd11061=_0x1935fa;if(!this[_0xd11061(0x1c2)][_0xd11061(0x1ca)](_0x4bbe87))throw new _0x2fc7ea(_0xd11061(0x1aa),null,{'channelId':_0x4bbe87});const _0x21df8d=this[_0xd11061(0x1c2)][_0xd11061(0x1a8)](_0x4bbe87);this[_0xd11061(0x1b9)](_0x21df8d);for(const _0x55ea64 of _0x21df8d)_0xd11061(0x19c)===this[_0xd11061(0x1cc)][_0xd11061(0x1c0)][_0xd11061(0x1a8)](_0x1e6b12)[_0xd11061(0x1c1)]&&this[_0xd11061(0x1a4)](_0x4bbe87,_0x55ea64);this[_0xd11061(0x1c2)][_0xd11061(0x1c3)](_0x4bbe87),this[_0xd11061(0x1d0)][_0xd11061(0x1c3)](_0x4bbe87),this[_0xd11061(0x19b)][_0xd11061(0x1c3)](_0x4bbe87);}get[_0x1935fa(0x1b1)](){const _0xeb5fa3=_0x1935fa;return this[_0xeb5fa3(0x1cc)][_0xeb5fa3(0x1c0)][_0xeb5fa3(0x1a8)](_0x1e6b12)[_0xeb5fa3(0x198)][_0xeb5fa3(0x1c5)];}[_0x1935fa(0x1ae)](_0x5b9cf7){const _0x46171e=_0x1935fa;for(const _0x49a647 of this[_0x46171e(0x1d0)][_0x46171e(0x1c8)]())for(const _0x42a42e of _0x49a647)if(_0x42a42e['id']===_0x5b9cf7)return _0x42a42e[_0x46171e(0x1c4)];}[_0x1935fa(0x1a2)](_0x417de8,_0x10b8c9){const _0x3d4672=_0x1935fa,_0x4bbe2f=_0x10b8c9?[this[_0x3d4672(0x1d0)][_0x3d4672(0x1a8)](_0x10b8c9)]:this[_0x3d4672(0x1d0)][_0x3d4672(0x1c8)](),_0x862893=new Set();for(const _0x1ed9f8 of _0x4bbe2f)for(const _0xed4e21 of _0x1ed9f8)_0xed4e21[_0x3d4672(0x1c4)]['id']===_0x417de8['id']&&_0x862893[_0x3d4672(0x1a3)](_0xed4e21['id']);return _0x862893;}[_0x1935fa(0x19f)](_0xe1f274){const _0x3a7528=_0x1935fa;for(const _0x4476c7 of this[_0x3a7528(0x1d0)][_0x3a7528(0x1c8)]())for(const _0x47c1f7 of _0x4476c7)if(_0x47c1f7[_0x3a7528(0x1c4)]===_0xe1f274)return _0x47c1f7[_0x3a7528(0x1c6)];}[_0x1935fa(0x1ac)](_0x6db9e9,_0x4e9271){const _0x12a459=_0x1935fa;if(_0x12a459(0x19c)!==this[_0x12a459(0x1cc)][_0x12a459(0x1c0)][_0x12a459(0x1a8)](_0x1e6b12)[_0x12a459(0x1c1)])return;const _0x5669e2=_0x4e9271[_0x12a459(0x1c4)],_0x557765=this[_0x12a459(0x19d)][_0x12a459(0x1ab)](_0x5669e2['id'])||this[_0x12a459(0x1ce)](_0x5669e2),_0xc3334f=Object[_0x12a459(0x1b8)]({},_0x4e9271,{'user':_0x557765});this[_0x12a459(0x1d0)][_0x12a459(0x1a8)](_0x6db9e9)[_0x12a459(0x1a3)](_0xc3334f);const _0x3a45eb=this[_0x12a459(0x19b)][_0x12a459(0x1a8)](_0x6db9e9);_0x3a45eb[_0x12a459(0x1ca)](_0x557765['id'])||_0x3a45eb[_0x12a459(0x1a3)](_0x557765),this[_0x12a459(0x1b5)][_0x12a459(0x1ca)](_0x557765['id'])||this[_0x12a459(0x1b5)][_0x12a459(0x1a3)](_0x557765,_0x557765[_0x12a459(0x1a1)]?0x0:void 0x0),this[_0x12a459(0x197)](_0x12a459(0x1ba)+_0x6db9e9,{'channelId':_0x6db9e9,'session':_0xc3334f});}[_0x1935fa(0x1a4)](_0x1c2930,_0x24253a){const _0x5c778a=_0x1935fa;if(_0x5c778a(0x19c)!==this[_0x5c778a(0x1cc)][_0x5c778a(0x1c0)][_0x5c778a(0x1a8)](_0x1e6b12)[_0x5c778a(0x1c1)])return;const _0x194fd=this[_0x5c778a(0x19b)][_0x5c778a(0x1a8)](_0x1c2930),_0x5b99a2=_0x24253a[_0x5c778a(0x1c4)];_0x5b99a2['id']&&(this[_0x5c778a(0x1d0)][_0x5c778a(0x1a8)](_0x1c2930)[_0x5c778a(0x1c7)](_0x24253a['id']),_0x194fd[_0x5c778a(0x1ca)](_0x5b99a2['id'])&&!this[_0x5c778a(0x1a2)](_0x5b99a2,_0x1c2930)[_0x5c778a(0x1b0)]&&_0x194fd[_0x5c778a(0x1c7)](_0x5b99a2['id']),this[_0x5c778a(0x1b5)][_0x5c778a(0x1a8)](_0x5b99a2['id'])&&!this[_0x5c778a(0x1a2)](_0x5b99a2)[_0x5c778a(0x1b0)]&&this[_0x5c778a(0x1b5)][_0x5c778a(0x1c7)](_0x5b99a2['id']));}[_0x1935fa(0x1ce)](_0x3914ae,_0x2f9795){const _0x241232=_0x1935fa,_0x490568=this[_0x241232(0x19d)][_0x241232(0x199)](_0x3914ae);return _0x2f9795&&this[_0x241232(0x19d)][_0x241232(0x1b7)](_0x3914ae['id']),_0x490568[_0x241232(0x1bd)]=this[_0x241232(0x1a7)]++,_0x490568;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x565f=['get','_createdBatches','setCustomProperty','orderNumber','has','getAttribute','user:range:','getStart','createUserMarkerOperations','hasContent','markers','user:range','set','newRange','getNearestSelectionRange','toDomElement','ck-user__marker\x20','highest','schema','getSelectionClass','commands','startsWith','color','marker','markerRange','init','getCustomProperty','$text','model','getUserBySessionId','update:user:range','requires','user:','toRange','editing','isSimilar','rootName','$graveyard','change','for','pluginName','getRange','getFirstRange','removeMarker','size','enqueueChange','delete','editingDowncast','UserMarkers','deletionPosition','createRange','hasDomSelection','start','updateMarker','markerToElement','addMarker','oldRange','mySessionId','clear','isCollapsed','data-session-id','getContainedElement','name','batch','checkChild','plugins','createUIElement','root','change:range','markerName','end','split','applyOperation','span','type','isInline','contenteditable','afterInit','view','document','user:position:','detach','editor','userPositionMarker'];(function(_0x163c27,_0x565f51){const _0x130921=function(_0xa64c91){while(--_0xa64c91){_0x163c27['push'](_0x163c27['shift']());}};_0x130921(++_0x565f51);}(_0x565f,0xc1));const _0x1309=function(_0x163c27,_0x565f51){_0x163c27=_0x163c27-0x0;let _0x130921=_0x565f[_0x163c27];return _0x130921;};import{Plugin as _0xf4291f}from'ckeditor5/src/core.js';import _0x5403dc from'./sessions.js';import{LiveRange as _0x3c78a9}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0xf4291f{static get[_0x1309('0x6')](){return[_0x5403dc];}static get[_0x1309('0xf')](){return _0x1309('0x17');}[_0x1309('0x0')](){const _0x2a2d1c=this[_0x1309('0x39')],_0x513c3a=_0x2a2d1c[_0x1309('0x28')][_0x1309('0x3b')](_0x5403dc);_0x2a2d1c['conversion']['for'](_0x1309('0x16'))[_0x1309('0x1d')]({'model':'user:position','view':(_0x17d176,{writer:_0x2f95fd})=>function(_0x5dbbc1,_0x8e4046,_0x34064a,_0x14d10f){const _0x2b8ffd=_0x5dbbc1[_0x1309('0x2c')][_0x1309('0x2e')](':')[0x2],_0x1ebed5=_0x34064a[_0x1309('0x4')](_0x2b8ffd);if(!_0x1ebed5||_0x2b8ffd===_0x34064a['mySessionId'])return;if(!_0x14d10f[_0x1309('0x3')][_0x1309('0x4d')][_0x1309('0x27')](_0x5dbbc1[_0x1309('0x53')][_0x1309('0x1b')],_0x1309('0x2')))return;const _0x2cb518={'class':_0x1309('0x4b')+_0x1ebed5[_0x1309('0x51')]['getMarkerClass'](),'data-name':_0x1ebed5[_0x1309('0x25')],'data-session-id':_0x2b8ffd},_0x145a57=_0x14d10f[_0x1309('0x3')]['markers'][_0x1309('0x3b')](_0x5dbbc1[_0x1309('0x2c')]),_0x141392=_0x145a57[_0x1309('0x42')](),_0x180f42=_0x141392['nodeAfter'],_0x1ae944=_0x14d10f[_0x1309('0x3')][_0x1309('0x4d')];if(_0x180f42&&_0x1ae944['isObject'](_0x180f42)&&_0x1ae944[_0x1309('0x32')](_0x180f42)&&!_0x14d10f[_0x1309('0x3')]['markers']['get'](_0x1309('0x41')+_0x2b8ffd)[_0x1309('0x10')]()[_0x1309('0x22')])return;const _0x1582d6=_0x141392['parent'];return _0x14d10f[_0x1309('0x3')][_0x1309('0x4d')]['isLimit'](_0x1582d6)&&!_0x14d10f[_0x1309('0x3')][_0x1309('0x44')](_0x1582d6)&&(_0x2cb518[_0x1309('0x33')]=!0x1),function(_0x82e249,_0x384810){const _0x348576=_0x82e249[_0x1309('0x29')](_0x1309('0x30'),_0x384810);return _0x82e249[_0x1309('0x3d')](_0x1309('0x3a'),!0x0,_0x348576),_0x348576['render']=function(_0x15e265){const _0xdd2262=this[_0x1309('0x4a')](_0x15e265);return _0xdd2262['innerHTML']='⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>⁠',_0xdd2262;},_0x348576[_0x1309('0xa')]=function(_0x47d7e0){return!(!this[_0x1309('0x1')](_0x1309('0x3a'))||!_0x47d7e0['getCustomProperty'](_0x1309('0x3a'))||this['getAttribute']('data-session-id')!=_0x47d7e0[_0x1309('0x40')](_0x1309('0x23')));},_0x348576;}(_0x8e4046,_0x2cb518);}(_0x17d176,_0x2f95fd,_0x513c3a,_0x2a2d1c)}),_0x2a2d1c['conversion'][_0x1309('0xe')](_0x1309('0x16'))['markerToHighlight']({'model':_0x1309('0x46'),'view':_0x51c31c=>function(_0x432d76,_0x237f29){const _0x29afd9=_0x432d76[_0x1309('0x2c')][_0x1309('0x2e')](':')[0x2];if(_0x29afd9===_0x237f29[_0x1309('0x20')])return null;const _0x232852=_0x237f29[_0x1309('0x4')](_0x29afd9);if(!_0x232852)return{'id':_0x29afd9,'classes':[]};return{'id':_0x29afd9,'classes':['ck-user__selection',_0x232852[_0x1309('0x51')][_0x1309('0x4e')]()],'attributes':{'data-session-id':_0x29afd9},'priority':0x7d0+_0x232852[_0x1309('0x3e')]};}(_0x51c31c,_0x513c3a)}),function(_0xf09134){const _0x35fefa=_0xf09134[_0x1309('0x3')],_0x361893=new Map(),_0x44c5ce=_0xf09134[_0x1309('0x28')]['get'](_0x5403dc);_0x35fefa['markers']['on'](_0x1309('0x5'),(_0x461067,_0x319c44,_0xfb0c29,_0x3291c5)=>{if(!_0x3291c5&&_0x361893[_0x1309('0x3b')](_0x319c44[_0x1309('0x25')]))return _0x361893['get'](_0x319c44[_0x1309('0x25')])[_0x1309('0x38')](),void _0x361893[_0x1309('0x15')](_0x319c44[_0x1309('0x25')]);const _0x6c7744=_0x319c44[_0x1309('0x25')]['split'](':')[0x2];if(_0x6c7744===_0x44c5ce['mySessionId'])return;const _0x4a7dcf=_0x1309('0x37')+_0x6c7744;_0x35fefa['markers'][_0x1309('0x3f')](_0x4a7dcf)&&_0xf09134['editing']['reconvertMarker'](_0x4a7dcf),_0x319c44['on']('change:range',(_0x203c85,_0x370f5e,_0x5f3f8a)=>{if(_0x1309('0xc')!=_0x370f5e['root'][_0x1309('0xb')]&&_0x1309('0xc')==_0x319c44[_0x1309('0x10')]()[_0x1309('0x2a')]['rootName']&&!_0x361893[_0x1309('0x3f')](_0x319c44[_0x1309('0x25')])){const _0x122c60=_0x35fefa[_0x1309('0x4d')]['getNearestSelectionRange'](_0x5f3f8a[_0x1309('0x18')]);if(_0x122c60){const _0x2edcb8=_0x3c78a9['fromRange'](_0x122c60);_0x361893[_0x1309('0x47')](_0x319c44[_0x1309('0x25')],_0x2edcb8),_0x2edcb8['on'](_0x1309('0x2b'),(_0x53cc0e,_0x50bdcf,_0x4eac3c)=>{if('$graveyard'==_0x2edcb8[_0x1309('0x2a')][_0x1309('0xb')]){const _0x1df780=_0x35fefa[_0x1309('0x4d')][_0x1309('0x49')](_0x4eac3c[_0x1309('0x18')]);_0x1df780?(_0x2edcb8['start']=_0x1df780['start'],_0x2edcb8[_0x1309('0x2d')]=_0x1df780[_0x1309('0x2d')]):(_0x361893[_0x1309('0x15')](_0x319c44['name']),_0x2edcb8['detach']());}});}}});}),_0x35fefa[_0x1309('0x36')]['on'](_0x1309('0xd'),()=>{_0x361893[_0x1309('0x13')]>0x0&&_0x35fefa[_0x1309('0x14')]({'isUndoable':!0x1},_0x4488b2=>{for(const [_0x200b7e,_0x25b4ea]of _0x361893)_0x1309('0xc')==_0x35fefa['markers'][_0x1309('0x3b')](_0x200b7e)[_0x1309('0x10')]()[_0x1309('0x2a')][_0x1309('0xb')]&&(Z(_0x200b7e[_0x1309('0x2e')](':')[0x2],_0x25b4ea[_0x1309('0x8')](),_0x35fefa,_0x4488b2),_0x25b4ea[_0x1309('0x38')]());_0x361893[_0x1309('0x21')]();});});}(_0x2a2d1c);}[_0x1309('0x34')](){const _0x2d944e=this[_0x1309('0x39')],_0x30a659=_0x2d944e[_0x1309('0x4f')][_0x1309('0x3b')]('undo');_0x30a659&&_0x2d944e[_0x1309('0x3')]['on'](_0x1309('0x2f'),(_0x1b89be,_0x282442)=>{const _0x13098e=_0x282442[0x0];if(_0x1309('0x52')!=_0x13098e[_0x1309('0x31')]||!_0x13098e[_0x1309('0x25')][_0x1309('0x50')](_0x1309('0x7')))return;const _0x58f2f9=_0x13098e[_0x1309('0x26')];_0x30a659[_0x1309('0x3c')][_0x1309('0x3f')](_0x58f2f9)&&(_0x13098e[_0x1309('0x48')]=_0x13098e[_0x1309('0x1f')]?_0x2d944e[_0x1309('0x3')][_0x1309('0x19')](_0x13098e['oldRange'][_0x1309('0x1b')],_0x13098e[_0x1309('0x1f')]['end']):null);},{'priority':_0x1309('0x4c')});}[_0x1309('0x43')](){const _0x43d8e8=this[_0x1309('0x39')],_0x56c0b5=_0x43d8e8[_0x1309('0x3')][_0x1309('0x36')],_0x3a9c88=_0x43d8e8[_0x1309('0x28')][_0x1309('0x3b')](_0x5403dc);_0x43d8e8[_0x1309('0x3')][_0x1309('0x14')]({'isUndoable':!0x1},_0x11d0ca=>{const _0xb2d202=_0x1309('0x41')+_0x3a9c88[_0x1309('0x20')],_0x2a3911='user:position:'+_0x3a9c88[_0x1309('0x20')],_0x32e9a0=_0x43d8e8[_0x1309('0x3')][_0x1309('0x45')][_0x1309('0x3f')](_0xb2d202);_0x43d8e8[_0x1309('0x9')][_0x1309('0x35')][_0x1309('0x1a')]?Z(_0x3a9c88[_0x1309('0x20')],_0x56c0b5['selection'][_0x1309('0x11')](),_0x43d8e8[_0x1309('0x3')],_0x11d0ca):_0x32e9a0&&(_0x11d0ca[_0x1309('0x12')](_0xb2d202),_0x11d0ca[_0x1309('0x12')](_0x2a3911));});}}function Z(_0x58e549,_0x36c90d,_0x1121de,_0x33d5d2){const _0x5c1a2d='user:range:'+_0x58e549,_0x3bff17=_0x1309('0x37')+_0x58e549,_0x2aaf1e=_0x36c90d[_0x1309('0x24')]();let _0x8e9f44=_0x36c90d[_0x1309('0x1b')];_0x2aaf1e&&_0x2aaf1e['is']('element','tableCell')&&(_0x8e9f44=function(_0x2ed743,_0x3f587b){for(const _0x3ad7d4 of _0x2ed743['getPositions']())if(_0x3f587b[_0x1309('0x4d')][_0x1309('0x27')](_0x3ad7d4,_0x1309('0x2')))return _0x3ad7d4;}(_0x36c90d,_0x1121de),_0x36c90d=_0x33d5d2['createRange'](_0x8e9f44));const _0x1ca924=_0x33d5d2[_0x1309('0x19')](_0x8e9f44);_0x1121de['markers'][_0x1309('0x3f')](_0x5c1a2d)?(_0x33d5d2[_0x1309('0x1c')](_0x5c1a2d,{'range':_0x36c90d}),_0x33d5d2[_0x1309('0x1c')](_0x3bff17,{'range':_0x1ca924})):(_0x33d5d2[_0x1309('0x1e')](_0x5c1a2d,{'range':_0x36c90d,'usingOperation':!0x0}),_0x33d5d2[_0x1309('0x1e')](_0x3bff17,{'range':_0x1ca924,'usingOperation':!0x0}));}
23
+ const _0x46fd5d=_0x5eb4;(function(_0x1f336b,_0x266976){const _0x20df6a=_0x5eb4,_0xb1626d=_0x1f336b();while(!![]){try{const _0x3ae066=parseInt(_0x20df6a(0x194))/0x1*(-parseInt(_0x20df6a(0x1b7))/0x2)+parseInt(_0x20df6a(0x1ca))/0x3+parseInt(_0x20df6a(0x1e7))/0x4+parseInt(_0x20df6a(0x1b1))/0x5*(parseInt(_0x20df6a(0x1b5))/0x6)+parseInt(_0x20df6a(0x1e9))/0x7*(-parseInt(_0x20df6a(0x18c))/0x8)+parseInt(_0x20df6a(0x1f4))/0x9*(-parseInt(_0x20df6a(0x1d8))/0xa)+-parseInt(_0x20df6a(0x192))/0xb*(parseInt(_0x20df6a(0x1aa))/0xc);if(_0x3ae066===_0x266976)break;else _0xb1626d['push'](_0xb1626d['shift']());}catch(_0x707254){_0xb1626d['push'](_0xb1626d['shift']());}}}(_0x4db2,0x6f45b));import{Plugin as _0xe24bf9}from'ckeditor5/src/core.js';import _0x144065 from'./sessions.js';import{LiveRange as _0x503eee}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0xe24bf9{static get[_0x46fd5d(0x1be)](){return[_0x144065];}static get[_0x46fd5d(0x1eb)](){const _0x295cc8=_0x46fd5d;return _0x295cc8(0x1ed);}[_0x46fd5d(0x1bf)](){const _0x1f591a=_0x46fd5d,_0x161c07=this[_0x1f591a(0x1d0)],_0x3a31f4=_0x161c07[_0x1f591a(0x1e0)][_0x1f591a(0x1b9)](_0x144065);_0x161c07[_0x1f591a(0x1d4)][_0x1f591a(0x1ce)](_0x1f591a(0x1c1))[_0x1f591a(0x1f9)]({'model':_0x1f591a(0x1c9),'view':(_0x4bbfd6,{writer:_0x39ace7})=>function(_0xc9d1e4,_0x4dbd4f,_0x2b7080,_0x2b6dda){const _0x4b2bb3=_0x1f591a,_0x577c31=_0xc9d1e4[_0x4b2bb3(0x1ef)][_0x4b2bb3(0x1e3)](':')[0x2],_0xf42dcd=_0x2b7080[_0x4b2bb3(0x18e)](_0x577c31);if(!_0xf42dcd||_0x577c31===_0x2b7080[_0x4b2bb3(0x1f8)])return;if(!_0x2b6dda[_0x4b2bb3(0x1bc)][_0x4b2bb3(0x19d)][_0x4b2bb3(0x1c6)](_0xc9d1e4[_0x4b2bb3(0x19e)][_0x4b2bb3(0x1ba)],_0x4b2bb3(0x1f3)))return;const _0x6f34dc={'class':_0x4b2bb3(0x1d7)+_0xf42dcd[_0x4b2bb3(0x1cd)][_0x4b2bb3(0x190)](),'data-name':_0xf42dcd[_0x4b2bb3(0x191)],'data-session-id':_0x577c31},_0x56ad74=_0x2b6dda[_0x4b2bb3(0x1bc)][_0x4b2bb3(0x1a2)][_0x4b2bb3(0x1b9)](_0xc9d1e4[_0x4b2bb3(0x1ef)]),_0x29a7ad=_0x56ad74[_0x4b2bb3(0x1b8)](),_0x992eab=_0x29a7ad[_0x4b2bb3(0x197)],_0x580c1e=_0x2b6dda[_0x4b2bb3(0x1bc)][_0x4b2bb3(0x19d)];if(_0x992eab&&_0x580c1e[_0x4b2bb3(0x19c)](_0x992eab)&&_0x580c1e[_0x4b2bb3(0x1ee)](_0x992eab)&&!_0x2b6dda[_0x4b2bb3(0x1bc)][_0x4b2bb3(0x1a2)][_0x4b2bb3(0x1b9)](_0x4b2bb3(0x193)+_0x577c31)[_0x4b2bb3(0x1b6)]()[_0x4b2bb3(0x1de)])return;const _0x4e153f=_0x29a7ad[_0x4b2bb3(0x1a9)];return _0x2b6dda[_0x4b2bb3(0x1bc)][_0x4b2bb3(0x19d)][_0x4b2bb3(0x18d)](_0x4e153f)&&!_0x2b6dda[_0x4b2bb3(0x1bc)][_0x4b2bb3(0x1ec)](_0x4e153f)&&(_0x6f34dc[_0x4b2bb3(0x18b)]=!0x1),function(_0x5a6c58,_0x54dff9){const _0x132a6c=_0x4b2bb3,_0x8620b5=_0x5a6c58[_0x132a6c(0x198)](_0x132a6c(0x1f6),_0x54dff9);return _0x5a6c58[_0x132a6c(0x1ae)](_0x132a6c(0x18f),!0x0,_0x8620b5),_0x8620b5[_0x132a6c(0x189)]=function(_0x156b97){const _0x2d2f33=_0x132a6c,_0x39be56=this[_0x2d2f33(0x1e4)](_0x156b97);return _0x39be56[_0x2d2f33(0x1d5)]=_0x2d2f33(0x1f1),_0x39be56;},_0x8620b5[_0x132a6c(0x1a0)]=function(_0x41d3e8){const _0x3fa8a7=_0x132a6c;return!(!this[_0x3fa8a7(0x1bb)](_0x3fa8a7(0x18f))||!_0x41d3e8[_0x3fa8a7(0x1bb)](_0x3fa8a7(0x18f))||this[_0x3fa8a7(0x1ad)](_0x3fa8a7(0x1db))!=_0x41d3e8[_0x3fa8a7(0x1ad)](_0x3fa8a7(0x1db)));},_0x8620b5;}(_0x4dbd4f,_0x6f34dc);}(_0x4bbfd6,_0x39ace7,_0x3a31f4,_0x161c07)}),_0x161c07[_0x1f591a(0x1d4)][_0x1f591a(0x1ce)](_0x1f591a(0x1c1))[_0x1f591a(0x1a1)]({'model':_0x1f591a(0x1b4),'view':_0x3edfb5=>function(_0x4efbd1,_0x48f41c){const _0x53732e=_0x1f591a,_0x59d316=_0x4efbd1[_0x53732e(0x1ef)][_0x53732e(0x1e3)](':')[0x2];if(_0x59d316===_0x48f41c[_0x53732e(0x1f8)])return null;const _0x1ea5c1=_0x48f41c[_0x53732e(0x18e)](_0x59d316);if(!_0x1ea5c1)return{'id':_0x59d316,'classes':[]};return{'id':_0x59d316,'classes':[_0x53732e(0x1e6),_0x1ea5c1[_0x53732e(0x1cd)][_0x53732e(0x18a)]()],'attributes':{'data-session-id':_0x59d316},'priority':0x7d0+_0x1ea5c1[_0x53732e(0x1c2)]};}(_0x3edfb5,_0x3a31f4)}),function(_0x2c2e23){const _0x1b9dea=_0x1f591a,_0x42e0fd=_0x2c2e23[_0x1b9dea(0x1bc)],_0x4ab7a2=new Map(),_0x550244=_0x2c2e23[_0x1b9dea(0x1e0)][_0x1b9dea(0x1b9)](_0x144065);_0x42e0fd[_0x1b9dea(0x1a2)]['on'](_0x1b9dea(0x1dc),(_0x5eafac,_0x2f49ef,_0x3c8599,_0x1b98a5)=>{const _0x33e388=_0x1b9dea;if(!_0x1b98a5&&_0x4ab7a2[_0x33e388(0x1b9)](_0x2f49ef[_0x33e388(0x191)]))return _0x4ab7a2[_0x33e388(0x1b9)](_0x2f49ef[_0x33e388(0x191)])[_0x33e388(0x1f0)](),void _0x4ab7a2[_0x33e388(0x1e1)](_0x2f49ef[_0x33e388(0x191)]);const _0x51d8dc=_0x2f49ef[_0x33e388(0x191)][_0x33e388(0x1e3)](':')[0x2];if(_0x51d8dc===_0x550244[_0x33e388(0x1f8)])return;const _0x1e60c2=_0x33e388(0x199)+_0x51d8dc;_0x42e0fd[_0x33e388(0x1a2)][_0x33e388(0x1da)](_0x1e60c2)&&_0x2c2e23[_0x33e388(0x1d6)][_0x33e388(0x1cc)](_0x1e60c2),_0x2f49ef['on'](_0x33e388(0x1a5),(_0x5581e0,_0x1ef4e0,_0x810252)=>{const _0x3f8d0f=_0x33e388;if(_0x3f8d0f(0x1a8)!=_0x1ef4e0[_0x3f8d0f(0x195)][_0x3f8d0f(0x1d1)]&&_0x3f8d0f(0x1a8)==_0x2f49ef[_0x3f8d0f(0x1b6)]()[_0x3f8d0f(0x195)][_0x3f8d0f(0x1d1)]&&!_0x4ab7a2[_0x3f8d0f(0x1da)](_0x2f49ef[_0x3f8d0f(0x191)])){const _0x492e4d=_0x42e0fd[_0x3f8d0f(0x19d)][_0x3f8d0f(0x187)](_0x810252[_0x3f8d0f(0x1c5)]);if(_0x492e4d){const _0x3a184f=_0x503eee[_0x3f8d0f(0x1c8)](_0x492e4d);_0x4ab7a2[_0x3f8d0f(0x1c3)](_0x2f49ef[_0x3f8d0f(0x191)],_0x3a184f),_0x3a184f['on'](_0x3f8d0f(0x1a5),(_0x387ea4,_0x1565ae,_0x24e615)=>{const _0x2b46d6=_0x3f8d0f;if(_0x2b46d6(0x1a8)==_0x3a184f[_0x2b46d6(0x195)][_0x2b46d6(0x1d1)]){const _0x48c3fc=_0x42e0fd[_0x2b46d6(0x19d)][_0x2b46d6(0x187)](_0x24e615[_0x2b46d6(0x1c5)]);_0x48c3fc?(_0x3a184f[_0x2b46d6(0x1ba)]=_0x48c3fc[_0x2b46d6(0x1ba)],_0x3a184f[_0x2b46d6(0x1f7)]=_0x48c3fc[_0x2b46d6(0x1f7)]):(_0x4ab7a2[_0x2b46d6(0x1e1)](_0x2f49ef[_0x2b46d6(0x191)]),_0x3a184f[_0x2b46d6(0x1f0)]());}});}}});}),_0x42e0fd[_0x1b9dea(0x1c4)]['on'](_0x1b9dea(0x1b3),()=>{const _0x3a1a7f=_0x1b9dea;_0x4ab7a2[_0x3a1a7f(0x19f)]>0x0&&_0x42e0fd[_0x3a1a7f(0x188)]({'isUndoable':!0x1},_0x575026=>{const _0xacca92=_0x3a1a7f;for(const [_0x131491,_0x68a819]of _0x4ab7a2)_0xacca92(0x1a8)==_0x42e0fd[_0xacca92(0x1a2)][_0xacca92(0x1b9)](_0x131491)[_0xacca92(0x1b6)]()[_0xacca92(0x195)][_0xacca92(0x1d1)]&&(Z(_0x131491[_0xacca92(0x1e3)](':')[0x2],_0x68a819[_0xacca92(0x1cf)](),_0x42e0fd,_0x575026),_0x68a819[_0xacca92(0x1f0)]());_0x4ab7a2[_0xacca92(0x1c7)]();});});}(_0x161c07);}[_0x46fd5d(0x1d3)](){const _0x357517=_0x46fd5d,_0x3c127e=this[_0x357517(0x1d0)],_0x3da800=_0x3c127e[_0x357517(0x1af)][_0x357517(0x1b9)](_0x357517(0x1c0));_0x3da800&&_0x3c127e[_0x357517(0x1bc)]['on'](_0x357517(0x1e8),(_0x1708b6,_0x2a1b0a)=>{const _0x3c58df=_0x357517,_0x532a9f=_0x2a1b0a[0x0];if(_0x3c58df(0x1b2)!=_0x532a9f[_0x3c58df(0x1df)]||!_0x532a9f[_0x3c58df(0x191)][_0x3c58df(0x196)](_0x3c58df(0x1a4)))return;const _0x3f4b86=_0x532a9f[_0x3c58df(0x1d9)];_0x3da800[_0x3c58df(0x1d2)][_0x3c58df(0x1da)](_0x3f4b86)&&(_0x532a9f[_0x3c58df(0x1f2)]=_0x532a9f[_0x3c58df(0x1f5)]?_0x3c127e[_0x3c58df(0x1bc)][_0x3c58df(0x1e5)](_0x532a9f[_0x3c58df(0x1f5)][_0x3c58df(0x1ba)],_0x532a9f[_0x3c58df(0x1f5)][_0x3c58df(0x1f7)]):null);},{'priority':_0x357517(0x1e2)});}[_0x46fd5d(0x1ac)](){const _0x2fee25=_0x46fd5d,_0x1823d0=this[_0x2fee25(0x1d0)],_0x2c4ae3=_0x1823d0[_0x2fee25(0x1bc)][_0x2fee25(0x1c4)],_0x777892=_0x1823d0[_0x2fee25(0x1e0)][_0x2fee25(0x1b9)](_0x144065);_0x1823d0[_0x2fee25(0x1bc)][_0x2fee25(0x188)]({'isUndoable':!0x1},_0x507fe3=>{const _0x46381e=_0x2fee25,_0x2aa929=_0x46381e(0x193)+_0x777892[_0x46381e(0x1f8)],_0x52805e=_0x46381e(0x199)+_0x777892[_0x46381e(0x1f8)],_0x2d5ecd=_0x1823d0[_0x46381e(0x1bc)][_0x46381e(0x1a2)][_0x46381e(0x1da)](_0x2aa929);_0x1823d0[_0x46381e(0x1d6)][_0x46381e(0x19b)][_0x46381e(0x1a7)]?Z(_0x777892[_0x46381e(0x1f8)],_0x2c4ae3[_0x46381e(0x1b0)][_0x46381e(0x1ea)](),_0x1823d0[_0x46381e(0x1bc)],_0x507fe3):_0x2d5ecd&&(_0x507fe3[_0x46381e(0x1dd)](_0x2aa929),_0x507fe3[_0x46381e(0x1dd)](_0x52805e));});}}function _0x5eb4(_0xc24680,_0x250746){const _0x4db2ae=_0x4db2();return _0x5eb4=function(_0x5eb482,_0x338603){_0x5eb482=_0x5eb482-0x187;let _0x16f8e2=_0x4db2ae[_0x5eb482];return _0x16f8e2;},_0x5eb4(_0xc24680,_0x250746);}function Z(_0x455b26,_0x474b74,_0x694bf3,_0x1e5091){const _0x2e32d1=_0x46fd5d,_0x2f25d1=_0x2e32d1(0x193)+_0x455b26,_0x587f8b=_0x2e32d1(0x199)+_0x455b26,_0x4f4e7e=_0x474b74[_0x2e32d1(0x1ab)]();let _0x46c762=_0x474b74[_0x2e32d1(0x1ba)];_0x4f4e7e&&_0x4f4e7e['is'](_0x2e32d1(0x1cb),_0x2e32d1(0x19a))&&(_0x46c762=function(_0x5f1cf1,_0x29ca3a){const _0x133ebd=_0x2e32d1;for(const _0x2ec693 of _0x5f1cf1[_0x133ebd(0x1bd)]())if(_0x29ca3a[_0x133ebd(0x19d)][_0x133ebd(0x1c6)](_0x2ec693,_0x133ebd(0x1f3)))return _0x2ec693;}(_0x474b74,_0x694bf3),_0x474b74=_0x1e5091[_0x2e32d1(0x1e5)](_0x46c762));const _0x151bac=_0x1e5091[_0x2e32d1(0x1e5)](_0x46c762);_0x694bf3[_0x2e32d1(0x1a2)][_0x2e32d1(0x1da)](_0x2f25d1)?(_0x1e5091[_0x2e32d1(0x1a3)](_0x2f25d1,{'range':_0x474b74}),_0x1e5091[_0x2e32d1(0x1a3)](_0x587f8b,{'range':_0x151bac})):(_0x1e5091[_0x2e32d1(0x1a6)](_0x2f25d1,{'range':_0x474b74,'usingOperation':!0x0}),_0x1e5091[_0x2e32d1(0x1a6)](_0x587f8b,{'range':_0x151bac,'usingOperation':!0x0}));}function _0x4db2(){const _0x4ff5be=['type','plugins','delete','highest','split','toDomElement','createRange','ck-user__selection','3500976OSYluQ','applyOperation','7nfBNqg','getFirstRange','pluginName','hasContent','UserMarkers','isInline','markerName','detach','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>⁠','newRange','$text','9FXLGzh','oldRange','span','end','mySessionId','markerToElement','getNearestSelectionRange','enqueueChange','render','getSelectionClass','contenteditable','1718168tPXfkk','isLimit','getUserBySessionId','userPositionMarker','getMarkerClass','name','11JaDldp','user:range:','8xLahAc','root','startsWith','nodeAfter','createUIElement','user:position:','tableCell','view','isObject','schema','markerRange','size','isSimilar','markerToHighlight','markers','updateMarker','user:','change:range','addMarker','hasDomSelection','$graveyard','parent','4016532HBxwVp','getContainedElement','createUserMarkerOperations','getAttribute','setCustomProperty','commands','selection','50YJemun','marker','change','user:range','6042QTBwCk','getRange','87664JFrZkg','getStart','get','start','getCustomProperty','model','getPositions','requires','init','undo','editingDowncast','orderNumber','set','document','deletionPosition','checkChild','clear','fromRange','user:position','2264016lIfKwz','element','reconvertMarker','color','for','toRange','editor','rootName','_createdBatches','afterInit','conversion','innerHTML','editing','ck-user__marker\x20','2840770NColPj','batch','has','data-session-id','update:user:range','removeMarker','isCollapsed'];_0x4db2=function(){return _0x4ff5be;};return _0x4db2();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4743=['_reconnect','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.','isInReconnectionStack','online','pluginName','webSocketUrl','requires','cloudservices-init','CONNECTED','limitExceeded','disconnect','create','websocketgateway-plugin-already-registered','stopListening','init','from','reconnect','DISCONNECTED','websocketgateway-missing-token','connected','Connected\x20users\x20limit\x20exceeded','CloudServices','WebSocketGateway','token','get','then','showWarning','addToReconnectionStack','cloudservices-reconnection-error','offline','_shouldPluginsReconnect','connection','set','_domEmitter','destroy','add','initialReconnectionInterval','context','plugins','_reconnectionStack','bind','listenTo','has','config','constructor','change:me','_isBrowserOffline','websocketgateway-missing-websocket-url','real-time-collaboration','catch','state','error','function','CONNECTING','cloudServices.connectionTimeout'];(function(_0x43ac50,_0x474389){const _0x419625=function(_0x48b801){while(--_0x48b801){_0x43ac50['push'](_0x43ac50['shift']());}};_0x419625(++_0x474389);}(_0x4743,0x180));const _0x4196=function(_0x43ac50,_0x474389){_0x43ac50=_0x43ac50-0x0;let _0x419625=_0x4743[_0x43ac50];return _0x419625;};import{ContextPlugin as _0x2c7771}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x59dcd8,CKEditorError as _0x46eeb5}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x5e2ef0,WEB_SOCKET_GATEWAY_STATES as _0x319b33}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x437a83}from'ckeditor5/src/ui.js';class c extends _0x2c7771{static get[_0x4196('0x7')](){return['CloudServices',_0x437a83];}static get['pluginName'](){return _0x4196('0x17');}constructor(_0x2cba68){super(_0x2cba68),this[_0x4196('0x21')]('state',_0x319b33['CONNECTED']),this[_0x4196('0x21')]('_isBrowserOffline',!0x1),this[_0x4196('0x28')]=new Set(),this['_shouldPluginsReconnect']=!0x1,this[_0x4196('0x22')]=Object[_0x4196('0xc')](_0x59dcd8);}[_0x4196('0xf')](){const _0x359020=this[_0x4196('0x26')],_0x36b361=_0x359020[_0x4196('0x27')][_0x4196('0x19')](_0x4196('0x16')),_0x376a52=_0x359020[_0x4196('0x27')]['get'](_0x437a83);if(!_0x36b361[_0x4196('0x18')])throw new _0x46eeb5(_0x4196('0x13'),this);if(!_0x36b361[_0x4196('0x6')])throw new _0x46eeb5(_0x4196('0x30'),this);return this[_0x4196('0x22')][_0x4196('0x2a')](window,_0x4196('0x1e'),()=>this[_0x4196('0x2f')]=!0x0),this[_0x4196('0x22')]['listenTo'](window,_0x4196('0x4'),()=>this['_isBrowserOffline']=!0x1),this['context'][_0x4196('0x2c')]['define']('cloudServices.connectionTimeout',0xa),this[_0x4196('0x26')]['config']['define']('cloudServices.requestTimeout',0x14),c[_0x4196('0x17')]['connect'](_0x36b361['token'],_0x36b361[_0x4196('0x6')],{'timeout':0x3e8*this[_0x4196('0x26')][_0x4196('0x2c')][_0x4196('0x19')](_0x4196('0x0')),'requestTimeout':0x3e8*this['context'][_0x4196('0x2c')][_0x4196('0x19')]('cloudServices.requestTimeout')})['then'](_0x3513ee=>{if(this[_0x4196('0x20')]=_0x3513ee,this[_0x4196('0x29')](_0x4196('0x33'))['to'](_0x3513ee,_0x4196('0x33'),this,'_isBrowserOffline',(_0x3601e5,_0x2beebb)=>(_0x4196('0x14')!==_0x3601e5&&(this['_shouldPluginsReconnect']=!0x0),_0x2beebb||_0x3601e5!==_0x319b33[_0x4196('0x9')]?_0x319b33['DISCONNECTED']:this[_0x4196('0x33')]==_0x319b33['DISCONNECTED']&&this['_shouldPluginsReconnect']?(this[_0x4196('0x1f')]=!0x1,this[_0x4196('0x1')](),_0x319b33[_0x4196('0x36')]):_0x319b33[_0x4196('0x9')])),this[_0x4196('0x20')]['on'](_0x4196('0x34'),(_0x166c6d,_0x3265f9)=>{if(_0x4196('0xa')!==_0x3265f9['code'])throw console[_0x4196('0x34')](_0x3265f9),new _0x46eeb5('cloudservices-init',null,{'originalError':_0x3265f9});_0x376a52[_0x4196('0x1b')](_0x4196('0x2'),{'title':_0x4196('0x15'),'namespace':_0x4196('0x31')});}),!_0x3513ee['me'])return new Promise(_0x2e78b6=>_0x3513ee['on'](_0x4196('0x2e'),_0x2e78b6));})['catch'](_0x392c67=>{throw console[_0x4196('0x34')](_0x392c67),new _0x46eeb5(_0x4196('0x8'),null,{'originalError':_0x392c67});});}[_0x4196('0x1c')](_0x487f32){if(_0x4196('0x35')!=typeof _0x487f32[_0x4196('0x11')])throw new _0x46eeb5('websocketgateway-invalid-plugin-interface',this);if(this[_0x4196('0x3')](_0x487f32))throw new _0x46eeb5(_0x4196('0xd'),this,{'name':_0x487f32[_0x4196('0x2d')][_0x4196('0x5')]});this[_0x4196('0x28')][_0x4196('0x24')](_0x487f32);}['removeFromReconnectionStack'](_0x12907f){this['_reconnectionStack']['delete'](_0x12907f);}[_0x4196('0x3')](_0x20a288){return this[_0x4196('0x28')][_0x4196('0x2b')](_0x20a288);}[_0x4196('0x1')](){return this[_0x4196('0x20')][_0x4196('0x11')]()['then'](()=>Promise['all'](Array[_0x4196('0x10')](this['_reconnectionStack'],_0x1b7393=>_0x1b7393[_0x4196('0x11')]())))[_0x4196('0x1a')](()=>this[_0x4196('0x33')]=_0x319b33[_0x4196('0x9')])[_0x4196('0x32')](_0x4a8cca=>{throw console['error'](_0x4a8cca),new _0x46eeb5(_0x4196('0x1d'),this[_0x4196('0x26')]);});}[_0x4196('0x23')](){this[_0x4196('0x20')]&&this['connection'][_0x4196('0xb')](),this[_0x4196('0x33')]=_0x319b33[_0x4196('0x12')],this[_0x4196('0x22')][_0x4196('0xe')](),super[_0x4196('0x23')]();}}c[_0x4196('0x17')]=_0x5e2ef0,c[_0x4196('0x25')]=0x3e8;export default c;
23
+ function _0x1d38(){const _0x1c6219=['delete','add','plugins','listenTo','from','5772030NzjLYE','22HwBjFJ','bind','disconnect','create','1443458zWjxOt','_reconnect','function','isInReconnectionStack','4004ohqlRq','cloudservices-reconnection-error','_isBrowserOffline','offline','connected','set','pluginName','1DbEDNg','config','_shouldPluginsReconnect','constructor','init','then','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.','DISCONNECTED','WebSocketGateway','showWarning','online','1350468KmgCuT','cloudServices.connectionTimeout','context','_domEmitter','limitExceeded','token','4958429kqTgwn','5170ZgqeLV','_reconnectionStack','CONNECTED','catch','CloudServices','websocketgateway-missing-websocket-url','connect','real-time-collaboration','Connected\x20users\x20limit\x20exceeded','websocketgateway-invalid-plugin-interface','stopListening','reconnect','6DqOMfW','cloudServices.requestTimeout','state','11586195QcHKZA','websocketgateway-plugin-already-registered','webSocketUrl','connection','initialReconnectionInterval','CONNECTING','removeFromReconnectionStack','2984208PrapIv','get','destroy','define','change:me','code','cloudservices-init','all','websocketgateway-missing-token','has','requires','addToReconnectionStack'];_0x1d38=function(){return _0x1c6219;};return _0x1d38();}const _0x45b7c1=_0x24b8;(function(_0x23272f,_0x300bc6){const _0x3459a2=_0x24b8,_0x5a8b18=_0x23272f();while(!![]){try{const _0x1eea5f=parseInt(_0x3459a2(0x74))/0x1*(-parseInt(_0x3459a2(0xb3))/0x2)+-parseInt(_0x3459a2(0x80))/0x3+-parseInt(_0x3459a2(0xb7))/0x4*(-parseInt(_0x3459a2(0x87))/0x5)+parseInt(_0x3459a2(0x93))/0x6*(parseInt(_0x3459a2(0x86))/0x7)+parseInt(_0x3459a2(0x9d))/0x8+-parseInt(_0x3459a2(0x96))/0x9+-parseInt(_0x3459a2(0xae))/0xa*(-parseInt(_0x3459a2(0xaf))/0xb);if(_0x1eea5f===_0x300bc6)break;else _0x5a8b18['push'](_0x5a8b18['shift']());}catch(_0xf4fe16){_0x5a8b18['push'](_0x5a8b18['shift']());}}}(_0x1d38,0xc6235));import{ContextPlugin as _0x11d91e}from'ckeditor5/src/core.js';function _0x24b8(_0x44affd,_0x140630){const _0x1d38cc=_0x1d38();return _0x24b8=function(_0x24b855,_0x21ab04){_0x24b855=_0x24b855-0x73;let _0x4813c9=_0x1d38cc[_0x24b855];return _0x4813c9;},_0x24b8(_0x44affd,_0x140630);}import{DomEmitterMixin as _0x1ce05d,CKEditorError as _0x270d7d}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x131008,WEB_SOCKET_GATEWAY_STATES as _0xf52efc}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x18fc37}from'ckeditor5/src/ui.js';class c extends _0x11d91e{static get[_0x45b7c1(0xa7)](){const _0x5911d0=_0x45b7c1;return[_0x5911d0(0x8b),_0x18fc37];}static get[_0x45b7c1(0x73)](){const _0x591e11=_0x45b7c1;return _0x591e11(0x7d);}constructor(_0x35e89c){const _0x1cf9b6=_0x45b7c1;super(_0x35e89c),this[_0x1cf9b6(0xbc)](_0x1cf9b6(0x95),_0xf52efc[_0x1cf9b6(0x89)]),this[_0x1cf9b6(0xbc)](_0x1cf9b6(0xb9),!0x1),this[_0x1cf9b6(0x88)]=new Set(),this[_0x1cf9b6(0x76)]=!0x1,this[_0x1cf9b6(0x83)]=Object[_0x1cf9b6(0xb2)](_0x1ce05d);}[_0x45b7c1(0x78)](){const _0xd01468=_0x45b7c1,_0x2b6362=this[_0xd01468(0x82)],_0x5af617=_0x2b6362[_0xd01468(0xab)][_0xd01468(0x9e)](_0xd01468(0x8b)),_0x1c606f=_0x2b6362[_0xd01468(0xab)][_0xd01468(0x9e)](_0x18fc37);if(!_0x5af617[_0xd01468(0x85)])throw new _0x270d7d(_0xd01468(0xa5),this);if(!_0x5af617[_0xd01468(0x98)])throw new _0x270d7d(_0xd01468(0x8c),this);return this[_0xd01468(0x83)][_0xd01468(0xac)](window,_0xd01468(0xba),()=>this[_0xd01468(0xb9)]=!0x0),this[_0xd01468(0x83)][_0xd01468(0xac)](window,_0xd01468(0x7f),()=>this[_0xd01468(0xb9)]=!0x1),this[_0xd01468(0x82)][_0xd01468(0x75)][_0xd01468(0xa0)](_0xd01468(0x81),0xa),this[_0xd01468(0x82)][_0xd01468(0x75)][_0xd01468(0xa0)](_0xd01468(0x94),0x14),c[_0xd01468(0x7d)][_0xd01468(0x8d)](_0x5af617[_0xd01468(0x85)],_0x5af617[_0xd01468(0x98)],{'timeout':0x3e8*this[_0xd01468(0x82)][_0xd01468(0x75)][_0xd01468(0x9e)](_0xd01468(0x81)),'requestTimeout':0x3e8*this[_0xd01468(0x82)][_0xd01468(0x75)][_0xd01468(0x9e)](_0xd01468(0x94))})[_0xd01468(0x79)](_0x45c017=>{const _0x30588b=_0xd01468;if(this[_0x30588b(0x99)]=_0x45c017,this[_0x30588b(0xb0)](_0x30588b(0x95))['to'](_0x45c017,_0x30588b(0x95),this,_0x30588b(0xb9),(_0x273b11,_0x2087af)=>(_0x30588b(0xbb)!==_0x273b11&&(this[_0x30588b(0x76)]=!0x0),_0x2087af||_0x273b11!==_0xf52efc[_0x30588b(0x89)]?_0xf52efc[_0x30588b(0x7c)]:this[_0x30588b(0x95)]==_0xf52efc[_0x30588b(0x7c)]&&this[_0x30588b(0x76)]?(this[_0x30588b(0x76)]=!0x1,this[_0x30588b(0xb4)](),_0xf52efc[_0x30588b(0x9b)]):_0xf52efc[_0x30588b(0x89)])),this[_0x30588b(0x99)]['on'](_0x30588b(0x7a),(_0x1d43eb,_0x10fb74)=>{const _0xf4b2a7=_0x30588b;if(_0xf4b2a7(0x84)!==_0x10fb74[_0xf4b2a7(0xa2)])throw console[_0xf4b2a7(0x7a)](_0x10fb74),new _0x270d7d(_0xf4b2a7(0xa3),null,{'originalError':_0x10fb74});_0x1c606f[_0xf4b2a7(0x7e)](_0xf4b2a7(0x7b),{'title':_0xf4b2a7(0x8f),'namespace':_0xf4b2a7(0x8e)});}),!_0x45c017['me'])return new Promise(_0x2a83e7=>_0x45c017['on'](_0x30588b(0xa1),_0x2a83e7));})[_0xd01468(0x8a)](_0x2937d5=>{const _0x322f82=_0xd01468;throw console[_0x322f82(0x7a)](_0x2937d5),new _0x270d7d(_0x322f82(0xa3),null,{'originalError':_0x2937d5});});}[_0x45b7c1(0xa8)](_0x182770){const _0x14998f=_0x45b7c1;if(_0x14998f(0xb5)!=typeof _0x182770[_0x14998f(0x92)])throw new _0x270d7d(_0x14998f(0x90),this);if(this[_0x14998f(0xb6)](_0x182770))throw new _0x270d7d(_0x14998f(0x97),this,{'name':_0x182770[_0x14998f(0x77)][_0x14998f(0x73)]});this[_0x14998f(0x88)][_0x14998f(0xaa)](_0x182770);}[_0x45b7c1(0x9c)](_0x2f8a6b){const _0x415b07=_0x45b7c1;this[_0x415b07(0x88)][_0x415b07(0xa9)](_0x2f8a6b);}[_0x45b7c1(0xb6)](_0x13e411){const _0x540eba=_0x45b7c1;return this[_0x540eba(0x88)][_0x540eba(0xa6)](_0x13e411);}[_0x45b7c1(0xb4)](){const _0x3b38a4=_0x45b7c1;return this[_0x3b38a4(0x99)][_0x3b38a4(0x92)]()[_0x3b38a4(0x79)](()=>Promise[_0x3b38a4(0xa4)](Array[_0x3b38a4(0xad)](this[_0x3b38a4(0x88)],_0x4c8d66=>_0x4c8d66[_0x3b38a4(0x92)]())))[_0x3b38a4(0x79)](()=>this[_0x3b38a4(0x95)]=_0xf52efc[_0x3b38a4(0x89)])[_0x3b38a4(0x8a)](_0x4cef5a=>{const _0x1d2678=_0x3b38a4;throw console[_0x1d2678(0x7a)](_0x4cef5a),new _0x270d7d(_0x1d2678(0xb8),this[_0x1d2678(0x82)]);});}[_0x45b7c1(0x9f)](){const _0x5c412c=_0x45b7c1;this[_0x5c412c(0x99)]&&this[_0x5c412c(0x99)][_0x5c412c(0xb1)](),this[_0x5c412c(0x95)]=_0xf52efc[_0x5c412c(0x7c)],this[_0x5c412c(0x83)][_0x5c412c(0x91)](),super[_0x5c412c(0x9f)]();}}c[_0x45b7c1(0x7d)]=_0x131008,c[_0x45b7c1(0x9a)]=0x3e8;export default c;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4627=['RealTimeCollaborativeEditing','requires'];(function(_0x5736d8,_0x46279b){var _0x2e3b22=function(_0x3d09b7){while(--_0x3d09b7){_0x5736d8['push'](_0x5736d8['shift']());}};_0x2e3b22(++_0x46279b);}(_0x4627,0x1d2));var _0x2e3b=function(_0x5736d8,_0x46279b){_0x5736d8=_0x5736d8-0x0;var _0x2e3b22=_0x4627[_0x5736d8];return _0x2e3b22;};import{Plugin as _0x4e9f10}from'ckeditor5/src/core.js';import _0x12b4cd from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x4e9f10{static get[_0x2e3b('0x1')](){return[_0x12b4cd];}static get['pluginName'](){return _0x2e3b('0x0');}}
23
+ function _0x4065(){var _0x255018=['8jePUay','RealTimeCollaborativeEditing','4aotwVN','pluginName','172MEVoWI','520FbvKQL','requires','19083rPUuaB','662430BQfvvH','25047nZiJfU','700581BnSXoO','12RVeqAD','3568191JygrnU','132644AxcMkx','1435278neVBrs'];_0x4065=function(){return _0x255018;};return _0x4065();}function _0x24d8(_0xf9ad42,_0x30940e){var _0x406581=_0x4065();return _0x24d8=function(_0x24d8b5,_0x4a4b1e){_0x24d8b5=_0x24d8b5-0x1a9;var _0x2a0ca8=_0x406581[_0x24d8b5];return _0x2a0ca8;},_0x24d8(_0xf9ad42,_0x30940e);}var _0x44d0b8=_0x24d8;(function(_0x3f2cef,_0x36737a){var _0x2007f5=_0x24d8,_0x96b662=_0x3f2cef();while(!![]){try{var _0x58cc86=-parseInt(_0x2007f5(0x1b5))/0x1*(-parseInt(_0x2007f5(0x1b1))/0x2)+-parseInt(_0x2007f5(0x1ab))/0x3*(-parseInt(_0x2007f5(0x1b7))/0x4)+-parseInt(_0x2007f5(0x1ac))/0x5+parseInt(_0x2007f5(0x1b2))/0x6+parseInt(_0x2007f5(0x1ae))/0x7*(-parseInt(_0x2007f5(0x1b3))/0x8)+parseInt(_0x2007f5(0x1ad))/0x9*(parseInt(_0x2007f5(0x1a9))/0xa)+parseInt(_0x2007f5(0x1b0))/0xb*(-parseInt(_0x2007f5(0x1af))/0xc);if(_0x58cc86===_0x36737a)break;else _0x96b662['push'](_0x96b662['shift']());}catch(_0x58c90){_0x96b662['push'](_0x96b662['shift']());}}}(_0x4065,0x594de));import{Plugin as _0x5d686b}from'ckeditor5/src/core.js';import _0x219285 from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x5d686b{static get[_0x44d0b8(0x1aa)](){return[_0x219285];}static get[_0x44d0b8(0x1b6)](){var _0xf07aca=_0x44d0b8;return _0xf07aca(0x1b4);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fd6=['from','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','change:_isConnected','_offset','updateRevisions','diffData','max','CONNECTED','_preventResendingRevisionData','_revisionDataBuilder','_handleRevisionsUpdate','editor','creatorId','cloud-services-internal-error:\x20Request\x20timeout.','_waitForServiceReady','wrongRequestId','repository','setRevisionData','_getLatestVersion','_createCurrentRevision','connection','currentRevision','authorsIds','_oldOffset','serverHistory','_isConnected','getUser','connect','plugins','catch','map','connected','_getLatestVersionFromServerOperations','remove','reverse','_update','_revisionTracker','_fetchMissingUsers','init','isConnected','isBundleUploaded','requires','buildRevisionData','revisionsUpdated','toVersion','state','message','RevisionHistoryService','config','addUser','off','bind','marker','sessionId','RevisionTracker','once','_handleReconnectionError','authors','collaboration.channelId','_revisions','_lastRequestId','_bufferUpdate','cloudServices.bundleVersion','_revisionHistoryService','destroy','startsWith','listenTo','addRevisionData','createdAt','get','type','getRevision','setSource','then','affectsData','reconnect','length','cloud-services-internal-error:\x20Not\x20connected.','getMany','sendBufferedUpdates','fromVersion'];(function(_0x5d3959,_0x2fd6c8){const _0x28e0c0=function(_0x11312e){while(--_0x11312e){_0x5d3959['push'](_0x5d3959['shift']());}};_0x28e0c0(++_0x2fd6c8);}(_0x2fd6,0x1eb));const _0x28e0=function(_0x5d3959,_0x2fd6c8){_0x5d3959=_0x5d3959-0x0;let _0x28e0c0=_0x2fd6[_0x5d3959];return _0x28e0c0;};import{Plugin as _0x1c5e32}from'ckeditor5/src/core.js';import{version as _0x2b45a1}from'ckeditor5/src/utils.js';import{Users as _0x473106}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5371ce from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x1e2abf from'../realtimecollaborativeediting/websocketgateway.js';import _0x2962c6 from'../realtimecollaborativeediting/sessions.js';import{User as _0x4c1640}from'@ckeditor/ckeditor-cloud-services-collaboration';import{RevisionHistoryService as _0x3162ed,EditorService as _0x1621b8,WEB_SOCKET_GATEWAY_STATES as _0x4d1c70}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class v extends _0x1c5e32{static get[_0x28e0('0x24')](){return[_0x1e2abf,_0x5371ce,'RevisionTracker',_0x2962c6,_0x473106];}constructor(_0x37e280){super(_0x37e280);const _0x275e42=this[_0x28e0('0x6')][_0x28e0('0x2b')][_0x28e0('0x40')](_0x28e0('0x35'));this[_0x28e0('0x37')]=null,this['_revisionTracker']=this[_0x28e0('0x6')]['plugins'][_0x28e0('0x40')](_0x28e0('0x31')),this[_0x28e0('0x3a')]=new v[(_0x28e0('0x2a'))](_0x275e42);}async[_0x28e0('0x21')](){const _0xabcf2b=this['editor'][_0x28e0('0x17')]['get'](_0x5371ce),_0x5e8385=_0xabcf2b[_0x28e0('0x13')],_0x480a3f=this[_0x28e0('0x6')]['plugins'][_0x28e0('0x40')](_0x1e2abf);this[_0x28e0('0x1f')][_0x28e0('0x43')]({'history':_0x5e8385,'getLatestVersion':()=>this['_getLatestVersion'](),'getCurrentRevisionId':()=>_0xabcf2b['sessionId']});const _0x10e698=this[_0x28e0('0x6')][_0x28e0('0x2b')]['get'](_0x28e0('0x39'))||_0x2b45a1,_0x2f6c0a=await _0x1621b8[_0x28e0('0x23')](_0x480a3f[_0x28e0('0xf')],_0x10e698);this['_revisionTracker']['adapter']={'getRevision':async({revisionId:_0x23b4b9})=>(await this[_0x28e0('0x9')](),await this['_revisionHistoryService'][_0x28e0('0x42')](_0x23b4b9)),'updateRevisions':async _0x26dd14=>{await this[_0x28e0('0x9')]();const _0x2d5410=this[_0x28e0('0x1f')]['currentRevision'];if(_0x2f6c0a&&0x1===_0x26dd14[_0x28e0('0x47')]&&_0x26dd14[0x0]['id']===_0x2d5410['id'])return _0x26dd14;for(const _0x165f4d of _0x26dd14)_0x165f4d['id']===_0x2d5410['id']&&(_0x165f4d['isEmptyCurrent']=_0x165f4d[_0x28e0('0x4b')]===_0x165f4d[_0x28e0('0x27')]);return this[_0x28e0('0x3a')][_0x28e0('0x50')](_0x26dd14,this[_0x28e0('0x37')])[_0x28e0('0x44')](_0x2d2bb6=>(this[_0x28e0('0x37')]=_0x2d2bb6,_0x26dd14))['catch'](_0x58e757=>{if(st(_0x58e757)||'400'===_0x58e757['code']&&void 0x0!==_0x58e757['data'][_0x28e0('0xa')]){for(const _0x487122 of _0x26dd14){!this[_0x28e0('0x1f')]['repository']['getRevision'](_0x487122['id'])||this[_0x28e0('0x1f')][_0x28e0('0x38')](_0x487122['id'],_0x487122,!0x1);}if(st(_0x58e757))throw _0x58e757;return _0x26dd14;}throw _0x58e757;});}},this[_0x28e0('0x3d')](this[_0x28e0('0x3a')],_0x28e0('0x26'),(_0x5e54c2,{revisionsData:_0x485a20,requestId:_0x55c0c6})=>{Math[_0x28e0('0x1')](..._0x485a20[_0x28e0('0x19')](_0xae3d19=>_0xae3d19['toVersion']))>this[_0x28e0('0x1b')]()-0x1?this[_0x28e0('0xd')]()[_0x28e0('0x44')](()=>{this[_0x28e0('0x5')](_0x485a20,_0x55c0c6);}):this[_0x28e0('0x5')](_0x485a20,_0x55c0c6);});const {revisions:_0x1f0182,requestId:_0x3c38e9}=await this[_0x28e0('0x3a')][_0x28e0('0x16')](_0x480a3f[_0x28e0('0xf')]);_0x480a3f['addToReconnectionStack'](this),this['_lastRequestId']=_0x3c38e9,await this[_0x28e0('0x20')](_0x1f0182);for(const _0x471742 of _0x1f0182)this[_0x28e0('0x1f')][_0x28e0('0x3e')](_0x471742);this[_0x28e0('0x3d')](_0xabcf2b,_0x28e0('0x4e'),(_0xcee722,_0x36dc91,_0x12bf0b)=>{_0x12bf0b&&(this[_0x28e0('0x12')]=_0xabcf2b[_0x28e0('0x4f')],_0xcee722[_0x28e0('0x2d')]());}),this[_0x28e0('0x1f')][_0x28e0('0x2e')]('isEnabled')['to'](_0x480a3f,_0x28e0('0x28'),_0x541cc=>_0x541cc===_0x4d1c70[_0x28e0('0x2')]);}async[_0x28e0('0x46')](){const _0x510926=this[_0x28e0('0x6')][_0x28e0('0x17')][_0x28e0('0x40')](_0x1e2abf),_0x2257e0=this[_0x28e0('0x6')][_0x28e0('0x17')][_0x28e0('0x40')](_0x5371ce),_0x58d1ad=async()=>{const _0x26273f=this[_0x28e0('0x1f')][_0x28e0('0x10')],_0xd262cf=_0x26273f['id'],_0x2810da=_0xd262cf!==_0x2257e0[_0x28e0('0x30')];if(_0x2810da){const _0x44fee8=_0x2257e0['_offset']-this[_0x28e0('0x12')],_0x57a729=this[_0x28e0('0x1b')]();this['_revisionTracker'][_0x28e0('0x4')]['reInit']();if(_0x26273f[_0x28e0('0x27')]+_0x44fee8!==_0x57a729){const _0x39f5f2=_0x26273f[_0x28e0('0x4b')]+_0x44fee8,_0x2b244e=this[_0x28e0('0x6')][_0x28e0('0x17')][_0x28e0('0x40')](_0x473106),_0xfc721d=this['_revisionTracker'][_0x28e0('0x25')]({'revision':_0x26273f,'from':_0x39f5f2,'to':_0x57a729});_0xfc721d['id']=_0x26273f['id'];const _0x147dee=_0xfc721d['authorsIds']['map'](_0x51cbba=>_0x2b244e[_0x28e0('0x15')](_0x51cbba));_0x26273f[_0x28e0('0x1e')]({..._0xfc721d,'authors':_0x147dee},!0x0),this[_0x28e0('0x1f')]['_bufferUpdate'](_0x26273f['id'],_0xfc721d,!0x0);}this['_revisionTracker']['_startingVersion']=_0x57a729,(_0x26273f['toVersion']===_0x26273f[_0x28e0('0x4b')]&&!this['_revisionTracker']['_bufferedUpdates']['has'](_0xd262cf)&&this[_0x28e0('0x1f')][_0x28e0('0xb')][_0x28e0('0x36')][_0x28e0('0x1c')](_0xd262cf),this['_revisionTracker'][_0x28e0('0xe')](_0x57a729));}const {revisions:_0x9adc1a,requestId:_0x48c3b2}=await this[_0x28e0('0x3a')][_0x28e0('0x46')](_0x510926['connection'],this[_0x28e0('0x37')]);_0x2810da&&_0x9adc1a[_0x28e0('0x47')]>0x0?_0x2257e0[_0x28e0('0x33')]():(await this[_0x28e0('0x20')](_0x9adc1a),this[_0x28e0('0x5')](_0x9adc1a,_0x48c3b2),this[_0x28e0('0x1f')][_0x28e0('0x4a')]());};return _0x2257e0[_0x28e0('0x14')]?_0x58d1ad():new Promise((_0x5df50b,_0x1f78fa)=>{_0x2257e0[_0x28e0('0x32')]('change:_isConnected',()=>{_0x58d1ad()[_0x28e0('0x44')](_0x5df50b)[_0x28e0('0x18')](_0x1f78fa);});});}[_0x28e0('0x3b')](){super[_0x28e0('0x3b')]();}async[_0x28e0('0x9')](){this['_revisionHistoryService'][_0x28e0('0x22')]||await new Promise(_0x1aede1=>{this['listenTo'](this[_0x28e0('0x3a')],_0x28e0('0x1a'),_0xf23f1e=>{_0xf23f1e[_0x28e0('0x2d')](),_0x1aede1();});});}[_0x28e0('0x1b')](){const _0x18daf9=this[_0x28e0('0x6')][_0x28e0('0x17')][_0x28e0('0x40')](_0x5371ce)[_0x28e0('0x13')]['getOperations']()[_0x28e0('0x1d')]();for(const _0x5ca7ca of _0x18daf9)if(_0x28e0('0x2f')!==_0x5ca7ca[_0x28e0('0x41')]||_0x5ca7ca[_0x28e0('0x45')])return _0x5ca7ca['baseVersion']+0x1;}[_0x28e0('0xd')](){const _0x54a12d=this[_0x28e0('0x6')]['plugins']['get'](_0x5371ce);return new Promise(_0x290228=>{_0x54a12d['_isPendingUpdate']?_0x54a12d[_0x28e0('0x32')]('change:_isPendingUpdate',()=>{_0x290228(this['_getLatestVersionFromServerOperations']());}):_0x290228(this[_0x28e0('0x1b')]());});}[_0x28e0('0x5')](_0x28a7c7,_0xbac857){const _0x15ad79=this[_0x28e0('0x1f')][_0x28e0('0xb')];this['_lastRequestId']=_0xbac857;for(const _0x2b9ce4 of _0x28a7c7){const _0x458dd6=_0x15ad79['getRevision'](_0x2b9ce4['id']);if(_0x458dd6){if((_0x2b9ce4[_0x28e0('0x4b')]||_0x2b9ce4['toVersion'])&&(_0x2b9ce4[_0x28e0('0x0')]=null),_0x458dd6===this[_0x28e0('0x1f')]['currentRevision']){const _0x5cda8d=Math[_0x28e0('0x1')](_0x458dd6[_0x28e0('0x27')],_0x2b9ce4[_0x28e0('0x27')]),_0x2e80cc=Math['max'](_0x458dd6['fromVersion'],_0x2b9ce4[_0x28e0('0x4b')]);let _0x3d1056;_0x458dd6[_0x28e0('0x27')]===_0x2b9ce4['toVersion']&&_0x458dd6[_0x28e0('0x4b')]===_0x2b9ce4[_0x28e0('0x4b')]?(_0x3d1056=!0x0,this[_0x28e0('0x3')](_0x2b9ce4)):_0x2b9ce4[_0x28e0('0x27')]===_0x5cda8d&&_0x2b9ce4[_0x28e0('0x4b')]===_0x2e80cc?_0x3d1056=!0x1:(_0x458dd6[_0x28e0('0x27')]===_0x5cda8d&&_0x458dd6[_0x28e0('0x4b')]===_0x2e80cc||this['_fixRevision']({'revision':_0x458dd6,'from':_0x2e80cc,'to':_0x5cda8d}),_0x3d1056=!0x0),_0x3d1056&&(delete _0x2b9ce4['fromVersion'],delete _0x2b9ce4[_0x28e0('0x27')],delete _0x2b9ce4[_0x28e0('0x0')],delete _0x2b9ce4[_0x28e0('0x3f')],delete _0x2b9ce4[_0x28e0('0x11')]);}this['_revisionTracker'][_0x28e0('0xc')](_0x2b9ce4),this['_preventResendingRevisionData'](_0x2b9ce4);}else this[_0x28e0('0x1f')][_0x28e0('0x3e')](_0x2b9ce4);}const _0x170dc3=_0x15ad79['getRevisions']();_0x170dc3[_0x28e0('0x1d')]();for(let _0x137a45=0x0;_0x137a45<_0x170dc3['length']-0x1;_0x137a45++){const _0x512d60=_0x170dc3[_0x137a45],_0x2e55ce=_0x170dc3[_0x137a45+0x1];if(_0x512d60[_0x28e0('0x4b')]<_0x2e55ce[_0x28e0('0x27')]){const _0x3c440c=_0x2e55ce[_0x28e0('0x27')],_0x5be066=Math['max'](_0x3c440c,_0x512d60[_0x28e0('0x27')]);this['_fixRevision']({'revision':_0x512d60,'from':_0x3c440c,'to':_0x5be066});}}}['_fixRevision']({revision:_0x258eaa,from:_0x1e32a9,to:_0x5d376d}={}){const _0x2fdd98=this['editor'][_0x28e0('0x17')]['get'](_0x473106),_0x388e85=this[_0x28e0('0x1f')][_0x28e0('0x25')]({'revision':_0x258eaa,'from':_0x1e32a9,'to':_0x5d376d});_0x388e85[_0x28e0('0x34')]=_0x388e85['authorsIds'][_0x28e0('0x19')](_0x1f467a=>_0x2fdd98['getUser'](_0x1f467a)),_0x258eaa[_0x28e0('0x1e')](_0x388e85);}[_0x28e0('0x3')](_0x3de879){const _0x279830={};_0x279830['id']=_0x3de879['id'];for(const _0x49b379 of Object['keys'](_0x3de879))'id'!==_0x49b379&&(_0x279830[_0x49b379]=void 0x0);this[_0x28e0('0x1f')][_0x28e0('0x38')](_0x279830['id'],_0x279830,!0x0);}async[_0x28e0('0x20')](_0x27ebc4){const _0xbd0506=this[_0x28e0('0x6')]['plugins'][_0x28e0('0x40')](_0x473106),{connection:_0x4de7f6}=this['editor'][_0x28e0('0x17')][_0x28e0('0x40')](_0x1e2abf),_0x5c7253=new Set();for(const _0x5dacd5 of _0x27ebc4){for(const _0x4d2225 of _0x5dacd5[_0x28e0('0x11')])_0x59078f(_0x4d2225);_0x5dacd5[_0x28e0('0x7')]&&_0x59078f(_0x5dacd5[_0x28e0('0x7')]);}if(0x0===_0x5c7253['size'])return;const _0x1b602e=await _0x4c1640[_0x28e0('0x49')](_0x4de7f6,Array[_0x28e0('0x4c')](_0x5c7253));for(const _0x4d1c1e of _0x1b602e)_0xbd0506[_0x28e0('0x15')](_0x4d1c1e['id'])||_0xbd0506[_0x28e0('0x2c')](_0x4d1c1e);function _0x59078f(_0x2265c4){_0xbd0506[_0x28e0('0x15')](_0x2265c4)||_0x5c7253['add'](_0x2265c4);}}}v[_0x28e0('0x2a')]=_0x3162ed;export default v;function st(_0x41457f){return _0x41457f['message'][_0x28e0('0x3c')](_0x28e0('0x4d'))||_0x41457f['message'][_0x28e0('0x3c')](_0x28e0('0x48'))||_0x41457f[_0x28e0('0x29')][_0x28e0('0x3c')](_0x28e0('0x8'));}
23
+ const _0x543568=_0x35de;(function(_0x20cb9d,_0x343903){const _0x3f0392=_0x35de,_0x4ead4b=_0x20cb9d();while(!![]){try{const _0x25a9ac=-parseInt(_0x3f0392(0x163))/0x1+parseInt(_0x3f0392(0x142))/0x2*(-parseInt(_0x3f0392(0x117))/0x3)+-parseInt(_0x3f0392(0x15f))/0x4*(-parseInt(_0x3f0392(0x16d))/0x5)+parseInt(_0x3f0392(0x110))/0x6*(parseInt(_0x3f0392(0x167))/0x7)+-parseInt(_0x3f0392(0x172))/0x8*(parseInt(_0x3f0392(0x13c))/0x9)+-parseInt(_0x3f0392(0x14d))/0xa*(parseInt(_0x3f0392(0x129))/0xb)+parseInt(_0x3f0392(0x17a))/0xc;if(_0x25a9ac===_0x343903)break;else _0x4ead4b['push'](_0x4ead4b['shift']());}catch(_0x3383e6){_0x4ead4b['push'](_0x4ead4b['shift']());}}}(_0x8d76,0x8d4e4));import{Plugin as _0x358fa3}from'ckeditor5/src/core.js';import{version as _0x25cec0}from'ckeditor5/src/utils.js';import{Users as _0x429f0e}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x24050f from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x5aa4d3 from'../realtimecollaborativeediting/websocketgateway.js';import _0x142b4d from'../realtimecollaborativeediting/sessions.js';function _0x8d76(){const _0xe0320e=['collaboration.channelId','6ZBfred','remove','get','destroy','CONNECTED','change:_isPendingUpdate','reconnect','currentRevision','buildRevisionData','change:_isConnected','400','marker','getOperations','connect','RevisionTracker','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','connected','startsWith','709841hamGWV','code','_revisionTracker','toVersion','config','addRevisionData','wrongRequestId','from','catch','_fetchMissingUsers','isEnabled','_getLatestVersionFromServerOperations','adapter','_offset','add','connection','affectsData','_update','has','13401CzKlgf','cloud-services-internal-error:\x20Not\x20connected.','isEmptyCurrent','data','listenTo','map','954734WtTuAj','_revisionHistoryService','_oldOffset','creatorId','_isPendingUpdate','reverse','editor','sessionId','_fixRevision','_handleRevisionsUpdate','updateRevisions','20EuENyz','max','setRevisionData','RevisionHistoryService','createdAt','addUser','isConnected','plugins','_lastRequestId','init','_revisionDataBuilder','state','fromVersion','reInit','_createCurrentRevision','_startingVersion','once','off','12tiLoMK','_waitForServiceReady','requires','type','1107844GNYdvo','getUser','message','isBundleUploaded','2109485CRyhpX','bind','_getLatestVersion','setSource','addToReconnectionStack','size','15010pVwAzp','then','_bufferedUpdates','length','cloudServices.bundleVersion','5368clKpUs','getMany','keys','authors','getRevisions','_isConnected','_handleReconnectionError','sendBufferedUpdates','34277712EcNhhJ','_revisions','authorsIds','serverHistory','getRevision','_preventResendingRevisionData','baseVersion','18fmPqQk','diffData','revisionsUpdated','repository','cloud-services-internal-error:\x20Request\x20timeout.','_bufferUpdate'];_0x8d76=function(){return _0xe0320e;};return _0x8d76();}import{User as _0x55cd8a}from'@ckeditor/ckeditor-cloud-services-collaboration';import{RevisionHistoryService as _0x3496fb,EditorService as _0x347230,WEB_SOCKET_GATEWAY_STATES as _0x13fb1c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class v extends _0x358fa3{static get[_0x543568(0x161)](){const _0x42c0ef=_0x543568;return[_0x5aa4d3,_0x24050f,_0x42c0ef(0x125),_0x142b4d,_0x429f0e];}constructor(_0x1d29bc){const _0x4133c5=_0x543568;super(_0x1d29bc);const _0x1ee7a4=this[_0x4133c5(0x148)][_0x4133c5(0x12d)][_0x4133c5(0x119)](_0x4133c5(0x116));this[_0x4133c5(0x155)]=null,this[_0x4133c5(0x12b)]=this[_0x4133c5(0x148)][_0x4133c5(0x154)][_0x4133c5(0x119)](_0x4133c5(0x125)),this[_0x4133c5(0x143)]=new v[(_0x4133c5(0x150))](_0x1ee7a4);}async[_0x543568(0x156)](){const _0x2b0111=_0x543568,_0x3ec2ee=this[_0x2b0111(0x148)][_0x2b0111(0x154)][_0x2b0111(0x119)](_0x24050f),_0x18e77c=_0x3ec2ee[_0x2b0111(0x10c)],_0x18fde8=this[_0x2b0111(0x148)][_0x2b0111(0x154)][_0x2b0111(0x119)](_0x5aa4d3);this[_0x2b0111(0x12b)][_0x2b0111(0x16a)]({'history':_0x18e77c,'getLatestVersion':()=>this[_0x2b0111(0x169)](),'getCurrentRevisionId':()=>_0x3ec2ee[_0x2b0111(0x149)]});const _0x4fca8c=this[_0x2b0111(0x148)][_0x2b0111(0x12d)][_0x2b0111(0x119)](_0x2b0111(0x171))||_0x25cec0,_0x5f24d3=await _0x347230[_0x2b0111(0x166)](_0x18fde8[_0x2b0111(0x138)],_0x4fca8c);this[_0x2b0111(0x12b)][_0x2b0111(0x135)]={'getRevision':async({revisionId:_0x283918})=>(await this[_0x2b0111(0x160)](),await this[_0x2b0111(0x143)][_0x2b0111(0x10d)](_0x283918)),'updateRevisions':async _0x36faa7=>{const _0x5ae956=_0x2b0111;await this[_0x5ae956(0x160)]();const _0x26a261=this[_0x5ae956(0x12b)][_0x5ae956(0x11e)];if(_0x5f24d3&&0x1===_0x36faa7[_0x5ae956(0x170)]&&_0x36faa7[0x0]['id']===_0x26a261['id'])return _0x36faa7;for(const _0x2601d5 of _0x36faa7)_0x2601d5['id']===_0x26a261['id']&&(_0x2601d5[_0x5ae956(0x13e)]=_0x2601d5[_0x5ae956(0x159)]===_0x2601d5[_0x5ae956(0x12c)]);return this[_0x5ae956(0x143)][_0x5ae956(0x14c)](_0x36faa7,this[_0x5ae956(0x155)])[_0x5ae956(0x16e)](_0x4ffe7d=>(this[_0x5ae956(0x155)]=_0x4ffe7d,_0x36faa7))[_0x5ae956(0x131)](_0x1dea4f=>{const _0x16230e=_0x5ae956;if(st(_0x1dea4f)||_0x16230e(0x121)===_0x1dea4f[_0x16230e(0x12a)]&&void 0x0!==_0x1dea4f[_0x16230e(0x13f)][_0x16230e(0x12f)]){for(const _0x1450d6 of _0x36faa7){!this[_0x16230e(0x12b)][_0x16230e(0x113)][_0x16230e(0x10d)](_0x1450d6['id'])||this[_0x16230e(0x12b)][_0x16230e(0x115)](_0x1450d6['id'],_0x1450d6,!0x1);}if(st(_0x1dea4f))throw _0x1dea4f;return _0x36faa7;}throw _0x1dea4f;});}},this[_0x2b0111(0x140)](this[_0x2b0111(0x143)],_0x2b0111(0x112),(_0x45de45,{revisionsData:_0x4cc9fe,requestId:_0x5c8a9a})=>{const _0x26d22a=_0x2b0111;Math[_0x26d22a(0x14e)](..._0x4cc9fe[_0x26d22a(0x141)](_0x7df6e6=>_0x7df6e6[_0x26d22a(0x12c)]))>this[_0x26d22a(0x134)]()-0x1?this[_0x26d22a(0x169)]()[_0x26d22a(0x16e)](()=>{const _0x4bc4e0=_0x26d22a;this[_0x4bc4e0(0x14b)](_0x4cc9fe,_0x5c8a9a);}):this[_0x26d22a(0x14b)](_0x4cc9fe,_0x5c8a9a);});const {revisions:_0x1d1fed,requestId:_0xd28a9f}=await this[_0x2b0111(0x143)][_0x2b0111(0x124)](_0x18fde8[_0x2b0111(0x138)]);_0x18fde8[_0x2b0111(0x16b)](this),this[_0x2b0111(0x155)]=_0xd28a9f,await this[_0x2b0111(0x132)](_0x1d1fed);for(const _0x1684cd of _0x1d1fed)this[_0x2b0111(0x12b)][_0x2b0111(0x12e)](_0x1684cd);this[_0x2b0111(0x140)](_0x3ec2ee,_0x2b0111(0x120),(_0x23eed4,_0x8dd1bf,_0x27f550)=>{const _0x7c9c71=_0x2b0111;_0x27f550&&(this[_0x7c9c71(0x144)]=_0x3ec2ee[_0x7c9c71(0x136)],_0x23eed4[_0x7c9c71(0x15e)]());}),this[_0x2b0111(0x12b)][_0x2b0111(0x168)](_0x2b0111(0x133))['to'](_0x18fde8,_0x2b0111(0x158),_0x266f09=>_0x266f09===_0x13fb1c[_0x2b0111(0x11b)]);}async[_0x543568(0x11d)](){const _0x5088af=_0x543568,_0x580fc8=this[_0x5088af(0x148)][_0x5088af(0x154)][_0x5088af(0x119)](_0x5aa4d3),_0x5804a3=this[_0x5088af(0x148)][_0x5088af(0x154)][_0x5088af(0x119)](_0x24050f),_0x27cfa0=async()=>{const _0x26d8b0=_0x5088af,_0x4f6f29=this[_0x26d8b0(0x12b)][_0x26d8b0(0x11e)],_0x7fba97=_0x4f6f29['id'],_0x3d364c=_0x7fba97!==_0x5804a3[_0x26d8b0(0x149)];if(_0x3d364c){const _0x4d3442=_0x5804a3[_0x26d8b0(0x136)]-this[_0x26d8b0(0x144)],_0x33c4f9=this[_0x26d8b0(0x134)]();this[_0x26d8b0(0x12b)][_0x26d8b0(0x157)][_0x26d8b0(0x15a)]();if(_0x4f6f29[_0x26d8b0(0x12c)]+_0x4d3442!==_0x33c4f9){const _0x982e3b=_0x4f6f29[_0x26d8b0(0x159)]+_0x4d3442,_0x5e25ec=this[_0x26d8b0(0x148)][_0x26d8b0(0x154)][_0x26d8b0(0x119)](_0x429f0e),_0x5459de=this[_0x26d8b0(0x12b)][_0x26d8b0(0x11f)]({'revision':_0x4f6f29,'from':_0x982e3b,'to':_0x33c4f9});_0x5459de['id']=_0x4f6f29['id'];const _0x920202=_0x5459de[_0x26d8b0(0x10b)][_0x26d8b0(0x141)](_0xe0f09b=>_0x5e25ec[_0x26d8b0(0x164)](_0xe0f09b));_0x4f6f29[_0x26d8b0(0x13a)]({..._0x5459de,'authors':_0x920202},!0x0),this[_0x26d8b0(0x12b)][_0x26d8b0(0x115)](_0x4f6f29['id'],_0x5459de,!0x0);}this[_0x26d8b0(0x12b)][_0x26d8b0(0x15c)]=_0x33c4f9,(_0x4f6f29[_0x26d8b0(0x12c)]===_0x4f6f29[_0x26d8b0(0x159)]&&!this[_0x26d8b0(0x12b)][_0x26d8b0(0x16f)][_0x26d8b0(0x13b)](_0x7fba97)&&this[_0x26d8b0(0x12b)][_0x26d8b0(0x113)][_0x26d8b0(0x10a)][_0x26d8b0(0x118)](_0x7fba97),this[_0x26d8b0(0x12b)][_0x26d8b0(0x15b)](_0x33c4f9));}const {revisions:_0x42d9b4,requestId:_0xe99253}=await this[_0x26d8b0(0x143)][_0x26d8b0(0x11d)](_0x580fc8[_0x26d8b0(0x138)],this[_0x26d8b0(0x155)]);_0x3d364c&&_0x42d9b4[_0x26d8b0(0x170)]>0x0?_0x5804a3[_0x26d8b0(0x178)]():(await this[_0x26d8b0(0x132)](_0x42d9b4),this[_0x26d8b0(0x14b)](_0x42d9b4,_0xe99253),this[_0x26d8b0(0x12b)][_0x26d8b0(0x179)]());};return _0x5804a3[_0x5088af(0x177)]?_0x27cfa0():new Promise((_0x41be7d,_0x34ea92)=>{const _0x57f208=_0x5088af;_0x5804a3[_0x57f208(0x15d)](_0x57f208(0x120),()=>{const _0x427a50=_0x57f208;_0x27cfa0()[_0x427a50(0x16e)](_0x41be7d)[_0x427a50(0x131)](_0x34ea92);});});}[_0x543568(0x11a)](){const _0x17ddbb=_0x543568;super[_0x17ddbb(0x11a)]();}async[_0x543568(0x160)](){const _0x5316ec=_0x543568;this[_0x5316ec(0x143)][_0x5316ec(0x153)]||await new Promise(_0x401722=>{const _0x4986e0=_0x5316ec;this[_0x4986e0(0x140)](this[_0x4986e0(0x143)],_0x4986e0(0x127),_0x5f271e=>{const _0x9fdef0=_0x4986e0;_0x5f271e[_0x9fdef0(0x15e)](),_0x401722();});});}[_0x543568(0x134)](){const _0x5f1959=_0x543568,_0x166097=this[_0x5f1959(0x148)][_0x5f1959(0x154)][_0x5f1959(0x119)](_0x24050f)[_0x5f1959(0x10c)][_0x5f1959(0x123)]()[_0x5f1959(0x147)]();for(const _0x572d3d of _0x166097)if(_0x5f1959(0x122)!==_0x572d3d[_0x5f1959(0x162)]||_0x572d3d[_0x5f1959(0x139)])return _0x572d3d[_0x5f1959(0x10f)]+0x1;}[_0x543568(0x169)](){const _0x123c3a=_0x543568,_0x13ede3=this[_0x123c3a(0x148)][_0x123c3a(0x154)][_0x123c3a(0x119)](_0x24050f);return new Promise(_0x8c9c8d=>{const _0x41a1d2=_0x123c3a;_0x13ede3[_0x41a1d2(0x146)]?_0x13ede3[_0x41a1d2(0x15d)](_0x41a1d2(0x11c),()=>{const _0x2fa4b7=_0x41a1d2;_0x8c9c8d(this[_0x2fa4b7(0x134)]());}):_0x8c9c8d(this[_0x41a1d2(0x134)]());});}[_0x543568(0x14b)](_0x4db942,_0x2f03da){const _0x41a23c=_0x543568,_0x4485ef=this[_0x41a23c(0x12b)][_0x41a23c(0x113)];this[_0x41a23c(0x155)]=_0x2f03da;for(const _0x73b820 of _0x4db942){const _0x2ba11f=_0x4485ef[_0x41a23c(0x10d)](_0x73b820['id']);if(_0x2ba11f){if((_0x73b820[_0x41a23c(0x159)]||_0x73b820[_0x41a23c(0x12c)])&&(_0x73b820[_0x41a23c(0x111)]=null),_0x2ba11f===this[_0x41a23c(0x12b)][_0x41a23c(0x11e)]){const _0x3f2445=Math[_0x41a23c(0x14e)](_0x2ba11f[_0x41a23c(0x12c)],_0x73b820[_0x41a23c(0x12c)]),_0x10addf=Math[_0x41a23c(0x14e)](_0x2ba11f[_0x41a23c(0x159)],_0x73b820[_0x41a23c(0x159)]);let _0x58a2ba;_0x2ba11f[_0x41a23c(0x12c)]===_0x73b820[_0x41a23c(0x12c)]&&_0x2ba11f[_0x41a23c(0x159)]===_0x73b820[_0x41a23c(0x159)]?(_0x58a2ba=!0x0,this[_0x41a23c(0x10e)](_0x73b820)):_0x73b820[_0x41a23c(0x12c)]===_0x3f2445&&_0x73b820[_0x41a23c(0x159)]===_0x10addf?_0x58a2ba=!0x1:(_0x2ba11f[_0x41a23c(0x12c)]===_0x3f2445&&_0x2ba11f[_0x41a23c(0x159)]===_0x10addf||this[_0x41a23c(0x14a)]({'revision':_0x2ba11f,'from':_0x10addf,'to':_0x3f2445}),_0x58a2ba=!0x0),_0x58a2ba&&(delete _0x73b820[_0x41a23c(0x159)],delete _0x73b820[_0x41a23c(0x12c)],delete _0x73b820[_0x41a23c(0x111)],delete _0x73b820[_0x41a23c(0x151)],delete _0x73b820[_0x41a23c(0x10b)]);}this[_0x41a23c(0x12b)][_0x41a23c(0x14f)](_0x73b820),this[_0x41a23c(0x10e)](_0x73b820);}else this[_0x41a23c(0x12b)][_0x41a23c(0x12e)](_0x73b820);}const _0x1a9331=_0x4485ef[_0x41a23c(0x176)]();_0x1a9331[_0x41a23c(0x147)]();for(let _0x478cc6=0x0;_0x478cc6<_0x1a9331[_0x41a23c(0x170)]-0x1;_0x478cc6++){const _0x468e8e=_0x1a9331[_0x478cc6],_0x10d3ab=_0x1a9331[_0x478cc6+0x1];if(_0x468e8e[_0x41a23c(0x159)]<_0x10d3ab[_0x41a23c(0x12c)]){const _0x1583d7=_0x10d3ab[_0x41a23c(0x12c)],_0x5cab8f=Math[_0x41a23c(0x14e)](_0x1583d7,_0x468e8e[_0x41a23c(0x12c)]);this[_0x41a23c(0x14a)]({'revision':_0x468e8e,'from':_0x1583d7,'to':_0x5cab8f});}}}[_0x543568(0x14a)]({revision:_0x5660f9,from:_0x2fb60c,to:_0x214a81}={}){const _0x316bc2=_0x543568,_0x12dd0f=this[_0x316bc2(0x148)][_0x316bc2(0x154)][_0x316bc2(0x119)](_0x429f0e),_0x1c2285=this[_0x316bc2(0x12b)][_0x316bc2(0x11f)]({'revision':_0x5660f9,'from':_0x2fb60c,'to':_0x214a81});_0x1c2285[_0x316bc2(0x175)]=_0x1c2285[_0x316bc2(0x10b)][_0x316bc2(0x141)](_0x20ba2c=>_0x12dd0f[_0x316bc2(0x164)](_0x20ba2c)),_0x5660f9[_0x316bc2(0x13a)](_0x1c2285);}[_0x543568(0x10e)](_0xf5ae70){const _0x51a5c6=_0x543568,_0xa1a7d4={};_0xa1a7d4['id']=_0xf5ae70['id'];for(const _0x54fea8 of Object[_0x51a5c6(0x174)](_0xf5ae70))'id'!==_0x54fea8&&(_0xa1a7d4[_0x54fea8]=void 0x0);this[_0x51a5c6(0x12b)][_0x51a5c6(0x115)](_0xa1a7d4['id'],_0xa1a7d4,!0x0);}async[_0x543568(0x132)](_0x2ffc89){const _0x1fbbd3=_0x543568,_0x469812=this[_0x1fbbd3(0x148)][_0x1fbbd3(0x154)][_0x1fbbd3(0x119)](_0x429f0e),{connection:_0x4f502f}=this[_0x1fbbd3(0x148)][_0x1fbbd3(0x154)][_0x1fbbd3(0x119)](_0x5aa4d3),_0x2f82f3=new Set();for(const _0xdf2455 of _0x2ffc89){for(const _0x559e26 of _0xdf2455[_0x1fbbd3(0x10b)])_0x18d019(_0x559e26);_0xdf2455[_0x1fbbd3(0x145)]&&_0x18d019(_0xdf2455[_0x1fbbd3(0x145)]);}if(0x0===_0x2f82f3[_0x1fbbd3(0x16c)])return;const _0x2d9380=await _0x55cd8a[_0x1fbbd3(0x173)](_0x4f502f,Array[_0x1fbbd3(0x130)](_0x2f82f3));for(const _0x53998f of _0x2d9380)_0x469812[_0x1fbbd3(0x164)](_0x53998f['id'])||_0x469812[_0x1fbbd3(0x152)](_0x53998f);function _0x18d019(_0x3ab8cb){const _0x350455=_0x1fbbd3;_0x469812[_0x350455(0x164)](_0x3ab8cb)||_0x2f82f3[_0x350455(0x137)](_0x3ab8cb);}}}v[_0x543568(0x150)]=_0x3496fb;export default v;function _0x35de(_0x5cdaca,_0x530ce5){const _0x8d76ab=_0x8d76();return _0x35de=function(_0x35de1c,_0xa8f080){_0x35de1c=_0x35de1c-0x10a;let _0x5cc117=_0x8d76ab[_0x35de1c];return _0x5cc117;},_0x35de(_0x5cdaca,_0x530ce5);}function st(_0x30b17d){const _0x5c5edf=_0x543568;return _0x30b17d[_0x5c5edf(0x165)][_0x5c5edf(0x128)](_0x5c5edf(0x126))||_0x30b17d[_0x5c5edf(0x165)][_0x5c5edf(0x128)](_0x5c5edf(0x13d))||_0x30b17d[_0x5c5edf(0x165)][_0x5c5edf(0x128)](_0x5c5edf(0x114));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2454=['RevisionHistory','requires','RealTimeCollaborativeRevisionHistory'];(function(_0x802ff,_0x245438){var _0x48ec2a=function(_0x5022e2){while(--_0x5022e2){_0x802ff['push'](_0x802ff['shift']());}};_0x48ec2a(++_0x245438);}(_0x2454,0x66));var _0x48ec=function(_0x802ff,_0x245438){_0x802ff=_0x802ff-0x0;var _0x48ec2a=_0x2454[_0x802ff];return _0x48ec2a;};import{Plugin as _0x7128e8}from'ckeditor5/src/core.js';import _0x534944 from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import _0x3b04e0 from'./realtimecollaborativeediting.js';export default class d extends _0x7128e8{static get[_0x48ec('0x1')](){return[_0x48ec('0x0'),_0x534944,_0x3b04e0];}static get['pluginName'](){return _0x48ec('0x2');}}
23
+ function _0x2c23(_0x183f0f,_0x53ea0f){var _0x58de9f=_0x58de();return _0x2c23=function(_0x2c2389,_0xf94e7a){_0x2c2389=_0x2c2389-0x1ed;var _0x39ba9e=_0x58de9f[_0x2c2389];return _0x39ba9e;},_0x2c23(_0x183f0f,_0x53ea0f);}var _0x5c26e6=_0x2c23;(function(_0x3c4197,_0x3d8918){var _0x35f9cf=_0x2c23,_0x28b438=_0x3c4197();while(!![]){try{var _0x2d5e5d=-parseInt(_0x35f9cf(0x1f6))/0x1+parseInt(_0x35f9cf(0x1f5))/0x2*(parseInt(_0x35f9cf(0x1f0))/0x3)+parseInt(_0x35f9cf(0x1f8))/0x4+parseInt(_0x35f9cf(0x1fb))/0x5*(-parseInt(_0x35f9cf(0x1f7))/0x6)+-parseInt(_0x35f9cf(0x1ee))/0x7*(-parseInt(_0x35f9cf(0x1ef))/0x8)+parseInt(_0x35f9cf(0x1f4))/0x9*(parseInt(_0x35f9cf(0x1f1))/0xa)+-parseInt(_0x35f9cf(0x1ed))/0xb;if(_0x2d5e5d===_0x3d8918)break;else _0x28b438['push'](_0x28b438['shift']());}catch(_0x2569b2){_0x28b438['push'](_0x28b438['shift']());}}}(_0x58de,0x6b867));function _0x58de(){var _0x1db52f=['867346vlPBDG','823963HKjJQb','722808rsRhJf','870880QIPXBW','RevisionHistory','pluginName','20EpBtyN','1610653YoadSJ','28qJWJeO','193208zlgRCj','6PyiQiR','7110110BRqwHU','requires','RealTimeCollaborativeRevisionHistory','9hSqCov'];_0x58de=function(){return _0x1db52f;};return _0x58de();}import{Plugin as _0x1a22fa}from'ckeditor5/src/core.js';import _0x3dc99d from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import _0x11afd9 from'./realtimecollaborativeediting.js';export default class d extends _0x1a22fa{static get[_0x5c26e6(0x1f2)](){var _0x1b8a5d=_0x5c26e6;return[_0x1b8a5d(0x1f9),_0x3dc99d,_0x11afd9];}static get[_0x5c26e6(0x1fa)](){var _0x23dcab=_0x5c26e6;return _0x23dcab(0x1f3);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b2a=['connected','TrackChangesEditing','_waitForServiceReady','open','getUser','find','plugins','values','_trackChangesService','attributes','set','startsWith','TrackChangesService','get','connect','message','reconnect','catch','getSuggestion','addToReconnectionStack','then','hasSuggestion','off','isConnected','update','addSuggestionData','state','_saved','listenTo','editor','data','init','adapter','suggestionUpdated','add','delete','_bufferedRequests','size','addUser','originalSuggestionId','connection','_fetchMissingUsersForThreads','cloud-services-internal-error:\x20Request\x20timeout.'];(function(_0x4b3911,_0x3b2a90){const _0x382c87=function(_0x126cf6){while(--_0x126cf6){_0x4b3911['push'](_0x4b3911['shift']());}};_0x382c87(++_0x3b2a90);}(_0x3b2a,0x77));const _0x382c=function(_0x4b3911,_0x3b2a90){_0x4b3911=_0x4b3911-0x0;let _0x382c87=_0x3b2a[_0x4b3911];return _0x382c87;};import{Plugin as _0x5de8b8}from'ckeditor5/src/core.js';import{TrackChangesService as _0x491dec}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{User as _0x386f5c}from'@ckeditor/ckeditor-cloud-services-collaboration';import _0x38a2e1 from'../realtimecollaborativeediting/websocketgateway.js';import _0x22bc88 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x47abec}from'ckeditor5-collaboration/src/collaboration-core.js';export default class g extends _0x5de8b8{static get['requires'](){return[_0x22bc88,_0x382c('0xb'),_0x38a2e1];}constructor(_0x61bea7){super(_0x61bea7);const _0x125684=this[_0x382c('0x27')]['config'][_0x382c('0x17')]('collaboration.channelId');this['_bufferedRequests']=new Map(),this[_0x382c('0x12')]=new g[(_0x382c('0x16'))](_0x125684);}[_0x382c('0x29')](){const _0x17f6e2=this[_0x382c('0x27')]['plugins'][_0x382c('0x17')](_0x38a2e1),_0x1260e0=this[_0x382c('0x27')][_0x382c('0x10')]['get'](_0x382c('0xb'));return _0x1260e0[_0x382c('0x2a')]={'getSuggestion':async _0x259cb9=>{await this[_0x382c('0xc')]();const _0x32864d=await this['_trackChangesService'][_0x382c('0x17')](_0x259cb9)[_0x382c('0x1b')](B);return await this[_0x382c('0x8')]([_0x32864d]),_0x32864d;},'addSuggestion':async({id:_0x4b993e,type:_0x1b8e9c,data:_0x21d8e2,originalSuggestionId:_0x57c7e9,attributes:_0x27bd8c})=>{await this[_0x382c('0xc')]();const _0x21987e={'id':_0x4b993e,'type':_0x1b8e9c,'data':_0x21d8e2,'originalSuggestionId':_0x57c7e9,'attributes':_0x27bd8c},_0x1a5268=await this[_0x382c('0x12')][_0x382c('0x1')](_0x4b993e,_0x1b8e9c,_0x21d8e2,_0x57c7e9,_0x27bd8c)[_0x382c('0x1b')](_0xa907d0=>{if(st(_0xa907d0))return new Promise(_0x25b1bf=>{this[_0x382c('0x3')][_0x382c('0x14')](_0x4b993e,{'resolve':_0x25b1bf,'suggestionData':_0x21987e});});throw _0xa907d0;});return this[_0x382c('0x3')][_0x382c('0x2')](_0x4b993e),_0x1a5268;},'updateSuggestion':async(_0x19b393,_0x12b623)=>{if(await this[_0x382c('0xc')](),_0x382c('0xd')!==_0x12b623[_0x382c('0x24')])return this[_0x382c('0x12')][_0x382c('0x22')](_0x19b393,_0x12b623)[_0x382c('0x1b')](B);}},this[_0x382c('0x26')](this[_0x382c('0x12')],_0x382c('0x0'),(_0x2096bb,_0x5728ff)=>{_0x1260e0[_0x382c('0x1f')](_0x5728ff['id'])&&(_0x1260e0[_0x382c('0x1c')](_0x5728ff['id'])['attributes']=_0x5728ff[_0x382c('0x13')]);}),this[_0x382c('0x12')][_0x382c('0x18')](_0x17f6e2[_0x382c('0x7')])['then'](_0x362ea4=>(_0x17f6e2[_0x382c('0x1d')](this),this[_0x382c('0x8')](_0x362ea4)[_0x382c('0x1e')](()=>{for(const _0x24db8a of _0x362ea4){_0x1260e0['addSuggestionData'](_0x24db8a)[_0x382c('0x25')]=!0x0;}})));}async[_0x382c('0x1a')](){const _0x1f81ac=this['editor'][_0x382c('0x10')][_0x382c('0x17')](_0x382c('0xb')),{connection:_0x218dad}=this[_0x382c('0x27')][_0x382c('0x10')][_0x382c('0x17')](_0x38a2e1),_0x44641b=await this[_0x382c('0x12')]['connect'](_0x218dad);await this[_0x382c('0x8')](_0x44641b);for(const {suggestionData:_0x5f1032,resolve:_0x3e99fc}of this['_bufferedRequests'][_0x382c('0x11')]()){let _0x40bd6c=_0x44641b[_0x382c('0xf')](_0x59e0e6=>_0x59e0e6['id']===_0x5f1032['id']);_0x40bd6c||(_0x40bd6c=await this[_0x382c('0x12')][_0x382c('0x1')](_0x5f1032['id'],_0x5f1032['type'],_0x5f1032[_0x382c('0x28')],_0x5f1032[_0x382c('0x6')])),_0x3e99fc(_0x40bd6c);}for(const _0x15b9ad of _0x44641b)_0x1f81ac[_0x382c('0x1f')](_0x15b9ad['id'])||_0x1f81ac[_0x382c('0x23')](_0x15b9ad);}async[_0x382c('0xc')](){this['_trackChangesService'][_0x382c('0x21')]||await new Promise(_0x58fecc=>{this['listenTo'](this[_0x382c('0x12')],_0x382c('0xa'),_0x207665=>{_0x207665[_0x382c('0x20')](),_0x58fecc();});});}async[_0x382c('0x8')](_0x4c7bc8){const _0x228636=this[_0x382c('0x27')]['plugins'][_0x382c('0x17')](_0x47abec),{connection:_0x33ce1b}=this[_0x382c('0x27')][_0x382c('0x10')][_0x382c('0x17')](_0x38a2e1),_0x5f13d8=new Set();for(const {authorId:_0x506181}of _0x4c7bc8)_0x228636[_0x382c('0xe')](_0x506181)||_0x5f13d8['add'](_0x506181);if(0x0===_0x5f13d8[_0x382c('0x4')])return;const _0x934e35=await _0x386f5c['getMany'](_0x33ce1b,Array['from'](_0x5f13d8));for(const _0x1a2f50 of _0x934e35)_0x228636[_0x382c('0xe')](_0x1a2f50['id'])||_0x228636[_0x382c('0x5')](_0x1a2f50);}}function B(_0x3c4250){if(st(_0x3c4250))return new Promise(()=>{});throw _0x3c4250;}function st(_0x23354b){return _0x23354b[_0x382c('0x19')][_0x382c('0x15')]('cloud-services-internal-error:\x20Not\x20connected.')||_0x23354b[_0x382c('0x19')]['startsWith'](_0x382c('0x9'));}g[_0x382c('0x16')]=_0x491dec;
23
+ function _0x2f80(){const _0x6f74c4=['3434952obIrhw','getSuggestion','getMany','8CpsXLa','isConnected','listenTo','open','values','_fetchMissingUsersForThreads','getUser','10615Lqjoxt','originalSuggestionId','TrackChangesService','40270XEPVXX','addSuggestionData','catch','then','get','editor','cloud-services-internal-error:\x20Not\x20connected.','addUser','1103649NlsVOa','TrackChangesEditing','suggestionUpdated','init','9430525vGsTJV','cloud-services-internal-error:\x20Request\x20timeout.','collaboration.channelId','adapter','from','_waitForServiceReady','4dmHnor','_trackChangesService','connect','2xMrfTc','size','config','_saved','data','connected','find','update','attributes','requires','type','23301hDExLa','message','connection','set','delete','hasSuggestion','reconnect','9947763CWBTxd','addToReconnectionStack','off','plugins','startsWith','11869795EFQSlD','_bufferedRequests','add','state'];_0x2f80=function(){return _0x6f74c4;};return _0x2f80();}const _0x20067e=_0x50be;(function(_0x4cc133,_0x4febf2){const _0x5c6636=_0x50be,_0x514b78=_0x4cc133();while(!![]){try{const _0x2ccd17=-parseInt(_0x5c6636(0x109))/0x1*(parseInt(_0x5c6636(0x13b))/0x2)+-parseInt(_0x5c6636(0x12e))/0x3*(parseInt(_0x5c6636(0x138))/0x4)+parseInt(_0x5c6636(0x132))/0x5+parseInt(_0x5c6636(0x119))/0x6+parseInt(_0x5c6636(0x115))/0x7+-parseInt(_0x5c6636(0x11c))/0x8*(-parseInt(_0x5c6636(0x110))/0x9)+parseInt(_0x5c6636(0x126))/0xa*(-parseInt(_0x5c6636(0x123))/0xb);if(_0x2ccd17===_0x4febf2)break;else _0x514b78['push'](_0x514b78['shift']());}catch(_0xe342df){_0x514b78['push'](_0x514b78['shift']());}}}(_0x2f80,0xefd4e));import{Plugin as _0x2ea025}from'ckeditor5/src/core.js';import{TrackChangesService as _0x109335}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{User as _0x553113}from'@ckeditor/ckeditor-cloud-services-collaboration';import _0x32e8c8 from'../realtimecollaborativeediting/websocketgateway.js';function _0x50be(_0x11b268,_0x45422d){const _0x2f8019=_0x2f80();return _0x50be=function(_0x50be4,_0x14ff7b){_0x50be4=_0x50be4-0x100;let _0x483de4=_0x2f8019[_0x50be4];return _0x483de4;},_0x50be(_0x11b268,_0x45422d);}import _0x35e6ab from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x650d3c}from'ckeditor5-collaboration/src/collaboration-core.js';export default class g extends _0x2ea025{static get[_0x20067e(0x107)](){const _0x521ff0=_0x20067e;return[_0x35e6ab,_0x521ff0(0x12f),_0x32e8c8];}constructor(_0x4d418f){const _0x58fed8=_0x20067e;super(_0x4d418f);const _0x9514a6=this[_0x58fed8(0x12b)][_0x58fed8(0x100)][_0x58fed8(0x12a)](_0x58fed8(0x134));this[_0x58fed8(0x116)]=new Map(),this[_0x58fed8(0x139)]=new g[(_0x58fed8(0x125))](_0x9514a6);}[_0x20067e(0x131)](){const _0x120c50=_0x20067e,_0x33c064=this[_0x120c50(0x12b)][_0x120c50(0x113)][_0x120c50(0x12a)](_0x32e8c8),_0x2521fb=this[_0x120c50(0x12b)][_0x120c50(0x113)][_0x120c50(0x12a)](_0x120c50(0x12f));return _0x2521fb[_0x120c50(0x135)]={'getSuggestion':async _0x1d1813=>{const _0x1234d7=_0x120c50;await this[_0x1234d7(0x137)]();const _0x1b11f9=await this[_0x1234d7(0x139)][_0x1234d7(0x12a)](_0x1d1813)[_0x1234d7(0x128)](B);return await this[_0x1234d7(0x121)]([_0x1b11f9]),_0x1b11f9;},'addSuggestion':async({id:_0x3459a9,type:_0x39d882,data:_0x51cc4a,originalSuggestionId:_0x4a6baa,attributes:_0x3aec8b})=>{const _0x565c61=_0x120c50;await this[_0x565c61(0x137)]();const _0x41c0e8={'id':_0x3459a9,'type':_0x39d882,'data':_0x51cc4a,'originalSuggestionId':_0x4a6baa,'attributes':_0x3aec8b},_0x4d1c67=await this[_0x565c61(0x139)][_0x565c61(0x117)](_0x3459a9,_0x39d882,_0x51cc4a,_0x4a6baa,_0x3aec8b)[_0x565c61(0x128)](_0x3179cd=>{if(st(_0x3179cd))return new Promise(_0x25135e=>{const _0x46d5d8=_0x50be;this[_0x46d5d8(0x116)][_0x46d5d8(0x10c)](_0x3459a9,{'resolve':_0x25135e,'suggestionData':_0x41c0e8});});throw _0x3179cd;});return this[_0x565c61(0x116)][_0x565c61(0x10d)](_0x3459a9),_0x4d1c67;},'updateSuggestion':async(_0x1e0dca,_0x47ca91)=>{const _0x772153=_0x120c50;if(await this[_0x772153(0x137)](),_0x772153(0x11f)!==_0x47ca91[_0x772153(0x118)])return this[_0x772153(0x139)][_0x772153(0x105)](_0x1e0dca,_0x47ca91)[_0x772153(0x128)](B);}},this[_0x120c50(0x11e)](this[_0x120c50(0x139)],_0x120c50(0x130),(_0x3124b8,_0x24c475)=>{const _0x1fb4d2=_0x120c50;_0x2521fb[_0x1fb4d2(0x10e)](_0x24c475['id'])&&(_0x2521fb[_0x1fb4d2(0x11a)](_0x24c475['id'])[_0x1fb4d2(0x106)]=_0x24c475[_0x1fb4d2(0x106)]);}),this[_0x120c50(0x139)][_0x120c50(0x13a)](_0x33c064[_0x120c50(0x10b)])[_0x120c50(0x129)](_0x1097cb=>(_0x33c064[_0x120c50(0x111)](this),this[_0x120c50(0x121)](_0x1097cb)[_0x120c50(0x129)](()=>{const _0x2bdc86=_0x120c50;for(const _0x2b0e3b of _0x1097cb){_0x2521fb[_0x2bdc86(0x127)](_0x2b0e3b)[_0x2bdc86(0x101)]=!0x0;}})));}async[_0x20067e(0x10f)](){const _0x3165db=_0x20067e,_0x49e647=this[_0x3165db(0x12b)][_0x3165db(0x113)][_0x3165db(0x12a)](_0x3165db(0x12f)),{connection:_0x49223a}=this[_0x3165db(0x12b)][_0x3165db(0x113)][_0x3165db(0x12a)](_0x32e8c8),_0x2cc3c0=await this[_0x3165db(0x139)][_0x3165db(0x13a)](_0x49223a);await this[_0x3165db(0x121)](_0x2cc3c0);for(const {suggestionData:_0x305af0,resolve:_0x5bb7d2}of this[_0x3165db(0x116)][_0x3165db(0x120)]()){let _0x33863c=_0x2cc3c0[_0x3165db(0x104)](_0x1fe43f=>_0x1fe43f['id']===_0x305af0['id']);_0x33863c||(_0x33863c=await this[_0x3165db(0x139)][_0x3165db(0x117)](_0x305af0['id'],_0x305af0[_0x3165db(0x108)],_0x305af0[_0x3165db(0x102)],_0x305af0[_0x3165db(0x124)])),_0x5bb7d2(_0x33863c);}for(const _0x15d4db of _0x2cc3c0)_0x49e647[_0x3165db(0x10e)](_0x15d4db['id'])||_0x49e647[_0x3165db(0x127)](_0x15d4db);}async[_0x20067e(0x137)](){const _0x54ceb8=_0x20067e;this[_0x54ceb8(0x139)][_0x54ceb8(0x11d)]||await new Promise(_0x24d261=>{const _0x298a6d=_0x54ceb8;this[_0x298a6d(0x11e)](this[_0x298a6d(0x139)],_0x298a6d(0x103),_0x4a3212=>{const _0xefd5d8=_0x298a6d;_0x4a3212[_0xefd5d8(0x112)](),_0x24d261();});});}async[_0x20067e(0x121)](_0x2bc098){const _0x498095=_0x20067e,_0xf45366=this[_0x498095(0x12b)][_0x498095(0x113)][_0x498095(0x12a)](_0x650d3c),{connection:_0x10b19c}=this[_0x498095(0x12b)][_0x498095(0x113)][_0x498095(0x12a)](_0x32e8c8),_0x286779=new Set();for(const {authorId:_0x583ef5}of _0x2bc098)_0xf45366[_0x498095(0x122)](_0x583ef5)||_0x286779[_0x498095(0x117)](_0x583ef5);if(0x0===_0x286779[_0x498095(0x13c)])return;const _0x451f9f=await _0x553113[_0x498095(0x11b)](_0x10b19c,Array[_0x498095(0x136)](_0x286779));for(const _0xf2d4d5 of _0x451f9f)_0xf45366[_0x498095(0x122)](_0xf2d4d5['id'])||_0xf45366[_0x498095(0x12d)](_0xf2d4d5);}}function B(_0x33a473){if(st(_0x33a473))return new Promise(()=>{});throw _0x33a473;}function st(_0xf28744){const _0xedc138=_0x20067e;return _0xf28744[_0xedc138(0x10a)][_0xedc138(0x114)](_0xedc138(0x12c))||_0xf28744[_0xedc138(0x10a)][_0xedc138(0x114)](_0xedc138(0x133));}g[_0x20067e(0x125)]=_0x109335;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x40b8=['requires','pluginName','TrackChanges','RealTimeCollaborativeTrackChanges'];(function(_0x293f07,_0x40b813){var _0x13f8b5=function(_0x223e6a){while(--_0x223e6a){_0x293f07['push'](_0x293f07['shift']());}};_0x13f8b5(++_0x40b813);}(_0x40b8,0x111));var _0x13f8=function(_0x293f07,_0x40b813){_0x293f07=_0x293f07-0x0;var _0x13f8b5=_0x40b8[_0x293f07];return _0x13f8b5;};import{Plugin as _0x262fab}from'ckeditor5/src/core.js';import _0x28bd89 from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import _0x1ba71e from'./realtimecollaborativecomments.js';export default class p extends _0x262fab{static get[_0x13f8('0x3')](){return[_0x1ba71e,_0x28bd89,_0x13f8('0x1')];}static get[_0x13f8('0x0')](){return _0x13f8('0x2');}}
23
+ var _0x4c7ae3=_0x55a0;function _0x2679(){var _0xa632ab=['1294984wZKOhC','pluginName','TrackChanges','22191498iSBHtg','82714EKFbGJ','897477nXeLiQ','75Aaeybu','10rZWtlk','requires','82520nhxHja','1801962KOJiRx','3850835pGjhzo','826OfGAZC','RealTimeCollaborativeTrackChanges'];_0x2679=function(){return _0xa632ab;};return _0x2679();}(function(_0x45f3f3,_0x11b055){var _0x46c492=_0x55a0,_0x2c93aa=_0x45f3f3();while(!![]){try{var _0x3e4f41=parseInt(_0x46c492(0x14f))/0x1+-parseInt(_0x46c492(0x14e))/0x2*(parseInt(_0x46c492(0x150))/0x3)+parseInt(_0x46c492(0x158))/0x4+-parseInt(_0x46c492(0x155))/0x5+parseInt(_0x46c492(0x154))/0x6+-parseInt(_0x46c492(0x156))/0x7*(parseInt(_0x46c492(0x153))/0x8)+parseInt(_0x46c492(0x14d))/0x9*(parseInt(_0x46c492(0x151))/0xa);if(_0x3e4f41===_0x11b055)break;else _0x2c93aa['push'](_0x2c93aa['shift']());}catch(_0x4ecddd){_0x2c93aa['push'](_0x2c93aa['shift']());}}}(_0x2679,0xebd7a));import{Plugin as _0x12e9b0}from'ckeditor5/src/core.js';import _0x4cf573 from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';function _0x55a0(_0x26e0b8,_0x3729d2){var _0x267999=_0x2679();return _0x55a0=function(_0x55a04c,_0x319465){_0x55a04c=_0x55a04c-0x14b;var _0x27e94e=_0x267999[_0x55a04c];return _0x27e94e;},_0x55a0(_0x26e0b8,_0x3729d2);}import _0x4da7a3 from'./realtimecollaborativecomments.js';export default class p extends _0x12e9b0{static get[_0x4c7ae3(0x152)](){var _0x4ee183=_0x4c7ae3;return[_0x4da7a3,_0x4cf573,_0x4ee183(0x14c)];}static get[_0x4c7ae3(0x14b)](){var _0x3313ce=_0x4c7ae3;return _0x3313ce(0x157);}}