@ckeditor/ckeditor5-comments 0.0.0-nightly-20230809.0 → 0.0.0-nightly-20230811.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 _0x2f97=['collaboration.channelId','plugins','basic','config','importWord.commentsStyles','define','afterInit','high','commands','dataInsert','get','editor','execute','collaboration_features','forEach','_handleImportedData'];(function(_0x53dd88,_0x2f977c){const _0x22af42=function(_0x59a399){while(--_0x59a399){_0x53dd88['push'](_0x53dd88['shift']());}};_0x22af42(++_0x2f977c);}(_0x2f97,0x7a));const _0x22af=function(_0x53dd88,_0x2f977c){_0x53dd88=_0x53dd88-0x0;let _0x22af42=_0x2f97[_0x53dd88];return _0x22af42;};import{Plugin as _0x161217}from'ckeditor5/src/core';import{priorities as _0x23c230}from'ckeditor5/src/utils';import{Users as _0x20a5bd}from'ckeditor5-collaboration/src/collaboration-core';import _0x2aaae5 from'../commentsrepository';export default class Y extends _0x161217{constructor(_0x57e0b1){super(_0x57e0b1),this[_0x22af('0x1')][_0x22af('0x9')][_0x22af('0xb')](_0x22af('0xa'),_0x22af('0x8'));}[_0x22af('0xc')](){const _0x5753a0=this[_0x22af('0x1')],_0x28cd90=_0x5753a0[_0x22af('0xe')]['get']('importWord'),_0x29e3ee=_0x5753a0['plugins'][_0x22af('0x0')](_0x20a5bd);_0x28cd90&&(_0x28cd90['on'](_0x22af('0x2'),(_0x2beed5,[,_0x1c2fbf])=>{_0x1c2fbf[_0x22af('0x3')]={'comments':!0x0,'user_id':_0x29e3ee['me']['id'],'comments_styles':this[_0x22af('0x1')][_0x22af('0x9')][_0x22af('0x0')](_0x22af('0xa'))};},{'priority':_0x23c230[_0x22af('0xd')]+0xa}),this['listenTo'](_0x28cd90,_0x22af('0xf'),this[_0x22af('0x5')]));}[_0x22af('0x5')](_0x56f5cd,_0x495025){const {comment_threads:_0x1cdfd2}=_0x495025;_0x1cdfd2&&_0x1cdfd2[_0x22af('0x4')](({thread_id:_0x3fd538,comments:_0x167538,is_resolved:_0xc46b59})=>{const _0x4745c4=new Date(),_0x274116=_0x167538['map'](({author:_0x2d29f8,content:_0x54798e,created_at:_0x8703f7})=>({'content':_0x54798e,'authorId':this[_0x22af('0x1')][_0x22af('0x7')][_0x22af('0x0')](_0x20a5bd)['me']['id'],'createdAt':_0x4745c4,'attributes':{'@external':{'authorName':_0x2d29f8,'createdAt':_0x8703f7?new Date(_0x8703f7):new Date(),'source':'importWord'}}})),_0x3ddd6e=this[_0x22af('0x1')][_0x22af('0x9')][_0x22af('0x0')](_0x22af('0x6'));this[_0x22af('0x1')][_0x22af('0x7')][_0x22af('0x0')](_0x2aaae5)['addCommentThread']({'channelId':_0x3ddd6e,'threadId':_0x3fd538,'comments':_0x274116,'resolvedAt':_0xc46b59?_0x4745c4:null});});}}
23
+ const _0x32f6=['basic','collaboration_features','high','plugins','get','config','commands','importWord','importWord.commentsStyles','editor','listenTo','_handleImportedData','dataInsert','define','afterInit','forEach','collaboration.channelId','addCommentThread','map'];(function(_0x4b1ca1,_0x32f67a){const _0x54f4df=function(_0x8cfe22){while(--_0x8cfe22){_0x4b1ca1['push'](_0x4b1ca1['shift']());}};_0x54f4df(++_0x32f67a);}(_0x32f6,0x77));const _0x54f4=function(_0x4b1ca1,_0x32f67a){_0x4b1ca1=_0x4b1ca1-0x0;let _0x54f4df=_0x32f6[_0x4b1ca1];return _0x54f4df;};import{Plugin as _0x3fc64d}from'ckeditor5/src/core';import{priorities as _0x2a5451}from'ckeditor5/src/utils';import{Users as _0x442bce}from'ckeditor5-collaboration/src/collaboration-core';import _0x584e1b from'../commentsrepository';export default class tt extends _0x3fc64d{constructor(_0x28852a){super(_0x28852a),this[_0x54f4('0x4')]['config'][_0x54f4('0x8')](_0x54f4('0x3'),_0x54f4('0xe'));}[_0x54f4('0x9')](){const _0x42d0d9=this['editor'],_0x18cc54=_0x42d0d9[_0x54f4('0x1')][_0x54f4('0x12')](_0x54f4('0x2')),_0x346f73=_0x42d0d9[_0x54f4('0x11')][_0x54f4('0x12')](_0x442bce);_0x18cc54&&(_0x18cc54['on']('execute',(_0x5980ef,[,_0x59c97b])=>{_0x59c97b[_0x54f4('0xf')]={'comments':!0x0,'user_id':_0x346f73['me']['id'],'comments_styles':this['editor'][_0x54f4('0x0')][_0x54f4('0x12')](_0x54f4('0x3'))};},{'priority':_0x2a5451[_0x54f4('0x10')]+0xa}),this[_0x54f4('0x5')](_0x18cc54,_0x54f4('0x7'),this[_0x54f4('0x6')]));}['_handleImportedData'](_0x1f531c,_0x19c540){const {comment_threads:_0x5e7a0a}=_0x19c540;_0x5e7a0a&&_0x5e7a0a[_0x54f4('0xa')](({thread_id:_0x187d3f,comments:_0x55d906,is_resolved:_0x5086b9})=>{const _0xad5b92=new Date(),_0x505536=_0x55d906[_0x54f4('0xd')](({author:_0x1a026b,content:_0x1f2fc7,created_at:_0x3ae312})=>({'content':_0x1f2fc7,'authorId':this[_0x54f4('0x4')]['plugins'][_0x54f4('0x12')](_0x442bce)['me']['id'],'createdAt':_0xad5b92,'attributes':{'@external':{'authorName':_0x1a026b,'createdAt':_0x3ae312?new Date(_0x3ae312):new Date(),'source':_0x54f4('0x2')}}})),_0x5a5b0f=this[_0x54f4('0x4')][_0x54f4('0x0')][_0x54f4('0x12')](_0x54f4('0xb'));this['editor'][_0x54f4('0x11')][_0x54f4('0x12')](_0x584e1b)[_0x54f4('0xc')]({'channelId':_0x5a5b0f,'threadId':_0x187d3f,'comments':_0x505536,'resolvedAt':_0x5086b9?_0xad5b92:null});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3bf9=['plugins','childCount','change','defaultPlugins','placeholder','end','data','getChild','editing','destroy','view','config','change:placeholder','init','initPlugins','focus','initialData','placeholderElement','_updatePlaceholder','model','low','createRoot','get','ready','document','getRoot','fire','then'];(function(_0xd7b6f1,_0x3bf9a1){const _0x2a499e=function(_0x42912d){while(--_0x42912d){_0xd7b6f1['push'](_0xd7b6f1['shift']());}};_0x2a499e(++_0x3bf9a1);}(_0x3bf9,0x9c));const _0x2a49=function(_0xd7b6f1,_0x3bf9a1){_0xd7b6f1=_0xd7b6f1-0x0;let _0x2a499e=_0x3bf9[_0xd7b6f1];return _0x2a499e;};import{Editor as _0x582278,DataApiMixin as _0x4d1447}from'ckeditor5/src/core';import _0x5e0752 from'./commenteditorui';import{ObservableMixin as _0x5bd3a1}from'ckeditor5/src/utils';import{enablePlaceholder as _0x1461f4,disablePlaceholder as _0x3d6635}from'ckeditor5/src/engine';import{Clipboard as _0x2e7237}from'ckeditor5/src/clipboard';import{Enter as _0x21d140,ShiftEnter as _0x3ea4a0}from'ckeditor5/src/enter';import{SelectAll as _0x289dab}from'ckeditor5/src/select-all';import{Typing as _0x2b5f5d}from'ckeditor5/src/typing';import{Undo as _0x11aab8}from'ckeditor5/src/undo';import{Paragraph as _0x3df2cf}from'ckeditor5/src/paragraph';const Kt=[_0x2e7237,_0x21d140,_0x3ea4a0,_0x289dab,_0x2b5f5d,_0x11aab8,_0x3df2cf];export default class Lt extends _0x5bd3a1(_0x4d1447(_0x582278)){constructor(_0x3463ec={}){(_0x3463ec=Object['assign']({},_0x3463ec))[_0x2a49('0xc')]||(_0x3463ec[_0x2a49('0xc')]=Lt[_0x2a49('0xf')]),super(_0x3463ec),this['ui']=new _0x5e0752(this),this['set'](_0x2a49('0x10'),''),this[_0x2a49('0x3')]['document']['on']('change',()=>this[_0x2a49('0x2')](),{'priority':_0x2a49('0x4')}),this['on'](_0x2a49('0x18'),()=>this[_0x2a49('0x2')]()),this[_0x2a49('0x3')][_0x2a49('0x8')][_0x2a49('0x5')]();}['create'](){const _0x274e97=this[_0x2a49('0x17')][_0x2a49('0x6')](_0x2a49('0x0'))||'';return this[_0x2a49('0x1a')]()[_0x2a49('0xb')](()=>this['ui'][_0x2a49('0x19')]())['then'](()=>this[_0x2a49('0x12')]['init'](_0x274e97))['then'](()=>this[_0x2a49('0xa')](_0x2a49('0x7')));}['destroy'](){return super[_0x2a49('0x15')]()['then'](()=>this['ui'][_0x2a49('0x15')]());}['focus'](){this['model'][_0x2a49('0xe')](_0x32276a=>{const _0x31c40a=this[_0x2a49('0x3')]['document'][_0x2a49('0x9')](),_0x2b8d87=_0x31c40a&&_0x31c40a[_0x2a49('0x13')](_0x31c40a[_0x2a49('0xd')]-0x1);_0x32276a['setSelection'](_0x2b8d87,_0x2a49('0x11')),this[_0x2a49('0x14')][_0x2a49('0x16')][_0x2a49('0x1b')]();});}[_0x2a49('0x2')](){const _0x5def71=this[_0x2a49('0x14')][_0x2a49('0x16')],_0x1c3d07=_0x5def71[_0x2a49('0x8')][_0x2a49('0x9')](),_0xcabdd7=_0x1c3d07[_0x2a49('0x13')](0x0);_0x1c3d07[_0x2a49('0xd')]>0x1||!_0xcabdd7||'p'!=_0xcabdd7['name']?this[_0x2a49('0x1')]&&this[_0x2a49('0x1')][_0x2a49('0x10')]&&(_0x3d6635(_0x5def71,this[_0x2a49('0x1')]),this[_0x2a49('0x1')]=void 0x0):(this[_0x2a49('0x10')]&&(_0xcabdd7[_0x2a49('0x10')]=this[_0x2a49('0x10')]),_0x1461f4({'view':_0x5def71,'element':_0xcabdd7,'keepOnFocus':!0x0}),this['placeholderElement']=_0xcabdd7);}}Lt[_0x2a49('0xf')]=Kt;
23
+ const _0x2a86=['end','ready','data','defaultPlugins','assign','editing','childCount','getRoot','initPlugins','config','get','view','then','placeholder','set','destroy','focus','document','placeholderElement','model','init','createRoot','low','_updatePlaceholder','getChild','plugins','setSelection','change'];(function(_0xf60487,_0x2a86b9){const _0x1a03e1=function(_0x395d10){while(--_0x395d10){_0xf60487['push'](_0xf60487['shift']());}};_0x1a03e1(++_0x2a86b9);}(_0x2a86,0xa4));const _0x1a03=function(_0xf60487,_0x2a86b9){_0xf60487=_0xf60487-0x0;let _0x1a03e1=_0x2a86[_0xf60487];return _0x1a03e1;};import{Editor as _0x3f951d,DataApiMixin as _0x47bfde}from'ckeditor5/src/core';import _0x59750e from'./commenteditorui';import{ObservableMixin as _0x42ff73}from'ckeditor5/src/utils';import{enablePlaceholder as _0x158679,disablePlaceholder as _0x24c1ef}from'ckeditor5/src/engine';import{Clipboard as _0x17cda4}from'ckeditor5/src/clipboard';import{Enter as _0x3977ba,ShiftEnter as _0x439595}from'ckeditor5/src/enter';import{SelectAll as _0x2c5001}from'ckeditor5/src/select-all';import{Typing as _0x4028a6}from'ckeditor5/src/typing';import{Undo as _0x255e74}from'ckeditor5/src/undo';import{Paragraph as _0x4316a1}from'ckeditor5/src/paragraph';const Kt=[_0x17cda4,_0x3977ba,_0x439595,_0x2c5001,_0x4028a6,_0x255e74,_0x4316a1];export default class Lt extends _0x42ff73(_0x47bfde(_0x3f951d)){constructor(_0x23e80c={}){(_0x23e80c=Object[_0x1a03('0x8')]({},_0x23e80c))[_0x1a03('0x1')]||(_0x23e80c[_0x1a03('0x1')]=Lt[_0x1a03('0x7')]),super(_0x23e80c),this['ui']=new _0x59750e(this),this[_0x1a03('0x12')](_0x1a03('0x11'),''),this[_0x1a03('0x17')]['document']['on'](_0x1a03('0x3'),()=>this[_0x1a03('0x1b')](),{'priority':_0x1a03('0x1a')}),this['on']('change:placeholder',()=>this['_updatePlaceholder']()),this[_0x1a03('0x17')][_0x1a03('0x15')][_0x1a03('0x19')]();}['create'](){const _0x4c09cc=this[_0x1a03('0xd')][_0x1a03('0xe')]('initialData')||'';return this[_0x1a03('0xc')]()[_0x1a03('0x10')](()=>this['ui'][_0x1a03('0x18')]())[_0x1a03('0x10')](()=>this[_0x1a03('0x6')][_0x1a03('0x18')](_0x4c09cc))[_0x1a03('0x10')](()=>this['fire'](_0x1a03('0x5')));}[_0x1a03('0x13')](){return super[_0x1a03('0x13')]()[_0x1a03('0x10')](()=>this['ui'][_0x1a03('0x13')]());}[_0x1a03('0x14')](){this[_0x1a03('0x17')][_0x1a03('0x3')](_0x1e65db=>{const _0x3fd0da=this[_0x1a03('0x17')][_0x1a03('0x15')][_0x1a03('0xb')](),_0x38978e=_0x3fd0da&&_0x3fd0da[_0x1a03('0x0')](_0x3fd0da[_0x1a03('0xa')]-0x1);_0x1e65db[_0x1a03('0x2')](_0x38978e,_0x1a03('0x4')),this[_0x1a03('0x9')][_0x1a03('0xf')]['focus']();});}[_0x1a03('0x1b')](){const _0x453c0b=this[_0x1a03('0x9')][_0x1a03('0xf')],_0x2e7703=_0x453c0b[_0x1a03('0x15')][_0x1a03('0xb')](),_0x17aa9c=_0x2e7703[_0x1a03('0x0')](0x0);_0x2e7703[_0x1a03('0xa')]>0x1||!_0x17aa9c||'p'!=_0x17aa9c['name']?this[_0x1a03('0x16')]&&this['placeholderElement'][_0x1a03('0x11')]&&(_0x24c1ef(_0x453c0b,this[_0x1a03('0x16')]),this[_0x1a03('0x16')]=void 0x0):(this['placeholder']&&(_0x17aa9c[_0x1a03('0x11')]=this[_0x1a03('0x11')]),_0x158679({'view':_0x453c0b,'element':_0x17aa9c,'keepOnFocus':!0x0}),this[_0x1a03('0x16')]=_0x17aa9c);}}Lt['defaultPlugins']=Kt;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x410a=['editor','destroy','attachDomRoot','render','locale','view','name','getRoot','editing','isFocused','document','editable','bind','element','ready','rootName'];(function(_0xb918c8,_0x410a9d){const _0xe64033=function(_0xb47f04){while(--_0xb47f04){_0xb918c8['push'](_0xb918c8['shift']());}};_0xe64033(++_0x410a9d);}(_0x410a,0x94));const _0xe640=function(_0xb918c8,_0x410a9d){_0xb918c8=_0xb918c8-0x0;let _0xe64033=_0x410a[_0xb918c8];return _0xe64033;};import{EditorUI as _0x5a3336}from'ckeditor5/src/ui';import _0x58f7b6 from'./commenteditoruiview';export default class jt extends _0x5a3336{constructor(_0x231ba2){super(_0x231ba2),this['view']=new _0x58f7b6(_0x231ba2[_0xe640('0x0')],_0x231ba2[_0xe640('0x4')]['view']);}get[_0xe640('0x9')](){return this[_0xe640('0x1')]['element'];}['init'](){const _0x2ba000=this[_0xe640('0xc')]['editing'][_0xe640('0x1')],_0x5b3523=this[_0xe640('0x1')][_0xe640('0x7')],_0x5eb299=_0x2ba000[_0xe640('0x6')][_0xe640('0x3')]();_0x5b3523['name']=_0x5eb299[_0xe640('0xb')],this[_0xe640('0x1')][_0xe640('0xf')]();const _0x2783be=_0x5b3523[_0xe640('0x9')];this['setEditableElement'](_0x5b3523[_0xe640('0x2')],_0x2783be),this[_0xe640('0x1')][_0xe640('0x7')][_0xe640('0x8')](_0xe640('0x5'))['to'](this['focusTracker']),_0x2ba000[_0xe640('0xe')](_0x2783be),this['fire'](_0xe640('0xa'));}['destroy'](){super[_0xe640('0xd')](),this['view'][_0xe640('0xd')]();}}
23
+ const _0x56d9=['bind','init','editing','destroy','focusTracker','getRoot','render','element','isFocused','view','name','editable','attachDomRoot','locale','rootName'];(function(_0x4c03fa,_0x56d98f){const _0x55937f=function(_0xb375e5){while(--_0xb375e5){_0x4c03fa['push'](_0x4c03fa['shift']());}};_0x55937f(++_0x56d98f);}(_0x56d9,0x1a3));const _0x5593=function(_0x4c03fa,_0x56d98f){_0x4c03fa=_0x4c03fa-0x0;let _0x55937f=_0x56d9[_0x4c03fa];return _0x55937f;};import{EditorUI as _0x4b9ba2}from'ckeditor5/src/ui';import _0x270c84 from'./commenteditoruiview';export default class jt extends _0x4b9ba2{constructor(_0x5eb739){super(_0x5eb739),this['view']=new _0x270c84(_0x5eb739[_0x5593('0xe')],_0x5eb739[_0x5593('0x3')][_0x5593('0xa')]);}get[_0x5593('0x8')](){return this[_0x5593('0xa')][_0x5593('0x8')];}[_0x5593('0x2')](){const _0x5242da=this['editor'][_0x5593('0x3')][_0x5593('0xa')],_0x3179eb=this[_0x5593('0xa')][_0x5593('0xc')],_0x102b5a=_0x5242da['document'][_0x5593('0x6')]();_0x3179eb['name']=_0x102b5a[_0x5593('0x0')],this[_0x5593('0xa')][_0x5593('0x7')]();const _0x49fd2d=_0x3179eb[_0x5593('0x8')];this['setEditableElement'](_0x3179eb[_0x5593('0xb')],_0x49fd2d),this['view'][_0x5593('0xc')][_0x5593('0x1')](_0x5593('0x9'))['to'](this[_0x5593('0x5')]),_0x5242da[_0x5593('0xd')](_0x49fd2d),this['fire']('ready');}[_0x5593('0x4')](){super[_0x5593('0x4')](),this['view'][_0x5593('0x4')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x309c=['cke-editor__aria-label_','_voiceLabelView','setTemplate','div','ck-editor','render','comment','text','ck-voice-label','focus','ck-reset','add','createCollection','_createVoiceLabel','element','presentation','uiLanguage','ck-comment__input','main','Comment\x20editor','editable','ck-editor__main','ck-editor__aria-label_','uiLanguageDirection'];(function(_0x17758e,_0x309c98){const _0x5481b8=function(_0x181700){while(--_0x181700){_0x17758e['push'](_0x17758e['shift']());}};_0x5481b8(++_0x309c98);}(_0x309c,0xc6));const _0x5481=function(_0x17758e,_0x309c98){_0x17758e=_0x17758e-0x0;let _0x5481b8=_0x309c[_0x17758e];return _0x5481b8;};import{InlineEditableUIView as _0x1e07da,EditorUIView as _0x525e5d,LabelView as _0x5ed4bb}from'ckeditor5/src/ui';import{uid as _0xabf3b5}from'ckeditor5/src/utils';import{getTranslation as _0x560270}from'../../../utils/common-translations';export default class Nt extends _0x525e5d{constructor(_0x52e61b,_0x4e8696){super(_0x52e61b);const _0x1d96ca=_0xabf3b5();this[_0x5481('0xc')]=this[_0x5481('0x6')](),this[_0x5481('0xe')]=new _0x1e07da(_0x52e61b,_0x4e8696),this['_voiceLabelView']=this['_createVoiceLabel'](_0x1d96ca,_0x52e61b),this[_0x5481('0x14')]({'tag':_0x5481('0x15'),'attributes':{'class':[_0x5481('0x4'),_0x5481('0x16'),'ck-rounded-corners',_0x5481('0xb')],'role':_0x5481('0x0'),'dir':_0x52e61b[_0x5481('0x11')],'lang':_0x52e61b[_0x5481('0xa')],'aria-labelledby':_0x5481('0x12')+_0x1d96ca},'children':[this[_0x5481('0x13')],{'tag':_0x5481('0x15'),'attributes':{'class':_0x5481('0xf'),'role':_0x5481('0x9')},'children':this[_0x5481('0xc')]}]});}[_0x5481('0x17')](){super[_0x5481('0x17')](),this[_0x5481('0xc')][_0x5481('0x5')](this[_0x5481('0xe')]);}[_0x5481('0x3')](){this[_0x5481('0xe')][_0x5481('0x8')][_0x5481('0x3')]();}[_0x5481('0x7')](_0x41aa98,_0x532751){const _0xc22a3a=new _0x5ed4bb();return _0xc22a3a[_0x5481('0x1')]=_0x560270(_0x532751,_0x5481('0xd')),_0xc22a3a['extendTemplate']({'attributes':{'id':_0x5481('0x10')+_0x41aa98,'class':_0x5481('0x2')}}),_0xc22a3a;}}
23
+ const _0x2aaf=['add','_createVoiceLabel','_voiceLabelView','render','uiLanguage','editable','ck-editor','div','ck-editor__main','createCollection','text','element','setTemplate','comment','cke-editor__aria-label_','uiLanguageDirection','main','ck-comment__input','ck-reset','focus'];(function(_0x27d311,_0x2aaf6c){const _0x7a22f3=function(_0x43de87){while(--_0x43de87){_0x27d311['push'](_0x27d311['shift']());}};_0x7a22f3(++_0x2aaf6c);}(_0x2aaf,0x6e));const _0x7a22=function(_0x27d311,_0x2aaf6c){_0x27d311=_0x27d311-0x0;let _0x7a22f3=_0x2aaf[_0x27d311];return _0x7a22f3;};import{InlineEditableUIView as _0x25a470,EditorUIView as _0x31e461,LabelView as _0x57d0cf}from'ckeditor5/src/ui';import{uid as _0x54053d}from'ckeditor5/src/utils';import{getTranslation as _0x3f6120}from'../../../utils/common-translations';export default class Nt extends _0x31e461{constructor(_0x2f5ad,_0x4615ca){super(_0x2f5ad);const _0x2c42a4=_0x54053d();this[_0x7a22('0x6')]=this[_0x7a22('0x13')](),this[_0x7a22('0xf')]=new _0x25a470(_0x2f5ad,_0x4615ca),this[_0x7a22('0xc')]=this['_createVoiceLabel'](_0x2c42a4,_0x2f5ad),this[_0x7a22('0x2')]({'tag':_0x7a22('0x11'),'attributes':{'class':[_0x7a22('0x8'),_0x7a22('0x10'),'ck-rounded-corners',_0x7a22('0x7')],'role':_0x7a22('0x3'),'dir':_0x2f5ad[_0x7a22('0x5')],'lang':_0x2f5ad[_0x7a22('0xe')],'aria-labelledby':_0x7a22('0x4')+_0x2c42a4},'children':[this[_0x7a22('0xc')],{'tag':_0x7a22('0x11'),'attributes':{'class':_0x7a22('0x12'),'role':'presentation'},'children':this[_0x7a22('0x6')]}]});}[_0x7a22('0xd')](){super['render'](),this['main'][_0x7a22('0xa')](this[_0x7a22('0xf')]);}['focus'](){this[_0x7a22('0xf')][_0x7a22('0x1')][_0x7a22('0x9')]();}[_0x7a22('0xb')](_0x34d083,_0x1cdd53){const _0x564fb9=new _0x57d0cf();return _0x564fb9[_0x7a22('0x0')]=_0x3f6120(_0x1cdd53,'Comment\x20editor'),_0x564fb9['extendTemplate']({'attributes':{'id':'ck-editor__aria-label_'+_0x34d083,'class':'ck-voice-label'}}),_0x564fb9;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x240d=['reopen','listenTo','model','submit','remove','updateComment','addComment','removeCommentThread','removeComment','isResolved','resolve','stopListening','_localUser','getComment','_isAttached','submitCommentThread','view','update'];(function(_0x5b0e15,_0x240d0e){var _0x32acb1=function(_0x306608){while(--_0x306608){_0x5b0e15['push'](_0x5b0e15['shift']());}};_0x32acb1(++_0x240d0e);}(_0x240d,0x1e2));var _0x32ac=function(_0x5b0e15,_0x240d0e){_0x5b0e15=_0x5b0e15-0x0;var _0x32acb1=_0x240d[_0x5b0e15];return _0x32acb1;};import{ObservableMixin as _0x20f938}from'ckeditor5/src/utils';export default class ct extends _0x20f938(){constructor(_0x4f5ecb,_0x51df67){super(),this['model']=_0x4f5ecb,this[_0x32ac('0x6')][_0x32ac('0x0')]=!0x0,this[_0x32ac('0x2')]=_0x51df67,this[_0x32ac('0x5')](_0x51df67,_0x32ac('0x1'),()=>this[_0x32ac('0x7')]()),this[_0x32ac('0x5')](_0x51df67,_0x32ac('0xb'),()=>this[_0x32ac('0x8')]()),this['listenTo'](_0x51df67,'resolveCommentThread',()=>this[_0x32ac('0xe')]()),this['listenTo'](_0x51df67,'reopenCommentThread',()=>this[_0x32ac('0x4')]()),this[_0x32ac('0x5')](_0x51df67,_0x32ac('0xa'),(_0x2ea1f9,_0x23c5f0)=>this[_0x32ac('0xa')](_0x23c5f0)),this[_0x32ac('0x5')](_0x51df67,'updateComment',(_0x4d81ab,_0x13988a,_0x2a5f71)=>this['updateComment'](_0x13988a,_0x2a5f71)),this[_0x32ac('0x5')](_0x51df67,_0x32ac('0xc'),(_0x19ad63,_0xc9fee1)=>this['removeComment'](_0xc9fee1));}['submit'](){this[_0x32ac('0x6')]['submit']();}[_0x32ac('0x8')](){this[_0x32ac('0x6')][_0x32ac('0x8')]();}[_0x32ac('0xe')](){this[_0x32ac('0x6')][_0x32ac('0xd')]||this[_0x32ac('0x6')][_0x32ac('0xe')]();}[_0x32ac('0x4')](){this[_0x32ac('0x6')][_0x32ac('0xd')]&&this[_0x32ac('0x6')][_0x32ac('0x4')]();}[_0x32ac('0xa')](_0x551034){this[_0x32ac('0x6')][_0x32ac('0xa')]({'content':_0x551034,'authorId':this['view'][_0x32ac('0x10')]['id']});}[_0x32ac('0x9')](_0x3fb7a6,_0x25cf05){this[_0x32ac('0x6')][_0x32ac('0x11')](_0x3fb7a6)[_0x32ac('0x3')]({'content':_0x25cf05});}[_0x32ac('0xc')](_0x5c33ea){this['model'][_0x32ac('0x11')](_0x5c33ea)[_0x32ac('0x8')]();}['destroy'](){this[_0x32ac('0xf')](),this['model'][_0x32ac('0x0')]=!0x1;}}
23
+ var _0x333c=['listenTo','addComment','submitCommentThread','isResolved','reopenCommentThread','_isAttached','resolve','remove','stopListening','_localUser','reopen','updateComment','resolveCommentThread','submit','model','getComment','removeComment','view','removeCommentThread','destroy'];(function(_0x2e1df6,_0x333c23){var _0x54b437=function(_0x297261){while(--_0x297261){_0x2e1df6['push'](_0x2e1df6['shift']());}};_0x54b437(++_0x333c23);}(_0x333c,0x70));var _0x54b4=function(_0x2e1df6,_0x333c23){_0x2e1df6=_0x2e1df6-0x0;var _0x54b437=_0x333c[_0x2e1df6];return _0x54b437;};import{ObservableMixin as _0x1f3ef3}from'ckeditor5/src/utils';export default class ut extends _0x1f3ef3(){constructor(_0x287a8a,_0x55a5fb){super(),this['model']=_0x287a8a,this['model'][_0x54b4('0xd')]=!0x0,this[_0x54b4('0x5')]=_0x55a5fb,this[_0x54b4('0x8')](_0x55a5fb,_0x54b4('0xa'),()=>this[_0x54b4('0x1')]()),this[_0x54b4('0x8')](_0x55a5fb,_0x54b4('0x6'),()=>this[_0x54b4('0xf')]()),this[_0x54b4('0x8')](_0x55a5fb,_0x54b4('0x0'),()=>this[_0x54b4('0xe')]()),this[_0x54b4('0x8')](_0x55a5fb,_0x54b4('0xc'),()=>this[_0x54b4('0x12')]()),this['listenTo'](_0x55a5fb,'addComment',(_0x398340,_0xeaad97)=>this[_0x54b4('0x9')](_0xeaad97)),this[_0x54b4('0x8')](_0x55a5fb,_0x54b4('0x13'),(_0x25f5da,_0x4c338c,_0x2c09e8)=>this[_0x54b4('0x13')](_0x4c338c,_0x2c09e8)),this[_0x54b4('0x8')](_0x55a5fb,_0x54b4('0x4'),(_0x368b89,_0x255b57)=>this[_0x54b4('0x4')](_0x255b57));}[_0x54b4('0x1')](){this[_0x54b4('0x2')]['submit']();}[_0x54b4('0xf')](){this[_0x54b4('0x2')][_0x54b4('0xf')]();}[_0x54b4('0xe')](){this[_0x54b4('0x2')][_0x54b4('0xb')]||this['model']['resolve']();}[_0x54b4('0x12')](){this['model'][_0x54b4('0xb')]&&this[_0x54b4('0x2')][_0x54b4('0x12')]();}[_0x54b4('0x9')](_0xcb68ae){this[_0x54b4('0x2')][_0x54b4('0x9')]({'content':_0xcb68ae,'authorId':this[_0x54b4('0x5')][_0x54b4('0x11')]['id']});}[_0x54b4('0x13')](_0x535019,_0x132903){this['model'][_0x54b4('0x3')](_0x535019)['update']({'content':_0x132903});}[_0x54b4('0x4')](_0x55e345){this[_0x54b4('0x2')][_0x54b4('0x3')](_0x55e345)[_0x54b4('0xf')]();}[_0x54b4('0x7')](){this[_0x54b4('0x10')](),this['model'][_0x54b4('0xd')]=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b99=['Reply...','locale','stop','isSubmitted','set','Reply\x20to\x20reopen\x20discussion...','disabledSubmit','element','_model','Comment','isResolvable','Reply','commentsListView','bind','commentInputView','_localUser','CommentView','commentThreadHeaderView','showInput','removeCommentThread','focus','reopenCommentThread','_config','_createCommentThreadInputView','length','commentThreadInputView','addComment','removeComment','isReadOnly','isResolved','value','destroy','cancel','delegate','isActive','submitCommentThread','isDirty','editorReady','assign','canComment','fire','editorDestroyed','editorConfig'];(function(_0x21a702,_0x1b9998){const _0x45a830=function(_0x3fee91){while(--_0x3fee91){_0x21a702['push'](_0x21a702['shift']());}};_0x45a830(++_0x1b9998);}(_0x1b99,0xf1));const _0x45a8=function(_0x21a702,_0x1b9998){_0x21a702=_0x21a702-0x0;let _0x45a830=_0x1b99[_0x21a702];return _0x45a830;};import{View as _0x43394e}from'ckeditor5/src/ui';import _0x5237e from'./commentthreadinputview';import _0x4b4c00 from'./commentslistview';import _0x55639b from'./commentthreadheaderview';import{getTranslation as _0x13b912}from'../../../utils/common-translations';export default class Tt extends _0x43394e{constructor(_0x231bbe,_0x2ae596,_0x1f69d,_0x677abf){super(_0x231bbe),this['set'](_0x45a8('0x8'),!0x1),this[_0x45a8('0x15')]('isDirty',!0x1),this[_0x45a8('0x19')]=_0x2ae596,this[_0x45a8('0x20')]=_0x1f69d,this[_0x45a8('0x27')]=_0x677abf,this[_0x45a8('0x22')]=new _0x55639b(_0x231bbe,_0x2ae596),this['commentThreadHeaderView']['delegate']('reopenCommentThread')['to'](this),this[_0x45a8('0x1d')]=new _0x4b4c00(_0x231bbe,_0x2ae596,Object[_0x45a8('0xc')]({'CommentView':this[_0x45a8('0x27')][_0x45a8('0x21')]},_0x677abf)),this[_0x45a8('0x1d')][_0x45a8('0x7')](_0x45a8('0x1'))['to'](this),this[_0x45a8('0x1d')][_0x45a8('0x7')]('updateComment')['to'](this),this[_0x45a8('0x1d')][_0x45a8('0x7')]('resolveCommentThread')['to'](this),this['commentsListView'][_0x45a8('0x7')](_0x45a8('0xb'))['to'](this),this[_0x45a8('0x1d')][_0x45a8('0x7')](_0x45a8('0xf'))['to'](this),this['commentsListView'][_0x45a8('0x1e')](_0x45a8('0x8'))['to'](this),this[_0x45a8('0x15')]('length',this['commentsListView'][_0x45a8('0x29')]),this[_0x45a8('0x1e')]('length')['to'](this['commentsListView'],_0x45a8('0x29')),this[_0x45a8('0x2a')]=this[_0x45a8('0x28')](),this['commentThreadInputView']['delegate'](_0x45a8('0xb'))['to'](this),this[_0x45a8('0x2a')]['delegate']('editorDestroyed')['to'](this),this['on']('removeComment',()=>this[_0x45a8('0x25')]()),this[_0x45a8('0x1e')](_0x45a8('0xa'))['to'](this[_0x45a8('0x1d')],'hasDirtyComment',this[_0x45a8('0x2a')][_0x45a8('0x1f')],_0x45a8('0x4'),(_0x319f1d,_0x988870)=>_0x319f1d||!!_0x988870);}['focus'](){this[_0x45a8('0x18')]['focus']();}['destroy'](){this[_0x45a8('0xa')]=!0x1,this[_0x45a8('0x1d')]['destroy'](),this[_0x45a8('0x2a')][_0x45a8('0x5')](),super[_0x45a8('0x5')]();}[_0x45a8('0x28')](){const _0x43a693=new _0x5237e(this[_0x45a8('0x12')],this[_0x45a8('0x20')],this[_0x45a8('0x27')][_0x45a8('0x10')]),_0x56f0f4=_0x43a693[_0x45a8('0x1f')];return _0x43a693[_0x45a8('0x1e')](_0x45a8('0x23'))['to'](this,_0x45a8('0x8'),this[_0x45a8('0x19')],_0x45a8('0x2'),this[_0x45a8('0x19')],_0x45a8('0xd'),this['_model'],_0x45a8('0x3'),_0x56f0f4,_0x45a8('0x4'),(_0xe3015d,_0x3eb4b9,_0x52dc84,_0x439d08,_0xf3fff9)=>!!_0xf3fff9||_0x439d08&&_0x52dc84&&!_0x3eb4b9||_0xe3015d&&_0x52dc84&&!_0x3eb4b9),_0x56f0f4[_0x45a8('0x1e')]('placeholder')['to'](this,'length',this['_model'],_0x45a8('0x1b'),this['_model'],_0x45a8('0x3'),(_0x18bf50,_0x49a5e6,_0x1c2a99)=>{let _0x17cd4b;return _0x17cd4b=_0x1c2a99&&_0x49a5e6?_0x45a8('0x16'):_0x18bf50?_0x45a8('0x11'):'Write\x20a\x20comment...',_0x13b912(this[_0x45a8('0x12')],_0x17cd4b);}),_0x56f0f4[_0x45a8('0x1e')]('submitLabel')['to'](this,'length',_0x496657=>_0x13b912(this[_0x45a8('0x12')],_0x496657?_0x45a8('0x1c'):_0x45a8('0x1a'))),_0x56f0f4['on']('submit',(_0x12484e,_0x27e07e)=>{this[_0x45a8('0xe')](_0x45a8('0x0'),_0x27e07e),this['_model'][_0x45a8('0x3')]&&this[_0x45a8('0x19')]['isResolvable']&&this[_0x45a8('0xe')](_0x45a8('0x26'),this[_0x45a8('0x19')]['id']),this[_0x45a8('0x19')][_0x45a8('0x14')]||this['fire'](_0x45a8('0x9'));}),_0x56f0f4['on'](_0x45a8('0x6'),()=>{this[_0x45a8('0x25')]();}),_0x56f0f4[_0x45a8('0x1e')](_0x45a8('0x17'))['to'](this[_0x45a8('0x19')],_0x45a8('0x2')),_0x56f0f4['on']('cancel',_0x1c8e24=>{0x0==this['length']&&(this[_0x45a8('0xe')](_0x45a8('0x24')),_0x1c8e24[_0x45a8('0x13')]());}),this['on']('change:isActive',(_0x727b53,_0x3067ae,_0x3b40c1)=>{_0x3b40c1||this[_0x45a8('0x29')]||_0x56f0f4[_0x45a8('0x4')]||this[_0x45a8('0xe')](_0x45a8('0x24'));}),_0x43a693;}}
23
+ const _0x62fc=['_config','placeholder','_model','editorDestroyed','isSubmitted','commentThreadInputView','element','isResolved','isReadOnly','submitCommentThread','Comment','_localUser','commentsListView','disabledSubmit','isResolvable','_createCommentThreadInputView','reopenCommentThread','CommentView','isDirty','updateComment','value','fire','focus','assign','removeCommentThread','length','isActive','commentInputView','editorReady','set','locale','destroy','change:isActive','showInput','bind','removeComment','resolveCommentThread','Reply\x20to\x20reopen\x20discussion...','delegate','editorConfig','cancel','Reply...','commentThreadHeaderView'];(function(_0x229be9,_0x62fcc2){const _0x503fc6=function(_0x4e0a80){while(--_0x4e0a80){_0x229be9['push'](_0x229be9['shift']());}};_0x503fc6(++_0x62fcc2);}(_0x62fc,0xf5));const _0x503f=function(_0x229be9,_0x62fcc2){_0x229be9=_0x229be9-0x0;let _0x503fc6=_0x62fc[_0x229be9];return _0x503fc6;};import{View as _0x5622f3}from'ckeditor5/src/ui';import _0x2c7009 from'./commentthreadinputview';import _0xebfe5 from'./commentslistview';import _0x5f0333 from'./commentthreadheaderview';import{getTranslation as _0x4d0edb}from'../../../utils/common-translations';export default class Tt extends _0x5622f3{constructor(_0x64affe,_0x5ee661,_0x4f5fd4,_0x1cfe40){super(_0x64affe),this[_0x503f('0x2a')](_0x503f('0x27'),!0x1),this['set'](_0x503f('0x1f'),!0x1),this[_0x503f('0xf')]=_0x5ee661,this[_0x503f('0x18')]=_0x4f5fd4,this[_0x503f('0xd')]=_0x1cfe40,this[_0x503f('0xc')]=new _0x5f0333(_0x64affe,_0x5ee661),this[_0x503f('0xc')][_0x503f('0x8')]('reopenCommentThread')['to'](this),this[_0x503f('0x19')]=new _0xebfe5(_0x64affe,_0x5ee661,Object[_0x503f('0x24')]({'CommentView':this[_0x503f('0xd')][_0x503f('0x1e')]},_0x1cfe40)),this[_0x503f('0x19')]['delegate'](_0x503f('0x5'))['to'](this),this[_0x503f('0x19')][_0x503f('0x8')](_0x503f('0x20'))['to'](this),this['commentsListView'][_0x503f('0x8')](_0x503f('0x6'))['to'](this),this[_0x503f('0x19')][_0x503f('0x8')](_0x503f('0x29'))['to'](this),this[_0x503f('0x19')][_0x503f('0x8')](_0x503f('0x10'))['to'](this),this[_0x503f('0x19')][_0x503f('0x4')](_0x503f('0x27'))['to'](this),this[_0x503f('0x2a')]('length',this[_0x503f('0x19')][_0x503f('0x26')]),this[_0x503f('0x4')]('length')['to'](this[_0x503f('0x19')],'length'),this[_0x503f('0x12')]=this[_0x503f('0x1c')](),this[_0x503f('0x12')]['delegate'](_0x503f('0x29'))['to'](this),this[_0x503f('0x12')][_0x503f('0x8')](_0x503f('0x10'))['to'](this),this['on'](_0x503f('0x5'),()=>this[_0x503f('0x23')]()),this['bind'](_0x503f('0x1f'))['to'](this[_0x503f('0x19')],'hasDirtyComment',this[_0x503f('0x12')][_0x503f('0x28')],_0x503f('0x21'),(_0x3eb102,_0x47d550)=>_0x3eb102||!!_0x47d550);}[_0x503f('0x23')](){this[_0x503f('0x13')][_0x503f('0x23')]();}[_0x503f('0x1')](){this[_0x503f('0x1f')]=!0x1,this[_0x503f('0x19')]['destroy'](),this[_0x503f('0x12')][_0x503f('0x1')](),super[_0x503f('0x1')]();}[_0x503f('0x1c')](){const _0xed1bca=new _0x2c7009(this[_0x503f('0x0')],this[_0x503f('0x18')],this[_0x503f('0xd')][_0x503f('0x9')]),_0x418814=_0xed1bca[_0x503f('0x28')];return _0xed1bca['bind'](_0x503f('0x3'))['to'](this,_0x503f('0x27'),this['_model'],'isReadOnly',this[_0x503f('0xf')],'canComment',this[_0x503f('0xf')],_0x503f('0x14'),_0x418814,'value',(_0x4ed62a,_0x27d371,_0x4a36bb,_0x5244e3,_0x17556c)=>!!_0x17556c||_0x5244e3&&_0x4a36bb&&!_0x27d371||_0x4ed62a&&_0x4a36bb&&!_0x27d371),_0x418814['bind'](_0x503f('0xe'))['to'](this,_0x503f('0x26'),this[_0x503f('0xf')],_0x503f('0x1b'),this[_0x503f('0xf')],_0x503f('0x14'),(_0x2c9b9d,_0x4bbccb,_0x3f4e00)=>{let _0xf8ecfb;return _0xf8ecfb=_0x3f4e00&&_0x4bbccb?_0x503f('0x7'):_0x2c9b9d?_0x503f('0xb'):'Write\x20a\x20comment...',_0x4d0edb(this['locale'],_0xf8ecfb);}),_0x418814['bind']('submitLabel')['to'](this,_0x503f('0x26'),_0x44608c=>_0x4d0edb(this[_0x503f('0x0')],_0x44608c?'Reply':_0x503f('0x17'))),_0x418814['on']('submit',(_0x14457b,_0x50cebe)=>{this[_0x503f('0x22')]('addComment',_0x50cebe),this[_0x503f('0xf')][_0x503f('0x14')]&&this[_0x503f('0xf')][_0x503f('0x1b')]&&this['fire'](_0x503f('0x1d'),this[_0x503f('0xf')]['id']),this[_0x503f('0xf')][_0x503f('0x11')]||this[_0x503f('0x22')](_0x503f('0x16'));}),_0x418814['on'](_0x503f('0xa'),()=>{this['focus']();}),_0x418814['bind'](_0x503f('0x1a'))['to'](this[_0x503f('0xf')],_0x503f('0x15')),_0x418814['on'](_0x503f('0xa'),_0x2efd43=>{0x0==this[_0x503f('0x26')]&&(this['fire'](_0x503f('0x25')),_0x2efd43['stop']());}),this['on'](_0x503f('0x2'),(_0x547064,_0x478da1,_0x39347c)=>{_0x39347c||this['length']||_0x418814[_0x503f('0x21')]||this[_0x503f('0x22')]('removeCommentThread');}),_0xed1bca;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e66=['switchToDisplayMode','set','bind','_config','_createCommentContentView','expand','isReadOnly','isSystemComment','Save','locale','editorDestroyed','once','switchToEditMode','remove','value','_model','add','isEditMode','_createCommentInputView','editorConfig','collapse','element','isCollapsed','content','editorReady','submitLabel','visibleView','delegate','focus','fire','submit','destroy'];(function(_0x40a771,_0x5e6684){const _0x15fa10=function(_0x3740fd){while(--_0x3740fd){_0x40a771['push'](_0x40a771['shift']());}};_0x15fa10(++_0x5e6684);}(_0x5e66,0x173));const _0x15fa=function(_0x40a771,_0x5e6684){_0x40a771=_0x40a771-0x0;let _0x15fa10=_0x5e66[_0x40a771];return _0x15fa10;};import{View as _0xd4c207}from'ckeditor5/src/ui';import{trimHtml as _0x4933d5}from'ckeditor5-collaboration/src/collaboration-core';import _0x3fd9d0 from'./commentcontentview';import _0xa295b2 from'./commentinputview';import{getTranslation as _0x28dad6}from'../../../utils/common-translations';export default class Yt extends _0xd4c207{constructor(_0x28afcb,_0x3774d3,_0x196ec1){super(_0x28afcb),this[_0x15fa('0x1c')]=_0x3774d3,this[_0x15fa('0x10')]=_0x196ec1,this['isSystemComment']=!!this[_0x15fa('0x10')][_0x15fa('0x14')],this[_0x15fa('0xe')](_0x15fa('0x1e'),!0x1),this[_0x15fa('0xe')](_0x15fa('0x3'),!0x0),this[_0x15fa('0x7')]=this['createCollection'](),this[_0x15fa('0x7')][_0x15fa('0x1d')](this[_0x15fa('0x11')]());}[_0x15fa('0x12')](){this['isCollapsed']=!0x1;}[_0x15fa('0x1')](){this[_0x15fa('0x1e')]||(this[_0x15fa('0x3')]=!0x0);}[_0x15fa('0x9')](){this[_0x15fa('0x2')][_0x15fa('0x9')]();}async[_0x15fa('0xc')](){await this[_0x15fa('0x7')]['get'](0x0)[_0x15fa('0xc')](),super['destroy']();}[_0x15fa('0x19')](){this[_0x15fa('0x1e')]||(this[_0x15fa('0x1e')]=!0x0,this[_0x15fa('0x7')]['remove'](0x0)[_0x15fa('0xc')](),this['visibleView']['add'](this[_0x15fa('0x1f')]()));}['switchToDisplayMode'](){this[_0x15fa('0x1e')]&&(this['isEditMode']=!0x1,this['visibleView'][_0x15fa('0x1a')](0x0)[_0x15fa('0xc')](),this[_0x15fa('0x7')][_0x15fa('0x1d')](this[_0x15fa('0x11')]()));}[_0x15fa('0x11')](){const _0x4b9142=new _0x3fd9d0(this[_0x15fa('0x16')]);return _0x4b9142['bind'](_0x15fa('0x4'))['to'](this[_0x15fa('0x1c')],_0x15fa('0x4'),this,'isCollapsed',(_0x30ca82,_0x47d956)=>_0x47d956?_0x4933d5(_0x30ca82,{'limit':this[_0x15fa('0x10')]['maxCommentCharsWhenCollapsed']}):_0x30ca82),_0x4b9142;}[_0x15fa('0x1f')](){this[_0x15fa('0x10')][_0x15fa('0x0')]||(this[_0x15fa('0x10')][_0x15fa('0x0')]={}),this[_0x15fa('0x10')]['editorConfig']['initialData']=this[_0x15fa('0x1c')][_0x15fa('0x4')];const _0x5ac6d4=new _0xa295b2(this['locale'],this['_config'][_0x15fa('0x0')]);return _0x5ac6d4[_0x15fa('0x1b')]=this['_model']['content'],_0x5ac6d4[_0x15fa('0xf')]('disabledSubmit')['to'](this['_model'],_0x15fa('0x13')),_0x5ac6d4[_0x15fa('0x6')]=_0x28dad6(this[_0x15fa('0x16')],_0x15fa('0x15')),_0x5ac6d4['on'](_0x15fa('0xb'),(_0x3c3ed6,_0x2d021c)=>{this[_0x15fa('0xa')]('updateComment',this['_model']['id'],_0x2d021c),this[_0x15fa('0xd')](),this['focus']();}),_0x5ac6d4['on']('cancel',()=>{this[_0x15fa('0xd')](),this[_0x15fa('0x9')]();}),_0x5ac6d4[_0x15fa('0x18')](_0x15fa('0x5'),()=>{_0x5ac6d4[_0x15fa('0x9')]();}),_0x5ac6d4['createEditor'](),_0x5ac6d4[_0x15fa('0x8')](_0x15fa('0x5'))['to'](this),_0x5ac6d4['delegate'](_0x15fa('0x17'))['to'](this),_0x5ac6d4;}}
23
+ const _0x3aa9=['switchToDisplayMode','submitLabel','fire','destroy','isReadOnly','Save','locale','remove','collapse','_model','content','bind','createCollection','_createCommentContentView','disabledSubmit','createEditor','delegate','focus','once','initialData','add','isCollapsed','visibleView','set','_config','get','_createCommentInputView','updateComment','cancel','editorConfig','submit','value','expand','element','editorDestroyed','isEditMode','editorReady'];(function(_0x24cda8,_0x3aa968){const _0x361982=function(_0x42974d){while(--_0x42974d){_0x24cda8['push'](_0x24cda8['shift']());}};_0x361982(++_0x3aa968);}(_0x3aa9,0xfe));const _0x3619=function(_0x24cda8,_0x3aa968){_0x24cda8=_0x24cda8-0x0;let _0x361982=_0x3aa9[_0x24cda8];return _0x361982;};import{View as _0x25a795}from'ckeditor5/src/ui';import{trimHtml as _0x39fef5}from'ckeditor5-collaboration/src/collaboration-core';import _0x3e6d29 from'./commentcontentview';import _0x3fd4dc from'./commentinputview';import{getTranslation as _0x11b422}from'../../../utils/common-translations';export default class Yt extends _0x25a795{constructor(_0x4a1435,_0x3173ae,_0x35962c){super(_0x4a1435),this[_0x3619('0xe')]=_0x3173ae,this[_0x3619('0x1d')]=_0x35962c,this['isSystemComment']=!!this[_0x3619('0x1d')]['isSystemComment'],this[_0x3619('0x1c')]('isEditMode',!0x1),this[_0x3619('0x1c')](_0x3619('0x1a'),!0x0),this[_0x3619('0x1b')]=this[_0x3619('0x11')](),this[_0x3619('0x1b')][_0x3619('0x19')](this[_0x3619('0x12')]());}[_0x3619('0x0')](){this[_0x3619('0x1a')]=!0x1;}[_0x3619('0xd')](){this[_0x3619('0x3')]||(this['isCollapsed']=!0x0);}[_0x3619('0x16')](){this[_0x3619('0x1')][_0x3619('0x16')]();}async[_0x3619('0x8')](){await this[_0x3619('0x1b')][_0x3619('0x1e')](0x0)['destroy'](),super['destroy']();}['switchToEditMode'](){this[_0x3619('0x3')]||(this[_0x3619('0x3')]=!0x0,this[_0x3619('0x1b')][_0x3619('0xc')](0x0)[_0x3619('0x8')](),this[_0x3619('0x1b')]['add'](this['_createCommentInputView']()));}['switchToDisplayMode'](){this['isEditMode']&&(this[_0x3619('0x3')]=!0x1,this[_0x3619('0x1b')][_0x3619('0xc')](0x0)[_0x3619('0x8')](),this[_0x3619('0x1b')]['add'](this[_0x3619('0x12')]()));}[_0x3619('0x12')](){const _0x1973c4=new _0x3e6d29(this[_0x3619('0xb')]);return _0x1973c4[_0x3619('0x10')](_0x3619('0xf'))['to'](this[_0x3619('0xe')],'content',this,_0x3619('0x1a'),(_0x12a852,_0xf3b181)=>_0xf3b181?_0x39fef5(_0x12a852,{'limit':this[_0x3619('0x1d')]['maxCommentCharsWhenCollapsed']}):_0x12a852),_0x1973c4;}[_0x3619('0x1f')](){this[_0x3619('0x1d')][_0x3619('0x22')]||(this[_0x3619('0x1d')][_0x3619('0x22')]={}),this[_0x3619('0x1d')][_0x3619('0x22')][_0x3619('0x18')]=this[_0x3619('0xe')][_0x3619('0xf')];const _0x570e70=new _0x3fd4dc(this['locale'],this[_0x3619('0x1d')]['editorConfig']);return _0x570e70[_0x3619('0x24')]=this['_model'][_0x3619('0xf')],_0x570e70[_0x3619('0x10')](_0x3619('0x13'))['to'](this[_0x3619('0xe')],_0x3619('0x9')),_0x570e70[_0x3619('0x6')]=_0x11b422(this['locale'],_0x3619('0xa')),_0x570e70['on'](_0x3619('0x23'),(_0x1d0322,_0x216d6b)=>{this[_0x3619('0x7')](_0x3619('0x20'),this[_0x3619('0xe')]['id'],_0x216d6b),this[_0x3619('0x5')](),this[_0x3619('0x16')]();}),_0x570e70['on'](_0x3619('0x21'),()=>{this['switchToDisplayMode'](),this[_0x3619('0x16')]();}),_0x570e70[_0x3619('0x17')](_0x3619('0x4'),()=>{_0x570e70[_0x3619('0x16')]();}),_0x570e70[_0x3619('0x14')](),_0x570e70[_0x3619('0x15')](_0x3619('0x4'))['to'](this),_0x570e70[_0x3619('0x15')](_0x3619('0x2'))['to'](this),_0x570e70;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x17eb=['count','setTemplate','ck-thread__comment-count'];(function(_0x363cb3,_0x17eb85){const _0x49f68d=function(_0x9c2daf){while(--_0x9c2daf){_0x363cb3['push'](_0x363cb3['shift']());}};_0x49f68d(++_0x17eb85);}(_0x17eb,0x148));const _0x49f6=function(_0x363cb3,_0x17eb85){_0x363cb3=_0x363cb3-0x0;let _0x49f68d=_0x17eb[_0x363cb3];return _0x49f68d;};import{View as _0x3ba737}from'ckeditor5/src/ui';import{getTranslation as _0x33dbfa}from'../../../utils/common-translations';export default class Zt extends _0x3ba737{constructor(_0x105cf0){super(_0x105cf0);const _0xe801a2=this['bindTemplate'];this['set']('count',void 0x0),this[_0x49f6('0x0')]({'tag':'li','attributes':{'class':_0x49f6('0x1')},'children':[{'text':_0xe801a2['to'](_0x49f6('0x2'),_0xc5e99b=>_0x33dbfa(_0x105cf0,'NUMBER_OF_COMMENTS',_0xc5e99b))}]});}}
23
+ const _0x15bc=['ck-thread__comment-count','count','NUMBER_OF_COMMENTS','set','setTemplate','bindTemplate'];(function(_0x23c35f,_0x15bc1b){const _0x14c544=function(_0x47ae9c){while(--_0x47ae9c){_0x23c35f['push'](_0x23c35f['shift']());}};_0x14c544(++_0x15bc1b);}(_0x15bc,0xfa));const _0x14c5=function(_0x23c35f,_0x15bc1b){_0x23c35f=_0x23c35f-0x0;let _0x14c544=_0x15bc[_0x23c35f];return _0x14c544;};import{View as _0x25370c}from'ckeditor5/src/ui';import{getTranslation as _0x848b72}from'../../../utils/common-translations';export default class Zt extends _0x25370c{constructor(_0x45a5ed){super(_0x45a5ed);const _0x731b35=this[_0x14c5('0x1')];this[_0x14c5('0x5')](_0x14c5('0x3'),void 0x0),this[_0x14c5('0x0')]({'tag':'li','attributes':{'class':_0x14c5('0x2')},'children':[{'text':_0x731b35['to'](_0x14c5('0x3'),_0x3fe3d2=>_0x848b72(_0x45a5ed,_0x14c5('0x4'),_0x3fe3d2))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1f9c=['change:content','ck-comment__content','innerHTML','div','content','setTemplate','set'];(function(_0x406c3e,_0x1f9c81){var _0x2b9b10=function(_0x4b3ae4){while(--_0x4b3ae4){_0x406c3e['push'](_0x406c3e['shift']());}};_0x2b9b10(++_0x1f9c81);}(_0x1f9c,0x172));var _0x2b9b=function(_0x406c3e,_0x1f9c81){_0x406c3e=_0x406c3e-0x0;var _0x2b9b10=_0x1f9c[_0x406c3e];return _0x2b9b10;};import{View as _0x1c8b4b}from'ckeditor5/src/ui';export default class Ut extends _0x1c8b4b{constructor(_0x539e0e){super(_0x539e0e),this[_0x2b9b('0x0')]('content',''),this[_0x2b9b('0x6')]({'tag':_0x2b9b('0x4'),'attributes':{'class':[_0x2b9b('0x2'),'ck-annotation__content']}});}['render'](){super['render'](),this['on'](_0x2b9b('0x1'),(_0x277064,_0x8d6be3,_0xb5e274)=>{this['element'][_0x2b9b('0x3')]=_0xb5e274;}),this['element']['innerHTML']=this[_0x2b9b('0x5')];}}
23
+ var _0x2eea=['div','element','content','ck-annotation__content','setTemplate','innerHTML','render','change:content'];(function(_0x32be48,_0x2eea25){var _0x57a1e7=function(_0x11acf2){while(--_0x11acf2){_0x32be48['push'](_0x32be48['shift']());}};_0x57a1e7(++_0x2eea25);}(_0x2eea,0x139));var _0x57a1=function(_0x32be48,_0x2eea25){_0x32be48=_0x32be48-0x0;var _0x57a1e7=_0x2eea[_0x32be48];return _0x57a1e7;};import{View as _0x40dfea}from'ckeditor5/src/ui';export default class Ut extends _0x40dfea{constructor(_0x258b21){super(_0x258b21),this['set'](_0x57a1('0x1'),''),this[_0x57a1('0x3')]({'tag':_0x57a1('0x7'),'attributes':{'class':['ck-comment__content',_0x57a1('0x2')]}});}[_0x57a1('0x5')](){super[_0x57a1('0x5')](),this['on'](_0x57a1('0x6'),(_0x300bc5,_0x97795e,_0xac7ba2)=>{this['element']['innerHTML']=_0xac7ba2;}),this[_0x57a1('0x0')][_0x57a1('0x4')]=this[_0x57a1('0x1')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1287=['Reply...','add','execute','extendTemplate','focus','view','change','cancelButtonView','showButtons','ck-comment__input-wrapper','_editorCreationPromise','cancel','withText','setTemplate','_initializeFocusCycling','submit','high','placeholder','editorReady','_editorConfig','disabledSubmit','editor','model','Cancel','fire','low','length','submitButtonView','forEach','ck-comment__input-actions','_createSubmitButton','stop','destroy','bindTemplate','ck-comment__input-actions--cancel','Esc','shift\x20+\x20tab','editorDestroyed','ck-comment__input-actions--active','document','trim','ck-comment__input-actions--submit','value','div','getData','firstChild','label','submitLabel','Reply','create','setData','focusTracker','element','focusPrevious','keystrokes','_isDestroyed','_createCancelButton','createEditor','isEnabled','tab','initialData','bind','set','focusNext'];(function(_0x589329,_0x12879e){const _0x4b4db5=function(_0xbcaa01){while(--_0xbcaa01){_0x589329['push'](_0x589329['shift']());}};_0x4b4db5(++_0x12879e);}(_0x1287,0x1d8));const _0x4b4d=function(_0x589329,_0x12879e){_0x589329=_0x589329-0x0;let _0x4b4db5=_0x1287[_0x589329];return _0x4b4db5;};import{View as _0x27ece6,ViewCollection as _0x2d9a03,FocusCycler as _0x6bfafc,ButtonView as _0x481cd4}from'ckeditor5/src/ui';import{FocusTracker as _0x185357,KeystrokeHandler as _0x125791}from'ckeditor5/src/utils';import _0x19ed61 from'../commenteditor/commenteditor';import{getTranslation as _0x43b90a}from'../../../utils/common-translations';export default class Xt extends _0x27ece6{constructor(_0x29a5f1,_0x2e82da={}){super(_0x29a5f1),this[_0x4b4d('0x3d')]=null,this['_editorConfig']=_0x2e82da,this['keystrokes']=new _0x125791(),this[_0x4b4d('0x1b')]=new _0x185357(),this[_0x4b4d('0x26')]('value',_0x2e82da[_0x4b4d('0x24')]||''),this[_0x4b4d('0x26')](_0x4b4d('0x3c'),!0x1),this[_0x4b4d('0x26')](_0x4b4d('0x30'),!0x0),this[_0x4b4d('0x26')]('placeholder',_0x43b90a(_0x29a5f1,_0x4b4d('0x28'))),this[_0x4b4d('0x26')](_0x4b4d('0x17'),_0x43b90a(_0x29a5f1,_0x4b4d('0x18'))),this[_0x4b4d('0x3')]=this['_createSubmitButton'](),this[_0x4b4d('0x2f')]=this[_0x4b4d('0x20')](),this[_0x4b4d('0x35')]({'tag':_0x4b4d('0x13'),'attributes':{'class':[_0x4b4d('0x31')]},'children':[{'tag':_0x4b4d('0x13'),'attributes':{'class':[_0x4b4d('0x5'),this[_0x4b4d('0x9')]['if'](_0x4b4d('0x30'),_0x4b4d('0xe'))]},'children':[this[_0x4b4d('0x3')],this['cancelButtonView']]}]}),this[_0x4b4d('0x1e')][_0x4b4d('0x26')](_0x4b4d('0xb'),(_0x3a8cc0,_0x396713)=>{this[_0x4b4d('0x2f')]['fire'](_0x4b4d('0x2a')),_0x396713();}),this['on'](_0x4b4d('0x37'),(_0x140e0f,_0x3106c0)=>{_0x3106c0[_0x4b4d('0x2')]>0xfde8?(alert(_0x43b90a(_0x29a5f1,'TOO_LONG_COMMENT_ALERT',[_0x3106c0[_0x4b4d('0x2')],0xfde8])),_0x140e0f[_0x4b4d('0x7')]()):this[_0x4b4d('0x3d')]['setData']('');},{'priority':_0x4b4d('0x38')});}['render'](){super['render'](),this[_0x4b4d('0x1e')]['listenTo'](this[_0x4b4d('0x1c')]),this['focusTracker'][_0x4b4d('0x29')](this['element']);}[_0x4b4d('0x21')](){return this['editor']||(this[_0x4b4d('0x3d')]=new _0x19ed61(this[_0x4b4d('0x3b')]),this['_editorCreationPromise']=this[_0x4b4d('0x3d')][_0x4b4d('0x19')]()['then'](()=>{if(this[_0x4b4d('0x1f')])return;const _0x139f6a=this[_0x4b4d('0x3d')];this[_0x4b4d('0x1c')]['insertBefore'](_0x139f6a['ui']['element'],this[_0x4b4d('0x1c')][_0x4b4d('0x15')]),_0x139f6a[_0x4b4d('0x3e')][_0x4b4d('0xf')]['on'](_0x4b4d('0x2e'),()=>this[_0x4b4d('0x12')]=_0x139f6a[_0x4b4d('0x14')]()),_0x139f6a[_0x4b4d('0x25')](_0x4b4d('0x39'))['to'](this),this[_0x4b4d('0x36')](this[_0x4b4d('0x3d')]),this['fire'](_0x4b4d('0x3a'),this[_0x4b4d('0x3d')]);})),this[_0x4b4d('0x32')];}[_0x4b4d('0x2c')](){this[_0x4b4d('0x3d')]&&this[_0x4b4d('0x3d')][_0x4b4d('0x2c')]();}async[_0x4b4d('0x8')](){this[_0x4b4d('0x1f')]||(this[_0x4b4d('0x1f')]=!0x0,this['editor']&&(await this['_editorCreationPromise'],await this[_0x4b4d('0x3d')][_0x4b4d('0x8')](),this[_0x4b4d('0x0')](_0x4b4d('0xd'),this[_0x4b4d('0x3d')])),await super['destroy']());}[_0x4b4d('0x6')](){const {locale:_0xb2c6c0}=this,_0xb49a61=new _0x481cd4(_0xb2c6c0);return _0xb49a61[_0x4b4d('0x2b')]({'attributes':{'class':[_0x4b4d('0x11')]}}),_0xb49a61['withText']=!0x0,_0xb49a61[_0x4b4d('0x25')](_0x4b4d('0x16'))['to'](this,_0x4b4d('0x17')),_0xb49a61['on']('execute',()=>{this[_0x4b4d('0x0')](_0x4b4d('0x37'),this[_0x4b4d('0x12')]);}),_0xb49a61[_0x4b4d('0x25')](_0x4b4d('0x22'))['to'](this,'value',this,'disabledSubmit',(_0x1c92c3,_0x446cec)=>!_0x446cec&&!!_0x1c92c3[_0x4b4d('0x10')]()),_0xb49a61;}['_createCancelButton'](){const {locale:_0xfbd588}=this,_0x249611=new _0x481cd4(_0xfbd588);return _0x249611[_0x4b4d('0x2b')]({'attributes':{'class':[_0x4b4d('0xa')]}}),_0x249611[_0x4b4d('0x16')]=_0x43b90a(_0xfbd588,_0x4b4d('0x3f')),_0x249611[_0x4b4d('0x34')]=!0x0,_0x249611['on'](_0x4b4d('0x2a'),()=>{this[_0x4b4d('0x3d')][_0x4b4d('0x1a')](''),this[_0x4b4d('0x0')](_0x4b4d('0x33'));}),_0x249611;}['_initializeFocusCycling'](_0x2ceead){const _0x2acd83=this[_0x4b4d('0x1b')],_0x27cdbe=new _0x2d9a03();[_0x2ceead['ui'][_0x4b4d('0x2d')],this[_0x4b4d('0x3')],this[_0x4b4d('0x2f')]][_0x4b4d('0x4')](_0x2cfa7c=>{_0x27cdbe[_0x4b4d('0x29')](_0x2cfa7c),_0x2acd83['add'](_0x2cfa7c[_0x4b4d('0x1c')]);});const _0x12c6bc=new _0x6bfafc({'focusables':_0x27cdbe,'focusTracker':_0x2acd83});this[_0x4b4d('0x1e')][_0x4b4d('0x26')](_0x4b4d('0x23'),(_0x3076fc,_0xb9a6c1)=>{_0x12c6bc[_0x4b4d('0x27')](),_0xb9a6c1();},{'priority':_0x4b4d('0x1')}),this[_0x4b4d('0x1e')][_0x4b4d('0x26')](_0x4b4d('0xc'),(_0x3f3947,_0xc3c76e)=>{_0x12c6bc[_0x4b4d('0x1d')](),_0xc3c76e();},{'priority':_0x4b4d('0x1')});}}
23
+ const _0x198a=['set','stop','extendTemplate','ck-comment__input-wrapper','ck-comment__input-actions--cancel','Reply...','ck-comment__input-actions','forEach','shift\x20+\x20tab','setTemplate','focus','trim','_editorCreationPromise','cancel','getData','initialData','_editorConfig','disabledSubmit','placeholder','value','bindTemplate','Reply','focusTracker','focusNext','ck-comment__input-actions--active','createEditor','label','destroy','editor','length','isEnabled','div','Esc','cancelButtonView','keystrokes','listenTo','focusPrevious','fire','submitButtonView','create','withText','_createSubmitButton','add','firstChild','_initializeFocusCycling','then','execute','low','setData','render','bind','model','_isDestroyed','element','view','_createCancelButton','high'];(function(_0x2cca6b,_0x198ae7){const _0x1e5ae6=function(_0x13d15b){while(--_0x13d15b){_0x2cca6b['push'](_0x2cca6b['shift']());}};_0x1e5ae6(++_0x198ae7);}(_0x198a,0x120));const _0x1e5a=function(_0x2cca6b,_0x198ae7){_0x2cca6b=_0x2cca6b-0x0;let _0x1e5ae6=_0x198a[_0x2cca6b];return _0x1e5ae6;};import{View as _0xdab183,ViewCollection as _0x188ab7,FocusCycler as _0x105d24,ButtonView as _0x16a0aa}from'ckeditor5/src/ui';import{FocusTracker as _0x4815a2,KeystrokeHandler as _0x15d6e3}from'ckeditor5/src/utils';import _0x16073a from'../commenteditor/commenteditor';import{getTranslation as _0x6e1354}from'../../../utils/common-translations';export default class Xt extends _0xdab183{constructor(_0x4f2505,_0xfdb82={}){super(_0x4f2505),this[_0x1e5a('0x19')]=null,this['_editorConfig']=_0xfdb82,this[_0x1e5a('0x1f')]=new _0x15d6e3(),this[_0x1e5a('0x13')]=new _0x4815a2(),this[_0x1e5a('0x36')]('value',_0xfdb82[_0x1e5a('0xc')]||''),this[_0x1e5a('0x36')](_0x1e5a('0xe'),!0x1),this[_0x1e5a('0x36')]('showButtons',!0x0),this[_0x1e5a('0x36')]('placeholder',_0x6e1354(_0x4f2505,_0x1e5a('0x2'))),this['set']('submitLabel',_0x6e1354(_0x4f2505,_0x1e5a('0x12'))),this[_0x1e5a('0x23')]=this['_createSubmitButton'](),this[_0x1e5a('0x1e')]=this[_0x1e5a('0x34')](),this[_0x1e5a('0x6')]({'tag':_0x1e5a('0x1c'),'attributes':{'class':[_0x1e5a('0x0')]},'children':[{'tag':'div','attributes':{'class':[_0x1e5a('0x3'),this[_0x1e5a('0x11')]['if']('showButtons',_0x1e5a('0x15'))]},'children':[this['submitButtonView'],this[_0x1e5a('0x1e')]]}]}),this['keystrokes'][_0x1e5a('0x36')](_0x1e5a('0x1d'),(_0x5b831b,_0x493815)=>{this[_0x1e5a('0x1e')]['fire'](_0x1e5a('0x2b')),_0x493815();}),this['on']('submit',(_0x21feca,_0x4db23d)=>{_0x4db23d[_0x1e5a('0x1a')]>0xfde8?(alert(_0x6e1354(_0x4f2505,'TOO_LONG_COMMENT_ALERT',[_0x4db23d['length'],0xfde8])),_0x21feca[_0x1e5a('0x37')]()):this[_0x1e5a('0x19')][_0x1e5a('0x2d')]('');},{'priority':_0x1e5a('0x35')});}[_0x1e5a('0x2e')](){super[_0x1e5a('0x2e')](),this['keystrokes'][_0x1e5a('0x20')](this['element']),this['focusTracker'][_0x1e5a('0x27')](this[_0x1e5a('0x32')]);}[_0x1e5a('0x16')](){return this[_0x1e5a('0x19')]||(this[_0x1e5a('0x19')]=new _0x16073a(this[_0x1e5a('0xd')]),this['_editorCreationPromise']=this[_0x1e5a('0x19')][_0x1e5a('0x24')]()[_0x1e5a('0x2a')](()=>{if(this['_isDestroyed'])return;const _0x5412f5=this[_0x1e5a('0x19')];this[_0x1e5a('0x32')]['insertBefore'](_0x5412f5['ui']['element'],this[_0x1e5a('0x32')][_0x1e5a('0x28')]),_0x5412f5[_0x1e5a('0x30')]['document']['on']('change',()=>this[_0x1e5a('0x10')]=_0x5412f5[_0x1e5a('0xb')]()),_0x5412f5['bind'](_0x1e5a('0xf'))['to'](this),this[_0x1e5a('0x29')](this[_0x1e5a('0x19')]),this[_0x1e5a('0x22')]('editorReady',this[_0x1e5a('0x19')]);})),this[_0x1e5a('0x9')];}[_0x1e5a('0x7')](){this[_0x1e5a('0x19')]&&this[_0x1e5a('0x19')]['focus']();}async[_0x1e5a('0x18')](){this['_isDestroyed']||(this[_0x1e5a('0x31')]=!0x0,this[_0x1e5a('0x19')]&&(await this[_0x1e5a('0x9')],await this['editor'][_0x1e5a('0x18')](),this[_0x1e5a('0x22')]('editorDestroyed',this[_0x1e5a('0x19')])),await super['destroy']());}[_0x1e5a('0x26')](){const {locale:_0x293495}=this,_0x166f2f=new _0x16a0aa(_0x293495);return _0x166f2f['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x166f2f[_0x1e5a('0x25')]=!0x0,_0x166f2f[_0x1e5a('0x2f')]('label')['to'](this,'submitLabel'),_0x166f2f['on'](_0x1e5a('0x2b'),()=>{this[_0x1e5a('0x22')]('submit',this[_0x1e5a('0x10')]);}),_0x166f2f[_0x1e5a('0x2f')](_0x1e5a('0x1b'))['to'](this,_0x1e5a('0x10'),this,_0x1e5a('0xe'),(_0xef6dd8,_0x5763d2)=>!_0x5763d2&&!!_0xef6dd8[_0x1e5a('0x8')]()),_0x166f2f;}[_0x1e5a('0x34')](){const {locale:_0x595720}=this,_0x791016=new _0x16a0aa(_0x595720);return _0x791016[_0x1e5a('0x38')]({'attributes':{'class':[_0x1e5a('0x1')]}}),_0x791016[_0x1e5a('0x17')]=_0x6e1354(_0x595720,'Cancel'),_0x791016[_0x1e5a('0x25')]=!0x0,_0x791016['on'](_0x1e5a('0x2b'),()=>{this[_0x1e5a('0x19')][_0x1e5a('0x2d')](''),this['fire'](_0x1e5a('0xa'));}),_0x791016;}[_0x1e5a('0x29')](_0x16e2be){const _0xb0d1bd=this[_0x1e5a('0x13')],_0x20ca86=new _0x188ab7();[_0x16e2be['ui'][_0x1e5a('0x33')],this['submitButtonView'],this[_0x1e5a('0x1e')]][_0x1e5a('0x4')](_0x1219d3=>{_0x20ca86[_0x1e5a('0x27')](_0x1219d3),_0xb0d1bd[_0x1e5a('0x27')](_0x1219d3[_0x1e5a('0x32')]);});const _0x2cb9dc=new _0x105d24({'focusables':_0x20ca86,'focusTracker':_0xb0d1bd});this[_0x1e5a('0x1f')][_0x1e5a('0x36')]('tab',(_0x416b17,_0x1f4d3b)=>{_0x2cb9dc[_0x1e5a('0x14')](),_0x1f4d3b();},{'priority':_0x1e5a('0x2c')}),this[_0x1e5a('0x1f')][_0x1e5a('0x36')](_0x1e5a('0x5'),(_0x20b820,_0x1d48d5)=>{_0x2cb9dc[_0x1e5a('0x21')](),_0x1d48d5();},{'priority':'low'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4409=['isEmpty','focus','auto','bindTemplate','ck-comments-archive__header\x20','ck-comments-archive','destroy','_keystrokes','isActive','remove','high','setTemplate','listenTo','_focusCycler','arrowright','stopPropagation','add','div','arrowdown','shift\x20+\x20tab','_focusTracker','arrowup','ck-comments-archive__info','element','set','ck-hidden','length','tab','_focusables','render','ck-comments-archive__content'];(function(_0x42e3a3,_0x440931){const _0x247b31=function(_0x272923){while(--_0x272923){_0x42e3a3['push'](_0x42e3a3['shift']());}};_0x247b31(++_0x440931);}(_0x4409,0x17d));const _0x247b=function(_0x42e3a3,_0x440931){_0x42e3a3=_0x42e3a3-0x0;let _0x247b31=_0x4409[_0x42e3a3];return _0x247b31;};import{View as _0x3d4a6e,FocusCycler as _0x28bed6}from'ckeditor5/src/ui';import{FocusTracker as _0x2ffc78,KeystrokeHandler as _0x42bd57}from'ckeditor5/src/utils';import{getTranslation as _0x282d45}from'../../../utils/common-translations';export default class K extends _0x3d4a6e{constructor(_0x2f3d6a,_0x3c56db){super(_0x2f3d6a),this[_0x247b('0xf')](_0x247b('0x16'),!_0x3c56db[_0x247b('0x11')]),this[_0x247b('0xb')]=new _0x2ffc78(),this['_keystrokes']=new _0x42bd57(),this['_focusables']=_0x3c56db,this[_0x247b('0x4')]=new _0x28bed6({'focusables':this[_0x247b('0x13')],'focusTracker':this[_0x247b('0xb')],'keystrokeHandler':this[_0x247b('0x1d')],'actions':{'focusPrevious':_0x247b('0xa'),'focusNext':_0x247b('0x12')}}),this[_0x247b('0x3')](_0x3c56db,_0x247b('0x7'),()=>{this[_0x247b('0x16')]=!0x1;}),this['listenTo'](_0x3c56db,_0x247b('0x0'),(_0x177ec1,_0x24db63)=>{_0x24db63[_0x247b('0x1e')]&&this[_0x247b('0x17')](),_0x3c56db[_0x247b('0x11')]||(this[_0x247b('0x16')]=!0x0);});const _0x31d46e=this[_0x247b('0x19')];this[_0x247b('0x2')]({'tag':'div','attributes':{'dir':_0x247b('0x18'),'class':['ck',_0x247b('0x1b')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x247b('0x1a')]},'children':[{'text':_0x282d45(_0x2f3d6a,'COMMENTS_ARCHIVE')}]},{'tag':'div','attributes':{'class':[_0x247b('0x15')]},'children':[{'tag':_0x247b('0x8'),'children':_0x3c56db},{'tag':'p','attributes':{'class':[_0x247b('0xd'),_0x31d46e['if'](_0x247b('0x16'),_0x247b('0x10'),_0x56553d=>!_0x56553d)]},'children':[{'text':_0x282d45(_0x2f3d6a,'EMPTY_COMMENTS_ARCHIVE')}]}]}]});}[_0x247b('0x14')](){super['render'](),this['_keystrokes']['listenTo'](this[_0x247b('0xe')]);const _0x4267b2=_0x861b9=>_0x861b9['stopPropagation']();this[_0x247b('0x1d')][_0x247b('0xf')](_0x247b('0x5'),_0x4267b2),this['_keystrokes'][_0x247b('0xf')]('arrowleft',_0x4267b2),this[_0x247b('0x1d')]['set'](_0x247b('0xc'),_0x4267b2),this['_keystrokes'][_0x247b('0xf')](_0x247b('0x9'),_0x4267b2),this['listenTo'](this[_0x247b('0xe')],'selectstart',(_0x6e27c0,_0x38caa0)=>{_0x38caa0[_0x247b('0x6')]();},{'priority':_0x247b('0x1')});}[_0x247b('0x1c')](){super[_0x247b('0x1c')](),this[_0x247b('0xb')][_0x247b('0x1c')](),this[_0x247b('0x1d')][_0x247b('0x1c')]();}[_0x247b('0x17')](){this[_0x247b('0xe')]['focus']();}}
23
+ const _0x2717=['_focusables','ck-comments-archive__header\x20','listenTo','selectstart','COMMENTS_ARCHIVE','_focusTracker','length','focus','ck-comments-archive__info','isActive','arrowup','div','EMPTY_COMMENTS_ARCHIVE','ck-comments-archive','shift\x20+\x20tab','arrowleft','add','ck-hidden','isEmpty','destroy','bindTemplate','render','auto','high','set','tab','setTemplate','ck-comments-archive__content','stopPropagation','_keystrokes','_focusCycler','remove','element'];(function(_0x5ed167,_0x271756){const _0x4df57a=function(_0x37ed22){while(--_0x37ed22){_0x5ed167['push'](_0x5ed167['shift']());}};_0x4df57a(++_0x271756);}(_0x2717,0x1f2));const _0x4df5=function(_0x5ed167,_0x271756){_0x5ed167=_0x5ed167-0x0;let _0x4df57a=_0x2717[_0x5ed167];return _0x4df57a;};import{View as _0x348a2a,FocusCycler as _0x314385}from'ckeditor5/src/ui';import{FocusTracker as _0x50d205,KeystrokeHandler as _0x4a7abf}from'ckeditor5/src/utils';import{getTranslation as _0x3a6cc4}from'../../../utils/common-translations';export default class W extends _0x348a2a{constructor(_0x2fc515,_0x2c302c){super(_0x2fc515),this[_0x4df5('0x15')](_0x4df5('0xf'),!_0x2c302c[_0x4df5('0x3')]),this[_0x4df5('0x2')]=new _0x50d205(),this[_0x4df5('0x1a')]=new _0x4a7abf(),this[_0x4df5('0x1e')]=_0x2c302c,this[_0x4df5('0x1b')]=new _0x314385({'focusables':this[_0x4df5('0x1e')],'focusTracker':this[_0x4df5('0x2')],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':_0x4df5('0xb'),'focusNext':_0x4df5('0x16')}}),this['listenTo'](_0x2c302c,_0x4df5('0xd'),()=>{this['isEmpty']=!0x1;}),this['listenTo'](_0x2c302c,_0x4df5('0x1c'),(_0x146747,_0x451cf9)=>{_0x451cf9[_0x4df5('0x6')]&&this['focus'](),_0x2c302c[_0x4df5('0x3')]||(this[_0x4df5('0xf')]=!0x0);});const _0x454c8d=this[_0x4df5('0x11')];this[_0x4df5('0x17')]({'tag':_0x4df5('0x8'),'attributes':{'dir':_0x4df5('0x13'),'class':['ck',_0x4df5('0xa')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x4df5('0x1f')]},'children':[{'text':_0x3a6cc4(_0x2fc515,_0x4df5('0x1'))}]},{'tag':_0x4df5('0x8'),'attributes':{'class':[_0x4df5('0x18')]},'children':[{'tag':_0x4df5('0x8'),'children':_0x2c302c},{'tag':'p','attributes':{'class':[_0x4df5('0x5'),_0x454c8d['if'](_0x4df5('0xf'),_0x4df5('0xe'),_0x5c3ba6=>!_0x5c3ba6)]},'children':[{'text':_0x3a6cc4(_0x2fc515,_0x4df5('0x9'))}]}]}]});}[_0x4df5('0x12')](){super[_0x4df5('0x12')](),this[_0x4df5('0x1a')][_0x4df5('0x20')](this[_0x4df5('0x1d')]);const _0x560a25=_0x495096=>_0x495096['stopPropagation']();this['_keystrokes']['set']('arrowright',_0x560a25),this[_0x4df5('0x1a')][_0x4df5('0x15')](_0x4df5('0xc'),_0x560a25),this[_0x4df5('0x1a')][_0x4df5('0x15')](_0x4df5('0x7'),_0x560a25),this[_0x4df5('0x1a')][_0x4df5('0x15')]('arrowdown',_0x560a25),this[_0x4df5('0x20')](this[_0x4df5('0x1d')],_0x4df5('0x0'),(_0x144a0c,_0x706548)=>{_0x706548[_0x4df5('0x19')]();},{'priority':_0x4df5('0x14')});}[_0x4df5('0x10')](){super['destroy'](),this['_focusTracker'][_0x4df5('0x10')](),this['_keystrokes']['destroy']();}[_0x4df5('0x4')](){this['element'][_0x4df5('0x4')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xca95=['_rearrangeCollapse','stopListening','setTemplate','createCollection','change:isEditMode','bind','editorReady','resolved','count','maxCommentCharsWhenCollapsed','hasDirtyComment','length','_rearrangeExpand','isActive','authoredAt','isEditMode','refreshVisibleViews','_findOptimalIndex','updateComment','_model','ck-thread__comments','insert','change:hasDirtyComment','_config','delegate','Marked\x20as\x20resolved','remove','_handleNewCommentModel','_updateHasDirtyComment','editorDestroyed','resolvedCommentView','resolvedAt','get','_collapsedCommentsView','_handleRemoveCommentModel','resolvedBy','_handleInfoComment','collapse','commentViews','delete','element','comments','set','focus','change:isActive','visibleViews','equal','locale','_calculatePosition','add','weight','maxCommentsWhenCollapsed','_shouldCollapse','expand','from','render','change:isResolved','editorConfig','maxThreadTotalWeight','removeComment','listenTo','some','CommentView','commentUpdated','destroy'];(function(_0x4d922a,_0xca9532){const _0x3e60c3=function(_0x195e26){while(--_0x195e26){_0x4d922a['push'](_0x4d922a['shift']());}};_0x3e60c3(++_0xca9532);}(_0xca95,0x1aa));const _0x3e60=function(_0x4d922a,_0xca9532){_0x4d922a=_0x4d922a-0x0;let _0x3e60c3=_0xca95[_0x4d922a];return _0x3e60c3;};import{View as _0x2f98d5}from'ckeditor5/src/ui';import{diff as _0x2233cf,Collection as _0x3f1724}from'ckeditor5/src/utils';import{getTranslation as _0x5d6c57}from'../../../utils/common-translations';import _0x315e7b from'./collapsedcommentsview';export default class wt extends _0x2f98d5{constructor(_0x5819e9,_0x576758,_0x10d93d){super(_0x5819e9),this[_0x3e60('0x6')]('hasDirtyComment',!0x1),this[_0x3e60('0x6')]('length',_0x576758['comments']['length']),this[_0x3e60('0x6')]('isActive',!0x1),this['_model']=_0x576758,this[_0x3e60('0x34')]=_0x10d93d,this[_0x3e60('0x2')]=this[_0x3e60('0x20')](),this[_0x3e60('0x9')]=this[_0x3e60('0x20')](),this['resolvedCommentView']=null,this[_0x3e60('0x3e')]=new _0x315e7b(_0x5819e9),this['_collapsedCommentsView'][_0x3e60('0x22')](_0x3e60('0x25'))['to'](this,_0x3e60('0x28'),_0x2b80a0=>_0x2b80a0-this['_config'][_0x3e60('0xf')]);for(const _0x2b15e1 of _0x576758[_0x3e60('0x5')])this[_0x3e60('0x38')](_0x2b15e1);this[_0x3e60('0x0')](),this['listenTo'](_0x576758[_0x3e60('0x5')],'add',(_0x42525a,_0x2e8c67)=>{const _0x1ddb6c=this[_0x3e60('0xc')](_0x2e8c67);this[_0x3e60('0x28')]++,this['_handleNewCommentModel'](_0x2e8c67,_0x1ddb6c),this[_0x3e60('0x2d')]();}),this[_0x3e60('0x18')](_0x576758[_0x3e60('0x5')],_0x3e60('0x37'),(_0xe29482,_0xed8644)=>{this['length']--,this[_0x3e60('0x3f')](_0xed8644),this[_0x3e60('0x2d')]();}),this[_0x3e60('0x18')](_0x576758,_0x3e60('0x1b'),()=>this[_0x3e60('0x2d')]()),this[_0x3e60('0x18')](_0x576758,_0x3e60('0x14'),()=>this[_0x3e60('0x0')]()),this['on'](_0x3e60('0x8'),()=>this[_0x3e60('0x2d')]()),this['on'](_0x3e60('0x33'),()=>this[_0x3e60('0x2d')]()),this[_0x3e60('0x1f')]({'tag':'ul','attributes':{'class':[_0x3e60('0x31')]},'children':this[_0x3e60('0x9')]});}get['_shouldCollapse'](){return this[_0x3e60('0x30')][_0x3e60('0xe')]>this['_config'][_0x3e60('0x16')]&&!this[_0x3e60('0x2a')]&&!this[_0x3e60('0x27')];}[_0x3e60('0x13')](){super[_0x3e60('0x13')](),this[_0x3e60('0x2d')]();}[_0x3e60('0x7')](){this[_0x3e60('0x4')][_0x3e60('0x7')]();}['destroy'](){this['_collapsedCommentsView'][_0x3e60('0x1c')]();for(const _0x1d0e09 of this[_0x3e60('0x2')])_0x1d0e09['destroy']();super[_0x3e60('0x1c')]();}[_0x3e60('0x2d')](){this[_0x3e60('0x10')]?this[_0x3e60('0x1d')]():this[_0x3e60('0x29')]();}[_0x3e60('0x38')](_0x5af125,_0x119c78){const _0x6ae54b=new this['_config'][(_0x3e60('0x1a'))](this['locale'],_0x5af125,{'maxCommentCharsWhenCollapsed':this[_0x3e60('0x34')]['maxCommentCharsWhenCollapsed'],'formatDateTime':this[_0x3e60('0x34')]['formatDateTime'],'editorConfig':this[_0x3e60('0x34')][_0x3e60('0x15')]});_0x6ae54b['viewUid']=_0x5af125['id'],_0x6ae54b[_0x3e60('0x35')](_0x3e60('0x17'))['to'](this),_0x6ae54b[_0x3e60('0x35')](_0x3e60('0x2f'))['to'](this),_0x6ae54b[_0x3e60('0x35')]('resolveCommentThread')['to'](this),_0x6ae54b[_0x3e60('0x35')](_0x3e60('0x23'))['to'](this),_0x6ae54b[_0x3e60('0x35')](_0x3e60('0x3a'))['to'](this),this[_0x3e60('0x18')](_0x6ae54b,_0x3e60('0x21'),()=>this[_0x3e60('0x39')]()),this[_0x3e60('0x2')][_0x3e60('0xd')](_0x6ae54b,_0x119c78);}['_calculatePosition'](_0x4909d3){const _0x2d1bd8=this[_0x3e60('0x30')][_0x3e60('0x2e')](_0x4909d3);return this[_0x3e60('0x3b')]?this[_0x3e60('0x3b')][_0x3e60('0x2b')]>_0x4909d3['authoredAt']?_0x2d1bd8-0x1:_0x2d1bd8:_0x2d1bd8-0x1;}[_0x3e60('0x0')](){if(this[_0x3e60('0x30')][_0x3e60('0x40')]&&this[_0x3e60('0x30')]['resolvedAt']){const _0x4208e3={'id':_0x3e60('0x24'),'author':this['_model'][_0x3e60('0x40')],'authoredAt':this[_0x3e60('0x30')][_0x3e60('0x3c')],'content':_0x5d6c57(this[_0x3e60('0xb')],_0x3e60('0x36')),'attributes':{}};this[_0x3e60('0x3b')]=new this[(_0x3e60('0x34'))][(_0x3e60('0x1a'))](this[_0x3e60('0xb')],_0x4208e3,{'maxCommentCharsWhenCollapsed':this[_0x3e60('0x34')][_0x3e60('0x26')],'formatDateTime':this[_0x3e60('0x34')]['formatDateTime'],'editorConfig':this[_0x3e60('0x34')]['editorConfig'],'isSystemComment':!0x0}),this['commentViews'][_0x3e60('0xd')](this[_0x3e60('0x3b')],this['_model'][_0x3e60('0x2e')](_0x4208e3));}else this[_0x3e60('0x3b')]&&(this[_0x3e60('0x2')][_0x3e60('0x37')](this[_0x3e60('0x3b')]),this['resolvedCommentView'][_0x3e60('0x1c')](),this[_0x3e60('0x3b')]=null);this[_0x3e60('0x2d')]();}['_handleRemoveCommentModel'](_0x5d9c2d){const _0xf1d327=this[_0x3e60('0x2')]['remove'](_0x5d9c2d['id']);this[_0x3e60('0x1e')](_0xf1d327),_0xf1d327[_0x3e60('0x2c')]&&this[_0x3e60('0x39')](),_0xf1d327[_0x3e60('0x1c')]();}[_0x3e60('0x39')](){this[_0x3e60('0x27')]=Array[_0x3e60('0x12')](this[_0x3e60('0x2')])[_0x3e60('0x19')](_0x283ca9=>_0x283ca9['isEditMode']);}[_0x3e60('0x1d')](){const _0x5874c5=function(_0x2ab046){const _0x53a9d1=new _0x3f1724();for(const _0x1f4041 of _0x2ab046)_0x53a9d1['add'](_0x1f4041);return _0x53a9d1;}(this[_0x3e60('0x2')]),_0x2bf4ff=this['_collapsedCommentsView'][_0x3e60('0x25')];for(let _0x4d91b1=0x1;_0x4d91b1<=_0x2bf4ff;_0x4d91b1++)_0x5874c5[_0x3e60('0x37')](0x1);for(const _0x52a834 of _0x5874c5)_0x52a834[_0x3e60('0x1')]();_0x2bf4ff>0x0&&_0x5874c5['add'](this[_0x3e60('0x3e')],0x1),ss(_0x2233cf(Array[_0x3e60('0x12')](this[_0x3e60('0x9')]),Array[_0x3e60('0x12')](_0x5874c5)),this[_0x3e60('0x9')],_0x5874c5);}['_rearrangeExpand'](){ss(_0x2233cf(Array[_0x3e60('0x12')](this[_0x3e60('0x9')]),Array[_0x3e60('0x12')](this[_0x3e60('0x2')])),this[_0x3e60('0x9')],this[_0x3e60('0x2')]);for(const _0x245af7 of this[_0x3e60('0x9')])_0x245af7[_0x3e60('0x11')]();}}function ss(_0xd6f838,_0x4c5075,_0x5de43f){let _0x285cfb=0x0;for(const _0x4c3bf2 of _0xd6f838)switch(_0x4c3bf2){case _0x3e60('0x32'):_0x4c5075[_0x3e60('0xd')](_0x5de43f[_0x3e60('0x3d')](_0x285cfb),_0x285cfb),_0x285cfb++;break;case _0x3e60('0x3'):_0x4c5075['remove'](_0x285cfb);break;case _0x3e60('0xa'):_0x285cfb++;}}
23
+ const _0x4d57=['Marked\x20as\x20resolved','editorDestroyed','weight','createCollection','get','isEditMode','isActive','insert','change:isActive','setTemplate','_handleNewCommentModel','remove','add','_config','destroy','resolvedAt','_rearrangeCollapse','maxThreadTotalWeight','formatDateTime','resolvedCommentView','CommentView','viewUid','editorConfig','delegate','_updateHasDirtyComment','change:isEditMode','element','_handleInfoComment','_calculatePosition','equal','locale','count','_findOptimalIndex','length','ck-thread__comments','maxCommentCharsWhenCollapsed','hasDirtyComment','visibleViews','refreshVisibleViews','editorReady','updateComment','change:isResolved','commentUpdated','_collapsedCommentsView','delete','_rearrangeExpand','removeComment','some','_shouldCollapse','_model','focus','_handleRemoveCommentModel','maxCommentsWhenCollapsed','resolved','stopListening','render','listenTo','from','set','commentViews','comments'];(function(_0x509119,_0x4d5792){const _0x28fd77=function(_0xc902de){while(--_0xc902de){_0x509119['push'](_0x509119['shift']());}};_0x28fd77(++_0x4d5792);}(_0x4d57,0x1b6));const _0x28fd=function(_0x509119,_0x4d5792){_0x509119=_0x509119-0x0;let _0x28fd77=_0x4d57[_0x509119];return _0x28fd77;};import{View as _0x3637d5}from'ckeditor5/src/ui';import{diff as _0x4eac08,Collection as _0x34ec7e}from'ckeditor5/src/utils';import{getTranslation as _0x1eabb0}from'../../../utils/common-translations';import _0x22650d from'./collapsedcommentsview';export default class Ct extends _0x3637d5{constructor(_0x1d8b4c,_0x3eda95,_0x13db1e){super(_0x1d8b4c),this[_0x28fd('0x2f')](_0x28fd('0x19'),!0x1),this[_0x28fd('0x2f')](_0x28fd('0x16'),_0x3eda95[_0x28fd('0x31')]['length']),this['set'](_0x28fd('0x38'),!0x1),this['_model']=_0x3eda95,this[_0x28fd('0x2')]=_0x13db1e,this['commentViews']=this[_0x28fd('0x35')](),this[_0x28fd('0x1a')]=this[_0x28fd('0x35')](),this[_0x28fd('0x8')]=null,this[_0x28fd('0x20')]=new _0x22650d(_0x1d8b4c),this[_0x28fd('0x20')]['bind'](_0x28fd('0x14'))['to'](this,_0x28fd('0x16'),_0x1efd5b=>_0x1efd5b-this[_0x28fd('0x2')][_0x28fd('0x29')]);for(const _0x5596b5 of _0x3eda95['comments'])this['_handleNewCommentModel'](_0x5596b5);this[_0x28fd('0x10')](),this[_0x28fd('0x2d')](_0x3eda95['comments'],_0x28fd('0x1'),(_0x425495,_0xa16882)=>{const _0x2d9602=this[_0x28fd('0x11')](_0xa16882);this[_0x28fd('0x16')]++,this['_handleNewCommentModel'](_0xa16882,_0x2d9602),this[_0x28fd('0x1b')]();}),this[_0x28fd('0x2d')](_0x3eda95['comments'],_0x28fd('0x0'),(_0x32bfb4,_0x442a36)=>{this[_0x28fd('0x16')]--,this[_0x28fd('0x28')](_0x442a36),this[_0x28fd('0x1b')]();}),this[_0x28fd('0x2d')](_0x3eda95,_0x28fd('0x1f'),()=>this[_0x28fd('0x1b')]()),this[_0x28fd('0x2d')](_0x3eda95,_0x28fd('0x1e'),()=>this['_handleInfoComment']()),this['on'](_0x28fd('0x3a'),()=>this[_0x28fd('0x1b')]()),this['on']('change:hasDirtyComment',()=>this[_0x28fd('0x1b')]()),this[_0x28fd('0x3b')]({'tag':'ul','attributes':{'class':[_0x28fd('0x17')]},'children':this['visibleViews']});}get[_0x28fd('0x25')](){return this[_0x28fd('0x26')][_0x28fd('0x34')]>this[_0x28fd('0x2')][_0x28fd('0x6')]&&!this[_0x28fd('0x38')]&&!this['hasDirtyComment'];}[_0x28fd('0x2c')](){super[_0x28fd('0x2c')](),this[_0x28fd('0x1b')]();}[_0x28fd('0x27')](){this[_0x28fd('0xf')][_0x28fd('0x27')]();}[_0x28fd('0x3')](){this[_0x28fd('0x20')][_0x28fd('0x3')]();for(const _0xcce636 of this[_0x28fd('0x30')])_0xcce636[_0x28fd('0x3')]();super[_0x28fd('0x3')]();}[_0x28fd('0x1b')](){this[_0x28fd('0x25')]?this[_0x28fd('0x5')]():this[_0x28fd('0x22')]();}[_0x28fd('0x3c')](_0x5ba26a,_0x49fae3){const _0x1c2df1=new this['_config'][(_0x28fd('0x9'))](this[_0x28fd('0x13')],_0x5ba26a,{'maxCommentCharsWhenCollapsed':this[_0x28fd('0x2')][_0x28fd('0x18')],'formatDateTime':this['_config'][_0x28fd('0x7')],'editorConfig':this[_0x28fd('0x2')][_0x28fd('0xb')]});_0x1c2df1[_0x28fd('0xa')]=_0x5ba26a['id'],_0x1c2df1[_0x28fd('0xc')](_0x28fd('0x23'))['to'](this),_0x1c2df1[_0x28fd('0xc')](_0x28fd('0x1d'))['to'](this),_0x1c2df1[_0x28fd('0xc')]('resolveCommentThread')['to'](this),_0x1c2df1['delegate'](_0x28fd('0x1c'))['to'](this),_0x1c2df1['delegate'](_0x28fd('0x33'))['to'](this),this[_0x28fd('0x2d')](_0x1c2df1,_0x28fd('0xe'),()=>this[_0x28fd('0xd')]()),this[_0x28fd('0x30')][_0x28fd('0x1')](_0x1c2df1,_0x49fae3);}[_0x28fd('0x11')](_0x3af621){const _0x459487=this['_model']['_findOptimalIndex'](_0x3af621);return this[_0x28fd('0x8')]?this[_0x28fd('0x8')]['authoredAt']>_0x3af621['authoredAt']?_0x459487-0x1:_0x459487:_0x459487-0x1;}['_handleInfoComment'](){if(this[_0x28fd('0x26')]['resolvedBy']&&this[_0x28fd('0x26')][_0x28fd('0x4')]){const _0x3e0656={'id':_0x28fd('0x2a'),'author':this[_0x28fd('0x26')]['resolvedBy'],'authoredAt':this[_0x28fd('0x26')][_0x28fd('0x4')],'content':_0x1eabb0(this[_0x28fd('0x13')],_0x28fd('0x32')),'attributes':{}};this[_0x28fd('0x8')]=new this[(_0x28fd('0x2'))][(_0x28fd('0x9'))](this[_0x28fd('0x13')],_0x3e0656,{'maxCommentCharsWhenCollapsed':this[_0x28fd('0x2')][_0x28fd('0x18')],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config'][_0x28fd('0xb')],'isSystemComment':!0x0}),this[_0x28fd('0x30')][_0x28fd('0x1')](this[_0x28fd('0x8')],this[_0x28fd('0x26')][_0x28fd('0x15')](_0x3e0656));}else this[_0x28fd('0x8')]&&(this[_0x28fd('0x30')]['remove'](this[_0x28fd('0x8')]),this[_0x28fd('0x8')]['destroy'](),this[_0x28fd('0x8')]=null);this[_0x28fd('0x1b')]();}['_handleRemoveCommentModel'](_0x275a03){const _0x1468a5=this[_0x28fd('0x30')][_0x28fd('0x0')](_0x275a03['id']);this[_0x28fd('0x2b')](_0x1468a5),_0x1468a5[_0x28fd('0x37')]&&this[_0x28fd('0xd')](),_0x1468a5[_0x28fd('0x3')]();}[_0x28fd('0xd')](){this[_0x28fd('0x19')]=Array[_0x28fd('0x2e')](this['commentViews'])[_0x28fd('0x24')](_0x2ea212=>_0x2ea212[_0x28fd('0x37')]);}[_0x28fd('0x5')](){const _0x36a74f=function(_0x3528b5){const _0x59ec75=new _0x34ec7e();for(const _0x2f4355 of _0x3528b5)_0x59ec75[_0x28fd('0x1')](_0x2f4355);return _0x59ec75;}(this[_0x28fd('0x30')]),_0x3e7ee0=this[_0x28fd('0x20')][_0x28fd('0x14')];for(let _0xd3f7ec=0x1;_0xd3f7ec<=_0x3e7ee0;_0xd3f7ec++)_0x36a74f['remove'](0x1);for(const _0x4f89aa of _0x36a74f)_0x4f89aa['collapse']();_0x3e7ee0>0x0&&_0x36a74f['add'](this[_0x28fd('0x20')],0x1),ss(_0x4eac08(Array['from'](this[_0x28fd('0x1a')]),Array['from'](_0x36a74f)),this[_0x28fd('0x1a')],_0x36a74f);}[_0x28fd('0x22')](){ss(_0x4eac08(Array['from'](this[_0x28fd('0x1a')]),Array[_0x28fd('0x2e')](this[_0x28fd('0x30')])),this['visibleViews'],this['commentViews']);for(const _0x41d419 of this[_0x28fd('0x1a')])_0x41d419['expand']();}}function ss(_0x1ba62c,_0x105753,_0x2778f3){let _0xa35c7b=0x0;for(const _0xa9e41d of _0x1ba62c)switch(_0xa9e41d){case _0x28fd('0x39'):_0x105753['add'](_0x2778f3[_0x28fd('0x36')](_0xa35c7b),_0xa35c7b),_0xa35c7b++;break;case _0x28fd('0x21'):_0x105753['remove'](_0xa35c7b);break;case _0x28fd('0x12'):_0xa35c7b++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a4f=['reopenButtonView','isEnabled','querySelector','div','bind','render','element','ck-context-wrapper','_model','fire','mouseenter','mouseleave','scrollWidth','execute','_trimContextValue','locale','tooltip','lastIndexOf','hasContext','remove','offsetWidth','listenTo','span','substring','_createReopenButton','ck-context--quotes','.ck-context','_attachContextActions','ck-thread__header','icon','ck-annotation__actions','value','context','overlay','...','classList','isReadOnly','ck-context__value'];(function(_0x55b9e3,_0x1a4f8e){const _0x5f5a82=function(_0x493b2e){while(--_0x493b2e){_0x55b9e3['push'](_0x55b9e3['shift']());}};_0x5f5a82(++_0x1a4f8e);}(_0x1a4f,0x1cc));const _0x5f5a=function(_0x55b9e3,_0x1a4f8e){_0x55b9e3=_0x55b9e3-0x0;let _0x5f5a82=_0x1a4f[_0x55b9e3];return _0x5f5a82;};import{View as _0x20b8ba,ButtonView as _0x5a5d7a}from'ckeditor5/src/ui';import{getTranslation as _0x299cc4}from'../../../utils/common-translations';import _0x27b1bf from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Rt extends _0x20b8ba{constructor(_0x26f877,_0x5d0621){super(_0x26f877);const _0x3d7bc4=this['bindTemplate'];this[_0x5f5a('0x4')]=_0x5d0621,this[_0x5f5a('0x22')]=this[_0x5f5a('0x14')](),this[_0x5f5a('0x0')]('hasContext')['to'](this[_0x5f5a('0x4')],_0x5f5a('0x1c'),_0x1d7b3c=>!!_0x1d7b3c),this[_0x5f5a('0x0')]('contextValue')['to'](this[_0x5f5a('0x4')],_0x5f5a('0x1c'),_0x212549=>_0x212549&&_0x212549['value']?this[_0x5f5a('0xa')](_0x212549[_0x5f5a('0x1b')]):_0x299cc4(this[_0x5f5a('0xb')],'Comment\x20was\x20made\x20on\x20an\x20element')),this['setTemplate']({'tag':'div','attributes':{'class':[_0x5f5a('0x18')]},'children':[{'tag':_0x5f5a('0x25'),'attributes':{'class':[_0x5f5a('0x3')]},'children':[{'tag':'div','attributes':{'class':['ck-context',_0x3d7bc4['if'](_0x5f5a('0xe'),_0x5f5a('0x15'))]},'children':[{'tag':_0x5f5a('0x12'),'attributes':{'class':[_0x5f5a('0x21')]},'children':[{'text':_0x3d7bc4['to']('contextValue')}]}]}]},{'tag':'div','attributes':{'class':[_0x5f5a('0x1a')]},'children':[this[_0x5f5a('0x22')]]}]});}[_0x5f5a('0x1')](){super[_0x5f5a('0x1')](),this[_0x5f5a('0x17')]();}['_createReopenButton'](){const _0x2af372=new _0x5a5d7a(this[_0x5f5a('0xb')]);return _0x2af372['label']=_0x299cc4(this[_0x5f5a('0xb')],'Reopen'),_0x2af372[_0x5f5a('0xc')]=_0x299cc4(this[_0x5f5a('0xb')],'Reopen'),_0x2af372[_0x5f5a('0x19')]=_0x27b1bf,_0x2af372[_0x5f5a('0x0')](_0x5f5a('0x23'))['to'](this['_model'],_0x5f5a('0x20'),_0xd144cf=>!_0xd144cf),_0x2af372[_0x5f5a('0x0')]('isVisible')['to'](this['_model'],'isResolvable'),_0x2af372['on'](_0x5f5a('0x9'),()=>{this[_0x5f5a('0x5')]('reopenCommentThread',this[_0x5f5a('0x4')]['id']);}),_0x2af372;}['_trimContextValue'](_0x199c5a){if(_0x199c5a['length']<0x96)return _0x199c5a;const _0x48e868=_0x199c5a[_0x5f5a('0xd')]('\x20',0x93);return _0x199c5a[_0x5f5a('0x13')](0x0,_0x48e868>-0x1?_0x48e868:0x93)+_0x5f5a('0x1e');}[_0x5f5a('0x17')](){const _0x187b06=this[_0x5f5a('0x2')]['querySelector'](_0x5f5a('0x16')),_0x29b17f=_0x187b06[_0x5f5a('0x24')]('.ck-context__value');this[_0x5f5a('0x11')](_0x187b06,_0x5f5a('0x6'),()=>{_0x29b17f[_0x5f5a('0x10')]<_0x29b17f[_0x5f5a('0x8')]&&_0x187b06[_0x5f5a('0x1f')]['add'](_0x5f5a('0x1d'));}),this['listenTo'](_0x187b06,_0x5f5a('0x7'),()=>{_0x187b06[_0x5f5a('0x1f')][_0x5f5a('0xf')](_0x5f5a('0x1d'));});}}
23
+ const _0x2c8f=['mouseenter','ck-context-wrapper','.ck-context__value','offsetWidth','ck-context__value','render','remove','hasContext','ck-thread__header','value','ck-context','reopenButtonView','.ck-context','classList','Reopen','label','length','locale','isReadOnly','contextValue','ck-context--quotes','substring','bind','fire','isVisible','_model','isResolvable','_trimContextValue','isEnabled','span','_attachContextActions','icon','querySelector','mouseleave','listenTo','lastIndexOf','context','div','setTemplate','reopenCommentThread','execute','overlay','element','scrollWidth'];(function(_0x165e77,_0x2c8f95){const _0x2167d1=function(_0x7d5497){while(--_0x7d5497){_0x165e77['push'](_0x165e77['shift']());}};_0x2167d1(++_0x2c8f95);}(_0x2c8f,0x69));const _0x2167=function(_0x165e77,_0x2c8f95){_0x165e77=_0x165e77-0x0;let _0x2167d1=_0x2c8f[_0x165e77];return _0x2167d1;};import{View as _0x1680e8,ButtonView as _0x197661}from'ckeditor5/src/ui';import{getTranslation as _0x4d1efa}from'../../../utils/common-translations';import _0x59e5f7 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Rt extends _0x1680e8{constructor(_0x1d8b8b,_0xb36520){super(_0x1d8b8b);const _0x7d00a5=this['bindTemplate'];this[_0x2167('0x8')]=_0xb36520,this[_0x2167('0x26')]=this['_createReopenButton'](),this[_0x2167('0x5')](_0x2167('0x22'))['to'](this[_0x2167('0x8')],_0x2167('0x13'),_0x7ba236=>!!_0x7ba236),this[_0x2167('0x5')](_0x2167('0x2'))['to'](this[_0x2167('0x8')],'context',_0x366c2b=>_0x366c2b&&_0x366c2b['value']?this[_0x2167('0xa')](_0x366c2b[_0x2167('0x24')]):_0x4d1efa(this['locale'],'Comment\x20was\x20made\x20on\x20an\x20element')),this[_0x2167('0x15')]({'tag':_0x2167('0x14'),'attributes':{'class':[_0x2167('0x23')]},'children':[{'tag':_0x2167('0x14'),'attributes':{'class':[_0x2167('0x1c')]},'children':[{'tag':_0x2167('0x14'),'attributes':{'class':[_0x2167('0x25'),_0x7d00a5['if'](_0x2167('0x22'),_0x2167('0x3'))]},'children':[{'tag':_0x2167('0xc'),'attributes':{'class':[_0x2167('0x1f')]},'children':[{'text':_0x7d00a5['to'](_0x2167('0x2'))}]}]}]},{'tag':_0x2167('0x14'),'attributes':{'class':['ck-annotation__actions']},'children':[this[_0x2167('0x26')]]}]});}[_0x2167('0x20')](){super['render'](),this['_attachContextActions']();}['_createReopenButton'](){const _0x258855=new _0x197661(this['locale']);return _0x258855[_0x2167('0x2a')]=_0x4d1efa(this[_0x2167('0x0')],_0x2167('0x29')),_0x258855['tooltip']=_0x4d1efa(this[_0x2167('0x0')],_0x2167('0x29')),_0x258855[_0x2167('0xe')]=_0x59e5f7,_0x258855['bind'](_0x2167('0xb'))['to'](this[_0x2167('0x8')],_0x2167('0x1'),_0x2f1a3c=>!_0x2f1a3c),_0x258855[_0x2167('0x5')](_0x2167('0x7'))['to'](this['_model'],_0x2167('0x9')),_0x258855['on'](_0x2167('0x17'),()=>{this[_0x2167('0x6')](_0x2167('0x16'),this[_0x2167('0x8')]['id']);}),_0x258855;}[_0x2167('0xa')](_0x29c03a){if(_0x29c03a[_0x2167('0x2b')]<0x96)return _0x29c03a;const _0x529c98=_0x29c03a[_0x2167('0x12')]('\x20',0x93);return _0x29c03a[_0x2167('0x4')](0x0,_0x529c98>-0x1?_0x529c98:0x93)+'...';}[_0x2167('0xd')](){const _0x1e08dc=this[_0x2167('0x19')][_0x2167('0xf')](_0x2167('0x27')),_0x1241bd=_0x1e08dc[_0x2167('0xf')](_0x2167('0x1d'));this[_0x2167('0x11')](_0x1e08dc,_0x2167('0x1b'),()=>{_0x1241bd[_0x2167('0x1e')]<_0x1241bd[_0x2167('0x1a')]&&_0x1e08dc[_0x2167('0x28')]['add']('overlay');}),this[_0x2167('0x11')](_0x1e08dc,_0x2167('0x10'),()=>{_0x1e08dc[_0x2167('0x28')][_0x2167('0x21')](_0x2167('0x18'));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5d0b=['extendTemplate','isFocused','editorReady','div','focusTracker','ck-thread__user','set','editor','setTemplate','showButtons','userView','commentInputView','ck-thread__input','destroy','ck-comment__input-container','ck-comment__input-container--active','change:showInput','value','bind','delegate','bindTemplate','editorDestroyed','showInput'];(function(_0x4258e3,_0x5d0b8e){var _0x40e8ef=function(_0x42bc52){while(--_0x42bc52){_0x4258e3['push'](_0x4258e3['shift']());}};_0x40e8ef(++_0x5d0b8e);}(_0x5d0b,0x17a));var _0x40e8=function(_0x4258e3,_0x5d0b8e){_0x4258e3=_0x4258e3-0x0;var _0x40e8ef=_0x5d0b[_0x4258e3];return _0x40e8ef;};import{View as _0x1e3839}from'ckeditor5/src/ui';import _0x43ef77 from'./commentinputview';import{UserView as _0x1cc4fc}from'ckeditor5-collaboration/src/collaboration-core';export default class Ct extends _0x1e3839{constructor(_0x2c0a3c,_0x212c85,_0x76220e){super(_0x2c0a3c),this[_0x40e8('0x1')]=new _0x43ef77(_0x2c0a3c,_0x76220e),this[_0x40e8('0x1')][_0x40e8('0x8')](_0x40e8('0x16'))['to'](this[_0x40e8('0x1')][_0x40e8('0x11')],_0x40e8('0xe'),this['commentInputView'],_0x40e8('0x7'),(_0x59ef23,_0x2b227d)=>_0x59ef23||!!_0x2b227d),this[_0x40e8('0x13')](_0x40e8('0xc'),!0x1),this['on'](_0x40e8('0x6'),()=>{this[_0x40e8('0xc')]&&!this['commentInputView'][_0x40e8('0x14')]&&this[_0x40e8('0x1')]['createEditor']();}),this[_0x40e8('0x1')]['delegate'](_0x40e8('0xf'))['to'](this),this['commentInputView'][_0x40e8('0x9')](_0x40e8('0xb'))['to'](this),this[_0x40e8('0x0')]=new _0x1cc4fc(_0x2c0a3c,_0x212c85),this['userView'][_0x40e8('0xd')]({'attributes':{'class':_0x40e8('0x12')}}),this[_0x40e8('0x1')][_0x40e8('0xd')]({'attributes':{'class':_0x40e8('0x2')}}),this[_0x40e8('0x15')]({'tag':_0x40e8('0x10'),'attributes':{'class':[_0x40e8('0x4'),this[_0x40e8('0xa')]['if']('showInput',_0x40e8('0x5'))]},'children':[this[_0x40e8('0x0')],this[_0x40e8('0x1')]]});}[_0x40e8('0x3')](){return this[_0x40e8('0x1')][_0x40e8('0x3')]()['then'](()=>super[_0x40e8('0x3')]());}}
23
+ var _0x287a=['destroy','userView','isFocused','ck-comment__input-container--active','ck-thread__user','createEditor','focusTracker','bind','change:showInput','delegate','value','ck-thread__input','commentInputView','showButtons','extendTemplate','bindTemplate','showInput','editorDestroyed'];(function(_0x10224e,_0x287a96){var _0x1b567b=function(_0x326756){while(--_0x326756){_0x10224e['push'](_0x10224e['shift']());}};_0x1b567b(++_0x287a96);}(_0x287a,0xa7));var _0x1b56=function(_0x10224e,_0x287a96){_0x10224e=_0x10224e-0x0;var _0x1b567b=_0x287a[_0x10224e];return _0x1b567b;};import{View as _0x140332}from'ckeditor5/src/ui';import _0x31cec6 from'./commentinputview';import{UserView as _0xe19d5c}from'ckeditor5-collaboration/src/collaboration-core';export default class At extends _0x140332{constructor(_0x1b6873,_0x1e5d2d,_0x3c609f){super(_0x1b6873),this['commentInputView']=new _0x31cec6(_0x1b6873,_0x3c609f),this[_0x1b56('0x7')][_0x1b56('0x2')](_0x1b56('0x8'))['to'](this[_0x1b56('0x7')][_0x1b56('0x1')],_0x1b56('0xf'),this[_0x1b56('0x7')],_0x1b56('0x5'),(_0x4b9e9f,_0x26f604)=>_0x4b9e9f||!!_0x26f604),this['set'](_0x1b56('0xb'),!0x1),this['on'](_0x1b56('0x3'),()=>{this['showInput']&&!this['commentInputView']['editor']&&this[_0x1b56('0x7')][_0x1b56('0x0')]();}),this[_0x1b56('0x7')][_0x1b56('0x4')]('editorReady')['to'](this),this[_0x1b56('0x7')][_0x1b56('0x4')](_0x1b56('0xc'))['to'](this),this['userView']=new _0xe19d5c(_0x1b6873,_0x1e5d2d),this[_0x1b56('0xe')][_0x1b56('0x9')]({'attributes':{'class':_0x1b56('0x11')}}),this[_0x1b56('0x7')][_0x1b56('0x9')]({'attributes':{'class':_0x1b56('0x6')}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-comment__input-container',this[_0x1b56('0xa')]['if']('showInput',_0x1b56('0x10'))]},'children':[this[_0x1b56('0xe')],this['commentInputView']]});}[_0x1b56('0xd')](){return this['commentInputView']['destroy']()['then'](()=>super[_0x1b56('0xd')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2540=['isEnabled','showConfirm','commentThreadChildren','bindTemplate','isResolvable','_bindFirstCommentView','removeCommentThread','createCollection','change:isReadOnly','bind','execute','ck-thread--remove-confirmation','ck-reset_all-excluded','isConfirm','querySelector','removeButton','resolveButton','Write\x20a\x20comment...','check','tooltip','div','remove','change:isResolved','_boundFirstCommentView','fire','addMany','listenTo','icon','isSystemComment','_model','containerElement','unbind','ck-thread--active','add','isVisible','.ck-thread__container','label','then','render','getTemplate','get','commentViews','commentThreadHeaderView','change:isActive','locale','commentThreadInputView','commentsListView','_createResolveButton','actionBar','ck-thread','_cancelAllConfirms','resolveCommentThread','actionIndicator','ck-thread__container','set','isResolved','Resolve','high','setTemplate','length','Delete\x20comment\x20thread?','cancelConfirm','ck-comment--resolve'];(function(_0x1b3e33,_0x2540c1){const _0x1f1c72=function(_0xa37bb7){while(--_0xa37bb7){_0x1b3e33['push'](_0x1b3e33['shift']());}};_0x1f1c72(++_0x2540c1);}(_0x2540,0xd6));const _0x1f1c=function(_0x1b3e33,_0x2540c1){_0x1b3e33=_0x1b3e33-0x0;let _0x1f1c72=_0x2540[_0x1b3e33];return _0x1f1c72;};import{ConfirmMixin as _0x5aa414}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x101670}from'ckeditor5/src/ui';import{icons as _0xf1df0a}from'ckeditor5/src/core';import _0x26c5fc from'./basecommentthreadview';import{getTranslation as _0x24197b}from'../../../utils/common-translations';export default class lt extends _0x5aa414(_0x26c5fc){constructor(_0x3241d0,_0x577563,_0x2cc284,_0x34edc3){super(_0x3241d0,_0x577563,_0x2cc284,_0x34edc3),this[_0x1f1c('0x28')]=this[_0x1f1c('0x2d')](),this['commentThreadChildren'][_0x1f1c('0x0')]([this[_0x1f1c('0x15')],this[_0x1f1c('0x14')]]),this[_0x1f1c('0x4')][_0x1f1c('0x1e')]&&this[_0x1f1c('0x28')][_0x1f1c('0x8')](this[_0x1f1c('0x11')],0x0),this[_0x1f1c('0x4')]['on'](_0x1f1c('0x3c'),(_0x42d31d,_0xef7426,_0x482fc)=>{_0x482fc?this[_0x1f1c('0x28')][_0x1f1c('0x8')](this[_0x1f1c('0x11')],0x0):this[_0x1f1c('0x28')]['remove'](this[_0x1f1c('0x11')]);}),this[_0x1f1c('0x1d')](_0x1f1c('0x1b'),null),this[_0x1f1c('0x5')]=null,this[_0x1f1c('0x3d')]=null,this[_0x1f1c('0x13')]=_0x3241d0,this[_0x1f1c('0x36')]=this[_0x1f1c('0x16')](),this[_0x1f1c('0x21')](this['getTemplate']()),this['on'](_0x1f1c('0x12'),(_0x4e7c62,_0xf0da8c,_0x45a9e9)=>{_0x45a9e9||this[_0x1f1c('0x19')]();}),this[_0x1f1c('0x1')](this[_0x1f1c('0x4')],_0x1f1c('0x2e'),(_0x242e1a,_0x7313b2,_0x50ff77)=>{_0x50ff77&&this[_0x1f1c('0x19')]();}),this[_0x1f1c('0x22')]>0x0&&this[_0x1f1c('0x2b')](),this[_0x1f1c('0x1')](this[_0x1f1c('0x15')]['commentViews'],_0x1f1c('0x8'),()=>{this[_0x1f1c('0x2b')]();});}[_0x1f1c('0xe')](){const _0x41340e=this[_0x1f1c('0x29')];return{'tag':_0x1f1c('0x3a'),'attributes':{'class':[_0x1f1c('0x18'),_0x1f1c('0x32'),_0x41340e['if']('isActive',_0x1f1c('0x7')),_0x41340e['if'](_0x1f1c('0x33'),_0x1f1c('0x31')),_0x41340e['to'](_0x1f1c('0x1b'),_0x4ee53c=>_0x4ee53c?'ck-thread--'+_0x4ee53c:'')],'data-thread-id':this[_0x1f1c('0x4')]['id'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':_0x1f1c('0x1c')},'children':this[_0x1f1c('0x28')]}]};}[_0x1f1c('0xd')](){super['render'](),this[_0x1f1c('0x5')]=this['element'][_0x1f1c('0x34')](_0x1f1c('0xa'));}[_0x1f1c('0x19')](){this[_0x1f1c('0x24')]();for(const _0x3469bb of this[_0x1f1c('0x15')][_0x1f1c('0x10')])_0x3469bb[_0x1f1c('0x24')]();}[_0x1f1c('0x2b')](){const {locale:_0x7f5162}=this,_0x17a644=this[_0x1f1c('0x15')][_0x1f1c('0x10')][_0x1f1c('0xf')](0x0);_0x17a644===this['_boundFirstCommentView']||_0x17a644[_0x1f1c('0x3')]||(this[_0x1f1c('0x3d')]=_0x17a644,this[_0x1f1c('0x6')](_0x1f1c('0x1b')),this['bind'](_0x1f1c('0x1b'))['to'](_0x17a644,_0x1f1c('0x1b'),_0x3d424f=>_0x1f1c('0x3b')===_0x3d424f?'remove':null),_0x17a644['placeholder']=_0x24197b(_0x7f5162,_0x1f1c('0x37')),_0x17a644[_0x1f1c('0x35')]['on'](_0x1f1c('0x30'),_0x1649a4=>{_0x1649a4['stop'](),this[_0x1f1c('0x27')](_0x24197b(_0x7f5162,_0x1f1c('0x23')),this[_0x1f1c('0x5')])[_0x1f1c('0xc')](()=>{this[_0x1f1c('0x3e')](_0x1f1c('0x2c'));});},{'priority':_0x1f1c('0x20')}),_0x17a644[_0x1f1c('0x17')][_0x1f1c('0x8')](this[_0x1f1c('0x36')],0x0));}[_0x1f1c('0x16')](){const _0x294b97=new _0x101670(this['locale']);return _0x294b97[_0x1f1c('0xb')]=_0x24197b(this[_0x1f1c('0x13')],_0x1f1c('0x1f')),_0x294b97[_0x1f1c('0x39')]=_0x24197b(this[_0x1f1c('0x13')],'Resolve'),_0x294b97[_0x1f1c('0x2')]=_0xf1df0a[_0x1f1c('0x38')],_0x294b97['extendTemplate']({'attributes':{'class':_0x1f1c('0x25')}}),_0x294b97['bind'](_0x1f1c('0x26'))['to'](this[_0x1f1c('0x4')],'isReadOnly',_0xdb2c5e=>!_0xdb2c5e),_0x294b97[_0x1f1c('0x2f')](_0x1f1c('0x9'))['to'](this[_0x1f1c('0x4')],_0x1f1c('0x2a'),this[_0x1f1c('0x4')],_0x1f1c('0x1e'),(_0x2e3cd8,_0x505c87)=>_0x2e3cd8&&!_0x505c87),_0x294b97['on'](_0x1f1c('0x30'),()=>{this['fire'](_0x1f1c('0x1a'),this['_model']['id']);}),_0x294b97;}}
23
+ const _0x1ec2=['_bindFirstCommentView','_model','actionBar','remove','add','_cancelAllConfirms','commentThreadChildren','commentsListView','stop','placeholder','get','change:isResolved','isConfirm','_boundFirstCommentView','commentThreadHeaderView','unbind','bindTemplate','isEnabled','ck-thread--remove-confirmation','div','ck-thread__container','listenTo','ck-thread--','ck-comment--resolve','actionIndicator','length','render','resolveCommentThread','then','_createResolveButton','ck-thread--active','Delete\x20comment\x20thread?','containerElement','isResolved','change:isActive','isReadOnly','Resolve','tooltip','ck-reset_all-excluded','high','label','cancelConfirm','ck-thread','isActive','isVisible','Write\x20a\x20comment...','removeCommentThread','resolveButton','icon','extendTemplate','bind','locale','createCollection','.ck-thread__container','commentViews','change:isReadOnly','fire','isSystemComment','getTemplate','removeButton','commentThreadInputView'];(function(_0x2d7c52,_0x1ec26e){const _0x4aed53=function(_0x188b62){while(--_0x188b62){_0x2d7c52['push'](_0x2d7c52['shift']());}};_0x4aed53(++_0x1ec26e);}(_0x1ec2,0x6f));const _0x4aed=function(_0x2d7c52,_0x1ec26e){_0x2d7c52=_0x2d7c52-0x0;let _0x4aed53=_0x1ec2[_0x2d7c52];return _0x4aed53;};import{ConfirmMixin as _0x275e49}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x2bbab9}from'ckeditor5/src/ui';import{icons as _0x1c71e6}from'ckeditor5/src/core';import _0x41e55e from'./basecommentthreadview';import{getTranslation as _0x29a679}from'../../../utils/common-translations';export default class ft extends _0x275e49(_0x41e55e){constructor(_0x40bcdc,_0x43f256,_0x45ae48,_0x58ed94){super(_0x40bcdc,_0x43f256,_0x45ae48,_0x58ed94),this['commentThreadChildren']=this[_0x4aed('0x2')](),this[_0x4aed('0x11')]['addMany']([this['commentsListView'],this[_0x4aed('0xa')]]),this[_0x4aed('0xc')][_0x4aed('0x2c')]&&this['commentThreadChildren'][_0x4aed('0xf')](this['commentThreadHeaderView'],0x0),this[_0x4aed('0xc')]['on'](_0x4aed('0x16'),(_0x245167,_0x503e4b,_0x23d1e7)=>{_0x23d1e7?this[_0x4aed('0x11')][_0x4aed('0xf')](this[_0x4aed('0x19')],0x0):this['commentThreadChildren'][_0x4aed('0xe')](this[_0x4aed('0x19')]);}),this['set'](_0x4aed('0x23'),null),this[_0x4aed('0x2b')]=null,this[_0x4aed('0x18')]=null,this[_0x4aed('0x1')]=_0x40bcdc,this['resolveButton']=this[_0x4aed('0x28')](),this['setTemplate'](this[_0x4aed('0x8')]()),this['on'](_0x4aed('0x2d'),(_0x277c8c,_0x55039f,_0x59ed4a)=>{_0x59ed4a||this[_0x4aed('0x10')]();}),this['listenTo'](this[_0x4aed('0xc')],_0x4aed('0x5'),(_0x436276,_0x3e448b,_0x16f0e2)=>{_0x16f0e2&&this[_0x4aed('0x10')]();}),this[_0x4aed('0x24')]>0x0&&this[_0x4aed('0xb')](),this[_0x4aed('0x20')](this['commentsListView'][_0x4aed('0x4')],'add',()=>{this[_0x4aed('0xb')]();});}['getTemplate'](){const _0x4c1fbf=this[_0x4aed('0x1b')];return{'tag':'div','attributes':{'class':[_0x4aed('0x35'),_0x4aed('0x31'),_0x4c1fbf['if'](_0x4aed('0x36'),_0x4aed('0x29')),_0x4c1fbf['if'](_0x4aed('0x17'),_0x4aed('0x1d')),_0x4c1fbf['to'](_0x4aed('0x23'),_0xe5a2f3=>_0xe5a2f3?_0x4aed('0x21')+_0xe5a2f3:'')],'data-thread-id':this[_0x4aed('0xc')]['id'],'tabindex':-0x1},'children':[{'tag':_0x4aed('0x1e'),'attributes':{'class':_0x4aed('0x1f')},'children':this[_0x4aed('0x11')]}]};}[_0x4aed('0x25')](){super[_0x4aed('0x25')](),this[_0x4aed('0x2b')]=this['element']['querySelector'](_0x4aed('0x3'));}['_cancelAllConfirms'](){this[_0x4aed('0x34')]();for(const _0x46fcc6 of this[_0x4aed('0x12')]['commentViews'])_0x46fcc6[_0x4aed('0x34')]();}[_0x4aed('0xb')](){const {locale:_0x3dd130}=this,_0x10171f=this['commentsListView'][_0x4aed('0x4')][_0x4aed('0x15')](0x0);_0x10171f===this[_0x4aed('0x18')]||_0x10171f[_0x4aed('0x7')]||(this[_0x4aed('0x18')]=_0x10171f,this[_0x4aed('0x1a')](_0x4aed('0x23')),this[_0x4aed('0x0')](_0x4aed('0x23'))['to'](_0x10171f,_0x4aed('0x23'),_0x366b1d=>_0x4aed('0xe')===_0x366b1d?_0x4aed('0xe'):null),_0x10171f[_0x4aed('0x14')]=_0x29a679(_0x3dd130,_0x4aed('0x38')),_0x10171f[_0x4aed('0x9')]['on']('execute',_0x5e4035=>{_0x5e4035[_0x4aed('0x13')](),this['showConfirm'](_0x29a679(_0x3dd130,_0x4aed('0x2a')),this[_0x4aed('0x2b')])[_0x4aed('0x27')](()=>{this[_0x4aed('0x6')](_0x4aed('0x39'));});},{'priority':_0x4aed('0x32')}),_0x10171f[_0x4aed('0xd')]['add'](this[_0x4aed('0x3a')],0x0));}['_createResolveButton'](){const _0x3bdf4c=new _0x2bbab9(this[_0x4aed('0x1')]);return _0x3bdf4c[_0x4aed('0x33')]=_0x29a679(this[_0x4aed('0x1')],_0x4aed('0x2f')),_0x3bdf4c[_0x4aed('0x30')]=_0x29a679(this[_0x4aed('0x1')],_0x4aed('0x2f')),_0x3bdf4c[_0x4aed('0x3b')]=_0x1c71e6['check'],_0x3bdf4c[_0x4aed('0x3c')]({'attributes':{'class':_0x4aed('0x22')}}),_0x3bdf4c[_0x4aed('0x0')](_0x4aed('0x1c'))['to'](this['_model'],_0x4aed('0x2e'),_0x3b2b56=>!_0x3b2b56),_0x3bdf4c['bind'](_0x4aed('0x37'))['to'](this['_model'],'isResolvable',this[_0x4aed('0xc')],_0x4aed('0x2c'),(_0xe3954a,_0x1c7ffc)=>_0xe3954a&&!_0x1c7ffc),_0x3bdf4c['on']('execute',()=>{this['fire'](_0x4aed('0x26'),this['_model']['id']);}),_0x3bdf4c;}}