@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20230821.1 → 0.0.0-nightly-20230822.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-20230821.1",
3
+ "version": "0.0.0-nightly-20230822.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-20230821.1",
34
+ "ckeditor5": "0.0.0-nightly-20230822.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 _0xf492=['isEnabled','enableReadOnlyMode','get','editors','setPermissions','includes','collaboration.channelId','CommentsRepository','find','disableReadOnlyMode','comment:admin','commands','config','has','noPermissions','Permissions','comment:write','permissions-set-permissions-invalid-channel-id','CommentsOnly','context','no-permissions','clearForceDisabled'];(function(_0x40c681,_0xf49286){const _0x88d356=function(_0x3ee1c5){while(--_0x3ee1c5){_0x40c681['push'](_0x40c681['shift']());}};_0x88d356(++_0xf49286);}(_0xf492,0x174));const _0x88d3=function(_0x40c681,_0xf49286){_0x40c681=_0x40c681-0x0;let _0x88d356=_0xf492[_0x40c681];return _0x88d356;};import{ContextPlugin as _0x5bd1b6,Editor as _0x1c7c75}from'ckeditor5/src/core';import{CKEditorError as _0x891bb7}from'ckeditor5/src/utils';export default class n extends _0x5bd1b6{static get['pluginName'](){return _0x88d3('0x11');}[_0x88d3('0x6')](_0x1cac90,_0x2aead6){let _0x572eaa;if(_0x2aead6||(_0x2aead6=this[_0x88d3('0x15')]['config'][_0x88d3('0x4')](_0x88d3('0x8'))),this[_0x88d3('0x15')][_0x88d3('0xe')][_0x88d3('0x4')]('collaboration.channelId')==_0x2aead6?_0x572eaa=this['context']:'editors'in this[_0x88d3('0x15')]&&this[_0x88d3('0x15')]['editors']&&(_0x572eaa=this['context'][_0x88d3('0x5')][_0x88d3('0xa')](_0x3ac7e6=>_0x3ac7e6['config'][_0x88d3('0x4')]('collaboration.channelId')==_0x2aead6)),!_0x572eaa)throw new _0x891bb7(_0x88d3('0x13'),null);const _0x4aef43=_0x572eaa['plugins'],_0x5b2be9=_0x4aef43[_0x88d3('0xf')](_0x88d3('0x9'))?_0x4aef43[_0x88d3('0x4')]('CommentsRepository'):void 0x0,_0xe8f297=_0x4aef43[_0x88d3('0xf')](_0x88d3('0x14'))&&_0x4aef43[_0x88d3('0x4')](_0x88d3('0x14')),_0x27bb04=_0x1cac90['includes']('document:write'),_0x5ef7bd=_0x1cac90[_0x88d3('0x7')]('comment:modify_all'),_0x282d39=_0x1cac90[_0x88d3('0x7')](_0x88d3('0xc')),_0x16be32=_0x1cac90[_0x88d3('0x7')](_0x88d3('0x12')),_0x163cda=_0x16be32||_0x282d39,_0x53e94e=_0x163cda||_0x5ef7bd,_0x3a1aaa=_0x27bb04||_0x163cda;(_0xe8f297&&(_0xe8f297[_0x88d3('0x2')]=!_0x27bb04&&_0x53e94e),_0x572eaa instanceof _0x1c7c75)&&(!(_0x27bb04||_0x53e94e&&_0x5b2be9)?_0x572eaa[_0x88d3('0x3')](_0x88d3('0x0')):_0x572eaa[_0x88d3('0xb')](_0x88d3('0x0')));if(_0x5b2be9){_0x5b2be9['setPermissions']({'admin':_0x282d39,'modifyAll':_0x5ef7bd,'write':_0x16be32,'resolve':_0x3a1aaa},_0x2aead6);const _0x5019c4=_0x572eaa instanceof _0x1c7c75&&_0x572eaa[_0x88d3('0xd')][_0x88d3('0x4')]('addCommentThread');_0x5019c4&&(_0x163cda?_0x5019c4[_0x88d3('0x1')]('noPermissions'):_0x5019c4['forceDisabled'](_0x88d3('0x10')));}}}
23
+ const _0x5b7e=['includes','find','forceDisabled','context','plugins','comment:modify_all','comment:write','collaboration.channelId','addCommentThread','isEnabled','commands','enableReadOnlyMode','setPermissions','config','editors','comment:admin','clearForceDisabled','get','has','disableReadOnlyMode','CommentsRepository','document:write','pluginName','no-permissions','noPermissions','CommentsOnly','Permissions'];(function(_0x15b1da,_0x5b7e0d){const _0x3b6bbb=function(_0x42a9f6){while(--_0x42a9f6){_0x15b1da['push'](_0x15b1da['shift']());}};_0x3b6bbb(++_0x5b7e0d);}(_0x5b7e,0xbf));const _0x3b6b=function(_0x15b1da,_0x5b7e0d){_0x15b1da=_0x15b1da-0x0;let _0x3b6bbb=_0x5b7e[_0x15b1da];return _0x3b6bbb;};import{ContextPlugin as _0x2b9411,Editor as _0x449d2e}from'ckeditor5/src/core';import{CKEditorError as _0xbf8a8b}from'ckeditor5/src/utils';export default class n extends _0x2b9411{static get[_0x3b6b('0x14')](){return _0x3b6b('0x18');}[_0x3b6b('0xa')](_0x254d03,_0x3467d8){let _0x2e3e61;if(_0x3467d8||(_0x3467d8=this[_0x3b6b('0x1')][_0x3b6b('0xb')]['get'](_0x3b6b('0x5'))),this[_0x3b6b('0x1')][_0x3b6b('0xb')][_0x3b6b('0xf')](_0x3b6b('0x5'))==_0x3467d8?_0x2e3e61=this[_0x3b6b('0x1')]:_0x3b6b('0xc')in this[_0x3b6b('0x1')]&&this[_0x3b6b('0x1')][_0x3b6b('0xc')]&&(_0x2e3e61=this['context'][_0x3b6b('0xc')][_0x3b6b('0x1a')](_0x173137=>_0x173137[_0x3b6b('0xb')][_0x3b6b('0xf')](_0x3b6b('0x5'))==_0x3467d8)),!_0x2e3e61)throw new _0xbf8a8b('permissions-set-permissions-invalid-channel-id',null);const _0x299a28=_0x2e3e61[_0x3b6b('0x2')],_0x10f6b7=_0x299a28[_0x3b6b('0x10')]('CommentsRepository')?_0x299a28[_0x3b6b('0xf')](_0x3b6b('0x12')):void 0x0,_0x46b6dd=_0x299a28[_0x3b6b('0x10')]('CommentsOnly')&&_0x299a28['get'](_0x3b6b('0x17')),_0x1813ca=_0x254d03['includes'](_0x3b6b('0x13')),_0xee7755=_0x254d03[_0x3b6b('0x19')](_0x3b6b('0x3')),_0x32150b=_0x254d03[_0x3b6b('0x19')](_0x3b6b('0xd')),_0x41ddf0=_0x254d03[_0x3b6b('0x19')](_0x3b6b('0x4')),_0xefbddc=_0x41ddf0||_0x32150b,_0xcead1c=_0xefbddc||_0xee7755,_0x115f2b=_0x1813ca||_0xefbddc;(_0x46b6dd&&(_0x46b6dd[_0x3b6b('0x7')]=!_0x1813ca&&_0xcead1c),_0x2e3e61 instanceof _0x449d2e)&&(!(_0x1813ca||_0xcead1c&&_0x10f6b7)?_0x2e3e61[_0x3b6b('0x9')](_0x3b6b('0x15')):_0x2e3e61[_0x3b6b('0x11')](_0x3b6b('0x15')));if(_0x10f6b7){_0x10f6b7[_0x3b6b('0xa')]({'admin':_0x32150b,'modifyAll':_0xee7755,'write':_0x41ddf0,'resolve':_0x115f2b},_0x3467d8);const _0x5c6aef=_0x2e3e61 instanceof _0x449d2e&&_0x2e3e61[_0x3b6b('0x8')]['get'](_0x3b6b('0x6'));_0x5c6aef&&(_0xefbddc?_0x5c6aef[_0x3b6b('0xe')](_0x3b6b('0x16')):_0x5c6aef[_0x3b6b('0x0')](_0x3b6b('0x16')));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ea3=['setTemplate','div','ck-user__anonymous','content','ck-user__img','name','ck-user__notification','ck\x20ck-user__name','ck-user__icon','push','avatar','initials','ck-user__avatar','ck-user','ck\x20ck-user__name\x20ck-user__name--hidden','isAnonymous','notificationView'];(function(_0x2aee56,_0x5ea34b){const _0x49187a=function(_0x3f8d6c){while(--_0x3f8d6c){_0x2aee56['push'](_0x2aee56['shift']());}};_0x49187a(++_0x5ea34b);}(_0x5ea3,0x118));const _0x4918=function(_0x2aee56,_0x5ea34b){_0x2aee56=_0x2aee56-0x0;let _0x49187a=_0x5ea3[_0x2aee56];return _0x49187a;};import{View as _0x464dfb,IconView as _0x1bddc6}from'ckeditor5/src/ui';import _0x1594a6 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x464dfb{constructor(_0x516919,_0x12c6d0,_0x5cd932){super(_0x516919),this[_0x4918('0xe')]=_0x12c6d0[_0x4918('0xe')],this[_0x4918('0x8')]=null;const _0x3be9f6=['ck',_0x4918('0xd')];if(_0x12c6d0[_0x4918('0x7')]&&_0x3be9f6[_0x4918('0x1')](_0x4918('0xb')),_0x12c6d0[_0x4918('0x2')]&&_0x3be9f6[_0x4918('0x1')](_0x4918('0x4')),_0x5cd932){const _0x486241=new _0x1bddc6();_0x486241['extendTemplate']({'attributes':{'class':[_0x4918('0x0')]}}),_0x486241[_0x4918('0xc')]=_0x1594a6,this[_0x4918('0x8')]={'tag':_0x4918('0xa'),'attributes':{'class':['ck',_0x4918('0xf')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x5cd932},'children':[_0x486241]};}const _0x396b6f=[{'tag':'div','attributes':{'class':_0x3be9f6,'style':{'background-image':_0x12c6d0[_0x4918('0x2')]?'url(\x27'+_0x12c6d0[_0x4918('0x2')]+'\x27)':''}}},{'tag':_0x4918('0xa'),'attributes':{'class':_0x12c6d0[_0x4918('0x2')]?_0x4918('0x6'):_0x4918('0x10')},'children':[{'text':_0x12c6d0[_0x4918('0x3')]}]}];this['notificationView']&&_0x396b6f[_0x4918('0x1')](this[_0x4918('0x8')]),this[_0x4918('0x9')]({'tag':_0x4918('0xa'),'attributes':{'class':['ck',_0x4918('0x5')],'data-user-id':_0x12c6d0['id']},'children':_0x396b6f});}}
23
+ const _0x37bc=['ck-user__img','notificationView','isAnonymous','ck-user__avatar','ck-user','push','setTemplate','div','ck-user__notification','initials','ck-user__icon','ck-user__anonymous','extendTemplate','avatar','url(\x27','ck\x20ck-user__name','name','content'];(function(_0x5545e3,_0x37bca5){const _0x40bb50=function(_0x4ffb68){while(--_0x4ffb68){_0x5545e3['push'](_0x5545e3['shift']());}};_0x40bb50(++_0x37bca5);}(_0x37bc,0x1ca));const _0x40bb=function(_0x5545e3,_0x37bca5){_0x5545e3=_0x5545e3-0x0;let _0x40bb50=_0x37bc[_0x5545e3];return _0x40bb50;};import{View as _0x1ea55e,IconView as _0x288154}from'ckeditor5/src/ui';import _0x355933 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x1ea55e{constructor(_0x5ec0eb,_0x82648b,_0x18d12e){super(_0x5ec0eb),this[_0x40bb('0x8')]=_0x82648b[_0x40bb('0x8')],this['notificationView']=null;const _0x38717e=['ck',_0x40bb('0xa')];if(_0x82648b[_0x40bb('0xc')]&&_0x38717e[_0x40bb('0xf')](_0x40bb('0x3')),_0x82648b[_0x40bb('0x5')]&&_0x38717e[_0x40bb('0xf')](_0x40bb('0xd')),_0x18d12e){const _0x18d57a=new _0x288154();_0x18d57a[_0x40bb('0x4')]({'attributes':{'class':[_0x40bb('0x2')]}}),_0x18d57a[_0x40bb('0x9')]=_0x355933,this[_0x40bb('0xb')]={'tag':_0x40bb('0x11'),'attributes':{'class':['ck',_0x40bb('0x0')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x18d12e},'children':[_0x18d57a]};}const _0x285948=[{'tag':_0x40bb('0x11'),'attributes':{'class':_0x38717e,'style':{'background-image':_0x82648b[_0x40bb('0x5')]?_0x40bb('0x6')+_0x82648b[_0x40bb('0x5')]+'\x27)':''}}},{'tag':_0x40bb('0x11'),'attributes':{'class':_0x82648b[_0x40bb('0x5')]?'ck\x20ck-user__name\x20ck-user__name--hidden':_0x40bb('0x7')},'children':[{'text':_0x82648b[_0x40bb('0x1')]}]}];this[_0x40bb('0xb')]&&_0x285948[_0x40bb('0xf')](this[_0x40bb('0xb')]),this[_0x40bb('0x10')]({'tag':_0x40bb('0x11'),'attributes':{'class':['ck',_0x40bb('0xe')],'data-user-id':_0x82648b['id']},'children':_0x285948});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x336d=['_addAnonymousUser','licenseKeyInvalid','ck-user__bg-color--','addUser','users-add-invalid-id','config','_locale','trim','color','getMarkerClass','_lastColor','toUpperCase','pluginName','context','string','_isAnonymous','_myId','licenseKeyTrial','licenseKey','ck-user__marker--','charAt','_id','licenseKeyValid','name','getOperationAuthor','users-me-already-defined','users.anonymousUserId','locale','users','define','has','_getNextColor','getUser','avatar','users.colorsCount','licenseKeyTrialLimit:time','requires','licenseKeyTrialLimit:revisions','info','isAnonymous','length','_licenseKeyCheckInterval','invalid-license-key','defineMe','init','licenseKeyTrialLimit:operations','_getInitial','ck-user__selection--','split','includes','trial-license-key-reached-limit-changes','get','Anonymous','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.','useAnonymousUser'];(function(_0x129895,_0x336d2d){const _0x29bb0a=function(_0x3b7384){while(--_0x3b7384){_0x129895['push'](_0x129895['shift']());}};_0x29bb0a(++_0x336d2d);}(_0x336d,0xb2));const _0x29bb=function(_0x129895,_0x336d2d){_0x129895=_0x129895-0x0;let _0x29bb0a=_0x336d[_0x129895];return _0x29bb0a;};import{ContextPlugin as _0x2560dc}from'ckeditor5/src/core';import{Collection as _0x1629c6,CKEditorError as _0x13f32d}from'ckeditor5/src/utils';import _0x240dfb from'./permissions';import{getTranslation as _0x21a8c0}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x2560dc{static get[_0x29bb('0x36')](){return'Users';}static get[_0x29bb('0x17')](){return[_0x240dfb];}constructor(_0x55bcce){super(_0x55bcce),this[_0x29bb('0x0')]['config'][_0x29bb('0x10')]('users.anonymousUserId','anonymous-user'),this[_0x29bb('0x0')]['config']['define'](_0x29bb('0x15'),0x8),this['users']=new _0x1629c6(),this['_locale']=_0x55bcce[_0x29bb('0xe')],this[_0x29bb('0x1c')]=null,this[_0x29bb('0x34')]=0x0,this[_0x29bb('0x3')]=null,this['decorate'](_0x29bb('0xb'));}[_0x29bb('0x1f')](){const _0x1b2a7b=this[_0x29bb('0x0')];this['licenseKey']=_0x1b2a7b[_0x29bb('0x2f')][_0x29bb('0x26')](_0x29bb('0x5'));const _0x4c681b=[_0x29bb('0x4'),_0x29bb('0x2b'),_0x29bb('0x9'),_0x29bb('0x20'),'licenseKeyTrialLimit:time','licenseKeyTrialLimit:revisions'];this[_0x29bb('0x1c')]=setInterval(()=>{let _0x4903d6;for(const _0x2d296c in _0x1b2a7b){const _0x18a6a0=_0x1b2a7b[_0x2d296c];if(_0x4c681b[_0x29bb('0x24')](_0x18a6a0)){delete _0x1b2a7b[_0x2d296c],_0x4903d6=_0x18a6a0;break;}}if(_0x29bb('0x2b')===_0x4903d6)throw clearInterval(this[_0x29bb('0x1c')]),new _0x13f32d(_0x29bb('0x1d'),null);if('licenseKeyTrial'===_0x4903d6&&console[_0x29bb('0x19')](_0x29bb('0x28')),_0x29bb('0x20')===_0x4903d6)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x13f32d(_0x29bb('0x25'),null);if(_0x29bb('0x16')===_0x4903d6)throw clearInterval(this[_0x29bb('0x1c')]),new _0x13f32d('trial-license-key-reached-limit-time',null);if(_0x29bb('0x18')===_0x4903d6)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x13f32d('trial-license-key-reached-limit-revisions',null);'licenseKeyValid'===_0x4903d6&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this[_0x29bb('0x2a')]();}get['me'](){return null==this[_0x29bb('0x3')]?null:this[_0x29bb('0x13')](this[_0x29bb('0x3')]);}[_0x29bb('0x2d')]({id:_0x3d17ff,name:_0x15d212,..._0x26086b}){if(!_0x3d17ff||_0x29bb('0x1')!=typeof _0x3d17ff)throw new _0x13f32d(_0x29bb('0x2e'));if(this[_0x29bb('0xf')][_0x29bb('0x11')](_0x3d17ff))throw new _0x13f32d('users-add-duplicated-id',null,{'id':_0x3d17ff});const _0x4c7b2e={..._0x26086b,'id':_0x3d17ff,'name':a(this[_0x29bb('0x30')],_0x15d212),'color':this[_0x29bb('0x12')]()};_0x4c7b2e[_0x29bb('0xa')]=a(this[_0x29bb('0x30')],_0x4c7b2e[_0x29bb('0xa')]);const _0x2e66ba=new User(_0x4c7b2e);return this[_0x29bb('0xf')]['add'](_0x2e66ba),_0x2e66ba;}[_0x29bb('0x13')](_0x3d26b5){return this[_0x29bb('0xf')][_0x29bb('0x26')](_0x3d26b5);}[_0x29bb('0x29')](){const _0x1d87f6=this[_0x29bb('0x0')][_0x29bb('0x2f')][_0x29bb('0x26')](_0x29bb('0xd'));this[_0x29bb('0x3')]||this[_0x29bb('0x1e')](_0x1d87f6);}['defineMe'](_0x5335e3){if(this[_0x29bb('0x3')])throw new _0x13f32d(_0x29bb('0xc'),null);if(!this[_0x29bb('0x13')](_0x5335e3))throw new _0x13f32d('users-me-missing-user',null);this[_0x29bb('0x3')]=_0x5335e3;}[_0x29bb('0xb')](){return this['me'];}['destroy'](){super['destroy'](),clearInterval(this[_0x29bb('0x1c')]);}[_0x29bb('0x12')](){const _0x5180a2=this['context']['config'][_0x29bb('0x26')](_0x29bb('0x15'));return this['_lastColor']>=_0x5180a2&&(this[_0x29bb('0x34')]=0x0),new u(this['_lastColor']++);}['_addAnonymousUser'](){const _0x4640d3=this['context']['config']['get'](_0x29bb('0xd'));this[_0x29bb('0x2d')]({'id':_0x4640d3,'name':_0x21a8c0(this['_locale'],_0x29bb('0x27'))})['_isAnonymous']=!0x0;}}export class User{constructor(_0x1b7e81){this['id']=_0x1b7e81['id'],this[_0x29bb('0x32')]=_0x1b7e81[_0x29bb('0x32')],this[_0x29bb('0xa')]=_0x1b7e81[_0x29bb('0xa')],this[_0x29bb('0x14')]=_0x1b7e81[_0x29bb('0x14')],this['_isAnonymous']=!0x1;}get[_0x29bb('0x1a')](){return this[_0x29bb('0x2')];}get['initials'](){const _0x2a2e9=this[_0x29bb('0xa')][_0x29bb('0x23')]('\x20');return 0x1===_0x2a2e9['length']?this['_getInitial'](_0x2a2e9[0x0]):this[_0x29bb('0x21')](_0x2a2e9[0x0])+this[_0x29bb('0x21')](_0x2a2e9[_0x2a2e9[_0x29bb('0x1b')]-0x1]);}['_getInitial'](_0x152fec){return _0x152fec[_0x29bb('0x7')](0x0)[_0x29bb('0x35')]();}}function a(_0x43dcfc,_0xe1baeb=''){return''==(_0xe1baeb=_0xe1baeb[_0x29bb('0x31')]())?_0x21a8c0(_0x43dcfc,_0x29bb('0x27')):_0xe1baeb;}class u{constructor(_0x3de321){this['_id']=_0x3de321;}['getBackgroundColorClass'](){return _0x29bb('0x2c')+this[_0x29bb('0x8')];}['getSelectionClass'](){return _0x29bb('0x22')+this[_0x29bb('0x8')];}[_0x29bb('0x33')](){return _0x29bb('0x6')+this[_0x29bb('0x8')];}}
23
+ const _0x482e=['_id','length','initials','color','users.colorsCount','useAnonymousUser','_isAnonymous','users-me-missing-user','split','_licenseKeyCheckInterval','locale','getUser','_getInitial','destroy','licenseKeyTrialLimit:operations','anonymous-user','getBackgroundColorClass','licenseKeyTrialLimit:revisions','name','Anonymous','licenseKeyInvalid','trial-license-key-reached-limit-revisions','charAt','invalid-license-key','users','getOperationAuthor','users-add-duplicated-id','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.','config','define','users-me-already-defined','decorate','_myId','Users','has','ck-user__selection--','defineMe','_locale','trial-license-key-reached-limit-changes','includes','get','requires','pluginName','users.anonymousUserId','addUser','add','trial-license-key-reached-limit-time','licenseKeyTrial','context','avatar','getMarkerClass','licenseKeyTrialLimit:time','_getNextColor','licenseKey','_lastColor','ck-user__marker--','trim','licenseKeyValid','info','_addAnonymousUser'];(function(_0x29d7a3,_0x482e9b){const _0x231bdc=function(_0x11065b){while(--_0x11065b){_0x29d7a3['push'](_0x29d7a3['shift']());}};_0x231bdc(++_0x482e9b);}(_0x482e,0x113));const _0x231b=function(_0x29d7a3,_0x482e9b){_0x29d7a3=_0x29d7a3-0x0;let _0x231bdc=_0x482e[_0x29d7a3];return _0x231bdc;};import{ContextPlugin as _0x39b2b8}from'ckeditor5/src/core';import{Collection as _0x1ae634,CKEditorError as _0x2457c3}from'ckeditor5/src/utils';import _0x49f38f from'./permissions';import{getTranslation as _0x101f51}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x39b2b8{static get[_0x231b('0x7')](){return _0x231b('0x3a');}static get[_0x231b('0x6')](){return[_0x49f38f];}constructor(_0x168bf7){super(_0x168bf7),this[_0x231b('0xd')][_0x231b('0x35')][_0x231b('0x36')](_0x231b('0x8'),_0x231b('0x28')),this[_0x231b('0xd')]['config'][_0x231b('0x36')](_0x231b('0x1d'),0x8),this['users']=new _0x1ae634(),this[_0x231b('0x2')]=_0x168bf7[_0x231b('0x23')],this['_licenseKeyCheckInterval']=null,this[_0x231b('0x13')]=0x0,this[_0x231b('0x39')]=null,this[_0x231b('0x38')](_0x231b('0x32'));}['init'](){const _0x405710=this[_0x231b('0xd')];this[_0x231b('0x12')]=_0x405710[_0x231b('0x35')][_0x231b('0x5')](_0x231b('0x12'));const _0x3ecd6c=['licenseKeyTrial',_0x231b('0x2d'),_0x231b('0x16'),_0x231b('0x27'),_0x231b('0x10'),_0x231b('0x2a')];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2d300c;for(const _0xae7ae5 in _0x405710){const _0x4f47e5=_0x405710[_0xae7ae5];if(_0x3ecd6c[_0x231b('0x4')](_0x4f47e5)){delete _0x405710[_0xae7ae5],_0x2d300c=_0x4f47e5;break;}}if(_0x231b('0x2d')===_0x2d300c)throw clearInterval(this[_0x231b('0x22')]),new _0x2457c3(_0x231b('0x30'),null);if(_0x231b('0xc')===_0x2d300c&&console[_0x231b('0x17')](_0x231b('0x34')),_0x231b('0x27')===_0x2d300c)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x2457c3(_0x231b('0x3'),null);if('licenseKeyTrialLimit:time'===_0x2d300c)throw clearInterval(this[_0x231b('0x22')]),new _0x2457c3(_0x231b('0xb'),null);if(_0x231b('0x2a')===_0x2d300c)throw clearInterval(this[_0x231b('0x22')]),new _0x2457c3(_0x231b('0x2e'),null);_0x231b('0x16')===_0x2d300c&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this[_0x231b('0x18')]();}get['me'](){return null==this['_myId']?null:this['getUser'](this[_0x231b('0x39')]);}[_0x231b('0x9')]({id:_0x8da1d6,name:_0x43acdf,..._0x28cfc3}){if(!_0x8da1d6||'string'!=typeof _0x8da1d6)throw new _0x2457c3('users-add-invalid-id');if(this[_0x231b('0x31')][_0x231b('0x3b')](_0x8da1d6))throw new _0x2457c3(_0x231b('0x33'),null,{'id':_0x8da1d6});const _0x1392f8={..._0x28cfc3,'id':_0x8da1d6,'name':a(this[_0x231b('0x2')],_0x43acdf),'color':this[_0x231b('0x11')]()};_0x1392f8[_0x231b('0x2b')]=a(this[_0x231b('0x2')],_0x1392f8['name']);const _0xb944c6=new User(_0x1392f8);return this[_0x231b('0x31')][_0x231b('0xa')](_0xb944c6),_0xb944c6;}['getUser'](_0x1f0b77){return this['users'][_0x231b('0x5')](_0x1f0b77);}[_0x231b('0x1e')](){const _0x3d94c4=this['context'][_0x231b('0x35')][_0x231b('0x5')]('users.anonymousUserId');this[_0x231b('0x39')]||this[_0x231b('0x1')](_0x3d94c4);}[_0x231b('0x1')](_0x29bb36){if(this[_0x231b('0x39')])throw new _0x2457c3(_0x231b('0x37'),null);if(!this[_0x231b('0x24')](_0x29bb36))throw new _0x2457c3(_0x231b('0x20'),null);this[_0x231b('0x39')]=_0x29bb36;}['getOperationAuthor'](){return this['me'];}[_0x231b('0x26')](){super[_0x231b('0x26')](),clearInterval(this[_0x231b('0x22')]);}[_0x231b('0x11')](){const _0x14f640=this[_0x231b('0xd')]['config'][_0x231b('0x5')](_0x231b('0x1d'));return this[_0x231b('0x13')]>=_0x14f640&&(this[_0x231b('0x13')]=0x0),new u(this[_0x231b('0x13')]++);}['_addAnonymousUser'](){const _0x1e6476=this[_0x231b('0xd')][_0x231b('0x35')]['get'](_0x231b('0x8'));this[_0x231b('0x9')]({'id':_0x1e6476,'name':_0x101f51(this[_0x231b('0x2')],_0x231b('0x2c'))})['_isAnonymous']=!0x0;}}export class User{constructor(_0x47ac88){this['id']=_0x47ac88['id'],this[_0x231b('0x1c')]=_0x47ac88[_0x231b('0x1c')],this[_0x231b('0x2b')]=_0x47ac88[_0x231b('0x2b')],this[_0x231b('0xe')]=_0x47ac88[_0x231b('0xe')],this[_0x231b('0x1f')]=!0x1;}get['isAnonymous'](){return this[_0x231b('0x1f')];}get[_0x231b('0x1b')](){const _0x55de32=this[_0x231b('0x2b')][_0x231b('0x21')]('\x20');return 0x1===_0x55de32[_0x231b('0x1a')]?this['_getInitial'](_0x55de32[0x0]):this['_getInitial'](_0x55de32[0x0])+this[_0x231b('0x25')](_0x55de32[_0x55de32[_0x231b('0x1a')]-0x1]);}[_0x231b('0x25')](_0x34ca94){return _0x34ca94[_0x231b('0x2f')](0x0)['toUpperCase']();}}function a(_0x16ee89,_0x56184d=''){return''==(_0x56184d=_0x56184d[_0x231b('0x15')]())?_0x101f51(_0x16ee89,_0x231b('0x2c')):_0x56184d;}class u{constructor(_0x48b121){this['_id']=_0x48b121;}[_0x231b('0x29')](){return'ck-user__bg-color--'+this['_id'];}['getSelectionClass'](){return _0x231b('0x0')+this[_0x231b('0x19')];}[_0x231b('0xf')](){return _0x231b('0x14')+this[_0x231b('0x19')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x3944ea,_0x171bba){const t=_0x3944ea['t'];switch(_0x171bba){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(_0x814816,_0x1ad1c6){const t=_0x814816['t'];switch(_0x1ad1c6){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 _0x5f4d=['fire','locale','deregisterChild','appendChild','once','submit','destroy','cancel','focus','confirmView','isConfirm','_removeConfirm','element','registerChild','cancelConfirm'];(function(_0x3c6da8,_0x5f4dca){var _0x153d17=function(_0x467203){while(--_0x467203){_0x3c6da8['push'](_0x3c6da8['shift']());}};_0x153d17(++_0x5f4dca);}(_0x5f4d,0x162));var _0x153d=function(_0x3c6da8,_0x5f4dca){_0x3c6da8=_0x3c6da8-0x0;var _0x153d17=_0x5f4d[_0x3c6da8];return _0x153d17;};import _0x3cbf9e from'./confirmview';export default function m(_0x25bcd6){return class extends _0x25bcd6{['showConfirm'](_0x243eae,_0x5a7c44){return this['confirmView']=new _0x3cbf9e(this[_0x153d('0x7')]),this['confirmView']['render'](),this['confirmView']['message']=_0x243eae,this[_0x153d('0x0')][_0x153d('0xa')](_0x153d('0xd'),()=>{this['_removeConfirm']();}),this[_0x153d('0x0')][_0x153d('0xa')]('submit',()=>{this['_removeConfirm']();}),_0x5a7c44[_0x153d('0x9')](this[_0x153d('0x0')]['element']),this[_0x153d('0x4')](this[_0x153d('0x0')]),this[_0x153d('0x3')][_0x153d('0xe')](),this['set'](_0x153d('0x1'),!0x0),new Promise(_0x3d178b=>this[_0x153d('0x0')]['on'](_0x153d('0xb'),_0x3d178b));}[_0x153d('0x5')](){this[_0x153d('0x1')]&&this[_0x153d('0x0')][_0x153d('0x6')](_0x153d('0xd'));}[_0x153d('0x2')](){this['element']&&this['confirmView']&&this[_0x153d('0x0')][_0x153d('0x3')]&&(this[_0x153d('0x3')][_0x153d('0xe')](),this[_0x153d('0x0')][_0x153d('0x3')]['remove'](),this[_0x153d('0x8')](this[_0x153d('0x0')]),this[_0x153d('0x1')]=!0x1,this[_0x153d('0x0')][_0x153d('0xc')](),this['confirmView']=void 0x0);}};}
23
+ var _0x1ede=['locale','focus','cancelConfirm','_removeConfirm','message','isConfirm','cancel','deregisterChild','remove','once','fire','render','confirmView','submit','element','registerChild','showConfirm'];(function(_0x2525a1,_0x1ede7b){var _0x2f956a=function(_0x3df68d){while(--_0x3df68d){_0x2525a1['push'](_0x2525a1['shift']());}};_0x2f956a(++_0x1ede7b);}(_0x1ede,0x100));var _0x2f95=function(_0x2525a1,_0x1ede7b){_0x2525a1=_0x2525a1-0x0;var _0x2f956a=_0x1ede[_0x2525a1];return _0x2f956a;};import _0x11a187 from'./confirmview';export default function m(_0x3f2f2e){return class extends _0x3f2f2e{[_0x2f95('0xf')](_0x30c940,_0x2f2a37){return this['confirmView']=new _0x11a187(this[_0x2f95('0x10')]),this[_0x2f95('0xb')][_0x2f95('0xa')](),this[_0x2f95('0xb')][_0x2f95('0x3')]=_0x30c940,this[_0x2f95('0xb')][_0x2f95('0x8')]('cancel',()=>{this[_0x2f95('0x2')]();}),this[_0x2f95('0xb')][_0x2f95('0x8')](_0x2f95('0xc'),()=>{this[_0x2f95('0x2')]();}),_0x2f2a37['appendChild'](this[_0x2f95('0xb')][_0x2f95('0xd')]),this[_0x2f95('0xe')](this[_0x2f95('0xb')]),this[_0x2f95('0xd')]['focus'](),this['set'](_0x2f95('0x4'),!0x0),new Promise(_0x2f1873=>this[_0x2f95('0xb')]['on']('submit',_0x2f1873));}[_0x2f95('0x1')](){this[_0x2f95('0x4')]&&this[_0x2f95('0xb')][_0x2f95('0x9')](_0x2f95('0x5'));}[_0x2f95('0x2')](){this[_0x2f95('0xd')]&&this[_0x2f95('0xb')]&&this[_0x2f95('0xb')][_0x2f95('0xd')]&&(this[_0x2f95('0xd')][_0x2f95('0x0')](),this[_0x2f95('0xb')][_0x2f95('0xd')][_0x2f95('0x7')](),this[_0x2f95('0x6')](this[_0x2f95('0xb')]),this[_0x2f95('0x4')]=!0x1,this['confirmView']['destroy'](),this[_0x2f95('0xb')]=void 0x0);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x493b=['_createButtonView','extendTemplate','check','setTemplate','icon','cancel','cancelView','ck-thread__remove-confirm-','submitView','div','ck-thread__remove-confirm','label','execute','bindTemplate','set','Yes'];(function(_0xb69ad6,_0x493bc3){const _0x1ce94a=function(_0x4f9f1a){while(--_0x4f9f1a){_0xb69ad6['push'](_0xb69ad6['shift']());}};_0x1ce94a(++_0x493bc3);}(_0x493b,0x93));const _0x1ce9=function(_0xb69ad6,_0x493bc3){_0xb69ad6=_0xb69ad6-0x0;let _0x1ce94a=_0x493b[_0xb69ad6];return _0x1ce94a;};import{View as _0xeedf95,ButtonView as _0x1dcbd2}from'ckeditor5/src/ui';import{icons as _0x507477}from'ckeditor5/src/core';import{getTranslation as _0x2ae1dc}from'./common-translations';export default class h extends _0xeedf95{constructor(_0x2cfb8c){super(_0x2cfb8c);const _0x563fcf=this[_0x1ce9('0xa')];this['submitView']=this[_0x1ce9('0xd')](_0x2cfb8c,_0x2ae1dc(_0x2cfb8c,_0x1ce9('0xc')),_0x507477[_0x1ce9('0xf')],'submit'),this[_0x1ce9('0x3')]=this[_0x1ce9('0xd')](_0x2cfb8c,_0x2ae1dc(_0x2cfb8c,'No'),_0x507477[_0x1ce9('0x2')],_0x1ce9('0x2')),this[_0x1ce9('0xb')]('message',_0x2ae1dc(_0x2cfb8c,'Are\x20you\x20sure?')),this[_0x1ce9('0x0')]({'tag':_0x1ce9('0x6'),'attributes':{'class':[_0x1ce9('0x7')]},'children':[{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-inner'},'children':[{'tag':'p','children':[{'text':_0x563fcf['to']('message')}]},{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this[_0x1ce9('0x5')],this[_0x1ce9('0x3')]]}]}]});}[_0x1ce9('0xd')](_0x592a90,_0x44e06b,_0x4b8146,_0x46cbac){const _0x2eedf3=new _0x1dcbd2(_0x592a90);return _0x2eedf3[_0x1ce9('0x8')]=_0x44e06b,_0x2eedf3[_0x1ce9('0x1')]=_0x4b8146,_0x2eedf3[_0x1ce9('0xe')]({'attributes':{'class':_0x1ce9('0x4')+_0x46cbac}}),_0x2eedf3['on'](_0x1ce9('0x9'),()=>this['fire'](_0x46cbac)),_0x2eedf3;}}
23
+ const _0x2d6d=['ck-thread__remove-confirm-inner','Are\x20you\x20sure?','setTemplate','check','set','message','label','cancelView','cancel','submitView','ck-thread__remove-confirm-','submit','_createButtonView','fire','extendTemplate','ck-thread__remove-confirm','icon'];(function(_0x4b9bf6,_0x2d6db2){const _0x337f89=function(_0x1b13c1){while(--_0x1b13c1){_0x4b9bf6['push'](_0x4b9bf6['shift']());}};_0x337f89(++_0x2d6db2);}(_0x2d6d,0x1a1));const _0x337f=function(_0x4b9bf6,_0x2d6db2){_0x4b9bf6=_0x4b9bf6-0x0;let _0x337f89=_0x2d6d[_0x4b9bf6];return _0x337f89;};import{View as _0x50b4b7,ButtonView as _0x11f50a}from'ckeditor5/src/ui';import{icons as _0x95d6f4}from'ckeditor5/src/core';import{getTranslation as _0x2c953e}from'./common-translations';export default class h extends _0x50b4b7{constructor(_0x504cbf){super(_0x504cbf);const _0x346688=this['bindTemplate'];this[_0x337f('0x0')]=this[_0x337f('0x3')](_0x504cbf,_0x2c953e(_0x504cbf,'Yes'),_0x95d6f4[_0x337f('0xb')],_0x337f('0x2')),this['cancelView']=this[_0x337f('0x3')](_0x504cbf,_0x2c953e(_0x504cbf,'No'),_0x95d6f4[_0x337f('0x10')],_0x337f('0x10')),this[_0x337f('0xc')]('message',_0x2c953e(_0x504cbf,_0x337f('0x9'))),this[_0x337f('0xa')]({'tag':'div','attributes':{'class':[_0x337f('0x6')]},'children':[{'tag':'div','attributes':{'class':_0x337f('0x8')},'children':[{'tag':'p','children':[{'text':_0x346688['to'](_0x337f('0xd'))}]},{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this['submitView'],this[_0x337f('0xf')]]}]}]});}[_0x337f('0x3')](_0x18c145,_0x44fd4f,_0x476235,_0x3233e1){const _0x59910e=new _0x11f50a(_0x18c145);return _0x59910e[_0x337f('0xe')]=_0x44fd4f,_0x59910e[_0x337f('0x7')]=_0x476235,_0x59910e[_0x337f('0x5')]({'attributes':{'class':_0x337f('0x1')+_0x3233e1}}),_0x59910e['on']('execute',()=>this[_0x337f('0x4')](_0x3233e1)),_0x59910e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x100c=['\x27Yesterday\x27\x20hh:mma','MM-dd-yyyy\x20hh:mma','\x27Today\x27\x20hh:mma','function','dateTimeFormat','\x27Last\x27\x20EEEE\x20hh:mma'];(function(_0x5ddf88,_0x100c41){const _0x3d9ad1=function(_0x487cda){while(--_0x487cda){_0x5ddf88['push'](_0x5ddf88['shift']());}};_0x3d9ad1(++_0x100c41);}(_0x100c,0x1ee));const _0x3d9a=function(_0x5ddf88,_0x100c41){_0x5ddf88=_0x5ddf88-0x0;let _0x3d9ad1=_0x100c[_0x5ddf88];return _0x3d9ad1;};import _0x16493c from'date-fns/format';import _0x2e0da3 from'date-fns/parseISO';import _0x219d89 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0xa14bbd}from'ckeditor5/src/utils';export default function E(_0x5ad45d={}){if(void 0x0!==_0x5ad45d[_0x3d9a('0x2')]&&_0x3d9a('0x1')!=typeof _0x5ad45d[_0x3d9a('0x2')])throw new _0xa14bbd('invalid-date-time-format');return _0x4da01c=>{const _0x425530='string'==typeof _0x4da01c?_0x2e0da3(_0x4da01c):_0x4da01c,_0x2744ae=new Date(),_0x5645ca=_0x219d89(_0x2744ae,_0x425530);return _0x5ad45d[_0x3d9a('0x2')]?_0x5ad45d[_0x3d9a('0x2')](_0x425530):_0x16493c(_0x425530,0x0===_0x5645ca?_0x3d9a('0x0'):0x1===_0x5645ca?_0x3d9a('0x4'):_0x5645ca<0x7?_0x3d9a('0x3'):_0x3d9a('0x5'));};}
23
+ const _0x379f=['\x27Yesterday\x27\x20hh:mma','MM-dd-yyyy\x20hh:mma','dateTimeFormat','\x27Last\x27\x20EEEE\x20hh:mma'];(function(_0x281c95,_0x379fc5){const _0x4ad597=function(_0x1a589f){while(--_0x1a589f){_0x281c95['push'](_0x281c95['shift']());}};_0x4ad597(++_0x379fc5);}(_0x379f,0x10c));const _0x4ad5=function(_0x281c95,_0x379fc5){_0x281c95=_0x281c95-0x0;let _0x4ad597=_0x379f[_0x281c95];return _0x4ad597;};import _0x4a8f50 from'date-fns/format';import _0x41e40e from'date-fns/parseISO';import _0x4e165b from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x3a611b}from'ckeditor5/src/utils';export default function E(_0x568be8={}){if(void 0x0!==_0x568be8[_0x4ad5('0x2')]&&'function'!=typeof _0x568be8[_0x4ad5('0x2')])throw new _0x3a611b('invalid-date-time-format');return _0x20e7d8=>{const _0x5c8d8a='string'==typeof _0x20e7d8?_0x41e40e(_0x20e7d8):_0x20e7d8,_0x598fc3=new Date(),_0x1a6ac7=_0x4e165b(_0x598fc3,_0x5c8d8a);return _0x568be8[_0x4ad5('0x2')]?_0x568be8[_0x4ad5('0x2')](_0x5c8d8a):_0x4a8f50(_0x5c8d8a,0x0===_0x1a6ac7?'\x27Today\x27\x20hh:mma':0x1===_0x1a6ac7?_0x4ad5('0x0'):_0x1a6ac7<0x7?_0x4ad5('0x3'):_0x4ad5('0x1'));};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x314b=['length','name','domElement','mapper','values','item','markerNameToElements','push','map','domConverter','mapViewToDom','view','filter','sort'];(function(_0x6ecd88,_0x314bc4){const _0x5c09f3=function(_0xf2a60b){while(--_0xf2a60b){_0x6ecd88['push'](_0x6ecd88['shift']());}};_0x5c09f3(++_0x314bc4);}(_0x314b,0x81));const _0x5c09=function(_0x6ecd88,_0x314bc4){_0x6ecd88=_0x6ecd88-0x0;let _0x5c09f3=_0x314b[_0x6ecd88];return _0x5c09f3;};import{first as _0x3a3abf}from'ckeditor5/src/utils';export default function k(_0x511996,_0x16c01b){const _0x49382b=_0x511996[_0x5c09('0x0')]['markerNameToElements'](_0x16c01b[_0x5c09('0xc')]);if(!_0x49382b)return null;const _0xdd4134=_0x3a3abf(_0x49382b[_0x5c09('0x1')]());return _0x511996[_0x5c09('0x8')][_0x5c09('0x6')]['mapViewToDom'](_0xdd4134)||null;}export function getAllMarkersDomElementsSorted(_0x3ce387,_0xa943a3){if(0x0===_0xa943a3[_0x5c09('0xb')])return null;const _0x45a2dd=[],_0xda7778=_0x3ce387[_0x5c09('0x8')][_0x5c09('0x6')];for(const _0x1ec920 of _0xa943a3){const _0x1cedfa=_0x3ce387[_0x5c09('0x0')][_0x5c09('0x3')](_0x1ec920[_0x5c09('0xc')]);if(!_0x1cedfa)continue;const _0x4515d7=Array['from'](_0x1cedfa)['map'](_0x32e1dc=>_0xda7778[_0x5c09('0x7')](_0x32e1dc))[_0x5c09('0x9')](_0x54c26b=>!!_0x54c26b);_0x45a2dd['push'](..._0x4515d7);}if(0x0===_0x45a2dd['length'])return null;const _0x58a36a=[];for(const _0x19ff9 of _0x45a2dd){const _0xe8b5ca=_0x19ff9['getClientRects']()[_0x5c09('0x2')](0x0);_0xe8b5ca&&_0x58a36a[_0x5c09('0x4')]({'x':_0xe8b5ca['x'],'y':_0xe8b5ca['y'],'domElement':_0x19ff9});}return 0x0===_0x58a36a[_0x5c09('0xb')]?null:(_0x58a36a[_0x5c09('0xa')]((_0x45086d,_0x3e9027)=>_0x45086d['y']-_0x3e9027['y']||_0x45086d['x']-_0x3e9027['x']),_0x58a36a[_0x5c09('0x5')](_0x48a7ec=>_0x48a7ec[_0x5c09('0xd')]));}
23
+ const _0x2e1e=['push','mapViewToDom','item','domElement','sort','from','length','getClientRects','filter','values','domConverter','map','markerNameToElements','view','mapper','name'];(function(_0x52c13b,_0x2e1e03){const _0x31accf=function(_0x5f28f7){while(--_0x5f28f7){_0x52c13b['push'](_0x52c13b['shift']());}};_0x31accf(++_0x2e1e03);}(_0x2e1e,0x1bf));const _0x31ac=function(_0x52c13b,_0x2e1e03){_0x52c13b=_0x52c13b-0x0;let _0x31accf=_0x2e1e[_0x52c13b];return _0x31accf;};import{first as _0x41fbf9}from'ckeditor5/src/utils';export default function k(_0x516b2c,_0x57f7d8){const _0x16a743=_0x516b2c[_0x31ac('0xf')][_0x31ac('0xd')](_0x57f7d8['name']);if(!_0x16a743)return null;const _0x4bbba3=_0x41fbf9(_0x16a743[_0x31ac('0xa')]());return _0x516b2c[_0x31ac('0xe')][_0x31ac('0xb')]['mapViewToDom'](_0x4bbba3)||null;}export function getAllMarkersDomElementsSorted(_0x111e10,_0x50b7ff){if(0x0===_0x50b7ff[_0x31ac('0x7')])return null;const _0x1a2473=[],_0x26b51e=_0x111e10[_0x31ac('0xe')][_0x31ac('0xb')];for(const _0x252f3d of _0x50b7ff){const _0x3de40c=_0x111e10[_0x31ac('0xf')][_0x31ac('0xd')](_0x252f3d[_0x31ac('0x0')]);if(!_0x3de40c)continue;const _0xab8e93=Array[_0x31ac('0x6')](_0x3de40c)[_0x31ac('0xc')](_0x36a8ee=>_0x26b51e[_0x31ac('0x2')](_0x36a8ee))[_0x31ac('0x9')](_0x1d4a3f=>!!_0x1d4a3f);_0x1a2473['push'](..._0xab8e93);}if(0x0===_0x1a2473[_0x31ac('0x7')])return null;const _0x17a48e=[];for(const _0x21037c of _0x1a2473){const _0x4ad6d4=_0x21037c[_0x31ac('0x8')]()[_0x31ac('0x3')](0x0);_0x4ad6d4&&_0x17a48e[_0x31ac('0x1')]({'x':_0x4ad6d4['x'],'y':_0x4ad6d4['y'],'domElement':_0x21037c});}return 0x0===_0x17a48e[_0x31ac('0x7')]?null:(_0x17a48e[_0x31ac('0x5')]((_0x215aed,_0x2c5ff1)=>_0x215aed['y']-_0x2c5ff1['y']||_0x215aed['x']-_0x2c5ff1['x']),_0x17a48e[_0x31ac('0xc')](_0x4e00fe=>_0x4e00fe[_0x31ac('0x4')]));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x467c=['sign','charCodeAt','isArray','boolean','number','object','keys','toString'];(function(_0x4baff8,_0x467c1a){const _0x30ee0f=function(_0x943f63){while(--_0x943f63){_0x4baff8['push'](_0x4baff8['shift']());}};_0x30ee0f(++_0x467c1a);}(_0x467c,0x1a2));const _0x30ee=function(_0x4baff8,_0x467c1a){_0x4baff8=_0x4baff8-0x0;let _0x30ee0f=_0x467c[_0x4baff8];return _0x30ee0f;};export default function b(_0x35a37d){let _0x592c2b=0x0,_0x1e8c87=0x0;for(const _0x2bb74b of g(_0x35a37d))_0x592c2b=(_0x592c2b<<0x5)-_0x592c2b+_0x2bb74b,_0x592c2b&=_0x592c2b,[_0x592c2b,_0x1e8c87]=[_0x1e8c87,_0x592c2b];return O(_0x592c2b)+O(_0x1e8c87);}function*j(_0x1c1a90){_0x1c1a90?_0x30ee('0x1')==typeof _0x1c1a90?yield 0x1:Array[_0x30ee('0x0')](_0x1c1a90)?yield*function*(_0x42451c){for(const _0x59e5ed of _0x42451c)yield*j(_0x59e5ed);}(_0x1c1a90):_0x30ee('0x3')==typeof _0x1c1a90?yield*g(_0x1c1a90):'string'==typeof _0x1c1a90?yield*A(_0x1c1a90):_0x30ee('0x2')==typeof _0x1c1a90&&(yield _0x1c1a90):yield 0x0;}function*g(_0x21df2b){if(yield M('{'),_0x21df2b){const _0x53168b=Object[_0x30ee('0x4')](_0x21df2b)['sort']();for(const _0x1bd312 of _0x53168b){yield*A(_0x1bd312),yield M(':');const _0x22599f=_0x21df2b[_0x1bd312];yield*j(_0x22599f);}}yield M('}');}function*A(_0x541225){yield M('\x22');for(const _0xea42b0 of _0x541225)yield M(_0xea42b0);yield M('\x22');}function M(_0xbda340){return _0xbda340[_0x30ee('0x7')](0x0);}function O(_0x3de49d){return(_0x3de49d*=Math[_0x30ee('0x6')](_0x3de49d))[_0x30ee('0x5')](0x24);}
23
+ const _0x1d2e=['sign','keys','sort','number','charCodeAt','object','toString','isArray','boolean'];(function(_0x219216,_0x1d2e9f){const _0x57723a=function(_0x354e6d){while(--_0x354e6d){_0x219216['push'](_0x219216['shift']());}};_0x57723a(++_0x1d2e9f);}(_0x1d2e,0xf1));const _0x5772=function(_0x219216,_0x1d2e9f){_0x219216=_0x219216-0x0;let _0x57723a=_0x1d2e[_0x219216];return _0x57723a;};export default function b(_0x36da27){let _0x47d50f=0x0,_0x47033a=0x0;for(const _0x55949e of g(_0x36da27))_0x47d50f=(_0x47d50f<<0x5)-_0x47d50f+_0x55949e,_0x47d50f&=_0x47d50f,[_0x47d50f,_0x47033a]=[_0x47033a,_0x47d50f];return O(_0x47d50f)+O(_0x47033a);}function*j(_0x2d84ba){_0x2d84ba?_0x5772('0x1')==typeof _0x2d84ba?yield 0x1:Array[_0x5772('0x0')](_0x2d84ba)?yield*function*(_0x57b411){for(const _0x17e6c3 of _0x57b411)yield*j(_0x17e6c3);}(_0x2d84ba):_0x5772('0x7')==typeof _0x2d84ba?yield*g(_0x2d84ba):'string'==typeof _0x2d84ba?yield*A(_0x2d84ba):_0x5772('0x5')==typeof _0x2d84ba&&(yield _0x2d84ba):yield 0x0;}function*g(_0x140147){if(yield M('{'),_0x140147){const _0x36d390=Object[_0x5772('0x3')](_0x140147)[_0x5772('0x4')]();for(const _0x38a17d of _0x36d390){yield*A(_0x38a17d),yield M(':');const _0x49f927=_0x140147[_0x38a17d];yield*j(_0x49f927);}}yield M('}');}function*A(_0x318ecb){yield M('\x22');for(const _0x2fdd6c of _0x318ecb)yield M(_0x2fdd6c);yield M('\x22');}function M(_0x44585e){return _0x44585e[_0x5772('0x6')](0x0);}function O(_0x25a3b3){return(_0x25a3b3*=Math[_0x5772('0x2')](_0x25a3b3))[_0x5772('0x8')](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2320=['_context','from','pluginName','WProofreader','removePlugins','find','names','has','set','WordCount','concat','rootsAttributes','config','builtinPlugins','length','requires','includes','WebSocketGateway','get','constructor','context','extraPlugins','name','RevisionTracker','toolbar','filter','string','plugins','initialData'];(function(_0x2c0b1b,_0x23207c){const _0xe037ab=function(_0x1e8627){while(--_0x1e8627){_0x2c0b1b['push'](_0x2c0b1b['shift']());}};_0xe037ab(++_0x23207c);}(_0x2320,0x11d));const _0xe037=function(_0x2c0b1b,_0x23207c){_0x2c0b1b=_0x2c0b1b-0x0;let _0xe037ab=_0x2320[_0x2c0b1b];return _0xe037ab;};const w=[_0xe037('0x4'),_0xe037('0x19'),_0xe037('0x0'),_0xe037('0x10')],W=[_0xe037('0x16'),_0xe037('0x1c'),'Autosave',_0xe037('0xe'),'DocumentOutline',_0xe037('0x8')];function v(_0x17614e,_0x15f9a1,_0x46e36b,_0x4ae5d7=[]){const _0x1538ab=_0xe037('0x2')==typeof _0x17614e?_0x46e36b[_0xe037('0x17')](_0x17614e)[_0xe037('0x18')]:_0x17614e,_0x4aad36=_0x1538ab[_0xe037('0x7')]||_0x1538ab[_0xe037('0x1b')];if(_0x15f9a1[_0xe037('0xc')](_0x4aad36))return _0x15f9a1['get'](_0x4aad36);if(_0x15f9a1[_0xe037('0xd')](_0x4aad36,!0x0),_0x4aad36&&W['concat'](_0x4ae5d7)['includes'](_0x4aad36))return _0x15f9a1['set'](_0x4aad36,!0x1),!0x1;if(!_0x1538ab[_0xe037('0x14')])return _0x15f9a1[_0xe037('0xd')](_0x4aad36,!0x0),!0x0;const _0x36b848=_0x1538ab[_0xe037('0x14')]['every'](_0x393589=>v(_0x393589,_0x15f9a1,_0x46e36b,_0x4ae5d7));return _0x15f9a1[_0xe037('0xd')](_0x4aad36,_0x36b848),_0x36b848;}export default function D(_0x5286d7,_0x1d7917){const _0x5ccdb={};for(const _0x2cac29 of _0x5286d7[_0xe037('0x11')][_0xe037('0xb')]())w[_0xe037('0x15')](_0x2cac29)||(_0x5ccdb[_0x2cac29]=_0x5286d7[_0xe037('0x11')][_0xe037('0x17')](_0x2cac29));const _0x390404=_0x5ccdb[_0xe037('0x3')]||[],_0x37dab5=_0x5286d7[_0xe037('0x18')][_0xe037('0x12')]||[],_0x9962e3=_0x390404[_0xe037('0x13')]?_0x390404:_0x37dab5,_0x345cc8=_0x5ccdb[_0xe037('0x1a')]||[];delete _0x5ccdb[_0xe037('0x1a')];const _0x42cb32=_0x5ccdb[_0xe037('0x9')]||[];delete _0x5ccdb[_0xe037('0x9')];const _0x5d77a3=_0x5286d7[_0xe037('0x5')]['config'][_0xe037('0x17')](_0xe037('0x3'))||[],_0x525a71=_0x9962e3['concat'](_0x345cc8)[_0xe037('0xf')](_0x5d77a3)['map'](_0x1db1ea=>_0xe037('0x2')==typeof _0x1db1ea?_0x37dab5[_0xe037('0xa')](_0x225d6e=>_0x225d6e[_0xe037('0x7')]==_0x1db1ea):_0x1db1ea)[_0xe037('0x1')](_0x3df35e=>!_0x42cb32[_0xe037('0x15')](_0x3df35e)),_0x3bb37a=Array[_0xe037('0x6')](new Set(_0x525a71)),_0x28227f=new Map();return _0x5ccdb['plugins']=_0x3bb37a['filter'](_0x333daf=>v(_0x333daf,_0x28227f,_0x5286d7[_0xe037('0x3')],_0x1d7917)),_0x5ccdb;}
23
+ const _0x15ad=['WordCount','concat','set','name','context','plugins','_context','every','rootsAttributes','toolbar','has','WProofreader','initialData','requires','get','config','map','filter','string','includes','names','find','pluginName','constructor','length','removePlugins','builtinPlugins'];(function(_0x37ba9f,_0x15ada5){const _0x5431ea=function(_0x20e0e7){while(--_0x20e0e7){_0x37ba9f['push'](_0x37ba9f['shift']());}};_0x5431ea(++_0x15ada5);}(_0x15ad,0x14e));const _0x5431=function(_0x37ba9f,_0x15ada5){_0x37ba9f=_0x37ba9f-0x0;let _0x5431ea=_0x15ad[_0x37ba9f];return _0x5431ea;};const w=[_0x5431('0x2'),_0x5431('0x15'),_0x5431('0x1a'),_0x5431('0x19')],W=['WebSocketGateway','RevisionTracker','Autosave',_0x5431('0x11'),'DocumentOutline',_0x5431('0x1')];function v(_0x1798c8,_0x465f05,_0x260591,_0x54cd49=[]){const _0x4599dd='string'==typeof _0x1798c8?_0x260591['get'](_0x1798c8)['constructor']:_0x1798c8,_0x217b00=_0x4599dd[_0x5431('0xc')]||_0x4599dd[_0x5431('0x14')];if(_0x465f05[_0x5431('0x0')](_0x217b00))return _0x465f05[_0x5431('0x4')](_0x217b00);if(_0x465f05[_0x5431('0x13')](_0x217b00,!0x0),_0x217b00&&W[_0x5431('0x12')](_0x54cd49)[_0x5431('0x9')](_0x217b00))return _0x465f05[_0x5431('0x13')](_0x217b00,!0x1),!0x1;if(!_0x4599dd[_0x5431('0x3')])return _0x465f05[_0x5431('0x13')](_0x217b00,!0x0),!0x0;const _0x50e196=_0x4599dd['requires'][_0x5431('0x18')](_0x1418de=>v(_0x1418de,_0x465f05,_0x260591,_0x54cd49));return _0x465f05['set'](_0x217b00,_0x50e196),_0x50e196;}export default function D(_0x86ea5e,_0x5cafee){const _0x7313ba={};for(const _0x1d773d of _0x86ea5e[_0x5431('0x5')][_0x5431('0xa')]())w[_0x5431('0x9')](_0x1d773d)||(_0x7313ba[_0x1d773d]=_0x86ea5e['config']['get'](_0x1d773d));const _0x1f5cb7=_0x7313ba[_0x5431('0x16')]||[],_0x5e13c7=_0x86ea5e[_0x5431('0xd')][_0x5431('0x10')]||[],_0x5e884d=_0x1f5cb7[_0x5431('0xe')]?_0x1f5cb7:_0x5e13c7,_0x2a4ae1=_0x7313ba['extraPlugins']||[];delete _0x7313ba['extraPlugins'];const _0x15b16a=_0x7313ba[_0x5431('0xf')]||[];delete _0x7313ba[_0x5431('0xf')];const _0x40c4ea=_0x86ea5e[_0x5431('0x17')][_0x5431('0x5')][_0x5431('0x4')](_0x5431('0x16'))||[],_0x526722=_0x5e884d['concat'](_0x2a4ae1)['concat'](_0x40c4ea)[_0x5431('0x6')](_0x15bcfb=>_0x5431('0x8')==typeof _0x15bcfb?_0x5e13c7[_0x5431('0xb')](_0x3d95ed=>_0x3d95ed['pluginName']==_0x15bcfb):_0x15bcfb)['filter'](_0x5caf93=>!_0x15b16a[_0x5431('0x9')](_0x5caf93)),_0x41b424=Array['from'](new Set(_0x526722)),_0x1c47ec=new Map();return _0x7313ba[_0x5431('0x16')]=_0x41b424[_0x5431('0x7')](_0x4686bd=>v(_0x4686bd,_0x1c47ec,_0x86ea5e[_0x5431('0x16')],_0x5cafee)),_0x7313ba;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28bb=['startsWith','replace','...','match','push','length','slice','split','join','indexOf'];(function(_0x157d2d,_0x28bbee){const _0x573c78=function(_0x55410d){while(--_0x55410d){_0x157d2d['push'](_0x157d2d['shift']());}};_0x573c78(++_0x28bbee);}(_0x28bb,0xbe));const _0x573c=function(_0x157d2d,_0x28bbee){_0x157d2d=_0x157d2d-0x0;let _0x573c78=_0x28bb[_0x157d2d];return _0x573c78;};export default function z(_0xc1f9f2,{limit:_0x495644,suffix:_0x4bdeb5=_0x573c('0x2')}){const _0x393510=[];let _0x2bae31=0x0;const _0x93c3cf=_0xc1f9f2[_0x573c('0x1')](/</g,'\x0a<')[_0x573c('0x1')](/>/g,'>\x0a')[_0x573c('0x1')](/^\n/g,'')[_0x573c('0x1')](/\n$/g,'')[_0x573c('0x7')]('\x0a');for(let _0x1a42cc=0x0;_0x1a42cc<_0x93c3cf[_0x573c('0x5')];_0x1a42cc++){let _0x47242c=_0x93c3cf[_0x1a42cc];const _0x4a5f6e=Z(_0x47242c);if(_0x47242c[_0x573c('0x0')]('<')){if(_0x2bae31>=_0x495644){const _0x27700a=_0x47242c[_0x573c('0x3')](/[a-zA-Z]+/);if(!_0x27700a){_0x93c3cf[_0x1a42cc]='';continue;}const _0x1485e6=_0x27700a[0x0];_0x47242c[_0x573c('0x0')]('</')?(_0x393510[_0x573c('0x5')]&&(_0x47242c=''),_0x393510['pop']()):(_0x393510['push'](_0x1485e6),_0x47242c='');}}else{if(_0x2bae31>=_0x495644)_0x47242c='';else{if(_0x2bae31+_0x4a5f6e[_0x573c('0x5')]>=_0x495644){let _0x568d5a=_0x495644-_0x2bae31;if('\x20'===_0x4a5f6e[_0x568d5a-0x1])_0x568d5a--;else{const _0x73a4d0=_0x4a5f6e[_0x573c('0x6')](_0x568d5a)[_0x573c('0x9')]('\x20');-0x1!==_0x73a4d0?_0x568d5a+=_0x73a4d0:_0x568d5a=_0x47242c[_0x573c('0x5')];}_0x47242c=_0x4a5f6e['slice'](0x0,_0x568d5a)['join']('')+_0x4bdeb5,_0x2bae31=_0x495644;}else _0x2bae31+=_0x4a5f6e['length'];}}_0x93c3cf[_0x1a42cc]=_0x47242c;}return _0x93c3cf[_0x573c('0x8')]('\x0a')[_0x573c('0x1')](/\n/g,'');}function Z(_0x182455){const _0x2b7498=[];for(let _0x1f7c70=0x0;_0x1f7c70<_0x182455[_0x573c('0x5')];_0x1f7c70++){const _0x496fd9=_0x182455['substring'](_0x1f7c70)[_0x573c('0x3')](/^&[a-z0-9#]+;/);if(_0x496fd9){const _0x47dbdd=_0x496fd9[0x0];_0x2b7498[_0x573c('0x4')](_0x47dbdd),_0x1f7c70+=_0x47dbdd['length']-0x1;}else _0x2b7498[_0x573c('0x4')](_0x182455[_0x1f7c70]);}return _0x2b7498;}
23
+ const _0x3aeb=['match','pop','startsWith','slice','replace','length','split','indexOf','push'];(function(_0x46dea7,_0x3aebde){const _0x562e1a=function(_0x13256b){while(--_0x13256b){_0x46dea7['push'](_0x46dea7['shift']());}};_0x562e1a(++_0x3aebde);}(_0x3aeb,0x18d));const _0x562e=function(_0x46dea7,_0x3aebde){_0x46dea7=_0x46dea7-0x0;let _0x562e1a=_0x3aeb[_0x46dea7];return _0x562e1a;};export default function z(_0x2b03aa,{limit:_0x4fa593,suffix:_0x1b6fef='...'}){const _0x26be24=[];let _0x54248e=0x0;const _0x5f126e=_0x2b03aa['replace'](/</g,'\x0a<')[_0x562e('0x3')](/>/g,'>\x0a')[_0x562e('0x3')](/^\n/g,'')['replace'](/\n$/g,'')[_0x562e('0x5')]('\x0a');for(let _0x4df81e=0x0;_0x4df81e<_0x5f126e[_0x562e('0x4')];_0x4df81e++){let _0xea44e6=_0x5f126e[_0x4df81e];const _0x11f049=Z(_0xea44e6);if(_0xea44e6[_0x562e('0x1')]('<')){if(_0x54248e>=_0x4fa593){const _0x33ab48=_0xea44e6[_0x562e('0x8')](/[a-zA-Z]+/);if(!_0x33ab48){_0x5f126e[_0x4df81e]='';continue;}const _0x2d74be=_0x33ab48[0x0];_0xea44e6['startsWith']('</')?(_0x26be24[_0x562e('0x4')]&&(_0xea44e6=''),_0x26be24[_0x562e('0x0')]()):(_0x26be24[_0x562e('0x7')](_0x2d74be),_0xea44e6='');}}else{if(_0x54248e>=_0x4fa593)_0xea44e6='';else{if(_0x54248e+_0x11f049[_0x562e('0x4')]>=_0x4fa593){let _0x2227a4=_0x4fa593-_0x54248e;if('\x20'===_0x11f049[_0x2227a4-0x1])_0x2227a4--;else{const _0x5b75bc=_0x11f049[_0x562e('0x2')](_0x2227a4)[_0x562e('0x6')]('\x20');-0x1!==_0x5b75bc?_0x2227a4+=_0x5b75bc:_0x2227a4=_0xea44e6[_0x562e('0x4')];}_0xea44e6=_0x11f049[_0x562e('0x2')](0x0,_0x2227a4)['join']('')+_0x1b6fef,_0x54248e=_0x4fa593;}else _0x54248e+=_0x11f049['length'];}}_0x5f126e[_0x4df81e]=_0xea44e6;}return _0x5f126e['join']('\x0a')[_0x562e('0x3')](/\n/g,'');}function Z(_0x9d45b2){const _0x4752cf=[];for(let _0x1cf6a5=0x0;_0x1cf6a5<_0x9d45b2[_0x562e('0x4')];_0x1cf6a5++){const _0x3ce604=_0x9d45b2['substring'](_0x1cf6a5)[_0x562e('0x8')](/^&[a-z0-9#]+;/);if(_0x3ce604){const _0x32ead2=_0x3ce604[0x0];_0x4752cf[_0x562e('0x7')](_0x32ead2),_0x1cf6a5+=_0x32ead2[_0x562e('0x4')]-0x1;}else _0x4752cf[_0x562e('0x7')](_0x9d45b2[_0x1cf6a5]);}return _0x4752cf;}