@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20230803.0 → 0.0.0-nightly-20230804.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-20230803.0",
3
+ "version": "0.0.0-nightly-20230804.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-20230803.0",
34
+ "ckeditor5": "0.0.0-nightly-20230804.0",
35
35
  "date-fns": "2.30.0"
36
36
  },
37
37
  "engines": {
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2279=['permissions-set-permissions-invalid-channel-id','comment:admin','disableReadOnlyMode','has','noPermissions','editors','pluginName','clearForceDisabled','find','CommentsRepository','context','commands','enableReadOnlyMode','collaboration.channelId','get','setPermissions','comment:modify_all','CommentsOnly','includes','no-permissions','config','addCommentThread'];(function(_0x5b0ff2,_0x22790c){const _0x23db35=function(_0x3ba377){while(--_0x3ba377){_0x5b0ff2['push'](_0x5b0ff2['shift']());}};_0x23db35(++_0x22790c);}(_0x2279,0x1e2));const _0x23db=function(_0x5b0ff2,_0x22790c){_0x5b0ff2=_0x5b0ff2-0x0;let _0x23db35=_0x2279[_0x5b0ff2];return _0x23db35;};import{ContextPlugin as _0x208683,Editor as _0x563a6a}from'ckeditor5/src/core';import{CKEditorError as _0x132d9a}from'ckeditor5/src/utils';export default class n extends _0x208683{static get[_0x23db('0x8')](){return'Permissions';}['setPermissions'](_0x1e4960,_0x1ac081){let _0x49c2eb;if(_0x1ac081||(_0x1ac081=this[_0x23db('0xc')][_0x23db('0x0')]['get'](_0x23db('0xf'))),this['context'][_0x23db('0x0')][_0x23db('0x10')](_0x23db('0xf'))==_0x1ac081?_0x49c2eb=this[_0x23db('0xc')]:'editors'in this[_0x23db('0xc')]&&this[_0x23db('0xc')]['editors']&&(_0x49c2eb=this[_0x23db('0xc')][_0x23db('0x7')][_0x23db('0xa')](_0x2024d2=>_0x2024d2['config'][_0x23db('0x10')]('collaboration.channelId')==_0x1ac081)),!_0x49c2eb)throw new _0x132d9a(_0x23db('0x2'),null);const _0x5a561=_0x49c2eb['plugins'],_0x402549=_0x5a561['has'](_0x23db('0xb'))?_0x5a561[_0x23db('0x10')](_0x23db('0xb')):void 0x0,_0x3ddb0b=_0x5a561[_0x23db('0x5')](_0x23db('0x13'))&&_0x5a561[_0x23db('0x10')](_0x23db('0x13')),_0x31089f=_0x1e4960['includes']('document:write'),_0x4f6b32=_0x1e4960[_0x23db('0x14')](_0x23db('0x12')),_0x466bcb=_0x1e4960[_0x23db('0x14')](_0x23db('0x3')),_0x2e6a15=_0x1e4960[_0x23db('0x14')]('comment:write'),_0x23b95e=_0x2e6a15||_0x466bcb,_0x3d6ae8=_0x23b95e||_0x4f6b32,_0x23d73b=_0x31089f||_0x23b95e;(_0x3ddb0b&&(_0x3ddb0b['isEnabled']=!_0x31089f&&_0x3d6ae8),_0x49c2eb instanceof _0x563a6a)&&(!(_0x31089f||_0x3d6ae8&&_0x402549)?_0x49c2eb[_0x23db('0xe')](_0x23db('0x15')):_0x49c2eb[_0x23db('0x4')](_0x23db('0x15')));if(_0x402549){_0x402549[_0x23db('0x11')]({'admin':_0x466bcb,'modifyAll':_0x4f6b32,'write':_0x2e6a15,'resolve':_0x23d73b},_0x1ac081);const _0x3b2990=_0x49c2eb instanceof _0x563a6a&&_0x49c2eb[_0x23db('0xd')][_0x23db('0x10')](_0x23db('0x1'));_0x3b2990&&(_0x23b95e?_0x3b2990[_0x23db('0x9')]('noPermissions'):_0x3b2990['forceDisabled'](_0x23db('0x6')));}}}
23
+ const _0x1732=['has','enableReadOnlyMode','forceDisabled','setPermissions','no-permissions','disableReadOnlyMode','context','comment:admin','get','isEnabled','plugins','comment:write','clearForceDisabled','CommentsOnly','editors','includes','config','pluginName','collaboration.channelId','comment:modify_all','commands','noPermissions','addCommentThread','find','CommentsRepository'];(function(_0xda66e7,_0x17326e){const _0xa8ef58=function(_0x21bf96){while(--_0x21bf96){_0xda66e7['push'](_0xda66e7['shift']());}};_0xa8ef58(++_0x17326e);}(_0x1732,0x9d));const _0xa8ef=function(_0xda66e7,_0x17326e){_0xda66e7=_0xda66e7-0x0;let _0xa8ef58=_0x1732[_0xda66e7];return _0xa8ef58;};import{ContextPlugin as _0x4d63ea,Editor as _0x4fd41f}from'ckeditor5/src/core';import{CKEditorError as _0x49a1c8}from'ckeditor5/src/utils';export default class n extends _0x4d63ea{static get[_0xa8ef('0xa')](){return'Permissions';}[_0xa8ef('0x15')](_0x3c6222,_0x5af111){let _0x46aea7;if(_0x5af111||(_0x5af111=this[_0xa8ef('0x18')][_0xa8ef('0x9')][_0xa8ef('0x1')](_0xa8ef('0xb'))),this[_0xa8ef('0x18')][_0xa8ef('0x9')][_0xa8ef('0x1')]('collaboration.channelId')==_0x5af111?_0x46aea7=this['context']:_0xa8ef('0x7')in this['context']&&this[_0xa8ef('0x18')][_0xa8ef('0x7')]&&(_0x46aea7=this[_0xa8ef('0x18')][_0xa8ef('0x7')][_0xa8ef('0x10')](_0x43b4ac=>_0x43b4ac[_0xa8ef('0x9')][_0xa8ef('0x1')](_0xa8ef('0xb'))==_0x5af111)),!_0x46aea7)throw new _0x49a1c8('permissions-set-permissions-invalid-channel-id',null);const _0x5c42df=_0x46aea7[_0xa8ef('0x3')],_0x2deeaa=_0x5c42df[_0xa8ef('0x12')](_0xa8ef('0x11'))?_0x5c42df[_0xa8ef('0x1')](_0xa8ef('0x11')):void 0x0,_0x4169ec=_0x5c42df[_0xa8ef('0x12')]('CommentsOnly')&&_0x5c42df[_0xa8ef('0x1')](_0xa8ef('0x6')),_0x309f48=_0x3c6222['includes']('document:write'),_0x46aede=_0x3c6222['includes'](_0xa8ef('0xc')),_0x32b7b0=_0x3c6222[_0xa8ef('0x8')](_0xa8ef('0x0')),_0x4915f9=_0x3c6222[_0xa8ef('0x8')](_0xa8ef('0x4')),_0x56eded=_0x4915f9||_0x32b7b0,_0x52121b=_0x56eded||_0x46aede,_0x1d1fe6=_0x309f48||_0x56eded;(_0x4169ec&&(_0x4169ec[_0xa8ef('0x2')]=!_0x309f48&&_0x52121b),_0x46aea7 instanceof _0x4fd41f)&&(!(_0x309f48||_0x52121b&&_0x2deeaa)?_0x46aea7[_0xa8ef('0x13')]('no-permissions'):_0x46aea7[_0xa8ef('0x17')](_0xa8ef('0x16')));if(_0x2deeaa){_0x2deeaa['setPermissions']({'admin':_0x32b7b0,'modifyAll':_0x46aede,'write':_0x4915f9,'resolve':_0x1d1fe6},_0x5af111);const _0x325e9f=_0x46aea7 instanceof _0x4fd41f&&_0x46aea7[_0xa8ef('0xd')][_0xa8ef('0x1')](_0xa8ef('0xf'));_0x325e9f&&(_0x56eded?_0x325e9f[_0xa8ef('0x5')]('noPermissions'):_0x325e9f[_0xa8ef('0x14')](_0xa8ef('0xe')));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ba5=['ck\x20ck-user__name\x20ck-user__name--hidden','avatar','push','ck-user__notification','notificationView','ck\x20ck-user__name','url(\x27','ck-user','setTemplate','ck-user__icon','div','ck-user__avatar','name','ck-user__img','ck-user__anonymous'];(function(_0x225123,_0x5ba51e){const _0x458cf3=function(_0x1e0005){while(--_0x1e0005){_0x225123['push'](_0x225123['shift']());}};_0x458cf3(++_0x5ba51e);}(_0x5ba5,0xf4));const _0x458c=function(_0x225123,_0x5ba51e){_0x225123=_0x225123-0x0;let _0x458cf3=_0x5ba5[_0x225123];return _0x458cf3;};import{View as _0x1bd6b2,IconView as _0x4a3e7a}from'ckeditor5/src/ui';import _0x1201db from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x1bd6b2{constructor(_0x50006f,_0x57a70f,_0x514b0b){super(_0x50006f),this[_0x458c('0x8')]=_0x57a70f['name'],this['notificationView']=null;const _0x4c1794=['ck',_0x458c('0x9')];if(_0x57a70f['isAnonymous']&&_0x4c1794[_0x458c('0xd')](_0x458c('0xa')),_0x57a70f['avatar']&&_0x4c1794['push'](_0x458c('0x7')),_0x514b0b){const _0xa45198=new _0x4a3e7a();_0xa45198['extendTemplate']({'attributes':{'class':[_0x458c('0x5')]}}),_0xa45198['content']=_0x1201db,this[_0x458c('0x0')]={'tag':_0x458c('0x6'),'attributes':{'class':['ck',_0x458c('0xe')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x514b0b},'children':[_0xa45198]};}const _0x4d6f4c=[{'tag':'div','attributes':{'class':_0x4c1794,'style':{'background-image':_0x57a70f[_0x458c('0xc')]?_0x458c('0x2')+_0x57a70f[_0x458c('0xc')]+'\x27)':''}}},{'tag':_0x458c('0x6'),'attributes':{'class':_0x57a70f['avatar']?_0x458c('0xb'):_0x458c('0x1')},'children':[{'text':_0x57a70f['initials']}]}];this[_0x458c('0x0')]&&_0x4d6f4c[_0x458c('0xd')](this[_0x458c('0x0')]),this[_0x458c('0x4')]({'tag':_0x458c('0x6'),'attributes':{'class':['ck',_0x458c('0x3')],'data-user-id':_0x57a70f['id']},'children':_0x4d6f4c});}}
23
+ const _0x550d=['notificationView','url(\x27','isAnonymous','push','ck\x20ck-user__name\x20ck-user__name--hidden','div','ck-user__notification','ck-user','extendTemplate','name','avatar','ck\x20ck-user__name','ck-user__img','content','ck-user__avatar'];(function(_0x2efd6f,_0x550d20){const _0xe1d62b=function(_0x718ed4){while(--_0x718ed4){_0x2efd6f['push'](_0x2efd6f['shift']());}};_0xe1d62b(++_0x550d20);}(_0x550d,0x129));const _0xe1d6=function(_0x2efd6f,_0x550d20){_0x2efd6f=_0x2efd6f-0x0;let _0xe1d62b=_0x550d[_0x2efd6f];return _0xe1d62b;};import{View as _0x3868a,IconView as _0x1bc677}from'ckeditor5/src/ui';import _0x18e2fc from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x3868a{constructor(_0x4c0dde,_0xdd426b,_0x1c3f83){super(_0x4c0dde),this[_0xe1d6('0xc')]=_0xdd426b[_0xe1d6('0xc')],this[_0xe1d6('0x3')]=null;const _0x3dea2e=['ck',_0xe1d6('0x0')];if(_0xdd426b[_0xe1d6('0x5')]&&_0x3dea2e[_0xe1d6('0x6')]('ck-user__anonymous'),_0xdd426b[_0xe1d6('0xd')]&&_0x3dea2e[_0xe1d6('0x6')](_0xe1d6('0x2')),_0x1c3f83){const _0x141032=new _0x1bc677();_0x141032[_0xe1d6('0xb')]({'attributes':{'class':['ck-user__icon']}}),_0x141032[_0xe1d6('0x1')]=_0x18e2fc,this[_0xe1d6('0x3')]={'tag':_0xe1d6('0x8'),'attributes':{'class':['ck',_0xe1d6('0x9')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x1c3f83},'children':[_0x141032]};}const _0x49c65a=[{'tag':'div','attributes':{'class':_0x3dea2e,'style':{'background-image':_0xdd426b['avatar']?_0xe1d6('0x4')+_0xdd426b[_0xe1d6('0xd')]+'\x27)':''}}},{'tag':_0xe1d6('0x8'),'attributes':{'class':_0xdd426b['avatar']?_0xe1d6('0x7'):_0xe1d6('0xe')},'children':[{'text':_0xdd426b['initials']}]}];this['notificationView']&&_0x49c65a[_0xe1d6('0x6')](this['notificationView']),this['setTemplate']({'tag':_0xe1d6('0x8'),'attributes':{'class':['ck',_0xe1d6('0xa')],'data-user-id':_0xdd426b['id']},'children':_0x49c65a});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x332c=['licenseKey','trial-license-key-reached-limit-changes','_isAnonymous','define','licenseKeyInvalid','get','defineMe','Anonymous','users-me-missing-user','_getInitial','useAnonymousUser','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.','name','users','trial-license-key-reached-limit-time','users.anonymousUserId','Users','_myId','avatar','getOperationAuthor','add','isAnonymous','ck-user__selection--','string','init','users.colorsCount','licenseKeyValid','_locale','_getNextColor','licenseKeyTrialLimit:revisions','getUser','config','length','trial-license-key-reached-limit-revisions','has','context','ck-user__bg-color--','charAt','invalid-license-key','destroy','_lastColor','getBackgroundColorClass','licenseKeyTrialLimit:operations','split','addUser','_id','_addAnonymousUser','decorate','users-add-duplicated-id','requires','initials','ck-user__marker--','licenseKeyTrial','getSelectionClass','licenseKeyTrialLimit:time','_licenseKeyCheckInterval','users-me-already-defined','users-add-invalid-id'];(function(_0x11fc78,_0x332c40){const _0x19916f=function(_0x413675){while(--_0x413675){_0x11fc78['push'](_0x11fc78['shift']());}};_0x19916f(++_0x332c40);}(_0x332c,0xaf));const _0x1991=function(_0x11fc78,_0x332c40){_0x11fc78=_0x11fc78-0x0;let _0x19916f=_0x332c[_0x11fc78];return _0x19916f;};import{ContextPlugin as _0x2c6e42}from'ckeditor5/src/core';import{Collection as _0x397c50,CKEditorError as _0x11cfd3}from'ckeditor5/src/utils';import _0x4deccb from'./permissions';import{getTranslation as _0x164c01}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x2c6e42{static get['pluginName'](){return _0x1991('0xf');}static get[_0x1991('0x30')](){return[_0x4deccb];}constructor(_0x172032){super(_0x172032),this[_0x1991('0x22')]['config'][_0x1991('0x2')](_0x1991('0xe'),'anonymous-user'),this[_0x1991('0x22')]['config'][_0x1991('0x2')](_0x1991('0x18'),0x8),this['users']=new _0x397c50(),this['_locale']=_0x172032['locale'],this['_licenseKeyCheckInterval']=null,this[_0x1991('0x27')]=0x0,this['_myId']=null,this[_0x1991('0x2e')]('getOperationAuthor');}[_0x1991('0x17')](){const _0x170561=this['context'];this[_0x1991('0x39')]=_0x170561['config'][_0x1991('0x4')](_0x1991('0x39'));const _0x4837dd=[_0x1991('0x33'),_0x1991('0x3'),_0x1991('0x19'),_0x1991('0x29'),_0x1991('0x35'),_0x1991('0x1c')];this[_0x1991('0x36')]=setInterval(()=>{let _0x53445c;for(const _0x112913 in _0x170561){const _0x35902e=_0x170561[_0x112913];if(_0x4837dd['includes'](_0x35902e)){delete _0x170561[_0x112913],_0x53445c=_0x35902e;break;}}if(_0x1991('0x3')===_0x53445c)throw clearInterval(this[_0x1991('0x36')]),new _0x11cfd3(_0x1991('0x25'),null);if(_0x1991('0x33')===_0x53445c&&console['info'](_0x1991('0xa')),_0x1991('0x29')===_0x53445c)throw clearInterval(this[_0x1991('0x36')]),new _0x11cfd3(_0x1991('0x0'),null);if('licenseKeyTrialLimit:time'===_0x53445c)throw clearInterval(this[_0x1991('0x36')]),new _0x11cfd3(_0x1991('0xd'),null);if(_0x1991('0x1c')===_0x53445c)throw clearInterval(this[_0x1991('0x36')]),new _0x11cfd3(_0x1991('0x20'),null);'licenseKeyValid'===_0x53445c&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this[_0x1991('0x2d')]();}get['me'](){return null==this[_0x1991('0x10')]?null:this[_0x1991('0x1d')](this[_0x1991('0x10')]);}['addUser']({id:_0x26cb2e,name:_0x13b10c,..._0x2226bf}){if(!_0x26cb2e||_0x1991('0x16')!=typeof _0x26cb2e)throw new _0x11cfd3(_0x1991('0x38'));if(this['users'][_0x1991('0x21')](_0x26cb2e))throw new _0x11cfd3(_0x1991('0x2f'),null,{'id':_0x26cb2e});const _0x2ce3a3={..._0x2226bf,'id':_0x26cb2e,'name':a(this[_0x1991('0x1a')],_0x13b10c),'color':this['_getNextColor']()};_0x2ce3a3[_0x1991('0xb')]=a(this['_locale'],_0x2ce3a3[_0x1991('0xb')]);const _0x1af5c8=new User(_0x2ce3a3);return this[_0x1991('0xc')][_0x1991('0x13')](_0x1af5c8),_0x1af5c8;}[_0x1991('0x1d')](_0xef18fe){return this[_0x1991('0xc')][_0x1991('0x4')](_0xef18fe);}[_0x1991('0x9')](){const _0x2e11d0=this[_0x1991('0x22')][_0x1991('0x1e')][_0x1991('0x4')](_0x1991('0xe'));this['_myId']||this[_0x1991('0x5')](_0x2e11d0);}['defineMe'](_0x4cdeab){if(this[_0x1991('0x10')])throw new _0x11cfd3(_0x1991('0x37'),null);if(!this[_0x1991('0x1d')](_0x4cdeab))throw new _0x11cfd3(_0x1991('0x7'),null);this[_0x1991('0x10')]=_0x4cdeab;}[_0x1991('0x12')](){return this['me'];}[_0x1991('0x26')](){super['destroy'](),clearInterval(this['_licenseKeyCheckInterval']);}[_0x1991('0x1b')](){const _0x53230c=this[_0x1991('0x22')]['config'][_0x1991('0x4')]('users.colorsCount');return this[_0x1991('0x27')]>=_0x53230c&&(this[_0x1991('0x27')]=0x0),new u(this[_0x1991('0x27')]++);}['_addAnonymousUser'](){const _0x2f0698=this[_0x1991('0x22')]['config']['get']('users.anonymousUserId');this[_0x1991('0x2b')]({'id':_0x2f0698,'name':_0x164c01(this[_0x1991('0x1a')],_0x1991('0x6'))})[_0x1991('0x1')]=!0x0;}}export class User{constructor(_0x630221){this['id']=_0x630221['id'],this['color']=_0x630221['color'],this[_0x1991('0xb')]=_0x630221[_0x1991('0xb')],this['avatar']=_0x630221[_0x1991('0x11')],this[_0x1991('0x1')]=!0x1;}get[_0x1991('0x14')](){return this['_isAnonymous'];}get[_0x1991('0x31')](){const _0x4df4b1=this['name'][_0x1991('0x2a')]('\x20');return 0x1===_0x4df4b1[_0x1991('0x1f')]?this[_0x1991('0x8')](_0x4df4b1[0x0]):this[_0x1991('0x8')](_0x4df4b1[0x0])+this[_0x1991('0x8')](_0x4df4b1[_0x4df4b1[_0x1991('0x1f')]-0x1]);}[_0x1991('0x8')](_0x31442f){return _0x31442f[_0x1991('0x24')](0x0)['toUpperCase']();}}function a(_0x12e0e3,_0x532d2d=''){return''==(_0x532d2d=_0x532d2d['trim']())?_0x164c01(_0x12e0e3,_0x1991('0x6')):_0x532d2d;}class u{constructor(_0x2f3185){this[_0x1991('0x2c')]=_0x2f3185;}[_0x1991('0x28')](){return _0x1991('0x23')+this[_0x1991('0x2c')];}[_0x1991('0x34')](){return _0x1991('0x15')+this[_0x1991('0x2c')];}['getMarkerClass'](){return _0x1991('0x32')+this['_id'];}}
23
+ const _0x50f9=['defineMe','trial-license-key-reached-limit-time','_isAnonymous','ck-user__bg-color--','color','licenseKeyInvalid','avatar','requires','init','string','users-me-already-defined','useAnonymousUser','users-add-invalid-id','_licenseKeyCheckInterval','info','_getInitial','config','has','addUser','split','charAt','length','trial-license-key-reached-limit-revisions','initials','users.colorsCount','licenseKeyTrialLimit:revisions','licenseKeyTrial','isAnonymous','getMarkerClass','add','trial-license-key-reached-limit-changes','anonymous-user','licenseKeyValid','getUser','getSelectionClass','decorate','users.anonymousUserId','_locale','name','getOperationAuthor','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.','define','_id','users-me-missing-user','_myId','get','licenseKey','destroy','context','includes','users','ck-user__marker--','_lastColor','licenseKeyTrialLimit:time','getBackgroundColorClass','_addAnonymousUser','Anonymous','_getNextColor'];(function(_0x281a41,_0x50f9eb){const _0x3b8c0d=function(_0x407c32){while(--_0x407c32){_0x281a41['push'](_0x281a41['shift']());}};_0x3b8c0d(++_0x50f9eb);}(_0x50f9,0x10c));const _0x3b8c=function(_0x281a41,_0x50f9eb){_0x281a41=_0x281a41-0x0;let _0x3b8c0d=_0x50f9[_0x281a41];return _0x3b8c0d;};import{ContextPlugin as _0x548aa4}from'ckeditor5/src/core';import{Collection as _0xcd7d52,CKEditorError as _0x3c50c9}from'ckeditor5/src/utils';import _0x3c59ca from'./permissions';import{getTranslation as _0x2a32ab}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x548aa4{static get['pluginName'](){return'Users';}static get[_0x3b8c('0x1d')](){return[_0x3c59ca];}constructor(_0x3ec216){super(_0x3ec216),this[_0x3b8c('0xc')][_0x3b8c('0x26')]['define'](_0x3b8c('0x0'),_0x3b8c('0x35')),this[_0x3b8c('0xc')][_0x3b8c('0x26')][_0x3b8c('0x5')](_0x3b8c('0x2e'),0x8),this['users']=new _0xcd7d52(),this['_locale']=_0x3ec216['locale'],this[_0x3b8c('0x23')]=null,this[_0x3b8c('0x10')]=0x0,this['_myId']=null,this[_0x3b8c('0x39')](_0x3b8c('0x3'));}[_0x3b8c('0x1e')](){const _0xf7ab77=this[_0x3b8c('0xc')];this['licenseKey']=_0xf7ab77[_0x3b8c('0x26')]['get'](_0x3b8c('0xa'));const _0x43dfb3=['licenseKeyTrial','licenseKeyInvalid',_0x3b8c('0x36'),'licenseKeyTrialLimit:operations','licenseKeyTrialLimit:time',_0x3b8c('0x2f')];this[_0x3b8c('0x23')]=setInterval(()=>{let _0x190e52;for(const _0x4c73ff in _0xf7ab77){const _0x1945a2=_0xf7ab77[_0x4c73ff];if(_0x43dfb3[_0x3b8c('0xd')](_0x1945a2)){delete _0xf7ab77[_0x4c73ff],_0x190e52=_0x1945a2;break;}}if(_0x3b8c('0x1b')===_0x190e52)throw clearInterval(this[_0x3b8c('0x23')]),new _0x3c50c9('invalid-license-key',null);if(_0x3b8c('0x30')===_0x190e52&&console[_0x3b8c('0x24')](_0x3b8c('0x4')),'licenseKeyTrialLimit:operations'===_0x190e52)throw clearInterval(this[_0x3b8c('0x23')]),new _0x3c50c9(_0x3b8c('0x34'),null);if(_0x3b8c('0x11')===_0x190e52)throw clearInterval(this[_0x3b8c('0x23')]),new _0x3c50c9(_0x3b8c('0x17'),null);if(_0x3b8c('0x2f')===_0x190e52)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x3c50c9(_0x3b8c('0x2c'),null);_0x3b8c('0x36')===_0x190e52&&clearInterval(this[_0x3b8c('0x23')]);},0x3e8),this[_0x3b8c('0x13')]();}get['me'](){return null==this[_0x3b8c('0x8')]?null:this[_0x3b8c('0x37')](this[_0x3b8c('0x8')]);}[_0x3b8c('0x28')]({id:_0x370daf,name:_0x35efff,..._0x5b90b8}){if(!_0x370daf||_0x3b8c('0x1f')!=typeof _0x370daf)throw new _0x3c50c9(_0x3b8c('0x22'));if(this[_0x3b8c('0xe')][_0x3b8c('0x27')](_0x370daf))throw new _0x3c50c9('users-add-duplicated-id',null,{'id':_0x370daf});const _0x177aad={..._0x5b90b8,'id':_0x370daf,'name':a(this[_0x3b8c('0x1')],_0x35efff),'color':this[_0x3b8c('0x15')]()};_0x177aad[_0x3b8c('0x2')]=a(this[_0x3b8c('0x1')],_0x177aad['name']);const _0x116bed=new User(_0x177aad);return this['users'][_0x3b8c('0x33')](_0x116bed),_0x116bed;}[_0x3b8c('0x37')](_0x4ebe87){return this[_0x3b8c('0xe')][_0x3b8c('0x9')](_0x4ebe87);}[_0x3b8c('0x21')](){const _0x54a386=this[_0x3b8c('0xc')][_0x3b8c('0x26')][_0x3b8c('0x9')]('users.anonymousUserId');this[_0x3b8c('0x8')]||this[_0x3b8c('0x16')](_0x54a386);}[_0x3b8c('0x16')](_0x30385d){if(this[_0x3b8c('0x8')])throw new _0x3c50c9(_0x3b8c('0x20'),null);if(!this[_0x3b8c('0x37')](_0x30385d))throw new _0x3c50c9(_0x3b8c('0x7'),null);this['_myId']=_0x30385d;}[_0x3b8c('0x3')](){return this['me'];}[_0x3b8c('0xb')](){super[_0x3b8c('0xb')](),clearInterval(this['_licenseKeyCheckInterval']);}[_0x3b8c('0x15')](){const _0x463090=this[_0x3b8c('0xc')][_0x3b8c('0x26')][_0x3b8c('0x9')](_0x3b8c('0x2e'));return this[_0x3b8c('0x10')]>=_0x463090&&(this[_0x3b8c('0x10')]=0x0),new u(this[_0x3b8c('0x10')]++);}[_0x3b8c('0x13')](){const _0x419729=this[_0x3b8c('0xc')]['config'][_0x3b8c('0x9')](_0x3b8c('0x0'));this[_0x3b8c('0x28')]({'id':_0x419729,'name':_0x2a32ab(this['_locale'],_0x3b8c('0x14'))})['_isAnonymous']=!0x0;}}export class User{constructor(_0x247ad9){this['id']=_0x247ad9['id'],this[_0x3b8c('0x1a')]=_0x247ad9[_0x3b8c('0x1a')],this[_0x3b8c('0x2')]=_0x247ad9['name'],this[_0x3b8c('0x1c')]=_0x247ad9[_0x3b8c('0x1c')],this[_0x3b8c('0x18')]=!0x1;}get[_0x3b8c('0x31')](){return this['_isAnonymous'];}get[_0x3b8c('0x2d')](){const _0x53b308=this[_0x3b8c('0x2')][_0x3b8c('0x29')]('\x20');return 0x1===_0x53b308[_0x3b8c('0x2b')]?this['_getInitial'](_0x53b308[0x0]):this[_0x3b8c('0x25')](_0x53b308[0x0])+this[_0x3b8c('0x25')](_0x53b308[_0x53b308[_0x3b8c('0x2b')]-0x1]);}[_0x3b8c('0x25')](_0x5be9fd){return _0x5be9fd[_0x3b8c('0x2a')](0x0)['toUpperCase']();}}function a(_0x13df90,_0x35c7b9=''){return''==(_0x35c7b9=_0x35c7b9['trim']())?_0x2a32ab(_0x13df90,'Anonymous'):_0x35c7b9;}class u{constructor(_0x1f4cc4){this[_0x3b8c('0x6')]=_0x1f4cc4;}[_0x3b8c('0x12')](){return _0x3b8c('0x19')+this['_id'];}[_0x3b8c('0x38')](){return'ck-user__selection--'+this[_0x3b8c('0x6')];}[_0x3b8c('0x32')](){return _0x3b8c('0xf')+this[_0x3b8c('0x6')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x4857b9,_0x25a30f){const t=_0x4857b9['t'];switch(_0x25a30f){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(_0x1adcad,_0x5c1f14){const t=_0x1adcad['t'];switch(_0x5c1f14){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 _0x5953=['_removeConfirm','once','fire','focus','destroy','cancel','isConfirm','render','submit','appendChild','confirmView','remove','message','showConfirm','element'];(function(_0x2f8823,_0x5953a9){var _0xb3c3e6=function(_0x41e1ef){while(--_0x41e1ef){_0x2f8823['push'](_0x2f8823['shift']());}};_0xb3c3e6(++_0x5953a9);}(_0x5953,0x70));var _0xb3c3=function(_0x2f8823,_0x5953a9){_0x2f8823=_0x2f8823-0x0;var _0xb3c3e6=_0x5953[_0x2f8823];return _0xb3c3e6;};import _0x1a6c34 from'./confirmview';export default function m(_0x4e3e1a){return class extends _0x4e3e1a{[_0xb3c3('0x6')](_0x1e0f69,_0x122065){return this[_0xb3c3('0x3')]=new _0x1a6c34(this['locale']),this[_0xb3c3('0x3')][_0xb3c3('0x0')](),this[_0xb3c3('0x3')][_0xb3c3('0x5')]=_0x1e0f69,this['confirmView'][_0xb3c3('0x9')](_0xb3c3('0xd'),()=>{this[_0xb3c3('0x8')]();}),this[_0xb3c3('0x3')][_0xb3c3('0x9')](_0xb3c3('0x1'),()=>{this[_0xb3c3('0x8')]();}),_0x122065[_0xb3c3('0x2')](this['confirmView'][_0xb3c3('0x7')]),this['registerChild'](this[_0xb3c3('0x3')]),this['element']['focus'](),this['set'](_0xb3c3('0xe'),!0x0),new Promise(_0x4665da=>this[_0xb3c3('0x3')]['on']('submit',_0x4665da));}['cancelConfirm'](){this['isConfirm']&&this[_0xb3c3('0x3')][_0xb3c3('0xa')](_0xb3c3('0xd'));}[_0xb3c3('0x8')](){this[_0xb3c3('0x7')]&&this[_0xb3c3('0x3')]&&this[_0xb3c3('0x3')][_0xb3c3('0x7')]&&(this[_0xb3c3('0x7')][_0xb3c3('0xb')](),this[_0xb3c3('0x3')][_0xb3c3('0x7')][_0xb3c3('0x4')](),this['deregisterChild'](this[_0xb3c3('0x3')]),this[_0xb3c3('0xe')]=!0x1,this[_0xb3c3('0x3')][_0xb3c3('0xc')](),this[_0xb3c3('0x3')]=void 0x0);}};}
23
+ var _0xdbc5=['set','showConfirm','cancel','locale','once','_removeConfirm','remove','element','appendChild','registerChild','focus','cancelConfirm','submit','message','isConfirm','confirmView'];(function(_0x137cf6,_0xdbc5fe){var _0x4b8b5b=function(_0x2abb43){while(--_0x2abb43){_0x137cf6['push'](_0x137cf6['shift']());}};_0x4b8b5b(++_0xdbc5fe);}(_0xdbc5,0xb5));var _0x4b8b=function(_0x137cf6,_0xdbc5fe){_0x137cf6=_0x137cf6-0x0;var _0x4b8b5b=_0xdbc5[_0x137cf6];return _0x4b8b5b;};import _0xb990b0 from'./confirmview';export default function m(_0x574cd5){return class extends _0x574cd5{[_0x4b8b('0xc')](_0x40f4de,_0x5d57ae){return this[_0x4b8b('0xa')]=new _0xb990b0(this[_0x4b8b('0xe')]),this[_0x4b8b('0xa')]['render'](),this['confirmView'][_0x4b8b('0x8')]=_0x40f4de,this[_0x4b8b('0xa')][_0x4b8b('0xf')](_0x4b8b('0xd'),()=>{this[_0x4b8b('0x0')]();}),this[_0x4b8b('0xa')][_0x4b8b('0xf')]('submit',()=>{this['_removeConfirm']();}),_0x5d57ae[_0x4b8b('0x3')](this['confirmView'][_0x4b8b('0x2')]),this[_0x4b8b('0x4')](this[_0x4b8b('0xa')]),this['element'][_0x4b8b('0x5')](),this[_0x4b8b('0xb')]('isConfirm',!0x0),new Promise(_0x1cfe9f=>this[_0x4b8b('0xa')]['on'](_0x4b8b('0x7'),_0x1cfe9f));}[_0x4b8b('0x6')](){this[_0x4b8b('0x9')]&&this[_0x4b8b('0xa')]['fire'](_0x4b8b('0xd'));}[_0x4b8b('0x0')](){this[_0x4b8b('0x2')]&&this[_0x4b8b('0xa')]&&this[_0x4b8b('0xa')][_0x4b8b('0x2')]&&(this['element'][_0x4b8b('0x5')](),this['confirmView'][_0x4b8b('0x2')][_0x4b8b('0x1')](),this['deregisterChild'](this['confirmView']),this[_0x4b8b('0x9')]=!0x1,this[_0x4b8b('0xa')]['destroy'](),this[_0x4b8b('0xa')]=void 0x0);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54e1=['label','set','setTemplate','check','cancel','submit','Are\x20you\x20sure?','ck-thread__remove-confirm-','message','fire','div','ck-thread__remove-confirm-actions','_createButtonView','submitView','extendTemplate','cancelView','ck-thread__remove-confirm','icon','execute'];(function(_0x4b3c4f,_0x54e163){const _0x300902=function(_0x22b182){while(--_0x22b182){_0x4b3c4f['push'](_0x4b3c4f['shift']());}};_0x300902(++_0x54e163);}(_0x54e1,0x1a0));const _0x3009=function(_0x4b3c4f,_0x54e163){_0x4b3c4f=_0x4b3c4f-0x0;let _0x300902=_0x54e1[_0x4b3c4f];return _0x300902;};import{View as _0x33de90,ButtonView as _0x46f5e4}from'ckeditor5/src/ui';import{icons as _0x401cd0}from'ckeditor5/src/core';import{getTranslation as _0x2e9275}from'./common-translations';export default class h extends _0x33de90{constructor(_0x167a13){super(_0x167a13);const _0x1b3437=this['bindTemplate'];this[_0x3009('0xf')]=this['_createButtonView'](_0x167a13,_0x2e9275(_0x167a13,'Yes'),_0x401cd0[_0x3009('0x5')],_0x3009('0x7')),this[_0x3009('0x11')]=this[_0x3009('0xe')](_0x167a13,_0x2e9275(_0x167a13,'No'),_0x401cd0['cancel'],_0x3009('0x6')),this[_0x3009('0x3')](_0x3009('0xa'),_0x2e9275(_0x167a13,_0x3009('0x8'))),this[_0x3009('0x4')]({'tag':_0x3009('0xc'),'attributes':{'class':[_0x3009('0x12')]},'children':[{'tag':_0x3009('0xc'),'attributes':{'class':'ck-thread__remove-confirm-inner'},'children':[{'tag':'p','children':[{'text':_0x1b3437['to'](_0x3009('0xa'))}]},{'tag':_0x3009('0xc'),'attributes':{'class':_0x3009('0xd')},'children':[this[_0x3009('0xf')],this['cancelView']]}]}]});}[_0x3009('0xe')](_0x4bf753,_0x2ff6ba,_0x4e346e,_0xfed360){const _0x527fff=new _0x46f5e4(_0x4bf753);return _0x527fff[_0x3009('0x2')]=_0x2ff6ba,_0x527fff[_0x3009('0x0')]=_0x4e346e,_0x527fff[_0x3009('0x10')]({'attributes':{'class':_0x3009('0x9')+_0xfed360}}),_0x527fff['on'](_0x3009('0x1'),()=>this[_0x3009('0xb')](_0xfed360)),_0x527fff;}}
23
+ const _0xea40=['message','ck-thread__remove-confirm-inner','ck-thread__remove-confirm','Yes','submitView','ck-thread__remove-confirm-','cancel','set','div','_createButtonView','execute','bindTemplate','fire','Are\x20you\x20sure?','icon'];(function(_0x1d1a9d,_0xea408b){const _0x1a4492=function(_0x29acaa){while(--_0x29acaa){_0x1d1a9d['push'](_0x1d1a9d['shift']());}};_0x1a4492(++_0xea408b);}(_0xea40,0xde));const _0x1a44=function(_0x1d1a9d,_0xea408b){_0x1d1a9d=_0x1d1a9d-0x0;let _0x1a4492=_0xea40[_0x1d1a9d];return _0x1a4492;};import{View as _0x3e0e19,ButtonView as _0x2d1ef6}from'ckeditor5/src/ui';import{icons as _0x28dd61}from'ckeditor5/src/core';import{getTranslation as _0x5ddbfa}from'./common-translations';export default class h extends _0x3e0e19{constructor(_0x3a297f){super(_0x3a297f);const _0x277617=this[_0x1a44('0xe')];this['submitView']=this[_0x1a44('0xc')](_0x3a297f,_0x5ddbfa(_0x3a297f,_0x1a44('0x6')),_0x28dd61['check'],'submit'),this['cancelView']=this[_0x1a44('0xc')](_0x3a297f,_0x5ddbfa(_0x3a297f,'No'),_0x28dd61[_0x1a44('0x9')],'cancel'),this[_0x1a44('0xa')](_0x1a44('0x3'),_0x5ddbfa(_0x3a297f,_0x1a44('0x1'))),this['setTemplate']({'tag':_0x1a44('0xb'),'attributes':{'class':[_0x1a44('0x5')]},'children':[{'tag':_0x1a44('0xb'),'attributes':{'class':_0x1a44('0x4')},'children':[{'tag':'p','children':[{'text':_0x277617['to'](_0x1a44('0x3'))}]},{'tag':_0x1a44('0xb'),'attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this[_0x1a44('0x7')],this['cancelView']]}]}]});}['_createButtonView'](_0x9cf5e,_0xa0c4ab,_0x340212,_0x8818d5){const _0x2236b2=new _0x2d1ef6(_0x9cf5e);return _0x2236b2['label']=_0xa0c4ab,_0x2236b2[_0x1a44('0x2')]=_0x340212,_0x2236b2['extendTemplate']({'attributes':{'class':_0x1a44('0x8')+_0x8818d5}}),_0x2236b2['on'](_0x1a44('0xd'),()=>this[_0x1a44('0x0')](_0x8818d5)),_0x2236b2;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xeb6c=['dateTimeFormat','invalid-date-time-format','string','function','\x27Today\x27\x20hh:mma','\x27Yesterday\x27\x20hh:mma'];(function(_0x2d380d,_0xeb6c58){const _0x5e7ad8=function(_0x430a0b){while(--_0x430a0b){_0x2d380d['push'](_0x2d380d['shift']());}};_0x5e7ad8(++_0xeb6c58);}(_0xeb6c,0x122));const _0x5e7a=function(_0x2d380d,_0xeb6c58){_0x2d380d=_0x2d380d-0x0;let _0x5e7ad8=_0xeb6c[_0x2d380d];return _0x5e7ad8;};import _0x504308 from'date-fns/format';import _0x520390 from'date-fns/parseISO';import _0x2b4c26 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x3f0662}from'ckeditor5/src/utils';export default function E(_0x1bcfe9={}){if(void 0x0!==_0x1bcfe9[_0x5e7a('0x4')]&&_0x5e7a('0x1')!=typeof _0x1bcfe9[_0x5e7a('0x4')])throw new _0x3f0662(_0x5e7a('0x5'));return _0x2ad74d=>{const _0x413f4b=_0x5e7a('0x0')==typeof _0x2ad74d?_0x520390(_0x2ad74d):_0x2ad74d,_0x58a495=new Date(),_0x18ac10=_0x2b4c26(_0x58a495,_0x413f4b);return _0x1bcfe9[_0x5e7a('0x4')]?_0x1bcfe9[_0x5e7a('0x4')](_0x413f4b):_0x504308(_0x413f4b,0x0===_0x18ac10?_0x5e7a('0x2'):0x1===_0x18ac10?_0x5e7a('0x3'):_0x18ac10<0x7?'\x27Last\x27\x20EEEE\x20hh:mma':'MM-dd-yyyy\x20hh:mma');};}
23
+ const _0x509a=['dateTimeFormat','function','\x27Yesterday\x27\x20hh:mma','MM-dd-yyyy\x20hh:mma','\x27Last\x27\x20EEEE\x20hh:mma','invalid-date-time-format','string'];(function(_0x61d18b,_0x509a15){const _0x15c36e=function(_0x4a6a1){while(--_0x4a6a1){_0x61d18b['push'](_0x61d18b['shift']());}};_0x15c36e(++_0x509a15);}(_0x509a,0x7d));const _0x15c3=function(_0x61d18b,_0x509a15){_0x61d18b=_0x61d18b-0x0;let _0x15c36e=_0x509a[_0x61d18b];return _0x15c36e;};import _0x18dc4e from'date-fns/format';import _0x3c5f12 from'date-fns/parseISO';import _0x479449 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x9ce1fa}from'ckeditor5/src/utils';export default function E(_0x1f75c0={}){if(void 0x0!==_0x1f75c0[_0x15c3('0x1')]&&_0x15c3('0x2')!=typeof _0x1f75c0[_0x15c3('0x1')])throw new _0x9ce1fa(_0x15c3('0x6'));return _0x2d464a=>{const _0xfcdb4b=_0x15c3('0x0')==typeof _0x2d464a?_0x3c5f12(_0x2d464a):_0x2d464a,_0x4bbac1=new Date(),_0xa70cdd=_0x479449(_0x4bbac1,_0xfcdb4b);return _0x1f75c0[_0x15c3('0x1')]?_0x1f75c0[_0x15c3('0x1')](_0xfcdb4b):_0x18dc4e(_0xfcdb4b,0x0===_0xa70cdd?'\x27Today\x27\x20hh:mma':0x1===_0xa70cdd?_0x15c3('0x3'):_0xa70cdd<0x7?_0x15c3('0x5'):_0x15c3('0x4'));};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59a5=['markerNameToElements','domElement','item','push','domConverter','filter','values','view','mapper','mapViewToDom','map','name','from','length'];(function(_0x574785,_0x59a5cd){const _0x3aee1c=function(_0x3c8f69){while(--_0x3c8f69){_0x574785['push'](_0x574785['shift']());}};_0x3aee1c(++_0x59a5cd);}(_0x59a5,0x1d2));const _0x3aee=function(_0x574785,_0x59a5cd){_0x574785=_0x574785-0x0;let _0x3aee1c=_0x59a5[_0x574785];return _0x3aee1c;};import{first as _0x42d581}from'ckeditor5/src/utils';export default function k(_0x17ee36,_0x2002f0){const _0x2da9e6=_0x17ee36['mapper'][_0x3aee('0xa')](_0x2002f0['name']);if(!_0x2da9e6)return null;const _0x3eaa30=_0x42d581(_0x2da9e6[_0x3aee('0x2')]());return _0x17ee36[_0x3aee('0x3')]['domConverter']['mapViewToDom'](_0x3eaa30)||null;}export function getAllMarkersDomElementsSorted(_0x16870b,_0x3163b9){if(0x0===_0x3163b9[_0x3aee('0x9')])return null;const _0x4240cc=[],_0x4fbbb5=_0x16870b['view'][_0x3aee('0x0')];for(const _0x19e134 of _0x3163b9){const _0x22eb5f=_0x16870b[_0x3aee('0x4')]['markerNameToElements'](_0x19e134[_0x3aee('0x7')]);if(!_0x22eb5f)continue;const _0x2d759b=Array[_0x3aee('0x8')](_0x22eb5f)[_0x3aee('0x6')](_0x44aabd=>_0x4fbbb5[_0x3aee('0x5')](_0x44aabd))[_0x3aee('0x1')](_0x5439d1=>!!_0x5439d1);_0x4240cc[_0x3aee('0xd')](..._0x2d759b);}if(0x0===_0x4240cc['length'])return null;const _0x5e752e=[];for(const _0xa9e2d7 of _0x4240cc){const _0xe83439=_0xa9e2d7['getClientRects']()[_0x3aee('0xc')](0x0);_0xe83439&&_0x5e752e[_0x3aee('0xd')]({'x':_0xe83439['x'],'y':_0xe83439['y'],'domElement':_0xa9e2d7});}return 0x0===_0x5e752e[_0x3aee('0x9')]?null:(_0x5e752e['sort']((_0x5e4bdc,_0x79eead)=>_0x5e4bdc['y']-_0x79eead['y']||_0x5e4bdc['x']-_0x79eead['x']),_0x5e752e[_0x3aee('0x6')](_0x57f9d6=>_0x57f9d6[_0x3aee('0xb')]));}
23
+ const _0x575e=['markerNameToElements','map','domConverter','from','filter','mapper','view','name','domElement','push','mapViewToDom','length','item'];(function(_0xe7fd6,_0x575e84){const _0x4f9a72=function(_0x3c4bd9){while(--_0x3c4bd9){_0xe7fd6['push'](_0xe7fd6['shift']());}};_0x4f9a72(++_0x575e84);}(_0x575e,0x67));const _0x4f9a=function(_0xe7fd6,_0x575e84){_0xe7fd6=_0xe7fd6-0x0;let _0x4f9a72=_0x575e[_0xe7fd6];return _0x4f9a72;};import{first as _0x3fbcad}from'ckeditor5/src/utils';export default function k(_0x502b1d,_0x3fdc3e){const _0x457c19=_0x502b1d[_0x4f9a('0x6')][_0x4f9a('0x1')](_0x3fdc3e[_0x4f9a('0x8')]);if(!_0x457c19)return null;const _0xc2f526=_0x3fbcad(_0x457c19['values']());return _0x502b1d[_0x4f9a('0x7')][_0x4f9a('0x3')][_0x4f9a('0xb')](_0xc2f526)||null;}export function getAllMarkersDomElementsSorted(_0x47ff80,_0x216f32){if(0x0===_0x216f32[_0x4f9a('0xc')])return null;const _0x2d406b=[],_0xbbb3b9=_0x47ff80[_0x4f9a('0x7')][_0x4f9a('0x3')];for(const _0x348be9 of _0x216f32){const _0x2c45e7=_0x47ff80[_0x4f9a('0x6')][_0x4f9a('0x1')](_0x348be9['name']);if(!_0x2c45e7)continue;const _0x5e5bec=Array[_0x4f9a('0x4')](_0x2c45e7)[_0x4f9a('0x2')](_0x463ad5=>_0xbbb3b9['mapViewToDom'](_0x463ad5))[_0x4f9a('0x5')](_0x10c05f=>!!_0x10c05f);_0x2d406b[_0x4f9a('0xa')](..._0x5e5bec);}if(0x0===_0x2d406b[_0x4f9a('0xc')])return null;const _0x1bc565=[];for(const _0x4d49b6 of _0x2d406b){const _0x47f8c2=_0x4d49b6['getClientRects']()[_0x4f9a('0x0')](0x0);_0x47f8c2&&_0x1bc565['push']({'x':_0x47f8c2['x'],'y':_0x47f8c2['y'],'domElement':_0x4d49b6});}return 0x0===_0x1bc565[_0x4f9a('0xc')]?null:(_0x1bc565['sort']((_0xe75635,_0x189642)=>_0xe75635['y']-_0x189642['y']||_0xe75635['x']-_0x189642['x']),_0x1bc565[_0x4f9a('0x2')](_0x5b0a3b=>_0x5b0a3b[_0x4f9a('0x9')]));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2808=['isArray','sign','toString','string','number'];(function(_0x446f79,_0x280888){const _0xe87efd=function(_0x2efa37){while(--_0x2efa37){_0x446f79['push'](_0x446f79['shift']());}};_0xe87efd(++_0x280888);}(_0x2808,0x183));const _0xe87e=function(_0x446f79,_0x280888){_0x446f79=_0x446f79-0x0;let _0xe87efd=_0x2808[_0x446f79];return _0xe87efd;};export default function b(_0x158c7f){let _0x3bd59c=0x0,_0x5c0053=0x0;for(const _0x3ec8bf of g(_0x158c7f))_0x3bd59c=(_0x3bd59c<<0x5)-_0x3bd59c+_0x3ec8bf,_0x3bd59c&=_0x3bd59c,[_0x3bd59c,_0x5c0053]=[_0x5c0053,_0x3bd59c];return O(_0x3bd59c)+O(_0x5c0053);}function*j(_0x2aad85){_0x2aad85?'boolean'==typeof _0x2aad85?yield 0x1:Array[_0xe87e('0x3')](_0x2aad85)?yield*function*(_0x3df88f){for(const _0x19dc9a of _0x3df88f)yield*j(_0x19dc9a);}(_0x2aad85):'object'==typeof _0x2aad85?yield*g(_0x2aad85):_0xe87e('0x1')==typeof _0x2aad85?yield*A(_0x2aad85):_0xe87e('0x2')==typeof _0x2aad85&&(yield _0x2aad85):yield 0x0;}function*g(_0x846b3b){if(yield M('{'),_0x846b3b){const _0x6125f9=Object['keys'](_0x846b3b)['sort']();for(const _0x263d3d of _0x6125f9){yield*A(_0x263d3d),yield M(':');const _0x47333c=_0x846b3b[_0x263d3d];yield*j(_0x47333c);}}yield M('}');}function*A(_0x48b06e){yield M('\x22');for(const _0x28346e of _0x48b06e)yield M(_0x28346e);yield M('\x22');}function M(_0x6632e9){return _0x6632e9['charCodeAt'](0x0);}function O(_0x5683f6){return(_0x5683f6*=Math[_0xe87e('0x4')](_0x5683f6))[_0xe87e('0x0')](0x24);}
23
+ const _0x5e30=['toString','charCodeAt','boolean','number','isArray','sign','string','sort'];(function(_0x4831a8,_0x5e30ed){const _0x49d8f6=function(_0x1f1733){while(--_0x1f1733){_0x4831a8['push'](_0x4831a8['shift']());}};_0x49d8f6(++_0x5e30ed);}(_0x5e30,0x193));const _0x49d8=function(_0x4831a8,_0x5e30ed){_0x4831a8=_0x4831a8-0x0;let _0x49d8f6=_0x5e30[_0x4831a8];return _0x49d8f6;};export default function b(_0x38b328){let _0x12e07e=0x0,_0x465808=0x0;for(const _0x33adb3 of g(_0x38b328))_0x12e07e=(_0x12e07e<<0x5)-_0x12e07e+_0x33adb3,_0x12e07e&=_0x12e07e,[_0x12e07e,_0x465808]=[_0x465808,_0x12e07e];return O(_0x12e07e)+O(_0x465808);}function*j(_0x4aa523){_0x4aa523?_0x49d8('0x7')==typeof _0x4aa523?yield 0x1:Array[_0x49d8('0x1')](_0x4aa523)?yield*function*(_0x23ccb8){for(const _0xa07a90 of _0x23ccb8)yield*j(_0xa07a90);}(_0x4aa523):'object'==typeof _0x4aa523?yield*g(_0x4aa523):_0x49d8('0x3')==typeof _0x4aa523?yield*A(_0x4aa523):_0x49d8('0x0')==typeof _0x4aa523&&(yield _0x4aa523):yield 0x0;}function*g(_0x28d0b4){if(yield M('{'),_0x28d0b4){const _0x2a180f=Object['keys'](_0x28d0b4)[_0x49d8('0x4')]();for(const _0x3541a7 of _0x2a180f){yield*A(_0x3541a7),yield M(':');const _0x3d0a05=_0x28d0b4[_0x3541a7];yield*j(_0x3d0a05);}}yield M('}');}function*A(_0x3996fd){yield M('\x22');for(const _0x4302f9 of _0x3996fd)yield M(_0x4302f9);yield M('\x22');}function M(_0x4e0bac){return _0x4e0bac[_0x49d8('0x6')](0x0);}function O(_0x17745c){return(_0x17745c*=Math[_0x49d8('0x2')](_0x17745c))[_0x49d8('0x5')](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4bb5=['get','find','WordCount','rootsAttributes','requires','map','includes','concat','every','WebSocketGateway','filter','initialData','removePlugins','DocumentOutline','length','config','Autosave','toolbar','string','WProofreader','extraPlugins','_context','from','has','set','builtinPlugins','plugins','context','pluginName'];(function(_0x43ee37,_0x4bb5d0){const _0xad0c21=function(_0x432002){while(--_0x432002){_0x43ee37['push'](_0x43ee37['shift']());}};_0xad0c21(++_0x4bb5d0);}(_0x4bb5,0x75));const _0xad0c=function(_0x43ee37,_0x4bb5d0){_0x43ee37=_0x43ee37-0x0;let _0xad0c21=_0x4bb5[_0x43ee37];return _0xad0c21;};const w=[_0xad0c('0xa'),_0xad0c('0x1a'),_0xad0c('0x10'),_0xad0c('0x2')],W=[_0xad0c('0x8'),'RevisionTracker',_0xad0c('0xf'),_0xad0c('0x1'),_0xad0c('0xc'),_0xad0c('0x12')];function v(_0x5be329,_0x12db3c,_0x2c274c,_0x466fe8=[]){const _0x9f7bb4=_0xad0c('0x11')==typeof _0x5be329?_0x2c274c['get'](_0x5be329)['constructor']:_0x5be329,_0x5b60b6=_0x9f7bb4[_0xad0c('0x1b')]||_0x9f7bb4['name'];if(_0x12db3c[_0xad0c('0x16')](_0x5b60b6))return _0x12db3c[_0xad0c('0x1c')](_0x5b60b6);if(_0x12db3c[_0xad0c('0x17')](_0x5b60b6,!0x0),_0x5b60b6&&W[_0xad0c('0x6')](_0x466fe8)[_0xad0c('0x5')](_0x5b60b6))return _0x12db3c[_0xad0c('0x17')](_0x5b60b6,!0x1),!0x1;if(!_0x9f7bb4[_0xad0c('0x3')])return _0x12db3c[_0xad0c('0x17')](_0x5b60b6,!0x0),!0x0;const _0x3d1911=_0x9f7bb4['requires'][_0xad0c('0x7')](_0x5c7729=>v(_0x5c7729,_0x12db3c,_0x2c274c,_0x466fe8));return _0x12db3c[_0xad0c('0x17')](_0x5b60b6,_0x3d1911),_0x3d1911;}export default function D(_0x558d1c,_0x22403d){const _0x28f19d={};for(const _0x374526 of _0x558d1c[_0xad0c('0xe')]['names']())w[_0xad0c('0x5')](_0x374526)||(_0x28f19d[_0x374526]=_0x558d1c['config'][_0xad0c('0x1c')](_0x374526));const _0x80775a=_0x28f19d[_0xad0c('0x19')]||[],_0x41fdef=_0x558d1c['constructor'][_0xad0c('0x18')]||[],_0x3d869a=_0x80775a[_0xad0c('0xd')]?_0x80775a:_0x41fdef,_0x45e307=_0x28f19d['extraPlugins']||[];delete _0x28f19d[_0xad0c('0x13')];const _0x394915=_0x28f19d[_0xad0c('0xb')]||[];delete _0x28f19d[_0xad0c('0xb')];const _0x534919=_0x558d1c[_0xad0c('0x14')][_0xad0c('0xe')][_0xad0c('0x1c')](_0xad0c('0x19'))||[],_0x2b58ef=_0x3d869a[_0xad0c('0x6')](_0x45e307)[_0xad0c('0x6')](_0x534919)[_0xad0c('0x4')](_0x1d4a30=>_0xad0c('0x11')==typeof _0x1d4a30?_0x41fdef[_0xad0c('0x0')](_0x1a4306=>_0x1a4306['pluginName']==_0x1d4a30):_0x1d4a30)['filter'](_0x242e85=>!_0x394915['includes'](_0x242e85)),_0x45d39c=Array[_0xad0c('0x15')](new Set(_0x2b58ef)),_0x21e4fb=new Map();return _0x28f19d['plugins']=_0x45d39c[_0xad0c('0x9')](_0x5701c9=>v(_0x5701c9,_0x21e4fb,_0x558d1c[_0xad0c('0x19')],_0x22403d)),_0x28f19d;}
23
+ const _0x3d71=['config','constructor','RevisionTracker','requires','filter','has','toolbar','from','removePlugins','Autosave','map','plugins','context','rootsAttributes','find','includes','string','_context','WebSocketGateway','concat','length','extraPlugins','DocumentOutline','name','pluginName','set','get','initialData','WordCount'];(function(_0x26e48f,_0x3d71cb){const _0x1029c8=function(_0xdb7bf6){while(--_0xdb7bf6){_0x26e48f['push'](_0x26e48f['shift']());}};_0x1029c8(++_0x3d71cb);}(_0x3d71,0x107));const _0x1029=function(_0x26e48f,_0x3d71cb){_0x26e48f=_0x26e48f-0x0;let _0x1029c8=_0x3d71[_0x26e48f];return _0x1029c8;};const w=[_0x1029('0x19'),_0x1029('0xa'),_0x1029('0x4'),_0x1029('0xb')],W=[_0x1029('0x10'),_0x1029('0x0'),_0x1029('0x7'),_0x1029('0x1a'),_0x1029('0x14'),'WProofreader'];function v(_0x2c342c,_0x5099ef,_0x526222,_0x5c7094=[]){const _0x1dd2eb=_0x1029('0xe')==typeof _0x2c342c?_0x526222[_0x1029('0x18')](_0x2c342c)[_0x1029('0x1c')]:_0x2c342c,_0x755bb4=_0x1dd2eb[_0x1029('0x16')]||_0x1dd2eb[_0x1029('0x15')];if(_0x5099ef[_0x1029('0x3')](_0x755bb4))return _0x5099ef[_0x1029('0x18')](_0x755bb4);if(_0x5099ef[_0x1029('0x17')](_0x755bb4,!0x0),_0x755bb4&&W[_0x1029('0x11')](_0x5c7094)['includes'](_0x755bb4))return _0x5099ef[_0x1029('0x17')](_0x755bb4,!0x1),!0x1;if(!_0x1dd2eb[_0x1029('0x1')])return _0x5099ef[_0x1029('0x17')](_0x755bb4,!0x0),!0x0;const _0x10281b=_0x1dd2eb[_0x1029('0x1')]['every'](_0x17f47c=>v(_0x17f47c,_0x5099ef,_0x526222,_0x5c7094));return _0x5099ef[_0x1029('0x17')](_0x755bb4,_0x10281b),_0x10281b;}export default function D(_0x320785,_0x1a63a1){const _0x579c2d={};for(const _0xdb0eea of _0x320785[_0x1029('0x1b')]['names']())w[_0x1029('0xd')](_0xdb0eea)||(_0x579c2d[_0xdb0eea]=_0x320785[_0x1029('0x1b')][_0x1029('0x18')](_0xdb0eea));const _0x38a35b=_0x579c2d[_0x1029('0x9')]||[],_0x382d9d=_0x320785[_0x1029('0x1c')]['builtinPlugins']||[],_0x3a7eb9=_0x38a35b[_0x1029('0x12')]?_0x38a35b:_0x382d9d,_0x4b35be=_0x579c2d[_0x1029('0x13')]||[];delete _0x579c2d[_0x1029('0x13')];const _0x53ec3c=_0x579c2d[_0x1029('0x6')]||[];delete _0x579c2d['removePlugins'];const _0x264be6=_0x320785[_0x1029('0xf')][_0x1029('0x1b')]['get']('plugins')||[],_0x382120=_0x3a7eb9[_0x1029('0x11')](_0x4b35be)[_0x1029('0x11')](_0x264be6)[_0x1029('0x8')](_0x422a42=>_0x1029('0xe')==typeof _0x422a42?_0x382d9d[_0x1029('0xc')](_0x594f8d=>_0x594f8d[_0x1029('0x16')]==_0x422a42):_0x422a42)[_0x1029('0x2')](_0x360bf9=>!_0x53ec3c[_0x1029('0xd')](_0x360bf9)),_0x5ea07d=Array[_0x1029('0x5')](new Set(_0x382120)),_0x3e1d44=new Map();return _0x579c2d[_0x1029('0x9')]=_0x5ea07d['filter'](_0x491d6a=>v(_0x491d6a,_0x3e1d44,_0x320785[_0x1029('0x9')],_0x1a63a1)),_0x579c2d;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5deb=['push','startsWith','split','substring','replace','join','length','slice','match'];(function(_0x15aabd,_0x5debc4){const _0x69b11=function(_0x2eccc4){while(--_0x2eccc4){_0x15aabd['push'](_0x15aabd['shift']());}};_0x69b11(++_0x5debc4);}(_0x5deb,0xbf));const _0x69b1=function(_0x15aabd,_0x5debc4){_0x15aabd=_0x15aabd-0x0;let _0x69b11=_0x5deb[_0x15aabd];return _0x69b11;};export default function z(_0x5771de,{limit:_0x4ed184,suffix:_0x526077='...'}){const _0x40692f=[];let _0x5a0250=0x0;const _0x508ce0=_0x5771de[_0x69b1('0x2')](/</g,'\x0a<')[_0x69b1('0x2')](/>/g,'>\x0a')[_0x69b1('0x2')](/^\n/g,'')[_0x69b1('0x2')](/\n$/g,'')[_0x69b1('0x0')]('\x0a');for(let _0xf07bf5=0x0;_0xf07bf5<_0x508ce0[_0x69b1('0x4')];_0xf07bf5++){let _0x46b7f0=_0x508ce0[_0xf07bf5];const _0x24b0dc=Z(_0x46b7f0);if(_0x46b7f0[_0x69b1('0x8')]('<')){if(_0x5a0250>=_0x4ed184){const _0x390fe0=_0x46b7f0[_0x69b1('0x6')](/[a-zA-Z]+/);if(!_0x390fe0){_0x508ce0[_0xf07bf5]='';continue;}const _0x3abca6=_0x390fe0[0x0];_0x46b7f0[_0x69b1('0x8')]('</')?(_0x40692f[_0x69b1('0x4')]&&(_0x46b7f0=''),_0x40692f['pop']()):(_0x40692f[_0x69b1('0x7')](_0x3abca6),_0x46b7f0='');}}else{if(_0x5a0250>=_0x4ed184)_0x46b7f0='';else{if(_0x5a0250+_0x24b0dc[_0x69b1('0x4')]>=_0x4ed184){let _0xca8a57=_0x4ed184-_0x5a0250;if('\x20'===_0x24b0dc[_0xca8a57-0x1])_0xca8a57--;else{const _0xab04b0=_0x24b0dc['slice'](_0xca8a57)['indexOf']('\x20');-0x1!==_0xab04b0?_0xca8a57+=_0xab04b0:_0xca8a57=_0x46b7f0[_0x69b1('0x4')];}_0x46b7f0=_0x24b0dc[_0x69b1('0x5')](0x0,_0xca8a57)[_0x69b1('0x3')]('')+_0x526077,_0x5a0250=_0x4ed184;}else _0x5a0250+=_0x24b0dc[_0x69b1('0x4')];}}_0x508ce0[_0xf07bf5]=_0x46b7f0;}return _0x508ce0[_0x69b1('0x3')]('\x0a')[_0x69b1('0x2')](/\n/g,'');}function Z(_0x4c9d45){const _0x5840b8=[];for(let _0xe53196=0x0;_0xe53196<_0x4c9d45['length'];_0xe53196++){const _0xcfa4fc=_0x4c9d45[_0x69b1('0x1')](_0xe53196)[_0x69b1('0x6')](/^&[a-z0-9#]+;/);if(_0xcfa4fc){const _0x4dba80=_0xcfa4fc[0x0];_0x5840b8[_0x69b1('0x7')](_0x4dba80),_0xe53196+=_0x4dba80[_0x69b1('0x4')]-0x1;}else _0x5840b8[_0x69b1('0x7')](_0x4c9d45[_0xe53196]);}return _0x5840b8;}
23
+ const _0x59e9=['match','substring','split','slice','...','join','length','push','replace','startsWith'];(function(_0x5193fd,_0x59e91a){const _0x15376b=function(_0x4c41c1){while(--_0x4c41c1){_0x5193fd['push'](_0x5193fd['shift']());}};_0x15376b(++_0x59e91a);}(_0x59e9,0x1bb));const _0x1537=function(_0x5193fd,_0x59e91a){_0x5193fd=_0x5193fd-0x0;let _0x15376b=_0x59e9[_0x5193fd];return _0x15376b;};export default function z(_0x54d5f8,{limit:_0x3f136f,suffix:_0x38ae7c=_0x1537('0x1')}){const _0x238bcc=[];let _0x32d8b3=0x0;const _0x4a6951=_0x54d5f8[_0x1537('0x5')](/</g,'\x0a<')[_0x1537('0x5')](/>/g,'>\x0a')[_0x1537('0x5')](/^\n/g,'')[_0x1537('0x5')](/\n$/g,'')[_0x1537('0x9')]('\x0a');for(let _0x21ac57=0x0;_0x21ac57<_0x4a6951[_0x1537('0x3')];_0x21ac57++){let _0x18bf94=_0x4a6951[_0x21ac57];const _0x181679=Z(_0x18bf94);if(_0x18bf94[_0x1537('0x6')]('<')){if(_0x32d8b3>=_0x3f136f){const _0x1067cb=_0x18bf94[_0x1537('0x7')](/[a-zA-Z]+/);if(!_0x1067cb){_0x4a6951[_0x21ac57]='';continue;}const _0x401b09=_0x1067cb[0x0];_0x18bf94[_0x1537('0x6')]('</')?(_0x238bcc['length']&&(_0x18bf94=''),_0x238bcc['pop']()):(_0x238bcc[_0x1537('0x4')](_0x401b09),_0x18bf94='');}}else{if(_0x32d8b3>=_0x3f136f)_0x18bf94='';else{if(_0x32d8b3+_0x181679[_0x1537('0x3')]>=_0x3f136f){let _0x11f1f7=_0x3f136f-_0x32d8b3;if('\x20'===_0x181679[_0x11f1f7-0x1])_0x11f1f7--;else{const _0x136010=_0x181679[_0x1537('0x0')](_0x11f1f7)['indexOf']('\x20');-0x1!==_0x136010?_0x11f1f7+=_0x136010:_0x11f1f7=_0x18bf94[_0x1537('0x3')];}_0x18bf94=_0x181679[_0x1537('0x0')](0x0,_0x11f1f7)[_0x1537('0x2')]('')+_0x38ae7c,_0x32d8b3=_0x3f136f;}else _0x32d8b3+=_0x181679[_0x1537('0x3')];}}_0x4a6951[_0x21ac57]=_0x18bf94;}return _0x4a6951['join']('\x0a')[_0x1537('0x5')](/\n/g,'');}function Z(_0xc66f54){const _0x40523d=[];for(let _0x503f17=0x0;_0x503f17<_0xc66f54['length'];_0x503f17++){const _0xff40dc=_0xc66f54[_0x1537('0x8')](_0x503f17)[_0x1537('0x7')](/^&[a-z0-9#]+;/);if(_0xff40dc){const _0x1a4166=_0xff40dc[0x0];_0x40523d[_0x1537('0x4')](_0x1a4166),_0x503f17+=_0x1a4166[_0x1537('0x3')]-0x1;}else _0x40523d[_0x1537('0x4')](_0xc66f54[_0x503f17]);}return _0x40523d;}