@ckeditor/ckeditor5-comments 0.0.0-nightly-20231107.0 → 0.0.0-nightly-20231108.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/build/comments.js +1 -1
  2. package/lang/contexts.json +2 -0
  3. package/package.json +3 -3
  4. package/src/annotations/annotation.js +1 -1
  5. package/src/annotations/annotationcollection.js +1 -1
  6. package/src/annotations/annotations.js +1 -1
  7. package/src/annotations/annotationsuis.js +1 -1
  8. package/src/annotations/editorannotations.js +1 -1
  9. package/src/annotations/inlineannotations.js +1 -1
  10. package/src/annotations/narrowsidebar.js +1 -1
  11. package/src/annotations/sidebar.js +1 -1
  12. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  13. package/src/annotations/view/annotationview.js +1 -1
  14. package/src/annotations/view/sidebaritemview.js +1 -1
  15. package/src/annotations/view/sidebarview.js +1 -1
  16. package/src/annotations/widesidebar.js +1 -1
  17. package/src/comments/addcommentthreadcommand.js +1 -1
  18. package/src/comments/commentsarchive.js +1 -1
  19. package/src/comments/commentsarchiveui.js +1 -1
  20. package/src/comments/commentsediting.js +1 -1
  21. package/src/comments/commentsrepository.js +1 -1
  22. package/src/comments/commentsui.js +1 -1
  23. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  24. package/src/comments/integrations/importword.js +1 -1
  25. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  26. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  27. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  28. package/src/comments/ui/commentthreadcontroller.js +1 -1
  29. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  30. package/src/comments/ui/view/basecommentview.js +1 -1
  31. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  32. package/src/comments/ui/view/commentcontentview.js +1 -1
  33. package/src/comments/ui/view/commentinputview.js +1 -1
  34. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  35. package/src/comments/ui/view/commentslistview.js +1 -1
  36. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  37. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  38. package/src/comments/ui/view/commentthreadview.js +1 -1
  39. package/src/comments/ui/view/commentview.js +1 -1
  40. package/src/comments.js +1 -1
  41. package/src/commentsonly.js +1 -1
  42. package/src/utils/common-translations.js +1 -1
  43. package/src/utils/createmutationobserver.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x39a3=['map','importWord.formatting.comments','config','high','define','afterInit','plugins','commands','comments','execute','_handleImportedData','editor','listenTo','forEach','importWord','basic','get'];(function(_0xb2bee3,_0x39a30d){const _0x94c9a7=function(_0x206e3b){while(--_0x206e3b){_0xb2bee3['push'](_0xb2bee3['shift']());}};_0x94c9a7(++_0x39a30d);}(_0x39a3,0x92));const _0x94c9=function(_0xb2bee3,_0x39a30d){_0xb2bee3=_0xb2bee3-0x0;let _0x94c9a7=_0x39a3[_0xb2bee3];return _0x94c9a7;};import{Plugin as _0x59209e}from'ckeditor5/src/core';import{priorities as _0xe96f29}from'ckeditor5/src/utils';import{Users as _0x14d6ab}from'ckeditor5-collaboration/src/collaboration-core';import _0x3bb19a from'../commentsrepository';export default class Y extends _0x59209e{constructor(_0xca1fcf){super(_0xca1fcf),this[_0x94c9('0x1')][_0x94c9('0x9')][_0x94c9('0xb')](_0x94c9('0x8'),_0x94c9('0x5'));}[_0x94c9('0xc')](){const _0x11846a=this['editor'],_0x45ea01=_0x11846a[_0x94c9('0xe')]['get'](_0x94c9('0x4')),_0x573f58=_0x11846a[_0x94c9('0xd')][_0x94c9('0x6')](_0x14d6ab);_0x45ea01&&(_0x45ea01['on'](_0x94c9('0x10'),(_0x4a86d5,[,_0xa5ce72])=>{_0xa5ce72['collaboration_features']={'comments':!0x0,'user_id':_0x573f58['me']['id']},_0xa5ce72['formatting'][_0x94c9('0xf')]=this[_0x94c9('0x1')][_0x94c9('0x9')][_0x94c9('0x6')](_0x94c9('0x8'));},{'priority':_0xe96f29[_0x94c9('0xa')]+0xa}),this[_0x94c9('0x2')](_0x45ea01,'dataInsert',this[_0x94c9('0x0')]));}[_0x94c9('0x0')](_0x2c1f44,_0x83f96f){const {comment_threads:_0x217164}=_0x83f96f;_0x217164&&_0x217164[_0x94c9('0x3')](({thread_id:_0x5c5a73,comments:_0x9e3895,is_resolved:_0x1545f1})=>{const _0x298b9d=new Date(),_0x5ddb68=_0x9e3895[_0x94c9('0x7')](({author:_0x31ea7a,content:_0x1a2230,created_at:_0x44b260})=>({'content':_0x1a2230,'authorId':this['editor'][_0x94c9('0xd')]['get'](_0x14d6ab)['me']['id'],'createdAt':_0x298b9d,'attributes':{'@external':{'authorName':_0x31ea7a,'createdAt':_0x44b260?new Date(_0x44b260):new Date(),'source':_0x94c9('0x4')}}})),_0x276633=this[_0x94c9('0x1')][_0x94c9('0x9')]['get']('collaboration.channelId');this[_0x94c9('0x1')][_0x94c9('0xd')][_0x94c9('0x6')](_0x3bb19a)['addCommentThread']({'channelId':_0x276633,'threadId':_0x5c5a73,'comments':_0x5ddb68,'resolvedAt':_0x1545f1?_0x298b9d:null});});}}
