@ckeditor/ckeditor5-comments 0.0.0-nightly-20230818.1 → 0.0.0-nightly-20230820.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/build/comments.js +1 -1
  2. package/package.json +3 -3
  3. package/src/annotations/annotation.js +1 -1
  4. package/src/annotations/annotationcollection.js +1 -1
  5. package/src/annotations/annotations.js +1 -1
  6. package/src/annotations/annotationsuis.js +1 -1
  7. package/src/annotations/editorannotations.js +1 -1
  8. package/src/annotations/inlineannotations.js +1 -1
  9. package/src/annotations/narrowsidebar.js +1 -1
  10. package/src/annotations/sidebar.js +1 -1
  11. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  12. package/src/annotations/view/annotationview.js +1 -1
  13. package/src/annotations/view/sidebaritemview.js +1 -1
  14. package/src/annotations/view/sidebarview.js +1 -1
  15. package/src/annotations/widesidebar.js +1 -1
  16. package/src/comments/addcommentthreadcommand.js +1 -1
  17. package/src/comments/commentsarchive.js +1 -1
  18. package/src/comments/commentsarchiveui.js +1 -1
  19. package/src/comments/commentsediting.js +1 -1
  20. package/src/comments/commentsrepository.js +1 -1
  21. package/src/comments/commentsui.js +1 -1
  22. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  23. package/src/comments/integrations/importword.js +1 -1
  24. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  25. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  26. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  27. package/src/comments/ui/commentthreadcontroller.js +1 -1
  28. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  29. package/src/comments/ui/view/basecommentview.js +1 -1
  30. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  31. package/src/comments/ui/view/commentcontentview.js +1 -1
  32. package/src/comments/ui/view/commentinputview.js +1 -1
  33. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  34. package/src/comments/ui/view/commentslistview.js +1 -1
  35. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  36. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  37. package/src/comments/ui/view/commentthreadview.js +1 -1
  38. package/src/comments/ui/view/commentview.js +1 -1
  39. package/src/comments.js +1 -1
  40. package/src/commentsonly.js +1 -1
  41. package/src/utils/common-translations.js +1 -1
  42. package/src/utils/createmutationobserver.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5342=['listenTo','plugins','importWord','get','define','dataInsert','forEach','collaboration_features','editor','importWord.commentsStyles','map','afterInit','high','basic','execute','commands','config','_handleImportedData','collaboration.channelId'];(function(_0x54b043,_0x53425d){const _0x41745d=function(_0x14f22b){while(--_0x14f22b){_0x54b043['push'](_0x54b043['shift']());}};_0x41745d(++_0x53425d);}(_0x5342,0x1c8));const _0x4174=function(_0x54b043,_0x53425d){_0x54b043=_0x54b043-0x0;let _0x41745d=_0x5342[_0x54b043];return _0x41745d;};import{Plugin as _0x51d8dd}from'ckeditor5/src/core';import{priorities as _0x22d619}from'ckeditor5/src/utils';import{Users as _0x265e54}from'ckeditor5-collaboration/src/collaboration-core';import _0x4abcd3 from'../commentsrepository';export default class Y extends _0x51d8dd{constructor(_0x1c71ca){super(_0x1c71ca),this['editor'][_0x4174('0x10')][_0x4174('0x4')](_0x4174('0x9'),_0x4174('0xd'));}[_0x4174('0xb')](){const _0x295d30=this[_0x4174('0x8')],_0xc62d84=_0x295d30[_0x4174('0xf')][_0x4174('0x3')](_0x4174('0x2')),_0x49a494=_0x295d30['plugins']['get'](_0x265e54);_0xc62d84&&(_0xc62d84['on'](_0x4174('0xe'),(_0x1af25a,[,_0xa89bf])=>{_0xa89bf[_0x4174('0x7')]={'comments':!0x0,'user_id':_0x49a494['me']['id'],'comments_styles':this['editor'][_0x4174('0x10')][_0x4174('0x3')](_0x4174('0x9'))};},{'priority':_0x22d619[_0x4174('0xc')]+0xa}),this[_0x4174('0x0')](_0xc62d84,_0x4174('0x5'),this[_0x4174('0x11')]));}[_0x4174('0x11')](_0x448028,_0x83f1a4){const {comment_threads:_0x157236}=_0x83f1a4;_0x157236&&_0x157236[_0x4174('0x6')](({thread_id:_0x24c5d6,comments:_0x465f9d,is_resolved:_0x1d671a})=>{const _0x111b64=new Date(),_0x4e9861=_0x465f9d[_0x4174('0xa')](({author:_0xb9a9b2,content:_0x3e138f,created_at:_0x347170})=>({'content':_0x3e138f,'authorId':this[_0x4174('0x8')]['plugins'][_0x4174('0x3')](_0x265e54)['me']['id'],'createdAt':_0x111b64,'attributes':{'@external':{'authorName':_0xb9a9b2,'createdAt':_0x347170?new Date(_0x347170):new Date(),'source':_0x4174('0x2')}}})),_0x1ce74d=this['editor']['config'][_0x4174('0x3')](_0x4174('0x12'));this[_0x4174('0x8')][_0x4174('0x1')][_0x4174('0x3')](_0x4abcd3)['addCommentThread']({'channelId':_0x1ce74d,'threadId':_0x24c5d6,'comments':_0x4e9861,'resolvedAt':_0x1d671a?_0x111b64:null});});}}
