New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ckeditor/ckeditor5-real-time-collaboration

Package Overview
Dependencies
Maintainers
1
Versions
867
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-real-time-collaboration - npm Package Compare versions

Comparing version 37.1.0 to 38.0.0-rc.0

2

build/translations/ja.js

@@ -1,1 +0,1 @@

!function(e){const o=e.ja=e.ja||{};o.dictionary=Object.assign(o.dictionary||{},{CONNECTED_USERS:"1人の接続済みユーザー(自分)",PENDING_ACTION_SENDING_DATA:"サーバーへデータを送信しています。","Synchronization issue":"同期問題","The document cannot be connected back to the server. To not lose your content save it locally and refresh the editor.":"ドキュメントをサーバーへ接続し直すことができません。コンテンツを失わないためにはローカルへ保存し、エディタを再読み込みしてください。","The document details could not be taken during the reconnection. To not lose your content save it locally and refresh the editor.":"ドキュメントの詳細は、再接続中に読み込めませんでした。コンテンツを失わないためにはローカルへ保存し、エディタを再読み込みしてください。","The last saved version of the document does not match the local version. To not lose your content save it locally and refresh the editor.":"ドキュメントの最後に保存されたバージョンがローカルバージョンに一致しません。コンテンツを失わないためにはローカルへ保存し、エディタを再読み込みしてください。","The local document and server document differ and merging them can cause unexpected behavior. To not lose your content save it locally and refresh the editor.":"ローカルドキュメントとサーバードキュメントが異なり、それらのマージは予期しない動作を引き起こすことがあります。コンテンツを失わないためにはローカルへ保存し、エディタを再読み込みしてください。"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
!function(e){const o=e.ja=e.ja||{};o.dictionary=Object.assign(o.dictionary||{},{CONNECTED_USERS:"%0人の接続済みユーザー",PENDING_ACTION_SENDING_DATA:"サーバーへデータを送信しています。","Synchronization issue":"同期問題","The document cannot be connected back to the server. To not lose your content save it locally and refresh the editor.":"ドキュメントをサーバーへ接続し直すことができません。コンテンツを失わないためにはローカルへ保存し、エディタを再読み込みしてください。","The document details could not be taken during the reconnection. To not lose your content save it locally and refresh the editor.":"ドキュメントの詳細は、再接続中に読み込めませんでした。コンテンツを失わないためにはローカルへ保存し、エディタを再読み込みしてください。","The last saved version of the document does not match the local version. To not lose your content save it locally and refresh the editor.":"ドキュメントの最後に保存されたバージョンがローカルバージョンに一致しません。コンテンツを失わないためにはローカルへ保存し、エディタを再読み込みしてください。","The local document and server document differ and merging them can cause unexpected behavior. To not lose your content save it locally and refresh the editor.":"ローカルドキュメントとサーバードキュメントが異なり、それらのマージは予期しない動作を引き起こすことがあります。コンテンツを失わないためにはローカルへ保存し、エディタを再読み込みしてください。"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));

@@ -33,2 +33,7 @@ {

]
},
{
"type": "Button",
"name": "commentsArchive",
"iconPath": "@ckeditor/ckeditor5-comments/theme/icons/comments-archive.svg"
}

@@ -35,0 +40,0 @@ ]

{
"name": "@ckeditor/ckeditor5-real-time-collaboration",
"version": "37.1.0",
"version": "38.0.0-rc.0",
"description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",

@@ -45,6 +45,6 @@ "license": "SEE LICENSE IN LICENSE.md",

"@ckeditor/ckeditor5-cloud-services": "^37.1.0",
"@ckeditor/ckeditor-cloud-services-collaboration": "^46.0.0",
"@ckeditor/ckeditor5-operations-compressor": "^37.1.0",
"@ckeditor/ckeditor-cloud-services-collaboration": "^47.0.0-rc.0",
"@ckeditor/ckeditor5-operations-compressor": "^38.0.0-rc.0",
"ckeditor5": "^37.1.0",
"ckeditor5-collaboration": "^37.1.0",
"ckeditor5-collaboration": "^38.0.0-rc.0",
"lodash-es": "^4.17.11"

@@ -51,0 +51,0 @@ },

import '@ckeditor/ckeditor5-cloud-services';
import type { PresenceListConfig } from './config';
import type { RealTimeCollaborationClient } from './index';
declare module '@ckeditor/ckeditor5-core' {

@@ -7,2 +8,5 @@ interface EditorConfig {

}
interface PluginsMap {
[RealTimeCollaborationClient.pluginName]: RealTimeCollaborationClient;
}
}

@@ -9,0 +13,0 @@ declare module '@ckeditor/ckeditor5-cloud-services' {

@@ -23,2 +23,2 @@ /*

*/
export function getTranslation(_0x54114a,_0x2baf98,_0x29374f){const t=_0x54114a['t'];switch(_0x2baf98){case'PENDING_ACTION_SENDING_DATA':return t({'string':'Sending\x20data\x20to\x20the\x20server.','id':'PENDING_ACTION_SENDING_DATA'});case'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.':return t('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.');case'The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'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.':return t('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.');case'Synchronization\x20issue':return t('Synchronization\x20issue');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'CONNECTED_USERS':return t({'string':'1\x20connected\x20user\x20(me)','plural':'%0\x20connected\x20users','id':'CONNECTED_USERS'},_0x29374f);default:return'';}}
export function getTranslation(_0x41b90d,_0x483bdd,_0x3d09bf){const t=_0x41b90d['t'];switch(_0x483bdd){case'PENDING_ACTION_SENDING_DATA':return t({'string':'Sending\x20data\x20to\x20the\x20server.','id':'PENDING_ACTION_SENDING_DATA'});case'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.':return t('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.');case'The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'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.':return t('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.');case'Synchronization\x20issue':return t('Synchronization\x20issue');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'CONNECTED_USERS':return t({'string':'1\x20connected\x20user\x20(me)','plural':'%0\x20connected\x20users','id':'CONNECTED_USERS'},_0x3d09bf);default:return'';}}

@@ -8,3 +8,4 @@ export { default as RealTimeCollaborativeEditing } from './realtimecollaborativeediting';

export { default as CloudServicesRevisionHistoryAdapter } from './realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter';
export { default as RealTimeCollaborationClient } from './realtimecollaborativeediting/realtimecollaborationclient';
export { default as PresenceList } from './presencelist';
import './augmentation';

@@ -23,2 +23,2 @@ /*

*/
export{default as RealTimeCollaborativeEditing}from'./realtimecollaborativeediting';export{default as RealTimeCollaborativeTrackChanges}from'./realtimecollaborativetrackchanges';export{default as RealTimeCollaborativeComments}from'./realtimecollaborativecomments';export{default as RealTimeCollaborativeRevisionHistory}from'./realtimecollaborativerevisionhistory';export{default as CloudServicesCommentsAdapter}from'./realtimecollaborativecomments/cloudservicescommentsadapter';export{default as CloudServicesTrackChangesAdapter}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter';export{default as CloudServicesRevisionHistoryAdapter}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter';export{default as PresenceList}from'./presencelist';import'./augmentation';
export{default as RealTimeCollaborativeEditing}from'./realtimecollaborativeediting';export{default as RealTimeCollaborativeTrackChanges}from'./realtimecollaborativetrackchanges';export{default as RealTimeCollaborativeComments}from'./realtimecollaborativecomments';export{default as RealTimeCollaborativeRevisionHistory}from'./realtimecollaborativerevisionhistory';export{default as CloudServicesCommentsAdapter}from'./realtimecollaborativecomments/cloudservicescommentsadapter';export{default as CloudServicesTrackChangesAdapter}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter';export{default as CloudServicesRevisionHistoryAdapter}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter';export{default as RealTimeCollaborationClient}from'./realtimecollaborativeediting/realtimecollaborationclient';export{default as PresenceList}from'./presencelist';import'./augmentation';

@@ -9,3 +9,3 @@ /**

* currently connected to the edited document. The users are displayed as a row of avatars.
* The information about the users is provided by {@glink @cs guides/security/token-endpoint#user CKEditor Cloud Services}.
* The information about the users is provided by {@glink @cs developer-resources/security/token-endpoint#user CKEditor Cloud Services}.
*

@@ -12,0 +12,0 @@ * The presence list UI collapses to a dropdown if six or more users are connected.

@@ -23,2 +23,2 @@ /*

*/
var _0x35c8=['PresenceList','pluginName','requires'];(function(_0xc1dfd,_0x35c814){var _0x8e88fc=function(_0xfc9adc){while(--_0xfc9adc){_0xc1dfd['push'](_0xc1dfd['shift']());}};_0x8e88fc(++_0x35c814);}(_0x35c8,0x67));var _0x8e88=function(_0xc1dfd,_0x35c814){_0xc1dfd=_0xc1dfd-0x0;var _0x8e88fc=_0x35c8[_0xc1dfd];return _0x8e88fc;};import{ContextPlugin as _0x503189}from'ckeditor5/src/core';import _0xddbd from'./realtimecollaborativeediting/sessions';import _0x2b217e from'./presencelist/presencelistui';export default class s extends _0x503189{static get[_0x8e88('0x1')](){return[_0xddbd,_0x2b217e];}static get[_0x8e88('0x0')](){return _0x8e88('0x2');}}
var _0x3d49=['requires','pluginName'];(function(_0x139d00,_0x3d4996){var _0x1d03d9=function(_0x3838b2){while(--_0x3838b2){_0x139d00['push'](_0x139d00['shift']());}};_0x1d03d9(++_0x3d4996);}(_0x3d49,0xb6));var _0x1d03=function(_0x139d00,_0x3d4996){_0x139d00=_0x139d00-0x0;var _0x1d03d9=_0x3d49[_0x139d00];return _0x1d03d9;};import{ContextPlugin as _0x5ca914}from'ckeditor5/src/core';import _0x3409d0 from'./realtimecollaborativeediting/sessions';import _0x1a6bf2 from'./presencelist/presencelistui';export default class s extends _0x5ca914{static get[_0x1d03('0x0')](){return[_0x3409d0,_0x1a6bf2];}static get[_0x1d03('0x1')](){return'PresenceList';}}

@@ -23,2 +23,2 @@ /*

*/
const _0x4e8d=['appendChild','bodyCollection','inlineListView','requires','_handleUserRemove','hideDropdown','using','presenceList.container','isVisible','isHidden','from','execute','isRendered','_handleUserAdd','render','allConnectedUsers','view','_createView','presencelist-missing-container','content','items','unpin','usersCount','isCollapsed','bindTo','presenceList','locale','presenceDropdownView','onClick','counterView','add','length','presenceList.collapseAt','presencelist-collapseat-invalid-format','context','detachFromDom','define','init','get','plugins','destroy','balloonPanelView','remove','class','element','lastConnectedUsers','showDropdown','_allConnectedUsers','config','bind'];(function(_0x557af7,_0x4e8d09){const _0x4fe7cc=function(_0x4db1b7){while(--_0x4db1b7){_0x557af7['push'](_0x557af7['shift']());}};_0x4fe7cc(++_0x4e8d09);}(_0x4e8d,0x1cb));const _0x4fe7=function(_0x557af7,_0x4e8d09){_0x557af7=_0x557af7-0x0;let _0x4fe7cc=_0x4e8d[_0x557af7];return _0x4fe7cc;};import{ContextPlugin as _0x59e933}from'ckeditor5/src/core';import{CKEditorError as _0xc4e4d1,Collection as _0x209c77}from'ckeditor5/src/utils';import{clickOutsideHandler as _0x1dd6f3,BodyCollection as _0x26ef52,BalloonPanelView as _0x2bd6d6}from'ckeditor5/src/ui';import{isElement as _0x45346c}from'lodash-es';import _0x5c6bde from'../realtimecollaborativeediting/sessions';import _0x919e8d from'./view/presencelistview';import _0x3f7677 from'./view/presencedropdownlistview';import _0x20ec11 from'./view/presencedropdownlistitemview';import _0x14e3d2 from'./view/presenceinlinelistitemview';export default class i extends _0x59e933{constructor(_0x3936db){super(_0x3936db),this[_0x4fe7('0x19')][_0x4fe7('0x27')][_0x4fe7('0x1b')]('presenceList',{'collapseAt':0x6});const _0x304a38=_0x3936db[_0x4fe7('0x27')][_0x4fe7('0x1d')](_0x4fe7('0x17'));if('number'!=typeof _0x304a38)throw new _0xc4e4d1(_0x4fe7('0x18'),this);if(_0x304a38<0x1)throw new _0xc4e4d1('presencelist-collapseat-invalid-format',this);this['_allConnectedUsers']=this[_0x4fe7('0x19')][_0x4fe7('0x1e')][_0x4fe7('0x1d')](_0x5c6bde)[_0x4fe7('0x6')],this['set'](_0x4fe7('0xd'),0x0),this[_0x4fe7('0x24')]=new _0x209c77(),this[_0x4fe7('0x20')]=new _0x2bd6d6(),this[_0x4fe7('0x20')][_0x4fe7('0x22')]='ck\x20ck-presence-list__balloon',this['view']=this[_0x4fe7('0x8')](),this[_0x4fe7('0x12')]=void 0x0;}static get[_0x4fe7('0x2c')](){return[_0x5c6bde];}[_0x4fe7('0x1c')](){for(const _0x3ae4a2 of this['_allConnectedUsers'])this[_0x4fe7('0x4')](_0x3ae4a2);this['listenTo'](this[_0x4fe7('0x26')],_0x4fe7('0x15'),(_0x4b9e5c,_0x365bf2)=>{this[_0x4fe7('0x4')](_0x365bf2);}),this['listenTo'](this[_0x4fe7('0x26')],'remove',(_0x20bf55,_0x1c905b)=>{this[_0x4fe7('0x2d')](_0x1c905b);});}['_createView'](){const _0x5c7603=this['context'],_0x2cf794=new _0x919e8d(this['context'][_0x4fe7('0x11')]),_0xa6eb60=this[_0x4fe7('0x20')];if(!_0x45346c(_0x5c7603[_0x4fe7('0x27')][_0x4fe7('0x1d')](_0x4fe7('0x30'))))throw new _0xc4e4d1(_0x4fe7('0x9'),this);return _0x2cf794[_0x4fe7('0x14')][_0x4fe7('0x28')](_0x4fe7('0xd'))['to'](this),_0x2cf794[_0x4fe7('0x28')]('isCollapsed')['to'](this,_0x4fe7('0xd'),_0x3b2963=>{const _0x5c1d7a=_0x3b2963>=_0x5c7603[_0x4fe7('0x27')][_0x4fe7('0x1d')]('presenceList.collapseAt');return _0x2cf794[_0x4fe7('0x14')][_0x4fe7('0x0')]=!(0x1==_0x3b2963||_0x5c1d7a),_0x5c1d7a||this[_0x4fe7('0x2e')](),_0x5c1d7a;}),_0x2cf794[_0x4fe7('0x2b')][_0x4fe7('0xb')][_0x4fe7('0xf')](this['lastConnectedUsers'])[_0x4fe7('0x2f')](_0x61af36=>{const _0x25ea93=_0x5c7603[_0x4fe7('0x27')][_0x4fe7('0x1d')](_0x4fe7('0x10')),_0x286d41=new _0x14e3d2(_0x5c7603[_0x4fe7('0x11')],_0x61af36,!!_0x25ea93[_0x4fe7('0x13')]);return _0x286d41['bind']('hasTooltip')['to'](_0x2cf794,'isCollapsed',_0x2a7b92=>!_0x2a7b92),_0x25ea93['onClick']&&this['listenTo'](_0x286d41,'execute',()=>{this[_0x4fe7('0x7')][_0x4fe7('0xe')]||_0x25ea93['onClick'](_0x61af36,_0x286d41[_0x4fe7('0x23')]);}),_0x286d41;}),this['listenTo'](_0x2cf794['inlineListView'],_0x4fe7('0x2'),()=>{this['presenceDropdownView']?this[_0x4fe7('0x2e')]():this['view'][_0x4fe7('0xe')]&&this[_0x4fe7('0x25')]();}),_0x2cf794[_0x4fe7('0x5')](),_0xa6eb60[_0x4fe7('0x5')](),_0x1dd6f3({'emitter':_0x2cf794,'activator':()=>_0xa6eb60[_0x4fe7('0x31')],'contextElements':[_0xa6eb60[_0x4fe7('0x23')],_0x2cf794[_0x4fe7('0x2b')][_0x4fe7('0x23')]],'callback':()=>this[_0x4fe7('0x2e')]()}),_0x5c7603[_0x4fe7('0x27')][_0x4fe7('0x1d')](_0x4fe7('0x30'))[_0x4fe7('0x29')](_0x2cf794[_0x4fe7('0x23')]),this[_0x4fe7('0x2a')]=new _0x26ef52(this[_0x4fe7('0x19')][_0x4fe7('0x11')]),this[_0x4fe7('0x2a')]['attachToDom'](),this[_0x4fe7('0x2a')][_0x4fe7('0x15')](_0xa6eb60),_0x2cf794;}[_0x4fe7('0x4')](_0x331010){this['usersCount']++,0x5==this[_0x4fe7('0x24')][_0x4fe7('0x16')]&&this['lastConnectedUsers']['remove'](0x0),this['lastConnectedUsers']['add'](_0x331010);}['_handleUserRemove'](_0x2e0d7e){if(this['usersCount']--,this[_0x4fe7('0x24')][_0x4fe7('0x1d')](_0x2e0d7e['id'])&&(this[_0x4fe7('0x24')][_0x4fe7('0x21')](_0x2e0d7e['id']),this['lastConnectedUsers']['length']<this[_0x4fe7('0xd')]))for(const _0x1e4c94 of Array[_0x4fe7('0x1')](this['_allConnectedUsers'])['reverse']())if(!this['lastConnectedUsers']['get'](_0x1e4c94['id']))return void this[_0x4fe7('0x24')][_0x4fe7('0x15')](_0x1e4c94,0x0);}[_0x4fe7('0x25')](){if(this[_0x4fe7('0x12')])return;this[_0x4fe7('0x12')]=new _0x3f7677(this['context'][_0x4fe7('0x11')]);const _0x3c8dd4=this[_0x4fe7('0x19')]['config']['get'](_0x4fe7('0x10'));this[_0x4fe7('0x12')][_0x4fe7('0xb')][_0x4fe7('0xf')](this['_allConnectedUsers'])[_0x4fe7('0x2f')](_0x491bd4=>{const _0x231895=new _0x20ec11(this[_0x4fe7('0x19')][_0x4fe7('0x11')],_0x491bd4,!!_0x3c8dd4[_0x4fe7('0x13')]);return _0x3c8dd4[_0x4fe7('0x13')]&&this['listenTo'](_0x231895,'execute',()=>{_0x3c8dd4[_0x4fe7('0x13')](_0x491bd4,_0x231895[_0x4fe7('0x23')]);}),_0x231895;}),this[_0x4fe7('0x20')][_0x4fe7('0xa')]['add'](this[_0x4fe7('0x12')]),this[_0x4fe7('0x20')]['pin']({'target':this[_0x4fe7('0x7')][_0x4fe7('0x2b')][_0x4fe7('0x23')]});}[_0x4fe7('0x2e')](){this[_0x4fe7('0x12')]&&(this[_0x4fe7('0x20')][_0x4fe7('0xc')](),this[_0x4fe7('0x20')][_0x4fe7('0xa')][_0x4fe7('0x21')](this[_0x4fe7('0x12')]),this['presenceDropdownView'][_0x4fe7('0x1f')](),this[_0x4fe7('0x12')]=void 0x0);}[_0x4fe7('0x1f')](){super[_0x4fe7('0x1f')](),this[_0x4fe7('0x7')]&&this[_0x4fe7('0x7')][_0x4fe7('0x3')]&&this[_0x4fe7('0x7')][_0x4fe7('0x1f')](),this[_0x4fe7('0x2a')]&&this[_0x4fe7('0x2a')][_0x4fe7('0x1a')]();}}
const _0x4a51=['items','isRendered','render','hasTooltip','locale','_handleUserAdd','bind','presencelist-collapseat-invalid-format','get','presenceList.collapseAt','usersCount','inlineListView','isCollapsed','unpin','requires','content','_createView','pin','reverse','length','listenTo','presenceDropdownView','class','onClick','attachToDom','appendChild','bindTo','remove','config','bodyCollection','add','_allConnectedUsers','_handleUserRemove','presenceList','isHidden','presenceList.container','plugins','execute','destroy','showDropdown','counterView','view','using','presencelist-missing-container','hideDropdown','number','init','lastConnectedUsers','element','ck\x20ck-presence-list__balloon','balloonPanelView','context'];(function(_0x5d3af6,_0x4a51ff){const _0x3a2088=function(_0x4957c9){while(--_0x4957c9){_0x5d3af6['push'](_0x5d3af6['shift']());}};_0x3a2088(++_0x4a51ff);}(_0x4a51,0x1ec));const _0x3a20=function(_0x5d3af6,_0x4a51ff){_0x5d3af6=_0x5d3af6-0x0;let _0x3a2088=_0x4a51[_0x5d3af6];return _0x3a2088;};import{ContextPlugin as _0xb1eb13}from'ckeditor5/src/core';import{CKEditorError as _0x4ea254,Collection as _0x42085a}from'ckeditor5/src/utils';import{clickOutsideHandler as _0x270de0,BodyCollection as _0x32e66d,BalloonPanelView as _0x119c15}from'ckeditor5/src/ui';import{isElement as _0x1cf775}from'lodash-es';import _0xd0cf9f from'../realtimecollaborativeediting/sessions';import _0xfd3e42 from'./view/presencelistview';import _0x97d37f from'./view/presencedropdownlistview';import _0x3df328 from'./view/presencedropdownlistitemview';import _0x31c2b2 from'./view/presenceinlinelistitemview';export default class i extends _0xb1eb13{constructor(_0x448c9e){super(_0x448c9e),this[_0x3a20('0x1b')][_0x3a20('0x4')]['define'](_0x3a20('0x9'),{'collapseAt':0x6});const _0x42a14e=_0x448c9e[_0x3a20('0x4')]['get'](_0x3a20('0x25'));if(_0x3a20('0x15')!=typeof _0x42a14e)throw new _0x4ea254(_0x3a20('0x23'),this);if(_0x42a14e<0x1)throw new _0x4ea254(_0x3a20('0x23'),this);this[_0x3a20('0x7')]=this[_0x3a20('0x1b')][_0x3a20('0xc')][_0x3a20('0x24')](_0xd0cf9f)['allConnectedUsers'],this['set'](_0x3a20('0x26'),0x0),this['lastConnectedUsers']=new _0x42085a(),this['balloonPanelView']=new _0x119c15(),this['balloonPanelView'][_0x3a20('0x32')]=_0x3a20('0x19'),this['view']=this[_0x3a20('0x2c')](),this[_0x3a20('0x31')]=void 0x0;}static get[_0x3a20('0x2a')](){return[_0xd0cf9f];}[_0x3a20('0x16')](){for(const _0x147967 of this['_allConnectedUsers'])this[_0x3a20('0x21')](_0x147967);this[_0x3a20('0x30')](this['_allConnectedUsers'],_0x3a20('0x6'),(_0x315bae,_0x3dbe83)=>{this[_0x3a20('0x21')](_0x3dbe83);}),this[_0x3a20('0x30')](this['_allConnectedUsers'],_0x3a20('0x3'),(_0x35fc5f,_0x355cae)=>{this[_0x3a20('0x8')](_0x355cae);});}[_0x3a20('0x2c')](){const _0x299ccb=this[_0x3a20('0x1b')],_0x25ae52=new _0xfd3e42(this[_0x3a20('0x1b')][_0x3a20('0x20')]),_0x19b75f=this[_0x3a20('0x1a')];if(!_0x1cf775(_0x299ccb[_0x3a20('0x4')]['get'](_0x3a20('0xb'))))throw new _0x4ea254(_0x3a20('0x13'),this);return _0x25ae52[_0x3a20('0x10')][_0x3a20('0x22')]('usersCount')['to'](this),_0x25ae52['bind']('isCollapsed')['to'](this,_0x3a20('0x26'),_0x41357d=>{const _0x1a2dcd=_0x41357d>=_0x299ccb[_0x3a20('0x4')]['get'](_0x3a20('0x25'));return _0x25ae52[_0x3a20('0x10')][_0x3a20('0xa')]=!(0x1==_0x41357d||_0x1a2dcd),_0x1a2dcd||this[_0x3a20('0x14')](),_0x1a2dcd;}),_0x25ae52['inlineListView'][_0x3a20('0x1c')][_0x3a20('0x2')](this[_0x3a20('0x17')])[_0x3a20('0x12')](_0x1ef0b1=>{const _0x378ebc=_0x299ccb[_0x3a20('0x4')][_0x3a20('0x24')](_0x3a20('0x9')),_0xc84d02=new _0x31c2b2(_0x299ccb[_0x3a20('0x20')],_0x1ef0b1,!!_0x378ebc['onClick']);return _0xc84d02[_0x3a20('0x22')](_0x3a20('0x1f'))['to'](_0x25ae52,_0x3a20('0x28'),_0x3261c5=>!_0x3261c5),_0x378ebc[_0x3a20('0x33')]&&this[_0x3a20('0x30')](_0xc84d02,'execute',()=>{this[_0x3a20('0x11')][_0x3a20('0x28')]||_0x378ebc[_0x3a20('0x33')](_0x1ef0b1,_0xc84d02[_0x3a20('0x18')]);}),_0xc84d02;}),this[_0x3a20('0x30')](_0x25ae52[_0x3a20('0x27')],_0x3a20('0xd'),()=>{this[_0x3a20('0x31')]?this['hideDropdown']():this['view'][_0x3a20('0x28')]&&this['showDropdown']();}),_0x25ae52[_0x3a20('0x1e')](),_0x19b75f[_0x3a20('0x1e')](),_0x270de0({'emitter':_0x25ae52,'activator':()=>_0x19b75f['isVisible'],'contextElements':[_0x19b75f[_0x3a20('0x18')],_0x25ae52['inlineListView']['element']],'callback':()=>this[_0x3a20('0x14')]()}),_0x299ccb[_0x3a20('0x4')][_0x3a20('0x24')](_0x3a20('0xb'))[_0x3a20('0x1')](_0x25ae52[_0x3a20('0x18')]),this['bodyCollection']=new _0x32e66d(this[_0x3a20('0x1b')][_0x3a20('0x20')]),this[_0x3a20('0x5')][_0x3a20('0x0')](),this[_0x3a20('0x5')][_0x3a20('0x6')](_0x19b75f),_0x25ae52;}['_handleUserAdd'](_0x5364ce){this['usersCount']++,0x5==this[_0x3a20('0x17')][_0x3a20('0x2f')]&&this[_0x3a20('0x17')]['remove'](0x0),this[_0x3a20('0x17')][_0x3a20('0x6')](_0x5364ce);}[_0x3a20('0x8')](_0x44c38f){if(this[_0x3a20('0x26')]--,this[_0x3a20('0x17')][_0x3a20('0x24')](_0x44c38f['id'])&&(this[_0x3a20('0x17')][_0x3a20('0x3')](_0x44c38f['id']),this[_0x3a20('0x17')]['length']<this[_0x3a20('0x26')]))for(const _0x2d76b7 of Array['from'](this['_allConnectedUsers'])[_0x3a20('0x2e')]())if(!this[_0x3a20('0x17')][_0x3a20('0x24')](_0x2d76b7['id']))return void this[_0x3a20('0x17')][_0x3a20('0x6')](_0x2d76b7,0x0);}[_0x3a20('0xf')](){if(this[_0x3a20('0x31')])return;this[_0x3a20('0x31')]=new _0x97d37f(this[_0x3a20('0x1b')]['locale']);const _0x22c246=this[_0x3a20('0x1b')][_0x3a20('0x4')]['get'](_0x3a20('0x9'));this[_0x3a20('0x31')]['items'][_0x3a20('0x2')](this[_0x3a20('0x7')])[_0x3a20('0x12')](_0x3746e6=>{const _0x121209=new _0x3df328(this[_0x3a20('0x1b')][_0x3a20('0x20')],_0x3746e6,!!_0x22c246[_0x3a20('0x33')]);return _0x22c246[_0x3a20('0x33')]&&this[_0x3a20('0x30')](_0x121209,'execute',()=>{_0x22c246[_0x3a20('0x33')](_0x3746e6,_0x121209[_0x3a20('0x18')]);}),_0x121209;}),this['balloonPanelView'][_0x3a20('0x2b')][_0x3a20('0x6')](this[_0x3a20('0x31')]),this['balloonPanelView'][_0x3a20('0x2d')]({'target':this['view'][_0x3a20('0x27')][_0x3a20('0x18')]});}[_0x3a20('0x14')](){this[_0x3a20('0x31')]&&(this[_0x3a20('0x1a')][_0x3a20('0x29')](),this[_0x3a20('0x1a')][_0x3a20('0x2b')][_0x3a20('0x3')](this[_0x3a20('0x31')]),this[_0x3a20('0x31')][_0x3a20('0xe')](),this['presenceDropdownView']=void 0x0);}[_0x3a20('0xe')](){super[_0x3a20('0xe')](),this[_0x3a20('0x11')]&&this[_0x3a20('0x11')][_0x3a20('0x1d')]&&this[_0x3a20('0x11')][_0x3a20('0xe')](),this[_0x3a20('0x5')]&&this['bodyCollection']['detachFromDom']();}}

@@ -23,2 +23,2 @@ /*

*/
const _0x126e=['isHidden','usersCount','ck-presence-list__counter','set','ck-presence-list__counter--hidden','setTemplate','bindTemplate'];(function(_0x5a5886,_0x126e0a){const _0x50ff0a=function(_0x46275f){while(--_0x46275f){_0x5a5886['push'](_0x5a5886['shift']());}};_0x50ff0a(++_0x126e0a);}(_0x126e,0x1df));const _0x50ff=function(_0x5a5886,_0x126e0a){_0x5a5886=_0x5a5886-0x0;let _0x50ff0a=_0x126e[_0x5a5886];return _0x50ff0a;};import{View as _0x43e5a6}from'ckeditor5/src/ui';import{getTranslation as _0x57d652}from'../../common-translations';export default class ct extends _0x43e5a6{constructor(_0x2992cd){super(_0x2992cd);const _0x275dfb=this[_0x50ff('0x3')];this[_0x50ff('0x0')](_0x50ff('0x5'),0x0),this[_0x50ff('0x0')](_0x50ff('0x4'),!0x0),this[_0x50ff('0x2')]({'tag':'div','attributes':{'class':['ck',_0x50ff('0x6'),_0x275dfb['if'](_0x50ff('0x4'),_0x50ff('0x1'))]},'children':[{'text':_0x275dfb['to'](_0x50ff('0x5'),_0x398277=>_0x57d652(_0x2992cd,'CONNECTED_USERS',_0x398277))}]});}}
const _0x5240=['set','isHidden','CONNECTED_USERS','usersCount','div','ck-presence-list__counter--hidden','setTemplate'];(function(_0x374e40,_0x524035){const _0x1e2b8=function(_0x440986){while(--_0x440986){_0x374e40['push'](_0x374e40['shift']());}};_0x1e2b8(++_0x524035);}(_0x5240,0x14c));const _0x1e2b=function(_0x374e40,_0x524035){_0x374e40=_0x374e40-0x0;let _0x1e2b8=_0x5240[_0x374e40];return _0x1e2b8;};import{View as _0x44108f}from'ckeditor5/src/ui';import{getTranslation as _0x2eec07}from'../../common-translations';export default class nt extends _0x44108f{constructor(_0x1a522f){super(_0x1a522f);const _0x5deabb=this['bindTemplate'];this[_0x1e2b('0x4')](_0x1e2b('0x0'),0x0),this['set'](_0x1e2b('0x5'),!0x0),this[_0x1e2b('0x3')]({'tag':_0x1e2b('0x1'),'attributes':{'class':['ck','ck-presence-list__counter',_0x5deabb['if'](_0x1e2b('0x5'),_0x1e2b('0x2'))]},'children':[{'text':_0x5deabb['to']('usersCount',_0x12e206=>_0x2eec07(_0x1a522f,_0x1e2b('0x6'),_0x12e206))}]});}}

@@ -23,2 +23,2 @@ /*

*/
const _0x4e68=['div','true','ck-user__full-name','fire','ck-presence-list__marker','bindTemplate','getBackgroundColorClass','execute','span','name','tag','button','setTemplate','ck-presence-list__dropdown-list-item','userView','color'];(function(_0x112392,_0x4e6817){const _0x293891=function(_0x3467ee){while(--_0x3467ee){_0x112392['push'](_0x112392['shift']());}};_0x293891(++_0x4e6817);}(_0x4e68,0xac));const _0x2938=function(_0x112392,_0x4e6817){_0x112392=_0x112392-0x0;let _0x293891=_0x4e68[_0x112392];return _0x293891;};import{View as _0x5b72ac}from'ckeditor5/src/ui';import{UserView as _0x3d0640}from'ckeditor5-collaboration/src/collaboration-core';export default class C extends _0x5b72ac{constructor(_0x31c8e8,_0x160cde,_0x509484){super(_0x31c8e8);const _0x4778ac=this[_0x2938('0x9')];this[_0x2938('0x2')]=new _0x3d0640(_0x31c8e8,_0x160cde);const _0x1c1b2a={'tag':_0x2938('0x4'),'attributes':{'class':['ck',_0x2938('0x1')]},'children':[this[_0x2938('0x2')],{'tag':_0x2938('0xc'),'attributes':{'class':['ck',_0x2938('0x6')]},'children':[{'text':_0x160cde[_0x2938('0xd')]}]},{'tag':'span','attributes':{'class':['ck',_0x2938('0x8'),_0x160cde[_0x2938('0x3')][_0x2938('0xa')]()],'aria-hidden':_0x2938('0x5')}}]};_0x509484&&(_0x1c1b2a[_0x2938('0xe')]=_0x2938('0xf'),_0x1c1b2a['on']={'click':_0x4778ac['to'](()=>this[_0x2938('0x7')](_0x2938('0xb')))}),this[_0x2938('0x0')](_0x1c1b2a);}}
const _0x3d81=['ck-presence-list__marker','button','ck-presence-list__dropdown-list-item','div','span','true','userView','fire','ck-user__full-name','bindTemplate','getBackgroundColorClass'];(function(_0x5c7ee9,_0x3d81c6){const _0x321fc0=function(_0x1ba336){while(--_0x1ba336){_0x5c7ee9['push'](_0x5c7ee9['shift']());}};_0x321fc0(++_0x3d81c6);}(_0x3d81,0x1e8));const _0x321f=function(_0x5c7ee9,_0x3d81c6){_0x5c7ee9=_0x5c7ee9-0x0;let _0x321fc0=_0x3d81[_0x5c7ee9];return _0x321fc0;};import{View as _0x4427e8}from'ckeditor5/src/ui';import{UserView as _0x2c7d3e}from'ckeditor5-collaboration/src/collaboration-core';export default class rt extends _0x4427e8{constructor(_0x18c2ca,_0x50494f,_0x4d103d){super(_0x18c2ca);const _0x389982=this[_0x321f('0x5')];this[_0x321f('0x2')]=new _0x2c7d3e(_0x18c2ca,_0x50494f);const _0x3bdae0={'tag':_0x321f('0xa'),'attributes':{'class':['ck',_0x321f('0x9')]},'children':[this[_0x321f('0x2')],{'tag':_0x321f('0x0'),'attributes':{'class':['ck',_0x321f('0x4')]},'children':[{'text':_0x50494f['name']}]},{'tag':'span','attributes':{'class':['ck',_0x321f('0x7'),_0x50494f['color'][_0x321f('0x6')]()],'aria-hidden':_0x321f('0x1')}}]};_0x4d103d&&(_0x3bdae0['tag']=_0x321f('0x8'),_0x3bdae0['on']={'click':_0x389982['to'](()=>this[_0x321f('0x3')]('execute'))}),this['setTemplate'](_0x3bdae0);}}

@@ -23,2 +23,2 @@ /*

*/
var _0x1222=['items','setTemplate','createCollection','ck-presence-list__dropdown-list','div'];(function(_0x1b3ad8,_0x12223d){var _0x30c981=function(_0x43b4b4){while(--_0x43b4b4){_0x1b3ad8['push'](_0x1b3ad8['shift']());}};_0x30c981(++_0x12223d);}(_0x1222,0xd6));var _0x30c9=function(_0x1b3ad8,_0x12223d){_0x1b3ad8=_0x1b3ad8-0x0;var _0x30c981=_0x1222[_0x1b3ad8];return _0x30c981;};import{View as _0x511501}from'ckeditor5/src/ui';export default class A extends _0x511501{constructor(_0x2a29aa){super(_0x2a29aa),this['items']=this[_0x30c9('0x3')](),this[_0x30c9('0x2')]({'tag':_0x30c9('0x0'),'attributes':{'class':['ck',_0x30c9('0x4')]},'children':[{'tag':_0x30c9('0x0'),'attributes':{'class':['ck','ck-presence-list__dropdown-list-wrapper']},'children':this[_0x30c9('0x1')]}]});}}
var _0xa392=['ck-presence-list__dropdown-list-wrapper','createCollection','ck-presence-list__dropdown-list','items','div'];(function(_0x5a3740,_0xa3922e){var _0x5c5d99=function(_0x28125c){while(--_0x28125c){_0x5a3740['push'](_0x5a3740['shift']());}};_0x5c5d99(++_0xa3922e);}(_0xa392,0x1df));var _0x5c5d=function(_0x5a3740,_0xa3922e){_0x5a3740=_0x5a3740-0x0;var _0x5c5d99=_0xa392[_0x5a3740];return _0x5c5d99;};import{View as _0x5825f7}from'ckeditor5/src/ui';export default class et extends _0x5825f7{constructor(_0x41b682){super(_0x41b682),this[_0x5c5d('0x4')]=this[_0x5c5d('0x2')](),this['setTemplate']({'tag':_0x5c5d('0x0'),'attributes':{'class':['ck',_0x5c5d('0x3')]},'children':[{'tag':_0x5c5d('0x0'),'attributes':{'class':['ck',_0x5c5d('0x1')]},'children':this['items']}]});}}

@@ -23,2 +23,2 @@ /*

*/
const _0x458f=['true','userView','getBackgroundColorClass','bindTemplate','color','markerView','tag','ck-presence-list__marker','set','div','setTemplate','tooltipPosition','hasTooltip','fire','ck-presence-list__list-item__tooltip'];(function(_0x1f7f20,_0x458ffd){const _0x23d949=function(_0x1ef542){while(--_0x1ef542){_0x1f7f20['push'](_0x1f7f20['shift']());}};_0x23d949(++_0x458ffd);}(_0x458f,0xe8));const _0x23d9=function(_0x1f7f20,_0x458ffd){_0x1f7f20=_0x1f7f20-0x0;let _0x23d949=_0x458f[_0x1f7f20];return _0x23d949;};import{View as _0x2f1e52}from'ckeditor5/src/ui';import{UserView as _0x3b3c1f}from'ckeditor5-collaboration/src/collaboration-core';export default class _ extends _0x2f1e52{constructor(_0x46bc9e,_0x515045,_0xb20440){super(_0x46bc9e);const _0x14b578=this[_0x23d9('0xb')];this[_0x23d9('0x1')](_0x23d9('0x5'),!0x0),this[_0x23d9('0x1')](_0x23d9('0x4'),''),this['userView']=new _0x3b3c1f(_0x46bc9e,_0x515045),this[_0x23d9('0xd')]=new ot(_0x46bc9e,_0x515045);const _0x4eb0f2={'tag':_0x23d9('0x2'),'attributes':{'class':['ck','ck-presence-list__list-item'],'data-cke-tooltip-text':this[_0x23d9('0x9')]['name'],'data-cke-tooltip-position':_0x14b578['to']('tooltipPosition'),'data-cke-tooltip-disabled':_0x14b578['to']('hasTooltip',_0xf6236a=>!_0xf6236a),'data-cke-tooltip-class':_0x23d9('0x7')},'children':[this[_0x23d9('0x9')],this[_0x23d9('0xd')]]};_0xb20440&&(_0x4eb0f2[_0x23d9('0xe')]='button',_0x4eb0f2['on']={'click':_0x14b578['to'](()=>this[_0x23d9('0x6')]('execute'))}),this[_0x23d9('0x3')](_0x4eb0f2);}}class ot extends _0x2f1e52{constructor(_0x5ca52d,_0x5106fb){super(_0x5ca52d),this[_0x23d9('0x3')]({'tag':'span','attributes':{'class':['ck',_0x23d9('0x0'),_0x5106fb[_0x23d9('0xc')][_0x23d9('0xa')]()],'aria-hidden':_0x23d9('0x8')}});}}
const _0x2b8d=['true','div','color','set','getBackgroundColorClass','name','bindTemplate','setTemplate','ck-presence-list__list-item__tooltip','tag','tooltipPosition','markerView','userView','hasTooltip','fire','execute'];(function(_0x26d862,_0x2b8d74){const _0x3381b4=function(_0x121d16){while(--_0x121d16){_0x26d862['push'](_0x26d862['shift']());}};_0x3381b4(++_0x2b8d74);}(_0x2b8d,0x107));const _0x3381=function(_0x26d862,_0x2b8d74){_0x26d862=_0x26d862-0x0;let _0x3381b4=_0x2b8d[_0x26d862];return _0x3381b4;};import{View as _0x405e3b}from'ckeditor5/src/ui';import{UserView as _0x5fd8c4}from'ckeditor5-collaboration/src/collaboration-core';export default class ht extends _0x405e3b{constructor(_0x51cd96,_0xb6b61a,_0x33af52){super(_0x51cd96);const _0x37b9fc=this[_0x3381('0xf')];this[_0x3381('0xc')](_0x3381('0x6'),!0x0),this[_0x3381('0xc')](_0x3381('0x3'),''),this['userView']=new _0x5fd8c4(_0x51cd96,_0xb6b61a),this[_0x3381('0x4')]=new ot(_0x51cd96,_0xb6b61a);const _0x2529e3={'tag':_0x3381('0xa'),'attributes':{'class':['ck','ck-presence-list__list-item'],'data-cke-tooltip-text':this[_0x3381('0x5')][_0x3381('0xe')],'data-cke-tooltip-position':_0x37b9fc['to'](_0x3381('0x3')),'data-cke-tooltip-disabled':_0x37b9fc['to'](_0x3381('0x6'),_0x54c2d7=>!_0x54c2d7),'data-cke-tooltip-class':_0x3381('0x1')},'children':[this[_0x3381('0x5')],this[_0x3381('0x4')]]};_0x33af52&&(_0x2529e3[_0x3381('0x2')]='button',_0x2529e3['on']={'click':_0x37b9fc['to'](()=>this[_0x3381('0x7')](_0x3381('0x8')))}),this[_0x3381('0x0')](_0x2529e3);}}class ot extends _0x405e3b{constructor(_0x2aacce,_0x228097){super(_0x2aacce),this[_0x3381('0x0')]({'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x228097[_0x3381('0xb')][_0x3381('0xd')]()],'aria-hidden':_0x3381('0x9')}});}}

@@ -23,2 +23,2 @@ /*

*/
const _0x4709=['createCollection','execute','bindTemplate','div','items'];(function(_0x286cbb,_0x4709f2){const _0x266997=function(_0x18c946){while(--_0x18c946){_0x286cbb['push'](_0x286cbb['shift']());}};_0x266997(++_0x4709f2);}(_0x4709,0x10d));const _0x2669=function(_0x286cbb,_0x4709f2){_0x286cbb=_0x286cbb-0x0;let _0x266997=_0x4709[_0x286cbb];return _0x266997;};import{View as _0x23ef33}from'ckeditor5/src/ui';export default class ht extends _0x23ef33{constructor(_0x1a3af4){super(_0x1a3af4),this[_0x2669('0x0')]=this[_0x2669('0x1')]();const _0x2e5cdb=this[_0x2669('0x3')];this['setTemplate']({'tag':_0x2669('0x4'),'attributes':{'class':['ck','ck-presence-list__list']},'children':this[_0x2669('0x0')],'on':{'click':_0x2e5cdb['to'](()=>this['fire'](_0x2669('0x2')))}});}}
const _0x5791=['setTemplate','execute','bindTemplate','div','items','ck-presence-list__list'];(function(_0x4c4270,_0x579145){const _0xb99c64=function(_0x13ec5b){while(--_0x13ec5b){_0x4c4270['push'](_0x4c4270['shift']());}};_0xb99c64(++_0x579145);}(_0x5791,0x1a4));const _0xb99c=function(_0x4c4270,_0x579145){_0x4c4270=_0x4c4270-0x0;let _0xb99c64=_0x5791[_0x4c4270];return _0xb99c64;};import{View as _0x46eb5e}from'ckeditor5/src/ui';export default class lt extends _0x46eb5e{constructor(_0xe3a1cd){super(_0xe3a1cd),this[_0xb99c('0x4')]=this['createCollection']();const _0x230301=this[_0xb99c('0x2')];this[_0xb99c('0x0')]({'tag':_0xb99c('0x3'),'attributes':{'class':['ck',_0xb99c('0x5')]},'children':this[_0xb99c('0x4')],'on':{'click':_0x230301['to'](()=>this['fire'](_0xb99c('0x1')))}});}}

@@ -23,2 +23,2 @@ /*

*/
const _0x4599=['first','items','ck-rounded-corners','inlineListView','ck-presence-list','locale','set','isCollapsed','div','counterView','tooltipPosition','setTemplate','listenTo','bindTemplate','change','ck-reset'];(function(_0x2a784d,_0x459988){const _0x136c11=function(_0x40bdda){while(--_0x40bdda){_0x2a784d['push'](_0x2a784d['shift']());}};_0x136c11(++_0x459988);}(_0x4599,0x116));const _0x136c=function(_0x2a784d,_0x459988){_0x2a784d=_0x2a784d-0x0;let _0x136c11=_0x4599[_0x2a784d];return _0x136c11;};import{View as _0x45cffe}from'ckeditor5/src/ui';import _0xbad158 from'./presencecounterview';import _0x554cfc from'./presenceinlinelistview';import'../../../theme/presencelist.css';export default class x extends _0x45cffe{constructor(_0x45499e){super(_0x45499e);const _0x332a12=this[_0x136c('0x7')];this[_0x136c('0x0')](_0x136c('0x1'),!0x0),this[_0x136c('0x3')]=new _0xbad158(this[_0x136c('0xf')]),this['inlineListView']=new _0x554cfc(_0x45499e),this[_0x136c('0x6')](this[_0x136c('0xd')][_0x136c('0xb')],_0x136c('0x8'),()=>{for(const _0x4f1809 of this[_0x136c('0xd')][_0x136c('0xb')])_0x4f1809['tooltipPosition']='s';this['inlineListView'][_0x136c('0xb')][_0x136c('0xa')]&&(this['inlineListView'][_0x136c('0xb')]['first'][_0x136c('0x4')]='se');}),this[_0x136c('0x5')]({'tag':_0x136c('0x2'),'attributes':{'class':['ck',_0x136c('0xe'),_0x136c('0x9'),_0x136c('0xc'),_0x332a12['if'](_0x136c('0x1'),'ck-presence-list--collapsed')]},'children':[this[_0x136c('0x3')],this['inlineListView']]});}}
const _0x3e31=['change','set','ck-reset','counterView','ck-rounded-corners','inlineListView','setTemplate','isCollapsed','tooltipPosition','bindTemplate','locale','first','div','listenTo','items'];(function(_0x1668b2,_0x3e3114){const _0x5dac9e=function(_0xd40583){while(--_0xd40583){_0x1668b2['push'](_0x1668b2['shift']());}};_0x5dac9e(++_0x3e3114);}(_0x3e31,0xc2));const _0x5dac=function(_0x1668b2,_0x3e3114){_0x1668b2=_0x1668b2-0x0;let _0x5dac9e=_0x3e31[_0x1668b2];return _0x5dac9e;};import{View as _0x3f7547}from'ckeditor5/src/ui';import _0x330841 from'./presencecounterview';import _0x469ac0 from'./presenceinlinelistview';import'../../../theme/presencelist.css';export default class it extends _0x3f7547{constructor(_0x39ef17){super(_0x39ef17);const _0x414e91=this[_0x5dac('0xa')];this[_0x5dac('0x2')](_0x5dac('0x8'),!0x0),this[_0x5dac('0x4')]=new _0x330841(this[_0x5dac('0xb')]),this[_0x5dac('0x6')]=new _0x469ac0(_0x39ef17),this[_0x5dac('0xe')](this[_0x5dac('0x6')][_0x5dac('0x0')],_0x5dac('0x1'),()=>{for(const _0x3968bb of this[_0x5dac('0x6')][_0x5dac('0x0')])_0x3968bb[_0x5dac('0x9')]='s';this['inlineListView'][_0x5dac('0x0')]['first']&&(this[_0x5dac('0x6')][_0x5dac('0x0')][_0x5dac('0xc')][_0x5dac('0x9')]='se');}),this[_0x5dac('0x7')]({'tag':_0x5dac('0xd'),'attributes':{'class':['ck','ck-presence-list',_0x5dac('0x3'),_0x5dac('0x5'),_0x414e91['if']('isCollapsed','ck-presence-list--collapsed')]},'children':[this[_0x5dac('0x4')],this[_0x5dac('0x6')]]});}}

@@ -23,2 +23,2 @@ /*

*/
const _0x3d32=['get','change:state','connected','RealTimeCollaborativeComments','editor','config','listenTo','Comments','plugins','collaboration.channelId','isThreadsLoadingPaused','_setUpService','once','destroy','ready'];(function(_0x2296b9,_0x3d3206){const _0x19889f=function(_0x2c857d){while(--_0x2c857d){_0x2296b9['push'](_0x2296b9['shift']());}};_0x19889f(++_0x3d3206);}(_0x3d32,0xf5));const _0x1988=function(_0x2296b9,_0x3d3206){_0x2296b9=_0x2296b9-0x0;let _0x19889f=_0x3d32[_0x2296b9];return _0x19889f;};import{Plugin as _0x2bdd9e}from'ckeditor5/src/core';import _0x2faf46 from'./realtimecollaborativecomments/cloudservicescommentsadapter';import _0x458201 from'./realtimecollaborativeediting';import _0x3aa4c3 from'./realtimecollaborativeediting/websocketgateway';export default class m extends _0x2bdd9e{static get['requires'](){return[_0x1988('0x2'),_0x2faf46,_0x458201,_0x3aa4c3];}static get['pluginName'](){return _0x1988('0xd');}['init'](){const _0x46fe0c=this[_0x1988('0xe')]['plugins'][_0x1988('0xa')](_0x3aa4c3),_0x632d6a=this[_0x1988('0xe')]['plugins'][_0x1988('0xa')]('CommentsEditing'),_0x57c7a6=this['editor'][_0x1988('0x3')]['get'](_0x2faf46);return this['editor']['data'][_0x1988('0x7')](_0x1988('0x9'),()=>{this[_0x1988('0x1')](_0x46fe0c,_0x1988('0xb'),(_0x58dde8,_0x28909c,_0x16fd72)=>{_0x632d6a[_0x1988('0x5')]=_0x1988('0xc')!==_0x16fd72;});}),this[_0x1988('0x1')](_0x46fe0c,_0x1988('0xb'),(_0x9f31d9,_0x297ff3,_0xce10be)=>{this[_0x1988('0xe')][_0x1988('0x3')][_0x1988('0xa')]('CommentsRepository')['switchReadOnly'](_0x1988('0xc')!==_0xce10be);}),_0x57c7a6[_0x1988('0x6')](this[_0x1988('0xe')][_0x1988('0x0')]['get'](_0x1988('0x4')));}[_0x1988('0x8')](){this['editor']['plugins'][_0x1988('0xa')](_0x2faf46)['_terminateService'](this[_0x1988('0xe')][_0x1988('0x0')][_0x1988('0xa')](_0x1988('0x4'))),super[_0x1988('0x8')]();}}
const _0x122c=['change:state','connected','get','init','Comments','CommentsEditing','CommentsRepository','destroy','plugins','ready','_terminateService','isThreadsLoadingPaused','pluginName','data','config','listenTo','switchReadOnly','editor'];(function(_0x7c7802,_0x122c86){const _0x4dd215=function(_0x29d7e1){while(--_0x29d7e1){_0x7c7802['push'](_0x7c7802['shift']());}};_0x4dd215(++_0x122c86);}(_0x122c,0x84));const _0x4dd2=function(_0x7c7802,_0x122c86){_0x7c7802=_0x7c7802-0x0;let _0x4dd215=_0x122c[_0x7c7802];return _0x4dd215;};import{Plugin as _0x197cbd}from'ckeditor5/src/core';import _0x30821b from'./realtimecollaborativecomments/cloudservicescommentsadapter';import _0x11cddb from'./realtimecollaborativeediting';import _0x2142b5 from'./realtimecollaborativeediting/websocketgateway';export default class m extends _0x197cbd{static get['requires'](){return[_0x4dd2('0x10'),_0x30821b,_0x11cddb,_0x2142b5];}static get[_0x4dd2('0x6')](){return'RealTimeCollaborativeComments';}[_0x4dd2('0xf')](){const _0x2688d1=this[_0x4dd2('0xb')]['plugins'][_0x4dd2('0xe')](_0x2142b5),_0x5d2fd2=this[_0x4dd2('0xb')][_0x4dd2('0x2')][_0x4dd2('0xe')](_0x4dd2('0x11')),_0xd4a152=this[_0x4dd2('0xb')][_0x4dd2('0x2')][_0x4dd2('0xe')](_0x30821b);return this[_0x4dd2('0xb')][_0x4dd2('0x7')]['once'](_0x4dd2('0x3'),()=>{this['listenTo'](_0x2688d1,_0x4dd2('0xc'),(_0x2437c0,_0x4b5424,_0x144eab)=>{_0x5d2fd2[_0x4dd2('0x5')]=_0x4dd2('0xd')!==_0x144eab;});}),this[_0x4dd2('0x9')](_0x2688d1,_0x4dd2('0xc'),(_0x1a1f76,_0x31a72d,_0x15e3e2)=>{this[_0x4dd2('0xb')][_0x4dd2('0x2')]['get'](_0x4dd2('0x0'))[_0x4dd2('0xa')](_0x4dd2('0xd')!==_0x15e3e2);}),_0xd4a152['_setUpService'](this[_0x4dd2('0xb')][_0x4dd2('0x8')][_0x4dd2('0xe')]('collaboration.channelId'));}[_0x4dd2('0x1')](){this['editor'][_0x4dd2('0x2')][_0x4dd2('0xe')](_0x30821b)[_0x4dd2('0x4')](this[_0x4dd2('0xb')][_0x4dd2('0x8')][_0x4dd2('0xe')]('collaboration.channelId')),super['destroy']();}}

@@ -23,2 +23,2 @@ /*

*/
const _0x38f9=['_fetchMissingUsersForThreads','cloudservicescommentsadapter-disconnect-not-exist','context','comments','updateComment','set','createdAt','cloudservicescommentsadapter-connect-already-connected','getCommentThread','getCommentThreads','off','_getService','_setUpService','cloud-services-internal-error:\x20Request\x20timeout.','get','reopenCommentThread','removeCommentThread','assign','resolveCommentThread','disconnect','addCommentThread','keys','commentThreadReopened','_connectService','addComment','CommentsRepository','setPermissions','commentAdded','commentThreadAdded','commentThreadResolved','code','startsWith','map','commentThreadId','listenTo','catch','authorId','getUser','adapter','from','resolvedAt','size','attributes','plugins','delete','cloud-services-internal-error:\x20Not\x20connected.','has','CommentsService','getComment','commentId','config','_services','connect','getMany','update','register','content','requires','mySessionId','addUser','removeComment','sessionAdd:','commentThreadUpdated','updateCommentThread','resolvedBy','reconnect','404','message','destroy','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','remove','_terminateService','add','resolve','collaboration.channelId'];(function(_0x57eff2,_0x38f9ed){const _0x18c394=function(_0x2a97b7){while(--_0x2a97b7){_0x57eff2['push'](_0x57eff2['shift']());}};_0x18c394(++_0x38f9ed);}(_0x38f9,0x1d5));const _0x18c3=function(_0x57eff2,_0x38f9ed){_0x57eff2=_0x57eff2-0x0;let _0x18c394=_0x38f9[_0x57eff2];return _0x18c394;};import{Context as _0x38a011,ContextPlugin as _0x48097b}from'ckeditor5/src/core';import{CKEditorError as _0xfbb5b}from'ckeditor5/src/utils';import{Users as _0x4340e4}from'ckeditor5-collaboration/src/collaboration-core';import _0x62067b from'@ckeditor/ckeditor-cloud-services-collaboration/src/users/user';import _0x3150da from'@ckeditor/ckeditor-cloud-services-collaboration/src/comments-v2/commentsservice';import _0x3abfee from'../realtimecollaborativeediting/websocketgateway';import _0xe40bf5 from'../realtimecollaborativeediting/sessions';export default class a extends _0x48097b{static get[_0x18c3('0x26')](){return[_0x3abfee,_0x18c3('0x6'),_0xe40bf5,_0x4340e4];}constructor(_0xeca6c9){super(_0xeca6c9),this[_0x18c3('0x20')]=new Map();}async['init'](){const _0x5cce69=this[_0x18c3('0x3a')],_0x444e95=_0x5cce69['plugins'][_0x18c3('0x46')](_0x18c3('0x6'));if(_0x5cce69['plugins'][_0x18c3('0x46')](_0x3abfee)['addToReconnectionStack'](this),_0x444e95[_0x18c3('0x13')]={'addCommentThread':async({channelId:_0x51fc87,threadId:_0x38662a,comments:_0x246ffd,resolvedAt:_0x1ca0ea,resolvedBy:_0x43850d,context:_0x524882,attributes:_0x743796})=>{const _0x1d4132=await this[_0x18c3('0x43')](_0x51fc87)[_0x18c3('0x1')]({'commentThreadId':_0x38662a,'comments':_0x246ffd['map'](_0x2b0a1c=>function(_0x1d98af,_0xe955e1,_0x3461e3){return{'commentThreadId':_0x3461e3,'commentId':_0x1d98af['commentId'],'userId':_0x1d98af[_0x18c3('0x11')],'content':_0x1d98af[_0x18c3('0x25')],'documentId':_0xe955e1,'createdAt':_0x1d98af[_0x18c3('0x3e')],'attributes':_0x1d98af[_0x18c3('0x17')]||{}};}(_0x2b0a1c,_0x51fc87,_0x38662a)),'resolvedAt':_0x1ca0ea,'resolvedBy':_0x43850d,'context':_0x524882,'attributes':_0x743796})[_0x18c3('0x10')](B);return{'threadId':_0x1d4132['commentThreadId'],'comments':_0x1d4132[_0x18c3('0x3b')]};},'getCommentThread':async({channelId:_0x321dba,threadId:_0x53bba8})=>{const _0x4098e4=await this[_0x18c3('0x43')](_0x321dba)[_0x18c3('0x40')](_0x53bba8)[_0x18c3('0x10')](B);return await this[_0x18c3('0x38')]([_0x4098e4]),{'threadId':_0x4098e4[_0x18c3('0xe')],'comments':_0x4098e4['comments'][_0x18c3('0xd')](R),'context':_0x4098e4[_0x18c3('0x3a')],'resolvedAt':_0x4098e4[_0x18c3('0x15')],'resolvedBy':_0x4098e4['resolvedBy'],'attributes':_0x4098e4[_0x18c3('0x17')]||{}};},'updateCommentThread':async({channelId:_0x1721b9,threadId:_0x80a68d,context:_0x38cb2f,attributes:_0x18179e})=>this[_0x18c3('0x43')](_0x1721b9)['updateCommentThread']({'commentThreadId':_0x80a68d,'context':_0x38cb2f,'attributes':_0x18179e})['catch'](F)[_0x18c3('0x10')](B),'resolveCommentThread':async({channelId:_0x315c5e,threadId:_0x59fc53})=>{const _0x26cfd5=await this[_0x18c3('0x43')](_0x315c5e)[_0x18c3('0x4a')](_0x59fc53)[_0x18c3('0x10')](F)['catch'](B);return{'threadId':_0x26cfd5[_0x18c3('0xe')],'resolvedAt':_0x26cfd5[_0x18c3('0x15')],'resolvedBy':_0x26cfd5[_0x18c3('0x2d')]};},'reopenCommentThread':async({channelId:_0x409c91,threadId:_0x370a19})=>this[_0x18c3('0x43')](_0x409c91)[_0x18c3('0x47')](_0x370a19)['catch'](F)[_0x18c3('0x10')](B),'removeCommentThread':({channelId:_0x389952,threadId:_0x34b3f6})=>this['_getService'](_0x389952)[_0x18c3('0x48')](_0x34b3f6)[_0x18c3('0x10')](F)[_0x18c3('0x10')](B),'addComment':({channelId:_0x5ea50c,threadId:_0x59603b,commentId:_0x16c9b3,content:_0x26d2a1,attributes:_0x3977c2})=>this[_0x18c3('0x43')](_0x5ea50c)[_0x18c3('0x5')](_0x59603b,_0x16c9b3,_0x26d2a1,_0x3977c2)[_0x18c3('0x10')](B),'updateComment':({channelId:_0x5b076c,threadId:_0x1a639d,commentId:_0x25ec52,content:_0x5e6b15,attributes:_0x4c5e53})=>this[_0x18c3('0x43')](_0x5b076c)[_0x18c3('0x3c')](_0x1a639d,_0x25ec52,_0x5e6b15,_0x4c5e53)[_0x18c3('0x10')](F)[_0x18c3('0x10')](B),'removeComment':({channelId:_0x15e638,threadId:_0x2dcf5d,commentId:_0x3891c3})=>this[_0x18c3('0x43')](_0x15e638)[_0x18c3('0x29')](_0x2dcf5d,_0x3891c3)[_0x18c3('0x10')](F)['catch'](B)},_0x5cce69 instanceof _0x38a011){const _0x46071e=_0x5cce69[_0x18c3('0x1f')][_0x18c3('0x46')]('collaboration.channelId'),_0x3427f7=_0x5cce69[_0x18c3('0x18')][_0x18c3('0x46')](_0xe40bf5);await this[_0x18c3('0x44')](_0x46071e);const _0xc8a80b=await this['_services'][_0x18c3('0x46')](_0x46071e)['getConnectedSessions']();this[_0x18c3('0xf')](_0x3427f7,_0x18c3('0x2a')+_0x46071e,(_0x25c974,{session:_0xf859ed})=>{_0xf859ed['id']===_0x3427f7[_0x18c3('0x27')]&&(_0x25c974[_0x18c3('0x42')](),this[_0x18c3('0x3a')][_0x18c3('0x18')][_0x18c3('0x46')]('Permissions')[_0x18c3('0x7')](_0xf859ed['permissions'],_0x46071e));}),_0x3427f7[_0x18c3('0x24')](_0x46071e,_0xc8a80b);}}async[_0x18c3('0x44')](_0x3fdd9b){if(this[_0x18c3('0x20')][_0x18c3('0x1b')](_0x3fdd9b))throw new _0xfbb5b(_0x18c3('0x3f'),null,{'channelId':_0x3fdd9b});const _0x591a05=this[_0x18c3('0x3a')][_0x18c3('0x18')][_0x18c3('0x46')](_0x18c3('0x6')),_0x57c76c=new a[(_0x18c3('0x1c'))](_0x3fdd9b);this['_services'][_0x18c3('0x3d')](_0x3fdd9b,_0x57c76c),this['listenTo'](_0x57c76c,_0x18c3('0x9'),(_0x286759,_0x176799)=>{const {commentThreadId:_0x1a094d,documentId:_0x2f3d0,context:_0x48ef5b,attributes:_0x1ea370,resolvedAt:_0x6afdfb,resolvedBy:_0x5ba79c,comments:_0x3439fb}=_0x176799;_0x591a05['getCommentThread'](_0x1a094d)||_0x591a05[_0x18c3('0x1')]({'threadId':_0x1a094d,'channelId':_0x2f3d0,'comments':_0x3439fb?_0x3439fb[_0x18c3('0xd')](R):[],'context':_0x48ef5b,'attributes':_0x1ea370,'resolvedAt':_0x6afdfb,'resolvedBy':_0x5ba79c,'isFromAdapter':!0x0});}),this[_0x18c3('0xf')](_0x57c76c,_0x18c3('0x2b'),(_0x5a46de,{commentThreadId:_0x10de2f,documentId:_0x507055,context:_0xbcd6c0,attributes:_0x272517})=>{_0x591a05['getCommentThread'](_0x10de2f)&&_0x591a05[_0x18c3('0x2c')]({'threadId':_0x10de2f,'channelId':_0x507055,'context':_0xbcd6c0,'attributes':_0x272517,'isFromAdapter':!0x0});}),this['listenTo'](_0x57c76c,_0x18c3('0xa'),(_0x5390a4,{commentThreadId:_0x1da715,resolvedBy:_0x199962,resolvedAt:_0xff0e58})=>{const _0x2e963d=_0x591a05['getCommentThread'](_0x1da715);_0x2e963d&&_0x2e963d[_0x18c3('0x36')]({'resolvedBy':_0x199962,'resolvedAt':_0xff0e58,'isFromAdapter':!0x0});}),this[_0x18c3('0xf')](_0x57c76c,_0x18c3('0x3'),(_0x730790,{commentThreadId:_0x282176})=>{const _0x39defa=_0x591a05[_0x18c3('0x40')](_0x282176);_0x39defa&&_0x39defa['reopen']({'isFromAdapter':!0x0});}),this[_0x18c3('0xf')](_0x57c76c,'commentThreadRemoved',(_0x34cbd3,{commentThreadId:_0x3d5190})=>{const _0x363ae9=_0x591a05[_0x18c3('0x40')](_0x3d5190);_0x363ae9&&_0x363ae9[_0x18c3('0x33')]({'isFromAdapter':!0x0});}),this[_0x18c3('0xf')](_0x57c76c,_0x18c3('0x8'),(_0x1cc964,_0x2e2249)=>{const _0x2730a3=_0x2e2249['commentThreadId'],_0x353894=_0x591a05[_0x18c3('0x40')](_0x2730a3);_0x353894&&_0x353894[_0x18c3('0x5')]({...R(_0x2e2249),'isFromAdapter':!0x0});}),this['listenTo'](_0x57c76c,'commentUpdated',(_0x2d61d8,{commentThreadId:_0x22889c,commentId:_0x526e05,content:_0x2edbd0,attributes:_0x185ea})=>{const _0x1fc5c8=_0x591a05[_0x18c3('0x40')](_0x22889c);if(_0x1fc5c8){const _0x36c2fb=_0x1fc5c8['getComment'](_0x526e05);_0x36c2fb&&_0x36c2fb[_0x18c3('0x23')]({'content':_0x2edbd0,'attributes':_0x185ea,'isFromAdapter':!0x0});}}),this[_0x18c3('0xf')](_0x57c76c,'commentRemoved',(_0xe0783f,{commentThreadId:_0x51f460,commentId:_0x2c6c0a})=>{const _0x4395c2=_0x591a05[_0x18c3('0x40')](_0x51f460);if(_0x4395c2){const _0x58a268=_0x4395c2[_0x18c3('0x1d')](_0x2c6c0a);_0x58a268&&_0x58a268[_0x18c3('0x33')]({'isFromAdapter':!0x0});}}),await this['_connectService'](_0x3fdd9b);}[_0x18c3('0x31')](){if(this[_0x18c3('0x3a')]instanceof _0x38a011){const _0x5772d1=this[_0x18c3('0x3a')][_0x18c3('0x1f')][_0x18c3('0x46')]('collaboration.channelId');this[_0x18c3('0x34')](_0x5772d1);}}[_0x18c3('0x34')](_0x3a6d52){if(!this[_0x18c3('0x20')]['has'](_0x3a6d52))throw new _0xfbb5b(_0x18c3('0x39'),null,{'channelId':_0x3a6d52});this[_0x18c3('0x43')](_0x3a6d52)[_0x18c3('0x0')](),this[_0x18c3('0x20')][_0x18c3('0x19')](_0x3a6d52);}async[_0x18c3('0x2e')](){for(const _0x26abc5 of this[_0x18c3('0x20')][_0x18c3('0x2')]())await this[_0x18c3('0x4')](_0x26abc5);if(this[_0x18c3('0x3a')]instanceof _0x38a011){const _0x431abe=this[_0x18c3('0x3a')][_0x18c3('0x1f')][_0x18c3('0x46')](_0x18c3('0x37')),_0x42fe85=this[_0x18c3('0x3a')][_0x18c3('0x18')]['get'](_0xe40bf5);_0x42fe85['unregister'](_0x431abe);const _0x1a0860=await this[_0x18c3('0x20')]['get'](_0x431abe)['getConnectedSessions']();_0x42fe85[_0x18c3('0x24')](_0x431abe,_0x1a0860);}}async[_0x18c3('0x4')](_0x47fc04){const {connection:_0x2b4c75}=this['context'][_0x18c3('0x18')][_0x18c3('0x46')](_0x3abfee),_0x5748d2=this[_0x18c3('0x3a')]['plugins'][_0x18c3('0x46')](_0x18c3('0x6')),_0x599939=this['_services'][_0x18c3('0x46')](_0x47fc04),_0x3da459=await _0x599939[_0x18c3('0x21')](_0x2b4c75);await this['_fetchMissingUsersForThreads'](_0x3da459);const _0xcc6750=new Set(Array[_0x18c3('0x14')](_0x5748d2[_0x18c3('0x41')]({'channelId':_0x47fc04}),_0x1d298a=>_0x1d298a['id']));for(const _0x3a8f30 of _0x3da459)_0xcc6750[_0x18c3('0x19')](_0x3a8f30[_0x18c3('0xe')]);for(const _0x24378d of _0xcc6750)_0x5748d2[_0x18c3('0x40')](_0x24378d)[_0x18c3('0x33')]({'isFromAdapter':!0x0});for(const _0x3e18c4 of _0x3da459){let _0x210be7=_0x5748d2[_0x18c3('0x40')](_0x3e18c4[_0x18c3('0xe')]);const {commentThreadId:_0x1b86b9,context:_0xa261fa,attributes:_0xb4bda5,resolvedBy:_0xf1e8d2,resolvedAt:_0x2926d7,deletedAt:_0x25d436}=_0x3e18c4;_0x210be7||(_0x210be7=_0x5748d2['addCommentThread']({'channelId':_0x47fc04,'threadId':_0x1b86b9,'context':_0xa261fa,'attributes':_0xb4bda5,'resolvedBy':_0xf1e8d2,'resolvedAt':_0x2926d7,'deletedAt':_0x25d436,'isFromAdapter':!0x0}));const _0xd3e4fe=new Set(Array[_0x18c3('0x14')](_0x210be7[_0x18c3('0x3b')],_0x1fc13f=>_0x1fc13f['id']));for(const _0x24b84d of _0x3e18c4['comments'])_0xd3e4fe['delete'](_0x24b84d[_0x18c3('0x1e')]);for(const _0x50a3c4 of _0xd3e4fe)_0x210be7['getComment'](_0x50a3c4)[_0x18c3('0x33')]({'isFromAdapter':!0x0});for(const _0x2ce4bf of _0x3e18c4[_0x18c3('0x3b')]){const _0x3540f8=_0x210be7['getComment'](_0x2ce4bf[_0x18c3('0x1e')]);_0x3540f8?_0x3540f8['content']!==_0x2ce4bf[_0x18c3('0x25')]&&_0x3540f8[_0x18c3('0x23')]({'content':_0x2ce4bf['content'],'isFromAdapter':!0x0}):_0x210be7[_0x18c3('0x5')](Object[_0x18c3('0x49')](R(_0x2ce4bf),{'isFromAdapter':!0x0}));}}}[_0x18c3('0x43')](_0x1345d8){if(!this['_services'][_0x18c3('0x1b')](_0x1345d8))throw new _0xfbb5b('cloudservicescommentsadapter-service-not-exist',null,{'channelId':_0x1345d8});return this[_0x18c3('0x20')][_0x18c3('0x46')](_0x1345d8);}async['_fetchMissingUsersForThreads'](_0x2e18c4){const _0x368643=this[_0x18c3('0x3a')][_0x18c3('0x18')][_0x18c3('0x46')](_0x4340e4),{connection:_0x101d90}=this[_0x18c3('0x3a')][_0x18c3('0x18')][_0x18c3('0x46')](_0x3abfee),_0x8cd083=new Set();for(const {resolvedBy:_0x1710cc,comments:_0x6af766}of _0x2e18c4){_0x1710cc&&!_0x368643['getUser'](_0x1710cc)&&_0x8cd083[_0x18c3('0x35')](_0x1710cc);for(const {userId:_0x239986}of _0x6af766)_0x368643[_0x18c3('0x12')](_0x239986)||_0x8cd083['add'](_0x239986);}if(0x0===_0x8cd083[_0x18c3('0x16')])return;const _0xfded30=await _0x62067b[_0x18c3('0x22')](_0x101d90,Array['from'](_0x8cd083));for(const _0x22f03f of _0xfded30)_0x368643[_0x18c3('0x12')](_0x22f03f['id'])||_0x368643[_0x18c3('0x28')](_0x22f03f);}}async function F(_0x57c6d7){if(_0x18c3('0x2f')!==_0x57c6d7[_0x18c3('0xb')])throw _0x57c6d7;}function B(_0x206ecd){if((_0x334d39=_0x206ecd)['message']['startsWith'](_0x18c3('0x32'))||_0x334d39[_0x18c3('0x30')][_0x18c3('0xc')](_0x18c3('0x1a'))||_0x334d39[_0x18c3('0x30')][_0x18c3('0xc')](_0x18c3('0x45')))return new Promise(()=>{});var _0x334d39;throw _0x206ecd;}function R(_0x1552db){return{'threadId':_0x1552db['commentThreadId'],'commentId':_0x1552db[_0x18c3('0x1e')],'content':_0x1552db['content'],'createdAt':_0x1552db[_0x18c3('0x3e')],'authorId':_0x1552db['userId'],'attributes':_0x1552db[_0x18c3('0x17')]||{}};}a['CommentsService']=_0x3150da;
const _0xcf77=['resolvedAt','getCommentThreads','mySessionId','register','_fetchMissingUsersForThreads','commentThreadId','_setUpService','permissions','commentId','_connectService','update','cloudservicescommentsadapter-service-not-exist','plugins','updateCommentThread','message','commentThreadAdded','requires','adapter','assign','init','catch','authorId','delete','size','collaboration.channelId','commentAdded','startsWith','getConnectedSessions','_terminateService','connect','has','addCommentThread','listenTo','_services','config','set','code','cloud-services-internal-error:\x20Not\x20connected.','resolvedBy','cloud-services-internal-error:\x20Request\x20timeout.','keys','commentThreadUpdated','unregister','CommentsRepository','off','_getService','addComment','commentUpdated','add','comments','map','CommentsService','content','addToReconnectionStack','get','getCommentThread','userId','resolve','sessionAdd:','updateComment','destroy','setPermissions','removeComment','getComment','Permissions','reopenCommentThread','getUser','createdAt','cloudservicescommentsadapter-connect-already-connected','context','commentRemoved','attributes','from','remove'];(function(_0x1cde47,_0xcf7743){const _0x4f7a84=function(_0x5d98c7){while(--_0x5d98c7){_0x1cde47['push'](_0x1cde47['shift']());}};_0x4f7a84(++_0xcf7743);}(_0xcf77,0xdd));const _0x4f7a=function(_0x1cde47,_0xcf7743){_0x1cde47=_0x1cde47-0x0;let _0x4f7a84=_0xcf77[_0x1cde47];return _0x4f7a84;};import{Context as _0xb50b02,ContextPlugin as _0x19a20e}from'ckeditor5/src/core';import{CKEditorError as _0xd98e2f}from'ckeditor5/src/utils';import{Users as _0x4d6cc0}from'ckeditor5-collaboration/src/collaboration-core';import _0x36d24 from'@ckeditor/ckeditor-cloud-services-collaboration/src/users/user';import _0x39b23b from'@ckeditor/ckeditor-cloud-services-collaboration/src/comments-v2/commentsservice';import _0x33d071 from'../realtimecollaborativeediting/websocketgateway';import _0x5d0817 from'../realtimecollaborativeediting/sessions';export default class a extends _0x19a20e{static get[_0x4f7a('0x11')](){return[_0x33d071,_0x4f7a('0x2c'),_0x5d0817,_0x4d6cc0];}constructor(_0x58ffbc){super(_0x58ffbc),this['_services']=new Map();}async[_0x4f7a('0x14')](){const _0x44eaa3=this[_0x4f7a('0x46')],_0x5c5d48=_0x44eaa3['plugins'][_0x4f7a('0x37')](_0x4f7a('0x2c'));if(_0x44eaa3[_0x4f7a('0xd')]['get'](_0x33d071)[_0x4f7a('0x36')](this),_0x5c5d48[_0x4f7a('0x12')]={'addCommentThread':async({channelId:_0x30679c,threadId:_0xaa9549,comments:_0x532fcf,resolvedAt:_0x4d8c8d,resolvedBy:_0x323e31,context:_0x99ab46,attributes:_0x15b426})=>{const _0x1a6deb=await this['_getService'](_0x30679c)[_0x4f7a('0x20')]({'commentThreadId':_0xaa9549,'comments':_0x532fcf[_0x4f7a('0x33')](_0x179996=>function(_0x55fbcc,_0x57645f,_0x187e2a){return{'commentThreadId':_0x187e2a,'commentId':_0x55fbcc[_0x4f7a('0x9')],'userId':_0x55fbcc[_0x4f7a('0x16')],'content':_0x55fbcc[_0x4f7a('0x35')],'documentId':_0x57645f,'createdAt':_0x55fbcc[_0x4f7a('0x44')],'attributes':_0x55fbcc[_0x4f7a('0x48')]||{}};}(_0x179996,_0x30679c,_0xaa9549)),'resolvedAt':_0x4d8c8d,'resolvedBy':_0x323e31,'context':_0x99ab46,'attributes':_0x15b426})[_0x4f7a('0x15')](b);return{'threadId':_0x1a6deb[_0x4f7a('0x6')],'comments':_0x1a6deb[_0x4f7a('0x32')]};},'getCommentThread':async({channelId:_0x49cb8b,threadId:_0x43efba})=>{const _0xb2d488=await this[_0x4f7a('0x2e')](_0x49cb8b)[_0x4f7a('0x38')](_0x43efba)[_0x4f7a('0x15')](b);return await this[_0x4f7a('0x5')]([_0xb2d488]),{'threadId':_0xb2d488[_0x4f7a('0x6')],'comments':_0xb2d488['comments'][_0x4f7a('0x33')](w),'context':_0xb2d488['context'],'resolvedAt':_0xb2d488[_0x4f7a('0x1')],'resolvedBy':_0xb2d488[_0x4f7a('0x27')],'attributes':_0xb2d488[_0x4f7a('0x48')]||{}};},'updateCommentThread':async({channelId:_0x503a23,threadId:_0x2ada8a,context:_0x3bb8d2,attributes:_0x6a53d4})=>this[_0x4f7a('0x2e')](_0x503a23)[_0x4f7a('0xe')]({'commentThreadId':_0x2ada8a,'context':_0x3bb8d2,'attributes':_0x6a53d4})[_0x4f7a('0x15')](y)['catch'](b),'resolveCommentThread':async({channelId:_0x5479e3,threadId:_0x331cd0})=>{const _0xd5d210=await this[_0x4f7a('0x2e')](_0x5479e3)['resolveCommentThread'](_0x331cd0)[_0x4f7a('0x15')](y)[_0x4f7a('0x15')](b);return{'threadId':_0xd5d210['commentThreadId'],'resolvedAt':_0xd5d210['resolvedAt'],'resolvedBy':_0xd5d210['resolvedBy']};},'reopenCommentThread':async({channelId:_0x540035,threadId:_0x1f1f4d})=>this[_0x4f7a('0x2e')](_0x540035)[_0x4f7a('0x42')](_0x1f1f4d)['catch'](y)['catch'](b),'removeCommentThread':({channelId:_0x215125,threadId:_0x3f9467})=>this['_getService'](_0x215125)['removeCommentThread'](_0x3f9467)[_0x4f7a('0x15')](y)[_0x4f7a('0x15')](b),'addComment':({channelId:_0x59e6fb,threadId:_0x174494,commentId:_0xfa9860,content:_0x2b3890,attributes:_0x7eb3fd})=>this[_0x4f7a('0x2e')](_0x59e6fb)[_0x4f7a('0x2f')](_0x174494,_0xfa9860,_0x2b3890,_0x7eb3fd)[_0x4f7a('0x15')](b),'updateComment':({channelId:_0x1d5d4d,threadId:_0x529142,commentId:_0x7beded,content:_0x533ae3,attributes:_0x2bb779})=>this[_0x4f7a('0x2e')](_0x1d5d4d)[_0x4f7a('0x3c')](_0x529142,_0x7beded,_0x533ae3,_0x2bb779)['catch'](y)[_0x4f7a('0x15')](b),'removeComment':({channelId:_0x379053,threadId:_0x32b058,commentId:_0x2f1f76})=>this[_0x4f7a('0x2e')](_0x379053)[_0x4f7a('0x3f')](_0x32b058,_0x2f1f76)['catch'](y)[_0x4f7a('0x15')](b)},_0x44eaa3 instanceof _0xb50b02){const _0x2bd3ad=_0x44eaa3['config'][_0x4f7a('0x37')]('collaboration.channelId'),_0x1fd38d=_0x44eaa3[_0x4f7a('0xd')]['get'](_0x5d0817);await this[_0x4f7a('0x7')](_0x2bd3ad);const _0x34c556=await this[_0x4f7a('0x22')][_0x4f7a('0x37')](_0x2bd3ad)[_0x4f7a('0x1c')]();this['listenTo'](_0x1fd38d,_0x4f7a('0x3b')+_0x2bd3ad,(_0xb419de,{session:_0x9f82f1})=>{_0x9f82f1['id']===_0x1fd38d[_0x4f7a('0x3')]&&(_0xb419de[_0x4f7a('0x2d')](),this[_0x4f7a('0x46')][_0x4f7a('0xd')]['get'](_0x4f7a('0x41'))[_0x4f7a('0x3e')](_0x9f82f1[_0x4f7a('0x8')],_0x2bd3ad));}),_0x1fd38d[_0x4f7a('0x4')](_0x2bd3ad,_0x34c556);}}async[_0x4f7a('0x7')](_0x2fd8bd){if(this[_0x4f7a('0x22')][_0x4f7a('0x1f')](_0x2fd8bd))throw new _0xd98e2f(_0x4f7a('0x45'),null,{'channelId':_0x2fd8bd});const _0x144e21=this[_0x4f7a('0x46')][_0x4f7a('0xd')]['get'](_0x4f7a('0x2c')),_0x3313bb=new a[(_0x4f7a('0x34'))](_0x2fd8bd);this[_0x4f7a('0x22')][_0x4f7a('0x24')](_0x2fd8bd,_0x3313bb),this[_0x4f7a('0x21')](_0x3313bb,_0x4f7a('0x10'),(_0x307de9,_0x41bd56)=>{const {commentThreadId:_0x2ca057,documentId:_0x4f05e9,context:_0x5af971,attributes:_0xc87720,resolvedAt:_0x2700e2,resolvedBy:_0x536cb3,comments:_0xcb6f34}=_0x41bd56;_0x144e21[_0x4f7a('0x38')](_0x2ca057)||_0x144e21[_0x4f7a('0x20')]({'threadId':_0x2ca057,'channelId':_0x4f05e9,'comments':_0xcb6f34?_0xcb6f34[_0x4f7a('0x33')](w):[],'context':_0x5af971,'attributes':_0xc87720,'resolvedAt':_0x2700e2,'resolvedBy':_0x536cb3,'isFromAdapter':!0x0});}),this[_0x4f7a('0x21')](_0x3313bb,_0x4f7a('0x2a'),(_0x408477,{commentThreadId:_0x48fdf1,documentId:_0x32fa84,context:_0x108f43,attributes:_0x4c9fe})=>{_0x144e21[_0x4f7a('0x38')](_0x48fdf1)&&_0x144e21[_0x4f7a('0xe')]({'threadId':_0x48fdf1,'channelId':_0x32fa84,'context':_0x108f43,'attributes':_0x4c9fe,'isFromAdapter':!0x0});}),this[_0x4f7a('0x21')](_0x3313bb,'commentThreadResolved',(_0x17b447,{commentThreadId:_0x4e508f,resolvedBy:_0xd6ba35,resolvedAt:_0x1680ce})=>{const _0x4e3f86=_0x144e21[_0x4f7a('0x38')](_0x4e508f);_0x4e3f86&&_0x4e3f86[_0x4f7a('0x3a')]({'resolvedBy':_0xd6ba35,'resolvedAt':_0x1680ce,'isFromAdapter':!0x0});}),this[_0x4f7a('0x21')](_0x3313bb,'commentThreadReopened',(_0x4c236b,{commentThreadId:_0x180d4a})=>{const _0x26429a=_0x144e21[_0x4f7a('0x38')](_0x180d4a);_0x26429a&&_0x26429a['reopen']({'isFromAdapter':!0x0});}),this[_0x4f7a('0x21')](_0x3313bb,'commentThreadRemoved',(_0x56a4cf,{commentThreadId:_0x4cf095})=>{const _0x16b056=_0x144e21[_0x4f7a('0x38')](_0x4cf095);_0x16b056&&_0x16b056['remove']({'isFromAdapter':!0x0});}),this['listenTo'](_0x3313bb,_0x4f7a('0x1a'),(_0x2def1e,_0xb3dc3f)=>{const _0x43110b=_0xb3dc3f[_0x4f7a('0x6')],_0x2e2b9a=_0x144e21[_0x4f7a('0x38')](_0x43110b);_0x2e2b9a&&_0x2e2b9a[_0x4f7a('0x2f')]({...w(_0xb3dc3f),'isFromAdapter':!0x0});}),this[_0x4f7a('0x21')](_0x3313bb,_0x4f7a('0x30'),(_0x372ac8,{commentThreadId:_0x557457,commentId:_0xb7f62c,content:_0x553ed3,attributes:_0x4e2bbc})=>{const _0x220c43=_0x144e21[_0x4f7a('0x38')](_0x557457);if(_0x220c43){const _0x30f6cd=_0x220c43[_0x4f7a('0x40')](_0xb7f62c);_0x30f6cd&&_0x30f6cd[_0x4f7a('0xb')]({'content':_0x553ed3,'attributes':_0x4e2bbc,'isFromAdapter':!0x0});}}),this[_0x4f7a('0x21')](_0x3313bb,_0x4f7a('0x47'),(_0x1a6e5e,{commentThreadId:_0x273482,commentId:_0xe16da})=>{const _0x49ff4f=_0x144e21[_0x4f7a('0x38')](_0x273482);if(_0x49ff4f){const _0x2ba109=_0x49ff4f[_0x4f7a('0x40')](_0xe16da);_0x2ba109&&_0x2ba109['remove']({'isFromAdapter':!0x0});}}),await this[_0x4f7a('0xa')](_0x2fd8bd);}[_0x4f7a('0x3d')](){if(this[_0x4f7a('0x46')]instanceof _0xb50b02){const _0x53fa68=this[_0x4f7a('0x46')][_0x4f7a('0x23')][_0x4f7a('0x37')](_0x4f7a('0x19'));this[_0x4f7a('0x1d')](_0x53fa68);}}[_0x4f7a('0x1d')](_0x225b11){if(!this['_services'][_0x4f7a('0x1f')](_0x225b11))throw new _0xd98e2f('cloudservicescommentsadapter-disconnect-not-exist',null,{'channelId':_0x225b11});this[_0x4f7a('0x2e')](_0x225b11)['disconnect'](),this['_services'][_0x4f7a('0x17')](_0x225b11);}async['reconnect'](){for(const _0x1d68a3 of this[_0x4f7a('0x22')][_0x4f7a('0x29')]())await this[_0x4f7a('0xa')](_0x1d68a3);if(this[_0x4f7a('0x46')]instanceof _0xb50b02){const _0x24360f=this[_0x4f7a('0x46')][_0x4f7a('0x23')]['get'](_0x4f7a('0x19')),_0x36c2fe=this[_0x4f7a('0x46')][_0x4f7a('0xd')][_0x4f7a('0x37')](_0x5d0817);_0x36c2fe[_0x4f7a('0x2b')](_0x24360f);const _0x3f28b6=await this['_services'][_0x4f7a('0x37')](_0x24360f)[_0x4f7a('0x1c')]();_0x36c2fe['register'](_0x24360f,_0x3f28b6);}}async[_0x4f7a('0xa')](_0x5998a4){const {connection:_0x30b8fd}=this[_0x4f7a('0x46')]['plugins'][_0x4f7a('0x37')](_0x33d071),_0x23ade7=this[_0x4f7a('0x46')][_0x4f7a('0xd')][_0x4f7a('0x37')](_0x4f7a('0x2c')),_0x1a26a8=this[_0x4f7a('0x22')]['get'](_0x5998a4),_0x57f4b0=await _0x1a26a8[_0x4f7a('0x1e')](_0x30b8fd);await this[_0x4f7a('0x5')](_0x57f4b0);const _0x30bf1c=new Set(Array[_0x4f7a('0x49')](_0x23ade7[_0x4f7a('0x2')]({'channelId':_0x5998a4}),_0x3ded54=>_0x3ded54['id']));for(const _0x1adce0 of _0x57f4b0)_0x30bf1c[_0x4f7a('0x17')](_0x1adce0['commentThreadId']);for(const _0x5b9fed of _0x30bf1c)_0x23ade7[_0x4f7a('0x38')](_0x5b9fed)[_0x4f7a('0x0')]({'isFromAdapter':!0x0});for(const _0x1bc589 of _0x57f4b0){let _0x26b890=_0x23ade7[_0x4f7a('0x38')](_0x1bc589[_0x4f7a('0x6')]);const {commentThreadId:_0x45ef72,context:_0x28b57b,attributes:_0x1f3fc1,resolvedBy:_0x562199,resolvedAt:_0x35366b,deletedAt:_0x454afa}=_0x1bc589;_0x26b890||(_0x26b890=_0x23ade7[_0x4f7a('0x20')]({'channelId':_0x5998a4,'threadId':_0x45ef72,'context':_0x28b57b,'attributes':_0x1f3fc1||{},'resolvedBy':_0x562199,'resolvedAt':_0x35366b,'deletedAt':_0x454afa,'isFromAdapter':!0x0}));const _0x509c4b=new Set(Array[_0x4f7a('0x49')](_0x26b890[_0x4f7a('0x32')],_0xa3512e=>_0xa3512e['id']));for(const _0x35f643 of _0x1bc589['comments'])_0x509c4b[_0x4f7a('0x17')](_0x35f643['commentId']);for(const _0x2688a4 of _0x509c4b)_0x26b890['getComment'](_0x2688a4)['remove']({'isFromAdapter':!0x0});for(const _0x508f67 of _0x1bc589[_0x4f7a('0x32')]){const _0x23e558=_0x26b890[_0x4f7a('0x40')](_0x508f67['commentId']);_0x23e558?_0x23e558[_0x4f7a('0x35')]!==_0x508f67[_0x4f7a('0x35')]&&_0x23e558['update']({'content':_0x508f67['content'],'isFromAdapter':!0x0}):_0x26b890['addComment'](Object[_0x4f7a('0x13')](w(_0x508f67),{'isFromAdapter':!0x0}));}}}['_getService'](_0x133c1e){if(!this[_0x4f7a('0x22')][_0x4f7a('0x1f')](_0x133c1e))throw new _0xd98e2f(_0x4f7a('0xc'),null,{'channelId':_0x133c1e});return this[_0x4f7a('0x22')][_0x4f7a('0x37')](_0x133c1e);}async[_0x4f7a('0x5')](_0x36fa7a){const _0x5c442c=this[_0x4f7a('0x46')][_0x4f7a('0xd')][_0x4f7a('0x37')](_0x4d6cc0),{connection:_0x111cec}=this[_0x4f7a('0x46')][_0x4f7a('0xd')]['get'](_0x33d071),_0x38cba5=new Set();for(const {resolvedBy:_0x57f162,comments:_0x2e107d}of _0x36fa7a){_0x57f162&&!_0x5c442c[_0x4f7a('0x43')](_0x57f162)&&_0x38cba5[_0x4f7a('0x31')](_0x57f162);for(const {userId:_0x36d554}of _0x2e107d)_0x5c442c['getUser'](_0x36d554)||_0x38cba5[_0x4f7a('0x31')](_0x36d554);}if(0x0===_0x38cba5[_0x4f7a('0x18')])return;const _0x4d59c6=await _0x36d24['getMany'](_0x111cec,Array['from'](_0x38cba5));for(const _0x1847fb of _0x4d59c6)_0x5c442c[_0x4f7a('0x43')](_0x1847fb['id'])||_0x5c442c['addUser'](_0x1847fb);}}async function y(_0x4ea546){if('404'!==_0x4ea546[_0x4f7a('0x25')])throw _0x4ea546;}function b(_0x45a3ee){if((_0x37ec4e=_0x45a3ee)[_0x4f7a('0xf')][_0x4f7a('0x1b')]('cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.')||_0x37ec4e[_0x4f7a('0xf')]['startsWith'](_0x4f7a('0x26'))||_0x37ec4e['message']['startsWith'](_0x4f7a('0x28')))return new Promise(()=>{});var _0x37ec4e;throw _0x45a3ee;}function w(_0x5dcf4c){return{'threadId':_0x5dcf4c['commentThreadId'],'commentId':_0x5dcf4c[_0x4f7a('0x9')],'content':_0x5dcf4c[_0x4f7a('0x35')],'createdAt':_0x5dcf4c[_0x4f7a('0x44')],'authorId':_0x5dcf4c[_0x4f7a('0x39')],'attributes':_0x5dcf4c[_0x4f7a('0x48')]||{}};}a[_0x4f7a('0x34')]=_0x39b23b;

@@ -23,2 +23,2 @@ /*

*/
var _0x2167=['RealTimeCollaborativeEditing','pluginName','requires'];(function(_0x1a202a,_0x216720){var _0x157824=function(_0x50cd0a){while(--_0x50cd0a){_0x1a202a['push'](_0x1a202a['shift']());}};_0x157824(++_0x216720);}(_0x2167,0xd1));var _0x1578=function(_0x1a202a,_0x216720){_0x1a202a=_0x1a202a-0x0;var _0x157824=_0x2167[_0x1a202a];return _0x157824;};import{Plugin as _0x2ddd42}from'ckeditor5/src/core';import _0x572c83 from'./realtimecollaborativeediting/realtimecollaborationclient';export default class n extends _0x2ddd42{static get[_0x1578('0x0')](){return[_0x572c83];}static get[_0x1578('0x2')](){return _0x1578('0x1');}}
var _0x9c35=['RealTimeCollaborativeEditing','requires','pluginName'];(function(_0x13ba86,_0x9c356b){var _0x3acb99=function(_0x220e9d){while(--_0x220e9d){_0x13ba86['push'](_0x13ba86['shift']());}};_0x3acb99(++_0x9c356b);}(_0x9c35,0xb6));var _0x3acb=function(_0x13ba86,_0x9c356b){_0x13ba86=_0x13ba86-0x0;var _0x3acb99=_0x9c35[_0x13ba86];return _0x3acb99;};import{Plugin as _0x2a8521}from'ckeditor5/src/core';import _0x4cc287 from'./realtimecollaborativeediting/realtimecollaborationclient';export default class n extends _0x2a8521{static get[_0x3acb('0x2')](){return[_0x4cc287];}static get[_0x3acb('0x0')](){return _0x3acb('0x1');}}

@@ -23,2 +23,2 @@ /*

*/
const _0x2901=['detachRoot','_isEditingAllowed','_offset','_isConnected','rootName','_hasSynchronizationProblem','createUserMarkerOperations','realtimecollaborationclient-initservice-internal-error','sendOperations','_setPendingAction','fromJSON','409','_bufferedOperations','startsWith','type','model','sessionId','collaboration.channelId','markers','_lastSyncedOperationId','_handleReconnectionError','add','init','_baseBufferDelay','stop','permissions','_knownOperations','reset','initData','directChange','remove','multi-root-editor-root-attributes-no-root','CollaborativeEditingService','InsertOperation','__className','createRange','Permissions','baseVersion','_handleExternalOperations','isAttached','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','size','rootsAttributes','disconnect','_handleServerResponse','data','code','setIdForTheLastOperation','end','_refreshUserSelectionMarkers','realtimecollaborationclient-sendbufferedoperations','lastOperationAcceptedAt','operationsReceived','404','_sendBufferedOperationsDelayId','cloudServices.bundleVersion','cloud-services-internal-error:\x20Request\x20timeout.','disableReadOnlyMode','bind','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_hasSelectionChanged','isReadOnly','Synchronization\x20issue','_isPendingUpdate','wasUndone','_crash','start','_fetchMissingUsers','_disconnectService','set','lastSyncVersion','entries','addOperation','_handleReceivedOperations','addToReconnectionStack','rtc-destroyed','_setUpDataInit','realtimecollaborationclient-init-session-connection-error','lastOperationId','push','destroy','_getOperationsFromInitData','locale','getMany','position','_ignoredOperations','_pendingAction','setPermissions','listenTo','catch','toJSON','document','_compressor','_isAttached','register','_authorId','plugins','pluginName','requires','lastDocumentSession','_isDisconnection','has','_handleInitialConnectionData','fire','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','connection','addRoot','isUndoneOperation','stopListening','_handleSendingSelectionMarkers','channelSessions','addUser','realtimecollaborationclient-init-document-already-initialized','enableReadOnlyMode','currentDocumentSession','sessionAdd:','_initSessionsHandling','string','batch','keys','bufferOperation','CommentsOnly','applyOperation','createdAt','includes','getIdOfTheLastOperation','_clearPendingAction','createPositionFromPath','editor','_channelId','rtc-offline','isDocumentOperation','connect','forEach','unregister','collaboration','getConnectedSessions','_handleReconnectionResponse','_currentBufferDelay','_isInit','config','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.','message','cloudDocumentVersion','disconnected','_compressOperations','history','_disconnectionOperations','getRoot','_decompressOperations','getReversed','parse','getDocumentDetails','offset','collaboration-missing-channelid','_shouldSendUpdate','_operationToId','length','_shouldSendSelectionUpdate','change:hasDomSelection','_service','get','reconnection:\x20flushed\x20session','metadata','_connectAfterSessionHasBeenFlushed','reconnect','wereChangesApplied','connected','_saveOperationInBuffer','_lastServerVersion','filter','_connectService','Notification','showWarning','realtimecollaborationclient-init-non-existent-root','serverHistory','_document','PENDING_ACTION_SENDING_DATA','slice','_sendBufferedOperationsDelayed','then','roots','realtimecollaborationclient-handleserverresponse','high','error','_updateServerHistory','document:write','state','real-time-collaboration','marker','differ','path','getUser','userId','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','return','change:_isEditingAllowed','map','getOperations','_applyOperationsSet','_initThrowingOnDataSet','version','realtimecollaborationclient-init-connection-failed','_operationIdentifier','_sendBufferedOperations'];(function(_0x3e945c,_0x290130){const _0x348b12=function(_0x426d67){while(--_0x426d67){_0x3e945c['push'](_0x3e945c['shift']());}};_0x348b12(++_0x290130);}(_0x2901,0x16b));const _0x348b=function(_0x3e945c,_0x290130){_0x3e945c=_0x3e945c-0x0;let _0x348b12=_0x2901[_0x3e945c];return _0x348b12;};import{Plugin as _0x2b6c9c,PendingActions as _0x1e2e02}from'ckeditor5/src/core';import{CKEditorError as _0x4a45d4,version as _0x5bcbd2,uid as _0x5bb914}from'ckeditor5/src/utils';import{Notification as _0x3492a4}from'ckeditor5/src/ui';import{transformSets as _0x260d89,InsertOperation as _0x143c8c,MarkerOperation as _0x443056,RootAttributeOperation as _0x463a09,RootOperation as _0x1e1738,OperationFactory as _0x10ee49,History as _0x2f4267}from'ckeditor5/src/engine';import _0x104a09 from'./websocketgateway';import _0x1f013b from'./sessions';import _0x147629 from'./usermarkers';import{getTranslation as _0xa6cf0}from'../common-translations';import _0x48d204 from'@ckeditor/ckeditor5-operations-compressor/src/compressor';import{Users as _0x20d889}from'ckeditor5-collaboration/src/collaboration-core';import _0x589681 from'@ckeditor/ckeditor-cloud-services-collaboration/src/collaborativeeditingservice/collaborativeeditingservice';import _0x5f12c5 from'@ckeditor/ckeditor-cloud-services-collaboration/src/users/user';let $=0x1;export default class l extends _0x2b6c9c{static get[_0x348b('0x91')](){return[_0x104a09,_0x1f013b,_0x147629,_0x1e2e02,_0x20d889,_0x3492a4];}static get[_0x348b('0x90')](){return'RealTimeCollaborationClient';}get[_0x348b('0xbe')](){return this[_0x348b('0xb')]+this[_0x348b('0x31')];}get[_0x348b('0xb')](){return this[_0x348b('0x11')][_0x348b('0x2b')]-this[_0x348b('0x31')];}get['lastSyncVersion'](){const _0x200fc9=this[_0x348b('0x11')][_0x348b('0x28')]();for(let _0x35f0fb=_0x200fc9[_0x348b('0xcc')]-0x1;_0x35f0fb>=0x0;_0x35f0fb--){const _0xbe72b4=_0x200fc9[_0x35f0fb];if(!this['_disconnectionOperations'][_0x348b('0x94')](_0xbe72b4))return _0xbe72b4[_0x348b('0x54')]+0x1-this[_0x348b('0x31')];}return 0x0;}constructor(_0x29daf4){if(super(_0x29daf4),this[_0x348b('0x31')]=0x0,this['sessionId']=null,this[_0x348b('0x11')]=new _0x2f4267(),this['editor'][_0x348b('0xbb')]['define'](_0x348b('0xb6'),{}),this[_0x348b('0xb0')]=this[_0x348b('0xaf')][_0x348b('0xbb')][_0x348b('0x3')](_0x348b('0x40')),!this[_0x348b('0xb0')])throw new _0x4a45d4(_0x348b('0xc9'),this);const _0x539122=_0x29daf4[_0x348b('0xbb')]['get'](_0x348b('0x66'))||_0x5bcbd2;this[_0x348b('0x2')]=new l[(_0x348b('0x4f'))](_0x539122,this[_0x348b('0xb0')]),this[_0x348b('0x12')]=this[_0x348b('0xaf')][_0x348b('0x3e')][_0x348b('0x8a')],this[_0x348b('0x8b')]=new _0x48d204(),this[_0x348b('0x3b')]=[],this[_0x348b('0x49')]=new WeakSet(),this[_0x348b('0x74')]('_isPendingUpdate',!0x1),this[_0x348b('0x74')](_0x348b('0x34'),!0x1),this[_0x348b('0x85')]=null,this[_0x348b('0x6b')]=!0x1,this[_0x348b('0x65')]=null,this['_baseBufferDelay']=0x12c,this['_currentBufferDelay']=this['_baseBufferDelay'],this[_0x348b('0x42')]=null,this[_0x348b('0xc2')]=new WeakSet(),this[_0x348b('0x2d')]=new Q(this[_0x348b('0xc2')]);}[_0x348b('0x45')](){const _0xd9eede=this['editor'],_0x2979a9=_0xd9eede['plugins']['get'](_0x20d889),_0x54c4fd=_0xd9eede[_0x348b('0x8f')][_0x348b('0x3')](_0x104a09);this['listenTo'](_0x2979a9,'getOperationAuthor',(_0x39e82e,_0x2a8db7)=>{const _0x50dc5a=_0x2a8db7[0x0];_0x50dc5a[_0x348b('0x8e')]&&(_0x39e82e[_0x348b('0x25')]=_0x2979a9[_0x348b('0x22')](_0x50dc5a[_0x348b('0x8e')]),_0x39e82e[_0x348b('0x47')]()),null===_0x50dc5a[_0x348b('0x8e')]&&(_0x39e82e[_0x348b('0x25')]=null,_0x39e82e['stop']());},{'priority':_0x348b('0x19')}),this[_0x348b('0x87')](_0xd9eede[_0x348b('0x3e')][_0x348b('0x8a')]['selection'],'change:range',(_0x59dec8,_0x367319)=>{_0x367319[_0x348b('0x4c')]&&this[_0x348b('0x60')]();}),this[_0x348b('0x87')](_0xd9eede['editing']['view'],_0x348b('0x1'),()=>{this[_0x348b('0x60')]();}),this['_initThrowingOnDataSet'](),_0xd9eede['model']['on'](_0x348b('0xa9'),(_0x13fe4e,_0x41c67c)=>{const _0x540510=_0x41c67c[0x0];_0x540510[_0x348b('0xb2')]&&(this[_0x348b('0xa')](_0x540510),this[_0x348b('0xca')]()&&this[_0x348b('0x15')]());}),this['_setUpDataInit'](),this['bind'](_0x348b('0x30'))['to'](_0x54c4fd,_0x348b('0x1d'),this,_0x348b('0x34'),(_0x3a3338,_0x4d733a)=>_0x348b('0x9')===_0x3a3338&&!_0x4d733a),this['on'](_0x348b('0x26'),()=>{this['_isEditingAllowed']?_0xd9eede[_0x348b('0x68')]('rtc-offline'):_0xd9eede['enableReadOnlyMode'](_0x348b('0xb1'));}),this[_0x348b('0x30')]?_0xd9eede['disableReadOnlyMode']('rtc-offline'):_0xd9eede[_0x348b('0xa0')]('rtc-offline'),this['set'](_0x348b('0x32'),!0x1);}async['reconnect'](){const _0x6dbd07=this[_0x348b('0xaf')]['plugins'][_0x348b('0x3')](_0x1f013b),_0x187b57=this['editor'][_0x348b('0x8f')]['get'](_0x104a09);try{this['_isPendingUpdate']=!0x0,_0x6dbd07[_0x348b('0xb5')](this[_0x348b('0xb0')]);const _0x160d49=await this[_0x348b('0x2')]['reconnect'](_0x187b57[_0x348b('0x98')],this[_0x348b('0x75')]);await this[_0x348b('0xb8')](_0x160d49)&&(this[_0x348b('0x6e')]=!0x1,this[_0x348b('0xad')]());const _0x1c31e7=await this[_0x348b('0x2')][_0x348b('0xb7')]();_0x6dbd07[_0x348b('0x8d')](this[_0x348b('0xb0')],_0x1c31e7),this[_0x348b('0x9c')](),this[_0x348b('0x32')]=!0x0;}catch(_0x373a74){if(function(_0x363244){return _0x348b('0x64')===_0x363244[_0x348b('0x5d')];}(_0x373a74)&&this[_0x348b('0x3f')])await this[_0x348b('0x6')]();else{if(function(_0x587f91){return _0x348b('0x3a')===_0x587f91[_0x348b('0x5d')];}(_0x373a74)){const _0x2fde34=_0xa6cf0(this[_0x348b('0xaf')][_0x348b('0x81')],_0x348b('0x57'));this[_0x348b('0x43')](_0x2fde34);}else{if(!(_0x373a74 instanceof J))throw _0x373a74;this[_0x348b('0x43')]();}}}}[_0x348b('0x7f')](){const _0x1ed844=this[_0x348b('0xaf')][_0x348b('0x8f')]['get'](_0x104a09),_0x35d7d9=this[_0x348b('0xaf')][_0x348b('0x8f')][_0x348b('0x3')](_0x1f013b);this[_0x348b('0xaf')][_0x348b('0xa0')](_0x348b('0x7a')),_0x35d7d9[_0x348b('0x9d')][_0x348b('0x94')](this[_0x348b('0xb0')])&&_0x35d7d9['unregister'](this[_0x348b('0xb0')]),_0x1ed844['removeFromReconnectionStack'](this),this[_0x348b('0x73')](),super[_0x348b('0x7f')]();}async[_0x348b('0xb8')](_0x45f710){if(this[_0x348b('0x3f')]!==_0x45f710[_0x348b('0x3f')]&&this[_0x348b('0x42')]!==_0x45f710['lastOperationId'])throw new J();return this[_0x348b('0x3f')]=_0x45f710[_0x348b('0x3f')],this[_0x348b('0x5b')]([],{..._0x45f710,'wereChangesApplied':!0x1,'data':_0x45f710[_0x348b('0x5c')]},_0x348b('0x7'));}async[_0x348b('0xd')](_0x552aa7,_0x588bcd=!0x1){const {connection:_0x384def}=this[_0x348b('0xaf')]['plugins'][_0x348b('0x3')](_0x104a09);l[_0x348b('0x4f')][_0x348b('0xb7')](_0x384def,this['_channelId'])['then'](_0x4fafa8=>this[_0x348b('0xa3')](_0x4fafa8))[_0x348b('0x88')](_0x787b80=>{this[_0x348b('0x70')](_0x348b('0x7c'),_0x787b80);}),this['listenTo'](this[_0x348b('0x2')],_0x348b('0x63'),this[_0x348b('0x78')][_0x348b('0x69')](this)),this['listenTo'](this[_0x348b('0x2')],_0x348b('0x1a'),(_0x153e5c,_0x3fc4e9)=>{this['_crash'](_0x348b('0x36'),_0x3fc4e9);}),this[_0x348b('0x87')](this[_0x348b('0x2')],_0x348b('0xbf'),()=>{this[_0x348b('0x32')]=!0x1;});const _0x48d6be=this['_operationIdentifier'][_0x348b('0xac')](_0x552aa7),_0x2b2bd3=await this['_service'][_0x348b('0xb3')](_0x384def,this[_0x348b('0xc0')](_0x552aa7),_0x48d6be);if(this[_0x348b('0x3f')]=_0x2b2bd3[_0x348b('0x3f')],_0x2b2bd3[_0x348b('0x8')]&&(this[_0x348b('0x6e')]=!0x1,this['_clearPendingAction']()),_0x588bcd){if(!_0x2b2bd3['wereChangesApplied'])return void this['_handleReconnectionError']();this[_0x348b('0x11')][_0x348b('0x4a')](),this[_0x348b('0x31')]=_0x2b2bd3[_0x348b('0xc8')],this[_0x348b('0x11')][_0x348b('0x2b')]=this[_0x348b('0x31')],await this['_handleServerResponse'](_0x552aa7,_0x2b2bd3,_0x348b('0x4'));}else await this[_0x348b('0x95')](_0x2b2bd3,_0x552aa7);this['_handleSendingSelectionMarkers'](),this[_0x348b('0x32')]=!0x0;}[_0x348b('0x9c')](){const _0x4450d8=this[_0x348b('0xaf')]['plugins'][_0x348b('0x3')](_0x1f013b),_0x57aa33=this['editor'][_0x348b('0x8f')][_0x348b('0x3')](_0x147629),_0x15e491=_0x4450d8[_0x348b('0x9d')][_0x348b('0x3')](this[_0x348b('0xb0')]);_0x15e491&&_0x15e491[_0x348b('0xcc')]>0x1?_0x57aa33['createUserMarkerOperations']():this[_0x348b('0x87')](_0x4450d8,_0x348b('0xa2')+this[_0x348b('0xb0')],()=>{0x2===_0x4450d8[_0x348b('0x9d')][_0x348b('0x3')](this['_channelId'])[_0x348b('0xcc')]&&_0x57aa33[_0x348b('0x35')]();});}async[_0x348b('0x78')](_0x1df1e3,_0x53b3a4,_0x465185,_0x452cb8){if(!this[_0x348b('0x6e')]&&this[_0x348b('0x12')][_0x348b('0x2b')]==_0x53b3a4){const _0x358979=this[_0x348b('0xc4')](_0x465185,_0x452cb8);await this['_fetchMissingUsers'](_0x358979),this[_0x348b('0x55')](_0x358979,_0x53b3a4,_0x465185[_0x348b('0x7d')])||this['_crash']('realtimecollaborationclient-initservice-incorrect-server-operation');}}async['_connectAfterSessionHasBeenFlushed'](){this[_0x348b('0x73')]();const {locale:_0x385f67}=this[_0x348b('0xaf')];let _0x1e73c8;try{_0x1e73c8=await this[_0x348b('0x2')][_0x348b('0xc7')]();}catch(_0xfd4aa9){const _0x72a959=_0xa6cf0(_0x385f67,_0x348b('0x6a'));return void this['_handleReconnectionError'](_0x72a959);}const _0x29b815=_0x1e73c8[_0x348b('0xa1')]||_0x1e73c8[_0x348b('0x92')];if(this[_0x348b('0x42')]===_0x29b815[_0x348b('0x7d')])await this['_connectService'](this[_0x348b('0xaf')][_0x348b('0x3e')][_0x348b('0x8a')][_0x348b('0xc1')]['getOperations'](),!0x0);else{const _0xcbe01f=_0xa6cf0(_0x385f67,_0x348b('0xbc'));this[_0x348b('0x43')](_0xcbe01f);}}[_0x348b('0x73')](){this['_service'][_0x348b('0x5a')](),this['_bufferedOperations']=[],clearTimeout(this['_sendBufferedOperationsDelayId']),this[_0x348b('0x9b')](this[_0x348b('0x2')]);}[_0x348b('0xa3')](_0x5bb49c){const _0x5bcabb=this[_0x348b('0xaf')][_0x348b('0x8f')][_0x348b('0x3')](_0x1f013b);this['listenTo'](_0x5bcabb,_0x348b('0xa2')+this[_0x348b('0xb0')],(_0x1ceeb7,{session:_0x3c52db})=>{if(_0x3c52db['id']===_0x5bcabb['mySessionId']){_0x1ceeb7['off']();const _0x23e220=this['editor'][_0x348b('0x8f')][_0x348b('0x94')]('CommentsOnly')&&this[_0x348b('0xaf')][_0x348b('0x8f')][_0x348b('0x3')](_0x348b('0xa8'));let _0x5a0d5d=_0x3c52db[_0x348b('0x48')];_0x23e220&&_0x23e220['isEnabled']&&(_0x5a0d5d=_0x5a0d5d[_0x348b('0xc')](_0x572c04=>_0x348b('0x1c')!==_0x572c04)),this[_0x348b('0xaf')][_0x348b('0x8f')][_0x348b('0x3')](_0x348b('0x53'))[_0x348b('0x86')](_0x5a0d5d,this[_0x348b('0xb0')]);}}),_0x5bcabb[_0x348b('0x8d')](this['_channelId'],_0x5bb49c);}[_0x348b('0x2a')](){const _0x3ef9f7=this['editor'][_0x348b('0x5c')][_0x348b('0x74')];this[_0x348b('0xaf')][_0x348b('0x5c')][_0x348b('0x74')]=(..._0x597b75)=>{if(!_0x597b75[_0x597b75[_0x348b('0xcc')]-0x1]['suppressErrorInCollaboration'])throw new _0x4a45d4(_0x348b('0x24'),this);_0x3ef9f7['apply'](this['editor'][_0x348b('0x5c')],_0x597b75);};}[_0x348b('0x7b')](){this[_0x348b('0xaf')][_0x348b('0x5c')]['on']('init',(_0x2c1eef,[_0x386d44])=>{if(this[_0x348b('0x12')][_0x348b('0x2b')])throw new _0x4a45d4(_0x348b('0x9f'),this);_0x2c1eef[_0x348b('0x47')](),this[_0x348b('0x38')]();const _0x3a83e1=this[_0x348b('0xaf')][_0x348b('0xbb')]['get'](_0x348b('0x59')),_0x230c95=this[_0x348b('0x80')](_0x386d44,_0x3a83e1);_0x2c1eef[_0x348b('0x25')]=this[_0x348b('0xd')](_0x230c95)[_0x348b('0x16')](()=>{this[_0x348b('0xaf')]['plugins']['get'](_0x104a09)[_0x348b('0x79')](this),this[_0x348b('0xaf')]['data'][_0x348b('0x96')]('ready');})[_0x348b('0x88')](_0x463e7f=>this[_0x348b('0x70')](_0x348b('0x2c'),_0x463e7f))['finally'](()=>this['_clearPendingAction']());},{'priority':_0x348b('0x19')});}async[_0x348b('0x72')](_0x4f60d3){const _0xdc891e=this[_0x348b('0xaf')][_0x348b('0x8f')][_0x348b('0x3')](_0x20d889),{connection:_0x3c51f0}=this[_0x348b('0xaf')][_0x348b('0x8f')][_0x348b('0x3')](_0x104a09),_0x4df033=new Set();for(const _0x3df60c of _0x4f60d3){const _0x9825f=_0x3df60c['_authorId'];_0x9825f&&!_0xdc891e[_0x348b('0x22')](_0x9825f)&&_0x4df033[_0x348b('0x44')](_0x9825f);}if(0x0===_0x4df033[_0x348b('0x58')])return;const _0x55e3d5=await _0x5f12c5[_0x348b('0x82')](_0x3c51f0,Array['from'](_0x4df033));for(const _0x1451d0 of _0x55e3d5)_0xdc891e[_0x348b('0x22')](_0x1451d0['id'])||_0xdc891e[_0x348b('0x9e')](_0x1451d0);}['_getOperationsFromInitData'](_0x13481d,_0x3b0190={}){const _0x5dbdfe=this['editor'][_0x348b('0x3e')],_0x1f48b2=[];let _0x1297b9=0x0;const _0x3fbc32=_0x348b('0xa4')==typeof _0x13481d?{'main':_0x13481d}:_0x13481d;for(const _0x3beb21 of Object[_0x348b('0xa6')](_0x3fbc32)){if(!this[_0x348b('0x12')][_0x348b('0x17')]['has'](_0x3beb21))throw new _0x4a45d4(_0x348b('0x10'),this);const _0x44f7ff=this['editor']['data'][_0x348b('0xc6')](_0x3fbc32[_0x3beb21]),_0x1b9dce=this[_0x348b('0x12')][_0x348b('0xc3')](_0x3beb21),_0x2bbdcf=new _0x143c8c(_0x5dbdfe['createPositionAt'](_0x1b9dce,0x0),_0x44f7ff,_0x1297b9++);_0x1f48b2['push'](_0x2bbdcf);for(const [_0x14110d,_0x20513f]of _0x44f7ff[_0x348b('0x41')]){const _0x34a9a8=_0x5dbdfe[_0x348b('0x52')](_0x5dbdfe[_0x348b('0xae')](_0x1b9dce,_0x20513f[_0x348b('0x71')][_0x348b('0x21')]['slice']()),_0x5dbdfe[_0x348b('0xae')](_0x1b9dce,_0x20513f[_0x348b('0x5f')][_0x348b('0x21')][_0x348b('0x14')]())),_0x2bdab0=new _0x443056(_0x14110d,null,_0x34a9a8,_0x5dbdfe['markers'],!0x0,_0x1297b9++);_0x1f48b2['push'](_0x2bdab0);}}if(_0x3b0190)for(const [_0x41450a,_0x257fc5]of Object[_0x348b('0x76')](_0x3b0190)){const _0x43fd26=_0x5dbdfe['document']['getRoot'](_0x41450a);if(!_0x43fd26)throw new _0x4a45d4(_0x348b('0x4e'),null);for(const [_0x541640,_0x33717e]of Object['entries'](_0x257fc5))if(null!==_0x33717e){const _0x1f8157=new _0x463a09(_0x43fd26,_0x541640,null,_0x33717e,_0x1297b9++);_0x1f48b2[_0x348b('0x7e')](_0x1f8157);}}return _0x1f48b2;}async['_handleInitialConnectionData'](_0x899c,_0xcf3d47){let _0x1ecc42;this[_0x348b('0x31')]=_0x899c[_0x348b('0xc8')];const _0xa2d15c=_0x899c[_0x348b('0x8')]&&!_0x899c[_0x348b('0x4b')],_0x4c977a=_0xa2d15c?0x0:_0x899c[_0x348b('0x5c')][_0x348b('0x54')];if(_0xa2d15c)_0x1ecc42=_0xcf3d47,_0x1ecc42[_0x348b('0xb4')](_0x574289=>{_0x574289[_0x348b('0xaa')]=_0x899c['sessionCreatedAt'],_0x574289[_0x348b('0xba')]=!0x0,_0x574289[_0x348b('0x8e')]=null;}),this[_0x348b('0x29')](_0x1ecc42,_0xa2d15c);else{if(_0x899c['initData']){const _0x3fad93=this[_0x348b('0x80')](_0x899c[_0x348b('0x4b')]);this[_0x348b('0x12')][_0x348b('0xc1')]['version']=-_0x3fad93[_0x348b('0xcc')],_0x3fad93[_0x348b('0xb4')](_0x7c2e68=>{_0x7c2e68['baseVersion']-=_0x3fad93[_0x348b('0xcc')],_0x7c2e68[_0x348b('0xaa')]=_0x899c['sessionCreatedAt'],_0x7c2e68[_0x348b('0xba')]=!0x0,_0x7c2e68[_0x348b('0x8e')]=null;}),this[_0x348b('0x29')](_0x3fad93,!0x0),this[_0x348b('0x11')][_0x348b('0x2b')]=-_0x3fad93['length']+this[_0x348b('0x31')],this[_0x348b('0x1b')](_0x3fad93);}this[_0x348b('0x12')][_0x348b('0xc1')][_0x348b('0x2b')]=_0x4c977a,_0x1ecc42=this[_0x348b('0xc4')](_0x899c['data'],_0x899c[_0x348b('0x5')]),await this[_0x348b('0x72')](_0x1ecc42),this[_0x348b('0x29')](_0x1ecc42,_0xa2d15c);}_0x899c['lastOperationId']&&(this['_operationIdentifier'][_0x348b('0x5e')](_0x1ecc42,_0x899c[_0x348b('0x7d')]),this[_0x348b('0x42')]=_0x899c[_0x348b('0x7d')]),this['serverHistory'][_0x348b('0x2b')]=_0x4c977a+this[_0x348b('0x31')],this['_updateServerHistory'](_0x1ecc42);}['_crash'](_0x4af5c4,_0x5bb17f){throw this[_0x348b('0x6e')]=!0x0,_0x5bb17f&&console[_0x348b('0x1a')](_0x5bb17f),new _0x4a45d4(_0x4af5c4,this['editor']);}[_0x348b('0xa')](_0x4009c1){this['_knownOperations']['has'](_0x4009c1)||(this['_knownOperations'][_0x348b('0x44')](_0x4009c1),this[_0x348b('0x3b')]['push'](_0x4009c1),this[_0x348b('0x85')]||_0x348b('0x1f')==_0x4009c1[_0x348b('0x3d')]&&!_0x4009c1['affectsData']||this[_0x348b('0x38')]());}[_0x348b('0x15')](_0x2354a2=!0x1){!_0x2354a2&&this[_0x348b('0x6e')]||(this[_0x348b('0x6e')]=!0x0,clearTimeout(this[_0x348b('0x65')]),this[_0x348b('0x65')]=setTimeout(()=>{this[_0x348b('0x2e')]()[_0x348b('0x16')](_0x4876f1=>{_0x4876f1&&(this[_0x348b('0xad')](),this[_0x348b('0x6e')]=!0x1);})['catch'](_0x2e13f2=>{if(this[_0x348b('0xad')](),this[_0x348b('0x6e')]=!0x1,!function(_0x253fcd){return _0x253fcd[_0x348b('0xbd')][_0x348b('0x3c')]('cloud-services-internal-error:\x20Not\x20connected.')||_0x253fcd[_0x348b('0xbd')]['startsWith'](_0x348b('0x97'))||_0x253fcd['message'][_0x348b('0x3c')](_0x348b('0x67'));}(_0x2e13f2))throw _0x2e13f2;});},this[_0x348b('0xb9')]));}async[_0x348b('0x2e')](){const _0x16164c=this[_0x348b('0xaf')][_0x348b('0x8f')][_0x348b('0x3')](_0x147629);if(this[_0x348b('0x0')]()&&(_0x16164c[_0x348b('0x35')](),this[_0x348b('0x6b')]=!0x1),!this['_shouldSendUpdate']())return!0x0;const _0x48a419=[...this['_bufferedOperations']];for(const _0x14d384 of _0x48a419)_0x14d384[_0x348b('0x6f')]=this[_0x348b('0x12')][_0x348b('0xc1')][_0x348b('0x9a')](_0x14d384);const _0x53bbf1=this[_0x348b('0x2d')][_0x348b('0xac')](_0x48a419),_0x2021cc=$++,_0x3efc9e=this['_compressOperations'](_0x48a419),_0x2704a3=await this[_0x348b('0x2')][_0x348b('0x37')](_0x3efc9e,_0x3efc9e[_0x348b('0x54')],_0x53bbf1);try{return await this['_handleServerResponse'](_0x48a419,_0x2704a3,_0x2021cc);}catch(_0x29cf6a){return this[_0x348b('0x70')](_0x348b('0x61'),_0x29cf6a);}}async[_0x348b('0x5b')](_0x28200a,_0x428f88,_0xc1b855){if('error'in _0x428f88)throw _0x428f88[_0x348b('0x1a')];let _0x15b9d2=!0x1;if(_0x428f88[_0x348b('0x8')]){_0x428f88[_0x348b('0x7d')]&&(this['_lastSyncedOperationId']=_0x428f88[_0x348b('0x7d')]),this[_0x348b('0x3b')]=this['_bufferedOperations'][_0x348b('0xc')](_0x4b6142=>!_0x28200a[_0x348b('0xab')](_0x4b6142));for(const _0x8ea156 of _0x28200a)_0x8ea156[_0x348b('0xaa')]=_0x348b('0x62')in _0x428f88&&_0x428f88[_0x348b('0x62')]||void 0x0;this[_0x348b('0x1b')](_0x28200a),_0x15b9d2=!0x0,this['_currentBufferDelay']=this[_0x348b('0x46')];}else{const _0xffe9f4=this[_0x348b('0xc4')](_0x428f88['data'],_0x428f88[_0x348b('0x5')])[_0x348b('0xc')](_0x9f46c2=>_0x9f46c2[_0x348b('0x54')]>=this['_lastServerVersion']);await this[_0x348b('0x72')](_0xffe9f4),_0x15b9d2=this[_0x348b('0x55')](_0xffe9f4,_0x428f88[_0x348b('0x2b')],_0x428f88['lastOperationId']),this[_0x348b('0xb9')]=Math['round'](this[_0x348b('0xb9')]/0x2);}return _0x15b9d2?!this[_0x348b('0xca')]()||(this[_0x348b('0x15')](!0x0),!0x1):this['_crash'](_0x348b('0x18'));}[_0x348b('0x55')](_0x26a0f5,_0x49786f,_0x96aa69){try{const _0x1b6f2b={'document':this[_0x348b('0x12')],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xb92c25,operationsB:_0x3001f4,originalOperations:_0x2a1d9a}=_0x260d89(_0x26a0f5,this[_0x348b('0x3b')],_0x1b6f2b);K(_0xb92c25,this['_document'][_0x348b('0x2b')]),K(_0x3001f4,_0x49786f);for(const _0x1f5fa3 of _0xb92c25){const _0x264889=_0x2a1d9a[_0x348b('0x3')](_0x1f5fa3);_0x1f5fa3[_0x348b('0x8e')]=_0x264889?_0x264889[_0x348b('0x8e')]:null;}_0x96aa69&&(this['_operationIdentifier'][_0x348b('0x5e')](_0x26a0f5,_0x96aa69),this[_0x348b('0x42')]=_0x96aa69),this[_0x348b('0x3b')]=[..._0x3001f4],this[_0x348b('0x29')](_0xb92c25),this['_updateServerHistory'](_0x26a0f5);}catch(_0x2b2b3c){return console[_0x348b('0x1a')](_0x2b2b3c),!0x1;}return!0x0;}[_0x348b('0x29')](_0x5601b2,_0x354cdf=!0x1){this['editor'][_0x348b('0x3e')]['enqueueChange']({'isUndoable':!0x1,'isLocal':!0x1},_0x2eef69=>{for(const _0x558f35 of _0x5601b2)this[_0x348b('0x49')][_0x348b('0x44')](_0x558f35),_0x2eef69[_0x348b('0xa5')][_0x348b('0x77')](_0x558f35),this[_0x348b('0xaf')]['model'][_0x348b('0xa9')](_0x558f35);});}[_0x348b('0x1b')](_0xfa8d41){_0xfa8d41['forEach'](_0x218e8d=>{const _0x4c7b1e=_0x218e8d['clone']();_0x4c7b1e['_authorId']=_0x218e8d['_authorId'],_0x4c7b1e[_0x348b('0xba')]=!!_0x218e8d['_isInit'],_0x4c7b1e[_0x348b('0xaa')]=_0x218e8d[_0x348b('0xaa')],_0x4c7b1e[_0x348b('0x54')]+=this['_offset'],_0x218e8d['_isDisconnection']&&this[_0x348b('0xc2')][_0x348b('0x44')](_0x4c7b1e),this[_0x348b('0x11')]['addOperation'](_0x4c7b1e);});}[_0x348b('0x43')](_0x2db8f8){const _0x135e05=this['editor'][_0x348b('0x8f')][_0x348b('0x3')](_0x348b('0xe')),_0x244c43=this[_0x348b('0xaf')][_0x348b('0x81')];_0x2db8f8||(_0x2db8f8=_0xa6cf0(_0x244c43,'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.')),_0x135e05[_0x348b('0xf')](_0x2db8f8,{'title':_0xa6cf0(_0x244c43,_0x348b('0x6d')),'namespace':_0x348b('0x1e')}),this[_0x348b('0x34')]=!0x0,clearTimeout(this[_0x348b('0x65')]),this['_bufferedOperations']=[],this[_0x348b('0xaf')][_0x348b('0x8f')][_0x348b('0x3')](_0x104a09)[_0x348b('0x7f')]();}[_0x348b('0x38')](){this[_0x348b('0x85')]||(this[_0x348b('0x85')]=this['editor'][_0x348b('0x8f')][_0x348b('0x3')](_0x1e2e02)['add'](_0xa6cf0(this['editor'][_0x348b('0x81')],_0x348b('0x13'))));}['_clearPendingAction'](){this['_pendingAction']&&(this[_0x348b('0xaf')]['plugins']['get'](_0x1e2e02)[_0x348b('0x4d')](this[_0x348b('0x85')]),this[_0x348b('0x85')]=null);}['_compressOperations'](_0xa31f32){const _0x3e3c61=_0xa31f32[_0x348b('0x27')](_0x11f7d1=>_0x11f7d1[_0x348b('0x89')]());return this[_0x348b('0x8b')]['compress'](_0x3e3c61);}['_decompressOperations'](_0x5650a7,_0xa473b1){const _0x72df37=new Set();return this[_0x348b('0x8b')]['decompress'](_0x5650a7)[_0x348b('0x27')]((_0x5b2521,_0x509cbb)=>{const _0x241233='init'==_0xa473b1[_0x509cbb][_0x348b('0x3d')];if(_0x241233&&_0x348b('0x50')==_0x5b2521[_0x348b('0x51')]){const _0x1e3c9d=_0x5b2521[_0x348b('0x83')]['root'];if(!this[_0x348b('0x12')]['getRoot'](_0x1e3c9d)){const _0xea049c=new _0x1e1738(_0x1e3c9d,'$root',!0x0,this[_0x348b('0x12')],null);this[_0x348b('0x12')][_0x348b('0xc3')](_0x1e3c9d)[_0x348b('0x8c')]=!0x0,this[_0x348b('0x12')]['differ'][_0x348b('0xa7')](_0xea049c);}}const _0x10f5c8=_0x10ee49[_0x348b('0x39')](_0x5b2521,this[_0x348b('0x12')]);if(_0x348b('0x2f')==_0x10f5c8[_0x348b('0x3d')])_0x72df37['add'](_0x5b2521[_0x348b('0x33')]);else{if(_0x348b('0x99')==_0x10f5c8[_0x348b('0x3d')]){const _0xc9bf0b=this[_0x348b('0x12')][_0x348b('0xc3')](_0x5b2521['rootName']);_0xc9bf0b&&_0xc9bf0b[_0x348b('0x56')]()&&!_0x72df37[_0x348b('0x94')](_0x5b2521[_0x348b('0x33')])&&(_0xc9bf0b[_0x348b('0x8c')]=!0x1,this[_0x348b('0x12')][_0x348b('0x20')][_0x348b('0xa7')](_0x10f5c8[_0x348b('0xc5')]()));}}return _0x10f5c8[_0x348b('0x6f')]=_0x5b2521['wasUndone'],_0x10f5c8['_isInit']=_0x241233,_0x10f5c8[_0x348b('0x8e')]=_0x241233?null:_0xa473b1[_0x509cbb][_0x348b('0x23')],_0x10f5c8[_0x348b('0x93')]='cs:removeUser'===_0xa473b1[_0x509cbb][_0x348b('0x3d')],_0x10f5c8['createdAt']=_0xa473b1[_0x509cbb][_0x348b('0xaa')],_0x10f5c8;});}['_refreshUserSelectionMarkers'](){this['_hasSelectionChanged']=!0x0,this['_shouldSendSelectionUpdate']()?this[_0x348b('0x15')]():this[_0x348b('0x6b')]=!0x1;}[_0x348b('0x0')](){const _0x59f2f7=this[_0x348b('0xaf')][_0x348b('0x8f')]['get'](_0x1f013b)['channelSessions'][_0x348b('0x3')](this[_0x348b('0xb0')]);return Boolean(!this[_0x348b('0xaf')][_0x348b('0x6c')]&&_0x59f2f7&&_0x59f2f7[_0x348b('0xcc')]>0x1&&this['_hasSelectionChanged']);}['_shouldSendUpdate'](){return this[_0x348b('0x3b')][_0x348b('0xcc')]>0x0||this['_shouldSendSelectionUpdate']();}}l['CollaborativeEditingService']=_0x589681;class J extends Error{}function K(_0x217b9b,_0x2f8936){for(const _0x3f98d8 of _0x217b9b)_0x3f98d8[_0x348b('0x54')]=_0x2f8936++;}class Q{constructor(_0xe18d22){this[_0x348b('0x84')]=_0xe18d22,this[_0x348b('0xcb')]=new WeakMap();}[_0x348b('0xac')](_0x3aea6c){let _0x148c10=_0x3aea6c['length'];for(;_0x148c10--;){const _0x1d24c2=_0x3aea6c[_0x148c10];if(!this['_ignoredOperations'][_0x348b('0x94')](_0x1d24c2)){if(!this['_operationToId'][_0x348b('0x94')](_0x1d24c2)){const _0x4ac981=_0x5bb914()[_0x348b('0x14')](0x1,0x12);this[_0x348b('0xcb')][_0x348b('0x74')](_0x1d24c2,_0x4ac981);}return this[_0x348b('0xcb')][_0x348b('0x3')](_0x1d24c2);}}}[_0x348b('0x5e')](_0x505903,_0x51dd08){if(!_0x51dd08)return;let _0x5ee347=_0x505903[_0x348b('0xcc')];for(;_0x5ee347--;){const _0x184d34=_0x505903[_0x5ee347];this[_0x348b('0x84')][_0x348b('0x94')](_0x184d34)||this[_0x348b('0xcb')][_0x348b('0x74')](_0x184d34,_0x51dd08);}}}
const _0xa27d=['CollaborativeEditingService','_ignoredOperations','lastOperationAcceptedAt','disconnected','_hasSynchronizationProblem','_connectAfterSessionHasBeenFlushed','realtimecollaborationclient-initservice-incorrect-server-operation','_lastServerVersion','realtimecollaborationclient-sendbufferedoperations','isEnabled','getOperationAuthor','_refreshUserSelectionMarkers','keys','_operationIdentifier','_applyOperationsSet','connection','roots','version','rtc-offline','entries','isDocumentOperation','compress','_shouldSendSelectionUpdate','cloud-services-internal-error:\x20Not\x20connected.','_disconnectService','push','reconnection:\x20flushed\x20session','set','disconnect','createdAt','_handleInitialConnectionData','createPositionFromPath','userId','model','locale','_document','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','state','_compressor','_currentBufferDelay','_hasSelectionChanged','config','connect','length','cs:removeUser','destroy','serverHistory','change:range','isUndoneOperation','type','_handleReconnectionResponse','_handleExternalOperations','realtimecollaborationclient-init-non-existent-root','plugins','define','_fetchMissingUsers','directChange','lastDocumentSession','reset','_isAttached','register','_compressOperations','from','off','add','realtimecollaborationclient-init-document-already-initialized','enableReadOnlyMode','_isDisconnection','round','__className','_crash','catch','_channelId','_knownOperations','filter','setIdForTheLastOperation','_connectService','_bufferedOperations','getIdOfTheLastOperation','_handleSendingSelectionMarkers','getMany','fromJSON','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','createUserMarkerOperations','message','404','getUser','createRange','metadata','baseVersion','getReversed','_operationToId','clone','init','markers','editing','_handleServerResponse','root','error','finally','forEach','_isConnected','addRoot','getRoot','change:_isEditingAllowed','rootName','offset','collaboration-missing-channelid','_clearPendingAction','_decompressOperations','currentDocumentSession','_disconnectionOperations','real-time-collaboration','return','editor','_offset','_isInit','wereChangesApplied','permissions','channelSessions','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','marker','high','pluginName','map','CommentsOnly','sessionAdd:','getDocumentDetails','initData','_getOperationsFromInitData','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.','parse','toJSON','history','differ','wasUndone','409','disableReadOnlyMode','start','realtimecollaborationclient-init-session-connection-error','lastSyncVersion','includes','_isPendingUpdate','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_initThrowingOnDataSet','addToReconnectionStack','_baseBufferDelay','requires','bufferOperation','enqueueChange','sessionId','getOperations','_sendBufferedOperationsDelayed','cloudDocumentVersion','_handleReconnectionError','data','document','has','position','_setPendingAction','RealTimeCollaborationClient','_setUpDataInit','getConnectedSessions','bind','selection','change:hasDomSelection','addUser','_updateServerHistory','_service','listenTo','affectsData','multi-root-editor-root-attributes-no-root','code','$root','then','applyOperation','realtimecollaborationclient-initservice-internal-error','_sendBufferedOperationsDelayId','slice','realtimecollaborationclient-handleserverresponse','path','InsertOperation','_pendingAction','lastOperationId','size','unregister','_lastSyncedOperationId','get','_authorId','_saveOperationInBuffer','_sendBufferedOperations','realtimecollaborationclient-init-connection-failed','reconnect','stop','rtc-destroyed','_isEditingAllowed','_handleReceivedOperations','_shouldSendUpdate','apply','remove','isAttached','startsWith'];(function(_0x13c777,_0xa27dc7){const _0x26c667=function(_0x106ff2){while(--_0x106ff2){_0x13c777['push'](_0x13c777['shift']());}};_0x26c667(++_0xa27dc7);}(_0xa27d,0xb7));const _0x26c6=function(_0x13c777,_0xa27dc7){_0x13c777=_0x13c777-0x0;let _0x26c667=_0xa27d[_0x13c777];return _0x26c667;};import{Plugin as _0x1525ec,PendingActions as _0x1f4c61}from'ckeditor5/src/core';import{CKEditorError as _0x1ab557,version as _0x1f9423,uid as _0x5a5a6a}from'ckeditor5/src/utils';import{Notification as _0x178b6d}from'ckeditor5/src/ui';import{transformSets as _0x52669f,InsertOperation as _0x5a8e53,MarkerOperation as _0x3a7167,RootAttributeOperation as _0x252c77,RootOperation as _0x3e6c8d,OperationFactory as _0x5d7bd5,History as _0x2823ee}from'ckeditor5/src/engine';import _0x5ef1da from'./websocketgateway';import _0x5abafd from'./sessions';import _0x5bb1a1 from'./usermarkers';import{getTranslation as _0x323a5f}from'../common-translations';import _0x18e6fb from'@ckeditor/ckeditor5-operations-compressor/src/compressor';import{Users as _0xbaeb2c}from'ckeditor5-collaboration/src/collaboration-core';import _0x549aed from'@ckeditor/ckeditor-cloud-services-collaboration/src/collaborativeeditingservice/collaborativeeditingservice';import _0x459bd0 from'@ckeditor/ckeditor-cloud-services-collaboration/src/users/user';let z=0x1;export default class l extends _0x1525ec{static get[_0x26c6('0xa6')](){return[_0x5ef1da,_0x5abafd,_0x5bb1a1,_0x1f4c61,_0xbaeb2c,_0x178b6d];}static get[_0x26c6('0x8e')](){return _0x26c6('0xb3');}get[_0x26c6('0xac')](){return this[_0x26c6('0x1a')]+this[_0x26c6('0x86')];}get[_0x26c6('0x1a')](){return this[_0x26c6('0x41')][_0x26c6('0x24')]-this[_0x26c6('0x86')];}get[_0x26c6('0x9f')](){const _0x2979d4=this[_0x26c6('0x41')][_0x26c6('0xaa')]();for(let _0x9f6848=_0x2979d4[_0x26c6('0x3e')]-0x1;_0x9f6848>=0x0;_0x9f6848--){const _0x2ecba5=_0x2979d4[_0x9f6848];if(!this[_0x26c6('0x82')]['has'](_0x2ecba5))return _0x2ecba5[_0x26c6('0x6c')]+0x1-this[_0x26c6('0x86')];}return 0x0;}constructor(_0x33e5f8){if(super(_0x33e5f8),this[_0x26c6('0x86')]=0x0,this[_0x26c6('0xa9')]=null,this[_0x26c6('0x41')]=new _0x2823ee(),this['editor'][_0x26c6('0x3c')][_0x26c6('0x49')]('collaboration',{}),this[_0x26c6('0x5b')]=this[_0x26c6('0x85')][_0x26c6('0x3c')][_0x26c6('0x4')]('collaboration.channelId'),!this['_channelId'])throw new _0x1ab557(_0x26c6('0x7e'),this);const _0x113e4b=_0x33e5f8[_0x26c6('0x3c')]['get']('cloudServices.bundleVersion')||_0x1f9423;this['_service']=new l[(_0x26c6('0x13'))](_0x113e4b,this['_channelId']),this['_document']=this[_0x26c6('0x85')]['model'][_0x26c6('0xaf')],this[_0x26c6('0x39')]=new _0x18e6fb(),this[_0x26c6('0x60')]=[],this[_0x26c6('0x5c')]=new WeakSet(),this[_0x26c6('0x2e')](_0x26c6('0xa1'),!0x1),this[_0x26c6('0x2e')](_0x26c6('0x17'),!0x1),this[_0x26c6('0xc9')]=null,this[_0x26c6('0x3b')]=!0x1,this[_0x26c6('0xc4')]=null,this['_baseBufferDelay']=0x12c,this[_0x26c6('0x3a')]=this['_baseBufferDelay'],this['_lastSyncedOperationId']=null,this[_0x26c6('0x82')]=new WeakSet(),this[_0x26c6('0x20')]=new j(this[_0x26c6('0x82')]);}['init'](){const _0x3fd07=this[_0x26c6('0x85')],_0x10c42d=_0x3fd07['plugins'][_0x26c6('0x4')](_0xbaeb2c),_0x2e00e4=_0x3fd07['plugins'][_0x26c6('0x4')](_0x5ef1da);this['listenTo'](_0x10c42d,_0x26c6('0x1d'),(_0xbaa0b2,_0x17df96)=>{const _0x4fdd29=_0x17df96[0x0];_0x4fdd29['_authorId']&&(_0xbaa0b2[_0x26c6('0x84')]=_0x10c42d[_0x26c6('0x69')](_0x4fdd29[_0x26c6('0x5')]),_0xbaa0b2['stop']()),null===_0x4fdd29['_authorId']&&(_0xbaa0b2['return']=null,_0xbaa0b2['stop']());},{'priority':'high'}),this['listenTo'](_0x3fd07[_0x26c6('0x34')][_0x26c6('0xaf')][_0x26c6('0xb7')],_0x26c6('0x42'),(_0x2f2e67,_0x567f35)=>{_0x567f35[_0x26c6('0x4b')]&&this[_0x26c6('0x1e')]();}),this[_0x26c6('0xbc')](_0x3fd07[_0x26c6('0x72')]['view'],_0x26c6('0xb8'),()=>{this[_0x26c6('0x1e')]();}),this[_0x26c6('0xa3')](),_0x3fd07[_0x26c6('0x34')]['on'](_0x26c6('0xc2'),(_0xd7b8f9,_0x11c6c6)=>{const _0x2d1d31=_0x11c6c6[0x0];_0x2d1d31[_0x26c6('0x27')]&&(this['_saveOperationInBuffer'](_0x2d1d31),this[_0x26c6('0xe')]()&&this[_0x26c6('0xab')]());}),this[_0x26c6('0xb4')](),this['bind'](_0x26c6('0xc'))['to'](_0x2e00e4,_0x26c6('0x38'),this,_0x26c6('0x17'),(_0x4259b4,_0x4efd35)=>'connected'===_0x4259b4&&!_0x4efd35),this['on'](_0x26c6('0x7b'),()=>{this[_0x26c6('0xc')]?_0x3fd07['disableReadOnlyMode']('rtc-offline'):_0x3fd07['enableReadOnlyMode'](_0x26c6('0x25'));}),this[_0x26c6('0xc')]?_0x3fd07[_0x26c6('0x9c')](_0x26c6('0x25')):_0x3fd07[_0x26c6('0x55')]('rtc-offline'),this[_0x26c6('0x2e')]('_isConnected',!0x1);}async[_0x26c6('0x9')](){const _0x8e7be7=this[_0x26c6('0x85')]['plugins'][_0x26c6('0x4')](_0x5abafd),_0x270500=this[_0x26c6('0x85')]['plugins'][_0x26c6('0x4')](_0x5ef1da);try{this[_0x26c6('0xa1')]=!0x0,_0x8e7be7[_0x26c6('0x2')](this[_0x26c6('0x5b')]);const _0x2bb35c=await this[_0x26c6('0xbb')][_0x26c6('0x9')](_0x270500[_0x26c6('0x22')],this['lastSyncVersion']);await this[_0x26c6('0x45')](_0x2bb35c)&&(this[_0x26c6('0xa1')]=!0x1,this[_0x26c6('0x7f')]());const _0x5eb40f=await this[_0x26c6('0xbb')][_0x26c6('0xb5')]();_0x8e7be7['register'](this['_channelId'],_0x5eb40f),this[_0x26c6('0x62')](),this[_0x26c6('0x78')]=!0x0;}catch(_0x3770be){if(function(_0x5f558b){return _0x26c6('0x68')===_0x5f558b[_0x26c6('0xbf')];}(_0x3770be)&&this[_0x26c6('0xa9')])await this[_0x26c6('0x18')]();else{if(function(_0x38d6c7){return _0x26c6('0x9b')===_0x38d6c7[_0x26c6('0xbf')];}(_0x3770be)){const _0x326085=_0x323a5f(this[_0x26c6('0x85')][_0x26c6('0x35')],_0x26c6('0x65'));this[_0x26c6('0xad')](_0x326085);}else{if(!(_0x3770be instanceof V))throw _0x3770be;this['_handleReconnectionError']();}}}}[_0x26c6('0x40')](){const _0xc4bb05=this[_0x26c6('0x85')][_0x26c6('0x48')][_0x26c6('0x4')](_0x5ef1da),_0x3fe510=this['editor'][_0x26c6('0x48')]['get'](_0x5abafd);this[_0x26c6('0x85')][_0x26c6('0x55')](_0x26c6('0xb')),_0x3fe510['channelSessions'][_0x26c6('0xb0')](this[_0x26c6('0x5b')])&&_0x3fe510[_0x26c6('0x2')](this[_0x26c6('0x5b')]),_0xc4bb05['removeFromReconnectionStack'](this),this[_0x26c6('0x2b')](),super[_0x26c6('0x40')]();}async[_0x26c6('0x45')](_0x43501d){if(this[_0x26c6('0xa9')]!==_0x43501d[_0x26c6('0xa9')]&&this[_0x26c6('0x3')]!==_0x43501d[_0x26c6('0x0')])throw new V();return this[_0x26c6('0xa9')]=_0x43501d[_0x26c6('0xa9')],this['_handleServerResponse']([],{..._0x43501d,'wereChangesApplied':!0x1,'data':_0x43501d['data']},_0x26c6('0x9'));}async['_connectService'](_0x1e083b,_0x172881=!0x1){const {connection:_0x2bd944}=this[_0x26c6('0x85')][_0x26c6('0x48')][_0x26c6('0x4')](_0x5ef1da);l[_0x26c6('0x13')][_0x26c6('0xb5')](_0x2bd944,this[_0x26c6('0x5b')])['then'](_0x295e02=>this['_initSessionsHandling'](_0x295e02))['catch'](_0x57548f=>{this[_0x26c6('0x59')](_0x26c6('0x9e'),_0x57548f);}),this[_0x26c6('0xbc')](this[_0x26c6('0xbb')],'operationsReceived',this[_0x26c6('0xd')][_0x26c6('0xb6')](this)),this['listenTo'](this[_0x26c6('0xbb')],_0x26c6('0x75'),(_0x177706,_0x3e1f5b)=>{this[_0x26c6('0x59')](_0x26c6('0xc3'),_0x3e1f5b);}),this[_0x26c6('0xbc')](this[_0x26c6('0xbb')],_0x26c6('0x16'),()=>{this[_0x26c6('0x78')]=!0x1;});const _0x109ff0=this['_operationIdentifier'][_0x26c6('0x61')](_0x1e083b),_0xc59803=await this[_0x26c6('0xbb')][_0x26c6('0x3d')](_0x2bd944,this[_0x26c6('0x50')](_0x1e083b),_0x109ff0);if(this[_0x26c6('0xa9')]=_0xc59803[_0x26c6('0xa9')],_0xc59803['wereChangesApplied']&&(this[_0x26c6('0xa1')]=!0x1,this[_0x26c6('0x7f')]()),_0x172881){if(!_0xc59803[_0x26c6('0x88')])return void this[_0x26c6('0xad')]();this[_0x26c6('0x41')][_0x26c6('0x4d')](),this['_offset']=_0xc59803[_0x26c6('0x7d')],this[_0x26c6('0x41')][_0x26c6('0x24')]=this[_0x26c6('0x86')],await this[_0x26c6('0x73')](_0x1e083b,_0xc59803,_0x26c6('0x2d'));}else await this[_0x26c6('0x31')](_0xc59803,_0x1e083b);this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}[_0x26c6('0x62')](){const _0x8f8c18=this[_0x26c6('0x85')][_0x26c6('0x48')][_0x26c6('0x4')](_0x5abafd),_0x5867a5=this[_0x26c6('0x85')][_0x26c6('0x48')]['get'](_0x5bb1a1),_0x48e97b=_0x8f8c18['channelSessions'][_0x26c6('0x4')](this[_0x26c6('0x5b')]);_0x48e97b&&_0x48e97b[_0x26c6('0x3e')]>0x1?_0x5867a5[_0x26c6('0x66')]():this[_0x26c6('0xbc')](_0x8f8c18,_0x26c6('0x91')+this[_0x26c6('0x5b')],()=>{0x2===_0x8f8c18[_0x26c6('0x8a')]['get'](this['_channelId'])[_0x26c6('0x3e')]&&_0x5867a5['createUserMarkerOperations']();});}async[_0x26c6('0xd')](_0x25b82c,_0x1c90a5,_0x52bde2,_0x1289da){if(!this[_0x26c6('0xa1')]&&this[_0x26c6('0x36')][_0x26c6('0x24')]==_0x1c90a5){const _0x52179e=this[_0x26c6('0x80')](_0x52bde2,_0x1289da);await this[_0x26c6('0x4a')](_0x52179e),this[_0x26c6('0x46')](_0x52179e,_0x1c90a5,_0x52bde2[_0x26c6('0x0')])||this[_0x26c6('0x59')](_0x26c6('0x19'));}}async[_0x26c6('0x18')](){this[_0x26c6('0x2b')]();const {locale:_0x554c01}=this[_0x26c6('0x85')];let _0x431113;try{_0x431113=await this[_0x26c6('0xbb')][_0x26c6('0x92')]();}catch(_0x28966d){const _0xc13919=_0x323a5f(_0x554c01,_0x26c6('0x8b'));return void this['_handleReconnectionError'](_0xc13919);}const _0x2db237=_0x431113[_0x26c6('0x81')]||_0x431113[_0x26c6('0x4c')];if(this['_lastSyncedOperationId']===_0x2db237[_0x26c6('0x0')])await this[_0x26c6('0x5f')](this[_0x26c6('0x85')][_0x26c6('0x34')][_0x26c6('0xaf')][_0x26c6('0x98')][_0x26c6('0xaa')](),!0x0);else{const _0x30e211=_0x323a5f(_0x554c01,'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[_0x26c6('0xad')](_0x30e211);}}[_0x26c6('0x2b')](){this[_0x26c6('0xbb')][_0x26c6('0x2f')](),this[_0x26c6('0x60')]=[],clearTimeout(this['_sendBufferedOperationsDelayId']),this['stopListening'](this['_service']);}['_initSessionsHandling'](_0x597689){const _0x19d97f=this[_0x26c6('0x85')][_0x26c6('0x48')][_0x26c6('0x4')](_0x5abafd);this[_0x26c6('0xbc')](_0x19d97f,_0x26c6('0x91')+this[_0x26c6('0x5b')],(_0x4f28a1,{session:_0x14c8c0})=>{if(_0x14c8c0['id']===_0x19d97f['mySessionId']){_0x4f28a1[_0x26c6('0x52')]();const _0x22bd68=this['editor']['plugins']['has'](_0x26c6('0x90'))&&this[_0x26c6('0x85')][_0x26c6('0x48')][_0x26c6('0x4')](_0x26c6('0x90'));let _0x41afd1=_0x14c8c0[_0x26c6('0x89')];_0x22bd68&&_0x22bd68[_0x26c6('0x1c')]&&(_0x41afd1=_0x41afd1[_0x26c6('0x5d')](_0x439760=>'document:write'!==_0x439760)),this['editor'][_0x26c6('0x48')]['get']('Permissions')['setPermissions'](_0x41afd1,this[_0x26c6('0x5b')]);}}),_0x19d97f[_0x26c6('0x4f')](this['_channelId'],_0x597689);}['_initThrowingOnDataSet'](){const _0x161f72=this[_0x26c6('0x85')]['data'][_0x26c6('0x2e')];this[_0x26c6('0x85')][_0x26c6('0xae')]['set']=(..._0x1a3a20)=>{if(!_0x1a3a20[_0x1a3a20[_0x26c6('0x3e')]-0x1]['suppressErrorInCollaboration'])throw new _0x1ab557(_0x26c6('0x37'),this);_0x161f72[_0x26c6('0xf')](this[_0x26c6('0x85')][_0x26c6('0xae')],_0x1a3a20);};}[_0x26c6('0xb4')](){this['editor'][_0x26c6('0xae')]['on']('init',(_0x4b7bc7,[_0x31917c])=>{if(this[_0x26c6('0x36')]['version'])throw new _0x1ab557(_0x26c6('0x54'),this);_0x4b7bc7[_0x26c6('0xa')](),this[_0x26c6('0xb2')]();const _0x5b7ea7=this['editor'][_0x26c6('0x3c')][_0x26c6('0x4')]('rootsAttributes'),_0x21ccdf=this[_0x26c6('0x94')](_0x31917c,_0x5b7ea7);_0x4b7bc7[_0x26c6('0x84')]=this[_0x26c6('0x5f')](_0x21ccdf)[_0x26c6('0xc1')](()=>{this[_0x26c6('0x85')][_0x26c6('0x48')][_0x26c6('0x4')](_0x5ef1da)[_0x26c6('0xa4')](this),this[_0x26c6('0x85')][_0x26c6('0xae')]['fire']('ready');})['catch'](_0x709657=>this[_0x26c6('0x59')](_0x26c6('0x8'),_0x709657))[_0x26c6('0x76')](()=>this[_0x26c6('0x7f')]());},{'priority':_0x26c6('0x8d')});}async['_fetchMissingUsers'](_0x17c198){const _0x2cb32a=this[_0x26c6('0x85')]['plugins'][_0x26c6('0x4')](_0xbaeb2c),{connection:_0x544940}=this[_0x26c6('0x85')][_0x26c6('0x48')][_0x26c6('0x4')](_0x5ef1da),_0x458c01=new Set();for(const _0xeeec1b of _0x17c198){const _0x4b6fc0=_0xeeec1b[_0x26c6('0x5')];_0x4b6fc0&&!_0x2cb32a[_0x26c6('0x69')](_0x4b6fc0)&&_0x458c01[_0x26c6('0x53')](_0x4b6fc0);}if(0x0===_0x458c01[_0x26c6('0x1')])return;const _0x2b8616=await _0x459bd0[_0x26c6('0x63')](_0x544940,Array[_0x26c6('0x51')](_0x458c01));for(const _0xd0fc6f of _0x2b8616)_0x2cb32a['getUser'](_0xd0fc6f['id'])||_0x2cb32a[_0x26c6('0xb9')](_0xd0fc6f);}[_0x26c6('0x94')](_0x32d141,_0x36dfc1={}){const _0x244e7a=this[_0x26c6('0x85')][_0x26c6('0x34')],_0x48ef64=[];let _0x1151f0=0x0;const _0x33c68b='string'==typeof _0x32d141?{'main':_0x32d141}:_0x32d141;for(const _0x352eda of Object[_0x26c6('0x1f')](_0x33c68b)){if(!this[_0x26c6('0x36')][_0x26c6('0x23')][_0x26c6('0xb0')](_0x352eda))throw new _0x1ab557(_0x26c6('0x47'),this);const _0x1cffd1=this['editor']['data'][_0x26c6('0x96')](_0x33c68b[_0x352eda]),_0x165ceb=this[_0x26c6('0x36')][_0x26c6('0x7a')](_0x352eda),_0x4b7971=new _0x5a8e53(_0x244e7a['createPositionAt'](_0x165ceb,0x0),_0x1cffd1,_0x1151f0++);_0x48ef64[_0x26c6('0x2c')](_0x4b7971);for(const [_0x3b7beb,_0x5d4bf9]of _0x1cffd1['markers']){const _0xbc15ae=_0x244e7a[_0x26c6('0x6a')](_0x244e7a[_0x26c6('0x32')](_0x165ceb,_0x5d4bf9[_0x26c6('0x9d')]['path'][_0x26c6('0xc5')]()),_0x244e7a['createPositionFromPath'](_0x165ceb,_0x5d4bf9['end'][_0x26c6('0xc7')][_0x26c6('0xc5')]())),_0x944ebf=new _0x3a7167(_0x3b7beb,null,_0xbc15ae,_0x244e7a[_0x26c6('0x71')],!0x0,_0x1151f0++);_0x48ef64[_0x26c6('0x2c')](_0x944ebf);}}if(_0x36dfc1)for(const [_0x4e93fa,_0x5ed1f1]of Object['entries'](_0x36dfc1)){const _0x2e736a=_0x244e7a[_0x26c6('0xaf')][_0x26c6('0x7a')](_0x4e93fa);if(!_0x2e736a)throw new _0x1ab557(_0x26c6('0xbe'),null);for(const [_0x19c656,_0x55b1ac]of Object[_0x26c6('0x26')](_0x5ed1f1))if(null!==_0x55b1ac){const _0x48818c=new _0x252c77(_0x2e736a,_0x19c656,null,_0x55b1ac,_0x1151f0++);_0x48ef64[_0x26c6('0x2c')](_0x48818c);}}return _0x48ef64;}async['_handleInitialConnectionData'](_0x10f115,_0x2b699a){let _0x292c6c;this['_offset']=_0x10f115['offset'];const _0x5cc192=_0x10f115['wereChangesApplied']&&!_0x10f115[_0x26c6('0x93')],_0x5f37e7=_0x5cc192?0x0:_0x10f115['data'][_0x26c6('0x6c')];if(_0x5cc192)_0x292c6c=_0x2b699a,_0x292c6c[_0x26c6('0x77')](_0x2eea91=>{_0x2eea91[_0x26c6('0x30')]=_0x10f115['sessionCreatedAt'],_0x2eea91['_isInit']=!0x0,_0x2eea91[_0x26c6('0x5')]=null;}),this[_0x26c6('0x21')](_0x292c6c,_0x5cc192);else{if(_0x10f115[_0x26c6('0x93')]){const _0x44dc6f=this[_0x26c6('0x94')](_0x10f115[_0x26c6('0x93')]);this[_0x26c6('0x36')][_0x26c6('0x98')][_0x26c6('0x24')]=-_0x44dc6f['length'],_0x44dc6f['forEach'](_0x432073=>{_0x432073[_0x26c6('0x6c')]-=_0x44dc6f[_0x26c6('0x3e')],_0x432073[_0x26c6('0x30')]=_0x10f115['sessionCreatedAt'],_0x432073[_0x26c6('0x87')]=!0x0,_0x432073['_authorId']=null;}),this[_0x26c6('0x21')](_0x44dc6f,!0x0),this['serverHistory'][_0x26c6('0x24')]=-_0x44dc6f[_0x26c6('0x3e')]+this[_0x26c6('0x86')],this[_0x26c6('0xba')](_0x44dc6f);}this[_0x26c6('0x36')]['history'][_0x26c6('0x24')]=_0x5f37e7,_0x292c6c=this[_0x26c6('0x80')](_0x10f115[_0x26c6('0xae')],_0x10f115[_0x26c6('0x6b')]),await this[_0x26c6('0x4a')](_0x292c6c),this[_0x26c6('0x21')](_0x292c6c,_0x5cc192);}_0x10f115[_0x26c6('0x0')]&&(this[_0x26c6('0x20')][_0x26c6('0x5e')](_0x292c6c,_0x10f115[_0x26c6('0x0')]),this['_lastSyncedOperationId']=_0x10f115[_0x26c6('0x0')]),this[_0x26c6('0x41')][_0x26c6('0x24')]=_0x5f37e7+this[_0x26c6('0x86')],this[_0x26c6('0xba')](_0x292c6c);}['_crash'](_0x130ea9,_0x347d1f){throw this[_0x26c6('0xa1')]=!0x0,_0x347d1f&&console[_0x26c6('0x75')](_0x347d1f),new _0x1ab557(_0x130ea9,this[_0x26c6('0x85')]);}[_0x26c6('0x6')](_0x2acecb){this[_0x26c6('0x5c')][_0x26c6('0xb0')](_0x2acecb)||(this[_0x26c6('0x5c')]['add'](_0x2acecb),this[_0x26c6('0x60')][_0x26c6('0x2c')](_0x2acecb),this[_0x26c6('0xc9')]||_0x26c6('0x8c')==_0x2acecb[_0x26c6('0x44')]&&!_0x2acecb[_0x26c6('0xbd')]||this[_0x26c6('0xb2')]());}[_0x26c6('0xab')](_0x43a6f0=!0x1){!_0x43a6f0&&this[_0x26c6('0xa1')]||(this[_0x26c6('0xa1')]=!0x0,clearTimeout(this[_0x26c6('0xc4')]),this[_0x26c6('0xc4')]=setTimeout(()=>{this[_0x26c6('0x7')]()[_0x26c6('0xc1')](_0xcb63c1=>{_0xcb63c1&&(this[_0x26c6('0x7f')](),this[_0x26c6('0xa1')]=!0x1);})[_0x26c6('0x5a')](_0x3ffb33=>{if(this['_clearPendingAction'](),this[_0x26c6('0xa1')]=!0x1,!function(_0x3c9c4b){return _0x3c9c4b['message']['startsWith'](_0x26c6('0x2a'))||_0x3c9c4b[_0x26c6('0x67')][_0x26c6('0x12')](_0x26c6('0xa2'))||_0x3c9c4b['message'][_0x26c6('0x12')]('cloud-services-internal-error:\x20Request\x20timeout.');}(_0x3ffb33))throw _0x3ffb33;});},this['_currentBufferDelay']));}async[_0x26c6('0x7')](){const _0x50964c=this[_0x26c6('0x85')][_0x26c6('0x48')]['get'](_0x5bb1a1);if(this[_0x26c6('0x29')]()&&(_0x50964c[_0x26c6('0x66')](),this['_hasSelectionChanged']=!0x1),!this[_0x26c6('0xe')]())return!0x0;const _0x5ba5ed=[...this[_0x26c6('0x60')]];for(const _0xde0da8 of _0x5ba5ed)_0xde0da8['wasUndone']=this['_document'][_0x26c6('0x98')][_0x26c6('0x43')](_0xde0da8);const _0x50bb97=this[_0x26c6('0x20')]['getIdOfTheLastOperation'](_0x5ba5ed),_0x68f35a=z++,_0x559019=this[_0x26c6('0x50')](_0x5ba5ed),_0x2a5511=await this[_0x26c6('0xbb')]['sendOperations'](_0x559019,_0x559019[_0x26c6('0x6c')],_0x50bb97);try{return await this[_0x26c6('0x73')](_0x5ba5ed,_0x2a5511,_0x68f35a);}catch(_0x2123f8){return this[_0x26c6('0x59')](_0x26c6('0x1b'),_0x2123f8);}}async[_0x26c6('0x73')](_0x1ecc07,_0x367ff1,_0x3d87ba){if(_0x26c6('0x75')in _0x367ff1)throw _0x367ff1[_0x26c6('0x75')];let _0x10a3cb=!0x1;if(_0x367ff1[_0x26c6('0x88')]){_0x367ff1[_0x26c6('0x0')]&&(this[_0x26c6('0x3')]=_0x367ff1[_0x26c6('0x0')]),this['_bufferedOperations']=this[_0x26c6('0x60')][_0x26c6('0x5d')](_0x11147d=>!_0x1ecc07[_0x26c6('0xa0')](_0x11147d));for(const _0x1a73be of _0x1ecc07)_0x1a73be[_0x26c6('0x30')]=_0x26c6('0x15')in _0x367ff1&&_0x367ff1[_0x26c6('0x15')]||void 0x0;this[_0x26c6('0xba')](_0x1ecc07),_0x10a3cb=!0x0,this[_0x26c6('0x3a')]=this[_0x26c6('0xa5')];}else{const _0x758ef0=this[_0x26c6('0x80')](_0x367ff1[_0x26c6('0xae')],_0x367ff1[_0x26c6('0x6b')])[_0x26c6('0x5d')](_0x530fa2=>_0x530fa2['baseVersion']>=this[_0x26c6('0x1a')]);await this[_0x26c6('0x4a')](_0x758ef0),_0x10a3cb=this[_0x26c6('0x46')](_0x758ef0,_0x367ff1[_0x26c6('0x24')],_0x367ff1['lastOperationId']),this['_currentBufferDelay']=Math[_0x26c6('0x57')](this['_currentBufferDelay']/0x2);}return _0x10a3cb?!this[_0x26c6('0xe')]()||(this[_0x26c6('0xab')](!0x0),!0x1):this[_0x26c6('0x59')](_0x26c6('0xc6'));}[_0x26c6('0x46')](_0x4cb148,_0x2b9c73,_0x318194){try{const _0xaccfae={'document':this['_document'],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x22e080,operationsB:_0x56607b,originalOperations:_0x399542}=_0x52669f(_0x4cb148,this['_bufferedOperations'],_0xaccfae);W(_0x22e080,this[_0x26c6('0x36')][_0x26c6('0x24')]),W(_0x56607b,_0x2b9c73);for(const _0x223a27 of _0x22e080){const _0x1fda9e=_0x399542['get'](_0x223a27);_0x223a27[_0x26c6('0x5')]=_0x1fda9e?_0x1fda9e['_authorId']:null;}_0x318194&&(this[_0x26c6('0x20')]['setIdForTheLastOperation'](_0x4cb148,_0x318194),this[_0x26c6('0x3')]=_0x318194),this[_0x26c6('0x60')]=[..._0x56607b],this[_0x26c6('0x21')](_0x22e080),this[_0x26c6('0xba')](_0x4cb148);}catch(_0x138992){return console[_0x26c6('0x75')](_0x138992),!0x1;}return!0x0;}[_0x26c6('0x21')](_0x587039,_0x4948f3=!0x1){this[_0x26c6('0x85')][_0x26c6('0x34')][_0x26c6('0xa8')]({'isUndoable':!0x1,'isLocal':!0x1},_0x54c1d5=>{for(const _0x1bc845 of _0x587039)this[_0x26c6('0x5c')]['add'](_0x1bc845),_0x54c1d5['batch']['addOperation'](_0x1bc845),this['editor']['model'][_0x26c6('0xc2')](_0x1bc845);});}[_0x26c6('0xba')](_0x5d95fc){_0x5d95fc[_0x26c6('0x77')](_0x142050=>{const _0x2434ae=_0x142050[_0x26c6('0x6f')]();_0x2434ae['_authorId']=_0x142050[_0x26c6('0x5')],_0x2434ae[_0x26c6('0x87')]=!!_0x142050['_isInit'],_0x2434ae['createdAt']=_0x142050[_0x26c6('0x30')],_0x2434ae['baseVersion']+=this['_offset'],_0x142050['_isDisconnection']&&this['_disconnectionOperations'][_0x26c6('0x53')](_0x2434ae),this[_0x26c6('0x41')]['addOperation'](_0x2434ae);});}[_0x26c6('0xad')](_0x56b082){const _0x402ec1=this[_0x26c6('0x85')][_0x26c6('0x48')][_0x26c6('0x4')]('Notification'),_0x552081=this[_0x26c6('0x85')][_0x26c6('0x35')];_0x56b082||(_0x56b082=_0x323a5f(_0x552081,_0x26c6('0x95'))),_0x402ec1['showWarning'](_0x56b082,{'title':_0x323a5f(_0x552081,'Synchronization\x20issue'),'namespace':_0x26c6('0x83')}),this[_0x26c6('0x17')]=!0x0,clearTimeout(this[_0x26c6('0xc4')]),this['_bufferedOperations']=[],this['editor'][_0x26c6('0x48')][_0x26c6('0x4')](_0x5ef1da)[_0x26c6('0x40')]();}['_setPendingAction'](){this[_0x26c6('0xc9')]||(this['_pendingAction']=this[_0x26c6('0x85')]['plugins']['get'](_0x1f4c61)['add'](_0x323a5f(this[_0x26c6('0x85')][_0x26c6('0x35')],'PENDING_ACTION_SENDING_DATA')));}[_0x26c6('0x7f')](){this[_0x26c6('0xc9')]&&(this[_0x26c6('0x85')]['plugins'][_0x26c6('0x4')](_0x1f4c61)[_0x26c6('0x10')](this['_pendingAction']),this['_pendingAction']=null);}[_0x26c6('0x50')](_0x1fb391){const _0x56b55a=_0x1fb391[_0x26c6('0x8f')](_0x4a3791=>_0x4a3791[_0x26c6('0x97')]());return this[_0x26c6('0x39')][_0x26c6('0x28')](_0x56b55a);}[_0x26c6('0x80')](_0x38bc3e,_0x932274){const _0x2d7362=new Set();return this['_compressor']['decompress'](_0x38bc3e)[_0x26c6('0x8f')]((_0x55d0e4,_0x2187b8)=>{const _0xce3ff9=_0x26c6('0x70')==_0x932274[_0x2187b8]['type'];if(_0xce3ff9&&_0x26c6('0xc8')==_0x55d0e4[_0x26c6('0x58')]){const _0x3cd3cc=_0x55d0e4[_0x26c6('0xb1')][_0x26c6('0x74')];if(!this['_document'][_0x26c6('0x7a')](_0x3cd3cc)){const _0x1729c2=new _0x3e6c8d(_0x3cd3cc,_0x26c6('0xc0'),!0x0,this['_document'],null);this['_document']['getRoot'](_0x3cd3cc)[_0x26c6('0x4e')]=!0x0,this[_0x26c6('0x36')][_0x26c6('0x99')][_0x26c6('0xa7')](_0x1729c2);}}const _0x55e980=_0x5d7bd5[_0x26c6('0x64')](_0x55d0e4,this[_0x26c6('0x36')]);if('detachRoot'==_0x55e980[_0x26c6('0x44')])_0x2d7362[_0x26c6('0x53')](_0x55d0e4[_0x26c6('0x7c')]);else{if(_0x26c6('0x79')==_0x55e980['type']){const _0x3a337b=this[_0x26c6('0x36')][_0x26c6('0x7a')](_0x55d0e4[_0x26c6('0x7c')]);_0x3a337b&&_0x3a337b[_0x26c6('0x11')]()&&!_0x2d7362['has'](_0x55d0e4['rootName'])&&(_0x3a337b['_isAttached']=!0x1,this[_0x26c6('0x36')]['differ'][_0x26c6('0xa7')](_0x55e980[_0x26c6('0x6d')]()));}}return _0x55e980[_0x26c6('0x9a')]=_0x55d0e4[_0x26c6('0x9a')],_0x55e980['_isInit']=_0xce3ff9,_0x55e980['_authorId']=_0xce3ff9?null:_0x932274[_0x2187b8][_0x26c6('0x33')],_0x55e980[_0x26c6('0x56')]=_0x26c6('0x3f')===_0x932274[_0x2187b8][_0x26c6('0x44')],_0x55e980['createdAt']=_0x932274[_0x2187b8][_0x26c6('0x30')],_0x55e980;});}[_0x26c6('0x1e')](){this['_hasSelectionChanged']=!0x0,this['_shouldSendSelectionUpdate']()?this[_0x26c6('0xab')]():this['_hasSelectionChanged']=!0x1;}[_0x26c6('0x29')](){const _0x45caec=this[_0x26c6('0x85')][_0x26c6('0x48')]['get'](_0x5abafd)['channelSessions'][_0x26c6('0x4')](this['_channelId']);return!this['editor']['isReadOnly']&&!!_0x45caec&&_0x45caec[_0x26c6('0x3e')]>0x1&&this[_0x26c6('0x3b')];}[_0x26c6('0xe')](){return this[_0x26c6('0x60')][_0x26c6('0x3e')]>0x0||this[_0x26c6('0x29')]();}}l[_0x26c6('0x13')]=_0x549aed;class V extends Error{}function W(_0x3e9679,_0xd49fc6){for(const _0x16f0e3 of _0x3e9679)_0x16f0e3['baseVersion']=_0xd49fc6++;}class j{constructor(_0x4dae0d){this[_0x26c6('0x14')]=_0x4dae0d,this[_0x26c6('0x6e')]=new WeakMap();}[_0x26c6('0x61')](_0x237848){let _0x446524=_0x237848[_0x26c6('0x3e')];for(;_0x446524--;){const _0x571118=_0x237848[_0x446524];if(!this[_0x26c6('0x14')][_0x26c6('0xb0')](_0x571118)){if(!this[_0x26c6('0x6e')][_0x26c6('0xb0')](_0x571118)){const _0x2e1d06=_0x5a5a6a()[_0x26c6('0xc5')](0x1,0x12);this[_0x26c6('0x6e')]['set'](_0x571118,_0x2e1d06);}return this[_0x26c6('0x6e')]['get'](_0x571118);}}}['setIdForTheLastOperation'](_0x43fb5c,_0x4a9b8b){if(!_0x4a9b8b)return;let _0xceff91=_0x43fb5c[_0x26c6('0x3e')];for(;_0xceff91--;){const _0x69baf3=_0x43fb5c[_0xceff91];this[_0x26c6('0x14')][_0x26c6('0xb0')](_0x69baf3)||this['_operationToId']['set'](_0x69baf3,_0x4a9b8b);}}}

@@ -23,2 +23,2 @@ /*

*/
const _0x3225=['channelSessions','fire','sessions-register-already-registered','requires','_registeredSessions','defineMe','unregister','set','assign','pluginName','allConnectedUsers','role','connected','state','remove','has','delete','user','getUserSessions','addUser','context','orderNumber','listenTo','_users','register','_uniqueUsersCount','get','_handleSessionAdd','sessions-unregister-not-exist','mySessionId','add','plugins','Sessions','channelConnectedUsers','_handleSessionRemove','size','clear','_createUser','connection','forEach','values','sessionId'];(function(_0x5509ab,_0x32250e){const _0x1fc58c=function(_0x4ae1f5){while(--_0x4ae1f5){_0x5509ab['push'](_0x5509ab['shift']());}};_0x1fc58c(++_0x32250e);}(_0x3225,0x1c9));const _0x1fc5=function(_0x5509ab,_0x32250e){_0x5509ab=_0x5509ab-0x0;let _0x1fc58c=_0x3225[_0x5509ab];return _0x1fc58c;};import{ContextPlugin as _0x47b02a}from'ckeditor5/src/core';import{Collection as _0x159f8c,CKEditorError as _0x2319e3}from'ckeditor5/src/utils';import _0x182a9d from'./websocketgateway';import{Users as _0x41130b}from'ckeditor5-collaboration/src/collaboration-core';export default class r extends _0x47b02a{static get[_0x1fc5('0xe')](){return _0x1fc5('0x25');}static get[_0x1fc5('0x8')](){return[_0x182a9d,_0x41130b];}constructor(_0x23c514){super(_0x23c514),this[_0x1fc5('0x5')]=new Map(),this[_0x1fc5('0x26')]=new Map(),this['allConnectedUsers']=new _0x159f8c(),this['_registeredSessions']=new Map(),this[_0x1fc5('0x1e')]=0x0,this['_users']=this[_0x1fc5('0x19')]['plugins'][_0x1fc5('0x1f')](_0x41130b);}['init'](){const _0x5e945a=this[_0x1fc5('0x19')][_0x1fc5('0x24')]['get'](_0x182a9d);this[_0x1fc5('0x1b')](_0x5e945a,'change:state',(_0x490806,_0x275a95,_0x44c22c)=>{if(_0x1fc5('0x11')!==_0x44c22c)this[_0x1fc5('0x5')][_0x1fc5('0x2')](_0x53386f=>_0x53386f[_0x1fc5('0x29')]()),this[_0x1fc5('0x26')]['forEach'](_0x5ba65e=>_0x5ba65e[_0x1fc5('0x29')]()),this['allConnectedUsers'][_0x1fc5('0x29')]();else for(const [_0x1696eb,_0x525b80]of this[_0x1fc5('0x9')])for(const _0x453fd7 of _0x525b80)this[_0x1fc5('0x20')](_0x1696eb,_0x453fd7);}),this[_0x1fc5('0x0')](_0x5e945a[_0x1fc5('0x1')]['me'],!0x0);}[_0x1fc5('0x1d')](_0x24e368,_0x1c2914){if(this['_registeredSessions'][_0x1fc5('0x14')](_0x24e368))throw new _0x2319e3(_0x1fc5('0x7'),null,{'channelId':_0x24e368});this['_registeredSessions']['set'](_0x24e368,_0x1c2914),this[_0x1fc5('0x5')][_0x1fc5('0xc')](_0x24e368,new _0x159f8c()),this[_0x1fc5('0x26')][_0x1fc5('0xc')](_0x24e368,new _0x159f8c()),this[_0x1fc5('0x1b')](_0x1c2914,_0x1fc5('0x23'),(_0x38872e,_0x1f47b3)=>this[_0x1fc5('0x20')](_0x24e368,_0x1f47b3)),this[_0x1fc5('0x1b')](_0x1c2914,_0x1fc5('0x13'),(_0x95ae12,_0x574852)=>this[_0x1fc5('0x27')](_0x24e368,_0x574852));for(const _0x330722 of _0x1c2914)this[_0x1fc5('0x20')](_0x24e368,_0x330722);}[_0x1fc5('0xb')](_0x5c620c){if(!this['_registeredSessions'][_0x1fc5('0x14')](_0x5c620c))throw new _0x2319e3(_0x1fc5('0x21'),null,{'channelId':_0x5c620c});const _0x5d5e51=this[_0x1fc5('0x9')][_0x1fc5('0x1f')](_0x5c620c);this['stopListening'](_0x5d5e51);for(const _0x3b99d0 of _0x5d5e51)_0x1fc5('0x11')===this[_0x1fc5('0x19')][_0x1fc5('0x24')][_0x1fc5('0x1f')](_0x182a9d)[_0x1fc5('0x12')]&&this[_0x1fc5('0x27')](_0x5c620c,_0x3b99d0);this['_registeredSessions'][_0x1fc5('0x15')](_0x5c620c),this['channelSessions'][_0x1fc5('0x15')](_0x5c620c),this['channelConnectedUsers'][_0x1fc5('0x15')](_0x5c620c);}get[_0x1fc5('0x22')](){return this[_0x1fc5('0x19')][_0x1fc5('0x24')]['get'](_0x182a9d)['connection'][_0x1fc5('0x4')];}['getUserBySessionId'](_0xb57d06){for(const _0x2c98a9 of this[_0x1fc5('0x5')][_0x1fc5('0x3')]())for(const _0x2e75d4 of _0x2c98a9)if(_0x2e75d4['id']===_0xb57d06)return _0x2e75d4['user'];}[_0x1fc5('0x17')](_0x52c611,_0x16ee21){const _0x361612=_0x16ee21?[this[_0x1fc5('0x5')][_0x1fc5('0x1f')](_0x16ee21)]:this[_0x1fc5('0x5')]['values'](),_0x2346c0=new Set();for(const _0x59facd of _0x361612)for(const _0x46b379 of _0x59facd)_0x46b379[_0x1fc5('0x16')]['id']===_0x52c611['id']&&_0x2346c0['add'](_0x46b379['id']);return _0x2346c0;}['getUserRole'](_0x29e26f){for(const _0x565a65 of this['channelSessions']['values']())for(const _0x22686a of _0x565a65)if(_0x22686a[_0x1fc5('0x16')]===_0x29e26f)return _0x22686a[_0x1fc5('0x10')];}[_0x1fc5('0x20')](_0x119269,_0x3b8109){if(_0x1fc5('0x11')!==this[_0x1fc5('0x19')][_0x1fc5('0x24')][_0x1fc5('0x1f')](_0x182a9d)[_0x1fc5('0x12')])return;const _0x515745=_0x3b8109[_0x1fc5('0x16')],_0xc8b5bc=this[_0x1fc5('0x1c')]['getUser'](_0x515745['id'])||this[_0x1fc5('0x0')](_0x515745),_0x3763da=Object[_0x1fc5('0xd')]({},_0x3b8109,{'user':_0xc8b5bc});this[_0x1fc5('0x5')]['get'](_0x119269)[_0x1fc5('0x23')](_0x3763da);const _0x3b2fdf=this[_0x1fc5('0x26')][_0x1fc5('0x1f')](_0x119269);_0x3b2fdf[_0x1fc5('0x14')](_0xc8b5bc['id'])||_0x3b2fdf['add'](_0xc8b5bc),this[_0x1fc5('0xf')]['has'](_0xc8b5bc['id'])||this[_0x1fc5('0xf')][_0x1fc5('0x23')](_0xc8b5bc),this[_0x1fc5('0x6')]('sessionAdd:'+_0x119269,{'channelId':_0x119269,'session':_0x3763da});}[_0x1fc5('0x27')](_0x526a64,_0x13d0e9){if(_0x1fc5('0x11')!==this[_0x1fc5('0x19')][_0x1fc5('0x24')][_0x1fc5('0x1f')](_0x182a9d)[_0x1fc5('0x12')])return;const _0x4a65eb=this[_0x1fc5('0x26')][_0x1fc5('0x1f')](_0x526a64),_0x46fcd3=_0x13d0e9[_0x1fc5('0x16')];_0x46fcd3['id']&&(this['channelSessions'][_0x1fc5('0x1f')](_0x526a64)[_0x1fc5('0x13')](_0x13d0e9['id']),_0x4a65eb[_0x1fc5('0x14')](_0x46fcd3['id'])&&!this[_0x1fc5('0x17')](_0x46fcd3,_0x526a64)[_0x1fc5('0x28')]&&_0x4a65eb[_0x1fc5('0x13')](_0x46fcd3['id']),this[_0x1fc5('0xf')][_0x1fc5('0x1f')](_0x46fcd3['id'])&&!this[_0x1fc5('0x17')](_0x46fcd3)['size']&&this['allConnectedUsers'][_0x1fc5('0x13')](_0x46fcd3['id']));}[_0x1fc5('0x0')](_0x37f493,_0xc30bc2){const _0x749ac8=this['_users'][_0x1fc5('0x18')](_0x37f493);return _0xc30bc2&&this['_users'][_0x1fc5('0xa')](_0x37f493['id']),_0x749ac8[_0x1fc5('0x1a')]=this['_uniqueUsersCount']++,_0x749ac8;}}
const _0x2e80=['unregister','connection','stopListening','values','state','addUser','Sessions','_registeredSessions','context','sessionId','mySessionId','getUserSessions','register','getUserRole','_createUser','_uniqueUsersCount','has','pluginName','init','change:state','defineMe','plugins','set','sessions-unregister-not-exist','channelConnectedUsers','allConnectedUsers','get','listenTo','add','forEach','assign','_handleSessionAdd','remove','orderNumber','_users','delete','connected','clear','fire','channelSessions','_handleSessionRemove','sessionAdd:','user','getUser'];(function(_0x4ee424,_0x2e80d3){const _0x101a8b=function(_0x1ea947){while(--_0x1ea947){_0x4ee424['push'](_0x4ee424['shift']());}};_0x101a8b(++_0x2e80d3);}(_0x2e80,0x1af));const _0x101a=function(_0x4ee424,_0x2e80d3){_0x4ee424=_0x4ee424-0x0;let _0x101a8b=_0x2e80[_0x4ee424];return _0x101a8b;};import{ContextPlugin as _0x37b2be}from'ckeditor5/src/core';import{Collection as _0x485660,CKEditorError as _0x2d9812}from'ckeditor5/src/utils';import _0x42986b from'./websocketgateway';import{Users as _0x3e7a29}from'ckeditor5-collaboration/src/collaboration-core';export default class r extends _0x37b2be{static get[_0x101a('0x1a')](){return _0x101a('0xf');}static get['requires'](){return[_0x42986b,_0x3e7a29];}constructor(_0x2e9d22){super(_0x2e9d22),this['channelSessions']=new Map(),this[_0x101a('0x21')]=new Map(),this[_0x101a('0x22')]=new _0x485660(),this[_0x101a('0x10')]=new Map(),this[_0x101a('0x18')]=0x0,this[_0x101a('0x2b')]=this[_0x101a('0x11')][_0x101a('0x1e')][_0x101a('0x23')](_0x3e7a29);}[_0x101a('0x1b')](){const _0x56d1fc=this[_0x101a('0x11')][_0x101a('0x1e')][_0x101a('0x23')](_0x42986b);this['listenTo'](_0x56d1fc,_0x101a('0x1c'),(_0x3c430b,_0x211017,_0xca0362)=>{if(_0x101a('0x1')!==_0xca0362)this[_0x101a('0x4')]['forEach'](_0x3e3986=>_0x3e3986[_0x101a('0x2')]()),this[_0x101a('0x21')][_0x101a('0x26')](_0x1d9e39=>_0x1d9e39[_0x101a('0x2')]()),this['allConnectedUsers'][_0x101a('0x2')]();else for(const [_0x15d4a6,_0xa9343a]of this[_0x101a('0x10')])for(const _0x3959ab of _0xa9343a)this['_handleSessionAdd'](_0x15d4a6,_0x3959ab);}),this[_0x101a('0x17')](_0x56d1fc[_0x101a('0xa')]['me'],!0x0);}[_0x101a('0x15')](_0x552cbd,_0x5182ac){if(this[_0x101a('0x10')][_0x101a('0x19')](_0x552cbd))throw new _0x2d9812('sessions-register-already-registered',null,{'channelId':_0x552cbd});this[_0x101a('0x10')][_0x101a('0x1f')](_0x552cbd,_0x5182ac),this['channelSessions'][_0x101a('0x1f')](_0x552cbd,new _0x485660()),this[_0x101a('0x21')][_0x101a('0x1f')](_0x552cbd,new _0x485660()),this[_0x101a('0x24')](_0x5182ac,_0x101a('0x25'),(_0x577c89,_0x244f52)=>this[_0x101a('0x28')](_0x552cbd,_0x244f52)),this[_0x101a('0x24')](_0x5182ac,_0x101a('0x29'),(_0x40b8d5,_0xe753e6)=>this[_0x101a('0x5')](_0x552cbd,_0xe753e6));for(const _0x3205ee of _0x5182ac)this[_0x101a('0x28')](_0x552cbd,_0x3205ee);}[_0x101a('0x9')](_0x3a8d92){if(!this[_0x101a('0x10')]['has'](_0x3a8d92))throw new _0x2d9812(_0x101a('0x20'),null,{'channelId':_0x3a8d92});const _0x45da5e=this[_0x101a('0x10')][_0x101a('0x23')](_0x3a8d92);this[_0x101a('0xb')](_0x45da5e);for(const _0x162038 of _0x45da5e)_0x101a('0x1')===this[_0x101a('0x11')]['plugins']['get'](_0x42986b)[_0x101a('0xd')]&&this[_0x101a('0x5')](_0x3a8d92,_0x162038);this[_0x101a('0x10')][_0x101a('0x0')](_0x3a8d92),this[_0x101a('0x4')][_0x101a('0x0')](_0x3a8d92),this[_0x101a('0x21')]['delete'](_0x3a8d92);}get[_0x101a('0x13')](){return this[_0x101a('0x11')][_0x101a('0x1e')]['get'](_0x42986b)[_0x101a('0xa')][_0x101a('0x12')];}['getUserBySessionId'](_0x552538){for(const _0x259ccd of this[_0x101a('0x4')][_0x101a('0xc')]())for(const _0x520b87 of _0x259ccd)if(_0x520b87['id']===_0x552538)return _0x520b87[_0x101a('0x7')];}[_0x101a('0x14')](_0x18fcc6,_0x181a0b){const _0x101f33=_0x181a0b?[this[_0x101a('0x4')][_0x101a('0x23')](_0x181a0b)]:this[_0x101a('0x4')][_0x101a('0xc')](),_0x3e6987=new Set();for(const _0x3646a6 of _0x101f33)for(const _0x2d191e of _0x3646a6)_0x2d191e[_0x101a('0x7')]['id']===_0x18fcc6['id']&&_0x3e6987[_0x101a('0x25')](_0x2d191e['id']);return _0x3e6987;}[_0x101a('0x16')](_0x5ea762){for(const _0x2db9b6 of this[_0x101a('0x4')][_0x101a('0xc')]())for(const _0xf3ceb0 of _0x2db9b6)if(_0xf3ceb0[_0x101a('0x7')]===_0x5ea762)return _0xf3ceb0['role'];}[_0x101a('0x28')](_0x77287e,_0x387954){if(_0x101a('0x1')!==this[_0x101a('0x11')]['plugins']['get'](_0x42986b)[_0x101a('0xd')])return;const _0x53e9da=_0x387954[_0x101a('0x7')],_0x5839bf=this[_0x101a('0x2b')][_0x101a('0x8')](_0x53e9da['id'])||this['_createUser'](_0x53e9da),_0x546813=Object[_0x101a('0x27')]({},_0x387954,{'user':_0x5839bf});this[_0x101a('0x4')][_0x101a('0x23')](_0x77287e)['add'](_0x546813);const _0x10c52b=this[_0x101a('0x21')][_0x101a('0x23')](_0x77287e);_0x10c52b[_0x101a('0x19')](_0x5839bf['id'])||_0x10c52b[_0x101a('0x25')](_0x5839bf),this[_0x101a('0x22')]['has'](_0x5839bf['id'])||this[_0x101a('0x22')]['add'](_0x5839bf),this[_0x101a('0x3')](_0x101a('0x6')+_0x77287e,{'channelId':_0x77287e,'session':_0x546813});}[_0x101a('0x5')](_0x16e6a9,_0x163166){if(_0x101a('0x1')!==this[_0x101a('0x11')][_0x101a('0x1e')][_0x101a('0x23')](_0x42986b)[_0x101a('0xd')])return;const _0x3f2f73=this['channelConnectedUsers']['get'](_0x16e6a9),_0x11f521=_0x163166['user'];_0x11f521['id']&&(this['channelSessions']['get'](_0x16e6a9)[_0x101a('0x29')](_0x163166['id']),_0x3f2f73[_0x101a('0x19')](_0x11f521['id'])&&!this[_0x101a('0x14')](_0x11f521,_0x16e6a9)['size']&&_0x3f2f73[_0x101a('0x29')](_0x11f521['id']),this[_0x101a('0x22')][_0x101a('0x23')](_0x11f521['id'])&&!this[_0x101a('0x14')](_0x11f521)['size']&&this['allConnectedUsers']['remove'](_0x11f521['id']));}[_0x101a('0x17')](_0x1fe65c,_0x542118){const _0x1f222e=this[_0x101a('0x2b')][_0x101a('0xe')](_0x1fe65c);return _0x542118&&this[_0x101a('0x2b')][_0x101a('0x1d')](_0x1fe65c['id']),_0x1f222e[_0x101a('0x2a')]=this[_0x101a('0x18')]++,_0x1f222e;}}

@@ -23,2 +23,2 @@ /*

*/
const _0x27e6=['removeMarker','_createdBatches','end','isSimilar','enqueueChange','isCollapsed','getMarkerClass','requires','userPositionMarker','get','editing','getNearestSelectionRange','getSelectionClass','getContainedElement','newRange','startsWith','size','ck-user__marker\x20','contenteditable','UserMarkers','init','isInline','markers','oldRange','user:range:','hasContent','schema','for','setCustomProperty','markerName','editor','reconvertMarker','rootName','getRange','start','delete','toRange','getAttribute','getFirstRange','fromRange','mySessionId','root','user:position','createUIElement','change:range','parent','afterInit','getUserBySessionId','color','getCustomProperty','getStart','user:position:','innerHTML','isObject','updateMarker','highest','createRange','render','batch','has','hasDomSelection','createUserMarkerOperations','markerToHighlight','marker','set','change','split','plugins','ck-user__selection','type','detach','checkChild','span','conversion','view','pluginName','element','editingDowncast','user:range','markerRange','toDomElement','name','$graveyard','document','model','deletionPosition','commands','$text','markerToElement','nodeAfter'];(function(_0x25f6b9,_0x27e60b){const _0x1db718=function(_0x3e679d){while(--_0x3e679d){_0x25f6b9['push'](_0x25f6b9['shift']());}};_0x1db718(++_0x27e60b);}(_0x27e6,0x103));const _0x1db7=function(_0x25f6b9,_0x27e60b){_0x25f6b9=_0x25f6b9-0x0;let _0x1db718=_0x27e6[_0x25f6b9];return _0x1db718;};import{Plugin as _0x192133}from'ckeditor5/src/core';import _0x31dd32 from'./sessions';import{LiveRange as _0x124d89}from'ckeditor5/src/engine';import'../../theme/usermarkers.css';export default class j extends _0x192133{static get[_0x1db7('0x12')](){return[_0x31dd32];}static get[_0x1db7('0x56')](){return _0x1db7('0x1e');}[_0x1db7('0x1f')](){const _0x380d5f=this[_0x1db7('0x29')],_0x48766c=_0x380d5f[_0x1db7('0x4e')][_0x1db7('0x14')](_0x31dd32);_0x380d5f[_0x1db7('0x54')][_0x1db7('0x26')]('editingDowncast')[_0x1db7('0x9')]({'model':_0x1db7('0x35'),'view':(_0x3d9562,{writer:_0xde5fb2})=>function(_0x1b2156,_0x5bcb6,_0x44141b,_0xd1fcff){const _0x15daa2=_0x1b2156['markerName']['split'](':')[0x2],_0x43d819=_0x44141b[_0x1db7('0x3a')](_0x15daa2);if(!_0x43d819||_0x15daa2===_0x44141b[_0x1db7('0x33')])return;if(!_0xd1fcff[_0x1db7('0x5')][_0x1db7('0x25')][_0x1db7('0x52')](_0x1b2156[_0x1db7('0x0')]['start'],_0x1db7('0x8')))return;const _0x50a5de={'class':_0x1db7('0x1c')+_0x43d819[_0x1db7('0x3b')][_0x1db7('0x11')](),'data-name':_0x43d819[_0x1db7('0x2')],'data-session-id':_0x15daa2},_0x27d8cc=_0xd1fcff[_0x1db7('0x5')][_0x1db7('0x21')][_0x1db7('0x14')](_0x1b2156[_0x1db7('0x28')]),_0x32a2de=_0x27d8cc[_0x1db7('0x3d')](),_0x40da79=_0x32a2de[_0x1db7('0xa')],_0x5e9f22=_0xd1fcff[_0x1db7('0x5')]['schema'];if(_0x40da79&&_0x5e9f22[_0x1db7('0x40')](_0x40da79)&&_0x5e9f22[_0x1db7('0x20')](_0x40da79)&&!_0xd1fcff['model']['markers']['get'](_0x1db7('0x23')+_0x15daa2)['getRange']()[_0x1db7('0x10')])return;const _0x29ebe2=_0x32a2de[_0x1db7('0x38')];return _0xd1fcff['model'][_0x1db7('0x25')]['isLimit'](_0x29ebe2)&&!_0xd1fcff[_0x1db7('0x5')][_0x1db7('0x24')](_0x29ebe2)&&(_0x50a5de[_0x1db7('0x1d')]=!0x1),function(_0x3fd2eb,_0x4e0779){const _0x3e394e=_0x3fd2eb[_0x1db7('0x36')](_0x1db7('0x53'),_0x4e0779);return _0x3fd2eb[_0x1db7('0x27')](_0x1db7('0x13'),!0x0,_0x3e394e),_0x3e394e[_0x1db7('0x44')]=function(_0x11c4b3){const _0x183fd4=this[_0x1db7('0x1')](_0x11c4b3);return _0x183fd4[_0x1db7('0x3f')]='⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>⁠',_0x183fd4;},_0x3e394e[_0x1db7('0xe')]=function(_0x3f6906){return!(!this[_0x1db7('0x3c')](_0x1db7('0x13'))||!_0x3f6906[_0x1db7('0x3c')]('userPositionMarker')||this[_0x1db7('0x30')]('data-session-id')!=_0x3f6906[_0x1db7('0x30')]('data-session-id'));},_0x3e394e;}(_0x5bcb6,_0x50a5de);}(_0x3d9562,_0xde5fb2,_0x48766c,_0x380d5f)}),_0x380d5f[_0x1db7('0x54')]['for'](_0x1db7('0x58'))[_0x1db7('0x49')]({'model':_0x1db7('0x59'),'view':_0x5963e1=>function(_0x595731,_0x2b252d){const _0xda4a29=_0x595731['markerName'][_0x1db7('0x4d')](':')[0x2];if(_0xda4a29===_0x2b252d[_0x1db7('0x33')])return null;const _0x41c13f=_0x2b252d['getUserBySessionId'](_0xda4a29);if(!_0x41c13f)return{'id':_0xda4a29,'classes':[]};return{'id':_0xda4a29,'classes':[_0x1db7('0x4f'),_0x41c13f[_0x1db7('0x3b')][_0x1db7('0x17')]()],'attributes':{'data-session-id':_0xda4a29},'priority':0x7d0+_0x41c13f['orderNumber']};}(_0x5963e1,_0x48766c)}),function(_0x407600){const _0x16d69d=_0x407600['model'],_0x5b94fc=new Map(),_0x5f20b2=_0x407600[_0x1db7('0x4e')][_0x1db7('0x14')](_0x31dd32);_0x16d69d['markers']['on']('update:user:range',(_0x4ba78d,_0xc6e4e9,_0xce0784,_0x3a84eb)=>{if(!_0x3a84eb&&_0x5b94fc[_0x1db7('0x14')](_0xc6e4e9[_0x1db7('0x2')]))return _0x5b94fc['get'](_0xc6e4e9[_0x1db7('0x2')])[_0x1db7('0x51')](),void _0x5b94fc[_0x1db7('0x2e')](_0xc6e4e9[_0x1db7('0x2')]);const _0x53a013=_0xc6e4e9['name'][_0x1db7('0x4d')](':')[0x2];if(_0x53a013===_0x5f20b2[_0x1db7('0x33')])return;const _0x436d1b=_0x1db7('0x3e')+_0x53a013;_0x16d69d[_0x1db7('0x21')]['has'](_0x436d1b)&&_0x407600['editing'][_0x1db7('0x2a')](_0x436d1b),_0xc6e4e9['on'](_0x1db7('0x37'),(_0x587476,_0x5390c0,_0x1bff0e)=>{if(_0x1db7('0x3')!=_0x5390c0['root']['rootName']&&_0x1db7('0x3')==_0xc6e4e9[_0x1db7('0x2c')]()[_0x1db7('0x34')][_0x1db7('0x2b')]&&!_0x5b94fc[_0x1db7('0x46')](_0xc6e4e9[_0x1db7('0x2')])){const _0x7c36d5=_0x16d69d[_0x1db7('0x25')][_0x1db7('0x16')](_0x1bff0e['deletionPosition']);if(_0x7c36d5){const _0x469383=_0x124d89[_0x1db7('0x32')](_0x7c36d5);_0x5b94fc[_0x1db7('0x4b')](_0xc6e4e9[_0x1db7('0x2')],_0x469383),_0x469383['on'](_0x1db7('0x37'),(_0x33359b,_0x46f0c1,_0x427a30)=>{if(_0x1db7('0x3')==_0x469383[_0x1db7('0x34')]['rootName']){const _0x24d1da=_0x16d69d['schema'][_0x1db7('0x16')](_0x427a30[_0x1db7('0x6')]);_0x24d1da?(_0x469383[_0x1db7('0x2d')]=_0x24d1da['start'],_0x469383['end']=_0x24d1da[_0x1db7('0xd')]):(_0x5b94fc['delete'](_0xc6e4e9[_0x1db7('0x2')]),_0x469383[_0x1db7('0x51')]());}});}}});}),_0x16d69d[_0x1db7('0x4')]['on'](_0x1db7('0x4c'),()=>{_0x5b94fc[_0x1db7('0x1b')]>0x0&&_0x16d69d[_0x1db7('0xf')]({'isUndoable':!0x1},_0x3964da=>{for(const [_0x34e8a2,_0x835264]of _0x5b94fc)_0x1db7('0x3')==_0x16d69d['markers']['get'](_0x34e8a2)[_0x1db7('0x2c')]()[_0x1db7('0x34')][_0x1db7('0x2b')]&&(Y(_0x34e8a2[_0x1db7('0x4d')](':')[0x2],_0x835264[_0x1db7('0x2f')](),_0x16d69d,_0x3964da),_0x835264[_0x1db7('0x51')]());_0x5b94fc['clear']();});});}(_0x380d5f);}[_0x1db7('0x39')](){const _0x5722cf=this[_0x1db7('0x29')],_0x2beaff=_0x5722cf[_0x1db7('0x7')][_0x1db7('0x14')]('undo');_0x2beaff&&_0x5722cf[_0x1db7('0x5')]['on']('applyOperation',(_0x47990b,_0x406a8d)=>{const _0x5c52e4=_0x406a8d[0x0];if(_0x1db7('0x4a')!=_0x5c52e4[_0x1db7('0x50')]||!_0x5c52e4[_0x1db7('0x2')][_0x1db7('0x1a')]('user:'))return;const _0x22a000=_0x5c52e4[_0x1db7('0x45')];_0x2beaff[_0x1db7('0xc')][_0x1db7('0x46')](_0x22a000)&&(_0x5c52e4[_0x1db7('0x19')]=_0x5c52e4[_0x1db7('0x22')]?_0x5722cf[_0x1db7('0x5')][_0x1db7('0x43')](_0x5c52e4[_0x1db7('0x22')]['start'],_0x5c52e4[_0x1db7('0x22')][_0x1db7('0xd')]):null);},{'priority':_0x1db7('0x42')});}[_0x1db7('0x48')](){const _0x2131ac=this['editor'],_0x44d92e=_0x2131ac[_0x1db7('0x5')][_0x1db7('0x4')],_0x24adaf=_0x2131ac[_0x1db7('0x4e')][_0x1db7('0x14')](_0x31dd32);_0x2131ac[_0x1db7('0x5')]['enqueueChange']({'isUndoable':!0x1},_0x3e6e30=>{const _0x436129=_0x1db7('0x23')+_0x24adaf[_0x1db7('0x33')],_0x2f3d94=_0x1db7('0x3e')+_0x24adaf[_0x1db7('0x33')],_0x24c9df=_0x2131ac[_0x1db7('0x5')]['markers'][_0x1db7('0x46')](_0x436129);_0x2131ac[_0x1db7('0x15')][_0x1db7('0x55')][_0x1db7('0x47')]?Y(_0x24adaf[_0x1db7('0x33')],_0x44d92e['selection'][_0x1db7('0x31')](),_0x2131ac[_0x1db7('0x5')],_0x3e6e30):_0x24c9df&&(_0x3e6e30[_0x1db7('0xb')](_0x436129),_0x3e6e30['removeMarker'](_0x2f3d94));});}}function Y(_0x424f33,_0xeb90c2,_0x47cee4,_0x3d92f3){const _0x28f40a=_0x1db7('0x23')+_0x424f33,_0x5c028f=_0x1db7('0x3e')+_0x424f33,_0x4075df=_0xeb90c2[_0x1db7('0x18')]();let _0x50f3fe=_0xeb90c2['start'];_0x4075df&&_0x4075df['is'](_0x1db7('0x57'),'tableCell')&&(_0x50f3fe=function(_0xf00cfc,_0x1fa592){for(const _0x469f57 of _0xf00cfc['getPositions']())if(_0x1fa592[_0x1db7('0x25')][_0x1db7('0x52')](_0x469f57,_0x1db7('0x8')))return _0x469f57;}(_0xeb90c2,_0x47cee4),_0xeb90c2=_0x3d92f3[_0x1db7('0x43')](_0x50f3fe));const _0x317bef=_0x3d92f3[_0x1db7('0x43')](_0x50f3fe);_0x47cee4[_0x1db7('0x21')]['has'](_0x28f40a)?(_0x3d92f3['updateMarker'](_0x28f40a,{'range':_0xeb90c2}),_0x3d92f3[_0x1db7('0x41')](_0x5c028f,{'range':_0x317bef})):(_0x3d92f3['addMarker'](_0x28f40a,{'range':_0xeb90c2,'usingOperation':!0x0}),_0x3d92f3['addMarker'](_0x5c028f,{'range':_0x317bef,'usingOperation':!0x0}));}
const _0x480c=['orderNumber','has','document','user:','element','view','user:position','hasDomSelection','userPositionMarker','markerToElement','afterInit','_createdBatches','span','init','createUIElement','set','oldRange','data-session-id','markerName','color','getUserBySessionId','createUserMarkerOperations','getSelectionClass','highest','fromRange','getPositions','getCustomProperty','checkChild','createRange','change','editing','change:range','markers','mySessionId','detach','undo','get','editor','getNearestSelectionRange','getStart','removeMarker','requires','markerToHighlight','isCollapsed','getAttribute','markerRange','$text','editingDowncast','toDomElement','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>⁠','enqueueChange','tableCell','schema','innerHTML','clear','user:range','getContainedElement','getMarkerClass','start','user:range:','parent','marker','model','$graveyard','type','nodeAfter','update:user:range','conversion','for','UserMarkers','name','getRange','root','rootName','deletionPosition','batch','startsWith','user:position:','delete','size','updateMarker','end','render','getFirstRange','ck-user__selection','setCustomProperty','contenteditable'];(function(_0x292006,_0x480c4e){const _0x36ef11=function(_0x19132d){while(--_0x19132d){_0x292006['push'](_0x292006['shift']());}};_0x36ef11(++_0x480c4e);}(_0x480c,0x110));const _0x36ef=function(_0x292006,_0x480c4e){_0x292006=_0x292006-0x0;let _0x36ef11=_0x480c[_0x292006];return _0x36ef11;};import{Plugin as _0x32c34e}from'ckeditor5/src/core';import _0x51ac03 from'./sessions';import{LiveRange as _0x196597}from'ckeditor5/src/engine';import'../../theme/usermarkers.css';export default class P extends _0x32c34e{static get[_0x36ef('0x1e')](){return[_0x51ac03];}static get['pluginName'](){return _0x36ef('0x3a');}[_0x36ef('0x2')](){const _0x26a2f3=this['editor'],_0x367384=_0x26a2f3['plugins'][_0x36ef('0x19')](_0x51ac03);_0x26a2f3[_0x36ef('0x38')][_0x36ef('0x39')](_0x36ef('0x24'))[_0x36ef('0x55')]({'model':_0x36ef('0x52'),'view':(_0x36258e,{writer:_0x5310d1})=>function(_0x34f372,_0x46bb23,_0x4f55af,_0x50c234){const _0x40abf3=_0x34f372[_0x36ef('0x7')]['split'](':')[0x2],_0x2c379e=_0x4f55af['getUserBySessionId'](_0x40abf3);if(!_0x2c379e||_0x40abf3===_0x4f55af[_0x36ef('0x16')])return;if(!_0x50c234['model'][_0x36ef('0x29')][_0x36ef('0x10')](_0x34f372[_0x36ef('0x22')]['start'],_0x36ef('0x23')))return;const _0x485c45={'class':'ck-user__marker\x20'+_0x2c379e['color'][_0x36ef('0x2e')](),'data-name':_0x2c379e['name'],'data-session-id':_0x40abf3},_0x269f45=_0x50c234[_0x36ef('0x33')][_0x36ef('0x15')][_0x36ef('0x19')](_0x34f372[_0x36ef('0x7')]),_0x12de6b=_0x269f45[_0x36ef('0x1c')](),_0x340f16=_0x12de6b[_0x36ef('0x36')],_0x2456c3=_0x50c234[_0x36ef('0x33')][_0x36ef('0x29')];if(_0x340f16&&_0x2456c3['isObject'](_0x340f16)&&_0x2456c3['isInline'](_0x340f16)&&!_0x50c234['model'][_0x36ef('0x15')][_0x36ef('0x19')](_0x36ef('0x30')+_0x40abf3)['getRange']()[_0x36ef('0x20')])return;const _0x3eebb3=_0x12de6b[_0x36ef('0x31')];return _0x50c234[_0x36ef('0x33')][_0x36ef('0x29')]['isLimit'](_0x3eebb3)&&!_0x50c234[_0x36ef('0x33')]['hasContent'](_0x3eebb3)&&(_0x485c45[_0x36ef('0x4b')]=!0x1),function(_0x260503,_0x5b24b1){const _0x5a14b1=_0x260503[_0x36ef('0x3')](_0x36ef('0x1'),_0x5b24b1);return _0x260503[_0x36ef('0x4a')](_0x36ef('0x54'),!0x0,_0x5a14b1),_0x5a14b1[_0x36ef('0x47')]=function(_0x40b962){const _0xfaf7d8=this[_0x36ef('0x25')](_0x40b962);return _0xfaf7d8[_0x36ef('0x2a')]=_0x36ef('0x26'),_0xfaf7d8;},_0x5a14b1['isSimilar']=function(_0x100d64){return!(!this[_0x36ef('0xf')](_0x36ef('0x54'))||!_0x100d64[_0x36ef('0xf')](_0x36ef('0x54'))||this[_0x36ef('0x21')](_0x36ef('0x6'))!=_0x100d64[_0x36ef('0x21')](_0x36ef('0x6')));},_0x5a14b1;}(_0x46bb23,_0x485c45);}(_0x36258e,_0x5310d1,_0x367384,_0x26a2f3)}),_0x26a2f3[_0x36ef('0x38')]['for'](_0x36ef('0x24'))[_0x36ef('0x1f')]({'model':_0x36ef('0x2c'),'view':_0x55cbfe=>function(_0xfbf6b3,_0x28c3b5){const _0x1e34be=_0xfbf6b3[_0x36ef('0x7')]['split'](':')[0x2];if(_0x1e34be===_0x28c3b5[_0x36ef('0x16')])return null;const _0x12f756=_0x28c3b5[_0x36ef('0x9')](_0x1e34be);if(!_0x12f756)return{'id':_0x1e34be,'classes':[]};return{'id':_0x1e34be,'classes':[_0x36ef('0x49'),_0x12f756[_0x36ef('0x8')][_0x36ef('0xb')]()],'attributes':{'data-session-id':_0x1e34be},'priority':0x7d0+_0x12f756[_0x36ef('0x4c')]};}(_0x55cbfe,_0x367384)}),function(_0xf78b5d){const _0x8a95f3=_0xf78b5d[_0x36ef('0x33')],_0x59b7ec=new Map(),_0x5c484c=_0xf78b5d['plugins']['get'](_0x51ac03);_0x8a95f3[_0x36ef('0x15')]['on'](_0x36ef('0x37'),(_0x38d9be,_0x3a0e37,_0x2bd894,_0x5ea45e)=>{if(!_0x5ea45e&&_0x59b7ec[_0x36ef('0x19')](_0x3a0e37['name']))return _0x59b7ec['get'](_0x3a0e37['name'])['detach'](),void _0x59b7ec[_0x36ef('0x43')](_0x3a0e37[_0x36ef('0x3b')]);const _0x205eef=_0x3a0e37[_0x36ef('0x3b')]['split'](':')[0x2];if(_0x205eef===_0x5c484c[_0x36ef('0x16')])return;const _0x1f10d8=_0x36ef('0x42')+_0x205eef;_0x8a95f3['markers'][_0x36ef('0x4d')](_0x1f10d8)&&_0xf78b5d[_0x36ef('0x13')]['reconvertMarker'](_0x1f10d8),_0x3a0e37['on']('change:range',(_0x519ec8,_0x57fb67,_0xd6c1a5)=>{if(_0x36ef('0x34')!=_0x57fb67[_0x36ef('0x3d')][_0x36ef('0x3e')]&&_0x36ef('0x34')==_0x3a0e37[_0x36ef('0x3c')]()[_0x36ef('0x3d')][_0x36ef('0x3e')]&&!_0x59b7ec['has'](_0x3a0e37['name'])){const _0xe80eb=_0x8a95f3[_0x36ef('0x29')][_0x36ef('0x1b')](_0xd6c1a5['deletionPosition']);if(_0xe80eb){const _0xb78568=_0x196597[_0x36ef('0xd')](_0xe80eb);_0x59b7ec[_0x36ef('0x4')](_0x3a0e37[_0x36ef('0x3b')],_0xb78568),_0xb78568['on'](_0x36ef('0x14'),(_0x48267d,_0x11535a,_0x2015a5)=>{if(_0x36ef('0x34')==_0xb78568[_0x36ef('0x3d')][_0x36ef('0x3e')]){const _0x3fc960=_0x8a95f3['schema'][_0x36ef('0x1b')](_0x2015a5[_0x36ef('0x3f')]);_0x3fc960?(_0xb78568[_0x36ef('0x2f')]=_0x3fc960[_0x36ef('0x2f')],_0xb78568[_0x36ef('0x46')]=_0x3fc960['end']):(_0x59b7ec[_0x36ef('0x43')](_0x3a0e37[_0x36ef('0x3b')]),_0xb78568[_0x36ef('0x17')]());}});}}});}),_0x8a95f3[_0x36ef('0x4e')]['on'](_0x36ef('0x12'),()=>{_0x59b7ec[_0x36ef('0x44')]>0x0&&_0x8a95f3[_0x36ef('0x27')]({'isUndoable':!0x1},_0x5b1c1c=>{for(const [_0x409924,_0x58e10b]of _0x59b7ec)_0x36ef('0x34')==_0x8a95f3['markers'][_0x36ef('0x19')](_0x409924)[_0x36ef('0x3c')]()[_0x36ef('0x3d')][_0x36ef('0x3e')]&&(L(_0x409924['split'](':')[0x2],_0x58e10b['toRange'](),_0x8a95f3,_0x5b1c1c),_0x58e10b[_0x36ef('0x17')]());_0x59b7ec[_0x36ef('0x2b')]();});});}(_0x26a2f3);}[_0x36ef('0x56')](){const _0x1d480b=this[_0x36ef('0x1a')],_0x2a4d5c=_0x1d480b['commands'][_0x36ef('0x19')](_0x36ef('0x18'));_0x2a4d5c&&_0x1d480b[_0x36ef('0x33')]['on']('applyOperation',(_0x10d792,_0x597d95)=>{const _0x387710=_0x597d95[0x0];if(_0x36ef('0x32')!=_0x387710[_0x36ef('0x35')]||!_0x387710['name'][_0x36ef('0x41')](_0x36ef('0x4f')))return;const _0x19fb16=_0x387710[_0x36ef('0x40')];_0x2a4d5c[_0x36ef('0x0')][_0x36ef('0x4d')](_0x19fb16)&&(_0x387710['newRange']=_0x387710[_0x36ef('0x5')]?_0x1d480b[_0x36ef('0x33')][_0x36ef('0x11')](_0x387710['oldRange'][_0x36ef('0x2f')],_0x387710[_0x36ef('0x5')][_0x36ef('0x46')]):null);},{'priority':_0x36ef('0xc')});}[_0x36ef('0xa')](){const _0x4b9e6f=this['editor'],_0xfe93cf=_0x4b9e6f[_0x36ef('0x33')][_0x36ef('0x4e')],_0x525b3f=_0x4b9e6f['plugins'][_0x36ef('0x19')](_0x51ac03);_0x4b9e6f[_0x36ef('0x33')][_0x36ef('0x27')]({'isUndoable':!0x1},_0x4c0615=>{const _0xbafaa4=_0x36ef('0x30')+_0x525b3f[_0x36ef('0x16')],_0x3bfd72='user:position:'+_0x525b3f['mySessionId'],_0x172eec=_0x4b9e6f[_0x36ef('0x33')][_0x36ef('0x15')]['has'](_0xbafaa4);_0x4b9e6f[_0x36ef('0x13')][_0x36ef('0x51')][_0x36ef('0x53')]?L(_0x525b3f[_0x36ef('0x16')],_0xfe93cf['selection'][_0x36ef('0x48')](),_0x4b9e6f['model'],_0x4c0615):_0x172eec&&(_0x4c0615[_0x36ef('0x1d')](_0xbafaa4),_0x4c0615[_0x36ef('0x1d')](_0x3bfd72));});}}function L(_0x30db49,_0x26af27,_0x4a2754,_0xbefec7){const _0x1f3b22=_0x36ef('0x30')+_0x30db49,_0x19f088=_0x36ef('0x42')+_0x30db49,_0x24b03d=_0x26af27[_0x36ef('0x2d')]();let _0x59e906=_0x26af27[_0x36ef('0x2f')];_0x24b03d&&_0x24b03d['is'](_0x36ef('0x50'),_0x36ef('0x28'))&&(_0x59e906=function(_0x42dcdb,_0x5f2adc){for(const _0x24ac5c of _0x42dcdb[_0x36ef('0xe')]())if(_0x5f2adc['schema'][_0x36ef('0x10')](_0x24ac5c,_0x36ef('0x23')))return _0x24ac5c;}(_0x26af27,_0x4a2754),_0x26af27=_0xbefec7[_0x36ef('0x11')](_0x59e906));const _0xaa9415=_0xbefec7[_0x36ef('0x11')](_0x59e906);_0x4a2754[_0x36ef('0x15')]['has'](_0x1f3b22)?(_0xbefec7[_0x36ef('0x45')](_0x1f3b22,{'range':_0x26af27}),_0xbefec7[_0x36ef('0x45')](_0x19f088,{'range':_0xaa9415})):(_0xbefec7['addMarker'](_0x1f3b22,{'range':_0x26af27,'usingOperation':!0x0}),_0xbefec7['addMarker'](_0x19f088,{'range':_0xaa9415,'usingOperation':!0x0}));}

@@ -23,2 +23,2 @@ /*

*/
const _0x1278=['offline','isInReconnectionStack','connected','has','_reconnectionStack','constructor','limitExceeded','_isBrowserOffline','showWarning','code','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.','_domEmitter','then','get','Connected\x20users\x20limit\x20exceeded','websocketgateway-invalid-plugin-interface','_shouldPluginsReconnect','removeFromReconnectionStack','websocketgateway-missing-token','config','disconnect','state','reconnect','delete','_reconnect','pluginName','catch','set','CloudServices','websocketgateway-missing-websocket-url','function','WebSocketGateway','CONNECTING','webSocketUrl','connect','plugins','DISCONNECTED','real-time-collaboration','add','error','define','addToReconnectionStack','destroy','from','cloudServices.requestTimeout','context','cloudServices.connectionTimeout','cloudservices-init','CONNECTED','token','init','requires','create','connection','change:me','websocketgateway-plugin-already-registered','all','listenTo'];(function(_0x318060,_0x127807){const _0x45fd64=function(_0x35de3f){while(--_0x35de3f){_0x318060['push'](_0x318060['shift']());}};_0x45fd64(++_0x127807);}(_0x1278,0x134));const _0x45fd=function(_0x318060,_0x127807){_0x318060=_0x318060-0x0;let _0x45fd64=_0x1278[_0x318060];return _0x45fd64;};import{ContextPlugin as _0x5af502}from'ckeditor5/src/core';import{DomEmitterMixin as _0x52b999,CKEditorError as _0x1181f4}from'ckeditor5/src/utils';import _0x207c64,{WEB_SOCKET_GATEWAY_STATES as _0x3b45ad}from'@ckeditor/ckeditor-cloud-services-collaboration/src/websocketgateway/websocketgateway';import{Notification as _0x232390}from'ckeditor5/src/ui';export default class c extends _0x5af502{static get[_0x45fd('0x21')](){return[_0x45fd('0xa'),_0x232390];}static get[_0x45fd('0x7')](){return _0x45fd('0xd');}constructor(_0x29b06d){super(_0x29b06d),this[_0x45fd('0x9')]('state',_0x3b45ad[_0x45fd('0x1e')]),this['set'](_0x45fd('0x2f'),!0x1),this[_0x45fd('0x2c')]=new Set(),this['_shouldPluginsReconnect']=!0x1,this[_0x45fd('0x33')]=Object[_0x45fd('0x22')](_0x52b999);}[_0x45fd('0x20')](){const _0x5920b2=this[_0x45fd('0x1b')],_0x34a9c7=_0x5920b2[_0x45fd('0x11')][_0x45fd('0x35')](_0x45fd('0xa')),_0x3e52bd=_0x5920b2[_0x45fd('0x11')]['get'](_0x232390);if(!_0x34a9c7[_0x45fd('0x1f')])throw new _0x1181f4(_0x45fd('0x0'),this);if(!_0x34a9c7[_0x45fd('0xf')])throw new _0x1181f4(_0x45fd('0xb'),this);return this['_domEmitter'][_0x45fd('0x27')](window,_0x45fd('0x28'),()=>this['_isBrowserOffline']=!0x0),this[_0x45fd('0x33')][_0x45fd('0x27')](window,'online',()=>this[_0x45fd('0x2f')]=!0x1),this[_0x45fd('0x1b')][_0x45fd('0x1')][_0x45fd('0x16')](_0x45fd('0x1c'),0xa),this['context'][_0x45fd('0x1')][_0x45fd('0x16')](_0x45fd('0x1a'),0x14),c[_0x45fd('0xd')][_0x45fd('0x10')](_0x34a9c7[_0x45fd('0x1f')],_0x34a9c7['webSocketUrl'],{'timeout':0x3e8*this[_0x45fd('0x1b')]['config'][_0x45fd('0x35')]('cloudServices.connectionTimeout'),'requestTimeout':0x3e8*this['context'][_0x45fd('0x1')][_0x45fd('0x35')]('cloudServices.requestTimeout')})['then'](_0x839751=>{if(this[_0x45fd('0x23')]=_0x839751,this['bind'](_0x45fd('0x3'))['to'](_0x839751,_0x45fd('0x3'),this,_0x45fd('0x2f'),(_0x32f6c6,_0x2155b3)=>(_0x45fd('0x2a')!==_0x32f6c6&&(this[_0x45fd('0x38')]=!0x0),_0x2155b3||_0x32f6c6!==_0x3b45ad[_0x45fd('0x1e')]?_0x3b45ad['DISCONNECTED']:this[_0x45fd('0x3')]==_0x3b45ad[_0x45fd('0x12')]&&this[_0x45fd('0x38')]?(this[_0x45fd('0x38')]=!0x1,this['_reconnect'](),_0x3b45ad[_0x45fd('0xe')]):_0x3b45ad[_0x45fd('0x1e')])),this['connection']['on'](_0x45fd('0x15'),(_0x2003cc,_0x245c6f)=>{if(_0x45fd('0x2e')!==_0x245c6f[_0x45fd('0x31')])throw console[_0x45fd('0x15')](_0x245c6f),new _0x1181f4(_0x45fd('0x1d'),null,{'originalError':_0x245c6f});_0x3e52bd[_0x45fd('0x30')](_0x45fd('0x32'),{'title':_0x45fd('0x36'),'namespace':_0x45fd('0x13')});}),!_0x839751['me'])return new Promise(_0x111738=>_0x839751['on'](_0x45fd('0x24'),_0x111738));})['catch'](_0x9a9301=>{throw console[_0x45fd('0x15')](_0x9a9301),new _0x1181f4('cloudservices-init',null,{'originalError':_0x9a9301});});}[_0x45fd('0x17')](_0x4ef062){if(_0x45fd('0xc')!=typeof _0x4ef062[_0x45fd('0x4')])throw new _0x1181f4(_0x45fd('0x37'),this);if(this[_0x45fd('0x29')](_0x4ef062))throw new _0x1181f4(_0x45fd('0x25'),this,{'name':_0x4ef062[_0x45fd('0x2d')][_0x45fd('0x7')]});this['_reconnectionStack'][_0x45fd('0x14')](_0x4ef062);}[_0x45fd('0x39')](_0x114de1){this[_0x45fd('0x2c')][_0x45fd('0x5')](_0x114de1);}['isInReconnectionStack'](_0x44f1c3){return this[_0x45fd('0x2c')][_0x45fd('0x2b')](_0x44f1c3);}[_0x45fd('0x6')](){return this[_0x45fd('0x23')]['reconnect']()[_0x45fd('0x34')](()=>Promise[_0x45fd('0x26')](Array[_0x45fd('0x19')](this['_reconnectionStack'],_0x4da2bd=>_0x4da2bd[_0x45fd('0x4')]())))[_0x45fd('0x34')](()=>this[_0x45fd('0x3')]=_0x3b45ad[_0x45fd('0x1e')])[_0x45fd('0x8')](_0x27b3f0=>{throw console[_0x45fd('0x15')](_0x27b3f0),new _0x1181f4('cloudservices-reconnection-error',this['context']);});}[_0x45fd('0x18')](){this['connection']&&this[_0x45fd('0x23')][_0x45fd('0x2')](),this[_0x45fd('0x3')]=_0x3b45ad[_0x45fd('0x12')],this[_0x45fd('0x33')]['stopListening'](),super[_0x45fd('0x18')]();}}c[_0x45fd('0xd')]=_0x207c64,c['initialReconnectionInterval']=0x3e8;
const _0x46f5=['token','websocketgateway-plugin-already-registered','destroy','get','initialReconnectionInterval','connection','CONNECTING','_isBrowserOffline','cloudservices-init','_reconnectionStack','catch','CloudServices','delete','context','from','change:me','define','removeFromReconnectionStack','code','plugins','_reconnect','reconnect','disconnect','config','requires','set','cloudservices-reconnection-error','_shouldPluginsReconnect','showWarning','pluginName','bind','CONNECTED','websocketgateway-missing-websocket-url','WebSocketGateway','then','webSocketUrl','cloudServices.connectionTimeout','_domEmitter','init','state','connected','error','cloudServices.requestTimeout','DISCONNECTED','offline','limitExceeded','add'];(function(_0x456b50,_0x46f5c7){const _0x1ebfbd=function(_0x53bcbd){while(--_0x53bcbd){_0x456b50['push'](_0x456b50['shift']());}};_0x1ebfbd(++_0x46f5c7);}(_0x46f5,0x187));const _0x1ebf=function(_0x456b50,_0x46f5c7){_0x456b50=_0x456b50-0x0;let _0x1ebfbd=_0x46f5[_0x456b50];return _0x1ebfbd;};import{ContextPlugin as _0x4557f7}from'ckeditor5/src/core';import{DomEmitterMixin as _0x325e5a,CKEditorError as _0xd6502c}from'ckeditor5/src/utils';import _0x5debb7,{WEB_SOCKET_GATEWAY_STATES as _0xa0d52}from'@ckeditor/ckeditor-cloud-services-collaboration/src/websocketgateway/websocketgateway';import{Notification as _0x1490aa}from'ckeditor5/src/ui';export default class c extends _0x4557f7{static get[_0x1ebf('0x9')](){return[_0x1ebf('0x2b'),_0x1490aa];}static get[_0x1ebf('0xe')](){return _0x1ebf('0x12');}constructor(_0x5300c0){super(_0x5300c0),this[_0x1ebf('0xa')]('state',_0xa0d52[_0x1ebf('0x10')]),this[_0x1ebf('0xa')](_0x1ebf('0x27'),!0x1),this[_0x1ebf('0x29')]=new Set(),this[_0x1ebf('0xc')]=!0x1,this[_0x1ebf('0x16')]=Object['create'](_0x325e5a);}[_0x1ebf('0x17')](){const _0x4443b4=this[_0x1ebf('0x2d')],_0x2205ea=_0x4443b4[_0x1ebf('0x4')]['get'](_0x1ebf('0x2b')),_0x12463f=_0x4443b4[_0x1ebf('0x4')][_0x1ebf('0x23')](_0x1490aa);if(!_0x2205ea[_0x1ebf('0x20')])throw new _0xd6502c('websocketgateway-missing-token',this);if(!_0x2205ea[_0x1ebf('0x14')])throw new _0xd6502c(_0x1ebf('0x11'),this);return this[_0x1ebf('0x16')]['listenTo'](window,_0x1ebf('0x1d'),()=>this[_0x1ebf('0x27')]=!0x0),this['_domEmitter']['listenTo'](window,'online',()=>this[_0x1ebf('0x27')]=!0x1),this[_0x1ebf('0x2d')][_0x1ebf('0x8')][_0x1ebf('0x1')](_0x1ebf('0x15'),0xa),this[_0x1ebf('0x2d')]['config'][_0x1ebf('0x1')](_0x1ebf('0x1b'),0x14),c['WebSocketGateway']['connect'](_0x2205ea[_0x1ebf('0x20')],_0x2205ea[_0x1ebf('0x14')],{'timeout':0x3e8*this[_0x1ebf('0x2d')][_0x1ebf('0x8')]['get'](_0x1ebf('0x15')),'requestTimeout':0x3e8*this[_0x1ebf('0x2d')][_0x1ebf('0x8')][_0x1ebf('0x23')](_0x1ebf('0x1b'))})[_0x1ebf('0x13')](_0x4339d5=>{if(this[_0x1ebf('0x25')]=_0x4339d5,this[_0x1ebf('0xf')](_0x1ebf('0x18'))['to'](_0x4339d5,_0x1ebf('0x18'),this,_0x1ebf('0x27'),(_0x7c562b,_0x431c82)=>(_0x1ebf('0x19')!==_0x7c562b&&(this[_0x1ebf('0xc')]=!0x0),_0x431c82||_0x7c562b!==_0xa0d52[_0x1ebf('0x10')]?_0xa0d52[_0x1ebf('0x1c')]:this[_0x1ebf('0x18')]==_0xa0d52['DISCONNECTED']&&this[_0x1ebf('0xc')]?(this[_0x1ebf('0xc')]=!0x1,this[_0x1ebf('0x5')](),_0xa0d52[_0x1ebf('0x26')]):_0xa0d52[_0x1ebf('0x10')])),this[_0x1ebf('0x25')]['on'](_0x1ebf('0x1a'),(_0x5902ce,_0x2c3359)=>{if(_0x1ebf('0x1e')!==_0x2c3359[_0x1ebf('0x3')])throw console[_0x1ebf('0x1a')](_0x2c3359),new _0xd6502c(_0x1ebf('0x28'),null,{'originalError':_0x2c3359});_0x12463f[_0x1ebf('0xd')]('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.',{'title':'Connected\x20users\x20limit\x20exceeded','namespace':'real-time-collaboration'});}),!_0x4339d5['me'])return new Promise(_0x35399a=>_0x4339d5['on'](_0x1ebf('0x0'),_0x35399a));})[_0x1ebf('0x2a')](_0x5d0695=>{throw console[_0x1ebf('0x1a')](_0x5d0695),new _0xd6502c(_0x1ebf('0x28'),null,{'originalError':_0x5d0695});});}['addToReconnectionStack'](_0x265fe2){if('function'!=typeof _0x265fe2[_0x1ebf('0x6')])throw new _0xd6502c('websocketgateway-invalid-plugin-interface',this);if(this['isInReconnectionStack'](_0x265fe2))throw new _0xd6502c(_0x1ebf('0x21'),this,{'name':_0x265fe2['constructor']['pluginName']});this[_0x1ebf('0x29')][_0x1ebf('0x1f')](_0x265fe2);}[_0x1ebf('0x2')](_0x36ed6d){this['_reconnectionStack'][_0x1ebf('0x2c')](_0x36ed6d);}['isInReconnectionStack'](_0x29325c){return this['_reconnectionStack']['has'](_0x29325c);}[_0x1ebf('0x5')](){return this[_0x1ebf('0x25')][_0x1ebf('0x6')]()[_0x1ebf('0x13')](()=>Promise['all'](Array[_0x1ebf('0x2e')](this[_0x1ebf('0x29')],_0x1f528c=>_0x1f528c[_0x1ebf('0x6')]())))[_0x1ebf('0x13')](()=>this['state']=_0xa0d52[_0x1ebf('0x10')])['catch'](_0x3418de=>{throw console[_0x1ebf('0x1a')](_0x3418de),new _0xd6502c(_0x1ebf('0xb'),this[_0x1ebf('0x2d')]);});}[_0x1ebf('0x22')](){this['connection']&&this[_0x1ebf('0x25')][_0x1ebf('0x7')](),this[_0x1ebf('0x18')]=_0xa0d52[_0x1ebf('0x1c')],this[_0x1ebf('0x16')]['stopListening'](),super[_0x1ebf('0x22')]();}}c[_0x1ebf('0x12')]=_0x5debb7,c[_0x1ebf('0x24')]=0x3e8;

@@ -23,2 +23,2 @@ /*

*/
var _0xb87a=['pluginName','requires','RevisionHistory'];(function(_0x3a6e22,_0xb87aea){var _0x253207=function(_0x4eaccf){while(--_0x4eaccf){_0x3a6e22['push'](_0x3a6e22['shift']());}};_0x253207(++_0xb87aea);}(_0xb87a,0x159));var _0x2532=function(_0x3a6e22,_0xb87aea){_0x3a6e22=_0x3a6e22-0x0;var _0x253207=_0xb87a[_0x3a6e22];return _0x253207;};import{Plugin as _0x30036c}from'ckeditor5/src/core';import _0x1d8bf6 from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter';import _0x16548c from'./realtimecollaborativeediting';export default class d extends _0x30036c{static get[_0x2532('0x1')](){return[_0x2532('0x2'),_0x1d8bf6,_0x16548c];}static get[_0x2532('0x0')](){return'RealTimeCollaborativeRevisionHistory';}}
var _0x3e00=['pluginName','RevisionHistory'];(function(_0x5ce5f3,_0x3e0047){var _0x4e3d9f=function(_0x2b8ead){while(--_0x2b8ead){_0x5ce5f3['push'](_0x5ce5f3['shift']());}};_0x4e3d9f(++_0x3e0047);}(_0x3e00,0x1ea));var _0x4e3d=function(_0x5ce5f3,_0x3e0047){_0x5ce5f3=_0x5ce5f3-0x0;var _0x4e3d9f=_0x3e00[_0x5ce5f3];return _0x4e3d9f;};import{Plugin as _0x22c3b9}from'ckeditor5/src/core';import _0x1c0a73 from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter';import _0x193959 from'./realtimecollaborativeediting';export default class d extends _0x22c3b9{static get['requires'](){return[_0x4e3d('0x1'),_0x1c0a73,_0x193959];}static get[_0x4e3d('0x0')](){return'RealTimeCollaborativeRevisionHistory';}}

@@ -23,2 +23,2 @@ /*

*/
const _0x3aa4=['_waitForServiceReady','_oldOffset','addRevisionData','reverse','catch','currentRevision','editor','fromVersion','once','isBundleUploaded','bind','_createCurrentRevision','setRevisionData','_revisionDataBuilder','isEnabled','RevisionHistoryService','sessionId','off','_isPendingUpdate','collaboration.channelId','init','remove','get','reconnect','_preventResendingRevisionData','RevisionTracker','createdAt','connection','_bufferedUpdates','serverHistory','length','cloud-services-internal-error:\x20Request\x20timeout.','plugins','repository','change:_isPendingUpdate','_handleReconnectionError','destroy','revisionsUpdated','addToReconnectionStack','_handleRevisionsUpdate','_isConnected','code','400','type','keys','authorsIds','baseVersion','has','setSource','wrongRequestId','listenTo','updateRevisions','connected','creatorId','_offset','toVersion','adapter','getUser','data','_fetchMissingUsers','from','reInit','addUser','CONNECTED','_getLatestVersionFromServerOperations','_update','getOperations','startsWith','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','then','_fixRevision','max','message','affectsData','_bufferUpdate','getRevisions','map','add','requires','_revisionTracker','_startingVersion','diffData','_lastRequestId','_revisionHistoryService','change:_isConnected','getRevision','config','_getLatestVersion','isConnected','sendBufferedUpdates'];(function(_0x4f68ad,_0x3aa4fe){const _0x249146=function(_0x3f2cf4){while(--_0x3f2cf4){_0x4f68ad['push'](_0x4f68ad['shift']());}};_0x249146(++_0x3aa4fe);}(_0x3aa4,0x1b1));const _0x2491=function(_0x4f68ad,_0x3aa4fe){_0x4f68ad=_0x4f68ad-0x0;let _0x249146=_0x3aa4[_0x4f68ad];return _0x249146;};import{Plugin as _0x56dc4f}from'ckeditor5/src/core';import{version as _0x1af3fa}from'ckeditor5/src/utils';import{Users as _0x3d876d}from'ckeditor5-collaboration/src/collaboration-core';import _0x421c26 from'../realtimecollaborativeediting/realtimecollaborationclient';import _0x3d6823 from'../realtimecollaborativeediting/websocketgateway';import _0x5760da from'../realtimecollaborativeediting/sessions';import _0x109cb3 from'@ckeditor/ckeditor-cloud-services-collaboration/src/users/user';import _0x13f35d from'@ckeditor/ckeditor-cloud-services-collaboration/src/revision-history/revisionhistoryservice';import _0xf03948 from'@ckeditor/ckeditor-cloud-services-collaboration/src/editor/editorservice';import{WEB_SOCKET_GATEWAY_STATES as _0x364f53}from'@ckeditor/ckeditor-cloud-services-collaboration/src/websocketgateway/websocketgateway';export default class v extends _0x56dc4f{static get[_0x2491('0x5')](){return[_0x3d6823,_0x421c26,_0x2491('0x2a'),_0x5760da,_0x3d876d];}constructor(_0x1c1ef0){super(_0x1c1ef0);const _0xc4be87=this[_0x2491('0x17')][_0x2491('0xd')]['get'](_0x2491('0x24'));this['_lastRequestId']=null,this['_revisionTracker']=this[_0x2491('0x17')][_0x2491('0x31')][_0x2491('0x27')](_0x2491('0x2a')),this[_0x2491('0xa')]=new v[(_0x2491('0x20'))](_0xc4be87);}async[_0x2491('0x25')](){const _0x59fea7=this[_0x2491('0x17')]['plugins'][_0x2491('0x27')](_0x421c26),_0x2fe4dd=_0x59fea7['serverHistory'],_0xd9e3b4=this[_0x2491('0x17')]['plugins'][_0x2491('0x27')](_0x3d6823);this[_0x2491('0x6')][_0x2491('0x41')]({'history':_0x2fe4dd,'getLatestVersion':()=>this[_0x2491('0xe')](),'getCurrentRevisionId':()=>_0x59fea7[_0x2491('0x21')]});const _0x21039e=this[_0x2491('0x17')][_0x2491('0xd')][_0x2491('0x27')]('cloudServices.bundleVersion')||_0x1af3fa,_0x1549a1=await _0xf03948[_0x2491('0x1a')](_0xd9e3b4[_0x2491('0x2c')],_0x21039e);this[_0x2491('0x6')][_0x2491('0x49')]={'getRevision':async({revisionId:_0x3356b3})=>(await this[_0x2491('0x11')](),await this[_0x2491('0xa')][_0x2491('0xc')](_0x3356b3)),'updateRevisions':async _0x3d46d0=>{await this['_waitForServiceReady']();const _0x53b573=this[_0x2491('0x6')][_0x2491('0x16')];if(_0x1549a1&&0x1===_0x3d46d0[_0x2491('0x2f')]&&_0x3d46d0[0x0]['id']===_0x53b573['id'])return _0x3d46d0;for(const _0x2cf1e4 of _0x3d46d0)_0x2cf1e4['id']===_0x53b573['id']&&(_0x2cf1e4['isEmptyCurrent']=_0x2cf1e4[_0x2491('0x18')]===_0x2cf1e4['toVersion']);return this[_0x2491('0xa')][_0x2491('0x44')](_0x3d46d0,this[_0x2491('0x9')])[_0x2491('0x56')](_0x2037c9=>(this[_0x2491('0x9')]=_0x2037c9,_0x3d46d0))['catch'](_0x1e8e81=>{if(st(_0x1e8e81)||_0x2491('0x3b')===_0x1e8e81[_0x2491('0x3a')]&&void 0x0!==_0x1e8e81[_0x2491('0x4b')][_0x2491('0x42')]){for(const _0x45f928 of _0x3d46d0){!this['_revisionTracker'][_0x2491('0x32')][_0x2491('0xc')](_0x45f928['id'])||this[_0x2491('0x6')][_0x2491('0x1')](_0x45f928['id'],_0x45f928,!0x1);}if(st(_0x1e8e81))throw _0x1e8e81;return _0x3d46d0;}throw _0x1e8e81;});}},this[_0x2491('0x43')](this[_0x2491('0xa')],_0x2491('0x36'),(_0xa32652,{revisionsData:_0x5ceb9a,requestId:_0xb6779f})=>{Math[_0x2491('0x58')](..._0x5ceb9a['map'](_0xcf69b3=>_0xcf69b3[_0x2491('0x48')]))>this['_getLatestVersionFromServerOperations']()-0x1?this['_getLatestVersion']()[_0x2491('0x56')](()=>{this['_handleRevisionsUpdate'](_0x5ceb9a,_0xb6779f);}):this['_handleRevisionsUpdate'](_0x5ceb9a,_0xb6779f);});const {revisions:_0x11625f,requestId:_0x3d8c3e}=await this['_revisionHistoryService']['connect'](_0xd9e3b4['connection']);_0xd9e3b4[_0x2491('0x37')](this),this[_0x2491('0x9')]=_0x3d8c3e,await this['_fetchMissingUsers'](_0x11625f);for(const _0x58164d of _0x11625f)this[_0x2491('0x6')]['addRevisionData'](_0x58164d);this[_0x2491('0x43')](_0x59fea7,_0x2491('0xb'),(_0x3b24bf,_0x13e0d3,_0x1e0441)=>{_0x1e0441&&(this[_0x2491('0x12')]=_0x59fea7[_0x2491('0x47')],_0x3b24bf[_0x2491('0x22')]());}),this[_0x2491('0x6')][_0x2491('0x1b')](_0x2491('0x1f'))['to'](_0xd9e3b4,'state',_0x502802=>_0x502802===_0x364f53[_0x2491('0x50')]);}async[_0x2491('0x28')](){const _0x524c6f=this[_0x2491('0x17')]['plugins'][_0x2491('0x27')](_0x3d6823),_0x491f49=this['editor']['plugins']['get'](_0x421c26),_0x620159=async()=>{const _0x2b8891=this[_0x2491('0x6')][_0x2491('0x16')],_0x1d91c7=_0x2b8891['id'],_0x30c45b=_0x1d91c7!==_0x491f49[_0x2491('0x21')];if(_0x30c45b){const _0x32a002=_0x491f49[_0x2491('0x47')]-this[_0x2491('0x12')],_0x4326fe=this['_getLatestVersionFromServerOperations']();this[_0x2491('0x6')][_0x2491('0x1e')][_0x2491('0x4e')]();if(_0x2b8891[_0x2491('0x48')]+_0x32a002!==_0x4326fe){const _0x8a2411=_0x2b8891['fromVersion']+_0x32a002,_0x1c96cf=this[_0x2491('0x17')][_0x2491('0x31')][_0x2491('0x27')](_0x3d876d),_0x48a230=this[_0x2491('0x6')]['buildRevisionData']({'revision':_0x2b8891,'from':_0x8a2411,'to':_0x4326fe});_0x48a230['id']=_0x2b8891['id'];const _0x48b200=_0x48a230[_0x2491('0x3e')][_0x2491('0x3')](_0x3d7dd4=>_0x1c96cf[_0x2491('0x4a')](_0x3d7dd4));_0x2b8891[_0x2491('0x52')]({..._0x48a230,'authors':_0x48b200},!0x0),this[_0x2491('0x6')][_0x2491('0x1')](_0x2b8891['id'],_0x48a230,!0x0);}this[_0x2491('0x6')][_0x2491('0x7')]=_0x4326fe,(_0x2b8891[_0x2491('0x48')]===_0x2b8891[_0x2491('0x18')]&&!this[_0x2491('0x6')][_0x2491('0x2d')][_0x2491('0x40')](_0x1d91c7)&&this['_revisionTracker'][_0x2491('0x32')]['_revisions'][_0x2491('0x26')](_0x1d91c7),this[_0x2491('0x6')][_0x2491('0x1c')](_0x4326fe));}const {revisions:_0x3ded00,requestId:_0x1228f9}=await this[_0x2491('0xa')]['reconnect'](_0x524c6f['connection'],this[_0x2491('0x9')]);_0x30c45b&&_0x3ded00[_0x2491('0x2f')]>0x0?_0x491f49[_0x2491('0x34')]():(await this[_0x2491('0x4c')](_0x3ded00),this[_0x2491('0x38')](_0x3ded00,_0x1228f9),this[_0x2491('0x6')][_0x2491('0x10')]());};return _0x491f49[_0x2491('0x39')]?_0x620159():new Promise((_0x1c96eb,_0x243095)=>{_0x491f49[_0x2491('0x19')]('change:_isConnected',()=>{_0x620159()[_0x2491('0x56')](_0x1c96eb)[_0x2491('0x15')](_0x243095);});});}['destroy'](){super[_0x2491('0x35')]();}async[_0x2491('0x11')](){this[_0x2491('0xa')][_0x2491('0xf')]||await new Promise(_0x440913=>{this[_0x2491('0x43')](this[_0x2491('0xa')],_0x2491('0x45'),_0x55ebb1=>{_0x55ebb1[_0x2491('0x22')](),_0x440913();});});}[_0x2491('0x51')](){const _0x52570d=this[_0x2491('0x17')][_0x2491('0x31')][_0x2491('0x27')](_0x421c26)[_0x2491('0x2e')][_0x2491('0x53')]()[_0x2491('0x14')]();for(const _0x50381f of _0x52570d)if('marker'!==_0x50381f[_0x2491('0x3c')]||_0x50381f[_0x2491('0x0')])return _0x50381f[_0x2491('0x3f')]+0x1;}[_0x2491('0xe')](){const _0x365332=this[_0x2491('0x17')][_0x2491('0x31')]['get'](_0x421c26);return new Promise(_0x5ce438=>{_0x365332[_0x2491('0x23')]?_0x365332[_0x2491('0x19')](_0x2491('0x33'),()=>{_0x5ce438(this['_getLatestVersionFromServerOperations']());}):_0x5ce438(this[_0x2491('0x51')]());});}[_0x2491('0x38')](_0xe9f4a1,_0x2a391f){const _0x36ac61=this[_0x2491('0x6')][_0x2491('0x32')];this[_0x2491('0x9')]=_0x2a391f;for(const _0x172fda of _0xe9f4a1){const _0x25dbfd=_0x36ac61['getRevision'](_0x172fda['id']);if(_0x25dbfd){if((_0x172fda[_0x2491('0x18')]||_0x172fda[_0x2491('0x48')])&&(_0x172fda[_0x2491('0x8')]=null),_0x25dbfd===this['_revisionTracker'][_0x2491('0x16')]){const _0x55a754=Math[_0x2491('0x58')](_0x25dbfd['toVersion'],_0x172fda[_0x2491('0x48')]),_0x41fc96=Math['max'](_0x25dbfd[_0x2491('0x18')],_0x172fda[_0x2491('0x18')]);let _0x456368;_0x25dbfd[_0x2491('0x48')]===_0x172fda['toVersion']&&_0x25dbfd[_0x2491('0x18')]===_0x172fda[_0x2491('0x18')]?(_0x456368=!0x0,this[_0x2491('0x29')](_0x172fda)):_0x172fda[_0x2491('0x48')]===_0x55a754&&_0x172fda[_0x2491('0x18')]===_0x41fc96?_0x456368=!0x1:(_0x25dbfd[_0x2491('0x48')]===_0x55a754&&_0x25dbfd[_0x2491('0x18')]===_0x41fc96||this[_0x2491('0x57')]({'revision':_0x25dbfd,'from':_0x41fc96,'to':_0x55a754}),_0x456368=!0x0),_0x456368&&(delete _0x172fda[_0x2491('0x18')],delete _0x172fda['toVersion'],delete _0x172fda[_0x2491('0x8')],delete _0x172fda[_0x2491('0x2b')],delete _0x172fda[_0x2491('0x3e')]);}this['_revisionTracker'][_0x2491('0x1d')](_0x172fda),this[_0x2491('0x29')](_0x172fda);}else this[_0x2491('0x6')][_0x2491('0x13')](_0x172fda);}const _0x40a33f=_0x36ac61[_0x2491('0x2')]();_0x40a33f[_0x2491('0x14')]();for(let _0x403387=0x0;_0x403387<_0x40a33f['length']-0x1;_0x403387++){const _0x45200c=_0x40a33f[_0x403387],_0x2838c9=_0x40a33f[_0x403387+0x1];if(_0x45200c[_0x2491('0x18')]<_0x2838c9[_0x2491('0x48')]){const _0x286190=_0x2838c9['toVersion'],_0x3e2258=Math['max'](_0x286190,_0x45200c[_0x2491('0x48')]);this[_0x2491('0x57')]({'revision':_0x45200c,'from':_0x286190,'to':_0x3e2258});}}}[_0x2491('0x57')]({revision:_0x34ca67,from:_0x531ded,to:_0x1f399f}={}){const _0x5cd63c=this[_0x2491('0x17')][_0x2491('0x31')][_0x2491('0x27')](_0x3d876d),_0x4a3c1e=this[_0x2491('0x6')]['buildRevisionData']({'revision':_0x34ca67,'from':_0x531ded,'to':_0x1f399f});_0x4a3c1e['authors']=_0x4a3c1e[_0x2491('0x3e')][_0x2491('0x3')](_0xc9671a=>_0x5cd63c[_0x2491('0x4a')](_0xc9671a)),_0x34ca67['_update'](_0x4a3c1e);}[_0x2491('0x29')](_0x1580bf){const _0xb04cb0={};_0xb04cb0['id']=_0x1580bf['id'];for(const _0x47fe16 of Object[_0x2491('0x3d')](_0x1580bf))'id'!==_0x47fe16&&(_0xb04cb0[_0x47fe16]=void 0x0);this[_0x2491('0x6')][_0x2491('0x1')](_0xb04cb0['id'],_0xb04cb0,!0x0);}async['_fetchMissingUsers'](_0x32c1cc){const _0x32b495=this[_0x2491('0x17')][_0x2491('0x31')][_0x2491('0x27')](_0x3d876d),{connection:_0x54fa9e}=this[_0x2491('0x17')]['plugins'][_0x2491('0x27')](_0x3d6823),_0x1f17c6=new Set();for(const _0x4c8e55 of _0x32c1cc){for(const _0xb8f589 of _0x4c8e55['authorsIds'])_0xd616d3(_0xb8f589);_0x4c8e55[_0x2491('0x46')]&&_0xd616d3(_0x4c8e55[_0x2491('0x46')]);}if(0x0===_0x1f17c6['size'])return;const _0x3295df=await _0x109cb3['getMany'](_0x54fa9e,Array[_0x2491('0x4d')](_0x1f17c6));for(const _0x5991cc of _0x3295df)_0x32b495[_0x2491('0x4a')](_0x5991cc['id'])||_0x32b495[_0x2491('0x4f')](_0x5991cc);function _0xd616d3(_0x25fb78){_0x32b495[_0x2491('0x4a')](_0x25fb78)||_0x1f17c6[_0x2491('0x4')](_0x25fb78);}}}function st(_0x10abc2){return _0x10abc2[_0x2491('0x59')][_0x2491('0x54')](_0x2491('0x55'))||_0x10abc2['message'][_0x2491('0x54')]('cloud-services-internal-error:\x20Not\x20connected.')||_0x10abc2[_0x2491('0x59')][_0x2491('0x54')](_0x2491('0x30'));}v['RevisionHistoryService']=_0x13f35d;
const _0x16b9=['_update','listenTo','authors','off','once','get','_revisionDataBuilder','connected','remove','connect','RevisionHistoryService','isConnected','startsWith','editor','from','addUser','then','_preventResendingRevisionData','bind','_revisions','cloudServices.bundleVersion','_waitForServiceReady','map','cloud-services-internal-error:\x20Request\x20timeout.','code','currentRevision','_fixRevision','_isConnected','_createCurrentRevision','_fetchMissingUsers','authorsIds','buildRevisionData','type','affectsData','connection','catch','wrongRequestId','length','_bufferUpdate','_handleRevisionsUpdate','revisionsUpdated','_getLatestVersion','_oldOffset','plugins','keys','addToReconnectionStack','isEnabled','_revisionTracker','getUser','change:_isPendingUpdate','data','isEmptyCurrent','_startingVersion','toVersion','CONNECTED','_isPendingUpdate','creatorId','state','_getLatestVersionFromServerOperations','size','diffData','_lastRequestId','destroy','_revisionHistoryService','sendBufferedUpdates','serverHistory','sessionId','reconnect','getRevision','max','setSource','marker','init','setRevisionData','_offset','RevisionTracker','add','addRevisionData','collaboration.channelId','_bufferedUpdates','message','getMany','fromVersion','updateRevisions'];(function(_0x4ae645,_0x16b9cc){const _0x35be52=function(_0x4428f4){while(--_0x4428f4){_0x4ae645['push'](_0x4ae645['shift']());}};_0x35be52(++_0x16b9cc);}(_0x16b9,0x19e));const _0x35be=function(_0x4ae645,_0x16b9cc){_0x4ae645=_0x4ae645-0x0;let _0x35be52=_0x16b9[_0x4ae645];return _0x35be52;};import{Plugin as _0x507ef9}from'ckeditor5/src/core';import{version as _0x4a8d77}from'ckeditor5/src/utils';import{Users as _0x2a8c57}from'ckeditor5-collaboration/src/collaboration-core';import _0x222d7c from'../realtimecollaborativeediting/realtimecollaborationclient';import _0xdad9c9 from'../realtimecollaborativeediting/websocketgateway';import _0x199f65 from'../realtimecollaborativeediting/sessions';import _0x2bfb19 from'@ckeditor/ckeditor-cloud-services-collaboration/src/users/user';import _0x4cc5ea from'@ckeditor/ckeditor-cloud-services-collaboration/src/revision-history/revisionhistoryservice';import _0x4b9fb1 from'@ckeditor/ckeditor-cloud-services-collaboration/src/editor/editorservice';import{WEB_SOCKET_GATEWAY_STATES as _0x5349f1}from'@ckeditor/ckeditor-cloud-services-collaboration/src/websocketgateway/websocketgateway';export default class v extends _0x507ef9{static get['requires'](){return[_0xdad9c9,_0x222d7c,_0x35be('0x51'),_0x199f65,_0x2a8c57];}constructor(_0x332b10){super(_0x332b10);const _0x144472=this[_0x35be('0x13')]['config'][_0x35be('0xb')](_0x35be('0x0'));this[_0x35be('0x43')]=null,this[_0x35be('0x35')]=this['editor'][_0x35be('0x31')]['get'](_0x35be('0x51')),this[_0x35be('0x45')]=new v[(_0x35be('0x10'))](_0x144472);}async[_0x35be('0x4e')](){const _0x4e6c59=this[_0x35be('0x13')][_0x35be('0x31')][_0x35be('0xb')](_0x222d7c),_0x171d95=_0x4e6c59[_0x35be('0x47')],_0x4eadab=this[_0x35be('0x13')][_0x35be('0x31')][_0x35be('0xb')](_0xdad9c9);this[_0x35be('0x35')][_0x35be('0x4c')]({'history':_0x171d95,'getLatestVersion':()=>this[_0x35be('0x2f')](),'getCurrentRevisionId':()=>_0x4e6c59[_0x35be('0x48')]});const _0xe5c624=this[_0x35be('0x13')]['config'][_0x35be('0xb')](_0x35be('0x1a'))||_0x4a8d77,_0x26250d=await _0x4b9fb1['isBundleUploaded'](_0x4eadab[_0x35be('0x28')],_0xe5c624);this['_revisionTracker']['adapter']={'getRevision':async({revisionId:_0x2e03d0})=>(await this[_0x35be('0x1b')](),await this[_0x35be('0x45')][_0x35be('0x4a')](_0x2e03d0)),'updateRevisions':async _0x3dd84a=>{await this[_0x35be('0x1b')]();const _0x5d1875=this[_0x35be('0x35')][_0x35be('0x1f')];if(_0x26250d&&0x1===_0x3dd84a[_0x35be('0x2b')]&&_0x3dd84a[0x0]['id']===_0x5d1875['id'])return _0x3dd84a;for(const _0x1294b8 of _0x3dd84a)_0x1294b8['id']===_0x5d1875['id']&&(_0x1294b8[_0x35be('0x39')]=_0x1294b8['fromVersion']===_0x1294b8[_0x35be('0x3b')]);return this[_0x35be('0x45')][_0x35be('0x5')](_0x3dd84a,this['_lastRequestId'])[_0x35be('0x16')](_0x5621ae=>(this[_0x35be('0x43')]=_0x5621ae,_0x3dd84a))['catch'](_0x49d189=>{if(Q(_0x49d189)||'400'===_0x49d189[_0x35be('0x1e')]&&void 0x0!==_0x49d189[_0x35be('0x38')][_0x35be('0x2a')]){for(const _0x466881 of _0x3dd84a){!this[_0x35be('0x35')]['repository'][_0x35be('0x4a')](_0x466881['id'])||this[_0x35be('0x35')][_0x35be('0x2c')](_0x466881['id'],_0x466881,!0x1);}if(Q(_0x49d189))throw _0x49d189;return _0x3dd84a;}throw _0x49d189;});}},this['listenTo'](this[_0x35be('0x45')],_0x35be('0x2e'),(_0x1251b2,{revisionsData:_0xa12399,requestId:_0x5d4663})=>{Math['max'](..._0xa12399[_0x35be('0x1c')](_0x467e57=>_0x467e57['toVersion']))>this['_getLatestVersionFromServerOperations']()-0x1?this[_0x35be('0x2f')]()[_0x35be('0x16')](()=>{this[_0x35be('0x2d')](_0xa12399,_0x5d4663);}):this['_handleRevisionsUpdate'](_0xa12399,_0x5d4663);});const {revisions:_0x10ac2c,requestId:_0x431257}=await this[_0x35be('0x45')][_0x35be('0xf')](_0x4eadab[_0x35be('0x28')]);_0x4eadab[_0x35be('0x33')](this),this[_0x35be('0x43')]=_0x431257,await this[_0x35be('0x23')](_0x10ac2c);for(const _0x2efcd8 of _0x10ac2c)this[_0x35be('0x35')][_0x35be('0x53')](_0x2efcd8);this[_0x35be('0x7')](_0x4e6c59,'change:_isConnected',(_0x2270f9,_0x27d17a,_0x3e0b84)=>{_0x3e0b84&&(this[_0x35be('0x30')]=_0x4e6c59['_offset'],_0x2270f9[_0x35be('0x9')]());}),this['_revisionTracker'][_0x35be('0x18')](_0x35be('0x34'))['to'](_0x4eadab,_0x35be('0x3f'),_0x45b415=>_0x45b415===_0x5349f1[_0x35be('0x3c')]);}async[_0x35be('0x49')](){const _0x405dd4=this[_0x35be('0x13')][_0x35be('0x31')]['get'](_0xdad9c9),_0x2185b6=this[_0x35be('0x13')][_0x35be('0x31')][_0x35be('0xb')](_0x222d7c),_0x68463d=async()=>{const _0x61b18d=this[_0x35be('0x35')][_0x35be('0x1f')],_0x22e735=_0x61b18d['id'],_0xf376bf=_0x22e735!==_0x2185b6[_0x35be('0x48')];if(_0xf376bf){const _0x4b916d=_0x2185b6[_0x35be('0x50')]-this['_oldOffset'],_0x2c9023=this[_0x35be('0x40')]();this['_revisionTracker'][_0x35be('0xc')]['reInit']();if(_0x61b18d['toVersion']+_0x4b916d!==_0x2c9023){const _0x604d7b=_0x61b18d[_0x35be('0x4')]+_0x4b916d,_0x2f0373=this[_0x35be('0x13')]['plugins'][_0x35be('0xb')](_0x2a8c57),_0x5baacf=this[_0x35be('0x35')][_0x35be('0x25')]({'revision':_0x61b18d,'from':_0x604d7b,'to':_0x2c9023});_0x5baacf['id']=_0x61b18d['id'];const _0x543dcb=_0x5baacf[_0x35be('0x24')][_0x35be('0x1c')](_0x52eb27=>_0x2f0373[_0x35be('0x36')](_0x52eb27));_0x61b18d[_0x35be('0x6')]({..._0x5baacf,'authors':_0x543dcb},!0x0),this['_revisionTracker'][_0x35be('0x2c')](_0x61b18d['id'],_0x5baacf,!0x0);}this[_0x35be('0x35')][_0x35be('0x3a')]=_0x2c9023,(_0x61b18d[_0x35be('0x3b')]===_0x61b18d[_0x35be('0x4')]&&!this[_0x35be('0x35')][_0x35be('0x1')]['has'](_0x22e735)&&this[_0x35be('0x35')]['repository'][_0x35be('0x19')][_0x35be('0xe')](_0x22e735),this[_0x35be('0x35')][_0x35be('0x22')](_0x2c9023));}const {revisions:_0xf287a3,requestId:_0x179a8b}=await this['_revisionHistoryService']['reconnect'](_0x405dd4['connection'],this[_0x35be('0x43')]);_0xf376bf&&_0xf287a3['length']>0x0?_0x2185b6['_handleReconnectionError']():(await this[_0x35be('0x23')](_0xf287a3),this[_0x35be('0x2d')](_0xf287a3,_0x179a8b),this[_0x35be('0x35')][_0x35be('0x46')]());};return _0x2185b6[_0x35be('0x21')]?_0x68463d():new Promise((_0x26abfd,_0x368072)=>{_0x2185b6[_0x35be('0xa')]('change:_isConnected',()=>{_0x68463d()[_0x35be('0x16')](_0x26abfd)[_0x35be('0x29')](_0x368072);});});}['destroy'](){super[_0x35be('0x44')]();}async[_0x35be('0x1b')](){this[_0x35be('0x45')][_0x35be('0x11')]||await new Promise(_0x33e0b0=>{this[_0x35be('0x7')](this[_0x35be('0x45')],_0x35be('0xd'),_0x4a23d4=>{_0x4a23d4[_0x35be('0x9')](),_0x33e0b0();});});}[_0x35be('0x40')](){const _0x45272e=this[_0x35be('0x13')][_0x35be('0x31')][_0x35be('0xb')](_0x222d7c)['serverHistory']['getOperations']()['reverse']();for(const _0x441ddc of _0x45272e)if(_0x35be('0x4d')!==_0x441ddc[_0x35be('0x26')]||_0x441ddc[_0x35be('0x27')])return _0x441ddc['baseVersion']+0x1;}[_0x35be('0x2f')](){const _0x50c49b=this[_0x35be('0x13')][_0x35be('0x31')]['get'](_0x222d7c);return new Promise(_0x1c1ff7=>{_0x50c49b[_0x35be('0x3d')]?_0x50c49b[_0x35be('0xa')](_0x35be('0x37'),()=>{_0x1c1ff7(this[_0x35be('0x40')]());}):_0x1c1ff7(this['_getLatestVersionFromServerOperations']());});}[_0x35be('0x2d')](_0x5e1746,_0x57a925){const _0x26bcd2=this[_0x35be('0x35')]['repository'];this[_0x35be('0x43')]=_0x57a925;for(const _0x371b17 of _0x5e1746){const _0x4489c7=_0x26bcd2['getRevision'](_0x371b17['id']);if(_0x4489c7){if((_0x371b17[_0x35be('0x4')]||_0x371b17[_0x35be('0x3b')])&&(_0x371b17['diffData']=null),_0x4489c7===this['_revisionTracker'][_0x35be('0x1f')]){const _0x398b80=Math['max'](_0x4489c7[_0x35be('0x3b')],_0x371b17[_0x35be('0x3b')]),_0xf64b35=Math[_0x35be('0x4b')](_0x4489c7[_0x35be('0x4')],_0x371b17[_0x35be('0x4')]);let _0x397092;_0x4489c7[_0x35be('0x3b')]===_0x371b17['toVersion']&&_0x4489c7[_0x35be('0x4')]===_0x371b17[_0x35be('0x4')]?(_0x397092=!0x0,this['_preventResendingRevisionData'](_0x371b17)):_0x371b17[_0x35be('0x3b')]===_0x398b80&&_0x371b17[_0x35be('0x4')]===_0xf64b35?_0x397092=!0x1:(_0x4489c7[_0x35be('0x3b')]===_0x398b80&&_0x4489c7['fromVersion']===_0xf64b35||this['_fixRevision']({'revision':_0x4489c7,'from':_0xf64b35,'to':_0x398b80}),_0x397092=!0x0),_0x397092&&(delete _0x371b17[_0x35be('0x4')],delete _0x371b17['toVersion'],delete _0x371b17[_0x35be('0x42')],delete _0x371b17['createdAt'],delete _0x371b17[_0x35be('0x24')]);}this[_0x35be('0x35')][_0x35be('0x4f')](_0x371b17),this[_0x35be('0x17')](_0x371b17);}else this['_revisionTracker']['addRevisionData'](_0x371b17);}const _0x122217=_0x26bcd2['getRevisions']();_0x122217['reverse']();for(let _0x374068=0x0;_0x374068<_0x122217['length']-0x1;_0x374068++){const _0x300964=_0x122217[_0x374068],_0x294dc7=_0x122217[_0x374068+0x1];if(_0x300964['fromVersion']<_0x294dc7[_0x35be('0x3b')]){const _0x1ae2c7=_0x294dc7[_0x35be('0x3b')],_0x3033a7=Math[_0x35be('0x4b')](_0x1ae2c7,_0x300964[_0x35be('0x3b')]);this[_0x35be('0x20')]({'revision':_0x300964,'from':_0x1ae2c7,'to':_0x3033a7});}}}[_0x35be('0x20')]({revision:_0x30266a,from:_0x1ffdd9,to:_0x395e41}={}){const _0x45989d=this[_0x35be('0x13')][_0x35be('0x31')][_0x35be('0xb')](_0x2a8c57),_0x23e188=this[_0x35be('0x35')]['buildRevisionData']({'revision':_0x30266a,'from':_0x1ffdd9,'to':_0x395e41});_0x23e188[_0x35be('0x8')]=_0x23e188[_0x35be('0x24')][_0x35be('0x1c')](_0x30a508=>_0x45989d[_0x35be('0x36')](_0x30a508)),_0x30266a['_update'](_0x23e188);}[_0x35be('0x17')](_0x31ff7e){const _0x212ce9={};_0x212ce9['id']=_0x31ff7e['id'];for(const _0x20b5c7 of Object[_0x35be('0x32')](_0x31ff7e))'id'!==_0x20b5c7&&(_0x212ce9[_0x20b5c7]=void 0x0);this[_0x35be('0x35')][_0x35be('0x2c')](_0x212ce9['id'],_0x212ce9,!0x0);}async[_0x35be('0x23')](_0x233138){const _0x40913f=this[_0x35be('0x13')][_0x35be('0x31')][_0x35be('0xb')](_0x2a8c57),{connection:_0x3209b5}=this[_0x35be('0x13')][_0x35be('0x31')][_0x35be('0xb')](_0xdad9c9),_0x483c45=new Set();for(const _0x402342 of _0x233138){for(const _0xc0e3dd of _0x402342[_0x35be('0x24')])_0x46f01e(_0xc0e3dd);_0x402342[_0x35be('0x3e')]&&_0x46f01e(_0x402342[_0x35be('0x3e')]);}if(0x0===_0x483c45[_0x35be('0x41')])return;const _0xec7d68=await _0x2bfb19[_0x35be('0x3')](_0x3209b5,Array[_0x35be('0x14')](_0x483c45));for(const _0x42d288 of _0xec7d68)_0x40913f[_0x35be('0x36')](_0x42d288['id'])||_0x40913f[_0x35be('0x15')](_0x42d288);function _0x46f01e(_0x36a262){_0x40913f[_0x35be('0x36')](_0x36a262)||_0x483c45[_0x35be('0x52')](_0x36a262);}}}function Q(_0x175016){return _0x175016[_0x35be('0x2')]['startsWith']('cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.')||_0x175016[_0x35be('0x2')][_0x35be('0x12')]('cloud-services-internal-error:\x20Not\x20connected.')||_0x175016[_0x35be('0x2')][_0x35be('0x12')](_0x35be('0x1d'));}v[_0x35be('0x10')]=_0x4cc5ea;

@@ -23,2 +23,2 @@ /*

*/
var _0x3a53=['RealTimeCollaborativeTrackChanges','pluginName','TrackChanges'];(function(_0x561a8f,_0x3a53a6){var _0x49a465=function(_0x40adaa){while(--_0x40adaa){_0x561a8f['push'](_0x561a8f['shift']());}};_0x49a465(++_0x3a53a6);}(_0x3a53,0x1ce));var _0x49a4=function(_0x561a8f,_0x3a53a6){_0x561a8f=_0x561a8f-0x0;var _0x49a465=_0x3a53[_0x561a8f];return _0x49a465;};import{Plugin as _0x26657d}from'ckeditor5/src/core';import _0xb20f60 from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter';import _0x3f1300 from'./realtimecollaborativecomments';export default class p extends _0x26657d{static get['requires'](){return[_0x3f1300,_0xb20f60,_0x49a4('0x2')];}static get[_0x49a4('0x1')](){return _0x49a4('0x0');}}
var _0x4f5c=['RealTimeCollaborativeTrackChanges','pluginName','TrackChanges','requires'];(function(_0x2c0c30,_0x4f5c1b){var _0x4ee394=function(_0x268d1d){while(--_0x268d1d){_0x2c0c30['push'](_0x2c0c30['shift']());}};_0x4ee394(++_0x4f5c1b);}(_0x4f5c,0x11d));var _0x4ee3=function(_0x2c0c30,_0x4f5c1b){_0x2c0c30=_0x2c0c30-0x0;var _0x4ee394=_0x4f5c[_0x2c0c30];return _0x4ee394;};import{Plugin as _0x57403b}from'ckeditor5/src/core';import _0x7cdc54 from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter';import _0x48cf3e from'./realtimecollaborativecomments';export default class p extends _0x57403b{static get[_0x4ee3('0x2')](){return[_0x48cf3e,_0x7cdc54,_0x4ee3('0x1')];}static get[_0x4ee3('0x0')](){return _0x4ee3('0x3');}}

@@ -23,2 +23,2 @@ /*

*/
const _0x368f=['data','getSuggestion','cloud-services-internal-error:\x20Not\x20connected.','state','hasSuggestion','listenTo','get','originalSuggestionId','add','from','then','_fetchMissingUsersForThreads','getUser','addToReconnectionStack','update','values','delete','adapter','_trackChangesService','editor','TrackChangesEditing','addUser','getMany','_waitForServiceReady','connect','find','startsWith','init','_saved','attributes','TrackChangesService','type','addSuggestionData','set','connected','size','open','catch','message','requires','cloud-services-internal-error:\x20Request\x20timeout.','plugins'];(function(_0x110193,_0x368fc2){const _0x19b8b3=function(_0x4e3c66){while(--_0x4e3c66){_0x110193['push'](_0x110193['shift']());}};_0x19b8b3(++_0x368fc2);}(_0x368f,0xab));const _0x19b8=function(_0x110193,_0x368fc2){_0x110193=_0x110193-0x0;let _0x19b8b3=_0x368f[_0x110193];return _0x19b8b3;};import{Plugin as _0x514a42}from'ckeditor5/src/core';import _0x257af8 from'@ckeditor/ckeditor-cloud-services-collaboration/src/track-changes/trackchangesservice';import _0x5f3329 from'../realtimecollaborativeediting/websocketgateway';import _0x3da825 from'../realtimecollaborativecomments/cloudservicescommentsadapter';import _0x132359 from'@ckeditor/ckeditor-cloud-services-collaboration/src/users/user';import{Users as _0x46dbb2}from'ckeditor5-collaboration/src/collaboration-core';export default class g extends _0x514a42{static get[_0x19b8('0x24')](){return[_0x3da825,_0x19b8('0x11'),_0x5f3329];}constructor(_0x32c399){super(_0x32c399);const _0x49ddec=this[_0x19b8('0x10')]['config'][_0x19b8('0x3')]('collaboration.channelId');this['_bufferedRequests']=new Map(),this[_0x19b8('0xf')]=new g['TrackChangesService'](_0x49ddec);}[_0x19b8('0x18')](){const _0x56f726=this[_0x19b8('0x10')][_0x19b8('0x26')][_0x19b8('0x3')](_0x5f3329),_0x2fae21=this['editor']['plugins'][_0x19b8('0x3')]('TrackChangesEditing');return _0x2fae21[_0x19b8('0xe')]={'getSuggestion':async _0x38ebd2=>{await this[_0x19b8('0x14')]();const _0x555b9d=await this['_trackChangesService'][_0x19b8('0x3')](_0x38ebd2)['catch'](B);return await this[_0x19b8('0x8')]([_0x555b9d]),_0x555b9d;},'addSuggestion':async({id:_0x1e930a,type:_0x1a72ab,data:_0x5052d6,originalSuggestionId:_0xcff686,attributes:_0x5efd77})=>{await this[_0x19b8('0x14')]();const _0x5957e2={'id':_0x1e930a,'type':_0x1a72ab,'data':_0x5052d6,'originalSuggestionId':_0xcff686,'attributes':_0x5efd77},_0x60620f=await this['_trackChangesService'][_0x19b8('0x5')](_0x1e930a,_0x1a72ab,_0x5052d6,_0xcff686,_0x5efd77)[_0x19b8('0x22')](_0x3866f2=>{if(st(_0x3866f2))return new Promise(_0x4c2003=>{this['_bufferedRequests'][_0x19b8('0x1e')](_0x1e930a,{'resolve':_0x4c2003,'suggestionData':_0x5957e2});});throw _0x3866f2;});return this['_bufferedRequests'][_0x19b8('0xd')](_0x1e930a),_0x60620f;},'updateSuggestion':async(_0x46091a,_0x31b23d)=>{if(await this[_0x19b8('0x14')](),_0x19b8('0x21')!==_0x31b23d[_0x19b8('0x0')])return this['_trackChangesService'][_0x19b8('0xb')](_0x46091a,_0x31b23d)[_0x19b8('0x22')](B);}},this['listenTo'](this[_0x19b8('0xf')],'suggestionUpdated',(_0xf5a029,_0x568afb)=>{_0x2fae21[_0x19b8('0x1')](_0x568afb['id'])&&(_0x2fae21[_0x19b8('0x28')](_0x568afb['id'])['attributes']=_0x568afb[_0x19b8('0x1a')]);}),this['_trackChangesService'][_0x19b8('0x15')](_0x56f726['connection'])[_0x19b8('0x7')](_0x171201=>(_0x56f726[_0x19b8('0xa')](this),this[_0x19b8('0x8')](_0x171201)[_0x19b8('0x7')](()=>{for(const _0x33a58a of _0x171201){_0x2fae21[_0x19b8('0x1d')](_0x33a58a)[_0x19b8('0x19')]=!0x0;}})));}async['reconnect'](){const _0x4259a3=this[_0x19b8('0x10')][_0x19b8('0x26')][_0x19b8('0x3')]('TrackChangesEditing'),{connection:_0x2f4165}=this[_0x19b8('0x10')][_0x19b8('0x26')][_0x19b8('0x3')](_0x5f3329),_0x58603e=await this[_0x19b8('0xf')]['connect'](_0x2f4165);await this[_0x19b8('0x8')](_0x58603e);for(const {suggestionData:_0x1fe518,resolve:_0x24c8b2}of this['_bufferedRequests'][_0x19b8('0xc')]()){let _0x455b65=_0x58603e[_0x19b8('0x16')](_0x3f39da=>_0x3f39da['id']===_0x1fe518['id']);_0x455b65||(_0x455b65=await this[_0x19b8('0xf')][_0x19b8('0x5')](_0x1fe518['id'],_0x1fe518[_0x19b8('0x1c')],_0x1fe518[_0x19b8('0x27')],_0x1fe518[_0x19b8('0x4')])),_0x24c8b2(_0x455b65);}for(const _0x4c1d8e of _0x58603e)_0x4259a3[_0x19b8('0x1')](_0x4c1d8e['id'])||_0x4259a3[_0x19b8('0x1d')](_0x4c1d8e);}async['_waitForServiceReady'](){this[_0x19b8('0xf')]['isConnected']||await new Promise(_0x1dfe07=>{this[_0x19b8('0x2')](this[_0x19b8('0xf')],_0x19b8('0x1f'),_0x5b2a36=>{_0x5b2a36['off'](),_0x1dfe07();});});}async[_0x19b8('0x8')](_0x5dea2f){const _0x469371=this[_0x19b8('0x10')]['plugins'][_0x19b8('0x3')](_0x46dbb2),{connection:_0x39897b}=this['editor'][_0x19b8('0x26')]['get'](_0x5f3329),_0x4a07b4=new Set();for(const {authorId:_0x5a8f35}of _0x5dea2f)_0x469371[_0x19b8('0x9')](_0x5a8f35)||_0x4a07b4[_0x19b8('0x5')](_0x5a8f35);if(0x0===_0x4a07b4[_0x19b8('0x20')])return;const _0x43f58e=await _0x132359[_0x19b8('0x13')](_0x39897b,Array[_0x19b8('0x6')](_0x4a07b4));for(const _0x73652b of _0x43f58e)_0x469371[_0x19b8('0x9')](_0x73652b['id'])||_0x469371[_0x19b8('0x12')](_0x73652b);}}function B(_0x52e174){if(st(_0x52e174))return new Promise(()=>{});throw _0x52e174;}function st(_0xe11f65){return _0xe11f65[_0x19b8('0x23')][_0x19b8('0x17')](_0x19b8('0x29'))||_0xe11f65[_0x19b8('0x23')][_0x19b8('0x17')](_0x19b8('0x25'));}g[_0x19b8('0x1b')]=_0x257af8;
const _0x5c82=['getSuggestion','then','suggestionUpdated','values','add','TrackChangesEditing','getUser','from','update','editor','requires','originalSuggestionId','hasSuggestion','addUser','plugins','adapter','addToReconnectionStack','size','get','data','open','startsWith','delete','_fetchMissingUsersForThreads','off','_saved','attributes','getMany','_bufferedRequests','connected','catch','_waitForServiceReady','type','message','addSuggestionData','cloud-services-internal-error:\x20Request\x20timeout.','connection','listenTo','_trackChangesService','init','TrackChangesService'];(function(_0x6089e4,_0x5c82a1){const _0x32d2cb=function(_0x144134){while(--_0x144134){_0x6089e4['push'](_0x6089e4['shift']());}};_0x32d2cb(++_0x5c82a1);}(_0x5c82,0x7d));const _0x32d2=function(_0x6089e4,_0x5c82a1){_0x6089e4=_0x6089e4-0x0;let _0x32d2cb=_0x5c82[_0x6089e4];return _0x32d2cb;};import{Plugin as _0x34db8c}from'ckeditor5/src/core';import _0xe2c952 from'@ckeditor/ckeditor-cloud-services-collaboration/src/track-changes/trackchangesservice';import _0xe23fde from'../realtimecollaborativeediting/websocketgateway';import _0x3b6028 from'../realtimecollaborativecomments/cloudservicescommentsadapter';import _0x9495af from'@ckeditor/ckeditor-cloud-services-collaboration/src/users/user';import{Users as _0x3cf068}from'ckeditor5-collaboration/src/collaboration-core';export default class g extends _0x34db8c{static get[_0x32d2('0x8')](){return[_0x3b6028,_0x32d2('0x3'),_0xe23fde];}constructor(_0x2c4ed3){super(_0x2c4ed3);const _0x28f9e4=this[_0x32d2('0x7')]['config']['get']('collaboration.channelId');this['_bufferedRequests']=new Map(),this[_0x32d2('0x24')]=new g[(_0x32d2('0x26'))](_0x28f9e4);}[_0x32d2('0x25')](){const _0x286fcd=this[_0x32d2('0x7')][_0x32d2('0xc')][_0x32d2('0x10')](_0xe23fde),_0x58415d=this[_0x32d2('0x7')][_0x32d2('0xc')][_0x32d2('0x10')](_0x32d2('0x3'));return _0x58415d[_0x32d2('0xd')]={'getSuggestion':async _0x103b3d=>{await this[_0x32d2('0x1d')]();const _0xf9c5ed=await this['_trackChangesService'][_0x32d2('0x10')](_0x103b3d)[_0x32d2('0x1c')](b);return await this[_0x32d2('0x15')]([_0xf9c5ed]),_0xf9c5ed;},'addSuggestion':async({id:_0x5e1c2a,type:_0x597967,data:_0x1d9cce,originalSuggestionId:_0x4574f9,attributes:_0xd78186})=>{await this[_0x32d2('0x1d')]();const _0x25ddcd={'id':_0x5e1c2a,'type':_0x597967,'data':_0x1d9cce,'originalSuggestionId':_0x4574f9,'attributes':_0xd78186},_0x54b3bc=await this['_trackChangesService'][_0x32d2('0x2')](_0x5e1c2a,_0x597967,_0x1d9cce,_0x4574f9,_0xd78186)['catch'](_0x3b999c=>{if(Q(_0x3b999c))return new Promise(_0x39e668=>{this[_0x32d2('0x1a')]['set'](_0x5e1c2a,{'resolve':_0x39e668,'suggestionData':_0x25ddcd});});throw _0x3b999c;});return this[_0x32d2('0x1a')][_0x32d2('0x14')](_0x5e1c2a),_0x54b3bc;},'updateSuggestion':async(_0x53e93f,_0x3d1d61)=>{if(await this[_0x32d2('0x1d')](),_0x32d2('0x12')!==_0x3d1d61['state'])return this[_0x32d2('0x24')][_0x32d2('0x6')](_0x53e93f,_0x3d1d61)[_0x32d2('0x1c')](b);}},this[_0x32d2('0x23')](this[_0x32d2('0x24')],_0x32d2('0x0'),(_0x27e389,_0x1a0e1b)=>{_0x58415d[_0x32d2('0xa')](_0x1a0e1b['id'])&&(_0x58415d[_0x32d2('0x27')](_0x1a0e1b['id'])[_0x32d2('0x18')]=_0x1a0e1b[_0x32d2('0x18')]);}),this[_0x32d2('0x24')]['connect'](_0x286fcd[_0x32d2('0x22')])['then'](_0x4f06f1=>(_0x286fcd[_0x32d2('0xe')](this),this['_fetchMissingUsersForThreads'](_0x4f06f1)[_0x32d2('0x28')](()=>{for(const _0x37547a of _0x4f06f1){_0x58415d[_0x32d2('0x20')](_0x37547a)[_0x32d2('0x17')]=!0x0;}})));}async['reconnect'](){const _0x301bf5=this[_0x32d2('0x7')][_0x32d2('0xc')][_0x32d2('0x10')](_0x32d2('0x3')),{connection:_0x1244c8}=this['editor'][_0x32d2('0xc')][_0x32d2('0x10')](_0xe23fde),_0x39b904=await this[_0x32d2('0x24')]['connect'](_0x1244c8);await this[_0x32d2('0x15')](_0x39b904);for(const {suggestionData:_0x5a47a1,resolve:_0x2e4ad8}of this[_0x32d2('0x1a')][_0x32d2('0x1')]()){let _0x7c4d06=_0x39b904['find'](_0x18195b=>_0x18195b['id']===_0x5a47a1['id']);_0x7c4d06||(_0x7c4d06=await this['_trackChangesService'][_0x32d2('0x2')](_0x5a47a1['id'],_0x5a47a1[_0x32d2('0x1e')],_0x5a47a1[_0x32d2('0x11')],_0x5a47a1[_0x32d2('0x9')])),_0x2e4ad8(_0x7c4d06);}for(const _0x151226 of _0x39b904)_0x301bf5[_0x32d2('0xa')](_0x151226['id'])||_0x301bf5[_0x32d2('0x20')](_0x151226);}async['_waitForServiceReady'](){this[_0x32d2('0x24')]['isConnected']||await new Promise(_0x12b77d=>{this[_0x32d2('0x23')](this[_0x32d2('0x24')],_0x32d2('0x1b'),_0x6e283a=>{_0x6e283a[_0x32d2('0x16')](),_0x12b77d();});});}async[_0x32d2('0x15')](_0x1b56d3){const _0x16cb37=this[_0x32d2('0x7')]['plugins'][_0x32d2('0x10')](_0x3cf068),{connection:_0x2fd164}=this[_0x32d2('0x7')][_0x32d2('0xc')]['get'](_0xe23fde),_0xefc584=new Set();for(const {authorId:_0x8739e}of _0x1b56d3)_0x16cb37['getUser'](_0x8739e)||_0xefc584[_0x32d2('0x2')](_0x8739e);if(0x0===_0xefc584[_0x32d2('0xf')])return;const _0x88ba87=await _0x9495af[_0x32d2('0x19')](_0x2fd164,Array[_0x32d2('0x5')](_0xefc584));for(const _0x4fbe4a of _0x88ba87)_0x16cb37[_0x32d2('0x4')](_0x4fbe4a['id'])||_0x16cb37[_0x32d2('0xb')](_0x4fbe4a);}}function b(_0x221b39){if(Q(_0x221b39))return new Promise(()=>{});throw _0x221b39;}function Q(_0x5346a0){return _0x5346a0[_0x32d2('0x1f')]['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x5346a0[_0x32d2('0x1f')][_0x32d2('0x13')](_0x32d2('0x21'));}g['TrackChangesService']=_0xe2c952;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc