@ckeditor/ckeditor5-comments 0.0.0-nightly-20240130.0 → 0.0.0-nightly-20240131.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 _0xb68d=['dataInsert','addCommentThread','config','basic','listenTo','execute','commands','forEach','collaboration_features','editor','map','_handleImportedData','define','collaboration.channelId','plugins'];(function(_0x1f1feb,_0xb68df0){const _0x41e471=function(_0x5ed01d){while(--_0x5ed01d){_0x1f1feb['push'](_0x1f1feb['shift']());}};_0x41e471(++_0xb68df0);}(_0xb68d,0xe6));const _0x41e4=function(_0x1f1feb,_0xb68df0){_0x1f1feb=_0x1f1feb-0x0;let _0x41e471=_0xb68d[_0x1f1feb];return _0x41e471;};import{Plugin as _0x3f835a}from'ckeditor5/src/core.js';import{priorities as _0x10490e}from'ckeditor5/src/utils.js';import{Users as _0x5a5960}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x534c87 from'../commentsrepository.js';export default class Z extends _0x3f835a{constructor(_0x5ad411){super(_0x5ad411),this[_0x41e4('0x4')][_0x41e4('0xc')][_0x41e4('0x7')]('importWord.formatting.comments',_0x41e4('0xd'));}['afterInit'](){const _0x54c4a0=this[_0x41e4('0x4')],_0x2531a5=_0x54c4a0[_0x41e4('0x1')]['get']('importWord'),_0x41a539=_0x54c4a0[_0x41e4('0x9')]['get'](_0x5a5960);_0x2531a5&&(_0x2531a5['on'](_0x41e4('0x0'),(_0x3fc478,[,_0x471f69])=>{_0x471f69[_0x41e4('0x3')]={'comments':!0x0,'user_id':_0x41a539['me']['id']};},{'priority':_0x10490e['high']+0xa}),this[_0x41e4('0xe')](_0x2531a5,_0x41e4('0xa'),this['_handleImportedData']));}[_0x41e4('0x6')](_0x1e6c54,_0x790625){const {comment_threads:_0x207bab}=_0x790625;_0x207bab&&_0x207bab[_0x41e4('0x2')](({thread_id:_0x23ef7e,comments:_0x2a68db,is_resolved:_0xe1584a})=>{const _0x11d703=new Date(),_0x501bc0=_0x2a68db[_0x41e4('0x5')](({author:_0x942f8,content:_0x587031,created_at:_0x437046})=>({'content':_0x587031,'authorId':this['editor'][_0x41e4('0x9')]['get'](_0x5a5960)['me']['id'],'createdAt':_0x11d703,'attributes':{'@external':{'authorName':_0x942f8,'createdAt':_0x437046?new Date(_0x437046):new Date(),'source':'importWord'}}})),_0x471c8a=this[_0x41e4('0x4')][_0x41e4('0xc')]['get'](_0x41e4('0x8'));this[_0x41e4('0x4')][_0x41e4('0x9')]['get'](_0x534c87)[_0x41e4('0xb')]({'channelId':_0x471c8a,'threadId':_0x23ef7e,'comments':_0x501bc0,'resolvedAt':_0xe1584a?_0x11d703:null});});}}
23
+ const _0x5763=['_handleImportedData','forEach','importWord','basic','listenTo','collaboration.channelId','config','get','plugins','high','define','dataInsert','afterInit','editor','execute'];(function(_0x2da2e2,_0x5763a3){const _0x2612d4=function(_0x301020){while(--_0x301020){_0x2da2e2['push'](_0x2da2e2['shift']());}};_0x2612d4(++_0x5763a3);}(_0x5763,0x123));const _0x2612=function(_0x2da2e2,_0x5763a3){_0x2da2e2=_0x2da2e2-0x0;let _0x2612d4=_0x5763[_0x2da2e2];return _0x2612d4;};import{Plugin as _0x14705b}from'ckeditor5/src/core.js';import{priorities as _0x568490}from'ckeditor5/src/utils.js';import{Users as _0x51b28a}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x557773 from'../commentsrepository.js';export default class Z extends _0x14705b{constructor(_0x474e8a){super(_0x474e8a),this[_0x2612('0x7')]['config'][_0x2612('0x4')]('importWord.formatting.comments',_0x2612('0xc'));}[_0x2612('0x6')](){const _0x3f1b1e=this['editor'],_0x393dde=_0x3f1b1e['commands'][_0x2612('0x1')](_0x2612('0xb')),_0x2ea192=_0x3f1b1e['plugins'][_0x2612('0x1')](_0x51b28a);_0x393dde&&(_0x393dde['on'](_0x2612('0x8'),(_0x4eaf1e,[,_0x31f29d])=>{_0x31f29d['collaboration_features']={'comments':!0x0,'user_id':_0x2ea192['me']['id']};},{'priority':_0x568490[_0x2612('0x3')]+0xa}),this[_0x2612('0xd')](_0x393dde,_0x2612('0x5'),this[_0x2612('0x9')]));}[_0x2612('0x9')](_0x433b6a,_0x4627d0){const {comment_threads:_0x45d576}=_0x4627d0;_0x45d576&&_0x45d576[_0x2612('0xa')](({thread_id:_0x2d75d1,comments:_0x52d6e8,is_resolved:_0x26dc5e})=>{const _0x26c2d9=new Date(),_0xe757f5=_0x52d6e8['map'](({author:_0x571fca,content:_0x549574,created_at:_0x39b07c})=>({'content':_0x549574,'authorId':this['editor'][_0x2612('0x2')][_0x2612('0x1')](_0x51b28a)['me']['id'],'createdAt':_0x26c2d9,'attributes':{'@external':{'authorName':_0x571fca,'createdAt':_0x39b07c?new Date(_0x39b07c):new Date(),'source':'importWord'}}})),_0x5df57e=this[_0x2612('0x7')][_0x2612('0x0')][_0x2612('0x1')](_0x2612('0xe'));this[_0x2612('0x7')][_0x2612('0x2')][_0x2612('0x1')](_0x557773)['addCommentThread']({'channelId':_0x5df57e,'threadId':_0x2d75d1,'comments':_0xe757f5,'resolvedAt':_0x26dc5e?_0x26c2d9:null});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x595a=['placeholderElement','end','_updatePlaceholder','focus','set','change','init','config','createRoot','setSelection','view','then','change:placeholder','editing','plugins','document','placeholder','destroy','low','childCount','ready','getChild','assign','defaultPlugins','getRoot','model','create','data','get','initPlugins','fire'];(function(_0x18459e,_0x595ae5){const _0x2c0501=function(_0x4c1d32){while(--_0x4c1d32){_0x18459e['push'](_0x18459e['shift']());}};_0x2c0501(++_0x595ae5);}(_0x595a,0xca));const _0x2c05=function(_0x18459e,_0x595ae5){_0x18459e=_0x18459e-0x0;let _0x2c0501=_0x595a[_0x18459e];return _0x2c0501;};import{Editor as _0x19d73e,DataApiMixin as _0x13ea46}from'ckeditor5/src/core.js';import _0x548100 from'./commenteditorui.js';import{ObservableMixin as _0x2f778c}from'ckeditor5/src/utils.js';import{enablePlaceholder as _0x2e6c99,disablePlaceholder as _0x56a016}from'ckeditor5/src/engine.js';import{Clipboard as _0x341ea3}from'ckeditor5/src/clipboard.js';import{Enter as _0x5b2d03,ShiftEnter as _0x5d6fae}from'ckeditor5/src/enter.js';import{SelectAll as _0x325240}from'ckeditor5/src/select-all.js';import{Typing as _0xed00bf}from'ckeditor5/src/typing.js';import{Undo as _0x1d4dc5}from'ckeditor5/src/undo.js';import{Paragraph as _0x4e2148}from'ckeditor5/src/paragraph.js';const Mt=[_0x341ea3,_0x5b2d03,_0x5d6fae,_0x325240,_0xed00bf,_0x1d4dc5,_0x4e2148];class Nt extends _0x2f778c(_0x13ea46(_0x19d73e)){constructor(_0x223022={}){(_0x223022=Object[_0x2c05('0x6')]({},_0x223022))['plugins']||(_0x223022[_0x2c05('0x1d')]=Nt[_0x2c05('0x7')]),super(_0x223022),this['ui']=new _0x548100(this),this[_0x2c05('0x13')]('placeholder',''),this[_0x2c05('0x9')]['document']['on']('change',()=>this['_updatePlaceholder'](),{'priority':_0x2c05('0x2')}),this['on'](_0x2c05('0x1b'),()=>this[_0x2c05('0x11')]()),this[_0x2c05('0x9')][_0x2c05('0x1e')][_0x2c05('0x17')]();}[_0x2c05('0xa')](){const _0x33fe73=this[_0x2c05('0x16')][_0x2c05('0xc')]('initialData')||'';return this[_0x2c05('0xd')]()[_0x2c05('0x1a')](()=>this['ui'][_0x2c05('0x15')]())[_0x2c05('0x1a')](()=>this[_0x2c05('0xb')]['init'](_0x33fe73))[_0x2c05('0x1a')](()=>this[_0x2c05('0xe')](_0x2c05('0x4')));}[_0x2c05('0x1')](){return super['destroy']()['then'](()=>this['ui'][_0x2c05('0x1')]());}[_0x2c05('0x12')](){this['model'][_0x2c05('0x14')](_0x3fcacc=>{const _0x18532f=this[_0x2c05('0x9')]['document'][_0x2c05('0x8')](),_0x122369=_0x18532f&&_0x18532f[_0x2c05('0x5')](_0x18532f[_0x2c05('0x3')]-0x1);_0x3fcacc[_0x2c05('0x18')](_0x122369,_0x2c05('0x10')),this[_0x2c05('0x1c')][_0x2c05('0x19')][_0x2c05('0x12')]();});}[_0x2c05('0x11')](){const _0x48500e=this[_0x2c05('0x1c')][_0x2c05('0x19')],_0x50faa2=_0x48500e[_0x2c05('0x1e')]['getRoot'](),_0x42b2cb=_0x50faa2[_0x2c05('0x5')](0x0);_0x50faa2[_0x2c05('0x3')]>0x1||!_0x42b2cb||'p'!=_0x42b2cb['name']?this[_0x2c05('0xf')]&&this[_0x2c05('0xf')][_0x2c05('0x0')]&&(_0x56a016(_0x48500e,this['placeholderElement']),this[_0x2c05('0xf')]=void 0x0):(this['placeholder']&&(_0x42b2cb[_0x2c05('0x0')]=this[_0x2c05('0x0')]),_0x2e6c99({'view':_0x48500e,'element':_0x42b2cb,'keepOnFocus':!0x0}),this[_0x2c05('0xf')]=_0x42b2cb);}}Nt[_0x2c05('0x7')]=Mt;export default Nt;
23
+ const _0x1137=['change','placeholder','_updatePlaceholder','fire','low','data','init','editing','view','getRoot','model','document','defaultPlugins','ready','destroy','end','focus','change:placeholder','placeholderElement','getChild','create','assign','initPlugins','childCount','then','plugins','config'];(function(_0xff466b,_0x11376d){const _0x601120=function(_0x480d0f){while(--_0x480d0f){_0xff466b['push'](_0xff466b['shift']());}};_0x601120(++_0x11376d);}(_0x1137,0xa7));const _0x6011=function(_0xff466b,_0x11376d){_0xff466b=_0xff466b-0x0;let _0x601120=_0x1137[_0xff466b];return _0x601120;};import{Editor as _0x306b4b,DataApiMixin as _0x337800}from'ckeditor5/src/core.js';import _0x4a1d18 from'./commenteditorui.js';import{ObservableMixin as _0x34caa0}from'ckeditor5/src/utils.js';import{enablePlaceholder as _0x565109,disablePlaceholder as _0x5782ea}from'ckeditor5/src/engine.js';import{Clipboard as _0x45164b}from'ckeditor5/src/clipboard.js';import{Enter as _0x127af2,ShiftEnter as _0x4dd0dd}from'ckeditor5/src/enter.js';import{SelectAll as _0xef9046}from'ckeditor5/src/select-all.js';import{Typing as _0x5ede89}from'ckeditor5/src/typing.js';import{Undo as _0x307883}from'ckeditor5/src/undo.js';import{Paragraph as _0x28c1b7}from'ckeditor5/src/paragraph.js';const Mt=[_0x45164b,_0x127af2,_0x4dd0dd,_0xef9046,_0x5ede89,_0x307883,_0x28c1b7];class Nt extends _0x34caa0(_0x337800(_0x306b4b)){constructor(_0x541b12={}){(_0x541b12=Object[_0x6011('0x10')]({},_0x541b12))['plugins']||(_0x541b12[_0x6011('0x14')]=Nt['defaultPlugins']),super(_0x541b12),this['ui']=new _0x4a1d18(this),this['set']('placeholder',''),this[_0x6011('0x5')][_0x6011('0x6')]['on'](_0x6011('0x16'),()=>this[_0x6011('0x18')](),{'priority':_0x6011('0x1a')}),this['on'](_0x6011('0xc'),()=>this['_updatePlaceholder']()),this[_0x6011('0x5')][_0x6011('0x6')]['createRoot']();}[_0x6011('0xf')](){const _0x501cc1=this[_0x6011('0x15')]['get']('initialData')||'';return this[_0x6011('0x11')]()[_0x6011('0x13')](()=>this['ui']['init']())[_0x6011('0x13')](()=>this[_0x6011('0x0')][_0x6011('0x1')](_0x501cc1))['then'](()=>this[_0x6011('0x19')](_0x6011('0x8')));}['destroy'](){return super[_0x6011('0x9')]()[_0x6011('0x13')](()=>this['ui']['destroy']());}[_0x6011('0xb')](){this[_0x6011('0x5')][_0x6011('0x16')](_0x3a4523=>{const _0x1265e9=this['model'][_0x6011('0x6')][_0x6011('0x4')](),_0x15197a=_0x1265e9&&_0x1265e9[_0x6011('0xe')](_0x1265e9[_0x6011('0x12')]-0x1);_0x3a4523['setSelection'](_0x15197a,_0x6011('0xa')),this[_0x6011('0x2')][_0x6011('0x3')]['focus']();});}['_updatePlaceholder'](){const _0x140443=this['editing'][_0x6011('0x3')],_0x54aec3=_0x140443[_0x6011('0x6')][_0x6011('0x4')](),_0x18ae02=_0x54aec3['getChild'](0x0);_0x54aec3['childCount']>0x1||!_0x18ae02||'p'!=_0x18ae02['name']?this['placeholderElement']&&this[_0x6011('0xd')]['placeholder']&&(_0x5782ea(_0x140443,this[_0x6011('0xd')]),this[_0x6011('0xd')]=void 0x0):(this[_0x6011('0x17')]&&(_0x18ae02[_0x6011('0x17')]=this['placeholder']),_0x565109({'view':_0x140443,'element':_0x18ae02,'keepOnFocus':!0x0}),this[_0x6011('0xd')]=_0x18ae02);}}Nt[_0x6011('0x7')]=Mt;export default Nt;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x52d8=['focusTracker','fire','attachDomRoot','render','editable','view','destroy','bind','isFocused','setEditableElement','ready','editing','name','document','rootName','init','element'];(function(_0x2b1668,_0x52d868){const _0x3f1438=function(_0x4f9ec1){while(--_0x4f9ec1){_0x2b1668['push'](_0x2b1668['shift']());}};_0x3f1438(++_0x52d868);}(_0x52d8,0x119));const _0x3f14=function(_0x2b1668,_0x52d868){_0x2b1668=_0x2b1668-0x0;let _0x3f1438=_0x52d8[_0x2b1668];return _0x3f1438;};import{EditorUI as _0x33c4de}from'ckeditor5/src/ui.js';import _0x2a7be4 from'./commenteditoruiview.js';export default class Ft extends _0x33c4de{constructor(_0x22e8f1){super(_0x22e8f1),this[_0x3f14('0xd')]=new _0x2a7be4(_0x22e8f1['locale'],_0x22e8f1[_0x3f14('0x2')][_0x3f14('0xd')]);}get[_0x3f14('0x7')](){return this['view']['element'];}[_0x3f14('0x6')](){const _0x1e026c=this['editor'][_0x3f14('0x2')]['view'],_0x32819e=this[_0x3f14('0xd')]['editable'],_0xd774c9=_0x1e026c[_0x3f14('0x4')]['getRoot']();_0x32819e[_0x3f14('0x3')]=_0xd774c9[_0x3f14('0x5')],this[_0x3f14('0xd')][_0x3f14('0xb')]();const _0x354240=_0x32819e[_0x3f14('0x7')];this[_0x3f14('0x0')](_0x32819e[_0x3f14('0x3')],_0x354240),this['view'][_0x3f14('0xc')][_0x3f14('0xf')](_0x3f14('0x10'))['to'](this[_0x3f14('0x8')]),_0x1e026c[_0x3f14('0xa')](_0x354240),this[_0x3f14('0x9')](_0x3f14('0x1'));}[_0x3f14('0xe')](){super['destroy'](),this[_0x3f14('0xd')]['destroy']();}}
23
+ const _0x56b1=['getRoot','document','bind','focusTracker','locale','name','destroy','editable','editor','view','init','render','editing','ready','element','rootName','attachDomRoot'];(function(_0x148aa1,_0x56b1a0){const _0x1d1ee1=function(_0x5aab4e){while(--_0x5aab4e){_0x148aa1['push'](_0x148aa1['shift']());}};_0x1d1ee1(++_0x56b1a0);}(_0x56b1,0xba));const _0x1d1e=function(_0x148aa1,_0x56b1a0){_0x148aa1=_0x148aa1-0x0;let _0x1d1ee1=_0x56b1[_0x148aa1];return _0x1d1ee1;};import{EditorUI as _0x47b3e3}from'ckeditor5/src/ui.js';import _0x2aff2d from'./commenteditoruiview.js';export default class Ft extends _0x47b3e3{constructor(_0x35ffd2){super(_0x35ffd2),this[_0x1d1e('0xa')]=new _0x2aff2d(_0x35ffd2[_0x1d1e('0x5')],_0x35ffd2[_0x1d1e('0xd')][_0x1d1e('0xa')]);}get[_0x1d1e('0xf')](){return this[_0x1d1e('0xa')][_0x1d1e('0xf')];}[_0x1d1e('0xb')](){const _0x1bf384=this[_0x1d1e('0x9')][_0x1d1e('0xd')]['view'],_0x1aa16a=this['view'][_0x1d1e('0x8')],_0x16e88a=_0x1bf384[_0x1d1e('0x2')][_0x1d1e('0x1')]();_0x1aa16a[_0x1d1e('0x6')]=_0x16e88a[_0x1d1e('0x10')],this['view'][_0x1d1e('0xc')]();const _0x20d2b3=_0x1aa16a[_0x1d1e('0xf')];this['setEditableElement'](_0x1aa16a[_0x1d1e('0x6')],_0x20d2b3),this['view']['editable'][_0x1d1e('0x3')]('isFocused')['to'](this[_0x1d1e('0x4')]),_0x1bf384[_0x1d1e('0x0')](_0x20d2b3),this['fire'](_0x1d1e('0xe'));}[_0x1d1e('0x7')](){super[_0x1d1e('0x7')](),this[_0x1d1e('0xa')][_0x1d1e('0x7')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2984=['editable','ck-voice-label','div','comment','add','ck-editor__main','uiLanguage','extendTemplate','main','presentation','_voiceLabelView','render','element','uiLanguageDirection','ck-editor__aria-label_','createCollection','focus','Comment\x20editor','cke-editor__aria-label_','_createVoiceLabel'];(function(_0x4289e3,_0x298408){const _0x45dac7=function(_0xc12ac4){while(--_0xc12ac4){_0x4289e3['push'](_0x4289e3['shift']());}};_0x45dac7(++_0x298408);}(_0x2984,0x17b));const _0x45da=function(_0x4289e3,_0x298408){_0x4289e3=_0x4289e3-0x0;let _0x45dac7=_0x2984[_0x4289e3];return _0x45dac7;};import{InlineEditableUIView as _0x4887be,EditorUIView as _0x1a72f8,LabelView as _0x41b3bb}from'ckeditor5/src/ui.js';import{uid as _0x155110}from'ckeditor5/src/utils.js';import{getTranslation as _0x1196e1}from'../../../utils/common-translations.js';export default class Rt extends _0x1a72f8{constructor(_0x2e688e,_0x4df372){super(_0x2e688e);const _0x5d3033=_0x155110();this[_0x45da('0x9')]=this[_0x45da('0x10')](),this[_0x45da('0x1')]=new _0x4887be(_0x2e688e,_0x4df372),this[_0x45da('0xb')]=this[_0x45da('0x0')](_0x5d3033,_0x2e688e),this['setTemplate']({'tag':_0x45da('0x3'),'attributes':{'class':['ck-reset','ck-editor','ck-rounded-corners','ck-comment__input'],'role':_0x45da('0x4'),'dir':_0x2e688e[_0x45da('0xe')],'lang':_0x2e688e[_0x45da('0x7')],'aria-labelledby':_0x45da('0x13')+_0x5d3033},'children':[this[_0x45da('0xb')],{'tag':_0x45da('0x3'),'attributes':{'class':_0x45da('0x6'),'role':_0x45da('0xa')},'children':this[_0x45da('0x9')]}]});}[_0x45da('0xc')](){super['render'](),this[_0x45da('0x9')][_0x45da('0x5')](this['editable']);}[_0x45da('0x11')](){this[_0x45da('0x1')][_0x45da('0xd')][_0x45da('0x11')]();}[_0x45da('0x0')](_0x2a30d6,_0x1ba432){const _0x342c02=new _0x41b3bb();return _0x342c02['text']=_0x1196e1(_0x1ba432,_0x45da('0x12')),_0x342c02[_0x45da('0x8')]({'attributes':{'id':_0x45da('0xf')+_0x2a30d6,'class':_0x45da('0x2')}}),_0x342c02;}}
23
+ const _0xe84c=['focus','uiLanguage','Comment\x20editor','add','ck-comment__input','ck-voice-label','presentation','_voiceLabelView','editable','ck-editor__main','_createVoiceLabel','div','cke-editor__aria-label_','ck-rounded-corners','ck-reset','main','ck-editor__aria-label_','render','text','createCollection','extendTemplate','element'];(function(_0x412329,_0xe84c44){const _0x4f7878=function(_0x101555){while(--_0x101555){_0x412329['push'](_0x412329['shift']());}};_0x4f7878(++_0xe84c44);}(_0xe84c,0x175));const _0x4f78=function(_0x412329,_0xe84c44){_0x412329=_0x412329-0x0;let _0x4f7878=_0xe84c[_0x412329];return _0x4f7878;};import{InlineEditableUIView as _0x2c2827,EditorUIView as _0x309a97,LabelView as _0x8cbf0b}from'ckeditor5/src/ui.js';import{uid as _0x3bbb5a}from'ckeditor5/src/utils.js';import{getTranslation as _0x47c290}from'../../../utils/common-translations.js';export default class Rt extends _0x309a97{constructor(_0xa31bfb,_0x46b799){super(_0xa31bfb);const _0x49fcd2=_0x3bbb5a();this[_0x4f78('0x10')]=this[_0x4f78('0x14')](),this[_0x4f78('0x9')]=new _0x2c2827(_0xa31bfb,_0x46b799),this[_0x4f78('0x8')]=this[_0x4f78('0xb')](_0x49fcd2,_0xa31bfb),this['setTemplate']({'tag':_0x4f78('0xc'),'attributes':{'class':[_0x4f78('0xf'),'ck-editor',_0x4f78('0xe'),_0x4f78('0x5')],'role':'comment','dir':_0xa31bfb['uiLanguageDirection'],'lang':_0xa31bfb[_0x4f78('0x2')],'aria-labelledby':_0x4f78('0xd')+_0x49fcd2},'children':[this[_0x4f78('0x8')],{'tag':_0x4f78('0xc'),'attributes':{'class':_0x4f78('0xa'),'role':_0x4f78('0x7')},'children':this['main']}]});}['render'](){super[_0x4f78('0x12')](),this[_0x4f78('0x10')][_0x4f78('0x4')](this[_0x4f78('0x9')]);}['focus'](){this['editable'][_0x4f78('0x0')][_0x4f78('0x1')]();}[_0x4f78('0xb')](_0x1587ac,_0x328fc7){const _0x4edd86=new _0x8cbf0b();return _0x4edd86[_0x4f78('0x13')]=_0x47c290(_0x328fc7,_0x4f78('0x3')),_0x4edd86[_0x4f78('0x15')]({'attributes':{'id':_0x4f78('0x11')+_0x1587ac,'class':_0x4f78('0x6')}}),_0x4edd86;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1055=['model','submitCommentThread','updateComment','update','submit','reopen','stopListening','isResolved','_isAttached','view','removeComment','resolveCommentThread','reopenCommentThread','addComment','_localUser','resolve','removeCommentThread','getComment','listenTo','destroy','remove'];(function(_0x29e89e,_0x105508){var _0x203f02=function(_0x3899ca){while(--_0x3899ca){_0x29e89e['push'](_0x29e89e['shift']());}};_0x203f02(++_0x105508);}(_0x1055,0x114));var _0x203f=function(_0x29e89e,_0x105508){_0x29e89e=_0x29e89e-0x0;var _0x203f02=_0x1055[_0x29e89e];return _0x203f02;};import{ObservableMixin as _0x5ce2d2}from'ckeditor5/src/utils.js';export default class ut extends _0x5ce2d2(){constructor(_0x5ded28,_0x380163){super(),this['model']=_0x5ded28,this[_0x203f('0x12')]['_isAttached']=!0x0,this[_0x203f('0x6')]=_0x380163,this[_0x203f('0xf')](_0x380163,_0x203f('0x13'),()=>this[_0x203f('0x1')]()),this[_0x203f('0xf')](_0x380163,_0x203f('0xd'),()=>this[_0x203f('0x11')]()),this[_0x203f('0xf')](_0x380163,_0x203f('0x8'),()=>this['resolve']()),this[_0x203f('0xf')](_0x380163,_0x203f('0x9'),()=>this[_0x203f('0x2')]()),this[_0x203f('0xf')](_0x380163,_0x203f('0xa'),(_0x496a4a,_0x5197e9)=>this['addComment'](_0x5197e9)),this[_0x203f('0xf')](_0x380163,'updateComment',(_0x3cf1e2,_0x9c5379,_0x6cd1b6)=>this[_0x203f('0x14')](_0x9c5379,_0x6cd1b6)),this[_0x203f('0xf')](_0x380163,_0x203f('0x7'),(_0x5c1f54,_0x4d79eb)=>this[_0x203f('0x7')](_0x4d79eb));}[_0x203f('0x1')](){this['model'][_0x203f('0x1')]();}[_0x203f('0x11')](){this['model'][_0x203f('0x11')]();}[_0x203f('0xc')](){this[_0x203f('0x12')][_0x203f('0x4')]||this['model'][_0x203f('0xc')]();}['reopen'](){this[_0x203f('0x12')]['isResolved']&&this[_0x203f('0x12')][_0x203f('0x2')]();}[_0x203f('0xa')](_0x3f7328){this[_0x203f('0x12')][_0x203f('0xa')]({'content':_0x3f7328,'authorId':this[_0x203f('0x6')][_0x203f('0xb')]['id']});}['updateComment'](_0x4df9b8,_0x4eb6a1){this['model'][_0x203f('0xe')](_0x4df9b8)[_0x203f('0x0')]({'content':_0x4eb6a1});}[_0x203f('0x7')](_0x41418e){this['model']['getComment'](_0x41418e)[_0x203f('0x11')]();}[_0x203f('0x10')](){this[_0x203f('0x3')](),this['model'][_0x203f('0x5')]=!0x1;}}
23
+ var _0x5f14=['isResolved','_localUser','submitCommentThread','destroy','update','_isAttached','listenTo','getComment','removeCommentThread','reopenCommentThread','submit','remove','resolve','stopListening','reopen','updateComment','addComment','view','model','removeComment'];(function(_0x337ee8,_0x5f146e){var _0x1711c5=function(_0x28708e){while(--_0x28708e){_0x337ee8['push'](_0x337ee8['shift']());}};_0x1711c5(++_0x5f146e);}(_0x5f14,0x13c));var _0x1711=function(_0x337ee8,_0x5f146e){_0x337ee8=_0x337ee8-0x0;var _0x1711c5=_0x5f14[_0x337ee8];return _0x1711c5;};import{ObservableMixin as _0x168b91}from'ckeditor5/src/utils.js';export default class ut extends _0x168b91(){constructor(_0x219e26,_0x273b27){super(),this[_0x1711('0x2')]=_0x219e26,this[_0x1711('0x2')][_0x1711('0x9')]=!0x0,this[_0x1711('0x1')]=_0x273b27,this[_0x1711('0xa')](_0x273b27,_0x1711('0x6'),()=>this[_0x1711('0xe')]()),this[_0x1711('0xa')](_0x273b27,_0x1711('0xc'),()=>this['remove']()),this[_0x1711('0xa')](_0x273b27,'resolveCommentThread',()=>this[_0x1711('0x10')]()),this[_0x1711('0xa')](_0x273b27,_0x1711('0xd'),()=>this[_0x1711('0x12')]()),this[_0x1711('0xa')](_0x273b27,_0x1711('0x0'),(_0x420f10,_0x391315)=>this[_0x1711('0x0')](_0x391315)),this['listenTo'](_0x273b27,_0x1711('0x13'),(_0x58754f,_0x47c16d,_0x5566c9)=>this['updateComment'](_0x47c16d,_0x5566c9)),this[_0x1711('0xa')](_0x273b27,'removeComment',(_0xc77ec4,_0x4d9c09)=>this[_0x1711('0x3')](_0x4d9c09));}[_0x1711('0xe')](){this['model'][_0x1711('0xe')]();}[_0x1711('0xf')](){this[_0x1711('0x2')]['remove']();}[_0x1711('0x10')](){this[_0x1711('0x2')][_0x1711('0x4')]||this[_0x1711('0x2')][_0x1711('0x10')]();}[_0x1711('0x12')](){this[_0x1711('0x2')][_0x1711('0x4')]&&this[_0x1711('0x2')][_0x1711('0x12')]();}[_0x1711('0x0')](_0x19b8cc){this[_0x1711('0x2')][_0x1711('0x0')]({'content':_0x19b8cc,'authorId':this[_0x1711('0x1')][_0x1711('0x5')]['id']});}[_0x1711('0x13')](_0x29e15b,_0x335f59){this[_0x1711('0x2')][_0x1711('0xb')](_0x29e15b)[_0x1711('0x8')]({'content':_0x335f59});}[_0x1711('0x3')](_0x2436b2){this[_0x1711('0x2')][_0x1711('0xb')](_0x2436b2)[_0x1711('0xf')]();}[_0x1711('0x7')](){this[_0x1711('0x11')](),this[_0x1711('0x2')][_0x1711('0x9')]=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1be8=['commentThreadInputView','value','assign','isUnlinked','destroy','set','reopenCommentThread','Reply...','Comment','removeCommentThread','editorDestroyed','locale','updateComment','showInput','element','editorReady','isSubmitted','submitCommentThread','fire','length','commentsListView','placeholder','archivedAt','removeComment','_createCommentThreadInputView','Write\x20a\x20comment...','focus','Reply\x20to\x20reopen\x20discussion...','bind','isActive','listenTo','_config','isResolved','Reply','isResolvable','isReadOnly','commentThreadHeaderView','delegate','_model','canComment','isDirty'];(function(_0x1a9677,_0x1be8cc){const _0x56c1e5=function(_0x2374d5){while(--_0x2374d5){_0x1a9677['push'](_0x1a9677['shift']());}};_0x56c1e5(++_0x1be8cc);}(_0x1be8,0xd3));const _0x56c1=function(_0x1a9677,_0x1be8cc){_0x1a9677=_0x1a9677-0x0;let _0x56c1e5=_0x1be8[_0x1a9677];return _0x56c1e5;};import{View as _0x53907b}from'ckeditor5/src/ui.js';import _0x32f267 from'./commentthreadinputview.js';import _0x22a4c6 from'./commentslistview.js';import _0x3f925d from'./commentthreadheaderview.js';import{getTranslation as _0x3a0504}from'../../../utils/common-translations.js';export default class Ut extends _0x53907b{constructor(_0x351bf7,_0x2d3929,_0x510b8a,_0x1766ed){super(_0x351bf7),this[_0x56c1('0x28')](_0x56c1('0x17'),!0x1),this[_0x56c1('0x28')](_0x56c1('0x22'),!0x1),this[_0x56c1('0x20')]=_0x2d3929,this['_localUser']=_0x510b8a,this[_0x56c1('0x19')]=_0x1766ed,this[_0x56c1('0x1e')]=new _0x3f925d(_0x351bf7,_0x2d3929),this[_0x56c1('0x1e')][_0x56c1('0x1f')](_0x56c1('0x0'))['to'](this),this[_0x56c1('0x18')](this,'reopenCommentThread',()=>{this[_0x56c1('0x14')]();}),this[_0x56c1('0xe')]=new _0x22a4c6(_0x351bf7,_0x2d3929,Object[_0x56c1('0x25')]({'CommentView':this[_0x56c1('0x19')]['CommentView']},_0x1766ed)),this['commentsListView'][_0x56c1('0x1f')](_0x56c1('0x11'))['to'](this),this[_0x56c1('0xe')][_0x56c1('0x1f')](_0x56c1('0x6'))['to'](this),this[_0x56c1('0xe')][_0x56c1('0x1f')]('resolveCommentThread')['to'](this),this[_0x56c1('0xe')][_0x56c1('0x1f')](_0x56c1('0x9'))['to'](this),this['commentsListView'][_0x56c1('0x1f')](_0x56c1('0x4'))['to'](this),this[_0x56c1('0xe')][_0x56c1('0x16')](_0x56c1('0x17'))['to'](this),this[_0x56c1('0x18')](this,'resolveCommentThread',()=>{this[_0x56c1('0x14')]();}),this['set'](_0x56c1('0xd'),this[_0x56c1('0xe')][_0x56c1('0xd')]),this[_0x56c1('0x16')]('length')['to'](this[_0x56c1('0xe')],_0x56c1('0xd')),this[_0x56c1('0x23')]=this['_createCommentThreadInputView'](),this['commentThreadInputView']['delegate'](_0x56c1('0x9'))['to'](this),this['commentThreadInputView'][_0x56c1('0x1f')](_0x56c1('0x4'))['to'](this),this['on'](_0x56c1('0x11'),()=>this[_0x56c1('0x14')]()),this[_0x56c1('0x16')](_0x56c1('0x22'))['to'](this[_0x56c1('0xe')],'hasDirtyComment',this[_0x56c1('0x23')]['commentInputView'],_0x56c1('0x24'),(_0x52893c,_0x2179c6)=>_0x52893c||!!_0x2179c6),this[_0x56c1('0x16')](_0x56c1('0x26'))['to'](_0x2d3929,'unlinkedAt',_0x56b621=>!!_0x56b621);}['focus'](){this[_0x56c1('0x8')][_0x56c1('0x14')]();}async[_0x56c1('0x27')](){this['isDirty']=!0x1,this[_0x56c1('0xe')][_0x56c1('0x27')](),await this[_0x56c1('0x23')]['destroy'](),super[_0x56c1('0x27')]();}[_0x56c1('0x12')](){const _0x55d6f8=new _0x32f267(this['locale'],this['_localUser'],this[_0x56c1('0x19')]['editorConfig']),_0x2d9c23=_0x55d6f8['commentInputView'];return _0x55d6f8[_0x56c1('0x16')](_0x56c1('0x7'))['to'](this,_0x56c1('0x17'),this[_0x56c1('0x20')],'isReadOnly',this['_model'],_0x56c1('0x21'),this[_0x56c1('0x20')],_0x56c1('0x10'),_0x2d9c23,_0x56c1('0x24'),(_0x390be1,_0x443290,_0x3c22e8,_0x19a4d0,_0x435ac0)=>!!_0x435ac0||!!_0x19a4d0&&_0x3c22e8&&!_0x443290||_0x390be1&&_0x3c22e8&&!_0x443290),_0x2d9c23[_0x56c1('0x16')](_0x56c1('0xf'))['to'](this,_0x56c1('0xd'),this[_0x56c1('0x20')],_0x56c1('0x1c'),this[_0x56c1('0x20')],_0x56c1('0x1a'),(_0x26aeea,_0xeaf94,_0x284a2f)=>{let _0x5a8ce3;return _0x5a8ce3=_0x284a2f&&_0xeaf94?_0x56c1('0x15'):_0x26aeea?_0x56c1('0x1'):_0x56c1('0x13'),_0x3a0504(this[_0x56c1('0x5')],_0x5a8ce3);}),_0x2d9c23[_0x56c1('0x16')]('submitLabel')['to'](this,_0x56c1('0xd'),_0x43734b=>_0x3a0504(this['locale'],_0x43734b?_0x56c1('0x1b'):_0x56c1('0x2'))),_0x2d9c23['on']('submit',(_0x162c7f,_0x220b0c)=>{this['fire']('addComment',_0x220b0c),this[_0x56c1('0x20')][_0x56c1('0x1a')]&&this[_0x56c1('0x20')][_0x56c1('0x1c')]&&this[_0x56c1('0xc')](_0x56c1('0x0'),this[_0x56c1('0x20')]['id']),this[_0x56c1('0x20')][_0x56c1('0xa')]||this[_0x56c1('0xc')](_0x56c1('0xb'));}),_0x2d9c23['on']('cancel',()=>{this[_0x56c1('0x14')]();}),_0x2d9c23[_0x56c1('0x16')]('disabledSubmit')['to'](this[_0x56c1('0x20')],_0x56c1('0x1d')),_0x2d9c23['on']('cancel',_0x11d506=>{0x0==this[_0x56c1('0xd')]&&(this[_0x56c1('0xc')](_0x56c1('0x3')),_0x11d506['stop']());}),this['on']('change:isActive',(_0x5e2a3f,_0x44d095,_0x309445)=>{_0x309445||this[_0x56c1('0xd')]||_0x2d9c23['value']||this['fire'](_0x56c1('0x3'));}),_0x55d6f8;}}
23
+ const _0x2548=['isResolvable','canComment','archivedAt','_model','resolveCommentThread','isActive','submitLabel','removeCommentThread','focus','Write\x20a\x20comment...','_config','removeComment','CommentView','disabledSubmit','_createCommentThreadInputView','set','placeholder','cancel','Reply\x20to\x20reopen\x20discussion...','isReadOnly','element','unlinkedAt','length','commentThreadHeaderView','showInput','fire','_localUser','delegate','isResolved','change:isActive','destroy','commentInputView','Comment','isUnlinked','reopenCommentThread','assign','isDirty','editorReady','value','submitCommentThread','addComment','bind','Reply...','editorDestroyed','commentThreadInputView','editorConfig','commentsListView','locale','listenTo'];(function(_0x50279d,_0x2548b2){const _0x2ca7c4=function(_0x346861){while(--_0x346861){_0x50279d['push'](_0x50279d['shift']());}};_0x2ca7c4(++_0x2548b2);}(_0x2548,0x1b5));const _0x2ca7=function(_0x50279d,_0x2548b2){_0x50279d=_0x50279d-0x0;let _0x2ca7c4=_0x2548[_0x50279d];return _0x2ca7c4;};import{View as _0x3961c9}from'ckeditor5/src/ui.js';import _0x41e948 from'./commentthreadinputview.js';import _0x3c1e3f from'./commentslistview.js';import _0x2b5398 from'./commentthreadheaderview.js';import{getTranslation as _0x3840dd}from'../../../utils/common-translations.js';export default class Ut extends _0x3961c9{constructor(_0x54fe8c,_0x21af01,_0x3e34ef,_0x460a6c){super(_0x54fe8c),this[_0x2ca7('0x13')](_0x2ca7('0x9'),!0x1),this[_0x2ca7('0x13')](_0x2ca7('0x28'),!0x1),this[_0x2ca7('0x7')]=_0x21af01,this[_0x2ca7('0x1e')]=_0x3e34ef,this[_0x2ca7('0xe')]=_0x460a6c,this[_0x2ca7('0x1b')]=new _0x2b5398(_0x54fe8c,_0x21af01),this[_0x2ca7('0x1b')][_0x2ca7('0x1f')](_0x2ca7('0x26'))['to'](this),this['listenTo'](this,_0x2ca7('0x26'),()=>{this[_0x2ca7('0xc')]();}),this[_0x2ca7('0x1')]=new _0x3c1e3f(_0x54fe8c,_0x21af01,Object[_0x2ca7('0x27')]({'CommentView':this['_config'][_0x2ca7('0x10')]},_0x460a6c)),this[_0x2ca7('0x1')][_0x2ca7('0x1f')](_0x2ca7('0xf'))['to'](this),this[_0x2ca7('0x1')][_0x2ca7('0x1f')]('updateComment')['to'](this),this[_0x2ca7('0x1')][_0x2ca7('0x1f')](_0x2ca7('0x8'))['to'](this),this[_0x2ca7('0x1')][_0x2ca7('0x1f')]('editorReady')['to'](this),this[_0x2ca7('0x1')][_0x2ca7('0x1f')](_0x2ca7('0x2f'))['to'](this),this[_0x2ca7('0x1')]['bind'](_0x2ca7('0x9'))['to'](this),this[_0x2ca7('0x3')](this,_0x2ca7('0x8'),()=>{this[_0x2ca7('0xc')]();}),this[_0x2ca7('0x13')](_0x2ca7('0x1a'),this[_0x2ca7('0x1')][_0x2ca7('0x1a')]),this[_0x2ca7('0x2d')](_0x2ca7('0x1a'))['to'](this[_0x2ca7('0x1')],_0x2ca7('0x1a')),this[_0x2ca7('0x30')]=this['_createCommentThreadInputView'](),this[_0x2ca7('0x30')][_0x2ca7('0x1f')](_0x2ca7('0x29'))['to'](this),this[_0x2ca7('0x30')]['delegate'](_0x2ca7('0x2f'))['to'](this),this['on'](_0x2ca7('0xf'),()=>this[_0x2ca7('0xc')]()),this[_0x2ca7('0x2d')](_0x2ca7('0x28'))['to'](this[_0x2ca7('0x1')],'hasDirtyComment',this[_0x2ca7('0x30')][_0x2ca7('0x23')],_0x2ca7('0x2a'),(_0x4eac33,_0x15ba44)=>_0x4eac33||!!_0x15ba44),this[_0x2ca7('0x2d')](_0x2ca7('0x25'))['to'](_0x21af01,_0x2ca7('0x19'),_0x1205b3=>!!_0x1205b3);}[_0x2ca7('0xc')](){this[_0x2ca7('0x18')][_0x2ca7('0xc')]();}async[_0x2ca7('0x22')](){this[_0x2ca7('0x28')]=!0x1,this[_0x2ca7('0x1')][_0x2ca7('0x22')](),await this[_0x2ca7('0x30')][_0x2ca7('0x22')](),super[_0x2ca7('0x22')]();}[_0x2ca7('0x12')](){const _0x117588=new _0x41e948(this[_0x2ca7('0x2')],this['_localUser'],this[_0x2ca7('0xe')][_0x2ca7('0x0')]),_0x4a5605=_0x117588[_0x2ca7('0x23')];return _0x117588['bind'](_0x2ca7('0x1c'))['to'](this,'isActive',this[_0x2ca7('0x7')],_0x2ca7('0x17'),this[_0x2ca7('0x7')],_0x2ca7('0x5'),this['_model'],_0x2ca7('0x6'),_0x4a5605,_0x2ca7('0x2a'),(_0x5d4c75,_0x9f674f,_0x3d6bc4,_0x2d1ef1,_0xa26423)=>!!_0xa26423||!!_0x2d1ef1&&_0x3d6bc4&&!_0x9f674f||_0x5d4c75&&_0x3d6bc4&&!_0x9f674f),_0x4a5605[_0x2ca7('0x2d')](_0x2ca7('0x14'))['to'](this,_0x2ca7('0x1a'),this[_0x2ca7('0x7')],_0x2ca7('0x4'),this[_0x2ca7('0x7')],_0x2ca7('0x20'),(_0x39e10a,_0x4dfa8b,_0x1171ad)=>{let _0x146985;return _0x146985=_0x1171ad&&_0x4dfa8b?_0x2ca7('0x16'):_0x39e10a?_0x2ca7('0x2e'):_0x2ca7('0xd'),_0x3840dd(this[_0x2ca7('0x2')],_0x146985);}),_0x4a5605[_0x2ca7('0x2d')](_0x2ca7('0xa'))['to'](this,'length',_0x250bb2=>_0x3840dd(this[_0x2ca7('0x2')],_0x250bb2?'Reply':_0x2ca7('0x24'))),_0x4a5605['on']('submit',(_0x5412c6,_0x54d5da)=>{this[_0x2ca7('0x1d')](_0x2ca7('0x2c'),_0x54d5da),this[_0x2ca7('0x7')][_0x2ca7('0x20')]&&this[_0x2ca7('0x7')][_0x2ca7('0x4')]&&this[_0x2ca7('0x1d')](_0x2ca7('0x26'),this[_0x2ca7('0x7')]['id']),this[_0x2ca7('0x7')]['isSubmitted']||this[_0x2ca7('0x1d')](_0x2ca7('0x2b'));}),_0x4a5605['on'](_0x2ca7('0x15'),()=>{this[_0x2ca7('0xc')]();}),_0x4a5605[_0x2ca7('0x2d')](_0x2ca7('0x11'))['to'](this[_0x2ca7('0x7')],'isReadOnly'),_0x4a5605['on']('cancel',_0x417e1d=>{0x0==this[_0x2ca7('0x1a')]&&(this[_0x2ca7('0x1d')](_0x2ca7('0xb')),_0x417e1d['stop']());}),this['on'](_0x2ca7('0x21'),(_0x2a2cf,_0x5c20d4,_0x56e82d)=>{_0x56e82d||this['length']||_0x4a5605[_0x2ca7('0x2a')]||this[_0x2ca7('0x1d')]('removeCommentThread');}),_0x117588;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4483=['updateComment','_createCommentInputView','isReadOnly','isSystemComment','add','Save','_model','editorDestroyed','editorConfig','focus','initialData','get','submit','createEditor','element','visibleView','locale','content','switchToDisplayMode','submitLabel','remove','set','bind','editorReady','_createCommentContentView','_config','destroy','delegate','isEditMode','isCollapsed'];(function(_0x399876,_0x448363){const _0x512c3b=function(_0x427bc0){while(--_0x427bc0){_0x399876['push'](_0x399876['shift']());}};_0x512c3b(++_0x448363);}(_0x4483,0x156));const _0x512c=function(_0x399876,_0x448363){_0x399876=_0x399876-0x0;let _0x512c3b=_0x4483[_0x399876];return _0x512c3b;};import{View as _0x350b24}from'ckeditor5/src/ui.js';import{trimHtml as _0x515753}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x538b6c from'./commentcontentview.js';import _0x121750 from'./commentinputview.js';import{getTranslation as _0x569676}from'../../../utils/common-translations.js';export default class ti extends _0x350b24{constructor(_0x1356eb,_0x2f96a6,_0x5e2585){super(_0x1356eb),this[_0x512c('0x18')]=_0x2f96a6,this[_0x512c('0xd')]=_0x5e2585,this[_0x512c('0x15')]=!!this[_0x512c('0xd')][_0x512c('0x15')],this[_0x512c('0x9')](_0x512c('0x10'),!0x1),this['set'](_0x512c('0x11'),!0x0),this[_0x512c('0x3')]=this['createCollection'](),this[_0x512c('0x3')][_0x512c('0x16')](this[_0x512c('0xc')]());}['expand'](){this[_0x512c('0x11')]=!0x1;}['collapse'](){this[_0x512c('0x10')]||(this[_0x512c('0x11')]=!0x0);}[_0x512c('0x1b')](){this[_0x512c('0x2')]['focus']();}async[_0x512c('0xe')](){await this[_0x512c('0x3')][_0x512c('0x1d')](0x0)[_0x512c('0xe')](),super[_0x512c('0xe')]();}['switchToEditMode'](){this[_0x512c('0x10')]||(this[_0x512c('0x10')]=!0x0,this[_0x512c('0x3')][_0x512c('0x8')](0x0)[_0x512c('0xe')](),this['visibleView'][_0x512c('0x16')](this[_0x512c('0x13')]()));}[_0x512c('0x6')](){this[_0x512c('0x10')]&&(this[_0x512c('0x10')]=!0x1,this[_0x512c('0x3')][_0x512c('0x8')](0x0)[_0x512c('0xe')](),this[_0x512c('0x3')][_0x512c('0x16')](this[_0x512c('0xc')]()));}[_0x512c('0xc')](){const _0x1ba3cd=new _0x538b6c(this[_0x512c('0x4')]);return _0x1ba3cd[_0x512c('0xa')]('content')['to'](this['_model'],_0x512c('0x5'),this,_0x512c('0x11'),(_0x44b99a,_0x25a035)=>_0x25a035?_0x515753(_0x44b99a,{'limit':this[_0x512c('0xd')]['maxCommentCharsWhenCollapsed']}):_0x44b99a),_0x1ba3cd;}[_0x512c('0x13')](){this['_config'][_0x512c('0x1a')]||(this['_config']['editorConfig']={}),this[_0x512c('0xd')][_0x512c('0x1a')][_0x512c('0x1c')]=this['_model'][_0x512c('0x5')];const _0x56dda2=new _0x121750(this[_0x512c('0x4')],this[_0x512c('0xd')][_0x512c('0x1a')]);return _0x56dda2['value']=this[_0x512c('0x18')][_0x512c('0x5')],_0x56dda2[_0x512c('0xa')]('disabledSubmit')['to'](this[_0x512c('0x18')],_0x512c('0x14')),_0x56dda2[_0x512c('0x7')]=_0x569676(this[_0x512c('0x4')],_0x512c('0x17')),_0x56dda2['on'](_0x512c('0x0'),(_0xbc78ab,_0x3d4596)=>{this['fire'](_0x512c('0x12'),this[_0x512c('0x18')]['id'],_0x3d4596),this[_0x512c('0x6')](),this[_0x512c('0x1b')]();}),_0x56dda2['on']('cancel',()=>{this['switchToDisplayMode'](),this[_0x512c('0x1b')]();}),_0x56dda2['once'](_0x512c('0xb'),()=>{_0x56dda2['focus']();}),_0x56dda2[_0x512c('0x1')](),_0x56dda2[_0x512c('0xf')](_0x512c('0xb'))['to'](this),_0x56dda2['delegate'](_0x512c('0x19'))['to'](this),_0x56dda2;}}
23
+ const _0x5812=['_config','visibleView','updateComment','_model','createEditor','isSystemComment','cancel','add','isReadOnly','focus','editorDestroyed','bind','submitLabel','set','submit','once','isEditMode','editorConfig','editorReady','createCollection','_createCommentInputView','value','initialData','remove','switchToDisplayMode','locale','_createCommentContentView','fire','isCollapsed','element','switchToEditMode','content','destroy','delegate','Save','get','expand'];(function(_0x46dc43,_0x5812e6){const _0x53b46c=function(_0x1e0b9e){while(--_0x1e0b9e){_0x46dc43['push'](_0x46dc43['shift']());}};_0x53b46c(++_0x5812e6);}(_0x5812,0x18d));const _0x53b4=function(_0x46dc43,_0x5812e6){_0x46dc43=_0x46dc43-0x0;let _0x53b46c=_0x5812[_0x46dc43];return _0x53b46c;};import{View as _0x29c0ed}from'ckeditor5/src/ui.js';import{trimHtml as _0x8772f1}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x40b639 from'./commentcontentview.js';import _0x20006c from'./commentinputview.js';import{getTranslation as _0x3e7c3c}from'../../../utils/common-translations.js';export default class ti extends _0x29c0ed{constructor(_0x5245fc,_0x4d4901,_0x50b285){super(_0x5245fc),this[_0x53b4('0xd')]=_0x4d4901,this['_config']=_0x50b285,this['isSystemComment']=!!this[_0x53b4('0xa')][_0x53b4('0xf')],this[_0x53b4('0x17')]('isEditMode',!0x1),this[_0x53b4('0x17')]('isCollapsed',!0x0),this['visibleView']=this[_0x53b4('0x1d')](),this[_0x53b4('0xb')]['add'](this[_0x53b4('0x24')]());}[_0x53b4('0x9')](){this[_0x53b4('0x1')]=!0x1;}['collapse'](){this[_0x53b4('0x1a')]||(this[_0x53b4('0x1')]=!0x0);}[_0x53b4('0x13')](){this[_0x53b4('0x2')]['focus']();}async[_0x53b4('0x5')](){await this[_0x53b4('0xb')][_0x53b4('0x8')](0x0)['destroy'](),super['destroy']();}[_0x53b4('0x3')](){this[_0x53b4('0x1a')]||(this['isEditMode']=!0x0,this['visibleView']['remove'](0x0)[_0x53b4('0x5')](),this[_0x53b4('0xb')]['add'](this[_0x53b4('0x1e')]()));}[_0x53b4('0x22')](){this[_0x53b4('0x1a')]&&(this[_0x53b4('0x1a')]=!0x1,this[_0x53b4('0xb')][_0x53b4('0x21')](0x0)[_0x53b4('0x5')](),this['visibleView'][_0x53b4('0x11')](this[_0x53b4('0x24')]()));}[_0x53b4('0x24')](){const _0x1f3995=new _0x40b639(this[_0x53b4('0x23')]);return _0x1f3995[_0x53b4('0x15')](_0x53b4('0x4'))['to'](this[_0x53b4('0xd')],_0x53b4('0x4'),this,_0x53b4('0x1'),(_0x10d59c,_0x121b83)=>_0x121b83?_0x8772f1(_0x10d59c,{'limit':this[_0x53b4('0xa')]['maxCommentCharsWhenCollapsed']}):_0x10d59c),_0x1f3995;}[_0x53b4('0x1e')](){this[_0x53b4('0xa')]['editorConfig']||(this[_0x53b4('0xa')][_0x53b4('0x1b')]={}),this[_0x53b4('0xa')]['editorConfig'][_0x53b4('0x20')]=this['_model'][_0x53b4('0x4')];const _0x5b28fb=new _0x20006c(this[_0x53b4('0x23')],this[_0x53b4('0xa')]['editorConfig']);return _0x5b28fb[_0x53b4('0x1f')]=this[_0x53b4('0xd')][_0x53b4('0x4')],_0x5b28fb[_0x53b4('0x15')]('disabledSubmit')['to'](this[_0x53b4('0xd')],_0x53b4('0x12')),_0x5b28fb[_0x53b4('0x16')]=_0x3e7c3c(this['locale'],_0x53b4('0x7')),_0x5b28fb['on'](_0x53b4('0x18'),(_0x3b538c,_0x4dc6d7)=>{this[_0x53b4('0x0')](_0x53b4('0xc'),this['_model']['id'],_0x4dc6d7),this[_0x53b4('0x22')](),this[_0x53b4('0x13')]();}),_0x5b28fb['on'](_0x53b4('0x10'),()=>{this[_0x53b4('0x22')](),this[_0x53b4('0x13')]();}),_0x5b28fb[_0x53b4('0x19')]('editorReady',()=>{_0x5b28fb[_0x53b4('0x13')]();}),_0x5b28fb[_0x53b4('0xe')](),_0x5b28fb[_0x53b4('0x6')](_0x53b4('0x1c'))['to'](this),_0x5b28fb[_0x53b4('0x6')](_0x53b4('0x14'))['to'](this),_0x5b28fb;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32b0=['ck-thread__comment-count','NUMBER_OF_COMMENTS','bindTemplate','count','setTemplate','set'];(function(_0x1e1e9c,_0x32b004){const _0x22d347=function(_0x289d12){while(--_0x289d12){_0x1e1e9c['push'](_0x1e1e9c['shift']());}};_0x22d347(++_0x32b004);}(_0x32b0,0xe2));const _0x22d3=function(_0x1e1e9c,_0x32b004){_0x1e1e9c=_0x1e1e9c-0x0;let _0x22d347=_0x32b0[_0x1e1e9c];return _0x22d347;};import{View as _0x4d96ed}from'ckeditor5/src/ui.js';import{getTranslation as _0xcb4d50}from'../../../utils/common-translations.js';export default class ts extends _0x4d96ed{constructor(_0x506fac){super(_0x506fac);const _0x131eca=this[_0x22d3('0x4')];this[_0x22d3('0x1')](_0x22d3('0x5'),void 0x0),this[_0x22d3('0x0')]({'tag':'li','attributes':{'class':_0x22d3('0x2')},'children':[{'text':_0x131eca['to']('count',_0x58dab7=>_0xcb4d50(_0x506fac,_0x22d3('0x3'),_0x58dab7))}]});}}
23
+ const _0x50be=['NUMBER_OF_COMMENTS','set','count','ck-thread__comment-count','bindTemplate'];(function(_0x568a78,_0x50be03){const _0x43f221=function(_0x43a167){while(--_0x43a167){_0x568a78['push'](_0x568a78['shift']());}};_0x43f221(++_0x50be03);}(_0x50be,0x1cf));const _0x43f2=function(_0x568a78,_0x50be03){_0x568a78=_0x568a78-0x0;let _0x43f221=_0x50be[_0x568a78];return _0x43f221;};import{View as _0x102a11}from'ckeditor5/src/ui.js';import{getTranslation as _0x114839}from'../../../utils/common-translations.js';export default class ts extends _0x102a11{constructor(_0x33c04c){super(_0x33c04c);const _0x1612be=this[_0x43f2('0x1')];this[_0x43f2('0x3')](_0x43f2('0x4'),void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':_0x43f2('0x0')},'children':[{'text':_0x1612be['to'](_0x43f2('0x4'),_0x57c377=>_0x114839(_0x33c04c,_0x43f2('0x2'),_0x57c377))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x37cf=['element','set','ck-comment__content','content','ck-annotation__content','innerHTML','change:content','render'];(function(_0x27ad91,_0x37cfde){var _0x362eea=function(_0x24ad55){while(--_0x24ad55){_0x27ad91['push'](_0x27ad91['shift']());}};_0x362eea(++_0x37cfde);}(_0x37cf,0x10a));var _0x362e=function(_0x27ad91,_0x37cfde){_0x27ad91=_0x27ad91-0x0;var _0x362eea=_0x37cf[_0x27ad91];return _0x362eea;};import{View as _0x3ad7ca}from'ckeditor5/src/ui.js';export default class Yt extends _0x3ad7ca{constructor(_0xb70283){super(_0xb70283),this[_0x362e('0x7')]('content',''),this['setTemplate']({'tag':'div','attributes':{'class':[_0x362e('0x0'),_0x362e('0x2')]}});}[_0x362e('0x5')](){super[_0x362e('0x5')](),this['on'](_0x362e('0x4'),(_0x2d7fdf,_0x3391b0,_0x2b48af)=>{this[_0x362e('0x6')][_0x362e('0x3')]=_0x2b48af;}),this[_0x362e('0x6')][_0x362e('0x3')]=this[_0x362e('0x1')];}}
23
+ var _0x20bc=['div','ck-annotation__content','set','setTemplate','content','innerHTML','render','element','ck-comment__content'];(function(_0x1a2650,_0x20bc3c){var _0x2e53a0=function(_0x159381){while(--_0x159381){_0x1a2650['push'](_0x1a2650['shift']());}};_0x2e53a0(++_0x20bc3c);}(_0x20bc,0xd1));var _0x2e53=function(_0x1a2650,_0x20bc3c){_0x1a2650=_0x1a2650-0x0;var _0x2e53a0=_0x20bc[_0x1a2650];return _0x2e53a0;};import{View as _0xf353f9}from'ckeditor5/src/ui.js';export default class Yt extends _0xf353f9{constructor(_0x156c2b){super(_0x156c2b),this[_0x2e53('0x0')](_0x2e53('0x2'),''),this[_0x2e53('0x1')]({'tag':_0x2e53('0x7'),'attributes':{'class':[_0x2e53('0x6'),_0x2e53('0x8')]}});}['render'](){super[_0x2e53('0x4')](),this['on']('change:content',(_0x14bab3,_0x34946d,_0x48256c)=>{this['element'][_0x2e53('0x3')]=_0x48256c;}),this[_0x2e53('0x5')][_0x2e53('0x3')]=this['content'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3db0=['createEditor','bindTemplate','destroy','ck-comment__input-actions--cancel','_editorConfig','extendTemplate','listenTo','ck-comment__input-actions--active','submitLabel','withText','getData','firstChild','set','initialData','add','bind','_initializeFocusCycling','model','TOO_LONG_COMMENT_ALERT','high','cancelButtonView','execute','ck-comment__input-actions','create','label','editorReady','ck-comment__input-wrapper','keystrokes','length','editorDestroyed','submitButtonView','tab','focusPrevious','change','value','view','submit','_editorCreationPromise','Esc','_isDestroyed','disabledSubmit','fire','element','ck-comment__input-actions--submit','editor','div','then','low','placeholder','forEach','focusTracker','render','_createCancelButton','focus','Reply...','stop','setData','shift\x20+\x20tab','_createSubmitButton','focusNext'];(function(_0x5f0484,_0x3db039){const _0x2b504c=function(_0x392972){while(--_0x392972){_0x5f0484['push'](_0x5f0484['shift']());}};_0x2b504c(++_0x3db039);}(_0x3db0,0x1f3));const _0x2b50=function(_0x5f0484,_0x3db039){_0x5f0484=_0x5f0484-0x0;let _0x2b504c=_0x3db0[_0x5f0484];return _0x2b504c;};import{View as _0x303b6d,ViewCollection as _0x2cd302,FocusCycler as _0xf5f814,ButtonView as _0x284d77}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1f1b37,KeystrokeHandler as _0x24ed31}from'ckeditor5/src/utils.js';import _0x511a93 from'../commenteditor/commenteditor.js';import{getTranslation as _0x44d3c6}from'../../../utils/common-translations.js';export default class Zt extends _0x303b6d{constructor(_0x324fdc,_0x6bda31={}){super(_0x324fdc),this['editor']=null,this['_editorConfig']=_0x6bda31,this[_0x2b50('0x8')]=new _0x24ed31(),this[_0x2b50('0x1f')]=new _0x1f1b37(),this[_0x2b50('0x35')]('value',_0x6bda31[_0x2b50('0x36')]||''),this[_0x2b50('0x35')](_0x2b50('0x15'),!0x1),this['set']('showButtons',!0x0),this['set'](_0x2b50('0x1d'),_0x44d3c6(_0x324fdc,_0x2b50('0x23'))),this[_0x2b50('0x35')](_0x2b50('0x31'),_0x44d3c6(_0x324fdc,'Reply')),this[_0x2b50('0xb')]=this[_0x2b50('0x27')](),this['cancelButtonView']=this[_0x2b50('0x21')](),this['setTemplate']({'tag':_0x2b50('0x1a'),'attributes':{'class':[_0x2b50('0x7')]},'children':[{'tag':_0x2b50('0x1a'),'attributes':{'class':[_0x2b50('0x3'),this[_0x2b50('0x2a')]['if']('showButtons',_0x2b50('0x30'))]},'children':[this[_0x2b50('0xb')],this[_0x2b50('0x1')]]}]}),this['keystrokes'][_0x2b50('0x35')](_0x2b50('0x13'),(_0x511535,_0x4d3e04)=>{this['cancelButtonView']['fire']('execute'),_0x4d3e04();}),this['on']('submit',(_0x11e7f6,_0xb0eea6)=>{_0xb0eea6['length']>0xfde8?(alert(_0x44d3c6(_0x324fdc,_0x2b50('0x3b'),[_0xb0eea6[_0x2b50('0x9')],0xfde8])),_0x11e7f6[_0x2b50('0x24')]()):this[_0x2b50('0x19')]['setData']('');},{'priority':_0x2b50('0x0')});}['render'](){super[_0x2b50('0x20')](),this[_0x2b50('0x8')][_0x2b50('0x2f')](this['element']),this[_0x2b50('0x1f')][_0x2b50('0x37')](this[_0x2b50('0x17')]);}[_0x2b50('0x29')](){return this[_0x2b50('0x19')]||(this[_0x2b50('0x19')]=new _0x511a93(this[_0x2b50('0x2d')]),this[_0x2b50('0x12')]=this[_0x2b50('0x19')][_0x2b50('0x4')]()[_0x2b50('0x1b')](()=>{if(this[_0x2b50('0x14')])return;const _0x3ccf15=this[_0x2b50('0x19')];this['element']['insertBefore'](_0x3ccf15['ui'][_0x2b50('0x17')],this[_0x2b50('0x17')][_0x2b50('0x34')]),_0x3ccf15[_0x2b50('0x3a')]['document']['on'](_0x2b50('0xe'),()=>this[_0x2b50('0xf')]=_0x3ccf15[_0x2b50('0x33')]()),_0x3ccf15[_0x2b50('0x38')](_0x2b50('0x1d'))['to'](this),this[_0x2b50('0x39')](this[_0x2b50('0x19')]),this[_0x2b50('0x16')](_0x2b50('0x6'),this['editor']);})),this[_0x2b50('0x12')];}[_0x2b50('0x22')](){this[_0x2b50('0x19')]&&this[_0x2b50('0x19')][_0x2b50('0x22')]();}async[_0x2b50('0x2b')](){this[_0x2b50('0x14')]||(this['_isDestroyed']=!0x0,this[_0x2b50('0x19')]&&(await this[_0x2b50('0x12')],await this[_0x2b50('0x19')]['destroy'](),this[_0x2b50('0x16')](_0x2b50('0xa'),this[_0x2b50('0x19')])),await super[_0x2b50('0x2b')]());}[_0x2b50('0x27')](){const {locale:_0x55618b}=this,_0x22469b=new _0x284d77(_0x55618b);return _0x22469b[_0x2b50('0x2e')]({'attributes':{'class':[_0x2b50('0x18')]}}),_0x22469b[_0x2b50('0x32')]=!0x0,_0x22469b[_0x2b50('0x38')](_0x2b50('0x5'))['to'](this,_0x2b50('0x31')),_0x22469b['on'](_0x2b50('0x2'),()=>{this['fire'](_0x2b50('0x11'),this[_0x2b50('0xf')]);}),_0x22469b[_0x2b50('0x38')]('isEnabled')['to'](this,_0x2b50('0xf'),this,_0x2b50('0x15'),(_0x597dfd,_0x139b12)=>!_0x139b12&&!!_0x597dfd['trim']()),_0x22469b;}['_createCancelButton'](){const {locale:_0x1c4b4f}=this,_0x3bf4b0=new _0x284d77(_0x1c4b4f);return _0x3bf4b0[_0x2b50('0x2e')]({'attributes':{'class':[_0x2b50('0x2c')]}}),_0x3bf4b0['label']=_0x44d3c6(_0x1c4b4f,'Cancel'),_0x3bf4b0['withText']=!0x0,_0x3bf4b0['on']('execute',()=>{this['editor'][_0x2b50('0x25')](''),this[_0x2b50('0x16')]('cancel');}),_0x3bf4b0;}[_0x2b50('0x39')](_0x1bcd8d){const _0x1e9f44=this[_0x2b50('0x1f')],_0x5f1c2c=new _0x2cd302();[_0x1bcd8d['ui'][_0x2b50('0x10')],this[_0x2b50('0xb')],this[_0x2b50('0x1')]][_0x2b50('0x1e')](_0x391da2=>{_0x5f1c2c[_0x2b50('0x37')](_0x391da2),_0x1e9f44[_0x2b50('0x37')](_0x391da2[_0x2b50('0x17')]);});const _0x56967b=new _0xf5f814({'focusables':_0x5f1c2c,'focusTracker':_0x1e9f44});this['keystrokes']['set'](_0x2b50('0xc'),(_0x3600a6,_0x5cb51a)=>{_0x56967b[_0x2b50('0x28')](),_0x5cb51a();},{'priority':_0x2b50('0x1c')}),this[_0x2b50('0x8')][_0x2b50('0x35')](_0x2b50('0x26'),(_0x43dffb,_0x2409b0)=>{_0x56967b[_0x2b50('0xd')](),_0x2409b0();},{'priority':_0x2b50('0x1c')});}}
23
+ const _0x3a1f=['_createCancelButton','focusPrevious','ck-comment__input-actions','focusTracker','bind','TOO_LONG_COMMENT_ALERT','destroy','_createSubmitButton','add','div','label','fire','extendTemplate','element','_isDestroyed','Cancel','editor','submit','_editorCreationPromise','Reply','bindTemplate','editorDestroyed','document','focus','length','_initializeFocusCycling','low','execute','view','insertBefore','setData','showButtons','withText','Esc','stop','trim','setTemplate','render','shift\x20+\x20tab','getData','value','set','model','disabledSubmit','cancel','keystrokes','submitLabel','isEnabled','ck-comment__input-wrapper','placeholder','initialData','_editorConfig','high','cancelButtonView','listenTo','then','createEditor','submitButtonView','change','ck-comment__input-actions--submit','create'];(function(_0x4d63f6,_0x3a1f1f){const _0x553681=function(_0x325ffc){while(--_0x325ffc){_0x4d63f6['push'](_0x4d63f6['shift']());}};_0x553681(++_0x3a1f1f);}(_0x3a1f,0x1a9));const _0x5536=function(_0x4d63f6,_0x3a1f1f){_0x4d63f6=_0x4d63f6-0x0;let _0x553681=_0x3a1f[_0x4d63f6];return _0x553681;};import{View as _0xb6c751,ViewCollection as _0xdc3144,FocusCycler as _0x211baf,ButtonView as _0x11c7da}from'ckeditor5/src/ui.js';import{FocusTracker as _0x256e4a,KeystrokeHandler as _0x9f4c24}from'ckeditor5/src/utils.js';import _0x3ff9a5 from'../commenteditor/commenteditor.js';import{getTranslation as _0x363ea3}from'../../../utils/common-translations.js';export default class Zt extends _0xb6c751{constructor(_0xd41c8c,_0x380eec={}){super(_0xd41c8c),this[_0x5536('0x12')]=null,this[_0x5536('0x35')]=_0x380eec,this[_0x5536('0x2f')]=new _0x9f4c24(),this[_0x5536('0x5')]=new _0x256e4a(),this[_0x5536('0x2b')]('value',_0x380eec[_0x5536('0x34')]||''),this[_0x5536('0x2b')]('disabledSubmit',!0x1),this[_0x5536('0x2b')](_0x5536('0x21'),!0x0),this[_0x5536('0x2b')](_0x5536('0x33'),_0x363ea3(_0xd41c8c,'Reply...')),this['set'](_0x5536('0x30'),_0x363ea3(_0xd41c8c,_0x5536('0x15'))),this[_0x5536('0x3b')]=this[_0x5536('0x9')](),this['cancelButtonView']=this[_0x5536('0x2')](),this[_0x5536('0x26')]({'tag':_0x5536('0xb'),'attributes':{'class':[_0x5536('0x32')]},'children':[{'tag':'div','attributes':{'class':[_0x5536('0x4'),this[_0x5536('0x16')]['if'](_0x5536('0x21'),'ck-comment__input-actions--active')]},'children':[this[_0x5536('0x3b')],this['cancelButtonView']]}]}),this[_0x5536('0x2f')]['set'](_0x5536('0x23'),(_0x5cc473,_0x356048)=>{this[_0x5536('0x37')]['fire'](_0x5536('0x1d')),_0x356048();}),this['on'](_0x5536('0x13'),(_0x566b8b,_0x251f43)=>{_0x251f43[_0x5536('0x1a')]>0xfde8?(alert(_0x363ea3(_0xd41c8c,_0x5536('0x7'),[_0x251f43[_0x5536('0x1a')],0xfde8])),_0x566b8b[_0x5536('0x24')]()):this['editor'][_0x5536('0x20')]('');},{'priority':_0x5536('0x36')});}['render'](){super[_0x5536('0x27')](),this[_0x5536('0x2f')][_0x5536('0x38')](this['element']),this[_0x5536('0x5')][_0x5536('0xa')](this[_0x5536('0xf')]);}[_0x5536('0x3a')](){return this[_0x5536('0x12')]||(this['editor']=new _0x3ff9a5(this[_0x5536('0x35')]),this[_0x5536('0x14')]=this['editor'][_0x5536('0x1')]()[_0x5536('0x39')](()=>{if(this[_0x5536('0x10')])return;const _0x4d7de7=this['editor'];this[_0x5536('0xf')][_0x5536('0x1f')](_0x4d7de7['ui']['element'],this[_0x5536('0xf')]['firstChild']),_0x4d7de7[_0x5536('0x2c')][_0x5536('0x18')]['on'](_0x5536('0x3c'),()=>this['value']=_0x4d7de7[_0x5536('0x29')]()),_0x4d7de7[_0x5536('0x6')](_0x5536('0x33'))['to'](this),this['_initializeFocusCycling'](this[_0x5536('0x12')]),this[_0x5536('0xd')]('editorReady',this[_0x5536('0x12')]);})),this[_0x5536('0x14')];}[_0x5536('0x19')](){this[_0x5536('0x12')]&&this[_0x5536('0x12')][_0x5536('0x19')]();}async['destroy'](){this['_isDestroyed']||(this['_isDestroyed']=!0x0,this['editor']&&(await this[_0x5536('0x14')],await this['editor'][_0x5536('0x8')](),this['fire'](_0x5536('0x17'),this[_0x5536('0x12')])),await super[_0x5536('0x8')]());}[_0x5536('0x9')](){const {locale:_0x1efd16}=this,_0x3567f7=new _0x11c7da(_0x1efd16);return _0x3567f7[_0x5536('0xe')]({'attributes':{'class':[_0x5536('0x0')]}}),_0x3567f7[_0x5536('0x22')]=!0x0,_0x3567f7['bind'](_0x5536('0xc'))['to'](this,_0x5536('0x30')),_0x3567f7['on'](_0x5536('0x1d'),()=>{this['fire'](_0x5536('0x13'),this[_0x5536('0x2a')]);}),_0x3567f7['bind'](_0x5536('0x31'))['to'](this,'value',this,_0x5536('0x2d'),(_0x1dd83a,_0x3782a0)=>!_0x3782a0&&!!_0x1dd83a[_0x5536('0x25')]()),_0x3567f7;}[_0x5536('0x2')](){const {locale:_0x22c912}=this,_0x2834fe=new _0x11c7da(_0x22c912);return _0x2834fe['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x2834fe[_0x5536('0xc')]=_0x363ea3(_0x22c912,_0x5536('0x11')),_0x2834fe[_0x5536('0x22')]=!0x0,_0x2834fe['on'](_0x5536('0x1d'),()=>{this[_0x5536('0x12')][_0x5536('0x20')](''),this[_0x5536('0xd')](_0x5536('0x2e'));}),_0x2834fe;}[_0x5536('0x1b')](_0x5a091e){const _0x3e10d0=this['focusTracker'],_0x27d2c4=new _0xdc3144();[_0x5a091e['ui'][_0x5536('0x1e')],this[_0x5536('0x3b')],this[_0x5536('0x37')]]['forEach'](_0x2b2aa5=>{_0x27d2c4['add'](_0x2b2aa5),_0x3e10d0[_0x5536('0xa')](_0x2b2aa5['element']);});const _0x51f573=new _0x211baf({'focusables':_0x27d2c4,'focusTracker':_0x3e10d0});this[_0x5536('0x2f')][_0x5536('0x2b')]('tab',(_0x3afc30,_0x23e72c)=>{_0x51f573['focusNext'](),_0x23e72c();},{'priority':_0x5536('0x1c')}),this[_0x5536('0x2f')]['set'](_0x5536('0x28'),(_0x349f4e,_0x1b3bee)=>{_0x51f573[_0x5536('0x3')](),_0x1b3bee();},{'priority':'low'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c89=['ck-hidden','high','arrowdown','_keystrokes','_focusCycler','ck-comments-archive__header\x20','_focusTracker','EMPTY_COMMENTS_ARCHIVE','setTemplate','_focusables','COMMENTS_ARCHIVE','isActive','add','ck-comments-archive__info','render','div','stopPropagation','listenTo','remove','focus','ck-comments-archive','shift\x20+\x20tab','set','length','arrowup','isEmpty','destroy','auto','element'];(function(_0x3db5bd,_0x2c8918){const _0x382871=function(_0x113c18){while(--_0x113c18){_0x3db5bd['push'](_0x3db5bd['shift']());}};_0x382871(++_0x2c8918);}(_0x2c89,0x167));const _0x3828=function(_0x3db5bd,_0x2c8918){_0x3db5bd=_0x3db5bd-0x0;let _0x382871=_0x2c89[_0x3db5bd];return _0x382871;};import{View as _0x3df686,FocusCycler as _0x3cb31f}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5b13a7,KeystrokeHandler as _0x1e7b14}from'ckeditor5/src/utils.js';import{getTranslation as _0x36b266}from'../../../utils/common-translations.js';export default class K extends _0x3df686{constructor(_0x16412c,_0x5f2799){super(_0x16412c),this[_0x3828('0xb')]('isEmpty',!_0x5f2799[_0x3828('0xc')]),this[_0x3828('0x18')]=new _0x5b13a7(),this['_keystrokes']=new _0x1e7b14(),this[_0x3828('0x1b')]=_0x5f2799,this[_0x3828('0x16')]=new _0x3cb31f({'focusables':this[_0x3828('0x1b')],'focusTracker':this[_0x3828('0x18')],'keystrokeHandler':this[_0x3828('0x15')],'actions':{'focusPrevious':_0x3828('0xa'),'focusNext':'tab'}}),this[_0x3828('0x6')](_0x5f2799,_0x3828('0x1'),()=>{this[_0x3828('0xe')]=!0x1;}),this[_0x3828('0x6')](_0x5f2799,_0x3828('0x7'),(_0x1373f2,_0x36a3af)=>{_0x36a3af[_0x3828('0x0')]&&this[_0x3828('0x8')](),_0x5f2799['length']||(this[_0x3828('0xe')]=!0x0);});const _0x25fad3=this['bindTemplate'];this[_0x3828('0x1a')]({'tag':_0x3828('0x4'),'attributes':{'dir':_0x3828('0x10'),'class':['ck',_0x3828('0x9')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x3828('0x17')]},'children':[{'text':_0x36b266(_0x16412c,_0x3828('0x1c'))}]},{'tag':_0x3828('0x4'),'attributes':{'class':['ck-comments-archive__content']},'children':[{'tag':_0x3828('0x4'),'children':_0x5f2799},{'tag':'p','attributes':{'class':[_0x3828('0x2'),_0x25fad3['if'](_0x3828('0xe'),_0x3828('0x12'),_0x44deef=>!_0x44deef)]},'children':[{'text':_0x36b266(_0x16412c,_0x3828('0x19'))}]}]}]});}['render'](){super[_0x3828('0x3')](),this[_0x3828('0x15')][_0x3828('0x6')](this['element']);const _0x22ab09=_0x14e746=>_0x14e746[_0x3828('0x5')]();this['_keystrokes'][_0x3828('0xb')]('arrowright',_0x22ab09),this[_0x3828('0x15')][_0x3828('0xb')]('arrowleft',_0x22ab09),this[_0x3828('0x15')][_0x3828('0xb')](_0x3828('0xd'),_0x22ab09),this['_keystrokes']['set'](_0x3828('0x14'),_0x22ab09),this[_0x3828('0x6')](this[_0x3828('0x11')],'selectstart',(_0x53c634,_0x1ddebe)=>{_0x1ddebe[_0x3828('0x5')]();},{'priority':_0x3828('0x13')});}[_0x3828('0xf')](){super[_0x3828('0xf')](),this[_0x3828('0x18')]['destroy'](),this['_keystrokes'][_0x3828('0xf')]();}[_0x3828('0x8')](){this[_0x3828('0x11')][_0x3828('0x8')]();}}
23
+ const _0x27ac=['render','ck-comments-archive__header\x20','shift\x20+\x20tab','_focusTracker','arrowdown','element','set','arrowup','length','_keystrokes','div','bindTemplate','high','setTemplate','ck-comments-archive__content','listenTo','destroy','_focusCycler','COMMENTS_ARCHIVE','auto','stopPropagation','tab','remove','isEmpty','focus','_focusables','add','ck-comments-archive'];(function(_0x3671fe,_0x27ac3c){const _0x4fe169=function(_0x2b5038){while(--_0x2b5038){_0x3671fe['push'](_0x3671fe['shift']());}};_0x4fe169(++_0x27ac3c);}(_0x27ac,0x148));const _0x4fe1=function(_0x3671fe,_0x27ac3c){_0x3671fe=_0x3671fe-0x0;let _0x4fe169=_0x27ac[_0x3671fe];return _0x4fe169;};import{View as _0x13b0b0,FocusCycler as _0x4e7ee2}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5b81de,KeystrokeHandler as _0x29c338}from'ckeditor5/src/utils.js';import{getTranslation as _0x236060}from'../../../utils/common-translations.js';export default class K extends _0x13b0b0{constructor(_0x374fdf,_0xcd4135){super(_0x374fdf),this['set'](_0x4fe1('0x3'),!_0xcd4135[_0x4fe1('0x10')]),this[_0x4fe1('0xb')]=new _0x5b81de(),this['_keystrokes']=new _0x29c338(),this[_0x4fe1('0x5')]=_0xcd4135,this[_0x4fe1('0x19')]=new _0x4e7ee2({'focusables':this[_0x4fe1('0x5')],'focusTracker':this[_0x4fe1('0xb')],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':_0x4fe1('0xa'),'focusNext':_0x4fe1('0x1')}}),this[_0x4fe1('0x17')](_0xcd4135,_0x4fe1('0x6'),()=>{this['isEmpty']=!0x1;}),this['listenTo'](_0xcd4135,_0x4fe1('0x2'),(_0x244bb9,_0x336ace)=>{_0x336ace['isActive']&&this['focus'](),_0xcd4135['length']||(this[_0x4fe1('0x3')]=!0x0);});const _0x260942=this[_0x4fe1('0x13')];this[_0x4fe1('0x15')]({'tag':_0x4fe1('0x12'),'attributes':{'dir':_0x4fe1('0x1b'),'class':['ck',_0x4fe1('0x7')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x4fe1('0x9')]},'children':[{'text':_0x236060(_0x374fdf,_0x4fe1('0x1a'))}]},{'tag':_0x4fe1('0x12'),'attributes':{'class':[_0x4fe1('0x16')]},'children':[{'tag':_0x4fe1('0x12'),'children':_0xcd4135},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x260942['if'](_0x4fe1('0x3'),'ck-hidden',_0x4cae68=>!_0x4cae68)]},'children':[{'text':_0x236060(_0x374fdf,'EMPTY_COMMENTS_ARCHIVE')}]}]}]});}[_0x4fe1('0x8')](){super[_0x4fe1('0x8')](),this[_0x4fe1('0x11')]['listenTo'](this[_0x4fe1('0xd')]);const _0x12e5fb=_0x5a70c0=>_0x5a70c0[_0x4fe1('0x0')]();this['_keystrokes']['set']('arrowright',_0x12e5fb),this['_keystrokes']['set']('arrowleft',_0x12e5fb),this[_0x4fe1('0x11')]['set'](_0x4fe1('0xf'),_0x12e5fb),this['_keystrokes'][_0x4fe1('0xe')](_0x4fe1('0xc'),_0x12e5fb),this['listenTo'](this[_0x4fe1('0xd')],'selectstart',(_0x983225,_0x93bda8)=>{_0x93bda8[_0x4fe1('0x0')]();},{'priority':_0x4fe1('0x14')});}[_0x4fe1('0x18')](){super[_0x4fe1('0x18')](),this[_0x4fe1('0xb')][_0x4fe1('0x18')](),this[_0x4fe1('0x11')][_0x4fe1('0x18')]();}[_0x4fe1('0x4')](){this[_0x4fe1('0xd')][_0x4fe1('0x4')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1627=['formatDateTime','render','resolvedAt','equal','length','change:isEditMode','refreshVisibleViews','editorConfig','_calculatePosition','comments','change:isResolved','resolvedCommentView','destroy','change:hasDirtyComment','from','updateComment','isEditMode','add','delete','some','resolvedBy','remove','_shouldCollapse','weight','focus','change:isActive','CommentView','visibleViews','_handleRemoveCommentModel','get','collapse','editorDestroyed','set','element','ck-thread__comments','_collapsedCommentsView','isActive','resolved','locale','listenTo','count','_findOptimalIndex','_rearrangeCollapse','authoredAt','removeComment','delegate','commentUpdated','_config','_handleInfoComment','commentViews','setTemplate','_model','hasDirtyComment','bind','createCollection','_rearrangeExpand','_handleNewCommentModel','maxCommentCharsWhenCollapsed','maxCommentsWhenCollapsed'];(function(_0x1ea63f,_0x1627b2){const _0x1e9e4b=function(_0xdae8a3){while(--_0xdae8a3){_0x1ea63f['push'](_0x1ea63f['shift']());}};_0x1e9e4b(++_0x1627b2);}(_0x1627,0xe4));const _0x1e9e=function(_0x1ea63f,_0x1627b2){_0x1ea63f=_0x1ea63f-0x0;let _0x1e9e4b=_0x1627[_0x1ea63f];return _0x1e9e4b;};import{View as _0x436991}from'ckeditor5/src/ui.js';import{diff as _0xdc6388,Collection as _0x3f74b7}from'ckeditor5/src/utils.js';import{getTranslation as _0x2192e6}from'../../../utils/common-translations.js';import _0x9e6e84 from'./collapsedcommentsview.js';export default class vt extends _0x436991{constructor(_0x122e10,_0x43139d,_0x8d0b7b){super(_0x122e10),this[_0x1e9e('0x28')](_0x1e9e('0x1'),!0x1),this[_0x1e9e('0x28')](_0x1e9e('0xc'),_0x43139d[_0x1e9e('0x11')][_0x1e9e('0xc')]),this[_0x1e9e('0x28')](_0x1e9e('0x2c'),!0x1),this[_0x1e9e('0x0')]=_0x43139d,this['_config']=_0x8d0b7b,this[_0x1e9e('0x39')]=this[_0x1e9e('0x3')](),this[_0x1e9e('0x23')]=this[_0x1e9e('0x3')](),this[_0x1e9e('0x13')]=null,this[_0x1e9e('0x2b')]=new _0x9e6e84(_0x122e10),this[_0x1e9e('0x2b')][_0x1e9e('0x2')](_0x1e9e('0x30'))['to'](this,_0x1e9e('0xc'),_0x3d5d8f=>_0x3d5d8f-this[_0x1e9e('0x37')][_0x1e9e('0x7')]);for(const _0x399d4c of _0x43139d[_0x1e9e('0x11')])this[_0x1e9e('0x5')](_0x399d4c);this['_handleInfoComment'](),this[_0x1e9e('0x2f')](_0x43139d[_0x1e9e('0x11')],_0x1e9e('0x19'),(_0x140396,_0x9453a2)=>{const _0x12bdd9=this[_0x1e9e('0x10')](_0x9453a2);this[_0x1e9e('0xc')]++,this['_handleNewCommentModel'](_0x9453a2,_0x12bdd9),this[_0x1e9e('0xe')]();}),this[_0x1e9e('0x2f')](_0x43139d[_0x1e9e('0x11')],_0x1e9e('0x1d'),(_0x32f882,_0x110e2d)=>{this[_0x1e9e('0xc')]--,this[_0x1e9e('0x24')](_0x110e2d),this[_0x1e9e('0xe')]();}),this[_0x1e9e('0x2f')](_0x43139d,_0x1e9e('0x36'),()=>this[_0x1e9e('0xe')]()),this[_0x1e9e('0x2f')](_0x43139d,_0x1e9e('0x12'),()=>this['_handleInfoComment']()),this['on'](_0x1e9e('0x21'),()=>this[_0x1e9e('0xe')]()),this['on'](_0x1e9e('0x15'),()=>this[_0x1e9e('0xe')]()),this[_0x1e9e('0x3a')]({'tag':'ul','attributes':{'class':[_0x1e9e('0x2a')]},'children':this[_0x1e9e('0x23')]});}get[_0x1e9e('0x1e')](){return this[_0x1e9e('0x0')][_0x1e9e('0x1f')]>this[_0x1e9e('0x37')]['maxThreadTotalWeight']&&!this[_0x1e9e('0x2c')]&&!this[_0x1e9e('0x1')];}['render'](){super[_0x1e9e('0x9')](),this[_0x1e9e('0xe')]();}[_0x1e9e('0x20')](){this[_0x1e9e('0x29')][_0x1e9e('0x20')]();}['destroy'](){this[_0x1e9e('0x2b')][_0x1e9e('0x14')]();for(const _0x21682d of this[_0x1e9e('0x39')])_0x21682d[_0x1e9e('0x14')]();super[_0x1e9e('0x14')]();}['refreshVisibleViews'](){this[_0x1e9e('0x1e')]?this[_0x1e9e('0x32')]():this[_0x1e9e('0x4')]();}[_0x1e9e('0x5')](_0x2ef551,_0x382750){const _0x3deb8c=new this[(_0x1e9e('0x37'))]['CommentView'](this[_0x1e9e('0x2e')],_0x2ef551,{'maxCommentCharsWhenCollapsed':this[_0x1e9e('0x37')][_0x1e9e('0x6')],'formatDateTime':this['_config'][_0x1e9e('0x8')],'editorConfig':this[_0x1e9e('0x37')][_0x1e9e('0xf')]});_0x3deb8c['viewUid']=_0x2ef551['id'],_0x3deb8c[_0x1e9e('0x35')](_0x1e9e('0x34'))['to'](this),_0x3deb8c[_0x1e9e('0x35')](_0x1e9e('0x17'))['to'](this),_0x3deb8c[_0x1e9e('0x35')]('resolveCommentThread')['to'](this),_0x3deb8c[_0x1e9e('0x35')]('editorReady')['to'](this),_0x3deb8c['delegate'](_0x1e9e('0x27'))['to'](this),this['listenTo'](_0x3deb8c,_0x1e9e('0xd'),()=>this['_updateHasDirtyComment']()),this[_0x1e9e('0x39')][_0x1e9e('0x19')](_0x3deb8c,_0x382750);}[_0x1e9e('0x10')](_0x3c6cd0){const _0x142b33=this[_0x1e9e('0x0')][_0x1e9e('0x31')](_0x3c6cd0);return this[_0x1e9e('0x13')]?this[_0x1e9e('0x13')][_0x1e9e('0x33')]>_0x3c6cd0[_0x1e9e('0x33')]?_0x142b33-0x1:_0x142b33:_0x142b33-0x1;}[_0x1e9e('0x38')](){if(this[_0x1e9e('0x0')][_0x1e9e('0x1c')]&&this[_0x1e9e('0x0')]['resolvedAt']){const _0x7ac378={'id':_0x1e9e('0x2d'),'author':this[_0x1e9e('0x0')]['resolvedBy'],'authoredAt':this[_0x1e9e('0x0')][_0x1e9e('0xa')],'content':_0x2192e6(this[_0x1e9e('0x2e')],'Marked\x20as\x20resolved'),'attributes':{}};this[_0x1e9e('0x13')]=new this[(_0x1e9e('0x37'))][(_0x1e9e('0x22'))](this[_0x1e9e('0x2e')],_0x7ac378,{'maxCommentCharsWhenCollapsed':this[_0x1e9e('0x37')][_0x1e9e('0x6')],'formatDateTime':this[_0x1e9e('0x37')][_0x1e9e('0x8')],'editorConfig':this[_0x1e9e('0x37')][_0x1e9e('0xf')],'isSystemComment':!0x0}),this[_0x1e9e('0x39')][_0x1e9e('0x19')](this[_0x1e9e('0x13')],this[_0x1e9e('0x0')][_0x1e9e('0x31')](_0x7ac378));}else this[_0x1e9e('0x13')]&&(this[_0x1e9e('0x39')]['remove'](this['resolvedCommentView']),this[_0x1e9e('0x13')]['destroy'](),this['resolvedCommentView']=null);this[_0x1e9e('0xe')]();}[_0x1e9e('0x24')](_0x484896){const _0x37a971=this['commentViews'][_0x1e9e('0x1d')](_0x484896['id']);this['stopListening'](_0x37a971),_0x37a971[_0x1e9e('0x18')]&&this['_updateHasDirtyComment'](),_0x37a971[_0x1e9e('0x14')]();}['_updateHasDirtyComment'](){this['hasDirtyComment']=Array[_0x1e9e('0x16')](this['commentViews'])[_0x1e9e('0x1b')](_0x2463ec=>_0x2463ec[_0x1e9e('0x18')]);}[_0x1e9e('0x32')](){const _0x18c2ce=function(_0x3d066e){const _0x3151df=new _0x3f74b7();for(const _0x44c1d4 of _0x3d066e)_0x3151df[_0x1e9e('0x19')](_0x44c1d4);return _0x3151df;}(this[_0x1e9e('0x39')]),_0xea1985=this[_0x1e9e('0x2b')][_0x1e9e('0x30')];for(let _0x1b9f84=0x1;_0x1b9f84<=_0xea1985;_0x1b9f84++)_0x18c2ce[_0x1e9e('0x1d')](0x1);for(const _0x15e6c7 of _0x18c2ce)_0x15e6c7[_0x1e9e('0x26')]();_0xea1985>0x0&&_0x18c2ce['add'](this[_0x1e9e('0x2b')],0x1),is(_0xdc6388(Array[_0x1e9e('0x16')](this[_0x1e9e('0x23')]),Array[_0x1e9e('0x16')](_0x18c2ce)),this[_0x1e9e('0x23')],_0x18c2ce);}[_0x1e9e('0x4')](){is(_0xdc6388(Array[_0x1e9e('0x16')](this[_0x1e9e('0x23')]),Array[_0x1e9e('0x16')](this[_0x1e9e('0x39')])),this[_0x1e9e('0x23')],this['commentViews']);for(const _0x500377 of this[_0x1e9e('0x23')])_0x500377['expand']();}}function is(_0x7a325d,_0x34dd38,_0x59b114){let _0x5270ae=0x0;for(const _0x375975 of _0x7a325d)switch(_0x375975){case'insert':_0x34dd38['add'](_0x59b114[_0x1e9e('0x25')](_0x5270ae),_0x5270ae),_0x5270ae++;break;case _0x1e9e('0x1a'):_0x34dd38[_0x1e9e('0x1d')](_0x5270ae);break;case _0x1e9e('0xb'):_0x5270ae++;}}
23
+ const _0x1b0b=['from','removeComment','maxCommentsWhenCollapsed','_config','commentUpdated','set','weight','focus','_handleInfoComment','_updateHasDirtyComment','change:isEditMode','length','visibleViews','_rearrangeCollapse','get','locale','_calculatePosition','_findOptimalIndex','destroy','resolvedBy','_collapsedCommentsView','viewUid','refreshVisibleViews','some','element','isEditMode','updateComment','listenTo','resolvedAt','editorDestroyed','resolvedCommentView','isActive','_shouldCollapse','formatDateTime','maxCommentCharsWhenCollapsed','commentViews','comments','remove','expand','ck-thread__comments','maxThreadTotalWeight','delete','createCollection','render','count','_handleNewCommentModel','resolveCommentThread','change:isActive','setTemplate','add','_model','_rearrangeExpand','_handleRemoveCommentModel','delegate','authoredAt','hasDirtyComment','CommentView','change:hasDirtyComment','editorReady'];(function(_0x54708e,_0x1b0b4a){const _0x4733f7=function(_0x58bd3b){while(--_0x58bd3b){_0x54708e['push'](_0x54708e['shift']());}};_0x4733f7(++_0x1b0b4a);}(_0x1b0b,0x1c7));const _0x4733=function(_0x54708e,_0x1b0b4a){_0x54708e=_0x54708e-0x0;let _0x4733f7=_0x1b0b[_0x54708e];return _0x4733f7;};import{View as _0x260a92}from'ckeditor5/src/ui.js';import{diff as _0x26d9bf,Collection as _0x550f97}from'ckeditor5/src/utils.js';import{getTranslation as _0x1dda6f}from'../../../utils/common-translations.js';import _0x5f0dbc from'./collapsedcommentsview.js';export default class vt extends _0x260a92{constructor(_0x4c8dac,_0x258a95,_0x4acd8b){super(_0x4c8dac),this['set'](_0x4733('0xd'),!0x1),this['set'](_0x4733('0x1c'),_0x258a95[_0x4733('0x35')]['length']),this[_0x4733('0x16')](_0x4733('0x30'),!0x1),this[_0x4733('0x8')]=_0x258a95,this['_config']=_0x4acd8b,this[_0x4733('0x34')]=this[_0x4733('0x0')](),this[_0x4733('0x1d')]=this[_0x4733('0x0')](),this['resolvedCommentView']=null,this[_0x4733('0x25')]=new _0x5f0dbc(_0x4c8dac),this[_0x4733('0x25')]['bind']('count')['to'](this,_0x4733('0x1c'),_0x5ee7d0=>_0x5ee7d0-this['_config'][_0x4733('0x13')]);for(const _0x58016a of _0x258a95['comments'])this['_handleNewCommentModel'](_0x58016a);this[_0x4733('0x19')](),this[_0x4733('0x2c')](_0x258a95[_0x4733('0x35')],_0x4733('0x7'),(_0x25abc9,_0x4662b7)=>{const _0x1d33c3=this[_0x4733('0x21')](_0x4662b7);this[_0x4733('0x1c')]++,this['_handleNewCommentModel'](_0x4662b7,_0x1d33c3),this[_0x4733('0x27')]();}),this[_0x4733('0x2c')](_0x258a95[_0x4733('0x35')],_0x4733('0x36'),(_0x339824,_0x350f8f)=>{this[_0x4733('0x1c')]--,this[_0x4733('0xa')](_0x350f8f),this[_0x4733('0x27')]();}),this[_0x4733('0x2c')](_0x258a95,_0x4733('0x15'),()=>this['refreshVisibleViews']()),this[_0x4733('0x2c')](_0x258a95,'change:isResolved',()=>this[_0x4733('0x19')]()),this['on'](_0x4733('0x5'),()=>this[_0x4733('0x27')]()),this['on'](_0x4733('0xf'),()=>this[_0x4733('0x27')]()),this[_0x4733('0x6')]({'tag':'ul','attributes':{'class':[_0x4733('0x38')]},'children':this[_0x4733('0x1d')]});}get[_0x4733('0x31')](){return this[_0x4733('0x8')][_0x4733('0x17')]>this['_config'][_0x4733('0x39')]&&!this[_0x4733('0x30')]&&!this[_0x4733('0xd')];}[_0x4733('0x1')](){super['render'](),this[_0x4733('0x27')]();}[_0x4733('0x18')](){this[_0x4733('0x29')][_0x4733('0x18')]();}['destroy'](){this[_0x4733('0x25')]['destroy']();for(const _0x69d646 of this[_0x4733('0x34')])_0x69d646[_0x4733('0x23')]();super[_0x4733('0x23')]();}[_0x4733('0x27')](){this[_0x4733('0x31')]?this[_0x4733('0x1e')]():this[_0x4733('0x9')]();}[_0x4733('0x3')](_0x9c2226,_0x5ee7ec){const _0x4d7293=new this[(_0x4733('0x14'))][(_0x4733('0xe'))](this[_0x4733('0x20')],_0x9c2226,{'maxCommentCharsWhenCollapsed':this['_config'][_0x4733('0x33')],'formatDateTime':this[_0x4733('0x14')][_0x4733('0x32')],'editorConfig':this['_config']['editorConfig']});_0x4d7293[_0x4733('0x26')]=_0x9c2226['id'],_0x4d7293[_0x4733('0xb')](_0x4733('0x12'))['to'](this),_0x4d7293[_0x4733('0xb')](_0x4733('0x2b'))['to'](this),_0x4d7293[_0x4733('0xb')](_0x4733('0x4'))['to'](this),_0x4d7293[_0x4733('0xb')](_0x4733('0x10'))['to'](this),_0x4d7293[_0x4733('0xb')](_0x4733('0x2e'))['to'](this),this[_0x4733('0x2c')](_0x4d7293,_0x4733('0x1b'),()=>this['_updateHasDirtyComment']()),this[_0x4733('0x34')]['add'](_0x4d7293,_0x5ee7ec);}[_0x4733('0x21')](_0x2609e2){const _0x3a9499=this['_model'][_0x4733('0x22')](_0x2609e2);return this[_0x4733('0x2f')]?this['resolvedCommentView'][_0x4733('0xc')]>_0x2609e2[_0x4733('0xc')]?_0x3a9499-0x1:_0x3a9499:_0x3a9499-0x1;}[_0x4733('0x19')](){if(this['_model'][_0x4733('0x24')]&&this['_model'][_0x4733('0x2d')]){const _0x47ab4e={'id':'resolved','author':this[_0x4733('0x8')][_0x4733('0x24')],'authoredAt':this[_0x4733('0x8')]['resolvedAt'],'content':_0x1dda6f(this[_0x4733('0x20')],'Marked\x20as\x20resolved'),'attributes':{}};this[_0x4733('0x2f')]=new this['_config'][(_0x4733('0xe'))](this['locale'],_0x47ab4e,{'maxCommentCharsWhenCollapsed':this[_0x4733('0x14')][_0x4733('0x33')],'formatDateTime':this['_config'][_0x4733('0x32')],'editorConfig':this[_0x4733('0x14')]['editorConfig'],'isSystemComment':!0x0}),this['commentViews'][_0x4733('0x7')](this[_0x4733('0x2f')],this[_0x4733('0x8')][_0x4733('0x22')](_0x47ab4e));}else this[_0x4733('0x2f')]&&(this['commentViews'][_0x4733('0x36')](this[_0x4733('0x2f')]),this[_0x4733('0x2f')][_0x4733('0x23')](),this['resolvedCommentView']=null);this[_0x4733('0x27')]();}[_0x4733('0xa')](_0x1d9282){const _0x40a634=this[_0x4733('0x34')][_0x4733('0x36')](_0x1d9282['id']);this['stopListening'](_0x40a634),_0x40a634[_0x4733('0x2a')]&&this[_0x4733('0x1a')](),_0x40a634['destroy']();}[_0x4733('0x1a')](){this[_0x4733('0xd')]=Array[_0x4733('0x11')](this[_0x4733('0x34')])[_0x4733('0x28')](_0x59687f=>_0x59687f[_0x4733('0x2a')]);}[_0x4733('0x1e')](){const _0x5bdb08=function(_0x48ac8a){const _0x439175=new _0x550f97();for(const _0x48869a of _0x48ac8a)_0x439175[_0x4733('0x7')](_0x48869a);return _0x439175;}(this[_0x4733('0x34')]),_0x551dcb=this['_collapsedCommentsView'][_0x4733('0x2')];for(let _0x33e18e=0x1;_0x33e18e<=_0x551dcb;_0x33e18e++)_0x5bdb08['remove'](0x1);for(const _0x380790 of _0x5bdb08)_0x380790['collapse']();_0x551dcb>0x0&&_0x5bdb08['add'](this[_0x4733('0x25')],0x1),is(_0x26d9bf(Array[_0x4733('0x11')](this[_0x4733('0x1d')]),Array[_0x4733('0x11')](_0x5bdb08)),this[_0x4733('0x1d')],_0x5bdb08);}[_0x4733('0x9')](){is(_0x26d9bf(Array[_0x4733('0x11')](this[_0x4733('0x1d')]),Array[_0x4733('0x11')](this[_0x4733('0x34')])),this['visibleViews'],this[_0x4733('0x34')]);for(const _0x42537e of this[_0x4733('0x1d')])_0x42537e[_0x4733('0x37')]();}}function is(_0x187e62,_0x30f6fb,_0xc1ec88){let _0x4b66f5=0x0;for(const _0x2bf0be of _0x187e62)switch(_0x2bf0be){case'insert':_0x30f6fb[_0x4733('0x7')](_0xc1ec88[_0x4733('0x1f')](_0x4b66f5),_0x4b66f5),_0x4b66f5++;break;case _0x4733('0x3a'):_0x30f6fb[_0x4733('0x36')](_0x4b66f5);break;case'equal':_0x4b66f5++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ced=['.ck-context','length','ck-annotation__actions','_createReopenButton','context','render','substring','reopenCommentThread','hasContext','listenTo','isResolved','bindTemplate','contextValue','isVisible','add','execute','mouseleave','lastIndexOf','classList','mouseenter','span','_attachContextActions','ck-context','value','ck-context__value','reopenButtonView','Reopen','querySelector','.ck-context__value','tooltip','locale','isResolvable','bind','_model','Comment\x20was\x20made\x20on\x20an\x20element','label','overlay','_trimContextValue','isEnabled','ck-thread__header','remove','div'];(function(_0x1b460d,_0x1ced7e){const _0x1b9f5e=function(_0x1426bf){while(--_0x1426bf){_0x1b460d['push'](_0x1b460d['shift']());}};_0x1b9f5e(++_0x1ced7e);}(_0x1ced,0xd6));const _0x1b9f=function(_0x1b460d,_0x1ced7e){_0x1b460d=_0x1b460d-0x0;let _0x1b9f5e=_0x1ced[_0x1b460d];return _0x1b9f5e;};import{View as _0x54933b,ButtonView as _0xf609a5}from'ckeditor5/src/ui.js';import{getTranslation as _0x72de0a}from'../../../utils/common-translations.js';import _0x4d01be from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Tt extends _0x54933b{constructor(_0xc63ced,_0x1b47e2){super(_0xc63ced);const _0x3395de=this[_0x1b9f('0x7')];this[_0x1b9f('0x1d')]=_0x1b47e2,this[_0x1b9f('0x15')]=this[_0x1b9f('0x29')](),this['bind']('hasContext')['to'](this[_0x1b9f('0x1d')],_0x1b9f('0x0'),_0x4741da=>!!_0x4741da),this['bind'](_0x1b9f('0x8'))['to'](this[_0x1b9f('0x1d')],_0x1b9f('0x0'),_0x313557=>_0x313557&&_0x313557[_0x1b9f('0x13')]?this['_trimContextValue'](_0x313557['value']):_0x72de0a(this['locale'],_0x1b9f('0x1e'))),this['setTemplate']({'tag':_0x1b9f('0x25'),'attributes':{'class':[_0x1b9f('0x23')]},'children':[{'tag':_0x1b9f('0x25'),'attributes':{'class':['ck-context-wrapper']},'children':[{'tag':'div','attributes':{'class':[_0x1b9f('0x12'),_0x3395de['if'](_0x1b9f('0x4'),'ck-context--quotes')]},'children':[{'tag':_0x1b9f('0x10'),'attributes':{'class':[_0x1b9f('0x14')]},'children':[{'text':_0x3395de['to'](_0x1b9f('0x8'))}]}]}]},{'tag':_0x1b9f('0x25'),'attributes':{'class':[_0x1b9f('0x28')]},'children':[this['reopenButtonView']]}]});}[_0x1b9f('0x1')](){super[_0x1b9f('0x1')](),this[_0x1b9f('0x11')]();}[_0x1b9f('0x29')](){const _0x3e422a=new _0xf609a5(this[_0x1b9f('0x1a')]);return _0x3e422a[_0x1b9f('0x1f')]=_0x72de0a(this[_0x1b9f('0x1a')],_0x1b9f('0x16')),_0x3e422a[_0x1b9f('0x19')]=_0x72de0a(this[_0x1b9f('0x1a')],_0x1b9f('0x16')),_0x3e422a['icon']=_0x4d01be,_0x3e422a['bind'](_0x1b9f('0x22'))['to'](this['_model'],'isReadOnly',_0x3c59bb=>!_0x3c59bb),_0x3e422a[_0x1b9f('0x1c')](_0x1b9f('0x9'))['to'](this[_0x1b9f('0x1d')],_0x1b9f('0x1b'),this[_0x1b9f('0x1d')],_0x1b9f('0x6'),(_0x2e8a07,_0x15551b)=>_0x2e8a07&&_0x15551b),_0x3e422a['on'](_0x1b9f('0xb'),()=>{this['fire'](_0x1b9f('0x3'),this[_0x1b9f('0x1d')]['id']);}),_0x3e422a;}[_0x1b9f('0x21')](_0x4aa452){if(_0x4aa452[_0x1b9f('0x27')]<0x96)return _0x4aa452;const _0x2af805=_0x4aa452[_0x1b9f('0xd')]('\x20',0x93);return _0x4aa452[_0x1b9f('0x2')](0x0,_0x2af805>-0x1?_0x2af805:0x93)+'...';}['_attachContextActions'](){const _0x55b091=this['element'][_0x1b9f('0x17')](_0x1b9f('0x26')),_0x5a483f=_0x55b091['querySelector'](_0x1b9f('0x18'));this[_0x1b9f('0x5')](_0x55b091,_0x1b9f('0xf'),()=>{_0x5a483f['offsetWidth']<_0x5a483f['scrollWidth']&&_0x55b091['classList'][_0x1b9f('0xa')]('overlay');}),this[_0x1b9f('0x5')](_0x55b091,_0x1b9f('0xc'),()=>{_0x55b091[_0x1b9f('0xe')][_0x1b9f('0x24')](_0x1b9f('0x20'));});}}
23
+ const _0x3e47=['length','fire','ck-context--quotes','Comment\x20was\x20made\x20on\x20an\x20element','listenTo','hasContext','ck-context-wrapper','contextValue','render','label','ck-context__value','lastIndexOf','context','offsetWidth','add','isReadOnly','...','tooltip','.ck-context','reopenButtonView','span','value','isResolvable','_model','ck-annotation__actions','reopenCommentThread','locale','isEnabled','ck-thread__header','querySelector','_trimContextValue','classList','overlay','mouseleave','_createReopenButton','ck-context','substring','isResolved','.ck-context__value','Reopen','icon','div','setTemplate','bind','element'];(function(_0x246655,_0x3e47b4){const _0x2fafab=function(_0xf56611){while(--_0xf56611){_0x246655['push'](_0x246655['shift']());}};_0x2fafab(++_0x3e47b4);}(_0x3e47,0xfd));const _0x2faf=function(_0x246655,_0x3e47b4){_0x246655=_0x246655-0x0;let _0x2fafab=_0x3e47[_0x246655];return _0x2fafab;};import{View as _0x3f4277,ButtonView as _0x117532}from'ckeditor5/src/ui.js';import{getTranslation as _0x5bc6ff}from'../../../utils/common-translations.js';import _0x782fbc from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Tt extends _0x3f4277{constructor(_0x43a82d,_0x4faea7){super(_0x43a82d);const _0x42845a=this['bindTemplate'];this[_0x2faf('0x28')]=_0x4faea7,this['reopenButtonView']=this[_0x2faf('0x6')](),this[_0x2faf('0xf')](_0x2faf('0x16'))['to'](this[_0x2faf('0x28')],'context',_0x3d9088=>!!_0x3d9088),this[_0x2faf('0xf')](_0x2faf('0x18'))['to'](this[_0x2faf('0x28')],_0x2faf('0x1d'),_0x2bdfb2=>_0x2bdfb2&&_0x2bdfb2['value']?this[_0x2faf('0x2')](_0x2bdfb2[_0x2faf('0x26')]):_0x5bc6ff(this['locale'],_0x2faf('0x14'))),this[_0x2faf('0xe')]({'tag':'div','attributes':{'class':[_0x2faf('0x0')]},'children':[{'tag':_0x2faf('0xd'),'attributes':{'class':[_0x2faf('0x17')]},'children':[{'tag':'div','attributes':{'class':[_0x2faf('0x7'),_0x42845a['if'](_0x2faf('0x16'),_0x2faf('0x13'))]},'children':[{'tag':_0x2faf('0x25'),'attributes':{'class':[_0x2faf('0x1b')]},'children':[{'text':_0x42845a['to'](_0x2faf('0x18'))}]}]}]},{'tag':_0x2faf('0xd'),'attributes':{'class':[_0x2faf('0x29')]},'children':[this[_0x2faf('0x24')]]}]});}[_0x2faf('0x19')](){super[_0x2faf('0x19')](),this['_attachContextActions']();}['_createReopenButton'](){const _0x2b593c=new _0x117532(this[_0x2faf('0x2b')]);return _0x2b593c[_0x2faf('0x1a')]=_0x5bc6ff(this[_0x2faf('0x2b')],'Reopen'),_0x2b593c[_0x2faf('0x22')]=_0x5bc6ff(this[_0x2faf('0x2b')],_0x2faf('0xb')),_0x2b593c[_0x2faf('0xc')]=_0x782fbc,_0x2b593c[_0x2faf('0xf')](_0x2faf('0x2c'))['to'](this[_0x2faf('0x28')],_0x2faf('0x20'),_0x3e7a6d=>!_0x3e7a6d),_0x2b593c['bind']('isVisible')['to'](this[_0x2faf('0x28')],_0x2faf('0x27'),this[_0x2faf('0x28')],_0x2faf('0x9'),(_0x35619b,_0x5c3078)=>_0x35619b&&_0x5c3078),_0x2b593c['on']('execute',()=>{this[_0x2faf('0x12')](_0x2faf('0x2a'),this[_0x2faf('0x28')]['id']);}),_0x2b593c;}[_0x2faf('0x2')](_0x420c5d){if(_0x420c5d[_0x2faf('0x11')]<0x96)return _0x420c5d;const _0x15d703=_0x420c5d[_0x2faf('0x1c')]('\x20',0x93);return _0x420c5d[_0x2faf('0x8')](0x0,_0x15d703>-0x1?_0x15d703:0x93)+_0x2faf('0x21');}['_attachContextActions'](){const _0x1e8b27=this[_0x2faf('0x10')][_0x2faf('0x1')](_0x2faf('0x23')),_0x11fcd5=_0x1e8b27[_0x2faf('0x1')](_0x2faf('0xa'));this[_0x2faf('0x15')](_0x1e8b27,'mouseenter',()=>{_0x11fcd5[_0x2faf('0x1e')]<_0x11fcd5['scrollWidth']&&_0x1e8b27[_0x2faf('0x3')][_0x2faf('0x1f')]('overlay');}),this[_0x2faf('0x15')](_0x1e8b27,_0x2faf('0x5'),()=>{_0x1e8b27[_0x2faf('0x3')]['remove'](_0x2faf('0x4'));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x16ee=['extendTemplate','delegate','editorReady','showInput','ck-thread__user','createEditor','showButtons','ck-comment__input-container--active','div','change:showInput','then','isFocused','destroy','value','editor','ck-thread__input','bindTemplate','setTemplate','userView','editorDestroyed','focusTracker','commentInputView'];(function(_0x2ffe4a,_0x16eea1){var _0x3f3145=function(_0x20d757){while(--_0x20d757){_0x2ffe4a['push'](_0x2ffe4a['shift']());}};_0x3f3145(++_0x16eea1);}(_0x16ee,0x12d));var _0x3f31=function(_0x2ffe4a,_0x16eea1){_0x2ffe4a=_0x2ffe4a-0x0;var _0x3f3145=_0x16ee[_0x2ffe4a];return _0x3f3145;};import{View as _0x3564b9}from'ckeditor5/src/ui.js';import _0x4dd9c5 from'./commentinputview.js';import{UserView as _0x3a31ea}from'ckeditor5-collaboration/src/collaboration-core.js';export default class Ct extends _0x3564b9{constructor(_0x558cdb,_0x439f63,_0x2fd1f0){super(_0x558cdb),this[_0x3f31('0x6')]=new _0x4dd9c5(_0x558cdb,_0x2fd1f0),this['commentInputView']['bind'](_0x3f31('0xd'))['to'](this[_0x3f31('0x6')][_0x3f31('0x5')],_0x3f31('0x12'),this[_0x3f31('0x6')],_0x3f31('0x14'),(_0x5f1e6a,_0x236263)=>_0x5f1e6a||!!_0x236263),this['set'](_0x3f31('0xa'),!0x1),this['on'](_0x3f31('0x10'),()=>{this['showInput']&&!this[_0x3f31('0x6')][_0x3f31('0x15')]&&this[_0x3f31('0x6')][_0x3f31('0xc')]();}),this['commentInputView']['delegate'](_0x3f31('0x9'))['to'](this),this[_0x3f31('0x6')][_0x3f31('0x8')](_0x3f31('0x4'))['to'](this),this['userView']=new _0x3a31ea(_0x558cdb,_0x439f63),this['userView']['extendTemplate']({'attributes':{'class':_0x3f31('0xb')}}),this[_0x3f31('0x6')][_0x3f31('0x7')]({'attributes':{'class':_0x3f31('0x0')}}),this[_0x3f31('0x2')]({'tag':_0x3f31('0xf'),'attributes':{'class':['ck-comment__input-container',this[_0x3f31('0x1')]['if'](_0x3f31('0xa'),_0x3f31('0xe'))]},'children':[this[_0x3f31('0x3')],this[_0x3f31('0x6')]]});}['destroy'](){return this[_0x3f31('0x6')]['destroy']()[_0x3f31('0x11')](()=>super[_0x3f31('0x13')]());}}
23
+ var _0x11eb=['extendTemplate','createEditor','ck-thread__user','ck-comment__input-container','focusTracker','commentInputView','destroy','userView','set','delegate','bindTemplate','setTemplate','showInput','change:showInput','value','then','editor'];(function(_0x2c0d82,_0x11eb35){var _0x21d963=function(_0x148352){while(--_0x148352){_0x2c0d82['push'](_0x2c0d82['shift']());}};_0x21d963(++_0x11eb35);}(_0x11eb,0x11d));var _0x21d9=function(_0x2c0d82,_0x11eb35){_0x2c0d82=_0x2c0d82-0x0;var _0x21d963=_0x11eb[_0x2c0d82];return _0x21d963;};import{View as _0x27f8e6}from'ckeditor5/src/ui.js';import _0x3d1821 from'./commentinputview.js';import{UserView as _0x2d0984}from'ckeditor5-collaboration/src/collaboration-core.js';export default class Ct extends _0x27f8e6{constructor(_0x2e7f4b,_0x42bf96,_0x46df0e){super(_0x2e7f4b),this[_0x21d9('0x9')]=new _0x3d1821(_0x2e7f4b,_0x46df0e),this[_0x21d9('0x9')]['bind']('showButtons')['to'](this[_0x21d9('0x9')][_0x21d9('0x8')],'isFocused',this['commentInputView'],_0x21d9('0x1'),(_0x3920a6,_0x25c4ad)=>_0x3920a6||!!_0x25c4ad),this[_0x21d9('0xc')](_0x21d9('0x10'),!0x1),this['on'](_0x21d9('0x0'),()=>{this[_0x21d9('0x10')]&&!this[_0x21d9('0x9')][_0x21d9('0x3')]&&this[_0x21d9('0x9')][_0x21d9('0x5')]();}),this[_0x21d9('0x9')][_0x21d9('0xd')]('editorReady')['to'](this),this[_0x21d9('0x9')][_0x21d9('0xd')]('editorDestroyed')['to'](this),this['userView']=new _0x2d0984(_0x2e7f4b,_0x42bf96),this['userView'][_0x21d9('0x4')]({'attributes':{'class':_0x21d9('0x6')}}),this['commentInputView']['extendTemplate']({'attributes':{'class':'ck-thread__input'}}),this[_0x21d9('0xf')]({'tag':'div','attributes':{'class':[_0x21d9('0x7'),this[_0x21d9('0xe')]['if'](_0x21d9('0x10'),'ck-comment__input-container--active')]},'children':[this[_0x21d9('0xb')],this['commentInputView']]});}[_0x21d9('0xa')](){return this[_0x21d9('0x9')][_0x21d9('0xa')]()[_0x21d9('0x2')](()=>super[_0x21d9('0xa')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f89=['execute','actionIndicator','fire','has','label','.ck-thread__container','listenTo','ck-thread__container','_cancelAllConfirms','isConfirm','commentThreadHeaderView','length','ck-comment--resolve','Delete\x20comment\x20thread?','remove','isUnlinked','Write\x20a\x20comment...','commentViews','change:archivedAt','icon','locale','set','bindTemplate','querySelector','Resolve','cancelConfirm','setTemplate','resolveButton','_boundFirstCommentView','_bindFirstCommentView','containerElement','ck-thread--','element','div','high','commentThreadChildren','change:isReadOnly','getTemplate','render','isSystemComment','_model','extendTemplate','commentsListView','commentThreadInputView','tooltip','ck-thread--unlinked','resolveCommentThread','isResolvable','createCollection','isResolved','_createResolveButton','bind','check','ck-thread--remove-confirmation','isEnabled','add','get','addMany','isVisible'];(function(_0x2ddd98,_0x3f8997){const _0x4a308e=function(_0x1bbf91){while(--_0x1bbf91){_0x2ddd98['push'](_0x2ddd98['shift']());}};_0x4a308e(++_0x3f8997);}(_0x3f89,0x124));const _0x4a30=function(_0x2ddd98,_0x3f8997){_0x2ddd98=_0x2ddd98-0x0;let _0x4a308e=_0x3f89[_0x2ddd98];return _0x4a308e;};import{ConfirmMixin as _0xaa0ef1}from'ckeditor5-collaboration/src/collaboration-core.js';import{ButtonView as _0x228011}from'ckeditor5/src/ui.js';import{icons as _0x2c35}from'ckeditor5/src/core.js';import _0x3c0fae from'./basecommentthreadview.js';import{getTranslation as _0x4dd17d}from'../../../utils/common-translations.js';export default class ft extends _0xaa0ef1(_0x3c0fae){constructor(_0x518bfa,_0x4bab70,_0x4adcd1,_0x5aa08f){super(_0x518bfa,_0x4bab70,_0x4adcd1,_0x5aa08f),this['commentThreadChildren']=this[_0x4a30('0x33')](),this[_0x4a30('0x26')][_0x4a30('0x1')]([this[_0x4a30('0x2d')],this[_0x4a30('0x2e')]]),this['_model']['archivedAt']&&this['commentThreadChildren'][_0x4a30('0x3a')](this['commentThreadHeaderView'],0x0),this[_0x4a30('0x2b')]['on'](_0x4a30('0x15'),(_0x574d28,_0x539595,_0x31265d)=>{_0x31265d?this['commentThreadChildren'][_0x4a30('0x6')](this['commentThreadHeaderView'])||this[_0x4a30('0x26')]['add'](this['commentThreadHeaderView'],0x0):this[_0x4a30('0x26')][_0x4a30('0x11')](this[_0x4a30('0xd')]);}),this[_0x4a30('0x18')](_0x4a30('0x4'),null),this['containerElement']=null,this[_0x4a30('0x1f')]=null,this[_0x4a30('0x17')]=_0x518bfa,this[_0x4a30('0x1e')]=this[_0x4a30('0x35')](),this[_0x4a30('0x1d')](this[_0x4a30('0x28')]()),this['on']('change:isActive',(_0x53bd20,_0x39a096,_0x4866e4)=>{_0x4866e4||this[_0x4a30('0xb')]();}),this[_0x4a30('0x9')](this[_0x4a30('0x2b')],_0x4a30('0x27'),(_0x17f5aa,_0x2b94a4,_0x58948a)=>{_0x58948a&&this[_0x4a30('0xb')]();}),this[_0x4a30('0xe')]>0x0&&this['_bindFirstCommentView'](),this[_0x4a30('0x9')](this[_0x4a30('0x2d')][_0x4a30('0x14')],_0x4a30('0x3a'),()=>{this[_0x4a30('0x20')]();});}[_0x4a30('0x28')](){const _0x50b715=this[_0x4a30('0x19')];return{'tag':_0x4a30('0x24'),'attributes':{'class':['ck-thread','ck-reset_all-excluded',_0x50b715['if']('isActive','ck-thread--active'),_0x50b715['if'](_0x4a30('0x12'),_0x4a30('0x30')),_0x50b715['if'](_0x4a30('0xc'),_0x4a30('0x38')),_0x50b715['to'](_0x4a30('0x4'),_0x23a4de=>_0x23a4de?_0x4a30('0x22')+_0x23a4de:'')],'data-thread-id':this[_0x4a30('0x2b')]['id'],'tabindex':-0x1},'children':[{'tag':_0x4a30('0x24'),'attributes':{'class':_0x4a30('0xa')},'children':this[_0x4a30('0x26')]}]};}[_0x4a30('0x29')](){super[_0x4a30('0x29')](),this['containerElement']=this[_0x4a30('0x23')][_0x4a30('0x1a')](_0x4a30('0x8'));}['_cancelAllConfirms'](){this[_0x4a30('0x1c')]();for(const _0x3dc448 of this[_0x4a30('0x2d')][_0x4a30('0x14')])_0x3dc448[_0x4a30('0x1c')]();}[_0x4a30('0x20')](){const {locale:_0x3d8158}=this,_0x51d4b9=this[_0x4a30('0x2d')][_0x4a30('0x14')][_0x4a30('0x0')](0x0);_0x51d4b9===this['_boundFirstCommentView']||_0x51d4b9[_0x4a30('0x2a')]||(this[_0x4a30('0x1f')]=_0x51d4b9,this['unbind'](_0x4a30('0x4')),this['bind']('actionIndicator')['to'](_0x51d4b9,_0x4a30('0x4'),_0x2eae41=>_0x4a30('0x11')===_0x2eae41?_0x4a30('0x11'):null),_0x51d4b9['placeholder']=_0x4dd17d(_0x3d8158,_0x4a30('0x13')),_0x51d4b9['removeButton']['on'](_0x4a30('0x3'),_0x50d437=>{_0x50d437['stop'](),this['showConfirm'](_0x4dd17d(_0x3d8158,_0x4a30('0x10')),this[_0x4a30('0x21')])['then'](()=>{this[_0x4a30('0x5')]('removeCommentThread');});},{'priority':_0x4a30('0x25')}),_0x51d4b9['actionBar']['add'](this[_0x4a30('0x1e')],0x0));}[_0x4a30('0x35')](){const _0x236ad1=new _0x228011(this[_0x4a30('0x17')]);return _0x236ad1[_0x4a30('0x7')]=_0x4dd17d(this['locale'],_0x4a30('0x1b')),_0x236ad1[_0x4a30('0x2f')]=_0x4dd17d(this[_0x4a30('0x17')],_0x4a30('0x1b')),_0x236ad1[_0x4a30('0x16')]=_0x2c35[_0x4a30('0x37')],_0x236ad1[_0x4a30('0x2c')]({'attributes':{'class':_0x4a30('0xf')}}),_0x236ad1[_0x4a30('0x36')](_0x4a30('0x39'))['to'](this[_0x4a30('0x2b')],'isReadOnly',_0xb08ede=>!_0xb08ede),_0x236ad1[_0x4a30('0x36')](_0x4a30('0x2'))['to'](this[_0x4a30('0x2b')],_0x4a30('0x32'),this[_0x4a30('0x2b')],_0x4a30('0x34'),(_0x3a21cd,_0x58857a)=>_0x3a21cd&&!_0x58857a),_0x236ad1['on']('execute',()=>{this['fire'](_0x4a30('0x31'),this[_0x4a30('0x2b')]['id']);}),_0x236ad1;}}
23
+ const _0x92cf=['placeholder','cancelConfirm','extendTemplate','commentThreadChildren','getTemplate','ck-thread','_model','change:isActive','check','_boundFirstCommentView','ck-thread--active','commentViews','commentsListView','Write\x20a\x20comment...','showConfirm','resolveButton','addMany','_bindFirstCommentView','setTemplate','then','archivedAt','ck-reset_all-excluded','icon','actionIndicator','isEnabled','actionBar','length','Delete\x20comment\x20thread?','render','isReadOnly','change:isReadOnly','commentThreadInputView','_createResolveButton','containerElement','fire','resolveCommentThread','remove','_cancelAllConfirms','isConfirm','add','unbind','ck-thread__container','locale','change:archivedAt','isUnlinked','execute','div','listenTo','bind','.ck-thread__container','ck-thread--unlinked','set','commentThreadHeaderView','bindTemplate','createCollection'];(function(_0x4d1dc9,_0x92cf4e){const _0xae6419=function(_0x2a7b36){while(--_0x2a7b36){_0x4d1dc9['push'](_0x4d1dc9['shift']());}};_0xae6419(++_0x92cf4e);}(_0x92cf,0x1a8));const _0xae64=function(_0x4d1dc9,_0x92cf4e){_0x4d1dc9=_0x4d1dc9-0x0;let _0xae6419=_0x92cf[_0x4d1dc9];return _0xae6419;};import{ConfirmMixin as _0x58fc2e}from'ckeditor5-collaboration/src/collaboration-core.js';import{ButtonView as _0x1e8f67}from'ckeditor5/src/ui.js';import{icons as _0x1b52fd}from'ckeditor5/src/core.js';import _0xe8bdcf from'./basecommentthreadview.js';import{getTranslation as _0x5dca0e}from'../../../utils/common-translations.js';export default class ft extends _0x58fc2e(_0xe8bdcf){constructor(_0x154e92,_0x465f42,_0x5c5433,_0x2b0dbe){super(_0x154e92,_0x465f42,_0x5c5433,_0x2b0dbe),this[_0xae64('0x13')]=this[_0xae64('0xf')](),this[_0xae64('0x13')][_0xae64('0x20')]([this[_0xae64('0x1c')],this[_0xae64('0x2f')]]),this[_0xae64('0x16')][_0xae64('0x24')]&&this[_0xae64('0x13')][_0xae64('0x0')](this[_0xae64('0xd')],0x0),this['_model']['on'](_0xae64('0x4'),(_0x2a088a,_0x423a84,_0x48ec2d)=>{_0x48ec2d?this[_0xae64('0x13')]['has'](this['commentThreadHeaderView'])||this[_0xae64('0x13')]['add'](this[_0xae64('0xd')],0x0):this[_0xae64('0x13')]['remove'](this[_0xae64('0xd')]);}),this[_0xae64('0xc')](_0xae64('0x27'),null),this[_0xae64('0x31')]=null,this[_0xae64('0x19')]=null,this[_0xae64('0x3')]=_0x154e92,this[_0xae64('0x1f')]=this[_0xae64('0x30')](),this[_0xae64('0x22')](this[_0xae64('0x14')]()),this['on'](_0xae64('0x17'),(_0x5b658d,_0x131dd2,_0x4147aa)=>{_0x4147aa||this[_0xae64('0x35')]();}),this[_0xae64('0x8')](this[_0xae64('0x16')],_0xae64('0x2e'),(_0x5c14f0,_0x20342e,_0x55d040)=>{_0x55d040&&this[_0xae64('0x35')]();}),this[_0xae64('0x2a')]>0x0&&this[_0xae64('0x21')](),this[_0xae64('0x8')](this[_0xae64('0x1c')][_0xae64('0x1b')],'add',()=>{this[_0xae64('0x21')]();});}[_0xae64('0x14')](){const _0xfc943b=this[_0xae64('0xe')];return{'tag':_0xae64('0x7'),'attributes':{'class':[_0xae64('0x15'),_0xae64('0x25'),_0xfc943b['if']('isActive',_0xae64('0x1a')),_0xfc943b['if'](_0xae64('0x5'),_0xae64('0xb')),_0xfc943b['if'](_0xae64('0x36'),'ck-thread--remove-confirmation'),_0xfc943b['to'](_0xae64('0x27'),_0x4f528f=>_0x4f528f?'ck-thread--'+_0x4f528f:'')],'data-thread-id':this[_0xae64('0x16')]['id'],'tabindex':-0x1},'children':[{'tag':_0xae64('0x7'),'attributes':{'class':_0xae64('0x2')},'children':this[_0xae64('0x13')]}]};}[_0xae64('0x2c')](){super[_0xae64('0x2c')](),this[_0xae64('0x31')]=this['element']['querySelector'](_0xae64('0xa'));}[_0xae64('0x35')](){this[_0xae64('0x11')]();for(const _0x16cc9b of this[_0xae64('0x1c')]['commentViews'])_0x16cc9b['cancelConfirm']();}[_0xae64('0x21')](){const {locale:_0x4fc7f0}=this,_0x4ed695=this[_0xae64('0x1c')][_0xae64('0x1b')]['get'](0x0);_0x4ed695===this[_0xae64('0x19')]||_0x4ed695['isSystemComment']||(this['_boundFirstCommentView']=_0x4ed695,this[_0xae64('0x1')](_0xae64('0x27')),this[_0xae64('0x9')](_0xae64('0x27'))['to'](_0x4ed695,_0xae64('0x27'),_0x176c10=>'remove'===_0x176c10?_0xae64('0x34'):null),_0x4ed695[_0xae64('0x10')]=_0x5dca0e(_0x4fc7f0,_0xae64('0x1d')),_0x4ed695['removeButton']['on']('execute',_0xf1b8ec=>{_0xf1b8ec['stop'](),this[_0xae64('0x1e')](_0x5dca0e(_0x4fc7f0,_0xae64('0x2b')),this[_0xae64('0x31')])[_0xae64('0x23')](()=>{this[_0xae64('0x32')]('removeCommentThread');});},{'priority':'high'}),_0x4ed695[_0xae64('0x29')][_0xae64('0x0')](this[_0xae64('0x1f')],0x0));}[_0xae64('0x30')](){const _0x23706a=new _0x1e8f67(this[_0xae64('0x3')]);return _0x23706a['label']=_0x5dca0e(this[_0xae64('0x3')],'Resolve'),_0x23706a['tooltip']=_0x5dca0e(this[_0xae64('0x3')],'Resolve'),_0x23706a[_0xae64('0x26')]=_0x1b52fd[_0xae64('0x18')],_0x23706a[_0xae64('0x12')]({'attributes':{'class':'ck-comment--resolve'}}),_0x23706a[_0xae64('0x9')](_0xae64('0x28'))['to'](this[_0xae64('0x16')],_0xae64('0x2d'),_0x125396=>!_0x125396),_0x23706a[_0xae64('0x9')]('isVisible')['to'](this[_0xae64('0x16')],'isResolvable',this[_0xae64('0x16')],'isResolved',(_0x39a6b3,_0x500a10)=>_0x39a6b3&&!_0x500a10),_0x23706a['on'](_0xae64('0x6'),()=>{this[_0xae64('0x32')](_0xae64('0x33'),this['_model']['id']);}),_0x23706a;}}