@ckeditor/ckeditor5-comments 0.0.0-nightly-20231029.0 → 0.0.0-nightly-20231031.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/build/comments.js +1 -1
  2. package/package.json +3 -3
  3. package/src/annotations/annotation.js +1 -1
  4. package/src/annotations/annotationcollection.js +1 -1
  5. package/src/annotations/annotations.js +1 -1
  6. package/src/annotations/annotationsuis.js +1 -1
  7. package/src/annotations/editorannotations.js +1 -1
  8. package/src/annotations/inlineannotations.js +1 -1
  9. package/src/annotations/narrowsidebar.js +1 -1
  10. package/src/annotations/sidebar.js +1 -1
  11. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  12. package/src/annotations/view/annotationview.js +1 -1
  13. package/src/annotations/view/sidebaritemview.js +1 -1
  14. package/src/annotations/view/sidebarview.js +1 -1
  15. package/src/annotations/widesidebar.js +1 -1
  16. package/src/comments/addcommentthreadcommand.js +1 -1
  17. package/src/comments/commentsarchive.js +1 -1
  18. package/src/comments/commentsarchiveui.js +1 -1
  19. package/src/comments/commentsediting.js +1 -1
  20. package/src/comments/commentsrepository.js +1 -1
  21. package/src/comments/commentsui.js +1 -1
  22. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  23. package/src/comments/integrations/importword.js +1 -1
  24. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  25. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  26. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  27. package/src/comments/ui/commentthreadcontroller.js +1 -1
  28. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  29. package/src/comments/ui/view/basecommentview.js +1 -1
  30. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  31. package/src/comments/ui/view/commentcontentview.js +1 -1
  32. package/src/comments/ui/view/commentinputview.js +1 -1
  33. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  34. package/src/comments/ui/view/commentslistview.js +1 -1
  35. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  36. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  37. package/src/comments/ui/view/commentthreadview.js +1 -1
  38. package/src/comments/ui/view/commentview.js +1 -1
  39. package/src/comments.js +1 -1
  40. package/src/commentsonly.js +1 -1
  41. package/src/utils/common-translations.js +1 -1
  42. package/src/utils/createmutationobserver.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x263a=['editor','basic','map','define','dataInsert','collaboration.channelId','addCommentThread','config','get','formatting','comments','importWord','_handleImportedData','importWord.formatting.comments','plugins'];(function(_0x2cc713,_0x263ac9){const _0x3dd5ea=function(_0x9d7f53){while(--_0x9d7f53){_0x2cc713['push'](_0x2cc713['shift']());}};_0x3dd5ea(++_0x263ac9);}(_0x263a,0x120));const _0x3dd5=function(_0x2cc713,_0x263ac9){_0x2cc713=_0x2cc713-0x0;let _0x3dd5ea=_0x263a[_0x2cc713];return _0x3dd5ea;};import{Plugin as _0xfa4121}from'ckeditor5/src/core';import{priorities as _0x4f8760}from'ckeditor5/src/utils';import{Users as _0x3e4e03}from'ckeditor5-collaboration/src/collaboration-core';import _0x29d939 from'../commentsrepository';export default class Y extends _0xfa4121{constructor(_0x206478){super(_0x206478),this['editor']['config'][_0x3dd5('0x0')]('importWord.formatting.comments',_0x3dd5('0xd'));}['afterInit'](){const _0xfffe91=this['editor'],_0x497648=_0xfffe91['commands'][_0x3dd5('0x5')](_0x3dd5('0x8')),_0x4b3d70=_0xfffe91[_0x3dd5('0xb')][_0x3dd5('0x5')](_0x3e4e03);_0x497648&&(_0x497648['on']('execute',(_0x5e505e,[,_0x28a37e])=>{_0x28a37e['collaboration_features']={'comments':!0x0,'user_id':_0x4b3d70['me']['id']},_0x28a37e[_0x3dd5('0x6')][_0x3dd5('0x7')]=this['editor'][_0x3dd5('0x4')][_0x3dd5('0x5')](_0x3dd5('0xa'));},{'priority':_0x4f8760['high']+0xa}),this['listenTo'](_0x497648,_0x3dd5('0x1'),this[_0x3dd5('0x9')]));}[_0x3dd5('0x9')](_0x45b574,_0x1f80bb){const {comment_threads:_0x5eae51}=_0x1f80bb;_0x5eae51&&_0x5eae51['forEach'](({thread_id:_0xd8ab9d,comments:_0x11110b,is_resolved:_0x1253d6})=>{const _0x343823=new Date(),_0x299bf6=_0x11110b[_0x3dd5('0xe')](({author:_0x29f70b,content:_0x2c6721,created_at:_0x2e3102})=>({'content':_0x2c6721,'authorId':this[_0x3dd5('0xc')][_0x3dd5('0xb')][_0x3dd5('0x5')](_0x3e4e03)['me']['id'],'createdAt':_0x343823,'attributes':{'@external':{'authorName':_0x29f70b,'createdAt':_0x2e3102?new Date(_0x2e3102):new Date(),'source':_0x3dd5('0x8')}}})),_0xb67be4=this[_0x3dd5('0xc')][_0x3dd5('0x4')][_0x3dd5('0x5')](_0x3dd5('0x2'));this[_0x3dd5('0xc')][_0x3dd5('0xb')][_0x3dd5('0x5')](_0x29d939)[_0x3dd5('0x3')]({'channelId':_0xb67be4,'threadId':_0xd8ab9d,'comments':_0x299bf6,'resolvedAt':_0x1253d6?_0x343823:null});});}}
