@ckeditor/ckeditor5-comments 35.3.0 → 35.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/build/comments.js +1 -1
  2. package/package.json +3 -3
  3. package/src/annotations/annotation.js +1 -1
  4. package/src/annotations/annotationcollection.js +1 -1
  5. package/src/annotations/annotations.js +1 -1
  6. package/src/annotations/annotationsuis.js +1 -1
  7. package/src/annotations/editorannotations.js +1 -1
  8. package/src/annotations/inlineannotations.js +1 -1
  9. package/src/annotations/narrowsidebar.js +1 -1
  10. package/src/annotations/sidebar.js +1 -1
  11. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  12. package/src/annotations/view/annotationview.js +1 -1
  13. package/src/annotations/view/sidebaritemview.js +1 -1
  14. package/src/annotations/view/sidebarview.js +1 -1
  15. package/src/annotations/widesidebar.js +1 -1
  16. package/src/comments/addcommentthreadcommand.js +1 -1
  17. package/src/comments/commentsediting.js +1 -1
  18. package/src/comments/commentsrepository.js +1 -1
  19. package/src/comments/commentsui.js +1 -1
  20. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  21. package/src/comments/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
@@ -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 _0x5dac=['addCommentThread','addComment','activeMarker','comment:','focus','commands','execute','focusTracker','from','isEnabled','hasMarkerForId','_createUIButton','map','view','editing','highest','length','requires','hasCommentThread','init','comment','editor','getAllMarkersForId','CommentsUI','_threadToController','find','model','low','_viewToController','innerView','change:activeAnnotations','get','plugins','push','componentFactory','icon','listenTo','CommentsListView','bind','CommentThreadInputView','stop','locale','removeCommentThread','addSourceCollector','isFocused','label'];(function(_0x5975e0,_0x5dac8b){const _0x4fc9c4=function(_0x51d097){while(--_0x51d097){_0x5975e0['push'](_0x5975e0['shift']());}};_0x4fc9c4(++_0x5dac8b);}(_0x5dac,0x7b));const _0x4fc9=function(_0x5975e0,_0x5dac8b){_0x5975e0=_0x5975e0-0x0;let _0x4fc9c4=_0x5dac[_0x5975e0];return _0x4fc9c4;};import{Plugin as _0x291863}from'ckeditor5/src/core';import _0x131fce from'./commentsrepository';import _0x557d2e from'./commentsediting';import _0x1a3fc3 from'../annotations/editorannotations';import{ButtonView as _0x321017}from'ckeditor5/src/ui';import _0x1a7b79 from'../../theme/icons/add-comment.svg';import _0x4f46e7 from'../annotations/annotations';import _0x1cc47c from'./ui/view/commentslistview';import _0x20145b from'./ui/view/commentthreadinputview';import{getTranslation as _0x4a1603}from'../utils/common-translations';export default class n extends _0x291863{static get['pluginName'](){return _0x4fc9('0x26');}static get[_0x4fc9('0x20')](){return[_0x131fce,_0x557d2e,_0x1a3fc3,_0x4f46e7];}get[_0x4fc9('0x6')](){return _0x1cc47c;}get[_0x4fc9('0x8')](){return _0x20145b;}[_0x4fc9('0x22')](){const _0x430c3d=this[_0x4fc9('0x24')],_0x39531b=_0x430c3d[_0x4fc9('0x1')]['get'](_0x131fce),_0x253aef=_0x430c3d[_0x4fc9('0x1')][_0x4fc9('0x0')](_0x557d2e),_0x3aac97=_0x430c3d[_0x4fc9('0x1')]['get'](_0x4f46e7),_0x58982f=_0x430c3d[_0x4fc9('0x1')][_0x4fc9('0x0')](_0x1a3fc3);_0x430c3d['ui'][_0x4fc9('0x3')]['add'](_0x4fc9('0x23'),()=>this[_0x4fc9('0x1a')]()),_0x58982f[_0x4fc9('0xc')](()=>{const _0x4e02d8=[];for(const [_0x3d6f89,_0x469dc0]of _0x39531b[_0x4fc9('0x27')]){const _0x419d09=_0x253aef[_0x4fc9('0x25')](_0x3d6f89['id']),_0x347f2e=_0x419d09[_0x4fc9('0x1b')](_0x1f708e=>_0x1f708e['getRange']());_0x419d09[_0x4fc9('0x1f')]>0x0&&_0x4e02d8[_0x4fc9('0x2')]([_0x469dc0[_0x4fc9('0x1c')],_0x347f2e]);}return _0x4e02d8;}),this['listenTo'](_0x3aac97,_0x4fc9('0x2d'),(_0x3c1bb5,_0x2071ba,_0x43f1d8)=>{const _0x49fd48=Array[_0x4fc9('0x17')](_0x43f1d8)[_0x4fc9('0x1b')](_0x41eddc=>_0x41eddc[_0x4fc9('0x2c')])[_0x4fc9('0x28')](_0x4eef50=>_0x39531b[_0x4fc9('0x2b')]['has'](_0x4eef50));if(!_0x49fd48)return void(_0x253aef[_0x4fc9('0x11')]=null);const _0x597460=_0x39531b['_viewToController'][_0x4fc9('0x0')](_0x49fd48)[_0x4fc9('0x29')]['id'],_0x34c85a=_0x4fc9('0x12')+_0x597460;_0x253aef[_0x4fc9('0x19')](_0x597460)?_0x253aef['activeMarker']=_0x34c85a:_0x253aef[_0x4fc9('0x11')]&&(_0x253aef[_0x4fc9('0x11')]=null);}),this[_0x4fc9('0x5')](_0x39531b,_0x4fc9('0xb'),(_0x10506b,{threadId:_0x14b308,isFromAdapter:_0x48bfa3})=>{!_0x48bfa3&&_0x430c3d['ui'][_0x4fc9('0x16')][_0x4fc9('0xd')]&&_0x253aef['hasMarkerForId'](_0x14b308)&&_0x430c3d['editing'][_0x4fc9('0x1c')]['focus']();},{'priority':_0x4fc9('0x1e')}),this[_0x4fc9('0x5')](_0x39531b,_0x4fc9('0x10'),(_0x1f1055,{threadId:_0x5e6a7b,isFromAdapter:_0x5be7af})=>{if(_0x5be7af||!_0x253aef[_0x4fc9('0x19')](_0x5e6a7b)||!_0x39531b[_0x4fc9('0x21')](_0x5e6a7b))return;0x1===_0x39531b['getCommentThread'](_0x5e6a7b)['length']&&(_0x430c3d[_0x4fc9('0x1d')][_0x4fc9('0x1c')][_0x4fc9('0x13')](),_0x1f1055[_0x4fc9('0x9')]());},{'priority':_0x4fc9('0x2a')});}[_0x4fc9('0x1a')](){const _0xd2bd12=this[_0x4fc9('0x24')],_0x2c3f22=new _0x321017(_0xd2bd12[_0x4fc9('0xa')]),_0x5a2739=_0xd2bd12[_0x4fc9('0x14')][_0x4fc9('0x0')](_0x4fc9('0xf'));return _0x2c3f22[_0x4fc9('0xe')]=_0x4a1603(_0xd2bd12['locale'],'Comment'),_0x2c3f22['tooltip']=_0x4a1603(_0xd2bd12[_0x4fc9('0xa')],'Comment'),_0x2c3f22[_0x4fc9('0x4')]=_0x1a7b79,_0x2c3f22[_0x4fc9('0x7')](_0x4fc9('0x18'))['to'](_0x5a2739),this[_0x4fc9('0x5')](_0x2c3f22,_0x4fc9('0x15'),()=>_0x5a2739[_0x4fc9('0x15')]()),_0x2c3f22;}}
@@ -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 _0x2445=['get','addCommentThread','RestrictedEditingModeEditing','plugins','afterInit','has'];(function(_0x5e9a77,_0x244551){const _0x1e08a8=function(_0x416fd3){while(--_0x416fd3){_0x5e9a77['push'](_0x5e9a77['shift']());}};_0x1e08a8(++_0x244551);}(_0x2445,0x1f1));const _0x1e08=function(_0x5e9a77,_0x244551){_0x5e9a77=_0x5e9a77-0x0;let _0x1e08a8=_0x2445[_0x5e9a77];return _0x1e08a8;};import{Plugin as _0x4af148}from'ckeditor5/src/core';export default class g extends _0x4af148{[_0x1e08('0x5')](){const _0x42e4f8=this['editor'];if(!_0x42e4f8[_0x1e08('0x4')][_0x1e08('0x0')](_0x1e08('0x3')))return;_0x42e4f8[_0x1e08('0x4')][_0x1e08('0x1')]('RestrictedEditingModeEditing')['enableCommand'](_0x1e08('0x2'));}}
@@ -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 _0x1d98=['listenTo','afterInit','get','dataInsert','Users','commands','collaboration.channelId','config','importWord','plugins','_handleImportedData','editor','forEach'];(function(_0x314220,_0x1d98b5){const _0x389ed7=function(_0x580ec1){while(--_0x580ec1){_0x314220['push'](_0x314220['shift']());}};_0x389ed7(++_0x1d98b5);}(_0x1d98,0x133));const _0x389e=function(_0x314220,_0x1d98b5){_0x314220=_0x314220-0x0;let _0x389ed7=_0x1d98[_0x314220];return _0x389ed7;};import{Plugin as _0x386374}from'ckeditor5/src/core';import{priorities as _0x311256}from'ckeditor5/src/utils';import _0x3aafef from'../commentsrepository';export default class k extends _0x386374{[_0x389e('0x6')](){const _0x5e05b7=this[_0x389e('0x3')],_0x112daa=_0x5e05b7[_0x389e('0xa')][_0x389e('0x7')]('importWord'),_0x57d1f1=_0x5e05b7[_0x389e('0x1')]['get'](_0x389e('0x9'));_0x112daa&&(_0x112daa['on']('execute',(_0x12dd6e,[,_0x339b9c])=>{_0x339b9c['collaboration_features']={'comments':!0x0,'user_id':_0x57d1f1['me']['id']};},{'priority':_0x311256['high']+0xa}),this[_0x389e('0x5')](_0x112daa,_0x389e('0x8'),this[_0x389e('0x2')]));}[_0x389e('0x2')](_0x292403,_0x4e0572){const {comment_threads:_0x5bda46}=_0x4e0572;_0x5bda46&&_0x5bda46[_0x389e('0x4')](({thread_id:_0x3c9b91,comments:_0x229ac8})=>{const _0x471941=_0x229ac8['map'](({author:_0x5d858c,content:_0x1c58de,created_at:_0x2b7007})=>({'content':_0x1c58de,'authorId':this['editor'][_0x389e('0x1')][_0x389e('0x7')](_0x389e('0x9'))['me']['id'],'createdAt':new Date(),'attributes':{'@external':{'authorName':_0x5d858c,'createdAt':_0x2b7007?new Date(_0x2b7007):new Date(),'source':_0x389e('0x0')}}})),_0x1f2d48=this[_0x389e('0x3')][_0x389e('0xc')][_0x389e('0x7')](_0x389e('0xb'));this[_0x389e('0x3')][_0x389e('0x1')][_0x389e('0x7')](_0x3aafef)['addCommentThread']({'channelId':_0x1f2d48,'threadId':_0x3c9b91,'comments':_0x471941});});}}
@@ -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 _0x1995=['low','defaultPlugins','childCount','getChild','editing','then','fire','model','placeholderElement','document','initPlugins','getRoot','change:placeholder','create','destroy','focus','end','_updatePlaceholder','plugins','data','change','createRoot','get','view','ready','set','name','setSelection','placeholder'];(function(_0x8ba549,_0x1995f6){const _0x131af7=function(_0x1bf094){while(--_0x1bf094){_0x8ba549['push'](_0x8ba549['shift']());}};_0x131af7(++_0x1995f6);}(_0x1995,0x88));const _0x131a=function(_0x8ba549,_0x1995f6){_0x8ba549=_0x8ba549-0x0;let _0x131af7=_0x1995[_0x8ba549];return _0x131af7;};import{Editor as _0x113dad,DataApiMixin as _0x4a3df4}from'ckeditor5/src/core';import _0x26f2e8 from'./commenteditorui';import{mix as _0x3758eb,ObservableMixin as _0x27307d}from'ckeditor5/src/utils';import{enablePlaceholder as _0x2e17d5,disablePlaceholder as _0x35a94c}from'ckeditor5/src/engine';import{Clipboard as _0x1abc33}from'ckeditor5/src/clipboard';import{Enter as _0x126f6f,ShiftEnter as _0x4334c7}from'ckeditor5/src/enter';import{SelectAll as _0x54bdb1}from'ckeditor5/src/select-all';import{Typing as _0x5bb4c5}from'ckeditor5/src/typing';import{Undo as _0x41d830}from'ckeditor5/src/undo';import{Paragraph as _0x16163c}from'ckeditor5/src/paragraph';export default class Bt extends _0x113dad{constructor(_0x2739ee={}){(_0x2739ee=Object['assign']({},_0x2739ee))[_0x131a('0x1b')]||(_0x2739ee['plugins']=Bt[_0x131a('0xa')]),super(_0x2739ee),this['ui']=new _0x26f2e8(this),this[_0x131a('0x5')](_0x131a('0x8'),''),this[_0x131a('0x10')]['document']['on']('change',()=>this[_0x131a('0x1a')](),{'priority':_0x131a('0x9')}),this['on'](_0x131a('0x15'),()=>this['_updatePlaceholder']()),this[_0x131a('0x10')]['document'][_0x131a('0x1')]();}[_0x131a('0x16')](){const _0x52696a=this['config'][_0x131a('0x2')]('initialData')||'';return this[_0x131a('0x13')]()[_0x131a('0xe')](()=>this['ui']['init']())[_0x131a('0xe')](()=>this[_0x131a('0x1c')]['init'](_0x52696a))['then'](()=>this[_0x131a('0xf')](_0x131a('0x4')));}[_0x131a('0x17')](){return super[_0x131a('0x17')]()[_0x131a('0xe')](()=>this['ui']['destroy']());}[_0x131a('0x18')](){this[_0x131a('0x10')][_0x131a('0x0')](_0x56dd27=>{const _0xe9b935=this['model'][_0x131a('0x12')]['getRoot'](),_0xc3754b=_0xe9b935[_0x131a('0xc')](_0xe9b935['childCount']-0x1);_0x56dd27[_0x131a('0x7')](_0xc3754b,_0x131a('0x19')),this[_0x131a('0xd')]['view'][_0x131a('0x18')]();});}[_0x131a('0x1a')](){const _0x2dd9ff=this[_0x131a('0xd')][_0x131a('0x3')],_0x13d2f7=_0x2dd9ff[_0x131a('0x12')][_0x131a('0x14')](),_0x3907e0=_0x13d2f7[_0x131a('0xc')](0x0);_0x13d2f7[_0x131a('0xb')]>0x1||!_0x3907e0||'p'!=_0x3907e0[_0x131a('0x6')]?this['placeholderElement']&&(_0x35a94c(_0x2dd9ff,this[_0x131a('0x11')]),this[_0x131a('0x11')]=void 0x0):(_0x2e17d5({'view':_0x2dd9ff,'element':_0x3907e0,'text':this[_0x131a('0x8')],'keepOnFocus':!0x0}),this[_0x131a('0x11')]=_0x3907e0);}}_0x3758eb(Bt,_0x27307d),_0x3758eb(Bt,_0x4a3df4),Bt['defaultPlugins']=[_0x1abc33,_0x126f6f,_0x4334c7,_0x54bdb1,_0x5bb4c5,_0x41d830,_0x16163c];
@@ -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 _0x5ec6=['getRoot','locale','element','name','init','focusTracker','fire','bind','isFocused','editor','editing','ready','attachDomRoot','setEditableElement','editable','view'];(function(_0x34edc1,_0x5ec661){const _0xccb0d4=function(_0x398200){while(--_0x398200){_0x34edc1['push'](_0x34edc1['shift']());}};_0xccb0d4(++_0x5ec661);}(_0x5ec6,0x142));const _0xccb0=function(_0x34edc1,_0x5ec661){_0x34edc1=_0x34edc1-0x0;let _0xccb0d4=_0x5ec6[_0x34edc1];return _0xccb0d4;};import{EditorUI as _0x1db168}from'ckeditor5/src/core';import _0x29c8de from'./commenteditoruiview';export default class xt extends _0x1db168{constructor(_0x3c2606){super(_0x3c2606),this['view']=new _0x29c8de(_0x3c2606[_0xccb0('0xf')],_0x3c2606[_0xccb0('0x8')][_0xccb0('0xd')]);}get['element'](){return this['view'][_0xccb0('0x0')];}[_0xccb0('0x2')](){const _0x3b0e35=this[_0xccb0('0x7')]['editing'][_0xccb0('0xd')],_0x5e57fd=this['view'][_0xccb0('0xc')],_0x204a5c=_0x3b0e35['document'][_0xccb0('0xe')]();_0x5e57fd[_0xccb0('0x1')]=_0x204a5c['rootName'],this[_0xccb0('0xd')]['render']();const _0xf1307a=_0x5e57fd[_0xccb0('0x0')];this[_0xccb0('0xb')](_0x5e57fd[_0xccb0('0x1')],_0xf1307a),this[_0xccb0('0xd')][_0xccb0('0xc')][_0xccb0('0x5')](_0xccb0('0x6'))['to'](this[_0xccb0('0x3')]),_0x3b0e35[_0xccb0('0xa')](_0xf1307a),this[_0xccb0('0x4')](_0xccb0('0x9'));}['destroy'](){super['destroy'](),this[_0xccb0('0xd')]['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 _0x5150=['add','text','focus','_createVoiceLabel','render','ck-comment__input','div','cke-editor__aria-label_','editable','uiLanguage','ck-editor__main','setTemplate','createCollection','Comment\x20editor','comment','presentation','ck-reset','element'];(function(_0x49d589,_0x5150ac){const _0x19fddf=function(_0xa465ca){while(--_0xa465ca){_0x49d589['push'](_0x49d589['shift']());}};_0x19fddf(++_0x5150ac);}(_0x5150,0x19a));const _0x19fd=function(_0x49d589,_0x5150ac){_0x49d589=_0x49d589-0x0;let _0x19fddf=_0x5150[_0x49d589];return _0x19fddf;};import{InlineEditableUIView as _0x25f511,EditorUIView as _0x2cdb2c,LabelView as _0x2ad32d}from'ckeditor5/src/ui';import{uid as _0x4adfb5}from'ckeditor5/src/utils';import{getTranslation as _0x5b6fd2}from'../../../utils/common-translations';export default class Et extends _0x2cdb2c{constructor(_0x2b5aca,_0x3818dc){super(_0x2b5aca);const _0x411c7f=_0x4adfb5();this['main']=this[_0x19fd('0x10')](),this[_0x19fd('0xc')]=new _0x25f511(_0x2b5aca,_0x3818dc),this['_voiceLabelView']=this[_0x19fd('0x7')](_0x411c7f,_0x2b5aca),this[_0x19fd('0xf')]({'tag':_0x19fd('0xa'),'attributes':{'class':[_0x19fd('0x2'),'ck-editor','ck-rounded-corners',_0x19fd('0x9')],'role':_0x19fd('0x0'),'dir':_0x2b5aca['uiLanguageDirection'],'lang':_0x2b5aca[_0x19fd('0xd')],'aria-labelledby':_0x19fd('0xb')+_0x411c7f},'children':[this['_voiceLabelView'],{'tag':'div','attributes':{'class':_0x19fd('0xe'),'role':_0x19fd('0x1')},'children':this['main']}]});}['render'](){super[_0x19fd('0x8')](),this['main'][_0x19fd('0x4')](this[_0x19fd('0xc')]);}[_0x19fd('0x6')](){this['editable'][_0x19fd('0x3')]['focus']();}[_0x19fd('0x7')](_0x114fbf,_0x32c9d5){const _0x39a4a3=new _0x2ad32d();return _0x39a4a3[_0x19fd('0x5')]=_0x5b6fd2(_0x32c9d5,_0x19fd('0x11')),_0x39a4a3['extendTemplate']({'attributes':{'id':'ck-editor__aria-label_'+_0x114fbf,'class':'ck-voice-label'}}),_0x39a4a3;}}
@@ -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 _0x11f3=['removeComment','view','getComment','_localUser','_isAttached','remove','updateComment','model','listenTo','addComment','stopListening','update'];(function(_0x4b92a0,_0x11f393){var _0x4259b4=function(_0x3d385e){while(--_0x3d385e){_0x4b92a0['push'](_0x4b92a0['shift']());}};_0x4259b4(++_0x11f393);}(_0x11f3,0x1a1));var _0x4259=function(_0x4b92a0,_0x11f393){_0x4b92a0=_0x4b92a0-0x0;var _0x4259b4=_0x11f3[_0x4b92a0];return _0x4259b4;};import{ObservableMixin as _0x1ee7f2,mix as _0x2696b3}from'ckeditor5/src/utils';export default class F{constructor(_0x2af210,_0x2fde43){this['model']=_0x2af210,this['model']['_isAttached']=!0x0,this[_0x4259('0x4')]=_0x2fde43,this['listenTo'](_0x2fde43,'removeCommentThread',()=>this[_0x4259('0x8')]()),this[_0x4259('0xb')](_0x2fde43,_0x4259('0x0'),(_0x4fc086,_0x3e13a1)=>this[_0x4259('0x0')](_0x3e13a1)),this[_0x4259('0xb')](_0x2fde43,_0x4259('0x9'),(_0x5968aa,_0x525394,_0x2fc5f7)=>this[_0x4259('0x9')](_0x525394,_0x2fc5f7)),this[_0x4259('0xb')](_0x2fde43,_0x4259('0x3'),(_0x4694bf,_0x5ecd6c)=>this[_0x4259('0x3')](_0x5ecd6c));}['remove'](){this[_0x4259('0xa')]['remove']();}['addComment'](_0x5edac1){this[_0x4259('0xa')][_0x4259('0x0')]({'content':_0x5edac1,'authorId':this[_0x4259('0x4')][_0x4259('0x6')]['id']});}['updateComment'](_0x4a9edb,_0x5ec77b){this[_0x4259('0xa')][_0x4259('0x5')](_0x4a9edb)[_0x4259('0x2')]({'content':_0x5ec77b});}[_0x4259('0x3')](_0x2a38b8){this[_0x4259('0xa')][_0x4259('0x5')](_0x2a38b8)[_0x4259('0x8')]();}['destroy'](){this[_0x4259('0x1')](),this['model'][_0x4259('0x7')]=!0x1;}}_0x2696b3(F,_0x1ee7f2);
@@ -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 _0x5ad8=['removeCommentThread','commentThreadInputView','isDirty','bind','disabledSubmit','focus','length','isActive','commentsListView','Reply...','fire','_createCommentThreadInputView','assign','Write\x20a\x20comment...','cancel','_config','addComment','change:isActive','value','set','updateComment','hasDirtyComment','placeholder','locale','_model','removeComment','commentInputView','isReadOnly','destroy','_localUser','delegate','element'];(function(_0x325bfd,_0x5ad8cf){const _0x1e28b4=function(_0x1e21dc){while(--_0x1e21dc){_0x325bfd['push'](_0x325bfd['shift']());}};_0x1e28b4(++_0x5ad8cf);}(_0x5ad8,0x137));const _0x1e28=function(_0x325bfd,_0x5ad8cf){_0x325bfd=_0x325bfd-0x0;let _0x1e28b4=_0x5ad8[_0x325bfd];return _0x1e28b4;};import{View as _0x4978e7}from'ckeditor5/src/ui';import _0x49f849 from'./commentthreadinputview';import _0x2b73e5 from'./commentslistview';import{getTranslation as _0x241b9f}from'../../../utils/common-translations';export default class Rt extends _0x4978e7{constructor(_0x13673f,_0x5492e7,_0x3240d6,_0x3a25c6){super(_0x13673f),this[_0x1e28('0x1c')](_0x1e28('0x10'),!0x1),this[_0x1e28('0x1c')]('isDirty',!0x1),this[_0x1e28('0x1')]=_0x5492e7,this[_0x1e28('0x6')]=_0x3240d6,this[_0x1e28('0x18')]=_0x3a25c6,this[_0x1e28('0x11')]=new _0x2b73e5(_0x13673f,_0x5492e7,Object[_0x1e28('0x15')]({'CommentView':this[_0x1e28('0x18')]['CommentView']},_0x3a25c6)),this['commentsListView'][_0x1e28('0x7')]('removeComment')['to'](this),this[_0x1e28('0x11')][_0x1e28('0x7')](_0x1e28('0x1d'))['to'](this),this['commentsListView'][_0x1e28('0xc')]('isActive')['to'](this),this[_0x1e28('0x1c')](_0x1e28('0xf'),this[_0x1e28('0x11')]['length']),this[_0x1e28('0xc')](_0x1e28('0xf'))['to'](this['commentsListView'],_0x1e28('0xf')),this[_0x1e28('0xa')]=this[_0x1e28('0x14')](),this['on'](_0x1e28('0x2'),()=>this[_0x1e28('0xe')]()),this[_0x1e28('0xc')](_0x1e28('0xb'))['to'](this[_0x1e28('0x11')],_0x1e28('0x1e'),this[_0x1e28('0xa')][_0x1e28('0x3')],_0x1e28('0x1b'),(_0x4b9dcf,_0x1974fb)=>_0x4b9dcf||!!_0x1974fb);}[_0x1e28('0xe')](){this[_0x1e28('0x8')][_0x1e28('0xe')]();}[_0x1e28('0x5')](){this[_0x1e28('0xb')]=!0x1,this[_0x1e28('0x11')][_0x1e28('0x5')](),this[_0x1e28('0xa')][_0x1e28('0x5')](),super[_0x1e28('0x5')]();}['_createCommentThreadInputView'](){const _0x5e2253=new _0x49f849(this[_0x1e28('0x0')],this[_0x1e28('0x6')],this[_0x1e28('0x18')]['editorConfig']),_0x3c8de1=_0x5e2253[_0x1e28('0x3')];return _0x5e2253['bind']('showInput')['to'](this,_0x1e28('0x10'),this[_0x1e28('0x1')],_0x1e28('0x4'),_0x3c8de1,_0x1e28('0x1b'),(_0x1e1870,_0x5035f3,_0x305a77)=>!!_0x305a77||_0x1e1870&&!_0x5035f3),_0x3c8de1[_0x1e28('0xc')](_0x1e28('0x1f'))['to'](this,_0x1e28('0xf'),_0x9477ea=>_0x241b9f(this[_0x1e28('0x0')],_0x9477ea?_0x1e28('0x12'):_0x1e28('0x16'))),_0x3c8de1['on']('submit',(_0x4508f0,_0x593f16)=>{this['fire'](_0x1e28('0x19'),_0x593f16);}),_0x3c8de1['on'](_0x1e28('0x17'),()=>{this[_0x1e28('0xe')]();}),_0x3c8de1[_0x1e28('0xc')](_0x1e28('0xd'))['to'](this[_0x1e28('0x1')],_0x1e28('0x4')),_0x3c8de1['on'](_0x1e28('0x17'),_0x2e23e5=>{0x0==this[_0x1e28('0xf')]&&(this['fire'](_0x1e28('0x9')),_0x2e23e5['stop']());}),this['on'](_0x1e28('0x1a'),(_0x16581b,_0x2137e9,_0x43878c)=>{_0x43878c||this[_0x1e28('0xf')]||_0x3c8de1[_0x1e28('0x1b')]||this[_0x1e28('0x13')]('removeCommentThread');}),_0x5e2253;}}
@@ -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 _0x96ff=['collapse','locale','destroy','visibleView','_createCommentInputView','updateComment','_createCommentContentView','focus','add','isEditMode','_config','once','initialData','submit','createCollection','switchToDisplayMode','fire','editorConfig','element','_model','bind','isCollapsed','cancel','createEditor','get','editorReady','set','remove','isReadOnly','content','switchToEditMode','value','expand'];(function(_0x4d9936,_0x96ff5e){const _0x4c14a6=function(_0x216db2){while(--_0x216db2){_0x4d9936['push'](_0x4d9936['shift']());}};_0x4c14a6(++_0x96ff5e);}(_0x96ff,0x1aa));const _0x4c14=function(_0x4d9936,_0x96ff5e){_0x4d9936=_0x4d9936-0x0;let _0x4c14a6=_0x96ff[_0x4d9936];return _0x4c14a6;};import{View as _0x3f8142}from'ckeditor5/src/ui';import{trimHtml as _0x4ce504}from'ckeditor5-collaboration/src/collaboration-core';import _0x55dfe4 from'./commentcontentview';import _0x535600 from'./commentinputview';export default class St extends _0x3f8142{constructor(_0x32e1aa,_0x45bd6c,_0x278848){super(_0x32e1aa),this[_0x4c14('0x16')]=_0x45bd6c,this[_0x4c14('0xd')]=_0x278848,this[_0x4c14('0x1d')](_0x4c14('0xc'),!0x1),this[_0x4c14('0x1d')](_0x4c14('0x18'),!0x0),this[_0x4c14('0x6')]=this[_0x4c14('0x11')](),this[_0x4c14('0x6')][_0x4c14('0xb')](this[_0x4c14('0x9')]());}[_0x4c14('0x2')](){this[_0x4c14('0x18')]=!0x1;}[_0x4c14('0x3')](){this['isEditMode']||(this[_0x4c14('0x18')]=!0x0);}[_0x4c14('0xa')](){this[_0x4c14('0x15')][_0x4c14('0xa')]();}async[_0x4c14('0x5')](){await this['visibleView'][_0x4c14('0x1b')](0x0)[_0x4c14('0x5')](),super[_0x4c14('0x5')]();}[_0x4c14('0x0')](){this[_0x4c14('0xc')]||(this[_0x4c14('0xc')]=!0x0,this[_0x4c14('0x6')][_0x4c14('0x1e')](0x0)[_0x4c14('0x5')](),this[_0x4c14('0x6')][_0x4c14('0xb')](this['_createCommentInputView']()));}[_0x4c14('0x12')](){this[_0x4c14('0xc')]&&(this['isEditMode']=!0x1,this[_0x4c14('0x6')][_0x4c14('0x1e')](0x0)['destroy'](),this['visibleView'][_0x4c14('0xb')](this[_0x4c14('0x9')]()));}[_0x4c14('0x9')](){const _0x27e92d=new _0x55dfe4(this[_0x4c14('0x4')]);return _0x27e92d['bind'](_0x4c14('0x20'))['to'](this[_0x4c14('0x16')],_0x4c14('0x20'),this,_0x4c14('0x18'),(_0x286ba1,_0x49ac71)=>_0x49ac71?_0x4ce504(_0x286ba1,{'limit':this[_0x4c14('0xd')]['maxCommentCharsWhenCollapsed']}):_0x286ba1),_0x27e92d;}[_0x4c14('0x7')](){this[_0x4c14('0xd')][_0x4c14('0x14')]||(this[_0x4c14('0xd')][_0x4c14('0x14')]={}),this[_0x4c14('0xd')][_0x4c14('0x14')][_0x4c14('0xf')]=this[_0x4c14('0x16')]['content'];const _0x59c20d=new _0x535600(this[_0x4c14('0x4')],this[_0x4c14('0xd')][_0x4c14('0x14')]);return _0x59c20d[_0x4c14('0x1')]=this[_0x4c14('0x16')][_0x4c14('0x20')],_0x59c20d[_0x4c14('0x17')]('disabledSubmit')['to'](this[_0x4c14('0x16')],_0x4c14('0x1f')),_0x59c20d['on'](_0x4c14('0x10'),(_0x494d98,_0x955416)=>{this[_0x4c14('0x13')](_0x4c14('0x8'),this[_0x4c14('0x16')]['id'],_0x955416),this[_0x4c14('0x12')](),this[_0x4c14('0xa')]();}),_0x59c20d['on'](_0x4c14('0x19'),()=>{this[_0x4c14('0x12')](),this[_0x4c14('0xa')]();}),_0x59c20d[_0x4c14('0xe')](_0x4c14('0x1c'),()=>{_0x59c20d['focus']();}),_0x59c20d[_0x4c14('0x1a')](),_0x59c20d;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _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 _0x44c6=['setTemplate','ck-thread__comment-count','set','count','bindTemplate','NUMBER_OF_COMMENTS'];(function(_0x18b1c,_0x44c670){const _0x47cbb8=function(_0x57f4aa){while(--_0x57f4aa){_0x18b1c['push'](_0x18b1c['shift']());}};_0x47cbb8(++_0x44c670);}(_0x44c6,0x64));const _0x47cb=function(_0x18b1c,_0x44c670){_0x18b1c=_0x18b1c-0x0;let _0x47cbb8=_0x44c6[_0x18b1c];return _0x47cbb8;};import{View as _0x4b9f4e}from'ckeditor5/src/ui';import{getTranslation as _0x554781}from'../../../utils/common-translations';export default class Nt extends _0x4b9f4e{constructor(_0xfc531f){super(_0xfc531f);const _0x379e84=this[_0x47cb('0x0')];this[_0x47cb('0x4')]('count'),this[_0x47cb('0x2')]({'tag':'li','attributes':{'class':_0x47cb('0x3')},'children':[{'text':_0x379e84['to'](_0x47cb('0x5'),_0x15f5c8=>_0x554781(_0xfc531f,_0x47cb('0x1'),_0x15f5c8))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _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 _0x2136=['div','innerHTML','set','ck-comment__content','change:content','element','content','render','ck-annotation__content','setTemplate'];(function(_0x4b5dbd,_0x213680){var _0x2c5b2a=function(_0xe57c15){while(--_0xe57c15){_0x4b5dbd['push'](_0x4b5dbd['shift']());}};_0x2c5b2a(++_0x213680);}(_0x2136,0x1a0));var _0x2c5b=function(_0x4b5dbd,_0x213680){_0x4b5dbd=_0x4b5dbd-0x0;var _0x2c5b2a=_0x2136[_0x4b5dbd];return _0x2c5b2a;};import{View as _0x7bdeb1}from'ckeditor5/src/ui';export default class Tt extends _0x7bdeb1{constructor(_0x3d9eaf){super(_0x3d9eaf),this[_0x2c5b('0x6')](_0x2c5b('0x0'),''),this[_0x2c5b('0x3')]({'tag':_0x2c5b('0x4'),'attributes':{'class':[_0x2c5b('0x7'),_0x2c5b('0x2')]}});}[_0x2c5b('0x1')](){super[_0x2c5b('0x1')](),this['on'](_0x2c5b('0x8'),(_0xe3879,_0x2c3b3d,_0x43616a)=>{this[_0x2c5b('0x9')][_0x2c5b('0x5')]=_0x43616a;}),this['element'][_0x2c5b('0x5')]=this[_0x2c5b('0x0')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _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 _0x4156=['set','element','_initializeFocusCycling','forEach','ck-comment__input-actions--submit','Esc','ck-comment__input-actions--active','isEnabled','keystrokes','Submit','ck-comment__input-wrapper','_isDestroyed','div','ck-comment__input-actions--cancel','create','submitButtonView','_createSubmitButton','Reply...','focusPrevious','_editorCreationPromise','render','createEditor','check','disabledSubmit','destroy','focusNext','listenTo','then','extendTemplate','_editorConfig','_createCancelButton','add','TOO_LONG_COMMENT_ALERT','execute','bind','focusTracker','shift\x20+\x20tab','high','change','focus','insertBefore','firstChild','cancelButtonView','label','stop','value','icon','document','model','initialData','cancel','trim','showButtons','editorReady','ck-comment__input-actions','editor','placeholder','length','submit','Cancel','fire','setData','bindTemplate'];(function(_0x5cd8f1,_0x415667){const _0x2553f1=function(_0x378620){while(--_0x378620){_0x5cd8f1['push'](_0x5cd8f1['shift']());}};_0x2553f1(++_0x415667);}(_0x4156,0x1ea));const _0x2553=function(_0x5cd8f1,_0x415667){_0x5cd8f1=_0x5cd8f1-0x0;let _0x2553f1=_0x4156[_0x5cd8f1];return _0x2553f1;};import{View as _0x3f3a53,ViewCollection as _0x4b824d,FocusCycler as _0x3547e1,ButtonView as _0x1daf31}from'ckeditor5/src/ui';import{FocusTracker as _0x1efc86,KeystrokeHandler as _0x421ef0}from'ckeditor5/src/utils';import{icons as _0x48d3d7}from'ckeditor5/src/core';import _0x273c84 from'../commenteditor/commenteditor';import{getTranslation as _0x28698e}from'../../../utils/common-translations';export default class It extends _0x3f3a53{constructor(_0x35a66f,_0x5015c4={}){super(_0x35a66f),this[_0x2553('0x6')]=null,this[_0x2553('0x2b')]=_0x5015c4,this[_0x2553('0x16')]=new _0x421ef0(),this[_0x2553('0x31')]=new _0x1efc86(),this[_0x2553('0xe')](_0x2553('0x3b'),_0x5015c4[_0x2553('0x0')]||''),this[_0x2553('0xe')](_0x2553('0x25'),!0x1),this[_0x2553('0xe')](_0x2553('0x3'),!0x0),this['set'](_0x2553('0x7'),_0x28698e(_0x35a66f,_0x2553('0x1f'))),this[_0x2553('0x1d')]=this[_0x2553('0x1e')](),this[_0x2553('0x38')]=this[_0x2553('0x2c')](),this['setTemplate']({'tag':_0x2553('0x1a'),'attributes':{'class':[_0x2553('0x18')]},'children':[{'tag':_0x2553('0x1a'),'attributes':{'class':[_0x2553('0x5'),this[_0x2553('0xd')]['if'](_0x2553('0x3'),_0x2553('0x14'))]},'children':[this[_0x2553('0x1d')],this['cancelButtonView']]}]}),this[_0x2553('0x16')][_0x2553('0xe')](_0x2553('0x13'),(_0x5ca327,_0x285400)=>{this[_0x2553('0x38')][_0x2553('0xb')](_0x2553('0x2f')),_0x285400();}),this['on']('submit',(_0x12b0b3,_0x1a3b3e)=>{_0x1a3b3e[_0x2553('0x8')]>0xfde8?(alert(_0x28698e(_0x35a66f,_0x2553('0x2e'),[_0x1a3b3e[_0x2553('0x8')],0xfde8])),_0x12b0b3[_0x2553('0x3a')]()):this[_0x2553('0x6')][_0x2553('0xc')]('');},{'priority':_0x2553('0x33')});}[_0x2553('0x22')](){super['render'](),this['keystrokes'][_0x2553('0x28')](this['element']),this['focusTracker'][_0x2553('0x2d')](this[_0x2553('0xf')]);}[_0x2553('0x23')](){return this[_0x2553('0x6')]||(this['editor']=new _0x273c84(this[_0x2553('0x2b')]),this[_0x2553('0x21')]=this[_0x2553('0x6')][_0x2553('0x1c')]()[_0x2553('0x29')](()=>{this[_0x2553('0x19')]||(this[_0x2553('0xf')][_0x2553('0x36')](this[_0x2553('0x6')]['ui'][_0x2553('0xf')],this['element'][_0x2553('0x37')]),this[_0x2553('0x6')][_0x2553('0x3e')][_0x2553('0x3d')]['on'](_0x2553('0x34'),()=>this[_0x2553('0x3b')]=this[_0x2553('0x6')]['getData']()),this['editor']['bind'](_0x2553('0x7'))['to'](this),this[_0x2553('0x10')](this[_0x2553('0x6')]),this[_0x2553('0xb')](_0x2553('0x4')));})),this[_0x2553('0x21')];}['focus'](){this[_0x2553('0x6')]&&this[_0x2553('0x6')][_0x2553('0x35')]();}async[_0x2553('0x26')](){this[_0x2553('0x19')]||(this[_0x2553('0x19')]=!0x0,this['editor']&&(await this[_0x2553('0x21')],await this['editor'][_0x2553('0x26')]()),await super['destroy']());}[_0x2553('0x1e')](){const {locale:_0x4c0825}=this,_0x3967c5=new _0x1daf31(_0x4c0825);return _0x3967c5[_0x2553('0x2a')]({'attributes':{'class':[_0x2553('0x12')]}}),_0x3967c5['label']=_0x28698e(_0x4c0825,_0x2553('0x17')),_0x3967c5[_0x2553('0x3c')]=_0x48d3d7[_0x2553('0x24')],_0x3967c5['on'](_0x2553('0x2f'),()=>{this[_0x2553('0xb')](_0x2553('0x9'),this[_0x2553('0x3b')]);}),_0x3967c5[_0x2553('0x30')](_0x2553('0x15'))['to'](this,'value',this,'disabledSubmit',(_0x45a108,_0x22b3ef)=>!_0x22b3ef&&!!_0x45a108[_0x2553('0x2')]()),_0x3967c5;}['_createCancelButton'](){const {locale:_0x52d27b}=this,_0x3f55f6=new _0x1daf31(_0x52d27b);return _0x3f55f6[_0x2553('0x2a')]({'attributes':{'class':[_0x2553('0x1b')]}}),_0x3f55f6[_0x2553('0x39')]=_0x28698e(_0x52d27b,_0x2553('0xa')),_0x3f55f6[_0x2553('0x3c')]=_0x48d3d7['cancel'],_0x3f55f6['on'](_0x2553('0x2f'),()=>{this[_0x2553('0x6')][_0x2553('0xc')](''),this[_0x2553('0xb')](_0x2553('0x1'));}),_0x3f55f6;}[_0x2553('0x10')](_0x22f4c3){const _0x2decd4=this[_0x2553('0x31')],_0x57c34f=new _0x4b824d();[_0x22f4c3['ui']['view'],this[_0x2553('0x1d')],this[_0x2553('0x38')]][_0x2553('0x11')](_0x221668=>{_0x57c34f[_0x2553('0x2d')](_0x221668),_0x2decd4[_0x2553('0x2d')](_0x221668[_0x2553('0xf')]);});const _0x2d0153=new _0x3547e1({'focusables':_0x57c34f,'focusTracker':_0x2decd4});this[_0x2553('0x16')][_0x2553('0xe')]('tab',(_0x473326,_0x57d4a1)=>{_0x2d0153[_0x2553('0x27')](),_0x57d4a1();},{'priority':'low'}),this['keystrokes'][_0x2553('0xe')](_0x2553('0x32'),(_0x448256,_0x3200de)=>{_0x2d0153[_0x2553('0x20')](),_0x3200de();},{'priority':'low'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _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 _0x2e16=['remove','_handleRemoveCommentModel','_config','hasDirtyComment','get','ck-thread__comments','setTemplate','updateComment','createCollection','from','collapse','delegate','isEditMode','delete','isActive','removeComment','focus','_shouldCollapse','expand','_handleNewCommentModel','commentUpdated','comments','stopListening','_rearrangeCollapse','_rearrangeExpand','destroy','CommentView','visibleViews','insert','change:hasDirtyComment','locale','editorConfig','maxCommentsWhenCollapsed','_updateHasDirtyComment','add','_collapsedCommentsView','commentViews','maxCommentCharsWhenCollapsed','change:isActive','length','bind','count','render','refreshVisibleViews','listenTo','formatDateTime'];(function(_0x13d1f2,_0x2e160e){const _0x2a5c4b=function(_0x109bb4){while(--_0x109bb4){_0x13d1f2['push'](_0x13d1f2['shift']());}};_0x2a5c4b(++_0x2e160e);}(_0x2e16,0xb7));const _0x2a5c=function(_0x13d1f2,_0x2e160e){_0x13d1f2=_0x13d1f2-0x0;let _0x2a5c4b=_0x2e16[_0x13d1f2];return _0x2a5c4b;};import{View as _0x7bcbac}from'ckeditor5/src/ui';import{diff as _0x1d9c76,Collection as _0x121559}from'ckeditor5/src/utils';import _0x475160 from'./collapsedcommentsview';export default class L extends _0x7bcbac{constructor(_0x39d15c,_0x419392,_0xc31500){super(_0x39d15c),this['set']('hasDirtyComment',!0x1),this['set'](_0x2a5c('0x28'),_0x419392['comments'][_0x2a5c('0x28')]),this['set']('isActive',!0x1),this['_model']=_0x419392,this['_config']=_0xc31500,this['commentViews']=this['createCollection'](),this['visibleViews']=this[_0x2a5c('0x9')](),this[_0x2a5c('0x24')]=new _0x475160(_0x39d15c),this[_0x2a5c('0x24')][_0x2a5c('0x29')](_0x2a5c('0x2a'))['to'](this,'length',_0x419918=>_0x419918-this['_config'][_0x2a5c('0x21')]);for(const _0x2f3b25 of _0x419392['comments'])this['_handleNewCommentModel'](_0x2f3b25);this['listenTo'](_0x419392[_0x2a5c('0x16')],_0x2a5c('0x23'),(_0x581256,_0x59b465)=>{this['length']++,this['_handleNewCommentModel'](_0x59b465),this[_0x2a5c('0x2c')]();}),this[_0x2a5c('0x2d')](_0x419392[_0x2a5c('0x16')],'remove',(_0x581a92,_0x499223)=>{this['length']--,this[_0x2a5c('0x2')](_0x499223),this['refreshVisibleViews']();}),this[_0x2a5c('0x2d')](_0x419392,_0x2a5c('0x15'),()=>this[_0x2a5c('0x2c')]()),this['on'](_0x2a5c('0x27'),()=>this[_0x2a5c('0x2c')]()),this['on'](_0x2a5c('0x1e'),()=>this[_0x2a5c('0x2c')]()),this[_0x2a5c('0x7')]({'tag':'ul','attributes':{'class':[_0x2a5c('0x6')]},'children':this[_0x2a5c('0x1c')]});}get['_shouldCollapse'](){return this['_model']['weight']>this[_0x2a5c('0x3')]['maxThreadTotalWeight']&&!this[_0x2a5c('0xf')]&&!this[_0x2a5c('0x4')];}[_0x2a5c('0x2b')](){super[_0x2a5c('0x2b')](),this[_0x2a5c('0x2c')]();}[_0x2a5c('0x11')](){this['element'][_0x2a5c('0x11')]();}['destroy'](){this[_0x2a5c('0x24')][_0x2a5c('0x1a')]();for(const _0x2ff912 of this[_0x2a5c('0x25')])_0x2ff912[_0x2a5c('0x1a')]();super[_0x2a5c('0x1a')]();}[_0x2a5c('0x2c')](){this[_0x2a5c('0x12')]?this[_0x2a5c('0x18')]():this['_rearrangeExpand']();}[_0x2a5c('0x14')](_0x445f5b){const _0x1e8170=new this[(_0x2a5c('0x3'))][(_0x2a5c('0x1b'))](this[_0x2a5c('0x1f')],_0x445f5b,{'maxCommentCharsWhenCollapsed':this[_0x2a5c('0x3')][_0x2a5c('0x26')],'formatDateTime':this[_0x2a5c('0x3')][_0x2a5c('0x0')],'editorConfig':this['_config'][_0x2a5c('0x20')]});_0x1e8170['viewUid']=_0x445f5b['id'],_0x1e8170['delegate'](_0x2a5c('0x10'))['to'](this),_0x1e8170[_0x2a5c('0xc')](_0x2a5c('0x8'))['to'](this),this[_0x2a5c('0x2d')](_0x1e8170,'change:isEditMode',()=>this[_0x2a5c('0x22')]()),this[_0x2a5c('0x25')]['add'](_0x1e8170);}['_handleRemoveCommentModel'](_0x1da5f4){const _0x50f8d8=this[_0x2a5c('0x25')]['remove'](_0x1da5f4['id']);this[_0x2a5c('0x17')](_0x50f8d8),_0x50f8d8[_0x2a5c('0xd')]&&this[_0x2a5c('0x22')](),_0x50f8d8['destroy']();}[_0x2a5c('0x22')](){this[_0x2a5c('0x4')]=Array['from'](this[_0x2a5c('0x25')])['some'](_0x22b7bf=>_0x22b7bf[_0x2a5c('0xd')]);}[_0x2a5c('0x18')](){const _0x4396d0=function(_0x4db576){const _0x3281bf=new _0x121559();for(const _0x41733b of _0x4db576)_0x3281bf[_0x2a5c('0x23')](_0x41733b);return _0x3281bf;}(this[_0x2a5c('0x25')]),_0x16015e=this[_0x2a5c('0x24')][_0x2a5c('0x2a')];for(let _0x16dbb7=0x1;_0x16dbb7<=_0x16015e;_0x16dbb7++)_0x4396d0[_0x2a5c('0x1')](0x1);for(const _0x474a8f of _0x4396d0)_0x474a8f[_0x2a5c('0xb')]();_0x16015e>0x0&&_0x4396d0['add'](this[_0x2a5c('0x24')],0x1),Wt(_0x1d9c76(Array['from'](this[_0x2a5c('0x1c')]),Array[_0x2a5c('0xa')](_0x4396d0)),this[_0x2a5c('0x1c')],_0x4396d0);}[_0x2a5c('0x19')](){Wt(_0x1d9c76(Array[_0x2a5c('0xa')](this['visibleViews']),Array[_0x2a5c('0xa')](this['commentViews'])),this[_0x2a5c('0x1c')],this[_0x2a5c('0x25')]);for(const _0x2b30dd of this[_0x2a5c('0x1c')])_0x2b30dd[_0x2a5c('0x13')]();}}function Wt(_0x497315,_0x1dae37,_0x1d1991){let _0x528677=0x0;for(const _0x2c61ad of _0x497315)switch(_0x2c61ad){case _0x2a5c('0x1d'):_0x1dae37[_0x2a5c('0x23')](_0x1d1991[_0x2a5c('0x5')](_0x528677),_0x528677),_0x528677++;break;case _0x2a5c('0xe'):_0x1dae37[_0x2a5c('0x1')](_0x528677);break;case'equal':_0x528677++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _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 _0x25e5=['extendTemplate','change:showInput','commentInputView','editor','userView','focusTracker','setTemplate','destroy','showInput','set','ck-thread__input','value','createEditor','bind','div','bindTemplate','then','ck-thread__user','isFocused'];(function(_0x23045e,_0x25e51b){var _0x3d6bd1=function(_0x4f42a8){while(--_0x4f42a8){_0x23045e['push'](_0x23045e['shift']());}};_0x3d6bd1(++_0x25e51b);}(_0x25e5,0xf7));var _0x3d6b=function(_0x23045e,_0x25e51b){_0x23045e=_0x23045e-0x0;var _0x3d6bd1=_0x25e5[_0x23045e];return _0x3d6bd1;};import{View as _0x337d1}from'ckeditor5/src/ui';import _0x2be87b from'./commentinputview';import{UserView as _0x101e63}from'ckeditor5-collaboration/src/collaboration-core';export default class z extends _0x337d1{constructor(_0x424456,_0x341890,_0x2fede5){super(_0x424456),this['commentInputView']=new _0x2be87b(_0x424456,_0x2fede5),this['commentInputView'][_0x3d6b('0xd')]('showButtons')['to'](this[_0x3d6b('0x2')][_0x3d6b('0x5')],_0x3d6b('0x12'),this[_0x3d6b('0x2')],_0x3d6b('0xb'),(_0x25e10b,_0x52c26c)=>_0x25e10b||!!_0x52c26c),this[_0x3d6b('0x9')](_0x3d6b('0x8'),!0x1),this['on'](_0x3d6b('0x1'),()=>{this[_0x3d6b('0x8')]&&!this['commentInputView'][_0x3d6b('0x3')]&&this[_0x3d6b('0x2')][_0x3d6b('0xc')]();}),this[_0x3d6b('0x4')]=new _0x101e63(_0x424456,_0x341890),this['userView'][_0x3d6b('0x0')]({'attributes':{'class':_0x3d6b('0x11')}}),this[_0x3d6b('0x2')]['extendTemplate']({'attributes':{'class':_0x3d6b('0xa')}}),this[_0x3d6b('0x6')]({'tag':_0x3d6b('0xe'),'attributes':{'class':['ck-comment__input-container',this[_0x3d6b('0xf')]['if'](_0x3d6b('0x8'),'ck-comment__input-container--active')]},'children':[this['userView'],this[_0x3d6b('0x2')]]});}['destroy'](){return this[_0x3d6b('0x2')][_0x3d6b('0x7')]()[_0x3d6b('0x10')](()=>super['destroy']());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _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 _0x554e=['fire','length','ck-thread--','div','then','showConfirm','Delete\x20comment\x20thread?','ck-thread','change:isReadOnly','Write\x20a\x20comment...','cancelConfirm','actionIndicator','containerElement','ck-thread--active','bindTemplate','commentsListView','removeButton','_boundFirstCommentView','ck-thread--remove-confirmation','listenTo','_cancelAllConfirms','.ck-thread__container','change:isActive','remove','removeCommentThread','add','_model','bind','_bindFirstCommentView','render','unbind','execute','commentViews','set','isActive','high','stop'];(function(_0x22b770,_0x554e2a){const _0x332857=function(_0xfab3e6){while(--_0xfab3e6){_0x22b770['push'](_0x22b770['shift']());}};_0x332857(++_0x554e2a);}(_0x554e,0xf5));const _0x3328=function(_0x22b770,_0x554e2a){_0x22b770=_0x22b770-0x0;let _0x332857=_0x554e[_0x22b770];return _0x332857;};import{mix as _0x20b1dd}from'ckeditor5/src/utils';import{ConfirmMixin as _0x2034bb}from'ckeditor5-collaboration/src/collaboration-core';import _0x2a4bf6 from'./basecommentthreadview';import{getTranslation as _0x2b7edb}from'../../../utils/common-translations';export default class S extends _0x2a4bf6{constructor(_0x350716,_0x1f91a6,_0x4b1338,_0xb89f40){super(_0x350716,_0x1f91a6,_0x4b1338,_0xb89f40),this[_0x3328('0xa')](_0x3328('0x19'),null),this['containerElement']=null,this[_0x3328('0x1f')]=null,this['locale']=_0x350716,this['setTemplate'](this['getTemplate']()),this['on'](_0x3328('0x24'),(_0x419482,_0x1c31d8,_0x3e2543)=>{_0x3e2543||this[_0x3328('0x22')]();}),this[_0x3328('0x21')](this[_0x3328('0x3')],_0x3328('0x16'),(_0x3a4205,_0x2f3ff3,_0x5a06a3)=>{_0x5a06a3&&this[_0x3328('0x22')]();}),this[_0x3328('0xf')]>0x0&&this[_0x3328('0x5')](),this[_0x3328('0x21')](this['commentsListView'][_0x3328('0x9')],_0x3328('0x2'),()=>{this[_0x3328('0x5')]();});}['getTemplate'](){const _0x5693fa=this[_0x3328('0x1c')];return{'tag':_0x3328('0x11'),'attributes':{'class':[_0x3328('0x15'),_0x5693fa['if'](_0x3328('0xb'),_0x3328('0x1b')),_0x5693fa['if']('isConfirm',_0x3328('0x20')),_0x5693fa['to'](_0x3328('0x19'),_0x460d0a=>_0x460d0a?_0x3328('0x10')+_0x460d0a:'')],'data-thread-id':this['_model']['id'],'tabindex':-0x1},'children':[{'tag':_0x3328('0x11'),'attributes':{'class':'ck-thread__container'},'children':[this[_0x3328('0x1d')],this['commentThreadInputView']]}]};}[_0x3328('0x6')](){super[_0x3328('0x6')](),this[_0x3328('0x1a')]=this['element']['querySelector'](_0x3328('0x23'));}[_0x3328('0x22')](){this[_0x3328('0x18')]();for(const _0x36e2af of this['commentsListView'][_0x3328('0x9')])_0x36e2af[_0x3328('0x18')]();}['_bindFirstCommentView'](){const {locale:_0x495e44}=this,_0x56840a=this['commentsListView'][_0x3328('0x9')]['get'](0x0);_0x56840a!==this[_0x3328('0x1f')]&&(this['_boundFirstCommentView']=_0x56840a,this[_0x3328('0x7')](_0x3328('0x19')),this[_0x3328('0x4')](_0x3328('0x19'))['to'](_0x56840a,'actionIndicator',_0x83884c=>_0x3328('0x0')===_0x83884c?_0x3328('0x0'):null),_0x56840a['placeholder']=_0x2b7edb(_0x495e44,_0x3328('0x17')),_0x56840a[_0x3328('0x1e')]['on'](_0x3328('0x8'),_0xf08f96=>{_0xf08f96[_0x3328('0xd')](),this[_0x3328('0x13')](_0x2b7edb(_0x495e44,_0x3328('0x14')),this[_0x3328('0x1a')])[_0x3328('0x12')](()=>{this[_0x3328('0xe')](_0x3328('0x1'));});},{'priority':_0x3328('0xc')}));}}_0x20b1dd(S,_0x2034bb);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _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 _0x4bf7=['isReadOnly','ck-comment--','_attachActions','@external','getExternalCommentNote','isConfirm','mouseenter','ck-annotation__info-time','Edit','author','setTemplate','ck-annotation__info-name','bindTemplate','switchToEditMode','ck-comment--edit','time','visibleView','ck-annotation__user','authoredAt','ck-comment__info','EXTERNAL_AVATAR','render','edit','bind','set','userView','EXTERNAL_COMMENT','creator','element','showConfirm','Remove','icon','locale','ck-comment','formatDateTime','getUserViewNotificationText','label','isRemovable','Delete\x20comment?','ck-comment--remove','actionIndicator','importWord','isExternal','_createEditButton','ck-comment__external','isEditable','focus','isVisible','isEnabled','blur','ck-annotation__content-wrapper','removeButton','_model','ck-comment__main','ck-annotation__actions--hidden','execute','isEditMode','div','fire','extendTemplate','listenTo','EXTERNAL_IMPORT_WORD_COMMENT','name','source','ck-annotation__main','then','_createCommentInputView','editButton','ck-comment__info-name','ck-comment__info-time','attributes','_createRemoveButton'];(function(_0x7d9a9e,_0x4bf775){const _0x177ce8=function(_0x495a41){while(--_0x495a41){_0x7d9a9e['push'](_0x7d9a9e['shift']());}};_0x177ce8(++_0x4bf775);}(_0x4bf7,0x84));const _0x177c=function(_0x7d9a9e,_0x4bf775){_0x7d9a9e=_0x7d9a9e-0x0;let _0x177ce8=_0x4bf7[_0x7d9a9e];return _0x177ce8;};import{mix as _0x2aa32d}from'ckeditor5/src/utils';import{ButtonView as _0x33a93f}from'ckeditor5/src/ui';import{icons as _0x32b52b}from'ckeditor5/src/core';import{UserView as _0x45b92a,ConfirmMixin as _0x1962e1}from'ckeditor5-collaboration/src/collaboration-core';import _0x37fafd from'./basecommentview';import _0xecd2b8 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x13e683}from'../../../utils/common-translations';export default class W extends _0x37fafd{constructor(_0x4a3c38,_0x8e1a,_0x490cdd){super(_0x4a3c38,_0x8e1a,_0x490cdd),this[_0x177c('0x24')]('actionIndicator',null),this['set']('placeholder',_0x13e683(_0x4a3c38,'Reply...')),this[_0x177c('0x24')](_0x177c('0x1e'),null),this[_0x177c('0x23')](_0x177c('0x1e'))['to'](_0x8e1a),this['editButton']=this['_createEditButton'](),this[_0x177c('0x3f')]=this[_0x177c('0xb')](),this[_0x177c('0x25')]=new _0x45b92a(_0x4a3c38,_0x8e1a[_0x177c('0x15')],this[_0x177c('0x2f')]()),this[_0x177c('0x25')]['extendTemplate']({'attributes':{'class':['ck-comment__user',_0x177c('0x1d')]}}),this[_0x177c('0x0')](_0x8e1a,'change:isRemovable',()=>this['cancelConfirm']()),this[_0x177c('0x16')](this['getTemplate']());}['getTemplate'](){const _0x120239=this[_0x177c('0x18')],_0x3aacaa=[{'tag':_0x177c('0x45'),'attributes':{'class':[_0x177c('0x1f'),'ck-annotation__info']},'children':[{'tag':'span','children':[{'text':this[_0x177c('0x25')][_0x177c('0x2')]}],'attributes':{'class':[_0x177c('0x8'),_0x177c('0x17')]}},{'tag':_0x177c('0x1b'),'attributes':{'datetime':_0x120239['to'](_0x177c('0x1e')),'class':[_0x177c('0x9'),_0x177c('0x13')]},'children':[{'text':_0x120239['to'](_0x177c('0x1e'),_0x2650c0=>this['_config'][_0x177c('0x2e')](_0x2650c0))}]}]},{'tag':_0x177c('0x45'),'attributes':{'class':['ck-comment__actions','ck-annotation__actions',_0x120239['if'](_0x177c('0x44'),'ck-comment__actions--hidden'),_0x120239['if'](_0x177c('0x44'),_0x177c('0x42'))]},'children':[this[_0x177c('0x7')],this[_0x177c('0x3f')]]},{'tag':'div','attributes':{'class':[_0x177c('0x3e')]},'children':this[_0x177c('0x1c')]}];return this[_0x177c('0x40')]['isExternal']&&_0x3aacaa['push']({'tag':_0x177c('0x45'),'attributes':{'class':[_0x177c('0x38')]},'children':[{'text':this[_0x177c('0x10')]()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper',_0x120239['if'](_0x177c('0x11'),'ck-comment--remove-confirmation')],'tabindex':-0x1},'children':[{'tag':_0x177c('0x45'),'attributes':{'class':[_0x177c('0x2d'),'ck-annotation',_0x120239['if'](_0x177c('0x44'),'ck-comment--edit'),_0x120239['to'](_0x177c('0x34'),_0x571ba9=>_0x571ba9?_0x177c('0xd')+_0x571ba9:'')],'data-author-id':this[_0x177c('0x40')][_0x177c('0x15')]['id'],'data-comment-id':this['_model']['id']},'children':[this[_0x177c('0x25')],{'tag':_0x177c('0x45'),'attributes':{'class':[_0x177c('0x41'),_0x177c('0x4')]},'children':_0x3aacaa}]}]};}[_0x177c('0x37')](){const _0x163469=new _0x33a93f(this[_0x177c('0x2c')]);return _0x163469[_0x177c('0x30')]=_0x13e683(this[_0x177c('0x2c')],_0x177c('0x14')),_0x163469[_0x177c('0x2b')]=_0x32b52b['pencil'],_0x163469['extendTemplate']({'attributes':{'class':_0x177c('0x1a')}}),_0x163469['bind'](_0x177c('0x3c'))['to'](this[_0x177c('0x40')],_0x177c('0xc'),_0x46940f=>!_0x46940f),_0x163469[_0x177c('0x23')](_0x177c('0x3b'))['to'](this['_model'],_0x177c('0x39')),_0x163469['on'](_0x177c('0x43'),()=>this[_0x177c('0x19')]()),_0x163469;}[_0x177c('0xb')](){const _0x5e6b9d=new _0x33a93f(this[_0x177c('0x2c')]);return _0x5e6b9d[_0x177c('0x30')]=_0x13e683(this['locale'],_0x177c('0x2a')),_0x5e6b9d['icon']=_0xecd2b8,_0x5e6b9d[_0x177c('0x47')]({'attributes':{'class':_0x177c('0x33')}}),_0x5e6b9d['bind'](_0x177c('0x3c'))['to'](this[_0x177c('0x40')],_0x177c('0xc'),_0x3f06d6=>!_0x3f06d6),_0x5e6b9d[_0x177c('0x23')](_0x177c('0x3b'))['to'](this[_0x177c('0x40')],_0x177c('0x31')),_0x5e6b9d['on'](_0x177c('0x43'),()=>{this[_0x177c('0x29')](_0x13e683(this['locale'],_0x177c('0x32')),this[_0x177c('0x28')])[_0x177c('0x5')](()=>{this[_0x177c('0x46')]('removeComment',this[_0x177c('0x40')]['id']);});}),_0x5e6b9d;}['_attachActions'](_0xa4f337,_0xc13cd2){this['listenTo'](_0xa4f337,_0x177c('0x12'),()=>this['actionIndicator']=_0xc13cd2),this[_0x177c('0x0')](_0xa4f337,_0x177c('0x3a'),()=>this['actionIndicator']=_0xc13cd2),this[_0x177c('0x0')](_0xa4f337,'mouseleave',()=>this[_0x177c('0x34')]=null),this[_0x177c('0x0')](_0xa4f337,_0x177c('0x3d'),()=>this[_0x177c('0x34')]=null);}[_0x177c('0x6')](){const _0x9b96d3=super[_0x177c('0x6')]();return _0x9b96d3['bind']('placeholder')['to'](this),_0x9b96d3;}[_0x177c('0x10')](){return _0x177c('0x35')===this[_0x177c('0x40')][_0x177c('0xa')][_0x177c('0xf')][_0x177c('0x3')]?_0x13e683(this['locale'],_0x177c('0x1')):_0x13e683(this[_0x177c('0x2c')],_0x177c('0x26'));}[_0x177c('0x2f')](){return this[_0x177c('0x40')][_0x177c('0x36')]?_0x177c('0x35')===this[_0x177c('0x40')]['attributes'][_0x177c('0xf')][_0x177c('0x3')]?_0x13e683(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this[_0x177c('0x40')]['creator'][_0x177c('0x2')]):_0x13e683(this['locale'],_0x177c('0x20'),this['_model'][_0x177c('0x27')][_0x177c('0x2')]):null;}[_0x177c('0x21')](){super[_0x177c('0x21')](),this[_0x177c('0xe')](this[_0x177c('0x7')][_0x177c('0x28')],_0x177c('0x22')),this[_0x177c('0xe')](this['removeButton'][_0x177c('0x28')],'remove');}}_0x2aa32d(W,_0x1962e1);
package/src/comments.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _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 _0x2700=['pluginName','Comments','requires'];(function(_0x4950b5,_0x270047){var _0x127462=function(_0x5ba428){while(--_0x5ba428){_0x4950b5['push'](_0x4950b5['shift']());}};_0x127462(++_0x270047);}(_0x2700,0x198));var _0x1274=function(_0x4950b5,_0x270047){_0x4950b5=_0x4950b5-0x0;var _0x127462=_0x2700[_0x4950b5];return _0x127462;};import{Plugin as _0x55918c}from'ckeditor5/src/core';import _0x46b138 from'./comments/commentsrepository';import _0x3410c0 from'./comments/commentsediting';import _0xc53860 from'./comments/commentsui';import _0x53eaba from'./commentsonly';import _0xa5f85e from'./annotations/widesidebar';import _0x1c46bc from'./annotations/narrowsidebar';import _0x5d7a56 from'./annotations/inlineannotations';export default class c extends _0x55918c{static get[_0x1274('0x2')](){return[_0x46b138,_0x3410c0,_0xc53860,_0x53eaba,_0xa5f85e,_0x1c46bc,_0x5d7a56];}static get[_0x1274('0x0')](){return _0x1274('0x1');}}