@ckeditor/ckeditor5-comments 35.2.1 → 35.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 _0x96ff=['collapse','locale','destroy','visibleView','_createCommentInputView','updateComment','_createCommentContentView','focus','add','isEditMode','_config','once','initialData','submit','createCollection','switchToDisplayMode','fire','editorConfig','element','_model','bind','isCollapsed','cancel','createEditor','get','editorReady','set','remove','isReadOnly','content','switchToEditMode','value','expand'];(function(_0x4d9936,_0x96ff5e){const _0x4c14a6=function(_0x216db2){while(--_0x216db2){_0x4d9936['push'](_0x4d9936['shift']());}};_0x4c14a6(++_0x96ff5e);}(_0x96ff,0x1aa));const _0x4c14=function(_0x4d9936,_0x96ff5e){_0x4d9936=_0x4d9936-0x0;let _0x4c14a6=_0x96ff[_0x4d9936];return _0x4c14a6;};import{View as _0x3f8142}from'ckeditor5/src/ui';import{trimHtml as _0x4ce504}from'ckeditor5-collaboration/src/collaboration-core';import _0x55dfe4 from'./commentcontentview';import _0x535600 from'./commentinputview';export default class St extends _0x3f8142{constructor(_0x32e1aa,_0x45bd6c,_0x278848){super(_0x32e1aa),this[_0x4c14('0x16')]=_0x45bd6c,this[_0x4c14('0xd')]=_0x278848,this[_0x4c14('0x1d')](_0x4c14('0xc'),!0x1),this[_0x4c14('0x1d')](_0x4c14('0x18'),!0x0),this[_0x4c14('0x6')]=this[_0x4c14('0x11')](),this[_0x4c14('0x6')][_0x4c14('0xb')](this[_0x4c14('0x9')]());}[_0x4c14('0x2')](){this[_0x4c14('0x18')]=!0x1;}[_0x4c14('0x3')](){this['isEditMode']||(this[_0x4c14('0x18')]=!0x0);}[_0x4c14('0xa')](){this[_0x4c14('0x15')][_0x4c14('0xa')]();}async[_0x4c14('0x5')](){await this['visibleView'][_0x4c14('0x1b')](0x0)[_0x4c14('0x5')](),super[_0x4c14('0x5')]();}[_0x4c14('0x0')](){this[_0x4c14('0xc')]||(this[_0x4c14('0xc')]=!0x0,this[_0x4c14('0x6')][_0x4c14('0x1e')](0x0)[_0x4c14('0x5')](),this[_0x4c14('0x6')][_0x4c14('0xb')](this['_createCommentInputView']()));}[_0x4c14('0x12')](){this[_0x4c14('0xc')]&&(this['isEditMode']=!0x1,this[_0x4c14('0x6')][_0x4c14('0x1e')](0x0)['destroy'](),this['visibleView'][_0x4c14('0xb')](this[_0x4c14('0x9')]()));}[_0x4c14('0x9')](){const _0x27e92d=new _0x55dfe4(this[_0x4c14('0x4')]);return _0x27e92d['bind'](_0x4c14('0x20'))['to'](this[_0x4c14('0x16')],_0x4c14('0x20'),this,_0x4c14('0x18'),(_0x286ba1,_0x49ac71)=>_0x49ac71?_0x4ce504(_0x286ba1,{'limit':this[_0x4c14('0xd')]['maxCommentCharsWhenCollapsed']}):_0x286ba1),_0x27e92d;}[_0x4c14('0x7')](){this[_0x4c14('0xd')][_0x4c14('0x14')]||(this[_0x4c14('0xd')][_0x4c14('0x14')]={}),this[_0x4c14('0xd')][_0x4c14('0x14')][_0x4c14('0xf')]=this[_0x4c14('0x16')]['content'];const _0x59c20d=new _0x535600(this[_0x4c14('0x4')],this[_0x4c14('0xd')][_0x4c14('0x14')]);return _0x59c20d[_0x4c14('0x1')]=this[_0x4c14('0x16')][_0x4c14('0x20')],_0x59c20d[_0x4c14('0x17')]('disabledSubmit')['to'](this[_0x4c14('0x16')],_0x4c14('0x1f')),_0x59c20d['on'](_0x4c14('0x10'),(_0x494d98,_0x955416)=>{this[_0x4c14('0x13')](_0x4c14('0x8'),this[_0x4c14('0x16')]['id'],_0x955416),this[_0x4c14('0x12')](),this[_0x4c14('0xa')]();}),_0x59c20d['on'](_0x4c14('0x19'),()=>{this[_0x4c14('0x12')](),this[_0x4c14('0xa')]();}),_0x59c20d[_0x4c14('0xe')](_0x4c14('0x1c'),()=>{_0x59c20d['focus']();}),_0x59c20d[_0x4c14('0x1a')](),_0x59c20d;}}
@@ -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 _0x44c6=['setTemplate','ck-thread__comment-count','set','count','bindTemplate','NUMBER_OF_COMMENTS'];(function(_0x18b1c,_0x44c670){const _0x47cbb8=function(_0x57f4aa){while(--_0x57f4aa){_0x18b1c['push'](_0x18b1c['shift']());}};_0x47cbb8(++_0x44c670);}(_0x44c6,0x64));const _0x47cb=function(_0x18b1c,_0x44c670){_0x18b1c=_0x18b1c-0x0;let _0x47cbb8=_0x44c6[_0x18b1c];return _0x47cbb8;};import{View as _0x4b9f4e}from'ckeditor5/src/ui';import{getTranslation as _0x554781}from'../../../utils/common-translations';export default class Nt extends _0x4b9f4e{constructor(_0xfc531f){super(_0xfc531f);const _0x379e84=this[_0x47cb('0x0')];this[_0x47cb('0x4')]('count'),this[_0x47cb('0x2')]({'tag':'li','attributes':{'class':_0x47cb('0x3')},'children':[{'text':_0x379e84['to'](_0x47cb('0x5'),_0x15f5c8=>_0x554781(_0xfc531f,_0x47cb('0x1'),_0x15f5c8))}]});}}
@@ -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 _0x2136=['div','innerHTML','set','ck-comment__content','change:content','element','content','render','ck-annotation__content','setTemplate'];(function(_0x4b5dbd,_0x213680){var _0x2c5b2a=function(_0xe57c15){while(--_0xe57c15){_0x4b5dbd['push'](_0x4b5dbd['shift']());}};_0x2c5b2a(++_0x213680);}(_0x2136,0x1a0));var _0x2c5b=function(_0x4b5dbd,_0x213680){_0x4b5dbd=_0x4b5dbd-0x0;var _0x2c5b2a=_0x2136[_0x4b5dbd];return _0x2c5b2a;};import{View as _0x7bdeb1}from'ckeditor5/src/ui';export default class Tt extends _0x7bdeb1{constructor(_0x3d9eaf){super(_0x3d9eaf),this[_0x2c5b('0x6')](_0x2c5b('0x0'),''),this[_0x2c5b('0x3')]({'tag':_0x2c5b('0x4'),'attributes':{'class':[_0x2c5b('0x7'),_0x2c5b('0x2')]}});}[_0x2c5b('0x1')](){super[_0x2c5b('0x1')](),this['on'](_0x2c5b('0x8'),(_0xe3879,_0x2c3b3d,_0x43616a)=>{this[_0x2c5b('0x9')][_0x2c5b('0x5')]=_0x43616a;}),this['element'][_0x2c5b('0x5')]=this[_0x2c5b('0x0')];}}
@@ -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 _0x4156=['set','element','_initializeFocusCycling','forEach','ck-comment__input-actions--submit','Esc','ck-comment__input-actions--active','isEnabled','keystrokes','Submit','ck-comment__input-wrapper','_isDestroyed','div','ck-comment__input-actions--cancel','create','submitButtonView','_createSubmitButton','Reply...','focusPrevious','_editorCreationPromise','render','createEditor','check','disabledSubmit','destroy','focusNext','listenTo','then','extendTemplate','_editorConfig','_createCancelButton','add','TOO_LONG_COMMENT_ALERT','execute','bind','focusTracker','shift\x20+\x20tab','high','change','focus','insertBefore','firstChild','cancelButtonView','label','stop','value','icon','document','model','initialData','cancel','trim','showButtons','editorReady','ck-comment__input-actions','editor','placeholder','length','submit','Cancel','fire','setData','bindTemplate'];(function(_0x5cd8f1,_0x415667){const _0x2553f1=function(_0x378620){while(--_0x378620){_0x5cd8f1['push'](_0x5cd8f1['shift']());}};_0x2553f1(++_0x415667);}(_0x4156,0x1ea));const _0x2553=function(_0x5cd8f1,_0x415667){_0x5cd8f1=_0x5cd8f1-0x0;let _0x2553f1=_0x4156[_0x5cd8f1];return _0x2553f1;};import{View as _0x3f3a53,ViewCollection as _0x4b824d,FocusCycler as _0x3547e1,ButtonView as _0x1daf31}from'ckeditor5/src/ui';import{FocusTracker as _0x1efc86,KeystrokeHandler as _0x421ef0}from'ckeditor5/src/utils';import{icons as _0x48d3d7}from'ckeditor5/src/core';import _0x273c84 from'../commenteditor/commenteditor';import{getTranslation as _0x28698e}from'../../../utils/common-translations';export default class It extends _0x3f3a53{constructor(_0x35a66f,_0x5015c4={}){super(_0x35a66f),this[_0x2553('0x6')]=null,this[_0x2553('0x2b')]=_0x5015c4,this[_0x2553('0x16')]=new _0x421ef0(),this[_0x2553('0x31')]=new _0x1efc86(),this[_0x2553('0xe')](_0x2553('0x3b'),_0x5015c4[_0x2553('0x0')]||''),this[_0x2553('0xe')](_0x2553('0x25'),!0x1),this[_0x2553('0xe')](_0x2553('0x3'),!0x0),this['set'](_0x2553('0x7'),_0x28698e(_0x35a66f,_0x2553('0x1f'))),this[_0x2553('0x1d')]=this[_0x2553('0x1e')](),this[_0x2553('0x38')]=this[_0x2553('0x2c')](),this['setTemplate']({'tag':_0x2553('0x1a'),'attributes':{'class':[_0x2553('0x18')]},'children':[{'tag':_0x2553('0x1a'),'attributes':{'class':[_0x2553('0x5'),this[_0x2553('0xd')]['if'](_0x2553('0x3'),_0x2553('0x14'))]},'children':[this[_0x2553('0x1d')],this['cancelButtonView']]}]}),this[_0x2553('0x16')][_0x2553('0xe')](_0x2553('0x13'),(_0x5ca327,_0x285400)=>{this[_0x2553('0x38')][_0x2553('0xb')](_0x2553('0x2f')),_0x285400();}),this['on']('submit',(_0x12b0b3,_0x1a3b3e)=>{_0x1a3b3e[_0x2553('0x8')]>0xfde8?(alert(_0x28698e(_0x35a66f,_0x2553('0x2e'),[_0x1a3b3e[_0x2553('0x8')],0xfde8])),_0x12b0b3[_0x2553('0x3a')]()):this[_0x2553('0x6')][_0x2553('0xc')]('');},{'priority':_0x2553('0x33')});}[_0x2553('0x22')](){super['render'](),this['keystrokes'][_0x2553('0x28')](this['element']),this['focusTracker'][_0x2553('0x2d')](this[_0x2553('0xf')]);}[_0x2553('0x23')](){return this[_0x2553('0x6')]||(this['editor']=new _0x273c84(this[_0x2553('0x2b')]),this[_0x2553('0x21')]=this[_0x2553('0x6')][_0x2553('0x1c')]()[_0x2553('0x29')](()=>{this[_0x2553('0x19')]||(this[_0x2553('0xf')][_0x2553('0x36')](this[_0x2553('0x6')]['ui'][_0x2553('0xf')],this['element'][_0x2553('0x37')]),this[_0x2553('0x6')][_0x2553('0x3e')][_0x2553('0x3d')]['on'](_0x2553('0x34'),()=>this[_0x2553('0x3b')]=this[_0x2553('0x6')]['getData']()),this['editor']['bind'](_0x2553('0x7'))['to'](this),this[_0x2553('0x10')](this[_0x2553('0x6')]),this[_0x2553('0xb')](_0x2553('0x4')));})),this[_0x2553('0x21')];}['focus'](){this[_0x2553('0x6')]&&this[_0x2553('0x6')][_0x2553('0x35')]();}async[_0x2553('0x26')](){this[_0x2553('0x19')]||(this[_0x2553('0x19')]=!0x0,this['editor']&&(await this[_0x2553('0x21')],await this['editor'][_0x2553('0x26')]()),await super['destroy']());}[_0x2553('0x1e')](){const {locale:_0x4c0825}=this,_0x3967c5=new _0x1daf31(_0x4c0825);return _0x3967c5[_0x2553('0x2a')]({'attributes':{'class':[_0x2553('0x12')]}}),_0x3967c5['label']=_0x28698e(_0x4c0825,_0x2553('0x17')),_0x3967c5[_0x2553('0x3c')]=_0x48d3d7[_0x2553('0x24')],_0x3967c5['on'](_0x2553('0x2f'),()=>{this[_0x2553('0xb')](_0x2553('0x9'),this[_0x2553('0x3b')]);}),_0x3967c5[_0x2553('0x30')](_0x2553('0x15'))['to'](this,'value',this,'disabledSubmit',(_0x45a108,_0x22b3ef)=>!_0x22b3ef&&!!_0x45a108[_0x2553('0x2')]()),_0x3967c5;}['_createCancelButton'](){const {locale:_0x52d27b}=this,_0x3f55f6=new _0x1daf31(_0x52d27b);return _0x3f55f6[_0x2553('0x2a')]({'attributes':{'class':[_0x2553('0x1b')]}}),_0x3f55f6[_0x2553('0x39')]=_0x28698e(_0x52d27b,_0x2553('0xa')),_0x3f55f6[_0x2553('0x3c')]=_0x48d3d7['cancel'],_0x3f55f6['on'](_0x2553('0x2f'),()=>{this[_0x2553('0x6')][_0x2553('0xc')](''),this[_0x2553('0xb')](_0x2553('0x1'));}),_0x3f55f6;}[_0x2553('0x10')](_0x22f4c3){const _0x2decd4=this[_0x2553('0x31')],_0x57c34f=new _0x4b824d();[_0x22f4c3['ui']['view'],this[_0x2553('0x1d')],this[_0x2553('0x38')]][_0x2553('0x11')](_0x221668=>{_0x57c34f[_0x2553('0x2d')](_0x221668),_0x2decd4[_0x2553('0x2d')](_0x221668[_0x2553('0xf')]);});const _0x2d0153=new _0x3547e1({'focusables':_0x57c34f,'focusTracker':_0x2decd4});this[_0x2553('0x16')][_0x2553('0xe')]('tab',(_0x473326,_0x57d4a1)=>{_0x2d0153[_0x2553('0x27')](),_0x57d4a1();},{'priority':'low'}),this['keystrokes'][_0x2553('0xe')](_0x2553('0x32'),(_0x448256,_0x3200de)=>{_0x2d0153[_0x2553('0x20')](),_0x3200de();},{'priority':'low'});}}
@@ -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 _0x2e16=['remove','_handleRemoveCommentModel','_config','hasDirtyComment','get','ck-thread__comments','setTemplate','updateComment','createCollection','from','collapse','delegate','isEditMode','delete','isActive','removeComment','focus','_shouldCollapse','expand','_handleNewCommentModel','commentUpdated','comments','stopListening','_rearrangeCollapse','_rearrangeExpand','destroy','CommentView','visibleViews','insert','change:hasDirtyComment','locale','editorConfig','maxCommentsWhenCollapsed','_updateHasDirtyComment','add','_collapsedCommentsView','commentViews','maxCommentCharsWhenCollapsed','change:isActive','length','bind','count','render','refreshVisibleViews','listenTo','formatDateTime'];(function(_0x13d1f2,_0x2e160e){const _0x2a5c4b=function(_0x109bb4){while(--_0x109bb4){_0x13d1f2['push'](_0x13d1f2['shift']());}};_0x2a5c4b(++_0x2e160e);}(_0x2e16,0xb7));const _0x2a5c=function(_0x13d1f2,_0x2e160e){_0x13d1f2=_0x13d1f2-0x0;let _0x2a5c4b=_0x2e16[_0x13d1f2];return _0x2a5c4b;};import{View as _0x7bcbac}from'ckeditor5/src/ui';import{diff as _0x1d9c76,Collection as _0x121559}from'ckeditor5/src/utils';import _0x475160 from'./collapsedcommentsview';export default class L extends _0x7bcbac{constructor(_0x39d15c,_0x419392,_0xc31500){super(_0x39d15c),this['set']('hasDirtyComment',!0x1),this['set'](_0x2a5c('0x28'),_0x419392['comments'][_0x2a5c('0x28')]),this['set']('isActive',!0x1),this['_model']=_0x419392,this['_config']=_0xc31500,this['commentViews']=this['createCollection'](),this['visibleViews']=this[_0x2a5c('0x9')](),this[_0x2a5c('0x24')]=new _0x475160(_0x39d15c),this[_0x2a5c('0x24')][_0x2a5c('0x29')](_0x2a5c('0x2a'))['to'](this,'length',_0x419918=>_0x419918-this['_config'][_0x2a5c('0x21')]);for(const _0x2f3b25 of _0x419392['comments'])this['_handleNewCommentModel'](_0x2f3b25);this['listenTo'](_0x419392[_0x2a5c('0x16')],_0x2a5c('0x23'),(_0x581256,_0x59b465)=>{this['length']++,this['_handleNewCommentModel'](_0x59b465),this[_0x2a5c('0x2c')]();}),this[_0x2a5c('0x2d')](_0x419392[_0x2a5c('0x16')],'remove',(_0x581a92,_0x499223)=>{this['length']--,this[_0x2a5c('0x2')](_0x499223),this['refreshVisibleViews']();}),this[_0x2a5c('0x2d')](_0x419392,_0x2a5c('0x15'),()=>this[_0x2a5c('0x2c')]()),this['on'](_0x2a5c('0x27'),()=>this[_0x2a5c('0x2c')]()),this['on'](_0x2a5c('0x1e'),()=>this[_0x2a5c('0x2c')]()),this[_0x2a5c('0x7')]({'tag':'ul','attributes':{'class':[_0x2a5c('0x6')]},'children':this[_0x2a5c('0x1c')]});}get['_shouldCollapse'](){return this['_model']['weight']>this[_0x2a5c('0x3')]['maxThreadTotalWeight']&&!this[_0x2a5c('0xf')]&&!this[_0x2a5c('0x4')];}[_0x2a5c('0x2b')](){super[_0x2a5c('0x2b')](),this[_0x2a5c('0x2c')]();}[_0x2a5c('0x11')](){this['element'][_0x2a5c('0x11')]();}['destroy'](){this[_0x2a5c('0x24')][_0x2a5c('0x1a')]();for(const _0x2ff912 of this[_0x2a5c('0x25')])_0x2ff912[_0x2a5c('0x1a')]();super[_0x2a5c('0x1a')]();}[_0x2a5c('0x2c')](){this[_0x2a5c('0x12')]?this[_0x2a5c('0x18')]():this['_rearrangeExpand']();}[_0x2a5c('0x14')](_0x445f5b){const _0x1e8170=new this[(_0x2a5c('0x3'))][(_0x2a5c('0x1b'))](this[_0x2a5c('0x1f')],_0x445f5b,{'maxCommentCharsWhenCollapsed':this[_0x2a5c('0x3')][_0x2a5c('0x26')],'formatDateTime':this[_0x2a5c('0x3')][_0x2a5c('0x0')],'editorConfig':this['_config'][_0x2a5c('0x20')]});_0x1e8170['viewUid']=_0x445f5b['id'],_0x1e8170['delegate'](_0x2a5c('0x10'))['to'](this),_0x1e8170[_0x2a5c('0xc')](_0x2a5c('0x8'))['to'](this),this[_0x2a5c('0x2d')](_0x1e8170,'change:isEditMode',()=>this[_0x2a5c('0x22')]()),this[_0x2a5c('0x25')]['add'](_0x1e8170);}['_handleRemoveCommentModel'](_0x1da5f4){const _0x50f8d8=this[_0x2a5c('0x25')]['remove'](_0x1da5f4['id']);this[_0x2a5c('0x17')](_0x50f8d8),_0x50f8d8[_0x2a5c('0xd')]&&this[_0x2a5c('0x22')](),_0x50f8d8['destroy']();}[_0x2a5c('0x22')](){this[_0x2a5c('0x4')]=Array['from'](this[_0x2a5c('0x25')])['some'](_0x22b7bf=>_0x22b7bf[_0x2a5c('0xd')]);}[_0x2a5c('0x18')](){const _0x4396d0=function(_0x4db576){const _0x3281bf=new _0x121559();for(const _0x41733b of _0x4db576)_0x3281bf[_0x2a5c('0x23')](_0x41733b);return _0x3281bf;}(this[_0x2a5c('0x25')]),_0x16015e=this[_0x2a5c('0x24')][_0x2a5c('0x2a')];for(let _0x16dbb7=0x1;_0x16dbb7<=_0x16015e;_0x16dbb7++)_0x4396d0[_0x2a5c('0x1')](0x1);for(const _0x474a8f of _0x4396d0)_0x474a8f[_0x2a5c('0xb')]();_0x16015e>0x0&&_0x4396d0['add'](this[_0x2a5c('0x24')],0x1),Wt(_0x1d9c76(Array['from'](this[_0x2a5c('0x1c')]),Array[_0x2a5c('0xa')](_0x4396d0)),this[_0x2a5c('0x1c')],_0x4396d0);}[_0x2a5c('0x19')](){Wt(_0x1d9c76(Array[_0x2a5c('0xa')](this['visibleViews']),Array[_0x2a5c('0xa')](this['commentViews'])),this[_0x2a5c('0x1c')],this[_0x2a5c('0x25')]);for(const _0x2b30dd of this[_0x2a5c('0x1c')])_0x2b30dd[_0x2a5c('0x13')]();}}function Wt(_0x497315,_0x1dae37,_0x1d1991){let _0x528677=0x0;for(const _0x2c61ad of _0x497315)switch(_0x2c61ad){case _0x2a5c('0x1d'):_0x1dae37[_0x2a5c('0x23')](_0x1d1991[_0x2a5c('0x5')](_0x528677),_0x528677),_0x528677++;break;case _0x2a5c('0xe'):_0x1dae37[_0x2a5c('0x1')](_0x528677);break;case'equal':_0x528677++;}}
@@ -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 _0x25e5=['extendTemplate','change:showInput','commentInputView','editor','userView','focusTracker','setTemplate','destroy','showInput','set','ck-thread__input','value','createEditor','bind','div','bindTemplate','then','ck-thread__user','isFocused'];(function(_0x23045e,_0x25e51b){var _0x3d6bd1=function(_0x4f42a8){while(--_0x4f42a8){_0x23045e['push'](_0x23045e['shift']());}};_0x3d6bd1(++_0x25e51b);}(_0x25e5,0xf7));var _0x3d6b=function(_0x23045e,_0x25e51b){_0x23045e=_0x23045e-0x0;var _0x3d6bd1=_0x25e5[_0x23045e];return _0x3d6bd1;};import{View as _0x337d1}from'ckeditor5/src/ui';import _0x2be87b from'./commentinputview';import{UserView as _0x101e63}from'ckeditor5-collaboration/src/collaboration-core';export default class z extends _0x337d1{constructor(_0x424456,_0x341890,_0x2fede5){super(_0x424456),this['commentInputView']=new _0x2be87b(_0x424456,_0x2fede5),this['commentInputView'][_0x3d6b('0xd')]('showButtons')['to'](this[_0x3d6b('0x2')][_0x3d6b('0x5')],_0x3d6b('0x12'),this[_0x3d6b('0x2')],_0x3d6b('0xb'),(_0x25e10b,_0x52c26c)=>_0x25e10b||!!_0x52c26c),this[_0x3d6b('0x9')](_0x3d6b('0x8'),!0x1),this['on'](_0x3d6b('0x1'),()=>{this[_0x3d6b('0x8')]&&!this['commentInputView'][_0x3d6b('0x3')]&&this[_0x3d6b('0x2')][_0x3d6b('0xc')]();}),this[_0x3d6b('0x4')]=new _0x101e63(_0x424456,_0x341890),this['userView'][_0x3d6b('0x0')]({'attributes':{'class':_0x3d6b('0x11')}}),this[_0x3d6b('0x2')]['extendTemplate']({'attributes':{'class':_0x3d6b('0xa')}}),this[_0x3d6b('0x6')]({'tag':_0x3d6b('0xe'),'attributes':{'class':['ck-comment__input-container',this[_0x3d6b('0xf')]['if'](_0x3d6b('0x8'),'ck-comment__input-container--active')]},'children':[this['userView'],this[_0x3d6b('0x2')]]});}['destroy'](){return this[_0x3d6b('0x2')][_0x3d6b('0x7')]()[_0x3d6b('0x10')](()=>super['destroy']());}}
@@ -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 _0x554e=['fire','length','ck-thread--','div','then','showConfirm','Delete\x20comment\x20thread?','ck-thread','change:isReadOnly','Write\x20a\x20comment...','cancelConfirm','actionIndicator','containerElement','ck-thread--active','bindTemplate','commentsListView','removeButton','_boundFirstCommentView','ck-thread--remove-confirmation','listenTo','_cancelAllConfirms','.ck-thread__container','change:isActive','remove','removeCommentThread','add','_model','bind','_bindFirstCommentView','render','unbind','execute','commentViews','set','isActive','high','stop'];(function(_0x22b770,_0x554e2a){const _0x332857=function(_0xfab3e6){while(--_0xfab3e6){_0x22b770['push'](_0x22b770['shift']());}};_0x332857(++_0x554e2a);}(_0x554e,0xf5));const _0x3328=function(_0x22b770,_0x554e2a){_0x22b770=_0x22b770-0x0;let _0x332857=_0x554e[_0x22b770];return _0x332857;};import{mix as _0x20b1dd}from'ckeditor5/src/utils';import{ConfirmMixin as _0x2034bb}from'ckeditor5-collaboration/src/collaboration-core';import _0x2a4bf6 from'./basecommentthreadview';import{getTranslation as _0x2b7edb}from'../../../utils/common-translations';export default class S extends _0x2a4bf6{constructor(_0x350716,_0x1f91a6,_0x4b1338,_0xb89f40){super(_0x350716,_0x1f91a6,_0x4b1338,_0xb89f40),this[_0x3328('0xa')](_0x3328('0x19'),null),this['containerElement']=null,this[_0x3328('0x1f')]=null,this['locale']=_0x350716,this['setTemplate'](this['getTemplate']()),this['on'](_0x3328('0x24'),(_0x419482,_0x1c31d8,_0x3e2543)=>{_0x3e2543||this[_0x3328('0x22')]();}),this[_0x3328('0x21')](this[_0x3328('0x3')],_0x3328('0x16'),(_0x3a4205,_0x2f3ff3,_0x5a06a3)=>{_0x5a06a3&&this[_0x3328('0x22')]();}),this[_0x3328('0xf')]>0x0&&this[_0x3328('0x5')](),this[_0x3328('0x21')](this['commentsListView'][_0x3328('0x9')],_0x3328('0x2'),()=>{this[_0x3328('0x5')]();});}['getTemplate'](){const _0x5693fa=this[_0x3328('0x1c')];return{'tag':_0x3328('0x11'),'attributes':{'class':[_0x3328('0x15'),_0x5693fa['if'](_0x3328('0xb'),_0x3328('0x1b')),_0x5693fa['if']('isConfirm',_0x3328('0x20')),_0x5693fa['to'](_0x3328('0x19'),_0x460d0a=>_0x460d0a?_0x3328('0x10')+_0x460d0a:'')],'data-thread-id':this['_model']['id'],'tabindex':-0x1},'children':[{'tag':_0x3328('0x11'),'attributes':{'class':'ck-thread__container'},'children':[this[_0x3328('0x1d')],this['commentThreadInputView']]}]};}[_0x3328('0x6')](){super[_0x3328('0x6')](),this[_0x3328('0x1a')]=this['element']['querySelector'](_0x3328('0x23'));}[_0x3328('0x22')](){this[_0x3328('0x18')]();for(const _0x36e2af of this['commentsListView'][_0x3328('0x9')])_0x36e2af[_0x3328('0x18')]();}['_bindFirstCommentView'](){const {locale:_0x495e44}=this,_0x56840a=this['commentsListView'][_0x3328('0x9')]['get'](0x0);_0x56840a!==this[_0x3328('0x1f')]&&(this['_boundFirstCommentView']=_0x56840a,this[_0x3328('0x7')](_0x3328('0x19')),this[_0x3328('0x4')](_0x3328('0x19'))['to'](_0x56840a,'actionIndicator',_0x83884c=>_0x3328('0x0')===_0x83884c?_0x3328('0x0'):null),_0x56840a['placeholder']=_0x2b7edb(_0x495e44,_0x3328('0x17')),_0x56840a[_0x3328('0x1e')]['on'](_0x3328('0x8'),_0xf08f96=>{_0xf08f96[_0x3328('0xd')](),this[_0x3328('0x13')](_0x2b7edb(_0x495e44,_0x3328('0x14')),this[_0x3328('0x1a')])[_0x3328('0x12')](()=>{this[_0x3328('0xe')](_0x3328('0x1'));});},{'priority':_0x3328('0xc')}));}}_0x20b1dd(S,_0x2034bb);
@@ -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 _0x4bf7=['isReadOnly','ck-comment--','_attachActions','@external','getExternalCommentNote','isConfirm','mouseenter','ck-annotation__info-time','Edit','author','setTemplate','ck-annotation__info-name','bindTemplate','switchToEditMode','ck-comment--edit','time','visibleView','ck-annotation__user','authoredAt','ck-comment__info','EXTERNAL_AVATAR','render','edit','bind','set','userView','EXTERNAL_COMMENT','creator','element','showConfirm','Remove','icon','locale','ck-comment','formatDateTime','getUserViewNotificationText','label','isRemovable','Delete\x20comment?','ck-comment--remove','actionIndicator','importWord','isExternal','_createEditButton','ck-comment__external','isEditable','focus','isVisible','isEnabled','blur','ck-annotation__content-wrapper','removeButton','_model','ck-comment__main','ck-annotation__actions--hidden','execute','isEditMode','div','fire','extendTemplate','listenTo','EXTERNAL_IMPORT_WORD_COMMENT','name','source','ck-annotation__main','then','_createCommentInputView','editButton','ck-comment__info-name','ck-comment__info-time','attributes','_createRemoveButton'];(function(_0x7d9a9e,_0x4bf775){const _0x177ce8=function(_0x495a41){while(--_0x495a41){_0x7d9a9e['push'](_0x7d9a9e['shift']());}};_0x177ce8(++_0x4bf775);}(_0x4bf7,0x84));const _0x177c=function(_0x7d9a9e,_0x4bf775){_0x7d9a9e=_0x7d9a9e-0x0;let _0x177ce8=_0x4bf7[_0x7d9a9e];return _0x177ce8;};import{mix as _0x2aa32d}from'ckeditor5/src/utils';import{ButtonView as _0x33a93f}from'ckeditor5/src/ui';import{icons as _0x32b52b}from'ckeditor5/src/core';import{UserView as _0x45b92a,ConfirmMixin as _0x1962e1}from'ckeditor5-collaboration/src/collaboration-core';import _0x37fafd from'./basecommentview';import _0xecd2b8 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x13e683}from'../../../utils/common-translations';export default class W extends _0x37fafd{constructor(_0x4a3c38,_0x8e1a,_0x490cdd){super(_0x4a3c38,_0x8e1a,_0x490cdd),this[_0x177c('0x24')]('actionIndicator',null),this['set']('placeholder',_0x13e683(_0x4a3c38,'Reply...')),this[_0x177c('0x24')](_0x177c('0x1e'),null),this[_0x177c('0x23')](_0x177c('0x1e'))['to'](_0x8e1a),this['editButton']=this['_createEditButton'](),this[_0x177c('0x3f')]=this[_0x177c('0xb')](),this[_0x177c('0x25')]=new _0x45b92a(_0x4a3c38,_0x8e1a[_0x177c('0x15')],this[_0x177c('0x2f')]()),this[_0x177c('0x25')]['extendTemplate']({'attributes':{'class':['ck-comment__user',_0x177c('0x1d')]}}),this[_0x177c('0x0')](_0x8e1a,'change:isRemovable',()=>this['cancelConfirm']()),this[_0x177c('0x16')](this['getTemplate']());}['getTemplate'](){const _0x120239=this[_0x177c('0x18')],_0x3aacaa=[{'tag':_0x177c('0x45'),'attributes':{'class':[_0x177c('0x1f'),'ck-annotation__info']},'children':[{'tag':'span','children':[{'text':this[_0x177c('0x25')][_0x177c('0x2')]}],'attributes':{'class':[_0x177c('0x8'),_0x177c('0x17')]}},{'tag':_0x177c('0x1b'),'attributes':{'datetime':_0x120239['to'](_0x177c('0x1e')),'class':[_0x177c('0x9'),_0x177c('0x13')]},'children':[{'text':_0x120239['to'](_0x177c('0x1e'),_0x2650c0=>this['_config'][_0x177c('0x2e')](_0x2650c0))}]}]},{'tag':_0x177c('0x45'),'attributes':{'class':['ck-comment__actions','ck-annotation__actions',_0x120239['if'](_0x177c('0x44'),'ck-comment__actions--hidden'),_0x120239['if'](_0x177c('0x44'),_0x177c('0x42'))]},'children':[this[_0x177c('0x7')],this[_0x177c('0x3f')]]},{'tag':'div','attributes':{'class':[_0x177c('0x3e')]},'children':this[_0x177c('0x1c')]}];return this[_0x177c('0x40')]['isExternal']&&_0x3aacaa['push']({'tag':_0x177c('0x45'),'attributes':{'class':[_0x177c('0x38')]},'children':[{'text':this[_0x177c('0x10')]()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper',_0x120239['if'](_0x177c('0x11'),'ck-comment--remove-confirmation')],'tabindex':-0x1},'children':[{'tag':_0x177c('0x45'),'attributes':{'class':[_0x177c('0x2d'),'ck-annotation',_0x120239['if'](_0x177c('0x44'),'ck-comment--edit'),_0x120239['to'](_0x177c('0x34'),_0x571ba9=>_0x571ba9?_0x177c('0xd')+_0x571ba9:'')],'data-author-id':this[_0x177c('0x40')][_0x177c('0x15')]['id'],'data-comment-id':this['_model']['id']},'children':[this[_0x177c('0x25')],{'tag':_0x177c('0x45'),'attributes':{'class':[_0x177c('0x41'),_0x177c('0x4')]},'children':_0x3aacaa}]}]};}[_0x177c('0x37')](){const _0x163469=new _0x33a93f(this[_0x177c('0x2c')]);return _0x163469[_0x177c('0x30')]=_0x13e683(this[_0x177c('0x2c')],_0x177c('0x14')),_0x163469[_0x177c('0x2b')]=_0x32b52b['pencil'],_0x163469['extendTemplate']({'attributes':{'class':_0x177c('0x1a')}}),_0x163469['bind'](_0x177c('0x3c'))['to'](this[_0x177c('0x40')],_0x177c('0xc'),_0x46940f=>!_0x46940f),_0x163469[_0x177c('0x23')](_0x177c('0x3b'))['to'](this['_model'],_0x177c('0x39')),_0x163469['on'](_0x177c('0x43'),()=>this[_0x177c('0x19')]()),_0x163469;}[_0x177c('0xb')](){const _0x5e6b9d=new _0x33a93f(this[_0x177c('0x2c')]);return _0x5e6b9d[_0x177c('0x30')]=_0x13e683(this['locale'],_0x177c('0x2a')),_0x5e6b9d['icon']=_0xecd2b8,_0x5e6b9d[_0x177c('0x47')]({'attributes':{'class':_0x177c('0x33')}}),_0x5e6b9d['bind'](_0x177c('0x3c'))['to'](this[_0x177c('0x40')],_0x177c('0xc'),_0x3f06d6=>!_0x3f06d6),_0x5e6b9d[_0x177c('0x23')](_0x177c('0x3b'))['to'](this[_0x177c('0x40')],_0x177c('0x31')),_0x5e6b9d['on'](_0x177c('0x43'),()=>{this[_0x177c('0x29')](_0x13e683(this['locale'],_0x177c('0x32')),this[_0x177c('0x28')])[_0x177c('0x5')](()=>{this[_0x177c('0x46')]('removeComment',this[_0x177c('0x40')]['id']);});}),_0x5e6b9d;}['_attachActions'](_0xa4f337,_0xc13cd2){this['listenTo'](_0xa4f337,_0x177c('0x12'),()=>this['actionIndicator']=_0xc13cd2),this[_0x177c('0x0')](_0xa4f337,_0x177c('0x3a'),()=>this['actionIndicator']=_0xc13cd2),this[_0x177c('0x0')](_0xa4f337,'mouseleave',()=>this[_0x177c('0x34')]=null),this[_0x177c('0x0')](_0xa4f337,_0x177c('0x3d'),()=>this[_0x177c('0x34')]=null);}[_0x177c('0x6')](){const _0x9b96d3=super[_0x177c('0x6')]();return _0x9b96d3['bind']('placeholder')['to'](this),_0x9b96d3;}[_0x177c('0x10')](){return _0x177c('0x35')===this[_0x177c('0x40')][_0x177c('0xa')][_0x177c('0xf')][_0x177c('0x3')]?_0x13e683(this['locale'],_0x177c('0x1')):_0x13e683(this[_0x177c('0x2c')],_0x177c('0x26'));}[_0x177c('0x2f')](){return this[_0x177c('0x40')][_0x177c('0x36')]?_0x177c('0x35')===this[_0x177c('0x40')]['attributes'][_0x177c('0xf')][_0x177c('0x3')]?_0x13e683(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this[_0x177c('0x40')]['creator'][_0x177c('0x2')]):_0x13e683(this['locale'],_0x177c('0x20'),this['_model'][_0x177c('0x27')][_0x177c('0x2')]):null;}[_0x177c('0x21')](){super[_0x177c('0x21')](),this[_0x177c('0xe')](this[_0x177c('0x7')][_0x177c('0x28')],_0x177c('0x22')),this[_0x177c('0xe')](this['removeButton'][_0x177c('0x28')],'remove');}}_0x2aa32d(W,_0x1962e1);
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 _0x2700=['pluginName','Comments','requires'];(function(_0x4950b5,_0x270047){var _0x127462=function(_0x5ba428){while(--_0x5ba428){_0x4950b5['push'](_0x4950b5['shift']());}};_0x127462(++_0x270047);}(_0x2700,0x198));var _0x1274=function(_0x4950b5,_0x270047){_0x4950b5=_0x4950b5-0x0;var _0x127462=_0x2700[_0x4950b5];return _0x127462;};import{Plugin as _0x55918c}from'ckeditor5/src/core';import _0x46b138 from'./comments/commentsrepository';import _0x3410c0 from'./comments/commentsediting';import _0xc53860 from'./comments/commentsui';import _0x53eaba from'./commentsonly';import _0xa5f85e from'./annotations/widesidebar';import _0x1c46bc from'./annotations/narrowsidebar';import _0x5d7a56 from'./annotations/inlineannotations';export default class c extends _0x55918c{static get[_0x1274('0x2')](){return[_0x46b138,_0x3410c0,_0xc53860,_0x53eaba,_0xa5f85e,_0x1c46bc,_0x5d7a56];}static get[_0x1274('0x0')](){return _0x1274('0x1');}}
@@ -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 _0x17d1=['forceDisabled','document','addCommentThread','clearForceDisabled','editor','cut','listenTo','stopListening','view','has','DragDrop','set','commands','CommentsOnly','commentsOnlyMode','editing','requires','delete','stop','_enableCommentsOnlyMode','plugins','isEnabled','pluginName','get','change:isEnabled','affectsData','clipboardInput','highest','afterInit'];(function(_0x3c5c0f,_0x17d1c5){const _0x279f48=function(_0x3b8ae9){while(--_0x3b8ae9){_0x3c5c0f['push'](_0x3c5c0f['shift']());}};_0x279f48(++_0x17d1c5);}(_0x17d1,0x161));const _0x279f=function(_0x3c5c0f,_0x17d1c5){_0x3c5c0f=_0x3c5c0f-0x0;let _0x279f48=_0x17d1[_0x3c5c0f];return _0x279f48;};import{Plugin as _0x176a47}from'ckeditor5/src/core';import _0xebef22 from'./comments/commentsediting';export default class e extends _0x176a47{static get[_0x279f('0x11')](){return _0x279f('0x8');}static get[_0x279f('0xb')](){return[_0xebef22];}constructor(_0x4ab009){super(_0x4ab009),this[_0x279f('0x6')](_0x279f('0x10'),null),this['on'](_0x279f('0x13'),(_0x2e1f0b,_0x1a7fc0,_0x450c62)=>{_0x450c62?this[_0x279f('0xe')]():this['_disableCommentsOnlyMode']();});}[_0x279f('0x17')](){null===this[_0x279f('0x10')]&&(this[_0x279f('0x10')]=!!this[_0x279f('0x1c')]['config'][_0x279f('0x12')]('commentsOnly'));}[_0x279f('0xe')](){for(const [_0x171505,_0x132e4c]of this[_0x279f('0x1c')][_0x279f('0x7')])_0x132e4c[_0x279f('0x14')]&&_0x279f('0x1a')!==_0x171505&&_0x132e4c[_0x279f('0x18')](_0x279f('0x9'));this[_0x279f('0x1c')][_0x279f('0xf')][_0x279f('0x4')](_0x279f('0x5'))&&this['editor'][_0x279f('0xf')][_0x279f('0x12')](_0x279f('0x5'))[_0x279f('0x18')](_0x279f('0x9'));const _0x25ee19=this[_0x279f('0x1c')]['editing']['view'][_0x279f('0x19')];this[_0x279f('0x1')](_0x25ee19,_0x279f('0x0'),_0x1b57b9=>_0x1b57b9['stop'](),{'priority':_0x279f('0x16')}),this['listenTo'](_0x25ee19,_0x279f('0x15'),_0x3fcaa5=>_0x3fcaa5[_0x279f('0xd')](),{'priority':_0x279f('0x16')}),this[_0x279f('0x1')](_0x25ee19,_0x279f('0xc'),_0x2fbf4b=>_0x2fbf4b[_0x279f('0xd')](),{'priority':_0x279f('0x16')});}['_disableCommentsOnlyMode'](){for(const [_0x824628,_0x156162]of this[_0x279f('0x1c')][_0x279f('0x7')])_0x156162['affectsData']&&_0x279f('0x1a')!==_0x824628&&_0x156162[_0x279f('0x1b')](_0x279f('0x9'));this[_0x279f('0x2')](this['editor'][_0x279f('0xa')][_0x279f('0x3')]['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(_0x5c6e25,_0x42b2c9,_0xa56aaa){const t=_0x5c6e25['t'];switch(_0x42b2c9){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'},_0xa56aaa);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'},_0xa56aaa);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'},_0xa56aaa);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'},_0xa56aaa);}}
@@ -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 _0x4a70=['attributes','class','cancel','type','attributeName','observe','childList'];(function(_0x3f6d98,_0x4a702a){const _0x1b39fd=function(_0x2923d6){while(--_0x2923d6){_0x3f6d98['push'](_0x3f6d98['shift']());}};_0x1b39fd(++_0x4a702a);}(_0x4a70,0x74));const _0x1b39=function(_0x3f6d98,_0x4a702a){_0x3f6d98=_0x3f6d98-0x0;let _0x1b39fd=_0x4a70[_0x3f6d98];return _0x1b39fd;};import{throttle as _0x31a186}from'lodash-es';export default function ft(_0x3779b6){const _0x5cb025=_0x31a186(_0x3779b6,0x1e),_0x23d96a=new MutationObserver(_0x2ec50a=>{for(const _0x2d267a of _0x2ec50a)(_0x1b39('0x3')==_0x2d267a[_0x1b39('0x6')]&&_0x1b39('0x4')==_0x2d267a[_0x1b39('0x0')]||_0x1b39('0x2')==_0x2d267a[_0x1b39('0x6')])&&_0x5cb025();});return{'attach'(_0x4b91c2){_0x23d96a[_0x1b39('0x1')](_0x4b91c2,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0});},'detach'(){_0x23d96a['disconnect'](),_0x5cb025[_0x1b39('0x5')]();}};}
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
  }