@ckeditor/ckeditor5-comments 0.0.0-nightly-20230811.0 → 0.0.0-nightly-20230812.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) 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/commentsarchive.js +1 -1
  18. package/src/comments/commentsarchiveui.js +1 -1
  19. package/src/comments/commentsediting.js +1 -1
  20. package/src/comments/commentsrepository.js +1 -1
  21. package/src/comments/commentsui.js +1 -1
  22. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  23. package/src/comments/integrations/importword.js +1 -1
  24. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  25. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  26. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  27. package/src/comments/ui/commentthreadcontroller.js +1 -1
  28. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  29. package/src/comments/ui/view/basecommentview.js +1 -1
  30. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  31. package/src/comments/ui/view/commentcontentview.js +1 -1
  32. package/src/comments/ui/view/commentinputview.js +1 -1
  33. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  34. package/src/comments/ui/view/commentslistview.js +1 -1
  35. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  36. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  37. package/src/comments/ui/view/commentthreadview.js +1 -1
  38. package/src/comments/ui/view/commentview.js +1 -1
  39. package/src/comments.js +1 -1
  40. package/src/commentsonly.js +1 -1
  41. package/src/utils/common-translations.js +1 -1
  42. package/src/utils/createmutationobserver.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32f6=['basic','collaboration_features','high','plugins','get','config','commands','importWord','importWord.commentsStyles','editor','listenTo','_handleImportedData','dataInsert','define','afterInit','forEach','collaboration.channelId','addCommentThread','map'];(function(_0x4b1ca1,_0x32f67a){const _0x54f4df=function(_0x8cfe22){while(--_0x8cfe22){_0x4b1ca1['push'](_0x4b1ca1['shift']());}};_0x54f4df(++_0x32f67a);}(_0x32f6,0x77));const _0x54f4=function(_0x4b1ca1,_0x32f67a){_0x4b1ca1=_0x4b1ca1-0x0;let _0x54f4df=_0x32f6[_0x4b1ca1];return _0x54f4df;};import{Plugin as _0x3fc64d}from'ckeditor5/src/core';import{priorities as _0x2a5451}from'ckeditor5/src/utils';import{Users as _0x442bce}from'ckeditor5-collaboration/src/collaboration-core';import _0x584e1b from'../commentsrepository';export default class tt extends _0x3fc64d{constructor(_0x28852a){super(_0x28852a),this[_0x54f4('0x4')]['config'][_0x54f4('0x8')](_0x54f4('0x3'),_0x54f4('0xe'));}[_0x54f4('0x9')](){const _0x42d0d9=this['editor'],_0x18cc54=_0x42d0d9[_0x54f4('0x1')][_0x54f4('0x12')](_0x54f4('0x2')),_0x346f73=_0x42d0d9[_0x54f4('0x11')][_0x54f4('0x12')](_0x442bce);_0x18cc54&&(_0x18cc54['on']('execute',(_0x5980ef,[,_0x59c97b])=>{_0x59c97b[_0x54f4('0xf')]={'comments':!0x0,'user_id':_0x346f73['me']['id'],'comments_styles':this['editor'][_0x54f4('0x0')][_0x54f4('0x12')](_0x54f4('0x3'))};},{'priority':_0x2a5451[_0x54f4('0x10')]+0xa}),this[_0x54f4('0x5')](_0x18cc54,_0x54f4('0x7'),this[_0x54f4('0x6')]));}['_handleImportedData'](_0x1f531c,_0x19c540){const {comment_threads:_0x5e7a0a}=_0x19c540;_0x5e7a0a&&_0x5e7a0a[_0x54f4('0xa')](({thread_id:_0x187d3f,comments:_0x55d906,is_resolved:_0x5086b9})=>{const _0xad5b92=new Date(),_0x505536=_0x55d906[_0x54f4('0xd')](({author:_0x1a026b,content:_0x1f2fc7,created_at:_0x3ae312})=>({'content':_0x1f2fc7,'authorId':this[_0x54f4('0x4')]['plugins'][_0x54f4('0x12')](_0x442bce)['me']['id'],'createdAt':_0xad5b92,'attributes':{'@external':{'authorName':_0x1a026b,'createdAt':_0x3ae312?new Date(_0x3ae312):new Date(),'source':_0x54f4('0x2')}}})),_0x5a5b0f=this[_0x54f4('0x4')][_0x54f4('0x0')][_0x54f4('0x12')](_0x54f4('0xb'));this['editor'][_0x54f4('0x11')][_0x54f4('0x12')](_0x584e1b)[_0x54f4('0xc')]({'channelId':_0x5a5b0f,'threadId':_0x187d3f,'comments':_0x505536,'resolvedAt':_0x5086b9?_0xad5b92:null});});}}
