@ckeditor/ckeditor5-comments 35.3.0 → 35.3.2

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 (90) hide show
  1. package/build/comments.js +1 -2
  2. package/package.json +3 -3
  3. package/src/annotations/annotation.js +1 -1
  4. package/src/annotations/annotationcollection.js +1 -1
  5. package/src/annotations/annotations.js +1 -1
  6. package/src/annotations/annotationsuis.js +1 -1
  7. package/src/annotations/editorannotations.js +1 -1
  8. package/src/annotations/inlineannotations.js +1 -1
  9. package/src/annotations/narrowsidebar.js +1 -1
  10. package/src/annotations/sidebar.js +1 -1
  11. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  12. package/src/annotations/view/annotationview.js +1 -1
  13. package/src/annotations/view/sidebaritemview.js +1 -1
  14. package/src/annotations/view/sidebarview.js +1 -1
  15. package/src/annotations/widesidebar.js +1 -1
  16. package/src/comments/addcommentthreadcommand.js +1 -1
  17. package/src/comments/commentsediting.js +1 -1
  18. package/src/comments/commentsrepository.js +1 -1
  19. package/src/comments/commentsui.js +1 -1
  20. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  21. package/src/comments/integrations/importword.js +1 -1
  22. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  23. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  24. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  25. package/src/comments/ui/commentthreadcontroller.js +1 -1
  26. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  27. package/src/comments/ui/view/basecommentview.js +1 -1
  28. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  29. package/src/comments/ui/view/commentcontentview.js +1 -1
  30. package/src/comments/ui/view/commentinputview.js +1 -1
  31. package/src/comments/ui/view/commentslistview.js +1 -1
  32. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  33. package/src/comments/ui/view/commentthreadview.js +1 -1
  34. package/src/comments/ui/view/commentview.js +1 -1
  35. package/src/comments.js +1 -1
  36. package/src/commentsonly.js +1 -1
  37. package/src/utils/common-translations.js +1 -1
  38. package/src/utils/createmutationobserver.js +1 -1
  39. package/build/translations/af.js +0 -1
  40. package/build/translations/ar.js +0 -1
  41. package/build/translations/bg.js +0 -1
  42. package/build/translations/bn.js +0 -1
  43. package/build/translations/bs.js +0 -1
  44. package/build/translations/ca.js +0 -1
  45. package/build/translations/cs.js +0 -1
  46. package/build/translations/da.js +0 -1
  47. package/build/translations/de-ch.js +0 -1
  48. package/build/translations/de.js +0 -1
  49. package/build/translations/el.js +0 -1
  50. package/build/translations/en-au.js +0 -1
  51. package/build/translations/es-co.js +0 -1
  52. package/build/translations/es.js +0 -1
  53. package/build/translations/et.js +0 -1
  54. package/build/translations/fa.js +0 -1
  55. package/build/translations/fi.js +0 -1
  56. package/build/translations/fr.js +0 -1
  57. package/build/translations/gl.js +0 -1
  58. package/build/translations/he.js +0 -1
  59. package/build/translations/hi.js +0 -1
  60. package/build/translations/hr.js +0 -1
  61. package/build/translations/hu.js +0 -1
  62. package/build/translations/id.js +0 -1
  63. package/build/translations/it.js +0 -1
  64. package/build/translations/ja.js +0 -1
  65. package/build/translations/jv.js +0 -1
  66. package/build/translations/ko.js +0 -1
  67. package/build/translations/lt.js +0 -1
  68. package/build/translations/lv.js +0 -1
  69. package/build/translations/ms.js +0 -1
  70. package/build/translations/nl.js +0 -1
  71. package/build/translations/no.js +0 -1
  72. package/build/translations/pl.js +0 -1
  73. package/build/translations/pt-br.js +0 -1
  74. package/build/translations/pt.js +0 -1
  75. package/build/translations/ro.js +0 -1
  76. package/build/translations/ru.js +0 -1
  77. package/build/translations/sk.js +0 -1
  78. package/build/translations/sr-latn.js +0 -1
  79. package/build/translations/sr.js +0 -1
  80. package/build/translations/sv.js +0 -1
  81. package/build/translations/th.js +0 -1
  82. package/build/translations/tk.js +0 -1
  83. package/build/translations/tr.js +0 -1
  84. package/build/translations/tt.js +0 -1
  85. package/build/translations/ug.js +0 -1
  86. package/build/translations/uk.js +0 -1
  87. package/build/translations/ur.js +0 -1
  88. package/build/translations/vi.js +0 -1
  89. package/build/translations/zh-cn.js +0 -1
  90. package/build/translations/zh.js +0 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f6e=['focus','innerView','bind','map','locale','focusTracker','get','highest','plugins','editor','listenTo','_viewToController','push','model','addSourceCollector','length','pluginName','CommentsListView','execute','comment:','view','Comment','hasMarkerForId','_createUIButton','init','addCommentThread','tooltip','activeMarker','comment','_threadToController','CommentThreadInputView','CommentsUI','icon','change:activeAnnotations','isFocused','add'];(function(_0x169d8a,_0x4f6e70){const _0x40c2d7=function(_0x30e27d){while(--_0x30e27d){_0x169d8a['push'](_0x169d8a['shift']());}};_0x40c2d7(++_0x4f6e70);}(_0x4f6e,0xc3));const _0x40c2=function(_0x169d8a,_0x4f6e70){_0x169d8a=_0x169d8a-0x0;let _0x40c2d7=_0x4f6e[_0x169d8a];return _0x40c2d7;};import{Plugin as _0x57ac67}from'ckeditor5/src/core';import _0x19c5ec from'./commentsrepository';import _0x815014 from'./commentsediting';import _0x33444a from'../annotations/editorannotations';import{ButtonView as _0x526519}from'ckeditor5/src/ui';import _0x183838 from'../../theme/icons/add-comment.svg';import _0x432b05 from'../annotations/annotations';import _0x3cc39e from'./ui/view/commentslistview';import _0x3a0ab9 from'./ui/view/commentthreadinputview';import{getTranslation as _0x103ce7}from'../utils/common-translations';export default class n extends _0x57ac67{static get[_0x40c2('0x1')](){return _0x40c2('0x10');}static get['requires'](){return[_0x19c5ec,_0x815014,_0x33444a,_0x432b05];}get[_0x40c2('0x2')](){return _0x3cc39e;}get[_0x40c2('0xf')](){return _0x3a0ab9;}[_0x40c2('0x9')](){const _0x47678e=this[_0x40c2('0x1e')],_0x438559=_0x47678e[_0x40c2('0x1d')][_0x40c2('0x1b')](_0x19c5ec),_0x479cb1=_0x47678e['plugins'][_0x40c2('0x1b')](_0x815014),_0x4fa793=_0x47678e[_0x40c2('0x1d')][_0x40c2('0x1b')](_0x432b05),_0x692b20=_0x47678e[_0x40c2('0x1d')][_0x40c2('0x1b')](_0x33444a);_0x47678e['ui']['componentFactory'][_0x40c2('0x14')](_0x40c2('0xd'),()=>this[_0x40c2('0x8')]()),_0x692b20[_0x40c2('0x23')](()=>{const _0xf3ec1e=[];for(const [_0x5b2d90,_0x1fc457]of _0x438559[_0x40c2('0xe')]){const _0x3d0d2e=_0x479cb1['getAllMarkersForId'](_0x5b2d90['id']),_0x2a552c=_0x3d0d2e[_0x40c2('0x18')](_0x3630f7=>_0x3630f7['getRange']());_0x3d0d2e[_0x40c2('0x0')]>0x0&&_0xf3ec1e[_0x40c2('0x21')]([_0x1fc457[_0x40c2('0x5')],_0x2a552c]);}return _0xf3ec1e;}),this[_0x40c2('0x1f')](_0x4fa793,_0x40c2('0x12'),(_0x1fd575,_0x5d0ecd,_0x1b3afb)=>{const _0x4ace28=Array['from'](_0x1b3afb)[_0x40c2('0x18')](_0x127ab4=>_0x127ab4[_0x40c2('0x16')])['find'](_0x238fa1=>_0x438559[_0x40c2('0x20')]['has'](_0x238fa1));if(!_0x4ace28)return void(_0x479cb1['activeMarker']=null);const _0x3519b9=_0x438559['_viewToController'][_0x40c2('0x1b')](_0x4ace28)[_0x40c2('0x22')]['id'],_0x4457ab=_0x40c2('0x4')+_0x3519b9;_0x479cb1[_0x40c2('0x7')](_0x3519b9)?_0x479cb1[_0x40c2('0xc')]=_0x4457ab:_0x479cb1[_0x40c2('0xc')]&&(_0x479cb1['activeMarker']=null);}),this['listenTo'](_0x438559,'removeCommentThread',(_0x317ce3,{threadId:_0x50eac6,isFromAdapter:_0x213d66})=>{!_0x213d66&&_0x47678e['ui'][_0x40c2('0x1a')][_0x40c2('0x13')]&&_0x479cb1[_0x40c2('0x7')](_0x50eac6)&&_0x47678e['editing'][_0x40c2('0x5')][_0x40c2('0x15')]();},{'priority':_0x40c2('0x1c')}),this[_0x40c2('0x1f')](_0x438559,'addComment',(_0x482fd3,{threadId:_0x255742,isFromAdapter:_0x214510})=>{if(_0x214510||!_0x479cb1[_0x40c2('0x7')](_0x255742)||!_0x438559['hasCommentThread'](_0x255742))return;0x1===_0x438559['getCommentThread'](_0x255742)[_0x40c2('0x0')]&&(_0x47678e['editing'][_0x40c2('0x5')][_0x40c2('0x15')](),_0x482fd3['stop']());},{'priority':'low'});}[_0x40c2('0x8')](){const _0xa606e9=this[_0x40c2('0x1e')],_0x18224e=new _0x526519(_0xa606e9[_0x40c2('0x19')]),_0x1bfbc9=_0xa606e9['commands']['get'](_0x40c2('0xa'));return _0x18224e['label']=_0x103ce7(_0xa606e9['locale'],_0x40c2('0x6')),_0x18224e[_0x40c2('0xb')]=_0x103ce7(_0xa606e9[_0x40c2('0x19')],_0x40c2('0x6')),_0x18224e[_0x40c2('0x11')]=_0x183838,_0x18224e[_0x40c2('0x17')]('isEnabled')['to'](_0x1bfbc9),this[_0x40c2('0x1f')](_0x18224e,_0x40c2('0x3'),()=>_0x1bfbc9[_0x40c2('0x3')]()),_0x18224e;}}