23
+ const _0x43ad=['map','plugins','collaboration_features','get','comments','define','forEach','collaboration.channelId','commands','formatting','addCommentThread','editor','execute','_handleImportedData','high','dataInsert','config','importWord','importWord.formatting.comments'];(function(_0x59ba39,_0x43ad33){const _0x4b4125=function(_0x12fa65){while(--_0x12fa65){_0x59ba39['push'](_0x59ba39['shift']());}};_0x4b4125(++_0x43ad33);}(_0x43ad,0x1dd));const _0x4b41=function(_0x59ba39,_0x43ad33){_0x59ba39=_0x59ba39-0x0;let _0x4b4125=_0x43ad[_0x59ba39];return _0x4b4125;};import{Plugin as _0x47d7b6}from'ckeditor5/src/core';import{priorities as _0x2e3a7b}from'ckeditor5/src/utils';import{Users as _0x14defd}from'ckeditor5-collaboration/src/collaboration-core';import _0x526b91 from'../commentsrepository';export default class Y extends _0x47d7b6{constructor(_0x1aa9f8){super(_0x1aa9f8),this[_0x4b41('0x9')][_0x4b41('0xe')][_0x4b41('0x3')](_0x4b41('0x10'),'basic');}['afterInit'](){const _0x3794ff=this[_0x4b41('0x9')],_0x468775=_0x3794ff[_0x4b41('0x6')]['get'](_0x4b41('0xf')),_0x2c97d3=_0x3794ff[_0x4b41('0x12')]['get'](_0x14defd);_0x468775&&(_0x468775['on'](_0x4b41('0xa'),(_0x47c27c,[,_0x543765])=>{_0x543765[_0x4b41('0x0')]={'comments':!0x0,'user_id':_0x2c97d3['me']['id']},_0x543765[_0x4b41('0x7')][_0x4b41('0x2')]=this[_0x4b41('0x9')]['config'][_0x4b41('0x1')](_0x4b41('0x10'));},{'priority':_0x2e3a7b[_0x4b41('0xc')]+0xa}),this['listenTo'](_0x468775,_0x4b41('0xd'),this[_0x4b41('0xb')]));}[_0x4b41('0xb')](_0x409f93,_0x55999a){const {comment_threads:_0x33364b}=_0x55999a;_0x33364b&&_0x33364b[_0x4b41('0x4')](({thread_id:_0x461429,comments:_0x5698e1,is_resolved:_0xf8b9b4})=>{const _0x1618c5=new Date(),_0x495eb4=_0x5698e1[_0x4b41('0x11')](({author:_0x2d50e6,content:_0x2ad2be,created_at:_0x539995})=>({'content':_0x2ad2be,'authorId':this[_0x4b41('0x9')][_0x4b41('0x12')][_0x4b41('0x1')](_0x14defd)['me']['id'],'createdAt':_0x1618c5,'attributes':{'@external':{'authorName':_0x2d50e6,'createdAt':_0x539995?new Date(_0x539995):new Date(),'source':_0x4b41('0xf')}}})),_0x5cdd2c=this[_0x4b41('0x9')][_0x4b41('0xe')]['get'](_0x4b41('0x5'));this[_0x4b41('0x9')]['plugins']['get'](_0x526b91)[_0x4b41('0x8')]({'channelId':_0x5cdd2c,'threadId':_0x461429,'comments':_0x495eb4,'resolvedAt':_0xf8b9b4?_0x1618c5:null});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11d5=['set','_updatePlaceholder','view','change','fire','getRoot','plugins','config','then','change:placeholder','assign','getChild','destroy','initPlugins','focus','init','initialData','get','ready','defaultPlugins','editing','placeholderElement','model','placeholder','document','name','create','createRoot','low'];(function(_0x4fd7ae,_0x11d531){const _0x41d35b=function(_0x3ece07){while(--_0x3ece07){_0x4fd7ae['push'](_0x4fd7ae['shift']());}};_0x41d35b(++_0x11d531);}(_0x11d5,0x1b3));const _0x41d3=function(_0x4fd7ae,_0x11d531){_0x4fd7ae=_0x4fd7ae-0x0;let _0x41d35b=_0x11d5[_0x4fd7ae];return _0x41d35b;};import{Editor as _0x2873d3,DataApiMixin as _0xcffb17}from'ckeditor5/src/core';import _0x3e01e3 from'./commenteditorui';import{ObservableMixin as _0x200250}from'ckeditor5/src/utils';import{enablePlaceholder as _0xd149fe,disablePlaceholder as _0x48d7aa}from'ckeditor5/src/engine';import{Clipboard as _0x195de5}from'ckeditor5/src/clipboard';import{Enter as _0x477087,ShiftEnter as _0x2bc20a}from'ckeditor5/src/enter';import{SelectAll as _0x53f112}from'ckeditor5/src/select-all';import{Typing as _0x15cf0e}from'ckeditor5/src/typing';import{Undo as _0xd14561}from'ckeditor5/src/undo';import{Paragraph as _0x10ba65}from'ckeditor5/src/paragraph';const Kt=[_0x195de5,_0x477087,_0x2bc20a,_0x53f112,_0x15cf0e,_0xd14561,_0x10ba65];export default class Lt extends _0x200250(_0xcffb17(_0x2873d3)){constructor(_0x1faed6={}){(_0x1faed6=Object[_0x41d3('0xa')]({},_0x1faed6))[_0x41d3('0x6')]||(_0x1faed6['plugins']=Lt[_0x41d3('0x13')]),super(_0x1faed6),this['ui']=new _0x3e01e3(this),this[_0x41d3('0x0')](_0x41d3('0x17'),''),this[_0x41d3('0x16')][_0x41d3('0x18')]['on'](_0x41d3('0x3'),()=>this['_updatePlaceholder'](),{'priority':_0x41d3('0x1c')}),this['on'](_0x41d3('0x9'),()=>this[_0x41d3('0x1')]()),this[_0x41d3('0x16')][_0x41d3('0x18')][_0x41d3('0x1b')]();}[_0x41d3('0x1a')](){const _0x342ef1=this[_0x41d3('0x7')][_0x41d3('0x11')](_0x41d3('0x10'))||'';return this[_0x41d3('0xd')]()[_0x41d3('0x8')](()=>this['ui'][_0x41d3('0xf')]())[_0x41d3('0x8')](()=>this['data'][_0x41d3('0xf')](_0x342ef1))[_0x41d3('0x8')](()=>this[_0x41d3('0x4')](_0x41d3('0x12')));}[_0x41d3('0xc')](){return super[_0x41d3('0xc')]()[_0x41d3('0x8')](()=>this['ui'][_0x41d3('0xc')]());}[_0x41d3('0xe')](){this['model'][_0x41d3('0x3')](_0x7298cc=>{const _0x138357=this[_0x41d3('0x16')][_0x41d3('0x18')][_0x41d3('0x5')](),_0x4945fb=_0x138357&&_0x138357[_0x41d3('0xb')](_0x138357['childCount']-0x1);_0x7298cc['setSelection'](_0x4945fb,'end'),this[_0x41d3('0x14')][_0x41d3('0x2')][_0x41d3('0xe')]();});}['_updatePlaceholder'](){const _0x17499d=this[_0x41d3('0x14')][_0x41d3('0x2')],_0x118baf=_0x17499d['document'][_0x41d3('0x5')](),_0x4f3394=_0x118baf[_0x41d3('0xb')](0x0);_0x118baf['childCount']>0x1||!_0x4f3394||'p'!=_0x4f3394[_0x41d3('0x19')]?this[_0x41d3('0x15')]&&this[_0x41d3('0x15')]['placeholder']&&(_0x48d7aa(_0x17499d,this[_0x41d3('0x15')]),this[_0x41d3('0x15')]=void 0x0):(this['placeholder']&&(_0x4f3394['placeholder']=this[_0x41d3('0x17')]),_0xd149fe({'view':_0x17499d,'element':_0x4f3394,'keepOnFocus':!0x0}),this['placeholderElement']=_0x4f3394);}}Lt['defaultPlugins']=Kt;
23
+ const _0x3ab5=['getChild','setSelection','then','document','destroy','focus','data','placeholder','config','model','assign','defaultPlugins','childCount','end','placeholderElement','_updatePlaceholder','getRoot','init','set','change','plugins','change:placeholder','initialData','createRoot'];(function(_0x48803c,_0x3ab572){const _0x41bb25=function(_0x2f04d5){while(--_0x2f04d5){_0x48803c['push'](_0x48803c['shift']());}};_0x41bb25(++_0x3ab572);}(_0x3ab5,0x194));const _0x41bb=function(_0x48803c,_0x3ab572){_0x48803c=_0x48803c-0x0;let _0x41bb25=_0x3ab5[_0x48803c];return _0x41bb25;};import{Editor as _0x45c9a2,DataApiMixin as _0x2c689e}from'ckeditor5/src/core';import _0x419f82 from'./commenteditorui';import{ObservableMixin as _0x575713}from'ckeditor5/src/utils';import{enablePlaceholder as _0x3fa097,disablePlaceholder as _0x58a7e8}from'ckeditor5/src/engine';import{Clipboard as _0x4e6a2e}from'ckeditor5/src/clipboard';import{Enter as _0x50cc25,ShiftEnter as _0x126092}from'ckeditor5/src/enter';import{SelectAll as _0x2352b1}from'ckeditor5/src/select-all';import{Typing as _0x269706}from'ckeditor5/src/typing';import{Undo as _0x142f53}from'ckeditor5/src/undo';import{Paragraph as _0x34d50f}from'ckeditor5/src/paragraph';const Kt=[_0x4e6a2e,_0x50cc25,_0x126092,_0x2352b1,_0x269706,_0x142f53,_0x34d50f];export default class Lt extends _0x575713(_0x2c689e(_0x45c9a2)){constructor(_0x422db3={}){(_0x422db3=Object[_0x41bb('0xe')]({},_0x422db3))[_0x41bb('0x0')]||(_0x422db3[_0x41bb('0x0')]=Lt[_0x41bb('0xf')]),super(_0x422db3),this['ui']=new _0x419f82(this),this[_0x41bb('0x16')](_0x41bb('0xb'),''),this[_0x41bb('0xd')][_0x41bb('0x7')]['on'](_0x41bb('0x17'),()=>this[_0x41bb('0x13')](),{'priority':'low'}),this['on'](_0x41bb('0x1'),()=>this['_updatePlaceholder']()),this[_0x41bb('0xd')]['document'][_0x41bb('0x3')]();}['create'](){const _0x2cdce3=this[_0x41bb('0xc')]['get'](_0x41bb('0x2'))||'';return this['initPlugins']()[_0x41bb('0x6')](()=>this['ui'][_0x41bb('0x15')]())[_0x41bb('0x6')](()=>this[_0x41bb('0xa')][_0x41bb('0x15')](_0x2cdce3))['then'](()=>this['fire']('ready'));}[_0x41bb('0x8')](){return super['destroy']()[_0x41bb('0x6')](()=>this['ui']['destroy']());}['focus'](){this[_0x41bb('0xd')][_0x41bb('0x17')](_0x191982=>{const _0x381bd1=this[_0x41bb('0xd')][_0x41bb('0x7')]['getRoot'](),_0xb8d8a1=_0x381bd1&&_0x381bd1['getChild'](_0x381bd1['childCount']-0x1);_0x191982[_0x41bb('0x5')](_0xb8d8a1,_0x41bb('0x11')),this['editing']['view'][_0x41bb('0x9')]();});}['_updatePlaceholder'](){const _0x11b9d4=this['editing']['view'],_0x2e426f=_0x11b9d4[_0x41bb('0x7')][_0x41bb('0x14')](),_0x5616ed=_0x2e426f[_0x41bb('0x4')](0x0);_0x2e426f[_0x41bb('0x10')]>0x1||!_0x5616ed||'p'!=_0x5616ed['name']?this[_0x41bb('0x12')]&&this[_0x41bb('0x12')]['placeholder']&&(_0x58a7e8(_0x11b9d4,this['placeholderElement']),this['placeholderElement']=void 0x0):(this['placeholder']&&(_0x5616ed['placeholder']=this[_0x41bb('0xb')]),_0x3fa097({'view':_0x11b9d4,'element':_0x5616ed,'keepOnFocus':!0x0}),this['placeholderElement']=_0x5616ed);}}Lt[_0x41bb('0xf')]=Kt;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4785=['render','view','editing','editable','editor','attachDomRoot','rootName','init','locale','ready','element','getRoot','isFocused','focusTracker','name','destroy'];(function(_0x534176,_0x47857b){const _0x99eb9d=function(_0x1fd338){while(--_0x1fd338){_0x534176['push'](_0x534176['shift']());}};_0x99eb9d(++_0x47857b);}(_0x4785,0x1c2));const _0x99eb=function(_0x534176,_0x47857b){_0x534176=_0x534176-0x0;let _0x99eb9d=_0x4785[_0x534176];return _0x99eb9d;};import{EditorUI as _0x4bdce}from'ckeditor5/src/ui';import _0x47ddca from'./commenteditoruiview';export default class jt extends _0x4bdce{constructor(_0x5e10e3){super(_0x5e10e3),this[_0x99eb('0xf')]=new _0x47ddca(_0x5e10e3[_0x99eb('0x6')],_0x5e10e3[_0x99eb('0x0')]['view']);}get[_0x99eb('0x8')](){return this[_0x99eb('0xf')]['element'];}[_0x99eb('0x5')](){const _0x54ef54=this[_0x99eb('0x2')][_0x99eb('0x0')][_0x99eb('0xf')],_0x2e6e25=this[_0x99eb('0xf')][_0x99eb('0x1')],_0xae90f2=_0x54ef54['document'][_0x99eb('0x9')]();_0x2e6e25['name']=_0xae90f2[_0x99eb('0x4')],this[_0x99eb('0xf')][_0x99eb('0xe')]();const _0x57fdcc=_0x2e6e25[_0x99eb('0x8')];this['setEditableElement'](_0x2e6e25[_0x99eb('0xc')],_0x57fdcc),this[_0x99eb('0xf')][_0x99eb('0x1')]['bind'](_0x99eb('0xa'))['to'](this[_0x99eb('0xb')]),_0x54ef54[_0x99eb('0x3')](_0x57fdcc),this['fire'](_0x99eb('0x7'));}[_0x99eb('0xd')](){super['destroy'](),this[_0x99eb('0xf')][_0x99eb('0xd')]();}}
23
+ const _0x2793=['bind','ready','rootName','name','fire','editable','document','view','init','destroy','focusTracker','editing','element','setEditableElement','attachDomRoot','isFocused'];(function(_0x2a1f87,_0x2793f8){const _0xbaa2e7=function(_0x36eec3){while(--_0x36eec3){_0x2a1f87['push'](_0x2a1f87['shift']());}};_0xbaa2e7(++_0x2793f8);}(_0x2793,0x115));const _0xbaa2=function(_0x2a1f87,_0x2793f8){_0x2a1f87=_0x2a1f87-0x0;let _0xbaa2e7=_0x2793[_0x2a1f87];return _0xbaa2e7;};import{EditorUI as _0xb9d672}from'ckeditor5/src/ui';import _0x4d15b9 from'./commenteditoruiview';export default class jt extends _0xb9d672{constructor(_0x220980){super(_0x220980),this['view']=new _0x4d15b9(_0x220980['locale'],_0x220980['editing'][_0xbaa2('0x2')]);}get[_0xbaa2('0x7')](){return this['view'][_0xbaa2('0x7')];}[_0xbaa2('0x3')](){const _0x54e627=this['editor'][_0xbaa2('0x6')]['view'],_0x517ccc=this[_0xbaa2('0x2')][_0xbaa2('0x0')],_0x345d46=_0x54e627[_0xbaa2('0x1')]['getRoot']();_0x517ccc[_0xbaa2('0xe')]=_0x345d46[_0xbaa2('0xd')],this['view']['render']();const _0x237ac4=_0x517ccc['element'];this[_0xbaa2('0x8')](_0x517ccc[_0xbaa2('0xe')],_0x237ac4),this[_0xbaa2('0x2')][_0xbaa2('0x0')][_0xbaa2('0xb')](_0xbaa2('0xa'))['to'](this[_0xbaa2('0x5')]),_0x54e627[_0xbaa2('0x9')](_0x237ac4),this[_0xbaa2('0xf')](_0xbaa2('0xc'));}[_0xbaa2('0x4')](){super[_0xbaa2('0x4')](),this['view'][_0xbaa2('0x4')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5665=['ck-editor','extendTemplate','div','render','ck-rounded-corners','comment','_createVoiceLabel','presentation','text','element','ck-reset','createCollection','cke-editor__aria-label_','ck-editor__main','main','uiLanguageDirection','add','editable','setTemplate','focus'];(function(_0x83e9d2,_0x56652a){const _0x2481d1=function(_0x4608fa){while(--_0x4608fa){_0x83e9d2['push'](_0x83e9d2['shift']());}};_0x2481d1(++_0x56652a);}(_0x5665,0x86));const _0x2481=function(_0x83e9d2,_0x56652a){_0x83e9d2=_0x83e9d2-0x0;let _0x2481d1=_0x5665[_0x83e9d2];return _0x2481d1;};import{InlineEditableUIView as _0x323761,EditorUIView as _0x151364,LabelView as _0x5ee819}from'ckeditor5/src/ui';import{uid as _0x29157b}from'ckeditor5/src/utils';import{getTranslation as _0x3603e8}from'../../../utils/common-translations';export default class Nt extends _0x151364{constructor(_0x4e7eee,_0x367c4a){super(_0x4e7eee);const _0x31cdca=_0x29157b();this[_0x2481('0x0')]=this[_0x2481('0x11')](),this[_0x2481('0x3')]=new _0x323761(_0x4e7eee,_0x367c4a),this['_voiceLabelView']=this[_0x2481('0xc')](_0x31cdca,_0x4e7eee),this[_0x2481('0x4')]({'tag':_0x2481('0x8'),'attributes':{'class':[_0x2481('0x10'),_0x2481('0x6'),_0x2481('0xa'),'ck-comment__input'],'role':_0x2481('0xb'),'dir':_0x4e7eee[_0x2481('0x1')],'lang':_0x4e7eee['uiLanguage'],'aria-labelledby':_0x2481('0x12')+_0x31cdca},'children':[this['_voiceLabelView'],{'tag':_0x2481('0x8'),'attributes':{'class':_0x2481('0x13'),'role':_0x2481('0xd')},'children':this[_0x2481('0x0')]}]});}[_0x2481('0x9')](){super['render'](),this[_0x2481('0x0')][_0x2481('0x2')](this[_0x2481('0x3')]);}[_0x2481('0x5')](){this[_0x2481('0x3')][_0x2481('0xf')][_0x2481('0x5')]();}['_createVoiceLabel'](_0x5baec5,_0x3f5b92){const _0x1240bd=new _0x5ee819();return _0x1240bd[_0x2481('0xe')]=_0x3603e8(_0x3f5b92,'Comment\x20editor'),_0x1240bd[_0x2481('0x7')]({'attributes':{'id':'ck-editor__aria-label_'+_0x5baec5,'class':'ck-voice-label'}}),_0x1240bd;}}
23
+ const _0x5d90=['uiLanguageDirection','Comment\x20editor','presentation','focus','setTemplate','ck-editor__aria-label_','ck-rounded-corners','ck-comment__input','main','ck-editor','extendTemplate','add','uiLanguage','editable','ck-voice-label','createCollection','_voiceLabelView','div','_createVoiceLabel','element','ck-editor__main','comment'];(function(_0x45acda,_0x5d9092){const _0xba586b=function(_0x274558){while(--_0x274558){_0x45acda['push'](_0x45acda['shift']());}};_0xba586b(++_0x5d9092);}(_0x5d90,0x188));const _0xba58=function(_0x45acda,_0x5d9092){_0x45acda=_0x45acda-0x0;let _0xba586b=_0x5d90[_0x45acda];return _0xba586b;};import{InlineEditableUIView as _0x2248e6,EditorUIView as _0x3f11dd,LabelView as _0x1c4923}from'ckeditor5/src/ui';import{uid as _0x50ff81}from'ckeditor5/src/utils';import{getTranslation as _0x553a33}from'../../../utils/common-translations';export default class Nt extends _0x3f11dd{constructor(_0x438b39,_0x1be9da){super(_0x438b39);const _0x33438c=_0x50ff81();this['main']=this[_0xba58('0x13')](),this[_0xba58('0x11')]=new _0x2248e6(_0x438b39,_0x1be9da),this[_0xba58('0x14')]=this['_createVoiceLabel'](_0x33438c,_0x438b39),this[_0xba58('0x8')]({'tag':_0xba58('0x15'),'attributes':{'class':['ck-reset',_0xba58('0xd'),_0xba58('0xa'),_0xba58('0xb')],'role':_0xba58('0x3'),'dir':_0x438b39[_0xba58('0x4')],'lang':_0x438b39[_0xba58('0x10')],'aria-labelledby':'cke-editor__aria-label_'+_0x33438c},'children':[this[_0xba58('0x14')],{'tag':_0xba58('0x15'),'attributes':{'class':_0xba58('0x2'),'role':_0xba58('0x6')},'children':this[_0xba58('0xc')]}]});}['render'](){super['render'](),this['main'][_0xba58('0xf')](this[_0xba58('0x11')]);}[_0xba58('0x7')](){this[_0xba58('0x11')][_0xba58('0x1')][_0xba58('0x7')]();}[_0xba58('0x0')](_0x30b015,_0xffd2ac){const _0x1d9590=new _0x1c4923();return _0x1d9590['text']=_0x553a33(_0xffd2ac,_0xba58('0x5')),_0x1d9590[_0xba58('0xe')]({'attributes':{'id':_0xba58('0x9')+_0x30b015,'class':_0xba58('0x12')}}),_0x1d9590;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x89a5=['isResolved','updateComment','addComment','model','reopen','destroy','resolve','remove','update','resolveCommentThread','getComment','_localUser','_isAttached','reopenCommentThread','listenTo','submit','view','removeComment','stopListening'];(function(_0x2dfa3a,_0x89a5d5){var _0x2e8448=function(_0x1f95ed){while(--_0x1f95ed){_0x2dfa3a['push'](_0x2dfa3a['shift']());}};_0x2e8448(++_0x89a5d5);}(_0x89a5,0x125));var _0x2e84=function(_0x2dfa3a,_0x89a5d5){_0x2dfa3a=_0x2dfa3a-0x0;var _0x2e8448=_0x89a5[_0x2dfa3a];return _0x2e8448;};import{ObservableMixin as _0x3ba484}from'ckeditor5/src/utils';export default class ct extends _0x3ba484(){constructor(_0x1286af,_0x561a2b){super(),this['model']=_0x1286af,this['model'][_0x2e84('0x4')]=!0x0,this[_0x2e84('0x8')]=_0x561a2b,this[_0x2e84('0x6')](_0x561a2b,'submitCommentThread',()=>this[_0x2e84('0x7')]()),this[_0x2e84('0x6')](_0x561a2b,'removeCommentThread',()=>this[_0x2e84('0x12')]()),this[_0x2e84('0x6')](_0x561a2b,_0x2e84('0x1'),()=>this[_0x2e84('0x11')]()),this[_0x2e84('0x6')](_0x561a2b,_0x2e84('0x5'),()=>this[_0x2e84('0xf')]()),this[_0x2e84('0x6')](_0x561a2b,_0x2e84('0xd'),(_0x40d72d,_0x30238a)=>this[_0x2e84('0xd')](_0x30238a)),this['listenTo'](_0x561a2b,'updateComment',(_0x357b01,_0x7d0655,_0x378b0a)=>this[_0x2e84('0xc')](_0x7d0655,_0x378b0a)),this[_0x2e84('0x6')](_0x561a2b,_0x2e84('0x9'),(_0x5b43bc,_0x5ea939)=>this['removeComment'](_0x5ea939));}[_0x2e84('0x7')](){this['model']['submit']();}[_0x2e84('0x12')](){this[_0x2e84('0xe')][_0x2e84('0x12')]();}['resolve'](){this[_0x2e84('0xe')]['isResolved']||this[_0x2e84('0xe')][_0x2e84('0x11')]();}[_0x2e84('0xf')](){this[_0x2e84('0xe')][_0x2e84('0xb')]&&this[_0x2e84('0xe')][_0x2e84('0xf')]();}[_0x2e84('0xd')](_0x12ac35){this[_0x2e84('0xe')]['addComment']({'content':_0x12ac35,'authorId':this[_0x2e84('0x8')][_0x2e84('0x3')]['id']});}[_0x2e84('0xc')](_0xda68be,_0xc37d4d){this[_0x2e84('0xe')]['getComment'](_0xda68be)[_0x2e84('0x0')]({'content':_0xc37d4d});}[_0x2e84('0x9')](_0x50b0c5){this[_0x2e84('0xe')][_0x2e84('0x2')](_0x50b0c5)['remove']();}[_0x2e84('0x10')](){this[_0x2e84('0xa')](),this[_0x2e84('0xe')][_0x2e84('0x4')]=!0x1;}}
23
+ var _0x2569=['removeComment','isResolved','reopen','reopenCommentThread','submit','destroy','addComment','model','listenTo','updateComment','_isAttached','getComment','_localUser','view','resolve','remove','stopListening','resolveCommentThread'];(function(_0x1db564,_0x25690b){var _0x2097fa=function(_0x41a8fe){while(--_0x41a8fe){_0x1db564['push'](_0x1db564['shift']());}};_0x2097fa(++_0x25690b);}(_0x2569,0xe0));var _0x2097=function(_0x1db564,_0x25690b){_0x1db564=_0x1db564-0x0;var _0x2097fa=_0x2569[_0x1db564];return _0x2097fa;};import{ObservableMixin as _0x7b93dd}from'ckeditor5/src/utils';export default class ct extends _0x7b93dd(){constructor(_0x670409,_0xdab5e1){super(),this[_0x2097('0x11')]=_0x670409,this[_0x2097('0x11')]['_isAttached']=!0x0,this[_0x2097('0x5')]=_0xdab5e1,this[_0x2097('0x0')](_0xdab5e1,'submitCommentThread',()=>this[_0x2097('0xe')]()),this[_0x2097('0x0')](_0xdab5e1,'removeCommentThread',()=>this[_0x2097('0x7')]()),this[_0x2097('0x0')](_0xdab5e1,_0x2097('0x9'),()=>this[_0x2097('0x6')]()),this[_0x2097('0x0')](_0xdab5e1,_0x2097('0xd'),()=>this[_0x2097('0xc')]()),this['listenTo'](_0xdab5e1,_0x2097('0x10'),(_0x5c0c82,_0x50355f)=>this[_0x2097('0x10')](_0x50355f)),this['listenTo'](_0xdab5e1,_0x2097('0x1'),(_0x4022e2,_0x25b18,_0x53c1d8)=>this[_0x2097('0x1')](_0x25b18,_0x53c1d8)),this[_0x2097('0x0')](_0xdab5e1,_0x2097('0xa'),(_0x23463a,_0x3b174d)=>this['removeComment'](_0x3b174d));}[_0x2097('0xe')](){this[_0x2097('0x11')][_0x2097('0xe')]();}[_0x2097('0x7')](){this[_0x2097('0x11')][_0x2097('0x7')]();}[_0x2097('0x6')](){this[_0x2097('0x11')]['isResolved']||this[_0x2097('0x11')]['resolve']();}[_0x2097('0xc')](){this[_0x2097('0x11')][_0x2097('0xb')]&&this[_0x2097('0x11')][_0x2097('0xc')]();}[_0x2097('0x10')](_0xd5766e){this[_0x2097('0x11')][_0x2097('0x10')]({'content':_0xd5766e,'authorId':this['view'][_0x2097('0x4')]['id']});}['updateComment'](_0x635e1f,_0x41621a){this[_0x2097('0x11')][_0x2097('0x3')](_0x635e1f)['update']({'content':_0x41621a});}['removeComment'](_0x27f6e3){this[_0x2097('0x11')][_0x2097('0x3')](_0x27f6e3)[_0x2097('0x7')]();}[_0x2097('0xf')](){this[_0x2097('0x8')](),this['model'][_0x2097('0x2')]=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x511a=['isResolvable','_createCommentThreadInputView','locale','delegate','addComment','_model','bind','focus','Reply\x20to\x20reopen\x20discussion...','stop','assign','change:isActive','isActive','set','isUnlinked','destroy','value','commentsListView','resolveCommentThread','CommentView','isDirty','isReadOnly','length','submitCommentThread','cancel','editorReady','removeComment','placeholder','_config','element','unlinkedAt','showInput','hasDirtyComment','fire','canComment','removeCommentThread','listenTo','isResolved','archivedAt','updateComment','commentThreadInputView','Comment','Reply...','Write\x20a\x20comment...','submit','commentInputView','editorDestroyed','_localUser','disabledSubmit','reopenCommentThread','editorConfig'];(function(_0x2e76b3,_0x511a1c){const _0x51f594=function(_0x229a1a){while(--_0x229a1a){_0x2e76b3['push'](_0x2e76b3['shift']());}};_0x51f594(++_0x511a1c);}(_0x511a,0x127));const _0x51f5=function(_0x2e76b3,_0x511a1c){_0x2e76b3=_0x2e76b3-0x0;let _0x51f594=_0x511a[_0x2e76b3];return _0x51f594;};import{View as _0x368ebd}from'ckeditor5/src/ui';import _0x4977ce from'./commentthreadinputview';import _0x42d107 from'./commentslistview';import _0x1893a4 from'./commentthreadheaderview';import{getTranslation as _0x18bae2}from'../../../utils/common-translations';export default class Tt extends _0x368ebd{constructor(_0x3cdc22,_0x53111c,_0x25beec,_0x4055ba){super(_0x3cdc22),this['set'](_0x51f5('0x17'),!0x1),this[_0x51f5('0x18')](_0x51f5('0x1f'),!0x1),this['_model']=_0x53111c,this[_0x51f5('0x7')]=_0x25beec,this['_config']=_0x4055ba,this['commentThreadHeaderView']=new _0x1893a4(_0x3cdc22,_0x53111c),this['commentThreadHeaderView'][_0x51f5('0xe')]('reopenCommentThread')['to'](this),this[_0x51f5('0x2f')](this,'reopenCommentThread',()=>{this[_0x51f5('0x12')]();}),this[_0x51f5('0x1c')]=new _0x42d107(_0x3cdc22,_0x53111c,Object[_0x51f5('0x15')]({'CommentView':this[_0x51f5('0x27')][_0x51f5('0x1e')]},_0x4055ba)),this[_0x51f5('0x1c')][_0x51f5('0xe')](_0x51f5('0x25'))['to'](this),this[_0x51f5('0x1c')][_0x51f5('0xe')](_0x51f5('0x32'))['to'](this),this[_0x51f5('0x1c')][_0x51f5('0xe')](_0x51f5('0x1d'))['to'](this),this['commentsListView'][_0x51f5('0xe')](_0x51f5('0x24'))['to'](this),this['commentsListView']['delegate'](_0x51f5('0x6'))['to'](this),this[_0x51f5('0x1c')][_0x51f5('0x11')](_0x51f5('0x17'))['to'](this),this[_0x51f5('0x2f')](this,_0x51f5('0x1d'),()=>{this[_0x51f5('0x12')]();}),this[_0x51f5('0x18')]('length',this[_0x51f5('0x1c')][_0x51f5('0x21')]),this['bind'](_0x51f5('0x21'))['to'](this[_0x51f5('0x1c')],_0x51f5('0x21')),this[_0x51f5('0x0')]=this[_0x51f5('0xc')](),this['commentThreadInputView']['delegate'](_0x51f5('0x24'))['to'](this),this['commentThreadInputView'][_0x51f5('0xe')]('editorDestroyed')['to'](this),this['on'](_0x51f5('0x25'),()=>this[_0x51f5('0x12')]()),this[_0x51f5('0x11')]('isDirty')['to'](this[_0x51f5('0x1c')],_0x51f5('0x2b'),this[_0x51f5('0x0')][_0x51f5('0x5')],_0x51f5('0x1b'),(_0x376382,_0x1b5392)=>_0x376382||!!_0x1b5392),this[_0x51f5('0x11')](_0x51f5('0x19'))['to'](_0x53111c,_0x51f5('0x29'),_0x4bc682=>!!_0x4bc682);}[_0x51f5('0x12')](){this[_0x51f5('0x28')]['focus']();}async[_0x51f5('0x1a')](){this['isDirty']=!0x1,this[_0x51f5('0x1c')][_0x51f5('0x1a')](),await this[_0x51f5('0x0')][_0x51f5('0x1a')](),super['destroy']();}['_createCommentThreadInputView'](){const _0x2a0d4b=new _0x4977ce(this[_0x51f5('0xd')],this['_localUser'],this[_0x51f5('0x27')][_0x51f5('0xa')]),_0x26dfaa=_0x2a0d4b[_0x51f5('0x5')];return _0x2a0d4b[_0x51f5('0x11')](_0x51f5('0x2a'))['to'](this,'isActive',this[_0x51f5('0x10')],_0x51f5('0x20'),this[_0x51f5('0x10')],_0x51f5('0x2d'),this[_0x51f5('0x10')],_0x51f5('0x31'),_0x26dfaa,_0x51f5('0x1b'),(_0x3b633d,_0x2c1013,_0x2e3006,_0x24a056,_0x5f5b39)=>!!_0x5f5b39||!!_0x24a056&&_0x2e3006&&!_0x2c1013||_0x3b633d&&_0x2e3006&&!_0x2c1013),_0x26dfaa[_0x51f5('0x11')](_0x51f5('0x26'))['to'](this,_0x51f5('0x21'),this[_0x51f5('0x10')],_0x51f5('0xb'),this[_0x51f5('0x10')],_0x51f5('0x30'),(_0x1935ad,_0x1283fe,_0x3c8638)=>{let _0x4c5a6d;return _0x4c5a6d=_0x3c8638&&_0x1283fe?_0x51f5('0x13'):_0x1935ad?_0x51f5('0x2'):_0x51f5('0x3'),_0x18bae2(this['locale'],_0x4c5a6d);}),_0x26dfaa[_0x51f5('0x11')]('submitLabel')['to'](this,_0x51f5('0x21'),_0xb6db82=>_0x18bae2(this['locale'],_0xb6db82?'Reply':_0x51f5('0x1'))),_0x26dfaa['on'](_0x51f5('0x4'),(_0x27fab3,_0x50d3f1)=>{this['fire'](_0x51f5('0xf'),_0x50d3f1),this[_0x51f5('0x10')][_0x51f5('0x30')]&&this['_model'][_0x51f5('0xb')]&&this[_0x51f5('0x2c')](_0x51f5('0x9'),this[_0x51f5('0x10')]['id']),this['_model']['isSubmitted']||this[_0x51f5('0x2c')](_0x51f5('0x22'));}),_0x26dfaa['on']('cancel',()=>{this[_0x51f5('0x12')]();}),_0x26dfaa[_0x51f5('0x11')](_0x51f5('0x8'))['to'](this[_0x51f5('0x10')],_0x51f5('0x20')),_0x26dfaa['on'](_0x51f5('0x23'),_0x50d82d=>{0x0==this[_0x51f5('0x21')]&&(this[_0x51f5('0x2c')](_0x51f5('0x2e')),_0x50d82d[_0x51f5('0x14')]());}),this['on'](_0x51f5('0x16'),(_0x42227b,_0x2ffc54,_0x132292)=>{_0x132292||this[_0x51f5('0x21')]||_0x26dfaa[_0x51f5('0x1b')]||this[_0x51f5('0x2c')](_0x51f5('0x2e'));}),_0x2a0d4b;}}
23
+ const _0x39a5=['isActive','reopenCommentThread','editorReady','isResolved','change:isActive','listenTo','resolveCommentThread','cancel','_localUser','isDirty','commentsListView','value','set','_createCommentThreadInputView','submitCommentThread','commentThreadHeaderView','showInput','Reply...','focus','Reply\x20to\x20reopen\x20discussion...','placeholder','updateComment','isSubmitted','unlinkedAt','isReadOnly','removeComment','removeCommentThread','stop','Write\x20a\x20comment...','editorDestroyed','length','hasDirtyComment','destroy','CommentView','locale','_model','commentInputView','bind','commentThreadInputView','submit','editorConfig','_config','isUnlinked','addComment','element','disabledSubmit','delegate','Comment','canComment','fire','isResolvable'];(function(_0x548604,_0x39a5e8){const _0x92203e=function(_0x5bc6b7){while(--_0x5bc6b7){_0x548604['push'](_0x548604['shift']());}};_0x92203e(++_0x39a5e8);}(_0x39a5,0x1c7));const _0x9220=function(_0x548604,_0x39a5e8){_0x548604=_0x548604-0x0;let _0x92203e=_0x39a5[_0x548604];return _0x92203e;};import{View as _0x521df3}from'ckeditor5/src/ui';import _0x3e48e9 from'./commentthreadinputview';import _0x5431e7 from'./commentslistview';import _0x534502 from'./commentthreadheaderview';import{getTranslation as _0x5dbb58}from'../../../utils/common-translations';export default class Tt extends _0x521df3{constructor(_0xf5ef99,_0xf99f5d,_0x523cb2,_0x461f3f){super(_0xf5ef99),this[_0x9220('0x10')](_0x9220('0x4'),!0x1),this[_0x9220('0x10')](_0x9220('0xd'),!0x1),this['_model']=_0xf99f5d,this['_localUser']=_0x523cb2,this['_config']=_0x461f3f,this['commentThreadHeaderView']=new _0x534502(_0xf5ef99,_0xf99f5d),this[_0x9220('0x13')][_0x9220('0x32')](_0x9220('0x5'))['to'](this),this[_0x9220('0x9')](this,_0x9220('0x5'),()=>{this[_0x9220('0x16')]();}),this['commentsListView']=new _0x5431e7(_0xf5ef99,_0xf99f5d,Object['assign']({'CommentView':this[_0x9220('0x2d')][_0x9220('0x25')]},_0x461f3f)),this['commentsListView']['delegate'](_0x9220('0x1d'))['to'](this),this[_0x9220('0xe')][_0x9220('0x32')](_0x9220('0x19'))['to'](this),this['commentsListView']['delegate']('resolveCommentThread')['to'](this),this[_0x9220('0xe')]['delegate'](_0x9220('0x6'))['to'](this),this[_0x9220('0xe')][_0x9220('0x32')](_0x9220('0x21'))['to'](this),this[_0x9220('0xe')][_0x9220('0x29')](_0x9220('0x4'))['to'](this),this['listenTo'](this,_0x9220('0xa'),()=>{this['focus']();}),this[_0x9220('0x10')]('length',this[_0x9220('0xe')]['length']),this[_0x9220('0x29')]('length')['to'](this[_0x9220('0xe')],_0x9220('0x22')),this[_0x9220('0x2a')]=this[_0x9220('0x11')](),this[_0x9220('0x2a')][_0x9220('0x32')](_0x9220('0x6'))['to'](this),this['commentThreadInputView'][_0x9220('0x32')](_0x9220('0x21'))['to'](this),this['on'](_0x9220('0x1d'),()=>this[_0x9220('0x16')]()),this['bind']('isDirty')['to'](this[_0x9220('0xe')],_0x9220('0x23'),this[_0x9220('0x2a')][_0x9220('0x28')],'value',(_0x4f5ed1,_0x2cb8d6)=>_0x4f5ed1||!!_0x2cb8d6),this[_0x9220('0x29')](_0x9220('0x2e'))['to'](_0xf99f5d,_0x9220('0x1b'),_0x32fa8c=>!!_0x32fa8c);}['focus'](){this[_0x9220('0x30')][_0x9220('0x16')]();}async[_0x9220('0x24')](){this[_0x9220('0xd')]=!0x1,this[_0x9220('0xe')][_0x9220('0x24')](),await this[_0x9220('0x2a')][_0x9220('0x24')](),super[_0x9220('0x24')]();}['_createCommentThreadInputView'](){const _0x3e301d=new _0x3e48e9(this[_0x9220('0x26')],this[_0x9220('0xc')],this[_0x9220('0x2d')][_0x9220('0x2c')]),_0x4c708b=_0x3e301d[_0x9220('0x28')];return _0x3e301d[_0x9220('0x29')](_0x9220('0x14'))['to'](this,'isActive',this[_0x9220('0x27')],'isReadOnly',this['_model'],_0x9220('0x1'),this[_0x9220('0x27')],'archivedAt',_0x4c708b,_0x9220('0xf'),(_0x6a0ead,_0x471359,_0x37dc9d,_0x3ecb6a,_0x5b4aa2)=>!!_0x5b4aa2||!!_0x3ecb6a&&_0x37dc9d&&!_0x471359||_0x6a0ead&&_0x37dc9d&&!_0x471359),_0x4c708b['bind'](_0x9220('0x18'))['to'](this,_0x9220('0x22'),this[_0x9220('0x27')],_0x9220('0x3'),this['_model'],_0x9220('0x7'),(_0xf8b157,_0x291476,_0x533e23)=>{let _0x593b24;return _0x593b24=_0x533e23&&_0x291476?_0x9220('0x17'):_0xf8b157?_0x9220('0x15'):_0x9220('0x20'),_0x5dbb58(this[_0x9220('0x26')],_0x593b24);}),_0x4c708b[_0x9220('0x29')]('submitLabel')['to'](this,_0x9220('0x22'),_0xeb05cd=>_0x5dbb58(this['locale'],_0xeb05cd?'Reply':_0x9220('0x0'))),_0x4c708b['on'](_0x9220('0x2b'),(_0x30b869,_0x3c173e)=>{this[_0x9220('0x2')](_0x9220('0x2f'),_0x3c173e),this[_0x9220('0x27')]['isResolved']&&this[_0x9220('0x27')][_0x9220('0x3')]&&this[_0x9220('0x2')](_0x9220('0x5'),this[_0x9220('0x27')]['id']),this[_0x9220('0x27')][_0x9220('0x1a')]||this[_0x9220('0x2')](_0x9220('0x12'));}),_0x4c708b['on'](_0x9220('0xb'),()=>{this[_0x9220('0x16')]();}),_0x4c708b[_0x9220('0x29')](_0x9220('0x31'))['to'](this[_0x9220('0x27')],_0x9220('0x1c')),_0x4c708b['on']('cancel',_0x5e8a40=>{0x0==this['length']&&(this[_0x9220('0x2')](_0x9220('0x1e')),_0x5e8a40[_0x9220('0x1f')]());}),this['on'](_0x9220('0x8'),(_0x31dbfd,_0x4f8ec8,_0x427b62)=>{_0x427b62||this['length']||_0x4c708b[_0x9220('0xf')]||this[_0x9220('0x2')](_0x9220('0x1e'));}),_0x3e301d;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xba02=['disabledSubmit','isCollapsed','remove','locale','isReadOnly','collapse','createEditor','once','get','switchToDisplayMode','isSystemComment','add','visibleView','maxCommentCharsWhenCollapsed','_createCommentContentView','set','_model','element','createCollection','focus','cancel','isEditMode','submit','Save','switchToEditMode','_createCommentInputView','editorConfig','content','_config','bind','editorDestroyed','fire','initialData','delegate','editorReady','destroy'];(function(_0x4085b9,_0xba026c){const _0x30bad9=function(_0x4cdfeb){while(--_0x4cdfeb){_0x4085b9['push'](_0x4085b9['shift']());}};_0x30bad9(++_0xba026c);}(_0xba02,0x173));const _0x30ba=function(_0x4085b9,_0xba026c){_0x4085b9=_0x4085b9-0x0;let _0x30bad9=_0xba02[_0x4085b9];return _0x30bad9;};import{View as _0x21a4b6}from'ckeditor5/src/ui';import{trimHtml as _0x550b77}from'ckeditor5-collaboration/src/collaboration-core';import _0x735356 from'./commentcontentview';import _0x3bac8f from'./commentinputview';import{getTranslation as _0x1bfd08}from'../../../utils/common-translations';export default class Yt extends _0x21a4b6{constructor(_0x65c7ff,_0x4f9ec5,_0x21c39b){super(_0x65c7ff),this['_model']=_0x4f9ec5,this[_0x30ba('0x11')]=_0x21c39b,this[_0x30ba('0x23')]=!!this[_0x30ba('0x11')][_0x30ba('0x23')],this[_0x30ba('0x4')](_0x30ba('0xa'),!0x1),this['set'](_0x30ba('0x1a'),!0x0),this[_0x30ba('0x1')]=this[_0x30ba('0x7')](),this[_0x30ba('0x1')][_0x30ba('0x0')](this[_0x30ba('0x3')]());}['expand'](){this['isCollapsed']=!0x1;}[_0x30ba('0x1e')](){this['isEditMode']||(this[_0x30ba('0x1a')]=!0x0);}['focus'](){this[_0x30ba('0x6')][_0x30ba('0x8')]();}async[_0x30ba('0x18')](){await this['visibleView'][_0x30ba('0x21')](0x0)[_0x30ba('0x18')](),super[_0x30ba('0x18')]();}[_0x30ba('0xd')](){this[_0x30ba('0xa')]||(this[_0x30ba('0xa')]=!0x0,this[_0x30ba('0x1')][_0x30ba('0x1b')](0x0)[_0x30ba('0x18')](),this[_0x30ba('0x1')][_0x30ba('0x0')](this[_0x30ba('0xe')]()));}[_0x30ba('0x22')](){this[_0x30ba('0xa')]&&(this[_0x30ba('0xa')]=!0x1,this[_0x30ba('0x1')][_0x30ba('0x1b')](0x0)[_0x30ba('0x18')](),this[_0x30ba('0x1')][_0x30ba('0x0')](this[_0x30ba('0x3')]()));}[_0x30ba('0x3')](){const _0x3a0ca7=new _0x735356(this[_0x30ba('0x1c')]);return _0x3a0ca7[_0x30ba('0x12')](_0x30ba('0x10'))['to'](this[_0x30ba('0x5')],_0x30ba('0x10'),this,_0x30ba('0x1a'),(_0x2e218c,_0x2ab341)=>_0x2ab341?_0x550b77(_0x2e218c,{'limit':this[_0x30ba('0x11')][_0x30ba('0x2')]}):_0x2e218c),_0x3a0ca7;}[_0x30ba('0xe')](){this[_0x30ba('0x11')][_0x30ba('0xf')]||(this['_config']['editorConfig']={}),this[_0x30ba('0x11')][_0x30ba('0xf')][_0x30ba('0x15')]=this['_model'][_0x30ba('0x10')];const _0x93a72b=new _0x3bac8f(this[_0x30ba('0x1c')],this[_0x30ba('0x11')]['editorConfig']);return _0x93a72b['value']=this['_model'][_0x30ba('0x10')],_0x93a72b[_0x30ba('0x12')](_0x30ba('0x19'))['to'](this[_0x30ba('0x5')],_0x30ba('0x1d')),_0x93a72b['submitLabel']=_0x1bfd08(this[_0x30ba('0x1c')],_0x30ba('0xc')),_0x93a72b['on'](_0x30ba('0xb'),(_0x33ca48,_0xe580a8)=>{this[_0x30ba('0x14')]('updateComment',this[_0x30ba('0x5')]['id'],_0xe580a8),this[_0x30ba('0x22')](),this[_0x30ba('0x8')]();}),_0x93a72b['on'](_0x30ba('0x9'),()=>{this['switchToDisplayMode'](),this['focus']();}),_0x93a72b[_0x30ba('0x20')](_0x30ba('0x17'),()=>{_0x93a72b[_0x30ba('0x8')]();}),_0x93a72b[_0x30ba('0x1f')](),_0x93a72b['delegate'](_0x30ba('0x17'))['to'](this),_0x93a72b[_0x30ba('0x16')](_0x30ba('0x13'))['to'](this),_0x93a72b;}}
23
+ const _0x82a8=['_createCommentInputView','_createCommentContentView','add','set','editorDestroyed','fire','Save','collapse','createEditor','_model','cancel','focus','editorConfig','bind','submit','destroy','maxCommentCharsWhenCollapsed','delegate','switchToDisplayMode','get','_config','createCollection','element','remove','isSystemComment','isReadOnly','expand','visibleView','content','switchToEditMode','locale','submitLabel','isEditMode','editorReady','isCollapsed','initialData','updateComment'];(function(_0x6abddb,_0x82a8b4){const _0x217356=function(_0x1afcb3){while(--_0x1afcb3){_0x6abddb['push'](_0x6abddb['shift']());}};_0x217356(++_0x82a8b4);}(_0x82a8,0x80));const _0x2173=function(_0x6abddb,_0x82a8b4){_0x6abddb=_0x6abddb-0x0;let _0x217356=_0x82a8[_0x6abddb];return _0x217356;};import{View as _0x5de479}from'ckeditor5/src/ui';import{trimHtml as _0xa3f7c5}from'ckeditor5-collaboration/src/collaboration-core';import _0x26a0b5 from'./commentcontentview';import _0x5a5446 from'./commentinputview';import{getTranslation as _0x35fdde}from'../../../utils/common-translations';export default class Yt extends _0x5de479{constructor(_0x3e94f9,_0xce3c3e,_0xece32){super(_0x3e94f9),this['_model']=_0xce3c3e,this[_0x2173('0x3')]=_0xece32,this[_0x2173('0x7')]=!!this['_config'][_0x2173('0x7')],this[_0x2173('0x17')]('isEditMode',!0x1),this[_0x2173('0x17')](_0x2173('0x11'),!0x0),this[_0x2173('0xa')]=this[_0x2173('0x4')](),this['visibleView'][_0x2173('0x16')](this[_0x2173('0x15')]());}[_0x2173('0x9')](){this[_0x2173('0x11')]=!0x1;}[_0x2173('0x1b')](){this[_0x2173('0xf')]||(this[_0x2173('0x11')]=!0x0);}[_0x2173('0x1f')](){this[_0x2173('0x5')][_0x2173('0x1f')]();}async['destroy'](){await this[_0x2173('0xa')][_0x2173('0x2')](0x0)[_0x2173('0x23')](),super[_0x2173('0x23')]();}[_0x2173('0xc')](){this[_0x2173('0xf')]||(this[_0x2173('0xf')]=!0x0,this[_0x2173('0xa')][_0x2173('0x6')](0x0)[_0x2173('0x23')](),this[_0x2173('0xa')][_0x2173('0x16')](this[_0x2173('0x14')]()));}[_0x2173('0x1')](){this[_0x2173('0xf')]&&(this[_0x2173('0xf')]=!0x1,this[_0x2173('0xa')]['remove'](0x0)[_0x2173('0x23')](),this[_0x2173('0xa')][_0x2173('0x16')](this[_0x2173('0x15')]()));}['_createCommentContentView'](){const _0xa5a39c=new _0x26a0b5(this['locale']);return _0xa5a39c[_0x2173('0x21')](_0x2173('0xb'))['to'](this[_0x2173('0x1d')],'content',this,_0x2173('0x11'),(_0x5d2d23,_0x4d3739)=>_0x4d3739?_0xa3f7c5(_0x5d2d23,{'limit':this[_0x2173('0x3')][_0x2173('0x24')]}):_0x5d2d23),_0xa5a39c;}[_0x2173('0x14')](){this[_0x2173('0x3')][_0x2173('0x20')]||(this[_0x2173('0x3')][_0x2173('0x20')]={}),this[_0x2173('0x3')][_0x2173('0x20')][_0x2173('0x12')]=this['_model'][_0x2173('0xb')];const _0x59b3b3=new _0x5a5446(this['locale'],this[_0x2173('0x3')]['editorConfig']);return _0x59b3b3['value']=this[_0x2173('0x1d')][_0x2173('0xb')],_0x59b3b3[_0x2173('0x21')]('disabledSubmit')['to'](this[_0x2173('0x1d')],_0x2173('0x8')),_0x59b3b3[_0x2173('0xe')]=_0x35fdde(this[_0x2173('0xd')],_0x2173('0x1a')),_0x59b3b3['on'](_0x2173('0x22'),(_0x264e90,_0x29a44e)=>{this[_0x2173('0x19')](_0x2173('0x13'),this[_0x2173('0x1d')]['id'],_0x29a44e),this[_0x2173('0x1')](),this[_0x2173('0x1f')]();}),_0x59b3b3['on'](_0x2173('0x1e'),()=>{this[_0x2173('0x1')](),this[_0x2173('0x1f')]();}),_0x59b3b3['once'](_0x2173('0x10'),()=>{_0x59b3b3['focus']();}),_0x59b3b3[_0x2173('0x1c')](),_0x59b3b3[_0x2173('0x0')](_0x2173('0x10'))['to'](this),_0x59b3b3[_0x2173('0x0')](_0x2173('0x18'))['to'](this),_0x59b3b3;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ffb=['ck-thread__comment-count','setTemplate','set','count','NUMBER_OF_COMMENTS'];(function(_0x4fb080,_0x1ffb68){const _0x4be395=function(_0x840eee){while(--_0x840eee){_0x4fb080['push'](_0x4fb080['shift']());}};_0x4be395(++_0x1ffb68);}(_0x1ffb,0x1b3));const _0x4be3=function(_0x4fb080,_0x1ffb68){_0x4fb080=_0x4fb080-0x0;let _0x4be395=_0x1ffb[_0x4fb080];return _0x4be395;};import{View as _0x182860}from'ckeditor5/src/ui';import{getTranslation as _0x91dde9}from'../../../utils/common-translations';export default class Zt extends _0x182860{constructor(_0x595cc4){super(_0x595cc4);const _0x253bd6=this['bindTemplate'];this[_0x4be3('0x2')](_0x4be3('0x3'),void 0x0),this[_0x4be3('0x1')]({'tag':'li','attributes':{'class':_0x4be3('0x0')},'children':[{'text':_0x253bd6['to'](_0x4be3('0x3'),_0x352266=>_0x91dde9(_0x595cc4,_0x4be3('0x4'),_0x352266))}]});}}
23
+ const _0x118a=['setTemplate','ck-thread__comment-count','set','NUMBER_OF_COMMENTS'];(function(_0x56a0eb,_0x118a95){const _0x3d6d10=function(_0x3c8851){while(--_0x3c8851){_0x56a0eb['push'](_0x56a0eb['shift']());}};_0x3d6d10(++_0x118a95);}(_0x118a,0x1d0));const _0x3d6d=function(_0x56a0eb,_0x118a95){_0x56a0eb=_0x56a0eb-0x0;let _0x3d6d10=_0x118a[_0x56a0eb];return _0x3d6d10;};import{View as _0x4ea891}from'ckeditor5/src/ui';import{getTranslation as _0xb25614}from'../../../utils/common-translations';export default class Zt extends _0x4ea891{constructor(_0x2490ed){super(_0x2490ed);const _0x53875b=this['bindTemplate'];this[_0x3d6d('0x2')]('count',void 0x0),this[_0x3d6d('0x0')]({'tag':'li','attributes':{'class':_0x3d6d('0x1')},'children':[{'text':_0x53875b['to']('count',_0x364e7d=>_0xb25614(_0x2490ed,_0x3d6d('0x3'),_0x364e7d))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4ef0=['setTemplate','ck-comment__content','element','innerHTML','render','ck-annotation__content','change:content','content'];(function(_0xb19b82,_0x4ef08e){var _0x30074e=function(_0xa59bf5){while(--_0xa59bf5){_0xb19b82['push'](_0xb19b82['shift']());}};_0x30074e(++_0x4ef08e);}(_0x4ef0,0x92));var _0x3007=function(_0xb19b82,_0x4ef08e){_0xb19b82=_0xb19b82-0x0;var _0x30074e=_0x4ef0[_0xb19b82];return _0x30074e;};import{View as _0xc14ead}from'ckeditor5/src/ui';export default class Ut extends _0xc14ead{constructor(_0x345292){super(_0x345292),this['set'](_0x3007('0x5'),''),this[_0x3007('0x6')]({'tag':'div','attributes':{'class':[_0x3007('0x7'),_0x3007('0x3')]}});}[_0x3007('0x2')](){super['render'](),this['on'](_0x3007('0x4'),(_0x4bd7dc,_0x34f865,_0x1e6623)=>{this['element']['innerHTML']=_0x1e6623;}),this[_0x3007('0x0')][_0x3007('0x1')]=this[_0x3007('0x5')];}}
23
+ var _0x5a0a=['innerHTML','setTemplate','set','ck-annotation__content','element','ck-comment__content','content','change:content'];(function(_0xb2963e,_0x5a0a4b){var _0x82aeb9=function(_0x5414af){while(--_0x5414af){_0xb2963e['push'](_0xb2963e['shift']());}};_0x82aeb9(++_0x5a0a4b);}(_0x5a0a,0x92));var _0x82ae=function(_0xb2963e,_0x5a0a4b){_0xb2963e=_0xb2963e-0x0;var _0x82aeb9=_0x5a0a[_0xb2963e];return _0x82aeb9;};import{View as _0x127376}from'ckeditor5/src/ui';export default class Ut extends _0x127376{constructor(_0x5122b9){super(_0x5122b9),this[_0x82ae('0x0')](_0x82ae('0x4'),''),this[_0x82ae('0x7')]({'tag':'div','attributes':{'class':[_0x82ae('0x3'),_0x82ae('0x1')]}});}['render'](){super['render'](),this['on'](_0x82ae('0x5'),(_0x310b84,_0x36b683,_0x45282c)=>{this[_0x82ae('0x2')][_0x82ae('0x6')]=_0x45282c;}),this[_0x82ae('0x2')][_0x82ae('0x6')]=this['content'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a78=['listenTo','create','placeholder','length','tab','getData','bind','editorDestroyed','high','set','focus','withText','focusPrevious','change','_createCancelButton','add','editorReady','div','setData','ck-comment__input-actions--cancel','bindTemplate','insertBefore','destroy','_editorCreationPromise','focusNext','element','setTemplate','_initializeFocusCycling','editor','stop','cancelButtonView','value','extendTemplate','firstChild','submit','Reply','submitButtonView','focusTracker','_createSubmitButton','low','execute','shift\x20+\x20tab','trim','submitLabel','_editorConfig','TOO_LONG_COMMENT_ALERT','showButtons','label','disabledSubmit','Esc','fire','render','isEnabled','cancel','ck-comment__input-actions--submit','_isDestroyed','keystrokes','then','ck-comment__input-wrapper'];(function(_0x38f645,_0x5a7868){const _0x21697c=function(_0x4991e6){while(--_0x4991e6){_0x38f645['push'](_0x38f645['shift']());}};_0x21697c(++_0x5a7868);}(_0x5a78,0x153));const _0x2169=function(_0x38f645,_0x5a7868){_0x38f645=_0x38f645-0x0;let _0x21697c=_0x5a78[_0x38f645];return _0x21697c;};import{View as _0x88cd3e,ViewCollection as _0x4432de,FocusCycler as _0x5ac6f8,ButtonView as _0x286064}from'ckeditor5/src/ui';import{FocusTracker as _0x1e6e66,KeystrokeHandler as _0x78c32d}from'ckeditor5/src/utils';import _0x4c57bb from'../commenteditor/commenteditor';import{getTranslation as _0x2d04ac}from'../../../utils/common-translations';export default class Xt extends _0x88cd3e{constructor(_0x3aafc2,_0xc633b9={}){super(_0x3aafc2),this['editor']=null,this[_0x2169('0x0')]=_0xc633b9,this['keystrokes']=new _0x78c32d(),this[_0x2169('0x34')]=new _0x1e6e66(),this[_0x2169('0x18')](_0x2169('0x2e'),_0xc633b9['initialData']||''),this[_0x2169('0x18')](_0x2169('0x4'),!0x1),this[_0x2169('0x18')](_0x2169('0x2'),!0x0),this[_0x2169('0x18')](_0x2169('0x11'),_0x2d04ac(_0x3aafc2,'Reply...')),this[_0x2169('0x18')](_0x2169('0x3a'),_0x2d04ac(_0x3aafc2,_0x2169('0x32'))),this['submitButtonView']=this['_createSubmitButton'](),this[_0x2169('0x2d')]=this[_0x2169('0x1d')](),this[_0x2169('0x29')]({'tag':_0x2169('0x20'),'attributes':{'class':[_0x2169('0xe')]},'children':[{'tag':'div','attributes':{'class':['ck-comment__input-actions',this[_0x2169('0x23')]['if']('showButtons','ck-comment__input-actions--active')]},'children':[this[_0x2169('0x33')],this['cancelButtonView']]}]}),this[_0x2169('0xc')][_0x2169('0x18')](_0x2169('0x5'),(_0x104268,_0x4c522c)=>{this['cancelButtonView'][_0x2169('0x6')]('execute'),_0x4c522c();}),this['on'](_0x2169('0x31'),(_0x42a314,_0x1d1148)=>{_0x1d1148[_0x2169('0x12')]>0xfde8?(alert(_0x2d04ac(_0x3aafc2,_0x2169('0x1'),[_0x1d1148[_0x2169('0x12')],0xfde8])),_0x42a314[_0x2169('0x2c')]()):this[_0x2169('0x2b')][_0x2169('0x21')]('');},{'priority':_0x2169('0x17')});}[_0x2169('0x7')](){super[_0x2169('0x7')](),this['keystrokes'][_0x2169('0xf')](this[_0x2169('0x28')]),this[_0x2169('0x34')][_0x2169('0x1e')](this[_0x2169('0x28')]);}['createEditor'](){return this['editor']||(this[_0x2169('0x2b')]=new _0x4c57bb(this['_editorConfig']),this[_0x2169('0x26')]=this['editor'][_0x2169('0x10')]()[_0x2169('0xd')](()=>{if(this[_0x2169('0xb')])return;const _0x328acb=this['editor'];this['element'][_0x2169('0x24')](_0x328acb['ui']['element'],this[_0x2169('0x28')][_0x2169('0x30')]),_0x328acb['model']['document']['on'](_0x2169('0x1c'),()=>this[_0x2169('0x2e')]=_0x328acb[_0x2169('0x14')]()),_0x328acb[_0x2169('0x15')](_0x2169('0x11'))['to'](this),this[_0x2169('0x2a')](this[_0x2169('0x2b')]),this[_0x2169('0x6')](_0x2169('0x1f'),this[_0x2169('0x2b')]);})),this[_0x2169('0x26')];}[_0x2169('0x19')](){this['editor']&&this[_0x2169('0x2b')][_0x2169('0x19')]();}async[_0x2169('0x25')](){this[_0x2169('0xb')]||(this[_0x2169('0xb')]=!0x0,this[_0x2169('0x2b')]&&(await this[_0x2169('0x26')],await this[_0x2169('0x2b')][_0x2169('0x25')](),this[_0x2169('0x6')](_0x2169('0x16'),this[_0x2169('0x2b')])),await super[_0x2169('0x25')]());}[_0x2169('0x35')](){const {locale:_0x215228}=this,_0x283f8f=new _0x286064(_0x215228);return _0x283f8f[_0x2169('0x2f')]({'attributes':{'class':[_0x2169('0xa')]}}),_0x283f8f[_0x2169('0x1a')]=!0x0,_0x283f8f[_0x2169('0x15')](_0x2169('0x3'))['to'](this,_0x2169('0x3a')),_0x283f8f['on'](_0x2169('0x37'),()=>{this[_0x2169('0x6')](_0x2169('0x31'),this[_0x2169('0x2e')]);}),_0x283f8f[_0x2169('0x15')](_0x2169('0x8'))['to'](this,_0x2169('0x2e'),this,'disabledSubmit',(_0x55f9ba,_0x5ebfcd)=>!_0x5ebfcd&&!!_0x55f9ba[_0x2169('0x39')]()),_0x283f8f;}[_0x2169('0x1d')](){const {locale:_0x29efde}=this,_0x43cc9a=new _0x286064(_0x29efde);return _0x43cc9a['extendTemplate']({'attributes':{'class':[_0x2169('0x22')]}}),_0x43cc9a[_0x2169('0x3')]=_0x2d04ac(_0x29efde,'Cancel'),_0x43cc9a[_0x2169('0x1a')]=!0x0,_0x43cc9a['on']('execute',()=>{this['editor'][_0x2169('0x21')](''),this[_0x2169('0x6')](_0x2169('0x9'));}),_0x43cc9a;}['_initializeFocusCycling'](_0x427f31){const _0x144d94=this['focusTracker'],_0x5ca425=new _0x4432de();[_0x427f31['ui']['view'],this[_0x2169('0x33')],this['cancelButtonView']]['forEach'](_0x55d177=>{_0x5ca425[_0x2169('0x1e')](_0x55d177),_0x144d94[_0x2169('0x1e')](_0x55d177[_0x2169('0x28')]);});const _0x76f472=new _0x5ac6f8({'focusables':_0x5ca425,'focusTracker':_0x144d94});this[_0x2169('0xc')][_0x2169('0x18')](_0x2169('0x13'),(_0x531334,_0x2b3327)=>{_0x76f472[_0x2169('0x27')](),_0x2b3327();},{'priority':_0x2169('0x36')}),this[_0x2169('0xc')]['set'](_0x2169('0x38'),(_0x34c670,_0x24ffd1)=>{_0x76f472[_0x2169('0x1b')](),_0x24ffd1();},{'priority':_0x2169('0x36')});}}
23
+ const _0x5497=['Cancel','_editorConfig','stop','set','submit','length','getData','high','focusPrevious','trim','insertBefore','cancelButtonView','Esc','bindTemplate','Reply...','render','ck-comment__input-wrapper','document','label','ck-comment__input-actions--active','_isDestroyed','showButtons','focus','shift\x20+\x20tab','_createSubmitButton','setTemplate','editor','isEnabled','value','_initializeFocusCycling','_createCancelButton','editorReady','ck-comment__input-actions','placeholder','TOO_LONG_COMMENT_ALERT','submitLabel','div','extendTemplate','element','keystrokes','setData','add','Reply','firstChild','focusTracker','ck-comment__input-actions--cancel','ck-comment__input-actions--submit','create','then','forEach','execute','editorDestroyed','_editorCreationPromise','cancel','listenTo','withText','destroy','tab','disabledSubmit','change','submitButtonView','view','low','fire'];(function(_0x34c958,_0x549714){const _0x426451=function(_0x14078f){while(--_0x14078f){_0x34c958['push'](_0x34c958['shift']());}};_0x426451(++_0x549714);}(_0x5497,0x141));const _0x4264=function(_0x34c958,_0x549714){_0x34c958=_0x34c958-0x0;let _0x426451=_0x5497[_0x34c958];return _0x426451;};import{View as _0xef94a7,ViewCollection as _0x83617b,FocusCycler as _0x279886,ButtonView as _0x49e138}from'ckeditor5/src/ui';import{FocusTracker as _0x2db0ab,KeystrokeHandler as _0x458553}from'ckeditor5/src/utils';import _0x487796 from'../commenteditor/commenteditor';import{getTranslation as _0x2c7268}from'../../../utils/common-translations';export default class Xt extends _0xef94a7{constructor(_0x22d723,_0x1c05a8={}){super(_0x22d723),this[_0x4264('0x19')]=null,this[_0x4264('0x0')]=_0x1c05a8,this[_0x4264('0x26')]=new _0x458553(),this[_0x4264('0x2b')]=new _0x2db0ab(),this[_0x4264('0x2')](_0x4264('0x1b'),_0x1c05a8['initialData']||''),this['set'](_0x4264('0x39'),!0x1),this['set']('showButtons',!0x0),this[_0x4264('0x2')](_0x4264('0x20'),_0x2c7268(_0x22d723,_0x4264('0xd'))),this[_0x4264('0x2')]('submitLabel',_0x2c7268(_0x22d723,_0x4264('0x29'))),this[_0x4264('0x3b')]=this[_0x4264('0x17')](),this[_0x4264('0xa')]=this[_0x4264('0x1d')](),this[_0x4264('0x18')]({'tag':_0x4264('0x23'),'attributes':{'class':[_0x4264('0xf')]},'children':[{'tag':_0x4264('0x23'),'attributes':{'class':[_0x4264('0x1f'),this[_0x4264('0xc')]['if'](_0x4264('0x14'),_0x4264('0x12'))]},'children':[this['submitButtonView'],this[_0x4264('0xa')]]}]}),this[_0x4264('0x26')][_0x4264('0x2')](_0x4264('0xb'),(_0x328c97,_0xf64632)=>{this['cancelButtonView'][_0x4264('0x3e')](_0x4264('0x31')),_0xf64632();}),this['on'](_0x4264('0x3'),(_0xbcb177,_0x53187e)=>{_0x53187e[_0x4264('0x4')]>0xfde8?(alert(_0x2c7268(_0x22d723,_0x4264('0x21'),[_0x53187e[_0x4264('0x4')],0xfde8])),_0xbcb177[_0x4264('0x1')]()):this[_0x4264('0x19')]['setData']('');},{'priority':_0x4264('0x6')});}[_0x4264('0xe')](){super[_0x4264('0xe')](),this[_0x4264('0x26')][_0x4264('0x35')](this[_0x4264('0x25')]),this[_0x4264('0x2b')][_0x4264('0x28')](this['element']);}['createEditor'](){return this[_0x4264('0x19')]||(this[_0x4264('0x19')]=new _0x487796(this[_0x4264('0x0')]),this[_0x4264('0x33')]=this['editor'][_0x4264('0x2e')]()[_0x4264('0x2f')](()=>{if(this[_0x4264('0x13')])return;const _0x3c5f7f=this[_0x4264('0x19')];this[_0x4264('0x25')][_0x4264('0x9')](_0x3c5f7f['ui'][_0x4264('0x25')],this[_0x4264('0x25')][_0x4264('0x2a')]),_0x3c5f7f['model'][_0x4264('0x10')]['on'](_0x4264('0x3a'),()=>this[_0x4264('0x1b')]=_0x3c5f7f[_0x4264('0x5')]()),_0x3c5f7f['bind'](_0x4264('0x20'))['to'](this),this[_0x4264('0x1c')](this[_0x4264('0x19')]),this[_0x4264('0x3e')](_0x4264('0x1e'),this['editor']);})),this[_0x4264('0x33')];}[_0x4264('0x15')](){this['editor']&&this['editor'][_0x4264('0x15')]();}async[_0x4264('0x37')](){this[_0x4264('0x13')]||(this[_0x4264('0x13')]=!0x0,this[_0x4264('0x19')]&&(await this['_editorCreationPromise'],await this['editor'][_0x4264('0x37')](),this[_0x4264('0x3e')](_0x4264('0x32'),this[_0x4264('0x19')])),await super['destroy']());}[_0x4264('0x17')](){const {locale:_0x4726ff}=this,_0x17fb67=new _0x49e138(_0x4726ff);return _0x17fb67[_0x4264('0x24')]({'attributes':{'class':[_0x4264('0x2d')]}}),_0x17fb67[_0x4264('0x36')]=!0x0,_0x17fb67['bind'](_0x4264('0x11'))['to'](this,_0x4264('0x22')),_0x17fb67['on']('execute',()=>{this[_0x4264('0x3e')]('submit',this['value']);}),_0x17fb67['bind'](_0x4264('0x1a'))['to'](this,_0x4264('0x1b'),this,_0x4264('0x39'),(_0x111238,_0xf3874e)=>!_0xf3874e&&!!_0x111238[_0x4264('0x8')]()),_0x17fb67;}[_0x4264('0x1d')](){const {locale:_0x38c80b}=this,_0x53b65f=new _0x49e138(_0x38c80b);return _0x53b65f[_0x4264('0x24')]({'attributes':{'class':[_0x4264('0x2c')]}}),_0x53b65f['label']=_0x2c7268(_0x38c80b,_0x4264('0x3f')),_0x53b65f[_0x4264('0x36')]=!0x0,_0x53b65f['on'](_0x4264('0x31'),()=>{this[_0x4264('0x19')][_0x4264('0x27')](''),this['fire'](_0x4264('0x34'));}),_0x53b65f;}[_0x4264('0x1c')](_0x21c225){const _0x362acb=this[_0x4264('0x2b')],_0x4e5873=new _0x83617b();[_0x21c225['ui'][_0x4264('0x3c')],this[_0x4264('0x3b')],this[_0x4264('0xa')]][_0x4264('0x30')](_0x14afc6=>{_0x4e5873[_0x4264('0x28')](_0x14afc6),_0x362acb[_0x4264('0x28')](_0x14afc6[_0x4264('0x25')]);});const _0x7a0439=new _0x279886({'focusables':_0x4e5873,'focusTracker':_0x362acb});this['keystrokes'][_0x4264('0x2')](_0x4264('0x38'),(_0x593bbb,_0x178511)=>{_0x7a0439['focusNext'](),_0x178511();},{'priority':_0x4264('0x3d')}),this[_0x4264('0x26')][_0x4264('0x2')](_0x4264('0x16'),(_0x274107,_0x57d176)=>{_0x7a0439[_0x4264('0x7')](),_0x57d176();},{'priority':_0x4264('0x3d')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x553f=['set','COMMENTS_ARCHIVE','arrowup','listenTo','ck-comments-archive__content','length','auto','_keystrokes','destroy','add','focus','_focusables','ck-comments-archive__info','arrowright','tab','stopPropagation','setTemplate','bindTemplate','arrowleft','ck-comments-archive__header\x20','isEmpty','element','shift\x20+\x20tab','render','_focusTracker','high','div','ck-hidden'];(function(_0x132ed1,_0x553f85){const _0x2fee0a=function(_0x39122e){while(--_0x39122e){_0x132ed1['push'](_0x132ed1['shift']());}};_0x2fee0a(++_0x553f85);}(_0x553f,0xb4));const _0x2fee=function(_0x132ed1,_0x553f85){_0x132ed1=_0x132ed1-0x0;let _0x2fee0a=_0x553f[_0x132ed1];return _0x2fee0a;};import{View as _0x2f2621,FocusCycler as _0x10443e}from'ckeditor5/src/ui';import{FocusTracker as _0x7d1145,KeystrokeHandler as _0x160339}from'ckeditor5/src/utils';import{getTranslation as _0x324aa5}from'../../../utils/common-translations';export default class K extends _0x2f2621{constructor(_0x3a7820,_0x352b2e){super(_0x3a7820),this['set'](_0x2fee('0x8'),!_0x352b2e[_0x2fee('0x15')]),this[_0x2fee('0xc')]=new _0x7d1145(),this['_keystrokes']=new _0x160339(),this[_0x2fee('0x1b')]=_0x352b2e,this['_focusCycler']=new _0x10443e({'focusables':this[_0x2fee('0x1b')],'focusTracker':this[_0x2fee('0xc')],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':_0x2fee('0xa'),'focusNext':_0x2fee('0x2')}}),this[_0x2fee('0x13')](_0x352b2e,_0x2fee('0x19'),()=>{this['isEmpty']=!0x1;}),this[_0x2fee('0x13')](_0x352b2e,'remove',(_0xede78e,_0x407819)=>{_0x407819['isActive']&&this[_0x2fee('0x1a')](),_0x352b2e['length']||(this['isEmpty']=!0x0);});const _0xaede38=this[_0x2fee('0x5')];this[_0x2fee('0x4')]({'tag':'div','attributes':{'dir':_0x2fee('0x16'),'class':['ck','ck-comments-archive'],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x2fee('0x7')]},'children':[{'text':_0x324aa5(_0x3a7820,_0x2fee('0x11'))}]},{'tag':_0x2fee('0xe'),'attributes':{'class':[_0x2fee('0x14')]},'children':[{'tag':_0x2fee('0xe'),'children':_0x352b2e},{'tag':'p','attributes':{'class':[_0x2fee('0x0'),_0xaede38['if'](_0x2fee('0x8'),_0x2fee('0xf'),_0x1d2d29=>!_0x1d2d29)]},'children':[{'text':_0x324aa5(_0x3a7820,'EMPTY_COMMENTS_ARCHIVE')}]}]}]});}[_0x2fee('0xb')](){super[_0x2fee('0xb')](),this[_0x2fee('0x17')][_0x2fee('0x13')](this['element']);const _0x2035f6=_0x18ce3a=>_0x18ce3a[_0x2fee('0x3')]();this[_0x2fee('0x17')][_0x2fee('0x10')](_0x2fee('0x1'),_0x2035f6),this[_0x2fee('0x17')][_0x2fee('0x10')](_0x2fee('0x6'),_0x2035f6),this[_0x2fee('0x17')][_0x2fee('0x10')](_0x2fee('0x12'),_0x2035f6),this[_0x2fee('0x17')][_0x2fee('0x10')]('arrowdown',_0x2035f6),this[_0x2fee('0x13')](this[_0x2fee('0x9')],'selectstart',(_0x335f58,_0x3f5ee5)=>{_0x3f5ee5[_0x2fee('0x3')]();},{'priority':_0x2fee('0xd')});}['destroy'](){super['destroy'](),this[_0x2fee('0xc')][_0x2fee('0x18')](),this[_0x2fee('0x17')][_0x2fee('0x18')]();}[_0x2fee('0x1a')](){this[_0x2fee('0x9')][_0x2fee('0x1a')]();}}
23
+ const _0x56ee=['_focusables','isActive','_focusCycler','stopPropagation','shift\x20+\x20tab','ck-comments-archive__header\x20','div','add','element','auto','ck-comments-archive__info','_focusTracker','arrowright','_keystrokes','set','isEmpty','arrowleft','ck-hidden','bindTemplate','focus','length','COMMENTS_ARCHIVE','tab','destroy','listenTo','EMPTY_COMMENTS_ARCHIVE','arrowdown','render','selectstart'];(function(_0x38fd29,_0x56ee0a){const _0x17638a=function(_0x4d4a03){while(--_0x4d4a03){_0x38fd29['push'](_0x38fd29['shift']());}};_0x17638a(++_0x56ee0a);}(_0x56ee,0x153));const _0x1763=function(_0x38fd29,_0x56ee0a){_0x38fd29=_0x38fd29-0x0;let _0x17638a=_0x56ee[_0x38fd29];return _0x17638a;};import{View as _0x1b3e20,FocusCycler as _0x70965f}from'ckeditor5/src/ui';import{FocusTracker as _0x1e29e8,KeystrokeHandler as _0x9dd497}from'ckeditor5/src/utils';import{getTranslation as _0x511bf9}from'../../../utils/common-translations';export default class K extends _0x1b3e20{constructor(_0x44b22e,_0x4ddccc){super(_0x44b22e),this[_0x1763('0x17')](_0x1763('0x18'),!_0x4ddccc[_0x1763('0x0')]),this[_0x1763('0x14')]=new _0x1e29e8(),this[_0x1763('0x16')]=new _0x9dd497(),this[_0x1763('0x9')]=_0x4ddccc,this[_0x1763('0xb')]=new _0x70965f({'focusables':this['_focusables'],'focusTracker':this[_0x1763('0x14')],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':_0x1763('0xd'),'focusNext':_0x1763('0x2')}}),this[_0x1763('0x4')](_0x4ddccc,_0x1763('0x10'),()=>{this[_0x1763('0x18')]=!0x1;}),this[_0x1763('0x4')](_0x4ddccc,'remove',(_0x1bd38d,_0x5d58ef)=>{_0x5d58ef[_0x1763('0xa')]&&this['focus'](),_0x4ddccc[_0x1763('0x0')]||(this[_0x1763('0x18')]=!0x0);});const _0x2bdce1=this[_0x1763('0x1b')];this['setTemplate']({'tag':_0x1763('0xf'),'attributes':{'dir':_0x1763('0x12'),'class':['ck','ck-comments-archive'],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x1763('0xe')]},'children':[{'text':_0x511bf9(_0x44b22e,_0x1763('0x1'))}]},{'tag':'div','attributes':{'class':['ck-comments-archive__content']},'children':[{'tag':'div','children':_0x4ddccc},{'tag':'p','attributes':{'class':[_0x1763('0x13'),_0x2bdce1['if'](_0x1763('0x18'),_0x1763('0x1a'),_0x2a7496=>!_0x2a7496)]},'children':[{'text':_0x511bf9(_0x44b22e,_0x1763('0x5'))}]}]}]});}[_0x1763('0x7')](){super['render'](),this[_0x1763('0x16')][_0x1763('0x4')](this[_0x1763('0x11')]);const _0x3ebb1e=_0x318230=>_0x318230[_0x1763('0xc')]();this['_keystrokes'][_0x1763('0x17')](_0x1763('0x15'),_0x3ebb1e),this[_0x1763('0x16')][_0x1763('0x17')](_0x1763('0x19'),_0x3ebb1e),this[_0x1763('0x16')][_0x1763('0x17')]('arrowup',_0x3ebb1e),this['_keystrokes']['set'](_0x1763('0x6'),_0x3ebb1e),this[_0x1763('0x4')](this[_0x1763('0x11')],_0x1763('0x8'),(_0x5a331d,_0x2a121f)=>{_0x2a121f['stopPropagation']();},{'priority':'high'});}[_0x1763('0x3')](){super[_0x1763('0x3')](),this[_0x1763('0x14')][_0x1763('0x3')](),this[_0x1763('0x16')][_0x1763('0x3')]();}[_0x1763('0x1c')](){this[_0x1763('0x11')][_0x1763('0x1c')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xfea7=['formatDateTime','_rearrangeCollapse','setTemplate','ck-thread__comments','change:isResolved','refreshVisibleViews','_config','resolved','maxCommentCharsWhenCollapsed','visibleViews','equal','removeComment','destroy','stopListening','_collapsedCommentsView','_model','maxCommentsWhenCollapsed','weight','hasDirtyComment','resolvedCommentView','_handleRemoveCommentModel','_calculatePosition','isEditMode','focus','_shouldCollapse','isActive','some','remove','set','_findOptimalIndex','resolvedAt','change:hasDirtyComment','listenTo','CommentView','editorReady','expand','authoredAt','maxThreadTotalWeight','createCollection','from','delete','add','_rearrangeExpand','editorConfig','delegate','comments','change:isActive','render','_updateHasDirtyComment','resolvedBy','updateComment','element','_handleNewCommentModel','length','viewUid','commentViews','_handleInfoComment','bind','change:isEditMode'];(function(_0x3f2f63,_0xfea7c8){const _0x1ee1bc=function(_0xec5ecd){while(--_0xec5ecd){_0x3f2f63['push'](_0x3f2f63['shift']());}};_0x1ee1bc(++_0xfea7c8);}(_0xfea7,0x16d));const _0x1ee1=function(_0x3f2f63,_0xfea7c8){_0x3f2f63=_0x3f2f63-0x0;let _0x1ee1bc=_0xfea7[_0x3f2f63];return _0x1ee1bc;};import{View as _0x25ce5f}from'ckeditor5/src/ui';import{diff as _0x5ad14f,Collection as _0x3e824d}from'ckeditor5/src/utils';import{getTranslation as _0x2724d3}from'../../../utils/common-translations';import _0x287618 from'./collapsedcommentsview';export default class wt extends _0x25ce5f{constructor(_0x3f01e3,_0x1faebe,_0x55f22d){super(_0x3f01e3),this[_0x1ee1('0x11')](_0x1ee1('0x7'),!0x1),this[_0x1ee1('0x11')](_0x1ee1('0x2a'),_0x1faebe[_0x1ee1('0x22')][_0x1ee1('0x2a')]),this[_0x1ee1('0x11')](_0x1ee1('0xe'),!0x1),this[_0x1ee1('0x4')]=_0x1faebe,this[_0x1ee1('0x36')]=_0x55f22d,this[_0x1ee1('0x2c')]=this[_0x1ee1('0x1b')](),this[_0x1ee1('0x39')]=this[_0x1ee1('0x1b')](),this[_0x1ee1('0x8')]=null,this[_0x1ee1('0x3')]=new _0x287618(_0x3f01e3),this[_0x1ee1('0x3')][_0x1ee1('0x2e')]('count')['to'](this,'length',_0x5f4d8c=>_0x5f4d8c-this[_0x1ee1('0x36')][_0x1ee1('0x5')]);for(const _0x34b97d of _0x1faebe[_0x1ee1('0x22')])this[_0x1ee1('0x29')](_0x34b97d);this[_0x1ee1('0x2d')](),this[_0x1ee1('0x15')](_0x1faebe[_0x1ee1('0x22')],_0x1ee1('0x1e'),(_0x2471bf,_0x31d34c)=>{const _0x263aee=this[_0x1ee1('0xa')](_0x31d34c);this['length']++,this[_0x1ee1('0x29')](_0x31d34c,_0x263aee),this[_0x1ee1('0x35')]();}),this[_0x1ee1('0x15')](_0x1faebe[_0x1ee1('0x22')],_0x1ee1('0x10'),(_0xab9767,_0xc04eef)=>{this[_0x1ee1('0x2a')]--,this[_0x1ee1('0x9')](_0xc04eef),this[_0x1ee1('0x35')]();}),this[_0x1ee1('0x15')](_0x1faebe,'commentUpdated',()=>this[_0x1ee1('0x35')]()),this[_0x1ee1('0x15')](_0x1faebe,_0x1ee1('0x34'),()=>this['_handleInfoComment']()),this['on'](_0x1ee1('0x23'),()=>this[_0x1ee1('0x35')]()),this['on'](_0x1ee1('0x14'),()=>this['refreshVisibleViews']()),this[_0x1ee1('0x32')]({'tag':'ul','attributes':{'class':[_0x1ee1('0x33')]},'children':this[_0x1ee1('0x39')]});}get[_0x1ee1('0xd')](){return this[_0x1ee1('0x4')][_0x1ee1('0x6')]>this[_0x1ee1('0x36')][_0x1ee1('0x1a')]&&!this[_0x1ee1('0xe')]&&!this[_0x1ee1('0x7')];}[_0x1ee1('0x24')](){super[_0x1ee1('0x24')](),this[_0x1ee1('0x35')]();}['focus'](){this[_0x1ee1('0x28')][_0x1ee1('0xc')]();}['destroy'](){this['_collapsedCommentsView'][_0x1ee1('0x1')]();for(const _0x13c3c0 of this[_0x1ee1('0x2c')])_0x13c3c0[_0x1ee1('0x1')]();super['destroy']();}[_0x1ee1('0x35')](){this['_shouldCollapse']?this[_0x1ee1('0x31')]():this[_0x1ee1('0x1f')]();}[_0x1ee1('0x29')](_0x286eb4,_0x3187a1){const _0x427cd3=new this[(_0x1ee1('0x36'))][(_0x1ee1('0x16'))](this['locale'],_0x286eb4,{'maxCommentCharsWhenCollapsed':this[_0x1ee1('0x36')][_0x1ee1('0x38')],'formatDateTime':this[_0x1ee1('0x36')][_0x1ee1('0x30')],'editorConfig':this['_config'][_0x1ee1('0x20')]});_0x427cd3[_0x1ee1('0x2b')]=_0x286eb4['id'],_0x427cd3[_0x1ee1('0x21')](_0x1ee1('0x0'))['to'](this),_0x427cd3[_0x1ee1('0x21')](_0x1ee1('0x27'))['to'](this),_0x427cd3[_0x1ee1('0x21')]('resolveCommentThread')['to'](this),_0x427cd3[_0x1ee1('0x21')](_0x1ee1('0x17'))['to'](this),_0x427cd3[_0x1ee1('0x21')]('editorDestroyed')['to'](this),this[_0x1ee1('0x15')](_0x427cd3,_0x1ee1('0x2f'),()=>this[_0x1ee1('0x25')]()),this['commentViews'][_0x1ee1('0x1e')](_0x427cd3,_0x3187a1);}[_0x1ee1('0xa')](_0x494361){const _0x2b214=this[_0x1ee1('0x4')][_0x1ee1('0x12')](_0x494361);return this[_0x1ee1('0x8')]?this[_0x1ee1('0x8')]['authoredAt']>_0x494361[_0x1ee1('0x19')]?_0x2b214-0x1:_0x2b214:_0x2b214-0x1;}[_0x1ee1('0x2d')](){if(this[_0x1ee1('0x4')][_0x1ee1('0x26')]&&this[_0x1ee1('0x4')][_0x1ee1('0x13')]){const _0x2eee6c={'id':_0x1ee1('0x37'),'author':this[_0x1ee1('0x4')][_0x1ee1('0x26')],'authoredAt':this[_0x1ee1('0x4')]['resolvedAt'],'content':_0x2724d3(this['locale'],'Marked\x20as\x20resolved'),'attributes':{}};this[_0x1ee1('0x8')]=new this[(_0x1ee1('0x36'))]['CommentView'](this['locale'],_0x2eee6c,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this[_0x1ee1('0x36')][_0x1ee1('0x30')],'editorConfig':this['_config'][_0x1ee1('0x20')],'isSystemComment':!0x0}),this[_0x1ee1('0x2c')][_0x1ee1('0x1e')](this[_0x1ee1('0x8')],this[_0x1ee1('0x4')][_0x1ee1('0x12')](_0x2eee6c));}else this[_0x1ee1('0x8')]&&(this['commentViews']['remove'](this[_0x1ee1('0x8')]),this[_0x1ee1('0x8')][_0x1ee1('0x1')](),this['resolvedCommentView']=null);this[_0x1ee1('0x35')]();}[_0x1ee1('0x9')](_0x540e25){const _0x2c6768=this[_0x1ee1('0x2c')][_0x1ee1('0x10')](_0x540e25['id']);this[_0x1ee1('0x2')](_0x2c6768),_0x2c6768[_0x1ee1('0xb')]&&this[_0x1ee1('0x25')](),_0x2c6768[_0x1ee1('0x1')]();}[_0x1ee1('0x25')](){this[_0x1ee1('0x7')]=Array['from'](this[_0x1ee1('0x2c')])[_0x1ee1('0xf')](_0x344843=>_0x344843[_0x1ee1('0xb')]);}[_0x1ee1('0x31')](){const _0x464e7a=function(_0x570066){const _0x11b56a=new _0x3e824d();for(const _0x472461 of _0x570066)_0x11b56a[_0x1ee1('0x1e')](_0x472461);return _0x11b56a;}(this[_0x1ee1('0x2c')]),_0x5a1846=this['_collapsedCommentsView']['count'];for(let _0x209a8b=0x1;_0x209a8b<=_0x5a1846;_0x209a8b++)_0x464e7a['remove'](0x1);for(const _0x23634a of _0x464e7a)_0x23634a['collapse']();_0x5a1846>0x0&&_0x464e7a['add'](this[_0x1ee1('0x3')],0x1),ss(_0x5ad14f(Array[_0x1ee1('0x1c')](this[_0x1ee1('0x39')]),Array[_0x1ee1('0x1c')](_0x464e7a)),this[_0x1ee1('0x39')],_0x464e7a);}[_0x1ee1('0x1f')](){ss(_0x5ad14f(Array[_0x1ee1('0x1c')](this['visibleViews']),Array[_0x1ee1('0x1c')](this[_0x1ee1('0x2c')])),this[_0x1ee1('0x39')],this['commentViews']);for(const _0x5cb913 of this[_0x1ee1('0x39')])_0x5cb913[_0x1ee1('0x18')]();}}function ss(_0x1d1187,_0x4c4a19,_0x4295f2){let _0x15fd9e=0x0;for(const _0x2552f3 of _0x1d1187)switch(_0x2552f3){case'insert':_0x4c4a19[_0x1ee1('0x1e')](_0x4295f2['get'](_0x15fd9e),_0x15fd9e),_0x15fd9e++;break;case _0x1ee1('0x1d'):_0x4c4a19['remove'](_0x15fd9e);break;case _0x1ee1('0x3a'):_0x15fd9e++;}}
23
+ const _0x510e=['createCollection','editorReady','refreshVisibleViews','change:hasDirtyComment','maxThreadTotalWeight','removeComment','authoredAt','_shouldCollapse','editorConfig','_model','_updateHasDirtyComment','editorDestroyed','resolvedBy','isEditMode','comments','resolvedCommentView','_rearrangeCollapse','delegate','focus','_config','change:isActive','CommentView','visibleViews','_handleRemoveCommentModel','resolveCommentThread','add','resolved','isActive','resolvedAt','change:isResolved','set','commentUpdated','render','_handleInfoComment','element','insert','ck-thread__comments','_calculatePosition','locale','destroy','equal','Marked\x20as\x20resolved','from','_handleNewCommentModel','weight','stopListening','remove','listenTo','maxCommentsWhenCollapsed','expand','_collapsedCommentsView','bind','setTemplate','commentViews','hasDirtyComment','length','count'];(function(_0x131ea9,_0x510ef8){const _0x5e72f4=function(_0x64221d){while(--_0x64221d){_0x131ea9['push'](_0x131ea9['shift']());}};_0x5e72f4(++_0x510ef8);}(_0x510e,0xb4));const _0x5e72=function(_0x131ea9,_0x510ef8){_0x131ea9=_0x131ea9-0x0;let _0x5e72f4=_0x510e[_0x131ea9];return _0x5e72f4;};import{View as _0x3d4918}from'ckeditor5/src/ui';import{diff as _0x12f668,Collection as _0x5c94b3}from'ckeditor5/src/utils';import{getTranslation as _0x1464a9}from'../../../utils/common-translations';import _0x1e5c85 from'./collapsedcommentsview';export default class wt extends _0x3d4918{constructor(_0x2a99a4,_0x610fbd,_0x196643){super(_0x2a99a4),this[_0x5e72('0x15')](_0x5e72('0x2d'),!0x1),this['set'](_0x5e72('0x2e'),_0x610fbd[_0x5e72('0x5')][_0x5e72('0x2e')]),this['set'](_0x5e72('0x12'),!0x1),this['_model']=_0x610fbd,this[_0x5e72('0xa')]=_0x196643,this[_0x5e72('0x2c')]=this['createCollection'](),this[_0x5e72('0xd')]=this[_0x5e72('0x30')](),this['resolvedCommentView']=null,this['_collapsedCommentsView']=new _0x1e5c85(_0x2a99a4),this[_0x5e72('0x29')][_0x5e72('0x2a')](_0x5e72('0x2f'))['to'](this,'length',_0x332c94=>_0x332c94-this[_0x5e72('0xa')][_0x5e72('0x27')]);for(const _0x3490dc of _0x610fbd[_0x5e72('0x5')])this[_0x5e72('0x22')](_0x3490dc);this[_0x5e72('0x18')](),this[_0x5e72('0x26')](_0x610fbd[_0x5e72('0x5')],_0x5e72('0x10'),(_0x2dc461,_0x572748)=>{const _0x3fb36a=this[_0x5e72('0x1c')](_0x572748);this['length']++,this['_handleNewCommentModel'](_0x572748,_0x3fb36a),this[_0x5e72('0x32')]();}),this[_0x5e72('0x26')](_0x610fbd[_0x5e72('0x5')],_0x5e72('0x25'),(_0x1f9f59,_0x130da6)=>{this[_0x5e72('0x2e')]--,this['_handleRemoveCommentModel'](_0x130da6),this[_0x5e72('0x32')]();}),this[_0x5e72('0x26')](_0x610fbd,_0x5e72('0x16'),()=>this[_0x5e72('0x32')]()),this[_0x5e72('0x26')](_0x610fbd,_0x5e72('0x14'),()=>this[_0x5e72('0x18')]()),this['on'](_0x5e72('0xb'),()=>this['refreshVisibleViews']()),this['on'](_0x5e72('0x33'),()=>this[_0x5e72('0x32')]()),this[_0x5e72('0x2b')]({'tag':'ul','attributes':{'class':[_0x5e72('0x1b')]},'children':this[_0x5e72('0xd')]});}get[_0x5e72('0x37')](){return this[_0x5e72('0x0')][_0x5e72('0x23')]>this[_0x5e72('0xa')][_0x5e72('0x34')]&&!this[_0x5e72('0x12')]&&!this[_0x5e72('0x2d')];}[_0x5e72('0x17')](){super['render'](),this[_0x5e72('0x32')]();}[_0x5e72('0x9')](){this[_0x5e72('0x19')][_0x5e72('0x9')]();}[_0x5e72('0x1e')](){this[_0x5e72('0x29')][_0x5e72('0x1e')]();for(const _0x2baf98 of this[_0x5e72('0x2c')])_0x2baf98[_0x5e72('0x1e')]();super['destroy']();}[_0x5e72('0x32')](){this[_0x5e72('0x37')]?this[_0x5e72('0x7')]():this['_rearrangeExpand']();}[_0x5e72('0x22')](_0x4912ba,_0x4dbcf2){const _0x183350=new this[(_0x5e72('0xa'))][(_0x5e72('0xc'))](this[_0x5e72('0x1d')],_0x4912ba,{'maxCommentCharsWhenCollapsed':this[_0x5e72('0xa')]['maxCommentCharsWhenCollapsed'],'formatDateTime':this[_0x5e72('0xa')]['formatDateTime'],'editorConfig':this[_0x5e72('0xa')][_0x5e72('0x38')]});_0x183350['viewUid']=_0x4912ba['id'],_0x183350[_0x5e72('0x8')](_0x5e72('0x35'))['to'](this),_0x183350[_0x5e72('0x8')]('updateComment')['to'](this),_0x183350['delegate'](_0x5e72('0xf'))['to'](this),_0x183350[_0x5e72('0x8')](_0x5e72('0x31'))['to'](this),_0x183350[_0x5e72('0x8')](_0x5e72('0x2'))['to'](this),this['listenTo'](_0x183350,'change:isEditMode',()=>this[_0x5e72('0x1')]()),this[_0x5e72('0x2c')][_0x5e72('0x10')](_0x183350,_0x4dbcf2);}[_0x5e72('0x1c')](_0x46be93){const _0x5dd6da=this[_0x5e72('0x0')]['_findOptimalIndex'](_0x46be93);return this['resolvedCommentView']?this['resolvedCommentView'][_0x5e72('0x36')]>_0x46be93['authoredAt']?_0x5dd6da-0x1:_0x5dd6da:_0x5dd6da-0x1;}[_0x5e72('0x18')](){if(this[_0x5e72('0x0')][_0x5e72('0x3')]&&this[_0x5e72('0x0')][_0x5e72('0x13')]){const _0x58b1b0={'id':_0x5e72('0x11'),'author':this[_0x5e72('0x0')][_0x5e72('0x3')],'authoredAt':this['_model'][_0x5e72('0x13')],'content':_0x1464a9(this[_0x5e72('0x1d')],_0x5e72('0x20')),'attributes':{}};this['resolvedCommentView']=new this[(_0x5e72('0xa'))][(_0x5e72('0xc'))](this[_0x5e72('0x1d')],_0x58b1b0,{'maxCommentCharsWhenCollapsed':this[_0x5e72('0xa')]['maxCommentCharsWhenCollapsed'],'formatDateTime':this[_0x5e72('0xa')]['formatDateTime'],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this[_0x5e72('0x2c')][_0x5e72('0x10')](this[_0x5e72('0x6')],this['_model']['_findOptimalIndex'](_0x58b1b0));}else this['resolvedCommentView']&&(this[_0x5e72('0x2c')]['remove'](this['resolvedCommentView']),this[_0x5e72('0x6')][_0x5e72('0x1e')](),this[_0x5e72('0x6')]=null);this[_0x5e72('0x32')]();}[_0x5e72('0xe')](_0x1b60a0){const _0x4d4834=this[_0x5e72('0x2c')][_0x5e72('0x25')](_0x1b60a0['id']);this[_0x5e72('0x24')](_0x4d4834),_0x4d4834['isEditMode']&&this[_0x5e72('0x1')](),_0x4d4834['destroy']();}[_0x5e72('0x1')](){this[_0x5e72('0x2d')]=Array['from'](this[_0x5e72('0x2c')])['some'](_0x134728=>_0x134728[_0x5e72('0x4')]);}[_0x5e72('0x7')](){const _0x30a7a9=function(_0x5a7999){const _0x142253=new _0x5c94b3();for(const _0x225520 of _0x5a7999)_0x142253[_0x5e72('0x10')](_0x225520);return _0x142253;}(this[_0x5e72('0x2c')]),_0x512d57=this[_0x5e72('0x29')][_0x5e72('0x2f')];for(let _0x45a38c=0x1;_0x45a38c<=_0x512d57;_0x45a38c++)_0x30a7a9['remove'](0x1);for(const _0x3f964b of _0x30a7a9)_0x3f964b['collapse']();_0x512d57>0x0&&_0x30a7a9[_0x5e72('0x10')](this['_collapsedCommentsView'],0x1),ss(_0x12f668(Array[_0x5e72('0x21')](this[_0x5e72('0xd')]),Array[_0x5e72('0x21')](_0x30a7a9)),this[_0x5e72('0xd')],_0x30a7a9);}['_rearrangeExpand'](){ss(_0x12f668(Array[_0x5e72('0x21')](this[_0x5e72('0xd')]),Array[_0x5e72('0x21')](this[_0x5e72('0x2c')])),this[_0x5e72('0xd')],this[_0x5e72('0x2c')]);for(const _0x58039d of this[_0x5e72('0xd')])_0x58039d[_0x5e72('0x28')]();}}function ss(_0x2d8d53,_0x12d752,_0x18a29b){let _0x3a6c13=0x0;for(const _0x54f984 of _0x2d8d53)switch(_0x54f984){case _0x5e72('0x1a'):_0x12d752[_0x5e72('0x10')](_0x18a29b['get'](_0x3a6c13),_0x3a6c13),_0x3a6c13++;break;case'delete':_0x12d752[_0x5e72('0x25')](_0x3a6c13);break;case _0x5e72('0x1f'):_0x3a6c13++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x17c4=['...','_createReopenButton','length','.ck-context__value','overlay','context','remove','ck-annotation__actions','reopenCommentThread','classList','contextValue','hasContext','isResolved','_attachContextActions','mouseenter','execute','ck-context__value','add','listenTo','bind','value','substring','ck-context--quotes','isEnabled','.ck-context','ck-context','isReadOnly','locale','Reopen','div','render','label','Comment\x20was\x20made\x20on\x20an\x20element','querySelector','reopenButtonView','offsetWidth','scrollWidth','_model','isResolvable','mouseleave','ck-thread__header','setTemplate','_trimContextValue','span'];(function(_0x49c8be,_0x17c4a4){const _0x2afa12=function(_0x3e77e3){while(--_0x3e77e3){_0x49c8be['push'](_0x49c8be['shift']());}};_0x2afa12(++_0x17c4a4);}(_0x17c4,0x19a));const _0x2afa=function(_0x49c8be,_0x17c4a4){_0x49c8be=_0x49c8be-0x0;let _0x2afa12=_0x17c4[_0x49c8be];return _0x2afa12;};import{View as _0xea0bd6,ButtonView as _0x3d2bc1}from'ckeditor5/src/ui';import{getTranslation as _0x574624}from'../../../utils/common-translations';import _0x39aa72 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Rt extends _0xea0bd6{constructor(_0x1043f5,_0x17e4c3){super(_0x1043f5);const _0x5b33de=this['bindTemplate'];this[_0x2afa('0x17')]=_0x17e4c3,this[_0x2afa('0x14')]=this[_0x2afa('0x1f')](),this[_0x2afa('0x5')](_0x2afa('0x29'))['to'](this[_0x2afa('0x17')],'context',_0x1437ff=>!!_0x1437ff),this[_0x2afa('0x5')]('contextValue')['to'](this['_model'],_0x2afa('0x23'),_0x23f3d8=>_0x23f3d8&&_0x23f3d8[_0x2afa('0x6')]?this[_0x2afa('0x1c')](_0x23f3d8['value']):_0x574624(this[_0x2afa('0xd')],_0x2afa('0x12'))),this[_0x2afa('0x1b')]({'tag':'div','attributes':{'class':[_0x2afa('0x1a')]},'children':[{'tag':_0x2afa('0xf'),'attributes':{'class':['ck-context-wrapper']},'children':[{'tag':_0x2afa('0xf'),'attributes':{'class':[_0x2afa('0xb'),_0x5b33de['if'](_0x2afa('0x29'),_0x2afa('0x8'))]},'children':[{'tag':_0x2afa('0x1d'),'attributes':{'class':[_0x2afa('0x2')]},'children':[{'text':_0x5b33de['to'](_0x2afa('0x28'))}]}]}]},{'tag':_0x2afa('0xf'),'attributes':{'class':[_0x2afa('0x25')]},'children':[this[_0x2afa('0x14')]]}]});}[_0x2afa('0x10')](){super[_0x2afa('0x10')](),this['_attachContextActions']();}[_0x2afa('0x1f')](){const _0x1a953d=new _0x3d2bc1(this[_0x2afa('0xd')]);return _0x1a953d[_0x2afa('0x11')]=_0x574624(this[_0x2afa('0xd')],_0x2afa('0xe')),_0x1a953d['tooltip']=_0x574624(this[_0x2afa('0xd')],'Reopen'),_0x1a953d['icon']=_0x39aa72,_0x1a953d[_0x2afa('0x5')](_0x2afa('0x9'))['to'](this[_0x2afa('0x17')],_0x2afa('0xc'),_0x46ef72=>!_0x46ef72),_0x1a953d['bind']('isVisible')['to'](this[_0x2afa('0x17')],_0x2afa('0x18'),this['_model'],_0x2afa('0x2a'),(_0x8b07d6,_0x5f5dcc)=>_0x8b07d6&&_0x5f5dcc),_0x1a953d['on'](_0x2afa('0x1'),()=>{this['fire'](_0x2afa('0x26'),this['_model']['id']);}),_0x1a953d;}[_0x2afa('0x1c')](_0x24f837){if(_0x24f837[_0x2afa('0x20')]<0x96)return _0x24f837;const _0x49877f=_0x24f837['lastIndexOf']('\x20',0x93);return _0x24f837[_0x2afa('0x7')](0x0,_0x49877f>-0x1?_0x49877f:0x93)+_0x2afa('0x1e');}[_0x2afa('0x2b')](){const _0x3c6a56=this['element'][_0x2afa('0x13')](_0x2afa('0xa')),_0xb2b9a3=_0x3c6a56[_0x2afa('0x13')](_0x2afa('0x21'));this[_0x2afa('0x4')](_0x3c6a56,_0x2afa('0x0'),()=>{_0xb2b9a3[_0x2afa('0x15')]<_0xb2b9a3[_0x2afa('0x16')]&&_0x3c6a56[_0x2afa('0x27')][_0x2afa('0x3')]('overlay');}),this[_0x2afa('0x4')](_0x3c6a56,_0x2afa('0x19'),()=>{_0x3c6a56[_0x2afa('0x27')][_0x2afa('0x24')](_0x2afa('0x22'));});}}
23
+ const _0x4cfa=['ck-thread__header','isEnabled','ck-context--quotes','_model','_trimContextValue','isResolvable','substring','div','classList','Comment\x20was\x20made\x20on\x20an\x20element','mouseenter','scrollWidth','tooltip','element','label','ck-context','context','overlay','bind','lastIndexOf','span','.ck-context__value','add','contextValue','querySelector','setTemplate','Reopen','...','value','offsetWidth','bindTemplate','ck-annotation__actions','_createReopenButton','locale','reopenButtonView','listenTo','remove','isVisible','ck-context__value','execute','render','reopenCommentThread','mouseleave'];(function(_0x1fc5d4,_0x4cfa7c){const _0x59f05e=function(_0x3675ad){while(--_0x3675ad){_0x1fc5d4['push'](_0x1fc5d4['shift']());}};_0x59f05e(++_0x4cfa7c);}(_0x4cfa,0xe9));const _0x59f0=function(_0x1fc5d4,_0x4cfa7c){_0x1fc5d4=_0x1fc5d4-0x0;let _0x59f05e=_0x4cfa[_0x1fc5d4];return _0x59f05e;};import{View as _0xeb7aab,ButtonView as _0xea2b7}from'ckeditor5/src/ui';import{getTranslation as _0xb1ad44}from'../../../utils/common-translations';import _0x490b41 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Rt extends _0xeb7aab{constructor(_0x1531e0,_0x2cb774){super(_0x1531e0);const _0x5df9d8=this[_0x59f0('0xc')];this[_0x59f0('0x1c')]=_0x2cb774,this[_0x59f0('0x10')]=this[_0x59f0('0xe')](),this[_0x59f0('0x0')]('hasContext')['to'](this[_0x59f0('0x1c')],_0x59f0('0x29'),_0x504a21=>!!_0x504a21),this[_0x59f0('0x0')]('contextValue')['to'](this[_0x59f0('0x1c')],_0x59f0('0x29'),_0x55dded=>_0x55dded&&_0x55dded[_0x59f0('0xa')]?this['_trimContextValue'](_0x55dded['value']):_0xb1ad44(this[_0x59f0('0xf')],_0x59f0('0x22'))),this[_0x59f0('0x7')]({'tag':_0x59f0('0x20'),'attributes':{'class':[_0x59f0('0x19')]},'children':[{'tag':'div','attributes':{'class':['ck-context-wrapper']},'children':[{'tag':_0x59f0('0x20'),'attributes':{'class':[_0x59f0('0x28'),_0x5df9d8['if']('hasContext',_0x59f0('0x1b'))]},'children':[{'tag':_0x59f0('0x2'),'attributes':{'class':[_0x59f0('0x14')]},'children':[{'text':_0x5df9d8['to'](_0x59f0('0x5'))}]}]}]},{'tag':_0x59f0('0x20'),'attributes':{'class':[_0x59f0('0xd')]},'children':[this[_0x59f0('0x10')]]}]});}[_0x59f0('0x16')](){super[_0x59f0('0x16')](),this['_attachContextActions']();}['_createReopenButton'](){const _0x4ab0bd=new _0xea2b7(this[_0x59f0('0xf')]);return _0x4ab0bd[_0x59f0('0x27')]=_0xb1ad44(this[_0x59f0('0xf')],'Reopen'),_0x4ab0bd[_0x59f0('0x25')]=_0xb1ad44(this[_0x59f0('0xf')],_0x59f0('0x8')),_0x4ab0bd['icon']=_0x490b41,_0x4ab0bd['bind'](_0x59f0('0x1a'))['to'](this[_0x59f0('0x1c')],'isReadOnly',_0x22047b=>!_0x22047b),_0x4ab0bd['bind'](_0x59f0('0x13'))['to'](this['_model'],_0x59f0('0x1e'),this['_model'],'isResolved',(_0xb9d6b1,_0x2e11f0)=>_0xb9d6b1&&_0x2e11f0),_0x4ab0bd['on'](_0x59f0('0x15'),()=>{this['fire'](_0x59f0('0x17'),this[_0x59f0('0x1c')]['id']);}),_0x4ab0bd;}[_0x59f0('0x1d')](_0x57be27){if(_0x57be27['length']<0x96)return _0x57be27;const _0x28fc25=_0x57be27[_0x59f0('0x1')]('\x20',0x93);return _0x57be27[_0x59f0('0x1f')](0x0,_0x28fc25>-0x1?_0x28fc25:0x93)+_0x59f0('0x9');}['_attachContextActions'](){const _0x5bd0d0=this[_0x59f0('0x26')]['querySelector']('.ck-context'),_0x48f8ff=_0x5bd0d0[_0x59f0('0x6')](_0x59f0('0x3'));this[_0x59f0('0x11')](_0x5bd0d0,_0x59f0('0x23'),()=>{_0x48f8ff[_0x59f0('0xb')]<_0x48f8ff[_0x59f0('0x24')]&&_0x5bd0d0[_0x59f0('0x21')][_0x59f0('0x4')](_0x59f0('0x2a'));}),this[_0x59f0('0x11')](_0x5bd0d0,_0x59f0('0x18'),()=>{_0x5bd0d0[_0x59f0('0x21')][_0x59f0('0x12')](_0x59f0('0x2a'));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2861=['showInput','bind','createEditor','then','ck-thread__user','bindTemplate','commentInputView','editorDestroyed','ck-comment__input-container--active','editorReady','editor','div','setTemplate','userView','destroy','ck-comment__input-container','extendTemplate','change:showInput','showButtons','isFocused','set'];(function(_0x3ecc6e,_0x286165){var _0x3394f7=function(_0x4f38b8){while(--_0x4f38b8){_0x3ecc6e['push'](_0x3ecc6e['shift']());}};_0x3394f7(++_0x286165);}(_0x2861,0x16c));var _0x3394=function(_0x3ecc6e,_0x286165){_0x3ecc6e=_0x3ecc6e-0x0;var _0x3394f7=_0x2861[_0x3ecc6e];return _0x3394f7;};import{View as _0x332813}from'ckeditor5/src/ui';import _0x2c72a2 from'./commentinputview';import{UserView as _0xd31ed2}from'ckeditor5-collaboration/src/collaboration-core';export default class Ct extends _0x332813{constructor(_0x44b4a4,_0x52b665,_0x5a157f){super(_0x44b4a4),this[_0x3394('0x14')]=new _0x2c72a2(_0x44b4a4,_0x5a157f),this[_0x3394('0x14')][_0x3394('0xf')](_0x3394('0xb'))['to'](this['commentInputView']['focusTracker'],_0x3394('0xc'),this[_0x3394('0x14')],'value',(_0x4ec464,_0x2bcff1)=>_0x4ec464||!!_0x2bcff1),this[_0x3394('0xd')](_0x3394('0xe'),!0x1),this['on'](_0x3394('0xa'),()=>{this[_0x3394('0xe')]&&!this['commentInputView'][_0x3394('0x3')]&&this['commentInputView'][_0x3394('0x10')]();}),this[_0x3394('0x14')]['delegate'](_0x3394('0x2'))['to'](this),this[_0x3394('0x14')]['delegate'](_0x3394('0x0'))['to'](this),this[_0x3394('0x6')]=new _0xd31ed2(_0x44b4a4,_0x52b665),this[_0x3394('0x6')][_0x3394('0x9')]({'attributes':{'class':_0x3394('0x12')}}),this[_0x3394('0x14')][_0x3394('0x9')]({'attributes':{'class':'ck-thread__input'}}),this[_0x3394('0x5')]({'tag':_0x3394('0x4'),'attributes':{'class':[_0x3394('0x8'),this[_0x3394('0x13')]['if'](_0x3394('0xe'),_0x3394('0x1'))]},'children':[this[_0x3394('0x6')],this[_0x3394('0x14')]]});}['destroy'](){return this['commentInputView'][_0x3394('0x7')]()[_0x3394('0x11')](()=>super[_0x3394('0x7')]());}}
23
+ var _0x19d6=['ck-thread__user','bindTemplate','change:showInput','extendTemplate','ck-comment__input-container--active','commentInputView','ck-comment__input-container','div','delegate','value','then','setTemplate','userView','showInput','destroy','bind','ck-thread__input','isFocused','focusTracker','createEditor','set'];(function(_0x2ec5a5,_0x19d6c0){var _0x3462a0=function(_0x18f315){while(--_0x18f315){_0x2ec5a5['push'](_0x2ec5a5['shift']());}};_0x3462a0(++_0x19d6c0);}(_0x19d6,0x128));var _0x3462=function(_0x2ec5a5,_0x19d6c0){_0x2ec5a5=_0x2ec5a5-0x0;var _0x3462a0=_0x19d6[_0x2ec5a5];return _0x3462a0;};import{View as _0x2f6a95}from'ckeditor5/src/ui';import _0x234a02 from'./commentinputview';import{UserView as _0x115fe7}from'ckeditor5-collaboration/src/collaboration-core';export default class Ct extends _0x2f6a95{constructor(_0x41e42c,_0x1b059d,_0x4e2f99){super(_0x41e42c),this['commentInputView']=new _0x234a02(_0x41e42c,_0x4e2f99),this[_0x3462('0x3')][_0x3462('0xd')]('showButtons')['to'](this[_0x3462('0x3')][_0x3462('0x10')],_0x3462('0xf'),this[_0x3462('0x3')],_0x3462('0x7'),(_0x2919c5,_0x4b4e5b)=>_0x2919c5||!!_0x4b4e5b),this[_0x3462('0x12')](_0x3462('0xb'),!0x1),this['on'](_0x3462('0x0'),()=>{this[_0x3462('0xb')]&&!this[_0x3462('0x3')]['editor']&&this[_0x3462('0x3')][_0x3462('0x11')]();}),this[_0x3462('0x3')]['delegate']('editorReady')['to'](this),this['commentInputView'][_0x3462('0x6')]('editorDestroyed')['to'](this),this[_0x3462('0xa')]=new _0x115fe7(_0x41e42c,_0x1b059d),this[_0x3462('0xa')][_0x3462('0x1')]({'attributes':{'class':_0x3462('0x13')}}),this['commentInputView'][_0x3462('0x1')]({'attributes':{'class':_0x3462('0xe')}}),this[_0x3462('0x9')]({'tag':_0x3462('0x5'),'attributes':{'class':[_0x3462('0x4'),this[_0x3462('0x14')]['if'](_0x3462('0xb'),_0x3462('0x2'))]},'children':[this['userView'],this['commentInputView']]});}['destroy'](){return this[_0x3462('0x3')][_0x3462('0xc')]()[_0x3462('0x8')](()=>super[_0x3462('0xc')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2358=['ck-thread--','div','querySelector','commentViews','remove','actionBar','_createResolveButton','.ck-thread__container','_model','getTemplate','ck-thread--remove-confirmation','Delete\x20comment\x20thread?','render','ck-thread__container','get','ck-reset_all-excluded','set','_boundFirstCommentView','commentThreadChildren','isResolvable','placeholder','actionIndicator','isReadOnly','isSystemComment','_bindFirstCommentView','Resolve','locale','tooltip','element','unbind','ck-thread--unlinked','length','removeButton','setTemplate','add','commentThreadInputView','resolveButton','Write\x20a\x20comment...','containerElement','change:isActive','stop','addMany','commentsListView','isVisible','isEnabled','isConfirm','commentThreadHeaderView','cancelConfirm','isUnlinked','bindTemplate','change:archivedAt','fire','listenTo','createCollection','then','_cancelAllConfirms','execute'];(function(_0x314a7c,_0x23580d){const _0x30920a=function(_0x12938b){while(--_0x12938b){_0x314a7c['push'](_0x314a7c['shift']());}};_0x30920a(++_0x23580d);}(_0x2358,0x133));const _0x3092=function(_0x314a7c,_0x23580d){_0x314a7c=_0x314a7c-0x0;let _0x30920a=_0x2358[_0x314a7c];return _0x30920a;};import{ConfirmMixin as _0x44be55}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x3273e1}from'ckeditor5/src/ui';import{icons as _0x1ca8ea}from'ckeditor5/src/core';import _0x30f827 from'./basecommentthreadview';import{getTranslation as _0x3eb145}from'../../../utils/common-translations';export default class lt extends _0x44be55(_0x30f827){constructor(_0x8ae252,_0xe7ca5,_0x339121,_0x49f152){super(_0x8ae252,_0xe7ca5,_0x339121,_0x49f152),this[_0x3092('0x35')]=this[_0x3092('0x1f')](),this[_0x3092('0x35')][_0x3092('0x13')]([this[_0x3092('0x14')],this[_0x3092('0xd')]]),this[_0x3092('0x2b')]['archivedAt']&&this[_0x3092('0x35')]['add'](this[_0x3092('0x18')],0x0),this[_0x3092('0x2b')]['on'](_0x3092('0x1c'),(_0x807ec5,_0x42fa50,_0x1901b0)=>{_0x1901b0?this[_0x3092('0x35')]['has'](this[_0x3092('0x18')])||this['commentThreadChildren'][_0x3092('0xc')](this['commentThreadHeaderView'],0x0):this[_0x3092('0x35')]['remove'](this[_0x3092('0x18')]);}),this[_0x3092('0x33')](_0x3092('0x38'),null),this[_0x3092('0x10')]=null,this['_boundFirstCommentView']=null,this[_0x3092('0x4')]=_0x8ae252,this[_0x3092('0xe')]=this[_0x3092('0x29')](),this[_0x3092('0xb')](this[_0x3092('0x2c')]()),this['on'](_0x3092('0x11'),(_0x3523fd,_0x35b9dc,_0x38e200)=>{_0x38e200||this[_0x3092('0x21')]();}),this[_0x3092('0x1e')](this[_0x3092('0x2b')],'change:isReadOnly',(_0x4f70c7,_0x1d91fd,_0x4a70c9)=>{_0x4a70c9&&this[_0x3092('0x21')]();}),this[_0x3092('0x9')]>0x0&&this[_0x3092('0x2')](),this[_0x3092('0x1e')](this['commentsListView'][_0x3092('0x26')],_0x3092('0xc'),()=>{this[_0x3092('0x2')]();});}[_0x3092('0x2c')](){const _0x3238af=this[_0x3092('0x1b')];return{'tag':_0x3092('0x24'),'attributes':{'class':['ck-thread',_0x3092('0x32'),_0x3238af['if']('isActive','ck-thread--active'),_0x3238af['if'](_0x3092('0x1a'),_0x3092('0x8')),_0x3238af['if'](_0x3092('0x17'),_0x3092('0x2d')),_0x3238af['to']('actionIndicator',_0x2a5c89=>_0x2a5c89?_0x3092('0x23')+_0x2a5c89:'')],'data-thread-id':this[_0x3092('0x2b')]['id'],'tabindex':-0x1},'children':[{'tag':_0x3092('0x24'),'attributes':{'class':_0x3092('0x30')},'children':this[_0x3092('0x35')]}]};}['render'](){super[_0x3092('0x2f')](),this[_0x3092('0x10')]=this[_0x3092('0x6')][_0x3092('0x25')](_0x3092('0x2a'));}['_cancelAllConfirms'](){this[_0x3092('0x19')]();for(const _0x5a20eb of this['commentsListView'][_0x3092('0x26')])_0x5a20eb[_0x3092('0x19')]();}[_0x3092('0x2')](){const {locale:_0x4aef63}=this,_0xe7b734=this['commentsListView'][_0x3092('0x26')][_0x3092('0x31')](0x0);_0xe7b734===this['_boundFirstCommentView']||_0xe7b734[_0x3092('0x1')]||(this[_0x3092('0x34')]=_0xe7b734,this[_0x3092('0x7')](_0x3092('0x38')),this['bind'](_0x3092('0x38'))['to'](_0xe7b734,_0x3092('0x38'),_0x58cd69=>_0x3092('0x27')===_0x58cd69?_0x3092('0x27'):null),_0xe7b734[_0x3092('0x37')]=_0x3eb145(_0x4aef63,_0x3092('0xf')),_0xe7b734[_0x3092('0xa')]['on'](_0x3092('0x22'),_0x3abca9=>{_0x3abca9[_0x3092('0x12')](),this['showConfirm'](_0x3eb145(_0x4aef63,_0x3092('0x2e')),this[_0x3092('0x10')])[_0x3092('0x20')](()=>{this[_0x3092('0x1d')]('removeCommentThread');});},{'priority':'high'}),_0xe7b734[_0x3092('0x28')]['add'](this[_0x3092('0xe')],0x0));}[_0x3092('0x29')](){const _0x5e03c7=new _0x3273e1(this[_0x3092('0x4')]);return _0x5e03c7['label']=_0x3eb145(this[_0x3092('0x4')],_0x3092('0x3')),_0x5e03c7[_0x3092('0x5')]=_0x3eb145(this[_0x3092('0x4')],'Resolve'),_0x5e03c7['icon']=_0x1ca8ea['check'],_0x5e03c7['extendTemplate']({'attributes':{'class':'ck-comment--resolve'}}),_0x5e03c7['bind'](_0x3092('0x16'))['to'](this[_0x3092('0x2b')],_0x3092('0x0'),_0x2735ae=>!_0x2735ae),_0x5e03c7['bind'](_0x3092('0x15'))['to'](this[_0x3092('0x2b')],_0x3092('0x36'),this['_model'],'isResolved',(_0x58a9e3,_0x3676c3)=>_0x58a9e3&&!_0x3676c3),_0x5e03c7['on'](_0x3092('0x22'),()=>{this[_0x3092('0x1d')]('resolveCommentThread',this[_0x3092('0x2b')]['id']);}),_0x5e03c7;}}
23
+ const _0x521e=['add','_model','tooltip','_bindFirstCommentView','Write\x20a\x20comment...','ck-reset_all-excluded','resolveButton','.ck-thread__container','has','locale','ck-thread--active','set','fire','Resolve','actionIndicator','unbind','ck-thread--remove-confirmation','length','icon','ck-thread--unlinked','isVisible','containerElement','cancelConfirm','then','commentsListView','render','commentThreadChildren','execute','bind','get','ck-thread','_boundFirstCommentView','isUnlinked','isReadOnly','isResolved','listenTo','change:isReadOnly','addMany','archivedAt','_cancelAllConfirms','extendTemplate','high','createCollection','commentViews','_createResolveButton','isResolvable','ck-comment--resolve','Delete\x20comment\x20thread?','ck-thread__container','change:isActive','showConfirm','isActive','isEnabled','commentThreadInputView','querySelector','isConfirm','bindTemplate','remove','getTemplate','commentThreadHeaderView'];(function(_0x3fff59,_0x521e2b){const _0xfa9bb7=function(_0x3478c5){while(--_0x3478c5){_0x3fff59['push'](_0x3fff59['shift']());}};_0xfa9bb7(++_0x521e2b);}(_0x521e,0x171));const _0xfa9b=function(_0x3fff59,_0x521e2b){_0x3fff59=_0x3fff59-0x0;let _0xfa9bb7=_0x521e[_0x3fff59];return _0xfa9bb7;};import{ConfirmMixin as _0x4ff187}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x463cd4}from'ckeditor5/src/ui';import{icons as _0x5466be}from'ckeditor5/src/core';import _0x2031ad from'./basecommentthreadview';import{getTranslation as _0x3417fa}from'../../../utils/common-translations';export default class lt extends _0x4ff187(_0x2031ad){constructor(_0xfc4784,_0x4f20f7,_0x3b6ccd,_0x25c31a){super(_0xfc4784,_0x4f20f7,_0x3b6ccd,_0x25c31a),this[_0xfa9b('0x11')]=this[_0xfa9b('0x21')](),this[_0xfa9b('0x11')][_0xfa9b('0x1c')]([this[_0xfa9b('0xf')],this[_0xfa9b('0x2c')]]),this[_0xfa9b('0x34')][_0xfa9b('0x1d')]&&this['commentThreadChildren'][_0xfa9b('0x33')](this[_0xfa9b('0x32')],0x0),this[_0xfa9b('0x34')]['on']('change:archivedAt',(_0x2e772d,_0x539e6d,_0x4faa8d)=>{_0x4faa8d?this[_0xfa9b('0x11')][_0xfa9b('0x3b')](this[_0xfa9b('0x32')])||this[_0xfa9b('0x11')]['add'](this[_0xfa9b('0x32')],0x0):this[_0xfa9b('0x11')]['remove'](this[_0xfa9b('0x32')]);}),this[_0xfa9b('0x2')]('actionIndicator',null),this[_0xfa9b('0xc')]=null,this['_boundFirstCommentView']=null,this[_0xfa9b('0x0')]=_0xfc4784,this[_0xfa9b('0x39')]=this[_0xfa9b('0x23')](),this['setTemplate'](this[_0xfa9b('0x31')]()),this['on'](_0xfa9b('0x28'),(_0x43f6c5,_0x312551,_0x5335e8)=>{_0x5335e8||this[_0xfa9b('0x1e')]();}),this['listenTo'](this[_0xfa9b('0x34')],_0xfa9b('0x1b'),(_0xa12afa,_0xb93d46,_0x4cbb8d)=>{_0x4cbb8d&&this[_0xfa9b('0x1e')]();}),this[_0xfa9b('0x8')]>0x0&&this['_bindFirstCommentView'](),this[_0xfa9b('0x1a')](this['commentsListView'][_0xfa9b('0x22')],'add',()=>{this[_0xfa9b('0x36')]();});}[_0xfa9b('0x31')](){const _0x3d5db8=this[_0xfa9b('0x2f')];return{'tag':'div','attributes':{'class':[_0xfa9b('0x15'),_0xfa9b('0x38'),_0x3d5db8['if'](_0xfa9b('0x2a'),_0xfa9b('0x1')),_0x3d5db8['if'](_0xfa9b('0x17'),_0xfa9b('0xa')),_0x3d5db8['if'](_0xfa9b('0x2e'),_0xfa9b('0x7')),_0x3d5db8['to']('actionIndicator',_0x13680d=>_0x13680d?'ck-thread--'+_0x13680d:'')],'data-thread-id':this[_0xfa9b('0x34')]['id'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':_0xfa9b('0x27')},'children':this[_0xfa9b('0x11')]}]};}[_0xfa9b('0x10')](){super[_0xfa9b('0x10')](),this[_0xfa9b('0xc')]=this['element'][_0xfa9b('0x2d')](_0xfa9b('0x3a'));}[_0xfa9b('0x1e')](){this['cancelConfirm']();for(const _0x11669e of this[_0xfa9b('0xf')][_0xfa9b('0x22')])_0x11669e[_0xfa9b('0xd')]();}['_bindFirstCommentView'](){const {locale:_0x11b724}=this,_0x8de822=this[_0xfa9b('0xf')][_0xfa9b('0x22')][_0xfa9b('0x14')](0x0);_0x8de822===this[_0xfa9b('0x16')]||_0x8de822['isSystemComment']||(this['_boundFirstCommentView']=_0x8de822,this[_0xfa9b('0x6')](_0xfa9b('0x5')),this[_0xfa9b('0x13')](_0xfa9b('0x5'))['to'](_0x8de822,_0xfa9b('0x5'),_0x41c84e=>_0xfa9b('0x30')===_0x41c84e?_0xfa9b('0x30'):null),_0x8de822['placeholder']=_0x3417fa(_0x11b724,_0xfa9b('0x37')),_0x8de822['removeButton']['on'](_0xfa9b('0x12'),_0x39af84=>{_0x39af84['stop'](),this[_0xfa9b('0x29')](_0x3417fa(_0x11b724,_0xfa9b('0x26')),this[_0xfa9b('0xc')])[_0xfa9b('0xe')](()=>{this[_0xfa9b('0x3')]('removeCommentThread');});},{'priority':_0xfa9b('0x20')}),_0x8de822['actionBar'][_0xfa9b('0x33')](this['resolveButton'],0x0));}[_0xfa9b('0x23')](){const _0x25892e=new _0x463cd4(this['locale']);return _0x25892e['label']=_0x3417fa(this[_0xfa9b('0x0')],'Resolve'),_0x25892e[_0xfa9b('0x35')]=_0x3417fa(this['locale'],_0xfa9b('0x4')),_0x25892e[_0xfa9b('0x9')]=_0x5466be['check'],_0x25892e[_0xfa9b('0x1f')]({'attributes':{'class':_0xfa9b('0x25')}}),_0x25892e[_0xfa9b('0x13')](_0xfa9b('0x2b'))['to'](this[_0xfa9b('0x34')],_0xfa9b('0x18'),_0x14724b=>!_0x14724b),_0x25892e['bind'](_0xfa9b('0xb'))['to'](this[_0xfa9b('0x34')],_0xfa9b('0x24'),this[_0xfa9b('0x34')],_0xfa9b('0x19'),(_0x2c5c25,_0xe8ab49)=>_0x2c5c25&&!_0xe8ab49),_0x25892e['on']('execute',()=>{this[_0xfa9b('0x3')]('resolveCommentThread',this[_0xfa9b('0x34')]['id']);}),_0x25892e;}}