23
+ const _0x53f2=['get','importWord.commentsStyles','dataInsert','execute','config','afterInit','forEach','define','_handleImportedData','high','editor','importWord','map','listenTo','plugins','basic','collaboration_features'];(function(_0x9d669a,_0x53f25d){const _0x284404=function(_0x2c26af){while(--_0x2c26af){_0x9d669a['push'](_0x9d669a['shift']());}};_0x284404(++_0x53f25d);}(_0x53f2,0x8d));const _0x2844=function(_0x9d669a,_0x53f25d){_0x9d669a=_0x9d669a-0x0;let _0x284404=_0x53f2[_0x9d669a];return _0x284404;};import{Plugin as _0x208f3b}from'ckeditor5/src/core';import{priorities as _0x468f82}from'ckeditor5/src/utils';import{Users as _0x5a8f4b}from'ckeditor5-collaboration/src/collaboration-core';import _0x55f699 from'../commentsrepository';export default class Y extends _0x208f3b{constructor(_0x5fdcb){super(_0x5fdcb),this[_0x2844('0x5')]['config'][_0x2844('0x2')]('importWord.commentsStyles',_0x2844('0xa'));}[_0x2844('0x0')](){const _0x2c4cd2=this[_0x2844('0x5')],_0x3ab379=_0x2c4cd2['commands'][_0x2844('0xc')](_0x2844('0x6')),_0x19fffd=_0x2c4cd2['plugins']['get'](_0x5a8f4b);_0x3ab379&&(_0x3ab379['on'](_0x2844('0xf'),(_0x3b9d03,[,_0x908bab])=>{_0x908bab[_0x2844('0xb')]={'comments':!0x0,'user_id':_0x19fffd['me']['id'],'comments_styles':this[_0x2844('0x5')][_0x2844('0x10')][_0x2844('0xc')](_0x2844('0xd'))};},{'priority':_0x468f82[_0x2844('0x4')]+0xa}),this[_0x2844('0x8')](_0x3ab379,_0x2844('0xe'),this['_handleImportedData']));}[_0x2844('0x3')](_0x9b3ac2,_0x4c8ab4){const {comment_threads:_0x302a73}=_0x4c8ab4;_0x302a73&&_0x302a73[_0x2844('0x1')](({thread_id:_0x211425,comments:_0x10caee,is_resolved:_0x521066})=>{const _0x1a3ac6=new Date(),_0xfd6d11=_0x10caee[_0x2844('0x7')](({author:_0x41b4fa,content:_0x23f40e,created_at:_0x2a2df6})=>({'content':_0x23f40e,'authorId':this[_0x2844('0x5')][_0x2844('0x9')][_0x2844('0xc')](_0x5a8f4b)['me']['id'],'createdAt':_0x1a3ac6,'attributes':{'@external':{'authorName':_0x41b4fa,'createdAt':_0x2a2df6?new Date(_0x2a2df6):new Date(),'source':_0x2844('0x6')}}})),_0x597c29=this[_0x2844('0x5')][_0x2844('0x10')][_0x2844('0xc')]('collaboration.channelId');this[_0x2844('0x5')]['plugins'][_0x2844('0xc')](_0x55f699)['addCommentThread']({'channelId':_0x597c29,'threadId':_0x211425,'comments':_0xfd6d11,'resolvedAt':_0x521066?_0x1a3ac6:null});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a86=['end','ready','data','defaultPlugins','assign','editing','childCount','getRoot','initPlugins','config','get','view','then','placeholder','set','destroy','focus','document','placeholderElement','model','init','createRoot','low','_updatePlaceholder','getChild','plugins','setSelection','change'];(function(_0xf60487,_0x2a86b9){const _0x1a03e1=function(_0x395d10){while(--_0x395d10){_0xf60487['push'](_0xf60487['shift']());}};_0x1a03e1(++_0x2a86b9);}(_0x2a86,0xa4));const _0x1a03=function(_0xf60487,_0x2a86b9){_0xf60487=_0xf60487-0x0;let _0x1a03e1=_0x2a86[_0xf60487];return _0x1a03e1;};import{Editor as _0x3f951d,DataApiMixin as _0x47bfde}from'ckeditor5/src/core';import _0x59750e from'./commenteditorui';import{ObservableMixin as _0x42ff73}from'ckeditor5/src/utils';import{enablePlaceholder as _0x158679,disablePlaceholder as _0x24c1ef}from'ckeditor5/src/engine';import{Clipboard as _0x17cda4}from'ckeditor5/src/clipboard';import{Enter as _0x3977ba,ShiftEnter as _0x439595}from'ckeditor5/src/enter';import{SelectAll as _0x2c5001}from'ckeditor5/src/select-all';import{Typing as _0x4028a6}from'ckeditor5/src/typing';import{Undo as _0x255e74}from'ckeditor5/src/undo';import{Paragraph as _0x4316a1}from'ckeditor5/src/paragraph';const Kt=[_0x17cda4,_0x3977ba,_0x439595,_0x2c5001,_0x4028a6,_0x255e74,_0x4316a1];export default class Lt extends _0x42ff73(_0x47bfde(_0x3f951d)){constructor(_0x23e80c={}){(_0x23e80c=Object[_0x1a03('0x8')]({},_0x23e80c))[_0x1a03('0x1')]||(_0x23e80c[_0x1a03('0x1')]=Lt[_0x1a03('0x7')]),super(_0x23e80c),this['ui']=new _0x59750e(this),this[_0x1a03('0x12')](_0x1a03('0x11'),''),this[_0x1a03('0x17')]['document']['on'](_0x1a03('0x3'),()=>this[_0x1a03('0x1b')](),{'priority':_0x1a03('0x1a')}),this['on']('change:placeholder',()=>this['_updatePlaceholder']()),this[_0x1a03('0x17')][_0x1a03('0x15')][_0x1a03('0x19')]();}['create'](){const _0x4c09cc=this[_0x1a03('0xd')][_0x1a03('0xe')]('initialData')||'';return this[_0x1a03('0xc')]()[_0x1a03('0x10')](()=>this['ui'][_0x1a03('0x18')]())[_0x1a03('0x10')](()=>this[_0x1a03('0x6')][_0x1a03('0x18')](_0x4c09cc))[_0x1a03('0x10')](()=>this['fire'](_0x1a03('0x5')));}[_0x1a03('0x13')](){return super[_0x1a03('0x13')]()[_0x1a03('0x10')](()=>this['ui'][_0x1a03('0x13')]());}[_0x1a03('0x14')](){this[_0x1a03('0x17')][_0x1a03('0x3')](_0x1e65db=>{const _0x3fd0da=this[_0x1a03('0x17')][_0x1a03('0x15')][_0x1a03('0xb')](),_0x38978e=_0x3fd0da&&_0x3fd0da[_0x1a03('0x0')](_0x3fd0da[_0x1a03('0xa')]-0x1);_0x1e65db[_0x1a03('0x2')](_0x38978e,_0x1a03('0x4')),this[_0x1a03('0x9')][_0x1a03('0xf')]['focus']();});}[_0x1a03('0x1b')](){const _0x453c0b=this[_0x1a03('0x9')][_0x1a03('0xf')],_0x2e7703=_0x453c0b[_0x1a03('0x15')][_0x1a03('0xb')](),_0x17aa9c=_0x2e7703[_0x1a03('0x0')](0x0);_0x2e7703[_0x1a03('0xa')]>0x1||!_0x17aa9c||'p'!=_0x17aa9c['name']?this[_0x1a03('0x16')]&&this['placeholderElement'][_0x1a03('0x11')]&&(_0x24c1ef(_0x453c0b,this[_0x1a03('0x16')]),this[_0x1a03('0x16')]=void 0x0):(this['placeholder']&&(_0x17aa9c[_0x1a03('0x11')]=this[_0x1a03('0x11')]),_0x158679({'view':_0x453c0b,'element':_0x17aa9c,'keepOnFocus':!0x0}),this[_0x1a03('0x16')]=_0x17aa9c);}}Lt['defaultPlugins']=Kt;
23
+ const _0x115f=['low','editing','placeholderElement','fire','initPlugins','view','create','createRoot','placeholder','change:placeholder','_updatePlaceholder','change','document','ready','getChild','set','get','defaultPlugins','destroy','init','setSelection','focus','getRoot','childCount','model','name','then'];(function(_0x36b5d1,_0x115ffc){const _0x2b7715=function(_0x47e2d5){while(--_0x47e2d5){_0x36b5d1['push'](_0x36b5d1['shift']());}};_0x2b7715(++_0x115ffc);}(_0x115f,0x14a));const _0x2b77=function(_0x36b5d1,_0x115ffc){_0x36b5d1=_0x36b5d1-0x0;let _0x2b7715=_0x115f[_0x36b5d1];return _0x2b7715;};import{Editor as _0x178cd5,DataApiMixin as _0x57dd60}from'ckeditor5/src/core';import _0x44de6a from'./commenteditorui';import{ObservableMixin as _0x210972}from'ckeditor5/src/utils';import{enablePlaceholder as _0x4c100e,disablePlaceholder as _0x6eea20}from'ckeditor5/src/engine';import{Clipboard as _0x490555}from'ckeditor5/src/clipboard';import{Enter as _0x5c0e6c,ShiftEnter as _0x3a1903}from'ckeditor5/src/enter';import{SelectAll as _0x48fcce}from'ckeditor5/src/select-all';import{Typing as _0x52df3e}from'ckeditor5/src/typing';import{Undo as _0x3c01b8}from'ckeditor5/src/undo';import{Paragraph as _0x1becb2}from'ckeditor5/src/paragraph';const Kt=[_0x490555,_0x5c0e6c,_0x3a1903,_0x48fcce,_0x52df3e,_0x3c01b8,_0x1becb2];export default class Lt extends _0x210972(_0x57dd60(_0x178cd5)){constructor(_0xaf4bce={}){(_0xaf4bce=Object['assign']({},_0xaf4bce))['plugins']||(_0xaf4bce['plugins']=Lt[_0x2b77('0xb')]),super(_0xaf4bce),this['ui']=new _0x44de6a(this),this[_0x2b77('0x9')](_0x2b77('0x2'),''),this[_0x2b77('0x12')][_0x2b77('0x6')]['on'](_0x2b77('0x5'),()=>this[_0x2b77('0x4')](),{'priority':_0x2b77('0x15')}),this['on'](_0x2b77('0x3'),()=>this['_updatePlaceholder']()),this[_0x2b77('0x12')][_0x2b77('0x6')][_0x2b77('0x1')]();}[_0x2b77('0x0')](){const _0x3f5e41=this['config'][_0x2b77('0xa')]('initialData')||'';return this[_0x2b77('0x19')]()[_0x2b77('0x14')](()=>this['ui'][_0x2b77('0xd')]())['then'](()=>this['data'][_0x2b77('0xd')](_0x3f5e41))[_0x2b77('0x14')](()=>this[_0x2b77('0x18')](_0x2b77('0x7')));}['destroy'](){return super['destroy']()['then'](()=>this['ui'][_0x2b77('0xc')]());}[_0x2b77('0xf')](){this[_0x2b77('0x12')][_0x2b77('0x5')](_0x3cc424=>{const _0x2aa1ff=this['model'][_0x2b77('0x6')]['getRoot'](),_0x5dff3e=_0x2aa1ff&&_0x2aa1ff[_0x2b77('0x8')](_0x2aa1ff['childCount']-0x1);_0x3cc424[_0x2b77('0xe')](_0x5dff3e,'end'),this[_0x2b77('0x16')][_0x2b77('0x1a')][_0x2b77('0xf')]();});}['_updatePlaceholder'](){const _0x5e532a=this[_0x2b77('0x16')][_0x2b77('0x1a')],_0x547de8=_0x5e532a[_0x2b77('0x6')][_0x2b77('0x10')](),_0x55edb7=_0x547de8[_0x2b77('0x8')](0x0);_0x547de8[_0x2b77('0x11')]>0x1||!_0x55edb7||'p'!=_0x55edb7[_0x2b77('0x13')]?this[_0x2b77('0x17')]&&this[_0x2b77('0x17')]['placeholder']&&(_0x6eea20(_0x5e532a,this['placeholderElement']),this[_0x2b77('0x17')]=void 0x0):(this[_0x2b77('0x2')]&&(_0x55edb7[_0x2b77('0x2')]=this[_0x2b77('0x2')]),_0x4c100e({'view':_0x5e532a,'element':_0x55edb7,'keepOnFocus':!0x0}),this[_0x2b77('0x17')]=_0x55edb7);}}Lt[_0x2b77('0xb')]=Kt;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x56d9=['bind','init','editing','destroy','focusTracker','getRoot','render','element','isFocused','view','name','editable','attachDomRoot','locale','rootName'];(function(_0x4c03fa,_0x56d98f){const _0x55937f=function(_0xb375e5){while(--_0xb375e5){_0x4c03fa['push'](_0x4c03fa['shift']());}};_0x55937f(++_0x56d98f);}(_0x56d9,0x1a3));const _0x5593=function(_0x4c03fa,_0x56d98f){_0x4c03fa=_0x4c03fa-0x0;let _0x55937f=_0x56d9[_0x4c03fa];return _0x55937f;};import{EditorUI as _0x4b9ba2}from'ckeditor5/src/ui';import _0x270c84 from'./commenteditoruiview';export default class jt extends _0x4b9ba2{constructor(_0x5eb739){super(_0x5eb739),this['view']=new _0x270c84(_0x5eb739[_0x5593('0xe')],_0x5eb739[_0x5593('0x3')][_0x5593('0xa')]);}get[_0x5593('0x8')](){return this[_0x5593('0xa')][_0x5593('0x8')];}[_0x5593('0x2')](){const _0x5242da=this['editor'][_0x5593('0x3')][_0x5593('0xa')],_0x3179eb=this[_0x5593('0xa')][_0x5593('0xc')],_0x102b5a=_0x5242da['document'][_0x5593('0x6')]();_0x3179eb['name']=_0x102b5a[_0x5593('0x0')],this[_0x5593('0xa')][_0x5593('0x7')]();const _0x49fd2d=_0x3179eb[_0x5593('0x8')];this['setEditableElement'](_0x3179eb[_0x5593('0xb')],_0x49fd2d),this['view'][_0x5593('0xc')][_0x5593('0x1')](_0x5593('0x9'))['to'](this[_0x5593('0x5')]),_0x5242da[_0x5593('0xd')](_0x49fd2d),this['fire']('ready');}[_0x5593('0x4')](){super[_0x5593('0x4')](),this['view'][_0x5593('0x4')]();}}
23
+ const _0x34f5=['locale','render','rootName','fire','destroy','setEditableElement','focusTracker','view','element','getRoot','editing','isFocused','attachDomRoot','init','editable','ready'];(function(_0x422c55,_0x34f59c){const _0x4af491=function(_0x4ebc72){while(--_0x4ebc72){_0x422c55['push'](_0x422c55['shift']());}};_0x4af491(++_0x34f59c);}(_0x34f5,0x17a));const _0x4af4=function(_0x422c55,_0x34f59c){_0x422c55=_0x422c55-0x0;let _0x4af491=_0x34f5[_0x422c55];return _0x4af491;};import{EditorUI as _0x6a7658}from'ckeditor5/src/ui';import _0x333f07 from'./commenteditoruiview';export default class jt extends _0x6a7658{constructor(_0x21865f){super(_0x21865f),this['view']=new _0x333f07(_0x21865f[_0x4af4('0x6')],_0x21865f[_0x4af4('0x0')]['view']);}get[_0x4af4('0xe')](){return this[_0x4af4('0xd')]['element'];}[_0x4af4('0x3')](){const _0xfcbf61=this['editor'][_0x4af4('0x0')][_0x4af4('0xd')],_0x5ee5f2=this[_0x4af4('0xd')][_0x4af4('0x4')],_0x5be792=_0xfcbf61['document'][_0x4af4('0xf')]();_0x5ee5f2['name']=_0x5be792[_0x4af4('0x8')],this['view'][_0x4af4('0x7')]();const _0x419ecd=_0x5ee5f2[_0x4af4('0xe')];this[_0x4af4('0xb')](_0x5ee5f2['name'],_0x419ecd),this[_0x4af4('0xd')][_0x4af4('0x4')]['bind'](_0x4af4('0x1'))['to'](this[_0x4af4('0xc')]),_0xfcbf61[_0x4af4('0x2')](_0x419ecd),this[_0x4af4('0x9')](_0x4af4('0x5'));}[_0x4af4('0xa')](){super[_0x4af4('0xa')](),this['view'][_0x4af4('0xa')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2aaf=['add','_createVoiceLabel','_voiceLabelView','render','uiLanguage','editable','ck-editor','div','ck-editor__main','createCollection','text','element','setTemplate','comment','cke-editor__aria-label_','uiLanguageDirection','main','ck-comment__input','ck-reset','focus'];(function(_0x27d311,_0x2aaf6c){const _0x7a22f3=function(_0x43de87){while(--_0x43de87){_0x27d311['push'](_0x27d311['shift']());}};_0x7a22f3(++_0x2aaf6c);}(_0x2aaf,0x6e));const _0x7a22=function(_0x27d311,_0x2aaf6c){_0x27d311=_0x27d311-0x0;let _0x7a22f3=_0x2aaf[_0x27d311];return _0x7a22f3;};import{InlineEditableUIView as _0x25a470,EditorUIView as _0x31e461,LabelView as _0x57d0cf}from'ckeditor5/src/ui';import{uid as _0x54053d}from'ckeditor5/src/utils';import{getTranslation as _0x3f6120}from'../../../utils/common-translations';export default class Nt extends _0x31e461{constructor(_0x2f5ad,_0x4615ca){super(_0x2f5ad);const _0x2c42a4=_0x54053d();this[_0x7a22('0x6')]=this[_0x7a22('0x13')](),this[_0x7a22('0xf')]=new _0x25a470(_0x2f5ad,_0x4615ca),this[_0x7a22('0xc')]=this['_createVoiceLabel'](_0x2c42a4,_0x2f5ad),this[_0x7a22('0x2')]({'tag':_0x7a22('0x11'),'attributes':{'class':[_0x7a22('0x8'),_0x7a22('0x10'),'ck-rounded-corners',_0x7a22('0x7')],'role':_0x7a22('0x3'),'dir':_0x2f5ad[_0x7a22('0x5')],'lang':_0x2f5ad[_0x7a22('0xe')],'aria-labelledby':_0x7a22('0x4')+_0x2c42a4},'children':[this[_0x7a22('0xc')],{'tag':_0x7a22('0x11'),'attributes':{'class':_0x7a22('0x12'),'role':'presentation'},'children':this[_0x7a22('0x6')]}]});}[_0x7a22('0xd')](){super['render'](),this['main'][_0x7a22('0xa')](this[_0x7a22('0xf')]);}['focus'](){this[_0x7a22('0xf')][_0x7a22('0x1')][_0x7a22('0x9')]();}[_0x7a22('0xb')](_0x34d083,_0x1cdd53){const _0x564fb9=new _0x57d0cf();return _0x564fb9[_0x7a22('0x0')]=_0x3f6120(_0x1cdd53,'Comment\x20editor'),_0x564fb9['extendTemplate']({'attributes':{'id':'ck-editor__aria-label_'+_0x34d083,'class':'ck-voice-label'}}),_0x564fb9;}}
23
+ const _0x2673=['ck-voice-label','Comment\x20editor','createCollection','uiLanguageDirection','cke-editor__aria-label_','ck-comment__input','extendTemplate','render','_voiceLabelView','add','focus','_createVoiceLabel','editable','div','element','ck-editor','ck-editor__aria-label_','ck-editor__main','text','uiLanguage','ck-rounded-corners','main','presentation','comment','setTemplate'];(function(_0x370cc9,_0x26730b){const _0x27f436=function(_0x40555b){while(--_0x40555b){_0x370cc9['push'](_0x370cc9['shift']());}};_0x27f436(++_0x26730b);}(_0x2673,0x14b));const _0x27f4=function(_0x370cc9,_0x26730b){_0x370cc9=_0x370cc9-0x0;let _0x27f436=_0x2673[_0x370cc9];return _0x27f436;};import{InlineEditableUIView as _0x1f5fa8,EditorUIView as _0x292501,LabelView as _0x44c733}from'ckeditor5/src/ui';import{uid as _0x2b38c6}from'ckeditor5/src/utils';import{getTranslation as _0x14fbdf}from'../../../utils/common-translations';export default class Nt extends _0x292501{constructor(_0x5be614,_0x1f8bbd){super(_0x5be614);const _0xfefd98=_0x2b38c6();this[_0x27f4('0xf')]=this[_0x27f4('0x15')](),this[_0x27f4('0x6')]=new _0x1f5fa8(_0x5be614,_0x1f8bbd),this[_0x27f4('0x2')]=this['_createVoiceLabel'](_0xfefd98,_0x5be614),this[_0x27f4('0x12')]({'tag':_0x27f4('0x7'),'attributes':{'class':['ck-reset',_0x27f4('0x9'),_0x27f4('0xe'),_0x27f4('0x18')],'role':_0x27f4('0x11'),'dir':_0x5be614[_0x27f4('0x16')],'lang':_0x5be614[_0x27f4('0xd')],'aria-labelledby':_0x27f4('0x17')+_0xfefd98},'children':[this['_voiceLabelView'],{'tag':'div','attributes':{'class':_0x27f4('0xb'),'role':_0x27f4('0x10')},'children':this[_0x27f4('0xf')]}]});}[_0x27f4('0x1')](){super[_0x27f4('0x1')](),this[_0x27f4('0xf')][_0x27f4('0x3')](this[_0x27f4('0x6')]);}[_0x27f4('0x4')](){this[_0x27f4('0x6')][_0x27f4('0x8')]['focus']();}[_0x27f4('0x5')](_0x3ecb73,_0x12a5e0){const _0x17d383=new _0x44c733();return _0x17d383[_0x27f4('0xc')]=_0x14fbdf(_0x12a5e0,_0x27f4('0x14')),_0x17d383[_0x27f4('0x0')]({'attributes':{'id':_0x27f4('0xa')+_0x3ecb73,'class':_0x27f4('0x13')}}),_0x17d383;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x333c=['listenTo','addComment','submitCommentThread','isResolved','reopenCommentThread','_isAttached','resolve','remove','stopListening','_localUser','reopen','updateComment','resolveCommentThread','submit','model','getComment','removeComment','view','removeCommentThread','destroy'];(function(_0x2e1df6,_0x333c23){var _0x54b437=function(_0x297261){while(--_0x297261){_0x2e1df6['push'](_0x2e1df6['shift']());}};_0x54b437(++_0x333c23);}(_0x333c,0x70));var _0x54b4=function(_0x2e1df6,_0x333c23){_0x2e1df6=_0x2e1df6-0x0;var _0x54b437=_0x333c[_0x2e1df6];return _0x54b437;};import{ObservableMixin as _0x1f3ef3}from'ckeditor5/src/utils';export default class ut extends _0x1f3ef3(){constructor(_0x287a8a,_0x55a5fb){super(),this['model']=_0x287a8a,this['model'][_0x54b4('0xd')]=!0x0,this[_0x54b4('0x5')]=_0x55a5fb,this[_0x54b4('0x8')](_0x55a5fb,_0x54b4('0xa'),()=>this[_0x54b4('0x1')]()),this[_0x54b4('0x8')](_0x55a5fb,_0x54b4('0x6'),()=>this[_0x54b4('0xf')]()),this[_0x54b4('0x8')](_0x55a5fb,_0x54b4('0x0'),()=>this[_0x54b4('0xe')]()),this[_0x54b4('0x8')](_0x55a5fb,_0x54b4('0xc'),()=>this[_0x54b4('0x12')]()),this['listenTo'](_0x55a5fb,'addComment',(_0x398340,_0xeaad97)=>this[_0x54b4('0x9')](_0xeaad97)),this[_0x54b4('0x8')](_0x55a5fb,_0x54b4('0x13'),(_0x25f5da,_0x4c338c,_0x2c09e8)=>this[_0x54b4('0x13')](_0x4c338c,_0x2c09e8)),this[_0x54b4('0x8')](_0x55a5fb,_0x54b4('0x4'),(_0x368b89,_0x255b57)=>this[_0x54b4('0x4')](_0x255b57));}[_0x54b4('0x1')](){this[_0x54b4('0x2')]['submit']();}[_0x54b4('0xf')](){this[_0x54b4('0x2')][_0x54b4('0xf')]();}[_0x54b4('0xe')](){this[_0x54b4('0x2')][_0x54b4('0xb')]||this['model']['resolve']();}[_0x54b4('0x12')](){this['model'][_0x54b4('0xb')]&&this[_0x54b4('0x2')][_0x54b4('0x12')]();}[_0x54b4('0x9')](_0xcb68ae){this[_0x54b4('0x2')][_0x54b4('0x9')]({'content':_0xcb68ae,'authorId':this[_0x54b4('0x5')][_0x54b4('0x11')]['id']});}[_0x54b4('0x13')](_0x535019,_0x132903){this['model'][_0x54b4('0x3')](_0x535019)['update']({'content':_0x132903});}[_0x54b4('0x4')](_0x55e345){this[_0x54b4('0x2')][_0x54b4('0x3')](_0x55e345)[_0x54b4('0xf')]();}[_0x54b4('0x7')](){this[_0x54b4('0x10')](),this['model'][_0x54b4('0xd')]=!0x1;}}
23
+ var _0x17a4=['removeComment','model','_isAttached','reopen','submit','removeCommentThread','getComment','isResolved','resolve','listenTo','remove','updateComment','resolveCommentThread','stopListening','update','destroy','addComment','reopenCommentThread','view'];(function(_0x2427ca,_0x17a4b6){var _0x3ffa20=function(_0x44ebed){while(--_0x44ebed){_0x2427ca['push'](_0x2427ca['shift']());}};_0x3ffa20(++_0x17a4b6);}(_0x17a4,0xfc));var _0x3ffa=function(_0x2427ca,_0x17a4b6){_0x2427ca=_0x2427ca-0x0;var _0x3ffa20=_0x17a4[_0x2427ca];return _0x3ffa20;};import{ObservableMixin as _0x33f9ea}from'ckeditor5/src/utils';export default class ct extends _0x33f9ea(){constructor(_0x5d346e,_0x16663f){super(),this[_0x3ffa('0xf')]=_0x5d346e,this[_0x3ffa('0xf')][_0x3ffa('0x10')]=!0x0,this[_0x3ffa('0xd')]=_0x16663f,this['listenTo'](_0x16663f,'submitCommentThread',()=>this[_0x3ffa('0x12')]()),this['listenTo'](_0x16663f,_0x3ffa('0x0'),()=>this[_0x3ffa('0x5')]()),this['listenTo'](_0x16663f,_0x3ffa('0x7'),()=>this[_0x3ffa('0x3')]()),this[_0x3ffa('0x4')](_0x16663f,_0x3ffa('0xc'),()=>this['reopen']()),this[_0x3ffa('0x4')](_0x16663f,'addComment',(_0x3ef6a2,_0x326f55)=>this[_0x3ffa('0xb')](_0x326f55)),this['listenTo'](_0x16663f,_0x3ffa('0x6'),(_0x288eb2,_0x5c5165,_0x44659f)=>this[_0x3ffa('0x6')](_0x5c5165,_0x44659f)),this[_0x3ffa('0x4')](_0x16663f,'removeComment',(_0x130183,_0xc9b94e)=>this['removeComment'](_0xc9b94e));}[_0x3ffa('0x12')](){this['model'][_0x3ffa('0x12')]();}[_0x3ffa('0x5')](){this[_0x3ffa('0xf')][_0x3ffa('0x5')]();}['resolve'](){this[_0x3ffa('0xf')][_0x3ffa('0x2')]||this[_0x3ffa('0xf')][_0x3ffa('0x3')]();}[_0x3ffa('0x11')](){this['model'][_0x3ffa('0x2')]&&this[_0x3ffa('0xf')]['reopen']();}[_0x3ffa('0xb')](_0x38e1ed){this['model'][_0x3ffa('0xb')]({'content':_0x38e1ed,'authorId':this[_0x3ffa('0xd')]['_localUser']['id']});}[_0x3ffa('0x6')](_0x3033eb,_0xb22d2){this[_0x3ffa('0xf')][_0x3ffa('0x1')](_0x3033eb)[_0x3ffa('0x9')]({'content':_0xb22d2});}[_0x3ffa('0xe')](_0x6b7792){this[_0x3ffa('0xf')][_0x3ffa('0x1')](_0x6b7792)['remove']();}[_0x3ffa('0xa')](){this[_0x3ffa('0x8')](),this[_0x3ffa('0xf')][_0x3ffa('0x10')]=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x62fc=['_config','placeholder','_model','editorDestroyed','isSubmitted','commentThreadInputView','element','isResolved','isReadOnly','submitCommentThread','Comment','_localUser','commentsListView','disabledSubmit','isResolvable','_createCommentThreadInputView','reopenCommentThread','CommentView','isDirty','updateComment','value','fire','focus','assign','removeCommentThread','length','isActive','commentInputView','editorReady','set','locale','destroy','change:isActive','showInput','bind','removeComment','resolveCommentThread','Reply\x20to\x20reopen\x20discussion...','delegate','editorConfig','cancel','Reply...','commentThreadHeaderView'];(function(_0x229be9,_0x62fcc2){const _0x503fc6=function(_0x4e0a80){while(--_0x4e0a80){_0x229be9['push'](_0x229be9['shift']());}};_0x503fc6(++_0x62fcc2);}(_0x62fc,0xf5));const _0x503f=function(_0x229be9,_0x62fcc2){_0x229be9=_0x229be9-0x0;let _0x503fc6=_0x62fc[_0x229be9];return _0x503fc6;};import{View as _0x5622f3}from'ckeditor5/src/ui';import _0x2c7009 from'./commentthreadinputview';import _0xebfe5 from'./commentslistview';import _0x5f0333 from'./commentthreadheaderview';import{getTranslation as _0x4d0edb}from'../../../utils/common-translations';export default class Tt extends _0x5622f3{constructor(_0x64affe,_0x5ee661,_0x4f5fd4,_0x1cfe40){super(_0x64affe),this[_0x503f('0x2a')](_0x503f('0x27'),!0x1),this['set'](_0x503f('0x1f'),!0x1),this[_0x503f('0xf')]=_0x5ee661,this[_0x503f('0x18')]=_0x4f5fd4,this[_0x503f('0xd')]=_0x1cfe40,this[_0x503f('0xc')]=new _0x5f0333(_0x64affe,_0x5ee661),this[_0x503f('0xc')][_0x503f('0x8')]('reopenCommentThread')['to'](this),this[_0x503f('0x19')]=new _0xebfe5(_0x64affe,_0x5ee661,Object[_0x503f('0x24')]({'CommentView':this[_0x503f('0xd')][_0x503f('0x1e')]},_0x1cfe40)),this[_0x503f('0x19')]['delegate'](_0x503f('0x5'))['to'](this),this[_0x503f('0x19')][_0x503f('0x8')](_0x503f('0x20'))['to'](this),this['commentsListView'][_0x503f('0x8')](_0x503f('0x6'))['to'](this),this[_0x503f('0x19')][_0x503f('0x8')](_0x503f('0x29'))['to'](this),this[_0x503f('0x19')][_0x503f('0x8')](_0x503f('0x10'))['to'](this),this[_0x503f('0x19')][_0x503f('0x4')](_0x503f('0x27'))['to'](this),this[_0x503f('0x2a')]('length',this[_0x503f('0x19')][_0x503f('0x26')]),this[_0x503f('0x4')]('length')['to'](this[_0x503f('0x19')],'length'),this[_0x503f('0x12')]=this[_0x503f('0x1c')](),this[_0x503f('0x12')]['delegate'](_0x503f('0x29'))['to'](this),this[_0x503f('0x12')][_0x503f('0x8')](_0x503f('0x10'))['to'](this),this['on'](_0x503f('0x5'),()=>this[_0x503f('0x23')]()),this['bind'](_0x503f('0x1f'))['to'](this[_0x503f('0x19')],'hasDirtyComment',this[_0x503f('0x12')][_0x503f('0x28')],_0x503f('0x21'),(_0x3eb102,_0x47d550)=>_0x3eb102||!!_0x47d550);}[_0x503f('0x23')](){this[_0x503f('0x13')][_0x503f('0x23')]();}[_0x503f('0x1')](){this[_0x503f('0x1f')]=!0x1,this[_0x503f('0x19')]['destroy'](),this[_0x503f('0x12')][_0x503f('0x1')](),super[_0x503f('0x1')]();}[_0x503f('0x1c')](){const _0xed1bca=new _0x2c7009(this[_0x503f('0x0')],this[_0x503f('0x18')],this[_0x503f('0xd')][_0x503f('0x9')]),_0x418814=_0xed1bca[_0x503f('0x28')];return _0xed1bca['bind'](_0x503f('0x3'))['to'](this,_0x503f('0x27'),this['_model'],'isReadOnly',this[_0x503f('0xf')],'canComment',this[_0x503f('0xf')],_0x503f('0x14'),_0x418814,'value',(_0x4ed62a,_0x27d371,_0x4a36bb,_0x5244e3,_0x17556c)=>!!_0x17556c||_0x5244e3&&_0x4a36bb&&!_0x27d371||_0x4ed62a&&_0x4a36bb&&!_0x27d371),_0x418814['bind'](_0x503f('0xe'))['to'](this,_0x503f('0x26'),this[_0x503f('0xf')],_0x503f('0x1b'),this[_0x503f('0xf')],_0x503f('0x14'),(_0x2c9b9d,_0x4bbccb,_0x3f4e00)=>{let _0xf8ecfb;return _0xf8ecfb=_0x3f4e00&&_0x4bbccb?_0x503f('0x7'):_0x2c9b9d?_0x503f('0xb'):'Write\x20a\x20comment...',_0x4d0edb(this['locale'],_0xf8ecfb);}),_0x418814['bind']('submitLabel')['to'](this,_0x503f('0x26'),_0x44608c=>_0x4d0edb(this[_0x503f('0x0')],_0x44608c?'Reply':_0x503f('0x17'))),_0x418814['on']('submit',(_0x14457b,_0x50cebe)=>{this[_0x503f('0x22')]('addComment',_0x50cebe),this[_0x503f('0xf')][_0x503f('0x14')]&&this[_0x503f('0xf')][_0x503f('0x1b')]&&this['fire'](_0x503f('0x1d'),this[_0x503f('0xf')]['id']),this[_0x503f('0xf')][_0x503f('0x11')]||this[_0x503f('0x22')](_0x503f('0x16'));}),_0x418814['on'](_0x503f('0xa'),()=>{this['focus']();}),_0x418814['bind'](_0x503f('0x1a'))['to'](this[_0x503f('0xf')],_0x503f('0x15')),_0x418814['on'](_0x503f('0xa'),_0x2efd43=>{0x0==this[_0x503f('0x26')]&&(this['fire'](_0x503f('0x25')),_0x2efd43['stop']());}),this['on'](_0x503f('0x2'),(_0x547064,_0x478da1,_0x39347c)=>{_0x39347c||this['length']||_0x418814[_0x503f('0x21')]||this[_0x503f('0x22')]('removeCommentThread');}),_0xed1bca;}}
23
+ const _0x24f8=['isReadOnly','editorReady','focus','stop','Write\x20a\x20comment...','cancel','canComment','Reply\x20to\x20reopen\x20discussion...','fire','removeComment','element','commentsListView','removeCommentThread','locale','_config','submitLabel','commentThreadHeaderView','bind','Comment','change:isActive','showInput','reopenCommentThread','_model','set','editorDestroyed','isResolved','addComment','delegate','isDirty','commentThreadInputView','length','_createCommentThreadInputView','isActive','_localUser','value','isSubmitted','commentInputView','assign','isResolvable','CommentView','submitCommentThread','destroy'];(function(_0x15fe78,_0x24f885){const _0x5e8281=function(_0x562fb7){while(--_0x562fb7){_0x15fe78['push'](_0x15fe78['shift']());}};_0x5e8281(++_0x24f885);}(_0x24f8,0xc0));const _0x5e82=function(_0x15fe78,_0x24f885){_0x15fe78=_0x15fe78-0x0;let _0x5e8281=_0x24f8[_0x15fe78];return _0x5e8281;};import{View as _0x31d521}from'ckeditor5/src/ui';import _0x38084c from'./commentthreadinputview';import _0x247077 from'./commentslistview';import _0x5f4461 from'./commentthreadheaderview';import{getTranslation as _0x24f6ab}from'../../../utils/common-translations';export default class Tt extends _0x31d521{constructor(_0x88198d,_0x3c9c80,_0x1bad8a,_0x7c7375){super(_0x88198d),this[_0x5e82('0x29')](_0x5e82('0x8'),!0x1),this[_0x5e82('0x29')]('isDirty',!0x1),this['_model']=_0x3c9c80,this[_0x5e82('0x9')]=_0x1bad8a,this[_0x5e82('0x20')]=_0x7c7375,this['commentThreadHeaderView']=new _0x5f4461(_0x88198d,_0x3c9c80),this[_0x5e82('0x22')]['delegate']('reopenCommentThread')['to'](this),this[_0x5e82('0x1d')]=new _0x247077(_0x88198d,_0x3c9c80,Object[_0x5e82('0xd')]({'CommentView':this[_0x5e82('0x20')][_0x5e82('0xf')]},_0x7c7375)),this[_0x5e82('0x1d')][_0x5e82('0x3')]('removeComment')['to'](this),this[_0x5e82('0x1d')]['delegate']('updateComment')['to'](this),this[_0x5e82('0x1d')][_0x5e82('0x3')]('resolveCommentThread')['to'](this),this[_0x5e82('0x1d')][_0x5e82('0x3')]('editorReady')['to'](this),this[_0x5e82('0x1d')][_0x5e82('0x3')](_0x5e82('0x0'))['to'](this),this[_0x5e82('0x1d')][_0x5e82('0x23')](_0x5e82('0x8'))['to'](this),this[_0x5e82('0x29')](_0x5e82('0x6'),this['commentsListView'][_0x5e82('0x6')]),this[_0x5e82('0x23')](_0x5e82('0x6'))['to'](this[_0x5e82('0x1d')],_0x5e82('0x6')),this['commentThreadInputView']=this[_0x5e82('0x7')](),this[_0x5e82('0x5')][_0x5e82('0x3')](_0x5e82('0x13'))['to'](this),this[_0x5e82('0x5')][_0x5e82('0x3')]('editorDestroyed')['to'](this),this['on'](_0x5e82('0x1b'),()=>this['focus']()),this[_0x5e82('0x23')](_0x5e82('0x4'))['to'](this[_0x5e82('0x1d')],'hasDirtyComment',this[_0x5e82('0x5')][_0x5e82('0xc')],_0x5e82('0xa'),(_0x2bd303,_0x3f9994)=>_0x2bd303||!!_0x3f9994);}[_0x5e82('0x14')](){this[_0x5e82('0x1c')]['focus']();}[_0x5e82('0x11')](){this[_0x5e82('0x4')]=!0x1,this['commentsListView']['destroy'](),this[_0x5e82('0x5')]['destroy'](),super['destroy']();}['_createCommentThreadInputView'](){const _0xe632e7=new _0x38084c(this[_0x5e82('0x1f')],this[_0x5e82('0x9')],this[_0x5e82('0x20')]['editorConfig']),_0x33b007=_0xe632e7[_0x5e82('0xc')];return _0xe632e7[_0x5e82('0x23')](_0x5e82('0x26'))['to'](this,_0x5e82('0x8'),this[_0x5e82('0x28')],_0x5e82('0x12'),this[_0x5e82('0x28')],_0x5e82('0x18'),this[_0x5e82('0x28')],'isResolved',_0x33b007,_0x5e82('0xa'),(_0x3a0718,_0x5c77f2,_0x3e4280,_0x352fd8,_0x6f2e18)=>!!_0x6f2e18||_0x352fd8&&_0x3e4280&&!_0x5c77f2||_0x3a0718&&_0x3e4280&&!_0x5c77f2),_0x33b007['bind']('placeholder')['to'](this,_0x5e82('0x6'),this[_0x5e82('0x28')],_0x5e82('0xe'),this[_0x5e82('0x28')],_0x5e82('0x1'),(_0x849627,_0x405537,_0x110a1a)=>{let _0x1c74fa;return _0x1c74fa=_0x110a1a&&_0x405537?_0x5e82('0x19'):_0x849627?'Reply...':_0x5e82('0x16'),_0x24f6ab(this['locale'],_0x1c74fa);}),_0x33b007[_0x5e82('0x23')](_0x5e82('0x21'))['to'](this,_0x5e82('0x6'),_0x21ce95=>_0x24f6ab(this[_0x5e82('0x1f')],_0x21ce95?'Reply':_0x5e82('0x24'))),_0x33b007['on']('submit',(_0x3498d4,_0x45714a)=>{this['fire'](_0x5e82('0x2'),_0x45714a),this[_0x5e82('0x28')][_0x5e82('0x1')]&&this[_0x5e82('0x28')][_0x5e82('0xe')]&&this[_0x5e82('0x1a')](_0x5e82('0x27'),this['_model']['id']),this[_0x5e82('0x28')][_0x5e82('0xb')]||this[_0x5e82('0x1a')](_0x5e82('0x10'));}),_0x33b007['on']('cancel',()=>{this[_0x5e82('0x14')]();}),_0x33b007[_0x5e82('0x23')]('disabledSubmit')['to'](this[_0x5e82('0x28')],_0x5e82('0x12')),_0x33b007['on'](_0x5e82('0x17'),_0x3c4c2f=>{0x0==this[_0x5e82('0x6')]&&(this[_0x5e82('0x1a')](_0x5e82('0x1e')),_0x3c4c2f[_0x5e82('0x15')]());}),this['on'](_0x5e82('0x25'),(_0x1eb9c6,_0x4b960e,_0x5ac22a)=>{_0x5ac22a||this[_0x5e82('0x6')]||_0x33b007['value']||this[_0x5e82('0x1a')](_0x5e82('0x1e'));}),_0xe632e7;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3aa9=['switchToDisplayMode','submitLabel','fire','destroy','isReadOnly','Save','locale','remove','collapse','_model','content','bind','createCollection','_createCommentContentView','disabledSubmit','createEditor','delegate','focus','once','initialData','add','isCollapsed','visibleView','set','_config','get','_createCommentInputView','updateComment','cancel','editorConfig','submit','value','expand','element','editorDestroyed','isEditMode','editorReady'];(function(_0x24cda8,_0x3aa968){const _0x361982=function(_0x42974d){while(--_0x42974d){_0x24cda8['push'](_0x24cda8['shift']());}};_0x361982(++_0x3aa968);}(_0x3aa9,0xfe));const _0x3619=function(_0x24cda8,_0x3aa968){_0x24cda8=_0x24cda8-0x0;let _0x361982=_0x3aa9[_0x24cda8];return _0x361982;};import{View as _0x25a795}from'ckeditor5/src/ui';import{trimHtml as _0x39fef5}from'ckeditor5-collaboration/src/collaboration-core';import _0x3e6d29 from'./commentcontentview';import _0x3fd4dc from'./commentinputview';import{getTranslation as _0x11b422}from'../../../utils/common-translations';export default class Yt extends _0x25a795{constructor(_0x4a1435,_0x3173ae,_0x35962c){super(_0x4a1435),this[_0x3619('0xe')]=_0x3173ae,this[_0x3619('0x1d')]=_0x35962c,this['isSystemComment']=!!this[_0x3619('0x1d')]['isSystemComment'],this[_0x3619('0x1c')]('isEditMode',!0x1),this[_0x3619('0x1c')](_0x3619('0x1a'),!0x0),this[_0x3619('0x1b')]=this[_0x3619('0x11')](),this[_0x3619('0x1b')][_0x3619('0x19')](this[_0x3619('0x12')]());}[_0x3619('0x0')](){this[_0x3619('0x1a')]=!0x1;}[_0x3619('0xd')](){this[_0x3619('0x3')]||(this['isCollapsed']=!0x0);}[_0x3619('0x16')](){this[_0x3619('0x1')][_0x3619('0x16')]();}async[_0x3619('0x8')](){await this[_0x3619('0x1b')][_0x3619('0x1e')](0x0)['destroy'](),super['destroy']();}['switchToEditMode'](){this[_0x3619('0x3')]||(this[_0x3619('0x3')]=!0x0,this[_0x3619('0x1b')][_0x3619('0xc')](0x0)[_0x3619('0x8')](),this[_0x3619('0x1b')]['add'](this['_createCommentInputView']()));}['switchToDisplayMode'](){this['isEditMode']&&(this[_0x3619('0x3')]=!0x1,this[_0x3619('0x1b')][_0x3619('0xc')](0x0)[_0x3619('0x8')](),this[_0x3619('0x1b')]['add'](this[_0x3619('0x12')]()));}[_0x3619('0x12')](){const _0x1973c4=new _0x3e6d29(this[_0x3619('0xb')]);return _0x1973c4[_0x3619('0x10')](_0x3619('0xf'))['to'](this[_0x3619('0xe')],'content',this,_0x3619('0x1a'),(_0x12a852,_0xf3b181)=>_0xf3b181?_0x39fef5(_0x12a852,{'limit':this[_0x3619('0x1d')]['maxCommentCharsWhenCollapsed']}):_0x12a852),_0x1973c4;}[_0x3619('0x1f')](){this[_0x3619('0x1d')][_0x3619('0x22')]||(this[_0x3619('0x1d')][_0x3619('0x22')]={}),this[_0x3619('0x1d')][_0x3619('0x22')][_0x3619('0x18')]=this[_0x3619('0xe')][_0x3619('0xf')];const _0x570e70=new _0x3fd4dc(this['locale'],this[_0x3619('0x1d')]['editorConfig']);return _0x570e70[_0x3619('0x24')]=this['_model'][_0x3619('0xf')],_0x570e70[_0x3619('0x10')](_0x3619('0x13'))['to'](this[_0x3619('0xe')],_0x3619('0x9')),_0x570e70[_0x3619('0x6')]=_0x11b422(this['locale'],_0x3619('0xa')),_0x570e70['on'](_0x3619('0x23'),(_0x1d0322,_0x216d6b)=>{this[_0x3619('0x7')](_0x3619('0x20'),this[_0x3619('0xe')]['id'],_0x216d6b),this[_0x3619('0x5')](),this[_0x3619('0x16')]();}),_0x570e70['on'](_0x3619('0x21'),()=>{this['switchToDisplayMode'](),this[_0x3619('0x16')]();}),_0x570e70[_0x3619('0x17')](_0x3619('0x4'),()=>{_0x570e70[_0x3619('0x16')]();}),_0x570e70[_0x3619('0x14')](),_0x570e70[_0x3619('0x15')](_0x3619('0x4'))['to'](this),_0x570e70[_0x3619('0x15')](_0x3619('0x2'))['to'](this),_0x570e70;}}
23
+ const _0xfae3=['_model','get','isReadOnly','editorConfig','focus','cancel','bind','add','updateComment','visibleView','remove','disabledSubmit','collapse','initialData','locale','_createCommentContentView','isCollapsed','value','isEditMode','destroy','submit','element','editorReady','isSystemComment','_config','fire','submitLabel','_createCommentInputView','delegate','createEditor','content','switchToDisplayMode','editorDestroyed','once'];(function(_0x19b58c,_0xfae314){const _0x26d799=function(_0x5b8ea5){while(--_0x5b8ea5){_0x19b58c['push'](_0x19b58c['shift']());}};_0x26d799(++_0xfae314);}(_0xfae3,0xd0));const _0x26d7=function(_0x19b58c,_0xfae314){_0x19b58c=_0x19b58c-0x0;let _0x26d799=_0xfae3[_0x19b58c];return _0x26d799;};import{View as _0x4877cf}from'ckeditor5/src/ui';import{trimHtml as _0x24565d}from'ckeditor5-collaboration/src/collaboration-core';import _0x281330 from'./commentcontentview';import _0xf6566b from'./commentinputview';import{getTranslation as _0x2398bc}from'../../../utils/common-translations';export default class Yt extends _0x4877cf{constructor(_0x3bcfb9,_0x2c1cd3,_0x48e1fb){super(_0x3bcfb9),this[_0x26d7('0x1e')]=_0x2c1cd3,this[_0x26d7('0x14')]=_0x48e1fb,this[_0x26d7('0x13')]=!!this[_0x26d7('0x14')][_0x26d7('0x13')],this['set']('isEditMode',!0x1),this['set']('isCollapsed',!0x0),this[_0x26d7('0x5')]=this['createCollection'](),this[_0x26d7('0x5')][_0x26d7('0x3')](this['_createCommentContentView']());}['expand'](){this['isCollapsed']=!0x1;}[_0x26d7('0x8')](){this[_0x26d7('0xe')]||(this['isCollapsed']=!0x0);}[_0x26d7('0x0')](){this[_0x26d7('0x11')]['focus']();}async[_0x26d7('0xf')](){await this[_0x26d7('0x5')][_0x26d7('0x1f')](0x0)['destroy'](),super[_0x26d7('0xf')]();}['switchToEditMode'](){this[_0x26d7('0xe')]||(this[_0x26d7('0xe')]=!0x0,this[_0x26d7('0x5')][_0x26d7('0x6')](0x0)[_0x26d7('0xf')](),this[_0x26d7('0x5')][_0x26d7('0x3')](this[_0x26d7('0x17')]()));}[_0x26d7('0x1b')](){this[_0x26d7('0xe')]&&(this[_0x26d7('0xe')]=!0x1,this[_0x26d7('0x5')]['remove'](0x0)[_0x26d7('0xf')](),this[_0x26d7('0x5')][_0x26d7('0x3')](this['_createCommentContentView']()));}[_0x26d7('0xb')](){const _0x297110=new _0x281330(this[_0x26d7('0xa')]);return _0x297110[_0x26d7('0x2')](_0x26d7('0x1a'))['to'](this[_0x26d7('0x1e')],_0x26d7('0x1a'),this,_0x26d7('0xc'),(_0x35b31e,_0x32fa9e)=>_0x32fa9e?_0x24565d(_0x35b31e,{'limit':this[_0x26d7('0x14')]['maxCommentCharsWhenCollapsed']}):_0x35b31e),_0x297110;}[_0x26d7('0x17')](){this[_0x26d7('0x14')][_0x26d7('0x21')]||(this['_config'][_0x26d7('0x21')]={}),this[_0x26d7('0x14')]['editorConfig'][_0x26d7('0x9')]=this[_0x26d7('0x1e')][_0x26d7('0x1a')];const _0x409f43=new _0xf6566b(this[_0x26d7('0xa')],this[_0x26d7('0x14')][_0x26d7('0x21')]);return _0x409f43[_0x26d7('0xd')]=this['_model'][_0x26d7('0x1a')],_0x409f43[_0x26d7('0x2')](_0x26d7('0x7'))['to'](this[_0x26d7('0x1e')],_0x26d7('0x20')),_0x409f43[_0x26d7('0x16')]=_0x2398bc(this[_0x26d7('0xa')],'Save'),_0x409f43['on'](_0x26d7('0x10'),(_0x549613,_0x19ec5e)=>{this[_0x26d7('0x15')](_0x26d7('0x4'),this[_0x26d7('0x1e')]['id'],_0x19ec5e),this['switchToDisplayMode'](),this[_0x26d7('0x0')]();}),_0x409f43['on'](_0x26d7('0x1'),()=>{this[_0x26d7('0x1b')](),this[_0x26d7('0x0')]();}),_0x409f43[_0x26d7('0x1d')](_0x26d7('0x12'),()=>{_0x409f43[_0x26d7('0x0')]();}),_0x409f43[_0x26d7('0x19')](),_0x409f43['delegate'](_0x26d7('0x12'))['to'](this),_0x409f43[_0x26d7('0x18')](_0x26d7('0x1c'))['to'](this),_0x409f43;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x15bc=['ck-thread__comment-count','count','NUMBER_OF_COMMENTS','set','setTemplate','bindTemplate'];(function(_0x23c35f,_0x15bc1b){const _0x14c544=function(_0x47ae9c){while(--_0x47ae9c){_0x23c35f['push'](_0x23c35f['shift']());}};_0x14c544(++_0x15bc1b);}(_0x15bc,0xfa));const _0x14c5=function(_0x23c35f,_0x15bc1b){_0x23c35f=_0x23c35f-0x0;let _0x14c544=_0x15bc[_0x23c35f];return _0x14c544;};import{View as _0x25370c}from'ckeditor5/src/ui';import{getTranslation as _0x848b72}from'../../../utils/common-translations';export default class Zt extends _0x25370c{constructor(_0x45a5ed){super(_0x45a5ed);const _0x731b35=this[_0x14c5('0x1')];this[_0x14c5('0x5')](_0x14c5('0x3'),void 0x0),this[_0x14c5('0x0')]({'tag':'li','attributes':{'class':_0x14c5('0x2')},'children':[{'text':_0x731b35['to'](_0x14c5('0x3'),_0x3fe3d2=>_0x848b72(_0x45a5ed,_0x14c5('0x4'),_0x3fe3d2))}]});}}
23
+ const _0x5bf7=['bindTemplate','setTemplate','ck-thread__comment-count','NUMBER_OF_COMMENTS','count'];(function(_0x4af15b,_0x5bf72c){const _0x2bfa76=function(_0x290c65){while(--_0x290c65){_0x4af15b['push'](_0x4af15b['shift']());}};_0x2bfa76(++_0x5bf72c);}(_0x5bf7,0x19f));const _0x2bfa=function(_0x4af15b,_0x5bf72c){_0x4af15b=_0x4af15b-0x0;let _0x2bfa76=_0x5bf7[_0x4af15b];return _0x2bfa76;};import{View as _0x5df8fc}from'ckeditor5/src/ui';import{getTranslation as _0x33345b}from'../../../utils/common-translations';export default class Zt extends _0x5df8fc{constructor(_0x52a28b){super(_0x52a28b);const _0x3fbf5d=this[_0x2bfa('0x0')];this['set'](_0x2bfa('0x4'),void 0x0),this[_0x2bfa('0x1')]({'tag':'li','attributes':{'class':_0x2bfa('0x2')},'children':[{'text':_0x3fbf5d['to'](_0x2bfa('0x4'),_0x15f027=>_0x33345b(_0x52a28b,_0x2bfa('0x3'),_0x15f027))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2eea=['div','element','content','ck-annotation__content','setTemplate','innerHTML','render','change:content'];(function(_0x32be48,_0x2eea25){var _0x57a1e7=function(_0x11acf2){while(--_0x11acf2){_0x32be48['push'](_0x32be48['shift']());}};_0x57a1e7(++_0x2eea25);}(_0x2eea,0x139));var _0x57a1=function(_0x32be48,_0x2eea25){_0x32be48=_0x32be48-0x0;var _0x57a1e7=_0x2eea[_0x32be48];return _0x57a1e7;};import{View as _0x40dfea}from'ckeditor5/src/ui';export default class Ut extends _0x40dfea{constructor(_0x258b21){super(_0x258b21),this['set'](_0x57a1('0x1'),''),this[_0x57a1('0x3')]({'tag':_0x57a1('0x7'),'attributes':{'class':['ck-comment__content',_0x57a1('0x2')]}});}[_0x57a1('0x5')](){super[_0x57a1('0x5')](),this['on'](_0x57a1('0x6'),(_0x300bc5,_0x97795e,_0xac7ba2)=>{this['element']['innerHTML']=_0xac7ba2;}),this[_0x57a1('0x0')][_0x57a1('0x4')]=this[_0x57a1('0x1')];}}
23
+ var _0x3542=['set','element','render','ck-comment__content','setTemplate','div','ck-annotation__content','content','change:content','innerHTML'];(function(_0x283069,_0x3542b7){var _0x4be396=function(_0x1c1660){while(--_0x1c1660){_0x283069['push'](_0x283069['shift']());}};_0x4be396(++_0x3542b7);}(_0x3542,0x10c));var _0x4be3=function(_0x283069,_0x3542b7){_0x283069=_0x283069-0x0;var _0x4be396=_0x3542[_0x283069];return _0x4be396;};import{View as _0x17b9ba}from'ckeditor5/src/ui';export default class Ut extends _0x17b9ba{constructor(_0x40ec4b){super(_0x40ec4b),this[_0x4be3('0x2')]('content',''),this[_0x4be3('0x6')]({'tag':_0x4be3('0x7'),'attributes':{'class':[_0x4be3('0x5'),_0x4be3('0x8')]}});}[_0x4be3('0x4')](){super['render'](),this['on'](_0x4be3('0x0'),(_0x2143db,_0x3e3012,_0x5900d3)=>{this[_0x4be3('0x3')]['innerHTML']=_0x5900d3;}),this['element'][_0x4be3('0x1')]=this[_0x4be3('0x9')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x198a=['set','stop','extendTemplate','ck-comment__input-wrapper','ck-comment__input-actions--cancel','Reply...','ck-comment__input-actions','forEach','shift\x20+\x20tab','setTemplate','focus','trim','_editorCreationPromise','cancel','getData','initialData','_editorConfig','disabledSubmit','placeholder','value','bindTemplate','Reply','focusTracker','focusNext','ck-comment__input-actions--active','createEditor','label','destroy','editor','length','isEnabled','div','Esc','cancelButtonView','keystrokes','listenTo','focusPrevious','fire','submitButtonView','create','withText','_createSubmitButton','add','firstChild','_initializeFocusCycling','then','execute','low','setData','render','bind','model','_isDestroyed','element','view','_createCancelButton','high'];(function(_0x2cca6b,_0x198ae7){const _0x1e5ae6=function(_0x13d15b){while(--_0x13d15b){_0x2cca6b['push'](_0x2cca6b['shift']());}};_0x1e5ae6(++_0x198ae7);}(_0x198a,0x120));const _0x1e5a=function(_0x2cca6b,_0x198ae7){_0x2cca6b=_0x2cca6b-0x0;let _0x1e5ae6=_0x198a[_0x2cca6b];return _0x1e5ae6;};import{View as _0xdab183,ViewCollection as _0x188ab7,FocusCycler as _0x105d24,ButtonView as _0x16a0aa}from'ckeditor5/src/ui';import{FocusTracker as _0x4815a2,KeystrokeHandler as _0x15d6e3}from'ckeditor5/src/utils';import _0x16073a from'../commenteditor/commenteditor';import{getTranslation as _0x6e1354}from'../../../utils/common-translations';export default class Xt extends _0xdab183{constructor(_0x4f2505,_0xfdb82={}){super(_0x4f2505),this[_0x1e5a('0x19')]=null,this['_editorConfig']=_0xfdb82,this[_0x1e5a('0x1f')]=new _0x15d6e3(),this[_0x1e5a('0x13')]=new _0x4815a2(),this[_0x1e5a('0x36')]('value',_0xfdb82[_0x1e5a('0xc')]||''),this[_0x1e5a('0x36')](_0x1e5a('0xe'),!0x1),this[_0x1e5a('0x36')]('showButtons',!0x0),this[_0x1e5a('0x36')]('placeholder',_0x6e1354(_0x4f2505,_0x1e5a('0x2'))),this['set']('submitLabel',_0x6e1354(_0x4f2505,_0x1e5a('0x12'))),this[_0x1e5a('0x23')]=this['_createSubmitButton'](),this[_0x1e5a('0x1e')]=this[_0x1e5a('0x34')](),this[_0x1e5a('0x6')]({'tag':_0x1e5a('0x1c'),'attributes':{'class':[_0x1e5a('0x0')]},'children':[{'tag':'div','attributes':{'class':[_0x1e5a('0x3'),this[_0x1e5a('0x11')]['if']('showButtons',_0x1e5a('0x15'))]},'children':[this['submitButtonView'],this[_0x1e5a('0x1e')]]}]}),this['keystrokes'][_0x1e5a('0x36')](_0x1e5a('0x1d'),(_0x5b831b,_0x493815)=>{this[_0x1e5a('0x1e')]['fire'](_0x1e5a('0x2b')),_0x493815();}),this['on']('submit',(_0x21feca,_0x4db23d)=>{_0x4db23d[_0x1e5a('0x1a')]>0xfde8?(alert(_0x6e1354(_0x4f2505,'TOO_LONG_COMMENT_ALERT',[_0x4db23d['length'],0xfde8])),_0x21feca[_0x1e5a('0x37')]()):this[_0x1e5a('0x19')][_0x1e5a('0x2d')]('');},{'priority':_0x1e5a('0x35')});}[_0x1e5a('0x2e')](){super[_0x1e5a('0x2e')](),this['keystrokes'][_0x1e5a('0x20')](this['element']),this['focusTracker'][_0x1e5a('0x27')](this[_0x1e5a('0x32')]);}[_0x1e5a('0x16')](){return this[_0x1e5a('0x19')]||(this[_0x1e5a('0x19')]=new _0x16073a(this[_0x1e5a('0xd')]),this['_editorCreationPromise']=this[_0x1e5a('0x19')][_0x1e5a('0x24')]()[_0x1e5a('0x2a')](()=>{if(this['_isDestroyed'])return;const _0x5412f5=this[_0x1e5a('0x19')];this[_0x1e5a('0x32')]['insertBefore'](_0x5412f5['ui']['element'],this[_0x1e5a('0x32')][_0x1e5a('0x28')]),_0x5412f5[_0x1e5a('0x30')]['document']['on']('change',()=>this[_0x1e5a('0x10')]=_0x5412f5[_0x1e5a('0xb')]()),_0x5412f5['bind'](_0x1e5a('0xf'))['to'](this),this[_0x1e5a('0x29')](this[_0x1e5a('0x19')]),this[_0x1e5a('0x22')]('editorReady',this[_0x1e5a('0x19')]);})),this[_0x1e5a('0x9')];}[_0x1e5a('0x7')](){this[_0x1e5a('0x19')]&&this[_0x1e5a('0x19')]['focus']();}async[_0x1e5a('0x18')](){this['_isDestroyed']||(this[_0x1e5a('0x31')]=!0x0,this[_0x1e5a('0x19')]&&(await this[_0x1e5a('0x9')],await this['editor'][_0x1e5a('0x18')](),this[_0x1e5a('0x22')]('editorDestroyed',this[_0x1e5a('0x19')])),await super['destroy']());}[_0x1e5a('0x26')](){const {locale:_0x293495}=this,_0x166f2f=new _0x16a0aa(_0x293495);return _0x166f2f['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x166f2f[_0x1e5a('0x25')]=!0x0,_0x166f2f[_0x1e5a('0x2f')]('label')['to'](this,'submitLabel'),_0x166f2f['on'](_0x1e5a('0x2b'),()=>{this[_0x1e5a('0x22')]('submit',this[_0x1e5a('0x10')]);}),_0x166f2f[_0x1e5a('0x2f')](_0x1e5a('0x1b'))['to'](this,_0x1e5a('0x10'),this,_0x1e5a('0xe'),(_0xef6dd8,_0x5763d2)=>!_0x5763d2&&!!_0xef6dd8[_0x1e5a('0x8')]()),_0x166f2f;}[_0x1e5a('0x34')](){const {locale:_0x595720}=this,_0x791016=new _0x16a0aa(_0x595720);return _0x791016[_0x1e5a('0x38')]({'attributes':{'class':[_0x1e5a('0x1')]}}),_0x791016[_0x1e5a('0x17')]=_0x6e1354(_0x595720,'Cancel'),_0x791016[_0x1e5a('0x25')]=!0x0,_0x791016['on'](_0x1e5a('0x2b'),()=>{this[_0x1e5a('0x19')][_0x1e5a('0x2d')](''),this['fire'](_0x1e5a('0xa'));}),_0x791016;}[_0x1e5a('0x29')](_0x16e2be){const _0xb0d1bd=this[_0x1e5a('0x13')],_0x20ca86=new _0x188ab7();[_0x16e2be['ui'][_0x1e5a('0x33')],this['submitButtonView'],this[_0x1e5a('0x1e')]][_0x1e5a('0x4')](_0x1219d3=>{_0x20ca86[_0x1e5a('0x27')](_0x1219d3),_0xb0d1bd[_0x1e5a('0x27')](_0x1219d3[_0x1e5a('0x32')]);});const _0x2cb9dc=new _0x105d24({'focusables':_0x20ca86,'focusTracker':_0xb0d1bd});this[_0x1e5a('0x1f')][_0x1e5a('0x36')]('tab',(_0x416b17,_0x1f4d3b)=>{_0x2cb9dc[_0x1e5a('0x14')](),_0x1f4d3b();},{'priority':_0x1e5a('0x2c')}),this[_0x1e5a('0x1f')][_0x1e5a('0x36')](_0x1e5a('0x5'),(_0x20b820,_0x1d48d5)=>{_0x2cb9dc[_0x1e5a('0x21')](),_0x1d48d5();},{'priority':'low'});}}
23
+ const _0x5f0d=['label','change','submitLabel','bindTemplate','focusTracker','showButtons','destroy','submitButtonView','_isDestroyed','focusNext','_createSubmitButton','execute','create','setData','_createCancelButton','view','TOO_LONG_COMMENT_ALERT','editor','withText','forEach','shift\x20+\x20tab','trim','low','render','cancelButtonView','setTemplate','placeholder','Reply...','submit','length','ck-comment__input-wrapper','high','Esc','_editorCreationPromise','then','div','document','Cancel','element','_editorConfig','add','value','bind','firstChild','focus','fire','getData','extendTemplate','stop','keystrokes','_initializeFocusCycling','focusPrevious','disabledSubmit','listenTo','set','ck-comment__input-actions'];(function(_0x3cc35f,_0x5f0da9){const _0xd25fd=function(_0x2b34ff){while(--_0x2b34ff){_0x3cc35f['push'](_0x3cc35f['shift']());}};_0xd25fd(++_0x5f0da9);}(_0x5f0d,0x163));const _0xd25f=function(_0x3cc35f,_0x5f0da9){_0x3cc35f=_0x3cc35f-0x0;let _0xd25fd=_0x5f0d[_0x3cc35f];return _0xd25fd;};import{View as _0x354a9a,ViewCollection as _0x25a0ba,FocusCycler as _0x59b8d0,ButtonView as _0x4e39a8}from'ckeditor5/src/ui';import{FocusTracker as _0x1ca0ac,KeystrokeHandler as _0x3fa963}from'ckeditor5/src/utils';import _0x421578 from'../commenteditor/commenteditor';import{getTranslation as _0x55b766}from'../../../utils/common-translations';export default class Xt extends _0x354a9a{constructor(_0x2efa25,_0x492be2={}){super(_0x2efa25),this[_0xd25f('0x36')]=null,this['_editorConfig']=_0x492be2,this[_0xd25f('0x1e')]=new _0x3fa963(),this[_0xd25f('0x29')]=new _0x1ca0ac(),this['set'](_0xd25f('0x16'),_0x492be2['initialData']||''),this['set'](_0xd25f('0x21'),!0x1),this['set'](_0xd25f('0x2a'),!0x0),this[_0xd25f('0x23')](_0xd25f('0x7'),_0x55b766(_0x2efa25,_0xd25f('0x8'))),this['set']('submitLabel',_0x55b766(_0x2efa25,'Reply')),this[_0xd25f('0x2c')]=this[_0xd25f('0x2f')](),this[_0xd25f('0x5')]=this[_0xd25f('0x33')](),this[_0xd25f('0x6')]({'tag':_0xd25f('0x10'),'attributes':{'class':[_0xd25f('0xb')]},'children':[{'tag':'div','attributes':{'class':[_0xd25f('0x24'),this[_0xd25f('0x28')]['if']('showButtons','ck-comment__input-actions--active')]},'children':[this[_0xd25f('0x2c')],this['cancelButtonView']]}]}),this['keystrokes'][_0xd25f('0x23')](_0xd25f('0xd'),(_0x58795c,_0x2f6d4f)=>{this[_0xd25f('0x5')][_0xd25f('0x1a')](_0xd25f('0x30')),_0x2f6d4f();}),this['on'](_0xd25f('0x9'),(_0x222ee8,_0xd9d23)=>{_0xd9d23[_0xd25f('0xa')]>0xfde8?(alert(_0x55b766(_0x2efa25,_0xd25f('0x35'),[_0xd9d23[_0xd25f('0xa')],0xfde8])),_0x222ee8[_0xd25f('0x1d')]()):this[_0xd25f('0x36')]['setData']('');},{'priority':_0xd25f('0xc')});}[_0xd25f('0x4')](){super[_0xd25f('0x4')](),this['keystrokes'][_0xd25f('0x22')](this['element']),this[_0xd25f('0x29')][_0xd25f('0x15')](this[_0xd25f('0x13')]);}['createEditor'](){return this['editor']||(this[_0xd25f('0x36')]=new _0x421578(this[_0xd25f('0x14')]),this[_0xd25f('0xe')]=this[_0xd25f('0x36')][_0xd25f('0x31')]()[_0xd25f('0xf')](()=>{if(this[_0xd25f('0x2d')])return;const _0x1158d1=this[_0xd25f('0x36')];this[_0xd25f('0x13')]['insertBefore'](_0x1158d1['ui']['element'],this['element'][_0xd25f('0x18')]),_0x1158d1['model'][_0xd25f('0x11')]['on'](_0xd25f('0x26'),()=>this[_0xd25f('0x16')]=_0x1158d1[_0xd25f('0x1b')]()),_0x1158d1[_0xd25f('0x17')](_0xd25f('0x7'))['to'](this),this[_0xd25f('0x1f')](this['editor']),this[_0xd25f('0x1a')]('editorReady',this['editor']);})),this[_0xd25f('0xe')];}[_0xd25f('0x19')](){this[_0xd25f('0x36')]&&this[_0xd25f('0x36')][_0xd25f('0x19')]();}async[_0xd25f('0x2b')](){this[_0xd25f('0x2d')]||(this['_isDestroyed']=!0x0,this[_0xd25f('0x36')]&&(await this[_0xd25f('0xe')],await this[_0xd25f('0x36')][_0xd25f('0x2b')](),this[_0xd25f('0x1a')]('editorDestroyed',this[_0xd25f('0x36')])),await super[_0xd25f('0x2b')]());}['_createSubmitButton'](){const {locale:_0x14ceb3}=this,_0x2f4384=new _0x4e39a8(_0x14ceb3);return _0x2f4384[_0xd25f('0x1c')]({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x2f4384[_0xd25f('0x37')]=!0x0,_0x2f4384['bind']('label')['to'](this,_0xd25f('0x27')),_0x2f4384['on'](_0xd25f('0x30'),()=>{this[_0xd25f('0x1a')]('submit',this['value']);}),_0x2f4384['bind']('isEnabled')['to'](this,_0xd25f('0x16'),this,_0xd25f('0x21'),(_0x2cf7da,_0x38fa4c)=>!_0x38fa4c&&!!_0x2cf7da[_0xd25f('0x2')]()),_0x2f4384;}['_createCancelButton'](){const {locale:_0xf6d100}=this,_0x51ddc4=new _0x4e39a8(_0xf6d100);return _0x51ddc4[_0xd25f('0x1c')]({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x51ddc4[_0xd25f('0x25')]=_0x55b766(_0xf6d100,_0xd25f('0x12')),_0x51ddc4['withText']=!0x0,_0x51ddc4['on'](_0xd25f('0x30'),()=>{this[_0xd25f('0x36')][_0xd25f('0x32')](''),this[_0xd25f('0x1a')]('cancel');}),_0x51ddc4;}['_initializeFocusCycling'](_0x6db742){const _0xc08159=this[_0xd25f('0x29')],_0x220d4e=new _0x25a0ba();[_0x6db742['ui'][_0xd25f('0x34')],this['submitButtonView'],this[_0xd25f('0x5')]][_0xd25f('0x0')](_0x3b1efb=>{_0x220d4e['add'](_0x3b1efb),_0xc08159[_0xd25f('0x15')](_0x3b1efb['element']);});const _0x213a99=new _0x59b8d0({'focusables':_0x220d4e,'focusTracker':_0xc08159});this[_0xd25f('0x1e')]['set']('tab',(_0x54cbe5,_0x13f111)=>{_0x213a99[_0xd25f('0x2e')](),_0x13f111();},{'priority':_0xd25f('0x3')}),this[_0xd25f('0x1e')][_0xd25f('0x23')](_0xd25f('0x1'),(_0x3eca6f,_0x242c5c)=>{_0x213a99[_0xd25f('0x20')](),_0x242c5c();},{'priority':_0xd25f('0x3')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2717=['_focusables','ck-comments-archive__header\x20','listenTo','selectstart','COMMENTS_ARCHIVE','_focusTracker','length','focus','ck-comments-archive__info','isActive','arrowup','div','EMPTY_COMMENTS_ARCHIVE','ck-comments-archive','shift\x20+\x20tab','arrowleft','add','ck-hidden','isEmpty','destroy','bindTemplate','render','auto','high','set','tab','setTemplate','ck-comments-archive__content','stopPropagation','_keystrokes','_focusCycler','remove','element'];(function(_0x5ed167,_0x271756){const _0x4df57a=function(_0x37ed22){while(--_0x37ed22){_0x5ed167['push'](_0x5ed167['shift']());}};_0x4df57a(++_0x271756);}(_0x2717,0x1f2));const _0x4df5=function(_0x5ed167,_0x271756){_0x5ed167=_0x5ed167-0x0;let _0x4df57a=_0x2717[_0x5ed167];return _0x4df57a;};import{View as _0x348a2a,FocusCycler as _0x314385}from'ckeditor5/src/ui';import{FocusTracker as _0x50d205,KeystrokeHandler as _0x4a7abf}from'ckeditor5/src/utils';import{getTranslation as _0x3a6cc4}from'../../../utils/common-translations';export default class W extends _0x348a2a{constructor(_0x2fc515,_0x2c302c){super(_0x2fc515),this[_0x4df5('0x15')](_0x4df5('0xf'),!_0x2c302c[_0x4df5('0x3')]),this[_0x4df5('0x2')]=new _0x50d205(),this[_0x4df5('0x1a')]=new _0x4a7abf(),this[_0x4df5('0x1e')]=_0x2c302c,this[_0x4df5('0x1b')]=new _0x314385({'focusables':this[_0x4df5('0x1e')],'focusTracker':this[_0x4df5('0x2')],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':_0x4df5('0xb'),'focusNext':_0x4df5('0x16')}}),this['listenTo'](_0x2c302c,_0x4df5('0xd'),()=>{this['isEmpty']=!0x1;}),this['listenTo'](_0x2c302c,_0x4df5('0x1c'),(_0x146747,_0x451cf9)=>{_0x451cf9[_0x4df5('0x6')]&&this['focus'](),_0x2c302c[_0x4df5('0x3')]||(this[_0x4df5('0xf')]=!0x0);});const _0x454c8d=this[_0x4df5('0x11')];this[_0x4df5('0x17')]({'tag':_0x4df5('0x8'),'attributes':{'dir':_0x4df5('0x13'),'class':['ck',_0x4df5('0xa')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x4df5('0x1f')]},'children':[{'text':_0x3a6cc4(_0x2fc515,_0x4df5('0x1'))}]},{'tag':_0x4df5('0x8'),'attributes':{'class':[_0x4df5('0x18')]},'children':[{'tag':_0x4df5('0x8'),'children':_0x2c302c},{'tag':'p','attributes':{'class':[_0x4df5('0x5'),_0x454c8d['if'](_0x4df5('0xf'),_0x4df5('0xe'),_0x5c3ba6=>!_0x5c3ba6)]},'children':[{'text':_0x3a6cc4(_0x2fc515,_0x4df5('0x9'))}]}]}]});}[_0x4df5('0x12')](){super[_0x4df5('0x12')](),this[_0x4df5('0x1a')][_0x4df5('0x20')](this[_0x4df5('0x1d')]);const _0x560a25=_0x495096=>_0x495096['stopPropagation']();this['_keystrokes']['set']('arrowright',_0x560a25),this[_0x4df5('0x1a')][_0x4df5('0x15')](_0x4df5('0xc'),_0x560a25),this[_0x4df5('0x1a')][_0x4df5('0x15')](_0x4df5('0x7'),_0x560a25),this[_0x4df5('0x1a')][_0x4df5('0x15')]('arrowdown',_0x560a25),this[_0x4df5('0x20')](this[_0x4df5('0x1d')],_0x4df5('0x0'),(_0x144a0c,_0x706548)=>{_0x706548[_0x4df5('0x19')]();},{'priority':_0x4df5('0x14')});}[_0x4df5('0x10')](){super['destroy'](),this['_focusTracker'][_0x4df5('0x10')](),this['_keystrokes']['destroy']();}[_0x4df5('0x4')](){this['element'][_0x4df5('0x4')]();}}
23
+ const _0x12cf=['arrowright','high','_keystrokes','length','listenTo','ck-comments-archive__content','arrowleft','_focusTracker','isActive','arrowup','auto','bindTemplate','isEmpty','remove','setTemplate','set','ck-comments-archive__info','stopPropagation','destroy','_focusables','arrowdown','COMMENTS_ARCHIVE','focus','element','shift\x20+\x20tab','div','ck-hidden','render'];(function(_0xaa5031,_0x12cf62){const _0x395e7b=function(_0x4255fb){while(--_0x4255fb){_0xaa5031['push'](_0xaa5031['shift']());}};_0x395e7b(++_0x12cf62);}(_0x12cf,0x90));const _0x395e=function(_0xaa5031,_0x12cf62){_0xaa5031=_0xaa5031-0x0;let _0x395e7b=_0x12cf[_0xaa5031];return _0x395e7b;};import{View as _0x13637c,FocusCycler as _0x565d57}from'ckeditor5/src/ui';import{FocusTracker as _0x239a11,KeystrokeHandler as _0x167d49}from'ckeditor5/src/utils';import{getTranslation as _0x32d3bd}from'../../../utils/common-translations';export default class K extends _0x13637c{constructor(_0x3cfa6e,_0x46300e){super(_0x3cfa6e),this[_0x395e('0xb')](_0x395e('0x8'),!_0x46300e[_0x395e('0x1b')]),this[_0x395e('0x3')]=new _0x239a11(),this[_0x395e('0x1a')]=new _0x167d49(),this[_0x395e('0xf')]=_0x46300e,this['_focusCycler']=new _0x565d57({'focusables':this[_0x395e('0xf')],'focusTracker':this[_0x395e('0x3')],'keystrokeHandler':this[_0x395e('0x1a')],'actions':{'focusPrevious':_0x395e('0x14'),'focusNext':'tab'}}),this['listenTo'](_0x46300e,'add',()=>{this[_0x395e('0x8')]=!0x1;}),this[_0x395e('0x0')](_0x46300e,_0x395e('0x9'),(_0x2d99a8,_0x4a9829)=>{_0x4a9829[_0x395e('0x4')]&&this['focus'](),_0x46300e[_0x395e('0x1b')]||(this[_0x395e('0x8')]=!0x0);});const _0x132b1c=this[_0x395e('0x7')];this[_0x395e('0xa')]({'tag':'div','attributes':{'dir':_0x395e('0x6'),'class':['ck','ck-comments-archive'],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':['ck-comments-archive__header\x20']},'children':[{'text':_0x32d3bd(_0x3cfa6e,_0x395e('0x11'))}]},{'tag':_0x395e('0x15'),'attributes':{'class':[_0x395e('0x1')]},'children':[{'tag':_0x395e('0x15'),'children':_0x46300e},{'tag':'p','attributes':{'class':[_0x395e('0xc'),_0x132b1c['if']('isEmpty',_0x395e('0x16'),_0x29d96b=>!_0x29d96b)]},'children':[{'text':_0x32d3bd(_0x3cfa6e,'EMPTY_COMMENTS_ARCHIVE')}]}]}]});}[_0x395e('0x17')](){super[_0x395e('0x17')](),this['_keystrokes']['listenTo'](this[_0x395e('0x13')]);const _0x2e0051=_0x3844c0=>_0x3844c0[_0x395e('0xd')]();this[_0x395e('0x1a')][_0x395e('0xb')](_0x395e('0x18'),_0x2e0051),this[_0x395e('0x1a')][_0x395e('0xb')](_0x395e('0x2'),_0x2e0051),this[_0x395e('0x1a')]['set'](_0x395e('0x5'),_0x2e0051),this[_0x395e('0x1a')][_0x395e('0xb')](_0x395e('0x10'),_0x2e0051),this[_0x395e('0x0')](this[_0x395e('0x13')],'selectstart',(_0x160876,_0x195596)=>{_0x195596[_0x395e('0xd')]();},{'priority':_0x395e('0x19')});}[_0x395e('0xe')](){super[_0x395e('0xe')](),this[_0x395e('0x3')]['destroy'](),this[_0x395e('0x1a')][_0x395e('0xe')]();}[_0x395e('0x12')](){this[_0x395e('0x13')][_0x395e('0x12')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d57=['Marked\x20as\x20resolved','editorDestroyed','weight','createCollection','get','isEditMode','isActive','insert','change:isActive','setTemplate','_handleNewCommentModel','remove','add','_config','destroy','resolvedAt','_rearrangeCollapse','maxThreadTotalWeight','formatDateTime','resolvedCommentView','CommentView','viewUid','editorConfig','delegate','_updateHasDirtyComment','change:isEditMode','element','_handleInfoComment','_calculatePosition','equal','locale','count','_findOptimalIndex','length','ck-thread__comments','maxCommentCharsWhenCollapsed','hasDirtyComment','visibleViews','refreshVisibleViews','editorReady','updateComment','change:isResolved','commentUpdated','_collapsedCommentsView','delete','_rearrangeExpand','removeComment','some','_shouldCollapse','_model','focus','_handleRemoveCommentModel','maxCommentsWhenCollapsed','resolved','stopListening','render','listenTo','from','set','commentViews','comments'];(function(_0x509119,_0x4d5792){const _0x28fd77=function(_0xc902de){while(--_0xc902de){_0x509119['push'](_0x509119['shift']());}};_0x28fd77(++_0x4d5792);}(_0x4d57,0x1b6));const _0x28fd=function(_0x509119,_0x4d5792){_0x509119=_0x509119-0x0;let _0x28fd77=_0x4d57[_0x509119];return _0x28fd77;};import{View as _0x3637d5}from'ckeditor5/src/ui';import{diff as _0x4eac08,Collection as _0x34ec7e}from'ckeditor5/src/utils';import{getTranslation as _0x1eabb0}from'../../../utils/common-translations';import _0x22650d from'./collapsedcommentsview';export default class Ct extends _0x3637d5{constructor(_0x1d8b4c,_0x3eda95,_0x13db1e){super(_0x1d8b4c),this[_0x28fd('0x2f')](_0x28fd('0x19'),!0x1),this[_0x28fd('0x2f')](_0x28fd('0x16'),_0x3eda95[_0x28fd('0x31')]['length']),this['set'](_0x28fd('0x38'),!0x1),this['_model']=_0x3eda95,this[_0x28fd('0x2')]=_0x13db1e,this['commentViews']=this[_0x28fd('0x35')](),this[_0x28fd('0x1a')]=this[_0x28fd('0x35')](),this[_0x28fd('0x8')]=null,this[_0x28fd('0x20')]=new _0x22650d(_0x1d8b4c),this[_0x28fd('0x20')]['bind'](_0x28fd('0x14'))['to'](this,_0x28fd('0x16'),_0x1efd5b=>_0x1efd5b-this[_0x28fd('0x2')][_0x28fd('0x29')]);for(const _0x5596b5 of _0x3eda95['comments'])this['_handleNewCommentModel'](_0x5596b5);this[_0x28fd('0x10')](),this[_0x28fd('0x2d')](_0x3eda95['comments'],_0x28fd('0x1'),(_0x425495,_0xa16882)=>{const _0x2d9602=this[_0x28fd('0x11')](_0xa16882);this[_0x28fd('0x16')]++,this['_handleNewCommentModel'](_0xa16882,_0x2d9602),this[_0x28fd('0x1b')]();}),this[_0x28fd('0x2d')](_0x3eda95['comments'],_0x28fd('0x0'),(_0x32bfb4,_0x442a36)=>{this[_0x28fd('0x16')]--,this[_0x28fd('0x28')](_0x442a36),this[_0x28fd('0x1b')]();}),this[_0x28fd('0x2d')](_0x3eda95,_0x28fd('0x1f'),()=>this[_0x28fd('0x1b')]()),this[_0x28fd('0x2d')](_0x3eda95,_0x28fd('0x1e'),()=>this['_handleInfoComment']()),this['on'](_0x28fd('0x3a'),()=>this[_0x28fd('0x1b')]()),this['on']('change:hasDirtyComment',()=>this[_0x28fd('0x1b')]()),this[_0x28fd('0x3b')]({'tag':'ul','attributes':{'class':[_0x28fd('0x17')]},'children':this['visibleViews']});}get[_0x28fd('0x25')](){return this[_0x28fd('0x26')][_0x28fd('0x34')]>this[_0x28fd('0x2')][_0x28fd('0x6')]&&!this[_0x28fd('0x38')]&&!this['hasDirtyComment'];}[_0x28fd('0x2c')](){super[_0x28fd('0x2c')](),this[_0x28fd('0x1b')]();}[_0x28fd('0x27')](){this[_0x28fd('0xf')][_0x28fd('0x27')]();}[_0x28fd('0x3')](){this[_0x28fd('0x20')][_0x28fd('0x3')]();for(const _0xcce636 of this[_0x28fd('0x30')])_0xcce636[_0x28fd('0x3')]();super[_0x28fd('0x3')]();}[_0x28fd('0x1b')](){this[_0x28fd('0x25')]?this[_0x28fd('0x5')]():this[_0x28fd('0x22')]();}[_0x28fd('0x3c')](_0x5ba26a,_0x49fae3){const _0x1c2df1=new this['_config'][(_0x28fd('0x9'))](this[_0x28fd('0x13')],_0x5ba26a,{'maxCommentCharsWhenCollapsed':this[_0x28fd('0x2')][_0x28fd('0x18')],'formatDateTime':this['_config'][_0x28fd('0x7')],'editorConfig':this[_0x28fd('0x2')][_0x28fd('0xb')]});_0x1c2df1[_0x28fd('0xa')]=_0x5ba26a['id'],_0x1c2df1[_0x28fd('0xc')](_0x28fd('0x23'))['to'](this),_0x1c2df1[_0x28fd('0xc')](_0x28fd('0x1d'))['to'](this),_0x1c2df1[_0x28fd('0xc')]('resolveCommentThread')['to'](this),_0x1c2df1['delegate'](_0x28fd('0x1c'))['to'](this),_0x1c2df1['delegate'](_0x28fd('0x33'))['to'](this),this[_0x28fd('0x2d')](_0x1c2df1,_0x28fd('0xe'),()=>this[_0x28fd('0xd')]()),this[_0x28fd('0x30')][_0x28fd('0x1')](_0x1c2df1,_0x49fae3);}[_0x28fd('0x11')](_0x3af621){const _0x459487=this['_model']['_findOptimalIndex'](_0x3af621);return this[_0x28fd('0x8')]?this[_0x28fd('0x8')]['authoredAt']>_0x3af621['authoredAt']?_0x459487-0x1:_0x459487:_0x459487-0x1;}['_handleInfoComment'](){if(this[_0x28fd('0x26')]['resolvedBy']&&this[_0x28fd('0x26')][_0x28fd('0x4')]){const _0x3e0656={'id':_0x28fd('0x2a'),'author':this[_0x28fd('0x26')]['resolvedBy'],'authoredAt':this[_0x28fd('0x26')][_0x28fd('0x4')],'content':_0x1eabb0(this[_0x28fd('0x13')],_0x28fd('0x32')),'attributes':{}};this[_0x28fd('0x8')]=new this[(_0x28fd('0x2'))][(_0x28fd('0x9'))](this[_0x28fd('0x13')],_0x3e0656,{'maxCommentCharsWhenCollapsed':this[_0x28fd('0x2')][_0x28fd('0x18')],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config'][_0x28fd('0xb')],'isSystemComment':!0x0}),this[_0x28fd('0x30')][_0x28fd('0x1')](this[_0x28fd('0x8')],this[_0x28fd('0x26')][_0x28fd('0x15')](_0x3e0656));}else this[_0x28fd('0x8')]&&(this[_0x28fd('0x30')]['remove'](this[_0x28fd('0x8')]),this[_0x28fd('0x8')]['destroy'](),this[_0x28fd('0x8')]=null);this[_0x28fd('0x1b')]();}['_handleRemoveCommentModel'](_0x275a03){const _0x1468a5=this[_0x28fd('0x30')][_0x28fd('0x0')](_0x275a03['id']);this[_0x28fd('0x2b')](_0x1468a5),_0x1468a5[_0x28fd('0x37')]&&this[_0x28fd('0xd')](),_0x1468a5[_0x28fd('0x3')]();}[_0x28fd('0xd')](){this[_0x28fd('0x19')]=Array[_0x28fd('0x2e')](this['commentViews'])[_0x28fd('0x24')](_0x2ea212=>_0x2ea212[_0x28fd('0x37')]);}[_0x28fd('0x5')](){const _0x36a74f=function(_0x3528b5){const _0x59ec75=new _0x34ec7e();for(const _0x2f4355 of _0x3528b5)_0x59ec75[_0x28fd('0x1')](_0x2f4355);return _0x59ec75;}(this[_0x28fd('0x30')]),_0x3e7ee0=this[_0x28fd('0x20')][_0x28fd('0x14')];for(let _0xd3f7ec=0x1;_0xd3f7ec<=_0x3e7ee0;_0xd3f7ec++)_0x36a74f['remove'](0x1);for(const _0x4f89aa of _0x36a74f)_0x4f89aa['collapse']();_0x3e7ee0>0x0&&_0x36a74f['add'](this[_0x28fd('0x20')],0x1),ss(_0x4eac08(Array['from'](this[_0x28fd('0x1a')]),Array['from'](_0x36a74f)),this[_0x28fd('0x1a')],_0x36a74f);}[_0x28fd('0x22')](){ss(_0x4eac08(Array['from'](this[_0x28fd('0x1a')]),Array[_0x28fd('0x2e')](this[_0x28fd('0x30')])),this['visibleViews'],this['commentViews']);for(const _0x41d419 of this[_0x28fd('0x1a')])_0x41d419['expand']();}}function ss(_0x1ba62c,_0x105753,_0x2778f3){let _0xa35c7b=0x0;for(const _0xa9e41d of _0x1ba62c)switch(_0xa9e41d){case _0x28fd('0x39'):_0x105753['add'](_0x2778f3[_0x28fd('0x36')](_0xa35c7b),_0xa35c7b),_0xa35c7b++;break;case _0x28fd('0x21'):_0x105753['remove'](_0xa35c7b);break;case _0x28fd('0x12'):_0xa35c7b++;}}
23
+ const _0x2246=['remove','createCollection','editorDestroyed','_rearrangeExpand','set','render','get','commentUpdated','equal','change:isResolved','comments','bind','listenTo','isEditMode','_handleNewCommentModel','length','Marked\x20as\x20resolved','count','_config','authoredAt','_shouldCollapse','commentViews','ck-thread__comments','delegate','editorConfig','_rearrangeCollapse','expand','visibleViews','removeComment','from','hasDirtyComment','focus','resolvedCommentView','_collapsedCommentsView','resolved','CommentView','maxCommentsWhenCollapsed','_updateHasDirtyComment','_model','_calculatePosition','change:isEditMode','formatDateTime','change:hasDirtyComment','refreshVisibleViews','stopListening','collapse','some','resolvedAt','maxCommentCharsWhenCollapsed','locale','add','isActive','_handleRemoveCommentModel','destroy','resolvedBy','_findOptimalIndex','_handleInfoComment','updateComment'];(function(_0x51ab24,_0x224616){const _0xcb0753=function(_0x5a2ddc){while(--_0x5a2ddc){_0x51ab24['push'](_0x51ab24['shift']());}};_0xcb0753(++_0x224616);}(_0x2246,0x1bb));const _0xcb07=function(_0x51ab24,_0x224616){_0x51ab24=_0x51ab24-0x0;let _0xcb0753=_0x2246[_0x51ab24];return _0xcb0753;};import{View as _0x7b6e65}from'ckeditor5/src/ui';import{diff as _0x39618b,Collection as _0x573522}from'ckeditor5/src/utils';import{getTranslation as _0x40c19b}from'../../../utils/common-translations';import _0x4d198c from'./collapsedcommentsview';export default class wt extends _0x7b6e65{constructor(_0x44829a,_0x23d413,_0x2f0ad2){super(_0x44829a),this['set'](_0xcb07('0x33'),!0x1),this[_0xcb07('0x19')](_0xcb07('0x24'),_0x23d413[_0xcb07('0x1f')][_0xcb07('0x24')]),this[_0xcb07('0x19')](_0xcb07('0xe'),!0x1),this[_0xcb07('0x1')]=_0x23d413,this[_0xcb07('0x27')]=_0x2f0ad2,this[_0xcb07('0x2a')]=this[_0xcb07('0x16')](),this[_0xcb07('0x30')]=this[_0xcb07('0x16')](),this[_0xcb07('0x35')]=null,this['_collapsedCommentsView']=new _0x4d198c(_0x44829a),this[_0xcb07('0x36')][_0xcb07('0x20')](_0xcb07('0x26'))['to'](this,_0xcb07('0x24'),_0x323914=>_0x323914-this[_0xcb07('0x27')][_0xcb07('0x39')]);for(const _0x4fc743 of _0x23d413[_0xcb07('0x1f')])this[_0xcb07('0x23')](_0x4fc743);this[_0xcb07('0x13')](),this[_0xcb07('0x21')](_0x23d413[_0xcb07('0x1f')],_0xcb07('0xd'),(_0x530fff,_0x12c944)=>{const _0x28727c=this['_calculatePosition'](_0x12c944);this['length']++,this[_0xcb07('0x23')](_0x12c944,_0x28727c),this[_0xcb07('0x6')]();}),this[_0xcb07('0x21')](_0x23d413[_0xcb07('0x1f')],_0xcb07('0x15'),(_0x5d266a,_0xbe32be)=>{this[_0xcb07('0x24')]--,this[_0xcb07('0xf')](_0xbe32be),this['refreshVisibleViews']();}),this[_0xcb07('0x21')](_0x23d413,_0xcb07('0x1c'),()=>this['refreshVisibleViews']()),this[_0xcb07('0x21')](_0x23d413,_0xcb07('0x1e'),()=>this[_0xcb07('0x13')]()),this['on']('change:isActive',()=>this[_0xcb07('0x6')]()),this['on'](_0xcb07('0x5'),()=>this[_0xcb07('0x6')]()),this['setTemplate']({'tag':'ul','attributes':{'class':[_0xcb07('0x2b')]},'children':this['visibleViews']});}get[_0xcb07('0x29')](){return this['_model']['weight']>this[_0xcb07('0x27')]['maxThreadTotalWeight']&&!this[_0xcb07('0xe')]&&!this[_0xcb07('0x33')];}['render'](){super[_0xcb07('0x1a')](),this[_0xcb07('0x6')]();}[_0xcb07('0x34')](){this['element'][_0xcb07('0x34')]();}[_0xcb07('0x10')](){this[_0xcb07('0x36')][_0xcb07('0x10')]();for(const _0x2cf7ac of this[_0xcb07('0x2a')])_0x2cf7ac[_0xcb07('0x10')]();super[_0xcb07('0x10')]();}[_0xcb07('0x6')](){this[_0xcb07('0x29')]?this[_0xcb07('0x2e')]():this['_rearrangeExpand']();}[_0xcb07('0x23')](_0x4665db,_0x1de910){const _0x1269bf=new this[(_0xcb07('0x27'))][(_0xcb07('0x38'))](this[_0xcb07('0xc')],_0x4665db,{'maxCommentCharsWhenCollapsed':this[_0xcb07('0x27')][_0xcb07('0xb')],'formatDateTime':this[_0xcb07('0x27')][_0xcb07('0x4')],'editorConfig':this[_0xcb07('0x27')][_0xcb07('0x2d')]});_0x1269bf['viewUid']=_0x4665db['id'],_0x1269bf[_0xcb07('0x2c')](_0xcb07('0x31'))['to'](this),_0x1269bf['delegate'](_0xcb07('0x14'))['to'](this),_0x1269bf[_0xcb07('0x2c')]('resolveCommentThread')['to'](this),_0x1269bf[_0xcb07('0x2c')]('editorReady')['to'](this),_0x1269bf[_0xcb07('0x2c')](_0xcb07('0x17'))['to'](this),this[_0xcb07('0x21')](_0x1269bf,_0xcb07('0x3'),()=>this[_0xcb07('0x0')]()),this[_0xcb07('0x2a')][_0xcb07('0xd')](_0x1269bf,_0x1de910);}[_0xcb07('0x2')](_0x53b32f){const _0x5e96c0=this[_0xcb07('0x1')][_0xcb07('0x12')](_0x53b32f);return this[_0xcb07('0x35')]?this['resolvedCommentView'][_0xcb07('0x28')]>_0x53b32f[_0xcb07('0x28')]?_0x5e96c0-0x1:_0x5e96c0:_0x5e96c0-0x1;}[_0xcb07('0x13')](){if(this[_0xcb07('0x1')][_0xcb07('0x11')]&&this[_0xcb07('0x1')][_0xcb07('0xa')]){const _0x580c20={'id':_0xcb07('0x37'),'author':this[_0xcb07('0x1')][_0xcb07('0x11')],'authoredAt':this['_model'][_0xcb07('0xa')],'content':_0x40c19b(this[_0xcb07('0xc')],_0xcb07('0x25')),'attributes':{}};this[_0xcb07('0x35')]=new this[(_0xcb07('0x27'))]['CommentView'](this[_0xcb07('0xc')],_0x580c20,{'maxCommentCharsWhenCollapsed':this[_0xcb07('0x27')]['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config'][_0xcb07('0x4')],'editorConfig':this[_0xcb07('0x27')][_0xcb07('0x2d')],'isSystemComment':!0x0}),this['commentViews'][_0xcb07('0xd')](this[_0xcb07('0x35')],this['_model'][_0xcb07('0x12')](_0x580c20));}else this[_0xcb07('0x35')]&&(this[_0xcb07('0x2a')]['remove'](this[_0xcb07('0x35')]),this['resolvedCommentView'][_0xcb07('0x10')](),this['resolvedCommentView']=null);this['refreshVisibleViews']();}[_0xcb07('0xf')](_0x4a8798){const _0x48ae20=this[_0xcb07('0x2a')][_0xcb07('0x15')](_0x4a8798['id']);this[_0xcb07('0x7')](_0x48ae20),_0x48ae20[_0xcb07('0x22')]&&this[_0xcb07('0x0')](),_0x48ae20['destroy']();}[_0xcb07('0x0')](){this['hasDirtyComment']=Array[_0xcb07('0x32')](this[_0xcb07('0x2a')])[_0xcb07('0x9')](_0x445766=>_0x445766[_0xcb07('0x22')]);}[_0xcb07('0x2e')](){const _0x464160=function(_0x158c42){const _0x20e9ce=new _0x573522();for(const _0x37270b of _0x158c42)_0x20e9ce[_0xcb07('0xd')](_0x37270b);return _0x20e9ce;}(this[_0xcb07('0x2a')]),_0x60ffa2=this[_0xcb07('0x36')][_0xcb07('0x26')];for(let _0xc99cc0=0x1;_0xc99cc0<=_0x60ffa2;_0xc99cc0++)_0x464160[_0xcb07('0x15')](0x1);for(const _0x50c77d of _0x464160)_0x50c77d[_0xcb07('0x8')]();_0x60ffa2>0x0&&_0x464160[_0xcb07('0xd')](this[_0xcb07('0x36')],0x1),ss(_0x39618b(Array['from'](this['visibleViews']),Array[_0xcb07('0x32')](_0x464160)),this[_0xcb07('0x30')],_0x464160);}[_0xcb07('0x18')](){ss(_0x39618b(Array[_0xcb07('0x32')](this['visibleViews']),Array['from'](this[_0xcb07('0x2a')])),this['visibleViews'],this['commentViews']);for(const _0x3122de of this[_0xcb07('0x30')])_0x3122de[_0xcb07('0x2f')]();}}function ss(_0x575880,_0x2abd09,_0x347fd9){let _0x2a6909=0x0;for(const _0x526cf8 of _0x575880)switch(_0x526cf8){case'insert':_0x2abd09[_0xcb07('0xd')](_0x347fd9[_0xcb07('0x1b')](_0x2a6909),_0x2a6909),_0x2a6909++;break;case'delete':_0x2abd09[_0xcb07('0x15')](_0x2a6909);break;case _0xcb07('0x1d'):_0x2a6909++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c8f=['mouseenter','ck-context-wrapper','.ck-context__value','offsetWidth','ck-context__value','render','remove','hasContext','ck-thread__header','value','ck-context','reopenButtonView','.ck-context','classList','Reopen','label','length','locale','isReadOnly','contextValue','ck-context--quotes','substring','bind','fire','isVisible','_model','isResolvable','_trimContextValue','isEnabled','span','_attachContextActions','icon','querySelector','mouseleave','listenTo','lastIndexOf','context','div','setTemplate','reopenCommentThread','execute','overlay','element','scrollWidth'];(function(_0x165e77,_0x2c8f95){const _0x2167d1=function(_0x7d5497){while(--_0x7d5497){_0x165e77['push'](_0x165e77['shift']());}};_0x2167d1(++_0x2c8f95);}(_0x2c8f,0x69));const _0x2167=function(_0x165e77,_0x2c8f95){_0x165e77=_0x165e77-0x0;let _0x2167d1=_0x2c8f[_0x165e77];return _0x2167d1;};import{View as _0x1680e8,ButtonView as _0x197661}from'ckeditor5/src/ui';import{getTranslation as _0x4d1efa}from'../../../utils/common-translations';import _0x59e5f7 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Rt extends _0x1680e8{constructor(_0x1d8b8b,_0xb36520){super(_0x1d8b8b);const _0x7d00a5=this['bindTemplate'];this[_0x2167('0x8')]=_0xb36520,this[_0x2167('0x26')]=this['_createReopenButton'](),this[_0x2167('0x5')](_0x2167('0x22'))['to'](this[_0x2167('0x8')],_0x2167('0x13'),_0x7ba236=>!!_0x7ba236),this[_0x2167('0x5')](_0x2167('0x2'))['to'](this[_0x2167('0x8')],'context',_0x366c2b=>_0x366c2b&&_0x366c2b['value']?this[_0x2167('0xa')](_0x366c2b[_0x2167('0x24')]):_0x4d1efa(this['locale'],'Comment\x20was\x20made\x20on\x20an\x20element')),this[_0x2167('0x15')]({'tag':_0x2167('0x14'),'attributes':{'class':[_0x2167('0x23')]},'children':[{'tag':_0x2167('0x14'),'attributes':{'class':[_0x2167('0x1c')]},'children':[{'tag':_0x2167('0x14'),'attributes':{'class':[_0x2167('0x25'),_0x7d00a5['if'](_0x2167('0x22'),_0x2167('0x3'))]},'children':[{'tag':_0x2167('0xc'),'attributes':{'class':[_0x2167('0x1f')]},'children':[{'text':_0x7d00a5['to'](_0x2167('0x2'))}]}]}]},{'tag':_0x2167('0x14'),'attributes':{'class':['ck-annotation__actions']},'children':[this[_0x2167('0x26')]]}]});}[_0x2167('0x20')](){super['render'](),this['_attachContextActions']();}['_createReopenButton'](){const _0x258855=new _0x197661(this['locale']);return _0x258855[_0x2167('0x2a')]=_0x4d1efa(this[_0x2167('0x0')],_0x2167('0x29')),_0x258855['tooltip']=_0x4d1efa(this[_0x2167('0x0')],_0x2167('0x29')),_0x258855[_0x2167('0xe')]=_0x59e5f7,_0x258855['bind'](_0x2167('0xb'))['to'](this[_0x2167('0x8')],_0x2167('0x1'),_0x2f1a3c=>!_0x2f1a3c),_0x258855[_0x2167('0x5')](_0x2167('0x7'))['to'](this['_model'],_0x2167('0x9')),_0x258855['on'](_0x2167('0x17'),()=>{this[_0x2167('0x6')](_0x2167('0x16'),this[_0x2167('0x8')]['id']);}),_0x258855;}[_0x2167('0xa')](_0x29c03a){if(_0x29c03a[_0x2167('0x2b')]<0x96)return _0x29c03a;const _0x529c98=_0x29c03a[_0x2167('0x12')]('\x20',0x93);return _0x29c03a[_0x2167('0x4')](0x0,_0x529c98>-0x1?_0x529c98:0x93)+'...';}[_0x2167('0xd')](){const _0x1e08dc=this[_0x2167('0x19')][_0x2167('0xf')](_0x2167('0x27')),_0x1241bd=_0x1e08dc[_0x2167('0xf')](_0x2167('0x1d'));this[_0x2167('0x11')](_0x1e08dc,_0x2167('0x1b'),()=>{_0x1241bd[_0x2167('0x1e')]<_0x1241bd[_0x2167('0x1a')]&&_0x1e08dc[_0x2167('0x28')]['add']('overlay');}),this[_0x2167('0x11')](_0x1e08dc,_0x2167('0x10'),()=>{_0x1e08dc[_0x2167('0x28')][_0x2167('0x21')](_0x2167('0x18'));});}}
23
+ const _0x3da5=['tooltip','setTemplate','add','label','mouseleave','fire','length','div','mouseenter','overlay','lastIndexOf','Reopen','hasContext','_attachContextActions','listenTo','element','ck-context','value','render','_model','ck-context--quotes','isVisible','offsetWidth','remove','ck-thread__header','_createReopenButton','classList','ck-annotation__actions','.ck-context__value','context','Comment\x20was\x20made\x20on\x20an\x20element','_trimContextValue','bindTemplate','execute','contextValue','reopenCommentThread','isResolvable','bind','locale','querySelector','reopenButtonView'];(function(_0x1a4a64,_0x3da5d7){const _0x206f50=function(_0x1efa3b){while(--_0x1efa3b){_0x1a4a64['push'](_0x1a4a64['shift']());}};_0x206f50(++_0x3da5d7);}(_0x3da5,0xd2));const _0x206f=function(_0x1a4a64,_0x3da5d7){_0x1a4a64=_0x1a4a64-0x0;let _0x206f50=_0x3da5[_0x1a4a64];return _0x206f50;};import{View as _0x18b2a1,ButtonView as _0x2e5a84}from'ckeditor5/src/ui';import{getTranslation as _0x28b521}from'../../../utils/common-translations';import _0x31d0dd from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Rt extends _0x18b2a1{constructor(_0xd93f21,_0x4aa3aa){super(_0xd93f21);const _0x368d1c=this[_0x206f('0x1b')];this[_0x206f('0xe')]=_0x4aa3aa,this[_0x206f('0x23')]=this[_0x206f('0x14')](),this[_0x206f('0x20')](_0x206f('0x7'))['to'](this[_0x206f('0xe')],_0x206f('0x18'),_0x39aa1b=>!!_0x39aa1b),this[_0x206f('0x20')](_0x206f('0x1d'))['to'](this[_0x206f('0xe')],_0x206f('0x18'),_0x23395c=>_0x23395c&&_0x23395c[_0x206f('0xc')]?this[_0x206f('0x1a')](_0x23395c['value']):_0x28b521(this['locale'],_0x206f('0x19'))),this[_0x206f('0x25')]({'tag':_0x206f('0x2'),'attributes':{'class':[_0x206f('0x13')]},'children':[{'tag':_0x206f('0x2'),'attributes':{'class':['ck-context-wrapper']},'children':[{'tag':_0x206f('0x2'),'attributes':{'class':[_0x206f('0xb'),_0x368d1c['if'](_0x206f('0x7'),_0x206f('0xf'))]},'children':[{'tag':'span','attributes':{'class':['ck-context__value']},'children':[{'text':_0x368d1c['to'](_0x206f('0x1d'))}]}]}]},{'tag':_0x206f('0x2'),'attributes':{'class':[_0x206f('0x16')]},'children':[this[_0x206f('0x23')]]}]});}[_0x206f('0xd')](){super[_0x206f('0xd')](),this[_0x206f('0x8')]();}[_0x206f('0x14')](){const _0x2e0118=new _0x2e5a84(this[_0x206f('0x21')]);return _0x2e0118[_0x206f('0x27')]=_0x28b521(this[_0x206f('0x21')],_0x206f('0x6')),_0x2e0118[_0x206f('0x24')]=_0x28b521(this[_0x206f('0x21')],_0x206f('0x6')),_0x2e0118['icon']=_0x31d0dd,_0x2e0118[_0x206f('0x20')]('isEnabled')['to'](this[_0x206f('0xe')],'isReadOnly',_0x282390=>!_0x282390),_0x2e0118[_0x206f('0x20')](_0x206f('0x10'))['to'](this[_0x206f('0xe')],_0x206f('0x1f')),_0x2e0118['on'](_0x206f('0x1c'),()=>{this[_0x206f('0x0')](_0x206f('0x1e'),this[_0x206f('0xe')]['id']);}),_0x2e0118;}[_0x206f('0x1a')](_0x20ff45){if(_0x20ff45[_0x206f('0x1')]<0x96)return _0x20ff45;const _0x26a9e6=_0x20ff45[_0x206f('0x5')]('\x20',0x93);return _0x20ff45['substring'](0x0,_0x26a9e6>-0x1?_0x26a9e6:0x93)+'...';}['_attachContextActions'](){const _0x1ffcbb=this[_0x206f('0xa')][_0x206f('0x22')]('.ck-context'),_0x41efcf=_0x1ffcbb[_0x206f('0x22')](_0x206f('0x17'));this[_0x206f('0x9')](_0x1ffcbb,_0x206f('0x3'),()=>{_0x41efcf[_0x206f('0x11')]<_0x41efcf['scrollWidth']&&_0x1ffcbb[_0x206f('0x15')][_0x206f('0x26')](_0x206f('0x4'));}),this[_0x206f('0x9')](_0x1ffcbb,_0x206f('0x28'),()=>{_0x1ffcbb[_0x206f('0x15')][_0x206f('0x12')](_0x206f('0x4'));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x287a=['destroy','userView','isFocused','ck-comment__input-container--active','ck-thread__user','createEditor','focusTracker','bind','change:showInput','delegate','value','ck-thread__input','commentInputView','showButtons','extendTemplate','bindTemplate','showInput','editorDestroyed'];(function(_0x10224e,_0x287a96){var _0x1b567b=function(_0x326756){while(--_0x326756){_0x10224e['push'](_0x10224e['shift']());}};_0x1b567b(++_0x287a96);}(_0x287a,0xa7));var _0x1b56=function(_0x10224e,_0x287a96){_0x10224e=_0x10224e-0x0;var _0x1b567b=_0x287a[_0x10224e];return _0x1b567b;};import{View as _0x140332}from'ckeditor5/src/ui';import _0x31cec6 from'./commentinputview';import{UserView as _0xe19d5c}from'ckeditor5-collaboration/src/collaboration-core';export default class At extends _0x140332{constructor(_0x1b6873,_0x1e5d2d,_0x3c609f){super(_0x1b6873),this['commentInputView']=new _0x31cec6(_0x1b6873,_0x3c609f),this[_0x1b56('0x7')][_0x1b56('0x2')](_0x1b56('0x8'))['to'](this[_0x1b56('0x7')][_0x1b56('0x1')],_0x1b56('0xf'),this[_0x1b56('0x7')],_0x1b56('0x5'),(_0x4b9e9f,_0x26f604)=>_0x4b9e9f||!!_0x26f604),this['set'](_0x1b56('0xb'),!0x1),this['on'](_0x1b56('0x3'),()=>{this['showInput']&&!this['commentInputView']['editor']&&this[_0x1b56('0x7')][_0x1b56('0x0')]();}),this[_0x1b56('0x7')][_0x1b56('0x4')]('editorReady')['to'](this),this[_0x1b56('0x7')][_0x1b56('0x4')](_0x1b56('0xc'))['to'](this),this['userView']=new _0xe19d5c(_0x1b6873,_0x1e5d2d),this[_0x1b56('0xe')][_0x1b56('0x9')]({'attributes':{'class':_0x1b56('0x11')}}),this[_0x1b56('0x7')][_0x1b56('0x9')]({'attributes':{'class':_0x1b56('0x6')}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-comment__input-container',this[_0x1b56('0xa')]['if']('showInput',_0x1b56('0x10'))]},'children':[this[_0x1b56('0xe')],this['commentInputView']]});}[_0x1b56('0xd')](){return this['commentInputView']['destroy']()['then'](()=>super[_0x1b56('0xd')]());}}
23
+ var _0x115d=['div','ck-thread__input','ck-comment__input-container','ck-thread__user','focusTracker','commentInputView','showInput','editor','editorDestroyed','change:showInput','extendTemplate','editorReady','destroy','showButtons','isFocused','ck-comment__input-container--active','delegate','userView','bindTemplate','createEditor','setTemplate'];(function(_0x48ea44,_0x115ddd){var _0x29c146=function(_0x35eda4){while(--_0x35eda4){_0x48ea44['push'](_0x48ea44['shift']());}};_0x29c146(++_0x115ddd);}(_0x115d,0x77));var _0x29c1=function(_0x48ea44,_0x115ddd){_0x48ea44=_0x48ea44-0x0;var _0x29c146=_0x115d[_0x48ea44];return _0x29c146;};import{View as _0x4f9b1b}from'ckeditor5/src/ui';import _0x519c7e from'./commentinputview';import{UserView as _0x4272da}from'ckeditor5-collaboration/src/collaboration-core';export default class Ct extends _0x4f9b1b{constructor(_0x2da251,_0x2bb317,_0x4de1cf){super(_0x2da251),this['commentInputView']=new _0x519c7e(_0x2da251,_0x4de1cf),this[_0x29c1('0xc')]['bind'](_0x29c1('0x14'))['to'](this[_0x29c1('0xc')][_0x29c1('0xb')],_0x29c1('0x0'),this['commentInputView'],'value',(_0x42fecf,_0x3b79c0)=>_0x42fecf||!!_0x3b79c0),this['set'](_0x29c1('0xd'),!0x1),this['on'](_0x29c1('0x10'),()=>{this[_0x29c1('0xd')]&&!this[_0x29c1('0xc')][_0x29c1('0xe')]&&this['commentInputView'][_0x29c1('0x5')]();}),this['commentInputView']['delegate'](_0x29c1('0x12'))['to'](this),this[_0x29c1('0xc')][_0x29c1('0x2')](_0x29c1('0xf'))['to'](this),this['userView']=new _0x4272da(_0x2da251,_0x2bb317),this['userView'][_0x29c1('0x11')]({'attributes':{'class':_0x29c1('0xa')}}),this[_0x29c1('0xc')]['extendTemplate']({'attributes':{'class':_0x29c1('0x8')}}),this[_0x29c1('0x6')]({'tag':_0x29c1('0x7'),'attributes':{'class':[_0x29c1('0x9'),this[_0x29c1('0x4')]['if'](_0x29c1('0xd'),_0x29c1('0x1'))]},'children':[this[_0x29c1('0x3')],this[_0x29c1('0xc')]]});}[_0x29c1('0x13')](){return this['commentInputView'][_0x29c1('0x13')]()['then'](()=>super[_0x29c1('0x13')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ec2=['_bindFirstCommentView','_model','actionBar','remove','add','_cancelAllConfirms','commentThreadChildren','commentsListView','stop','placeholder','get','change:isResolved','isConfirm','_boundFirstCommentView','commentThreadHeaderView','unbind','bindTemplate','isEnabled','ck-thread--remove-confirmation','div','ck-thread__container','listenTo','ck-thread--','ck-comment--resolve','actionIndicator','length','render','resolveCommentThread','then','_createResolveButton','ck-thread--active','Delete\x20comment\x20thread?','containerElement','isResolved','change:isActive','isReadOnly','Resolve','tooltip','ck-reset_all-excluded','high','label','cancelConfirm','ck-thread','isActive','isVisible','Write\x20a\x20comment...','removeCommentThread','resolveButton','icon','extendTemplate','bind','locale','createCollection','.ck-thread__container','commentViews','change:isReadOnly','fire','isSystemComment','getTemplate','removeButton','commentThreadInputView'];(function(_0x2d7c52,_0x1ec26e){const _0x4aed53=function(_0x188b62){while(--_0x188b62){_0x2d7c52['push'](_0x2d7c52['shift']());}};_0x4aed53(++_0x1ec26e);}(_0x1ec2,0x6f));const _0x4aed=function(_0x2d7c52,_0x1ec26e){_0x2d7c52=_0x2d7c52-0x0;let _0x4aed53=_0x1ec2[_0x2d7c52];return _0x4aed53;};import{ConfirmMixin as _0x275e49}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x2bbab9}from'ckeditor5/src/ui';import{icons as _0x1c71e6}from'ckeditor5/src/core';import _0x41e55e from'./basecommentthreadview';import{getTranslation as _0x29a679}from'../../../utils/common-translations';export default class ft extends _0x275e49(_0x41e55e){constructor(_0x40bcdc,_0x43f256,_0x45ae48,_0x58ed94){super(_0x40bcdc,_0x43f256,_0x45ae48,_0x58ed94),this['commentThreadChildren']=this[_0x4aed('0x2')](),this[_0x4aed('0x11')]['addMany']([this['commentsListView'],this[_0x4aed('0xa')]]),this[_0x4aed('0xc')][_0x4aed('0x2c')]&&this['commentThreadChildren'][_0x4aed('0xf')](this['commentThreadHeaderView'],0x0),this[_0x4aed('0xc')]['on'](_0x4aed('0x16'),(_0x245167,_0x503e4b,_0x23d1e7)=>{_0x23d1e7?this[_0x4aed('0x11')][_0x4aed('0xf')](this[_0x4aed('0x19')],0x0):this['commentThreadChildren'][_0x4aed('0xe')](this[_0x4aed('0x19')]);}),this['set'](_0x4aed('0x23'),null),this[_0x4aed('0x2b')]=null,this[_0x4aed('0x18')]=null,this[_0x4aed('0x1')]=_0x40bcdc,this['resolveButton']=this[_0x4aed('0x28')](),this['setTemplate'](this[_0x4aed('0x8')]()),this['on'](_0x4aed('0x2d'),(_0x277c8c,_0x55039f,_0x59ed4a)=>{_0x59ed4a||this[_0x4aed('0x10')]();}),this['listenTo'](this[_0x4aed('0xc')],_0x4aed('0x5'),(_0x436276,_0x3e448b,_0x16f0e2)=>{_0x16f0e2&&this[_0x4aed('0x10')]();}),this[_0x4aed('0x24')]>0x0&&this[_0x4aed('0xb')](),this[_0x4aed('0x20')](this['commentsListView'][_0x4aed('0x4')],'add',()=>{this[_0x4aed('0xb')]();});}['getTemplate'](){const _0x4c1fbf=this[_0x4aed('0x1b')];return{'tag':'div','attributes':{'class':[_0x4aed('0x35'),_0x4aed('0x31'),_0x4c1fbf['if'](_0x4aed('0x36'),_0x4aed('0x29')),_0x4c1fbf['if'](_0x4aed('0x17'),_0x4aed('0x1d')),_0x4c1fbf['to'](_0x4aed('0x23'),_0xe5a2f3=>_0xe5a2f3?_0x4aed('0x21')+_0xe5a2f3:'')],'data-thread-id':this[_0x4aed('0xc')]['id'],'tabindex':-0x1},'children':[{'tag':_0x4aed('0x1e'),'attributes':{'class':_0x4aed('0x1f')},'children':this[_0x4aed('0x11')]}]};}[_0x4aed('0x25')](){super[_0x4aed('0x25')](),this[_0x4aed('0x2b')]=this['element']['querySelector'](_0x4aed('0x3'));}['_cancelAllConfirms'](){this[_0x4aed('0x34')]();for(const _0x46fcc6 of this[_0x4aed('0x12')]['commentViews'])_0x46fcc6[_0x4aed('0x34')]();}[_0x4aed('0xb')](){const {locale:_0x3dd130}=this,_0x10171f=this['commentsListView'][_0x4aed('0x4')][_0x4aed('0x15')](0x0);_0x10171f===this[_0x4aed('0x18')]||_0x10171f[_0x4aed('0x7')]||(this[_0x4aed('0x18')]=_0x10171f,this[_0x4aed('0x1a')](_0x4aed('0x23')),this[_0x4aed('0x0')](_0x4aed('0x23'))['to'](_0x10171f,_0x4aed('0x23'),_0x366b1d=>_0x4aed('0xe')===_0x366b1d?_0x4aed('0xe'):null),_0x10171f[_0x4aed('0x14')]=_0x29a679(_0x3dd130,_0x4aed('0x38')),_0x10171f[_0x4aed('0x9')]['on']('execute',_0x5e4035=>{_0x5e4035[_0x4aed('0x13')](),this['showConfirm'](_0x29a679(_0x3dd130,_0x4aed('0x2a')),this[_0x4aed('0x2b')])[_0x4aed('0x27')](()=>{this[_0x4aed('0x6')](_0x4aed('0x39'));});},{'priority':_0x4aed('0x32')}),_0x10171f[_0x4aed('0xd')]['add'](this[_0x4aed('0x3a')],0x0));}['_createResolveButton'](){const _0x3bdf4c=new _0x2bbab9(this[_0x4aed('0x1')]);return _0x3bdf4c[_0x4aed('0x33')]=_0x29a679(this[_0x4aed('0x1')],_0x4aed('0x2f')),_0x3bdf4c[_0x4aed('0x30')]=_0x29a679(this[_0x4aed('0x1')],_0x4aed('0x2f')),_0x3bdf4c[_0x4aed('0x3b')]=_0x1c71e6['check'],_0x3bdf4c[_0x4aed('0x3c')]({'attributes':{'class':_0x4aed('0x22')}}),_0x3bdf4c[_0x4aed('0x0')](_0x4aed('0x1c'))['to'](this['_model'],_0x4aed('0x2e'),_0x3b2b56=>!_0x3b2b56),_0x3bdf4c['bind'](_0x4aed('0x37'))['to'](this['_model'],'isResolvable',this[_0x4aed('0xc')],_0x4aed('0x2c'),(_0xe3954a,_0x1c7ffc)=>_0xe3954a&&!_0x1c7ffc),_0x3bdf4c['on']('execute',()=>{this['fire'](_0x4aed('0x26'),this['_model']['id']);}),_0x3bdf4c;}}
23
+ const _0x5c27=['.ck-thread__container','stop','then','locale','add','listenTo','tooltip','createCollection','ck-reset_all-excluded','div','label','execute','isReadOnly','actionIndicator','resolveButton','querySelector','isVisible','setTemplate','isConfirm','_bindFirstCommentView','get','commentsListView','ck-thread--remove-confirmation','actionBar','ck-comment--resolve','_cancelAllConfirms','length','fire','commentThreadChildren','set','_createResolveButton','addMany','Resolve','change:isReadOnly','ck-thread--active','ck-thread__container','isActive','remove','resolveCommentThread','check','containerElement','placeholder','removeCommentThread','isSystemComment','commentThreadHeaderView','Delete\x20comment\x20thread?','isResolvable','ck-thread','cancelConfirm','_boundFirstCommentView','bindTemplate','extendTemplate','isResolved','element','render','commentViews','change:isResolved','bind','ck-thread--','_model'];(function(_0x6b2ad9,_0x5c2741){const _0xa8c082=function(_0x460a87){while(--_0x460a87){_0x6b2ad9['push'](_0x6b2ad9['shift']());}};_0xa8c082(++_0x5c2741);}(_0x5c27,0x80));const _0xa8c0=function(_0x6b2ad9,_0x5c2741){_0x6b2ad9=_0x6b2ad9-0x0;let _0xa8c082=_0x5c27[_0x6b2ad9];return _0xa8c082;};import{ConfirmMixin as _0x411efc}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x117e7d}from'ckeditor5/src/ui';import{icons as _0x32064f}from'ckeditor5/src/core';import _0x544402 from'./basecommentthreadview';import{getTranslation as _0x5d2288}from'../../../utils/common-translations';export default class lt extends _0x411efc(_0x544402){constructor(_0x5876a0,_0x3e27d3,_0x19eff,_0xb865a6){super(_0x5876a0,_0x3e27d3,_0x19eff,_0xb865a6),this[_0xa8c0('0x14')]=this[_0xa8c0('0x3b')](),this[_0xa8c0('0x14')][_0xa8c0('0x17')]([this[_0xa8c0('0xd')],this['commentThreadInputView']]),this['_model'][_0xa8c0('0x2c')]&&this[_0xa8c0('0x14')][_0xa8c0('0x38')](this[_0xa8c0('0x24')],0x0),this['_model']['on'](_0xa8c0('0x30'),(_0x19f2d9,_0x379409,_0x1ac516)=>{_0x1ac516?this['commentThreadChildren'][_0xa8c0('0x38')](this[_0xa8c0('0x24')],0x0):this[_0xa8c0('0x14')][_0xa8c0('0x1d')](this[_0xa8c0('0x24')]);}),this[_0xa8c0('0x15')](_0xa8c0('0x5'),null),this[_0xa8c0('0x20')]=null,this[_0xa8c0('0x29')]=null,this[_0xa8c0('0x37')]=_0x5876a0,this[_0xa8c0('0x6')]=this[_0xa8c0('0x16')](),this[_0xa8c0('0x9')](this['getTemplate']()),this['on']('change:isActive',(_0x4eb20d,_0x5e2247,_0x1b3b92)=>{_0x1b3b92||this[_0xa8c0('0x11')]();}),this[_0xa8c0('0x39')](this[_0xa8c0('0x33')],_0xa8c0('0x19'),(_0x1dbbc4,_0x296c9e,_0x5c4575)=>{_0x5c4575&&this[_0xa8c0('0x11')]();}),this[_0xa8c0('0x12')]>0x0&&this[_0xa8c0('0xb')](),this[_0xa8c0('0x39')](this['commentsListView'][_0xa8c0('0x2f')],_0xa8c0('0x38'),()=>{this[_0xa8c0('0xb')]();});}['getTemplate'](){const _0x2220b8=this[_0xa8c0('0x2a')];return{'tag':_0xa8c0('0x1'),'attributes':{'class':[_0xa8c0('0x27'),_0xa8c0('0x0'),_0x2220b8['if'](_0xa8c0('0x1c'),_0xa8c0('0x1a')),_0x2220b8['if'](_0xa8c0('0xa'),_0xa8c0('0xe')),_0x2220b8['to']('actionIndicator',_0x1a4daa=>_0x1a4daa?_0xa8c0('0x32')+_0x1a4daa:'')],'data-thread-id':this[_0xa8c0('0x33')]['id'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':_0xa8c0('0x1b')},'children':this['commentThreadChildren']}]};}[_0xa8c0('0x2e')](){super[_0xa8c0('0x2e')](),this['containerElement']=this[_0xa8c0('0x2d')][_0xa8c0('0x7')](_0xa8c0('0x34'));}[_0xa8c0('0x11')](){this[_0xa8c0('0x28')]();for(const _0x1b0a87 of this[_0xa8c0('0xd')][_0xa8c0('0x2f')])_0x1b0a87[_0xa8c0('0x28')]();}['_bindFirstCommentView'](){const {locale:_0x160e1c}=this,_0x4a13f0=this[_0xa8c0('0xd')]['commentViews'][_0xa8c0('0xc')](0x0);_0x4a13f0===this[_0xa8c0('0x29')]||_0x4a13f0[_0xa8c0('0x23')]||(this[_0xa8c0('0x29')]=_0x4a13f0,this['unbind']('actionIndicator'),this[_0xa8c0('0x31')]('actionIndicator')['to'](_0x4a13f0,_0xa8c0('0x5'),_0x3dd0f2=>'remove'===_0x3dd0f2?_0xa8c0('0x1d'):null),_0x4a13f0[_0xa8c0('0x21')]=_0x5d2288(_0x160e1c,'Write\x20a\x20comment...'),_0x4a13f0['removeButton']['on'](_0xa8c0('0x3'),_0x35a213=>{_0x35a213[_0xa8c0('0x35')](),this['showConfirm'](_0x5d2288(_0x160e1c,_0xa8c0('0x25')),this['containerElement'])[_0xa8c0('0x36')](()=>{this[_0xa8c0('0x13')](_0xa8c0('0x22'));});},{'priority':'high'}),_0x4a13f0[_0xa8c0('0xf')][_0xa8c0('0x38')](this[_0xa8c0('0x6')],0x0));}[_0xa8c0('0x16')](){const _0x1b1a32=new _0x117e7d(this['locale']);return _0x1b1a32[_0xa8c0('0x2')]=_0x5d2288(this[_0xa8c0('0x37')],'Resolve'),_0x1b1a32[_0xa8c0('0x3a')]=_0x5d2288(this[_0xa8c0('0x37')],_0xa8c0('0x18')),_0x1b1a32['icon']=_0x32064f[_0xa8c0('0x1f')],_0x1b1a32[_0xa8c0('0x2b')]({'attributes':{'class':_0xa8c0('0x10')}}),_0x1b1a32[_0xa8c0('0x31')]('isEnabled')['to'](this[_0xa8c0('0x33')],_0xa8c0('0x4'),_0x3789ff=>!_0x3789ff),_0x1b1a32[_0xa8c0('0x31')](_0xa8c0('0x8'))['to'](this[_0xa8c0('0x33')],_0xa8c0('0x26'),this['_model'],'isResolved',(_0x137b7c,_0x55e9dc)=>_0x137b7c&&!_0x55e9dc),_0x1b1a32['on']('execute',()=>{this[_0xa8c0('0x13')](_0xa8c0('0x1e'),this[_0xa8c0('0x33')]['id']);}),_0x1b1a32;}}