@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20231016.0 → 0.0.0-nightly-20231018.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-20231016.0",
3
+ "version": "0.0.0-nightly-20231018.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-20231016.0",
34
+ "ckeditor5": "0.0.0-nightly-20231018.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 _0xbdbd=['enableReadOnlyMode','config','context','no-permissions','collaboration.channelId','editors','CommentsOnly','disableReadOnlyMode','forceDisabled','Permissions','isEnabled','comment:modify_all','has','find','setPermissions','clearForceDisabled','document:write','comment:write','get','CommentsRepository','permissions-set-permissions-invalid-channel-id','includes','noPermissions','pluginName'];(function(_0x54439b,_0xbdbdf0){const _0x4033c2=function(_0x5dbeaf){while(--_0x5dbeaf){_0x54439b['push'](_0x54439b['shift']());}};_0x4033c2(++_0xbdbdf0);}(_0xbdbd,0x1c6));const _0x4033=function(_0x54439b,_0xbdbdf0){_0x54439b=_0x54439b-0x0;let _0x4033c2=_0xbdbd[_0x54439b];return _0x4033c2;};import{ContextPlugin as _0x6c9ee7,Editor as _0x2fbfaf}from'ckeditor5/src/core';import{CKEditorError as _0x2a4f7d}from'ckeditor5/src/utils';export default class n extends _0x6c9ee7{static get[_0x4033('0x1')](){return _0x4033('0xb');}['setPermissions'](_0x10c740,_0x24b85b){let _0x42b018;if(_0x24b85b||(_0x24b85b=this['context'][_0x4033('0x3')][_0x4033('0x14')](_0x4033('0x6'))),this[_0x4033('0x4')][_0x4033('0x3')][_0x4033('0x14')](_0x4033('0x6'))==_0x24b85b?_0x42b018=this['context']:_0x4033('0x7')in this[_0x4033('0x4')]&&this[_0x4033('0x4')][_0x4033('0x7')]&&(_0x42b018=this[_0x4033('0x4')][_0x4033('0x7')][_0x4033('0xf')](_0x48708a=>_0x48708a[_0x4033('0x3')][_0x4033('0x14')](_0x4033('0x6'))==_0x24b85b)),!_0x42b018)throw new _0x2a4f7d(_0x4033('0x16'),null);const _0x1b7458=_0x42b018['plugins'],_0x4a4a1b=_0x1b7458[_0x4033('0xe')](_0x4033('0x15'))?_0x1b7458['get']('CommentsRepository'):void 0x0,_0xed188=_0x1b7458[_0x4033('0xe')](_0x4033('0x8'))&&_0x1b7458[_0x4033('0x14')](_0x4033('0x8')),_0x2f524e=_0x10c740[_0x4033('0x17')](_0x4033('0x12')),_0x4b7083=_0x10c740['includes'](_0x4033('0xd')),_0x140ee1=_0x10c740['includes']('comment:admin'),_0x28dd09=_0x10c740[_0x4033('0x17')](_0x4033('0x13')),_0x3fcac2=_0x28dd09||_0x140ee1,_0x6c1a1b=_0x3fcac2||_0x4b7083,_0x41982a=_0x2f524e||_0x3fcac2;(_0xed188&&(_0xed188[_0x4033('0xc')]=!_0x2f524e&&_0x6c1a1b),_0x42b018 instanceof _0x2fbfaf)&&(!(_0x2f524e||_0x6c1a1b&&_0x4a4a1b)?_0x42b018[_0x4033('0x2')](_0x4033('0x5')):_0x42b018[_0x4033('0x9')](_0x4033('0x5')));if(_0x4a4a1b){_0x4a4a1b[_0x4033('0x10')]({'admin':_0x140ee1,'modifyAll':_0x4b7083,'write':_0x28dd09,'resolve':_0x41982a},_0x24b85b);const _0x47bc46=_0x42b018 instanceof _0x2fbfaf&&_0x42b018['commands'][_0x4033('0x14')]('addCommentThread');_0x47bc46&&(_0x3fcac2?_0x47bc46[_0x4033('0x11')](_0x4033('0x0')):_0x47bc46[_0x4033('0xa')]('noPermissions'));}}}
23
+ const _0x5b73=['permissions-set-permissions-invalid-channel-id','collaboration.channelId','Permissions','document:write','no-permissions','find','CommentsOnly','has','includes','comment:modify_all','noPermissions','commands','pluginName','get','CommentsRepository','editors','isEnabled','context','comment:admin','addCommentThread','comment:write','config','setPermissions'];(function(_0x200d02,_0x5b73b2){const _0x3f6708=function(_0xb4e253){while(--_0xb4e253){_0x200d02['push'](_0x200d02['shift']());}};_0x3f6708(++_0x5b73b2);}(_0x5b73,0xea));const _0x3f67=function(_0x200d02,_0x5b73b2){_0x200d02=_0x200d02-0x0;let _0x3f6708=_0x5b73[_0x200d02];return _0x3f6708;};import{ContextPlugin as _0x22ed94,Editor as _0x3160e0}from'ckeditor5/src/core';import{CKEditorError as _0x423616}from'ckeditor5/src/utils';export default class n extends _0x22ed94{static get[_0x3f67('0x8')](){return _0x3f67('0x15');}[_0x3f67('0x12')](_0xda97eb,_0x451ea8){let _0x33e632;if(_0x451ea8||(_0x451ea8=this['context'][_0x3f67('0x11')][_0x3f67('0x9')](_0x3f67('0x14'))),this[_0x3f67('0xd')][_0x3f67('0x11')][_0x3f67('0x9')](_0x3f67('0x14'))==_0x451ea8?_0x33e632=this[_0x3f67('0xd')]:_0x3f67('0xb')in this[_0x3f67('0xd')]&&this[_0x3f67('0xd')]['editors']&&(_0x33e632=this[_0x3f67('0xd')][_0x3f67('0xb')][_0x3f67('0x1')](_0x316b96=>_0x316b96[_0x3f67('0x11')]['get'](_0x3f67('0x14'))==_0x451ea8)),!_0x33e632)throw new _0x423616(_0x3f67('0x13'),null);const _0x28ef6f=_0x33e632['plugins'],_0x2595cd=_0x28ef6f[_0x3f67('0x3')](_0x3f67('0xa'))?_0x28ef6f['get'](_0x3f67('0xa')):void 0x0,_0xe8d067=_0x28ef6f['has'](_0x3f67('0x2'))&&_0x28ef6f[_0x3f67('0x9')]('CommentsOnly'),_0x3660c1=_0xda97eb[_0x3f67('0x4')](_0x3f67('0x16')),_0x49ae62=_0xda97eb[_0x3f67('0x4')](_0x3f67('0x5')),_0x5dfc2c=_0xda97eb[_0x3f67('0x4')](_0x3f67('0xe')),_0x4f68db=_0xda97eb[_0x3f67('0x4')](_0x3f67('0x10')),_0x277c92=_0x4f68db||_0x5dfc2c,_0x1d70c1=_0x277c92||_0x49ae62,_0x1f99f8=_0x3660c1||_0x277c92;(_0xe8d067&&(_0xe8d067[_0x3f67('0xc')]=!_0x3660c1&&_0x1d70c1),_0x33e632 instanceof _0x3160e0)&&(!(_0x3660c1||_0x1d70c1&&_0x2595cd)?_0x33e632['enableReadOnlyMode'](_0x3f67('0x0')):_0x33e632['disableReadOnlyMode'](_0x3f67('0x0')));if(_0x2595cd){_0x2595cd[_0x3f67('0x12')]({'admin':_0x5dfc2c,'modifyAll':_0x49ae62,'write':_0x4f68db,'resolve':_0x1f99f8},_0x451ea8);const _0xa2107=_0x33e632 instanceof _0x3160e0&&_0x33e632[_0x3f67('0x7')]['get'](_0x3f67('0xf'));_0xa2107&&(_0x277c92?_0xa2107['clearForceDisabled'](_0x3f67('0x6')):_0xa2107['forceDisabled'](_0x3f67('0x6')));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x37e3=['div','initials','url(\x27','isAnonymous','ck-user__img','ck\x20ck-user__name','notificationView','ck\x20ck-user__name\x20ck-user__name--hidden','ck-user__avatar','push','ck-user__notification','name','avatar','ck-user__icon','content','ck-user'];(function(_0x4e7131,_0x37e356){const _0x23cb42=function(_0x3f592d){while(--_0x3f592d){_0x4e7131['push'](_0x4e7131['shift']());}};_0x23cb42(++_0x37e356);}(_0x37e3,0x1ad));const _0x23cb=function(_0x4e7131,_0x37e356){_0x4e7131=_0x4e7131-0x0;let _0x23cb42=_0x37e3[_0x4e7131];return _0x23cb42;};import{View as _0x5620cd,IconView as _0x1a8ad2}from'ckeditor5/src/ui';import _0x58a3b9 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x5620cd{constructor(_0x11384c,_0x4a7b03,_0x424741){super(_0x11384c),this[_0x23cb('0xe')]=_0x4a7b03[_0x23cb('0xe')],this[_0x23cb('0x9')]=null;const _0x1969f6=['ck',_0x23cb('0x7')];if(_0x4a7b03[_0x23cb('0x6')]&&_0x1969f6[_0x23cb('0xc')]('ck-user__anonymous'),_0x4a7b03['avatar']&&_0x1969f6[_0x23cb('0xc')](_0x23cb('0xb')),_0x424741){const _0x3799d1=new _0x1a8ad2();_0x3799d1['extendTemplate']({'attributes':{'class':[_0x23cb('0x0')]}}),_0x3799d1[_0x23cb('0x1')]=_0x58a3b9,this[_0x23cb('0x9')]={'tag':_0x23cb('0x3'),'attributes':{'class':['ck',_0x23cb('0xd')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x424741},'children':[_0x3799d1]};}const _0x2237f4=[{'tag':_0x23cb('0x3'),'attributes':{'class':_0x1969f6,'style':{'background-image':_0x4a7b03[_0x23cb('0xf')]?_0x23cb('0x5')+_0x4a7b03['avatar']+'\x27)':''}}},{'tag':_0x23cb('0x3'),'attributes':{'class':_0x4a7b03[_0x23cb('0xf')]?_0x23cb('0xa'):_0x23cb('0x8')},'children':[{'text':_0x4a7b03[_0x23cb('0x4')]}]}];this['notificationView']&&_0x2237f4[_0x23cb('0xc')](this[_0x23cb('0x9')]),this['setTemplate']({'tag':_0x23cb('0x3'),'attributes':{'class':['ck',_0x23cb('0x2')],'data-user-id':_0x4a7b03['id']},'children':_0x2237f4});}}
23
+ const _0x1d45=['ck\x20ck-user__name\x20ck-user__name--hidden','initials','url(\x27','avatar','ck-user__avatar','ck-user','div','ck-user__anonymous','ck-user__icon','push','name','setTemplate','isAnonymous','content','notificationView','ck\x20ck-user__name','extendTemplate','ck-user__notification'];(function(_0x5936e3,_0x1d4586){const _0x491acf=function(_0x6ada2){while(--_0x6ada2){_0x5936e3['push'](_0x5936e3['shift']());}};_0x491acf(++_0x1d4586);}(_0x1d45,0x1db));const _0x491a=function(_0x5936e3,_0x1d4586){_0x5936e3=_0x5936e3-0x0;let _0x491acf=_0x1d45[_0x5936e3];return _0x491acf;};import{View as _0xb54109,IconView as _0xdbb6c1}from'ckeditor5/src/ui';import _0x243c60 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0xb54109{constructor(_0x2f2dde,_0x4aaf8a,_0x212aef){super(_0x2f2dde),this[_0x491a('0x3')]=_0x4aaf8a[_0x491a('0x3')],this[_0x491a('0x7')]=null;const _0x5bcb3c=['ck','ck-user__img'];if(_0x4aaf8a[_0x491a('0x5')]&&_0x5bcb3c['push'](_0x491a('0x0')),_0x4aaf8a['avatar']&&_0x5bcb3c[_0x491a('0x2')](_0x491a('0xf')),_0x212aef){const _0x11ab78=new _0xdbb6c1();_0x11ab78[_0x491a('0x9')]({'attributes':{'class':[_0x491a('0x1')]}}),_0x11ab78[_0x491a('0x6')]=_0x243c60,this['notificationView']={'tag':_0x491a('0x11'),'attributes':{'class':['ck',_0x491a('0xa')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x212aef},'children':[_0x11ab78]};}const _0x591ae0=[{'tag':_0x491a('0x11'),'attributes':{'class':_0x5bcb3c,'style':{'background-image':_0x4aaf8a['avatar']?_0x491a('0xd')+_0x4aaf8a[_0x491a('0xe')]+'\x27)':''}}},{'tag':_0x491a('0x11'),'attributes':{'class':_0x4aaf8a[_0x491a('0xe')]?_0x491a('0xb'):_0x491a('0x8')},'children':[{'text':_0x4aaf8a[_0x491a('0xc')]}]}];this['notificationView']&&_0x591ae0[_0x491a('0x2')](this['notificationView']),this[_0x491a('0x4')]({'tag':_0x491a('0x11'),'attributes':{'class':['ck',_0x491a('0x10')],'data-user-id':_0x4aaf8a['id']},'children':_0x591ae0});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x742a=['define','toUpperCase','has','length','color','licenseKeyValid','decorate','getMarkerClass','ck-user__selection--','config','_addAnonymousUser','licenseKeyInvalid','context','users-add-invalid-id','ck-user__marker--','name','_lastColor','_getNextColor','locale','string','Anonymous','get','useAnonymousUser','addUser','Users','licenseKeyTrialLimit:operations','split','users','licenseKeyTrial','users.anonymousUserId','ck-user__bg-color--','licenseKeyTrialLimit:revisions','add','trial-license-key-reached-limit-revisions','users-me-already-defined','getBackgroundColorClass','initials','_id','init','avatar','includes','users-add-duplicated-id','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.','charAt','_licenseKeyCheckInterval','getOperationAuthor','anonymous-user','users.colorsCount','_myId','destroy','getUser','_locale','defineMe','requires','licenseKeyTrialLimit:time','getSelectionClass','licenseKey','_getInitial'];(function(_0x560139,_0x742a8b){const _0x354fcb=function(_0x2f0ca9){while(--_0x2f0ca9){_0x560139['push'](_0x560139['shift']());}};_0x354fcb(++_0x742a8b);}(_0x742a,0x1cd));const _0x354f=function(_0x560139,_0x742a8b){_0x560139=_0x560139-0x0;let _0x354fcb=_0x742a[_0x560139];return _0x354fcb;};import{ContextPlugin as _0x4eaf86}from'ckeditor5/src/core';import{Collection as _0x16a4f6,CKEditorError as _0x1e6d56}from'ckeditor5/src/utils';import _0x2660b7 from'./permissions';import{getTranslation as _0x3c90b9}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x4eaf86{static get['pluginName'](){return _0x354f('0x23');}static get[_0x354f('0x6')](){return[_0x2660b7];}constructor(_0x3a1398){super(_0x3a1398),this[_0x354f('0x17')][_0x354f('0x14')]['define'](_0x354f('0x28'),_0x354f('0x3a')),this[_0x354f('0x17')][_0x354f('0x14')][_0x354f('0xb')](_0x354f('0x0'),0x8),this['users']=new _0x16a4f6(),this['_locale']=_0x3a1398[_0x354f('0x1d')],this[_0x354f('0x38')]=null,this[_0x354f('0x1b')]=0x0,this['_myId']=null,this[_0x354f('0x11')](_0x354f('0x39'));}[_0x354f('0x31')](){const _0x3da292=this[_0x354f('0x17')];this[_0x354f('0x9')]=_0x3da292[_0x354f('0x14')][_0x354f('0x20')](_0x354f('0x9'));const _0x44ac61=[_0x354f('0x27'),_0x354f('0x16'),_0x354f('0x10'),_0x354f('0x24'),_0x354f('0x7'),_0x354f('0x2a')];this[_0x354f('0x38')]=setInterval(()=>{let _0x205e87;for(const _0x555722 in _0x3da292){const _0x19dfbc=_0x3da292[_0x555722];if(_0x44ac61[_0x354f('0x33')](_0x19dfbc)){delete _0x3da292[_0x555722],_0x205e87=_0x19dfbc;break;}}if(_0x354f('0x16')===_0x205e87)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x1e6d56('invalid-license-key',null);if(_0x354f('0x27')===_0x205e87&&console['info'](_0x354f('0x36')),_0x354f('0x24')===_0x205e87)throw clearInterval(this[_0x354f('0x38')]),new _0x1e6d56('trial-license-key-reached-limit-changes',null);if(_0x354f('0x7')===_0x205e87)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x1e6d56(_0x354f('0x35'),null);if('licenseKeyTrialLimit:revisions'===_0x205e87)throw clearInterval(this[_0x354f('0x38')]),new _0x1e6d56(_0x354f('0x2c'),null);_0x354f('0x10')===_0x205e87&&clearInterval(this[_0x354f('0x38')]);},0x3e8),this[_0x354f('0x15')]();}get['me'](){return null==this['_myId']?null:this[_0x354f('0x3')](this[_0x354f('0x1')]);}[_0x354f('0x22')]({id:_0x1f9420,name:_0x13aab2,..._0x5f295e}){if(!_0x1f9420||_0x354f('0x1e')!=typeof _0x1f9420)throw new _0x1e6d56(_0x354f('0x18'));if(this[_0x354f('0x26')][_0x354f('0xd')](_0x1f9420))throw new _0x1e6d56(_0x354f('0x34'),null,{'id':_0x1f9420});const _0x3a8865={..._0x5f295e,'id':_0x1f9420,'name':a(this[_0x354f('0x4')],_0x13aab2),'color':this[_0x354f('0x1c')]()};_0x3a8865['name']=a(this['_locale'],_0x3a8865[_0x354f('0x1a')]);const _0x211276=new User(_0x3a8865);return this[_0x354f('0x26')][_0x354f('0x2b')](_0x211276),_0x211276;}[_0x354f('0x3')](_0x71c486){return this['users']['get'](_0x71c486);}[_0x354f('0x21')](){const _0x52de27=this[_0x354f('0x17')][_0x354f('0x14')][_0x354f('0x20')](_0x354f('0x28'));this[_0x354f('0x1')]||this[_0x354f('0x5')](_0x52de27);}[_0x354f('0x5')](_0x233255){if(this[_0x354f('0x1')])throw new _0x1e6d56(_0x354f('0x2d'),null);if(!this[_0x354f('0x3')](_0x233255))throw new _0x1e6d56('users-me-missing-user',null);this['_myId']=_0x233255;}[_0x354f('0x39')](){return this['me'];}[_0x354f('0x2')](){super[_0x354f('0x2')](),clearInterval(this['_licenseKeyCheckInterval']);}['_getNextColor'](){const _0x299e2d=this[_0x354f('0x17')]['config'][_0x354f('0x20')](_0x354f('0x0'));return this[_0x354f('0x1b')]>=_0x299e2d&&(this['_lastColor']=0x0),new u(this[_0x354f('0x1b')]++);}[_0x354f('0x15')](){const _0x5e792f=this[_0x354f('0x17')][_0x354f('0x14')][_0x354f('0x20')](_0x354f('0x28'));this[_0x354f('0x22')]({'id':_0x5e792f,'name':_0x3c90b9(this[_0x354f('0x4')],_0x354f('0x1f'))})['_isAnonymous']=!0x0;}}export class User{constructor(_0x1dd6a3){this['id']=_0x1dd6a3['id'],this[_0x354f('0xf')]=_0x1dd6a3[_0x354f('0xf')],this['name']=_0x1dd6a3[_0x354f('0x1a')],this[_0x354f('0x32')]=_0x1dd6a3['avatar'],this['_isAnonymous']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get[_0x354f('0x2f')](){const _0xd3f3e0=this[_0x354f('0x1a')][_0x354f('0x25')]('\x20');return 0x1===_0xd3f3e0[_0x354f('0xe')]?this[_0x354f('0xa')](_0xd3f3e0[0x0]):this[_0x354f('0xa')](_0xd3f3e0[0x0])+this['_getInitial'](_0xd3f3e0[_0xd3f3e0[_0x354f('0xe')]-0x1]);}[_0x354f('0xa')](_0xd554d5){return _0xd554d5[_0x354f('0x37')](0x0)[_0x354f('0xc')]();}}function a(_0x1727ce,_0x5c6a14=''){return''==(_0x5c6a14=_0x5c6a14['trim']())?_0x3c90b9(_0x1727ce,_0x354f('0x1f')):_0x5c6a14;}class u{constructor(_0x563fa5){this[_0x354f('0x30')]=_0x563fa5;}[_0x354f('0x2e')](){return _0x354f('0x29')+this[_0x354f('0x30')];}[_0x354f('0x8')](){return _0x354f('0x13')+this[_0x354f('0x30')];}[_0x354f('0x12')](){return _0x354f('0x19')+this[_0x354f('0x30')];}}
23
+ const _0x53eb=['define','licenseKeyTrialLimit:operations','_addAnonymousUser','_getInitial','useAnonymousUser','length','_id','users-add-invalid-id','name','color','split','users.colorsCount','_isAnonymous','config','getSelectionClass','initials','_lastColor','has','anonymous-user','includes','licenseKey','locale','ck-user__selection--','requires','ck-user__bg-color--','getMarkerClass','licenseKeyTrial','pluginName','licenseKeyTrialLimit:revisions','_getNextColor','isAnonymous','avatar','string','users-me-missing-user','_licenseKeyCheckInterval','users-me-already-defined','users.anonymousUserId','destroy','add','users-add-duplicated-id','licenseKeyValid','trial-license-key-reached-limit-changes','Users','defineMe','context','toUpperCase','getOperationAuthor','info','trial-license-key-reached-limit-revisions','getUser','Anonymous','addUser','_myId','users','_locale','licenseKeyInvalid','get','charAt'];(function(_0x59291e,_0x53ebaf){const _0x136ab5=function(_0xc5fa83){while(--_0xc5fa83){_0x59291e['push'](_0x59291e['shift']());}};_0x136ab5(++_0x53ebaf);}(_0x53eb,0x1da));const _0x136a=function(_0x59291e,_0x53ebaf){_0x59291e=_0x59291e-0x0;let _0x136ab5=_0x53eb[_0x59291e];return _0x136ab5;};import{ContextPlugin as _0x587e19}from'ckeditor5/src/core';import{Collection as _0x244bc8,CKEditorError as _0x156543}from'ckeditor5/src/utils';import _0x4d0805 from'./permissions';import{getTranslation as _0x512db7}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x587e19{static get[_0x136a('0x11')](){return _0x136a('0x20');}static get[_0x136a('0xd')](){return[_0x4d0805];}constructor(_0x9042e7){super(_0x9042e7),this[_0x136a('0x22')][_0x136a('0x3')]['define']('users.anonymousUserId',_0x136a('0x8')),this[_0x136a('0x22')]['config'][_0x136a('0x30')](_0x136a('0x1'),0x8),this[_0x136a('0x2b')]=new _0x244bc8(),this[_0x136a('0x2c')]=_0x9042e7[_0x136a('0xb')],this[_0x136a('0x18')]=null,this[_0x136a('0x6')]=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}['init'](){const _0x2a73db=this[_0x136a('0x22')];this[_0x136a('0xa')]=_0x2a73db[_0x136a('0x3')][_0x136a('0x2e')](_0x136a('0xa'));const _0xaea081=[_0x136a('0x10'),'licenseKeyInvalid',_0x136a('0x1e'),_0x136a('0x31'),'licenseKeyTrialLimit:time',_0x136a('0x12')];this[_0x136a('0x18')]=setInterval(()=>{let _0x286d57;for(const _0x39346d in _0x2a73db){const _0x2252bb=_0x2a73db[_0x39346d];if(_0xaea081[_0x136a('0x9')](_0x2252bb)){delete _0x2a73db[_0x39346d],_0x286d57=_0x2252bb;break;}}if(_0x136a('0x2d')===_0x286d57)throw clearInterval(this[_0x136a('0x18')]),new _0x156543('invalid-license-key',null);if(_0x136a('0x10')===_0x286d57&&console[_0x136a('0x25')]('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.'),_0x136a('0x31')===_0x286d57)throw clearInterval(this[_0x136a('0x18')]),new _0x156543(_0x136a('0x1f'),null);if('licenseKeyTrialLimit:time'===_0x286d57)throw clearInterval(this[_0x136a('0x18')]),new _0x156543('trial-license-key-reached-limit-time',null);if(_0x136a('0x12')===_0x286d57)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x156543(_0x136a('0x26'),null);_0x136a('0x1e')===_0x286d57&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this[_0x136a('0x32')]();}get['me'](){return null==this[_0x136a('0x2a')]?null:this[_0x136a('0x27')](this[_0x136a('0x2a')]);}[_0x136a('0x29')]({id:_0xf2d963,name:_0xd71e90,..._0x565886}){if(!_0xf2d963||_0x136a('0x16')!=typeof _0xf2d963)throw new _0x156543(_0x136a('0x37'));if(this[_0x136a('0x2b')][_0x136a('0x7')](_0xf2d963))throw new _0x156543(_0x136a('0x1d'),null,{'id':_0xf2d963});const _0x13fc22={..._0x565886,'id':_0xf2d963,'name':a(this['_locale'],_0xd71e90),'color':this[_0x136a('0x13')]()};_0x13fc22[_0x136a('0x38')]=a(this[_0x136a('0x2c')],_0x13fc22[_0x136a('0x38')]);const _0x42ab7c=new User(_0x13fc22);return this[_0x136a('0x2b')][_0x136a('0x1c')](_0x42ab7c),_0x42ab7c;}[_0x136a('0x27')](_0x1f0f31){return this['users'][_0x136a('0x2e')](_0x1f0f31);}[_0x136a('0x34')](){const _0x1a0cf0=this[_0x136a('0x22')]['config'][_0x136a('0x2e')](_0x136a('0x1a'));this['_myId']||this[_0x136a('0x21')](_0x1a0cf0);}['defineMe'](_0x207c6e){if(this[_0x136a('0x2a')])throw new _0x156543(_0x136a('0x19'),null);if(!this[_0x136a('0x27')](_0x207c6e))throw new _0x156543(_0x136a('0x17'),null);this[_0x136a('0x2a')]=_0x207c6e;}[_0x136a('0x24')](){return this['me'];}[_0x136a('0x1b')](){super[_0x136a('0x1b')](),clearInterval(this[_0x136a('0x18')]);}['_getNextColor'](){const _0x34764f=this[_0x136a('0x22')]['config'][_0x136a('0x2e')](_0x136a('0x1'));return this[_0x136a('0x6')]>=_0x34764f&&(this['_lastColor']=0x0),new u(this[_0x136a('0x6')]++);}[_0x136a('0x32')](){const _0x33f565=this['context'][_0x136a('0x3')][_0x136a('0x2e')](_0x136a('0x1a'));this[_0x136a('0x29')]({'id':_0x33f565,'name':_0x512db7(this[_0x136a('0x2c')],_0x136a('0x28'))})[_0x136a('0x2')]=!0x0;}}export class User{constructor(_0x1d2ca1){this['id']=_0x1d2ca1['id'],this[_0x136a('0x39')]=_0x1d2ca1[_0x136a('0x39')],this[_0x136a('0x38')]=_0x1d2ca1['name'],this[_0x136a('0x15')]=_0x1d2ca1[_0x136a('0x15')],this[_0x136a('0x2')]=!0x1;}get[_0x136a('0x14')](){return this['_isAnonymous'];}get[_0x136a('0x5')](){const _0x35de8a=this[_0x136a('0x38')][_0x136a('0x0')]('\x20');return 0x1===_0x35de8a[_0x136a('0x35')]?this['_getInitial'](_0x35de8a[0x0]):this[_0x136a('0x33')](_0x35de8a[0x0])+this[_0x136a('0x33')](_0x35de8a[_0x35de8a[_0x136a('0x35')]-0x1]);}[_0x136a('0x33')](_0x933507){return _0x933507[_0x136a('0x2f')](0x0)[_0x136a('0x23')]();}}function a(_0xc71cec,_0x328258=''){return''==(_0x328258=_0x328258['trim']())?_0x512db7(_0xc71cec,'Anonymous'):_0x328258;}class u{constructor(_0x4aabb4){this[_0x136a('0x36')]=_0x4aabb4;}['getBackgroundColorClass'](){return _0x136a('0xe')+this[_0x136a('0x36')];}[_0x136a('0x4')](){return _0x136a('0xc')+this[_0x136a('0x36')];}[_0x136a('0xf')](){return'ck-user__marker--'+this[_0x136a('0x36')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x59c5e8,_0x35f8c4){const t=_0x59c5e8['t'];switch(_0x35f8c4){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(_0x1c57d2,_0x28c1f9){const t=_0x1c57d2['t'];switch(_0x28c1f9){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 _0x4ff6=['element','remove','render','registerChild','cancel','appendChild','showConfirm','once','isConfirm','deregisterChild','fire','confirmView','cancelConfirm','_removeConfirm','submit'];(function(_0x550754,_0x4ff651){var _0x515239=function(_0x56803f){while(--_0x56803f){_0x550754['push'](_0x550754['shift']());}};_0x515239(++_0x4ff651);}(_0x4ff6,0x1c9));var _0x5152=function(_0x550754,_0x4ff651){_0x550754=_0x550754-0x0;var _0x515239=_0x4ff6[_0x550754];return _0x515239;};import _0x33d2cf from'./confirmview';export default function m(_0x3ad4f3){return class extends _0x3ad4f3{[_0x5152('0xe')](_0x52f0a1,_0x3a8a2f){return this['confirmView']=new _0x33d2cf(this['locale']),this[_0x5152('0x4')][_0x5152('0xa')](),this[_0x5152('0x4')]['message']=_0x52f0a1,this[_0x5152('0x4')][_0x5152('0x0')]('cancel',()=>{this[_0x5152('0x6')]();}),this[_0x5152('0x4')][_0x5152('0x0')](_0x5152('0x7'),()=>{this[_0x5152('0x6')]();}),_0x3a8a2f[_0x5152('0xd')](this['confirmView']['element']),this[_0x5152('0xb')](this[_0x5152('0x4')]),this[_0x5152('0x8')]['focus'](),this['set'](_0x5152('0x1'),!0x0),new Promise(_0x23b66a=>this[_0x5152('0x4')]['on'](_0x5152('0x7'),_0x23b66a));}[_0x5152('0x5')](){this[_0x5152('0x1')]&&this['confirmView'][_0x5152('0x3')](_0x5152('0xc'));}[_0x5152('0x6')](){this[_0x5152('0x8')]&&this[_0x5152('0x4')]&&this['confirmView'][_0x5152('0x8')]&&(this[_0x5152('0x8')]['focus'](),this[_0x5152('0x4')]['element'][_0x5152('0x9')](),this[_0x5152('0x2')](this[_0x5152('0x4')]),this[_0x5152('0x1')]=!0x1,this[_0x5152('0x4')]['destroy'](),this[_0x5152('0x4')]=void 0x0);}};}
23
+ var _0x37c3=['cancel','focus','isConfirm','remove','fire','showConfirm','confirmView','once','cancelConfirm','element','destroy','appendChild','locale','_removeConfirm','submit','render'];(function(_0x4bede8,_0x37c316){var _0xfe97fd=function(_0x3c60e6){while(--_0x3c60e6){_0x4bede8['push'](_0x4bede8['shift']());}};_0xfe97fd(++_0x37c316);}(_0x37c3,0x1a3));var _0xfe97=function(_0x4bede8,_0x37c316){_0x4bede8=_0x4bede8-0x0;var _0xfe97fd=_0x37c3[_0x4bede8];return _0xfe97fd;};import _0x180c53 from'./confirmview';export default function m(_0x5ab9d1){return class extends _0x5ab9d1{[_0xfe97('0x2')](_0x59d012,_0x523bb6){return this[_0xfe97('0x3')]=new _0x180c53(this[_0xfe97('0x9')]),this[_0xfe97('0x3')][_0xfe97('0xc')](),this[_0xfe97('0x3')]['message']=_0x59d012,this[_0xfe97('0x3')][_0xfe97('0x4')]('cancel',()=>{this[_0xfe97('0xa')]();}),this[_0xfe97('0x3')][_0xfe97('0x4')](_0xfe97('0xb'),()=>{this[_0xfe97('0xa')]();}),_0x523bb6[_0xfe97('0x8')](this[_0xfe97('0x3')]['element']),this['registerChild'](this[_0xfe97('0x3')]),this[_0xfe97('0x6')][_0xfe97('0xe')](),this['set'](_0xfe97('0xf'),!0x0),new Promise(_0x13e61c=>this[_0xfe97('0x3')]['on']('submit',_0x13e61c));}[_0xfe97('0x5')](){this['isConfirm']&&this['confirmView'][_0xfe97('0x1')](_0xfe97('0xd'));}[_0xfe97('0xa')](){this[_0xfe97('0x6')]&&this['confirmView']&&this[_0xfe97('0x3')]['element']&&(this[_0xfe97('0x6')]['focus'](),this[_0xfe97('0x3')]['element'][_0xfe97('0x0')](),this['deregisterChild'](this[_0xfe97('0x3')]),this[_0xfe97('0xf')]=!0x1,this[_0xfe97('0x3')][_0xfe97('0x7')](),this[_0xfe97('0x3')]=void 0x0);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2b67=['cancel','bindTemplate','check','_createButtonView','div','execute','cancelView','ck-thread__remove-confirm-','submit','submitView','setTemplate','ck-thread__remove-confirm-inner','icon','label','set','extendTemplate'];(function(_0x311c65,_0x2b670f){const _0x3bd679=function(_0x531b6b){while(--_0x531b6b){_0x311c65['push'](_0x311c65['shift']());}};_0x3bd679(++_0x2b670f);}(_0x2b67,0x132));const _0x3bd6=function(_0x311c65,_0x2b670f){_0x311c65=_0x311c65-0x0;let _0x3bd679=_0x2b67[_0x311c65];return _0x3bd679;};import{View as _0x417e06,ButtonView as _0x9176da}from'ckeditor5/src/ui';import{icons as _0x41fe81}from'ckeditor5/src/core';import{getTranslation as _0x335abd}from'./common-translations';export default class h extends _0x417e06{constructor(_0x18f360){super(_0x18f360);const _0x209d45=this[_0x3bd6('0xf')];this[_0x3bd6('0x7')]=this[_0x3bd6('0x1')](_0x18f360,_0x335abd(_0x18f360,'Yes'),_0x41fe81[_0x3bd6('0x0')],_0x3bd6('0x6')),this['cancelView']=this['_createButtonView'](_0x18f360,_0x335abd(_0x18f360,'No'),_0x41fe81[_0x3bd6('0xe')],_0x3bd6('0xe')),this[_0x3bd6('0xc')]('message',_0x335abd(_0x18f360,'Are\x20you\x20sure?')),this[_0x3bd6('0x8')]({'tag':_0x3bd6('0x2'),'attributes':{'class':['ck-thread__remove-confirm']},'children':[{'tag':_0x3bd6('0x2'),'attributes':{'class':_0x3bd6('0x9')},'children':[{'tag':'p','children':[{'text':_0x209d45['to']('message')}]},{'tag':_0x3bd6('0x2'),'attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this[_0x3bd6('0x7')],this[_0x3bd6('0x4')]]}]}]});}[_0x3bd6('0x1')](_0x39bf17,_0x447b9f,_0x8fc905,_0x1c5b43){const _0x282e5c=new _0x9176da(_0x39bf17);return _0x282e5c[_0x3bd6('0xb')]=_0x447b9f,_0x282e5c[_0x3bd6('0xa')]=_0x8fc905,_0x282e5c[_0x3bd6('0xd')]({'attributes':{'class':_0x3bd6('0x5')+_0x1c5b43}}),_0x282e5c['on'](_0x3bd6('0x3'),()=>this['fire'](_0x1c5b43)),_0x282e5c;}}
23
+ const _0x28de=['check','cancel','bindTemplate','ck-thread__remove-confirm','cancelView','div','message','Are\x20you\x20sure?','ck-thread__remove-confirm-','ck-thread__remove-confirm-actions','set','submitView','Yes','icon','submit','_createButtonView','ck-thread__remove-confirm-inner'];(function(_0x58f75c,_0x28dea7){const _0xb06801=function(_0x39d604){while(--_0x39d604){_0x58f75c['push'](_0x58f75c['shift']());}};_0xb06801(++_0x28dea7);}(_0x28de,0x7b));const _0xb068=function(_0x58f75c,_0x28dea7){_0x58f75c=_0x58f75c-0x0;let _0xb06801=_0x28de[_0x58f75c];return _0xb06801;};import{View as _0x2fcbc4,ButtonView as _0xefa5e9}from'ckeditor5/src/ui';import{icons as _0x2f2724}from'ckeditor5/src/core';import{getTranslation as _0x278264}from'./common-translations';export default class h extends _0x2fcbc4{constructor(_0x5d2214){super(_0x5d2214);const _0x26c56f=this[_0xb068('0xf')];this['submitView']=this[_0xb068('0xb')](_0x5d2214,_0x278264(_0x5d2214,_0xb068('0x8')),_0x2f2724[_0xb068('0xd')],_0xb068('0xa')),this[_0xb068('0x0')]=this[_0xb068('0xb')](_0x5d2214,_0x278264(_0x5d2214,'No'),_0x2f2724[_0xb068('0xe')],_0xb068('0xe')),this[_0xb068('0x6')]('message',_0x278264(_0x5d2214,_0xb068('0x3'))),this['setTemplate']({'tag':_0xb068('0x1'),'attributes':{'class':[_0xb068('0x10')]},'children':[{'tag':'div','attributes':{'class':_0xb068('0xc')},'children':[{'tag':'p','children':[{'text':_0x26c56f['to'](_0xb068('0x2'))}]},{'tag':_0xb068('0x1'),'attributes':{'class':_0xb068('0x5')},'children':[this[_0xb068('0x7')],this[_0xb068('0x0')]]}]}]});}[_0xb068('0xb')](_0x39171d,_0x54785e,_0xf47a07,_0x276a34){const _0x44103d=new _0xefa5e9(_0x39171d);return _0x44103d['label']=_0x54785e,_0x44103d[_0xb068('0x9')]=_0xf47a07,_0x44103d['extendTemplate']({'attributes':{'class':_0xb068('0x4')+_0x276a34}}),_0x44103d['on']('execute',()=>this['fire'](_0x276a34)),_0x44103d;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5cc4=['invalid-date-time-format','\x27Yesterday\x27\x20hh:mma','MM-dd-yyyy\x20hh:mma','string','function','dateTimeFormat'];(function(_0x1af279,_0x5cc488){const _0x179266=function(_0x8b5045){while(--_0x8b5045){_0x1af279['push'](_0x1af279['shift']());}};_0x179266(++_0x5cc488);}(_0x5cc4,0xd5));const _0x1792=function(_0x1af279,_0x5cc488){_0x1af279=_0x1af279-0x0;let _0x179266=_0x5cc4[_0x1af279];return _0x179266;};import _0x15d2f9 from'date-fns/format';import _0x4b2815 from'date-fns/parseISO';import _0x402b12 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x4acd12}from'ckeditor5/src/utils';export default function E(_0x422eea={}){if(void 0x0!==_0x422eea[_0x1792('0x2')]&&_0x1792('0x1')!=typeof _0x422eea[_0x1792('0x2')])throw new _0x4acd12(_0x1792('0x3'));return _0x3f2269=>{const _0x371a27=_0x1792('0x0')==typeof _0x3f2269?_0x4b2815(_0x3f2269):_0x3f2269,_0x9b1a3f=new Date(),_0x3cefe3=_0x402b12(_0x9b1a3f,_0x371a27);return _0x422eea[_0x1792('0x2')]?_0x422eea['dateTimeFormat'](_0x371a27):_0x15d2f9(_0x371a27,0x0===_0x3cefe3?'\x27Today\x27\x20hh:mma':0x1===_0x3cefe3?_0x1792('0x4'):_0x3cefe3<0x7?'\x27Last\x27\x20EEEE\x20hh:mma':_0x1792('0x5'));};}
23
+ const _0x2b06=['invalid-date-time-format','MM-dd-yyyy\x20hh:mma','function','dateTimeFormat','string','\x27Yesterday\x27\x20hh:mma'];(function(_0x3d64b3,_0x2b06a5){const _0x498ef0=function(_0xe255ad){while(--_0xe255ad){_0x3d64b3['push'](_0x3d64b3['shift']());}};_0x498ef0(++_0x2b06a5);}(_0x2b06,0x166));const _0x498e=function(_0x3d64b3,_0x2b06a5){_0x3d64b3=_0x3d64b3-0x0;let _0x498ef0=_0x2b06[_0x3d64b3];return _0x498ef0;};import _0x285a30 from'date-fns/format';import _0x5955ea from'date-fns/parseISO';import _0x2ad554 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x2a525a}from'ckeditor5/src/utils';export default function E(_0xe54692={}){if(void 0x0!==_0xe54692[_0x498e('0x5')]&&_0x498e('0x4')!=typeof _0xe54692[_0x498e('0x5')])throw new _0x2a525a(_0x498e('0x2'));return _0x38d6af=>{const _0x47c573=_0x498e('0x0')==typeof _0x38d6af?_0x5955ea(_0x38d6af):_0x38d6af,_0x38e38f=new Date(),_0xf8f4ae=_0x2ad554(_0x38e38f,_0x47c573);return _0xe54692[_0x498e('0x5')]?_0xe54692['dateTimeFormat'](_0x47c573):_0x285a30(_0x47c573,0x0===_0xf8f4ae?'\x27Today\x27\x20hh:mma':0x1===_0xf8f4ae?_0x498e('0x1'):_0xf8f4ae<0x7?'\x27Last\x27\x20EEEE\x20hh:mma':_0x498e('0x3'));};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x513c=['push','domElement','getClientRects','view','sort','length','mapper','mapViewToDom','item','markerNameToElements','name','map','filter'];(function(_0x1b309c,_0x513c9d){const _0x2a2fe8=function(_0x4fa12b){while(--_0x4fa12b){_0x1b309c['push'](_0x1b309c['shift']());}};_0x2a2fe8(++_0x513c9d);}(_0x513c,0xd6));const _0x2a2f=function(_0x1b309c,_0x513c9d){_0x1b309c=_0x1b309c-0x0;let _0x2a2fe8=_0x513c[_0x1b309c];return _0x2a2fe8;};import{first as _0x3ddda0}from'ckeditor5/src/utils';export default function k(_0x38aa91,_0x3d422a){const _0x5be418=_0x38aa91[_0x2a2f('0x0')][_0x2a2f('0x3')](_0x3d422a[_0x2a2f('0x4')]);if(!_0x5be418)return null;const _0x3e92aa=_0x3ddda0(_0x5be418['values']());return _0x38aa91[_0x2a2f('0xa')]['domConverter'][_0x2a2f('0x1')](_0x3e92aa)||null;}export function getAllMarkersDomElementsSorted(_0x27bc4c,_0x2c0963){if(0x0===_0x2c0963['length'])return null;const _0x429c5a=[],_0x7c1401=_0x27bc4c[_0x2a2f('0xa')]['domConverter'];for(const _0x40e036 of _0x2c0963){const _0x57de79=_0x27bc4c[_0x2a2f('0x0')][_0x2a2f('0x3')](_0x40e036[_0x2a2f('0x4')]);if(!_0x57de79)continue;const _0x3205a2=Array['from'](_0x57de79)['map'](_0x477477=>_0x7c1401[_0x2a2f('0x1')](_0x477477))[_0x2a2f('0x6')](_0x50f666=>!!_0x50f666);_0x429c5a[_0x2a2f('0x7')](..._0x3205a2);}if(0x0===_0x429c5a['length'])return null;const _0x52a577=[];for(const _0x1f3039 of _0x429c5a){const _0x4fa839=_0x1f3039[_0x2a2f('0x9')]()[_0x2a2f('0x2')](0x0);_0x4fa839&&_0x52a577[_0x2a2f('0x7')]({'x':_0x4fa839['x'],'y':_0x4fa839['y'],'domElement':_0x1f3039});}return 0x0===_0x52a577[_0x2a2f('0xc')]?null:(_0x52a577[_0x2a2f('0xb')]((_0x19a282,_0x1c8590)=>_0x19a282['y']-_0x1c8590['y']||_0x19a282['x']-_0x1c8590['x']),_0x52a577[_0x2a2f('0x5')](_0x1a7d74=>_0x1a7d74[_0x2a2f('0x8')]));}
23
+ const _0xb2af=['item','length','view','mapViewToDom','values','domConverter','sort','from','mapper','filter','push','name'];(function(_0x2758aa,_0xb2af41){const _0x342cff=function(_0x986a9d){while(--_0x986a9d){_0x2758aa['push'](_0x2758aa['shift']());}};_0x342cff(++_0xb2af41);}(_0xb2af,0x109));const _0x342c=function(_0x2758aa,_0xb2af41){_0x2758aa=_0x2758aa-0x0;let _0x342cff=_0xb2af[_0x2758aa];return _0x342cff;};import{first as _0x2f8fd0}from'ckeditor5/src/utils';export default function k(_0x28e9b7,_0x186cc4){const _0x5a97c0=_0x28e9b7['mapper']['markerNameToElements'](_0x186cc4[_0x342c('0xa')]);if(!_0x5a97c0)return null;const _0x56fe57=_0x2f8fd0(_0x5a97c0[_0x342c('0x3')]());return _0x28e9b7[_0x342c('0x1')][_0x342c('0x4')]['mapViewToDom'](_0x56fe57)||null;}export function getAllMarkersDomElementsSorted(_0x460ce0,_0x3b0cb3){if(0x0===_0x3b0cb3[_0x342c('0x0')])return null;const _0x59efb1=[],_0x2e25fb=_0x460ce0['view'][_0x342c('0x4')];for(const _0x439217 of _0x3b0cb3){const _0x48d680=_0x460ce0[_0x342c('0x7')]['markerNameToElements'](_0x439217['name']);if(!_0x48d680)continue;const _0x3b6469=Array[_0x342c('0x6')](_0x48d680)['map'](_0x253c64=>_0x2e25fb[_0x342c('0x2')](_0x253c64))[_0x342c('0x8')](_0x478126=>!!_0x478126);_0x59efb1['push'](..._0x3b6469);}if(0x0===_0x59efb1[_0x342c('0x0')])return null;const _0x56f541=[];for(const _0x569e32 of _0x59efb1){const _0x20bfc6=_0x569e32['getClientRects']()[_0x342c('0xb')](0x0);_0x20bfc6&&_0x56f541[_0x342c('0x9')]({'x':_0x20bfc6['x'],'y':_0x20bfc6['y'],'domElement':_0x569e32});}return 0x0===_0x56f541['length']?null:(_0x56f541[_0x342c('0x5')]((_0x28d31f,_0x2e1fe7)=>_0x28d31f['y']-_0x2e1fe7['y']||_0x28d31f['x']-_0x2e1fe7['x']),_0x56f541['map'](_0xb7b438=>_0xb7b438['domElement']));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5bff=['boolean','toString','sign','string','keys','number','sort','charCodeAt','isArray'];(function(_0x548af5,_0x5bff3d){const _0xca20d=function(_0x354cf9){while(--_0x354cf9){_0x548af5['push'](_0x548af5['shift']());}};_0xca20d(++_0x5bff3d);}(_0x5bff,0x1c7));const _0xca20=function(_0x548af5,_0x5bff3d){_0x548af5=_0x548af5-0x0;let _0xca20d=_0x5bff[_0x548af5];return _0xca20d;};export default function b(_0x20507d){let _0x1c50a9=0x0,_0x79c038=0x0;for(const _0xc11a3c of g(_0x20507d))_0x1c50a9=(_0x1c50a9<<0x5)-_0x1c50a9+_0xc11a3c,_0x1c50a9&=_0x1c50a9,[_0x1c50a9,_0x79c038]=[_0x79c038,_0x1c50a9];return O(_0x1c50a9)+O(_0x79c038);}function*j(_0x269b1b){_0x269b1b?_0xca20('0x4')==typeof _0x269b1b?yield 0x1:Array[_0xca20('0x3')](_0x269b1b)?yield*function*(_0x46ded8){for(const _0x4d8f81 of _0x46ded8)yield*j(_0x4d8f81);}(_0x269b1b):'object'==typeof _0x269b1b?yield*g(_0x269b1b):_0xca20('0x7')==typeof _0x269b1b?yield*A(_0x269b1b):_0xca20('0x0')==typeof _0x269b1b&&(yield _0x269b1b):yield 0x0;}function*g(_0x743cfb){if(yield M('{'),_0x743cfb){const _0x8a5963=Object[_0xca20('0x8')](_0x743cfb)[_0xca20('0x1')]();for(const _0x4618e9 of _0x8a5963){yield*A(_0x4618e9),yield M(':');const _0x115355=_0x743cfb[_0x4618e9];yield*j(_0x115355);}}yield M('}');}function*A(_0x390263){yield M('\x22');for(const _0xe8fb37 of _0x390263)yield M(_0xe8fb37);yield M('\x22');}function M(_0x28be17){return _0x28be17[_0xca20('0x2')](0x0);}function O(_0x1db6e9){return(_0x1db6e9*=Math[_0xca20('0x6')](_0x1db6e9))[_0xca20('0x5')](0x24);}
23
+ const _0x3d2f=['keys','number','sort','toString','isArray','boolean','sign','string'];(function(_0x406470,_0x3d2fde){const _0x1a696b=function(_0x158c43){while(--_0x158c43){_0x406470['push'](_0x406470['shift']());}};_0x1a696b(++_0x3d2fde);}(_0x3d2f,0x74));const _0x1a69=function(_0x406470,_0x3d2fde){_0x406470=_0x406470-0x0;let _0x1a696b=_0x3d2f[_0x406470];return _0x1a696b;};export default function b(_0x30a025){let _0x50778c=0x0,_0x4104b0=0x0;for(const _0x26814e of g(_0x30a025))_0x50778c=(_0x50778c<<0x5)-_0x50778c+_0x26814e,_0x50778c&=_0x50778c,[_0x50778c,_0x4104b0]=[_0x4104b0,_0x50778c];return O(_0x50778c)+O(_0x4104b0);}function*j(_0xd7a55e){_0xd7a55e?_0x1a69('0x1')==typeof _0xd7a55e?yield 0x1:Array[_0x1a69('0x0')](_0xd7a55e)?yield*function*(_0x982c38){for(const _0x288231 of _0x982c38)yield*j(_0x288231);}(_0xd7a55e):'object'==typeof _0xd7a55e?yield*g(_0xd7a55e):_0x1a69('0x3')==typeof _0xd7a55e?yield*A(_0xd7a55e):_0x1a69('0x5')==typeof _0xd7a55e&&(yield _0xd7a55e):yield 0x0;}function*g(_0x521f75){if(yield M('{'),_0x521f75){const _0x195483=Object[_0x1a69('0x4')](_0x521f75)[_0x1a69('0x6')]();for(const _0x3cf859 of _0x195483){yield*A(_0x3cf859),yield M(':');const _0x70be40=_0x521f75[_0x3cf859];yield*j(_0x70be40);}}yield M('}');}function*A(_0x59c716){yield M('\x22');for(const _0x29ceda of _0x59c716)yield M(_0x29ceda);yield M('\x22');}function M(_0x4be053){return _0x4be053['charCodeAt'](0x0);}function O(_0x731c70){return(_0x731c70*=Math[_0x1a69('0x2')](_0x731c70))[_0x1a69('0x7')](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32bd=['WordCount','WebSocketGateway','rootsAttributes','name','DocumentOutline','plugins','builtinPlugins','Autosave','map','set','names','_context','get','extraPlugins','requires','config','removePlugins','find','string','initialData','pluginName','length','concat','every','has','WProofreader','from','context','includes','filter','constructor'];(function(_0x590d02,_0x32bd05){const _0x3eb2b9=function(_0x4df510){while(--_0x4df510){_0x590d02['push'](_0x590d02['shift']());}};_0x3eb2b9(++_0x32bd05);}(_0x32bd,0x1da));const _0x3eb2=function(_0x590d02,_0x32bd05){_0x590d02=_0x590d02-0x0;let _0x3eb2b9=_0x32bd[_0x590d02];return _0x3eb2b9;};const w=[_0x3eb2('0xa'),_0x3eb2('0x12'),'toolbar',_0x3eb2('0x18')],W=[_0x3eb2('0x17'),'RevisionTracker',_0x3eb2('0x1d'),_0x3eb2('0x16'),_0x3eb2('0x1a'),_0x3eb2('0x10')];function v(_0x2a7d68,_0x3d8e07,_0x16438f,_0x101c10=[]){const _0xf27dd6=_0x3eb2('0x9')==typeof _0x2a7d68?_0x16438f[_0x3eb2('0x3')](_0x2a7d68)[_0x3eb2('0x15')]:_0x2a7d68,_0x3764f0=_0xf27dd6['pluginName']||_0xf27dd6[_0x3eb2('0x19')];if(_0x3d8e07[_0x3eb2('0xf')](_0x3764f0))return _0x3d8e07[_0x3eb2('0x3')](_0x3764f0);if(_0x3d8e07[_0x3eb2('0x0')](_0x3764f0,!0x0),_0x3764f0&&W[_0x3eb2('0xd')](_0x101c10)[_0x3eb2('0x13')](_0x3764f0))return _0x3d8e07['set'](_0x3764f0,!0x1),!0x1;if(!_0xf27dd6[_0x3eb2('0x5')])return _0x3d8e07[_0x3eb2('0x0')](_0x3764f0,!0x0),!0x0;const _0x5c823c=_0xf27dd6['requires'][_0x3eb2('0xe')](_0x372a73=>v(_0x372a73,_0x3d8e07,_0x16438f,_0x101c10));return _0x3d8e07['set'](_0x3764f0,_0x5c823c),_0x5c823c;}export default function D(_0x3f31c3,_0x52c296){const _0x2f8526={};for(const _0x16f275 of _0x3f31c3['config'][_0x3eb2('0x1')]())w[_0x3eb2('0x13')](_0x16f275)||(_0x2f8526[_0x16f275]=_0x3f31c3[_0x3eb2('0x6')][_0x3eb2('0x3')](_0x16f275));const _0x4ebe6c=_0x2f8526[_0x3eb2('0x1b')]||[],_0x4a51a0=_0x3f31c3[_0x3eb2('0x15')][_0x3eb2('0x1c')]||[],_0x5ab1b3=_0x4ebe6c[_0x3eb2('0xc')]?_0x4ebe6c:_0x4a51a0,_0x53cec8=_0x2f8526[_0x3eb2('0x4')]||[];delete _0x2f8526['extraPlugins'];const _0x1a1c03=_0x2f8526['removePlugins']||[];delete _0x2f8526[_0x3eb2('0x7')];const _0x4eb200=_0x3f31c3[_0x3eb2('0x2')][_0x3eb2('0x6')][_0x3eb2('0x3')]('plugins')||[],_0x12cb9e=_0x5ab1b3['concat'](_0x53cec8)[_0x3eb2('0xd')](_0x4eb200)[_0x3eb2('0x1e')](_0x4f1034=>_0x3eb2('0x9')==typeof _0x4f1034?_0x4a51a0[_0x3eb2('0x8')](_0xccca95=>_0xccca95[_0x3eb2('0xb')]==_0x4f1034):_0x4f1034)['filter'](_0x9d6ed6=>!_0x1a1c03[_0x3eb2('0x13')](_0x9d6ed6)),_0x5268c5=Array[_0x3eb2('0x11')](new Set(_0x12cb9e)),_0x18c25a=new Map();return _0x2f8526[_0x3eb2('0x1b')]=_0x5268c5[_0x3eb2('0x14')](_0x146fe4=>v(_0x146fe4,_0x18c25a,_0x3f31c3[_0x3eb2('0x1b')],_0x52c296)),_0x2f8526;}
23
+ const _0x493a=['constructor','DocumentOutline','string','extraPlugins','RevisionTracker','concat','Autosave','filter','get','builtinPlugins','WordCount','pluginName','WebSocketGateway','plugins','rootsAttributes','requires','has','WProofreader','includes','find','_context','name','set','map','config','toolbar','length','every'];(function(_0x241887,_0x493ae8){const _0x3e786b=function(_0x45c043){while(--_0x45c043){_0x241887['push'](_0x241887['shift']());}};_0x3e786b(++_0x493ae8);}(_0x493a,0xfb));const _0x3e78=function(_0x241887,_0x493ae8){_0x241887=_0x241887-0x0;let _0x3e786b=_0x493a[_0x241887];return _0x3e786b;};const w=['initialData','context',_0x3e78('0x1a'),_0x3e78('0xf')],W=[_0x3e78('0xd'),_0x3e78('0x5'),_0x3e78('0x7'),_0x3e78('0xb'),_0x3e78('0x2'),_0x3e78('0x12')];function v(_0x42d2d8,_0x49adda,_0x2351ad,_0x201c32=[]){const _0x5d1c6d=_0x3e78('0x3')==typeof _0x42d2d8?_0x2351ad['get'](_0x42d2d8)[_0x3e78('0x1')]:_0x42d2d8,_0x464786=_0x5d1c6d[_0x3e78('0xc')]||_0x5d1c6d[_0x3e78('0x16')];if(_0x49adda[_0x3e78('0x11')](_0x464786))return _0x49adda[_0x3e78('0x9')](_0x464786);if(_0x49adda[_0x3e78('0x17')](_0x464786,!0x0),_0x464786&&W[_0x3e78('0x6')](_0x201c32)[_0x3e78('0x13')](_0x464786))return _0x49adda[_0x3e78('0x17')](_0x464786,!0x1),!0x1;if(!_0x5d1c6d[_0x3e78('0x10')])return _0x49adda['set'](_0x464786,!0x0),!0x0;const _0x188ecb=_0x5d1c6d[_0x3e78('0x10')][_0x3e78('0x0')](_0x5ad685=>v(_0x5ad685,_0x49adda,_0x2351ad,_0x201c32));return _0x49adda[_0x3e78('0x17')](_0x464786,_0x188ecb),_0x188ecb;}export default function D(_0x44ce84,_0x527981){const _0x100766={};for(const _0x2267ed of _0x44ce84[_0x3e78('0x19')]['names']())w[_0x3e78('0x13')](_0x2267ed)||(_0x100766[_0x2267ed]=_0x44ce84[_0x3e78('0x19')][_0x3e78('0x9')](_0x2267ed));const _0x38d700=_0x100766[_0x3e78('0xe')]||[],_0x5b6d5f=_0x44ce84[_0x3e78('0x1')][_0x3e78('0xa')]||[],_0xcdc794=_0x38d700[_0x3e78('0x1b')]?_0x38d700:_0x5b6d5f,_0x4daf52=_0x100766[_0x3e78('0x4')]||[];delete _0x100766['extraPlugins'];const _0x137a09=_0x100766['removePlugins']||[];delete _0x100766['removePlugins'];const _0x5f4833=_0x44ce84[_0x3e78('0x15')]['config'][_0x3e78('0x9')](_0x3e78('0xe'))||[],_0x440150=_0xcdc794[_0x3e78('0x6')](_0x4daf52)['concat'](_0x5f4833)[_0x3e78('0x18')](_0x4826fe=>'string'==typeof _0x4826fe?_0x5b6d5f[_0x3e78('0x14')](_0x2d2209=>_0x2d2209[_0x3e78('0xc')]==_0x4826fe):_0x4826fe)[_0x3e78('0x8')](_0x566836=>!_0x137a09[_0x3e78('0x13')](_0x566836)),_0x2361ff=Array['from'](new Set(_0x440150)),_0xc15bdd=new Map();return _0x100766[_0x3e78('0xe')]=_0x2361ff[_0x3e78('0x8')](_0xaba7d9=>v(_0xaba7d9,_0xc15bdd,_0x44ce84[_0x3e78('0xe')],_0x527981)),_0x100766;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbc51=['pop','substring','slice','indexOf','replace','push','length','split','startsWith','...','match','join'];(function(_0x5b42c0,_0xbc51c0){const _0x138ab7=function(_0x2cf603){while(--_0x2cf603){_0x5b42c0['push'](_0x5b42c0['shift']());}};_0x138ab7(++_0xbc51c0);}(_0xbc51,0x1e3));const _0x138a=function(_0x5b42c0,_0xbc51c0){_0x5b42c0=_0x5b42c0-0x0;let _0x138ab7=_0xbc51[_0x5b42c0];return _0x138ab7;};export default function z(_0x4e2ad8,{limit:_0x171d56,suffix:_0x2c1a51=_0x138a('0x6')}){const _0x20d47a=[];let _0x4e6139=0x0;const _0x25f682=_0x4e2ad8[_0x138a('0x1')](/</g,'\x0a<')[_0x138a('0x1')](/>/g,'>\x0a')['replace'](/^\n/g,'')[_0x138a('0x1')](/\n$/g,'')[_0x138a('0x4')]('\x0a');for(let _0x562040=0x0;_0x562040<_0x25f682[_0x138a('0x3')];_0x562040++){let _0x4e572a=_0x25f682[_0x562040];const _0x349938=Z(_0x4e572a);if(_0x4e572a[_0x138a('0x5')]('<')){if(_0x4e6139>=_0x171d56){const _0x252dc4=_0x4e572a[_0x138a('0x7')](/[a-zA-Z]+/);if(!_0x252dc4){_0x25f682[_0x562040]='';continue;}const _0x46c331=_0x252dc4[0x0];_0x4e572a[_0x138a('0x5')]('</')?(_0x20d47a[_0x138a('0x3')]&&(_0x4e572a=''),_0x20d47a[_0x138a('0x9')]()):(_0x20d47a[_0x138a('0x2')](_0x46c331),_0x4e572a='');}}else{if(_0x4e6139>=_0x171d56)_0x4e572a='';else{if(_0x4e6139+_0x349938[_0x138a('0x3')]>=_0x171d56){let _0x3b79ea=_0x171d56-_0x4e6139;if('\x20'===_0x349938[_0x3b79ea-0x1])_0x3b79ea--;else{const _0x47318b=_0x349938[_0x138a('0xb')](_0x3b79ea)[_0x138a('0x0')]('\x20');-0x1!==_0x47318b?_0x3b79ea+=_0x47318b:_0x3b79ea=_0x4e572a['length'];}_0x4e572a=_0x349938[_0x138a('0xb')](0x0,_0x3b79ea)[_0x138a('0x8')]('')+_0x2c1a51,_0x4e6139=_0x171d56;}else _0x4e6139+=_0x349938[_0x138a('0x3')];}}_0x25f682[_0x562040]=_0x4e572a;}return _0x25f682[_0x138a('0x8')]('\x0a')[_0x138a('0x1')](/\n/g,'');}function Z(_0x334272){const _0x3cd211=[];for(let _0x2c0beb=0x0;_0x2c0beb<_0x334272['length'];_0x2c0beb++){const _0x265719=_0x334272[_0x138a('0xa')](_0x2c0beb)[_0x138a('0x7')](/^&[a-z0-9#]+;/);if(_0x265719){const _0x480232=_0x265719[0x0];_0x3cd211[_0x138a('0x2')](_0x480232),_0x2c0beb+=_0x480232[_0x138a('0x3')]-0x1;}else _0x3cd211[_0x138a('0x2')](_0x334272[_0x2c0beb]);}return _0x3cd211;}
23
+ const _0x5516=['join','pop','...','indexOf','replace','push','slice','length','split','substring','startsWith'];(function(_0x45cd3b,_0x551633){const _0x220bc5=function(_0x3b975f){while(--_0x3b975f){_0x45cd3b['push'](_0x45cd3b['shift']());}};_0x220bc5(++_0x551633);}(_0x5516,0x189));const _0x220b=function(_0x45cd3b,_0x551633){_0x45cd3b=_0x45cd3b-0x0;let _0x220bc5=_0x5516[_0x45cd3b];return _0x220bc5;};export default function z(_0xa42b12,{limit:_0x220e55,suffix:_0x34fc97=_0x220b('0x5')}){const _0x5903c1=[];let _0xcaedb9=0x0;const _0x477e08=_0xa42b12[_0x220b('0x7')](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')[_0x220b('0x7')](/\n$/g,'')[_0x220b('0x0')]('\x0a');for(let _0x3c61b3=0x0;_0x3c61b3<_0x477e08['length'];_0x3c61b3++){let _0x599433=_0x477e08[_0x3c61b3];const _0x4b972f=Z(_0x599433);if(_0x599433[_0x220b('0x2')]('<')){if(_0xcaedb9>=_0x220e55){const _0x3d61ac=_0x599433['match'](/[a-zA-Z]+/);if(!_0x3d61ac){_0x477e08[_0x3c61b3]='';continue;}const _0x77de3c=_0x3d61ac[0x0];_0x599433[_0x220b('0x2')]('</')?(_0x5903c1[_0x220b('0xa')]&&(_0x599433=''),_0x5903c1[_0x220b('0x4')]()):(_0x5903c1[_0x220b('0x8')](_0x77de3c),_0x599433='');}}else{if(_0xcaedb9>=_0x220e55)_0x599433='';else{if(_0xcaedb9+_0x4b972f['length']>=_0x220e55){let _0x12dce6=_0x220e55-_0xcaedb9;if('\x20'===_0x4b972f[_0x12dce6-0x1])_0x12dce6--;else{const _0x5da61f=_0x4b972f[_0x220b('0x9')](_0x12dce6)[_0x220b('0x6')]('\x20');-0x1!==_0x5da61f?_0x12dce6+=_0x5da61f:_0x12dce6=_0x599433[_0x220b('0xa')];}_0x599433=_0x4b972f[_0x220b('0x9')](0x0,_0x12dce6)[_0x220b('0x3')]('')+_0x34fc97,_0xcaedb9=_0x220e55;}else _0xcaedb9+=_0x4b972f[_0x220b('0xa')];}}_0x477e08[_0x3c61b3]=_0x599433;}return _0x477e08['join']('\x0a')[_0x220b('0x7')](/\n/g,'');}function Z(_0x50cc1f){const _0x13159d=[];for(let _0xd7fb0e=0x0;_0xd7fb0e<_0x50cc1f['length'];_0xd7fb0e++){const _0x49c3b1=_0x50cc1f[_0x220b('0x1')](_0xd7fb0e)['match'](/^&[a-z0-9#]+;/);if(_0x49c3b1){const _0xab4ed3=_0x49c3b1[0x0];_0x13159d[_0x220b('0x8')](_0xab4ed3),_0xd7fb0e+=_0xab4ed3[_0x220b('0xa')]-0x1;}else _0x13159d[_0x220b('0x8')](_0x50cc1f[_0xd7fb0e]);}return _0x13159d;}