@ckeditor/ckeditor5-comments 35.2.1 → 35.3.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 (147) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/README.md +1 -1
  3. package/build/comments.js +2 -2
  4. package/build/translations/af.js +1 -1
  5. package/build/translations/ar.js +1 -1
  6. package/build/translations/bg.js +1 -1
  7. package/build/translations/bn.js +1 -1
  8. package/build/translations/bs.js +1 -1
  9. package/build/translations/ca.js +1 -1
  10. package/build/translations/cs.js +1 -1
  11. package/build/translations/da.js +1 -1
  12. package/build/translations/de-ch.js +1 -1
  13. package/build/translations/de.js +1 -1
  14. package/build/translations/el.js +1 -1
  15. package/build/translations/en-au.js +1 -1
  16. package/build/translations/es-co.js +1 -1
  17. package/build/translations/es.js +1 -1
  18. package/build/translations/et.js +1 -1
  19. package/build/translations/fa.js +1 -1
  20. package/build/translations/fi.js +1 -1
  21. package/build/translations/fr.js +1 -1
  22. package/build/translations/gl.js +1 -1
  23. package/build/translations/he.js +1 -1
  24. package/build/translations/hi.js +1 -1
  25. package/build/translations/hr.js +1 -1
  26. package/build/translations/hu.js +1 -1
  27. package/build/translations/id.js +1 -1
  28. package/build/translations/it.js +1 -1
  29. package/build/translations/ja.js +1 -1
  30. package/build/translations/jv.js +1 -1
  31. package/build/translations/ko.js +1 -1
  32. package/build/translations/lt.js +1 -1
  33. package/build/translations/lv.js +1 -1
  34. package/build/translations/ms.js +1 -1
  35. package/build/translations/nl.js +1 -1
  36. package/build/translations/no.js +1 -1
  37. package/build/translations/pl.js +1 -1
  38. package/build/translations/pt-br.js +1 -1
  39. package/build/translations/pt.js +1 -1
  40. package/build/translations/ro.js +1 -1
  41. package/build/translations/ru.js +1 -1
  42. package/build/translations/sk.js +1 -1
  43. package/build/translations/sr-latn.js +1 -1
  44. package/build/translations/sr.js +1 -1
  45. package/build/translations/sv.js +1 -1
  46. package/build/translations/th.js +1 -1
  47. package/build/translations/tk.js +1 -1
  48. package/build/translations/tr.js +1 -1
  49. package/build/translations/tt.js +1 -1
  50. package/build/translations/ug.js +1 -1
  51. package/build/translations/uk.js +1 -1
  52. package/build/translations/ur.js +1 -1
  53. package/build/translations/vi.js +1 -1
  54. package/build/translations/zh-cn.js +1 -1
  55. package/build/translations/zh.js +1 -1
  56. package/lang/contexts.json +4 -1
  57. package/lang/translations/af.po +12 -0
  58. package/lang/translations/ar.po +12 -0
  59. package/lang/translations/bg.po +12 -0
  60. package/lang/translations/bn.po +12 -0
  61. package/lang/translations/bs.po +12 -0
  62. package/lang/translations/ca.po +12 -0
  63. package/lang/translations/cs.po +12 -0
  64. package/lang/translations/da.po +12 -0
  65. package/lang/translations/de-ch.po +12 -0
  66. package/lang/translations/de.po +12 -0
  67. package/lang/translations/el.po +12 -0
  68. package/lang/translations/en-au.po +12 -0
  69. package/lang/translations/en.po +12 -0
  70. package/lang/translations/es-co.po +12 -0
  71. package/lang/translations/es.po +12 -0
  72. package/lang/translations/et.po +12 -0
  73. package/lang/translations/fa.po +12 -0
  74. package/lang/translations/fi.po +12 -0
  75. package/lang/translations/fr.po +12 -0
  76. package/lang/translations/gl.po +12 -0
  77. package/lang/translations/he.po +12 -0
  78. package/lang/translations/hi.po +12 -0
  79. package/lang/translations/hr.po +12 -0
  80. package/lang/translations/hu.po +12 -0
  81. package/lang/translations/id.po +12 -0
  82. package/lang/translations/it.po +12 -0
  83. package/lang/translations/ja.po +12 -0
  84. package/lang/translations/jv.po +12 -0
  85. package/lang/translations/ko.po +12 -0
  86. package/lang/translations/lt.po +12 -0
  87. package/lang/translations/lv.po +12 -0
  88. package/lang/translations/ms.po +12 -0
  89. package/lang/translations/nl.po +12 -0
  90. package/lang/translations/no.po +12 -0
  91. package/lang/translations/pl.po +12 -0
  92. package/lang/translations/pt-br.po +12 -0
  93. package/lang/translations/pt.po +12 -0
  94. package/lang/translations/ro.po +12 -0
  95. package/lang/translations/ru.po +12 -0
  96. package/lang/translations/sk.po +12 -0
  97. package/lang/translations/sr-latn.po +12 -0
  98. package/lang/translations/sr.po +12 -0
  99. package/lang/translations/sv.po +12 -0
  100. package/lang/translations/th.po +12 -0
  101. package/lang/translations/tk.po +12 -0
  102. package/lang/translations/tr.po +12 -0
  103. package/lang/translations/tt.po +12 -0
  104. package/lang/translations/ug.po +12 -0
  105. package/lang/translations/uk.po +12 -0
  106. package/lang/translations/ur.po +12 -0
  107. package/lang/translations/vi.po +12 -0
  108. package/lang/translations/zh-cn.po +12 -0
  109. package/lang/translations/zh.po +12 -0
  110. package/package.json +3 -3
  111. package/src/annotations/annotation.js +1 -1
  112. package/src/annotations/annotationcollection.js +1 -1
  113. package/src/annotations/annotations.js +1 -1
  114. package/src/annotations/annotationsuis.js +1 -1
  115. package/src/annotations/editorannotations.js +1 -1
  116. package/src/annotations/inlineannotations.js +1 -1
  117. package/src/annotations/narrowsidebar.js +1 -1
  118. package/src/annotations/sidebar.js +1 -1
  119. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  120. package/src/annotations/view/annotationview.js +1 -1
  121. package/src/annotations/view/sidebaritemview.js +1 -1
  122. package/src/annotations/view/sidebarview.js +1 -1
  123. package/src/annotations/widesidebar.js +1 -1
  124. package/src/comments/addcommentthreadcommand.js +1 -1
  125. package/src/comments/commentsediting.js +1 -1
  126. package/src/comments/commentsrepository.js +1 -1
  127. package/src/comments/commentsui.js +1 -1
  128. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  129. package/src/comments/integrations/importword.js +1 -1
  130. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  131. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  132. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  133. package/src/comments/ui/commentthreadcontroller.js +1 -1
  134. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  135. package/src/comments/ui/view/basecommentview.js +1 -1
  136. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  137. package/src/comments/ui/view/commentcontentview.js +1 -1
  138. package/src/comments/ui/view/commentinputview.js +1 -1
  139. package/src/comments/ui/view/commentslistview.js +1 -1
  140. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  141. package/src/comments/ui/view/commentthreadview.js +1 -1
  142. package/src/comments/ui/view/commentview.js +1 -1
  143. package/src/comments.js +1 -1
  144. package/src/commentsonly.js +1 -1
  145. package/src/utils/common-translations.js +1 -1
  146. package/src/utils/createmutationobserver.js +1 -1
  147. package/theme/comment.css +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14bf=['switchToDisplayMode','editorReady','locale','updateComment','content','bind','get','createCollection','isEditMode','createEditor','maxCommentCharsWhenCollapsed','_config','focus','element','isCollapsed','destroy','_model','isReadOnly','fire','visibleView','submit','_createCommentInputView','cancel','editorConfig','value','set','_createCommentContentView','expand'];(function(_0x48b302,_0x14bfd7){const _0x20ec2c=function(_0x2da159){while(--_0x2da159){_0x48b302['push'](_0x48b302['shift']());}};_0x20ec2c(++_0x14bfd7);}(_0x14bf,0x195));const _0x20ec=function(_0x48b302,_0x14bfd7){_0x48b302=_0x48b302-0x0;let _0x20ec2c=_0x14bf[_0x48b302];return _0x20ec2c;};import{View as _0x381491}from'ckeditor5/src/ui';import{trimHtml as _0x7671d1}from'ckeditor5-collaboration/src/collaboration-core';import _0x3c1ae4 from'./commentcontentview';import _0x98b830 from'./commentinputview';export default class Vt extends _0x381491{constructor(_0xdf59cf,_0x26572a,_0x506683){super(_0xdf59cf),this[_0x20ec('0x3')]=_0x26572a,this['_config']=_0x506683,this[_0x20ec('0xc')]('isEditMode',!0x1),this[_0x20ec('0xc')]('isCollapsed',!0x0),this[_0x20ec('0x6')]=this[_0x20ec('0x16')](),this[_0x20ec('0x6')]['add'](this['_createCommentContentView']());}[_0x20ec('0xe')](){this['isCollapsed']=!0x1;}['collapse'](){this[_0x20ec('0x17')]||(this[_0x20ec('0x1')]=!0x0);}[_0x20ec('0x1b')](){this[_0x20ec('0x0')][_0x20ec('0x1b')]();}async[_0x20ec('0x2')](){await this['visibleView'][_0x20ec('0x15')](0x0)['destroy'](),super[_0x20ec('0x2')]();}['switchToEditMode'](){this['isEditMode']||(this[_0x20ec('0x17')]=!0x0,this[_0x20ec('0x6')]['remove'](0x0)[_0x20ec('0x2')](),this[_0x20ec('0x6')]['add'](this[_0x20ec('0x8')]()));}[_0x20ec('0xf')](){this[_0x20ec('0x17')]&&(this['isEditMode']=!0x1,this[_0x20ec('0x6')]['remove'](0x0)['destroy'](),this[_0x20ec('0x6')]['add'](this['_createCommentContentView']()));}[_0x20ec('0xd')](){const _0x39c45c=new _0x3c1ae4(this[_0x20ec('0x11')]);return _0x39c45c[_0x20ec('0x14')](_0x20ec('0x13'))['to'](this[_0x20ec('0x3')],_0x20ec('0x13'),this,_0x20ec('0x1'),(_0x12d459,_0x20fb40)=>_0x20fb40?_0x7671d1(_0x12d459,{'limit':this[_0x20ec('0x1a')][_0x20ec('0x19')]}):_0x12d459),_0x39c45c;}['_createCommentInputView'](){this['_config'][_0x20ec('0xa')]||(this[_0x20ec('0x1a')]['editorConfig']={}),this[_0x20ec('0x1a')][_0x20ec('0xa')]['initialData']=this[_0x20ec('0x3')][_0x20ec('0x13')];const _0x5e54b1=new _0x98b830(this['locale'],this['_config']['editorConfig']);return _0x5e54b1[_0x20ec('0xb')]=this['_model'][_0x20ec('0x13')],_0x5e54b1[_0x20ec('0x14')]('disabledSubmit')['to'](this[_0x20ec('0x3')],_0x20ec('0x4')),_0x5e54b1['on'](_0x20ec('0x7'),(_0x49bbfb,_0x2b24b1)=>{this[_0x20ec('0x5')](_0x20ec('0x12'),this[_0x20ec('0x3')]['id'],_0x2b24b1),this['switchToDisplayMode'](),this[_0x20ec('0x1b')]();}),_0x5e54b1['on'](_0x20ec('0x9'),()=>{this['switchToDisplayMode'](),this['focus']();}),_0x5e54b1['once'](_0x20ec('0x10'),()=>{_0x5e54b1['focus']();}),_0x5e54b1[_0x20ec('0x18')](),_0x5e54b1;}}
