@ckeditor/ckeditor5-comments 41.0.0 → 41.1.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.
Files changed (44) hide show
  1. package/build/comments.js +1 -1
  2. package/package.json +3 -3
  3. package/src/annotations/annotation.js +1 -1
  4. package/src/annotations/annotationcollection.js +1 -1
  5. package/src/annotations/annotations.js +1 -1
  6. package/src/annotations/annotationsuis.js +1 -1
  7. package/src/annotations/editorannotations.js +1 -1
  8. package/src/annotations/inlineannotations.js +1 -1
  9. package/src/annotations/narrowsidebar.js +1 -1
  10. package/src/annotations/sidebar.js +1 -1
  11. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  12. package/src/annotations/view/annotationview.js +1 -1
  13. package/src/annotations/view/sidebaritemview.js +1 -1
  14. package/src/annotations/view/sidebarview.js +1 -1
  15. package/src/annotations/widesidebar.js +1 -1
  16. package/src/comments/addcommentthreadcommand.js +1 -1
  17. package/src/comments/commentsarchive.js +1 -1
  18. package/src/comments/commentsarchiveui.js +1 -1
  19. package/src/comments/commentsediting.js +1 -1
  20. package/src/comments/commentsrepository.js +1 -1
  21. package/src/comments/commentsui.js +1 -1
  22. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  23. package/src/comments/integrations/importword.js +1 -1
  24. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  25. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  26. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  27. package/src/comments/ui/commentthreadcontroller.js +1 -1
  28. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  29. package/src/comments/ui/view/basecommentview.js +1 -1
  30. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  31. package/src/comments/ui/view/commentcontentview.js +1 -1
  32. package/src/comments/ui/view/commentinputview.js +1 -1
  33. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  34. package/src/comments/ui/view/commentslistview.js +1 -1
  35. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  36. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  37. package/src/comments/ui/view/commentthreadview.js +1 -1
  38. package/src/comments/ui/view/commentview.js +1 -1
  39. package/src/comments.js +1 -1
  40. package/src/commentsonly.js +1 -1
  41. package/src/utils/common-translations.js +1 -1
  42. package/src/utils/createmutationobserver.js +1 -1
  43. package/theme/annotation.css +4 -0
  44. package/theme/commentthread.css +4 -0
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x530a=['ck-comment__external','isReadOnly','dropdown','mouseenter','importWord','ck-annotation__info-name','isEditMode','remove','ck-annotation__info-time','label','some','blur','add','source','getUserViewNotificationText','time','_createCommentInputView','Show\x20more\x20items','ck-comment--remove','change:isEnabled','removeButton','withText','createCollection','isEditable','EXTERNAL_AVATAR','_createDropdown','buttonView','panelPosition','ck-annotation__info','ck-comment__actions','actionIndicator','focus','items','author','push','authoredAt','locale','isConfirm','_createEditButton','_createRemoveButton','set','showConfirm','ck-comment__info','resolvedAt','children','getTemplate','ck-comment__actions--hidden','ck-comment','_model','ck-comment__info-time','execute','attributes','pencil','edit','bind','Edit','isVisible','placeholder','mouseleave','formatDateTime','ck-comment--info','element','isEnabled','then','getExternalCommentNote','span','listenTo','length','EXTERNAL_IMPORT_WORD_COMMENT','panelView','actionBar','extendTemplate','ck-annotation__main','bindTemplate','icon','_attachActions','name','isSystemComment','editButton','render','@external','ck-comment--edit','change:isVisible','visibleView','isExternal','ck-comment__main','div','ck-comment__wrapper','Delete\x20comment?','addMany','userView','ck-comment__user','setTemplate','ck-comment--remove-confirmation'];(function(_0x4b5fa2,_0x530a70){const _0xaa8fac=function(_0x5a9be5){while(--_0x5a9be5){_0x4b5fa2['push'](_0x4b5fa2['shift']());}};_0xaa8fac(++_0x530a70);}(_0x530a,0x1a0));const _0xaa8f=function(_0x4b5fa2,_0x530a70){_0x4b5fa2=_0x4b5fa2-0x0;let _0xaa8fac=_0x530a[_0x4b5fa2];return _0xaa8fac;};import{ButtonView as _0x3e500e,createDropdown as _0x3d341a,ListView as _0x5e1f89,ListItemView as _0x5d8d4c}from'ckeditor5/src/ui.js';import{icons as _0x5d58d1}from'ckeditor5/src/core.js';import{UserView as _0x23916e,ConfirmMixin as _0x171e5c}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xa36540 from'./basecommentview.js';import _0x3945a1 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x4c7e6d}from'../../../utils/common-translations.js';export default class pt extends _0x171e5c(_0xa36540){constructor(_0x2ef118,_0x19a14b,_0x156501){super(_0x2ef118,_0x19a14b,_0x156501),this[_0xaa8f('0x0')](_0xaa8f('0x54'),null),this[_0xaa8f('0x0')](_0xaa8f('0x11'),_0x4c7e6d(_0x2ef118,'Reply...')),this[_0xaa8f('0xe')](_0xaa8f('0x59'))['to'](_0x19a14b),this[_0xaa8f('0xe')](_0xaa8f('0x3'))['to'](_0x19a14b),this[_0xaa8f('0x1e')]=this[_0xaa8f('0x4c')](),this[_0xaa8f('0x25')]||(this[_0xaa8f('0x26')]=this[_0xaa8f('0x5c')](),this[_0xaa8f('0x4a')]=this[_0xaa8f('0x5d')](),this['items']=this[_0xaa8f('0x4c')](),this['items'][_0xaa8f('0x31')]([this[_0xaa8f('0x26')],this[_0xaa8f('0x4a')]]),this[_0xaa8f('0x38')]=this[_0xaa8f('0x4f')](),this[_0xaa8f('0x1e')][_0xaa8f('0x42')](this[_0xaa8f('0x38')])),this[_0xaa8f('0x32')]=new _0x23916e(_0x2ef118,_0x19a14b[_0xaa8f('0x57')],this['getUserViewNotificationText']()),this[_0xaa8f('0x32')][_0xaa8f('0x1f')]({'attributes':{'class':[_0xaa8f('0x33'),'ck-annotation__user']}}),this[_0xaa8f('0x1a')](_0x19a14b,'change:isRemovable',()=>this['cancelConfirm']()),this[_0xaa8f('0x34')](this['getTemplate']());}[_0xaa8f('0x5')](){const _0x34f12c=this[_0xaa8f('0x21')],_0x4c9430=[{'tag':_0xaa8f('0x2e'),'attributes':{'class':[_0xaa8f('0x2'),_0xaa8f('0x52')]},'children':[{'tag':_0xaa8f('0x19'),'children':[{'text':this[_0xaa8f('0x32')][_0xaa8f('0x24')]}],'attributes':{'class':['ck-comment__info-name',_0xaa8f('0x3b')]}},{'tag':_0xaa8f('0x45'),'attributes':{'datetime':_0x34f12c['to'](_0xaa8f('0x59')),'class':[_0xaa8f('0x9'),_0xaa8f('0x3e')]},'children':[{'text':_0x34f12c['to']('authoredAt',_0x3da3b9=>this['_config'][_0xaa8f('0x13')](_0x3da3b9))}]}]},{'tag':_0xaa8f('0x2e'),'attributes':{'class':[_0xaa8f('0x53'),'ck-annotation__actions',_0x34f12c['if'](_0xaa8f('0x3c'),_0xaa8f('0x6')),_0x34f12c['if'](_0xaa8f('0x3c'),'ck-annotation__actions--hidden')]},'children':this[_0xaa8f('0x1e')]},{'tag':'div','attributes':{'class':['ck-annotation__content-wrapper']},'children':this[_0xaa8f('0x2b')]}];return this['_model'][_0xaa8f('0x2c')]&&_0x4c9430[_0xaa8f('0x58')]({'tag':_0xaa8f('0x2e'),'attributes':{'class':[_0xaa8f('0x36')]},'children':[{'text':this[_0xaa8f('0x18')]()}]}),{'tag':'li','attributes':{'class':[_0xaa8f('0x2f'),_0x34f12c['if'](_0xaa8f('0x5b'),_0xaa8f('0x35'))],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':[_0xaa8f('0x7'),'ck-annotation',_0x34f12c['if']('isEditMode',_0xaa8f('0x29')),_0x34f12c['if']('isSystemComment',_0xaa8f('0x14')),_0x34f12c['to'](_0xaa8f('0x54'),_0xaded03=>_0xaded03?'ck-comment--'+_0xaded03:'')],'data-author-id':this[_0xaa8f('0x8')][_0xaa8f('0x57')]['id'],'data-comment-id':this['_model']['id']},'children':[this[_0xaa8f('0x32')],{'tag':_0xaa8f('0x2e'),'attributes':{'class':[_0xaa8f('0x2d'),_0xaa8f('0x20')]},'children':_0x4c9430}]}]};}[_0xaa8f('0x5c')](){const _0xd91b87=new _0x3e500e(this[_0xaa8f('0x5a')]);return _0xd91b87[_0xaa8f('0x3f')]=_0x4c7e6d(this['locale'],_0xaa8f('0xf')),_0xd91b87[_0xaa8f('0x22')]=_0x5d58d1[_0xaa8f('0xc')],_0xd91b87['withText']=!0x0,_0xd91b87[_0xaa8f('0x1f')]({'attributes':{'class':'ck-comment--edit'}}),_0xd91b87[_0xaa8f('0xe')](_0xaa8f('0x16'))['to'](this[_0xaa8f('0x8')],_0xaa8f('0x37'),_0x5b959d=>!_0x5b959d),_0xd91b87[_0xaa8f('0xe')](_0xaa8f('0x10'))['to'](this[_0xaa8f('0x8')],_0xaa8f('0x4d')),_0xd91b87['on']('execute',()=>this['switchToEditMode']()),_0xd91b87;}[_0xaa8f('0x5d')](){const _0x26fb26=new _0x3e500e(this[_0xaa8f('0x5a')]);return _0x26fb26[_0xaa8f('0x3f')]=_0x4c7e6d(this['locale'],'Remove'),_0x26fb26['icon']=_0x3945a1,_0x26fb26[_0xaa8f('0x4b')]=!0x0,_0x26fb26[_0xaa8f('0x1f')]({'attributes':{'class':_0xaa8f('0x48')}}),_0x26fb26[_0xaa8f('0xe')](_0xaa8f('0x16'))['to'](this['_model'],_0xaa8f('0x37'),_0x5d6473=>!_0x5d6473),_0x26fb26[_0xaa8f('0xe')](_0xaa8f('0x10'))['to'](this[_0xaa8f('0x8')],'isRemovable'),_0x26fb26['on'](_0xaa8f('0xa'),()=>{this[_0xaa8f('0x1')](_0x4c7e6d(this[_0xaa8f('0x5a')],_0xaa8f('0x30')),this[_0xaa8f('0x15')])[_0xaa8f('0x17')](()=>{this['fire']('removeComment',this[_0xaa8f('0x8')]['id']);});}),_0x26fb26;}['_createDropdown'](){const _0x36e7ea=_0x3d341a(this[_0xaa8f('0x5a')]),_0x33a83b=_0x36e7ea[_0xaa8f('0x1d')]['children'],_0x24f46d=new _0x5e1f89(this[_0xaa8f('0x5a')]),_0x3bb4d8=(_0x41bc41,_0x320525=-0x1)=>{const _0x20bc20=new _0x5d8d4c(this['locale']);_0x20bc20[_0xaa8f('0x4')][_0xaa8f('0x42')](_0x41bc41);const _0x4b5d5c=_0x320525>-0x1?_0x320525:_0x24f46d[_0xaa8f('0x56')][_0xaa8f('0x1b')];_0x24f46d[_0xaa8f('0x56')]['add'](_0x20bc20,_0x4b5d5c),_0x36e7ea['listenTo'](_0x41bc41,_0xaa8f('0x49'),()=>{_0x36e7ea[_0xaa8f('0x16')]=[...this[_0xaa8f('0x56')]][_0xaa8f('0x40')](_0x532f29=>_0x532f29[_0xaa8f('0x16')]);}),_0x36e7ea['listenTo'](_0x41bc41,_0xaa8f('0x2a'),()=>{_0x36e7ea[_0xaa8f('0x50')]['isVisible']=[...this['items']][_0xaa8f('0x40')](_0x20232c=>_0x20232c[_0xaa8f('0x10')]);});};_0x36e7ea[_0xaa8f('0x51')]='sw',_0x36e7ea['buttonView'][_0xaa8f('0x0')]({'label':_0x4c7e6d(this[_0xaa8f('0x5a')],_0xaa8f('0x47')),'icon':_0x5d58d1['threeVerticalDots']}),_0x36e7ea[_0xaa8f('0x16')]=[...this[_0xaa8f('0x56')]][_0xaa8f('0x40')](_0x4ae9ac=>_0x4ae9ac[_0xaa8f('0x16')]),_0x36e7ea[_0xaa8f('0x50')]['isVisible']=[...this[_0xaa8f('0x56')]][_0xaa8f('0x40')](_0x187357=>_0x187357[_0xaa8f('0x10')]);for(const _0x4d28b4 of this[_0xaa8f('0x56')])_0x3bb4d8(_0x4d28b4);return _0x33a83b[_0xaa8f('0x42')](_0x24f46d),_0x36e7ea['listenTo'](this[_0xaa8f('0x56')],_0xaa8f('0x42'),(_0x2b1b38,_0x45fc66,_0x4e88a3)=>{_0x3bb4d8(_0x45fc66,_0x4e88a3);}),_0x36e7ea[_0xaa8f('0x1a')](this[_0xaa8f('0x56')],_0xaa8f('0x3d'),(_0x53e85c,_0x7ae1ad,_0xdcee3f)=>{_0x24f46d[_0xaa8f('0x56')][_0xaa8f('0x3d')](_0xdcee3f);}),_0x36e7ea;}[_0xaa8f('0x23')](_0x459644,_0x76c319){const _0x163589=_0x459644&&_0x459644[_0xaa8f('0x15')];_0x163589&&(this[_0xaa8f('0x1a')](_0x163589,_0xaa8f('0x39'),()=>this[_0xaa8f('0x54')]=_0x76c319),this['listenTo'](_0x163589,_0xaa8f('0x55'),()=>this[_0xaa8f('0x54')]=_0x76c319),this[_0xaa8f('0x1a')](_0x163589,_0xaa8f('0x12'),()=>this['actionIndicator']=null),this['listenTo'](_0x163589,_0xaa8f('0x41'),()=>this[_0xaa8f('0x54')]=null));}['_createCommentInputView'](){const _0x44c26e=super[_0xaa8f('0x46')]();return _0x44c26e[_0xaa8f('0xe')](_0xaa8f('0x11'))['to'](this),_0x44c26e;}['getExternalCommentNote'](){return _0xaa8f('0x3a')===this[_0xaa8f('0x8')]['attributes']['@external'][_0xaa8f('0x43')]?_0x4c7e6d(this['locale'],_0xaa8f('0x1c')):_0x4c7e6d(this[_0xaa8f('0x5a')],'EXTERNAL_COMMENT');}[_0xaa8f('0x44')](){return this['_model'][_0xaa8f('0x2c')]?_0xaa8f('0x3a')===this[_0xaa8f('0x8')][_0xaa8f('0xb')][_0xaa8f('0x28')]['source']?_0x4c7e6d(this[_0xaa8f('0x5a')],'EXTERNAL_IMPORT_WORD_AVATAR',this[_0xaa8f('0x8')]['creator'][_0xaa8f('0x24')]):_0x4c7e6d(this[_0xaa8f('0x5a')],_0xaa8f('0x4e'),this[_0xaa8f('0x8')]['creator'][_0xaa8f('0x24')]):null;}['render'](){super[_0xaa8f('0x27')](),this[_0xaa8f('0x23')](this['editButton'],_0xaa8f('0xd')),this[_0xaa8f('0x23')](this['removeButton'],_0xaa8f('0x3d'));}}
23
+ const _0x15f6=['authoredAt','items','attributes','switchToEditMode','ck-annotation__actions--hidden','ck-comment--remove','setTemplate','div','creator','isEnabled','set','ck-comment__actions','push','isConfirm','time','ck-annotation__info-time','name','extendTemplate','addMany','ck-annotation__info','isSystemComment','EXTERNAL_COMMENT','threeVerticalDots','placeholder','dropdown','_attachActions','ck-annotation__content-wrapper','bind','EXTERNAL_IMPORT_WORD_AVATAR','getTemplate','ck-annotation__user','actionBar','Reply...','_createDropdown','bindTemplate','element','fire','Delete\x20comment?','@external','ck-comment--','focus','removeComment','remove','_model','listenTo','length','ck-annotation','_createCommentInputView','mouseenter','change:isVisible','Edit','_config','resolvedAt','withText','ck-annotation__info-name','change:isRemovable','children','source','_createEditButton','EXTERNAL_IMPORT_WORD_COMMENT','userView','some','ck-comment--info','ck-comment__main','actionIndicator','removeButton','isEditMode','getExternalCommentNote','isVisible','isReadOnly','visibleView','ck-comment--edit','locale','add','createCollection','editButton','ck-comment__user','ck-comment__info','ck-annotation__main','Show\x20more\x20items','change:isEnabled','isExternal','_createRemoveButton','ck-comment__info-name','Remove','icon','execute','then','label','panelPosition','render','buttonView','getUserViewNotificationText','author','importWord','panelView'];(function(_0x48061d,_0x15f645){const _0x5bf289=function(_0x433949){while(--_0x433949){_0x48061d['push'](_0x48061d['shift']());}};_0x5bf289(++_0x15f645);}(_0x15f6,0x192));const _0x5bf2=function(_0x48061d,_0x15f645){_0x48061d=_0x48061d-0x0;let _0x5bf289=_0x15f6[_0x48061d];return _0x5bf289;};import{ButtonView as _0x37ec54,createDropdown as _0x1b67e8,ListView as _0x6ef491,ListItemView as _0x4c0af2}from'ckeditor5/src/ui.js';import{icons as _0x13345b}from'ckeditor5/src/core.js';import{UserView as _0x133c23,ConfirmMixin as _0x30968e}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x250d76 from'./basecommentview.js';import _0x4fb364 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x370c61}from'../../../utils/common-translations.js';export default class pt extends _0x30968e(_0x250d76){constructor(_0x3fc4a4,_0x2fee60,_0x592c9d){super(_0x3fc4a4,_0x2fee60,_0x592c9d),this[_0x5bf2('0x58')](_0x5bf2('0x2e'),null),this[_0x5bf2('0x58')](_0x5bf2('0x5'),_0x370c61(_0x3fc4a4,_0x5bf2('0xe'))),this[_0x5bf2('0x9')](_0x5bf2('0x4e'))['to'](_0x2fee60),this['bind'](_0x5bf2('0x22'))['to'](_0x2fee60),this['actionBar']=this[_0x5bf2('0x38')](),this[_0x5bf2('0x2')]||(this[_0x5bf2('0x39')]=this[_0x5bf2('0x28')](),this['removeButton']=this['_createRemoveButton'](),this[_0x5bf2('0x4f')]=this['createCollection'](),this['items'][_0x5bf2('0x0')]([this[_0x5bf2('0x39')],this[_0x5bf2('0x2f')]]),this[_0x5bf2('0x6')]=this[_0x5bf2('0xf')](),this[_0x5bf2('0xd')][_0x5bf2('0x37')](this[_0x5bf2('0x6')])),this[_0x5bf2('0x2a')]=new _0x133c23(_0x3fc4a4,_0x2fee60[_0x5bf2('0x4b')],this[_0x5bf2('0x4a')]()),this['userView'][_0x5bf2('0x5f')]({'attributes':{'class':[_0x5bf2('0x3a'),_0x5bf2('0xc')]}}),this[_0x5bf2('0x1a')](_0x2fee60,_0x5bf2('0x25'),()=>this['cancelConfirm']()),this[_0x5bf2('0x54')](this[_0x5bf2('0xb')]());}[_0x5bf2('0xb')](){const _0x52b8e3=this[_0x5bf2('0x10')],_0x109d93=[{'tag':'div','attributes':{'class':[_0x5bf2('0x3b'),_0x5bf2('0x1')]},'children':[{'tag':'span','children':[{'text':this[_0x5bf2('0x2a')][_0x5bf2('0x5e')]}],'attributes':{'class':[_0x5bf2('0x41'),_0x5bf2('0x24')]}},{'tag':_0x5bf2('0x5c'),'attributes':{'datetime':_0x52b8e3['to']('authoredAt'),'class':['ck-comment__info-time',_0x5bf2('0x5d')]},'children':[{'text':_0x52b8e3['to'](_0x5bf2('0x4e'),_0x1138d5=>this[_0x5bf2('0x21')]['formatDateTime'](_0x1138d5))}]}]},{'tag':_0x5bf2('0x55'),'attributes':{'class':[_0x5bf2('0x59'),'ck-annotation__actions',_0x52b8e3['if'](_0x5bf2('0x30'),'ck-comment__actions--hidden'),_0x52b8e3['if']('isEditMode',_0x5bf2('0x52'))]},'children':this['actionBar']},{'tag':_0x5bf2('0x55'),'attributes':{'class':[_0x5bf2('0x8')]},'children':this[_0x5bf2('0x34')]}];return this[_0x5bf2('0x19')][_0x5bf2('0x3f')]&&_0x109d93[_0x5bf2('0x5a')]({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this[_0x5bf2('0x31')]()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper',_0x52b8e3['if'](_0x5bf2('0x5b'),'ck-comment--remove-confirmation')],'tabindex':-0x1},'children':[{'tag':_0x5bf2('0x55'),'attributes':{'class':['ck-comment',_0x5bf2('0x1c'),_0x52b8e3['if'](_0x5bf2('0x30'),'ck-comment--edit'),_0x52b8e3['if'](_0x5bf2('0x2'),_0x5bf2('0x2c')),_0x52b8e3['to'](_0x5bf2('0x2e'),_0x27bd4e=>_0x27bd4e?_0x5bf2('0x15')+_0x27bd4e:'')],'data-author-id':this[_0x5bf2('0x19')][_0x5bf2('0x4b')]['id'],'data-comment-id':this[_0x5bf2('0x19')]['id']},'children':[this[_0x5bf2('0x2a')],{'tag':_0x5bf2('0x55'),'attributes':{'class':[_0x5bf2('0x2d'),_0x5bf2('0x3c')]},'children':_0x109d93}]}]};}[_0x5bf2('0x28')](){const _0x50abd0=new _0x37ec54(this[_0x5bf2('0x36')]);return _0x50abd0[_0x5bf2('0x46')]=_0x370c61(this[_0x5bf2('0x36')],_0x5bf2('0x20')),_0x50abd0['icon']=_0x13345b['pencil'],_0x50abd0[_0x5bf2('0x23')]=!0x0,_0x50abd0[_0x5bf2('0x5f')]({'attributes':{'class':_0x5bf2('0x35')}}),_0x50abd0[_0x5bf2('0x9')](_0x5bf2('0x57'))['to'](this['_model'],_0x5bf2('0x33'),_0x53fc4c=>!_0x53fc4c),_0x50abd0['bind'](_0x5bf2('0x32'))['to'](this['_model'],'isEditable'),_0x50abd0['on'](_0x5bf2('0x44'),()=>this[_0x5bf2('0x51')]()),_0x50abd0;}[_0x5bf2('0x40')](){const _0xcbd50f=new _0x37ec54(this[_0x5bf2('0x36')]);return _0xcbd50f[_0x5bf2('0x46')]=_0x370c61(this[_0x5bf2('0x36')],_0x5bf2('0x42')),_0xcbd50f[_0x5bf2('0x43')]=_0x4fb364,_0xcbd50f[_0x5bf2('0x23')]=!0x0,_0xcbd50f['extendTemplate']({'attributes':{'class':_0x5bf2('0x53')}}),_0xcbd50f[_0x5bf2('0x9')](_0x5bf2('0x57'))['to'](this['_model'],_0x5bf2('0x33'),_0x584bef=>!_0x584bef),_0xcbd50f[_0x5bf2('0x9')](_0x5bf2('0x32'))['to'](this[_0x5bf2('0x19')],'isRemovable'),_0xcbd50f['on'](_0x5bf2('0x44'),()=>{this['showConfirm'](_0x370c61(this[_0x5bf2('0x36')],_0x5bf2('0x13')),this['element'])[_0x5bf2('0x45')](()=>{this[_0x5bf2('0x12')](_0x5bf2('0x17'),this['_model']['id']);});}),_0xcbd50f;}[_0x5bf2('0xf')](){const _0x258032=_0x1b67e8(this[_0x5bf2('0x36')]),_0x2a492b=_0x258032[_0x5bf2('0x4d')][_0x5bf2('0x26')],_0x1ead36=new _0x6ef491(this[_0x5bf2('0x36')]),_0x34d0ee=(_0x17ee85,_0x48151e=-0x1)=>{const _0x2da085=new _0x4c0af2(this[_0x5bf2('0x36')]);_0x2da085[_0x5bf2('0x26')]['add'](_0x17ee85);const _0x410d03=_0x48151e>-0x1?_0x48151e:_0x1ead36[_0x5bf2('0x4f')][_0x5bf2('0x1b')];_0x1ead36[_0x5bf2('0x4f')][_0x5bf2('0x37')](_0x2da085,_0x410d03),_0x258032[_0x5bf2('0x1a')](_0x17ee85,_0x5bf2('0x3e'),()=>{_0x258032['isEnabled']=[...this[_0x5bf2('0x4f')]][_0x5bf2('0x2b')](_0x1f9b74=>_0x1f9b74[_0x5bf2('0x57')]);}),_0x258032['listenTo'](_0x17ee85,_0x5bf2('0x1f'),()=>{_0x258032[_0x5bf2('0x49')]['isVisible']=[...this[_0x5bf2('0x4f')]][_0x5bf2('0x2b')](_0x76ade0=>_0x76ade0[_0x5bf2('0x32')]);});};_0x258032[_0x5bf2('0x47')]='sw',_0x258032[_0x5bf2('0x49')][_0x5bf2('0x58')]({'label':_0x370c61(this[_0x5bf2('0x36')],_0x5bf2('0x3d')),'icon':_0x13345b[_0x5bf2('0x4')]}),_0x258032[_0x5bf2('0x57')]=[...this['items']][_0x5bf2('0x2b')](_0xff0da2=>_0xff0da2['isEnabled']),_0x258032[_0x5bf2('0x49')][_0x5bf2('0x32')]=[...this[_0x5bf2('0x4f')]]['some'](_0x162c00=>_0x162c00[_0x5bf2('0x32')]);for(const _0x30986c of this['items'])_0x34d0ee(_0x30986c);return _0x2a492b['add'](_0x1ead36),_0x258032[_0x5bf2('0x1a')](this[_0x5bf2('0x4f')],_0x5bf2('0x37'),(_0x355e9b,_0x1dca54,_0x24115d)=>{_0x34d0ee(_0x1dca54,_0x24115d);}),_0x258032['listenTo'](this[_0x5bf2('0x4f')],'remove',(_0x2636fb,_0x4a3eed,_0x26c4cf)=>{_0x1ead36[_0x5bf2('0x4f')]['remove'](_0x26c4cf);}),_0x258032;}[_0x5bf2('0x7')](_0x1fe9bf,_0x14d8d8){const _0xd9d881=_0x1fe9bf&&_0x1fe9bf[_0x5bf2('0x11')];_0xd9d881&&(this['listenTo'](_0xd9d881,_0x5bf2('0x1e'),()=>this[_0x5bf2('0x2e')]=_0x14d8d8),this[_0x5bf2('0x1a')](_0xd9d881,_0x5bf2('0x16'),()=>this[_0x5bf2('0x2e')]=_0x14d8d8),this['listenTo'](_0xd9d881,'mouseleave',()=>this[_0x5bf2('0x2e')]=null),this['listenTo'](_0xd9d881,'blur',()=>this[_0x5bf2('0x2e')]=null));}[_0x5bf2('0x1d')](){const _0x2b59a2=super[_0x5bf2('0x1d')]();return _0x2b59a2['bind'](_0x5bf2('0x5'))['to'](this),_0x2b59a2;}['getExternalCommentNote'](){return _0x5bf2('0x4c')===this[_0x5bf2('0x19')][_0x5bf2('0x50')][_0x5bf2('0x14')][_0x5bf2('0x27')]?_0x370c61(this['locale'],_0x5bf2('0x29')):_0x370c61(this[_0x5bf2('0x36')],_0x5bf2('0x3'));}[_0x5bf2('0x4a')](){return this[_0x5bf2('0x19')][_0x5bf2('0x3f')]?_0x5bf2('0x4c')===this[_0x5bf2('0x19')][_0x5bf2('0x50')][_0x5bf2('0x14')][_0x5bf2('0x27')]?_0x370c61(this['locale'],_0x5bf2('0xa'),this[_0x5bf2('0x19')][_0x5bf2('0x56')]['name']):_0x370c61(this[_0x5bf2('0x36')],'EXTERNAL_AVATAR',this[_0x5bf2('0x19')]['creator']['name']):null;}[_0x5bf2('0x48')](){super[_0x5bf2('0x48')](),this[_0x5bf2('0x7')](this['editButton'],'edit'),this[_0x5bf2('0x7')](this[_0x5bf2('0x2f')],_0x5bf2('0x18'));}}
package/src/comments.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x394e=['Comments','requires'];(function(_0x54894a,_0x394e38){var _0xc4008a=function(_0x555e8e){while(--_0x555e8e){_0x54894a['push'](_0x54894a['shift']());}};_0xc4008a(++_0x394e38);}(_0x394e,0x1c7));var _0xc400=function(_0x54894a,_0x394e38){_0x54894a=_0x54894a-0x0;var _0xc4008a=_0x394e[_0x54894a];return _0xc4008a;};import{Plugin as _0x6249ce}from'ckeditor5/src/core.js';import _0x4bf83a from'./comments/commentsrepository.js';import _0x495279 from'./comments/commentsediting.js';import _0x33c622 from'./comments/commentsui.js';import _0x414ee3 from'./commentsonly.js';import _0x23f524 from'./annotations/widesidebar.js';import _0x52fe33 from'./annotations/narrowsidebar.js';import _0x55b667 from'./annotations/inlineannotations.js';import _0x4b8fe7 from'./comments/commentsarchiveui.js';import _0x16b7db from'./comments/commentsarchive.js';export default class f extends _0x6249ce{static get[_0xc400('0x0')](){return[_0x4bf83a,_0x495279,_0x33c622,_0x16b7db,_0x4b8fe7,_0x414ee3,_0x23f524,_0x52fe33,_0x55b667];}static get['pluginName'](){return _0xc400('0x1');}}
23
+ var _0x1db8=['requires'];(function(_0x42f50c,_0x1db83e){var _0x5c2956=function(_0x53c0ce){while(--_0x53c0ce){_0x42f50c['push'](_0x42f50c['shift']());}};_0x5c2956(++_0x1db83e);}(_0x1db8,0x17d));var _0x5c29=function(_0x42f50c,_0x1db83e){_0x42f50c=_0x42f50c-0x0;var _0x5c2956=_0x1db8[_0x42f50c];return _0x5c2956;};import{Plugin as _0x3577cd}from'ckeditor5/src/core.js';import _0x3db45a from'./comments/commentsrepository.js';import _0x3c3ed9 from'./comments/commentsediting.js';import _0x5cdb64 from'./comments/commentsui.js';import _0x22cd0f from'./commentsonly.js';import _0x371a02 from'./annotations/widesidebar.js';import _0x167585 from'./annotations/narrowsidebar.js';import _0x58cca3 from'./annotations/inlineannotations.js';import _0x578e22 from'./comments/commentsarchiveui.js';import _0x6a34d4 from'./comments/commentsarchive.js';export default class f extends _0x3577cd{static get[_0x5c29('0x0')](){return[_0x3db45a,_0x3c3ed9,_0x5cdb64,_0x6a34d4,_0x578e22,_0x22cd0f,_0x371a02,_0x167585,_0x58cca3];}static get['pluginName'](){return'Comments';}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x579c=['commentsOnlyMode','affectsData','commands','isEnabled','view','editing','stop','get','change:isEnabled','requires','stopListening','config','plugins','forceDisabled','_enableCommentsOnlyMode','DragDrop','has','highest','delete','pluginName','clipboardInput','afterInit','_disableCommentsOnlyMode','cut','listenTo','editor','addCommentThread','document'];(function(_0x847b17,_0x579ca2){const _0x307274=function(_0x49e481){while(--_0x49e481){_0x847b17['push'](_0x847b17['shift']());}};_0x307274(++_0x579ca2);}(_0x579c,0x86));const _0x3072=function(_0x847b17,_0x579ca2){_0x847b17=_0x847b17-0x0;let _0x307274=_0x579c[_0x847b17];return _0x307274;};import{Plugin as _0x196245}from'ckeditor5/src/core.js';import _0x4022e2 from'./comments/commentsediting.js';export default class e extends _0x196245{static get[_0x3072('0x19')](){return'CommentsOnly';}static get[_0x3072('0xf')](){return[_0x4022e2];}constructor(_0x5f567d){super(_0x5f567d),this['set']('isEnabled',!0x1),this['on'](_0x3072('0xe'),(_0x317e0e,_0x5eb909,_0x597655)=>{_0x597655?this[_0x3072('0x14')]():this[_0x3072('0x0')]();});}[_0x3072('0x1b')](){!this[_0x3072('0x9')]&&this[_0x3072('0x3')][_0x3072('0x11')][_0x3072('0xd')]('commentsOnly')&&(this[_0x3072('0x9')]=!0x0);}[_0x3072('0x14')](){for(const [_0x3eed31,_0x554292]of this[_0x3072('0x3')][_0x3072('0x8')])_0x554292[_0x3072('0x7')]&&_0x3072('0x4')!==_0x3eed31&&_0x554292['forceDisabled'](_0x3072('0x6'));this[_0x3072('0x3')][_0x3072('0x12')][_0x3072('0x16')](_0x3072('0x15'))&&this[_0x3072('0x3')][_0x3072('0x12')][_0x3072('0xd')](_0x3072('0x15'))[_0x3072('0x13')](_0x3072('0x6'));const _0x520b9e=this[_0x3072('0x3')][_0x3072('0xb')][_0x3072('0xa')][_0x3072('0x5')];this[_0x3072('0x2')](_0x520b9e,_0x3072('0x1'),_0x2b3827=>_0x2b3827['stop'](),{'priority':'highest'}),this[_0x3072('0x2')](_0x520b9e,_0x3072('0x1a'),_0x31e666=>_0x31e666[_0x3072('0xc')](),{'priority':_0x3072('0x17')}),this[_0x3072('0x2')](_0x520b9e,_0x3072('0x18'),_0x1afbb3=>_0x1afbb3[_0x3072('0xc')](),{'priority':_0x3072('0x17')});}['_disableCommentsOnlyMode'](){for(const [_0x3663c5,_0x32c07c]of this[_0x3072('0x3')][_0x3072('0x8')])_0x32c07c[_0x3072('0x7')]&&_0x3072('0x4')!==_0x3663c5&&_0x32c07c['clearForceDisabled'](_0x3072('0x6'));this[_0x3072('0x10')](this[_0x3072('0x3')]['editing'][_0x3072('0xa')]['document']);}}
23
+ const _0x57ac=['DragDrop','set','stop','delete','config','highest','has','plugins','stopListening','commentsOnly','commands','listenTo','requires','get','isEnabled','editor','document','change:isEnabled','cut','pluginName','addCommentThread','_disableCommentsOnlyMode','forceDisabled','clearForceDisabled','CommentsOnly','view','editing','commentsOnlyMode','clipboardInput','affectsData','_enableCommentsOnlyMode'];(function(_0x323081,_0x57acf4){const _0x2d9d6c=function(_0x4e922e){while(--_0x4e922e){_0x323081['push'](_0x323081['shift']());}};_0x2d9d6c(++_0x57acf4);}(_0x57ac,0x137));const _0x2d9d=function(_0x323081,_0x57acf4){_0x323081=_0x323081-0x0;let _0x2d9d6c=_0x57ac[_0x323081];return _0x2d9d6c;};import{Plugin as _0x41719}from'ckeditor5/src/core.js';import _0x4a9b3f from'./comments/commentsediting.js';export default class e extends _0x41719{static get[_0x2d9d('0x12')](){return _0x2d9d('0x17');}static get[_0x2d9d('0xb')](){return[_0x4a9b3f];}constructor(_0x5931a2){super(_0x5931a2),this[_0x2d9d('0x0')](_0x2d9d('0xd'),!0x1),this['on'](_0x2d9d('0x10'),(_0x3009fa,_0x545cf4,_0x3f4e45)=>{_0x3f4e45?this[_0x2d9d('0x1d')]():this[_0x2d9d('0x14')]();});}['afterInit'](){!this[_0x2d9d('0xd')]&&this['editor'][_0x2d9d('0x3')][_0x2d9d('0xc')](_0x2d9d('0x8'))&&(this[_0x2d9d('0xd')]=!0x0);}['_enableCommentsOnlyMode'](){for(const [_0xda6a8e,_0xde9ea0]of this[_0x2d9d('0xe')][_0x2d9d('0x9')])_0xde9ea0[_0x2d9d('0x1c')]&&_0x2d9d('0x13')!==_0xda6a8e&&_0xde9ea0[_0x2d9d('0x15')](_0x2d9d('0x1a'));this[_0x2d9d('0xe')][_0x2d9d('0x6')][_0x2d9d('0x5')](_0x2d9d('0x1e'))&&this[_0x2d9d('0xe')][_0x2d9d('0x6')][_0x2d9d('0xc')](_0x2d9d('0x1e'))[_0x2d9d('0x15')](_0x2d9d('0x1a'));const _0x39c704=this['editor'][_0x2d9d('0x19')]['view'][_0x2d9d('0xf')];this[_0x2d9d('0xa')](_0x39c704,_0x2d9d('0x11'),_0x593175=>_0x593175[_0x2d9d('0x1')](),{'priority':_0x2d9d('0x4')}),this[_0x2d9d('0xa')](_0x39c704,_0x2d9d('0x1b'),_0xadbc43=>_0xadbc43[_0x2d9d('0x1')](),{'priority':_0x2d9d('0x4')}),this[_0x2d9d('0xa')](_0x39c704,_0x2d9d('0x2'),_0x286fad=>_0x286fad['stop'](),{'priority':_0x2d9d('0x4')});}[_0x2d9d('0x14')](){for(const [_0x3b1739,_0x152009]of this['editor'][_0x2d9d('0x9')])_0x152009['affectsData']&&_0x2d9d('0x13')!==_0x3b1739&&_0x152009[_0x2d9d('0x16')](_0x2d9d('0x1a'));this[_0x2d9d('0x7')](this[_0x2d9d('0xe')][_0x2d9d('0x19')][_0x2d9d('0x18')][_0x2d9d('0xf')]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x242276,_0x1e788a,_0xaab6ea){const t=_0x242276['t'];switch(_0x1e788a){case'PENDING_ACTION_COMMENT_THREAD':return t({'string':'Unsaved\x20change\x20in\x20comment\x20thread.','id':'PENDING_ACTION_COMMENT_THREAD'});case'Comment':return t('Comment');case'Reply...':return t('Reply...');case'Reply\x20to\x20reopen\x20discussion...':return t('Reply\x20to\x20reopen\x20discussion...');case'Write\x20a\x20comment...':return t('Write\x20a\x20comment...');case'Comment\x20was\x20made\x20on\x20an\x20element':return t('Comment\x20was\x20made\x20on\x20an\x20element');case'Comment\x20editor':return t('Comment\x20editor');case'Delete\x20comment\x20thread?':return t('Delete\x20comment\x20thread?');case'Delete\x20comment?':return t('Delete\x20comment?');case'Marked\x20as\x20resolved':return t('Marked\x20as\x20resolved');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Cancel':return t('Cancel');case'Edit':return t('Edit');case'Resolve':return t('Resolve');case'Reopen':return t('Reopen');case'Remove':return t('Remove');case'Reply':return t('Reply');case'Save':return t('Save');case'LEAVE_COMMENT_ANNOUNCEMENT':return t({'string':'Leaving\x20a\x20comment.','id':'LEAVE_COMMENT_ANNOUNCEMENT'});case'ENTER_COMMENT_ANNOUNCEMENT':return t({'string':'Entering\x20a\x20comment.','id':'ENTER_COMMENT_ANNOUNCEMENT'});case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0xaab6ea);case'TOO_LONG_COMMENT_ALERT':return t({'string':'Comment\x20content\x20is\x20too\x20long.\x20Your\x20comment\x20has\x20%0\x20characters\x20but\x20the\x20limit\x20is\x20%1\x20characters.','id':'TOO_LONG_COMMENT_ALERT'},_0xaab6ea);case'EXTERNAL_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20external\x20source.','id':'EXTERNAL_COMMENT'});case'EXTERNAL_IMPORT_WORD_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_COMMENT'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0xaab6ea);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0xaab6ea);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});default:return'';}}
23
+ export function getTranslation(_0x1de352,_0x2db1e3,_0x48535a){const t=_0x1de352['t'];switch(_0x2db1e3){case'PENDING_ACTION_COMMENT_THREAD':return t({'string':'Unsaved\x20change\x20in\x20comment\x20thread.','id':'PENDING_ACTION_COMMENT_THREAD'});case'Comment':return t('Comment');case'Reply...':return t('Reply...');case'Reply\x20to\x20reopen\x20discussion...':return t('Reply\x20to\x20reopen\x20discussion...');case'Write\x20a\x20comment...':return t('Write\x20a\x20comment...');case'Comment\x20was\x20made\x20on\x20an\x20element':return t('Comment\x20was\x20made\x20on\x20an\x20element');case'Comment\x20editor':return t('Comment\x20editor');case'Delete\x20comment\x20thread?':return t('Delete\x20comment\x20thread?');case'Delete\x20comment?':return t('Delete\x20comment?');case'Marked\x20as\x20resolved':return t('Marked\x20as\x20resolved');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Cancel':return t('Cancel');case'Edit':return t('Edit');case'Resolve':return t('Resolve');case'Reopen':return t('Reopen');case'Remove':return t('Remove');case'Reply':return t('Reply');case'Save':return t('Save');case'LEAVE_COMMENT_ANNOUNCEMENT':return t({'string':'Leaving\x20a\x20comment.','id':'LEAVE_COMMENT_ANNOUNCEMENT'});case'ENTER_COMMENT_ANNOUNCEMENT':return t({'string':'Entering\x20a\x20comment.','id':'ENTER_COMMENT_ANNOUNCEMENT'});case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x48535a);case'TOO_LONG_COMMENT_ALERT':return t({'string':'Comment\x20content\x20is\x20too\x20long.\x20Your\x20comment\x20has\x20%0\x20characters\x20but\x20the\x20limit\x20is\x20%1\x20characters.','id':'TOO_LONG_COMMENT_ALERT'},_0x48535a);case'EXTERNAL_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20external\x20source.','id':'EXTERNAL_COMMENT'});case'EXTERNAL_IMPORT_WORD_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_COMMENT'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x48535a);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x48535a);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});default:return'';}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d5e=['attributes','observe','type','childList','characterData','class','disconnect','attributeName','cancel'];(function(_0x1b2c15,_0x5d5eae){const _0x2d2268=function(_0xc85af7){while(--_0xc85af7){_0x1b2c15['push'](_0x1b2c15['shift']());}};_0x2d2268(++_0x5d5eae);}(_0x5d5e,0xd6));const _0x2d22=function(_0x1b2c15,_0x5d5eae){_0x1b2c15=_0x1b2c15-0x0;let _0x2d2268=_0x5d5e[_0x1b2c15];return _0x2d2268;};import{throttle as _0x46fd42}from'lodash-es';export default function Dt(_0x12bb49){const _0x597420=_0x46fd42(_0x12bb49,0x1e),_0x2a6578=new MutationObserver(_0x10fbbf=>{for(const _0x1506fd of _0x10fbbf)(_0x2d22('0x2')==_0x1506fd['type']&&_0x2d22('0x7')==_0x1506fd[_0x2d22('0x0')]||_0x2d22('0x5')==_0x1506fd[_0x2d22('0x4')]||_0x2d22('0x6')==_0x1506fd[_0x2d22('0x4')])&&_0x597420();});return{'attach'(_0x5d22e6){_0x2a6578[_0x2d22('0x3')](_0x5d22e6,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x2a6578[_0x2d22('0x8')](),_0x597420[_0x2d22('0x1')]();}};}
23
+ const _0x64a6=['attributeName','cancel','characterData','attributes','class','childList','type','disconnect'];(function(_0x398d02,_0x64a633){const _0x4c6898=function(_0x34b1db){while(--_0x34b1db){_0x398d02['push'](_0x398d02['shift']());}};_0x4c6898(++_0x64a633);}(_0x64a6,0x155));const _0x4c68=function(_0x398d02,_0x64a633){_0x398d02=_0x398d02-0x0;let _0x4c6898=_0x64a6[_0x398d02];return _0x4c6898;};import{throttle as _0x39022d}from'lodash-es';export default function Dt(_0x5f4939){const _0x50f47c=_0x39022d(_0x5f4939,0x1e),_0x41eb16=new MutationObserver(_0x43d606=>{for(const _0x474b22 of _0x43d606)(_0x4c68('0x6')==_0x474b22[_0x4c68('0x1')]&&_0x4c68('0x7')==_0x474b22[_0x4c68('0x3')]||_0x4c68('0x0')==_0x474b22['type']||_0x4c68('0x5')==_0x474b22[_0x4c68('0x1')])&&_0x50f47c();});return{'attach'(_0x5e97ea){_0x41eb16['observe'](_0x5e97ea,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x41eb16[_0x4c68('0x2')](),_0x50f47c[_0x4c68('0x4')]();}};}
@@ -38,6 +38,10 @@
38
38
  border-radius: var(--ck-border-radius);
39
39
  font-size: var(--ck-annotation-button-size);
40
40
  }
41
+
42
+ & .ck-user {
43
+ font-size: 0.85em;
44
+ }
41
45
  }
42
46
 
43
47
  .ck .ck-annotation__main {
@@ -155,6 +155,10 @@
155
155
  border-radius: var(--ck-border-radius);
156
156
  }
157
157
 
158
+ .ck .ck-thread__user {
159
+ font-size: 0.85em;
160
+ }
161
+
158
162
  .ck .ck-thread__input {
159
163
  /* #1829. Firefox is wrongly rendering flex container width 100% with overflowed (non-spaced) text. */
160
164
  width: calc( 100% - var(--ck-user-avatar-size) );