@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20230901.0 → 0.0.0-nightly-20230902.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-collaboration-core",
3
- "version": "0.0.0-nightly-20230901.0",
3
+ "version": "0.0.0-nightly-20230902.0",
4
4
  "description": "Base utilities used by CKEditor 5 collaboration features to support multiple users working together in a rich text editor.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -31,7 +31,7 @@
31
31
  ],
32
32
  "main": "src/index.js",
33
33
  "dependencies": {
34
- "ckeditor5": "0.0.0-nightly-20230901.0",
34
+ "ckeditor5": "0.0.0-nightly-20230902.0",
35
35
  "date-fns": "2.30.0"
36
36
  },
37
37
  "files": [
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53ed=['clearForceDisabled','plugins','pluginName','addCommentThread','noPermissions','find','forceDisabled','isEnabled','setPermissions','editors','document:write','config','CommentsRepository','has','includes','CommentsOnly','no-permissions','collaboration.channelId','comment:write','comment:modify_all','context','Permissions','get','commands'];(function(_0x2428bc,_0x53edf3){const _0x2438c4=function(_0x4a804d){while(--_0x4a804d){_0x2428bc['push'](_0x2428bc['shift']());}};_0x2438c4(++_0x53edf3);}(_0x53ed,0xfc));const _0x2438=function(_0x2428bc,_0x53edf3){_0x2428bc=_0x2428bc-0x0;let _0x2438c4=_0x53ed[_0x2428bc];return _0x2438c4;};import{ContextPlugin as _0x85315,Editor as _0x4c5743}from'ckeditor5/src/core';import{CKEditorError as _0x5350c3}from'ckeditor5/src/utils';export default class n extends _0x85315{static get[_0x2438('0xe')](){return _0x2438('0x9');}[_0x2438('0x14')](_0x247340,_0x29e2cc){let _0x3fd372;if(_0x29e2cc||(_0x29e2cc=this['context'][_0x2438('0x17')][_0x2438('0xa')](_0x2438('0x5'))),this[_0x2438('0x8')][_0x2438('0x17')]['get'](_0x2438('0x5'))==_0x29e2cc?_0x3fd372=this['context']:_0x2438('0x15')in this[_0x2438('0x8')]&&this['context'][_0x2438('0x15')]&&(_0x3fd372=this[_0x2438('0x8')][_0x2438('0x15')][_0x2438('0x11')](_0x2120da=>_0x2120da[_0x2438('0x17')][_0x2438('0xa')]('collaboration.channelId')==_0x29e2cc)),!_0x3fd372)throw new _0x5350c3('permissions-set-permissions-invalid-channel-id',null);const _0x150204=_0x3fd372[_0x2438('0xd')],_0x3ae328=_0x150204[_0x2438('0x1')](_0x2438('0x0'))?_0x150204[_0x2438('0xa')](_0x2438('0x0')):void 0x0,_0x12cc51=_0x150204['has'](_0x2438('0x3'))&&_0x150204[_0x2438('0xa')]('CommentsOnly'),_0x1e5db0=_0x247340[_0x2438('0x2')](_0x2438('0x16')),_0x34290b=_0x247340[_0x2438('0x2')](_0x2438('0x7')),_0x44ca72=_0x247340[_0x2438('0x2')]('comment:admin'),_0x34360b=_0x247340[_0x2438('0x2')](_0x2438('0x6')),_0x3d49ed=_0x34360b||_0x44ca72,_0x469190=_0x3d49ed||_0x34290b,_0x4cadbb=_0x1e5db0||_0x3d49ed;(_0x12cc51&&(_0x12cc51[_0x2438('0x13')]=!_0x1e5db0&&_0x469190),_0x3fd372 instanceof _0x4c5743)&&(!(_0x1e5db0||_0x469190&&_0x3ae328)?_0x3fd372['enableReadOnlyMode'](_0x2438('0x4')):_0x3fd372['disableReadOnlyMode'](_0x2438('0x4')));if(_0x3ae328){_0x3ae328[_0x2438('0x14')]({'admin':_0x44ca72,'modifyAll':_0x34290b,'write':_0x34360b,'resolve':_0x4cadbb},_0x29e2cc);const _0x1e8895=_0x3fd372 instanceof _0x4c5743&&_0x3fd372[_0x2438('0xb')][_0x2438('0xa')](_0x2438('0xf'));_0x1e8895&&(_0x3d49ed?_0x1e8895[_0x2438('0xc')](_0x2438('0x10')):_0x1e8895[_0x2438('0x12')](_0x2438('0x10')));}}}
23
+ const _0x5420=['forceDisabled','has','plugins','find','context','CommentsOnly','addCommentThread','comment:admin','editors','disableReadOnlyMode','clearForceDisabled','pluginName','commands','CommentsRepository','comment:modify_all','collaboration.channelId','enableReadOnlyMode','get','config','includes','noPermissions','no-permissions','permissions-set-permissions-invalid-channel-id','setPermissions'];(function(_0x18e2c6,_0x5420bb){const _0x559c57=function(_0x1c4299){while(--_0x1c4299){_0x18e2c6['push'](_0x18e2c6['shift']());}};_0x559c57(++_0x5420bb);}(_0x5420,0xcc));const _0x559c=function(_0x18e2c6,_0x5420bb){_0x18e2c6=_0x18e2c6-0x0;let _0x559c57=_0x5420[_0x18e2c6];return _0x559c57;};import{ContextPlugin as _0x44166c,Editor as _0x284829}from'ckeditor5/src/core';import{CKEditorError as _0x13f74f}from'ckeditor5/src/utils';export default class n extends _0x44166c{static get[_0x559c('0x17')](){return'Permissions';}['setPermissions'](_0x65bdfd,_0x1c4eb2){let _0x2ba553;if(_0x1c4eb2||(_0x1c4eb2=this[_0x559c('0x10')][_0x559c('0x6')][_0x559c('0x5')](_0x559c('0x3'))),this[_0x559c('0x10')]['config'][_0x559c('0x5')]('collaboration.channelId')==_0x1c4eb2?_0x2ba553=this[_0x559c('0x10')]:_0x559c('0x14')in this['context']&&this[_0x559c('0x10')][_0x559c('0x14')]&&(_0x2ba553=this['context'][_0x559c('0x14')][_0x559c('0xf')](_0x5dcdab=>_0x5dcdab[_0x559c('0x6')][_0x559c('0x5')]('collaboration.channelId')==_0x1c4eb2)),!_0x2ba553)throw new _0x13f74f(_0x559c('0xa'),null);const _0x573857=_0x2ba553[_0x559c('0xe')],_0x13c22c=_0x573857[_0x559c('0xd')](_0x559c('0x1'))?_0x573857[_0x559c('0x5')](_0x559c('0x1')):void 0x0,_0x3a6077=_0x573857[_0x559c('0xd')](_0x559c('0x11'))&&_0x573857['get'](_0x559c('0x11')),_0x282989=_0x65bdfd[_0x559c('0x7')]('document:write'),_0x63cfd7=_0x65bdfd[_0x559c('0x7')](_0x559c('0x2')),_0x2520eb=_0x65bdfd[_0x559c('0x7')](_0x559c('0x13')),_0x5be770=_0x65bdfd['includes']('comment:write'),_0x1556db=_0x5be770||_0x2520eb,_0x233fd7=_0x1556db||_0x63cfd7,_0x358f7d=_0x282989||_0x1556db;(_0x3a6077&&(_0x3a6077['isEnabled']=!_0x282989&&_0x233fd7),_0x2ba553 instanceof _0x284829)&&(!(_0x282989||_0x233fd7&&_0x13c22c)?_0x2ba553[_0x559c('0x4')](_0x559c('0x9')):_0x2ba553[_0x559c('0x15')](_0x559c('0x9')));if(_0x13c22c){_0x13c22c[_0x559c('0xb')]({'admin':_0x2520eb,'modifyAll':_0x63cfd7,'write':_0x5be770,'resolve':_0x358f7d},_0x1c4eb2);const _0x25f437=_0x2ba553 instanceof _0x284829&&_0x2ba553[_0x559c('0x0')][_0x559c('0x5')](_0x559c('0x12'));_0x25f437&&(_0x1556db?_0x25f437[_0x559c('0x16')]('noPermissions'):_0x25f437[_0x559c('0xc')](_0x559c('0x8')));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3241=['avatar','setTemplate','push','notificationView','ck-user__icon','ck-user__img','isAnonymous','initials','extendTemplate','ck-user__notification','div','ck\x20ck-user__name\x20ck-user__name--hidden'];(function(_0xfed36c,_0x324163){const _0x5add25=function(_0x1c2325){while(--_0x1c2325){_0xfed36c['push'](_0xfed36c['shift']());}};_0x5add25(++_0x324163);}(_0x3241,0xa6));const _0x5add=function(_0xfed36c,_0x324163){_0xfed36c=_0xfed36c-0x0;let _0x5add25=_0x3241[_0xfed36c];return _0x5add25;};import{View as _0x5c947f,IconView as _0x4321dd}from'ckeditor5/src/ui';import _0x29e8b1 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x5c947f{constructor(_0xa659cc,_0x1db68b,_0x4f92c1){super(_0xa659cc),this['name']=_0x1db68b['name'],this[_0x5add('0x5')]=null;const _0x3a2e2c=['ck',_0x5add('0x7')];if(_0x1db68b[_0x5add('0x8')]&&_0x3a2e2c[_0x5add('0x4')]('ck-user__anonymous'),_0x1db68b['avatar']&&_0x3a2e2c['push']('ck-user__avatar'),_0x4f92c1){const _0x2bbb0a=new _0x4321dd();_0x2bbb0a[_0x5add('0xa')]({'attributes':{'class':[_0x5add('0x6')]}}),_0x2bbb0a['content']=_0x29e8b1,this[_0x5add('0x5')]={'tag':_0x5add('0x0'),'attributes':{'class':['ck',_0x5add('0xb')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x4f92c1},'children':[_0x2bbb0a]};}const _0x5573c7=[{'tag':_0x5add('0x0'),'attributes':{'class':_0x3a2e2c,'style':{'background-image':_0x1db68b[_0x5add('0x2')]?'url(\x27'+_0x1db68b[_0x5add('0x2')]+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x1db68b['avatar']?_0x5add('0x1'):'ck\x20ck-user__name'},'children':[{'text':_0x1db68b[_0x5add('0x9')]}]}];this[_0x5add('0x5')]&&_0x5573c7[_0x5add('0x4')](this[_0x5add('0x5')]),this[_0x5add('0x3')]({'tag':'div','attributes':{'class':['ck','ck-user'],'data-user-id':_0x1db68b['id']},'children':_0x5573c7});}}
23
+ const _0x25dd=['ck-user__avatar','ck-user__icon','avatar','ck-user','isAnonymous','name','notificationView','url(\x27','ck-user__img','setTemplate','ck-user__anonymous','push','ck-user__notification','div','content','ck\x20ck-user__name\x20ck-user__name--hidden','initials'];(function(_0x33faf9,_0x25dd3d){const _0x3df42b=function(_0x8ee0cc){while(--_0x8ee0cc){_0x33faf9['push'](_0x33faf9['shift']());}};_0x3df42b(++_0x25dd3d);}(_0x25dd,0x71));const _0x3df4=function(_0x33faf9,_0x25dd3d){_0x33faf9=_0x33faf9-0x0;let _0x3df42b=_0x25dd[_0x33faf9];return _0x3df42b;};import{View as _0x2bbb3d,IconView as _0xf8ba49}from'ckeditor5/src/ui';import _0x534109 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x2bbb3d{constructor(_0x1a6a2e,_0x3b5e92,_0x55683e){super(_0x1a6a2e),this['name']=_0x3b5e92[_0x3df4('0xb')],this[_0x3df4('0xc')]=null;const _0x1bcec0=['ck',_0x3df4('0xe')];if(_0x3b5e92[_0x3df4('0xa')]&&_0x1bcec0[_0x3df4('0x0')](_0x3df4('0x10')),_0x3b5e92[_0x3df4('0x8')]&&_0x1bcec0[_0x3df4('0x0')](_0x3df4('0x6')),_0x55683e){const _0x44ba5b=new _0xf8ba49();_0x44ba5b['extendTemplate']({'attributes':{'class':[_0x3df4('0x7')]}}),_0x44ba5b[_0x3df4('0x3')]=_0x534109,this['notificationView']={'tag':_0x3df4('0x2'),'attributes':{'class':['ck',_0x3df4('0x1')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x55683e},'children':[_0x44ba5b]};}const _0x1c2317=[{'tag':'div','attributes':{'class':_0x1bcec0,'style':{'background-image':_0x3b5e92['avatar']?_0x3df4('0xd')+_0x3b5e92[_0x3df4('0x8')]+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x3b5e92[_0x3df4('0x8')]?_0x3df4('0x4'):'ck\x20ck-user__name'},'children':[{'text':_0x3b5e92[_0x3df4('0x5')]}]}];this[_0x3df4('0xc')]&&_0x1c2317['push'](this['notificationView']),this[_0x3df4('0xf')]({'tag':_0x3df4('0x2'),'attributes':{'class':['ck',_0x3df4('0x9')],'data-user-id':_0x3b5e92['id']},'children':_0x1c2317});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3050=['Users','getSelectionClass','defineMe','pluginName','decorate','getBackgroundColorClass','requires','trial-license-key-reached-limit-time','string','users-add-invalid-id','add','Anonymous','get','has','users','toUpperCase','initials','_myId','split','useAnonymousUser','trial-license-key-reached-limit-changes','define','licenseKeyTrialLimit:time','init','licenseKeyTrial','_lastColor','_addAnonymousUser','ck-user__marker--','trim','users-me-missing-user','length','users-me-already-defined','getUser','licenseKeyInvalid','anonymous-user','color','licenseKey','avatar','licenseKeyValid','destroy','users.anonymousUserId','includes','context','_getNextColor','trial-license-key-reached-limit-revisions','_licenseKeyCheckInterval','users-add-duplicated-id','name','addUser','getOperationAuthor','_id','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.','users.colorsCount','_locale','licenseKeyTrialLimit:revisions','licenseKeyTrialLimit:operations','_isAnonymous','_getInitial','config'];(function(_0x1fc879,_0x3050f6){const _0x4ca04f=function(_0x29179b){while(--_0x29179b){_0x1fc879['push'](_0x1fc879['shift']());}};_0x4ca04f(++_0x3050f6);}(_0x3050,0xe9));const _0x4ca0=function(_0x1fc879,_0x3050f6){_0x1fc879=_0x1fc879-0x0;let _0x4ca04f=_0x3050[_0x1fc879];return _0x4ca04f;};import{ContextPlugin as _0x5efb5e}from'ckeditor5/src/core';import{Collection as _0x3708bc,CKEditorError as _0x545b97}from'ckeditor5/src/utils';import _0x385758 from'./permissions';import{getTranslation as _0x1b3ea5}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x5efb5e{static get[_0x4ca0('0x6')](){return _0x4ca0('0x3');}static get[_0x4ca0('0x9')](){return[_0x385758];}constructor(_0x31a446){super(_0x31a446),this[_0x4ca0('0x2d')][_0x4ca0('0x2')][_0x4ca0('0x18')]('users.anonymousUserId',_0x4ca0('0x25')),this[_0x4ca0('0x2d')]['config'][_0x4ca0('0x18')](_0x4ca0('0x37'),0x8),this[_0x4ca0('0x11')]=new _0x3708bc(),this[_0x4ca0('0x38')]=_0x31a446['locale'],this[_0x4ca0('0x30')]=null,this['_lastColor']=0x0,this[_0x4ca0('0x14')]=null,this[_0x4ca0('0x7')]('getOperationAuthor');}[_0x4ca0('0x1a')](){const _0x1fc84e=this[_0x4ca0('0x2d')];this[_0x4ca0('0x27')]=_0x1fc84e[_0x4ca0('0x2')]['get'](_0x4ca0('0x27'));const _0x155460=[_0x4ca0('0x1b'),_0x4ca0('0x24'),'licenseKeyValid',_0x4ca0('0x3a'),_0x4ca0('0x19'),_0x4ca0('0x39')];this[_0x4ca0('0x30')]=setInterval(()=>{let _0x106e43;for(const _0x4f1c41 in _0x1fc84e){const _0x1f2260=_0x1fc84e[_0x4f1c41];if(_0x155460[_0x4ca0('0x2c')](_0x1f2260)){delete _0x1fc84e[_0x4f1c41],_0x106e43=_0x1f2260;break;}}if(_0x4ca0('0x24')===_0x106e43)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x545b97('invalid-license-key',null);if(_0x4ca0('0x1b')===_0x106e43&&console['info'](_0x4ca0('0x36')),_0x4ca0('0x3a')===_0x106e43)throw clearInterval(this[_0x4ca0('0x30')]),new _0x545b97(_0x4ca0('0x17'),null);if(_0x4ca0('0x19')===_0x106e43)throw clearInterval(this[_0x4ca0('0x30')]),new _0x545b97(_0x4ca0('0xa'),null);if(_0x4ca0('0x39')===_0x106e43)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x545b97(_0x4ca0('0x2f'),null);_0x4ca0('0x29')===_0x106e43&&clearInterval(this[_0x4ca0('0x30')]);},0x3e8),this[_0x4ca0('0x1d')]();}get['me'](){return null==this[_0x4ca0('0x14')]?null:this['getUser'](this[_0x4ca0('0x14')]);}['addUser']({id:_0x2a051a,name:_0x4f2b48,..._0x58a119}){if(!_0x2a051a||_0x4ca0('0xb')!=typeof _0x2a051a)throw new _0x545b97(_0x4ca0('0xc'));if(this['users'][_0x4ca0('0x10')](_0x2a051a))throw new _0x545b97(_0x4ca0('0x31'),null,{'id':_0x2a051a});const _0x5304e9={..._0x58a119,'id':_0x2a051a,'name':a(this[_0x4ca0('0x38')],_0x4f2b48),'color':this[_0x4ca0('0x2e')]()};_0x5304e9[_0x4ca0('0x32')]=a(this[_0x4ca0('0x38')],_0x5304e9[_0x4ca0('0x32')]);const _0x23950e=new User(_0x5304e9);return this[_0x4ca0('0x11')][_0x4ca0('0xd')](_0x23950e),_0x23950e;}[_0x4ca0('0x23')](_0x163b23){return this[_0x4ca0('0x11')][_0x4ca0('0xf')](_0x163b23);}[_0x4ca0('0x16')](){const _0x7bf4c1=this[_0x4ca0('0x2d')]['config']['get']('users.anonymousUserId');this[_0x4ca0('0x14')]||this[_0x4ca0('0x5')](_0x7bf4c1);}[_0x4ca0('0x5')](_0x3386f1){if(this[_0x4ca0('0x14')])throw new _0x545b97(_0x4ca0('0x22'),null);if(!this[_0x4ca0('0x23')](_0x3386f1))throw new _0x545b97(_0x4ca0('0x20'),null);this['_myId']=_0x3386f1;}[_0x4ca0('0x34')](){return this['me'];}['destroy'](){super[_0x4ca0('0x2a')](),clearInterval(this[_0x4ca0('0x30')]);}[_0x4ca0('0x2e')](){const _0xf267d8=this['context'][_0x4ca0('0x2')]['get'](_0x4ca0('0x37'));return this[_0x4ca0('0x1c')]>=_0xf267d8&&(this[_0x4ca0('0x1c')]=0x0),new u(this['_lastColor']++);}[_0x4ca0('0x1d')](){const _0x407bc4=this[_0x4ca0('0x2d')][_0x4ca0('0x2')]['get'](_0x4ca0('0x2b'));this[_0x4ca0('0x33')]({'id':_0x407bc4,'name':_0x1b3ea5(this[_0x4ca0('0x38')],_0x4ca0('0xe'))})['_isAnonymous']=!0x0;}}export class User{constructor(_0x1bded2){this['id']=_0x1bded2['id'],this['color']=_0x1bded2[_0x4ca0('0x26')],this[_0x4ca0('0x32')]=_0x1bded2[_0x4ca0('0x32')],this[_0x4ca0('0x28')]=_0x1bded2[_0x4ca0('0x28')],this[_0x4ca0('0x0')]=!0x1;}get['isAnonymous'](){return this[_0x4ca0('0x0')];}get[_0x4ca0('0x13')](){const _0x1993c1=this[_0x4ca0('0x32')][_0x4ca0('0x15')]('\x20');return 0x1===_0x1993c1[_0x4ca0('0x21')]?this['_getInitial'](_0x1993c1[0x0]):this[_0x4ca0('0x1')](_0x1993c1[0x0])+this[_0x4ca0('0x1')](_0x1993c1[_0x1993c1['length']-0x1]);}[_0x4ca0('0x1')](_0x9eb2a){return _0x9eb2a['charAt'](0x0)[_0x4ca0('0x12')]();}}function a(_0x550391,_0x206547=''){return''==(_0x206547=_0x206547[_0x4ca0('0x1f')]())?_0x1b3ea5(_0x550391,_0x4ca0('0xe')):_0x206547;}class u{constructor(_0x4dc3b3){this[_0x4ca0('0x35')]=_0x4dc3b3;}[_0x4ca0('0x8')](){return'ck-user__bg-color--'+this['_id'];}[_0x4ca0('0x4')](){return'ck-user__selection--'+this[_0x4ca0('0x35')];}['getMarkerClass'](){return _0x4ca0('0x1e')+this[_0x4ca0('0x35')];}}
23
+ const _0x5279=['_myId','_locale','getMarkerClass','licenseKeyValid','_id','color','getOperationAuthor','getBackgroundColorClass','Anonymous','_getNextColor','decorate','licenseKey','users.colorsCount','info','defineMe','avatar','add','anonymous-user','ck-user__selection--','getUser','trial-license-key-reached-limit-time','licenseKeyTrialLimit:operations','trial-license-key-reached-limit-changes','licenseKeyTrialLimit:time','charAt','ck-user__bg-color--','config','users-me-missing-user','requires','has','useAnonymousUser','split','get','string','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.','define','licenseKeyInvalid','_licenseKeyCheckInterval','Users','name','licenseKeyTrial','users.anonymousUserId','destroy','ck-user__marker--','initials','licenseKeyTrialLimit:revisions','init','_addAnonymousUser','users-add-invalid-id','getSelectionClass','_lastColor','users','_getInitial','users-add-duplicated-id','context','_isAnonymous'];(function(_0x4dcec1,_0x527963){const _0x5aecb8=function(_0x371441){while(--_0x371441){_0x4dcec1['push'](_0x4dcec1['shift']());}};_0x5aecb8(++_0x527963);}(_0x5279,0x1ab));const _0x5aec=function(_0x4dcec1,_0x527963){_0x4dcec1=_0x4dcec1-0x0;let _0x5aecb8=_0x5279[_0x4dcec1];return _0x5aecb8;};import{ContextPlugin as _0x3e3789}from'ckeditor5/src/core';import{Collection as _0x39e91b,CKEditorError as _0x51db58}from'ckeditor5/src/utils';import _0x29de5a from'./permissions';import{getTranslation as _0x5b0106}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x3e3789{static get['pluginName'](){return _0x5aec('0x3');}static get[_0x5aec('0x31')](){return[_0x29de5a];}constructor(_0x5675f1){super(_0x5675f1),this[_0x5aec('0x13')][_0x5aec('0x2f')][_0x5aec('0x0')](_0x5aec('0x6'),_0x5aec('0x26')),this[_0x5aec('0x13')][_0x5aec('0x2f')][_0x5aec('0x0')](_0x5aec('0x21'),0x8),this['users']=new _0x39e91b(),this[_0x5aec('0x16')]=_0x5675f1['locale'],this['_licenseKeyCheckInterval']=null,this['_lastColor']=0x0,this[_0x5aec('0x15')]=null,this[_0x5aec('0x1f')](_0x5aec('0x1b'));}[_0x5aec('0xb')](){const _0x5f5daa=this[_0x5aec('0x13')];this[_0x5aec('0x20')]=_0x5f5daa[_0x5aec('0x2f')]['get'](_0x5aec('0x20'));const _0x30611d=[_0x5aec('0x5'),_0x5aec('0x1'),_0x5aec('0x18'),_0x5aec('0x2a'),_0x5aec('0x2c'),_0x5aec('0xa')];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x47ab53;for(const _0x5f38d6 in _0x5f5daa){const _0x1368c6=_0x5f5daa[_0x5f38d6];if(_0x30611d['includes'](_0x1368c6)){delete _0x5f5daa[_0x5f38d6],_0x47ab53=_0x1368c6;break;}}if(_0x5aec('0x1')===_0x47ab53)throw clearInterval(this[_0x5aec('0x2')]),new _0x51db58('invalid-license-key',null);if('licenseKeyTrial'===_0x47ab53&&console[_0x5aec('0x22')](_0x5aec('0x37')),_0x5aec('0x2a')===_0x47ab53)throw clearInterval(this[_0x5aec('0x2')]),new _0x51db58(_0x5aec('0x2b'),null);if(_0x5aec('0x2c')===_0x47ab53)throw clearInterval(this[_0x5aec('0x2')]),new _0x51db58(_0x5aec('0x29'),null);if(_0x5aec('0xa')===_0x47ab53)throw clearInterval(this[_0x5aec('0x2')]),new _0x51db58('trial-license-key-reached-limit-revisions',null);'licenseKeyValid'===_0x47ab53&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this[_0x5aec('0xc')]();}get['me'](){return null==this['_myId']?null:this['getUser'](this[_0x5aec('0x15')]);}['addUser']({id:_0x81397a,name:_0x16770c,..._0x384b79}){if(!_0x81397a||_0x5aec('0x36')!=typeof _0x81397a)throw new _0x51db58(_0x5aec('0xd'));if(this[_0x5aec('0x10')][_0x5aec('0x32')](_0x81397a))throw new _0x51db58(_0x5aec('0x12'),null,{'id':_0x81397a});const _0x391f7d={..._0x384b79,'id':_0x81397a,'name':a(this[_0x5aec('0x16')],_0x16770c),'color':this[_0x5aec('0x1e')]()};_0x391f7d['name']=a(this[_0x5aec('0x16')],_0x391f7d['name']);const _0x7eb4d2=new User(_0x391f7d);return this[_0x5aec('0x10')][_0x5aec('0x25')](_0x7eb4d2),_0x7eb4d2;}[_0x5aec('0x28')](_0x23f874){return this[_0x5aec('0x10')][_0x5aec('0x35')](_0x23f874);}[_0x5aec('0x33')](){const _0x561163=this[_0x5aec('0x13')][_0x5aec('0x2f')][_0x5aec('0x35')]('users.anonymousUserId');this[_0x5aec('0x15')]||this[_0x5aec('0x23')](_0x561163);}[_0x5aec('0x23')](_0x56bdd0){if(this['_myId'])throw new _0x51db58('users-me-already-defined',null);if(!this[_0x5aec('0x28')](_0x56bdd0))throw new _0x51db58(_0x5aec('0x30'),null);this['_myId']=_0x56bdd0;}['getOperationAuthor'](){return this['me'];}[_0x5aec('0x7')](){super[_0x5aec('0x7')](),clearInterval(this[_0x5aec('0x2')]);}['_getNextColor'](){const _0x1faa7d=this[_0x5aec('0x13')]['config']['get'](_0x5aec('0x21'));return this[_0x5aec('0xf')]>=_0x1faa7d&&(this[_0x5aec('0xf')]=0x0),new u(this[_0x5aec('0xf')]++);}[_0x5aec('0xc')](){const _0x38682b=this['context'][_0x5aec('0x2f')]['get']('users.anonymousUserId');this['addUser']({'id':_0x38682b,'name':_0x5b0106(this[_0x5aec('0x16')],_0x5aec('0x1d'))})[_0x5aec('0x14')]=!0x0;}}export class User{constructor(_0x6f0032){this['id']=_0x6f0032['id'],this[_0x5aec('0x1a')]=_0x6f0032['color'],this[_0x5aec('0x4')]=_0x6f0032[_0x5aec('0x4')],this[_0x5aec('0x24')]=_0x6f0032[_0x5aec('0x24')],this['_isAnonymous']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get[_0x5aec('0x9')](){const _0xa53f2c=this[_0x5aec('0x4')][_0x5aec('0x34')]('\x20');return 0x1===_0xa53f2c['length']?this[_0x5aec('0x11')](_0xa53f2c[0x0]):this[_0x5aec('0x11')](_0xa53f2c[0x0])+this['_getInitial'](_0xa53f2c[_0xa53f2c['length']-0x1]);}['_getInitial'](_0x59e629){return _0x59e629[_0x5aec('0x2d')](0x0)['toUpperCase']();}}function a(_0xc3a461,_0x174643=''){return''==(_0x174643=_0x174643['trim']())?_0x5b0106(_0xc3a461,_0x5aec('0x1d')):_0x174643;}class u{constructor(_0x23cc93){this[_0x5aec('0x19')]=_0x23cc93;}[_0x5aec('0x1c')](){return _0x5aec('0x2e')+this['_id'];}[_0x5aec('0xe')](){return _0x5aec('0x27')+this[_0x5aec('0x19')];}[_0x5aec('0x17')](){return _0x5aec('0x8')+this[_0x5aec('0x19')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x58d06f,_0x49af87){const t=_0x58d06f['t'];switch(_0x49af87){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');default:return'';}}
23
+ export function getTranslation(_0x213041,_0x5b76ba){const t=_0x213041['t'];switch(_0x5b76ba){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');default:return'';}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x19f5=['destroy','cancel','once','_removeConfirm','element','isConfirm','submit','deregisterChild','focus','render','cancelConfirm','message','appendChild','confirmView','registerChild','fire'];(function(_0x1c6152,_0x19f5c2){var _0xa48281=function(_0x268d10){while(--_0x268d10){_0x1c6152['push'](_0x1c6152['shift']());}};_0xa48281(++_0x19f5c2);}(_0x19f5,0xdb));var _0xa482=function(_0x1c6152,_0x19f5c2){_0x1c6152=_0x1c6152-0x0;var _0xa48281=_0x19f5[_0x1c6152];return _0xa48281;};import _0x46cf6d from'./confirmview';export default function m(_0xf24c53){return class extends _0xf24c53{['showConfirm'](_0x4f44dd,_0x863b38){return this[_0xa482('0x2')]=new _0x46cf6d(this['locale']),this[_0xa482('0x2')][_0xa482('0xe')](),this['confirmView'][_0xa482('0x0')]=_0x4f44dd,this[_0xa482('0x2')]['once'](_0xa482('0x6'),()=>{this[_0xa482('0x8')]();}),this[_0xa482('0x2')][_0xa482('0x7')](_0xa482('0xb'),()=>{this[_0xa482('0x8')]();}),_0x863b38[_0xa482('0x1')](this[_0xa482('0x2')]['element']),this[_0xa482('0x3')](this[_0xa482('0x2')]),this[_0xa482('0x9')]['focus'](),this['set'](_0xa482('0xa'),!0x0),new Promise(_0x126ae2=>this[_0xa482('0x2')]['on'](_0xa482('0xb'),_0x126ae2));}[_0xa482('0xf')](){this[_0xa482('0xa')]&&this[_0xa482('0x2')][_0xa482('0x4')]('cancel');}[_0xa482('0x8')](){this[_0xa482('0x9')]&&this['confirmView']&&this[_0xa482('0x2')][_0xa482('0x9')]&&(this[_0xa482('0x9')][_0xa482('0xd')](),this[_0xa482('0x2')]['element']['remove'](),this[_0xa482('0xc')](this[_0xa482('0x2')]),this[_0xa482('0xa')]=!0x1,this['confirmView'][_0xa482('0x5')](),this[_0xa482('0x2')]=void 0x0);}};}
23
+ var _0x2878=['fire','deregisterChild','cancel','message','render','remove','confirmView','locale','_removeConfirm','submit','isConfirm','showConfirm','element','focus','cancelConfirm','destroy','registerChild','once'];(function(_0x2b08ee,_0x28784a){var _0x247aca=function(_0x1354f9){while(--_0x1354f9){_0x2b08ee['push'](_0x2b08ee['shift']());}};_0x247aca(++_0x28784a);}(_0x2878,0x118));var _0x247a=function(_0x2b08ee,_0x28784a){_0x2b08ee=_0x2b08ee-0x0;var _0x247aca=_0x2878[_0x2b08ee];return _0x247aca;};import _0x9628cc from'./confirmview';export default function m(_0x545160){return class extends _0x545160{[_0x247a('0x1')](_0x1db5be,_0x797e54){return this[_0x247a('0xe')]=new _0x9628cc(this[_0x247a('0xf')]),this[_0x247a('0xe')][_0x247a('0xc')](),this[_0x247a('0xe')][_0x247a('0xb')]=_0x1db5be,this['confirmView'][_0x247a('0x7')](_0x247a('0xa'),()=>{this[_0x247a('0x10')]();}),this[_0x247a('0xe')][_0x247a('0x7')](_0x247a('0x11'),()=>{this[_0x247a('0x10')]();}),_0x797e54['appendChild'](this[_0x247a('0xe')][_0x247a('0x2')]),this[_0x247a('0x6')](this[_0x247a('0xe')]),this[_0x247a('0x2')][_0x247a('0x3')](),this['set'](_0x247a('0x0'),!0x0),new Promise(_0x3f58aa=>this[_0x247a('0xe')]['on']('submit',_0x3f58aa));}[_0x247a('0x4')](){this[_0x247a('0x0')]&&this[_0x247a('0xe')][_0x247a('0x8')](_0x247a('0xa'));}[_0x247a('0x10')](){this[_0x247a('0x2')]&&this[_0x247a('0xe')]&&this['confirmView'][_0x247a('0x2')]&&(this[_0x247a('0x2')]['focus'](),this[_0x247a('0xe')][_0x247a('0x2')][_0x247a('0xd')](),this[_0x247a('0x9')](this[_0x247a('0xe')]),this[_0x247a('0x0')]=!0x1,this[_0x247a('0xe')][_0x247a('0x5')](),this['confirmView']=void 0x0);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2565=['ck-thread__remove-confirm-inner','Are\x20you\x20sure?','Yes','message','extendTemplate','submitView','cancelView','set','submit','ck-thread__remove-confirm-','_createButtonView','div','icon','cancel','check','label','fire','setTemplate','bindTemplate'];(function(_0x2de840,_0x25650f){const _0x3b4a3c=function(_0x243de8){while(--_0x243de8){_0x2de840['push'](_0x2de840['shift']());}};_0x3b4a3c(++_0x25650f);}(_0x2565,0x125));const _0x3b4a=function(_0x2de840,_0x25650f){_0x2de840=_0x2de840-0x0;let _0x3b4a3c=_0x2565[_0x2de840];return _0x3b4a3c;};import{View as _0x34e2d6,ButtonView as _0x486ad3}from'ckeditor5/src/ui';import{icons as _0x4cbe15}from'ckeditor5/src/core';import{getTranslation as _0x3be9e6}from'./common-translations';export default class h extends _0x34e2d6{constructor(_0x4a51ff){super(_0x4a51ff);const _0x526aae=this[_0x3b4a('0xa')];this[_0x3b4a('0x10')]=this[_0x3b4a('0x2')](_0x4a51ff,_0x3be9e6(_0x4a51ff,_0x3b4a('0xd')),_0x4cbe15[_0x3b4a('0x6')],_0x3b4a('0x0')),this[_0x3b4a('0x11')]=this['_createButtonView'](_0x4a51ff,_0x3be9e6(_0x4a51ff,'No'),_0x4cbe15[_0x3b4a('0x5')],'cancel'),this[_0x3b4a('0x12')]('message',_0x3be9e6(_0x4a51ff,_0x3b4a('0xc'))),this[_0x3b4a('0x9')]({'tag':_0x3b4a('0x3'),'attributes':{'class':['ck-thread__remove-confirm']},'children':[{'tag':_0x3b4a('0x3'),'attributes':{'class':_0x3b4a('0xb')},'children':[{'tag':'p','children':[{'text':_0x526aae['to'](_0x3b4a('0xe'))}]},{'tag':_0x3b4a('0x3'),'attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this[_0x3b4a('0x10')],this[_0x3b4a('0x11')]]}]}]});}[_0x3b4a('0x2')](_0x1a4c16,_0x430f54,_0x524c74,_0x50e189){const _0x3c9d42=new _0x486ad3(_0x1a4c16);return _0x3c9d42[_0x3b4a('0x7')]=_0x430f54,_0x3c9d42[_0x3b4a('0x4')]=_0x524c74,_0x3c9d42[_0x3b4a('0xf')]({'attributes':{'class':_0x3b4a('0x1')+_0x50e189}}),_0x3c9d42['on']('execute',()=>this[_0x3b4a('0x8')](_0x50e189)),_0x3c9d42;}}
23
+ const _0x4c1c=['check','ck-thread__remove-confirm-inner','submitView','ck-thread__remove-confirm-actions','bindTemplate','ck-thread__remove-confirm','_createButtonView','fire','message','execute','div','set','label','icon','cancelView','ck-thread__remove-confirm-','cancel','setTemplate'];(function(_0x8a399c,_0x4c1c5a){const _0x537093=function(_0x46ab75){while(--_0x46ab75){_0x8a399c['push'](_0x8a399c['shift']());}};_0x537093(++_0x4c1c5a);}(_0x4c1c,0x88));const _0x5370=function(_0x8a399c,_0x4c1c5a){_0x8a399c=_0x8a399c-0x0;let _0x537093=_0x4c1c[_0x8a399c];return _0x537093;};import{View as _0x3203e5,ButtonView as _0x11f40e}from'ckeditor5/src/ui';import{icons as _0x5b9b58}from'ckeditor5/src/core';import{getTranslation as _0x675f0d}from'./common-translations';export default class h extends _0x3203e5{constructor(_0x1d924c){super(_0x1d924c);const _0x5a0d46=this[_0x5370('0xc')];this[_0x5370('0xa')]=this[_0x5370('0xe')](_0x1d924c,_0x675f0d(_0x1d924c,'Yes'),_0x5b9b58[_0x5370('0x8')],'submit'),this[_0x5370('0x4')]=this[_0x5370('0xe')](_0x1d924c,_0x675f0d(_0x1d924c,'No'),_0x5b9b58[_0x5370('0x6')],_0x5370('0x6')),this[_0x5370('0x1')](_0x5370('0x10'),_0x675f0d(_0x1d924c,'Are\x20you\x20sure?')),this[_0x5370('0x7')]({'tag':_0x5370('0x0'),'attributes':{'class':[_0x5370('0xd')]},'children':[{'tag':'div','attributes':{'class':_0x5370('0x9')},'children':[{'tag':'p','children':[{'text':_0x5a0d46['to'](_0x5370('0x10'))}]},{'tag':_0x5370('0x0'),'attributes':{'class':_0x5370('0xb')},'children':[this[_0x5370('0xa')],this['cancelView']]}]}]});}[_0x5370('0xe')](_0x2e1aa0,_0x5773a3,_0xa4fcd4,_0x21bc68){const _0x3d8450=new _0x11f40e(_0x2e1aa0);return _0x3d8450[_0x5370('0x2')]=_0x5773a3,_0x3d8450[_0x5370('0x3')]=_0xa4fcd4,_0x3d8450['extendTemplate']({'attributes':{'class':_0x5370('0x5')+_0x21bc68}}),_0x3d8450['on'](_0x5370('0x11'),()=>this[_0x5370('0xf')](_0x21bc68)),_0x3d8450;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1315=['dateTimeFormat','invalid-date-time-format','\x27Last\x27\x20EEEE\x20hh:mma','function','string','\x27Today\x27\x20hh:mma'];(function(_0x209fe5,_0x131542){const _0x2345e9=function(_0x4fe947){while(--_0x4fe947){_0x209fe5['push'](_0x209fe5['shift']());}};_0x2345e9(++_0x131542);}(_0x1315,0xed));const _0x2345=function(_0x209fe5,_0x131542){_0x209fe5=_0x209fe5-0x0;let _0x2345e9=_0x1315[_0x209fe5];return _0x2345e9;};import _0x479dee from'date-fns/format';import _0xc5180b from'date-fns/parseISO';import _0x439020 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x4f2a00}from'ckeditor5/src/utils';export default function E(_0x545d91={}){if(void 0x0!==_0x545d91[_0x2345('0x3')]&&_0x2345('0x0')!=typeof _0x545d91[_0x2345('0x3')])throw new _0x4f2a00(_0x2345('0x4'));return _0x481ccd=>{const _0x21c42e=_0x2345('0x1')==typeof _0x481ccd?_0xc5180b(_0x481ccd):_0x481ccd,_0x450d6a=new Date(),_0x569249=_0x439020(_0x450d6a,_0x21c42e);return _0x545d91['dateTimeFormat']?_0x545d91[_0x2345('0x3')](_0x21c42e):_0x479dee(_0x21c42e,0x0===_0x569249?_0x2345('0x2'):0x1===_0x569249?'\x27Yesterday\x27\x20hh:mma':_0x569249<0x7?_0x2345('0x5'):'MM-dd-yyyy\x20hh:mma');};}
23
+ const _0x51a1=['invalid-date-time-format','dateTimeFormat','function','MM-dd-yyyy\x20hh:mma','\x27Last\x27\x20EEEE\x20hh:mma'];(function(_0x4ceb23,_0x51a19b){const _0x5f33bd=function(_0x3ba980){while(--_0x3ba980){_0x4ceb23['push'](_0x4ceb23['shift']());}};_0x5f33bd(++_0x51a19b);}(_0x51a1,0x1a7));const _0x5f33=function(_0x4ceb23,_0x51a19b){_0x4ceb23=_0x4ceb23-0x0;let _0x5f33bd=_0x51a1[_0x4ceb23];return _0x5f33bd;};import _0x11c57d from'date-fns/format';import _0x1d4a6b from'date-fns/parseISO';import _0x5fe055 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x59d00d}from'ckeditor5/src/utils';export default function E(_0x3fed38={}){if(void 0x0!==_0x3fed38[_0x5f33('0x3')]&&_0x5f33('0x4')!=typeof _0x3fed38[_0x5f33('0x3')])throw new _0x59d00d(_0x5f33('0x2'));return _0x3a4184=>{const _0x4c6d0e='string'==typeof _0x3a4184?_0x1d4a6b(_0x3a4184):_0x3a4184,_0x1f7cd7=new Date(),_0x5ba643=_0x5fe055(_0x1f7cd7,_0x4c6d0e);return _0x3fed38[_0x5f33('0x3')]?_0x3fed38[_0x5f33('0x3')](_0x4c6d0e):_0x11c57d(_0x4c6d0e,0x0===_0x5ba643?'\x27Today\x27\x20hh:mma':0x1===_0x5ba643?'\x27Yesterday\x27\x20hh:mma':_0x5ba643<0x7?_0x5f33('0x1'):_0x5f33('0x0'));};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32a8=['mapViewToDom','item','domElement','push','getClientRects','markerNameToElements','filter','mapper','length','sort','map','domConverter','view','name','from'];(function(_0x373c38,_0x32a87e){const _0x248cb4=function(_0x1fb495){while(--_0x1fb495){_0x373c38['push'](_0x373c38['shift']());}};_0x248cb4(++_0x32a87e);}(_0x32a8,0x14c));const _0x248c=function(_0x373c38,_0x32a87e){_0x373c38=_0x373c38-0x0;let _0x248cb4=_0x32a8[_0x373c38];return _0x248cb4;};import{first as _0x34136f}from'ckeditor5/src/utils';export default function k(_0x1f5291,_0x3b8da5){const _0x2b9171=_0x1f5291[_0x248c('0x5')]['markerNameToElements'](_0x3b8da5[_0x248c('0xb')]);if(!_0x2b9171)return null;const _0x45492f=_0x34136f(_0x2b9171['values']());return _0x1f5291[_0x248c('0xa')][_0x248c('0x9')][_0x248c('0xd')](_0x45492f)||null;}export function getAllMarkersDomElementsSorted(_0x484dd2,_0x968f9c){if(0x0===_0x968f9c['length'])return null;const _0x396e43=[],_0x2c9619=_0x484dd2[_0x248c('0xa')]['domConverter'];for(const _0x234aad of _0x968f9c){const _0x4a8603=_0x484dd2[_0x248c('0x5')][_0x248c('0x3')](_0x234aad[_0x248c('0xb')]);if(!_0x4a8603)continue;const _0xb55d22=Array[_0x248c('0xc')](_0x4a8603)[_0x248c('0x8')](_0x11dc7c=>_0x2c9619[_0x248c('0xd')](_0x11dc7c))[_0x248c('0x4')](_0x2fdf37=>!!_0x2fdf37);_0x396e43[_0x248c('0x1')](..._0xb55d22);}if(0x0===_0x396e43[_0x248c('0x6')])return null;const _0x4a5e17=[];for(const _0x4f0e8c of _0x396e43){const _0x191ce8=_0x4f0e8c[_0x248c('0x2')]()[_0x248c('0xe')](0x0);_0x191ce8&&_0x4a5e17[_0x248c('0x1')]({'x':_0x191ce8['x'],'y':_0x191ce8['y'],'domElement':_0x4f0e8c});}return 0x0===_0x4a5e17[_0x248c('0x6')]?null:(_0x4a5e17[_0x248c('0x7')]((_0x2535ea,_0xd7b503)=>_0x2535ea['y']-_0xd7b503['y']||_0x2535ea['x']-_0xd7b503['x']),_0x4a5e17['map'](_0x3a0101=>_0x3a0101[_0x248c('0x0')]));}
23
+ const _0x3fb1=['item','values','sort','from','name','view','mapViewToDom','map','domConverter','length','push','markerNameToElements','getClientRects','filter','mapper'];(function(_0x2ca2fe,_0x3fb149){const _0x4929d9=function(_0x192643){while(--_0x192643){_0x2ca2fe['push'](_0x2ca2fe['shift']());}};_0x4929d9(++_0x3fb149);}(_0x3fb1,0x11f));const _0x4929=function(_0x2ca2fe,_0x3fb149){_0x2ca2fe=_0x2ca2fe-0x0;let _0x4929d9=_0x3fb1[_0x2ca2fe];return _0x4929d9;};import{first as _0x34cd93}from'ckeditor5/src/utils';export default function k(_0x290285,_0x2efa1b){const _0x1f1600=_0x290285[_0x4929('0xc')]['markerNameToElements'](_0x2efa1b['name']);if(!_0x1f1600)return null;const _0x3cafbf=_0x34cd93(_0x1f1600[_0x4929('0xe')]());return _0x290285[_0x4929('0x3')]['domConverter'][_0x4929('0x4')](_0x3cafbf)||null;}export function getAllMarkersDomElementsSorted(_0xdbca4c,_0x449912){if(0x0===_0x449912[_0x4929('0x7')])return null;const _0x464985=[],_0x82a788=_0xdbca4c['view'][_0x4929('0x6')];for(const _0x462f7b of _0x449912){const _0x2590c9=_0xdbca4c[_0x4929('0xc')][_0x4929('0x9')](_0x462f7b[_0x4929('0x2')]);if(!_0x2590c9)continue;const _0x430c45=Array[_0x4929('0x1')](_0x2590c9)['map'](_0x32d346=>_0x82a788[_0x4929('0x4')](_0x32d346))[_0x4929('0xb')](_0x2bbfc8=>!!_0x2bbfc8);_0x464985[_0x4929('0x8')](..._0x430c45);}if(0x0===_0x464985[_0x4929('0x7')])return null;const _0x470d60=[];for(const _0x4fca0f of _0x464985){const _0xd482f5=_0x4fca0f[_0x4929('0xa')]()[_0x4929('0xd')](0x0);_0xd482f5&&_0x470d60['push']({'x':_0xd482f5['x'],'y':_0xd482f5['y'],'domElement':_0x4fca0f});}return 0x0===_0x470d60[_0x4929('0x7')]?null:(_0x470d60[_0x4929('0x0')]((_0x198e4b,_0x3a3e45)=>_0x198e4b['y']-_0x3a3e45['y']||_0x198e4b['x']-_0x3a3e45['x']),_0x470d60[_0x4929('0x5')](_0x181a78=>_0x181a78['domElement']));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5083=['isArray','toString','string','boolean','object','sort','keys','number'];(function(_0x2abe21,_0x508338){const _0x29952d=function(_0x35dac7){while(--_0x35dac7){_0x2abe21['push'](_0x2abe21['shift']());}};_0x29952d(++_0x508338);}(_0x5083,0x117));const _0x2995=function(_0x2abe21,_0x508338){_0x2abe21=_0x2abe21-0x0;let _0x29952d=_0x5083[_0x2abe21];return _0x29952d;};export default function b(_0x93460a){let _0x5148b0=0x0,_0x103de1=0x0;for(const _0x4ed79f of g(_0x93460a))_0x5148b0=(_0x5148b0<<0x5)-_0x5148b0+_0x4ed79f,_0x5148b0&=_0x5148b0,[_0x5148b0,_0x103de1]=[_0x103de1,_0x5148b0];return O(_0x5148b0)+O(_0x103de1);}function*j(_0x5797d5){_0x5797d5?_0x2995('0x4')==typeof _0x5797d5?yield 0x1:Array[_0x2995('0x1')](_0x5797d5)?yield*function*(_0x164b34){for(const _0x140069 of _0x164b34)yield*j(_0x140069);}(_0x5797d5):_0x2995('0x5')==typeof _0x5797d5?yield*g(_0x5797d5):_0x2995('0x3')==typeof _0x5797d5?yield*A(_0x5797d5):_0x2995('0x0')==typeof _0x5797d5&&(yield _0x5797d5):yield 0x0;}function*g(_0xafa220){if(yield M('{'),_0xafa220){const _0x5ba8d3=Object[_0x2995('0x7')](_0xafa220)[_0x2995('0x6')]();for(const _0x56607b of _0x5ba8d3){yield*A(_0x56607b),yield M(':');const _0x2622f0=_0xafa220[_0x56607b];yield*j(_0x2622f0);}}yield M('}');}function*A(_0x3e55bb){yield M('\x22');for(const _0x46359b of _0x3e55bb)yield M(_0x46359b);yield M('\x22');}function M(_0x3b4da4){return _0x3b4da4['charCodeAt'](0x0);}function O(_0x5f5d7e){return(_0x5f5d7e*=Math['sign'](_0x5f5d7e))[_0x2995('0x2')](0x24);}
23
+ const _0x9107=['number','charCodeAt','sign','keys','sort','boolean'];(function(_0x520ed9,_0x910793){const _0x464933=function(_0x29a9e5){while(--_0x29a9e5){_0x520ed9['push'](_0x520ed9['shift']());}};_0x464933(++_0x910793);}(_0x9107,0x1bd));const _0x4649=function(_0x520ed9,_0x910793){_0x520ed9=_0x520ed9-0x0;let _0x464933=_0x9107[_0x520ed9];return _0x464933;};export default function b(_0x51f67f){let _0x30dccb=0x0,_0x290be6=0x0;for(const _0x206c8d of g(_0x51f67f))_0x30dccb=(_0x30dccb<<0x5)-_0x30dccb+_0x206c8d,_0x30dccb&=_0x30dccb,[_0x30dccb,_0x290be6]=[_0x290be6,_0x30dccb];return O(_0x30dccb)+O(_0x290be6);}function*j(_0x9e900){_0x9e900?_0x4649('0x4')==typeof _0x9e900?yield 0x1:Array['isArray'](_0x9e900)?yield*function*(_0x39afee){for(const _0x46e533 of _0x39afee)yield*j(_0x46e533);}(_0x9e900):'object'==typeof _0x9e900?yield*g(_0x9e900):'string'==typeof _0x9e900?yield*A(_0x9e900):_0x4649('0x5')==typeof _0x9e900&&(yield _0x9e900):yield 0x0;}function*g(_0x4e5df4){if(yield M('{'),_0x4e5df4){const _0x528885=Object[_0x4649('0x2')](_0x4e5df4)[_0x4649('0x3')]();for(const _0x28acc4 of _0x528885){yield*A(_0x28acc4),yield M(':');const _0x3ca4fb=_0x4e5df4[_0x28acc4];yield*j(_0x3ca4fb);}}yield M('}');}function*A(_0x10873b){yield M('\x22');for(const _0x4e9fd6 of _0x10873b)yield M(_0x4e9fd6);yield M('\x22');}function M(_0x5370c9){return _0x5370c9[_0x4649('0x0')](0x0);}function O(_0x41bab1){return(_0x41bab1*=Math[_0x4649('0x1')](_0x41bab1))['toString'](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c30=['concat','constructor','string','requires','RevisionTracker','find','extraPlugins','set','name','filter','removePlugins','DocumentOutline','includes','pluginName','WebSocketGateway','WProofreader','toolbar','from','builtinPlugins','get','context','map','length','plugins','initialData','_context','rootsAttributes','config','WordCount','Autosave','names','has','every'];(function(_0x474e09,_0x4c3084){const _0x3f16c3=function(_0x1ada0c){while(--_0x1ada0c){_0x474e09['push'](_0x474e09['shift']());}};_0x3f16c3(++_0x4c3084);}(_0x4c30,0x18f));const _0x3f16=function(_0x474e09,_0x4c3084){_0x474e09=_0x474e09-0x0;let _0x3f16c3=_0x4c30[_0x474e09];return _0x3f16c3;};const w=[_0x3f16('0x15'),_0x3f16('0x11'),_0x3f16('0xd'),_0x3f16('0x17')],W=[_0x3f16('0xb'),_0x3f16('0x1'),_0x3f16('0x1a'),_0x3f16('0x19'),_0x3f16('0x8'),_0x3f16('0xc')];function v(_0x7ba8cb,_0x10d121,_0x176809,_0x1b10f9=[]){const _0x115f82=_0x3f16('0x20')==typeof _0x7ba8cb?_0x176809['get'](_0x7ba8cb)[_0x3f16('0x1f')]:_0x7ba8cb,_0x5138a5=_0x115f82[_0x3f16('0xa')]||_0x115f82[_0x3f16('0x5')];if(_0x10d121[_0x3f16('0x1c')](_0x5138a5))return _0x10d121['get'](_0x5138a5);if(_0x10d121['set'](_0x5138a5,!0x0),_0x5138a5&&W[_0x3f16('0x1e')](_0x1b10f9)[_0x3f16('0x9')](_0x5138a5))return _0x10d121['set'](_0x5138a5,!0x1),!0x1;if(!_0x115f82[_0x3f16('0x0')])return _0x10d121['set'](_0x5138a5,!0x0),!0x0;const _0x5e6f66=_0x115f82[_0x3f16('0x0')][_0x3f16('0x1d')](_0x4067f4=>v(_0x4067f4,_0x10d121,_0x176809,_0x1b10f9));return _0x10d121[_0x3f16('0x4')](_0x5138a5,_0x5e6f66),_0x5e6f66;}export default function D(_0x296daf,_0x31a43b){const _0x4caac3={};for(const _0x5c05f7 of _0x296daf[_0x3f16('0x18')][_0x3f16('0x1b')]())w[_0x3f16('0x9')](_0x5c05f7)||(_0x4caac3[_0x5c05f7]=_0x296daf[_0x3f16('0x18')]['get'](_0x5c05f7));const _0x1e1228=_0x4caac3[_0x3f16('0x14')]||[],_0x27fb2b=_0x296daf['constructor'][_0x3f16('0xf')]||[],_0x343e7d=_0x1e1228[_0x3f16('0x13')]?_0x1e1228:_0x27fb2b,_0x22e923=_0x4caac3['extraPlugins']||[];delete _0x4caac3[_0x3f16('0x3')];const _0xc09fa4=_0x4caac3[_0x3f16('0x7')]||[];delete _0x4caac3['removePlugins'];const _0x3a7e43=_0x296daf[_0x3f16('0x16')][_0x3f16('0x18')][_0x3f16('0x10')](_0x3f16('0x14'))||[],_0x45f31b=_0x343e7d[_0x3f16('0x1e')](_0x22e923)[_0x3f16('0x1e')](_0x3a7e43)[_0x3f16('0x12')](_0x52ab71=>_0x3f16('0x20')==typeof _0x52ab71?_0x27fb2b[_0x3f16('0x2')](_0x5f1588=>_0x5f1588['pluginName']==_0x52ab71):_0x52ab71)[_0x3f16('0x6')](_0x37cf39=>!_0xc09fa4['includes'](_0x37cf39)),_0x3496ec=Array[_0x3f16('0xe')](new Set(_0x45f31b)),_0x31ca7c=new Map();return _0x4caac3[_0x3f16('0x14')]=_0x3496ec[_0x3f16('0x6')](_0x32f652=>v(_0x32f652,_0x31ca7c,_0x296daf[_0x3f16('0x14')],_0x31a43b)),_0x4caac3;}
23
+ const _0x5e7f=['extraPlugins','filter','WebSocketGateway','set','from','DocumentOutline','config','string','pluginName','requires','_context','constructor','initialData','builtinPlugins','plugins','context','toolbar','rootsAttributes','find','length','every','get','includes','concat','removePlugins','Autosave','name','map','WProofreader'];(function(_0x258b5f,_0x5e7faf){const _0x3ad07a=function(_0x1e70fc){while(--_0x1e70fc){_0x258b5f['push'](_0x258b5f['shift']());}};_0x3ad07a(++_0x5e7faf);}(_0x5e7f,0x101));const _0x3ad0=function(_0x258b5f,_0x5e7faf){_0x258b5f=_0x258b5f-0x0;let _0x3ad07a=_0x5e7f[_0x258b5f];return _0x3ad07a;};const w=[_0x3ad0('0x10'),_0x3ad0('0x13'),_0x3ad0('0x14'),_0x3ad0('0x15')],W=[_0x3ad0('0x6'),'RevisionTracker',_0x3ad0('0x0'),'WordCount',_0x3ad0('0x9'),_0x3ad0('0x3')];function v(_0x8150cb,_0x1d5f2f,_0x3f37a8,_0x591dec=[]){const _0x3401fb='string'==typeof _0x8150cb?_0x3f37a8[_0x3ad0('0x19')](_0x8150cb)['constructor']:_0x8150cb,_0x138dda=_0x3401fb[_0x3ad0('0xc')]||_0x3401fb[_0x3ad0('0x1')];if(_0x1d5f2f['has'](_0x138dda))return _0x1d5f2f[_0x3ad0('0x19')](_0x138dda);if(_0x1d5f2f[_0x3ad0('0x7')](_0x138dda,!0x0),_0x138dda&&W['concat'](_0x591dec)[_0x3ad0('0x1a')](_0x138dda))return _0x1d5f2f[_0x3ad0('0x7')](_0x138dda,!0x1),!0x1;if(!_0x3401fb[_0x3ad0('0xd')])return _0x1d5f2f[_0x3ad0('0x7')](_0x138dda,!0x0),!0x0;const _0x2930c1=_0x3401fb[_0x3ad0('0xd')][_0x3ad0('0x18')](_0x215e98=>v(_0x215e98,_0x1d5f2f,_0x3f37a8,_0x591dec));return _0x1d5f2f[_0x3ad0('0x7')](_0x138dda,_0x2930c1),_0x2930c1;}export default function D(_0x1d4077,_0x1de23d){const _0x4a0b5d={};for(const _0x4dddb3 of _0x1d4077[_0x3ad0('0xa')]['names']())w[_0x3ad0('0x1a')](_0x4dddb3)||(_0x4a0b5d[_0x4dddb3]=_0x1d4077[_0x3ad0('0xa')]['get'](_0x4dddb3));const _0x3c73f7=_0x4a0b5d[_0x3ad0('0x12')]||[],_0x47fae5=_0x1d4077[_0x3ad0('0xf')][_0x3ad0('0x11')]||[],_0x212509=_0x3c73f7[_0x3ad0('0x17')]?_0x3c73f7:_0x47fae5,_0x9ac6ad=_0x4a0b5d[_0x3ad0('0x4')]||[];delete _0x4a0b5d[_0x3ad0('0x4')];const _0x37669d=_0x4a0b5d[_0x3ad0('0x1c')]||[];delete _0x4a0b5d[_0x3ad0('0x1c')];const _0x31614a=_0x1d4077[_0x3ad0('0xe')]['config']['get'](_0x3ad0('0x12'))||[],_0xfa5c46=_0x212509['concat'](_0x9ac6ad)[_0x3ad0('0x1b')](_0x31614a)[_0x3ad0('0x2')](_0x335941=>_0x3ad0('0xb')==typeof _0x335941?_0x47fae5[_0x3ad0('0x16')](_0x13c0e1=>_0x13c0e1[_0x3ad0('0xc')]==_0x335941):_0x335941)[_0x3ad0('0x5')](_0x17e8b2=>!_0x37669d[_0x3ad0('0x1a')](_0x17e8b2)),_0x6dd772=Array[_0x3ad0('0x8')](new Set(_0xfa5c46)),_0x43a25f=new Map();return _0x4a0b5d[_0x3ad0('0x12')]=_0x6dd772['filter'](_0x1ee4e9=>v(_0x1ee4e9,_0x43a25f,_0x1d4077[_0x3ad0('0x12')],_0x1de23d)),_0x4a0b5d;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d7b=['length','match','join','...','indexOf','substring','push','slice','split','replace','pop','startsWith'];(function(_0x1150e2,_0x5d7bd7){const _0x48b846=function(_0x541f88){while(--_0x541f88){_0x1150e2['push'](_0x1150e2['shift']());}};_0x48b846(++_0x5d7bd7);}(_0x5d7b,0xac));const _0x48b8=function(_0x1150e2,_0x5d7bd7){_0x1150e2=_0x1150e2-0x0;let _0x48b846=_0x5d7b[_0x1150e2];return _0x48b846;};export default function z(_0x17af9a,{limit:_0x29bc8d,suffix:_0x3745fd=_0x48b8('0xb')}){const _0x25d815=[];let _0x307494=0x0;const _0x15aad3=_0x17af9a['replace'](/</g,'\x0a<')[_0x48b8('0x5')](/>/g,'>\x0a')['replace'](/^\n/g,'')[_0x48b8('0x5')](/\n$/g,'')[_0x48b8('0x4')]('\x0a');for(let _0x1fd80b=0x0;_0x1fd80b<_0x15aad3[_0x48b8('0x8')];_0x1fd80b++){let _0x401e19=_0x15aad3[_0x1fd80b];const _0x50997d=Z(_0x401e19);if(_0x401e19['startsWith']('<')){if(_0x307494>=_0x29bc8d){const _0x372499=_0x401e19[_0x48b8('0x9')](/[a-zA-Z]+/);if(!_0x372499){_0x15aad3[_0x1fd80b]='';continue;}const _0x5a9d5d=_0x372499[0x0];_0x401e19[_0x48b8('0x7')]('</')?(_0x25d815['length']&&(_0x401e19=''),_0x25d815[_0x48b8('0x6')]()):(_0x25d815[_0x48b8('0x2')](_0x5a9d5d),_0x401e19='');}}else{if(_0x307494>=_0x29bc8d)_0x401e19='';else{if(_0x307494+_0x50997d['length']>=_0x29bc8d){let _0x5711cb=_0x29bc8d-_0x307494;if('\x20'===_0x50997d[_0x5711cb-0x1])_0x5711cb--;else{const _0x542218=_0x50997d[_0x48b8('0x3')](_0x5711cb)[_0x48b8('0x0')]('\x20');-0x1!==_0x542218?_0x5711cb+=_0x542218:_0x5711cb=_0x401e19[_0x48b8('0x8')];}_0x401e19=_0x50997d[_0x48b8('0x3')](0x0,_0x5711cb)[_0x48b8('0xa')]('')+_0x3745fd,_0x307494=_0x29bc8d;}else _0x307494+=_0x50997d[_0x48b8('0x8')];}}_0x15aad3[_0x1fd80b]=_0x401e19;}return _0x15aad3['join']('\x0a')[_0x48b8('0x5')](/\n/g,'');}function Z(_0x3a0f44){const _0xd4d566=[];for(let _0x5c70ed=0x0;_0x5c70ed<_0x3a0f44[_0x48b8('0x8')];_0x5c70ed++){const _0x4ba1db=_0x3a0f44[_0x48b8('0x1')](_0x5c70ed)[_0x48b8('0x9')](/^&[a-z0-9#]+;/);if(_0x4ba1db){const _0xf29219=_0x4ba1db[0x0];_0xd4d566[_0x48b8('0x2')](_0xf29219),_0x5c70ed+=_0xf29219[_0x48b8('0x8')]-0x1;}else _0xd4d566[_0x48b8('0x2')](_0x3a0f44[_0x5c70ed]);}return _0xd4d566;}
23
+ const _0x2c61=['substring','indexOf','slice','push','startsWith','split','length','...','join','match','pop','replace'];(function(_0x341558,_0x2c619b){const _0x24f8aa=function(_0x402542){while(--_0x402542){_0x341558['push'](_0x341558['shift']());}};_0x24f8aa(++_0x2c619b);}(_0x2c61,0x13e));const _0x24f8=function(_0x341558,_0x2c619b){_0x341558=_0x341558-0x0;let _0x24f8aa=_0x2c61[_0x341558];return _0x24f8aa;};export default function z(_0x20ef0d,{limit:_0x138347,suffix:_0x5cb542=_0x24f8('0x1')}){const _0x30f5fa=[];let _0x50c3ab=0x0;const _0x263ce7=_0x20ef0d[_0x24f8('0x5')](/</g,'\x0a<')[_0x24f8('0x5')](/>/g,'>\x0a')[_0x24f8('0x5')](/^\n/g,'')[_0x24f8('0x5')](/\n$/g,'')[_0x24f8('0xb')]('\x0a');for(let _0x4eb54a=0x0;_0x4eb54a<_0x263ce7[_0x24f8('0x0')];_0x4eb54a++){let _0x5398e5=_0x263ce7[_0x4eb54a];const _0x76f6c5=Z(_0x5398e5);if(_0x5398e5['startsWith']('<')){if(_0x50c3ab>=_0x138347){const _0x517686=_0x5398e5[_0x24f8('0x3')](/[a-zA-Z]+/);if(!_0x517686){_0x263ce7[_0x4eb54a]='';continue;}const _0x15e890=_0x517686[0x0];_0x5398e5[_0x24f8('0xa')]('</')?(_0x30f5fa['length']&&(_0x5398e5=''),_0x30f5fa[_0x24f8('0x4')]()):(_0x30f5fa['push'](_0x15e890),_0x5398e5='');}}else{if(_0x50c3ab>=_0x138347)_0x5398e5='';else{if(_0x50c3ab+_0x76f6c5[_0x24f8('0x0')]>=_0x138347){let _0x25dea2=_0x138347-_0x50c3ab;if('\x20'===_0x76f6c5[_0x25dea2-0x1])_0x25dea2--;else{const _0x1a60b3=_0x76f6c5[_0x24f8('0x8')](_0x25dea2)[_0x24f8('0x7')]('\x20');-0x1!==_0x1a60b3?_0x25dea2+=_0x1a60b3:_0x25dea2=_0x5398e5[_0x24f8('0x0')];}_0x5398e5=_0x76f6c5[_0x24f8('0x8')](0x0,_0x25dea2)[_0x24f8('0x2')]('')+_0x5cb542,_0x50c3ab=_0x138347;}else _0x50c3ab+=_0x76f6c5[_0x24f8('0x0')];}}_0x263ce7[_0x4eb54a]=_0x5398e5;}return _0x263ce7['join']('\x0a')[_0x24f8('0x5')](/\n/g,'');}function Z(_0x2b767b){const _0x2f9e3e=[];for(let _0x2d1466=0x0;_0x2d1466<_0x2b767b[_0x24f8('0x0')];_0x2d1466++){const _0x462c0f=_0x2b767b[_0x24f8('0x6')](_0x2d1466)[_0x24f8('0x3')](/^&[a-z0-9#]+;/);if(_0x462c0f){const _0x5dfc60=_0x462c0f[0x0];_0x2f9e3e[_0x24f8('0x9')](_0x5dfc60),_0x2d1466+=_0x5dfc60[_0x24f8('0x0')]-0x1;}else _0x2f9e3e[_0x24f8('0x9')](_0x2b767b[_0x2d1466]);}return _0x2f9e3e;}