@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20230816.0 → 0.0.0-nightly-20230818.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-20230816.0",
3
+ "version": "0.0.0-nightly-20230818.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-20230816.0",
34
+ "ckeditor5": "0.0.0-nightly-20230818.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 _0x41a4=['CommentsOnly','disableReadOnlyMode','no-permissions','context','comment:modify_all','has','find','enableReadOnlyMode','get','Permissions','forceDisabled','editors','addCommentThread','includes','clearForceDisabled','permissions-set-permissions-invalid-channel-id','collaboration.channelId','noPermissions','commands','config','CommentsRepository','comment:write'];(function(_0x10cf79,_0x41a4f3){const _0x4617b7=function(_0x58f5a5){while(--_0x58f5a5){_0x10cf79['push'](_0x10cf79['shift']());}};_0x4617b7(++_0x41a4f3);}(_0x41a4,0xaa));const _0x4617=function(_0x10cf79,_0x41a4f3){_0x10cf79=_0x10cf79-0x0;let _0x4617b7=_0x41a4[_0x10cf79];return _0x4617b7;};import{ContextPlugin as _0x338892,Editor as _0x26202a}from'ckeditor5/src/core';import{CKEditorError as _0x228aca}from'ckeditor5/src/utils';export default class n extends _0x338892{static get['pluginName'](){return _0x4617('0xf');}['setPermissions'](_0x2072a1,_0x4a7e67){let _0x2833b0;if(_0x4a7e67||(_0x4a7e67=this[_0x4617('0x9')][_0x4617('0x3')]['get'](_0x4617('0x0'))),this[_0x4617('0x9')][_0x4617('0x3')][_0x4617('0xe')](_0x4617('0x0'))==_0x4a7e67?_0x2833b0=this[_0x4617('0x9')]:_0x4617('0x11')in this['context']&&this[_0x4617('0x9')][_0x4617('0x11')]&&(_0x2833b0=this[_0x4617('0x9')][_0x4617('0x11')][_0x4617('0xc')](_0x51e305=>_0x51e305[_0x4617('0x3')]['get'](_0x4617('0x0'))==_0x4a7e67)),!_0x2833b0)throw new _0x228aca(_0x4617('0x15'),null);const _0x3dfc1e=_0x2833b0['plugins'],_0x28ac55=_0x3dfc1e[_0x4617('0xb')](_0x4617('0x4'))?_0x3dfc1e[_0x4617('0xe')](_0x4617('0x4')):void 0x0,_0x55c29f=_0x3dfc1e[_0x4617('0xb')](_0x4617('0x6'))&&_0x3dfc1e[_0x4617('0xe')](_0x4617('0x6')),_0x444db1=_0x2072a1[_0x4617('0x13')]('document:write'),_0x222c44=_0x2072a1[_0x4617('0x13')](_0x4617('0xa')),_0x4ba6c6=_0x2072a1[_0x4617('0x13')]('comment:admin'),_0x1d6055=_0x2072a1[_0x4617('0x13')](_0x4617('0x5')),_0x534a9f=_0x1d6055||_0x4ba6c6,_0x49bfbc=_0x534a9f||_0x222c44,_0x380735=_0x444db1||_0x534a9f;(_0x55c29f&&(_0x55c29f['isEnabled']=!_0x444db1&&_0x49bfbc),_0x2833b0 instanceof _0x26202a)&&(!(_0x444db1||_0x49bfbc&&_0x28ac55)?_0x2833b0[_0x4617('0xd')](_0x4617('0x8')):_0x2833b0[_0x4617('0x7')](_0x4617('0x8')));if(_0x28ac55){_0x28ac55['setPermissions']({'admin':_0x4ba6c6,'modifyAll':_0x222c44,'write':_0x1d6055,'resolve':_0x380735},_0x4a7e67);const _0x5866de=_0x2833b0 instanceof _0x26202a&&_0x2833b0[_0x4617('0x2')][_0x4617('0xe')](_0x4617('0x12'));_0x5866de&&(_0x534a9f?_0x5866de[_0x4617('0x14')](_0x4617('0x1')):_0x5866de[_0x4617('0x10')](_0x4617('0x1')));}}}
23
+ const _0x2253=['editors','disableReadOnlyMode','get','comment:write','includes','commands','pluginName','Permissions','find','enableReadOnlyMode','config','no-permissions','CommentsOnly','context','isEnabled','setPermissions','collaboration.channelId','has','document:write','plugins','comment:modify_all','addCommentThread','clearForceDisabled','permissions-set-permissions-invalid-channel-id','noPermissions'];(function(_0x17e40e,_0x225337){const _0x419234=function(_0x171a41){while(--_0x171a41){_0x17e40e['push'](_0x17e40e['shift']());}};_0x419234(++_0x225337);}(_0x2253,0xc8));const _0x4192=function(_0x17e40e,_0x225337){_0x17e40e=_0x17e40e-0x0;let _0x419234=_0x2253[_0x17e40e];return _0x419234;};import{ContextPlugin as _0x1eda8b,Editor as _0x1a8b5}from'ckeditor5/src/core';import{CKEditorError as _0x2bc623}from'ckeditor5/src/utils';export default class n extends _0x1eda8b{static get[_0x4192('0x6')](){return _0x4192('0x7');}[_0x4192('0xf')](_0x25c12f,_0x2cedd4){let _0x5a8be1;if(_0x2cedd4||(_0x2cedd4=this[_0x4192('0xd')][_0x4192('0xa')][_0x4192('0x2')]('collaboration.channelId')),this[_0x4192('0xd')][_0x4192('0xa')]['get'](_0x4192('0x10'))==_0x2cedd4?_0x5a8be1=this['context']:_0x4192('0x0')in this[_0x4192('0xd')]&&this[_0x4192('0xd')]['editors']&&(_0x5a8be1=this['context'][_0x4192('0x0')][_0x4192('0x8')](_0x3ab11f=>_0x3ab11f[_0x4192('0xa')]['get'](_0x4192('0x10'))==_0x2cedd4)),!_0x5a8be1)throw new _0x2bc623(_0x4192('0x17'),null);const _0xf1b14e=_0x5a8be1[_0x4192('0x13')],_0x3f9f65=_0xf1b14e[_0x4192('0x11')]('CommentsRepository')?_0xf1b14e['get']('CommentsRepository'):void 0x0,_0x4c54e4=_0xf1b14e[_0x4192('0x11')](_0x4192('0xc'))&&_0xf1b14e[_0x4192('0x2')]('CommentsOnly'),_0xc6d6fa=_0x25c12f[_0x4192('0x4')](_0x4192('0x12')),_0x3f3369=_0x25c12f[_0x4192('0x4')](_0x4192('0x14')),_0x46835d=_0x25c12f[_0x4192('0x4')]('comment:admin'),_0x163715=_0x25c12f['includes'](_0x4192('0x3')),_0x5a9f8e=_0x163715||_0x46835d,_0x2865c7=_0x5a9f8e||_0x3f3369,_0x129103=_0xc6d6fa||_0x5a9f8e;(_0x4c54e4&&(_0x4c54e4[_0x4192('0xe')]=!_0xc6d6fa&&_0x2865c7),_0x5a8be1 instanceof _0x1a8b5)&&(!(_0xc6d6fa||_0x2865c7&&_0x3f9f65)?_0x5a8be1[_0x4192('0x9')](_0x4192('0xb')):_0x5a8be1[_0x4192('0x1')](_0x4192('0xb')));if(_0x3f9f65){_0x3f9f65[_0x4192('0xf')]({'admin':_0x46835d,'modifyAll':_0x3f3369,'write':_0x163715,'resolve':_0x129103},_0x2cedd4);const _0x343edf=_0x5a8be1 instanceof _0x1a8b5&&_0x5a8be1[_0x4192('0x5')]['get'](_0x4192('0x15'));_0x343edf&&(_0x5a9f8e?_0x343edf[_0x4192('0x16')](_0x4192('0x18')):_0x343edf['forceDisabled'](_0x4192('0x18')));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d95=['notificationView','push','initials','avatar','ck-user__avatar','div','name','ck-user','ck-user__notification','extendTemplate','url(\x27','ck-user__anonymous','ck\x20ck-user__name','ck\x20ck-user__name\x20ck-user__name--hidden','isAnonymous'];(function(_0x3c2669,_0x1d95da){const _0x512ab3=function(_0x101320){while(--_0x101320){_0x3c2669['push'](_0x3c2669['shift']());}};_0x512ab3(++_0x1d95da);}(_0x1d95,0x160));const _0x512a=function(_0x3c2669,_0x1d95da){_0x3c2669=_0x3c2669-0x0;let _0x512ab3=_0x1d95[_0x3c2669];return _0x512ab3;};import{View as _0x23efb0,IconView as _0x1a597a}from'ckeditor5/src/ui';import _0x5bfd1f from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x23efb0{constructor(_0x12cb0f,_0x227a6a,_0x478640){super(_0x12cb0f),this[_0x512a('0xe')]=_0x227a6a[_0x512a('0xe')],this[_0x512a('0x8')]=null;const _0x4ce09b=['ck','ck-user__img'];if(_0x227a6a[_0x512a('0x7')]&&_0x4ce09b[_0x512a('0x9')](_0x512a('0x4')),_0x227a6a[_0x512a('0xb')]&&_0x4ce09b[_0x512a('0x9')](_0x512a('0xc')),_0x478640){const _0x29824a=new _0x1a597a();_0x29824a[_0x512a('0x2')]({'attributes':{'class':['ck-user__icon']}}),_0x29824a['content']=_0x5bfd1f,this[_0x512a('0x8')]={'tag':_0x512a('0xd'),'attributes':{'class':['ck',_0x512a('0x1')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x478640},'children':[_0x29824a]};}const _0x446f38=[{'tag':_0x512a('0xd'),'attributes':{'class':_0x4ce09b,'style':{'background-image':_0x227a6a[_0x512a('0xb')]?_0x512a('0x3')+_0x227a6a[_0x512a('0xb')]+'\x27)':''}}},{'tag':_0x512a('0xd'),'attributes':{'class':_0x227a6a[_0x512a('0xb')]?_0x512a('0x6'):_0x512a('0x5')},'children':[{'text':_0x227a6a[_0x512a('0xa')]}]}];this[_0x512a('0x8')]&&_0x446f38[_0x512a('0x9')](this[_0x512a('0x8')]),this['setTemplate']({'tag':_0x512a('0xd'),'attributes':{'class':['ck',_0x512a('0x0')],'data-user-id':_0x227a6a['id']},'children':_0x446f38});}}
23
+ const _0x2ef4=['ck-user__img','setTemplate','ck\x20ck-user__name','notificationView','push','content','ck-user__notification','name','avatar','ck-user__avatar','extendTemplate','ck-user__anonymous','div','initials'];(function(_0x1dcca6,_0x2ef435){const _0x3e0442=function(_0x4665e0){while(--_0x4665e0){_0x1dcca6['push'](_0x1dcca6['shift']());}};_0x3e0442(++_0x2ef435);}(_0x2ef4,0xe1));const _0x3e04=function(_0x1dcca6,_0x2ef435){_0x1dcca6=_0x1dcca6-0x0;let _0x3e0442=_0x2ef4[_0x1dcca6];return _0x3e0442;};import{View as _0x87e536,IconView as _0xc6dbc9}from'ckeditor5/src/ui';import _0x917a3b from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x87e536{constructor(_0x5ce0a7,_0x2c46ec,_0x33937d){super(_0x5ce0a7),this[_0x3e04('0x6')]=_0x2c46ec[_0x3e04('0x6')],this[_0x3e04('0x2')]=null;const _0x58ba78=['ck',_0x3e04('0xd')];if(_0x2c46ec['isAnonymous']&&_0x58ba78['push'](_0x3e04('0xa')),_0x2c46ec[_0x3e04('0x7')]&&_0x58ba78['push'](_0x3e04('0x8')),_0x33937d){const _0x220477=new _0xc6dbc9();_0x220477[_0x3e04('0x9')]({'attributes':{'class':['ck-user__icon']}}),_0x220477[_0x3e04('0x4')]=_0x917a3b,this[_0x3e04('0x2')]={'tag':'div','attributes':{'class':['ck',_0x3e04('0x5')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x33937d},'children':[_0x220477]};}const _0x4e3693=[{'tag':_0x3e04('0xb'),'attributes':{'class':_0x58ba78,'style':{'background-image':_0x2c46ec[_0x3e04('0x7')]?'url(\x27'+_0x2c46ec[_0x3e04('0x7')]+'\x27)':''}}},{'tag':_0x3e04('0xb'),'attributes':{'class':_0x2c46ec[_0x3e04('0x7')]?'ck\x20ck-user__name\x20ck-user__name--hidden':_0x3e04('0x1')},'children':[{'text':_0x2c46ec[_0x3e04('0xc')]}]}];this[_0x3e04('0x2')]&&_0x4e3693[_0x3e04('0x3')](this[_0x3e04('0x2')]),this[_0x3e04('0x0')]({'tag':_0x3e04('0xb'),'attributes':{'class':['ck','ck-user'],'data-user-id':_0x2c46ec['id']},'children':_0x4e3693});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54fe=['users','licenseKeyTrialLimit:time','_getNextColor','users-add-invalid-id','_getInitial','context','licenseKeyTrialLimit:operations','toUpperCase','initials','trim','licenseKeyInvalid','define','users-add-duplicated-id','invalid-license-key','addUser','_addAnonymousUser','licenseKey','_isAnonymous','_licenseKeyCheckInterval','charAt','requires','useAnonymousUser','isAnonymous','destroy','_myId','getUser','avatar','trial-license-key-reached-limit-time','Users','decorate','_id','length','config','getOperationAuthor','licenseKeyValid','getSelectionClass','locale','get','ck-user__bg-color--','ck-user__selection--','users-me-missing-user','includes','trial-license-key-reached-limit-revisions','name','licenseKeyTrialLimit:revisions','_lastColor','string','_locale','color','add','users.colorsCount','licenseKeyTrial','ck-user__marker--','users.anonymousUserId','anonymous-user','defineMe','init','split'];(function(_0xbda2b0,_0x54fe27){const _0x462a7b=function(_0x530f78){while(--_0x530f78){_0xbda2b0['push'](_0xbda2b0['shift']());}};_0x462a7b(++_0x54fe27);}(_0x54fe,0x95));const _0x462a=function(_0xbda2b0,_0x54fe27){_0xbda2b0=_0xbda2b0-0x0;let _0x462a7b=_0x54fe[_0xbda2b0];return _0x462a7b;};import{ContextPlugin as _0x50cccf}from'ckeditor5/src/core';import{Collection as _0x42b3e7,CKEditorError as _0x408dd1}from'ckeditor5/src/utils';import _0xc753a9 from'./permissions';import{getTranslation as _0x403df0}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x50cccf{static get['pluginName'](){return _0x462a('0x35');}static get[_0x462a('0x2d')](){return[_0xc753a9];}constructor(_0x1740df){super(_0x1740df),this['context'][_0x462a('0x39')][_0x462a('0x24')](_0x462a('0x14'),_0x462a('0x15')),this[_0x462a('0x1e')][_0x462a('0x39')]['define'](_0x462a('0x11'),0x8),this[_0x462a('0x19')]=new _0x42b3e7(),this['_locale']=_0x1740df[_0x462a('0x3')],this[_0x462a('0x2b')]=null,this[_0x462a('0xc')]=0x0,this[_0x462a('0x31')]=null,this[_0x462a('0x36')](_0x462a('0x0'));}[_0x462a('0x17')](){const _0x3206f9=this[_0x462a('0x1e')];this[_0x462a('0x29')]=_0x3206f9[_0x462a('0x39')]['get'](_0x462a('0x29'));const _0x334634=[_0x462a('0x12'),_0x462a('0x23'),_0x462a('0x1'),_0x462a('0x1f'),_0x462a('0x1a'),_0x462a('0xb')];this[_0x462a('0x2b')]=setInterval(()=>{let _0xdf61d3;for(const _0x2ac67a in _0x3206f9){const _0x1f772b=_0x3206f9[_0x2ac67a];if(_0x334634[_0x462a('0x8')](_0x1f772b)){delete _0x3206f9[_0x2ac67a],_0xdf61d3=_0x1f772b;break;}}if('licenseKeyInvalid'===_0xdf61d3)throw clearInterval(this[_0x462a('0x2b')]),new _0x408dd1(_0x462a('0x26'),null);if(_0x462a('0x12')===_0xdf61d3&&console['info']('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.'),_0x462a('0x1f')===_0xdf61d3)throw clearInterval(this[_0x462a('0x2b')]),new _0x408dd1('trial-license-key-reached-limit-changes',null);if(_0x462a('0x1a')===_0xdf61d3)throw clearInterval(this[_0x462a('0x2b')]),new _0x408dd1(_0x462a('0x34'),null);if(_0x462a('0xb')===_0xdf61d3)throw clearInterval(this[_0x462a('0x2b')]),new _0x408dd1(_0x462a('0x9'),null);_0x462a('0x1')===_0xdf61d3&&clearInterval(this[_0x462a('0x2b')]);},0x3e8),this[_0x462a('0x28')]();}get['me'](){return null==this[_0x462a('0x31')]?null:this['getUser'](this[_0x462a('0x31')]);}[_0x462a('0x27')]({id:_0x45a9f3,name:_0x22be3b,..._0x4aeec8}){if(!_0x45a9f3||_0x462a('0xd')!=typeof _0x45a9f3)throw new _0x408dd1(_0x462a('0x1c'));if(this['users']['has'](_0x45a9f3))throw new _0x408dd1(_0x462a('0x25'),null,{'id':_0x45a9f3});const _0x52e27a={..._0x4aeec8,'id':_0x45a9f3,'name':a(this[_0x462a('0xe')],_0x22be3b),'color':this[_0x462a('0x1b')]()};_0x52e27a[_0x462a('0xa')]=a(this['_locale'],_0x52e27a[_0x462a('0xa')]);const _0x4d2604=new User(_0x52e27a);return this[_0x462a('0x19')][_0x462a('0x10')](_0x4d2604),_0x4d2604;}[_0x462a('0x32')](_0x6ad0cc){return this[_0x462a('0x19')][_0x462a('0x4')](_0x6ad0cc);}[_0x462a('0x2e')](){const _0xfa555b=this[_0x462a('0x1e')][_0x462a('0x39')]['get'](_0x462a('0x14'));this['_myId']||this[_0x462a('0x16')](_0xfa555b);}['defineMe'](_0x5e95f2){if(this[_0x462a('0x31')])throw new _0x408dd1('users-me-already-defined',null);if(!this[_0x462a('0x32')](_0x5e95f2))throw new _0x408dd1(_0x462a('0x7'),null);this[_0x462a('0x31')]=_0x5e95f2;}[_0x462a('0x0')](){return this['me'];}[_0x462a('0x30')](){super[_0x462a('0x30')](),clearInterval(this[_0x462a('0x2b')]);}[_0x462a('0x1b')](){const _0x1e790d=this[_0x462a('0x1e')][_0x462a('0x39')][_0x462a('0x4')](_0x462a('0x11'));return this[_0x462a('0xc')]>=_0x1e790d&&(this[_0x462a('0xc')]=0x0),new u(this[_0x462a('0xc')]++);}['_addAnonymousUser'](){const _0x2c7984=this[_0x462a('0x1e')][_0x462a('0x39')][_0x462a('0x4')]('users.anonymousUserId');this[_0x462a('0x27')]({'id':_0x2c7984,'name':_0x403df0(this[_0x462a('0xe')],'Anonymous')})[_0x462a('0x2a')]=!0x0;}}export class User{constructor(_0xf9ef7f){this['id']=_0xf9ef7f['id'],this[_0x462a('0xf')]=_0xf9ef7f['color'],this['name']=_0xf9ef7f[_0x462a('0xa')],this[_0x462a('0x33')]=_0xf9ef7f['avatar'],this['_isAnonymous']=!0x1;}get[_0x462a('0x2f')](){return this[_0x462a('0x2a')];}get[_0x462a('0x21')](){const _0x4953fb=this[_0x462a('0xa')][_0x462a('0x18')]('\x20');return 0x1===_0x4953fb[_0x462a('0x38')]?this[_0x462a('0x1d')](_0x4953fb[0x0]):this[_0x462a('0x1d')](_0x4953fb[0x0])+this[_0x462a('0x1d')](_0x4953fb[_0x4953fb[_0x462a('0x38')]-0x1]);}['_getInitial'](_0x54b331){return _0x54b331[_0x462a('0x2c')](0x0)[_0x462a('0x20')]();}}function a(_0x4b6070,_0x569699=''){return''==(_0x569699=_0x569699[_0x462a('0x22')]())?_0x403df0(_0x4b6070,'Anonymous'):_0x569699;}class u{constructor(_0x1389f2){this['_id']=_0x1389f2;}['getBackgroundColorClass'](){return _0x462a('0x5')+this['_id'];}[_0x462a('0x2')](){return _0x462a('0x6')+this['_id'];}['getMarkerClass'](){return _0x462a('0x13')+this[_0x462a('0x37')];}}
23
+ const _0x36cb=['licenseKeyTrial','licenseKeyTrialLimit:revisions','charAt','requires','addUser','string','info','length','_getInitial','context','_lastColor','licenseKeyTrialLimit:operations','_myId','includes','_isAnonymous','initials','ck-user__bg-color--','Anonymous','has','users.anonymousUserId','define','get','users.colorsCount','split','users','licenseKeyValid','_locale','color','_getNextColor','decorate','toUpperCase','licenseKey','_addAnonymousUser','_id','destroy','defineMe','licenseKeyInvalid','getMarkerClass','init','name','_licenseKeyCheckInterval','getUser','users-me-already-defined','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.','anonymous-user','getOperationAuthor','useAnonymousUser','trial-license-key-reached-limit-time','config','users-add-invalid-id','pluginName'];(function(_0x4107e2,_0x36cbd5){const _0x539f4b=function(_0x81320e){while(--_0x81320e){_0x4107e2['push'](_0x4107e2['shift']());}};_0x539f4b(++_0x36cbd5);}(_0x36cb,0x175));const _0x539f=function(_0x4107e2,_0x36cbd5){_0x4107e2=_0x4107e2-0x0;let _0x539f4b=_0x36cb[_0x4107e2];return _0x539f4b;};import{ContextPlugin as _0xaf4cf6}from'ckeditor5/src/core';import{Collection as _0x57fbce,CKEditorError as _0x4145d8}from'ckeditor5/src/utils';import _0x422110 from'./permissions';import{getTranslation as _0x29ce5c}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0xaf4cf6{static get[_0x539f('0x22')](){return'Users';}static get[_0x539f('0x26')](){return[_0x422110];}constructor(_0x2ca367){super(_0x2ca367),this[_0x539f('0x2c')]['config'][_0x539f('0x4')](_0x539f('0x3'),_0x539f('0x1c')),this['context'][_0x539f('0x20')][_0x539f('0x4')](_0x539f('0x6'),0x8),this[_0x539f('0x8')]=new _0x57fbce(),this[_0x539f('0xa')]=_0x2ca367['locale'],this[_0x539f('0x18')]=null,this[_0x539f('0x2d')]=0x0,this[_0x539f('0x2f')]=null,this[_0x539f('0xd')](_0x539f('0x1d'));}[_0x539f('0x16')](){const _0x547da5=this[_0x539f('0x2c')];this[_0x539f('0xf')]=_0x547da5[_0x539f('0x20')][_0x539f('0x5')](_0x539f('0xf'));const _0xed0cb9=[_0x539f('0x23'),_0x539f('0x14'),_0x539f('0x9'),_0x539f('0x2e'),'licenseKeyTrialLimit:time',_0x539f('0x24')];this[_0x539f('0x18')]=setInterval(()=>{let _0x10663a;for(const _0x386764 in _0x547da5){const _0x59e1eb=_0x547da5[_0x386764];if(_0xed0cb9[_0x539f('0x30')](_0x59e1eb)){delete _0x547da5[_0x386764],_0x10663a=_0x59e1eb;break;}}if(_0x539f('0x14')===_0x10663a)throw clearInterval(this[_0x539f('0x18')]),new _0x4145d8('invalid-license-key',null);if(_0x539f('0x23')===_0x10663a&&console[_0x539f('0x29')](_0x539f('0x1b')),'licenseKeyTrialLimit:operations'===_0x10663a)throw clearInterval(this[_0x539f('0x18')]),new _0x4145d8('trial-license-key-reached-limit-changes',null);if('licenseKeyTrialLimit:time'===_0x10663a)throw clearInterval(this[_0x539f('0x18')]),new _0x4145d8(_0x539f('0x1f'),null);if('licenseKeyTrialLimit:revisions'===_0x10663a)throw clearInterval(this[_0x539f('0x18')]),new _0x4145d8('trial-license-key-reached-limit-revisions',null);_0x539f('0x9')===_0x10663a&&clearInterval(this[_0x539f('0x18')]);},0x3e8),this[_0x539f('0x10')]();}get['me'](){return null==this['_myId']?null:this['getUser'](this[_0x539f('0x2f')]);}['addUser']({id:_0x17f45f,name:_0x872a59,..._0xa41465}){if(!_0x17f45f||_0x539f('0x28')!=typeof _0x17f45f)throw new _0x4145d8(_0x539f('0x21'));if(this[_0x539f('0x8')][_0x539f('0x2')](_0x17f45f))throw new _0x4145d8('users-add-duplicated-id',null,{'id':_0x17f45f});const _0x2d12b6={..._0xa41465,'id':_0x17f45f,'name':a(this[_0x539f('0xa')],_0x872a59),'color':this[_0x539f('0xc')]()};_0x2d12b6['name']=a(this[_0x539f('0xa')],_0x2d12b6[_0x539f('0x17')]);const _0x5caf0f=new User(_0x2d12b6);return this['users']['add'](_0x5caf0f),_0x5caf0f;}[_0x539f('0x19')](_0x41d557){return this['users']['get'](_0x41d557);}[_0x539f('0x1e')](){const _0x222bc8=this[_0x539f('0x2c')]['config']['get']('users.anonymousUserId');this[_0x539f('0x2f')]||this[_0x539f('0x13')](_0x222bc8);}[_0x539f('0x13')](_0xed3c22){if(this[_0x539f('0x2f')])throw new _0x4145d8(_0x539f('0x1a'),null);if(!this[_0x539f('0x19')](_0xed3c22))throw new _0x4145d8('users-me-missing-user',null);this[_0x539f('0x2f')]=_0xed3c22;}[_0x539f('0x1d')](){return this['me'];}[_0x539f('0x12')](){super['destroy'](),clearInterval(this[_0x539f('0x18')]);}[_0x539f('0xc')](){const _0x429d94=this[_0x539f('0x2c')][_0x539f('0x20')]['get'](_0x539f('0x6'));return this[_0x539f('0x2d')]>=_0x429d94&&(this[_0x539f('0x2d')]=0x0),new u(this['_lastColor']++);}[_0x539f('0x10')](){const _0x1911e2=this['context'][_0x539f('0x20')][_0x539f('0x5')](_0x539f('0x3'));this[_0x539f('0x27')]({'id':_0x1911e2,'name':_0x29ce5c(this[_0x539f('0xa')],'Anonymous')})[_0x539f('0x31')]=!0x0;}}export class User{constructor(_0x2dfa3a){this['id']=_0x2dfa3a['id'],this[_0x539f('0xb')]=_0x2dfa3a[_0x539f('0xb')],this[_0x539f('0x17')]=_0x2dfa3a[_0x539f('0x17')],this['avatar']=_0x2dfa3a['avatar'],this[_0x539f('0x31')]=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get[_0x539f('0x32')](){const _0xdeb02b=this[_0x539f('0x17')][_0x539f('0x7')]('\x20');return 0x1===_0xdeb02b['length']?this[_0x539f('0x2b')](_0xdeb02b[0x0]):this[_0x539f('0x2b')](_0xdeb02b[0x0])+this[_0x539f('0x2b')](_0xdeb02b[_0xdeb02b[_0x539f('0x2a')]-0x1]);}[_0x539f('0x2b')](_0x162162){return _0x162162[_0x539f('0x25')](0x0)[_0x539f('0xe')]();}}function a(_0xcf08f,_0x366a56=''){return''==(_0x366a56=_0x366a56['trim']())?_0x29ce5c(_0xcf08f,_0x539f('0x1')):_0x366a56;}class u{constructor(_0x48e5e4){this['_id']=_0x48e5e4;}['getBackgroundColorClass'](){return _0x539f('0x0')+this[_0x539f('0x11')];}['getSelectionClass'](){return'ck-user__selection--'+this[_0x539f('0x11')];}[_0x539f('0x15')](){return'ck-user__marker--'+this[_0x539f('0x11')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x257b60,_0x5b6ac3){const t=_0x257b60['t'];switch(_0x5b6ac3){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(_0x2bd955,_0x4f2cce){const t=_0x2bd955['t'];switch(_0x4f2cce){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 _0x5b35=['submit','registerChild','remove','cancelConfirm','fire','set','message','once','focus','element','isConfirm','cancel','confirmView','_removeConfirm'];(function(_0x3a48df,_0x5b353f){var _0x3acd9f=function(_0x2e9489){while(--_0x2e9489){_0x3a48df['push'](_0x3a48df['shift']());}};_0x3acd9f(++_0x5b353f);}(_0x5b35,0x159));var _0x3acd=function(_0x3a48df,_0x5b353f){_0x3a48df=_0x3a48df-0x0;var _0x3acd9f=_0x5b35[_0x3a48df];return _0x3acd9f;};import _0x59649b from'./confirmview';export default function m(_0x2e041c){return class extends _0x2e041c{['showConfirm'](_0x1765a6,_0xd5628a){return this[_0x3acd('0x3')]=new _0x59649b(this['locale']),this[_0x3acd('0x3')]['render'](),this[_0x3acd('0x3')][_0x3acd('0xb')]=_0x1765a6,this['confirmView'][_0x3acd('0xc')](_0x3acd('0x2'),()=>{this['_removeConfirm']();}),this['confirmView'][_0x3acd('0xc')](_0x3acd('0x5'),()=>{this[_0x3acd('0x4')]();}),_0xd5628a['appendChild'](this[_0x3acd('0x3')][_0x3acd('0x0')]),this[_0x3acd('0x6')](this[_0x3acd('0x3')]),this[_0x3acd('0x0')][_0x3acd('0xd')](),this[_0x3acd('0xa')](_0x3acd('0x1'),!0x0),new Promise(_0x4abce8=>this[_0x3acd('0x3')]['on'](_0x3acd('0x5'),_0x4abce8));}[_0x3acd('0x8')](){this[_0x3acd('0x1')]&&this[_0x3acd('0x3')][_0x3acd('0x9')]('cancel');}[_0x3acd('0x4')](){this[_0x3acd('0x0')]&&this[_0x3acd('0x3')]&&this[_0x3acd('0x3')]['element']&&(this[_0x3acd('0x0')][_0x3acd('0xd')](),this[_0x3acd('0x3')][_0x3acd('0x0')][_0x3acd('0x7')](),this['deregisterChild'](this[_0x3acd('0x3')]),this['isConfirm']=!0x1,this[_0x3acd('0x3')]['destroy'](),this[_0x3acd('0x3')]=void 0x0);}};}
23
+ var _0x4e86=['message','focus','registerChild','remove','locale','element','_removeConfirm','destroy','appendChild','deregisterChild','cancel','once','render','confirmView','set','isConfirm'];(function(_0x225c33,_0x4e86a8){var _0x3235d7=function(_0x5b3799){while(--_0x5b3799){_0x225c33['push'](_0x225c33['shift']());}};_0x3235d7(++_0x4e86a8);}(_0x4e86,0xf4));var _0x3235=function(_0x225c33,_0x4e86a8){_0x225c33=_0x225c33-0x0;var _0x3235d7=_0x4e86[_0x225c33];return _0x3235d7;};import _0x286275 from'./confirmview';export default function m(_0x2c719b){return class extends _0x2c719b{['showConfirm'](_0x6616a7,_0x1575c6){return this[_0x3235('0x9')]=new _0x286275(this[_0x3235('0x0')]),this[_0x3235('0x9')][_0x3235('0x8')](),this[_0x3235('0x9')][_0x3235('0xc')]=_0x6616a7,this['confirmView']['once'](_0x3235('0x6'),()=>{this[_0x3235('0x2')]();}),this[_0x3235('0x9')][_0x3235('0x7')]('submit',()=>{this[_0x3235('0x2')]();}),_0x1575c6[_0x3235('0x4')](this['confirmView']['element']),this[_0x3235('0xe')](this[_0x3235('0x9')]),this[_0x3235('0x1')][_0x3235('0xd')](),this[_0x3235('0xa')]('isConfirm',!0x0),new Promise(_0x59d848=>this[_0x3235('0x9')]['on']('submit',_0x59d848));}['cancelConfirm'](){this['isConfirm']&&this[_0x3235('0x9')]['fire'](_0x3235('0x6'));}[_0x3235('0x2')](){this[_0x3235('0x1')]&&this[_0x3235('0x9')]&&this['confirmView'][_0x3235('0x1')]&&(this[_0x3235('0x1')]['focus'](),this[_0x3235('0x9')][_0x3235('0x1')][_0x3235('0xf')](),this[_0x3235('0x5')](this[_0x3235('0x9')]),this[_0x3235('0xb')]=!0x1,this[_0x3235('0x9')][_0x3235('0x3')](),this['confirmView']=void 0x0);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2392=['label','submitView','ck-thread__remove-confirm-','cancelView','setTemplate','ck-thread__remove-confirm-actions','cancel','Yes','ck-thread__remove-confirm-inner','fire','execute','_createButtonView','message','bindTemplate','submit'];(function(_0x197b6e,_0x2392f1){const _0x5a7290=function(_0x1bb2bf){while(--_0x1bb2bf){_0x197b6e['push'](_0x197b6e['shift']());}};_0x5a7290(++_0x2392f1);}(_0x2392,0xcf));const _0x5a72=function(_0x197b6e,_0x2392f1){_0x197b6e=_0x197b6e-0x0;let _0x5a7290=_0x2392[_0x197b6e];return _0x5a7290;};import{View as _0x4cbd6e,ButtonView as _0x523c21}from'ckeditor5/src/ui';import{icons as _0x244dcf}from'ckeditor5/src/core';import{getTranslation as _0x2d2f94}from'./common-translations';export default class h extends _0x4cbd6e{constructor(_0x2316e){super(_0x2316e);const _0x4b2cf8=this[_0x5a72('0x1')];this[_0x5a72('0x4')]=this['_createButtonView'](_0x2316e,_0x2d2f94(_0x2316e,_0x5a72('0xa')),_0x244dcf['check'],_0x5a72('0x2')),this['cancelView']=this[_0x5a72('0xe')](_0x2316e,_0x2d2f94(_0x2316e,'No'),_0x244dcf['cancel'],_0x5a72('0x9')),this['set'](_0x5a72('0x0'),_0x2d2f94(_0x2316e,'Are\x20you\x20sure?')),this[_0x5a72('0x7')]({'tag':'div','attributes':{'class':['ck-thread__remove-confirm']},'children':[{'tag':'div','attributes':{'class':_0x5a72('0xb')},'children':[{'tag':'p','children':[{'text':_0x4b2cf8['to'](_0x5a72('0x0'))}]},{'tag':'div','attributes':{'class':_0x5a72('0x8')},'children':[this['submitView'],this[_0x5a72('0x6')]]}]}]});}[_0x5a72('0xe')](_0x3ea7e5,_0xd98041,_0x203951,_0x37d8df){const _0x1da70c=new _0x523c21(_0x3ea7e5);return _0x1da70c[_0x5a72('0x3')]=_0xd98041,_0x1da70c['icon']=_0x203951,_0x1da70c['extendTemplate']({'attributes':{'class':_0x5a72('0x5')+_0x37d8df}}),_0x1da70c['on'](_0x5a72('0xd'),()=>this[_0x5a72('0xc')](_0x37d8df)),_0x1da70c;}}
23
+ const _0x43ef=['Yes','Are\x20you\x20sure?','div','fire','submitView','ck-thread__remove-confirm-','cancelView','bindTemplate','message','ck-thread__remove-confirm','cancel','label','submit','_createButtonView','check','ck-thread__remove-confirm-inner','execute','extendTemplate','setTemplate'];(function(_0x302b4a,_0x43ef91){const _0x8bf4a3=function(_0x8222db){while(--_0x8222db){_0x302b4a['push'](_0x302b4a['shift']());}};_0x8bf4a3(++_0x43ef91);}(_0x43ef,0x12e));const _0x8bf4=function(_0x302b4a,_0x43ef91){_0x302b4a=_0x302b4a-0x0;let _0x8bf4a3=_0x43ef[_0x302b4a];return _0x8bf4a3;};import{View as _0x1258a9,ButtonView as _0x154634}from'ckeditor5/src/ui';import{icons as _0xe287a3}from'ckeditor5/src/core';import{getTranslation as _0x1d53d1}from'./common-translations';export default class h extends _0x1258a9{constructor(_0x196fa0){super(_0x196fa0);const _0x45b8e0=this[_0x8bf4('0x9')];this['submitView']=this[_0x8bf4('0xf')](_0x196fa0,_0x1d53d1(_0x196fa0,_0x8bf4('0x2')),_0xe287a3[_0x8bf4('0x10')],_0x8bf4('0xe')),this[_0x8bf4('0x8')]=this[_0x8bf4('0xf')](_0x196fa0,_0x1d53d1(_0x196fa0,'No'),_0xe287a3[_0x8bf4('0xc')],'cancel'),this['set'](_0x8bf4('0xa'),_0x1d53d1(_0x196fa0,_0x8bf4('0x3'))),this[_0x8bf4('0x1')]({'tag':_0x8bf4('0x4'),'attributes':{'class':[_0x8bf4('0xb')]},'children':[{'tag':'div','attributes':{'class':_0x8bf4('0x11')},'children':[{'tag':'p','children':[{'text':_0x45b8e0['to']('message')}]},{'tag':_0x8bf4('0x4'),'attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this[_0x8bf4('0x6')],this[_0x8bf4('0x8')]]}]}]});}[_0x8bf4('0xf')](_0x179720,_0x2c9e37,_0x598c13,_0x4a3b54){const _0x4edccc=new _0x154634(_0x179720);return _0x4edccc[_0x8bf4('0xd')]=_0x2c9e37,_0x4edccc['icon']=_0x598c13,_0x4edccc[_0x8bf4('0x0')]({'attributes':{'class':_0x8bf4('0x7')+_0x4a3b54}}),_0x4edccc['on'](_0x8bf4('0x12'),()=>this[_0x8bf4('0x5')](_0x4a3b54)),_0x4edccc;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5bf3=['invalid-date-time-format','dateTimeFormat','\x27Last\x27\x20EEEE\x20hh:mma','\x27Today\x27\x20hh:mma','function','\x27Yesterday\x27\x20hh:mma'];(function(_0x55dc8f,_0x5bf3ca){const _0x4f403b=function(_0x2ccf4c){while(--_0x2ccf4c){_0x55dc8f['push'](_0x55dc8f['shift']());}};_0x4f403b(++_0x5bf3ca);}(_0x5bf3,0x7a));const _0x4f40=function(_0x55dc8f,_0x5bf3ca){_0x55dc8f=_0x55dc8f-0x0;let _0x4f403b=_0x5bf3[_0x55dc8f];return _0x4f403b;};import _0x268d01 from'date-fns/format';import _0x3d4d74 from'date-fns/parseISO';import _0x54dec3 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x3cace4}from'ckeditor5/src/utils';export default function E(_0x5684d7={}){if(void 0x0!==_0x5684d7['dateTimeFormat']&&_0x4f40('0x2')!=typeof _0x5684d7[_0x4f40('0x5')])throw new _0x3cace4(_0x4f40('0x4'));return _0x23bc36=>{const _0x324d3d='string'==typeof _0x23bc36?_0x3d4d74(_0x23bc36):_0x23bc36,_0x2797a5=new Date(),_0x26af65=_0x54dec3(_0x2797a5,_0x324d3d);return _0x5684d7[_0x4f40('0x5')]?_0x5684d7['dateTimeFormat'](_0x324d3d):_0x268d01(_0x324d3d,0x0===_0x26af65?_0x4f40('0x1'):0x1===_0x26af65?_0x4f40('0x3'):_0x26af65<0x7?_0x4f40('0x0'):'MM-dd-yyyy\x20hh:mma');};}
23
+ const _0x30ac=['invalid-date-time-format','dateTimeFormat','\x27Yesterday\x27\x20hh:mma','\x27Today\x27\x20hh:mma','string'];(function(_0x8768d8,_0x30ac28){const _0x8725f8=function(_0x54e237){while(--_0x54e237){_0x8768d8['push'](_0x8768d8['shift']());}};_0x8725f8(++_0x30ac28);}(_0x30ac,0x87));const _0x8725=function(_0x8768d8,_0x30ac28){_0x8768d8=_0x8768d8-0x0;let _0x8725f8=_0x30ac[_0x8768d8];return _0x8725f8;};import _0x2d0d95 from'date-fns/format';import _0x59037d from'date-fns/parseISO';import _0xa381 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x1f5a6d}from'ckeditor5/src/utils';export default function E(_0x1d0ed0={}){if(void 0x0!==_0x1d0ed0[_0x8725('0x1')]&&'function'!=typeof _0x1d0ed0[_0x8725('0x1')])throw new _0x1f5a6d(_0x8725('0x0'));return _0x43e339=>{const _0x3b7787=_0x8725('0x4')==typeof _0x43e339?_0x59037d(_0x43e339):_0x43e339,_0x2080a7=new Date(),_0x435f90=_0xa381(_0x2080a7,_0x3b7787);return _0x1d0ed0['dateTimeFormat']?_0x1d0ed0[_0x8725('0x1')](_0x3b7787):_0x2d0d95(_0x3b7787,0x0===_0x435f90?_0x8725('0x3'):0x1===_0x435f90?_0x8725('0x2'):_0x435f90<0x7?'\x27Last\x27\x20EEEE\x20hh:mma':'MM-dd-yyyy\x20hh:mma');};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42ea=['view','mapper','markerNameToElements','getClientRects','push','name','domElement','map','values','length','domConverter','from','sort','filter'];(function(_0x1a99eb,_0x42ea5e){const _0x2e962b=function(_0x5315f1){while(--_0x5315f1){_0x1a99eb['push'](_0x1a99eb['shift']());}};_0x2e962b(++_0x42ea5e);}(_0x42ea,0xd3));const _0x2e96=function(_0x1a99eb,_0x42ea5e){_0x1a99eb=_0x1a99eb-0x0;let _0x2e962b=_0x42ea[_0x1a99eb];return _0x2e962b;};import{first as _0x1b24f3}from'ckeditor5/src/utils';export default function k(_0x7fcfe6,_0xf44c45){const _0x1af071=_0x7fcfe6['mapper'][_0x2e96('0x1')](_0xf44c45[_0x2e96('0x4')]);if(!_0x1af071)return null;const _0x581ca8=_0x1b24f3(_0x1af071[_0x2e96('0x7')]());return _0x7fcfe6[_0x2e96('0xd')][_0x2e96('0x9')]['mapViewToDom'](_0x581ca8)||null;}export function getAllMarkersDomElementsSorted(_0x296e1d,_0x561ef5){if(0x0===_0x561ef5['length'])return null;const _0x1b76b7=[],_0x22c5fd=_0x296e1d[_0x2e96('0xd')][_0x2e96('0x9')];for(const _0x1f14bb of _0x561ef5){const _0x1ab02e=_0x296e1d[_0x2e96('0x0')][_0x2e96('0x1')](_0x1f14bb[_0x2e96('0x4')]);if(!_0x1ab02e)continue;const _0x1a8d77=Array[_0x2e96('0xa')](_0x1ab02e)['map'](_0x462b17=>_0x22c5fd['mapViewToDom'](_0x462b17))[_0x2e96('0xc')](_0x44d95f=>!!_0x44d95f);_0x1b76b7[_0x2e96('0x3')](..._0x1a8d77);}if(0x0===_0x1b76b7[_0x2e96('0x8')])return null;const _0x4cf746=[];for(const _0x548171 of _0x1b76b7){const _0x59bbde=_0x548171[_0x2e96('0x2')]()['item'](0x0);_0x59bbde&&_0x4cf746[_0x2e96('0x3')]({'x':_0x59bbde['x'],'y':_0x59bbde['y'],'domElement':_0x548171});}return 0x0===_0x4cf746['length']?null:(_0x4cf746[_0x2e96('0xb')]((_0x2f3839,_0x597ade)=>_0x2f3839['y']-_0x597ade['y']||_0x2f3839['x']-_0x597ade['x']),_0x4cf746[_0x2e96('0x6')](_0xb3581a=>_0xb3581a[_0x2e96('0x5')]));}
23
+ const _0x4b13=['domElement','length','mapper','name','mapViewToDom','values','sort','view','filter','from','push','item','getClientRects','markerNameToElements','domConverter','map'];(function(_0x41562d,_0x4b1315){const _0x51ed2a=function(_0x25ed9b){while(--_0x25ed9b){_0x41562d['push'](_0x41562d['shift']());}};_0x51ed2a(++_0x4b1315);}(_0x4b13,0x176));const _0x51ed=function(_0x41562d,_0x4b1315){_0x41562d=_0x41562d-0x0;let _0x51ed2a=_0x4b13[_0x41562d];return _0x51ed2a;};import{first as _0x379dc7}from'ckeditor5/src/utils';export default function k(_0xa91432,_0x5cd743){const _0x456d25=_0xa91432[_0x51ed('0xc')][_0x51ed('0x7')](_0x5cd743['name']);if(!_0x456d25)return null;const _0xaac46=_0x379dc7(_0x456d25[_0x51ed('0xf')]());return _0xa91432[_0x51ed('0x1')][_0x51ed('0x8')][_0x51ed('0xe')](_0xaac46)||null;}export function getAllMarkersDomElementsSorted(_0x4c08d9,_0x376e4e){if(0x0===_0x376e4e[_0x51ed('0xb')])return null;const _0x2ca6e2=[],_0x33b463=_0x4c08d9[_0x51ed('0x1')][_0x51ed('0x8')];for(const _0xe434e9 of _0x376e4e){const _0x3b6554=_0x4c08d9[_0x51ed('0xc')]['markerNameToElements'](_0xe434e9[_0x51ed('0xd')]);if(!_0x3b6554)continue;const _0x317c9b=Array[_0x51ed('0x3')](_0x3b6554)[_0x51ed('0x9')](_0x24b888=>_0x33b463['mapViewToDom'](_0x24b888))[_0x51ed('0x2')](_0x1dc6b6=>!!_0x1dc6b6);_0x2ca6e2[_0x51ed('0x4')](..._0x317c9b);}if(0x0===_0x2ca6e2[_0x51ed('0xb')])return null;const _0x1adbde=[];for(const _0x300812 of _0x2ca6e2){const _0x4eff60=_0x300812[_0x51ed('0x6')]()[_0x51ed('0x5')](0x0);_0x4eff60&&_0x1adbde[_0x51ed('0x4')]({'x':_0x4eff60['x'],'y':_0x4eff60['y'],'domElement':_0x300812});}return 0x0===_0x1adbde[_0x51ed('0xb')]?null:(_0x1adbde[_0x51ed('0x0')]((_0x573919,_0x38999c)=>_0x573919['y']-_0x38999c['y']||_0x573919['x']-_0x38999c['x']),_0x1adbde['map'](_0x56ca58=>_0x56ca58[_0x51ed('0xa')]));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x43cb=['sign','sort','number','isArray','toString','keys','charCodeAt','boolean'];(function(_0x46bba3,_0x43cbe3){const _0x5dfe29=function(_0x2126fd){while(--_0x2126fd){_0x46bba3['push'](_0x46bba3['shift']());}};_0x5dfe29(++_0x43cbe3);}(_0x43cb,0x18d));const _0x5dfe=function(_0x46bba3,_0x43cbe3){_0x46bba3=_0x46bba3-0x0;let _0x5dfe29=_0x43cb[_0x46bba3];return _0x5dfe29;};export default function b(_0x66546d){let _0x4d2b42=0x0,_0x29cb75=0x0;for(const _0x159d27 of g(_0x66546d))_0x4d2b42=(_0x4d2b42<<0x5)-_0x4d2b42+_0x159d27,_0x4d2b42&=_0x4d2b42,[_0x4d2b42,_0x29cb75]=[_0x29cb75,_0x4d2b42];return O(_0x4d2b42)+O(_0x29cb75);}function*j(_0x262a5d){_0x262a5d?_0x5dfe('0x2')==typeof _0x262a5d?yield 0x1:Array[_0x5dfe('0x6')](_0x262a5d)?yield*function*(_0x42b324){for(const _0x202385 of _0x42b324)yield*j(_0x202385);}(_0x262a5d):'object'==typeof _0x262a5d?yield*g(_0x262a5d):'string'==typeof _0x262a5d?yield*A(_0x262a5d):_0x5dfe('0x5')==typeof _0x262a5d&&(yield _0x262a5d):yield 0x0;}function*g(_0x506e62){if(yield M('{'),_0x506e62){const _0x4ecf92=Object[_0x5dfe('0x0')](_0x506e62)[_0x5dfe('0x4')]();for(const _0x3ad9e2 of _0x4ecf92){yield*A(_0x3ad9e2),yield M(':');const _0xb2f99a=_0x506e62[_0x3ad9e2];yield*j(_0xb2f99a);}}yield M('}');}function*A(_0xbed9ce){yield M('\x22');for(const _0x4d1789 of _0xbed9ce)yield M(_0x4d1789);yield M('\x22');}function M(_0x549050){return _0x549050[_0x5dfe('0x1')](0x0);}function O(_0x232710){return(_0x232710*=Math[_0x5dfe('0x3')](_0x232710))[_0x5dfe('0x7')](0x24);}
23
+ const _0x575b=['sort','isArray','keys','sign','toString','number','boolean','charCodeAt'];(function(_0x422d15,_0x575be9){const _0x3ca94d=function(_0x294ec3){while(--_0x294ec3){_0x422d15['push'](_0x422d15['shift']());}};_0x3ca94d(++_0x575be9);}(_0x575b,0x17a));const _0x3ca9=function(_0x422d15,_0x575be9){_0x422d15=_0x422d15-0x0;let _0x3ca94d=_0x575b[_0x422d15];return _0x3ca94d;};export default function b(_0x1caee5){let _0x480660=0x0,_0x583ca2=0x0;for(const _0x311cd4 of g(_0x1caee5))_0x480660=(_0x480660<<0x5)-_0x480660+_0x311cd4,_0x480660&=_0x480660,[_0x480660,_0x583ca2]=[_0x583ca2,_0x480660];return O(_0x480660)+O(_0x583ca2);}function*j(_0x3feabc){_0x3feabc?_0x3ca9('0x4')==typeof _0x3feabc?yield 0x1:Array[_0x3ca9('0x7')](_0x3feabc)?yield*function*(_0x20b67d){for(const _0x2b2832 of _0x20b67d)yield*j(_0x2b2832);}(_0x3feabc):'object'==typeof _0x3feabc?yield*g(_0x3feabc):'string'==typeof _0x3feabc?yield*A(_0x3feabc):_0x3ca9('0x3')==typeof _0x3feabc&&(yield _0x3feabc):yield 0x0;}function*g(_0x881aa4){if(yield M('{'),_0x881aa4){const _0x1c672f=Object[_0x3ca9('0x0')](_0x881aa4)[_0x3ca9('0x6')]();for(const _0x5da8d8 of _0x1c672f){yield*A(_0x5da8d8),yield M(':');const _0x55f2d2=_0x881aa4[_0x5da8d8];yield*j(_0x55f2d2);}}yield M('}');}function*A(_0x107fff){yield M('\x22');for(const _0x54a495 of _0x107fff)yield M(_0x54a495);yield M('\x22');}function M(_0x448a83){return _0x448a83[_0x3ca9('0x5')](0x0);}function O(_0x27f60d){return(_0x27f60d*=Math[_0x3ca9('0x1')](_0x27f60d))[_0x3ca9('0x2')](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5660=['from','filter','names','includes','set','config','RevisionTracker','constructor','builtinPlugins','rootsAttributes','requires','every','pluginName','map','initialData','extraPlugins','length','removePlugins','get','concat','Autosave','context','toolbar','_context','plugins','DocumentOutline','string','WebSocketGateway','name'];(function(_0x50cb51,_0x56609b){const _0x860650=function(_0x494839){while(--_0x494839){_0x50cb51['push'](_0x50cb51['shift']());}};_0x860650(++_0x56609b);}(_0x5660,0x1b7));const _0x8606=function(_0x50cb51,_0x56609b){_0x50cb51=_0x50cb51-0x0;let _0x860650=_0x5660[_0x50cb51];return _0x860650;};const w=[_0x8606('0xa'),_0x8606('0x11'),_0x8606('0x12'),_0x8606('0x5')],W=[_0x8606('0x17'),_0x8606('0x2'),_0x8606('0x10'),'WordCount',_0x8606('0x15'),'WProofreader'];function v(_0x299043,_0x178996,_0x22f641,_0x2ccd5b=[]){const _0x33a226=_0x8606('0x16')==typeof _0x299043?_0x22f641['get'](_0x299043)[_0x8606('0x3')]:_0x299043,_0x306fbd=_0x33a226[_0x8606('0x8')]||_0x33a226[_0x8606('0x18')];if(_0x178996['has'](_0x306fbd))return _0x178996[_0x8606('0xe')](_0x306fbd);if(_0x178996[_0x8606('0x0')](_0x306fbd,!0x0),_0x306fbd&&W[_0x8606('0xf')](_0x2ccd5b)['includes'](_0x306fbd))return _0x178996[_0x8606('0x0')](_0x306fbd,!0x1),!0x1;if(!_0x33a226['requires'])return _0x178996[_0x8606('0x0')](_0x306fbd,!0x0),!0x0;const _0x25de07=_0x33a226[_0x8606('0x6')][_0x8606('0x7')](_0x1e493e=>v(_0x1e493e,_0x178996,_0x22f641,_0x2ccd5b));return _0x178996[_0x8606('0x0')](_0x306fbd,_0x25de07),_0x25de07;}export default function D(_0x227c0d,_0x3aecc1){const _0x5e1eb1={};for(const _0x4adbfd of _0x227c0d[_0x8606('0x1')][_0x8606('0x1b')]())w['includes'](_0x4adbfd)||(_0x5e1eb1[_0x4adbfd]=_0x227c0d[_0x8606('0x1')][_0x8606('0xe')](_0x4adbfd));const _0xd1d0bb=_0x5e1eb1[_0x8606('0x14')]||[],_0x350b76=_0x227c0d[_0x8606('0x3')][_0x8606('0x4')]||[],_0x3990d9=_0xd1d0bb[_0x8606('0xc')]?_0xd1d0bb:_0x350b76,_0x34ee92=_0x5e1eb1[_0x8606('0xb')]||[];delete _0x5e1eb1['extraPlugins'];const _0x591cc9=_0x5e1eb1[_0x8606('0xd')]||[];delete _0x5e1eb1[_0x8606('0xd')];const _0x2a8614=_0x227c0d[_0x8606('0x13')]['config'][_0x8606('0xe')]('plugins')||[],_0x487189=_0x3990d9[_0x8606('0xf')](_0x34ee92)[_0x8606('0xf')](_0x2a8614)[_0x8606('0x9')](_0x4a6a04=>_0x8606('0x16')==typeof _0x4a6a04?_0x350b76['find'](_0x471cee=>_0x471cee[_0x8606('0x8')]==_0x4a6a04):_0x4a6a04)[_0x8606('0x1a')](_0x1b1a3c=>!_0x591cc9[_0x8606('0x1c')](_0x1b1a3c)),_0x4127cc=Array[_0x8606('0x19')](new Set(_0x487189)),_0x44fbc6=new Map();return _0x5e1eb1[_0x8606('0x14')]=_0x4127cc['filter'](_0x236ef1=>v(_0x236ef1,_0x44fbc6,_0x227c0d[_0x8606('0x14')],_0x3aecc1)),_0x5e1eb1;}
23
+ const _0x2167=['string','from','extraPlugins','DocumentOutline','removePlugins','map','has','set','names','concat','Autosave','plugins','builtinPlugins','WebSocketGateway','WProofreader','WordCount','filter','pluginName','constructor','requires','toolbar','includes','every','get','name','length','config'];(function(_0x5d0fd3,_0x216750){const _0x5ad81e=function(_0x5ef4be){while(--_0x5ef4be){_0x5d0fd3['push'](_0x5d0fd3['shift']());}};_0x5ad81e(++_0x216750);}(_0x2167,0x1eb));const _0x5ad8=function(_0x5d0fd3,_0x216750){_0x5d0fd3=_0x5d0fd3-0x0;let _0x5ad81e=_0x2167[_0x5d0fd3];return _0x5ad81e;};const w=['initialData','context',_0x5ad8('0xf'),'rootsAttributes'],W=[_0x5ad8('0x8'),'RevisionTracker',_0x5ad8('0x5'),_0x5ad8('0xa'),_0x5ad8('0x19'),_0x5ad8('0x9')];function v(_0x501ccd,_0x55f1f7,_0x142e13,_0x25b99f=[]){const _0x58fa32=_0x5ad8('0x16')==typeof _0x501ccd?_0x142e13[_0x5ad8('0x12')](_0x501ccd)[_0x5ad8('0xd')]:_0x501ccd,_0x5c6c21=_0x58fa32[_0x5ad8('0xc')]||_0x58fa32[_0x5ad8('0x13')];if(_0x55f1f7[_0x5ad8('0x1')](_0x5c6c21))return _0x55f1f7[_0x5ad8('0x12')](_0x5c6c21);if(_0x55f1f7[_0x5ad8('0x2')](_0x5c6c21,!0x0),_0x5c6c21&&W[_0x5ad8('0x4')](_0x25b99f)[_0x5ad8('0x10')](_0x5c6c21))return _0x55f1f7[_0x5ad8('0x2')](_0x5c6c21,!0x1),!0x1;if(!_0x58fa32[_0x5ad8('0xe')])return _0x55f1f7[_0x5ad8('0x2')](_0x5c6c21,!0x0),!0x0;const _0x5d3e78=_0x58fa32[_0x5ad8('0xe')][_0x5ad8('0x11')](_0x20850a=>v(_0x20850a,_0x55f1f7,_0x142e13,_0x25b99f));return _0x55f1f7[_0x5ad8('0x2')](_0x5c6c21,_0x5d3e78),_0x5d3e78;}export default function D(_0x12a2fe,_0x943fbe){const _0x3ef268={};for(const _0x4b9f0d of _0x12a2fe[_0x5ad8('0x15')][_0x5ad8('0x3')]())w['includes'](_0x4b9f0d)||(_0x3ef268[_0x4b9f0d]=_0x12a2fe[_0x5ad8('0x15')][_0x5ad8('0x12')](_0x4b9f0d));const _0x1ecedf=_0x3ef268[_0x5ad8('0x6')]||[],_0x262648=_0x12a2fe[_0x5ad8('0xd')][_0x5ad8('0x7')]||[],_0x26c29d=_0x1ecedf[_0x5ad8('0x14')]?_0x1ecedf:_0x262648,_0x3591a2=_0x3ef268[_0x5ad8('0x18')]||[];delete _0x3ef268[_0x5ad8('0x18')];const _0x9aee38=_0x3ef268[_0x5ad8('0x1a')]||[];delete _0x3ef268[_0x5ad8('0x1a')];const _0x21c033=_0x12a2fe['_context'][_0x5ad8('0x15')][_0x5ad8('0x12')](_0x5ad8('0x6'))||[],_0x35f640=_0x26c29d[_0x5ad8('0x4')](_0x3591a2)['concat'](_0x21c033)[_0x5ad8('0x0')](_0x14da5e=>_0x5ad8('0x16')==typeof _0x14da5e?_0x262648['find'](_0x2b31a7=>_0x2b31a7['pluginName']==_0x14da5e):_0x14da5e)[_0x5ad8('0xb')](_0x48fa6f=>!_0x9aee38[_0x5ad8('0x10')](_0x48fa6f)),_0x41b433=Array[_0x5ad8('0x17')](new Set(_0x35f640)),_0x2f0235=new Map();return _0x3ef268[_0x5ad8('0x6')]=_0x41b433[_0x5ad8('0xb')](_0x31897f=>v(_0x31897f,_0x2f0235,_0x12a2fe[_0x5ad8('0x6')],_0x943fbe)),_0x3ef268;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2884=['join','...','startsWith','length','push','match','slice','replace'];(function(_0x1f51dd,_0x2884cd){const _0x7a231b=function(_0x373c7a){while(--_0x373c7a){_0x1f51dd['push'](_0x1f51dd['shift']());}};_0x7a231b(++_0x2884cd);}(_0x2884,0xe7));const _0x7a23=function(_0x1f51dd,_0x2884cd){_0x1f51dd=_0x1f51dd-0x0;let _0x7a231b=_0x2884[_0x1f51dd];return _0x7a231b;};export default function z(_0x454fd2,{limit:_0x3f6933,suffix:_0x42d830=_0x7a23('0x2')}){const _0x139d14=[];let _0x435b28=0x0;const _0x44826e=_0x454fd2['replace'](/</g,'\x0a<')[_0x7a23('0x0')](/>/g,'>\x0a')[_0x7a23('0x0')](/^\n/g,'')[_0x7a23('0x0')](/\n$/g,'')['split']('\x0a');for(let _0x361c7a=0x0;_0x361c7a<_0x44826e['length'];_0x361c7a++){let _0x522e56=_0x44826e[_0x361c7a];const _0x4c2209=Z(_0x522e56);if(_0x522e56[_0x7a23('0x3')]('<')){if(_0x435b28>=_0x3f6933){const _0x505a33=_0x522e56[_0x7a23('0x6')](/[a-zA-Z]+/);if(!_0x505a33){_0x44826e[_0x361c7a]='';continue;}const _0x298dfb=_0x505a33[0x0];_0x522e56[_0x7a23('0x3')]('</')?(_0x139d14[_0x7a23('0x4')]&&(_0x522e56=''),_0x139d14['pop']()):(_0x139d14[_0x7a23('0x5')](_0x298dfb),_0x522e56='');}}else{if(_0x435b28>=_0x3f6933)_0x522e56='';else{if(_0x435b28+_0x4c2209[_0x7a23('0x4')]>=_0x3f6933){let _0x35e17a=_0x3f6933-_0x435b28;if('\x20'===_0x4c2209[_0x35e17a-0x1])_0x35e17a--;else{const _0x182a39=_0x4c2209[_0x7a23('0x7')](_0x35e17a)['indexOf']('\x20');-0x1!==_0x182a39?_0x35e17a+=_0x182a39:_0x35e17a=_0x522e56[_0x7a23('0x4')];}_0x522e56=_0x4c2209['slice'](0x0,_0x35e17a)[_0x7a23('0x1')]('')+_0x42d830,_0x435b28=_0x3f6933;}else _0x435b28+=_0x4c2209[_0x7a23('0x4')];}}_0x44826e[_0x361c7a]=_0x522e56;}return _0x44826e[_0x7a23('0x1')]('\x0a')['replace'](/\n/g,'');}function Z(_0x39be57){const _0x334103=[];for(let _0x5772d2=0x0;_0x5772d2<_0x39be57[_0x7a23('0x4')];_0x5772d2++){const _0x473e9c=_0x39be57['substring'](_0x5772d2)[_0x7a23('0x6')](/^&[a-z0-9#]+;/);if(_0x473e9c){const _0x523443=_0x473e9c[0x0];_0x334103[_0x7a23('0x5')](_0x523443),_0x5772d2+=_0x523443[_0x7a23('0x4')]-0x1;}else _0x334103[_0x7a23('0x5')](_0x39be57[_0x5772d2]);}return _0x334103;}
23
+ const _0xb45f=['...','startsWith','join','length','split','replace','substring','push','slice','pop','match'];(function(_0x263669,_0xb45f8a){const _0x458ca4=function(_0x3e4597){while(--_0x3e4597){_0x263669['push'](_0x263669['shift']());}};_0x458ca4(++_0xb45f8a);}(_0xb45f,0x104));const _0x458c=function(_0x263669,_0xb45f8a){_0x263669=_0x263669-0x0;let _0x458ca4=_0xb45f[_0x263669];return _0x458ca4;};export default function z(_0x21b53d,{limit:_0x2c1b53,suffix:_0x37d3a5=_0x458c('0x4')}){const _0x3d12cb=[];let _0x1c2262=0x0;const _0x5f4570=_0x21b53d[_0x458c('0x9')](/</g,'\x0a<')[_0x458c('0x9')](/>/g,'>\x0a')[_0x458c('0x9')](/^\n/g,'')[_0x458c('0x9')](/\n$/g,'')[_0x458c('0x8')]('\x0a');for(let _0x1c848c=0x0;_0x1c848c<_0x5f4570['length'];_0x1c848c++){let _0x5f265f=_0x5f4570[_0x1c848c];const _0x2761cb=Z(_0x5f265f);if(_0x5f265f[_0x458c('0x5')]('<')){if(_0x1c2262>=_0x2c1b53){const _0x3460be=_0x5f265f[_0x458c('0x3')](/[a-zA-Z]+/);if(!_0x3460be){_0x5f4570[_0x1c848c]='';continue;}const _0x37122c=_0x3460be[0x0];_0x5f265f[_0x458c('0x5')]('</')?(_0x3d12cb[_0x458c('0x7')]&&(_0x5f265f=''),_0x3d12cb[_0x458c('0x2')]()):(_0x3d12cb[_0x458c('0x0')](_0x37122c),_0x5f265f='');}}else{if(_0x1c2262>=_0x2c1b53)_0x5f265f='';else{if(_0x1c2262+_0x2761cb[_0x458c('0x7')]>=_0x2c1b53){let _0x353e49=_0x2c1b53-_0x1c2262;if('\x20'===_0x2761cb[_0x353e49-0x1])_0x353e49--;else{const _0x3caa54=_0x2761cb[_0x458c('0x1')](_0x353e49)['indexOf']('\x20');-0x1!==_0x3caa54?_0x353e49+=_0x3caa54:_0x353e49=_0x5f265f['length'];}_0x5f265f=_0x2761cb[_0x458c('0x1')](0x0,_0x353e49)[_0x458c('0x6')]('')+_0x37d3a5,_0x1c2262=_0x2c1b53;}else _0x1c2262+=_0x2761cb['length'];}}_0x5f4570[_0x1c848c]=_0x5f265f;}return _0x5f4570[_0x458c('0x6')]('\x0a')[_0x458c('0x9')](/\n/g,'');}function Z(_0xc7ab2d){const _0x37f3b4=[];for(let _0x469163=0x0;_0x469163<_0xc7ab2d[_0x458c('0x7')];_0x469163++){const _0x4ceff9=_0xc7ab2d[_0x458c('0xa')](_0x469163)[_0x458c('0x3')](/^&[a-z0-9#]+;/);if(_0x4ceff9){const _0xc911d6=_0x4ceff9[0x0];_0x37f3b4[_0x458c('0x0')](_0xc911d6),_0x469163+=_0xc911d6['length']-0x1;}else _0x37f3b4[_0x458c('0x0')](_0xc7ab2d[_0x469163]);}return _0x37f3b4;}