@ckeditor/ckeditor5-comments 0.0.0-nightly-20230905.0 → 0.0.0-nightly-20230907.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/build/comments.js +1 -1
  2. package/package.json +3 -3
  3. package/src/annotations/annotation.js +1 -1
  4. package/src/annotations/annotationcollection.js +1 -1
  5. package/src/annotations/annotations.js +1 -1
  6. package/src/annotations/annotationsuis.js +1 -1
  7. package/src/annotations/editorannotations.js +1 -1
  8. package/src/annotations/inlineannotations.js +1 -1
  9. package/src/annotations/narrowsidebar.js +1 -1
  10. package/src/annotations/sidebar.js +1 -1
  11. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  12. package/src/annotations/view/annotationview.js +1 -1
  13. package/src/annotations/view/sidebaritemview.js +1 -1
  14. package/src/annotations/view/sidebarview.js +1 -1
  15. package/src/annotations/widesidebar.js +1 -1
  16. package/src/comments/addcommentthreadcommand.js +1 -1
  17. package/src/comments/commentsarchive.js +1 -1
  18. package/src/comments/commentsarchiveui.js +1 -1
  19. package/src/comments/commentsediting.js +1 -1
  20. package/src/comments/commentsrepository.js +1 -1
  21. package/src/comments/commentsui.js +1 -1
  22. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  23. package/src/comments/integrations/importword.js +1 -1
  24. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  25. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  26. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  27. package/src/comments/ui/commentthreadcontroller.js +1 -1
  28. package/src/comments/ui/view/basecommentthreadview.d.ts +1 -1
  29. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  30. package/src/comments/ui/view/basecommentview.js +1 -1
  31. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  32. package/src/comments/ui/view/commentcontentview.js +1 -1
  33. package/src/comments/ui/view/commentinputview.js +1 -1
  34. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  35. package/src/comments/ui/view/commentslistview.js +1 -1
  36. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  37. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  38. package/src/comments/ui/view/commentthreadview.js +1 -1
  39. package/src/comments/ui/view/commentview.js +1 -1
  40. package/src/comments.js +1 -1
  41. package/src/commentsonly.js +1 -1
  42. package/src/utils/common-translations.js +1 -1
  43. package/src/utils/createmutationobserver.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x84d9=['high','plugins','editor','config','dataInsert','_handleImportedData','get','addCommentThread','forEach','importWord','listenTo','commands','map','importWord.commentsStyles'];(function(_0x5eba59,_0x84d901){const _0xcafa0f=function(_0x46de7f){while(--_0x46de7f){_0x5eba59['push'](_0x5eba59['shift']());}};_0xcafa0f(++_0x84d901);}(_0x84d9,0x1f2));const _0xcafa=function(_0x5eba59,_0x84d901){_0x5eba59=_0x5eba59-0x0;let _0xcafa0f=_0x84d9[_0x5eba59];return _0xcafa0f;};import{Plugin as _0x3cde92}from'ckeditor5/src/core';import{priorities as _0x303027}from'ckeditor5/src/utils';import{Users as _0x12806c}from'ckeditor5-collaboration/src/collaboration-core';import _0x34a7bb from'../commentsrepository';export default class Y extends _0x3cde92{constructor(_0x32710b){super(_0x32710b),this[_0xcafa('0x8')][_0xcafa('0x9')]['define']('importWord.commentsStyles','basic');}['afterInit'](){const _0x7ce078=this[_0xcafa('0x8')],_0x4a3b1c=_0x7ce078[_0xcafa('0x3')][_0xcafa('0xc')](_0xcafa('0x1')),_0x167dd9=_0x7ce078['plugins']['get'](_0x12806c);_0x4a3b1c&&(_0x4a3b1c['on']('execute',(_0x181069,[,_0x405737])=>{_0x405737['collaboration_features']={'comments':!0x0,'user_id':_0x167dd9['me']['id'],'comments_styles':this[_0xcafa('0x8')]['config'][_0xcafa('0xc')](_0xcafa('0x5'))};},{'priority':_0x303027[_0xcafa('0x6')]+0xa}),this[_0xcafa('0x2')](_0x4a3b1c,_0xcafa('0xa'),this[_0xcafa('0xb')]));}[_0xcafa('0xb')](_0x4e1acb,_0x326a38){const {comment_threads:_0x33662d}=_0x326a38;_0x33662d&&_0x33662d[_0xcafa('0x0')](({thread_id:_0x1d60d3,comments:_0x175a1c,is_resolved:_0x473d8e})=>{const _0x3a876f=new Date(),_0x57817c=_0x175a1c[_0xcafa('0x4')](({author:_0x2dc317,content:_0x2cb2da,created_at:_0x39ae5c})=>({'content':_0x2cb2da,'authorId':this['editor'][_0xcafa('0x7')]['get'](_0x12806c)['me']['id'],'createdAt':_0x3a876f,'attributes':{'@external':{'authorName':_0x2dc317,'createdAt':_0x39ae5c?new Date(_0x39ae5c):new Date(),'source':_0xcafa('0x1')}}})),_0x28efb1=this[_0xcafa('0x8')][_0xcafa('0x9')]['get']('collaboration.channelId');this['editor'][_0xcafa('0x7')][_0xcafa('0xc')](_0x34a7bb)[_0xcafa('0xd')]({'channelId':_0x28efb1,'threadId':_0x1d60d3,'comments':_0x57817c,'resolvedAt':_0x473d8e?_0x3a876f:null});});}}
