@ckeditor/ckeditor5-comments 38.0.0 → 38.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 _0x708b=['destroy','createRoot','getRoot','name','then','init','low','document','editing','set','_updatePlaceholder','fire','model','placeholder','initialData','setSelection','defaultPlugins','getChild','data','assign','view','placeholderElement','get','create','childCount'];(function(_0x213ec4,_0x708ba8){const _0x9fcbd0=function(_0x22b98e){while(--_0x22b98e){_0x213ec4['push'](_0x213ec4['shift']());}};_0x9fcbd0(++_0x708ba8);}(_0x708b,0xef));const _0x9fcb=function(_0x213ec4,_0x708ba8){_0x213ec4=_0x213ec4-0x0;let _0x9fcbd0=_0x708b[_0x213ec4];return _0x9fcbd0;};import{Editor as _0xa76a84,DataApiMixin as _0x3a95a9}from'ckeditor5/src/core';import _0x45b561 from'./commenteditorui';import{ObservableMixin as _0x17e8e0}from'ckeditor5/src/utils';import{enablePlaceholder as _0x5d4402,disablePlaceholder as _0x2c4ca9}from'ckeditor5/src/engine';import{Clipboard as _0x4a813e}from'ckeditor5/src/clipboard';import{Enter as _0x4d5ff9,ShiftEnter as _0x466642}from'ckeditor5/src/enter';import{SelectAll as _0x358769}from'ckeditor5/src/select-all';import{Typing as _0x11d4a5}from'ckeditor5/src/typing';import{Undo as _0x23b0d9}from'ckeditor5/src/undo';import{Paragraph as _0x170455}from'ckeditor5/src/paragraph';const Lt=[_0x4a813e,_0x4d5ff9,_0x466642,_0x358769,_0x11d4a5,_0x23b0d9,_0x170455];export default class Mt extends _0x17e8e0(_0x3a95a9(_0xa76a84)){constructor(_0x4f91b6={}){(_0x4f91b6=Object[_0x9fcb('0x5')]({},_0x4f91b6))['plugins']||(_0x4f91b6['plugins']=Mt[_0x9fcb('0x2')]),super(_0x4f91b6),this['ui']=new _0x45b561(this),this[_0x9fcb('0x14')](_0x9fcb('0x18'),''),this[_0x9fcb('0x17')][_0x9fcb('0x12')]['on']('change',()=>this[_0x9fcb('0x15')](),{'priority':_0x9fcb('0x11')}),this['on']('change:placeholder',()=>this['_updatePlaceholder']()),this[_0x9fcb('0x17')][_0x9fcb('0x12')][_0x9fcb('0xc')]();}[_0x9fcb('0x9')](){const _0x16b332=this['config'][_0x9fcb('0x8')](_0x9fcb('0x0'))||'';return this['initPlugins']()[_0x9fcb('0xf')](()=>this['ui'][_0x9fcb('0x10')]())['then'](()=>this[_0x9fcb('0x4')][_0x9fcb('0x10')](_0x16b332))['then'](()=>this[_0x9fcb('0x16')]('ready'));}[_0x9fcb('0xb')](){return super[_0x9fcb('0xb')]()[_0x9fcb('0xf')](()=>this['ui'][_0x9fcb('0xb')]());}['focus'](){this['model']['change'](_0x307b4f=>{const _0x220a71=this[_0x9fcb('0x17')]['document'][_0x9fcb('0xd')](),_0x260f69=_0x220a71&&_0x220a71[_0x9fcb('0x3')](_0x220a71[_0x9fcb('0xa')]-0x1);_0x307b4f[_0x9fcb('0x1')](_0x260f69,'end'),this[_0x9fcb('0x13')][_0x9fcb('0x6')]['focus']();});}[_0x9fcb('0x15')](){const _0x494a50=this[_0x9fcb('0x13')]['view'],_0x1cc8f6=_0x494a50[_0x9fcb('0x12')][_0x9fcb('0xd')](),_0x3f4f26=_0x1cc8f6[_0x9fcb('0x3')](0x0);_0x1cc8f6[_0x9fcb('0xa')]>0x1||!_0x3f4f26||'p'!=_0x3f4f26[_0x9fcb('0xe')]?this[_0x9fcb('0x7')]&&(_0x2c4ca9(_0x494a50,this[_0x9fcb('0x7')]),this[_0x9fcb('0x7')]=void 0x0):(_0x5d4402({'view':_0x494a50,'element':_0x3f4f26,'text':this[_0x9fcb('0x18')],'keepOnFocus':!0x0}),this[_0x9fcb('0x7')]=_0x3f4f26);}}Mt[_0x9fcb('0x2')]=Lt;
23
+ const _0x4b54=['name','init','editing','change:placeholder','_updatePlaceholder','ready','placeholder','set','model','childCount','defaultPlugins','data','document','get','focus','initialData','createRoot','getRoot','plugins','getChild','then','config','create','destroy','placeholderElement','low'];(function(_0x322299,_0x4b54ac){const _0x4f17f6=function(_0x47e244){while(--_0x47e244){_0x322299['push'](_0x322299['shift']());}};_0x4f17f6(++_0x4b54ac);}(_0x4b54,0x136));const _0x4f17=function(_0x322299,_0x4b54ac){_0x322299=_0x322299-0x0;let _0x4f17f6=_0x4b54[_0x322299];return _0x4f17f6;};import{Editor as _0x35b871,DataApiMixin as _0x235fa6}from'ckeditor5/src/core';import _0x2b9396 from'./commenteditorui';import{ObservableMixin as _0x5b63f3}from'ckeditor5/src/utils';import{enablePlaceholder as _0x2f70ad,disablePlaceholder as _0x4392d3}from'ckeditor5/src/engine';import{Clipboard as _0x14a4c4}from'ckeditor5/src/clipboard';import{Enter as _0x581979,ShiftEnter as _0x300366}from'ckeditor5/src/enter';import{SelectAll as _0x1a1126}from'ckeditor5/src/select-all';import{Typing as _0x8108c9}from'ckeditor5/src/typing';import{Undo as _0x132712}from'ckeditor5/src/undo';import{Paragraph as _0x163e79}from'ckeditor5/src/paragraph';const Mt=[_0x14a4c4,_0x581979,_0x300366,_0x1a1126,_0x8108c9,_0x132712,_0x163e79];export default class Nt extends _0x5b63f3(_0x235fa6(_0x35b871)){constructor(_0x307e0b={}){(_0x307e0b=Object['assign']({},_0x307e0b))[_0x4f17('0x14')]||(_0x307e0b['plugins']=Nt[_0x4f17('0xc')]),super(_0x307e0b),this['ui']=new _0x2b9396(this),this[_0x4f17('0x9')](_0x4f17('0x8'),''),this[_0x4f17('0xa')]['document']['on']('change',()=>this['_updatePlaceholder'](),{'priority':_0x4f17('0x1')}),this['on'](_0x4f17('0x5'),()=>this[_0x4f17('0x6')]()),this[_0x4f17('0xa')]['document'][_0x4f17('0x12')]();}[_0x4f17('0x18')](){const _0x2fc8ee=this[_0x4f17('0x17')][_0x4f17('0xf')](_0x4f17('0x11'))||'';return this['initPlugins']()[_0x4f17('0x16')](()=>this['ui'][_0x4f17('0x3')]())['then'](()=>this[_0x4f17('0xd')][_0x4f17('0x3')](_0x2fc8ee))['then'](()=>this['fire'](_0x4f17('0x7')));}['destroy'](){return super[_0x4f17('0x19')]()[_0x4f17('0x16')](()=>this['ui']['destroy']());}['focus'](){this[_0x4f17('0xa')]['change'](_0x596e0d=>{const _0x187a69=this['model'][_0x4f17('0xe')][_0x4f17('0x13')](),_0x1cb60f=_0x187a69&&_0x187a69[_0x4f17('0x15')](_0x187a69['childCount']-0x1);_0x596e0d['setSelection'](_0x1cb60f,'end'),this[_0x4f17('0x4')]['view'][_0x4f17('0x10')]();});}[_0x4f17('0x6')](){const _0x1e47eb=this['editing']['view'],_0x1b56fc=_0x1e47eb['document']['getRoot'](),_0x2b0938=_0x1b56fc[_0x4f17('0x15')](0x0);_0x1b56fc[_0x4f17('0xb')]>0x1||!_0x2b0938||'p'!=_0x2b0938[_0x4f17('0x2')]?this[_0x4f17('0x0')]&&(_0x4392d3(_0x1e47eb,this[_0x4f17('0x0')]),this[_0x4f17('0x0')]=void 0x0):(_0x2f70ad({'view':_0x1e47eb,'element':_0x2b0938,'text':this['placeholder'],'keepOnFocus':!0x0}),this['placeholderElement']=_0x2b0938);}}Nt['defaultPlugins']=Mt;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x201e=['locale','name','element','isFocused','fire','ready','init','editing','setEditableElement','editor','editable','destroy','rootName','view'];(function(_0x284bee,_0x201eef){const _0x3deed8=function(_0x1601df){while(--_0x1601df){_0x284bee['push'](_0x284bee['shift']());}};_0x3deed8(++_0x201eef);}(_0x201e,0x10d));const _0x3dee=function(_0x284bee,_0x201eef){_0x284bee=_0x284bee-0x0;let _0x3deed8=_0x201e[_0x284bee];return _0x3deed8;};import{EditorUI as _0x392fa7}from'ckeditor5/src/ui';import _0x1ced2f from'./commenteditoruiview';export default class Ft extends _0x392fa7{constructor(_0x2d8860){super(_0x2d8860),this[_0x3dee('0xa')]=new _0x1ced2f(_0x2d8860[_0x3dee('0xb')],_0x2d8860[_0x3dee('0x4')][_0x3dee('0xa')]);}get[_0x3dee('0xd')](){return this['view'][_0x3dee('0xd')];}[_0x3dee('0x3')](){const _0x2ca591=this[_0x3dee('0x6')]['editing'][_0x3dee('0xa')],_0x4b9463=this[_0x3dee('0xa')][_0x3dee('0x7')],_0x1842b7=_0x2ca591['document']['getRoot']();_0x4b9463[_0x3dee('0xc')]=_0x1842b7[_0x3dee('0x9')],this['view']['render']();const _0x5147db=_0x4b9463['element'];this[_0x3dee('0x5')](_0x4b9463[_0x3dee('0xc')],_0x5147db),this['view'][_0x3dee('0x7')]['bind'](_0x3dee('0x0'))['to'](this['focusTracker']),_0x2ca591['attachDomRoot'](_0x5147db),this[_0x3dee('0x1')](_0x3dee('0x2'));}['destroy'](){super['destroy'](),this[_0x3dee('0xa')][_0x3dee('0x8')]();}}
23
+ const _0x1bcd=['element','destroy','editing','bind','locale','ready','render','editable','name','rootName','editor','fire','getRoot','focusTracker','setEditableElement','view','document'];(function(_0x204725,_0x1bcdd6){const _0x549dd9=function(_0x19ed71){while(--_0x19ed71){_0x204725['push'](_0x204725['shift']());}};_0x549dd9(++_0x1bcdd6);}(_0x1bcd,0xeb));const _0x549d=function(_0x204725,_0x1bcdd6){_0x204725=_0x204725-0x0;let _0x549dd9=_0x1bcd[_0x204725];return _0x549dd9;};import{EditorUI as _0x39c50f}from'ckeditor5/src/ui';import _0x2c88b3 from'./commenteditoruiview';export default class Ft extends _0x39c50f{constructor(_0x46a112){super(_0x46a112),this[_0x549d('0x1')]=new _0x2c88b3(_0x46a112[_0x549d('0x7')],_0x46a112[_0x549d('0x5')]['view']);}get[_0x549d('0x3')](){return this['view'][_0x549d('0x3')];}['init'](){const _0xe058f6=this[_0x549d('0xd')]['editing'][_0x549d('0x1')],_0x2f51f8=this[_0x549d('0x1')][_0x549d('0xa')],_0x4a6e75=_0xe058f6[_0x549d('0x2')][_0x549d('0xf')]();_0x2f51f8[_0x549d('0xb')]=_0x4a6e75[_0x549d('0xc')],this[_0x549d('0x1')][_0x549d('0x9')]();const _0x53ffa5=_0x2f51f8[_0x549d('0x3')];this[_0x549d('0x0')](_0x2f51f8['name'],_0x53ffa5),this[_0x549d('0x1')]['editable'][_0x549d('0x6')]('isFocused')['to'](this[_0x549d('0x10')]),_0xe058f6['attachDomRoot'](_0x53ffa5),this[_0x549d('0xe')](_0x549d('0x8'));}[_0x549d('0x4')](){super[_0x549d('0x4')](),this['view']['destroy']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x37ac=['ck-rounded-corners','extendTemplate','element','ck-editor__aria-label_','_voiceLabelView','uiLanguage','uiLanguageDirection','div','_createVoiceLabel','setTemplate','createCollection','cke-editor__aria-label_','comment','ck-editor','editable','ck-voice-label','main','focus','ck-reset','render'];(function(_0x122dec,_0x37ac36){const _0x21acaf=function(_0x3abec7){while(--_0x3abec7){_0x122dec['push'](_0x122dec['shift']());}};_0x21acaf(++_0x37ac36);}(_0x37ac,0xb0));const _0x21ac=function(_0x122dec,_0x37ac36){_0x122dec=_0x122dec-0x0;let _0x21acaf=_0x37ac[_0x122dec];return _0x21acaf;};import{InlineEditableUIView as _0x3c9cc7,EditorUIView as _0xe56e8f,LabelView as _0x134c29}from'ckeditor5/src/ui';import{uid as _0x4e2378}from'ckeditor5/src/utils';import{getTranslation as _0x41698c}from'../../../utils/common-translations';export default class Qt extends _0xe56e8f{constructor(_0x9c7ca1,_0x9ca3d0){super(_0x9c7ca1);const _0xde9591=_0x4e2378();this[_0x21ac('0x0')]=this[_0x21ac('0xe')](),this[_0x21ac('0x12')]=new _0x3c9cc7(_0x9c7ca1,_0x9ca3d0),this[_0x21ac('0x8')]=this['_createVoiceLabel'](_0xde9591,_0x9c7ca1),this[_0x21ac('0xd')]({'tag':_0x21ac('0xb'),'attributes':{'class':[_0x21ac('0x2'),_0x21ac('0x11'),_0x21ac('0x4'),'ck-comment__input'],'role':_0x21ac('0x10'),'dir':_0x9c7ca1[_0x21ac('0xa')],'lang':_0x9c7ca1[_0x21ac('0x9')],'aria-labelledby':_0x21ac('0xf')+_0xde9591},'children':[this[_0x21ac('0x8')],{'tag':_0x21ac('0xb'),'attributes':{'class':'ck-editor__main','role':'presentation'},'children':this['main']}]});}[_0x21ac('0x3')](){super[_0x21ac('0x3')](),this[_0x21ac('0x0')]['add'](this[_0x21ac('0x12')]);}[_0x21ac('0x1')](){this[_0x21ac('0x12')][_0x21ac('0x6')]['focus']();}[_0x21ac('0xc')](_0xc04c0a,_0x2c8bf6){const _0x1cf0e5=new _0x134c29();return _0x1cf0e5['text']=_0x41698c(_0x2c8bf6,'Comment\x20editor'),_0x1cf0e5[_0x21ac('0x5')]({'attributes':{'id':_0x21ac('0x7')+_0xc04c0a,'class':_0x21ac('0x13')}}),_0x1cf0e5;}}
23
+ const _0x5da2=['_createVoiceLabel','_voiceLabelView','uiLanguageDirection','comment','ck-editor','setTemplate','main','render','ck-rounded-corners','cke-editor__aria-label_','focus','uiLanguage','ck-reset','ck-comment__input','text','div','extendTemplate','editable','ck-editor__aria-label_','Comment\x20editor','createCollection'];(function(_0x4524f9,_0x5da25f){const _0x48d2c3=function(_0x3b8650){while(--_0x3b8650){_0x4524f9['push'](_0x4524f9['shift']());}};_0x48d2c3(++_0x5da25f);}(_0x5da2,0x186));const _0x48d2=function(_0x4524f9,_0x5da25f){_0x4524f9=_0x4524f9-0x0;let _0x48d2c3=_0x5da2[_0x4524f9];return _0x48d2c3;};import{InlineEditableUIView as _0x3d5031,EditorUIView as _0x57d70a,LabelView as _0x32ab9b}from'ckeditor5/src/ui';import{uid as _0x5d3008}from'ckeditor5/src/utils';import{getTranslation as _0x5e99cb}from'../../../utils/common-translations';export default class Rt extends _0x57d70a{constructor(_0x3f40b4,_0x576dcc){super(_0x3f40b4);const _0x9eb7ea=_0x5d3008();this[_0x48d2('0xf')]=this[_0x48d2('0x8')](),this[_0x48d2('0x5')]=new _0x3d5031(_0x3f40b4,_0x576dcc),this[_0x48d2('0xa')]=this[_0x48d2('0x9')](_0x9eb7ea,_0x3f40b4),this[_0x48d2('0xe')]({'tag':_0x48d2('0x3'),'attributes':{'class':[_0x48d2('0x0'),_0x48d2('0xd'),_0x48d2('0x11'),_0x48d2('0x1')],'role':_0x48d2('0xc'),'dir':_0x3f40b4[_0x48d2('0xb')],'lang':_0x3f40b4[_0x48d2('0x14')],'aria-labelledby':_0x48d2('0x12')+_0x9eb7ea},'children':[this[_0x48d2('0xa')],{'tag':'div','attributes':{'class':'ck-editor__main','role':'presentation'},'children':this[_0x48d2('0xf')]}]});}[_0x48d2('0x10')](){super[_0x48d2('0x10')](),this['main']['add'](this[_0x48d2('0x5')]);}[_0x48d2('0x13')](){this['editable']['element'][_0x48d2('0x13')]();}[_0x48d2('0x9')](_0x86ff83,_0x45fd51){const _0x4e92f3=new _0x32ab9b();return _0x4e92f3[_0x48d2('0x2')]=_0x5e99cb(_0x45fd51,_0x48d2('0x7')),_0x4e92f3[_0x48d2('0x4')]({'attributes':{'id':_0x48d2('0x6')+_0x86ff83,'class':'ck-voice-label'}}),_0x4e92f3;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5263=['getComment','removeCommentThread','destroy','model','resolveCommentThread','stopListening','view','_localUser','remove','isResolved','resolve','submitCommentThread','submit','listenTo','updateComment','removeComment','reopenCommentThread','update','_isAttached','reopen','addComment'];(function(_0x537856,_0x5263c9){var _0x437dc2=function(_0x7b13f7){while(--_0x7b13f7){_0x537856['push'](_0x537856['shift']());}};_0x437dc2(++_0x5263c9);}(_0x5263,0x1c2));var _0x437d=function(_0x537856,_0x5263c9){_0x537856=_0x537856-0x0;var _0x437dc2=_0x5263[_0x537856];return _0x437dc2;};import{ObservableMixin as _0x401041}from'ckeditor5/src/utils';export default class ut extends _0x401041(){constructor(_0x14eada,_0x2c9cc0){super(),this[_0x437d('0xf')]=_0x14eada,this['model'][_0x437d('0x9')]=!0x0,this['view']=_0x2c9cc0,this[_0x437d('0x4')](_0x2c9cc0,_0x437d('0x2'),()=>this[_0x437d('0x3')]()),this['listenTo'](_0x2c9cc0,_0x437d('0xd'),()=>this[_0x437d('0x14')]()),this[_0x437d('0x4')](_0x2c9cc0,_0x437d('0x10'),()=>this[_0x437d('0x1')]()),this[_0x437d('0x4')](_0x2c9cc0,_0x437d('0x7'),()=>this[_0x437d('0xa')]()),this['listenTo'](_0x2c9cc0,_0x437d('0xb'),(_0x5ce1dc,_0x1bb76e)=>this['addComment'](_0x1bb76e)),this[_0x437d('0x4')](_0x2c9cc0,_0x437d('0x5'),(_0x40e602,_0x572a45,_0x200924)=>this['updateComment'](_0x572a45,_0x200924)),this[_0x437d('0x4')](_0x2c9cc0,_0x437d('0x6'),(_0x1d3870,_0x594d7a)=>this[_0x437d('0x6')](_0x594d7a));}[_0x437d('0x3')](){this['model']['submit']();}['remove'](){this[_0x437d('0xf')][_0x437d('0x14')]();}[_0x437d('0x1')](){this['model']['isResolved']||this[_0x437d('0xf')]['resolve']();}['reopen'](){this[_0x437d('0xf')][_0x437d('0x0')]&&this['model'][_0x437d('0xa')]();}[_0x437d('0xb')](_0x1c21ad){this[_0x437d('0xf')][_0x437d('0xb')]({'content':_0x1c21ad,'authorId':this[_0x437d('0x12')][_0x437d('0x13')]['id']});}['updateComment'](_0x5d01e5,_0x468b16){this[_0x437d('0xf')]['getComment'](_0x5d01e5)[_0x437d('0x8')]({'content':_0x468b16});}[_0x437d('0x6')](_0x43e6a1){this['model'][_0x437d('0xc')](_0x43e6a1)[_0x437d('0x14')]();}[_0x437d('0xe')](){this[_0x437d('0x11')](),this[_0x437d('0xf')][_0x437d('0x9')]=!0x1;}}
23
+ var _0xbcab=['removeCommentThread','isResolved','removeComment','stopListening','submit','view','updateComment','resolveCommentThread','listenTo','model','getComment','addComment','reopenCommentThread','remove','submitCommentThread','resolve','_localUser','reopen'];(function(_0x5f58ba,_0xbcab2){var _0x28ddd5=function(_0x5f090a){while(--_0x5f090a){_0x5f58ba['push'](_0x5f58ba['shift']());}};_0x28ddd5(++_0xbcab2);}(_0xbcab,0x1f4));var _0x28dd=function(_0x5f58ba,_0xbcab2){_0x5f58ba=_0x5f58ba-0x0;var _0x28ddd5=_0xbcab[_0x5f58ba];return _0x28ddd5;};import{ObservableMixin as _0x12741a}from'ckeditor5/src/utils';export default class ct extends _0x12741a(){constructor(_0x511875,_0x23ff57){super(),this[_0x28dd('0xd')]=_0x511875,this[_0x28dd('0xd')]['_isAttached']=!0x0,this[_0x28dd('0x9')]=_0x23ff57,this['listenTo'](_0x23ff57,_0x28dd('0x0'),()=>this['submit']()),this[_0x28dd('0xc')](_0x23ff57,_0x28dd('0x4'),()=>this['remove']()),this[_0x28dd('0xc')](_0x23ff57,_0x28dd('0xb'),()=>this[_0x28dd('0x1')]()),this[_0x28dd('0xc')](_0x23ff57,_0x28dd('0x10'),()=>this[_0x28dd('0x3')]()),this[_0x28dd('0xc')](_0x23ff57,_0x28dd('0xf'),(_0x5f21af,_0x385e58)=>this[_0x28dd('0xf')](_0x385e58)),this[_0x28dd('0xc')](_0x23ff57,_0x28dd('0xa'),(_0x4344d6,_0x3f71e1,_0x1e634d)=>this[_0x28dd('0xa')](_0x3f71e1,_0x1e634d)),this['listenTo'](_0x23ff57,_0x28dd('0x6'),(_0x49c8f6,_0xc61d40)=>this[_0x28dd('0x6')](_0xc61d40));}[_0x28dd('0x8')](){this[_0x28dd('0xd')][_0x28dd('0x8')]();}[_0x28dd('0x11')](){this[_0x28dd('0xd')][_0x28dd('0x11')]();}['resolve'](){this['model'][_0x28dd('0x5')]||this['model'][_0x28dd('0x1')]();}[_0x28dd('0x3')](){this[_0x28dd('0xd')][_0x28dd('0x5')]&&this['model'][_0x28dd('0x3')]();}[_0x28dd('0xf')](_0x1cc9c5){this[_0x28dd('0xd')][_0x28dd('0xf')]({'content':_0x1cc9c5,'authorId':this[_0x28dd('0x9')][_0x28dd('0x2')]['id']});}[_0x28dd('0xa')](_0x1ea0b6,_0x11f793){this[_0x28dd('0xd')][_0x28dd('0xe')](_0x1ea0b6)['update']({'content':_0x11f793});}[_0x28dd('0x6')](_0x108dd4){this[_0x28dd('0xd')][_0x28dd('0xe')](_0x108dd4)[_0x28dd('0x11')]();}['destroy'](){this[_0x28dd('0x7')](),this['model']['_isAttached']=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1560=['cancel','isDirty','disabledSubmit','updateComment','set','commentInputView','Reply...','value','_config','isReadOnly','focus','resolveCommentThread','removeComment','commentsListView','commentThreadInputView','Comment','isResolved','Write\x20a\x20comment...','element','locale','isResolvable','delegate','stop','removeCommentThread','_model','submit','reopenCommentThread','change:isActive','hasDirtyComment','_localUser','bind','isActive','submitLabel','length','CommentView','destroy','showInput','Reply','fire','commentThreadHeaderView','isSubmitted','submitCommentThread','assign','editorConfig'];(function(_0x3eeeed,_0x156011){const _0x5af943=function(_0x56b4c6){while(--_0x56b4c6){_0x3eeeed['push'](_0x3eeeed['shift']());}};_0x5af943(++_0x156011);}(_0x1560,0x16c));const _0x5af9=function(_0x3eeeed,_0x156011){_0x3eeeed=_0x3eeeed-0x0;let _0x5af943=_0x1560[_0x3eeeed];return _0x5af943;};import{View as _0x38e1e9}from'ckeditor5/src/ui';import _0x8028c8 from'./commentthreadinputview';import _0x236366 from'./commentslistview';import _0x22d8a4 from'./commentthreadheaderview';import{getTranslation as _0xca998f}from'../../../utils/common-translations';export default class St extends _0x38e1e9{constructor(_0x5a52bb,_0xfcedf5,_0x2493a0,_0x456973){super(_0x5a52bb),this[_0x5af9('0x24')](_0x5af9('0x13'),!0x1),this[_0x5af9('0x24')](_0x5af9('0x21'),!0x1),this[_0x5af9('0xc')]=_0xfcedf5,this[_0x5af9('0x11')]=_0x2493a0,this[_0x5af9('0x28')]=_0x456973,this[_0x5af9('0x1b')]=new _0x22d8a4(_0x5a52bb,_0xfcedf5),this['commentThreadHeaderView'][_0x5af9('0x9')](_0x5af9('0xe'))['to'](this),this[_0x5af9('0x1')]=new _0x236366(_0x5a52bb,_0xfcedf5,Object[_0x5af9('0x1e')]({'CommentView':this[_0x5af9('0x28')][_0x5af9('0x16')]},_0x456973)),this[_0x5af9('0x1')]['delegate'](_0x5af9('0x0'))['to'](this),this['commentsListView'][_0x5af9('0x9')](_0x5af9('0x23'))['to'](this),this[_0x5af9('0x1')][_0x5af9('0x9')](_0x5af9('0x2b'))['to'](this),this[_0x5af9('0x1')][_0x5af9('0x12')](_0x5af9('0x13'))['to'](this),this['set']('length',this[_0x5af9('0x1')][_0x5af9('0x15')]),this[_0x5af9('0x12')](_0x5af9('0x15'))['to'](this[_0x5af9('0x1')],_0x5af9('0x15')),this[_0x5af9('0x2')]=this['_createCommentThreadInputView'](),this['on']('removeComment',()=>this[_0x5af9('0x2a')]()),this['bind']('isDirty')['to'](this[_0x5af9('0x1')],_0x5af9('0x10'),this[_0x5af9('0x2')][_0x5af9('0x25')],_0x5af9('0x27'),(_0x383597,_0x294c90)=>_0x383597||!!_0x294c90);}[_0x5af9('0x2a')](){this[_0x5af9('0x6')]['focus']();}['destroy'](){this[_0x5af9('0x21')]=!0x1,this['commentsListView']['destroy'](),this[_0x5af9('0x2')][_0x5af9('0x17')](),super[_0x5af9('0x17')]();}['_createCommentThreadInputView'](){const _0x5db931=new _0x8028c8(this[_0x5af9('0x7')],this['_localUser'],this['_config'][_0x5af9('0x1f')]),_0x2049b0=_0x5db931['commentInputView'];return _0x5db931[_0x5af9('0x12')](_0x5af9('0x18'))['to'](this,_0x5af9('0x13'),this['_model'],_0x5af9('0x29'),this[_0x5af9('0xc')],'isResolved',_0x2049b0,_0x5af9('0x27'),(_0x146e8e,_0x5247e6,_0x127e65,_0x15f5a5)=>!!_0x15f5a5||_0x127e65&&!_0x5247e6||_0x146e8e&&!_0x5247e6),_0x2049b0[_0x5af9('0x12')]('placeholder')['to'](this,_0x5af9('0x15'),this[_0x5af9('0xc')],'isResolvable',this[_0x5af9('0xc')],_0x5af9('0x4'),(_0x12bb68,_0x378de8,_0x4d93b3)=>{let _0x2202cf;return _0x2202cf=_0x4d93b3&&_0x378de8?'Reply\x20to\x20reopen\x20discussion...':_0x12bb68?_0x5af9('0x26'):_0x5af9('0x5'),_0xca998f(this[_0x5af9('0x7')],_0x2202cf);}),_0x2049b0[_0x5af9('0x12')](_0x5af9('0x14'))['to'](this,_0x5af9('0x15'),_0x32a8b8=>_0xca998f(this[_0x5af9('0x7')],_0x32a8b8?_0x5af9('0x19'):_0x5af9('0x3'))),_0x2049b0['on'](_0x5af9('0xd'),(_0x484660,_0x3adec0)=>{this[_0x5af9('0x1a')]('addComment',_0x3adec0),this[_0x5af9('0xc')][_0x5af9('0x4')]&&this['_model'][_0x5af9('0x8')]&&this['fire'](_0x5af9('0xe'),this['_model']['id']),this['_model'][_0x5af9('0x1c')]||this[_0x5af9('0x1a')](_0x5af9('0x1d'));}),_0x2049b0['on'](_0x5af9('0x20'),()=>{this['focus']();}),_0x2049b0[_0x5af9('0x12')](_0x5af9('0x22'))['to'](this[_0x5af9('0xc')],_0x5af9('0x29')),_0x2049b0['on'](_0x5af9('0x20'),_0x3b23f6=>{0x0==this[_0x5af9('0x15')]&&(this[_0x5af9('0x1a')]('removeCommentThread'),_0x3b23f6[_0x5af9('0xa')]());}),this['on'](_0x5af9('0xf'),(_0x5c6a6d,_0x5c17e9,_0x14b6b6)=>{_0x14b6b6||this[_0x5af9('0x15')]||_0x2049b0[_0x5af9('0x27')]||this['fire'](_0x5af9('0xb'));}),_0x5db931;}}
23
+ const _0xdd78=['showInput','submitLabel','Reply...','Reply\x20to\x20reopen\x20discussion...','isDirty','stop','removeCommentThread','value','set','reopenCommentThread','isReadOnly','isSubmitted','disabledSubmit','resolveCommentThread','updateComment','submit','fire','change:isActive','locale','element','delegate','commentThreadHeaderView','length','bind','isActive','hasDirtyComment','commentsListView','isResolved','submitCommentThread','commentThreadInputView','Reply','isResolvable','focus','_localUser','destroy','removeComment','_model','_config','_createCommentThreadInputView','commentInputView','Comment','CommentView'];(function(_0x558049,_0xdd7896){const _0x376e15=function(_0x2df1e9){while(--_0x2df1e9){_0x558049['push'](_0x558049['shift']());}};_0x376e15(++_0xdd7896);}(_0xdd78,0x1cb));const _0x376e=function(_0x558049,_0xdd7896){_0x558049=_0x558049-0x0;let _0x376e15=_0xdd78[_0x558049];return _0x376e15;};import{View as _0x1fe0cd}from'ckeditor5/src/ui';import _0x294ef8 from'./commentthreadinputview';import _0x193d78 from'./commentslistview';import _0x5ef277 from'./commentthreadheaderview';import{getTranslation as _0x399ad2}from'../../../utils/common-translations';export default class Wt extends _0x1fe0cd{constructor(_0x393a36,_0x337804,_0x2c612b,_0x3280bc){super(_0x393a36),this['set'](_0x376e('0x1b'),!0x1),this[_0x376e('0xb')](_0x376e('0x7'),!0x1),this[_0x376e('0x27')]=_0x337804,this[_0x376e('0x24')]=_0x2c612b,this[_0x376e('0x28')]=_0x3280bc,this[_0x376e('0x18')]=new _0x5ef277(_0x393a36,_0x337804),this[_0x376e('0x18')][_0x376e('0x17')](_0x376e('0xc'))['to'](this),this[_0x376e('0x1d')]=new _0x193d78(_0x393a36,_0x337804,Object['assign']({'CommentView':this[_0x376e('0x28')][_0x376e('0x2')]},_0x3280bc)),this[_0x376e('0x1d')]['delegate'](_0x376e('0x26'))['to'](this),this[_0x376e('0x1d')][_0x376e('0x17')](_0x376e('0x11'))['to'](this),this[_0x376e('0x1d')][_0x376e('0x17')](_0x376e('0x10'))['to'](this),this[_0x376e('0x1d')]['bind']('isActive')['to'](this),this[_0x376e('0xb')](_0x376e('0x19'),this['commentsListView'][_0x376e('0x19')]),this[_0x376e('0x1a')](_0x376e('0x19'))['to'](this['commentsListView'],_0x376e('0x19')),this[_0x376e('0x20')]=this[_0x376e('0x29')](),this['on'](_0x376e('0x26'),()=>this[_0x376e('0x23')]()),this[_0x376e('0x1a')]('isDirty')['to'](this[_0x376e('0x1d')],_0x376e('0x1c'),this['commentThreadInputView'][_0x376e('0x0')],_0x376e('0xa'),(_0x4865ad,_0x124c4b)=>_0x4865ad||!!_0x124c4b);}[_0x376e('0x23')](){this[_0x376e('0x16')][_0x376e('0x23')]();}[_0x376e('0x25')](){this[_0x376e('0x7')]=!0x1,this[_0x376e('0x1d')][_0x376e('0x25')](),this[_0x376e('0x20')][_0x376e('0x25')](),super['destroy']();}[_0x376e('0x29')](){const _0x13e540=new _0x294ef8(this['locale'],this[_0x376e('0x24')],this['_config']['editorConfig']),_0x26c6e8=_0x13e540['commentInputView'];return _0x13e540[_0x376e('0x1a')](_0x376e('0x3'))['to'](this,'isActive',this['_model'],_0x376e('0xd'),this[_0x376e('0x27')],_0x376e('0x1e'),_0x26c6e8,_0x376e('0xa'),(_0x269ab3,_0x38c5d6,_0x5cfadf,_0x3ad07b)=>!!_0x3ad07b||_0x5cfadf&&!_0x38c5d6||_0x269ab3&&!_0x38c5d6),_0x26c6e8[_0x376e('0x1a')]('placeholder')['to'](this,'length',this[_0x376e('0x27')],_0x376e('0x22'),this[_0x376e('0x27')],'isResolved',(_0x2ddf18,_0x3ab122,_0x4df7bb)=>{let _0x3804b6;return _0x3804b6=_0x4df7bb&&_0x3ab122?_0x376e('0x6'):_0x2ddf18?_0x376e('0x5'):'Write\x20a\x20comment...',_0x399ad2(this[_0x376e('0x15')],_0x3804b6);}),_0x26c6e8['bind'](_0x376e('0x4'))['to'](this,'length',_0x156171=>_0x399ad2(this['locale'],_0x156171?_0x376e('0x21'):_0x376e('0x1'))),_0x26c6e8['on'](_0x376e('0x12'),(_0xb8e5e4,_0x3d7e46)=>{this[_0x376e('0x13')]('addComment',_0x3d7e46),this[_0x376e('0x27')][_0x376e('0x1e')]&&this[_0x376e('0x27')]['isResolvable']&&this[_0x376e('0x13')](_0x376e('0xc'),this['_model']['id']),this[_0x376e('0x27')][_0x376e('0xe')]||this[_0x376e('0x13')](_0x376e('0x1f'));}),_0x26c6e8['on']('cancel',()=>{this['focus']();}),_0x26c6e8['bind'](_0x376e('0xf'))['to'](this[_0x376e('0x27')],_0x376e('0xd')),_0x26c6e8['on']('cancel',_0x3ddcaa=>{0x0==this[_0x376e('0x19')]&&(this[_0x376e('0x13')]('removeCommentThread'),_0x3ddcaa[_0x376e('0x8')]());}),this['on'](_0x376e('0x14'),(_0x2edb1e,_0x3dda48,_0x3b1383)=>{_0x3b1383||this[_0x376e('0x19')]||_0x26c6e8[_0x376e('0xa')]||this[_0x376e('0x13')](_0x376e('0x9'));}),_0x13e540;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x15d6=['visibleView','createCollection','editorReady','maxCommentCharsWhenCollapsed','bind','switchToEditMode','collapse','submit','focus','cancel','submitLabel','disabledSubmit','isCollapsed','_createCommentInputView','editorConfig','expand','_config','get','isSystemComment','isEditMode','locale','fire','switchToDisplayMode','Save','_model','createEditor','remove','content','value','add','initialData','destroy','set','_createCommentContentView'];(function(_0xdc2c55,_0x15d6c2){const _0x5ac16f=function(_0x42e72b){while(--_0x42e72b){_0xdc2c55['push'](_0xdc2c55['shift']());}};_0x5ac16f(++_0x15d6c2);}(_0x15d6,0x9d));const _0x5ac1=function(_0xdc2c55,_0x15d6c2){_0xdc2c55=_0xdc2c55-0x0;let _0x5ac16f=_0x15d6[_0xdc2c55];return _0x5ac16f;};import{View as _0x47f259}from'ckeditor5/src/ui';import{trimHtml as _0x5700cd}from'ckeditor5-collaboration/src/collaboration-core';import _0x2f36fb from'./commentcontentview';import _0x487bac from'./commentinputview';import{getTranslation as _0x5d8e59}from'../../../utils/common-translations';export default class Zt extends _0x47f259{constructor(_0x391e36,_0x152f7e,_0x5bf9ca){super(_0x391e36),this[_0x5ac1('0x3')]=_0x152f7e,this[_0x5ac1('0x1d')]=_0x5bf9ca,this[_0x5ac1('0x1f')]=!!this['_config'][_0x5ac1('0x1f')],this['set'](_0x5ac1('0x20'),!0x1),this[_0x5ac1('0xb')](_0x5ac1('0x19'),!0x0),this['visibleView']=this[_0x5ac1('0xe')](),this['visibleView'][_0x5ac1('0x8')](this[_0x5ac1('0xc')]());}[_0x5ac1('0x1c')](){this[_0x5ac1('0x19')]=!0x1;}[_0x5ac1('0x13')](){this[_0x5ac1('0x20')]||(this['isCollapsed']=!0x0);}[_0x5ac1('0x15')](){this['element']['focus']();}async['destroy'](){await this[_0x5ac1('0xd')][_0x5ac1('0x1e')](0x0)['destroy'](),super[_0x5ac1('0xa')]();}[_0x5ac1('0x12')](){this['isEditMode']||(this['isEditMode']=!0x0,this[_0x5ac1('0xd')][_0x5ac1('0x5')](0x0)['destroy'](),this['visibleView']['add'](this[_0x5ac1('0x1a')]()));}[_0x5ac1('0x1')](){this[_0x5ac1('0x20')]&&(this[_0x5ac1('0x20')]=!0x1,this[_0x5ac1('0xd')][_0x5ac1('0x5')](0x0)[_0x5ac1('0xa')](),this[_0x5ac1('0xd')]['add'](this[_0x5ac1('0xc')]()));}['_createCommentContentView'](){const _0x2c3c00=new _0x2f36fb(this['locale']);return _0x2c3c00[_0x5ac1('0x11')](_0x5ac1('0x6'))['to'](this[_0x5ac1('0x3')],_0x5ac1('0x6'),this,_0x5ac1('0x19'),(_0x511bad,_0x19cff6)=>_0x19cff6?_0x5700cd(_0x511bad,{'limit':this[_0x5ac1('0x1d')][_0x5ac1('0x10')]}):_0x511bad),_0x2c3c00;}['_createCommentInputView'](){this[_0x5ac1('0x1d')][_0x5ac1('0x1b')]||(this[_0x5ac1('0x1d')][_0x5ac1('0x1b')]={}),this['_config'][_0x5ac1('0x1b')][_0x5ac1('0x9')]=this[_0x5ac1('0x3')][_0x5ac1('0x6')];const _0x5f0d66=new _0x487bac(this[_0x5ac1('0x21')],this[_0x5ac1('0x1d')][_0x5ac1('0x1b')]);return _0x5f0d66[_0x5ac1('0x7')]=this[_0x5ac1('0x3')]['content'],_0x5f0d66['bind'](_0x5ac1('0x18'))['to'](this['_model'],'isReadOnly'),_0x5f0d66[_0x5ac1('0x17')]=_0x5d8e59(this[_0x5ac1('0x21')],_0x5ac1('0x2')),_0x5f0d66['on'](_0x5ac1('0x14'),(_0x2e3610,_0x4ebee3)=>{this[_0x5ac1('0x0')]('updateComment',this[_0x5ac1('0x3')]['id'],_0x4ebee3),this[_0x5ac1('0x1')](),this[_0x5ac1('0x15')]();}),_0x5f0d66['on'](_0x5ac1('0x16'),()=>{this['switchToDisplayMode'](),this[_0x5ac1('0x15')]();}),_0x5f0d66['once'](_0x5ac1('0xf'),()=>{_0x5f0d66[_0x5ac1('0x15')]();}),_0x5f0d66[_0x5ac1('0x4')](),_0x5f0d66;}}
23
+ const _0x37ac=['focus','maxCommentCharsWhenCollapsed','isReadOnly','createCollection','_createCommentInputView','editorConfig','isSystemComment','add','_config','createEditor','isCollapsed','once','set','visibleView','get','Save','content','_createCommentContentView','initialData','_model','isEditMode','switchToEditMode','locale','submit','destroy','updateComment','value','collapse','bind','switchToDisplayMode','submitLabel','fire','remove'];(function(_0x3b373a,_0x37ac97){const _0x3ac54e=function(_0x1bd5d6){while(--_0x1bd5d6){_0x3b373a['push'](_0x3b373a['shift']());}};_0x3ac54e(++_0x37ac97);}(_0x37ac,0x15c));const _0x3ac5=function(_0x3b373a,_0x37ac97){_0x3b373a=_0x3b373a-0x0;let _0x3ac54e=_0x37ac[_0x3b373a];return _0x3ac54e;};import{View as _0x553b0b}from'ckeditor5/src/ui';import{trimHtml as _0x382495}from'ckeditor5-collaboration/src/collaboration-core';import _0x12c59b from'./commentcontentview';import _0x528484 from'./commentinputview';import{getTranslation as _0x315858}from'../../../utils/common-translations';export default class Zt extends _0x553b0b{constructor(_0x6d708f,_0x1ead64,_0x342403){super(_0x6d708f),this['_model']=_0x1ead64,this[_0x3ac5('0x17')]=_0x342403,this['isSystemComment']=!!this['_config'][_0x3ac5('0x15')],this[_0x3ac5('0x1b')](_0x3ac5('0x2'),!0x1),this[_0x3ac5('0x1b')](_0x3ac5('0x19'),!0x0),this['visibleView']=this[_0x3ac5('0x12')](),this[_0x3ac5('0x1c')][_0x3ac5('0x16')](this[_0x3ac5('0x20')]());}['expand'](){this[_0x3ac5('0x19')]=!0x1;}[_0x3ac5('0x9')](){this[_0x3ac5('0x2')]||(this[_0x3ac5('0x19')]=!0x0);}[_0x3ac5('0xf')](){this['element'][_0x3ac5('0xf')]();}async[_0x3ac5('0x6')](){await this[_0x3ac5('0x1c')][_0x3ac5('0x1d')](0x0)['destroy'](),super['destroy']();}[_0x3ac5('0x3')](){this['isEditMode']||(this['isEditMode']=!0x0,this['visibleView'][_0x3ac5('0xe')](0x0)[_0x3ac5('0x6')](),this[_0x3ac5('0x1c')]['add'](this[_0x3ac5('0x13')]()));}[_0x3ac5('0xb')](){this['isEditMode']&&(this[_0x3ac5('0x2')]=!0x1,this[_0x3ac5('0x1c')]['remove'](0x0)['destroy'](),this[_0x3ac5('0x1c')][_0x3ac5('0x16')](this['_createCommentContentView']()));}['_createCommentContentView'](){const _0x4fb398=new _0x12c59b(this[_0x3ac5('0x4')]);return _0x4fb398[_0x3ac5('0xa')](_0x3ac5('0x1f'))['to'](this[_0x3ac5('0x1')],'content',this,_0x3ac5('0x19'),(_0x5cf943,_0x386efd)=>_0x386efd?_0x382495(_0x5cf943,{'limit':this['_config'][_0x3ac5('0x10')]}):_0x5cf943),_0x4fb398;}[_0x3ac5('0x13')](){this[_0x3ac5('0x17')]['editorConfig']||(this[_0x3ac5('0x17')][_0x3ac5('0x14')]={}),this['_config'][_0x3ac5('0x14')][_0x3ac5('0x0')]=this[_0x3ac5('0x1')][_0x3ac5('0x1f')];const _0x365029=new _0x528484(this[_0x3ac5('0x4')],this['_config'][_0x3ac5('0x14')]);return _0x365029[_0x3ac5('0x8')]=this[_0x3ac5('0x1')]['content'],_0x365029[_0x3ac5('0xa')]('disabledSubmit')['to'](this[_0x3ac5('0x1')],_0x3ac5('0x11')),_0x365029[_0x3ac5('0xc')]=_0x315858(this[_0x3ac5('0x4')],_0x3ac5('0x1e')),_0x365029['on'](_0x3ac5('0x5'),(_0x355821,_0x33125a)=>{this[_0x3ac5('0xd')](_0x3ac5('0x7'),this[_0x3ac5('0x1')]['id'],_0x33125a),this[_0x3ac5('0xb')](),this[_0x3ac5('0xf')]();}),_0x365029['on']('cancel',()=>{this['switchToDisplayMode'](),this[_0x3ac5('0xf')]();}),_0x365029[_0x3ac5('0x1a')]('editorReady',()=>{_0x365029[_0x3ac5('0xf')]();}),_0x365029[_0x3ac5('0x18')](),_0x365029;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c4a=['ck-thread__comment-count','set','bindTemplate','count','NUMBER_OF_COMMENTS'];(function(_0x4e677c,_0x5c4abe){const _0x81c731=function(_0x5b39c7){while(--_0x5b39c7){_0x4e677c['push'](_0x4e677c['shift']());}};_0x81c731(++_0x5c4abe);}(_0x5c4a,0x1ad));const _0x81c7=function(_0x4e677c,_0x5c4abe){_0x4e677c=_0x4e677c-0x0;let _0x81c731=_0x5c4a[_0x4e677c];return _0x81c731;};import{View as _0x33fffe}from'ckeditor5/src/ui';import{getTranslation as _0xf80494}from'../../../utils/common-translations';export default class to extends _0x33fffe{constructor(_0x2c044c){super(_0x2c044c);const _0x3a554d=this[_0x81c7('0x3')];this[_0x81c7('0x2')](_0x81c7('0x4'),void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':_0x81c7('0x1')},'children':[{'text':_0x3a554d['to'](_0x81c7('0x4'),_0x61f1a7=>_0xf80494(_0x2c044c,_0x81c7('0x0'),_0x61f1a7))}]});}}
23
+ const _0x5e46=['bindTemplate','ck-thread__comment-count','NUMBER_OF_COMMENTS','count','setTemplate','set'];(function(_0x270e35,_0x5e46a2){const _0x2392ca=function(_0x557294){while(--_0x557294){_0x270e35['push'](_0x270e35['shift']());}};_0x2392ca(++_0x5e46a2);}(_0x5e46,0x108));const _0x2392=function(_0x270e35,_0x5e46a2){_0x270e35=_0x270e35-0x0;let _0x2392ca=_0x5e46[_0x270e35];return _0x2392ca;};import{View as _0x6cad7b}from'ckeditor5/src/ui';import{getTranslation as _0x454c5a}from'../../../utils/common-translations';export default class to extends _0x6cad7b{constructor(_0x8ee3e3){super(_0x8ee3e3);const _0x3cb604=this[_0x2392('0x0')];this[_0x2392('0x5')](_0x2392('0x3'),void 0x0),this[_0x2392('0x4')]({'tag':'li','attributes':{'class':_0x2392('0x1')},'children':[{'text':_0x3cb604['to']('count',_0x26c6db=>_0x454c5a(_0x8ee3e3,_0x2392('0x2'),_0x26c6db))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4c63=['element','innerHTML','div','ck-comment__content','render','content','set','setTemplate','ck-annotation__content'];(function(_0x58dfbf,_0x4c6328){var _0x5b57c4=function(_0x113704){while(--_0x113704){_0x58dfbf['push'](_0x58dfbf['shift']());}};_0x5b57c4(++_0x4c6328);}(_0x4c63,0x1d9));var _0x5b57=function(_0x58dfbf,_0x4c6328){_0x58dfbf=_0x58dfbf-0x0;var _0x5b57c4=_0x4c63[_0x58dfbf];return _0x5b57c4;};import{View as _0x27a0d2}from'ckeditor5/src/ui';export default class Xt extends _0x27a0d2{constructor(_0x1484aa){super(_0x1484aa),this[_0x5b57('0x1')](_0x5b57('0x0'),''),this[_0x5b57('0x2')]({'tag':_0x5b57('0x6'),'attributes':{'class':[_0x5b57('0x7'),_0x5b57('0x3')]}});}['render'](){super[_0x5b57('0x8')](),this['on']('change:content',(_0x2b5c4e,_0x38b136,_0x42cc97)=>{this[_0x5b57('0x4')][_0x5b57('0x5')]=_0x42cc97;}),this['element']['innerHTML']=this[_0x5b57('0x0')];}}
23
+ var _0x2fe7=['render','set','change:content','ck-comment__content','content','ck-annotation__content','innerHTML'];(function(_0x215d32,_0x2fe7a1){var _0x5ab13e=function(_0x50a427){while(--_0x50a427){_0x215d32['push'](_0x215d32['shift']());}};_0x5ab13e(++_0x2fe7a1);}(_0x2fe7,0xf0));var _0x5ab1=function(_0x215d32,_0x2fe7a1){_0x215d32=_0x215d32-0x0;var _0x5ab13e=_0x2fe7[_0x215d32];return _0x5ab13e;};import{View as _0x10c36b}from'ckeditor5/src/ui';export default class Xt extends _0x10c36b{constructor(_0x5aec0c){super(_0x5aec0c),this[_0x5ab1('0x6')](_0x5ab1('0x2'),''),this['setTemplate']({'tag':'div','attributes':{'class':[_0x5ab1('0x1'),_0x5ab1('0x3')]}});}[_0x5ab1('0x5')](){super['render'](),this['on'](_0x5ab1('0x0'),(_0x10c38b,_0x4968f6,_0x4b83ae)=>{this['element'][_0x5ab1('0x4')]=_0x4b83ae;}),this['element'][_0x5ab1('0x4')]=this[_0x5ab1('0x2')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd5f7=['_isDestroyed','length','_createCancelButton','_createSubmitButton','extendTemplate','_editorCreationPromise','showButtons','destroy','editor','add','ck-comment__input-actions--active','then','getData','stop','ck-comment__input-actions--submit','label','set','submitLabel','disabledSubmit','Cancel','setData','Reply...','low','focus','editorReady','shift\x20+\x20tab','execute','focusTracker','cancel','placeholder','cancelButtonView','_initializeFocusCycling','submitButtonView','Reply','value','_editorConfig','high','element','fire','keystrokes','submit','TOO_LONG_COMMENT_ALERT','bind','firstChild','listenTo','div','model','ck-comment__input-actions--cancel','focusPrevious','initialData','ck-comment__input-actions','document','createEditor','create','render','withText','bindTemplate'];(function(_0x4d8ba5,_0xd5f77c){const _0x53f9c8=function(_0x774e0b){while(--_0x774e0b){_0x4d8ba5['push'](_0x4d8ba5['shift']());}};_0x53f9c8(++_0xd5f77c);}(_0xd5f7,0x1aa));const _0x53f9=function(_0x4d8ba5,_0xd5f77c){_0x4d8ba5=_0x4d8ba5-0x0;let _0x53f9c8=_0xd5f7[_0x4d8ba5];return _0x53f9c8;};import{View as _0xc2ed3f,ViewCollection as _0x103655,FocusCycler as _0x3baf6f,ButtonView as _0x7bae22}from'ckeditor5/src/ui';import{FocusTracker as _0x5de68a,KeystrokeHandler as _0x3be7ec}from'ckeditor5/src/utils';import _0x39d458 from'../commenteditor/commenteditor';import{getTranslation as _0x366be1}from'../../../utils/common-translations';export default class Yt extends _0xc2ed3f{constructor(_0x520523,_0x26736b={}){super(_0x520523),this[_0x53f9('0x26')]=null,this[_0x53f9('0x8')]=_0x26736b,this[_0x53f9('0xc')]=new _0x3be7ec(),this['focusTracker']=new _0x5de68a(),this[_0x53f9('0x2e')]('value',_0x26736b[_0x53f9('0x16')]||''),this[_0x53f9('0x2e')](_0x53f9('0x30'),!0x1),this['set'](_0x53f9('0x24'),!0x0),this[_0x53f9('0x2e')](_0x53f9('0x2'),_0x366be1(_0x520523,_0x53f9('0x33'))),this[_0x53f9('0x2e')](_0x53f9('0x2f'),_0x366be1(_0x520523,_0x53f9('0x6'))),this[_0x53f9('0x5')]=this[_0x53f9('0x21')](),this[_0x53f9('0x3')]=this[_0x53f9('0x20')](),this['setTemplate']({'tag':_0x53f9('0x12'),'attributes':{'class':['ck-comment__input-wrapper']},'children':[{'tag':_0x53f9('0x12'),'attributes':{'class':[_0x53f9('0x17'),this[_0x53f9('0x1d')]['if'](_0x53f9('0x24'),_0x53f9('0x28'))]},'children':[this['submitButtonView'],this[_0x53f9('0x3')]]}]}),this[_0x53f9('0xc')][_0x53f9('0x2e')]('Esc',(_0x8b14ed,_0x729b2)=>{this['cancelButtonView']['fire'](_0x53f9('0x38')),_0x729b2();}),this['on'](_0x53f9('0xd'),(_0x38dbf2,_0x214bee)=>{_0x214bee[_0x53f9('0x1f')]>0xfde8?(alert(_0x366be1(_0x520523,_0x53f9('0xe'),[_0x214bee['length'],0xfde8])),_0x38dbf2[_0x53f9('0x2b')]()):this[_0x53f9('0x26')][_0x53f9('0x32')]('');},{'priority':_0x53f9('0x9')});}[_0x53f9('0x1b')](){super['render'](),this[_0x53f9('0xc')][_0x53f9('0x11')](this[_0x53f9('0xa')]),this[_0x53f9('0x0')][_0x53f9('0x27')](this['element']);}[_0x53f9('0x19')](){return this[_0x53f9('0x26')]||(this[_0x53f9('0x26')]=new _0x39d458(this['_editorConfig']),this[_0x53f9('0x23')]=this[_0x53f9('0x26')][_0x53f9('0x1a')]()[_0x53f9('0x29')](()=>{if(this[_0x53f9('0x1e')])return;const _0x37424f=this[_0x53f9('0x26')];this[_0x53f9('0xa')]['insertBefore'](_0x37424f['ui'][_0x53f9('0xa')],this['element'][_0x53f9('0x10')]),_0x37424f[_0x53f9('0x13')][_0x53f9('0x18')]['on']('change',()=>this['value']=_0x37424f[_0x53f9('0x2a')]()),_0x37424f[_0x53f9('0xf')](_0x53f9('0x2'))['to'](this),this[_0x53f9('0x4')](this[_0x53f9('0x26')]),this[_0x53f9('0xb')](_0x53f9('0x36'));})),this[_0x53f9('0x23')];}['focus'](){this[_0x53f9('0x26')]&&this[_0x53f9('0x26')][_0x53f9('0x35')]();}async['destroy'](){this[_0x53f9('0x1e')]||(this[_0x53f9('0x1e')]=!0x0,this['editor']&&(await this['_editorCreationPromise'],await this['editor']['destroy']()),await super[_0x53f9('0x25')]());}[_0x53f9('0x21')](){const {locale:_0xc77db5}=this,_0xd37fa0=new _0x7bae22(_0xc77db5);return _0xd37fa0[_0x53f9('0x22')]({'attributes':{'class':[_0x53f9('0x2c')]}}),_0xd37fa0[_0x53f9('0x1c')]=!0x0,_0xd37fa0['bind'](_0x53f9('0x2d'))['to'](this,'submitLabel'),_0xd37fa0['on'](_0x53f9('0x38'),()=>{this[_0x53f9('0xb')](_0x53f9('0xd'),this[_0x53f9('0x7')]);}),_0xd37fa0[_0x53f9('0xf')]('isEnabled')['to'](this,'value',this,_0x53f9('0x30'),(_0x494b50,_0x121e64)=>!_0x121e64&&!!_0x494b50['trim']()),_0xd37fa0;}[_0x53f9('0x20')](){const {locale:_0x275536}=this,_0x1dd82f=new _0x7bae22(_0x275536);return _0x1dd82f[_0x53f9('0x22')]({'attributes':{'class':[_0x53f9('0x14')]}}),_0x1dd82f['label']=_0x366be1(_0x275536,_0x53f9('0x31')),_0x1dd82f['withText']=!0x0,_0x1dd82f['on']('execute',()=>{this['editor'][_0x53f9('0x32')](''),this[_0x53f9('0xb')](_0x53f9('0x1'));}),_0x1dd82f;}[_0x53f9('0x4')](_0x5707e3){const _0x2d49dd=this[_0x53f9('0x0')],_0x52a27e=new _0x103655();[_0x5707e3['ui']['view'],this[_0x53f9('0x5')],this['cancelButtonView']]['forEach'](_0x251fbe=>{_0x52a27e[_0x53f9('0x27')](_0x251fbe),_0x2d49dd[_0x53f9('0x27')](_0x251fbe['element']);});const _0x298555=new _0x3baf6f({'focusables':_0x52a27e,'focusTracker':_0x2d49dd});this[_0x53f9('0xc')][_0x53f9('0x2e')]('tab',(_0x415c8c,_0xa2f98e)=>{_0x298555['focusNext'](),_0xa2f98e();},{'priority':_0x53f9('0x34')}),this[_0x53f9('0xc')][_0x53f9('0x2e')](_0x53f9('0x37'),(_0x262fe9,_0x496087)=>{_0x298555[_0x53f9('0x15')](),_0x496087();},{'priority':'low'});}}
23
+ const _0x946b=['editorReady','bind','Cancel','high','_createSubmitButton','submit','submitLabel','value','ck-comment__input-actions--active','create','render','shift\x20+\x20tab','ck-comment__input-actions','cancel','getData','initialData','then','disabledSubmit','execute','fire','Esc','set','destroy','firstChild','extendTemplate','placeholder','insertBefore','forEach','TOO_LONG_COMMENT_ALERT','_initializeFocusCycling','_editorCreationPromise','setData','_createCancelButton','Reply...','label','_editorConfig','setTemplate','Reply','low','editor','stop','keystrokes','div','createEditor','ck-comment__input-actions--cancel','focus','element','change','ck-comment__input-wrapper','focusNext','submitButtonView','view','_isDestroyed','showButtons','add','withText','focusPrevious','cancelButtonView','length','focusTracker'];(function(_0x5c57bc,_0x946b86){const _0x1de9a4=function(_0x1d4543){while(--_0x1d4543){_0x5c57bc['push'](_0x5c57bc['shift']());}};_0x1de9a4(++_0x946b86);}(_0x946b,0x1e8));const _0x1de9=function(_0x5c57bc,_0x946b86){_0x5c57bc=_0x5c57bc-0x0;let _0x1de9a4=_0x946b[_0x5c57bc];return _0x1de9a4;};import{View as _0x3a4b81,ViewCollection as _0x48ba20,FocusCycler as _0x10ad8a,ButtonView as _0xda7d0b}from'ckeditor5/src/ui';import{FocusTracker as _0x1c0ea0,KeystrokeHandler as _0x59475a}from'ckeditor5/src/utils';import _0x378c78 from'../commenteditor/commenteditor';import{getTranslation as _0x53824e}from'../../../utils/common-translations';export default class Yt extends _0x3a4b81{constructor(_0x261856,_0x38c485={}){super(_0x261856),this[_0x1de9('0x1f')]=null,this[_0x1de9('0x1b')]=_0x38c485,this[_0x1de9('0x21')]=new _0x59475a(),this[_0x1de9('0x33')]=new _0x1c0ea0(),this[_0x1de9('0xd')](_0x1de9('0x3b'),_0x38c485[_0x1de9('0x7')]||''),this[_0x1de9('0xd')]('disabledSubmit',!0x1),this['set'](_0x1de9('0x2d'),!0x0),this[_0x1de9('0xd')](_0x1de9('0x11'),_0x53824e(_0x261856,_0x1de9('0x19'))),this[_0x1de9('0xd')](_0x1de9('0x3a'),_0x53824e(_0x261856,_0x1de9('0x1d'))),this[_0x1de9('0x2a')]=this[_0x1de9('0x38')](),this[_0x1de9('0x31')]=this[_0x1de9('0x18')](),this[_0x1de9('0x1c')]({'tag':_0x1de9('0x22'),'attributes':{'class':[_0x1de9('0x28')]},'children':[{'tag':_0x1de9('0x22'),'attributes':{'class':[_0x1de9('0x4'),this['bindTemplate']['if'](_0x1de9('0x2d'),_0x1de9('0x0'))]},'children':[this['submitButtonView'],this['cancelButtonView']]}]}),this[_0x1de9('0x21')][_0x1de9('0xd')](_0x1de9('0xc'),(_0x28b50,_0x5708a9)=>{this[_0x1de9('0x31')]['fire'](_0x1de9('0xa')),_0x5708a9();}),this['on'](_0x1de9('0x39'),(_0x3d1fd8,_0x1fc071)=>{_0x1fc071[_0x1de9('0x32')]>0xfde8?(alert(_0x53824e(_0x261856,_0x1de9('0x14'),[_0x1fc071[_0x1de9('0x32')],0xfde8])),_0x3d1fd8[_0x1de9('0x20')]()):this[_0x1de9('0x1f')][_0x1de9('0x17')]('');},{'priority':_0x1de9('0x37')});}[_0x1de9('0x2')](){super[_0x1de9('0x2')](),this[_0x1de9('0x21')]['listenTo'](this['element']),this['focusTracker'][_0x1de9('0x2e')](this[_0x1de9('0x26')]);}[_0x1de9('0x23')](){return this[_0x1de9('0x1f')]||(this['editor']=new _0x378c78(this[_0x1de9('0x1b')]),this[_0x1de9('0x16')]=this[_0x1de9('0x1f')][_0x1de9('0x1')]()[_0x1de9('0x8')](()=>{if(this[_0x1de9('0x2c')])return;const _0x5b46a4=this[_0x1de9('0x1f')];this[_0x1de9('0x26')][_0x1de9('0x12')](_0x5b46a4['ui'][_0x1de9('0x26')],this[_0x1de9('0x26')][_0x1de9('0xf')]),_0x5b46a4['model']['document']['on'](_0x1de9('0x27'),()=>this[_0x1de9('0x3b')]=_0x5b46a4[_0x1de9('0x6')]()),_0x5b46a4[_0x1de9('0x35')](_0x1de9('0x11'))['to'](this),this[_0x1de9('0x15')](this[_0x1de9('0x1f')]),this[_0x1de9('0xb')](_0x1de9('0x34'));})),this[_0x1de9('0x16')];}[_0x1de9('0x25')](){this[_0x1de9('0x1f')]&&this['editor'][_0x1de9('0x25')]();}async['destroy'](){this[_0x1de9('0x2c')]||(this[_0x1de9('0x2c')]=!0x0,this[_0x1de9('0x1f')]&&(await this[_0x1de9('0x16')],await this[_0x1de9('0x1f')]['destroy']()),await super[_0x1de9('0xe')]());}['_createSubmitButton'](){const {locale:_0x2c8c1f}=this,_0x2300b5=new _0xda7d0b(_0x2c8c1f);return _0x2300b5[_0x1de9('0x10')]({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x2300b5['withText']=!0x0,_0x2300b5[_0x1de9('0x35')](_0x1de9('0x1a'))['to'](this,_0x1de9('0x3a')),_0x2300b5['on'](_0x1de9('0xa'),()=>{this[_0x1de9('0xb')](_0x1de9('0x39'),this[_0x1de9('0x3b')]);}),_0x2300b5[_0x1de9('0x35')]('isEnabled')['to'](this,'value',this,_0x1de9('0x9'),(_0x4f94ca,_0x31aef2)=>!_0x31aef2&&!!_0x4f94ca['trim']()),_0x2300b5;}[_0x1de9('0x18')](){const {locale:_0x345d23}=this,_0x141776=new _0xda7d0b(_0x345d23);return _0x141776['extendTemplate']({'attributes':{'class':[_0x1de9('0x24')]}}),_0x141776[_0x1de9('0x1a')]=_0x53824e(_0x345d23,_0x1de9('0x36')),_0x141776[_0x1de9('0x2f')]=!0x0,_0x141776['on'](_0x1de9('0xa'),()=>{this[_0x1de9('0x1f')][_0x1de9('0x17')](''),this['fire'](_0x1de9('0x5'));}),_0x141776;}[_0x1de9('0x15')](_0x27574d){const _0x5b9422=this['focusTracker'],_0x1c2910=new _0x48ba20();[_0x27574d['ui'][_0x1de9('0x2b')],this[_0x1de9('0x2a')],this['cancelButtonView']][_0x1de9('0x13')](_0x495b81=>{_0x1c2910[_0x1de9('0x2e')](_0x495b81),_0x5b9422[_0x1de9('0x2e')](_0x495b81[_0x1de9('0x26')]);});const _0x19c1ea=new _0x10ad8a({'focusables':_0x1c2910,'focusTracker':_0x5b9422});this[_0x1de9('0x21')][_0x1de9('0xd')]('tab',(_0x1ee3fb,_0x243fda)=>{_0x19c1ea[_0x1de9('0x29')](),_0x243fda();},{'priority':_0x1de9('0x1e')}),this[_0x1de9('0x21')][_0x1de9('0xd')](_0x1de9('0x3'),(_0x30a557,_0x32e405)=>{_0x19c1ea[_0x1de9('0x30')](),_0x32e405();},{'priority':_0x1de9('0x1e')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x272a=['tab','render','auto','stopPropagation','arrowdown','add','_focusables','shift\x20+\x20tab','element','ck-hidden','listenTo','remove','arrowright','_focusTracker','set','ck-comments-archive__content','focus','selectstart','ck-comments-archive__header\x20','high','EMPTY_COMMENTS_ARCHIVE','_keystrokes','setTemplate','div','destroy','isEmpty','_focusCycler','ck-comments-archive','isActive','arrowup'];(function(_0x408363,_0x272a1a){const _0x1be912=function(_0x448541){while(--_0x448541){_0x408363['push'](_0x408363['shift']());}};_0x1be912(++_0x272a1a);}(_0x272a,0x173));const _0x1be9=function(_0x408363,_0x272a1a){_0x408363=_0x408363-0x0;let _0x1be912=_0x272a[_0x408363];return _0x1be912;};import{View as _0x343a99,FocusCycler as _0x15d67e}from'ckeditor5/src/ui';import{FocusTracker as _0x33ee5b,KeystrokeHandler as _0x580a4d}from'ckeditor5/src/utils';import{getTranslation as _0x5d1b95}from'../../../utils/common-translations';export default class X extends _0x343a99{constructor(_0x1d2610,_0x479f17){super(_0x1d2610),this[_0x1be9('0x3')]('isEmpty',!_0x479f17['length']),this[_0x1be9('0x2')]=new _0x33ee5b(),this[_0x1be9('0xa')]=new _0x580a4d(),this[_0x1be9('0x19')]=_0x479f17,this[_0x1be9('0xf')]=new _0x15d67e({'focusables':this[_0x1be9('0x19')],'focusTracker':this[_0x1be9('0x2')],'keystrokeHandler':this[_0x1be9('0xa')],'actions':{'focusPrevious':_0x1be9('0x1a'),'focusNext':_0x1be9('0x13')}}),this[_0x1be9('0x1d')](_0x479f17,_0x1be9('0x18'),()=>{this[_0x1be9('0xe')]=!0x1;}),this[_0x1be9('0x1d')](_0x479f17,_0x1be9('0x0'),(_0x58d30d,_0x4b3b41)=>{_0x4b3b41[_0x1be9('0x11')]&&this[_0x1be9('0x5')](),_0x479f17['length']||(this['isEmpty']=!0x0);});const _0x4f899a=this['bindTemplate'];this[_0x1be9('0xb')]({'tag':'div','attributes':{'dir':_0x1be9('0x15'),'class':['ck',_0x1be9('0x10')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x1be9('0x7')]},'children':[{'text':_0x5d1b95(_0x1d2610,'COMMENTS_ARCHIVE')}]},{'tag':_0x1be9('0xc'),'attributes':{'class':[_0x1be9('0x4')]},'children':[{'tag':_0x1be9('0xc'),'children':_0x479f17},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x4f899a['if'](_0x1be9('0xe'),_0x1be9('0x1c'),_0xcec09=>!_0xcec09)]},'children':[{'text':_0x5d1b95(_0x1d2610,_0x1be9('0x9'))}]}]}]});}[_0x1be9('0x14')](){super[_0x1be9('0x14')](),this[_0x1be9('0xa')]['listenTo'](this[_0x1be9('0x1b')]);const _0x2d52ac=_0x2ef013=>_0x2ef013[_0x1be9('0x16')]();this[_0x1be9('0xa')][_0x1be9('0x3')](_0x1be9('0x1'),_0x2d52ac),this[_0x1be9('0xa')][_0x1be9('0x3')]('arrowleft',_0x2d52ac),this[_0x1be9('0xa')]['set'](_0x1be9('0x12'),_0x2d52ac),this[_0x1be9('0xa')][_0x1be9('0x3')](_0x1be9('0x17'),_0x2d52ac),this[_0x1be9('0x1d')](this[_0x1be9('0x1b')],_0x1be9('0x6'),(_0x700b9,_0x5dcd51)=>{_0x5dcd51['stopPropagation']();},{'priority':_0x1be9('0x8')});}[_0x1be9('0xd')](){super['destroy'](),this[_0x1be9('0x2')][_0x1be9('0xd')](),this['_keystrokes'][_0x1be9('0xd')]();}[_0x1be9('0x5')](){this[_0x1be9('0x1b')][_0x1be9('0x5')]();}}
23
+ const _0x50b3=['stopPropagation','ck-comments-archive','div','arrowright','focus','render','isEmpty','set','length','arrowup','_focusCycler','ck-comments-archive__header\x20','destroy','isActive','_focusables','bindTemplate','arrowdown','_keystrokes','shift\x20+\x20tab','_focusTracker','COMMENTS_ARCHIVE','element','listenTo','add','auto','remove','selectstart'];(function(_0x3ccd71,_0x50b3c9){const _0x14e4b6=function(_0x97d6c3){while(--_0x97d6c3){_0x3ccd71['push'](_0x3ccd71['shift']());}};_0x14e4b6(++_0x50b3c9);}(_0x50b3,0x163));const _0x14e4=function(_0x3ccd71,_0x50b3c9){_0x3ccd71=_0x3ccd71-0x0;let _0x14e4b6=_0x50b3[_0x3ccd71];return _0x14e4b6;};import{View as _0x216602,FocusCycler as _0x3b89d8}from'ckeditor5/src/ui';import{FocusTracker as _0x1f3b66,KeystrokeHandler as _0x3ae1c2}from'ckeditor5/src/utils';import{getTranslation as _0x50a956}from'../../../utils/common-translations';export default class Q extends _0x216602{constructor(_0x2c4a4f,_0x1c64c6){super(_0x2c4a4f),this[_0x14e4('0x3')](_0x14e4('0x2'),!_0x1c64c6[_0x14e4('0x4')]),this[_0x14e4('0xf')]=new _0x1f3b66(),this[_0x14e4('0xd')]=new _0x3ae1c2(),this[_0x14e4('0xa')]=_0x1c64c6,this[_0x14e4('0x6')]=new _0x3b89d8({'focusables':this[_0x14e4('0xa')],'focusTracker':this[_0x14e4('0xf')],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':_0x14e4('0xe'),'focusNext':'tab'}}),this[_0x14e4('0x12')](_0x1c64c6,_0x14e4('0x13'),()=>{this[_0x14e4('0x2')]=!0x1;}),this[_0x14e4('0x12')](_0x1c64c6,_0x14e4('0x15'),(_0x347db1,_0x84f411)=>{_0x84f411[_0x14e4('0x9')]&&this['focus'](),_0x1c64c6[_0x14e4('0x4')]||(this[_0x14e4('0x2')]=!0x0);});const _0xe18492=this[_0x14e4('0xb')];this['setTemplate']({'tag':'div','attributes':{'dir':_0x14e4('0x14'),'class':['ck',_0x14e4('0x18')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x14e4('0x7')]},'children':[{'text':_0x50a956(_0x2c4a4f,_0x14e4('0x10'))}]},{'tag':_0x14e4('0x19'),'attributes':{'class':['ck-comments-archive__content']},'children':[{'tag':_0x14e4('0x19'),'children':_0x1c64c6},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0xe18492['if'](_0x14e4('0x2'),'ck-hidden',_0x29fe29=>!_0x29fe29)]},'children':[{'text':_0x50a956(_0x2c4a4f,'EMPTY_COMMENTS_ARCHIVE')}]}]}]});}[_0x14e4('0x1')](){super[_0x14e4('0x1')](),this[_0x14e4('0xd')][_0x14e4('0x12')](this['element']);const _0x58af40=_0x5cceb4=>_0x5cceb4[_0x14e4('0x17')]();this[_0x14e4('0xd')]['set'](_0x14e4('0x1a'),_0x58af40),this['_keystrokes'][_0x14e4('0x3')]('arrowleft',_0x58af40),this['_keystrokes'][_0x14e4('0x3')](_0x14e4('0x5'),_0x58af40),this[_0x14e4('0xd')][_0x14e4('0x3')](_0x14e4('0xc'),_0x58af40),this[_0x14e4('0x12')](this[_0x14e4('0x11')],_0x14e4('0x16'),(_0x484696,_0x19d5d7)=>{_0x19d5d7[_0x14e4('0x17')]();},{'priority':'high'});}[_0x14e4('0x8')](){super[_0x14e4('0x8')](),this['_focusTracker'][_0x14e4('0x8')](),this[_0x14e4('0xd')]['destroy']();}[_0x14e4('0x0')](){this['element'][_0x14e4('0x0')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c4f=['expand','equal','commentViews','_updateHasDirtyComment','authoredAt','resolveCommentThread','resolvedAt','listenTo','hasDirtyComment','add','formatDateTime','_findOptimalIndex','removeComment','_handleNewCommentModel','Marked\x20as\x20resolved','count','collapse','_shouldCollapse','_handleInfoComment','focus','element','remove','resolved','isEditMode','destroy','createCollection','change:hasDirtyComment','_rearrangeCollapse','maxThreadTotalWeight','delegate','resolvedCommentView','some','change:isActive','comments','_calculatePosition','refreshVisibleViews','updateComment','length','viewUid','maxCommentCharsWhenCollapsed','CommentView','change:isResolved','render','weight','_rearrangeExpand','setTemplate','_collapsedCommentsView','set','delete','stopListening','visibleViews','from','_model','_config','editorConfig','commentUpdated','resolvedBy','locale'];(function(_0x465a9a,_0x3c4fdf){const _0x5a7986=function(_0x2b5c3f){while(--_0x2b5c3f){_0x465a9a['push'](_0x465a9a['shift']());}};_0x5a7986(++_0x3c4fdf);}(_0x3c4f,0x18b));const _0x5a79=function(_0x465a9a,_0x3c4fdf){_0x465a9a=_0x465a9a-0x0;let _0x5a7986=_0x3c4f[_0x465a9a];return _0x5a7986;};import{View as _0x312510}from'ckeditor5/src/ui';import{diff as _0x29a0a4,Collection as _0x45a3a4}from'ckeditor5/src/utils';import{getTranslation as _0x2e5732}from'../../../utils/common-translations';import _0x5166ec from'./collapsedcommentsview';export default class Ct extends _0x312510{constructor(_0x59413d,_0x3a15d8,_0xd63e28){super(_0x59413d),this[_0x5a79('0x0')](_0x5a79('0x13'),!0x1),this[_0x5a79('0x0')](_0x5a79('0x30'),_0x3a15d8['comments'][_0x5a79('0x30')]),this[_0x5a79('0x0')]('isActive',!0x1),this['_model']=_0x3a15d8,this[_0x5a79('0x6')]=_0xd63e28,this[_0x5a79('0xd')]=this['createCollection'](),this[_0x5a79('0x3')]=this[_0x5a79('0x24')](),this[_0x5a79('0x29')]=null,this[_0x5a79('0x39')]=new _0x5166ec(_0x59413d),this[_0x5a79('0x39')]['bind'](_0x5a79('0x1a'))['to'](this,_0x5a79('0x30'),_0x4650ad=>_0x4650ad-this[_0x5a79('0x6')]['maxCommentsWhenCollapsed']);for(const _0x39df56 of _0x3a15d8['comments'])this[_0x5a79('0x18')](_0x39df56);this[_0x5a79('0x1d')](),this[_0x5a79('0x12')](_0x3a15d8[_0x5a79('0x2c')],_0x5a79('0x14'),(_0x29c8c1,_0x2f1cdc)=>{const _0x23998e=this[_0x5a79('0x2d')](_0x2f1cdc);this[_0x5a79('0x30')]++,this['_handleNewCommentModel'](_0x2f1cdc,_0x23998e),this['refreshVisibleViews']();}),this[_0x5a79('0x12')](_0x3a15d8[_0x5a79('0x2c')],_0x5a79('0x20'),(_0x1d8783,_0xa19860)=>{this[_0x5a79('0x30')]--,this['_handleRemoveCommentModel'](_0xa19860),this[_0x5a79('0x2e')]();}),this[_0x5a79('0x12')](_0x3a15d8,_0x5a79('0x8'),()=>this[_0x5a79('0x2e')]()),this['listenTo'](_0x3a15d8,_0x5a79('0x34'),()=>this[_0x5a79('0x1d')]()),this['on'](_0x5a79('0x2b'),()=>this[_0x5a79('0x2e')]()),this['on'](_0x5a79('0x25'),()=>this['refreshVisibleViews']()),this[_0x5a79('0x38')]({'tag':'ul','attributes':{'class':['ck-thread__comments']},'children':this[_0x5a79('0x3')]});}get[_0x5a79('0x1c')](){return this[_0x5a79('0x5')][_0x5a79('0x36')]>this['_config'][_0x5a79('0x27')]&&!this['isActive']&&!this[_0x5a79('0x13')];}['render'](){super[_0x5a79('0x35')](),this[_0x5a79('0x2e')]();}[_0x5a79('0x1e')](){this[_0x5a79('0x1f')][_0x5a79('0x1e')]();}[_0x5a79('0x23')](){this[_0x5a79('0x39')][_0x5a79('0x23')]();for(const _0x48064d of this[_0x5a79('0xd')])_0x48064d['destroy']();super['destroy']();}[_0x5a79('0x2e')](){this[_0x5a79('0x1c')]?this['_rearrangeCollapse']():this[_0x5a79('0x37')]();}[_0x5a79('0x18')](_0x1ceac5,_0x589b24){const _0x425b6f=new this['_config']['CommentView'](this[_0x5a79('0xa')],_0x1ceac5,{'maxCommentCharsWhenCollapsed':this[_0x5a79('0x6')][_0x5a79('0x32')],'formatDateTime':this[_0x5a79('0x6')][_0x5a79('0x15')],'editorConfig':this[_0x5a79('0x6')]['editorConfig']});_0x425b6f[_0x5a79('0x31')]=_0x1ceac5['id'],_0x425b6f['delegate'](_0x5a79('0x17'))['to'](this),_0x425b6f[_0x5a79('0x28')](_0x5a79('0x2f'))['to'](this),_0x425b6f[_0x5a79('0x28')](_0x5a79('0x10'))['to'](this),this['listenTo'](_0x425b6f,'change:isEditMode',()=>this[_0x5a79('0xe')]()),this[_0x5a79('0xd')][_0x5a79('0x14')](_0x425b6f,_0x589b24);}[_0x5a79('0x2d')](_0x43ba0a){const _0x56f7c=this[_0x5a79('0x5')][_0x5a79('0x16')](_0x43ba0a);return this['resolvedCommentView']?this[_0x5a79('0x29')][_0x5a79('0xf')]>_0x43ba0a[_0x5a79('0xf')]?_0x56f7c-0x1:_0x56f7c:_0x56f7c-0x1;}[_0x5a79('0x1d')](){if(this[_0x5a79('0x5')][_0x5a79('0x9')]&&this['_model'][_0x5a79('0x11')]){const _0x5b30ed={'id':_0x5a79('0x21'),'author':this['_model'][_0x5a79('0x9')],'authoredAt':this[_0x5a79('0x5')][_0x5a79('0x11')],'content':_0x2e5732(this[_0x5a79('0xa')],_0x5a79('0x19')),'attributes':{}};this['resolvedCommentView']=new this[(_0x5a79('0x6'))][(_0x5a79('0x33'))](this[_0x5a79('0xa')],_0x5b30ed,{'maxCommentCharsWhenCollapsed':this[_0x5a79('0x6')][_0x5a79('0x32')],'formatDateTime':this[_0x5a79('0x6')][_0x5a79('0x15')],'editorConfig':this['_config'][_0x5a79('0x7')],'isSystemComment':!0x0}),this[_0x5a79('0xd')][_0x5a79('0x14')](this[_0x5a79('0x29')],this[_0x5a79('0x5')][_0x5a79('0x16')](_0x5b30ed));}else this['resolvedCommentView']&&(this[_0x5a79('0xd')][_0x5a79('0x20')](this[_0x5a79('0x29')]),this[_0x5a79('0x29')][_0x5a79('0x23')](),this[_0x5a79('0x29')]=null);this['refreshVisibleViews']();}['_handleRemoveCommentModel'](_0x254541){const _0x29728a=this[_0x5a79('0xd')][_0x5a79('0x20')](_0x254541['id']);this[_0x5a79('0x2')](_0x29728a),_0x29728a[_0x5a79('0x22')]&&this[_0x5a79('0xe')](),_0x29728a['destroy']();}[_0x5a79('0xe')](){this[_0x5a79('0x13')]=Array[_0x5a79('0x4')](this[_0x5a79('0xd')])[_0x5a79('0x2a')](_0x2b4759=>_0x2b4759[_0x5a79('0x22')]);}[_0x5a79('0x26')](){const _0x1edd55=function(_0x1586d6){const _0x49d82d=new _0x45a3a4();for(const _0x2b87b3 of _0x1586d6)_0x49d82d[_0x5a79('0x14')](_0x2b87b3);return _0x49d82d;}(this[_0x5a79('0xd')]),_0x1e676c=this['_collapsedCommentsView'][_0x5a79('0x1a')];for(let _0x5732cc=0x1;_0x5732cc<=_0x1e676c;_0x5732cc++)_0x1edd55[_0x5a79('0x20')](0x1);for(const _0x4edf36 of _0x1edd55)_0x4edf36[_0x5a79('0x1b')]();_0x1e676c>0x0&&_0x1edd55[_0x5a79('0x14')](this[_0x5a79('0x39')],0x1),ss(_0x29a0a4(Array[_0x5a79('0x4')](this['visibleViews']),Array[_0x5a79('0x4')](_0x1edd55)),this['visibleViews'],_0x1edd55);}[_0x5a79('0x37')](){ss(_0x29a0a4(Array[_0x5a79('0x4')](this[_0x5a79('0x3')]),Array[_0x5a79('0x4')](this[_0x5a79('0xd')])),this[_0x5a79('0x3')],this[_0x5a79('0xd')]);for(const _0x2c9326 of this['visibleViews'])_0x2c9326[_0x5a79('0xb')]();}}function ss(_0x23e28e,_0x1dd53b,_0x2c21f6){let _0x247367=0x0;for(const _0x236853 of _0x23e28e)switch(_0x236853){case'insert':_0x1dd53b[_0x5a79('0x14')](_0x2c21f6['get'](_0x247367),_0x247367),_0x247367++;break;case _0x5a79('0x1'):_0x1dd53b[_0x5a79('0x20')](_0x247367);break;case _0x5a79('0xc'):_0x247367++;}}
23
+ const _0x1f85=['set','maxCommentsWhenCollapsed','CommentView','from','viewUid','editorConfig','ck-thread__comments','collapse','get','hasDirtyComment','createCollection','isActive','stopListening','add','_handleNewCommentModel','delete','some','resolveCommentThread','visibleViews','_updateHasDirtyComment','_handleInfoComment','render','locale','equal','commentViews','resolvedBy','resolved','comments','bind','change:isResolved','_calculatePosition','focus','weight','_collapsedCommentsView','listenTo','formatDateTime','remove','_rearrangeExpand','Marked\x20as\x20resolved','maxThreadTotalWeight','_handleRemoveCommentModel','removeComment','_config','commentUpdated','element','length','_findOptimalIndex','expand','change:isEditMode','_rearrangeCollapse','resolvedCommentView','_shouldCollapse','refreshVisibleViews','maxCommentCharsWhenCollapsed','count','updateComment','_model','isEditMode','resolvedAt','destroy','delegate'];(function(_0x2eacd2,_0x1f8509){const _0x55e883=function(_0x2fbcc6){while(--_0x2fbcc6){_0x2eacd2['push'](_0x2eacd2['shift']());}};_0x55e883(++_0x1f8509);}(_0x1f85,0x128));const _0x55e8=function(_0x2eacd2,_0x1f8509){_0x2eacd2=_0x2eacd2-0x0;let _0x55e883=_0x1f85[_0x2eacd2];return _0x55e883;};import{View as _0x22d005}from'ckeditor5/src/ui';import{diff as _0x26d5df,Collection as _0x218928}from'ckeditor5/src/utils';import{getTranslation as _0x37df9d}from'../../../utils/common-translations';import _0x49157d from'./collapsedcommentsview';export default class wt extends _0x22d005{constructor(_0x83a436,_0x13854a,_0x37e3b5){super(_0x83a436),this['set'](_0x55e8('0x12'),!0x1),this[_0x55e8('0x9')]('length',_0x13854a[_0x55e8('0x24')][_0x55e8('0x36')]),this[_0x55e8('0x9')](_0x55e8('0x14'),!0x1),this[_0x55e8('0x4')]=_0x13854a,this[_0x55e8('0x33')]=_0x37e3b5,this[_0x55e8('0x21')]=this['createCollection'](),this[_0x55e8('0x1b')]=this[_0x55e8('0x13')](),this[_0x55e8('0x3b')]=null,this['_collapsedCommentsView']=new _0x49157d(_0x83a436),this[_0x55e8('0x2a')][_0x55e8('0x25')](_0x55e8('0x2'))['to'](this,'length',_0x30a797=>_0x30a797-this[_0x55e8('0x33')][_0x55e8('0xa')]);for(const _0x4e2ee9 of _0x13854a[_0x55e8('0x24')])this[_0x55e8('0x17')](_0x4e2ee9);this[_0x55e8('0x1d')](),this[_0x55e8('0x2b')](_0x13854a['comments'],_0x55e8('0x16'),(_0x3ea34e,_0x105229)=>{const _0x33b302=this[_0x55e8('0x27')](_0x105229);this['length']++,this[_0x55e8('0x17')](_0x105229,_0x33b302),this[_0x55e8('0x0')]();}),this[_0x55e8('0x2b')](_0x13854a[_0x55e8('0x24')],_0x55e8('0x2d'),(_0x5899d6,_0x3e07d9)=>{this[_0x55e8('0x36')]--,this['_handleRemoveCommentModel'](_0x3e07d9),this[_0x55e8('0x0')]();}),this[_0x55e8('0x2b')](_0x13854a,_0x55e8('0x34'),()=>this[_0x55e8('0x0')]()),this[_0x55e8('0x2b')](_0x13854a,_0x55e8('0x26'),()=>this[_0x55e8('0x1d')]()),this['on']('change:isActive',()=>this['refreshVisibleViews']()),this['on']('change:hasDirtyComment',()=>this['refreshVisibleViews']()),this['setTemplate']({'tag':'ul','attributes':{'class':[_0x55e8('0xf')]},'children':this[_0x55e8('0x1b')]});}get[_0x55e8('0x3c')](){return this[_0x55e8('0x4')][_0x55e8('0x29')]>this[_0x55e8('0x33')][_0x55e8('0x30')]&&!this[_0x55e8('0x14')]&&!this[_0x55e8('0x12')];}[_0x55e8('0x1e')](){super[_0x55e8('0x1e')](),this['refreshVisibleViews']();}[_0x55e8('0x28')](){this[_0x55e8('0x35')][_0x55e8('0x28')]();}[_0x55e8('0x7')](){this['_collapsedCommentsView']['destroy']();for(const _0x3bdbaa of this[_0x55e8('0x21')])_0x3bdbaa['destroy']();super[_0x55e8('0x7')]();}['refreshVisibleViews'](){this[_0x55e8('0x3c')]?this[_0x55e8('0x3a')]():this[_0x55e8('0x2e')]();}['_handleNewCommentModel'](_0x2ca588,_0xfb1896){const _0x463753=new this[(_0x55e8('0x33'))][(_0x55e8('0xb'))](this[_0x55e8('0x1f')],_0x2ca588,{'maxCommentCharsWhenCollapsed':this['_config'][_0x55e8('0x1')],'formatDateTime':this['_config'][_0x55e8('0x2c')],'editorConfig':this['_config'][_0x55e8('0xe')]});_0x463753[_0x55e8('0xd')]=_0x2ca588['id'],_0x463753[_0x55e8('0x8')](_0x55e8('0x32'))['to'](this),_0x463753[_0x55e8('0x8')](_0x55e8('0x3'))['to'](this),_0x463753[_0x55e8('0x8')](_0x55e8('0x1a'))['to'](this),this[_0x55e8('0x2b')](_0x463753,_0x55e8('0x39'),()=>this[_0x55e8('0x1c')]()),this[_0x55e8('0x21')][_0x55e8('0x16')](_0x463753,_0xfb1896);}[_0x55e8('0x27')](_0x53f93f){const _0x40af41=this['_model'][_0x55e8('0x37')](_0x53f93f);return this['resolvedCommentView']?this[_0x55e8('0x3b')]['authoredAt']>_0x53f93f['authoredAt']?_0x40af41-0x1:_0x40af41:_0x40af41-0x1;}[_0x55e8('0x1d')](){if(this[_0x55e8('0x4')][_0x55e8('0x22')]&&this[_0x55e8('0x4')][_0x55e8('0x6')]){const _0x1cede1={'id':_0x55e8('0x23'),'author':this['_model'][_0x55e8('0x22')],'authoredAt':this[_0x55e8('0x4')][_0x55e8('0x6')],'content':_0x37df9d(this[_0x55e8('0x1f')],_0x55e8('0x2f')),'attributes':{}};this[_0x55e8('0x3b')]=new this[(_0x55e8('0x33'))][(_0x55e8('0xb'))](this['locale'],_0x1cede1,{'maxCommentCharsWhenCollapsed':this['_config'][_0x55e8('0x1')],'formatDateTime':this[_0x55e8('0x33')][_0x55e8('0x2c')],'editorConfig':this[_0x55e8('0x33')][_0x55e8('0xe')],'isSystemComment':!0x0}),this[_0x55e8('0x21')][_0x55e8('0x16')](this[_0x55e8('0x3b')],this['_model'][_0x55e8('0x37')](_0x1cede1));}else this['resolvedCommentView']&&(this[_0x55e8('0x21')]['remove'](this[_0x55e8('0x3b')]),this['resolvedCommentView'][_0x55e8('0x7')](),this[_0x55e8('0x3b')]=null);this[_0x55e8('0x0')]();}[_0x55e8('0x31')](_0xe4fe60){const _0x579308=this[_0x55e8('0x21')][_0x55e8('0x2d')](_0xe4fe60['id']);this[_0x55e8('0x15')](_0x579308),_0x579308[_0x55e8('0x5')]&&this[_0x55e8('0x1c')](),_0x579308[_0x55e8('0x7')]();}['_updateHasDirtyComment'](){this[_0x55e8('0x12')]=Array[_0x55e8('0xc')](this['commentViews'])[_0x55e8('0x19')](_0x2909f4=>_0x2909f4[_0x55e8('0x5')]);}['_rearrangeCollapse'](){const _0x76e93b=function(_0x419c61){const _0x154d22=new _0x218928();for(const _0x45572b of _0x419c61)_0x154d22[_0x55e8('0x16')](_0x45572b);return _0x154d22;}(this[_0x55e8('0x21')]),_0x569506=this[_0x55e8('0x2a')]['count'];for(let _0x5e9fcc=0x1;_0x5e9fcc<=_0x569506;_0x5e9fcc++)_0x76e93b['remove'](0x1);for(const _0x54e61b of _0x76e93b)_0x54e61b[_0x55e8('0x10')]();_0x569506>0x0&&_0x76e93b[_0x55e8('0x16')](this[_0x55e8('0x2a')],0x1),ss(_0x26d5df(Array[_0x55e8('0xc')](this[_0x55e8('0x1b')]),Array['from'](_0x76e93b)),this['visibleViews'],_0x76e93b);}['_rearrangeExpand'](){ss(_0x26d5df(Array[_0x55e8('0xc')](this[_0x55e8('0x1b')]),Array[_0x55e8('0xc')](this['commentViews'])),this[_0x55e8('0x1b')],this[_0x55e8('0x21')]);for(const _0x55681d of this[_0x55e8('0x1b')])_0x55681d[_0x55e8('0x38')]();}}function ss(_0x3283d5,_0x90b291,_0x1e8a15){let _0x25b22f=0x0;for(const _0x3756f6 of _0x3283d5)switch(_0x3756f6){case'insert':_0x90b291[_0x55e8('0x16')](_0x1e8a15[_0x55e8('0x11')](_0x25b22f),_0x25b22f),_0x25b22f++;break;case _0x55e8('0x18'):_0x90b291[_0x55e8('0x2d')](_0x25b22f);break;case _0x55e8('0x20'):_0x25b22f++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ee3=['length','contextValue','overlay','locale','.ck-context','bind','_trimContextValue','ck-context-wrapper','div','context','classList','render','_model','reopenCommentThread','hasContext','scrollWidth','ck-context','ck-thread__header','fire','tooltip','Reopen','Comment\x20was\x20made\x20on\x20an\x20element','reopenButtonView','ck-context--quotes','substring','listenTo','ck-annotation__actions','label','_attachContextActions','ck-context__value','mouseleave','offsetWidth','span','querySelector','isResolvable','value','icon','.ck-context__value'];(function(_0x2b376f,_0x5ee3e5){const _0x1924f4=function(_0x40dc08){while(--_0x40dc08){_0x2b376f['push'](_0x2b376f['shift']());}};_0x1924f4(++_0x5ee3e5);}(_0x5ee3,0x119));const _0x1924=function(_0x2b376f,_0x5ee3e5){_0x2b376f=_0x2b376f-0x0;let _0x1924f4=_0x5ee3[_0x2b376f];return _0x1924f4;};import{View as _0x4201f2,ButtonView as _0x58b024}from'ckeditor5/src/ui';import{getTranslation as _0x4ba8a9}from'../../../utils/common-translations';import _0xcf1cd from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Tt extends _0x4201f2{constructor(_0x530822,_0xc182bc){super(_0x530822);const _0x62976f=this['bindTemplate'];this[_0x1924('0x23')]=_0xc182bc,this[_0x1924('0x7')]=this['_createReopenButton'](),this[_0x1924('0x1c')]('hasContext')['to'](this[_0x1924('0x23')],_0x1924('0x20'),_0x354222=>!!_0x354222),this['bind'](_0x1924('0x18'))['to'](this[_0x1924('0x23')],_0x1924('0x20'),_0xdc26e9=>_0xdc26e9&&_0xdc26e9['value']?this[_0x1924('0x1d')](_0xdc26e9[_0x1924('0x14')]):_0x4ba8a9(this[_0x1924('0x1a')],_0x1924('0x6'))),this['setTemplate']({'tag':_0x1924('0x1f'),'attributes':{'class':[_0x1924('0x2')]},'children':[{'tag':_0x1924('0x1f'),'attributes':{'class':[_0x1924('0x1e')]},'children':[{'tag':_0x1924('0x1f'),'attributes':{'class':[_0x1924('0x1'),_0x62976f['if'](_0x1924('0x25'),_0x1924('0x8'))]},'children':[{'tag':_0x1924('0x11'),'attributes':{'class':[_0x1924('0xe')]},'children':[{'text':_0x62976f['to'](_0x1924('0x18'))}]}]}]},{'tag':_0x1924('0x1f'),'attributes':{'class':[_0x1924('0xb')]},'children':[this['reopenButtonView']]}]});}[_0x1924('0x22')](){super[_0x1924('0x22')](),this[_0x1924('0xd')]();}['_createReopenButton'](){const _0x1379e2=new _0x58b024(this['locale']);return _0x1379e2[_0x1924('0xc')]=_0x4ba8a9(this[_0x1924('0x1a')],'Reopen'),_0x1379e2[_0x1924('0x4')]=_0x4ba8a9(this[_0x1924('0x1a')],_0x1924('0x5')),_0x1379e2[_0x1924('0x15')]=_0xcf1cd,_0x1379e2[_0x1924('0x1c')]('isVisible')['to'](this['_model'],_0x1924('0x13')),_0x1379e2['on']('execute',()=>{this[_0x1924('0x3')](_0x1924('0x24'),this[_0x1924('0x23')]['id']);}),_0x1379e2;}[_0x1924('0x1d')](_0x256e6d){if(_0x256e6d[_0x1924('0x17')]<0x96)return _0x256e6d;const _0x207b3e=_0x256e6d['lastIndexOf']('\x20',0x93);return _0x256e6d[_0x1924('0x9')](0x0,_0x207b3e>-0x1?_0x207b3e:0x93)+'...';}[_0x1924('0xd')](){const _0x44b70d=this['element']['querySelector'](_0x1924('0x1b')),_0x59ea18=_0x44b70d[_0x1924('0x12')](_0x1924('0x16'));this[_0x1924('0xa')](_0x44b70d,'mouseenter',()=>{_0x59ea18[_0x1924('0x10')]<_0x59ea18[_0x1924('0x0')]&&_0x44b70d[_0x1924('0x21')]['add'](_0x1924('0x19'));}),this[_0x1924('0xa')](_0x44b70d,_0x1924('0xf'),()=>{_0x44b70d[_0x1924('0x21')]['remove'](_0x1924('0x19'));});}}
23
+ const _0x5b1b=['label','substring','ck-context--quotes','ck-context-wrapper','isResolvable','scrollWidth','Reopen','ck-context','tooltip','_attachContextActions','contextValue','fire','bind','mouseleave','context','reopenButtonView','reopenCommentThread','mouseenter','ck-annotation__actions','hasContext','setTemplate','offsetWidth','listenTo','classList','length','.ck-context','span','ck-context__value','Comment\x20was\x20made\x20on\x20an\x20element','locale','element','.ck-context__value','div','render','querySelector','_trimContextValue','...','_createReopenButton','_model','overlay'];(function(_0x57f5c1,_0x5b1b41){const _0x2facef=function(_0x2d9d02){while(--_0x2d9d02){_0x57f5c1['push'](_0x57f5c1['shift']());}};_0x2facef(++_0x5b1b41);}(_0x5b1b,0x1d5));const _0x2fac=function(_0x57f5c1,_0x5b1b41){_0x57f5c1=_0x57f5c1-0x0;let _0x2facef=_0x5b1b[_0x57f5c1];return _0x2facef;};import{View as _0x5afdc2,ButtonView as _0x12d66d}from'ckeditor5/src/ui';import{getTranslation as _0x1065d7}from'../../../utils/common-translations';import _0x51ac2f from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Tt extends _0x5afdc2{constructor(_0x90f055,_0x1e072f){super(_0x90f055);const _0x3fc4e3=this['bindTemplate'];this[_0x2fac('0x9')]=_0x1e072f,this[_0x2fac('0x1a')]=this[_0x2fac('0x8')](),this['bind'](_0x2fac('0x1e'))['to'](this[_0x2fac('0x9')],'context',_0x25e2c0=>!!_0x25e2c0),this[_0x2fac('0x17')](_0x2fac('0x15'))['to'](this[_0x2fac('0x9')],_0x2fac('0x19'),_0x2c71ad=>_0x2c71ad&&_0x2c71ad['value']?this['_trimContextValue'](_0x2c71ad['value']):_0x1065d7(this['locale'],_0x2fac('0x27'))),this[_0x2fac('0x1f')]({'tag':_0x2fac('0x3'),'attributes':{'class':['ck-thread__header']},'children':[{'tag':_0x2fac('0x3'),'attributes':{'class':[_0x2fac('0xe')]},'children':[{'tag':'div','attributes':{'class':[_0x2fac('0x12'),_0x3fc4e3['if']('hasContext',_0x2fac('0xd'))]},'children':[{'tag':_0x2fac('0x25'),'attributes':{'class':[_0x2fac('0x26')]},'children':[{'text':_0x3fc4e3['to'](_0x2fac('0x15'))}]}]}]},{'tag':'div','attributes':{'class':[_0x2fac('0x1d')]},'children':[this[_0x2fac('0x1a')]]}]});}[_0x2fac('0x4')](){super[_0x2fac('0x4')](),this[_0x2fac('0x14')]();}[_0x2fac('0x8')](){const _0x117fb0=new _0x12d66d(this[_0x2fac('0x0')]);return _0x117fb0[_0x2fac('0xb')]=_0x1065d7(this[_0x2fac('0x0')],_0x2fac('0x11')),_0x117fb0[_0x2fac('0x13')]=_0x1065d7(this[_0x2fac('0x0')],'Reopen'),_0x117fb0['icon']=_0x51ac2f,_0x117fb0[_0x2fac('0x17')]('isVisible')['to'](this['_model'],_0x2fac('0xf')),_0x117fb0['on']('execute',()=>{this[_0x2fac('0x16')](_0x2fac('0x1b'),this[_0x2fac('0x9')]['id']);}),_0x117fb0;}[_0x2fac('0x6')](_0x2fb099){if(_0x2fb099[_0x2fac('0x23')]<0x96)return _0x2fb099;const _0x3a34c1=_0x2fb099['lastIndexOf']('\x20',0x93);return _0x2fb099[_0x2fac('0xc')](0x0,_0x3a34c1>-0x1?_0x3a34c1:0x93)+_0x2fac('0x7');}[_0x2fac('0x14')](){const _0xa50421=this[_0x2fac('0x1')]['querySelector'](_0x2fac('0x24')),_0xa49e92=_0xa50421[_0x2fac('0x5')](_0x2fac('0x2'));this[_0x2fac('0x21')](_0xa50421,_0x2fac('0x1c'),()=>{_0xa49e92[_0x2fac('0x20')]<_0xa49e92[_0x2fac('0x10')]&&_0xa50421['classList']['add']('overlay');}),this[_0x2fac('0x21')](_0xa50421,_0x2fac('0x18'),()=>{_0xa50421[_0x2fac('0x22')]['remove'](_0x2fac('0xa'));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x51a6=['bind','createEditor','destroy','commentInputView','then','set','showInput','ck-thread__user','ck-comment__input-container','bindTemplate','ck-comment__input-container--active','change:showInput','userView','value','focusTracker','extendTemplate','setTemplate','ck-thread__input'];(function(_0x181a52,_0x51a637){var _0x8aaefa=function(_0x33daa4){while(--_0x33daa4){_0x181a52['push'](_0x181a52['shift']());}};_0x8aaefa(++_0x51a637);}(_0x51a6,0xc9));var _0x8aae=function(_0x181a52,_0x51a637){_0x181a52=_0x181a52-0x0;var _0x8aaefa=_0x51a6[_0x181a52];return _0x8aaefa;};import{View as _0x37c9fa}from'ckeditor5/src/ui';import _0x3aa511 from'./commentinputview';import{UserView as _0x441a75}from'ckeditor5-collaboration/src/collaboration-core';export default class At extends _0x37c9fa{constructor(_0x9af2ff,_0x416399,_0x939ec4){super(_0x9af2ff),this[_0x8aae('0x0')]=new _0x3aa511(_0x9af2ff,_0x939ec4),this['commentInputView'][_0x8aae('0xf')]('showButtons')['to'](this[_0x8aae('0x0')][_0x8aae('0xb')],'isFocused',this[_0x8aae('0x0')],_0x8aae('0xa'),(_0x29160d,_0x27ce72)=>_0x29160d||!!_0x27ce72),this[_0x8aae('0x2')](_0x8aae('0x3'),!0x1),this['on'](_0x8aae('0x8'),()=>{this[_0x8aae('0x3')]&&!this[_0x8aae('0x0')]['editor']&&this['commentInputView'][_0x8aae('0x10')]();}),this[_0x8aae('0x9')]=new _0x441a75(_0x9af2ff,_0x416399),this[_0x8aae('0x9')][_0x8aae('0xc')]({'attributes':{'class':_0x8aae('0x4')}}),this[_0x8aae('0x0')][_0x8aae('0xc')]({'attributes':{'class':_0x8aae('0xe')}}),this[_0x8aae('0xd')]({'tag':'div','attributes':{'class':[_0x8aae('0x5'),this[_0x8aae('0x6')]['if']('showInput',_0x8aae('0x7'))]},'children':[this['userView'],this[_0x8aae('0x0')]]});}[_0x8aae('0x11')](){return this[_0x8aae('0x0')]['destroy']()[_0x8aae('0x1')](()=>super[_0x8aae('0x11')]());}}
23
+ var _0x1936=['destroy','focusTracker','isFocused','commentInputView','ck-comment__input-container--active','extendTemplate','ck-thread__input','showInput','bindTemplate','editor','bind','ck-thread__user','value','change:showInput','ck-comment__input-container','userView','showButtons','set','div'];(function(_0xe9fa1e,_0x193616){var _0x5768d0=function(_0x46e7b1){while(--_0x46e7b1){_0xe9fa1e['push'](_0xe9fa1e['shift']());}};_0x5768d0(++_0x193616);}(_0x1936,0xa1));var _0x5768=function(_0xe9fa1e,_0x193616){_0xe9fa1e=_0xe9fa1e-0x0;var _0x5768d0=_0x1936[_0xe9fa1e];return _0x5768d0;};import{View as _0x39fc43}from'ckeditor5/src/ui';import _0x4b2cc9 from'./commentinputview';import{UserView as _0x375f7c}from'ckeditor5-collaboration/src/collaboration-core';export default class Ct extends _0x39fc43{constructor(_0x12c75c,_0x293a7b,_0x2d917c){super(_0x12c75c),this[_0x5768('0xd')]=new _0x4b2cc9(_0x12c75c,_0x2d917c),this[_0x5768('0xd')][_0x5768('0x1')](_0x5768('0x7'))['to'](this[_0x5768('0xd')][_0x5768('0xb')],_0x5768('0xc'),this[_0x5768('0xd')],_0x5768('0x3'),(_0x206165,_0x44618e)=>_0x206165||!!_0x44618e),this[_0x5768('0x8')](_0x5768('0x11'),!0x1),this['on'](_0x5768('0x4'),()=>{this[_0x5768('0x11')]&&!this[_0x5768('0xd')][_0x5768('0x0')]&&this['commentInputView']['createEditor']();}),this[_0x5768('0x6')]=new _0x375f7c(_0x12c75c,_0x293a7b),this[_0x5768('0x6')][_0x5768('0xf')]({'attributes':{'class':_0x5768('0x2')}}),this[_0x5768('0xd')][_0x5768('0xf')]({'attributes':{'class':_0x5768('0x10')}}),this['setTemplate']({'tag':_0x5768('0x9'),'attributes':{'class':[_0x5768('0x5'),this[_0x5768('0x12')]['if'](_0x5768('0x11'),_0x5768('0xe'))]},'children':[this[_0x5768('0x6')],this[_0x5768('0xd')]]});}[_0x5768('0xa')](){return this['commentInputView'][_0x5768('0xa')]()['then'](()=>super['destroy']());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2b78=['actionBar','_cancelAllConfirms','get','extendTemplate','.ck-thread__container','add','bind','execute','getTemplate','Delete\x20comment\x20thread?','_boundFirstCommentView','_bindFirstCommentView','Write\x20a\x20comment...','removeButton','set','div','querySelector','containerElement','bindTemplate','check','ck-reset_all-excluded','length','change:isActive','actionIndicator','tooltip','render','commentThreadHeaderView','locale','createCollection','high','Resolve','change:isReadOnly','resolveButton','ck-thread--active','commentsListView','resolveCommentThread','isResolved','ck-thread--','fire','_createResolveButton','stop','_model','remove','commentThreadInputView','showConfirm','icon','commentViews','ck-thread','label','removeCommentThread','isVisible','commentThreadChildren','listenTo','change:isResolved','isEnabled'];(function(_0x1272ed,_0x2b7811){const _0x420896=function(_0x3def1b){while(--_0x3def1b){_0x1272ed['push'](_0x1272ed['shift']());}};_0x420896(++_0x2b7811);}(_0x2b78,0xb1));const _0x4208=function(_0x1272ed,_0x2b7811){_0x1272ed=_0x1272ed-0x0;let _0x420896=_0x2b78[_0x1272ed];return _0x420896;};import{ConfirmMixin as _0x3183cc}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x35f916}from'ckeditor5/src/ui';import{icons as _0x13911e}from'ckeditor5/src/core';import _0x4bc00d from'./basecommentthreadview';import{getTranslation as _0x41d8ba}from'../../../utils/common-translations';export default class ft extends _0x3183cc(_0x4bc00d){constructor(_0x322f83,_0x37fa21,_0x317db4,_0x1bb548){super(_0x322f83,_0x37fa21,_0x317db4,_0x1bb548),this[_0x4208('0x27')]=this[_0x4208('0x10')](),this[_0x4208('0x27')]['addMany']([this['commentsListView'],this[_0x4208('0x1f')]]),this[_0x4208('0x1d')][_0x4208('0x18')]&&this['commentThreadChildren']['add'](this[_0x4208('0xe')],0x0),this[_0x4208('0x1d')]['on'](_0x4208('0x29'),(_0x4d4547,_0x53d40a,_0x30f119)=>{_0x30f119?this[_0x4208('0x27')][_0x4208('0x30')](this[_0x4208('0xe')],0x0):this['commentThreadChildren']['remove'](this[_0x4208('0xe')]);}),this[_0x4208('0x2')]('actionIndicator',null),this['containerElement']=null,this[_0x4208('0x35')]=null,this[_0x4208('0xf')]=_0x322f83,this[_0x4208('0x14')]=this[_0x4208('0x1b')](),this['setTemplate'](this['getTemplate']()),this['on'](_0x4208('0xa'),(_0x365969,_0x588c9a,_0x3aa855)=>{_0x3aa855||this[_0x4208('0x2c')]();}),this['listenTo'](this[_0x4208('0x1d')],_0x4208('0x13'),(_0x480624,_0x139bc3,_0x22d27c)=>{_0x22d27c&&this['_cancelAllConfirms']();}),this[_0x4208('0x9')]>0x0&&this[_0x4208('0x36')](),this[_0x4208('0x28')](this[_0x4208('0x16')][_0x4208('0x22')],_0x4208('0x30'),()=>{this[_0x4208('0x36')]();});}[_0x4208('0x33')](){const _0x318ed8=this[_0x4208('0x6')];return{'tag':_0x4208('0x3'),'attributes':{'class':[_0x4208('0x23'),_0x4208('0x8'),_0x318ed8['if']('isActive',_0x4208('0x15')),_0x318ed8['if']('isConfirm','ck-thread--remove-confirmation'),_0x318ed8['to'](_0x4208('0xb'),_0xb0facc=>_0xb0facc?_0x4208('0x19')+_0xb0facc:'')],'data-thread-id':this['_model']['id'],'tabindex':-0x1},'children':[{'tag':_0x4208('0x3'),'attributes':{'class':'ck-thread__container'},'children':this[_0x4208('0x27')]}]};}[_0x4208('0xd')](){super[_0x4208('0xd')](),this[_0x4208('0x5')]=this['element'][_0x4208('0x4')](_0x4208('0x2f'));}[_0x4208('0x2c')](){this['cancelConfirm']();for(const _0x976a35 of this[_0x4208('0x16')][_0x4208('0x22')])_0x976a35['cancelConfirm']();}['_bindFirstCommentView'](){const {locale:_0x25ce6c}=this,_0x159a0a=this[_0x4208('0x16')]['commentViews'][_0x4208('0x2d')](0x0);_0x159a0a===this['_boundFirstCommentView']||_0x159a0a['isSystemComment']||(this[_0x4208('0x35')]=_0x159a0a,this['unbind']('actionIndicator'),this[_0x4208('0x31')](_0x4208('0xb'))['to'](_0x159a0a,_0x4208('0xb'),_0x1a103e=>'remove'===_0x1a103e?_0x4208('0x1e'):null),_0x159a0a['placeholder']=_0x41d8ba(_0x25ce6c,_0x4208('0x0')),_0x159a0a[_0x4208('0x1')]['on'](_0x4208('0x32'),_0x372bc0=>{_0x372bc0[_0x4208('0x1c')](),this[_0x4208('0x20')](_0x41d8ba(_0x25ce6c,_0x4208('0x34')),this[_0x4208('0x5')])['then'](()=>{this[_0x4208('0x1a')](_0x4208('0x25'));});},{'priority':_0x4208('0x11')}),_0x159a0a[_0x4208('0x2b')]['add'](this[_0x4208('0x14')],0x0));}[_0x4208('0x1b')](){const _0xfc2b73=new _0x35f916(this['locale']);return _0xfc2b73[_0x4208('0x24')]=_0x41d8ba(this[_0x4208('0xf')],_0x4208('0x12')),_0xfc2b73[_0x4208('0xc')]=_0x41d8ba(this[_0x4208('0xf')],_0x4208('0x12')),_0xfc2b73[_0x4208('0x21')]=_0x13911e[_0x4208('0x7')],_0xfc2b73[_0x4208('0x2e')]({'attributes':{'class':'ck-comment--resolve'}}),_0xfc2b73['bind'](_0x4208('0x2a'))['to'](this['_model'],'isReadOnly',_0x1637d2=>!_0x1637d2),_0xfc2b73['bind'](_0x4208('0x26'))['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x368d26,_0x16745e)=>_0x368d26&&!_0x16745e),_0xfc2b73['on'](_0x4208('0x32'),()=>{this[_0x4208('0x1a')](_0x4208('0x17'),this['_model']['id']);}),_0xfc2b73;}}
23
+ const _0x5f16=['locale','_model','Delete\x20comment\x20thread?','check','isVisible','ck-reset_all-excluded','commentsListView','commentViews','fire','ck-comment--resolve','_bindFirstCommentView','resolveButton','actionIndicator','unbind','bind','change:isResolved','commentThreadChildren','ck-thread','containerElement','change:isActive','_cancelAllConfirms','then','execute','createCollection','render','isReadOnly','_boundFirstCommentView','commentThreadHeaderView','querySelector','element','change:isReadOnly','icon','addMany','resolveCommentThread','_createResolveButton','ck-thread--','cancelConfirm','isEnabled','label','actionBar','removeButton','.ck-thread__container','ck-thread--active','setTemplate','isResolvable','commentThreadInputView','isActive','add','length','remove','placeholder','listenTo','Resolve','getTemplate','stop','removeCommentThread','isResolved'];(function(_0x1c05b2,_0x5f1644){const _0x45d65b=function(_0xe58ca2){while(--_0xe58ca2){_0x1c05b2['push'](_0x1c05b2['shift']());}};_0x45d65b(++_0x5f1644);}(_0x5f16,0xd9));const _0x45d6=function(_0x1c05b2,_0x5f1644){_0x1c05b2=_0x1c05b2-0x0;let _0x45d65b=_0x5f16[_0x1c05b2];return _0x45d65b;};import{ConfirmMixin as _0xc850b3}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x599400}from'ckeditor5/src/ui';import{icons as _0x3b2414}from'ckeditor5/src/core';import _0x4c3c74 from'./basecommentthreadview';import{getTranslation as _0x2a4eb6}from'../../../utils/common-translations';export default class lt extends _0xc850b3(_0x4c3c74){constructor(_0x38a651,_0x9a4eb1,_0x1a2fc7,_0x3c1bdd){super(_0x38a651,_0x9a4eb1,_0x1a2fc7,_0x3c1bdd),this['commentThreadChildren']=this[_0x45d6('0x22')](),this['commentThreadChildren'][_0x45d6('0x2b')]([this['commentsListView'],this[_0x45d6('0x38')]]),this['_model']['isResolved']&&this['commentThreadChildren'][_0x45d6('0x1')](this[_0x45d6('0x26')],0x0),this[_0x45d6('0xc')]['on'](_0x45d6('0x1a'),(_0xbfb721,_0x4ea0e1,_0x157f12)=>{_0x157f12?this[_0x45d6('0x1b')][_0x45d6('0x1')](this[_0x45d6('0x26')],0x0):this['commentThreadChildren'][_0x45d6('0x3')](this[_0x45d6('0x26')]);}),this['set'](_0x45d6('0x17'),null),this[_0x45d6('0x1d')]=null,this['_boundFirstCommentView']=null,this['locale']=_0x38a651,this[_0x45d6('0x16')]=this[_0x45d6('0x2d')](),this[_0x45d6('0x36')](this[_0x45d6('0x7')]()),this['on'](_0x45d6('0x1e'),(_0x5ebc65,_0x1999a3,_0x8036b3)=>{_0x8036b3||this[_0x45d6('0x1f')]();}),this[_0x45d6('0x5')](this[_0x45d6('0xc')],_0x45d6('0x29'),(_0x3f4866,_0x40b8e8,_0x5c15ec)=>{_0x5c15ec&&this['_cancelAllConfirms']();}),this[_0x45d6('0x2')]>0x0&&this['_bindFirstCommentView'](),this[_0x45d6('0x5')](this[_0x45d6('0x11')][_0x45d6('0x12')],_0x45d6('0x1'),()=>{this[_0x45d6('0x15')]();});}['getTemplate'](){const _0x3e4980=this['bindTemplate'];return{'tag':'div','attributes':{'class':[_0x45d6('0x1c'),_0x45d6('0x10'),_0x3e4980['if'](_0x45d6('0x0'),_0x45d6('0x35')),_0x3e4980['if']('isConfirm','ck-thread--remove-confirmation'),_0x3e4980['to']('actionIndicator',_0x4c8b63=>_0x4c8b63?_0x45d6('0x2e')+_0x4c8b63:'')],'data-thread-id':this[_0x45d6('0xc')]['id'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':'ck-thread__container'},'children':this[_0x45d6('0x1b')]}]};}[_0x45d6('0x23')](){super[_0x45d6('0x23')](),this[_0x45d6('0x1d')]=this[_0x45d6('0x28')][_0x45d6('0x27')](_0x45d6('0x34'));}[_0x45d6('0x1f')](){this['cancelConfirm']();for(const _0x234018 of this['commentsListView']['commentViews'])_0x234018[_0x45d6('0x2f')]();}[_0x45d6('0x15')](){const {locale:_0x48a8fb}=this,_0x387b83=this['commentsListView']['commentViews']['get'](0x0);_0x387b83===this['_boundFirstCommentView']||_0x387b83['isSystemComment']||(this[_0x45d6('0x25')]=_0x387b83,this[_0x45d6('0x18')](_0x45d6('0x17')),this[_0x45d6('0x19')](_0x45d6('0x17'))['to'](_0x387b83,_0x45d6('0x17'),_0xab8c6a=>'remove'===_0xab8c6a?_0x45d6('0x3'):null),_0x387b83[_0x45d6('0x4')]=_0x2a4eb6(_0x48a8fb,'Write\x20a\x20comment...'),_0x387b83[_0x45d6('0x33')]['on'](_0x45d6('0x21'),_0x3f7415=>{_0x3f7415[_0x45d6('0x8')](),this['showConfirm'](_0x2a4eb6(_0x48a8fb,_0x45d6('0xd')),this[_0x45d6('0x1d')])[_0x45d6('0x20')](()=>{this[_0x45d6('0x13')](_0x45d6('0x9'));});},{'priority':'high'}),_0x387b83[_0x45d6('0x32')][_0x45d6('0x1')](this['resolveButton'],0x0));}[_0x45d6('0x2d')](){const _0x24f77a=new _0x599400(this[_0x45d6('0xb')]);return _0x24f77a[_0x45d6('0x31')]=_0x2a4eb6(this[_0x45d6('0xb')],'Resolve'),_0x24f77a['tooltip']=_0x2a4eb6(this[_0x45d6('0xb')],_0x45d6('0x6')),_0x24f77a[_0x45d6('0x2a')]=_0x3b2414[_0x45d6('0xe')],_0x24f77a['extendTemplate']({'attributes':{'class':_0x45d6('0x14')}}),_0x24f77a[_0x45d6('0x19')](_0x45d6('0x30'))['to'](this[_0x45d6('0xc')],_0x45d6('0x24'),_0x43609a=>!_0x43609a),_0x24f77a[_0x45d6('0x19')](_0x45d6('0xf'))['to'](this['_model'],_0x45d6('0x37'),this['_model'],_0x45d6('0xa'),(_0x2ecb65,_0x155bfe)=>_0x2ecb65&&!_0x155bfe),_0x24f77a['on'](_0x45d6('0x21'),()=>{this[_0x45d6('0x13')](_0x45d6('0x2c'),this[_0x45d6('0xc')]['id']);}),_0x24f77a;}}