23
+ const _0x345b=['value','isEditMode','add','locale','fire','destroy','isCollapsed','_createCommentContentView','_model','remove','collapse','bind','set','get','focus','_createCommentInputView','createCollection','editorConfig','isReadOnly','initialData','visibleView','createEditor','switchToEditMode','content','_config','switchToDisplayMode','cancel','element'];(function(_0x53e2df,_0x345bd6){const _0x5a02dd=function(_0x340618){while(--_0x340618){_0x53e2df['push'](_0x53e2df['shift']());}};_0x5a02dd(++_0x345bd6);}(_0x345b,0x1c4));const _0x5a02=function(_0x53e2df,_0x345bd6){_0x53e2df=_0x53e2df-0x0;let _0x5a02dd=_0x345b[_0x53e2df];return _0x5a02dd;};import{View as _0x272c6e}from'ckeditor5/src/ui';import{trimHtml as _0x4b0f79}from'ckeditor5-collaboration/src/collaboration-core';import _0x1554c9 from'./commentcontentview';import _0x158ec9 from'./commentinputview';export default class St extends _0x272c6e{constructor(_0x529480,_0xb0dc66,_0x3c91ee){super(_0x529480),this['_model']=_0xb0dc66,this[_0x5a02('0x14')]=_0x3c91ee,this[_0x5a02('0x8')](_0x5a02('0x19'),!0x1),this[_0x5a02('0x8')](_0x5a02('0x2'),!0x0),this[_0x5a02('0x10')]=this[_0x5a02('0xc')](),this[_0x5a02('0x10')]['add'](this[_0x5a02('0x3')]());}['expand'](){this['isCollapsed']=!0x1;}[_0x5a02('0x6')](){this[_0x5a02('0x19')]||(this[_0x5a02('0x2')]=!0x0);}['focus'](){this[_0x5a02('0x17')][_0x5a02('0xa')]();}async[_0x5a02('0x1')](){await this[_0x5a02('0x10')][_0x5a02('0x9')](0x0)['destroy'](),super[_0x5a02('0x1')]();}[_0x5a02('0x12')](){this['isEditMode']||(this['isEditMode']=!0x0,this['visibleView'][_0x5a02('0x5')](0x0)[_0x5a02('0x1')](),this[_0x5a02('0x10')][_0x5a02('0x1a')](this[_0x5a02('0xb')]()));}[_0x5a02('0x15')](){this['isEditMode']&&(this[_0x5a02('0x19')]=!0x1,this[_0x5a02('0x10')][_0x5a02('0x5')](0x0)['destroy'](),this[_0x5a02('0x10')][_0x5a02('0x1a')](this['_createCommentContentView']()));}['_createCommentContentView'](){const _0x491649=new _0x1554c9(this[_0x5a02('0x1b')]);return _0x491649['bind'](_0x5a02('0x13'))['to'](this[_0x5a02('0x4')],_0x5a02('0x13'),this,_0x5a02('0x2'),(_0x11c481,_0x2e3f20)=>_0x2e3f20?_0x4b0f79(_0x11c481,{'limit':this[_0x5a02('0x14')]['maxCommentCharsWhenCollapsed']}):_0x11c481),_0x491649;}[_0x5a02('0xb')](){this[_0x5a02('0x14')]['editorConfig']||(this['_config'][_0x5a02('0xd')]={}),this['_config'][_0x5a02('0xd')][_0x5a02('0xf')]=this[_0x5a02('0x4')][_0x5a02('0x13')];const _0x13bb38=new _0x158ec9(this[_0x5a02('0x1b')],this[_0x5a02('0x14')][_0x5a02('0xd')]);return _0x13bb38[_0x5a02('0x18')]=this[_0x5a02('0x4')][_0x5a02('0x13')],_0x13bb38[_0x5a02('0x7')]('disabledSubmit')['to'](this[_0x5a02('0x4')],_0x5a02('0xe')),_0x13bb38['on']('submit',(_0x417aa0,_0x19b59d)=>{this[_0x5a02('0x0')]('updateComment',this[_0x5a02('0x4')]['id'],_0x19b59d),this[_0x5a02('0x15')](),this[_0x5a02('0xa')]();}),_0x13bb38['on'](_0x5a02('0x16'),()=>{this['switchToDisplayMode'](),this[_0x5a02('0xa')]();}),_0x13bb38['once']('editorReady',()=>{_0x13bb38[_0x5a02('0xa')]();}),_0x13bb38[_0x5a02('0x11')](),_0x13bb38;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x55a9=['bindTemplate','set','count','setTemplate','ck-thread__comment-count','NUMBER_OF_COMMENTS'];(function(_0x1548e5,_0x55a955){const _0xfd0831=function(_0x63bb2b){while(--_0x63bb2b){_0x1548e5['push'](_0x1548e5['shift']());}};_0xfd0831(++_0x55a955);}(_0x55a9,0xbd));const _0xfd08=function(_0x1548e5,_0x55a955){_0x1548e5=_0x1548e5-0x0;let _0xfd0831=_0x55a9[_0x1548e5];return _0xfd0831;};import{View as _0x22185f}from'ckeditor5/src/ui';import{getTranslation as _0x47e6db}from'../../../utils/common-translations';export default class Nt extends _0x22185f{constructor(_0x4b8bee){super(_0x4b8bee);const _0x495508=this[_0xfd08('0x3')];this[_0xfd08('0x4')](_0xfd08('0x5')),this[_0xfd08('0x0')]({'tag':'li','attributes':{'class':_0xfd08('0x1')},'children':[{'text':_0x495508['to']('count',_0x1b8fc5=>_0x47e6db(_0x4b8bee,_0xfd08('0x2'),_0x1b8fc5))}]});}}
23
+ const _0x6200=['set','bindTemplate','count','NUMBER_OF_COMMENTS'];(function(_0x36a845,_0x62003f){const _0x45c0d4=function(_0x36e1eb){while(--_0x36e1eb){_0x36a845['push'](_0x36a845['shift']());}};_0x45c0d4(++_0x62003f);}(_0x6200,0x149));const _0x45c0=function(_0x36a845,_0x62003f){_0x36a845=_0x36a845-0x0;let _0x45c0d4=_0x6200[_0x36a845];return _0x45c0d4;};import{View as _0xa275c1}from'ckeditor5/src/ui';import{getTranslation as _0x9b89c1}from'../../../utils/common-translations';export default class Nt extends _0xa275c1{constructor(_0x2c2b9e){super(_0x2c2b9e);const _0x12f9c6=this[_0x45c0('0x0')];this[_0x45c0('0x3')](_0x45c0('0x1')),this['setTemplate']({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x12f9c6['to']('count',_0x5e2a65=>_0x9b89c1(_0x2c2b9e,_0x45c0('0x2'),_0x5e2a65))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5334=['render','ck-comment__content','content','innerHTML','setTemplate','change:content','ck-annotation__content','div','set','element'];(function(_0x24a75c,_0x533408){var _0x5803ce=function(_0x3ce5d5){while(--_0x3ce5d5){_0x24a75c['push'](_0x24a75c['shift']());}};_0x5803ce(++_0x533408);}(_0x5334,0xfe));var _0x5803=function(_0x24a75c,_0x533408){_0x24a75c=_0x24a75c-0x0;var _0x5803ce=_0x5334[_0x24a75c];return _0x5803ce;};import{View as _0x2612d8}from'ckeditor5/src/ui';export default class Et extends _0x2612d8{constructor(_0x4bbf1e){super(_0x4bbf1e),this[_0x5803('0x4')](_0x5803('0x8'),''),this[_0x5803('0x0')]({'tag':_0x5803('0x3'),'attributes':{'class':[_0x5803('0x7'),_0x5803('0x2')]}});}[_0x5803('0x6')](){super[_0x5803('0x6')](),this['on'](_0x5803('0x1'),(_0x27aa9e,_0x53c5b7,_0x364514)=>{this[_0x5803('0x5')][_0x5803('0x9')]=_0x364514;}),this['element'][_0x5803('0x9')]=this['content'];}}
23
+ var _0x22be=['content','ck-annotation__content','change:content','innerHTML','set','setTemplate','render','ck-comment__content','element'];(function(_0x1b1fe6,_0x22be54){var _0x2387e1=function(_0x264771){while(--_0x264771){_0x1b1fe6['push'](_0x1b1fe6['shift']());}};_0x2387e1(++_0x22be54);}(_0x22be,0xd6));var _0x2387=function(_0x1b1fe6,_0x22be54){_0x1b1fe6=_0x1b1fe6-0x0;var _0x2387e1=_0x22be[_0x1b1fe6];return _0x2387e1;};import{View as _0x348ec9}from'ckeditor5/src/ui';export default class Et extends _0x348ec9{constructor(_0x211241){super(_0x211241),this[_0x2387('0x6')](_0x2387('0x2'),''),this[_0x2387('0x7')]({'tag':'div','attributes':{'class':[_0x2387('0x0'),_0x2387('0x3')]}});}[_0x2387('0x8')](){super[_0x2387('0x8')](),this['on'](_0x2387('0x4'),(_0x1afd65,_0x161921,_0x4ed49f)=>{this[_0x2387('0x1')]['innerHTML']=_0x4ed49f;}),this[_0x2387('0x1')][_0x2387('0x5')]=this[_0x2387('0x2')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x45c2=['shift\x20+\x20tab','Reply...','cancelButtonView','add','placeholder','set','_isDestroyed','ck-comment__input-wrapper','TOO_LONG_COMMENT_ALERT','focusPrevious','check','tab','disabledSubmit','_createSubmitButton','insertBefore','element','Esc','keystrokes','submitButtonView','ck-comment__input-actions--cancel','ck-comment__input-actions','forEach','trim','focusNext','icon','_editorCreationPromise','createEditor','submit','fire','editor','then','div','cancel','label','_initializeFocusCycling','editorReady','high','render','value','destroy','ck-comment__input-actions--active','low','ck-comment__input-actions--submit','extendTemplate','change','document','model','_editorConfig','stop','Cancel','execute','setTemplate','setData','focusTracker','bind','length','focus','_createCancelButton','firstChild','listenTo','showButtons'];(function(_0x18571e,_0x45c249){const _0x1c1b8f=function(_0x3bdf66){while(--_0x3bdf66){_0x18571e['push'](_0x18571e['shift']());}};_0x1c1b8f(++_0x45c249);}(_0x45c2,0xca));const _0x1c1b=function(_0x18571e,_0x45c249){_0x18571e=_0x18571e-0x0;let _0x1c1b8f=_0x45c2[_0x18571e];return _0x1c1b8f;};import{View as _0x8e4eaa,ViewCollection as _0x4e32a5,FocusCycler as _0x8419d1,ButtonView as _0x63505d}from'ckeditor5/src/ui';import{FocusTracker as _0x1897d6,KeystrokeHandler as _0x5e2cd2}from'ckeditor5/src/utils';import{icons as _0x1521eb}from'ckeditor5/src/core';import _0x2a9e76 from'../commenteditor/commenteditor';import{getTranslation as _0x5326a8}from'../../../utils/common-translations';export default class Tt extends _0x8e4eaa{constructor(_0x2bacbd,_0x1cb736={}){super(_0x2bacbd),this[_0x1c1b('0xa')]=null,this[_0x1c1b('0x1c')]=_0x1cb736,this[_0x1c1b('0x3b')]=new _0x5e2cd2(),this[_0x1c1b('0x22')]=new _0x1897d6(),this['set']('value',_0x1cb736['initialData']||''),this[_0x1c1b('0x2f')](_0x1c1b('0x36'),!0x1),this['set'](_0x1c1b('0x29'),!0x0),this[_0x1c1b('0x2f')]('placeholder',_0x5326a8(_0x2bacbd,_0x1c1b('0x2b'))),this[_0x1c1b('0x3c')]=this[_0x1c1b('0x37')](),this[_0x1c1b('0x2c')]=this[_0x1c1b('0x26')](),this[_0x1c1b('0x20')]({'tag':_0x1c1b('0xc'),'attributes':{'class':[_0x1c1b('0x31')]},'children':[{'tag':_0x1c1b('0xc'),'attributes':{'class':[_0x1c1b('0x1'),this['bindTemplate']['if'](_0x1c1b('0x29'),_0x1c1b('0x15'))]},'children':[this[_0x1c1b('0x3c')],this[_0x1c1b('0x2c')]]}]}),this['keystrokes']['set'](_0x1c1b('0x3a'),(_0x1a4169,_0x1557c9)=>{this[_0x1c1b('0x2c')][_0x1c1b('0x9')](_0x1c1b('0x1f')),_0x1557c9();}),this['on'](_0x1c1b('0x8'),(_0x1e2e74,_0x348ed9)=>{_0x348ed9[_0x1c1b('0x24')]>0xfde8?(alert(_0x5326a8(_0x2bacbd,_0x1c1b('0x32'),[_0x348ed9[_0x1c1b('0x24')],0xfde8])),_0x1e2e74[_0x1c1b('0x1d')]()):this['editor']['setData']('');},{'priority':_0x1c1b('0x11')});}[_0x1c1b('0x12')](){super[_0x1c1b('0x12')](),this[_0x1c1b('0x3b')][_0x1c1b('0x28')](this[_0x1c1b('0x39')]),this['focusTracker'][_0x1c1b('0x2d')](this[_0x1c1b('0x39')]);}[_0x1c1b('0x7')](){return this[_0x1c1b('0xa')]||(this[_0x1c1b('0xa')]=new _0x2a9e76(this[_0x1c1b('0x1c')]),this[_0x1c1b('0x6')]=this[_0x1c1b('0xa')]['create']()[_0x1c1b('0xb')](()=>{this['_isDestroyed']||(this[_0x1c1b('0x39')][_0x1c1b('0x38')](this[_0x1c1b('0xa')]['ui'][_0x1c1b('0x39')],this[_0x1c1b('0x39')][_0x1c1b('0x27')]),this[_0x1c1b('0xa')][_0x1c1b('0x1b')][_0x1c1b('0x1a')]['on'](_0x1c1b('0x19'),()=>this['value']=this[_0x1c1b('0xa')]['getData']()),this[_0x1c1b('0xa')]['bind'](_0x1c1b('0x2e'))['to'](this),this[_0x1c1b('0xf')](this[_0x1c1b('0xa')]),this[_0x1c1b('0x9')](_0x1c1b('0x10')));})),this['_editorCreationPromise'];}[_0x1c1b('0x25')](){this[_0x1c1b('0xa')]&&this[_0x1c1b('0xa')][_0x1c1b('0x25')]();}async[_0x1c1b('0x14')](){this['_isDestroyed']||(this[_0x1c1b('0x30')]=!0x0,this['editor']&&(await this[_0x1c1b('0x6')],await this[_0x1c1b('0xa')][_0x1c1b('0x14')]()),await super[_0x1c1b('0x14')]());}['_createSubmitButton'](){const {locale:_0x3172e3}=this,_0x516928=new _0x63505d(_0x3172e3);return _0x516928[_0x1c1b('0x18')]({'attributes':{'class':[_0x1c1b('0x17')]}}),_0x516928[_0x1c1b('0xe')]=_0x5326a8(_0x3172e3,'Submit'),_0x516928[_0x1c1b('0x5')]=_0x1521eb[_0x1c1b('0x34')],_0x516928['on']('execute',()=>{this['fire'](_0x1c1b('0x8'),this[_0x1c1b('0x13')]);}),_0x516928[_0x1c1b('0x23')]('isEnabled')['to'](this,'value',this,'disabledSubmit',(_0x313c91,_0x21adda)=>!_0x21adda&&!!_0x313c91[_0x1c1b('0x3')]()),_0x516928;}[_0x1c1b('0x26')](){const {locale:_0x2086ca}=this,_0x8032d6=new _0x63505d(_0x2086ca);return _0x8032d6['extendTemplate']({'attributes':{'class':[_0x1c1b('0x0')]}}),_0x8032d6['label']=_0x5326a8(_0x2086ca,_0x1c1b('0x1e')),_0x8032d6[_0x1c1b('0x5')]=_0x1521eb[_0x1c1b('0xd')],_0x8032d6['on']('execute',()=>{this[_0x1c1b('0xa')][_0x1c1b('0x21')](''),this[_0x1c1b('0x9')](_0x1c1b('0xd'));}),_0x8032d6;}['_initializeFocusCycling'](_0xe541c9){const _0x25ad85=this['focusTracker'],_0xfc964f=new _0x4e32a5();[_0xe541c9['ui']['view'],this[_0x1c1b('0x3c')],this[_0x1c1b('0x2c')]][_0x1c1b('0x2')](_0x419d22=>{_0xfc964f[_0x1c1b('0x2d')](_0x419d22),_0x25ad85[_0x1c1b('0x2d')](_0x419d22['element']);});const _0x4c4f40=new _0x8419d1({'focusables':_0xfc964f,'focusTracker':_0x25ad85});this[_0x1c1b('0x3b')][_0x1c1b('0x2f')](_0x1c1b('0x35'),(_0x44a141,_0x34e918)=>{_0x4c4f40[_0x1c1b('0x4')](),_0x34e918();},{'priority':_0x1c1b('0x16')}),this['keystrokes'][_0x1c1b('0x2f')](_0x1c1b('0x2a'),(_0x396ee5,_0x5cd508)=>{_0x4c4f40[_0x1c1b('0x33')](),_0x5cd508();},{'priority':'low'});}}
23
+ const _0x354d=['_editorCreationPromise','model','destroy','insertBefore','createEditor','editor','placeholder','focusNext','TOO_LONG_COMMENT_ALERT','ck-comment__input-actions--submit','isEnabled','extendTemplate','submitButtonView','_isDestroyed','setData','_createSubmitButton','label','then','value','Esc','set','tab','focusTracker','add','_initializeFocusCycling','_createCancelButton','fire','div','disabledSubmit','stop','cancelButtonView','cancel','showButtons','bind','ck-comment__input-wrapper','forEach','render','submit','focus','view','Reply...','initialData','keystrokes','length','icon','element','change','editorReady','ck-comment__input-actions--active','bindTemplate','_editorConfig','low','execute','ck-comment__input-actions--cancel'];(function(_0x58c40d,_0x354d6a){const _0x2c4f27=function(_0x196314){while(--_0x196314){_0x58c40d['push'](_0x58c40d['shift']());}};_0x2c4f27(++_0x354d6a);}(_0x354d,0x1d9));const _0x2c4f=function(_0x58c40d,_0x354d6a){_0x58c40d=_0x58c40d-0x0;let _0x2c4f27=_0x354d[_0x58c40d];return _0x2c4f27;};import{View as _0x9ab1d8,ViewCollection as _0x2afe00,FocusCycler as _0x34f251,ButtonView as _0x1f1a43}from'ckeditor5/src/ui';import{FocusTracker as _0x24739f,KeystrokeHandler as _0x25ab13}from'ckeditor5/src/utils';import{icons as _0x3e1bf9}from'ckeditor5/src/core';import _0x1eb332 from'../commenteditor/commenteditor';import{getTranslation as _0x21df32}from'../../../utils/common-translations';export default class Tt extends _0x9ab1d8{constructor(_0x46b3e3,_0x207159={}){super(_0x46b3e3),this[_0x2c4f('0x12')]=null,this[_0x2c4f('0x9')]=_0x207159,this[_0x2c4f('0x1')]=new _0x25ab13(),this[_0x2c4f('0x23')]=new _0x24739f(),this['set'](_0x2c4f('0x1f'),_0x207159[_0x2c4f('0x0')]||''),this[_0x2c4f('0x21')](_0x2c4f('0x29'),!0x1),this[_0x2c4f('0x21')](_0x2c4f('0x2d'),!0x0),this[_0x2c4f('0x21')](_0x2c4f('0x13'),_0x21df32(_0x46b3e3,_0x2c4f('0x35'))),this[_0x2c4f('0x19')]=this['_createSubmitButton'](),this['cancelButtonView']=this[_0x2c4f('0x26')](),this['setTemplate']({'tag':_0x2c4f('0x28'),'attributes':{'class':[_0x2c4f('0x2f')]},'children':[{'tag':_0x2c4f('0x28'),'attributes':{'class':['ck-comment__input-actions',this[_0x2c4f('0x8')]['if'](_0x2c4f('0x2d'),_0x2c4f('0x7'))]},'children':[this[_0x2c4f('0x19')],this[_0x2c4f('0x2b')]]}]}),this[_0x2c4f('0x1')][_0x2c4f('0x21')](_0x2c4f('0x20'),(_0x1c67bc,_0x182867)=>{this[_0x2c4f('0x2b')][_0x2c4f('0x27')](_0x2c4f('0xb')),_0x182867();}),this['on'](_0x2c4f('0x32'),(_0x24c6da,_0x4874c8)=>{_0x4874c8[_0x2c4f('0x2')]>0xfde8?(alert(_0x21df32(_0x46b3e3,_0x2c4f('0x15'),[_0x4874c8[_0x2c4f('0x2')],0xfde8])),_0x24c6da[_0x2c4f('0x2a')]()):this[_0x2c4f('0x12')][_0x2c4f('0x1b')]('');},{'priority':'high'});}[_0x2c4f('0x31')](){super[_0x2c4f('0x31')](),this['keystrokes']['listenTo'](this[_0x2c4f('0x4')]),this[_0x2c4f('0x23')][_0x2c4f('0x24')](this['element']);}[_0x2c4f('0x11')](){return this[_0x2c4f('0x12')]||(this[_0x2c4f('0x12')]=new _0x1eb332(this[_0x2c4f('0x9')]),this['_editorCreationPromise']=this[_0x2c4f('0x12')]['create']()[_0x2c4f('0x1e')](()=>{this['_isDestroyed']||(this[_0x2c4f('0x4')][_0x2c4f('0x10')](this['editor']['ui'][_0x2c4f('0x4')],this[_0x2c4f('0x4')]['firstChild']),this[_0x2c4f('0x12')][_0x2c4f('0xe')]['document']['on'](_0x2c4f('0x5'),()=>this[_0x2c4f('0x1f')]=this['editor']['getData']()),this[_0x2c4f('0x12')][_0x2c4f('0x2e')](_0x2c4f('0x13'))['to'](this),this[_0x2c4f('0x25')](this[_0x2c4f('0x12')]),this[_0x2c4f('0x27')](_0x2c4f('0x6')));})),this[_0x2c4f('0xd')];}['focus'](){this['editor']&&this['editor'][_0x2c4f('0x33')]();}async[_0x2c4f('0xf')](){this[_0x2c4f('0x1a')]||(this[_0x2c4f('0x1a')]=!0x0,this['editor']&&(await this[_0x2c4f('0xd')],await this[_0x2c4f('0x12')][_0x2c4f('0xf')]()),await super['destroy']());}[_0x2c4f('0x1c')](){const {locale:_0x25bf37}=this,_0x1dc8c7=new _0x1f1a43(_0x25bf37);return _0x1dc8c7[_0x2c4f('0x18')]({'attributes':{'class':[_0x2c4f('0x16')]}}),_0x1dc8c7['label']=_0x21df32(_0x25bf37,'Submit'),_0x1dc8c7['icon']=_0x3e1bf9['check'],_0x1dc8c7['on'](_0x2c4f('0xb'),()=>{this[_0x2c4f('0x27')](_0x2c4f('0x32'),this[_0x2c4f('0x1f')]);}),_0x1dc8c7[_0x2c4f('0x2e')](_0x2c4f('0x17'))['to'](this,_0x2c4f('0x1f'),this,'disabledSubmit',(_0x139004,_0xef87a9)=>!_0xef87a9&&!!_0x139004['trim']()),_0x1dc8c7;}['_createCancelButton'](){const {locale:_0x1fe643}=this,_0x54ba64=new _0x1f1a43(_0x1fe643);return _0x54ba64[_0x2c4f('0x18')]({'attributes':{'class':[_0x2c4f('0xc')]}}),_0x54ba64[_0x2c4f('0x1d')]=_0x21df32(_0x1fe643,'Cancel'),_0x54ba64[_0x2c4f('0x3')]=_0x3e1bf9[_0x2c4f('0x2c')],_0x54ba64['on'](_0x2c4f('0xb'),()=>{this[_0x2c4f('0x12')][_0x2c4f('0x1b')](''),this['fire'](_0x2c4f('0x2c'));}),_0x54ba64;}[_0x2c4f('0x25')](_0xb25cea){const _0x10d23c=this[_0x2c4f('0x23')],_0x99a17e=new _0x2afe00();[_0xb25cea['ui'][_0x2c4f('0x34')],this['submitButtonView'],this['cancelButtonView']][_0x2c4f('0x30')](_0x47c83c=>{_0x99a17e[_0x2c4f('0x24')](_0x47c83c),_0x10d23c[_0x2c4f('0x24')](_0x47c83c[_0x2c4f('0x4')]);});const _0x58aa6f=new _0x34f251({'focusables':_0x99a17e,'focusTracker':_0x10d23c});this[_0x2c4f('0x1')]['set'](_0x2c4f('0x22'),(_0x212466,_0x1e42d5)=>{_0x58aa6f[_0x2c4f('0x14')](),_0x1e42d5();},{'priority':_0x2c4f('0xa')}),this['keystrokes'][_0x2c4f('0x21')]('shift\x20+\x20tab',(_0x5572ad,_0x2f3a52)=>{_0x58aa6f['focusPrevious'](),_0x2f3a52();},{'priority':_0x2c4f('0xa')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2749=['isActive','remove','listenTo','change:hasDirtyComment','editorConfig','_handleNewCommentModel','bind','insert','from','_config','_handleRemoveCommentModel','some','add','refreshVisibleViews','length','comments','updateComment','get','visibleViews','isEditMode','locale','element','equal','render','focus','setTemplate','change:isEditMode','_collapsedCommentsView','hasDirtyComment','destroy','CommentView','delegate','_rearrangeCollapse','weight','viewUid','commentUpdated','collapse','commentViews','removeComment','_model','ck-thread__comments','count','createCollection','expand','_shouldCollapse','_updateHasDirtyComment'];(function(_0xac3c02,_0x274925){const _0x3f2274=function(_0x49342a){while(--_0x49342a){_0xac3c02['push'](_0xac3c02['shift']());}};_0x3f2274(++_0x274925);}(_0x2749,0x91));const _0x3f22=function(_0xac3c02,_0x274925){_0xac3c02=_0xac3c02-0x0;let _0x3f2274=_0x2749[_0xac3c02];return _0x3f2274;};import{View as _0x564172}from'ckeditor5/src/ui';import{diff as _0xa99353,Collection as _0x47e4c9}from'ckeditor5/src/utils';import _0x51807b from'./collapsedcommentsview';export default class ct extends _0x564172{constructor(_0x40d1e6,_0x127c43,_0x373c52){super(_0x40d1e6),this['set'](_0x3f22('0x15'),!0x1),this['set'](_0x3f22('0x7'),_0x127c43[_0x3f22('0x8')]['length']),this['set']('isActive',!0x1),this[_0x3f22('0x20')]=_0x127c43,this['_config']=_0x373c52,this['commentViews']=this[_0x3f22('0x23')](),this['visibleViews']=this[_0x3f22('0x23')](),this['_collapsedCommentsView']=new _0x51807b(_0x40d1e6),this[_0x3f22('0x14')][_0x3f22('0x2d')]('count')['to'](this,_0x3f22('0x7'),_0x42194e=>_0x42194e-this[_0x3f22('0x2')]['maxCommentsWhenCollapsed']);for(const _0xb9b5b2 of _0x127c43[_0x3f22('0x8')])this[_0x3f22('0x2c')](_0xb9b5b2);this[_0x3f22('0x29')](_0x127c43[_0x3f22('0x8')],'add',(_0x74c3f7,_0x4d3c33)=>{this[_0x3f22('0x7')]++,this[_0x3f22('0x2c')](_0x4d3c33),this['refreshVisibleViews']();}),this[_0x3f22('0x29')](_0x127c43[_0x3f22('0x8')],_0x3f22('0x28'),(_0x44c3f3,_0x391866)=>{this[_0x3f22('0x7')]--,this[_0x3f22('0x3')](_0x391866),this[_0x3f22('0x6')]();}),this[_0x3f22('0x29')](_0x127c43,_0x3f22('0x1c'),()=>this[_0x3f22('0x6')]()),this['on']('change:isActive',()=>this[_0x3f22('0x6')]()),this['on'](_0x3f22('0x2a'),()=>this[_0x3f22('0x6')]()),this[_0x3f22('0x12')]({'tag':'ul','attributes':{'class':[_0x3f22('0x21')]},'children':this[_0x3f22('0xb')]});}get[_0x3f22('0x25')](){return this[_0x3f22('0x20')][_0x3f22('0x1a')]>this['_config']['maxThreadTotalWeight']&&!this[_0x3f22('0x27')]&&!this[_0x3f22('0x15')];}[_0x3f22('0x10')](){super[_0x3f22('0x10')](),this[_0x3f22('0x6')]();}['focus'](){this[_0x3f22('0xe')][_0x3f22('0x11')]();}[_0x3f22('0x16')](){this['_collapsedCommentsView']['destroy']();for(const _0x30e8d5 of this[_0x3f22('0x1e')])_0x30e8d5[_0x3f22('0x16')]();super[_0x3f22('0x16')]();}[_0x3f22('0x6')](){this[_0x3f22('0x25')]?this['_rearrangeCollapse']():this['_rearrangeExpand']();}['_handleNewCommentModel'](_0x589e5e){const _0x228333=new this[(_0x3f22('0x2'))][(_0x3f22('0x17'))](this[_0x3f22('0xd')],_0x589e5e,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this[_0x3f22('0x2')]['formatDateTime'],'editorConfig':this[_0x3f22('0x2')][_0x3f22('0x2b')]});_0x228333[_0x3f22('0x1b')]=_0x589e5e['id'],_0x228333[_0x3f22('0x18')](_0x3f22('0x1f'))['to'](this),_0x228333['delegate'](_0x3f22('0x9'))['to'](this),this['listenTo'](_0x228333,_0x3f22('0x13'),()=>this['_updateHasDirtyComment']()),this['commentViews'][_0x3f22('0x5')](_0x228333);}[_0x3f22('0x3')](_0x415f96){const _0x4775a4=this[_0x3f22('0x1e')][_0x3f22('0x28')](_0x415f96['id']);this['stopListening'](_0x4775a4),_0x4775a4[_0x3f22('0xc')]&&this['_updateHasDirtyComment'](),_0x4775a4[_0x3f22('0x16')]();}[_0x3f22('0x26')](){this[_0x3f22('0x15')]=Array['from'](this[_0x3f22('0x1e')])[_0x3f22('0x4')](_0x319f31=>_0x319f31['isEditMode']);}[_0x3f22('0x19')](){const _0x1fb8a4=function(_0x760e89){const _0x5478e4=new _0x47e4c9();for(const _0xaa00db of _0x760e89)_0x5478e4[_0x3f22('0x5')](_0xaa00db);return _0x5478e4;}(this['commentViews']),_0x5c6f78=this[_0x3f22('0x14')][_0x3f22('0x22')];for(let _0x27e7c8=0x1;_0x27e7c8<=_0x5c6f78;_0x27e7c8++)_0x1fb8a4[_0x3f22('0x28')](0x1);for(const _0x5deb3f of _0x1fb8a4)_0x5deb3f[_0x3f22('0x1d')]();_0x5c6f78>0x0&&_0x1fb8a4[_0x3f22('0x5')](this['_collapsedCommentsView'],0x1),Wt(_0xa99353(Array[_0x3f22('0x1')](this[_0x3f22('0xb')]),Array['from'](_0x1fb8a4)),this[_0x3f22('0xb')],_0x1fb8a4);}['_rearrangeExpand'](){Wt(_0xa99353(Array[_0x3f22('0x1')](this[_0x3f22('0xb')]),Array[_0x3f22('0x1')](this[_0x3f22('0x1e')])),this[_0x3f22('0xb')],this[_0x3f22('0x1e')]);for(const _0x45f4b0 of this[_0x3f22('0xb')])_0x45f4b0[_0x3f22('0x24')]();}}function Wt(_0x3544c8,_0x5899e6,_0x46b088){let _0x4a1bf1=0x0;for(const _0x59f3a4 of _0x3544c8)switch(_0x59f3a4){case _0x3f22('0x0'):_0x5899e6[_0x3f22('0x5')](_0x46b088[_0x3f22('0xa')](_0x4a1bf1),_0x4a1bf1),_0x4a1bf1++;break;case'delete':_0x5899e6[_0x3f22('0x28')](_0x4a1bf1);break;case _0x3f22('0xf'):_0x4a1bf1++;}}
23
+ const _0x25ce=['_shouldCollapse','createCollection','change:isActive','equal','remove','viewUid','maxCommentCharsWhenCollapsed','set','_rearrangeCollapse','insert','removeComment','from','expand','isEditMode','comments','delegate','add','bind','_rearrangeExpand','commentViews','isActive','CommentView','ck-thread__comments','_updateHasDirtyComment','maxThreadTotalWeight','_handleRemoveCommentModel','editorConfig','setTemplate','locale','_handleNewCommentModel','formatDateTime','delete','change:isEditMode','render','destroy','refreshVisibleViews','hasDirtyComment','count','listenTo','commentUpdated','_model','_config','some','length','change:hasDirtyComment','_collapsedCommentsView','focus','stopListening','collapse','visibleViews','weight','get'];(function(_0x275926,_0x25ce51){const _0x5ca771=function(_0x7fe068){while(--_0x7fe068){_0x275926['push'](_0x275926['shift']());}};_0x5ca771(++_0x25ce51);}(_0x25ce,0x109));const _0x5ca7=function(_0x275926,_0x25ce51){_0x275926=_0x275926-0x0;let _0x5ca771=_0x25ce[_0x275926];return _0x5ca771;};import{View as _0xee7359}from'ckeditor5/src/ui';import{diff as _0x58b884,Collection as _0x47010f}from'ckeditor5/src/utils';import _0x194bcd from'./collapsedcommentsview';export default class dt extends _0xee7359{constructor(_0x974c7e,_0x44a0b6,_0x704d60){super(_0x974c7e),this[_0x5ca7('0x2')](_0x5ca7('0x1f'),!0x1),this[_0x5ca7('0x2')](_0x5ca7('0x26'),_0x44a0b6[_0x5ca7('0x9')][_0x5ca7('0x26')]),this[_0x5ca7('0x2')](_0x5ca7('0xf'),!0x1),this[_0x5ca7('0x23')]=_0x44a0b6,this[_0x5ca7('0x24')]=_0x704d60,this['commentViews']=this['createCollection'](),this[_0x5ca7('0x2c')]=this[_0x5ca7('0x30')](),this[_0x5ca7('0x28')]=new _0x194bcd(_0x974c7e),this[_0x5ca7('0x28')][_0x5ca7('0xc')](_0x5ca7('0x20'))['to'](this,'length',_0x15a765=>_0x15a765-this[_0x5ca7('0x24')]['maxCommentsWhenCollapsed']);for(const _0x4f8557 of _0x44a0b6[_0x5ca7('0x9')])this['_handleNewCommentModel'](_0x4f8557);this[_0x5ca7('0x21')](_0x44a0b6[_0x5ca7('0x9')],'add',(_0x4e7dd6,_0x3b2bb7)=>{this[_0x5ca7('0x26')]++,this[_0x5ca7('0x18')](_0x3b2bb7),this['refreshVisibleViews']();}),this[_0x5ca7('0x21')](_0x44a0b6[_0x5ca7('0x9')],_0x5ca7('0x33'),(_0x3425e4,_0x3bd207)=>{this['length']--,this[_0x5ca7('0x14')](_0x3bd207),this['refreshVisibleViews']();}),this[_0x5ca7('0x21')](_0x44a0b6,_0x5ca7('0x22'),()=>this[_0x5ca7('0x1e')]()),this['on'](_0x5ca7('0x31'),()=>this[_0x5ca7('0x1e')]()),this['on'](_0x5ca7('0x27'),()=>this['refreshVisibleViews']()),this[_0x5ca7('0x16')]({'tag':'ul','attributes':{'class':[_0x5ca7('0x11')]},'children':this[_0x5ca7('0x2c')]});}get[_0x5ca7('0x2f')](){return this[_0x5ca7('0x23')][_0x5ca7('0x2d')]>this[_0x5ca7('0x24')][_0x5ca7('0x13')]&&!this[_0x5ca7('0xf')]&&!this[_0x5ca7('0x1f')];}[_0x5ca7('0x1c')](){super[_0x5ca7('0x1c')](),this[_0x5ca7('0x1e')]();}[_0x5ca7('0x29')](){this['element'][_0x5ca7('0x29')]();}[_0x5ca7('0x1d')](){this[_0x5ca7('0x28')][_0x5ca7('0x1d')]();for(const _0x4c113a of this['commentViews'])_0x4c113a[_0x5ca7('0x1d')]();super[_0x5ca7('0x1d')]();}[_0x5ca7('0x1e')](){this[_0x5ca7('0x2f')]?this[_0x5ca7('0x3')]():this['_rearrangeExpand']();}[_0x5ca7('0x18')](_0x30260f){const _0x2ac071=new this[(_0x5ca7('0x24'))][(_0x5ca7('0x10'))](this[_0x5ca7('0x17')],_0x30260f,{'maxCommentCharsWhenCollapsed':this['_config'][_0x5ca7('0x1')],'formatDateTime':this[_0x5ca7('0x24')][_0x5ca7('0x19')],'editorConfig':this['_config'][_0x5ca7('0x15')]});_0x2ac071[_0x5ca7('0x0')]=_0x30260f['id'],_0x2ac071[_0x5ca7('0xa')](_0x5ca7('0x5'))['to'](this),_0x2ac071[_0x5ca7('0xa')]('updateComment')['to'](this),this[_0x5ca7('0x21')](_0x2ac071,_0x5ca7('0x1b'),()=>this[_0x5ca7('0x12')]()),this[_0x5ca7('0xe')]['add'](_0x2ac071);}[_0x5ca7('0x14')](_0xca9da3){const _0x2e083d=this['commentViews'][_0x5ca7('0x33')](_0xca9da3['id']);this[_0x5ca7('0x2a')](_0x2e083d),_0x2e083d[_0x5ca7('0x8')]&&this['_updateHasDirtyComment'](),_0x2e083d[_0x5ca7('0x1d')]();}[_0x5ca7('0x12')](){this[_0x5ca7('0x1f')]=Array['from'](this['commentViews'])[_0x5ca7('0x25')](_0x460d2d=>_0x460d2d[_0x5ca7('0x8')]);}['_rearrangeCollapse'](){const _0x574530=function(_0xdfdea4){const _0x5273f3=new _0x47010f();for(const _0x340702 of _0xdfdea4)_0x5273f3[_0x5ca7('0xb')](_0x340702);return _0x5273f3;}(this[_0x5ca7('0xe')]),_0x49a8d5=this[_0x5ca7('0x28')][_0x5ca7('0x20')];for(let _0x284b3c=0x1;_0x284b3c<=_0x49a8d5;_0x284b3c++)_0x574530[_0x5ca7('0x33')](0x1);for(const _0x1fde0e of _0x574530)_0x1fde0e[_0x5ca7('0x2b')]();_0x49a8d5>0x0&&_0x574530[_0x5ca7('0xb')](this['_collapsedCommentsView'],0x1),Wt(_0x58b884(Array[_0x5ca7('0x6')](this['visibleViews']),Array['from'](_0x574530)),this[_0x5ca7('0x2c')],_0x574530);}[_0x5ca7('0xd')](){Wt(_0x58b884(Array['from'](this[_0x5ca7('0x2c')]),Array[_0x5ca7('0x6')](this[_0x5ca7('0xe')])),this['visibleViews'],this['commentViews']);for(const _0x4afaae of this[_0x5ca7('0x2c')])_0x4afaae[_0x5ca7('0x7')]();}}function Wt(_0x20fbc7,_0x1da03c,_0x69e660){let _0x4db9fe=0x0;for(const _0x1b7dea of _0x20fbc7)switch(_0x1b7dea){case _0x5ca7('0x4'):_0x1da03c[_0x5ca7('0xb')](_0x69e660[_0x5ca7('0x2e')](_0x4db9fe),_0x4db9fe),_0x4db9fe++;break;case _0x5ca7('0x1a'):_0x1da03c[_0x5ca7('0x33')](_0x4db9fe);break;case _0x5ca7('0x32'):_0x4db9fe++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5e2f=['setTemplate','editor','div','userView','showInput','ck-thread__input','value','then','set','extendTemplate','commentInputView','ck-comment__input-container--active','showButtons','focusTracker','bindTemplate','ck-thread__user','createEditor','isFocused','change:showInput'];(function(_0x5f4a48,_0x5e2f70){var _0x5518a7=function(_0x3236dd){while(--_0x3236dd){_0x5f4a48['push'](_0x5f4a48['shift']());}};_0x5518a7(++_0x5e2f70);}(_0x5e2f,0x1f4));var _0x5518=function(_0x5f4a48,_0x5e2f70){_0x5f4a48=_0x5f4a48-0x0;var _0x5518a7=_0x5e2f[_0x5f4a48];return _0x5518a7;};import{View as _0x1edc1b}from'ckeditor5/src/ui';import _0x11d8fe from'./commentinputview';import{UserView as _0x20faec}from'ckeditor5-collaboration/src/collaboration-core';export default class dt extends _0x1edc1b{constructor(_0x17b190,_0xac1b96,_0x2d588c){super(_0x17b190),this[_0x5518('0x4')]=new _0x11d8fe(_0x17b190,_0x2d588c),this[_0x5518('0x4')]['bind'](_0x5518('0x6'))['to'](this[_0x5518('0x4')][_0x5518('0x7')],_0x5518('0xb'),this[_0x5518('0x4')],_0x5518('0x0'),(_0x4b8bb9,_0x159ad9)=>_0x4b8bb9||!!_0x159ad9),this[_0x5518('0x2')](_0x5518('0x11'),!0x1),this['on'](_0x5518('0xc'),()=>{this['showInput']&&!this[_0x5518('0x4')][_0x5518('0xe')]&&this[_0x5518('0x4')][_0x5518('0xa')]();}),this[_0x5518('0x10')]=new _0x20faec(_0x17b190,_0xac1b96),this['userView'][_0x5518('0x3')]({'attributes':{'class':_0x5518('0x9')}}),this[_0x5518('0x4')][_0x5518('0x3')]({'attributes':{'class':_0x5518('0x12')}}),this[_0x5518('0xd')]({'tag':_0x5518('0xf'),'attributes':{'class':['ck-comment__input-container',this[_0x5518('0x8')]['if'](_0x5518('0x11'),_0x5518('0x5'))]},'children':[this['userView'],this['commentInputView']]});}['destroy'](){return this['commentInputView']['destroy']()[_0x5518('0x1')](()=>super['destroy']());}}
23
+ var _0x1876=['then','ck-thread__user','ck-comment__input-container--active','showButtons','editor','extendTemplate','set','createEditor','change:showInput','commentInputView','isFocused','ck-comment__input-container','div','focusTracker','setTemplate','bind','showInput','userView','destroy'];(function(_0x6757de,_0x1876db){var _0x1046f2=function(_0x513f1f){while(--_0x513f1f){_0x6757de['push'](_0x6757de['shift']());}};_0x1046f2(++_0x1876db);}(_0x1876,0x7f));var _0x1046=function(_0x6757de,_0x1876db){_0x6757de=_0x6757de-0x0;var _0x1046f2=_0x1876[_0x6757de];return _0x1046f2;};import{View as _0x380b59}from'ckeditor5/src/ui';import _0x542d0d from'./commentinputview';import{UserView as _0x59079d}from'ckeditor5-collaboration/src/collaboration-core';export default class ut extends _0x380b59{constructor(_0x36815d,_0x97d2e7,_0x1cec5e){super(_0x36815d),this['commentInputView']=new _0x542d0d(_0x36815d,_0x1cec5e),this[_0x1046('0xf')][_0x1046('0x2')](_0x1046('0x9'))['to'](this[_0x1046('0xf')][_0x1046('0x0')],_0x1046('0x10'),this[_0x1046('0xf')],'value',(_0x2d6c79,_0x4a70aa)=>_0x2d6c79||!!_0x4a70aa),this[_0x1046('0xc')](_0x1046('0x3'),!0x1),this['on'](_0x1046('0xe'),()=>{this[_0x1046('0x3')]&&!this[_0x1046('0xf')][_0x1046('0xa')]&&this[_0x1046('0xf')][_0x1046('0xd')]();}),this[_0x1046('0x4')]=new _0x59079d(_0x36815d,_0x97d2e7),this[_0x1046('0x4')]['extendTemplate']({'attributes':{'class':_0x1046('0x7')}}),this[_0x1046('0xf')][_0x1046('0xb')]({'attributes':{'class':'ck-thread__input'}}),this[_0x1046('0x1')]({'tag':_0x1046('0x12'),'attributes':{'class':[_0x1046('0x11'),this['bindTemplate']['if']('showInput',_0x1046('0x8'))]},'children':[this[_0x1046('0x4')],this[_0x1046('0xf')]]});}['destroy'](){return this[_0x1046('0xf')]['destroy']()[_0x1046('0x6')](()=>super[_0x1046('0x5')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x377d=['containerElement','removeButton','actionIndicator','locale','ck-thread--','Delete\x20comment\x20thread?','Write\x20a\x20comment...','get','div','_bindFirstCommentView','fire','length','commentViews','element','stop','render','add','then','cancelConfirm','listenTo','bind','bindTemplate','remove','ck-thread__container','commentsListView','set','.ck-thread__container','isActive','ck-thread--active','ck-thread','_model','high','getTemplate','ck-thread--remove-confirmation','off','change:isActive','_cancelAllConfirms','isConfirm','removeCommentThread','execute','change:isReadOnly'];(function(_0x14d8c0,_0x377da2){const _0x3a4bde=function(_0x5c6cd1){while(--_0x5c6cd1){_0x14d8c0['push'](_0x14d8c0['shift']());}};_0x3a4bde(++_0x377da2);}(_0x377d,0xbb));const _0x3a4b=function(_0x14d8c0,_0x377da2){_0x14d8c0=_0x14d8c0-0x0;let _0x3a4bde=_0x377d[_0x14d8c0];return _0x3a4bde;};import{mix as _0x566319}from'ckeditor5/src/utils';import{ConfirmMixin as _0x4c6132}from'ckeditor5-collaboration/src/collaboration-core';import _0x4330c9 from'./basecommentthreadview';import{getTranslation as _0x21f919}from'../../../utils/common-translations';export default class nt extends _0x4330c9{constructor(_0x31103f,_0x11df74,_0xa9e66c,_0x5280fa){super(_0x31103f,_0x11df74,_0xa9e66c,_0x5280fa),this[_0x3a4b('0x2')](_0x3a4b('0x14'),null),this[_0x3a4b('0x12')]=null,this[_0x3a4b('0x15')]=_0x31103f,this['setTemplate'](this[_0x3a4b('0x9')]()),this['on'](_0x3a4b('0xc'),(_0x3c32df,_0x21523e,_0x10dff2)=>{_0x10dff2||this['_cancelAllConfirms']();}),this[_0x3a4b('0x25')](this[_0x3a4b('0x7')],_0x3a4b('0x11'),(_0x3ad993,_0x5717c4,_0x2afb12)=>{_0x2afb12&&this['_cancelAllConfirms']();}),this[_0x3a4b('0x1d')]>0x0?this['_bindFirstCommentView']():this['listenTo'](this[_0x3a4b('0x1')][_0x3a4b('0x1e')],_0x3a4b('0x22'),_0x244402=>{this[_0x3a4b('0x1b')](),_0x244402[_0x3a4b('0xb')]();});}[_0x3a4b('0x9')](){const _0x5d63a3=this[_0x3a4b('0x27')];return{'tag':_0x3a4b('0x1a'),'attributes':{'class':[_0x3a4b('0x6'),_0x5d63a3['if'](_0x3a4b('0x4'),_0x3a4b('0x5')),_0x5d63a3['if'](_0x3a4b('0xe'),_0x3a4b('0xa')),_0x5d63a3['to'](_0x3a4b('0x14'),_0x51f997=>_0x51f997?_0x3a4b('0x16')+_0x51f997:'')],'data-thread-id':this[_0x3a4b('0x7')]['id'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':_0x3a4b('0x0')},'children':[this['commentsListView'],this['commentThreadInputView']]}]};}['render'](){super[_0x3a4b('0x21')](),this[_0x3a4b('0x12')]=this[_0x3a4b('0x1f')]['querySelector'](_0x3a4b('0x3'));}[_0x3a4b('0xd')](){this[_0x3a4b('0x24')]();for(const _0x1e8945 of this[_0x3a4b('0x1')]['commentViews'])_0x1e8945[_0x3a4b('0x24')]();}[_0x3a4b('0x1b')](){const {locale:_0x3f3902}=this,_0x32e4d2=this[_0x3a4b('0x1')][_0x3a4b('0x1e')][_0x3a4b('0x19')](0x0);this[_0x3a4b('0x26')]('actionIndicator')['to'](_0x32e4d2,_0x3a4b('0x14'),_0x368936=>_0x3a4b('0x28')===_0x368936?_0x3a4b('0x28'):null),_0x32e4d2['placeholder']=_0x21f919(_0x3f3902,_0x3a4b('0x18')),_0x32e4d2[_0x3a4b('0x13')]['on'](_0x3a4b('0x10'),_0x171fc4=>{_0x171fc4[_0x3a4b('0x20')](),this['showConfirm'](_0x21f919(_0x3f3902,_0x3a4b('0x17')),this[_0x3a4b('0x12')])[_0x3a4b('0x23')](()=>{this[_0x3a4b('0x1c')](_0x3a4b('0xf'));});},{'priority':_0x3a4b('0x8')});}}_0x566319(nt,_0x4c6132);
23
+ const _0x2d74=['_bindFirstCommentView','fire','ck-thread--remove-confirmation','.ck-thread__container','set','listenTo','removeCommentThread','locale','_cancelAllConfirms','bind','element','length','change:isReadOnly','Delete\x20comment\x20thread?','div','getTemplate','ck-thread','render','containerElement','ck-thread__container','setTemplate','commentsListView','actionIndicator','remove','stop','commentThreadInputView','placeholder','bindTemplate','removeButton','_model','cancelConfirm','get','_boundFirstCommentView','commentViews','change:isActive','isActive','high'];(function(_0x77dff7,_0x2d7427){const _0x43a23c=function(_0x2ceef8){while(--_0x2ceef8){_0x77dff7['push'](_0x77dff7['shift']());}};_0x43a23c(++_0x2d7427);}(_0x2d74,0x83));const _0x43a2=function(_0x77dff7,_0x2d7427){_0x77dff7=_0x77dff7-0x0;let _0x43a23c=_0x2d74[_0x77dff7];return _0x43a23c;};import{mix as _0x57b2da}from'ckeditor5/src/utils';import{ConfirmMixin as _0x1ced57}from'ckeditor5-collaboration/src/collaboration-core';import _0x55b3b6 from'./basecommentthreadview';import{getTranslation as _0x3c34bb}from'../../../utils/common-translations';export default class ot extends _0x55b3b6{constructor(_0x50d3c4,_0x342482,_0x1ad6d6,_0x5c74ca){super(_0x50d3c4,_0x342482,_0x1ad6d6,_0x5c74ca),this[_0x43a2('0x15')](_0x43a2('0x2'),null),this['containerElement']=null,this[_0x43a2('0xc')]=null,this[_0x43a2('0x18')]=_0x50d3c4,this[_0x43a2('0x0')](this[_0x43a2('0x20')]()),this['on'](_0x43a2('0xe'),(_0x7f0281,_0x25e899,_0x5ecb6e)=>{_0x5ecb6e||this[_0x43a2('0x19')]();}),this[_0x43a2('0x16')](this[_0x43a2('0x9')],_0x43a2('0x1d'),(_0x3c35d0,_0xde4288,_0x1f8bd4)=>{_0x1f8bd4&&this[_0x43a2('0x19')]();}),this[_0x43a2('0x1c')]>0x0&&this[_0x43a2('0x11')](),this[_0x43a2('0x16')](this['commentsListView'][_0x43a2('0xd')],'add',()=>{this[_0x43a2('0x11')]();});}[_0x43a2('0x20')](){const _0x1993ec=this[_0x43a2('0x7')];return{'tag':_0x43a2('0x1f'),'attributes':{'class':[_0x43a2('0x21'),_0x1993ec['if'](_0x43a2('0xf'),'ck-thread--active'),_0x1993ec['if']('isConfirm',_0x43a2('0x13')),_0x1993ec['to'](_0x43a2('0x2'),_0x379f1e=>_0x379f1e?'ck-thread--'+_0x379f1e:'')],'data-thread-id':this[_0x43a2('0x9')]['id'],'tabindex':-0x1},'children':[{'tag':_0x43a2('0x1f'),'attributes':{'class':_0x43a2('0x24')},'children':[this[_0x43a2('0x1')],this[_0x43a2('0x5')]]}]};}[_0x43a2('0x22')](){super[_0x43a2('0x22')](),this[_0x43a2('0x23')]=this[_0x43a2('0x1b')]['querySelector'](_0x43a2('0x14'));}[_0x43a2('0x19')](){this[_0x43a2('0xa')]();for(const _0x26ec91 of this[_0x43a2('0x1')]['commentViews'])_0x26ec91[_0x43a2('0xa')]();}[_0x43a2('0x11')](){const {locale:_0xdefeeb}=this,_0x467042=this[_0x43a2('0x1')][_0x43a2('0xd')][_0x43a2('0xb')](0x0);_0x467042!==this['_boundFirstCommentView']&&(this[_0x43a2('0xc')]=_0x467042,this['unbind']('actionIndicator'),this[_0x43a2('0x1a')](_0x43a2('0x2'))['to'](_0x467042,_0x43a2('0x2'),_0x4c80c7=>_0x43a2('0x3')===_0x4c80c7?'remove':null),_0x467042[_0x43a2('0x6')]=_0x3c34bb(_0xdefeeb,'Write\x20a\x20comment...'),_0x467042[_0x43a2('0x8')]['on']('execute',_0x297e6d=>{_0x297e6d[_0x43a2('0x4')](),this['showConfirm'](_0x3c34bb(_0xdefeeb,_0x43a2('0x1e')),this[_0x43a2('0x23')])['then'](()=>{this[_0x43a2('0x12')](_0x43a2('0x17'));});},{'priority':_0x43a2('0x10')}));}}_0x57b2da(ot,_0x1ced57);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb4ef=['div','ck-comment--','render','userView','editButton','blur','ck-comment__external','EXTERNAL_COMMENT','icon','locale','formatDateTime','ck-comment__user','label','Remove','bind','_createEditButton','ck-comment--edit','extendTemplate','set','execute','ck-comment__actions--hidden','setTemplate','_createCommentInputView','ck-comment__actions','_attachActions','removeButton','Edit','ck-comment--remove-confirmation','isEnabled','removeComment','getTemplate','isEditable','ck-annotation__content-wrapper','push','ck-annotation__user','ck-annotation__main','ck-annotation__actions','ck-annotation__info','_model','placeholder','time','span','createdAt','isEditMode','switchToEditMode','element','change:isRemovable','edit','ck-annotation__info-time','externalAuthor','then','isReadOnly','ck-comment--remove','author','focus','_config','listenTo','ck-annotation','cancelConfirm','ck-comment','ck-annotation__actions--hidden','attributes','visibleView','ck-comment__info-name','_createRemoveButton','Delete\x20comment?','isConfirm','ck-annotation__info-name','remove','isRemovable','@external','actionIndicator','ck-comment__wrapper','ck-comment__main'];(function(_0x2e329f,_0xb4efa0){const _0x5e4dfa=function(_0x16bf6d){while(--_0x16bf6d){_0x2e329f['push'](_0x2e329f['shift']());}};_0x5e4dfa(++_0xb4efa0);}(_0xb4ef,0x126));const _0x5e4d=function(_0x2e329f,_0xb4efa0){_0x2e329f=_0x2e329f-0x0;let _0x5e4dfa=_0xb4ef[_0x2e329f];return _0x5e4dfa;};import{mix as _0x1ec9ea}from'ckeditor5/src/utils';import{ButtonView as _0x1026e6}from'ckeditor5/src/ui';import{icons as _0x3cb6d8}from'ckeditor5/src/core';import{UserView as _0x1dfa80,ConfirmMixin as _0x2230de}from'ckeditor5-collaboration/src/collaboration-core';import _0x104c6a from'./basecommentview';import _0x33d9af from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x28dd84}from'../../../utils/common-translations';export default class ot extends _0x104c6a{constructor(_0x1f93ed,_0x1f1d5d,_0x1726be){super(_0x1f93ed,_0x1f1d5d,_0x1726be),this[_0x5e4d('0x14')](_0x5e4d('0x49'),null),this[_0x5e4d('0x14')](_0x5e4d('0x29'),_0x28dd84(_0x1f93ed,'Reply...')),this[_0x5e4d('0x14')](_0x5e4d('0x2c'),null),this['bind'](_0x5e4d('0x2c'))['to'](_0x1f1d5d[_0x5e4d('0x33')]?_0x1f1d5d[_0x5e4d('0x3f')][_0x5e4d('0x48')]:_0x1f1d5d),this[_0x5e4d('0x6')]=this['_createEditButton'](),this[_0x5e4d('0x1b')]=this[_0x5e4d('0x42')](),this[_0x5e4d('0x5')]=new _0x1dfa80(_0x1f93ed,_0x1f1d5d[_0x5e4d('0x33')]||_0x1f1d5d[_0x5e4d('0x37')]),this[_0x5e4d('0x5')][_0x5e4d('0x13')]({'attributes':{'class':[_0x5e4d('0xd'),_0x5e4d('0x24')]}}),this[_0x5e4d('0x3a')](_0x1f1d5d,_0x5e4d('0x30'),()=>this[_0x5e4d('0x3c')]()),this[_0x5e4d('0x17')](this[_0x5e4d('0x20')]());}[_0x5e4d('0x20')](){const _0x2a2518=this['bindTemplate'],_0x324c1c=[{'tag':_0x5e4d('0x2'),'attributes':{'class':['ck-comment__info',_0x5e4d('0x27')]},'children':[{'tag':_0x5e4d('0x2b'),'children':[{'text':this['userView']['name']}],'attributes':{'class':[_0x5e4d('0x41'),_0x5e4d('0x45')]}},{'tag':_0x5e4d('0x2a'),'attributes':{'datetime':_0x2a2518['to']('createdAt'),'class':['ck-comment__info-time',_0x5e4d('0x32')]},'children':[{'text':_0x2a2518['to'](_0x5e4d('0x2c'),_0x31bf55=>this[_0x5e4d('0x39')][_0x5e4d('0xc')](_0x31bf55))}]}]},{'tag':_0x5e4d('0x2'),'attributes':{'class':[_0x5e4d('0x19'),_0x5e4d('0x26'),_0x2a2518['if'](_0x5e4d('0x2d'),_0x5e4d('0x16')),_0x2a2518['if'](_0x5e4d('0x2d'),_0x5e4d('0x3e'))]},'children':[this['editButton'],this['removeButton']]},{'tag':_0x5e4d('0x2'),'attributes':{'class':[_0x5e4d('0x22')]},'children':this[_0x5e4d('0x40')]}];return this[_0x5e4d('0x28')][_0x5e4d('0x33')]&&_0x324c1c[_0x5e4d('0x23')]({'tag':_0x5e4d('0x2'),'attributes':{'class':[_0x5e4d('0x8')]},'children':[{'text':_0x28dd84(this[_0x5e4d('0xb')],_0x5e4d('0x9'))}]}),{'tag':'li','attributes':{'class':[_0x5e4d('0x0'),_0x2a2518['if'](_0x5e4d('0x44'),_0x5e4d('0x1d'))],'tabindex':-0x1},'children':[{'tag':_0x5e4d('0x2'),'attributes':{'class':[_0x5e4d('0x3d'),_0x5e4d('0x3b'),_0x2a2518['if'](_0x5e4d('0x2d'),_0x5e4d('0x12')),_0x2a2518['to'](_0x5e4d('0x49'),_0x291b8b=>_0x291b8b?_0x5e4d('0x3')+_0x291b8b:'')],'data-author-id':this[_0x5e4d('0x28')][_0x5e4d('0x37')]['id'],'data-comment-id':this[_0x5e4d('0x28')]['id']},'children':[this['userView'],{'tag':'div','attributes':{'class':[_0x5e4d('0x1'),_0x5e4d('0x25')]},'children':_0x324c1c}]}]};}[_0x5e4d('0x11')](){const _0x62da2a=new _0x1026e6(this[_0x5e4d('0xb')]);return _0x62da2a[_0x5e4d('0xe')]=_0x28dd84(this[_0x5e4d('0xb')],_0x5e4d('0x1c')),_0x62da2a[_0x5e4d('0xa')]=_0x3cb6d8['pencil'],_0x62da2a[_0x5e4d('0x13')]({'attributes':{'class':_0x5e4d('0x12')}}),_0x62da2a[_0x5e4d('0x10')](_0x5e4d('0x1e'))['to'](this['_model'],_0x5e4d('0x35'),_0x2cc6f4=>!_0x2cc6f4),_0x62da2a[_0x5e4d('0x10')]('isVisible')['to'](this[_0x5e4d('0x28')],_0x5e4d('0x21')),_0x62da2a['on'](_0x5e4d('0x15'),()=>this[_0x5e4d('0x2e')]()),_0x62da2a;}['_createRemoveButton'](){const _0x2ccda3=new _0x1026e6(this[_0x5e4d('0xb')]);return _0x2ccda3[_0x5e4d('0xe')]=_0x28dd84(this[_0x5e4d('0xb')],_0x5e4d('0xf')),_0x2ccda3[_0x5e4d('0xa')]=_0x33d9af,_0x2ccda3['extendTemplate']({'attributes':{'class':_0x5e4d('0x36')}}),_0x2ccda3[_0x5e4d('0x10')](_0x5e4d('0x1e'))['to'](this[_0x5e4d('0x28')],_0x5e4d('0x35'),_0x1b33cd=>!_0x1b33cd),_0x2ccda3[_0x5e4d('0x10')]('isVisible')['to'](this[_0x5e4d('0x28')],_0x5e4d('0x47')),_0x2ccda3['on'](_0x5e4d('0x15'),()=>{this['showConfirm'](_0x28dd84(this[_0x5e4d('0xb')],_0x5e4d('0x43')),this[_0x5e4d('0x2f')])[_0x5e4d('0x34')](()=>{this['fire'](_0x5e4d('0x1f'),this['_model']['id']);});}),_0x2ccda3;}['_attachActions'](_0xf8ae5d,_0x38f82f){this[_0x5e4d('0x3a')](_0xf8ae5d,'mouseenter',()=>this[_0x5e4d('0x49')]=_0x38f82f),this[_0x5e4d('0x3a')](_0xf8ae5d,_0x5e4d('0x38'),()=>this[_0x5e4d('0x49')]=_0x38f82f),this[_0x5e4d('0x3a')](_0xf8ae5d,'mouseleave',()=>this[_0x5e4d('0x49')]=null),this[_0x5e4d('0x3a')](_0xf8ae5d,_0x5e4d('0x7'),()=>this[_0x5e4d('0x49')]=null);}[_0x5e4d('0x18')](){const _0x4458a3=super[_0x5e4d('0x18')]();return _0x4458a3[_0x5e4d('0x10')](_0x5e4d('0x29'))['to'](this),_0x4458a3;}[_0x5e4d('0x4')](){super['render'](),this['_attachActions'](this['editButton'][_0x5e4d('0x2f')],_0x5e4d('0x31')),this[_0x5e4d('0x1a')](this[_0x5e4d('0x1b')][_0x5e4d('0x2f')],_0x5e4d('0x46'));}}_0x1ec9ea(ot,_0x2230de);
23
+ const _0x486c=['ck-comment__actions--hidden','render','isVisible','EXTERNAL_IMPORT_WORD_COMMENT','focus','isRemovable','bindTemplate','getTemplate','_attachActions','edit','switchToEditMode','ck-annotation__user','change:isRemovable','name','then','ck-annotation__info','ck-comment__main','getExternalCommentNote','removeButton','set','removeComment','listenTo','attributes','@external','getUserViewNotificationText','showConfirm','Remove','isEditable','ck-annotation__info-time','extendTemplate','setTemplate','ck-comment--edit','ck-annotation','element','isExternal','actionIndicator','icon','EXTERNAL_AVATAR','_createRemoveButton','author','importWord','ck-comment__actions','Reply...','label','source','isEditMode','userView','bind','ck-comment__info-time','authoredAt','div','ck-comment__external','isConfirm','span','mouseenter','EXTERNAL_COMMENT','isEnabled','cancelConfirm','locale','blur','Delete\x20comment?','isReadOnly','fire','pencil','_model','ck-comment__wrapper','ck-comment','_createCommentInputView','creator','mouseleave','time','ck-comment--remove-confirmation','ck-comment__user','editButton','placeholder','formatDateTime','push'];(function(_0x4dc1c3,_0x486c60){const _0x2fa61b=function(_0x4ba944){while(--_0x4ba944){_0x4dc1c3['push'](_0x4dc1c3['shift']());}};_0x2fa61b(++_0x486c60);}(_0x486c,0x1aa));const _0x2fa6=function(_0x4dc1c3,_0x486c60){_0x4dc1c3=_0x4dc1c3-0x0;let _0x2fa61b=_0x486c[_0x4dc1c3];return _0x2fa61b;};import{mix as _0x3fcee8}from'ckeditor5/src/utils';import{ButtonView as _0x36956f}from'ckeditor5/src/ui';import{icons as _0x4aec82}from'ckeditor5/src/core';import{UserView as _0x5257a2,ConfirmMixin as _0x4d5e87}from'ckeditor5-collaboration/src/collaboration-core';import _0x584a4a from'./basecommentview';import _0x3a163d from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x4fb91c}from'../../../utils/common-translations';export default class it extends _0x584a4a{constructor(_0x206738,_0x34b06d,_0x436773){super(_0x206738,_0x34b06d,_0x436773),this['set'](_0x2fa6('0x47'),null),this[_0x2fa6('0x37')](_0x2fa6('0x21'),_0x4fb91c(_0x206738,_0x2fa6('0x1'))),this[_0x2fa6('0x37')]('authoredAt',null),this[_0x2fa6('0x6')](_0x2fa6('0x8'))['to'](_0x34b06d),this[_0x2fa6('0x20')]=this['_createEditButton'](),this[_0x2fa6('0x36')]=this[_0x2fa6('0x4a')](),this[_0x2fa6('0x5')]=new _0x5257a2(_0x206738,_0x34b06d['author'],this[_0x2fa6('0x3c')]()),this[_0x2fa6('0x5')]['extendTemplate']({'attributes':{'class':[_0x2fa6('0x1f'),_0x2fa6('0x2f')]}}),this[_0x2fa6('0x39')](_0x34b06d,_0x2fa6('0x30'),()=>this[_0x2fa6('0x10')]()),this[_0x2fa6('0x42')](this[_0x2fa6('0x2b')]());}[_0x2fa6('0x2b')](){const _0x482d97=this[_0x2fa6('0x2a')],_0x3b764e=[{'tag':'div','attributes':{'class':['ck-comment__info',_0x2fa6('0x33')]},'children':[{'tag':_0x2fa6('0xc'),'children':[{'text':this['userView'][_0x2fa6('0x31')]}],'attributes':{'class':['ck-comment__info-name','ck-annotation__info-name']}},{'tag':_0x2fa6('0x1d'),'attributes':{'datetime':_0x482d97['to'](_0x2fa6('0x8')),'class':[_0x2fa6('0x7'),_0x2fa6('0x40')]},'children':[{'text':_0x482d97['to'](_0x2fa6('0x8'),_0x1253a4=>this['_config'][_0x2fa6('0x22')](_0x1253a4))}]}]},{'tag':_0x2fa6('0x9'),'attributes':{'class':[_0x2fa6('0x0'),'ck-annotation__actions',_0x482d97['if'](_0x2fa6('0x4'),_0x2fa6('0x24')),_0x482d97['if'](_0x2fa6('0x4'),'ck-annotation__actions--hidden')]},'children':[this[_0x2fa6('0x20')],this[_0x2fa6('0x36')]]},{'tag':_0x2fa6('0x9'),'attributes':{'class':['ck-annotation__content-wrapper']},'children':this['visibleView']}];return this[_0x2fa6('0x17')][_0x2fa6('0x46')]&&_0x3b764e[_0x2fa6('0x23')]({'tag':'div','attributes':{'class':[_0x2fa6('0xa')]},'children':[{'text':this[_0x2fa6('0x35')]()}]}),{'tag':'li','attributes':{'class':[_0x2fa6('0x18'),_0x482d97['if'](_0x2fa6('0xb'),_0x2fa6('0x1e'))],'tabindex':-0x1},'children':[{'tag':_0x2fa6('0x9'),'attributes':{'class':[_0x2fa6('0x19'),_0x2fa6('0x44'),_0x482d97['if'](_0x2fa6('0x4'),_0x2fa6('0x43')),_0x482d97['to'](_0x2fa6('0x47'),_0x5d26fd=>_0x5d26fd?'ck-comment--'+_0x5d26fd:'')],'data-author-id':this[_0x2fa6('0x17')][_0x2fa6('0x4b')]['id'],'data-comment-id':this['_model']['id']},'children':[this[_0x2fa6('0x5')],{'tag':_0x2fa6('0x9'),'attributes':{'class':[_0x2fa6('0x34'),'ck-annotation__main']},'children':_0x3b764e}]}]};}['_createEditButton'](){const _0x3895d0=new _0x36956f(this[_0x2fa6('0x11')]);return _0x3895d0[_0x2fa6('0x2')]=_0x4fb91c(this[_0x2fa6('0x11')],'Edit'),_0x3895d0[_0x2fa6('0x48')]=_0x4aec82[_0x2fa6('0x16')],_0x3895d0[_0x2fa6('0x41')]({'attributes':{'class':_0x2fa6('0x43')}}),_0x3895d0[_0x2fa6('0x6')]('isEnabled')['to'](this[_0x2fa6('0x17')],_0x2fa6('0x14'),_0x556fd0=>!_0x556fd0),_0x3895d0[_0x2fa6('0x6')]('isVisible')['to'](this[_0x2fa6('0x17')],_0x2fa6('0x3f')),_0x3895d0['on']('execute',()=>this[_0x2fa6('0x2e')]()),_0x3895d0;}[_0x2fa6('0x4a')](){const _0x4708af=new _0x36956f(this[_0x2fa6('0x11')]);return _0x4708af[_0x2fa6('0x2')]=_0x4fb91c(this[_0x2fa6('0x11')],_0x2fa6('0x3e')),_0x4708af[_0x2fa6('0x48')]=_0x3a163d,_0x4708af['extendTemplate']({'attributes':{'class':'ck-comment--remove'}}),_0x4708af['bind'](_0x2fa6('0xf'))['to'](this[_0x2fa6('0x17')],'isReadOnly',_0x2798ef=>!_0x2798ef),_0x4708af[_0x2fa6('0x6')](_0x2fa6('0x26'))['to'](this['_model'],_0x2fa6('0x29')),_0x4708af['on']('execute',()=>{this[_0x2fa6('0x3d')](_0x4fb91c(this[_0x2fa6('0x11')],_0x2fa6('0x13')),this[_0x2fa6('0x45')])[_0x2fa6('0x32')](()=>{this[_0x2fa6('0x15')](_0x2fa6('0x38'),this[_0x2fa6('0x17')]['id']);});}),_0x4708af;}['_attachActions'](_0x2fb726,_0x39299c){this[_0x2fa6('0x39')](_0x2fb726,_0x2fa6('0xd'),()=>this[_0x2fa6('0x47')]=_0x39299c),this['listenTo'](_0x2fb726,_0x2fa6('0x28'),()=>this['actionIndicator']=_0x39299c),this[_0x2fa6('0x39')](_0x2fb726,_0x2fa6('0x1c'),()=>this[_0x2fa6('0x47')]=null),this[_0x2fa6('0x39')](_0x2fb726,_0x2fa6('0x12'),()=>this[_0x2fa6('0x47')]=null);}[_0x2fa6('0x1a')](){const _0x59e097=super[_0x2fa6('0x1a')]();return _0x59e097[_0x2fa6('0x6')]('placeholder')['to'](this),_0x59e097;}[_0x2fa6('0x35')](){return'importWord'===this[_0x2fa6('0x17')][_0x2fa6('0x3a')]['@external']['source']?_0x4fb91c(this[_0x2fa6('0x11')],_0x2fa6('0x27')):_0x4fb91c(this[_0x2fa6('0x11')],_0x2fa6('0xe'));}[_0x2fa6('0x3c')](){return this[_0x2fa6('0x17')]['isExternal']?_0x2fa6('0x4c')===this[_0x2fa6('0x17')][_0x2fa6('0x3a')][_0x2fa6('0x3b')][_0x2fa6('0x3')]?_0x4fb91c(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator'][_0x2fa6('0x31')]):_0x4fb91c(this[_0x2fa6('0x11')],_0x2fa6('0x49'),this[_0x2fa6('0x17')][_0x2fa6('0x1b')][_0x2fa6('0x31')]):null;}[_0x2fa6('0x25')](){super[_0x2fa6('0x25')](),this[_0x2fa6('0x2c')](this['editButton'][_0x2fa6('0x45')],_0x2fa6('0x2d')),this[_0x2fa6('0x2c')](this[_0x2fa6('0x36')][_0x2fa6('0x45')],'remove');}}_0x3fcee8(it,_0x4d5e87);
package/src/comments.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3611=['requires','pluginName','Comments'];(function(_0x504b1b,_0x3611b9){var _0x47a446=function(_0xf14e8c){while(--_0xf14e8c){_0x504b1b['push'](_0x504b1b['shift']());}};_0x47a446(++_0x3611b9);}(_0x3611,0x1b5));var _0x47a4=function(_0x504b1b,_0x3611b9){_0x504b1b=_0x504b1b-0x0;var _0x47a446=_0x3611[_0x504b1b];return _0x47a446;};import{Plugin as _0x5865f8}from'ckeditor5/src/core';import _0x3d41b5 from'./comments/commentsrepository';import _0x55f654 from'./comments/commentsediting';import _0x13d8ca from'./comments/commentsui';import _0x453020 from'./commentsonly';import _0x1e0e3d from'./annotations/widesidebar';import _0x336f31 from'./annotations/narrowsidebar';import _0x2b5fc1 from'./annotations/inlineannotations';export default class c extends _0x5865f8{static get[_0x47a4('0x1')](){return[_0x3d41b5,_0x55f654,_0x13d8ca,_0x453020,_0x1e0e3d,_0x336f31,_0x2b5fc1];}static get[_0x47a4('0x2')](){return _0x47a4('0x0');}}
23
+ var _0x49da=['requires','pluginName'];(function(_0xef981d,_0x49da00){var _0x5c25ff=function(_0x16a0d3){while(--_0x16a0d3){_0xef981d['push'](_0xef981d['shift']());}};_0x5c25ff(++_0x49da00);}(_0x49da,0xa2));var _0x5c25=function(_0xef981d,_0x49da00){_0xef981d=_0xef981d-0x0;var _0x5c25ff=_0x49da[_0xef981d];return _0x5c25ff;};import{Plugin as _0x14fa7e}from'ckeditor5/src/core';import _0x3cdb47 from'./comments/commentsrepository';import _0x1de8af from'./comments/commentsediting';import _0xcb100d from'./comments/commentsui';import _0x16c2ea from'./commentsonly';import _0x172eda from'./annotations/widesidebar';import _0x12d2fa from'./annotations/narrowsidebar';import _0xb8b32a from'./annotations/inlineannotations';export default class c extends _0x14fa7e{static get[_0x5c25('0x0')](){return[_0x3cdb47,_0x1de8af,_0xcb100d,_0x16c2ea,_0x172eda,_0x12d2fa,_0xb8b32a];}static get[_0x5c25('0x1')](){return'Comments';}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1510=['_enableCommentsOnlyMode','pluginName','clearForceDisabled','stopListening','document','stop','commands','requires','set','delete','cut','highest','listenTo','DragDrop','editing','plugins','get','_disableCommentsOnlyMode','commentsOnlyMode','isEnabled','view','editor','config','addCommentThread'];(function(_0x468e94,_0x1510ee){const _0x38bc61=function(_0x5c15b9){while(--_0x5c15b9){_0x468e94['push'](_0x468e94['shift']());}};_0x38bc61(++_0x1510ee);}(_0x1510,0x18c));const _0x38bc=function(_0x468e94,_0x1510ee){_0x468e94=_0x468e94-0x0;let _0x38bc61=_0x1510[_0x468e94];return _0x38bc61;};import{Plugin as _0x41508d}from'ckeditor5/src/core';import _0x14eaf6 from'./comments/commentsediting';export default class e extends _0x41508d{static get[_0x38bc('0xd')](){return'CommentsOnly';}static get[_0x38bc('0x13')](){return[_0x14eaf6];}constructor(_0xed0b5){super(_0xed0b5),this[_0x38bc('0x14')]('isEnabled',null),this['on']('change:isEnabled',(_0x2a1ace,_0x57b2a0,_0x109817)=>{_0x109817?this['_enableCommentsOnlyMode']():this[_0x38bc('0x5')]();});}['afterInit'](){null===this[_0x38bc('0x7')]&&(this[_0x38bc('0x7')]=!!this[_0x38bc('0x9')][_0x38bc('0xa')][_0x38bc('0x4')]('commentsOnly'));}[_0x38bc('0xc')](){for(const [_0x53e268,_0x15e227]of this[_0x38bc('0x9')]['commands'])_0x15e227['affectsData']&&_0x38bc('0xb')!==_0x53e268&&_0x15e227['forceDisabled'](_0x38bc('0x6'));this[_0x38bc('0x9')][_0x38bc('0x3')]['has'](_0x38bc('0x1'))&&this[_0x38bc('0x9')][_0x38bc('0x3')][_0x38bc('0x4')](_0x38bc('0x1'))['forceDisabled'](_0x38bc('0x6'));const _0x29628a=this[_0x38bc('0x9')][_0x38bc('0x2')][_0x38bc('0x8')][_0x38bc('0x10')];this[_0x38bc('0x0')](_0x29628a,_0x38bc('0x16'),_0x3d63ae=>_0x3d63ae['stop'](),{'priority':_0x38bc('0x17')}),this[_0x38bc('0x0')](_0x29628a,'clipboardInput',_0x57f12c=>_0x57f12c[_0x38bc('0x11')](),{'priority':'highest'}),this[_0x38bc('0x0')](_0x29628a,_0x38bc('0x15'),_0x34c504=>_0x34c504[_0x38bc('0x11')](),{'priority':_0x38bc('0x17')});}[_0x38bc('0x5')](){for(const [_0x3f5f39,_0xe7be17]of this[_0x38bc('0x9')][_0x38bc('0x12')])_0xe7be17['affectsData']&&'addCommentThread'!==_0x3f5f39&&_0xe7be17[_0x38bc('0xe')](_0x38bc('0x6'));this[_0x38bc('0xf')](this[_0x38bc('0x9')][_0x38bc('0x2')]['view']['document']);}}
23
+ const _0xa525=['affectsData','_enableCommentsOnlyMode','has','delete','pluginName','config','requires','document','editor','view','set','stop','plugins','clipboardInput','get','commentsOnly','clearForceDisabled','commands','forceDisabled','commentsOnlyMode','isEnabled','highest','_disableCommentsOnlyMode','listenTo','stopListening','addCommentThread','DragDrop','CommentsOnly','editing','cut','afterInit'];(function(_0x33db97,_0xa525cb){const _0x5de92e=function(_0x387c10){while(--_0x387c10){_0x33db97['push'](_0x33db97['shift']());}};_0x5de92e(++_0xa525cb);}(_0xa525,0x13e));const _0x5de9=function(_0x33db97,_0xa525cb){_0x33db97=_0x33db97-0x0;let _0x5de92e=_0xa525[_0x33db97];return _0x5de92e;};import{Plugin as _0x5527e1}from'ckeditor5/src/core';import _0x31aa2d from'./comments/commentsediting';export default class e extends _0x5527e1{static get[_0x5de9('0x1b')](){return _0x5de9('0x13');}static get[_0x5de9('0x1d')](){return[_0x31aa2d];}constructor(_0x3ba066){super(_0x3ba066),this[_0x5de9('0x2')](_0x5de9('0xc'),null),this['on']('change:isEnabled',(_0xac74de,_0x355300,_0x543d5d)=>{_0x543d5d?this[_0x5de9('0x18')]():this[_0x5de9('0xe')]();});}[_0x5de9('0x16')](){null===this[_0x5de9('0xc')]&&(this[_0x5de9('0xc')]=!!this[_0x5de9('0x0')][_0x5de9('0x1c')]['get'](_0x5de9('0x7')));}[_0x5de9('0x18')](){for(const [_0x5c37ef,_0x4ab5c7]of this[_0x5de9('0x0')][_0x5de9('0x9')])_0x4ab5c7[_0x5de9('0x17')]&&_0x5de9('0x11')!==_0x5c37ef&&_0x4ab5c7[_0x5de9('0xa')](_0x5de9('0xb'));this[_0x5de9('0x0')][_0x5de9('0x4')][_0x5de9('0x19')](_0x5de9('0x12'))&&this[_0x5de9('0x0')][_0x5de9('0x4')][_0x5de9('0x6')](_0x5de9('0x12'))['forceDisabled'](_0x5de9('0xb'));const _0x3c8c37=this[_0x5de9('0x0')][_0x5de9('0x14')][_0x5de9('0x1')][_0x5de9('0x1e')];this[_0x5de9('0xf')](_0x3c8c37,_0x5de9('0x15'),_0x400420=>_0x400420[_0x5de9('0x3')](),{'priority':_0x5de9('0xd')}),this[_0x5de9('0xf')](_0x3c8c37,_0x5de9('0x5'),_0xa330b4=>_0xa330b4[_0x5de9('0x3')](),{'priority':_0x5de9('0xd')}),this['listenTo'](_0x3c8c37,_0x5de9('0x1a'),_0x21aec8=>_0x21aec8[_0x5de9('0x3')](),{'priority':'highest'});}['_disableCommentsOnlyMode'](){for(const [_0x17af56,_0x3f3d28]of this[_0x5de9('0x0')]['commands'])_0x3f3d28[_0x5de9('0x17')]&&_0x5de9('0x11')!==_0x17af56&&_0x3f3d28[_0x5de9('0x8')](_0x5de9('0xb'));this[_0x5de9('0x10')](this['editor']['editing'][_0x5de9('0x1')]['document']);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x59cc8f,_0x2fe8dd,_0x1317fb){const t=_0x59cc8f['t'];switch(_0x2fe8dd){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'},_0x1317fb);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'},_0x1317fb);case'EXTERNAL_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20external\x20source.','id':'EXTERNAL_COMMENT'});}}
23
+ export function getTranslation(_0x2fad4d,_0x4c6693,_0x35d668){const t=_0x2fad4d['t'];switch(_0x4c6693){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'},_0x35d668);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'},_0x35d668);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'},_0x35d668);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'},_0x35d668);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x19b1=['childList','type','cancel','attributes','observe','disconnect','attributeName'];(function(_0x44fee3,_0x19b14f){const _0x4cf82b=function(_0x3b7392){while(--_0x3b7392){_0x44fee3['push'](_0x44fee3['shift']());}};_0x4cf82b(++_0x19b14f);}(_0x19b1,0x186));const _0x4cf8=function(_0x44fee3,_0x19b14f){_0x44fee3=_0x44fee3-0x0;let _0x4cf82b=_0x19b1[_0x44fee3];return _0x4cf82b;};import{throttle as _0x1f36e2}from'lodash-es';export default function ft(_0x424f09){const _0x437ef2=_0x1f36e2(_0x424f09,0x1e),_0x3f0162=new MutationObserver(_0x54d6a4=>{for(const _0x3fa249 of _0x54d6a4)(_0x4cf8('0x5')==_0x3fa249[_0x4cf8('0x3')]&&'class'==_0x3fa249[_0x4cf8('0x1')]||_0x4cf8('0x2')==_0x3fa249['type'])&&_0x437ef2();});return{'attach'(_0x52e5b8){_0x3f0162[_0x4cf8('0x6')](_0x52e5b8,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0});},'detach'(){_0x3f0162[_0x4cf8('0x0')](),_0x437ef2[_0x4cf8('0x4')]();}};}
23
+ const _0x2112=['observe','disconnect','class','type','cancel','attributeName'];(function(_0x5ce3e8,_0x211255){const _0x2f7271=function(_0x2c30a4){while(--_0x2c30a4){_0x5ce3e8['push'](_0x5ce3e8['shift']());}};_0x2f7271(++_0x211255);}(_0x2112,0x1ea));const _0x2f72=function(_0x5ce3e8,_0x211255){_0x5ce3e8=_0x5ce3e8-0x0;let _0x2f7271=_0x2112[_0x5ce3e8];return _0x2f7271;};import{throttle as _0x576fe4}from'lodash-es';export default function ht(_0x414edb){const _0x51aa95=_0x576fe4(_0x414edb,0x1e),_0x254063=new MutationObserver(_0xa2e602=>{for(const _0xb191b6 of _0xa2e602)('attributes'==_0xb191b6[_0x2f72('0x5')]&&_0x2f72('0x4')==_0xb191b6[_0x2f72('0x1')]||'childList'==_0xb191b6[_0x2f72('0x5')])&&_0x51aa95();});return{'attach'(_0x27f921){_0x254063[_0x2f72('0x2')](_0x27f921,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0});},'detach'(){_0x254063[_0x2f72('0x3')](),_0x51aa95[_0x2f72('0x0')]();}};}
package/theme/comment.css CHANGED
@@ -127,6 +127,6 @@ We are styling resetting list-style because of parent <ul> element. */
127
127
  .ck .ck-comment__external {
128
128
  font-style: italic;
129
129
  color: var(--ck-color-annotation-info);
130
- font-size: var(--ck-font-size-small);
130
+ font-size: var(--ck-font-size-tiny);
131
131
  margin-top: var(--ck-spacing-standard);
132
132
  }