@ckeditor/ckeditor5-comments 37.0.0-rc.0 → 37.0.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 +2 -2
  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 _0x463e=['_updatePlaceholder','getRoot','createRoot','defaultPlugins','get','destroy','init','create','placeholder','view','getChild','change','end','childCount','low','initialData','model','document','focus','then','assign','setSelection','set','editing','placeholderElement'];(function(_0x3780d2,_0x463e3c){const _0x5123e1=function(_0x2b0ab2){while(--_0x2b0ab2){_0x3780d2['push'](_0x3780d2['shift']());}};_0x5123e1(++_0x463e3c);}(_0x463e,0x14d));const _0x5123=function(_0x3780d2,_0x463e3c){_0x3780d2=_0x3780d2-0x0;let _0x5123e1=_0x463e[_0x3780d2];return _0x5123e1;};import{Editor as _0x11841d,DataApiMixin as _0x3cea9e}from'ckeditor5/src/core';import _0x520b13 from'./commenteditorui';import{ObservableMixin as _0x4732f3}from'ckeditor5/src/utils';import{enablePlaceholder as _0x2ae715,disablePlaceholder as _0x71a514}from'ckeditor5/src/engine';import{Clipboard as _0x576fcf}from'ckeditor5/src/clipboard';import{Enter as _0x27ec04,ShiftEnter as _0x581c5f}from'ckeditor5/src/enter';import{SelectAll as _0x4d51a4}from'ckeditor5/src/select-all';import{Typing as _0x88aa9d}from'ckeditor5/src/typing';import{Undo as _0x275e08}from'ckeditor5/src/undo';import{Paragraph as _0x48222b}from'ckeditor5/src/paragraph';const Jt=[_0x576fcf,_0x27ec04,_0x581c5f,_0x4d51a4,_0x88aa9d,_0x275e08,_0x48222b];export default class Kt extends _0x4732f3(_0x3cea9e(_0x11841d)){constructor(_0x822afb={}){(_0x822afb=Object[_0x5123('0xc')]({},_0x822afb))['plugins']||(_0x822afb['plugins']=Kt[_0x5123('0x14')]),super(_0x822afb),this['ui']=new _0x520b13(this),this[_0x5123('0xe')](_0x5123('0x0'),''),this[_0x5123('0x8')][_0x5123('0x9')]['on'](_0x5123('0x3'),()=>this[_0x5123('0x11')](),{'priority':_0x5123('0x6')}),this['on']('change:placeholder',()=>this[_0x5123('0x11')]()),this['model'][_0x5123('0x9')][_0x5123('0x13')]();}[_0x5123('0x18')](){const _0x14f6b5=this['config'][_0x5123('0x15')](_0x5123('0x7'))||'';return this['initPlugins']()['then'](()=>this['ui'][_0x5123('0x17')]())[_0x5123('0xb')](()=>this['data']['init'](_0x14f6b5))[_0x5123('0xb')](()=>this['fire']('ready'));}[_0x5123('0x16')](){return super[_0x5123('0x16')]()[_0x5123('0xb')](()=>this['ui'][_0x5123('0x16')]());}[_0x5123('0xa')](){this[_0x5123('0x8')]['change'](_0x431d7b=>{const _0x445bd5=this['model'][_0x5123('0x9')][_0x5123('0x12')](),_0x5acb76=_0x445bd5&&_0x445bd5[_0x5123('0x2')](_0x445bd5[_0x5123('0x5')]-0x1);_0x431d7b[_0x5123('0xd')](_0x5acb76,_0x5123('0x4')),this[_0x5123('0xf')][_0x5123('0x1')]['focus']();});}[_0x5123('0x11')](){const _0x20231e=this[_0x5123('0xf')][_0x5123('0x1')],_0x1a15c6=_0x20231e[_0x5123('0x9')][_0x5123('0x12')](),_0x5e2c78=_0x1a15c6[_0x5123('0x2')](0x0);_0x1a15c6[_0x5123('0x5')]>0x1||!_0x5e2c78||'p'!=_0x5e2c78['name']?this['placeholderElement']&&(_0x71a514(_0x20231e,this[_0x5123('0x10')]),this['placeholderElement']=void 0x0):(_0x2ae715({'view':_0x20231e,'element':_0x5e2c78,'text':this[_0x5123('0x0')],'keepOnFocus':!0x0}),this[_0x5123('0x10')]=_0x5e2c78);}}Kt['defaultPlugins']=Jt;
