@ckeditor/ckeditor5-collaboration-core 35.2.1 → 35.3.1

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/CHANGELOG.md CHANGED
@@ -1,7 +1,7 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
- All changes in the package are documented at https://ckeditor.com/collaboration/changelog/ and https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md.
4
+ All changes in the package are documented at https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md.
5
5
 
6
6
  Changes for the past releases are available below.
7
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-collaboration-core",
3
- "version": "35.2.1",
3
+ "version": "35.3.1",
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/)",
@@ -28,7 +28,7 @@
28
28
  ],
29
29
  "main": "src/index.js",
30
30
  "dependencies": {
31
- "ckeditor5": "^35.2.1",
31
+ "ckeditor5": "^35.3.1",
32
32
  "date-fns": "^2.17.0"
33
33
  }
34
34
  }
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export{default as Permissions}from'./permissions';export{default as Users}from'./users';export{default as UserView}from'./users/view/userview';export{default as getDateTimeFormatter}from'./utils/getdatetimeformatter';export{default as getMarkerDomElement}from'./utils/getmarkerdomelement';export{default as trimHtml}from'./utils/trim-html';export{default as ConfirmMixin}from'./utils/confirmmixin';export*from'./suggestionstyles';
23
+ export{default as Permissions}from'./permissions';export{default as Users}from'./users';export{default as UserView}from'./users/view/userview';export{default as getDateTimeFormatter}from'./utils/getdatetimeformatter';export{default as getMarkerDomElement}from'./utils/getmarkerdomelement';export{default as trimHtml}from'./utils/trim-html';export{default as ConfirmMixin}from'./utils/confirmmixin';export{default as hashObject}from'./utils/hashobject';export*from'./suggestionstyles';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x44b0=['addCommentThread','collaboration.channelId','permissions-set-permissions-invalid-channel-id','editors','CommentsOnly','has','context','pluginName','config','comment:admin','plugins','document:write','switchReadOnly','clearForceDisabled','find','get','enableReadOnlyMode','commands','disableReadOnlyMode','no-permissions','CommentsRepository','noPermissions','comment:write'];(function(_0x242b61,_0x44b089){const _0x4a4fa0=function(_0x5462f9){while(--_0x5462f9){_0x242b61['push'](_0x242b61['shift']());}};_0x4a4fa0(++_0x44b089);}(_0x44b0,0xfc));const _0x4a4f=function(_0x242b61,_0x44b089){_0x242b61=_0x242b61-0x0;let _0x4a4fa0=_0x44b0[_0x242b61];return _0x4a4fa0;};import{ContextPlugin as _0x200af7,Editor as _0x139e14}from'ckeditor5/src/core';import{CKEditorError as _0x165745}from'ckeditor5/src/utils';export default class i extends _0x200af7{static get[_0x4a4f('0x8')](){return'Permissions';}['setPermissions'](_0x361ab6,_0x2c7925){let _0x10e45b;if(_0x2c7925||(_0x2c7925=this['context'][_0x4a4f('0x9')][_0x4a4f('0x10')](_0x4a4f('0x2'))),this[_0x4a4f('0x7')]['config'][_0x4a4f('0x10')](_0x4a4f('0x2'))==_0x2c7925?_0x10e45b=this[_0x4a4f('0x7')]:this[_0x4a4f('0x7')]['editors']&&(_0x10e45b=this[_0x4a4f('0x7')][_0x4a4f('0x4')][_0x4a4f('0xf')](_0x2bd294=>_0x2bd294[_0x4a4f('0x9')]['get']('collaboration.channelId')==_0x2c7925)),!_0x10e45b)throw new _0x165745(_0x4a4f('0x3'),null);const _0x5d4838=_0x10e45b[_0x4a4f('0xb')],_0x5d5b5f=_0x10e45b instanceof _0x139e14,_0x4bf1b4=_0x5d4838['has']('CommentsRepository')&&_0x5d4838[_0x4a4f('0x10')](_0x4a4f('0x15')),_0x4643c0=_0x5d4838[_0x4a4f('0x6')](_0x4a4f('0x5'))&&_0x5d4838['get'](_0x4a4f('0x5')),_0x56a149=_0x361ab6['includes'](_0x4a4f('0xc')),_0x141a28=_0x361ab6['includes'](_0x4a4f('0xa')),_0x7db07d=_0x361ab6['includes'](_0x4a4f('0x0'))||_0x141a28;(_0x4643c0&&(_0x4643c0['isEnabled']=!_0x56a149&&_0x7db07d),_0x5d5b5f)&&(!(_0x56a149||_0x7db07d&&_0x4bf1b4)?_0x10e45b[_0x4a4f('0x11')](_0x4a4f('0x14')):_0x10e45b[_0x4a4f('0x13')](_0x4a4f('0x14')));if(_0x4bf1b4){_0x4bf1b4[_0x4a4f('0xd')](!_0x7db07d,_0x2c7925),_0x4bf1b4['setAdminPermissions'](_0x141a28,_0x2c7925);const _0x21a1b7=_0x5d5b5f&&_0x10e45b[_0x4a4f('0x12')][_0x4a4f('0x10')](_0x4a4f('0x1'));_0x21a1b7&&(_0x7db07d?_0x21a1b7[_0x4a4f('0xe')](_0x4a4f('0x16')):_0x21a1b7['forceDisabled'](_0x4a4f('0x16')));}}}
23
+ const _0x2282=['isEnabled','document:write','permissions-set-permissions-invalid-channel-id','enableReadOnlyMode','disableReadOnlyMode','config','collaboration.channelId','context','addCommentThread','get','no-permissions','commands','find','setPermissions','plugins','clearForceDisabled','editors','Permissions','pluginName','CommentsRepository','CommentsOnly','includes','noPermissions','comment:write'];(function(_0x586d5a,_0x22826c){const _0x5cac8c=function(_0x4ff078){while(--_0x4ff078){_0x586d5a['push'](_0x586d5a['shift']());}};_0x5cac8c(++_0x22826c);}(_0x2282,0x1d7));const _0x5cac=function(_0x586d5a,_0x22826c){_0x586d5a=_0x586d5a-0x0;let _0x5cac8c=_0x2282[_0x586d5a];return _0x5cac8c;};import{ContextPlugin as _0x33e0f0,Editor as _0x292363}from'ckeditor5/src/core';import{CKEditorError as _0x88fe2e}from'ckeditor5/src/utils';export default class i extends _0x33e0f0{static get[_0x5cac('0x3')](){return _0x5cac('0x2');}[_0x5cac('0x16')](_0x42b2c3,_0xef444e){let _0x211115;if(_0xef444e||(_0xef444e=this['context']['config'][_0x5cac('0x12')](_0x5cac('0xf'))),this[_0x5cac('0x10')][_0x5cac('0xe')][_0x5cac('0x12')](_0x5cac('0xf'))==_0xef444e?_0x211115=this[_0x5cac('0x10')]:this[_0x5cac('0x10')][_0x5cac('0x1')]&&(_0x211115=this['context'][_0x5cac('0x1')][_0x5cac('0x15')](_0x304d03=>_0x304d03[_0x5cac('0xe')][_0x5cac('0x12')](_0x5cac('0xf'))==_0xef444e)),!_0x211115)throw new _0x88fe2e(_0x5cac('0xb'),null);const _0x2e7a87=_0x211115[_0x5cac('0x17')],_0x10f4f4=_0x211115 instanceof _0x292363,_0xab17=_0x2e7a87['has'](_0x5cac('0x4'))&&_0x2e7a87[_0x5cac('0x12')](_0x5cac('0x4')),_0x5e9468=_0x2e7a87['has'](_0x5cac('0x5'))&&_0x2e7a87['get'](_0x5cac('0x5')),_0x3a4320=_0x42b2c3[_0x5cac('0x6')](_0x5cac('0xa')),_0x3c59a7=_0x42b2c3[_0x5cac('0x6')]('comment:admin'),_0x16a316=_0x42b2c3['includes'](_0x5cac('0x8'))||_0x3c59a7;(_0x5e9468&&(_0x5e9468[_0x5cac('0x9')]=!_0x3a4320&&_0x16a316),_0x10f4f4)&&(!(_0x3a4320||_0x16a316&&_0xab17)?_0x211115[_0x5cac('0xc')](_0x5cac('0x13')):_0x211115[_0x5cac('0xd')](_0x5cac('0x13')));if(_0xab17){_0xab17['switchReadOnly'](!_0x16a316,_0xef444e),_0xab17['setAdminPermissions'](_0x3c59a7,_0xef444e);const _0xfd18ee=_0x10f4f4&&_0x211115[_0x5cac('0x14')]['get'](_0x5cac('0x11'));_0xfd18ee&&(_0x16a316?_0xfd18ee[_0x5cac('0x0')]('noPermissions'):_0xfd18ee['forceDisabled'](_0x5cac('0x7')));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1851=['ck-user__img','name','ck-user','div','push','ck\x20ck-user__name\x20ck-user__name--hidden','setTemplate','initials','ck-user__anonymous','avatar','isAnonymous'];(function(_0x599305,_0x18510e){const _0x1b4d41=function(_0x5e4b66){while(--_0x5e4b66){_0x599305['push'](_0x599305['shift']());}};_0x1b4d41(++_0x18510e);}(_0x1851,0x1dc));const _0x1b4d=function(_0x599305,_0x18510e){_0x599305=_0x599305-0x0;let _0x1b4d41=_0x1851[_0x599305];return _0x1b4d41;};import{View as _0x2434d4}from'ckeditor5/src/ui';import'../../../theme/users.css';export default class _ extends _0x2434d4{constructor(_0x5ab44a,_0x3d7b72){super(_0x5ab44a),this[_0x1b4d('0x9')]=_0x3d7b72['name'];const _0x3fd6c3=['ck',_0x1b4d('0x8')];_0x3d7b72[_0x1b4d('0x7')]&&_0x3fd6c3[_0x1b4d('0x1')](_0x1b4d('0x5')),_0x3d7b72[_0x1b4d('0x6')]&&_0x3fd6c3[_0x1b4d('0x1')]('ck-user__avatar'),this[_0x1b4d('0x3')]({'tag':_0x1b4d('0x0'),'attributes':{'class':['ck',_0x1b4d('0xa')],'data-user-id':_0x3d7b72['id']},'children':[{'tag':_0x1b4d('0x0'),'attributes':{'class':_0x3fd6c3,'style':{'background-image':_0x3d7b72[_0x1b4d('0x6')]?'url(\x27'+_0x3d7b72[_0x1b4d('0x6')]+'\x27)':''}}},{'tag':_0x1b4d('0x0'),'attributes':{'class':_0x3d7b72[_0x1b4d('0x6')]?_0x1b4d('0x2'):'ck\x20ck-user__name'},'children':[{'text':_0x3d7b72[_0x1b4d('0x4')]}]}]});}}
23
+ const _0x21b9=['ck-user__icon','extendTemplate','avatar','ck-user__anonymous','div','url(\x27','name','notificationView','ck\x20ck-user__name\x20ck-user__name--hidden','setTemplate','ck-user__avatar','ck-user','ck-user__img','ck-user__notification','push','content','isAnonymous'];(function(_0x22d857,_0x21b961){const _0x4fce59=function(_0x55b1a2){while(--_0x55b1a2){_0x22d857['push'](_0x22d857['shift']());}};_0x4fce59(++_0x21b961);}(_0x21b9,0xf6));const _0x4fce=function(_0x22d857,_0x21b961){_0x22d857=_0x22d857-0x0;let _0x4fce59=_0x21b9[_0x22d857];return _0x4fce59;};import{View as _0x5f1d17,IconView as _0x51550d}from'ckeditor5/src/ui';import _0x18a33e from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class w extends _0x5f1d17{constructor(_0x57d841,_0x5f1f3d,_0x11e675){super(_0x57d841),this[_0x4fce('0xf')]=_0x5f1f3d[_0x4fce('0xf')],this[_0x4fce('0x10')]=null;const _0xbe68fd=['ck',_0x4fce('0x4')];if(_0x5f1f3d[_0x4fce('0x8')]&&_0xbe68fd['push'](_0x4fce('0xc')),_0x5f1f3d['avatar']&&_0xbe68fd[_0x4fce('0x6')](_0x4fce('0x2')),_0x11e675){const _0x42e858=new _0x51550d();_0x42e858[_0x4fce('0xa')]({'attributes':{'class':[_0x4fce('0x9')]}}),_0x42e858[_0x4fce('0x7')]=_0x18a33e,this['notificationView']={'tag':_0x4fce('0xd'),'attributes':{'class':['ck',_0x4fce('0x5')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x11e675},'children':[_0x42e858]};}const _0x6bb4b3=[{'tag':'div','attributes':{'class':_0xbe68fd,'style':{'background-image':_0x5f1f3d[_0x4fce('0xb')]?_0x4fce('0xe')+_0x5f1f3d[_0x4fce('0xb')]+'\x27)':''}}},{'tag':_0x4fce('0xd'),'attributes':{'class':_0x5f1f3d[_0x4fce('0xb')]?_0x4fce('0x0'):'ck\x20ck-user__name'},'children':[{'text':_0x5f1f3d['initials']}]}];this[_0x4fce('0x10')]&&_0x6bb4b3['push'](this[_0x4fce('0x10')]),this[_0x4fce('0x1')]({'tag':'div','attributes':{'class':['ck',_0x4fce('0x3')],'data-user-id':_0x5f1f3d['id']},'children':_0x6bb4b3});}}
package/src/users.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7336=['initials','ck-user__selection--','licenseKeyTrialLimit:operations','defineMe','ck-user__bg-color--','length','licenseKeyTrial','trial-license-key-reached-limit-revisions','_isAnonymous','users','_id','_locale','decorate','licenseKeyValid','define','config','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.','licenseKeyTrialLimit:time','licenseKeyInvalid','init','anonymous-user','toUpperCase','_getInitial','_getNextColor','users-me-already-defined','users-me-missing-user','name','color','_lastColor','getMarkerClass','_myId','users.anonymousUserId','addUser','destroy','_addAnonymousUser','getSelectionClass','Anonymous','assign','trim','charAt','getOperationAuthor','requires','context','avatar','licenseKeyTrialLimit:revisions','getBackgroundColorClass','isAnonymous','licenseKey','useAnonymousUser','users.colorsCount','get','locale','_licenseKeyCheckInterval','has','getUser','users-add-invalid-id','trial-license-key-reached-limit-time'];(function(_0x56dc43,_0x7336c5){const _0x400a4a=function(_0x5ee307){while(--_0x5ee307){_0x56dc43['push'](_0x56dc43['shift']());}};_0x400a4a(++_0x7336c5);}(_0x7336,0x1d1));const _0x400a=function(_0x56dc43,_0x7336c5){_0x56dc43=_0x56dc43-0x0;let _0x400a4a=_0x7336[_0x56dc43];return _0x400a4a;};import{ContextPlugin as _0x42c108}from'ckeditor5/src/core';import{Collection as _0x533d15,CKEditorError as _0x270292}from'ckeditor5/src/utils';import _0x3af45d from'./permissions';import{getTranslation as _0x2e3cb2}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x42c108{static get['pluginName'](){return'Users';}static get[_0x400a('0x20')](){return[_0x3af45d];}constructor(_0x20792b){super(_0x20792b),_0x20792b[_0x400a('0x6')][_0x400a('0x5')](_0x400a('0x16'),_0x400a('0xb')),_0x20792b['config'][_0x400a('0x5')]('users.colorsCount',0x8),this[_0x400a('0x0')]=new _0x533d15(),this[_0x400a('0x2')]=_0x20792b[_0x400a('0x2a')],this[_0x400a('0x2b')]=null,this['_lastColor']=0x0,this[_0x400a('0x15')]=null,this[_0x400a('0x3')](_0x400a('0x1f'));}[_0x400a('0xa')](){const _0x263add=this[_0x400a('0x21')];this[_0x400a('0x26')]=_0x263add[_0x400a('0x6')][_0x400a('0x29')](_0x400a('0x26'));const _0x239002=['licenseKeyTrial',_0x400a('0x9'),_0x400a('0x4'),_0x400a('0x32'),'licenseKeyTrialLimit:time',_0x400a('0x23')];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2a8568;for(const _0x56385f in _0x263add){const _0x27ceef=_0x263add[_0x56385f];if(_0x239002['includes'](_0x27ceef)){delete _0x263add[_0x56385f],_0x2a8568=_0x27ceef;break;}}if(_0x400a('0x9')===_0x2a8568)throw clearInterval(this[_0x400a('0x2b')]),new _0x270292('invalid-license-key',null);if(_0x400a('0x36')===_0x2a8568&&console['info'](_0x400a('0x7')),_0x400a('0x32')===_0x2a8568)throw clearInterval(this[_0x400a('0x2b')]),new _0x270292('trial-license-key-reached-limit-changes',null);if(_0x400a('0x8')===_0x2a8568)throw clearInterval(this[_0x400a('0x2b')]),new _0x270292(_0x400a('0x2f'),null);if(_0x400a('0x23')===_0x2a8568)throw clearInterval(this[_0x400a('0x2b')]),new _0x270292(_0x400a('0x37'),null);_0x400a('0x4')===_0x2a8568&&clearInterval(this[_0x400a('0x2b')]);},0x3e8),this[_0x400a('0x19')]();}get['me'](){return null==this['_myId']?null:this[_0x400a('0x2d')](this[_0x400a('0x15')]);}[_0x400a('0x17')](_0x5c324e){if(!(_0x5c324e=Object[_0x400a('0x1c')]({},_0x5c324e,{'color':this[_0x400a('0xe')]()}))['id']||'string'!=typeof _0x5c324e['id'])throw new _0x270292(_0x400a('0x2e'));if(this[_0x400a('0x0')][_0x400a('0x2c')](_0x5c324e['id']))throw new _0x270292('users-add-duplicated-id',null,{'id':_0x5c324e['id']});_0x5c324e['name']=function(_0x4218af,_0x1dc64e=''){return''==(_0x1dc64e=_0x1dc64e[_0x400a('0x1d')]())?_0x2e3cb2(_0x4218af,'Anonymous'):_0x1dc64e;}(this[_0x400a('0x2')],_0x5c324e[_0x400a('0x11')]);const _0x32477d=new u(_0x5c324e);return this['users']['add'](_0x32477d),_0x32477d;}['getUser'](_0x188b3b){return this[_0x400a('0x0')][_0x400a('0x29')](_0x188b3b);}[_0x400a('0x27')](){const _0x1c9723=this[_0x400a('0x21')][_0x400a('0x6')][_0x400a('0x29')](_0x400a('0x16'));this[_0x400a('0x15')]||this[_0x400a('0x33')](_0x1c9723);}[_0x400a('0x33')](_0x228a2c){if(this[_0x400a('0x15')])throw new _0x270292(_0x400a('0xf'),null);if(!this[_0x400a('0x2d')](_0x228a2c))throw new _0x270292(_0x400a('0x10'),null);this[_0x400a('0x15')]=_0x228a2c;}[_0x400a('0x1f')](){return this['me'];}['destroy'](){super[_0x400a('0x18')](),clearInterval(this['_licenseKeyCheckInterval']);}[_0x400a('0xe')](){const _0x1670e9=this[_0x400a('0x21')]['config'][_0x400a('0x29')](_0x400a('0x28'));return this[_0x400a('0x13')]>=_0x1670e9&&(this['_lastColor']=0x0),new a(this[_0x400a('0x13')]++);}[_0x400a('0x19')](){const _0x38f631=this[_0x400a('0x21')][_0x400a('0x6')][_0x400a('0x29')](_0x400a('0x16'));this['addUser']({'id':_0x38f631,'name':_0x2e3cb2(this[_0x400a('0x2')],_0x400a('0x1b'))})['_isAnonymous']=!0x0;}}class u{constructor(_0x4bc0e8){this['id']=_0x4bc0e8['id'],this[_0x400a('0x12')]=_0x4bc0e8[_0x400a('0x12')],this['name']=_0x4bc0e8['name'],this['avatar']=_0x4bc0e8[_0x400a('0x22')],this[_0x400a('0x38')]=!0x1;}get[_0x400a('0x25')](){return this[_0x400a('0x38')];}get[_0x400a('0x30')](){const _0x50193e=this['name']['split']('\x20');return 0x1===_0x50193e['length']?this['_getInitial'](_0x50193e[0x0]):this[_0x400a('0xd')](_0x50193e[0x0])+this['_getInitial'](_0x50193e[_0x50193e[_0x400a('0x35')]-0x1]);}[_0x400a('0xd')](_0x1f588d){return _0x1f588d[_0x400a('0x1e')](0x0)[_0x400a('0xc')]();}}class a{constructor(_0x2fab92){this[_0x400a('0x1')]=_0x2fab92;}[_0x400a('0x24')](){return _0x400a('0x34')+this['_id'];}[_0x400a('0x1a')](){return _0x400a('0x31')+this[_0x400a('0x1')];}[_0x400a('0x14')](){return'ck-user__marker--'+this['_id'];}}
23
+ const _0x18db=['config','licenseKeyTrialLimit:revisions','name','_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.','ck-user__bg-color--','toUpperCase','trial-license-key-reached-limit-time','isAnonymous','string','_getInitial','trim','_getNextColor','getSelectionClass','_licenseKeyCheckInterval','Anonymous','initials','licenseKey','get','_id','destroy','trial-license-key-reached-limit-changes','_myId','context','split','_addAnonymousUser','_lastColor','users-me-missing-user','users','getOperationAuthor','licenseKeyTrialLimit:time','init','includes','length','info','users-me-already-defined','licenseKeyValid','defineMe','addUser','getUser','avatar','licenseKeyTrial','has','users.anonymousUserId','useAnonymousUser','define','licenseKeyInvalid','getMarkerClass','_isAnonymous','locale','requires','users.colorsCount','users-add-invalid-id','licenseKeyTrialLimit:operations','color'];(function(_0x548187,_0x18dbe6){const _0x59b69d=function(_0x913d1a){while(--_0x913d1a){_0x548187['push'](_0x548187['shift']());}};_0x59b69d(++_0x18dbe6);}(_0x18db,0x1c7));const _0x59b6=function(_0x548187,_0x18dbe6){_0x548187=_0x548187-0x0;let _0x59b69d=_0x18db[_0x548187];return _0x59b69d;};import{ContextPlugin as _0x421000}from'ckeditor5/src/core';import{Collection as _0x2c1f19,CKEditorError as _0x406b40}from'ckeditor5/src/utils';import _0x283f17 from'./permissions';import{getTranslation as _0x448eef}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x421000{static get['pluginName'](){return'Users';}static get[_0x59b6('0x23')](){return[_0x283f17];}constructor(_0x404f39){super(_0x404f39),_0x404f39[_0x59b6('0x28')][_0x59b6('0x1e')]('users.anonymousUserId','anonymous-user'),_0x404f39[_0x59b6('0x28')]['define'](_0x59b6('0x24'),0x8),this['users']=new _0x2c1f19(),this[_0x59b6('0x2b')]=_0x404f39[_0x59b6('0x22')],this[_0x59b6('0x36')]=null,this['_lastColor']=0x0,this[_0x59b6('0x7')]=null,this['decorate'](_0x59b6('0xe'));}[_0x59b6('0x10')](){const _0x59e050=this['context'];this[_0x59b6('0x2')]=_0x59e050[_0x59b6('0x28')][_0x59b6('0x3')](_0x59b6('0x2'));const _0x682e5f=['licenseKeyTrial','licenseKeyInvalid',_0x59b6('0x15'),'licenseKeyTrialLimit:operations',_0x59b6('0xf'),_0x59b6('0x29')];this[_0x59b6('0x36')]=setInterval(()=>{let _0x3c76a5;for(const _0x406dbd in _0x59e050){const _0x191264=_0x59e050[_0x406dbd];if(_0x682e5f[_0x59b6('0x11')](_0x191264)){delete _0x59e050[_0x406dbd],_0x3c76a5=_0x191264;break;}}if(_0x59b6('0x1f')===_0x3c76a5)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x406b40('invalid-license-key',null);if(_0x59b6('0x1a')===_0x3c76a5&&console[_0x59b6('0x13')](_0x59b6('0x2c')),_0x59b6('0x26')===_0x3c76a5)throw clearInterval(this[_0x59b6('0x36')]),new _0x406b40(_0x59b6('0x6'),null);if(_0x59b6('0xf')===_0x3c76a5)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x406b40(_0x59b6('0x2f'),null);if(_0x59b6('0x29')===_0x3c76a5)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x406b40('trial-license-key-reached-limit-revisions',null);'licenseKeyValid'===_0x3c76a5&&clearInterval(this[_0x59b6('0x36')]);},0x3e8),this[_0x59b6('0xa')]();}get['me'](){return null==this[_0x59b6('0x7')]?null:this[_0x59b6('0x18')](this['_myId']);}['addUser'](_0x22d29c){if(!(_0x22d29c=Object['assign']({},_0x22d29c,{'color':this['_getNextColor']()}))['id']||_0x59b6('0x31')!=typeof _0x22d29c['id'])throw new _0x406b40(_0x59b6('0x25'));if(this[_0x59b6('0xd')][_0x59b6('0x1b')](_0x22d29c['id']))throw new _0x406b40('users-add-duplicated-id',null,{'id':_0x22d29c['id']});_0x22d29c[_0x59b6('0x2a')]=function(_0x595398,_0x445bf4=''){return''==(_0x445bf4=_0x445bf4[_0x59b6('0x33')]())?_0x448eef(_0x595398,_0x59b6('0x0')):_0x445bf4;}(this['_locale'],_0x22d29c[_0x59b6('0x2a')]);const _0x32b2a8=new u(_0x22d29c);return this[_0x59b6('0xd')]['add'](_0x32b2a8),_0x32b2a8;}[_0x59b6('0x18')](_0xf4091){return this[_0x59b6('0xd')][_0x59b6('0x3')](_0xf4091);}[_0x59b6('0x1d')](){const _0x51efc2=this[_0x59b6('0x8')]['config'][_0x59b6('0x3')](_0x59b6('0x1c'));this['_myId']||this[_0x59b6('0x16')](_0x51efc2);}[_0x59b6('0x16')](_0x5ae85d){if(this[_0x59b6('0x7')])throw new _0x406b40(_0x59b6('0x14'),null);if(!this[_0x59b6('0x18')](_0x5ae85d))throw new _0x406b40(_0x59b6('0xc'),null);this[_0x59b6('0x7')]=_0x5ae85d;}[_0x59b6('0xe')](){return this['me'];}[_0x59b6('0x5')](){super[_0x59b6('0x5')](),clearInterval(this[_0x59b6('0x36')]);}[_0x59b6('0x34')](){const _0x318a69=this[_0x59b6('0x8')][_0x59b6('0x28')][_0x59b6('0x3')](_0x59b6('0x24'));return this[_0x59b6('0xb')]>=_0x318a69&&(this[_0x59b6('0xb')]=0x0),new a(this[_0x59b6('0xb')]++);}['_addAnonymousUser'](){const _0x1f33ae=this[_0x59b6('0x8')][_0x59b6('0x28')][_0x59b6('0x3')](_0x59b6('0x1c'));this[_0x59b6('0x17')]({'id':_0x1f33ae,'name':_0x448eef(this[_0x59b6('0x2b')],_0x59b6('0x0'))})[_0x59b6('0x21')]=!0x0;}}class u{constructor(_0x2b9d52){this['id']=_0x2b9d52['id'],this[_0x59b6('0x27')]=_0x2b9d52['color'],this[_0x59b6('0x2a')]=_0x2b9d52['name'],this['avatar']=_0x2b9d52[_0x59b6('0x19')],this[_0x59b6('0x21')]=!0x1;}get[_0x59b6('0x30')](){return this['_isAnonymous'];}get[_0x59b6('0x1')](){const _0x36c05f=this[_0x59b6('0x2a')][_0x59b6('0x9')]('\x20');return 0x1===_0x36c05f[_0x59b6('0x12')]?this[_0x59b6('0x32')](_0x36c05f[0x0]):this[_0x59b6('0x32')](_0x36c05f[0x0])+this['_getInitial'](_0x36c05f[_0x36c05f[_0x59b6('0x12')]-0x1]);}[_0x59b6('0x32')](_0x100216){return _0x100216['charAt'](0x0)[_0x59b6('0x2e')]();}}class a{constructor(_0x565a38){this[_0x59b6('0x4')]=_0x565a38;}['getBackgroundColorClass'](){return _0x59b6('0x2d')+this[_0x59b6('0x4')];}[_0x59b6('0x35')](){return'ck-user__selection--'+this['_id'];}[_0x59b6('0x20')](){return'ck-user__marker--'+this['_id'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x4d14f4,_0x2e1483){const t=_0x4d14f4['t'];switch(_0x2e1483){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');}}
23
+ export function getTranslation(_0x592d1d,_0x2338c1){const t=_0x592d1d['t'];switch(_0x2338c1){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x571d=['once','confirmView','message','appendChild','remove','deregisterChild','registerChild','_removeConfirm','destroy','isConfirm','element','set','cancel','locale'];(function(_0x23105d,_0x571de7){var _0x22c95d=function(_0x6d68b4){while(--_0x6d68b4){_0x23105d['push'](_0x23105d['shift']());}};_0x22c95d(++_0x571de7);}(_0x571d,0xf7));var _0x22c9=function(_0x23105d,_0x571de7){_0x23105d=_0x23105d-0x0;var _0x22c95d=_0x571d[_0x23105d];return _0x22c95d;};import _0x827ef5 from'./confirmview';export default{'showConfirm'(_0x5ca858,_0x16b7ac){return this['confirmView']=new _0x827ef5(this[_0x22c9('0x4')]),this[_0x22c9('0x6')]['render'](),this['confirmView'][_0x22c9('0x7')]=_0x5ca858,this[_0x22c9('0x6')][_0x22c9('0x5')]('cancel',()=>{this[_0x22c9('0xc')]();}),this['confirmView'][_0x22c9('0x5')]('submit',()=>{this['_removeConfirm']();}),_0x16b7ac[_0x22c9('0x8')](this[_0x22c9('0x6')]['element']),this[_0x22c9('0xb')](this[_0x22c9('0x6')]),this[_0x22c9('0x2')](_0x22c9('0x0'),!0x0),new Promise(_0x1b5a9f=>this[_0x22c9('0x6')]['on']('submit',_0x1b5a9f));},'cancelConfirm'(){this[_0x22c9('0x0')]&&this[_0x22c9('0x6')]['fire'](_0x22c9('0x3'));},'_removeConfirm'(){this['confirmView'][_0x22c9('0x1')][_0x22c9('0x9')](),this[_0x22c9('0xa')](this[_0x22c9('0x6')]),this[_0x22c9('0x0')]=!0x1,this[_0x22c9('0x6')][_0x22c9('0xd')](),delete this[_0x22c9('0x6')];}};
23
+ var _0x5a34=['deregisterChild','locale','registerChild','remove','confirmView','_removeConfirm','element','message','set','isConfirm','render','fire','cancel','once','appendChild','submit'];(function(_0x14feb5,_0x5a34f7){var _0x3de290=function(_0x335cff){while(--_0x335cff){_0x14feb5['push'](_0x14feb5['shift']());}};_0x3de290(++_0x5a34f7);}(_0x5a34,0xbc));var _0x3de2=function(_0x14feb5,_0x5a34f7){_0x14feb5=_0x14feb5-0x0;var _0x3de290=_0x5a34[_0x14feb5];return _0x3de290;};import _0xba9f82 from'./confirmview';export default{'showConfirm'(_0x5a5eb3,_0xf8dab9){return this[_0x3de2('0x8')]=new _0xba9f82(this[_0x3de2('0x5')]),this[_0x3de2('0x8')][_0x3de2('0xe')](),this[_0x3de2('0x8')][_0x3de2('0xb')]=_0x5a5eb3,this['confirmView'][_0x3de2('0x1')](_0x3de2('0x0'),()=>{this[_0x3de2('0x9')]();}),this[_0x3de2('0x8')][_0x3de2('0x1')](_0x3de2('0x3'),()=>{this[_0x3de2('0x9')]();}),_0xf8dab9[_0x3de2('0x2')](this[_0x3de2('0x8')][_0x3de2('0xa')]),this[_0x3de2('0x6')](this[_0x3de2('0x8')]),this[_0x3de2('0xc')](_0x3de2('0xd'),!0x0),new Promise(_0x2b12a1=>this[_0x3de2('0x8')]['on'](_0x3de2('0x3'),_0x2b12a1));},'cancelConfirm'(){this[_0x3de2('0xd')]&&this[_0x3de2('0x8')][_0x3de2('0xf')](_0x3de2('0x0'));},'_removeConfirm'(){this[_0x3de2('0x8')][_0x3de2('0xa')][_0x3de2('0x7')](),this[_0x3de2('0x4')](this['confirmView']),this['isConfirm']=!0x1,this['confirmView']['destroy'](),delete this['confirmView'];}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x25fb=['set','cancelView','setTemplate','ck-thread__remove-confirm-inner','submit','ck-thread__remove-confirm-','icon','ck-thread__remove-confirm','submitView','div','label','check','extendTemplate','_createButtonView','cancel','message','Are\x20you\x20sure?'];(function(_0x262145,_0x25fba9){const _0x5eb067=function(_0x374608){while(--_0x374608){_0x262145['push'](_0x262145['shift']());}};_0x5eb067(++_0x25fba9);}(_0x25fb,0x104));const _0x5eb0=function(_0x262145,_0x25fba9){_0x262145=_0x262145-0x0;let _0x5eb067=_0x25fb[_0x262145];return _0x5eb067;};import{View as _0x5ca91b,ButtonView as _0x29e1bd}from'ckeditor5/src/ui';import{icons as _0x9c6e95}from'ckeditor5/src/core';import{getTranslation as _0x19c0dc}from'./common-translations';export default class h extends _0x5ca91b{constructor(_0x239a7e){super(_0x239a7e);const _0xedcc59=this['bindTemplate'];this[_0x5eb0('0x3')]=this[_0x5eb0('0x8')](_0x239a7e,_0x19c0dc(_0x239a7e,'Yes'),_0x9c6e95[_0x5eb0('0x6')],_0x5eb0('0x10')),this[_0x5eb0('0xd')]=this[_0x5eb0('0x8')](_0x239a7e,_0x19c0dc(_0x239a7e,'No'),_0x9c6e95[_0x5eb0('0x9')],_0x5eb0('0x9')),this[_0x5eb0('0xc')]('message',_0x19c0dc(_0x239a7e,_0x5eb0('0xb'))),this[_0x5eb0('0xe')]({'tag':'div','attributes':{'class':[_0x5eb0('0x2')]},'children':[{'tag':_0x5eb0('0x4'),'attributes':{'class':_0x5eb0('0xf')},'children':[{'tag':'p','children':[{'text':_0xedcc59['to'](_0x5eb0('0xa'))}]},{'tag':_0x5eb0('0x4'),'attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this[_0x5eb0('0x3')],this[_0x5eb0('0xd')]]}]}]});}[_0x5eb0('0x8')](_0x7a2b91,_0x5a3e39,_0xa8005c,_0x5e1415){const _0x558d59=new _0x29e1bd(_0x7a2b91);return _0x558d59[_0x5eb0('0x5')]=_0x5a3e39,_0x558d59[_0x5eb0('0x1')]=_0xa8005c,_0x558d59[_0x5eb0('0x7')]({'attributes':{'class':_0x5eb0('0x0')+_0x5e1415}}),_0x558d59['on']('execute',()=>this['fire'](_0x5e1415)),_0x558d59;}}
23
+ const _0x5daa=['icon','_createButtonView','execute','submit','ck-thread__remove-confirm-inner','cancel','ck-thread__remove-confirm-actions','setTemplate','Yes','bindTemplate','ck-thread__remove-confirm-','extendTemplate','message','submitView','label','cancelView','check','div','Are\x20you\x20sure?'];(function(_0x3edd74,_0x5daa47){const _0x51a843=function(_0x8d23aa){while(--_0x8d23aa){_0x3edd74['push'](_0x3edd74['shift']());}};_0x51a843(++_0x5daa47);}(_0x5daa,0x16c));const _0x51a8=function(_0x3edd74,_0x5daa47){_0x3edd74=_0x3edd74-0x0;let _0x51a843=_0x5daa[_0x3edd74];return _0x51a843;};import{View as _0x44fb30,ButtonView as _0x5a3ad4}from'ckeditor5/src/ui';import{icons as _0xb90c4a}from'ckeditor5/src/core';import{getTranslation as _0xa2bbf7}from'./common-translations';export default class h extends _0x44fb30{constructor(_0x147e08){super(_0x147e08);const _0x4b99b0=this[_0x51a8('0x6')];this['submitView']=this[_0x51a8('0x11')](_0x147e08,_0xa2bbf7(_0x147e08,_0x51a8('0x5')),_0xb90c4a[_0x51a8('0xd')],_0x51a8('0x0')),this[_0x51a8('0xc')]=this[_0x51a8('0x11')](_0x147e08,_0xa2bbf7(_0x147e08,'No'),_0xb90c4a[_0x51a8('0x2')],_0x51a8('0x2')),this['set'](_0x51a8('0x9'),_0xa2bbf7(_0x147e08,_0x51a8('0xf'))),this[_0x51a8('0x4')]({'tag':_0x51a8('0xe'),'attributes':{'class':['ck-thread__remove-confirm']},'children':[{'tag':_0x51a8('0xe'),'attributes':{'class':_0x51a8('0x1')},'children':[{'tag':'p','children':[{'text':_0x4b99b0['to']('message')}]},{'tag':_0x51a8('0xe'),'attributes':{'class':_0x51a8('0x3')},'children':[this[_0x51a8('0xa')],this[_0x51a8('0xc')]]}]}]});}[_0x51a8('0x11')](_0x173d6c,_0x2f8caf,_0x2fb6a4,_0x126fa2){const _0x3d7544=new _0x5a3ad4(_0x173d6c);return _0x3d7544[_0x51a8('0xb')]=_0x2f8caf,_0x3d7544[_0x51a8('0x10')]=_0x2fb6a4,_0x3d7544[_0x51a8('0x8')]({'attributes':{'class':_0x51a8('0x7')+_0x126fa2}}),_0x3d7544['on'](_0x51a8('0x12'),()=>this['fire'](_0x126fa2)),_0x3d7544;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4755=['MM-dd-yyyy\x20hh:mma','invalid-date-time-format','dateTimeFormat','\x27Yesterday\x27\x20hh:mma','\x27Today\x27\x20hh:mma','function','\x27Last\x27\x20EEEE\x20hh:mma'];(function(_0x3eda5a,_0x475591){const _0x421829=function(_0x29f6c3){while(--_0x29f6c3){_0x3eda5a['push'](_0x3eda5a['shift']());}};_0x421829(++_0x475591);}(_0x4755,0x16c));const _0x4218=function(_0x3eda5a,_0x475591){_0x3eda5a=_0x3eda5a-0x0;let _0x421829=_0x4755[_0x3eda5a];return _0x421829;};import _0x129ed1 from'date-fns/format';import _0x32a05f from'date-fns/parseISO';import _0x2572e7 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x302aec}from'ckeditor5/src/utils';export default function E(_0xcea747={}){if(void 0x0!==_0xcea747[_0x4218('0x2')]&&_0x4218('0x5')!=typeof _0xcea747[_0x4218('0x2')])throw new _0x302aec(_0x4218('0x1'));return _0x1bd7e9=>{const _0x4f237e='string'==typeof _0x1bd7e9?_0x32a05f(_0x1bd7e9):_0x1bd7e9,_0x407726=new Date(),_0x241a7a=_0x2572e7(_0x407726,_0x4f237e);return _0xcea747[_0x4218('0x2')]?_0xcea747['dateTimeFormat'](_0x4f237e):_0x129ed1(_0x4f237e,0x0===_0x241a7a?_0x4218('0x4'):0x1===_0x241a7a?_0x4218('0x3'):_0x241a7a<0x7?_0x4218('0x6'):_0x4218('0x0'));};}
23
+ const _0xb312=['\x27Today\x27\x20hh:mma','\x27Last\x27\x20EEEE\x20hh:mma','string','\x27Yesterday\x27\x20hh:mma','MM-dd-yyyy\x20hh:mma','invalid-date-time-format','dateTimeFormat'];(function(_0x14dce5,_0xb312a8){const _0x2873d7=function(_0x34515e){while(--_0x34515e){_0x14dce5['push'](_0x14dce5['shift']());}};_0x2873d7(++_0xb312a8);}(_0xb312,0xbb));const _0x2873=function(_0x14dce5,_0xb312a8){_0x14dce5=_0x14dce5-0x0;let _0x2873d7=_0xb312[_0x14dce5];return _0x2873d7;};import _0x39b3fb from'date-fns/format';import _0x406e12 from'date-fns/parseISO';import _0xbad030 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x46c0dd}from'ckeditor5/src/utils';export default function E(_0x277a7c={}){if(void 0x0!==_0x277a7c[_0x2873('0x1')]&&'function'!=typeof _0x277a7c[_0x2873('0x1')])throw new _0x46c0dd(_0x2873('0x0'));return _0x2316f5=>{const _0x2b594f=_0x2873('0x4')==typeof _0x2316f5?_0x406e12(_0x2316f5):_0x2316f5,_0x3e27d6=new Date(),_0x1f8500=_0xbad030(_0x3e27d6,_0x2b594f);return _0x277a7c[_0x2873('0x1')]?_0x277a7c[_0x2873('0x1')](_0x2b594f):_0x39b3fb(_0x2b594f,0x0===_0x1f8500?_0x2873('0x2'):0x1===_0x1f8500?_0x2873('0x5'):_0x1f8500<0x7?_0x2873('0x3'):_0x2873('0x6'));};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5b4f=['view','mapper','mapViewToDom','domConverter','values','markerNameToElements','name'];(function(_0x42f376,_0x5b4f9b){const _0x14e892=function(_0x327aa9){while(--_0x327aa9){_0x42f376['push'](_0x42f376['shift']());}};_0x14e892(++_0x5b4f9b);}(_0x5b4f,0x17d));const _0x14e8=function(_0x42f376,_0x5b4f9b){_0x42f376=_0x42f376-0x0;let _0x14e892=_0x5b4f[_0x42f376];return _0x14e892;};import{first as _0x54f7c1}from'ckeditor5/src/utils';export default function x(_0x81c84b,_0x317c48){const _0x3be0d3=_0x81c84b[_0x14e8('0x5')][_0x14e8('0x2')](_0x317c48[_0x14e8('0x3')]),_0x221e73=_0x54f7c1(_0x3be0d3[_0x14e8('0x1')]());return _0x81c84b[_0x14e8('0x4')][_0x14e8('0x0')][_0x14e8('0x6')](_0x221e73);}
23
+ const _0x2e3c=['markerNameToElements','mapViewToDom','mapper','view','name','values'];(function(_0x3d206d,_0x2e3c88){const _0x5bcc34=function(_0x13f388){while(--_0x13f388){_0x3d206d['push'](_0x3d206d['shift']());}};_0x5bcc34(++_0x2e3c88);}(_0x2e3c,0x165));const _0x5bcc=function(_0x3d206d,_0x2e3c88){_0x3d206d=_0x3d206d-0x0;let _0x5bcc34=_0x2e3c[_0x3d206d];return _0x5bcc34;};import{first as _0x27f019}from'ckeditor5/src/utils';export default function x(_0x4b2e49,_0x966da1){const _0x475b8c=_0x4b2e49[_0x5bcc('0x5')][_0x5bcc('0x3')](_0x966da1[_0x5bcc('0x1')]),_0x288ef9=_0x27f019(_0x475b8c[_0x5bcc('0x2')]());return _0x4b2e49[_0x5bcc('0x0')]['domConverter'][_0x5bcc('0x4')](_0x288ef9);}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x2cb3=['toString','sign','object','string','sort','isArray','number','charCodeAt'];(function(_0x366546,_0x2cb390){const _0x32c4c3=function(_0x5049d9){while(--_0x5049d9){_0x366546['push'](_0x366546['shift']());}};_0x32c4c3(++_0x2cb390);}(_0x2cb3,0x148));const _0x32c4=function(_0x366546,_0x2cb390){_0x366546=_0x366546-0x0;let _0x32c4c3=_0x2cb3[_0x366546];return _0x32c4c3;};export default function b(_0xe65c45){let _0x144d2f=0x0,_0x476257=0x0;for(const _0x442c4b of g(_0xe65c45))_0x144d2f=(_0x144d2f<<0x5)-_0x144d2f+_0x442c4b,_0x144d2f&=_0x144d2f,[_0x144d2f,_0x476257]=[_0x476257,_0x144d2f];return O(_0x144d2f)+O(_0x476257);}function*j(_0x482c51){_0x482c51?'boolean'==typeof _0x482c51?yield 0x1:Array[_0x32c4('0x5')](_0x482c51)?yield*function*(_0x2c04ac){for(const _0x210bea of _0x2c04ac)yield*j(_0x210bea);}(_0x482c51):_0x32c4('0x2')==typeof _0x482c51?yield*g(_0x482c51):_0x32c4('0x3')==typeof _0x482c51?yield*A(_0x482c51):_0x32c4('0x6')==typeof _0x482c51&&(yield _0x482c51):yield 0x0;}function*g(_0x49da0b){if(yield M('{'),_0x49da0b){const _0xf39cf7=Object['keys'](_0x49da0b)[_0x32c4('0x4')]();for(const _0x314cd4 of _0xf39cf7){yield*A(_0x314cd4),yield M(':');const _0x2536e7=_0x49da0b[_0x314cd4];yield*j(_0x2536e7);}}yield M('}');}function*A(_0x2e6ae6){yield M('\x22');for(const _0x13bddf of _0x2e6ae6)yield M(_0x13bddf);yield M('\x22');}function M(_0x2f14e0){return _0x2f14e0[_0x32c4('0x7')](0x0);}function O(_0xb54939){return(_0xb54939*=Math[_0x32c4('0x1')](_0xb54939))[_0x32c4('0x0')](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x90f9=['match','length','split','slice','replace','push','startsWith','join'];(function(_0x12f75b,_0x90f964){const _0x1d8301=function(_0x43ce2f){while(--_0x43ce2f){_0x12f75b['push'](_0x12f75b['shift']());}};_0x1d8301(++_0x90f964);}(_0x90f9,0xb3));const _0x1d83=function(_0x12f75b,_0x90f964){_0x12f75b=_0x12f75b-0x0;let _0x1d8301=_0x90f9[_0x12f75b];return _0x1d8301;};export default function g(_0x108049,{limit:_0x469bbb,suffix:_0x2f907a='...'}){const _0x1c8d37=[];let _0x12bb8e=0x0;const _0x1eec15=_0x108049[_0x1d83('0x1')](/</g,'\x0a<')[_0x1d83('0x1')](/>/g,'>\x0a')[_0x1d83('0x1')](/^\n/g,'')[_0x1d83('0x1')](/\n$/g,'')[_0x1d83('0x7')]('\x0a');for(let _0x4e3f4e=0x0;_0x4e3f4e<_0x1eec15[_0x1d83('0x6')];_0x4e3f4e++){let _0x554a0a=_0x1eec15[_0x4e3f4e];const _0x3f2cb6=z(_0x554a0a);if(_0x554a0a[_0x1d83('0x3')]('<')){if(_0x12bb8e>=_0x469bbb){const _0x31ee03=_0x554a0a[_0x1d83('0x5')](/[a-zA-Z]+/)[0x0];_0x554a0a['startsWith']('</')?(_0x1c8d37[_0x1d83('0x6')]&&(_0x554a0a=''),_0x1c8d37['pop']()):(_0x1c8d37['push'](_0x31ee03),_0x554a0a='');}}else{if(_0x12bb8e>=_0x469bbb)_0x554a0a='';else{if(_0x12bb8e+_0x3f2cb6['length']>=_0x469bbb){let _0x38d174=_0x469bbb-_0x12bb8e;if('\x20'===_0x3f2cb6[_0x38d174-0x1])_0x38d174--;else{const _0x6c13eb=_0x3f2cb6[_0x1d83('0x0')](_0x38d174)['indexOf']('\x20');-0x1!==_0x6c13eb?_0x38d174+=_0x6c13eb:_0x38d174=_0x554a0a[_0x1d83('0x6')];}_0x554a0a=_0x3f2cb6[_0x1d83('0x0')](0x0,_0x38d174)[_0x1d83('0x4')]('')+_0x2f907a,_0x12bb8e=_0x469bbb;}else _0x12bb8e+=_0x3f2cb6[_0x1d83('0x6')];}}_0x1eec15[_0x4e3f4e]=_0x554a0a;}return _0x1eec15[_0x1d83('0x4')]('\x0a')[_0x1d83('0x1')](/\n/g,'');}function z(_0xf86bab){const _0x15e75e=[];for(let _0x1cc1a2=0x0;_0x1cc1a2<_0xf86bab['length'];_0x1cc1a2++){const _0x1ddcd8=_0xf86bab['substring'](_0x1cc1a2)['match'](/^&[a-z0-9#]+;/);if(_0x1ddcd8){const _0x5cdd26=_0x1ddcd8[0x0];_0x15e75e[_0x1d83('0x2')](_0x5cdd26),_0x1cc1a2+=_0x5cdd26['length']-0x1;}else _0x15e75e['push'](_0xf86bab[_0x1cc1a2]);}return _0x15e75e;}
23
+ const _0x8696=['slice','replace','indexOf','substring','push','match','pop','startsWith','join','length','split'];(function(_0x4b3760,_0x86969){const _0x15d150=function(_0x27dc0d){while(--_0x27dc0d){_0x4b3760['push'](_0x4b3760['shift']());}};_0x15d150(++_0x86969);}(_0x8696,0x1a0));const _0x15d1=function(_0x4b3760,_0x86969){_0x4b3760=_0x4b3760-0x0;let _0x15d150=_0x8696[_0x4b3760];return _0x15d150;};export default function z(_0x5be98d,{limit:_0x2c6c51,suffix:_0x4c88e6='...'}){const _0x4f59b7=[];let _0x56d854=0x0;const _0x2fba53=_0x5be98d['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')[_0x15d1('0x3')](/^\n/g,'')[_0x15d1('0x3')](/\n$/g,'')[_0x15d1('0x1')]('\x0a');for(let _0x5309ec=0x0;_0x5309ec<_0x2fba53['length'];_0x5309ec++){let _0x14cc9a=_0x2fba53[_0x5309ec];const _0xab939b=Z(_0x14cc9a);if(_0x14cc9a[_0x15d1('0x9')]('<')){if(_0x56d854>=_0x2c6c51){const _0x3b2d72=_0x14cc9a[_0x15d1('0x7')](/[a-zA-Z]+/)[0x0];_0x14cc9a[_0x15d1('0x9')]('</')?(_0x4f59b7[_0x15d1('0x0')]&&(_0x14cc9a=''),_0x4f59b7[_0x15d1('0x8')]()):(_0x4f59b7[_0x15d1('0x6')](_0x3b2d72),_0x14cc9a='');}}else{if(_0x56d854>=_0x2c6c51)_0x14cc9a='';else{if(_0x56d854+_0xab939b[_0x15d1('0x0')]>=_0x2c6c51){let _0x1c194e=_0x2c6c51-_0x56d854;if('\x20'===_0xab939b[_0x1c194e-0x1])_0x1c194e--;else{const _0xa7057=_0xab939b[_0x15d1('0x2')](_0x1c194e)[_0x15d1('0x4')]('\x20');-0x1!==_0xa7057?_0x1c194e+=_0xa7057:_0x1c194e=_0x14cc9a[_0x15d1('0x0')];}_0x14cc9a=_0xab939b[_0x15d1('0x2')](0x0,_0x1c194e)[_0x15d1('0xa')]('')+_0x4c88e6,_0x56d854=_0x2c6c51;}else _0x56d854+=_0xab939b[_0x15d1('0x0')];}}_0x2fba53[_0x5309ec]=_0x14cc9a;}return _0x2fba53['join']('\x0a')[_0x15d1('0x3')](/\n/g,'');}function Z(_0x575d27){const _0x1d6d9a=[];for(let _0x297277=0x0;_0x297277<_0x575d27[_0x15d1('0x0')];_0x297277++){const _0x46da6d=_0x575d27[_0x15d1('0x5')](_0x297277)['match'](/^&[a-z0-9#]+;/);if(_0x46da6d){const _0x45a2f3=_0x46da6d[0x0];_0x1d6d9a[_0x15d1('0x6')](_0x45a2f3),_0x297277+=_0x45a2f3[_0x15d1('0x0')]-0x1;}else _0x1d6d9a[_0x15d1('0x6')](_0x575d27[_0x297277]);}return _0x1d6d9a;}
@@ -0,0 +1,11 @@
1
+ <!--
2
+
3
+ What you're currently looking at is the source code of a legally protected, proprietary software.
4
+ Letters is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
+ all Letters content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
+
7
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
8
+
9
+ !-->
10
+
11
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm1 15H9v-2h2v2zm0-4H9V5h2v6z"/></svg>
@@ -14,82 +14,126 @@
14
14
  }
15
15
  }
16
16
 
17
- .ck-content .ck-suggestion-marker-insertion.table > table {
17
+ .ck-content .ck-suggestion-marker-insertion.table {
18
18
  border-color: var(--ck-color-suggestion-marker-insertion-border);
19
19
 
20
- & > tbody > tr > th {
21
- background-color: var(--ck-color-suggestion-widget-th-insertion-background);
22
- border-color: var(--ck-color-suggestion-marker-insertion-border);
20
+ & > figcaption {
21
+ background-color: var(--ck-color-suggestion-widget-insertion-background);
23
22
  }
24
23
 
25
- & > thead > tr > th {
26
- background-color: var(--ck-color-suggestion-widget-th-insertion-background);
27
- border-color: var(--ck-color-suggestion-marker-insertion-border);
28
- }
24
+ & > table {
25
+ & > tbody > tr > th {
26
+ background-color: var(--ck-color-suggestion-widget-th-insertion-background);
27
+ border-color: var(--ck-color-suggestion-marker-insertion-border);
28
+ }
29
29
 
30
- & > tbody > tr > td {
31
- background-color: var(--ck-color-suggestion-widget-insertion-background);
32
- border-color: var(--ck-color-suggestion-marker-insertion-border);
30
+ & > thead > tr > th {
31
+ background-color: var(--ck-color-suggestion-widget-th-insertion-background);
32
+ border-color: var(--ck-color-suggestion-marker-insertion-border);
33
+ }
34
+
35
+ & > tbody > tr > td {
36
+ background-color: var(--ck-color-suggestion-widget-insertion-background);
37
+ border-color: var(--ck-color-suggestion-marker-insertion-border);
38
+ }
33
39
  }
34
40
  }
35
41
 
36
- .ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table > table {
42
+ .ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table {
37
43
  border-color: var(--ck-color-suggestion-marker-insertion-border-active);
38
44
 
39
- & > tbody > tr > th {
40
- background-color: var(--ck-color-suggestion-widget-th-insertion-background-active);
41
- border-color: var(--ck-color-suggestion-marker-insertion-border-active);
45
+ & > figcaption {
46
+ background-color: var(--ck-color-suggestion-widget-insertion-background-active);
42
47
  }
43
48
 
44
- & > thead > tr > th {
45
- background-color: var(--ck-color-suggestion-widget-th-insertion-background-active);
46
- border-color: var(--ck-color-suggestion-marker-insertion-border-active);
47
- }
49
+ & > table {
50
+ & > tbody > tr > th {
51
+ background-color: var(--ck-color-suggestion-widget-th-insertion-background-active);
52
+ border-color: var(--ck-color-suggestion-marker-insertion-border-active);
53
+ }
48
54
 
49
- & > tbody > tr > td {
50
- background-color: var(--ck-color-suggestion-widget-insertion-background-active);
51
- border-color: var(--ck-color-suggestion-marker-insertion-border-active);
55
+ & > thead > tr > th {
56
+ background-color: var(--ck-color-suggestion-widget-th-insertion-background-active);
57
+ border-color: var(--ck-color-suggestion-marker-insertion-border-active);
58
+ }
59
+
60
+ & > tbody > tr > td {
61
+ background-color: var(--ck-color-suggestion-widget-insertion-background-active);
62
+ border-color: var(--ck-color-suggestion-marker-insertion-border-active);
63
+ }
52
64
  }
53
65
  }
54
66
 
55
- .ck-content .ck-suggestion-marker-deletion.table > table {
67
+ .ck-content .ck-suggestion-marker-deletion.ck-widget.table {
56
68
  border-color: var(--ck-color-suggestion-marker-deletion-border);
57
69
 
58
- & > tbody > tr > th {
59
- background-color: var(--ck-color-suggestion-widget-th-deletion-background);
60
- border-color: var(--ck-color-suggestion-marker-deletion-border);
61
- text-decoration: none;
70
+ & > figcaption {
71
+ background-color: var(--ck-color-suggestion-widget-deletion-background);
62
72
  }
63
73
 
64
- & > thead > tr > th {
65
- background-color: var(--ck-color-suggestion-widget-th-deletion-background);
66
- border-color: var(--ck-color-suggestion-marker-deletion-border);
67
- text-decoration: none;
68
- }
74
+ & > table {
75
+ & > tbody > tr > th {
76
+ background-color: var(--ck-color-suggestion-widget-th-deletion-background);
77
+ border-color: var(--ck-color-suggestion-marker-deletion-border);
78
+ text-decoration: none;
79
+ }
69
80
 
70
- & > tbody > tr > td {
71
- background-color: var(--ck-color-suggestion-widget-deletion-background);
72
- border-color: var(--ck-color-suggestion-marker-deletion-border);
73
- text-decoration: none;
74
- }
81
+ & > thead > tr > th {
82
+ background-color: var(--ck-color-suggestion-widget-th-deletion-background);
83
+ border-color: var(--ck-color-suggestion-marker-deletion-border);
84
+ text-decoration: none;
85
+ }
86
+
87
+ & > tbody > tr > td {
88
+ background-color: var(--ck-color-suggestion-widget-deletion-background);
89
+ border-color: var(--ck-color-suggestion-marker-deletion-border);
90
+ text-decoration: none;
91
+ }
92
+ }
75
93
  }
76
94
 
77
- .ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table > table {
95
+ .ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table {
78
96
  border-color: var(--ck-color-suggestion-marker-deletion-border-active);
79
97
 
80
- & > tbody > tr > th {
81
- background-color: var(--ck-color-suggestion-widget-th-deletion-background-active);
82
- border-color: var(--ck-color-suggestion-marker-deletion-border-active);
98
+ & > figcaption {
99
+ background-color: var(--ck-color-suggestion-widget-deletion-background-active);
83
100
  }
84
101
 
85
- & > thead > tr > th {
86
- background-color: var(--ck-color-suggestion-widget-th-deletion-background-active);
87
- border-color: var(--ck-color-suggestion-marker-deletion-border-active);
102
+ & > table {
103
+ & > tbody > tr > th {
104
+ background-color: var(--ck-color-suggestion-widget-th-deletion-background-active);
105
+ border-color: var(--ck-color-suggestion-marker-deletion-border-active);
106
+ }
107
+
108
+ & > thead > tr > th {
109
+ background-color: var(--ck-color-suggestion-widget-th-deletion-background-active);
110
+ border-color: var(--ck-color-suggestion-marker-deletion-border-active);
111
+ }
112
+
113
+ & > tbody > tr > td {
114
+ background-color: var(--ck-color-suggestion-widget-deletion-background-active);
115
+ border-color: var(--ck-color-suggestion-marker-deletion-border-active);
116
+ }
88
117
  }
118
+ }
89
119
 
90
- & > tbody > tr > td {
91
- background-color: var(--ck-color-suggestion-widget-deletion-background-active);
92
- border-color: var(--ck-color-suggestion-marker-deletion-border-active);
120
+ .ck-content .ck-widget.table > figcaption {
121
+ &.ck-suggestion-marker-deletion {
122
+ background-color: var(--ck-color-suggestion-widget-deletion-background);
123
+ border: none;
124
+
125
+ &.ck-suggestion-marker--active {
126
+ background-color: var(--ck-color-suggestion-widget-deletion-background-active);
127
+ }
128
+ }
129
+
130
+ &.ck-suggestion-marker-insertion {
131
+ background-color: var(--ck-color-suggestion-widget-insertion-background);
132
+ border: none;
133
+
134
+ &.ck-suggestion-marker--active {
135
+ background-color: var(--ck-color-suggestion-widget-insertion-background-active);
136
+ }
93
137
  }
94
138
  }
95
139
 
package/theme/users.css CHANGED
@@ -21,7 +21,6 @@
21
21
  align-items: center;
22
22
  position: relative;
23
23
  border-radius: 50%;
24
- overflow: hidden;
25
24
  background-color: var(--ck-user-avatar-background);
26
25
  height: var(--ck-user-avatar-size);
27
26
  width: var(--ck-user-avatar-size);
@@ -71,3 +70,32 @@
71
70
  display: none;
72
71
  }
73
72
  }
73
+
74
+ .ck.ck-user__notification {
75
+ display: flex;
76
+ width: 15px;
77
+ height: 15px;
78
+ justify-content: center;
79
+ align-items: center;
80
+ background: white;
81
+ border: 2px solid white;
82
+ border-radius: 50%;
83
+ box-sizing: content-box;
84
+
85
+ position: absolute;
86
+ top: -8px;
87
+ right: -7px;
88
+ overflow: hidden;
89
+ transform: translateZ(0);
90
+
91
+ & .ck-user__icon {
92
+ color: var(--ck-color-annotation-info);
93
+ background: white;
94
+ width: 19px;
95
+ height: 19px;
96
+ max-width: 19px;
97
+ max-height: 19px;
98
+ min-width: 19px;
99
+ min-height: 19px;
100
+ }
101
+ }