23
+ const _0xa4af=['forEach','high','importWord','basic','define','addCommentThread','listenTo','commands','get','config','_handleImportedData','importWord.commentsStyles','collaboration_features','editor','plugins','afterInit'];(function(_0x35b70c,_0xa4af8b){const _0x49cda3=function(_0xe31f5){while(--_0xe31f5){_0x35b70c['push'](_0x35b70c['shift']());}};_0x49cda3(++_0xa4af8b);}(_0xa4af,0x72));const _0x49cd=function(_0x35b70c,_0xa4af8b){_0x35b70c=_0x35b70c-0x0;let _0x49cda3=_0xa4af[_0x35b70c];return _0x49cda3;};import{Plugin as _0xdfdd09}from'ckeditor5/src/core';import{priorities as _0x4f9655}from'ckeditor5/src/utils';import{Users as _0x519ecf}from'ckeditor5-collaboration/src/collaboration-core';import _0x3b099a from'../commentsrepository';export default class Y extends _0xdfdd09{constructor(_0xc000ed){super(_0xc000ed),this[_0x49cd('0xb')]['config'][_0x49cd('0x2')](_0x49cd('0x9'),_0x49cd('0x1'));}[_0x49cd('0xd')](){const _0x37e34e=this[_0x49cd('0xb')],_0x5fa3e2=_0x37e34e[_0x49cd('0x5')][_0x49cd('0x6')](_0x49cd('0x0')),_0x1b7750=_0x37e34e[_0x49cd('0xc')][_0x49cd('0x6')](_0x519ecf);_0x5fa3e2&&(_0x5fa3e2['on']('execute',(_0xb1169f,[,_0x5437b8])=>{_0x5437b8[_0x49cd('0xa')]={'comments':!0x0,'user_id':_0x1b7750['me']['id'],'comments_styles':this['editor']['config'][_0x49cd('0x6')](_0x49cd('0x9'))};},{'priority':_0x4f9655[_0x49cd('0xf')]+0xa}),this[_0x49cd('0x4')](_0x5fa3e2,'dataInsert',this[_0x49cd('0x8')]));}[_0x49cd('0x8')](_0x36fd78,_0x2cd912){const {comment_threads:_0x3adac0}=_0x2cd912;_0x3adac0&&_0x3adac0[_0x49cd('0xe')](({thread_id:_0x1d1261,comments:_0x4c695f,is_resolved:_0x5da712})=>{const _0xd28392=new Date(),_0x2a54c8=_0x4c695f['map'](({author:_0x4c77cb,content:_0x3fd615,created_at:_0x4cb916})=>({'content':_0x3fd615,'authorId':this[_0x49cd('0xb')]['plugins']['get'](_0x519ecf)['me']['id'],'createdAt':_0xd28392,'attributes':{'@external':{'authorName':_0x4c77cb,'createdAt':_0x4cb916?new Date(_0x4cb916):new Date(),'source':'importWord'}}})),_0x1b2fab=this[_0x49cd('0xb')][_0x49cd('0x7')][_0x49cd('0x6')]('collaboration.channelId');this[_0x49cd('0xb')][_0x49cd('0xc')][_0x49cd('0x6')](_0x3b099a)[_0x49cd('0x3')]({'channelId':_0x1b2fab,'threadId':_0x1d1261,'comments':_0x2a54c8,'resolvedAt':_0x5da712?_0xd28392:null});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x39a7=['change','init','create','document','focus','ready','destroy','model','assign','name','_updatePlaceholder','getChild','low','placeholderElement','change:placeholder','editing','childCount','initialData','view','set','plugins','then','getRoot','setSelection','placeholder','end','initPlugins','createRoot'];(function(_0xce322f,_0x39a799){const _0x440665=function(_0xf66265){while(--_0xf66265){_0xce322f['push'](_0xce322f['shift']());}};_0x440665(++_0x39a799);}(_0x39a7,0x9a));const _0x4406=function(_0xce322f,_0x39a799){_0xce322f=_0xce322f-0x0;let _0x440665=_0x39a7[_0xce322f];return _0x440665;};import{Editor as _0x12c691,DataApiMixin as _0x5ac59c}from'ckeditor5/src/core';import _0x1d3e4a from'./commenteditorui';import{ObservableMixin as _0x2da60b}from'ckeditor5/src/utils';import{enablePlaceholder as _0x4f631e,disablePlaceholder as _0x3369ff}from'ckeditor5/src/engine';import{Clipboard as _0x3c7bc7}from'ckeditor5/src/clipboard';import{Enter as _0x46027e,ShiftEnter as _0x3a5d2b}from'ckeditor5/src/enter';import{SelectAll as _0x1d66fc}from'ckeditor5/src/select-all';import{Typing as _0x44b6eb}from'ckeditor5/src/typing';import{Undo as _0x49ed82}from'ckeditor5/src/undo';import{Paragraph as _0x11bd71}from'ckeditor5/src/paragraph';const Kt=[_0x3c7bc7,_0x46027e,_0x3a5d2b,_0x1d66fc,_0x44b6eb,_0x49ed82,_0x11bd71];export default class Lt extends _0x2da60b(_0x5ac59c(_0x12c691)){constructor(_0x535fb1={}){(_0x535fb1=Object[_0x4406('0x16')]({},_0x535fb1))[_0x4406('0x6')]||(_0x535fb1[_0x4406('0x6')]=Lt['defaultPlugins']),super(_0x535fb1),this['ui']=new _0x1d3e4a(this),this[_0x4406('0x5')](_0x4406('0xa'),''),this[_0x4406('0x15')][_0x4406('0x11')]['on'](_0x4406('0xe'),()=>this['_updatePlaceholder'](),{'priority':_0x4406('0x1a')}),this['on'](_0x4406('0x0'),()=>this[_0x4406('0x18')]()),this[_0x4406('0x15')]['document'][_0x4406('0xd')]();}[_0x4406('0x10')](){const _0x576ac5=this['config']['get'](_0x4406('0x3'))||'';return this[_0x4406('0xc')]()[_0x4406('0x7')](()=>this['ui'][_0x4406('0xf')]())[_0x4406('0x7')](()=>this['data'][_0x4406('0xf')](_0x576ac5))['then'](()=>this['fire'](_0x4406('0x13')));}[_0x4406('0x14')](){return super[_0x4406('0x14')]()[_0x4406('0x7')](()=>this['ui'][_0x4406('0x14')]());}[_0x4406('0x12')](){this[_0x4406('0x15')][_0x4406('0xe')](_0x4fdf8f=>{const _0x5bafec=this[_0x4406('0x15')][_0x4406('0x11')][_0x4406('0x8')](),_0x2904c6=_0x5bafec&&_0x5bafec[_0x4406('0x19')](_0x5bafec[_0x4406('0x2')]-0x1);_0x4fdf8f[_0x4406('0x9')](_0x2904c6,_0x4406('0xb')),this[_0x4406('0x1')]['view']['focus']();});}[_0x4406('0x18')](){const _0x2744af=this['editing'][_0x4406('0x4')],_0x496184=_0x2744af[_0x4406('0x11')][_0x4406('0x8')](),_0x2eb2e9=_0x496184[_0x4406('0x19')](0x0);_0x496184[_0x4406('0x2')]>0x1||!_0x2eb2e9||'p'!=_0x2eb2e9[_0x4406('0x17')]?this[_0x4406('0x1b')]&&this[_0x4406('0x1b')][_0x4406('0xa')]&&(_0x3369ff(_0x2744af,this[_0x4406('0x1b')]),this['placeholderElement']=void 0x0):(this[_0x4406('0xa')]&&(_0x2eb2e9['placeholder']=this[_0x4406('0xa')]),_0x4f631e({'view':_0x2744af,'element':_0x2eb2e9,'keepOnFocus':!0x0}),this[_0x4406('0x1b')]=_0x2eb2e9);}}Lt['defaultPlugins']=Kt;
23
+ const _0x340f=['defaultPlugins','model','init','change:placeholder','view','end','getRoot','plugins','initialData','ready','document','name','focus','config','low','initPlugins','get','getChild','set','childCount','destroy','change','fire','_updatePlaceholder','placeholderElement','placeholder','editing','setSelection','then','createRoot','data'];(function(_0x1858a5,_0x340fd7){const _0x122ca8=function(_0x1f10fd){while(--_0x1f10fd){_0x1858a5['push'](_0x1858a5['shift']());}};_0x122ca8(++_0x340fd7);}(_0x340f,0xca));const _0x122c=function(_0x1858a5,_0x340fd7){_0x1858a5=_0x1858a5-0x0;let _0x122ca8=_0x340f[_0x1858a5];return _0x122ca8;};import{Editor as _0x3953a0,DataApiMixin as _0x572475}from'ckeditor5/src/core';import _0x19a246 from'./commenteditorui';import{ObservableMixin as _0x4b49c9}from'ckeditor5/src/utils';import{enablePlaceholder as _0x287ed7,disablePlaceholder as _0x4057b2}from'ckeditor5/src/engine';import{Clipboard as _0x103e6d}from'ckeditor5/src/clipboard';import{Enter as _0x907a5,ShiftEnter as _0x2dcada}from'ckeditor5/src/enter';import{SelectAll as _0xe49cc5}from'ckeditor5/src/select-all';import{Typing as _0x49c823}from'ckeditor5/src/typing';import{Undo as _0x5ce52b}from'ckeditor5/src/undo';import{Paragraph as _0x30e102}from'ckeditor5/src/paragraph';const Kt=[_0x103e6d,_0x907a5,_0x2dcada,_0xe49cc5,_0x49c823,_0x5ce52b,_0x30e102];export default class Lt extends _0x4b49c9(_0x572475(_0x3953a0)){constructor(_0x2e2b9b={}){(_0x2e2b9b=Object['assign']({},_0x2e2b9b))[_0x122c('0x16')]||(_0x2e2b9b[_0x122c('0x16')]=Lt[_0x122c('0xf')]),super(_0x2e2b9b),this['ui']=new _0x19a246(this),this[_0x122c('0x2')](_0x122c('0x9'),''),this[_0x122c('0x10')][_0x122c('0x19')]['on'](_0x122c('0x5'),()=>this[_0x122c('0x7')](),{'priority':_0x122c('0x1d')}),this['on'](_0x122c('0x12'),()=>this['_updatePlaceholder']()),this[_0x122c('0x10')]['document'][_0x122c('0xd')]();}['create'](){const _0x1804cc=this[_0x122c('0x1c')][_0x122c('0x0')](_0x122c('0x17'))||'';return this[_0x122c('0x1e')]()[_0x122c('0xc')](()=>this['ui'][_0x122c('0x11')]())[_0x122c('0xc')](()=>this[_0x122c('0xe')]['init'](_0x1804cc))[_0x122c('0xc')](()=>this[_0x122c('0x6')](_0x122c('0x18')));}[_0x122c('0x4')](){return super['destroy']()[_0x122c('0xc')](()=>this['ui'][_0x122c('0x4')]());}[_0x122c('0x1b')](){this[_0x122c('0x10')]['change'](_0x1b4291=>{const _0x4a0dcf=this['model']['document'][_0x122c('0x15')](),_0x1324f9=_0x4a0dcf&&_0x4a0dcf['getChild'](_0x4a0dcf[_0x122c('0x3')]-0x1);_0x1b4291[_0x122c('0xb')](_0x1324f9,_0x122c('0x14')),this[_0x122c('0xa')][_0x122c('0x13')][_0x122c('0x1b')]();});}[_0x122c('0x7')](){const _0x2fcb28=this[_0x122c('0xa')]['view'],_0x22dcb0=_0x2fcb28['document'][_0x122c('0x15')](),_0x469279=_0x22dcb0[_0x122c('0x1')](0x0);_0x22dcb0[_0x122c('0x3')]>0x1||!_0x469279||'p'!=_0x469279[_0x122c('0x1a')]?this[_0x122c('0x8')]&&this[_0x122c('0x8')][_0x122c('0x9')]&&(_0x4057b2(_0x2fcb28,this[_0x122c('0x8')]),this['placeholderElement']=void 0x0):(this[_0x122c('0x9')]&&(_0x469279['placeholder']=this['placeholder']),_0x287ed7({'view':_0x2fcb28,'element':_0x469279,'keepOnFocus':!0x0}),this[_0x122c('0x8')]=_0x469279);}}Lt[_0x122c('0xf')]=Kt;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5948=['render','document','locale','destroy','focusTracker','element','editable','name','getRoot','setEditableElement','isFocused','view','attachDomRoot','ready','editing','editor','bind','init'];(function(_0x122fcc,_0x59482e){const _0x33a937=function(_0x19b067){while(--_0x19b067){_0x122fcc['push'](_0x122fcc['shift']());}};_0x33a937(++_0x59482e);}(_0x5948,0xb0));const _0x33a9=function(_0x122fcc,_0x59482e){_0x122fcc=_0x122fcc-0x0;let _0x33a937=_0x5948[_0x122fcc];return _0x33a937;};import{EditorUI as _0x449d70}from'ckeditor5/src/ui';import _0x204843 from'./commenteditoruiview';export default class jt extends _0x449d70{constructor(_0x562adc){super(_0x562adc),this[_0x33a9('0xf')]=new _0x204843(_0x562adc[_0x33a9('0x6')],_0x562adc[_0x33a9('0x0')][_0x33a9('0xf')]);}get['element'](){return this[_0x33a9('0xf')][_0x33a9('0x9')];}[_0x33a9('0x3')](){const _0x3a925c=this[_0x33a9('0x1')][_0x33a9('0x0')][_0x33a9('0xf')],_0x52224d=this['view'][_0x33a9('0xa')],_0x2ed638=_0x3a925c[_0x33a9('0x5')][_0x33a9('0xc')]();_0x52224d[_0x33a9('0xb')]=_0x2ed638['rootName'],this[_0x33a9('0xf')][_0x33a9('0x4')]();const _0x2b45e9=_0x52224d['element'];this[_0x33a9('0xd')](_0x52224d['name'],_0x2b45e9),this['view'][_0x33a9('0xa')][_0x33a9('0x2')](_0x33a9('0xe'))['to'](this[_0x33a9('0x8')]),_0x3a925c[_0x33a9('0x10')](_0x2b45e9),this['fire'](_0x33a9('0x11'));}['destroy'](){super[_0x33a9('0x7')](),this[_0x33a9('0xf')][_0x33a9('0x7')]();}}
23
+ const _0x2228=['destroy','render','document','editor','locale','rootName','view','editing','ready','attachDomRoot','isFocused','fire','focusTracker','bind','name','editable','element'];(function(_0xb52530,_0x2228b0){const _0xdcc55=function(_0xe6736a){while(--_0xe6736a){_0xb52530['push'](_0xb52530['shift']());}};_0xdcc55(++_0x2228b0);}(_0x2228,0x93));const _0xdcc5=function(_0xb52530,_0x2228b0){_0xb52530=_0xb52530-0x0;let _0xdcc55=_0x2228[_0xb52530];return _0xdcc55;};import{EditorUI as _0x25ccc2}from'ckeditor5/src/ui';import _0xa3592f from'./commenteditoruiview';export default class jt extends _0x25ccc2{constructor(_0x4e88a0){super(_0x4e88a0),this[_0xdcc5('0xc')]=new _0xa3592f(_0x4e88a0[_0xdcc5('0xa')],_0x4e88a0[_0xdcc5('0xd')][_0xdcc5('0xc')]);}get[_0xdcc5('0x5')](){return this[_0xdcc5('0xc')][_0xdcc5('0x5')];}['init'](){const _0x1bcf43=this[_0xdcc5('0x9')]['editing'][_0xdcc5('0xc')],_0xeb6d32=this[_0xdcc5('0xc')][_0xdcc5('0x4')],_0x33be83=_0x1bcf43[_0xdcc5('0x8')]['getRoot']();_0xeb6d32['name']=_0x33be83[_0xdcc5('0xb')],this[_0xdcc5('0xc')][_0xdcc5('0x7')]();const _0x54246b=_0xeb6d32[_0xdcc5('0x5')];this['setEditableElement'](_0xeb6d32[_0xdcc5('0x3')],_0x54246b),this[_0xdcc5('0xc')][_0xdcc5('0x4')][_0xdcc5('0x2')](_0xdcc5('0x10'))['to'](this[_0xdcc5('0x1')]),_0x1bcf43[_0xdcc5('0xf')](_0x54246b),this[_0xdcc5('0x0')](_0xdcc5('0xe'));}['destroy'](){super['destroy'](),this['view'][_0xdcc5('0x6')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ed4=['setTemplate','_voiceLabelView','extendTemplate','div','_createVoiceLabel','ck-reset','presentation','text','ck-voice-label','focus','ck-editor__aria-label_','add','editable','ck-rounded-corners','uiLanguage','main','ck-comment__input','render'];(function(_0x31decf,_0x2ed4e8){const _0x5c2a2d=function(_0x5edb9f){while(--_0x5edb9f){_0x31decf['push'](_0x31decf['shift']());}};_0x5c2a2d(++_0x2ed4e8);}(_0x2ed4,0x135));const _0x5c2a=function(_0x31decf,_0x2ed4e8){_0x31decf=_0x31decf-0x0;let _0x5c2a2d=_0x2ed4[_0x31decf];return _0x5c2a2d;};import{InlineEditableUIView as _0x5c25e5,EditorUIView as _0x437746,LabelView as _0x22f94d}from'ckeditor5/src/ui';import{uid as _0xeefeb1}from'ckeditor5/src/utils';import{getTranslation as _0x510a48}from'../../../utils/common-translations';export default class Nt extends _0x437746{constructor(_0x3faf39,_0x5dd9e0){super(_0x3faf39);const _0xb249a3=_0xeefeb1();this['main']=this['createCollection'](),this[_0x5c2a('0x9')]=new _0x5c25e5(_0x3faf39,_0x5dd9e0),this['_voiceLabelView']=this[_0x5c2a('0x1')](_0xb249a3,_0x3faf39),this[_0x5c2a('0xf')]({'tag':_0x5c2a('0x0'),'attributes':{'class':[_0x5c2a('0x2'),'ck-editor',_0x5c2a('0xa'),_0x5c2a('0xd')],'role':'comment','dir':_0x3faf39['uiLanguageDirection'],'lang':_0x3faf39[_0x5c2a('0xb')],'aria-labelledby':'cke-editor__aria-label_'+_0xb249a3},'children':[this[_0x5c2a('0x10')],{'tag':_0x5c2a('0x0'),'attributes':{'class':'ck-editor__main','role':_0x5c2a('0x3')},'children':this[_0x5c2a('0xc')]}]});}[_0x5c2a('0xe')](){super['render'](),this[_0x5c2a('0xc')][_0x5c2a('0x8')](this[_0x5c2a('0x9')]);}[_0x5c2a('0x6')](){this[_0x5c2a('0x9')]['element'][_0x5c2a('0x6')]();}['_createVoiceLabel'](_0x3388f5,_0x531eb7){const _0x1eb48e=new _0x22f94d();return _0x1eb48e[_0x5c2a('0x4')]=_0x510a48(_0x531eb7,'Comment\x20editor'),_0x1eb48e[_0x5c2a('0x11')]({'attributes':{'id':_0x5c2a('0x7')+_0x3388f5,'class':_0x5c2a('0x5')}}),_0x1eb48e;}}
23
+ const _0x17f6=['add','text','main','comment','createCollection','ck-voice-label','extendTemplate','ck-editor__main','editable','uiLanguageDirection','ck-editor','_voiceLabelView','ck-reset','div','Comment\x20editor','uiLanguage','ck-comment__input','ck-editor__aria-label_','render','focus','cke-editor__aria-label_','_createVoiceLabel'];(function(_0x3a251b,_0x17f614){const _0x533878=function(_0x5b9115){while(--_0x5b9115){_0x3a251b['push'](_0x3a251b['shift']());}};_0x533878(++_0x17f614);}(_0x17f6,0x158));const _0x5338=function(_0x3a251b,_0x17f614){_0x3a251b=_0x3a251b-0x0;let _0x533878=_0x17f6[_0x3a251b];return _0x533878;};import{InlineEditableUIView as _0x131b0e,EditorUIView as _0x25d859,LabelView as _0x541f91}from'ckeditor5/src/ui';import{uid as _0xb34a57}from'ckeditor5/src/utils';import{getTranslation as _0xe1c859}from'../../../utils/common-translations';export default class Nt extends _0x25d859{constructor(_0x23b73e,_0x5ec6cc){super(_0x23b73e);const _0xa21094=_0xb34a57();this['main']=this[_0x5338('0xc')](),this['editable']=new _0x131b0e(_0x23b73e,_0x5ec6cc),this['_voiceLabelView']=this[_0x5338('0x7')](_0xa21094,_0x23b73e),this['setTemplate']({'tag':'div','attributes':{'class':[_0x5338('0x14'),_0x5338('0x12'),'ck-rounded-corners',_0x5338('0x2')],'role':_0x5338('0xb'),'dir':_0x23b73e[_0x5338('0x11')],'lang':_0x23b73e[_0x5338('0x1')],'aria-labelledby':_0x5338('0x6')+_0xa21094},'children':[this[_0x5338('0x13')],{'tag':_0x5338('0x15'),'attributes':{'class':_0x5338('0xf'),'role':'presentation'},'children':this[_0x5338('0xa')]}]});}[_0x5338('0x4')](){super[_0x5338('0x4')](),this[_0x5338('0xa')][_0x5338('0x8')](this[_0x5338('0x10')]);}[_0x5338('0x5')](){this['editable']['element'][_0x5338('0x5')]();}[_0x5338('0x7')](_0x77f58,_0x58beee){const _0x239465=new _0x541f91();return _0x239465[_0x5338('0x9')]=_0xe1c859(_0x58beee,_0x5338('0x0')),_0x239465[_0x5338('0xe')]({'attributes':{'id':_0x5338('0x3')+_0x77f58,'class':_0x5338('0xd')}}),_0x239465;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x56f4=['resolve','_isAttached','reopenCommentThread','stopListening','getComment','removeComment','reopen','_localUser','addComment','isResolved','updateComment','listenTo','submit','removeCommentThread','model','remove','resolveCommentThread','view'];(function(_0x359221,_0x56f44f){var _0x526c21=function(_0x135607){while(--_0x135607){_0x359221['push'](_0x359221['shift']());}};_0x526c21(++_0x56f44f);}(_0x56f4,0x145));var _0x526c=function(_0x359221,_0x56f44f){_0x359221=_0x359221-0x0;var _0x526c21=_0x56f4[_0x359221];return _0x526c21;};import{ObservableMixin as _0x398901}from'ckeditor5/src/utils';export default class ct extends _0x398901(){constructor(_0x572d65,_0x473600){super(),this[_0x526c('0xd')]=_0x572d65,this[_0x526c('0xd')][_0x526c('0x0')]=!0x0,this[_0x526c('0x10')]=_0x473600,this[_0x526c('0xa')](_0x473600,'submitCommentThread',()=>this['submit']()),this[_0x526c('0xa')](_0x473600,_0x526c('0xc'),()=>this[_0x526c('0xe')]()),this['listenTo'](_0x473600,_0x526c('0xf'),()=>this[_0x526c('0x11')]()),this[_0x526c('0xa')](_0x473600,_0x526c('0x1'),()=>this[_0x526c('0x5')]()),this[_0x526c('0xa')](_0x473600,_0x526c('0x7'),(_0xdfe8c2,_0x304792)=>this[_0x526c('0x7')](_0x304792)),this[_0x526c('0xa')](_0x473600,_0x526c('0x9'),(_0x441e8d,_0x37570e,_0x53b7f9)=>this['updateComment'](_0x37570e,_0x53b7f9)),this[_0x526c('0xa')](_0x473600,'removeComment',(_0x4dd9a5,_0x2a3357)=>this[_0x526c('0x4')](_0x2a3357));}[_0x526c('0xb')](){this[_0x526c('0xd')]['submit']();}[_0x526c('0xe')](){this['model'][_0x526c('0xe')]();}[_0x526c('0x11')](){this[_0x526c('0xd')][_0x526c('0x8')]||this['model']['resolve']();}[_0x526c('0x5')](){this['model'][_0x526c('0x8')]&&this[_0x526c('0xd')][_0x526c('0x5')]();}[_0x526c('0x7')](_0x5c2cb8){this[_0x526c('0xd')][_0x526c('0x7')]({'content':_0x5c2cb8,'authorId':this[_0x526c('0x10')][_0x526c('0x6')]['id']});}['updateComment'](_0x57b133,_0x296230){this['model'][_0x526c('0x3')](_0x57b133)['update']({'content':_0x296230});}[_0x526c('0x4')](_0x4c52bd){this[_0x526c('0xd')][_0x526c('0x3')](_0x4c52bd)[_0x526c('0xe')]();}['destroy'](){this[_0x526c('0x2')](),this['model'][_0x526c('0x0')]=!0x1;}}
23
+ var _0x5aa7=['resolve','stopListening','_isAttached','removeComment','view','submitCommentThread','getComment','remove','_localUser','model','submit','removeCommentThread','isResolved','destroy','addComment','listenTo','reopenCommentThread','reopen','updateComment'];(function(_0x1f9cad,_0x5aa705){var _0x40c25e=function(_0x1007ec){while(--_0x1007ec){_0x1f9cad['push'](_0x1f9cad['shift']());}};_0x40c25e(++_0x5aa705);}(_0x5aa7,0xe8));var _0x40c2=function(_0x1f9cad,_0x5aa705){_0x1f9cad=_0x1f9cad-0x0;var _0x40c25e=_0x5aa7[_0x1f9cad];return _0x40c25e;};import{ObservableMixin as _0x1c4aab}from'ckeditor5/src/utils';export default class ct extends _0x1c4aab(){constructor(_0x485043,_0x15e066){super(),this[_0x40c2('0x5')]=_0x485043,this[_0x40c2('0x5')][_0x40c2('0x11')]=!0x0,this[_0x40c2('0x0')]=_0x15e066,this[_0x40c2('0xb')](_0x15e066,_0x40c2('0x1'),()=>this[_0x40c2('0x6')]()),this['listenTo'](_0x15e066,_0x40c2('0x7'),()=>this['remove']()),this[_0x40c2('0xb')](_0x15e066,'resolveCommentThread',()=>this[_0x40c2('0xf')]()),this[_0x40c2('0xb')](_0x15e066,_0x40c2('0xc'),()=>this[_0x40c2('0xd')]()),this[_0x40c2('0xb')](_0x15e066,_0x40c2('0xa'),(_0x6bc122,_0x4c1fbd)=>this[_0x40c2('0xa')](_0x4c1fbd)),this['listenTo'](_0x15e066,'updateComment',(_0x144a8b,_0x28342f,_0x512915)=>this[_0x40c2('0xe')](_0x28342f,_0x512915)),this[_0x40c2('0xb')](_0x15e066,'removeComment',(_0xf9f14,_0xa75432)=>this[_0x40c2('0x12')](_0xa75432));}[_0x40c2('0x6')](){this[_0x40c2('0x5')][_0x40c2('0x6')]();}['remove'](){this[_0x40c2('0x5')]['remove']();}[_0x40c2('0xf')](){this[_0x40c2('0x5')][_0x40c2('0x8')]||this['model'][_0x40c2('0xf')]();}[_0x40c2('0xd')](){this['model'][_0x40c2('0x8')]&&this[_0x40c2('0x5')][_0x40c2('0xd')]();}[_0x40c2('0xa')](_0x1759cb){this[_0x40c2('0x5')][_0x40c2('0xa')]({'content':_0x1759cb,'authorId':this[_0x40c2('0x0')][_0x40c2('0x4')]['id']});}[_0x40c2('0xe')](_0xbda791,_0x2c6342){this[_0x40c2('0x5')][_0x40c2('0x2')](_0xbda791)['update']({'content':_0x2c6342});}[_0x40c2('0x12')](_0x3923f2){this[_0x40c2('0x5')][_0x40c2('0x2')](_0x3923f2)[_0x40c2('0x3')]();}[_0x40c2('0x9')](){this[_0x40c2('0x10')](),this['model'][_0x40c2('0x11')]=!0x1;}}
@@ -74,7 +74,7 @@ export default class BaseCommentThreadView extends View {
74
74
  /**
75
75
  * @inheritDoc
76
76
  */
77
- destroy(): void;
77
+ destroy(): Promise<void>;
78
78
  }
79
79
  /**
80
80
  * Fired when a user created a first comment in the comment thread. Then the comment thread is submitted and saved.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5eb2=['commentThreadHeaderView','value','isResolved','addComment','CommentView','commentThreadInputView','placeholder','reopenCommentThread','element','editorConfig','set','updateComment','isReadOnly','commentsListView','fire','_localUser','length','editorReady','Reply...','stop','isActive','removeComment','submit','Reply','Write\x20a\x20comment...','_config','editorDestroyed','bind','_createCommentThreadInputView','destroy','_model','isDirty','isResolvable','locale','delegate','removeCommentThread','submitLabel','showInput','isSubmitted','canComment','commentInputView','focus'];(function(_0x4c9d4a,_0x5eb2eb){const _0x53b757=function(_0x1f2f5b){while(--_0x1f2f5b){_0x4c9d4a['push'](_0x4c9d4a['shift']());}};_0x53b757(++_0x5eb2eb);}(_0x5eb2,0x1a6));const _0x53b7=function(_0x4c9d4a,_0x5eb2eb){_0x4c9d4a=_0x4c9d4a-0x0;let _0x53b757=_0x5eb2[_0x4c9d4a];return _0x53b757;};import{View as _0x7ab96b}from'ckeditor5/src/ui';import _0x243aac from'./commentthreadinputview';import _0xd1b3d0 from'./commentslistview';import _0x3c032f from'./commentthreadheaderview';import{getTranslation as _0x1549f4}from'../../../utils/common-translations';export default class Tt extends _0x7ab96b{constructor(_0x5c93aa,_0x1c3623,_0x27a48f,_0x2f21fe){super(_0x5c93aa),this[_0x53b7('0x8')](_0x53b7('0x12'),!0x1),this[_0x53b7('0x8')]('isDirty',!0x1),this['_model']=_0x1c3623,this['_localUser']=_0x27a48f,this[_0x53b7('0x17')]=_0x2f21fe,this[_0x53b7('0x28')]=new _0x3c032f(_0x5c93aa,_0x1c3623),this[_0x53b7('0x28')][_0x53b7('0x20')](_0x53b7('0x5'))['to'](this),this[_0x53b7('0xb')]=new _0xd1b3d0(_0x5c93aa,_0x1c3623,Object['assign']({'CommentView':this[_0x53b7('0x17')][_0x53b7('0x2')]},_0x2f21fe)),this[_0x53b7('0xb')][_0x53b7('0x20')]('removeComment')['to'](this),this[_0x53b7('0xb')]['delegate'](_0x53b7('0x9'))['to'](this),this['commentsListView']['delegate']('resolveCommentThread')['to'](this),this[_0x53b7('0xb')][_0x53b7('0x20')](_0x53b7('0xf'))['to'](this),this[_0x53b7('0xb')][_0x53b7('0x20')](_0x53b7('0x18'))['to'](this),this[_0x53b7('0xb')][_0x53b7('0x19')](_0x53b7('0x12'))['to'](this),this[_0x53b7('0x8')](_0x53b7('0xe'),this[_0x53b7('0xb')][_0x53b7('0xe')]),this['bind'](_0x53b7('0xe'))['to'](this[_0x53b7('0xb')],_0x53b7('0xe')),this[_0x53b7('0x3')]=this['_createCommentThreadInputView'](),this[_0x53b7('0x3')][_0x53b7('0x20')]('editorReady')['to'](this),this[_0x53b7('0x3')]['delegate'](_0x53b7('0x18'))['to'](this),this['on'](_0x53b7('0x13'),()=>this[_0x53b7('0x27')]()),this[_0x53b7('0x19')](_0x53b7('0x1d'))['to'](this[_0x53b7('0xb')],'hasDirtyComment',this['commentThreadInputView'][_0x53b7('0x26')],_0x53b7('0x29'),(_0xf892c3,_0x228b4f)=>_0xf892c3||!!_0x228b4f);}[_0x53b7('0x27')](){this[_0x53b7('0x6')][_0x53b7('0x27')]();}['destroy'](){this[_0x53b7('0x1d')]=!0x1,this[_0x53b7('0xb')]['destroy'](),this[_0x53b7('0x3')][_0x53b7('0x1b')](),super['destroy']();}[_0x53b7('0x1a')](){const _0x3bcc47=new _0x243aac(this[_0x53b7('0x1f')],this[_0x53b7('0xd')],this['_config'][_0x53b7('0x7')]),_0x257948=_0x3bcc47[_0x53b7('0x26')];return _0x3bcc47[_0x53b7('0x19')](_0x53b7('0x23'))['to'](this,_0x53b7('0x12'),this[_0x53b7('0x1c')],_0x53b7('0xa'),this[_0x53b7('0x1c')],_0x53b7('0x25'),this[_0x53b7('0x1c')],'isResolved',_0x257948,'value',(_0x581ad7,_0x20473f,_0x4cdf28,_0x3a844f,_0x1a373c)=>!!_0x1a373c||_0x3a844f&&_0x4cdf28&&!_0x20473f||_0x581ad7&&_0x4cdf28&&!_0x20473f),_0x257948[_0x53b7('0x19')](_0x53b7('0x4'))['to'](this,_0x53b7('0xe'),this[_0x53b7('0x1c')],'isResolvable',this[_0x53b7('0x1c')],_0x53b7('0x0'),(_0x2796c4,_0x121dab,_0x381f00)=>{let _0x373b52;return _0x373b52=_0x381f00&&_0x121dab?'Reply\x20to\x20reopen\x20discussion...':_0x2796c4?_0x53b7('0x10'):_0x53b7('0x16'),_0x1549f4(this[_0x53b7('0x1f')],_0x373b52);}),_0x257948['bind'](_0x53b7('0x22'))['to'](this,'length',_0x57390a=>_0x1549f4(this[_0x53b7('0x1f')],_0x57390a?_0x53b7('0x15'):'Comment')),_0x257948['on'](_0x53b7('0x14'),(_0x83e357,_0x2b51b8)=>{this[_0x53b7('0xc')](_0x53b7('0x1'),_0x2b51b8),this[_0x53b7('0x1c')]['isResolved']&&this[_0x53b7('0x1c')][_0x53b7('0x1e')]&&this[_0x53b7('0xc')](_0x53b7('0x5'),this[_0x53b7('0x1c')]['id']),this['_model'][_0x53b7('0x24')]||this['fire']('submitCommentThread');}),_0x257948['on']('cancel',()=>{this['focus']();}),_0x257948['bind']('disabledSubmit')['to'](this[_0x53b7('0x1c')],_0x53b7('0xa')),_0x257948['on']('cancel',_0x335fb6=>{0x0==this[_0x53b7('0xe')]&&(this[_0x53b7('0xc')](_0x53b7('0x21')),_0x335fb6[_0x53b7('0x11')]());}),this['on']('change:isActive',(_0x7278b1,_0x54c7d0,_0x39b3e2)=>{_0x39b3e2||this[_0x53b7('0xe')]||_0x257948['value']||this[_0x53b7('0xc')](_0x53b7('0x21'));}),_0x3bcc47;}}
23
+ const _0x2c18=['isReadOnly','delegate','addComment','removeCommentThread','_model','cancel','element','editorDestroyed','Write\x20a\x20comment...','assign','isResolvable','_localUser','Reply','submitCommentThread','bind','isActive','locale','disabledSubmit','editorConfig','isDirty','showInput','stop','Comment','_createCommentThreadInputView','value','destroy','isResolved','focus','removeComment','CommentView','isSubmitted','change:isActive','submit','_config','set','commentsListView','commentThreadInputView','length','fire','commentInputView','reopenCommentThread','editorReady','commentThreadHeaderView','updateComment','canComment'];(function(_0x52d2d5,_0x2c1860){const _0x4be426=function(_0x5defbb){while(--_0x5defbb){_0x52d2d5['push'](_0x52d2d5['shift']());}};_0x4be426(++_0x2c1860);}(_0x2c18,0x1c0));const _0x4be4=function(_0x52d2d5,_0x2c1860){_0x52d2d5=_0x52d2d5-0x0;let _0x4be426=_0x2c18[_0x52d2d5];return _0x4be426;};import{View as _0x215c76}from'ckeditor5/src/ui';import _0x53ebc5 from'./commentthreadinputview';import _0x15fa58 from'./commentslistview';import _0x413cc9 from'./commentthreadheaderview';import{getTranslation as _0x1388e1}from'../../../utils/common-translations';export default class Tt extends _0x215c76{constructor(_0x4235a5,_0x6a4baa,_0x21b9d1,_0x52e235){super(_0x4235a5),this[_0x4be4('0x24')](_0x4be4('0x11'),!0x1),this[_0x4be4('0x24')](_0x4be4('0x15'),!0x1),this[_0x4be4('0x6')]=_0x6a4baa,this[_0x4be4('0xd')]=_0x21b9d1,this[_0x4be4('0x23')]=_0x52e235,this['commentThreadHeaderView']=new _0x413cc9(_0x4235a5,_0x6a4baa),this[_0x4be4('0x2c')][_0x4be4('0x3')](_0x4be4('0x2a'))['to'](this),this['commentsListView']=new _0x15fa58(_0x4235a5,_0x6a4baa,Object[_0x4be4('0xb')]({'CommentView':this[_0x4be4('0x23')][_0x4be4('0x1f')]},_0x52e235)),this['commentsListView'][_0x4be4('0x3')]('removeComment')['to'](this),this[_0x4be4('0x25')]['delegate'](_0x4be4('0x0'))['to'](this),this['commentsListView']['delegate']('resolveCommentThread')['to'](this),this[_0x4be4('0x25')][_0x4be4('0x3')](_0x4be4('0x2b'))['to'](this),this['commentsListView']['delegate'](_0x4be4('0x9'))['to'](this),this[_0x4be4('0x25')][_0x4be4('0x10')]('isActive')['to'](this),this[_0x4be4('0x24')](_0x4be4('0x27'),this[_0x4be4('0x25')][_0x4be4('0x27')]),this[_0x4be4('0x10')](_0x4be4('0x27'))['to'](this[_0x4be4('0x25')],_0x4be4('0x27')),this[_0x4be4('0x26')]=this[_0x4be4('0x19')](),this['commentThreadInputView'][_0x4be4('0x3')](_0x4be4('0x2b'))['to'](this),this['commentThreadInputView'][_0x4be4('0x3')]('editorDestroyed')['to'](this),this['on'](_0x4be4('0x1e'),()=>this[_0x4be4('0x1d')]()),this[_0x4be4('0x10')](_0x4be4('0x15'))['to'](this[_0x4be4('0x25')],'hasDirtyComment',this[_0x4be4('0x26')][_0x4be4('0x29')],_0x4be4('0x1a'),(_0x44047b,_0xe276ca)=>_0x44047b||!!_0xe276ca);}['focus'](){this[_0x4be4('0x8')][_0x4be4('0x1d')]();}async[_0x4be4('0x1b')](){this['isDirty']=!0x1,this['commentsListView'][_0x4be4('0x1b')](),await this[_0x4be4('0x26')]['destroy'](),super[_0x4be4('0x1b')]();}[_0x4be4('0x19')](){const _0x5f5b90=new _0x53ebc5(this[_0x4be4('0x12')],this[_0x4be4('0xd')],this[_0x4be4('0x23')][_0x4be4('0x14')]),_0x357b6c=_0x5f5b90[_0x4be4('0x29')];return _0x5f5b90[_0x4be4('0x10')](_0x4be4('0x16'))['to'](this,_0x4be4('0x11'),this[_0x4be4('0x6')],_0x4be4('0x2'),this[_0x4be4('0x6')],_0x4be4('0x1'),this[_0x4be4('0x6')],'isResolved',_0x357b6c,_0x4be4('0x1a'),(_0x3c5bd4,_0x4f2b54,_0x4ac90f,_0x198932,_0x352ea0)=>!!_0x352ea0||_0x198932&&_0x4ac90f&&!_0x4f2b54||_0x3c5bd4&&_0x4ac90f&&!_0x4f2b54),_0x357b6c['bind']('placeholder')['to'](this,_0x4be4('0x27'),this[_0x4be4('0x6')],_0x4be4('0xc'),this[_0x4be4('0x6')],_0x4be4('0x1c'),(_0x17d559,_0x526c3c,_0x22eae2)=>{let _0x33e6cc;return _0x33e6cc=_0x22eae2&&_0x526c3c?'Reply\x20to\x20reopen\x20discussion...':_0x17d559?'Reply...':_0x4be4('0xa'),_0x1388e1(this[_0x4be4('0x12')],_0x33e6cc);}),_0x357b6c[_0x4be4('0x10')]('submitLabel')['to'](this,'length',_0x127ac0=>_0x1388e1(this[_0x4be4('0x12')],_0x127ac0?_0x4be4('0xe'):_0x4be4('0x18'))),_0x357b6c['on'](_0x4be4('0x22'),(_0xc20e61,_0xee4aa1)=>{this[_0x4be4('0x28')](_0x4be4('0x4'),_0xee4aa1),this[_0x4be4('0x6')][_0x4be4('0x1c')]&&this['_model'][_0x4be4('0xc')]&&this[_0x4be4('0x28')](_0x4be4('0x2a'),this['_model']['id']),this[_0x4be4('0x6')][_0x4be4('0x20')]||this[_0x4be4('0x28')](_0x4be4('0xf'));}),_0x357b6c['on']('cancel',()=>{this[_0x4be4('0x1d')]();}),_0x357b6c[_0x4be4('0x10')](_0x4be4('0x13'))['to'](this[_0x4be4('0x6')],_0x4be4('0x2')),_0x357b6c['on'](_0x4be4('0x7'),_0x4fddf4=>{0x0==this['length']&&(this[_0x4be4('0x28')]('removeCommentThread'),_0x4fddf4[_0x4be4('0x17')]());}),this['on'](_0x4be4('0x21'),(_0x41409d,_0x41f5f8,_0x213d92)=>{_0x213d92||this[_0x4be4('0x27')]||_0x357b6c[_0x4be4('0x1a')]||this['fire'](_0x4be4('0x5'));}),_0x5f5b90;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3cb2=['bind','editorReady','delegate','isCollapsed','_createCommentContentView','value','_config','visibleView','isSystemComment','isEditMode','switchToDisplayMode','editorConfig','switchToEditMode','disabledSubmit','add','destroy','_model','Save','focus','remove','set','once','initialData','cancel','collapse','locale','content','submit','expand'];(function(_0x28115c,_0x3cb265){const _0x1eaf90=function(_0xafa2ab){while(--_0xafa2ab){_0x28115c['push'](_0x28115c['shift']());}};_0x1eaf90(++_0x3cb265);}(_0x3cb2,0x10c));const _0x1eaf=function(_0x28115c,_0x3cb265){_0x28115c=_0x28115c-0x0;let _0x1eaf90=_0x3cb2[_0x28115c];return _0x1eaf90;};import{View as _0x467df7}from'ckeditor5/src/ui';import{trimHtml as _0x19eef3}from'ckeditor5-collaboration/src/collaboration-core';import _0x44b28c from'./commentcontentview';import _0x446591 from'./commentinputview';import{getTranslation as _0x5c3a49}from'../../../utils/common-translations';export default class Yt extends _0x467df7{constructor(_0x31c9b2,_0x234ebd,_0x337e25){super(_0x31c9b2),this[_0x1eaf('0x9')]=_0x234ebd,this[_0x1eaf('0x1c')]=_0x337e25,this[_0x1eaf('0x1')]=!!this['_config'][_0x1eaf('0x1')],this[_0x1eaf('0xd')](_0x1eaf('0x2'),!0x1),this[_0x1eaf('0xd')]('isCollapsed',!0x0),this[_0x1eaf('0x0')]=this['createCollection'](),this[_0x1eaf('0x0')][_0x1eaf('0x7')](this[_0x1eaf('0x1a')]());}[_0x1eaf('0x15')](){this[_0x1eaf('0x19')]=!0x1;}[_0x1eaf('0x11')](){this[_0x1eaf('0x2')]||(this[_0x1eaf('0x19')]=!0x0);}[_0x1eaf('0xb')](){this['element'][_0x1eaf('0xb')]();}async['destroy'](){await this[_0x1eaf('0x0')]['get'](0x0)[_0x1eaf('0x8')](),super[_0x1eaf('0x8')]();}[_0x1eaf('0x5')](){this[_0x1eaf('0x2')]||(this[_0x1eaf('0x2')]=!0x0,this[_0x1eaf('0x0')][_0x1eaf('0xc')](0x0)[_0x1eaf('0x8')](),this[_0x1eaf('0x0')]['add'](this['_createCommentInputView']()));}[_0x1eaf('0x3')](){this[_0x1eaf('0x2')]&&(this['isEditMode']=!0x1,this[_0x1eaf('0x0')]['remove'](0x0)[_0x1eaf('0x8')](),this[_0x1eaf('0x0')][_0x1eaf('0x7')](this[_0x1eaf('0x1a')]()));}[_0x1eaf('0x1a')](){const _0x54f206=new _0x44b28c(this['locale']);return _0x54f206[_0x1eaf('0x16')](_0x1eaf('0x13'))['to'](this[_0x1eaf('0x9')],_0x1eaf('0x13'),this,_0x1eaf('0x19'),(_0x431127,_0x25bcb2)=>_0x25bcb2?_0x19eef3(_0x431127,{'limit':this[_0x1eaf('0x1c')]['maxCommentCharsWhenCollapsed']}):_0x431127),_0x54f206;}['_createCommentInputView'](){this[_0x1eaf('0x1c')][_0x1eaf('0x4')]||(this[_0x1eaf('0x1c')]['editorConfig']={}),this[_0x1eaf('0x1c')][_0x1eaf('0x4')][_0x1eaf('0xf')]=this[_0x1eaf('0x9')][_0x1eaf('0x13')];const _0x8a9fd0=new _0x446591(this[_0x1eaf('0x12')],this[_0x1eaf('0x1c')][_0x1eaf('0x4')]);return _0x8a9fd0[_0x1eaf('0x1b')]=this[_0x1eaf('0x9')][_0x1eaf('0x13')],_0x8a9fd0['bind'](_0x1eaf('0x6'))['to'](this[_0x1eaf('0x9')],'isReadOnly'),_0x8a9fd0['submitLabel']=_0x5c3a49(this[_0x1eaf('0x12')],_0x1eaf('0xa')),_0x8a9fd0['on'](_0x1eaf('0x14'),(_0x4f7058,_0x2cb906)=>{this['fire']('updateComment',this[_0x1eaf('0x9')]['id'],_0x2cb906),this[_0x1eaf('0x3')](),this[_0x1eaf('0xb')]();}),_0x8a9fd0['on'](_0x1eaf('0x10'),()=>{this[_0x1eaf('0x3')](),this[_0x1eaf('0xb')]();}),_0x8a9fd0[_0x1eaf('0xe')](_0x1eaf('0x17'),()=>{_0x8a9fd0[_0x1eaf('0xb')]();}),_0x8a9fd0['createEditor'](),_0x8a9fd0[_0x1eaf('0x18')](_0x1eaf('0x17'))['to'](this),_0x8a9fd0['delegate']('editorDestroyed')['to'](this),_0x8a9fd0;}}
23
+ const _0x13fc=['delegate','_model','editorReady','maxCommentCharsWhenCollapsed','updateComment','cancel','switchToDisplayMode','_config','Save','set','_createCommentContentView','bind','editorConfig','remove','isCollapsed','switchToEditMode','createCollection','submit','visibleView','add','focus','isEditMode','submitLabel','locale','element','isSystemComment','content','fire','destroy','_createCommentInputView','editorDestroyed'];(function(_0x115c21,_0x13fcf4){const _0x18c003=function(_0x412090){while(--_0x412090){_0x115c21['push'](_0x115c21['shift']());}};_0x18c003(++_0x13fcf4);}(_0x13fc,0xac));const _0x18c0=function(_0x115c21,_0x13fcf4){_0x115c21=_0x115c21-0x0;let _0x18c003=_0x13fc[_0x115c21];return _0x18c003;};import{View as _0x1760f3}from'ckeditor5/src/ui';import{trimHtml as _0x2422b3}from'ckeditor5-collaboration/src/collaboration-core';import _0x3ed5d2 from'./commentcontentview';import _0x39d630 from'./commentinputview';import{getTranslation as _0x3bcfd7}from'../../../utils/common-translations';export default class Yt extends _0x1760f3{constructor(_0x3872a0,_0x5b5a7a,_0x310164){super(_0x3872a0),this['_model']=_0x5b5a7a,this[_0x18c0('0x15')]=_0x310164,this[_0x18c0('0x8')]=!!this[_0x18c0('0x15')][_0x18c0('0x8')],this[_0x18c0('0x17')]('isEditMode',!0x1),this[_0x18c0('0x17')]('isCollapsed',!0x0),this['visibleView']=this[_0x18c0('0x1e')](),this[_0x18c0('0x1')][_0x18c0('0x2')](this['_createCommentContentView']());}['expand'](){this[_0x18c0('0x1c')]=!0x1;}['collapse'](){this[_0x18c0('0x4')]||(this[_0x18c0('0x1c')]=!0x0);}[_0x18c0('0x3')](){this[_0x18c0('0x7')][_0x18c0('0x3')]();}async['destroy'](){await this['visibleView']['get'](0x0)[_0x18c0('0xb')](),super['destroy']();}[_0x18c0('0x1d')](){this[_0x18c0('0x4')]||(this['isEditMode']=!0x0,this[_0x18c0('0x1')][_0x18c0('0x1b')](0x0)[_0x18c0('0xb')](),this[_0x18c0('0x1')][_0x18c0('0x2')](this['_createCommentInputView']()));}[_0x18c0('0x14')](){this[_0x18c0('0x4')]&&(this[_0x18c0('0x4')]=!0x1,this[_0x18c0('0x1')][_0x18c0('0x1b')](0x0)[_0x18c0('0xb')](),this[_0x18c0('0x1')][_0x18c0('0x2')](this[_0x18c0('0x18')]()));}['_createCommentContentView'](){const _0x14082f=new _0x3ed5d2(this[_0x18c0('0x6')]);return _0x14082f[_0x18c0('0x19')](_0x18c0('0x9'))['to'](this['_model'],_0x18c0('0x9'),this,_0x18c0('0x1c'),(_0x28d222,_0x3a8b2a)=>_0x3a8b2a?_0x2422b3(_0x28d222,{'limit':this['_config'][_0x18c0('0x11')]}):_0x28d222),_0x14082f;}[_0x18c0('0xc')](){this[_0x18c0('0x15')][_0x18c0('0x1a')]||(this[_0x18c0('0x15')][_0x18c0('0x1a')]={}),this[_0x18c0('0x15')][_0x18c0('0x1a')]['initialData']=this[_0x18c0('0xf')]['content'];const _0x29dcc4=new _0x39d630(this[_0x18c0('0x6')],this['_config'][_0x18c0('0x1a')]);return _0x29dcc4['value']=this[_0x18c0('0xf')][_0x18c0('0x9')],_0x29dcc4[_0x18c0('0x19')]('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x29dcc4[_0x18c0('0x5')]=_0x3bcfd7(this[_0x18c0('0x6')],_0x18c0('0x16')),_0x29dcc4['on'](_0x18c0('0x0'),(_0x17c9a6,_0x248a32)=>{this[_0x18c0('0xa')](_0x18c0('0x12'),this[_0x18c0('0xf')]['id'],_0x248a32),this[_0x18c0('0x14')](),this[_0x18c0('0x3')]();}),_0x29dcc4['on'](_0x18c0('0x13'),()=>{this['switchToDisplayMode'](),this['focus']();}),_0x29dcc4['once'](_0x18c0('0x10'),()=>{_0x29dcc4['focus']();}),_0x29dcc4['createEditor'](),_0x29dcc4[_0x18c0('0xe')](_0x18c0('0x10'))['to'](this),_0x29dcc4[_0x18c0('0xe')](_0x18c0('0xd'))['to'](this),_0x29dcc4;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x398a=['count','set','NUMBER_OF_COMMENTS','setTemplate','ck-thread__comment-count','bindTemplate'];(function(_0x3d273a,_0x398ac2){const _0x283eec=function(_0xf312a){while(--_0xf312a){_0x3d273a['push'](_0x3d273a['shift']());}};_0x283eec(++_0x398ac2);}(_0x398a,0x165));const _0x283e=function(_0x3d273a,_0x398ac2){_0x3d273a=_0x3d273a-0x0;let _0x283eec=_0x398a[_0x3d273a];return _0x283eec;};import{View as _0x5b05e9}from'ckeditor5/src/ui';import{getTranslation as _0x331b77}from'../../../utils/common-translations';export default class Zt extends _0x5b05e9{constructor(_0x3717ab){super(_0x3717ab);const _0x17ada1=this[_0x283e('0x2')];this[_0x283e('0x4')](_0x283e('0x3'),void 0x0),this[_0x283e('0x0')]({'tag':'li','attributes':{'class':_0x283e('0x1')},'children':[{'text':_0x17ada1['to']('count',_0x39b189=>_0x331b77(_0x3717ab,_0x283e('0x5'),_0x39b189))}]});}}
23
+ const _0x41ec=['NUMBER_OF_COMMENTS','set','setTemplate','count'];(function(_0xe004c6,_0x41ece6){const _0xd5e523=function(_0x34acdd){while(--_0x34acdd){_0xe004c6['push'](_0xe004c6['shift']());}};_0xd5e523(++_0x41ece6);}(_0x41ec,0x9e));const _0xd5e5=function(_0xe004c6,_0x41ece6){_0xe004c6=_0xe004c6-0x0;let _0xd5e523=_0x41ec[_0xe004c6];return _0xd5e523;};import{View as _0x579fa0}from'ckeditor5/src/ui';import{getTranslation as _0x4ab798}from'../../../utils/common-translations';export default class Zt extends _0x579fa0{constructor(_0x41e241){super(_0x41e241);const _0x647093=this['bindTemplate'];this[_0xd5e5('0x3')](_0xd5e5('0x1'),void 0x0),this[_0xd5e5('0x0')]({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x647093['to'](_0xd5e5('0x1'),_0x56049e=>_0x4ab798(_0x41e241,_0xd5e5('0x2'),_0x56049e))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5bac=['change:content','content','ck-annotation__content','ck-comment__content','div','setTemplate','innerHTML','render','set','element'];(function(_0x167ecf,_0x5baca2){var _0x5e77b3=function(_0x5f0ff4){while(--_0x5f0ff4){_0x167ecf['push'](_0x167ecf['shift']());}};_0x5e77b3(++_0x5baca2);}(_0x5bac,0xc2));var _0x5e77=function(_0x167ecf,_0x5baca2){_0x167ecf=_0x167ecf-0x0;var _0x5e77b3=_0x5bac[_0x167ecf];return _0x5e77b3;};import{View as _0x2d8845}from'ckeditor5/src/ui';export default class Ut extends _0x2d8845{constructor(_0x41ff87){super(_0x41ff87),this[_0x5e77('0x4')](_0x5e77('0x7'),''),this[_0x5e77('0x1')]({'tag':_0x5e77('0x0'),'attributes':{'class':[_0x5e77('0x9'),_0x5e77('0x8')]}});}[_0x5e77('0x3')](){super['render'](),this['on'](_0x5e77('0x6'),(_0x587bee,_0x113274,_0x1180d9)=>{this[_0x5e77('0x5')][_0x5e77('0x2')]=_0x1180d9;}),this[_0x5e77('0x5')]['innerHTML']=this['content'];}}
23
+ var _0x14f5=['change:content','setTemplate','render','ck-annotation__content','element','ck-comment__content','div','content'];(function(_0x4136d5,_0x14f5b0){var _0x1e143c=function(_0x128b7d){while(--_0x128b7d){_0x4136d5['push'](_0x4136d5['shift']());}};_0x1e143c(++_0x14f5b0);}(_0x14f5,0x176));var _0x1e14=function(_0x4136d5,_0x14f5b0){_0x4136d5=_0x4136d5-0x0;var _0x1e143c=_0x14f5[_0x4136d5];return _0x1e143c;};import{View as _0x32f045}from'ckeditor5/src/ui';export default class Ut extends _0x32f045{constructor(_0x29c0b8){super(_0x29c0b8),this['set'](_0x1e14('0x1'),''),this[_0x1e14('0x3')]({'tag':_0x1e14('0x0'),'attributes':{'class':[_0x1e14('0x7'),_0x1e14('0x5')]}});}[_0x1e14('0x4')](){super[_0x1e14('0x4')](),this['on'](_0x1e14('0x2'),(_0x4f0a46,_0x1fb213,_0x48f5ac)=>{this[_0x1e14('0x6')]['innerHTML']=_0x48f5ac;}),this[_0x1e14('0x6')]['innerHTML']=this[_0x1e14('0x1')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x267b=['listenTo','initialData','ck-comment__input-actions','destroy','add','render','Reply','setData','length','ck-comment__input-actions--active','Cancel','cancel','firstChild','setTemplate','getData','_createCancelButton','submitButtonView','set','forEach','editorDestroyed','shift\x20+\x20tab','low','editor','withText','div','fire','_createSubmitButton','disabledSubmit','label','focus','then','_editorConfig','focusPrevious','ck-comment__input-actions--cancel','cancelButtonView','change','execute','tab','view','focusNext','bind','value','insertBefore','Reply...','submit','element','_isDestroyed','focusTracker','placeholder','extendTemplate','ck-comment__input-wrapper','editorReady','showButtons','keystrokes','high','model','_editorCreationPromise','bindTemplate','stop'];(function(_0x5a5582,_0x267b1a){const _0x143e5e=function(_0x106261){while(--_0x106261){_0x5a5582['push'](_0x5a5582['shift']());}};_0x143e5e(++_0x267b1a);}(_0x267b,0x1df));const _0x143e=function(_0x5a5582,_0x267b1a){_0x5a5582=_0x5a5582-0x0;let _0x143e5e=_0x267b[_0x5a5582];return _0x143e5e;};import{View as _0x30d61e,ViewCollection as _0x248572,FocusCycler as _0x6e0485,ButtonView as _0x124371}from'ckeditor5/src/ui';import{FocusTracker as _0x1d1681,KeystrokeHandler as _0x110f0f}from'ckeditor5/src/utils';import _0x3d9442 from'../commenteditor/commenteditor';import{getTranslation as _0x1967dd}from'../../../utils/common-translations';export default class Xt extends _0x30d61e{constructor(_0xa35f64,_0x304080={}){super(_0xa35f64),this[_0x143e('0xf')]=null,this[_0x143e('0x18')]=_0x304080,this['keystrokes']=new _0x110f0f(),this['focusTracker']=new _0x1d1681(),this[_0x143e('0xa')](_0x143e('0x22'),_0x304080[_0x143e('0x35')]||''),this[_0x143e('0xa')]('disabledSubmit',!0x1),this[_0x143e('0xa')](_0x143e('0x2d'),!0x0),this[_0x143e('0xa')](_0x143e('0x29'),_0x1967dd(_0xa35f64,_0x143e('0x24'))),this['set']('submitLabel',_0x1967dd(_0xa35f64,_0x143e('0x3a'))),this[_0x143e('0x9')]=this[_0x143e('0x13')](),this[_0x143e('0x1b')]=this[_0x143e('0x8')](),this[_0x143e('0x6')]({'tag':_0x143e('0x11'),'attributes':{'class':[_0x143e('0x2b')]},'children':[{'tag':_0x143e('0x11'),'attributes':{'class':[_0x143e('0x36'),this[_0x143e('0x32')]['if']('showButtons',_0x143e('0x2'))]},'children':[this[_0x143e('0x9')],this[_0x143e('0x1b')]]}]}),this['keystrokes']['set']('Esc',(_0x5517f8,_0x3a3ea0)=>{this['cancelButtonView']['fire']('execute'),_0x3a3ea0();}),this['on'](_0x143e('0x25'),(_0x5e8f18,_0x1d2dbe)=>{_0x1d2dbe[_0x143e('0x1')]>0xfde8?(alert(_0x1967dd(_0xa35f64,'TOO_LONG_COMMENT_ALERT',[_0x1d2dbe[_0x143e('0x1')],0xfde8])),_0x5e8f18[_0x143e('0x33')]()):this[_0x143e('0xf')][_0x143e('0x0')]('');},{'priority':_0x143e('0x2f')});}[_0x143e('0x39')](){super[_0x143e('0x39')](),this[_0x143e('0x2e')][_0x143e('0x34')](this[_0x143e('0x26')]),this[_0x143e('0x28')][_0x143e('0x38')](this['element']);}['createEditor'](){return this[_0x143e('0xf')]||(this[_0x143e('0xf')]=new _0x3d9442(this[_0x143e('0x18')]),this[_0x143e('0x31')]=this[_0x143e('0xf')]['create']()[_0x143e('0x17')](()=>{if(this['_isDestroyed'])return;const _0x290411=this[_0x143e('0xf')];this[_0x143e('0x26')][_0x143e('0x23')](_0x290411['ui'][_0x143e('0x26')],this['element'][_0x143e('0x5')]),_0x290411[_0x143e('0x30')]['document']['on'](_0x143e('0x1c'),()=>this[_0x143e('0x22')]=_0x290411[_0x143e('0x7')]()),_0x290411[_0x143e('0x21')]('placeholder')['to'](this),this['_initializeFocusCycling'](this['editor']),this['fire'](_0x143e('0x2c'),this[_0x143e('0xf')]);})),this[_0x143e('0x31')];}[_0x143e('0x16')](){this[_0x143e('0xf')]&&this[_0x143e('0xf')]['focus']();}async[_0x143e('0x37')](){this[_0x143e('0x27')]||(this[_0x143e('0x27')]=!0x0,this[_0x143e('0xf')]&&(await this[_0x143e('0x31')],await this[_0x143e('0xf')][_0x143e('0x37')](),this[_0x143e('0x12')](_0x143e('0xc'),this[_0x143e('0xf')])),await super['destroy']());}[_0x143e('0x13')](){const {locale:_0x1270da}=this,_0x672b7e=new _0x124371(_0x1270da);return _0x672b7e['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x672b7e['withText']=!0x0,_0x672b7e[_0x143e('0x21')]('label')['to'](this,'submitLabel'),_0x672b7e['on'](_0x143e('0x1d'),()=>{this[_0x143e('0x12')](_0x143e('0x25'),this[_0x143e('0x22')]);}),_0x672b7e[_0x143e('0x21')]('isEnabled')['to'](this,_0x143e('0x22'),this,_0x143e('0x14'),(_0xbdf7d9,_0x454f68)=>!_0x454f68&&!!_0xbdf7d9['trim']()),_0x672b7e;}['_createCancelButton'](){const {locale:_0x52b7bc}=this,_0x202305=new _0x124371(_0x52b7bc);return _0x202305[_0x143e('0x2a')]({'attributes':{'class':[_0x143e('0x1a')]}}),_0x202305[_0x143e('0x15')]=_0x1967dd(_0x52b7bc,_0x143e('0x3')),_0x202305[_0x143e('0x10')]=!0x0,_0x202305['on']('execute',()=>{this[_0x143e('0xf')][_0x143e('0x0')](''),this['fire'](_0x143e('0x4'));}),_0x202305;}['_initializeFocusCycling'](_0x59c610){const _0x304449=this[_0x143e('0x28')],_0x57d986=new _0x248572();[_0x59c610['ui'][_0x143e('0x1f')],this[_0x143e('0x9')],this[_0x143e('0x1b')]][_0x143e('0xb')](_0x477166=>{_0x57d986['add'](_0x477166),_0x304449[_0x143e('0x38')](_0x477166[_0x143e('0x26')]);});const _0x45f855=new _0x6e0485({'focusables':_0x57d986,'focusTracker':_0x304449});this['keystrokes'][_0x143e('0xa')](_0x143e('0x1e'),(_0x49b827,_0x359563)=>{_0x45f855[_0x143e('0x20')](),_0x359563();},{'priority':_0x143e('0xe')}),this[_0x143e('0x2e')][_0x143e('0xa')](_0x143e('0xd'),(_0x514271,_0x3504ac)=>{_0x45f855[_0x143e('0x19')](),_0x3504ac();},{'priority':_0x143e('0xe')});}}
23
+ const _0x59ca=['Reply...','firstChild','div','length','_initializeFocusCycling','change','submitButtonView','document','ck-comment__input-actions','initialData','focusNext','shift\x20+\x20tab','set','fire','low','insertBefore','getData','ck-comment__input-actions--cancel','focusTracker','model','label','create','element','showButtons','execute','isEnabled','_editorCreationPromise','Esc','placeholder','add','disabledSubmit','high','destroy','keystrokes','TOO_LONG_COMMENT_ALERT','_createSubmitButton','createEditor','cancel','extendTemplate','submitLabel','_editorConfig','_isDestroyed','focus','bind','setData','cancelButtonView','Cancel','tab','value','withText','render','Reply','submit','editor','ck-comment__input-actions--active','ck-comment__input-wrapper'];(function(_0x148870,_0x59caae){const _0x3a1850=function(_0x1f2960){while(--_0x1f2960){_0x148870['push'](_0x148870['shift']());}};_0x3a1850(++_0x59caae);}(_0x59ca,0x69));const _0x3a18=function(_0x148870,_0x59caae){_0x148870=_0x148870-0x0;let _0x3a1850=_0x59ca[_0x148870];return _0x3a1850;};import{View as _0x413d70,ViewCollection as _0x388a7b,FocusCycler as _0xb23bbe,ButtonView as _0x2fe606}from'ckeditor5/src/ui';import{FocusTracker as _0x571547,KeystrokeHandler as _0x77189}from'ckeditor5/src/utils';import _0x447b2c from'../commenteditor/commenteditor';import{getTranslation as _0x4c821e}from'../../../utils/common-translations';export default class Xt extends _0x413d70{constructor(_0x4578d3,_0x44a7ce={}){super(_0x4578d3),this[_0x3a18('0x4')]=null,this[_0x3a18('0x2f')]=_0x44a7ce,this[_0x3a18('0x28')]=new _0x77189(),this[_0x3a18('0x19')]=new _0x571547(),this[_0x3a18('0x13')](_0x3a18('0x37'),_0x44a7ce[_0x3a18('0x10')]||''),this['set'](_0x3a18('0x25'),!0x1),this[_0x3a18('0x13')](_0x3a18('0x1e'),!0x0),this[_0x3a18('0x13')](_0x3a18('0x23'),_0x4c821e(_0x4578d3,_0x3a18('0x7'))),this['set'](_0x3a18('0x2e'),_0x4c821e(_0x4578d3,_0x3a18('0x2'))),this[_0x3a18('0xd')]=this[_0x3a18('0x2a')](),this[_0x3a18('0x34')]=this['_createCancelButton'](),this['setTemplate']({'tag':_0x3a18('0x9'),'attributes':{'class':[_0x3a18('0x6')]},'children':[{'tag':'div','attributes':{'class':[_0x3a18('0xf'),this['bindTemplate']['if'](_0x3a18('0x1e'),_0x3a18('0x5'))]},'children':[this['submitButtonView'],this[_0x3a18('0x34')]]}]}),this['keystrokes'][_0x3a18('0x13')](_0x3a18('0x22'),(_0x5d332f,_0x1ff922)=>{this['cancelButtonView'][_0x3a18('0x14')](_0x3a18('0x1f')),_0x1ff922();}),this['on'](_0x3a18('0x3'),(_0x5e82f8,_0x38bb10)=>{_0x38bb10[_0x3a18('0xa')]>0xfde8?(alert(_0x4c821e(_0x4578d3,_0x3a18('0x29'),[_0x38bb10[_0x3a18('0xa')],0xfde8])),_0x5e82f8['stop']()):this[_0x3a18('0x4')][_0x3a18('0x33')]('');},{'priority':_0x3a18('0x26')});}[_0x3a18('0x1')](){super[_0x3a18('0x1')](),this[_0x3a18('0x28')]['listenTo'](this[_0x3a18('0x1d')]),this[_0x3a18('0x19')]['add'](this[_0x3a18('0x1d')]);}[_0x3a18('0x2b')](){return this[_0x3a18('0x4')]||(this[_0x3a18('0x4')]=new _0x447b2c(this[_0x3a18('0x2f')]),this[_0x3a18('0x21')]=this[_0x3a18('0x4')][_0x3a18('0x1c')]()['then'](()=>{if(this[_0x3a18('0x30')])return;const _0x4ad42e=this[_0x3a18('0x4')];this[_0x3a18('0x1d')][_0x3a18('0x16')](_0x4ad42e['ui'][_0x3a18('0x1d')],this[_0x3a18('0x1d')][_0x3a18('0x8')]),_0x4ad42e[_0x3a18('0x1a')][_0x3a18('0xe')]['on'](_0x3a18('0xc'),()=>this[_0x3a18('0x37')]=_0x4ad42e[_0x3a18('0x17')]()),_0x4ad42e[_0x3a18('0x32')](_0x3a18('0x23'))['to'](this),this[_0x3a18('0xb')](this['editor']),this[_0x3a18('0x14')]('editorReady',this[_0x3a18('0x4')]);})),this[_0x3a18('0x21')];}[_0x3a18('0x31')](){this[_0x3a18('0x4')]&&this['editor'][_0x3a18('0x31')]();}async[_0x3a18('0x27')](){this[_0x3a18('0x30')]||(this[_0x3a18('0x30')]=!0x0,this[_0x3a18('0x4')]&&(await this[_0x3a18('0x21')],await this['editor']['destroy'](),this[_0x3a18('0x14')]('editorDestroyed',this[_0x3a18('0x4')])),await super['destroy']());}[_0x3a18('0x2a')](){const {locale:_0x149ecc}=this,_0x5f2c50=new _0x2fe606(_0x149ecc);return _0x5f2c50[_0x3a18('0x2d')]({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x5f2c50[_0x3a18('0x0')]=!0x0,_0x5f2c50[_0x3a18('0x32')](_0x3a18('0x1b'))['to'](this,_0x3a18('0x2e')),_0x5f2c50['on']('execute',()=>{this[_0x3a18('0x14')]('submit',this[_0x3a18('0x37')]);}),_0x5f2c50[_0x3a18('0x32')](_0x3a18('0x20'))['to'](this,_0x3a18('0x37'),this,_0x3a18('0x25'),(_0x456670,_0x5cb02e)=>!_0x5cb02e&&!!_0x456670['trim']()),_0x5f2c50;}['_createCancelButton'](){const {locale:_0x5a11df}=this,_0x28b254=new _0x2fe606(_0x5a11df);return _0x28b254[_0x3a18('0x2d')]({'attributes':{'class':[_0x3a18('0x18')]}}),_0x28b254[_0x3a18('0x1b')]=_0x4c821e(_0x5a11df,_0x3a18('0x35')),_0x28b254[_0x3a18('0x0')]=!0x0,_0x28b254['on'](_0x3a18('0x1f'),()=>{this[_0x3a18('0x4')][_0x3a18('0x33')](''),this[_0x3a18('0x14')](_0x3a18('0x2c'));}),_0x28b254;}[_0x3a18('0xb')](_0x3f58aa){const _0x6bf47a=this[_0x3a18('0x19')],_0x193f9f=new _0x388a7b();[_0x3f58aa['ui']['view'],this['submitButtonView'],this[_0x3a18('0x34')]]['forEach'](_0x559ada=>{_0x193f9f[_0x3a18('0x24')](_0x559ada),_0x6bf47a[_0x3a18('0x24')](_0x559ada['element']);});const _0x312478=new _0xb23bbe({'focusables':_0x193f9f,'focusTracker':_0x6bf47a});this[_0x3a18('0x28')][_0x3a18('0x13')](_0x3a18('0x36'),(_0x2e60f6,_0x4c9ecc)=>{_0x312478[_0x3a18('0x11')](),_0x4c9ecc();},{'priority':_0x3a18('0x15')}),this[_0x3a18('0x28')][_0x3a18('0x13')](_0x3a18('0x12'),(_0x144908,_0x30cbe4)=>{_0x312478['focusPrevious'](),_0x30cbe4();},{'priority':_0x3a18('0x15')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x491c=['COMMENTS_ARCHIVE','_focusTracker','ck-comments-archive__info','auto','bindTemplate','_focusables','EMPTY_COMMENTS_ARCHIVE','selectstart','arrowup','set','ck-comments-archive__content','render','stopPropagation','focus','arrowleft','isEmpty','add','ck-comments-archive__header\x20','element','div','isActive','_focusCycler','listenTo','length','high','arrowdown','setTemplate','shift\x20+\x20tab','ck-comments-archive','_keystrokes','destroy'];(function(_0x40fe15,_0x491c10){const _0x32e4be=function(_0x3d00b2){while(--_0x3d00b2){_0x40fe15['push'](_0x40fe15['shift']());}};_0x32e4be(++_0x491c10);}(_0x491c,0x175));const _0x32e4=function(_0x40fe15,_0x491c10){_0x40fe15=_0x40fe15-0x0;let _0x32e4be=_0x491c[_0x40fe15];return _0x32e4be;};import{View as _0x475079,FocusCycler as _0x2e18d1}from'ckeditor5/src/ui';import{FocusTracker as _0x53b60f,KeystrokeHandler as _0x50c330}from'ckeditor5/src/utils';import{getTranslation as _0x5e1982}from'../../../utils/common-translations';export default class K extends _0x475079{constructor(_0x3f1c93,_0x112dd4){super(_0x3f1c93),this[_0x32e4('0x8')]('isEmpty',!_0x112dd4[_0x32e4('0x16')]),this[_0x32e4('0x0')]=new _0x53b60f(),this[_0x32e4('0x1c')]=new _0x50c330(),this[_0x32e4('0x4')]=_0x112dd4,this[_0x32e4('0x14')]=new _0x2e18d1({'focusables':this[_0x32e4('0x4')],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':_0x32e4('0x1a'),'focusNext':'tab'}}),this[_0x32e4('0x15')](_0x112dd4,_0x32e4('0xf'),()=>{this[_0x32e4('0xe')]=!0x1;}),this[_0x32e4('0x15')](_0x112dd4,'remove',(_0x164104,_0x21d104)=>{_0x21d104[_0x32e4('0x13')]&&this[_0x32e4('0xc')](),_0x112dd4[_0x32e4('0x16')]||(this[_0x32e4('0xe')]=!0x0);});const _0x1f7427=this[_0x32e4('0x3')];this[_0x32e4('0x19')]({'tag':_0x32e4('0x12'),'attributes':{'dir':_0x32e4('0x2'),'class':['ck',_0x32e4('0x1b')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x32e4('0x10')]},'children':[{'text':_0x5e1982(_0x3f1c93,_0x32e4('0x1e'))}]},{'tag':_0x32e4('0x12'),'attributes':{'class':[_0x32e4('0x9')]},'children':[{'tag':_0x32e4('0x12'),'children':_0x112dd4},{'tag':'p','attributes':{'class':[_0x32e4('0x1'),_0x1f7427['if'](_0x32e4('0xe'),'ck-hidden',_0x39c3e5=>!_0x39c3e5)]},'children':[{'text':_0x5e1982(_0x3f1c93,_0x32e4('0x5'))}]}]}]});}['render'](){super[_0x32e4('0xa')](),this[_0x32e4('0x1c')][_0x32e4('0x15')](this[_0x32e4('0x11')]);const _0x490e6d=_0x33329e=>_0x33329e['stopPropagation']();this[_0x32e4('0x1c')][_0x32e4('0x8')]('arrowright',_0x490e6d),this[_0x32e4('0x1c')][_0x32e4('0x8')](_0x32e4('0xd'),_0x490e6d),this[_0x32e4('0x1c')][_0x32e4('0x8')](_0x32e4('0x7'),_0x490e6d),this[_0x32e4('0x1c')][_0x32e4('0x8')](_0x32e4('0x18'),_0x490e6d),this[_0x32e4('0x15')](this[_0x32e4('0x11')],_0x32e4('0x6'),(_0x1f3076,_0x4deadb)=>{_0x4deadb[_0x32e4('0xb')]();},{'priority':_0x32e4('0x17')});}[_0x32e4('0x1d')](){super[_0x32e4('0x1d')](),this['_focusTracker'][_0x32e4('0x1d')](),this['_keystrokes'][_0x32e4('0x1d')]();}[_0x32e4('0xc')](){this['element']['focus']();}}
23
+ const _0x51b8=['length','set','_focusCycler','arrowdown','remove','isActive','COMMENTS_ARCHIVE','ck-comments-archive__header\x20','tab','setTemplate','listenTo','ck-comments-archive__content','add','isEmpty','arrowup','focus','stopPropagation','render','auto','high','ck-comments-archive__info','shift\x20+\x20tab','div','_focusables','_keystrokes','destroy','selectstart','_focusTracker','ck-comments-archive','ck-hidden'];(function(_0xe9d7b3,_0x51b861){const _0x3b2776=function(_0x3a3299){while(--_0x3a3299){_0xe9d7b3['push'](_0xe9d7b3['shift']());}};_0x3b2776(++_0x51b861);}(_0x51b8,0xa1));const _0x3b27=function(_0xe9d7b3,_0x51b861){_0xe9d7b3=_0xe9d7b3-0x0;let _0x3b2776=_0x51b8[_0xe9d7b3];return _0x3b2776;};import{View as _0x3734c5,FocusCycler as _0x3ae0a3}from'ckeditor5/src/ui';import{FocusTracker as _0x15cdb1,KeystrokeHandler as _0x50838f}from'ckeditor5/src/utils';import{getTranslation as _0x1f5e41}from'../../../utils/common-translations';export default class K extends _0x3734c5{constructor(_0x1937e6,_0x776949){super(_0x1937e6),this['set']('isEmpty',!_0x776949[_0x3b27('0x13')]),this['_focusTracker']=new _0x15cdb1(),this[_0x3b27('0xd')]=new _0x50838f(),this['_focusables']=_0x776949,this[_0x3b27('0x15')]=new _0x3ae0a3({'focusables':this[_0x3b27('0xc')],'focusTracker':this[_0x3b27('0x10')],'keystrokeHandler':this[_0x3b27('0xd')],'actions':{'focusPrevious':_0x3b27('0xa'),'focusNext':_0x3b27('0x1b')}}),this['listenTo'](_0x776949,_0x3b27('0x1'),()=>{this[_0x3b27('0x2')]=!0x1;}),this['listenTo'](_0x776949,_0x3b27('0x17'),(_0x30b819,_0x485174)=>{_0x485174[_0x3b27('0x18')]&&this[_0x3b27('0x4')](),_0x776949[_0x3b27('0x13')]||(this['isEmpty']=!0x0);});const _0xd2e303=this['bindTemplate'];this[_0x3b27('0x1c')]({'tag':_0x3b27('0xb'),'attributes':{'dir':_0x3b27('0x7'),'class':['ck',_0x3b27('0x11')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x3b27('0x1a')]},'children':[{'text':_0x1f5e41(_0x1937e6,_0x3b27('0x19'))}]},{'tag':'div','attributes':{'class':[_0x3b27('0x0')]},'children':[{'tag':_0x3b27('0xb'),'children':_0x776949},{'tag':'p','attributes':{'class':[_0x3b27('0x9'),_0xd2e303['if']('isEmpty',_0x3b27('0x12'),_0x56eeb3=>!_0x56eeb3)]},'children':[{'text':_0x1f5e41(_0x1937e6,'EMPTY_COMMENTS_ARCHIVE')}]}]}]});}[_0x3b27('0x6')](){super[_0x3b27('0x6')](),this[_0x3b27('0xd')]['listenTo'](this['element']);const _0x8dc699=_0x1f7abd=>_0x1f7abd[_0x3b27('0x5')]();this[_0x3b27('0xd')][_0x3b27('0x14')]('arrowright',_0x8dc699),this[_0x3b27('0xd')][_0x3b27('0x14')]('arrowleft',_0x8dc699),this[_0x3b27('0xd')][_0x3b27('0x14')](_0x3b27('0x3'),_0x8dc699),this['_keystrokes'][_0x3b27('0x14')](_0x3b27('0x16'),_0x8dc699),this[_0x3b27('0x1d')](this['element'],_0x3b27('0xf'),(_0x5bc2f0,_0x1f61a9)=>{_0x1f61a9[_0x3b27('0x5')]();},{'priority':_0x3b27('0x8')});}[_0x3b27('0xe')](){super['destroy'](),this[_0x3b27('0x10')][_0x3b27('0xe')](),this[_0x3b27('0xd')][_0x3b27('0xe')]();}[_0x3b27('0x4')](){this['element']['focus']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3149=['formatDateTime','_findOptimalIndex','comments','add','_rearrangeExpand','remove','render','listenTo','resolvedAt','locale','resolveCommentThread','authoredAt','focus','editorConfig','count','_shouldCollapse','collapse','_handleInfoComment','destroy','_handleNewCommentModel','visibleViews','expand','_model','isEditMode','bind','removeComment','change:isActive','viewUid','delegate','some','_updateHasDirtyComment','resolvedCommentView','ck-thread__comments','change:isEditMode','length','stopListening','Marked\x20as\x20resolved','_calculatePosition','change:isResolved','delete','from','maxCommentsWhenCollapsed','refreshVisibleViews','_config','change:hasDirtyComment','updateComment','maxCommentCharsWhenCollapsed','CommentView','commentViews','_collapsedCommentsView','_handleRemoveCommentModel','set','element','resolved','_rearrangeCollapse','isActive','get','hasDirtyComment','maxThreadTotalWeight'];(function(_0x2db0cd,_0x31497a){const _0x5e31b7=function(_0x54d277){while(--_0x54d277){_0x2db0cd['push'](_0x2db0cd['shift']());}};_0x5e31b7(++_0x31497a);}(_0x3149,0x124));const _0x5e31=function(_0x2db0cd,_0x31497a){_0x2db0cd=_0x2db0cd-0x0;let _0x5e31b7=_0x3149[_0x2db0cd];return _0x5e31b7;};import{View as _0x45905e}from'ckeditor5/src/ui';import{diff as _0xc6e725,Collection as _0xa1041c}from'ckeditor5/src/utils';import{getTranslation as _0x5eb8ea}from'../../../utils/common-translations';import _0x4beac5 from'./collapsedcommentsview';export default class wt extends _0x45905e{constructor(_0x2015c5,_0x1e0b24,_0x4b1e4e){super(_0x2015c5),this[_0x5e31('0x36')](_0x5e31('0x1'),!0x1),this[_0x5e31('0x36')](_0x5e31('0x25'),_0x1e0b24[_0x5e31('0x5')]['length']),this[_0x5e31('0x36')]('isActive',!0x1),this[_0x5e31('0x19')]=_0x1e0b24,this[_0x5e31('0x2e')]=_0x4b1e4e,this[_0x5e31('0x33')]=this['createCollection'](),this[_0x5e31('0x17')]=this['createCollection'](),this[_0x5e31('0x22')]=null,this[_0x5e31('0x34')]=new _0x4beac5(_0x2015c5),this[_0x5e31('0x34')][_0x5e31('0x1b')](_0x5e31('0x11'))['to'](this,_0x5e31('0x25'),_0x3f8ba8=>_0x3f8ba8-this[_0x5e31('0x2e')][_0x5e31('0x2c')]);for(const _0x33f3ac of _0x1e0b24['comments'])this[_0x5e31('0x16')](_0x33f3ac);this[_0x5e31('0x14')](),this[_0x5e31('0xa')](_0x1e0b24['comments'],_0x5e31('0x6'),(_0x53f1a1,_0x37681f)=>{const _0x54dce9=this[_0x5e31('0x28')](_0x37681f);this['length']++,this[_0x5e31('0x16')](_0x37681f,_0x54dce9),this[_0x5e31('0x2d')]();}),this[_0x5e31('0xa')](_0x1e0b24[_0x5e31('0x5')],_0x5e31('0x8'),(_0xc1fa3c,_0x1413a)=>{this['length']--,this[_0x5e31('0x35')](_0x1413a),this[_0x5e31('0x2d')]();}),this[_0x5e31('0xa')](_0x1e0b24,'commentUpdated',()=>this[_0x5e31('0x2d')]()),this['listenTo'](_0x1e0b24,_0x5e31('0x29'),()=>this[_0x5e31('0x14')]()),this['on'](_0x5e31('0x1d'),()=>this['refreshVisibleViews']()),this['on'](_0x5e31('0x2f'),()=>this[_0x5e31('0x2d')]()),this['setTemplate']({'tag':'ul','attributes':{'class':[_0x5e31('0x23')]},'children':this['visibleViews']});}get[_0x5e31('0x12')](){return this[_0x5e31('0x19')]['weight']>this[_0x5e31('0x2e')][_0x5e31('0x2')]&&!this[_0x5e31('0x3a')]&&!this[_0x5e31('0x1')];}[_0x5e31('0x9')](){super['render'](),this[_0x5e31('0x2d')]();}[_0x5e31('0xf')](){this[_0x5e31('0x37')][_0x5e31('0xf')]();}[_0x5e31('0x15')](){this[_0x5e31('0x34')][_0x5e31('0x15')]();for(const _0x159c15 of this[_0x5e31('0x33')])_0x159c15['destroy']();super[_0x5e31('0x15')]();}[_0x5e31('0x2d')](){this[_0x5e31('0x12')]?this['_rearrangeCollapse']():this[_0x5e31('0x7')]();}[_0x5e31('0x16')](_0x49048b,_0x391958){const _0x509a4c=new this[(_0x5e31('0x2e'))][(_0x5e31('0x32'))](this['locale'],_0x49048b,{'maxCommentCharsWhenCollapsed':this[_0x5e31('0x2e')][_0x5e31('0x31')],'formatDateTime':this['_config'][_0x5e31('0x3')],'editorConfig':this[_0x5e31('0x2e')][_0x5e31('0x10')]});_0x509a4c[_0x5e31('0x1e')]=_0x49048b['id'],_0x509a4c[_0x5e31('0x1f')](_0x5e31('0x1c'))['to'](this),_0x509a4c[_0x5e31('0x1f')](_0x5e31('0x30'))['to'](this),_0x509a4c[_0x5e31('0x1f')](_0x5e31('0xd'))['to'](this),_0x509a4c[_0x5e31('0x1f')]('editorReady')['to'](this),_0x509a4c[_0x5e31('0x1f')]('editorDestroyed')['to'](this),this[_0x5e31('0xa')](_0x509a4c,_0x5e31('0x24'),()=>this['_updateHasDirtyComment']()),this[_0x5e31('0x33')][_0x5e31('0x6')](_0x509a4c,_0x391958);}[_0x5e31('0x28')](_0x2af9b7){const _0x43b91e=this[_0x5e31('0x19')][_0x5e31('0x4')](_0x2af9b7);return this[_0x5e31('0x22')]?this['resolvedCommentView'][_0x5e31('0xe')]>_0x2af9b7[_0x5e31('0xe')]?_0x43b91e-0x1:_0x43b91e:_0x43b91e-0x1;}[_0x5e31('0x14')](){if(this[_0x5e31('0x19')]['resolvedBy']&&this[_0x5e31('0x19')][_0x5e31('0xb')]){const _0x718ea4={'id':_0x5e31('0x38'),'author':this[_0x5e31('0x19')]['resolvedBy'],'authoredAt':this[_0x5e31('0x19')][_0x5e31('0xb')],'content':_0x5eb8ea(this[_0x5e31('0xc')],_0x5e31('0x27')),'attributes':{}};this[_0x5e31('0x22')]=new this[(_0x5e31('0x2e'))][(_0x5e31('0x32'))](this[_0x5e31('0xc')],_0x718ea4,{'maxCommentCharsWhenCollapsed':this[_0x5e31('0x2e')][_0x5e31('0x31')],'formatDateTime':this['_config'][_0x5e31('0x3')],'editorConfig':this[_0x5e31('0x2e')][_0x5e31('0x10')],'isSystemComment':!0x0}),this[_0x5e31('0x33')][_0x5e31('0x6')](this['resolvedCommentView'],this[_0x5e31('0x19')]['_findOptimalIndex'](_0x718ea4));}else this[_0x5e31('0x22')]&&(this['commentViews'][_0x5e31('0x8')](this[_0x5e31('0x22')]),this['resolvedCommentView'][_0x5e31('0x15')](),this[_0x5e31('0x22')]=null);this[_0x5e31('0x2d')]();}[_0x5e31('0x35')](_0x25eb08){const _0x283b97=this[_0x5e31('0x33')][_0x5e31('0x8')](_0x25eb08['id']);this[_0x5e31('0x26')](_0x283b97),_0x283b97[_0x5e31('0x1a')]&&this[_0x5e31('0x21')](),_0x283b97[_0x5e31('0x15')]();}[_0x5e31('0x21')](){this[_0x5e31('0x1')]=Array[_0x5e31('0x2b')](this[_0x5e31('0x33')])[_0x5e31('0x20')](_0x4267be=>_0x4267be[_0x5e31('0x1a')]);}[_0x5e31('0x39')](){const _0x5338fa=function(_0x2d63bf){const _0x54f2c3=new _0xa1041c();for(const _0xbc51fc of _0x2d63bf)_0x54f2c3[_0x5e31('0x6')](_0xbc51fc);return _0x54f2c3;}(this['commentViews']),_0x1cd83d=this[_0x5e31('0x34')]['count'];for(let _0x312490=0x1;_0x312490<=_0x1cd83d;_0x312490++)_0x5338fa[_0x5e31('0x8')](0x1);for(const _0x1fc59c of _0x5338fa)_0x1fc59c[_0x5e31('0x13')]();_0x1cd83d>0x0&&_0x5338fa[_0x5e31('0x6')](this[_0x5e31('0x34')],0x1),ss(_0xc6e725(Array[_0x5e31('0x2b')](this[_0x5e31('0x17')]),Array[_0x5e31('0x2b')](_0x5338fa)),this['visibleViews'],_0x5338fa);}['_rearrangeExpand'](){ss(_0xc6e725(Array[_0x5e31('0x2b')](this[_0x5e31('0x17')]),Array[_0x5e31('0x2b')](this[_0x5e31('0x33')])),this[_0x5e31('0x17')],this['commentViews']);for(const _0x3f0f13 of this[_0x5e31('0x17')])_0x3f0f13[_0x5e31('0x18')]();}}function ss(_0x2b1699,_0x119665,_0x40050c){let _0x40780b=0x0;for(const _0x61e205 of _0x2b1699)switch(_0x61e205){case'insert':_0x119665['add'](_0x40050c[_0x5e31('0x0')](_0x40780b),_0x40780b),_0x40780b++;break;case _0x5e31('0x2a'):_0x119665['remove'](_0x40780b);break;case'equal':_0x40780b++;}}
23
+ const _0xdbe0=['_findOptimalIndex','set','from','formatDateTime','comments','element','visibleViews','maxCommentCharsWhenCollapsed','_model','weight','setTemplate','change:isEditMode','viewUid','expand','resolvedAt','_handleRemoveCommentModel','_updateHasDirtyComment','remove','_handleInfoComment','_rearrangeExpand','removeComment','isActive','Marked\x20as\x20resolved','refreshVisibleViews','delegate','_collapsedCommentsView','CommentView','render','_calculatePosition','destroy','resolvedCommentView','resolved','hasDirtyComment','bind','isEditMode','stopListening','resolvedBy','change:isResolved','authoredAt','length','_shouldCollapse','some','createCollection','ck-thread__comments','maxCommentsWhenCollapsed','commentViews','collapse','change:hasDirtyComment','updateComment','_rearrangeCollapse','add','_config','count','locale','editorConfig','equal','_handleNewCommentModel','listenTo'];(function(_0x316397,_0xdbe032){const _0x476223=function(_0x48825d){while(--_0x48825d){_0x316397['push'](_0x316397['shift']());}};_0x476223(++_0xdbe032);}(_0xdbe0,0x133));const _0x4762=function(_0x316397,_0xdbe032){_0x316397=_0x316397-0x0;let _0x476223=_0xdbe0[_0x316397];return _0x476223;};import{View as _0x188525}from'ckeditor5/src/ui';import{diff as _0x55d55e,Collection as _0x10b393}from'ckeditor5/src/utils';import{getTranslation as _0x42de30}from'../../../utils/common-translations';import _0x471cf3 from'./collapsedcommentsview';export default class wt extends _0x188525{constructor(_0x52d227,_0x5e11d2,_0x468f17){super(_0x52d227),this[_0x4762('0x2a')](_0x4762('0xf'),!0x1),this['set'](_0x4762('0x16'),_0x5e11d2[_0x4762('0x2d')][_0x4762('0x16')]),this[_0x4762('0x2a')](_0x4762('0x4'),!0x1),this[_0x4762('0x31')]=_0x5e11d2,this[_0x4762('0x22')]=_0x468f17,this[_0x4762('0x1c')]=this[_0x4762('0x19')](),this[_0x4762('0x2f')]=this['createCollection'](),this[_0x4762('0xd')]=null,this[_0x4762('0x8')]=new _0x471cf3(_0x52d227),this[_0x4762('0x8')][_0x4762('0x10')](_0x4762('0x23'))['to'](this,'length',_0x215f81=>_0x215f81-this[_0x4762('0x22')][_0x4762('0x1b')]);for(const _0x2108cf of _0x5e11d2[_0x4762('0x2d')])this[_0x4762('0x27')](_0x2108cf);this['_handleInfoComment'](),this[_0x4762('0x28')](_0x5e11d2[_0x4762('0x2d')],_0x4762('0x21'),(_0x336ac9,_0x16e4b1)=>{const _0x2c829d=this[_0x4762('0xb')](_0x16e4b1);this[_0x4762('0x16')]++,this[_0x4762('0x27')](_0x16e4b1,_0x2c829d),this[_0x4762('0x6')]();}),this[_0x4762('0x28')](_0x5e11d2['comments'],_0x4762('0x0'),(_0x4298a2,_0x28d133)=>{this[_0x4762('0x16')]--,this[_0x4762('0x38')](_0x28d133),this[_0x4762('0x6')]();}),this[_0x4762('0x28')](_0x5e11d2,'commentUpdated',()=>this[_0x4762('0x6')]()),this[_0x4762('0x28')](_0x5e11d2,_0x4762('0x14'),()=>this[_0x4762('0x1')]()),this['on']('change:isActive',()=>this[_0x4762('0x6')]()),this['on'](_0x4762('0x1e'),()=>this['refreshVisibleViews']()),this[_0x4762('0x33')]({'tag':'ul','attributes':{'class':[_0x4762('0x1a')]},'children':this[_0x4762('0x2f')]});}get[_0x4762('0x17')](){return this['_model'][_0x4762('0x32')]>this['_config']['maxThreadTotalWeight']&&!this[_0x4762('0x4')]&&!this[_0x4762('0xf')];}[_0x4762('0xa')](){super[_0x4762('0xa')](),this[_0x4762('0x6')]();}['focus'](){this[_0x4762('0x2e')]['focus']();}[_0x4762('0xc')](){this['_collapsedCommentsView']['destroy']();for(const _0x29332d of this[_0x4762('0x1c')])_0x29332d['destroy']();super['destroy']();}[_0x4762('0x6')](){this[_0x4762('0x17')]?this[_0x4762('0x20')]():this[_0x4762('0x2')]();}[_0x4762('0x27')](_0x189f9c,_0x2e48a5){const _0x3d3a82=new this[(_0x4762('0x22'))]['CommentView'](this[_0x4762('0x24')],_0x189f9c,{'maxCommentCharsWhenCollapsed':this[_0x4762('0x22')][_0x4762('0x30')],'formatDateTime':this['_config'][_0x4762('0x2c')],'editorConfig':this[_0x4762('0x22')][_0x4762('0x25')]});_0x3d3a82[_0x4762('0x35')]=_0x189f9c['id'],_0x3d3a82['delegate'](_0x4762('0x3'))['to'](this),_0x3d3a82['delegate'](_0x4762('0x1f'))['to'](this),_0x3d3a82['delegate']('resolveCommentThread')['to'](this),_0x3d3a82[_0x4762('0x7')]('editorReady')['to'](this),_0x3d3a82['delegate']('editorDestroyed')['to'](this),this[_0x4762('0x28')](_0x3d3a82,_0x4762('0x34'),()=>this[_0x4762('0x39')]()),this['commentViews'][_0x4762('0x21')](_0x3d3a82,_0x2e48a5);}['_calculatePosition'](_0x31c5e1){const _0x110769=this[_0x4762('0x31')]['_findOptimalIndex'](_0x31c5e1);return this[_0x4762('0xd')]?this[_0x4762('0xd')][_0x4762('0x15')]>_0x31c5e1[_0x4762('0x15')]?_0x110769-0x1:_0x110769:_0x110769-0x1;}['_handleInfoComment'](){if(this[_0x4762('0x31')][_0x4762('0x13')]&&this['_model'][_0x4762('0x37')]){const _0x3b6a49={'id':_0x4762('0xe'),'author':this[_0x4762('0x31')][_0x4762('0x13')],'authoredAt':this[_0x4762('0x31')][_0x4762('0x37')],'content':_0x42de30(this['locale'],_0x4762('0x5')),'attributes':{}};this[_0x4762('0xd')]=new this[(_0x4762('0x22'))][(_0x4762('0x9'))](this[_0x4762('0x24')],_0x3b6a49,{'maxCommentCharsWhenCollapsed':this[_0x4762('0x22')][_0x4762('0x30')],'formatDateTime':this['_config'][_0x4762('0x2c')],'editorConfig':this[_0x4762('0x22')]['editorConfig'],'isSystemComment':!0x0}),this[_0x4762('0x1c')][_0x4762('0x21')](this[_0x4762('0xd')],this['_model'][_0x4762('0x29')](_0x3b6a49));}else this[_0x4762('0xd')]&&(this[_0x4762('0x1c')][_0x4762('0x0')](this[_0x4762('0xd')]),this[_0x4762('0xd')][_0x4762('0xc')](),this[_0x4762('0xd')]=null);this['refreshVisibleViews']();}[_0x4762('0x38')](_0x187358){const _0xf78d29=this[_0x4762('0x1c')][_0x4762('0x0')](_0x187358['id']);this[_0x4762('0x12')](_0xf78d29),_0xf78d29[_0x4762('0x11')]&&this[_0x4762('0x39')](),_0xf78d29[_0x4762('0xc')]();}['_updateHasDirtyComment'](){this[_0x4762('0xf')]=Array[_0x4762('0x2b')](this[_0x4762('0x1c')])[_0x4762('0x18')](_0x56295e=>_0x56295e['isEditMode']);}[_0x4762('0x20')](){const _0x47a64b=function(_0xe06066){const _0x14e7ce=new _0x10b393();for(const _0x49b3b5 of _0xe06066)_0x14e7ce['add'](_0x49b3b5);return _0x14e7ce;}(this['commentViews']),_0x3ae56d=this['_collapsedCommentsView'][_0x4762('0x23')];for(let _0x4b7186=0x1;_0x4b7186<=_0x3ae56d;_0x4b7186++)_0x47a64b[_0x4762('0x0')](0x1);for(const _0x3ec60a of _0x47a64b)_0x3ec60a[_0x4762('0x1d')]();_0x3ae56d>0x0&&_0x47a64b[_0x4762('0x21')](this[_0x4762('0x8')],0x1),ss(_0x55d55e(Array['from'](this[_0x4762('0x2f')]),Array[_0x4762('0x2b')](_0x47a64b)),this[_0x4762('0x2f')],_0x47a64b);}[_0x4762('0x2')](){ss(_0x55d55e(Array[_0x4762('0x2b')](this[_0x4762('0x2f')]),Array[_0x4762('0x2b')](this['commentViews'])),this['visibleViews'],this[_0x4762('0x1c')]);for(const _0x2a11c2 of this[_0x4762('0x2f')])_0x2a11c2[_0x4762('0x36')]();}}function ss(_0x2e7ca0,_0x513286,_0x3b6ca5){let _0x16404e=0x0;for(const _0x223a22 of _0x2e7ca0)switch(_0x223a22){case'insert':_0x513286[_0x4762('0x21')](_0x3b6ca5['get'](_0x16404e),_0x16404e),_0x16404e++;break;case'delete':_0x513286['remove'](_0x16404e);break;case _0x4762('0x26'):_0x16404e++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xde27=['icon','isResolvable','reopenButtonView','Reopen','context','locale','add','_model','classList','label','isEnabled','ck-context','_trimContextValue','scrollWidth','value','div','...','remove','querySelector','mouseleave','isReadOnly','overlay','.ck-context__value','listenTo','contextValue','hasContext','ck-annotation__actions','ck-context__value','Comment\x20was\x20made\x20on\x20an\x20element','execute','reopenCommentThread','bind','ck-context--quotes','ck-thread__header','tooltip','mouseenter','element','_createReopenButton','span','_attachContextActions','substring','render','fire'];(function(_0x177e9e,_0xde277a){const _0x40928f=function(_0x18d271){while(--_0x18d271){_0x177e9e['push'](_0x177e9e['shift']());}};_0x40928f(++_0xde277a);}(_0xde27,0xc6));const _0x4092=function(_0x177e9e,_0xde277a){_0x177e9e=_0x177e9e-0x0;let _0x40928f=_0xde27[_0x177e9e];return _0x40928f;};import{View as _0x135e21,ButtonView as _0x52e809}from'ckeditor5/src/ui';import{getTranslation as _0x782a87}from'../../../utils/common-translations';import _0x4d4692 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Rt extends _0x135e21{constructor(_0x381bfd,_0x1cab61){super(_0x381bfd);const _0x52d77d=this['bindTemplate'];this[_0x4092('0x18')]=_0x1cab61,this[_0x4092('0x13')]=this[_0x4092('0xb')](),this['bind'](_0x4092('0x2a'))['to'](this[_0x4092('0x18')],'context',_0x50c62d=>!!_0x50c62d),this[_0x4092('0x5')](_0x4092('0x29'))['to'](this['_model'],_0x4092('0x15'),_0x2df834=>_0x2df834&&_0x2df834[_0x4092('0x1f')]?this['_trimContextValue'](_0x2df834[_0x4092('0x1f')]):_0x782a87(this[_0x4092('0x16')],_0x4092('0x2'))),this['setTemplate']({'tag':_0x4092('0x20'),'attributes':{'class':[_0x4092('0x7')]},'children':[{'tag':_0x4092('0x20'),'attributes':{'class':['ck-context-wrapper']},'children':[{'tag':_0x4092('0x20'),'attributes':{'class':[_0x4092('0x1c'),_0x52d77d['if'](_0x4092('0x2a'),_0x4092('0x6'))]},'children':[{'tag':_0x4092('0xc'),'attributes':{'class':[_0x4092('0x1')]},'children':[{'text':_0x52d77d['to']('contextValue')}]}]}]},{'tag':_0x4092('0x20'),'attributes':{'class':[_0x4092('0x0')]},'children':[this['reopenButtonView']]}]});}[_0x4092('0xf')](){super[_0x4092('0xf')](),this['_attachContextActions']();}[_0x4092('0xb')](){const _0x2f5c8a=new _0x52e809(this[_0x4092('0x16')]);return _0x2f5c8a[_0x4092('0x1a')]=_0x782a87(this['locale'],_0x4092('0x14')),_0x2f5c8a[_0x4092('0x8')]=_0x782a87(this['locale'],_0x4092('0x14')),_0x2f5c8a[_0x4092('0x11')]=_0x4d4692,_0x2f5c8a['bind'](_0x4092('0x1b'))['to'](this['_model'],_0x4092('0x25'),_0x13933e=>!_0x13933e),_0x2f5c8a['bind']('isVisible')['to'](this[_0x4092('0x18')],_0x4092('0x12')),_0x2f5c8a['on'](_0x4092('0x3'),()=>{this[_0x4092('0x10')](_0x4092('0x4'),this['_model']['id']);}),_0x2f5c8a;}[_0x4092('0x1d')](_0x3862af){if(_0x3862af['length']<0x96)return _0x3862af;const _0x5c4bcd=_0x3862af['lastIndexOf']('\x20',0x93);return _0x3862af[_0x4092('0xe')](0x0,_0x5c4bcd>-0x1?_0x5c4bcd:0x93)+_0x4092('0x21');}[_0x4092('0xd')](){const _0x4d9e02=this[_0x4092('0xa')][_0x4092('0x23')]('.ck-context'),_0x168cd9=_0x4d9e02[_0x4092('0x23')](_0x4092('0x27'));this[_0x4092('0x28')](_0x4d9e02,_0x4092('0x9'),()=>{_0x168cd9['offsetWidth']<_0x168cd9[_0x4092('0x1e')]&&_0x4d9e02[_0x4092('0x19')][_0x4092('0x17')](_0x4092('0x26'));}),this[_0x4092('0x28')](_0x4d9e02,_0x4092('0x24'),()=>{_0x4d9e02['classList'][_0x4092('0x22')](_0x4092('0x26'));});}}
23
+ const _0x14b8=['bind','ck-context__value','.ck-context','isVisible','ck-thread__header','render','setTemplate','_createReopenButton','div','ck-context--quotes','ck-context','overlay','listenTo','label','Reopen','_model','mouseenter','Comment\x20was\x20made\x20on\x20an\x20element','ck-annotation__actions','offsetWidth','...','isReadOnly','scrollWidth','isResolvable','lastIndexOf','hasContext','value','classList','reopenButtonView','mouseleave','.ck-context__value','_trimContextValue','_attachContextActions','icon','contextValue','length','span','substring','isEnabled','remove','locale','add'];(function(_0x23ea22,_0x14b8fa){const _0x44ae09=function(_0x565446){while(--_0x565446){_0x23ea22['push'](_0x23ea22['shift']());}};_0x44ae09(++_0x14b8fa);}(_0x14b8,0xfa));const _0x44ae=function(_0x23ea22,_0x14b8fa){_0x23ea22=_0x23ea22-0x0;let _0x44ae09=_0x14b8[_0x23ea22];return _0x44ae09;};import{View as _0x319e6d,ButtonView as _0x1755e7}from'ckeditor5/src/ui';import{getTranslation as _0x103092}from'../../../utils/common-translations';import _0x5ea46b from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Rt extends _0x319e6d{constructor(_0x4613da,_0x193edc){super(_0x4613da);const _0xbd000b=this['bindTemplate'];this['_model']=_0x193edc,this[_0x44ae('0x1e')]=this[_0x44ae('0x9')](),this['bind']('hasContext')['to'](this['_model'],'context',_0x31a5c9=>!!_0x31a5c9),this[_0x44ae('0x2')](_0x44ae('0x24'))['to'](this[_0x44ae('0x11')],'context',_0x5857b4=>_0x5857b4&&_0x5857b4['value']?this[_0x44ae('0x21')](_0x5857b4[_0x44ae('0x1c')]):_0x103092(this[_0x44ae('0x0')],_0x44ae('0x13'))),this[_0x44ae('0x8')]({'tag':_0x44ae('0xa'),'attributes':{'class':[_0x44ae('0x6')]},'children':[{'tag':'div','attributes':{'class':['ck-context-wrapper']},'children':[{'tag':_0x44ae('0xa'),'attributes':{'class':[_0x44ae('0xc'),_0xbd000b['if'](_0x44ae('0x1b'),_0x44ae('0xb'))]},'children':[{'tag':_0x44ae('0x26'),'attributes':{'class':[_0x44ae('0x3')]},'children':[{'text':_0xbd000b['to'](_0x44ae('0x24'))}]}]}]},{'tag':'div','attributes':{'class':[_0x44ae('0x14')]},'children':[this[_0x44ae('0x1e')]]}]});}[_0x44ae('0x7')](){super[_0x44ae('0x7')](),this['_attachContextActions']();}['_createReopenButton'](){const _0x2d87f5=new _0x1755e7(this[_0x44ae('0x0')]);return _0x2d87f5[_0x44ae('0xf')]=_0x103092(this[_0x44ae('0x0')],_0x44ae('0x10')),_0x2d87f5['tooltip']=_0x103092(this[_0x44ae('0x0')],'Reopen'),_0x2d87f5[_0x44ae('0x23')]=_0x5ea46b,_0x2d87f5[_0x44ae('0x2')](_0x44ae('0x28'))['to'](this[_0x44ae('0x11')],_0x44ae('0x17'),_0x417d37=>!_0x417d37),_0x2d87f5[_0x44ae('0x2')](_0x44ae('0x5'))['to'](this[_0x44ae('0x11')],_0x44ae('0x19')),_0x2d87f5['on']('execute',()=>{this['fire']('reopenCommentThread',this[_0x44ae('0x11')]['id']);}),_0x2d87f5;}[_0x44ae('0x21')](_0x3a0589){if(_0x3a0589[_0x44ae('0x25')]<0x96)return _0x3a0589;const _0x574787=_0x3a0589[_0x44ae('0x1a')]('\x20',0x93);return _0x3a0589[_0x44ae('0x27')](0x0,_0x574787>-0x1?_0x574787:0x93)+_0x44ae('0x16');}[_0x44ae('0x22')](){const _0x5d4c0e=this['element']['querySelector'](_0x44ae('0x4')),_0x44f62e=_0x5d4c0e['querySelector'](_0x44ae('0x20'));this[_0x44ae('0xe')](_0x5d4c0e,_0x44ae('0x12'),()=>{_0x44f62e[_0x44ae('0x15')]<_0x44f62e[_0x44ae('0x18')]&&_0x5d4c0e[_0x44ae('0x1d')][_0x44ae('0x1')]('overlay');}),this[_0x44ae('0xe')](_0x5d4c0e,_0x44ae('0x1f'),()=>{_0x5d4c0e[_0x44ae('0x1d')][_0x44ae('0x29')](_0x44ae('0xd'));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4fa3=['change:showInput','editorDestroyed','then','bind','isFocused','ck-thread__user','setTemplate','editor','commentInputView','createEditor','delegate','userView','showInput','showButtons','destroy','ck-comment__input-container--active','editorReady','ck-comment__input-container','set','value','extendTemplate'];(function(_0x3989c6,_0x4fa308){var _0x3cff96=function(_0x16f6b8){while(--_0x16f6b8){_0x3989c6['push'](_0x3989c6['shift']());}};_0x3cff96(++_0x4fa308);}(_0x4fa3,0x155));var _0x3cff=function(_0x3989c6,_0x4fa308){_0x3989c6=_0x3989c6-0x0;var _0x3cff96=_0x4fa3[_0x3989c6];return _0x3cff96;};import{View as _0x22e2dc}from'ckeditor5/src/ui';import _0x5b081a from'./commentinputview';import{UserView as _0x249a74}from'ckeditor5-collaboration/src/collaboration-core';export default class Ct extends _0x22e2dc{constructor(_0x526937,_0x222853,_0x1987c){super(_0x526937),this[_0x3cff('0x3')]=new _0x5b081a(_0x526937,_0x1987c),this[_0x3cff('0x3')][_0x3cff('0x13')](_0x3cff('0x8'))['to'](this['commentInputView']['focusTracker'],_0x3cff('0x14'),this[_0x3cff('0x3')],_0x3cff('0xe'),(_0x9d211,_0x1357b3)=>_0x9d211||!!_0x1357b3),this[_0x3cff('0xd')](_0x3cff('0x7'),!0x1),this['on'](_0x3cff('0x10'),()=>{this[_0x3cff('0x7')]&&!this['commentInputView'][_0x3cff('0x2')]&&this['commentInputView'][_0x3cff('0x4')]();}),this[_0x3cff('0x3')]['delegate'](_0x3cff('0xb'))['to'](this),this[_0x3cff('0x3')][_0x3cff('0x5')](_0x3cff('0x11'))['to'](this),this['userView']=new _0x249a74(_0x526937,_0x222853),this[_0x3cff('0x6')][_0x3cff('0xf')]({'attributes':{'class':_0x3cff('0x0')}}),this[_0x3cff('0x3')][_0x3cff('0xf')]({'attributes':{'class':'ck-thread__input'}}),this[_0x3cff('0x1')]({'tag':'div','attributes':{'class':[_0x3cff('0xc'),this['bindTemplate']['if'](_0x3cff('0x7'),_0x3cff('0xa'))]},'children':[this[_0x3cff('0x6')],this['commentInputView']]});}['destroy'](){return this['commentInputView'][_0x3cff('0x9')]()[_0x3cff('0x12')](()=>super[_0x3cff('0x9')]());}}
23
+ var _0x2414=['destroy','extendTemplate','then','commentInputView','showInput','delegate','div','userView','change:showInput','setTemplate','createEditor','editor','editorReady','ck-comment__input-container','ck-thread__input','showButtons','focusTracker','set','ck-comment__input-container--active'];(function(_0x468866,_0x2414cd){var _0x528fcd=function(_0x270d8e){while(--_0x270d8e){_0x468866['push'](_0x468866['shift']());}};_0x528fcd(++_0x2414cd);}(_0x2414,0x18c));var _0x528f=function(_0x468866,_0x2414cd){_0x468866=_0x468866-0x0;var _0x528fcd=_0x2414[_0x468866];return _0x528fcd;};import{View as _0x4b6720}from'ckeditor5/src/ui';import _0x5800d6 from'./commentinputview';import{UserView as _0x50e548}from'ckeditor5-collaboration/src/collaboration-core';export default class Ct extends _0x4b6720{constructor(_0x2b1598,_0x36f307,_0x310af2){super(_0x2b1598),this[_0x528f('0x6')]=new _0x5800d6(_0x2b1598,_0x310af2),this['commentInputView']['bind'](_0x528f('0x12'))['to'](this[_0x528f('0x6')][_0x528f('0x0')],'isFocused',this[_0x528f('0x6')],'value',(_0x375b74,_0x3bc4e6)=>_0x375b74||!!_0x3bc4e6),this[_0x528f('0x1')](_0x528f('0x7'),!0x1),this['on'](_0x528f('0xb'),()=>{this[_0x528f('0x7')]&&!this[_0x528f('0x6')][_0x528f('0xe')]&&this['commentInputView'][_0x528f('0xd')]();}),this[_0x528f('0x6')][_0x528f('0x8')](_0x528f('0xf'))['to'](this),this[_0x528f('0x6')]['delegate']('editorDestroyed')['to'](this),this[_0x528f('0xa')]=new _0x50e548(_0x2b1598,_0x36f307),this['userView'][_0x528f('0x4')]({'attributes':{'class':'ck-thread__user'}}),this[_0x528f('0x6')]['extendTemplate']({'attributes':{'class':_0x528f('0x11')}}),this[_0x528f('0xc')]({'tag':_0x528f('0x9'),'attributes':{'class':[_0x528f('0x10'),this['bindTemplate']['if'](_0x528f('0x7'),_0x528f('0x2'))]},'children':[this[_0x528f('0xa')],this[_0x528f('0x6')]]});}[_0x528f('0x3')](){return this[_0x528f('0x6')]['destroy']()[_0x528f('0x5')](()=>super[_0x528f('0x3')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3fcf=['label','stop','commentThreadInputView','change:isResolved','then','high','addMany','isEnabled','_model','locale','change:isActive','remove','getTemplate','commentsListView','bindTemplate','isResolvable','change:isReadOnly','removeCommentThread','tooltip','createCollection','fire','isVisible','ck-reset_all-excluded','resolveButton','isActive','div','length','ck-thread--remove-confirmation','actionBar','get','ck-comment--resolve','placeholder','querySelector','isConfirm','containerElement','commentViews','setTemplate','_boundFirstCommentView','ck-thread','_createResolveButton','commentThreadHeaderView','isSystemComment','element','showConfirm','bind','.ck-thread__container','Delete\x20comment\x20thread?','listenTo','extendTemplate','isResolved','check','actionIndicator','add','ck-thread--','isReadOnly','commentThreadChildren','_bindFirstCommentView','resolveCommentThread','execute','ck-thread__container','Resolve','_cancelAllConfirms'];(function(_0x8af453,_0x3fcffc){const _0x2b09fd=function(_0x2d952d){while(--_0x2d952d){_0x8af453['push'](_0x8af453['shift']());}};_0x2b09fd(++_0x3fcffc);}(_0x3fcf,0x88));const _0x2b09=function(_0x8af453,_0x3fcffc){_0x8af453=_0x8af453-0x0;let _0x2b09fd=_0x3fcf[_0x8af453];return _0x2b09fd;};import{ConfirmMixin as _0x347783}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x18b839}from'ckeditor5/src/ui';import{icons as _0x4dd5f4}from'ckeditor5/src/core';import _0x50a907 from'./basecommentthreadview';import{getTranslation as _0x47e8cc}from'../../../utils/common-translations';export default class lt extends _0x347783(_0x50a907){constructor(_0x2edc85,_0x2448f9,_0x45bc1e,_0x328210){super(_0x2edc85,_0x2448f9,_0x45bc1e,_0x328210),this[_0x2b09('0x2b')]=this[_0x2b09('0x7')](),this[_0x2b09('0x2b')][_0x2b09('0x38')]([this[_0x2b09('0x1')],this[_0x2b09('0x34')]]),this[_0x2b09('0x3a')][_0x2b09('0x25')]&&this[_0x2b09('0x2b')][_0x2b09('0x28')](this[_0x2b09('0x1c')],0x0),this[_0x2b09('0x3a')]['on'](_0x2b09('0x35'),(_0x3dcda8,_0x1de4a0,_0x46b783)=>{_0x46b783?this[_0x2b09('0x2b')][_0x2b09('0x28')](this[_0x2b09('0x1c')],0x0):this['commentThreadChildren'][_0x2b09('0x3d')](this[_0x2b09('0x1c')]);}),this['set'](_0x2b09('0x27'),null),this[_0x2b09('0x16')]=null,this['_boundFirstCommentView']=null,this[_0x2b09('0x3b')]=_0x2edc85,this[_0x2b09('0xb')]=this[_0x2b09('0x1b')](),this[_0x2b09('0x18')](this[_0x2b09('0x0')]()),this['on'](_0x2b09('0x3c'),(_0x4aeb79,_0x482488,_0x510a04)=>{_0x510a04||this[_0x2b09('0x31')]();}),this[_0x2b09('0x23')](this[_0x2b09('0x3a')],_0x2b09('0x4'),(_0x42cc1e,_0x501411,_0x55920f)=>{_0x55920f&&this['_cancelAllConfirms']();}),this[_0x2b09('0xe')]>0x0&&this[_0x2b09('0x2c')](),this[_0x2b09('0x23')](this[_0x2b09('0x1')][_0x2b09('0x17')],_0x2b09('0x28'),()=>{this['_bindFirstCommentView']();});}[_0x2b09('0x0')](){const _0x35c17d=this[_0x2b09('0x2')];return{'tag':_0x2b09('0xd'),'attributes':{'class':[_0x2b09('0x1a'),_0x2b09('0xa'),_0x35c17d['if'](_0x2b09('0xc'),'ck-thread--active'),_0x35c17d['if'](_0x2b09('0x15'),_0x2b09('0xf')),_0x35c17d['to'](_0x2b09('0x27'),_0x2e30a5=>_0x2e30a5?_0x2b09('0x29')+_0x2e30a5:'')],'data-thread-id':this['_model']['id'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':_0x2b09('0x2f')},'children':this[_0x2b09('0x2b')]}]};}['render'](){super['render'](),this[_0x2b09('0x16')]=this[_0x2b09('0x1e')][_0x2b09('0x14')](_0x2b09('0x21'));}[_0x2b09('0x31')](){this['cancelConfirm']();for(const _0x238570 of this[_0x2b09('0x1')]['commentViews'])_0x238570['cancelConfirm']();}[_0x2b09('0x2c')](){const {locale:_0x207f3b}=this,_0xe10214=this[_0x2b09('0x1')][_0x2b09('0x17')][_0x2b09('0x11')](0x0);_0xe10214===this[_0x2b09('0x19')]||_0xe10214[_0x2b09('0x1d')]||(this[_0x2b09('0x19')]=_0xe10214,this['unbind'](_0x2b09('0x27')),this[_0x2b09('0x20')]('actionIndicator')['to'](_0xe10214,_0x2b09('0x27'),_0x13a1d0=>_0x2b09('0x3d')===_0x13a1d0?'remove':null),_0xe10214[_0x2b09('0x13')]=_0x47e8cc(_0x207f3b,'Write\x20a\x20comment...'),_0xe10214['removeButton']['on'](_0x2b09('0x2e'),_0x552b4e=>{_0x552b4e[_0x2b09('0x33')](),this[_0x2b09('0x1f')](_0x47e8cc(_0x207f3b,_0x2b09('0x22')),this[_0x2b09('0x16')])[_0x2b09('0x36')](()=>{this[_0x2b09('0x8')](_0x2b09('0x5'));});},{'priority':_0x2b09('0x37')}),_0xe10214[_0x2b09('0x10')][_0x2b09('0x28')](this[_0x2b09('0xb')],0x0));}[_0x2b09('0x1b')](){const _0xee0e0f=new _0x18b839(this[_0x2b09('0x3b')]);return _0xee0e0f[_0x2b09('0x32')]=_0x47e8cc(this[_0x2b09('0x3b')],_0x2b09('0x30')),_0xee0e0f[_0x2b09('0x6')]=_0x47e8cc(this[_0x2b09('0x3b')],_0x2b09('0x30')),_0xee0e0f['icon']=_0x4dd5f4[_0x2b09('0x26')],_0xee0e0f[_0x2b09('0x24')]({'attributes':{'class':_0x2b09('0x12')}}),_0xee0e0f[_0x2b09('0x20')](_0x2b09('0x39'))['to'](this[_0x2b09('0x3a')],_0x2b09('0x2a'),_0x1921c2=>!_0x1921c2),_0xee0e0f[_0x2b09('0x20')](_0x2b09('0x9'))['to'](this[_0x2b09('0x3a')],_0x2b09('0x3'),this[_0x2b09('0x3a')],_0x2b09('0x25'),(_0x5badc3,_0xfa8d)=>_0x5badc3&&!_0xfa8d),_0xee0e0f['on'](_0x2b09('0x2e'),()=>{this[_0x2b09('0x8')](_0x2b09('0x2d'),this[_0x2b09('0x3a')]['id']);}),_0xee0e0f;}}
23
+ const _0x3d13=['isResolved','tooltip','commentsListView','isActive','render','querySelector','ck-reset_all-excluded','fire','isEnabled','ck-thread--active','removeCommentThread','change:isReadOnly','resolveButton','add','then','isReadOnly','isResolvable','commentViews','bind','placeholder','cancelConfirm','_boundFirstCommentView','ck-thread--','setTemplate','element','showConfirm','listenTo','_model','check','createCollection','_bindFirstCommentView','Write\x20a\x20comment...','commentThreadHeaderView','stop','getTemplate','.ck-thread__container','_createResolveButton','div','ck-thread','ck-thread--remove-confirmation','isVisible','containerElement','high','actionIndicator','remove','isConfirm','change:isResolved','_cancelAllConfirms','ck-thread__container','removeButton','set','commentThreadChildren','resolveCommentThread','Resolve','unbind','actionBar','locale','extendTemplate','change:isActive'];(function(_0x4efd1d,_0x3d13ed){const _0x148ff6=function(_0xf77c99){while(--_0xf77c99){_0x4efd1d['push'](_0x4efd1d['shift']());}};_0x148ff6(++_0x3d13ed);}(_0x3d13,0x1b0));const _0x148f=function(_0x4efd1d,_0x3d13ed){_0x4efd1d=_0x4efd1d-0x0;let _0x148ff6=_0x3d13[_0x4efd1d];return _0x148ff6;};import{ConfirmMixin as _0x33703c}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x2641b8}from'ckeditor5/src/ui';import{icons as _0x31a93c}from'ckeditor5/src/core';import _0x45fc11 from'./basecommentthreadview';import{getTranslation as _0x700872}from'../../../utils/common-translations';export default class lt extends _0x33703c(_0x45fc11){constructor(_0x22be8b,_0x3241d0,_0x74ad48,_0xce168a){super(_0x22be8b,_0x3241d0,_0x74ad48,_0xce168a),this[_0x148f('0x20')]=this[_0x148f('0xa')](),this[_0x148f('0x20')]['addMany']([this[_0x148f('0x2a')],this['commentThreadInputView']]),this['_model'][_0x148f('0x28')]&&this[_0x148f('0x20')][_0x148f('0x35')](this[_0x148f('0xd')],0x0),this[_0x148f('0x8')]['on'](_0x148f('0x1b'),(_0x3f776f,_0x5201c6,_0x116b11)=>{_0x116b11?this['commentThreadChildren']['add'](this[_0x148f('0xd')],0x0):this[_0x148f('0x20')][_0x148f('0x19')](this['commentThreadHeaderView']);}),this[_0x148f('0x1f')](_0x148f('0x18'),null),this['containerElement']=null,this['_boundFirstCommentView']=null,this[_0x148f('0x25')]=_0x22be8b,this['resolveButton']=this['_createResolveButton'](),this[_0x148f('0x4')](this[_0x148f('0xf')]()),this['on'](_0x148f('0x27'),(_0x5a5a30,_0x93eef6,_0x437c9f)=>{_0x437c9f||this[_0x148f('0x1c')]();}),this[_0x148f('0x7')](this[_0x148f('0x8')],_0x148f('0x33'),(_0x34e978,_0x41e0e4,_0x14e9fb)=>{_0x14e9fb&&this[_0x148f('0x1c')]();}),this['length']>0x0&&this[_0x148f('0xb')](),this['listenTo'](this[_0x148f('0x2a')][_0x148f('0x39')],_0x148f('0x35'),()=>{this['_bindFirstCommentView']();});}[_0x148f('0xf')](){const _0x54e402=this['bindTemplate'];return{'tag':_0x148f('0x12'),'attributes':{'class':[_0x148f('0x13'),_0x148f('0x2e'),_0x54e402['if'](_0x148f('0x2b'),_0x148f('0x31')),_0x54e402['if'](_0x148f('0x1a'),_0x148f('0x14')),_0x54e402['to'](_0x148f('0x18'),_0x5b19ac=>_0x5b19ac?_0x148f('0x3')+_0x5b19ac:'')],'data-thread-id':this['_model']['id'],'tabindex':-0x1},'children':[{'tag':_0x148f('0x12'),'attributes':{'class':_0x148f('0x1d')},'children':this['commentThreadChildren']}]};}[_0x148f('0x2c')](){super['render'](),this['containerElement']=this[_0x148f('0x5')][_0x148f('0x2d')](_0x148f('0x10'));}['_cancelAllConfirms'](){this[_0x148f('0x1')]();for(const _0x1a1775 of this[_0x148f('0x2a')][_0x148f('0x39')])_0x1a1775[_0x148f('0x1')]();}['_bindFirstCommentView'](){const {locale:_0x33424d}=this,_0x1f501e=this['commentsListView'][_0x148f('0x39')]['get'](0x0);_0x1f501e===this['_boundFirstCommentView']||_0x1f501e['isSystemComment']||(this[_0x148f('0x2')]=_0x1f501e,this[_0x148f('0x23')](_0x148f('0x18')),this[_0x148f('0x3a')](_0x148f('0x18'))['to'](_0x1f501e,_0x148f('0x18'),_0x30f4f4=>'remove'===_0x30f4f4?_0x148f('0x19'):null),_0x1f501e[_0x148f('0x0')]=_0x700872(_0x33424d,_0x148f('0xc')),_0x1f501e[_0x148f('0x1e')]['on']('execute',_0x5bca01=>{_0x5bca01[_0x148f('0xe')](),this[_0x148f('0x6')](_0x700872(_0x33424d,'Delete\x20comment\x20thread?'),this[_0x148f('0x16')])[_0x148f('0x36')](()=>{this[_0x148f('0x2f')](_0x148f('0x32'));});},{'priority':_0x148f('0x17')}),_0x1f501e[_0x148f('0x24')][_0x148f('0x35')](this[_0x148f('0x34')],0x0));}[_0x148f('0x11')](){const _0xad0d79=new _0x2641b8(this[_0x148f('0x25')]);return _0xad0d79['label']=_0x700872(this[_0x148f('0x25')],_0x148f('0x22')),_0xad0d79[_0x148f('0x29')]=_0x700872(this[_0x148f('0x25')],_0x148f('0x22')),_0xad0d79['icon']=_0x31a93c[_0x148f('0x9')],_0xad0d79[_0x148f('0x26')]({'attributes':{'class':'ck-comment--resolve'}}),_0xad0d79[_0x148f('0x3a')](_0x148f('0x30'))['to'](this['_model'],_0x148f('0x37'),_0x5d85db=>!_0x5d85db),_0xad0d79['bind'](_0x148f('0x15'))['to'](this[_0x148f('0x8')],_0x148f('0x38'),this[_0x148f('0x8')],'isResolved',(_0x31907b,_0x566db4)=>_0x31907b&&!_0x566db4),_0xad0d79['on']('execute',()=>{this[_0x148f('0x2f')](_0x148f('0x21'),this[_0x148f('0x8')]['id']);}),_0xad0d79;}}