@ckeditor/ckeditor5-comments 36.0.0 → 36.0.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 _0x496c=['init','CommentsListView','comment:','tooltip','push','activeMarker','pluginName','focusTracker','editing','_createUIButton','isEnabled','comment','innerView','map','componentFactory','_viewToController','icon','plugins','getCommentThread','get','has','getRange','bind','model','label','hasCommentThread','add','locale','hasMarkerForId','find','commands','from','highest','stop','addSourceCollector','focus','removeCommentThread','Comment','view','isFocused','listenTo','requires','CommentThreadInputView'];(function(_0x237049,_0x496c62){const _0xe4df10=function(_0x3cf147){while(--_0x3cf147){_0x237049['push'](_0x237049['shift']());}};_0xe4df10(++_0x496c62);}(_0x496c,0xf8));const _0xe4df=function(_0x237049,_0x496c62){_0x237049=_0x237049-0x0;let _0xe4df10=_0x496c[_0x237049];return _0xe4df10;};import{Plugin as _0x551753}from'ckeditor5/src/core';import _0x5820d3 from'./commentsrepository';import _0x19d520 from'./commentsediting';import _0x4566d4 from'../annotations/editorannotations';import{ButtonView as _0x72568}from'ckeditor5/src/ui';import _0x5ec1ca from'../../theme/icons/add-comment.svg';import _0x1ee273 from'../annotations/annotations';import _0x27dead from'./ui/view/commentslistview';import _0x3ea5b4 from'./ui/view/commentthreadinputview';import{getTranslation as _0x22f337}from'../utils/common-translations';export default class n extends _0x551753{static get[_0xe4df('0x10')](){return'CommentsUI';}static get[_0xe4df('0x8')](){return[_0x5820d3,_0x19d520,_0x4566d4,_0x1ee273];}get[_0xe4df('0xb')](){return _0x27dead;}get[_0xe4df('0x9')](){return _0x3ea5b4;}[_0xe4df('0xa')](){const _0x4c0cff=this['editor'],_0x41055a=_0x4c0cff['plugins'][_0xe4df('0x1d')](_0x5820d3),_0x149b87=_0x4c0cff[_0xe4df('0x1b')][_0xe4df('0x1d')](_0x19d520),_0x18a54d=_0x4c0cff[_0xe4df('0x1b')][_0xe4df('0x1d')](_0x1ee273),_0x4fc5c9=_0x4c0cff[_0xe4df('0x1b')][_0xe4df('0x1d')](_0x4566d4);_0x4c0cff['ui'][_0xe4df('0x18')][_0xe4df('0x24')](_0xe4df('0x15'),()=>this[_0xe4df('0x13')]()),_0x4fc5c9[_0xe4df('0x1')](()=>{const _0x1fafe2=[];for(const [_0x4ef425,_0x127952]of _0x41055a['_threadToController']){const _0x6e18db=_0x149b87['getAllMarkersForId'](_0x4ef425['id']),_0x233d85=_0x6e18db['map'](_0x23fed9=>_0x23fed9[_0xe4df('0x1f')]());_0x6e18db['length']>0x0&&_0x1fafe2[_0xe4df('0xe')]([_0x127952[_0xe4df('0x5')],_0x233d85]);}return _0x1fafe2;}),this[_0xe4df('0x7')](_0x18a54d,'change:activeAnnotations',(_0x425085,_0xf3edc9,_0x3afb89)=>{const _0x5769c0=Array[_0xe4df('0x29')](_0x3afb89)[_0xe4df('0x17')](_0x14b2b6=>_0x14b2b6[_0xe4df('0x16')])[_0xe4df('0x27')](_0x1ed71e=>_0x41055a[_0xe4df('0x19')][_0xe4df('0x1e')](_0x1ed71e));if(!_0x5769c0)return void(_0x149b87['activeMarker']=null);const _0x37617a=_0x41055a['_viewToController'][_0xe4df('0x1d')](_0x5769c0)[_0xe4df('0x21')]['id'],_0x510134=_0xe4df('0xc')+_0x37617a;_0x149b87[_0xe4df('0x26')](_0x37617a)?_0x149b87['activeMarker']=_0x510134:_0x149b87[_0xe4df('0xf')]&&(_0x149b87[_0xe4df('0xf')]=null);}),this[_0xe4df('0x7')](_0x41055a,_0xe4df('0x3'),(_0x41c20c,{threadId:_0x4830b6,isFromAdapter:_0x3faed3})=>{!_0x3faed3&&_0x4c0cff['ui'][_0xe4df('0x11')][_0xe4df('0x6')]&&_0x149b87['hasMarkerForId'](_0x4830b6)&&_0x4c0cff[_0xe4df('0x12')][_0xe4df('0x5')]['focus']();},{'priority':_0xe4df('0x2a')}),this[_0xe4df('0x7')](_0x41055a,'addComment',(_0x5167f3,{threadId:_0x58f3dc,isFromAdapter:_0x292b35})=>{if(_0x292b35||!_0x149b87['hasMarkerForId'](_0x58f3dc)||!_0x41055a[_0xe4df('0x23')](_0x58f3dc))return;0x1===_0x41055a[_0xe4df('0x1c')](_0x58f3dc)['length']&&(_0x4c0cff[_0xe4df('0x12')][_0xe4df('0x5')][_0xe4df('0x2')](),_0x5167f3[_0xe4df('0x0')]());},{'priority':'low'});}[_0xe4df('0x13')](){const _0x4f6d03=this['editor'],_0x558d83=new _0x72568(_0x4f6d03[_0xe4df('0x25')]),_0x55929e=_0x4f6d03[_0xe4df('0x28')][_0xe4df('0x1d')]('addCommentThread');return _0x558d83[_0xe4df('0x22')]=_0x22f337(_0x4f6d03['locale'],'Comment'),_0x558d83[_0xe4df('0xd')]=_0x22f337(_0x4f6d03[_0xe4df('0x25')],_0xe4df('0x4')),_0x558d83[_0xe4df('0x1a')]=_0x5ec1ca,_0x558d83[_0xe4df('0x20')](_0xe4df('0x14'))['to'](_0x55929e),this['listenTo'](_0x558d83,'execute',()=>_0x55929e['execute']()),_0x558d83;}}
23
+ const _0x4056=['init','getAllMarkersForId','getCommentThread','hasCommentThread','removeCommentThread','addSourceCollector','get','tooltip','map','icon','CommentThreadInputView','comment:','find','execute','_threadToController','hasMarkerForId','editor','_createUIButton','from','commands','activeMarker','focus','_viewToController','componentFactory','bind','locale','low','editing','model','focusTracker','label','change:activeAnnotations','view','length','pluginName','stop','CommentsUI','has','isFocused','plugins','addCommentThread','listenTo','addComment','add','innerView','Comment','requires'];(function(_0x3e41be,_0x4056ee){const _0x724668=function(_0x5627f3){while(--_0x5627f3){_0x3e41be['push'](_0x3e41be['shift']());}};_0x724668(++_0x4056ee);}(_0x4056,0x169));const _0x7246=function(_0x3e41be,_0x4056ee){_0x3e41be=_0x3e41be-0x0;let _0x724668=_0x4056[_0x3e41be];return _0x724668;};import{Plugin as _0x1b5ebc}from'ckeditor5/src/core';import _0x1bb450 from'./commentsrepository';import _0x219008 from'./commentsediting';import _0x23ab4f from'../annotations/editorannotations';import{ButtonView as _0xb68325}from'ckeditor5/src/ui';import _0xf8eb7a from'../../theme/icons/add-comment.svg';import _0x3c4d67 from'../annotations/annotations';import _0xacd292 from'./ui/view/commentslistview';import _0x55c51d from'./ui/view/commentthreadinputview';import{getTranslation as _0x230223}from'../utils/common-translations';export default class n extends _0x1b5ebc{static get[_0x7246('0x2')](){return _0x7246('0x4');}static get[_0x7246('0xe')](){return[_0x1bb450,_0x219008,_0x23ab4f,_0x3c4d67];}get['CommentsListView'](){return _0xacd292;}get[_0x7246('0x19')](){return _0x55c51d;}[_0x7246('0xf')](){const _0x5a70f3=this[_0x7246('0x1f')],_0x3311a1=_0x5a70f3[_0x7246('0x7')][_0x7246('0x15')](_0x1bb450),_0x19773a=_0x5a70f3[_0x7246('0x7')][_0x7246('0x15')](_0x219008),_0x5179a0=_0x5a70f3[_0x7246('0x7')]['get'](_0x3c4d67),_0x2e6107=_0x5a70f3[_0x7246('0x7')][_0x7246('0x15')](_0x23ab4f);_0x5a70f3['ui'][_0x7246('0x26')][_0x7246('0xb')]('comment',()=>this[_0x7246('0x20')]()),_0x2e6107[_0x7246('0x14')](()=>{const _0x5b95d1=[];for(const [_0x471391,_0x1dba64]of _0x3311a1[_0x7246('0x1d')]){const _0x2d2222=_0x19773a[_0x7246('0x10')](_0x471391['id']),_0xbe148a=_0x2d2222[_0x7246('0x17')](_0x3118d4=>_0x3118d4['getRange']());_0x2d2222[_0x7246('0x1')]>0x0&&_0x5b95d1['push']([_0x1dba64[_0x7246('0x0')],_0xbe148a]);}return _0x5b95d1;}),this[_0x7246('0x9')](_0x5179a0,_0x7246('0x2e'),(_0x40d982,_0xd74a9f,_0x46afd3)=>{const _0x43a1b1=Array[_0x7246('0x21')](_0x46afd3)['map'](_0x42bdef=>_0x42bdef[_0x7246('0xc')])[_0x7246('0x1b')](_0x51b90a=>_0x3311a1[_0x7246('0x25')][_0x7246('0x5')](_0x51b90a));if(!_0x43a1b1)return void(_0x19773a[_0x7246('0x23')]=null);const _0x45d617=_0x3311a1[_0x7246('0x25')][_0x7246('0x15')](_0x43a1b1)[_0x7246('0x2b')]['id'],_0x2b5753=_0x7246('0x1a')+_0x45d617;_0x19773a['hasMarkerForId'](_0x45d617)?_0x19773a[_0x7246('0x23')]=_0x2b5753:_0x19773a[_0x7246('0x23')]&&(_0x19773a['activeMarker']=null);}),this[_0x7246('0x9')](_0x3311a1,_0x7246('0x13'),(_0x2311e7,{threadId:_0x9a098e,isFromAdapter:_0x1eb228})=>{!_0x1eb228&&_0x5a70f3['ui'][_0x7246('0x2c')][_0x7246('0x6')]&&_0x19773a['hasMarkerForId'](_0x9a098e)&&_0x5a70f3[_0x7246('0x2a')]['view'][_0x7246('0x24')]();},{'priority':'highest'}),this[_0x7246('0x9')](_0x3311a1,_0x7246('0xa'),(_0x3fe4cf,{threadId:_0x347bc2,isFromAdapter:_0x247c4b})=>{if(_0x247c4b||!_0x19773a[_0x7246('0x1e')](_0x347bc2)||!_0x3311a1[_0x7246('0x12')](_0x347bc2))return;0x1===_0x3311a1[_0x7246('0x11')](_0x347bc2)[_0x7246('0x1')]&&(_0x5a70f3[_0x7246('0x2a')][_0x7246('0x0')][_0x7246('0x24')](),_0x3fe4cf[_0x7246('0x3')]());},{'priority':_0x7246('0x29')});}['_createUIButton'](){const _0x4af09a=this[_0x7246('0x1f')],_0x3afc4a=new _0xb68325(_0x4af09a[_0x7246('0x28')]),_0x21f943=_0x4af09a[_0x7246('0x22')][_0x7246('0x15')](_0x7246('0x8'));return _0x3afc4a[_0x7246('0x2d')]=_0x230223(_0x4af09a[_0x7246('0x28')],_0x7246('0xd')),_0x3afc4a[_0x7246('0x16')]=_0x230223(_0x4af09a['locale'],'Comment'),_0x3afc4a[_0x7246('0x18')]=_0xf8eb7a,_0x3afc4a[_0x7246('0x27')]('isEnabled')['to'](_0x21f943),this[_0x7246('0x9')](_0x3afc4a,_0x7246('0x1c'),()=>_0x21f943['execute']()),_0x3afc4a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b12=['plugins','afterInit','RestrictedEditingModeEditing','get','editor'];(function(_0x2ad60d,_0x1b1204){const _0x5a9ea0=function(_0x2f7b40){while(--_0x2f7b40){_0x2ad60d['push'](_0x2ad60d['shift']());}};_0x5a9ea0(++_0x1b1204);}(_0x1b12,0x118));const _0x5a9e=function(_0x2ad60d,_0x1b1204){_0x2ad60d=_0x2ad60d-0x0;let _0x5a9ea0=_0x1b12[_0x2ad60d];return _0x5a9ea0;};import{Plugin as _0x332638}from'ckeditor5/src/core';export default class q extends _0x332638{[_0x5a9e('0x1')](){const _0x140529=this[_0x5a9e('0x4')];if(!_0x140529[_0x5a9e('0x0')]['has']('RestrictedEditingModeEditing'))return;_0x140529[_0x5a9e('0x0')][_0x5a9e('0x3')](_0x5a9e('0x2'))['enableCommand']('addCommentThread');}}
23
+ const _0x2c97=['enableCommand','editor','get','plugins','addCommentThread','RestrictedEditingModeEditing'];(function(_0x207790,_0x2c97f1){const _0x579262=function(_0x502238){while(--_0x502238){_0x207790['push'](_0x207790['shift']());}};_0x579262(++_0x2c97f1);}(_0x2c97,0xec));const _0x5792=function(_0x207790,_0x2c97f1){_0x207790=_0x207790-0x0;let _0x579262=_0x2c97[_0x207790];return _0x579262;};import{Plugin as _0x535fbe}from'ckeditor5/src/core';export default class q extends _0x535fbe{['afterInit'](){const _0x92fbd3=this[_0x5792('0x5')];if(!_0x92fbd3[_0x5792('0x1')]['has'](_0x5792('0x3')))return;_0x92fbd3[_0x5792('0x1')][_0x5792('0x0')](_0x5792('0x3'))[_0x5792('0x4')](_0x5792('0x2'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d0d=['forEach','map','commands','editor','addCommentThread','importWord.commentsStyles','execute','plugins','collaboration.channelId','get','afterInit','basic','Users','high','define','config','listenTo','importWord','dataInsert'];(function(_0x2e818f,_0x1d0d70){const _0x4a0001=function(_0x11ae05){while(--_0x11ae05){_0x2e818f['push'](_0x2e818f['shift']());}};_0x4a0001(++_0x1d0d70);}(_0x1d0d,0x127));const _0x4a00=function(_0x2e818f,_0x1d0d70){_0x2e818f=_0x2e818f-0x0;let _0x4a0001=_0x1d0d[_0x2e818f];return _0x4a0001;};import{Plugin as _0x479e47}from'ckeditor5/src/core';import{priorities as _0x12ae38}from'ckeditor5/src/utils';import _0x3ce41a from'../commentsrepository';export default class G extends _0x479e47{constructor(_0x5cacf8){super(_0x5cacf8),this[_0x4a00('0xc')]['config'][_0x4a00('0x4')]('importWord.commentsStyles',_0x4a00('0x1'));}[_0x4a00('0x0')](){const _0x104ed2=this[_0x4a00('0xc')],_0xd73ee6=_0x104ed2[_0x4a00('0xb')][_0x4a00('0x12')]('importWord'),_0x4745d6=_0x104ed2['plugins']['get'](_0x4a00('0x2'));_0xd73ee6&&(_0xd73ee6['on'](_0x4a00('0xf'),(_0x4887f9,[,_0x2a7608])=>{_0x2a7608['collaboration_features']={'comments':!0x0,'user_id':_0x4745d6['me']['id'],'comments_styles':this[_0x4a00('0xc')]['config'][_0x4a00('0x12')](_0x4a00('0xe'))};},{'priority':_0x12ae38[_0x4a00('0x3')]+0xa}),this[_0x4a00('0x6')](_0xd73ee6,_0x4a00('0x8'),this['_handleImportedData']));}['_handleImportedData'](_0x202fc7,_0x38356d){const {comment_threads:_0x5d6fed}=_0x38356d;_0x5d6fed&&_0x5d6fed[_0x4a00('0x9')](({thread_id:_0x3162d1,comments:_0x3f2684})=>{const _0xb078fd=_0x3f2684[_0x4a00('0xa')](({author:_0x2f0959,content:_0x3c2981,created_at:_0x4430e7})=>({'content':_0x3c2981,'authorId':this[_0x4a00('0xc')][_0x4a00('0x10')][_0x4a00('0x12')]('Users')['me']['id'],'createdAt':new Date(),'attributes':{'@external':{'authorName':_0x2f0959,'createdAt':_0x4430e7?new Date(_0x4430e7):new Date(),'source':_0x4a00('0x7')}}})),_0x18346d=this[_0x4a00('0xc')][_0x4a00('0x5')][_0x4a00('0x12')](_0x4a00('0x11'));this[_0x4a00('0xc')][_0x4a00('0x10')][_0x4a00('0x12')](_0x3ce41a)[_0x4a00('0xd')]({'channelId':_0x18346d,'threadId':_0x3162d1,'comments':_0xb078fd});});}}
23
+ const _0x4700=['plugins','forEach','collaboration_features','map','get','dataInsert','_handleImportedData','Users','commands','execute','listenTo','basic','config','define','importWord.commentsStyles','importWord','editor','collaboration.channelId','afterInit'];(function(_0x3a80ed,_0x4700c8){const _0x37458a=function(_0xda978a){while(--_0xda978a){_0x3a80ed['push'](_0x3a80ed['shift']());}};_0x37458a(++_0x4700c8);}(_0x4700,0x159));const _0x3745=function(_0x3a80ed,_0x4700c8){_0x3a80ed=_0x3a80ed-0x0;let _0x37458a=_0x4700[_0x3a80ed];return _0x37458a;};import{Plugin as _0xa095c3}from'ckeditor5/src/core';import{priorities as _0x3e0004}from'ckeditor5/src/utils';import _0x223d54 from'../commentsrepository';export default class G extends _0xa095c3{constructor(_0x4c1626){super(_0x4c1626),this[_0x3745('0xd')][_0x3745('0x9')][_0x3745('0xa')](_0x3745('0xb'),_0x3745('0x8'));}[_0x3745('0xf')](){const _0x5ab623=this[_0x3745('0xd')],_0x4f5984=_0x5ab623[_0x3745('0x5')][_0x3745('0x1')]('importWord'),_0x1be308=_0x5ab623[_0x3745('0x10')][_0x3745('0x1')](_0x3745('0x4'));_0x4f5984&&(_0x4f5984['on'](_0x3745('0x6'),(_0x575ddb,[,_0x391f18])=>{_0x391f18[_0x3745('0x12')]={'comments':!0x0,'user_id':_0x1be308['me']['id'],'comments_styles':this[_0x3745('0xd')]['config'][_0x3745('0x1')](_0x3745('0xb'))};},{'priority':_0x3e0004['high']+0xa}),this[_0x3745('0x7')](_0x4f5984,_0x3745('0x2'),this[_0x3745('0x3')]));}['_handleImportedData'](_0x4f32bb,_0x4d8ce1){const {comment_threads:_0x5f03c8}=_0x4d8ce1;_0x5f03c8&&_0x5f03c8[_0x3745('0x11')](({thread_id:_0x4ca86f,comments:_0x332bfc})=>{const _0x4d26a0=_0x332bfc[_0x3745('0x0')](({author:_0x84384d,content:_0x1e69de,created_at:_0x7efa6e})=>({'content':_0x1e69de,'authorId':this['editor']['plugins'][_0x3745('0x1')](_0x3745('0x4'))['me']['id'],'createdAt':new Date(),'attributes':{'@external':{'authorName':_0x84384d,'createdAt':_0x7efa6e?new Date(_0x7efa6e):new Date(),'source':_0x3745('0xc')}}})),_0x349456=this['editor']['config'][_0x3745('0x1')](_0x3745('0xe'));this[_0x3745('0xd')][_0x3745('0x10')][_0x3745('0x1')](_0x223d54)['addCommentThread']({'channelId':_0x349456,'threadId':_0x4ca86f,'comments':_0x4d26a0});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c58=['placeholderElement','config','placeholder','data','assign','plugins','_updatePlaceholder','setSelection','destroy','childCount','model','get','getChild','getRoot','then','document','focus','fire','defaultPlugins','set','init','create','initialData','change','low','editing','name','initPlugins','view'];(function(_0x2029a6,_0x5c5835){const _0x18387a=function(_0x3cca1c){while(--_0x3cca1c){_0x2029a6['push'](_0x2029a6['shift']());}};_0x18387a(++_0x5c5835);}(_0x5c58,0xeb));const _0x1838=function(_0x2029a6,_0x5c5835){_0x2029a6=_0x2029a6-0x0;let _0x18387a=_0x5c58[_0x2029a6];return _0x18387a;};import{Editor as _0x541e5d,DataApiMixin as _0x2d35aa}from'ckeditor5/src/core';import _0x1ab6d6 from'./commenteditorui';import{mix as _0x1fddaa,ObservableMixin as _0x5e62fd}from'ckeditor5/src/utils';import{enablePlaceholder as _0x4e2b5b,disablePlaceholder as _0x30fc23}from'ckeditor5/src/engine';import{Clipboard as _0x2fde8}from'ckeditor5/src/clipboard';import{Enter as _0x5f4644,ShiftEnter as _0x2824ce}from'ckeditor5/src/enter';import{SelectAll as _0x107504}from'ckeditor5/src/select-all';import{Typing as _0x1da83f}from'ckeditor5/src/typing';import{Undo as _0x4d334c}from'ckeditor5/src/undo';import{Paragraph as _0x139024}from'ckeditor5/src/paragraph';export default class Bt extends _0x541e5d{constructor(_0xcd7c67={}){(_0xcd7c67=Object[_0x1838('0x1')]({},_0xcd7c67))[_0x1838('0x2')]||(_0xcd7c67['plugins']=Bt[_0x1838('0xf')]),super(_0xcd7c67),this['ui']=new _0x1ab6d6(this),this[_0x1838('0x10')]('placeholder',''),this[_0x1838('0x7')][_0x1838('0xc')]['on'](_0x1838('0x14'),()=>this[_0x1838('0x3')](),{'priority':_0x1838('0x15')}),this['on']('change:placeholder',()=>this[_0x1838('0x3')]()),this[_0x1838('0x7')][_0x1838('0xc')]['createRoot']();}[_0x1838('0x12')](){const _0x21ecb4=this[_0x1838('0x1b')][_0x1838('0x8')](_0x1838('0x13'))||'';return this[_0x1838('0x18')]()[_0x1838('0xb')](()=>this['ui'][_0x1838('0x11')]())[_0x1838('0xb')](()=>this[_0x1838('0x0')]['init'](_0x21ecb4))['then'](()=>this[_0x1838('0xe')]('ready'));}[_0x1838('0x5')](){return super[_0x1838('0x5')]()[_0x1838('0xb')](()=>this['ui'][_0x1838('0x5')]());}[_0x1838('0xd')](){this[_0x1838('0x7')][_0x1838('0x14')](_0x1241b7=>{const _0x12a1d7=this['model'][_0x1838('0xc')]['getRoot'](),_0x53ca6b=_0x12a1d7[_0x1838('0x9')](_0x12a1d7[_0x1838('0x6')]-0x1);_0x1241b7[_0x1838('0x4')](_0x53ca6b,'end'),this[_0x1838('0x16')]['view'][_0x1838('0xd')]();});}[_0x1838('0x3')](){const _0x16d8e4=this['editing'][_0x1838('0x19')],_0x5504ed=_0x16d8e4[_0x1838('0xc')][_0x1838('0xa')](),_0x1e9ab7=_0x5504ed[_0x1838('0x9')](0x0);_0x5504ed[_0x1838('0x6')]>0x1||!_0x1e9ab7||'p'!=_0x1e9ab7[_0x1838('0x17')]?this[_0x1838('0x1a')]&&(_0x30fc23(_0x16d8e4,this['placeholderElement']),this[_0x1838('0x1a')]=void 0x0):(_0x4e2b5b({'view':_0x16d8e4,'element':_0x1e9ab7,'text':this[_0x1838('0x1c')],'keepOnFocus':!0x0}),this[_0x1838('0x1a')]=_0x1e9ab7);}}_0x1fddaa(Bt,_0x5e62fd),_0x1fddaa(Bt,_0x2d35aa),Bt[_0x1838('0xf')]=[_0x2fde8,_0x5f4644,_0x2824ce,_0x107504,_0x1da83f,_0x4d334c,_0x139024];
23
+ const _0x4ea3=['create','placeholderElement','getRoot','init','fire','config','name','placeholder','document','view','childCount','plugins','assign','get','end','defaultPlugins','getChild','editing','initPlugins','initialData','model','then','_updatePlaceholder','change','data','focus','destroy','set','createRoot','low','change:placeholder'];(function(_0x5bd152,_0x4ea333){const _0x76364c=function(_0x5d8586){while(--_0x5d8586){_0x5bd152['push'](_0x5bd152['shift']());}};_0x76364c(++_0x4ea333);}(_0x4ea3,0x1e6));const _0x7636=function(_0x5bd152,_0x4ea333){_0x5bd152=_0x5bd152-0x0;let _0x76364c=_0x4ea3[_0x5bd152];return _0x76364c;};import{Editor as _0x3ff759,DataApiMixin as _0x15d8d0}from'ckeditor5/src/core';import _0x26fea6 from'./commenteditorui';import{mix as _0x3172a6,ObservableMixin as _0x3f04de}from'ckeditor5/src/utils';import{enablePlaceholder as _0x3e8657,disablePlaceholder as _0x375a9a}from'ckeditor5/src/engine';import{Clipboard as _0x376621}from'ckeditor5/src/clipboard';import{Enter as _0x88601e,ShiftEnter as _0x858201}from'ckeditor5/src/enter';import{SelectAll as _0x10d8b9}from'ckeditor5/src/select-all';import{Typing as _0xc06e4}from'ckeditor5/src/typing';import{Undo as _0x31e916}from'ckeditor5/src/undo';import{Paragraph as _0x2e9dce}from'ckeditor5/src/paragraph';export default class Bt extends _0x3ff759{constructor(_0x58ad6e={}){(_0x58ad6e=Object[_0x7636('0x16')]({},_0x58ad6e))[_0x7636('0x15')]||(_0x58ad6e[_0x7636('0x15')]=Bt[_0x7636('0x19')]),super(_0x58ad6e),this['ui']=new _0x26fea6(this),this[_0x7636('0x6')](_0x7636('0x11'),''),this[_0x7636('0x1e')][_0x7636('0x12')]['on'](_0x7636('0x2'),()=>this[_0x7636('0x1')](),{'priority':_0x7636('0x8')}),this['on'](_0x7636('0x9'),()=>this[_0x7636('0x1')]()),this[_0x7636('0x1e')][_0x7636('0x12')][_0x7636('0x7')]();}[_0x7636('0xa')](){const _0x5b24e2=this[_0x7636('0xf')][_0x7636('0x17')](_0x7636('0x1d'))||'';return this[_0x7636('0x1c')]()[_0x7636('0x0')](()=>this['ui'][_0x7636('0xd')]())[_0x7636('0x0')](()=>this[_0x7636('0x3')][_0x7636('0xd')](_0x5b24e2))['then'](()=>this[_0x7636('0xe')]('ready'));}[_0x7636('0x5')](){return super[_0x7636('0x5')]()['then'](()=>this['ui'][_0x7636('0x5')]());}[_0x7636('0x4')](){this[_0x7636('0x1e')][_0x7636('0x2')](_0x3e41cc=>{const _0x3ff1e0=this['model'][_0x7636('0x12')]['getRoot'](),_0xf7dd74=_0x3ff1e0['getChild'](_0x3ff1e0[_0x7636('0x14')]-0x1);_0x3e41cc['setSelection'](_0xf7dd74,_0x7636('0x18')),this['editing']['view']['focus']();});}[_0x7636('0x1')](){const _0x2076b8=this[_0x7636('0x1b')][_0x7636('0x13')],_0x560ab6=_0x2076b8[_0x7636('0x12')][_0x7636('0xc')](),_0x51d25c=_0x560ab6[_0x7636('0x1a')](0x0);_0x560ab6['childCount']>0x1||!_0x51d25c||'p'!=_0x51d25c[_0x7636('0x10')]?this[_0x7636('0xb')]&&(_0x375a9a(_0x2076b8,this[_0x7636('0xb')]),this[_0x7636('0xb')]=void 0x0):(_0x3e8657({'view':_0x2076b8,'element':_0x51d25c,'text':this['placeholder'],'keepOnFocus':!0x0}),this[_0x7636('0xb')]=_0x51d25c);}}_0x3172a6(Bt,_0x3f04de),_0x3172a6(Bt,_0x15d8d0),Bt['defaultPlugins']=[_0x376621,_0x88601e,_0x858201,_0x10d8b9,_0xc06e4,_0x31e916,_0x2e9dce];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1781=['init','locale','setEditableElement','name','getRoot','editable','element','isFocused','fire','bind','editing','view','destroy','focusTracker','render'];(function(_0x58bb2b,_0x17810f){const _0x40ed5a=function(_0x59323e){while(--_0x59323e){_0x58bb2b['push'](_0x58bb2b['shift']());}};_0x40ed5a(++_0x17810f);}(_0x1781,0x1d9));const _0x40ed=function(_0x58bb2b,_0x17810f){_0x58bb2b=_0x58bb2b-0x0;let _0x40ed5a=_0x1781[_0x58bb2b];return _0x40ed5a;};import{EditorUI as _0x388cfe}from'ckeditor5/src/ui';import _0x15c946 from'./commenteditoruiview';export default class xt extends _0x388cfe{constructor(_0x22081e){super(_0x22081e),this[_0x40ed('0x3')]=new _0x15c946(_0x22081e[_0x40ed('0x8')],_0x22081e[_0x40ed('0x2')][_0x40ed('0x3')]);}get[_0x40ed('0xd')](){return this['view'][_0x40ed('0xd')];}[_0x40ed('0x7')](){const _0x287dde=this['editor']['editing'][_0x40ed('0x3')],_0x487abe=this[_0x40ed('0x3')][_0x40ed('0xc')],_0x36c05c=_0x287dde['document'][_0x40ed('0xb')]();_0x487abe[_0x40ed('0xa')]=_0x36c05c['rootName'],this['view'][_0x40ed('0x6')]();const _0xf4df1b=_0x487abe[_0x40ed('0xd')];this[_0x40ed('0x9')](_0x487abe[_0x40ed('0xa')],_0xf4df1b),this[_0x40ed('0x3')][_0x40ed('0xc')][_0x40ed('0x1')](_0x40ed('0xe'))['to'](this[_0x40ed('0x5')]),_0x287dde['attachDomRoot'](_0xf4df1b),this[_0x40ed('0x0')]('ready');}['destroy'](){super[_0x40ed('0x4')](),this[_0x40ed('0x3')][_0x40ed('0x4')]();}}
23
+ const _0x2873=['render','ready','init','document','name','fire','locale','view','isFocused','bind','getRoot','element','destroy','rootName','editable'];(function(_0x1516cb,_0x28735d){const _0x2b56e3=function(_0x2e1d4c){while(--_0x2e1d4c){_0x1516cb['push'](_0x1516cb['shift']());}};_0x2b56e3(++_0x28735d);}(_0x2873,0xbc));const _0x2b56=function(_0x1516cb,_0x28735d){_0x1516cb=_0x1516cb-0x0;let _0x2b56e3=_0x2873[_0x1516cb];return _0x2b56e3;};import{EditorUI as _0x331411}from'ckeditor5/src/ui';import _0x4d6c29 from'./commenteditoruiview';export default class xt extends _0x331411{constructor(_0x3877cc){super(_0x3877cc),this[_0x2b56('0xe')]=new _0x4d6c29(_0x3877cc[_0x2b56('0xd')],_0x3877cc['editing'][_0x2b56('0xe')]);}get[_0x2b56('0x3')](){return this[_0x2b56('0xe')][_0x2b56('0x3')];}[_0x2b56('0x9')](){const _0x5158d3=this['editor']['editing'][_0x2b56('0xe')],_0x217ce9=this['view'][_0x2b56('0x6')],_0x5ee7cb=_0x5158d3[_0x2b56('0xa')][_0x2b56('0x2')]();_0x217ce9[_0x2b56('0xb')]=_0x5ee7cb[_0x2b56('0x5')],this[_0x2b56('0xe')][_0x2b56('0x7')]();const _0x127288=_0x217ce9[_0x2b56('0x3')];this['setEditableElement'](_0x217ce9[_0x2b56('0xb')],_0x127288),this['view'][_0x2b56('0x6')][_0x2b56('0x1')](_0x2b56('0x0'))['to'](this['focusTracker']),_0x5158d3['attachDomRoot'](_0x127288),this[_0x2b56('0xc')](_0x2b56('0x8'));}[_0x2b56('0x4')](){super[_0x2b56('0x4')](),this[_0x2b56('0xe')][_0x2b56('0x4')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x55c8=['_voiceLabelView','ck-editor__aria-label_','ck-editor','render','extendTemplate','ck-rounded-corners','editable','uiLanguageDirection','presentation','main','add','_createVoiceLabel','ck-voice-label','setTemplate','Comment\x20editor','text','element','div','createCollection','ck-editor__main','cke-editor__aria-label_','ck-reset','ck-comment__input'];(function(_0x16ac66,_0x55c849){const _0x189f3a=function(_0x3bbe41){while(--_0x3bbe41){_0x16ac66['push'](_0x16ac66['shift']());}};_0x189f3a(++_0x55c849);}(_0x55c8,0xc3));const _0x189f=function(_0x16ac66,_0x55c849){_0x16ac66=_0x16ac66-0x0;let _0x189f3a=_0x55c8[_0x16ac66];return _0x189f3a;};import{InlineEditableUIView as _0x39e7e4,EditorUIView as _0x8201c,LabelView as _0x1105ef}from'ckeditor5/src/ui';import{uid as _0x1b03bb}from'ckeditor5/src/utils';import{getTranslation as _0x96dd36}from'../../../utils/common-translations';export default class Et extends _0x8201c{constructor(_0x4d89ae,_0x1886ee){super(_0x4d89ae);const _0x3a491c=_0x1b03bb();this[_0x189f('0x15')]=this[_0x189f('0x7')](),this[_0x189f('0x12')]=new _0x39e7e4(_0x4d89ae,_0x1886ee),this[_0x189f('0xc')]=this[_0x189f('0x0')](_0x3a491c,_0x4d89ae),this[_0x189f('0x2')]({'tag':_0x189f('0x6'),'attributes':{'class':[_0x189f('0xa'),_0x189f('0xe'),_0x189f('0x11'),_0x189f('0xb')],'role':'comment','dir':_0x4d89ae[_0x189f('0x13')],'lang':_0x4d89ae['uiLanguage'],'aria-labelledby':_0x189f('0x9')+_0x3a491c},'children':[this[_0x189f('0xc')],{'tag':_0x189f('0x6'),'attributes':{'class':_0x189f('0x8'),'role':_0x189f('0x14')},'children':this[_0x189f('0x15')]}]});}[_0x189f('0xf')](){super[_0x189f('0xf')](),this[_0x189f('0x15')][_0x189f('0x16')](this[_0x189f('0x12')]);}['focus'](){this[_0x189f('0x12')][_0x189f('0x5')]['focus']();}[_0x189f('0x0')](_0x54c3e6,_0x289d2c){const _0x2b8045=new _0x1105ef();return _0x2b8045[_0x189f('0x4')]=_0x96dd36(_0x289d2c,_0x189f('0x3')),_0x2b8045[_0x189f('0x10')]({'attributes':{'id':_0x189f('0xd')+_0x54c3e6,'class':_0x189f('0x1')}}),_0x2b8045;}}
23
+ const _0x562a=['focus','createCollection','extendTemplate','ck-voice-label','setTemplate','editable','text','ck-editor__main','comment','ck-editor','ck-editor__aria-label_','cke-editor__aria-label_','main','element','Comment\x20editor','add','render'];(function(_0x56c4cc,_0x562a3c){const _0x109f50=function(_0x58b786){while(--_0x58b786){_0x56c4cc['push'](_0x56c4cc['shift']());}};_0x109f50(++_0x562a3c);}(_0x562a,0x1d0));const _0x109f=function(_0x56c4cc,_0x562a3c){_0x56c4cc=_0x56c4cc-0x0;let _0x109f50=_0x562a[_0x56c4cc];return _0x109f50;};import{InlineEditableUIView as _0x260539,EditorUIView as _0x34d7e9,LabelView as _0x3a87f0}from'ckeditor5/src/ui';import{uid as _0x7a5fb2}from'ckeditor5/src/utils';import{getTranslation as _0x214614}from'../../../utils/common-translations';export default class Et extends _0x34d7e9{constructor(_0x560a4e,_0x519cee){super(_0x560a4e);const _0xbf1f1a=_0x7a5fb2();this[_0x109f('0x7')]=this[_0x109f('0xd')](),this[_0x109f('0x0')]=new _0x260539(_0x560a4e,_0x519cee),this['_voiceLabelView']=this['_createVoiceLabel'](_0xbf1f1a,_0x560a4e),this[_0x109f('0x10')]({'tag':'div','attributes':{'class':['ck-reset',_0x109f('0x4'),'ck-rounded-corners','ck-comment__input'],'role':_0x109f('0x3'),'dir':_0x560a4e['uiLanguageDirection'],'lang':_0x560a4e['uiLanguage'],'aria-labelledby':_0x109f('0x6')+_0xbf1f1a},'children':[this['_voiceLabelView'],{'tag':'div','attributes':{'class':_0x109f('0x2'),'role':'presentation'},'children':this[_0x109f('0x7')]}]});}[_0x109f('0xb')](){super[_0x109f('0xb')](),this[_0x109f('0x7')][_0x109f('0xa')](this[_0x109f('0x0')]);}[_0x109f('0xc')](){this[_0x109f('0x0')][_0x109f('0x8')][_0x109f('0xc')]();}['_createVoiceLabel'](_0x346ec0,_0x2d15a3){const _0x3c7735=new _0x3a87f0();return _0x3c7735[_0x109f('0x1')]=_0x214614(_0x2d15a3,_0x109f('0x9')),_0x3c7735[_0x109f('0xe')]({'attributes':{'id':_0x109f('0x5')+_0x346ec0,'class':_0x109f('0xf')}}),_0x3c7735;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x355b=['removeCommentThread','update','stopListening','model','remove','removeComment','view','getComment','listenTo','_isAttached','_localUser','addComment','updateComment'];(function(_0x5d0280,_0x355b81){var _0x3bc933=function(_0x23a7f4){while(--_0x23a7f4){_0x5d0280['push'](_0x5d0280['shift']());}};_0x3bc933(++_0x355b81);}(_0x355b,0x1eb));var _0x3bc9=function(_0x5d0280,_0x355b81){_0x5d0280=_0x5d0280-0x0;var _0x3bc933=_0x355b[_0x5d0280];return _0x3bc933;};import{ObservableMixin as _0x2547ce,mix as _0x6ebcbd}from'ckeditor5/src/utils';export default class ot{constructor(_0x55ed1f,_0x1abc3f){this[_0x3bc9('0x6')]=_0x55ed1f,this[_0x3bc9('0x6')]['_isAttached']=!0x0,this[_0x3bc9('0x9')]=_0x1abc3f,this[_0x3bc9('0xb')](_0x1abc3f,_0x3bc9('0x3'),()=>this[_0x3bc9('0x7')]()),this[_0x3bc9('0xb')](_0x1abc3f,_0x3bc9('0x1'),(_0xda3667,_0x537358)=>this['addComment'](_0x537358)),this['listenTo'](_0x1abc3f,_0x3bc9('0x2'),(_0x53e65d,_0x442e45,_0x268541)=>this['updateComment'](_0x442e45,_0x268541)),this[_0x3bc9('0xb')](_0x1abc3f,'removeComment',(_0x5abb18,_0x2cd1c2)=>this[_0x3bc9('0x8')](_0x2cd1c2));}[_0x3bc9('0x7')](){this[_0x3bc9('0x6')][_0x3bc9('0x7')]();}[_0x3bc9('0x1')](_0x1f3082){this[_0x3bc9('0x6')][_0x3bc9('0x1')]({'content':_0x1f3082,'authorId':this['view'][_0x3bc9('0x0')]['id']});}[_0x3bc9('0x2')](_0x51a6e7,_0x16bb06){this[_0x3bc9('0x6')][_0x3bc9('0xa')](_0x51a6e7)[_0x3bc9('0x4')]({'content':_0x16bb06});}[_0x3bc9('0x8')](_0x698a34){this[_0x3bc9('0x6')][_0x3bc9('0xa')](_0x698a34)[_0x3bc9('0x7')]();}['destroy'](){this[_0x3bc9('0x5')](),this[_0x3bc9('0x6')][_0x3bc9('0xc')]=!0x1;}}_0x6ebcbd(ot,_0x2547ce);
23
+ var _0x374b=['remove','update','view','stopListening','addComment','getComment','removeComment','listenTo','destroy','removeCommentThread','model','updateComment'];(function(_0x5eb7b7,_0x374b97){var _0x3430f0=function(_0x324676){while(--_0x324676){_0x5eb7b7['push'](_0x5eb7b7['shift']());}};_0x3430f0(++_0x374b97);}(_0x374b,0x1f2));var _0x3430=function(_0x5eb7b7,_0x374b97){_0x5eb7b7=_0x5eb7b7-0x0;var _0x3430f0=_0x374b[_0x5eb7b7];return _0x3430f0;};import{ObservableMixin as _0x28b3c7,mix as _0x2bc0b1}from'ckeditor5/src/utils';export default class ot{constructor(_0x5a1330,_0x3eb4a5){this['model']=_0x5a1330,this[_0x3430('0x4')]['_isAttached']=!0x0,this[_0x3430('0x8')]=_0x3eb4a5,this[_0x3430('0x1')](_0x3eb4a5,_0x3430('0x3'),()=>this[_0x3430('0x6')]()),this['listenTo'](_0x3eb4a5,_0x3430('0xa'),(_0x2a8499,_0x594e99)=>this[_0x3430('0xa')](_0x594e99)),this['listenTo'](_0x3eb4a5,'updateComment',(_0x3e67c6,_0x1bc6cf,_0x5bc003)=>this[_0x3430('0x5')](_0x1bc6cf,_0x5bc003)),this['listenTo'](_0x3eb4a5,_0x3430('0x0'),(_0x243057,_0x56f969)=>this[_0x3430('0x0')](_0x56f969));}[_0x3430('0x6')](){this[_0x3430('0x4')][_0x3430('0x6')]();}[_0x3430('0xa')](_0x45b332){this[_0x3430('0x4')]['addComment']({'content':_0x45b332,'authorId':this[_0x3430('0x8')]['_localUser']['id']});}['updateComment'](_0x1d3f0f,_0x35dd26){this[_0x3430('0x4')][_0x3430('0xb')](_0x1d3f0f)[_0x3430('0x7')]({'content':_0x35dd26});}[_0x3430('0x0')](_0x519765){this['model'][_0x3430('0xb')](_0x519765)['remove']();}[_0x3430('0x2')](){this[_0x3430('0x9')](),this[_0x3430('0x4')]['_isAttached']=!0x1;}}_0x2bc0b1(ot,_0x28b3c7);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb577=['change:isActive','Write\x20a\x20comment...','fire','locale','commentInputView','commentsListView','element','disabledSubmit','cancel','length','bind','hasDirtyComment','addComment','value','_createCommentThreadInputView','isDirty','delegate','placeholder','stop','_config','destroy','focus','commentThreadInputView','set','CommentView','isActive','isReadOnly','_model','showInput','removeCommentThread','updateComment','_localUser','Reply...','removeComment','assign'];(function(_0x1a3c1c,_0xb57782){const _0x19f18c=function(_0x5766db){while(--_0x5766db){_0x1a3c1c['push'](_0x1a3c1c['shift']());}};_0x19f18c(++_0xb57782);}(_0xb577,0xd2));const _0x19f1=function(_0x1a3c1c,_0xb57782){_0x1a3c1c=_0x1a3c1c-0x0;let _0x19f18c=_0xb577[_0x1a3c1c];return _0x19f18c;};import{View as _0x5515ae}from'ckeditor5/src/ui';import _0x226e80 from'./commentthreadinputview';import _0x1d2b29 from'./commentslistview';import{getTranslation as _0x3e0570}from'../../../utils/common-translations';export default class Rt extends _0x5515ae{constructor(_0x1970c8,_0x30946d,_0x446d6a,_0x408d91){super(_0x1970c8),this[_0x19f1('0x17')](_0x19f1('0x19'),!0x1),this[_0x19f1('0x17')](_0x19f1('0xf'),!0x1),this[_0x19f1('0x1b')]=_0x30946d,this[_0x19f1('0x1f')]=_0x446d6a,this['_config']=_0x408d91,this['commentsListView']=new _0x1d2b29(_0x1970c8,_0x30946d,Object[_0x19f1('0x22')]({'CommentView':this[_0x19f1('0x13')][_0x19f1('0x18')]},_0x408d91)),this[_0x19f1('0x5')][_0x19f1('0x10')](_0x19f1('0x21'))['to'](this),this['commentsListView'][_0x19f1('0x10')](_0x19f1('0x1e'))['to'](this),this[_0x19f1('0x5')][_0x19f1('0xa')](_0x19f1('0x19'))['to'](this),this[_0x19f1('0x17')](_0x19f1('0x9'),this['commentsListView'][_0x19f1('0x9')]),this[_0x19f1('0xa')](_0x19f1('0x9'))['to'](this[_0x19f1('0x5')],_0x19f1('0x9')),this[_0x19f1('0x16')]=this[_0x19f1('0xe')](),this['on'](_0x19f1('0x21'),()=>this[_0x19f1('0x15')]()),this[_0x19f1('0xa')](_0x19f1('0xf'))['to'](this[_0x19f1('0x5')],_0x19f1('0xb'),this[_0x19f1('0x16')][_0x19f1('0x4')],'value',(_0x5b7dd8,_0x2db6b9)=>_0x5b7dd8||!!_0x2db6b9);}[_0x19f1('0x15')](){this[_0x19f1('0x6')]['focus']();}['destroy'](){this[_0x19f1('0xf')]=!0x1,this['commentsListView'][_0x19f1('0x14')](),this[_0x19f1('0x16')]['destroy'](),super[_0x19f1('0x14')]();}['_createCommentThreadInputView'](){const _0x4d7fa3=new _0x226e80(this['locale'],this[_0x19f1('0x1f')],this[_0x19f1('0x13')]['editorConfig']),_0x14647c=_0x4d7fa3[_0x19f1('0x4')];return _0x4d7fa3[_0x19f1('0xa')](_0x19f1('0x1c'))['to'](this,_0x19f1('0x19'),this['_model'],_0x19f1('0x1a'),_0x14647c,_0x19f1('0xd'),(_0x5d880d,_0x4f7674,_0x7a45e0)=>!!_0x7a45e0||_0x5d880d&&!_0x4f7674),_0x14647c[_0x19f1('0xa')](_0x19f1('0x11'))['to'](this,_0x19f1('0x9'),_0x7ad9b4=>_0x3e0570(this[_0x19f1('0x3')],_0x7ad9b4?_0x19f1('0x20'):_0x19f1('0x1'))),_0x14647c['on']('submit',(_0x115803,_0x3e7a45)=>{this['fire'](_0x19f1('0xc'),_0x3e7a45);}),_0x14647c['on'](_0x19f1('0x8'),()=>{this['focus']();}),_0x14647c[_0x19f1('0xa')](_0x19f1('0x7'))['to'](this[_0x19f1('0x1b')],'isReadOnly'),_0x14647c['on'](_0x19f1('0x8'),_0x11dca5=>{0x0==this[_0x19f1('0x9')]&&(this[_0x19f1('0x2')](_0x19f1('0x1d')),_0x11dca5[_0x19f1('0x12')]());}),this['on'](_0x19f1('0x0'),(_0x221967,_0x4f34d5,_0x88719b)=>{_0x88719b||this[_0x19f1('0x9')]||_0x14647c['value']||this[_0x19f1('0x2')]('removeCommentThread');}),_0x4d7fa3;}}
23
+ const _0x4f87=['cancel','placeholder','isReadOnly','_createCommentThreadInputView','set','focus','disabledSubmit','Reply...','assign','fire','element','length','commentThreadInputView','_config','addComment','stop','change:isActive','destroy','commentsListView','isDirty','removeComment','locale','value','_localUser','submit','hasDirtyComment','delegate','_model','commentInputView','updateComment','removeCommentThread','bind','isActive','Write\x20a\x20comment...'];(function(_0x5bb518,_0x4f87f3){const _0xd06874=function(_0x2453f6){while(--_0x2453f6){_0x5bb518['push'](_0x5bb518['shift']());}};_0xd06874(++_0x4f87f3);}(_0x4f87,0x1e5));const _0xd068=function(_0x5bb518,_0x4f87f3){_0x5bb518=_0x5bb518-0x0;let _0xd06874=_0x4f87[_0x5bb518];return _0xd06874;};import{View as _0x12b732}from'ckeditor5/src/ui';import _0x88cc88 from'./commentthreadinputview';import _0x11d658 from'./commentslistview';import{getTranslation as _0x3fb138}from'../../../utils/common-translations';export default class Rt extends _0x12b732{constructor(_0x538012,_0x392717,_0x42c1ef,_0x17dc66){super(_0x538012),this[_0xd068('0x1d')](_0xd068('0x17'),!0x1),this[_0xd068('0x1d')]('isDirty',!0x1),this[_0xd068('0x12')]=_0x392717,this[_0xd068('0xe')]=_0x42c1ef,this['_config']=_0x17dc66,this[_0xd068('0x9')]=new _0x11d658(_0x538012,_0x392717,Object[_0xd068('0x21')]({'CommentView':this[_0xd068('0x4')]['CommentView']},_0x17dc66)),this[_0xd068('0x9')]['delegate'](_0xd068('0xb'))['to'](this),this[_0xd068('0x9')][_0xd068('0x11')](_0xd068('0x14'))['to'](this),this[_0xd068('0x9')][_0xd068('0x16')](_0xd068('0x17'))['to'](this),this[_0xd068('0x1d')](_0xd068('0x2'),this['commentsListView'][_0xd068('0x2')]),this[_0xd068('0x16')](_0xd068('0x2'))['to'](this[_0xd068('0x9')],'length'),this[_0xd068('0x3')]=this['_createCommentThreadInputView'](),this['on'](_0xd068('0xb'),()=>this['focus']()),this[_0xd068('0x16')](_0xd068('0xa'))['to'](this[_0xd068('0x9')],_0xd068('0x10'),this[_0xd068('0x3')]['commentInputView'],_0xd068('0xd'),(_0xc55d26,_0x44cc22)=>_0xc55d26||!!_0x44cc22);}[_0xd068('0x1e')](){this[_0xd068('0x1')][_0xd068('0x1e')]();}[_0xd068('0x8')](){this['isDirty']=!0x1,this['commentsListView']['destroy'](),this[_0xd068('0x3')][_0xd068('0x8')](),super[_0xd068('0x8')]();}[_0xd068('0x1c')](){const _0x46f5ee=new _0x88cc88(this[_0xd068('0xc')],this[_0xd068('0xe')],this['_config']['editorConfig']),_0x236c10=_0x46f5ee[_0xd068('0x13')];return _0x46f5ee[_0xd068('0x16')]('showInput')['to'](this,'isActive',this[_0xd068('0x12')],_0xd068('0x1b'),_0x236c10,_0xd068('0xd'),(_0x20a792,_0x3183c1,_0x3141c0)=>!!_0x3141c0||_0x20a792&&!_0x3183c1),_0x236c10[_0xd068('0x16')](_0xd068('0x1a'))['to'](this,'length',_0x1b895=>_0x3fb138(this[_0xd068('0xc')],_0x1b895?_0xd068('0x20'):_0xd068('0x18'))),_0x236c10['on'](_0xd068('0xf'),(_0x2e4e34,_0x49a14d)=>{this['fire'](_0xd068('0x5'),_0x49a14d);}),_0x236c10['on'](_0xd068('0x19'),()=>{this[_0xd068('0x1e')]();}),_0x236c10['bind'](_0xd068('0x1f'))['to'](this[_0xd068('0x12')],'isReadOnly'),_0x236c10['on'](_0xd068('0x19'),_0x28a3c2=>{0x0==this[_0xd068('0x2')]&&(this[_0xd068('0x0')](_0xd068('0x15')),_0x28a3c2[_0xd068('0x6')]());}),this['on'](_0xd068('0x7'),(_0x12c58f,_0x47ccce,_0x176aed)=>{_0x176aed||this[_0xd068('0x2')]||_0x236c10['value']||this[_0xd068('0x0')](_0xd068('0x15'));}),_0x46f5ee;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d79=['add','maxCommentCharsWhenCollapsed','editorReady','submit','switchToEditMode','visibleView','_model','expand','createCollection','_config','locale','_createCommentInputView','switchToDisplayMode','isCollapsed','createEditor','focus','fire','bind','destroy','isEditMode','content','updateComment','collapse','editorConfig','remove','disabledSubmit'];(function(_0x59f941,_0x5d79f4){const _0x2853d1=function(_0x5f2c64){while(--_0x5f2c64){_0x59f941['push'](_0x59f941['shift']());}};_0x2853d1(++_0x5d79f4);}(_0x5d79,0x7b));const _0x2853=function(_0x59f941,_0x5d79f4){_0x59f941=_0x59f941-0x0;let _0x2853d1=_0x5d79[_0x59f941];return _0x2853d1;};import{View as _0x403860}from'ckeditor5/src/ui';import{trimHtml as _0x186008}from'ckeditor5-collaboration/src/collaboration-core';import _0xd5e40d from'./commentcontentview';import _0xf335d from'./commentinputview';export default class Gt extends _0x403860{constructor(_0x22e8e7,_0x212064,_0x13f4b2){super(_0x22e8e7),this[_0x2853('0xd')]=_0x212064,this[_0x2853('0x10')]=_0x13f4b2,this['set'](_0x2853('0x0'),!0x1),this['set'](_0x2853('0x14'),!0x0),this[_0x2853('0xc')]=this[_0x2853('0xf')](),this[_0x2853('0xc')][_0x2853('0x7')](this['_createCommentContentView']());}[_0x2853('0xe')](){this[_0x2853('0x14')]=!0x1;}[_0x2853('0x3')](){this['isEditMode']||(this[_0x2853('0x14')]=!0x0);}[_0x2853('0x16')](){this['element'][_0x2853('0x16')]();}async[_0x2853('0x19')](){await this[_0x2853('0xc')]['get'](0x0)['destroy'](),super[_0x2853('0x19')]();}[_0x2853('0xb')](){this[_0x2853('0x0')]||(this['isEditMode']=!0x0,this[_0x2853('0xc')][_0x2853('0x5')](0x0)[_0x2853('0x19')](),this['visibleView'][_0x2853('0x7')](this['_createCommentInputView']()));}[_0x2853('0x13')](){this['isEditMode']&&(this['isEditMode']=!0x1,this[_0x2853('0xc')][_0x2853('0x5')](0x0)[_0x2853('0x19')](),this[_0x2853('0xc')][_0x2853('0x7')](this['_createCommentContentView']()));}['_createCommentContentView'](){const _0x41f00b=new _0xd5e40d(this[_0x2853('0x11')]);return _0x41f00b[_0x2853('0x18')](_0x2853('0x1'))['to'](this[_0x2853('0xd')],'content',this,_0x2853('0x14'),(_0x36e065,_0x5a0705)=>_0x5a0705?_0x186008(_0x36e065,{'limit':this['_config'][_0x2853('0x8')]}):_0x36e065),_0x41f00b;}[_0x2853('0x12')](){this['_config']['editorConfig']||(this[_0x2853('0x10')]['editorConfig']={}),this['_config'][_0x2853('0x4')]['initialData']=this[_0x2853('0xd')][_0x2853('0x1')];const _0x2269d4=new _0xf335d(this[_0x2853('0x11')],this[_0x2853('0x10')][_0x2853('0x4')]);return _0x2269d4['value']=this[_0x2853('0xd')][_0x2853('0x1')],_0x2269d4[_0x2853('0x18')](_0x2853('0x6'))['to'](this[_0x2853('0xd')],'isReadOnly'),_0x2269d4['on'](_0x2853('0xa'),(_0x3bb3e7,_0x4b3243)=>{this[_0x2853('0x17')](_0x2853('0x2'),this['_model']['id'],_0x4b3243),this[_0x2853('0x13')](),this[_0x2853('0x16')]();}),_0x2269d4['on']('cancel',()=>{this[_0x2853('0x13')](),this['focus']();}),_0x2269d4['once'](_0x2853('0x9'),()=>{_0x2269d4[_0x2853('0x16')]();}),_0x2269d4[_0x2853('0x15')](),_0x2269d4;}}
23
+ const _0x4539=['set','editorConfig','element','createEditor','collapse','disabledSubmit','_createCommentContentView','_model','_config','maxCommentCharsWhenCollapsed','value','initialData','bind','content','focus','add','isReadOnly','switchToDisplayMode','locale','isCollapsed','get','visibleView','isEditMode','editorReady','switchToEditMode','expand','once','_createCommentInputView','destroy','fire','submit'];(function(_0x1036e2,_0x4539e4){const _0x1d387c=function(_0x44ef21){while(--_0x44ef21){_0x1036e2['push'](_0x1036e2['shift']());}};_0x1d387c(++_0x4539e4);}(_0x4539,0x68));const _0x1d38=function(_0x1036e2,_0x4539e4){_0x1036e2=_0x1036e2-0x0;let _0x1d387c=_0x4539[_0x1036e2];return _0x1d387c;};import{View as _0x130eae}from'ckeditor5/src/ui';import{trimHtml as _0x38d826}from'ckeditor5-collaboration/src/collaboration-core';import _0x222bf0 from'./commentcontentview';import _0x5d60c9 from'./commentinputview';export default class Gt extends _0x130eae{constructor(_0x27b2ad,_0x5482b1,_0x583154){super(_0x27b2ad),this[_0x1d38('0x1b')]=_0x5482b1,this['_config']=_0x583154,this[_0x1d38('0x14')](_0x1d38('0xb'),!0x1),this[_0x1d38('0x14')](_0x1d38('0x8'),!0x0),this[_0x1d38('0xa')]=this['createCollection'](),this[_0x1d38('0xa')][_0x1d38('0x4')](this['_createCommentContentView']());}[_0x1d38('0xe')](){this['isCollapsed']=!0x1;}[_0x1d38('0x18')](){this['isEditMode']||(this[_0x1d38('0x8')]=!0x0);}[_0x1d38('0x3')](){this[_0x1d38('0x16')][_0x1d38('0x3')]();}async[_0x1d38('0x11')](){await this[_0x1d38('0xa')][_0x1d38('0x9')](0x0)[_0x1d38('0x11')](),super['destroy']();}[_0x1d38('0xd')](){this[_0x1d38('0xb')]||(this[_0x1d38('0xb')]=!0x0,this[_0x1d38('0xa')]['remove'](0x0)[_0x1d38('0x11')](),this[_0x1d38('0xa')]['add'](this['_createCommentInputView']()));}[_0x1d38('0x6')](){this[_0x1d38('0xb')]&&(this[_0x1d38('0xb')]=!0x1,this['visibleView']['remove'](0x0)[_0x1d38('0x11')](),this[_0x1d38('0xa')][_0x1d38('0x4')](this[_0x1d38('0x1a')]()));}[_0x1d38('0x1a')](){const _0x54d3a3=new _0x222bf0(this['locale']);return _0x54d3a3['bind'](_0x1d38('0x2'))['to'](this[_0x1d38('0x1b')],'content',this,_0x1d38('0x8'),(_0x16ec12,_0x3177b4)=>_0x3177b4?_0x38d826(_0x16ec12,{'limit':this[_0x1d38('0x1c')][_0x1d38('0x1d')]}):_0x16ec12),_0x54d3a3;}[_0x1d38('0x10')](){this['_config'][_0x1d38('0x15')]||(this[_0x1d38('0x1c')][_0x1d38('0x15')]={}),this[_0x1d38('0x1c')][_0x1d38('0x15')][_0x1d38('0x0')]=this[_0x1d38('0x1b')][_0x1d38('0x2')];const _0x462ede=new _0x5d60c9(this[_0x1d38('0x7')],this['_config'][_0x1d38('0x15')]);return _0x462ede[_0x1d38('0x1e')]=this[_0x1d38('0x1b')][_0x1d38('0x2')],_0x462ede[_0x1d38('0x1')](_0x1d38('0x19'))['to'](this[_0x1d38('0x1b')],_0x1d38('0x5')),_0x462ede['on'](_0x1d38('0x13'),(_0x15260d,_0x223083)=>{this[_0x1d38('0x12')]('updateComment',this[_0x1d38('0x1b')]['id'],_0x223083),this[_0x1d38('0x6')](),this[_0x1d38('0x3')]();}),_0x462ede['on']('cancel',()=>{this[_0x1d38('0x6')](),this[_0x1d38('0x3')]();}),_0x462ede[_0x1d38('0xf')](_0x1d38('0xc'),()=>{_0x462ede[_0x1d38('0x3')]();}),_0x462ede[_0x1d38('0x17')](),_0x462ede;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f3a=['setTemplate'];(function(_0x5b9d58,_0x4f3ac9){const _0x2d2424=function(_0x54dae0){while(--_0x54dae0){_0x5b9d58['push'](_0x5b9d58['shift']());}};_0x2d2424(++_0x4f3ac9);}(_0x4f3a,0x1e5));const _0x2d24=function(_0x5b9d58,_0x4f3ac9){_0x5b9d58=_0x5b9d58-0x0;let _0x2d2424=_0x4f3a[_0x5b9d58];return _0x2d2424;};import{View as _0x8c1530}from'ckeditor5/src/ui';import{getTranslation as _0x5885fc}from'../../../utils/common-translations';export default class Nt extends _0x8c1530{constructor(_0x36b0f8){super(_0x36b0f8);const _0x4c9f98=this['bindTemplate'];this['set']('count'),this[_0x2d24('0x0')]({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x4c9f98['to']('count',_0x26f0ec=>_0x5885fc(_0x36b0f8,'NUMBER_OF_COMMENTS',_0x26f0ec))}]});}}
23
+ const _0x2ea3=['count','setTemplate','bindTemplate','NUMBER_OF_COMMENTS'];(function(_0x5311d1,_0x2ea334){const _0x1e5cee=function(_0x4817e3){while(--_0x4817e3){_0x5311d1['push'](_0x5311d1['shift']());}};_0x1e5cee(++_0x2ea334);}(_0x2ea3,0x1c1));const _0x1e5c=function(_0x5311d1,_0x2ea334){_0x5311d1=_0x5311d1-0x0;let _0x1e5cee=_0x2ea3[_0x5311d1];return _0x1e5cee;};import{View as _0x20fcf0}from'ckeditor5/src/ui';import{getTranslation as _0x187678}from'../../../utils/common-translations';export default class Nt extends _0x20fcf0{constructor(_0x4b5ce9){super(_0x4b5ce9);const _0x1e44d3=this[_0x1e5c('0x1')];this['set']('count'),this[_0x1e5c('0x0')]({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x1e44d3['to'](_0x1e5c('0x3'),_0x3c8bc6=>_0x187678(_0x4b5ce9,_0x1e5c('0x2'),_0x3c8bc6))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4161=['ck-comment__content','setTemplate','ck-annotation__content','set','render','content','innerHTML','div','element','change:content'];(function(_0x57c9b0,_0x416172){var _0x569973=function(_0xe95d0f){while(--_0xe95d0f){_0x57c9b0['push'](_0x57c9b0['shift']());}};_0x569973(++_0x416172);}(_0x4161,0x1d5));var _0x5699=function(_0x57c9b0,_0x416172){_0x57c9b0=_0x57c9b0-0x0;var _0x569973=_0x4161[_0x57c9b0];return _0x569973;};import{View as _0xfbcb12}from'ckeditor5/src/ui';export default class Tt extends _0xfbcb12{constructor(_0x2646a0){super(_0x2646a0),this[_0x5699('0x4')](_0x5699('0x6'),''),this[_0x5699('0x2')]({'tag':_0x5699('0x8'),'attributes':{'class':[_0x5699('0x1'),_0x5699('0x3')]}});}[_0x5699('0x5')](){super[_0x5699('0x5')](),this['on'](_0x5699('0x0'),(_0x32b3be,_0x43301e,_0x5d5e4a)=>{this['element']['innerHTML']=_0x5d5e4a;}),this[_0x5699('0x9')][_0x5699('0x7')]=this['content'];}}
23
+ var _0x35c3=['innerHTML','setTemplate','div','ck-comment__content','render','element','content','set'];(function(_0x31f0eb,_0x35c355){var _0x5a934f=function(_0x3abcdd){while(--_0x3abcdd){_0x31f0eb['push'](_0x31f0eb['shift']());}};_0x5a934f(++_0x35c355);}(_0x35c3,0x135));var _0x5a93=function(_0x31f0eb,_0x35c355){_0x31f0eb=_0x31f0eb-0x0;var _0x5a934f=_0x35c3[_0x31f0eb];return _0x5a934f;};import{View as _0x3ac39a}from'ckeditor5/src/ui';export default class Tt extends _0x3ac39a{constructor(_0x288377){super(_0x288377),this[_0x5a93('0x2')](_0x5a93('0x1'),''),this[_0x5a93('0x4')]({'tag':_0x5a93('0x5'),'attributes':{'class':[_0x5a93('0x6'),'ck-annotation__content']}});}[_0x5a93('0x7')](){super[_0x5a93('0x7')](),this['on']('change:content',(_0x1a91c0,_0x10bd86,_0x5f48f4)=>{this[_0x5a93('0x0')]['innerHTML']=_0x5f48f4;}),this[_0x5a93('0x0')][_0x5a93('0x3')]=this['content'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14d3=['isEnabled','createEditor','length','_editorConfig','_createCancelButton','listenTo','ck-comment__input-actions--active','fire','editor','TOO_LONG_COMMENT_ALERT','placeholder','getData','_editorCreationPromise','Submit','destroy','label','bindTemplate','focus','document','render','model','Esc','then','value','trim','initialData','stop','div','bind','_createSubmitButton','focusNext','create','extendTemplate','check','add','keystrokes','forEach','insertBefore','cancelButtonView','setData','icon','focusPrevious','element','low','set','_initializeFocusCycling','ck-comment__input-actions--cancel','focusTracker','execute','submit','submitButtonView','_isDestroyed','view','showButtons','ck-comment__input-wrapper','cancel','firstChild','disabledSubmit'];(function(_0x22d4ae,_0x14d374){const _0x1259b6=function(_0x4041d7){while(--_0x4041d7){_0x22d4ae['push'](_0x22d4ae['shift']());}};_0x1259b6(++_0x14d374);}(_0x14d3,0xf6));const _0x1259=function(_0x22d4ae,_0x14d374){_0x22d4ae=_0x22d4ae-0x0;let _0x1259b6=_0x14d3[_0x22d4ae];return _0x1259b6;};import{View as _0x5d0f5f,ViewCollection as _0x584e43,FocusCycler as _0x504c2f,ButtonView as _0x5b7371}from'ckeditor5/src/ui';import{FocusTracker as _0x7d6fe9,KeystrokeHandler as _0x38a999}from'ckeditor5/src/utils';import{icons as _0x5025cf}from'ckeditor5/src/core';import _0x2a435d from'../commenteditor/commenteditor';import{getTranslation as _0x4525fb}from'../../../utils/common-translations';export default class St extends _0x5d0f5f{constructor(_0x24f5b5,_0x5634dc={}){super(_0x24f5b5),this[_0x1259('0x34')]=null,this[_0x1259('0x2f')]=_0x5634dc,this[_0x1259('0x15')]=new _0x38a999(),this[_0x1259('0x21')]=new _0x7d6fe9(),this['set']('value',_0x5634dc[_0x1259('0xb')]||''),this[_0x1259('0x1e')](_0x1259('0x2b'),!0x1),this[_0x1259('0x1e')]('showButtons',!0x0),this[_0x1259('0x1e')](_0x1259('0x36'),_0x4525fb(_0x24f5b5,'Reply...')),this[_0x1259('0x24')]=this[_0x1259('0xf')](),this[_0x1259('0x18')]=this[_0x1259('0x30')](),this['setTemplate']({'tag':_0x1259('0xd'),'attributes':{'class':[_0x1259('0x28')]},'children':[{'tag':_0x1259('0xd'),'attributes':{'class':['ck-comment__input-actions',this[_0x1259('0x2')]['if'](_0x1259('0x27'),_0x1259('0x32'))]},'children':[this[_0x1259('0x24')],this[_0x1259('0x18')]]}]}),this[_0x1259('0x15')][_0x1259('0x1e')](_0x1259('0x7'),(_0x240215,_0xe9d149)=>{this['cancelButtonView'][_0x1259('0x33')](_0x1259('0x22')),_0xe9d149();}),this['on'](_0x1259('0x23'),(_0x59f5a0,_0x5c8660)=>{_0x5c8660['length']>0xfde8?(alert(_0x4525fb(_0x24f5b5,_0x1259('0x35'),[_0x5c8660[_0x1259('0x2e')],0xfde8])),_0x59f5a0[_0x1259('0xc')]()):this[_0x1259('0x34')][_0x1259('0x19')]('');},{'priority':'high'});}[_0x1259('0x5')](){super[_0x1259('0x5')](),this[_0x1259('0x15')][_0x1259('0x31')](this[_0x1259('0x1c')]),this[_0x1259('0x21')]['add'](this[_0x1259('0x1c')]);}[_0x1259('0x2d')](){return this['editor']||(this['editor']=new _0x2a435d(this[_0x1259('0x2f')]),this[_0x1259('0x38')]=this['editor'][_0x1259('0x11')]()[_0x1259('0x8')](()=>{this[_0x1259('0x25')]||(this[_0x1259('0x1c')][_0x1259('0x17')](this[_0x1259('0x34')]['ui'][_0x1259('0x1c')],this[_0x1259('0x1c')][_0x1259('0x2a')]),this[_0x1259('0x34')][_0x1259('0x6')][_0x1259('0x4')]['on']('change',()=>this[_0x1259('0x9')]=this[_0x1259('0x34')][_0x1259('0x37')]()),this[_0x1259('0x34')][_0x1259('0xe')](_0x1259('0x36'))['to'](this),this[_0x1259('0x1f')](this[_0x1259('0x34')]),this[_0x1259('0x33')]('editorReady'));})),this['_editorCreationPromise'];}['focus'](){this[_0x1259('0x34')]&&this[_0x1259('0x34')][_0x1259('0x3')]();}async['destroy'](){this[_0x1259('0x25')]||(this[_0x1259('0x25')]=!0x0,this[_0x1259('0x34')]&&(await this[_0x1259('0x38')],await this[_0x1259('0x34')][_0x1259('0x0')]()),await super[_0x1259('0x0')]());}[_0x1259('0xf')](){const {locale:_0x163e2d}=this,_0xf42c69=new _0x5b7371(_0x163e2d);return _0xf42c69[_0x1259('0x12')]({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0xf42c69['label']=_0x4525fb(_0x163e2d,_0x1259('0x39')),_0xf42c69[_0x1259('0x1a')]=_0x5025cf[_0x1259('0x13')],_0xf42c69['on'](_0x1259('0x22'),()=>{this['fire'](_0x1259('0x23'),this['value']);}),_0xf42c69[_0x1259('0xe')](_0x1259('0x2c'))['to'](this,_0x1259('0x9'),this,_0x1259('0x2b'),(_0x13288a,_0x7873af)=>!_0x7873af&&!!_0x13288a[_0x1259('0xa')]()),_0xf42c69;}[_0x1259('0x30')](){const {locale:_0x320477}=this,_0x4e8a7b=new _0x5b7371(_0x320477);return _0x4e8a7b[_0x1259('0x12')]({'attributes':{'class':[_0x1259('0x20')]}}),_0x4e8a7b[_0x1259('0x1')]=_0x4525fb(_0x320477,'Cancel'),_0x4e8a7b[_0x1259('0x1a')]=_0x5025cf[_0x1259('0x29')],_0x4e8a7b['on']('execute',()=>{this[_0x1259('0x34')][_0x1259('0x19')](''),this['fire'](_0x1259('0x29'));}),_0x4e8a7b;}[_0x1259('0x1f')](_0x363ddc){const _0xf8fb83=this[_0x1259('0x21')],_0x1c5138=new _0x584e43();[_0x363ddc['ui'][_0x1259('0x26')],this[_0x1259('0x24')],this[_0x1259('0x18')]][_0x1259('0x16')](_0x5717d4=>{_0x1c5138['add'](_0x5717d4),_0xf8fb83[_0x1259('0x14')](_0x5717d4['element']);});const _0x3bf77a=new _0x504c2f({'focusables':_0x1c5138,'focusTracker':_0xf8fb83});this['keystrokes'][_0x1259('0x1e')]('tab',(_0x52bf1d,_0x5ddd96)=>{_0x3bf77a[_0x1259('0x10')](),_0x5ddd96();},{'priority':_0x1259('0x1d')}),this[_0x1259('0x15')][_0x1259('0x1e')]('shift\x20+\x20tab',(_0x244efa,_0x53bfbb)=>{_0x3bf77a[_0x1259('0x1b')](),_0x53bfbb();},{'priority':_0x1259('0x1d')});}}
23
+ const _0x24c2=['Esc','insertBefore','focusTracker','cancel','set','getData','model','_initializeFocusCycling','execute','length','_createCancelButton','low','_isDestroyed','render','keystrokes','disabledSubmit','editorReady','ck-comment__input-wrapper','tab','firstChild','initialData','bindTemplate','createEditor','label','change','focus','_createSubmitButton','Reply...','ck-comment__input-actions--cancel','ck-comment__input-actions--active','stop','element','document','destroy','cancelButtonView','forEach','ck-comment__input-actions','submitButtonView','editor','_editorConfig','focusPrevious','bind','high','submit','fire','_editorCreationPromise','isEnabled','extendTemplate','setData','placeholder','then','setTemplate','showButtons','icon','value','add','div','trim'];(function(_0x419b0c,_0x24c279){const _0x12091b=function(_0x42765c){while(--_0x42765c){_0x419b0c['push'](_0x419b0c['shift']());}};_0x12091b(++_0x24c279);}(_0x24c2,0x177));const _0x1209=function(_0x419b0c,_0x24c279){_0x419b0c=_0x419b0c-0x0;let _0x12091b=_0x24c2[_0x419b0c];return _0x12091b;};import{View as _0x20a802,ViewCollection as _0x350831,FocusCycler as _0x45eb3d,ButtonView as _0x163772}from'ckeditor5/src/ui';import{FocusTracker as _0x2a806d,KeystrokeHandler as _0x5d06e5}from'ckeditor5/src/utils';import{icons as _0x1dca17}from'ckeditor5/src/core';import _0x564f95 from'../commenteditor/commenteditor';import{getTranslation as _0x4700ae}from'../../../utils/common-translations';export default class St extends _0x20a802{constructor(_0x3ad983,_0xcb4d28={}){super(_0x3ad983),this[_0x1209('0xb')]=null,this[_0x1209('0xc')]=_0xcb4d28,this[_0x1209('0x2d')]=new _0x5d06e5(),this['focusTracker']=new _0x2a806d(),this[_0x1209('0x23')](_0x1209('0x1b'),_0xcb4d28[_0x1209('0x33')]||''),this['set'](_0x1209('0x2e'),!0x1),this[_0x1209('0x23')]('showButtons',!0x0),this['set'](_0x1209('0x16'),_0x4700ae(_0x3ad983,_0x1209('0x0'))),this[_0x1209('0xa')]=this[_0x1209('0x39')](),this[_0x1209('0x7')]=this[_0x1209('0x29')](),this[_0x1209('0x18')]({'tag':_0x1209('0x1d'),'attributes':{'class':[_0x1209('0x30')]},'children':[{'tag':_0x1209('0x1d'),'attributes':{'class':[_0x1209('0x9'),this[_0x1209('0x34')]['if'](_0x1209('0x19'),_0x1209('0x2'))]},'children':[this[_0x1209('0xa')],this[_0x1209('0x7')]]}]}),this['keystrokes'][_0x1209('0x23')](_0x1209('0x1f'),(_0x1b7b8c,_0x56ed5a)=>{this[_0x1209('0x7')][_0x1209('0x11')](_0x1209('0x27')),_0x56ed5a();}),this['on'](_0x1209('0x10'),(_0x3697fb,_0x28ccac)=>{_0x28ccac[_0x1209('0x28')]>0xfde8?(alert(_0x4700ae(_0x3ad983,'TOO_LONG_COMMENT_ALERT',[_0x28ccac['length'],0xfde8])),_0x3697fb[_0x1209('0x3')]()):this[_0x1209('0xb')][_0x1209('0x15')]('');},{'priority':_0x1209('0xf')});}[_0x1209('0x2c')](){super[_0x1209('0x2c')](),this[_0x1209('0x2d')]['listenTo'](this['element']),this[_0x1209('0x21')][_0x1209('0x1c')](this[_0x1209('0x4')]);}[_0x1209('0x35')](){return this['editor']||(this[_0x1209('0xb')]=new _0x564f95(this['_editorConfig']),this[_0x1209('0x12')]=this[_0x1209('0xb')]['create']()[_0x1209('0x17')](()=>{this[_0x1209('0x2b')]||(this['element'][_0x1209('0x20')](this[_0x1209('0xb')]['ui']['element'],this[_0x1209('0x4')][_0x1209('0x32')]),this[_0x1209('0xb')][_0x1209('0x25')][_0x1209('0x5')]['on'](_0x1209('0x37'),()=>this[_0x1209('0x1b')]=this[_0x1209('0xb')][_0x1209('0x24')]()),this[_0x1209('0xb')][_0x1209('0xe')]('placeholder')['to'](this),this[_0x1209('0x26')](this['editor']),this[_0x1209('0x11')](_0x1209('0x2f')));})),this[_0x1209('0x12')];}['focus'](){this[_0x1209('0xb')]&&this['editor'][_0x1209('0x38')]();}async['destroy'](){this[_0x1209('0x2b')]||(this['_isDestroyed']=!0x0,this[_0x1209('0xb')]&&(await this[_0x1209('0x12')],await this[_0x1209('0xb')][_0x1209('0x6')]()),await super['destroy']());}[_0x1209('0x39')](){const {locale:_0xf03bdc}=this,_0x2d4c80=new _0x163772(_0xf03bdc);return _0x2d4c80[_0x1209('0x14')]({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x2d4c80['label']=_0x4700ae(_0xf03bdc,'Submit'),_0x2d4c80[_0x1209('0x1a')]=_0x1dca17['check'],_0x2d4c80['on']('execute',()=>{this['fire']('submit',this[_0x1209('0x1b')]);}),_0x2d4c80['bind'](_0x1209('0x13'))['to'](this,_0x1209('0x1b'),this,_0x1209('0x2e'),(_0x4fd535,_0x4253de)=>!_0x4253de&&!!_0x4fd535[_0x1209('0x1e')]()),_0x2d4c80;}['_createCancelButton'](){const {locale:_0x1fa418}=this,_0x57bbea=new _0x163772(_0x1fa418);return _0x57bbea[_0x1209('0x14')]({'attributes':{'class':[_0x1209('0x1')]}}),_0x57bbea[_0x1209('0x36')]=_0x4700ae(_0x1fa418,'Cancel'),_0x57bbea[_0x1209('0x1a')]=_0x1dca17[_0x1209('0x22')],_0x57bbea['on'](_0x1209('0x27'),()=>{this[_0x1209('0xb')]['setData'](''),this[_0x1209('0x11')](_0x1209('0x22'));}),_0x57bbea;}['_initializeFocusCycling'](_0x67e616){const _0x4b80cb=this['focusTracker'],_0x5f0587=new _0x350831();[_0x67e616['ui']['view'],this[_0x1209('0xa')],this[_0x1209('0x7')]][_0x1209('0x8')](_0x46cfdd=>{_0x5f0587[_0x1209('0x1c')](_0x46cfdd),_0x4b80cb['add'](_0x46cfdd[_0x1209('0x4')]);});const _0x3908b1=new _0x45eb3d({'focusables':_0x5f0587,'focusTracker':_0x4b80cb});this[_0x1209('0x2d')][_0x1209('0x23')](_0x1209('0x31'),(_0x37408d,_0x35838f)=>{_0x3908b1['focusNext'](),_0x35838f();},{'priority':_0x1209('0x2a')}),this[_0x1209('0x2d')][_0x1209('0x23')]('shift\x20+\x20tab',(_0x110756,_0x497877)=>{_0x3908b1[_0x1209('0xd')](),_0x497877();},{'priority':_0x1209('0x2a')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x77b5=['from','formatDateTime','element','createCollection','_collapsedCommentsView','_config','render','maxCommentCharsWhenCollapsed','destroy','delete','stopListening','equal','removeComment','_handleRemoveCommentModel','comments','change:isActive','focus','count','set','commentViews','listenTo','refreshVisibleViews','get','length','updateComment','hasDirtyComment','remove','maxThreadTotalWeight','add','_shouldCollapse','insert','_rearrangeCollapse','_updateHasDirtyComment','_handleNewCommentModel','_model','visibleViews','setTemplate','ck-thread__comments','delegate','maxCommentsWhenCollapsed','expand','collapse','isEditMode','editorConfig'];(function(_0x5aec50,_0x77b595){const _0x2a30cd=function(_0x41078d){while(--_0x41078d){_0x5aec50['push'](_0x5aec50['shift']());}};_0x2a30cd(++_0x77b595);}(_0x77b5,0x1e2));const _0x2a30=function(_0x5aec50,_0x77b595){_0x5aec50=_0x5aec50-0x0;let _0x2a30cd=_0x77b5[_0x5aec50];return _0x2a30cd;};import{View as _0x247425}from'ckeditor5/src/ui';import{diff as _0x52b6f4,Collection as _0x2ac3d6}from'ckeditor5/src/utils';import _0xb79c17 from'./collapsedcommentsview';export default class dt extends _0x247425{constructor(_0x3c84df,_0x66a886,_0x46d5d3){super(_0x3c84df),this['set']('hasDirtyComment',!0x1),this[_0x2a30('0x14')](_0x2a30('0x19'),_0x66a886[_0x2a30('0x10')][_0x2a30('0x19')]),this[_0x2a30('0x14')]('isActive',!0x1),this[_0x2a30('0x24')]=_0x66a886,this[_0x2a30('0x7')]=_0x46d5d3,this[_0x2a30('0x15')]=this[_0x2a30('0x5')](),this[_0x2a30('0x25')]=this['createCollection'](),this['_collapsedCommentsView']=new _0xb79c17(_0x3c84df),this[_0x2a30('0x6')]['bind']('count')['to'](this,_0x2a30('0x19'),_0x37f9e6=>_0x37f9e6-this[_0x2a30('0x7')][_0x2a30('0x29')]);for(const _0x117894 of _0x66a886[_0x2a30('0x10')])this[_0x2a30('0x23')](_0x117894);this[_0x2a30('0x16')](_0x66a886[_0x2a30('0x10')],_0x2a30('0x1e'),(_0x2fb22c,_0x2b667c)=>{this[_0x2a30('0x19')]++,this[_0x2a30('0x23')](_0x2b667c),this['refreshVisibleViews']();}),this['listenTo'](_0x66a886[_0x2a30('0x10')],'remove',(_0x929221,_0x1667b7)=>{this[_0x2a30('0x19')]--,this[_0x2a30('0xf')](_0x1667b7),this['refreshVisibleViews']();}),this[_0x2a30('0x16')](_0x66a886,'commentUpdated',()=>this[_0x2a30('0x17')]()),this['on'](_0x2a30('0x11'),()=>this['refreshVisibleViews']()),this['on']('change:hasDirtyComment',()=>this[_0x2a30('0x17')]()),this[_0x2a30('0x26')]({'tag':'ul','attributes':{'class':[_0x2a30('0x27')]},'children':this[_0x2a30('0x25')]});}get[_0x2a30('0x1f')](){return this['_model']['weight']>this[_0x2a30('0x7')][_0x2a30('0x1d')]&&!this['isActive']&&!this[_0x2a30('0x1b')];}[_0x2a30('0x8')](){super[_0x2a30('0x8')](),this[_0x2a30('0x17')]();}[_0x2a30('0x12')](){this[_0x2a30('0x4')][_0x2a30('0x12')]();}[_0x2a30('0xa')](){this[_0x2a30('0x6')]['destroy']();for(const _0x59a2ab of this['commentViews'])_0x59a2ab[_0x2a30('0xa')]();super[_0x2a30('0xa')]();}['refreshVisibleViews'](){this['_shouldCollapse']?this[_0x2a30('0x21')]():this['_rearrangeExpand']();}['_handleNewCommentModel'](_0x6b9ba9){const _0x5158b6=new this[(_0x2a30('0x7'))]['CommentView'](this['locale'],_0x6b9ba9,{'maxCommentCharsWhenCollapsed':this['_config'][_0x2a30('0x9')],'formatDateTime':this[_0x2a30('0x7')][_0x2a30('0x3')],'editorConfig':this['_config'][_0x2a30('0x1')]});_0x5158b6['viewUid']=_0x6b9ba9['id'],_0x5158b6['delegate'](_0x2a30('0xe'))['to'](this),_0x5158b6[_0x2a30('0x28')](_0x2a30('0x1a'))['to'](this),this['listenTo'](_0x5158b6,'change:isEditMode',()=>this['_updateHasDirtyComment']()),this[_0x2a30('0x15')][_0x2a30('0x1e')](_0x5158b6);}['_handleRemoveCommentModel'](_0x581e6a){const _0x461bea=this[_0x2a30('0x15')]['remove'](_0x581e6a['id']);this[_0x2a30('0xc')](_0x461bea),_0x461bea[_0x2a30('0x0')]&&this[_0x2a30('0x22')](),_0x461bea[_0x2a30('0xa')]();}[_0x2a30('0x22')](){this['hasDirtyComment']=Array['from'](this[_0x2a30('0x15')])['some'](_0x4a44f5=>_0x4a44f5['isEditMode']);}[_0x2a30('0x21')](){const _0x331474=function(_0x3acb45){const _0x3ee11d=new _0x2ac3d6();for(const _0x2ef29b of _0x3acb45)_0x3ee11d[_0x2a30('0x1e')](_0x2ef29b);return _0x3ee11d;}(this[_0x2a30('0x15')]),_0x925e71=this[_0x2a30('0x6')][_0x2a30('0x13')];for(let _0x228e3b=0x1;_0x228e3b<=_0x925e71;_0x228e3b++)_0x331474[_0x2a30('0x1c')](0x1);for(const _0x2026b0 of _0x331474)_0x2026b0[_0x2a30('0x2b')]();_0x925e71>0x0&&_0x331474[_0x2a30('0x1e')](this[_0x2a30('0x6')],0x1),Wt(_0x52b6f4(Array[_0x2a30('0x2')](this['visibleViews']),Array[_0x2a30('0x2')](_0x331474)),this['visibleViews'],_0x331474);}['_rearrangeExpand'](){Wt(_0x52b6f4(Array['from'](this[_0x2a30('0x25')]),Array[_0x2a30('0x2')](this[_0x2a30('0x15')])),this[_0x2a30('0x25')],this[_0x2a30('0x15')]);for(const _0x50a5ca of this[_0x2a30('0x25')])_0x50a5ca[_0x2a30('0x2a')]();}}function Wt(_0x5279d9,_0x123614,_0xa15ff3){let _0x3b4d2b=0x0;for(const _0x244eae of _0x5279d9)switch(_0x244eae){case _0x2a30('0x20'):_0x123614[_0x2a30('0x1e')](_0xa15ff3[_0x2a30('0x18')](_0x3b4d2b),_0x3b4d2b),_0x3b4d2b++;break;case _0x2a30('0xb'):_0x123614[_0x2a30('0x1c')](_0x3b4d2b);break;case _0x2a30('0xd'):_0x3b4d2b++;}}
23
+ const _0xaa3a=['set','createCollection','_shouldCollapse','equal','setTemplate','length','delete','_handleNewCommentModel','listenTo','_model','add','render','refreshVisibleViews','change:isActive','isActive','maxThreadTotalWeight','some','change:isEditMode','maxCommentCharsWhenCollapsed','_collapsedCommentsView','commentViews','ck-thread__comments','CommentView','_updateHasDirtyComment','insert','_config','editorConfig','remove','delegate','from','hasDirtyComment','element','_handleRemoveCommentModel','stopListening','change:hasDirtyComment','destroy','formatDateTime','comments','visibleViews','removeComment','commentUpdated','_rearrangeCollapse','maxCommentsWhenCollapsed','isEditMode','count','weight'];(function(_0x4f86ae,_0xaa3a82){const _0x5e6264=function(_0x36a5c4){while(--_0x36a5c4){_0x4f86ae['push'](_0x4f86ae['shift']());}};_0x5e6264(++_0xaa3a82);}(_0xaa3a,0x1b2));const _0x5e62=function(_0x4f86ae,_0xaa3a82){_0x4f86ae=_0x4f86ae-0x0;let _0x5e6264=_0xaa3a[_0x4f86ae];return _0x5e6264;};import{View as _0x2d1e02}from'ckeditor5/src/ui';import{diff as _0x22e5b6,Collection as _0x375906}from'ckeditor5/src/utils';import _0x2f5189 from'./collapsedcommentsview';export default class dt extends _0x2d1e02{constructor(_0x2faff5,_0x301182,_0x47f377){super(_0x2faff5),this['set'](_0x5e62('0xa'),!0x1),this[_0x5e62('0x1a')](_0x5e62('0x1f'),_0x301182[_0x5e62('0x11')]['length']),this[_0x5e62('0x1a')]('isActive',!0x1),this[_0x5e62('0x23')]=_0x301182,this[_0x5e62('0x5')]=_0x47f377,this[_0x5e62('0x0')]=this[_0x5e62('0x1b')](),this[_0x5e62('0x12')]=this[_0x5e62('0x1b')](),this[_0x5e62('0x2d')]=new _0x2f5189(_0x2faff5),this[_0x5e62('0x2d')]['bind'](_0x5e62('0x18'))['to'](this,_0x5e62('0x1f'),_0x884420=>_0x884420-this['_config'][_0x5e62('0x16')]);for(const _0x1494f4 of _0x301182[_0x5e62('0x11')])this[_0x5e62('0x21')](_0x1494f4);this[_0x5e62('0x22')](_0x301182['comments'],'add',(_0x497aee,_0x6b15eb)=>{this[_0x5e62('0x1f')]++,this[_0x5e62('0x21')](_0x6b15eb),this[_0x5e62('0x26')]();}),this[_0x5e62('0x22')](_0x301182[_0x5e62('0x11')],_0x5e62('0x7'),(_0x299031,_0x1ca232)=>{this[_0x5e62('0x1f')]--,this[_0x5e62('0xc')](_0x1ca232),this[_0x5e62('0x26')]();}),this['listenTo'](_0x301182,_0x5e62('0x14'),()=>this[_0x5e62('0x26')]()),this['on'](_0x5e62('0x27'),()=>this['refreshVisibleViews']()),this['on'](_0x5e62('0xe'),()=>this[_0x5e62('0x26')]()),this[_0x5e62('0x1e')]({'tag':'ul','attributes':{'class':[_0x5e62('0x1')]},'children':this[_0x5e62('0x12')]});}get[_0x5e62('0x1c')](){return this[_0x5e62('0x23')][_0x5e62('0x19')]>this[_0x5e62('0x5')][_0x5e62('0x29')]&&!this[_0x5e62('0x28')]&&!this[_0x5e62('0xa')];}[_0x5e62('0x25')](){super['render'](),this[_0x5e62('0x26')]();}['focus'](){this[_0x5e62('0xb')]['focus']();}[_0x5e62('0xf')](){this[_0x5e62('0x2d')]['destroy']();for(const _0x2cf0d6 of this[_0x5e62('0x0')])_0x2cf0d6['destroy']();super[_0x5e62('0xf')]();}[_0x5e62('0x26')](){this[_0x5e62('0x1c')]?this['_rearrangeCollapse']():this['_rearrangeExpand']();}['_handleNewCommentModel'](_0x160c7e){const _0x29a7db=new this[(_0x5e62('0x5'))][(_0x5e62('0x2'))](this['locale'],_0x160c7e,{'maxCommentCharsWhenCollapsed':this['_config'][_0x5e62('0x2c')],'formatDateTime':this[_0x5e62('0x5')][_0x5e62('0x10')],'editorConfig':this[_0x5e62('0x5')][_0x5e62('0x6')]});_0x29a7db['viewUid']=_0x160c7e['id'],_0x29a7db[_0x5e62('0x8')](_0x5e62('0x13'))['to'](this),_0x29a7db[_0x5e62('0x8')]('updateComment')['to'](this),this[_0x5e62('0x22')](_0x29a7db,_0x5e62('0x2b'),()=>this[_0x5e62('0x3')]()),this[_0x5e62('0x0')][_0x5e62('0x24')](_0x29a7db);}[_0x5e62('0xc')](_0x4557d2){const _0x38fa1f=this[_0x5e62('0x0')][_0x5e62('0x7')](_0x4557d2['id']);this[_0x5e62('0xd')](_0x38fa1f),_0x38fa1f['isEditMode']&&this[_0x5e62('0x3')](),_0x38fa1f[_0x5e62('0xf')]();}['_updateHasDirtyComment'](){this['hasDirtyComment']=Array[_0x5e62('0x9')](this[_0x5e62('0x0')])[_0x5e62('0x2a')](_0x3e6df1=>_0x3e6df1[_0x5e62('0x17')]);}[_0x5e62('0x15')](){const _0x4d2846=function(_0x298d25){const _0x427fdb=new _0x375906();for(const _0x4d7408 of _0x298d25)_0x427fdb[_0x5e62('0x24')](_0x4d7408);return _0x427fdb;}(this[_0x5e62('0x0')]),_0x418aa7=this['_collapsedCommentsView'][_0x5e62('0x18')];for(let _0x34faa2=0x1;_0x34faa2<=_0x418aa7;_0x34faa2++)_0x4d2846[_0x5e62('0x7')](0x1);for(const _0x46aad0 of _0x4d2846)_0x46aad0['collapse']();_0x418aa7>0x0&&_0x4d2846['add'](this['_collapsedCommentsView'],0x1),Wt(_0x22e5b6(Array['from'](this[_0x5e62('0x12')]),Array[_0x5e62('0x9')](_0x4d2846)),this['visibleViews'],_0x4d2846);}['_rearrangeExpand'](){Wt(_0x22e5b6(Array['from'](this[_0x5e62('0x12')]),Array[_0x5e62('0x9')](this['commentViews'])),this[_0x5e62('0x12')],this[_0x5e62('0x0')]);for(const _0x4495e3 of this[_0x5e62('0x12')])_0x4495e3['expand']();}}function Wt(_0x4287ef,_0x496983,_0x3323a5){let _0x4937ce=0x0;for(const _0x3c892a of _0x4287ef)switch(_0x3c892a){case _0x5e62('0x4'):_0x496983[_0x5e62('0x24')](_0x3323a5['get'](_0x4937ce),_0x4937ce),_0x4937ce++;break;case _0x5e62('0x20'):_0x496983[_0x5e62('0x7')](_0x4937ce);break;case _0x5e62('0x1d'):_0x4937ce++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4830=['commentInputView','editor','userView','bind','ck-thread__input','extendTemplate','ck-comment__input-container','createEditor','set','change:showInput','showButtons','isFocused','value','then','showInput','div','setTemplate','destroy','bindTemplate','focusTracker'];(function(_0x23a24d,_0x4830ca){var _0x27fb77=function(_0x21eacc){while(--_0x21eacc){_0x23a24d['push'](_0x23a24d['shift']());}};_0x27fb77(++_0x4830ca);}(_0x4830,0xf9));var _0x27fb=function(_0x23a24d,_0x4830ca){_0x23a24d=_0x23a24d-0x0;var _0x27fb77=_0x4830[_0x23a24d];return _0x27fb77;};import{View as _0x44c319}from'ckeditor5/src/ui';import _0x7d30e2 from'./commentinputview';import{UserView as _0x2bdfb8}from'ckeditor5-collaboration/src/collaboration-core';export default class ut extends _0x44c319{constructor(_0xd609cc,_0x4e4d20,_0x529d0c){super(_0xd609cc),this[_0x27fb('0xb')]=new _0x7d30e2(_0xd609cc,_0x529d0c),this['commentInputView'][_0x27fb('0xe')](_0x27fb('0x1'))['to'](this['commentInputView'][_0x27fb('0xa')],_0x27fb('0x2'),this[_0x27fb('0xb')],_0x27fb('0x3'),(_0x24cb1e,_0x266c0f)=>_0x24cb1e||!!_0x266c0f),this[_0x27fb('0x13')](_0x27fb('0x5'),!0x1),this['on'](_0x27fb('0x0'),()=>{this['showInput']&&!this['commentInputView'][_0x27fb('0xc')]&&this['commentInputView'][_0x27fb('0x12')]();}),this[_0x27fb('0xd')]=new _0x2bdfb8(_0xd609cc,_0x4e4d20),this['userView'][_0x27fb('0x10')]({'attributes':{'class':'ck-thread__user'}}),this[_0x27fb('0xb')][_0x27fb('0x10')]({'attributes':{'class':_0x27fb('0xf')}}),this[_0x27fb('0x7')]({'tag':_0x27fb('0x6'),'attributes':{'class':[_0x27fb('0x11'),this[_0x27fb('0x9')]['if'](_0x27fb('0x5'),'ck-comment__input-container--active')]},'children':[this['userView'],this['commentInputView']]});}['destroy'](){return this['commentInputView'][_0x27fb('0x8')]()[_0x27fb('0x4')](()=>super[_0x27fb('0x8')]());}}
23
+ var _0x3052=['destroy','ck-thread__input','div','bind','then','value','userView','editor','ck-comment__input-container--active','set','commentInputView','createEditor','ck-thread__user','showInput'];(function(_0x38b1d3,_0x3052f1){var _0x5448cd=function(_0x11be1b){while(--_0x11be1b){_0x38b1d3['push'](_0x38b1d3['shift']());}};_0x5448cd(++_0x3052f1);}(_0x3052,0x152));var _0x5448=function(_0x38b1d3,_0x3052f1){_0x38b1d3=_0x38b1d3-0x0;var _0x5448cd=_0x3052[_0x38b1d3];return _0x5448cd;};import{View as _0x1dad78}from'ckeditor5/src/ui';import _0x25e027 from'./commentinputview';import{UserView as _0xd2f6ed}from'ckeditor5-collaboration/src/collaboration-core';export default class ut extends _0x1dad78{constructor(_0x40b0d4,_0x48884e,_0x4cc47d){super(_0x40b0d4),this[_0x5448('0x8')]=new _0x25e027(_0x40b0d4,_0x4cc47d),this[_0x5448('0x8')][_0x5448('0x1')]('showButtons')['to'](this['commentInputView']['focusTracker'],'isFocused',this['commentInputView'],_0x5448('0x3'),(_0x94c53d,_0x2369cd)=>_0x94c53d||!!_0x2369cd),this[_0x5448('0x7')](_0x5448('0xb'),!0x1),this['on']('change:showInput',()=>{this[_0x5448('0xb')]&&!this[_0x5448('0x8')][_0x5448('0x5')]&&this[_0x5448('0x8')][_0x5448('0x9')]();}),this[_0x5448('0x4')]=new _0xd2f6ed(_0x40b0d4,_0x48884e),this[_0x5448('0x4')]['extendTemplate']({'attributes':{'class':_0x5448('0xa')}}),this[_0x5448('0x8')]['extendTemplate']({'attributes':{'class':_0x5448('0xd')}}),this['setTemplate']({'tag':_0x5448('0x0'),'attributes':{'class':['ck-comment__input-container',this['bindTemplate']['if']('showInput',_0x5448('0x6'))]},'children':[this['userView'],this[_0x5448('0x8')]]});}[_0x5448('0xc')](){return this[_0x5448('0x8')][_0x5448('0xc')]()[_0x5448('0x2')](()=>super[_0x5448('0xc')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x23cb=['actionIndicator','ck-thread__container','commentsListView','remove','locale','unbind','_model','fire','ck-thread','commentViews','ck-thread--','execute','change:isActive','Write\x20a\x20comment...','cancelConfirm','placeholder','querySelector','containerElement','stop','element','_boundFirstCommentView','Delete\x20comment\x20thread?','_cancelAllConfirms','bindTemplate','change:isReadOnly','listenTo','set','then','getTemplate','get','ck-thread--remove-confirmation','removeButton','ck-thread--active','div','showConfirm','length','commentThreadInputView','_bindFirstCommentView','render','add','removeCommentThread'];(function(_0x15843f,_0x23cb91){const _0x1708d1=function(_0x5cbc08){while(--_0x5cbc08){_0x15843f['push'](_0x15843f['shift']());}};_0x1708d1(++_0x23cb91);}(_0x23cb,0xbe));const _0x1708=function(_0x15843f,_0x23cb91){_0x15843f=_0x15843f-0x0;let _0x1708d1=_0x23cb[_0x15843f];return _0x1708d1;};import{mix as _0xc6623e}from'ckeditor5/src/utils';import{ConfirmMixin as _0x2638ea}from'ckeditor5-collaboration/src/collaboration-core';import _0xd79136 from'./basecommentthreadview';import{getTranslation as _0x282006}from'../../../utils/common-translations';export default class it extends _0xd79136{constructor(_0x1c6000,_0x281776,_0x369872,_0x24ae9b){super(_0x1c6000,_0x281776,_0x369872,_0x24ae9b),this[_0x1708('0x0')](_0x1708('0xf'),null),this[_0x1708('0x20')]=null,this[_0x1708('0x23')]=null,this[_0x1708('0x13')]=_0x1c6000,this['setTemplate'](this[_0x1708('0x2')]()),this['on'](_0x1708('0x1b'),(_0x1c0f63,_0x346242,_0x95258c)=>{_0x95258c||this['_cancelAllConfirms']();}),this[_0x1708('0x28')](this[_0x1708('0x15')],_0x1708('0x27'),(_0x19ec3e,_0x33c3fb,_0x8c137e)=>{_0x8c137e&&this[_0x1708('0x25')]();}),this[_0x1708('0x9')]>0x0&&this[_0x1708('0xb')](),this[_0x1708('0x28')](this[_0x1708('0x11')][_0x1708('0x18')],_0x1708('0xd'),()=>{this['_bindFirstCommentView']();});}['getTemplate'](){const _0x5ea0ad=this[_0x1708('0x26')];return{'tag':_0x1708('0x7'),'attributes':{'class':[_0x1708('0x17'),_0x5ea0ad['if']('isActive',_0x1708('0x6')),_0x5ea0ad['if']('isConfirm',_0x1708('0x4')),_0x5ea0ad['to'](_0x1708('0xf'),_0x1ed47a=>_0x1ed47a?_0x1708('0x19')+_0x1ed47a:'')],'data-thread-id':this['_model']['id'],'tabindex':-0x1},'children':[{'tag':_0x1708('0x7'),'attributes':{'class':_0x1708('0x10')},'children':[this['commentsListView'],this[_0x1708('0xa')]]}]};}[_0x1708('0xc')](){super['render'](),this['containerElement']=this[_0x1708('0x22')][_0x1708('0x1f')]('.ck-thread__container');}['_cancelAllConfirms'](){this['cancelConfirm']();for(const _0x51cc5b of this[_0x1708('0x11')][_0x1708('0x18')])_0x51cc5b[_0x1708('0x1d')]();}[_0x1708('0xb')](){const {locale:_0x2efc5a}=this,_0x31a09c=this[_0x1708('0x11')][_0x1708('0x18')][_0x1708('0x3')](0x0);_0x31a09c!==this[_0x1708('0x23')]&&(this[_0x1708('0x23')]=_0x31a09c,this[_0x1708('0x14')](_0x1708('0xf')),this['bind'](_0x1708('0xf'))['to'](_0x31a09c,'actionIndicator',_0x32b5a2=>'remove'===_0x32b5a2?_0x1708('0x12'):null),_0x31a09c[_0x1708('0x1e')]=_0x282006(_0x2efc5a,_0x1708('0x1c')),_0x31a09c[_0x1708('0x5')]['on'](_0x1708('0x1a'),_0x503be5=>{_0x503be5[_0x1708('0x21')](),this[_0x1708('0x8')](_0x282006(_0x2efc5a,_0x1708('0x24')),this[_0x1708('0x20')])[_0x1708('0x1')](()=>{this[_0x1708('0x16')](_0x1708('0xe'));});},{'priority':'high'}));}}_0xc6623e(it,_0x2638ea);
23
+ const _0x28c2=['set','containerElement','isConfirm','isActive','.ck-thread__container','locale','ck-thread--','removeButton','getTemplate','showConfirm','fire','div','change:isActive','removeCommentThread','actionIndicator','placeholder','add','render','then','ck-thread','bindTemplate','ck-thread__container','change:isReadOnly','_boundFirstCommentView','bind','commentThreadInputView','high','element','commentViews','cancelConfirm','stop','remove','listenTo','ck-thread--active','_cancelAllConfirms','commentsListView','_bindFirstCommentView','setTemplate','_model','Write\x20a\x20comment...'];(function(_0x1ea8f1,_0x28c262){const _0x2054a2=function(_0x1efd05){while(--_0x1efd05){_0x1ea8f1['push'](_0x1ea8f1['shift']());}};_0x2054a2(++_0x28c262);}(_0x28c2,0xe4));const _0x2054=function(_0x1ea8f1,_0x28c262){_0x1ea8f1=_0x1ea8f1-0x0;let _0x2054a2=_0x28c2[_0x1ea8f1];return _0x2054a2;};import{mix as _0x126413}from'ckeditor5/src/utils';import{ConfirmMixin as _0x506442}from'ckeditor5-collaboration/src/collaboration-core';import _0x12bdc1 from'./basecommentthreadview';import{getTranslation as _0x1b642a}from'../../../utils/common-translations';export default class it extends _0x12bdc1{constructor(_0x1625d8,_0x539216,_0x330df8,_0x239b9a){super(_0x1625d8,_0x539216,_0x330df8,_0x239b9a),this[_0x2054('0xc')](_0x2054('0x1a'),null),this[_0x2054('0xd')]=null,this[_0x2054('0x23')]=null,this[_0x2054('0x11')]=_0x1625d8,this[_0x2054('0x9')](this['getTemplate']()),this['on'](_0x2054('0x18'),(_0x5d74a5,_0x5ab79a,_0x263e0c)=>{_0x263e0c||this['_cancelAllConfirms']();}),this[_0x2054('0x4')](this[_0x2054('0xa')],_0x2054('0x22'),(_0x19c588,_0x330de3,_0x5a9abc)=>{_0x5a9abc&&this[_0x2054('0x6')]();}),this['length']>0x0&&this['_bindFirstCommentView'](),this['listenTo'](this[_0x2054('0x7')][_0x2054('0x0')],_0x2054('0x1c'),()=>{this[_0x2054('0x8')]();});}[_0x2054('0x14')](){const _0x36e441=this[_0x2054('0x20')];return{'tag':_0x2054('0x17'),'attributes':{'class':[_0x2054('0x1f'),_0x36e441['if'](_0x2054('0xf'),_0x2054('0x5')),_0x36e441['if'](_0x2054('0xe'),'ck-thread--remove-confirmation'),_0x36e441['to'](_0x2054('0x1a'),_0x4098e4=>_0x4098e4?_0x2054('0x12')+_0x4098e4:'')],'data-thread-id':this[_0x2054('0xa')]['id'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':_0x2054('0x21')},'children':[this['commentsListView'],this[_0x2054('0x25')]]}]};}[_0x2054('0x1d')](){super[_0x2054('0x1d')](),this[_0x2054('0xd')]=this[_0x2054('0x27')]['querySelector'](_0x2054('0x10'));}[_0x2054('0x6')](){this[_0x2054('0x1')]();for(const _0x105428 of this['commentsListView'][_0x2054('0x0')])_0x105428[_0x2054('0x1')]();}['_bindFirstCommentView'](){const {locale:_0x5e790f}=this,_0x4099ad=this[_0x2054('0x7')][_0x2054('0x0')]['get'](0x0);_0x4099ad!==this['_boundFirstCommentView']&&(this[_0x2054('0x23')]=_0x4099ad,this['unbind']('actionIndicator'),this[_0x2054('0x24')](_0x2054('0x1a'))['to'](_0x4099ad,_0x2054('0x1a'),_0x1c96a8=>_0x2054('0x3')===_0x1c96a8?'remove':null),_0x4099ad[_0x2054('0x1b')]=_0x1b642a(_0x5e790f,_0x2054('0xb')),_0x4099ad[_0x2054('0x13')]['on']('execute',_0x52b7e2=>{_0x52b7e2[_0x2054('0x2')](),this[_0x2054('0x15')](_0x1b642a(_0x5e790f,'Delete\x20comment\x20thread?'),this[_0x2054('0xd')])[_0x2054('0x1e')](()=>{this[_0x2054('0x16')](_0x2054('0x19'));});},{'priority':_0x2054('0x26')}));}}_0x126413(it,_0x506442);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4766=['ck-comment__info-time','isEditMode','editButton','ck-comment__actions--hidden','ck-annotation__content-wrapper','ck-annotation','ck-annotation__info','push','source','time','extendTemplate','isVisible','@external','_model','ck-comment--edit','locale','div','ck-comment--','EXTERNAL_IMPORT_WORD_AVATAR','removeButton','Reply...','_config','ck-annotation__main','Edit','listenTo','placeholder','bindTemplate','isRemovable','ck-annotation__actions--hidden','ck-comment__info','author','isExternal','pencil','_createCommentInputView','isEnabled','ck-comment--remove','focus','userView','element','Delete\x20comment?','getTemplate','_createEditButton','formatDateTime','isReadOnly','creator','set','showConfirm','change:isRemovable','isEditable','getExternalCommentNote','_attachActions','actionIndicator','then','Remove','cancelConfirm','visibleView','remove','span','ck-comment__user','ck-comment--remove-confirmation','_createRemoveButton','execute','name','importWord','icon','isConfirm','ck-comment__external','ck-comment__wrapper','authoredAt','bind','label','attributes','fire'];(function(_0x427390,_0x4766fc){const _0x416866=function(_0x53b1ae){while(--_0x53b1ae){_0x427390['push'](_0x427390['shift']());}};_0x416866(++_0x4766fc);}(_0x4766,0x75));const _0x4168=function(_0x427390,_0x4766fc){_0x427390=_0x427390-0x0;let _0x416866=_0x4766[_0x427390];return _0x416866;};import{mix as _0x363bf7}from'ckeditor5/src/utils';import{ButtonView as _0x36da23}from'ckeditor5/src/ui';import{icons as _0x1b12c7}from'ckeditor5/src/core';import{UserView as _0x26d65d,ConfirmMixin as _0x114c4d}from'ckeditor5-collaboration/src/collaboration-core';import _0x482ed6 from'./basecommentview';import _0x2ed031 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x2503ea}from'../../../utils/common-translations';export default class rt extends _0x482ed6{constructor(_0x1e890b,_0x35716e,_0x4e0e95){super(_0x1e890b,_0x35716e,_0x4e0e95),this['set'](_0x4168('0x7'),null),this[_0x4168('0x1')](_0x4168('0x36'),_0x2503ea(_0x1e890b,_0x4168('0x31'))),this['set'](_0x4168('0x18'),null),this[_0x4168('0x19')](_0x4168('0x18'))['to'](_0x35716e),this[_0x4168('0x1f')]=this[_0x4168('0x46')](),this[_0x4168('0x30')]=this[_0x4168('0x10')](),this['userView']=new _0x26d65d(_0x1e890b,_0x35716e[_0x4168('0x3b')],this['getUserViewNotificationText']()),this[_0x4168('0x42')][_0x4168('0x27')]({'attributes':{'class':[_0x4168('0xe'),'ck-annotation__user']}}),this[_0x4168('0x35')](_0x35716e,_0x4168('0x3'),()=>this[_0x4168('0xa')]()),this['setTemplate'](this[_0x4168('0x45')]());}['getTemplate'](){const _0x4f1221=this[_0x4168('0x37')],_0x675f31=[{'tag':_0x4168('0x2d'),'attributes':{'class':[_0x4168('0x3a'),_0x4168('0x23')]},'children':[{'tag':_0x4168('0xd'),'children':[{'text':this['userView'][_0x4168('0x12')]}],'attributes':{'class':['ck-comment__info-name','ck-annotation__info-name']}},{'tag':_0x4168('0x26'),'attributes':{'datetime':_0x4f1221['to'](_0x4168('0x18')),'class':[_0x4168('0x1d'),'ck-annotation__info-time']},'children':[{'text':_0x4f1221['to'](_0x4168('0x18'),_0x43c47c=>this[_0x4168('0x32')][_0x4168('0x47')](_0x43c47c))}]}]},{'tag':_0x4168('0x2d'),'attributes':{'class':['ck-comment__actions','ck-annotation__actions',_0x4f1221['if'](_0x4168('0x1e'),_0x4168('0x20')),_0x4f1221['if'](_0x4168('0x1e'),_0x4168('0x39'))]},'children':[this[_0x4168('0x1f')],this[_0x4168('0x30')]]},{'tag':_0x4168('0x2d'),'attributes':{'class':[_0x4168('0x21')]},'children':this[_0x4168('0xb')]}];return this[_0x4168('0x2a')]['isExternal']&&_0x675f31[_0x4168('0x24')]({'tag':'div','attributes':{'class':[_0x4168('0x16')]},'children':[{'text':this[_0x4168('0x5')]()}]}),{'tag':'li','attributes':{'class':[_0x4168('0x17'),_0x4f1221['if'](_0x4168('0x15'),_0x4168('0xf'))],'tabindex':-0x1},'children':[{'tag':_0x4168('0x2d'),'attributes':{'class':['ck-comment',_0x4168('0x22'),_0x4f1221['if']('isEditMode',_0x4168('0x2b')),_0x4f1221['to'](_0x4168('0x7'),_0x1582a5=>_0x1582a5?_0x4168('0x2e')+_0x1582a5:'')],'data-author-id':this[_0x4168('0x2a')][_0x4168('0x3b')]['id'],'data-comment-id':this[_0x4168('0x2a')]['id']},'children':[this[_0x4168('0x42')],{'tag':_0x4168('0x2d'),'attributes':{'class':['ck-comment__main',_0x4168('0x33')]},'children':_0x675f31}]}]};}[_0x4168('0x46')](){const _0x4c5444=new _0x36da23(this[_0x4168('0x2c')]);return _0x4c5444[_0x4168('0x1a')]=_0x2503ea(this[_0x4168('0x2c')],_0x4168('0x34')),_0x4c5444[_0x4168('0x14')]=_0x1b12c7[_0x4168('0x3d')],_0x4c5444[_0x4168('0x27')]({'attributes':{'class':'ck-comment--edit'}}),_0x4c5444[_0x4168('0x19')](_0x4168('0x3f'))['to'](this[_0x4168('0x2a')],'isReadOnly',_0xf2c710=>!_0xf2c710),_0x4c5444['bind'](_0x4168('0x28'))['to'](this[_0x4168('0x2a')],_0x4168('0x4')),_0x4c5444['on'](_0x4168('0x11'),()=>this['switchToEditMode']()),_0x4c5444;}[_0x4168('0x10')](){const _0x23ddfe=new _0x36da23(this[_0x4168('0x2c')]);return _0x23ddfe[_0x4168('0x1a')]=_0x2503ea(this[_0x4168('0x2c')],_0x4168('0x9')),_0x23ddfe[_0x4168('0x14')]=_0x2ed031,_0x23ddfe[_0x4168('0x27')]({'attributes':{'class':_0x4168('0x40')}}),_0x23ddfe[_0x4168('0x19')](_0x4168('0x3f'))['to'](this[_0x4168('0x2a')],_0x4168('0x48'),_0x58719d=>!_0x58719d),_0x23ddfe['bind'](_0x4168('0x28'))['to'](this['_model'],_0x4168('0x38')),_0x23ddfe['on'](_0x4168('0x11'),()=>{this[_0x4168('0x2')](_0x2503ea(this[_0x4168('0x2c')],_0x4168('0x44')),this['element'])[_0x4168('0x8')](()=>{this[_0x4168('0x1c')]('removeComment',this[_0x4168('0x2a')]['id']);});}),_0x23ddfe;}[_0x4168('0x6')](_0x180833,_0x1ede3a){this[_0x4168('0x35')](_0x180833,'mouseenter',()=>this['actionIndicator']=_0x1ede3a),this[_0x4168('0x35')](_0x180833,_0x4168('0x41'),()=>this[_0x4168('0x7')]=_0x1ede3a),this[_0x4168('0x35')](_0x180833,'mouseleave',()=>this[_0x4168('0x7')]=null),this[_0x4168('0x35')](_0x180833,'blur',()=>this['actionIndicator']=null);}[_0x4168('0x3e')](){const _0x28b1d2=super['_createCommentInputView']();return _0x28b1d2[_0x4168('0x19')]('placeholder')['to'](this),_0x28b1d2;}[_0x4168('0x5')](){return _0x4168('0x13')===this[_0x4168('0x2a')][_0x4168('0x1b')]['@external'][_0x4168('0x25')]?_0x2503ea(this[_0x4168('0x2c')],'EXTERNAL_IMPORT_WORD_COMMENT'):_0x2503ea(this[_0x4168('0x2c')],'EXTERNAL_COMMENT');}['getUserViewNotificationText'](){return this[_0x4168('0x2a')][_0x4168('0x3c')]?_0x4168('0x13')===this[_0x4168('0x2a')][_0x4168('0x1b')][_0x4168('0x29')]['source']?_0x2503ea(this[_0x4168('0x2c')],_0x4168('0x2f'),this[_0x4168('0x2a')]['creator']['name']):_0x2503ea(this[_0x4168('0x2c')],'EXTERNAL_AVATAR',this[_0x4168('0x2a')][_0x4168('0x0')][_0x4168('0x12')]):null;}['render'](){super['render'](),this[_0x4168('0x6')](this[_0x4168('0x1f')][_0x4168('0x43')],'edit'),this[_0x4168('0x6')](this[_0x4168('0x30')][_0x4168('0x43')],_0x4168('0xc'));}}_0x363bf7(rt,_0x114c4d);
23
+ const _0x2bd9=['extendTemplate','placeholder','ck-comment--remove','cancelConfirm','creator','ck-comment__user','ck-annotation__content-wrapper','ck-annotation__actions--hidden','locale','EXTERNAL_COMMENT','ck-comment__actions','isVisible','getExternalCommentNote','ck-comment__info-name','isRemovable','actionIndicator','_createRemoveButton','fire','ck-comment--','then','isReadOnly','ck-comment__actions--hidden','editButton','blur','removeButton','ck-annotation__info-name','ck-annotation__actions','Delete\x20comment?','ck-comment__main','icon','change:isRemovable','mouseleave','render','isEditMode','Remove','_model','_createEditButton','formatDateTime','pencil','bindTemplate','execute','set','element','authoredAt','EXTERNAL_IMPORT_WORD_AVATAR','label','EXTERNAL_IMPORT_WORD_COMMENT','edit','Edit','bind','ck-comment__info-time','getTemplate','div','ck-comment__external','getUserViewNotificationText','ck-comment__wrapper','isEditable','visibleView','attributes','_createCommentInputView','push','focus','isExternal','mouseenter','switchToEditMode','showConfirm','remove','EXTERNAL_AVATAR','userView','_attachActions','_config','isConfirm','time','author','importWord','ck-annotation__info-time','ck-comment--edit','listenTo','ck-annotation'];(function(_0x3e0304,_0x2bd9f5){const _0x1e9361=function(_0x503b85){while(--_0x503b85){_0x3e0304['push'](_0x3e0304['shift']());}};_0x1e9361(++_0x2bd9f5);}(_0x2bd9,0x168));const _0x1e93=function(_0x3e0304,_0x2bd9f5){_0x3e0304=_0x3e0304-0x0;let _0x1e9361=_0x2bd9[_0x3e0304];return _0x1e9361;};import{mix as _0x53506f}from'ckeditor5/src/utils';import{ButtonView as _0x6ab18b}from'ckeditor5/src/ui';import{icons as _0x375560}from'ckeditor5/src/core';import{UserView as _0x2ff62a,ConfirmMixin as _0xe1f3b3}from'ckeditor5-collaboration/src/collaboration-core';import _0x5c4c45 from'./basecommentview';import _0x3a01bc from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x4b4e96}from'../../../utils/common-translations';export default class rt extends _0x5c4c45{constructor(_0x465856,_0x6ca9db,_0x34ddf4){super(_0x465856,_0x6ca9db,_0x34ddf4),this['set'](_0x1e93('0x32'),null),this[_0x1e93('0x4c')](_0x1e93('0x24'),_0x4b4e96(_0x465856,'Reply...')),this[_0x1e93('0x4c')](_0x1e93('0x4e'),null),this['bind'](_0x1e93('0x4e'))['to'](_0x6ca9db),this[_0x1e93('0x39')]=this[_0x1e93('0x47')](),this[_0x1e93('0x3b')]=this['_createRemoveButton'](),this[_0x1e93('0x18')]=new _0x2ff62a(_0x465856,_0x6ca9db[_0x1e93('0x1d')],this[_0x1e93('0xa')]()),this['userView']['extendTemplate']({'attributes':{'class':[_0x1e93('0x28'),'ck-annotation__user']}}),this[_0x1e93('0x21')](_0x6ca9db,_0x1e93('0x41'),()=>this[_0x1e93('0x26')]()),this['setTemplate'](this[_0x1e93('0x7')]());}[_0x1e93('0x7')](){const _0x1c57f1=this[_0x1e93('0x4a')],_0x223904=[{'tag':_0x1e93('0x8'),'attributes':{'class':['ck-comment__info','ck-annotation__info']},'children':[{'tag':'span','children':[{'text':this[_0x1e93('0x18')]['name']}],'attributes':{'class':[_0x1e93('0x30'),_0x1e93('0x3c')]}},{'tag':_0x1e93('0x1c'),'attributes':{'datetime':_0x1c57f1['to']('authoredAt'),'class':[_0x1e93('0x6'),_0x1e93('0x1f')]},'children':[{'text':_0x1c57f1['to'](_0x1e93('0x4e'),_0x48b640=>this[_0x1e93('0x1a')][_0x1e93('0x48')](_0x48b640))}]}]},{'tag':'div','attributes':{'class':[_0x1e93('0x2d'),_0x1e93('0x3d'),_0x1c57f1['if'](_0x1e93('0x44'),_0x1e93('0x38')),_0x1c57f1['if'](_0x1e93('0x44'),_0x1e93('0x2a'))]},'children':[this[_0x1e93('0x39')],this[_0x1e93('0x3b')]]},{'tag':_0x1e93('0x8'),'attributes':{'class':[_0x1e93('0x29')]},'children':this[_0x1e93('0xd')]}];return this[_0x1e93('0x46')][_0x1e93('0x12')]&&_0x223904[_0x1e93('0x10')]({'tag':_0x1e93('0x8'),'attributes':{'class':[_0x1e93('0x9')]},'children':[{'text':this[_0x1e93('0x2f')]()}]}),{'tag':'li','attributes':{'class':[_0x1e93('0xb'),_0x1c57f1['if'](_0x1e93('0x1b'),'ck-comment--remove-confirmation')],'tabindex':-0x1},'children':[{'tag':_0x1e93('0x8'),'attributes':{'class':['ck-comment',_0x1e93('0x22'),_0x1c57f1['if']('isEditMode',_0x1e93('0x20')),_0x1c57f1['to'](_0x1e93('0x32'),_0xfd4ff8=>_0xfd4ff8?_0x1e93('0x35')+_0xfd4ff8:'')],'data-author-id':this[_0x1e93('0x46')][_0x1e93('0x1d')]['id'],'data-comment-id':this['_model']['id']},'children':[this['userView'],{'tag':'div','attributes':{'class':[_0x1e93('0x3f'),'ck-annotation__main']},'children':_0x223904}]}]};}[_0x1e93('0x47')](){const _0x43ef8e=new _0x6ab18b(this[_0x1e93('0x2b')]);return _0x43ef8e['label']=_0x4b4e96(this[_0x1e93('0x2b')],_0x1e93('0x4')),_0x43ef8e[_0x1e93('0x40')]=_0x375560[_0x1e93('0x49')],_0x43ef8e[_0x1e93('0x23')]({'attributes':{'class':_0x1e93('0x20')}}),_0x43ef8e[_0x1e93('0x5')]('isEnabled')['to'](this['_model'],_0x1e93('0x37'),_0xd24f17=>!_0xd24f17),_0x43ef8e[_0x1e93('0x5')](_0x1e93('0x2e'))['to'](this[_0x1e93('0x46')],_0x1e93('0xc')),_0x43ef8e['on'](_0x1e93('0x4b'),()=>this[_0x1e93('0x14')]()),_0x43ef8e;}[_0x1e93('0x33')](){const _0x4830aa=new _0x6ab18b(this['locale']);return _0x4830aa[_0x1e93('0x1')]=_0x4b4e96(this[_0x1e93('0x2b')],_0x1e93('0x45')),_0x4830aa[_0x1e93('0x40')]=_0x3a01bc,_0x4830aa[_0x1e93('0x23')]({'attributes':{'class':_0x1e93('0x25')}}),_0x4830aa[_0x1e93('0x5')]('isEnabled')['to'](this[_0x1e93('0x46')],_0x1e93('0x37'),_0x5ce09d=>!_0x5ce09d),_0x4830aa[_0x1e93('0x5')](_0x1e93('0x2e'))['to'](this[_0x1e93('0x46')],_0x1e93('0x31')),_0x4830aa['on'](_0x1e93('0x4b'),()=>{this[_0x1e93('0x15')](_0x4b4e96(this['locale'],_0x1e93('0x3e')),this[_0x1e93('0x4d')])[_0x1e93('0x36')](()=>{this[_0x1e93('0x34')]('removeComment',this['_model']['id']);});}),_0x4830aa;}['_attachActions'](_0x3ab93b,_0x45b1f3){this[_0x1e93('0x21')](_0x3ab93b,_0x1e93('0x13'),()=>this[_0x1e93('0x32')]=_0x45b1f3),this['listenTo'](_0x3ab93b,_0x1e93('0x11'),()=>this[_0x1e93('0x32')]=_0x45b1f3),this['listenTo'](_0x3ab93b,_0x1e93('0x42'),()=>this[_0x1e93('0x32')]=null),this['listenTo'](_0x3ab93b,_0x1e93('0x3a'),()=>this['actionIndicator']=null);}[_0x1e93('0xf')](){const _0x3bae17=super[_0x1e93('0xf')]();return _0x3bae17[_0x1e93('0x5')](_0x1e93('0x24'))['to'](this),_0x3bae17;}[_0x1e93('0x2f')](){return'importWord'===this[_0x1e93('0x46')][_0x1e93('0xe')]['@external']['source']?_0x4b4e96(this['locale'],_0x1e93('0x2')):_0x4b4e96(this[_0x1e93('0x2b')],_0x1e93('0x2c'));}[_0x1e93('0xa')](){return this[_0x1e93('0x46')][_0x1e93('0x12')]?_0x1e93('0x1e')===this[_0x1e93('0x46')][_0x1e93('0xe')]['@external']['source']?_0x4b4e96(this[_0x1e93('0x2b')],_0x1e93('0x0'),this[_0x1e93('0x46')][_0x1e93('0x27')]['name']):_0x4b4e96(this['locale'],_0x1e93('0x17'),this['_model'][_0x1e93('0x27')]['name']):null;}[_0x1e93('0x43')](){super['render'](),this['_attachActions'](this['editButton'][_0x1e93('0x4d')],_0x1e93('0x3')),this[_0x1e93('0x19')](this['removeButton'][_0x1e93('0x4d')],_0x1e93('0x16'));}}_0x53506f(rt,_0xe1f3b3);
package/src/comments.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x48a0=['requires','pluginName'];(function(_0x2cf15a,_0x48a017){var _0x172c44=function(_0x195f57){while(--_0x195f57){_0x2cf15a['push'](_0x2cf15a['shift']());}};_0x172c44(++_0x48a017);}(_0x48a0,0x120));var _0x172c=function(_0x2cf15a,_0x48a017){_0x2cf15a=_0x2cf15a-0x0;var _0x172c44=_0x48a0[_0x2cf15a];return _0x172c44;};import{Plugin as _0x59cc19}from'ckeditor5/src/core';import _0x20f33a from'./comments/commentsrepository';import _0x56276d from'./comments/commentsediting';import _0x1622ac from'./comments/commentsui';import _0x511d13 from'./commentsonly';import _0x37f78f from'./annotations/widesidebar';import _0x4fb377 from'./annotations/narrowsidebar';import _0x5d9a1f from'./annotations/inlineannotations';export default class c extends _0x59cc19{static get[_0x172c('0x0')](){return[_0x20f33a,_0x56276d,_0x1622ac,_0x511d13,_0x37f78f,_0x4fb377,_0x5d9a1f];}static get[_0x172c('0x1')](){return'Comments';}}
23
+ var _0x3c67=['Comments','pluginName'];(function(_0x2034dd,_0x3c67a1){var _0x541e17=function(_0x5c03d3){while(--_0x5c03d3){_0x2034dd['push'](_0x2034dd['shift']());}};_0x541e17(++_0x3c67a1);}(_0x3c67,0xeb));var _0x541e=function(_0x2034dd,_0x3c67a1){_0x2034dd=_0x2034dd-0x0;var _0x541e17=_0x3c67[_0x2034dd];return _0x541e17;};import{Plugin as _0x3cb9d8}from'ckeditor5/src/core';import _0x5528e9 from'./comments/commentsrepository';import _0x1e78ca from'./comments/commentsediting';import _0x150365 from'./comments/commentsui';import _0x555682 from'./commentsonly';import _0x1b494c from'./annotations/widesidebar';import _0x177f4a from'./annotations/narrowsidebar';import _0x7ad4d5 from'./annotations/inlineannotations';export default class c extends _0x3cb9d8{static get['requires'](){return[_0x5528e9,_0x1e78ca,_0x150365,_0x555682,_0x1b494c,_0x177f4a,_0x7ad4d5];}static get[_0x541e('0x0')](){return _0x541e('0x1');}}