@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20231026.0 → 0.0.0-nightly-20231027.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-20231026.0",
3
+ "version": "0.0.0-nightly-20231027.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-20231026.0",
34
+ "ckeditor5": "0.0.0-nightly-20231027.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 _0xf9c5=['has','editors','document:write','comment:admin','comment:write','CommentsRepository','get','disableReadOnlyMode','includes','comment:modify_all','collaboration.channelId','enableReadOnlyMode','forceDisabled','noPermissions','pluginName','permissions-set-permissions-invalid-channel-id','clearForceDisabled','plugins','find','context','setPermissions','CommentsOnly','no-permissions','config'];(function(_0x1401b0,_0xf9c5d5){const _0x15d2ef=function(_0x7c58ae){while(--_0x7c58ae){_0x1401b0['push'](_0x1401b0['shift']());}};_0x15d2ef(++_0xf9c5d5);}(_0xf9c5,0xb8));const _0x15d2=function(_0x1401b0,_0xf9c5d5){_0x1401b0=_0x1401b0-0x0;let _0x15d2ef=_0xf9c5[_0x1401b0];return _0x15d2ef;};import{ContextPlugin as _0x416387,Editor as _0x5b06c6}from'ckeditor5/src/core';import{CKEditorError as _0x37795e}from'ckeditor5/src/utils';export default class n extends _0x416387{static get[_0x15d2('0x16')](){return'Permissions';}[_0x15d2('0x4')](_0xbd03c3,_0x2dd79e){let _0xbb32b4;if(_0x2dd79e||(_0x2dd79e=this[_0x15d2('0x3')][_0x15d2('0x7')]['get']('collaboration.channelId')),this[_0x15d2('0x3')][_0x15d2('0x7')][_0x15d2('0xe')](_0x15d2('0x12'))==_0x2dd79e?_0xbb32b4=this[_0x15d2('0x3')]:_0x15d2('0x9')in this[_0x15d2('0x3')]&&this[_0x15d2('0x3')][_0x15d2('0x9')]&&(_0xbb32b4=this['context'][_0x15d2('0x9')][_0x15d2('0x2')](_0xbfd40e=>_0xbfd40e['config'][_0x15d2('0xe')](_0x15d2('0x12'))==_0x2dd79e)),!_0xbb32b4)throw new _0x37795e(_0x15d2('0x17'),null);const _0xd38a3f=_0xbb32b4[_0x15d2('0x1')],_0x4e8084=_0xd38a3f[_0x15d2('0x8')](_0x15d2('0xd'))?_0xd38a3f[_0x15d2('0xe')](_0x15d2('0xd')):void 0x0,_0x5051da=_0xd38a3f[_0x15d2('0x8')](_0x15d2('0x5'))&&_0xd38a3f['get'](_0x15d2('0x5')),_0x1b9dc2=_0xbd03c3[_0x15d2('0x10')](_0x15d2('0xa')),_0x20729e=_0xbd03c3[_0x15d2('0x10')](_0x15d2('0x11')),_0x2a2a8b=_0xbd03c3[_0x15d2('0x10')](_0x15d2('0xb')),_0x1d14fa=_0xbd03c3[_0x15d2('0x10')](_0x15d2('0xc')),_0x1125f5=_0x1d14fa||_0x2a2a8b,_0x3530ed=_0x1125f5||_0x20729e,_0x85ce1e=_0x1b9dc2||_0x1125f5;(_0x5051da&&(_0x5051da['isEnabled']=!_0x1b9dc2&&_0x3530ed),_0xbb32b4 instanceof _0x5b06c6)&&(!(_0x1b9dc2||_0x3530ed&&_0x4e8084)?_0xbb32b4[_0x15d2('0x13')](_0x15d2('0x6')):_0xbb32b4[_0x15d2('0xf')](_0x15d2('0x6')));if(_0x4e8084){_0x4e8084['setPermissions']({'admin':_0x2a2a8b,'modifyAll':_0x20729e,'write':_0x1d14fa,'resolve':_0x85ce1e},_0x2dd79e);const _0x2f0c6b=_0xbb32b4 instanceof _0x5b06c6&&_0xbb32b4['commands'][_0x15d2('0xe')]('addCommentThread');_0x2f0c6b&&(_0x1125f5?_0x2f0c6b[_0x15d2('0x0')](_0x15d2('0x15')):_0x2f0c6b[_0x15d2('0x14')](_0x15d2('0x15')));}}}
23
+ const _0x5ed3=['CommentsRepository','enableReadOnlyMode','get','noPermissions','Permissions','has','addCommentThread','includes','pluginName','forceDisabled','setPermissions','context','comment:modify_all','commands','CommentsOnly','config','clearForceDisabled','plugins','no-permissions','document:write','find','collaboration.channelId','permissions-set-permissions-invalid-channel-id','editors','isEnabled'];(function(_0x28a527,_0x5ed3f2){const _0x40ef5=function(_0x573894){while(--_0x573894){_0x28a527['push'](_0x28a527['shift']());}};_0x40ef5(++_0x5ed3f2);}(_0x5ed3,0x10e));const _0x40ef=function(_0x28a527,_0x5ed3f2){_0x28a527=_0x28a527-0x0;let _0x40ef5=_0x5ed3[_0x28a527];return _0x40ef5;};import{ContextPlugin as _0x172984,Editor as _0xc6af75}from'ckeditor5/src/core';import{CKEditorError as _0x538bf0}from'ckeditor5/src/utils';export default class n extends _0x172984{static get[_0x40ef('0xd')](){return _0x40ef('0x9');}[_0x40ef('0xf')](_0x199ede,_0xfdafaa){let _0x50a747;if(_0xfdafaa||(_0xfdafaa=this['context'][_0x40ef('0x14')][_0x40ef('0x7')](_0x40ef('0x1'))),this[_0x40ef('0x10')][_0x40ef('0x14')]['get'](_0x40ef('0x1'))==_0xfdafaa?_0x50a747=this[_0x40ef('0x10')]:_0x40ef('0x3')in this[_0x40ef('0x10')]&&this[_0x40ef('0x10')][_0x40ef('0x3')]&&(_0x50a747=this[_0x40ef('0x10')]['editors'][_0x40ef('0x0')](_0x41f879=>_0x41f879['config'][_0x40ef('0x7')](_0x40ef('0x1'))==_0xfdafaa)),!_0x50a747)throw new _0x538bf0(_0x40ef('0x2'),null);const _0xae1c65=_0x50a747[_0x40ef('0x16')],_0x3cf14d=_0xae1c65[_0x40ef('0xa')](_0x40ef('0x5'))?_0xae1c65[_0x40ef('0x7')]('CommentsRepository'):void 0x0,_0x5c6d33=_0xae1c65[_0x40ef('0xa')](_0x40ef('0x13'))&&_0xae1c65[_0x40ef('0x7')]('CommentsOnly'),_0x2ca415=_0x199ede[_0x40ef('0xc')](_0x40ef('0x18')),_0x2d9480=_0x199ede['includes'](_0x40ef('0x11')),_0x10cc8c=_0x199ede[_0x40ef('0xc')]('comment:admin'),_0xb24d87=_0x199ede['includes']('comment:write'),_0x59c4e1=_0xb24d87||_0x10cc8c,_0x405dc4=_0x59c4e1||_0x2d9480,_0x36325f=_0x2ca415||_0x59c4e1;(_0x5c6d33&&(_0x5c6d33[_0x40ef('0x4')]=!_0x2ca415&&_0x405dc4),_0x50a747 instanceof _0xc6af75)&&(!(_0x2ca415||_0x405dc4&&_0x3cf14d)?_0x50a747[_0x40ef('0x6')]('no-permissions'):_0x50a747['disableReadOnlyMode'](_0x40ef('0x17')));if(_0x3cf14d){_0x3cf14d[_0x40ef('0xf')]({'admin':_0x10cc8c,'modifyAll':_0x2d9480,'write':_0xb24d87,'resolve':_0x36325f},_0xfdafaa);const _0x54ace9=_0x50a747 instanceof _0xc6af75&&_0x50a747[_0x40ef('0x12')]['get'](_0x40ef('0xb'));_0x54ace9&&(_0x59c4e1?_0x54ace9[_0x40ef('0x15')](_0x40ef('0x8')):_0x54ace9[_0x40ef('0xe')](_0x40ef('0x8')));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42c4=['ck\x20ck-user__name\x20ck-user__name--hidden','notificationView','ck\x20ck-user__name','div','name','isAnonymous','ck-user__avatar','initials','ck-user__notification','extendTemplate','avatar','ck-user__icon','ck-user__anonymous','url(\x27','push','ck-user__img'];(function(_0x447c51,_0x42c46a){const _0x102f5f=function(_0x584f8){while(--_0x584f8){_0x447c51['push'](_0x447c51['shift']());}};_0x102f5f(++_0x42c46a);}(_0x42c4,0x183));const _0x102f=function(_0x447c51,_0x42c46a){_0x447c51=_0x447c51-0x0;let _0x102f5f=_0x42c4[_0x447c51];return _0x102f5f;};import{View as _0x664988,IconView as _0x4ad76a}from'ckeditor5/src/ui';import _0x2081d1 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x664988{constructor(_0x31eaa4,_0x58bcbc,_0x590a94){super(_0x31eaa4),this[_0x102f('0x1')]=_0x58bcbc['name'],this['notificationView']=null;const _0x159be1=['ck',_0x102f('0xc')];if(_0x58bcbc[_0x102f('0x2')]&&_0x159be1[_0x102f('0xb')](_0x102f('0x9')),_0x58bcbc[_0x102f('0x7')]&&_0x159be1[_0x102f('0xb')](_0x102f('0x3')),_0x590a94){const _0x844a5e=new _0x4ad76a();_0x844a5e[_0x102f('0x6')]({'attributes':{'class':[_0x102f('0x8')]}}),_0x844a5e['content']=_0x2081d1,this[_0x102f('0xe')]={'tag':_0x102f('0x0'),'attributes':{'class':['ck',_0x102f('0x5')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x590a94},'children':[_0x844a5e]};}const _0x5f4101=[{'tag':_0x102f('0x0'),'attributes':{'class':_0x159be1,'style':{'background-image':_0x58bcbc[_0x102f('0x7')]?_0x102f('0xa')+_0x58bcbc[_0x102f('0x7')]+'\x27)':''}}},{'tag':_0x102f('0x0'),'attributes':{'class':_0x58bcbc[_0x102f('0x7')]?_0x102f('0xd'):_0x102f('0xf')},'children':[{'text':_0x58bcbc[_0x102f('0x4')]}]}];this[_0x102f('0xe')]&&_0x5f4101[_0x102f('0xb')](this[_0x102f('0xe')]),this['setTemplate']({'tag':_0x102f('0x0'),'attributes':{'class':['ck','ck-user'],'data-user-id':_0x58bcbc['id']},'children':_0x5f4101});}}
23
+ const _0x5ce2=['ck-user','ck-user__anonymous','push','content','setTemplate','initials','ck\x20ck-user__name','name','ck-user__img','isAnonymous','avatar','notificationView','ck-user__notification','div','ck-user__icon','url(\x27'];(function(_0x36224b,_0x5ce227){const _0x5a5205=function(_0x21c5ed){while(--_0x21c5ed){_0x36224b['push'](_0x36224b['shift']());}};_0x5a5205(++_0x5ce227);}(_0x5ce2,0x147));const _0x5a52=function(_0x36224b,_0x5ce227){_0x36224b=_0x36224b-0x0;let _0x5a5205=_0x5ce2[_0x36224b];return _0x5a5205;};import{View as _0x2c9769,IconView as _0xa5a853}from'ckeditor5/src/ui';import _0x5e1e0d from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x2c9769{constructor(_0x9cfd43,_0x2a943b,_0x392df9){super(_0x9cfd43),this['name']=_0x2a943b[_0x5a52('0x0')],this['notificationView']=null;const _0x1ecb54=['ck',_0x5a52('0x1')];if(_0x2a943b[_0x5a52('0x2')]&&_0x1ecb54[_0x5a52('0xb')](_0x5a52('0xa')),_0x2a943b[_0x5a52('0x3')]&&_0x1ecb54['push']('ck-user__avatar'),_0x392df9){const _0x3f4ab1=new _0xa5a853();_0x3f4ab1['extendTemplate']({'attributes':{'class':[_0x5a52('0x7')]}}),_0x3f4ab1[_0x5a52('0xc')]=_0x5e1e0d,this[_0x5a52('0x4')]={'tag':_0x5a52('0x6'),'attributes':{'class':['ck',_0x5a52('0x5')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x392df9},'children':[_0x3f4ab1]};}const _0x549777=[{'tag':_0x5a52('0x6'),'attributes':{'class':_0x1ecb54,'style':{'background-image':_0x2a943b[_0x5a52('0x3')]?_0x5a52('0x8')+_0x2a943b[_0x5a52('0x3')]+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x2a943b['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':_0x5a52('0xf')},'children':[{'text':_0x2a943b[_0x5a52('0xe')]}]}];this[_0x5a52('0x4')]&&_0x549777[_0x5a52('0xb')](this['notificationView']),this[_0x5a52('0xd')]({'tag':_0x5a52('0x6'),'attributes':{'class':['ck',_0x5a52('0x9')],'data-user-id':_0x2a943b['id']},'children':_0x549777});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5695=['pluginName','users-me-missing-user','init','charAt','users-me-already-defined','ck-user__marker--','_licenseKeyCheckInterval','string','getBackgroundColorClass','_isAnonymous','_myId','name','licenseKeyInvalid','licenseKey','defineMe','licenseKeyTrialLimit:time','_getNextColor','ck-user__bg-color--','trial-license-key-reached-limit-changes','getSelectionClass','_getInitial','licenseKeyTrial','users-add-duplicated-id','users.colorsCount','info','destroy','has','users.anonymousUserId','length','trim','decorate','getUser','invalid-license-key','licenseKeyTrialLimit:revisions','define','useAnonymousUser','requires','config','avatar','isAnonymous','get','_id','initials','ck-user__selection--','users','licenseKeyValid','color','Anonymous','_addAnonymousUser','locale','trial-license-key-reached-limit-time','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.','_locale','_lastColor','context','getMarkerClass','add','Users','anonymous-user','addUser','licenseKeyTrialLimit:operations'];(function(_0x36def6,_0x569558){const _0xaf8872=function(_0x3eacec){while(--_0x3eacec){_0x36def6['push'](_0x36def6['shift']());}};_0xaf8872(++_0x569558);}(_0x5695,0x14a));const _0xaf88=function(_0x36def6,_0x569558){_0x36def6=_0x36def6-0x0;let _0xaf8872=_0x5695[_0x36def6];return _0xaf8872;};import{ContextPlugin as _0x4bcfb7}from'ckeditor5/src/core';import{Collection as _0xf0d45c,CKEditorError as _0x30ee4b}from'ckeditor5/src/utils';import _0x423043 from'./permissions';import{getTranslation as _0x5610f2}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x4bcfb7{static get[_0xaf88('0x24')](){return _0xaf88('0x20');}static get[_0xaf88('0xb')](){return[_0x423043];}constructor(_0x550be7){super(_0x550be7),this['context'][_0xaf88('0xc')][_0xaf88('0x9')](_0xaf88('0x2'),_0xaf88('0x21')),this['context'][_0xaf88('0xc')][_0xaf88('0x9')]('users.colorsCount',0x8),this[_0xaf88('0x13')]=new _0xf0d45c(),this['_locale']=_0x550be7[_0xaf88('0x18')],this['_licenseKeyCheckInterval']=null,this[_0xaf88('0x1c')]=0x0,this['_myId']=null,this[_0xaf88('0x5')]('getOperationAuthor');}[_0xaf88('0x26')](){const _0x2c80f3=this[_0xaf88('0x1d')];this['licenseKey']=_0x2c80f3[_0xaf88('0xc')][_0xaf88('0xf')](_0xaf88('0x31'));const _0x18ba20=[_0xaf88('0x39'),_0xaf88('0x30'),_0xaf88('0x14'),_0xaf88('0x23'),_0xaf88('0x33'),_0xaf88('0x8')];this[_0xaf88('0x2a')]=setInterval(()=>{let _0x2a953f;for(const _0xf19911 in _0x2c80f3){const _0x9c7980=_0x2c80f3[_0xf19911];if(_0x18ba20['includes'](_0x9c7980)){delete _0x2c80f3[_0xf19911],_0x2a953f=_0x9c7980;break;}}if(_0xaf88('0x30')===_0x2a953f)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x30ee4b(_0xaf88('0x7'),null);if(_0xaf88('0x39')===_0x2a953f&&console[_0xaf88('0x3c')](_0xaf88('0x1a')),_0xaf88('0x23')===_0x2a953f)throw clearInterval(this[_0xaf88('0x2a')]),new _0x30ee4b(_0xaf88('0x36'),null);if(_0xaf88('0x33')===_0x2a953f)throw clearInterval(this[_0xaf88('0x2a')]),new _0x30ee4b(_0xaf88('0x19'),null);if(_0xaf88('0x8')===_0x2a953f)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x30ee4b('trial-license-key-reached-limit-revisions',null);_0xaf88('0x14')===_0x2a953f&&clearInterval(this[_0xaf88('0x2a')]);},0x3e8),this[_0xaf88('0x17')]();}get['me'](){return null==this[_0xaf88('0x2e')]?null:this[_0xaf88('0x6')](this[_0xaf88('0x2e')]);}[_0xaf88('0x22')]({id:_0x4d71e1,name:_0x52d78e,..._0x2037f4}){if(!_0x4d71e1||_0xaf88('0x2b')!=typeof _0x4d71e1)throw new _0x30ee4b('users-add-invalid-id');if(this[_0xaf88('0x13')][_0xaf88('0x1')](_0x4d71e1))throw new _0x30ee4b(_0xaf88('0x3a'),null,{'id':_0x4d71e1});const _0x503a18={..._0x2037f4,'id':_0x4d71e1,'name':a(this[_0xaf88('0x1b')],_0x52d78e),'color':this[_0xaf88('0x34')]()};_0x503a18[_0xaf88('0x2f')]=a(this[_0xaf88('0x1b')],_0x503a18[_0xaf88('0x2f')]);const _0x4de010=new User(_0x503a18);return this[_0xaf88('0x13')][_0xaf88('0x1f')](_0x4de010),_0x4de010;}[_0xaf88('0x6')](_0x47daa7){return this[_0xaf88('0x13')][_0xaf88('0xf')](_0x47daa7);}[_0xaf88('0xa')](){const _0x5b80e2=this['context']['config'][_0xaf88('0xf')](_0xaf88('0x2'));this['_myId']||this['defineMe'](_0x5b80e2);}[_0xaf88('0x32')](_0x41882f){if(this[_0xaf88('0x2e')])throw new _0x30ee4b(_0xaf88('0x28'),null);if(!this[_0xaf88('0x6')](_0x41882f))throw new _0x30ee4b(_0xaf88('0x25'),null);this[_0xaf88('0x2e')]=_0x41882f;}['getOperationAuthor'](){return this['me'];}[_0xaf88('0x0')](){super[_0xaf88('0x0')](),clearInterval(this[_0xaf88('0x2a')]);}[_0xaf88('0x34')](){const _0x3ccd85=this[_0xaf88('0x1d')][_0xaf88('0xc')][_0xaf88('0xf')](_0xaf88('0x3b'));return this['_lastColor']>=_0x3ccd85&&(this[_0xaf88('0x1c')]=0x0),new u(this[_0xaf88('0x1c')]++);}['_addAnonymousUser'](){const _0x53d0d6=this['context'][_0xaf88('0xc')]['get'](_0xaf88('0x2'));this['addUser']({'id':_0x53d0d6,'name':_0x5610f2(this[_0xaf88('0x1b')],_0xaf88('0x16'))})[_0xaf88('0x2d')]=!0x0;}}export class User{constructor(_0x4bd00f){this['id']=_0x4bd00f['id'],this[_0xaf88('0x15')]=_0x4bd00f[_0xaf88('0x15')],this['name']=_0x4bd00f[_0xaf88('0x2f')],this[_0xaf88('0xd')]=_0x4bd00f[_0xaf88('0xd')],this[_0xaf88('0x2d')]=!0x1;}get[_0xaf88('0xe')](){return this[_0xaf88('0x2d')];}get[_0xaf88('0x11')](){const _0x2a6116=this[_0xaf88('0x2f')]['split']('\x20');return 0x1===_0x2a6116[_0xaf88('0x3')]?this[_0xaf88('0x38')](_0x2a6116[0x0]):this[_0xaf88('0x38')](_0x2a6116[0x0])+this['_getInitial'](_0x2a6116[_0x2a6116['length']-0x1]);}[_0xaf88('0x38')](_0x2c0ced){return _0x2c0ced[_0xaf88('0x27')](0x0)['toUpperCase']();}}function a(_0x4a7f4f,_0x533dbf=''){return''==(_0x533dbf=_0x533dbf[_0xaf88('0x4')]())?_0x5610f2(_0x4a7f4f,_0xaf88('0x16')):_0x533dbf;}class u{constructor(_0x12c5ac){this[_0xaf88('0x10')]=_0x12c5ac;}[_0xaf88('0x2c')](){return _0xaf88('0x35')+this[_0xaf88('0x10')];}[_0xaf88('0x37')](){return _0xaf88('0x12')+this[_0xaf88('0x10')];}[_0xaf88('0x1e')](){return _0xaf88('0x29')+this[_0xaf88('0x10')];}}
23
+ const _0x259e=['getOperationAuthor','_myId','licenseKeyTrialLimit:operations','add','_locale','context','addUser','_lastColor','config','init','has','destroy','length','info','color','users-me-missing-user','define','trial-license-key-reached-limit-time','users','Anonymous','users.anonymousUserId','getSelectionClass','ck-user__selection--','licenseKeyValid','licenseKeyTrialLimit:revisions','licenseKeyTrial','users-add-duplicated-id','avatar','licenseKey','licenseKeyTrialLimit:time','Users','requires','get','_isAnonymous','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.','ck-user__marker--','anonymous-user','getUser','toUpperCase','licenseKeyInvalid','useAnonymousUser','users.colorsCount','_licenseKeyCheckInterval','isAnonymous','_id','decorate','trial-license-key-reached-limit-revisions','defineMe','_getNextColor','name','_getInitial','getMarkerClass','invalid-license-key'];(function(_0x552de7,_0x259eb9){const _0x37742d=function(_0x4c858b){while(--_0x4c858b){_0x552de7['push'](_0x552de7['shift']());}};_0x37742d(++_0x259eb9);}(_0x259e,0x1ca));const _0x3774=function(_0x552de7,_0x259eb9){_0x552de7=_0x552de7-0x0;let _0x37742d=_0x259e[_0x552de7];return _0x37742d;};import{ContextPlugin as _0x3e88f6}from'ckeditor5/src/core';import{Collection as _0x58d2d8,CKEditorError as _0x84faf0}from'ckeditor5/src/utils';import _0x1fb52a from'./permissions';import{getTranslation as _0x5e49a5}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x3e88f6{static get['pluginName'](){return _0x3774('0x31');}static get[_0x3774('0x32')](){return[_0x1fb52a];}constructor(_0x57cb2e){super(_0x57cb2e),this[_0x3774('0x18')]['config'][_0x3774('0x23')](_0x3774('0x27'),_0x3774('0x2')),this['context']['config'][_0x3774('0x23')]('users.colorsCount',0x8),this[_0x3774('0x25')]=new _0x58d2d8(),this[_0x3774('0x17')]=_0x57cb2e['locale'],this[_0x3774('0x8')]=null,this[_0x3774('0x1a')]=0x0,this[_0x3774('0x14')]=null,this[_0x3774('0xb')](_0x3774('0x13'));}[_0x3774('0x1c')](){const _0x4a9110=this[_0x3774('0x18')];this['licenseKey']=_0x4a9110[_0x3774('0x1b')][_0x3774('0x33')](_0x3774('0x2f'));const _0x6a1dc6=['licenseKeyTrial',_0x3774('0x5'),_0x3774('0x2a'),_0x3774('0x15'),_0x3774('0x30'),_0x3774('0x2b')];this[_0x3774('0x8')]=setInterval(()=>{let _0x3d57cb;for(const _0x406cbb in _0x4a9110){const _0x5f223e=_0x4a9110[_0x406cbb];if(_0x6a1dc6['includes'](_0x5f223e)){delete _0x4a9110[_0x406cbb],_0x3d57cb=_0x5f223e;break;}}if(_0x3774('0x5')===_0x3d57cb)throw clearInterval(this[_0x3774('0x8')]),new _0x84faf0(_0x3774('0x12'),null);if(_0x3774('0x2c')===_0x3d57cb&&console[_0x3774('0x20')](_0x3774('0x0')),'licenseKeyTrialLimit:operations'===_0x3d57cb)throw clearInterval(this[_0x3774('0x8')]),new _0x84faf0('trial-license-key-reached-limit-changes',null);if(_0x3774('0x30')===_0x3d57cb)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x84faf0(_0x3774('0x24'),null);if(_0x3774('0x2b')===_0x3d57cb)throw clearInterval(this[_0x3774('0x8')]),new _0x84faf0(_0x3774('0xc'),null);_0x3774('0x2a')===_0x3d57cb&&clearInterval(this[_0x3774('0x8')]);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this[_0x3774('0x14')]?null:this['getUser'](this[_0x3774('0x14')]);}[_0x3774('0x19')]({id:_0x5109fc,name:_0x56a2eb,..._0x2e43b0}){if(!_0x5109fc||'string'!=typeof _0x5109fc)throw new _0x84faf0('users-add-invalid-id');if(this[_0x3774('0x25')][_0x3774('0x1d')](_0x5109fc))throw new _0x84faf0(_0x3774('0x2d'),null,{'id':_0x5109fc});const _0x50a612={..._0x2e43b0,'id':_0x5109fc,'name':a(this[_0x3774('0x17')],_0x56a2eb),'color':this['_getNextColor']()};_0x50a612[_0x3774('0xf')]=a(this[_0x3774('0x17')],_0x50a612[_0x3774('0xf')]);const _0x2624ac=new User(_0x50a612);return this['users'][_0x3774('0x16')](_0x2624ac),_0x2624ac;}[_0x3774('0x3')](_0x1224d6){return this[_0x3774('0x25')][_0x3774('0x33')](_0x1224d6);}[_0x3774('0x6')](){const _0x293b78=this['context'][_0x3774('0x1b')][_0x3774('0x33')](_0x3774('0x27'));this[_0x3774('0x14')]||this['defineMe'](_0x293b78);}[_0x3774('0xd')](_0x2e1cc3){if(this['_myId'])throw new _0x84faf0('users-me-already-defined',null);if(!this[_0x3774('0x3')](_0x2e1cc3))throw new _0x84faf0(_0x3774('0x22'),null);this[_0x3774('0x14')]=_0x2e1cc3;}[_0x3774('0x13')](){return this['me'];}[_0x3774('0x1e')](){super[_0x3774('0x1e')](),clearInterval(this[_0x3774('0x8')]);}[_0x3774('0xe')](){const _0x133d02=this['context'][_0x3774('0x1b')][_0x3774('0x33')](_0x3774('0x7'));return this[_0x3774('0x1a')]>=_0x133d02&&(this[_0x3774('0x1a')]=0x0),new u(this[_0x3774('0x1a')]++);}['_addAnonymousUser'](){const _0x2222bc=this[_0x3774('0x18')][_0x3774('0x1b')]['get'](_0x3774('0x27'));this[_0x3774('0x19')]({'id':_0x2222bc,'name':_0x5e49a5(this[_0x3774('0x17')],_0x3774('0x26'))})[_0x3774('0x34')]=!0x0;}}export class User{constructor(_0x4812f8){this['id']=_0x4812f8['id'],this[_0x3774('0x21')]=_0x4812f8['color'],this[_0x3774('0xf')]=_0x4812f8['name'],this[_0x3774('0x2e')]=_0x4812f8[_0x3774('0x2e')],this[_0x3774('0x34')]=!0x1;}get[_0x3774('0x9')](){return this[_0x3774('0x34')];}get['initials'](){const _0x7bbe0d=this[_0x3774('0xf')]['split']('\x20');return 0x1===_0x7bbe0d[_0x3774('0x1f')]?this[_0x3774('0x10')](_0x7bbe0d[0x0]):this[_0x3774('0x10')](_0x7bbe0d[0x0])+this['_getInitial'](_0x7bbe0d[_0x7bbe0d[_0x3774('0x1f')]-0x1]);}[_0x3774('0x10')](_0x245083){return _0x245083['charAt'](0x0)[_0x3774('0x4')]();}}function a(_0x50b6fc,_0x46a7c7=''){return''==(_0x46a7c7=_0x46a7c7['trim']())?_0x5e49a5(_0x50b6fc,_0x3774('0x26')):_0x46a7c7;}class u{constructor(_0xd3b5bc){this[_0x3774('0xa')]=_0xd3b5bc;}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this[_0x3774('0xa')];}[_0x3774('0x28')](){return _0x3774('0x29')+this[_0x3774('0xa')];}[_0x3774('0x11')](){return _0x3774('0x1')+this[_0x3774('0xa')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x1d3095,_0x5e2041){const t=_0x1d3095['t'];switch(_0x5e2041){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(_0x2eb25c,_0x38909a){const t=_0x2eb25c['t'];switch(_0x38909a){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 _0x4db6=['remove','focus','fire','submit','destroy','showConfirm','deregisterChild','element','render','once','_removeConfirm','set','confirmView','locale','isConfirm'];(function(_0x2d1f12,_0x4db6bf){var _0x143797=function(_0x24212e){while(--_0x24212e){_0x2d1f12['push'](_0x2d1f12['shift']());}};_0x143797(++_0x4db6bf);}(_0x4db6,0x121));var _0x1437=function(_0x2d1f12,_0x4db6bf){_0x2d1f12=_0x2d1f12-0x0;var _0x143797=_0x4db6[_0x2d1f12];return _0x143797;};import _0x309d1e from'./confirmview';export default function m(_0x58fb9a){return class extends _0x58fb9a{[_0x1437('0x1')](_0xfea05a,_0x23fe82){return this[_0x1437('0x8')]=new _0x309d1e(this[_0x1437('0x9')]),this[_0x1437('0x8')][_0x1437('0x4')](),this[_0x1437('0x8')]['message']=_0xfea05a,this['confirmView'][_0x1437('0x5')]('cancel',()=>{this[_0x1437('0x6')]();}),this[_0x1437('0x8')][_0x1437('0x5')](_0x1437('0xe'),()=>{this[_0x1437('0x6')]();}),_0x23fe82['appendChild'](this[_0x1437('0x8')][_0x1437('0x3')]),this['registerChild'](this[_0x1437('0x8')]),this[_0x1437('0x3')][_0x1437('0xc')](),this[_0x1437('0x7')](_0x1437('0xa'),!0x0),new Promise(_0x4cf9a7=>this[_0x1437('0x8')]['on']('submit',_0x4cf9a7));}['cancelConfirm'](){this['isConfirm']&&this['confirmView'][_0x1437('0xd')]('cancel');}[_0x1437('0x6')](){this[_0x1437('0x3')]&&this[_0x1437('0x8')]&&this['confirmView']['element']&&(this[_0x1437('0x3')][_0x1437('0xc')](),this[_0x1437('0x8')][_0x1437('0x3')][_0x1437('0xb')](),this[_0x1437('0x2')](this[_0x1437('0x8')]),this[_0x1437('0xa')]=!0x1,this[_0x1437('0x8')][_0x1437('0x0')](),this['confirmView']=void 0x0);}};}
23
+ var _0x57c4=['fire','focus','element','confirmView','_removeConfirm','deregisterChild','message','registerChild','submit','appendChild','showConfirm','cancel','isConfirm','once','set','render','cancelConfirm','locale'];(function(_0x191e67,_0x57c4ad){var _0x12e936=function(_0x3fc2bd){while(--_0x3fc2bd){_0x191e67['push'](_0x191e67['shift']());}};_0x12e936(++_0x57c4ad);}(_0x57c4,0xcd));var _0x12e9=function(_0x191e67,_0x57c4ad){_0x191e67=_0x191e67-0x0;var _0x12e936=_0x57c4[_0x191e67];return _0x12e936;};import _0x130ee4 from'./confirmview';export default function m(_0x24485d){return class extends _0x24485d{[_0x12e9('0x3')](_0xd9d12b,_0x4cffaf){return this['confirmView']=new _0x130ee4(this[_0x12e9('0xa')]),this[_0x12e9('0xe')][_0x12e9('0x8')](),this[_0x12e9('0xe')][_0x12e9('0x11')]=_0xd9d12b,this[_0x12e9('0xe')][_0x12e9('0x6')](_0x12e9('0x4'),()=>{this[_0x12e9('0xf')]();}),this[_0x12e9('0xe')][_0x12e9('0x6')](_0x12e9('0x1'),()=>{this[_0x12e9('0xf')]();}),_0x4cffaf[_0x12e9('0x2')](this[_0x12e9('0xe')][_0x12e9('0xd')]),this[_0x12e9('0x0')](this[_0x12e9('0xe')]),this[_0x12e9('0xd')][_0x12e9('0xc')](),this[_0x12e9('0x7')](_0x12e9('0x5'),!0x0),new Promise(_0x4e585d=>this[_0x12e9('0xe')]['on'](_0x12e9('0x1'),_0x4e585d));}[_0x12e9('0x9')](){this[_0x12e9('0x5')]&&this['confirmView'][_0x12e9('0xb')](_0x12e9('0x4'));}[_0x12e9('0xf')](){this['element']&&this[_0x12e9('0xe')]&&this['confirmView'][_0x12e9('0xd')]&&(this['element'][_0x12e9('0xc')](),this[_0x12e9('0xe')]['element']['remove'](),this[_0x12e9('0x10')](this[_0x12e9('0xe')]),this[_0x12e9('0x5')]=!0x1,this[_0x12e9('0xe')]['destroy'](),this[_0x12e9('0xe')]=void 0x0);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x450a=['fire','div','_createButtonView','ck-thread__remove-confirm','submitView','bindTemplate','execute','cancelView','set','icon','extendTemplate','cancel','submit','ck-thread__remove-confirm-','Yes','message'];(function(_0x1a0af2,_0x450a8b){const _0x1e500a=function(_0x3136b2){while(--_0x3136b2){_0x1a0af2['push'](_0x1a0af2['shift']());}};_0x1e500a(++_0x450a8b);}(_0x450a,0xd1));const _0x1e50=function(_0x1a0af2,_0x450a8b){_0x1a0af2=_0x1a0af2-0x0;let _0x1e500a=_0x450a[_0x1a0af2];return _0x1e500a;};import{View as _0x2ecdcc,ButtonView as _0x3e4eec}from'ckeditor5/src/ui';import{icons as _0x3f3cc8}from'ckeditor5/src/core';import{getTranslation as _0x11c656}from'./common-translations';export default class h extends _0x2ecdcc{constructor(_0x13b59a){super(_0x13b59a);const _0x4447f1=this[_0x1e50('0x4')];this[_0x1e50('0x3')]=this[_0x1e50('0x1')](_0x13b59a,_0x11c656(_0x13b59a,_0x1e50('0xd')),_0x3f3cc8['check'],_0x1e50('0xb')),this[_0x1e50('0x6')]=this[_0x1e50('0x1')](_0x13b59a,_0x11c656(_0x13b59a,'No'),_0x3f3cc8[_0x1e50('0xa')],_0x1e50('0xa')),this[_0x1e50('0x7')](_0x1e50('0xe'),_0x11c656(_0x13b59a,'Are\x20you\x20sure?')),this['setTemplate']({'tag':'div','attributes':{'class':[_0x1e50('0x2')]},'children':[{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-inner'},'children':[{'tag':'p','children':[{'text':_0x4447f1['to']('message')}]},{'tag':_0x1e50('0x0'),'attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this[_0x1e50('0x3')],this['cancelView']]}]}]});}[_0x1e50('0x1')](_0x9a5c81,_0x4e08ca,_0x404cea,_0x3b376c){const _0x869367=new _0x3e4eec(_0x9a5c81);return _0x869367['label']=_0x4e08ca,_0x869367[_0x1e50('0x8')]=_0x404cea,_0x869367[_0x1e50('0x9')]({'attributes':{'class':_0x1e50('0xc')+_0x3b376c}}),_0x869367['on'](_0x1e50('0x5'),()=>this[_0x1e50('0xf')](_0x3b376c)),_0x869367;}}
23
+ const _0x5bb5=['fire','setTemplate','submitView','check','ck-thread__remove-confirm-inner','cancelView','_createButtonView','ck-thread__remove-confirm-','message','div','ck-thread__remove-confirm','label','set','cancel','icon','submit'];(function(_0x2b7634,_0x5bb57b){const _0x48aea6=function(_0x3d7de1){while(--_0x3d7de1){_0x2b7634['push'](_0x2b7634['shift']());}};_0x48aea6(++_0x5bb57b);}(_0x5bb5,0x11a));const _0x48ae=function(_0x2b7634,_0x5bb57b){_0x2b7634=_0x2b7634-0x0;let _0x48aea6=_0x5bb5[_0x2b7634];return _0x48aea6;};import{View as _0x3f937d,ButtonView as _0x1561c9}from'ckeditor5/src/ui';import{icons as _0x423b17}from'ckeditor5/src/core';import{getTranslation as _0x470465}from'./common-translations';export default class h extends _0x3f937d{constructor(_0x2394ba){super(_0x2394ba);const _0x3b1171=this['bindTemplate'];this[_0x48ae('0x8')]=this[_0x48ae('0xc')](_0x2394ba,_0x470465(_0x2394ba,'Yes'),_0x423b17[_0x48ae('0x9')],_0x48ae('0x5')),this[_0x48ae('0xb')]=this[_0x48ae('0xc')](_0x2394ba,_0x470465(_0x2394ba,'No'),_0x423b17[_0x48ae('0x3')],_0x48ae('0x3')),this[_0x48ae('0x2')](_0x48ae('0xe'),_0x470465(_0x2394ba,'Are\x20you\x20sure?')),this[_0x48ae('0x7')]({'tag':_0x48ae('0xf'),'attributes':{'class':[_0x48ae('0x0')]},'children':[{'tag':_0x48ae('0xf'),'attributes':{'class':_0x48ae('0xa')},'children':[{'tag':'p','children':[{'text':_0x3b1171['to'](_0x48ae('0xe'))}]},{'tag':_0x48ae('0xf'),'attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this[_0x48ae('0x8')],this[_0x48ae('0xb')]]}]}]});}[_0x48ae('0xc')](_0x3cc73d,_0x19d7c0,_0x59133f,_0x3bf6e1){const _0x50f0a9=new _0x1561c9(_0x3cc73d);return _0x50f0a9[_0x48ae('0x1')]=_0x19d7c0,_0x50f0a9[_0x48ae('0x4')]=_0x59133f,_0x50f0a9['extendTemplate']({'attributes':{'class':_0x48ae('0xd')+_0x3bf6e1}}),_0x50f0a9['on']('execute',()=>this[_0x48ae('0x6')](_0x3bf6e1)),_0x50f0a9;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb941=['\x27Yesterday\x27\x20hh:mma','\x27Today\x27\x20hh:mma','\x27Last\x27\x20EEEE\x20hh:mma','MM-dd-yyyy\x20hh:mma','string','dateTimeFormat','function'];(function(_0x3c46f6,_0xb9414a){const _0x131e5d=function(_0x4a088f){while(--_0x4a088f){_0x3c46f6['push'](_0x3c46f6['shift']());}};_0x131e5d(++_0xb9414a);}(_0xb941,0x161));const _0x131e=function(_0x3c46f6,_0xb9414a){_0x3c46f6=_0x3c46f6-0x0;let _0x131e5d=_0xb941[_0x3c46f6];return _0x131e5d;};import _0x3a648d from'date-fns/format';import _0x5b0ff4 from'date-fns/parseISO';import _0x2133ef from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x2ee999}from'ckeditor5/src/utils';export default function E(_0x3786ef={}){if(void 0x0!==_0x3786ef[_0x131e('0x2')]&&_0x131e('0x3')!=typeof _0x3786ef['dateTimeFormat'])throw new _0x2ee999('invalid-date-time-format');return _0x3decc0=>{const _0x5afbc2=_0x131e('0x1')==typeof _0x3decc0?_0x5b0ff4(_0x3decc0):_0x3decc0,_0x57b298=new Date(),_0x53aa96=_0x2133ef(_0x57b298,_0x5afbc2);return _0x3786ef[_0x131e('0x2')]?_0x3786ef[_0x131e('0x2')](_0x5afbc2):_0x3a648d(_0x5afbc2,0x0===_0x53aa96?_0x131e('0x5'):0x1===_0x53aa96?_0x131e('0x4'):_0x53aa96<0x7?_0x131e('0x6'):_0x131e('0x0'));};}
23
+ const _0x1535=['\x27Today\x27\x20hh:mma','\x27Yesterday\x27\x20hh:mma','\x27Last\x27\x20EEEE\x20hh:mma','MM-dd-yyyy\x20hh:mma','dateTimeFormat','invalid-date-time-format','string'];(function(_0x4e89b7,_0x15353d){const _0x3ae506=function(_0x4546ee){while(--_0x4546ee){_0x4e89b7['push'](_0x4e89b7['shift']());}};_0x3ae506(++_0x15353d);}(_0x1535,0x1ae));const _0x3ae5=function(_0x4e89b7,_0x15353d){_0x4e89b7=_0x4e89b7-0x0;let _0x3ae506=_0x1535[_0x4e89b7];return _0x3ae506;};import _0x57f1d8 from'date-fns/format';import _0x509c56 from'date-fns/parseISO';import _0x44c147 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x5ca193}from'ckeditor5/src/utils';export default function E(_0xbed9b4={}){if(void 0x0!==_0xbed9b4['dateTimeFormat']&&'function'!=typeof _0xbed9b4['dateTimeFormat'])throw new _0x5ca193(_0x3ae5('0x2'));return _0x2cab95=>{const _0x124eed=_0x3ae5('0x3')==typeof _0x2cab95?_0x509c56(_0x2cab95):_0x2cab95,_0x15b084=new Date(),_0x108b94=_0x44c147(_0x15b084,_0x124eed);return _0xbed9b4[_0x3ae5('0x1')]?_0xbed9b4[_0x3ae5('0x1')](_0x124eed):_0x57f1d8(_0x124eed,0x0===_0x108b94?_0x3ae5('0x4'):0x1===_0x108b94?_0x3ae5('0x5'):_0x108b94<0x7?_0x3ae5('0x6'):_0x3ae5('0x0'));};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d90=['getClientRects','view','item','domConverter','from','markerNameToElements','map','name','mapper','length','mapViewToDom','domElement','push'];(function(_0x5056e1,_0x5d9052){const _0x162c7d=function(_0x5187c8){while(--_0x5187c8){_0x5056e1['push'](_0x5056e1['shift']());}};_0x162c7d(++_0x5d9052);}(_0x5d90,0x1b5));const _0x162c=function(_0x5056e1,_0x5d9052){_0x5056e1=_0x5056e1-0x0;let _0x162c7d=_0x5d90[_0x5056e1];return _0x162c7d;};import{first as _0x21a8bc}from'ckeditor5/src/utils';export default function k(_0x2f829c,_0x4fb1d7){const _0x37a0e6=_0x2f829c[_0x162c('0x0')]['markerNameToElements'](_0x4fb1d7['name']);if(!_0x37a0e6)return null;const _0x236ec1=_0x21a8bc(_0x37a0e6['values']());return _0x2f829c[_0x162c('0x6')]['domConverter']['mapViewToDom'](_0x236ec1)||null;}export function getAllMarkersDomElementsSorted(_0x2e6c3,_0x38ad4f){if(0x0===_0x38ad4f[_0x162c('0x1')])return null;const _0x5f4309=[],_0x2998a2=_0x2e6c3[_0x162c('0x6')][_0x162c('0x8')];for(const _0x4e7beb of _0x38ad4f){const _0x1fd62a=_0x2e6c3['mapper'][_0x162c('0xa')](_0x4e7beb[_0x162c('0xc')]);if(!_0x1fd62a)continue;const _0x54b728=Array[_0x162c('0x9')](_0x1fd62a)[_0x162c('0xb')](_0x17fcae=>_0x2998a2[_0x162c('0x2')](_0x17fcae))['filter'](_0x48fb93=>!!_0x48fb93);_0x5f4309['push'](..._0x54b728);}if(0x0===_0x5f4309[_0x162c('0x1')])return null;const _0x2598c3=[];for(const _0x2a1fed of _0x5f4309){const _0x4afd53=_0x2a1fed[_0x162c('0x5')]()[_0x162c('0x7')](0x0);_0x4afd53&&_0x2598c3[_0x162c('0x4')]({'x':_0x4afd53['x'],'y':_0x4afd53['y'],'domElement':_0x2a1fed});}return 0x0===_0x2598c3[_0x162c('0x1')]?null:(_0x2598c3['sort']((_0x50efa2,_0x131f45)=>_0x50efa2['y']-_0x131f45['y']||_0x50efa2['x']-_0x131f45['x']),_0x2598c3[_0x162c('0xb')](_0xfafd04=>_0xfafd04[_0x162c('0x3')]));}
23
+ const _0x1760=['domConverter','from','push','mapViewToDom','getClientRects','mapper','map','length','markerNameToElements','name','sort','domElement','item','view','filter'];(function(_0xc39752,_0x176092){const _0x1202ab=function(_0x58310b){while(--_0x58310b){_0xc39752['push'](_0xc39752['shift']());}};_0x1202ab(++_0x176092);}(_0x1760,0x97));const _0x1202=function(_0xc39752,_0x176092){_0xc39752=_0xc39752-0x0;let _0x1202ab=_0x1760[_0xc39752];return _0x1202ab;};import{first as _0x2c0d4c}from'ckeditor5/src/utils';export default function k(_0x59cb6c,_0xf5a529){const _0x305be1=_0x59cb6c[_0x1202('0x4')][_0x1202('0x7')](_0xf5a529['name']);if(!_0x305be1)return null;const _0x51eebe=_0x2c0d4c(_0x305be1['values']());return _0x59cb6c[_0x1202('0xc')]['domConverter'][_0x1202('0x2')](_0x51eebe)||null;}export function getAllMarkersDomElementsSorted(_0x59205e,_0x5d895d){if(0x0===_0x5d895d[_0x1202('0x6')])return null;const _0x48712b=[],_0x3c087f=_0x59205e[_0x1202('0xc')][_0x1202('0xe')];for(const _0x1c6715 of _0x5d895d){const _0x1feda1=_0x59205e[_0x1202('0x4')][_0x1202('0x7')](_0x1c6715[_0x1202('0x8')]);if(!_0x1feda1)continue;const _0xa9a9fa=Array[_0x1202('0x0')](_0x1feda1)['map'](_0x2a4df7=>_0x3c087f[_0x1202('0x2')](_0x2a4df7))[_0x1202('0xd')](_0x434847=>!!_0x434847);_0x48712b[_0x1202('0x1')](..._0xa9a9fa);}if(0x0===_0x48712b['length'])return null;const _0x53baa1=[];for(const _0x595c3c of _0x48712b){const _0x370b11=_0x595c3c[_0x1202('0x3')]()[_0x1202('0xb')](0x0);_0x370b11&&_0x53baa1['push']({'x':_0x370b11['x'],'y':_0x370b11['y'],'domElement':_0x595c3c});}return 0x0===_0x53baa1['length']?null:(_0x53baa1[_0x1202('0x9')]((_0x3dca1a,_0x299463)=>_0x3dca1a['y']-_0x299463['y']||_0x3dca1a['x']-_0x299463['x']),_0x53baa1[_0x1202('0x5')](_0x33b2de=>_0x33b2de[_0x1202('0xa')]));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3909=['keys','number','boolean','string','toString','object','sort','charCodeAt'];(function(_0x230cdd,_0x3909af){const _0x4e0451=function(_0x3071d2){while(--_0x3071d2){_0x230cdd['push'](_0x230cdd['shift']());}};_0x4e0451(++_0x3909af);}(_0x3909,0xf7));const _0x4e04=function(_0x230cdd,_0x3909af){_0x230cdd=_0x230cdd-0x0;let _0x4e0451=_0x3909[_0x230cdd];return _0x4e0451;};export default function b(_0x1bd73d){let _0x4bc76c=0x0,_0x589ad2=0x0;for(const _0x2ba6c9 of g(_0x1bd73d))_0x4bc76c=(_0x4bc76c<<0x5)-_0x4bc76c+_0x2ba6c9,_0x4bc76c&=_0x4bc76c,[_0x4bc76c,_0x589ad2]=[_0x589ad2,_0x4bc76c];return O(_0x4bc76c)+O(_0x589ad2);}function*j(_0x2e26c5){_0x2e26c5?_0x4e04('0x3')==typeof _0x2e26c5?yield 0x1:Array['isArray'](_0x2e26c5)?yield*function*(_0x5112a7){for(const _0x45fc68 of _0x5112a7)yield*j(_0x45fc68);}(_0x2e26c5):_0x4e04('0x6')==typeof _0x2e26c5?yield*g(_0x2e26c5):_0x4e04('0x4')==typeof _0x2e26c5?yield*A(_0x2e26c5):_0x4e04('0x2')==typeof _0x2e26c5&&(yield _0x2e26c5):yield 0x0;}function*g(_0x1a9945){if(yield M('{'),_0x1a9945){const _0x3f8dd5=Object[_0x4e04('0x1')](_0x1a9945)[_0x4e04('0x7')]();for(const _0x339670 of _0x3f8dd5){yield*A(_0x339670),yield M(':');const _0x5b4ad1=_0x1a9945[_0x339670];yield*j(_0x5b4ad1);}}yield M('}');}function*A(_0x59d731){yield M('\x22');for(const _0x350b03 of _0x59d731)yield M(_0x350b03);yield M('\x22');}function M(_0x451ab9){return _0x451ab9[_0x4e04('0x0')](0x0);}function O(_0x5c369b){return(_0x5c369b*=Math['sign'](_0x5c369b))[_0x4e04('0x5')](0x24);}
23
+ const _0x197a=['sort','sign','number','keys','object','isArray','toString','charCodeAt'];(function(_0x10bbd2,_0x197a67){const _0x5087b9=function(_0x23ad1f){while(--_0x23ad1f){_0x10bbd2['push'](_0x10bbd2['shift']());}};_0x5087b9(++_0x197a67);}(_0x197a,0xaa));const _0x5087=function(_0x10bbd2,_0x197a67){_0x10bbd2=_0x10bbd2-0x0;let _0x5087b9=_0x197a[_0x10bbd2];return _0x5087b9;};export default function b(_0x173fd9){let _0x3704e2=0x0,_0x1b12e3=0x0;for(const _0x1e4372 of g(_0x173fd9))_0x3704e2=(_0x3704e2<<0x5)-_0x3704e2+_0x1e4372,_0x3704e2&=_0x3704e2,[_0x3704e2,_0x1b12e3]=[_0x1b12e3,_0x3704e2];return O(_0x3704e2)+O(_0x1b12e3);}function*j(_0x2aee1e){_0x2aee1e?'boolean'==typeof _0x2aee1e?yield 0x1:Array[_0x5087('0x3')](_0x2aee1e)?yield*function*(_0x4ce3f4){for(const _0x2e0a63 of _0x4ce3f4)yield*j(_0x2e0a63);}(_0x2aee1e):_0x5087('0x2')==typeof _0x2aee1e?yield*g(_0x2aee1e):'string'==typeof _0x2aee1e?yield*A(_0x2aee1e):_0x5087('0x0')==typeof _0x2aee1e&&(yield _0x2aee1e):yield 0x0;}function*g(_0x59d8ef){if(yield M('{'),_0x59d8ef){const _0x3d44c6=Object[_0x5087('0x1')](_0x59d8ef)[_0x5087('0x6')]();for(const _0x4e054c of _0x3d44c6){yield*A(_0x4e054c),yield M(':');const _0x2bbe32=_0x59d8ef[_0x4e054c];yield*j(_0x2bbe32);}}yield M('}');}function*A(_0x1abd4c){yield M('\x22');for(const _0x298dbb of _0x1abd4c)yield M(_0x298dbb);yield M('\x22');}function M(_0x2e4ef5){return _0x2e4ef5[_0x5087('0x5')](0x0);}function O(_0x5d4278){return(_0x5d4278*=Math[_0x5087('0x7')](_0x5d4278))[_0x5087('0x4')](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2395=['toolbar','WordCount','rootsAttributes','get','find','removePlugins','pluginName','set','concat','constructor','from','includes','_context','Autosave','string','DocumentOutline','extraPlugins','every','has','context','config','name','filter','names','length','plugins','WProofreader','requires','map','initialData'];(function(_0x974528,_0x239558){const _0x9876ee=function(_0x3beccc){while(--_0x3beccc){_0x974528['push'](_0x974528['shift']());}};_0x9876ee(++_0x239558);}(_0x2395,0x8b));const _0x9876=function(_0x974528,_0x239558){_0x974528=_0x974528-0x0;let _0x9876ee=_0x2395[_0x974528];return _0x9876ee;};const w=[_0x9876('0xa'),_0x9876('0x0'),_0x9876('0xb'),_0x9876('0xd')],W=['WebSocketGateway','RevisionTracker',_0x9876('0x18'),_0x9876('0xc'),_0x9876('0x1a'),_0x9876('0x7')];function v(_0x4d291b,_0x4fd358,_0x4b67ae,_0x24e5fb=[]){const _0x2320ad=_0x9876('0x19')==typeof _0x4d291b?_0x4b67ae['get'](_0x4d291b)[_0x9876('0x14')]:_0x4d291b,_0x44c185=_0x2320ad[_0x9876('0x11')]||_0x2320ad[_0x9876('0x2')];if(_0x4fd358[_0x9876('0x1d')](_0x44c185))return _0x4fd358[_0x9876('0xe')](_0x44c185);if(_0x4fd358[_0x9876('0x12')](_0x44c185,!0x0),_0x44c185&&W['concat'](_0x24e5fb)[_0x9876('0x16')](_0x44c185))return _0x4fd358['set'](_0x44c185,!0x1),!0x1;if(!_0x2320ad['requires'])return _0x4fd358[_0x9876('0x12')](_0x44c185,!0x0),!0x0;const _0x144646=_0x2320ad[_0x9876('0x8')][_0x9876('0x1c')](_0x366f34=>v(_0x366f34,_0x4fd358,_0x4b67ae,_0x24e5fb));return _0x4fd358[_0x9876('0x12')](_0x44c185,_0x144646),_0x144646;}export default function D(_0x22cfa8,_0x481e51){const _0x355c1b={};for(const _0x1accbb of _0x22cfa8['config'][_0x9876('0x4')]())w['includes'](_0x1accbb)||(_0x355c1b[_0x1accbb]=_0x22cfa8[_0x9876('0x1')][_0x9876('0xe')](_0x1accbb));const _0x463d63=_0x355c1b['plugins']||[],_0x28c7d6=_0x22cfa8[_0x9876('0x14')]['builtinPlugins']||[],_0x1b5b8a=_0x463d63[_0x9876('0x5')]?_0x463d63:_0x28c7d6,_0xed78dd=_0x355c1b[_0x9876('0x1b')]||[];delete _0x355c1b['extraPlugins'];const _0x1e183f=_0x355c1b[_0x9876('0x10')]||[];delete _0x355c1b['removePlugins'];const _0x48b93a=_0x22cfa8[_0x9876('0x17')][_0x9876('0x1')][_0x9876('0xe')](_0x9876('0x6'))||[],_0xf423bf=_0x1b5b8a[_0x9876('0x13')](_0xed78dd)['concat'](_0x48b93a)[_0x9876('0x9')](_0x2e52bf=>'string'==typeof _0x2e52bf?_0x28c7d6[_0x9876('0xf')](_0x25c5c7=>_0x25c5c7['pluginName']==_0x2e52bf):_0x2e52bf)[_0x9876('0x3')](_0x589888=>!_0x1e183f['includes'](_0x589888)),_0x803f20=Array[_0x9876('0x15')](new Set(_0xf423bf)),_0x3522f8=new Map();return _0x355c1b['plugins']=_0x803f20[_0x9876('0x3')](_0x2a82a1=>v(_0x2a82a1,_0x3522f8,_0x22cfa8[_0x9876('0x6')],_0x481e51)),_0x355c1b;}
23
+ const _0x5d09=['plugins','name','string','pluginName','RevisionTracker','Autosave','initialData','set','requires','has','concat','_context','get','filter','map','from','every','DocumentOutline','names','builtinPlugins','WProofreader','rootsAttributes','WordCount','length','includes','extraPlugins','config','WebSocketGateway','constructor','find'];(function(_0x3bfedf,_0x5d0948){const _0x3ca4e1=function(_0x1ea483){while(--_0x1ea483){_0x3bfedf['push'](_0x3bfedf['shift']());}};_0x3ca4e1(++_0x5d0948);}(_0x5d09,0x160));const _0x3ca4=function(_0x3bfedf,_0x5d0948){_0x3bfedf=_0x3bfedf-0x0;let _0x3ca4e1=_0x5d09[_0x3bfedf];return _0x3ca4e1;};const w=[_0x3ca4('0xe'),'context','toolbar',_0x3ca4('0x1d')],W=[_0x3ca4('0x5'),_0x3ca4('0xc'),_0x3ca4('0xd'),_0x3ca4('0x0'),_0x3ca4('0x19'),_0x3ca4('0x1c')];function v(_0x3bd2b5,_0x1907cd,_0x2938e0,_0x6a65b3=[]){const _0x50450a=_0x3ca4('0xa')==typeof _0x3bd2b5?_0x2938e0[_0x3ca4('0x14')](_0x3bd2b5)[_0x3ca4('0x6')]:_0x3bd2b5,_0xf5c9ef=_0x50450a[_0x3ca4('0xb')]||_0x50450a[_0x3ca4('0x9')];if(_0x1907cd[_0x3ca4('0x11')](_0xf5c9ef))return _0x1907cd[_0x3ca4('0x14')](_0xf5c9ef);if(_0x1907cd[_0x3ca4('0xf')](_0xf5c9ef,!0x0),_0xf5c9ef&&W[_0x3ca4('0x12')](_0x6a65b3)[_0x3ca4('0x2')](_0xf5c9ef))return _0x1907cd[_0x3ca4('0xf')](_0xf5c9ef,!0x1),!0x1;if(!_0x50450a[_0x3ca4('0x10')])return _0x1907cd[_0x3ca4('0xf')](_0xf5c9ef,!0x0),!0x0;const _0x7edaf2=_0x50450a[_0x3ca4('0x10')][_0x3ca4('0x18')](_0xd2dbc=>v(_0xd2dbc,_0x1907cd,_0x2938e0,_0x6a65b3));return _0x1907cd[_0x3ca4('0xf')](_0xf5c9ef,_0x7edaf2),_0x7edaf2;}export default function D(_0x496913,_0x4f9bec){const _0xec678e={};for(const _0x3a0c4c of _0x496913['config'][_0x3ca4('0x1a')]())w[_0x3ca4('0x2')](_0x3a0c4c)||(_0xec678e[_0x3a0c4c]=_0x496913[_0x3ca4('0x4')]['get'](_0x3a0c4c));const _0x3db50f=_0xec678e[_0x3ca4('0x8')]||[],_0x139814=_0x496913[_0x3ca4('0x6')][_0x3ca4('0x1b')]||[],_0x2b676b=_0x3db50f[_0x3ca4('0x1')]?_0x3db50f:_0x139814,_0x1a27b4=_0xec678e[_0x3ca4('0x3')]||[];delete _0xec678e['extraPlugins'];const _0x24a666=_0xec678e['removePlugins']||[];delete _0xec678e['removePlugins'];const _0x2d1dcd=_0x496913[_0x3ca4('0x13')]['config'][_0x3ca4('0x14')]('plugins')||[],_0x368e28=_0x2b676b['concat'](_0x1a27b4)['concat'](_0x2d1dcd)[_0x3ca4('0x16')](_0x1d723f=>_0x3ca4('0xa')==typeof _0x1d723f?_0x139814[_0x3ca4('0x7')](_0x24428c=>_0x24428c['pluginName']==_0x1d723f):_0x1d723f)[_0x3ca4('0x15')](_0xcdab8b=>!_0x24a666['includes'](_0xcdab8b)),_0x1426a5=Array[_0x3ca4('0x17')](new Set(_0x368e28)),_0x5758bd=new Map();return _0xec678e[_0x3ca4('0x8')]=_0x1426a5[_0x3ca4('0x15')](_0x4ca6e5=>v(_0x4ca6e5,_0x5758bd,_0x496913[_0x3ca4('0x8')],_0x4f9bec)),_0xec678e;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5275=['push','pop','replace','...','startsWith','match','join','length','slice','substring'];(function(_0x13b182,_0x52757b){const _0x598f4b=function(_0x56b2e5){while(--_0x56b2e5){_0x13b182['push'](_0x13b182['shift']());}};_0x598f4b(++_0x52757b);}(_0x5275,0xb6));const _0x598f=function(_0x13b182,_0x52757b){_0x13b182=_0x13b182-0x0;let _0x598f4b=_0x5275[_0x13b182];return _0x598f4b;};export default function z(_0x55ce28,{limit:_0x84740d,suffix:_0x54a769=_0x598f('0x1')}){const _0x3be0d9=[];let _0x152e1f=0x0;const _0x52eb32=_0x55ce28[_0x598f('0x0')](/</g,'\x0a<')[_0x598f('0x0')](/>/g,'>\x0a')[_0x598f('0x0')](/^\n/g,'')[_0x598f('0x0')](/\n$/g,'')['split']('\x0a');for(let _0x800d89=0x0;_0x800d89<_0x52eb32[_0x598f('0x5')];_0x800d89++){let _0x481af0=_0x52eb32[_0x800d89];const _0x15da2e=Z(_0x481af0);if(_0x481af0[_0x598f('0x2')]('<')){if(_0x152e1f>=_0x84740d){const _0x5056be=_0x481af0[_0x598f('0x3')](/[a-zA-Z]+/);if(!_0x5056be){_0x52eb32[_0x800d89]='';continue;}const _0x211856=_0x5056be[0x0];_0x481af0[_0x598f('0x2')]('</')?(_0x3be0d9[_0x598f('0x5')]&&(_0x481af0=''),_0x3be0d9[_0x598f('0x9')]()):(_0x3be0d9[_0x598f('0x8')](_0x211856),_0x481af0='');}}else{if(_0x152e1f>=_0x84740d)_0x481af0='';else{if(_0x152e1f+_0x15da2e[_0x598f('0x5')]>=_0x84740d){let _0x4c1d18=_0x84740d-_0x152e1f;if('\x20'===_0x15da2e[_0x4c1d18-0x1])_0x4c1d18--;else{const _0x29b3e1=_0x15da2e[_0x598f('0x6')](_0x4c1d18)['indexOf']('\x20');-0x1!==_0x29b3e1?_0x4c1d18+=_0x29b3e1:_0x4c1d18=_0x481af0['length'];}_0x481af0=_0x15da2e[_0x598f('0x6')](0x0,_0x4c1d18)[_0x598f('0x4')]('')+_0x54a769,_0x152e1f=_0x84740d;}else _0x152e1f+=_0x15da2e['length'];}}_0x52eb32[_0x800d89]=_0x481af0;}return _0x52eb32[_0x598f('0x4')]('\x0a')['replace'](/\n/g,'');}function Z(_0x4ce995){const _0x13675a=[];for(let _0x542c05=0x0;_0x542c05<_0x4ce995[_0x598f('0x5')];_0x542c05++){const _0x3518e0=_0x4ce995[_0x598f('0x7')](_0x542c05)[_0x598f('0x3')](/^&[a-z0-9#]+;/);if(_0x3518e0){const _0x36ce67=_0x3518e0[0x0];_0x13675a[_0x598f('0x8')](_0x36ce67),_0x542c05+=_0x36ce67[_0x598f('0x5')]-0x1;}else _0x13675a[_0x598f('0x8')](_0x4ce995[_0x542c05]);}return _0x13675a;}
23
+ const _0x23ea=['replace','substring','...','indexOf','split','slice','length','startsWith','push','match','join'];(function(_0x453e13,_0x23ea1b){const _0x2eb7ba=function(_0xf8fcba){while(--_0xf8fcba){_0x453e13['push'](_0x453e13['shift']());}};_0x2eb7ba(++_0x23ea1b);}(_0x23ea,0x187));const _0x2eb7=function(_0x453e13,_0x23ea1b){_0x453e13=_0x453e13-0x0;let _0x2eb7ba=_0x23ea[_0x453e13];return _0x2eb7ba;};export default function z(_0x4c50ec,{limit:_0x1645db,suffix:_0xa7e04f=_0x2eb7('0x7')}){const _0x3974fb=[];let _0x2075ce=0x0;const _0x397234=_0x4c50ec[_0x2eb7('0x5')](/</g,'\x0a<')[_0x2eb7('0x5')](/>/g,'>\x0a')[_0x2eb7('0x5')](/^\n/g,'')[_0x2eb7('0x5')](/\n$/g,'')[_0x2eb7('0x9')]('\x0a');for(let _0x4916d6=0x0;_0x4916d6<_0x397234['length'];_0x4916d6++){let _0x54e6c0=_0x397234[_0x4916d6];const _0x3385c5=Z(_0x54e6c0);if(_0x54e6c0[_0x2eb7('0x1')]('<')){if(_0x2075ce>=_0x1645db){const _0x13aedc=_0x54e6c0[_0x2eb7('0x3')](/[a-zA-Z]+/);if(!_0x13aedc){_0x397234[_0x4916d6]='';continue;}const _0x1b02af=_0x13aedc[0x0];_0x54e6c0[_0x2eb7('0x1')]('</')?(_0x3974fb['length']&&(_0x54e6c0=''),_0x3974fb['pop']()):(_0x3974fb[_0x2eb7('0x2')](_0x1b02af),_0x54e6c0='');}}else{if(_0x2075ce>=_0x1645db)_0x54e6c0='';else{if(_0x2075ce+_0x3385c5[_0x2eb7('0x0')]>=_0x1645db){let _0x3d4b53=_0x1645db-_0x2075ce;if('\x20'===_0x3385c5[_0x3d4b53-0x1])_0x3d4b53--;else{const _0x20b657=_0x3385c5[_0x2eb7('0xa')](_0x3d4b53)[_0x2eb7('0x8')]('\x20');-0x1!==_0x20b657?_0x3d4b53+=_0x20b657:_0x3d4b53=_0x54e6c0['length'];}_0x54e6c0=_0x3385c5[_0x2eb7('0xa')](0x0,_0x3d4b53)[_0x2eb7('0x4')]('')+_0xa7e04f,_0x2075ce=_0x1645db;}else _0x2075ce+=_0x3385c5[_0x2eb7('0x0')];}}_0x397234[_0x4916d6]=_0x54e6c0;}return _0x397234['join']('\x0a')[_0x2eb7('0x5')](/\n/g,'');}function Z(_0x41f76e){const _0x6003b6=[];for(let _0x2c3cf8=0x0;_0x2c3cf8<_0x41f76e[_0x2eb7('0x0')];_0x2c3cf8++){const _0x1cdd8f=_0x41f76e[_0x2eb7('0x6')](_0x2c3cf8)[_0x2eb7('0x3')](/^&[a-z0-9#]+;/);if(_0x1cdd8f){const _0x163e84=_0x1cdd8f[0x0];_0x6003b6[_0x2eb7('0x2')](_0x163e84),_0x2c3cf8+=_0x163e84[_0x2eb7('0x0')]-0x1;}else _0x6003b6[_0x2eb7('0x2')](_0x41f76e[_0x2c3cf8]);}return _0x6003b6;}