23
+ const _0x7e64=['document','create','fire','_updatePlaceholder','childCount','model','plugins','then','editing','createRoot','set','view','focus','low','init','ready','placeholderElement','change:placeholder','getRoot','destroy','config','change','data','get','getChild','placeholder','initPlugins','defaultPlugins'];(function(_0x2a96d2,_0x7e6459){const _0x50e835=function(_0x279f28){while(--_0x279f28){_0x2a96d2['push'](_0x2a96d2['shift']());}};_0x50e835(++_0x7e6459);}(_0x7e64,0x6f));const _0x50e8=function(_0x2a96d2,_0x7e6459){_0x2a96d2=_0x2a96d2-0x0;let _0x50e835=_0x7e64[_0x2a96d2];return _0x50e835;};import{Editor as _0x514df1,DataApiMixin as _0x32623c}from'ckeditor5/src/core';import _0x542e1e from'./commenteditorui';import{ObservableMixin as _0x43c56e}from'ckeditor5/src/utils';import{enablePlaceholder as _0x36d3aa,disablePlaceholder as _0x1d5217}from'ckeditor5/src/engine';import{Clipboard as _0x438d35}from'ckeditor5/src/clipboard';import{Enter as _0x5405a1,ShiftEnter as _0x283264}from'ckeditor5/src/enter';import{SelectAll as _0x19137f}from'ckeditor5/src/select-all';import{Typing as _0x112975}from'ckeditor5/src/typing';import{Undo as _0x1a0aa1}from'ckeditor5/src/undo';import{Paragraph as _0x4de2d6}from'ckeditor5/src/paragraph';const Jt=[_0x438d35,_0x5405a1,_0x283264,_0x19137f,_0x112975,_0x1a0aa1,_0x4de2d6];export default class Kt extends _0x43c56e(_0x32623c(_0x514df1)){constructor(_0x45a600={}){(_0x45a600=Object['assign']({},_0x45a600))[_0x50e8('0x7')]||(_0x45a600[_0x50e8('0x7')]=Kt['defaultPlugins']),super(_0x45a600),this['ui']=new _0x542e1e(this),this[_0x50e8('0xb')](_0x50e8('0x1a'),''),this[_0x50e8('0x6')][_0x50e8('0x1')]['on'](_0x50e8('0x16'),()=>this['_updatePlaceholder'](),{'priority':_0x50e8('0xe')}),this['on'](_0x50e8('0x12'),()=>this['_updatePlaceholder']()),this['model'][_0x50e8('0x1')][_0x50e8('0xa')]();}[_0x50e8('0x2')](){const _0x536856=this[_0x50e8('0x15')][_0x50e8('0x18')]('initialData')||'';return this[_0x50e8('0x1b')]()[_0x50e8('0x8')](()=>this['ui'][_0x50e8('0xf')]())[_0x50e8('0x8')](()=>this[_0x50e8('0x17')][_0x50e8('0xf')](_0x536856))[_0x50e8('0x8')](()=>this[_0x50e8('0x3')](_0x50e8('0x10')));}[_0x50e8('0x14')](){return super[_0x50e8('0x14')]()['then'](()=>this['ui'][_0x50e8('0x14')]());}[_0x50e8('0xd')](){this[_0x50e8('0x6')]['change'](_0x193823=>{const _0x46b3e4=this[_0x50e8('0x6')][_0x50e8('0x1')][_0x50e8('0x13')](),_0x4b6940=_0x46b3e4&&_0x46b3e4['getChild'](_0x46b3e4[_0x50e8('0x5')]-0x1);_0x193823['setSelection'](_0x4b6940,'end'),this[_0x50e8('0x9')][_0x50e8('0xc')]['focus']();});}[_0x50e8('0x4')](){const _0x521c51=this['editing'][_0x50e8('0xc')],_0x526e79=_0x521c51['document'][_0x50e8('0x13')](),_0x43451f=_0x526e79[_0x50e8('0x19')](0x0);_0x526e79['childCount']>0x1||!_0x43451f||'p'!=_0x43451f['name']?this[_0x50e8('0x11')]&&(_0x1d5217(_0x521c51,this[_0x50e8('0x11')]),this[_0x50e8('0x11')]=void 0x0):(_0x36d3aa({'view':_0x521c51,'element':_0x43451f,'text':this['placeholder'],'keepOnFocus':!0x0}),this[_0x50e8('0x11')]=_0x43451f);}}Kt[_0x50e8('0x0')]=Jt;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ad7=['getRoot','name','destroy','view','editing','rootName','element','editor','render','bind','ready','editable','attachDomRoot','isFocused','setEditableElement'];(function(_0x5d5c82,_0x1ad7f6){const _0x2de100=function(_0x569beb){while(--_0x569beb){_0x5d5c82['push'](_0x5d5c82['shift']());}};_0x2de100(++_0x1ad7f6);}(_0x1ad7,0x1ec));const _0x2de1=function(_0x5d5c82,_0x1ad7f6){_0x5d5c82=_0x5d5c82-0x0;let _0x2de100=_0x1ad7[_0x5d5c82];return _0x2de100;};import{EditorUI as _0x43395d}from'ckeditor5/src/ui';import _0xa50d53 from'./commenteditoruiview';export default class Dt extends _0x43395d{constructor(_0x12959e){super(_0x12959e),this[_0x2de1('0x6')]=new _0xa50d53(_0x12959e['locale'],_0x12959e[_0x2de1('0x7')][_0x2de1('0x6')]);}get['element'](){return this['view'][_0x2de1('0x9')];}['init'](){const _0x1a7d35=this[_0x2de1('0xa')][_0x2de1('0x7')][_0x2de1('0x6')],_0x989f0e=this[_0x2de1('0x6')]['editable'],_0x5190c2=_0x1a7d35['document'][_0x2de1('0x3')]();_0x989f0e[_0x2de1('0x4')]=_0x5190c2[_0x2de1('0x8')],this[_0x2de1('0x6')][_0x2de1('0xb')]();const _0x268318=_0x989f0e[_0x2de1('0x9')];this[_0x2de1('0x2')](_0x989f0e['name'],_0x268318),this[_0x2de1('0x6')][_0x2de1('0xe')][_0x2de1('0xc')](_0x2de1('0x1'))['to'](this['focusTracker']),_0x1a7d35[_0x2de1('0x0')](_0x268318),this['fire'](_0x2de1('0xd'));}['destroy'](){super['destroy'](),this['view'][_0x2de1('0x5')]();}}
23
+ const _0x1227=['name','locale','ready','bind','init','editable','focusTracker','getRoot','view','attachDomRoot','editor','isFocused','element','destroy','rootName','editing','fire','document'];(function(_0x54ef3c,_0x122752){const _0x247e5b=function(_0x2bbf71){while(--_0x2bbf71){_0x54ef3c['push'](_0x54ef3c['shift']());}};_0x247e5b(++_0x122752);}(_0x1227,0x1c9));const _0x247e=function(_0x54ef3c,_0x122752){_0x54ef3c=_0x54ef3c-0x0;let _0x247e5b=_0x1227[_0x54ef3c];return _0x247e5b;};import{EditorUI as _0x27a253}from'ckeditor5/src/ui';import _0x4b3177 from'./commenteditoruiview';export default class Dt extends _0x27a253{constructor(_0x55627b){super(_0x55627b),this[_0x247e('0x1')]=new _0x4b3177(_0x55627b[_0x247e('0xc')],_0x55627b[_0x247e('0x8')][_0x247e('0x1')]);}get[_0x247e('0x5')](){return this[_0x247e('0x1')][_0x247e('0x5')];}[_0x247e('0xf')](){const _0x2c054a=this[_0x247e('0x3')][_0x247e('0x8')][_0x247e('0x1')],_0x56c9b4=this[_0x247e('0x1')][_0x247e('0x10')],_0xaa1ee5=_0x2c054a[_0x247e('0xa')][_0x247e('0x0')]();_0x56c9b4[_0x247e('0xb')]=_0xaa1ee5[_0x247e('0x7')],this[_0x247e('0x1')]['render']();const _0x16fb1b=_0x56c9b4[_0x247e('0x5')];this['setEditableElement'](_0x56c9b4['name'],_0x16fb1b),this['view'][_0x247e('0x10')][_0x247e('0xe')](_0x247e('0x4'))['to'](this[_0x247e('0x11')]),_0x2c054a[_0x247e('0x2')](_0x16fb1b),this[_0x247e('0x9')](_0x247e('0xd'));}[_0x247e('0x6')](){super[_0x247e('0x6')](),this['view']['destroy']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x456b=['text','editable','div','createCollection','main','setTemplate','ck-comment__input','focus','presentation','Comment\x20editor','uiLanguageDirection','add','ck-rounded-corners','_createVoiceLabel','ck-voice-label','ck-editor__aria-label_','render','uiLanguage','extendTemplate','ck-editor__main','cke-editor__aria-label_','ck-reset','ck-editor'];(function(_0x4d3832,_0x456b23){const _0x42416e=function(_0x7015c){while(--_0x7015c){_0x4d3832['push'](_0x4d3832['shift']());}};_0x42416e(++_0x456b23);}(_0x456b,0x1a8));const _0x4241=function(_0x4d3832,_0x456b23){_0x4d3832=_0x4d3832-0x0;let _0x42416e=_0x456b[_0x4d3832];return _0x42416e;};import{InlineEditableUIView as _0xff886e,EditorUIView as _0x188c1d,LabelView as _0x29f472}from'ckeditor5/src/ui';import{uid as _0x5363eb}from'ckeditor5/src/utils';import{getTranslation as _0x4b26e6}from'../../../utils/common-translations';export default class Nt extends _0x188c1d{constructor(_0x3eaa62,_0x40768b){super(_0x3eaa62);const _0x21dea0=_0x5363eb();this['main']=this[_0x4241('0x10')](),this[_0x4241('0xe')]=new _0xff886e(_0x3eaa62,_0x40768b),this['_voiceLabelView']=this[_0x4241('0x3')](_0x21dea0,_0x3eaa62),this[_0x4241('0x12')]({'tag':_0x4241('0xf'),'attributes':{'class':[_0x4241('0xb'),_0x4241('0xc'),_0x4241('0x2'),_0x4241('0x13')],'role':'comment','dir':_0x3eaa62[_0x4241('0x0')],'lang':_0x3eaa62[_0x4241('0x7')],'aria-labelledby':_0x4241('0xa')+_0x21dea0},'children':[this['_voiceLabelView'],{'tag':_0x4241('0xf'),'attributes':{'class':_0x4241('0x9'),'role':_0x4241('0x15')},'children':this[_0x4241('0x11')]}]});}[_0x4241('0x6')](){super[_0x4241('0x6')](),this[_0x4241('0x11')][_0x4241('0x1')](this[_0x4241('0xe')]);}[_0x4241('0x14')](){this[_0x4241('0xe')]['element']['focus']();}[_0x4241('0x3')](_0xf645a0,_0x2370ab){const _0x414e03=new _0x29f472();return _0x414e03[_0x4241('0xd')]=_0x4b26e6(_0x2370ab,_0x4241('0x16')),_0x414e03[_0x4241('0x8')]({'attributes':{'id':_0x4241('0x5')+_0xf645a0,'class':_0x4241('0x4')}}),_0x414e03;}}
23
+ const _0x4bf2=['add','render','ck-rounded-corners','ck-voice-label','ck-editor__main','text','ck-reset','extendTemplate','Comment\x20editor','_voiceLabelView','focus','ck-editor__aria-label_','uiLanguage','editable','createCollection','presentation','uiLanguageDirection','comment','_createVoiceLabel','ck-editor','main','element','setTemplate','div','ck-comment__input'];(function(_0xb9e40a,_0x4bf208){const _0x324aab=function(_0x1f8256){while(--_0x1f8256){_0xb9e40a['push'](_0xb9e40a['shift']());}};_0x324aab(++_0x4bf208);}(_0x4bf2,0x94));const _0x324a=function(_0xb9e40a,_0x4bf208){_0xb9e40a=_0xb9e40a-0x0;let _0x324aab=_0x4bf2[_0xb9e40a];return _0x324aab;};import{InlineEditableUIView as _0xb1819b,EditorUIView as _0x4dcc54,LabelView as _0x1dbe1b}from'ckeditor5/src/ui';import{uid as _0x17b342}from'ckeditor5/src/utils';import{getTranslation as _0x428208}from'../../../utils/common-translations';export default class Nt extends _0x4dcc54{constructor(_0x324b77,_0x47a03b){super(_0x324b77);const _0x5fc859=_0x17b342();this['main']=this[_0x324a('0x10')](),this['editable']=new _0xb1819b(_0x324b77,_0x47a03b),this['_voiceLabelView']=this[_0x324a('0x14')](_0x5fc859,_0x324b77),this[_0x324a('0x18')]({'tag':_0x324a('0x0'),'attributes':{'class':[_0x324a('0x8'),_0x324a('0x15'),_0x324a('0x4'),_0x324a('0x1')],'role':_0x324a('0x13'),'dir':_0x324b77[_0x324a('0x12')],'lang':_0x324b77[_0x324a('0xe')],'aria-labelledby':'cke-editor__aria-label_'+_0x5fc859},'children':[this[_0x324a('0xb')],{'tag':_0x324a('0x0'),'attributes':{'class':_0x324a('0x6'),'role':_0x324a('0x11')},'children':this[_0x324a('0x16')]}]});}[_0x324a('0x3')](){super[_0x324a('0x3')](),this[_0x324a('0x16')][_0x324a('0x2')](this[_0x324a('0xf')]);}['focus'](){this[_0x324a('0xf')][_0x324a('0x17')][_0x324a('0xc')]();}[_0x324a('0x14')](_0x4b0346,_0x39476d){const _0x280d74=new _0x1dbe1b();return _0x280d74[_0x324a('0x7')]=_0x428208(_0x39476d,_0x324a('0xa')),_0x280d74[_0x324a('0x9')]({'attributes':{'id':_0x324a('0xd')+_0x4b0346,'class':_0x324a('0x5')}}),_0x280d74;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5ced=['remove','reopenCommentThread','resolveCommentThread','listenTo','view','updateComment','_isAttached','_localUser','submitCommentThread','stopListening','reopen','submit','update','getComment','removeComment','resolve','removeCommentThread','model','addComment','isResolved'];(function(_0x41f304,_0x5cede3){var _0x1dab92=function(_0x4b695b){while(--_0x4b695b){_0x41f304['push'](_0x41f304['shift']());}};_0x1dab92(++_0x5cede3);}(_0x5ced,0x179));var _0x1dab=function(_0x41f304,_0x5cede3){_0x41f304=_0x41f304-0x0;var _0x1dab92=_0x5ced[_0x41f304];return _0x1dab92;};import{ObservableMixin as _0x2fcaf6}from'ckeditor5/src/utils';export default class at extends _0x2fcaf6(){constructor(_0x465a57,_0x2da391){super(),this[_0x1dab('0x0')]=_0x465a57,this['model'][_0x1dab('0x9')]=!0x0,this[_0x1dab('0x7')]=_0x2da391,this[_0x1dab('0x6')](_0x2da391,_0x1dab('0xb'),()=>this['submit']()),this[_0x1dab('0x6')](_0x2da391,_0x1dab('0x13'),()=>this['remove']()),this[_0x1dab('0x6')](_0x2da391,_0x1dab('0x5'),()=>this[_0x1dab('0x12')]()),this[_0x1dab('0x6')](_0x2da391,_0x1dab('0x4'),()=>this[_0x1dab('0xd')]()),this[_0x1dab('0x6')](_0x2da391,_0x1dab('0x1'),(_0xad713c,_0x43ff2c)=>this['addComment'](_0x43ff2c)),this[_0x1dab('0x6')](_0x2da391,_0x1dab('0x8'),(_0x472820,_0x5f9d43,_0x188912)=>this[_0x1dab('0x8')](_0x5f9d43,_0x188912)),this['listenTo'](_0x2da391,_0x1dab('0x11'),(_0x4137a7,_0x2b7bf3)=>this[_0x1dab('0x11')](_0x2b7bf3));}[_0x1dab('0xe')](){this[_0x1dab('0x0')][_0x1dab('0xe')]();}[_0x1dab('0x3')](){this[_0x1dab('0x0')][_0x1dab('0x3')]();}[_0x1dab('0x12')](){this[_0x1dab('0x0')][_0x1dab('0x2')]||this[_0x1dab('0x0')][_0x1dab('0x12')]();}['reopen'](){this['model'][_0x1dab('0x2')]&&this[_0x1dab('0x0')][_0x1dab('0xd')]();}[_0x1dab('0x1')](_0x386704){this[_0x1dab('0x0')][_0x1dab('0x1')]({'content':_0x386704,'authorId':this[_0x1dab('0x7')][_0x1dab('0xa')]['id']});}[_0x1dab('0x8')](_0x38f641,_0x4d6e29){this['model'][_0x1dab('0x10')](_0x38f641)[_0x1dab('0xf')]({'content':_0x4d6e29});}['removeComment'](_0x3d5ea8){this[_0x1dab('0x0')]['getComment'](_0x3d5ea8)[_0x1dab('0x3')]();}['destroy'](){this[_0x1dab('0xc')](),this[_0x1dab('0x0')]['_isAttached']=!0x1;}}
23
+ var _0xcb7b=['submitCommentThread','resolve','updateComment','_isAttached','isResolved','_localUser','reopenCommentThread','removeCommentThread','submit','getComment','reopen','remove','resolveCommentThread','addComment','removeComment','stopListening','model','listenTo'];(function(_0x2c3260,_0xcb7bda){var _0x2f7a24=function(_0x140e1a){while(--_0x140e1a){_0x2c3260['push'](_0x2c3260['shift']());}};_0x2f7a24(++_0xcb7bda);}(_0xcb7b,0x11d));var _0x2f7a=function(_0x2c3260,_0xcb7bda){_0x2c3260=_0x2c3260-0x0;var _0x2f7a24=_0xcb7b[_0x2c3260];return _0x2f7a24;};import{ObservableMixin as _0x244d2c}from'ckeditor5/src/utils';export default class at extends _0x244d2c(){constructor(_0x398ddc,_0x322f8b){super(),this[_0x2f7a('0x1')]=_0x398ddc,this[_0x2f7a('0x1')]['_isAttached']=!0x0,this['view']=_0x322f8b,this[_0x2f7a('0x2')](_0x322f8b,_0x2f7a('0x3'),()=>this['submit']()),this[_0x2f7a('0x2')](_0x322f8b,_0x2f7a('0xa'),()=>this['remove']()),this[_0x2f7a('0x2')](_0x322f8b,_0x2f7a('0xf'),()=>this['resolve']()),this['listenTo'](_0x322f8b,_0x2f7a('0x9'),()=>this[_0x2f7a('0xd')]()),this[_0x2f7a('0x2')](_0x322f8b,_0x2f7a('0x10'),(_0x4c43b1,_0x281836)=>this[_0x2f7a('0x10')](_0x281836)),this['listenTo'](_0x322f8b,'updateComment',(_0x120dda,_0x2326f,_0x103ed4)=>this[_0x2f7a('0x5')](_0x2326f,_0x103ed4)),this[_0x2f7a('0x2')](_0x322f8b,'removeComment',(_0x52b26d,_0x32ad1b)=>this[_0x2f7a('0x11')](_0x32ad1b));}[_0x2f7a('0xb')](){this[_0x2f7a('0x1')][_0x2f7a('0xb')]();}[_0x2f7a('0xe')](){this[_0x2f7a('0x1')]['remove']();}[_0x2f7a('0x4')](){this[_0x2f7a('0x1')][_0x2f7a('0x7')]||this[_0x2f7a('0x1')][_0x2f7a('0x4')]();}[_0x2f7a('0xd')](){this['model'][_0x2f7a('0x7')]&&this[_0x2f7a('0x1')][_0x2f7a('0xd')]();}['addComment'](_0x5be4df){this[_0x2f7a('0x1')]['addComment']({'content':_0x5be4df,'authorId':this['view'][_0x2f7a('0x8')]['id']});}[_0x2f7a('0x5')](_0x2f1512,_0x119ec3){this[_0x2f7a('0x1')][_0x2f7a('0xc')](_0x2f1512)['update']({'content':_0x119ec3});}[_0x2f7a('0x11')](_0xb82bf){this[_0x2f7a('0x1')]['getComment'](_0xb82bf)['remove']();}['destroy'](){this[_0x2f7a('0x0')](),this[_0x2f7a('0x1')][_0x2f7a('0x6')]=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5223=['_config','commentsListView','locale','stop','commentInputView','isReadOnly','commentThreadHeaderView','value','Reply...','focus','removeCommentThread','assign','element','destroy','resolveCommentThread','submitCommentThread','disabledSubmit','isActive','resolvedAt','hasDirtyComment','length','isResolvable','_model','isDirty','delegate','set','updateComment','placeholder','reopenCommentThread','isSubmitted','Reply\x20to\x20reopen\x20discussion...','removeComment','_localUser','bind','change:isActive','_createCommentThreadInputView','CommentView','commentThreadInputView','isResolved','fire'];(function(_0x4aa25c,_0x522330){const _0x3fc8f8=function(_0x349173){while(--_0x349173){_0x4aa25c['push'](_0x4aa25c['shift']());}};_0x3fc8f8(++_0x522330);}(_0x5223,0x19d));const _0x3fc8=function(_0x4aa25c,_0x522330){_0x4aa25c=_0x4aa25c-0x0;let _0x3fc8f8=_0x5223[_0x4aa25c];return _0x3fc8f8;};import{View as _0x502322}from'ckeditor5/src/ui';import _0x401837 from'./commentthreadinputview';import _0x263b50 from'./commentslistview';import _0x140461 from'./commentthreadheaderview';import{getTranslation as _0x32663f}from'../../../utils/common-translations';export default class Rt extends _0x502322{constructor(_0x43ca49,_0x12a363,_0x3a705d,_0x4e3068){super(_0x43ca49),this[_0x3fc8('0xc')](_0x3fc8('0x4'),!0x1),this[_0x3fc8('0xc')](_0x3fc8('0xa'),!0x1),this[_0x3fc8('0x9')]=_0x12a363,this[_0x3fc8('0x13')]=_0x3a705d,this['_config']=_0x4e3068,this[_0x3fc8('0x21')]=new _0x140461(_0x43ca49,_0x12a363),this[_0x3fc8('0x21')]['delegate'](_0x3fc8('0xf'))['to'](this),this[_0x3fc8('0x1c')]=new _0x263b50(_0x43ca49,_0x12a363,Object[_0x3fc8('0x26')]({'CommentView':this[_0x3fc8('0x1b')][_0x3fc8('0x17')]},_0x4e3068)),this[_0x3fc8('0x1c')][_0x3fc8('0xb')](_0x3fc8('0x12'))['to'](this),this[_0x3fc8('0x1c')][_0x3fc8('0xb')](_0x3fc8('0xd'))['to'](this),this['commentsListView'][_0x3fc8('0xb')](_0x3fc8('0x1'))['to'](this),this[_0x3fc8('0x1c')]['bind'](_0x3fc8('0x4'))['to'](this),this['set']('length',this['commentsListView'][_0x3fc8('0x7')]),this['bind'](_0x3fc8('0x7'))['to'](this['commentsListView'],_0x3fc8('0x7')),this[_0x3fc8('0x18')]=this[_0x3fc8('0x16')](),this['on']('removeComment',()=>this[_0x3fc8('0x24')]()),this[_0x3fc8('0x14')](_0x3fc8('0xa'))['to'](this['commentsListView'],_0x3fc8('0x6'),this[_0x3fc8('0x18')][_0x3fc8('0x1f')],_0x3fc8('0x22'),(_0x2a5947,_0x576b7a)=>_0x2a5947||!!_0x576b7a);}[_0x3fc8('0x24')](){this[_0x3fc8('0x27')]['focus']();}[_0x3fc8('0x0')](){this['isDirty']=!0x1,this['commentsListView']['destroy'](),this[_0x3fc8('0x18')][_0x3fc8('0x0')](),super[_0x3fc8('0x0')]();}[_0x3fc8('0x16')](){const _0x5b7b95=new _0x401837(this[_0x3fc8('0x1d')],this[_0x3fc8('0x13')],this[_0x3fc8('0x1b')]['editorConfig']),_0x3c8969=_0x5b7b95[_0x3fc8('0x1f')];return _0x5b7b95[_0x3fc8('0x14')]('showInput')['to'](this,_0x3fc8('0x4'),this[_0x3fc8('0x9')],_0x3fc8('0x20'),this[_0x3fc8('0x9')],'isResolved',_0x3c8969,'value',(_0x4a6f99,_0x88696a,_0x2d767b,_0x354935)=>!!_0x354935||_0x2d767b||_0x4a6f99&&!_0x88696a),_0x3c8969[_0x3fc8('0x14')](_0x3fc8('0xe'))['to'](this,_0x3fc8('0x7'),this['_model'],_0x3fc8('0x8'),this[_0x3fc8('0x9')],_0x3fc8('0x5'),(_0x5706c4,_0x23139c,_0x5bff07)=>{let _0x56cadb;return _0x56cadb=_0x5bff07&&_0x23139c?_0x3fc8('0x11'):_0x5706c4?_0x3fc8('0x23'):'Write\x20a\x20comment...',_0x32663f(this['locale'],_0x56cadb);}),_0x3c8969['on']('submit',(_0x27ef87,_0x41d3b9)=>{this[_0x3fc8('0x1a')]('addComment',_0x41d3b9),this['_model'][_0x3fc8('0x19')]&&this['_model'][_0x3fc8('0x8')]&&this['fire'](_0x3fc8('0xf'),this[_0x3fc8('0x9')]['id']),this[_0x3fc8('0x9')][_0x3fc8('0x10')]||this[_0x3fc8('0x1a')](_0x3fc8('0x2'));}),_0x3c8969['on']('cancel',()=>{this[_0x3fc8('0x24')]();}),_0x3c8969[_0x3fc8('0x14')](_0x3fc8('0x3'))['to'](this[_0x3fc8('0x9')],_0x3fc8('0x20')),_0x3c8969['on']('cancel',_0x3376f6=>{0x0==this['length']&&(this[_0x3fc8('0x1a')](_0x3fc8('0x25')),_0x3376f6[_0x3fc8('0x1e')]());}),this['on'](_0x3fc8('0x15'),(_0x56cf13,_0x313540,_0x3e0d47)=>{_0x3e0d47||this[_0x3fc8('0x7')]||_0x3c8969[_0x3fc8('0x22')]||this['fire'](_0x3fc8('0x25'));}),_0x5b7b95;}}
23
+ const _0x4e24=['locale','_model','stop','cancel','CommentView','fire','bind','removeCommentThread','value','delegate','set','disabledSubmit','showInput','focus','isReadOnly','removeComment','commentsListView','placeholder','commentThreadInputView','commentInputView','isResolved','_config','Reply...','isDirty','destroy','_createCommentThreadInputView','element','isActive','reopenCommentThread','Reply\x20to\x20reopen\x20discussion...','length','isSubmitted','editorConfig','_localUser','resolveCommentThread','resolvedAt','isResolvable','commentThreadHeaderView'];(function(_0xd65c1d,_0x4e24a4){const _0x3891ab=function(_0x93e95a){while(--_0x93e95a){_0xd65c1d['push'](_0xd65c1d['shift']());}};_0x3891ab(++_0x4e24a4);}(_0x4e24,0x9c));const _0x3891=function(_0xd65c1d,_0x4e24a4){_0xd65c1d=_0xd65c1d-0x0;let _0x3891ab=_0x4e24[_0xd65c1d];return _0x3891ab;};import{View as _0x2d2da1}from'ckeditor5/src/ui';import _0x1ac2c8 from'./commentthreadinputview';import _0x4e761f from'./commentslistview';import _0xf3f1b9 from'./commentthreadheaderview';import{getTranslation as _0x45a22c}from'../../../utils/common-translations';export default class Rt extends _0x2d2da1{constructor(_0x1968b2,_0x5ec83c,_0x365248,_0x50c0a5){super(_0x1968b2),this[_0x3891('0x6')](_0x3891('0x17'),!0x1),this[_0x3891('0x6')](_0x3891('0x13'),!0x1),this[_0x3891('0x23')]=_0x5ec83c,this[_0x3891('0x1d')]=_0x365248,this[_0x3891('0x11')]=_0x50c0a5,this[_0x3891('0x21')]=new _0xf3f1b9(_0x1968b2,_0x5ec83c),this[_0x3891('0x21')][_0x3891('0x5')](_0x3891('0x18'))['to'](this),this[_0x3891('0xc')]=new _0x4e761f(_0x1968b2,_0x5ec83c,Object['assign']({'CommentView':this['_config'][_0x3891('0x0')]},_0x50c0a5)),this[_0x3891('0xc')]['delegate'](_0x3891('0xb'))['to'](this),this[_0x3891('0xc')][_0x3891('0x5')]('updateComment')['to'](this),this['commentsListView']['delegate'](_0x3891('0x1e'))['to'](this),this[_0x3891('0xc')][_0x3891('0x2')](_0x3891('0x17'))['to'](this),this[_0x3891('0x6')](_0x3891('0x1a'),this['commentsListView']['length']),this[_0x3891('0x2')](_0x3891('0x1a'))['to'](this[_0x3891('0xc')],_0x3891('0x1a')),this[_0x3891('0xe')]=this['_createCommentThreadInputView'](),this['on'](_0x3891('0xb'),()=>this[_0x3891('0x9')]()),this[_0x3891('0x2')](_0x3891('0x13'))['to'](this[_0x3891('0xc')],'hasDirtyComment',this[_0x3891('0xe')][_0x3891('0xf')],_0x3891('0x4'),(_0xf88c20,_0x185b6c)=>_0xf88c20||!!_0x185b6c);}[_0x3891('0x9')](){this[_0x3891('0x16')][_0x3891('0x9')]();}[_0x3891('0x14')](){this[_0x3891('0x13')]=!0x1,this[_0x3891('0xc')]['destroy'](),this[_0x3891('0xe')][_0x3891('0x14')](),super[_0x3891('0x14')]();}[_0x3891('0x15')](){const _0x4e6c1f=new _0x1ac2c8(this[_0x3891('0x22')],this[_0x3891('0x1d')],this[_0x3891('0x11')][_0x3891('0x1c')]),_0x30b771=_0x4e6c1f[_0x3891('0xf')];return _0x4e6c1f[_0x3891('0x2')](_0x3891('0x8'))['to'](this,_0x3891('0x17'),this['_model'],_0x3891('0xa'),this[_0x3891('0x23')],_0x3891('0x20'),_0x30b771,_0x3891('0x4'),(_0x382407,_0x5c898a,_0x50ad01,_0x31eb13)=>!!_0x31eb13||_0x50ad01||_0x382407&&!_0x5c898a),_0x30b771['bind'](_0x3891('0xd'))['to'](this,_0x3891('0x1a'),this['_model'],_0x3891('0x20'),this[_0x3891('0x23')],_0x3891('0x1f'),(_0x1e8b03,_0x34f6a4,_0x57ebc8)=>{let _0x23c539;return _0x23c539=_0x57ebc8&&_0x34f6a4?_0x3891('0x19'):_0x1e8b03?_0x3891('0x12'):'Write\x20a\x20comment...',_0x45a22c(this[_0x3891('0x22')],_0x23c539);}),_0x30b771['on']('submit',(_0x21ca6f,_0x316c44)=>{this[_0x3891('0x1')]('addComment',_0x316c44),this[_0x3891('0x23')][_0x3891('0x10')]&&this[_0x3891('0x23')]['isResolvable']&&this[_0x3891('0x1')](_0x3891('0x18'),this['_model']['id']),this[_0x3891('0x23')][_0x3891('0x1b')]||this[_0x3891('0x1')]('submitCommentThread');}),_0x30b771['on'](_0x3891('0x25'),()=>{this[_0x3891('0x9')]();}),_0x30b771['bind'](_0x3891('0x7'))['to'](this[_0x3891('0x23')],_0x3891('0xa')),_0x30b771['on'](_0x3891('0x25'),_0x161b2e=>{0x0==this[_0x3891('0x1a')]&&(this[_0x3891('0x1')](_0x3891('0x3')),_0x161b2e[_0x3891('0x24')]());}),this['on']('change:isActive',(_0x53abc4,_0x4e0355,_0x457d52)=>{_0x457d52||this[_0x3891('0x1a')]||_0x30b771[_0x3891('0x4')]||this[_0x3891('0x1')]('removeCommentThread');}),_0x4e6c1f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3003=['_config','_createCommentInputView','disabledSubmit','value','editorConfig','submit','createEditor','_model','element','createCollection','initialData','locale','switchToEditMode','get','fire','remove','bind','collapse','set','add','_createCommentContentView','content','switchToDisplayMode','isCollapsed','isEditMode','destroy','updateComment','visibleView','maxCommentCharsWhenCollapsed','focus','expand','once','isReadOnly','isSystemComment'];(function(_0x2f5cec,_0x3003ef){const _0x287b6c=function(_0x3af382){while(--_0x3af382){_0x2f5cec['push'](_0x2f5cec['shift']());}};_0x287b6c(++_0x3003ef);}(_0x3003,0x12b));const _0x287b=function(_0x2f5cec,_0x3003ef){_0x2f5cec=_0x2f5cec-0x0;let _0x287b6c=_0x3003[_0x2f5cec];return _0x287b6c;};import{View as _0x15c350}from'ckeditor5/src/ui';import{trimHtml as _0x162e32}from'ckeditor5-collaboration/src/collaboration-core';import _0x3e6cf5 from'./commentcontentview';import _0x5d5524 from'./commentinputview';export default class Xt extends _0x15c350{constructor(_0x4135f7,_0x235540,_0xd11112){super(_0x4135f7),this[_0x287b('0xe')]=_0x235540,this[_0x287b('0x7')]=_0xd11112,this[_0x287b('0x6')]=!!this[_0x287b('0x7')][_0x287b('0x6')],this[_0x287b('0x19')](_0x287b('0x1f'),!0x1),this[_0x287b('0x19')](_0x287b('0x1e'),!0x0),this[_0x287b('0x0')]=this[_0x287b('0x10')](),this[_0x287b('0x0')]['add'](this['_createCommentContentView']());}[_0x287b('0x3')](){this[_0x287b('0x1e')]=!0x1;}[_0x287b('0x18')](){this['isEditMode']||(this['isCollapsed']=!0x0);}['focus'](){this[_0x287b('0xf')]['focus']();}async[_0x287b('0x20')](){await this[_0x287b('0x0')][_0x287b('0x14')](0x0)[_0x287b('0x20')](),super['destroy']();}[_0x287b('0x13')](){this[_0x287b('0x1f')]||(this[_0x287b('0x1f')]=!0x0,this[_0x287b('0x0')][_0x287b('0x16')](0x0)['destroy'](),this[_0x287b('0x0')]['add'](this[_0x287b('0x8')]()));}[_0x287b('0x1d')](){this['isEditMode']&&(this[_0x287b('0x1f')]=!0x1,this[_0x287b('0x0')][_0x287b('0x16')](0x0)[_0x287b('0x20')](),this[_0x287b('0x0')][_0x287b('0x1a')](this[_0x287b('0x1b')]()));}[_0x287b('0x1b')](){const _0x54f18=new _0x3e6cf5(this[_0x287b('0x12')]);return _0x54f18[_0x287b('0x17')](_0x287b('0x1c'))['to'](this[_0x287b('0xe')],_0x287b('0x1c'),this,_0x287b('0x1e'),(_0x34542b,_0x15477b)=>_0x15477b?_0x162e32(_0x34542b,{'limit':this[_0x287b('0x7')][_0x287b('0x1')]}):_0x34542b),_0x54f18;}[_0x287b('0x8')](){this['_config'][_0x287b('0xb')]||(this[_0x287b('0x7')][_0x287b('0xb')]={}),this[_0x287b('0x7')][_0x287b('0xb')][_0x287b('0x11')]=this[_0x287b('0xe')][_0x287b('0x1c')];const _0x447781=new _0x5d5524(this[_0x287b('0x12')],this[_0x287b('0x7')][_0x287b('0xb')]);return _0x447781[_0x287b('0xa')]=this['_model'][_0x287b('0x1c')],_0x447781[_0x287b('0x17')](_0x287b('0x9'))['to'](this[_0x287b('0xe')],_0x287b('0x5')),_0x447781['on'](_0x287b('0xc'),(_0x240b1a,_0x45c63a)=>{this[_0x287b('0x15')](_0x287b('0x21'),this[_0x287b('0xe')]['id'],_0x45c63a),this['switchToDisplayMode'](),this[_0x287b('0x2')]();}),_0x447781['on']('cancel',()=>{this['switchToDisplayMode'](),this[_0x287b('0x2')]();}),_0x447781[_0x287b('0x4')]('editorReady',()=>{_0x447781[_0x287b('0x2')]();}),_0x447781[_0x287b('0xd')](),_0x447781;}}
23
+ const _0x4cdd=['fire','set','isEditMode','disabledSubmit','editorReady','switchToDisplayMode','switchToEditMode','submit','isCollapsed','value','focus','add','once','updateComment','expand','createCollection','initialData','isReadOnly','_createCommentInputView','_createCommentContentView','maxCommentCharsWhenCollapsed','destroy','collapse','_model','element','cancel','remove','visibleView','_config','content','bind','isSystemComment','createEditor','editorConfig'];(function(_0x16bcaa,_0x4cdda0){const _0x1a7525=function(_0x4f2cbb){while(--_0x4f2cbb){_0x16bcaa['push'](_0x16bcaa['shift']());}};_0x1a7525(++_0x4cdda0);}(_0x4cdd,0xc3));const _0x1a75=function(_0x16bcaa,_0x4cdda0){_0x16bcaa=_0x16bcaa-0x0;let _0x1a7525=_0x4cdd[_0x16bcaa];return _0x1a7525;};import{View as _0x5b09c1}from'ckeditor5/src/ui';import{trimHtml as _0x1f0fea}from'ckeditor5-collaboration/src/collaboration-core';import _0x1860c6 from'./commentcontentview';import _0x594e2b from'./commentinputview';export default class Xt extends _0x5b09c1{constructor(_0x34fa7a,_0x16d474,_0x476ca1){super(_0x34fa7a),this[_0x1a75('0x20')]=_0x16d474,this[_0x1a75('0x3')]=_0x476ca1,this[_0x1a75('0x6')]=!!this[_0x1a75('0x3')]['isSystemComment'],this[_0x1a75('0xa')](_0x1a75('0xb'),!0x1),this['set'](_0x1a75('0x11'),!0x0),this[_0x1a75('0x2')]=this[_0x1a75('0x18')](),this[_0x1a75('0x2')][_0x1a75('0x14')](this[_0x1a75('0x1c')]());}[_0x1a75('0x17')](){this[_0x1a75('0x11')]=!0x1;}[_0x1a75('0x1f')](){this[_0x1a75('0xb')]||(this[_0x1a75('0x11')]=!0x0);}[_0x1a75('0x13')](){this[_0x1a75('0x21')][_0x1a75('0x13')]();}async[_0x1a75('0x1e')](){await this['visibleView']['get'](0x0)['destroy'](),super[_0x1a75('0x1e')]();}[_0x1a75('0xf')](){this[_0x1a75('0xb')]||(this[_0x1a75('0xb')]=!0x0,this[_0x1a75('0x2')][_0x1a75('0x1')](0x0)[_0x1a75('0x1e')](),this['visibleView'][_0x1a75('0x14')](this[_0x1a75('0x1b')]()));}[_0x1a75('0xe')](){this['isEditMode']&&(this[_0x1a75('0xb')]=!0x1,this['visibleView'][_0x1a75('0x1')](0x0)[_0x1a75('0x1e')](),this['visibleView'][_0x1a75('0x14')](this[_0x1a75('0x1c')]()));}[_0x1a75('0x1c')](){const _0x28a7fe=new _0x1860c6(this['locale']);return _0x28a7fe[_0x1a75('0x5')]('content')['to'](this[_0x1a75('0x20')],_0x1a75('0x4'),this,_0x1a75('0x11'),(_0x8e2801,_0x1ff090)=>_0x1ff090?_0x1f0fea(_0x8e2801,{'limit':this[_0x1a75('0x3')][_0x1a75('0x1d')]}):_0x8e2801),_0x28a7fe;}[_0x1a75('0x1b')](){this['_config']['editorConfig']||(this[_0x1a75('0x3')][_0x1a75('0x8')]={}),this[_0x1a75('0x3')][_0x1a75('0x8')][_0x1a75('0x19')]=this[_0x1a75('0x20')]['content'];const _0x53a92e=new _0x594e2b(this['locale'],this['_config']['editorConfig']);return _0x53a92e[_0x1a75('0x12')]=this[_0x1a75('0x20')]['content'],_0x53a92e[_0x1a75('0x5')](_0x1a75('0xc'))['to'](this[_0x1a75('0x20')],_0x1a75('0x1a')),_0x53a92e['on'](_0x1a75('0x10'),(_0x279474,_0x158872)=>{this[_0x1a75('0x9')](_0x1a75('0x16'),this[_0x1a75('0x20')]['id'],_0x158872),this[_0x1a75('0xe')](),this[_0x1a75('0x13')]();}),_0x53a92e['on'](_0x1a75('0x0'),()=>{this['switchToDisplayMode'](),this[_0x1a75('0x13')]();}),_0x53a92e[_0x1a75('0x15')](_0x1a75('0xd'),()=>{_0x53a92e['focus']();}),_0x53a92e[_0x1a75('0x7')](),_0x53a92e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46fd=['NUMBER_OF_COMMENTS','count','setTemplate','bindTemplate','set','ck-thread__comment-count'];(function(_0x416142,_0x46fdf6){const _0x1c1859=function(_0x405f44){while(--_0x405f44){_0x416142['push'](_0x416142['shift']());}};_0x1c1859(++_0x46fdf6);}(_0x46fd,0x75));const _0x1c18=function(_0x416142,_0x46fdf6){_0x416142=_0x416142-0x0;let _0x1c1859=_0x46fd[_0x416142];return _0x1c1859;};import{View as _0x775240}from'ckeditor5/src/ui';import{getTranslation as _0x4aaed3}from'../../../utils/common-translations';export default class Yt extends _0x775240{constructor(_0x25f0b4){super(_0x25f0b4);const _0xcad456=this[_0x1c18('0x0')];this[_0x1c18('0x1')]('count',void 0x0),this[_0x1c18('0x5')]({'tag':'li','attributes':{'class':_0x1c18('0x2')},'children':[{'text':_0xcad456['to'](_0x1c18('0x4'),_0x406bc7=>_0x4aaed3(_0x25f0b4,_0x1c18('0x3'),_0x406bc7))}]});}}
23
+ const _0x33f7=['set','count','NUMBER_OF_COMMENTS','ck-thread__comment-count','bindTemplate','setTemplate'];(function(_0x168f63,_0x33f7f8){const _0x42a6e6=function(_0x4b35b4){while(--_0x4b35b4){_0x168f63['push'](_0x168f63['shift']());}};_0x42a6e6(++_0x33f7f8);}(_0x33f7,0xc2));const _0x42a6=function(_0x168f63,_0x33f7f8){_0x168f63=_0x168f63-0x0;let _0x42a6e6=_0x33f7[_0x168f63];return _0x42a6e6;};import{View as _0x5e1670}from'ckeditor5/src/ui';import{getTranslation as _0x2d90ff}from'../../../utils/common-translations';export default class Yt extends _0x5e1670{constructor(_0x5b09a2){super(_0x5b09a2);const _0xc3dc66=this[_0x42a6('0x2')];this[_0x42a6('0x4')](_0x42a6('0x5'),void 0x0),this[_0x42a6('0x3')]({'tag':'li','attributes':{'class':_0x42a6('0x1')},'children':[{'text':_0xc3dc66['to'](_0x42a6('0x5'),_0x480486=>_0x2d90ff(_0x5b09a2,_0x42a6('0x0'),_0x480486))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5bfe=['ck-comment__content','set','change:content','element','render','innerHTML','content'];(function(_0x30bbaf,_0x5bfe0f){var _0x3248df=function(_0x21fdc8){while(--_0x21fdc8){_0x30bbaf['push'](_0x30bbaf['shift']());}};_0x3248df(++_0x5bfe0f);}(_0x5bfe,0x70));var _0x3248=function(_0x30bbaf,_0x5bfe0f){_0x30bbaf=_0x30bbaf-0x0;var _0x3248df=_0x5bfe[_0x30bbaf];return _0x3248df;};import{View as _0x440cba}from'ckeditor5/src/ui';export default class Ut extends _0x440cba{constructor(_0x34f59a){super(_0x34f59a),this[_0x3248('0x1')](_0x3248('0x6'),''),this['setTemplate']({'tag':'div','attributes':{'class':[_0x3248('0x0'),'ck-annotation__content']}});}[_0x3248('0x4')](){super[_0x3248('0x4')](),this['on'](_0x3248('0x2'),(_0x10a346,_0x5c2f5c,_0x909b3d)=>{this[_0x3248('0x3')][_0x3248('0x5')]=_0x909b3d;}),this['element']['innerHTML']=this['content'];}}
23
+ var _0x4736=['setTemplate','innerHTML','content','change:content','render','set','element','ck-annotation__content'];(function(_0x13cf8,_0x473678){var _0x520d2e=function(_0x46cfd3){while(--_0x46cfd3){_0x13cf8['push'](_0x13cf8['shift']());}};_0x520d2e(++_0x473678);}(_0x4736,0x64));var _0x520d=function(_0x13cf8,_0x473678){_0x13cf8=_0x13cf8-0x0;var _0x520d2e=_0x4736[_0x13cf8];return _0x520d2e;};import{View as _0x57da40}from'ckeditor5/src/ui';export default class Ut extends _0x57da40{constructor(_0xb9b57f){super(_0xb9b57f),this[_0x520d('0x1')](_0x520d('0x6'),''),this[_0x520d('0x4')]({'tag':'div','attributes':{'class':['ck-comment__content',_0x520d('0x3')]}});}[_0x520d('0x0')](){super[_0x520d('0x0')](),this['on'](_0x520d('0x7'),(_0x2454b7,_0x20befa,_0x5ca9cd)=>{this[_0x520d('0x2')][_0x520d('0x5')]=_0x5ca9cd;}),this['element'][_0x520d('0x5')]=this[_0x520d('0x6')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ce1=['then','element','change','_initializeFocusCycling','editor','fire','document','keystrokes','disabledSubmit','ck-comment__input-actions','check','icon','createEditor','_editorCreationPromise','ck-comment__input-actions--submit','value','editorReady','div','Cancel','_editorConfig','trim','execute','ck-comment__input-actions--cancel','_createSubmitButton','listenTo','extendTemplate','bind','isEnabled','label','focus','cancel','Esc','render','low','focusNext','forEach','getData','view','stop','high','_isDestroyed','firstChild','submit','cancelButtonView','submitButtonView','shift\x20+\x20tab','_createCancelButton','Reply...','focusTracker','placeholder','model','setData','length','create','set','TOO_LONG_COMMENT_ALERT','add'];(function(_0x4ea645,_0x2ce153){const _0x2a290c=function(_0x2dd118){while(--_0x2dd118){_0x4ea645['push'](_0x4ea645['shift']());}};_0x2a290c(++_0x2ce153);}(_0x2ce1,0x1ae));const _0x2a29=function(_0x4ea645,_0x2ce153){_0x4ea645=_0x4ea645-0x0;let _0x2a290c=_0x2ce1[_0x4ea645];return _0x2a290c;};import{View as _0x51b2ea,ViewCollection as _0x4f7d9e,FocusCycler as _0x58b63a,ButtonView as _0x538096}from'ckeditor5/src/ui';import{FocusTracker as _0xf1f17d,KeystrokeHandler as _0x3041bb}from'ckeditor5/src/utils';import{icons as _0x2afc29}from'ckeditor5/src/core';import _0x46393d from'../commenteditor/commenteditor';import{getTranslation as _0xe247c8}from'../../../utils/common-translations';export default class Wt extends _0x51b2ea{constructor(_0x2df5ed,_0x2ec008={}){super(_0x2df5ed),this[_0x2a29('0x1e')]=null,this[_0x2a29('0x2d')]=_0x2ec008,this[_0x2a29('0x21')]=new _0x3041bb(),this[_0x2a29('0x11')]=new _0xf1f17d(),this[_0x2a29('0x17')]('value',_0x2ec008['initialData']||''),this['set'](_0x2a29('0x22'),!0x1),this[_0x2a29('0x17')]('showButtons',!0x0),this['set'](_0x2a29('0x12'),_0xe247c8(_0x2df5ed,_0x2a29('0x10'))),this[_0x2a29('0xd')]=this[_0x2a29('0x31')](),this[_0x2a29('0xc')]=this[_0x2a29('0xf')](),this['setTemplate']({'tag':_0x2a29('0x2b'),'attributes':{'class':['ck-comment__input-wrapper']},'children':[{'tag':_0x2a29('0x2b'),'attributes':{'class':[_0x2a29('0x23'),this['bindTemplate']['if']('showButtons','ck-comment__input-actions--active')]},'children':[this[_0x2a29('0xd')],this[_0x2a29('0xc')]]}]}),this[_0x2a29('0x21')][_0x2a29('0x17')](_0x2a29('0x0'),(_0x3481f9,_0x25d183)=>{this['cancelButtonView']['fire'](_0x2a29('0x2f')),_0x25d183();}),this['on'](_0x2a29('0xb'),(_0x49fb2b,_0x131b4c)=>{_0x131b4c[_0x2a29('0x15')]>0xfde8?(alert(_0xe247c8(_0x2df5ed,_0x2a29('0x18'),[_0x131b4c[_0x2a29('0x15')],0xfde8])),_0x49fb2b[_0x2a29('0x7')]()):this[_0x2a29('0x1e')][_0x2a29('0x14')]('');},{'priority':_0x2a29('0x8')});}[_0x2a29('0x1')](){super[_0x2a29('0x1')](),this[_0x2a29('0x21')][_0x2a29('0x32')](this[_0x2a29('0x1b')]),this['focusTracker']['add'](this['element']);}[_0x2a29('0x26')](){return this['editor']||(this[_0x2a29('0x1e')]=new _0x46393d(this[_0x2a29('0x2d')]),this[_0x2a29('0x27')]=this[_0x2a29('0x1e')][_0x2a29('0x16')]()[_0x2a29('0x1a')](()=>{if(this[_0x2a29('0x9')])return;const _0x48fe48=this[_0x2a29('0x1e')];this[_0x2a29('0x1b')]['insertBefore'](_0x48fe48['ui'][_0x2a29('0x1b')],this['element'][_0x2a29('0xa')]),_0x48fe48[_0x2a29('0x13')][_0x2a29('0x20')]['on'](_0x2a29('0x1c'),()=>this[_0x2a29('0x29')]=_0x48fe48[_0x2a29('0x5')]()),_0x48fe48['bind'](_0x2a29('0x12'))['to'](this),this[_0x2a29('0x1d')](this[_0x2a29('0x1e')]),this[_0x2a29('0x1f')](_0x2a29('0x2a'));})),this[_0x2a29('0x27')];}[_0x2a29('0x37')](){this[_0x2a29('0x1e')]&&this[_0x2a29('0x1e')][_0x2a29('0x37')]();}async['destroy'](){this[_0x2a29('0x9')]||(this[_0x2a29('0x9')]=!0x0,this[_0x2a29('0x1e')]&&(await this[_0x2a29('0x27')],await this[_0x2a29('0x1e')]['destroy']()),await super['destroy']());}['_createSubmitButton'](){const {locale:_0x5207fc}=this,_0x2a9aff=new _0x538096(_0x5207fc);return _0x2a9aff[_0x2a29('0x33')]({'attributes':{'class':[_0x2a29('0x28')]}}),_0x2a9aff[_0x2a29('0x36')]=_0xe247c8(_0x5207fc,'Submit'),_0x2a9aff[_0x2a29('0x25')]=_0x2afc29[_0x2a29('0x24')],_0x2a9aff['on'](_0x2a29('0x2f'),()=>{this['fire'](_0x2a29('0xb'),this[_0x2a29('0x29')]);}),_0x2a9aff[_0x2a29('0x34')](_0x2a29('0x35'))['to'](this,'value',this,_0x2a29('0x22'),(_0x164fba,_0x4445ad)=>!_0x4445ad&&!!_0x164fba[_0x2a29('0x2e')]()),_0x2a9aff;}[_0x2a29('0xf')](){const {locale:_0x3ec8ad}=this,_0x15598e=new _0x538096(_0x3ec8ad);return _0x15598e['extendTemplate']({'attributes':{'class':[_0x2a29('0x30')]}}),_0x15598e[_0x2a29('0x36')]=_0xe247c8(_0x3ec8ad,_0x2a29('0x2c')),_0x15598e[_0x2a29('0x25')]=_0x2afc29[_0x2a29('0x38')],_0x15598e['on']('execute',()=>{this[_0x2a29('0x1e')][_0x2a29('0x14')](''),this[_0x2a29('0x1f')]('cancel');}),_0x15598e;}[_0x2a29('0x1d')](_0xd3991b){const _0x356cb1=this['focusTracker'],_0x1f0b49=new _0x4f7d9e();[_0xd3991b['ui'][_0x2a29('0x6')],this[_0x2a29('0xd')],this[_0x2a29('0xc')]][_0x2a29('0x4')](_0x295000=>{_0x1f0b49[_0x2a29('0x19')](_0x295000),_0x356cb1[_0x2a29('0x19')](_0x295000['element']);});const _0x33700a=new _0x58b63a({'focusables':_0x1f0b49,'focusTracker':_0x356cb1});this[_0x2a29('0x21')][_0x2a29('0x17')]('tab',(_0x591309,_0x18726a)=>{_0x33700a[_0x2a29('0x3')](),_0x18726a();},{'priority':'low'}),this[_0x2a29('0x21')][_0x2a29('0x17')](_0x2a29('0xe'),(_0x67d799,_0x15290f)=>{_0x33700a['focusPrevious'](),_0x15290f();},{'priority':_0x2a29('0x2')});}}
23
+ const _0x1fff=['element','extendTemplate','editorReady','_editorConfig','ck-comment__input-actions','setTemplate','model','destroy','view','disabledSubmit','trim','submitButtonView','ck-comment__input-actions--submit','document','Reply...','value','submit','focusNext','change','initialData','Esc','div','render','keystrokes','setData','focusTracker','cancelButtonView','focusPrevious','check','length','set','fire','placeholder','_initializeFocusCycling','getData','execute','_createSubmitButton','low','TOO_LONG_COMMENT_ALERT','icon','showButtons','editor','forEach','ck-comment__input-actions--cancel','bindTemplate','_isDestroyed','tab','create','Submit','ck-comment__input-wrapper','high','bind','cancel','label','add','firstChild','Cancel','ck-comment__input-actions--active','_editorCreationPromise'];(function(_0x18129d,_0x1fffeb){const _0xeebf72=function(_0x52c066){while(--_0x52c066){_0x18129d['push'](_0x18129d['shift']());}};_0xeebf72(++_0x1fffeb);}(_0x1fff,0xc9));const _0xeebf=function(_0x18129d,_0x1fffeb){_0x18129d=_0x18129d-0x0;let _0xeebf72=_0x1fff[_0x18129d];return _0xeebf72;};import{View as _0x539c71,ViewCollection as _0x2d457b,FocusCycler as _0x275f4b,ButtonView as _0x1fbbf8}from'ckeditor5/src/ui';import{FocusTracker as _0x245544,KeystrokeHandler as _0x2a7f1a}from'ckeditor5/src/utils';import{icons as _0x173133}from'ckeditor5/src/core';import _0x1d435d from'../commenteditor/commenteditor';import{getTranslation as _0x36a6a1}from'../../../utils/common-translations';export default class Wt extends _0x539c71{constructor(_0x26bd63,_0x30d499={}){super(_0x26bd63),this[_0xeebf('0x11')]=null,this['_editorConfig']=_0x30d499,this[_0xeebf('0x3a')]=new _0x2a7f1a(),this[_0xeebf('0x1')]=new _0x245544(),this[_0xeebf('0x6')](_0xeebf('0x32'),_0x30d499[_0xeebf('0x36')]||''),this['set'](_0xeebf('0x2c'),!0x1),this['set'](_0xeebf('0x10'),!0x0),this[_0xeebf('0x6')](_0xeebf('0x8'),_0x36a6a1(_0x26bd63,_0xeebf('0x31'))),this[_0xeebf('0x2e')]=this[_0xeebf('0xc')](),this[_0xeebf('0x2')]=this['_createCancelButton'](),this[_0xeebf('0x28')]({'tag':_0xeebf('0x38'),'attributes':{'class':[_0xeebf('0x19')]},'children':[{'tag':_0xeebf('0x38'),'attributes':{'class':[_0xeebf('0x27'),this[_0xeebf('0x14')]['if']('showButtons',_0xeebf('0x21'))]},'children':[this[_0xeebf('0x2e')],this[_0xeebf('0x2')]]}]}),this[_0xeebf('0x3a')][_0xeebf('0x6')](_0xeebf('0x37'),(_0x33981f,_0x1153e6)=>{this[_0xeebf('0x2')][_0xeebf('0x7')](_0xeebf('0xb')),_0x1153e6();}),this['on'](_0xeebf('0x33'),(_0x5b91ea,_0x10e63c)=>{_0x10e63c[_0xeebf('0x5')]>0xfde8?(alert(_0x36a6a1(_0x26bd63,_0xeebf('0xe'),[_0x10e63c['length'],0xfde8])),_0x5b91ea['stop']()):this[_0xeebf('0x11')]['setData']('');},{'priority':_0xeebf('0x1a')});}[_0xeebf('0x39')](){super['render'](),this['keystrokes']['listenTo'](this[_0xeebf('0x23')]),this[_0xeebf('0x1')][_0xeebf('0x1e')](this['element']);}['createEditor'](){return this[_0xeebf('0x11')]||(this['editor']=new _0x1d435d(this[_0xeebf('0x26')]),this[_0xeebf('0x22')]=this[_0xeebf('0x11')][_0xeebf('0x17')]()['then'](()=>{if(this['_isDestroyed'])return;const _0x2cbf13=this[_0xeebf('0x11')];this[_0xeebf('0x23')]['insertBefore'](_0x2cbf13['ui'][_0xeebf('0x23')],this[_0xeebf('0x23')][_0xeebf('0x1f')]),_0x2cbf13[_0xeebf('0x29')][_0xeebf('0x30')]['on'](_0xeebf('0x35'),()=>this[_0xeebf('0x32')]=_0x2cbf13[_0xeebf('0xa')]()),_0x2cbf13[_0xeebf('0x1b')](_0xeebf('0x8'))['to'](this),this[_0xeebf('0x9')](this[_0xeebf('0x11')]),this[_0xeebf('0x7')](_0xeebf('0x25'));})),this[_0xeebf('0x22')];}['focus'](){this[_0xeebf('0x11')]&&this['editor']['focus']();}async[_0xeebf('0x2a')](){this[_0xeebf('0x15')]||(this['_isDestroyed']=!0x0,this['editor']&&(await this[_0xeebf('0x22')],await this[_0xeebf('0x11')][_0xeebf('0x2a')]()),await super[_0xeebf('0x2a')]());}[_0xeebf('0xc')](){const {locale:_0x527d90}=this,_0x183f6b=new _0x1fbbf8(_0x527d90);return _0x183f6b[_0xeebf('0x24')]({'attributes':{'class':[_0xeebf('0x2f')]}}),_0x183f6b[_0xeebf('0x1d')]=_0x36a6a1(_0x527d90,_0xeebf('0x18')),_0x183f6b[_0xeebf('0xf')]=_0x173133[_0xeebf('0x4')],_0x183f6b['on'](_0xeebf('0xb'),()=>{this[_0xeebf('0x7')](_0xeebf('0x33'),this['value']);}),_0x183f6b[_0xeebf('0x1b')]('isEnabled')['to'](this,_0xeebf('0x32'),this,_0xeebf('0x2c'),(_0x724ad3,_0x27a9e5)=>!_0x27a9e5&&!!_0x724ad3[_0xeebf('0x2d')]()),_0x183f6b;}['_createCancelButton'](){const {locale:_0x541fef}=this,_0x381d56=new _0x1fbbf8(_0x541fef);return _0x381d56[_0xeebf('0x24')]({'attributes':{'class':[_0xeebf('0x13')]}}),_0x381d56['label']=_0x36a6a1(_0x541fef,_0xeebf('0x20')),_0x381d56[_0xeebf('0xf')]=_0x173133[_0xeebf('0x1c')],_0x381d56['on'](_0xeebf('0xb'),()=>{this['editor'][_0xeebf('0x0')](''),this[_0xeebf('0x7')]('cancel');}),_0x381d56;}[_0xeebf('0x9')](_0x3dd99e){const _0x3684ab=this[_0xeebf('0x1')],_0x55deb5=new _0x2d457b();[_0x3dd99e['ui'][_0xeebf('0x2b')],this[_0xeebf('0x2e')],this[_0xeebf('0x2')]][_0xeebf('0x12')](_0x43ba0e=>{_0x55deb5[_0xeebf('0x1e')](_0x43ba0e),_0x3684ab[_0xeebf('0x1e')](_0x43ba0e[_0xeebf('0x23')]);});const _0xd9ccff=new _0x275f4b({'focusables':_0x55deb5,'focusTracker':_0x3684ab});this[_0xeebf('0x3a')][_0xeebf('0x6')](_0xeebf('0x16'),(_0x1ca423,_0x4be506)=>{_0xd9ccff[_0xeebf('0x34')](),_0x4be506();},{'priority':_0xeebf('0xd')}),this[_0xeebf('0x3a')][_0xeebf('0x6')]('shift\x20+\x20tab',(_0x44ac9d,_0x115372)=>{_0xd9ccff[_0xeebf('0x3')](),_0x115372();},{'priority':_0xeebf('0xd')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4502=['EMPTY_COMMENTS_ARCHIVE','_focusables','stopPropagation','arrowright','_keystrokes','isActive','arrowdown','length','destroy','listenTo','div','setTemplate','ck-comments-archive','bindTemplate','add','ck-hidden','_focusCycler','arrowup','shift\x20+\x20tab','high','render','tab','ck-comments-archive__content','element','ck-comments-archive__header\x20','set','isEmpty','focus','_focusTracker'];(function(_0x43cd7e,_0x4502f5){const _0x93e579=function(_0x1d2ba4){while(--_0x1d2ba4){_0x43cd7e['push'](_0x43cd7e['shift']());}};_0x93e579(++_0x4502f5);}(_0x4502,0x181));const _0x93e5=function(_0x43cd7e,_0x4502f5){_0x43cd7e=_0x43cd7e-0x0;let _0x93e579=_0x4502[_0x43cd7e];return _0x93e579;};import{View as _0x217820,FocusCycler as _0x1d2737}from'ckeditor5/src/ui';import{FocusTracker as _0x5260c1,KeystrokeHandler as _0x5dc400}from'ckeditor5/src/utils';import{getTranslation as _0x1a8430}from'../../../utils/common-translations';export default class K extends _0x217820{constructor(_0x28705e,_0x26cc2c){super(_0x28705e),this[_0x93e5('0x11')](_0x93e5('0x12'),!_0x26cc2c[_0x93e5('0x1c')]),this[_0x93e5('0x14')]=new _0x5260c1(),this[_0x93e5('0x19')]=new _0x5dc400(),this['_focusables']=_0x26cc2c,this[_0x93e5('0x8')]=new _0x1d2737({'focusables':this[_0x93e5('0x16')],'focusTracker':this[_0x93e5('0x14')],'keystrokeHandler':this[_0x93e5('0x19')],'actions':{'focusPrevious':_0x93e5('0xa'),'focusNext':_0x93e5('0xd')}}),this[_0x93e5('0x1')](_0x26cc2c,_0x93e5('0x6'),()=>{this[_0x93e5('0x12')]=!0x1;}),this['listenTo'](_0x26cc2c,'remove',(_0x326d31,_0x2b4d8d)=>{_0x2b4d8d[_0x93e5('0x1a')]&&this[_0x93e5('0x13')](),_0x26cc2c[_0x93e5('0x1c')]||(this['isEmpty']=!0x0);});const _0x3f660d=this[_0x93e5('0x5')];this[_0x93e5('0x3')]({'tag':_0x93e5('0x2'),'attributes':{'dir':'auto','class':['ck',_0x93e5('0x4')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x93e5('0x10')]},'children':[{'text':_0x1a8430(_0x28705e,'COMMENTS_ARCHIVE')}]},{'tag':_0x93e5('0x2'),'attributes':{'class':[_0x93e5('0xe')]},'children':[{'tag':'div','children':_0x26cc2c},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x3f660d['if'](_0x93e5('0x12'),_0x93e5('0x7'),_0x2d289a=>!_0x2d289a)]},'children':[{'text':_0x1a8430(_0x28705e,_0x93e5('0x15'))}]}]}]});}[_0x93e5('0xc')](){super[_0x93e5('0xc')](),this[_0x93e5('0x19')]['listenTo'](this[_0x93e5('0xf')]);const _0xec6b91=_0x20914e=>_0x20914e[_0x93e5('0x17')]();this[_0x93e5('0x19')][_0x93e5('0x11')](_0x93e5('0x18'),_0xec6b91),this[_0x93e5('0x19')][_0x93e5('0x11')]('arrowleft',_0xec6b91),this['_keystrokes'][_0x93e5('0x11')](_0x93e5('0x9'),_0xec6b91),this[_0x93e5('0x19')][_0x93e5('0x11')](_0x93e5('0x1b'),_0xec6b91),this[_0x93e5('0x1')](this[_0x93e5('0xf')],'selectstart',(_0x166ed8,_0xb5d26)=>{_0xb5d26['stopPropagation']();},{'priority':_0x93e5('0xb')});}[_0x93e5('0x0')](){super[_0x93e5('0x0')](),this[_0x93e5('0x14')][_0x93e5('0x0')](),this[_0x93e5('0x19')][_0x93e5('0x0')]();}[_0x93e5('0x13')](){this[_0x93e5('0xf')][_0x93e5('0x13')]();}}
23
+ const _0x1ece=['ck-comments-archive','element','focus','setTemplate','bindTemplate','ck-comments-archive__info','shift\x20+\x20tab','stopPropagation','isActive','length','arrowup','_focusCycler','selectstart','_keystrokes','set','destroy','div','high','ck-comments-archive__header\x20','arrowleft','ck-comments-archive__content','isEmpty','_focusTracker','tab','listenTo'];(function(_0x3b446a,_0x1ece34){const _0x4668ce=function(_0x149453){while(--_0x149453){_0x3b446a['push'](_0x3b446a['shift']());}};_0x4668ce(++_0x1ece34);}(_0x1ece,0x15d));const _0x4668=function(_0x3b446a,_0x1ece34){_0x3b446a=_0x3b446a-0x0;let _0x4668ce=_0x1ece[_0x3b446a];return _0x4668ce;};import{View as _0x30aad9,FocusCycler as _0x3a31ab}from'ckeditor5/src/ui';import{FocusTracker as _0x48ef28,KeystrokeHandler as _0x9aee7b}from'ckeditor5/src/utils';import{getTranslation as _0x547f45}from'../../../utils/common-translations';export default class K extends _0x30aad9{constructor(_0x4e25f1,_0x300c8c){super(_0x4e25f1),this[_0x4668('0xf')](_0x4668('0x16'),!_0x300c8c['length']),this[_0x4668('0x17')]=new _0x48ef28(),this[_0x4668('0xe')]=new _0x9aee7b(),this['_focusables']=_0x300c8c,this[_0x4668('0xc')]=new _0x3a31ab({'focusables':this['_focusables'],'focusTracker':this[_0x4668('0x17')],'keystrokeHandler':this[_0x4668('0xe')],'actions':{'focusPrevious':_0x4668('0x7'),'focusNext':_0x4668('0x18')}}),this['listenTo'](_0x300c8c,'add',()=>{this[_0x4668('0x16')]=!0x1;}),this[_0x4668('0x0')](_0x300c8c,'remove',(_0x454c6d,_0x2cae2f)=>{_0x2cae2f[_0x4668('0x9')]&&this[_0x4668('0x3')](),_0x300c8c[_0x4668('0xa')]||(this['isEmpty']=!0x0);});const _0x1999e2=this[_0x4668('0x5')];this[_0x4668('0x4')]({'tag':_0x4668('0x11'),'attributes':{'dir':'auto','class':['ck',_0x4668('0x1')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x4668('0x13')]},'children':[{'text':_0x547f45(_0x4e25f1,'COMMENTS_ARCHIVE')}]},{'tag':_0x4668('0x11'),'attributes':{'class':[_0x4668('0x15')]},'children':[{'tag':_0x4668('0x11'),'children':_0x300c8c},{'tag':'p','attributes':{'class':[_0x4668('0x6'),_0x1999e2['if'](_0x4668('0x16'),'ck-hidden',_0x1f6377=>!_0x1f6377)]},'children':[{'text':_0x547f45(_0x4e25f1,'EMPTY_COMMENTS_ARCHIVE')}]}]}]});}['render'](){super['render'](),this[_0x4668('0xe')]['listenTo'](this[_0x4668('0x2')]);const _0x28d25e=_0xeb1594=>_0xeb1594['stopPropagation']();this[_0x4668('0xe')][_0x4668('0xf')]('arrowright',_0x28d25e),this[_0x4668('0xe')]['set'](_0x4668('0x14'),_0x28d25e),this[_0x4668('0xe')][_0x4668('0xf')](_0x4668('0xb'),_0x28d25e),this[_0x4668('0xe')][_0x4668('0xf')]('arrowdown',_0x28d25e),this[_0x4668('0x0')](this[_0x4668('0x2')],_0x4668('0xd'),(_0x1e5832,_0x1de7e8)=>{_0x1de7e8[_0x4668('0x8')]();},{'priority':_0x4668('0x12')});}[_0x4668('0x10')](){super[_0x4668('0x10')](),this['_focusTracker'][_0x4668('0x10')](),this[_0x4668('0xe')][_0x4668('0x10')]();}['focus'](){this[_0x4668('0x2')][_0x4668('0x3')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13d8=['_model','resolved','viewUid','_findOptimalIndex','editorConfig','authoredAt','get','maxCommentsWhenCollapsed','_rearrangeExpand','_calculatePosition','maxCommentCharsWhenCollapsed','delegate','_handleInfoComment','add','setTemplate','remove','locale','comments','from','CommentView','Marked\x20as\x20resolved','insert','_handleNewCommentModel','isEditMode','_handleRemoveCommentModel','expand','refreshVisibleViews','hasDirtyComment','_updateHasDirtyComment','_collapsedCommentsView','change:isActive','_shouldCollapse','commentViews','count','isActive','ck-thread__comments','change:hasDirtyComment','resolvedBy','equal','_config','delete','listenTo','focus','resolvedCommentView','formatDateTime','element','bind','_rearrangeCollapse','isResolved','createCollection','render','length','some','set','destroy','commentUpdated','visibleViews'];(function(_0x2b55b1,_0x13d868){const _0x442f0c=function(_0x21276d){while(--_0x21276d){_0x2b55b1['push'](_0x2b55b1['shift']());}};_0x442f0c(++_0x13d868);}(_0x13d8,0x11a));const _0x442f=function(_0x2b55b1,_0x13d868){_0x2b55b1=_0x2b55b1-0x0;let _0x442f0c=_0x13d8[_0x2b55b1];return _0x442f0c;};import{View as _0xae62a1}from'ckeditor5/src/ui';import{diff as _0x9ea7a0,Collection as _0xea51fb}from'ckeditor5/src/utils';import{getTranslation as _0x48380e}from'../../../utils/common-translations';import _0x749f19 from'./collapsedcommentsview';export default class vt extends _0xae62a1{constructor(_0x3b31dc,_0x3e4d5a,_0x2feddb){super(_0x3b31dc),this[_0x442f('0x38')](_0x442f('0x1e'),!0x1),this[_0x442f('0x38')](_0x442f('0x36'),_0x3e4d5a['comments'][_0x442f('0x36')]),this[_0x442f('0x38')](_0x442f('0x25'),!0x1),this[_0x442f('0x3')]=_0x3e4d5a,this[_0x442f('0x2a')]=_0x2feddb,this[_0x442f('0x23')]=this[_0x442f('0x34')](),this[_0x442f('0x2')]=this['createCollection'](),this[_0x442f('0x2e')]=null,this[_0x442f('0x20')]=new _0x749f19(_0x3b31dc),this[_0x442f('0x20')][_0x442f('0x31')](_0x442f('0x24'))['to'](this,_0x442f('0x36'),_0x27b025=>_0x27b025-this[_0x442f('0x2a')][_0x442f('0xa')]);for(const _0x3237a8 of _0x3e4d5a[_0x442f('0x14')])this[_0x442f('0x19')](_0x3237a8);this[_0x442f('0xf')](),this['listenTo'](_0x3e4d5a['comments'],_0x442f('0x10'),(_0x5bba39,_0x429f5b)=>{const _0x4eb94f=this[_0x442f('0xc')](_0x429f5b);this[_0x442f('0x36')]++,this[_0x442f('0x19')](_0x429f5b,_0x4eb94f),this[_0x442f('0x1d')]();}),this['listenTo'](_0x3e4d5a['comments'],_0x442f('0x12'),(_0x5b1249,_0x43d7f2)=>{this[_0x442f('0x36')]--,this[_0x442f('0x1b')](_0x43d7f2),this[_0x442f('0x1d')]();}),this['listenTo'](_0x3e4d5a,_0x442f('0x1'),()=>this[_0x442f('0x1d')]()),this['listenTo'](_0x3e4d5a,'change:isResolved',()=>this['_handleInfoComment']()),this['on'](_0x442f('0x21'),()=>this[_0x442f('0x1d')]()),this['on'](_0x442f('0x27'),()=>this['refreshVisibleViews']()),this[_0x442f('0x11')]({'tag':'ul','attributes':{'class':[_0x442f('0x26')]},'children':this[_0x442f('0x2')]});}get[_0x442f('0x22')](){return this[_0x442f('0x3')]['weight']>this[_0x442f('0x2a')]['maxThreadTotalWeight']&&!this[_0x442f('0x25')]&&!this['hasDirtyComment'];}[_0x442f('0x35')](){super[_0x442f('0x35')](),this[_0x442f('0x1d')]();}['focus'](){this[_0x442f('0x30')][_0x442f('0x2d')]();}['destroy'](){this[_0x442f('0x20')][_0x442f('0x0')]();for(const _0x19aaa9 of this[_0x442f('0x23')])_0x19aaa9[_0x442f('0x0')]();super[_0x442f('0x0')]();}['refreshVisibleViews'](){this['_shouldCollapse']?this[_0x442f('0x32')]():this[_0x442f('0xb')]();}['_handleNewCommentModel'](_0x2b39ec,_0x1d9d3b){const _0x137468=new this[(_0x442f('0x2a'))]['CommentView'](this['locale'],_0x2b39ec,{'maxCommentCharsWhenCollapsed':this[_0x442f('0x2a')]['maxCommentCharsWhenCollapsed'],'formatDateTime':this[_0x442f('0x2a')][_0x442f('0x2f')],'editorConfig':this['_config']['editorConfig']});_0x137468[_0x442f('0x5')]=_0x2b39ec['id'],_0x137468['delegate']('removeComment')['to'](this),_0x137468[_0x442f('0xe')]('updateComment')['to'](this),_0x137468[_0x442f('0xe')]('resolveCommentThread')['to'](this),this[_0x442f('0x2c')](_0x137468,'change:isEditMode',()=>this['_updateHasDirtyComment']()),this[_0x442f('0x23')][_0x442f('0x10')](_0x137468,_0x1d9d3b);}['_calculatePosition'](_0x462d2b){const _0x215350=this[_0x442f('0x3')]['_findOptimalIndex'](_0x462d2b);return this[_0x442f('0x2e')]?this[_0x442f('0x2e')][_0x442f('0x8')]>_0x462d2b[_0x442f('0x8')]?_0x215350-0x1:_0x215350:_0x215350-0x1;}['_handleInfoComment'](){if(this['_model'][_0x442f('0x33')]){const _0x3007ef={'id':_0x442f('0x4'),'author':this[_0x442f('0x3')][_0x442f('0x28')],'authoredAt':this[_0x442f('0x3')]['resolvedAt'],'content':_0x48380e(this[_0x442f('0x13')],_0x442f('0x17')),'attributes':{}};this['resolvedCommentView']=new this['_config'][(_0x442f('0x16'))](this[_0x442f('0x13')],_0x3007ef,{'maxCommentCharsWhenCollapsed':this[_0x442f('0x2a')][_0x442f('0xd')],'formatDateTime':this[_0x442f('0x2a')][_0x442f('0x2f')],'editorConfig':this[_0x442f('0x2a')][_0x442f('0x7')],'isSystemComment':!0x0}),this[_0x442f('0x23')]['add'](this[_0x442f('0x2e')],this[_0x442f('0x3')][_0x442f('0x6')](_0x3007ef));}else this[_0x442f('0x2e')]&&(this[_0x442f('0x23')]['remove'](this[_0x442f('0x2e')]),this[_0x442f('0x2e')][_0x442f('0x0')](),this[_0x442f('0x2e')]=null);this[_0x442f('0x1d')]();}[_0x442f('0x1b')](_0x12bb25){const _0x47b5ba=this['commentViews'][_0x442f('0x12')](_0x12bb25['id']);this['stopListening'](_0x47b5ba),_0x47b5ba[_0x442f('0x1a')]&&this[_0x442f('0x1f')](),_0x47b5ba[_0x442f('0x0')]();}[_0x442f('0x1f')](){this[_0x442f('0x1e')]=Array[_0x442f('0x15')](this[_0x442f('0x23')])[_0x442f('0x37')](_0x3a8559=>_0x3a8559[_0x442f('0x1a')]);}[_0x442f('0x32')](){const _0x24438c=function(_0x21b8df){const _0x256e57=new _0xea51fb();for(const _0x517229 of _0x21b8df)_0x256e57['add'](_0x517229);return _0x256e57;}(this[_0x442f('0x23')]),_0x79fa3=this[_0x442f('0x20')]['count'];for(let _0x5a5cc6=0x1;_0x5a5cc6<=_0x79fa3;_0x5a5cc6++)_0x24438c[_0x442f('0x12')](0x1);for(const _0x13c022 of _0x24438c)_0x13c022['collapse']();_0x79fa3>0x0&&_0x24438c[_0x442f('0x10')](this[_0x442f('0x20')],0x1),ss(_0x9ea7a0(Array[_0x442f('0x15')](this[_0x442f('0x2')]),Array[_0x442f('0x15')](_0x24438c)),this[_0x442f('0x2')],_0x24438c);}[_0x442f('0xb')](){ss(_0x9ea7a0(Array['from'](this[_0x442f('0x2')]),Array[_0x442f('0x15')](this['commentViews'])),this[_0x442f('0x2')],this[_0x442f('0x23')]);for(const _0x3e5e91 of this[_0x442f('0x2')])_0x3e5e91[_0x442f('0x1c')]();}}function ss(_0x55f890,_0x312aa0,_0x56279a){let _0x3905e5=0x0;for(const _0x3af663 of _0x55f890)switch(_0x3af663){case _0x442f('0x18'):_0x312aa0['add'](_0x56279a[_0x442f('0x9')](_0x3905e5),_0x3905e5),_0x3905e5++;break;case _0x442f('0x2b'):_0x312aa0['remove'](_0x3905e5);break;case _0x442f('0x29'):_0x3905e5++;}}
23
+ const _0x1161=['authoredAt','formatDateTime','_config','isEditMode','isResolved','from','CommentView','add','change:isResolved','_collapsedCommentsView','change:hasDirtyComment','resolveCommentThread','set','_updateHasDirtyComment','maxCommentCharsWhenCollapsed','visibleViews','resolved','length','element','removeComment','remove','locale','collapse','count','delete','render','resolvedAt','_findOptimalIndex','_rearrangeExpand','resolvedBy','focus','stopListening','change:isActive','equal','maxCommentsWhenCollapsed','expand','refreshVisibleViews','_calculatePosition','commentViews','updateComment','destroy','isActive','_model','Marked\x20as\x20resolved','editorConfig','_handleRemoveCommentModel','hasDirtyComment','_rearrangeCollapse','setTemplate','comments','_handleNewCommentModel','commentUpdated','delegate','listenTo','viewUid','ck-thread__comments','resolvedCommentView','_handleInfoComment','get'];(function(_0x23c387,_0x11617e){const _0x3dedb1=function(_0x108296){while(--_0x108296){_0x23c387['push'](_0x23c387['shift']());}};_0x3dedb1(++_0x11617e);}(_0x1161,0xfa));const _0x3ded=function(_0x23c387,_0x11617e){_0x23c387=_0x23c387-0x0;let _0x3dedb1=_0x1161[_0x23c387];return _0x3dedb1;};import{View as _0x57c969}from'ckeditor5/src/ui';import{diff as _0x1699c3,Collection as _0x317462}from'ckeditor5/src/utils';import{getTranslation as _0x1e0c53}from'../../../utils/common-translations';import _0x20ff99 from'./collapsedcommentsview';export default class vt extends _0x57c969{constructor(_0x4df269,_0x25ddda,_0x257ad7){super(_0x4df269),this[_0x3ded('0x39')](_0x3ded('0x20'),!0x1),this[_0x3ded('0x39')]('length',_0x25ddda[_0x3ded('0x23')]['length']),this[_0x3ded('0x39')]('isActive',!0x1),this['_model']=_0x25ddda,this[_0x3ded('0x2f')]=_0x257ad7,this['commentViews']=this['createCollection'](),this[_0x3ded('0x1')]=this['createCollection'](),this['resolvedCommentView']=null,this[_0x3ded('0x36')]=new _0x20ff99(_0x4df269),this['_collapsedCommentsView']['bind'](_0x3ded('0x9'))['to'](this,_0x3ded('0x3'),_0x546cc8=>_0x546cc8-this[_0x3ded('0x2f')][_0x3ded('0x14')]);for(const _0xe5d768 of _0x25ddda[_0x3ded('0x23')])this['_handleNewCommentModel'](_0xe5d768);this['_handleInfoComment'](),this['listenTo'](_0x25ddda['comments'],_0x3ded('0x34'),(_0x80aa7a,_0x213083)=>{const _0x367f1f=this[_0x3ded('0x17')](_0x213083);this[_0x3ded('0x3')]++,this[_0x3ded('0x24')](_0x213083,_0x367f1f),this[_0x3ded('0x16')]();}),this[_0x3ded('0x27')](_0x25ddda[_0x3ded('0x23')],'remove',(_0x3f1736,_0x454d21)=>{this[_0x3ded('0x3')]--,this[_0x3ded('0x1f')](_0x454d21),this['refreshVisibleViews']();}),this['listenTo'](_0x25ddda,_0x3ded('0x25'),()=>this[_0x3ded('0x16')]()),this[_0x3ded('0x27')](_0x25ddda,_0x3ded('0x35'),()=>this['_handleInfoComment']()),this['on'](_0x3ded('0x12'),()=>this[_0x3ded('0x16')]()),this['on'](_0x3ded('0x37'),()=>this[_0x3ded('0x16')]()),this[_0x3ded('0x22')]({'tag':'ul','attributes':{'class':[_0x3ded('0x29')]},'children':this['visibleViews']});}get['_shouldCollapse'](){return this[_0x3ded('0x1c')]['weight']>this[_0x3ded('0x2f')]['maxThreadTotalWeight']&&!this[_0x3ded('0x1b')]&&!this['hasDirtyComment'];}['render'](){super[_0x3ded('0xb')](),this[_0x3ded('0x16')]();}[_0x3ded('0x10')](){this[_0x3ded('0x4')]['focus']();}[_0x3ded('0x1a')](){this[_0x3ded('0x36')][_0x3ded('0x1a')]();for(const _0x1976fc of this['commentViews'])_0x1976fc[_0x3ded('0x1a')]();super[_0x3ded('0x1a')]();}[_0x3ded('0x16')](){this['_shouldCollapse']?this['_rearrangeCollapse']():this[_0x3ded('0xe')]();}[_0x3ded('0x24')](_0x5870cd,_0x3fdd9a){const _0x4f89b6=new this['_config'][(_0x3ded('0x33'))](this['locale'],_0x5870cd,{'maxCommentCharsWhenCollapsed':this[_0x3ded('0x2f')][_0x3ded('0x0')],'formatDateTime':this['_config'][_0x3ded('0x2e')],'editorConfig':this[_0x3ded('0x2f')]['editorConfig']});_0x4f89b6[_0x3ded('0x28')]=_0x5870cd['id'],_0x4f89b6[_0x3ded('0x26')](_0x3ded('0x5'))['to'](this),_0x4f89b6[_0x3ded('0x26')](_0x3ded('0x19'))['to'](this),_0x4f89b6[_0x3ded('0x26')](_0x3ded('0x38'))['to'](this),this['listenTo'](_0x4f89b6,'change:isEditMode',()=>this['_updateHasDirtyComment']()),this[_0x3ded('0x18')][_0x3ded('0x34')](_0x4f89b6,_0x3fdd9a);}[_0x3ded('0x17')](_0x1a4f4a){const _0x287bcb=this['_model'][_0x3ded('0xd')](_0x1a4f4a);return this[_0x3ded('0x2a')]?this['resolvedCommentView'][_0x3ded('0x2d')]>_0x1a4f4a[_0x3ded('0x2d')]?_0x287bcb-0x1:_0x287bcb:_0x287bcb-0x1;}[_0x3ded('0x2b')](){if(this[_0x3ded('0x1c')][_0x3ded('0x31')]){const _0x499725={'id':_0x3ded('0x2'),'author':this[_0x3ded('0x1c')][_0x3ded('0xf')],'authoredAt':this['_model'][_0x3ded('0xc')],'content':_0x1e0c53(this['locale'],_0x3ded('0x1d')),'attributes':{}};this[_0x3ded('0x2a')]=new this['_config'][(_0x3ded('0x33'))](this[_0x3ded('0x7')],_0x499725,{'maxCommentCharsWhenCollapsed':this[_0x3ded('0x2f')]['maxCommentCharsWhenCollapsed'],'formatDateTime':this[_0x3ded('0x2f')]['formatDateTime'],'editorConfig':this[_0x3ded('0x2f')][_0x3ded('0x1e')],'isSystemComment':!0x0}),this[_0x3ded('0x18')][_0x3ded('0x34')](this[_0x3ded('0x2a')],this[_0x3ded('0x1c')][_0x3ded('0xd')](_0x499725));}else this[_0x3ded('0x2a')]&&(this[_0x3ded('0x18')][_0x3ded('0x6')](this[_0x3ded('0x2a')]),this[_0x3ded('0x2a')]['destroy'](),this[_0x3ded('0x2a')]=null);this['refreshVisibleViews']();}[_0x3ded('0x1f')](_0x5187f2){const _0x52e7cb=this[_0x3ded('0x18')][_0x3ded('0x6')](_0x5187f2['id']);this[_0x3ded('0x11')](_0x52e7cb),_0x52e7cb[_0x3ded('0x30')]&&this[_0x3ded('0x3a')](),_0x52e7cb['destroy']();}[_0x3ded('0x3a')](){this[_0x3ded('0x20')]=Array['from'](this[_0x3ded('0x18')])['some'](_0x262344=>_0x262344[_0x3ded('0x30')]);}[_0x3ded('0x21')](){const _0x1b2307=function(_0x5f23e0){const _0x330483=new _0x317462();for(const _0x21122d of _0x5f23e0)_0x330483[_0x3ded('0x34')](_0x21122d);return _0x330483;}(this['commentViews']),_0x15194f=this[_0x3ded('0x36')]['count'];for(let _0x147a52=0x1;_0x147a52<=_0x15194f;_0x147a52++)_0x1b2307[_0x3ded('0x6')](0x1);for(const _0x3a0b2d of _0x1b2307)_0x3a0b2d[_0x3ded('0x8')]();_0x15194f>0x0&&_0x1b2307[_0x3ded('0x34')](this['_collapsedCommentsView'],0x1),ss(_0x1699c3(Array[_0x3ded('0x32')](this['visibleViews']),Array[_0x3ded('0x32')](_0x1b2307)),this[_0x3ded('0x1')],_0x1b2307);}[_0x3ded('0xe')](){ss(_0x1699c3(Array['from'](this[_0x3ded('0x1')]),Array['from'](this[_0x3ded('0x18')])),this[_0x3ded('0x1')],this['commentViews']);for(const _0x2b2b83 of this[_0x3ded('0x1')])_0x2b2b83[_0x3ded('0x15')]();}}function ss(_0x228db1,_0x4e1d39,_0x34dcb7){let _0x1ba1a8=0x0;for(const _0x4c4cfe of _0x228db1)switch(_0x4c4cfe){case'insert':_0x4e1d39[_0x3ded('0x34')](_0x34dcb7[_0x3ded('0x2c')](_0x1ba1a8),_0x1ba1a8),_0x1ba1a8++;break;case _0x3ded('0xa'):_0x4e1d39['remove'](_0x1ba1a8);break;case _0x3ded('0x13'):_0x1ba1a8++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35ef=['bindTemplate','contextValue','remove','value','div','_model','ck-context-wrapper','.ck-context','classList','...','querySelector','scrollWidth','_trimContextValue','ck-context','ck-thread__header','element','_attachContextActions','lastIndexOf','mouseleave','execute','tooltip','reopenButtonView','isResolvable','substring','isVisible','ck-annotation__actions','locale','label','fire','add','Reopen','Comment\x20was\x20made\x20on\x20an\x20element','ck-context--quotes','icon','_createReopenButton','render','bind','.ck-context__value'];(function(_0x1dec27,_0x35ef9b){const _0x34f77f=function(_0x3c564b){while(--_0x3c564b){_0x1dec27['push'](_0x1dec27['shift']());}};_0x34f77f(++_0x35ef9b);}(_0x35ef,0xe1));const _0x34f7=function(_0x1dec27,_0x35ef9b){_0x1dec27=_0x1dec27-0x0;let _0x34f77f=_0x35ef[_0x1dec27];return _0x34f77f;};import{View as _0x2d26a7,ButtonView as _0x2923af}from'ckeditor5/src/ui';import{getTranslation as _0x53564d}from'../../../utils/common-translations';import _0x86fc85 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Tt extends _0x2d26a7{constructor(_0x1e619a,_0x2a9a3b){super(_0x1e619a);const _0x562c8f=this[_0x34f7('0x3')];this[_0x34f7('0x8')]=_0x2a9a3b,this[_0x34f7('0x18')]=this[_0x34f7('0x25')](),this[_0x34f7('0x1')]('hasContext')['to'](this[_0x34f7('0x8')],'context',_0x3f3dc6=>!!_0x3f3dc6),this[_0x34f7('0x1')](_0x34f7('0x4'))['to'](this['_model'],'context',_0x48138e=>_0x48138e&&_0x48138e[_0x34f7('0x6')]?this[_0x34f7('0xf')](_0x48138e['value']):_0x53564d(this[_0x34f7('0x1d')],_0x34f7('0x22'))),this['setTemplate']({'tag':_0x34f7('0x7'),'attributes':{'class':[_0x34f7('0x11')]},'children':[{'tag':_0x34f7('0x7'),'attributes':{'class':[_0x34f7('0x9')]},'children':[{'tag':_0x34f7('0x7'),'attributes':{'class':[_0x34f7('0x10'),_0x562c8f['if']('hasContext',_0x34f7('0x23'))]},'children':[{'tag':'span','attributes':{'class':['ck-context__value']},'children':[{'text':_0x562c8f['to']('contextValue')}]}]}]},{'tag':_0x34f7('0x7'),'attributes':{'class':[_0x34f7('0x1c')]},'children':[this[_0x34f7('0x18')]]}]});}[_0x34f7('0x0')](){super[_0x34f7('0x0')](),this[_0x34f7('0x13')]();}[_0x34f7('0x25')](){const _0x10784c=new _0x2923af(this['locale']);return _0x10784c[_0x34f7('0x1e')]=_0x53564d(this[_0x34f7('0x1d')],_0x34f7('0x21')),_0x10784c[_0x34f7('0x17')]=_0x53564d(this[_0x34f7('0x1d')],_0x34f7('0x21')),_0x10784c[_0x34f7('0x24')]=_0x86fc85,_0x10784c[_0x34f7('0x1')](_0x34f7('0x1b'))['to'](this['_model'],_0x34f7('0x19')),_0x10784c['on'](_0x34f7('0x16'),()=>{this[_0x34f7('0x1f')]('reopenCommentThread',this[_0x34f7('0x8')]['id']);}),_0x10784c;}[_0x34f7('0xf')](_0x1d4fc5){if(_0x1d4fc5['length']<0x96)return _0x1d4fc5;const _0x2fc4a8=_0x1d4fc5[_0x34f7('0x14')]('\x20',0x93);return _0x1d4fc5[_0x34f7('0x1a')](0x0,_0x2fc4a8>-0x1?_0x2fc4a8:0x93)+_0x34f7('0xc');}[_0x34f7('0x13')](){const _0x26e464=this[_0x34f7('0x12')][_0x34f7('0xd')](_0x34f7('0xa')),_0x2f01fb=_0x26e464['querySelector'](_0x34f7('0x2'));this['listenTo'](_0x26e464,'mouseenter',()=>{_0x2f01fb['offsetWidth']<_0x2f01fb[_0x34f7('0xe')]&&_0x26e464[_0x34f7('0xb')][_0x34f7('0x20')]('overlay');}),this['listenTo'](_0x26e464,_0x34f7('0x15'),()=>{_0x26e464[_0x34f7('0xb')][_0x34f7('0x5')]('overlay');});}}
23
+ const _0x2b35=['length','value','render','tooltip','overlay','locale','remove','.ck-context','reopenCommentThread','isVisible','querySelector','setTemplate','bindTemplate','mouseleave','label','add','ck-context','contextValue','_createReopenButton','_trimContextValue','lastIndexOf','mouseenter','isResolvable','.ck-context__value','substring','listenTo','_model','context','ck-context-wrapper','hasContext','reopenButtonView','ck-thread__header','offsetWidth','ck-context--quotes','ck-annotation__actions','div','_attachContextActions','Reopen','classList','bind'];(function(_0x34bf3a,_0x2b3574){const _0x10bf0f=function(_0x4b85cb){while(--_0x4b85cb){_0x34bf3a['push'](_0x34bf3a['shift']());}};_0x10bf0f(++_0x2b3574);}(_0x2b35,0x141));const _0x10bf=function(_0x34bf3a,_0x2b3574){_0x34bf3a=_0x34bf3a-0x0;let _0x10bf0f=_0x2b35[_0x34bf3a];return _0x10bf0f;};import{View as _0x2e645a,ButtonView as _0x5842ad}from'ckeditor5/src/ui';import{getTranslation as _0x34c580}from'../../../utils/common-translations';import _0x10288a from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Tt extends _0x2e645a{constructor(_0x4a4cf4,_0x386186){super(_0x4a4cf4);const _0xac9a5a=this[_0x10bf('0xb')];this[_0x10bf('0x19')]=_0x386186,this[_0x10bf('0x1d')]=this[_0x10bf('0x11')](),this['bind']('hasContext')['to'](this[_0x10bf('0x19')],_0x10bf('0x1a'),_0x21f381=>!!_0x21f381),this[_0x10bf('0x26')](_0x10bf('0x10'))['to'](this['_model'],_0x10bf('0x1a'),_0x3b0e16=>_0x3b0e16&&_0x3b0e16[_0x10bf('0x0')]?this['_trimContextValue'](_0x3b0e16[_0x10bf('0x0')]):_0x34c580(this[_0x10bf('0x4')],'Comment\x20was\x20made\x20on\x20an\x20element')),this[_0x10bf('0xa')]({'tag':_0x10bf('0x22'),'attributes':{'class':[_0x10bf('0x1e')]},'children':[{'tag':_0x10bf('0x22'),'attributes':{'class':[_0x10bf('0x1b')]},'children':[{'tag':'div','attributes':{'class':[_0x10bf('0xf'),_0xac9a5a['if'](_0x10bf('0x1c'),_0x10bf('0x20'))]},'children':[{'tag':'span','attributes':{'class':['ck-context__value']},'children':[{'text':_0xac9a5a['to']('contextValue')}]}]}]},{'tag':_0x10bf('0x22'),'attributes':{'class':[_0x10bf('0x21')]},'children':[this['reopenButtonView']]}]});}[_0x10bf('0x1')](){super['render'](),this[_0x10bf('0x23')]();}['_createReopenButton'](){const _0x555f3e=new _0x5842ad(this[_0x10bf('0x4')]);return _0x555f3e[_0x10bf('0xd')]=_0x34c580(this[_0x10bf('0x4')],'Reopen'),_0x555f3e[_0x10bf('0x2')]=_0x34c580(this['locale'],_0x10bf('0x24')),_0x555f3e['icon']=_0x10288a,_0x555f3e[_0x10bf('0x26')](_0x10bf('0x8'))['to'](this[_0x10bf('0x19')],_0x10bf('0x15')),_0x555f3e['on']('execute',()=>{this['fire'](_0x10bf('0x7'),this[_0x10bf('0x19')]['id']);}),_0x555f3e;}[_0x10bf('0x12')](_0x3dd266){if(_0x3dd266[_0x10bf('0x27')]<0x96)return _0x3dd266;const _0x556732=_0x3dd266[_0x10bf('0x13')]('\x20',0x93);return _0x3dd266[_0x10bf('0x17')](0x0,_0x556732>-0x1?_0x556732:0x93)+'...';}[_0x10bf('0x23')](){const _0xfd08e1=this['element'][_0x10bf('0x9')](_0x10bf('0x6')),_0x2bab84=_0xfd08e1['querySelector'](_0x10bf('0x16'));this[_0x10bf('0x18')](_0xfd08e1,_0x10bf('0x14'),()=>{_0x2bab84[_0x10bf('0x1f')]<_0x2bab84['scrollWidth']&&_0xfd08e1[_0x10bf('0x25')][_0x10bf('0xe')](_0x10bf('0x3'));}),this[_0x10bf('0x18')](_0xfd08e1,_0x10bf('0xc'),()=>{_0xfd08e1['classList'][_0x10bf('0x5')](_0x10bf('0x3'));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x59e0=['value','ck-thread__input','showInput','editor','set','commentInputView','ck-comment__input-container','isFocused','extendTemplate','ck-comment__input-container--active','change:showInput','setTemplate','showButtons','ck-thread__user','bind','bindTemplate','destroy','userView'];(function(_0x5467cd,_0x59e080){var _0x18be45=function(_0x31bef4){while(--_0x31bef4){_0x5467cd['push'](_0x5467cd['shift']());}};_0x18be45(++_0x59e080);}(_0x59e0,0x1c6));var _0x18be=function(_0x5467cd,_0x59e080){_0x5467cd=_0x5467cd-0x0;var _0x18be45=_0x59e0[_0x5467cd];return _0x18be45;};import{View as _0x2f42a6}from'ckeditor5/src/ui';import _0x2278ee from'./commentinputview';import{UserView as _0x5c0de9}from'ckeditor5-collaboration/src/collaboration-core';export default class wt extends _0x2f42a6{constructor(_0xfe40ca,_0x3fe03b,_0x15fedc){super(_0xfe40ca),this[_0x18be('0x1')]=new _0x2278ee(_0xfe40ca,_0x15fedc),this[_0x18be('0x1')][_0x18be('0xa')](_0x18be('0x8'))['to'](this[_0x18be('0x1')]['focusTracker'],_0x18be('0x3'),this['commentInputView'],_0x18be('0xe'),(_0x2f376f,_0x257941)=>_0x2f376f||!!_0x257941),this[_0x18be('0x0')](_0x18be('0x10'),!0x1),this['on'](_0x18be('0x6'),()=>{this['showInput']&&!this[_0x18be('0x1')][_0x18be('0x11')]&&this['commentInputView']['createEditor']();}),this[_0x18be('0xd')]=new _0x5c0de9(_0xfe40ca,_0x3fe03b),this[_0x18be('0xd')][_0x18be('0x4')]({'attributes':{'class':_0x18be('0x9')}}),this[_0x18be('0x1')][_0x18be('0x4')]({'attributes':{'class':_0x18be('0xf')}}),this[_0x18be('0x7')]({'tag':'div','attributes':{'class':[_0x18be('0x2'),this[_0x18be('0xb')]['if']('showInput',_0x18be('0x5'))]},'children':[this['userView'],this['commentInputView']]});}['destroy'](){return this[_0x18be('0x1')][_0x18be('0xc')]()['then'](()=>super[_0x18be('0xc')]());}}
23
+ var _0x4105=['bindTemplate','userView','destroy','isFocused','change:showInput','then','showInput','setTemplate','ck-thread__user','commentInputView','extendTemplate','editor','ck-comment__input-container--active','focusTracker','bind'];(function(_0x3bee46,_0x410576){var _0x26eb45=function(_0x3aa8b5){while(--_0x3aa8b5){_0x3bee46['push'](_0x3bee46['shift']());}};_0x26eb45(++_0x410576);}(_0x4105,0x15f));var _0x26eb=function(_0x3bee46,_0x410576){_0x3bee46=_0x3bee46-0x0;var _0x26eb45=_0x4105[_0x3bee46];return _0x26eb45;};import{View as _0x5d2f1c}from'ckeditor5/src/ui';import _0x340cc1 from'./commentinputview';import{UserView as _0x51abf4}from'ckeditor5-collaboration/src/collaboration-core';export default class wt extends _0x5d2f1c{constructor(_0x3a082b,_0x10052b,_0x556b77){super(_0x3a082b),this[_0x26eb('0x3')]=new _0x340cc1(_0x3a082b,_0x556b77),this[_0x26eb('0x3')][_0x26eb('0x8')]('showButtons')['to'](this[_0x26eb('0x3')][_0x26eb('0x7')],_0x26eb('0xc'),this[_0x26eb('0x3')],'value',(_0x460b4f,_0x454942)=>_0x460b4f||!!_0x454942),this['set'](_0x26eb('0x0'),!0x1),this['on'](_0x26eb('0xd'),()=>{this[_0x26eb('0x0')]&&!this['commentInputView'][_0x26eb('0x5')]&&this[_0x26eb('0x3')]['createEditor']();}),this[_0x26eb('0xa')]=new _0x51abf4(_0x3a082b,_0x10052b),this[_0x26eb('0xa')][_0x26eb('0x4')]({'attributes':{'class':_0x26eb('0x2')}}),this[_0x26eb('0x3')][_0x26eb('0x4')]({'attributes':{'class':'ck-thread__input'}}),this[_0x26eb('0x1')]({'tag':'div','attributes':{'class':['ck-comment__input-container',this[_0x26eb('0x9')]['if'](_0x26eb('0x0'),_0x26eb('0x6'))]},'children':[this[_0x26eb('0xa')],this[_0x26eb('0x3')]]});}[_0x26eb('0xb')](){return this[_0x26eb('0x3')][_0x26eb('0xb')]()[_0x26eb('0xe')](()=>super[_0x26eb('0xb')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f11=['querySelector','ck-thread--active','Write\x20a\x20comment...','isSystemComment','Resolve','commentThreadInputView','_boundFirstCommentView','isConfirm','ck-thread--','addMany','high','execute','set','commentThreadHeaderView','Delete\x20comment\x20thread?','locale','label','bindTemplate','showConfirm','_createResolveButton','isActive','unbind','_bindFirstCommentView','change:isReadOnly','bind','element','tooltip','_cancelAllConfirms','cancelConfirm','isDirty','commentThreadChildren','resolveCommentThread','isResolvable','actionBar','change:isResolved','createCollection','removeCommentThread','div','getTemplate','actionIndicator','isVisible','resolveButton','length','_model','removeButton','containerElement','commentViews','ck-thread--remove-confirmation','commentsListView','get','add','placeholder','remove','fire','render','check','listenTo'];(function(_0x2d2c58,_0x1f1140){const _0x5cdaa1=function(_0x3741ca){while(--_0x3741ca){_0x2d2c58['push'](_0x2d2c58['shift']());}};_0x5cdaa1(++_0x1f1140);}(_0x1f11,0x121));const _0x5cda=function(_0x2d2c58,_0x1f1140){_0x2d2c58=_0x2d2c58-0x0;let _0x5cdaa1=_0x1f11[_0x2d2c58];return _0x5cdaa1;};import{ConfirmMixin as _0x474478}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x43c921}from'ckeditor5/src/ui';import{icons as _0x4e368f}from'ckeditor5/src/core';import _0x5ecc1a from'./basecommentthreadview';import{getTranslation as _0x3bc7d4}from'../../../utils/common-translations';export default class ct extends _0x474478(_0x5ecc1a){constructor(_0x4d9a97,_0x5e7364,_0x1d60a1,_0x4a666d){super(_0x4d9a97,_0x5e7364,_0x1d60a1,_0x4a666d),this[_0x5cda('0x1a')]=this[_0x5cda('0x1f')](),this['commentThreadChildren'][_0x5cda('0x5')]([this['commentsListView'],this[_0x5cda('0x1')]]),this[_0x5cda('0x27')]['isResolved']&&this[_0x5cda('0x1a')][_0x5cda('0x2e')](this[_0x5cda('0x9')],0x0),this[_0x5cda('0x27')]['on'](_0x5cda('0x1e'),(_0x472bda,_0x33fcbf,_0x46c87c)=>{_0x46c87c?this[_0x5cda('0x1a')][_0x5cda('0x2e')](this[_0x5cda('0x9')],0x0):this[_0x5cda('0x1a')][_0x5cda('0x30')](this['commentThreadHeaderView']);}),this[_0x5cda('0x8')]('actionIndicator',null),this[_0x5cda('0x29')]=null,this[_0x5cda('0x2')]=null,this[_0x5cda('0xb')]=_0x4d9a97,this[_0x5cda('0x25')]=this[_0x5cda('0xf')](),this['setTemplate'](this[_0x5cda('0x22')]()),this['on']('change:isActive',(_0x56f5f8,_0x4b4618,_0x2218dd)=>{_0x2218dd||this[_0x5cda('0x17')]();}),this[_0x5cda('0x34')](this['_model'],_0x5cda('0x13'),(_0x12ed72,_0xbca1eb,_0x426304)=>{_0x426304&&this[_0x5cda('0x17')]();}),this[_0x5cda('0x26')]>0x0&&this[_0x5cda('0x12')](),this[_0x5cda('0x34')](this['commentsListView']['commentViews'],_0x5cda('0x2e'),()=>{this[_0x5cda('0x12')]();});}['getTemplate'](){const _0x1f9006=this[_0x5cda('0xd')];return{'tag':'div','attributes':{'class':['ck-thread','ck-reset_all-excluded',_0x1f9006['if'](_0x5cda('0x10'),_0x5cda('0x36')),_0x1f9006['if'](_0x5cda('0x3'),_0x5cda('0x2b')),_0x1f9006['to'](_0x5cda('0x23'),_0x2c646a=>_0x2c646a?_0x5cda('0x4')+_0x2c646a:'')],'data-thread-id':this[_0x5cda('0x27')]['id'],'tabindex':-0x1},'children':[{'tag':_0x5cda('0x21'),'attributes':{'class':'ck-thread__container'},'children':this[_0x5cda('0x1a')]}]};}[_0x5cda('0x32')](){super[_0x5cda('0x32')](),this[_0x5cda('0x29')]=this[_0x5cda('0x15')][_0x5cda('0x35')]('.ck-thread__container');}[_0x5cda('0x17')](){this[_0x5cda('0x18')]();for(const _0x24e28b of this[_0x5cda('0x2c')][_0x5cda('0x2a')])_0x24e28b[_0x5cda('0x18')]();}[_0x5cda('0x12')](){const {locale:_0x5be0cb}=this,_0x47222b=this[_0x5cda('0x2c')][_0x5cda('0x2a')][_0x5cda('0x2d')](0x0);_0x47222b===this['_boundFirstCommentView']||_0x47222b[_0x5cda('0x38')]||(this[_0x5cda('0x2')]=_0x47222b,this[_0x5cda('0x11')](_0x5cda('0x23')),this[_0x5cda('0x14')](_0x5cda('0x23'))['to'](_0x47222b,'actionIndicator',_0x203728=>'remove'===_0x203728?'remove':null),_0x47222b[_0x5cda('0x2f')]=_0x3bc7d4(_0x5be0cb,_0x5cda('0x37')),_0x47222b[_0x5cda('0x28')]['on'](_0x5cda('0x7'),_0x50420b=>{_0x50420b['stop'](),this[_0x5cda('0xe')](_0x3bc7d4(_0x5be0cb,_0x5cda('0xa')),this[_0x5cda('0x29')])['then'](()=>{this[_0x5cda('0x31')](_0x5cda('0x20'));});},{'priority':_0x5cda('0x6')}),_0x47222b[_0x5cda('0x1d')][_0x5cda('0x2e')](this[_0x5cda('0x25')],0x0));}['_createResolveButton'](){const _0x30375e=new _0x43c921(this[_0x5cda('0xb')]);return _0x30375e[_0x5cda('0xc')]=_0x3bc7d4(this[_0x5cda('0xb')],_0x5cda('0x0')),_0x30375e[_0x5cda('0x16')]=_0x3bc7d4(this[_0x5cda('0xb')],_0x5cda('0x0')),_0x30375e['icon']=_0x4e368f[_0x5cda('0x33')],_0x30375e['extendTemplate']({'attributes':{'class':'ck-comment--resolve'}}),_0x30375e[_0x5cda('0x14')]('isEnabled')['to'](this['_model'],'isReadOnly',_0x2a0c8e=>!_0x2a0c8e),_0x30375e['bind'](_0x5cda('0x24'))['to'](this[_0x5cda('0x27')],_0x5cda('0x1c'),this['_model'],'isResolved',this,_0x5cda('0x19'),(_0x52c0a7,_0xc807cb,_0x448ed9)=>_0x52c0a7&&!_0xc807cb&&!_0x448ed9),_0x30375e['on']('execute',()=>{this[_0x5cda('0x31')](_0x5cda('0x1b'),this[_0x5cda('0x27')]['id']);}),_0x30375e;}}
23
+ const _0x21da=['ck-thread--remove-confirmation','isVisible','Write\x20a\x20comment...','locale','actionBar','Resolve','commentsListView','set','commentThreadInputView','setTemplate','execute','isActive','commentThreadChildren','change:isReadOnly','removeButton','remove','isResolved','icon','commentThreadHeaderView','extendTemplate','removeCommentThread','isDirty','ck-thread','get','_cancelAllConfirms','add','bind','querySelector','_createResolveButton','unbind','resolveButton','isEnabled','getTemplate','isSystemComment','label','fire','render','bindTemplate','createCollection','commentViews','actionIndicator','div','check','element','_model','_bindFirstCommentView','ck-comment--resolve','_boundFirstCommentView','change:isResolved','ck-thread__container','.ck-thread__container','cancelConfirm','containerElement','placeholder','listenTo','change:isActive','Delete\x20comment\x20thread?','then','length'];(function(_0x3fc470,_0x21da7b){const _0x414829=function(_0x11d55e){while(--_0x11d55e){_0x3fc470['push'](_0x3fc470['shift']());}};_0x414829(++_0x21da7b);}(_0x21da,0x170));const _0x4148=function(_0x3fc470,_0x21da7b){_0x3fc470=_0x3fc470-0x0;let _0x414829=_0x21da[_0x3fc470];return _0x414829;};import{ConfirmMixin as _0x434c6d}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0xe3176}from'ckeditor5/src/ui';import{icons as _0x2e62d6}from'ckeditor5/src/core';import _0x5a8fb7 from'./basecommentthreadview';import{getTranslation as _0x4f2fd7}from'../../../utils/common-translations';export default class ct extends _0x434c6d(_0x5a8fb7){constructor(_0x6430ee,_0x4b31e9,_0x581cd0,_0x4b72d3){super(_0x6430ee,_0x4b31e9,_0x581cd0,_0x4b72d3),this[_0x4148('0x39')]=this[_0x4148('0x18')](),this['commentThreadChildren']['addMany']([this[_0x4148('0x33')],this[_0x4148('0x35')]]),this['_model'][_0x4148('0x2')]&&this['commentThreadChildren'][_0x4148('0xb')](this[_0x4148('0x4')],0x0),this[_0x4148('0x1e')]['on'](_0x4148('0x22'),(_0x26de21,_0x55d550,_0x3f5b11)=>{_0x3f5b11?this['commentThreadChildren'][_0x4148('0xb')](this[_0x4148('0x4')],0x0):this[_0x4148('0x39')][_0x4148('0x1')](this[_0x4148('0x4')]);}),this[_0x4148('0x34')](_0x4148('0x1a'),null),this[_0x4148('0x26')]=null,this[_0x4148('0x21')]=null,this[_0x4148('0x30')]=_0x6430ee,this[_0x4148('0x10')]=this[_0x4148('0xe')](),this[_0x4148('0x36')](this[_0x4148('0x12')]()),this['on'](_0x4148('0x29'),(_0x4e7afc,_0x3fb688,_0x2c67f4)=>{_0x2c67f4||this['_cancelAllConfirms']();}),this[_0x4148('0x28')](this['_model'],_0x4148('0x3a'),(_0x5e2ea2,_0x5d4be8,_0x38f957)=>{_0x38f957&&this[_0x4148('0xa')]();}),this[_0x4148('0x2c')]>0x0&&this[_0x4148('0x1f')](),this['listenTo'](this[_0x4148('0x33')][_0x4148('0x19')],_0x4148('0xb'),()=>{this['_bindFirstCommentView']();});}['getTemplate'](){const _0x184c06=this[_0x4148('0x17')];return{'tag':_0x4148('0x1b'),'attributes':{'class':[_0x4148('0x8'),'ck-reset_all-excluded',_0x184c06['if'](_0x4148('0x38'),'ck-thread--active'),_0x184c06['if']('isConfirm',_0x4148('0x2d')),_0x184c06['to'](_0x4148('0x1a'),_0x4af892=>_0x4af892?'ck-thread--'+_0x4af892:'')],'data-thread-id':this[_0x4148('0x1e')]['id'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':_0x4148('0x23')},'children':this[_0x4148('0x39')]}]};}[_0x4148('0x16')](){super[_0x4148('0x16')](),this[_0x4148('0x26')]=this[_0x4148('0x1d')][_0x4148('0xd')](_0x4148('0x24'));}[_0x4148('0xa')](){this['cancelConfirm']();for(const _0x39d3b5 of this['commentsListView'][_0x4148('0x19')])_0x39d3b5[_0x4148('0x25')]();}['_bindFirstCommentView'](){const {locale:_0x10f0cb}=this,_0x369344=this[_0x4148('0x33')][_0x4148('0x19')][_0x4148('0x9')](0x0);_0x369344===this[_0x4148('0x21')]||_0x369344[_0x4148('0x13')]||(this[_0x4148('0x21')]=_0x369344,this[_0x4148('0xf')](_0x4148('0x1a')),this[_0x4148('0xc')]('actionIndicator')['to'](_0x369344,_0x4148('0x1a'),_0x3567d7=>_0x4148('0x1')===_0x3567d7?_0x4148('0x1'):null),_0x369344[_0x4148('0x27')]=_0x4f2fd7(_0x10f0cb,_0x4148('0x2f')),_0x369344[_0x4148('0x0')]['on'](_0x4148('0x37'),_0x5b485e=>{_0x5b485e['stop'](),this['showConfirm'](_0x4f2fd7(_0x10f0cb,_0x4148('0x2a')),this[_0x4148('0x26')])[_0x4148('0x2b')](()=>{this[_0x4148('0x15')](_0x4148('0x6'));});},{'priority':'high'}),_0x369344[_0x4148('0x31')][_0x4148('0xb')](this['resolveButton'],0x0));}[_0x4148('0xe')](){const _0x4db766=new _0xe3176(this[_0x4148('0x30')]);return _0x4db766[_0x4148('0x14')]=_0x4f2fd7(this[_0x4148('0x30')],_0x4148('0x32')),_0x4db766['tooltip']=_0x4f2fd7(this[_0x4148('0x30')],'Resolve'),_0x4db766[_0x4148('0x3')]=_0x2e62d6[_0x4148('0x1c')],_0x4db766[_0x4148('0x5')]({'attributes':{'class':_0x4148('0x20')}}),_0x4db766[_0x4148('0xc')](_0x4148('0x11'))['to'](this[_0x4148('0x1e')],'isReadOnly',_0x5cbbf7=>!_0x5cbbf7),_0x4db766[_0x4148('0xc')](_0x4148('0x2e'))['to'](this[_0x4148('0x1e')],'isResolvable',this[_0x4148('0x1e')],_0x4148('0x2'),this,_0x4148('0x7'),(_0x1e3213,_0x389cfe,_0x53967a)=>_0x1e3213&&!_0x389cfe&&!_0x53967a),_0x4db766['on'](_0x4148('0x37'),()=>{this[_0x4148('0x15')]('resolveCommentThread',this[_0x4148('0x1e')]['id']);}),_0x4db766;}}