@ckeditor/ckeditor5-comments 0.0.0-nightly-20231227.0 → 0.0.0-nightly-20231229.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 (43) 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.d.ts +2 -2
  27. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  28. package/src/comments/ui/commentthreadcontroller.js +1 -1
  29. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  30. package/src/comments/ui/view/basecommentview.js +1 -1
  31. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  32. package/src/comments/ui/view/commentcontentview.js +1 -1
  33. package/src/comments/ui/view/commentinputview.js +1 -1
  34. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  35. package/src/comments/ui/view/commentslistview.js +1 -1
  36. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  37. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  38. package/src/comments/ui/view/commentthreadview.js +1 -1
  39. package/src/comments/ui/view/commentview.js +1 -1
  40. package/src/comments.js +1 -1
  41. package/src/commentsonly.js +1 -1
  42. package/src/utils/common-translations.js +1 -1
  43. package/src/utils/createmutationobserver.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x49b8=['addCommentThread','execute','listenTo','basic','high','define','map','get','commands','collaboration.channelId','afterInit','importWord.formatting.comments','plugins','config','editor','_handleImportedData','dataInsert'];(function(_0x165497,_0x49b89a){const _0x2d58e2=function(_0x1229eb){while(--_0x1229eb){_0x165497['push'](_0x165497['shift']());}};_0x2d58e2(++_0x49b89a);}(_0x49b8,0xc1));const _0x2d58=function(_0x165497,_0x49b89a){_0x165497=_0x165497-0x0;let _0x2d58e2=_0x49b8[_0x165497];return _0x2d58e2;};import{Plugin as _0x54b4f8}from'ckeditor5/src/core.js';import{priorities as _0x511f44}from'ckeditor5/src/utils.js';import{Users as _0x309878}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1d3a18 from'../commentsrepository.js';export default class Z extends _0x54b4f8{constructor(_0x468d1a){super(_0x468d1a),this['editor'][_0x2d58('0x7')][_0x2d58('0x10')](_0x2d58('0x5'),_0x2d58('0xe'));}[_0x2d58('0x4')](){const _0x58d3a0=this['editor'],_0x171cf7=_0x58d3a0[_0x2d58('0x2')][_0x2d58('0x1')]('importWord'),_0x3269b2=_0x58d3a0[_0x2d58('0x6')][_0x2d58('0x1')](_0x309878);_0x171cf7&&(_0x171cf7['on'](_0x2d58('0xc'),(_0x2f1d2f,[,_0x3cee8b])=>{_0x3cee8b['collaboration_features']={'comments':!0x0,'user_id':_0x3269b2['me']['id']};},{'priority':_0x511f44[_0x2d58('0xf')]+0xa}),this[_0x2d58('0xd')](_0x171cf7,_0x2d58('0xa'),this[_0x2d58('0x9')]));}[_0x2d58('0x9')](_0x35e3d9,_0x371290){const {comment_threads:_0x286f82}=_0x371290;_0x286f82&&_0x286f82['forEach'](({thread_id:_0x5c25eb,comments:_0xa688b2,is_resolved:_0x397ead})=>{const _0x257359=new Date(),_0x3256f7=_0xa688b2[_0x2d58('0x0')](({author:_0x23f04b,content:_0x468ebe,created_at:_0x403bb})=>({'content':_0x468ebe,'authorId':this['editor'][_0x2d58('0x6')][_0x2d58('0x1')](_0x309878)['me']['id'],'createdAt':_0x257359,'attributes':{'@external':{'authorName':_0x23f04b,'createdAt':_0x403bb?new Date(_0x403bb):new Date(),'source':'importWord'}}})),_0x57e089=this[_0x2d58('0x8')]['config'][_0x2d58('0x1')](_0x2d58('0x3'));this['editor']['plugins'][_0x2d58('0x1')](_0x1d3a18)[_0x2d58('0xb')]({'channelId':_0x57e089,'threadId':_0x5c25eb,'comments':_0x3256f7,'resolvedAt':_0x397ead?_0x257359:null});});}}