23
+ const _0x4495=['_handleImportedData','importWord.formatting.comments','config','forEach','afterInit','plugins','importWord','get','dataInsert','editor','addCommentThread','comments','commands','execute','collaboration_features'];(function(_0x30945f,_0x449524){const _0x24b68b=function(_0xa8a7d){while(--_0xa8a7d){_0x30945f['push'](_0x30945f['shift']());}};_0x24b68b(++_0x449524);}(_0x4495,0x130));const _0x24b6=function(_0x30945f,_0x449524){_0x30945f=_0x30945f-0x0;let _0x24b68b=_0x4495[_0x30945f];return _0x24b68b;};import{Plugin as _0x17fad0}from'ckeditor5/src/core';import{priorities as _0x122ed2}from'ckeditor5/src/utils';import{Users as _0x3dd7d2}from'ckeditor5-collaboration/src/collaboration-core';import _0x3254f2 from'../commentsrepository';export default class Z extends _0x17fad0{constructor(_0x2665e9){super(_0x2665e9),this[_0x24b6('0x5')]['config']['define'](_0x24b6('0xc'),'basic');}[_0x24b6('0x0')](){const _0x557002=this['editor'],_0xa0b95c=_0x557002[_0x24b6('0x8')][_0x24b6('0x3')]('importWord'),_0x35e5d0=_0x557002['plugins'][_0x24b6('0x3')](_0x3dd7d2);_0xa0b95c&&(_0xa0b95c['on'](_0x24b6('0x9'),(_0xd53bff,[,_0x7d3781])=>{_0x7d3781[_0x24b6('0xa')]={'comments':!0x0,'user_id':_0x35e5d0['me']['id']},_0x7d3781['formatting'][_0x24b6('0x7')]=this[_0x24b6('0x5')][_0x24b6('0xd')]['get'](_0x24b6('0xc'));},{'priority':_0x122ed2['high']+0xa}),this['listenTo'](_0xa0b95c,_0x24b6('0x4'),this[_0x24b6('0xb')]));}[_0x24b6('0xb')](_0x22767d,_0x5a3abe){const {comment_threads:_0x5f5bcc}=_0x5a3abe;_0x5f5bcc&&_0x5f5bcc[_0x24b6('0xe')](({thread_id:_0x548b53,comments:_0x59cdf1,is_resolved:_0x116de9})=>{const _0x231142=new Date(),_0x10fd45=_0x59cdf1['map'](({author:_0x52845b,content:_0x2f8757,created_at:_0x3c3f06})=>({'content':_0x2f8757,'authorId':this[_0x24b6('0x5')][_0x24b6('0x1')][_0x24b6('0x3')](_0x3dd7d2)['me']['id'],'createdAt':_0x231142,'attributes':{'@external':{'authorName':_0x52845b,'createdAt':_0x3c3f06?new Date(_0x3c3f06):new Date(),'source':_0x24b6('0x2')}}})),_0x5377e9=this[_0x24b6('0x5')][_0x24b6('0xd')][_0x24b6('0x3')]('collaboration.channelId');this['editor'][_0x24b6('0x1')]['get'](_0x3254f2)[_0x24b6('0x6')]({'channelId':_0x5377e9,'threadId':_0x548b53,'comments':_0x10fd45,'resolvedAt':_0x116de9?_0x231142:null});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4655=['placeholder','editing','get','defaultPlugins','init','initPlugins','plugins','then','getChild','placeholderElement','end','destroy','set','document','config','model','getRoot','setSelection','name','fire','change:placeholder','_updatePlaceholder','view','ready','focus','create','change'];(function(_0x165d41,_0x465566){const _0x255281=function(_0x11b66c){while(--_0x11b66c){_0x165d41['push'](_0x165d41['shift']());}};_0x255281(++_0x465566);}(_0x4655,0x69));const _0x2552=function(_0x165d41,_0x465566){_0x165d41=_0x165d41-0x0;let _0x255281=_0x4655[_0x165d41];return _0x255281;};import{Editor as _0x14b8a2,DataApiMixin as _0x4bde00}from'ckeditor5/src/core';import _0x53cf9c from'./commenteditorui';import{ObservableMixin as _0x2d509e}from'ckeditor5/src/utils';import{enablePlaceholder as _0xa71bb3,disablePlaceholder as _0x259192}from'ckeditor5/src/engine';import{Clipboard as _0x49fd9d}from'ckeditor5/src/clipboard';import{Enter as _0x6dd6fa,ShiftEnter as _0x3efe96}from'ckeditor5/src/enter';import{SelectAll as _0xa2fad9}from'ckeditor5/src/select-all';import{Typing as _0x46f41}from'ckeditor5/src/typing';import{Undo as _0x46d44d}from'ckeditor5/src/undo';import{Paragraph as _0x23af42}from'ckeditor5/src/paragraph';const Kt=[_0x49fd9d,_0x6dd6fa,_0x3efe96,_0xa2fad9,_0x46f41,_0x46d44d,_0x23af42];export default class Lt extends _0x2d509e(_0x4bde00(_0x14b8a2)){constructor(_0x1b7a34={}){(_0x1b7a34=Object['assign']({},_0x1b7a34))[_0x2552('0x9')]||(_0x1b7a34['plugins']=Lt[_0x2552('0x6')]),super(_0x1b7a34),this['ui']=new _0x53cf9c(this),this[_0x2552('0xf')]('placeholder',''),this[_0x2552('0x12')][_0x2552('0x10')]['on'](_0x2552('0x2'),()=>this[_0x2552('0x18')](),{'priority':'low'}),this['on'](_0x2552('0x17'),()=>this[_0x2552('0x18')]()),this[_0x2552('0x12')][_0x2552('0x10')]['createRoot']();}[_0x2552('0x1')](){const _0x59e627=this[_0x2552('0x11')][_0x2552('0x5')]('initialData')||'';return this[_0x2552('0x8')]()[_0x2552('0xa')](()=>this['ui'][_0x2552('0x7')]())[_0x2552('0xa')](()=>this['data'][_0x2552('0x7')](_0x59e627))['then'](()=>this[_0x2552('0x16')](_0x2552('0x1a')));}[_0x2552('0xe')](){return super[_0x2552('0xe')]()[_0x2552('0xa')](()=>this['ui'][_0x2552('0xe')]());}[_0x2552('0x0')](){this[_0x2552('0x12')][_0x2552('0x2')](_0x38dea7=>{const _0x228697=this['model'][_0x2552('0x10')][_0x2552('0x13')](),_0x31d172=_0x228697&&_0x228697[_0x2552('0xb')](_0x228697['childCount']-0x1);_0x38dea7[_0x2552('0x14')](_0x31d172,_0x2552('0xd')),this[_0x2552('0x4')][_0x2552('0x19')][_0x2552('0x0')]();});}[_0x2552('0x18')](){const _0x5f4576=this[_0x2552('0x4')][_0x2552('0x19')],_0xe9b5d7=_0x5f4576[_0x2552('0x10')][_0x2552('0x13')](),_0x1d1d19=_0xe9b5d7[_0x2552('0xb')](0x0);_0xe9b5d7['childCount']>0x1||!_0x1d1d19||'p'!=_0x1d1d19[_0x2552('0x15')]?this[_0x2552('0xc')]&&this['placeholderElement']['placeholder']&&(_0x259192(_0x5f4576,this[_0x2552('0xc')]),this['placeholderElement']=void 0x0):(this['placeholder']&&(_0x1d1d19[_0x2552('0x3')]=this[_0x2552('0x3')]),_0xa71bb3({'view':_0x5f4576,'element':_0x1d1d19,'keepOnFocus':!0x0}),this[_0x2552('0xc')]=_0x1d1d19);}}Lt['defaultPlugins']=Kt;
23
+ const _0x4b06=['end','create','fire','focus','config','createRoot','data','view','placeholderElement','destroy','getRoot','document','ready','assign','model','_updatePlaceholder','placeholder','set','defaultPlugins','init','change','setSelection','getChild','then','get','initialData','plugins','childCount'];(function(_0x2c3cbb,_0x4b061c){const _0x3af30a=function(_0xa8d20e){while(--_0xa8d20e){_0x2c3cbb['push'](_0x2c3cbb['shift']());}};_0x3af30a(++_0x4b061c);}(_0x4b06,0x11d));const _0x3af3=function(_0x2c3cbb,_0x4b061c){_0x2c3cbb=_0x2c3cbb-0x0;let _0x3af30a=_0x4b06[_0x2c3cbb];return _0x3af30a;};import{Editor as _0xead9f1,DataApiMixin as _0xb333e1}from'ckeditor5/src/core';import _0x1ea2e8 from'./commenteditorui';import{ObservableMixin as _0x796672}from'ckeditor5/src/utils';import{enablePlaceholder as _0x47eb6,disablePlaceholder as _0x14216e}from'ckeditor5/src/engine';import{Clipboard as _0xcb35d7}from'ckeditor5/src/clipboard';import{Enter as _0x2a9389,ShiftEnter as _0x208202}from'ckeditor5/src/enter';import{SelectAll as _0xe82e4b}from'ckeditor5/src/select-all';import{Typing as _0x3d1fc6}from'ckeditor5/src/typing';import{Undo as _0x455081}from'ckeditor5/src/undo';import{Paragraph as _0x40a097}from'ckeditor5/src/paragraph';const Mt=[_0xcb35d7,_0x2a9389,_0x208202,_0xe82e4b,_0x3d1fc6,_0x455081,_0x40a097];export default class Nt extends _0x796672(_0xb333e1(_0xead9f1)){constructor(_0x402aca={}){(_0x402aca=Object[_0x3af3('0x8')]({},_0x402aca))['plugins']||(_0x402aca[_0x3af3('0x15')]=Nt[_0x3af3('0xd')]),super(_0x402aca),this['ui']=new _0x1ea2e8(this),this[_0x3af3('0xc')](_0x3af3('0xb'),''),this[_0x3af3('0x9')][_0x3af3('0x6')]['on'](_0x3af3('0xf'),()=>this[_0x3af3('0xa')](),{'priority':'low'}),this['on']('change:placeholder',()=>this[_0x3af3('0xa')]()),this[_0x3af3('0x9')]['document'][_0x3af3('0x0')]();}[_0x3af3('0x18')](){const _0x44432a=this[_0x3af3('0x1b')][_0x3af3('0x13')](_0x3af3('0x14'))||'';return this['initPlugins']()[_0x3af3('0x12')](()=>this['ui'][_0x3af3('0xe')]())[_0x3af3('0x12')](()=>this[_0x3af3('0x1')][_0x3af3('0xe')](_0x44432a))[_0x3af3('0x12')](()=>this[_0x3af3('0x19')](_0x3af3('0x7')));}[_0x3af3('0x4')](){return super['destroy']()[_0x3af3('0x12')](()=>this['ui'][_0x3af3('0x4')]());}['focus'](){this[_0x3af3('0x9')][_0x3af3('0xf')](_0x332c26=>{const _0x276258=this[_0x3af3('0x9')][_0x3af3('0x6')][_0x3af3('0x5')](),_0x5c74c4=_0x276258&&_0x276258['getChild'](_0x276258[_0x3af3('0x16')]-0x1);_0x332c26[_0x3af3('0x10')](_0x5c74c4,_0x3af3('0x17')),this['editing'][_0x3af3('0x2')][_0x3af3('0x1a')]();});}[_0x3af3('0xa')](){const _0x5cdae9=this['editing'][_0x3af3('0x2')],_0x263843=_0x5cdae9['document'][_0x3af3('0x5')](),_0x3d6d7d=_0x263843[_0x3af3('0x11')](0x0);_0x263843['childCount']>0x1||!_0x3d6d7d||'p'!=_0x3d6d7d['name']?this['placeholderElement']&&this['placeholderElement'][_0x3af3('0xb')]&&(_0x14216e(_0x5cdae9,this[_0x3af3('0x3')]),this['placeholderElement']=void 0x0):(this[_0x3af3('0xb')]&&(_0x3d6d7d[_0x3af3('0xb')]=this[_0x3af3('0xb')]),_0x47eb6({'view':_0x5cdae9,'element':_0x3d6d7d,'keepOnFocus':!0x0}),this[_0x3af3('0x3')]=_0x3d6d7d);}}Nt['defaultPlugins']=Mt;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41e4=['editing','editor','name','setEditableElement','getRoot','bind','attachDomRoot','element','locale','isFocused','document','destroy','view','rootName','editable','render','init','focusTracker','ready'];(function(_0x1a6951,_0x41e42f){const _0x14d0fb=function(_0x2d64b1){while(--_0x2d64b1){_0x1a6951['push'](_0x1a6951['shift']());}};_0x14d0fb(++_0x41e42f);}(_0x41e4,0xd3));const _0x14d0=function(_0x1a6951,_0x41e42f){_0x1a6951=_0x1a6951-0x0;let _0x14d0fb=_0x41e4[_0x1a6951];return _0x14d0fb;};import{EditorUI as _0x2f9d1a}from'ckeditor5/src/ui';import _0x5821f7 from'./commenteditoruiview';export default class jt extends _0x2f9d1a{constructor(_0x4393be){super(_0x4393be),this[_0x14d0('0xa')]=new _0x5821f7(_0x4393be[_0x14d0('0x6')],_0x4393be['editing'][_0x14d0('0xa')]);}get[_0x14d0('0x5')](){return this[_0x14d0('0xa')]['element'];}[_0x14d0('0xe')](){const _0x4c174e=this[_0x14d0('0x12')][_0x14d0('0x11')]['view'],_0x5a8e11=this[_0x14d0('0xa')][_0x14d0('0xc')],_0x9a0424=_0x4c174e[_0x14d0('0x8')][_0x14d0('0x2')]();_0x5a8e11['name']=_0x9a0424[_0x14d0('0xb')],this[_0x14d0('0xa')][_0x14d0('0xd')]();const _0x2b0bcc=_0x5a8e11[_0x14d0('0x5')];this[_0x14d0('0x1')](_0x5a8e11[_0x14d0('0x0')],_0x2b0bcc),this[_0x14d0('0xa')]['editable'][_0x14d0('0x3')](_0x14d0('0x7'))['to'](this[_0x14d0('0xf')]),_0x4c174e[_0x14d0('0x4')](_0x2b0bcc),this['fire'](_0x14d0('0x10'));}[_0x14d0('0x9')](){super['destroy'](),this['view'][_0x14d0('0x9')]();}}
23
+ const _0x4635=['getRoot','view','destroy','rootName','document','element','init','isFocused','bind','name','editable','editing'];(function(_0x4e7667,_0x463502){const _0x5d4fbc=function(_0x41a0b6){while(--_0x41a0b6){_0x4e7667['push'](_0x4e7667['shift']());}};_0x5d4fbc(++_0x463502);}(_0x4635,0x1ad));const _0x5d4f=function(_0x4e7667,_0x463502){_0x4e7667=_0x4e7667-0x0;let _0x5d4fbc=_0x4635[_0x4e7667];return _0x5d4fbc;};import{EditorUI as _0x23b713}from'ckeditor5/src/ui';import _0x54d11f from'./commenteditoruiview';export default class Ft extends _0x23b713{constructor(_0x404f0a){super(_0x404f0a),this[_0x5d4f('0x4')]=new _0x54d11f(_0x404f0a['locale'],_0x404f0a[_0x5d4f('0x2')]['view']);}get[_0x5d4f('0x8')](){return this[_0x5d4f('0x4')]['element'];}[_0x5d4f('0x9')](){const _0x743be5=this['editor'][_0x5d4f('0x2')]['view'],_0x2326ca=this[_0x5d4f('0x4')][_0x5d4f('0x1')],_0x540aac=_0x743be5[_0x5d4f('0x7')][_0x5d4f('0x3')]();_0x2326ca[_0x5d4f('0x0')]=_0x540aac[_0x5d4f('0x6')],this[_0x5d4f('0x4')]['render']();const _0x509fe3=_0x2326ca[_0x5d4f('0x8')];this['setEditableElement'](_0x2326ca[_0x5d4f('0x0')],_0x509fe3),this[_0x5d4f('0x4')][_0x5d4f('0x1')][_0x5d4f('0xb')](_0x5d4f('0xa'))['to'](this['focusTracker']),_0x743be5['attachDomRoot'](_0x509fe3),this['fire']('ready');}[_0x5d4f('0x5')](){super['destroy'](),this[_0x5d4f('0x4')]['destroy']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x36e9=['add','ck-editor__main','ck-editor__aria-label_','ck-voice-label','ck-rounded-corners','main','element','createCollection','setTemplate','presentation','cke-editor__aria-label_','render','div','text','editable','uiLanguageDirection','ck-editor','comment'];(function(_0x49ca83,_0x36e917){const _0x1c4d63=function(_0x3e8162){while(--_0x3e8162){_0x49ca83['push'](_0x49ca83['shift']());}};_0x1c4d63(++_0x36e917);}(_0x36e9,0x19a));const _0x1c4d=function(_0x49ca83,_0x36e917){_0x49ca83=_0x49ca83-0x0;let _0x1c4d63=_0x36e9[_0x49ca83];return _0x1c4d63;};import{InlineEditableUIView as _0x576bd3,EditorUIView as _0x15b8fe,LabelView as _0x5f035e}from'ckeditor5/src/ui';import{uid as _0x52c215}from'ckeditor5/src/utils';import{getTranslation as _0x5ecf28}from'../../../utils/common-translations';export default class Nt extends _0x15b8fe{constructor(_0x3e1f6b,_0x15a21d){super(_0x3e1f6b);const _0x2c4bbc=_0x52c215();this[_0x1c4d('0x9')]=this[_0x1c4d('0xb')](),this[_0x1c4d('0x0')]=new _0x576bd3(_0x3e1f6b,_0x15a21d),this['_voiceLabelView']=this['_createVoiceLabel'](_0x2c4bbc,_0x3e1f6b),this[_0x1c4d('0xc')]({'tag':_0x1c4d('0x10'),'attributes':{'class':['ck-reset',_0x1c4d('0x2'),_0x1c4d('0x8'),'ck-comment__input'],'role':_0x1c4d('0x3'),'dir':_0x3e1f6b[_0x1c4d('0x1')],'lang':_0x3e1f6b['uiLanguage'],'aria-labelledby':_0x1c4d('0xe')+_0x2c4bbc},'children':[this['_voiceLabelView'],{'tag':_0x1c4d('0x10'),'attributes':{'class':_0x1c4d('0x5'),'role':_0x1c4d('0xd')},'children':this[_0x1c4d('0x9')]}]});}[_0x1c4d('0xf')](){super[_0x1c4d('0xf')](),this[_0x1c4d('0x9')][_0x1c4d('0x4')](this[_0x1c4d('0x0')]);}['focus'](){this[_0x1c4d('0x0')][_0x1c4d('0xa')]['focus']();}['_createVoiceLabel'](_0x48c3fa,_0x41e71f){const _0x489101=new _0x5f035e();return _0x489101[_0x1c4d('0x11')]=_0x5ecf28(_0x41e71f,'Comment\x20editor'),_0x489101['extendTemplate']({'attributes':{'id':_0x1c4d('0x6')+_0x48c3fa,'class':_0x1c4d('0x7')}}),_0x489101;}}
23
+ const _0x5ed3=['_voiceLabelView','createCollection','setTemplate','render','ck-editor','main','_createVoiceLabel','ck-editor__aria-label_','add','Comment\x20editor','text','div','cke-editor__aria-label_','uiLanguage','ck-comment__input','focus','ck-reset','ck-editor__main','editable'];(function(_0x387b9a,_0x5ed3d7){const _0x411f0c=function(_0x2b5670){while(--_0x2b5670){_0x387b9a['push'](_0x387b9a['shift']());}};_0x411f0c(++_0x5ed3d7);}(_0x5ed3,0x151));const _0x411f=function(_0x387b9a,_0x5ed3d7){_0x387b9a=_0x387b9a-0x0;let _0x411f0c=_0x5ed3[_0x387b9a];return _0x411f0c;};import{InlineEditableUIView as _0x48586d,EditorUIView as _0x5d95b0,LabelView as _0x563212}from'ckeditor5/src/ui';import{uid as _0x5eafae}from'ckeditor5/src/utils';import{getTranslation as _0x346718}from'../../../utils/common-translations';export default class Rt extends _0x5d95b0{constructor(_0x175f7c,_0xf24439){super(_0x175f7c);const _0x549257=_0x5eafae();this['main']=this[_0x411f('0x6')](),this[_0x411f('0x4')]=new _0x48586d(_0x175f7c,_0xf24439),this[_0x411f('0x5')]=this[_0x411f('0xb')](_0x549257,_0x175f7c),this[_0x411f('0x7')]({'tag':_0x411f('0x10'),'attributes':{'class':[_0x411f('0x2'),_0x411f('0x9'),'ck-rounded-corners',_0x411f('0x0')],'role':'comment','dir':_0x175f7c['uiLanguageDirection'],'lang':_0x175f7c[_0x411f('0x12')],'aria-labelledby':_0x411f('0x11')+_0x549257},'children':[this['_voiceLabelView'],{'tag':_0x411f('0x10'),'attributes':{'class':_0x411f('0x3'),'role':'presentation'},'children':this[_0x411f('0xa')]}]});}[_0x411f('0x8')](){super[_0x411f('0x8')](),this[_0x411f('0xa')][_0x411f('0xd')](this[_0x411f('0x4')]);}[_0x411f('0x1')](){this['editable']['element'][_0x411f('0x1')]();}[_0x411f('0xb')](_0x582d56,_0x5b060b){const _0x388d88=new _0x563212();return _0x388d88[_0x411f('0xf')]=_0x346718(_0x5b060b,_0x411f('0xe')),_0x388d88['extendTemplate']({'attributes':{'id':_0x411f('0xc')+_0x582d56,'class':'ck-voice-label'}}),_0x388d88;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2b76=['removeComment','reopen','_localUser','resolveCommentThread','view','addComment','updateComment','remove','isResolved','_isAttached','submit','listenTo','resolve','destroy','reopenCommentThread','removeCommentThread','update','model'];(function(_0x317487,_0x2b76a0){var _0x968a5d=function(_0x4c7f42){while(--_0x4c7f42){_0x317487['push'](_0x317487['shift']());}};_0x968a5d(++_0x2b76a0);}(_0x2b76,0x133));var _0x968a=function(_0x317487,_0x2b76a0){_0x317487=_0x317487-0x0;var _0x968a5d=_0x2b76[_0x317487];return _0x968a5d;};import{ObservableMixin as _0x3d848b}from'ckeditor5/src/utils';export default class ct extends _0x3d848b(){constructor(_0x27a2c7,_0x53a333){super(),this[_0x968a('0x10')]=_0x27a2c7,this[_0x968a('0x10')][_0x968a('0x8')]=!0x0,this['view']=_0x53a333,this[_0x968a('0xa')](_0x53a333,'submitCommentThread',()=>this[_0x968a('0x9')]()),this[_0x968a('0xa')](_0x53a333,_0x968a('0xe'),()=>this[_0x968a('0x6')]()),this['listenTo'](_0x53a333,_0x968a('0x2'),()=>this[_0x968a('0xb')]()),this[_0x968a('0xa')](_0x53a333,_0x968a('0xd'),()=>this[_0x968a('0x0')]()),this['listenTo'](_0x53a333,_0x968a('0x4'),(_0x56e935,_0x411719)=>this[_0x968a('0x4')](_0x411719)),this[_0x968a('0xa')](_0x53a333,'updateComment',(_0x3505cd,_0x4eed28,_0x1d08c3)=>this[_0x968a('0x5')](_0x4eed28,_0x1d08c3)),this['listenTo'](_0x53a333,_0x968a('0x11'),(_0x2d77ac,_0x2d8419)=>this[_0x968a('0x11')](_0x2d8419));}[_0x968a('0x9')](){this[_0x968a('0x10')][_0x968a('0x9')]();}[_0x968a('0x6')](){this[_0x968a('0x10')][_0x968a('0x6')]();}['resolve'](){this[_0x968a('0x10')][_0x968a('0x7')]||this[_0x968a('0x10')]['resolve']();}[_0x968a('0x0')](){this[_0x968a('0x10')]['isResolved']&&this['model'][_0x968a('0x0')]();}[_0x968a('0x4')](_0x182f87){this[_0x968a('0x10')][_0x968a('0x4')]({'content':_0x182f87,'authorId':this[_0x968a('0x3')][_0x968a('0x1')]['id']});}[_0x968a('0x5')](_0x293652,_0x1f8527){this[_0x968a('0x10')]['getComment'](_0x293652)[_0x968a('0xf')]({'content':_0x1f8527});}[_0x968a('0x11')](_0x1847c2){this[_0x968a('0x10')]['getComment'](_0x1847c2)[_0x968a('0x6')]();}[_0x968a('0xc')](){this['stopListening'](),this[_0x968a('0x10')][_0x968a('0x8')]=!0x1;}}
23
+ var _0x4fc6=['removeCommentThread','removeComment','view','addComment','submitCommentThread','update','resolveCommentThread','_localUser','remove','submit','model','stopListening','isResolved','listenTo','reopen','updateComment','resolve','_isAttached','destroy'];(function(_0x56e8d4,_0x4fc682){var _0x4387d0=function(_0x2322d7){while(--_0x2322d7){_0x56e8d4['push'](_0x56e8d4['shift']());}};_0x4387d0(++_0x4fc682);}(_0x4fc6,0x1d1));var _0x4387=function(_0x56e8d4,_0x4fc682){_0x56e8d4=_0x56e8d4-0x0;var _0x4387d0=_0x4fc6[_0x56e8d4];return _0x4387d0;};import{ObservableMixin as _0x469a2d}from'ckeditor5/src/utils';export default class ut extends _0x469a2d(){constructor(_0x50fb7b,_0x1ed295){super(),this[_0x4387('0x1')]=_0x50fb7b,this[_0x4387('0x1')][_0x4387('0x8')]=!0x0,this['view']=_0x1ed295,this[_0x4387('0x4')](_0x1ed295,_0x4387('0xe'),()=>this['submit']()),this['listenTo'](_0x1ed295,_0x4387('0xa'),()=>this[_0x4387('0x12')]()),this[_0x4387('0x4')](_0x1ed295,_0x4387('0x10'),()=>this['resolve']()),this['listenTo'](_0x1ed295,'reopenCommentThread',()=>this[_0x4387('0x5')]()),this[_0x4387('0x4')](_0x1ed295,'addComment',(_0x4728ea,_0x172aba)=>this['addComment'](_0x172aba)),this['listenTo'](_0x1ed295,_0x4387('0x6'),(_0x4a0908,_0x5f50e0,_0x2f6691)=>this[_0x4387('0x6')](_0x5f50e0,_0x2f6691)),this[_0x4387('0x4')](_0x1ed295,_0x4387('0xb'),(_0x9fd98d,_0x50b132)=>this[_0x4387('0xb')](_0x50b132));}[_0x4387('0x0')](){this[_0x4387('0x1')][_0x4387('0x0')]();}[_0x4387('0x12')](){this[_0x4387('0x1')]['remove']();}['resolve'](){this[_0x4387('0x1')][_0x4387('0x3')]||this['model'][_0x4387('0x7')]();}[_0x4387('0x5')](){this['model'][_0x4387('0x3')]&&this[_0x4387('0x1')]['reopen']();}[_0x4387('0xd')](_0x207368){this[_0x4387('0x1')][_0x4387('0xd')]({'content':_0x207368,'authorId':this[_0x4387('0xc')][_0x4387('0x11')]['id']});}[_0x4387('0x6')](_0x13e222,_0x17f5be){this[_0x4387('0x1')]['getComment'](_0x13e222)[_0x4387('0xf')]({'content':_0x17f5be});}[_0x4387('0xb')](_0x4c9338){this[_0x4387('0x1')]['getComment'](_0x4c9338)['remove']();}[_0x4387('0x9')](){this[_0x4387('0x2')](),this[_0x4387('0x1')]['_isAttached']=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5843=['updateComment','length','removeCommentThread','cancel','Comment','commentThreadHeaderView','submit','unlinkedAt','resolveCommentThread','_model','commentsListView','addComment','canComment','listenTo','_localUser','delegate','hasDirtyComment','locale','set','focus','commentThreadInputView','_createCommentThreadInputView','Write\x20a\x20comment...','removeComment','archivedAt','destroy','isResolvable','CommentView','submitCommentThread','change:isActive','element','isActive','value','commentInputView','editorDestroyed','editorReady','bind','reopenCommentThread','submitLabel','_config','isDirty','editorConfig','isResolved','Reply\x20to\x20reopen\x20discussion...','assign','fire','disabledSubmit','stop'];(function(_0x509fc9,_0x58431d){const _0x3f7a13=function(_0x192227){while(--_0x192227){_0x509fc9['push'](_0x509fc9['shift']());}};_0x3f7a13(++_0x58431d);}(_0x5843,0x1b7));const _0x3f7a=function(_0x509fc9,_0x58431d){_0x509fc9=_0x509fc9-0x0;let _0x3f7a13=_0x5843[_0x509fc9];return _0x3f7a13;};import{View as _0x2c87ed}from'ckeditor5/src/ui';import _0x460c38 from'./commentthreadinputview';import _0x35fc13 from'./commentslistview';import _0xb682b1 from'./commentthreadheaderview';import{getTranslation as _0x49c05a}from'../../../utils/common-translations';export default class Tt extends _0x2c87ed{constructor(_0x6e2627,_0x385c3b,_0xe54aa3,_0x5d3f25){super(_0x6e2627),this[_0x3f7a('0xb')](_0x3f7a('0x18'),!0x1),this[_0x3f7a('0xb')](_0x3f7a('0x21'),!0x1),this['_model']=_0x385c3b,this[_0x3f7a('0x7')]=_0xe54aa3,this['_config']=_0x5d3f25,this[_0x3f7a('0x2e')]=new _0xb682b1(_0x6e2627,_0x385c3b),this[_0x3f7a('0x2e')][_0x3f7a('0x8')](_0x3f7a('0x1e'))['to'](this),this[_0x3f7a('0x6')](this,_0x3f7a('0x1e'),()=>{this[_0x3f7a('0xc')]();}),this['commentsListView']=new _0x35fc13(_0x6e2627,_0x385c3b,Object[_0x3f7a('0x25')]({'CommentView':this[_0x3f7a('0x20')][_0x3f7a('0x14')]},_0x5d3f25)),this[_0x3f7a('0x3')][_0x3f7a('0x8')](_0x3f7a('0x10'))['to'](this),this[_0x3f7a('0x3')][_0x3f7a('0x8')](_0x3f7a('0x29'))['to'](this),this[_0x3f7a('0x3')]['delegate'](_0x3f7a('0x1'))['to'](this),this[_0x3f7a('0x3')]['delegate'](_0x3f7a('0x1c'))['to'](this),this['commentsListView'][_0x3f7a('0x8')]('editorDestroyed')['to'](this),this[_0x3f7a('0x3')][_0x3f7a('0x1d')](_0x3f7a('0x18'))['to'](this),this['listenTo'](this,'resolveCommentThread',()=>{this[_0x3f7a('0xc')]();}),this[_0x3f7a('0xb')](_0x3f7a('0x2a'),this[_0x3f7a('0x3')]['length']),this[_0x3f7a('0x1d')](_0x3f7a('0x2a'))['to'](this[_0x3f7a('0x3')],_0x3f7a('0x2a')),this[_0x3f7a('0xd')]=this[_0x3f7a('0xe')](),this['commentThreadInputView'][_0x3f7a('0x8')](_0x3f7a('0x1c'))['to'](this),this[_0x3f7a('0xd')][_0x3f7a('0x8')](_0x3f7a('0x1b'))['to'](this),this['on'](_0x3f7a('0x10'),()=>this[_0x3f7a('0xc')]()),this[_0x3f7a('0x1d')]('isDirty')['to'](this[_0x3f7a('0x3')],_0x3f7a('0x9'),this['commentThreadInputView'][_0x3f7a('0x1a')],_0x3f7a('0x19'),(_0x5ee6c1,_0x85601f)=>_0x5ee6c1||!!_0x85601f),this[_0x3f7a('0x1d')]('isUnlinked')['to'](_0x385c3b,_0x3f7a('0x0'),_0x227cb5=>!!_0x227cb5);}[_0x3f7a('0xc')](){this[_0x3f7a('0x17')][_0x3f7a('0xc')]();}async[_0x3f7a('0x12')](){this[_0x3f7a('0x21')]=!0x1,this[_0x3f7a('0x3')]['destroy'](),await this[_0x3f7a('0xd')]['destroy'](),super[_0x3f7a('0x12')]();}[_0x3f7a('0xe')](){const _0x1a9ca3=new _0x460c38(this[_0x3f7a('0xa')],this[_0x3f7a('0x7')],this[_0x3f7a('0x20')][_0x3f7a('0x22')]),_0x3057c7=_0x1a9ca3['commentInputView'];return _0x1a9ca3[_0x3f7a('0x1d')]('showInput')['to'](this,_0x3f7a('0x18'),this['_model'],'isReadOnly',this[_0x3f7a('0x2')],_0x3f7a('0x5'),this[_0x3f7a('0x2')],_0x3f7a('0x11'),_0x3057c7,_0x3f7a('0x19'),(_0x30a0b7,_0x43f261,_0x2167fa,_0x1e6d8e,_0x5bab91)=>!!_0x5bab91||!!_0x1e6d8e&&_0x2167fa&&!_0x43f261||_0x30a0b7&&_0x2167fa&&!_0x43f261),_0x3057c7[_0x3f7a('0x1d')]('placeholder')['to'](this,'length',this[_0x3f7a('0x2')],'isResolvable',this[_0x3f7a('0x2')],_0x3f7a('0x23'),(_0xf65f86,_0x2cf8b0,_0x5b7ffc)=>{let _0x44e6a7;return _0x44e6a7=_0x5b7ffc&&_0x2cf8b0?_0x3f7a('0x24'):_0xf65f86?'Reply...':_0x3f7a('0xf'),_0x49c05a(this[_0x3f7a('0xa')],_0x44e6a7);}),_0x3057c7[_0x3f7a('0x1d')](_0x3f7a('0x1f'))['to'](this,_0x3f7a('0x2a'),_0x54fa37=>_0x49c05a(this[_0x3f7a('0xa')],_0x54fa37?'Reply':_0x3f7a('0x2d'))),_0x3057c7['on'](_0x3f7a('0x2f'),(_0x26f225,_0x3712b7)=>{this['fire'](_0x3f7a('0x4'),_0x3712b7),this[_0x3f7a('0x2')]['isResolved']&&this['_model'][_0x3f7a('0x13')]&&this[_0x3f7a('0x26')](_0x3f7a('0x1e'),this[_0x3f7a('0x2')]['id']),this[_0x3f7a('0x2')]['isSubmitted']||this[_0x3f7a('0x26')](_0x3f7a('0x15'));}),_0x3057c7['on'](_0x3f7a('0x2c'),()=>{this[_0x3f7a('0xc')]();}),_0x3057c7[_0x3f7a('0x1d')](_0x3f7a('0x27'))['to'](this[_0x3f7a('0x2')],'isReadOnly'),_0x3057c7['on'](_0x3f7a('0x2c'),_0x3c80b7=>{0x0==this[_0x3f7a('0x2a')]&&(this[_0x3f7a('0x26')](_0x3f7a('0x2b')),_0x3c80b7[_0x3f7a('0x28')]());}),this['on'](_0x3f7a('0x16'),(_0x51c36,_0x5ceb16,_0xe5e68e)=>{_0xe5e68e||this[_0x3f7a('0x2a')]||_0x3057c7[_0x3f7a('0x19')]||this[_0x3f7a('0x26')](_0x3f7a('0x2b'));}),_0x1a9ca3;}}
23
+ const _0x1929=['_model','_createCommentThreadInputView','bind','submitLabel','canComment','Reply\x20to\x20reopen\x20discussion...','editorReady','updateComment','cancel','_config','submit','_localUser','stop','locale','removeCommentThread','Write\x20a\x20comment...','archivedAt','fire','focus','isDirty','hasDirtyComment','commentThreadInputView','value','delegate','Reply...','Reply','removeComment','placeholder','commentThreadHeaderView','showInput','isUnlinked','assign','length','set','isResolvable','isResolved','disabledSubmit','CommentView','isActive','commentsListView','reopenCommentThread','editorDestroyed','resolveCommentThread','addComment','listenTo','commentInputView','editorConfig','isSubmitted','unlinkedAt','destroy'];(function(_0x584abd,_0x192915){const _0x4c5a5d=function(_0x584530){while(--_0x584530){_0x584abd['push'](_0x584abd['shift']());}};_0x4c5a5d(++_0x192915);}(_0x1929,0x1d7));const _0x4c5a=function(_0x584abd,_0x192915){_0x584abd=_0x584abd-0x0;let _0x4c5a5d=_0x1929[_0x584abd];return _0x4c5a5d;};import{View as _0x514cd5}from'ckeditor5/src/ui';import _0xf3e2c8 from'./commentthreadinputview';import _0x4b1551 from'./commentslistview';import _0x4fcba9 from'./commentthreadheaderview';import{getTranslation as _0x5caf4b}from'../../../utils/common-translations';export default class Ut extends _0x514cd5{constructor(_0x448a23,_0xf1987d,_0x230db1,_0x260c3d){super(_0x448a23),this[_0x4c5a('0xc')]('isActive',!0x1),this[_0x4c5a('0xc')](_0x4c5a('0x30'),!0x1),this[_0x4c5a('0x1d')]=_0xf1987d,this['_localUser']=_0x230db1,this[_0x4c5a('0x26')]=_0x260c3d,this[_0x4c5a('0x7')]=new _0x4fcba9(_0x448a23,_0xf1987d),this[_0x4c5a('0x7')][_0x4c5a('0x2')](_0x4c5a('0x13'))['to'](this),this[_0x4c5a('0x17')](this,_0x4c5a('0x13'),()=>{this['focus']();}),this[_0x4c5a('0x12')]=new _0x4b1551(_0x448a23,_0xf1987d,Object[_0x4c5a('0xa')]({'CommentView':this[_0x4c5a('0x26')][_0x4c5a('0x10')]},_0x260c3d)),this['commentsListView']['delegate'](_0x4c5a('0x5'))['to'](this),this[_0x4c5a('0x12')]['delegate'](_0x4c5a('0x24'))['to'](this),this[_0x4c5a('0x12')][_0x4c5a('0x2')](_0x4c5a('0x15'))['to'](this),this[_0x4c5a('0x12')][_0x4c5a('0x2')](_0x4c5a('0x23'))['to'](this),this[_0x4c5a('0x12')]['delegate'](_0x4c5a('0x14'))['to'](this),this['commentsListView']['bind']('isActive')['to'](this),this[_0x4c5a('0x17')](this,_0x4c5a('0x15'),()=>{this[_0x4c5a('0x2f')]();}),this[_0x4c5a('0xc')](_0x4c5a('0xb'),this[_0x4c5a('0x12')][_0x4c5a('0xb')]),this[_0x4c5a('0x1f')](_0x4c5a('0xb'))['to'](this['commentsListView'],_0x4c5a('0xb')),this[_0x4c5a('0x0')]=this[_0x4c5a('0x1e')](),this['commentThreadInputView'][_0x4c5a('0x2')](_0x4c5a('0x23'))['to'](this),this[_0x4c5a('0x0')][_0x4c5a('0x2')]('editorDestroyed')['to'](this),this['on'](_0x4c5a('0x5'),()=>this[_0x4c5a('0x2f')]()),this['bind']('isDirty')['to'](this[_0x4c5a('0x12')],_0x4c5a('0x31'),this['commentThreadInputView'][_0x4c5a('0x18')],'value',(_0x6faf2a,_0x160c72)=>_0x6faf2a||!!_0x160c72),this[_0x4c5a('0x1f')](_0x4c5a('0x9'))['to'](_0xf1987d,_0x4c5a('0x1b'),_0x215533=>!!_0x215533);}[_0x4c5a('0x2f')](){this['element']['focus']();}async[_0x4c5a('0x1c')](){this[_0x4c5a('0x30')]=!0x1,this[_0x4c5a('0x12')]['destroy'](),await this[_0x4c5a('0x0')][_0x4c5a('0x1c')](),super[_0x4c5a('0x1c')]();}['_createCommentThreadInputView'](){const _0x1ed41d=new _0xf3e2c8(this[_0x4c5a('0x2a')],this[_0x4c5a('0x28')],this[_0x4c5a('0x26')][_0x4c5a('0x19')]),_0x55f3eb=_0x1ed41d[_0x4c5a('0x18')];return _0x1ed41d['bind'](_0x4c5a('0x8'))['to'](this,_0x4c5a('0x11'),this[_0x4c5a('0x1d')],'isReadOnly',this[_0x4c5a('0x1d')],_0x4c5a('0x21'),this[_0x4c5a('0x1d')],_0x4c5a('0x2d'),_0x55f3eb,'value',(_0x203d4d,_0x5f1f1c,_0x1ac80e,_0x5c4dd2,_0x4e2250)=>!!_0x4e2250||!!_0x5c4dd2&&_0x1ac80e&&!_0x5f1f1c||_0x203d4d&&_0x1ac80e&&!_0x5f1f1c),_0x55f3eb[_0x4c5a('0x1f')](_0x4c5a('0x6'))['to'](this,_0x4c5a('0xb'),this[_0x4c5a('0x1d')],_0x4c5a('0xd'),this['_model'],_0x4c5a('0xe'),(_0x8a956c,_0x3a6091,_0x80438e)=>{let _0x1b9535;return _0x1b9535=_0x80438e&&_0x3a6091?_0x4c5a('0x22'):_0x8a956c?_0x4c5a('0x3'):_0x4c5a('0x2c'),_0x5caf4b(this[_0x4c5a('0x2a')],_0x1b9535);}),_0x55f3eb[_0x4c5a('0x1f')](_0x4c5a('0x20'))['to'](this,'length',_0x2692eb=>_0x5caf4b(this[_0x4c5a('0x2a')],_0x2692eb?_0x4c5a('0x4'):'Comment')),_0x55f3eb['on'](_0x4c5a('0x27'),(_0x4ede1a,_0x37f4d7)=>{this['fire'](_0x4c5a('0x16'),_0x37f4d7),this['_model']['isResolved']&&this[_0x4c5a('0x1d')][_0x4c5a('0xd')]&&this['fire'](_0x4c5a('0x13'),this[_0x4c5a('0x1d')]['id']),this[_0x4c5a('0x1d')][_0x4c5a('0x1a')]||this[_0x4c5a('0x2e')]('submitCommentThread');}),_0x55f3eb['on'](_0x4c5a('0x25'),()=>{this[_0x4c5a('0x2f')]();}),_0x55f3eb[_0x4c5a('0x1f')](_0x4c5a('0xf'))['to'](this[_0x4c5a('0x1d')],'isReadOnly'),_0x55f3eb['on'](_0x4c5a('0x25'),_0x154d04=>{0x0==this[_0x4c5a('0xb')]&&(this[_0x4c5a('0x2e')](_0x4c5a('0x2b')),_0x154d04[_0x4c5a('0x29')]());}),this['on']('change:isActive',(_0x2ecc0f,_0x132ec0,_0x4cbad4)=>{_0x4cbad4||this[_0x4c5a('0xb')]||_0x55f3eb[_0x4c5a('0x1')]||this[_0x4c5a('0x2e')](_0x4c5a('0x2b'));}),_0x1ed41d;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x47e1=['destroy','add','collapse','createEditor','editorDestroyed','expand','isEditMode','editorReady','set','visibleView','createCollection','delegate','editorConfig','disabledSubmit','remove','isCollapsed','locale','submit','content','cancel','focus','bind','isSystemComment','value','_model','updateComment','_createCommentInputView','switchToDisplayMode','initialData','_createCommentContentView','element','once','_config'];(function(_0x14ef42,_0x47e110){const _0xbd4540=function(_0x9e0d22){while(--_0x9e0d22){_0x14ef42['push'](_0x14ef42['shift']());}};_0xbd4540(++_0x47e110);}(_0x47e1,0x69));const _0xbd45=function(_0x14ef42,_0x47e110){_0x14ef42=_0x14ef42-0x0;let _0xbd4540=_0x47e1[_0x14ef42];return _0xbd4540;};import{View as _0x3f8689}from'ckeditor5/src/ui';import{trimHtml as _0x3c0750}from'ckeditor5-collaboration/src/collaboration-core';import _0x3ddc5b from'./commentcontentview';import _0x3ae85e from'./commentinputview';import{getTranslation as _0x4c1618}from'../../../utils/common-translations';export default class Yt extends _0x3f8689{constructor(_0x2277f7,_0x220f6b,_0x4c5aeb){super(_0x2277f7),this[_0xbd45('0x12')]=_0x220f6b,this[_0xbd45('0x1a')]=_0x4c5aeb,this[_0xbd45('0x10')]=!!this[_0xbd45('0x1a')][_0xbd45('0x10')],this[_0xbd45('0x2')](_0xbd45('0x0'),!0x1),this[_0xbd45('0x2')](_0xbd45('0x9'),!0x0),this[_0xbd45('0x3')]=this[_0xbd45('0x4')](),this[_0xbd45('0x3')][_0xbd45('0x1c')](this[_0xbd45('0x17')]());}[_0xbd45('0x20')](){this[_0xbd45('0x9')]=!0x1;}[_0xbd45('0x1d')](){this['isEditMode']||(this[_0xbd45('0x9')]=!0x0);}[_0xbd45('0xe')](){this[_0xbd45('0x18')]['focus']();}async[_0xbd45('0x1b')](){await this[_0xbd45('0x3')]['get'](0x0)['destroy'](),super[_0xbd45('0x1b')]();}['switchToEditMode'](){this[_0xbd45('0x0')]||(this[_0xbd45('0x0')]=!0x0,this['visibleView']['remove'](0x0)[_0xbd45('0x1b')](),this['visibleView'][_0xbd45('0x1c')](this['_createCommentInputView']()));}[_0xbd45('0x15')](){this['isEditMode']&&(this[_0xbd45('0x0')]=!0x1,this[_0xbd45('0x3')][_0xbd45('0x8')](0x0)['destroy'](),this[_0xbd45('0x3')][_0xbd45('0x1c')](this[_0xbd45('0x17')]()));}[_0xbd45('0x17')](){const _0x568bfd=new _0x3ddc5b(this[_0xbd45('0xa')]);return _0x568bfd[_0xbd45('0xf')](_0xbd45('0xc'))['to'](this[_0xbd45('0x12')],_0xbd45('0xc'),this,_0xbd45('0x9'),(_0x428d23,_0x500d66)=>_0x500d66?_0x3c0750(_0x428d23,{'limit':this[_0xbd45('0x1a')]['maxCommentCharsWhenCollapsed']}):_0x428d23),_0x568bfd;}[_0xbd45('0x14')](){this[_0xbd45('0x1a')]['editorConfig']||(this[_0xbd45('0x1a')]['editorConfig']={}),this[_0xbd45('0x1a')][_0xbd45('0x6')][_0xbd45('0x16')]=this[_0xbd45('0x12')][_0xbd45('0xc')];const _0x4b8ebb=new _0x3ae85e(this[_0xbd45('0xa')],this[_0xbd45('0x1a')][_0xbd45('0x6')]);return _0x4b8ebb[_0xbd45('0x11')]=this['_model'][_0xbd45('0xc')],_0x4b8ebb[_0xbd45('0xf')](_0xbd45('0x7'))['to'](this[_0xbd45('0x12')],'isReadOnly'),_0x4b8ebb['submitLabel']=_0x4c1618(this[_0xbd45('0xa')],'Save'),_0x4b8ebb['on'](_0xbd45('0xb'),(_0x371cab,_0x543f47)=>{this['fire'](_0xbd45('0x13'),this[_0xbd45('0x12')]['id'],_0x543f47),this['switchToDisplayMode'](),this[_0xbd45('0xe')]();}),_0x4b8ebb['on'](_0xbd45('0xd'),()=>{this[_0xbd45('0x15')](),this[_0xbd45('0xe')]();}),_0x4b8ebb[_0xbd45('0x19')](_0xbd45('0x1'),()=>{_0x4b8ebb[_0xbd45('0xe')]();}),_0x4b8ebb[_0xbd45('0x1e')](),_0x4b8ebb[_0xbd45('0x5')](_0xbd45('0x1'))['to'](this),_0x4b8ebb[_0xbd45('0x5')](_0xbd45('0x1f'))['to'](this),_0x4b8ebb;}}
23
+ const _0x38f8=['switchToDisplayMode','set','remove','locale','createCollection','_createCommentContentView','content','fire','editorReady','value','editorDestroyed','initialData','isEditMode','maxCommentCharsWhenCollapsed','submitLabel','_createCommentInputView','_config','bind','isCollapsed','collapse','submit','isReadOnly','focus','isSystemComment','editorConfig','add','disabledSubmit','createEditor','element','updateComment','_model','Save','visibleView','destroy'];(function(_0x5941ac,_0x38f862){const _0x11e67b=function(_0x492ed1){while(--_0x492ed1){_0x5941ac['push'](_0x5941ac['shift']());}};_0x11e67b(++_0x38f862);}(_0x38f8,0x7b));const _0x11e6=function(_0x5941ac,_0x38f862){_0x5941ac=_0x5941ac-0x0;let _0x11e67b=_0x38f8[_0x5941ac];return _0x11e67b;};import{View as _0x5d2177}from'ckeditor5/src/ui';import{trimHtml as _0x6f80b2}from'ckeditor5-collaboration/src/collaboration-core';import _0x4b691e from'./commentcontentview';import _0x3f8406 from'./commentinputview';import{getTranslation as _0x54b024}from'../../../utils/common-translations';export default class ti extends _0x5d2177{constructor(_0x396065,_0x47b68b,_0x1dd27c){super(_0x396065),this[_0x11e6('0x9')]=_0x47b68b,this[_0x11e6('0x1d')]=_0x1dd27c,this[_0x11e6('0x2')]=!!this['_config']['isSystemComment'],this[_0x11e6('0xe')]('isEditMode',!0x1),this[_0x11e6('0xe')](_0x11e6('0x1f'),!0x0),this[_0x11e6('0xb')]=this[_0x11e6('0x11')](),this[_0x11e6('0xb')][_0x11e6('0x4')](this[_0x11e6('0x12')]());}['expand'](){this[_0x11e6('0x1f')]=!0x1;}[_0x11e6('0x20')](){this[_0x11e6('0x19')]||(this[_0x11e6('0x1f')]=!0x0);}[_0x11e6('0x1')](){this[_0x11e6('0x7')]['focus']();}async[_0x11e6('0xc')](){await this['visibleView']['get'](0x0)[_0x11e6('0xc')](),super['destroy']();}['switchToEditMode'](){this[_0x11e6('0x19')]||(this[_0x11e6('0x19')]=!0x0,this['visibleView'][_0x11e6('0xf')](0x0)[_0x11e6('0xc')](),this[_0x11e6('0xb')][_0x11e6('0x4')](this[_0x11e6('0x1c')]()));}[_0x11e6('0xd')](){this[_0x11e6('0x19')]&&(this[_0x11e6('0x19')]=!0x1,this[_0x11e6('0xb')][_0x11e6('0xf')](0x0)['destroy'](),this['visibleView'][_0x11e6('0x4')](this['_createCommentContentView']()));}[_0x11e6('0x12')](){const _0x17593a=new _0x4b691e(this[_0x11e6('0x10')]);return _0x17593a['bind'](_0x11e6('0x13'))['to'](this[_0x11e6('0x9')],_0x11e6('0x13'),this,_0x11e6('0x1f'),(_0x57d0dc,_0x4b460b)=>_0x4b460b?_0x6f80b2(_0x57d0dc,{'limit':this[_0x11e6('0x1d')][_0x11e6('0x1a')]}):_0x57d0dc),_0x17593a;}['_createCommentInputView'](){this[_0x11e6('0x1d')]['editorConfig']||(this[_0x11e6('0x1d')][_0x11e6('0x3')]={}),this['_config'][_0x11e6('0x3')][_0x11e6('0x18')]=this[_0x11e6('0x9')]['content'];const _0x1c602e=new _0x3f8406(this['locale'],this[_0x11e6('0x1d')][_0x11e6('0x3')]);return _0x1c602e[_0x11e6('0x16')]=this['_model']['content'],_0x1c602e[_0x11e6('0x1e')](_0x11e6('0x5'))['to'](this[_0x11e6('0x9')],_0x11e6('0x0')),_0x1c602e[_0x11e6('0x1b')]=_0x54b024(this['locale'],_0x11e6('0xa')),_0x1c602e['on'](_0x11e6('0x21'),(_0x87032e,_0x137efa)=>{this[_0x11e6('0x14')](_0x11e6('0x8'),this[_0x11e6('0x9')]['id'],_0x137efa),this[_0x11e6('0xd')](),this[_0x11e6('0x1')]();}),_0x1c602e['on']('cancel',()=>{this[_0x11e6('0xd')](),this[_0x11e6('0x1')]();}),_0x1c602e['once'](_0x11e6('0x15'),()=>{_0x1c602e[_0x11e6('0x1')]();}),_0x1c602e[_0x11e6('0x6')](),_0x1c602e['delegate'](_0x11e6('0x15'))['to'](this),_0x1c602e['delegate'](_0x11e6('0x17'))['to'](this),_0x1c602e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x44db=['setTemplate','NUMBER_OF_COMMENTS','count','bindTemplate','ck-thread__comment-count'];(function(_0x463c56,_0x44db00){const _0x56506c=function(_0x5345e8){while(--_0x5345e8){_0x463c56['push'](_0x463c56['shift']());}};_0x56506c(++_0x44db00);}(_0x44db,0x18b));const _0x5650=function(_0x463c56,_0x44db00){_0x463c56=_0x463c56-0x0;let _0x56506c=_0x44db[_0x463c56];return _0x56506c;};import{View as _0x1fe511}from'ckeditor5/src/ui';import{getTranslation as _0x41ef7f}from'../../../utils/common-translations';export default class Zt extends _0x1fe511{constructor(_0x438558){super(_0x438558);const _0x244229=this[_0x5650('0x3')];this['set'](_0x5650('0x2'),void 0x0),this[_0x5650('0x0')]({'tag':'li','attributes':{'class':_0x5650('0x4')},'children':[{'text':_0x244229['to']('count',_0x84f158=>_0x41ef7f(_0x438558,_0x5650('0x1'),_0x84f158))}]});}}
23
+ const _0x36ac=['setTemplate','set','ck-thread__comment-count','NUMBER_OF_COMMENTS','count'];(function(_0xd4aaea,_0x36ac97){const _0x30bf1a=function(_0x3442b9){while(--_0x3442b9){_0xd4aaea['push'](_0xd4aaea['shift']());}};_0x30bf1a(++_0x36ac97);}(_0x36ac,0x9b));const _0x30bf=function(_0xd4aaea,_0x36ac97){_0xd4aaea=_0xd4aaea-0x0;let _0x30bf1a=_0x36ac[_0xd4aaea];return _0x30bf1a;};import{View as _0x31e26a}from'ckeditor5/src/ui';import{getTranslation as _0x582d4c}from'../../../utils/common-translations';export default class to extends _0x31e26a{constructor(_0x4e4d12){super(_0x4e4d12);const _0x1d00ea=this['bindTemplate'];this[_0x30bf('0x1')](_0x30bf('0x4'),void 0x0),this[_0x30bf('0x0')]({'tag':'li','attributes':{'class':_0x30bf('0x2')},'children':[{'text':_0x1d00ea['to'](_0x30bf('0x4'),_0x4a73aa=>_0x582d4c(_0x4e4d12,_0x30bf('0x3'),_0x4a73aa))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x12d2=['element','render','ck-annotation__content','change:content','div','content','ck-comment__content','set','setTemplate'];(function(_0x47bbcb,_0x12d257){var _0x5bb4b4=function(_0x5032fd){while(--_0x5032fd){_0x47bbcb['push'](_0x47bbcb['shift']());}};_0x5bb4b4(++_0x12d257);}(_0x12d2,0x191));var _0x5bb4=function(_0x47bbcb,_0x12d257){_0x47bbcb=_0x47bbcb-0x0;var _0x5bb4b4=_0x12d2[_0x47bbcb];return _0x5bb4b4;};import{View as _0x32c37c}from'ckeditor5/src/ui';export default class Ut extends _0x32c37c{constructor(_0x1e662f){super(_0x1e662f),this[_0x5bb4('0x2')](_0x5bb4('0x0'),''),this[_0x5bb4('0x3')]({'tag':_0x5bb4('0x8'),'attributes':{'class':[_0x5bb4('0x1'),_0x5bb4('0x6')]}});}[_0x5bb4('0x5')](){super[_0x5bb4('0x5')](),this['on'](_0x5bb4('0x7'),(_0x54dd29,_0x4be0c2,_0x3195c5)=>{this[_0x5bb4('0x4')]['innerHTML']=_0x3195c5;}),this[_0x5bb4('0x4')]['innerHTML']=this[_0x5bb4('0x0')];}}
23
+ var _0xfff7=['div','element','innerHTML','content','render','ck-annotation__content','setTemplate','ck-comment__content'];(function(_0x3b0ba4,_0xfff7b9){var _0x33ca5c=function(_0x45c581){while(--_0x45c581){_0x3b0ba4['push'](_0x3b0ba4['shift']());}};_0x33ca5c(++_0xfff7b9);}(_0xfff7,0x15c));var _0x33ca=function(_0x3b0ba4,_0xfff7b9){_0x3b0ba4=_0x3b0ba4-0x0;var _0x33ca5c=_0xfff7[_0x3b0ba4];return _0x33ca5c;};import{View as _0x3e7761}from'ckeditor5/src/ui';export default class Yt extends _0x3e7761{constructor(_0x21b2a0){super(_0x21b2a0),this['set'](_0x33ca('0x7'),''),this[_0x33ca('0x2')]({'tag':_0x33ca('0x4'),'attributes':{'class':[_0x33ca('0x3'),_0x33ca('0x1')]}});}[_0x33ca('0x0')](){super[_0x33ca('0x0')](),this['on']('change:content',(_0x5128dd,_0xda7c8b,_0x514ea3)=>{this[_0x33ca('0x5')][_0x33ca('0x6')]=_0x514ea3;}),this[_0x33ca('0x5')][_0x33ca('0x6')]=this[_0x33ca('0x7')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5f00=['trim','firstChild','Reply','extendTemplate','createEditor','ck-comment__input-actions--cancel','listenTo','setData','div','execute','focusPrevious','_initializeFocusCycling','element','bind','fire','cancelButtonView','add','value','editorDestroyed','getData','keystrokes','withText','set','Reply...','shift\x20+\x20tab','focusNext','forEach','_editorConfig','ck-comment__input-actions--active','length','_isDestroyed','destroy','low','submitButtonView','bindTemplate','editor','submit','submitLabel','document','isEnabled','editorReady','view','_createSubmitButton','ck-comment__input-actions--submit','Cancel','focus','_createCancelButton','change','setTemplate','stop','ck-comment__input-wrapper','_editorCreationPromise','Esc','high','model','focusTracker','tab','cancel','TOO_LONG_COMMENT_ALERT','initialData','placeholder'];(function(_0x1dc575,_0x5f004a){const _0x4b1724=function(_0x23228a){while(--_0x23228a){_0x1dc575['push'](_0x1dc575['shift']());}};_0x4b1724(++_0x5f004a);}(_0x5f00,0xe1));const _0x4b17=function(_0x1dc575,_0x5f004a){_0x1dc575=_0x1dc575-0x0;let _0x4b1724=_0x5f00[_0x1dc575];return _0x4b1724;};import{View as _0x2bfae3,ViewCollection as _0x307011,FocusCycler as _0x1a0bf9,ButtonView as _0x12d515}from'ckeditor5/src/ui';import{FocusTracker as _0x2c9ccb,KeystrokeHandler as _0x34b43a}from'ckeditor5/src/utils';import _0x33342 from'../commenteditor/commenteditor';import{getTranslation as _0x1e0db2}from'../../../utils/common-translations';export default class Xt extends _0x2bfae3{constructor(_0x2cce75,_0x4cc175={}){super(_0x2cce75),this[_0x4b17('0x36')]=null,this[_0x4b17('0x2e')]=_0x4cc175,this[_0x4b17('0x27')]=new _0x34b43a(),this['focusTracker']=new _0x2c9ccb(),this['set']('value',_0x4cc175[_0x4b17('0x11')]||''),this[_0x4b17('0x29')]('disabledSubmit',!0x1),this[_0x4b17('0x29')]('showButtons',!0x0),this['set'](_0x4b17('0x12'),_0x1e0db2(_0x2cce75,_0x4b17('0x2a'))),this[_0x4b17('0x29')]('submitLabel',_0x1e0db2(_0x2cce75,_0x4b17('0x15'))),this[_0x4b17('0x34')]=this['_createSubmitButton'](),this[_0x4b17('0x22')]=this[_0x4b17('0x4')](),this[_0x4b17('0x6')]({'tag':'div','attributes':{'class':[_0x4b17('0x8')]},'children':[{'tag':_0x4b17('0x1b'),'attributes':{'class':['ck-comment__input-actions',this[_0x4b17('0x35')]['if']('showButtons',_0x4b17('0x2f'))]},'children':[this['submitButtonView'],this[_0x4b17('0x22')]]}]}),this[_0x4b17('0x27')]['set'](_0x4b17('0xa'),(_0x527433,_0x202f87)=>{this['cancelButtonView'][_0x4b17('0x21')](_0x4b17('0x1c')),_0x202f87();}),this['on'](_0x4b17('0x37'),(_0x2c554f,_0x17e5bb)=>{_0x17e5bb[_0x4b17('0x30')]>0xfde8?(alert(_0x1e0db2(_0x2cce75,_0x4b17('0x10'),[_0x17e5bb['length'],0xfde8])),_0x2c554f[_0x4b17('0x7')]()):this[_0x4b17('0x36')][_0x4b17('0x1a')]('');},{'priority':_0x4b17('0xb')});}['render'](){super['render'](),this[_0x4b17('0x27')][_0x4b17('0x19')](this[_0x4b17('0x1f')]),this[_0x4b17('0xd')][_0x4b17('0x23')](this[_0x4b17('0x1f')]);}[_0x4b17('0x17')](){return this['editor']||(this[_0x4b17('0x36')]=new _0x33342(this[_0x4b17('0x2e')]),this[_0x4b17('0x9')]=this[_0x4b17('0x36')]['create']()['then'](()=>{if(this[_0x4b17('0x31')])return;const _0x4899f8=this[_0x4b17('0x36')];this[_0x4b17('0x1f')]['insertBefore'](_0x4899f8['ui'][_0x4b17('0x1f')],this['element'][_0x4b17('0x14')]),_0x4899f8[_0x4b17('0xc')][_0x4b17('0x39')]['on'](_0x4b17('0x5'),()=>this['value']=_0x4899f8[_0x4b17('0x26')]()),_0x4899f8[_0x4b17('0x20')]('placeholder')['to'](this),this[_0x4b17('0x1e')](this['editor']),this[_0x4b17('0x21')](_0x4b17('0x3b'),this['editor']);})),this[_0x4b17('0x9')];}['focus'](){this['editor']&&this[_0x4b17('0x36')][_0x4b17('0x3')]();}async[_0x4b17('0x32')](){this[_0x4b17('0x31')]||(this['_isDestroyed']=!0x0,this[_0x4b17('0x36')]&&(await this[_0x4b17('0x9')],await this[_0x4b17('0x36')][_0x4b17('0x32')](),this['fire'](_0x4b17('0x25'),this[_0x4b17('0x36')])),await super[_0x4b17('0x32')]());}[_0x4b17('0x0')](){const {locale:_0xdfcab2}=this,_0x1e5ee6=new _0x12d515(_0xdfcab2);return _0x1e5ee6[_0x4b17('0x16')]({'attributes':{'class':[_0x4b17('0x1')]}}),_0x1e5ee6[_0x4b17('0x28')]=!0x0,_0x1e5ee6[_0x4b17('0x20')]('label')['to'](this,_0x4b17('0x38')),_0x1e5ee6['on']('execute',()=>{this[_0x4b17('0x21')]('submit',this[_0x4b17('0x24')]);}),_0x1e5ee6[_0x4b17('0x20')](_0x4b17('0x3a'))['to'](this,'value',this,'disabledSubmit',(_0x1bf728,_0x2f2382)=>!_0x2f2382&&!!_0x1bf728[_0x4b17('0x13')]()),_0x1e5ee6;}[_0x4b17('0x4')](){const {locale:_0x5b627b}=this,_0x12386b=new _0x12d515(_0x5b627b);return _0x12386b[_0x4b17('0x16')]({'attributes':{'class':[_0x4b17('0x18')]}}),_0x12386b['label']=_0x1e0db2(_0x5b627b,_0x4b17('0x2')),_0x12386b['withText']=!0x0,_0x12386b['on'](_0x4b17('0x1c'),()=>{this[_0x4b17('0x36')][_0x4b17('0x1a')](''),this['fire'](_0x4b17('0xf'));}),_0x12386b;}['_initializeFocusCycling'](_0x131bb8){const _0x4085bd=this[_0x4b17('0xd')],_0x403773=new _0x307011();[_0x131bb8['ui'][_0x4b17('0x3c')],this[_0x4b17('0x34')],this[_0x4b17('0x22')]][_0x4b17('0x2d')](_0x9fa84b=>{_0x403773['add'](_0x9fa84b),_0x4085bd[_0x4b17('0x23')](_0x9fa84b[_0x4b17('0x1f')]);});const _0x30aae1=new _0x1a0bf9({'focusables':_0x403773,'focusTracker':_0x4085bd});this[_0x4b17('0x27')][_0x4b17('0x29')](_0x4b17('0xe'),(_0x2fc80d,_0x51ec07)=>{_0x30aae1[_0x4b17('0x2c')](),_0x51ec07();},{'priority':_0x4b17('0x33')}),this[_0x4b17('0x27')][_0x4b17('0x29')](_0x4b17('0x2b'),(_0x3ef6cf,_0x5e65ba)=>{_0x30aae1[_0x4b17('0x1d')](),_0x5e65ba();},{'priority':'low'});}}
23
+ const _0x330a=['stop','model','bind','withText','listenTo','set','insertBefore','Reply','focusTracker','_createSubmitButton','focusPrevious','change','element','_createCancelButton','keystrokes','ck-comment__input-actions--cancel','ck-comment__input-actions--submit','fire','focusNext','ck-comment__input-actions','setData','document','createEditor','editorDestroyed','value','_initializeFocusCycling','_isDestroyed','create','label','low','_editorConfig','then','forEach','execute','getData','length','destroy','add','showButtons','Reply...','div','initialData','ck-comment__input-wrapper','trim','submitButtonView','editor','Esc','isEnabled','submitLabel','_editorCreationPromise','ck-comment__input-actions--active','submit','setTemplate','view','editorReady','focus','high','disabledSubmit','cancelButtonView'];(function(_0x2aabfa,_0x330a34){const _0x1a1ef0=function(_0x53b9be){while(--_0x53b9be){_0x2aabfa['push'](_0x2aabfa['shift']());}};_0x1a1ef0(++_0x330a34);}(_0x330a,0x117));const _0x1a1e=function(_0x2aabfa,_0x330a34){_0x2aabfa=_0x2aabfa-0x0;let _0x1a1ef0=_0x330a[_0x2aabfa];return _0x1a1ef0;};import{View as _0x530602,ViewCollection as _0x3337d7,FocusCycler as _0xa0b825,ButtonView as _0x36b158}from'ckeditor5/src/ui';import{FocusTracker as _0x208c15,KeystrokeHandler as _0xe7f835}from'ckeditor5/src/utils';import _0x323c5c from'../commenteditor/commenteditor';import{getTranslation as _0x556790}from'../../../utils/common-translations';export default class Zt extends _0x530602{constructor(_0x5ab54b,_0xad5efb={}){super(_0x5ab54b),this[_0x1a1e('0x2')]=null,this[_0x1a1e('0x2e')]=_0xad5efb,this[_0x1a1e('0x1e')]=new _0xe7f835(),this[_0x1a1e('0x18')]=new _0x208c15(),this[_0x1a1e('0x15')](_0x1a1e('0x28'),_0xad5efb[_0x1a1e('0x39')]||''),this[_0x1a1e('0x15')](_0x1a1e('0xe'),!0x1),this['set'](_0x1a1e('0x36'),!0x0),this[_0x1a1e('0x15')]('placeholder',_0x556790(_0x5ab54b,_0x1a1e('0x37'))),this[_0x1a1e('0x15')](_0x1a1e('0x5'),_0x556790(_0x5ab54b,_0x1a1e('0x17'))),this[_0x1a1e('0x1')]=this[_0x1a1e('0x19')](),this['cancelButtonView']=this[_0x1a1e('0x1d')](),this[_0x1a1e('0x9')]({'tag':'div','attributes':{'class':[_0x1a1e('0x3a')]},'children':[{'tag':_0x1a1e('0x38'),'attributes':{'class':[_0x1a1e('0x23'),this['bindTemplate']['if'](_0x1a1e('0x36'),_0x1a1e('0x7'))]},'children':[this[_0x1a1e('0x1')],this[_0x1a1e('0xf')]]}]}),this[_0x1a1e('0x1e')][_0x1a1e('0x15')](_0x1a1e('0x3'),(_0x2925d9,_0x426155)=>{this['cancelButtonView']['fire'](_0x1a1e('0x31')),_0x426155();}),this['on'](_0x1a1e('0x8'),(_0x30b166,_0x95eeda)=>{_0x95eeda[_0x1a1e('0x33')]>0xfde8?(alert(_0x556790(_0x5ab54b,'TOO_LONG_COMMENT_ALERT',[_0x95eeda['length'],0xfde8])),_0x30b166[_0x1a1e('0x10')]()):this[_0x1a1e('0x2')][_0x1a1e('0x24')]('');},{'priority':_0x1a1e('0xd')});}['render'](){super['render'](),this[_0x1a1e('0x1e')][_0x1a1e('0x14')](this[_0x1a1e('0x1c')]),this[_0x1a1e('0x18')][_0x1a1e('0x35')](this[_0x1a1e('0x1c')]);}[_0x1a1e('0x26')](){return this[_0x1a1e('0x2')]||(this[_0x1a1e('0x2')]=new _0x323c5c(this[_0x1a1e('0x2e')]),this[_0x1a1e('0x6')]=this[_0x1a1e('0x2')][_0x1a1e('0x2b')]()[_0x1a1e('0x2f')](()=>{if(this[_0x1a1e('0x2a')])return;const _0x537026=this[_0x1a1e('0x2')];this[_0x1a1e('0x1c')][_0x1a1e('0x16')](_0x537026['ui'][_0x1a1e('0x1c')],this[_0x1a1e('0x1c')]['firstChild']),_0x537026[_0x1a1e('0x11')][_0x1a1e('0x25')]['on'](_0x1a1e('0x1b'),()=>this[_0x1a1e('0x28')]=_0x537026[_0x1a1e('0x32')]()),_0x537026[_0x1a1e('0x12')]('placeholder')['to'](this),this[_0x1a1e('0x29')](this[_0x1a1e('0x2')]),this[_0x1a1e('0x21')](_0x1a1e('0xb'),this[_0x1a1e('0x2')]);})),this['_editorCreationPromise'];}[_0x1a1e('0xc')](){this[_0x1a1e('0x2')]&&this['editor']['focus']();}async['destroy'](){this[_0x1a1e('0x2a')]||(this[_0x1a1e('0x2a')]=!0x0,this['editor']&&(await this[_0x1a1e('0x6')],await this[_0x1a1e('0x2')]['destroy'](),this['fire'](_0x1a1e('0x27'),this['editor'])),await super[_0x1a1e('0x34')]());}['_createSubmitButton'](){const {locale:_0x368590}=this,_0x4255c1=new _0x36b158(_0x368590);return _0x4255c1['extendTemplate']({'attributes':{'class':[_0x1a1e('0x20')]}}),_0x4255c1[_0x1a1e('0x13')]=!0x0,_0x4255c1[_0x1a1e('0x12')](_0x1a1e('0x2c'))['to'](this,_0x1a1e('0x5')),_0x4255c1['on']('execute',()=>{this[_0x1a1e('0x21')](_0x1a1e('0x8'),this[_0x1a1e('0x28')]);}),_0x4255c1[_0x1a1e('0x12')](_0x1a1e('0x4'))['to'](this,_0x1a1e('0x28'),this,_0x1a1e('0xe'),(_0x4e6f91,_0x4b049d)=>!_0x4b049d&&!!_0x4e6f91[_0x1a1e('0x0')]()),_0x4255c1;}[_0x1a1e('0x1d')](){const {locale:_0x386b6c}=this,_0x4ea88b=new _0x36b158(_0x386b6c);return _0x4ea88b['extendTemplate']({'attributes':{'class':[_0x1a1e('0x1f')]}}),_0x4ea88b[_0x1a1e('0x2c')]=_0x556790(_0x386b6c,'Cancel'),_0x4ea88b[_0x1a1e('0x13')]=!0x0,_0x4ea88b['on'](_0x1a1e('0x31'),()=>{this[_0x1a1e('0x2')][_0x1a1e('0x24')](''),this[_0x1a1e('0x21')]('cancel');}),_0x4ea88b;}[_0x1a1e('0x29')](_0x5c89cb){const _0x4a923d=this[_0x1a1e('0x18')],_0x3f0273=new _0x3337d7();[_0x5c89cb['ui'][_0x1a1e('0xa')],this[_0x1a1e('0x1')],this[_0x1a1e('0xf')]][_0x1a1e('0x30')](_0x4a9448=>{_0x3f0273['add'](_0x4a9448),_0x4a923d[_0x1a1e('0x35')](_0x4a9448[_0x1a1e('0x1c')]);});const _0x3dc52d=new _0xa0b825({'focusables':_0x3f0273,'focusTracker':_0x4a923d});this[_0x1a1e('0x1e')][_0x1a1e('0x15')]('tab',(_0x349571,_0x3001fc)=>{_0x3dc52d[_0x1a1e('0x22')](),_0x3001fc();},{'priority':_0x1a1e('0x2d')}),this[_0x1a1e('0x1e')]['set']('shift\x20+\x20tab',(_0x3d6796,_0x72ca9a)=>{_0x3dc52d[_0x1a1e('0x1a')](),_0x72ca9a();},{'priority':_0x1a1e('0x2d')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a0e=['focus','tab','_focusCycler','remove','destroy','selectstart','ck-comments-archive','auto','shift\x20+\x20tab','_keystrokes','high','setTemplate','_focusables','element','ck-comments-archive__header\x20','isEmpty','div','render','ck-hidden','listenTo','isActive','length','bindTemplate','COMMENTS_ARCHIVE','stopPropagation','_focusTracker','ck-comments-archive__info','ck-comments-archive__content','set'];(function(_0x4da58e,_0x2a0e49){const _0x42ad2e=function(_0x2b35dc){while(--_0x2b35dc){_0x4da58e['push'](_0x4da58e['shift']());}};_0x42ad2e(++_0x2a0e49);}(_0x2a0e,0x1aa));const _0x42ad=function(_0x4da58e,_0x2a0e49){_0x4da58e=_0x4da58e-0x0;let _0x42ad2e=_0x2a0e[_0x4da58e];return _0x42ad2e;};import{View as _0x4947ae,FocusCycler as _0x59f90a}from'ckeditor5/src/ui';import{FocusTracker as _0x1db0b2,KeystrokeHandler as _0x554508}from'ckeditor5/src/utils';import{getTranslation as _0x2a0037}from'../../../utils/common-translations';export default class K extends _0x4947ae{constructor(_0x4de896,_0xd2343e){super(_0x4de896),this[_0x42ad('0x8')](_0x42ad('0x18'),!_0xd2343e[_0x42ad('0x1')]),this[_0x42ad('0x5')]=new _0x1db0b2(),this[_0x42ad('0x12')]=new _0x554508(),this['_focusables']=_0xd2343e,this[_0x42ad('0xb')]=new _0x59f90a({'focusables':this[_0x42ad('0x15')],'focusTracker':this[_0x42ad('0x5')],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':_0x42ad('0x11'),'focusNext':_0x42ad('0xa')}}),this[_0x42ad('0x1c')](_0xd2343e,'add',()=>{this[_0x42ad('0x18')]=!0x1;}),this[_0x42ad('0x1c')](_0xd2343e,_0x42ad('0xc'),(_0x458936,_0x40848d)=>{_0x40848d[_0x42ad('0x0')]&&this[_0x42ad('0x9')](),_0xd2343e[_0x42ad('0x1')]||(this[_0x42ad('0x18')]=!0x0);});const _0x1c8428=this[_0x42ad('0x2')];this[_0x42ad('0x14')]({'tag':'div','attributes':{'dir':_0x42ad('0x10'),'class':['ck',_0x42ad('0xf')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x42ad('0x17')]},'children':[{'text':_0x2a0037(_0x4de896,_0x42ad('0x3'))}]},{'tag':_0x42ad('0x19'),'attributes':{'class':[_0x42ad('0x7')]},'children':[{'tag':'div','children':_0xd2343e},{'tag':'p','attributes':{'class':[_0x42ad('0x6'),_0x1c8428['if']('isEmpty',_0x42ad('0x1b'),_0x3db8aa=>!_0x3db8aa)]},'children':[{'text':_0x2a0037(_0x4de896,'EMPTY_COMMENTS_ARCHIVE')}]}]}]});}[_0x42ad('0x1a')](){super[_0x42ad('0x1a')](),this[_0x42ad('0x12')]['listenTo'](this[_0x42ad('0x16')]);const _0x17bfa0=_0x590c1c=>_0x590c1c[_0x42ad('0x4')]();this[_0x42ad('0x12')][_0x42ad('0x8')]('arrowright',_0x17bfa0),this[_0x42ad('0x12')][_0x42ad('0x8')]('arrowleft',_0x17bfa0),this['_keystrokes'][_0x42ad('0x8')]('arrowup',_0x17bfa0),this[_0x42ad('0x12')]['set']('arrowdown',_0x17bfa0),this['listenTo'](this[_0x42ad('0x16')],_0x42ad('0xe'),(_0x578b40,_0x19b467)=>{_0x19b467[_0x42ad('0x4')]();},{'priority':_0x42ad('0x13')});}[_0x42ad('0xd')](){super[_0x42ad('0xd')](),this[_0x42ad('0x5')][_0x42ad('0xd')](),this['_keystrokes'][_0x42ad('0xd')]();}[_0x42ad('0x9')](){this[_0x42ad('0x16')][_0x42ad('0x9')]();}}
23
+ const _0x5b1c=['render','length','COMMENTS_ARCHIVE','setTemplate','focus','_focusTracker','arrowdown','bindTemplate','set','selectstart','destroy','isEmpty','stopPropagation','element','ck-hidden','add','_focusables','tab','arrowright','listenTo','_focusCycler','high','auto','EMPTY_COMMENTS_ARCHIVE','_keystrokes','isActive','ck-comments-archive','div'];(function(_0x1e5131,_0x5b1c4b){const _0x3fc33e=function(_0x3c59cd){while(--_0x3c59cd){_0x1e5131['push'](_0x1e5131['shift']());}};_0x3fc33e(++_0x5b1c4b);}(_0x5b1c,0xe3));const _0x3fc3=function(_0x1e5131,_0x5b1c4b){_0x1e5131=_0x1e5131-0x0;let _0x3fc33e=_0x5b1c[_0x1e5131];return _0x3fc33e;};import{View as _0x3c9c07,FocusCycler as _0x545a0d}from'ckeditor5/src/ui';import{FocusTracker as _0x8fd6dd,KeystrokeHandler as _0x3087bf}from'ckeditor5/src/utils';import{getTranslation as _0x3c3f9e}from'../../../utils/common-translations';export default class K extends _0x3c9c07{constructor(_0x4cdfcb,_0x2bfbcf){super(_0x4cdfcb),this['set'](_0x3fc3('0x8'),!_0x2bfbcf[_0x3fc3('0x1a')]),this[_0x3fc3('0x2')]=new _0x8fd6dd(),this['_keystrokes']=new _0x3087bf(),this[_0x3fc3('0xd')]=_0x2bfbcf,this[_0x3fc3('0x11')]=new _0x545a0d({'focusables':this[_0x3fc3('0xd')],'focusTracker':this[_0x3fc3('0x2')],'keystrokeHandler':this[_0x3fc3('0x15')],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':_0x3fc3('0xe')}}),this[_0x3fc3('0x10')](_0x2bfbcf,_0x3fc3('0xc'),()=>{this[_0x3fc3('0x8')]=!0x1;}),this[_0x3fc3('0x10')](_0x2bfbcf,'remove',(_0x559328,_0x4f02c4)=>{_0x4f02c4[_0x3fc3('0x16')]&&this[_0x3fc3('0x1')](),_0x2bfbcf[_0x3fc3('0x1a')]||(this[_0x3fc3('0x8')]=!0x0);});const _0x398705=this[_0x3fc3('0x4')];this[_0x3fc3('0x0')]({'tag':_0x3fc3('0x18'),'attributes':{'dir':_0x3fc3('0x13'),'class':['ck',_0x3fc3('0x17')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':['ck-comments-archive__header\x20']},'children':[{'text':_0x3c3f9e(_0x4cdfcb,_0x3fc3('0x1b'))}]},{'tag':_0x3fc3('0x18'),'attributes':{'class':['ck-comments-archive__content']},'children':[{'tag':_0x3fc3('0x18'),'children':_0x2bfbcf},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x398705['if'](_0x3fc3('0x8'),_0x3fc3('0xb'),_0x137b07=>!_0x137b07)]},'children':[{'text':_0x3c3f9e(_0x4cdfcb,_0x3fc3('0x14'))}]}]}]});}[_0x3fc3('0x19')](){super[_0x3fc3('0x19')](),this[_0x3fc3('0x15')][_0x3fc3('0x10')](this[_0x3fc3('0xa')]);const _0x15e2f6=_0x51ab3d=>_0x51ab3d[_0x3fc3('0x9')]();this['_keystrokes'][_0x3fc3('0x5')](_0x3fc3('0xf'),_0x15e2f6),this[_0x3fc3('0x15')][_0x3fc3('0x5')]('arrowleft',_0x15e2f6),this['_keystrokes'][_0x3fc3('0x5')]('arrowup',_0x15e2f6),this[_0x3fc3('0x15')][_0x3fc3('0x5')](_0x3fc3('0x3'),_0x15e2f6),this[_0x3fc3('0x10')](this[_0x3fc3('0xa')],_0x3fc3('0x6'),(_0x21bc6e,_0x4757e0)=>{_0x4757e0[_0x3fc3('0x9')]();},{'priority':_0x3fc3('0x12')});}[_0x3fc3('0x7')](){super[_0x3fc3('0x7')](),this[_0x3fc3('0x2')][_0x3fc3('0x7')](),this['_keystrokes'][_0x3fc3('0x7')]();}[_0x3fc3('0x1')](){this[_0x3fc3('0xa')][_0x3fc3('0x1')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5335=['createCollection','updateComment','from','stopListening','resolvedBy','formatDateTime','isActive','editorReady','collapse','comments','_config','set','maxCommentCharsWhenCollapsed','change:hasDirtyComment','commentUpdated','viewUid','resolvedAt','destroy','resolvedCommentView','_model','delegate','_handleInfoComment','focus','visibleViews','maxCommentsWhenCollapsed','refreshVisibleViews','length','remove','authoredAt','_shouldCollapse','count','CommentView','_collapsedCommentsView','isEditMode','_handleRemoveCommentModel','render','commentViews','equal','Marked\x20as\x20resolved','_findOptimalIndex','_handleNewCommentModel','_rearrangeCollapse','locale','expand','resolveCommentThread','maxThreadTotalWeight','weight','add','delete','removeComment','listenTo','_calculatePosition','hasDirtyComment','_rearrangeExpand','_updateHasDirtyComment','editorConfig'];(function(_0xf75e46,_0x5335f4){const _0x45a72a=function(_0x25aa4f){while(--_0x25aa4f){_0xf75e46['push'](_0xf75e46['shift']());}};_0x45a72a(++_0x5335f4);}(_0x5335,0xa4));const _0x45a7=function(_0xf75e46,_0x5335f4){_0xf75e46=_0xf75e46-0x0;let _0x45a72a=_0x5335[_0xf75e46];return _0x45a72a;};import{View as _0x366c7f}from'ckeditor5/src/ui';import{diff as _0x4eecde,Collection as _0x5cc8b6}from'ckeditor5/src/utils';import{getTranslation as _0x341e1b}from'../../../utils/common-translations';import _0x185dad from'./collapsedcommentsview';export default class wt extends _0x366c7f{constructor(_0x480321,_0x55d129,_0xe1a218){super(_0x480321),this[_0x45a7('0xf')](_0x45a7('0x0'),!0x1),this[_0x45a7('0xf')](_0x45a7('0x1e'),_0x55d129[_0x45a7('0xd')][_0x45a7('0x1e')]),this[_0x45a7('0xf')](_0x45a7('0xa'),!0x1),this[_0x45a7('0x17')]=_0x55d129,this['_config']=_0xe1a218,this[_0x45a7('0x28')]=this[_0x45a7('0x4')](),this[_0x45a7('0x1b')]=this[_0x45a7('0x4')](),this[_0x45a7('0x16')]=null,this[_0x45a7('0x24')]=new _0x185dad(_0x480321),this[_0x45a7('0x24')]['bind'](_0x45a7('0x22'))['to'](this,'length',_0x51ae17=>_0x51ae17-this['_config'][_0x45a7('0x1c')]);for(const _0x3f21b5 of _0x55d129[_0x45a7('0xd')])this['_handleNewCommentModel'](_0x3f21b5);this[_0x45a7('0x19')](),this[_0x45a7('0x36')](_0x55d129[_0x45a7('0xd')],_0x45a7('0x33'),(_0x1cedde,_0x46eaf1)=>{const _0x472e28=this[_0x45a7('0x37')](_0x46eaf1);this[_0x45a7('0x1e')]++,this[_0x45a7('0x2c')](_0x46eaf1,_0x472e28),this['refreshVisibleViews']();}),this[_0x45a7('0x36')](_0x55d129[_0x45a7('0xd')],'remove',(_0x2aa228,_0x10decb)=>{this['length']--,this[_0x45a7('0x26')](_0x10decb),this[_0x45a7('0x1d')]();}),this[_0x45a7('0x36')](_0x55d129,_0x45a7('0x12'),()=>this[_0x45a7('0x1d')]()),this['listenTo'](_0x55d129,'change:isResolved',()=>this['_handleInfoComment']()),this['on']('change:isActive',()=>this['refreshVisibleViews']()),this['on'](_0x45a7('0x11'),()=>this[_0x45a7('0x1d')]()),this['setTemplate']({'tag':'ul','attributes':{'class':['ck-thread__comments']},'children':this[_0x45a7('0x1b')]});}get[_0x45a7('0x21')](){return this[_0x45a7('0x17')][_0x45a7('0x32')]>this[_0x45a7('0xe')][_0x45a7('0x31')]&&!this[_0x45a7('0xa')]&&!this[_0x45a7('0x0')];}['render'](){super[_0x45a7('0x27')](),this['refreshVisibleViews']();}['focus'](){this['element'][_0x45a7('0x1a')]();}[_0x45a7('0x15')](){this[_0x45a7('0x24')][_0x45a7('0x15')]();for(const _0x39c316 of this[_0x45a7('0x28')])_0x39c316[_0x45a7('0x15')]();super[_0x45a7('0x15')]();}[_0x45a7('0x1d')](){this[_0x45a7('0x21')]?this[_0x45a7('0x2d')]():this[_0x45a7('0x1')]();}['_handleNewCommentModel'](_0x961046,_0x46cd07){const _0x49db4b=new this[(_0x45a7('0xe'))]['CommentView'](this[_0x45a7('0x2e')],_0x961046,{'maxCommentCharsWhenCollapsed':this[_0x45a7('0xe')][_0x45a7('0x10')],'formatDateTime':this['_config'][_0x45a7('0x9')],'editorConfig':this[_0x45a7('0xe')][_0x45a7('0x3')]});_0x49db4b[_0x45a7('0x13')]=_0x961046['id'],_0x49db4b['delegate'](_0x45a7('0x35'))['to'](this),_0x49db4b[_0x45a7('0x18')](_0x45a7('0x5'))['to'](this),_0x49db4b['delegate'](_0x45a7('0x30'))['to'](this),_0x49db4b[_0x45a7('0x18')](_0x45a7('0xb'))['to'](this),_0x49db4b[_0x45a7('0x18')]('editorDestroyed')['to'](this),this['listenTo'](_0x49db4b,'change:isEditMode',()=>this[_0x45a7('0x2')]()),this[_0x45a7('0x28')][_0x45a7('0x33')](_0x49db4b,_0x46cd07);}['_calculatePosition'](_0x2acb11){const _0x64e2dc=this[_0x45a7('0x17')][_0x45a7('0x2b')](_0x2acb11);return this[_0x45a7('0x16')]?this[_0x45a7('0x16')]['authoredAt']>_0x2acb11[_0x45a7('0x20')]?_0x64e2dc-0x1:_0x64e2dc:_0x64e2dc-0x1;}[_0x45a7('0x19')](){if(this[_0x45a7('0x17')]['resolvedBy']&&this['_model'][_0x45a7('0x14')]){const _0x820a60={'id':'resolved','author':this[_0x45a7('0x17')][_0x45a7('0x8')],'authoredAt':this[_0x45a7('0x17')][_0x45a7('0x14')],'content':_0x341e1b(this[_0x45a7('0x2e')],_0x45a7('0x2a')),'attributes':{}};this[_0x45a7('0x16')]=new this[(_0x45a7('0xe'))][(_0x45a7('0x23'))](this[_0x45a7('0x2e')],_0x820a60,{'maxCommentCharsWhenCollapsed':this[_0x45a7('0xe')][_0x45a7('0x10')],'formatDateTime':this[_0x45a7('0xe')][_0x45a7('0x9')],'editorConfig':this[_0x45a7('0xe')][_0x45a7('0x3')],'isSystemComment':!0x0}),this[_0x45a7('0x28')][_0x45a7('0x33')](this['resolvedCommentView'],this['_model']['_findOptimalIndex'](_0x820a60));}else this['resolvedCommentView']&&(this['commentViews']['remove'](this[_0x45a7('0x16')]),this[_0x45a7('0x16')][_0x45a7('0x15')](),this[_0x45a7('0x16')]=null);this[_0x45a7('0x1d')]();}[_0x45a7('0x26')](_0xe28dd4){const _0x4895e9=this['commentViews'][_0x45a7('0x1f')](_0xe28dd4['id']);this[_0x45a7('0x7')](_0x4895e9),_0x4895e9['isEditMode']&&this[_0x45a7('0x2')](),_0x4895e9[_0x45a7('0x15')]();}['_updateHasDirtyComment'](){this[_0x45a7('0x0')]=Array[_0x45a7('0x6')](this[_0x45a7('0x28')])['some'](_0x5b7ff5=>_0x5b7ff5[_0x45a7('0x25')]);}[_0x45a7('0x2d')](){const _0x3e4e4d=function(_0x349475){const _0x495bb8=new _0x5cc8b6();for(const _0x265278 of _0x349475)_0x495bb8[_0x45a7('0x33')](_0x265278);return _0x495bb8;}(this[_0x45a7('0x28')]),_0x53fc44=this[_0x45a7('0x24')][_0x45a7('0x22')];for(let _0x439d6e=0x1;_0x439d6e<=_0x53fc44;_0x439d6e++)_0x3e4e4d[_0x45a7('0x1f')](0x1);for(const _0x429ab3 of _0x3e4e4d)_0x429ab3[_0x45a7('0xc')]();_0x53fc44>0x0&&_0x3e4e4d[_0x45a7('0x33')](this[_0x45a7('0x24')],0x1),ss(_0x4eecde(Array[_0x45a7('0x6')](this[_0x45a7('0x1b')]),Array[_0x45a7('0x6')](_0x3e4e4d)),this[_0x45a7('0x1b')],_0x3e4e4d);}[_0x45a7('0x1')](){ss(_0x4eecde(Array[_0x45a7('0x6')](this[_0x45a7('0x1b')]),Array[_0x45a7('0x6')](this[_0x45a7('0x28')])),this[_0x45a7('0x1b')],this[_0x45a7('0x28')]);for(const _0x2d17e3 of this[_0x45a7('0x1b')])_0x2d17e3[_0x45a7('0x2f')]();}}function ss(_0x1268cf,_0x20ed31,_0x456eda){let _0x564b74=0x0;for(const _0x37f9b1 of _0x1268cf)switch(_0x37f9b1){case'insert':_0x20ed31[_0x45a7('0x33')](_0x456eda['get'](_0x564b74),_0x564b74),_0x564b74++;break;case _0x45a7('0x34'):_0x20ed31[_0x45a7('0x1f')](_0x564b74);break;case _0x45a7('0x29'):_0x564b74++;}}
23
+ const _0x34c9=['removeComment','listenTo','equal','isActive','_handleRemoveCommentModel','destroy','isEditMode','stopListening','change:isActive','comments','locale','refreshVisibleViews','commentUpdated','hasDirtyComment','resolved','_config','change:hasDirtyComment','resolvedCommentView','set','resolvedBy','visibleViews','change:isEditMode','authoredAt','resolvedAt','from','_collapsedCommentsView','editorDestroyed','weight','_handleInfoComment','ck-thread__comments','maxCommentCharsWhenCollapsed','_model','_calculatePosition','_updateHasDirtyComment','element','_findOptimalIndex','focus','length','bind','createCollection','delete','commentViews','formatDateTime','remove','_handleNewCommentModel','delegate','maxThreadTotalWeight','_shouldCollapse','_rearrangeExpand','_rearrangeCollapse','updateComment','some','add','editorConfig','maxCommentsWhenCollapsed','get','change:isResolved','CommentView','Marked\x20as\x20resolved'];(function(_0x25fa88,_0x34c962){const _0x4bb33f=function(_0x546499){while(--_0x546499){_0x25fa88['push'](_0x25fa88['shift']());}};_0x4bb33f(++_0x34c962);}(_0x34c9,0x103));const _0x4bb3=function(_0x25fa88,_0x34c962){_0x25fa88=_0x25fa88-0x0;let _0x4bb33f=_0x34c9[_0x25fa88];return _0x4bb33f;};import{View as _0x26e6e1}from'ckeditor5/src/ui';import{diff as _0x14e95d,Collection as _0x520423}from'ckeditor5/src/utils';import{getTranslation as _0x7a68a3}from'../../../utils/common-translations';import _0x547705 from'./collapsedcommentsview';export default class Ct extends _0x26e6e1{constructor(_0x2c0aff,_0x9e4e5e,_0x5ab732){super(_0x2c0aff),this[_0x4bb3('0x36')](_0x4bb3('0x31'),!0x1),this[_0x4bb3('0x36')](_0x4bb3('0xe'),_0x9e4e5e[_0x4bb3('0x2d')]['length']),this[_0x4bb3('0x36')](_0x4bb3('0x27'),!0x1),this[_0x4bb3('0x8')]=_0x9e4e5e,this[_0x4bb3('0x33')]=_0x5ab732,this[_0x4bb3('0x12')]=this[_0x4bb3('0x10')](),this[_0x4bb3('0x38')]=this[_0x4bb3('0x10')](),this[_0x4bb3('0x35')]=null,this['_collapsedCommentsView']=new _0x547705(_0x2c0aff),this[_0x4bb3('0x2')][_0x4bb3('0xf')]('count')['to'](this,_0x4bb3('0xe'),_0x3d472c=>_0x3d472c-this[_0x4bb3('0x33')][_0x4bb3('0x1f')]);for(const _0xfe20fb of _0x9e4e5e[_0x4bb3('0x2d')])this[_0x4bb3('0x15')](_0xfe20fb);this['_handleInfoComment'](),this[_0x4bb3('0x25')](_0x9e4e5e['comments'],_0x4bb3('0x1d'),(_0x86da1d,_0x312d65)=>{const _0x4a84ee=this[_0x4bb3('0x9')](_0x312d65);this['length']++,this[_0x4bb3('0x15')](_0x312d65,_0x4a84ee),this['refreshVisibleViews']();}),this[_0x4bb3('0x25')](_0x9e4e5e['comments'],'remove',(_0x2bb064,_0x3b4121)=>{this[_0x4bb3('0xe')]--,this[_0x4bb3('0x28')](_0x3b4121),this['refreshVisibleViews']();}),this[_0x4bb3('0x25')](_0x9e4e5e,_0x4bb3('0x30'),()=>this[_0x4bb3('0x2f')]()),this['listenTo'](_0x9e4e5e,_0x4bb3('0x21'),()=>this[_0x4bb3('0x5')]()),this['on'](_0x4bb3('0x2c'),()=>this[_0x4bb3('0x2f')]()),this['on'](_0x4bb3('0x34'),()=>this[_0x4bb3('0x2f')]()),this['setTemplate']({'tag':'ul','attributes':{'class':[_0x4bb3('0x6')]},'children':this[_0x4bb3('0x38')]});}get['_shouldCollapse'](){return this[_0x4bb3('0x8')][_0x4bb3('0x4')]>this[_0x4bb3('0x33')][_0x4bb3('0x17')]&&!this[_0x4bb3('0x27')]&&!this['hasDirtyComment'];}['render'](){super['render'](),this[_0x4bb3('0x2f')]();}[_0x4bb3('0xd')](){this[_0x4bb3('0xb')]['focus']();}['destroy'](){this[_0x4bb3('0x2')][_0x4bb3('0x29')]();for(const _0x124c49 of this[_0x4bb3('0x12')])_0x124c49[_0x4bb3('0x29')]();super['destroy']();}[_0x4bb3('0x2f')](){this[_0x4bb3('0x18')]?this['_rearrangeCollapse']():this[_0x4bb3('0x19')]();}['_handleNewCommentModel'](_0x57b1ac,_0x13da67){const _0x104156=new this[(_0x4bb3('0x33'))][(_0x4bb3('0x22'))](this[_0x4bb3('0x2e')],_0x57b1ac,{'maxCommentCharsWhenCollapsed':this[_0x4bb3('0x33')][_0x4bb3('0x7')],'formatDateTime':this[_0x4bb3('0x33')][_0x4bb3('0x13')],'editorConfig':this[_0x4bb3('0x33')][_0x4bb3('0x1e')]});_0x104156['viewUid']=_0x57b1ac['id'],_0x104156['delegate'](_0x4bb3('0x24'))['to'](this),_0x104156[_0x4bb3('0x16')](_0x4bb3('0x1b'))['to'](this),_0x104156['delegate']('resolveCommentThread')['to'](this),_0x104156[_0x4bb3('0x16')]('editorReady')['to'](this),_0x104156[_0x4bb3('0x16')](_0x4bb3('0x3'))['to'](this),this[_0x4bb3('0x25')](_0x104156,_0x4bb3('0x39'),()=>this[_0x4bb3('0xa')]()),this[_0x4bb3('0x12')]['add'](_0x104156,_0x13da67);}['_calculatePosition'](_0x259026){const _0x4a92c8=this[_0x4bb3('0x8')][_0x4bb3('0xc')](_0x259026);return this[_0x4bb3('0x35')]?this[_0x4bb3('0x35')][_0x4bb3('0x3a')]>_0x259026['authoredAt']?_0x4a92c8-0x1:_0x4a92c8:_0x4a92c8-0x1;}[_0x4bb3('0x5')](){if(this[_0x4bb3('0x8')][_0x4bb3('0x37')]&&this[_0x4bb3('0x8')]['resolvedAt']){const _0x18628c={'id':_0x4bb3('0x32'),'author':this[_0x4bb3('0x8')][_0x4bb3('0x37')],'authoredAt':this[_0x4bb3('0x8')][_0x4bb3('0x0')],'content':_0x7a68a3(this['locale'],_0x4bb3('0x23')),'attributes':{}};this[_0x4bb3('0x35')]=new this['_config'][(_0x4bb3('0x22'))](this['locale'],_0x18628c,{'maxCommentCharsWhenCollapsed':this[_0x4bb3('0x33')][_0x4bb3('0x7')],'formatDateTime':this[_0x4bb3('0x33')][_0x4bb3('0x13')],'editorConfig':this[_0x4bb3('0x33')][_0x4bb3('0x1e')],'isSystemComment':!0x0}),this[_0x4bb3('0x12')][_0x4bb3('0x1d')](this['resolvedCommentView'],this['_model'][_0x4bb3('0xc')](_0x18628c));}else this[_0x4bb3('0x35')]&&(this[_0x4bb3('0x12')][_0x4bb3('0x14')](this[_0x4bb3('0x35')]),this['resolvedCommentView'][_0x4bb3('0x29')](),this[_0x4bb3('0x35')]=null);this[_0x4bb3('0x2f')]();}[_0x4bb3('0x28')](_0x5f158f){const _0x3b819d=this['commentViews'][_0x4bb3('0x14')](_0x5f158f['id']);this[_0x4bb3('0x2b')](_0x3b819d),_0x3b819d[_0x4bb3('0x2a')]&&this[_0x4bb3('0xa')](),_0x3b819d['destroy']();}[_0x4bb3('0xa')](){this[_0x4bb3('0x31')]=Array[_0x4bb3('0x1')](this[_0x4bb3('0x12')])[_0x4bb3('0x1c')](_0x564226=>_0x564226['isEditMode']);}[_0x4bb3('0x1a')](){const _0x539541=function(_0x4c931b){const _0x1c2d65=new _0x520423();for(const _0x33774c of _0x4c931b)_0x1c2d65[_0x4bb3('0x1d')](_0x33774c);return _0x1c2d65;}(this[_0x4bb3('0x12')]),_0x32f436=this[_0x4bb3('0x2')]['count'];for(let _0x1a837f=0x1;_0x1a837f<=_0x32f436;_0x1a837f++)_0x539541[_0x4bb3('0x14')](0x1);for(const _0x18ee58 of _0x539541)_0x18ee58['collapse']();_0x32f436>0x0&&_0x539541[_0x4bb3('0x1d')](this[_0x4bb3('0x2')],0x1),ss(_0x14e95d(Array[_0x4bb3('0x1')](this[_0x4bb3('0x38')]),Array['from'](_0x539541)),this[_0x4bb3('0x38')],_0x539541);}[_0x4bb3('0x19')](){ss(_0x14e95d(Array[_0x4bb3('0x1')](this[_0x4bb3('0x38')]),Array[_0x4bb3('0x1')](this[_0x4bb3('0x12')])),this[_0x4bb3('0x38')],this[_0x4bb3('0x12')]);for(const _0x456dcd of this[_0x4bb3('0x38')])_0x456dcd['expand']();}}function ss(_0x58f588,_0x12a638,_0x4c5718){let _0x148629=0x0;for(const _0x5c5e97 of _0x58f588)switch(_0x5c5e97){case'insert':_0x12a638[_0x4bb3('0x1d')](_0x4c5718[_0x4bb3('0x20')](_0x148629),_0x148629),_0x148629++;break;case _0x4bb3('0x11'):_0x12a638['remove'](_0x148629);break;case _0x4bb3('0x26'):_0x148629++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x24ef=['querySelector','execute','ck-annotation__actions','mouseenter','mouseleave','reopenButtonView','bind','scrollWidth','.ck-context__value','isEnabled','value','_createReopenButton','label','offsetWidth','reopenCommentThread','ck-context--quotes','context','locale','render','remove','...','_model','add','substring','classList','Reopen','setTemplate','.ck-context','listenTo','element','Comment\x20was\x20made\x20on\x20an\x20element','_attachContextActions','span','ck-context__value','_trimContextValue','div','fire','hasContext','contextValue','overlay','isVisible'];(function(_0xd04a12,_0x24effa){const _0x8a62c8=function(_0x4348a0){while(--_0x4348a0){_0xd04a12['push'](_0xd04a12['shift']());}};_0x8a62c8(++_0x24effa);}(_0x24ef,0x9a));const _0x8a62=function(_0xd04a12,_0x24effa){_0xd04a12=_0xd04a12-0x0;let _0x8a62c8=_0x24ef[_0xd04a12];return _0x8a62c8;};import{View as _0x439cb7,ButtonView as _0xaee838}from'ckeditor5/src/ui';import{getTranslation as _0x3c721b}from'../../../utils/common-translations';import _0x16b6b2 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Rt extends _0x439cb7{constructor(_0x291259,_0x2c31ae){super(_0x291259);const _0x14bbdc=this['bindTemplate'];this[_0x8a62('0x1f')]=_0x2c31ae,this[_0x8a62('0xf')]=this[_0x8a62('0x15')](),this[_0x8a62('0x10')](_0x8a62('0x6'))['to'](this['_model'],_0x8a62('0x1a'),_0x35d9bb=>!!_0x35d9bb),this[_0x8a62('0x10')](_0x8a62('0x7'))['to'](this['_model'],_0x8a62('0x1a'),_0x4f1f80=>_0x4f1f80&&_0x4f1f80[_0x8a62('0x14')]?this[_0x8a62('0x3')](_0x4f1f80[_0x8a62('0x14')]):_0x3c721b(this[_0x8a62('0x1b')],_0x8a62('0x28'))),this[_0x8a62('0x24')]({'tag':'div','attributes':{'class':['ck-thread__header']},'children':[{'tag':_0x8a62('0x4'),'attributes':{'class':['ck-context-wrapper']},'children':[{'tag':_0x8a62('0x4'),'attributes':{'class':['ck-context',_0x14bbdc['if']('hasContext',_0x8a62('0x19'))]},'children':[{'tag':_0x8a62('0x1'),'attributes':{'class':[_0x8a62('0x2')]},'children':[{'text':_0x14bbdc['to'](_0x8a62('0x7'))}]}]}]},{'tag':_0x8a62('0x4'),'attributes':{'class':[_0x8a62('0xc')]},'children':[this[_0x8a62('0xf')]]}]});}[_0x8a62('0x1c')](){super['render'](),this[_0x8a62('0x0')]();}['_createReopenButton'](){const _0x4f3abd=new _0xaee838(this[_0x8a62('0x1b')]);return _0x4f3abd[_0x8a62('0x16')]=_0x3c721b(this[_0x8a62('0x1b')],_0x8a62('0x23')),_0x4f3abd['tooltip']=_0x3c721b(this[_0x8a62('0x1b')],'Reopen'),_0x4f3abd['icon']=_0x16b6b2,_0x4f3abd['bind'](_0x8a62('0x13'))['to'](this[_0x8a62('0x1f')],'isReadOnly',_0x415453=>!_0x415453),_0x4f3abd[_0x8a62('0x10')](_0x8a62('0x9'))['to'](this[_0x8a62('0x1f')],'isResolvable',this['_model'],'isResolved',(_0x5483d0,_0x5444ec)=>_0x5483d0&&_0x5444ec),_0x4f3abd['on'](_0x8a62('0xb'),()=>{this[_0x8a62('0x5')](_0x8a62('0x18'),this[_0x8a62('0x1f')]['id']);}),_0x4f3abd;}['_trimContextValue'](_0x2d75ae){if(_0x2d75ae['length']<0x96)return _0x2d75ae;const _0x342486=_0x2d75ae['lastIndexOf']('\x20',0x93);return _0x2d75ae[_0x8a62('0x21')](0x0,_0x342486>-0x1?_0x342486:0x93)+_0x8a62('0x1e');}['_attachContextActions'](){const _0x41ac66=this[_0x8a62('0x27')][_0x8a62('0xa')](_0x8a62('0x25')),_0x3443e5=_0x41ac66['querySelector'](_0x8a62('0x12'));this['listenTo'](_0x41ac66,_0x8a62('0xd'),()=>{_0x3443e5[_0x8a62('0x17')]<_0x3443e5[_0x8a62('0x11')]&&_0x41ac66[_0x8a62('0x22')][_0x8a62('0x20')](_0x8a62('0x8'));}),this[_0x8a62('0x26')](_0x41ac66,_0x8a62('0xe'),()=>{_0x41ac66[_0x8a62('0x22')][_0x8a62('0x1d')](_0x8a62('0x8'));});}}
23
+ const _0x48a3=['_attachContextActions','_trimContextValue','value','reopenButtonView','contextValue','ck-thread__header','remove','bindTemplate','ck-annotation__actions','label','listenTo','ck-context','icon','render','scrollWidth','classList','locale','overlay','Reopen','isResolved','querySelector','...','isReadOnly','lastIndexOf','isVisible','substring','isEnabled','bind','.ck-context__value','context','.ck-context','div','ck-context--quotes','mouseleave','_model','tooltip','hasContext'];(function(_0x4d2ed7,_0x48a3b6){const _0x2f20d0=function(_0x12be77){while(--_0x12be77){_0x4d2ed7['push'](_0x4d2ed7['shift']());}};_0x2f20d0(++_0x48a3b6);}(_0x48a3,0x1a8));const _0x2f20=function(_0x4d2ed7,_0x48a3b6){_0x4d2ed7=_0x4d2ed7-0x0;let _0x2f20d0=_0x48a3[_0x4d2ed7];return _0x2f20d0;};import{View as _0x11b08f,ButtonView as _0x580b8c}from'ckeditor5/src/ui';import{getTranslation as _0x4aab31}from'../../../utils/common-translations';import _0x443cbb from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Tt extends _0x11b08f{constructor(_0xbf8a4e,_0x448fe0){super(_0xbf8a4e);const _0x5305a2=this[_0x2f20('0x1b')];this[_0x2f20('0x11')]=_0x448fe0,this[_0x2f20('0x17')]=this['_createReopenButton'](),this[_0x2f20('0xa')]('hasContext')['to'](this[_0x2f20('0x11')],'context',_0x42b518=>!!_0x42b518),this[_0x2f20('0xa')]('contextValue')['to'](this[_0x2f20('0x11')],_0x2f20('0xc'),_0x21c9ec=>_0x21c9ec&&_0x21c9ec[_0x2f20('0x16')]?this[_0x2f20('0x15')](_0x21c9ec[_0x2f20('0x16')]):_0x4aab31(this[_0x2f20('0x24')],'Comment\x20was\x20made\x20on\x20an\x20element')),this['setTemplate']({'tag':_0x2f20('0xe'),'attributes':{'class':[_0x2f20('0x19')]},'children':[{'tag':_0x2f20('0xe'),'attributes':{'class':['ck-context-wrapper']},'children':[{'tag':_0x2f20('0xe'),'attributes':{'class':[_0x2f20('0x1f'),_0x5305a2['if'](_0x2f20('0x13'),_0x2f20('0xf'))]},'children':[{'tag':'span','attributes':{'class':['ck-context__value']},'children':[{'text':_0x5305a2['to'](_0x2f20('0x18'))}]}]}]},{'tag':_0x2f20('0xe'),'attributes':{'class':[_0x2f20('0x1c')]},'children':[this[_0x2f20('0x17')]]}]});}[_0x2f20('0x21')](){super[_0x2f20('0x21')](),this['_attachContextActions']();}['_createReopenButton'](){const _0x16c04c=new _0x580b8c(this['locale']);return _0x16c04c[_0x2f20('0x1d')]=_0x4aab31(this['locale'],'Reopen'),_0x16c04c[_0x2f20('0x12')]=_0x4aab31(this[_0x2f20('0x24')],_0x2f20('0x1')),_0x16c04c[_0x2f20('0x20')]=_0x443cbb,_0x16c04c[_0x2f20('0xa')](_0x2f20('0x9'))['to'](this[_0x2f20('0x11')],_0x2f20('0x5'),_0x32e51f=>!_0x32e51f),_0x16c04c['bind'](_0x2f20('0x7'))['to'](this['_model'],'isResolvable',this[_0x2f20('0x11')],_0x2f20('0x2'),(_0x54fa43,_0x134ebb)=>_0x54fa43&&_0x134ebb),_0x16c04c['on']('execute',()=>{this['fire']('reopenCommentThread',this[_0x2f20('0x11')]['id']);}),_0x16c04c;}[_0x2f20('0x15')](_0x498a4d){if(_0x498a4d['length']<0x96)return _0x498a4d;const _0x37159c=_0x498a4d[_0x2f20('0x6')]('\x20',0x93);return _0x498a4d[_0x2f20('0x8')](0x0,_0x37159c>-0x1?_0x37159c:0x93)+_0x2f20('0x4');}[_0x2f20('0x14')](){const _0x56bcdc=this['element'][_0x2f20('0x3')](_0x2f20('0xd')),_0x404250=_0x56bcdc[_0x2f20('0x3')](_0x2f20('0xb'));this[_0x2f20('0x1e')](_0x56bcdc,'mouseenter',()=>{_0x404250['offsetWidth']<_0x404250[_0x2f20('0x22')]&&_0x56bcdc[_0x2f20('0x23')]['add'](_0x2f20('0x0'));}),this[_0x2f20('0x1e')](_0x56bcdc,_0x2f20('0x10'),()=>{_0x56bcdc[_0x2f20('0x23')][_0x2f20('0x1a')]('overlay');});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x283c=['delegate','div','isFocused','ck-thread__input','commentInputView','createEditor','ck-thread__user','then','showInput','editorReady','value','destroy','editorDestroyed','editor','setTemplate','extendTemplate','focusTracker','ck-comment__input-container','showButtons','ck-comment__input-container--active','userView','set'];(function(_0x2ef663,_0x283cad){var _0x34dac1=function(_0x286e49){while(--_0x286e49){_0x2ef663['push'](_0x2ef663['shift']());}};_0x34dac1(++_0x283cad);}(_0x283c,0x70));var _0x34da=function(_0x2ef663,_0x283cad){_0x2ef663=_0x2ef663-0x0;var _0x34dac1=_0x283c[_0x2ef663];return _0x34dac1;};import{View as _0x26c3e3}from'ckeditor5/src/ui';import _0x42f250 from'./commentinputview';import{UserView as _0x482865}from'ckeditor5-collaboration/src/collaboration-core';export default class Ct extends _0x26c3e3{constructor(_0x510dc5,_0x3e938b,_0x4cd7f6){super(_0x510dc5),this[_0x34da('0x2')]=new _0x42f250(_0x510dc5,_0x4cd7f6),this['commentInputView']['bind'](_0x34da('0x10'))['to'](this['commentInputView'][_0x34da('0xe')],_0x34da('0x0'),this[_0x34da('0x2')],_0x34da('0x8'),(_0x43f8c8,_0x49d1e3)=>_0x43f8c8||!!_0x49d1e3),this[_0x34da('0x13')](_0x34da('0x6'),!0x1),this['on']('change:showInput',()=>{this[_0x34da('0x6')]&&!this['commentInputView'][_0x34da('0xb')]&&this[_0x34da('0x2')][_0x34da('0x3')]();}),this[_0x34da('0x2')][_0x34da('0x14')](_0x34da('0x7'))['to'](this),this['commentInputView'][_0x34da('0x14')](_0x34da('0xa'))['to'](this),this[_0x34da('0x12')]=new _0x482865(_0x510dc5,_0x3e938b),this['userView'][_0x34da('0xd')]({'attributes':{'class':_0x34da('0x4')}}),this[_0x34da('0x2')][_0x34da('0xd')]({'attributes':{'class':_0x34da('0x1')}}),this[_0x34da('0xc')]({'tag':_0x34da('0x15'),'attributes':{'class':[_0x34da('0xf'),this['bindTemplate']['if'](_0x34da('0x6'),_0x34da('0x11'))]},'children':[this['userView'],this[_0x34da('0x2')]]});}[_0x34da('0x9')](){return this[_0x34da('0x2')][_0x34da('0x9')]()[_0x34da('0x5')](()=>super['destroy']());}}
23
+ var _0xc546=['editorReady','setTemplate','destroy','ck-comment__input-container','editorDestroyed','value','editor','isFocused','ck-thread__user','div','commentInputView','ck-thread__input','ck-comment__input-container--active','bind','createEditor','extendTemplate','userView','delegate','showInput'];(function(_0x2d0c84,_0xc546d3){var _0x2584ad=function(_0x3bd1c8){while(--_0x3bd1c8){_0x2d0c84['push'](_0x2d0c84['shift']());}};_0x2584ad(++_0xc546d3);}(_0xc546,0x121));var _0x2584=function(_0x2d0c84,_0xc546d3){_0x2d0c84=_0x2d0c84-0x0;var _0x2584ad=_0xc546[_0x2d0c84];return _0x2584ad;};import{View as _0x148ae0}from'ckeditor5/src/ui';import _0xb0a7c6 from'./commentinputview';import{UserView as _0x56bf5f}from'ckeditor5-collaboration/src/collaboration-core';export default class At extends _0x148ae0{constructor(_0x1ed0ff,_0x4275f7,_0x1903ff){super(_0x1ed0ff),this[_0x2584('0x6')]=new _0xb0a7c6(_0x1ed0ff,_0x1903ff),this[_0x2584('0x6')][_0x2584('0x9')]('showButtons')['to'](this[_0x2584('0x6')]['focusTracker'],_0x2584('0x3'),this[_0x2584('0x6')],_0x2584('0x1'),(_0x3d61b1,_0xae2afa)=>_0x3d61b1||!!_0xae2afa),this['set'](_0x2584('0xe'),!0x1),this['on']('change:showInput',()=>{this[_0x2584('0xe')]&&!this['commentInputView'][_0x2584('0x2')]&&this[_0x2584('0x6')][_0x2584('0xa')]();}),this[_0x2584('0x6')][_0x2584('0xd')](_0x2584('0xf'))['to'](this),this[_0x2584('0x6')][_0x2584('0xd')](_0x2584('0x0'))['to'](this),this[_0x2584('0xc')]=new _0x56bf5f(_0x1ed0ff,_0x4275f7),this[_0x2584('0xc')][_0x2584('0xb')]({'attributes':{'class':_0x2584('0x4')}}),this[_0x2584('0x6')]['extendTemplate']({'attributes':{'class':_0x2584('0x7')}}),this[_0x2584('0x10')]({'tag':_0x2584('0x5'),'attributes':{'class':[_0x2584('0x12'),this['bindTemplate']['if'](_0x2584('0xe'),_0x2584('0x8'))]},'children':[this[_0x2584('0xc')],this['commentInputView']]});}['destroy'](){return this['commentInputView'][_0x2584('0x11')]()['then'](()=>super[_0x2584('0x11')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd8e4=['then','isResolvable','ck-thread--unlinked','_model','listenTo','remove','ck-thread','_bindFirstCommentView','isSystemComment','ck-thread--remove-confirmation','bindTemplate','label','actionIndicator','removeButton','stop','bind','isUnlinked','check','archivedAt','div','change:archivedAt','fire','tooltip','resolveButton','commentsListView','cancelConfirm','getTemplate','set','_boundFirstCommentView','commentThreadChildren','has','isReadOnly','containerElement','.ck-thread__container','setTemplate','ck-thread--active','length','execute','querySelector','change:isActive','showConfirm','get','render','actionBar','createCollection','ck-thread--','isResolved','element','ck-thread__container','Write\x20a\x20comment...','isVisible','add','_cancelAllConfirms','ck-reset_all-excluded','commentThreadHeaderView','commentViews','locale','high','icon','change:isReadOnly','addMany','placeholder','_createResolveButton','Resolve'];(function(_0x551d0b,_0xd8e412){const _0x4a26c9=function(_0x5da2d1){while(--_0x5da2d1){_0x551d0b['push'](_0x551d0b['shift']());}};_0x4a26c9(++_0xd8e412);}(_0xd8e4,0x1c9));const _0x4a26=function(_0x551d0b,_0xd8e412){_0x551d0b=_0x551d0b-0x0;let _0x4a26c9=_0xd8e4[_0x551d0b];return _0x4a26c9;};import{ConfirmMixin as _0x42bd5e}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x3c9137}from'ckeditor5/src/ui';import{icons as _0x4723b7}from'ckeditor5/src/core';import _0x540e0a from'./basecommentthreadview';import{getTranslation as _0x570167}from'../../../utils/common-translations';export default class lt extends _0x42bd5e(_0x540e0a){constructor(_0x380f5f,_0x9d861f,_0x2fee93,_0x5259f0){super(_0x380f5f,_0x9d861f,_0x2fee93,_0x5259f0),this[_0x4a26('0x14')]=this[_0x4a26('0x23')](),this['commentThreadChildren'][_0x4a26('0x33')]([this['commentsListView'],this['commentThreadInputView']]),this[_0x4a26('0x3a')][_0x4a26('0x9')]&&this[_0x4a26('0x14')]['add'](this[_0x4a26('0x2d')],0x0),this[_0x4a26('0x3a')]['on'](_0x4a26('0xb'),(_0x5d4529,_0x49d94d,_0x812fa3)=>{_0x812fa3?this[_0x4a26('0x14')][_0x4a26('0x15')](this[_0x4a26('0x2d')])||this[_0x4a26('0x14')][_0x4a26('0x2a')](this[_0x4a26('0x2d')],0x0):this['commentThreadChildren'][_0x4a26('0x3c')](this['commentThreadHeaderView']);}),this[_0x4a26('0x12')]('actionIndicator',null),this[_0x4a26('0x17')]=null,this[_0x4a26('0x13')]=null,this['locale']=_0x380f5f,this[_0x4a26('0xe')]=this[_0x4a26('0x35')](),this[_0x4a26('0x19')](this[_0x4a26('0x11')]()),this['on'](_0x4a26('0x1e'),(_0x1bb61c,_0x1ef90f,_0x3bc5fc)=>{_0x3bc5fc||this[_0x4a26('0x2b')]();}),this[_0x4a26('0x3b')](this[_0x4a26('0x3a')],_0x4a26('0x32'),(_0xf54387,_0x14687e,_0x9d0ccc)=>{_0x9d0ccc&&this[_0x4a26('0x2b')]();}),this[_0x4a26('0x1b')]>0x0&&this[_0x4a26('0x3e')](),this[_0x4a26('0x3b')](this[_0x4a26('0xf')][_0x4a26('0x2e')],_0x4a26('0x2a'),()=>{this[_0x4a26('0x3e')]();});}['getTemplate'](){const _0x3ab21c=this[_0x4a26('0x1')];return{'tag':_0x4a26('0xa'),'attributes':{'class':[_0x4a26('0x3d'),_0x4a26('0x2c'),_0x3ab21c['if']('isActive',_0x4a26('0x1a')),_0x3ab21c['if'](_0x4a26('0x7'),_0x4a26('0x39')),_0x3ab21c['if']('isConfirm',_0x4a26('0x0')),_0x3ab21c['to'](_0x4a26('0x3'),_0x5b8574=>_0x5b8574?_0x4a26('0x24')+_0x5b8574:'')],'data-thread-id':this[_0x4a26('0x3a')]['id'],'tabindex':-0x1},'children':[{'tag':_0x4a26('0xa'),'attributes':{'class':_0x4a26('0x27')},'children':this[_0x4a26('0x14')]}]};}[_0x4a26('0x21')](){super[_0x4a26('0x21')](),this['containerElement']=this[_0x4a26('0x26')][_0x4a26('0x1d')](_0x4a26('0x18'));}[_0x4a26('0x2b')](){this[_0x4a26('0x10')]();for(const _0x1816c3 of this['commentsListView'][_0x4a26('0x2e')])_0x1816c3[_0x4a26('0x10')]();}[_0x4a26('0x3e')](){const {locale:_0x673ffe}=this,_0x46efb4=this[_0x4a26('0xf')][_0x4a26('0x2e')][_0x4a26('0x20')](0x0);_0x46efb4===this['_boundFirstCommentView']||_0x46efb4[_0x4a26('0x3f')]||(this[_0x4a26('0x13')]=_0x46efb4,this['unbind'](_0x4a26('0x3')),this[_0x4a26('0x6')]('actionIndicator')['to'](_0x46efb4,_0x4a26('0x3'),_0x37c26d=>_0x4a26('0x3c')===_0x37c26d?_0x4a26('0x3c'):null),_0x46efb4[_0x4a26('0x34')]=_0x570167(_0x673ffe,_0x4a26('0x28')),_0x46efb4[_0x4a26('0x4')]['on'](_0x4a26('0x1c'),_0x249883=>{_0x249883[_0x4a26('0x5')](),this[_0x4a26('0x1f')](_0x570167(_0x673ffe,'Delete\x20comment\x20thread?'),this[_0x4a26('0x17')])[_0x4a26('0x37')](()=>{this[_0x4a26('0xc')]('removeCommentThread');});},{'priority':_0x4a26('0x30')}),_0x46efb4[_0x4a26('0x22')][_0x4a26('0x2a')](this[_0x4a26('0xe')],0x0));}[_0x4a26('0x35')](){const _0x5abd31=new _0x3c9137(this[_0x4a26('0x2f')]);return _0x5abd31[_0x4a26('0x2')]=_0x570167(this[_0x4a26('0x2f')],_0x4a26('0x36')),_0x5abd31[_0x4a26('0xd')]=_0x570167(this[_0x4a26('0x2f')],_0x4a26('0x36')),_0x5abd31[_0x4a26('0x31')]=_0x4723b7[_0x4a26('0x8')],_0x5abd31['extendTemplate']({'attributes':{'class':'ck-comment--resolve'}}),_0x5abd31[_0x4a26('0x6')]('isEnabled')['to'](this[_0x4a26('0x3a')],_0x4a26('0x16'),_0x590dca=>!_0x590dca),_0x5abd31[_0x4a26('0x6')](_0x4a26('0x29'))['to'](this[_0x4a26('0x3a')],_0x4a26('0x38'),this[_0x4a26('0x3a')],_0x4a26('0x25'),(_0x405624,_0xb5431f)=>_0x405624&&!_0xb5431f),_0x5abd31['on'](_0x4a26('0x1c'),()=>{this[_0x4a26('0xc')]('resolveCommentThread',this[_0x4a26('0x3a')]['id']);}),_0x5abd31;}}
23
+ const _0x1c81=['then','execute','fire','addMany','_createResolveButton','_model','ck-thread--active','archivedAt','resolveButton','div','set','cancelConfirm','isEnabled','unbind','bindTemplate','label','isVisible','remove','locale','Resolve','isConfirm','_boundFirstCommentView','commentThreadInputView','render','isResolvable','commentViews','createCollection','setTemplate','bind','Write\x20a\x20comment...','placeholder','listenTo','ck-comment--resolve','isSystemComment','isActive','actionIndicator','extendTemplate','removeCommentThread','length','check','.ck-thread__container','containerElement','showConfirm','change:isActive','ck-thread--unlinked','isResolved','change:isReadOnly','add','get','_cancelAllConfirms','commentThreadHeaderView','getTemplate','removeButton','isUnlinked','commentThreadChildren','commentsListView','_bindFirstCommentView','resolveCommentThread','ck-thread','change:archivedAt','ck-thread--remove-confirmation','isReadOnly'];(function(_0x54b608,_0x1c818c){const _0x548600=function(_0x3595b5){while(--_0x3595b5){_0x54b608['push'](_0x54b608['shift']());}};_0x548600(++_0x1c818c);}(_0x1c81,0x7a));const _0x5486=function(_0x54b608,_0x1c818c){_0x54b608=_0x54b608-0x0;let _0x548600=_0x1c81[_0x54b608];return _0x548600;};import{ConfirmMixin as _0x1aa197}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x6ea284}from'ckeditor5/src/ui';import{icons as _0x3304ee}from'ckeditor5/src/core';import _0x2f6f61 from'./basecommentthreadview';import{getTranslation as _0x16ae2b}from'../../../utils/common-translations';export default class ft extends _0x1aa197(_0x2f6f61){constructor(_0xc72792,_0x54f9fd,_0x28b276,_0x21582e){super(_0xc72792,_0x54f9fd,_0x28b276,_0x21582e),this[_0x5486('0x38')]=this[_0x5486('0x1c')](),this[_0x5486('0x38')][_0x5486('0x5')]([this[_0x5486('0x39')],this[_0x5486('0x18')]]),this[_0x5486('0x7')][_0x5486('0x9')]&&this[_0x5486('0x38')][_0x5486('0x31')](this[_0x5486('0x34')],0x0),this['_model']['on'](_0x5486('0x3d'),(_0x1eae94,_0x1b9e1d,_0x10ee31)=>{_0x10ee31?this[_0x5486('0x38')]['has'](this[_0x5486('0x34')])||this['commentThreadChildren']['add'](this[_0x5486('0x34')],0x0):this[_0x5486('0x38')][_0x5486('0x13')](this[_0x5486('0x34')]);}),this[_0x5486('0xc')](_0x5486('0x25'),null),this[_0x5486('0x2b')]=null,this[_0x5486('0x17')]=null,this[_0x5486('0x14')]=_0xc72792,this[_0x5486('0xa')]=this[_0x5486('0x6')](),this[_0x5486('0x1d')](this['getTemplate']()),this['on'](_0x5486('0x2d'),(_0x43547a,_0x38e942,_0x288eaf)=>{_0x288eaf||this[_0x5486('0x33')]();}),this['listenTo'](this['_model'],_0x5486('0x30'),(_0x5c9018,_0x557f9f,_0x508b4f)=>{_0x508b4f&&this[_0x5486('0x33')]();}),this[_0x5486('0x28')]>0x0&&this[_0x5486('0x3a')](),this[_0x5486('0x21')](this[_0x5486('0x39')][_0x5486('0x1b')],_0x5486('0x31'),()=>{this[_0x5486('0x3a')]();});}[_0x5486('0x35')](){const _0x2d95f1=this[_0x5486('0x10')];return{'tag':_0x5486('0xb'),'attributes':{'class':[_0x5486('0x3c'),'ck-reset_all-excluded',_0x2d95f1['if'](_0x5486('0x24'),_0x5486('0x8')),_0x2d95f1['if'](_0x5486('0x37'),_0x5486('0x2e')),_0x2d95f1['if'](_0x5486('0x16'),_0x5486('0x0')),_0x2d95f1['to']('actionIndicator',_0x35de33=>_0x35de33?'ck-thread--'+_0x35de33:'')],'data-thread-id':this[_0x5486('0x7')]['id'],'tabindex':-0x1},'children':[{'tag':_0x5486('0xb'),'attributes':{'class':'ck-thread__container'},'children':this[_0x5486('0x38')]}]};}['render'](){super[_0x5486('0x19')](),this[_0x5486('0x2b')]=this['element']['querySelector'](_0x5486('0x2a'));}[_0x5486('0x33')](){this[_0x5486('0xd')]();for(const _0x3d180a of this[_0x5486('0x39')][_0x5486('0x1b')])_0x3d180a[_0x5486('0xd')]();}[_0x5486('0x3a')](){const {locale:_0x494e2c}=this,_0x149215=this[_0x5486('0x39')][_0x5486('0x1b')][_0x5486('0x32')](0x0);_0x149215===this[_0x5486('0x17')]||_0x149215[_0x5486('0x23')]||(this['_boundFirstCommentView']=_0x149215,this[_0x5486('0xf')](_0x5486('0x25')),this[_0x5486('0x1e')](_0x5486('0x25'))['to'](_0x149215,_0x5486('0x25'),_0x469d70=>_0x5486('0x13')===_0x469d70?_0x5486('0x13'):null),_0x149215[_0x5486('0x20')]=_0x16ae2b(_0x494e2c,_0x5486('0x1f')),_0x149215[_0x5486('0x36')]['on'](_0x5486('0x3'),_0x40a753=>{_0x40a753['stop'](),this[_0x5486('0x2c')](_0x16ae2b(_0x494e2c,'Delete\x20comment\x20thread?'),this[_0x5486('0x2b')])[_0x5486('0x2')](()=>{this[_0x5486('0x4')](_0x5486('0x27'));});},{'priority':'high'}),_0x149215['actionBar'][_0x5486('0x31')](this[_0x5486('0xa')],0x0));}[_0x5486('0x6')](){const _0x86a614=new _0x6ea284(this[_0x5486('0x14')]);return _0x86a614[_0x5486('0x11')]=_0x16ae2b(this[_0x5486('0x14')],'Resolve'),_0x86a614['tooltip']=_0x16ae2b(this[_0x5486('0x14')],_0x5486('0x15')),_0x86a614['icon']=_0x3304ee[_0x5486('0x29')],_0x86a614[_0x5486('0x26')]({'attributes':{'class':_0x5486('0x22')}}),_0x86a614[_0x5486('0x1e')](_0x5486('0xe'))['to'](this[_0x5486('0x7')],_0x5486('0x1'),_0xf14fad=>!_0xf14fad),_0x86a614[_0x5486('0x1e')](_0x5486('0x12'))['to'](this[_0x5486('0x7')],_0x5486('0x1a'),this[_0x5486('0x7')],_0x5486('0x2f'),(_0x46ff28,_0x294c20)=>_0x46ff28&&!_0x294c20),_0x86a614['on'](_0x5486('0x3'),()=>{this[_0x5486('0x4')](_0x5486('0x3b'),this[_0x5486('0x7')]['id']);}),_0x86a614;}}