@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20230809.0 → 0.0.0-nightly-20230811.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-20230809.0",
3
+ "version": "0.0.0-nightly-20230811.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-20230809.0",
34
+ "ckeditor5": "0.0.0-nightly-20230811.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 _0x3c7d=['context','isEnabled','pluginName','comment:modify_all','comment:write','CommentsOnly','get','comment:admin','setPermissions','includes','permissions-set-permissions-invalid-channel-id','has','document:write','find','clearForceDisabled','config','forceDisabled','disableReadOnlyMode','no-permissions','editors','noPermissions','enableReadOnlyMode','CommentsRepository','collaboration.channelId'];(function(_0x24d9bf,_0x3c7de3){const _0x52ad0c=function(_0xb64329){while(--_0xb64329){_0x24d9bf['push'](_0x24d9bf['shift']());}};_0x52ad0c(++_0x3c7de3);}(_0x3c7d,0xfe));const _0x52ad=function(_0x24d9bf,_0x3c7de3){_0x24d9bf=_0x24d9bf-0x0;let _0x52ad0c=_0x3c7d[_0x24d9bf];return _0x52ad0c;};import{ContextPlugin as _0x1117fe,Editor as _0x5a95d8}from'ckeditor5/src/core';import{CKEditorError as _0x39c761}from'ckeditor5/src/utils';export default class n extends _0x1117fe{static get[_0x52ad('0xc')](){return'Permissions';}['setPermissions'](_0x3d328d,_0xbc2dfb){let _0x3ef050;if(_0xbc2dfb||(_0xbc2dfb=this[_0x52ad('0xa')]['config'][_0x52ad('0x10')]('collaboration.channelId')),this[_0x52ad('0xa')][_0x52ad('0x1')][_0x52ad('0x10')]('collaboration.channelId')==_0xbc2dfb?_0x3ef050=this[_0x52ad('0xa')]:_0x52ad('0x5')in this['context']&&this[_0x52ad('0xa')][_0x52ad('0x5')]&&(_0x3ef050=this[_0x52ad('0xa')][_0x52ad('0x5')][_0x52ad('0x17')](_0x333082=>_0x333082[_0x52ad('0x1')][_0x52ad('0x10')](_0x52ad('0x9'))==_0xbc2dfb)),!_0x3ef050)throw new _0x39c761(_0x52ad('0x14'),null);const _0x34d1f5=_0x3ef050['plugins'],_0x22f460=_0x34d1f5[_0x52ad('0x15')](_0x52ad('0x8'))?_0x34d1f5[_0x52ad('0x10')](_0x52ad('0x8')):void 0x0,_0x5baf70=_0x34d1f5[_0x52ad('0x15')](_0x52ad('0xf'))&&_0x34d1f5[_0x52ad('0x10')](_0x52ad('0xf')),_0x51d1cb=_0x3d328d[_0x52ad('0x13')](_0x52ad('0x16')),_0x429e16=_0x3d328d['includes'](_0x52ad('0xd')),_0xb9e8e8=_0x3d328d[_0x52ad('0x13')](_0x52ad('0x11')),_0x1790f5=_0x3d328d['includes'](_0x52ad('0xe')),_0x1c8bcd=_0x1790f5||_0xb9e8e8,_0x34ae70=_0x1c8bcd||_0x429e16,_0xc92877=_0x51d1cb||_0x1c8bcd;(_0x5baf70&&(_0x5baf70[_0x52ad('0xb')]=!_0x51d1cb&&_0x34ae70),_0x3ef050 instanceof _0x5a95d8)&&(!(_0x51d1cb||_0x34ae70&&_0x22f460)?_0x3ef050[_0x52ad('0x7')](_0x52ad('0x4')):_0x3ef050[_0x52ad('0x3')](_0x52ad('0x4')));if(_0x22f460){_0x22f460[_0x52ad('0x12')]({'admin':_0xb9e8e8,'modifyAll':_0x429e16,'write':_0x1790f5,'resolve':_0xc92877},_0xbc2dfb);const _0x42e563=_0x3ef050 instanceof _0x5a95d8&&_0x3ef050['commands'][_0x52ad('0x10')]('addCommentThread');_0x42e563&&(_0x1c8bcd?_0x42e563[_0x52ad('0x0')](_0x52ad('0x6')):_0x42e563[_0x52ad('0x2')](_0x52ad('0x6')));}}}
23
+ const _0x5984=['document:write','isEnabled','noPermissions','CommentsRepository','has','no-permissions','commands','comment:modify_all','editors','comment:write','includes','Permissions','enableReadOnlyMode','config','CommentsOnly','disableReadOnlyMode','pluginName','clearForceDisabled','get','permissions-set-permissions-invalid-channel-id','find','context','collaboration.channelId','forceDisabled','setPermissions'];(function(_0x5912ad,_0x5984ab){const _0x26645a=function(_0x104cba){while(--_0x104cba){_0x5912ad['push'](_0x5912ad['shift']());}};_0x26645a(++_0x5984ab);}(_0x5984,0x1da));const _0x2664=function(_0x5912ad,_0x5984ab){_0x5912ad=_0x5912ad-0x0;let _0x26645a=_0x5984[_0x5912ad];return _0x26645a;};import{ContextPlugin as _0x54f596,Editor as _0x13dd5e}from'ckeditor5/src/core';import{CKEditorError as _0x1cc3ee}from'ckeditor5/src/utils';export default class n extends _0x54f596{static get[_0x2664('0x11')](){return _0x2664('0xc');}[_0x2664('0x0')](_0x41a4e6,_0x5b86e5){let _0x56cf49;if(_0x5b86e5||(_0x5b86e5=this[_0x2664('0x16')][_0x2664('0xe')]['get'](_0x2664('0x17'))),this[_0x2664('0x16')]['config'][_0x2664('0x13')]('collaboration.channelId')==_0x5b86e5?_0x56cf49=this[_0x2664('0x16')]:_0x2664('0x9')in this[_0x2664('0x16')]&&this[_0x2664('0x16')]['editors']&&(_0x56cf49=this['context'][_0x2664('0x9')][_0x2664('0x15')](_0x3dbf5f=>_0x3dbf5f[_0x2664('0xe')]['get'](_0x2664('0x17'))==_0x5b86e5)),!_0x56cf49)throw new _0x1cc3ee(_0x2664('0x14'),null);const _0x4d6c93=_0x56cf49['plugins'],_0x13f921=_0x4d6c93[_0x2664('0x5')](_0x2664('0x4'))?_0x4d6c93[_0x2664('0x13')](_0x2664('0x4')):void 0x0,_0x3db0f0=_0x4d6c93[_0x2664('0x5')](_0x2664('0xf'))&&_0x4d6c93[_0x2664('0x13')](_0x2664('0xf')),_0x1a98c0=_0x41a4e6[_0x2664('0xb')](_0x2664('0x1')),_0xebdd5b=_0x41a4e6[_0x2664('0xb')](_0x2664('0x8')),_0x4743fe=_0x41a4e6[_0x2664('0xb')]('comment:admin'),_0x22a2b4=_0x41a4e6['includes'](_0x2664('0xa')),_0x520d33=_0x22a2b4||_0x4743fe,_0x25baff=_0x520d33||_0xebdd5b,_0x356c1e=_0x1a98c0||_0x520d33;(_0x3db0f0&&(_0x3db0f0[_0x2664('0x2')]=!_0x1a98c0&&_0x25baff),_0x56cf49 instanceof _0x13dd5e)&&(!(_0x1a98c0||_0x25baff&&_0x13f921)?_0x56cf49[_0x2664('0xd')]('no-permissions'):_0x56cf49[_0x2664('0x10')](_0x2664('0x6')));if(_0x13f921){_0x13f921[_0x2664('0x0')]({'admin':_0x4743fe,'modifyAll':_0xebdd5b,'write':_0x22a2b4,'resolve':_0x356c1e},_0x5b86e5);const _0x4033f5=_0x56cf49 instanceof _0x13dd5e&&_0x56cf49[_0x2664('0x7')][_0x2664('0x13')]('addCommentThread');_0x4033f5&&(_0x520d33?_0x4033f5[_0x2664('0x12')](_0x2664('0x3')):_0x4033f5[_0x2664('0x18')](_0x2664('0x3')));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa3e6=['name','extendTemplate','ck-user__avatar','ck\x20ck-user__name\x20ck-user__name--hidden','isAnonymous','avatar','div','ck-user__img','url(\x27','setTemplate','initials','notificationView','ck-user','push','ck\x20ck-user__name','ck-user__anonymous','content'];(function(_0x3cde7c,_0xa3e68f){const _0x3a6e28=function(_0x286794){while(--_0x286794){_0x3cde7c['push'](_0x3cde7c['shift']());}};_0x3a6e28(++_0xa3e68f);}(_0xa3e6,0x163));const _0x3a6e=function(_0x3cde7c,_0xa3e68f){_0x3cde7c=_0x3cde7c-0x0;let _0x3a6e28=_0xa3e6[_0x3cde7c];return _0x3a6e28;};import{View as _0x132d76,IconView as _0xcb01b0}from'ckeditor5/src/ui';import _0x2bb560 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x132d76{constructor(_0x2fd93e,_0xf17f04,_0x3e2f6e){super(_0x2fd93e),this['name']=_0xf17f04[_0x3a6e('0x2')],this[_0x3a6e('0xd')]=null;const _0x12a102=['ck',_0x3a6e('0x9')];if(_0xf17f04[_0x3a6e('0x6')]&&_0x12a102[_0x3a6e('0xf')](_0x3a6e('0x0')),_0xf17f04[_0x3a6e('0x7')]&&_0x12a102[_0x3a6e('0xf')](_0x3a6e('0x4')),_0x3e2f6e){const _0x37bef4=new _0xcb01b0();_0x37bef4[_0x3a6e('0x3')]({'attributes':{'class':['ck-user__icon']}}),_0x37bef4[_0x3a6e('0x1')]=_0x2bb560,this['notificationView']={'tag':_0x3a6e('0x8'),'attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x3e2f6e},'children':[_0x37bef4]};}const _0xf185bd=[{'tag':_0x3a6e('0x8'),'attributes':{'class':_0x12a102,'style':{'background-image':_0xf17f04[_0x3a6e('0x7')]?_0x3a6e('0xa')+_0xf17f04[_0x3a6e('0x7')]+'\x27)':''}}},{'tag':'div','attributes':{'class':_0xf17f04[_0x3a6e('0x7')]?_0x3a6e('0x5'):_0x3a6e('0x10')},'children':[{'text':_0xf17f04[_0x3a6e('0xc')]}]}];this[_0x3a6e('0xd')]&&_0xf185bd['push'](this[_0x3a6e('0xd')]),this[_0x3a6e('0xb')]({'tag':_0x3a6e('0x8'),'attributes':{'class':['ck',_0x3a6e('0xe')],'data-user-id':_0xf17f04['id']},'children':_0xf185bd});}}
23
+ const _0x2520=['ck-user','ck\x20ck-user__name\x20ck-user__name--hidden','ck-user__notification','ck\x20ck-user__name','initials','notificationView','ck-user__icon','setTemplate','url(\x27','div','name','push','ck-user__anonymous','isAnonymous','ck-user__avatar','avatar','extendTemplate'];(function(_0x6ff108,_0x25202a){const _0x1a0b67=function(_0x5520f6){while(--_0x5520f6){_0x6ff108['push'](_0x6ff108['shift']());}};_0x1a0b67(++_0x25202a);}(_0x2520,0x81));const _0x1a0b=function(_0x6ff108,_0x25202a){_0x6ff108=_0x6ff108-0x0;let _0x1a0b67=_0x2520[_0x6ff108];return _0x1a0b67;};import{View as _0x137ec6,IconView as _0x4e5c69}from'ckeditor5/src/ui';import _0x21fa73 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x137ec6{constructor(_0x26a3ae,_0x50fc64,_0x14e6df){super(_0x26a3ae),this['name']=_0x50fc64[_0x1a0b('0x0')],this[_0x1a0b('0xc')]=null;const _0x36e7d0=['ck','ck-user__img'];if(_0x50fc64[_0x1a0b('0x3')]&&_0x36e7d0['push'](_0x1a0b('0x2')),_0x50fc64['avatar']&&_0x36e7d0[_0x1a0b('0x1')](_0x1a0b('0x4')),_0x14e6df){const _0x3c0bc7=new _0x4e5c69();_0x3c0bc7[_0x1a0b('0x6')]({'attributes':{'class':[_0x1a0b('0xd')]}}),_0x3c0bc7['content']=_0x21fa73,this['notificationView']={'tag':_0x1a0b('0x10'),'attributes':{'class':['ck',_0x1a0b('0x9')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x14e6df},'children':[_0x3c0bc7]};}const _0x11a978=[{'tag':_0x1a0b('0x10'),'attributes':{'class':_0x36e7d0,'style':{'background-image':_0x50fc64[_0x1a0b('0x5')]?_0x1a0b('0xf')+_0x50fc64['avatar']+'\x27)':''}}},{'tag':_0x1a0b('0x10'),'attributes':{'class':_0x50fc64[_0x1a0b('0x5')]?_0x1a0b('0x8'):_0x1a0b('0xa')},'children':[{'text':_0x50fc64[_0x1a0b('0xb')]}]}];this['notificationView']&&_0x11a978[_0x1a0b('0x1')](this[_0x1a0b('0xc')]),this[_0x1a0b('0xe')]({'tag':_0x1a0b('0x10'),'attributes':{'class':['ck',_0x1a0b('0x7')],'data-user-id':_0x50fc64['id']},'children':_0x11a978});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3410=['anonymous-user','defineMe','ck-user__marker--','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.','get','_getNextColor','invalid-license-key','useAnonymousUser','_getInitial','_isAnonymous','_locale','includes','isAnonymous','users.anonymousUserId','context','_licenseKeyCheckInterval','initials','_id','_addAnonymousUser','getOperationAuthor','config','trial-license-key-reached-limit-revisions','licenseKeyTrialLimit:time','decorate','Users','info','addUser','_lastColor','Anonymous','users-add-invalid-id','destroy','charAt','licenseKeyTrialLimit:revisions','pluginName','users-me-missing-user','color','_myId','has','licenseKeyValid','users-add-duplicated-id','users','name','ck-user__selection--','users.colorsCount','toUpperCase','getUser','licenseKeyTrialLimit:operations','getMarkerClass','users-me-already-defined','add','trial-license-key-reached-limit-time','avatar','licenseKey','licenseKeyInvalid','trial-license-key-reached-limit-changes','trim','define','length'];(function(_0xd01dbf,_0x341062){const _0x11d830=function(_0x31cf42){while(--_0x31cf42){_0xd01dbf['push'](_0xd01dbf['shift']());}};_0x11d830(++_0x341062);}(_0x3410,0x9a));const _0x11d8=function(_0xd01dbf,_0x341062){_0xd01dbf=_0xd01dbf-0x0;let _0x11d830=_0x3410[_0xd01dbf];return _0x11d830;};import{ContextPlugin as _0x313ddd}from'ckeditor5/src/core';import{Collection as _0x29927b,CKEditorError as _0x2259e2}from'ckeditor5/src/utils';import _0x59846f from'./permissions';import{getTranslation as _0x17f503}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x313ddd{static get[_0x11d8('0x35')](){return _0x11d8('0x2c');}static get['requires'](){return[_0x59846f];}constructor(_0x694b67){super(_0x694b67),this[_0x11d8('0x22')][_0x11d8('0x28')][_0x11d8('0x12')](_0x11d8('0x21'),_0x11d8('0x14')),this[_0x11d8('0x22')][_0x11d8('0x28')][_0x11d8('0x12')](_0x11d8('0x5'),0x8),this[_0x11d8('0x2')]=new _0x29927b(),this[_0x11d8('0x1e')]=_0x694b67['locale'],this[_0x11d8('0x23')]=null,this[_0x11d8('0x2f')]=0x0,this[_0x11d8('0x38')]=null,this[_0x11d8('0x2b')](_0x11d8('0x27'));}['init'](){const _0xf7d0a8=this['context'];this[_0x11d8('0xe')]=_0xf7d0a8['config']['get'](_0x11d8('0xe'));const _0x43be19=['licenseKeyTrial',_0x11d8('0xf'),_0x11d8('0x0'),_0x11d8('0x8'),'licenseKeyTrialLimit:time','licenseKeyTrialLimit:revisions'];this[_0x11d8('0x23')]=setInterval(()=>{let _0x3b32ef;for(const _0x530584 in _0xf7d0a8){const _0x2feedb=_0xf7d0a8[_0x530584];if(_0x43be19[_0x11d8('0x1f')](_0x2feedb)){delete _0xf7d0a8[_0x530584],_0x3b32ef=_0x2feedb;break;}}if('licenseKeyInvalid'===_0x3b32ef)throw clearInterval(this[_0x11d8('0x23')]),new _0x2259e2(_0x11d8('0x1a'),null);if('licenseKeyTrial'===_0x3b32ef&&console[_0x11d8('0x2d')](_0x11d8('0x17')),'licenseKeyTrialLimit:operations'===_0x3b32ef)throw clearInterval(this[_0x11d8('0x23')]),new _0x2259e2(_0x11d8('0x10'),null);if(_0x11d8('0x2a')===_0x3b32ef)throw clearInterval(this[_0x11d8('0x23')]),new _0x2259e2(_0x11d8('0xc'),null);if(_0x11d8('0x34')===_0x3b32ef)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x2259e2(_0x11d8('0x29'),null);'licenseKeyValid'===_0x3b32ef&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this[_0x11d8('0x38')]?null:this['getUser'](this[_0x11d8('0x38')]);}[_0x11d8('0x2e')]({id:_0x5a687e,name:_0x398422,..._0x17d7a6}){if(!_0x5a687e||'string'!=typeof _0x5a687e)throw new _0x2259e2(_0x11d8('0x31'));if(this[_0x11d8('0x2')][_0x11d8('0x39')](_0x5a687e))throw new _0x2259e2(_0x11d8('0x1'),null,{'id':_0x5a687e});const _0x213f0e={..._0x17d7a6,'id':_0x5a687e,'name':a(this[_0x11d8('0x1e')],_0x398422),'color':this[_0x11d8('0x19')]()};_0x213f0e[_0x11d8('0x3')]=a(this[_0x11d8('0x1e')],_0x213f0e[_0x11d8('0x3')]);const _0x400307=new User(_0x213f0e);return this[_0x11d8('0x2')][_0x11d8('0xb')](_0x400307),_0x400307;}[_0x11d8('0x7')](_0x288f1d){return this['users'][_0x11d8('0x18')](_0x288f1d);}[_0x11d8('0x1b')](){const _0x39686e=this['context'][_0x11d8('0x28')][_0x11d8('0x18')](_0x11d8('0x21'));this[_0x11d8('0x38')]||this['defineMe'](_0x39686e);}[_0x11d8('0x15')](_0x6f141f){if(this[_0x11d8('0x38')])throw new _0x2259e2(_0x11d8('0xa'),null);if(!this[_0x11d8('0x7')](_0x6f141f))throw new _0x2259e2(_0x11d8('0x36'),null);this['_myId']=_0x6f141f;}[_0x11d8('0x27')](){return this['me'];}['destroy'](){super[_0x11d8('0x32')](),clearInterval(this[_0x11d8('0x23')]);}[_0x11d8('0x19')](){const _0x38fca2=this[_0x11d8('0x22')]['config'][_0x11d8('0x18')]('users.colorsCount');return this[_0x11d8('0x2f')]>=_0x38fca2&&(this[_0x11d8('0x2f')]=0x0),new u(this['_lastColor']++);}[_0x11d8('0x26')](){const _0x282073=this[_0x11d8('0x22')][_0x11d8('0x28')][_0x11d8('0x18')](_0x11d8('0x21'));this[_0x11d8('0x2e')]({'id':_0x282073,'name':_0x17f503(this[_0x11d8('0x1e')],_0x11d8('0x30'))})[_0x11d8('0x1d')]=!0x0;}}export class User{constructor(_0x31e764){this['id']=_0x31e764['id'],this[_0x11d8('0x37')]=_0x31e764[_0x11d8('0x37')],this[_0x11d8('0x3')]=_0x31e764[_0x11d8('0x3')],this[_0x11d8('0xd')]=_0x31e764[_0x11d8('0xd')],this[_0x11d8('0x1d')]=!0x1;}get[_0x11d8('0x20')](){return this[_0x11d8('0x1d')];}get[_0x11d8('0x24')](){const _0x22231b=this[_0x11d8('0x3')]['split']('\x20');return 0x1===_0x22231b[_0x11d8('0x13')]?this['_getInitial'](_0x22231b[0x0]):this[_0x11d8('0x1c')](_0x22231b[0x0])+this[_0x11d8('0x1c')](_0x22231b[_0x22231b[_0x11d8('0x13')]-0x1]);}[_0x11d8('0x1c')](_0x8fde8a){return _0x8fde8a[_0x11d8('0x33')](0x0)[_0x11d8('0x6')]();}}function a(_0x2f9a41,_0x5bc09a=''){return''==(_0x5bc09a=_0x5bc09a[_0x11d8('0x11')]())?_0x17f503(_0x2f9a41,_0x11d8('0x30')):_0x5bc09a;}class u{constructor(_0x23de38){this['_id']=_0x23de38;}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this[_0x11d8('0x25')];}['getSelectionClass'](){return _0x11d8('0x4')+this[_0x11d8('0x25')];}[_0x11d8('0x9')](){return _0x11d8('0x16')+this[_0x11d8('0x25')];}}
23
+ const _0x279c=['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.','pluginName','licenseKeyInvalid','trial-license-key-reached-limit-time','users-add-invalid-id','config','locale','split','trim','_getNextColor','users-me-already-defined','getSelectionClass','anonymous-user','color','_addAnonymousUser','users-add-duplicated-id','getBackgroundColorClass','users','_licenseKeyCheckInterval','licenseKeyTrialLimit:operations','has','decorate','length','licenseKeyTrialLimit:revisions','_isAnonymous','trial-license-key-reached-limit-revisions','isAnonymous','licenseKeyValid','_myId','string','trial-license-key-reached-limit-changes','toUpperCase','defineMe','licenseKeyTrial','_locale','avatar','requires','ck-user__marker--','getOperationAuthor','_id','users.anonymousUserId','ck-user__selection--','_lastColor','name','licenseKeyTrialLimit:time','licenseKey','invalid-license-key','get','_getInitial','destroy','add','info','addUser','Anonymous','includes','getUser','context','initials','init','ck-user__bg-color--'];(function(_0x278a28,_0x279c95){const _0x30537d=function(_0x2687d1){while(--_0x2687d1){_0x278a28['push'](_0x278a28['shift']());}};_0x30537d(++_0x279c95);}(_0x279c,0x10a));const _0x3053=function(_0x278a28,_0x279c95){_0x278a28=_0x278a28-0x0;let _0x30537d=_0x279c[_0x278a28];return _0x30537d;};import{ContextPlugin as _0x5c8df7}from'ckeditor5/src/core';import{Collection as _0x5a3e88,CKEditorError as _0x5ebe8f}from'ckeditor5/src/utils';import _0x321467 from'./permissions';import{getTranslation as _0x31c6b9}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x5c8df7{static get[_0x3053('0x23')](){return'Users';}static get[_0x3053('0xa')](){return[_0x321467];}constructor(_0x566429){super(_0x566429),this[_0x3053('0x1e')]['config']['define']('users.anonymousUserId',_0x3053('0x2e')),this[_0x3053('0x1e')]['config']['define']('users.colorsCount',0x8),this[_0x3053('0x33')]=new _0x5a3e88(),this[_0x3053('0x8')]=_0x566429[_0x3053('0x28')],this[_0x3053('0x34')]=null,this[_0x3053('0x10')]=0x0,this['_myId']=null,this[_0x3053('0x37')](_0x3053('0xc'));}[_0x3053('0x20')](){const _0x15f59f=this[_0x3053('0x1e')];this['licenseKey']=_0x15f59f['config'][_0x3053('0x15')](_0x3053('0x13'));const _0x1746f8=[_0x3053('0x7'),_0x3053('0x24'),_0x3053('0x1'),_0x3053('0x35'),_0x3053('0x12'),_0x3053('0x39')];this[_0x3053('0x34')]=setInterval(()=>{let _0x43fdc2;for(const _0x31e589 in _0x15f59f){const _0x221535=_0x15f59f[_0x31e589];if(_0x1746f8[_0x3053('0x1c')](_0x221535)){delete _0x15f59f[_0x31e589],_0x43fdc2=_0x221535;break;}}if(_0x3053('0x24')===_0x43fdc2)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x5ebe8f(_0x3053('0x14'),null);if('licenseKeyTrial'===_0x43fdc2&&console[_0x3053('0x19')](_0x3053('0x22')),'licenseKeyTrialLimit:operations'===_0x43fdc2)throw clearInterval(this[_0x3053('0x34')]),new _0x5ebe8f(_0x3053('0x4'),null);if('licenseKeyTrialLimit:time'===_0x43fdc2)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x5ebe8f(_0x3053('0x25'),null);if(_0x3053('0x39')===_0x43fdc2)throw clearInterval(this[_0x3053('0x34')]),new _0x5ebe8f(_0x3053('0x3b'),null);_0x3053('0x1')===_0x43fdc2&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this[_0x3053('0x30')]();}get['me'](){return null==this[_0x3053('0x2')]?null:this[_0x3053('0x1d')](this[_0x3053('0x2')]);}[_0x3053('0x1a')]({id:_0x2026cf,name:_0x249454,..._0x26b8bd}){if(!_0x2026cf||_0x3053('0x3')!=typeof _0x2026cf)throw new _0x5ebe8f(_0x3053('0x26'));if(this['users'][_0x3053('0x36')](_0x2026cf))throw new _0x5ebe8f(_0x3053('0x31'),null,{'id':_0x2026cf});const _0x1881c6={..._0x26b8bd,'id':_0x2026cf,'name':a(this[_0x3053('0x8')],_0x249454),'color':this['_getNextColor']()};_0x1881c6[_0x3053('0x11')]=a(this[_0x3053('0x8')],_0x1881c6['name']);const _0x51c33b=new User(_0x1881c6);return this[_0x3053('0x33')][_0x3053('0x18')](_0x51c33b),_0x51c33b;}[_0x3053('0x1d')](_0xe55704){return this['users'][_0x3053('0x15')](_0xe55704);}['useAnonymousUser'](){const _0x54f1a8=this['context'][_0x3053('0x27')][_0x3053('0x15')]('users.anonymousUserId');this[_0x3053('0x2')]||this['defineMe'](_0x54f1a8);}[_0x3053('0x6')](_0x182d69){if(this[_0x3053('0x2')])throw new _0x5ebe8f(_0x3053('0x2c'),null);if(!this[_0x3053('0x1d')](_0x182d69))throw new _0x5ebe8f('users-me-missing-user',null);this[_0x3053('0x2')]=_0x182d69;}[_0x3053('0xc')](){return this['me'];}[_0x3053('0x17')](){super['destroy'](),clearInterval(this[_0x3053('0x34')]);}[_0x3053('0x2b')](){const _0xcf5907=this[_0x3053('0x1e')][_0x3053('0x27')]['get']('users.colorsCount');return this['_lastColor']>=_0xcf5907&&(this[_0x3053('0x10')]=0x0),new u(this[_0x3053('0x10')]++);}[_0x3053('0x30')](){const _0x3513d=this[_0x3053('0x1e')][_0x3053('0x27')][_0x3053('0x15')](_0x3053('0xe'));this[_0x3053('0x1a')]({'id':_0x3513d,'name':_0x31c6b9(this[_0x3053('0x8')],_0x3053('0x1b'))})['_isAnonymous']=!0x0;}}export class User{constructor(_0xf8073c){this['id']=_0xf8073c['id'],this[_0x3053('0x2f')]=_0xf8073c[_0x3053('0x2f')],this[_0x3053('0x11')]=_0xf8073c[_0x3053('0x11')],this[_0x3053('0x9')]=_0xf8073c[_0x3053('0x9')],this[_0x3053('0x3a')]=!0x1;}get[_0x3053('0x0')](){return this[_0x3053('0x3a')];}get[_0x3053('0x1f')](){const _0x1a4cb8=this[_0x3053('0x11')][_0x3053('0x29')]('\x20');return 0x1===_0x1a4cb8[_0x3053('0x38')]?this[_0x3053('0x16')](_0x1a4cb8[0x0]):this[_0x3053('0x16')](_0x1a4cb8[0x0])+this[_0x3053('0x16')](_0x1a4cb8[_0x1a4cb8[_0x3053('0x38')]-0x1]);}[_0x3053('0x16')](_0x5438cd){return _0x5438cd['charAt'](0x0)[_0x3053('0x5')]();}}function a(_0x32b75d,_0x2dcc1d=''){return''==(_0x2dcc1d=_0x2dcc1d[_0x3053('0x2a')]())?_0x31c6b9(_0x32b75d,_0x3053('0x1b')):_0x2dcc1d;}class u{constructor(_0x26b382){this['_id']=_0x26b382;}[_0x3053('0x32')](){return _0x3053('0x21')+this['_id'];}[_0x3053('0x2d')](){return _0x3053('0xf')+this['_id'];}['getMarkerClass'](){return _0x3053('0xb')+this[_0x3053('0xd')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x16e6ec,_0x4ba7e5){const t=_0x16e6ec['t'];switch(_0x4ba7e5){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(_0x350c58,_0x20e5bb){const t=_0x350c58['t'];switch(_0x20e5bb){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 _0x2331=['appendChild','_removeConfirm','message','registerChild','cancelConfirm','confirmView','destroy','showConfirm','once','deregisterChild','isConfirm','focus','render','element','fire','cancel','locale'];(function(_0xcc6c5b,_0x23315c){var _0x1dd30e=function(_0x471d93){while(--_0x471d93){_0xcc6c5b['push'](_0xcc6c5b['shift']());}};_0x1dd30e(++_0x23315c);}(_0x2331,0x99));var _0x1dd3=function(_0xcc6c5b,_0x23315c){_0xcc6c5b=_0xcc6c5b-0x0;var _0x1dd30e=_0x2331[_0xcc6c5b];return _0x1dd30e;};import _0x457d99 from'./confirmview';export default function m(_0x5a4ec1){return class extends _0x5a4ec1{[_0x1dd3('0x7')](_0x206779,_0x2445f8){return this[_0x1dd3('0x5')]=new _0x457d99(this[_0x1dd3('0x10')]),this[_0x1dd3('0x5')][_0x1dd3('0xc')](),this[_0x1dd3('0x5')][_0x1dd3('0x2')]=_0x206779,this['confirmView']['once'](_0x1dd3('0xf'),()=>{this[_0x1dd3('0x1')]();}),this[_0x1dd3('0x5')][_0x1dd3('0x8')]('submit',()=>{this[_0x1dd3('0x1')]();}),_0x2445f8[_0x1dd3('0x0')](this[_0x1dd3('0x5')][_0x1dd3('0xd')]),this[_0x1dd3('0x3')](this[_0x1dd3('0x5')]),this[_0x1dd3('0xd')][_0x1dd3('0xb')](),this['set']('isConfirm',!0x0),new Promise(_0x553bac=>this['confirmView']['on']('submit',_0x553bac));}[_0x1dd3('0x4')](){this[_0x1dd3('0xa')]&&this[_0x1dd3('0x5')][_0x1dd3('0xe')](_0x1dd3('0xf'));}[_0x1dd3('0x1')](){this[_0x1dd3('0xd')]&&this[_0x1dd3('0x5')]&&this[_0x1dd3('0x5')][_0x1dd3('0xd')]&&(this[_0x1dd3('0xd')][_0x1dd3('0xb')](),this[_0x1dd3('0x5')][_0x1dd3('0xd')]['remove'](),this[_0x1dd3('0x9')](this[_0x1dd3('0x5')]),this[_0x1dd3('0xa')]=!0x1,this['confirmView'][_0x1dd3('0x6')](),this[_0x1dd3('0x5')]=void 0x0);}};}
23
+ var _0x412c=['_removeConfirm','cancelConfirm','confirmView','appendChild','cancel','fire','element','showConfirm','set','isConfirm','once','render','remove','deregisterChild','focus','submit','destroy'];(function(_0x23c097,_0x412c4b){var _0x1eb556=function(_0x552b3d){while(--_0x552b3d){_0x23c097['push'](_0x23c097['shift']());}};_0x1eb556(++_0x412c4b);}(_0x412c,0xfa));var _0x1eb5=function(_0x23c097,_0x412c4b){_0x23c097=_0x23c097-0x0;var _0x1eb556=_0x412c[_0x23c097];return _0x1eb556;};import _0x419ff4 from'./confirmview';export default function m(_0x23c3f9){return class extends _0x23c3f9{[_0x1eb5('0xc')](_0x5776ae,_0x378be7){return this['confirmView']=new _0x419ff4(this['locale']),this[_0x1eb5('0x7')][_0x1eb5('0x10')](),this['confirmView']['message']=_0x5776ae,this[_0x1eb5('0x7')][_0x1eb5('0xf')](_0x1eb5('0x9'),()=>{this[_0x1eb5('0x5')]();}),this['confirmView'][_0x1eb5('0xf')](_0x1eb5('0x3'),()=>{this['_removeConfirm']();}),_0x378be7[_0x1eb5('0x8')](this[_0x1eb5('0x7')]['element']),this['registerChild'](this[_0x1eb5('0x7')]),this[_0x1eb5('0xb')][_0x1eb5('0x2')](),this[_0x1eb5('0xd')](_0x1eb5('0xe'),!0x0),new Promise(_0x3a500f=>this[_0x1eb5('0x7')]['on']('submit',_0x3a500f));}[_0x1eb5('0x6')](){this[_0x1eb5('0xe')]&&this[_0x1eb5('0x7')][_0x1eb5('0xa')](_0x1eb5('0x9'));}[_0x1eb5('0x5')](){this[_0x1eb5('0xb')]&&this[_0x1eb5('0x7')]&&this['confirmView']['element']&&(this['element']['focus'](),this['confirmView'][_0x1eb5('0xb')][_0x1eb5('0x0')](),this[_0x1eb5('0x1')](this['confirmView']),this[_0x1eb5('0xe')]=!0x1,this['confirmView'][_0x1eb5('0x4')](),this[_0x1eb5('0x7')]=void 0x0);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2733=['message','submitView','div','bindTemplate','ck-thread__remove-confirm-inner','ck-thread__remove-confirm-','fire','Are\x20you\x20sure?','cancel','set','_createButtonView','extendTemplate','icon','execute','ck-thread__remove-confirm-actions','setTemplate','cancelView','ck-thread__remove-confirm','label'];(function(_0x25f66d,_0x273312){const _0x5e3dbb=function(_0x47c3a4){while(--_0x47c3a4){_0x25f66d['push'](_0x25f66d['shift']());}};_0x5e3dbb(++_0x273312);}(_0x2733,0x103));const _0x5e3d=function(_0x25f66d,_0x273312){_0x25f66d=_0x25f66d-0x0;let _0x5e3dbb=_0x2733[_0x25f66d];return _0x5e3dbb;};import{View as _0x4fa3df,ButtonView as _0x3ed5ba}from'ckeditor5/src/ui';import{icons as _0x5e15d8}from'ckeditor5/src/core';import{getTranslation as _0x10db0d}from'./common-translations';export default class h extends _0x4fa3df{constructor(_0x5e313c){super(_0x5e313c);const _0x5f1fe7=this[_0x5e3d('0xa')];this[_0x5e3d('0x8')]=this[_0x5e3d('0x11')](_0x5e313c,_0x10db0d(_0x5e313c,'Yes'),_0x5e15d8['check'],'submit'),this[_0x5e3d('0x4')]=this[_0x5e3d('0x11')](_0x5e313c,_0x10db0d(_0x5e313c,'No'),_0x5e15d8[_0x5e3d('0xf')],'cancel'),this[_0x5e3d('0x10')]('message',_0x10db0d(_0x5e313c,_0x5e3d('0xe'))),this[_0x5e3d('0x3')]({'tag':_0x5e3d('0x9'),'attributes':{'class':[_0x5e3d('0x5')]},'children':[{'tag':_0x5e3d('0x9'),'attributes':{'class':_0x5e3d('0xb')},'children':[{'tag':'p','children':[{'text':_0x5f1fe7['to'](_0x5e3d('0x7'))}]},{'tag':_0x5e3d('0x9'),'attributes':{'class':_0x5e3d('0x2')},'children':[this[_0x5e3d('0x8')],this[_0x5e3d('0x4')]]}]}]});}[_0x5e3d('0x11')](_0x52252a,_0x1b446d,_0x2d250f,_0xa6c0c3){const _0x211b92=new _0x3ed5ba(_0x52252a);return _0x211b92[_0x5e3d('0x6')]=_0x1b446d,_0x211b92[_0x5e3d('0x0')]=_0x2d250f,_0x211b92[_0x5e3d('0x12')]({'attributes':{'class':_0x5e3d('0xc')+_0xa6c0c3}}),_0x211b92['on'](_0x5e3d('0x1'),()=>this[_0x5e3d('0xd')](_0xa6c0c3)),_0x211b92;}}
23
+ const _0x1e58=['submitView','Yes','check','message','cancel','ck-thread__remove-confirm','_createButtonView','ck-thread__remove-confirm-inner','Are\x20you\x20sure?','extendTemplate','icon','setTemplate','ck-thread__remove-confirm-actions','bindTemplate','cancelView','set','div','ck-thread__remove-confirm-','execute','label','fire','submit'];(function(_0x11f828,_0x1e5879){const _0x3c0d7e=function(_0x5d6dac){while(--_0x5d6dac){_0x11f828['push'](_0x11f828['shift']());}};_0x3c0d7e(++_0x1e5879);}(_0x1e58,0xaf));const _0x3c0d=function(_0x11f828,_0x1e5879){_0x11f828=_0x11f828-0x0;let _0x3c0d7e=_0x1e58[_0x11f828];return _0x3c0d7e;};import{View as _0xe389cc,ButtonView as _0xe4d18f}from'ckeditor5/src/ui';import{icons as _0x2ae899}from'ckeditor5/src/core';import{getTranslation as _0x56e9b4}from'./common-translations';export default class h extends _0xe389cc{constructor(_0x6a7f72){super(_0x6a7f72);const _0x2be5e8=this[_0x3c0d('0xe')];this[_0x3c0d('0x1')]=this[_0x3c0d('0x7')](_0x6a7f72,_0x56e9b4(_0x6a7f72,_0x3c0d('0x2')),_0x2ae899[_0x3c0d('0x3')],_0x3c0d('0x0')),this[_0x3c0d('0xf')]=this[_0x3c0d('0x7')](_0x6a7f72,_0x56e9b4(_0x6a7f72,'No'),_0x2ae899[_0x3c0d('0x5')],_0x3c0d('0x5')),this[_0x3c0d('0x10')](_0x3c0d('0x4'),_0x56e9b4(_0x6a7f72,_0x3c0d('0x9'))),this[_0x3c0d('0xc')]({'tag':_0x3c0d('0x11'),'attributes':{'class':[_0x3c0d('0x6')]},'children':[{'tag':_0x3c0d('0x11'),'attributes':{'class':_0x3c0d('0x8')},'children':[{'tag':'p','children':[{'text':_0x2be5e8['to'](_0x3c0d('0x4'))}]},{'tag':_0x3c0d('0x11'),'attributes':{'class':_0x3c0d('0xd')},'children':[this[_0x3c0d('0x1')],this[_0x3c0d('0xf')]]}]}]});}['_createButtonView'](_0xbfb9b6,_0x43f85c,_0x17ef7a,_0x2d8735){const _0xcadd88=new _0xe4d18f(_0xbfb9b6);return _0xcadd88[_0x3c0d('0x14')]=_0x43f85c,_0xcadd88[_0x3c0d('0xb')]=_0x17ef7a,_0xcadd88[_0x3c0d('0xa')]({'attributes':{'class':_0x3c0d('0x12')+_0x2d8735}}),_0xcadd88['on'](_0x3c0d('0x13'),()=>this[_0x3c0d('0x15')](_0x2d8735)),_0xcadd88;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5931=['MM-dd-yyyy\x20hh:mma','invalid-date-time-format','\x27Today\x27\x20hh:mma','dateTimeFormat'];(function(_0x2162bf,_0x59314f){const _0x538ba7=function(_0x30fa46){while(--_0x30fa46){_0x2162bf['push'](_0x2162bf['shift']());}};_0x538ba7(++_0x59314f);}(_0x5931,0xf0));const _0x538b=function(_0x2162bf,_0x59314f){_0x2162bf=_0x2162bf-0x0;let _0x538ba7=_0x5931[_0x2162bf];return _0x538ba7;};import _0xfc13cb from'date-fns/format';import _0x77cf1f from'date-fns/parseISO';import _0x25be34 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x392437}from'ckeditor5/src/utils';export default function E(_0x1962e4={}){if(void 0x0!==_0x1962e4[_0x538b('0x3')]&&'function'!=typeof _0x1962e4['dateTimeFormat'])throw new _0x392437(_0x538b('0x1'));return _0x17e53a=>{const _0x203f14='string'==typeof _0x17e53a?_0x77cf1f(_0x17e53a):_0x17e53a,_0x4ef4ee=new Date(),_0x39fad7=_0x25be34(_0x4ef4ee,_0x203f14);return _0x1962e4[_0x538b('0x3')]?_0x1962e4[_0x538b('0x3')](_0x203f14):_0xfc13cb(_0x203f14,0x0===_0x39fad7?_0x538b('0x2'):0x1===_0x39fad7?'\x27Yesterday\x27\x20hh:mma':_0x39fad7<0x7?'\x27Last\x27\x20EEEE\x20hh:mma':_0x538b('0x0'));};}
23
+ const _0xd605=['\x27Last\x27\x20EEEE\x20hh:mma','\x27Today\x27\x20hh:mma','invalid-date-time-format','dateTimeFormat','string','\x27Yesterday\x27\x20hh:mma','MM-dd-yyyy\x20hh:mma'];(function(_0x238f3a,_0xd605f0){const _0x4907f7=function(_0x1d7e65){while(--_0x1d7e65){_0x238f3a['push'](_0x238f3a['shift']());}};_0x4907f7(++_0xd605f0);}(_0xd605,0xf9));const _0x4907=function(_0x238f3a,_0xd605f0){_0x238f3a=_0x238f3a-0x0;let _0x4907f7=_0xd605[_0x238f3a];return _0x4907f7;};import _0x4df54b from'date-fns/format';import _0x3501bf from'date-fns/parseISO';import _0x7a21a2 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x46c496}from'ckeditor5/src/utils';export default function E(_0x9ebb={}){if(void 0x0!==_0x9ebb[_0x4907('0x6')]&&'function'!=typeof _0x9ebb[_0x4907('0x6')])throw new _0x46c496(_0x4907('0x5'));return _0x1b026e=>{const _0xa94483=_0x4907('0x0')==typeof _0x1b026e?_0x3501bf(_0x1b026e):_0x1b026e,_0x12b234=new Date(),_0x1a2db6=_0x7a21a2(_0x12b234,_0xa94483);return _0x9ebb['dateTimeFormat']?_0x9ebb[_0x4907('0x6')](_0xa94483):_0x4df54b(_0xa94483,0x0===_0x1a2db6?_0x4907('0x4'):0x1===_0x1a2db6?_0x4907('0x1'):_0x1a2db6<0x7?_0x4907('0x3'):_0x4907('0x2'));};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b36=['domElement','length','mapper','name','filter','mapViewToDom','sort','markerNameToElements','from','push','getClientRects','map','domConverter','values','view'];(function(_0x471fae,_0x3b3676){const _0x55725f=function(_0x3bfc00){while(--_0x3bfc00){_0x471fae['push'](_0x471fae['shift']());}};_0x55725f(++_0x3b3676);}(_0x3b36,0x18f));const _0x5572=function(_0x471fae,_0x3b3676){_0x471fae=_0x471fae-0x0;let _0x55725f=_0x3b36[_0x471fae];return _0x55725f;};import{first as _0x11268b}from'ckeditor5/src/utils';export default function k(_0x8d2616,_0x578d2e){const _0x59ba97=_0x8d2616[_0x5572('0x8')][_0x5572('0xd')](_0x578d2e[_0x5572('0x9')]);if(!_0x59ba97)return null;const _0x5eb1ec=_0x11268b(_0x59ba97[_0x5572('0x4')]());return _0x8d2616[_0x5572('0x5')][_0x5572('0x3')][_0x5572('0xb')](_0x5eb1ec)||null;}export function getAllMarkersDomElementsSorted(_0x3e0197,_0x2522a6){if(0x0===_0x2522a6[_0x5572('0x7')])return null;const _0x3fa9cb=[],_0x2361e4=_0x3e0197['view'][_0x5572('0x3')];for(const _0x20c90f of _0x2522a6){const _0x26efaf=_0x3e0197[_0x5572('0x8')]['markerNameToElements'](_0x20c90f[_0x5572('0x9')]);if(!_0x26efaf)continue;const _0x302376=Array[_0x5572('0xe')](_0x26efaf)[_0x5572('0x2')](_0x2a574e=>_0x2361e4['mapViewToDom'](_0x2a574e))[_0x5572('0xa')](_0x4d7374=>!!_0x4d7374);_0x3fa9cb[_0x5572('0x0')](..._0x302376);}if(0x0===_0x3fa9cb['length'])return null;const _0x481c85=[];for(const _0x47adf6 of _0x3fa9cb){const _0x6cfe98=_0x47adf6[_0x5572('0x1')]()['item'](0x0);_0x6cfe98&&_0x481c85[_0x5572('0x0')]({'x':_0x6cfe98['x'],'y':_0x6cfe98['y'],'domElement':_0x47adf6});}return 0x0===_0x481c85[_0x5572('0x7')]?null:(_0x481c85[_0x5572('0xc')]((_0x454e07,_0x1f25ea)=>_0x454e07['y']-_0x1f25ea['y']||_0x454e07['x']-_0x1f25ea['x']),_0x481c85['map'](_0xa40d70=>_0xa40d70[_0x5572('0x6')]));}
23
+ const _0x3ec2=['item','domElement','name','mapViewToDom','filter','domConverter','push','values','length','view','from','mapper','markerNameToElements'];(function(_0x15a118,_0x3ec2ff){const _0x5c70fa=function(_0x3d8a34){while(--_0x3d8a34){_0x15a118['push'](_0x15a118['shift']());}};_0x5c70fa(++_0x3ec2ff);}(_0x3ec2,0xbe));const _0x5c70=function(_0x15a118,_0x3ec2ff){_0x15a118=_0x15a118-0x0;let _0x5c70fa=_0x3ec2[_0x15a118];return _0x5c70fa;};import{first as _0xa1e02}from'ckeditor5/src/utils';export default function k(_0x39f021,_0x1e9632){const _0xde327=_0x39f021[_0x5c70('0x3')][_0x5c70('0x4')](_0x1e9632[_0x5c70('0x7')]);if(!_0xde327)return null;const _0x3e0443=_0xa1e02(_0xde327[_0x5c70('0xc')]());return _0x39f021['view'][_0x5c70('0xa')][_0x5c70('0x8')](_0x3e0443)||null;}export function getAllMarkersDomElementsSorted(_0x2aee31,_0x57fa99){if(0x0===_0x57fa99['length'])return null;const _0x140227=[],_0x2318a1=_0x2aee31[_0x5c70('0x1')][_0x5c70('0xa')];for(const _0x133bf0 of _0x57fa99){const _0x3f15b3=_0x2aee31[_0x5c70('0x3')][_0x5c70('0x4')](_0x133bf0['name']);if(!_0x3f15b3)continue;const _0x48b7d1=Array[_0x5c70('0x2')](_0x3f15b3)['map'](_0x3c07fd=>_0x2318a1[_0x5c70('0x8')](_0x3c07fd))[_0x5c70('0x9')](_0x2bc23e=>!!_0x2bc23e);_0x140227[_0x5c70('0xb')](..._0x48b7d1);}if(0x0===_0x140227[_0x5c70('0x0')])return null;const _0x52ab87=[];for(const _0x2a79fe of _0x140227){const _0x184402=_0x2a79fe['getClientRects']()[_0x5c70('0x5')](0x0);_0x184402&&_0x52ab87['push']({'x':_0x184402['x'],'y':_0x184402['y'],'domElement':_0x2a79fe});}return 0x0===_0x52ab87[_0x5c70('0x0')]?null:(_0x52ab87['sort']((_0x4984ff,_0x16b6c5)=>_0x4984ff['y']-_0x16b6c5['y']||_0x4984ff['x']-_0x16b6c5['x']),_0x52ab87['map'](_0x20cab2=>_0x20cab2[_0x5c70('0x6')]));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6edd=['keys','number','sort','string','toString','sign','isArray','boolean','charCodeAt'];(function(_0x35d93a,_0x6edd74){const _0x10ad80=function(_0x2e38c4){while(--_0x2e38c4){_0x35d93a['push'](_0x35d93a['shift']());}};_0x10ad80(++_0x6edd74);}(_0x6edd,0x146));const _0x10ad=function(_0x35d93a,_0x6edd74){_0x35d93a=_0x35d93a-0x0;let _0x10ad80=_0x6edd[_0x35d93a];return _0x10ad80;};export default function b(_0x3ebcb5){let _0x43af36=0x0,_0x493763=0x0;for(const _0x37d209 of g(_0x3ebcb5))_0x43af36=(_0x43af36<<0x5)-_0x43af36+_0x37d209,_0x43af36&=_0x43af36,[_0x43af36,_0x493763]=[_0x493763,_0x43af36];return O(_0x43af36)+O(_0x493763);}function*j(_0x4ee8ca){_0x4ee8ca?_0x10ad('0x5')==typeof _0x4ee8ca?yield 0x1:Array[_0x10ad('0x4')](_0x4ee8ca)?yield*function*(_0x47a77a){for(const _0x371e97 of _0x47a77a)yield*j(_0x371e97);}(_0x4ee8ca):'object'==typeof _0x4ee8ca?yield*g(_0x4ee8ca):_0x10ad('0x1')==typeof _0x4ee8ca?yield*A(_0x4ee8ca):_0x10ad('0x8')==typeof _0x4ee8ca&&(yield _0x4ee8ca):yield 0x0;}function*g(_0x4f241a){if(yield M('{'),_0x4f241a){const _0x571776=Object[_0x10ad('0x7')](_0x4f241a)[_0x10ad('0x0')]();for(const _0x10a374 of _0x571776){yield*A(_0x10a374),yield M(':');const _0x1df0db=_0x4f241a[_0x10a374];yield*j(_0x1df0db);}}yield M('}');}function*A(_0x569e7a){yield M('\x22');for(const _0x415770 of _0x569e7a)yield M(_0x415770);yield M('\x22');}function M(_0x34dc91){return _0x34dc91[_0x10ad('0x6')](0x0);}function O(_0x5ff053){return(_0x5ff053*=Math[_0x10ad('0x3')](_0x5ff053))[_0x10ad('0x2')](0x24);}
23
+ const _0x2a67=['string','keys','boolean','sign','sort','number','charCodeAt','toString','object','isArray'];(function(_0xa82b9f,_0x2a6730){const _0x51e800=function(_0x6799da){while(--_0x6799da){_0xa82b9f['push'](_0xa82b9f['shift']());}};_0x51e800(++_0x2a6730);}(_0x2a67,0x90));const _0x51e8=function(_0xa82b9f,_0x2a6730){_0xa82b9f=_0xa82b9f-0x0;let _0x51e800=_0x2a67[_0xa82b9f];return _0x51e800;};export default function b(_0x5bfbe3){let _0x1e9bc=0x0,_0x32c88b=0x0;for(const _0x5f0055 of g(_0x5bfbe3))_0x1e9bc=(_0x1e9bc<<0x5)-_0x1e9bc+_0x5f0055,_0x1e9bc&=_0x1e9bc,[_0x1e9bc,_0x32c88b]=[_0x32c88b,_0x1e9bc];return O(_0x1e9bc)+O(_0x32c88b);}function*j(_0x65598f){_0x65598f?_0x51e8('0x8')==typeof _0x65598f?yield 0x1:Array[_0x51e8('0x5')](_0x65598f)?yield*function*(_0x553c91){for(const _0x5ca224 of _0x553c91)yield*j(_0x5ca224);}(_0x65598f):_0x51e8('0x4')==typeof _0x65598f?yield*g(_0x65598f):_0x51e8('0x6')==typeof _0x65598f?yield*A(_0x65598f):_0x51e8('0x1')==typeof _0x65598f&&(yield _0x65598f):yield 0x0;}function*g(_0x2a5b9d){if(yield M('{'),_0x2a5b9d){const _0x527aa1=Object[_0x51e8('0x7')](_0x2a5b9d)[_0x51e8('0x0')]();for(const _0x44e45c of _0x527aa1){yield*A(_0x44e45c),yield M(':');const _0xbc6f84=_0x2a5b9d[_0x44e45c];yield*j(_0xbc6f84);}}yield M('}');}function*A(_0x3d3d4b){yield M('\x22');for(const _0x30ec70 of _0x3d3d4b)yield M(_0x30ec70);yield M('\x22');}function M(_0x151f34){return _0x151f34[_0x51e8('0x2')](0x0);}function O(_0x33b11c){return(_0x33b11c*=Math[_0x51e8('0x9')](_0x33b11c))[_0x51e8('0x3')](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d59=['Autosave','_context','removePlugins','names','context','DocumentOutline','string','concat','pluginName','config','requires','set','every','constructor','RevisionTracker','rootsAttributes','initialData','find','toolbar','plugins','get','extraPlugins','has','map'];(function(_0x1fdf99,_0x2d593a){const _0x17815d=function(_0x3e791b){while(--_0x3e791b){_0x1fdf99['push'](_0x1fdf99['shift']());}};_0x17815d(++_0x2d593a);}(_0x2d59,0xe9));const _0x1781=function(_0x1fdf99,_0x2d593a){_0x1fdf99=_0x1fdf99-0x0;let _0x17815d=_0x2d59[_0x1fdf99];return _0x17815d;};const w=[_0x1781('0x17'),_0x1781('0xb'),_0x1781('0x1'),_0x1781('0x16')],W=['WebSocketGateway',_0x1781('0x15'),_0x1781('0x7'),'WordCount',_0x1781('0xc'),'WProofreader'];function v(_0x3a5d32,_0x29a679,_0x17413e,_0x98789a=[]){const _0x4bb686=_0x1781('0xd')==typeof _0x3a5d32?_0x17413e[_0x1781('0x3')](_0x3a5d32)[_0x1781('0x14')]:_0x3a5d32,_0xa6046e=_0x4bb686[_0x1781('0xf')]||_0x4bb686['name'];if(_0x29a679[_0x1781('0x5')](_0xa6046e))return _0x29a679['get'](_0xa6046e);if(_0x29a679['set'](_0xa6046e,!0x0),_0xa6046e&&W[_0x1781('0xe')](_0x98789a)['includes'](_0xa6046e))return _0x29a679[_0x1781('0x12')](_0xa6046e,!0x1),!0x1;if(!_0x4bb686[_0x1781('0x11')])return _0x29a679[_0x1781('0x12')](_0xa6046e,!0x0),!0x0;const _0x42213d=_0x4bb686[_0x1781('0x11')][_0x1781('0x13')](_0x8d3b90=>v(_0x8d3b90,_0x29a679,_0x17413e,_0x98789a));return _0x29a679['set'](_0xa6046e,_0x42213d),_0x42213d;}export default function D(_0x5216b5,_0x713cb4){const _0x15364c={};for(const _0x46fd41 of _0x5216b5[_0x1781('0x10')][_0x1781('0xa')]())w['includes'](_0x46fd41)||(_0x15364c[_0x46fd41]=_0x5216b5[_0x1781('0x10')][_0x1781('0x3')](_0x46fd41));const _0x248d34=_0x15364c[_0x1781('0x2')]||[],_0x4c438a=_0x5216b5[_0x1781('0x14')]['builtinPlugins']||[],_0x1c6b7c=_0x248d34['length']?_0x248d34:_0x4c438a,_0xb35c92=_0x15364c['extraPlugins']||[];delete _0x15364c[_0x1781('0x4')];const _0x9f376e=_0x15364c[_0x1781('0x9')]||[];delete _0x15364c[_0x1781('0x9')];const _0x17295b=_0x5216b5[_0x1781('0x8')][_0x1781('0x10')][_0x1781('0x3')](_0x1781('0x2'))||[],_0x3c677a=_0x1c6b7c['concat'](_0xb35c92)[_0x1781('0xe')](_0x17295b)[_0x1781('0x6')](_0x4b9a48=>_0x1781('0xd')==typeof _0x4b9a48?_0x4c438a[_0x1781('0x0')](_0x4bbb3b=>_0x4bbb3b[_0x1781('0xf')]==_0x4b9a48):_0x4b9a48)['filter'](_0x3b52e5=>!_0x9f376e['includes'](_0x3b52e5)),_0x5d54a4=Array['from'](new Set(_0x3c677a)),_0x3f8b08=new Map();return _0x15364c[_0x1781('0x2')]=_0x5d54a4['filter'](_0x5e20d5=>v(_0x5e20d5,_0x3f8b08,_0x5216b5[_0x1781('0x2')],_0x713cb4)),_0x15364c;}
23
+ const _0x32b6=['builtinPlugins','RevisionTracker','removePlugins','concat','pluginName','name','every','get','constructor','WordCount','DocumentOutline','plugins','config','includes','find','length','has','requires','toolbar','_context','context','WProofreader','extraPlugins','rootsAttributes','set','filter','initialData'];(function(_0x2f162b,_0x32b662){const _0x3e5ffb=function(_0x54b7b0){while(--_0x54b7b0){_0x2f162b['push'](_0x2f162b['shift']());}};_0x3e5ffb(++_0x32b662);}(_0x32b6,0x129));const _0x3e5f=function(_0x2f162b,_0x32b662){_0x2f162b=_0x2f162b-0x0;let _0x3e5ffb=_0x32b6[_0x2f162b];return _0x3e5ffb;};const w=[_0x3e5f('0x1a'),_0x3e5f('0x14'),_0x3e5f('0x12'),_0x3e5f('0x17')],W=['WebSocketGateway',_0x3e5f('0x1'),'Autosave',_0x3e5f('0x9'),_0x3e5f('0xa'),_0x3e5f('0x15')];function v(_0x2c9020,_0x493bc2,_0x464c8a,_0xf3d70a=[]){const _0x5bf920='string'==typeof _0x2c9020?_0x464c8a[_0x3e5f('0x7')](_0x2c9020)[_0x3e5f('0x8')]:_0x2c9020,_0x9c5de1=_0x5bf920[_0x3e5f('0x4')]||_0x5bf920[_0x3e5f('0x5')];if(_0x493bc2[_0x3e5f('0x10')](_0x9c5de1))return _0x493bc2[_0x3e5f('0x7')](_0x9c5de1);if(_0x493bc2[_0x3e5f('0x18')](_0x9c5de1,!0x0),_0x9c5de1&&W[_0x3e5f('0x3')](_0xf3d70a)[_0x3e5f('0xd')](_0x9c5de1))return _0x493bc2['set'](_0x9c5de1,!0x1),!0x1;if(!_0x5bf920[_0x3e5f('0x11')])return _0x493bc2[_0x3e5f('0x18')](_0x9c5de1,!0x0),!0x0;const _0x102ae1=_0x5bf920[_0x3e5f('0x11')][_0x3e5f('0x6')](_0x2e5407=>v(_0x2e5407,_0x493bc2,_0x464c8a,_0xf3d70a));return _0x493bc2['set'](_0x9c5de1,_0x102ae1),_0x102ae1;}export default function D(_0x5403dd,_0x5c0ba5){const _0x734e54={};for(const _0x30afc9 of _0x5403dd['config']['names']())w[_0x3e5f('0xd')](_0x30afc9)||(_0x734e54[_0x30afc9]=_0x5403dd[_0x3e5f('0xc')]['get'](_0x30afc9));const _0x35e9b0=_0x734e54[_0x3e5f('0xb')]||[],_0x386f6b=_0x5403dd[_0x3e5f('0x8')][_0x3e5f('0x0')]||[],_0x430c4c=_0x35e9b0[_0x3e5f('0xf')]?_0x35e9b0:_0x386f6b,_0x40d212=_0x734e54[_0x3e5f('0x16')]||[];delete _0x734e54[_0x3e5f('0x16')];const _0x54c3d9=_0x734e54[_0x3e5f('0x2')]||[];delete _0x734e54['removePlugins'];const _0x4af922=_0x5403dd[_0x3e5f('0x13')]['config'][_0x3e5f('0x7')](_0x3e5f('0xb'))||[],_0x274a3e=_0x430c4c[_0x3e5f('0x3')](_0x40d212)[_0x3e5f('0x3')](_0x4af922)['map'](_0x36a2de=>'string'==typeof _0x36a2de?_0x386f6b[_0x3e5f('0xe')](_0x38c0c7=>_0x38c0c7[_0x3e5f('0x4')]==_0x36a2de):_0x36a2de)[_0x3e5f('0x19')](_0x5d87dd=>!_0x54c3d9[_0x3e5f('0xd')](_0x5d87dd)),_0x17ae25=Array['from'](new Set(_0x274a3e)),_0x4a8e30=new Map();return _0x734e54[_0x3e5f('0xb')]=_0x17ae25['filter'](_0x374e8d=>v(_0x374e8d,_0x4a8e30,_0x5403dd[_0x3e5f('0xb')],_0x5c0ba5)),_0x734e54;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2558=['match','pop','...','push','startsWith','length','slice','replace','join','indexOf'];(function(_0x11fadb,_0x25589d){const _0x237f97=function(_0x570eff){while(--_0x570eff){_0x11fadb['push'](_0x11fadb['shift']());}};_0x237f97(++_0x25589d);}(_0x2558,0xaf));const _0x237f=function(_0x11fadb,_0x25589d){_0x11fadb=_0x11fadb-0x0;let _0x237f97=_0x2558[_0x11fadb];return _0x237f97;};export default function z(_0x3c4e8f,{limit:_0x276736,suffix:_0x34c12e=_0x237f('0x7')}){const _0x259e3d=[];let _0x2e264f=0x0;const _0x44ba6d=_0x3c4e8f[_0x237f('0x2')](/</g,'\x0a<')[_0x237f('0x2')](/>/g,'>\x0a')[_0x237f('0x2')](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x499d86=0x0;_0x499d86<_0x44ba6d[_0x237f('0x0')];_0x499d86++){let _0x315e4c=_0x44ba6d[_0x499d86];const _0x1dadfc=Z(_0x315e4c);if(_0x315e4c[_0x237f('0x9')]('<')){if(_0x2e264f>=_0x276736){const _0x10524b=_0x315e4c['match'](/[a-zA-Z]+/);if(!_0x10524b){_0x44ba6d[_0x499d86]='';continue;}const _0x1a0da3=_0x10524b[0x0];_0x315e4c[_0x237f('0x9')]('</')?(_0x259e3d['length']&&(_0x315e4c=''),_0x259e3d[_0x237f('0x6')]()):(_0x259e3d['push'](_0x1a0da3),_0x315e4c='');}}else{if(_0x2e264f>=_0x276736)_0x315e4c='';else{if(_0x2e264f+_0x1dadfc['length']>=_0x276736){let _0x5b3d11=_0x276736-_0x2e264f;if('\x20'===_0x1dadfc[_0x5b3d11-0x1])_0x5b3d11--;else{const _0x1db102=_0x1dadfc['slice'](_0x5b3d11)[_0x237f('0x4')]('\x20');-0x1!==_0x1db102?_0x5b3d11+=_0x1db102:_0x5b3d11=_0x315e4c[_0x237f('0x0')];}_0x315e4c=_0x1dadfc[_0x237f('0x1')](0x0,_0x5b3d11)[_0x237f('0x3')]('')+_0x34c12e,_0x2e264f=_0x276736;}else _0x2e264f+=_0x1dadfc[_0x237f('0x0')];}}_0x44ba6d[_0x499d86]=_0x315e4c;}return _0x44ba6d[_0x237f('0x3')]('\x0a')[_0x237f('0x2')](/\n/g,'');}function Z(_0x12b7d3){const _0x780db9=[];for(let _0x57a6f5=0x0;_0x57a6f5<_0x12b7d3[_0x237f('0x0')];_0x57a6f5++){const _0x464f74=_0x12b7d3['substring'](_0x57a6f5)[_0x237f('0x5')](/^&[a-z0-9#]+;/);if(_0x464f74){const _0x2b93e7=_0x464f74[0x0];_0x780db9[_0x237f('0x8')](_0x2b93e7),_0x57a6f5+=_0x2b93e7[_0x237f('0x0')]-0x1;}else _0x780db9[_0x237f('0x8')](_0x12b7d3[_0x57a6f5]);}return _0x780db9;}
23
+ const _0x414d=['indexOf','length','match','substring','...','replace','push','startsWith','join','slice','pop','split'];(function(_0x2646a3,_0x414d9f){const _0x40e795=function(_0x6bda8c){while(--_0x6bda8c){_0x2646a3['push'](_0x2646a3['shift']());}};_0x40e795(++_0x414d9f);}(_0x414d,0x6e));const _0x40e7=function(_0x2646a3,_0x414d9f){_0x2646a3=_0x2646a3-0x0;let _0x40e795=_0x414d[_0x2646a3];return _0x40e795;};export default function z(_0xd82f60,{limit:_0x56c149,suffix:_0x4fad04=_0x40e7('0x2')}){const _0x484608=[];let _0x554904=0x0;const _0x496ee4=_0xd82f60[_0x40e7('0x3')](/</g,'\x0a<')['replace'](/>/g,'>\x0a')[_0x40e7('0x3')](/^\n/g,'')[_0x40e7('0x3')](/\n$/g,'')[_0x40e7('0x9')]('\x0a');for(let _0x27477f=0x0;_0x27477f<_0x496ee4[_0x40e7('0xb')];_0x27477f++){let _0xdc3e3=_0x496ee4[_0x27477f];const _0x249ea8=Z(_0xdc3e3);if(_0xdc3e3['startsWith']('<')){if(_0x554904>=_0x56c149){const _0x23f5c3=_0xdc3e3[_0x40e7('0x0')](/[a-zA-Z]+/);if(!_0x23f5c3){_0x496ee4[_0x27477f]='';continue;}const _0x14512e=_0x23f5c3[0x0];_0xdc3e3[_0x40e7('0x5')]('</')?(_0x484608[_0x40e7('0xb')]&&(_0xdc3e3=''),_0x484608[_0x40e7('0x8')]()):(_0x484608[_0x40e7('0x4')](_0x14512e),_0xdc3e3='');}}else{if(_0x554904>=_0x56c149)_0xdc3e3='';else{if(_0x554904+_0x249ea8['length']>=_0x56c149){let _0x42f12a=_0x56c149-_0x554904;if('\x20'===_0x249ea8[_0x42f12a-0x1])_0x42f12a--;else{const _0x1b2bd4=_0x249ea8[_0x40e7('0x7')](_0x42f12a)[_0x40e7('0xa')]('\x20');-0x1!==_0x1b2bd4?_0x42f12a+=_0x1b2bd4:_0x42f12a=_0xdc3e3['length'];}_0xdc3e3=_0x249ea8[_0x40e7('0x7')](0x0,_0x42f12a)[_0x40e7('0x6')]('')+_0x4fad04,_0x554904=_0x56c149;}else _0x554904+=_0x249ea8[_0x40e7('0xb')];}}_0x496ee4[_0x27477f]=_0xdc3e3;}return _0x496ee4['join']('\x0a')['replace'](/\n/g,'');}function Z(_0x5bd384){const _0x5c8dd7=[];for(let _0x4f787b=0x0;_0x4f787b<_0x5bd384[_0x40e7('0xb')];_0x4f787b++){const _0x2f79d4=_0x5bd384[_0x40e7('0x1')](_0x4f787b)[_0x40e7('0x0')](/^&[a-z0-9#]+;/);if(_0x2f79d4){const _0x293361=_0x2f79d4[0x0];_0x5c8dd7['push'](_0x293361),_0x4f787b+=_0x293361['length']-0x1;}else _0x5c8dd7[_0x40e7('0x4')](_0x5bd384[_0x4f787b]);}return _0x5c8dd7;}