23
+ const _0x3c05=['init','isEnabled','componentFactory','push','editor','addCommentThread','listenTo','view','innerView','locale','add','_createUIButton','plugins','getCommentThread','focus','focusTracker','tooltip','requires','change:activeAnnotations','CommentThreadInputView','Comment','get','comment:','CommentsUI','CommentsListView','find','hasCommentThread','label','hasMarkerForId','commands','isFocused','stop','getRange','highest','low','map','bind','icon','activeMarker','getAllMarkersForId','length','pluginName','_viewToController','editing'];(function(_0x231eeb,_0x3c0544){const _0x4b6d6c=function(_0x5c838b){while(--_0x5c838b){_0x231eeb['push'](_0x231eeb['shift']());}};_0x4b6d6c(++_0x3c0544);}(_0x3c05,0xf7));const _0x4b6d=function(_0x231eeb,_0x3c0544){_0x231eeb=_0x231eeb-0x0;let _0x4b6d6c=_0x3c05[_0x231eeb];return _0x4b6d6c;};import{Plugin as _0x465843}from'ckeditor5/src/core';import _0x473d14 from'./commentsrepository';import _0xd61be9 from'./commentsediting';import _0x1527dc from'../annotations/editorannotations';import{ButtonView as _0xec97bf}from'ckeditor5/src/ui';import _0x128729 from'../../theme/icons/add-comment.svg';import _0x520576 from'../annotations/annotations';import _0x6f96 from'./ui/view/commentslistview';import _0x1e3016 from'./ui/view/commentthreadinputview';import{getTranslation as _0x53195e}from'../utils/common-translations';export default class n extends _0x465843{static get[_0x4b6d('0xe')](){return _0x4b6d('0x28');}static get[_0x4b6d('0x22')](){return[_0x473d14,_0xd61be9,_0x1527dc,_0x520576];}get[_0x4b6d('0x29')](){return _0x6f96;}get[_0x4b6d('0x24')](){return _0x1e3016;}[_0x4b6d('0x11')](){const _0x44e527=this[_0x4b6d('0x15')],_0x23ef16=_0x44e527[_0x4b6d('0x1d')][_0x4b6d('0x26')](_0x473d14),_0x49904d=_0x44e527[_0x4b6d('0x1d')]['get'](_0xd61be9),_0x1f86b6=_0x44e527[_0x4b6d('0x1d')]['get'](_0x520576),_0x3dd6b6=_0x44e527[_0x4b6d('0x1d')][_0x4b6d('0x26')](_0x1527dc);_0x44e527['ui'][_0x4b6d('0x13')][_0x4b6d('0x1b')]('comment',()=>this['_createUIButton']()),_0x3dd6b6['addSourceCollector'](()=>{const _0x10aa7c=[];for(const [_0x45897f,_0x56d47f]of _0x23ef16['_threadToController']){const _0x577b8f=_0x49904d[_0x4b6d('0xc')](_0x45897f['id']),_0x1b98da=_0x577b8f[_0x4b6d('0x8')](_0x4dca6c=>_0x4dca6c[_0x4b6d('0x5')]());_0x577b8f[_0x4b6d('0xd')]>0x0&&_0x10aa7c[_0x4b6d('0x14')]([_0x56d47f['view'],_0x1b98da]);}return _0x10aa7c;}),this[_0x4b6d('0x17')](_0x1f86b6,_0x4b6d('0x23'),(_0x86c079,_0x2257ae,_0x2ba900)=>{const _0x4ab593=Array['from'](_0x2ba900)['map'](_0x5d7655=>_0x5d7655[_0x4b6d('0x19')])[_0x4b6d('0x2a')](_0x331042=>_0x23ef16[_0x4b6d('0xf')]['has'](_0x331042));if(!_0x4ab593)return void(_0x49904d[_0x4b6d('0xb')]=null);const _0x2595f8=_0x23ef16[_0x4b6d('0xf')][_0x4b6d('0x26')](_0x4ab593)['model']['id'],_0x115b51=_0x4b6d('0x27')+_0x2595f8;_0x49904d[_0x4b6d('0x1')](_0x2595f8)?_0x49904d[_0x4b6d('0xb')]=_0x115b51:_0x49904d[_0x4b6d('0xb')]&&(_0x49904d[_0x4b6d('0xb')]=null);}),this[_0x4b6d('0x17')](_0x23ef16,'removeCommentThread',(_0xeca9a,{threadId:_0x206f09,isFromAdapter:_0x2a6b6a})=>{!_0x2a6b6a&&_0x44e527['ui'][_0x4b6d('0x20')][_0x4b6d('0x3')]&&_0x49904d[_0x4b6d('0x1')](_0x206f09)&&_0x44e527[_0x4b6d('0x10')][_0x4b6d('0x18')]['focus']();},{'priority':_0x4b6d('0x6')}),this['listenTo'](_0x23ef16,'addComment',(_0x389b1b,{threadId:_0x55847b,isFromAdapter:_0x197104})=>{if(_0x197104||!_0x49904d[_0x4b6d('0x1')](_0x55847b)||!_0x23ef16[_0x4b6d('0x2b')](_0x55847b))return;0x1===_0x23ef16[_0x4b6d('0x1e')](_0x55847b)[_0x4b6d('0xd')]&&(_0x44e527['editing'][_0x4b6d('0x18')][_0x4b6d('0x1f')](),_0x389b1b[_0x4b6d('0x4')]());},{'priority':_0x4b6d('0x7')});}[_0x4b6d('0x1c')](){const _0x5e33c4=this[_0x4b6d('0x15')],_0x7eecc5=new _0xec97bf(_0x5e33c4[_0x4b6d('0x1a')]),_0x33a128=_0x5e33c4[_0x4b6d('0x2')][_0x4b6d('0x26')](_0x4b6d('0x16'));return _0x7eecc5[_0x4b6d('0x0')]=_0x53195e(_0x5e33c4[_0x4b6d('0x1a')],_0x4b6d('0x25')),_0x7eecc5[_0x4b6d('0x21')]=_0x53195e(_0x5e33c4[_0x4b6d('0x1a')],_0x4b6d('0x25')),_0x7eecc5[_0x4b6d('0xa')]=_0x128729,_0x7eecc5[_0x4b6d('0x9')](_0x4b6d('0x12'))['to'](_0x33a128),this[_0x4b6d('0x17')](_0x7eecc5,'execute',()=>_0x33a128['execute']()),_0x7eecc5;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x567f=['get','RestrictedEditingModeEditing','has','addCommentThread','enableCommand','plugins'];(function(_0x17b5e2,_0x567f0c){const _0x2e3b0a=function(_0x2d951e){while(--_0x2d951e){_0x17b5e2['push'](_0x17b5e2['shift']());}};_0x2e3b0a(++_0x567f0c);}(_0x567f,0xc7));const _0x2e3b=function(_0x17b5e2,_0x567f0c){_0x17b5e2=_0x17b5e2-0x0;let _0x2e3b0a=_0x567f[_0x17b5e2];return _0x2e3b0a;};import{Plugin as _0x4769c9}from'ckeditor5/src/core';export default class F extends _0x4769c9{['afterInit'](){const _0x2c6ff8=this['editor'];if(!_0x2c6ff8[_0x2e3b('0x4')][_0x2e3b('0x1')]('RestrictedEditingModeEditing'))return;_0x2c6ff8[_0x2e3b('0x4')][_0x2e3b('0x5')](_0x2e3b('0x0'))[_0x2e3b('0x3')](_0x2e3b('0x2'));}}
23
+ const _0x1b3f=['enableCommand','afterInit','RestrictedEditingModeEditing','has','plugins','editor','get'];(function(_0x1a0cca,_0x1b3f0d){const _0x1260b9=function(_0xdf8299){while(--_0xdf8299){_0x1a0cca['push'](_0x1a0cca['shift']());}};_0x1260b9(++_0x1b3f0d);}(_0x1b3f,0xd1));const _0x1260=function(_0x1a0cca,_0x1b3f0d){_0x1a0cca=_0x1a0cca-0x0;let _0x1260b9=_0x1b3f[_0x1a0cca];return _0x1260b9;};import{Plugin as _0x1d08a1}from'ckeditor5/src/core';export default class F extends _0x1d08a1{[_0x1260('0x2')](){const _0x538a3f=this[_0x1260('0x6')];if(!_0x538a3f[_0x1260('0x5')][_0x1260('0x4')](_0x1260('0x3')))return;_0x538a3f[_0x1260('0x5')][_0x1260('0x0')](_0x1260('0x3'))[_0x1260('0x1')]('addCommentThread');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5207=['collaboration.channelId','execute','plugins','Users','map','config','high','_handleImportedData','editor','commands','importWord','dataInsert','get','afterInit'];(function(_0x73d34b,_0x520739){const _0x4e55d4=function(_0x4ac36b){while(--_0x4ac36b){_0x73d34b['push'](_0x73d34b['shift']());}};_0x4e55d4(++_0x520739);}(_0x5207,0x82));const _0x4e55=function(_0x73d34b,_0x520739){_0x73d34b=_0x73d34b-0x0;let _0x4e55d4=_0x5207[_0x73d34b];return _0x4e55d4;};import{Plugin as _0x10779f}from'ckeditor5/src/core';import{priorities as _0x203148}from'ckeditor5/src/utils';import _0x11edf3 from'../commentsrepository';export default class q extends _0x10779f{[_0x4e55('0x9')](){const _0x59c876=this[_0x4e55('0x4')],_0x4702dd=_0x59c876[_0x4e55('0x5')][_0x4e55('0x8')](_0x4e55('0x6')),_0x153dfb=_0x59c876[_0x4e55('0xc')]['get'](_0x4e55('0xd'));_0x4702dd&&(_0x4702dd['on'](_0x4e55('0xb'),(_0x4e63af,[,_0x2155df])=>{_0x2155df['collaboration_features']={'comments':!0x0,'user_id':_0x153dfb['me']['id']};},{'priority':_0x203148[_0x4e55('0x2')]+0xa}),this['listenTo'](_0x4702dd,_0x4e55('0x7'),this[_0x4e55('0x3')]));}[_0x4e55('0x3')](_0x328457,_0x12d692){const {comment_threads:_0x1db458}=_0x12d692;_0x1db458&&_0x1db458['forEach'](({thread_id:_0x49740b,comments:_0x2dd307})=>{const _0x301158=_0x2dd307[_0x4e55('0x0')](({author:_0xd08d90,content:_0x3f8304,created_at:_0x3d5d8f})=>({'content':_0x3f8304,'authorId':this[_0x4e55('0x4')][_0x4e55('0xc')][_0x4e55('0x8')](_0x4e55('0xd'))['me']['id'],'createdAt':new Date(),'attributes':{'@external':{'authorName':_0xd08d90,'createdAt':_0x3d5d8f?new Date(_0x3d5d8f):new Date(),'source':_0x4e55('0x6')}}})),_0x2102cc=this[_0x4e55('0x4')][_0x4e55('0x1')][_0x4e55('0x8')](_0x4e55('0xa'));this['editor'][_0x4e55('0xc')][_0x4e55('0x8')](_0x11edf3)['addCommentThread']({'channelId':_0x2102cc,'threadId':_0x49740b,'comments':_0x301158});});}}
23
+ const _0xb1f1=['commands','dataInsert','config','importWord','map','collaboration_features','afterInit','high','plugins','_handleImportedData','listenTo','execute','forEach','get','Users','collaboration.channelId','addCommentThread','editor'];(function(_0x4746a0,_0xb1f121){const _0x5b8d02=function(_0x34b6ad){while(--_0x34b6ad){_0x4746a0['push'](_0x4746a0['shift']());}};_0x5b8d02(++_0xb1f121);}(_0xb1f1,0x18f));const _0x5b8d=function(_0x4746a0,_0xb1f121){_0x4746a0=_0x4746a0-0x0;let _0x5b8d02=_0xb1f1[_0x4746a0];return _0x5b8d02;};import{Plugin as _0x35171b}from'ckeditor5/src/core';import{priorities as _0x2f471c}from'ckeditor5/src/utils';import _0x56fe08 from'../commentsrepository';export default class q extends _0x35171b{[_0x5b8d('0x3')](){const _0x53f789=this[_0x5b8d('0xe')],_0x34dd66=_0x53f789[_0x5b8d('0xf')]['get'](_0x5b8d('0x0')),_0x27b172=_0x53f789[_0x5b8d('0x5')]['get'](_0x5b8d('0xb'));_0x34dd66&&(_0x34dd66['on'](_0x5b8d('0x8'),(_0x21a456,[,_0x15a53b])=>{_0x15a53b[_0x5b8d('0x2')]={'comments':!0x0,'user_id':_0x27b172['me']['id']};},{'priority':_0x2f471c[_0x5b8d('0x4')]+0xa}),this[_0x5b8d('0x7')](_0x34dd66,_0x5b8d('0x10'),this[_0x5b8d('0x6')]));}[_0x5b8d('0x6')](_0x422815,_0x5e3f87){const {comment_threads:_0x4b38fa}=_0x5e3f87;_0x4b38fa&&_0x4b38fa[_0x5b8d('0x9')](({thread_id:_0x311a07,comments:_0x3097bf})=>{const _0x1d576a=_0x3097bf[_0x5b8d('0x1')](({author:_0x4bb870,content:_0x1d38af,created_at:_0x586052})=>({'content':_0x1d38af,'authorId':this[_0x5b8d('0xe')][_0x5b8d('0x5')][_0x5b8d('0xa')](_0x5b8d('0xb'))['me']['id'],'createdAt':new Date(),'attributes':{'@external':{'authorName':_0x4bb870,'createdAt':_0x586052?new Date(_0x586052):new Date(),'source':_0x5b8d('0x0')}}})),_0x5f11ab=this[_0x5b8d('0xe')][_0x5b8d('0x11')]['get'](_0x5b8d('0xc'));this['editor']['plugins'][_0x5b8d('0xa')](_0x56fe08)[_0x5b8d('0xd')]({'channelId':_0x5f11ab,'threadId':_0x311a07,'comments':_0x1d576a});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a4f=['focus','defaultPlugins','childCount','placeholder','_updatePlaceholder','change','create','initPlugins','setSelection','initialData','ready','document','name','view','change:placeholder','getRoot','plugins','assign','editing','init','fire','placeholderElement','getChild','destroy','then','config','set','data','model'];(function(_0x1ce9aa,_0x2a4f1c){const _0x14c023=function(_0x314be6){while(--_0x314be6){_0x1ce9aa['push'](_0x1ce9aa['shift']());}};_0x14c023(++_0x2a4f1c);}(_0x2a4f,0xdd));const _0x14c0=function(_0x1ce9aa,_0x2a4f1c){_0x1ce9aa=_0x1ce9aa-0x0;let _0x14c023=_0x2a4f[_0x1ce9aa];return _0x14c023;};import{Editor as _0x536106,DataApiMixin as _0x419220}from'ckeditor5/src/core';import _0x2898dd from'./commenteditorui';import{mix as _0x5a0062,ObservableMixin as _0x11b625}from'ckeditor5/src/utils';import{enablePlaceholder as _0x419e27,disablePlaceholder as _0x2487f2}from'ckeditor5/src/engine';import{Clipboard as _0x3976d2}from'ckeditor5/src/clipboard';import{Enter as _0xb5408f,ShiftEnter as _0x155cc6}from'ckeditor5/src/enter';import{SelectAll as _0x1e1fde}from'ckeditor5/src/select-all';import{Typing as _0x51b492}from'ckeditor5/src/typing';import{Undo as _0x4159cb}from'ckeditor5/src/undo';import{Paragraph as _0x4bcbe7}from'ckeditor5/src/paragraph';export default class At extends _0x536106{constructor(_0x13b5b0={}){(_0x13b5b0=Object[_0x14c0('0x1c')]({},_0x13b5b0))[_0x14c0('0x1b')]||(_0x13b5b0[_0x14c0('0x1b')]=At[_0x14c0('0xc')]),super(_0x13b5b0),this['ui']=new _0x2898dd(this),this[_0x14c0('0x8')](_0x14c0('0xe'),''),this[_0x14c0('0xa')][_0x14c0('0x16')]['on'](_0x14c0('0x10'),()=>this[_0x14c0('0xf')](),{'priority':'low'}),this['on'](_0x14c0('0x19'),()=>this[_0x14c0('0xf')]()),this[_0x14c0('0xa')][_0x14c0('0x16')]['createRoot']();}[_0x14c0('0x11')](){const _0x35d8d3=this[_0x14c0('0x7')]['get'](_0x14c0('0x14'))||'';return this[_0x14c0('0x12')]()[_0x14c0('0x6')](()=>this['ui'][_0x14c0('0x1')]())[_0x14c0('0x6')](()=>this[_0x14c0('0x9')]['init'](_0x35d8d3))['then'](()=>this[_0x14c0('0x2')](_0x14c0('0x15')));}[_0x14c0('0x5')](){return super[_0x14c0('0x5')]()[_0x14c0('0x6')](()=>this['ui']['destroy']());}[_0x14c0('0xb')](){this[_0x14c0('0xa')][_0x14c0('0x10')](_0x226a65=>{const _0x3f66bf=this['model'][_0x14c0('0x16')][_0x14c0('0x1a')](),_0xf7db9=_0x3f66bf[_0x14c0('0x4')](_0x3f66bf['childCount']-0x1);_0x226a65[_0x14c0('0x13')](_0xf7db9,'end'),this[_0x14c0('0x0')][_0x14c0('0x18')][_0x14c0('0xb')]();});}['_updatePlaceholder'](){const _0x18a71f=this[_0x14c0('0x0')][_0x14c0('0x18')],_0x571c15=_0x18a71f['document'][_0x14c0('0x1a')](),_0x5ab1ee=_0x571c15['getChild'](0x0);_0x571c15[_0x14c0('0xd')]>0x1||!_0x5ab1ee||'p'!=_0x5ab1ee[_0x14c0('0x17')]?this['placeholderElement']&&(_0x2487f2(_0x18a71f,this[_0x14c0('0x3')]),this[_0x14c0('0x3')]=void 0x0):(_0x419e27({'view':_0x18a71f,'element':_0x5ab1ee,'text':this[_0x14c0('0xe')],'keepOnFocus':!0x0}),this['placeholderElement']=_0x5ab1ee);}}_0x5a0062(At,_0x11b625),_0x5a0062(At,_0x419220),At[_0x14c0('0xc')]=[_0x3976d2,_0xb5408f,_0x155cc6,_0x1e1fde,_0x51b492,_0x4159cb,_0x4bcbe7];
23
+ const _0x4d77=['data','createRoot','initPlugins','end','model','fire','getRoot','name','_updatePlaceholder','getChild','placeholder','focus','then','low','document','init','placeholderElement','destroy','ready','change:placeholder','defaultPlugins','assign','editing','childCount','create','get','plugins','initialData'];(function(_0x171a01,_0x4d77c0){const _0x5035c6=function(_0x27a0ac){while(--_0x27a0ac){_0x171a01['push'](_0x171a01['shift']());}};_0x5035c6(++_0x4d77c0);}(_0x4d77,0xc5));const _0x5035=function(_0x171a01,_0x4d77c0){_0x171a01=_0x171a01-0x0;let _0x5035c6=_0x4d77[_0x171a01];return _0x5035c6;};import{Editor as _0x50e910,DataApiMixin as _0x3aa4b3}from'ckeditor5/src/core';import _0x49feb1 from'./commenteditorui';import{mix as _0xaa541b,ObservableMixin as _0x8b7dfb}from'ckeditor5/src/utils';import{enablePlaceholder as _0x18640a,disablePlaceholder as _0x26f1f9}from'ckeditor5/src/engine';import{Clipboard as _0x26f605}from'ckeditor5/src/clipboard';import{Enter as _0x213ec6,ShiftEnter as _0x381f81}from'ckeditor5/src/enter';import{SelectAll as _0xdb1d85}from'ckeditor5/src/select-all';import{Typing as _0xb631e7}from'ckeditor5/src/typing';import{Undo as _0x20b07f}from'ckeditor5/src/undo';import{Paragraph as _0x3819ab}from'ckeditor5/src/paragraph';export default class At extends _0x50e910{constructor(_0x59c7bb={}){(_0x59c7bb=Object[_0x5035('0x14')]({},_0x59c7bb))[_0x5035('0x19')]||(_0x59c7bb[_0x5035('0x19')]=At[_0x5035('0x13')]),super(_0x59c7bb),this['ui']=new _0x49feb1(this),this['set']('placeholder',''),this[_0x5035('0x3')][_0x5035('0xd')]['on']('change',()=>this[_0x5035('0x7')](),{'priority':_0x5035('0xc')}),this['on'](_0x5035('0x12'),()=>this['_updatePlaceholder']()),this[_0x5035('0x3')][_0x5035('0xd')][_0x5035('0x0')]();}[_0x5035('0x17')](){const _0x38acce=this['config'][_0x5035('0x18')](_0x5035('0x1a'))||'';return this[_0x5035('0x1')]()[_0x5035('0xb')](()=>this['ui'][_0x5035('0xe')]())[_0x5035('0xb')](()=>this[_0x5035('0x1b')][_0x5035('0xe')](_0x38acce))[_0x5035('0xb')](()=>this[_0x5035('0x4')](_0x5035('0x11')));}[_0x5035('0x10')](){return super[_0x5035('0x10')]()[_0x5035('0xb')](()=>this['ui'][_0x5035('0x10')]());}[_0x5035('0xa')](){this[_0x5035('0x3')]['change'](_0x58c838=>{const _0xaf0f9c=this['model'][_0x5035('0xd')]['getRoot'](),_0x115b67=_0xaf0f9c[_0x5035('0x8')](_0xaf0f9c[_0x5035('0x16')]-0x1);_0x58c838['setSelection'](_0x115b67,_0x5035('0x2')),this['editing']['view'][_0x5035('0xa')]();});}[_0x5035('0x7')](){const _0x1ce3ac=this[_0x5035('0x15')]['view'],_0x245124=_0x1ce3ac['document'][_0x5035('0x5')](),_0x39b9b4=_0x245124['getChild'](0x0);_0x245124[_0x5035('0x16')]>0x1||!_0x39b9b4||'p'!=_0x39b9b4[_0x5035('0x6')]?this[_0x5035('0xf')]&&(_0x26f1f9(_0x1ce3ac,this[_0x5035('0xf')]),this[_0x5035('0xf')]=void 0x0):(_0x18640a({'view':_0x1ce3ac,'element':_0x39b9b4,'text':this[_0x5035('0x9')],'keepOnFocus':!0x0}),this[_0x5035('0xf')]=_0x39b9b4);}}_0xaa541b(At,_0x8b7dfb),_0xaa541b(At,_0x3aa4b3),At[_0x5035('0x13')]=[_0x26f605,_0x213ec6,_0x381f81,_0xdb1d85,_0xb631e7,_0x20b07f,_0x3819ab];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5343=['rootName','render','init','focusTracker','isFocused','setEditableElement','getRoot','ready','document','editing','attachDomRoot','name','editable','destroy','view','element','editor','fire'];(function(_0x4887db,_0x5343d2){const _0x2f6e09=function(_0x11e68c){while(--_0x11e68c){_0x4887db['push'](_0x4887db['shift']());}};_0x2f6e09(++_0x5343d2);}(_0x5343,0x194));const _0x2f6e=function(_0x4887db,_0x5343d2){_0x4887db=_0x4887db-0x0;let _0x2f6e09=_0x5343[_0x4887db];return _0x2f6e09;};import{EditorUI as _0x3f62c3}from'ckeditor5/src/core';import _0x473799 from'./commenteditoruiview';export default class wt extends _0x3f62c3{constructor(_0x4f0ce3){super(_0x4f0ce3),this[_0x2f6e('0x6')]=new _0x473799(_0x4f0ce3['locale'],_0x4f0ce3[_0x2f6e('0x1')][_0x2f6e('0x6')]);}get['element'](){return this[_0x2f6e('0x6')]['element'];}[_0x2f6e('0xc')](){const _0x3f0a97=this[_0x2f6e('0x8')][_0x2f6e('0x1')][_0x2f6e('0x6')],_0x470c5b=this['view']['editable'],_0x3a9b72=_0x3f0a97[_0x2f6e('0x0')][_0x2f6e('0x10')]();_0x470c5b[_0x2f6e('0x3')]=_0x3a9b72[_0x2f6e('0xa')],this['view'][_0x2f6e('0xb')]();const _0x419727=_0x470c5b[_0x2f6e('0x7')];this[_0x2f6e('0xf')](_0x470c5b[_0x2f6e('0x3')],_0x419727),this[_0x2f6e('0x6')][_0x2f6e('0x4')]['bind'](_0x2f6e('0xe'))['to'](this[_0x2f6e('0xd')]),_0x3f0a97[_0x2f6e('0x2')](_0x419727),this[_0x2f6e('0x9')](_0x2f6e('0x11'));}[_0x2f6e('0x5')](){super['destroy'](),this[_0x2f6e('0x6')]['destroy']();}}
23
+ const _0x2fac=['view','locale','ready','init','bind','render','getRoot','editor','editing','attachDomRoot','name','setEditableElement','destroy','element','focusTracker','isFocused'];(function(_0x2f92f8,_0x2fac8e){const _0x440827=function(_0x245020){while(--_0x245020){_0x2f92f8['push'](_0x2f92f8['shift']());}};_0x440827(++_0x2fac8e);}(_0x2fac,0x12c));const _0x4408=function(_0x2f92f8,_0x2fac8e){_0x2f92f8=_0x2f92f8-0x0;let _0x440827=_0x2fac[_0x2f92f8];return _0x440827;};import{EditorUI as _0x4ec36f}from'ckeditor5/src/core';import _0xadaf71 from'./commenteditoruiview';export default class wt extends _0x4ec36f{constructor(_0x4c7849){super(_0x4c7849),this[_0x4408('0x4')]=new _0xadaf71(_0x4c7849[_0x4408('0x5')],_0x4c7849[_0x4408('0xc')][_0x4408('0x4')]);}get[_0x4408('0x1')](){return this[_0x4408('0x4')][_0x4408('0x1')];}[_0x4408('0x7')](){const _0x980f54=this[_0x4408('0xb')][_0x4408('0xc')][_0x4408('0x4')],_0x3264f6=this[_0x4408('0x4')]['editable'],_0x54e01f=_0x980f54['document'][_0x4408('0xa')]();_0x3264f6['name']=_0x54e01f['rootName'],this['view'][_0x4408('0x9')]();const _0x24bd32=_0x3264f6[_0x4408('0x1')];this[_0x4408('0xf')](_0x3264f6[_0x4408('0xe')],_0x24bd32),this['view']['editable'][_0x4408('0x8')](_0x4408('0x3'))['to'](this[_0x4408('0x2')]),_0x980f54[_0x4408('0xd')](_0x24bd32),this['fire'](_0x4408('0x6'));}[_0x4408('0x0')](){super[_0x4408('0x0')](),this[_0x4408('0x4')]['destroy']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf13a=['cke-editor__aria-label_','render','main','_createVoiceLabel','text','setTemplate','extendTemplate','ck-voice-label','focus','ck-editor','add','ck-editor__aria-label_','element','div','presentation','editable','ck-editor__main','uiLanguage','comment','ck-reset','ck-comment__input','createCollection','ck-rounded-corners','_voiceLabelView'];(function(_0x5c68b3,_0xf13a72){const _0x5cbea9=function(_0x313b8c){while(--_0x313b8c){_0x5c68b3['push'](_0x5c68b3['shift']());}};_0x5cbea9(++_0xf13a72);}(_0xf13a,0x1e8));const _0x5cbe=function(_0x5c68b3,_0xf13a72){_0x5c68b3=_0x5c68b3-0x0;let _0x5cbea9=_0xf13a[_0x5c68b3];return _0x5cbea9;};import{InlineEditableUIView as _0x101400,EditorUIView as _0x5b68a3,LabelView as _0x25b048}from'ckeditor5/src/ui';import{uid as _0x36579c}from'ckeditor5/src/utils';import{getTranslation as _0x32aa4f}from'../../../utils/common-translations';export default class Ct extends _0x5b68a3{constructor(_0x1cef41,_0x291b0c){super(_0x1cef41);const _0x1b4778=_0x36579c();this[_0x5cbe('0x12')]=this[_0x5cbe('0xd')](),this[_0x5cbe('0x7')]=new _0x101400(_0x1cef41,_0x291b0c),this[_0x5cbe('0xf')]=this[_0x5cbe('0x13')](_0x1b4778,_0x1cef41),this[_0x5cbe('0x15')]({'tag':_0x5cbe('0x5'),'attributes':{'class':[_0x5cbe('0xb'),_0x5cbe('0x1'),_0x5cbe('0xe'),_0x5cbe('0xc')],'role':_0x5cbe('0xa'),'dir':_0x1cef41['uiLanguageDirection'],'lang':_0x1cef41[_0x5cbe('0x9')],'aria-labelledby':_0x5cbe('0x10')+_0x1b4778},'children':[this[_0x5cbe('0xf')],{'tag':_0x5cbe('0x5'),'attributes':{'class':_0x5cbe('0x8'),'role':_0x5cbe('0x6')},'children':this[_0x5cbe('0x12')]}]});}['render'](){super[_0x5cbe('0x11')](),this['main'][_0x5cbe('0x2')](this[_0x5cbe('0x7')]);}[_0x5cbe('0x0')](){this['editable'][_0x5cbe('0x4')][_0x5cbe('0x0')]();}['_createVoiceLabel'](_0x4f2b07,_0x231e7c){const _0x3e274d=new _0x25b048();return _0x3e274d[_0x5cbe('0x14')]=_0x32aa4f(_0x231e7c,'Comment\x20editor'),_0x3e274d[_0x5cbe('0x16')]({'attributes':{'id':_0x5cbe('0x3')+_0x4f2b07,'class':_0x5cbe('0x17')}}),_0x3e274d;}}
23
+ const _0x1d35=['text','_voiceLabelView','uiLanguageDirection','uiLanguage','ck-reset','render','ck-voice-label','presentation','ck-editor__aria-label_','createCollection','element','add','editable','extendTemplate','Comment\x20editor','comment','ck-editor','ck-editor__main','main','cke-editor__aria-label_','setTemplate','_createVoiceLabel'];(function(_0x13b538,_0x1d3592){const _0x3a57f0=function(_0x1e2148){while(--_0x1e2148){_0x13b538['push'](_0x13b538['shift']());}};_0x3a57f0(++_0x1d3592);}(_0x1d35,0xb6));const _0x3a57=function(_0x13b538,_0x1d3592){_0x13b538=_0x13b538-0x0;let _0x3a57f0=_0x1d35[_0x13b538];return _0x3a57f0;};import{InlineEditableUIView as _0x35741a,EditorUIView as _0x5ac7f6,LabelView as _0x59a876}from'ckeditor5/src/ui';import{uid as _0x4b9d29}from'ckeditor5/src/utils';import{getTranslation as _0x3c1541}from'../../../utils/common-translations';export default class Ct extends _0x5ac7f6{constructor(_0x45c7bf,_0x39d685){super(_0x45c7bf);const _0x3f0b70=_0x4b9d29();this[_0x3a57('0xc')]=this[_0x3a57('0x3')](),this[_0x3a57('0x6')]=new _0x35741a(_0x45c7bf,_0x39d685),this[_0x3a57('0x11')]=this['_createVoiceLabel'](_0x3f0b70,_0x45c7bf),this[_0x3a57('0xe')]({'tag':'div','attributes':{'class':[_0x3a57('0x14'),_0x3a57('0xa'),'ck-rounded-corners','ck-comment__input'],'role':_0x3a57('0x9'),'dir':_0x45c7bf[_0x3a57('0x12')],'lang':_0x45c7bf[_0x3a57('0x13')],'aria-labelledby':_0x3a57('0xd')+_0x3f0b70},'children':[this['_voiceLabelView'],{'tag':'div','attributes':{'class':_0x3a57('0xb'),'role':_0x3a57('0x1')},'children':this[_0x3a57('0xc')]}]});}['render'](){super[_0x3a57('0x15')](),this[_0x3a57('0xc')][_0x3a57('0x5')](this['editable']);}['focus'](){this['editable'][_0x3a57('0x4')]['focus']();}[_0x3a57('0xf')](_0x360164,_0x4a5ac0){const _0x58b7d4=new _0x59a876();return _0x58b7d4[_0x3a57('0x10')]=_0x3c1541(_0x4a5ac0,_0x3a57('0x8')),_0x58b7d4[_0x3a57('0x7')]({'attributes':{'id':_0x3a57('0x2')+_0x360164,'class':_0x3a57('0x0')}}),_0x58b7d4;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x48a4=['updateComment','getComment','addComment','model','remove','update','view','removeComment','removeCommentThread','_localUser','listenTo','_isAttached','stopListening','destroy'];(function(_0x2ef27a,_0x48a4ae){var _0x5e0a04=function(_0x26f8b1){while(--_0x26f8b1){_0x2ef27a['push'](_0x2ef27a['shift']());}};_0x5e0a04(++_0x48a4ae);}(_0x48a4,0x129));var _0x5e0a=function(_0x2ef27a,_0x48a4ae){_0x2ef27a=_0x2ef27a-0x0;var _0x5e0a04=_0x48a4[_0x2ef27a];return _0x5e0a04;};import{ObservableMixin as _0x592b92,mix as _0x587853}from'ckeditor5/src/utils';export default class nt{constructor(_0x348fa7,_0x16505f){this[_0x5e0a('0x0')]=_0x348fa7,this[_0x5e0a('0x0')][_0x5e0a('0x8')]=!0x0,this[_0x5e0a('0x3')]=_0x16505f,this[_0x5e0a('0x7')](_0x16505f,_0x5e0a('0x5'),()=>this['remove']()),this['listenTo'](_0x16505f,'addComment',(_0x51a963,_0x44a314)=>this['addComment'](_0x44a314)),this[_0x5e0a('0x7')](_0x16505f,_0x5e0a('0xb'),(_0x11653b,_0xdf53fe,_0x39ae48)=>this['updateComment'](_0xdf53fe,_0x39ae48)),this['listenTo'](_0x16505f,_0x5e0a('0x4'),(_0x407aeb,_0xeb5864)=>this[_0x5e0a('0x4')](_0xeb5864));}[_0x5e0a('0x1')](){this[_0x5e0a('0x0')][_0x5e0a('0x1')]();}[_0x5e0a('0xd')](_0x3bf99c){this['model']['addComment']({'content':_0x3bf99c,'authorId':this[_0x5e0a('0x3')][_0x5e0a('0x6')]['id']});}['updateComment'](_0x15793f,_0x40c711){this[_0x5e0a('0x0')][_0x5e0a('0xc')](_0x15793f)[_0x5e0a('0x2')]({'content':_0x40c711});}['removeComment'](_0x33956f){this[_0x5e0a('0x0')][_0x5e0a('0xc')](_0x33956f)[_0x5e0a('0x1')]();}[_0x5e0a('0xa')](){this[_0x5e0a('0x9')](),this['model'][_0x5e0a('0x8')]=!0x1;}}_0x587853(nt,_0x592b92);
23
+ var _0x37ac=['update','view','model','stopListening','updateComment','remove','getComment','removeCommentThread','listenTo','_isAttached','addComment','destroy','removeComment','_localUser'];(function(_0x4ee592,_0x37acae){var _0x15c105=function(_0x464eb1){while(--_0x464eb1){_0x4ee592['push'](_0x4ee592['shift']());}};_0x15c105(++_0x37acae);}(_0x37ac,0x1af));var _0x15c1=function(_0x4ee592,_0x37acae){_0x4ee592=_0x4ee592-0x0;var _0x15c105=_0x37ac[_0x4ee592];return _0x15c105;};import{ObservableMixin as _0x23a2a1,mix as _0x553612}from'ckeditor5/src/utils';export default class nt{constructor(_0xbca074,_0x19f943){this[_0x15c1('0x5')]=_0xbca074,this[_0x15c1('0x5')]['_isAttached']=!0x0,this['view']=_0x19f943,this[_0x15c1('0xb')](_0x19f943,_0x15c1('0xa'),()=>this[_0x15c1('0x8')]()),this['listenTo'](_0x19f943,_0x15c1('0xd'),(_0x18e3b1,_0x160ab7)=>this[_0x15c1('0xd')](_0x160ab7)),this[_0x15c1('0xb')](_0x19f943,_0x15c1('0x7'),(_0x17d3da,_0xb11804,_0x403ad4)=>this[_0x15c1('0x7')](_0xb11804,_0x403ad4)),this[_0x15c1('0xb')](_0x19f943,_0x15c1('0x1'),(_0x3ebd2a,_0x692153)=>this[_0x15c1('0x1')](_0x692153));}[_0x15c1('0x8')](){this[_0x15c1('0x5')]['remove']();}[_0x15c1('0xd')](_0x28b160){this[_0x15c1('0x5')][_0x15c1('0xd')]({'content':_0x28b160,'authorId':this[_0x15c1('0x4')][_0x15c1('0x2')]['id']});}[_0x15c1('0x7')](_0x38b34b,_0x1271dc){this[_0x15c1('0x5')][_0x15c1('0x9')](_0x38b34b)[_0x15c1('0x3')]({'content':_0x1271dc});}[_0x15c1('0x1')](_0x4ad505){this[_0x15c1('0x5')][_0x15c1('0x9')](_0x4ad505)[_0x15c1('0x8')]();}[_0x15c1('0x0')](){this[_0x15c1('0x6')](),this[_0x15c1('0x5')][_0x15c1('0xc')]=!0x1;}}_0x553612(nt,_0x23a2a1);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5393=['CommentView','_localUser','Write\x20a\x20comment...','change:isActive','commentThreadInputView','isActive','addComment','removeComment','isDirty','editorConfig','_config','removeCommentThread','delegate','_model','placeholder','fire','commentInputView','bind','stop','element','value','commentsListView','showInput','isReadOnly','length','_createCommentThreadInputView','hasDirtyComment','set','cancel','Reply...','destroy','locale','focus'];(function(_0x1570c2,_0x5393b8){const _0x2f2e98=function(_0xd31b5a){while(--_0xd31b5a){_0x1570c2['push'](_0x1570c2['shift']());}};_0x2f2e98(++_0x5393b8);}(_0x5393,0x69));const _0x2f2e=function(_0x1570c2,_0x5393b8){_0x1570c2=_0x1570c2-0x0;let _0x2f2e98=_0x5393[_0x1570c2];return _0x2f2e98;};import{View as _0x137d60}from'ckeditor5/src/ui';import _0x409fd8 from'./commentthreadinputview';import _0x5835c7 from'./commentslistview';import{getTranslation as _0x3c8950}from'../../../utils/common-translations';export default class Rt extends _0x137d60{constructor(_0x401b7f,_0x93d7c6,_0x160c59,_0x487d67){super(_0x401b7f),this[_0x2f2e('0x15')](_0x2f2e('0x20'),!0x1),this[_0x2f2e('0x15')](_0x2f2e('0x2'),!0x1),this[_0x2f2e('0x7')]=_0x93d7c6,this[_0x2f2e('0x1c')]=_0x160c59,this[_0x2f2e('0x4')]=_0x487d67,this[_0x2f2e('0xf')]=new _0x5835c7(_0x401b7f,_0x93d7c6,Object['assign']({'CommentView':this[_0x2f2e('0x4')][_0x2f2e('0x1b')]},_0x487d67)),this[_0x2f2e('0xf')]['delegate']('removeComment')['to'](this),this[_0x2f2e('0xf')][_0x2f2e('0x6')]('updateComment')['to'](this),this[_0x2f2e('0xf')][_0x2f2e('0xb')](_0x2f2e('0x20'))['to'](this),this[_0x2f2e('0x15')](_0x2f2e('0x12'),this[_0x2f2e('0xf')][_0x2f2e('0x12')]),this['bind'](_0x2f2e('0x12'))['to'](this[_0x2f2e('0xf')],'length'),this[_0x2f2e('0x1f')]=this[_0x2f2e('0x13')](),this['on'](_0x2f2e('0x1'),()=>this[_0x2f2e('0x1a')]()),this[_0x2f2e('0xb')](_0x2f2e('0x2'))['to'](this['commentsListView'],_0x2f2e('0x14'),this[_0x2f2e('0x1f')][_0x2f2e('0xa')],_0x2f2e('0xe'),(_0x39df3c,_0x48a580)=>_0x39df3c||!!_0x48a580);}[_0x2f2e('0x1a')](){this[_0x2f2e('0xd')]['focus']();}[_0x2f2e('0x18')](){this[_0x2f2e('0x2')]=!0x1,this[_0x2f2e('0xf')][_0x2f2e('0x18')](),this[_0x2f2e('0x1f')][_0x2f2e('0x18')](),super[_0x2f2e('0x18')]();}[_0x2f2e('0x13')](){const _0x26266c=new _0x409fd8(this[_0x2f2e('0x19')],this[_0x2f2e('0x1c')],this[_0x2f2e('0x4')][_0x2f2e('0x3')]),_0x435552=_0x26266c['commentInputView'];return _0x26266c['bind'](_0x2f2e('0x10'))['to'](this,_0x2f2e('0x20'),this[_0x2f2e('0x7')],'isReadOnly',_0x435552,_0x2f2e('0xe'),(_0x5ba70c,_0x1d2f83,_0x5bc319)=>!!_0x5bc319||_0x5ba70c&&!_0x1d2f83),_0x435552[_0x2f2e('0xb')](_0x2f2e('0x8'))['to'](this,_0x2f2e('0x12'),_0x36c090=>_0x3c8950(this[_0x2f2e('0x19')],_0x36c090?_0x2f2e('0x17'):_0x2f2e('0x1d'))),_0x435552['on']('submit',(_0xd2604f,_0x5a03aa)=>{this[_0x2f2e('0x9')](_0x2f2e('0x0'),_0x5a03aa);}),_0x435552['on']('cancel',()=>{this[_0x2f2e('0x1a')]();}),_0x435552[_0x2f2e('0xb')]('disabledSubmit')['to'](this[_0x2f2e('0x7')],_0x2f2e('0x11')),_0x435552['on'](_0x2f2e('0x16'),_0x2010f5=>{0x0==this[_0x2f2e('0x12')]&&(this[_0x2f2e('0x9')]('removeCommentThread'),_0x2010f5[_0x2f2e('0xc')]());}),this['on'](_0x2f2e('0x1e'),(_0x8df200,_0x2090ae,_0x4eea1e)=>{_0x4eea1e||this[_0x2f2e('0x12')]||_0x435552[_0x2f2e('0xe')]||this[_0x2f2e('0x9')](_0x2f2e('0x5'));}),_0x26266c;}}
23
+ const _0x22d2=['locale','Write\x20a\x20comment...','commentThreadInputView','removeComment','_model','value','_localUser','isDirty','commentInputView','cancel','_createCommentThreadInputView','removeCommentThread','delegate','addComment','placeholder','length','commentsListView','_config','destroy','focus','change:isActive','element','submit','isReadOnly','assign','fire','CommentView','editorConfig','hasDirtyComment','Reply...','set','updateComment','bind','isActive'];(function(_0x4b2075,_0x22d2f8){const _0x15cabb=function(_0x530598){while(--_0x530598){_0x4b2075['push'](_0x4b2075['shift']());}};_0x15cabb(++_0x22d2f8);}(_0x22d2,0x19f));const _0x15ca=function(_0x4b2075,_0x22d2f8){_0x4b2075=_0x4b2075-0x0;let _0x15cabb=_0x22d2[_0x4b2075];return _0x15cabb;};import{View as _0x25298f}from'ckeditor5/src/ui';import _0x617b85 from'./commentthreadinputview';import _0x42cf3b from'./commentslistview';import{getTranslation as _0x51fce1}from'../../../utils/common-translations';export default class Rt extends _0x25298f{constructor(_0x212b81,_0x4e16aa,_0x271a96,_0x23a973){super(_0x212b81),this[_0x15ca('0x17')](_0x15ca('0x1a'),!0x1),this[_0x15ca('0x17')](_0x15ca('0x0'),!0x1),this[_0x15ca('0x1f')]=_0x4e16aa,this['_localUser']=_0x271a96,this[_0x15ca('0xa')]=_0x23a973,this[_0x15ca('0x9')]=new _0x42cf3b(_0x212b81,_0x4e16aa,Object[_0x15ca('0x11')]({'CommentView':this[_0x15ca('0xa')][_0x15ca('0x13')]},_0x23a973)),this[_0x15ca('0x9')][_0x15ca('0x5')](_0x15ca('0x1e'))['to'](this),this[_0x15ca('0x9')][_0x15ca('0x5')](_0x15ca('0x18'))['to'](this),this[_0x15ca('0x9')][_0x15ca('0x19')](_0x15ca('0x1a'))['to'](this),this[_0x15ca('0x17')](_0x15ca('0x8'),this[_0x15ca('0x9')]['length']),this[_0x15ca('0x19')](_0x15ca('0x8'))['to'](this[_0x15ca('0x9')],_0x15ca('0x8')),this['commentThreadInputView']=this['_createCommentThreadInputView'](),this['on'](_0x15ca('0x1e'),()=>this['focus']()),this[_0x15ca('0x19')](_0x15ca('0x0'))['to'](this[_0x15ca('0x9')],_0x15ca('0x15'),this[_0x15ca('0x1d')][_0x15ca('0x1')],'value',(_0x1d69a4,_0x4f0be4)=>_0x1d69a4||!!_0x4f0be4);}[_0x15ca('0xc')](){this[_0x15ca('0xe')]['focus']();}['destroy'](){this[_0x15ca('0x0')]=!0x1,this[_0x15ca('0x9')][_0x15ca('0xb')](),this['commentThreadInputView'][_0x15ca('0xb')](),super[_0x15ca('0xb')]();}[_0x15ca('0x3')](){const _0x288ead=new _0x617b85(this[_0x15ca('0x1b')],this[_0x15ca('0x21')],this[_0x15ca('0xa')][_0x15ca('0x14')]),_0x53fe5e=_0x288ead[_0x15ca('0x1')];return _0x288ead[_0x15ca('0x19')]('showInput')['to'](this,'isActive',this['_model'],_0x15ca('0x10'),_0x53fe5e,_0x15ca('0x20'),(_0xb40b4a,_0x504b34,_0x35f802)=>!!_0x35f802||_0xb40b4a&&!_0x504b34),_0x53fe5e[_0x15ca('0x19')](_0x15ca('0x7'))['to'](this,_0x15ca('0x8'),_0xade755=>_0x51fce1(this[_0x15ca('0x1b')],_0xade755?_0x15ca('0x16'):_0x15ca('0x1c'))),_0x53fe5e['on'](_0x15ca('0xf'),(_0x5c6e4d,_0x4a9755)=>{this['fire'](_0x15ca('0x6'),_0x4a9755);}),_0x53fe5e['on'](_0x15ca('0x2'),()=>{this[_0x15ca('0xc')]();}),_0x53fe5e[_0x15ca('0x19')]('disabledSubmit')['to'](this[_0x15ca('0x1f')],_0x15ca('0x10')),_0x53fe5e['on'](_0x15ca('0x2'),_0x18b2c3=>{0x0==this['length']&&(this['fire'](_0x15ca('0x4')),_0x18b2c3['stop']());}),this['on'](_0x15ca('0xd'),(_0x500ffe,_0x43dc07,_0x4f411d)=>{_0x4f411d||this[_0x15ca('0x8')]||_0x53fe5e[_0x15ca('0x20')]||this[_0x15ca('0x12')]('removeCommentThread');}),_0x288ead;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ const _0xd06d=['_createCommentContentView','add','locale','visibleView','isReadOnly','createCollection','disabledSubmit','once','_config','editorConfig','remove','submit','set','cancel','initialData','_createCommentInputView','_model','switchToDisplayMode','destroy','createEditor','content','element','switchToEditMode','isCollapsed','maxCommentCharsWhenCollapsed','bind','isEditMode','value','fire','focus','editorReady','updateComment'];(function(_0x3273a0,_0xd06d8f){const _0x5b7318=function(_0x32ecbb){while(--_0x32ecbb){_0x3273a0['push'](_0x3273a0['shift']());}};_0x5b7318(++_0xd06d8f);}(_0xd06d,0x138));const _0x5b73=function(_0x3273a0,_0xd06d8f){_0x3273a0=_0x3273a0-0x0;let _0x5b7318=_0xd06d[_0x3273a0];return _0x5b7318;};import{View as _0x4b4eec}from'ckeditor5/src/ui';import{trimHtml as _0x1e4854}from'ckeditor5-collaboration/src/collaboration-core';import _0x38e1fa from'./commentcontentview';import _0x4c5932 from'./commentinputview';export default class St extends _0x4b4eec{constructor(_0x3938c9,_0x51116e,_0x2b03bd){super(_0x3938c9),this[_0x5b73('0x18')]=_0x51116e,this[_0x5b73('0x10')]=_0x2b03bd,this[_0x5b73('0x14')](_0x5b73('0x2'),!0x1),this['set'](_0x5b73('0x1f'),!0x0),this[_0x5b73('0xb')]=this[_0x5b73('0xd')](),this['visibleView'][_0x5b73('0x9')](this[_0x5b73('0x8')]());}['expand'](){this[_0x5b73('0x1f')]=!0x1;}['collapse'](){this[_0x5b73('0x2')]||(this[_0x5b73('0x1f')]=!0x0);}['focus'](){this[_0x5b73('0x1d')][_0x5b73('0x5')]();}async['destroy'](){await this['visibleView']['get'](0x0)[_0x5b73('0x1a')](),super[_0x5b73('0x1a')]();}[_0x5b73('0x1e')](){this[_0x5b73('0x2')]||(this[_0x5b73('0x2')]=!0x0,this[_0x5b73('0xb')]['remove'](0x0)[_0x5b73('0x1a')](),this[_0x5b73('0xb')][_0x5b73('0x9')](this[_0x5b73('0x17')]()));}[_0x5b73('0x19')](){this[_0x5b73('0x2')]&&(this['isEditMode']=!0x1,this[_0x5b73('0xb')][_0x5b73('0x12')](0x0)[_0x5b73('0x1a')](),this[_0x5b73('0xb')]['add'](this[_0x5b73('0x8')]()));}[_0x5b73('0x8')](){const _0x9480a1=new _0x38e1fa(this[_0x5b73('0xa')]);return _0x9480a1[_0x5b73('0x1')]('content')['to'](this[_0x5b73('0x18')],_0x5b73('0x1c'),this,_0x5b73('0x1f'),(_0x4f3bb5,_0x3a654f)=>_0x3a654f?_0x1e4854(_0x4f3bb5,{'limit':this[_0x5b73('0x10')][_0x5b73('0x0')]}):_0x4f3bb5),_0x9480a1;}[_0x5b73('0x17')](){this[_0x5b73('0x10')]['editorConfig']||(this[_0x5b73('0x10')][_0x5b73('0x11')]={}),this[_0x5b73('0x10')][_0x5b73('0x11')][_0x5b73('0x16')]=this['_model'][_0x5b73('0x1c')];const _0x1f177e=new _0x4c5932(this['locale'],this['_config']['editorConfig']);return _0x1f177e[_0x5b73('0x3')]=this[_0x5b73('0x18')][_0x5b73('0x1c')],_0x1f177e[_0x5b73('0x1')](_0x5b73('0xe'))['to'](this[_0x5b73('0x18')],_0x5b73('0xc')),_0x1f177e['on'](_0x5b73('0x13'),(_0x2bdcd5,_0x5f3c0b)=>{this[_0x5b73('0x4')](_0x5b73('0x7'),this['_model']['id'],_0x5f3c0b),this[_0x5b73('0x19')](),this['focus']();}),_0x1f177e['on'](_0x5b73('0x15'),()=>{this[_0x5b73('0x19')](),this['focus']();}),_0x1f177e[_0x5b73('0xf')](_0x5b73('0x6'),()=>{_0x1f177e[_0x5b73('0x5')]();}),_0x1f177e[_0x5b73('0x1b')](),_0x1f177e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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))}]});}}
23
+ const _0xd5ae=['ck-thread__comment-count','bindTemplate','setTemplate','count'];(function(_0x5161ed,_0xd5ae1a){const _0x52f75e=function(_0x40f429){while(--_0x40f429){_0x5161ed['push'](_0x5161ed['shift']());}};_0x52f75e(++_0xd5ae1a);}(_0xd5ae,0x1ba));const _0x52f7=function(_0x5161ed,_0xd5ae1a){_0x5161ed=_0x5161ed-0x0;let _0x52f75e=_0xd5ae[_0x5161ed];return _0x52f75e;};import{View as _0x76fc9d}from'ckeditor5/src/ui';import{getTranslation as _0x38628d}from'../../../utils/common-translations';export default class Nt extends _0x76fc9d{constructor(_0x2079f0){super(_0x2079f0);const _0x18f006=this[_0x52f7('0x3')];this['set']('count'),this[_0x52f7('0x0')]({'tag':'li','attributes':{'class':_0x52f7('0x2')},'children':[{'text':_0x18f006['to'](_0x52f7('0x1'),_0x26c209=>_0x38628d(_0x2079f0,'NUMBER_OF_COMMENTS',_0x26c209))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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')];}}
23
+ var _0x3bfa=['set','div','change:content','ck-annotation__content','ck-comment__content','element','content','innerHTML','setTemplate','render'];(function(_0x3d8a5f,_0x3bfa44){var _0x408e85=function(_0x34a89d){while(--_0x34a89d){_0x3d8a5f['push'](_0x3d8a5f['shift']());}};_0x408e85(++_0x3bfa44);}(_0x3bfa,0x166));var _0x408e=function(_0x3d8a5f,_0x3bfa44){_0x3d8a5f=_0x3d8a5f-0x0;var _0x408e85=_0x3bfa[_0x3d8a5f];return _0x408e85;};import{View as _0x334e70}from'ckeditor5/src/ui';export default class Et extends _0x334e70{constructor(_0x40a451){super(_0x40a451),this[_0x408e('0x2')](_0x408e('0x8'),''),this[_0x408e('0x0')]({'tag':_0x408e('0x3'),'attributes':{'class':[_0x408e('0x6'),_0x408e('0x5')]}});}[_0x408e('0x1')](){super[_0x408e('0x1')](),this['on'](_0x408e('0x4'),(_0x7f1be0,_0xa2a322,_0x544c8a)=>{this[_0x408e('0x7')][_0x408e('0x9')]=_0x544c8a;}),this[_0x408e('0x7')]['innerHTML']=this[_0x408e('0x8')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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')});}}
23
+ const _0x53e9=['high','focus','add','_isDestroyed','model','element','icon','document','value','showButtons','cancel','destroy','length','initialData','execute','insertBefore','Esc','create','set','submit','getData','div','Submit','focusTracker','bind','_editorConfig','Reply...','editorReady','submitButtonView','ck-comment__input-actions--cancel','shift\x20+\x20tab','focusPrevious','label','placeholder','editor','listenTo','ck-comment__input-actions','low','stop','setData','tab','isEnabled','render','fire','forEach','ck-comment__input-wrapper','_createSubmitButton','ck-comment__input-actions--submit','_editorCreationPromise','cancelButtonView','focusNext','bindTemplate','extendTemplate','firstChild','view','createEditor','keystrokes','Cancel','then','setTemplate','disabledSubmit','_initializeFocusCycling','change','trim'];(function(_0x6286e1,_0x53e91b){const _0x5adb88=function(_0x26d84d){while(--_0x26d84d){_0x6286e1['push'](_0x6286e1['shift']());}};_0x5adb88(++_0x53e91b);}(_0x53e9,0x7d));const _0x5adb=function(_0x6286e1,_0x53e91b){_0x6286e1=_0x6286e1-0x0;let _0x5adb88=_0x53e9[_0x6286e1];return _0x5adb88;};import{View as _0xf7076e,ViewCollection as _0x41f42d,FocusCycler as _0x180f67,ButtonView as _0x3b6b27}from'ckeditor5/src/ui';import{FocusTracker as _0x4965a3,KeystrokeHandler as _0x3fd838}from'ckeditor5/src/utils';import{icons as _0x3585bb}from'ckeditor5/src/core';import _0x442d62 from'../commenteditor/commenteditor';import{getTranslation as _0x12a40c}from'../../../utils/common-translations';export default class Tt extends _0xf7076e{constructor(_0x11e579,_0xd8b71d={}){super(_0x11e579),this[_0x5adb('0x25')]=null,this[_0x5adb('0x1c')]=_0xd8b71d,this[_0x5adb('0x3b')]=new _0x3fd838(),this[_0x5adb('0x1a')]=new _0x4965a3(),this[_0x5adb('0x15')](_0x5adb('0xb'),_0xd8b71d[_0x5adb('0x10')]||''),this[_0x5adb('0x15')](_0x5adb('0x3f'),!0x1),this[_0x5adb('0x15')](_0x5adb('0xc'),!0x0),this[_0x5adb('0x15')](_0x5adb('0x24'),_0x12a40c(_0x11e579,_0x5adb('0x1d'))),this[_0x5adb('0x1f')]=this['_createSubmitButton'](),this[_0x5adb('0x34')]=this['_createCancelButton'](),this[_0x5adb('0x3e')]({'tag':_0x5adb('0x18'),'attributes':{'class':[_0x5adb('0x30')]},'children':[{'tag':_0x5adb('0x18'),'attributes':{'class':[_0x5adb('0x27'),this[_0x5adb('0x36')]['if'](_0x5adb('0xc'),'ck-comment__input-actions--active')]},'children':[this[_0x5adb('0x1f')],this[_0x5adb('0x34')]]}]}),this[_0x5adb('0x3b')][_0x5adb('0x15')](_0x5adb('0x13'),(_0x54e9fe,_0x5708cf)=>{this['cancelButtonView'][_0x5adb('0x2e')]('execute'),_0x5708cf();}),this['on']('submit',(_0x5cb2ec,_0x34fd7f)=>{_0x34fd7f[_0x5adb('0xf')]>0xfde8?(alert(_0x12a40c(_0x11e579,'TOO_LONG_COMMENT_ALERT',[_0x34fd7f['length'],0xfde8])),_0x5cb2ec[_0x5adb('0x29')]()):this[_0x5adb('0x25')][_0x5adb('0x2a')]('');},{'priority':_0x5adb('0x3')});}[_0x5adb('0x2d')](){super[_0x5adb('0x2d')](),this['keystrokes'][_0x5adb('0x26')](this[_0x5adb('0x8')]),this[_0x5adb('0x1a')]['add'](this['element']);}[_0x5adb('0x3a')](){return this[_0x5adb('0x25')]||(this[_0x5adb('0x25')]=new _0x442d62(this[_0x5adb('0x1c')]),this[_0x5adb('0x33')]=this[_0x5adb('0x25')][_0x5adb('0x14')]()[_0x5adb('0x3d')](()=>{this[_0x5adb('0x6')]||(this['element'][_0x5adb('0x12')](this[_0x5adb('0x25')]['ui']['element'],this[_0x5adb('0x8')][_0x5adb('0x38')]),this[_0x5adb('0x25')][_0x5adb('0x7')][_0x5adb('0xa')]['on'](_0x5adb('0x1'),()=>this[_0x5adb('0xb')]=this[_0x5adb('0x25')][_0x5adb('0x17')]()),this[_0x5adb('0x25')]['bind'](_0x5adb('0x24'))['to'](this),this[_0x5adb('0x0')](this[_0x5adb('0x25')]),this['fire'](_0x5adb('0x1e')));})),this[_0x5adb('0x33')];}[_0x5adb('0x4')](){this[_0x5adb('0x25')]&&this['editor'][_0x5adb('0x4')]();}async[_0x5adb('0xe')](){this[_0x5adb('0x6')]||(this[_0x5adb('0x6')]=!0x0,this[_0x5adb('0x25')]&&(await this['_editorCreationPromise'],await this[_0x5adb('0x25')][_0x5adb('0xe')]()),await super[_0x5adb('0xe')]());}[_0x5adb('0x31')](){const {locale:_0x172188}=this,_0x163b3a=new _0x3b6b27(_0x172188);return _0x163b3a['extendTemplate']({'attributes':{'class':[_0x5adb('0x32')]}}),_0x163b3a[_0x5adb('0x23')]=_0x12a40c(_0x172188,_0x5adb('0x19')),_0x163b3a[_0x5adb('0x9')]=_0x3585bb['check'],_0x163b3a['on'](_0x5adb('0x11'),()=>{this['fire'](_0x5adb('0x16'),this['value']);}),_0x163b3a[_0x5adb('0x1b')](_0x5adb('0x2c'))['to'](this,'value',this,_0x5adb('0x3f'),(_0x5ced0e,_0x2bc5dd)=>!_0x2bc5dd&&!!_0x5ced0e[_0x5adb('0x2')]()),_0x163b3a;}['_createCancelButton'](){const {locale:_0x4c1d6a}=this,_0x2c7812=new _0x3b6b27(_0x4c1d6a);return _0x2c7812[_0x5adb('0x37')]({'attributes':{'class':[_0x5adb('0x20')]}}),_0x2c7812[_0x5adb('0x23')]=_0x12a40c(_0x4c1d6a,_0x5adb('0x3c')),_0x2c7812[_0x5adb('0x9')]=_0x3585bb[_0x5adb('0xd')],_0x2c7812['on'](_0x5adb('0x11'),()=>{this[_0x5adb('0x25')][_0x5adb('0x2a')](''),this[_0x5adb('0x2e')](_0x5adb('0xd'));}),_0x2c7812;}[_0x5adb('0x0')](_0x49c6df){const _0xea1e9f=this[_0x5adb('0x1a')],_0xf5c601=new _0x41f42d();[_0x49c6df['ui'][_0x5adb('0x39')],this[_0x5adb('0x1f')],this[_0x5adb('0x34')]][_0x5adb('0x2f')](_0x44865c=>{_0xf5c601[_0x5adb('0x5')](_0x44865c),_0xea1e9f[_0x5adb('0x5')](_0x44865c[_0x5adb('0x8')]);});const _0x20af2d=new _0x180f67({'focusables':_0xf5c601,'focusTracker':_0xea1e9f});this[_0x5adb('0x3b')]['set'](_0x5adb('0x2b'),(_0xead40a,_0x3cd361)=>{_0x20af2d[_0x5adb('0x35')](),_0x3cd361();},{'priority':'low'}),this[_0x5adb('0x3b')][_0x5adb('0x15')](_0x5adb('0x21'),(_0x39b1da,_0x28fe28)=>{_0x20af2d[_0x5adb('0x22')](),_0x28fe28();},{'priority':_0x5adb('0x28')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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++;}}
23
+ const _0x33a4=['locale','collapse','delegate','add','isEditMode','expand','stopListening','insert','hasDirtyComment','set','maxThreadTotalWeight','element','comments','setTemplate','_updateHasDirtyComment','viewUid','remove','_collapsedCommentsView','bind','_handleRemoveCommentModel','count','delete','equal','refreshVisibleViews','change:isActive','commentUpdated','visibleViews','editorConfig','_model','length','get','change:isEditMode','render','from','focus','formatDateTime','_rearrangeExpand','CommentView','_rearrangeCollapse','_config','createCollection','change:hasDirtyComment','removeComment','some','ck-thread__comments','_shouldCollapse','destroy','listenTo','commentViews'];(function(_0x1bee4c,_0x33a44b){const _0x2b13ca=function(_0x5ac793){while(--_0x5ac793){_0x1bee4c['push'](_0x1bee4c['shift']());}};_0x2b13ca(++_0x33a44b);}(_0x33a4,0xd9));const _0x2b13=function(_0x1bee4c,_0x33a44b){_0x1bee4c=_0x1bee4c-0x0;let _0x2b13ca=_0x33a4[_0x1bee4c];return _0x2b13ca;};import{View as _0x1f152c}from'ckeditor5/src/ui';import{diff as _0x18cf09,Collection as _0x46b51e}from'ckeditor5/src/utils';import _0x2711ee from'./collapsedcommentsview';export default class dt extends _0x1f152c{constructor(_0x6287aa,_0x12755a,_0x1ca63b){super(_0x6287aa),this[_0x2b13('0x25')](_0x2b13('0x24'),!0x1),this[_0x2b13('0x25')](_0x2b13('0x8'),_0x12755a[_0x2b13('0x28')][_0x2b13('0x8')]),this['set']('isActive',!0x1),this[_0x2b13('0x7')]=_0x12755a,this[_0x2b13('0x12')]=_0x1ca63b,this[_0x2b13('0x1b')]=this[_0x2b13('0x13')](),this[_0x2b13('0x5')]=this[_0x2b13('0x13')](),this[_0x2b13('0x2d')]=new _0x2711ee(_0x6287aa),this['_collapsedCommentsView'][_0x2b13('0x2e')](_0x2b13('0x30'))['to'](this,_0x2b13('0x8'),_0x21a002=>_0x21a002-this[_0x2b13('0x12')]['maxCommentsWhenCollapsed']);for(const _0x325062 of _0x12755a[_0x2b13('0x28')])this['_handleNewCommentModel'](_0x325062);this[_0x2b13('0x1a')](_0x12755a['comments'],_0x2b13('0x1f'),(_0xc365ce,_0x269c75)=>{this['length']++,this['_handleNewCommentModel'](_0x269c75),this['refreshVisibleViews']();}),this[_0x2b13('0x1a')](_0x12755a['comments'],_0x2b13('0x2c'),(_0x19f7f8,_0x3d170a)=>{this[_0x2b13('0x8')]--,this[_0x2b13('0x2f')](_0x3d170a),this[_0x2b13('0x2')]();}),this[_0x2b13('0x1a')](_0x12755a,_0x2b13('0x4'),()=>this[_0x2b13('0x2')]()),this['on'](_0x2b13('0x3'),()=>this[_0x2b13('0x2')]()),this['on'](_0x2b13('0x14'),()=>this[_0x2b13('0x2')]()),this[_0x2b13('0x29')]({'tag':'ul','attributes':{'class':[_0x2b13('0x17')]},'children':this[_0x2b13('0x5')]});}get[_0x2b13('0x18')](){return this[_0x2b13('0x7')]['weight']>this[_0x2b13('0x12')][_0x2b13('0x26')]&&!this['isActive']&&!this[_0x2b13('0x24')];}['render'](){super[_0x2b13('0xb')](),this['refreshVisibleViews']();}[_0x2b13('0xd')](){this[_0x2b13('0x27')][_0x2b13('0xd')]();}[_0x2b13('0x19')](){this[_0x2b13('0x2d')][_0x2b13('0x19')]();for(const _0x2bc273 of this['commentViews'])_0x2bc273[_0x2b13('0x19')]();super[_0x2b13('0x19')]();}[_0x2b13('0x2')](){this['_shouldCollapse']?this[_0x2b13('0x11')]():this[_0x2b13('0xf')]();}['_handleNewCommentModel'](_0x56ce3f){const _0xd21049=new this[(_0x2b13('0x12'))][(_0x2b13('0x10'))](this[_0x2b13('0x1c')],_0x56ce3f,{'maxCommentCharsWhenCollapsed':this[_0x2b13('0x12')]['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config'][_0x2b13('0xe')],'editorConfig':this['_config'][_0x2b13('0x6')]});_0xd21049[_0x2b13('0x2b')]=_0x56ce3f['id'],_0xd21049['delegate'](_0x2b13('0x15'))['to'](this),_0xd21049[_0x2b13('0x1e')]('updateComment')['to'](this),this[_0x2b13('0x1a')](_0xd21049,_0x2b13('0xa'),()=>this[_0x2b13('0x2a')]()),this[_0x2b13('0x1b')][_0x2b13('0x1f')](_0xd21049);}[_0x2b13('0x2f')](_0x393d8f){const _0x4c47ef=this[_0x2b13('0x1b')]['remove'](_0x393d8f['id']);this[_0x2b13('0x22')](_0x4c47ef),_0x4c47ef[_0x2b13('0x20')]&&this[_0x2b13('0x2a')](),_0x4c47ef['destroy']();}[_0x2b13('0x2a')](){this[_0x2b13('0x24')]=Array['from'](this[_0x2b13('0x1b')])[_0x2b13('0x16')](_0x39e59d=>_0x39e59d[_0x2b13('0x20')]);}[_0x2b13('0x11')](){const _0x5eff2b=function(_0x35ca90){const _0x3af767=new _0x46b51e();for(const _0x4baa35 of _0x35ca90)_0x3af767[_0x2b13('0x1f')](_0x4baa35);return _0x3af767;}(this[_0x2b13('0x1b')]),_0x2bf23f=this['_collapsedCommentsView'][_0x2b13('0x30')];for(let _0x2193ef=0x1;_0x2193ef<=_0x2bf23f;_0x2193ef++)_0x5eff2b[_0x2b13('0x2c')](0x1);for(const _0x3f7dfd of _0x5eff2b)_0x3f7dfd[_0x2b13('0x1d')]();_0x2bf23f>0x0&&_0x5eff2b[_0x2b13('0x1f')](this[_0x2b13('0x2d')],0x1),Wt(_0x18cf09(Array['from'](this[_0x2b13('0x5')]),Array[_0x2b13('0xc')](_0x5eff2b)),this['visibleViews'],_0x5eff2b);}[_0x2b13('0xf')](){Wt(_0x18cf09(Array[_0x2b13('0xc')](this['visibleViews']),Array[_0x2b13('0xc')](this[_0x2b13('0x1b')])),this[_0x2b13('0x5')],this['commentViews']);for(const _0x565eff of this[_0x2b13('0x5')])_0x565eff[_0x2b13('0x21')]();}}function Wt(_0x4f6716,_0xe75c34,_0x27d50a){let _0x93d130=0x0;for(const _0xfc4132 of _0x4f6716)switch(_0xfc4132){case _0x2b13('0x23'):_0xe75c34[_0x2b13('0x1f')](_0x27d50a[_0x2b13('0x9')](_0x93d130),_0x93d130),_0x93d130++;break;case _0x2b13('0x0'):_0xe75c34[_0x2b13('0x2c')](_0x93d130);break;case _0x2b13('0x1'):_0x93d130++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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')]());}}
23
+ var _0x2871=['destroy','div','change:showInput','showButtons','userView','createEditor','setTemplate','bind','extendTemplate','showInput','set','then','ck-comment__input-container--active','ck-comment__input-container','commentInputView','ck-thread__input'];(function(_0x2b77fb,_0x2871db){var _0x3c849d=function(_0x1132ef){while(--_0x1132ef){_0x2b77fb['push'](_0x2b77fb['shift']());}};_0x3c849d(++_0x2871db);}(_0x2871,0x11a));var _0x3c84=function(_0x2b77fb,_0x2871db){_0x2b77fb=_0x2b77fb-0x0;var _0x3c849d=_0x2871[_0x2b77fb];return _0x3c849d;};import{View as _0x294c76}from'ckeditor5/src/ui';import _0x385d7d from'./commentinputview';import{UserView as _0x26ce2f}from'ckeditor5-collaboration/src/collaboration-core';export default class ut extends _0x294c76{constructor(_0x59f686,_0x2c4202,_0x5c09e2){super(_0x59f686),this[_0x3c84('0x4')]=new _0x385d7d(_0x59f686,_0x5c09e2),this['commentInputView'][_0x3c84('0xd')](_0x3c84('0x9'))['to'](this['commentInputView']['focusTracker'],'isFocused',this['commentInputView'],'value',(_0x20e0f4,_0x250221)=>_0x20e0f4||!!_0x250221),this[_0x3c84('0x0')](_0x3c84('0xf'),!0x1),this['on'](_0x3c84('0x8'),()=>{this[_0x3c84('0xf')]&&!this[_0x3c84('0x4')]['editor']&&this['commentInputView'][_0x3c84('0xb')]();}),this[_0x3c84('0xa')]=new _0x26ce2f(_0x59f686,_0x2c4202),this[_0x3c84('0xa')][_0x3c84('0xe')]({'attributes':{'class':'ck-thread__user'}}),this[_0x3c84('0x4')][_0x3c84('0xe')]({'attributes':{'class':_0x3c84('0x5')}}),this[_0x3c84('0xc')]({'tag':_0x3c84('0x7'),'attributes':{'class':[_0x3c84('0x3'),this['bindTemplate']['if'](_0x3c84('0xf'),_0x3c84('0x2'))]},'children':[this[_0x3c84('0xa')],this['commentInputView']]});}[_0x3c84('0x6')](){return this[_0x3c84('0x4')][_0x3c84('0x6')]()[_0x3c84('0x1')](()=>super[_0x3c84('0x6')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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);
23
+ const _0x369d=['ck-thread','.ck-thread__container','get','Write\x20a\x20comment...','Delete\x20comment\x20thread?','high','_model','add','then','getTemplate','listenTo','locale','removeButton','cancelConfirm','removeCommentThread','ck-thread--active','unbind','change:isActive','showConfirm','ck-thread--remove-confirmation','ck-thread--','_bindFirstCommentView','fire','containerElement','render','commentThreadInputView','div','setTemplate','ck-thread__container','commentsListView','length','isConfirm','bind','execute','_boundFirstCommentView','actionIndicator','change:isReadOnly','remove','element','isActive','_cancelAllConfirms','commentViews'];(function(_0xde0919,_0x369d13){const _0x24f965=function(_0x402753){while(--_0x402753){_0xde0919['push'](_0xde0919['shift']());}};_0x24f965(++_0x369d13);}(_0x369d,0x9e));const _0x24f9=function(_0xde0919,_0x369d13){_0xde0919=_0xde0919-0x0;let _0x24f965=_0x369d[_0xde0919];return _0x24f965;};import{mix as _0xb1454b}from'ckeditor5/src/utils';import{ConfirmMixin as _0x50dc11}from'ckeditor5-collaboration/src/collaboration-core';import _0x47a95a from'./basecommentthreadview';import{getTranslation as _0x2c4419}from'../../../utils/common-translations';export default class ot extends _0x47a95a{constructor(_0x1bbcb0,_0x5530aa,_0xe866e5,_0x556086){super(_0x1bbcb0,_0x5530aa,_0xe866e5,_0x556086),this['set'](_0x24f9('0x3'),null),this['containerElement']=null,this[_0x24f9('0x2')]=null,this[_0x24f9('0x15')]=_0x1bbcb0,this[_0x24f9('0x25')](this[_0x24f9('0x13')]()),this['on'](_0x24f9('0x1b'),(_0x226bd9,_0x4e66e5,_0x3f5aba)=>{_0x3f5aba||this[_0x24f9('0x8')]();}),this[_0x24f9('0x14')](this[_0x24f9('0x10')],_0x24f9('0x4'),(_0x2dd4a1,_0x340e68,_0x2584de)=>{_0x2584de&&this[_0x24f9('0x8')]();}),this[_0x24f9('0x28')]>0x0&&this[_0x24f9('0x1f')](),this[_0x24f9('0x14')](this[_0x24f9('0x27')][_0x24f9('0x9')],_0x24f9('0x11'),()=>{this['_bindFirstCommentView']();});}[_0x24f9('0x13')](){const _0x5e0c2e=this['bindTemplate'];return{'tag':'div','attributes':{'class':[_0x24f9('0xa'),_0x5e0c2e['if'](_0x24f9('0x7'),_0x24f9('0x19')),_0x5e0c2e['if'](_0x24f9('0x29'),_0x24f9('0x1d')),_0x5e0c2e['to']('actionIndicator',_0x4c863b=>_0x4c863b?_0x24f9('0x1e')+_0x4c863b:'')],'data-thread-id':this[_0x24f9('0x10')]['id'],'tabindex':-0x1},'children':[{'tag':_0x24f9('0x24'),'attributes':{'class':_0x24f9('0x26')},'children':[this[_0x24f9('0x27')],this[_0x24f9('0x23')]]}]};}['render'](){super[_0x24f9('0x22')](),this[_0x24f9('0x21')]=this[_0x24f9('0x6')]['querySelector'](_0x24f9('0xb'));}[_0x24f9('0x8')](){this['cancelConfirm']();for(const _0x1581d2 of this[_0x24f9('0x27')][_0x24f9('0x9')])_0x1581d2[_0x24f9('0x17')]();}['_bindFirstCommentView'](){const {locale:_0x58cf83}=this,_0x1dbde8=this[_0x24f9('0x27')][_0x24f9('0x9')][_0x24f9('0xc')](0x0);_0x1dbde8!==this[_0x24f9('0x2')]&&(this[_0x24f9('0x2')]=_0x1dbde8,this[_0x24f9('0x1a')](_0x24f9('0x3')),this[_0x24f9('0x0')](_0x24f9('0x3'))['to'](_0x1dbde8,_0x24f9('0x3'),_0x4becb7=>'remove'===_0x4becb7?_0x24f9('0x5'):null),_0x1dbde8['placeholder']=_0x2c4419(_0x58cf83,_0x24f9('0xd')),_0x1dbde8[_0x24f9('0x16')]['on'](_0x24f9('0x1'),_0x4f07fc=>{_0x4f07fc['stop'](),this[_0x24f9('0x1c')](_0x2c4419(_0x58cf83,_0x24f9('0xe')),this[_0x24f9('0x21')])[_0x24f9('0x12')](()=>{this[_0x24f9('0x20')](_0x24f9('0x18'));});},{'priority':_0x24f9('0xf')}));}}_0xb1454b(ot,_0x50dc11);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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);
23
+ const _0x185f=['Reply...','cancelConfirm','_config','isRemovable','getExternalCommentNote','authoredAt','Delete\x20comment?','bindTemplate','change:isRemovable','_model','label','isExternal','_createCommentInputView','ck-comment__info-time','mouseleave','ck-annotation__info-name','pencil','locale','ck-comment__wrapper','importWord','attributes','edit','ck-annotation','editButton','icon','render','isEditMode','element','_createRemoveButton','removeButton','set','Remove','ck-comment__actions','extendTemplate','userView','_attachActions','ck-comment--','ck-comment--edit','switchToEditMode','EXTERNAL_IMPORT_WORD_AVATAR','ck-comment__actions--hidden','ck-comment__external','push','remove','formatDateTime','execute','source','_createEditButton','div','author','creator','EXTERNAL_COMMENT','ck-comment__user','@external','placeholder','ck-annotation__actions','EXTERNAL_IMPORT_WORD_COMMENT','ck-annotation__actions--hidden','EXTERNAL_AVATAR','ck-comment--remove','isEnabled','ck-annotation__content-wrapper','ck-annotation__info-time','bind','ck-comment','listenTo','Edit','focus','name','actionIndicator','isReadOnly','visibleView','isVisible','then','ck-comment__info-name','isEditable'];(function(_0x50701b,_0x185f24){const _0xabec8f=function(_0x2ee00b){while(--_0x2ee00b){_0x50701b['push'](_0x50701b['shift']());}};_0xabec8f(++_0x185f24);}(_0x185f,0x1b6));const _0xabec=function(_0x50701b,_0x185f24){_0x50701b=_0x50701b-0x0;let _0xabec8f=_0x185f[_0x50701b];return _0xabec8f;};import{mix as _0x592222}from'ckeditor5/src/utils';import{ButtonView as _0x5f31b0}from'ckeditor5/src/ui';import{icons as _0x19a870}from'ckeditor5/src/core';import{UserView as _0x2bb481,ConfirmMixin as _0x53bda4}from'ckeditor5-collaboration/src/collaboration-core';import _0x36bb5a from'./basecommentview';import _0x45890d from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x5ad3c1}from'../../../utils/common-translations';export default class it extends _0x36bb5a{constructor(_0x1f7b10,_0x1a3886,_0x4c1a5c){super(_0x1f7b10,_0x1a3886,_0x4c1a5c),this[_0xabec('0x30')](_0xabec('0xb'),null),this['set'](_0xabec('0x48'),_0x5ad3c1(_0x1f7b10,_0xabec('0x12'))),this['set'](_0xabec('0x17'),null),this[_0xabec('0x5')]('authoredAt')['to'](_0x1a3886),this['editButton']=this[_0xabec('0x41')](),this['removeButton']=this[_0xabec('0x2e')](),this[_0xabec('0x34')]=new _0x2bb481(_0x1f7b10,_0x1a3886[_0xabec('0x43')],this['getUserViewNotificationText']()),this[_0xabec('0x34')][_0xabec('0x33')]({'attributes':{'class':[_0xabec('0x46'),'ck-annotation__user']}}),this[_0xabec('0x7')](_0x1a3886,_0xabec('0x1a'),()=>this[_0xabec('0x13')]()),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0x3bbd97=this[_0xabec('0x19')],_0x371980=[{'tag':_0xabec('0x42'),'attributes':{'class':['ck-comment__info','ck-annotation__info']},'children':[{'tag':'span','children':[{'text':this[_0xabec('0x34')][_0xabec('0xa')]}],'attributes':{'class':[_0xabec('0x10'),_0xabec('0x21')]}},{'tag':'time','attributes':{'datetime':_0x3bbd97['to'](_0xabec('0x17')),'class':[_0xabec('0x1f'),_0xabec('0x4')]},'children':[{'text':_0x3bbd97['to']('authoredAt',_0x32035a=>this[_0xabec('0x14')][_0xabec('0x3e')](_0x32035a))}]}]},{'tag':'div','attributes':{'class':[_0xabec('0x32'),_0xabec('0x49'),_0x3bbd97['if'](_0xabec('0x2c'),_0xabec('0x3a')),_0x3bbd97['if'](_0xabec('0x2c'),_0xabec('0x4b'))]},'children':[this[_0xabec('0x29')],this[_0xabec('0x2f')]]},{'tag':'div','attributes':{'class':[_0xabec('0x3')]},'children':this[_0xabec('0xd')]}];return this['_model'][_0xabec('0x1d')]&&_0x371980[_0xabec('0x3c')]({'tag':_0xabec('0x42'),'attributes':{'class':[_0xabec('0x3b')]},'children':[{'text':this[_0xabec('0x16')]()}]}),{'tag':'li','attributes':{'class':[_0xabec('0x24'),_0x3bbd97['if']('isConfirm','ck-comment--remove-confirmation')],'tabindex':-0x1},'children':[{'tag':_0xabec('0x42'),'attributes':{'class':[_0xabec('0x6'),_0xabec('0x28'),_0x3bbd97['if'](_0xabec('0x2c'),_0xabec('0x37')),_0x3bbd97['to'](_0xabec('0xb'),_0x1d4b03=>_0x1d4b03?_0xabec('0x36')+_0x1d4b03:'')],'data-author-id':this['_model'][_0xabec('0x43')]['id'],'data-comment-id':this[_0xabec('0x1b')]['id']},'children':[this['userView'],{'tag':_0xabec('0x42'),'attributes':{'class':['ck-comment__main','ck-annotation__main']},'children':_0x371980}]}]};}['_createEditButton'](){const _0x5cf776=new _0x5f31b0(this['locale']);return _0x5cf776['label']=_0x5ad3c1(this[_0xabec('0x23')],_0xabec('0x8')),_0x5cf776[_0xabec('0x2a')]=_0x19a870[_0xabec('0x22')],_0x5cf776[_0xabec('0x33')]({'attributes':{'class':_0xabec('0x37')}}),_0x5cf776[_0xabec('0x5')](_0xabec('0x2'))['to'](this['_model'],_0xabec('0xc'),_0x3495e6=>!_0x3495e6),_0x5cf776[_0xabec('0x5')](_0xabec('0xe'))['to'](this[_0xabec('0x1b')],_0xabec('0x11')),_0x5cf776['on']('execute',()=>this[_0xabec('0x38')]()),_0x5cf776;}[_0xabec('0x2e')](){const _0x36fc76=new _0x5f31b0(this['locale']);return _0x36fc76[_0xabec('0x1c')]=_0x5ad3c1(this[_0xabec('0x23')],_0xabec('0x31')),_0x36fc76[_0xabec('0x2a')]=_0x45890d,_0x36fc76[_0xabec('0x33')]({'attributes':{'class':_0xabec('0x1')}}),_0x36fc76['bind']('isEnabled')['to'](this[_0xabec('0x1b')],_0xabec('0xc'),_0x3ddd4f=>!_0x3ddd4f),_0x36fc76['bind']('isVisible')['to'](this[_0xabec('0x1b')],_0xabec('0x15')),_0x36fc76['on'](_0xabec('0x3f'),()=>{this['showConfirm'](_0x5ad3c1(this[_0xabec('0x23')],_0xabec('0x18')),this['element'])[_0xabec('0xf')](()=>{this['fire']('removeComment',this['_model']['id']);});}),_0x36fc76;}[_0xabec('0x35')](_0x49ed3b,_0x108b79){this[_0xabec('0x7')](_0x49ed3b,'mouseenter',()=>this[_0xabec('0xb')]=_0x108b79),this[_0xabec('0x7')](_0x49ed3b,_0xabec('0x9'),()=>this[_0xabec('0xb')]=_0x108b79),this[_0xabec('0x7')](_0x49ed3b,_0xabec('0x20'),()=>this[_0xabec('0xb')]=null),this[_0xabec('0x7')](_0x49ed3b,'blur',()=>this[_0xabec('0xb')]=null);}[_0xabec('0x1e')](){const _0x5a3584=super[_0xabec('0x1e')]();return _0x5a3584['bind'](_0xabec('0x48'))['to'](this),_0x5a3584;}[_0xabec('0x16')](){return _0xabec('0x25')===this[_0xabec('0x1b')][_0xabec('0x26')][_0xabec('0x47')][_0xabec('0x40')]?_0x5ad3c1(this[_0xabec('0x23')],_0xabec('0x4a')):_0x5ad3c1(this['locale'],_0xabec('0x45'));}['getUserViewNotificationText'](){return this['_model'][_0xabec('0x1d')]?'importWord'===this[_0xabec('0x1b')]['attributes']['@external']['source']?_0x5ad3c1(this['locale'],_0xabec('0x39'),this[_0xabec('0x1b')][_0xabec('0x44')]['name']):_0x5ad3c1(this['locale'],_0xabec('0x0'),this[_0xabec('0x1b')][_0xabec('0x44')][_0xabec('0xa')]):null;}['render'](){super[_0xabec('0x2b')](),this[_0xabec('0x35')](this[_0xabec('0x29')][_0xabec('0x2d')],_0xabec('0x27')),this['_attachActions'](this[_0xabec('0x2f')][_0xabec('0x2d')],_0xabec('0x3d'));}}_0x592222(it,_0x53bda4);
package/src/comments.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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';}}
23
+ var _0x2052=['Comments'];(function(_0x434248,_0x20526a){var _0x19d836=function(_0x395be2){while(--_0x395be2){_0x434248['push'](_0x434248['shift']());}};_0x19d836(++_0x20526a);}(_0x2052,0x17e));var _0x19d8=function(_0x434248,_0x20526a){_0x434248=_0x434248-0x0;var _0x19d836=_0x2052[_0x434248];return _0x19d836;};import{Plugin as _0x50e709}from'ckeditor5/src/core';import _0x347148 from'./comments/commentsrepository';import _0x4e613c from'./comments/commentsediting';import _0x5416be from'./comments/commentsui';import _0xa2fa80 from'./commentsonly';import _0x29746e from'./annotations/widesidebar';import _0x5abd75 from'./annotations/narrowsidebar';import _0x17a9e6 from'./annotations/inlineannotations';export default class c extends _0x50e709{static get['requires'](){return[_0x347148,_0x4e613c,_0x5416be,_0xa2fa80,_0x29746e,_0x5abd75,_0x17a9e6];}static get['pluginName'](){return _0x19d8('0x0');}}