@ckeditor/ckeditor5-comments 0.0.0-nightly-20240117.0 → 0.0.0-nightly-20240119.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 _0x4de2=['listenTo','high','forEach','editor','plugins','config','dataInsert','define','execute','afterInit','get','basic','addCommentThread','importWord','collaboration.channelId','_handleImportedData','map'];(function(_0x2fe887,_0x4de261){const _0x2e72ed=function(_0x4e7ef2){while(--_0x4e7ef2){_0x2fe887['push'](_0x2fe887['shift']());}};_0x2e72ed(++_0x4de261);}(_0x4de2,0x12d));const _0x2e72=function(_0x2fe887,_0x4de261){_0x2fe887=_0x2fe887-0x0;let _0x2e72ed=_0x4de2[_0x2fe887];return _0x2e72ed;};import{Plugin as _0xba197e}from'ckeditor5/src/core.js';import{priorities as _0x26faf2}from'ckeditor5/src/utils.js';import{Users as _0x31d8a6}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1e3c3a from'../commentsrepository.js';export default class Z extends _0xba197e{constructor(_0x3bd4c1){super(_0x3bd4c1),this['editor'][_0x2e72('0xa')][_0x2e72('0xc')]('importWord.formatting.comments',_0x2e72('0x10'));}[_0x2e72('0xe')](){const _0x1cfe2e=this[_0x2e72('0x8')],_0x3904e0=_0x1cfe2e['commands'][_0x2e72('0xf')]('importWord'),_0x111864=_0x1cfe2e['plugins'][_0x2e72('0xf')](_0x31d8a6);_0x3904e0&&(_0x3904e0['on'](_0x2e72('0xd'),(_0x3e643e,[,_0x32b69e])=>{_0x32b69e['collaboration_features']={'comments':!0x0,'user_id':_0x111864['me']['id']};},{'priority':_0x26faf2[_0x2e72('0x6')]+0xa}),this[_0x2e72('0x5')](_0x3904e0,_0x2e72('0xb'),this[_0x2e72('0x3')]));}[_0x2e72('0x3')](_0x7dc2ec,_0x397407){const {comment_threads:_0x663503}=_0x397407;_0x663503&&_0x663503[_0x2e72('0x7')](({thread_id:_0x592b4b,comments:_0x3343dc,is_resolved:_0xe5174f})=>{const _0x418ebb=new Date(),_0x4148e8=_0x3343dc[_0x2e72('0x4')](({author:_0x5e1144,content:_0x1f35bc,created_at:_0x547ba9})=>({'content':_0x1f35bc,'authorId':this['editor'][_0x2e72('0x9')][_0x2e72('0xf')](_0x31d8a6)['me']['id'],'createdAt':_0x418ebb,'attributes':{'@external':{'authorName':_0x5e1144,'createdAt':_0x547ba9?new Date(_0x547ba9):new Date(),'source':_0x2e72('0x1')}}})),_0x397d72=this['editor'][_0x2e72('0xa')][_0x2e72('0xf')](_0x2e72('0x2'));this['editor'][_0x2e72('0x9')]['get'](_0x1e3c3a)[_0x2e72('0x0')]({'channelId':_0x397d72,'threadId':_0x592b4b,'comments':_0x4148e8,'resolvedAt':_0xe5174f?_0x418ebb:null});});}}
23
+ const _0x45ba=['dataInsert','forEach','high','basic','commands','config','_handleImportedData','collaboration.channelId','editor','plugins','get','collaboration_features','importWord','execute'];(function(_0xc628dd,_0x45ba5b){const _0x113424=function(_0x4911bb){while(--_0x4911bb){_0xc628dd['push'](_0xc628dd['shift']());}};_0x113424(++_0x45ba5b);}(_0x45ba,0x98));const _0x1134=function(_0xc628dd,_0x45ba5b){_0xc628dd=_0xc628dd-0x0;let _0x113424=_0x45ba[_0xc628dd];return _0x113424;};import{Plugin as _0x32579d}from'ckeditor5/src/core.js';import{priorities as _0x44e96f}from'ckeditor5/src/utils.js';import{Users as _0x33ea08}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x58e107 from'../commentsrepository.js';export default class Z extends _0x32579d{constructor(_0x5a56d1){super(_0x5a56d1),this['editor'][_0x1134('0x7')]['define']('importWord.formatting.comments',_0x1134('0x5'));}['afterInit'](){const _0x79c494=this['editor'],_0x3a86a7=_0x79c494[_0x1134('0x6')][_0x1134('0xc')](_0x1134('0x0')),_0x56f8b4=_0x79c494['plugins'][_0x1134('0xc')](_0x33ea08);_0x3a86a7&&(_0x3a86a7['on'](_0x1134('0x1'),(_0x550f7b,[,_0x3572d5])=>{_0x3572d5[_0x1134('0xd')]={'comments':!0x0,'user_id':_0x56f8b4['me']['id']};},{'priority':_0x44e96f[_0x1134('0x4')]+0xa}),this['listenTo'](_0x3a86a7,_0x1134('0x2'),this['_handleImportedData']));}[_0x1134('0x8')](_0x54015f,_0x4a6f09){const {comment_threads:_0x325f08}=_0x4a6f09;_0x325f08&&_0x325f08[_0x1134('0x3')](({thread_id:_0x301fea,comments:_0x4193d3,is_resolved:_0x1c731a})=>{const _0x3efea6=new Date(),_0x16dcb6=_0x4193d3['map'](({author:_0x54f706,content:_0x5414ab,created_at:_0x86f85c})=>({'content':_0x5414ab,'authorId':this['editor'][_0x1134('0xb')][_0x1134('0xc')](_0x33ea08)['me']['id'],'createdAt':_0x3efea6,'attributes':{'@external':{'authorName':_0x54f706,'createdAt':_0x86f85c?new Date(_0x86f85c):new Date(),'source':_0x1134('0x0')}}})),_0x4a82c8=this[_0x1134('0xa')][_0x1134('0x7')][_0x1134('0xc')](_0x1134('0x9'));this['editor'][_0x1134('0xb')][_0x1134('0xc')](_0x58e107)['addCommentThread']({'channelId':_0x4a82c8,'threadId':_0x301fea,'comments':_0x16dcb6,'resolvedAt':_0x1c731a?_0x3efea6:null});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe336=['initialData','data','then','focus','change:placeholder','low','childCount','_updatePlaceholder','getChild','assign','end','placeholderElement','placeholder','init','defaultPlugins','createRoot','change','view','getRoot','document','destroy','editing','get','ready','plugins','model','create','fire'];(function(_0x499f9f,_0xe336f4){const _0x909b2e=function(_0x4e3568){while(--_0x4e3568){_0x499f9f['push'](_0x499f9f['shift']());}};_0x909b2e(++_0xe336f4);}(_0xe336,0x199));const _0x909b=function(_0x499f9f,_0xe336f4){_0x499f9f=_0x499f9f-0x0;let _0x909b2e=_0xe336[_0x499f9f];return _0x909b2e;};import{Editor as _0x5f0326,DataApiMixin as _0x25142b}from'ckeditor5/src/core.js';import _0x37e1d9 from'./commenteditorui.js';import{ObservableMixin as _0x9eca5f}from'ckeditor5/src/utils.js';import{enablePlaceholder as _0x23ec5a,disablePlaceholder as _0x21eb78}from'ckeditor5/src/engine.js';import{Clipboard as _0x778b87}from'ckeditor5/src/clipboard.js';import{Enter as _0xde576f,ShiftEnter as _0x5ed63d}from'ckeditor5/src/enter.js';import{SelectAll as _0x2efdac}from'ckeditor5/src/select-all.js';import{Typing as _0x4af91b}from'ckeditor5/src/typing.js';import{Undo as _0x8e260a}from'ckeditor5/src/undo.js';import{Paragraph as _0x25184f}from'ckeditor5/src/paragraph.js';const Mt=[_0x778b87,_0xde576f,_0x5ed63d,_0x2efdac,_0x4af91b,_0x8e260a,_0x25184f];class Nt extends _0x9eca5f(_0x25142b(_0x5f0326)){constructor(_0xb584b4={}){(_0xb584b4=Object[_0x909b('0x14')]({},_0xb584b4))[_0x909b('0x7')]||(_0xb584b4['plugins']=Nt[_0x909b('0x19')]),super(_0xb584b4),this['ui']=new _0x37e1d9(this),this['set'](_0x909b('0x17'),''),this[_0x909b('0x8')][_0x909b('0x2')]['on'](_0x909b('0x1b'),()=>this[_0x909b('0x12')](),{'priority':_0x909b('0x10')}),this['on'](_0x909b('0xf'),()=>this[_0x909b('0x12')]()),this['model'][_0x909b('0x2')][_0x909b('0x1a')]();}[_0x909b('0x9')](){const _0x3cef49=this['config'][_0x909b('0x5')](_0x909b('0xb'))||'';return this['initPlugins']()[_0x909b('0xd')](()=>this['ui'][_0x909b('0x18')]())[_0x909b('0xd')](()=>this[_0x909b('0xc')][_0x909b('0x18')](_0x3cef49))['then'](()=>this[_0x909b('0xa')](_0x909b('0x6')));}[_0x909b('0x3')](){return super[_0x909b('0x3')]()[_0x909b('0xd')](()=>this['ui'][_0x909b('0x3')]());}[_0x909b('0xe')](){this[_0x909b('0x8')][_0x909b('0x1b')](_0x58ac1a=>{const _0x3f077c=this[_0x909b('0x8')][_0x909b('0x2')][_0x909b('0x1')](),_0x2ac8c1=_0x3f077c&&_0x3f077c[_0x909b('0x13')](_0x3f077c[_0x909b('0x11')]-0x1);_0x58ac1a['setSelection'](_0x2ac8c1,_0x909b('0x15')),this[_0x909b('0x4')]['view'][_0x909b('0xe')]();});}[_0x909b('0x12')](){const _0x1415a6=this['editing'][_0x909b('0x0')],_0x232145=_0x1415a6[_0x909b('0x2')]['getRoot'](),_0x5d5ce8=_0x232145[_0x909b('0x13')](0x0);_0x232145[_0x909b('0x11')]>0x1||!_0x5d5ce8||'p'!=_0x5d5ce8['name']?this['placeholderElement']&&this[_0x909b('0x16')][_0x909b('0x17')]&&(_0x21eb78(_0x1415a6,this[_0x909b('0x16')]),this[_0x909b('0x16')]=void 0x0):(this[_0x909b('0x17')]&&(_0x5d5ce8[_0x909b('0x17')]=this[_0x909b('0x17')]),_0x23ec5a({'view':_0x1415a6,'element':_0x5d5ce8,'keepOnFocus':!0x0}),this['placeholderElement']=_0x5d5ce8);}}Nt['defaultPlugins']=Mt;export default Nt;
23
+ const _0x1dd3=['initPlugins','createRoot','change','then','placeholderElement','fire','_updatePlaceholder','low','editing','placeholder','data','view','assign','create','getChild','focus','name','document','get','getRoot','init','plugins','childCount','setSelection','set','defaultPlugins','model','destroy','ready'];(function(_0x4f972d,_0x1dd3da){const _0x32bdf4=function(_0x2e6a52){while(--_0x2e6a52){_0x4f972d['push'](_0x4f972d['shift']());}};_0x32bdf4(++_0x1dd3da);}(_0x1dd3,0x1b2));const _0x32bd=function(_0x4f972d,_0x1dd3da){_0x4f972d=_0x4f972d-0x0;let _0x32bdf4=_0x1dd3[_0x4f972d];return _0x32bdf4;};import{Editor as _0x4a996c,DataApiMixin as _0x5810b7}from'ckeditor5/src/core.js';import _0xb86a72 from'./commenteditorui.js';import{ObservableMixin as _0x273074}from'ckeditor5/src/utils.js';import{enablePlaceholder as _0x55f3b2,disablePlaceholder as _0x5c91f7}from'ckeditor5/src/engine.js';import{Clipboard as _0x20424f}from'ckeditor5/src/clipboard.js';import{Enter as _0x15fc1c,ShiftEnter as _0x7fef55}from'ckeditor5/src/enter.js';import{SelectAll as _0x665d47}from'ckeditor5/src/select-all.js';import{Typing as _0x2da572}from'ckeditor5/src/typing.js';import{Undo as _0xf9a3ce}from'ckeditor5/src/undo.js';import{Paragraph as _0xac41a5}from'ckeditor5/src/paragraph.js';const Mt=[_0x20424f,_0x15fc1c,_0x7fef55,_0x665d47,_0x2da572,_0xf9a3ce,_0xac41a5];class Nt extends _0x273074(_0x5810b7(_0x4a996c)){constructor(_0x597809={}){(_0x597809=Object[_0x32bd('0xd')]({},_0x597809))['plugins']||(_0x597809[_0x32bd('0x16')]=Nt['defaultPlugins']),super(_0x597809),this['ui']=new _0xb86a72(this),this[_0x32bd('0x19')](_0x32bd('0xa'),''),this[_0x32bd('0x1b')][_0x32bd('0x12')]['on'](_0x32bd('0x3'),()=>this[_0x32bd('0x7')](),{'priority':_0x32bd('0x8')}),this['on']('change:placeholder',()=>this[_0x32bd('0x7')]()),this[_0x32bd('0x1b')][_0x32bd('0x12')][_0x32bd('0x2')]();}[_0x32bd('0xe')](){const _0x4ea601=this['config'][_0x32bd('0x13')]('initialData')||'';return this[_0x32bd('0x1')]()[_0x32bd('0x4')](()=>this['ui'][_0x32bd('0x15')]())[_0x32bd('0x4')](()=>this[_0x32bd('0xb')][_0x32bd('0x15')](_0x4ea601))[_0x32bd('0x4')](()=>this[_0x32bd('0x6')](_0x32bd('0x0')));}['destroy'](){return super[_0x32bd('0x1c')]()[_0x32bd('0x4')](()=>this['ui']['destroy']());}[_0x32bd('0x10')](){this[_0x32bd('0x1b')][_0x32bd('0x3')](_0x4ccf07=>{const _0x87fe77=this[_0x32bd('0x1b')][_0x32bd('0x12')][_0x32bd('0x14')](),_0x54d374=_0x87fe77&&_0x87fe77[_0x32bd('0xf')](_0x87fe77['childCount']-0x1);_0x4ccf07[_0x32bd('0x18')](_0x54d374,'end'),this['editing'][_0x32bd('0xc')][_0x32bd('0x10')]();});}[_0x32bd('0x7')](){const _0x1d43d0=this[_0x32bd('0x9')][_0x32bd('0xc')],_0x42357e=_0x1d43d0['document'][_0x32bd('0x14')](),_0x16f6e9=_0x42357e[_0x32bd('0xf')](0x0);_0x42357e[_0x32bd('0x17')]>0x1||!_0x16f6e9||'p'!=_0x16f6e9[_0x32bd('0x11')]?this[_0x32bd('0x5')]&&this[_0x32bd('0x5')][_0x32bd('0xa')]&&(_0x5c91f7(_0x1d43d0,this[_0x32bd('0x5')]),this[_0x32bd('0x5')]=void 0x0):(this[_0x32bd('0xa')]&&(_0x16f6e9[_0x32bd('0xa')]=this[_0x32bd('0xa')]),_0x55f3b2({'view':_0x1d43d0,'element':_0x16f6e9,'keepOnFocus':!0x0}),this['placeholderElement']=_0x16f6e9);}}Nt[_0x32bd('0x1a')]=Mt;export default Nt;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5528=['setEditableElement','editor','render','view','destroy','bind','focusTracker','name','element','attachDomRoot','init','fire','isFocused','editable','rootName','editing'];(function(_0xb0cfcf,_0x5528dc){const _0x17a0e4=function(_0x421fbb){while(--_0x421fbb){_0xb0cfcf['push'](_0xb0cfcf['shift']());}};_0x17a0e4(++_0x5528dc);}(_0x5528,0x92));const _0x17a0=function(_0xb0cfcf,_0x5528dc){_0xb0cfcf=_0xb0cfcf-0x0;let _0x17a0e4=_0x5528[_0xb0cfcf];return _0x17a0e4;};import{EditorUI as _0x316529}from'ckeditor5/src/ui.js';import _0xfebdf2 from'./commenteditoruiview.js';export default class Ft extends _0x316529{constructor(_0x54bbd9){super(_0x54bbd9),this[_0x17a0('0x1')]=new _0xfebdf2(_0x54bbd9['locale'],_0x54bbd9[_0x17a0('0xd')][_0x17a0('0x1')]);}get[_0x17a0('0x6')](){return this['view']['element'];}[_0x17a0('0x8')](){const _0x4b6120=this[_0x17a0('0xf')]['editing'][_0x17a0('0x1')],_0x3c7476=this[_0x17a0('0x1')][_0x17a0('0xb')],_0x340d18=_0x4b6120['document']['getRoot']();_0x3c7476['name']=_0x340d18[_0x17a0('0xc')],this[_0x17a0('0x1')][_0x17a0('0x0')]();const _0x33ea30=_0x3c7476['element'];this[_0x17a0('0xe')](_0x3c7476[_0x17a0('0x5')],_0x33ea30),this[_0x17a0('0x1')][_0x17a0('0xb')][_0x17a0('0x3')](_0x17a0('0xa'))['to'](this[_0x17a0('0x4')]),_0x4b6120[_0x17a0('0x7')](_0x33ea30),this[_0x17a0('0x9')]('ready');}[_0x17a0('0x2')](){super['destroy'](),this['view'][_0x17a0('0x2')]();}}
23
+ const _0x5f83=['editable','editing','rootName','setEditableElement','view','destroy','element','attachDomRoot','isFocused','bind','editor','locale','render','fire','focusTracker','init'];(function(_0x532ad4,_0x5f83d9){const _0x49bb45=function(_0x390bc3){while(--_0x390bc3){_0x532ad4['push'](_0x532ad4['shift']());}};_0x49bb45(++_0x5f83d9);}(_0x5f83,0x1c1));const _0x49bb=function(_0x532ad4,_0x5f83d9){_0x532ad4=_0x532ad4-0x0;let _0x49bb45=_0x5f83[_0x532ad4];return _0x49bb45;};import{EditorUI as _0x5debbd}from'ckeditor5/src/ui.js';import _0x522d30 from'./commenteditoruiview.js';export default class Ft extends _0x5debbd{constructor(_0x5a34b3){super(_0x5a34b3),this[_0x49bb('0x3')]=new _0x522d30(_0x5a34b3[_0x49bb('0xa')],_0x5a34b3[_0x49bb('0x0')][_0x49bb('0x3')]);}get['element'](){return this[_0x49bb('0x3')][_0x49bb('0x5')];}[_0x49bb('0xe')](){const _0x3d511b=this[_0x49bb('0x9')][_0x49bb('0x0')]['view'],_0xeda801=this[_0x49bb('0x3')][_0x49bb('0xf')],_0x447e5a=_0x3d511b['document']['getRoot']();_0xeda801['name']=_0x447e5a[_0x49bb('0x1')],this[_0x49bb('0x3')][_0x49bb('0xb')]();const _0x5affb7=_0xeda801['element'];this[_0x49bb('0x2')](_0xeda801['name'],_0x5affb7),this['view'][_0x49bb('0xf')][_0x49bb('0x8')](_0x49bb('0x7'))['to'](this[_0x49bb('0xd')]),_0x3d511b[_0x49bb('0x6')](_0x5affb7),this[_0x49bb('0xc')]('ready');}[_0x49bb('0x4')](){super[_0x49bb('0x4')](),this['view']['destroy']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x391c=['render','ck-reset','_voiceLabelView','ck-voice-label','presentation','ck-editor','focus','uiLanguageDirection','Comment\x20editor','element','ck-editor__main','div','text','extendTemplate','setTemplate','createCollection','add','editable','main','ck-rounded-corners','_createVoiceLabel'];(function(_0x13fa88,_0x391c8f){const _0xcc3343=function(_0x33035b){while(--_0x33035b){_0x13fa88['push'](_0x13fa88['shift']());}};_0xcc3343(++_0x391c8f);}(_0x391c,0xb7));const _0xcc33=function(_0x13fa88,_0x391c8f){_0x13fa88=_0x13fa88-0x0;let _0xcc3343=_0x391c[_0x13fa88];return _0xcc3343;};import{InlineEditableUIView as _0xa69411,EditorUIView as _0x3215b3,LabelView as _0x2e28a0}from'ckeditor5/src/ui.js';import{uid as _0x119dd4}from'ckeditor5/src/utils.js';import{getTranslation as _0x367b52}from'../../../utils/common-translations.js';export default class Rt extends _0x3215b3{constructor(_0x1a6e8f,_0x5cd370){super(_0x1a6e8f);const _0x3395ec=_0x119dd4();this['main']=this[_0xcc33('0x0')](),this[_0xcc33('0x2')]=new _0xa69411(_0x1a6e8f,_0x5cd370),this[_0xcc33('0x8')]=this[_0xcc33('0x5')](_0x3395ec,_0x1a6e8f),this[_0xcc33('0x14')]({'tag':_0xcc33('0x11'),'attributes':{'class':[_0xcc33('0x7'),_0xcc33('0xb'),_0xcc33('0x4'),'ck-comment__input'],'role':'comment','dir':_0x1a6e8f[_0xcc33('0xd')],'lang':_0x1a6e8f['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x3395ec},'children':[this['_voiceLabelView'],{'tag':'div','attributes':{'class':_0xcc33('0x10'),'role':_0xcc33('0xa')},'children':this['main']}]});}[_0xcc33('0x6')](){super[_0xcc33('0x6')](),this[_0xcc33('0x3')][_0xcc33('0x1')](this[_0xcc33('0x2')]);}[_0xcc33('0xc')](){this[_0xcc33('0x2')][_0xcc33('0xf')]['focus']();}[_0xcc33('0x5')](_0x6dfbcb,_0x50fe11){const _0x513050=new _0x2e28a0();return _0x513050[_0xcc33('0x12')]=_0x367b52(_0x50fe11,_0xcc33('0xe')),_0x513050[_0xcc33('0x13')]({'attributes':{'id':'ck-editor__aria-label_'+_0x6dfbcb,'class':_0xcc33('0x9')}}),_0x513050;}}
23
+ const _0x2a9d=['ck-rounded-corners','editable','render','focus','extendTemplate','uiLanguageDirection','_createVoiceLabel','Comment\x20editor','ck-editor','_voiceLabelView','text','ck-comment__input','div','comment','element','main','uiLanguage','ck-editor__aria-label_','cke-editor__aria-label_'];(function(_0x5922f7,_0x2a9d5f){const _0x4c1617=function(_0x3ca673){while(--_0x3ca673){_0x5922f7['push'](_0x5922f7['shift']());}};_0x4c1617(++_0x2a9d5f);}(_0x2a9d,0x1da));const _0x4c16=function(_0x5922f7,_0x2a9d5f){_0x5922f7=_0x5922f7-0x0;let _0x4c1617=_0x2a9d[_0x5922f7];return _0x4c1617;};import{InlineEditableUIView as _0x150ed0,EditorUIView as _0x48afaa,LabelView as _0x2364b4}from'ckeditor5/src/ui.js';import{uid as _0x54ab55}from'ckeditor5/src/utils.js';import{getTranslation as _0x1b747b}from'../../../utils/common-translations.js';export default class Rt extends _0x48afaa{constructor(_0x5417b1,_0x37fa23){super(_0x5417b1);const _0x389712=_0x54ab55();this['main']=this['createCollection'](),this[_0x4c16('0x2')]=new _0x150ed0(_0x5417b1,_0x37fa23),this[_0x4c16('0xa')]=this['_createVoiceLabel'](_0x389712,_0x5417b1),this['setTemplate']({'tag':_0x4c16('0xd'),'attributes':{'class':['ck-reset',_0x4c16('0x9'),_0x4c16('0x1'),_0x4c16('0xc')],'role':_0x4c16('0xe'),'dir':_0x5417b1[_0x4c16('0x6')],'lang':_0x5417b1[_0x4c16('0x11')],'aria-labelledby':_0x4c16('0x0')+_0x389712},'children':[this[_0x4c16('0xa')],{'tag':'div','attributes':{'class':'ck-editor__main','role':'presentation'},'children':this[_0x4c16('0x10')]}]});}[_0x4c16('0x3')](){super[_0x4c16('0x3')](),this[_0x4c16('0x10')]['add'](this['editable']);}[_0x4c16('0x4')](){this[_0x4c16('0x2')][_0x4c16('0xf')]['focus']();}[_0x4c16('0x7')](_0x132a5d,_0xe06e6e){const _0x522eab=new _0x2364b4();return _0x522eab[_0x4c16('0xb')]=_0x1b747b(_0xe06e6e,_0x4c16('0x8')),_0x522eab[_0x4c16('0x5')]({'attributes':{'id':_0x4c16('0x12')+_0x132a5d,'class':'ck-voice-label'}}),_0x522eab;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3dfa=['model','stopListening','getComment','remove','view','destroy','reopenCommentThread','addComment','isResolved','resolve','_isAttached','reopen','submit','submitCommentThread','removeComment','updateComment','update','listenTo','_localUser'];(function(_0x1631ca,_0x3dfa24){var _0x116660=function(_0x5c77ba){while(--_0x5c77ba){_0x1631ca['push'](_0x1631ca['shift']());}};_0x116660(++_0x3dfa24);}(_0x3dfa,0xc1));var _0x1166=function(_0x1631ca,_0x3dfa24){_0x1631ca=_0x1631ca-0x0;var _0x116660=_0x3dfa[_0x1631ca];return _0x116660;};import{ObservableMixin as _0x181f8e}from'ckeditor5/src/utils.js';export default class ut extends _0x181f8e(){constructor(_0x5d4ff8,_0x28eb17){super(),this['model']=_0x5d4ff8,this[_0x1166('0x10')][_0x1166('0x7')]=!0x0,this[_0x1166('0x1')]=_0x28eb17,this[_0x1166('0xe')](_0x28eb17,_0x1166('0xa'),()=>this['submit']()),this[_0x1166('0xe')](_0x28eb17,'removeCommentThread',()=>this[_0x1166('0x0')]()),this[_0x1166('0xe')](_0x28eb17,'resolveCommentThread',()=>this[_0x1166('0x6')]()),this[_0x1166('0xe')](_0x28eb17,_0x1166('0x3'),()=>this[_0x1166('0x8')]()),this[_0x1166('0xe')](_0x28eb17,_0x1166('0x4'),(_0x25a690,_0x246954)=>this[_0x1166('0x4')](_0x246954)),this['listenTo'](_0x28eb17,_0x1166('0xc'),(_0xcfb44b,_0x395e5e,_0x414fb6)=>this[_0x1166('0xc')](_0x395e5e,_0x414fb6)),this[_0x1166('0xe')](_0x28eb17,_0x1166('0xb'),(_0x5aba29,_0x2236a1)=>this[_0x1166('0xb')](_0x2236a1));}[_0x1166('0x9')](){this['model'][_0x1166('0x9')]();}[_0x1166('0x0')](){this['model'][_0x1166('0x0')]();}[_0x1166('0x6')](){this[_0x1166('0x10')][_0x1166('0x5')]||this[_0x1166('0x10')][_0x1166('0x6')]();}['reopen'](){this[_0x1166('0x10')][_0x1166('0x5')]&&this[_0x1166('0x10')][_0x1166('0x8')]();}[_0x1166('0x4')](_0x319937){this[_0x1166('0x10')][_0x1166('0x4')]({'content':_0x319937,'authorId':this[_0x1166('0x1')][_0x1166('0xf')]['id']});}[_0x1166('0xc')](_0x3091e8,_0xfaecdb){this[_0x1166('0x10')][_0x1166('0x12')](_0x3091e8)[_0x1166('0xd')]({'content':_0xfaecdb});}['removeComment'](_0x30a1f6){this[_0x1166('0x10')][_0x1166('0x12')](_0x30a1f6)[_0x1166('0x0')]();}[_0x1166('0x2')](){this[_0x1166('0x11')](),this[_0x1166('0x10')][_0x1166('0x7')]=!0x1;}}
23
+ var _0x3ffd=['isResolved','resolve','listenTo','resolveCommentThread','removeComment','stopListening','model','view','reopen','destroy','submitCommentThread','getComment','addComment','updateComment','_localUser','_isAttached','removeCommentThread','remove','submit'];(function(_0x30d208,_0x3ffd5c){var _0x42685b=function(_0x1020db){while(--_0x1020db){_0x30d208['push'](_0x30d208['shift']());}};_0x42685b(++_0x3ffd5c);}(_0x3ffd,0x131));var _0x4268=function(_0x30d208,_0x3ffd5c){_0x30d208=_0x30d208-0x0;var _0x42685b=_0x3ffd[_0x30d208];return _0x42685b;};import{ObservableMixin as _0x17ca9b}from'ckeditor5/src/utils.js';export default class ut extends _0x17ca9b(){constructor(_0x5803b6,_0x2edc49){super(),this[_0x4268('0x5')]=_0x5803b6,this['model'][_0x4268('0xe')]=!0x0,this[_0x4268('0x6')]=_0x2edc49,this[_0x4268('0x1')](_0x2edc49,_0x4268('0x9'),()=>this[_0x4268('0x11')]()),this[_0x4268('0x1')](_0x2edc49,_0x4268('0xf'),()=>this[_0x4268('0x10')]()),this[_0x4268('0x1')](_0x2edc49,_0x4268('0x2'),()=>this[_0x4268('0x0')]()),this['listenTo'](_0x2edc49,'reopenCommentThread',()=>this[_0x4268('0x7')]()),this[_0x4268('0x1')](_0x2edc49,_0x4268('0xb'),(_0x41361c,_0x46fb2c)=>this['addComment'](_0x46fb2c)),this['listenTo'](_0x2edc49,_0x4268('0xc'),(_0x583853,_0x5baa59,_0xc622c3)=>this[_0x4268('0xc')](_0x5baa59,_0xc622c3)),this[_0x4268('0x1')](_0x2edc49,'removeComment',(_0x4710bf,_0x547fa1)=>this[_0x4268('0x3')](_0x547fa1));}[_0x4268('0x11')](){this['model'][_0x4268('0x11')]();}['remove'](){this[_0x4268('0x5')][_0x4268('0x10')]();}['resolve'](){this['model']['isResolved']||this[_0x4268('0x5')][_0x4268('0x0')]();}[_0x4268('0x7')](){this[_0x4268('0x5')][_0x4268('0x12')]&&this[_0x4268('0x5')]['reopen']();}[_0x4268('0xb')](_0x1457b0){this[_0x4268('0x5')][_0x4268('0xb')]({'content':_0x1457b0,'authorId':this[_0x4268('0x6')][_0x4268('0xd')]['id']});}[_0x4268('0xc')](_0x244956,_0x13b2af){this[_0x4268('0x5')][_0x4268('0xa')](_0x244956)['update']({'content':_0x13b2af});}[_0x4268('0x3')](_0x46b047){this['model'][_0x4268('0xa')](_0x46b047)['remove']();}[_0x4268('0x8')](){this[_0x4268('0x4')](),this[_0x4268('0x5')][_0x4268('0xe')]=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11ba=['isSubmitted','isDirty','Reply','commentsListView','editorDestroyed','length','cancel','submitCommentThread','Write\x20a\x20comment...','_config','_localUser','element','listenTo','delegate','_createCommentThreadInputView','Reply\x20to\x20reopen\x20discussion...','locale','fire','removeCommentThread','commentThreadInputView','isResolved','isUnlinked','bind','isReadOnly','value','_model','updateComment','placeholder','set','isActive','assign','focus','disabledSubmit','isResolvable','removeComment','submit','archivedAt','commentThreadHeaderView','change:isActive','CommentView','commentInputView','Reply...','reopenCommentThread','editorConfig','destroy'];(function(_0x5b44a1,_0x11ba0c){const _0x28107e=function(_0x491861){while(--_0x491861){_0x5b44a1['push'](_0x5b44a1['shift']());}};_0x28107e(++_0x11ba0c);}(_0x11ba,0x1e3));const _0x2810=function(_0x5b44a1,_0x11ba0c){_0x5b44a1=_0x5b44a1-0x0;let _0x28107e=_0x11ba[_0x5b44a1];return _0x28107e;};import{View as _0x43eecf}from'ckeditor5/src/ui.js';import _0x2e7a99 from'./commentthreadinputview.js';import _0x147d41 from'./commentslistview.js';import _0x143e55 from'./commentthreadheaderview.js';import{getTranslation as _0x458e7c}from'../../../utils/common-translations.js';export default class Ut extends _0x43eecf{constructor(_0x58566f,_0x566b0e,_0x251d7c,_0x45a204){super(_0x58566f),this['set'](_0x2810('0x29'),!0x1),this[_0x2810('0x28')](_0x2810('0xd'),!0x1),this[_0x2810('0x25')]=_0x566b0e,this[_0x2810('0x16')]=_0x251d7c,this['_config']=_0x45a204,this[_0x2810('0x4')]=new _0x143e55(_0x58566f,_0x566b0e),this[_0x2810('0x4')][_0x2810('0x19')]('reopenCommentThread')['to'](this),this[_0x2810('0x18')](this,'reopenCommentThread',()=>{this['focus']();}),this[_0x2810('0xf')]=new _0x147d41(_0x58566f,_0x566b0e,Object[_0x2810('0x2a')]({'CommentView':this[_0x2810('0x15')][_0x2810('0x6')]},_0x45a204)),this[_0x2810('0xf')][_0x2810('0x19')](_0x2810('0x1'))['to'](this),this[_0x2810('0xf')][_0x2810('0x19')](_0x2810('0x26'))['to'](this),this[_0x2810('0xf')][_0x2810('0x19')]('resolveCommentThread')['to'](this),this[_0x2810('0xf')]['delegate']('editorReady')['to'](this),this[_0x2810('0xf')][_0x2810('0x19')](_0x2810('0x10'))['to'](this),this[_0x2810('0xf')]['bind']('isActive')['to'](this),this['listenTo'](this,'resolveCommentThread',()=>{this['focus']();}),this[_0x2810('0x28')](_0x2810('0x11'),this['commentsListView']['length']),this[_0x2810('0x22')]('length')['to'](this[_0x2810('0xf')],_0x2810('0x11')),this[_0x2810('0x1f')]=this[_0x2810('0x1a')](),this['commentThreadInputView'][_0x2810('0x19')]('editorReady')['to'](this),this['commentThreadInputView'][_0x2810('0x19')](_0x2810('0x10'))['to'](this),this['on']('removeComment',()=>this[_0x2810('0x2b')]()),this[_0x2810('0x22')](_0x2810('0xd'))['to'](this[_0x2810('0xf')],'hasDirtyComment',this[_0x2810('0x1f')][_0x2810('0x7')],_0x2810('0x24'),(_0x380bf3,_0x2fc38b)=>_0x380bf3||!!_0x2fc38b),this['bind'](_0x2810('0x21'))['to'](_0x566b0e,'unlinkedAt',_0x3c78e3=>!!_0x3c78e3);}['focus'](){this[_0x2810('0x17')][_0x2810('0x2b')]();}async['destroy'](){this[_0x2810('0xd')]=!0x1,this[_0x2810('0xf')][_0x2810('0xb')](),await this[_0x2810('0x1f')][_0x2810('0xb')](),super[_0x2810('0xb')]();}[_0x2810('0x1a')](){const _0x5b7e0a=new _0x2e7a99(this['locale'],this[_0x2810('0x16')],this['_config'][_0x2810('0xa')]),_0x20fe9e=_0x5b7e0a['commentInputView'];return _0x5b7e0a[_0x2810('0x22')]('showInput')['to'](this,'isActive',this[_0x2810('0x25')],'isReadOnly',this[_0x2810('0x25')],'canComment',this[_0x2810('0x25')],_0x2810('0x3'),_0x20fe9e,_0x2810('0x24'),(_0x591605,_0x38ffa3,_0x389e0f,_0x18fefd,_0x5b8670)=>!!_0x5b8670||!!_0x18fefd&&_0x389e0f&&!_0x38ffa3||_0x591605&&_0x389e0f&&!_0x38ffa3),_0x20fe9e[_0x2810('0x22')](_0x2810('0x27'))['to'](this,_0x2810('0x11'),this['_model'],_0x2810('0x0'),this[_0x2810('0x25')],_0x2810('0x20'),(_0x53ae4f,_0x4fbe3d,_0x141f48)=>{let _0x5d9315;return _0x5d9315=_0x141f48&&_0x4fbe3d?_0x2810('0x1b'):_0x53ae4f?_0x2810('0x8'):_0x2810('0x14'),_0x458e7c(this[_0x2810('0x1c')],_0x5d9315);}),_0x20fe9e[_0x2810('0x22')]('submitLabel')['to'](this,_0x2810('0x11'),_0x3f30fa=>_0x458e7c(this[_0x2810('0x1c')],_0x3f30fa?_0x2810('0xe'):'Comment')),_0x20fe9e['on'](_0x2810('0x2'),(_0x83a400,_0x1e84b2)=>{this['fire']('addComment',_0x1e84b2),this[_0x2810('0x25')][_0x2810('0x20')]&&this[_0x2810('0x25')][_0x2810('0x0')]&&this[_0x2810('0x1d')](_0x2810('0x9'),this[_0x2810('0x25')]['id']),this['_model'][_0x2810('0xc')]||this[_0x2810('0x1d')](_0x2810('0x13'));}),_0x20fe9e['on'](_0x2810('0x12'),()=>{this[_0x2810('0x2b')]();}),_0x20fe9e[_0x2810('0x22')](_0x2810('0x2c'))['to'](this[_0x2810('0x25')],_0x2810('0x23')),_0x20fe9e['on'](_0x2810('0x12'),_0x57c2c2=>{0x0==this['length']&&(this[_0x2810('0x1d')](_0x2810('0x1e')),_0x57c2c2['stop']());}),this['on'](_0x2810('0x5'),(_0x37f021,_0x2c1ae3,_0x2094e9)=>{_0x2094e9||this[_0x2810('0x11')]||_0x20fe9e[_0x2810('0x24')]||this[_0x2810('0x1d')](_0x2810('0x1e'));}),_0x5b7e0a;}}
23
+ const _0x5acf=['_localUser','_model','isResolved','commentThreadInputView','addComment','isActive','updateComment','removeComment','set','delegate','focus','commentThreadHeaderView','hasDirtyComment','editorDestroyed','isDirty','removeCommentThread','resolveCommentThread','commentInputView','reopenCommentThread','canComment','CommentView','locale','isUnlinked','length','isSubmitted','Comment','isReadOnly','showInput','Reply','submitLabel','assign','editorReady','destroy','_createCommentThreadInputView','unlinkedAt','value','Reply\x20to\x20reopen\x20discussion...','_config','disabledSubmit','editorConfig','commentsListView','bind','cancel','fire','stop','listenTo','Write\x20a\x20comment...'];(function(_0x728129,_0x5acf75){const _0x102290=function(_0xfd274a){while(--_0xfd274a){_0x728129['push'](_0x728129['shift']());}};_0x102290(++_0x5acf75);}(_0x5acf,0x82));const _0x1022=function(_0x728129,_0x5acf75){_0x728129=_0x728129-0x0;let _0x102290=_0x5acf[_0x728129];return _0x102290;};import{View as _0x4ba7f3}from'ckeditor5/src/ui.js';import _0x40abe8 from'./commentthreadinputview.js';import _0x42497c from'./commentslistview.js';import _0x166eb6 from'./commentthreadheaderview.js';import{getTranslation as _0x20fbe9}from'../../../utils/common-translations.js';export default class Ut extends _0x4ba7f3{constructor(_0x81e55e,_0x3e7759,_0x4cc654,_0x4619e0){super(_0x81e55e),this['set'](_0x1022('0x10'),!0x1),this['set'](_0x1022('0x19'),!0x1),this[_0x1022('0xc')]=_0x3e7759,this['_localUser']=_0x4cc654,this[_0x1022('0x1')]=_0x4619e0,this[_0x1022('0x16')]=new _0x166eb6(_0x81e55e,_0x3e7759),this[_0x1022('0x16')]['delegate']('reopenCommentThread')['to'](this),this[_0x1022('0x9')](this,_0x1022('0x1d'),()=>{this[_0x1022('0x15')]();}),this[_0x1022('0x4')]=new _0x42497c(_0x81e55e,_0x3e7759,Object[_0x1022('0x29')]({'CommentView':this[_0x1022('0x1')][_0x1022('0x1f')]},_0x4619e0)),this[_0x1022('0x4')][_0x1022('0x14')](_0x1022('0x12'))['to'](this),this[_0x1022('0x4')][_0x1022('0x14')](_0x1022('0x11'))['to'](this),this[_0x1022('0x4')][_0x1022('0x14')](_0x1022('0x1b'))['to'](this),this[_0x1022('0x4')][_0x1022('0x14')]('editorReady')['to'](this),this['commentsListView'][_0x1022('0x14')]('editorDestroyed')['to'](this),this[_0x1022('0x4')][_0x1022('0x5')](_0x1022('0x10'))['to'](this),this[_0x1022('0x9')](this,_0x1022('0x1b'),()=>{this[_0x1022('0x15')]();}),this[_0x1022('0x13')]('length',this[_0x1022('0x4')][_0x1022('0x22')]),this[_0x1022('0x5')](_0x1022('0x22'))['to'](this[_0x1022('0x4')],_0x1022('0x22')),this[_0x1022('0xe')]=this['_createCommentThreadInputView'](),this[_0x1022('0xe')][_0x1022('0x14')](_0x1022('0x2a'))['to'](this),this[_0x1022('0xe')][_0x1022('0x14')](_0x1022('0x18'))['to'](this),this['on']('removeComment',()=>this[_0x1022('0x15')]()),this[_0x1022('0x5')](_0x1022('0x19'))['to'](this[_0x1022('0x4')],_0x1022('0x17'),this[_0x1022('0xe')]['commentInputView'],'value',(_0x712241,_0x4b3685)=>_0x712241||!!_0x4b3685),this[_0x1022('0x5')](_0x1022('0x21'))['to'](_0x3e7759,_0x1022('0x2d'),_0x5496b8=>!!_0x5496b8);}[_0x1022('0x15')](){this['element']['focus']();}async[_0x1022('0x2b')](){this[_0x1022('0x19')]=!0x1,this[_0x1022('0x4')][_0x1022('0x2b')](),await this[_0x1022('0xe')][_0x1022('0x2b')](),super[_0x1022('0x2b')]();}[_0x1022('0x2c')](){const _0x3fefdb=new _0x40abe8(this['locale'],this[_0x1022('0xb')],this[_0x1022('0x1')][_0x1022('0x3')]),_0x362041=_0x3fefdb[_0x1022('0x1c')];return _0x3fefdb[_0x1022('0x5')](_0x1022('0x26'))['to'](this,'isActive',this['_model'],_0x1022('0x25'),this[_0x1022('0xc')],_0x1022('0x1e'),this[_0x1022('0xc')],'archivedAt',_0x362041,'value',(_0x13c614,_0x600190,_0x260c61,_0x4b3e0a,_0x2463fa)=>!!_0x2463fa||!!_0x4b3e0a&&_0x260c61&&!_0x600190||_0x13c614&&_0x260c61&&!_0x600190),_0x362041[_0x1022('0x5')]('placeholder')['to'](this,_0x1022('0x22'),this[_0x1022('0xc')],'isResolvable',this[_0x1022('0xc')],'isResolved',(_0x330091,_0x55cbd7,_0xb9807)=>{let _0x537a63;return _0x537a63=_0xb9807&&_0x55cbd7?_0x1022('0x0'):_0x330091?'Reply...':_0x1022('0xa'),_0x20fbe9(this['locale'],_0x537a63);}),_0x362041['bind'](_0x1022('0x28'))['to'](this,'length',_0x23a138=>_0x20fbe9(this[_0x1022('0x20')],_0x23a138?_0x1022('0x27'):_0x1022('0x24'))),_0x362041['on']('submit',(_0x4ceed9,_0x288101)=>{this[_0x1022('0x7')](_0x1022('0xf'),_0x288101),this[_0x1022('0xc')][_0x1022('0xd')]&&this[_0x1022('0xc')]['isResolvable']&&this[_0x1022('0x7')](_0x1022('0x1d'),this[_0x1022('0xc')]['id']),this['_model'][_0x1022('0x23')]||this['fire']('submitCommentThread');}),_0x362041['on'](_0x1022('0x6'),()=>{this[_0x1022('0x15')]();}),_0x362041[_0x1022('0x5')](_0x1022('0x2'))['to'](this[_0x1022('0xc')],_0x1022('0x25')),_0x362041['on'](_0x1022('0x6'),_0x3701de=>{0x0==this[_0x1022('0x22')]&&(this[_0x1022('0x7')](_0x1022('0x1a')),_0x3701de[_0x1022('0x8')]());}),this['on']('change:isActive',(_0x3f0432,_0x5026d3,_0x336d8b)=>{_0x336d8b||this[_0x1022('0x22')]||_0x362041[_0x1022('0x2e')]||this[_0x1022('0x7')]('removeCommentThread');}),_0x3fefdb;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4333=['disabledSubmit','bind','_createCommentContentView','add','Save','isEditMode','isSystemComment','isCollapsed','initialData','collapse','set','delegate','editorReady','updateComment','focus','once','_config','destroy','value','content','visibleView','get','fire','_model','switchToDisplayMode','maxCommentCharsWhenCollapsed','expand','element','_createCommentInputView','locale','cancel','editorConfig','createCollection','createEditor'];(function(_0xd4f672,_0x433337){const _0x16fef6=function(_0x34c2cc){while(--_0x34c2cc){_0xd4f672['push'](_0xd4f672['shift']());}};_0x16fef6(++_0x433337);}(_0x4333,0x9b));const _0x16fe=function(_0xd4f672,_0x433337){_0xd4f672=_0xd4f672-0x0;let _0x16fef6=_0x4333[_0xd4f672];return _0x16fef6;};import{View as _0x11b861}from'ckeditor5/src/ui.js';import{trimHtml as _0x5d39f7}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x19d17e from'./commentcontentview.js';import _0x3910d6 from'./commentinputview.js';import{getTranslation as _0x30b44f}from'../../../utils/common-translations.js';export default class ti extends _0x11b861{constructor(_0x50829e,_0x143d45,_0x252e01){super(_0x50829e),this[_0x16fe('0x4')]=_0x143d45,this[_0x16fe('0x1f')]=_0x252e01,this['isSystemComment']=!!this[_0x16fe('0x1f')][_0x16fe('0x15')],this[_0x16fe('0x19')](_0x16fe('0x14'),!0x1),this[_0x16fe('0x19')]('isCollapsed',!0x0),this[_0x16fe('0x1')]=this[_0x16fe('0xd')](),this['visibleView'][_0x16fe('0x12')](this[_0x16fe('0x11')]());}[_0x16fe('0x7')](){this['isCollapsed']=!0x1;}[_0x16fe('0x18')](){this[_0x16fe('0x14')]||(this[_0x16fe('0x16')]=!0x0);}[_0x16fe('0x1d')](){this[_0x16fe('0x8')][_0x16fe('0x1d')]();}async[_0x16fe('0x20')](){await this[_0x16fe('0x1')][_0x16fe('0x2')](0x0)[_0x16fe('0x20')](),super[_0x16fe('0x20')]();}['switchToEditMode'](){this[_0x16fe('0x14')]||(this[_0x16fe('0x14')]=!0x0,this['visibleView']['remove'](0x0)[_0x16fe('0x20')](),this[_0x16fe('0x1')][_0x16fe('0x12')](this[_0x16fe('0x9')]()));}[_0x16fe('0x5')](){this[_0x16fe('0x14')]&&(this[_0x16fe('0x14')]=!0x1,this[_0x16fe('0x1')]['remove'](0x0)[_0x16fe('0x20')](),this['visibleView'][_0x16fe('0x12')](this[_0x16fe('0x11')]()));}[_0x16fe('0x11')](){const _0xb6276c=new _0x19d17e(this[_0x16fe('0xa')]);return _0xb6276c[_0x16fe('0x10')]('content')['to'](this['_model'],_0x16fe('0x0'),this,_0x16fe('0x16'),(_0x2d687f,_0x31634b)=>_0x31634b?_0x5d39f7(_0x2d687f,{'limit':this[_0x16fe('0x1f')][_0x16fe('0x6')]}):_0x2d687f),_0xb6276c;}['_createCommentInputView'](){this[_0x16fe('0x1f')][_0x16fe('0xc')]||(this['_config'][_0x16fe('0xc')]={}),this[_0x16fe('0x1f')][_0x16fe('0xc')][_0x16fe('0x17')]=this['_model']['content'];const _0x2b460c=new _0x3910d6(this[_0x16fe('0xa')],this['_config'][_0x16fe('0xc')]);return _0x2b460c[_0x16fe('0x21')]=this[_0x16fe('0x4')][_0x16fe('0x0')],_0x2b460c['bind'](_0x16fe('0xf'))['to'](this[_0x16fe('0x4')],'isReadOnly'),_0x2b460c['submitLabel']=_0x30b44f(this['locale'],_0x16fe('0x13')),_0x2b460c['on']('submit',(_0x4b042a,_0x45a9ac)=>{this[_0x16fe('0x3')](_0x16fe('0x1c'),this[_0x16fe('0x4')]['id'],_0x45a9ac),this[_0x16fe('0x5')](),this[_0x16fe('0x1d')]();}),_0x2b460c['on'](_0x16fe('0xb'),()=>{this[_0x16fe('0x5')](),this[_0x16fe('0x1d')]();}),_0x2b460c[_0x16fe('0x1e')](_0x16fe('0x1b'),()=>{_0x2b460c[_0x16fe('0x1d')]();}),_0x2b460c[_0x16fe('0xe')](),_0x2b460c[_0x16fe('0x1a')](_0x16fe('0x1b'))['to'](this),_0x2b460c['delegate']('editorDestroyed')['to'](this),_0x2b460c;}}
23
+ const _0x4dec=['get','switchToEditMode','_model','destroy','isEditMode','Save','_config','createEditor','bind','once','submit','delegate','isCollapsed','editorConfig','focus','_createCommentContentView','value','collapse','content','updateComment','initialData','cancel','expand','_createCommentInputView','remove','visibleView','switchToDisplayMode','disabledSubmit','fire','locale','editorReady','isReadOnly','editorDestroyed','createCollection','element','add','submitLabel'];(function(_0x51b22c,_0x4dec41){const _0xf4ec04=function(_0x7a3719){while(--_0x7a3719){_0x51b22c['push'](_0x51b22c['shift']());}};_0xf4ec04(++_0x4dec41);}(_0x4dec,0x1bb));const _0xf4ec=function(_0x51b22c,_0x4dec41){_0x51b22c=_0x51b22c-0x0;let _0xf4ec04=_0x4dec[_0x51b22c];return _0xf4ec04;};import{View as _0x5f21db}from'ckeditor5/src/ui.js';import{trimHtml as _0x46aaae}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1c7fc2 from'./commentcontentview.js';import _0x3d00b8 from'./commentinputview.js';import{getTranslation as _0x1dc6b0}from'../../../utils/common-translations.js';export default class ti extends _0x5f21db{constructor(_0x4154d0,_0x3d67c2,_0xa0aca1){super(_0x4154d0),this[_0xf4ec('0x3')]=_0x3d67c2,this[_0xf4ec('0x7')]=_0xa0aca1,this['isSystemComment']=!!this[_0xf4ec('0x7')]['isSystemComment'],this['set'](_0xf4ec('0x5'),!0x1),this['set'](_0xf4ec('0xd'),!0x0),this['visibleView']=this[_0xf4ec('0x22')](),this[_0xf4ec('0x1a')][_0xf4ec('0x24')](this[_0xf4ec('0x10')]());}[_0xf4ec('0x17')](){this[_0xf4ec('0xd')]=!0x1;}[_0xf4ec('0x12')](){this[_0xf4ec('0x5')]||(this['isCollapsed']=!0x0);}['focus'](){this[_0xf4ec('0x23')][_0xf4ec('0xf')]();}async['destroy'](){await this[_0xf4ec('0x1a')][_0xf4ec('0x1')](0x0)[_0xf4ec('0x4')](),super['destroy']();}[_0xf4ec('0x2')](){this[_0xf4ec('0x5')]||(this['isEditMode']=!0x0,this[_0xf4ec('0x1a')]['remove'](0x0)[_0xf4ec('0x4')](),this[_0xf4ec('0x1a')][_0xf4ec('0x24')](this[_0xf4ec('0x18')]()));}[_0xf4ec('0x1b')](){this[_0xf4ec('0x5')]&&(this[_0xf4ec('0x5')]=!0x1,this['visibleView'][_0xf4ec('0x19')](0x0)[_0xf4ec('0x4')](),this[_0xf4ec('0x1a')]['add'](this[_0xf4ec('0x10')]()));}[_0xf4ec('0x10')](){const _0x1efd93=new _0x1c7fc2(this[_0xf4ec('0x1e')]);return _0x1efd93[_0xf4ec('0x9')](_0xf4ec('0x13'))['to'](this['_model'],_0xf4ec('0x13'),this,'isCollapsed',(_0x593add,_0x299a53)=>_0x299a53?_0x46aaae(_0x593add,{'limit':this[_0xf4ec('0x7')]['maxCommentCharsWhenCollapsed']}):_0x593add),_0x1efd93;}['_createCommentInputView'](){this[_0xf4ec('0x7')][_0xf4ec('0xe')]||(this[_0xf4ec('0x7')][_0xf4ec('0xe')]={}),this[_0xf4ec('0x7')][_0xf4ec('0xe')][_0xf4ec('0x15')]=this[_0xf4ec('0x3')][_0xf4ec('0x13')];const _0x51c16d=new _0x3d00b8(this[_0xf4ec('0x1e')],this[_0xf4ec('0x7')][_0xf4ec('0xe')]);return _0x51c16d[_0xf4ec('0x11')]=this['_model'][_0xf4ec('0x13')],_0x51c16d[_0xf4ec('0x9')](_0xf4ec('0x1c'))['to'](this[_0xf4ec('0x3')],_0xf4ec('0x20')),_0x51c16d[_0xf4ec('0x0')]=_0x1dc6b0(this[_0xf4ec('0x1e')],_0xf4ec('0x6')),_0x51c16d['on'](_0xf4ec('0xb'),(_0x3090e7,_0x2e6426)=>{this[_0xf4ec('0x1d')](_0xf4ec('0x14'),this[_0xf4ec('0x3')]['id'],_0x2e6426),this[_0xf4ec('0x1b')](),this[_0xf4ec('0xf')]();}),_0x51c16d['on'](_0xf4ec('0x16'),()=>{this[_0xf4ec('0x1b')](),this[_0xf4ec('0xf')]();}),_0x51c16d[_0xf4ec('0xa')](_0xf4ec('0x1f'),()=>{_0x51c16d[_0xf4ec('0xf')]();}),_0x51c16d[_0xf4ec('0x8')](),_0x51c16d[_0xf4ec('0xc')](_0xf4ec('0x1f'))['to'](this),_0x51c16d['delegate'](_0xf4ec('0x21'))['to'](this),_0x51c16d;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x106c=['ck-thread__comment-count','setTemplate','count','set'];(function(_0x2e2b04,_0x106ce2){const _0x477f59=function(_0x127cd1){while(--_0x127cd1){_0x2e2b04['push'](_0x2e2b04['shift']());}};_0x477f59(++_0x106ce2);}(_0x106c,0x126));const _0x477f=function(_0x2e2b04,_0x106ce2){_0x2e2b04=_0x2e2b04-0x0;let _0x477f59=_0x106c[_0x2e2b04];return _0x477f59;};import{View as _0x3d2f7a}from'ckeditor5/src/ui.js';import{getTranslation as _0x29071a}from'../../../utils/common-translations.js';export default class ts extends _0x3d2f7a{constructor(_0x39d8e6){super(_0x39d8e6);const _0x52cae6=this['bindTemplate'];this[_0x477f('0x1')](_0x477f('0x0'),void 0x0),this[_0x477f('0x3')]({'tag':'li','attributes':{'class':_0x477f('0x2')},'children':[{'text':_0x52cae6['to'](_0x477f('0x0'),_0x3d33ef=>_0x29071a(_0x39d8e6,'NUMBER_OF_COMMENTS',_0x3d33ef))}]});}}
23
+ const _0x1fca=['bindTemplate','NUMBER_OF_COMMENTS','count','set'];(function(_0x4030f3,_0x1fca97){const _0x31d4ec=function(_0x42aa82){while(--_0x42aa82){_0x4030f3['push'](_0x4030f3['shift']());}};_0x31d4ec(++_0x1fca97);}(_0x1fca,0x171));const _0x31d4=function(_0x4030f3,_0x1fca97){_0x4030f3=_0x4030f3-0x0;let _0x31d4ec=_0x1fca[_0x4030f3];return _0x31d4ec;};import{View as _0x5801d6}from'ckeditor5/src/ui.js';import{getTranslation as _0x18bd54}from'../../../utils/common-translations.js';export default class ts extends _0x5801d6{constructor(_0xdfac70){super(_0xdfac70);const _0x54e9a7=this[_0x31d4('0x3')];this[_0x31d4('0x2')](_0x31d4('0x1'),void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x54e9a7['to'](_0x31d4('0x1'),_0x5d63bf=>_0x18bd54(_0xdfac70,_0x31d4('0x0'),_0x5d63bf))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2657=['element','setTemplate','div','change:content','render','ck-annotation__content','innerHTML','ck-comment__content','content','set'];(function(_0x5409c9,_0x265749){var _0x402e22=function(_0x1dc4d9){while(--_0x1dc4d9){_0x5409c9['push'](_0x5409c9['shift']());}};_0x402e22(++_0x265749);}(_0x2657,0x1c5));var _0x402e=function(_0x5409c9,_0x265749){_0x5409c9=_0x5409c9-0x0;var _0x402e22=_0x2657[_0x5409c9];return _0x402e22;};import{View as _0x182233}from'ckeditor5/src/ui.js';export default class Yt extends _0x182233{constructor(_0x5abe10){super(_0x5abe10),this[_0x402e('0x6')](_0x402e('0x5'),''),this[_0x402e('0x8')]({'tag':_0x402e('0x9'),'attributes':{'class':[_0x402e('0x4'),_0x402e('0x2')]}});}[_0x402e('0x1')](){super['render'](),this['on'](_0x402e('0x0'),(_0x372758,_0x2893cd,_0x11c73d)=>{this[_0x402e('0x7')][_0x402e('0x3')]=_0x11c73d;}),this[_0x402e('0x7')][_0x402e('0x3')]=this[_0x402e('0x5')];}}
23
+ var _0x3992=['div','content','innerHTML','set','ck-annotation__content','setTemplate','render'];(function(_0x3e8bb0,_0x3992cf){var _0x27e63d=function(_0x2c587f){while(--_0x2c587f){_0x3e8bb0['push'](_0x3e8bb0['shift']());}};_0x27e63d(++_0x3992cf);}(_0x3992,0x16a));var _0x27e6=function(_0x3e8bb0,_0x3992cf){_0x3e8bb0=_0x3e8bb0-0x0;var _0x27e63d=_0x3992[_0x3e8bb0];return _0x27e63d;};import{View as _0x3313fe}from'ckeditor5/src/ui.js';export default class Yt extends _0x3313fe{constructor(_0x3faba9){super(_0x3faba9),this[_0x27e6('0x5')](_0x27e6('0x3'),''),this[_0x27e6('0x0')]({'tag':_0x27e6('0x2'),'attributes':{'class':['ck-comment__content',_0x27e6('0x6')]}});}['render'](){super[_0x27e6('0x1')](),this['on']('change:content',(_0x27e0c3,_0x4ace3b,_0x3abad8)=>{this['element'][_0x27e6('0x4')]=_0x3abad8;}),this['element'][_0x27e6('0x4')]=this['content'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x25d0=['bindTemplate','keystrokes','length','shift\x20+\x20tab','tab','cancel','extendTemplate','ck-comment__input-wrapper','getData','placeholder','editorReady','ck-comment__input-actions--cancel','bind','disabledSubmit','submit','_editorCreationPromise','div','Reply...','focusTracker','set','insertBefore','focus','submitLabel','_initializeFocusCycling','focusNext','forEach','_editorConfig','destroy','submitButtonView','_createSubmitButton','cancelButtonView','high','change','trim','Reply','add','execute','fire','render','view','showButtons','create','editor','_isDestroyed','label','createEditor','listenTo','setTemplate','_createCancelButton','value','withText','ck-comment__input-actions','low','setData','element','then'];(function(_0x50f1b9,_0x25d0ea){const _0x51e240=function(_0x58e2ac){while(--_0x58e2ac){_0x50f1b9['push'](_0x50f1b9['shift']());}};_0x51e240(++_0x25d0ea);}(_0x25d0,0x1b8));const _0x51e2=function(_0x50f1b9,_0x25d0ea){_0x50f1b9=_0x50f1b9-0x0;let _0x51e240=_0x25d0[_0x50f1b9];return _0x51e240;};import{View as _0x203aef,ViewCollection as _0x30c039,FocusCycler as _0x3f918a,ButtonView as _0x5ace20}from'ckeditor5/src/ui.js';import{FocusTracker as _0xfca274,KeystrokeHandler as _0x34fe56}from'ckeditor5/src/utils.js';import _0x567ad7 from'../commenteditor/commenteditor.js';import{getTranslation as _0x2c72c8}from'../../../utils/common-translations.js';export default class Zt extends _0x203aef{constructor(_0xa23c79,_0x4c5840={}){super(_0xa23c79),this['editor']=null,this[_0x51e2('0x22')]=_0x4c5840,this['keystrokes']=new _0x34fe56(),this[_0x51e2('0x1a')]=new _0xfca274(),this['set'](_0x51e2('0x1'),_0x4c5840['initialData']||''),this[_0x51e2('0x1b')](_0x51e2('0x15'),!0x1),this[_0x51e2('0x1b')](_0x51e2('0x30'),!0x0),this[_0x51e2('0x1b')](_0x51e2('0x11'),_0x2c72c8(_0xa23c79,_0x51e2('0x19'))),this[_0x51e2('0x1b')]('submitLabel',_0x2c72c8(_0xa23c79,_0x51e2('0x2a'))),this['submitButtonView']=this[_0x51e2('0x25')](),this[_0x51e2('0x26')]=this['_createCancelButton'](),this[_0x51e2('0x37')]({'tag':_0x51e2('0x18'),'attributes':{'class':[_0x51e2('0xf')]},'children':[{'tag':'div','attributes':{'class':[_0x51e2('0x3'),this[_0x51e2('0x8')]['if']('showButtons','ck-comment__input-actions--active')]},'children':[this['submitButtonView'],this[_0x51e2('0x26')]]}]}),this[_0x51e2('0x9')][_0x51e2('0x1b')]('Esc',(_0xcb4e28,_0x2019aa)=>{this[_0x51e2('0x26')][_0x51e2('0x2d')](_0x51e2('0x2c')),_0x2019aa();}),this['on'](_0x51e2('0x16'),(_0x5db827,_0x4ba50d)=>{_0x4ba50d[_0x51e2('0xa')]>0xfde8?(alert(_0x2c72c8(_0xa23c79,'TOO_LONG_COMMENT_ALERT',[_0x4ba50d[_0x51e2('0xa')],0xfde8])),_0x5db827['stop']()):this[_0x51e2('0x32')][_0x51e2('0x5')]('');},{'priority':_0x51e2('0x27')});}[_0x51e2('0x2e')](){super[_0x51e2('0x2e')](),this['keystrokes'][_0x51e2('0x36')](this['element']),this[_0x51e2('0x1a')][_0x51e2('0x2b')](this[_0x51e2('0x6')]);}[_0x51e2('0x35')](){return this[_0x51e2('0x32')]||(this[_0x51e2('0x32')]=new _0x567ad7(this[_0x51e2('0x22')]),this[_0x51e2('0x17')]=this[_0x51e2('0x32')][_0x51e2('0x31')]()[_0x51e2('0x7')](()=>{if(this[_0x51e2('0x33')])return;const _0x391b65=this[_0x51e2('0x32')];this[_0x51e2('0x6')][_0x51e2('0x1c')](_0x391b65['ui'][_0x51e2('0x6')],this[_0x51e2('0x6')]['firstChild']),_0x391b65['model']['document']['on'](_0x51e2('0x28'),()=>this[_0x51e2('0x1')]=_0x391b65[_0x51e2('0x10')]()),_0x391b65[_0x51e2('0x14')](_0x51e2('0x11'))['to'](this),this[_0x51e2('0x1f')](this[_0x51e2('0x32')]),this[_0x51e2('0x2d')](_0x51e2('0x12'),this[_0x51e2('0x32')]);})),this['_editorCreationPromise'];}[_0x51e2('0x1d')](){this['editor']&&this[_0x51e2('0x32')][_0x51e2('0x1d')]();}async[_0x51e2('0x23')](){this[_0x51e2('0x33')]||(this['_isDestroyed']=!0x0,this['editor']&&(await this['_editorCreationPromise'],await this[_0x51e2('0x32')]['destroy'](),this[_0x51e2('0x2d')]('editorDestroyed',this[_0x51e2('0x32')])),await super[_0x51e2('0x23')]());}[_0x51e2('0x25')](){const {locale:_0x144359}=this,_0x768deb=new _0x5ace20(_0x144359);return _0x768deb[_0x51e2('0xe')]({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x768deb[_0x51e2('0x2')]=!0x0,_0x768deb[_0x51e2('0x14')](_0x51e2('0x34'))['to'](this,_0x51e2('0x1e')),_0x768deb['on'](_0x51e2('0x2c'),()=>{this[_0x51e2('0x2d')](_0x51e2('0x16'),this['value']);}),_0x768deb[_0x51e2('0x14')]('isEnabled')['to'](this,'value',this,_0x51e2('0x15'),(_0x100a3b,_0x40dcc5)=>!_0x40dcc5&&!!_0x100a3b[_0x51e2('0x29')]()),_0x768deb;}[_0x51e2('0x0')](){const {locale:_0x96d4fd}=this,_0x350591=new _0x5ace20(_0x96d4fd);return _0x350591[_0x51e2('0xe')]({'attributes':{'class':[_0x51e2('0x13')]}}),_0x350591[_0x51e2('0x34')]=_0x2c72c8(_0x96d4fd,'Cancel'),_0x350591[_0x51e2('0x2')]=!0x0,_0x350591['on'](_0x51e2('0x2c'),()=>{this[_0x51e2('0x32')][_0x51e2('0x5')](''),this[_0x51e2('0x2d')](_0x51e2('0xd'));}),_0x350591;}[_0x51e2('0x1f')](_0x1e26d6){const _0x3ab05a=this[_0x51e2('0x1a')],_0x34dae4=new _0x30c039();[_0x1e26d6['ui'][_0x51e2('0x2f')],this[_0x51e2('0x24')],this['cancelButtonView']][_0x51e2('0x21')](_0x15c50c=>{_0x34dae4[_0x51e2('0x2b')](_0x15c50c),_0x3ab05a[_0x51e2('0x2b')](_0x15c50c[_0x51e2('0x6')]);});const _0x22ccbc=new _0x3f918a({'focusables':_0x34dae4,'focusTracker':_0x3ab05a});this[_0x51e2('0x9')]['set'](_0x51e2('0xc'),(_0x38a786,_0x45f5a0)=>{_0x22ccbc[_0x51e2('0x20')](),_0x45f5a0();},{'priority':_0x51e2('0x4')}),this['keystrokes'][_0x51e2('0x1b')](_0x51e2('0xb'),(_0x55cfd2,_0xb96e)=>{_0x22ccbc['focusPrevious'](),_0xb96e();},{'priority':_0x51e2('0x4')});}}
23
+ const _0x1c3e=['submitLabel','create','shift\x20+\x20tab','execute','bindTemplate','change','_createSubmitButton','listenTo','tab','document','set','extendTemplate','focusPrevious','TOO_LONG_COMMENT_ALERT','render','keystrokes','Reply...','Esc','focusTracker','value','length','stop','div','initialData','_editorConfig','cancel','fire','showButtons','low','getData','focus','trim','placeholder','element','destroy','ck-comment__input-actions--submit','Reply','ck-comment__input-actions--cancel','editor','submit','add','insertBefore','ck-comment__input-actions','_isDestroyed','_createCancelButton','label','bind','_initializeFocusCycling','model','firstChild','Cancel','editorDestroyed','forEach','then','isEnabled','setData','view','disabledSubmit','createEditor','submitButtonView','ck-comment__input-wrapper','focusNext','_editorCreationPromise','cancelButtonView'];(function(_0x24cc1e,_0x1c3e9c){const _0x469e5b=function(_0x3c1f17){while(--_0x3c1f17){_0x24cc1e['push'](_0x24cc1e['shift']());}};_0x469e5b(++_0x1c3e9c);}(_0x1c3e,0xfe));const _0x469e=function(_0x24cc1e,_0x1c3e9c){_0x24cc1e=_0x24cc1e-0x0;let _0x469e5b=_0x1c3e[_0x24cc1e];return _0x469e5b;};import{View as _0x4a2772,ViewCollection as _0x573d01,FocusCycler as _0x37cc3a,ButtonView as _0x9d5eb3}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1009ee,KeystrokeHandler as _0x5eeffc}from'ckeditor5/src/utils.js';import _0x29519f from'../commenteditor/commenteditor.js';import{getTranslation as _0x51a069}from'../../../utils/common-translations.js';export default class Zt extends _0x4a2772{constructor(_0x1e08cc,_0x36515c={}){super(_0x1e08cc),this[_0x469e('0x28')]=null,this['_editorConfig']=_0x36515c,this['keystrokes']=new _0x5eeffc(),this[_0x469e('0x14')]=new _0x1009ee(),this[_0x469e('0xc')]('value',_0x36515c[_0x469e('0x19')]||''),this[_0x469e('0xc')](_0x469e('0x3b'),!0x1),this['set']('showButtons',!0x0),this[_0x469e('0xc')](_0x469e('0x22'),_0x51a069(_0x1e08cc,_0x469e('0x12'))),this[_0x469e('0xc')]('submitLabel',_0x51a069(_0x1e08cc,_0x469e('0x26'))),this[_0x469e('0x3d')]=this['_createSubmitButton'](),this['cancelButtonView']=this[_0x469e('0x2e')](),this['setTemplate']({'tag':'div','attributes':{'class':[_0x469e('0x3e')]},'children':[{'tag':_0x469e('0x18'),'attributes':{'class':[_0x469e('0x2c'),this[_0x469e('0x6')]['if'](_0x469e('0x1d'),'ck-comment__input-actions--active')]},'children':[this[_0x469e('0x3d')],this[_0x469e('0x1')]]}]}),this[_0x469e('0x11')][_0x469e('0xc')](_0x469e('0x13'),(_0x2eb8a8,_0x47118a)=>{this['cancelButtonView'][_0x469e('0x1c')]('execute'),_0x47118a();}),this['on']('submit',(_0x5ee23b,_0x2e2073)=>{_0x2e2073['length']>0xfde8?(alert(_0x51a069(_0x1e08cc,_0x469e('0xf'),[_0x2e2073[_0x469e('0x16')],0xfde8])),_0x5ee23b[_0x469e('0x17')]()):this[_0x469e('0x28')][_0x469e('0x39')]('');},{'priority':'high'});}[_0x469e('0x10')](){super[_0x469e('0x10')](),this[_0x469e('0x11')][_0x469e('0x9')](this[_0x469e('0x23')]),this[_0x469e('0x14')]['add'](this[_0x469e('0x23')]);}[_0x469e('0x3c')](){return this[_0x469e('0x28')]||(this[_0x469e('0x28')]=new _0x29519f(this[_0x469e('0x1a')]),this[_0x469e('0x0')]=this[_0x469e('0x28')][_0x469e('0x3')]()[_0x469e('0x37')](()=>{if(this[_0x469e('0x2d')])return;const _0x33b8a2=this[_0x469e('0x28')];this[_0x469e('0x23')][_0x469e('0x2b')](_0x33b8a2['ui'][_0x469e('0x23')],this['element'][_0x469e('0x33')]),_0x33b8a2[_0x469e('0x32')][_0x469e('0xb')]['on'](_0x469e('0x7'),()=>this['value']=_0x33b8a2[_0x469e('0x1f')]()),_0x33b8a2[_0x469e('0x30')](_0x469e('0x22'))['to'](this),this[_0x469e('0x31')](this[_0x469e('0x28')]),this[_0x469e('0x1c')]('editorReady',this[_0x469e('0x28')]);})),this[_0x469e('0x0')];}['focus'](){this['editor']&&this['editor'][_0x469e('0x20')]();}async[_0x469e('0x24')](){this[_0x469e('0x2d')]||(this[_0x469e('0x2d')]=!0x0,this[_0x469e('0x28')]&&(await this[_0x469e('0x0')],await this[_0x469e('0x28')][_0x469e('0x24')](),this['fire'](_0x469e('0x35'),this[_0x469e('0x28')])),await super[_0x469e('0x24')]());}[_0x469e('0x8')](){const {locale:_0x4c0517}=this,_0x2aacfa=new _0x9d5eb3(_0x4c0517);return _0x2aacfa[_0x469e('0xd')]({'attributes':{'class':[_0x469e('0x25')]}}),_0x2aacfa['withText']=!0x0,_0x2aacfa[_0x469e('0x30')](_0x469e('0x2f'))['to'](this,_0x469e('0x2')),_0x2aacfa['on'](_0x469e('0x5'),()=>{this['fire'](_0x469e('0x29'),this['value']);}),_0x2aacfa['bind'](_0x469e('0x38'))['to'](this,_0x469e('0x15'),this,_0x469e('0x3b'),(_0x417439,_0x39af7e)=>!_0x39af7e&&!!_0x417439[_0x469e('0x21')]()),_0x2aacfa;}[_0x469e('0x2e')](){const {locale:_0x493bbf}=this,_0x57b145=new _0x9d5eb3(_0x493bbf);return _0x57b145['extendTemplate']({'attributes':{'class':[_0x469e('0x27')]}}),_0x57b145[_0x469e('0x2f')]=_0x51a069(_0x493bbf,_0x469e('0x34')),_0x57b145['withText']=!0x0,_0x57b145['on'](_0x469e('0x5'),()=>{this['editor']['setData'](''),this['fire'](_0x469e('0x1b'));}),_0x57b145;}[_0x469e('0x31')](_0x41bdb){const _0x400bae=this[_0x469e('0x14')],_0x8b0f76=new _0x573d01();[_0x41bdb['ui'][_0x469e('0x3a')],this[_0x469e('0x3d')],this['cancelButtonView']][_0x469e('0x36')](_0x38921e=>{_0x8b0f76['add'](_0x38921e),_0x400bae[_0x469e('0x2a')](_0x38921e[_0x469e('0x23')]);});const _0x2558e7=new _0x37cc3a({'focusables':_0x8b0f76,'focusTracker':_0x400bae});this['keystrokes']['set'](_0x469e('0xa'),(_0x347e3e,_0x256326)=>{_0x2558e7[_0x469e('0x3f')](),_0x256326();},{'priority':_0x469e('0x1e')}),this['keystrokes'][_0x469e('0xc')](_0x469e('0x4'),(_0xfa7d4c,_0x409352)=>{_0x2558e7[_0x469e('0xe')](),_0x409352();},{'priority':_0x469e('0x1e')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a7a=['selectstart','COMMENTS_ARCHIVE','arrowright','ck-hidden','render','tab','listenTo','bindTemplate','set','_focusCycler','arrowleft','arrowdown','high','element','destroy','ck-comments-archive__content','add','_keystrokes','shift\x20+\x20tab','ck-comments-archive__info','isEmpty','ck-comments-archive__header\x20','_focusables','div','length','isActive','_focusTracker','stopPropagation','arrowup','auto','focus','setTemplate'];(function(_0x1adb51,_0x5a7af8){const _0x446858=function(_0x7a320){while(--_0x7a320){_0x1adb51['push'](_0x1adb51['shift']());}};_0x446858(++_0x5a7af8);}(_0x5a7a,0xd4));const _0x4468=function(_0x1adb51,_0x5a7af8){_0x1adb51=_0x1adb51-0x0;let _0x446858=_0x5a7a[_0x1adb51];return _0x446858;};import{View as _0x3b73bf,FocusCycler as _0xba87fd}from'ckeditor5/src/ui.js';import{FocusTracker as _0x53d812,KeystrokeHandler as _0x205eba}from'ckeditor5/src/utils.js';import{getTranslation as _0x31e3ba}from'../../../utils/common-translations.js';export default class K extends _0x3b73bf{constructor(_0x3f7e82,_0x1fbc69){super(_0x3f7e82),this[_0x4468('0x14')](_0x4468('0x0'),!_0x1fbc69[_0x4468('0x4')]),this[_0x4468('0x6')]=new _0x53d812(),this[_0x4468('0x1d')]=new _0x205eba(),this[_0x4468('0x2')]=_0x1fbc69,this[_0x4468('0x15')]=new _0xba87fd({'focusables':this[_0x4468('0x2')],'focusTracker':this[_0x4468('0x6')],'keystrokeHandler':this[_0x4468('0x1d')],'actions':{'focusPrevious':_0x4468('0x1e'),'focusNext':_0x4468('0x11')}}),this['listenTo'](_0x1fbc69,_0x4468('0x1c'),()=>{this[_0x4468('0x0')]=!0x1;}),this['listenTo'](_0x1fbc69,'remove',(_0xdef4bb,_0x1aa06a)=>{_0x1aa06a[_0x4468('0x5')]&&this[_0x4468('0xa')](),_0x1fbc69[_0x4468('0x4')]||(this[_0x4468('0x0')]=!0x0);});const _0x22c454=this[_0x4468('0x13')];this[_0x4468('0xb')]({'tag':'div','attributes':{'dir':_0x4468('0x9'),'class':['ck','ck-comments-archive'],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x4468('0x1')]},'children':[{'text':_0x31e3ba(_0x3f7e82,_0x4468('0xd'))}]},{'tag':_0x4468('0x3'),'attributes':{'class':[_0x4468('0x1b')]},'children':[{'tag':_0x4468('0x3'),'children':_0x1fbc69},{'tag':'p','attributes':{'class':[_0x4468('0x1f'),_0x22c454['if']('isEmpty',_0x4468('0xf'),_0x553bc8=>!_0x553bc8)]},'children':[{'text':_0x31e3ba(_0x3f7e82,'EMPTY_COMMENTS_ARCHIVE')}]}]}]});}[_0x4468('0x10')](){super[_0x4468('0x10')](),this['_keystrokes'][_0x4468('0x12')](this[_0x4468('0x19')]);const _0xa47b88=_0x1c4374=>_0x1c4374[_0x4468('0x7')]();this['_keystrokes'][_0x4468('0x14')](_0x4468('0xe'),_0xa47b88),this[_0x4468('0x1d')][_0x4468('0x14')](_0x4468('0x16'),_0xa47b88),this[_0x4468('0x1d')][_0x4468('0x14')](_0x4468('0x8'),_0xa47b88),this[_0x4468('0x1d')][_0x4468('0x14')](_0x4468('0x17'),_0xa47b88),this[_0x4468('0x12')](this['element'],_0x4468('0xc'),(_0x5d0043,_0x1fd199)=>{_0x1fd199[_0x4468('0x7')]();},{'priority':_0x4468('0x18')});}['destroy'](){super['destroy'](),this[_0x4468('0x6')]['destroy'](),this[_0x4468('0x1d')][_0x4468('0x1a')]();}[_0x4468('0xa')](){this[_0x4468('0x19')][_0x4468('0xa')]();}}
23
+ const _0x5992=['remove','focus','arrowleft','COMMENTS_ARCHIVE','listenTo','destroy','arrowdown','arrowup','_keystrokes','stopPropagation','isActive','_focusables','ck-comments-archive__info','selectstart','length','shift\x20+\x20tab','div','set','ck-comments-archive__content','element','_focusTracker','tab','auto','render','isEmpty','high'];(function(_0x22a385,_0x599293){const _0x1a7ed7=function(_0x2007ed){while(--_0x2007ed){_0x22a385['push'](_0x22a385['shift']());}};_0x1a7ed7(++_0x599293);}(_0x5992,0xf5));const _0x1a7e=function(_0x22a385,_0x599293){_0x22a385=_0x22a385-0x0;let _0x1a7ed7=_0x5992[_0x22a385];return _0x1a7ed7;};import{View as _0x175467,FocusCycler as _0x5eeef9}from'ckeditor5/src/ui.js';import{FocusTracker as _0x31e122,KeystrokeHandler as _0x3f404b}from'ckeditor5/src/utils.js';import{getTranslation as _0x1a15ea}from'../../../utils/common-translations.js';export default class K extends _0x175467{constructor(_0x5bbe7a,_0xc8b5c5){super(_0x5bbe7a),this[_0x1a7e('0x6')](_0x1a7e('0xd'),!_0xc8b5c5['length']),this[_0x1a7e('0x9')]=new _0x31e122(),this[_0x1a7e('0x17')]=new _0x3f404b(),this[_0x1a7e('0x0')]=_0xc8b5c5,this['_focusCycler']=new _0x5eeef9({'focusables':this[_0x1a7e('0x0')],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':_0x1a7e('0x4'),'focusNext':_0x1a7e('0xa')}}),this[_0x1a7e('0x13')](_0xc8b5c5,'add',()=>{this[_0x1a7e('0xd')]=!0x1;}),this[_0x1a7e('0x13')](_0xc8b5c5,_0x1a7e('0xf'),(_0x534f30,_0x3a48f3)=>{_0x3a48f3[_0x1a7e('0x19')]&&this[_0x1a7e('0x10')](),_0xc8b5c5[_0x1a7e('0x3')]||(this[_0x1a7e('0xd')]=!0x0);});const _0x4eb3e9=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'dir':_0x1a7e('0xb'),'class':['ck','ck-comments-archive'],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':['ck-comments-archive__header\x20']},'children':[{'text':_0x1a15ea(_0x5bbe7a,_0x1a7e('0x12'))}]},{'tag':_0x1a7e('0x5'),'attributes':{'class':[_0x1a7e('0x7')]},'children':[{'tag':_0x1a7e('0x5'),'children':_0xc8b5c5},{'tag':'p','attributes':{'class':[_0x1a7e('0x1'),_0x4eb3e9['if'](_0x1a7e('0xd'),'ck-hidden',_0x562727=>!_0x562727)]},'children':[{'text':_0x1a15ea(_0x5bbe7a,'EMPTY_COMMENTS_ARCHIVE')}]}]}]});}[_0x1a7e('0xc')](){super[_0x1a7e('0xc')](),this[_0x1a7e('0x17')]['listenTo'](this[_0x1a7e('0x8')]);const _0x39a0fb=_0x49a4c3=>_0x49a4c3[_0x1a7e('0x18')]();this[_0x1a7e('0x17')]['set']('arrowright',_0x39a0fb),this['_keystrokes'][_0x1a7e('0x6')](_0x1a7e('0x11'),_0x39a0fb),this['_keystrokes'][_0x1a7e('0x6')](_0x1a7e('0x16'),_0x39a0fb),this['_keystrokes'][_0x1a7e('0x6')](_0x1a7e('0x15'),_0x39a0fb),this[_0x1a7e('0x13')](this['element'],_0x1a7e('0x2'),(_0x1215bd,_0x5d8190)=>{_0x5d8190[_0x1a7e('0x18')]();},{'priority':_0x1a7e('0xe')});}['destroy'](){super[_0x1a7e('0x14')](),this[_0x1a7e('0x9')][_0x1a7e('0x14')](),this[_0x1a7e('0x17')][_0x1a7e('0x14')]();}[_0x1a7e('0x10')](){this[_0x1a7e('0x8')]['focus']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xef6d=['stopListening','_rearrangeCollapse','length','ck-thread__comments','maxCommentsWhenCollapsed','comments','isActive','setTemplate','authoredAt','focus','hasDirtyComment','render','resolvedAt','remove','editorReady','set','isEditMode','commentViews','resolveCommentThread','removeComment','maxThreadTotalWeight','resolved','destroy','listenTo','_calculatePosition','change:isActive','element','count','_findOptimalIndex','resolvedCommentView','formatDateTime','visibleViews','change:isEditMode','_collapsedCommentsView','_shouldCollapse','locale','viewUid','weight','bind','_model','get','createCollection','collapse','_rearrangeExpand','refreshVisibleViews','maxCommentCharsWhenCollapsed','_handleInfoComment','from','equal','some','resolvedBy','_handleNewCommentModel','change:isResolved','Marked\x20as\x20resolved','CommentView','_config','delete','delegate','change:hasDirtyComment','_updateHasDirtyComment','add','editorDestroyed'];(function(_0x373a8b,_0xef6d30){const _0xf9a296=function(_0x1e9198){while(--_0x1e9198){_0x373a8b['push'](_0x373a8b['shift']());}};_0xf9a296(++_0xef6d30);}(_0xef6d,0x14c));const _0xf9a2=function(_0x373a8b,_0xef6d30){_0x373a8b=_0x373a8b-0x0;let _0xf9a296=_0xef6d[_0x373a8b];return _0xf9a296;};import{View as _0x1d3280}from'ckeditor5/src/ui.js';import{diff as _0x3628cc,Collection as _0x35df6a}from'ckeditor5/src/utils.js';import{getTranslation as _0x32034c}from'../../../utils/common-translations.js';import _0x14a768 from'./collapsedcommentsview.js';export default class vt extends _0x1d3280{constructor(_0x1e31b3,_0x49c8bf,_0x21b6f9){super(_0x1e31b3),this['set'](_0xf9a2('0x32'),!0x1),this[_0xf9a2('0x37')](_0xf9a2('0x2a'),_0x49c8bf[_0xf9a2('0x2d')][_0xf9a2('0x2a')]),this[_0xf9a2('0x37')](_0xf9a2('0x2e'),!0x1),this['_model']=_0x49c8bf,this['_config']=_0x21b6f9,this['commentViews']=this['createCollection'](),this[_0xf9a2('0x9')]=this[_0xf9a2('0x13')](),this[_0xf9a2('0x7')]=null,this[_0xf9a2('0xb')]=new _0x14a768(_0x1e31b3),this['_collapsedCommentsView'][_0xf9a2('0x10')]('count')['to'](this,'length',_0x3f7b1e=>_0x3f7b1e-this[_0xf9a2('0x21')][_0xf9a2('0x2c')]);for(const _0x2b9264 of _0x49c8bf[_0xf9a2('0x2d')])this['_handleNewCommentModel'](_0x2b9264);this[_0xf9a2('0x18')](),this[_0xf9a2('0x1')](_0x49c8bf[_0xf9a2('0x2d')],_0xf9a2('0x26'),(_0x342c2a,_0x5bbb43)=>{const _0x25df08=this[_0xf9a2('0x2')](_0x5bbb43);this[_0xf9a2('0x2a')]++,this[_0xf9a2('0x1d')](_0x5bbb43,_0x25df08),this[_0xf9a2('0x16')]();}),this[_0xf9a2('0x1')](_0x49c8bf[_0xf9a2('0x2d')],'remove',(_0x3fc96b,_0x3d32ba)=>{this[_0xf9a2('0x2a')]--,this['_handleRemoveCommentModel'](_0x3d32ba),this[_0xf9a2('0x16')]();}),this['listenTo'](_0x49c8bf,'commentUpdated',()=>this['refreshVisibleViews']()),this[_0xf9a2('0x1')](_0x49c8bf,_0xf9a2('0x1e'),()=>this[_0xf9a2('0x18')]()),this['on'](_0xf9a2('0x3'),()=>this['refreshVisibleViews']()),this['on'](_0xf9a2('0x24'),()=>this[_0xf9a2('0x16')]()),this[_0xf9a2('0x2f')]({'tag':'ul','attributes':{'class':[_0xf9a2('0x2b')]},'children':this[_0xf9a2('0x9')]});}get[_0xf9a2('0xc')](){return this[_0xf9a2('0x11')][_0xf9a2('0xf')]>this[_0xf9a2('0x21')][_0xf9a2('0x3c')]&&!this[_0xf9a2('0x2e')]&&!this[_0xf9a2('0x32')];}['render'](){super[_0xf9a2('0x33')](),this[_0xf9a2('0x16')]();}[_0xf9a2('0x31')](){this[_0xf9a2('0x4')][_0xf9a2('0x31')]();}[_0xf9a2('0x0')](){this[_0xf9a2('0xb')][_0xf9a2('0x0')]();for(const _0xb9a697 of this[_0xf9a2('0x39')])_0xb9a697[_0xf9a2('0x0')]();super[_0xf9a2('0x0')]();}['refreshVisibleViews'](){this['_shouldCollapse']?this[_0xf9a2('0x29')]():this[_0xf9a2('0x15')]();}['_handleNewCommentModel'](_0x1ca430,_0xa7cc90){const _0x3d1d1b=new this[(_0xf9a2('0x21'))][(_0xf9a2('0x20'))](this[_0xf9a2('0xd')],_0x1ca430,{'maxCommentCharsWhenCollapsed':this[_0xf9a2('0x21')][_0xf9a2('0x17')],'formatDateTime':this[_0xf9a2('0x21')][_0xf9a2('0x8')],'editorConfig':this[_0xf9a2('0x21')]['editorConfig']});_0x3d1d1b[_0xf9a2('0xe')]=_0x1ca430['id'],_0x3d1d1b['delegate'](_0xf9a2('0x3b'))['to'](this),_0x3d1d1b[_0xf9a2('0x23')]('updateComment')['to'](this),_0x3d1d1b[_0xf9a2('0x23')](_0xf9a2('0x3a'))['to'](this),_0x3d1d1b[_0xf9a2('0x23')](_0xf9a2('0x36'))['to'](this),_0x3d1d1b[_0xf9a2('0x23')](_0xf9a2('0x27'))['to'](this),this['listenTo'](_0x3d1d1b,_0xf9a2('0xa'),()=>this[_0xf9a2('0x25')]()),this[_0xf9a2('0x39')][_0xf9a2('0x26')](_0x3d1d1b,_0xa7cc90);}[_0xf9a2('0x2')](_0x1180f8){const _0x3fd553=this['_model'][_0xf9a2('0x6')](_0x1180f8);return this[_0xf9a2('0x7')]?this[_0xf9a2('0x7')][_0xf9a2('0x30')]>_0x1180f8[_0xf9a2('0x30')]?_0x3fd553-0x1:_0x3fd553:_0x3fd553-0x1;}[_0xf9a2('0x18')](){if(this[_0xf9a2('0x11')][_0xf9a2('0x1c')]&&this[_0xf9a2('0x11')][_0xf9a2('0x34')]){const _0x3ea9dd={'id':_0xf9a2('0x3d'),'author':this[_0xf9a2('0x11')][_0xf9a2('0x1c')],'authoredAt':this['_model']['resolvedAt'],'content':_0x32034c(this[_0xf9a2('0xd')],_0xf9a2('0x1f')),'attributes':{}};this['resolvedCommentView']=new this[(_0xf9a2('0x21'))]['CommentView'](this[_0xf9a2('0xd')],_0x3ea9dd,{'maxCommentCharsWhenCollapsed':this[_0xf9a2('0x21')][_0xf9a2('0x17')],'formatDateTime':this[_0xf9a2('0x21')][_0xf9a2('0x8')],'editorConfig':this[_0xf9a2('0x21')]['editorConfig'],'isSystemComment':!0x0}),this[_0xf9a2('0x39')][_0xf9a2('0x26')](this['resolvedCommentView'],this[_0xf9a2('0x11')][_0xf9a2('0x6')](_0x3ea9dd));}else this[_0xf9a2('0x7')]&&(this[_0xf9a2('0x39')]['remove'](this[_0xf9a2('0x7')]),this[_0xf9a2('0x7')][_0xf9a2('0x0')](),this['resolvedCommentView']=null);this[_0xf9a2('0x16')]();}['_handleRemoveCommentModel'](_0x205551){const _0x435749=this[_0xf9a2('0x39')][_0xf9a2('0x35')](_0x205551['id']);this[_0xf9a2('0x28')](_0x435749),_0x435749[_0xf9a2('0x38')]&&this[_0xf9a2('0x25')](),_0x435749[_0xf9a2('0x0')]();}[_0xf9a2('0x25')](){this[_0xf9a2('0x32')]=Array[_0xf9a2('0x19')](this[_0xf9a2('0x39')])[_0xf9a2('0x1b')](_0x27f927=>_0x27f927['isEditMode']);}['_rearrangeCollapse'](){const _0x180008=function(_0x1e0579){const _0x8c4483=new _0x35df6a();for(const _0x141ed3 of _0x1e0579)_0x8c4483['add'](_0x141ed3);return _0x8c4483;}(this['commentViews']),_0x2a8d6e=this[_0xf9a2('0xb')][_0xf9a2('0x5')];for(let _0x5b4bcc=0x1;_0x5b4bcc<=_0x2a8d6e;_0x5b4bcc++)_0x180008[_0xf9a2('0x35')](0x1);for(const _0x27b757 of _0x180008)_0x27b757[_0xf9a2('0x14')]();_0x2a8d6e>0x0&&_0x180008['add'](this['_collapsedCommentsView'],0x1),is(_0x3628cc(Array[_0xf9a2('0x19')](this['visibleViews']),Array['from'](_0x180008)),this['visibleViews'],_0x180008);}[_0xf9a2('0x15')](){is(_0x3628cc(Array[_0xf9a2('0x19')](this['visibleViews']),Array[_0xf9a2('0x19')](this[_0xf9a2('0x39')])),this[_0xf9a2('0x9')],this[_0xf9a2('0x39')]);for(const _0x3c9ac1 of this['visibleViews'])_0x3c9ac1['expand']();}}function is(_0x5ba0ce,_0x1f255a,_0x1d0178){let _0x38716e=0x0;for(const _0x5782ff of _0x5ba0ce)switch(_0x5782ff){case'insert':_0x1f255a[_0xf9a2('0x26')](_0x1d0178[_0xf9a2('0x12')](_0x38716e),_0x38716e),_0x38716e++;break;case _0xf9a2('0x22'):_0x1f255a[_0xf9a2('0x35')](_0x38716e);break;case _0xf9a2('0x1a'):_0x38716e++;}}
23
+ const _0x23aa=['focus','locale','_collapsedCommentsView','visibleViews','maxThreadTotalWeight','isEditMode','_handleInfoComment','weight','CommentView','resolvedCommentView','bind','_updateHasDirtyComment','resolvedBy','refreshVisibleViews','setTemplate','_config','add','change:isActive','remove','delegate','formatDateTime','collapse','listenTo','_rearrangeCollapse','resolved','updateComment','hasDirtyComment','count','_shouldCollapse','insert','from','element','removeComment','_rearrangeExpand','destroy','_handleRemoveCommentModel','equal','maxCommentsWhenCollapsed','_handleNewCommentModel','_calculatePosition','set','viewUid','isActive','resolveCommentThread','_model','resolvedAt','length','comments','_findOptimalIndex','maxCommentCharsWhenCollapsed','render','editorConfig','commentViews','delete','some','get','change:hasDirtyComment','createCollection'];(function(_0x3db342,_0x23aacc){const _0xe90a96=function(_0x4f2069){while(--_0x4f2069){_0x3db342['push'](_0x3db342['shift']());}};_0xe90a96(++_0x23aacc);}(_0x23aa,0x167));const _0xe90a=function(_0x3db342,_0x23aacc){_0x3db342=_0x3db342-0x0;let _0xe90a96=_0x23aa[_0x3db342];return _0xe90a96;};import{View as _0x399283}from'ckeditor5/src/ui.js';import{diff as _0x211033,Collection as _0x1d5138}from'ckeditor5/src/utils.js';import{getTranslation as _0x520fad}from'../../../utils/common-translations.js';import _0x21759f from'./collapsedcommentsview.js';export default class vt extends _0x399283{constructor(_0x1108a7,_0x36f96b,_0x1b1673){super(_0x1108a7),this[_0xe90a('0x1d')](_0xe90a('0xf'),!0x1),this['set'](_0xe90a('0x23'),_0x36f96b['comments'][_0xe90a('0x23')]),this[_0xe90a('0x1d')](_0xe90a('0x1f'),!0x1),this[_0xe90a('0x21')]=_0x36f96b,this[_0xe90a('0x4')]=_0x1b1673,this['commentViews']=this[_0xe90a('0x2e')](),this[_0xe90a('0x32')]=this[_0xe90a('0x2e')](),this[_0xe90a('0x38')]=null,this[_0xe90a('0x31')]=new _0x21759f(_0x1108a7),this[_0xe90a('0x31')][_0xe90a('0x39')]('count')['to'](this,_0xe90a('0x23'),_0x5cf841=>_0x5cf841-this[_0xe90a('0x4')][_0xe90a('0x1a')]);for(const _0x1f7cab of _0x36f96b[_0xe90a('0x24')])this[_0xe90a('0x1b')](_0x1f7cab);this[_0xe90a('0x35')](),this[_0xe90a('0xb')](_0x36f96b[_0xe90a('0x24')],'add',(_0x396e29,_0x112a53)=>{const _0x3bce0d=this[_0xe90a('0x1c')](_0x112a53);this[_0xe90a('0x23')]++,this[_0xe90a('0x1b')](_0x112a53,_0x3bce0d),this[_0xe90a('0x2')]();}),this[_0xe90a('0xb')](_0x36f96b[_0xe90a('0x24')],_0xe90a('0x7'),(_0x5f3675,_0x2e7792)=>{this['length']--,this[_0xe90a('0x18')](_0x2e7792),this[_0xe90a('0x2')]();}),this[_0xe90a('0xb')](_0x36f96b,'commentUpdated',()=>this[_0xe90a('0x2')]()),this[_0xe90a('0xb')](_0x36f96b,'change:isResolved',()=>this[_0xe90a('0x35')]()),this['on'](_0xe90a('0x6'),()=>this[_0xe90a('0x2')]()),this['on'](_0xe90a('0x2d'),()=>this[_0xe90a('0x2')]()),this[_0xe90a('0x3')]({'tag':'ul','attributes':{'class':['ck-thread__comments']},'children':this[_0xe90a('0x32')]});}get[_0xe90a('0x11')](){return this[_0xe90a('0x21')][_0xe90a('0x36')]>this[_0xe90a('0x4')][_0xe90a('0x33')]&&!this[_0xe90a('0x1f')]&&!this[_0xe90a('0xf')];}[_0xe90a('0x27')](){super[_0xe90a('0x27')](),this[_0xe90a('0x2')]();}[_0xe90a('0x2f')](){this[_0xe90a('0x14')][_0xe90a('0x2f')]();}[_0xe90a('0x17')](){this['_collapsedCommentsView'][_0xe90a('0x17')]();for(const _0x4aa974 of this[_0xe90a('0x29')])_0x4aa974[_0xe90a('0x17')]();super['destroy']();}[_0xe90a('0x2')](){this[_0xe90a('0x11')]?this[_0xe90a('0xc')]():this['_rearrangeExpand']();}[_0xe90a('0x1b')](_0x3cc543,_0x5425d5){const _0x1871a4=new this[(_0xe90a('0x4'))][(_0xe90a('0x37'))](this['locale'],_0x3cc543,{'maxCommentCharsWhenCollapsed':this[_0xe90a('0x4')][_0xe90a('0x26')],'formatDateTime':this[_0xe90a('0x4')]['formatDateTime'],'editorConfig':this[_0xe90a('0x4')]['editorConfig']});_0x1871a4[_0xe90a('0x1e')]=_0x3cc543['id'],_0x1871a4[_0xe90a('0x8')](_0xe90a('0x15'))['to'](this),_0x1871a4[_0xe90a('0x8')](_0xe90a('0xe'))['to'](this),_0x1871a4[_0xe90a('0x8')](_0xe90a('0x20'))['to'](this),_0x1871a4[_0xe90a('0x8')]('editorReady')['to'](this),_0x1871a4['delegate']('editorDestroyed')['to'](this),this[_0xe90a('0xb')](_0x1871a4,'change:isEditMode',()=>this[_0xe90a('0x0')]()),this[_0xe90a('0x29')][_0xe90a('0x5')](_0x1871a4,_0x5425d5);}['_calculatePosition'](_0x5c1930){const _0x3f4561=this[_0xe90a('0x21')][_0xe90a('0x25')](_0x5c1930);return this[_0xe90a('0x38')]?this['resolvedCommentView']['authoredAt']>_0x5c1930['authoredAt']?_0x3f4561-0x1:_0x3f4561:_0x3f4561-0x1;}[_0xe90a('0x35')](){if(this[_0xe90a('0x21')][_0xe90a('0x1')]&&this[_0xe90a('0x21')]['resolvedAt']){const _0x3c35f3={'id':_0xe90a('0xd'),'author':this[_0xe90a('0x21')]['resolvedBy'],'authoredAt':this[_0xe90a('0x21')][_0xe90a('0x22')],'content':_0x520fad(this[_0xe90a('0x30')],'Marked\x20as\x20resolved'),'attributes':{}};this[_0xe90a('0x38')]=new this[(_0xe90a('0x4'))][(_0xe90a('0x37'))](this[_0xe90a('0x30')],_0x3c35f3,{'maxCommentCharsWhenCollapsed':this['_config'][_0xe90a('0x26')],'formatDateTime':this['_config'][_0xe90a('0x9')],'editorConfig':this['_config'][_0xe90a('0x28')],'isSystemComment':!0x0}),this['commentViews'][_0xe90a('0x5')](this[_0xe90a('0x38')],this[_0xe90a('0x21')][_0xe90a('0x25')](_0x3c35f3));}else this[_0xe90a('0x38')]&&(this[_0xe90a('0x29')][_0xe90a('0x7')](this[_0xe90a('0x38')]),this[_0xe90a('0x38')][_0xe90a('0x17')](),this['resolvedCommentView']=null);this[_0xe90a('0x2')]();}[_0xe90a('0x18')](_0x1adf5b){const _0x1e79f6=this[_0xe90a('0x29')][_0xe90a('0x7')](_0x1adf5b['id']);this['stopListening'](_0x1e79f6),_0x1e79f6[_0xe90a('0x34')]&&this['_updateHasDirtyComment'](),_0x1e79f6[_0xe90a('0x17')]();}[_0xe90a('0x0')](){this[_0xe90a('0xf')]=Array[_0xe90a('0x13')](this['commentViews'])[_0xe90a('0x2b')](_0x433526=>_0x433526['isEditMode']);}[_0xe90a('0xc')](){const _0x361ab3=function(_0x46f3c9){const _0x58ae9e=new _0x1d5138();for(const _0x4323bc of _0x46f3c9)_0x58ae9e[_0xe90a('0x5')](_0x4323bc);return _0x58ae9e;}(this['commentViews']),_0x559b96=this['_collapsedCommentsView'][_0xe90a('0x10')];for(let _0xf533ac=0x1;_0xf533ac<=_0x559b96;_0xf533ac++)_0x361ab3['remove'](0x1);for(const _0x352929 of _0x361ab3)_0x352929[_0xe90a('0xa')]();_0x559b96>0x0&&_0x361ab3[_0xe90a('0x5')](this[_0xe90a('0x31')],0x1),is(_0x211033(Array[_0xe90a('0x13')](this[_0xe90a('0x32')]),Array['from'](_0x361ab3)),this[_0xe90a('0x32')],_0x361ab3);}[_0xe90a('0x16')](){is(_0x211033(Array[_0xe90a('0x13')](this[_0xe90a('0x32')]),Array['from'](this[_0xe90a('0x29')])),this['visibleViews'],this['commentViews']);for(const _0x235605 of this[_0xe90a('0x32')])_0x235605['expand']();}}function is(_0x21416a,_0x46e4d1,_0x2b6d9e){let _0x18c6d7=0x0;for(const _0x5e9b0a of _0x21416a)switch(_0x5e9b0a){case _0xe90a('0x12'):_0x46e4d1[_0xe90a('0x5')](_0x2b6d9e[_0xe90a('0x2c')](_0x18c6d7),_0x18c6d7),_0x18c6d7++;break;case _0xe90a('0x2a'):_0x46e4d1[_0xe90a('0x7')](_0x18c6d7);break;case _0xe90a('0x19'):_0x18c6d7++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x77df=['_createReopenButton','context','bind','Comment\x20was\x20made\x20on\x20an\x20element','mouseenter','bindTemplate','isEnabled','isReadOnly','isResolved','querySelector','_trimContextValue','Reopen','ck-annotation__actions','render','ck-context-wrapper','classList','icon','offsetWidth','ck-thread__header','ck-context--quotes','ck-context__value','.ck-context','label','_model','value','execute','div','isVisible','contextValue','mouseleave','isResolvable','length','reopenButtonView','add','span','substring','fire','hasContext','overlay','setTemplate','listenTo','_attachContextActions','...','locale','ck-context'];(function(_0x23dde0,_0x77df53){const _0x156f06=function(_0x45f0e1){while(--_0x45f0e1){_0x23dde0['push'](_0x23dde0['shift']());}};_0x156f06(++_0x77df53);}(_0x77df,0xfa));const _0x156f=function(_0x23dde0,_0x77df53){_0x23dde0=_0x23dde0-0x0;let _0x156f06=_0x77df[_0x23dde0];return _0x156f06;};import{View as _0x47231c,ButtonView as _0xb868ad}from'ckeditor5/src/ui.js';import{getTranslation as _0x5873e8}from'../../../utils/common-translations.js';import _0x51a157 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Tt extends _0x47231c{constructor(_0xa16645,_0x5a131d){super(_0xa16645);const _0x344d67=this[_0x156f('0x19')];this['_model']=_0x5a131d,this[_0x156f('0x7')]=this[_0x156f('0x14')](),this[_0x156f('0x16')](_0x156f('0xc'))['to'](this[_0x156f('0x2b')],_0x156f('0x15'),_0x4c3858=>!!_0x4c3858),this[_0x156f('0x16')]('contextValue')['to'](this[_0x156f('0x2b')],_0x156f('0x15'),_0x528ac6=>_0x528ac6&&_0x528ac6[_0x156f('0x2c')]?this[_0x156f('0x1e')](_0x528ac6[_0x156f('0x2c')]):_0x5873e8(this['locale'],_0x156f('0x17'))),this[_0x156f('0xe')]({'tag':'div','attributes':{'class':[_0x156f('0x26')]},'children':[{'tag':_0x156f('0x1'),'attributes':{'class':[_0x156f('0x22')]},'children':[{'tag':'div','attributes':{'class':[_0x156f('0x13'),_0x344d67['if']('hasContext',_0x156f('0x27'))]},'children':[{'tag':_0x156f('0x9'),'attributes':{'class':[_0x156f('0x28')]},'children':[{'text':_0x344d67['to'](_0x156f('0x3'))}]}]}]},{'tag':_0x156f('0x1'),'attributes':{'class':[_0x156f('0x20')]},'children':[this['reopenButtonView']]}]});}[_0x156f('0x21')](){super[_0x156f('0x21')](),this['_attachContextActions']();}['_createReopenButton'](){const _0x2f7b01=new _0xb868ad(this['locale']);return _0x2f7b01[_0x156f('0x2a')]=_0x5873e8(this[_0x156f('0x12')],_0x156f('0x1f')),_0x2f7b01['tooltip']=_0x5873e8(this['locale'],_0x156f('0x1f')),_0x2f7b01[_0x156f('0x24')]=_0x51a157,_0x2f7b01[_0x156f('0x16')](_0x156f('0x1a'))['to'](this[_0x156f('0x2b')],_0x156f('0x1b'),_0x4f61ae=>!_0x4f61ae),_0x2f7b01[_0x156f('0x16')](_0x156f('0x2'))['to'](this['_model'],_0x156f('0x5'),this[_0x156f('0x2b')],_0x156f('0x1c'),(_0x172d67,_0xc22be2)=>_0x172d67&&_0xc22be2),_0x2f7b01['on'](_0x156f('0x0'),()=>{this[_0x156f('0xb')]('reopenCommentThread',this[_0x156f('0x2b')]['id']);}),_0x2f7b01;}[_0x156f('0x1e')](_0x1c9e85){if(_0x1c9e85[_0x156f('0x6')]<0x96)return _0x1c9e85;const _0x207ddf=_0x1c9e85['lastIndexOf']('\x20',0x93);return _0x1c9e85[_0x156f('0xa')](0x0,_0x207ddf>-0x1?_0x207ddf:0x93)+_0x156f('0x11');}[_0x156f('0x10')](){const _0x5af16f=this['element'][_0x156f('0x1d')](_0x156f('0x29')),_0x49a723=_0x5af16f['querySelector']('.ck-context__value');this['listenTo'](_0x5af16f,_0x156f('0x18'),()=>{_0x49a723[_0x156f('0x25')]<_0x49a723['scrollWidth']&&_0x5af16f['classList'][_0x156f('0x8')](_0x156f('0xd'));}),this[_0x156f('0xf')](_0x5af16f,_0x156f('0x4'),()=>{_0x5af16f[_0x156f('0x23')]['remove'](_0x156f('0xd'));});}}
23
+ const _0x166e=['bindTemplate','isVisible','ck-annotation__actions','execute','Comment\x20was\x20made\x20on\x20an\x20element','isResolvable','tooltip','remove','div','listenTo','context','bind','isResolved','ck-context','value','offsetWidth','ck-thread__header','length','Reopen','_trimContextValue','substring','...','.ck-context','hasContext','span','reopenButtonView','overlay','_attachContextActions','scrollWidth','ck-context--quotes','_createReopenButton','ck-context__value','isEnabled','ck-context-wrapper','mouseleave','label','render','setTemplate','_model','locale','querySelector'];(function(_0x72c18d,_0x166e2b){const _0x5cf6cc=function(_0x20974b){while(--_0x20974b){_0x72c18d['push'](_0x72c18d['shift']());}};_0x5cf6cc(++_0x166e2b);}(_0x166e,0x82));const _0x5cf6=function(_0x72c18d,_0x166e2b){_0x72c18d=_0x72c18d-0x0;let _0x5cf6cc=_0x166e[_0x72c18d];return _0x5cf6cc;};import{View as _0x35243d,ButtonView as _0x23fcc6}from'ckeditor5/src/ui.js';import{getTranslation as _0x10f5d0}from'../../../utils/common-translations.js';import _0x5a6d4f from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Tt extends _0x35243d{constructor(_0x503420,_0x192253){super(_0x503420);const _0x205a71=this[_0x5cf6('0x22')];this[_0x5cf6('0x1f')]=_0x192253,this[_0x5cf6('0x12')]=this[_0x5cf6('0x17')](),this[_0x5cf6('0x4')](_0x5cf6('0x10'))['to'](this[_0x5cf6('0x1f')],_0x5cf6('0x3'),_0x3af9cb=>!!_0x3af9cb),this[_0x5cf6('0x4')]('contextValue')['to'](this[_0x5cf6('0x1f')],_0x5cf6('0x3'),_0x3a7d06=>_0x3a7d06&&_0x3a7d06['value']?this[_0x5cf6('0xc')](_0x3a7d06[_0x5cf6('0x7')]):_0x10f5d0(this[_0x5cf6('0x20')],_0x5cf6('0x26'))),this[_0x5cf6('0x1e')]({'tag':_0x5cf6('0x1'),'attributes':{'class':[_0x5cf6('0x9')]},'children':[{'tag':_0x5cf6('0x1'),'attributes':{'class':[_0x5cf6('0x1a')]},'children':[{'tag':'div','attributes':{'class':[_0x5cf6('0x6'),_0x205a71['if'](_0x5cf6('0x10'),_0x5cf6('0x16'))]},'children':[{'tag':_0x5cf6('0x11'),'attributes':{'class':[_0x5cf6('0x18')]},'children':[{'text':_0x205a71['to']('contextValue')}]}]}]},{'tag':_0x5cf6('0x1'),'attributes':{'class':[_0x5cf6('0x24')]},'children':[this[_0x5cf6('0x12')]]}]});}[_0x5cf6('0x1d')](){super[_0x5cf6('0x1d')](),this[_0x5cf6('0x14')]();}[_0x5cf6('0x17')](){const _0xe21080=new _0x23fcc6(this[_0x5cf6('0x20')]);return _0xe21080[_0x5cf6('0x1c')]=_0x10f5d0(this['locale'],_0x5cf6('0xb')),_0xe21080[_0x5cf6('0x28')]=_0x10f5d0(this[_0x5cf6('0x20')],_0x5cf6('0xb')),_0xe21080['icon']=_0x5a6d4f,_0xe21080[_0x5cf6('0x4')](_0x5cf6('0x19'))['to'](this['_model'],'isReadOnly',_0x4e3c88=>!_0x4e3c88),_0xe21080[_0x5cf6('0x4')](_0x5cf6('0x23'))['to'](this['_model'],_0x5cf6('0x27'),this[_0x5cf6('0x1f')],_0x5cf6('0x5'),(_0x1c522f,_0x5de159)=>_0x1c522f&&_0x5de159),_0xe21080['on'](_0x5cf6('0x25'),()=>{this['fire']('reopenCommentThread',this[_0x5cf6('0x1f')]['id']);}),_0xe21080;}[_0x5cf6('0xc')](_0x5ae1ab){if(_0x5ae1ab[_0x5cf6('0xa')]<0x96)return _0x5ae1ab;const _0x13e39a=_0x5ae1ab['lastIndexOf']('\x20',0x93);return _0x5ae1ab[_0x5cf6('0xd')](0x0,_0x13e39a>-0x1?_0x13e39a:0x93)+_0x5cf6('0xe');}[_0x5cf6('0x14')](){const _0x29a63e=this['element']['querySelector'](_0x5cf6('0xf')),_0x1e258c=_0x29a63e[_0x5cf6('0x21')]('.ck-context__value');this[_0x5cf6('0x2')](_0x29a63e,'mouseenter',()=>{_0x1e258c[_0x5cf6('0x8')]<_0x1e258c[_0x5cf6('0x15')]&&_0x29a63e['classList']['add'](_0x5cf6('0x13'));}),this[_0x5cf6('0x2')](_0x29a63e,_0x5cf6('0x1b'),()=>{_0x29a63e['classList'][_0x5cf6('0x0')](_0x5cf6('0x13'));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4de9=['bind','destroy','change:showInput','editor','setTemplate','delegate','commentInputView','ck-thread__input','set','value','ck-thread__user','div','showButtons','userView','ck-comment__input-container','then','bindTemplate','focusTracker','showInput','editorReady'];(function(_0x140edd,_0x4de93d){var _0x46adf6=function(_0x2dc343){while(--_0x2dc343){_0x140edd['push'](_0x140edd['shift']());}};_0x46adf6(++_0x4de93d);}(_0x4de9,0xb8));var _0x46ad=function(_0x140edd,_0x4de93d){_0x140edd=_0x140edd-0x0;var _0x46adf6=_0x4de9[_0x140edd];return _0x46adf6;};import{View as _0x330057}from'ckeditor5/src/ui.js';import _0x1a14b7 from'./commentinputview.js';import{UserView as _0x45f9a5}from'ckeditor5-collaboration/src/collaboration-core.js';export default class Ct extends _0x330057{constructor(_0x3cb5b2,_0x4ad3df,_0x14484f){super(_0x3cb5b2),this[_0x46ad('0x2')]=new _0x1a14b7(_0x3cb5b2,_0x14484f),this[_0x46ad('0x2')][_0x46ad('0x10')](_0x46ad('0x8'))['to'](this['commentInputView'][_0x46ad('0xd')],'isFocused',this['commentInputView'],_0x46ad('0x5'),(_0x570458,_0x257e22)=>_0x570458||!!_0x257e22),this[_0x46ad('0x4')](_0x46ad('0xe'),!0x1),this['on'](_0x46ad('0x12'),()=>{this[_0x46ad('0xe')]&&!this[_0x46ad('0x2')][_0x46ad('0x13')]&&this[_0x46ad('0x2')]['createEditor']();}),this[_0x46ad('0x2')][_0x46ad('0x1')](_0x46ad('0xf'))['to'](this),this[_0x46ad('0x2')][_0x46ad('0x1')]('editorDestroyed')['to'](this),this[_0x46ad('0x9')]=new _0x45f9a5(_0x3cb5b2,_0x4ad3df),this['userView']['extendTemplate']({'attributes':{'class':_0x46ad('0x6')}}),this['commentInputView']['extendTemplate']({'attributes':{'class':_0x46ad('0x3')}}),this[_0x46ad('0x0')]({'tag':_0x46ad('0x7'),'attributes':{'class':[_0x46ad('0xa'),this[_0x46ad('0xc')]['if'](_0x46ad('0xe'),'ck-comment__input-container--active')]},'children':[this[_0x46ad('0x9')],this[_0x46ad('0x2')]]});}[_0x46ad('0x11')](){return this['commentInputView'][_0x46ad('0x11')]()[_0x46ad('0xb')](()=>super['destroy']());}}
23
+ var _0x4c34=['ck-comment__input-container--active','value','userView','then','destroy','ck-thread__user','focusTracker','showInput','ck-thread__input','isFocused','setTemplate','editorReady','ck-comment__input-container','div','editor','bindTemplate','commentInputView','extendTemplate','delegate','change:showInput','showButtons','set'];(function(_0x17979,_0x4c34d9){var _0x1d35e1=function(_0x271396){while(--_0x271396){_0x17979['push'](_0x17979['shift']());}};_0x1d35e1(++_0x4c34d9);}(_0x4c34,0x64));var _0x1d35=function(_0x17979,_0x4c34d9){_0x17979=_0x17979-0x0;var _0x1d35e1=_0x4c34[_0x17979];return _0x1d35e1;};import{View as _0x4a7bc3}from'ckeditor5/src/ui.js';import _0x230c24 from'./commentinputview.js';import{UserView as _0x92db5d}from'ckeditor5-collaboration/src/collaboration-core.js';export default class Ct extends _0x4a7bc3{constructor(_0x49669f,_0x2378e9,_0x5b896b){super(_0x49669f),this['commentInputView']=new _0x230c24(_0x49669f,_0x5b896b),this[_0x1d35('0x4')]['bind'](_0x1d35('0x8'))['to'](this[_0x1d35('0x4')][_0x1d35('0x10')],_0x1d35('0x13'),this[_0x1d35('0x4')],_0x1d35('0xb'),(_0x3b5fea,_0x136fbf)=>_0x3b5fea||!!_0x136fbf),this[_0x1d35('0x9')]('showInput',!0x1),this['on'](_0x1d35('0x7'),()=>{this[_0x1d35('0x11')]&&!this['commentInputView'][_0x1d35('0x2')]&&this[_0x1d35('0x4')]['createEditor']();}),this[_0x1d35('0x4')]['delegate'](_0x1d35('0x15'))['to'](this),this[_0x1d35('0x4')][_0x1d35('0x6')]('editorDestroyed')['to'](this),this[_0x1d35('0xc')]=new _0x92db5d(_0x49669f,_0x2378e9),this[_0x1d35('0xc')][_0x1d35('0x5')]({'attributes':{'class':_0x1d35('0xf')}}),this[_0x1d35('0x4')][_0x1d35('0x5')]({'attributes':{'class':_0x1d35('0x12')}}),this[_0x1d35('0x14')]({'tag':_0x1d35('0x1'),'attributes':{'class':[_0x1d35('0x0'),this[_0x1d35('0x3')]['if']('showInput',_0x1d35('0xa'))]},'children':[this[_0x1d35('0xc')],this['commentInputView']]});}['destroy'](){return this[_0x1d35('0x4')][_0x1d35('0xe')]()[_0x1d35('0xd')](()=>super[_0x1d35('0xe')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11bd=['locale','render','unbind','_bindFirstCommentView','stop','ck-thread--active','listenTo','tooltip','change:isReadOnly','bindTemplate','cancelConfirm','commentThreadHeaderView','ck-thread','ck-thread--remove-confirmation','isEnabled','remove','resolveCommentThread','actionBar','commentViews','ck-thread__container','commentsListView','getTemplate','isResolved','get','high','_boundFirstCommentView','bind','ck-thread--unlinked','commentThreadChildren','change:isActive','archivedAt','execute','commentThreadInputView','_cancelAllConfirms','isActive','createCollection','check','ck-reset_all-excluded','ck-comment--resolve','_model','containerElement','querySelector','ck-thread--','setTemplate','add','removeButton','isReadOnly','actionIndicator','removeCommentThread','showConfirm','icon','fire','resolveButton','div','_createResolveButton'];(function(_0x251cc6,_0x11bd29){const _0x484beb=function(_0x19a99b){while(--_0x19a99b){_0x251cc6['push'](_0x251cc6['shift']());}};_0x484beb(++_0x11bd29);}(_0x11bd,0x100));const _0x484b=function(_0x251cc6,_0x11bd29){_0x251cc6=_0x251cc6-0x0;let _0x484beb=_0x11bd[_0x251cc6];return _0x484beb;};import{ConfirmMixin as _0x420730}from'ckeditor5-collaboration/src/collaboration-core.js';import{ButtonView as _0x30ca03}from'ckeditor5/src/ui.js';import{icons as _0x5785d6}from'ckeditor5/src/core.js';import _0x397088 from'./basecommentthreadview.js';import{getTranslation as _0x142916}from'../../../utils/common-translations.js';export default class ft extends _0x420730(_0x397088){constructor(_0x52ce56,_0xc9b942,_0x478173,_0x517b59){super(_0x52ce56,_0xc9b942,_0x478173,_0x517b59),this[_0x484b('0x2f')]=this[_0x484b('0x36')](),this[_0x484b('0x2f')]['addMany']([this[_0x484b('0x27')],this[_0x484b('0x33')]]),this[_0x484b('0x3')][_0x484b('0x31')]&&this[_0x484b('0x2f')][_0x484b('0x8')](this[_0x484b('0x1e')],0x0),this[_0x484b('0x3')]['on']('change:archivedAt',(_0x24df21,_0x110d31,_0x4e1813)=>{_0x4e1813?this[_0x484b('0x2f')]['has'](this[_0x484b('0x1e')])||this[_0x484b('0x2f')]['add'](this[_0x484b('0x1e')],0x0):this[_0x484b('0x2f')][_0x484b('0x22')](this[_0x484b('0x1e')]);}),this['set']('actionIndicator',null),this[_0x484b('0x4')]=null,this['_boundFirstCommentView']=null,this[_0x484b('0x13')]=_0x52ce56,this[_0x484b('0x10')]=this[_0x484b('0x12')](),this[_0x484b('0x7')](this[_0x484b('0x28')]()),this['on'](_0x484b('0x30'),(_0x52bd8d,_0x434fff,_0x3df2ec)=>{_0x3df2ec||this['_cancelAllConfirms']();}),this[_0x484b('0x19')](this[_0x484b('0x3')],_0x484b('0x1b'),(_0x5ad164,_0x1ed2a0,_0x20560f)=>{_0x20560f&&this[_0x484b('0x34')]();}),this['length']>0x0&&this[_0x484b('0x16')](),this[_0x484b('0x19')](this[_0x484b('0x27')][_0x484b('0x25')],_0x484b('0x8'),()=>{this[_0x484b('0x16')]();});}[_0x484b('0x28')](){const _0x8d557c=this[_0x484b('0x1c')];return{'tag':_0x484b('0x11'),'attributes':{'class':[_0x484b('0x1f'),_0x484b('0x1'),_0x8d557c['if'](_0x484b('0x35'),_0x484b('0x18')),_0x8d557c['if']('isUnlinked',_0x484b('0x2e')),_0x8d557c['if']('isConfirm',_0x484b('0x20')),_0x8d557c['to']('actionIndicator',_0x14570a=>_0x14570a?_0x484b('0x6')+_0x14570a:'')],'data-thread-id':this[_0x484b('0x3')]['id'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':_0x484b('0x26')},'children':this[_0x484b('0x2f')]}]};}['render'](){super[_0x484b('0x14')](),this[_0x484b('0x4')]=this['element'][_0x484b('0x5')]('.ck-thread__container');}[_0x484b('0x34')](){this[_0x484b('0x1d')]();for(const _0x14d084 of this[_0x484b('0x27')][_0x484b('0x25')])_0x14d084['cancelConfirm']();}[_0x484b('0x16')](){const {locale:_0x3992d3}=this,_0x2e0ea3=this[_0x484b('0x27')]['commentViews'][_0x484b('0x2a')](0x0);_0x2e0ea3===this[_0x484b('0x2c')]||_0x2e0ea3['isSystemComment']||(this['_boundFirstCommentView']=_0x2e0ea3,this[_0x484b('0x15')](_0x484b('0xb')),this[_0x484b('0x2d')](_0x484b('0xb'))['to'](_0x2e0ea3,_0x484b('0xb'),_0x529660=>_0x484b('0x22')===_0x529660?_0x484b('0x22'):null),_0x2e0ea3['placeholder']=_0x142916(_0x3992d3,'Write\x20a\x20comment...'),_0x2e0ea3[_0x484b('0x9')]['on'](_0x484b('0x32'),_0x4883b2=>{_0x4883b2[_0x484b('0x17')](),this[_0x484b('0xd')](_0x142916(_0x3992d3,'Delete\x20comment\x20thread?'),this['containerElement'])['then'](()=>{this['fire'](_0x484b('0xc'));});},{'priority':_0x484b('0x2b')}),_0x2e0ea3[_0x484b('0x24')][_0x484b('0x8')](this[_0x484b('0x10')],0x0));}[_0x484b('0x12')](){const _0x53a9c5=new _0x30ca03(this['locale']);return _0x53a9c5['label']=_0x142916(this['locale'],'Resolve'),_0x53a9c5[_0x484b('0x1a')]=_0x142916(this['locale'],'Resolve'),_0x53a9c5[_0x484b('0xe')]=_0x5785d6[_0x484b('0x0')],_0x53a9c5['extendTemplate']({'attributes':{'class':_0x484b('0x2')}}),_0x53a9c5[_0x484b('0x2d')](_0x484b('0x21'))['to'](this['_model'],_0x484b('0xa'),_0x5c20d6=>!_0x5c20d6),_0x53a9c5[_0x484b('0x2d')]('isVisible')['to'](this[_0x484b('0x3')],'isResolvable',this[_0x484b('0x3')],_0x484b('0x29'),(_0x3ce2a3,_0x41793f)=>_0x3ce2a3&&!_0x41793f),_0x53a9c5['on'](_0x484b('0x32'),()=>{this[_0x484b('0xf')](_0x484b('0x23'),this['_model']['id']);}),_0x53a9c5;}}
23
+ const _0x2aaf=['fire','commentThreadInputView','isActive','isResolved','cancelConfirm','ck-comment--resolve','div','label','Resolve','ck-thread--','render','resolveButton','add','.ck-thread__container','ck-reset_all-excluded','extendTemplate','resolveCommentThread','locale','_boundFirstCommentView','archivedAt','change:archivedAt','commentsListView','_cancelAllConfirms','removeButton','commentViews','execute','commentThreadHeaderView','bindTemplate','createCollection','_model','high','element','then','_bindFirstCommentView','isEnabled','_createResolveButton','has','Delete\x20comment\x20thread?','actionIndicator','bind','change:isActive','querySelector','ck-thread__container','getTemplate','ck-thread--remove-confirmation','listenTo','isVisible','addMany','setTemplate','length','ck-thread--unlinked','remove','isResolvable','commentThreadChildren','containerElement','isSystemComment','tooltip','icon'];(function(_0x3b6d04,_0x2aafb3){const _0x2d2f23=function(_0x409d32){while(--_0x409d32){_0x3b6d04['push'](_0x3b6d04['shift']());}};_0x2d2f23(++_0x2aafb3);}(_0x2aaf,0x15d));const _0x2d2f=function(_0x3b6d04,_0x2aafb3){_0x3b6d04=_0x3b6d04-0x0;let _0x2d2f23=_0x2aaf[_0x3b6d04];return _0x2d2f23;};import{ConfirmMixin as _0x4225d3}from'ckeditor5-collaboration/src/collaboration-core.js';import{ButtonView as _0x1839d0}from'ckeditor5/src/ui.js';import{icons as _0x19904d}from'ckeditor5/src/core.js';import _0x2f1efc from'./basecommentthreadview.js';import{getTranslation as _0x5811b0}from'../../../utils/common-translations.js';export default class ft extends _0x4225d3(_0x2f1efc){constructor(_0xbf039b,_0xba66e8,_0x22f839,_0xa20e48){super(_0xbf039b,_0xba66e8,_0x22f839,_0xa20e48),this['commentThreadChildren']=this[_0x2d2f('0x1b')](),this[_0x2d2f('0x34')][_0x2d2f('0x2e')]([this[_0x2d2f('0x14')],this[_0x2d2f('0x0')]]),this[_0x2d2f('0x1c')][_0x2d2f('0x12')]&&this[_0x2d2f('0x34')][_0x2d2f('0xb')](this[_0x2d2f('0x19')],0x0),this['_model']['on'](_0x2d2f('0x13'),(_0x569e19,_0x466a42,_0x29ed43)=>{_0x29ed43?this[_0x2d2f('0x34')][_0x2d2f('0x23')](this['commentThreadHeaderView'])||this['commentThreadChildren']['add'](this[_0x2d2f('0x19')],0x0):this[_0x2d2f('0x34')]['remove'](this[_0x2d2f('0x19')]);}),this['set'](_0x2d2f('0x25'),null),this[_0x2d2f('0x35')]=null,this['_boundFirstCommentView']=null,this[_0x2d2f('0x10')]=_0xbf039b,this[_0x2d2f('0xa')]=this['_createResolveButton'](),this[_0x2d2f('0x2f')](this['getTemplate']()),this['on'](_0x2d2f('0x27'),(_0x5aaf99,_0x49f63d,_0x4ed7f3)=>{_0x4ed7f3||this[_0x2d2f('0x15')]();}),this[_0x2d2f('0x2c')](this[_0x2d2f('0x1c')],'change:isReadOnly',(_0x480fd3,_0x3372a4,_0x11a715)=>{_0x11a715&&this[_0x2d2f('0x15')]();}),this[_0x2d2f('0x30')]>0x0&&this[_0x2d2f('0x20')](),this['listenTo'](this['commentsListView'][_0x2d2f('0x17')],'add',()=>{this[_0x2d2f('0x20')]();});}[_0x2d2f('0x2a')](){const _0x58c7b1=this[_0x2d2f('0x1a')];return{'tag':'div','attributes':{'class':['ck-thread',_0x2d2f('0xd'),_0x58c7b1['if'](_0x2d2f('0x1'),'ck-thread--active'),_0x58c7b1['if']('isUnlinked',_0x2d2f('0x31')),_0x58c7b1['if']('isConfirm',_0x2d2f('0x2b')),_0x58c7b1['to'](_0x2d2f('0x25'),_0x126a36=>_0x126a36?_0x2d2f('0x8')+_0x126a36:'')],'data-thread-id':this[_0x2d2f('0x1c')]['id'],'tabindex':-0x1},'children':[{'tag':_0x2d2f('0x5'),'attributes':{'class':_0x2d2f('0x29')},'children':this[_0x2d2f('0x34')]}]};}[_0x2d2f('0x9')](){super[_0x2d2f('0x9')](),this[_0x2d2f('0x35')]=this[_0x2d2f('0x1e')][_0x2d2f('0x28')](_0x2d2f('0xc'));}[_0x2d2f('0x15')](){this['cancelConfirm']();for(const _0x48a82a of this[_0x2d2f('0x14')][_0x2d2f('0x17')])_0x48a82a[_0x2d2f('0x3')]();}[_0x2d2f('0x20')](){const {locale:_0x4da982}=this,_0x5a1685=this[_0x2d2f('0x14')][_0x2d2f('0x17')]['get'](0x0);_0x5a1685===this[_0x2d2f('0x11')]||_0x5a1685[_0x2d2f('0x36')]||(this['_boundFirstCommentView']=_0x5a1685,this['unbind'](_0x2d2f('0x25')),this[_0x2d2f('0x26')](_0x2d2f('0x25'))['to'](_0x5a1685,_0x2d2f('0x25'),_0xc3eb7c=>_0x2d2f('0x32')===_0xc3eb7c?_0x2d2f('0x32'):null),_0x5a1685['placeholder']=_0x5811b0(_0x4da982,'Write\x20a\x20comment...'),_0x5a1685[_0x2d2f('0x16')]['on'](_0x2d2f('0x18'),_0x2ee4e6=>{_0x2ee4e6['stop'](),this['showConfirm'](_0x5811b0(_0x4da982,_0x2d2f('0x24')),this[_0x2d2f('0x35')])[_0x2d2f('0x1f')](()=>{this[_0x2d2f('0x39')]('removeCommentThread');});},{'priority':_0x2d2f('0x1d')}),_0x5a1685['actionBar'][_0x2d2f('0xb')](this['resolveButton'],0x0));}[_0x2d2f('0x22')](){const _0x5d7e50=new _0x1839d0(this[_0x2d2f('0x10')]);return _0x5d7e50[_0x2d2f('0x6')]=_0x5811b0(this['locale'],_0x2d2f('0x7')),_0x5d7e50[_0x2d2f('0x37')]=_0x5811b0(this[_0x2d2f('0x10')],'Resolve'),_0x5d7e50[_0x2d2f('0x38')]=_0x19904d['check'],_0x5d7e50[_0x2d2f('0xe')]({'attributes':{'class':_0x2d2f('0x4')}}),_0x5d7e50[_0x2d2f('0x26')](_0x2d2f('0x21'))['to'](this[_0x2d2f('0x1c')],'isReadOnly',_0x439311=>!_0x439311),_0x5d7e50[_0x2d2f('0x26')](_0x2d2f('0x2d'))['to'](this[_0x2d2f('0x1c')],_0x2d2f('0x33'),this[_0x2d2f('0x1c')],_0x2d2f('0x2'),(_0x3228e1,_0x22d1d9)=>_0x3228e1&&!_0x22d1d9),_0x5d7e50['on'](_0x2d2f('0x18'),()=>{this[_0x2d2f('0x39')](_0x2d2f('0xf'),this[_0x2d2f('0x1c')]['id']);}),_0x5d7e50;}}