@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20230907.0 → 0.0.0-nightly-20230909.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-20230907.0",
3
+ "version": "0.0.0-nightly-20230909.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-20230907.0",
34
+ "ckeditor5": "0.0.0-nightly-20230909.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 _0x56dc=['has','comment:write','isEnabled','CommentsRepository','addCommentThread','context','CommentsOnly','noPermissions','plugins','pluginName','comment:admin','config','includes','get','clearForceDisabled','comment:modify_all','disableReadOnlyMode','forceDisabled','editors','setPermissions','collaboration.channelId','document:write','find','enableReadOnlyMode','no-permissions'];(function(_0x145565,_0x56dc38){const _0x57c413=function(_0x4ae69d){while(--_0x4ae69d){_0x145565['push'](_0x145565['shift']());}};_0x57c413(++_0x56dc38);}(_0x56dc,0xb9));const _0x57c4=function(_0x145565,_0x56dc38){_0x145565=_0x145565-0x0;let _0x57c413=_0x56dc[_0x145565];return _0x57c413;};import{ContextPlugin as _0x2ab1c5,Editor as _0x3969c2}from'ckeditor5/src/core';import{CKEditorError as _0x1bb48e}from'ckeditor5/src/utils';export default class n extends _0x2ab1c5{static get[_0x57c4('0x18')](){return'Permissions';}[_0x57c4('0x9')](_0x2abc34,_0x48c806){let _0x27c290;if(_0x48c806||(_0x48c806=this[_0x57c4('0x14')][_0x57c4('0x1')][_0x57c4('0x3')](_0x57c4('0xa'))),this[_0x57c4('0x14')][_0x57c4('0x1')][_0x57c4('0x3')](_0x57c4('0xa'))==_0x48c806?_0x27c290=this[_0x57c4('0x14')]:_0x57c4('0x8')in this[_0x57c4('0x14')]&&this[_0x57c4('0x14')]['editors']&&(_0x27c290=this[_0x57c4('0x14')][_0x57c4('0x8')][_0x57c4('0xc')](_0x390eb1=>_0x390eb1[_0x57c4('0x1')][_0x57c4('0x3')](_0x57c4('0xa'))==_0x48c806)),!_0x27c290)throw new _0x1bb48e('permissions-set-permissions-invalid-channel-id',null);const _0x357c0f=_0x27c290[_0x57c4('0x17')],_0x4e4bd1=_0x357c0f[_0x57c4('0xf')](_0x57c4('0x12'))?_0x357c0f[_0x57c4('0x3')]('CommentsRepository'):void 0x0,_0x588cc4=_0x357c0f[_0x57c4('0xf')](_0x57c4('0x15'))&&_0x357c0f[_0x57c4('0x3')](_0x57c4('0x15')),_0x1f7f81=_0x2abc34[_0x57c4('0x2')](_0x57c4('0xb')),_0x37ada9=_0x2abc34['includes'](_0x57c4('0x5')),_0x126f5d=_0x2abc34[_0x57c4('0x2')](_0x57c4('0x0')),_0x5a70e3=_0x2abc34[_0x57c4('0x2')](_0x57c4('0x10')),_0x55ba39=_0x5a70e3||_0x126f5d,_0x5da7e7=_0x55ba39||_0x37ada9,_0x4ed262=_0x1f7f81||_0x55ba39;(_0x588cc4&&(_0x588cc4[_0x57c4('0x11')]=!_0x1f7f81&&_0x5da7e7),_0x27c290 instanceof _0x3969c2)&&(!(_0x1f7f81||_0x5da7e7&&_0x4e4bd1)?_0x27c290[_0x57c4('0xd')](_0x57c4('0xe')):_0x27c290[_0x57c4('0x6')](_0x57c4('0xe')));if(_0x4e4bd1){_0x4e4bd1[_0x57c4('0x9')]({'admin':_0x126f5d,'modifyAll':_0x37ada9,'write':_0x5a70e3,'resolve':_0x4ed262},_0x48c806);const _0x2b2d2c=_0x27c290 instanceof _0x3969c2&&_0x27c290['commands'][_0x57c4('0x3')](_0x57c4('0x13'));_0x2b2d2c&&(_0x55ba39?_0x2b2d2c[_0x57c4('0x4')](_0x57c4('0x16')):_0x2b2d2c[_0x57c4('0x7')](_0x57c4('0x16')));}}}
23
+ const _0x3355=['CommentsRepository','forceDisabled','config','comment:write','collaboration.channelId','enableReadOnlyMode','context','has','addCommentThread','noPermissions','setPermissions','CommentsOnly','document:write','get','plugins','Permissions','commands','includes','pluginName','find','no-permissions','editors'];(function(_0x4348c1,_0x33557f){const _0xebe03b=function(_0x2c53b5){while(--_0x2c53b5){_0x4348c1['push'](_0x4348c1['shift']());}};_0xebe03b(++_0x33557f);}(_0x3355,0x17e));const _0xebe0=function(_0x4348c1,_0x33557f){_0x4348c1=_0x4348c1-0x0;let _0xebe03b=_0x3355[_0x4348c1];return _0xebe03b;};import{ContextPlugin as _0x191e2b,Editor as _0x2eebe8}from'ckeditor5/src/core';import{CKEditorError as _0x354c39}from'ckeditor5/src/utils';export default class n extends _0x191e2b{static get[_0xebe0('0xa')](){return _0xebe0('0x7');}[_0xebe0('0x2')](_0x54c689,_0x539547){let _0x5438d8;if(_0x539547||(_0x539547=this[_0xebe0('0x14')][_0xebe0('0x10')][_0xebe0('0x5')]('collaboration.channelId')),this['context'][_0xebe0('0x10')][_0xebe0('0x5')]('collaboration.channelId')==_0x539547?_0x5438d8=this[_0xebe0('0x14')]:_0xebe0('0xd')in this[_0xebe0('0x14')]&&this[_0xebe0('0x14')][_0xebe0('0xd')]&&(_0x5438d8=this[_0xebe0('0x14')][_0xebe0('0xd')][_0xebe0('0xb')](_0x53187f=>_0x53187f['config'][_0xebe0('0x5')](_0xebe0('0x12'))==_0x539547)),!_0x5438d8)throw new _0x354c39('permissions-set-permissions-invalid-channel-id',null);const _0x1fa5a7=_0x5438d8[_0xebe0('0x6')],_0x4a5d4c=_0x1fa5a7[_0xebe0('0x15')](_0xebe0('0xe'))?_0x1fa5a7['get'](_0xebe0('0xe')):void 0x0,_0x10b1d1=_0x1fa5a7['has'](_0xebe0('0x3'))&&_0x1fa5a7[_0xebe0('0x5')](_0xebe0('0x3')),_0x535c09=_0x54c689['includes'](_0xebe0('0x4')),_0x114450=_0x54c689['includes']('comment:modify_all'),_0x243742=_0x54c689[_0xebe0('0x9')]('comment:admin'),_0x1b115e=_0x54c689[_0xebe0('0x9')](_0xebe0('0x11')),_0x46ff7d=_0x1b115e||_0x243742,_0x3ceb63=_0x46ff7d||_0x114450,_0x46012d=_0x535c09||_0x46ff7d;(_0x10b1d1&&(_0x10b1d1['isEnabled']=!_0x535c09&&_0x3ceb63),_0x5438d8 instanceof _0x2eebe8)&&(!(_0x535c09||_0x3ceb63&&_0x4a5d4c)?_0x5438d8[_0xebe0('0x13')](_0xebe0('0xc')):_0x5438d8['disableReadOnlyMode'](_0xebe0('0xc')));if(_0x4a5d4c){_0x4a5d4c[_0xebe0('0x2')]({'admin':_0x243742,'modifyAll':_0x114450,'write':_0x1b115e,'resolve':_0x46012d},_0x539547);const _0x54f88d=_0x5438d8 instanceof _0x2eebe8&&_0x5438d8[_0xebe0('0x8')][_0xebe0('0x5')](_0xebe0('0x0'));_0x54f88d&&(_0x46ff7d?_0x54f88d['clearForceDisabled']('noPermissions'):_0x54f88d[_0xebe0('0xf')](_0xebe0('0x1')));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3157=['ck-user__anonymous','ck-user__notification','ck\x20ck-user__name','avatar','ck-user__icon','content','ck-user__img','push','div','ck-user__avatar','initials','notificationView','name','url(\x27'];(function(_0x44bec2,_0x31575c){const _0x1a4e30=function(_0x59e858){while(--_0x59e858){_0x44bec2['push'](_0x44bec2['shift']());}};_0x1a4e30(++_0x31575c);}(_0x3157,0x185));const _0x1a4e=function(_0x44bec2,_0x31575c){_0x44bec2=_0x44bec2-0x0;let _0x1a4e30=_0x3157[_0x44bec2];return _0x1a4e30;};import{View as _0xf732f3,IconView as _0x50c1a6}from'ckeditor5/src/ui';import _0x412ac6 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0xf732f3{constructor(_0x432106,_0x2901bc,_0x2aed18){super(_0x432106),this[_0x1a4e('0x1')]=_0x2901bc[_0x1a4e('0x1')],this[_0x1a4e('0x0')]=null;const _0x327e76=['ck',_0x1a4e('0x9')];if(_0x2901bc['isAnonymous']&&_0x327e76[_0x1a4e('0xa')](_0x1a4e('0x3')),_0x2901bc[_0x1a4e('0x6')]&&_0x327e76[_0x1a4e('0xa')](_0x1a4e('0xc')),_0x2aed18){const _0x4fe0c7=new _0x50c1a6();_0x4fe0c7['extendTemplate']({'attributes':{'class':[_0x1a4e('0x7')]}}),_0x4fe0c7[_0x1a4e('0x8')]=_0x412ac6,this[_0x1a4e('0x0')]={'tag':'div','attributes':{'class':['ck',_0x1a4e('0x4')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x2aed18},'children':[_0x4fe0c7]};}const _0x5156cf=[{'tag':_0x1a4e('0xb'),'attributes':{'class':_0x327e76,'style':{'background-image':_0x2901bc[_0x1a4e('0x6')]?_0x1a4e('0x2')+_0x2901bc[_0x1a4e('0x6')]+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x2901bc['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':_0x1a4e('0x5')},'children':[{'text':_0x2901bc[_0x1a4e('0xd')]}]}];this[_0x1a4e('0x0')]&&_0x5156cf[_0x1a4e('0xa')](this[_0x1a4e('0x0')]),this['setTemplate']({'tag':_0x1a4e('0xb'),'attributes':{'class':['ck','ck-user'],'data-user-id':_0x2901bc['id']},'children':_0x5156cf});}}
23
+ const _0xab45=['push','ck-user__icon','ck-user__avatar','isAnonymous','setTemplate','content','ck\x20ck-user__name\x20ck-user__name--hidden','ck-user__anonymous','extendTemplate','ck-user','name','avatar','div','notificationView','ck\x20ck-user__name','ck-user__img','ck-user__notification','url(\x27'];(function(_0x249d52,_0xab4592){const _0x3d747b=function(_0x193f76){while(--_0x193f76){_0x249d52['push'](_0x249d52['shift']());}};_0x3d747b(++_0xab4592);}(_0xab45,0xfd));const _0x3d74=function(_0x249d52,_0xab4592){_0x249d52=_0x249d52-0x0;let _0x3d747b=_0xab45[_0x249d52];return _0x3d747b;};import{View as _0x13dea3,IconView as _0x5e6f08}from'ckeditor5/src/ui';import _0x2c9af2 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class B extends _0x13dea3{constructor(_0x2ab40a,_0x11ad84,_0x58f5c9){super(_0x2ab40a),this[_0x3d74('0x9')]=_0x11ad84['name'],this[_0x3d74('0xc')]=null;const _0xa4d912=['ck',_0x3d74('0xe')];if(_0x11ad84[_0x3d74('0x2')]&&_0xa4d912[_0x3d74('0x11')](_0x3d74('0x6')),_0x11ad84[_0x3d74('0xa')]&&_0xa4d912[_0x3d74('0x11')](_0x3d74('0x1')),_0x58f5c9){const _0x4e1dfd=new _0x5e6f08();_0x4e1dfd[_0x3d74('0x7')]({'attributes':{'class':[_0x3d74('0x0')]}}),_0x4e1dfd[_0x3d74('0x4')]=_0x2c9af2,this[_0x3d74('0xc')]={'tag':_0x3d74('0xb'),'attributes':{'class':['ck',_0x3d74('0xf')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x58f5c9},'children':[_0x4e1dfd]};}const _0x5cf8da=[{'tag':_0x3d74('0xb'),'attributes':{'class':_0xa4d912,'style':{'background-image':_0x11ad84[_0x3d74('0xa')]?_0x3d74('0x10')+_0x11ad84[_0x3d74('0xa')]+'\x27)':''}}},{'tag':_0x3d74('0xb'),'attributes':{'class':_0x11ad84['avatar']?_0x3d74('0x5'):_0x3d74('0xd')},'children':[{'text':_0x11ad84['initials']}]}];this[_0x3d74('0xc')]&&_0x5cf8da['push'](this[_0x3d74('0xc')]),this[_0x3d74('0x3')]({'tag':_0x3d74('0xb'),'attributes':{'class':['ck',_0x3d74('0x8')],'data-user-id':_0x11ad84['id']},'children':_0x5cf8da});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5bbe=['Anonymous','users','requires','defineMe','_lastColor','_getNextColor','color','_addAnonymousUser','includes','decorate','config','add','licenseKey','getMarkerClass','info','name','getUser','anonymous-user','get','getSelectionClass','_locale','users-add-duplicated-id','addUser','_myId','init','trial-license-key-reached-limit-revisions','licenseKeyValid','users.colorsCount','licenseKeyTrialLimit:operations','isAnonymous','trim','avatar','charAt','_licenseKeyCheckInterval','define','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.','context','_id','users-me-missing-user','string','pluginName','licenseKeyTrialLimit:revisions','licenseKeyTrialLimit:time','getOperationAuthor','_getInitial','initials','users.anonymousUserId','_isAnonymous','licenseKeyInvalid','destroy','users-add-invalid-id','trial-license-key-reached-limit-time','Users','licenseKeyTrial','getBackgroundColorClass','invalid-license-key'];(function(_0x1d32a1,_0x5bbeb3){const _0xc8ec6e=function(_0xdcb6dd){while(--_0xdcb6dd){_0x1d32a1['push'](_0x1d32a1['shift']());}};_0xc8ec6e(++_0x5bbeb3);}(_0x5bbe,0xde));const _0xc8ec=function(_0x1d32a1,_0x5bbeb3){_0x1d32a1=_0x1d32a1-0x0;let _0xc8ec6e=_0x5bbe[_0x1d32a1];return _0xc8ec6e;};import{ContextPlugin as _0x33057c}from'ckeditor5/src/core';import{Collection as _0xcec594,CKEditorError as _0x1dc260}from'ckeditor5/src/utils';import _0x4a8bec from'./permissions';import{getTranslation as _0x1806a9}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x33057c{static get[_0xc8ec('0x2a')](){return _0xc8ec('0x36');}static get[_0xc8ec('0x4')](){return[_0x4a8bec];}constructor(_0x4be366){super(_0x4be366),this[_0xc8ec('0x26')]['config']['define']('users.anonymousUserId',_0xc8ec('0x13')),this[_0xc8ec('0x26')]['config'][_0xc8ec('0x24')](_0xc8ec('0x1d'),0x8),this[_0xc8ec('0x3')]=new _0xcec594(),this[_0xc8ec('0x16')]=_0x4be366['locale'],this['_licenseKeyCheckInterval']=null,this['_lastColor']=0x0,this[_0xc8ec('0x19')]=null,this[_0xc8ec('0xb')]('getOperationAuthor');}[_0xc8ec('0x1a')](){const _0x505705=this[_0xc8ec('0x26')];this[_0xc8ec('0xe')]=_0x505705[_0xc8ec('0xc')]['get'](_0xc8ec('0xe'));const _0x117843=[_0xc8ec('0x37'),'licenseKeyInvalid',_0xc8ec('0x1c'),_0xc8ec('0x1e'),_0xc8ec('0x2c'),_0xc8ec('0x2b')];this[_0xc8ec('0x23')]=setInterval(()=>{let _0x5cadae;for(const _0x1ef463 in _0x505705){const _0x254407=_0x505705[_0x1ef463];if(_0x117843[_0xc8ec('0xa')](_0x254407)){delete _0x505705[_0x1ef463],_0x5cadae=_0x254407;break;}}if(_0xc8ec('0x32')===_0x5cadae)throw clearInterval(this[_0xc8ec('0x23')]),new _0x1dc260(_0xc8ec('0x1'),null);if(_0xc8ec('0x37')===_0x5cadae&&console[_0xc8ec('0x10')](_0xc8ec('0x25')),_0xc8ec('0x1e')===_0x5cadae)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x1dc260('trial-license-key-reached-limit-changes',null);if(_0xc8ec('0x2c')===_0x5cadae)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x1dc260(_0xc8ec('0x35'),null);if(_0xc8ec('0x2b')===_0x5cadae)throw clearInterval(this[_0xc8ec('0x23')]),new _0x1dc260(_0xc8ec('0x1b'),null);'licenseKeyValid'===_0x5cadae&&clearInterval(this[_0xc8ec('0x23')]);},0x3e8),this[_0xc8ec('0x9')]();}get['me'](){return null==this[_0xc8ec('0x19')]?null:this[_0xc8ec('0x12')](this['_myId']);}[_0xc8ec('0x18')]({id:_0x2778ef,name:_0x348b99,..._0x24e5f3}){if(!_0x2778ef||_0xc8ec('0x29')!=typeof _0x2778ef)throw new _0x1dc260(_0xc8ec('0x34'));if(this['users']['has'](_0x2778ef))throw new _0x1dc260(_0xc8ec('0x17'),null,{'id':_0x2778ef});const _0xe0e324={..._0x24e5f3,'id':_0x2778ef,'name':a(this['_locale'],_0x348b99),'color':this[_0xc8ec('0x7')]()};_0xe0e324[_0xc8ec('0x11')]=a(this['_locale'],_0xe0e324[_0xc8ec('0x11')]);const _0x247024=new User(_0xe0e324);return this[_0xc8ec('0x3')][_0xc8ec('0xd')](_0x247024),_0x247024;}['getUser'](_0x373987){return this['users'][_0xc8ec('0x14')](_0x373987);}['useAnonymousUser'](){const _0x21cb87=this[_0xc8ec('0x26')]['config'][_0xc8ec('0x14')]('users.anonymousUserId');this[_0xc8ec('0x19')]||this[_0xc8ec('0x5')](_0x21cb87);}['defineMe'](_0x205c7d){if(this[_0xc8ec('0x19')])throw new _0x1dc260('users-me-already-defined',null);if(!this[_0xc8ec('0x12')](_0x205c7d))throw new _0x1dc260(_0xc8ec('0x28'),null);this['_myId']=_0x205c7d;}[_0xc8ec('0x2d')](){return this['me'];}[_0xc8ec('0x33')](){super[_0xc8ec('0x33')](),clearInterval(this['_licenseKeyCheckInterval']);}[_0xc8ec('0x7')](){const _0x1001aa=this[_0xc8ec('0x26')][_0xc8ec('0xc')][_0xc8ec('0x14')](_0xc8ec('0x1d'));return this[_0xc8ec('0x6')]>=_0x1001aa&&(this['_lastColor']=0x0),new u(this[_0xc8ec('0x6')]++);}[_0xc8ec('0x9')](){const _0x399cc5=this[_0xc8ec('0x26')][_0xc8ec('0xc')][_0xc8ec('0x14')](_0xc8ec('0x30'));this[_0xc8ec('0x18')]({'id':_0x399cc5,'name':_0x1806a9(this[_0xc8ec('0x16')],_0xc8ec('0x2'))})[_0xc8ec('0x31')]=!0x0;}}export class User{constructor(_0x55b4a2){this['id']=_0x55b4a2['id'],this['color']=_0x55b4a2[_0xc8ec('0x8')],this[_0xc8ec('0x11')]=_0x55b4a2[_0xc8ec('0x11')],this[_0xc8ec('0x21')]=_0x55b4a2[_0xc8ec('0x21')],this[_0xc8ec('0x31')]=!0x1;}get[_0xc8ec('0x1f')](){return this[_0xc8ec('0x31')];}get[_0xc8ec('0x2f')](){const _0x1a298d=this[_0xc8ec('0x11')]['split']('\x20');return 0x1===_0x1a298d['length']?this[_0xc8ec('0x2e')](_0x1a298d[0x0]):this[_0xc8ec('0x2e')](_0x1a298d[0x0])+this[_0xc8ec('0x2e')](_0x1a298d[_0x1a298d['length']-0x1]);}[_0xc8ec('0x2e')](_0x22b0b5){return _0x22b0b5[_0xc8ec('0x22')](0x0)['toUpperCase']();}}function a(_0x958e5f,_0x3c81c9=''){return''==(_0x3c81c9=_0x3c81c9[_0xc8ec('0x20')]())?_0x1806a9(_0x958e5f,_0xc8ec('0x2')):_0x3c81c9;}class u{constructor(_0x1d8a07){this[_0xc8ec('0x27')]=_0x1d8a07;}[_0xc8ec('0x0')](){return'ck-user__bg-color--'+this[_0xc8ec('0x27')];}[_0xc8ec('0x15')](){return'ck-user__selection--'+this[_0xc8ec('0x27')];}[_0xc8ec('0xf')](){return'ck-user__marker--'+this[_0xc8ec('0x27')];}}
23
+ const _0x1d1a=['users-me-missing-user','_locale','invalid-license-key','trial-license-key-reached-limit-changes','licenseKeyTrialLimit:revisions','users','getSelectionClass','licenseKeyTrial','useAnonymousUser','context','length','_isAnonymous','ck-user__selection--','getUser','init','addUser','licenseKeyInvalid','users-me-already-defined','info','_licenseKeyCheckInterval','add','name','string','Anonymous','users.anonymousUserId','includes','avatar','users.colorsCount','split','get','users-add-invalid-id','licenseKeyTrialLimit:time','charAt','getMarkerClass','isAnonymous','locale','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.','trial-license-key-reached-limit-revisions','getBackgroundColorClass','anonymous-user','ck-user__marker--','define','_getInitial','initials','ck-user__bg-color--','_getNextColor','_addAnonymousUser','_lastColor','trial-license-key-reached-limit-time','_myId','licenseKeyTrialLimit:operations','pluginName','destroy','licenseKey','config','getOperationAuthor','defineMe','color','_id','licenseKeyValid','trim'];(function(_0x329e2f,_0x1d1aa0){const _0x7255c4=function(_0x3ba87e){while(--_0x3ba87e){_0x329e2f['push'](_0x329e2f['shift']());}};_0x7255c4(++_0x1d1aa0);}(_0x1d1a,0x138));const _0x7255=function(_0x329e2f,_0x1d1aa0){_0x329e2f=_0x329e2f-0x0;let _0x7255c4=_0x1d1a[_0x329e2f];return _0x7255c4;};import{ContextPlugin as _0x54793f}from'ckeditor5/src/core';import{Collection as _0x2f2469,CKEditorError as _0x16a06e}from'ckeditor5/src/utils';import _0x4ea731 from'./permissions';import{getTranslation as _0x26bb19}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x54793f{static get[_0x7255('0x2c')](){return'Users';}static get['requires'](){return[_0x4ea731];}constructor(_0x56acb2){super(_0x56acb2),this[_0x7255('0x2')][_0x7255('0x2f')][_0x7255('0x22')]('users.anonymousUserId',_0x7255('0x20')),this[_0x7255('0x2')]['config'][_0x7255('0x22')](_0x7255('0x14'),0x8),this[_0x7255('0x3b')]=new _0x2f2469(),this[_0x7255('0x37')]=_0x56acb2[_0x7255('0x1c')],this[_0x7255('0xc')]=null,this[_0x7255('0x28')]=0x0,this[_0x7255('0x2a')]=null,this['decorate'](_0x7255('0x30'));}[_0x7255('0x7')](){const _0x187dc1=this[_0x7255('0x2')];this[_0x7255('0x2e')]=_0x187dc1['config'][_0x7255('0x16')](_0x7255('0x2e'));const _0x2ecb87=['licenseKeyTrial',_0x7255('0x9'),_0x7255('0x34'),_0x7255('0x2b'),_0x7255('0x18'),'licenseKeyTrialLimit:revisions'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5a57db;for(const _0x106c9f in _0x187dc1){const _0x5dd7c6=_0x187dc1[_0x106c9f];if(_0x2ecb87[_0x7255('0x12')](_0x5dd7c6)){delete _0x187dc1[_0x106c9f],_0x5a57db=_0x5dd7c6;break;}}if(_0x7255('0x9')===_0x5a57db)throw clearInterval(this[_0x7255('0xc')]),new _0x16a06e(_0x7255('0x38'),null);if(_0x7255('0x0')===_0x5a57db&&console[_0x7255('0xb')](_0x7255('0x1d')),_0x7255('0x2b')===_0x5a57db)throw clearInterval(this[_0x7255('0xc')]),new _0x16a06e(_0x7255('0x39'),null);if(_0x7255('0x18')===_0x5a57db)throw clearInterval(this[_0x7255('0xc')]),new _0x16a06e(_0x7255('0x29'),null);if(_0x7255('0x3a')===_0x5a57db)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x16a06e(_0x7255('0x1e'),null);'licenseKeyValid'===_0x5a57db&&clearInterval(this[_0x7255('0xc')]);},0x3e8),this[_0x7255('0x27')]();}get['me'](){return null==this[_0x7255('0x2a')]?null:this[_0x7255('0x6')](this[_0x7255('0x2a')]);}['addUser']({id:_0x1b9f7a,name:_0x1246e,..._0x5ad4db}){if(!_0x1b9f7a||_0x7255('0xf')!=typeof _0x1b9f7a)throw new _0x16a06e(_0x7255('0x17'));if(this[_0x7255('0x3b')]['has'](_0x1b9f7a))throw new _0x16a06e('users-add-duplicated-id',null,{'id':_0x1b9f7a});const _0x1480ba={..._0x5ad4db,'id':_0x1b9f7a,'name':a(this[_0x7255('0x37')],_0x1246e),'color':this[_0x7255('0x26')]()};_0x1480ba[_0x7255('0xe')]=a(this[_0x7255('0x37')],_0x1480ba[_0x7255('0xe')]);const _0x4d4885=new User(_0x1480ba);return this['users'][_0x7255('0xd')](_0x4d4885),_0x4d4885;}[_0x7255('0x6')](_0xf53716){return this[_0x7255('0x3b')]['get'](_0xf53716);}[_0x7255('0x1')](){const _0x367f4f=this[_0x7255('0x2')]['config'][_0x7255('0x16')](_0x7255('0x11'));this[_0x7255('0x2a')]||this['defineMe'](_0x367f4f);}[_0x7255('0x31')](_0x3277c7){if(this[_0x7255('0x2a')])throw new _0x16a06e(_0x7255('0xa'),null);if(!this[_0x7255('0x6')](_0x3277c7))throw new _0x16a06e(_0x7255('0x36'),null);this[_0x7255('0x2a')]=_0x3277c7;}[_0x7255('0x30')](){return this['me'];}[_0x7255('0x2d')](){super[_0x7255('0x2d')](),clearInterval(this[_0x7255('0xc')]);}['_getNextColor'](){const _0x1f7c78=this[_0x7255('0x2')][_0x7255('0x2f')][_0x7255('0x16')]('users.colorsCount');return this[_0x7255('0x28')]>=_0x1f7c78&&(this['_lastColor']=0x0),new u(this[_0x7255('0x28')]++);}[_0x7255('0x27')](){const _0xf343b0=this['context'][_0x7255('0x2f')][_0x7255('0x16')](_0x7255('0x11'));this[_0x7255('0x8')]({'id':_0xf343b0,'name':_0x26bb19(this['_locale'],_0x7255('0x10'))})[_0x7255('0x4')]=!0x0;}}export class User{constructor(_0x4b9045){this['id']=_0x4b9045['id'],this[_0x7255('0x32')]=_0x4b9045[_0x7255('0x32')],this[_0x7255('0xe')]=_0x4b9045[_0x7255('0xe')],this['avatar']=_0x4b9045[_0x7255('0x13')],this[_0x7255('0x4')]=!0x1;}get[_0x7255('0x1b')](){return this[_0x7255('0x4')];}get[_0x7255('0x24')](){const _0x4b8487=this[_0x7255('0xe')][_0x7255('0x15')]('\x20');return 0x1===_0x4b8487[_0x7255('0x3')]?this[_0x7255('0x23')](_0x4b8487[0x0]):this[_0x7255('0x23')](_0x4b8487[0x0])+this[_0x7255('0x23')](_0x4b8487[_0x4b8487[_0x7255('0x3')]-0x1]);}[_0x7255('0x23')](_0x1a63fe){return _0x1a63fe[_0x7255('0x19')](0x0)['toUpperCase']();}}function a(_0x279da7,_0x5b4c70=''){return''==(_0x5b4c70=_0x5b4c70[_0x7255('0x35')]())?_0x26bb19(_0x279da7,'Anonymous'):_0x5b4c70;}class u{constructor(_0x1c2e35){this[_0x7255('0x33')]=_0x1c2e35;}[_0x7255('0x1f')](){return _0x7255('0x25')+this[_0x7255('0x33')];}[_0x7255('0x3c')](){return _0x7255('0x5')+this[_0x7255('0x33')];}[_0x7255('0x1a')](){return _0x7255('0x21')+this[_0x7255('0x33')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x1fd628,_0x11232c){const t=_0x1fd628['t'];switch(_0x11232c){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(_0x2a4b97,_0x292981){const t=_0x2a4b97['t'];switch(_0x292981){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 _0x1d10=['message','locale','confirmView','set','focus','remove','submit','once','fire','render','deregisterChild','_removeConfirm','element','cancel','showConfirm','appendChild','isConfirm','destroy'];(function(_0x3d3f76,_0x1d103d){var _0x143bc8=function(_0x33a2be){while(--_0x33a2be){_0x3d3f76['push'](_0x3d3f76['shift']());}};_0x143bc8(++_0x1d103d);}(_0x1d10,0x165));var _0x143b=function(_0x3d3f76,_0x1d103d){_0x3d3f76=_0x3d3f76-0x0;var _0x143bc8=_0x1d10[_0x3d3f76];return _0x143bc8;};import _0x3b701f from'./confirmview';export default function m(_0x3396e2){return class extends _0x3396e2{[_0x143b('0x11')](_0x1cc3be,_0x4cf3cd){return this[_0x143b('0x5')]=new _0x3b701f(this[_0x143b('0x4')]),this[_0x143b('0x5')][_0x143b('0xc')](),this[_0x143b('0x5')][_0x143b('0x3')]=_0x1cc3be,this[_0x143b('0x5')][_0x143b('0xa')]('cancel',()=>{this[_0x143b('0xe')]();}),this[_0x143b('0x5')][_0x143b('0xa')](_0x143b('0x9'),()=>{this[_0x143b('0xe')]();}),_0x4cf3cd[_0x143b('0x0')](this[_0x143b('0x5')]['element']),this['registerChild'](this[_0x143b('0x5')]),this[_0x143b('0xf')][_0x143b('0x7')](),this[_0x143b('0x6')](_0x143b('0x1'),!0x0),new Promise(_0x54f9f9=>this[_0x143b('0x5')]['on'](_0x143b('0x9'),_0x54f9f9));}['cancelConfirm'](){this[_0x143b('0x1')]&&this[_0x143b('0x5')][_0x143b('0xb')](_0x143b('0x10'));}[_0x143b('0xe')](){this[_0x143b('0xf')]&&this[_0x143b('0x5')]&&this['confirmView']['element']&&(this['element']['focus'](),this[_0x143b('0x5')]['element'][_0x143b('0x8')](),this[_0x143b('0xd')](this[_0x143b('0x5')]),this[_0x143b('0x1')]=!0x1,this['confirmView'][_0x143b('0x2')](),this[_0x143b('0x5')]=void 0x0);}};}
23
+ var _0x4823=['once','remove','cancelConfirm','cancel','element','isConfirm','message','appendChild','deregisterChild','submit','render','registerChild','_removeConfirm','set','showConfirm','fire','locale','destroy','focus','confirmView'];(function(_0x3762c9,_0x482394){var _0x3239e9=function(_0x94f4d){while(--_0x94f4d){_0x3762c9['push'](_0x3762c9['shift']());}};_0x3239e9(++_0x482394);}(_0x4823,0x14c));var _0x3239=function(_0x3762c9,_0x482394){_0x3762c9=_0x3762c9-0x0;var _0x3239e9=_0x4823[_0x3762c9];return _0x3239e9;};import _0xa931c9 from'./confirmview';export default function m(_0x195586){return class extends _0x195586{[_0x3239('0x2')](_0x8eb253,_0x37fad5){return this[_0x3239('0x7')]=new _0xa931c9(this[_0x3239('0x4')]),this[_0x3239('0x7')][_0x3239('0x12')](),this['confirmView'][_0x3239('0xe')]=_0x8eb253,this[_0x3239('0x7')]['once'](_0x3239('0xb'),()=>{this['_removeConfirm']();}),this[_0x3239('0x7')][_0x3239('0x8')](_0x3239('0x11'),()=>{this['_removeConfirm']();}),_0x37fad5[_0x3239('0xf')](this[_0x3239('0x7')][_0x3239('0xc')]),this[_0x3239('0x13')](this[_0x3239('0x7')]),this['element']['focus'](),this[_0x3239('0x1')](_0x3239('0xd'),!0x0),new Promise(_0x25dd3e=>this['confirmView']['on'](_0x3239('0x11'),_0x25dd3e));}[_0x3239('0xa')](){this[_0x3239('0xd')]&&this['confirmView'][_0x3239('0x3')](_0x3239('0xb'));}[_0x3239('0x0')](){this[_0x3239('0xc')]&&this[_0x3239('0x7')]&&this[_0x3239('0x7')]['element']&&(this['element'][_0x3239('0x6')](),this[_0x3239('0x7')][_0x3239('0xc')][_0x3239('0x9')](),this[_0x3239('0x10')](this[_0x3239('0x7')]),this[_0x3239('0xd')]=!0x1,this[_0x3239('0x7')][_0x3239('0x5')](),this[_0x3239('0x7')]=void 0x0);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a1b=['cancelView','div','setTemplate','message','ck-thread__remove-confirm-actions','cancel','_createButtonView','Are\x20you\x20sure?','check','fire','extendTemplate','submitView','submit'];(function(_0x2b652a,_0x4a1b7e){const _0x30522a=function(_0x495f78){while(--_0x495f78){_0x2b652a['push'](_0x2b652a['shift']());}};_0x30522a(++_0x4a1b7e);}(_0x4a1b,0x11a));const _0x3052=function(_0x2b652a,_0x4a1b7e){_0x2b652a=_0x2b652a-0x0;let _0x30522a=_0x4a1b[_0x2b652a];return _0x30522a;};import{View as _0x590391,ButtonView as _0x31547f}from'ckeditor5/src/ui';import{icons as _0x20104f}from'ckeditor5/src/core';import{getTranslation as _0x13d9c8}from'./common-translations';export default class h extends _0x590391{constructor(_0xa835d0){super(_0xa835d0);const _0x46ae54=this['bindTemplate'];this[_0x3052('0x2')]=this[_0x3052('0xa')](_0xa835d0,_0x13d9c8(_0xa835d0,'Yes'),_0x20104f[_0x3052('0xc')],_0x3052('0x3')),this[_0x3052('0x4')]=this['_createButtonView'](_0xa835d0,_0x13d9c8(_0xa835d0,'No'),_0x20104f[_0x3052('0x9')],_0x3052('0x9')),this['set'](_0x3052('0x7'),_0x13d9c8(_0xa835d0,_0x3052('0xb'))),this[_0x3052('0x6')]({'tag':_0x3052('0x5'),'attributes':{'class':['ck-thread__remove-confirm']},'children':[{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-inner'},'children':[{'tag':'p','children':[{'text':_0x46ae54['to'](_0x3052('0x7'))}]},{'tag':_0x3052('0x5'),'attributes':{'class':_0x3052('0x8')},'children':[this['submitView'],this[_0x3052('0x4')]]}]}]});}[_0x3052('0xa')](_0x1836b6,_0x14a7c5,_0x1e63bb,_0x5a9292){const _0x101c3a=new _0x31547f(_0x1836b6);return _0x101c3a['label']=_0x14a7c5,_0x101c3a['icon']=_0x1e63bb,_0x101c3a[_0x3052('0x1')]({'attributes':{'class':'ck-thread__remove-confirm-'+_0x5a9292}}),_0x101c3a['on']('execute',()=>this[_0x3052('0x0')](_0x5a9292)),_0x101c3a;}}
23
+ const _0x1671=['_createButtonView','cancelView','ck-thread__remove-confirm-inner','Are\x20you\x20sure?','div','label','check','ck-thread__remove-confirm','set','submit','cancel','ck-thread__remove-confirm-','message','setTemplate','bindTemplate','Yes','submitView','icon','fire','extendTemplate'];(function(_0x41e407,_0x167123){const _0x3d4d9b=function(_0x1802fa){while(--_0x1802fa){_0x41e407['push'](_0x41e407['shift']());}};_0x3d4d9b(++_0x167123);}(_0x1671,0x179));const _0x3d4d=function(_0x41e407,_0x167123){_0x41e407=_0x41e407-0x0;let _0x3d4d9b=_0x1671[_0x41e407];return _0x3d4d9b;};import{View as _0x1df283,ButtonView as _0xbb8581}from'ckeditor5/src/ui';import{icons as _0x3dc583}from'ckeditor5/src/core';import{getTranslation as _0x1c8706}from'./common-translations';export default class h extends _0x1df283{constructor(_0x5a3378){super(_0x5a3378);const _0x371961=this[_0x3d4d('0x11')];this[_0x3d4d('0x13')]=this[_0x3d4d('0x3')](_0x5a3378,_0x1c8706(_0x5a3378,_0x3d4d('0x12')),_0x3dc583[_0x3d4d('0x9')],_0x3d4d('0xc')),this[_0x3d4d('0x4')]=this[_0x3d4d('0x3')](_0x5a3378,_0x1c8706(_0x5a3378,'No'),_0x3dc583[_0x3d4d('0xd')],'cancel'),this[_0x3d4d('0xb')](_0x3d4d('0xf'),_0x1c8706(_0x5a3378,_0x3d4d('0x6'))),this[_0x3d4d('0x10')]({'tag':_0x3d4d('0x7'),'attributes':{'class':[_0x3d4d('0xa')]},'children':[{'tag':_0x3d4d('0x7'),'attributes':{'class':_0x3d4d('0x5')},'children':[{'tag':'p','children':[{'text':_0x371961['to'](_0x3d4d('0xf'))}]},{'tag':_0x3d4d('0x7'),'attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this['submitView'],this[_0x3d4d('0x4')]]}]}]});}['_createButtonView'](_0x50a3f2,_0x1970f2,_0x3d4303,_0x28caa7){const _0x4f097d=new _0xbb8581(_0x50a3f2);return _0x4f097d[_0x3d4d('0x8')]=_0x1970f2,_0x4f097d[_0x3d4d('0x0')]=_0x3d4303,_0x4f097d[_0x3d4d('0x2')]({'attributes':{'class':_0x3d4d('0xe')+_0x28caa7}}),_0x4f097d['on']('execute',()=>this[_0x3d4d('0x1')](_0x28caa7)),_0x4f097d;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5289=['MM-dd-yyyy\x20hh:mma','string','invalid-date-time-format','\x27Last\x27\x20EEEE\x20hh:mma','\x27Today\x27\x20hh:mma','dateTimeFormat','\x27Yesterday\x27\x20hh:mma','function'];(function(_0x2ce387,_0x528911){const _0x569804=function(_0xdd4e66){while(--_0xdd4e66){_0x2ce387['push'](_0x2ce387['shift']());}};_0x569804(++_0x528911);}(_0x5289,0x120));const _0x5698=function(_0x2ce387,_0x528911){_0x2ce387=_0x2ce387-0x0;let _0x569804=_0x5289[_0x2ce387];return _0x569804;};import _0x1feff8 from'date-fns/format';import _0x807819 from'date-fns/parseISO';import _0x471610 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0xfac8c0}from'ckeditor5/src/utils';export default function E(_0x241743={}){if(void 0x0!==_0x241743[_0x5698('0x5')]&&_0x5698('0x7')!=typeof _0x241743[_0x5698('0x5')])throw new _0xfac8c0(_0x5698('0x2'));return _0x28a293=>{const _0x32ad1b=_0x5698('0x1')==typeof _0x28a293?_0x807819(_0x28a293):_0x28a293,_0x1fecbb=new Date(),_0x3df1a5=_0x471610(_0x1fecbb,_0x32ad1b);return _0x241743[_0x5698('0x5')]?_0x241743['dateTimeFormat'](_0x32ad1b):_0x1feff8(_0x32ad1b,0x0===_0x3df1a5?_0x5698('0x4'):0x1===_0x3df1a5?_0x5698('0x6'):_0x3df1a5<0x7?_0x5698('0x3'):_0x5698('0x0'));};}
23
+ const _0x5732=['\x27Last\x27\x20EEEE\x20hh:mma','\x27Today\x27\x20hh:mma','\x27Yesterday\x27\x20hh:mma','dateTimeFormat','function'];(function(_0x262965,_0x5732a1){const _0x401b9f=function(_0x3d1e02){while(--_0x3d1e02){_0x262965['push'](_0x262965['shift']());}};_0x401b9f(++_0x5732a1);}(_0x5732,0x104));const _0x401b=function(_0x262965,_0x5732a1){_0x262965=_0x262965-0x0;let _0x401b9f=_0x5732[_0x262965];return _0x401b9f;};import _0x40a7f4 from'date-fns/format';import _0x4dc46b from'date-fns/parseISO';import _0x17dd0b from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x3d9b89}from'ckeditor5/src/utils';export default function E(_0xf1e884={}){if(void 0x0!==_0xf1e884[_0x401b('0x3')]&&_0x401b('0x4')!=typeof _0xf1e884['dateTimeFormat'])throw new _0x3d9b89('invalid-date-time-format');return _0x4f275a=>{const _0x7449f9='string'==typeof _0x4f275a?_0x4dc46b(_0x4f275a):_0x4f275a,_0x41e400=new Date(),_0x403d76=_0x17dd0b(_0x41e400,_0x7449f9);return _0xf1e884[_0x401b('0x3')]?_0xf1e884['dateTimeFormat'](_0x7449f9):_0x40a7f4(_0x7449f9,0x0===_0x403d76?_0x401b('0x1'):0x1===_0x403d76?_0x401b('0x2'):_0x403d76<0x7?_0x401b('0x0'):'MM-dd-yyyy\x20hh:mma');};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41e4=['view','markerNameToElements','mapViewToDom','length','filter','getClientRects','domConverter','item','name','domElement','push','mapper','map','values'];(function(_0x23e0e0,_0x41e494){const _0x3b2367=function(_0xa805be){while(--_0xa805be){_0x23e0e0['push'](_0x23e0e0['shift']());}};_0x3b2367(++_0x41e494);}(_0x41e4,0x6d));const _0x3b23=function(_0x23e0e0,_0x41e494){_0x23e0e0=_0x23e0e0-0x0;let _0x3b2367=_0x41e4[_0x23e0e0];return _0x3b2367;};import{first as _0x2d6814}from'ckeditor5/src/utils';export default function k(_0x5f3395,_0x20f3aa){const _0x3ef6d8=_0x5f3395['mapper']['markerNameToElements'](_0x20f3aa['name']);if(!_0x3ef6d8)return null;const _0x217a18=_0x2d6814(_0x3ef6d8[_0x3b23('0x2')]());return _0x5f3395[_0x3b23('0x3')][_0x3b23('0x9')][_0x3b23('0x5')](_0x217a18)||null;}export function getAllMarkersDomElementsSorted(_0x134511,_0x3481b0){if(0x0===_0x3481b0[_0x3b23('0x6')])return null;const _0x22c779=[],_0x5c4978=_0x134511[_0x3b23('0x3')]['domConverter'];for(const _0x19fd9f of _0x3481b0){const _0x54daa6=_0x134511[_0x3b23('0x0')][_0x3b23('0x4')](_0x19fd9f[_0x3b23('0xb')]);if(!_0x54daa6)continue;const _0x524196=Array['from'](_0x54daa6)['map'](_0x2ecee8=>_0x5c4978[_0x3b23('0x5')](_0x2ecee8))[_0x3b23('0x7')](_0x2d7095=>!!_0x2d7095);_0x22c779[_0x3b23('0xd')](..._0x524196);}if(0x0===_0x22c779[_0x3b23('0x6')])return null;const _0x1d4029=[];for(const _0x5871ad of _0x22c779){const _0x22d59a=_0x5871ad[_0x3b23('0x8')]()[_0x3b23('0xa')](0x0);_0x22d59a&&_0x1d4029[_0x3b23('0xd')]({'x':_0x22d59a['x'],'y':_0x22d59a['y'],'domElement':_0x5871ad});}return 0x0===_0x1d4029['length']?null:(_0x1d4029['sort']((_0x2caf58,_0x506d48)=>_0x2caf58['y']-_0x506d48['y']||_0x2caf58['x']-_0x506d48['x']),_0x1d4029[_0x3b23('0x1')](_0x31c866=>_0x31c866[_0x3b23('0xc')]));}
23
+ const _0x3c94=['view','push','map','item','mapper','getClientRects','filter','mapViewToDom','markerNameToElements','length','name','domConverter','sort','from'];(function(_0x1651bc,_0x3c947d){const _0x1c3cd1=function(_0x1ba07e){while(--_0x1ba07e){_0x1651bc['push'](_0x1651bc['shift']());}};_0x1c3cd1(++_0x3c947d);}(_0x3c94,0xc1));const _0x1c3c=function(_0x1651bc,_0x3c947d){_0x1651bc=_0x1651bc-0x0;let _0x1c3cd1=_0x3c94[_0x1651bc];return _0x1c3cd1;};import{first as _0x3b1904}from'ckeditor5/src/utils';export default function k(_0x192fc6,_0x2bcf1c){const _0x4faf80=_0x192fc6[_0x1c3c('0x7')][_0x1c3c('0xb')](_0x2bcf1c[_0x1c3c('0xd')]);if(!_0x4faf80)return null;const _0x11388e=_0x3b1904(_0x4faf80['values']());return _0x192fc6[_0x1c3c('0x3')][_0x1c3c('0x0')][_0x1c3c('0xa')](_0x11388e)||null;}export function getAllMarkersDomElementsSorted(_0x37d605,_0x14c4a7){if(0x0===_0x14c4a7[_0x1c3c('0xc')])return null;const _0x54786e=[],_0x27b15b=_0x37d605[_0x1c3c('0x3')][_0x1c3c('0x0')];for(const _0xb26a3c of _0x14c4a7){const _0x53418c=_0x37d605[_0x1c3c('0x7')][_0x1c3c('0xb')](_0xb26a3c[_0x1c3c('0xd')]);if(!_0x53418c)continue;const _0x5dc266=Array[_0x1c3c('0x2')](_0x53418c)[_0x1c3c('0x5')](_0x137a6d=>_0x27b15b[_0x1c3c('0xa')](_0x137a6d))[_0x1c3c('0x9')](_0x501ee5=>!!_0x501ee5);_0x54786e[_0x1c3c('0x4')](..._0x5dc266);}if(0x0===_0x54786e['length'])return null;const _0x154dfe=[];for(const _0x2190bd of _0x54786e){const _0x2fe3f7=_0x2190bd[_0x1c3c('0x8')]()[_0x1c3c('0x6')](0x0);_0x2fe3f7&&_0x154dfe[_0x1c3c('0x4')]({'x':_0x2fe3f7['x'],'y':_0x2fe3f7['y'],'domElement':_0x2190bd});}return 0x0===_0x154dfe['length']?null:(_0x154dfe[_0x1c3c('0x1')]((_0x2b3671,_0x2f2e06)=>_0x2b3671['y']-_0x2f2e06['y']||_0x2b3671['x']-_0x2f2e06['x']),_0x154dfe[_0x1c3c('0x5')](_0x14911d=>_0x14911d['domElement']));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x36af=['sign','toString','charCodeAt','boolean','number','string','isArray','sort','object'];(function(_0x5e08be,_0x36af31){const _0x463429=function(_0x457131){while(--_0x457131){_0x5e08be['push'](_0x5e08be['shift']());}};_0x463429(++_0x36af31);}(_0x36af,0x1ef));const _0x4634=function(_0x5e08be,_0x36af31){_0x5e08be=_0x5e08be-0x0;let _0x463429=_0x36af[_0x5e08be];return _0x463429;};export default function b(_0x33349a){let _0x4d8329=0x0,_0x27cc66=0x0;for(const _0x2e7bf4 of g(_0x33349a))_0x4d8329=(_0x4d8329<<0x5)-_0x4d8329+_0x2e7bf4,_0x4d8329&=_0x4d8329,[_0x4d8329,_0x27cc66]=[_0x27cc66,_0x4d8329];return O(_0x4d8329)+O(_0x27cc66);}function*j(_0x3a6e8c){_0x3a6e8c?_0x4634('0x3')==typeof _0x3a6e8c?yield 0x1:Array[_0x4634('0x6')](_0x3a6e8c)?yield*function*(_0x1b4a57){for(const _0x3f7531 of _0x1b4a57)yield*j(_0x3f7531);}(_0x3a6e8c):_0x4634('0x8')==typeof _0x3a6e8c?yield*g(_0x3a6e8c):_0x4634('0x5')==typeof _0x3a6e8c?yield*A(_0x3a6e8c):_0x4634('0x4')==typeof _0x3a6e8c&&(yield _0x3a6e8c):yield 0x0;}function*g(_0x2f3075){if(yield M('{'),_0x2f3075){const _0x34b4ce=Object['keys'](_0x2f3075)[_0x4634('0x7')]();for(const _0x3ad59a of _0x34b4ce){yield*A(_0x3ad59a),yield M(':');const _0x73b1e3=_0x2f3075[_0x3ad59a];yield*j(_0x73b1e3);}}yield M('}');}function*A(_0x258360){yield M('\x22');for(const _0x105048 of _0x258360)yield M(_0x105048);yield M('\x22');}function M(_0x29cb97){return _0x29cb97[_0x4634('0x2')](0x0);}function O(_0x6fd79b){return(_0x6fd79b*=Math[_0x4634('0x0')](_0x6fd79b))[_0x4634('0x1')](0x24);}
23
+ const _0x1cd2=['sign','keys','sort','number','object','isArray','charCodeAt','toString','boolean'];(function(_0x1cf269,_0x1cd273){const _0x100c70=function(_0x577e5e){while(--_0x577e5e){_0x1cf269['push'](_0x1cf269['shift']());}};_0x100c70(++_0x1cd273);}(_0x1cd2,0xdd));const _0x100c=function(_0x1cf269,_0x1cd273){_0x1cf269=_0x1cf269-0x0;let _0x100c70=_0x1cd2[_0x1cf269];return _0x100c70;};export default function b(_0x8cf5bb){let _0x35cb29=0x0,_0x24bce8=0x0;for(const _0x4ccf44 of g(_0x8cf5bb))_0x35cb29=(_0x35cb29<<0x5)-_0x35cb29+_0x4ccf44,_0x35cb29&=_0x35cb29,[_0x35cb29,_0x24bce8]=[_0x24bce8,_0x35cb29];return O(_0x35cb29)+O(_0x24bce8);}function*j(_0x2bf8d7){_0x2bf8d7?_0x100c('0x3')==typeof _0x2bf8d7?yield 0x1:Array[_0x100c('0x0')](_0x2bf8d7)?yield*function*(_0x5ef028){for(const _0x48c6b0 of _0x5ef028)yield*j(_0x48c6b0);}(_0x2bf8d7):_0x100c('0x8')==typeof _0x2bf8d7?yield*g(_0x2bf8d7):'string'==typeof _0x2bf8d7?yield*A(_0x2bf8d7):_0x100c('0x7')==typeof _0x2bf8d7&&(yield _0x2bf8d7):yield 0x0;}function*g(_0x4339bf){if(yield M('{'),_0x4339bf){const _0x4e142d=Object[_0x100c('0x5')](_0x4339bf)[_0x100c('0x6')]();for(const _0xdf281b of _0x4e142d){yield*A(_0xdf281b),yield M(':');const _0x17607f=_0x4339bf[_0xdf281b];yield*j(_0x17607f);}}yield M('}');}function*A(_0x118399){yield M('\x22');for(const _0x3d8a4d of _0x118399)yield M(_0x3d8a4d);yield M('\x22');}function M(_0x16b897){return _0x16b897[_0x100c('0x1')](0x0);}function O(_0x2c0fef){return(_0x2c0fef*=Math[_0x100c('0x4')](_0x2c0fef))[_0x100c('0x2')](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3fa2=['extraPlugins','builtinPlugins','name','get','every','concat','string','WProofreader','map','filter','initialData','DocumentOutline','plugins','length','has','WordCount','Autosave','rootsAttributes','config','names','set','find','includes','toolbar','from','pluginName'];(function(_0x321428,_0x3fa251){const _0x3b2e51=function(_0x4dd2e2){while(--_0x4dd2e2){_0x321428['push'](_0x321428['shift']());}};_0x3b2e51(++_0x3fa251);}(_0x3fa2,0x136));const _0x3b2e=function(_0x321428,_0x3fa251){_0x321428=_0x321428-0x0;let _0x3b2e51=_0x3fa2[_0x321428];return _0x3b2e51;};const w=[_0x3b2e('0xc'),'context',_0x3b2e('0x19'),_0x3b2e('0x13')],W=['WebSocketGateway','RevisionTracker',_0x3b2e('0x12'),_0x3b2e('0x11'),_0x3b2e('0xd'),_0x3b2e('0x9')];function v(_0x11a1ea,_0xbfbd2f,_0x3d3783,_0xe918=[]){const _0x53f474=_0x3b2e('0x8')==typeof _0x11a1ea?_0x3d3783[_0x3b2e('0x5')](_0x11a1ea)['constructor']:_0x11a1ea,_0x3c4d68=_0x53f474[_0x3b2e('0x1')]||_0x53f474[_0x3b2e('0x4')];if(_0xbfbd2f[_0x3b2e('0x10')](_0x3c4d68))return _0xbfbd2f['get'](_0x3c4d68);if(_0xbfbd2f[_0x3b2e('0x16')](_0x3c4d68,!0x0),_0x3c4d68&&W[_0x3b2e('0x7')](_0xe918)[_0x3b2e('0x18')](_0x3c4d68))return _0xbfbd2f['set'](_0x3c4d68,!0x1),!0x1;if(!_0x53f474['requires'])return _0xbfbd2f[_0x3b2e('0x16')](_0x3c4d68,!0x0),!0x0;const _0x518403=_0x53f474['requires'][_0x3b2e('0x6')](_0x53fb35=>v(_0x53fb35,_0xbfbd2f,_0x3d3783,_0xe918));return _0xbfbd2f['set'](_0x3c4d68,_0x518403),_0x518403;}export default function D(_0x20d45a,_0x2d4ba1){const _0x19947e={};for(const _0x28c07d of _0x20d45a['config'][_0x3b2e('0x15')]())w[_0x3b2e('0x18')](_0x28c07d)||(_0x19947e[_0x28c07d]=_0x20d45a[_0x3b2e('0x14')][_0x3b2e('0x5')](_0x28c07d));const _0x3dcff7=_0x19947e[_0x3b2e('0xe')]||[],_0x5cdd1d=_0x20d45a['constructor'][_0x3b2e('0x3')]||[],_0x10e0d6=_0x3dcff7[_0x3b2e('0xf')]?_0x3dcff7:_0x5cdd1d,_0x157db4=_0x19947e[_0x3b2e('0x2')]||[];delete _0x19947e[_0x3b2e('0x2')];const _0x2ee2a0=_0x19947e['removePlugins']||[];delete _0x19947e['removePlugins'];const _0x551aef=_0x20d45a['_context'][_0x3b2e('0x14')]['get'](_0x3b2e('0xe'))||[],_0x353299=_0x10e0d6[_0x3b2e('0x7')](_0x157db4)[_0x3b2e('0x7')](_0x551aef)[_0x3b2e('0xa')](_0x1bbc2a=>_0x3b2e('0x8')==typeof _0x1bbc2a?_0x5cdd1d[_0x3b2e('0x17')](_0x37d2cb=>_0x37d2cb['pluginName']==_0x1bbc2a):_0x1bbc2a)[_0x3b2e('0xb')](_0x3c5912=>!_0x2ee2a0[_0x3b2e('0x18')](_0x3c5912)),_0x48e3fc=Array[_0x3b2e('0x0')](new Set(_0x353299)),_0x47246b=new Map();return _0x19947e[_0x3b2e('0xe')]=_0x48e3fc[_0x3b2e('0xb')](_0x1ab64b=>v(_0x1ab64b,_0x47246b,_0x20d45a['plugins'],_0x2d4ba1)),_0x19947e;}
23
+ const _0x32f3=['WProofreader','map','string','get','removePlugins','length','rootsAttributes','plugins','builtinPlugins','name','names','find','set','from','filter','context','includes','constructor','concat','toolbar','WordCount','RevisionTracker','WebSocketGateway','every','DocumentOutline','has','extraPlugins','requires','config','initialData','pluginName'];(function(_0x342869,_0x32f31b){const _0x450eed=function(_0x5e4617){while(--_0x5e4617){_0x342869['push'](_0x342869['shift']());}};_0x450eed(++_0x32f31b);}(_0x32f3,0x13f));const _0x450e=function(_0x342869,_0x32f31b){_0x342869=_0x342869-0x0;let _0x450eed=_0x32f3[_0x342869];return _0x450eed;};const w=[_0x450e('0x14'),_0x450e('0x6'),_0x450e('0xa'),_0x450e('0x1c')],W=[_0x450e('0xd'),_0x450e('0xc'),'Autosave',_0x450e('0xb'),_0x450e('0xf'),_0x450e('0x16')];function v(_0x1ebad6,_0x299139,_0x4aff56,_0x227075=[]){const _0x5c312d=_0x450e('0x18')==typeof _0x1ebad6?_0x4aff56[_0x450e('0x19')](_0x1ebad6)[_0x450e('0x8')]:_0x1ebad6,_0x301032=_0x5c312d[_0x450e('0x15')]||_0x5c312d[_0x450e('0x0')];if(_0x299139[_0x450e('0x10')](_0x301032))return _0x299139[_0x450e('0x19')](_0x301032);if(_0x299139[_0x450e('0x3')](_0x301032,!0x0),_0x301032&&W[_0x450e('0x9')](_0x227075)[_0x450e('0x7')](_0x301032))return _0x299139[_0x450e('0x3')](_0x301032,!0x1),!0x1;if(!_0x5c312d[_0x450e('0x12')])return _0x299139['set'](_0x301032,!0x0),!0x0;const _0x124efc=_0x5c312d[_0x450e('0x12')][_0x450e('0xe')](_0x2154b8=>v(_0x2154b8,_0x299139,_0x4aff56,_0x227075));return _0x299139['set'](_0x301032,_0x124efc),_0x124efc;}export default function D(_0x401f84,_0x295794){const _0x1d6e78={};for(const _0x4b857a of _0x401f84[_0x450e('0x13')][_0x450e('0x1')]())w['includes'](_0x4b857a)||(_0x1d6e78[_0x4b857a]=_0x401f84[_0x450e('0x13')]['get'](_0x4b857a));const _0x41870b=_0x1d6e78[_0x450e('0x1d')]||[],_0x87fb5a=_0x401f84[_0x450e('0x8')][_0x450e('0x1e')]||[],_0x493d9b=_0x41870b[_0x450e('0x1b')]?_0x41870b:_0x87fb5a,_0x5203d5=_0x1d6e78[_0x450e('0x11')]||[];delete _0x1d6e78['extraPlugins'];const _0x3a7b66=_0x1d6e78[_0x450e('0x1a')]||[];delete _0x1d6e78[_0x450e('0x1a')];const _0xc41fd8=_0x401f84['_context'][_0x450e('0x13')][_0x450e('0x19')]('plugins')||[],_0x374b3a=_0x493d9b[_0x450e('0x9')](_0x5203d5)[_0x450e('0x9')](_0xc41fd8)[_0x450e('0x17')](_0x528744=>_0x450e('0x18')==typeof _0x528744?_0x87fb5a[_0x450e('0x2')](_0x49da56=>_0x49da56[_0x450e('0x15')]==_0x528744):_0x528744)['filter'](_0x2c916e=>!_0x3a7b66[_0x450e('0x7')](_0x2c916e)),_0x3b1c2f=Array[_0x450e('0x4')](new Set(_0x374b3a)),_0x490170=new Map();return _0x1d6e78[_0x450e('0x1d')]=_0x3b1c2f[_0x450e('0x5')](_0x558d19=>v(_0x558d19,_0x490170,_0x401f84[_0x450e('0x1d')],_0x295794)),_0x1d6e78;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28a5=['startsWith','length','match','split','replace','substring','join','...','pop','slice','indexOf','push'];(function(_0x7448ca,_0x28a54b){const _0x302003=function(_0x2ec64a){while(--_0x2ec64a){_0x7448ca['push'](_0x7448ca['shift']());}};_0x302003(++_0x28a54b);}(_0x28a5,0x82));const _0x3020=function(_0x7448ca,_0x28a54b){_0x7448ca=_0x7448ca-0x0;let _0x302003=_0x28a5[_0x7448ca];return _0x302003;};export default function z(_0x59c011,{limit:_0x250d87,suffix:_0x284c88=_0x3020('0x9')}){const _0x4c776b=[];let _0x261bfa=0x0;const _0x21ff5f=_0x59c011[_0x3020('0x6')](/</g,'\x0a<')[_0x3020('0x6')](/>/g,'>\x0a')[_0x3020('0x6')](/^\n/g,'')[_0x3020('0x6')](/\n$/g,'')[_0x3020('0x5')]('\x0a');for(let _0x3ea5f6=0x0;_0x3ea5f6<_0x21ff5f[_0x3020('0x3')];_0x3ea5f6++){let _0x5911c9=_0x21ff5f[_0x3ea5f6];const _0x54ef3d=Z(_0x5911c9);if(_0x5911c9[_0x3020('0x2')]('<')){if(_0x261bfa>=_0x250d87){const _0x4d740a=_0x5911c9[_0x3020('0x4')](/[a-zA-Z]+/);if(!_0x4d740a){_0x21ff5f[_0x3ea5f6]='';continue;}const _0x16fd8b=_0x4d740a[0x0];_0x5911c9[_0x3020('0x2')]('</')?(_0x4c776b['length']&&(_0x5911c9=''),_0x4c776b[_0x3020('0xa')]()):(_0x4c776b['push'](_0x16fd8b),_0x5911c9='');}}else{if(_0x261bfa>=_0x250d87)_0x5911c9='';else{if(_0x261bfa+_0x54ef3d[_0x3020('0x3')]>=_0x250d87){let _0x1f3620=_0x250d87-_0x261bfa;if('\x20'===_0x54ef3d[_0x1f3620-0x1])_0x1f3620--;else{const _0x1021df=_0x54ef3d[_0x3020('0xb')](_0x1f3620)[_0x3020('0x0')]('\x20');-0x1!==_0x1021df?_0x1f3620+=_0x1021df:_0x1f3620=_0x5911c9[_0x3020('0x3')];}_0x5911c9=_0x54ef3d[_0x3020('0xb')](0x0,_0x1f3620)[_0x3020('0x8')]('')+_0x284c88,_0x261bfa=_0x250d87;}else _0x261bfa+=_0x54ef3d[_0x3020('0x3')];}}_0x21ff5f[_0x3ea5f6]=_0x5911c9;}return _0x21ff5f[_0x3020('0x8')]('\x0a')['replace'](/\n/g,'');}function Z(_0x1e7cb7){const _0x371353=[];for(let _0x2429ad=0x0;_0x2429ad<_0x1e7cb7['length'];_0x2429ad++){const _0x4358d4=_0x1e7cb7[_0x3020('0x7')](_0x2429ad)[_0x3020('0x4')](/^&[a-z0-9#]+;/);if(_0x4358d4){const _0x253ac7=_0x4358d4[0x0];_0x371353['push'](_0x253ac7),_0x2429ad+=_0x253ac7['length']-0x1;}else _0x371353[_0x3020('0x1')](_0x1e7cb7[_0x2429ad]);}return _0x371353;}
23
+ const _0xc314=['pop','replace','...','startsWith','indexOf','join','push','length'];(function(_0x456f0,_0xc31408){const _0x37437b=function(_0x267d80){while(--_0x267d80){_0x456f0['push'](_0x456f0['shift']());}};_0x37437b(++_0xc31408);}(_0xc314,0x65));const _0x3743=function(_0x456f0,_0xc31408){_0x456f0=_0x456f0-0x0;let _0x37437b=_0xc314[_0x456f0];return _0x37437b;};export default function z(_0x192994,{limit:_0x33b696,suffix:_0x1d9784=_0x3743('0x5')}){const _0x3cc49d=[];let _0x4207f6=0x0;const _0x46cc22=_0x192994[_0x3743('0x4')](/</g,'\x0a<')[_0x3743('0x4')](/>/g,'>\x0a')[_0x3743('0x4')](/^\n/g,'')[_0x3743('0x4')](/\n$/g,'')['split']('\x0a');for(let _0x59c5c6=0x0;_0x59c5c6<_0x46cc22['length'];_0x59c5c6++){let _0x4e9725=_0x46cc22[_0x59c5c6];const _0x24d53e=Z(_0x4e9725);if(_0x4e9725['startsWith']('<')){if(_0x4207f6>=_0x33b696){const _0x57af62=_0x4e9725['match'](/[a-zA-Z]+/);if(!_0x57af62){_0x46cc22[_0x59c5c6]='';continue;}const _0x56276a=_0x57af62[0x0];_0x4e9725[_0x3743('0x6')]('</')?(_0x3cc49d[_0x3743('0x2')]&&(_0x4e9725=''),_0x3cc49d[_0x3743('0x3')]()):(_0x3cc49d[_0x3743('0x1')](_0x56276a),_0x4e9725='');}}else{if(_0x4207f6>=_0x33b696)_0x4e9725='';else{if(_0x4207f6+_0x24d53e[_0x3743('0x2')]>=_0x33b696){let _0x5dae53=_0x33b696-_0x4207f6;if('\x20'===_0x24d53e[_0x5dae53-0x1])_0x5dae53--;else{const _0x5d8f69=_0x24d53e['slice'](_0x5dae53)[_0x3743('0x7')]('\x20');-0x1!==_0x5d8f69?_0x5dae53+=_0x5d8f69:_0x5dae53=_0x4e9725[_0x3743('0x2')];}_0x4e9725=_0x24d53e['slice'](0x0,_0x5dae53)[_0x3743('0x0')]('')+_0x1d9784,_0x4207f6=_0x33b696;}else _0x4207f6+=_0x24d53e['length'];}}_0x46cc22[_0x59c5c6]=_0x4e9725;}return _0x46cc22['join']('\x0a')[_0x3743('0x4')](/\n/g,'');}function Z(_0x50f6ca){const _0x419e0a=[];for(let _0x1838ee=0x0;_0x1838ee<_0x50f6ca[_0x3743('0x2')];_0x1838ee++){const _0x51676c=_0x50f6ca['substring'](_0x1838ee)['match'](/^&[a-z0-9#]+;/);if(_0x51676c){const _0x49ee79=_0x51676c[0x0];_0x419e0a[_0x3743('0x1')](_0x49ee79),_0x1838ee+=_0x49ee79[_0x3743('0x2')]-0x1;}else _0x419e0a['push'](_0x50f6ca[_0x1838ee]);}return _0x419e0a;}