23
+ const _0x1a0a=['listenTo','config','collaboration.channelId','map','basic','importWord.commentsStyles','get','addCommentThread','editor','_handleImportedData','plugins','execute','importWord','collaboration_features'];(function(_0x5748dd,_0x1a0ac1){const _0x17db9f=function(_0x55d7a6){while(--_0x55d7a6){_0x5748dd['push'](_0x5748dd['shift']());}};_0x17db9f(++_0x1a0ac1);}(_0x1a0a,0x1d3));const _0x17db=function(_0x5748dd,_0x1a0ac1){_0x5748dd=_0x5748dd-0x0;let _0x17db9f=_0x1a0a[_0x5748dd];return _0x17db9f;};import{Plugin as _0x4eb688}from'ckeditor5/src/core';import{priorities as _0x34dbe7}from'ckeditor5/src/utils';import{Users as _0x38e886}from'ckeditor5-collaboration/src/collaboration-core';import _0x3017d2 from'../commentsrepository';export default class Y extends _0x4eb688{constructor(_0x542a6d){super(_0x542a6d),this['editor'][_0x17db('0xa')]['define'](_0x17db('0x0'),_0x17db('0xd'));}['afterInit'](){const _0x345e71=this[_0x17db('0x3')],_0xadaac4=_0x345e71['commands'][_0x17db('0x1')](_0x17db('0x7')),_0x477a2c=_0x345e71[_0x17db('0x5')][_0x17db('0x1')](_0x38e886);_0xadaac4&&(_0xadaac4['on'](_0x17db('0x6'),(_0x2dfb3f,[,_0x344a1e])=>{_0x344a1e[_0x17db('0x8')]={'comments':!0x0,'user_id':_0x477a2c['me']['id'],'comments_styles':this[_0x17db('0x3')][_0x17db('0xa')][_0x17db('0x1')](_0x17db('0x0'))};},{'priority':_0x34dbe7['high']+0xa}),this[_0x17db('0x9')](_0xadaac4,'dataInsert',this[_0x17db('0x4')]));}['_handleImportedData'](_0x161ef6,_0x241577){const {comment_threads:_0x1ab5c9}=_0x241577;_0x1ab5c9&&_0x1ab5c9['forEach'](({thread_id:_0xe3a24c,comments:_0x459f09,is_resolved:_0x2ebbcc})=>{const _0x24c948=new Date(),_0x3345b3=_0x459f09[_0x17db('0xc')](({author:_0x1ba01d,content:_0x29e382,created_at:_0x4d5f85})=>({'content':_0x29e382,'authorId':this[_0x17db('0x3')][_0x17db('0x5')]['get'](_0x38e886)['me']['id'],'createdAt':_0x24c948,'attributes':{'@external':{'authorName':_0x1ba01d,'createdAt':_0x4d5f85?new Date(_0x4d5f85):new Date(),'source':_0x17db('0x7')}}})),_0xa3f532=this[_0x17db('0x3')][_0x17db('0xa')][_0x17db('0x1')](_0x17db('0xb'));this[_0x17db('0x3')][_0x17db('0x5')]['get'](_0x3017d2)[_0x17db('0x2')]({'channelId':_0xa3f532,'threadId':_0xe3a24c,'comments':_0x3345b3,'resolvedAt':_0x2ebbcc?_0x24c948:null});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1933=['plugins','get','getChild','defaultPlugins','getRoot','initPlugins','model','initialData','ready','name','editing','low','document','end','placeholder','view','change:placeholder','set','assign','focus','_updatePlaceholder','config','init','placeholderElement','destroy','then','childCount','change','setSelection','createRoot'];(function(_0x3856e8,_0x1933b9){const _0x4d1d11=function(_0x5f3c04){while(--_0x5f3c04){_0x3856e8['push'](_0x3856e8['shift']());}};_0x4d1d11(++_0x1933b9);}(_0x1933,0x150));const _0x4d1d=function(_0x3856e8,_0x1933b9){_0x3856e8=_0x3856e8-0x0;let _0x4d1d11=_0x1933[_0x3856e8];return _0x4d1d11;};import{Editor as _0x4ad7c5,DataApiMixin as _0x4f00d1}from'ckeditor5/src/core';import _0x210ac8 from'./commenteditorui';import{ObservableMixin as _0x232f46}from'ckeditor5/src/utils';import{enablePlaceholder as _0x1ef125,disablePlaceholder as _0x1424b5}from'ckeditor5/src/engine';import{Clipboard as _0x27b117}from'ckeditor5/src/clipboard';import{Enter as _0x2ff932,ShiftEnter as _0x207421}from'ckeditor5/src/enter';import{SelectAll as _0x164027}from'ckeditor5/src/select-all';import{Typing as _0x4015e8}from'ckeditor5/src/typing';import{Undo as _0x5359d8}from'ckeditor5/src/undo';import{Paragraph as _0x2f6e18}from'ckeditor5/src/paragraph';const Kt=[_0x27b117,_0x2ff932,_0x207421,_0x164027,_0x4015e8,_0x5359d8,_0x2f6e18];export default class Lt extends _0x232f46(_0x4f00d1(_0x4ad7c5)){constructor(_0x56f5e1={}){(_0x56f5e1=Object[_0x4d1d('0xc')]({},_0x56f5e1))[_0x4d1d('0x18')]||(_0x56f5e1['plugins']=Lt['defaultPlugins']),super(_0x56f5e1),this['ui']=new _0x210ac8(this),this[_0x4d1d('0xb')](_0x4d1d('0x8'),''),this['model'][_0x4d1d('0x6')]['on'](_0x4d1d('0x15'),()=>this['_updatePlaceholder'](),{'priority':_0x4d1d('0x5')}),this['on'](_0x4d1d('0xa'),()=>this['_updatePlaceholder']()),this['model'][_0x4d1d('0x6')][_0x4d1d('0x17')]();}['create'](){const _0x53c13d=this[_0x4d1d('0xf')][_0x4d1d('0x19')](_0x4d1d('0x1'))||'';return this[_0x4d1d('0x1d')]()[_0x4d1d('0x13')](()=>this['ui'][_0x4d1d('0x10')]())[_0x4d1d('0x13')](()=>this['data'][_0x4d1d('0x10')](_0x53c13d))[_0x4d1d('0x13')](()=>this['fire'](_0x4d1d('0x2')));}[_0x4d1d('0x12')](){return super[_0x4d1d('0x12')]()[_0x4d1d('0x13')](()=>this['ui']['destroy']());}[_0x4d1d('0xd')](){this[_0x4d1d('0x0')][_0x4d1d('0x15')](_0x292aae=>{const _0x1fa61d=this['model'][_0x4d1d('0x6')][_0x4d1d('0x1c')](),_0x248d8d=_0x1fa61d&&_0x1fa61d[_0x4d1d('0x1a')](_0x1fa61d['childCount']-0x1);_0x292aae[_0x4d1d('0x16')](_0x248d8d,_0x4d1d('0x7')),this[_0x4d1d('0x4')]['view'][_0x4d1d('0xd')]();});}[_0x4d1d('0xe')](){const _0x103712=this['editing'][_0x4d1d('0x9')],_0x3205cf=_0x103712[_0x4d1d('0x6')][_0x4d1d('0x1c')](),_0x105b04=_0x3205cf[_0x4d1d('0x1a')](0x0);_0x3205cf[_0x4d1d('0x14')]>0x1||!_0x105b04||'p'!=_0x105b04[_0x4d1d('0x3')]?this[_0x4d1d('0x11')]&&this[_0x4d1d('0x11')][_0x4d1d('0x8')]&&(_0x1424b5(_0x103712,this[_0x4d1d('0x11')]),this[_0x4d1d('0x11')]=void 0x0):(this[_0x4d1d('0x8')]&&(_0x105b04[_0x4d1d('0x8')]=this[_0x4d1d('0x8')]),_0x1ef125({'view':_0x103712,'element':_0x105b04,'keepOnFocus':!0x0}),this[_0x4d1d('0x11')]=_0x105b04);}}Lt[_0x4d1d('0x1b')]=Kt;
23
+ const _0x216e=['end','data','childCount','ready','get','view','change','getRoot','assign','placeholderElement','initialData','init','initPlugins','model','then','destroy','low','focus','_updatePlaceholder','create','config','placeholder','plugins','defaultPlugins','document','name','editing','change:placeholder','getChild','setSelection','fire'];(function(_0x26c4ce,_0x216e70){const _0x373492=function(_0x3b6c84){while(--_0x3b6c84){_0x26c4ce['push'](_0x26c4ce['shift']());}};_0x373492(++_0x216e70);}(_0x216e,0x106));const _0x3734=function(_0x26c4ce,_0x216e70){_0x26c4ce=_0x26c4ce-0x0;let _0x373492=_0x216e[_0x26c4ce];return _0x373492;};import{Editor as _0x5c0005,DataApiMixin as _0x22a457}from'ckeditor5/src/core';import _0x139cec from'./commenteditorui';import{ObservableMixin as _0x4a666d}from'ckeditor5/src/utils';import{enablePlaceholder as _0x16c3a2,disablePlaceholder as _0x225cc4}from'ckeditor5/src/engine';import{Clipboard as _0x2083a1}from'ckeditor5/src/clipboard';import{Enter as _0x2a199f,ShiftEnter as _0x3f4b17}from'ckeditor5/src/enter';import{SelectAll as _0x44b2ea}from'ckeditor5/src/select-all';import{Typing as _0x5e1b00}from'ckeditor5/src/typing';import{Undo as _0x3e8be0}from'ckeditor5/src/undo';import{Paragraph as _0x19f65d}from'ckeditor5/src/paragraph';const Kt=[_0x2083a1,_0x2a199f,_0x3f4b17,_0x44b2ea,_0x5e1b00,_0x3e8be0,_0x19f65d];export default class Lt extends _0x4a666d(_0x22a457(_0x5c0005)){constructor(_0x51a56a={}){(_0x51a56a=Object[_0x3734('0x19')]({},_0x51a56a))[_0x3734('0x8')]||(_0x51a56a[_0x3734('0x8')]=Lt['defaultPlugins']),super(_0x51a56a),this['ui']=new _0x139cec(this),this['set']('placeholder',''),this['model'][_0x3734('0xa')]['on']('change',()=>this[_0x3734('0x4')](),{'priority':_0x3734('0x2')}),this['on'](_0x3734('0xd'),()=>this['_updatePlaceholder']()),this[_0x3734('0x1e')][_0x3734('0xa')]['createRoot']();}[_0x3734('0x5')](){const _0x45f361=this[_0x3734('0x6')][_0x3734('0x15')](_0x3734('0x1b'))||'';return this[_0x3734('0x1d')]()[_0x3734('0x0')](()=>this['ui'][_0x3734('0x1c')]())[_0x3734('0x0')](()=>this[_0x3734('0x12')]['init'](_0x45f361))[_0x3734('0x0')](()=>this[_0x3734('0x10')](_0x3734('0x14')));}['destroy'](){return super[_0x3734('0x1')]()[_0x3734('0x0')](()=>this['ui'][_0x3734('0x1')]());}[_0x3734('0x3')](){this[_0x3734('0x1e')][_0x3734('0x17')](_0x300327=>{const _0x114227=this['model']['document'][_0x3734('0x18')](),_0x261bed=_0x114227&&_0x114227[_0x3734('0xe')](_0x114227[_0x3734('0x13')]-0x1);_0x300327[_0x3734('0xf')](_0x261bed,_0x3734('0x11')),this[_0x3734('0xc')][_0x3734('0x16')][_0x3734('0x3')]();});}[_0x3734('0x4')](){const _0x1fc75b=this['editing'][_0x3734('0x16')],_0x515df8=_0x1fc75b[_0x3734('0xa')][_0x3734('0x18')](),_0x1418a5=_0x515df8[_0x3734('0xe')](0x0);_0x515df8[_0x3734('0x13')]>0x1||!_0x1418a5||'p'!=_0x1418a5[_0x3734('0xb')]?this[_0x3734('0x1a')]&&this[_0x3734('0x1a')][_0x3734('0x7')]&&(_0x225cc4(_0x1fc75b,this[_0x3734('0x1a')]),this[_0x3734('0x1a')]=void 0x0):(this[_0x3734('0x7')]&&(_0x1418a5[_0x3734('0x7')]=this[_0x3734('0x7')]),_0x16c3a2({'view':_0x1fc75b,'element':_0x1418a5,'keepOnFocus':!0x0}),this[_0x3734('0x1a')]=_0x1418a5);}}Lt[_0x3734('0x9')]=Kt;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46c6=['focusTracker','element','attachDomRoot','ready','bind','setEditableElement','editing','document','name','fire','render','editable','editor','isFocused','locale','view','destroy','getRoot','rootName'];(function(_0x548e97,_0x46c61d){const _0xfbf3a0=function(_0x11550b){while(--_0x11550b){_0x548e97['push'](_0x548e97['shift']());}};_0xfbf3a0(++_0x46c61d);}(_0x46c6,0x1c7));const _0xfbf3=function(_0x548e97,_0x46c61d){_0x548e97=_0x548e97-0x0;let _0xfbf3a0=_0x46c6[_0x548e97];return _0xfbf3a0;};import{EditorUI as _0x889628}from'ckeditor5/src/ui';import _0x1e01e9 from'./commenteditoruiview';export default class jt extends _0x889628{constructor(_0x15a78d){super(_0x15a78d),this[_0xfbf3('0x10')]=new _0x1e01e9(_0x15a78d[_0xfbf3('0xf')],_0x15a78d[_0xfbf3('0x7')][_0xfbf3('0x10')]);}get[_0xfbf3('0x2')](){return this[_0xfbf3('0x10')][_0xfbf3('0x2')];}['init'](){const _0x591bf0=this[_0xfbf3('0xd')][_0xfbf3('0x7')]['view'],_0x16e15e=this[_0xfbf3('0x10')][_0xfbf3('0xc')],_0xe192ae=_0x591bf0[_0xfbf3('0x8')][_0xfbf3('0x12')]();_0x16e15e[_0xfbf3('0x9')]=_0xe192ae[_0xfbf3('0x0')],this['view'][_0xfbf3('0xb')]();const _0x204913=_0x16e15e[_0xfbf3('0x2')];this[_0xfbf3('0x6')](_0x16e15e[_0xfbf3('0x9')],_0x204913),this[_0xfbf3('0x10')][_0xfbf3('0xc')][_0xfbf3('0x5')](_0xfbf3('0xe'))['to'](this[_0xfbf3('0x1')]),_0x591bf0[_0xfbf3('0x3')](_0x204913),this[_0xfbf3('0xa')](_0xfbf3('0x4'));}['destroy'](){super[_0xfbf3('0x11')](),this[_0xfbf3('0x10')][_0xfbf3('0x11')]();}}
23
+ const _0x476c=['editing','setEditableElement','rootName','init','element','editable','fire','ready','name','destroy','bind','isFocused','document','view','render'];(function(_0x5ca0e3,_0x476cda){const _0x53d3de=function(_0x1035fd){while(--_0x1035fd){_0x5ca0e3['push'](_0x5ca0e3['shift']());}};_0x53d3de(++_0x476cda);}(_0x476c,0x1e9));const _0x53d3=function(_0x5ca0e3,_0x476cda){_0x5ca0e3=_0x5ca0e3-0x0;let _0x53d3de=_0x476c[_0x5ca0e3];return _0x53d3de;};import{EditorUI as _0x203cf1}from'ckeditor5/src/ui';import _0x15224a from'./commenteditoruiview';export default class jt extends _0x203cf1{constructor(_0x247780){super(_0x247780),this[_0x53d3('0x4')]=new _0x15224a(_0x247780['locale'],_0x247780[_0x53d3('0x6')]['view']);}get['element'](){return this[_0x53d3('0x4')]['element'];}[_0x53d3('0x9')](){const _0x3b1f12=this['editor'][_0x53d3('0x6')][_0x53d3('0x4')],_0xffea07=this[_0x53d3('0x4')]['editable'],_0x156caa=_0x3b1f12[_0x53d3('0x3')]['getRoot']();_0xffea07[_0x53d3('0xe')]=_0x156caa[_0x53d3('0x8')],this['view'][_0x53d3('0x5')]();const _0xc782fc=_0xffea07[_0x53d3('0xa')];this[_0x53d3('0x7')](_0xffea07[_0x53d3('0xe')],_0xc782fc),this[_0x53d3('0x4')][_0x53d3('0xb')][_0x53d3('0x1')](_0x53d3('0x2'))['to'](this['focusTracker']),_0x3b1f12['attachDomRoot'](_0xc782fc),this[_0x53d3('0xc')](_0x53d3('0xd'));}[_0x53d3('0x0')](){super[_0x53d3('0x0')](),this['view'][_0x53d3('0x0')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x485e=['element','createCollection','cke-editor__aria-label_','_voiceLabelView','add','ck-voice-label','div','editable','render','uiLanguage','ck-editor__main','text','main','focus','comment','ck-comment__input','ck-reset','ck-editor','ck-editor__aria-label_'];(function(_0x51cc2f,_0x485e8d){const _0xf104f0=function(_0x1bd9b5){while(--_0x1bd9b5){_0x51cc2f['push'](_0x51cc2f['shift']());}};_0xf104f0(++_0x485e8d);}(_0x485e,0x1bb));const _0xf104=function(_0x51cc2f,_0x485e8d){_0x51cc2f=_0x51cc2f-0x0;let _0xf104f0=_0x485e[_0x51cc2f];return _0xf104f0;};import{InlineEditableUIView as _0x196a9f,EditorUIView as _0x381f1f,LabelView as _0x4464d2}from'ckeditor5/src/ui';import{uid as _0xe0b445}from'ckeditor5/src/utils';import{getTranslation as _0x49a925}from'../../../utils/common-translations';export default class Nt extends _0x381f1f{constructor(_0x2369b6,_0x36177e){super(_0x2369b6);const _0x69e324=_0xe0b445();this[_0xf104('0x6')]=this[_0xf104('0xe')](),this[_0xf104('0x1')]=new _0x196a9f(_0x2369b6,_0x36177e),this[_0xf104('0x10')]=this['_createVoiceLabel'](_0x69e324,_0x2369b6),this['setTemplate']({'tag':_0xf104('0x0'),'attributes':{'class':[_0xf104('0xa'),_0xf104('0xb'),'ck-rounded-corners',_0xf104('0x9')],'role':_0xf104('0x8'),'dir':_0x2369b6['uiLanguageDirection'],'lang':_0x2369b6[_0xf104('0x3')],'aria-labelledby':_0xf104('0xf')+_0x69e324},'children':[this[_0xf104('0x10')],{'tag':_0xf104('0x0'),'attributes':{'class':_0xf104('0x4'),'role':'presentation'},'children':this[_0xf104('0x6')]}]});}[_0xf104('0x2')](){super[_0xf104('0x2')](),this['main'][_0xf104('0x11')](this[_0xf104('0x1')]);}[_0xf104('0x7')](){this['editable'][_0xf104('0xd')][_0xf104('0x7')]();}['_createVoiceLabel'](_0x423d9b,_0x1a2528){const _0x5d92b2=new _0x4464d2();return _0x5d92b2[_0xf104('0x5')]=_0x49a925(_0x1a2528,'Comment\x20editor'),_0x5d92b2['extendTemplate']({'attributes':{'id':_0xf104('0xc')+_0x423d9b,'class':_0xf104('0x12')}}),_0x5d92b2;}}
23
+ const _0x3bcb=['presentation','_voiceLabelView','div','extendTemplate','Comment\x20editor','ck-voice-label','text','element','ck-comment__input','editable','cke-editor__aria-label_','ck-editor__main','uiLanguage','_createVoiceLabel','uiLanguageDirection','focus','add','ck-rounded-corners','ck-reset'];(function(_0x306f55,_0x3bcbc3){const _0x5c900e=function(_0x445e79){while(--_0x445e79){_0x306f55['push'](_0x306f55['shift']());}};_0x5c900e(++_0x3bcbc3);}(_0x3bcb,0x12f));const _0x5c90=function(_0x306f55,_0x3bcbc3){_0x306f55=_0x306f55-0x0;let _0x5c900e=_0x3bcb[_0x306f55];return _0x5c900e;};import{InlineEditableUIView as _0x55acb7,EditorUIView as _0x29e059,LabelView as _0x8ab55c}from'ckeditor5/src/ui';import{uid as _0x3ec3fa}from'ckeditor5/src/utils';import{getTranslation as _0x3708cf}from'../../../utils/common-translations';export default class Nt extends _0x29e059{constructor(_0x4a0132,_0x1828fe){super(_0x4a0132);const _0x3fa4f0=_0x3ec3fa();this['main']=this['createCollection'](),this[_0x5c90('0xa')]=new _0x55acb7(_0x4a0132,_0x1828fe),this[_0x5c90('0x2')]=this[_0x5c90('0xe')](_0x3fa4f0,_0x4a0132),this['setTemplate']({'tag':_0x5c90('0x3'),'attributes':{'class':[_0x5c90('0x0'),'ck-editor',_0x5c90('0x12'),_0x5c90('0x9')],'role':'comment','dir':_0x4a0132[_0x5c90('0xf')],'lang':_0x4a0132[_0x5c90('0xd')],'aria-labelledby':_0x5c90('0xb')+_0x3fa4f0},'children':[this[_0x5c90('0x2')],{'tag':_0x5c90('0x3'),'attributes':{'class':_0x5c90('0xc'),'role':_0x5c90('0x1')},'children':this['main']}]});}['render'](){super['render'](),this['main'][_0x5c90('0x11')](this[_0x5c90('0xa')]);}[_0x5c90('0x10')](){this[_0x5c90('0xa')][_0x5c90('0x8')]['focus']();}[_0x5c90('0xe')](_0x3b4e35,_0x570f51){const _0x50cbba=new _0x8ab55c();return _0x50cbba[_0x5c90('0x7')]=_0x3708cf(_0x570f51,_0x5c90('0x5')),_0x50cbba[_0x5c90('0x4')]({'attributes':{'id':'ck-editor__aria-label_'+_0x3b4e35,'class':_0x5c90('0x6')}}),_0x50cbba;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1613=['resolveCommentThread','reopenCommentThread','submit','remove','reopen','addComment','stopListening','removeComment','submitCommentThread','updateComment','model','view','listenTo','resolve','removeCommentThread','isResolved','_localUser','_isAttached','getComment'];(function(_0x1be410,_0x1613f4){var _0x229b3c=function(_0x5c6a9f){while(--_0x5c6a9f){_0x1be410['push'](_0x1be410['shift']());}};_0x229b3c(++_0x1613f4);}(_0x1613,0xd9));var _0x229b=function(_0x1be410,_0x1613f4){_0x1be410=_0x1be410-0x0;var _0x229b3c=_0x1613[_0x1be410];return _0x229b3c;};import{ObservableMixin as _0x41adb8}from'ckeditor5/src/utils';export default class ct extends _0x41adb8(){constructor(_0x2c21f7,_0x5f04d1){super(),this[_0x229b('0x2')]=_0x2c21f7,this[_0x229b('0x2')]['_isAttached']=!0x0,this[_0x229b('0x3')]=_0x5f04d1,this['listenTo'](_0x5f04d1,_0x229b('0x0'),()=>this[_0x229b('0xd')]()),this['listenTo'](_0x5f04d1,_0x229b('0x6'),()=>this['remove']()),this[_0x229b('0x4')](_0x5f04d1,_0x229b('0xb'),()=>this[_0x229b('0x5')]()),this[_0x229b('0x4')](_0x5f04d1,_0x229b('0xc'),()=>this[_0x229b('0xf')]()),this[_0x229b('0x4')](_0x5f04d1,_0x229b('0x10'),(_0x53c630,_0x5488c0)=>this[_0x229b('0x10')](_0x5488c0)),this[_0x229b('0x4')](_0x5f04d1,'updateComment',(_0x5d1f37,_0x58b9cc,_0x22ca19)=>this[_0x229b('0x1')](_0x58b9cc,_0x22ca19)),this[_0x229b('0x4')](_0x5f04d1,_0x229b('0x12'),(_0x1f4fcc,_0x19665e)=>this['removeComment'](_0x19665e));}['submit'](){this[_0x229b('0x2')][_0x229b('0xd')]();}[_0x229b('0xe')](){this[_0x229b('0x2')][_0x229b('0xe')]();}[_0x229b('0x5')](){this[_0x229b('0x2')][_0x229b('0x7')]||this[_0x229b('0x2')][_0x229b('0x5')]();}[_0x229b('0xf')](){this[_0x229b('0x2')][_0x229b('0x7')]&&this[_0x229b('0x2')][_0x229b('0xf')]();}[_0x229b('0x10')](_0x50abbd){this[_0x229b('0x2')][_0x229b('0x10')]({'content':_0x50abbd,'authorId':this[_0x229b('0x3')][_0x229b('0x8')]['id']});}[_0x229b('0x1')](_0x28dfaf,_0x4cd61d){this[_0x229b('0x2')][_0x229b('0xa')](_0x28dfaf)['update']({'content':_0x4cd61d});}[_0x229b('0x12')](_0x5938cc){this['model'][_0x229b('0xa')](_0x5938cc)[_0x229b('0xe')]();}['destroy'](){this[_0x229b('0x11')](),this['model'][_0x229b('0x9')]=!0x1;}}
23
+ var _0x6440=['resolveCommentThread','remove','_localUser','reopenCommentThread','updateComment','submit','getComment','_isAttached','isResolved','destroy','stopListening','removeComment','resolve','listenTo','removeCommentThread','reopen','view','model','addComment','submitCommentThread'];(function(_0x3c55d4,_0x644093){var _0x3dfdd6=function(_0x51d487){while(--_0x51d487){_0x3c55d4['push'](_0x3c55d4['shift']());}};_0x3dfdd6(++_0x644093);}(_0x6440,0x161));var _0x3dfd=function(_0x3c55d4,_0x644093){_0x3c55d4=_0x3c55d4-0x0;var _0x3dfdd6=_0x6440[_0x3c55d4];return _0x3dfdd6;};import{ObservableMixin as _0x44a6d8}from'ckeditor5/src/utils';export default class ct extends _0x44a6d8(){constructor(_0x533ee5,_0x2391a5){super(),this[_0x3dfd('0x4')]=_0x533ee5,this[_0x3dfd('0x4')][_0x3dfd('0xe')]=!0x0,this[_0x3dfd('0x3')]=_0x2391a5,this['listenTo'](_0x2391a5,_0x3dfd('0x6'),()=>this['submit']()),this['listenTo'](_0x2391a5,_0x3dfd('0x1'),()=>this[_0x3dfd('0x8')]()),this[_0x3dfd('0x0')](_0x2391a5,_0x3dfd('0x7'),()=>this[_0x3dfd('0x13')]()),this['listenTo'](_0x2391a5,_0x3dfd('0xa'),()=>this[_0x3dfd('0x2')]()),this[_0x3dfd('0x0')](_0x2391a5,_0x3dfd('0x5'),(_0x415897,_0x1c40cf)=>this['addComment'](_0x1c40cf)),this[_0x3dfd('0x0')](_0x2391a5,_0x3dfd('0xb'),(_0x5925db,_0x32cc79,_0x2b39c9)=>this[_0x3dfd('0xb')](_0x32cc79,_0x2b39c9)),this['listenTo'](_0x2391a5,_0x3dfd('0x12'),(_0x174212,_0x3669c5)=>this[_0x3dfd('0x12')](_0x3669c5));}[_0x3dfd('0xc')](){this[_0x3dfd('0x4')][_0x3dfd('0xc')]();}[_0x3dfd('0x8')](){this[_0x3dfd('0x4')][_0x3dfd('0x8')]();}[_0x3dfd('0x13')](){this[_0x3dfd('0x4')]['isResolved']||this[_0x3dfd('0x4')][_0x3dfd('0x13')]();}['reopen'](){this['model'][_0x3dfd('0xf')]&&this['model'][_0x3dfd('0x2')]();}['addComment'](_0xc50e4d){this[_0x3dfd('0x4')][_0x3dfd('0x5')]({'content':_0xc50e4d,'authorId':this['view'][_0x3dfd('0x9')]['id']});}[_0x3dfd('0xb')](_0x44e826,_0x387212){this[_0x3dfd('0x4')]['getComment'](_0x44e826)['update']({'content':_0x387212});}[_0x3dfd('0x12')](_0x1a79f3){this[_0x3dfd('0x4')][_0x3dfd('0xd')](_0x1a79f3)[_0x3dfd('0x8')]();}[_0x3dfd('0x10')](){this[_0x3dfd('0x11')](),this[_0x3dfd('0x4')]['_isAttached']=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5dbb=['submit','resolveCommentThread','locale','submitCommentThread','editorConfig','placeholder','stop','value','length','fire','_config','Reply\x20to\x20reopen\x20discussion...','Comment','removeCommentThread','editorReady','isActive','isResolvable','isResolved','destroy','Write\x20a\x20comment...','commentsListView','addComment','assign','reopenCommentThread','isDirty','removeComment','updateComment','focus','commentThreadInputView','commentInputView','set','_localUser','showInput','isReadOnly','hasDirtyComment','commentThreadHeaderView','_model','bind','editorDestroyed','isSubmitted','canComment','_createCommentThreadInputView','cancel','delegate'];(function(_0xb41647,_0x5dbbd0){const _0x2eb284=function(_0x5980e6){while(--_0x5980e6){_0xb41647['push'](_0xb41647['shift']());}};_0x2eb284(++_0x5dbbd0);}(_0x5dbb,0x93));const _0x2eb2=function(_0xb41647,_0x5dbbd0){_0xb41647=_0xb41647-0x0;let _0x2eb284=_0x5dbb[_0xb41647];return _0x2eb284;};import{View as _0x510cf7}from'ckeditor5/src/ui';import _0x3b70df from'./commentthreadinputview';import _0x4100bc from'./commentslistview';import _0x42c9d9 from'./commentthreadheaderview';import{getTranslation as _0xc5db43}from'../../../utils/common-translations';export default class Tt extends _0x510cf7{constructor(_0x25b5c5,_0x3014e2,_0x40e721,_0x4c3374){super(_0x25b5c5),this['set'](_0x2eb2('0x0'),!0x1),this[_0x2eb2('0xf')](_0x2eb2('0x9'),!0x1),this[_0x2eb2('0x15')]=_0x3014e2,this[_0x2eb2('0x10')]=_0x40e721,this[_0x2eb2('0x27')]=_0x4c3374,this[_0x2eb2('0x14')]=new _0x42c9d9(_0x25b5c5,_0x3014e2),this[_0x2eb2('0x14')][_0x2eb2('0x1c')](_0x2eb2('0x8'))['to'](this),this[_0x2eb2('0x5')]=new _0x4100bc(_0x25b5c5,_0x3014e2,Object[_0x2eb2('0x7')]({'CommentView':this[_0x2eb2('0x27')]['CommentView']},_0x4c3374)),this[_0x2eb2('0x5')][_0x2eb2('0x1c')](_0x2eb2('0xa'))['to'](this),this[_0x2eb2('0x5')][_0x2eb2('0x1c')](_0x2eb2('0xb'))['to'](this),this[_0x2eb2('0x5')]['delegate'](_0x2eb2('0x1e'))['to'](this),this[_0x2eb2('0x5')][_0x2eb2('0x1c')](_0x2eb2('0x2b'))['to'](this),this[_0x2eb2('0x5')][_0x2eb2('0x1c')](_0x2eb2('0x17'))['to'](this),this[_0x2eb2('0x5')][_0x2eb2('0x16')](_0x2eb2('0x0'))['to'](this),this['set'](_0x2eb2('0x25'),this['commentsListView']['length']),this['bind'](_0x2eb2('0x25'))['to'](this[_0x2eb2('0x5')],_0x2eb2('0x25')),this[_0x2eb2('0xd')]=this[_0x2eb2('0x1a')](),this[_0x2eb2('0xd')][_0x2eb2('0x1c')](_0x2eb2('0x2b'))['to'](this),this[_0x2eb2('0xd')]['delegate'](_0x2eb2('0x17'))['to'](this),this['on'](_0x2eb2('0xa'),()=>this[_0x2eb2('0xc')]()),this['bind'](_0x2eb2('0x9'))['to'](this[_0x2eb2('0x5')],_0x2eb2('0x13'),this[_0x2eb2('0xd')][_0x2eb2('0xe')],'value',(_0x566f9a,_0x13de4d)=>_0x566f9a||!!_0x13de4d);}['focus'](){this['element']['focus']();}[_0x2eb2('0x3')](){this[_0x2eb2('0x9')]=!0x1,this['commentsListView'][_0x2eb2('0x3')](),this[_0x2eb2('0xd')][_0x2eb2('0x3')](),super[_0x2eb2('0x3')]();}['_createCommentThreadInputView'](){const _0x149d7d=new _0x3b70df(this[_0x2eb2('0x1f')],this[_0x2eb2('0x10')],this[_0x2eb2('0x27')][_0x2eb2('0x21')]),_0x4dc172=_0x149d7d[_0x2eb2('0xe')];return _0x149d7d[_0x2eb2('0x16')](_0x2eb2('0x11'))['to'](this,_0x2eb2('0x0'),this[_0x2eb2('0x15')],'isReadOnly',this[_0x2eb2('0x15')],_0x2eb2('0x19'),this[_0x2eb2('0x15')],'isResolved',_0x4dc172,_0x2eb2('0x24'),(_0x2d8b30,_0x2ade3b,_0x58de9e,_0x106d46,_0x45b375)=>!!_0x45b375||_0x106d46&&_0x58de9e&&!_0x2ade3b||_0x2d8b30&&_0x58de9e&&!_0x2ade3b),_0x4dc172[_0x2eb2('0x16')](_0x2eb2('0x22'))['to'](this,_0x2eb2('0x25'),this['_model'],_0x2eb2('0x1'),this[_0x2eb2('0x15')],_0x2eb2('0x2'),(_0x2ef043,_0x329041,_0x30d25d)=>{let _0x4879c8;return _0x4879c8=_0x30d25d&&_0x329041?_0x2eb2('0x28'):_0x2ef043?'Reply...':_0x2eb2('0x4'),_0xc5db43(this[_0x2eb2('0x1f')],_0x4879c8);}),_0x4dc172[_0x2eb2('0x16')]('submitLabel')['to'](this,_0x2eb2('0x25'),_0x2fe0bf=>_0xc5db43(this[_0x2eb2('0x1f')],_0x2fe0bf?'Reply':_0x2eb2('0x29'))),_0x4dc172['on'](_0x2eb2('0x1d'),(_0x53be52,_0x557e54)=>{this[_0x2eb2('0x26')](_0x2eb2('0x6'),_0x557e54),this[_0x2eb2('0x15')][_0x2eb2('0x2')]&&this[_0x2eb2('0x15')][_0x2eb2('0x1')]&&this[_0x2eb2('0x26')](_0x2eb2('0x8'),this[_0x2eb2('0x15')]['id']),this[_0x2eb2('0x15')][_0x2eb2('0x18')]||this['fire'](_0x2eb2('0x20'));}),_0x4dc172['on'](_0x2eb2('0x1b'),()=>{this[_0x2eb2('0xc')]();}),_0x4dc172[_0x2eb2('0x16')]('disabledSubmit')['to'](this[_0x2eb2('0x15')],_0x2eb2('0x12')),_0x4dc172['on']('cancel',_0xd10f22=>{0x0==this[_0x2eb2('0x25')]&&(this['fire']('removeCommentThread'),_0xd10f22[_0x2eb2('0x23')]());}),this['on']('change:isActive',(_0x537ac7,_0x323b13,_0x16c5a2)=>{_0x16c5a2||this['length']||_0x4dc172['value']||this[_0x2eb2('0x26')](_0x2eb2('0x2a'));}),_0x149d7d;}}
23
+ const _0x3cb5=['commentThreadHeaderView','submit','Comment','Reply\x20to\x20reopen\x20discussion...','editorDestroyed','Reply','submitLabel','focus','showInput','set','_createCommentThreadInputView','addComment','cancel','resolveCommentThread','canComment','isSubmitted','_localUser','delegate','removeCommentThread','_config','fire','disabledSubmit','CommentView','_model','hasDirtyComment','value','assign','editorConfig','isActive','removeComment','locale','bind','editorReady','length','isResolvable','submitCommentThread','Reply...','reopenCommentThread','commentThreadInputView','commentsListView','destroy','commentInputView','isResolved','isDirty','change:isActive','Write\x20a\x20comment...','isReadOnly','updateComment'];(function(_0xd3384a,_0x3cb58f){const _0x3e01d8=function(_0x4228a9){while(--_0x4228a9){_0xd3384a['push'](_0xd3384a['shift']());}};_0x3e01d8(++_0x3cb58f);}(_0x3cb5,0x9b));const _0x3e01=function(_0xd3384a,_0x3cb58f){_0xd3384a=_0xd3384a-0x0;let _0x3e01d8=_0x3cb5[_0xd3384a];return _0x3e01d8;};import{View as _0x429bfd}from'ckeditor5/src/ui';import _0x5404fb from'./commentthreadinputview';import _0x570085 from'./commentslistview';import _0x43346c from'./commentthreadheaderview';import{getTranslation as _0x341c16}from'../../../utils/common-translations';export default class Tt extends _0x429bfd{constructor(_0x325094,_0x4f4455,_0x59b17f,_0x355f9f){super(_0x325094),this[_0x3e01('0x2e')](_0x3e01('0x11'),!0x1),this[_0x3e01('0x2e')](_0x3e01('0x20'),!0x1),this[_0x3e01('0xc')]=_0x4f4455,this[_0x3e01('0x5')]=_0x59b17f,this[_0x3e01('0x8')]=_0x355f9f,this[_0x3e01('0x25')]=new _0x43346c(_0x325094,_0x4f4455),this[_0x3e01('0x25')][_0x3e01('0x6')](_0x3e01('0x1a'))['to'](this),this[_0x3e01('0x1c')]=new _0x570085(_0x325094,_0x4f4455,Object[_0x3e01('0xf')]({'CommentView':this[_0x3e01('0x8')][_0x3e01('0xb')]},_0x355f9f)),this[_0x3e01('0x1c')][_0x3e01('0x6')](_0x3e01('0x12'))['to'](this),this[_0x3e01('0x1c')][_0x3e01('0x6')](_0x3e01('0x24'))['to'](this),this[_0x3e01('0x1c')][_0x3e01('0x6')](_0x3e01('0x2'))['to'](this),this[_0x3e01('0x1c')][_0x3e01('0x6')]('editorReady')['to'](this),this['commentsListView'][_0x3e01('0x6')](_0x3e01('0x29'))['to'](this),this['commentsListView']['bind'](_0x3e01('0x11'))['to'](this),this[_0x3e01('0x2e')](_0x3e01('0x16'),this[_0x3e01('0x1c')][_0x3e01('0x16')]),this['bind']('length')['to'](this[_0x3e01('0x1c')],'length'),this['commentThreadInputView']=this[_0x3e01('0x2f')](),this[_0x3e01('0x1b')][_0x3e01('0x6')](_0x3e01('0x15'))['to'](this),this[_0x3e01('0x1b')]['delegate'](_0x3e01('0x29'))['to'](this),this['on']('removeComment',()=>this[_0x3e01('0x2c')]()),this['bind']('isDirty')['to'](this[_0x3e01('0x1c')],_0x3e01('0xd'),this[_0x3e01('0x1b')][_0x3e01('0x1e')],_0x3e01('0xe'),(_0x27025f,_0x21b820)=>_0x27025f||!!_0x21b820);}[_0x3e01('0x2c')](){this['element']['focus']();}['destroy'](){this[_0x3e01('0x20')]=!0x1,this[_0x3e01('0x1c')]['destroy'](),this[_0x3e01('0x1b')][_0x3e01('0x1d')](),super[_0x3e01('0x1d')]();}[_0x3e01('0x2f')](){const _0x31fb9a=new _0x5404fb(this[_0x3e01('0x13')],this[_0x3e01('0x5')],this[_0x3e01('0x8')][_0x3e01('0x10')]),_0x539fc8=_0x31fb9a[_0x3e01('0x1e')];return _0x31fb9a[_0x3e01('0x14')](_0x3e01('0x2d'))['to'](this,_0x3e01('0x11'),this['_model'],_0x3e01('0x23'),this['_model'],_0x3e01('0x3'),this[_0x3e01('0xc')],_0x3e01('0x1f'),_0x539fc8,_0x3e01('0xe'),(_0x48e21c,_0x2e2caf,_0x4da5a3,_0x4ea6be,_0x2e1af8)=>!!_0x2e1af8||_0x4ea6be&&_0x4da5a3&&!_0x2e2caf||_0x48e21c&&_0x4da5a3&&!_0x2e2caf),_0x539fc8[_0x3e01('0x14')]('placeholder')['to'](this,_0x3e01('0x16'),this[_0x3e01('0xc')],_0x3e01('0x17'),this[_0x3e01('0xc')],_0x3e01('0x1f'),(_0x4474ac,_0x15a204,_0x29869c)=>{let _0x4816cb;return _0x4816cb=_0x29869c&&_0x15a204?_0x3e01('0x28'):_0x4474ac?_0x3e01('0x19'):_0x3e01('0x22'),_0x341c16(this[_0x3e01('0x13')],_0x4816cb);}),_0x539fc8[_0x3e01('0x14')](_0x3e01('0x2b'))['to'](this,_0x3e01('0x16'),_0x465a54=>_0x341c16(this[_0x3e01('0x13')],_0x465a54?_0x3e01('0x2a'):_0x3e01('0x27'))),_0x539fc8['on'](_0x3e01('0x26'),(_0x288d01,_0x4a15b6)=>{this[_0x3e01('0x9')](_0x3e01('0x0'),_0x4a15b6),this[_0x3e01('0xc')][_0x3e01('0x1f')]&&this['_model'][_0x3e01('0x17')]&&this[_0x3e01('0x9')](_0x3e01('0x1a'),this[_0x3e01('0xc')]['id']),this[_0x3e01('0xc')][_0x3e01('0x4')]||this['fire'](_0x3e01('0x18'));}),_0x539fc8['on']('cancel',()=>{this[_0x3e01('0x2c')]();}),_0x539fc8[_0x3e01('0x14')](_0x3e01('0xa'))['to'](this[_0x3e01('0xc')],_0x3e01('0x23')),_0x539fc8['on'](_0x3e01('0x1'),_0x170d77=>{0x0==this['length']&&(this['fire'](_0x3e01('0x7')),_0x170d77['stop']());}),this['on'](_0x3e01('0x21'),(_0x3001e7,_0x32750b,_0xca4f22)=>{_0xca4f22||this[_0x3e01('0x16')]||_0x539fc8['value']||this[_0x3e01('0x9')](_0x3e01('0x7'));}),_0x31fb9a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2306=['add','disabledSubmit','updateComment','delegate','switchToEditMode','maxCommentCharsWhenCollapsed','value','remove','_model','bind','set','_config','get','isSystemComment','submitLabel','destroy','cancel','Save','focus','locale','_createCommentInputView','switchToDisplayMode','editorDestroyed','editorConfig','content','isCollapsed','isEditMode','createEditor','collapse','_createCommentContentView','visibleView','once'];(function(_0x567dcb,_0x2306b1){const _0x2642ad=function(_0x6b53f4){while(--_0x6b53f4){_0x567dcb['push'](_0x567dcb['shift']());}};_0x2642ad(++_0x2306b1);}(_0x2306,0x1cf));const _0x2642=function(_0x567dcb,_0x2306b1){_0x567dcb=_0x567dcb-0x0;let _0x2642ad=_0x2306[_0x567dcb];return _0x2642ad;};import{View as _0x5140d3}from'ckeditor5/src/ui';import{trimHtml as _0x1b5f98}from'ckeditor5-collaboration/src/collaboration-core';import _0xdb0f5 from'./commentcontentview';import _0x17c8c1 from'./commentinputview';import{getTranslation as _0x27ebde}from'../../../utils/common-translations';export default class Yt extends _0x5140d3{constructor(_0x32fcde,_0x45378e,_0x517e02){super(_0x32fcde),this[_0x2642('0x19')]=_0x45378e,this[_0x2642('0x1c')]=_0x517e02,this[_0x2642('0x1e')]=!!this[_0x2642('0x1c')][_0x2642('0x1e')],this[_0x2642('0x1b')](_0x2642('0xb'),!0x1),this[_0x2642('0x1b')](_0x2642('0xa'),!0x0),this[_0x2642('0xf')]=this['createCollection'](),this[_0x2642('0xf')]['add'](this['_createCommentContentView']());}['expand'](){this[_0x2642('0xa')]=!0x1;}[_0x2642('0xd')](){this['isEditMode']||(this[_0x2642('0xa')]=!0x0);}['focus'](){this['element'][_0x2642('0x3')]();}async['destroy'](){await this[_0x2642('0xf')][_0x2642('0x1d')](0x0)[_0x2642('0x0')](),super[_0x2642('0x0')]();}[_0x2642('0x15')](){this[_0x2642('0xb')]||(this[_0x2642('0xb')]=!0x0,this[_0x2642('0xf')][_0x2642('0x18')](0x0)[_0x2642('0x0')](),this[_0x2642('0xf')][_0x2642('0x11')](this['_createCommentInputView']()));}[_0x2642('0x6')](){this[_0x2642('0xb')]&&(this[_0x2642('0xb')]=!0x1,this[_0x2642('0xf')][_0x2642('0x18')](0x0)['destroy'](),this['visibleView']['add'](this[_0x2642('0xe')]()));}[_0x2642('0xe')](){const _0x38c976=new _0xdb0f5(this['locale']);return _0x38c976[_0x2642('0x1a')](_0x2642('0x9'))['to'](this[_0x2642('0x19')],_0x2642('0x9'),this,_0x2642('0xa'),(_0x4c6f43,_0x507e92)=>_0x507e92?_0x1b5f98(_0x4c6f43,{'limit':this[_0x2642('0x1c')][_0x2642('0x16')]}):_0x4c6f43),_0x38c976;}[_0x2642('0x5')](){this['_config']['editorConfig']||(this['_config'][_0x2642('0x8')]={}),this[_0x2642('0x1c')]['editorConfig']['initialData']=this[_0x2642('0x19')][_0x2642('0x9')];const _0x4d0c41=new _0x17c8c1(this[_0x2642('0x4')],this[_0x2642('0x1c')]['editorConfig']);return _0x4d0c41[_0x2642('0x17')]=this[_0x2642('0x19')][_0x2642('0x9')],_0x4d0c41['bind'](_0x2642('0x12'))['to'](this[_0x2642('0x19')],'isReadOnly'),_0x4d0c41[_0x2642('0x1f')]=_0x27ebde(this[_0x2642('0x4')],_0x2642('0x2')),_0x4d0c41['on']('submit',(_0x340060,_0x524e78)=>{this['fire'](_0x2642('0x13'),this[_0x2642('0x19')]['id'],_0x524e78),this[_0x2642('0x6')](),this[_0x2642('0x3')]();}),_0x4d0c41['on'](_0x2642('0x1'),()=>{this['switchToDisplayMode'](),this[_0x2642('0x3')]();}),_0x4d0c41[_0x2642('0x10')]('editorReady',()=>{_0x4d0c41[_0x2642('0x3')]();}),_0x4d0c41[_0x2642('0xc')](),_0x4d0c41[_0x2642('0x14')]('editorReady')['to'](this),_0x4d0c41[_0x2642('0x14')](_0x2642('0x7'))['to'](this),_0x4d0c41;}}
23
+ const _0x4fbc=['updateComment','_createCommentContentView','disabledSubmit','delegate','Save','set','content','cancel','focus','editorReady','_model','bind','editorConfig','initialData','visibleView','isReadOnly','locale','isCollapsed','createEditor','remove','add','destroy','value','switchToDisplayMode','fire','createCollection','_config','once','get','submitLabel','isEditMode','editorDestroyed','isSystemComment','submit','collapse','element'];(function(_0x4cdc6a,_0x4fbc67){const _0x561d53=function(_0x4a79d8){while(--_0x4a79d8){_0x4cdc6a['push'](_0x4cdc6a['shift']());}};_0x561d53(++_0x4fbc67);}(_0x4fbc,0x1a7));const _0x561d=function(_0x4cdc6a,_0x4fbc67){_0x4cdc6a=_0x4cdc6a-0x0;let _0x561d53=_0x4fbc[_0x4cdc6a];return _0x561d53;};import{View as _0xfbb41b}from'ckeditor5/src/ui';import{trimHtml as _0x2f8139}from'ckeditor5-collaboration/src/collaboration-core';import _0x3d758d from'./commentcontentview';import _0x1b2d57 from'./commentinputview';import{getTranslation as _0x50319f}from'../../../utils/common-translations';export default class Yt extends _0xfbb41b{constructor(_0x321fe2,_0x3d952f,_0x4767ff){super(_0x321fe2),this[_0x561d('0x13')]=_0x3d952f,this[_0x561d('0x23')]=_0x4767ff,this[_0x561d('0x5')]=!!this['_config']['isSystemComment'],this[_0x561d('0xe')](_0x561d('0x3'),!0x1),this[_0x561d('0xe')](_0x561d('0x1a'),!0x0),this[_0x561d('0x17')]=this[_0x561d('0x22')](),this[_0x561d('0x17')][_0x561d('0x1d')](this['_createCommentContentView']());}['expand'](){this[_0x561d('0x1a')]=!0x1;}[_0x561d('0x7')](){this[_0x561d('0x3')]||(this[_0x561d('0x1a')]=!0x0);}[_0x561d('0x11')](){this[_0x561d('0x8')][_0x561d('0x11')]();}async['destroy'](){await this[_0x561d('0x17')][_0x561d('0x1')](0x0)[_0x561d('0x1e')](),super[_0x561d('0x1e')]();}['switchToEditMode'](){this['isEditMode']||(this[_0x561d('0x3')]=!0x0,this[_0x561d('0x17')][_0x561d('0x1c')](0x0)['destroy'](),this[_0x561d('0x17')][_0x561d('0x1d')](this['_createCommentInputView']()));}[_0x561d('0x20')](){this['isEditMode']&&(this[_0x561d('0x3')]=!0x1,this[_0x561d('0x17')]['remove'](0x0)[_0x561d('0x1e')](),this[_0x561d('0x17')]['add'](this[_0x561d('0xa')]()));}[_0x561d('0xa')](){const _0x66e8cd=new _0x3d758d(this[_0x561d('0x19')]);return _0x66e8cd[_0x561d('0x14')]('content')['to'](this[_0x561d('0x13')],_0x561d('0xf'),this,_0x561d('0x1a'),(_0x51f7f8,_0x50bf0c)=>_0x50bf0c?_0x2f8139(_0x51f7f8,{'limit':this[_0x561d('0x23')]['maxCommentCharsWhenCollapsed']}):_0x51f7f8),_0x66e8cd;}['_createCommentInputView'](){this[_0x561d('0x23')][_0x561d('0x15')]||(this[_0x561d('0x23')]['editorConfig']={}),this[_0x561d('0x23')][_0x561d('0x15')][_0x561d('0x16')]=this[_0x561d('0x13')][_0x561d('0xf')];const _0x365a12=new _0x1b2d57(this[_0x561d('0x19')],this['_config']['editorConfig']);return _0x365a12[_0x561d('0x1f')]=this[_0x561d('0x13')][_0x561d('0xf')],_0x365a12['bind'](_0x561d('0xb'))['to'](this[_0x561d('0x13')],_0x561d('0x18')),_0x365a12[_0x561d('0x2')]=_0x50319f(this[_0x561d('0x19')],_0x561d('0xd')),_0x365a12['on'](_0x561d('0x6'),(_0x2b9095,_0x4ca155)=>{this[_0x561d('0x21')](_0x561d('0x9'),this['_model']['id'],_0x4ca155),this['switchToDisplayMode'](),this[_0x561d('0x11')]();}),_0x365a12['on'](_0x561d('0x10'),()=>{this['switchToDisplayMode'](),this[_0x561d('0x11')]();}),_0x365a12[_0x561d('0x0')](_0x561d('0x12'),()=>{_0x365a12['focus']();}),_0x365a12[_0x561d('0x1b')](),_0x365a12['delegate'](_0x561d('0x12'))['to'](this),_0x365a12[_0x561d('0xc')](_0x561d('0x4'))['to'](this),_0x365a12;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9476=['set','setTemplate','ck-thread__comment-count','count'];(function(_0x16f127,_0x94767d){const _0x200dfb=function(_0xb3237f){while(--_0xb3237f){_0x16f127['push'](_0x16f127['shift']());}};_0x200dfb(++_0x94767d);}(_0x9476,0xc4));const _0x200d=function(_0x16f127,_0x94767d){_0x16f127=_0x16f127-0x0;let _0x200dfb=_0x9476[_0x16f127];return _0x200dfb;};import{View as _0x2a6185}from'ckeditor5/src/ui';import{getTranslation as _0x381ccf}from'../../../utils/common-translations';export default class Zt extends _0x2a6185{constructor(_0x329963){super(_0x329963);const _0x1a7ffa=this['bindTemplate'];this[_0x200d('0x0')](_0x200d('0x3'),void 0x0),this[_0x200d('0x1')]({'tag':'li','attributes':{'class':_0x200d('0x2')},'children':[{'text':_0x1a7ffa['to'](_0x200d('0x3'),_0x5da85a=>_0x381ccf(_0x329963,'NUMBER_OF_COMMENTS',_0x5da85a))}]});}}
23
+ const _0x33c7=['ck-thread__comment-count','set','count','bindTemplate','setTemplate'];(function(_0x2425dd,_0x33c724){const _0x36a746=function(_0x46a647){while(--_0x46a647){_0x2425dd['push'](_0x2425dd['shift']());}};_0x36a746(++_0x33c724);}(_0x33c7,0xfb));const _0x36a7=function(_0x2425dd,_0x33c724){_0x2425dd=_0x2425dd-0x0;let _0x36a746=_0x33c7[_0x2425dd];return _0x36a746;};import{View as _0x4e2681}from'ckeditor5/src/ui';import{getTranslation as _0x5ab2b0}from'../../../utils/common-translations';export default class Zt extends _0x4e2681{constructor(_0x124964){super(_0x124964);const _0x3a6549=this[_0x36a7('0x2')];this[_0x36a7('0x0')](_0x36a7('0x1'),void 0x0),this[_0x36a7('0x3')]({'tag':'li','attributes':{'class':_0x36a7('0x4')},'children':[{'text':_0x3a6549['to']('count',_0x2f2f05=>_0x5ab2b0(_0x124964,'NUMBER_OF_COMMENTS',_0x2f2f05))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5f42=['setTemplate','innerHTML','change:content','ck-comment__content','ck-annotation__content','render','content','div','element'];(function(_0x279bab,_0x5f428e){var _0x3704c6=function(_0x3c3f93){while(--_0x3c3f93){_0x279bab['push'](_0x279bab['shift']());}};_0x3704c6(++_0x5f428e);}(_0x5f42,0x10a));var _0x3704=function(_0x279bab,_0x5f428e){_0x279bab=_0x279bab-0x0;var _0x3704c6=_0x5f42[_0x279bab];return _0x3704c6;};import{View as _0x2923f0}from'ckeditor5/src/ui';export default class Ut extends _0x2923f0{constructor(_0x23fa46){super(_0x23fa46),this['set'](_0x3704('0x1'),''),this[_0x3704('0x4')]({'tag':_0x3704('0x2'),'attributes':{'class':[_0x3704('0x7'),_0x3704('0x8')]}});}[_0x3704('0x0')](){super[_0x3704('0x0')](),this['on'](_0x3704('0x6'),(_0x658b19,_0x39d384,_0x34cf54)=>{this[_0x3704('0x3')][_0x3704('0x5')]=_0x34cf54;}),this[_0x3704('0x3')]['innerHTML']=this[_0x3704('0x1')];}}
23
+ var _0x490f=['set','innerHTML','div','element','render','ck-annotation__content','change:content','setTemplate','content'];(function(_0x437690,_0x490f04){var _0x21dbc1=function(_0x571575){while(--_0x571575){_0x437690['push'](_0x437690['shift']());}};_0x21dbc1(++_0x490f04);}(_0x490f,0x17f));var _0x21db=function(_0x437690,_0x490f04){_0x437690=_0x437690-0x0;var _0x21dbc1=_0x490f[_0x437690];return _0x21dbc1;};import{View as _0x41e705}from'ckeditor5/src/ui';export default class Ut extends _0x41e705{constructor(_0x5bf20e){super(_0x5bf20e),this[_0x21db('0x4')](_0x21db('0x3'),''),this[_0x21db('0x2')]({'tag':_0x21db('0x6'),'attributes':{'class':['ck-comment__content',_0x21db('0x0')]}});}[_0x21db('0x8')](){super['render'](),this['on'](_0x21db('0x1'),(_0x4f993f,_0x56b854,_0x5aa550)=>{this['element'][_0x21db('0x5')]=_0x5aa550;}),this[_0x21db('0x7')][_0x21db('0x5')]=this[_0x21db('0x3')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x24df=['stop','trim','Esc','tab','keystrokes','add','bind','focusTracker','disabledSubmit','setTemplate','_editorConfig','fire','editorReady','_isDestroyed','render','create','view','_createCancelButton','_createSubmitButton','cancel','Reply...','ck-comment__input-actions--cancel','execute','isEnabled','label','set','then','withText','submit','element','change','createEditor','listenTo','destroy','bindTemplate','shift\x20+\x20tab','_editorCreationPromise','div','ck-comment__input-actions--submit','ck-comment__input-actions','submitLabel','placeholder','low','getData','cancelButtonView','forEach','editorDestroyed','Reply','focusPrevious','extendTemplate','document','ck-comment__input-wrapper','value','editor','firstChild','submitButtonView','TOO_LONG_COMMENT_ALERT','Cancel','ck-comment__input-actions--active','setData','length'];(function(_0x571cb5,_0x24df30){const _0x55bb12=function(_0x3ccd3f){while(--_0x3ccd3f){_0x571cb5['push'](_0x571cb5['shift']());}};_0x55bb12(++_0x24df30);}(_0x24df,0x1d2));const _0x55bb=function(_0x571cb5,_0x24df30){_0x571cb5=_0x571cb5-0x0;let _0x55bb12=_0x24df[_0x571cb5];return _0x55bb12;};import{View as _0x4f7234,ViewCollection as _0x33e87f,FocusCycler as _0x416fc8,ButtonView as _0x18ddea}from'ckeditor5/src/ui';import{FocusTracker as _0x4d4869,KeystrokeHandler as _0x2b30b5}from'ckeditor5/src/utils';import _0x3aa1e8 from'../commenteditor/commenteditor';import{getTranslation as _0x59b01f}from'../../../utils/common-translations';export default class Xt extends _0x4f7234{constructor(_0xb97a0c,_0x5c00e4={}){super(_0xb97a0c),this[_0x55bb('0xe')]=null,this[_0x55bb('0x20')]=_0x5c00e4,this[_0x55bb('0x1a')]=new _0x2b30b5(),this['focusTracker']=new _0x4d4869(),this[_0x55bb('0x2f')](_0x55bb('0xd'),_0x5c00e4['initialData']||''),this[_0x55bb('0x2f')](_0x55bb('0x1e'),!0x1),this[_0x55bb('0x2f')]('showButtons',!0x0),this['set']('placeholder',_0x59b01f(_0xb97a0c,_0x55bb('0x2a'))),this['set']('submitLabel',_0x59b01f(_0xb97a0c,_0x55bb('0x8'))),this[_0x55bb('0x10')]=this[_0x55bb('0x28')](),this['cancelButtonView']=this[_0x55bb('0x27')](),this[_0x55bb('0x1f')]({'tag':_0x55bb('0x3b'),'attributes':{'class':[_0x55bb('0xc')]},'children':[{'tag':_0x55bb('0x3b'),'attributes':{'class':[_0x55bb('0x0'),this[_0x55bb('0x38')]['if']('showButtons',_0x55bb('0x13'))]},'children':[this[_0x55bb('0x10')],this[_0x55bb('0x5')]]}]}),this[_0x55bb('0x1a')][_0x55bb('0x2f')](_0x55bb('0x18'),(_0x2a1a2e,_0x49e652)=>{this[_0x55bb('0x5')][_0x55bb('0x21')](_0x55bb('0x2c')),_0x49e652();}),this['on'](_0x55bb('0x32'),(_0x64c380,_0x56ecbf)=>{_0x56ecbf[_0x55bb('0x15')]>0xfde8?(alert(_0x59b01f(_0xb97a0c,_0x55bb('0x11'),[_0x56ecbf['length'],0xfde8])),_0x64c380[_0x55bb('0x16')]()):this[_0x55bb('0xe')][_0x55bb('0x14')]('');},{'priority':'high'});}[_0x55bb('0x24')](){super[_0x55bb('0x24')](),this[_0x55bb('0x1a')][_0x55bb('0x36')](this[_0x55bb('0x33')]),this[_0x55bb('0x1d')][_0x55bb('0x1b')](this[_0x55bb('0x33')]);}[_0x55bb('0x35')](){return this[_0x55bb('0xe')]||(this[_0x55bb('0xe')]=new _0x3aa1e8(this[_0x55bb('0x20')]),this[_0x55bb('0x3a')]=this[_0x55bb('0xe')][_0x55bb('0x25')]()[_0x55bb('0x30')](()=>{if(this[_0x55bb('0x23')])return;const _0x18100d=this['editor'];this['element']['insertBefore'](_0x18100d['ui']['element'],this[_0x55bb('0x33')][_0x55bb('0xf')]),_0x18100d['model'][_0x55bb('0xb')]['on'](_0x55bb('0x34'),()=>this[_0x55bb('0xd')]=_0x18100d[_0x55bb('0x4')]()),_0x18100d['bind'](_0x55bb('0x2'))['to'](this),this['_initializeFocusCycling'](this['editor']),this[_0x55bb('0x21')](_0x55bb('0x22'),this[_0x55bb('0xe')]);})),this['_editorCreationPromise'];}['focus'](){this['editor']&&this[_0x55bb('0xe')]['focus']();}async[_0x55bb('0x37')](){this[_0x55bb('0x23')]||(this[_0x55bb('0x23')]=!0x0,this['editor']&&(await this[_0x55bb('0x3a')],await this[_0x55bb('0xe')][_0x55bb('0x37')](),this[_0x55bb('0x21')](_0x55bb('0x7'),this[_0x55bb('0xe')])),await super[_0x55bb('0x37')]());}['_createSubmitButton'](){const {locale:_0x40dc60}=this,_0xfbe84b=new _0x18ddea(_0x40dc60);return _0xfbe84b[_0x55bb('0xa')]({'attributes':{'class':[_0x55bb('0x3c')]}}),_0xfbe84b['withText']=!0x0,_0xfbe84b[_0x55bb('0x1c')](_0x55bb('0x2e'))['to'](this,_0x55bb('0x1')),_0xfbe84b['on']('execute',()=>{this[_0x55bb('0x21')]('submit',this[_0x55bb('0xd')]);}),_0xfbe84b[_0x55bb('0x1c')](_0x55bb('0x2d'))['to'](this,'value',this,'disabledSubmit',(_0x962d,_0x3be559)=>!_0x3be559&&!!_0x962d[_0x55bb('0x17')]()),_0xfbe84b;}['_createCancelButton'](){const {locale:_0x1e00f9}=this,_0xa5f153=new _0x18ddea(_0x1e00f9);return _0xa5f153['extendTemplate']({'attributes':{'class':[_0x55bb('0x2b')]}}),_0xa5f153[_0x55bb('0x2e')]=_0x59b01f(_0x1e00f9,_0x55bb('0x12')),_0xa5f153[_0x55bb('0x31')]=!0x0,_0xa5f153['on'](_0x55bb('0x2c'),()=>{this[_0x55bb('0xe')][_0x55bb('0x14')](''),this[_0x55bb('0x21')](_0x55bb('0x29'));}),_0xa5f153;}['_initializeFocusCycling'](_0xddc601){const _0x3a0279=this['focusTracker'],_0x548223=new _0x33e87f();[_0xddc601['ui'][_0x55bb('0x26')],this[_0x55bb('0x10')],this[_0x55bb('0x5')]][_0x55bb('0x6')](_0x42e4f3=>{_0x548223['add'](_0x42e4f3),_0x3a0279[_0x55bb('0x1b')](_0x42e4f3[_0x55bb('0x33')]);});const _0x4cb429=new _0x416fc8({'focusables':_0x548223,'focusTracker':_0x3a0279});this[_0x55bb('0x1a')]['set'](_0x55bb('0x19'),(_0x55d151,_0x2a354e)=>{_0x4cb429['focusNext'](),_0x2a354e();},{'priority':_0x55bb('0x3')}),this[_0x55bb('0x1a')]['set'](_0x55bb('0x39'),(_0x92ea58,_0x1d49cb)=>{_0x4cb429[_0x55bb('0x9')](),_0x1d49cb();},{'priority':'low'});}}
23
+ const _0x412d=['element','initialData','editorReady','submitLabel','bind','value','focusNext','create','add','placeholder','Esc','forEach','low','showButtons','view','cancelButtonView','shift\x20+\x20tab','_createSubmitButton','cancel','tab','stop','execute','TOO_LONG_COMMENT_ALERT','label','setData','disabledSubmit','model','withText','Reply','ck-comment__input-actions--active','editor','_isDestroyed','createEditor','focus','bindTemplate','focusTracker','_initializeFocusCycling','length','_editorConfig','fire','then','ck-comment__input-actions','keystrokes','ck-comment__input-wrapper','change','render','ck-comment__input-actions--cancel','listenTo','Cancel','_editorCreationPromise','set','extendTemplate','document','_createCancelButton','high','destroy','submit','insertBefore','submitButtonView'];(function(_0x393a79,_0x412d4d){const _0x1818ba=function(_0x14b817){while(--_0x14b817){_0x393a79['push'](_0x393a79['shift']());}};_0x1818ba(++_0x412d4d);}(_0x412d,0x154));const _0x1818=function(_0x393a79,_0x412d4d){_0x393a79=_0x393a79-0x0;let _0x1818ba=_0x412d[_0x393a79];return _0x1818ba;};import{View as _0x4de88d,ViewCollection as _0x414954,FocusCycler as _0x5b6754,ButtonView as _0x1a2110}from'ckeditor5/src/ui';import{FocusTracker as _0x2d1691,KeystrokeHandler as _0x1477b7}from'ckeditor5/src/utils';import _0x48b217 from'../commenteditor/commenteditor';import{getTranslation as _0x3400bd}from'../../../utils/common-translations';export default class Xt extends _0x4de88d{constructor(_0x8898ef,_0x29ad9b={}){super(_0x8898ef),this['editor']=null,this[_0x1818('0x34')]=_0x29ad9b,this[_0x1818('0x38')]=new _0x1477b7(),this[_0x1818('0x31')]=new _0x2d1691(),this[_0x1818('0x5')](_0x1818('0x13'),_0x29ad9b[_0x1818('0xf')]||''),this[_0x1818('0x5')]('disabledSubmit',!0x1),this[_0x1818('0x5')](_0x1818('0x1b'),!0x0),this[_0x1818('0x5')](_0x1818('0x17'),_0x3400bd(_0x8898ef,'Reply...')),this['set'](_0x1818('0x11'),_0x3400bd(_0x8898ef,_0x1818('0x2a'))),this[_0x1818('0xd')]=this[_0x1818('0x1f')](),this[_0x1818('0x1d')]=this[_0x1818('0x8')](),this['setTemplate']({'tag':'div','attributes':{'class':[_0x1818('0x39')]},'children':[{'tag':'div','attributes':{'class':[_0x1818('0x37'),this[_0x1818('0x30')]['if']('showButtons',_0x1818('0x2b'))]},'children':[this[_0x1818('0xd')],this[_0x1818('0x1d')]]}]}),this['keystrokes'][_0x1818('0x5')](_0x1818('0x18'),(_0x53f271,_0x350ccf)=>{this['cancelButtonView'][_0x1818('0x35')](_0x1818('0x23')),_0x350ccf();}),this['on'](_0x1818('0xb'),(_0x147937,_0x117ba9)=>{_0x117ba9[_0x1818('0x33')]>0xfde8?(alert(_0x3400bd(_0x8898ef,_0x1818('0x24'),[_0x117ba9['length'],0xfde8])),_0x147937[_0x1818('0x22')]()):this[_0x1818('0x2c')]['setData']('');},{'priority':_0x1818('0x9')});}[_0x1818('0x0')](){super[_0x1818('0x0')](),this[_0x1818('0x38')][_0x1818('0x2')](this[_0x1818('0xe')]),this[_0x1818('0x31')][_0x1818('0x16')](this['element']);}[_0x1818('0x2e')](){return this['editor']||(this[_0x1818('0x2c')]=new _0x48b217(this[_0x1818('0x34')]),this[_0x1818('0x4')]=this[_0x1818('0x2c')][_0x1818('0x15')]()[_0x1818('0x36')](()=>{if(this[_0x1818('0x2d')])return;const _0x37e44d=this[_0x1818('0x2c')];this[_0x1818('0xe')][_0x1818('0xc')](_0x37e44d['ui']['element'],this[_0x1818('0xe')]['firstChild']),_0x37e44d[_0x1818('0x28')][_0x1818('0x7')]['on'](_0x1818('0x3a'),()=>this[_0x1818('0x13')]=_0x37e44d['getData']()),_0x37e44d[_0x1818('0x12')](_0x1818('0x17'))['to'](this),this[_0x1818('0x32')](this['editor']),this[_0x1818('0x35')](_0x1818('0x10'),this[_0x1818('0x2c')]);})),this[_0x1818('0x4')];}[_0x1818('0x2f')](){this[_0x1818('0x2c')]&&this[_0x1818('0x2c')][_0x1818('0x2f')]();}async[_0x1818('0xa')](){this[_0x1818('0x2d')]||(this[_0x1818('0x2d')]=!0x0,this[_0x1818('0x2c')]&&(await this[_0x1818('0x4')],await this[_0x1818('0x2c')]['destroy'](),this['fire']('editorDestroyed',this[_0x1818('0x2c')])),await super[_0x1818('0xa')]());}['_createSubmitButton'](){const {locale:_0x1f1f91}=this,_0x363a12=new _0x1a2110(_0x1f1f91);return _0x363a12[_0x1818('0x6')]({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x363a12[_0x1818('0x29')]=!0x0,_0x363a12['bind'](_0x1818('0x25'))['to'](this,_0x1818('0x11')),_0x363a12['on'](_0x1818('0x23'),()=>{this[_0x1818('0x35')]('submit',this[_0x1818('0x13')]);}),_0x363a12[_0x1818('0x12')]('isEnabled')['to'](this,_0x1818('0x13'),this,_0x1818('0x27'),(_0x5d71cc,_0x3e1291)=>!_0x3e1291&&!!_0x5d71cc['trim']()),_0x363a12;}[_0x1818('0x8')](){const {locale:_0x5bb01e}=this,_0x4baa6b=new _0x1a2110(_0x5bb01e);return _0x4baa6b[_0x1818('0x6')]({'attributes':{'class':[_0x1818('0x1')]}}),_0x4baa6b[_0x1818('0x25')]=_0x3400bd(_0x5bb01e,_0x1818('0x3')),_0x4baa6b[_0x1818('0x29')]=!0x0,_0x4baa6b['on'](_0x1818('0x23'),()=>{this[_0x1818('0x2c')][_0x1818('0x26')](''),this[_0x1818('0x35')](_0x1818('0x20'));}),_0x4baa6b;}[_0x1818('0x32')](_0x8af469){const _0x2c8eb7=this[_0x1818('0x31')],_0x31c94f=new _0x414954();[_0x8af469['ui'][_0x1818('0x1c')],this[_0x1818('0xd')],this[_0x1818('0x1d')]][_0x1818('0x19')](_0x39219b=>{_0x31c94f[_0x1818('0x16')](_0x39219b),_0x2c8eb7[_0x1818('0x16')](_0x39219b[_0x1818('0xe')]);});const _0x5d9de2=new _0x5b6754({'focusables':_0x31c94f,'focusTracker':_0x2c8eb7});this[_0x1818('0x38')][_0x1818('0x5')](_0x1818('0x21'),(_0x1d6e46,_0x1082e5)=>{_0x5d9de2[_0x1818('0x14')](),_0x1082e5();},{'priority':'low'}),this[_0x1818('0x38')][_0x1818('0x5')](_0x1818('0x1e'),(_0x3f39ef,_0x30dbd5)=>{_0x5d9de2['focusPrevious'](),_0x30dbd5();},{'priority':_0x1818('0x1a')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53ec=['destroy','_focusTracker','length','_focusCycler','_focusables','focus','EMPTY_COMMENTS_ARCHIVE','bindTemplate','high','_keystrokes','ck-hidden','stopPropagation','arrowdown','element','listenTo','ck-comments-archive__info','setTemplate','selectstart','ck-comments-archive__content','arrowleft','isEmpty','div','render','shift\x20+\x20tab','remove','isActive','auto','tab','ck-comments-archive__header\x20','arrowright','set'];(function(_0x1c4490,_0x53ecc9){const _0x250ec5=function(_0x4631e3){while(--_0x4631e3){_0x1c4490['push'](_0x1c4490['shift']());}};_0x250ec5(++_0x53ecc9);}(_0x53ec,0xda));const _0x250e=function(_0x1c4490,_0x53ecc9){_0x1c4490=_0x1c4490-0x0;let _0x250ec5=_0x53ec[_0x1c4490];return _0x250ec5;};import{View as _0x45a716,FocusCycler as _0x24bc89}from'ckeditor5/src/ui';import{FocusTracker as _0x4bd63a,KeystrokeHandler as _0x9388a1}from'ckeditor5/src/utils';import{getTranslation as _0x361b47}from'../../../utils/common-translations';export default class K extends _0x45a716{constructor(_0x191782,_0x4ebffd){super(_0x191782),this[_0x250e('0x1d')](_0x250e('0x13'),!_0x4ebffd[_0x250e('0x1')]),this[_0x250e('0x0')]=new _0x4bd63a(),this[_0x250e('0x8')]=new _0x9388a1(),this[_0x250e('0x3')]=_0x4ebffd,this[_0x250e('0x2')]=new _0x24bc89({'focusables':this[_0x250e('0x3')],'focusTracker':this[_0x250e('0x0')],'keystrokeHandler':this[_0x250e('0x8')],'actions':{'focusPrevious':_0x250e('0x16'),'focusNext':_0x250e('0x1a')}}),this[_0x250e('0xd')](_0x4ebffd,'add',()=>{this[_0x250e('0x13')]=!0x1;}),this[_0x250e('0xd')](_0x4ebffd,_0x250e('0x17'),(_0x328e8a,_0x1d6fb5)=>{_0x1d6fb5[_0x250e('0x18')]&&this[_0x250e('0x4')](),_0x4ebffd[_0x250e('0x1')]||(this[_0x250e('0x13')]=!0x0);});const _0x570db1=this[_0x250e('0x6')];this[_0x250e('0xf')]({'tag':_0x250e('0x14'),'attributes':{'dir':_0x250e('0x19'),'class':['ck','ck-comments-archive'],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x250e('0x1b')]},'children':[{'text':_0x361b47(_0x191782,'COMMENTS_ARCHIVE')}]},{'tag':_0x250e('0x14'),'attributes':{'class':[_0x250e('0x11')]},'children':[{'tag':_0x250e('0x14'),'children':_0x4ebffd},{'tag':'p','attributes':{'class':[_0x250e('0xe'),_0x570db1['if']('isEmpty',_0x250e('0x9'),_0x574f5e=>!_0x574f5e)]},'children':[{'text':_0x361b47(_0x191782,_0x250e('0x5'))}]}]}]});}[_0x250e('0x15')](){super[_0x250e('0x15')](),this[_0x250e('0x8')][_0x250e('0xd')](this[_0x250e('0xc')]);const _0x113f02=_0x499aaf=>_0x499aaf[_0x250e('0xa')]();this['_keystrokes'][_0x250e('0x1d')](_0x250e('0x1c'),_0x113f02),this[_0x250e('0x8')][_0x250e('0x1d')](_0x250e('0x12'),_0x113f02),this['_keystrokes'][_0x250e('0x1d')]('arrowup',_0x113f02),this[_0x250e('0x8')][_0x250e('0x1d')](_0x250e('0xb'),_0x113f02),this[_0x250e('0xd')](this['element'],_0x250e('0x10'),(_0x437b8b,_0x242738)=>{_0x242738[_0x250e('0xa')]();},{'priority':_0x250e('0x7')});}[_0x250e('0x1e')](){super[_0x250e('0x1e')](),this['_focusTracker']['destroy'](),this['_keystrokes'][_0x250e('0x1e')]();}[_0x250e('0x4')](){this[_0x250e('0xc')][_0x250e('0x4')]();}}
23
+ const _0x53b9=['_focusables','EMPTY_COMMENTS_ARCHIVE','_focusCycler','COMMENTS_ARCHIVE','shift\x20+\x20tab','listenTo','high','setTemplate','_focusTracker','_keystrokes','div','remove','bindTemplate','element','isActive','arrowright','length','isEmpty','tab','destroy','render','stopPropagation','set','focus','ck-hidden','ck-comments-archive__info','ck-comments-archive'];(function(_0x41e3c9,_0x53b92e){const _0x48025e=function(_0x4df88d){while(--_0x4df88d){_0x41e3c9['push'](_0x41e3c9['shift']());}};_0x48025e(++_0x53b92e);}(_0x53b9,0x179));const _0x4802=function(_0x41e3c9,_0x53b92e){_0x41e3c9=_0x41e3c9-0x0;let _0x48025e=_0x53b9[_0x41e3c9];return _0x48025e;};import{View as _0x2fac6d,FocusCycler as _0xe54f05}from'ckeditor5/src/ui';import{FocusTracker as _0x54d677,KeystrokeHandler as _0x495e59}from'ckeditor5/src/utils';import{getTranslation as _0x3d2b8b}from'../../../utils/common-translations';export default class K extends _0x2fac6d{constructor(_0xa8cbf,_0x2f1c39){super(_0xa8cbf),this[_0x4802('0x17')](_0x4802('0x12'),!_0x2f1c39[_0x4802('0x11')]),this['_focusTracker']=new _0x54d677(),this[_0x4802('0xa')]=new _0x495e59(),this[_0x4802('0x1')]=_0x2f1c39,this[_0x4802('0x3')]=new _0xe54f05({'focusables':this[_0x4802('0x1')],'focusTracker':this['_focusTracker'],'keystrokeHandler':this[_0x4802('0xa')],'actions':{'focusPrevious':_0x4802('0x5'),'focusNext':_0x4802('0x13')}}),this[_0x4802('0x6')](_0x2f1c39,'add',()=>{this[_0x4802('0x12')]=!0x1;}),this[_0x4802('0x6')](_0x2f1c39,_0x4802('0xc'),(_0x595a18,_0x582cf8)=>{_0x582cf8[_0x4802('0xf')]&&this[_0x4802('0x18')](),_0x2f1c39['length']||(this['isEmpty']=!0x0);});const _0x61be71=this[_0x4802('0xd')];this[_0x4802('0x8')]({'tag':'div','attributes':{'dir':'auto','class':['ck',_0x4802('0x0')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':['ck-comments-archive__header\x20']},'children':[{'text':_0x3d2b8b(_0xa8cbf,_0x4802('0x4'))}]},{'tag':_0x4802('0xb'),'attributes':{'class':['ck-comments-archive__content']},'children':[{'tag':'div','children':_0x2f1c39},{'tag':'p','attributes':{'class':[_0x4802('0x1a'),_0x61be71['if'](_0x4802('0x12'),_0x4802('0x19'),_0x156ef5=>!_0x156ef5)]},'children':[{'text':_0x3d2b8b(_0xa8cbf,_0x4802('0x2'))}]}]}]});}[_0x4802('0x15')](){super[_0x4802('0x15')](),this[_0x4802('0xa')][_0x4802('0x6')](this[_0x4802('0xe')]);const _0x246934=_0x5f3bfe=>_0x5f3bfe[_0x4802('0x16')]();this[_0x4802('0xa')][_0x4802('0x17')](_0x4802('0x10'),_0x246934),this['_keystrokes'][_0x4802('0x17')]('arrowleft',_0x246934),this[_0x4802('0xa')][_0x4802('0x17')]('arrowup',_0x246934),this[_0x4802('0xa')]['set']('arrowdown',_0x246934),this[_0x4802('0x6')](this[_0x4802('0xe')],'selectstart',(_0x4cfa25,_0x58c835)=>{_0x58c835[_0x4802('0x16')]();},{'priority':_0x4802('0x7')});}['destroy'](){super[_0x4802('0x14')](),this[_0x4802('0x9')][_0x4802('0x14')](),this['_keystrokes'][_0x4802('0x14')]();}[_0x4802('0x18')](){this['element'][_0x4802('0x18')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x10f4=['editorReady','render','length','insert','maxCommentsWhenCollapsed','_handleNewCommentModel','listenTo','delegate','authoredAt','_calculatePosition','refreshVisibleViews','Marked\x20as\x20resolved','createCollection','add','_shouldCollapse','stopListening','_updateHasDirtyComment','_config','isActive','formatDateTime','maxCommentCharsWhenCollapsed','some','_model','editorConfig','CommentView','delete','_handleRemoveCommentModel','commentUpdated','_rearrangeCollapse','get','removeComment','locale','hasDirtyComment','updateComment','change:isActive','destroy','resolvedAt','element','change:isResolved','_rearrangeExpand','editorDestroyed','count','ck-thread__comments','_handleInfoComment','set','comments','equal','resolvedCommentView','weight','from','visibleViews','resolvedBy','isEditMode','expand','remove','commentViews','_findOptimalIndex','focus','_collapsedCommentsView','change:isEditMode','bind','setTemplate','resolveCommentThread','change:hasDirtyComment'];(function(_0x13c456,_0x10f472){const _0x168325=function(_0x2e2ba4){while(--_0x2e2ba4){_0x13c456['push'](_0x13c456['shift']());}};_0x168325(++_0x10f472);}(_0x10f4,0xb7));const _0x1683=function(_0x13c456,_0x10f472){_0x13c456=_0x13c456-0x0;let _0x168325=_0x10f4[_0x13c456];return _0x168325;};import{View as _0x1f30da}from'ckeditor5/src/ui';import{diff as _0x185ceb,Collection as _0x4e4643}from'ckeditor5/src/utils';import{getTranslation as _0x1526ae}from'../../../utils/common-translations';import _0x449286 from'./collapsedcommentsview';export default class wt extends _0x1f30da{constructor(_0xb4e650,_0x469a77,_0x2c9b37){super(_0xb4e650),this[_0x1683('0x35')](_0x1683('0x29'),!0x1),this[_0x1683('0x35')]('length',_0x469a77[_0x1683('0x36')][_0x1683('0xb')]),this[_0x1683('0x35')](_0x1683('0x1b'),!0x1),this[_0x1683('0x1f')]=_0x469a77,this[_0x1683('0x1a')]=_0x2c9b37,this[_0x1683('0x0')]=this[_0x1683('0x15')](),this[_0x1683('0x3b')]=this['createCollection'](),this[_0x1683('0x38')]=null,this['_collapsedCommentsView']=new _0x449286(_0xb4e650),this['_collapsedCommentsView'][_0x1683('0x5')]('count')['to'](this,_0x1683('0xb'),_0x397ddc=>_0x397ddc-this[_0x1683('0x1a')][_0x1683('0xd')]);for(const _0xdb1e54 of _0x469a77[_0x1683('0x36')])this[_0x1683('0xe')](_0xdb1e54);this[_0x1683('0x34')](),this[_0x1683('0xf')](_0x469a77['comments'],_0x1683('0x16'),(_0x16f807,_0x2ac1b1)=>{const _0x23a15d=this[_0x1683('0x12')](_0x2ac1b1);this[_0x1683('0xb')]++,this[_0x1683('0xe')](_0x2ac1b1,_0x23a15d),this[_0x1683('0x13')]();}),this['listenTo'](_0x469a77['comments'],_0x1683('0x3f'),(_0x29aa77,_0x4cb8e4)=>{this[_0x1683('0xb')]--,this[_0x1683('0x23')](_0x4cb8e4),this['refreshVisibleViews']();}),this[_0x1683('0xf')](_0x469a77,_0x1683('0x24'),()=>this['refreshVisibleViews']()),this['listenTo'](_0x469a77,_0x1683('0x2f'),()=>this[_0x1683('0x34')]()),this['on'](_0x1683('0x2b'),()=>this[_0x1683('0x13')]()),this['on'](_0x1683('0x8'),()=>this['refreshVisibleViews']()),this[_0x1683('0x6')]({'tag':'ul','attributes':{'class':[_0x1683('0x33')]},'children':this[_0x1683('0x3b')]});}get[_0x1683('0x17')](){return this[_0x1683('0x1f')][_0x1683('0x39')]>this['_config']['maxThreadTotalWeight']&&!this[_0x1683('0x1b')]&&!this[_0x1683('0x29')];}['render'](){super[_0x1683('0xa')](),this['refreshVisibleViews']();}[_0x1683('0x2')](){this[_0x1683('0x2e')][_0x1683('0x2')]();}[_0x1683('0x2c')](){this[_0x1683('0x3')][_0x1683('0x2c')]();for(const _0xd9dbe4 of this['commentViews'])_0xd9dbe4['destroy']();super[_0x1683('0x2c')]();}['refreshVisibleViews'](){this['_shouldCollapse']?this[_0x1683('0x25')]():this['_rearrangeExpand']();}['_handleNewCommentModel'](_0x49cdc8,_0x4f2766){const _0x19de69=new this[(_0x1683('0x1a'))]['CommentView'](this['locale'],_0x49cdc8,{'maxCommentCharsWhenCollapsed':this[_0x1683('0x1a')][_0x1683('0x1d')],'formatDateTime':this[_0x1683('0x1a')][_0x1683('0x1c')],'editorConfig':this[_0x1683('0x1a')][_0x1683('0x20')]});_0x19de69['viewUid']=_0x49cdc8['id'],_0x19de69['delegate'](_0x1683('0x27'))['to'](this),_0x19de69[_0x1683('0x10')](_0x1683('0x2a'))['to'](this),_0x19de69[_0x1683('0x10')](_0x1683('0x7'))['to'](this),_0x19de69[_0x1683('0x10')](_0x1683('0x9'))['to'](this),_0x19de69[_0x1683('0x10')](_0x1683('0x31'))['to'](this),this['listenTo'](_0x19de69,_0x1683('0x4'),()=>this[_0x1683('0x19')]()),this[_0x1683('0x0')][_0x1683('0x16')](_0x19de69,_0x4f2766);}['_calculatePosition'](_0x2b0ea8){const _0x814d7a=this[_0x1683('0x1f')][_0x1683('0x1')](_0x2b0ea8);return this[_0x1683('0x38')]?this[_0x1683('0x38')][_0x1683('0x11')]>_0x2b0ea8[_0x1683('0x11')]?_0x814d7a-0x1:_0x814d7a:_0x814d7a-0x1;}[_0x1683('0x34')](){if(this[_0x1683('0x1f')][_0x1683('0x3c')]&&this[_0x1683('0x1f')][_0x1683('0x2d')]){const _0x287728={'id':'resolved','author':this[_0x1683('0x1f')][_0x1683('0x3c')],'authoredAt':this[_0x1683('0x1f')]['resolvedAt'],'content':_0x1526ae(this[_0x1683('0x28')],_0x1683('0x14')),'attributes':{}};this[_0x1683('0x38')]=new this[(_0x1683('0x1a'))][(_0x1683('0x21'))](this[_0x1683('0x28')],_0x287728,{'maxCommentCharsWhenCollapsed':this[_0x1683('0x1a')][_0x1683('0x1d')],'formatDateTime':this[_0x1683('0x1a')]['formatDateTime'],'editorConfig':this[_0x1683('0x1a')]['editorConfig'],'isSystemComment':!0x0}),this[_0x1683('0x0')][_0x1683('0x16')](this['resolvedCommentView'],this['_model'][_0x1683('0x1')](_0x287728));}else this[_0x1683('0x38')]&&(this[_0x1683('0x0')][_0x1683('0x3f')](this[_0x1683('0x38')]),this[_0x1683('0x38')]['destroy'](),this['resolvedCommentView']=null);this[_0x1683('0x13')]();}[_0x1683('0x23')](_0x24a645){const _0x5571f6=this[_0x1683('0x0')]['remove'](_0x24a645['id']);this[_0x1683('0x18')](_0x5571f6),_0x5571f6[_0x1683('0x3d')]&&this[_0x1683('0x19')](),_0x5571f6[_0x1683('0x2c')]();}['_updateHasDirtyComment'](){this[_0x1683('0x29')]=Array[_0x1683('0x3a')](this['commentViews'])[_0x1683('0x1e')](_0x58f49a=>_0x58f49a[_0x1683('0x3d')]);}[_0x1683('0x25')](){const _0x30d444=function(_0x464a71){const _0x4da340=new _0x4e4643();for(const _0x46934b of _0x464a71)_0x4da340[_0x1683('0x16')](_0x46934b);return _0x4da340;}(this['commentViews']),_0x346d65=this[_0x1683('0x3')][_0x1683('0x32')];for(let _0xb687b3=0x1;_0xb687b3<=_0x346d65;_0xb687b3++)_0x30d444[_0x1683('0x3f')](0x1);for(const _0x660670 of _0x30d444)_0x660670['collapse']();_0x346d65>0x0&&_0x30d444[_0x1683('0x16')](this[_0x1683('0x3')],0x1),ss(_0x185ceb(Array[_0x1683('0x3a')](this[_0x1683('0x3b')]),Array[_0x1683('0x3a')](_0x30d444)),this[_0x1683('0x3b')],_0x30d444);}[_0x1683('0x30')](){ss(_0x185ceb(Array['from'](this[_0x1683('0x3b')]),Array[_0x1683('0x3a')](this[_0x1683('0x0')])),this[_0x1683('0x3b')],this[_0x1683('0x0')]);for(const _0x44d10b of this[_0x1683('0x3b')])_0x44d10b[_0x1683('0x3e')]();}}function ss(_0x617de7,_0x575966,_0x4ad757){let _0x39ec81=0x0;for(const _0x163064 of _0x617de7)switch(_0x163064){case _0x1683('0xc'):_0x575966[_0x1683('0x16')](_0x4ad757[_0x1683('0x26')](_0x39ec81),_0x39ec81),_0x39ec81++;break;case _0x1683('0x22'):_0x575966[_0x1683('0x3f')](_0x39ec81);break;case _0x1683('0x37'):_0x39ec81++;}}
23
+ const _0x42e2=['CommentView','comments','from','maxCommentsWhenCollapsed','destroy','equal','change:isActive','hasDirtyComment','removeComment','collapse','bind','commentViews','_rearrangeExpand','change:isEditMode','_rearrangeCollapse','authoredAt','ck-thread__comments','_findOptimalIndex','expand','_collapsedCommentsView','visibleViews','resolvedCommentView','maxThreadTotalWeight','_config','_shouldCollapse','_model','set','editorDestroyed','resolvedBy','listenTo','_updateHasDirtyComment','isActive','weight','isEditMode','locale','render','viewUid','Marked\x20as\x20resolved','_handleNewCommentModel','length','get','delete','refreshVisibleViews','setTemplate','element','delegate','maxCommentCharsWhenCollapsed','resolveCommentThread','_calculatePosition','_handleInfoComment','insert','remove','editorReady','focus','editorConfig','updateComment','add','_handleRemoveCommentModel'];(function(_0x47923c,_0x42e25f){const _0x28750b=function(_0x3aaeab){while(--_0x3aaeab){_0x47923c['push'](_0x47923c['shift']());}};_0x28750b(++_0x42e25f);}(_0x42e2,0x190));const _0x2875=function(_0x47923c,_0x42e25f){_0x47923c=_0x47923c-0x0;let _0x28750b=_0x42e2[_0x47923c];return _0x28750b;};import{View as _0x398ff0}from'ckeditor5/src/ui';import{diff as _0x26312f,Collection as _0x53e573}from'ckeditor5/src/utils';import{getTranslation as _0x5c8cdb}from'../../../utils/common-translations';import _0x56d115 from'./collapsedcommentsview';export default class wt extends _0x398ff0{constructor(_0x30a934,_0x50fedc,_0x30fd06){super(_0x30a934),this[_0x2875('0x20')](_0x2875('0xd'),!0x1),this[_0x2875('0x20')](_0x2875('0x2d'),_0x50fedc[_0x2875('0x7')][_0x2875('0x2d')]),this[_0x2875('0x20')](_0x2875('0x25'),!0x1),this[_0x2875('0x1f')]=_0x50fedc,this['_config']=_0x30fd06,this['commentViews']=this['createCollection'](),this[_0x2875('0x1a')]=this['createCollection'](),this['resolvedCommentView']=null,this[_0x2875('0x19')]=new _0x56d115(_0x30a934),this['_collapsedCommentsView'][_0x2875('0x10')]('count')['to'](this,_0x2875('0x2d'),_0x20d11f=>_0x20d11f-this[_0x2875('0x1d')][_0x2875('0x9')]);for(const _0x1757a4 of _0x50fedc[_0x2875('0x7')])this['_handleNewCommentModel'](_0x1757a4);this['_handleInfoComment'](),this[_0x2875('0x23')](_0x50fedc[_0x2875('0x7')],'add',(_0x2f63c8,_0x2a1cdf)=>{const _0x1bacfc=this[_0x2875('0x36')](_0x2a1cdf);this[_0x2875('0x2d')]++,this[_0x2875('0x2c')](_0x2a1cdf,_0x1bacfc),this[_0x2875('0x30')]();}),this[_0x2875('0x23')](_0x50fedc[_0x2875('0x7')],_0x2875('0x39'),(_0xe6d2f7,_0x1287a1)=>{this['length']--,this[_0x2875('0x5')](_0x1287a1),this['refreshVisibleViews']();}),this['listenTo'](_0x50fedc,'commentUpdated',()=>this[_0x2875('0x30')]()),this['listenTo'](_0x50fedc,'change:isResolved',()=>this[_0x2875('0x37')]()),this['on'](_0x2875('0xc'),()=>this[_0x2875('0x30')]()),this['on']('change:hasDirtyComment',()=>this[_0x2875('0x30')]()),this[_0x2875('0x31')]({'tag':'ul','attributes':{'class':[_0x2875('0x16')]},'children':this[_0x2875('0x1a')]});}get[_0x2875('0x1e')](){return this[_0x2875('0x1f')][_0x2875('0x26')]>this[_0x2875('0x1d')][_0x2875('0x1c')]&&!this[_0x2875('0x25')]&&!this[_0x2875('0xd')];}[_0x2875('0x29')](){super[_0x2875('0x29')](),this['refreshVisibleViews']();}[_0x2875('0x1')](){this[_0x2875('0x32')][_0x2875('0x1')]();}[_0x2875('0xa')](){this[_0x2875('0x19')]['destroy']();for(const _0x3a0f67 of this['commentViews'])_0x3a0f67[_0x2875('0xa')]();super[_0x2875('0xa')]();}['refreshVisibleViews'](){this['_shouldCollapse']?this[_0x2875('0x14')]():this[_0x2875('0x12')]();}[_0x2875('0x2c')](_0x1a6720,_0x2dcceb){const _0xed9689=new this[(_0x2875('0x1d'))][(_0x2875('0x6'))](this[_0x2875('0x28')],_0x1a6720,{'maxCommentCharsWhenCollapsed':this[_0x2875('0x1d')][_0x2875('0x34')],'formatDateTime':this[_0x2875('0x1d')]['formatDateTime'],'editorConfig':this[_0x2875('0x1d')]['editorConfig']});_0xed9689[_0x2875('0x2a')]=_0x1a6720['id'],_0xed9689[_0x2875('0x33')](_0x2875('0xe'))['to'](this),_0xed9689[_0x2875('0x33')](_0x2875('0x3'))['to'](this),_0xed9689[_0x2875('0x33')](_0x2875('0x35'))['to'](this),_0xed9689[_0x2875('0x33')](_0x2875('0x0'))['to'](this),_0xed9689['delegate'](_0x2875('0x21'))['to'](this),this[_0x2875('0x23')](_0xed9689,_0x2875('0x13'),()=>this['_updateHasDirtyComment']()),this[_0x2875('0x11')][_0x2875('0x4')](_0xed9689,_0x2dcceb);}[_0x2875('0x36')](_0x571e1e){const _0x3eddfb=this['_model']['_findOptimalIndex'](_0x571e1e);return this[_0x2875('0x1b')]?this[_0x2875('0x1b')][_0x2875('0x15')]>_0x571e1e['authoredAt']?_0x3eddfb-0x1:_0x3eddfb:_0x3eddfb-0x1;}[_0x2875('0x37')](){if(this[_0x2875('0x1f')][_0x2875('0x22')]&&this[_0x2875('0x1f')]['resolvedAt']){const _0x1ea1af={'id':'resolved','author':this[_0x2875('0x1f')]['resolvedBy'],'authoredAt':this[_0x2875('0x1f')]['resolvedAt'],'content':_0x5c8cdb(this[_0x2875('0x28')],_0x2875('0x2b')),'attributes':{}};this[_0x2875('0x1b')]=new this['_config'][(_0x2875('0x6'))](this[_0x2875('0x28')],_0x1ea1af,{'maxCommentCharsWhenCollapsed':this[_0x2875('0x1d')]['maxCommentCharsWhenCollapsed'],'formatDateTime':this[_0x2875('0x1d')]['formatDateTime'],'editorConfig':this[_0x2875('0x1d')][_0x2875('0x2')],'isSystemComment':!0x0}),this[_0x2875('0x11')][_0x2875('0x4')](this[_0x2875('0x1b')],this['_model'][_0x2875('0x17')](_0x1ea1af));}else this[_0x2875('0x1b')]&&(this['commentViews'][_0x2875('0x39')](this[_0x2875('0x1b')]),this[_0x2875('0x1b')][_0x2875('0xa')](),this[_0x2875('0x1b')]=null);this[_0x2875('0x30')]();}[_0x2875('0x5')](_0x53a10b){const _0x7ec905=this[_0x2875('0x11')]['remove'](_0x53a10b['id']);this['stopListening'](_0x7ec905),_0x7ec905[_0x2875('0x27')]&&this['_updateHasDirtyComment'](),_0x7ec905[_0x2875('0xa')]();}[_0x2875('0x24')](){this[_0x2875('0xd')]=Array['from'](this['commentViews'])['some'](_0x3dac01=>_0x3dac01[_0x2875('0x27')]);}[_0x2875('0x14')](){const _0x38ab04=function(_0x22e45d){const _0x4d2954=new _0x53e573();for(const _0x566ef2 of _0x22e45d)_0x4d2954[_0x2875('0x4')](_0x566ef2);return _0x4d2954;}(this['commentViews']),_0x1be304=this[_0x2875('0x19')]['count'];for(let _0x454861=0x1;_0x454861<=_0x1be304;_0x454861++)_0x38ab04[_0x2875('0x39')](0x1);for(const _0x1e3491 of _0x38ab04)_0x1e3491[_0x2875('0xf')]();_0x1be304>0x0&&_0x38ab04[_0x2875('0x4')](this[_0x2875('0x19')],0x1),ss(_0x26312f(Array[_0x2875('0x8')](this['visibleViews']),Array[_0x2875('0x8')](_0x38ab04)),this[_0x2875('0x1a')],_0x38ab04);}['_rearrangeExpand'](){ss(_0x26312f(Array[_0x2875('0x8')](this[_0x2875('0x1a')]),Array[_0x2875('0x8')](this[_0x2875('0x11')])),this['visibleViews'],this[_0x2875('0x11')]);for(const _0x18b9a2 of this[_0x2875('0x1a')])_0x18b9a2[_0x2875('0x18')]();}}function ss(_0x34f1d2,_0x1f5ff5,_0x58c1cc){let _0x56d242=0x0;for(const _0xfc0933 of _0x34f1d2)switch(_0xfc0933){case _0x2875('0x38'):_0x1f5ff5['add'](_0x58c1cc[_0x2875('0x2e')](_0x56d242),_0x56d242),_0x56d242++;break;case _0x2875('0x2f'):_0x1f5ff5[_0x2875('0x39')](_0x56d242);break;case _0x2875('0xb'):_0x56d242++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1943=['_model','ck-context-wrapper','div','tooltip','substring','execute','_trimContextValue','offsetWidth','...','context','contextValue','_attachContextActions','ck-context','Comment\x20was\x20made\x20on\x20an\x20element','length','add','value','icon','reopenButtonView','ck-context__value','label','render','mouseleave','bind','mouseenter','hasContext','span','isVisible','_createReopenButton','querySelector','classList','.ck-context','lastIndexOf','reopenCommentThread','ck-thread__header','element','scrollWidth','locale','ck-annotation__actions','isEnabled','overlay','remove','Reopen','listenTo','isResolvable','fire'];(function(_0x189bb6,_0x194338){const _0xd3cf1e=function(_0x4f2acc){while(--_0x4f2acc){_0x189bb6['push'](_0x189bb6['shift']());}};_0xd3cf1e(++_0x194338);}(_0x1943,0xcb));const _0xd3cf=function(_0x189bb6,_0x194338){_0x189bb6=_0x189bb6-0x0;let _0xd3cf1e=_0x1943[_0x189bb6];return _0xd3cf1e;};import{View as _0x1505bb,ButtonView as _0x5f489c}from'ckeditor5/src/ui';import{getTranslation as _0x2c2aa2}from'../../../utils/common-translations';import _0x1fc4f3 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Rt extends _0x1505bb{constructor(_0x2f4459,_0x27f505){super(_0x2f4459);const _0x4695ab=this['bindTemplate'];this[_0xd3cf('0x1b')]=_0x27f505,this['reopenButtonView']=this['_createReopenButton'](),this['bind'](_0xd3cf('0x6'))['to'](this[_0xd3cf('0x1b')],_0xd3cf('0x24'),_0x4a1de9=>!!_0x4a1de9),this[_0xd3cf('0x4')](_0xd3cf('0x25'))['to'](this[_0xd3cf('0x1b')],_0xd3cf('0x24'),_0x1ba21e=>_0x1ba21e&&_0x1ba21e[_0xd3cf('0x2b')]?this['_trimContextValue'](_0x1ba21e[_0xd3cf('0x2b')]):_0x2c2aa2(this['locale'],_0xd3cf('0x28'))),this['setTemplate']({'tag':_0xd3cf('0x1d'),'attributes':{'class':[_0xd3cf('0xf')]},'children':[{'tag':_0xd3cf('0x1d'),'attributes':{'class':[_0xd3cf('0x1c')]},'children':[{'tag':'div','attributes':{'class':[_0xd3cf('0x27'),_0x4695ab['if'](_0xd3cf('0x6'),'ck-context--quotes')]},'children':[{'tag':_0xd3cf('0x7'),'attributes':{'class':[_0xd3cf('0x0')]},'children':[{'text':_0x4695ab['to'](_0xd3cf('0x25'))}]}]}]},{'tag':_0xd3cf('0x1d'),'attributes':{'class':[_0xd3cf('0x13')]},'children':[this[_0xd3cf('0x2d')]]}]});}['render'](){super[_0xd3cf('0x2')](),this[_0xd3cf('0x26')]();}[_0xd3cf('0x9')](){const _0x39990d=new _0x5f489c(this[_0xd3cf('0x12')]);return _0x39990d[_0xd3cf('0x1')]=_0x2c2aa2(this['locale'],_0xd3cf('0x17')),_0x39990d[_0xd3cf('0x1e')]=_0x2c2aa2(this[_0xd3cf('0x12')],_0xd3cf('0x17')),_0x39990d[_0xd3cf('0x2c')]=_0x1fc4f3,_0x39990d[_0xd3cf('0x4')](_0xd3cf('0x14'))['to'](this[_0xd3cf('0x1b')],'isReadOnly',_0x415fe6=>!_0x415fe6),_0x39990d[_0xd3cf('0x4')](_0xd3cf('0x8'))['to'](this[_0xd3cf('0x1b')],_0xd3cf('0x19')),_0x39990d['on'](_0xd3cf('0x20'),()=>{this[_0xd3cf('0x1a')](_0xd3cf('0xe'),this[_0xd3cf('0x1b')]['id']);}),_0x39990d;}[_0xd3cf('0x21')](_0x13ecc7){if(_0x13ecc7[_0xd3cf('0x29')]<0x96)return _0x13ecc7;const _0x20c7f6=_0x13ecc7[_0xd3cf('0xd')]('\x20',0x93);return _0x13ecc7[_0xd3cf('0x1f')](0x0,_0x20c7f6>-0x1?_0x20c7f6:0x93)+_0xd3cf('0x23');}['_attachContextActions'](){const _0x1670d0=this[_0xd3cf('0x10')][_0xd3cf('0xa')](_0xd3cf('0xc')),_0x490fd9=_0x1670d0[_0xd3cf('0xa')]('.ck-context__value');this[_0xd3cf('0x18')](_0x1670d0,_0xd3cf('0x5'),()=>{_0x490fd9[_0xd3cf('0x22')]<_0x490fd9[_0xd3cf('0x11')]&&_0x1670d0[_0xd3cf('0xb')][_0xd3cf('0x2a')](_0xd3cf('0x15'));}),this[_0xd3cf('0x18')](_0x1670d0,_0xd3cf('0x3'),()=>{_0x1670d0[_0xd3cf('0xb')][_0xd3cf('0x16')](_0xd3cf('0x15'));});}}
23
+ const _0x5597=['reopenButtonView','bindTemplate','span','_trimContextValue','div','_attachContextActions','reopenCommentThread','Reopen','_createReopenButton','render','isReadOnly','context','offsetWidth','.ck-context','...','element','label','contextValue','isVisible','ck-annotation__actions','ck-context-wrapper','lastIndexOf','length','locale','value','querySelector','isResolvable','mouseleave','hasContext','execute','isEnabled','bind','.ck-context__value','substring','add','overlay','fire','ck-thread__header','_model','listenTo','ck-context','classList','icon','ck-context--quotes'];(function(_0x1fb7b3,_0x5597d3){const _0xf69654=function(_0x10f811){while(--_0x10f811){_0x1fb7b3['push'](_0x1fb7b3['shift']());}};_0xf69654(++_0x5597d3);}(_0x5597,0xe9));const _0xf696=function(_0x1fb7b3,_0x5597d3){_0x1fb7b3=_0x1fb7b3-0x0;let _0xf69654=_0x5597[_0x1fb7b3];return _0xf69654;};import{View as _0x14689d,ButtonView as _0x3c9877}from'ckeditor5/src/ui';import{getTranslation as _0x193882}from'../../../utils/common-translations';import _0x4676ef from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Rt extends _0x14689d{constructor(_0x48f094,_0x470ef4){super(_0x48f094);const _0x1015c8=this[_0xf696('0x20')];this[_0xf696('0x19')]=_0x470ef4,this[_0xf696('0x1f')]=this[_0xf696('0x27')](),this[_0xf696('0x12')](_0xf696('0xf'))['to'](this[_0xf696('0x19')],_0xf696('0x2a'),_0x112a8c=>!!_0x112a8c),this['bind'](_0xf696('0x4'))['to'](this[_0xf696('0x19')],'context',_0x398c84=>_0x398c84&&_0x398c84['value']?this[_0xf696('0x22')](_0x398c84[_0xf696('0xb')]):_0x193882(this[_0xf696('0xa')],'Comment\x20was\x20made\x20on\x20an\x20element')),this['setTemplate']({'tag':_0xf696('0x23'),'attributes':{'class':[_0xf696('0x18')]},'children':[{'tag':_0xf696('0x23'),'attributes':{'class':[_0xf696('0x7')]},'children':[{'tag':'div','attributes':{'class':[_0xf696('0x1b'),_0x1015c8['if']('hasContext',_0xf696('0x1e'))]},'children':[{'tag':_0xf696('0x21'),'attributes':{'class':['ck-context__value']},'children':[{'text':_0x1015c8['to'](_0xf696('0x4'))}]}]}]},{'tag':_0xf696('0x23'),'attributes':{'class':[_0xf696('0x6')]},'children':[this[_0xf696('0x1f')]]}]});}[_0xf696('0x28')](){super[_0xf696('0x28')](),this['_attachContextActions']();}[_0xf696('0x27')](){const _0x268ff8=new _0x3c9877(this[_0xf696('0xa')]);return _0x268ff8[_0xf696('0x3')]=_0x193882(this[_0xf696('0xa')],_0xf696('0x26')),_0x268ff8['tooltip']=_0x193882(this[_0xf696('0xa')],_0xf696('0x26')),_0x268ff8[_0xf696('0x1d')]=_0x4676ef,_0x268ff8['bind'](_0xf696('0x11'))['to'](this[_0xf696('0x19')],_0xf696('0x29'),_0x3839e2=>!_0x3839e2),_0x268ff8['bind'](_0xf696('0x5'))['to'](this['_model'],_0xf696('0xd')),_0x268ff8['on'](_0xf696('0x10'),()=>{this[_0xf696('0x17')](_0xf696('0x25'),this[_0xf696('0x19')]['id']);}),_0x268ff8;}[_0xf696('0x22')](_0xf50f5e){if(_0xf50f5e[_0xf696('0x9')]<0x96)return _0xf50f5e;const _0x3645d6=_0xf50f5e[_0xf696('0x8')]('\x20',0x93);return _0xf50f5e[_0xf696('0x14')](0x0,_0x3645d6>-0x1?_0x3645d6:0x93)+_0xf696('0x1');}[_0xf696('0x24')](){const _0x51417a=this[_0xf696('0x2')][_0xf696('0xc')](_0xf696('0x0')),_0x55a6ef=_0x51417a['querySelector'](_0xf696('0x13'));this[_0xf696('0x1a')](_0x51417a,'mouseenter',()=>{_0x55a6ef[_0xf696('0x2b')]<_0x55a6ef['scrollWidth']&&_0x51417a[_0xf696('0x1c')][_0xf696('0x15')](_0xf696('0x16'));}),this[_0xf696('0x1a')](_0x51417a,_0xf696('0xe'),()=>{_0x51417a['classList']['remove'](_0xf696('0x16'));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3f05=['editorReady','focusTracker','commentInputView','bind','showInput','set','editor','div','change:showInput','bindTemplate','delegate','ck-comment__input-container--active','editorDestroyed','then','value','setTemplate','extendTemplate','userView','destroy','isFocused'];(function(_0x37da2f,_0x3f0566){var _0x52249b=function(_0x9e28ef){while(--_0x9e28ef){_0x37da2f['push'](_0x37da2f['shift']());}};_0x52249b(++_0x3f0566);}(_0x3f05,0x14e));var _0x5224=function(_0x37da2f,_0x3f0566){_0x37da2f=_0x37da2f-0x0;var _0x52249b=_0x3f05[_0x37da2f];return _0x52249b;};import{View as _0x4823b2}from'ckeditor5/src/ui';import _0x544d5f from'./commentinputview';import{UserView as _0x442986}from'ckeditor5-collaboration/src/collaboration-core';export default class Ct extends _0x4823b2{constructor(_0x4f5239,_0x1a761d,_0x86c9ab){super(_0x4f5239),this['commentInputView']=new _0x544d5f(_0x4f5239,_0x86c9ab),this[_0x5224('0x8')][_0x5224('0x9')]('showButtons')['to'](this[_0x5224('0x8')][_0x5224('0x7')],_0x5224('0x5'),this[_0x5224('0x8')],_0x5224('0x0'),(_0x1f3840,_0x395e69)=>_0x1f3840||!!_0x395e69),this[_0x5224('0xb')]('showInput',!0x1),this['on'](_0x5224('0xe'),()=>{this[_0x5224('0xa')]&&!this[_0x5224('0x8')][_0x5224('0xc')]&&this['commentInputView']['createEditor']();}),this[_0x5224('0x8')][_0x5224('0x10')](_0x5224('0x6'))['to'](this),this[_0x5224('0x8')][_0x5224('0x10')](_0x5224('0x12'))['to'](this),this['userView']=new _0x442986(_0x4f5239,_0x1a761d),this[_0x5224('0x3')][_0x5224('0x2')]({'attributes':{'class':'ck-thread__user'}}),this[_0x5224('0x8')]['extendTemplate']({'attributes':{'class':'ck-thread__input'}}),this[_0x5224('0x1')]({'tag':_0x5224('0xd'),'attributes':{'class':['ck-comment__input-container',this[_0x5224('0xf')]['if'](_0x5224('0xa'),_0x5224('0x11'))]},'children':[this['userView'],this[_0x5224('0x8')]]});}[_0x5224('0x4')](){return this[_0x5224('0x8')][_0x5224('0x4')]()[_0x5224('0x13')](()=>super['destroy']());}}
23
+ var _0x3005=['showButtons','setTemplate','destroy','then','ck-comment__input-container--active','ck-thread__user','bind','ck-comment__input-container','extendTemplate','showInput','change:showInput','userView','editorDestroyed','editor','ck-thread__input','commentInputView','focusTracker','div','editorReady'];(function(_0x57ff6c,_0x3005f7){var _0x1c9d9b=function(_0x1c3e4c){while(--_0x1c3e4c){_0x57ff6c['push'](_0x57ff6c['shift']());}};_0x1c9d9b(++_0x3005f7);}(_0x3005,0x1d6));var _0x1c9d=function(_0x57ff6c,_0x3005f7){_0x57ff6c=_0x57ff6c-0x0;var _0x1c9d9b=_0x3005[_0x57ff6c];return _0x1c9d9b;};import{View as _0x40ee1b}from'ckeditor5/src/ui';import _0x2b2caf from'./commentinputview';import{UserView as _0x147107}from'ckeditor5-collaboration/src/collaboration-core';export default class Ct extends _0x40ee1b{constructor(_0x3cb3e7,_0x32f1b4,_0x17e075){super(_0x3cb3e7),this['commentInputView']=new _0x2b2caf(_0x3cb3e7,_0x17e075),this[_0x1c9d('0x1')][_0x1c9d('0xb')](_0x1c9d('0x5'))['to'](this[_0x1c9d('0x1')][_0x1c9d('0x2')],'isFocused',this['commentInputView'],'value',(_0x5e86c1,_0xb98056)=>_0x5e86c1||!!_0xb98056),this['set'](_0x1c9d('0xe'),!0x1),this['on'](_0x1c9d('0xf'),()=>{this[_0x1c9d('0xe')]&&!this['commentInputView'][_0x1c9d('0x12')]&&this[_0x1c9d('0x1')]['createEditor']();}),this[_0x1c9d('0x1')]['delegate'](_0x1c9d('0x4'))['to'](this),this[_0x1c9d('0x1')]['delegate'](_0x1c9d('0x11'))['to'](this),this['userView']=new _0x147107(_0x3cb3e7,_0x32f1b4),this[_0x1c9d('0x10')][_0x1c9d('0xd')]({'attributes':{'class':_0x1c9d('0xa')}}),this[_0x1c9d('0x1')][_0x1c9d('0xd')]({'attributes':{'class':_0x1c9d('0x0')}}),this[_0x1c9d('0x6')]({'tag':_0x1c9d('0x3'),'attributes':{'class':[_0x1c9d('0xc'),this['bindTemplate']['if']('showInput',_0x1c9d('0x9'))]},'children':[this[_0x1c9d('0x10')],this[_0x1c9d('0x1')]]});}[_0x1c9d('0x7')](){return this['commentInputView'][_0x1c9d('0x7')]()[_0x1c9d('0x8')](()=>super[_0x1c9d('0x7')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x49e0=['getTemplate','unbind','resolveCommentThread','_createResolveButton','commentsListView','set','placeholder','addMany','commentThreadInputView','setTemplate','isVisible','check','ck-thread--active','remove','.ck-thread__container','containerElement','add','tooltip','ck-comment--resolve','_model','removeCommentThread','cancelConfirm','isReadOnly','execute','label','ck-thread__container','extendTemplate','isResolvable','actionIndicator','isActive','actionBar','ck-thread','resolveButton','removeButton','Resolve','_boundFirstCommentView','isConfirm','high','createCollection','icon','commentThreadHeaderView','render','fire','get','bind','listenTo','commentViews','_bindFirstCommentView','ck-reset_all-excluded','ck-thread--remove-confirmation','ck-thread--','_cancelAllConfirms','locale','showConfirm','commentThreadChildren','isSystemComment','div','then','change:isResolved','isResolved'];(function(_0x2f7d4a,_0x49e016){const _0x10f02c=function(_0x515587){while(--_0x515587){_0x2f7d4a['push'](_0x2f7d4a['shift']());}};_0x10f02c(++_0x49e016);}(_0x49e0,0x70));const _0x10f0=function(_0x2f7d4a,_0x49e016){_0x2f7d4a=_0x2f7d4a-0x0;let _0x10f02c=_0x49e0[_0x2f7d4a];return _0x10f02c;};import{ConfirmMixin as _0x198a48}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x47f413}from'ckeditor5/src/ui';import{icons as _0x53e459}from'ckeditor5/src/core';import _0x5ba67e from'./basecommentthreadview';import{getTranslation as _0x5be7a9}from'../../../utils/common-translations';export default class lt extends _0x198a48(_0x5ba67e){constructor(_0x236b5b,_0x33aa2f,_0x147092,_0x36e23e){super(_0x236b5b,_0x33aa2f,_0x147092,_0x36e23e),this[_0x10f0('0x2')]=this[_0x10f0('0x2e')](),this[_0x10f0('0x2')][_0x10f0('0xf')]([this[_0x10f0('0xc')],this[_0x10f0('0x10')]]),this[_0x10f0('0x1b')][_0x10f0('0x7')]&&this[_0x10f0('0x2')][_0x10f0('0x18')](this[_0x10f0('0x30')],0x0),this['_model']['on'](_0x10f0('0x6'),(_0x4f48b8,_0x57cc1e,_0x392d10)=>{_0x392d10?this['commentThreadChildren'][_0x10f0('0x18')](this[_0x10f0('0x30')],0x0):this[_0x10f0('0x2')][_0x10f0('0x15')](this[_0x10f0('0x30')]);}),this[_0x10f0('0xd')](_0x10f0('0x24'),null),this['containerElement']=null,this['_boundFirstCommentView']=null,this[_0x10f0('0x0')]=_0x236b5b,this[_0x10f0('0x28')]=this[_0x10f0('0xb')](),this[_0x10f0('0x11')](this['getTemplate']()),this['on']('change:isActive',(_0x106643,_0x43f99,_0x41faa7)=>{_0x41faa7||this[_0x10f0('0x3b')]();}),this['listenTo'](this['_model'],'change:isReadOnly',(_0x5d3241,_0x4621c9,_0x1403ad)=>{_0x1403ad&&this[_0x10f0('0x3b')]();}),this['length']>0x0&&this[_0x10f0('0x37')](),this[_0x10f0('0x35')](this['commentsListView']['commentViews'],_0x10f0('0x18'),()=>{this[_0x10f0('0x37')]();});}[_0x10f0('0x8')](){const _0x48caad=this['bindTemplate'];return{'tag':_0x10f0('0x4'),'attributes':{'class':[_0x10f0('0x27'),_0x10f0('0x38'),_0x48caad['if'](_0x10f0('0x25'),_0x10f0('0x14')),_0x48caad['if'](_0x10f0('0x2c'),_0x10f0('0x39')),_0x48caad['to'](_0x10f0('0x24'),_0x707265=>_0x707265?_0x10f0('0x3a')+_0x707265:'')],'data-thread-id':this['_model']['id'],'tabindex':-0x1},'children':[{'tag':_0x10f0('0x4'),'attributes':{'class':_0x10f0('0x21')},'children':this[_0x10f0('0x2')]}]};}[_0x10f0('0x31')](){super[_0x10f0('0x31')](),this['containerElement']=this['element']['querySelector'](_0x10f0('0x16'));}[_0x10f0('0x3b')](){this[_0x10f0('0x1d')]();for(const _0x23d347 of this[_0x10f0('0xc')][_0x10f0('0x36')])_0x23d347[_0x10f0('0x1d')]();}[_0x10f0('0x37')](){const {locale:_0x19b16e}=this,_0x1ebb06=this[_0x10f0('0xc')]['commentViews'][_0x10f0('0x33')](0x0);_0x1ebb06===this[_0x10f0('0x2b')]||_0x1ebb06[_0x10f0('0x3')]||(this['_boundFirstCommentView']=_0x1ebb06,this[_0x10f0('0x9')](_0x10f0('0x24')),this[_0x10f0('0x34')](_0x10f0('0x24'))['to'](_0x1ebb06,'actionIndicator',_0x2aae92=>_0x10f0('0x15')===_0x2aae92?_0x10f0('0x15'):null),_0x1ebb06[_0x10f0('0xe')]=_0x5be7a9(_0x19b16e,'Write\x20a\x20comment...'),_0x1ebb06[_0x10f0('0x29')]['on'](_0x10f0('0x1f'),_0x31df74=>{_0x31df74['stop'](),this[_0x10f0('0x1')](_0x5be7a9(_0x19b16e,'Delete\x20comment\x20thread?'),this[_0x10f0('0x17')])[_0x10f0('0x5')](()=>{this['fire'](_0x10f0('0x1c'));});},{'priority':_0x10f0('0x2d')}),_0x1ebb06[_0x10f0('0x26')]['add'](this[_0x10f0('0x28')],0x0));}[_0x10f0('0xb')](){const _0x1db14a=new _0x47f413(this[_0x10f0('0x0')]);return _0x1db14a[_0x10f0('0x20')]=_0x5be7a9(this[_0x10f0('0x0')],_0x10f0('0x2a')),_0x1db14a[_0x10f0('0x19')]=_0x5be7a9(this[_0x10f0('0x0')],_0x10f0('0x2a')),_0x1db14a[_0x10f0('0x2f')]=_0x53e459[_0x10f0('0x13')],_0x1db14a[_0x10f0('0x22')]({'attributes':{'class':_0x10f0('0x1a')}}),_0x1db14a['bind']('isEnabled')['to'](this[_0x10f0('0x1b')],_0x10f0('0x1e'),_0x2e409f=>!_0x2e409f),_0x1db14a['bind'](_0x10f0('0x12'))['to'](this[_0x10f0('0x1b')],_0x10f0('0x23'),this[_0x10f0('0x1b')],'isResolved',(_0x396566,_0x44a1b1)=>_0x396566&&!_0x44a1b1),_0x1db14a['on'](_0x10f0('0x1f'),()=>{this[_0x10f0('0x32')](_0x10f0('0xa'),this[_0x10f0('0x1b')]['id']);}),_0x1db14a;}}
23
+ const _0x1271=['containerElement','setTemplate','check','_model','commentsListView','locale','.ck-thread__container','Resolve','querySelector','isReadOnly','tooltip','ck-thread--','actionIndicator','resolveButton','remove','_cancelAllConfirms','listenTo','bindTemplate','ck-thread--active','resolveCommentThread','isSystemComment','isActive','then','add','removeCommentThread','ck-comment--resolve','isResolvable','actionBar','label','_bindFirstCommentView','get','bind','showConfirm','cancelConfirm','ck-thread--remove-confirmation','ck-reset_all-excluded','commentThreadHeaderView','stop','commentThreadChildren','render','ck-thread','getTemplate','placeholder','_boundFirstCommentView','commentViews','high','extendTemplate','isEnabled','isVisible','execute','fire','ck-thread__container','isResolved','addMany','Delete\x20comment\x20thread?','div','element','commentThreadInputView'];(function(_0x4cdec9,_0x127116){const _0x3696ae=function(_0x497ffa){while(--_0x497ffa){_0x4cdec9['push'](_0x4cdec9['shift']());}};_0x3696ae(++_0x127116);}(_0x1271,0x78));const _0x3696=function(_0x4cdec9,_0x127116){_0x4cdec9=_0x4cdec9-0x0;let _0x3696ae=_0x1271[_0x4cdec9];return _0x3696ae;};import{ConfirmMixin as _0x4674f7}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x5025cb}from'ckeditor5/src/ui';import{icons as _0xa9edad}from'ckeditor5/src/core';import _0x4b779a from'./basecommentthreadview';import{getTranslation as _0x5eb9eb}from'../../../utils/common-translations';export default class lt extends _0x4674f7(_0x4b779a){constructor(_0x2f063b,_0x3e3a75,_0x28f8da,_0x475530){super(_0x2f063b,_0x3e3a75,_0x28f8da,_0x475530),this[_0x3696('0x22')]=this['createCollection'](),this[_0x3696('0x22')][_0x3696('0x31')]([this['commentsListView'],this[_0x3696('0x35')]]),this[_0x3696('0x39')][_0x3696('0x30')]&&this[_0x3696('0x22')][_0x3696('0x13')](this[_0x3696('0x20')],0x0),this[_0x3696('0x39')]['on']('change:isResolved',(_0x382a6a,_0x5e935d,_0x24f084)=>{_0x24f084?this['commentThreadChildren'][_0x3696('0x13')](this[_0x3696('0x20')],0x0):this[_0x3696('0x22')][_0x3696('0xa')](this[_0x3696('0x20')]);}),this['set'](_0x3696('0x8'),null),this['containerElement']=null,this[_0x3696('0x27')]=null,this[_0x3696('0x1')]=_0x2f063b,this[_0x3696('0x9')]=this['_createResolveButton'](),this[_0x3696('0x37')](this[_0x3696('0x25')]()),this['on']('change:isActive',(_0x53ab12,_0x42c0a7,_0x5350e7)=>{_0x5350e7||this['_cancelAllConfirms']();}),this['listenTo'](this['_model'],'change:isReadOnly',(_0x64f029,_0x5aed71,_0x2acc47)=>{_0x2acc47&&this[_0x3696('0xb')]();}),this['length']>0x0&&this['_bindFirstCommentView'](),this[_0x3696('0xc')](this[_0x3696('0x0')][_0x3696('0x28')],_0x3696('0x13'),()=>{this[_0x3696('0x19')]();});}['getTemplate'](){const _0x15a337=this[_0x3696('0xd')];return{'tag':_0x3696('0x33'),'attributes':{'class':[_0x3696('0x24'),_0x3696('0x1f'),_0x15a337['if'](_0x3696('0x11'),_0x3696('0xe')),_0x15a337['if']('isConfirm',_0x3696('0x1e')),_0x15a337['to']('actionIndicator',_0x21435f=>_0x21435f?_0x3696('0x7')+_0x21435f:'')],'data-thread-id':this['_model']['id'],'tabindex':-0x1},'children':[{'tag':_0x3696('0x33'),'attributes':{'class':_0x3696('0x2f')},'children':this[_0x3696('0x22')]}]};}[_0x3696('0x23')](){super[_0x3696('0x23')](),this[_0x3696('0x36')]=this[_0x3696('0x34')][_0x3696('0x4')](_0x3696('0x2'));}[_0x3696('0xb')](){this[_0x3696('0x1d')]();for(const _0x523536 of this['commentsListView']['commentViews'])_0x523536[_0x3696('0x1d')]();}['_bindFirstCommentView'](){const {locale:_0x5d8778}=this,_0x3707da=this[_0x3696('0x0')]['commentViews'][_0x3696('0x1a')](0x0);_0x3707da===this[_0x3696('0x27')]||_0x3707da[_0x3696('0x10')]||(this[_0x3696('0x27')]=_0x3707da,this['unbind'](_0x3696('0x8')),this[_0x3696('0x1b')](_0x3696('0x8'))['to'](_0x3707da,_0x3696('0x8'),_0x3477fb=>_0x3696('0xa')===_0x3477fb?_0x3696('0xa'):null),_0x3707da[_0x3696('0x26')]=_0x5eb9eb(_0x5d8778,'Write\x20a\x20comment...'),_0x3707da['removeButton']['on'](_0x3696('0x2d'),_0xa2e7ba=>{_0xa2e7ba[_0x3696('0x21')](),this[_0x3696('0x1c')](_0x5eb9eb(_0x5d8778,_0x3696('0x32')),this[_0x3696('0x36')])[_0x3696('0x12')](()=>{this[_0x3696('0x2e')](_0x3696('0x14'));});},{'priority':_0x3696('0x29')}),_0x3707da[_0x3696('0x17')][_0x3696('0x13')](this[_0x3696('0x9')],0x0));}['_createResolveButton'](){const _0x1d32ce=new _0x5025cb(this['locale']);return _0x1d32ce[_0x3696('0x18')]=_0x5eb9eb(this[_0x3696('0x1')],_0x3696('0x3')),_0x1d32ce[_0x3696('0x6')]=_0x5eb9eb(this[_0x3696('0x1')],'Resolve'),_0x1d32ce['icon']=_0xa9edad[_0x3696('0x38')],_0x1d32ce[_0x3696('0x2a')]({'attributes':{'class':_0x3696('0x15')}}),_0x1d32ce[_0x3696('0x1b')](_0x3696('0x2b'))['to'](this[_0x3696('0x39')],_0x3696('0x5'),_0xdd9518=>!_0xdd9518),_0x1d32ce[_0x3696('0x1b')](_0x3696('0x2c'))['to'](this[_0x3696('0x39')],_0x3696('0x16'),this[_0x3696('0x39')],_0x3696('0x30'),(_0x16768a,_0x55c7ed)=>_0x16768a&&!_0x55c7ed),_0x1d32ce['on'](_0x3696('0x2d'),()=>{this['fire'](_0x3696('0xf'),this[_0x3696('0x39')]['id']);}),_0x1d32ce;}}