23
+ const _0x8370=['afterInit','plugins','high','forEach','importWord','editor','define','basic','_handleImportedData','collaboration.channelId','listenTo','get','collaboration_features','addCommentThread','dataInsert','commands','config'];(function(_0x335673,_0x83700e){const _0x2ff9e9=function(_0x51474e){while(--_0x51474e){_0x335673['push'](_0x335673['shift']());}};_0x2ff9e9(++_0x83700e);}(_0x8370,0x13b));const _0x2ff9=function(_0x335673,_0x83700e){_0x335673=_0x335673-0x0;let _0x2ff9e9=_0x8370[_0x335673];return _0x2ff9e9;};import{Plugin as _0x4df0d7}from'ckeditor5/src/core.js';import{priorities as _0x12111e}from'ckeditor5/src/utils.js';import{Users as _0x42c326}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x56b967 from'../commentsrepository.js';export default class Z extends _0x4df0d7{constructor(_0x56deac){super(_0x56deac),this['editor'][_0x2ff9('0x7')][_0x2ff9('0xe')]('importWord.formatting.comments',_0x2ff9('0xf'));}[_0x2ff9('0x8')](){const _0x3f95bb=this[_0x2ff9('0xd')],_0x1c30e9=_0x3f95bb[_0x2ff9('0x6')][_0x2ff9('0x2')](_0x2ff9('0xc')),_0x375d4d=_0x3f95bb['plugins'][_0x2ff9('0x2')](_0x42c326);_0x1c30e9&&(_0x1c30e9['on']('execute',(_0x21bdd7,[,_0x46641b])=>{_0x46641b[_0x2ff9('0x3')]={'comments':!0x0,'user_id':_0x375d4d['me']['id']};},{'priority':_0x12111e[_0x2ff9('0xa')]+0xa}),this[_0x2ff9('0x1')](_0x1c30e9,_0x2ff9('0x5'),this[_0x2ff9('0x10')]));}['_handleImportedData'](_0x347209,_0xc3f130){const {comment_threads:_0x2b9f1c}=_0xc3f130;_0x2b9f1c&&_0x2b9f1c[_0x2ff9('0xb')](({thread_id:_0x3fa3d4,comments:_0x4bd311,is_resolved:_0x3caa72})=>{const _0x1239a8=new Date(),_0x7d8cfe=_0x4bd311['map'](({author:_0x4bdb1d,content:_0x4b70a0,created_at:_0x200e05})=>({'content':_0x4b70a0,'authorId':this['editor'][_0x2ff9('0x9')][_0x2ff9('0x2')](_0x42c326)['me']['id'],'createdAt':_0x1239a8,'attributes':{'@external':{'authorName':_0x4bdb1d,'createdAt':_0x200e05?new Date(_0x200e05):new Date(),'source':_0x2ff9('0xc')}}})),_0x5a4d58=this[_0x2ff9('0xd')]['config'][_0x2ff9('0x2')](_0x2ff9('0x0'));this[_0x2ff9('0xd')][_0x2ff9('0x9')][_0x2ff9('0x2')](_0x56b967)[_0x2ff9('0x4')]({'channelId':_0x5a4d58,'threadId':_0x3fa3d4,'comments':_0x7d8cfe,'resolvedAt':_0x3caa72?_0x1239a8:null});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1739=['fire','low','childCount','_updatePlaceholder','defaultPlugins','assign','createRoot','document','set','ready','view','focus','init','getChild','name','model','editing','plugins','setSelection','placeholder','getRoot','destroy','placeholderElement','then','change','data','create'];(function(_0x2451dd,_0x173983){const _0x4cb91f=function(_0x2ff2e7){while(--_0x2ff2e7){_0x2451dd['push'](_0x2451dd['shift']());}};_0x4cb91f(++_0x173983);}(_0x1739,0xfc));const _0x4cb9=function(_0x2451dd,_0x173983){_0x2451dd=_0x2451dd-0x0;let _0x4cb91f=_0x1739[_0x2451dd];return _0x4cb91f;};import{Editor as _0x22a9fd,DataApiMixin as _0x502412}from'ckeditor5/src/core.js';import _0x2f76fb from'./commenteditorui.js';import{ObservableMixin as _0x2dbe85}from'ckeditor5/src/utils.js';import{enablePlaceholder as _0xe1ec9f,disablePlaceholder as _0x2cadb4}from'ckeditor5/src/engine.js';import{Clipboard as _0x4c915b}from'ckeditor5/src/clipboard.js';import{Enter as _0x32b398,ShiftEnter as _0x43a97d}from'ckeditor5/src/enter.js';import{SelectAll as _0x3c11c2}from'ckeditor5/src/select-all.js';import{Typing as _0x248c1e}from'ckeditor5/src/typing.js';import{Undo as _0x26a43f}from'ckeditor5/src/undo.js';import{Paragraph as _0x1b1ce4}from'ckeditor5/src/paragraph.js';const Mt=[_0x4c915b,_0x32b398,_0x43a97d,_0x3c11c2,_0x248c1e,_0x26a43f,_0x1b1ce4];export default class Nt extends _0x2dbe85(_0x502412(_0x22a9fd)){constructor(_0x6c0108={}){(_0x6c0108=Object[_0x4cb9('0x17')]({},_0x6c0108))[_0x4cb9('0x8')]||(_0x6c0108[_0x4cb9('0x8')]=Nt[_0x4cb9('0x16')]),super(_0x6c0108),this['ui']=new _0x2f76fb(this),this[_0x4cb9('0x1a')](_0x4cb9('0xa'),''),this[_0x4cb9('0x6')]['document']['on'](_0x4cb9('0xf'),()=>this['_updatePlaceholder'](),{'priority':_0x4cb9('0x13')}),this['on']('change:placeholder',()=>this[_0x4cb9('0x15')]()),this['model'][_0x4cb9('0x19')][_0x4cb9('0x18')]();}[_0x4cb9('0x11')](){const _0x11003b=this['config']['get']('initialData')||'';return this['initPlugins']()[_0x4cb9('0xe')](()=>this['ui'][_0x4cb9('0x3')]())[_0x4cb9('0xe')](()=>this[_0x4cb9('0x10')]['init'](_0x11003b))[_0x4cb9('0xe')](()=>this[_0x4cb9('0x12')](_0x4cb9('0x0')));}[_0x4cb9('0xc')](){return super['destroy']()['then'](()=>this['ui'][_0x4cb9('0xc')]());}[_0x4cb9('0x2')](){this[_0x4cb9('0x6')][_0x4cb9('0xf')](_0x1aac99=>{const _0x146496=this[_0x4cb9('0x6')][_0x4cb9('0x19')][_0x4cb9('0xb')](),_0x55546d=_0x146496&&_0x146496['getChild'](_0x146496[_0x4cb9('0x14')]-0x1);_0x1aac99[_0x4cb9('0x9')](_0x55546d,'end'),this[_0x4cb9('0x7')][_0x4cb9('0x1')]['focus']();});}['_updatePlaceholder'](){const _0x1d64cf=this['editing'][_0x4cb9('0x1')],_0xb51017=_0x1d64cf[_0x4cb9('0x19')]['getRoot'](),_0x5a64cf=_0xb51017[_0x4cb9('0x4')](0x0);_0xb51017['childCount']>0x1||!_0x5a64cf||'p'!=_0x5a64cf[_0x4cb9('0x5')]?this[_0x4cb9('0xd')]&&this[_0x4cb9('0xd')][_0x4cb9('0xa')]&&(_0x2cadb4(_0x1d64cf,this['placeholderElement']),this['placeholderElement']=void 0x0):(this['placeholder']&&(_0x5a64cf[_0x4cb9('0xa')]=this[_0x4cb9('0xa')]),_0xe1ec9f({'view':_0x1d64cf,'element':_0x5a64cf,'keepOnFocus':!0x0}),this[_0x4cb9('0xd')]=_0x5a64cf);}}Nt[_0x4cb9('0x16')]=Mt;
23
+ const _0x1c1a=['plugins','defaultPlugins','view','fire','destroy','_updatePlaceholder','ready','then','placeholderElement','end','setSelection','change','get','placeholder','change:placeholder','getChild','create','model','assign','initPlugins','name','editing','init','document','createRoot','focus'];(function(_0x37cb87,_0x1c1ae1){const _0xb0e63a=function(_0x440ac4){while(--_0x440ac4){_0x37cb87['push'](_0x37cb87['shift']());}};_0xb0e63a(++_0x1c1ae1);}(_0x1c1a,0x14e));const _0xb0e6=function(_0x37cb87,_0x1c1ae1){_0x37cb87=_0x37cb87-0x0;let _0xb0e63a=_0x1c1a[_0x37cb87];return _0xb0e63a;};import{Editor as _0xe9d126,DataApiMixin as _0x18ecb7}from'ckeditor5/src/core.js';import _0x504aef from'./commenteditorui.js';import{ObservableMixin as _0x5241c8}from'ckeditor5/src/utils.js';import{enablePlaceholder as _0x5bde9a,disablePlaceholder as _0x1b738b}from'ckeditor5/src/engine.js';import{Clipboard as _0x19956a}from'ckeditor5/src/clipboard.js';import{Enter as _0x521a1e,ShiftEnter as _0x591a96}from'ckeditor5/src/enter.js';import{SelectAll as _0xbe3c38}from'ckeditor5/src/select-all.js';import{Typing as _0x3fefc1}from'ckeditor5/src/typing.js';import{Undo as _0x5dfb4f}from'ckeditor5/src/undo.js';import{Paragraph as _0x239cbc}from'ckeditor5/src/paragraph.js';const Mt=[_0x19956a,_0x521a1e,_0x591a96,_0xbe3c38,_0x3fefc1,_0x5dfb4f,_0x239cbc];export default class Nt extends _0x5241c8(_0x18ecb7(_0xe9d126)){constructor(_0x59861e={}){(_0x59861e=Object[_0xb0e6('0x16')]({},_0x59861e))['plugins']||(_0x59861e[_0xb0e6('0x4')]=Nt[_0xb0e6('0x5')]),super(_0x59861e),this['ui']=new _0x504aef(this),this['set']('placeholder',''),this[_0xb0e6('0x15')][_0xb0e6('0x1')]['on'](_0xb0e6('0xf'),()=>this[_0xb0e6('0x9')](),{'priority':'low'}),this['on'](_0xb0e6('0x12'),()=>this[_0xb0e6('0x9')]()),this[_0xb0e6('0x15')][_0xb0e6('0x1')][_0xb0e6('0x2')]();}[_0xb0e6('0x14')](){const _0x5d548b=this['config'][_0xb0e6('0x10')]('initialData')||'';return this[_0xb0e6('0x17')]()[_0xb0e6('0xb')](()=>this['ui']['init']())[_0xb0e6('0xb')](()=>this['data'][_0xb0e6('0x0')](_0x5d548b))[_0xb0e6('0xb')](()=>this[_0xb0e6('0x7')](_0xb0e6('0xa')));}[_0xb0e6('0x8')](){return super[_0xb0e6('0x8')]()['then'](()=>this['ui'][_0xb0e6('0x8')]());}['focus'](){this[_0xb0e6('0x15')][_0xb0e6('0xf')](_0x2aa379=>{const _0x2af2cd=this[_0xb0e6('0x15')][_0xb0e6('0x1')]['getRoot'](),_0x3ee294=_0x2af2cd&&_0x2af2cd[_0xb0e6('0x13')](_0x2af2cd['childCount']-0x1);_0x2aa379[_0xb0e6('0xe')](_0x3ee294,_0xb0e6('0xd')),this[_0xb0e6('0x19')][_0xb0e6('0x6')][_0xb0e6('0x3')]();});}[_0xb0e6('0x9')](){const _0x5e97d7=this[_0xb0e6('0x19')][_0xb0e6('0x6')],_0x40fa23=_0x5e97d7[_0xb0e6('0x1')]['getRoot'](),_0x39e69b=_0x40fa23['getChild'](0x0);_0x40fa23['childCount']>0x1||!_0x39e69b||'p'!=_0x39e69b[_0xb0e6('0x18')]?this['placeholderElement']&&this['placeholderElement']['placeholder']&&(_0x1b738b(_0x5e97d7,this['placeholderElement']),this[_0xb0e6('0xc')]=void 0x0):(this['placeholder']&&(_0x39e69b[_0xb0e6('0x11')]=this['placeholder']),_0x5bde9a({'view':_0x5e97d7,'element':_0x39e69b,'keepOnFocus':!0x0}),this[_0xb0e6('0xc')]=_0x39e69b);}}Nt[_0xb0e6('0x5')]=Mt;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c11=['view','editing','locale','getRoot','document','element','init','bind','render','destroy','isFocused','editor','attachDomRoot','setEditableElement','editable','rootName','name'];(function(_0x323919,_0x4c119b){const _0xe44fd0=function(_0x296aca){while(--_0x296aca){_0x323919['push'](_0x323919['shift']());}};_0xe44fd0(++_0x4c119b);}(_0x4c11,0x137));const _0xe44f=function(_0x323919,_0x4c119b){_0x323919=_0x323919-0x0;let _0xe44fd0=_0x4c11[_0x323919];return _0xe44fd0;};import{EditorUI as _0x1a7ef7}from'ckeditor5/src/ui.js';import _0x2f6e7e from'./commenteditoruiview.js';export default class Ft extends _0x1a7ef7{constructor(_0xfcd75a){super(_0xfcd75a),this[_0xe44f('0xc')]=new _0x2f6e7e(_0xfcd75a[_0xe44f('0xe')],_0xfcd75a['editing']['view']);}get[_0xe44f('0x0')](){return this[_0xe44f('0xc')][_0xe44f('0x0')];}[_0xe44f('0x1')](){const _0x4a4041=this[_0xe44f('0x6')][_0xe44f('0xd')][_0xe44f('0xc')],_0x453336=this[_0xe44f('0xc')][_0xe44f('0x9')],_0x853a48=_0x4a4041[_0xe44f('0x10')][_0xe44f('0xf')]();_0x453336[_0xe44f('0xb')]=_0x853a48[_0xe44f('0xa')],this['view'][_0xe44f('0x3')]();const _0x244363=_0x453336['element'];this[_0xe44f('0x8')](_0x453336['name'],_0x244363),this[_0xe44f('0xc')][_0xe44f('0x9')][_0xe44f('0x2')](_0xe44f('0x5'))['to'](this['focusTracker']),_0x4a4041[_0xe44f('0x7')](_0x244363),this['fire']('ready');}[_0xe44f('0x4')](){super['destroy'](),this[_0xe44f('0xc')][_0xe44f('0x4')]();}}
23
+ const _0x5919=['destroy','attachDomRoot','document','editing','rootName','bind','editable','locale','focusTracker','element','name','view','editor','getRoot','fire','ready','isFocused'];(function(_0x2645ae,_0x5919ba){const _0x2782b6=function(_0x328c9b){while(--_0x328c9b){_0x2645ae['push'](_0x2645ae['shift']());}};_0x2782b6(++_0x5919ba);}(_0x5919,0x104));const _0x2782=function(_0x2645ae,_0x5919ba){_0x2645ae=_0x2645ae-0x0;let _0x2782b6=_0x5919[_0x2645ae];return _0x2782b6;};import{EditorUI as _0x131967}from'ckeditor5/src/ui.js';import _0x20286f from'./commenteditoruiview.js';export default class Ft extends _0x131967{constructor(_0x507fcc){super(_0x507fcc),this[_0x2782('0x6')]=new _0x20286f(_0x507fcc[_0x2782('0x2')],_0x507fcc[_0x2782('0xf')]['view']);}get['element'](){return this['view']['element'];}['init'](){const _0x3cdad6=this[_0x2782('0x7')]['editing'][_0x2782('0x6')],_0x53d438=this[_0x2782('0x6')][_0x2782('0x1')],_0x4b70ee=_0x3cdad6[_0x2782('0xe')][_0x2782('0x8')]();_0x53d438[_0x2782('0x5')]=_0x4b70ee[_0x2782('0x10')],this[_0x2782('0x6')]['render']();const _0x456a94=_0x53d438[_0x2782('0x4')];this['setEditableElement'](_0x53d438[_0x2782('0x5')],_0x456a94),this['view'][_0x2782('0x1')][_0x2782('0x0')](_0x2782('0xb'))['to'](this[_0x2782('0x3')]),_0x3cdad6[_0x2782('0xd')](_0x456a94),this[_0x2782('0x9')](_0x2782('0xa'));}[_0x2782('0xc')](){super[_0x2782('0xc')](),this[_0x2782('0x6')]['destroy']();}}
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { InlineEditableUIView, EditorUIView, type ViewCollection } from 'ckeditor5/src/ui.js';
9
9
  import { type Locale } from 'ckeditor5/src/utils.js';
10
- import type { View } from 'ckeditor5/src/engine.js';
10
+ import type { EditingView } from 'ckeditor5/src/engine.js';
11
11
  export default class CommentEditorUIView extends EditorUIView {
12
12
  /**
13
13
  * Collection of the child views located in the main (`.ck-editor__main`)
@@ -24,7 +24,7 @@ export default class CommentEditorUIView extends EditorUIView {
24
24
  * @param locale The locale instance.
25
25
  * @param editingView The editing view instance this view is related to.
26
26
  */
27
- constructor(locale: Locale, editingView: View);
27
+ constructor(locale: Locale, editingView: EditingView);
28
28
  /**
29
29
  * @inheritDoc
30
30
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f57=['main','setTemplate','ck-rounded-corners','ck-voice-label','render','uiLanguageDirection','add','_voiceLabelView','ck-comment__input','comment','ck-editor','element','editable','div','focus','_createVoiceLabel','ck-reset','ck-editor__main','presentation','Comment\x20editor','ck-editor__aria-label_','text','createCollection'];(function(_0x57ea30,_0x2f57f6){const _0x5981e8=function(_0x29a418){while(--_0x29a418){_0x57ea30['push'](_0x57ea30['shift']());}};_0x5981e8(++_0x2f57f6);}(_0x2f57,0x1d5));const _0x5981=function(_0x57ea30,_0x2f57f6){_0x57ea30=_0x57ea30-0x0;let _0x5981e8=_0x2f57[_0x57ea30];return _0x5981e8;};import{InlineEditableUIView as _0x583401,EditorUIView as _0x33f1b3,LabelView as _0x1f61cc}from'ckeditor5/src/ui.js';import{uid as _0x2e09f8}from'ckeditor5/src/utils.js';import{getTranslation as _0x4f900a}from'../../../utils/common-translations.js';export default class Rt extends _0x33f1b3{constructor(_0x52ff25,_0x1ce7ec){super(_0x52ff25);const _0x5f2af=_0x2e09f8();this[_0x5981('0xe')]=this[_0x5981('0xd')](),this['editable']=new _0x583401(_0x52ff25,_0x1ce7ec),this[_0x5981('0x15')]=this[_0x5981('0x6')](_0x5f2af,_0x52ff25),this[_0x5981('0xf')]({'tag':'div','attributes':{'class':[_0x5981('0x7'),_0x5981('0x1'),_0x5981('0x10'),_0x5981('0x16')],'role':_0x5981('0x0'),'dir':_0x52ff25[_0x5981('0x13')],'lang':_0x52ff25['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x5f2af},'children':[this[_0x5981('0x15')],{'tag':_0x5981('0x4'),'attributes':{'class':_0x5981('0x8'),'role':_0x5981('0x9')},'children':this['main']}]});}[_0x5981('0x12')](){super[_0x5981('0x12')](),this['main'][_0x5981('0x14')](this[_0x5981('0x3')]);}[_0x5981('0x5')](){this[_0x5981('0x3')][_0x5981('0x2')]['focus']();}[_0x5981('0x6')](_0x1a712c,_0x464b2e){const _0x132643=new _0x1f61cc();return _0x132643[_0x5981('0xc')]=_0x4f900a(_0x464b2e,_0x5981('0xa')),_0x132643['extendTemplate']({'attributes':{'id':_0x5981('0xb')+_0x1a712c,'class':_0x5981('0x11')}}),_0x132643;}}
23
+ const _0x25e3=['_voiceLabelView','ck-comment__input','Comment\x20editor','_createVoiceLabel','presentation','element','createCollection','comment','add','extendTemplate','ck-editor__aria-label_','div','render','ck-editor__main','focus','main','cke-editor__aria-label_','editable','setTemplate','uiLanguage','ck-voice-label'];(function(_0x2451f3,_0x25e31e){const _0x5b746a=function(_0x17898a){while(--_0x17898a){_0x2451f3['push'](_0x2451f3['shift']());}};_0x5b746a(++_0x25e31e);}(_0x25e3,0xfc));const _0x5b74=function(_0x2451f3,_0x25e31e){_0x2451f3=_0x2451f3-0x0;let _0x5b746a=_0x25e3[_0x2451f3];return _0x5b746a;};import{InlineEditableUIView as _0x42dc13,EditorUIView as _0x5edc6e,LabelView as _0xcad3f3}from'ckeditor5/src/ui.js';import{uid as _0x5006d9}from'ckeditor5/src/utils.js';import{getTranslation as _0x2af9ea}from'../../../utils/common-translations.js';export default class Rt extends _0x5edc6e{constructor(_0x455b29,_0x414b8f){super(_0x455b29);const _0x1a4ce=_0x5006d9();this[_0x5b74('0xf')]=this[_0x5b74('0x6')](),this[_0x5b74('0x11')]=new _0x42dc13(_0x455b29,_0x414b8f),this[_0x5b74('0x0')]=this[_0x5b74('0x3')](_0x1a4ce,_0x455b29),this[_0x5b74('0x12')]({'tag':_0x5b74('0xb'),'attributes':{'class':['ck-reset','ck-editor','ck-rounded-corners',_0x5b74('0x1')],'role':_0x5b74('0x7'),'dir':_0x455b29['uiLanguageDirection'],'lang':_0x455b29[_0x5b74('0x13')],'aria-labelledby':_0x5b74('0x10')+_0x1a4ce},'children':[this[_0x5b74('0x0')],{'tag':'div','attributes':{'class':_0x5b74('0xd'),'role':_0x5b74('0x4')},'children':this[_0x5b74('0xf')]}]});}['render'](){super[_0x5b74('0xc')](),this['main'][_0x5b74('0x8')](this[_0x5b74('0x11')]);}['focus'](){this[_0x5b74('0x11')][_0x5b74('0x5')][_0x5b74('0xe')]();}[_0x5b74('0x3')](_0x82f810,_0x17cfd9){const _0x70bbe5=new _0xcad3f3();return _0x70bbe5['text']=_0x2af9ea(_0x17cfd9,_0x5b74('0x2')),_0x70bbe5[_0x5b74('0x9')]({'attributes':{'id':_0x5b74('0xa')+_0x82f810,'class':_0x5b74('0x14')}}),_0x70bbe5;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x938d=['stopListening','resolve','addComment','view','listenTo','resolveCommentThread','model','updateComment','submitCommentThread','update','getComment','_isAttached','reopen','submit','removeComment','_localUser','remove','isResolved'];(function(_0x3cadf0,_0x938d29){var _0x4bf3f6=function(_0x2b3e7c){while(--_0x2b3e7c){_0x3cadf0['push'](_0x3cadf0['shift']());}};_0x4bf3f6(++_0x938d29);}(_0x938d,0x163));var _0x4bf3=function(_0x3cadf0,_0x938d29){_0x3cadf0=_0x3cadf0-0x0;var _0x4bf3f6=_0x938d[_0x3cadf0];return _0x4bf3f6;};import{ObservableMixin as _0x3fa817}from'ckeditor5/src/utils.js';export default class ut extends _0x3fa817(){constructor(_0x269d0d,_0x164510){super(),this[_0x4bf3('0xb')]=_0x269d0d,this[_0x4bf3('0xb')][_0x4bf3('0x10')]=!0x0,this[_0x4bf3('0x8')]=_0x164510,this['listenTo'](_0x164510,_0x4bf3('0xd'),()=>this['submit']()),this[_0x4bf3('0x9')](_0x164510,'removeCommentThread',()=>this[_0x4bf3('0x3')]()),this[_0x4bf3('0x9')](_0x164510,_0x4bf3('0xa'),()=>this[_0x4bf3('0x6')]()),this[_0x4bf3('0x9')](_0x164510,'reopenCommentThread',()=>this[_0x4bf3('0x11')]()),this['listenTo'](_0x164510,_0x4bf3('0x7'),(_0x34b052,_0x5723fa)=>this[_0x4bf3('0x7')](_0x5723fa)),this['listenTo'](_0x164510,_0x4bf3('0xc'),(_0x34460c,_0x27ace3,_0x11ad2c)=>this['updateComment'](_0x27ace3,_0x11ad2c)),this[_0x4bf3('0x9')](_0x164510,_0x4bf3('0x1'),(_0xd45211,_0xc863e)=>this['removeComment'](_0xc863e));}[_0x4bf3('0x0')](){this[_0x4bf3('0xb')][_0x4bf3('0x0')]();}[_0x4bf3('0x3')](){this[_0x4bf3('0xb')][_0x4bf3('0x3')]();}[_0x4bf3('0x6')](){this[_0x4bf3('0xb')][_0x4bf3('0x4')]||this['model'][_0x4bf3('0x6')]();}[_0x4bf3('0x11')](){this[_0x4bf3('0xb')]['isResolved']&&this[_0x4bf3('0xb')]['reopen']();}['addComment'](_0x45bca2){this[_0x4bf3('0xb')][_0x4bf3('0x7')]({'content':_0x45bca2,'authorId':this[_0x4bf3('0x8')][_0x4bf3('0x2')]['id']});}[_0x4bf3('0xc')](_0x3cf2ee,_0xebb37f){this[_0x4bf3('0xb')][_0x4bf3('0xf')](_0x3cf2ee)[_0x4bf3('0xe')]({'content':_0xebb37f});}[_0x4bf3('0x1')](_0x37ed61){this[_0x4bf3('0xb')][_0x4bf3('0xf')](_0x37ed61)['remove']();}['destroy'](){this[_0x4bf3('0x5')](),this[_0x4bf3('0xb')][_0x4bf3('0x10')]=!0x1;}}
23
+ var _0x5b9d=['removeCommentThread','isResolved','model','reopen','remove','_localUser','view','addComment','resolveCommentThread','removeComment','submit','updateComment','stopListening','listenTo','getComment','destroy','reopenCommentThread','resolve','_isAttached'];(function(_0x459e54,_0x5b9ddc){var _0x5f55d3=function(_0x17c1bd){while(--_0x17c1bd){_0x459e54['push'](_0x459e54['shift']());}};_0x5f55d3(++_0x5b9ddc);}(_0x5b9d,0x188));var _0x5f55=function(_0x459e54,_0x5b9ddc){_0x459e54=_0x459e54-0x0;var _0x5f55d3=_0x5b9d[_0x459e54];return _0x5f55d3;};import{ObservableMixin as _0x3482a2}from'ckeditor5/src/utils.js';export default class ut extends _0x3482a2(){constructor(_0xf1a484,_0xcb9595){super(),this[_0x5f55('0x9')]=_0xf1a484,this[_0x5f55('0x9')][_0x5f55('0x6')]=!0x0,this['view']=_0xcb9595,this[_0x5f55('0x1')](_0xcb9595,'submitCommentThread',()=>this['submit']()),this[_0x5f55('0x1')](_0xcb9595,_0x5f55('0x7'),()=>this['remove']()),this['listenTo'](_0xcb9595,_0x5f55('0xf'),()=>this[_0x5f55('0x5')]()),this[_0x5f55('0x1')](_0xcb9595,_0x5f55('0x4'),()=>this[_0x5f55('0xa')]()),this[_0x5f55('0x1')](_0xcb9595,'addComment',(_0x3deb6a,_0x7bda62)=>this[_0x5f55('0xe')](_0x7bda62)),this[_0x5f55('0x1')](_0xcb9595,'updateComment',(_0x182ff7,_0x1a9581,_0x3c4736)=>this[_0x5f55('0x12')](_0x1a9581,_0x3c4736)),this['listenTo'](_0xcb9595,_0x5f55('0x10'),(_0x3048e6,_0x39fa5c)=>this[_0x5f55('0x10')](_0x39fa5c));}[_0x5f55('0x11')](){this[_0x5f55('0x9')]['submit']();}['remove'](){this['model'][_0x5f55('0xb')]();}[_0x5f55('0x5')](){this[_0x5f55('0x9')][_0x5f55('0x8')]||this['model'][_0x5f55('0x5')]();}[_0x5f55('0xa')](){this[_0x5f55('0x9')]['isResolved']&&this[_0x5f55('0x9')]['reopen']();}[_0x5f55('0xe')](_0x4af15b){this[_0x5f55('0x9')][_0x5f55('0xe')]({'content':_0x4af15b,'authorId':this[_0x5f55('0xd')][_0x5f55('0xc')]['id']});}['updateComment'](_0x4a8ae1,_0x662b23){this[_0x5f55('0x9')][_0x5f55('0x2')](_0x4a8ae1)['update']({'content':_0x662b23});}[_0x5f55('0x10')](_0x47edc2){this[_0x5f55('0x9')]['getComment'](_0x47edc2)[_0x5f55('0xb')]();}[_0x5f55('0x3')](){this[_0x5f55('0x0')](),this['model'][_0x5f55('0x6')]=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a1a=['focus','CommentView','Reply\x20to\x20reopen\x20discussion...','commentThreadInputView','element','_model','cancel','submitLabel','addComment','resolveCommentThread','archivedAt','change:isActive','isResolved','isActive','commentInputView','delegate','submitCommentThread','locale','bind','showInput','removeComment','editorDestroyed','_localUser','submit','isResolvable','canComment','isReadOnly','unlinkedAt','updateComment','commentThreadHeaderView','Comment','editorReady','reopenCommentThread','value','isUnlinked','hasDirtyComment','Write\x20a\x20comment...','listenTo','isDirty','Reply...','isSubmitted','commentsListView','_config','fire','length','placeholder','set','destroy'];(function(_0x2633fb,_0x1a1a25){const _0x418271=function(_0x47b023){while(--_0x47b023){_0x2633fb['push'](_0x2633fb['shift']());}};_0x418271(++_0x1a1a25);}(_0x1a1a,0x104));const _0x4182=function(_0x2633fb,_0x1a1a25){_0x2633fb=_0x2633fb-0x0;let _0x418271=_0x1a1a[_0x2633fb];return _0x418271;};import{View as _0x34cf85}from'ckeditor5/src/ui.js';import _0x5e4c3e from'./commentthreadinputview.js';import _0x42a9b6 from'./commentslistview.js';import _0x512a9f from'./commentthreadheaderview.js';import{getTranslation as _0xa87e4a}from'../../../utils/common-translations.js';export default class Ut extends _0x34cf85{constructor(_0x490563,_0x209855,_0x4fe8d5,_0x1c9e5a){super(_0x490563),this[_0x4182('0x1a')](_0x4182('0x29'),!0x1),this[_0x4182('0x1a')](_0x4182('0x12'),!0x1),this[_0x4182('0x21')]=_0x209855,this[_0x4182('0x2')]=_0x4fe8d5,this[_0x4182('0x16')]=_0x1c9e5a,this[_0x4182('0x9')]=new _0x512a9f(_0x490563,_0x209855),this[_0x4182('0x9')][_0x4182('0x2b')](_0x4182('0xc'))['to'](this),this[_0x4182('0x11')](this,_0x4182('0xc'),()=>{this[_0x4182('0x1c')]();}),this['commentsListView']=new _0x42a9b6(_0x490563,_0x209855,Object['assign']({'CommentView':this[_0x4182('0x16')][_0x4182('0x1d')]},_0x1c9e5a)),this[_0x4182('0x15')][_0x4182('0x2b')](_0x4182('0x0'))['to'](this),this[_0x4182('0x15')][_0x4182('0x2b')](_0x4182('0x8'))['to'](this),this['commentsListView'][_0x4182('0x2b')](_0x4182('0x25'))['to'](this),this[_0x4182('0x15')][_0x4182('0x2b')](_0x4182('0xb'))['to'](this),this[_0x4182('0x15')]['delegate'](_0x4182('0x1'))['to'](this),this['commentsListView'][_0x4182('0x2e')](_0x4182('0x29'))['to'](this),this[_0x4182('0x11')](this,'resolveCommentThread',()=>{this[_0x4182('0x1c')]();}),this[_0x4182('0x1a')](_0x4182('0x18'),this[_0x4182('0x15')][_0x4182('0x18')]),this[_0x4182('0x2e')]('length')['to'](this['commentsListView'],_0x4182('0x18')),this['commentThreadInputView']=this['_createCommentThreadInputView'](),this[_0x4182('0x1f')][_0x4182('0x2b')](_0x4182('0xb'))['to'](this),this['commentThreadInputView'][_0x4182('0x2b')](_0x4182('0x1'))['to'](this),this['on'](_0x4182('0x0'),()=>this[_0x4182('0x1c')]()),this[_0x4182('0x2e')](_0x4182('0x12'))['to'](this['commentsListView'],_0x4182('0xf'),this['commentThreadInputView'][_0x4182('0x2a')],_0x4182('0xd'),(_0x39aa39,_0x242063)=>_0x39aa39||!!_0x242063),this[_0x4182('0x2e')](_0x4182('0xe'))['to'](_0x209855,_0x4182('0x7'),_0x289c6e=>!!_0x289c6e);}[_0x4182('0x1c')](){this[_0x4182('0x20')]['focus']();}async[_0x4182('0x1b')](){this['isDirty']=!0x1,this[_0x4182('0x15')][_0x4182('0x1b')](),await this[_0x4182('0x1f')]['destroy'](),super[_0x4182('0x1b')]();}['_createCommentThreadInputView'](){const _0x4924ba=new _0x5e4c3e(this['locale'],this[_0x4182('0x2')],this['_config']['editorConfig']),_0x1755f7=_0x4924ba['commentInputView'];return _0x4924ba[_0x4182('0x2e')](_0x4182('0x2f'))['to'](this,'isActive',this[_0x4182('0x21')],'isReadOnly',this[_0x4182('0x21')],_0x4182('0x5'),this[_0x4182('0x21')],_0x4182('0x26'),_0x1755f7,_0x4182('0xd'),(_0x1bea4b,_0x389378,_0x25db57,_0x486768,_0x247bf8)=>!!_0x247bf8||!!_0x486768&&_0x25db57&&!_0x389378||_0x1bea4b&&_0x25db57&&!_0x389378),_0x1755f7[_0x4182('0x2e')](_0x4182('0x19'))['to'](this,_0x4182('0x18'),this[_0x4182('0x21')],_0x4182('0x4'),this[_0x4182('0x21')],_0x4182('0x28'),(_0x1bd4d6,_0x47892a,_0x54e53c)=>{let _0x26838a;return _0x26838a=_0x54e53c&&_0x47892a?_0x4182('0x1e'):_0x1bd4d6?_0x4182('0x13'):_0x4182('0x10'),_0xa87e4a(this['locale'],_0x26838a);}),_0x1755f7[_0x4182('0x2e')](_0x4182('0x23'))['to'](this,_0x4182('0x18'),_0x2d3bb5=>_0xa87e4a(this[_0x4182('0x2d')],_0x2d3bb5?'Reply':_0x4182('0xa'))),_0x1755f7['on'](_0x4182('0x3'),(_0x1254f0,_0x2e7f9b)=>{this[_0x4182('0x17')](_0x4182('0x24'),_0x2e7f9b),this[_0x4182('0x21')][_0x4182('0x28')]&&this['_model']['isResolvable']&&this[_0x4182('0x17')](_0x4182('0xc'),this[_0x4182('0x21')]['id']),this[_0x4182('0x21')][_0x4182('0x14')]||this[_0x4182('0x17')](_0x4182('0x2c'));}),_0x1755f7['on'](_0x4182('0x22'),()=>{this['focus']();}),_0x1755f7['bind']('disabledSubmit')['to'](this[_0x4182('0x21')],_0x4182('0x6')),_0x1755f7['on']('cancel',_0x463341=>{0x0==this[_0x4182('0x18')]&&(this[_0x4182('0x17')]('removeCommentThread'),_0x463341['stop']());}),this['on'](_0x4182('0x27'),(_0x165788,_0x2f7479,_0x1c990e)=>{_0x1c990e||this[_0x4182('0x18')]||_0x1755f7['value']||this[_0x4182('0x17')]('removeCommentThread');}),_0x4924ba;}}
23
+ const _0x5c85=['Reply\x20to\x20reopen\x20discussion...','showInput','disabledSubmit','commentInputView','hasDirtyComment','removeCommentThread','set','resolveCommentThread','bind','submitLabel','Write\x20a\x20comment...','isSubmitted','isUnlinked','_localUser','isReadOnly','placeholder','editorDestroyed','addComment','_createCommentThreadInputView','unlinkedAt','archivedAt','commentsListView','commentThreadHeaderView','isResolvable','_model','isActive','isResolved','fire','commentThreadInputView','updateComment','assign','stop','length','reopenCommentThread','element','removeComment','destroy','canComment','locale','delegate','cancel','submitCommentThread','listenTo','_config','isDirty','change:isActive','editorConfig','Comment','value','Reply','focus','Reply...'];(function(_0x290699,_0x5c8547){const _0x45de9b=function(_0x56c9c2){while(--_0x56c9c2){_0x290699['push'](_0x290699['shift']());}};_0x45de9b(++_0x5c8547);}(_0x5c85,0x110));const _0x45de=function(_0x290699,_0x5c8547){_0x290699=_0x290699-0x0;let _0x45de9b=_0x5c85[_0x290699];return _0x45de9b;};import{View as _0x28ada5}from'ckeditor5/src/ui.js';import _0x1bd89c from'./commentthreadinputview.js';import _0x574b58 from'./commentslistview.js';import _0x2936bf from'./commentthreadheaderview.js';import{getTranslation as _0x311b0d}from'../../../utils/common-translations.js';export default class Ut extends _0x28ada5{constructor(_0x214aa8,_0x4f356d,_0x21a22d,_0x48dd6a){super(_0x214aa8),this['set']('isActive',!0x1),this[_0x45de('0x2e')](_0x45de('0x20'),!0x1),this[_0x45de('0xc')]=_0x4f356d,this[_0x45de('0x1')]=_0x21a22d,this[_0x45de('0x1f')]=_0x48dd6a,this['commentThreadHeaderView']=new _0x2936bf(_0x214aa8,_0x4f356d),this[_0x45de('0xa')][_0x45de('0x1b')](_0x45de('0x15'))['to'](this),this[_0x45de('0x1e')](this,_0x45de('0x15'),()=>{this[_0x45de('0x26')]();}),this[_0x45de('0x9')]=new _0x574b58(_0x214aa8,_0x4f356d,Object[_0x45de('0x12')]({'CommentView':this[_0x45de('0x1f')]['CommentView']},_0x48dd6a)),this[_0x45de('0x9')][_0x45de('0x1b')](_0x45de('0x17'))['to'](this),this['commentsListView'][_0x45de('0x1b')](_0x45de('0x11'))['to'](this),this[_0x45de('0x9')]['delegate'](_0x45de('0x2f'))['to'](this),this[_0x45de('0x9')][_0x45de('0x1b')]('editorReady')['to'](this),this[_0x45de('0x9')][_0x45de('0x1b')](_0x45de('0x4'))['to'](this),this['commentsListView']['bind'](_0x45de('0xd'))['to'](this),this[_0x45de('0x1e')](this,'resolveCommentThread',()=>{this[_0x45de('0x26')]();}),this[_0x45de('0x2e')](_0x45de('0x14'),this['commentsListView'][_0x45de('0x14')]),this['bind'](_0x45de('0x14'))['to'](this[_0x45de('0x9')],_0x45de('0x14')),this[_0x45de('0x10')]=this[_0x45de('0x6')](),this[_0x45de('0x10')][_0x45de('0x1b')]('editorReady')['to'](this),this[_0x45de('0x10')]['delegate'](_0x45de('0x4'))['to'](this),this['on'](_0x45de('0x17'),()=>this['focus']()),this[_0x45de('0x30')](_0x45de('0x20'))['to'](this['commentsListView'],_0x45de('0x2c'),this[_0x45de('0x10')][_0x45de('0x2b')],_0x45de('0x24'),(_0xa39a4e,_0x5f2fa8)=>_0xa39a4e||!!_0x5f2fa8),this[_0x45de('0x30')](_0x45de('0x0'))['to'](_0x4f356d,_0x45de('0x7'),_0x28ca5e=>!!_0x28ca5e);}[_0x45de('0x26')](){this[_0x45de('0x16')][_0x45de('0x26')]();}async[_0x45de('0x18')](){this[_0x45de('0x20')]=!0x1,this[_0x45de('0x9')][_0x45de('0x18')](),await this[_0x45de('0x10')]['destroy'](),super[_0x45de('0x18')]();}[_0x45de('0x6')](){const _0xf26094=new _0x1bd89c(this[_0x45de('0x1a')],this[_0x45de('0x1')],this[_0x45de('0x1f')][_0x45de('0x22')]),_0x58cbd4=_0xf26094[_0x45de('0x2b')];return _0xf26094['bind'](_0x45de('0x29'))['to'](this,'isActive',this[_0x45de('0xc')],_0x45de('0x2'),this[_0x45de('0xc')],_0x45de('0x19'),this['_model'],_0x45de('0x8'),_0x58cbd4,_0x45de('0x24'),(_0xd6c9d6,_0x31c4c3,_0xa9285f,_0x1266c4,_0x96216e)=>!!_0x96216e||!!_0x1266c4&&_0xa9285f&&!_0x31c4c3||_0xd6c9d6&&_0xa9285f&&!_0x31c4c3),_0x58cbd4[_0x45de('0x30')](_0x45de('0x3'))['to'](this,_0x45de('0x14'),this[_0x45de('0xc')],_0x45de('0xb'),this[_0x45de('0xc')],_0x45de('0xe'),(_0x4c7068,_0x3fcccb,_0x39ea92)=>{let _0x558acc;return _0x558acc=_0x39ea92&&_0x3fcccb?_0x45de('0x28'):_0x4c7068?_0x45de('0x27'):_0x45de('0x32'),_0x311b0d(this[_0x45de('0x1a')],_0x558acc);}),_0x58cbd4['bind'](_0x45de('0x31'))['to'](this,_0x45de('0x14'),_0x4232bb=>_0x311b0d(this[_0x45de('0x1a')],_0x4232bb?_0x45de('0x25'):_0x45de('0x23'))),_0x58cbd4['on']('submit',(_0x372569,_0x361d6f)=>{this[_0x45de('0xf')](_0x45de('0x5'),_0x361d6f),this['_model'][_0x45de('0xe')]&&this[_0x45de('0xc')]['isResolvable']&&this['fire'](_0x45de('0x15'),this[_0x45de('0xc')]['id']),this[_0x45de('0xc')][_0x45de('0x33')]||this[_0x45de('0xf')](_0x45de('0x1d'));}),_0x58cbd4['on'](_0x45de('0x1c'),()=>{this[_0x45de('0x26')]();}),_0x58cbd4[_0x45de('0x30')](_0x45de('0x2a'))['to'](this[_0x45de('0xc')],_0x45de('0x2')),_0x58cbd4['on'](_0x45de('0x1c'),_0x3dd6bf=>{0x0==this[_0x45de('0x14')]&&(this[_0x45de('0xf')](_0x45de('0x2d')),_0x3dd6bf[_0x45de('0x13')]());}),this['on'](_0x45de('0x21'),(_0x2eebe8,_0x551fbb,_0x146cc2)=>{_0x146cc2||this[_0x45de('0x14')]||_0x58cbd4[_0x45de('0x24')]||this[_0x45de('0xf')](_0x45de('0x2d'));}),_0xf26094;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5504=['destroy','_createCommentInputView','editorConfig','set','content','createCollection','initialData','once','element','switchToDisplayMode','_config','value','expand','focus','switchToEditMode','delegate','visibleView','maxCommentCharsWhenCollapsed','isCollapsed','isSystemComment','get','_createCommentContentView','editorDestroyed','editorReady','fire','updateComment','submit','_model','bind','locale','submitLabel','isEditMode','add','remove','createEditor','disabledSubmit','Save'];(function(_0x628b48,_0x5504e2){const _0x12c765=function(_0x662d4a){while(--_0x662d4a){_0x628b48['push'](_0x628b48['shift']());}};_0x12c765(++_0x5504e2);}(_0x5504,0x7d));const _0x12c7=function(_0x628b48,_0x5504e2){_0x628b48=_0x628b48-0x0;let _0x12c765=_0x5504[_0x628b48];return _0x12c765;};import{View as _0x638adf}from'ckeditor5/src/ui.js';import{trimHtml as _0x5019d8}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x46317a from'./commentcontentview.js';import _0x22b04c from'./commentinputview.js';import{getTranslation as _0x295320}from'../../../utils/common-translations.js';export default class ti extends _0x638adf{constructor(_0x2999b1,_0x5372ee,_0x2764cb){super(_0x2999b1),this[_0x12c7('0xd')]=_0x5372ee,this[_0x12c7('0x21')]=_0x2764cb,this[_0x12c7('0x5')]=!!this[_0x12c7('0x21')][_0x12c7('0x5')],this[_0x12c7('0x1a')](_0x12c7('0x11'),!0x1),this[_0x12c7('0x1a')](_0x12c7('0x4'),!0x0),this[_0x12c7('0x2')]=this[_0x12c7('0x1c')](),this[_0x12c7('0x2')][_0x12c7('0x12')](this[_0x12c7('0x7')]());}[_0x12c7('0x23')](){this[_0x12c7('0x4')]=!0x1;}['collapse'](){this[_0x12c7('0x11')]||(this[_0x12c7('0x4')]=!0x0);}[_0x12c7('0x24')](){this[_0x12c7('0x1f')][_0x12c7('0x24')]();}async[_0x12c7('0x17')](){await this['visibleView'][_0x12c7('0x6')](0x0)['destroy'](),super[_0x12c7('0x17')]();}[_0x12c7('0x0')](){this[_0x12c7('0x11')]||(this[_0x12c7('0x11')]=!0x0,this[_0x12c7('0x2')]['remove'](0x0)[_0x12c7('0x17')](),this[_0x12c7('0x2')][_0x12c7('0x12')](this[_0x12c7('0x18')]()));}[_0x12c7('0x20')](){this[_0x12c7('0x11')]&&(this[_0x12c7('0x11')]=!0x1,this[_0x12c7('0x2')][_0x12c7('0x13')](0x0)['destroy'](),this[_0x12c7('0x2')][_0x12c7('0x12')](this[_0x12c7('0x7')]()));}[_0x12c7('0x7')](){const _0x36af52=new _0x46317a(this[_0x12c7('0xf')]);return _0x36af52[_0x12c7('0xe')]('content')['to'](this[_0x12c7('0xd')],_0x12c7('0x1b'),this,'isCollapsed',(_0x195b58,_0x1af000)=>_0x1af000?_0x5019d8(_0x195b58,{'limit':this[_0x12c7('0x21')][_0x12c7('0x3')]}):_0x195b58),_0x36af52;}[_0x12c7('0x18')](){this[_0x12c7('0x21')][_0x12c7('0x19')]||(this[_0x12c7('0x21')][_0x12c7('0x19')]={}),this[_0x12c7('0x21')][_0x12c7('0x19')][_0x12c7('0x1d')]=this['_model'][_0x12c7('0x1b')];const _0x541535=new _0x22b04c(this[_0x12c7('0xf')],this[_0x12c7('0x21')][_0x12c7('0x19')]);return _0x541535[_0x12c7('0x22')]=this['_model'][_0x12c7('0x1b')],_0x541535['bind'](_0x12c7('0x15'))['to'](this['_model'],'isReadOnly'),_0x541535[_0x12c7('0x10')]=_0x295320(this[_0x12c7('0xf')],_0x12c7('0x16')),_0x541535['on'](_0x12c7('0xc'),(_0x247822,_0x5121d6)=>{this[_0x12c7('0xa')](_0x12c7('0xb'),this[_0x12c7('0xd')]['id'],_0x5121d6),this[_0x12c7('0x20')](),this[_0x12c7('0x24')]();}),_0x541535['on']('cancel',()=>{this[_0x12c7('0x20')](),this[_0x12c7('0x24')]();}),_0x541535[_0x12c7('0x1e')]('editorReady',()=>{_0x541535[_0x12c7('0x24')]();}),_0x541535[_0x12c7('0x14')](),_0x541535[_0x12c7('0x1')](_0x12c7('0x9'))['to'](this),_0x541535[_0x12c7('0x1')](_0x12c7('0x8'))['to'](this),_0x541535;}}
23
+ const _0x15e1=['remove','_config','visibleView','destroy','get','updateComment','disabledSubmit','submitLabel','editorDestroyed','isCollapsed','set','content','createEditor','locale','cancel','isReadOnly','_model','bind','element','editorReady','Save','add','createCollection','once','maxCommentCharsWhenCollapsed','switchToEditMode','focus','delegate','isSystemComment','_createCommentContentView','collapse','fire','switchToDisplayMode','editorConfig','isEditMode'];(function(_0x3accc7,_0x15e1eb){const _0x3fd041=function(_0x2c874b){while(--_0x2c874b){_0x3accc7['push'](_0x3accc7['shift']());}};_0x3fd041(++_0x15e1eb);}(_0x15e1,0x15b));const _0x3fd0=function(_0x3accc7,_0x15e1eb){_0x3accc7=_0x3accc7-0x0;let _0x3fd041=_0x15e1[_0x3accc7];return _0x3fd041;};import{View as _0x5a6601}from'ckeditor5/src/ui.js';import{trimHtml as _0xfc6fde}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x44f46d from'./commentcontentview.js';import _0x55c7cb from'./commentinputview.js';import{getTranslation as _0x9b8981}from'../../../utils/common-translations.js';export default class ti extends _0x5a6601{constructor(_0x120bc5,_0x630014,_0x170f40){super(_0x120bc5),this[_0x3fd0('0x13')]=_0x630014,this['_config']=_0x170f40,this[_0x3fd0('0x1f')]=!!this[_0x3fd0('0x4')][_0x3fd0('0x1f')],this[_0x3fd0('0xd')](_0x3fd0('0x2'),!0x1),this[_0x3fd0('0xd')]('isCollapsed',!0x0),this[_0x3fd0('0x5')]=this[_0x3fd0('0x19')](),this[_0x3fd0('0x5')][_0x3fd0('0x18')](this[_0x3fd0('0x20')]());}['expand'](){this['isCollapsed']=!0x1;}[_0x3fd0('0x21')](){this['isEditMode']||(this[_0x3fd0('0xc')]=!0x0);}[_0x3fd0('0x1d')](){this[_0x3fd0('0x15')][_0x3fd0('0x1d')]();}async[_0x3fd0('0x6')](){await this[_0x3fd0('0x5')][_0x3fd0('0x7')](0x0)['destroy'](),super[_0x3fd0('0x6')]();}[_0x3fd0('0x1c')](){this[_0x3fd0('0x2')]||(this[_0x3fd0('0x2')]=!0x0,this[_0x3fd0('0x5')]['remove'](0x0)['destroy'](),this[_0x3fd0('0x5')][_0x3fd0('0x18')](this['_createCommentInputView']()));}['switchToDisplayMode'](){this[_0x3fd0('0x2')]&&(this[_0x3fd0('0x2')]=!0x1,this['visibleView'][_0x3fd0('0x3')](0x0)[_0x3fd0('0x6')](),this[_0x3fd0('0x5')]['add'](this[_0x3fd0('0x20')]()));}[_0x3fd0('0x20')](){const _0x588938=new _0x44f46d(this[_0x3fd0('0x10')]);return _0x588938[_0x3fd0('0x14')](_0x3fd0('0xe'))['to'](this[_0x3fd0('0x13')],_0x3fd0('0xe'),this,'isCollapsed',(_0x1b911f,_0x5539ba)=>_0x5539ba?_0xfc6fde(_0x1b911f,{'limit':this['_config'][_0x3fd0('0x1b')]}):_0x1b911f),_0x588938;}['_createCommentInputView'](){this[_0x3fd0('0x4')][_0x3fd0('0x1')]||(this[_0x3fd0('0x4')][_0x3fd0('0x1')]={}),this['_config'][_0x3fd0('0x1')]['initialData']=this[_0x3fd0('0x13')][_0x3fd0('0xe')];const _0x3dfa1a=new _0x55c7cb(this[_0x3fd0('0x10')],this[_0x3fd0('0x4')][_0x3fd0('0x1')]);return _0x3dfa1a['value']=this[_0x3fd0('0x13')][_0x3fd0('0xe')],_0x3dfa1a['bind'](_0x3fd0('0x9'))['to'](this[_0x3fd0('0x13')],_0x3fd0('0x12')),_0x3dfa1a[_0x3fd0('0xa')]=_0x9b8981(this[_0x3fd0('0x10')],_0x3fd0('0x17')),_0x3dfa1a['on']('submit',(_0x49e116,_0x4b1cbf)=>{this[_0x3fd0('0x22')](_0x3fd0('0x8'),this[_0x3fd0('0x13')]['id'],_0x4b1cbf),this[_0x3fd0('0x0')](),this[_0x3fd0('0x1d')]();}),_0x3dfa1a['on'](_0x3fd0('0x11'),()=>{this['switchToDisplayMode'](),this[_0x3fd0('0x1d')]();}),_0x3dfa1a[_0x3fd0('0x1a')](_0x3fd0('0x16'),()=>{_0x3dfa1a[_0x3fd0('0x1d')]();}),_0x3dfa1a[_0x3fd0('0xf')](),_0x3dfa1a[_0x3fd0('0x1e')](_0x3fd0('0x16'))['to'](this),_0x3dfa1a['delegate'](_0x3fd0('0xb'))['to'](this),_0x3dfa1a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x57fd=['NUMBER_OF_COMMENTS','ck-thread__comment-count','bindTemplate','count','set'];(function(_0x526a39,_0x57fd7d){const _0x1a2b94=function(_0x287ad4){while(--_0x287ad4){_0x526a39['push'](_0x526a39['shift']());}};_0x1a2b94(++_0x57fd7d);}(_0x57fd,0x1be));const _0x1a2b=function(_0x526a39,_0x57fd7d){_0x526a39=_0x526a39-0x0;let _0x1a2b94=_0x57fd[_0x526a39];return _0x1a2b94;};import{View as _0x2b8694}from'ckeditor5/src/ui.js';import{getTranslation as _0x2e84d8}from'../../../utils/common-translations.js';export default class ts extends _0x2b8694{constructor(_0x2b7f27){super(_0x2b7f27);const _0x1e99ca=this[_0x1a2b('0x1')];this[_0x1a2b('0x3')](_0x1a2b('0x2'),void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':_0x1a2b('0x0')},'children':[{'text':_0x1e99ca['to'](_0x1a2b('0x2'),_0x45547f=>_0x2e84d8(_0x2b7f27,_0x1a2b('0x4'),_0x45547f))}]});}}
23
+ const _0x115c=['ck-thread__comment-count','NUMBER_OF_COMMENTS','setTemplate','set','bindTemplate','count'];(function(_0x5d4efc,_0x115c51){const _0x367c42=function(_0x982e29){while(--_0x982e29){_0x5d4efc['push'](_0x5d4efc['shift']());}};_0x367c42(++_0x115c51);}(_0x115c,0x1ec));const _0x367c=function(_0x5d4efc,_0x115c51){_0x5d4efc=_0x5d4efc-0x0;let _0x367c42=_0x115c[_0x5d4efc];return _0x367c42;};import{View as _0x3973d6}from'ckeditor5/src/ui.js';import{getTranslation as _0x43d11b}from'../../../utils/common-translations.js';export default class ts extends _0x3973d6{constructor(_0x2a9a02){super(_0x2a9a02);const _0x7e8285=this[_0x367c('0x4')];this[_0x367c('0x3')](_0x367c('0x5'),void 0x0),this[_0x367c('0x2')]({'tag':'li','attributes':{'class':_0x367c('0x0')},'children':[{'text':_0x7e8285['to']('count',_0x243731=>_0x43d11b(_0x2a9a02,_0x367c('0x1'),_0x243731))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x41c6=['innerHTML','ck-annotation__content','set','render','setTemplate','element','content'];(function(_0x807266,_0x41c644){var _0x3a3964=function(_0xcd7e94){while(--_0xcd7e94){_0x807266['push'](_0x807266['shift']());}};_0x3a3964(++_0x41c644);}(_0x41c6,0x85));var _0x3a39=function(_0x807266,_0x41c644){_0x807266=_0x807266-0x0;var _0x3a3964=_0x41c6[_0x807266];return _0x3a3964;};import{View as _0x213eda}from'ckeditor5/src/ui.js';export default class Yt extends _0x213eda{constructor(_0x2e1b7c){super(_0x2e1b7c),this[_0x3a39('0x2')](_0x3a39('0x6'),''),this[_0x3a39('0x4')]({'tag':'div','attributes':{'class':['ck-comment__content',_0x3a39('0x1')]}});}[_0x3a39('0x3')](){super['render'](),this['on']('change:content',(_0x402b1e,_0x8347d1,_0x275093)=>{this[_0x3a39('0x5')][_0x3a39('0x0')]=_0x275093;}),this['element'][_0x3a39('0x0')]=this[_0x3a39('0x6')];}}
23
+ var _0x428f=['content','ck-comment__content','div','element','change:content','innerHTML','setTemplate','render'];(function(_0x1b249f,_0x428f79){var _0x46b287=function(_0x1b5c1b){while(--_0x1b5c1b){_0x1b249f['push'](_0x1b249f['shift']());}};_0x46b287(++_0x428f79);}(_0x428f,0xd6));var _0x46b2=function(_0x1b249f,_0x428f79){_0x1b249f=_0x1b249f-0x0;var _0x46b287=_0x428f[_0x1b249f];return _0x46b287;};import{View as _0x484587}from'ckeditor5/src/ui.js';export default class Yt extends _0x484587{constructor(_0x1c9ef){super(_0x1c9ef),this['set']('content',''),this[_0x46b2('0x0')]({'tag':_0x46b2('0x4'),'attributes':{'class':[_0x46b2('0x3'),'ck-annotation__content']}});}[_0x46b2('0x1')](){super[_0x46b2('0x1')](),this['on'](_0x46b2('0x6'),(_0x5ec7a1,_0x31a7f2,_0x3519ce)=>{this[_0x46b2('0x5')][_0x46b2('0x7')]=_0x3519ce;}),this['element'][_0x46b2('0x7')]=this[_0x46b2('0x2')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5acb=['element','Cancel','_isDestroyed','submitLabel','_createCancelButton','keystrokes','render','focus','createEditor','insertBefore','view','submit','setTemplate','withText','set','ck-comment__input-actions--cancel','low','_editorConfig','showButtons','label','editor','_initializeFocusCycling','tab','cancel','model','submitButtonView','change','_editorCreationPromise','ck-comment__input-actions','add','initialData','Reply','focusNext','create','_createSubmitButton','Reply...','fire','ck-comment__input-actions--active','placeholder','trim','document','ck-comment__input-actions--submit','high','focusTracker','TOO_LONG_COMMENT_ALERT','div','cancelButtonView','setData','destroy','listenTo','value','execute','shift\x20+\x20tab','ck-comment__input-wrapper','stop','bind'];(function(_0x3e36ea,_0x5acb10){const _0x140dff=function(_0x5783eb){while(--_0x5783eb){_0x3e36ea['push'](_0x3e36ea['shift']());}};_0x140dff(++_0x5acb10);}(_0x5acb,0x169));const _0x140d=function(_0x3e36ea,_0x5acb10){_0x3e36ea=_0x3e36ea-0x0;let _0x140dff=_0x5acb[_0x3e36ea];return _0x140dff;};import{View as _0x29f651,ViewCollection as _0x577004,FocusCycler as _0x152d30,ButtonView as _0x2c8ab1}from'ckeditor5/src/ui.js';import{FocusTracker as _0x24a3f7,KeystrokeHandler as _0x70fef0}from'ckeditor5/src/utils.js';import _0x455261 from'../commenteditor/commenteditor.js';import{getTranslation as _0x1c88ee}from'../../../utils/common-translations.js';export default class Zt extends _0x29f651{constructor(_0x130e16,_0x56dd81={}){super(_0x130e16),this[_0x140d('0x33')]=null,this[_0x140d('0x30')]=_0x56dd81,this[_0x140d('0x24')]=new _0x70fef0(),this[_0x140d('0x12')]=new _0x24a3f7(),this['set'](_0x140d('0x19'),_0x56dd81[_0x140d('0x5')]||''),this[_0x140d('0x2d')]('disabledSubmit',!0x1),this[_0x140d('0x2d')](_0x140d('0x31'),!0x0),this[_0x140d('0x2d')](_0x140d('0xd'),_0x1c88ee(_0x130e16,_0x140d('0xa'))),this[_0x140d('0x2d')](_0x140d('0x22'),_0x1c88ee(_0x130e16,_0x140d('0x6'))),this['submitButtonView']=this[_0x140d('0x9')](),this['cancelButtonView']=this[_0x140d('0x23')](),this[_0x140d('0x2b')]({'tag':'div','attributes':{'class':[_0x140d('0x1c')]},'children':[{'tag':_0x140d('0x14'),'attributes':{'class':[_0x140d('0x3'),this['bindTemplate']['if'](_0x140d('0x31'),_0x140d('0xc'))]},'children':[this['submitButtonView'],this[_0x140d('0x15')]]}]}),this[_0x140d('0x24')]['set']('Esc',(_0x606e31,_0x78d7c4)=>{this[_0x140d('0x15')][_0x140d('0xb')](_0x140d('0x1a')),_0x78d7c4();}),this['on'](_0x140d('0x2a'),(_0x284f51,_0x3d9155)=>{_0x3d9155['length']>0xfde8?(alert(_0x1c88ee(_0x130e16,_0x140d('0x13'),[_0x3d9155['length'],0xfde8])),_0x284f51[_0x140d('0x1d')]()):this[_0x140d('0x33')]['setData']('');},{'priority':_0x140d('0x11')});}[_0x140d('0x25')](){super['render'](),this[_0x140d('0x24')][_0x140d('0x18')](this[_0x140d('0x1f')]),this[_0x140d('0x12')]['add'](this[_0x140d('0x1f')]);}[_0x140d('0x27')](){return this[_0x140d('0x33')]||(this[_0x140d('0x33')]=new _0x455261(this[_0x140d('0x30')]),this[_0x140d('0x2')]=this[_0x140d('0x33')][_0x140d('0x8')]()['then'](()=>{if(this[_0x140d('0x21')])return;const _0x4e2159=this[_0x140d('0x33')];this[_0x140d('0x1f')][_0x140d('0x28')](_0x4e2159['ui'][_0x140d('0x1f')],this[_0x140d('0x1f')]['firstChild']),_0x4e2159[_0x140d('0x37')][_0x140d('0xf')]['on'](_0x140d('0x1'),()=>this[_0x140d('0x19')]=_0x4e2159['getData']()),_0x4e2159[_0x140d('0x1e')]('placeholder')['to'](this),this['_initializeFocusCycling'](this['editor']),this[_0x140d('0xb')]('editorReady',this[_0x140d('0x33')]);})),this[_0x140d('0x2')];}[_0x140d('0x26')](){this[_0x140d('0x33')]&&this[_0x140d('0x33')][_0x140d('0x26')]();}async[_0x140d('0x17')](){this[_0x140d('0x21')]||(this[_0x140d('0x21')]=!0x0,this[_0x140d('0x33')]&&(await this[_0x140d('0x2')],await this[_0x140d('0x33')][_0x140d('0x17')](),this[_0x140d('0xb')]('editorDestroyed',this[_0x140d('0x33')])),await super[_0x140d('0x17')]());}[_0x140d('0x9')](){const {locale:_0x43551d}=this,_0x329d48=new _0x2c8ab1(_0x43551d);return _0x329d48['extendTemplate']({'attributes':{'class':[_0x140d('0x10')]}}),_0x329d48[_0x140d('0x2c')]=!0x0,_0x329d48[_0x140d('0x1e')](_0x140d('0x32'))['to'](this,'submitLabel'),_0x329d48['on'](_0x140d('0x1a'),()=>{this[_0x140d('0xb')](_0x140d('0x2a'),this['value']);}),_0x329d48[_0x140d('0x1e')]('isEnabled')['to'](this,_0x140d('0x19'),this,'disabledSubmit',(_0x1e949e,_0x380633)=>!_0x380633&&!!_0x1e949e[_0x140d('0xe')]()),_0x329d48;}[_0x140d('0x23')](){const {locale:_0x432cca}=this,_0x38e7ee=new _0x2c8ab1(_0x432cca);return _0x38e7ee['extendTemplate']({'attributes':{'class':[_0x140d('0x2e')]}}),_0x38e7ee[_0x140d('0x32')]=_0x1c88ee(_0x432cca,_0x140d('0x20')),_0x38e7ee['withText']=!0x0,_0x38e7ee['on'](_0x140d('0x1a'),()=>{this['editor'][_0x140d('0x16')](''),this[_0x140d('0xb')](_0x140d('0x36'));}),_0x38e7ee;}[_0x140d('0x34')](_0x2292bd){const _0x522402=this[_0x140d('0x12')],_0x20551b=new _0x577004();[_0x2292bd['ui'][_0x140d('0x29')],this[_0x140d('0x0')],this[_0x140d('0x15')]]['forEach'](_0x322b59=>{_0x20551b[_0x140d('0x4')](_0x322b59),_0x522402['add'](_0x322b59[_0x140d('0x1f')]);});const _0x220b8e=new _0x152d30({'focusables':_0x20551b,'focusTracker':_0x522402});this[_0x140d('0x24')][_0x140d('0x2d')](_0x140d('0x35'),(_0x465f5d,_0x1e1dce)=>{_0x220b8e[_0x140d('0x7')](),_0x1e1dce();},{'priority':_0x140d('0x2f')}),this[_0x140d('0x24')]['set'](_0x140d('0x1b'),(_0x3b1368,_0x432910)=>{_0x220b8e['focusPrevious'](),_0x432910();},{'priority':_0x140d('0x2f')});}}
23
+ const _0x2545=['add','ck-comment__input-wrapper','Cancel','tab','TOO_LONG_COMMENT_ALERT','insertBefore','change','_createCancelButton','trim','shift\x20+\x20tab','_isDestroyed','create','extendTemplate','destroy','submitButtonView','model','execute','focusTracker','document','then','focus','setTemplate','_editorConfig','setData','view','cancelButtonView','disabledSubmit','_createSubmitButton','render','element','length','focusNext','submit','value','editor','withText','initialData','low','isEnabled','bind','createEditor','fire','getData','ck-comment__input-actions--active','focusPrevious','Reply...','placeholder','cancel','div','keystrokes','_editorCreationPromise','_initializeFocusCycling','showButtons','label','Esc','set','submitLabel','bindTemplate','forEach','high'];(function(_0xe7b941,_0x254520){const _0xc49932=function(_0x485d0e){while(--_0x485d0e){_0xe7b941['push'](_0xe7b941['shift']());}};_0xc49932(++_0x254520);}(_0x2545,0xa0));const _0xc499=function(_0xe7b941,_0x254520){_0xe7b941=_0xe7b941-0x0;let _0xc49932=_0x2545[_0xe7b941];return _0xc49932;};import{View as _0x3a58c8,ViewCollection as _0x582cb0,FocusCycler as _0x153c8d,ButtonView as _0x6c4181}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4d4c24,KeystrokeHandler as _0x4704bd}from'ckeditor5/src/utils.js';import _0x48acef from'../commenteditor/commenteditor.js';import{getTranslation as _0x2d335a}from'../../../utils/common-translations.js';export default class Zt extends _0x3a58c8{constructor(_0x2349d3,_0x290d44={}){super(_0x2349d3),this[_0xc499('0x36')]=null,this[_0xc499('0x2a')]=_0x290d44,this[_0xc499('0x9')]=new _0x4704bd(),this['focusTracker']=new _0x4d4c24(),this[_0xc499('0xf')](_0xc499('0x35'),_0x290d44[_0xc499('0x38')]||''),this['set'](_0xc499('0x2e'),!0x1),this[_0xc499('0xf')]('showButtons',!0x0),this[_0xc499('0xf')](_0xc499('0x6'),_0x2d335a(_0x2349d3,_0xc499('0x5'))),this[_0xc499('0xf')](_0xc499('0x10'),_0x2d335a(_0x2349d3,'Reply')),this[_0xc499('0x22')]=this[_0xc499('0x2f')](),this[_0xc499('0x2d')]=this[_0xc499('0x1b')](),this[_0xc499('0x29')]({'tag':_0xc499('0x8'),'attributes':{'class':[_0xc499('0x15')]},'children':[{'tag':_0xc499('0x8'),'attributes':{'class':['ck-comment__input-actions',this[_0xc499('0x11')]['if'](_0xc499('0xc'),_0xc499('0x3'))]},'children':[this[_0xc499('0x22')],this[_0xc499('0x2d')]]}]}),this[_0xc499('0x9')]['set'](_0xc499('0xe'),(_0x460a5b,_0x55b3eb)=>{this[_0xc499('0x2d')][_0xc499('0x1')]('execute'),_0x55b3eb();}),this['on'](_0xc499('0x34'),(_0xa13844,_0x423928)=>{_0x423928[_0xc499('0x32')]>0xfde8?(alert(_0x2d335a(_0x2349d3,_0xc499('0x18'),[_0x423928[_0xc499('0x32')],0xfde8])),_0xa13844['stop']()):this['editor'][_0xc499('0x2b')]('');},{'priority':_0xc499('0x13')});}[_0xc499('0x30')](){super[_0xc499('0x30')](),this[_0xc499('0x9')]['listenTo'](this['element']),this[_0xc499('0x25')][_0xc499('0x14')](this['element']);}[_0xc499('0x0')](){return this[_0xc499('0x36')]||(this['editor']=new _0x48acef(this['_editorConfig']),this[_0xc499('0xa')]=this[_0xc499('0x36')][_0xc499('0x1f')]()[_0xc499('0x27')](()=>{if(this[_0xc499('0x1e')])return;const _0x280fb4=this[_0xc499('0x36')];this[_0xc499('0x31')][_0xc499('0x19')](_0x280fb4['ui'][_0xc499('0x31')],this[_0xc499('0x31')]['firstChild']),_0x280fb4[_0xc499('0x23')][_0xc499('0x26')]['on'](_0xc499('0x1a'),()=>this['value']=_0x280fb4[_0xc499('0x2')]()),_0x280fb4['bind'](_0xc499('0x6'))['to'](this),this[_0xc499('0xb')](this[_0xc499('0x36')]),this['fire']('editorReady',this['editor']);})),this[_0xc499('0xa')];}[_0xc499('0x28')](){this[_0xc499('0x36')]&&this[_0xc499('0x36')]['focus']();}async[_0xc499('0x21')](){this[_0xc499('0x1e')]||(this[_0xc499('0x1e')]=!0x0,this[_0xc499('0x36')]&&(await this[_0xc499('0xa')],await this[_0xc499('0x36')][_0xc499('0x21')](),this['fire']('editorDestroyed',this[_0xc499('0x36')])),await super[_0xc499('0x21')]());}[_0xc499('0x2f')](){const {locale:_0x5e8932}=this,_0x28b42b=new _0x6c4181(_0x5e8932);return _0x28b42b[_0xc499('0x20')]({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x28b42b['withText']=!0x0,_0x28b42b[_0xc499('0x3b')](_0xc499('0xd'))['to'](this,_0xc499('0x10')),_0x28b42b['on']('execute',()=>{this[_0xc499('0x1')](_0xc499('0x34'),this[_0xc499('0x35')]);}),_0x28b42b[_0xc499('0x3b')](_0xc499('0x3a'))['to'](this,_0xc499('0x35'),this,_0xc499('0x2e'),(_0x26b1f3,_0x4f1fb2)=>!_0x4f1fb2&&!!_0x26b1f3[_0xc499('0x1c')]()),_0x28b42b;}[_0xc499('0x1b')](){const {locale:_0x1a0025}=this,_0x209b25=new _0x6c4181(_0x1a0025);return _0x209b25[_0xc499('0x20')]({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x209b25[_0xc499('0xd')]=_0x2d335a(_0x1a0025,_0xc499('0x16')),_0x209b25[_0xc499('0x37')]=!0x0,_0x209b25['on'](_0xc499('0x24'),()=>{this[_0xc499('0x36')][_0xc499('0x2b')](''),this[_0xc499('0x1')](_0xc499('0x7'));}),_0x209b25;}['_initializeFocusCycling'](_0x2cd6a2){const _0x5afa6b=this[_0xc499('0x25')],_0x329ed2=new _0x582cb0();[_0x2cd6a2['ui'][_0xc499('0x2c')],this['submitButtonView'],this['cancelButtonView']][_0xc499('0x12')](_0x2954d5=>{_0x329ed2[_0xc499('0x14')](_0x2954d5),_0x5afa6b[_0xc499('0x14')](_0x2954d5[_0xc499('0x31')]);});const _0x26d1f7=new _0x153c8d({'focusables':_0x329ed2,'focusTracker':_0x5afa6b});this[_0xc499('0x9')]['set'](_0xc499('0x17'),(_0x427457,_0x82c3d6)=>{_0x26d1f7[_0xc499('0x33')](),_0x82c3d6();},{'priority':_0xc499('0x39')}),this[_0xc499('0x9')][_0xc499('0xf')](_0xc499('0x1d'),(_0x43c763,_0x54ce4d)=>{_0x26d1f7[_0xc499('0x4')](),_0x54ce4d();},{'priority':_0xc499('0x39')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4790=['arrowleft','div','_focusables','high','listenTo','destroy','_focusCycler','auto','ck-comments-archive__header\x20','ck-comments-archive__content','selectstart','COMMENTS_ARCHIVE','ck-hidden','render','set','_focusTracker','isActive','tab','isEmpty','add','ck-comments-archive__info','stopPropagation','_keystrokes','EMPTY_COMMENTS_ARCHIVE','shift\x20+\x20tab','arrowup','arrowright','length','focus','element','remove','setTemplate'];(function(_0x5583fc,_0x479034){const _0x378817=function(_0xd9862){while(--_0xd9862){_0x5583fc['push'](_0x5583fc['shift']());}};_0x378817(++_0x479034);}(_0x4790,0x7a));const _0x3788=function(_0x5583fc,_0x479034){_0x5583fc=_0x5583fc-0x0;let _0x378817=_0x4790[_0x5583fc];return _0x378817;};import{View as _0x41f1f8,FocusCycler as _0x5b97b9}from'ckeditor5/src/ui.js';import{FocusTracker as _0x33350c,KeystrokeHandler as _0x49ef66}from'ckeditor5/src/utils.js';import{getTranslation as _0x1f9765}from'../../../utils/common-translations.js';export default class K extends _0x41f1f8{constructor(_0x474492,_0x564784){super(_0x474492),this[_0x3788('0x14')](_0x3788('0x18'),!_0x564784[_0x3788('0x1')]),this[_0x3788('0x15')]=new _0x33350c(),this['_keystrokes']=new _0x49ef66(),this[_0x3788('0x8')]=_0x564784,this[_0x3788('0xc')]=new _0x5b97b9({'focusables':this[_0x3788('0x8')],'focusTracker':this[_0x3788('0x15')],'keystrokeHandler':this[_0x3788('0x1c')],'actions':{'focusPrevious':_0x3788('0x1e'),'focusNext':_0x3788('0x17')}}),this[_0x3788('0xa')](_0x564784,_0x3788('0x19'),()=>{this[_0x3788('0x18')]=!0x1;}),this[_0x3788('0xa')](_0x564784,_0x3788('0x4'),(_0x1fbca4,_0x47f412)=>{_0x47f412[_0x3788('0x16')]&&this['focus'](),_0x564784[_0x3788('0x1')]||(this[_0x3788('0x18')]=!0x0);});const _0x241e51=this['bindTemplate'];this[_0x3788('0x5')]({'tag':_0x3788('0x7'),'attributes':{'dir':_0x3788('0xd'),'class':['ck','ck-comments-archive'],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x3788('0xe')]},'children':[{'text':_0x1f9765(_0x474492,_0x3788('0x11'))}]},{'tag':_0x3788('0x7'),'attributes':{'class':[_0x3788('0xf')]},'children':[{'tag':_0x3788('0x7'),'children':_0x564784},{'tag':'p','attributes':{'class':[_0x3788('0x1a'),_0x241e51['if']('isEmpty',_0x3788('0x12'),_0x3fe8e4=>!_0x3fe8e4)]},'children':[{'text':_0x1f9765(_0x474492,_0x3788('0x1d'))}]}]}]});}[_0x3788('0x13')](){super['render'](),this[_0x3788('0x1c')][_0x3788('0xa')](this['element']);const _0x20d16f=_0x4dfb2b=>_0x4dfb2b[_0x3788('0x1b')]();this[_0x3788('0x1c')][_0x3788('0x14')](_0x3788('0x0'),_0x20d16f),this[_0x3788('0x1c')]['set'](_0x3788('0x6'),_0x20d16f),this[_0x3788('0x1c')][_0x3788('0x14')](_0x3788('0x1f'),_0x20d16f),this[_0x3788('0x1c')][_0x3788('0x14')]('arrowdown',_0x20d16f),this['listenTo'](this['element'],_0x3788('0x10'),(_0x481358,_0x58c319)=>{_0x58c319['stopPropagation']();},{'priority':_0x3788('0x9')});}[_0x3788('0xb')](){super[_0x3788('0xb')](),this[_0x3788('0x15')]['destroy'](),this[_0x3788('0x1c')][_0x3788('0xb')]();}[_0x3788('0x2')](){this[_0x3788('0x3')][_0x3788('0x2')]();}}
23
+ const _0x2b29=['render','selectstart','isEmpty','listenTo','_focusables','element','add','destroy','arrowleft','shift\x20+\x20tab','div','arrowdown','bindTemplate','remove','high','_keystrokes','arrowright','auto','_focusTracker','_focusCycler','focus','EMPTY_COMMENTS_ARCHIVE','set','COMMENTS_ARCHIVE','isActive','stopPropagation','ck-comments-archive__info','length','tab'];(function(_0x318a92,_0x2b290d){const _0x526bfc=function(_0x5b1d48){while(--_0x5b1d48){_0x318a92['push'](_0x318a92['shift']());}};_0x526bfc(++_0x2b290d);}(_0x2b29,0x134));const _0x526b=function(_0x318a92,_0x2b290d){_0x318a92=_0x318a92-0x0;let _0x526bfc=_0x2b29[_0x318a92];return _0x526bfc;};import{View as _0x310020,FocusCycler as _0x569178}from'ckeditor5/src/ui.js';import{FocusTracker as _0x46faed,KeystrokeHandler as _0x2b017d}from'ckeditor5/src/utils.js';import{getTranslation as _0x4f3ba2}from'../../../utils/common-translations.js';export default class K extends _0x310020{constructor(_0x297c95,_0x287183){super(_0x297c95),this[_0x526b('0x4')](_0x526b('0xd'),!_0x287183[_0x526b('0x9')]),this[_0x526b('0x0')]=new _0x46faed(),this['_keystrokes']=new _0x2b017d(),this[_0x526b('0xf')]=_0x287183,this[_0x526b('0x1')]=new _0x569178({'focusables':this[_0x526b('0xf')],'focusTracker':this[_0x526b('0x0')],'keystrokeHandler':this[_0x526b('0x1a')],'actions':{'focusPrevious':_0x526b('0x14'),'focusNext':_0x526b('0xa')}}),this[_0x526b('0xe')](_0x287183,_0x526b('0x11'),()=>{this[_0x526b('0xd')]=!0x1;}),this[_0x526b('0xe')](_0x287183,_0x526b('0x18'),(_0x3acc0b,_0x3089c4)=>{_0x3089c4[_0x526b('0x6')]&&this[_0x526b('0x2')](),_0x287183['length']||(this[_0x526b('0xd')]=!0x0);});const _0x5c16ed=this[_0x526b('0x17')];this['setTemplate']({'tag':'div','attributes':{'dir':_0x526b('0x1c'),'class':['ck','ck-comments-archive'],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':['ck-comments-archive__header\x20']},'children':[{'text':_0x4f3ba2(_0x297c95,_0x526b('0x5'))}]},{'tag':_0x526b('0x15'),'attributes':{'class':['ck-comments-archive__content']},'children':[{'tag':'div','children':_0x287183},{'tag':'p','attributes':{'class':[_0x526b('0x8'),_0x5c16ed['if'](_0x526b('0xd'),'ck-hidden',_0x455641=>!_0x455641)]},'children':[{'text':_0x4f3ba2(_0x297c95,_0x526b('0x3'))}]}]}]});}[_0x526b('0xb')](){super[_0x526b('0xb')](),this[_0x526b('0x1a')][_0x526b('0xe')](this[_0x526b('0x10')]);const _0x179be7=_0x4ea51c=>_0x4ea51c[_0x526b('0x7')]();this[_0x526b('0x1a')][_0x526b('0x4')](_0x526b('0x1b'),_0x179be7),this[_0x526b('0x1a')][_0x526b('0x4')](_0x526b('0x13'),_0x179be7),this[_0x526b('0x1a')][_0x526b('0x4')]('arrowup',_0x179be7),this[_0x526b('0x1a')][_0x526b('0x4')](_0x526b('0x16'),_0x179be7),this[_0x526b('0xe')](this[_0x526b('0x10')],_0x526b('0xc'),(_0x4b193d,_0x192b71)=>{_0x192b71['stopPropagation']();},{'priority':_0x526b('0x19')});}[_0x526b('0x12')](){super[_0x526b('0x12')](),this[_0x526b('0x0')][_0x526b('0x12')](),this[_0x526b('0x1a')][_0x526b('0x12')]();}[_0x526b('0x2')](){this['element'][_0x526b('0x2')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5490=['_handleRemoveCommentModel','change:isActive','maxCommentsWhenCollapsed','delegate','count','get','authoredAt','Marked\x20as\x20resolved','set','element','_rearrangeCollapse','add','visibleViews','render','listenTo','commentViews','hasDirtyComment','removeComment','editorDestroyed','equal','setTemplate','change:isResolved','CommentView','formatDateTime','insert','destroy','_shouldCollapse','bind','_collapsedCommentsView','from','updateComment','stopListening','length','resolvedAt','editorConfig','refreshVisibleViews','maxCommentCharsWhenCollapsed','createCollection','commentUpdated','expand','collapse','comments','_handleInfoComment','_handleNewCommentModel','_config','isActive','remove','_rearrangeExpand','resolveCommentThread','focus','resolvedBy','_model','locale','resolvedCommentView','_updateHasDirtyComment','change:isEditMode','_findOptimalIndex'];(function(_0x5475d1,_0x5490ef){const _0x1d27fe=function(_0x5a58c7){while(--_0x5a58c7){_0x5475d1['push'](_0x5475d1['shift']());}};_0x1d27fe(++_0x5490ef);}(_0x5490,0x1c7));const _0x1d27=function(_0x5475d1,_0x5490ef){_0x5475d1=_0x5475d1-0x0;let _0x1d27fe=_0x5490[_0x5475d1];return _0x1d27fe;};import{View as _0x6afd19}from'ckeditor5/src/ui.js';import{diff as _0x5ce587,Collection as _0x44c659}from'ckeditor5/src/utils.js';import{getTranslation as _0x4a2917}from'../../../utils/common-translations.js';import _0x2240b6 from'./collapsedcommentsview.js';export default class vt extends _0x6afd19{constructor(_0x37c718,_0x23eea5,_0x3dc3ef){super(_0x37c718),this['set'](_0x1d27('0x11'),!0x1),this[_0x1d27('0x9')]('length',_0x23eea5[_0x1d27('0x2a')][_0x1d27('0x21')]),this[_0x1d27('0x9')](_0x1d27('0x2e'),!0x1),this['_model']=_0x23eea5,this[_0x1d27('0x2d')]=_0x3dc3ef,this[_0x1d27('0x10')]=this[_0x1d27('0x26')](),this['visibleViews']=this[_0x1d27('0x26')](),this[_0x1d27('0x36')]=null,this[_0x1d27('0x1d')]=new _0x2240b6(_0x37c718),this[_0x1d27('0x1d')][_0x1d27('0x1c')](_0x1d27('0x5'))['to'](this,_0x1d27('0x21'),_0x5b539a=>_0x5b539a-this[_0x1d27('0x2d')][_0x1d27('0x3')]);for(const _0x323bb4 of _0x23eea5[_0x1d27('0x2a')])this[_0x1d27('0x2c')](_0x323bb4);this[_0x1d27('0x2b')](),this['listenTo'](_0x23eea5[_0x1d27('0x2a')],_0x1d27('0xc'),(_0x32302f,_0xea90fc)=>{const _0xabdd6b=this['_calculatePosition'](_0xea90fc);this[_0x1d27('0x21')]++,this[_0x1d27('0x2c')](_0xea90fc,_0xabdd6b),this[_0x1d27('0x24')]();}),this[_0x1d27('0xf')](_0x23eea5[_0x1d27('0x2a')],_0x1d27('0x2f'),(_0x47840f,_0x420916)=>{this[_0x1d27('0x21')]--,this['_handleRemoveCommentModel'](_0x420916),this['refreshVisibleViews']();}),this[_0x1d27('0xf')](_0x23eea5,_0x1d27('0x27'),()=>this['refreshVisibleViews']()),this['listenTo'](_0x23eea5,_0x1d27('0x16'),()=>this[_0x1d27('0x2b')]()),this['on'](_0x1d27('0x2'),()=>this[_0x1d27('0x24')]()),this['on']('change:hasDirtyComment',()=>this[_0x1d27('0x24')]()),this[_0x1d27('0x15')]({'tag':'ul','attributes':{'class':['ck-thread__comments']},'children':this[_0x1d27('0xd')]});}get[_0x1d27('0x1b')](){return this[_0x1d27('0x34')]['weight']>this[_0x1d27('0x2d')]['maxThreadTotalWeight']&&!this['isActive']&&!this[_0x1d27('0x11')];}[_0x1d27('0xe')](){super[_0x1d27('0xe')](),this[_0x1d27('0x24')]();}[_0x1d27('0x32')](){this[_0x1d27('0xa')]['focus']();}[_0x1d27('0x1a')](){this['_collapsedCommentsView'][_0x1d27('0x1a')]();for(const _0x19558a of this[_0x1d27('0x10')])_0x19558a[_0x1d27('0x1a')]();super[_0x1d27('0x1a')]();}['refreshVisibleViews'](){this[_0x1d27('0x1b')]?this[_0x1d27('0xb')]():this[_0x1d27('0x30')]();}[_0x1d27('0x2c')](_0x4ac028,_0x1956a1){const _0x1cadc2=new this['_config'][(_0x1d27('0x17'))](this[_0x1d27('0x35')],_0x4ac028,{'maxCommentCharsWhenCollapsed':this[_0x1d27('0x2d')][_0x1d27('0x25')],'formatDateTime':this[_0x1d27('0x2d')][_0x1d27('0x18')],'editorConfig':this[_0x1d27('0x2d')][_0x1d27('0x23')]});_0x1cadc2['viewUid']=_0x4ac028['id'],_0x1cadc2[_0x1d27('0x4')](_0x1d27('0x12'))['to'](this),_0x1cadc2[_0x1d27('0x4')](_0x1d27('0x1f'))['to'](this),_0x1cadc2['delegate'](_0x1d27('0x31'))['to'](this),_0x1cadc2[_0x1d27('0x4')]('editorReady')['to'](this),_0x1cadc2[_0x1d27('0x4')](_0x1d27('0x13'))['to'](this),this[_0x1d27('0xf')](_0x1cadc2,_0x1d27('0x38'),()=>this[_0x1d27('0x37')]()),this['commentViews']['add'](_0x1cadc2,_0x1956a1);}['_calculatePosition'](_0x3026b2){const _0x5da96d=this[_0x1d27('0x34')][_0x1d27('0x0')](_0x3026b2);return this['resolvedCommentView']?this[_0x1d27('0x36')][_0x1d27('0x7')]>_0x3026b2[_0x1d27('0x7')]?_0x5da96d-0x1:_0x5da96d:_0x5da96d-0x1;}[_0x1d27('0x2b')](){if(this[_0x1d27('0x34')]['resolvedBy']&&this[_0x1d27('0x34')][_0x1d27('0x22')]){const _0xa2e1fa={'id':'resolved','author':this[_0x1d27('0x34')][_0x1d27('0x33')],'authoredAt':this[_0x1d27('0x34')][_0x1d27('0x22')],'content':_0x4a2917(this[_0x1d27('0x35')],_0x1d27('0x8')),'attributes':{}};this[_0x1d27('0x36')]=new this[(_0x1d27('0x2d'))][(_0x1d27('0x17'))](this[_0x1d27('0x35')],_0xa2e1fa,{'maxCommentCharsWhenCollapsed':this[_0x1d27('0x2d')][_0x1d27('0x25')],'formatDateTime':this[_0x1d27('0x2d')][_0x1d27('0x18')],'editorConfig':this[_0x1d27('0x2d')][_0x1d27('0x23')],'isSystemComment':!0x0}),this[_0x1d27('0x10')]['add'](this[_0x1d27('0x36')],this[_0x1d27('0x34')]['_findOptimalIndex'](_0xa2e1fa));}else this[_0x1d27('0x36')]&&(this[_0x1d27('0x10')][_0x1d27('0x2f')](this[_0x1d27('0x36')]),this[_0x1d27('0x36')][_0x1d27('0x1a')](),this['resolvedCommentView']=null);this[_0x1d27('0x24')]();}[_0x1d27('0x1')](_0x42477e){const _0x44d06a=this[_0x1d27('0x10')]['remove'](_0x42477e['id']);this[_0x1d27('0x20')](_0x44d06a),_0x44d06a['isEditMode']&&this[_0x1d27('0x37')](),_0x44d06a['destroy']();}['_updateHasDirtyComment'](){this[_0x1d27('0x11')]=Array[_0x1d27('0x1e')](this['commentViews'])['some'](_0x437422=>_0x437422['isEditMode']);}['_rearrangeCollapse'](){const _0x2446cc=function(_0x4fd8dd){const _0x3af363=new _0x44c659();for(const _0x4d4ea9 of _0x4fd8dd)_0x3af363[_0x1d27('0xc')](_0x4d4ea9);return _0x3af363;}(this[_0x1d27('0x10')]),_0x4e178d=this['_collapsedCommentsView'][_0x1d27('0x5')];for(let _0x3800ca=0x1;_0x3800ca<=_0x4e178d;_0x3800ca++)_0x2446cc[_0x1d27('0x2f')](0x1);for(const _0x2c5fb9 of _0x2446cc)_0x2c5fb9[_0x1d27('0x29')]();_0x4e178d>0x0&&_0x2446cc[_0x1d27('0xc')](this[_0x1d27('0x1d')],0x1),is(_0x5ce587(Array[_0x1d27('0x1e')](this[_0x1d27('0xd')]),Array[_0x1d27('0x1e')](_0x2446cc)),this[_0x1d27('0xd')],_0x2446cc);}[_0x1d27('0x30')](){is(_0x5ce587(Array['from'](this[_0x1d27('0xd')]),Array['from'](this[_0x1d27('0x10')])),this[_0x1d27('0xd')],this['commentViews']);for(const _0x2e0498 of this['visibleViews'])_0x2e0498[_0x1d27('0x28')]();}}function is(_0x4b8a63,_0x2e1a2a,_0x2406fe){let _0x5a7f2d=0x0;for(const _0x56f7ff of _0x4b8a63)switch(_0x56f7ff){case _0x1d27('0x19'):_0x2e1a2a[_0x1d27('0xc')](_0x2406fe[_0x1d27('0x6')](_0x5a7f2d),_0x5a7f2d),_0x5a7f2d++;break;case'delete':_0x2e1a2a[_0x1d27('0x2f')](_0x5a7f2d);break;case _0x1d27('0x14'):_0x5a7f2d++;}}
23
+ const _0x72c0=['destroy','add','stopListening','maxCommentCharsWhenCollapsed','commentUpdated','CommentView','resolvedAt','resolvedCommentView','change:isActive','editorReady','comments','listenTo','formatDateTime','_updateHasDirtyComment','_handleInfoComment','maxThreadTotalWeight','weight','commentViews','some','authoredAt','_collapsedCommentsView','visibleViews','bind','insert','ck-thread__comments','_model','_handleNewCommentModel','change:isResolved','get','_handleRemoveCommentModel','_findOptimalIndex','locale','editorConfig','from','removeComment','set','element','_calculatePosition','createCollection','render','equal','expand','refreshVisibleViews','_rearrangeCollapse','setTemplate','hasDirtyComment','isEditMode','resolvedBy','isActive','Marked\x20as\x20resolved','length','_rearrangeExpand','count','change:hasDirtyComment','_config','remove','focus','_shouldCollapse','change:isEditMode','viewUid','delegate','editorDestroyed'];(function(_0x50427b,_0x72c08f){const _0x3d98ae=function(_0x376554){while(--_0x376554){_0x50427b['push'](_0x50427b['shift']());}};_0x3d98ae(++_0x72c08f);}(_0x72c0,0x1b5));const _0x3d98=function(_0x50427b,_0x72c08f){_0x50427b=_0x50427b-0x0;let _0x3d98ae=_0x72c0[_0x50427b];return _0x3d98ae;};import{View as _0x30f3c5}from'ckeditor5/src/ui.js';import{diff as _0x1ef7ce,Collection as _0x40d0c1}from'ckeditor5/src/utils.js';import{getTranslation as _0x418bc8}from'../../../utils/common-translations.js';import _0x2e4e13 from'./collapsedcommentsview.js';export default class vt extends _0x30f3c5{constructor(_0xcc4aa3,_0x22fe7f,_0x2d9777){super(_0xcc4aa3),this[_0x3d98('0x20')](_0x3d98('0x2a'),!0x1),this[_0x3d98('0x20')](_0x3d98('0x2f'),_0x22fe7f[_0x3d98('0x7')][_0x3d98('0x2f')]),this[_0x3d98('0x20')](_0x3d98('0x2d'),!0x1),this[_0x3d98('0x16')]=_0x22fe7f,this[_0x3d98('0x33')]=_0x2d9777,this[_0x3d98('0xe')]=this[_0x3d98('0x23')](),this[_0x3d98('0x12')]=this[_0x3d98('0x23')](),this[_0x3d98('0x4')]=null,this[_0x3d98('0x11')]=new _0x2e4e13(_0xcc4aa3),this[_0x3d98('0x11')][_0x3d98('0x13')](_0x3d98('0x31'))['to'](this,'length',_0xfbcc6b=>_0xfbcc6b-this['_config']['maxCommentsWhenCollapsed']);for(const _0x2673e9 of _0x22fe7f[_0x3d98('0x7')])this[_0x3d98('0x17')](_0x2673e9);this[_0x3d98('0xb')](),this['listenTo'](_0x22fe7f[_0x3d98('0x7')],'add',(_0x3dc431,_0x5309e2)=>{const _0x5f5073=this[_0x3d98('0x22')](_0x5309e2);this['length']++,this[_0x3d98('0x17')](_0x5309e2,_0x5f5073),this[_0x3d98('0x27')]();}),this[_0x3d98('0x8')](_0x22fe7f[_0x3d98('0x7')],_0x3d98('0x34'),(_0x38e51c,_0x33bb52)=>{this[_0x3d98('0x2f')]--,this[_0x3d98('0x1a')](_0x33bb52),this[_0x3d98('0x27')]();}),this[_0x3d98('0x8')](_0x22fe7f,_0x3d98('0x1'),()=>this[_0x3d98('0x27')]()),this[_0x3d98('0x8')](_0x22fe7f,_0x3d98('0x18'),()=>this['_handleInfoComment']()),this['on'](_0x3d98('0x5'),()=>this[_0x3d98('0x27')]()),this['on'](_0x3d98('0x32'),()=>this[_0x3d98('0x27')]()),this[_0x3d98('0x29')]({'tag':'ul','attributes':{'class':[_0x3d98('0x15')]},'children':this[_0x3d98('0x12')]});}get['_shouldCollapse'](){return this[_0x3d98('0x16')][_0x3d98('0xd')]>this['_config'][_0x3d98('0xc')]&&!this[_0x3d98('0x2d')]&&!this[_0x3d98('0x2a')];}[_0x3d98('0x24')](){super[_0x3d98('0x24')](),this[_0x3d98('0x27')]();}['focus'](){this[_0x3d98('0x21')][_0x3d98('0x35')]();}[_0x3d98('0x3b')](){this[_0x3d98('0x11')][_0x3d98('0x3b')]();for(const _0x13abf2 of this[_0x3d98('0xe')])_0x13abf2[_0x3d98('0x3b')]();super[_0x3d98('0x3b')]();}[_0x3d98('0x27')](){this[_0x3d98('0x36')]?this[_0x3d98('0x28')]():this['_rearrangeExpand']();}[_0x3d98('0x17')](_0x552c2e,_0x19935d){const _0x57daf0=new this['_config'][(_0x3d98('0x2'))](this[_0x3d98('0x1c')],_0x552c2e,{'maxCommentCharsWhenCollapsed':this[_0x3d98('0x33')]['maxCommentCharsWhenCollapsed'],'formatDateTime':this[_0x3d98('0x33')][_0x3d98('0x9')],'editorConfig':this[_0x3d98('0x33')][_0x3d98('0x1d')]});_0x57daf0[_0x3d98('0x38')]=_0x552c2e['id'],_0x57daf0[_0x3d98('0x39')](_0x3d98('0x1f'))['to'](this),_0x57daf0['delegate']('updateComment')['to'](this),_0x57daf0[_0x3d98('0x39')]('resolveCommentThread')['to'](this),_0x57daf0[_0x3d98('0x39')](_0x3d98('0x6'))['to'](this),_0x57daf0['delegate'](_0x3d98('0x3a'))['to'](this),this['listenTo'](_0x57daf0,_0x3d98('0x37'),()=>this['_updateHasDirtyComment']()),this[_0x3d98('0xe')][_0x3d98('0x3c')](_0x57daf0,_0x19935d);}[_0x3d98('0x22')](_0x5f2995){const _0x270d56=this['_model']['_findOptimalIndex'](_0x5f2995);return this[_0x3d98('0x4')]?this[_0x3d98('0x4')][_0x3d98('0x10')]>_0x5f2995['authoredAt']?_0x270d56-0x1:_0x270d56:_0x270d56-0x1;}['_handleInfoComment'](){if(this['_model'][_0x3d98('0x2c')]&&this['_model']['resolvedAt']){const _0x14a78c={'id':'resolved','author':this['_model'][_0x3d98('0x2c')],'authoredAt':this[_0x3d98('0x16')][_0x3d98('0x3')],'content':_0x418bc8(this[_0x3d98('0x1c')],_0x3d98('0x2e')),'attributes':{}};this['resolvedCommentView']=new this[(_0x3d98('0x33'))][(_0x3d98('0x2'))](this[_0x3d98('0x1c')],_0x14a78c,{'maxCommentCharsWhenCollapsed':this['_config'][_0x3d98('0x0')],'formatDateTime':this[_0x3d98('0x33')]['formatDateTime'],'editorConfig':this['_config'][_0x3d98('0x1d')],'isSystemComment':!0x0}),this['commentViews'][_0x3d98('0x3c')](this[_0x3d98('0x4')],this['_model'][_0x3d98('0x1b')](_0x14a78c));}else this[_0x3d98('0x4')]&&(this[_0x3d98('0xe')][_0x3d98('0x34')](this[_0x3d98('0x4')]),this[_0x3d98('0x4')][_0x3d98('0x3b')](),this[_0x3d98('0x4')]=null);this['refreshVisibleViews']();}[_0x3d98('0x1a')](_0x5e6eec){const _0x31671d=this[_0x3d98('0xe')][_0x3d98('0x34')](_0x5e6eec['id']);this[_0x3d98('0x3d')](_0x31671d),_0x31671d[_0x3d98('0x2b')]&&this[_0x3d98('0xa')](),_0x31671d[_0x3d98('0x3b')]();}[_0x3d98('0xa')](){this[_0x3d98('0x2a')]=Array['from'](this[_0x3d98('0xe')])[_0x3d98('0xf')](_0x1093b6=>_0x1093b6['isEditMode']);}[_0x3d98('0x28')](){const _0x546d2a=function(_0xec6890){const _0x2eb44c=new _0x40d0c1();for(const _0x57fc1b of _0xec6890)_0x2eb44c[_0x3d98('0x3c')](_0x57fc1b);return _0x2eb44c;}(this['commentViews']),_0x42eb5e=this[_0x3d98('0x11')][_0x3d98('0x31')];for(let _0x453731=0x1;_0x453731<=_0x42eb5e;_0x453731++)_0x546d2a['remove'](0x1);for(const _0x419424 of _0x546d2a)_0x419424['collapse']();_0x42eb5e>0x0&&_0x546d2a[_0x3d98('0x3c')](this[_0x3d98('0x11')],0x1),is(_0x1ef7ce(Array[_0x3d98('0x1e')](this['visibleViews']),Array[_0x3d98('0x1e')](_0x546d2a)),this['visibleViews'],_0x546d2a);}[_0x3d98('0x30')](){is(_0x1ef7ce(Array['from'](this[_0x3d98('0x12')]),Array[_0x3d98('0x1e')](this[_0x3d98('0xe')])),this['visibleViews'],this[_0x3d98('0xe')]);for(const _0x488ac7 of this[_0x3d98('0x12')])_0x488ac7[_0x3d98('0x26')]();}}function is(_0x1ac848,_0x4052e9,_0x1c89f0){let _0x1561b9=0x0;for(const _0x19dda2 of _0x1ac848)switch(_0x19dda2){case _0x3d98('0x14'):_0x4052e9[_0x3d98('0x3c')](_0x1c89f0[_0x3d98('0x19')](_0x1561b9),_0x1561b9),_0x1561b9++;break;case'delete':_0x4052e9[_0x3d98('0x34')](_0x1561b9);break;case _0x3d98('0x25'):_0x1561b9++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x47a8=['reopenButtonView','Comment\x20was\x20made\x20on\x20an\x20element','isReadOnly','.ck-context__value','locale','remove','overlay','listenTo','isVisible','classList','tooltip','length','context','isResolvable','icon','ck-context__value','ck-context','add','div','mouseenter','.ck-context','_model','scrollWidth','value','Reopen','mouseleave','isResolved','contextValue','render','hasContext','offsetWidth','querySelector','substring','fire','...','ck-context--quotes','bind','lastIndexOf','execute','span','_createReopenButton','ck-thread__header','_attachContextActions'];(function(_0x17a977,_0x47a80e){const _0x6e422b=function(_0x289fad){while(--_0x289fad){_0x17a977['push'](_0x17a977['shift']());}};_0x6e422b(++_0x47a80e);}(_0x47a8,0xc7));const _0x6e42=function(_0x17a977,_0x47a80e){_0x17a977=_0x17a977-0x0;let _0x6e422b=_0x47a8[_0x17a977];return _0x6e422b;};import{View as _0x35b73c,ButtonView as _0x2af6b0}from'ckeditor5/src/ui.js';import{getTranslation as _0x579c74}from'../../../utils/common-translations.js';import _0x31a2c5 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Tt extends _0x35b73c{constructor(_0x302b96,_0x182140){super(_0x302b96);const _0x937c86=this['bindTemplate'];this[_0x6e42('0x25')]=_0x182140,this[_0x6e42('0x10')]=this['_createReopenButton'](),this['bind'](_0x6e42('0x2'))['to'](this[_0x6e42('0x25')],_0x6e42('0x1c'),_0x1df652=>!!_0x1df652),this[_0x6e42('0x9')](_0x6e42('0x0'))['to'](this['_model'],_0x6e42('0x1c'),_0x2985fd=>_0x2985fd&&_0x2985fd[_0x6e42('0x27')]?this['_trimContextValue'](_0x2985fd['value']):_0x579c74(this[_0x6e42('0x14')],_0x6e42('0x11'))),this['setTemplate']({'tag':_0x6e42('0x22'),'attributes':{'class':[_0x6e42('0xe')]},'children':[{'tag':_0x6e42('0x22'),'attributes':{'class':['ck-context-wrapper']},'children':[{'tag':_0x6e42('0x22'),'attributes':{'class':[_0x6e42('0x20'),_0x937c86['if'](_0x6e42('0x2'),_0x6e42('0x8'))]},'children':[{'tag':_0x6e42('0xc'),'attributes':{'class':[_0x6e42('0x1f')]},'children':[{'text':_0x937c86['to']('contextValue')}]}]}]},{'tag':'div','attributes':{'class':['ck-annotation__actions']},'children':[this[_0x6e42('0x10')]]}]});}[_0x6e42('0x1')](){super[_0x6e42('0x1')](),this[_0x6e42('0xf')]();}[_0x6e42('0xd')](){const _0x4880cc=new _0x2af6b0(this['locale']);return _0x4880cc['label']=_0x579c74(this['locale'],_0x6e42('0x28')),_0x4880cc[_0x6e42('0x1a')]=_0x579c74(this[_0x6e42('0x14')],_0x6e42('0x28')),_0x4880cc[_0x6e42('0x1e')]=_0x31a2c5,_0x4880cc['bind']('isEnabled')['to'](this[_0x6e42('0x25')],_0x6e42('0x12'),_0x4da71c=>!_0x4da71c),_0x4880cc['bind'](_0x6e42('0x18'))['to'](this['_model'],_0x6e42('0x1d'),this[_0x6e42('0x25')],_0x6e42('0x2a'),(_0x1c6aa5,_0x2c9a79)=>_0x1c6aa5&&_0x2c9a79),_0x4880cc['on'](_0x6e42('0xb'),()=>{this[_0x6e42('0x6')]('reopenCommentThread',this[_0x6e42('0x25')]['id']);}),_0x4880cc;}['_trimContextValue'](_0x249d71){if(_0x249d71[_0x6e42('0x1b')]<0x96)return _0x249d71;const _0x458bf1=_0x249d71[_0x6e42('0xa')]('\x20',0x93);return _0x249d71[_0x6e42('0x5')](0x0,_0x458bf1>-0x1?_0x458bf1:0x93)+_0x6e42('0x7');}[_0x6e42('0xf')](){const _0x535256=this['element'][_0x6e42('0x4')](_0x6e42('0x24')),_0x38f563=_0x535256['querySelector'](_0x6e42('0x13'));this[_0x6e42('0x17')](_0x535256,_0x6e42('0x23'),()=>{_0x38f563[_0x6e42('0x3')]<_0x38f563[_0x6e42('0x26')]&&_0x535256[_0x6e42('0x19')][_0x6e42('0x21')](_0x6e42('0x16'));}),this[_0x6e42('0x17')](_0x535256,_0x6e42('0x29'),()=>{_0x535256[_0x6e42('0x19')][_0x6e42('0x15')]('overlay');});}}
23
+ const _0x76f6=['render','.ck-context','ck-context__value','locale','offsetWidth','...','listenTo','_trimContextValue','element','isVisible','isEnabled','reopenCommentThread','_attachContextActions','setTemplate','mouseleave','.ck-context__value','_model','bind','fire','value','isResolvable','hasContext','div','ck-thread__header','ck-context-wrapper','execute','querySelector','classList','length','contextValue','isResolved','context','isReadOnly','reopenButtonView','substring','remove','lastIndexOf','add','tooltip','label','scrollWidth','bindTemplate','overlay','_createReopenButton','Reopen','ck-annotation__actions'];(function(_0x2771d7,_0x76f6d9){const _0x2589fc=function(_0x41fefd){while(--_0x41fefd){_0x2771d7['push'](_0x2771d7['shift']());}};_0x2589fc(++_0x76f6d9);}(_0x76f6,0x109));const _0x2589=function(_0x2771d7,_0x76f6d9){_0x2771d7=_0x2771d7-0x0;let _0x2589fc=_0x76f6[_0x2771d7];return _0x2589fc;};import{View as _0x1d4a8c,ButtonView as _0x505854}from'ckeditor5/src/ui.js';import{getTranslation as _0x1b571e}from'../../../utils/common-translations.js';import _0x292b98 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Tt extends _0x1d4a8c{constructor(_0x1e1a8d,_0x25e8c6){super(_0x1e1a8d);const _0x546d64=this[_0x2589('0x6')];this['_model']=_0x25e8c6,this[_0x2589('0x2c')]=this[_0x2589('0x8')](),this[_0x2589('0x1c')](_0x2589('0x20'))['to'](this[_0x2589('0x1b')],_0x2589('0x2a'),_0x52ce34=>!!_0x52ce34),this['bind'](_0x2589('0x28'))['to'](this[_0x2589('0x1b')],_0x2589('0x2a'),_0x243daa=>_0x243daa&&_0x243daa[_0x2589('0x1e')]?this['_trimContextValue'](_0x243daa['value']):_0x1b571e(this['locale'],'Comment\x20was\x20made\x20on\x20an\x20element')),this[_0x2589('0x18')]({'tag':'div','attributes':{'class':[_0x2589('0x22')]},'children':[{'tag':'div','attributes':{'class':[_0x2589('0x23')]},'children':[{'tag':_0x2589('0x21'),'attributes':{'class':['ck-context',_0x546d64['if'](_0x2589('0x20'),'ck-context--quotes')]},'children':[{'tag':'span','attributes':{'class':[_0x2589('0xd')]},'children':[{'text':_0x546d64['to'](_0x2589('0x28'))}]}]}]},{'tag':_0x2589('0x21'),'attributes':{'class':[_0x2589('0xa')]},'children':[this[_0x2589('0x2c')]]}]});}[_0x2589('0xb')](){super['render'](),this['_attachContextActions']();}[_0x2589('0x8')](){const _0x5e4e81=new _0x505854(this['locale']);return _0x5e4e81[_0x2589('0x4')]=_0x1b571e(this['locale'],_0x2589('0x9')),_0x5e4e81[_0x2589('0x3')]=_0x1b571e(this[_0x2589('0xe')],_0x2589('0x9')),_0x5e4e81['icon']=_0x292b98,_0x5e4e81[_0x2589('0x1c')](_0x2589('0x15'))['to'](this[_0x2589('0x1b')],_0x2589('0x2b'),_0x1967fc=>!_0x1967fc),_0x5e4e81[_0x2589('0x1c')](_0x2589('0x14'))['to'](this[_0x2589('0x1b')],_0x2589('0x1f'),this[_0x2589('0x1b')],_0x2589('0x29'),(_0x4708ea,_0x5304d8)=>_0x4708ea&&_0x5304d8),_0x5e4e81['on'](_0x2589('0x24'),()=>{this[_0x2589('0x1d')](_0x2589('0x16'),this[_0x2589('0x1b')]['id']);}),_0x5e4e81;}[_0x2589('0x12')](_0x1eda6e){if(_0x1eda6e[_0x2589('0x27')]<0x96)return _0x1eda6e;const _0x29cea3=_0x1eda6e[_0x2589('0x1')]('\x20',0x93);return _0x1eda6e[_0x2589('0x2d')](0x0,_0x29cea3>-0x1?_0x29cea3:0x93)+_0x2589('0x10');}[_0x2589('0x17')](){const _0xc507a=this[_0x2589('0x13')][_0x2589('0x25')](_0x2589('0xc')),_0x5e5487=_0xc507a[_0x2589('0x25')](_0x2589('0x1a'));this['listenTo'](_0xc507a,'mouseenter',()=>{_0x5e5487[_0x2589('0xf')]<_0x5e5487[_0x2589('0x5')]&&_0xc507a[_0x2589('0x26')][_0x2589('0x2')](_0x2589('0x7'));}),this[_0x2589('0x11')](_0xc507a,_0x2589('0x19'),()=>{_0xc507a[_0x2589('0x26')][_0x2589('0x0')](_0x2589('0x7'));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3362=['bindTemplate','createEditor','focusTracker','ck-comment__input-container--active','change:showInput','editorDestroyed','ck-thread__input','destroy','showInput','ck-thread__user','bind','showButtons','value','extendTemplate','then','div','editor','delegate','userView','commentInputView','editorReady'];(function(_0x288059,_0x336297){var _0x15811d=function(_0x34f9b7){while(--_0x34f9b7){_0x288059['push'](_0x288059['shift']());}};_0x15811d(++_0x336297);}(_0x3362,0x10e));var _0x1581=function(_0x288059,_0x336297){_0x288059=_0x288059-0x0;var _0x15811d=_0x3362[_0x288059];return _0x15811d;};import{View as _0x28dc16}from'ckeditor5/src/ui.js';import _0x29d483 from'./commentinputview.js';import{UserView as _0x4d8680}from'ckeditor5-collaboration/src/collaboration-core.js';export default class Ct extends _0x28dc16{constructor(_0x5936ad,_0xb9431d,_0x28c5a6){super(_0x5936ad),this[_0x1581('0x1')]=new _0x29d483(_0x5936ad,_0x28c5a6),this[_0x1581('0x1')][_0x1581('0xd')](_0x1581('0xe'))['to'](this[_0x1581('0x1')][_0x1581('0x5')],'isFocused',this[_0x1581('0x1')],_0x1581('0xf'),(_0x4ac3be,_0x19e715)=>_0x4ac3be||!!_0x19e715),this['set'](_0x1581('0xb'),!0x1),this['on'](_0x1581('0x7'),()=>{this[_0x1581('0xb')]&&!this[_0x1581('0x1')][_0x1581('0x13')]&&this[_0x1581('0x1')][_0x1581('0x4')]();}),this[_0x1581('0x1')][_0x1581('0x14')](_0x1581('0x2'))['to'](this),this[_0x1581('0x1')][_0x1581('0x14')](_0x1581('0x8'))['to'](this),this[_0x1581('0x0')]=new _0x4d8680(_0x5936ad,_0xb9431d),this[_0x1581('0x0')][_0x1581('0x10')]({'attributes':{'class':_0x1581('0xc')}}),this['commentInputView']['extendTemplate']({'attributes':{'class':_0x1581('0x9')}}),this['setTemplate']({'tag':_0x1581('0x12'),'attributes':{'class':['ck-comment__input-container',this[_0x1581('0x3')]['if']('showInput',_0x1581('0x6'))]},'children':[this[_0x1581('0x0')],this['commentInputView']]});}[_0x1581('0xa')](){return this['commentInputView'][_0x1581('0xa')]()[_0x1581('0x11')](()=>super[_0x1581('0xa')]());}}
23
+ var _0x8ada=['value','change:showInput','editorReady','ck-thread__user','setTemplate','then','set','ck-comment__input-container','commentInputView','focusTracker','extendTemplate','div','destroy','createEditor','userView','ck-comment__input-container--active','showButtons','ck-thread__input','editorDestroyed','showInput','delegate'];(function(_0x262502,_0x8ada59){var _0x8b4c94=function(_0x598f52){while(--_0x598f52){_0x262502['push'](_0x262502['shift']());}};_0x8b4c94(++_0x8ada59);}(_0x8ada,0x104));var _0x8b4c=function(_0x262502,_0x8ada59){_0x262502=_0x262502-0x0;var _0x8b4c94=_0x8ada[_0x262502];return _0x8b4c94;};import{View as _0x2f05e8}from'ckeditor5/src/ui.js';import _0x34f77b from'./commentinputview.js';import{UserView as _0x18c62d}from'ckeditor5-collaboration/src/collaboration-core.js';export default class Ct extends _0x2f05e8{constructor(_0x234d49,_0x55606e,_0x3c00fc){super(_0x234d49),this[_0x8b4c('0x0')]=new _0x34f77b(_0x234d49,_0x3c00fc),this[_0x8b4c('0x0')]['bind'](_0x8b4c('0x8'))['to'](this[_0x8b4c('0x0')][_0x8b4c('0x1')],'isFocused',this[_0x8b4c('0x0')],_0x8b4c('0xd'),(_0x599b9b,_0x1faafc)=>_0x599b9b||!!_0x1faafc),this[_0x8b4c('0x13')](_0x8b4c('0xb'),!0x1),this['on'](_0x8b4c('0xe'),()=>{this[_0x8b4c('0xb')]&&!this['commentInputView']['editor']&&this[_0x8b4c('0x0')][_0x8b4c('0x5')]();}),this[_0x8b4c('0x0')][_0x8b4c('0xc')](_0x8b4c('0xf'))['to'](this),this[_0x8b4c('0x0')]['delegate'](_0x8b4c('0xa'))['to'](this),this[_0x8b4c('0x6')]=new _0x18c62d(_0x234d49,_0x55606e),this[_0x8b4c('0x6')]['extendTemplate']({'attributes':{'class':_0x8b4c('0x10')}}),this[_0x8b4c('0x0')][_0x8b4c('0x2')]({'attributes':{'class':_0x8b4c('0x9')}}),this[_0x8b4c('0x11')]({'tag':_0x8b4c('0x3'),'attributes':{'class':[_0x8b4c('0x14'),this['bindTemplate']['if'](_0x8b4c('0xb'),_0x8b4c('0x7'))]},'children':[this['userView'],this[_0x8b4c('0x0')]]});}[_0x8b4c('0x4')](){return this[_0x8b4c('0x0')][_0x8b4c('0x4')]()[_0x8b4c('0x12')](()=>super['destroy']());}}