@ckeditor/ckeditor5-comments 35.0.1 → 35.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 (38) 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/commentsediting.js +1 -1
  18. package/src/comments/commentsrepository.js +1 -1
  19. package/src/comments/commentsui.js +1 -1
  20. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  21. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  22. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  23. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  24. package/src/comments/ui/commentthreadcontroller.js +1 -1
  25. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  26. package/src/comments/ui/view/basecommentview.js +1 -1
  27. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  28. package/src/comments/ui/view/commentcontentview.js +1 -1
  29. package/src/comments/ui/view/commentinputview.js +1 -1
  30. package/src/comments/ui/view/commentslistview.js +1 -1
  31. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  32. package/src/comments/ui/view/commentthreadview.js +1 -1
  33. package/src/comments/ui/view/commentview.js +1 -1
  34. package/src/comments.js +1 -1
  35. package/src/commentsonly.js +1 -1
  36. package/src/utils/common-translations.js +1 -1
  37. package/src/utils/createmutationobserver.js +1 -1
  38. package/theme/annotation-inline.css +0 -21
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f6e=['addCommentThread','afterInit','RestrictedEditingModeEditing','editor','plugins'];(function(_0x11499a,_0x3f6ef3){const _0x4b2da1=function(_0x28d4c3){while(--_0x28d4c3){_0x11499a['push'](_0x11499a['shift']());}};_0x4b2da1(++_0x3f6ef3);}(_0x3f6e,0xac));const _0x4b2d=function(_0x11499a,_0x3f6ef3){_0x11499a=_0x11499a-0x0;let _0x4b2da1=_0x3f6e[_0x11499a];return _0x4b2da1;};import{Plugin as _0x32984c}from'ckeditor5/src/core';export default class F extends _0x32984c{[_0x4b2d('0x4')](){const _0x37e84c=this[_0x4b2d('0x1')];if(!_0x37e84c[_0x4b2d('0x2')]['has']('RestrictedEditingModeEditing'))return;_0x37e84c[_0x4b2d('0x2')]['get'](_0x4b2d('0x0'))['enableCommand'](_0x4b2d('0x3'));}}
23
+ const _0xd9c4=['get','plugins','RestrictedEditingModeEditing','has','afterInit'];(function(_0x484b7f,_0xd9c4f6){const _0xf7f859=function(_0x48a5a1){while(--_0x48a5a1){_0x484b7f['push'](_0x484b7f['shift']());}};_0xf7f859(++_0xd9c4f6);}(_0xd9c4,0x76));const _0xf7f8=function(_0x484b7f,_0xd9c4f6){_0x484b7f=_0x484b7f-0x0;let _0xf7f859=_0xd9c4[_0x484b7f];return _0xf7f859;};import{Plugin as _0x445c40}from'ckeditor5/src/core';export default class F extends _0x445c40{[_0xf7f8('0x1')](){const _0x203db3=this['editor'];if(!_0x203db3[_0xf7f8('0x3')][_0xf7f8('0x0')](_0xf7f8('0x4')))return;_0x203db3[_0xf7f8('0x3')][_0xf7f8('0x2')](_0xf7f8('0x4'))['enableCommand']('addCommentThread');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc927=['focus','data','defaultPlugins','change','create','name','get','ready','_updatePlaceholder','childCount','initPlugins','low','placeholder','placeholderElement','destroy','initialData','then','view','init','setSelection','document','end','editing','model','assign','change:placeholder','config','getRoot'];(function(_0x57f6aa,_0xc927da){const _0x48f356=function(_0x1b8be5){while(--_0x1b8be5){_0x57f6aa['push'](_0x57f6aa['shift']());}};_0x48f356(++_0xc927da);}(_0xc927,0x1d5));const _0x48f3=function(_0x57f6aa,_0xc927da){_0x57f6aa=_0x57f6aa-0x0;let _0x48f356=_0xc927[_0x57f6aa];return _0x48f356;};import{Editor as _0x58aa92,DataApiMixin as _0xa540fb}from'ckeditor5/src/core';import _0x2fbe63 from'./commenteditorui';import{mix as _0x35bd5a,ObservableMixin as _0x432229}from'ckeditor5/src/utils';import{enablePlaceholder as _0x1e66e4,disablePlaceholder as _0x231035}from'ckeditor5/src/engine';import{Clipboard as _0x48d2b7}from'ckeditor5/src/clipboard';import{Enter as _0x3c065f,ShiftEnter as _0x3b4f42}from'ckeditor5/src/enter';import{SelectAll as _0x48e306}from'ckeditor5/src/select-all';import{Typing as _0x371fcf}from'ckeditor5/src/typing';import{Undo as _0x2a575c}from'ckeditor5/src/undo';import{Paragraph as _0x2f3a77}from'ckeditor5/src/paragraph';export default class qt extends _0x58aa92{constructor(_0x766886={}){(_0x766886=Object[_0x48f3('0x3')]({},_0x766886))['plugins']||(_0x766886['plugins']=qt[_0x48f3('0x9')]),super(_0x766886),this['ui']=new _0x2fbe63(this),this['set'](_0x48f3('0x13'),''),this[_0x48f3('0x2')][_0x48f3('0x1b')]['on'](_0x48f3('0xa'),()=>this[_0x48f3('0xf')](),{'priority':_0x48f3('0x12')}),this['on'](_0x48f3('0x4'),()=>this[_0x48f3('0xf')]()),this['model'][_0x48f3('0x1b')]['createRoot']();}[_0x48f3('0xb')](){const _0x15570e=this[_0x48f3('0x5')][_0x48f3('0xd')](_0x48f3('0x16'))||'';return this[_0x48f3('0x11')]()[_0x48f3('0x17')](()=>this['ui'][_0x48f3('0x19')]())['then'](()=>this[_0x48f3('0x8')]['init'](_0x15570e))[_0x48f3('0x17')](()=>this['fire'](_0x48f3('0xe')));}[_0x48f3('0x15')](){return super[_0x48f3('0x15')]()[_0x48f3('0x17')](()=>this['ui']['destroy']());}[_0x48f3('0x7')](){this[_0x48f3('0x2')][_0x48f3('0xa')](_0x42c2d1=>{const _0x46823a=this[_0x48f3('0x2')][_0x48f3('0x1b')]['getRoot'](),_0x3b3308=_0x46823a['getChild'](_0x46823a[_0x48f3('0x10')]-0x1);_0x42c2d1[_0x48f3('0x1a')](_0x3b3308,_0x48f3('0x0')),this['editing']['view'][_0x48f3('0x7')]();});}[_0x48f3('0xf')](){const _0x239506=this[_0x48f3('0x1')][_0x48f3('0x18')],_0xc890e6=_0x239506[_0x48f3('0x1b')][_0x48f3('0x6')](),_0x4ec637=_0xc890e6['getChild'](0x0);_0xc890e6[_0x48f3('0x10')]>0x1||!_0x4ec637||'p'!=_0x4ec637[_0x48f3('0xc')]?this[_0x48f3('0x14')]&&(_0x231035(_0x239506,this[_0x48f3('0x14')]),this[_0x48f3('0x14')]=void 0x0):(_0x1e66e4({'view':_0x239506,'element':_0x4ec637,'text':this[_0x48f3('0x13')],'keepOnFocus':!0x0}),this[_0x48f3('0x14')]=_0x4ec637);}}_0x35bd5a(qt,_0x432229),_0x35bd5a(qt,_0xa540fb),qt[_0x48f3('0x9')]=[_0x48d2b7,_0x3c065f,_0x3b4f42,_0x48e306,_0x371fcf,_0x2a575c,_0x2f3a77];
23
+ const _0x5abb=['config','change:placeholder','placeholderElement','change','destroy','editing','ready','data','create','init','end','assign','fire','plugins','model','setSelection','focus','getRoot','then','initialData','document','childCount','placeholder','createRoot','get','set','low','defaultPlugins','name','_updatePlaceholder','view'];(function(_0x4257eb,_0x5abbcb){const _0x20e728=function(_0x1c8b57){while(--_0x1c8b57){_0x4257eb['push'](_0x4257eb['shift']());}};_0x20e728(++_0x5abbcb);}(_0x5abb,0x17a));const _0x20e7=function(_0x4257eb,_0x5abbcb){_0x4257eb=_0x4257eb-0x0;let _0x20e728=_0x5abb[_0x4257eb];return _0x20e728;};import{Editor as _0xa1c6be,DataApiMixin as _0x38faf1}from'ckeditor5/src/core';import _0x4742d0 from'./commenteditorui';import{mix as _0x99cb56,ObservableMixin as _0x2a1785}from'ckeditor5/src/utils';import{enablePlaceholder as _0x138436,disablePlaceholder as _0x523f19}from'ckeditor5/src/engine';import{Clipboard as _0x3af6b4}from'ckeditor5/src/clipboard';import{Enter as _0x158731,ShiftEnter as _0x12d67e}from'ckeditor5/src/enter';import{SelectAll as _0x1f34e9}from'ckeditor5/src/select-all';import{Typing as _0x872a08}from'ckeditor5/src/typing';import{Undo as _0x45cbd8}from'ckeditor5/src/undo';import{Paragraph as _0x255927}from'ckeditor5/src/paragraph';export default class qt extends _0xa1c6be{constructor(_0x48a22e={}){(_0x48a22e=Object[_0x20e7('0x5')]({},_0x48a22e))[_0x20e7('0x7')]||(_0x48a22e['plugins']=qt[_0x20e7('0x15')]),super(_0x48a22e),this['ui']=new _0x4742d0(this),this[_0x20e7('0x13')]('placeholder',''),this['model']['document']['on'](_0x20e7('0x1c'),()=>this[_0x20e7('0x17')](),{'priority':_0x20e7('0x14')}),this['on'](_0x20e7('0x1a'),()=>this[_0x20e7('0x17')]()),this['model'][_0x20e7('0xe')][_0x20e7('0x11')]();}[_0x20e7('0x2')](){const _0x3bce27=this[_0x20e7('0x19')][_0x20e7('0x12')](_0x20e7('0xd'))||'';return this['initPlugins']()[_0x20e7('0xc')](()=>this['ui'][_0x20e7('0x3')]())['then'](()=>this[_0x20e7('0x1')][_0x20e7('0x3')](_0x3bce27))[_0x20e7('0xc')](()=>this[_0x20e7('0x6')](_0x20e7('0x0')));}[_0x20e7('0x1d')](){return super[_0x20e7('0x1d')]()[_0x20e7('0xc')](()=>this['ui']['destroy']());}[_0x20e7('0xa')](){this[_0x20e7('0x8')][_0x20e7('0x1c')](_0x4ac916=>{const _0x14cf77=this[_0x20e7('0x8')][_0x20e7('0xe')][_0x20e7('0xb')](),_0x4445c7=_0x14cf77['getChild'](_0x14cf77[_0x20e7('0xf')]-0x1);_0x4ac916[_0x20e7('0x9')](_0x4445c7,_0x20e7('0x4')),this[_0x20e7('0x1e')][_0x20e7('0x18')][_0x20e7('0xa')]();});}[_0x20e7('0x17')](){const _0x242ac6=this[_0x20e7('0x1e')]['view'],_0x591c26=_0x242ac6['document'][_0x20e7('0xb')](),_0xd573e7=_0x591c26['getChild'](0x0);_0x591c26[_0x20e7('0xf')]>0x1||!_0xd573e7||'p'!=_0xd573e7[_0x20e7('0x16')]?this[_0x20e7('0x1b')]&&(_0x523f19(_0x242ac6,this[_0x20e7('0x1b')]),this['placeholderElement']=void 0x0):(_0x138436({'view':_0x242ac6,'element':_0xd573e7,'text':this[_0x20e7('0x10')],'keepOnFocus':!0x0}),this['placeholderElement']=_0xd573e7);}}_0x99cb56(qt,_0x2a1785),_0x99cb56(qt,_0x38faf1),qt['defaultPlugins']=[_0x3af6b4,_0x158731,_0x12d67e,_0x1f34e9,_0x872a08,_0x45cbd8,_0x255927];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x218b=['bind','editable','destroy','render','ready','focusTracker','locale','document','view','getRoot','element','editing','editor','init'];(function(_0x3c0416,_0x218b39){const _0x43adb1=function(_0xbbfecb){while(--_0xbbfecb){_0x3c0416['push'](_0x3c0416['shift']());}};_0x43adb1(++_0x218b39);}(_0x218b,0x160));const _0x43ad=function(_0x3c0416,_0x218b39){_0x3c0416=_0x3c0416-0x0;let _0x43adb1=_0x218b[_0x3c0416];return _0x43adb1;};import{EditorUI as _0x55e286}from'ckeditor5/src/core';import _0x420053 from'./commenteditoruiview';export default class yt extends _0x55e286{constructor(_0x211301){super(_0x211301),this['view']=new _0x420053(_0x211301[_0x43ad('0x4')],_0x211301[_0x43ad('0x9')][_0x43ad('0x6')]);}get[_0x43ad('0x8')](){return this[_0x43ad('0x6')][_0x43ad('0x8')];}[_0x43ad('0xb')](){const _0x3c9d7e=this[_0x43ad('0xa')][_0x43ad('0x9')][_0x43ad('0x6')],_0x1d1aa0=this[_0x43ad('0x6')][_0x43ad('0xd')],_0x307eec=_0x3c9d7e[_0x43ad('0x5')][_0x43ad('0x7')]();_0x1d1aa0['name']=_0x307eec['rootName'],this['view'][_0x43ad('0x1')]();const _0x26373d=_0x1d1aa0[_0x43ad('0x8')];this['setEditableElement'](_0x1d1aa0['name'],_0x26373d),this['focusTracker']['add'](_0x26373d),this['view']['editable'][_0x43ad('0xc')]('isFocused')['to'](this[_0x43ad('0x3')]),_0x3c9d7e['attachDomRoot'](_0x26373d),this['fire'](_0x43ad('0x2'));}[_0x43ad('0x0')](){this[_0x43ad('0x6')]['destroy'](),super[_0x43ad('0x0')]();}}
23
+ const _0x1ebd=['bind','fire','rootName','attachDomRoot','locale','editable','editing','document','destroy','editor','view','element','render','ready','name','setEditableElement','isFocused','getRoot'];(function(_0x386613,_0x1ebd0f){const _0x4fb214=function(_0x55b002){while(--_0x55b002){_0x386613['push'](_0x386613['shift']());}};_0x4fb214(++_0x1ebd0f);}(_0x1ebd,0x151));const _0x4fb2=function(_0x386613,_0x1ebd0f){_0x386613=_0x386613-0x0;let _0x4fb214=_0x1ebd[_0x386613];return _0x4fb214;};import{EditorUI as _0x49dd56}from'ckeditor5/src/core';import _0x2ec260 from'./commenteditoruiview';export default class yt extends _0x49dd56{constructor(_0x3dca61){super(_0x3dca61),this[_0x4fb2('0xf')]=new _0x2ec260(_0x3dca61[_0x4fb2('0x9')],_0x3dca61[_0x4fb2('0xb')][_0x4fb2('0xf')]);}get[_0x4fb2('0x10')](){return this['view'][_0x4fb2('0x10')];}['init'](){const _0xbaf1ad=this[_0x4fb2('0xe')][_0x4fb2('0xb')][_0x4fb2('0xf')],_0x3f5f56=this[_0x4fb2('0xf')][_0x4fb2('0xa')],_0x4965e0=_0xbaf1ad[_0x4fb2('0xc')][_0x4fb2('0x4')]();_0x3f5f56[_0x4fb2('0x1')]=_0x4965e0[_0x4fb2('0x7')],this[_0x4fb2('0xf')][_0x4fb2('0x11')]();const _0x11212c=_0x3f5f56[_0x4fb2('0x10')];this[_0x4fb2('0x2')](_0x3f5f56[_0x4fb2('0x1')],_0x11212c),this[_0x4fb2('0xf')]['editable'][_0x4fb2('0x5')](_0x4fb2('0x3'))['to'](this['focusTracker']),_0xbaf1ad[_0x4fb2('0x8')](_0x11212c),this[_0x4fb2('0x6')](_0x4fb2('0x0'));}[_0x4fb2('0xd')](){this[_0x4fb2('0xf')][_0x4fb2('0xd')](),super[_0x4fb2('0xd')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c7a=['ck-rounded-corners','uiLanguage','render','ck-reset','editable','extendTemplate','setTemplate','ck-voice-label','div','add','presentation','focus','main','_createVoiceLabel','ck-editor__main','_voiceLabelView'];(function(_0x59e26f,_0x4c7ac7){const _0x1bdb83=function(_0x585d47){while(--_0x585d47){_0x59e26f['push'](_0x59e26f['shift']());}};_0x1bdb83(++_0x4c7ac7);}(_0x4c7a,0x1dd));const _0x1bdb=function(_0x59e26f,_0x4c7ac7){_0x59e26f=_0x59e26f-0x0;let _0x1bdb83=_0x4c7a[_0x59e26f];return _0x1bdb83;};import{InlineEditableUIView as _0x29dcb8,EditorUIView as _0x47cfb6,LabelView as _0x47b3a5}from'ckeditor5/src/ui';import{uid as _0x131659}from'ckeditor5/src/utils';import{getTranslation as _0x383c1a}from'../../../utils/common-translations';export default class At extends _0x47cfb6{constructor(_0x45f056,_0x801365){super(_0x45f056);const _0x5568d3=_0x131659();this[_0x1bdb('0xf')]=this['createCollection'](),this[_0x1bdb('0x7')]=new _0x29dcb8(_0x45f056,_0x801365),this[_0x1bdb('0x2')]=this['_createVoiceLabel'](_0x5568d3,_0x45f056),this[_0x1bdb('0x9')]({'tag':'div','attributes':{'class':[_0x1bdb('0x6'),'ck-editor',_0x1bdb('0x3'),'ck-comment__input'],'role':'comment','dir':_0x45f056['uiLanguageDirection'],'lang':_0x45f056[_0x1bdb('0x4')],'aria-labelledby':'cke-editor__aria-label_'+_0x5568d3},'children':[this[_0x1bdb('0x2')],{'tag':_0x1bdb('0xb'),'attributes':{'class':_0x1bdb('0x1'),'role':_0x1bdb('0xd')},'children':this[_0x1bdb('0xf')]}]});}[_0x1bdb('0x5')](){super[_0x1bdb('0x5')](),this[_0x1bdb('0xf')][_0x1bdb('0xc')](this['editable']);}[_0x1bdb('0xe')](){this['editable']['element'][_0x1bdb('0xe')]();}[_0x1bdb('0x0')](_0x52fbe1,_0x179905){const _0x45e101=new _0x47b3a5();return _0x45e101['text']=_0x383c1a(_0x179905,'Comment\x20editor'),_0x45e101[_0x1bdb('0x8')]({'attributes':{'id':'ck-editor__aria-label_'+_0x52fbe1,'class':_0x1bdb('0xa')}}),_0x45e101;}}
23
+ const _0x207c=['_createVoiceLabel','ck-editor__main','main','createCollection','ck-rounded-corners','add','editable','ck-editor__aria-label_','ck-comment__input','Comment\x20editor','setTemplate','uiLanguageDirection','presentation','ck-voice-label','_voiceLabelView','ck-editor','comment','render','div','ck-reset','extendTemplate','uiLanguage','focus','element'];(function(_0x166cef,_0x207ca7){const _0x5a3376=function(_0x52347){while(--_0x52347){_0x166cef['push'](_0x166cef['shift']());}};_0x5a3376(++_0x207ca7);}(_0x207c,0xc2));const _0x5a33=function(_0x166cef,_0x207ca7){_0x166cef=_0x166cef-0x0;let _0x5a3376=_0x207c[_0x166cef];return _0x5a3376;};import{InlineEditableUIView as _0x14e3b1,EditorUIView as _0x14bbf0,LabelView as _0x4bb05a}from'ckeditor5/src/ui';import{uid as _0x248f46}from'ckeditor5/src/utils';import{getTranslation as _0x3ec66a}from'../../../utils/common-translations';export default class At extends _0x14bbf0{constructor(_0xb755b0,_0x568def){super(_0xb755b0);const _0xf461b0=_0x248f46();this[_0x5a33('0x0')]=this[_0x5a33('0x1')](),this[_0x5a33('0x4')]=new _0x14e3b1(_0xb755b0,_0x568def),this[_0x5a33('0xc')]=this['_createVoiceLabel'](_0xf461b0,_0xb755b0),this[_0x5a33('0x8')]({'tag':'div','attributes':{'class':[_0x5a33('0x11'),_0x5a33('0xd'),_0x5a33('0x2'),_0x5a33('0x6')],'role':_0x5a33('0xe'),'dir':_0xb755b0[_0x5a33('0x9')],'lang':_0xb755b0[_0x5a33('0x13')],'aria-labelledby':'cke-editor__aria-label_'+_0xf461b0},'children':[this['_voiceLabelView'],{'tag':_0x5a33('0x10'),'attributes':{'class':_0x5a33('0x17'),'role':_0x5a33('0xa')},'children':this[_0x5a33('0x0')]}]});}[_0x5a33('0xf')](){super[_0x5a33('0xf')](),this[_0x5a33('0x0')][_0x5a33('0x3')](this[_0x5a33('0x4')]);}[_0x5a33('0x14')](){this[_0x5a33('0x4')][_0x5a33('0x15')][_0x5a33('0x14')]();}[_0x5a33('0x16')](_0x589eab,_0x277781){const _0x4bc374=new _0x4bb05a();return _0x4bc374['text']=_0x3ec66a(_0x277781,_0x5a33('0x7')),_0x4bc374[_0x5a33('0x12')]({'attributes':{'id':_0x5a33('0x5')+_0x589eab,'class':_0x5a33('0xb')}}),_0x4bc374;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x55d7=['removeComment','model','updateComment','listenTo','view','getComment','_isAttached','addComment','destroy','remove','stopListening'];(function(_0x30c0c0,_0x55d74b){var _0x28c615=function(_0x4b5909){while(--_0x4b5909){_0x30c0c0['push'](_0x30c0c0['shift']());}};_0x28c615(++_0x55d74b);}(_0x55d7,0x130));var _0x28c6=function(_0x30c0c0,_0x55d74b){_0x30c0c0=_0x30c0c0-0x0;var _0x28c615=_0x55d7[_0x30c0c0];return _0x28c615;};import{ObservableMixin as _0x40dc84,mix as _0x359d1f}from'ckeditor5/src/utils';export default class et{constructor(_0x205e6b,_0x234735){this['model']=_0x205e6b,this[_0x28c6('0x5')][_0x28c6('0xa')]=!0x0,this[_0x28c6('0x8')]=_0x234735,this[_0x28c6('0x7')](_0x234735,'removeCommentThread',()=>this['remove']()),this['listenTo'](_0x234735,'addComment',(_0x5ed6d8,_0x2d915d)=>this['addComment'](_0x2d915d)),this[_0x28c6('0x7')](_0x234735,_0x28c6('0x6'),(_0x395294,_0x9dfa92,_0x2c4846)=>this[_0x28c6('0x6')](_0x9dfa92,_0x2c4846)),this[_0x28c6('0x7')](_0x234735,'removeComment',(_0x163f9e,_0x73ebe4)=>this['removeComment'](_0x73ebe4));}[_0x28c6('0x2')](){this[_0x28c6('0x5')][_0x28c6('0x2')]();}[_0x28c6('0x0')](_0x24f016){this[_0x28c6('0x5')][_0x28c6('0x0')]({'content':_0x24f016,'authorId':this[_0x28c6('0x8')]['_localUser']['id']});}[_0x28c6('0x6')](_0x5a88ce,_0x5dbef0){this[_0x28c6('0x5')][_0x28c6('0x9')](_0x5a88ce)['update']({'content':_0x5dbef0});}[_0x28c6('0x4')](_0x415efa){this['model'][_0x28c6('0x9')](_0x415efa)[_0x28c6('0x2')]();}[_0x28c6('0x1')](){this[_0x28c6('0x3')](),this[_0x28c6('0x5')][_0x28c6('0xa')]=!0x1;}}_0x359d1f(et,_0x40dc84);
23
+ var _0x188f=['model','_localUser','remove','view','updateComment','destroy','_isAttached','addComment','listenTo','removeCommentThread','removeComment','getComment'];(function(_0x17af83,_0x188fa9){var _0x59c17f=function(_0x2ca537){while(--_0x2ca537){_0x17af83['push'](_0x17af83['shift']());}};_0x59c17f(++_0x188fa9);}(_0x188f,0xc7));var _0x59c1=function(_0x17af83,_0x188fa9){_0x17af83=_0x17af83-0x0;var _0x59c17f=_0x188f[_0x17af83];return _0x59c17f;};import{ObservableMixin as _0x142768,mix as _0x2689fc}from'ckeditor5/src/utils';export default class et{constructor(_0x578732,_0x4320a7){this['model']=_0x578732,this[_0x59c1('0x5')]['_isAttached']=!0x0,this[_0x59c1('0x8')]=_0x4320a7,this[_0x59c1('0x1')](_0x4320a7,_0x59c1('0x2'),()=>this[_0x59c1('0x7')]()),this['listenTo'](_0x4320a7,_0x59c1('0x0'),(_0x4a936b,_0x85dc67)=>this[_0x59c1('0x0')](_0x85dc67)),this['listenTo'](_0x4320a7,_0x59c1('0x9'),(_0x4c00f0,_0x3053fb,_0x1c606b)=>this[_0x59c1('0x9')](_0x3053fb,_0x1c606b)),this['listenTo'](_0x4320a7,_0x59c1('0x3'),(_0x67309b,_0x2debc0)=>this[_0x59c1('0x3')](_0x2debc0));}['remove'](){this[_0x59c1('0x5')][_0x59c1('0x7')]();}[_0x59c1('0x0')](_0x315269){this[_0x59c1('0x5')][_0x59c1('0x0')]({'content':_0x315269,'authorId':this[_0x59c1('0x8')][_0x59c1('0x6')]['id']});}[_0x59c1('0x9')](_0x391825,_0x171a56){this[_0x59c1('0x5')][_0x59c1('0x4')](_0x391825)['update']({'content':_0x171a56});}[_0x59c1('0x3')](_0x46e215){this[_0x59c1('0x5')]['getComment'](_0x46e215)[_0x59c1('0x7')]();}[_0x59c1('0xa')](){this['stopListening'](),this['model'][_0x59c1('0xb')]=!0x1;}}_0x2689fc(et,_0x142768);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5bf3=['set','isReadOnly','isDirty','removeCommentThread','commentsListView','change:isActive','cancel','destroy','submit','isActive','updateComment','length','element','bind','delegate','_createCommentThreadInputView','Reply...','fire','commentInputView','commentThreadInputView','_localUser','addComment','focus','value','disabledSubmit','editorConfig','locale','removeComment','_config','_model','showInput'];(function(_0x55cda9,_0x5bf3b5){const _0x3d4f96=function(_0x1dfacd){while(--_0x1dfacd){_0x55cda9['push'](_0x55cda9['shift']());}};_0x3d4f96(++_0x5bf3b5);}(_0x5bf3,0x1cc));const _0x3d4f=function(_0x55cda9,_0x5bf3b5){_0x55cda9=_0x55cda9-0x0;let _0x3d4f96=_0x5bf3[_0x55cda9];return _0x3d4f96;};import{View as _0x394d54}from'ckeditor5/src/ui';import _0x3a84c5 from'./commentthreadinputview';import _0x1ed77a from'./commentslistview';import{getTranslation as _0x174191}from'../../../utils/common-translations';export default class Rt extends _0x394d54{constructor(_0x24f36b,_0x25d867,_0x4b57f8,_0x14d0e0){super(_0x24f36b),this[_0x3d4f('0x5')](_0x3d4f('0xe'),!0x1),this[_0x3d4f('0x5')](_0x3d4f('0x7'),!0x1),this[_0x3d4f('0x3')]=_0x25d867,this[_0x3d4f('0x19')]=_0x4b57f8,this['_config']=_0x14d0e0,this[_0x3d4f('0x9')]=new _0x1ed77a(_0x24f36b,_0x25d867,Object['assign']({'CommentView':this[_0x3d4f('0x2')]['CommentView']},_0x14d0e0)),this[_0x3d4f('0x9')][_0x3d4f('0x13')](_0x3d4f('0x1'))['to'](this),this[_0x3d4f('0x9')]['delegate'](_0x3d4f('0xf'))['to'](this),this[_0x3d4f('0x9')]['bind']('isActive')['to'](this),this[_0x3d4f('0x5')](_0x3d4f('0x10'),this['commentsListView'][_0x3d4f('0x10')]),this[_0x3d4f('0x12')]('length')['to'](this['commentsListView'],_0x3d4f('0x10')),this['commentThreadInputView']=this[_0x3d4f('0x14')](),this['on'](_0x3d4f('0x1'),()=>this['focus']()),this['bind'](_0x3d4f('0x7'))['to'](this[_0x3d4f('0x9')],'hasDirtyComment',this[_0x3d4f('0x18')]['commentInputView'],'value',(_0x202866,_0x4d5893)=>_0x202866||!!_0x4d5893);}[_0x3d4f('0x1b')](){this[_0x3d4f('0x11')][_0x3d4f('0x1b')]();}['destroy'](){this['isDirty']=!0x1,this[_0x3d4f('0x9')][_0x3d4f('0xc')](),this[_0x3d4f('0x18')][_0x3d4f('0xc')](),super[_0x3d4f('0xc')]();}['_createCommentThreadInputView'](){const _0xac943=new _0x3a84c5(this[_0x3d4f('0x0')],this[_0x3d4f('0x19')],this[_0x3d4f('0x2')][_0x3d4f('0x1e')]),_0x6f0d05=_0xac943[_0x3d4f('0x17')];return _0xac943[_0x3d4f('0x12')](_0x3d4f('0x4'))['to'](this,_0x3d4f('0xe'),this[_0x3d4f('0x3')],_0x3d4f('0x6'),_0x6f0d05,_0x3d4f('0x1c'),(_0x588435,_0x4284bf,_0x4db25c)=>!!_0x4db25c||_0x588435&&!_0x4284bf),_0x6f0d05['bind']('placeholder')['to'](this,_0x3d4f('0x10'),_0x19fc45=>_0x174191(this['locale'],_0x19fc45?_0x3d4f('0x15'):'Write\x20a\x20comment...')),_0x6f0d05['on'](_0x3d4f('0xd'),(_0x339d8c,_0x5300f9)=>{this[_0x3d4f('0x16')](_0x3d4f('0x1a'),_0x5300f9);}),_0x6f0d05['on'](_0x3d4f('0xb'),()=>{this[_0x3d4f('0x1b')]();}),_0x6f0d05[_0x3d4f('0x12')](_0x3d4f('0x1d'))['to'](this['_model'],_0x3d4f('0x6')),_0x6f0d05['on'](_0x3d4f('0xb'),_0x231ebf=>{0x0==this[_0x3d4f('0x10')]&&(this['fire'](_0x3d4f('0x8')),_0x231ebf['stop']());}),this['on'](_0x3d4f('0xa'),(_0x3c59eb,_0x2e3424,_0x5af150)=>{_0x5af150||this['length']||_0x6f0d05[_0x3d4f('0x1c')]||this['fire'](_0x3d4f('0x8'));}),_0xac943;}}
23
+ const _0x5ed5=['commentThreadInputView','element','isReadOnly','editorConfig','assign','isDirty','value','destroy','commentsListView','commentInputView','hasDirtyComment','addComment','removeCommentThread','placeholder','updateComment','set','focus','locale','bind','delegate','length','_model','_config','cancel','disabledSubmit','_createCommentThreadInputView','removeComment','Write\x20a\x20comment...','fire'];(function(_0x4a0e17,_0x5ed548){const _0x219fd0=function(_0x1d10e9){while(--_0x1d10e9){_0x4a0e17['push'](_0x4a0e17['shift']());}};_0x219fd0(++_0x5ed548);}(_0x5ed5,0x19b));const _0x219f=function(_0x4a0e17,_0x5ed548){_0x4a0e17=_0x4a0e17-0x0;let _0x219fd0=_0x5ed5[_0x4a0e17];return _0x219fd0;};import{View as _0x2a451}from'ckeditor5/src/ui';import _0xf6a50 from'./commentthreadinputview';import _0xf90091 from'./commentslistview';import{getTranslation as _0x2643f3}from'../../../utils/common-translations';export default class Rt extends _0x2a451{constructor(_0x548a0a,_0x4ecf2a,_0x9401aa,_0x412aa6){super(_0x548a0a),this[_0x219f('0xa')]('isActive',!0x1),this['set']('isDirty',!0x1),this[_0x219f('0x10')]=_0x4ecf2a,this['_localUser']=_0x9401aa,this[_0x219f('0x11')]=_0x412aa6,this[_0x219f('0x3')]=new _0xf90091(_0x548a0a,_0x4ecf2a,Object[_0x219f('0x1c')]({'CommentView':this[_0x219f('0x11')]['CommentView']},_0x412aa6)),this['commentsListView'][_0x219f('0xe')](_0x219f('0x15'))['to'](this),this['commentsListView'][_0x219f('0xe')](_0x219f('0x9'))['to'](this),this['commentsListView']['bind']('isActive')['to'](this),this[_0x219f('0xa')](_0x219f('0xf'),this[_0x219f('0x3')][_0x219f('0xf')]),this['bind']('length')['to'](this['commentsListView'],_0x219f('0xf')),this[_0x219f('0x18')]=this['_createCommentThreadInputView'](),this['on'](_0x219f('0x15'),()=>this[_0x219f('0xb')]()),this['bind'](_0x219f('0x0'))['to'](this[_0x219f('0x3')],_0x219f('0x5'),this[_0x219f('0x18')][_0x219f('0x4')],_0x219f('0x1'),(_0x549a2d,_0x189716)=>_0x549a2d||!!_0x189716);}[_0x219f('0xb')](){this[_0x219f('0x19')][_0x219f('0xb')]();}['destroy'](){this[_0x219f('0x0')]=!0x1,this[_0x219f('0x3')][_0x219f('0x2')](),this[_0x219f('0x18')]['destroy'](),super['destroy']();}[_0x219f('0x14')](){const _0x5aa0dd=new _0xf6a50(this[_0x219f('0xc')],this['_localUser'],this[_0x219f('0x11')][_0x219f('0x1b')]),_0x38997f=_0x5aa0dd['commentInputView'];return _0x5aa0dd[_0x219f('0xd')]('showInput')['to'](this,'isActive',this[_0x219f('0x10')],'isReadOnly',_0x38997f,_0x219f('0x1'),(_0x5f29b6,_0x1fead8,_0x5707ac)=>!!_0x5707ac||_0x5f29b6&&!_0x1fead8),_0x38997f[_0x219f('0xd')](_0x219f('0x8'))['to'](this,_0x219f('0xf'),_0xcd29cf=>_0x2643f3(this[_0x219f('0xc')],_0xcd29cf?'Reply...':_0x219f('0x16'))),_0x38997f['on']('submit',(_0x32ae3a,_0x40ecfe)=>{this[_0x219f('0x17')](_0x219f('0x6'),_0x40ecfe);}),_0x38997f['on'](_0x219f('0x12'),()=>{this[_0x219f('0xb')]();}),_0x38997f[_0x219f('0xd')](_0x219f('0x13'))['to'](this[_0x219f('0x10')],_0x219f('0x1a')),_0x38997f['on']('cancel',_0x3dbfe0=>{0x0==this[_0x219f('0xf')]&&(this['fire'](_0x219f('0x7')),_0x3dbfe0['stop']());}),this['on']('change:isActive',(_0xa2bd41,_0x15daeb,_0x4d3a93)=>{_0x4d3a93||this[_0x219f('0xf')]||_0x38997f[_0x219f('0x1')]||this['fire'](_0x219f('0x7'));}),_0x5aa0dd;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2064=['expand','isReadOnly','_config','remove','collapse','cancel','add','locale','initialData','set','createCollection','fire','_createCommentInputView','get','isCollapsed','isEditMode','focus','value','destroy','content','editorConfig','disabledSubmit','_model','switchToDisplayMode','switchToEditMode','once','_createCommentContentView','element','bind','visibleView'];(function(_0x46bfaa,_0x2064a0){const _0x26239c=function(_0x4022f2){while(--_0x4022f2){_0x46bfaa['push'](_0x46bfaa['shift']());}};_0x26239c(++_0x2064a0);}(_0x2064,0x18d));const _0x2623=function(_0x46bfaa,_0x2064a0){_0x46bfaa=_0x46bfaa-0x0;let _0x26239c=_0x2064[_0x46bfaa];return _0x26239c;};import{View as _0x22ba89}from'ckeditor5/src/ui';import{trimHtml as _0x559483}from'ckeditor5-collaboration/src/collaboration-core';import _0x29bf3f from'./commentcontentview';import _0x56ce6f from'./commentinputview';export default class Vt extends _0x22ba89{constructor(_0x116616,_0x5b3cd2,_0x141577){super(_0x116616),this['_model']=_0x5b3cd2,this['_config']=_0x141577,this[_0x2623('0x2')](_0x2623('0x8'),!0x1),this[_0x2623('0x2')](_0x2623('0x7'),!0x0),this['visibleView']=this[_0x2623('0x3')](),this['visibleView'][_0x2623('0x1d')](this['_createCommentContentView']());}[_0x2623('0x17')](){this[_0x2623('0x7')]=!0x1;}[_0x2623('0x1b')](){this[_0x2623('0x8')]||(this[_0x2623('0x7')]=!0x0);}['focus'](){this[_0x2623('0x14')][_0x2623('0x9')]();}async[_0x2623('0xb')](){await this[_0x2623('0x16')][_0x2623('0x6')](0x0)[_0x2623('0xb')](),super[_0x2623('0xb')]();}[_0x2623('0x11')](){this[_0x2623('0x8')]||(this[_0x2623('0x8')]=!0x0,this[_0x2623('0x16')][_0x2623('0x1a')](0x0)[_0x2623('0xb')](),this[_0x2623('0x16')]['add'](this[_0x2623('0x5')]()));}['switchToDisplayMode'](){this['isEditMode']&&(this[_0x2623('0x8')]=!0x1,this[_0x2623('0x16')][_0x2623('0x1a')](0x0)[_0x2623('0xb')](),this[_0x2623('0x16')][_0x2623('0x1d')](this[_0x2623('0x13')]()));}[_0x2623('0x13')](){const _0x2fd517=new _0x29bf3f(this[_0x2623('0x0')]);return _0x2fd517[_0x2623('0x15')](_0x2623('0xc'))['to'](this[_0x2623('0xf')],_0x2623('0xc'),this,_0x2623('0x7'),(_0x1f12bf,_0x20123b)=>_0x20123b?_0x559483(_0x1f12bf,{'limit':this[_0x2623('0x19')]['maxCommentCharsWhenCollapsed']}):_0x1f12bf),_0x2fd517;}['_createCommentInputView'](){this[_0x2623('0x19')]['editorConfig']||(this['_config']['editorConfig']={}),this[_0x2623('0x19')][_0x2623('0xd')][_0x2623('0x1')]=this['_model'][_0x2623('0xc')];const _0x3b920a=new _0x56ce6f(this[_0x2623('0x0')],this['_config'][_0x2623('0xd')]);return _0x3b920a[_0x2623('0xa')]=this[_0x2623('0xf')]['content'],_0x3b920a[_0x2623('0x15')](_0x2623('0xe'))['to'](this['_model'],_0x2623('0x18')),_0x3b920a['on']('submit',(_0x2a59f1,_0x1c3f82)=>{this[_0x2623('0x4')]('updateComment',this[_0x2623('0xf')]['id'],_0x1c3f82),this[_0x2623('0x10')](),this[_0x2623('0x9')]();}),_0x3b920a['on'](_0x2623('0x1c'),()=>{this[_0x2623('0x10')](),this[_0x2623('0x9')]();}),_0x3b920a[_0x2623('0x12')]('editorReady',()=>{_0x3b920a[_0x2623('0x9')]();}),_0x3b920a;}}
23
+ const _0x187b=['set','destroy','focus','switchToEditMode','_createCommentContentView','isCollapsed','fire','updateComment','expand','collapse','disabledSubmit','createCollection','editorConfig','visibleView','cancel','isEditMode','_config','isReadOnly','switchToDisplayMode','element','content','maxCommentCharsWhenCollapsed','add','get','remove','_createCommentInputView','bind','_model','locale'];(function(_0x1af3a3,_0x187b51){const _0x3b5a02=function(_0xdcd934){while(--_0xdcd934){_0x1af3a3['push'](_0x1af3a3['shift']());}};_0x3b5a02(++_0x187b51);}(_0x187b,0xd5));const _0x3b5a=function(_0x1af3a3,_0x187b51){_0x1af3a3=_0x1af3a3-0x0;let _0x3b5a02=_0x187b[_0x1af3a3];return _0x3b5a02;};import{View as _0x1e16d4}from'ckeditor5/src/ui';import{trimHtml as _0x4ee5bb}from'ckeditor5-collaboration/src/collaboration-core';import _0x51e952 from'./commentcontentview';import _0x3e9c35 from'./commentinputview';export default class Vt extends _0x1e16d4{constructor(_0xcd709,_0x4c098d,_0x22b39e){super(_0xcd709),this['_model']=_0x4c098d,this['_config']=_0x22b39e,this[_0x3b5a('0x13')](_0x3b5a('0x5'),!0x1),this[_0x3b5a('0x13')]('isCollapsed',!0x0),this[_0x3b5a('0x3')]=this[_0x3b5a('0x1')](),this[_0x3b5a('0x3')]['add'](this[_0x3b5a('0x17')]());}[_0x3b5a('0x1b')](){this[_0x3b5a('0x18')]=!0x1;}[_0x3b5a('0x1c')](){this['isEditMode']||(this['isCollapsed']=!0x0);}['focus'](){this[_0x3b5a('0x9')][_0x3b5a('0x15')]();}async[_0x3b5a('0x14')](){await this[_0x3b5a('0x3')][_0x3b5a('0xd')](0x0)['destroy'](),super['destroy']();}[_0x3b5a('0x16')](){this['isEditMode']||(this['isEditMode']=!0x0,this[_0x3b5a('0x3')][_0x3b5a('0xe')](0x0)[_0x3b5a('0x14')](),this[_0x3b5a('0x3')][_0x3b5a('0xc')](this['_createCommentInputView']()));}[_0x3b5a('0x8')](){this['isEditMode']&&(this[_0x3b5a('0x5')]=!0x1,this[_0x3b5a('0x3')][_0x3b5a('0xe')](0x0)[_0x3b5a('0x14')](),this[_0x3b5a('0x3')][_0x3b5a('0xc')](this['_createCommentContentView']()));}[_0x3b5a('0x17')](){const _0xe554bb=new _0x51e952(this[_0x3b5a('0x12')]);return _0xe554bb[_0x3b5a('0x10')](_0x3b5a('0xa'))['to'](this['_model'],_0x3b5a('0xa'),this,_0x3b5a('0x18'),(_0x132069,_0x3fd1c5)=>_0x3fd1c5?_0x4ee5bb(_0x132069,{'limit':this['_config'][_0x3b5a('0xb')]}):_0x132069),_0xe554bb;}[_0x3b5a('0xf')](){this['_config'][_0x3b5a('0x2')]||(this[_0x3b5a('0x6')][_0x3b5a('0x2')]={}),this[_0x3b5a('0x6')][_0x3b5a('0x2')]['initialData']=this['_model']['content'];const _0x929819=new _0x3e9c35(this[_0x3b5a('0x12')],this[_0x3b5a('0x6')][_0x3b5a('0x2')]);return _0x929819['value']=this[_0x3b5a('0x11')][_0x3b5a('0xa')],_0x929819['bind'](_0x3b5a('0x0'))['to'](this[_0x3b5a('0x11')],_0x3b5a('0x7')),_0x929819['on']('submit',(_0x5910e0,_0x508348)=>{this[_0x3b5a('0x19')](_0x3b5a('0x1a'),this[_0x3b5a('0x11')]['id'],_0x508348),this[_0x3b5a('0x8')](),this[_0x3b5a('0x15')]();}),_0x929819['on'](_0x3b5a('0x4'),()=>{this['switchToDisplayMode'](),this[_0x3b5a('0x15')]();}),_0x929819['once']('editorReady',()=>{_0x929819[_0x3b5a('0x15')]();}),_0x929819;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a7b=['count','NUMBER_OF_COMMENTS','set','ck-thread__comment-count','bindTemplate'];(function(_0x357c6f,_0x4a7b04){const _0x13f266=function(_0x13e37d){while(--_0x13e37d){_0x357c6f['push'](_0x357c6f['shift']());}};_0x13f266(++_0x4a7b04);}(_0x4a7b,0x144));const _0x13f2=function(_0x357c6f,_0x4a7b04){_0x357c6f=_0x357c6f-0x0;let _0x13f266=_0x4a7b[_0x357c6f];return _0x13f266;};import{View as _0x48b7c4}from'ckeditor5/src/ui';import{getTranslation as _0x3872c8}from'../../../utils/common-translations';export default class Nt extends _0x48b7c4{constructor(_0x11b784){super(_0x11b784);const _0x1c9e50=this[_0x13f2('0x0')];this[_0x13f2('0x3')]('count'),this['setTemplate']({'tag':'li','attributes':{'class':_0x13f2('0x4')},'children':[{'text':_0x1c9e50['to'](_0x13f2('0x1'),_0x18da5a=>_0x3872c8(_0x11b784,_0x13f2('0x2'),_0x18da5a))}]});}}
23
+ const _0x37ce=['count','bindTemplate','set','NUMBER_OF_COMMENTS','setTemplate'];(function(_0x527749,_0x37ce6d){const _0x496f08=function(_0x35fbe9){while(--_0x35fbe9){_0x527749['push'](_0x527749['shift']());}};_0x496f08(++_0x37ce6d);}(_0x37ce,0x1be));const _0x496f=function(_0x527749,_0x37ce6d){_0x527749=_0x527749-0x0;let _0x496f08=_0x37ce[_0x527749];return _0x496f08;};import{View as _0x3dc128}from'ckeditor5/src/ui';import{getTranslation as _0x4e11c9}from'../../../utils/common-translations';export default class Nt extends _0x3dc128{constructor(_0xa424e9){super(_0xa424e9);const _0x34a2d9=this[_0x496f('0x0')];this[_0x496f('0x1')]('count'),this[_0x496f('0x3')]({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x34a2d9['to'](_0x496f('0x4'),_0x322f92=>_0x4e11c9(_0xa424e9,_0x496f('0x2'),_0x322f92))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3e7e=['change:content','element','set','content','innerHTML','setTemplate','render'];(function(_0x30295d,_0x3e7e83){var _0x224746=function(_0x4f6d55){while(--_0x4f6d55){_0x30295d['push'](_0x30295d['shift']());}};_0x224746(++_0x3e7e83);}(_0x3e7e,0x12e));var _0x2247=function(_0x30295d,_0x3e7e83){_0x30295d=_0x30295d-0x0;var _0x224746=_0x3e7e[_0x30295d];return _0x224746;};import{View as _0x2eb74f}from'ckeditor5/src/ui';export default class Et extends _0x2eb74f{constructor(_0x1df4c4){super(_0x1df4c4),this[_0x2247('0x1')](_0x2247('0x2'),''),this[_0x2247('0x4')]({'tag':'div','attributes':{'class':['ck-comment__content','ck-annotation__content']}});}[_0x2247('0x5')](){super[_0x2247('0x5')](),this['on'](_0x2247('0x6'),(_0x798ef8,_0xd85185,_0x5ceff0)=>{this[_0x2247('0x0')][_0x2247('0x3')]=_0x5ceff0;}),this[_0x2247('0x0')][_0x2247('0x3')]=this[_0x2247('0x2')];}}
23
+ var _0x1f83=['setTemplate','innerHTML','render','element','content','div','ck-annotation__content','change:content','ck-comment__content'];(function(_0x404cda,_0x1f8328){var _0x4e6cca=function(_0x2d86f8){while(--_0x2d86f8){_0x404cda['push'](_0x404cda['shift']());}};_0x4e6cca(++_0x1f8328);}(_0x1f83,0x172));var _0x4e6c=function(_0x404cda,_0x1f8328){_0x404cda=_0x404cda-0x0;var _0x4e6cca=_0x1f83[_0x404cda];return _0x4e6cca;};import{View as _0x1fd5ce}from'ckeditor5/src/ui';export default class Et extends _0x1fd5ce{constructor(_0x5a49ae){super(_0x5a49ae),this['set'](_0x4e6c('0x3'),''),this[_0x4e6c('0x8')]({'tag':_0x4e6c('0x4'),'attributes':{'class':[_0x4e6c('0x7'),_0x4e6c('0x5')]}});}[_0x4e6c('0x1')](){super['render'](),this['on'](_0x4e6c('0x6'),(_0x222938,_0x1ece2a,_0x1987ff)=>{this['element']['innerHTML']=_0x1987ff;}),this[_0x4e6c('0x2')][_0x4e6c('0x0')]=this[_0x4e6c('0x3')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x48c3=['then','Esc','ck-comment__input-actions--active','focusNext','element','submit','focus','set','getData','stop','ck-comment__input-actions--submit','execute','_initializeFocusCycling','add','destroy','insertBefore','listenTo','length','editorReady','label','showButtons','render','Submit','isRendered','shift\x20+\x20tab','icon','high','value','setData','editor','_createCancelButton','bindTemplate','low','Cancel','cancelButtonView','document','placeholder','view','tab','keystrokes','create','ck-comment__input-actions','forEach','extendTemplate','_isDestroyed','focusTracker','model','submitButtonView','bind','isEnabled','_editorCreationPromise','cancel','_createSubmitButton','disabledSubmit','setTemplate','trim','fire','ck-comment__input-wrapper','initialData'];(function(_0x264aa7,_0x48c3cf){const _0x540d3c=function(_0x25df4d){while(--_0x25df4d){_0x264aa7['push'](_0x264aa7['shift']());}};_0x540d3c(++_0x48c3cf);}(_0x48c3,0x104));const _0x540d=function(_0x264aa7,_0x48c3cf){_0x264aa7=_0x264aa7-0x0;let _0x540d3c=_0x48c3[_0x264aa7];return _0x540d3c;};import{View as _0x3e3c67,ViewCollection as _0x295c6f,FocusCycler as _0x4fc349,ButtonView as _0x441265}from'ckeditor5/src/ui';import{FocusTracker as _0x216167,KeystrokeHandler as _0x36a015}from'ckeditor5/src/utils';import{icons as _0x53a767}from'ckeditor5/src/core';import _0x30a9e6 from'../commenteditor/commenteditor';import{getTranslation as _0x47c37e}from'../../../utils/common-translations';export default class Tt extends _0x3e3c67{constructor(_0x29fb02,_0x1be684={}){super(_0x29fb02),this[_0x540d('0x5')]=new _0x30a9e6(_0x1be684),this[_0x540d('0xf')]=new _0x36a015(),this[_0x540d('0x15')]=new _0x216167(),this[_0x540d('0x2a')]('value',_0x1be684[_0x540d('0x22')]||''),this[_0x540d('0x2a')](_0x540d('0x1d'),!0x1),this['set']('showButtons',!0x0),this[_0x540d('0x2a')]('placeholder',_0x47c37e(_0x29fb02,'Reply...')),this[_0x540d('0x17')]=this[_0x540d('0x1c')](),this[_0x540d('0xa')]=this[_0x540d('0x6')](),this[_0x540d('0x1e')]({'tag':'div','attributes':{'class':[_0x540d('0x21')]},'children':[{'tag':'div','attributes':{'class':[_0x540d('0x11'),this[_0x540d('0x7')]['if'](_0x540d('0x37'),_0x540d('0x25'))]},'children':[this['submitButtonView'],this['cancelButtonView']]}]}),this['keystrokes'][_0x540d('0x2a')](_0x540d('0x24'),(_0x2ff139,_0x4a10a0)=>{this['cancelButtonView']['fire']('execute'),_0x4a10a0();}),this['on'](_0x540d('0x28'),(_0xdb326f,_0x34f632)=>{_0x34f632[_0x540d('0x34')]>0xfde8?(alert(_0x47c37e(_0x29fb02,'TOO_LONG_COMMENT_ALERT',[_0x34f632['length'],0xfde8])),_0xdb326f[_0x540d('0x2c')]()):this[_0x540d('0x5')][_0x540d('0x4')]('');},{'priority':_0x540d('0x2')});}[_0x540d('0x38')](){super[_0x540d('0x38')]();const {editor:_0x2968c9,element:_0x590b37}=this;this[_0x540d('0xf')][_0x540d('0x33')](_0x590b37),this['focusTracker'][_0x540d('0x30')](_0x590b37),this[_0x540d('0x1a')]=_0x2968c9[_0x540d('0x10')]()[_0x540d('0x23')](()=>{_0x590b37[_0x540d('0x32')](_0x2968c9['ui'][_0x540d('0x27')],_0x590b37['firstChild']),_0x2968c9[_0x540d('0x16')][_0x540d('0xb')]['on']('change',()=>this[_0x540d('0x3')]=_0x2968c9[_0x540d('0x2b')]()),_0x2968c9['bind'](_0x540d('0xc'))['to'](this),this['_initializeFocusCycling'](_0x2968c9),this[_0x540d('0x20')](_0x540d('0x35'));});}[_0x540d('0x29')](){this[_0x540d('0x5')]['focus']();}async[_0x540d('0x31')](){this[_0x540d('0x14')]||(this['_isDestroyed']=!0x0,this[_0x540d('0x3a')]&&(await this['_editorCreationPromise'],await this['editor'][_0x540d('0x31')]()),await super['destroy']());}[_0x540d('0x1c')](){const {locale:_0x4ee1fa}=this,_0x19a7a9=new _0x441265(_0x4ee1fa);return _0x19a7a9[_0x540d('0x13')]({'attributes':{'class':[_0x540d('0x2d')]}}),_0x19a7a9[_0x540d('0x36')]=_0x47c37e(_0x4ee1fa,_0x540d('0x39')),_0x19a7a9['icon']=_0x53a767['check'],_0x19a7a9['on'](_0x540d('0x2e'),()=>{this['fire'](_0x540d('0x28'),this[_0x540d('0x3')]);}),_0x19a7a9[_0x540d('0x18')](_0x540d('0x19'))['to'](this,_0x540d('0x3'),this,'disabledSubmit',(_0x457fce,_0x41e030)=>!_0x41e030&&!!_0x457fce[_0x540d('0x1f')]()),_0x19a7a9;}[_0x540d('0x6')](){const {locale:_0x556e35}=this,_0x84ac28=new _0x441265(_0x556e35);return _0x84ac28[_0x540d('0x13')]({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x84ac28['label']=_0x47c37e(_0x556e35,_0x540d('0x9')),_0x84ac28[_0x540d('0x1')]=_0x53a767[_0x540d('0x1b')],_0x84ac28['on'](_0x540d('0x2e'),()=>{this[_0x540d('0x5')][_0x540d('0x4')](''),this['fire'](_0x540d('0x1b'));}),_0x84ac28;}[_0x540d('0x2f')](_0x361965){const _0xaee5e8=this[_0x540d('0x15')],_0x39f65a=new _0x295c6f();[_0x361965['ui'][_0x540d('0xd')],this[_0x540d('0x17')],this[_0x540d('0xa')]][_0x540d('0x12')](_0x52f70d=>{_0x39f65a[_0x540d('0x30')](_0x52f70d),_0xaee5e8['add'](_0x52f70d[_0x540d('0x27')]);});const _0x21546b=new _0x4fc349({'focusables':_0x39f65a,'focusTracker':_0xaee5e8});this['keystrokes']['set'](_0x540d('0xe'),(_0x2aa0af,_0x38ea73)=>{_0x21546b[_0x540d('0x26')](),_0x38ea73();},{'priority':'low'}),this[_0x540d('0xf')][_0x540d('0x2a')](_0x540d('0x0'),(_0xcbce43,_0x3ecf49)=>{_0x21546b['focusPrevious'](),_0x3ecf49();},{'priority':_0x540d('0x8')});}}
23
+ const _0x2374=['destroy','isRendered','then','Esc','_createCancelButton','placeholder','submitButtonView','add','execute','initialData','Cancel','focusNext','length','_createSubmitButton','focusTracker','document','cancel','extendTemplate','check','editor','ck-comment__input-actions--cancel','disabledSubmit','_editorCreationPromise','ck-comment__input-actions','cancelButtonView','render','label','low','TOO_LONG_COMMENT_ALERT','set','model','editorReady','fire','change','value','forEach','submit','high','_isDestroyed','ck-comment__input-actions--submit','tab','div','setData','ck-comment__input-actions--active','showButtons','trim','_initializeFocusCycling','ck-comment__input-wrapper','focus','isEnabled','create','keystrokes','element','icon'];(function(_0x1c9cf1,_0x237435){const _0x496473=function(_0x4bf6d1){while(--_0x4bf6d1){_0x1c9cf1['push'](_0x1c9cf1['shift']());}};_0x496473(++_0x237435);}(_0x2374,0xdc));const _0x4964=function(_0x1c9cf1,_0x237435){_0x1c9cf1=_0x1c9cf1-0x0;let _0x496473=_0x2374[_0x1c9cf1];return _0x496473;};import{View as _0x5e2e9c,ViewCollection as _0x68382d,FocusCycler as _0x20c00f,ButtonView as _0x530002}from'ckeditor5/src/ui';import{FocusTracker as _0xae1f08,KeystrokeHandler as _0x28aa6a}from'ckeditor5/src/utils';import{icons as _0x572d18}from'ckeditor5/src/core';import _0x154a51 from'../commenteditor/commenteditor';import{getTranslation as _0xdaf540}from'../../../utils/common-translations';export default class Tt extends _0x5e2e9c{constructor(_0x51fab9,_0x188404={}){super(_0x51fab9),this[_0x4964('0xf')]=new _0x154a51(_0x188404),this[_0x4964('0x2f')]=new _0x28aa6a(),this[_0x4964('0xa')]=new _0xae1f08(),this[_0x4964('0x19')](_0x4964('0x1e'),_0x188404[_0x4964('0x5')]||''),this[_0x4964('0x19')](_0x4964('0x11'),!0x1),this[_0x4964('0x19')](_0x4964('0x28'),!0x0),this[_0x4964('0x19')](_0x4964('0x1'),_0xdaf540(_0x51fab9,'Reply...')),this[_0x4964('0x2')]=this[_0x4964('0x9')](),this['cancelButtonView']=this['_createCancelButton'](),this['setTemplate']({'tag':_0x4964('0x25'),'attributes':{'class':[_0x4964('0x2b')]},'children':[{'tag':_0x4964('0x25'),'attributes':{'class':[_0x4964('0x13'),this['bindTemplate']['if'](_0x4964('0x28'),_0x4964('0x27'))]},'children':[this[_0x4964('0x2')],this[_0x4964('0x14')]]}]}),this['keystrokes']['set'](_0x4964('0x35'),(_0x2bbd2d,_0x30de57)=>{this[_0x4964('0x14')]['fire'](_0x4964('0x4')),_0x30de57();}),this['on'](_0x4964('0x20'),(_0x72626d,_0x320e29)=>{_0x320e29[_0x4964('0x8')]>0xfde8?(alert(_0xdaf540(_0x51fab9,_0x4964('0x18'),[_0x320e29['length'],0xfde8])),_0x72626d['stop']()):this[_0x4964('0xf')][_0x4964('0x26')]('');},{'priority':_0x4964('0x21')});}[_0x4964('0x15')](){super[_0x4964('0x15')]();const {editor:_0x1df653,element:_0xa634e7}=this;this[_0x4964('0x2f')]['listenTo'](_0xa634e7),this['focusTracker'][_0x4964('0x3')](_0xa634e7),this[_0x4964('0x12')]=_0x1df653[_0x4964('0x2e')]()[_0x4964('0x34')](()=>{_0xa634e7['insertBefore'](_0x1df653['ui'][_0x4964('0x30')],_0xa634e7['firstChild']),_0x1df653[_0x4964('0x1a')][_0x4964('0xb')]['on'](_0x4964('0x1d'),()=>this[_0x4964('0x1e')]=_0x1df653['getData']()),_0x1df653['bind'](_0x4964('0x1'))['to'](this),this[_0x4964('0x2a')](_0x1df653),this['fire'](_0x4964('0x1b'));});}[_0x4964('0x2c')](){this[_0x4964('0xf')][_0x4964('0x2c')]();}async[_0x4964('0x32')](){this[_0x4964('0x22')]||(this['_isDestroyed']=!0x0,this[_0x4964('0x33')]&&(await this[_0x4964('0x12')],await this['editor'][_0x4964('0x32')]()),await super['destroy']());}[_0x4964('0x9')](){const {locale:_0x3ac043}=this,_0x397716=new _0x530002(_0x3ac043);return _0x397716['extendTemplate']({'attributes':{'class':[_0x4964('0x23')]}}),_0x397716[_0x4964('0x16')]=_0xdaf540(_0x3ac043,'Submit'),_0x397716[_0x4964('0x31')]=_0x572d18[_0x4964('0xe')],_0x397716['on']('execute',()=>{this[_0x4964('0x1c')]('submit',this[_0x4964('0x1e')]);}),_0x397716['bind'](_0x4964('0x2d'))['to'](this,_0x4964('0x1e'),this,_0x4964('0x11'),(_0x3b3c37,_0x4241dd)=>!_0x4241dd&&!!_0x3b3c37[_0x4964('0x29')]()),_0x397716;}[_0x4964('0x0')](){const {locale:_0x35639b}=this,_0x1f8d35=new _0x530002(_0x35639b);return _0x1f8d35[_0x4964('0xd')]({'attributes':{'class':[_0x4964('0x10')]}}),_0x1f8d35[_0x4964('0x16')]=_0xdaf540(_0x35639b,_0x4964('0x6')),_0x1f8d35[_0x4964('0x31')]=_0x572d18['cancel'],_0x1f8d35['on'](_0x4964('0x4'),()=>{this[_0x4964('0xf')][_0x4964('0x26')](''),this[_0x4964('0x1c')](_0x4964('0xc'));}),_0x1f8d35;}['_initializeFocusCycling'](_0x390314){const _0x3eeffc=this[_0x4964('0xa')],_0x58abd2=new _0x68382d();[_0x390314['ui']['view'],this[_0x4964('0x2')],this[_0x4964('0x14')]][_0x4964('0x1f')](_0x3e725d=>{_0x58abd2[_0x4964('0x3')](_0x3e725d),_0x3eeffc['add'](_0x3e725d['element']);});const _0x4e9a38=new _0x20c00f({'focusables':_0x58abd2,'focusTracker':_0x3eeffc});this['keystrokes'][_0x4964('0x19')](_0x4964('0x24'),(_0x3366a9,_0x16a7f7)=>{_0x4e9a38[_0x4964('0x7')](),_0x16a7f7();},{'priority':'low'}),this[_0x4964('0x2f')][_0x4964('0x19')]('shift\x20+\x20tab',(_0xeaecb2,_0x5e4e13)=>{_0x4e9a38['focusPrevious'](),_0x5e4e13();},{'priority':_0x4964('0x17')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x321e=['delegate','destroy','_collapsedCommentsView','visibleViews','_shouldCollapse','comments','insert','element','focus','get','refreshVisibleViews','expand','updateComment','setTemplate','length','_model','remove','bind','hasDirtyComment','editorConfig','weight','change:hasDirtyComment','commentUpdated','_handleRemoveCommentModel','change:isActive','some','set','render','_rearrangeExpand','isActive','isEditMode','maxCommentCharsWhenCollapsed','createCollection','from','commentViews','_handleNewCommentModel','removeComment','count','_rearrangeCollapse','CommentView','equal','_updateHasDirtyComment','stopListening','collapse','ck-thread__comments','maxThreadTotalWeight','delete','add','locale','maxCommentsWhenCollapsed','listenTo','_config'];(function(_0x4485db,_0x321ee6){const _0x1c6cbf=function(_0x3b2c2f){while(--_0x3b2c2f){_0x4485db['push'](_0x4485db['shift']());}};_0x1c6cbf(++_0x321ee6);}(_0x321e,0x184));const _0x1c6c=function(_0x4485db,_0x321ee6){_0x4485db=_0x4485db-0x0;let _0x1c6cbf=_0x321e[_0x4485db];return _0x1c6cbf;};import{View as _0x1343fa}from'ckeditor5/src/ui';import{diff as _0x489d39,Collection as _0x3ed35d}from'ckeditor5/src/utils';import _0x37af3f from'./collapsedcommentsview';export default class ct extends _0x1343fa{constructor(_0x4e35cb,_0x1874b0,_0x48e48f){super(_0x4e35cb),this[_0x1c6c('0x2')](_0x1c6c('0x2e'),!0x1),this[_0x1c6c('0x2')]('length',_0x1874b0['comments'][_0x1c6c('0x2a')]),this[_0x1c6c('0x2')](_0x1c6c('0x5'),!0x1),this[_0x1c6c('0x2b')]=_0x1874b0,this[_0x1c6c('0x1b')]=_0x48e48f,this[_0x1c6c('0xa')]=this[_0x1c6c('0x8')](),this['visibleViews']=this[_0x1c6c('0x8')](),this['_collapsedCommentsView']=new _0x37af3f(_0x4e35cb),this[_0x1c6c('0x1e')][_0x1c6c('0x2d')](_0x1c6c('0xd'))['to'](this,'length',_0x178af4=>_0x178af4-this['_config'][_0x1c6c('0x19')]);for(const _0x1ee953 of _0x1874b0[_0x1c6c('0x21')])this[_0x1c6c('0xb')](_0x1ee953);this[_0x1c6c('0x1a')](_0x1874b0[_0x1c6c('0x21')],_0x1c6c('0x17'),(_0x37c1db,_0x4a56f9)=>{this['length']++,this[_0x1c6c('0xb')](_0x4a56f9),this[_0x1c6c('0x26')]();}),this['listenTo'](_0x1874b0['comments'],'remove',(_0xbb140c,_0x5cd63f)=>{this['length']--,this[_0x1c6c('0x33')](_0x5cd63f),this[_0x1c6c('0x26')]();}),this['listenTo'](_0x1874b0,_0x1c6c('0x32'),()=>this[_0x1c6c('0x26')]()),this['on'](_0x1c6c('0x0'),()=>this[_0x1c6c('0x26')]()),this['on'](_0x1c6c('0x31'),()=>this[_0x1c6c('0x26')]()),this[_0x1c6c('0x29')]({'tag':'ul','attributes':{'class':[_0x1c6c('0x14')]},'children':this['visibleViews']});}get[_0x1c6c('0x20')](){return this['_model'][_0x1c6c('0x30')]>this[_0x1c6c('0x1b')][_0x1c6c('0x15')]&&!this['isActive']&&!this[_0x1c6c('0x2e')];}['render'](){super[_0x1c6c('0x3')](),this['refreshVisibleViews']();}[_0x1c6c('0x24')](){this[_0x1c6c('0x23')][_0x1c6c('0x24')]();}['destroy'](){this[_0x1c6c('0x1e')][_0x1c6c('0x1d')]();for(const _0x18e9c9 of this[_0x1c6c('0xa')])_0x18e9c9['destroy']();super[_0x1c6c('0x1d')]();}['refreshVisibleViews'](){this[_0x1c6c('0x20')]?this[_0x1c6c('0xe')]():this[_0x1c6c('0x4')]();}[_0x1c6c('0xb')](_0x15d5df){const _0x207907=new this[(_0x1c6c('0x1b'))][(_0x1c6c('0xf'))](this[_0x1c6c('0x18')],_0x15d5df,{'maxCommentCharsWhenCollapsed':this['_config'][_0x1c6c('0x7')],'formatDateTime':this[_0x1c6c('0x1b')]['formatDateTime'],'editorConfig':this[_0x1c6c('0x1b')][_0x1c6c('0x2f')]});_0x207907['viewUid']=_0x15d5df['id'],_0x207907[_0x1c6c('0x1c')](_0x1c6c('0xc'))['to'](this),_0x207907[_0x1c6c('0x1c')](_0x1c6c('0x28'))['to'](this),this['listenTo'](_0x207907,'change:isEditMode',()=>this[_0x1c6c('0x11')]()),this[_0x1c6c('0xa')][_0x1c6c('0x17')](_0x207907);}[_0x1c6c('0x33')](_0x1464aa){const _0x39ebdc=this['commentViews'][_0x1c6c('0x2c')](_0x1464aa['id']);this[_0x1c6c('0x12')](_0x39ebdc),_0x39ebdc['isEditMode']&&this['_updateHasDirtyComment'](),_0x39ebdc[_0x1c6c('0x1d')]();}['_updateHasDirtyComment'](){this[_0x1c6c('0x2e')]=Array[_0x1c6c('0x9')](this[_0x1c6c('0xa')])[_0x1c6c('0x1')](_0x52b783=>_0x52b783[_0x1c6c('0x6')]);}['_rearrangeCollapse'](){const _0x9a7dc2=function(_0x3aab70){const _0x3f9b37=new _0x3ed35d();for(const _0xe17787 of _0x3aab70)_0x3f9b37[_0x1c6c('0x17')](_0xe17787);return _0x3f9b37;}(this[_0x1c6c('0xa')]),_0x18a41a=this[_0x1c6c('0x1e')][_0x1c6c('0xd')];for(let _0xdd1a78=0x1;_0xdd1a78<=_0x18a41a;_0xdd1a78++)_0x9a7dc2[_0x1c6c('0x2c')](0x1);for(const _0x34403c of _0x9a7dc2)_0x34403c[_0x1c6c('0x13')]();_0x18a41a>0x0&&_0x9a7dc2['add'](this[_0x1c6c('0x1e')],0x1),Ut(_0x489d39(Array[_0x1c6c('0x9')](this[_0x1c6c('0x1f')]),Array['from'](_0x9a7dc2)),this['visibleViews'],_0x9a7dc2);}[_0x1c6c('0x4')](){Ut(_0x489d39(Array[_0x1c6c('0x9')](this[_0x1c6c('0x1f')]),Array[_0x1c6c('0x9')](this[_0x1c6c('0xa')])),this[_0x1c6c('0x1f')],this['commentViews']);for(const _0xd37af7 of this[_0x1c6c('0x1f')])_0xd37af7[_0x1c6c('0x27')]();}}function Ut(_0x3e680e,_0x257369,_0x270398){let _0xcd467f=0x0;for(const _0x4897cc of _0x3e680e)switch(_0x4897cc){case _0x1c6c('0x22'):_0x257369['add'](_0x270398[_0x1c6c('0x25')](_0xcd467f),_0xcd467f),_0xcd467f++;break;case _0x1c6c('0x16'):_0x257369[_0x1c6c('0x2c')](_0xcd467f);break;case _0x1c6c('0x10'):_0xcd467f++;}}
23
+ const _0x503e=['from','_handleRemoveCommentModel','createCollection','_collapsedCommentsView','editorConfig','focus','maxCommentCharsWhenCollapsed','insert','render','some','collapse','commentViews','hasDirtyComment','CommentView','_shouldCollapse','formatDateTime','maxCommentsWhenCollapsed','equal','destroy','count','_model','listenTo','_rearrangeExpand','bind','remove','_updateHasDirtyComment','isEditMode','refreshVisibleViews','element','delegate','_rearrangeCollapse','updateComment','expand','comments','commentUpdated','change:isEditMode','add','_handleNewCommentModel','_config','visibleViews','weight','set','ck-thread__comments','change:hasDirtyComment','isActive','length'];(function(_0x24782a,_0x503e2b){const _0x459a92=function(_0x3d1dd4){while(--_0x3d1dd4){_0x24782a['push'](_0x24782a['shift']());}};_0x459a92(++_0x503e2b);}(_0x503e,0xfd));const _0x459a=function(_0x24782a,_0x503e2b){_0x24782a=_0x24782a-0x0;let _0x459a92=_0x503e[_0x24782a];return _0x459a92;};import{View as _0x4ab6ab}from'ckeditor5/src/ui';import{diff as _0x172906,Collection as _0xed7a45}from'ckeditor5/src/utils';import _0x52083c from'./collapsedcommentsview';export default class ct extends _0x4ab6ab{constructor(_0x1c5007,_0x4a45b6,_0x9025e6){super(_0x1c5007),this[_0x459a('0x12')](_0x459a('0x23'),!0x1),this[_0x459a('0x12')]('length',_0x4a45b6[_0x459a('0xa')][_0x459a('0x16')]),this[_0x459a('0x12')](_0x459a('0x15'),!0x1),this[_0x459a('0x2b')]=_0x4a45b6,this[_0x459a('0xf')]=_0x9025e6,this[_0x459a('0x22')]=this[_0x459a('0x19')](),this['visibleViews']=this[_0x459a('0x19')](),this[_0x459a('0x1a')]=new _0x52083c(_0x1c5007),this[_0x459a('0x1a')][_0x459a('0x0')](_0x459a('0x2a'))['to'](this,_0x459a('0x16'),_0x391913=>_0x391913-this[_0x459a('0xf')][_0x459a('0x27')]);for(const _0x42faf7 of _0x4a45b6[_0x459a('0xa')])this[_0x459a('0xe')](_0x42faf7);this['listenTo'](_0x4a45b6[_0x459a('0xa')],_0x459a('0xd'),(_0x570efd,_0x40dab)=>{this[_0x459a('0x16')]++,this[_0x459a('0xe')](_0x40dab),this[_0x459a('0x4')]();}),this[_0x459a('0x2c')](_0x4a45b6[_0x459a('0xa')],'remove',(_0x539373,_0x145ac5)=>{this[_0x459a('0x16')]--,this[_0x459a('0x18')](_0x145ac5),this['refreshVisibleViews']();}),this[_0x459a('0x2c')](_0x4a45b6,_0x459a('0xb'),()=>this[_0x459a('0x4')]()),this['on']('change:isActive',()=>this['refreshVisibleViews']()),this['on'](_0x459a('0x14'),()=>this['refreshVisibleViews']()),this['setTemplate']({'tag':'ul','attributes':{'class':[_0x459a('0x13')]},'children':this[_0x459a('0x10')]});}get[_0x459a('0x25')](){return this[_0x459a('0x2b')][_0x459a('0x11')]>this[_0x459a('0xf')]['maxThreadTotalWeight']&&!this[_0x459a('0x15')]&&!this[_0x459a('0x23')];}[_0x459a('0x1f')](){super[_0x459a('0x1f')](),this[_0x459a('0x4')]();}['focus'](){this[_0x459a('0x5')][_0x459a('0x1c')]();}['destroy'](){this['_collapsedCommentsView']['destroy']();for(const _0x5d5f69 of this[_0x459a('0x22')])_0x5d5f69['destroy']();super['destroy']();}['refreshVisibleViews'](){this['_shouldCollapse']?this[_0x459a('0x7')]():this[_0x459a('0x2d')]();}['_handleNewCommentModel'](_0x1017c7){const _0x443215=new this['_config'][(_0x459a('0x24'))](this['locale'],_0x1017c7,{'maxCommentCharsWhenCollapsed':this['_config'][_0x459a('0x1d')],'formatDateTime':this['_config'][_0x459a('0x26')],'editorConfig':this[_0x459a('0xf')][_0x459a('0x1b')]});_0x443215['viewUid']=_0x1017c7['id'],_0x443215[_0x459a('0x6')]('removeComment')['to'](this),_0x443215['delegate'](_0x459a('0x8'))['to'](this),this[_0x459a('0x2c')](_0x443215,_0x459a('0xc'),()=>this['_updateHasDirtyComment']()),this[_0x459a('0x22')][_0x459a('0xd')](_0x443215);}[_0x459a('0x18')](_0x5f4ea5){const _0x12f594=this[_0x459a('0x22')]['remove'](_0x5f4ea5['id']);this['stopListening'](_0x12f594),_0x12f594[_0x459a('0x3')]&&this['_updateHasDirtyComment'](),_0x12f594[_0x459a('0x29')]();}[_0x459a('0x2')](){this[_0x459a('0x23')]=Array[_0x459a('0x17')](this[_0x459a('0x22')])[_0x459a('0x20')](_0x52e364=>_0x52e364[_0x459a('0x3')]);}[_0x459a('0x7')](){const _0x5c1997=function(_0x3e19dc){const _0x3ed35f=new _0xed7a45();for(const _0x339d17 of _0x3e19dc)_0x3ed35f[_0x459a('0xd')](_0x339d17);return _0x3ed35f;}(this[_0x459a('0x22')]),_0x1e2ef3=this[_0x459a('0x1a')]['count'];for(let _0x2860ee=0x1;_0x2860ee<=_0x1e2ef3;_0x2860ee++)_0x5c1997[_0x459a('0x1')](0x1);for(const _0x3c731d of _0x5c1997)_0x3c731d[_0x459a('0x21')]();_0x1e2ef3>0x0&&_0x5c1997[_0x459a('0xd')](this['_collapsedCommentsView'],0x1),Ut(_0x172906(Array[_0x459a('0x17')](this[_0x459a('0x10')]),Array[_0x459a('0x17')](_0x5c1997)),this[_0x459a('0x10')],_0x5c1997);}[_0x459a('0x2d')](){Ut(_0x172906(Array['from'](this[_0x459a('0x10')]),Array[_0x459a('0x17')](this[_0x459a('0x22')])),this['visibleViews'],this[_0x459a('0x22')]);for(const _0x49b6ec of this[_0x459a('0x10')])_0x49b6ec[_0x459a('0x9')]();}}function Ut(_0x2bb404,_0x217fb2,_0x5790bc){let _0x58c35b=0x0;for(const _0x229447 of _0x2bb404)switch(_0x229447){case _0x459a('0x1e'):_0x217fb2['add'](_0x5790bc['get'](_0x58c35b),_0x58c35b),_0x58c35b++;break;case'delete':_0x217fb2[_0x459a('0x1')](_0x58c35b);break;case _0x459a('0x28'):_0x58c35b++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x55d6=['extendTemplate','then','userView','destroy','value','ck-thread__user','commentInputView','showInput','bindTemplate','focusTracker','ck-comment__input-container','div'];(function(_0x4081b7,_0x55d6a3){var _0x25416a=function(_0x2cb10b){while(--_0x2cb10b){_0x4081b7['push'](_0x4081b7['shift']());}};_0x25416a(++_0x55d6a3);}(_0x55d6,0x173));var _0x2541=function(_0x4081b7,_0x55d6a3){_0x4081b7=_0x4081b7-0x0;var _0x25416a=_0x55d6[_0x4081b7];return _0x25416a;};import{View as _0x3746de}from'ckeditor5/src/ui';import _0x6769f1 from'./commentinputview';import{UserView as _0x11bda0}from'ckeditor5-collaboration/src/collaboration-core';export default class dt extends _0x3746de{constructor(_0x3bec74,_0x2e6c4f,_0xf16805){super(_0x3bec74),this['commentInputView']=new _0x6769f1(_0x3bec74,_0xf16805),this['commentInputView']['bind']('showButtons')['to'](this[_0x2541('0x7')][_0x2541('0xa')],'isFocused',this[_0x2541('0x7')],_0x2541('0x5'),(_0x2d4866,_0x19ddfc)=>_0x2d4866||!!_0x19ddfc),this['set'](_0x2541('0x8'),!0x1),this[_0x2541('0x3')]=new _0x11bda0(_0x3bec74,_0x2e6c4f),this['userView'][_0x2541('0x1')]({'attributes':{'class':_0x2541('0x6')}}),this['commentInputView'][_0x2541('0x1')]({'attributes':{'class':'ck-thread__input'}}),this['setTemplate']({'tag':_0x2541('0x0'),'attributes':{'class':[_0x2541('0xb'),this[_0x2541('0x9')]['if']('showInput','ck-comment__input-container--active')]},'children':[this['userView'],this[_0x2541('0x7')]]});}[_0x2541('0x4')](){return this[_0x2541('0x7')]['destroy']()[_0x2541('0x2')](()=>super[_0x2541('0x4')]());}}
23
+ var _0x4b26=['userView','ck-comment__input-container--active','value','showInput','div','extendTemplate','isFocused','set','bindTemplate','showButtons','bind','focusTracker','then','ck-comment__input-container','commentInputView','destroy','ck-thread__input'];(function(_0x396044,_0x4b2696){var _0x5f0abe=function(_0x11fec8){while(--_0x11fec8){_0x396044['push'](_0x396044['shift']());}};_0x5f0abe(++_0x4b2696);}(_0x4b26,0x155));var _0x5f0a=function(_0x396044,_0x4b2696){_0x396044=_0x396044-0x0;var _0x5f0abe=_0x4b26[_0x396044];return _0x5f0abe;};import{View as _0x8e84a4}from'ckeditor5/src/ui';import _0xc4d33f from'./commentinputview';import{UserView as _0x132842}from'ckeditor5-collaboration/src/collaboration-core';export default class dt extends _0x8e84a4{constructor(_0x54ad32,_0x95e054,_0x3ed4ac){super(_0x54ad32),this[_0x5f0a('0xd')]=new _0xc4d33f(_0x54ad32,_0x3ed4ac),this[_0x5f0a('0xd')][_0x5f0a('0x9')](_0x5f0a('0x8'))['to'](this[_0x5f0a('0xd')][_0x5f0a('0xa')],_0x5f0a('0x5'),this[_0x5f0a('0xd')],_0x5f0a('0x1'),(_0x1aa4d0,_0x15093b)=>_0x1aa4d0||!!_0x15093b),this[_0x5f0a('0x6')](_0x5f0a('0x2'),!0x1),this['userView']=new _0x132842(_0x54ad32,_0x95e054),this['userView'][_0x5f0a('0x4')]({'attributes':{'class':'ck-thread__user'}}),this['commentInputView'][_0x5f0a('0x4')]({'attributes':{'class':_0x5f0a('0xf')}}),this['setTemplate']({'tag':_0x5f0a('0x3'),'attributes':{'class':[_0x5f0a('0xc'),this[_0x5f0a('0x7')]['if'](_0x5f0a('0x2'),_0x5f0a('0x0'))]},'children':[this[_0x5f0a('0x10')],this[_0x5f0a('0xd')]]});}[_0x5f0a('0xe')](){return this[_0x5f0a('0xd')][_0x5f0a('0xe')]()[_0x5f0a('0xb')](()=>super['destroy']());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x123e=['removeCommentThread','ck-thread--active','commentsListView','commentViews','element','getTemplate','remove','execute','containerElement','length','stop','change:isReadOnly','isActive','locale','change:isActive','_cancelAllConfirms','render','ck-thread__container','isConfirm','div','Write\x20a\x20comment...','listenTo','fire','high','get','removeButton','querySelector','actionIndicator','off','bind','_bindFirstCommentView','set','cancelConfirm','_model'];(function(_0x28863a,_0x123e1d){const _0x29490d=function(_0x439070){while(--_0x439070){_0x28863a['push'](_0x28863a['shift']());}};_0x29490d(++_0x123e1d);}(_0x123e,0x10e));const _0x2949=function(_0x28863a,_0x123e1d){_0x28863a=_0x28863a-0x0;let _0x29490d=_0x123e[_0x28863a];return _0x29490d;};import{mix as _0x4b0bd0}from'ckeditor5/src/utils';import{ConfirmMixin as _0x2d1b98}from'ckeditor5-collaboration/src/collaboration-core';import _0xa3a141 from'./basecommentthreadview';import{getTranslation as _0x3ed49a}from'../../../utils/common-translations';export default class nt extends _0xa3a141{constructor(_0x55db0a,_0xebafb0,_0x11e9f6,_0xa77e06){super(_0x55db0a,_0xebafb0,_0x11e9f6,_0xa77e06),this[_0x2949('0x21')](_0x2949('0x1d'),null),this[_0x2949('0xa')]=null,this[_0x2949('0xf')]=_0x55db0a,this['setTemplate'](this[_0x2949('0x7')]()),this['on'](_0x2949('0x10'),(_0x3b2a74,_0x5d0732,_0xda63f3)=>{_0xda63f3||this[_0x2949('0x11')]();}),this[_0x2949('0x17')](this[_0x2949('0x1')],_0x2949('0xd'),(_0x10be9f,_0x4a6934,_0x15ab40)=>{_0x15ab40&&this[_0x2949('0x11')]();}),this[_0x2949('0xb')]>0x0?this[_0x2949('0x20')]():this[_0x2949('0x17')](this['commentsListView'][_0x2949('0x5')],'add',_0x5264b4=>{this[_0x2949('0x20')](),_0x5264b4[_0x2949('0x1e')]();});}[_0x2949('0x7')](){const _0xf72676=this['bindTemplate'];return{'tag':_0x2949('0x15'),'attributes':{'class':['ck-thread',_0xf72676['if'](_0x2949('0xe'),_0x2949('0x3')),_0xf72676['if'](_0x2949('0x14'),'ck-thread--remove-confirmation'),_0xf72676['to'](_0x2949('0x1d'),_0x560ccc=>_0x560ccc?'ck-thread--'+_0x560ccc:'')],'data-thread-id':this[_0x2949('0x1')]['id'],'tabindex':-0x1},'children':[{'tag':_0x2949('0x15'),'attributes':{'class':_0x2949('0x13')},'children':[this[_0x2949('0x4')],this['commentThreadInputView']]}]};}[_0x2949('0x12')](){super[_0x2949('0x12')](),this[_0x2949('0xa')]=this[_0x2949('0x6')][_0x2949('0x1c')]('.ck-thread__container');}['_cancelAllConfirms'](){this['cancelConfirm']();for(const _0x3d771e of this[_0x2949('0x4')][_0x2949('0x5')])_0x3d771e[_0x2949('0x0')]();}['_bindFirstCommentView'](){const {locale:_0x5844ab}=this,_0x35eda0=this[_0x2949('0x4')][_0x2949('0x5')][_0x2949('0x1a')](0x0);this[_0x2949('0x1f')](_0x2949('0x1d'))['to'](_0x35eda0,_0x2949('0x1d'),_0x13d20f=>_0x2949('0x8')===_0x13d20f?_0x2949('0x8'):null),_0x35eda0['placeholder']=_0x3ed49a(_0x5844ab,_0x2949('0x16')),_0x35eda0[_0x2949('0x1b')]['on'](_0x2949('0x9'),_0x20d00f=>{_0x20d00f[_0x2949('0xc')](),this['showConfirm'](_0x3ed49a(_0x5844ab,'Delete\x20comment\x20thread?'),this[_0x2949('0xa')])['then'](()=>{this[_0x2949('0x18')](_0x2949('0x2'));});},{'priority':_0x2949('0x19')});}}_0x4b0bd0(nt,_0x2d1b98);
23
+ const _0xa63e=['element','div','_cancelAllConfirms','actionIndicator','render','set','remove','fire','cancelConfirm','locale','Write\x20a\x20comment...','ck-thread--remove-confirmation','showConfirm','Delete\x20comment\x20thread?','_bindFirstCommentView','off','high','bind','commentViews','stop','removeCommentThread','length','then','commentsListView','listenTo','ck-thread__container','isActive','ck-thread--','_model','containerElement','isConfirm','get','commentThreadInputView','bindTemplate','ck-thread','getTemplate'];(function(_0x2b1b14,_0xa63eaf){const _0x1680dd=function(_0x50553d){while(--_0x50553d){_0x2b1b14['push'](_0x2b1b14['shift']());}};_0x1680dd(++_0xa63eaf);}(_0xa63e,0x119));const _0x1680=function(_0x2b1b14,_0xa63eaf){_0x2b1b14=_0x2b1b14-0x0;let _0x1680dd=_0xa63e[_0x2b1b14];return _0x1680dd;};import{mix as _0x2f255a}from'ckeditor5/src/utils';import{ConfirmMixin as _0x4adcc1}from'ckeditor5-collaboration/src/collaboration-core';import _0x4cafe8 from'./basecommentthreadview';import{getTranslation as _0x4e3f66}from'../../../utils/common-translations';export default class nt extends _0x4cafe8{constructor(_0x2bf4c3,_0xe1699c,_0x34b53c,_0x437029){super(_0x2bf4c3,_0xe1699c,_0x34b53c,_0x437029),this[_0x1680('0xc')](_0x1680('0xa'),null),this[_0x1680('0x0')]=null,this[_0x1680('0x10')]=_0x2bf4c3,this['setTemplate'](this['getTemplate']()),this['on']('change:isActive',(_0x15b2e5,_0x5f1f07,_0x103949)=>{_0x103949||this[_0x1680('0x9')]();}),this['listenTo'](this[_0x1680('0x23')],'change:isReadOnly',(_0x2d78e2,_0x1b8387,_0x35fb35)=>{_0x35fb35&&this[_0x1680('0x9')]();}),this[_0x1680('0x1c')]>0x0?this[_0x1680('0x15')]():this[_0x1680('0x1f')](this['commentsListView'][_0x1680('0x19')],'add',_0x15a018=>{this[_0x1680('0x15')](),_0x15a018[_0x1680('0x16')]();});}[_0x1680('0x6')](){const _0x459cbe=this[_0x1680('0x4')];return{'tag':_0x1680('0x8'),'attributes':{'class':[_0x1680('0x5'),_0x459cbe['if'](_0x1680('0x21'),'ck-thread--active'),_0x459cbe['if'](_0x1680('0x1'),_0x1680('0x12')),_0x459cbe['to']('actionIndicator',_0x5c16cf=>_0x5c16cf?_0x1680('0x22')+_0x5c16cf:'')],'data-thread-id':this[_0x1680('0x23')]['id'],'tabindex':-0x1},'children':[{'tag':_0x1680('0x8'),'attributes':{'class':_0x1680('0x20')},'children':[this[_0x1680('0x1e')],this[_0x1680('0x3')]]}]};}[_0x1680('0xb')](){super[_0x1680('0xb')](),this['containerElement']=this[_0x1680('0x7')]['querySelector']('.ck-thread__container');}[_0x1680('0x9')](){this[_0x1680('0xf')]();for(const _0x2b79a7 of this['commentsListView'][_0x1680('0x19')])_0x2b79a7[_0x1680('0xf')]();}[_0x1680('0x15')](){const {locale:_0x3cff31}=this,_0x2f1171=this[_0x1680('0x1e')][_0x1680('0x19')][_0x1680('0x2')](0x0);this[_0x1680('0x18')](_0x1680('0xa'))['to'](_0x2f1171,_0x1680('0xa'),_0x4bbd59=>_0x1680('0xd')===_0x4bbd59?_0x1680('0xd'):null),_0x2f1171['placeholder']=_0x4e3f66(_0x3cff31,_0x1680('0x11')),_0x2f1171['removeButton']['on']('execute',_0x2f2232=>{_0x2f2232[_0x1680('0x1a')](),this[_0x1680('0x13')](_0x4e3f66(_0x3cff31,_0x1680('0x14')),this[_0x1680('0x0')])[_0x1680('0x1d')](()=>{this[_0x1680('0xe')](_0x1680('0x1b'));});},{'priority':_0x1680('0x17')});}}_0x2f255a(nt,_0x4adcc1);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd9fb=['bind','isReadOnly','isEnabled','change:isRemovable','execute','label','render','isEditable','_createRemoveButton','ck-annotation__actions--hidden','isEditMode','ck-comment__user','locale','ck-annotation','formatDateTime','ck-annotation__content-wrapper','ck-comment__info','visibleView','listenTo','ck-comment--remove-confirmation','createdAt','div','edit','placeholder','ck-comment__actions','cancelConfirm','_attachActions','_createCommentInputView','removeButton','actionIndicator','ck-annotation__user','extendTemplate','icon','span','then','userView','ck-comment--edit','isVisible','set','blur','ck-comment__info-time','Remove','isConfirm','ck-annotation__info','_model','ck-annotation__info-time','editButton','remove','element','Reply...','_config','getTemplate','showConfirm','pencil','bindTemplate','mouseenter','focus','fire','setTemplate','_createEditButton','time'];(function(_0x3d4e2a,_0xd9fbc9){const _0x5552b2=function(_0x3bae59){while(--_0x3bae59){_0x3d4e2a['push'](_0x3d4e2a['shift']());}};_0x5552b2(++_0xd9fbc9);}(_0xd9fb,0x165));const _0x5552=function(_0x3d4e2a,_0xd9fbc9){_0x3d4e2a=_0x3d4e2a-0x0;let _0x5552b2=_0xd9fb[_0x3d4e2a];return _0x5552b2;};import{mix as _0x249466}from'ckeditor5/src/utils';import{ButtonView as _0x3672f4}from'ckeditor5/src/ui';import{icons as _0x5bcefa}from'ckeditor5/src/core';import{UserView as _0x24ee2e,ConfirmMixin as _0x5dc7e9}from'ckeditor5-collaboration/src/collaboration-core';import _0x2322b9 from'./basecommentview';import _0x233841 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x38305f}from'../../../utils/common-translations';export default class ot extends _0x2322b9{constructor(_0x33415c,_0x38b0a8,_0x58c0c9){super(_0x33415c,_0x38b0a8,_0x58c0c9),this['set']('actionIndicator',null),this[_0x5552('0x2f')](_0x5552('0x20'),_0x38305f(_0x33415c,_0x5552('0x3a'))),this['set']('createdAt',null),this[_0x5552('0x9')](_0x5552('0x1d'))['to'](_0x38b0a8),this[_0x5552('0x37')]=this[_0x5552('0x7')](),this['removeButton']=this['_createRemoveButton'](),this[_0x5552('0x2c')]=new _0x24ee2e(_0x33415c,_0x38b0a8['author']),this[_0x5552('0x2c')][_0x5552('0x28')]({'attributes':{'class':[_0x5552('0x14'),_0x5552('0x27')]}}),this[_0x5552('0x1b')](_0x38b0a8,_0x5552('0xc'),()=>this[_0x5552('0x22')]()),this[_0x5552('0x6')](this[_0x5552('0x3c')]());}[_0x5552('0x3c')](){const _0x289ef1=this[_0x5552('0x2')];return{'tag':'li','attributes':{'class':['ck-comment__wrapper',_0x289ef1['if'](_0x5552('0x33'),_0x5552('0x1c'))],'tabindex':-0x1},'children':[{'tag':_0x5552('0x1e'),'attributes':{'class':['ck-comment',_0x5552('0x16'),_0x289ef1['if'](_0x5552('0x13'),_0x5552('0x2d')),_0x289ef1['to'](_0x5552('0x26'),_0xb9d2d=>_0xb9d2d?'ck-comment--'+_0xb9d2d:'')],'data-author-id':this[_0x5552('0x35')]['author']['id'],'data-comment-id':this[_0x5552('0x35')]['id']},'children':[this[_0x5552('0x2c')],{'tag':'div','attributes':{'class':['ck-comment__main','ck-annotation__main']},'children':[{'tag':_0x5552('0x1e'),'attributes':{'class':[_0x5552('0x19'),_0x5552('0x34')]},'children':[{'tag':_0x5552('0x2a'),'children':[{'text':this[_0x5552('0x2c')]['name']}],'attributes':{'class':['ck-comment__info-name','ck-annotation__info-name']}},{'tag':_0x5552('0x8'),'attributes':{'datetime':_0x289ef1['to'](_0x5552('0x1d')),'class':[_0x5552('0x31'),_0x5552('0x36')]},'children':[{'text':_0x289ef1['to'](_0x5552('0x1d'),_0x42de30=>this[_0x5552('0x3b')][_0x5552('0x17')](_0x42de30))}]}]},{'tag':_0x5552('0x1e'),'attributes':{'class':[_0x5552('0x21'),'ck-annotation__actions',_0x289ef1['if'](_0x5552('0x13'),'ck-comment__actions--hidden'),_0x289ef1['if']('isEditMode',_0x5552('0x12'))]},'children':[this['editButton'],this[_0x5552('0x25')]]},{'tag':_0x5552('0x1e'),'attributes':{'class':[_0x5552('0x18')]},'children':this[_0x5552('0x1a')]}]}]}]};}[_0x5552('0x7')](){const _0x19090c=new _0x3672f4(this[_0x5552('0x15')]);return _0x19090c[_0x5552('0xe')]=_0x38305f(this[_0x5552('0x15')],'Edit'),_0x19090c[_0x5552('0x29')]=_0x5bcefa[_0x5552('0x1')],_0x19090c[_0x5552('0x28')]({'attributes':{'class':_0x5552('0x2d')}}),_0x19090c[_0x5552('0x9')]('isEnabled')['to'](this[_0x5552('0x35')],_0x5552('0xa'),_0x8aaf48=>!_0x8aaf48),_0x19090c['bind'](_0x5552('0x2e'))['to'](this[_0x5552('0x35')],_0x5552('0x10')),_0x19090c['on'](_0x5552('0xd'),()=>this['switchToEditMode']()),_0x19090c;}[_0x5552('0x11')](){const _0x5d76d1=new _0x3672f4(this[_0x5552('0x15')]);return _0x5d76d1[_0x5552('0xe')]=_0x38305f(this['locale'],_0x5552('0x32')),_0x5d76d1[_0x5552('0x29')]=_0x233841,_0x5d76d1[_0x5552('0x28')]({'attributes':{'class':'ck-comment--remove'}}),_0x5d76d1['bind'](_0x5552('0xb'))['to'](this[_0x5552('0x35')],_0x5552('0xa'),_0x453eec=>!_0x453eec),_0x5d76d1[_0x5552('0x9')](_0x5552('0x2e'))['to'](this[_0x5552('0x35')],'isRemovable'),_0x5d76d1['on']('execute',()=>{this[_0x5552('0x0')](_0x38305f(this[_0x5552('0x15')],'Delete\x20comment?'),this[_0x5552('0x39')])[_0x5552('0x2b')](()=>{this[_0x5552('0x5')]('removeComment',this['_model']['id']);});}),_0x5d76d1;}[_0x5552('0x23')](_0xe45558,_0x118c57){this['listenTo'](_0xe45558,_0x5552('0x3'),()=>this[_0x5552('0x26')]=_0x118c57),this[_0x5552('0x1b')](_0xe45558,_0x5552('0x4'),()=>this[_0x5552('0x26')]=_0x118c57),this['listenTo'](_0xe45558,'mouseleave',()=>this[_0x5552('0x26')]=null),this[_0x5552('0x1b')](_0xe45558,_0x5552('0x30'),()=>this[_0x5552('0x26')]=null);}[_0x5552('0x24')](){const _0x129f14=super[_0x5552('0x24')]();return _0x129f14['bind'](_0x5552('0x20'))['to'](this),_0x129f14;}[_0x5552('0xf')](){super[_0x5552('0xf')](),this['_attachActions'](this[_0x5552('0x37')][_0x5552('0x39')],_0x5552('0x1f')),this[_0x5552('0x23')](this['removeButton'][_0x5552('0x39')],_0x5552('0x38'));}}_0x249466(ot,_0x5dc7e9);
23
+ const _0xde9c=['removeButton','bind','element','locale','set','ck-comment__info-name','ck-comment--remove','focus','setTemplate','isEditable','ck-comment--edit','label','ck-annotation__content-wrapper','isReadOnly','change:isRemovable','userView','listenTo','bindTemplate','_config','execute','cancelConfirm','Reply...','ck-comment__actions','mouseenter','isEditMode','Edit','_createRemoveButton','isEnabled','formatDateTime','render','_model','showConfirm','_createEditButton','remove','icon','extendTemplate','editButton','name','pencil','createdAt','then','switchToEditMode','visibleView','div','ck-comment--remove-confirmation','ck-comment--','ck-comment__info','isVisible','span','time','blur','isRemovable','ck-annotation__main','ck-annotation__actions--hidden','edit','fire','ck-annotation__actions','author','getTemplate','_createCommentInputView','ck-annotation__user','ck-comment__info-time','isConfirm','ck-annotation__info','placeholder','ck-comment__actions--hidden','ck-comment__user','_attachActions','actionIndicator','Remove','Delete\x20comment?'];(function(_0x2266d1,_0xde9cb8){const _0x2a9b15=function(_0x156055){while(--_0x156055){_0x2266d1['push'](_0x2266d1['shift']());}};_0x2a9b15(++_0xde9cb8);}(_0xde9c,0xf4));const _0x2a9b=function(_0x2266d1,_0xde9cb8){_0x2266d1=_0x2266d1-0x0;let _0x2a9b15=_0xde9c[_0x2266d1];return _0x2a9b15;};import{mix as _0x2df9ae}from'ckeditor5/src/utils';import{ButtonView as _0x368055}from'ckeditor5/src/ui';import{icons as _0x3d612c}from'ckeditor5/src/core';import{UserView as _0x3ab954,ConfirmMixin as _0x3dfa83}from'ckeditor5-collaboration/src/collaboration-core';import _0x34ee49 from'./basecommentview';import _0x434e41 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x12be0f}from'../../../utils/common-translations';export default class ot extends _0x34ee49{constructor(_0x42fe10,_0x1a8b9b,_0x1a60ae){super(_0x42fe10,_0x1a8b9b,_0x1a60ae),this[_0x2a9b('0x2c')](_0x2a9b('0x25'),null),this['set'](_0x2a9b('0x21'),_0x12be0f(_0x42fe10,_0x2a9b('0x3d'))),this[_0x2a9b('0x2c')](_0x2a9b('0x8'),null),this[_0x2a9b('0x29')](_0x2a9b('0x8'))['to'](_0x1a8b9b),this[_0x2a9b('0x5')]=this[_0x2a9b('0x1')](),this[_0x2a9b('0x28')]=this[_0x2a9b('0x42')](),this[_0x2a9b('0x37')]=new _0x3ab954(_0x42fe10,_0x1a8b9b[_0x2a9b('0x1a')]),this['userView']['extendTemplate']({'attributes':{'class':[_0x2a9b('0x23'),_0x2a9b('0x1d')]}}),this['listenTo'](_0x1a8b9b,_0x2a9b('0x36'),()=>this[_0x2a9b('0x3c')]()),this[_0x2a9b('0x30')](this['getTemplate']());}[_0x2a9b('0x1b')](){const _0x90743f=this[_0x2a9b('0x39')];return{'tag':'li','attributes':{'class':['ck-comment__wrapper',_0x90743f['if'](_0x2a9b('0x1f'),_0x2a9b('0xd'))],'tabindex':-0x1},'children':[{'tag':_0x2a9b('0xc'),'attributes':{'class':['ck-comment','ck-annotation',_0x90743f['if']('isEditMode',_0x2a9b('0x32')),_0x90743f['to'](_0x2a9b('0x25'),_0x1fa7d0=>_0x1fa7d0?_0x2a9b('0xe')+_0x1fa7d0:'')],'data-author-id':this[_0x2a9b('0x46')][_0x2a9b('0x1a')]['id'],'data-comment-id':this['_model']['id']},'children':[this[_0x2a9b('0x37')],{'tag':_0x2a9b('0xc'),'attributes':{'class':['ck-comment__main',_0x2a9b('0x15')]},'children':[{'tag':_0x2a9b('0xc'),'attributes':{'class':[_0x2a9b('0xf'),_0x2a9b('0x20')]},'children':[{'tag':_0x2a9b('0x11'),'children':[{'text':this[_0x2a9b('0x37')][_0x2a9b('0x6')]}],'attributes':{'class':[_0x2a9b('0x2d'),'ck-annotation__info-name']}},{'tag':_0x2a9b('0x12'),'attributes':{'datetime':_0x90743f['to'](_0x2a9b('0x8')),'class':[_0x2a9b('0x1e'),'ck-annotation__info-time']},'children':[{'text':_0x90743f['to'](_0x2a9b('0x8'),_0x2f03d7=>this[_0x2a9b('0x3a')][_0x2a9b('0x44')](_0x2f03d7))}]}]},{'tag':_0x2a9b('0xc'),'attributes':{'class':[_0x2a9b('0x3e'),_0x2a9b('0x19'),_0x90743f['if'](_0x2a9b('0x40'),_0x2a9b('0x22')),_0x90743f['if'](_0x2a9b('0x40'),_0x2a9b('0x16'))]},'children':[this[_0x2a9b('0x5')],this[_0x2a9b('0x28')]]},{'tag':_0x2a9b('0xc'),'attributes':{'class':[_0x2a9b('0x34')]},'children':this[_0x2a9b('0xb')]}]}]}]};}[_0x2a9b('0x1')](){const _0x113195=new _0x368055(this[_0x2a9b('0x2b')]);return _0x113195[_0x2a9b('0x33')]=_0x12be0f(this[_0x2a9b('0x2b')],_0x2a9b('0x41')),_0x113195[_0x2a9b('0x3')]=_0x3d612c[_0x2a9b('0x7')],_0x113195[_0x2a9b('0x4')]({'attributes':{'class':'ck-comment--edit'}}),_0x113195[_0x2a9b('0x29')]('isEnabled')['to'](this[_0x2a9b('0x46')],_0x2a9b('0x35'),_0x424bab=>!_0x424bab),_0x113195[_0x2a9b('0x29')](_0x2a9b('0x10'))['to'](this[_0x2a9b('0x46')],_0x2a9b('0x31')),_0x113195['on'](_0x2a9b('0x3b'),()=>this[_0x2a9b('0xa')]()),_0x113195;}['_createRemoveButton'](){const _0x566995=new _0x368055(this[_0x2a9b('0x2b')]);return _0x566995[_0x2a9b('0x33')]=_0x12be0f(this['locale'],_0x2a9b('0x26')),_0x566995[_0x2a9b('0x3')]=_0x434e41,_0x566995[_0x2a9b('0x4')]({'attributes':{'class':_0x2a9b('0x2e')}}),_0x566995[_0x2a9b('0x29')](_0x2a9b('0x43'))['to'](this['_model'],_0x2a9b('0x35'),_0x547fb8=>!_0x547fb8),_0x566995['bind'](_0x2a9b('0x10'))['to'](this[_0x2a9b('0x46')],_0x2a9b('0x14')),_0x566995['on'](_0x2a9b('0x3b'),()=>{this[_0x2a9b('0x0')](_0x12be0f(this[_0x2a9b('0x2b')],_0x2a9b('0x27')),this['element'])[_0x2a9b('0x9')](()=>{this[_0x2a9b('0x18')]('removeComment',this[_0x2a9b('0x46')]['id']);});}),_0x566995;}[_0x2a9b('0x24')](_0xcff323,_0x3e0ed3){this[_0x2a9b('0x38')](_0xcff323,_0x2a9b('0x3f'),()=>this['actionIndicator']=_0x3e0ed3),this['listenTo'](_0xcff323,_0x2a9b('0x2f'),()=>this['actionIndicator']=_0x3e0ed3),this[_0x2a9b('0x38')](_0xcff323,'mouseleave',()=>this['actionIndicator']=null),this['listenTo'](_0xcff323,_0x2a9b('0x13'),()=>this[_0x2a9b('0x25')]=null);}[_0x2a9b('0x1c')](){const _0x171d69=super[_0x2a9b('0x1c')]();return _0x171d69[_0x2a9b('0x29')](_0x2a9b('0x21'))['to'](this),_0x171d69;}['render'](){super[_0x2a9b('0x45')](),this[_0x2a9b('0x24')](this[_0x2a9b('0x5')][_0x2a9b('0x2a')],_0x2a9b('0x17')),this[_0x2a9b('0x24')](this[_0x2a9b('0x28')][_0x2a9b('0x2a')],_0x2a9b('0x2'));}}_0x2df9ae(ot,_0x3dfa83);
package/src/comments.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4867=['pluginName','Comments'];(function(_0x16133b,_0x48679e){var _0x5adc16=function(_0x26cf46){while(--_0x26cf46){_0x16133b['push'](_0x16133b['shift']());}};_0x5adc16(++_0x48679e);}(_0x4867,0xc0));var _0x5adc=function(_0x16133b,_0x48679e){_0x16133b=_0x16133b-0x0;var _0x5adc16=_0x4867[_0x16133b];return _0x5adc16;};import{Plugin as _0x44a58a}from'ckeditor5/src/core';import _0x19e2ba from'./comments/commentsrepository';import _0x1702e6 from'./comments/commentsediting';import _0x2c7635 from'./comments/commentsui';import _0x27826f from'./commentsonly';import _0x13954d from'./annotations/widesidebar';import _0x257b13 from'./annotations/narrowsidebar';import _0x349f99 from'./annotations/inlineannotations';export default class c extends _0x44a58a{static get['requires'](){return[_0x19e2ba,_0x1702e6,_0x2c7635,_0x27826f,_0x13954d,_0x257b13,_0x349f99];}static get[_0x5adc('0x0')](){return _0x5adc('0x1');}}
23
+ var _0x17d3=['Comments','pluginName','requires'];(function(_0x8d7308,_0x17d3a3){var _0x5cd555=function(_0x4ed1d7){while(--_0x4ed1d7){_0x8d7308['push'](_0x8d7308['shift']());}};_0x5cd555(++_0x17d3a3);}(_0x17d3,0x89));var _0x5cd5=function(_0x8d7308,_0x17d3a3){_0x8d7308=_0x8d7308-0x0;var _0x5cd555=_0x17d3[_0x8d7308];return _0x5cd555;};import{Plugin as _0x258e96}from'ckeditor5/src/core';import _0x5d8f4c from'./comments/commentsrepository';import _0x340a9f from'./comments/commentsediting';import _0x1d9b85 from'./comments/commentsui';import _0x536c02 from'./commentsonly';import _0x39a72d from'./annotations/widesidebar';import _0x1884ae from'./annotations/narrowsidebar';import _0x1aecbe from'./annotations/inlineannotations';export default class c extends _0x258e96{static get[_0x5cd5('0x0')](){return[_0x5d8f4c,_0x340a9f,_0x1d9b85,_0x536c02,_0x39a72d,_0x1884ae,_0x1aecbe];}static get[_0x5cd5('0x2')](){return _0x5cd5('0x1');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5bc4=['pluginName','isEnabled','plugins','clearForceDisabled','affectsData','stopListening','addCommentThread','editor','commentsOnlyMode','DragDrop','highest','CommentsOnly','requires','_disableCommentsOnlyMode','get','set','cut','view','listenTo','config','_enableCommentsOnlyMode','editing','has','stop','commentsOnly','forceDisabled','commands','delete'];(function(_0x4345bc,_0x5bc4e1){const _0x41b2cb=function(_0x529c46){while(--_0x529c46){_0x4345bc['push'](_0x4345bc['shift']());}};_0x41b2cb(++_0x5bc4e1);}(_0x5bc4,0x17e));const _0x41b2=function(_0x4345bc,_0x5bc4e1){_0x4345bc=_0x4345bc-0x0;let _0x41b2cb=_0x5bc4[_0x4345bc];return _0x41b2cb;};import{Plugin as _0x699d63}from'ckeditor5/src/core';import _0x1afcec from'./comments/commentsediting';export default class e extends _0x699d63{static get[_0x41b2('0xa')](){return _0x41b2('0x15');}static get[_0x41b2('0x16')](){return[_0x1afcec];}constructor(_0x4d0946){super(_0x4d0946),this[_0x41b2('0x19')](_0x41b2('0xb'),null),this['on']('change:isEnabled',(_0x22d997,_0x212286,_0x497d1f)=>{_0x497d1f?this['_enableCommentsOnlyMode']():this[_0x41b2('0x17')]();});}['afterInit'](){null===this[_0x41b2('0xb')]&&(this[_0x41b2('0xb')]=!!this[_0x41b2('0x11')][_0x41b2('0x1')][_0x41b2('0x18')](_0x41b2('0x6')));}[_0x41b2('0x2')](){for(const [_0x4f13f3,_0x174301]of this[_0x41b2('0x11')][_0x41b2('0x8')])_0x174301[_0x41b2('0xe')]&&_0x41b2('0x10')!==_0x4f13f3&&_0x174301[_0x41b2('0x7')](_0x41b2('0x12'));this[_0x41b2('0x11')][_0x41b2('0xc')][_0x41b2('0x4')]('DragDrop')&&this[_0x41b2('0x11')][_0x41b2('0xc')][_0x41b2('0x18')](_0x41b2('0x13'))['forceDisabled'](_0x41b2('0x12'));const _0x5ce314=this['editor'][_0x41b2('0x3')][_0x41b2('0x1b')]['document'];this['listenTo'](_0x5ce314,_0x41b2('0x1a'),_0x4dbf86=>_0x4dbf86[_0x41b2('0x5')](),{'priority':_0x41b2('0x14')}),this[_0x41b2('0x0')](_0x5ce314,'clipboardInput',_0x2f24c8=>_0x2f24c8[_0x41b2('0x5')](),{'priority':_0x41b2('0x14')}),this[_0x41b2('0x0')](_0x5ce314,_0x41b2('0x9'),_0x12a5ad=>_0x12a5ad[_0x41b2('0x5')](),{'priority':_0x41b2('0x14')});}[_0x41b2('0x17')](){for(const [_0x5aa779,_0x39a37b]of this[_0x41b2('0x11')][_0x41b2('0x8')])_0x39a37b[_0x41b2('0xe')]&&_0x41b2('0x10')!==_0x5aa779&&_0x39a37b[_0x41b2('0xd')](_0x41b2('0x12'));this[_0x41b2('0xf')](this[_0x41b2('0x11')][_0x41b2('0x3')]['view']['document']);}}
23
+ const _0x3fb4=['cut','change:isEnabled','editing','affectsData','document','clipboardInput','commands','_enableCommentsOnlyMode','get','commentsOnly','CommentsOnly','forceDisabled','view','stopListening','has','set','listenTo','stop','_disableCommentsOnlyMode','requires','editor','DragDrop','commentsOnlyMode','highest','addCommentThread','isEnabled','delete','plugins','pluginName'];(function(_0x3dd148,_0x3fb4fd){const _0x2c71bd=function(_0x20dcba){while(--_0x20dcba){_0x3dd148['push'](_0x3dd148['shift']());}};_0x2c71bd(++_0x3fb4fd);}(_0x3fb4,0x167));const _0x2c71=function(_0x3dd148,_0x3fb4fd){_0x3dd148=_0x3dd148-0x0;let _0x2c71bd=_0x3fb4[_0x3dd148];return _0x2c71bd;};import{Plugin as _0x3660a7}from'ckeditor5/src/core';import _0x10cce2 from'./comments/commentsediting';export default class e extends _0x3660a7{static get[_0x2c71('0x11')](){return _0x2c71('0x1c');}static get[_0x2c71('0x8')](){return[_0x10cce2];}constructor(_0x552e3b){super(_0x552e3b),this[_0x2c71('0x4')](_0x2c71('0xe'),null),this['on'](_0x2c71('0x13'),(_0x418327,_0x1f6366,_0x2285d2)=>{_0x2285d2?this['_enableCommentsOnlyMode']():this[_0x2c71('0x7')]();});}['afterInit'](){null===this[_0x2c71('0xe')]&&(this[_0x2c71('0xe')]=!!this[_0x2c71('0x9')]['config'][_0x2c71('0x1a')](_0x2c71('0x1b')));}[_0x2c71('0x19')](){for(const [_0x3979f3,_0xd2462a]of this[_0x2c71('0x9')][_0x2c71('0x18')])_0xd2462a[_0x2c71('0x15')]&&_0x2c71('0xd')!==_0x3979f3&&_0xd2462a[_0x2c71('0x0')]('commentsOnlyMode');this['editor'][_0x2c71('0x10')][_0x2c71('0x3')](_0x2c71('0xa'))&&this['editor'][_0x2c71('0x10')]['get']('DragDrop')['forceDisabled'](_0x2c71('0xb'));const _0x4967e7=this['editor'][_0x2c71('0x14')]['view'][_0x2c71('0x16')];this[_0x2c71('0x5')](_0x4967e7,_0x2c71('0x12'),_0x35b9d1=>_0x35b9d1['stop'](),{'priority':'highest'}),this[_0x2c71('0x5')](_0x4967e7,_0x2c71('0x17'),_0x3d936e=>_0x3d936e['stop'](),{'priority':_0x2c71('0xc')}),this[_0x2c71('0x5')](_0x4967e7,_0x2c71('0xf'),_0x12a4d1=>_0x12a4d1[_0x2c71('0x6')](),{'priority':_0x2c71('0xc')});}['_disableCommentsOnlyMode'](){for(const [_0x390a10,_0x483407]of this[_0x2c71('0x9')][_0x2c71('0x18')])_0x483407[_0x2c71('0x15')]&&_0x2c71('0xd')!==_0x390a10&&_0x483407['clearForceDisabled'](_0x2c71('0xb'));this[_0x2c71('0x2')](this[_0x2c71('0x9')]['editing'][_0x2c71('0x1')][_0x2c71('0x16')]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x5c7e0d,_0x188a39,_0x4a24db){const t=_0x5c7e0d['t'];switch(_0x188a39){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'Write\x20a\x20comment...':return t('Write\x20a\x20comment...');case'Comment\x20editor':return t('Comment\x20editor');case'Delete\x20comment\x20thread?':return t('Delete\x20comment\x20thread?');case'Delete\x20comment?':return t('Delete\x20comment?');case'Cancel':return t('Cancel');case'Edit':return t('Edit');case'Remove':return t('Remove');case'Submit':return t('Submit');case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x4a24db);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'},_0x4a24db);}}
23
+ export function getTranslation(_0x511326,_0x433c43,_0x5f3385){const t=_0x511326['t'];switch(_0x433c43){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'Write\x20a\x20comment...':return t('Write\x20a\x20comment...');case'Comment\x20editor':return t('Comment\x20editor');case'Delete\x20comment\x20thread?':return t('Delete\x20comment\x20thread?');case'Delete\x20comment?':return t('Delete\x20comment?');case'Cancel':return t('Cancel');case'Edit':return t('Edit');case'Remove':return t('Remove');case'Submit':return t('Submit');case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x5f3385);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'},_0x5f3385);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x259c=['observe','type','attributeName','childList'];(function(_0x2c3f6e,_0x259c4d){const _0x54e65a=function(_0x84b183){while(--_0x84b183){_0x2c3f6e['push'](_0x2c3f6e['shift']());}};_0x54e65a(++_0x259c4d);}(_0x259c,0x11e));const _0x54e6=function(_0x2c3f6e,_0x259c4d){_0x2c3f6e=_0x2c3f6e-0x0;let _0x54e65a=_0x259c[_0x2c3f6e];return _0x54e65a;};import{throttle as _0xaaca04}from'lodash-es';export default function ut(_0x30762b){const _0x4b27ff=_0xaaca04(_0x30762b,0x1e),_0x3a9452=new MutationObserver(_0x4788b3=>{for(const _0x174a62 of _0x4788b3)('attributes'==_0x174a62[_0x54e6('0x3')]&&'class'==_0x174a62[_0x54e6('0x0')]||_0x54e6('0x1')==_0x174a62[_0x54e6('0x3')])&&_0x4b27ff();});return{'attach'(_0x28601b){_0x3a9452[_0x54e6('0x2')](_0x28601b,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0});},'detach'(){_0x3a9452['disconnect'](),_0x4b27ff['cancel']();}};}
23
+ const _0x3959=['observe','childList','attributes','type'];(function(_0x1dc59e,_0x3959e1){const _0x55c140=function(_0x3dc934){while(--_0x3dc934){_0x1dc59e['push'](_0x1dc59e['shift']());}};_0x55c140(++_0x3959e1);}(_0x3959,0xe1));const _0x55c1=function(_0x1dc59e,_0x3959e1){_0x1dc59e=_0x1dc59e-0x0;let _0x55c140=_0x3959[_0x1dc59e];return _0x55c140;};import{throttle as _0x1c7b42}from'lodash-es';export default function ut(_0x416758){const _0x41fb69=_0x1c7b42(_0x416758,0x1e),_0x6071ff=new MutationObserver(_0x249702=>{for(const _0x71e923 of _0x249702)(_0x55c1('0x1')==_0x71e923[_0x55c1('0x2')]&&'class'==_0x71e923['attributeName']||_0x55c1('0x0')==_0x71e923[_0x55c1('0x2')])&&_0x41fb69();});return{'attach'(_0x491fbc){_0x6071ff[_0x55c1('0x3')](_0x491fbc,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0});},'detach'(){_0x6071ff['disconnect'](),_0x41fb69['cancel']();}};}
@@ -47,24 +47,3 @@
47
47
  .ck.ck-balloon-panel .ck-annotation-wrapper i {
48
48
  font-style: italic;
49
49
  }
50
-
51
- /* Because tooltip is a children of balloon with `overflow: hidden`, we need to fix them via CSS.
52
- * If we introduce tooltip out of BalloonPanelView, we can remove it. */
53
- .ck.ck-balloon-panel button.ck-suggestion--accept .ck-tooltip__text,
54
- .ck.ck-balloon-panel button.ck-suggestion--discard .ck-tooltip__text {
55
- text-align: center;
56
- }
57
-
58
- /* Style the last button inside suggestion (discard action) to tooltip text overlap - align it to the right. */
59
- .ck.ck-balloon-panel button.ck-suggestion--discard .ck-tooltip {
60
- left: unset;
61
- right: 0;
62
- }
63
-
64
- .ck.ck-balloon-panel button.ck-suggestion--discard .ck-tooltip__text {
65
- left: unset;
66
- }
67
-
68
- .ck.ck-balloon-panel button.ck-suggestion--discard .ck-tooltip__text::after {
69
- left: calc(100% - 10px);
70
- }