@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20230711.0 → 0.0.0-nightly-20230713.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-20230711.0",
3
+ "version": "0.0.0-nightly-20230713.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-20230711.0",
34
+ "ckeditor5": "0.0.0-nightly-20230713.0",
35
35
  "date-fns": "^2.17.0"
36
36
  },
37
37
  "engines": {
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a5e=['comment:write','isEnabled','plugins','comment:modify_all','noPermissions','permissions-set-permissions-invalid-channel-id','get','forceDisabled','CommentsRepository','config','enableReadOnlyMode','has','pluginName','commands','collaboration.channelId','editors','context','clearForceDisabled','CommentsOnly','setPermissions','includes','document:write'];(function(_0x2e3d20,_0x3a5eb0){const _0x296cb2=function(_0x4033f2){while(--_0x4033f2){_0x2e3d20['push'](_0x2e3d20['shift']());}};_0x296cb2(++_0x3a5eb0);}(_0x3a5e,0x126));const _0x296c=function(_0x2e3d20,_0x3a5eb0){_0x2e3d20=_0x2e3d20-0x0;let _0x296cb2=_0x3a5e[_0x2e3d20];return _0x296cb2;};import{ContextPlugin as _0xd391ad,Editor as _0x20ba05}from'ckeditor5/src/core';import{CKEditorError as _0x287fcd}from'ckeditor5/src/utils';export default class n extends _0xd391ad{static get[_0x296c('0x4')](){return'Permissions';}[_0x296c('0xb')](_0x5759e9,_0x19e7fc){let _0x55969d;if(_0x19e7fc||(_0x19e7fc=this['context'][_0x296c('0x1')][_0x296c('0x14')]('collaboration.channelId')),this['context'][_0x296c('0x1')][_0x296c('0x14')](_0x296c('0x6'))==_0x19e7fc?_0x55969d=this[_0x296c('0x8')]:_0x296c('0x7')in this[_0x296c('0x8')]&&this[_0x296c('0x8')][_0x296c('0x7')]&&(_0x55969d=this[_0x296c('0x8')][_0x296c('0x7')]['find'](_0x2f34d6=>_0x2f34d6[_0x296c('0x1')][_0x296c('0x14')](_0x296c('0x6'))==_0x19e7fc)),!_0x55969d)throw new _0x287fcd(_0x296c('0x13'),null);const _0x4d0b7f=_0x55969d[_0x296c('0x10')],_0x319d76=_0x4d0b7f[_0x296c('0x3')]('CommentsRepository')?_0x4d0b7f['get'](_0x296c('0x0')):void 0x0,_0x3d39e4=_0x4d0b7f[_0x296c('0x3')](_0x296c('0xa'))&&_0x4d0b7f['get'](_0x296c('0xa')),_0x904d42=_0x5759e9[_0x296c('0xc')](_0x296c('0xd')),_0x32a437=_0x5759e9[_0x296c('0xc')](_0x296c('0x11')),_0x49633b=_0x5759e9[_0x296c('0xc')]('comment:admin'),_0x8a8b4b=_0x5759e9[_0x296c('0xc')](_0x296c('0xe')),_0xa69ef5=_0x8a8b4b||_0x49633b,_0x231552=_0xa69ef5||_0x32a437,_0x560d3f=_0x904d42||_0xa69ef5;(_0x3d39e4&&(_0x3d39e4[_0x296c('0xf')]=!_0x904d42&&_0x231552),_0x55969d instanceof _0x20ba05)&&(!(_0x904d42||_0x231552&&_0x319d76)?_0x55969d[_0x296c('0x2')]('no-permissions'):_0x55969d['disableReadOnlyMode']('no-permissions'));if(_0x319d76){_0x319d76['setPermissions']({'admin':_0x49633b,'modifyAll':_0x32a437,'write':_0x8a8b4b,'resolve':_0x560d3f},_0x19e7fc);const _0x5e60a4=_0x55969d instanceof _0x20ba05&&_0x55969d[_0x296c('0x5')][_0x296c('0x14')]('addCommentThread');_0x5e60a4&&(_0xa69ef5?_0x5e60a4[_0x296c('0x9')]('noPermissions'):_0x5e60a4[_0x296c('0x15')](_0x296c('0x12')));}}}
23
+ const _0x38a8=['pluginName','enableReadOnlyMode','noPermissions','config','document:write','includes','disableReadOnlyMode','no-permissions','editors','CommentsOnly','permissions-set-permissions-invalid-channel-id','comment:modify_all','comment:write','CommentsRepository','context','addCommentThread','clearForceDisabled','setPermissions','get','find','has','commands','collaboration.channelId'];(function(_0x1e326b,_0x38a80d){const _0x40ecd9=function(_0x2921b8){while(--_0x2921b8){_0x1e326b['push'](_0x1e326b['shift']());}};_0x40ecd9(++_0x38a80d);}(_0x38a8,0xe2));const _0x40ec=function(_0x1e326b,_0x38a80d){_0x1e326b=_0x1e326b-0x0;let _0x40ecd9=_0x38a8[_0x1e326b];return _0x40ecd9;};import{ContextPlugin as _0xbea5d9,Editor as _0x38b363}from'ckeditor5/src/core';import{CKEditorError as _0x1343a5}from'ckeditor5/src/utils';export default class n extends _0xbea5d9{static get[_0x40ec('0x4')](){return'Permissions';}[_0x40ec('0x15')](_0x413635,_0x49eb85){let _0x422b87;if(_0x49eb85||(_0x49eb85=this['context'][_0x40ec('0x7')][_0x40ec('0x16')](_0x40ec('0x3'))),this[_0x40ec('0x12')][_0x40ec('0x7')][_0x40ec('0x16')]('collaboration.channelId')==_0x49eb85?_0x422b87=this[_0x40ec('0x12')]:'editors'in this['context']&&this[_0x40ec('0x12')][_0x40ec('0xc')]&&(_0x422b87=this[_0x40ec('0x12')][_0x40ec('0xc')][_0x40ec('0x0')](_0x3403a4=>_0x3403a4['config']['get'](_0x40ec('0x3'))==_0x49eb85)),!_0x422b87)throw new _0x1343a5(_0x40ec('0xe'),null);const _0x1f9b03=_0x422b87['plugins'],_0x5a7afd=_0x1f9b03[_0x40ec('0x1')](_0x40ec('0x11'))?_0x1f9b03[_0x40ec('0x16')](_0x40ec('0x11')):void 0x0,_0x220096=_0x1f9b03[_0x40ec('0x1')](_0x40ec('0xd'))&&_0x1f9b03[_0x40ec('0x16')](_0x40ec('0xd')),_0x294df3=_0x413635['includes'](_0x40ec('0x8')),_0x9b1082=_0x413635[_0x40ec('0x9')](_0x40ec('0xf')),_0x22332f=_0x413635['includes']('comment:admin'),_0x34a6ff=_0x413635[_0x40ec('0x9')](_0x40ec('0x10')),_0x17d165=_0x34a6ff||_0x22332f,_0x17b4fe=_0x17d165||_0x9b1082,_0x44975e=_0x294df3||_0x17d165;(_0x220096&&(_0x220096['isEnabled']=!_0x294df3&&_0x17b4fe),_0x422b87 instanceof _0x38b363)&&(!(_0x294df3||_0x17b4fe&&_0x5a7afd)?_0x422b87[_0x40ec('0x5')](_0x40ec('0xb')):_0x422b87[_0x40ec('0xa')](_0x40ec('0xb')));if(_0x5a7afd){_0x5a7afd['setPermissions']({'admin':_0x22332f,'modifyAll':_0x9b1082,'write':_0x34a6ff,'resolve':_0x44975e},_0x49eb85);const _0x3a20bf=_0x422b87 instanceof _0x38b363&&_0x422b87[_0x40ec('0x2')][_0x40ec('0x16')](_0x40ec('0x13'));_0x3a20bf&&(_0x17d165?_0x3a20bf[_0x40ec('0x14')](_0x40ec('0x6')):_0x3a20bf['forceDisabled'](_0x40ec('0x6')));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x39e3=['push','name','ck-user','ck-user__avatar','extendTemplate','ck-user__img','setTemplate','ck\x20ck-user__name\x20ck-user__name--hidden','ck-user__icon','ck-user__anonymous','avatar','div','notificationView','ck-user__notification','url(\x27'];(function(_0x230eeb,_0x39e359){const _0x58b21d=function(_0x375cf7){while(--_0x375cf7){_0x230eeb['push'](_0x230eeb['shift']());}};_0x58b21d(++_0x39e359);}(_0x39e3,0xf7));const _0x58b2=function(_0x230eeb,_0x39e359){_0x230eeb=_0x230eeb-0x0;let _0x58b21d=_0x39e3[_0x230eeb];return _0x58b21d;};import{View as _0x564efb,IconView as _0x4702f6}from'ckeditor5/src/ui';import _0x28987d from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x564efb{constructor(_0x2300ba,_0x594f84,_0x2b22d1){super(_0x2300ba),this[_0x58b2('0x9')]=_0x594f84[_0x58b2('0x9')],this[_0x58b2('0x5')]=null;const _0x371e81=['ck',_0x58b2('0xd')];if(_0x594f84['isAnonymous']&&_0x371e81[_0x58b2('0x8')](_0x58b2('0x2')),_0x594f84[_0x58b2('0x3')]&&_0x371e81[_0x58b2('0x8')](_0x58b2('0xb')),_0x2b22d1){const _0x101c4b=new _0x4702f6();_0x101c4b[_0x58b2('0xc')]({'attributes':{'class':[_0x58b2('0x1')]}}),_0x101c4b['content']=_0x28987d,this[_0x58b2('0x5')]={'tag':_0x58b2('0x4'),'attributes':{'class':['ck',_0x58b2('0x6')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x2b22d1},'children':[_0x101c4b]};}const _0x43c3c8=[{'tag':'div','attributes':{'class':_0x371e81,'style':{'background-image':_0x594f84[_0x58b2('0x3')]?_0x58b2('0x7')+_0x594f84[_0x58b2('0x3')]+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x594f84[_0x58b2('0x3')]?_0x58b2('0x0'):'ck\x20ck-user__name'},'children':[{'text':_0x594f84['initials']}]}];this[_0x58b2('0x5')]&&_0x43c3c8[_0x58b2('0x8')](this[_0x58b2('0x5')]),this[_0x58b2('0xe')]({'tag':'div','attributes':{'class':['ck',_0x58b2('0xa')],'data-user-id':_0x594f84['id']},'children':_0x43c3c8});}}
23
+ const _0x6bba=['ck-user__anonymous','setTemplate','notificationView','ck-user__img','url(\x27','initials','div','extendTemplate','ck-user__avatar','isAnonymous','push','content','ck\x20ck-user__name\x20ck-user__name--hidden','name','ck-user__icon','avatar'];(function(_0x42cc0b,_0x6bba6d){const _0x51dfa9=function(_0x15c3c2){while(--_0x15c3c2){_0x42cc0b['push'](_0x42cc0b['shift']());}};_0x51dfa9(++_0x6bba6d);}(_0x6bba,0x17c));const _0x51df=function(_0x42cc0b,_0x6bba6d){_0x42cc0b=_0x42cc0b-0x0;let _0x51dfa9=_0x6bba[_0x42cc0b];return _0x51dfa9;};import{View as _0x47b0a3,IconView as _0x19d924}from'ckeditor5/src/ui';import _0x4aeef8 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x47b0a3{constructor(_0x4142fc,_0x1dbacc,_0x44a410){super(_0x4142fc),this['name']=_0x1dbacc[_0x51df('0x1')],this['notificationView']=null;const _0x115d94=['ck',_0x51df('0x7')];if(_0x1dbacc[_0x51df('0xd')]&&_0x115d94[_0x51df('0xe')](_0x51df('0x4')),_0x1dbacc[_0x51df('0x3')]&&_0x115d94['push'](_0x51df('0xc')),_0x44a410){const _0x53cbea=new _0x19d924();_0x53cbea[_0x51df('0xb')]({'attributes':{'class':[_0x51df('0x2')]}}),_0x53cbea[_0x51df('0xf')]=_0x4aeef8,this[_0x51df('0x6')]={'tag':_0x51df('0xa'),'attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x44a410},'children':[_0x53cbea]};}const _0x352674=[{'tag':_0x51df('0xa'),'attributes':{'class':_0x115d94,'style':{'background-image':_0x1dbacc['avatar']?_0x51df('0x8')+_0x1dbacc['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x1dbacc[_0x51df('0x3')]?_0x51df('0x0'):'ck\x20ck-user__name'},'children':[{'text':_0x1dbacc[_0x51df('0x9')]}]}];this[_0x51df('0x6')]&&_0x352674[_0x51df('0xe')](this['notificationView']),this[_0x51df('0x5')]({'tag':_0x51df('0xa'),'attributes':{'class':['ck','ck-user'],'data-user-id':_0x1dbacc['id']},'children':_0x352674});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbb39=['licenseKeyInvalid','_id','trim','users-me-missing-user','isAnonymous','ck-user__selection--','_getInitial','licenseKeyTrialLimit:time','get','trial-license-key-reached-limit-time','users','_isAnonymous','name','licenseKey','trial-license-key-reached-limit-revisions','trial-license-key-reached-limit-changes','info','users.colorsCount','_addAnonymousUser','licenseKeyTrialLimit:operations','color','_locale','pluginName','users-add-duplicated-id','getSelectionClass','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.','licenseKeyTrialLimit:revisions','_getNextColor','_licenseKeyCheckInterval','init','defineMe','addUser','length','_myId','Anonymous','has','licenseKeyTrial','invalid-license-key','_lastColor','split','initials','config','context','getMarkerClass','getUser','useAnonymousUser','licenseKeyValid','users.anonymousUserId','define','toUpperCase','ck-user__bg-color--','destroy','avatar','getOperationAuthor','charAt'];(function(_0x5af0d8,_0xbb396f){const _0x369aac=function(_0x51c3ab){while(--_0x51c3ab){_0x5af0d8['push'](_0x5af0d8['shift']());}};_0x369aac(++_0xbb396f);}(_0xbb39,0x1e2));const _0x369a=function(_0x5af0d8,_0xbb396f){_0x5af0d8=_0x5af0d8-0x0;let _0x369aac=_0xbb39[_0x5af0d8];return _0x369aac;};import{ContextPlugin as _0x327772}from'ckeditor5/src/core';import{Collection as _0x46b552,CKEditorError as _0x318bc6}from'ckeditor5/src/utils';import _0x452c71 from'./permissions';import{getTranslation as _0x342722}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x327772{static get[_0x369a('0x23')](){return'Users';}static get['requires'](){return[_0x452c71];}constructor(_0x20e971){super(_0x20e971),this[_0x369a('0x0')]['config'][_0x369a('0x6')](_0x369a('0x5'),'anonymous-user'),this[_0x369a('0x0')][_0x369a('0x36')]['define'](_0x369a('0x1e'),0x8),this[_0x369a('0x17')]=new _0x46b552(),this[_0x369a('0x22')]=_0x20e971['locale'],this[_0x369a('0x29')]=null,this[_0x369a('0x33')]=0x0,this[_0x369a('0x2e')]=null,this['decorate'](_0x369a('0xb'));}[_0x369a('0x2a')](){const _0x42bbd2=this[_0x369a('0x0')];this[_0x369a('0x1a')]=_0x42bbd2[_0x369a('0x36')][_0x369a('0x15')](_0x369a('0x1a'));const _0x59dd6d=[_0x369a('0x31'),_0x369a('0xd'),'licenseKeyValid','licenseKeyTrialLimit:operations',_0x369a('0x14'),'licenseKeyTrialLimit:revisions'];this[_0x369a('0x29')]=setInterval(()=>{let _0x24cca0;for(const _0x2ad270 in _0x42bbd2){const _0x1d9449=_0x42bbd2[_0x2ad270];if(_0x59dd6d['includes'](_0x1d9449)){delete _0x42bbd2[_0x2ad270],_0x24cca0=_0x1d9449;break;}}if(_0x369a('0xd')===_0x24cca0)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x318bc6(_0x369a('0x32'),null);if(_0x369a('0x31')===_0x24cca0&&console[_0x369a('0x1d')](_0x369a('0x26')),_0x369a('0x20')===_0x24cca0)throw clearInterval(this[_0x369a('0x29')]),new _0x318bc6(_0x369a('0x1c'),null);if(_0x369a('0x14')===_0x24cca0)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x318bc6(_0x369a('0x16'),null);if(_0x369a('0x27')===_0x24cca0)throw clearInterval(this[_0x369a('0x29')]),new _0x318bc6(_0x369a('0x1b'),null);_0x369a('0x4')===_0x24cca0&&clearInterval(this[_0x369a('0x29')]);},0x3e8),this[_0x369a('0x1f')]();}get['me'](){return null==this[_0x369a('0x2e')]?null:this['getUser'](this[_0x369a('0x2e')]);}[_0x369a('0x2c')]({id:_0x5dfe63,name:_0x58cc47,..._0x17567c}){if(!_0x5dfe63||'string'!=typeof _0x5dfe63)throw new _0x318bc6('users-add-invalid-id');if(this['users'][_0x369a('0x30')](_0x5dfe63))throw new _0x318bc6(_0x369a('0x24'),null,{'id':_0x5dfe63});const _0xde7ab2={..._0x17567c,'id':_0x5dfe63,'name':a(this[_0x369a('0x22')],_0x58cc47),'color':this[_0x369a('0x28')]()};_0xde7ab2['name']=a(this[_0x369a('0x22')],_0xde7ab2[_0x369a('0x19')]);const _0x30fb98=new User(_0xde7ab2);return this[_0x369a('0x17')]['add'](_0x30fb98),_0x30fb98;}[_0x369a('0x2')](_0x5c7252){return this[_0x369a('0x17')][_0x369a('0x15')](_0x5c7252);}[_0x369a('0x3')](){const _0x40a299=this[_0x369a('0x0')][_0x369a('0x36')][_0x369a('0x15')](_0x369a('0x5'));this[_0x369a('0x2e')]||this[_0x369a('0x2b')](_0x40a299);}['defineMe'](_0x2dce71){if(this[_0x369a('0x2e')])throw new _0x318bc6('users-me-already-defined',null);if(!this[_0x369a('0x2')](_0x2dce71))throw new _0x318bc6(_0x369a('0x10'),null);this[_0x369a('0x2e')]=_0x2dce71;}[_0x369a('0xb')](){return this['me'];}['destroy'](){super[_0x369a('0x9')](),clearInterval(this[_0x369a('0x29')]);}[_0x369a('0x28')](){const _0x3a3a9e=this[_0x369a('0x0')][_0x369a('0x36')][_0x369a('0x15')](_0x369a('0x1e'));return this['_lastColor']>=_0x3a3a9e&&(this['_lastColor']=0x0),new u(this['_lastColor']++);}[_0x369a('0x1f')](){const _0x4d0964=this[_0x369a('0x0')][_0x369a('0x36')][_0x369a('0x15')](_0x369a('0x5'));this[_0x369a('0x2c')]({'id':_0x4d0964,'name':_0x342722(this[_0x369a('0x22')],_0x369a('0x2f'))})['_isAnonymous']=!0x0;}}export class User{constructor(_0x135a3c){this['id']=_0x135a3c['id'],this[_0x369a('0x21')]=_0x135a3c[_0x369a('0x21')],this[_0x369a('0x19')]=_0x135a3c['name'],this['avatar']=_0x135a3c[_0x369a('0xa')],this['_isAnonymous']=!0x1;}get[_0x369a('0x11')](){return this[_0x369a('0x18')];}get[_0x369a('0x35')](){const _0x8b1db3=this[_0x369a('0x19')][_0x369a('0x34')]('\x20');return 0x1===_0x8b1db3['length']?this['_getInitial'](_0x8b1db3[0x0]):this[_0x369a('0x13')](_0x8b1db3[0x0])+this[_0x369a('0x13')](_0x8b1db3[_0x8b1db3[_0x369a('0x2d')]-0x1]);}[_0x369a('0x13')](_0x5695c8){return _0x5695c8[_0x369a('0xc')](0x0)[_0x369a('0x7')]();}}function a(_0x38b505,_0xb10d5b=''){return''==(_0xb10d5b=_0xb10d5b[_0x369a('0xf')]())?_0x342722(_0x38b505,_0x369a('0x2f')):_0xb10d5b;}class u{constructor(_0x2d1181){this['_id']=_0x2d1181;}['getBackgroundColorClass'](){return _0x369a('0x8')+this[_0x369a('0xe')];}[_0x369a('0x25')](){return _0x369a('0x12')+this[_0x369a('0xe')];}[_0x369a('0x1')](){return'ck-user__marker--'+this[_0x369a('0xe')];}}
23
+ const _0x18d4=['_getInitial','destroy','licenseKeyInvalid','init','licenseKey','_isAnonymous','users-me-missing-user','trim','_id','licenseKeyTrial','anonymous-user','getOperationAuthor','pluginName','_locale','decorate','_licenseKeyCheckInterval','info','licenseKeyTrialLimit:revisions','includes','users-me-already-defined','Users','name','_myId','toUpperCase','color','define','trial-license-key-reached-limit-time','licenseKeyTrialLimit:operations','_addAnonymousUser','ck-user__marker--','_lastColor','ck-user__selection--','ck-user__bg-color--','avatar','get','addUser','config','trial-license-key-reached-limit-changes','_getNextColor','defineMe','length','getBackgroundColorClass','has','users.anonymousUserId','getUser','licenseKeyTrialLimit:time','context','getMarkerClass','Anonymous','users','users.colorsCount','useAnonymousUser','getSelectionClass','charAt','trial-license-key-reached-limit-revisions','licenseKeyValid'];(function(_0x1bf923,_0x18d453){const _0x5442a2=function(_0x292302){while(--_0x292302){_0x1bf923['push'](_0x1bf923['shift']());}};_0x5442a2(++_0x18d453);}(_0x18d4,0xd9));const _0x5442=function(_0x1bf923,_0x18d453){_0x1bf923=_0x1bf923-0x0;let _0x5442a2=_0x18d4[_0x1bf923];return _0x5442a2;};import{ContextPlugin as _0x12c85c}from'ckeditor5/src/core';import{Collection as _0x35e550,CKEditorError as _0x13778c}from'ckeditor5/src/utils';import _0x198217 from'./permissions';import{getTranslation as _0x30ace5}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x12c85c{static get[_0x5442('0x13')](){return _0x5442('0x1b');}static get['requires'](){return[_0x198217];}constructor(_0x2e09af){super(_0x2e09af),this['context'][_0x5442('0x2b')]['define'](_0x5442('0x32'),_0x5442('0x11')),this[_0x5442('0x35')][_0x5442('0x2b')][_0x5442('0x20')](_0x5442('0x1'),0x8),this[_0x5442('0x0')]=new _0x35e550(),this[_0x5442('0x14')]=_0x2e09af['locale'],this[_0x5442('0x16')]=null,this[_0x5442('0x25')]=0x0,this[_0x5442('0x1d')]=null,this[_0x5442('0x15')](_0x5442('0x12'));}[_0x5442('0xa')](){const _0x8094cd=this[_0x5442('0x35')];this[_0x5442('0xb')]=_0x8094cd['config'][_0x5442('0x29')](_0x5442('0xb'));const _0x21a7d2=[_0x5442('0x10'),_0x5442('0x9'),'licenseKeyValid',_0x5442('0x22'),'licenseKeyTrialLimit:time',_0x5442('0x18')];this[_0x5442('0x16')]=setInterval(()=>{let _0x109763;for(const _0x28453f in _0x8094cd){const _0x58b9ed=_0x8094cd[_0x28453f];if(_0x21a7d2[_0x5442('0x19')](_0x58b9ed)){delete _0x8094cd[_0x28453f],_0x109763=_0x58b9ed;break;}}if(_0x5442('0x9')===_0x109763)throw clearInterval(this[_0x5442('0x16')]),new _0x13778c('invalid-license-key',null);if(_0x5442('0x10')===_0x109763&&console[_0x5442('0x17')]('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.'),'licenseKeyTrialLimit:operations'===_0x109763)throw clearInterval(this[_0x5442('0x16')]),new _0x13778c(_0x5442('0x2c'),null);if(_0x5442('0x34')===_0x109763)throw clearInterval(this[_0x5442('0x16')]),new _0x13778c(_0x5442('0x21'),null);if('licenseKeyTrialLimit:revisions'===_0x109763)throw clearInterval(this[_0x5442('0x16')]),new _0x13778c(_0x5442('0x5'),null);_0x5442('0x6')===_0x109763&&clearInterval(this[_0x5442('0x16')]);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this[_0x5442('0x1d')]?null:this[_0x5442('0x33')](this['_myId']);}[_0x5442('0x2a')]({id:_0x292d3a,name:_0xf8e077,..._0x5496c3}){if(!_0x292d3a||'string'!=typeof _0x292d3a)throw new _0x13778c('users-add-invalid-id');if(this[_0x5442('0x0')][_0x5442('0x31')](_0x292d3a))throw new _0x13778c('users-add-duplicated-id',null,{'id':_0x292d3a});const _0x292e07={..._0x5496c3,'id':_0x292d3a,'name':a(this[_0x5442('0x14')],_0xf8e077),'color':this[_0x5442('0x2d')]()};_0x292e07['name']=a(this['_locale'],_0x292e07[_0x5442('0x1c')]);const _0x4201d4=new User(_0x292e07);return this['users']['add'](_0x4201d4),_0x4201d4;}[_0x5442('0x33')](_0x30e031){return this[_0x5442('0x0')][_0x5442('0x29')](_0x30e031);}[_0x5442('0x2')](){const _0x579d26=this[_0x5442('0x35')][_0x5442('0x2b')][_0x5442('0x29')]('users.anonymousUserId');this['_myId']||this[_0x5442('0x2e')](_0x579d26);}['defineMe'](_0x2fb547){if(this[_0x5442('0x1d')])throw new _0x13778c(_0x5442('0x1a'),null);if(!this[_0x5442('0x33')](_0x2fb547))throw new _0x13778c(_0x5442('0xd'),null);this[_0x5442('0x1d')]=_0x2fb547;}[_0x5442('0x12')](){return this['me'];}[_0x5442('0x8')](){super[_0x5442('0x8')](),clearInterval(this[_0x5442('0x16')]);}['_getNextColor'](){const _0x210643=this[_0x5442('0x35')][_0x5442('0x2b')]['get'](_0x5442('0x1'));return this[_0x5442('0x25')]>=_0x210643&&(this[_0x5442('0x25')]=0x0),new u(this['_lastColor']++);}[_0x5442('0x23')](){const _0x3acf95=this['context'][_0x5442('0x2b')][_0x5442('0x29')](_0x5442('0x32'));this[_0x5442('0x2a')]({'id':_0x3acf95,'name':_0x30ace5(this[_0x5442('0x14')],_0x5442('0x37'))})[_0x5442('0xc')]=!0x0;}}export class User{constructor(_0x2cf011){this['id']=_0x2cf011['id'],this[_0x5442('0x1f')]=_0x2cf011[_0x5442('0x1f')],this[_0x5442('0x1c')]=_0x2cf011['name'],this['avatar']=_0x2cf011[_0x5442('0x28')],this[_0x5442('0xc')]=!0x1;}get['isAnonymous'](){return this[_0x5442('0xc')];}get['initials'](){const _0xdb48ff=this[_0x5442('0x1c')]['split']('\x20');return 0x1===_0xdb48ff['length']?this['_getInitial'](_0xdb48ff[0x0]):this[_0x5442('0x7')](_0xdb48ff[0x0])+this[_0x5442('0x7')](_0xdb48ff[_0xdb48ff[_0x5442('0x2f')]-0x1]);}[_0x5442('0x7')](_0x158c31){return _0x158c31[_0x5442('0x4')](0x0)[_0x5442('0x1e')]();}}function a(_0x1ab0ce,_0x133dac=''){return''==(_0x133dac=_0x133dac[_0x5442('0xe')]())?_0x30ace5(_0x1ab0ce,_0x5442('0x37')):_0x133dac;}class u{constructor(_0xd445a1){this['_id']=_0xd445a1;}[_0x5442('0x30')](){return _0x5442('0x27')+this['_id'];}[_0x5442('0x3')](){return _0x5442('0x26')+this[_0x5442('0xf')];}[_0x5442('0x36')](){return _0x5442('0x24')+this['_id'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0xbd0f3f,_0x255740){const t=_0xbd0f3f['t'];switch(_0x255740){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(_0x15b2bd,_0x4f738c){const t=_0x15b2bd['t'];switch(_0x4f738c){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 _0x5411=['isConfirm','destroy','registerChild','render','deregisterChild','_removeConfirm','element','appendChild','confirmView','remove','once','fire','focus','cancelConfirm','submit','message'];(function(_0x24cedf,_0x5411d6){var _0x3bbc16=function(_0x42c1cc){while(--_0x42c1cc){_0x24cedf['push'](_0x24cedf['shift']());}};_0x3bbc16(++_0x5411d6);}(_0x5411,0xfe));var _0x3bbc=function(_0x24cedf,_0x5411d6){_0x24cedf=_0x24cedf-0x0;var _0x3bbc16=_0x5411[_0x24cedf];return _0x3bbc16;};import _0x4ed46a from'./confirmview';export default function m(_0x225a40){return class extends _0x225a40{['showConfirm'](_0x2d4a0f,_0x4c2c2f){return this[_0x3bbc('0xa')]=new _0x4ed46a(this['locale']),this[_0x3bbc('0xa')][_0x3bbc('0x5')](),this[_0x3bbc('0xa')][_0x3bbc('0x1')]=_0x2d4a0f,this[_0x3bbc('0xa')][_0x3bbc('0xc')]('cancel',()=>{this['_removeConfirm']();}),this[_0x3bbc('0xa')]['once'](_0x3bbc('0x0'),()=>{this[_0x3bbc('0x7')]();}),_0x4c2c2f[_0x3bbc('0x9')](this['confirmView'][_0x3bbc('0x8')]),this[_0x3bbc('0x4')](this[_0x3bbc('0xa')]),this['element'][_0x3bbc('0xe')](),this['set'](_0x3bbc('0x2'),!0x0),new Promise(_0x1e0567=>this[_0x3bbc('0xa')]['on']('submit',_0x1e0567));}[_0x3bbc('0xf')](){this['isConfirm']&&this[_0x3bbc('0xa')][_0x3bbc('0xd')]('cancel');}[_0x3bbc('0x7')](){this[_0x3bbc('0x8')]&&this['confirmView']&&this[_0x3bbc('0xa')][_0x3bbc('0x8')]&&(this[_0x3bbc('0x8')][_0x3bbc('0xe')](),this[_0x3bbc('0xa')][_0x3bbc('0x8')][_0x3bbc('0xb')](),this[_0x3bbc('0x6')](this[_0x3bbc('0xa')]),this[_0x3bbc('0x2')]=!0x1,this[_0x3bbc('0xa')][_0x3bbc('0x3')](),this[_0x3bbc('0xa')]=void 0x0);}};}
23
+ var _0x17aa=['element','cancel','appendChild','showConfirm','remove','_removeConfirm','submit','focus','cancelConfirm','deregisterChild','isConfirm','confirmView','message','once','set'];(function(_0x56fea4,_0x17aa73){var _0x3e5a78=function(_0x33fafc){while(--_0x33fafc){_0x56fea4['push'](_0x56fea4['shift']());}};_0x3e5a78(++_0x17aa73);}(_0x17aa,0x1d1));var _0x3e5a=function(_0x56fea4,_0x17aa73){_0x56fea4=_0x56fea4-0x0;var _0x3e5a78=_0x17aa[_0x56fea4];return _0x3e5a78;};import _0x2cc246 from'./confirmview';export default function m(_0x1f86d8){return class extends _0x1f86d8{[_0x3e5a('0x3')](_0x49815d,_0x193056){return this['confirmView']=new _0x2cc246(this['locale']),this[_0x3e5a('0xb')]['render'](),this['confirmView'][_0x3e5a('0xc')]=_0x49815d,this[_0x3e5a('0xb')]['once'](_0x3e5a('0x1'),()=>{this[_0x3e5a('0x5')]();}),this['confirmView'][_0x3e5a('0xd')](_0x3e5a('0x6'),()=>{this[_0x3e5a('0x5')]();}),_0x193056[_0x3e5a('0x2')](this[_0x3e5a('0xb')][_0x3e5a('0x0')]),this['registerChild'](this[_0x3e5a('0xb')]),this[_0x3e5a('0x0')][_0x3e5a('0x7')](),this[_0x3e5a('0xe')](_0x3e5a('0xa'),!0x0),new Promise(_0x50500e=>this[_0x3e5a('0xb')]['on']('submit',_0x50500e));}[_0x3e5a('0x8')](){this[_0x3e5a('0xa')]&&this[_0x3e5a('0xb')]['fire'](_0x3e5a('0x1'));}['_removeConfirm'](){this[_0x3e5a('0x0')]&&this['confirmView']&&this[_0x3e5a('0xb')][_0x3e5a('0x0')]&&(this[_0x3e5a('0x0')][_0x3e5a('0x7')](),this[_0x3e5a('0xb')][_0x3e5a('0x0')][_0x3e5a('0x4')](),this[_0x3e5a('0x9')](this['confirmView']),this[_0x3e5a('0xa')]=!0x1,this[_0x3e5a('0xb')]['destroy'](),this[_0x3e5a('0xb')]=void 0x0);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x529f=['setTemplate','ck-thread__remove-confirm-actions','div','ck-thread__remove-confirm-inner','Are\x20you\x20sure?','_createButtonView','cancelView','submitView','submit','bindTemplate','label','message','fire','set','cancel','ck-thread__remove-confirm-','ck-thread__remove-confirm','Yes','extendTemplate','execute','icon'];(function(_0x3ce1e5,_0x529fdf){const _0x430007=function(_0x2d9527){while(--_0x2d9527){_0x3ce1e5['push'](_0x3ce1e5['shift']());}};_0x430007(++_0x529fdf);}(_0x529f,0x163));const _0x4300=function(_0x3ce1e5,_0x529fdf){_0x3ce1e5=_0x3ce1e5-0x0;let _0x430007=_0x529f[_0x3ce1e5];return _0x430007;};import{View as _0x3ff03f,ButtonView as _0x3f0a59}from'ckeditor5/src/ui';import{icons as _0x55b865}from'ckeditor5/src/core';import{getTranslation as _0x4018f8}from'./common-translations';export default class h extends _0x3ff03f{constructor(_0x29961a){super(_0x29961a);const _0x117602=this[_0x4300('0xb')];this[_0x4300('0x9')]=this['_createButtonView'](_0x29961a,_0x4018f8(_0x29961a,_0x4300('0x13')),_0x55b865['check'],_0x4300('0xa')),this[_0x4300('0x8')]=this[_0x4300('0x7')](_0x29961a,_0x4018f8(_0x29961a,'No'),_0x55b865[_0x4300('0x10')],_0x4300('0x10')),this[_0x4300('0xf')](_0x4300('0xd'),_0x4018f8(_0x29961a,_0x4300('0x6'))),this[_0x4300('0x2')]({'tag':_0x4300('0x4'),'attributes':{'class':[_0x4300('0x12')]},'children':[{'tag':_0x4300('0x4'),'attributes':{'class':_0x4300('0x5')},'children':[{'tag':'p','children':[{'text':_0x117602['to'](_0x4300('0xd'))}]},{'tag':'div','attributes':{'class':_0x4300('0x3')},'children':[this[_0x4300('0x9')],this[_0x4300('0x8')]]}]}]});}[_0x4300('0x7')](_0x1feda8,_0x438571,_0x2f3c6a,_0x1e16f7){const _0x4cf45c=new _0x3f0a59(_0x1feda8);return _0x4cf45c[_0x4300('0xc')]=_0x438571,_0x4cf45c[_0x4300('0x1')]=_0x2f3c6a,_0x4cf45c[_0x4300('0x14')]({'attributes':{'class':_0x4300('0x11')+_0x1e16f7}}),_0x4cf45c['on'](_0x4300('0x0'),()=>this[_0x4300('0xe')](_0x1e16f7)),_0x4cf45c;}}
23
+ const _0x4e68=['Yes','execute','ck-thread__remove-confirm','label','div','bindTemplate','Are\x20you\x20sure?','cancel','icon','submitView','setTemplate','message','cancelView','submit','ck-thread__remove-confirm-actions','ck-thread__remove-confirm-inner','extendTemplate','_createButtonView'];(function(_0x5263cd,_0x4e683b){const _0x3dd54a=function(_0x60c65d){while(--_0x60c65d){_0x5263cd['push'](_0x5263cd['shift']());}};_0x3dd54a(++_0x4e683b);}(_0x4e68,0x1be));const _0x3dd5=function(_0x5263cd,_0x4e683b){_0x5263cd=_0x5263cd-0x0;let _0x3dd54a=_0x4e68[_0x5263cd];return _0x3dd54a;};import{View as _0x1b0303,ButtonView as _0x174590}from'ckeditor5/src/ui';import{icons as _0x249ff7}from'ckeditor5/src/core';import{getTranslation as _0x24ecb9}from'./common-translations';export default class h extends _0x1b0303{constructor(_0x486c3e){super(_0x486c3e);const _0xbe352=this[_0x3dd5('0x9')];this[_0x3dd5('0xd')]=this[_0x3dd5('0x3')](_0x486c3e,_0x24ecb9(_0x486c3e,_0x3dd5('0x4')),_0x249ff7['check'],_0x3dd5('0x11')),this['cancelView']=this['_createButtonView'](_0x486c3e,_0x24ecb9(_0x486c3e,'No'),_0x249ff7[_0x3dd5('0xb')],'cancel'),this['set'](_0x3dd5('0xf'),_0x24ecb9(_0x486c3e,_0x3dd5('0xa'))),this[_0x3dd5('0xe')]({'tag':'div','attributes':{'class':[_0x3dd5('0x6')]},'children':[{'tag':_0x3dd5('0x8'),'attributes':{'class':_0x3dd5('0x1')},'children':[{'tag':'p','children':[{'text':_0xbe352['to'](_0x3dd5('0xf'))}]},{'tag':_0x3dd5('0x8'),'attributes':{'class':_0x3dd5('0x0')},'children':[this['submitView'],this[_0x3dd5('0x10')]]}]}]});}[_0x3dd5('0x3')](_0x506cfe,_0x57d551,_0x447c52,_0x280200){const _0x6dbf3c=new _0x174590(_0x506cfe);return _0x6dbf3c[_0x3dd5('0x7')]=_0x57d551,_0x6dbf3c[_0x3dd5('0xc')]=_0x447c52,_0x6dbf3c[_0x3dd5('0x2')]({'attributes':{'class':'ck-thread__remove-confirm-'+_0x280200}}),_0x6dbf3c['on'](_0x3dd5('0x5'),()=>this['fire'](_0x280200)),_0x6dbf3c;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29fd=['\x27Last\x27\x20EEEE\x20hh:mma','MM-dd-yyyy\x20hh:mma','dateTimeFormat','\x27Today\x27\x20hh:mma'];(function(_0x5b2359,_0x29fd43){const _0x1774f4=function(_0x503d2d){while(--_0x503d2d){_0x5b2359['push'](_0x5b2359['shift']());}};_0x1774f4(++_0x29fd43);}(_0x29fd,0x1e3));const _0x1774=function(_0x5b2359,_0x29fd43){_0x5b2359=_0x5b2359-0x0;let _0x1774f4=_0x29fd[_0x5b2359];return _0x1774f4;};import _0x45ec38 from'date-fns/format';import _0x15cfd5 from'date-fns/parseISO';import _0x59e43 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x1b8057}from'ckeditor5/src/utils';export default function E(_0x3f4574={}){if(void 0x0!==_0x3f4574[_0x1774('0x3')]&&'function'!=typeof _0x3f4574[_0x1774('0x3')])throw new _0x1b8057('invalid-date-time-format');return _0x2e63ac=>{const _0x4d667e='string'==typeof _0x2e63ac?_0x15cfd5(_0x2e63ac):_0x2e63ac,_0x5b0f88=new Date(),_0x547c9f=_0x59e43(_0x5b0f88,_0x4d667e);return _0x3f4574[_0x1774('0x3')]?_0x3f4574[_0x1774('0x3')](_0x4d667e):_0x45ec38(_0x4d667e,0x0===_0x547c9f?_0x1774('0x0'):0x1===_0x547c9f?'\x27Yesterday\x27\x20hh:mma':_0x547c9f<0x7?_0x1774('0x1'):_0x1774('0x2'));};}
23
+ const _0x2bf8=['dateTimeFormat','\x27Last\x27\x20EEEE\x20hh:mma','\x27Yesterday\x27\x20hh:mma','\x27Today\x27\x20hh:mma','function'];(function(_0x32953e,_0x2bf8eb){const _0x27b8b0=function(_0x338c00){while(--_0x338c00){_0x32953e['push'](_0x32953e['shift']());}};_0x27b8b0(++_0x2bf8eb);}(_0x2bf8,0x138));const _0x27b8=function(_0x32953e,_0x2bf8eb){_0x32953e=_0x32953e-0x0;let _0x27b8b0=_0x2bf8[_0x32953e];return _0x27b8b0;};import _0x6dab38 from'date-fns/format';import _0x54a0b9 from'date-fns/parseISO';import _0x40a12d from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x4830f7}from'ckeditor5/src/utils';export default function E(_0x57fb6d={}){if(void 0x0!==_0x57fb6d[_0x27b8('0x3')]&&_0x27b8('0x2')!=typeof _0x57fb6d[_0x27b8('0x3')])throw new _0x4830f7('invalid-date-time-format');return _0x5c52dc=>{const _0x3459ab='string'==typeof _0x5c52dc?_0x54a0b9(_0x5c52dc):_0x5c52dc,_0x384239=new Date(),_0x377e05=_0x40a12d(_0x384239,_0x3459ab);return _0x57fb6d['dateTimeFormat']?_0x57fb6d['dateTimeFormat'](_0x3459ab):_0x6dab38(_0x3459ab,0x0===_0x377e05?_0x27b8('0x1'):0x1===_0x377e05?_0x27b8('0x0'):_0x377e05<0x7?_0x27b8('0x4'):'MM-dd-yyyy\x20hh:mma');};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1365=['markerNameToElements','values','view','getClientRects','sort','map','name','domConverter','item','length','push','mapViewToDom','domElement','from'];(function(_0x58c0d4,_0x1365ed){const _0x505dbd=function(_0x368cec){while(--_0x368cec){_0x58c0d4['push'](_0x58c0d4['shift']());}};_0x505dbd(++_0x1365ed);}(_0x1365,0x1d9));const _0x505d=function(_0x58c0d4,_0x1365ed){_0x58c0d4=_0x58c0d4-0x0;let _0x505dbd=_0x1365[_0x58c0d4];return _0x505dbd;};import{first as _0x492909}from'ckeditor5/src/utils';export default function k(_0x5a58f0,_0xc5efe3){const _0x5c4dd9=_0x5a58f0['mapper'][_0x505d('0x3')](_0xc5efe3[_0x505d('0x9')]);if(!_0x5c4dd9)return null;const _0x4796b6=_0x492909(_0x5c4dd9[_0x505d('0x4')]());return _0x5a58f0[_0x505d('0x5')][_0x505d('0xa')][_0x505d('0x0')](_0x4796b6)||null;}export function getAllMarkersDomElementsSorted(_0x2342b5,_0x526a3b){if(0x0===_0x526a3b['length'])return null;const _0x3c1d6e=[],_0x3b54af=_0x2342b5[_0x505d('0x5')]['domConverter'];for(const _0x2c4c3b of _0x526a3b){const _0x4a6dc6=_0x2342b5['mapper'][_0x505d('0x3')](_0x2c4c3b[_0x505d('0x9')]);if(!_0x4a6dc6)continue;const _0x120283=Array[_0x505d('0x2')](_0x4a6dc6)[_0x505d('0x8')](_0x34e84f=>_0x3b54af[_0x505d('0x0')](_0x34e84f))['filter'](_0x226830=>!!_0x226830);_0x3c1d6e[_0x505d('0xd')](..._0x120283);}if(0x0===_0x3c1d6e[_0x505d('0xc')])return null;const _0x4bc0bc=[];for(const _0x12abd3 of _0x3c1d6e){const _0x3b1038=_0x12abd3[_0x505d('0x6')]()[_0x505d('0xb')](0x0);_0x3b1038&&_0x4bc0bc[_0x505d('0xd')]({'x':_0x3b1038['x'],'y':_0x3b1038['y'],'domElement':_0x12abd3});}return 0x0===_0x4bc0bc['length']?null:(_0x4bc0bc[_0x505d('0x7')]((_0x1f089b,_0x5d589c)=>_0x1f089b['y']-_0x5d589c['y']||_0x1f089b['x']-_0x5d589c['x']),_0x4bc0bc[_0x505d('0x8')](_0x3c67cb=>_0x3c67cb[_0x505d('0x1')]));}
23
+ const _0x9703=['length','filter','values','domConverter','from','sort','item','view','map','domElement','markerNameToElements','push','mapViewToDom'];(function(_0x12f144,_0x970333){const _0x439033=function(_0x568977){while(--_0x568977){_0x12f144['push'](_0x12f144['shift']());}};_0x439033(++_0x970333);}(_0x9703,0xb3));const _0x4390=function(_0x12f144,_0x970333){_0x12f144=_0x12f144-0x0;let _0x439033=_0x9703[_0x12f144];return _0x439033;};import{first as _0x3df303}from'ckeditor5/src/utils';export default function k(_0x1b32ea,_0x56becb){const _0x1f6209=_0x1b32ea['mapper'][_0x4390('0x0')](_0x56becb['name']);if(!_0x1f6209)return null;const _0x2f4e75=_0x3df303(_0x1f6209[_0x4390('0x5')]());return _0x1b32ea[_0x4390('0xa')]['domConverter'][_0x4390('0x2')](_0x2f4e75)||null;}export function getAllMarkersDomElementsSorted(_0x1c8071,_0x40776f){if(0x0===_0x40776f[_0x4390('0x3')])return null;const _0x1bc95e=[],_0x47fd02=_0x1c8071[_0x4390('0xa')][_0x4390('0x6')];for(const _0x3d857b of _0x40776f){const _0x1042fe=_0x1c8071['mapper']['markerNameToElements'](_0x3d857b['name']);if(!_0x1042fe)continue;const _0x30dfa1=Array[_0x4390('0x7')](_0x1042fe)[_0x4390('0xb')](_0xfea45=>_0x47fd02[_0x4390('0x2')](_0xfea45))[_0x4390('0x4')](_0x3e031f=>!!_0x3e031f);_0x1bc95e['push'](..._0x30dfa1);}if(0x0===_0x1bc95e[_0x4390('0x3')])return null;const _0x5e9279=[];for(const _0x24a665 of _0x1bc95e){const _0x1cfe59=_0x24a665['getClientRects']()[_0x4390('0x9')](0x0);_0x1cfe59&&_0x5e9279[_0x4390('0x1')]({'x':_0x1cfe59['x'],'y':_0x1cfe59['y'],'domElement':_0x24a665});}return 0x0===_0x5e9279['length']?null:(_0x5e9279[_0x4390('0x8')]((_0x45ba6d,_0x1e7285)=>_0x45ba6d['y']-_0x1e7285['y']||_0x45ba6d['x']-_0x1e7285['x']),_0x5e9279['map'](_0x452e91=>_0x452e91[_0x4390('0xc')]));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x49fb=['boolean','number','toString','sign','sort','keys'];(function(_0x1d0774,_0x49fb39){const _0x5aaef0=function(_0x514080){while(--_0x514080){_0x1d0774['push'](_0x1d0774['shift']());}};_0x5aaef0(++_0x49fb39);}(_0x49fb,0xde));const _0x5aae=function(_0x1d0774,_0x49fb39){_0x1d0774=_0x1d0774-0x0;let _0x5aaef0=_0x49fb[_0x1d0774];return _0x5aaef0;};export default function b(_0xd936c5){let _0x40e025=0x0,_0x4b1d53=0x0;for(const _0x36fef6 of g(_0xd936c5))_0x40e025=(_0x40e025<<0x5)-_0x40e025+_0x36fef6,_0x40e025&=_0x40e025,[_0x40e025,_0x4b1d53]=[_0x4b1d53,_0x40e025];return O(_0x40e025)+O(_0x4b1d53);}function*j(_0x58b46c){_0x58b46c?_0x5aae('0x0')==typeof _0x58b46c?yield 0x1:Array['isArray'](_0x58b46c)?yield*function*(_0x221d46){for(const _0x503120 of _0x221d46)yield*j(_0x503120);}(_0x58b46c):'object'==typeof _0x58b46c?yield*g(_0x58b46c):'string'==typeof _0x58b46c?yield*A(_0x58b46c):_0x5aae('0x1')==typeof _0x58b46c&&(yield _0x58b46c):yield 0x0;}function*g(_0x376c48){if(yield M('{'),_0x376c48){const _0x371c33=Object[_0x5aae('0x5')](_0x376c48)[_0x5aae('0x4')]();for(const _0x4bb555 of _0x371c33){yield*A(_0x4bb555),yield M(':');const _0x21f8e3=_0x376c48[_0x4bb555];yield*j(_0x21f8e3);}}yield M('}');}function*A(_0x4cc694){yield M('\x22');for(const _0x573a73 of _0x4cc694)yield M(_0x573a73);yield M('\x22');}function M(_0x1eeb58){return _0x1eeb58['charCodeAt'](0x0);}function O(_0x316f66){return(_0x316f66*=Math[_0x5aae('0x3')](_0x316f66))[_0x5aae('0x2')](0x24);}
23
+ const _0x57a3=['string','keys','sign','object','sort','toString'];(function(_0x2d03e6,_0x57a3f1){const _0x563786=function(_0x2d0dea){while(--_0x2d0dea){_0x2d03e6['push'](_0x2d03e6['shift']());}};_0x563786(++_0x57a3f1);}(_0x57a3,0x121));const _0x5637=function(_0x2d03e6,_0x57a3f1){_0x2d03e6=_0x2d03e6-0x0;let _0x563786=_0x57a3[_0x2d03e6];return _0x563786;};export default function b(_0x19fa2c){let _0x2d9e44=0x0,_0x3928e0=0x0;for(const _0x8ba55a of g(_0x19fa2c))_0x2d9e44=(_0x2d9e44<<0x5)-_0x2d9e44+_0x8ba55a,_0x2d9e44&=_0x2d9e44,[_0x2d9e44,_0x3928e0]=[_0x3928e0,_0x2d9e44];return O(_0x2d9e44)+O(_0x3928e0);}function*j(_0x27af63){_0x27af63?'boolean'==typeof _0x27af63?yield 0x1:Array['isArray'](_0x27af63)?yield*function*(_0x552911){for(const _0x26cf89 of _0x552911)yield*j(_0x26cf89);}(_0x27af63):_0x5637('0x2')==typeof _0x27af63?yield*g(_0x27af63):_0x5637('0x5')==typeof _0x27af63?yield*A(_0x27af63):'number'==typeof _0x27af63&&(yield _0x27af63):yield 0x0;}function*g(_0x35ad88){if(yield M('{'),_0x35ad88){const _0x40340d=Object[_0x5637('0x0')](_0x35ad88)[_0x5637('0x3')]();for(const _0x2e6d19 of _0x40340d){yield*A(_0x2e6d19),yield M(':');const _0x422939=_0x35ad88[_0x2e6d19];yield*j(_0x422939);}}yield M('}');}function*A(_0x175915){yield M('\x22');for(const _0xa61872 of _0x175915)yield M(_0xa61872);yield M('\x22');}function M(_0x4c06a2){return _0x4c06a2['charCodeAt'](0x0);}function O(_0x1d7ded){return(_0x1d7ded*=Math[_0x5637('0x1')](_0x1d7ded))[_0x5637('0x4')](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x345e=['WebSocketGateway','names','context','pluginName','requires','from','rootsAttributes','plugins','DocumentOutline','length','removePlugins','WProofreader','get','concat','every','has','includes','initialData','_context','config','set','extraPlugins','Autosave','builtinPlugins','RevisionTracker','WordCount','toolbar','filter'];(function(_0x1ea556,_0x345e93){const _0x77c566=function(_0x492cca){while(--_0x492cca){_0x1ea556['push'](_0x1ea556['shift']());}};_0x77c566(++_0x345e93);}(_0x345e,0xe4));const _0x77c5=function(_0x1ea556,_0x345e93){_0x1ea556=_0x1ea556-0x0;let _0x77c566=_0x345e[_0x1ea556];return _0x77c566;};const w=[_0x77c5('0xd'),_0x77c5('0x1a'),_0x77c5('0x16'),_0x77c5('0x2')],W=[_0x77c5('0x18'),_0x77c5('0x14'),_0x77c5('0x12'),_0x77c5('0x15'),_0x77c5('0x4'),_0x77c5('0x7')];function v(_0x17f160,_0x1a2b36,_0x1e59a6=[]){const _0x528250='function'==typeof _0x17f160?_0x17f160[_0x77c5('0x1b')]||_0x17f160['name']:_0x17f160;if(_0x1a2b36[_0x77c5('0xb')](_0x528250))return _0x1a2b36['get'](_0x528250);if(_0x1a2b36['set'](_0x528250,!0x0),_0x528250&&W[_0x77c5('0x9')](_0x1e59a6)['includes'](_0x528250))return _0x1a2b36[_0x77c5('0x10')](_0x528250,!0x1),!0x1;if(!_0x17f160['requires'])return _0x1a2b36[_0x77c5('0x10')](_0x528250,!0x0),!0x0;const _0x1b8a67=_0x17f160[_0x77c5('0x0')][_0x77c5('0xa')](_0x5b3fef=>v(_0x5b3fef,_0x1a2b36,_0x1e59a6));return _0x1a2b36['set'](_0x528250,_0x1b8a67),_0x1b8a67;}export default function D(_0x1a502d,_0x3e6745){const _0x123012={};for(const _0x5655ea of _0x1a502d[_0x77c5('0xf')][_0x77c5('0x19')]())w[_0x77c5('0xc')](_0x5655ea)||(_0x123012[_0x5655ea]=_0x1a502d[_0x77c5('0xf')][_0x77c5('0x8')](_0x5655ea));const _0x549e2b=_0x123012['plugins']||[],_0x45d49f=_0x1a502d['constructor'][_0x77c5('0x13')]||[],_0x4498e9=_0x549e2b[_0x77c5('0x5')]?_0x549e2b:_0x45d49f,_0x92170=_0x123012['extraPlugins']||[];delete _0x123012[_0x77c5('0x11')];const _0x4ee4c5=_0x123012[_0x77c5('0x6')]||[];delete _0x123012['removePlugins'];const _0x570a1b=_0x1a502d[_0x77c5('0xe')]['config'][_0x77c5('0x8')](_0x77c5('0x3'))||[],_0x1a6a13=_0x4498e9['concat'](_0x92170)[_0x77c5('0x9')](_0x570a1b)['map'](_0x4e1346=>'string'==typeof _0x4e1346?_0x45d49f['find'](_0xdb69ce=>_0xdb69ce['pluginName']==_0x4e1346):_0x4e1346)[_0x77c5('0x17')](_0x4d62d5=>!_0x4ee4c5[_0x77c5('0xc')](_0x4d62d5)),_0x3af47a=Array[_0x77c5('0x1')](new Set(_0x1a6a13)),_0x4b7159=new Map();return _0x123012['plugins']=_0x3af47a[_0x77c5('0x17')](_0x4354f6=>v(_0x4354f6,_0x4b7159,_0x3e6745)),_0x123012;}
23
+ const _0x1d3b=['concat','has','toolbar','find','plugins','set','names','WordCount','includes','initialData','constructor','removePlugins','function','DocumentOutline','WProofreader','map','get','requires','name','config','pluginName','every','filter','builtinPlugins','WebSocketGateway','extraPlugins','rootsAttributes'];(function(_0x5bd21f,_0x1d3bae){const _0x24deb5=function(_0x148276){while(--_0x148276){_0x5bd21f['push'](_0x5bd21f['shift']());}};_0x24deb5(++_0x1d3bae);}(_0x1d3b,0x1e6));const _0x24de=function(_0x5bd21f,_0x1d3bae){_0x5bd21f=_0x5bd21f-0x0;let _0x24deb5=_0x1d3b[_0x5bd21f];return _0x24deb5;};const w=[_0x24de('0x9'),'context',_0x24de('0x2'),_0x24de('0x1a')],W=[_0x24de('0x18'),'RevisionTracker','Autosave',_0x24de('0x7'),_0x24de('0xd'),_0x24de('0xe')];function v(_0x2bb0b3,_0x350562,_0x6b1d2b=[]){const _0x40025a=_0x24de('0xc')==typeof _0x2bb0b3?_0x2bb0b3[_0x24de('0x14')]||_0x2bb0b3[_0x24de('0x12')]:_0x2bb0b3;if(_0x350562[_0x24de('0x1')](_0x40025a))return _0x350562[_0x24de('0x10')](_0x40025a);if(_0x350562[_0x24de('0x5')](_0x40025a,!0x0),_0x40025a&&W[_0x24de('0x0')](_0x6b1d2b)[_0x24de('0x8')](_0x40025a))return _0x350562[_0x24de('0x5')](_0x40025a,!0x1),!0x1;if(!_0x2bb0b3[_0x24de('0x11')])return _0x350562[_0x24de('0x5')](_0x40025a,!0x0),!0x0;const _0x3c4c65=_0x2bb0b3[_0x24de('0x11')][_0x24de('0x15')](_0x575a01=>v(_0x575a01,_0x350562,_0x6b1d2b));return _0x350562[_0x24de('0x5')](_0x40025a,_0x3c4c65),_0x3c4c65;}export default function D(_0x220a9e,_0x36885f){const _0x40fcbd={};for(const _0x83dfa0 of _0x220a9e[_0x24de('0x13')][_0x24de('0x6')]())w[_0x24de('0x8')](_0x83dfa0)||(_0x40fcbd[_0x83dfa0]=_0x220a9e[_0x24de('0x13')][_0x24de('0x10')](_0x83dfa0));const _0x49369a=_0x40fcbd[_0x24de('0x4')]||[],_0x331bb0=_0x220a9e[_0x24de('0xa')][_0x24de('0x17')]||[],_0x16ed8c=_0x49369a['length']?_0x49369a:_0x331bb0,_0xa01185=_0x40fcbd[_0x24de('0x19')]||[];delete _0x40fcbd[_0x24de('0x19')];const _0x25b6d9=_0x40fcbd[_0x24de('0xb')]||[];delete _0x40fcbd[_0x24de('0xb')];const _0x5c79cf=_0x220a9e['_context'][_0x24de('0x13')][_0x24de('0x10')](_0x24de('0x4'))||[],_0x381344=_0x16ed8c['concat'](_0xa01185)[_0x24de('0x0')](_0x5c79cf)[_0x24de('0xf')](_0x38c483=>'string'==typeof _0x38c483?_0x331bb0[_0x24de('0x3')](_0x35772a=>_0x35772a[_0x24de('0x14')]==_0x38c483):_0x38c483)[_0x24de('0x16')](_0x1ef8d7=>!_0x25b6d9[_0x24de('0x8')](_0x1ef8d7)),_0x29e867=Array['from'](new Set(_0x381344)),_0x3f02f5=new Map();return _0x40fcbd[_0x24de('0x4')]=_0x29e867[_0x24de('0x16')](_0x344827=>v(_0x344827,_0x3f02f5,_0x36885f)),_0x40fcbd;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ef6=['...','push','match','join','startsWith','slice','indexOf','length','substring','replace','pop'];(function(_0x4eaaa8,_0x5ef61f){const _0x423972=function(_0x448409){while(--_0x448409){_0x4eaaa8['push'](_0x4eaaa8['shift']());}};_0x423972(++_0x5ef61f);}(_0x5ef6,0x1ae));const _0x4239=function(_0x4eaaa8,_0x5ef61f){_0x4eaaa8=_0x4eaaa8-0x0;let _0x423972=_0x5ef6[_0x4eaaa8];return _0x423972;};export default function z(_0xb05193,{limit:_0x4d5f97,suffix:_0x3133c3=_0x4239('0xa')}){const _0x4c2837=[];let _0x12daf2=0x0;const _0x266af2=_0xb05193[_0x4239('0x8')](/</g,'\x0a<')['replace'](/>/g,'>\x0a')[_0x4239('0x8')](/^\n/g,'')[_0x4239('0x8')](/\n$/g,'')['split']('\x0a');for(let _0x2d1c92=0x0;_0x2d1c92<_0x266af2[_0x4239('0x6')];_0x2d1c92++){let _0x2e774a=_0x266af2[_0x2d1c92];const _0x4fcb2b=Z(_0x2e774a);if(_0x2e774a[_0x4239('0x3')]('<')){if(_0x12daf2>=_0x4d5f97){const _0x2376f0=_0x2e774a[_0x4239('0x1')](/[a-zA-Z]+/);if(!_0x2376f0){_0x266af2[_0x2d1c92]='';continue;}const _0x209744=_0x2376f0[0x0];_0x2e774a[_0x4239('0x3')]('</')?(_0x4c2837[_0x4239('0x6')]&&(_0x2e774a=''),_0x4c2837[_0x4239('0x9')]()):(_0x4c2837[_0x4239('0x0')](_0x209744),_0x2e774a='');}}else{if(_0x12daf2>=_0x4d5f97)_0x2e774a='';else{if(_0x12daf2+_0x4fcb2b[_0x4239('0x6')]>=_0x4d5f97){let _0x3a865a=_0x4d5f97-_0x12daf2;if('\x20'===_0x4fcb2b[_0x3a865a-0x1])_0x3a865a--;else{const _0x1797ac=_0x4fcb2b[_0x4239('0x4')](_0x3a865a)[_0x4239('0x5')]('\x20');-0x1!==_0x1797ac?_0x3a865a+=_0x1797ac:_0x3a865a=_0x2e774a['length'];}_0x2e774a=_0x4fcb2b['slice'](0x0,_0x3a865a)[_0x4239('0x2')]('')+_0x3133c3,_0x12daf2=_0x4d5f97;}else _0x12daf2+=_0x4fcb2b[_0x4239('0x6')];}}_0x266af2[_0x2d1c92]=_0x2e774a;}return _0x266af2[_0x4239('0x2')]('\x0a')[_0x4239('0x8')](/\n/g,'');}function Z(_0x329889){const _0x39ccd5=[];for(let _0x436018=0x0;_0x436018<_0x329889['length'];_0x436018++){const _0x2f7b12=_0x329889[_0x4239('0x7')](_0x436018)[_0x4239('0x1')](/^&[a-z0-9#]+;/);if(_0x2f7b12){const _0x550751=_0x2f7b12[0x0];_0x39ccd5[_0x4239('0x0')](_0x550751),_0x436018+=_0x550751[_0x4239('0x6')]-0x1;}else _0x39ccd5[_0x4239('0x0')](_0x329889[_0x436018]);}return _0x39ccd5;}
23
+ const _0x468f=['startsWith','join','...','indexOf','length','match','pop','push','slice','replace'];(function(_0x2d32f1,_0x468fe1){const _0x49529e=function(_0x353dd2){while(--_0x353dd2){_0x2d32f1['push'](_0x2d32f1['shift']());}};_0x49529e(++_0x468fe1);}(_0x468f,0x122));const _0x4952=function(_0x2d32f1,_0x468fe1){_0x2d32f1=_0x2d32f1-0x0;let _0x49529e=_0x468f[_0x2d32f1];return _0x49529e;};export default function z(_0x599331,{limit:_0x536b8a,suffix:_0x469ae0=_0x4952('0x2')}){const _0x388f72=[];let _0x588fc4=0x0;const _0x31cf8f=_0x599331[_0x4952('0x9')](/</g,'\x0a<')['replace'](/>/g,'>\x0a')[_0x4952('0x9')](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x338509=0x0;_0x338509<_0x31cf8f[_0x4952('0x4')];_0x338509++){let _0x1bcd49=_0x31cf8f[_0x338509];const _0x5d0207=Z(_0x1bcd49);if(_0x1bcd49[_0x4952('0x0')]('<')){if(_0x588fc4>=_0x536b8a){const _0x2157a3=_0x1bcd49[_0x4952('0x5')](/[a-zA-Z]+/);if(!_0x2157a3){_0x31cf8f[_0x338509]='';continue;}const _0x19cfa8=_0x2157a3[0x0];_0x1bcd49[_0x4952('0x0')]('</')?(_0x388f72[_0x4952('0x4')]&&(_0x1bcd49=''),_0x388f72[_0x4952('0x6')]()):(_0x388f72[_0x4952('0x7')](_0x19cfa8),_0x1bcd49='');}}else{if(_0x588fc4>=_0x536b8a)_0x1bcd49='';else{if(_0x588fc4+_0x5d0207['length']>=_0x536b8a){let _0x30b0d2=_0x536b8a-_0x588fc4;if('\x20'===_0x5d0207[_0x30b0d2-0x1])_0x30b0d2--;else{const _0x4b1f09=_0x5d0207[_0x4952('0x8')](_0x30b0d2)[_0x4952('0x3')]('\x20');-0x1!==_0x4b1f09?_0x30b0d2+=_0x4b1f09:_0x30b0d2=_0x1bcd49[_0x4952('0x4')];}_0x1bcd49=_0x5d0207[_0x4952('0x8')](0x0,_0x30b0d2)[_0x4952('0x1')]('')+_0x469ae0,_0x588fc4=_0x536b8a;}else _0x588fc4+=_0x5d0207['length'];}}_0x31cf8f[_0x338509]=_0x1bcd49;}return _0x31cf8f[_0x4952('0x1')]('\x0a')[_0x4952('0x9')](/\n/g,'');}function Z(_0x531e48){const _0x14ce0f=[];for(let _0x400433=0x0;_0x400433<_0x531e48[_0x4952('0x4')];_0x400433++){const _0x1966d3=_0x531e48['substring'](_0x400433)[_0x4952('0x5')](/^&[a-z0-9#]+;/);if(_0x1966d3){const _0x25fd15=_0x1966d3[0x0];_0x14ce0f[_0x4952('0x7')](_0x25fd15),_0x400433+=_0x25fd15[_0x4952('0x4')]-0x1;}else _0x14ce0f[_0x4952('0x7')](_0x531e48[_0x400433]);}return _0x14ce0f;}