@ckeditor/ckeditor5-comments 0.0.0-nightly-20231214.0 → 0.0.0-nightly-20231216.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 (85) hide show
  1. package/build/comments.js +1 -1
  2. package/package.json +4 -3
  3. package/src/annotations/annotation.d.ts +6 -6
  4. package/src/annotations/annotation.js +1 -1
  5. package/src/annotations/annotationcollection.d.ts +3 -3
  6. package/src/annotations/annotationcollection.js +1 -1
  7. package/src/annotations/annotations.d.ts +6 -6
  8. package/src/annotations/annotations.js +1 -1
  9. package/src/annotations/annotationsuis.d.ts +5 -5
  10. package/src/annotations/annotationsuis.js +1 -1
  11. package/src/annotations/editorannotations.d.ts +4 -4
  12. package/src/annotations/editorannotations.js +1 -1
  13. package/src/annotations/inlineannotations.d.ts +6 -6
  14. package/src/annotations/inlineannotations.js +1 -1
  15. package/src/annotations/narrowsidebar.d.ts +6 -6
  16. package/src/annotations/narrowsidebar.js +1 -1
  17. package/src/annotations/sidebar.d.ts +5 -5
  18. package/src/annotations/sidebar.js +1 -1
  19. package/src/annotations/view/annotationcounterbuttonview.d.ts +2 -2
  20. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  21. package/src/annotations/view/annotationview.d.ts +2 -2
  22. package/src/annotations/view/annotationview.js +1 -1
  23. package/src/annotations/view/sidebaritemview.d.ts +2 -2
  24. package/src/annotations/view/sidebaritemview.js +1 -1
  25. package/src/annotations/view/sidebarview.d.ts +2 -2
  26. package/src/annotations/view/sidebarview.js +1 -1
  27. package/src/annotations/widesidebar.d.ts +5 -5
  28. package/src/annotations/widesidebar.js +1 -1
  29. package/src/augmentation.d.ts +1 -1
  30. package/src/comments/addcommentthreadcommand.d.ts +1 -1
  31. package/src/comments/addcommentthreadcommand.js +1 -1
  32. package/src/comments/commentsarchive.d.ts +4 -4
  33. package/src/comments/commentsarchive.js +1 -1
  34. package/src/comments/commentsarchiveui.d.ts +5 -5
  35. package/src/comments/commentsarchiveui.js +1 -1
  36. package/src/comments/commentsediting.d.ts +6 -6
  37. package/src/comments/commentsediting.js +1 -1
  38. package/src/comments/commentsrepository.d.ts +11 -11
  39. package/src/comments/commentsrepository.js +1 -1
  40. package/src/comments/commentsui.d.ts +5 -5
  41. package/src/comments/commentsui.js +1 -1
  42. package/src/comments/integrations/commentsrestrictededitingmode.d.ts +1 -1
  43. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  44. package/src/comments/integrations/importword.d.ts +1 -1
  45. package/src/comments/integrations/importword.js +1 -1
  46. package/src/comments/ui/commenteditor/commenteditor.d.ts +4 -4
  47. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  48. package/src/comments/ui/commenteditor/commenteditorui.d.ts +3 -3
  49. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  50. package/src/comments/ui/commenteditor/commenteditoruiview.d.ts +3 -3
  51. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  52. package/src/comments/ui/commentthreadcontroller.d.ts +4 -4
  53. package/src/comments/ui/commentthreadcontroller.js +1 -1
  54. package/src/comments/ui/view/basecommentthreadview.d.ts +8 -8
  55. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  56. package/src/comments/ui/view/basecommentview.d.ts +4 -4
  57. package/src/comments/ui/view/basecommentview.js +1 -1
  58. package/src/comments/ui/view/collapsedcommentsview.d.ts +2 -2
  59. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  60. package/src/comments/ui/view/commentcontentview.d.ts +2 -2
  61. package/src/comments/ui/view/commentcontentview.js +1 -1
  62. package/src/comments/ui/view/commentinputview.d.ts +4 -4
  63. package/src/comments/ui/view/commentinputview.js +1 -1
  64. package/src/comments/ui/view/commentsarchiveview.d.ts +3 -3
  65. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  66. package/src/comments/ui/view/commentslistview.d.ts +5 -5
  67. package/src/comments/ui/view/commentslistview.js +1 -1
  68. package/src/comments/ui/view/commentthreadheaderview.d.ts +3 -3
  69. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  70. package/src/comments/ui/view/commentthreadinputview.d.ts +5 -5
  71. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  72. package/src/comments/ui/view/commentthreadview.d.ts +7 -7
  73. package/src/comments/ui/view/commentthreadview.js +1 -1
  74. package/src/comments/ui/view/commentview.d.ts +8 -8
  75. package/src/comments/ui/view/commentview.js +1 -1
  76. package/src/comments.d.ts +10 -10
  77. package/src/comments.js +1 -1
  78. package/src/commentsonly.d.ts +2 -2
  79. package/src/commentsonly.js +1 -1
  80. package/src/config.d.ts +3 -3
  81. package/src/index.d.ts +20 -20
  82. package/src/index.js +1 -1
  83. package/src/utils/common-translations.d.ts +1 -1
  84. package/src/utils/common-translations.js +1 -1
  85. package/src/utils/createmutationobserver.js +1 -1
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module comments/comments/integrations/commentsrestrictededitingmode
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides comments plugin integration for restricted editing mode feature from restricted editing package.
11
11
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x49b1=['afterInit','editor','get','plugins','has','enableCommand','addCommentThread','RestrictedEditingModeEditing'];(function(_0x597c47,_0x49b102){const _0xd92fe=function(_0x504361){while(--_0x504361){_0x597c47['push'](_0x597c47['shift']());}};_0xd92fe(++_0x49b102);}(_0x49b1,0x1dc));const _0xd92f=function(_0x597c47,_0x49b102){_0x597c47=_0x597c47-0x0;let _0xd92fe=_0x49b1[_0x597c47];return _0xd92fe;};import{Plugin as _0x243cbf}from'ckeditor5/src/core';export default class Y extends _0x243cbf{[_0xd92f('0x4')](){const _0xb2ab=this[_0xd92f('0x5')];if(!_0xb2ab[_0xd92f('0x7')][_0xd92f('0x0')](_0xd92f('0x3')))return;_0xb2ab[_0xd92f('0x7')][_0xd92f('0x6')]('RestrictedEditingModeEditing')[_0xd92f('0x1')](_0xd92f('0x2'));}}
23
+ const _0x4b40=['RestrictedEditingModeEditing','enableCommand','has','addCommentThread','afterInit','get','plugins'];(function(_0x101e0e,_0x4b40a6){const _0x51c5e3=function(_0x295b92){while(--_0x295b92){_0x101e0e['push'](_0x101e0e['shift']());}};_0x51c5e3(++_0x4b40a6);}(_0x4b40,0xa7));const _0x51c5=function(_0x101e0e,_0x4b40a6){_0x101e0e=_0x101e0e-0x0;let _0x51c5e3=_0x4b40[_0x101e0e];return _0x51c5e3;};import{Plugin as _0x53cf2a}from'ckeditor5/src/core.js';export default class Y extends _0x53cf2a{[_0x51c5('0x5')](){const _0x302a88=this['editor'];if(!_0x302a88[_0x51c5('0x0')][_0x51c5('0x3')](_0x51c5('0x1')))return;_0x302a88[_0x51c5('0x0')][_0x51c5('0x6')](_0x51c5('0x1'))[_0x51c5('0x2')](_0x51c5('0x4'));}}
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module comments/integrations/importword
7
7
  */
8
- import { Plugin, type Editor } from 'ckeditor5/src/core';
8
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides comments plugin integration for the import from Word feature.
11
11
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ef6=['afterInit','listenTo','forEach','map','dataInsert','config','basic','importWord','editor','collaboration_features','define','execute','commands','_handleImportedData','get','addCommentThread','high','plugins','collaboration.channelId'];(function(_0x19e12f,_0x3ef648){const _0x3d9fe7=function(_0x4f8b50){while(--_0x4f8b50){_0x19e12f['push'](_0x19e12f['shift']());}};_0x3d9fe7(++_0x3ef648);}(_0x3ef6,0xd0));const _0x3d9f=function(_0x19e12f,_0x3ef648){_0x19e12f=_0x19e12f-0x0;let _0x3d9fe7=_0x3ef6[_0x19e12f];return _0x3d9fe7;};import{Plugin as _0x5ef61f}from'ckeditor5/src/core';import{priorities as _0x124c18}from'ckeditor5/src/utils';import{Users as _0x3f5459}from'ckeditor5-collaboration/src/collaboration-core';import _0xbede0e from'../commentsrepository';export default class Z extends _0x5ef61f{constructor(_0x1518dd){super(_0x1518dd),this['editor'][_0x3d9f('0x6')][_0x3d9f('0xb')]('importWord.formatting.comments',_0x3d9f('0x7'));}[_0x3d9f('0x1')](){const _0x44a926=this[_0x3d9f('0x9')],_0x46225e=_0x44a926[_0x3d9f('0xd')][_0x3d9f('0xf')](_0x3d9f('0x8')),_0x5eda6a=_0x44a926['plugins']['get'](_0x3f5459);_0x46225e&&(_0x46225e['on'](_0x3d9f('0xc'),(_0x574dea,[,_0x5cb05f])=>{_0x5cb05f[_0x3d9f('0xa')]={'comments':!0x0,'user_id':_0x5eda6a['me']['id']};},{'priority':_0x124c18[_0x3d9f('0x11')]+0xa}),this[_0x3d9f('0x2')](_0x46225e,_0x3d9f('0x5'),this['_handleImportedData']));}[_0x3d9f('0xe')](_0x2536e5,_0x43e9dc){const {comment_threads:_0x29f1c0}=_0x43e9dc;_0x29f1c0&&_0x29f1c0[_0x3d9f('0x3')](({thread_id:_0x2bb06c,comments:_0x3561a6,is_resolved:_0x3e669f})=>{const _0x251155=new Date(),_0x55faf8=_0x3561a6[_0x3d9f('0x4')](({author:_0x55e9a1,content:_0xc7ed8,created_at:_0x4bc57b})=>({'content':_0xc7ed8,'authorId':this[_0x3d9f('0x9')][_0x3d9f('0x12')][_0x3d9f('0xf')](_0x3f5459)['me']['id'],'createdAt':_0x251155,'attributes':{'@external':{'authorName':_0x55e9a1,'createdAt':_0x4bc57b?new Date(_0x4bc57b):new Date(),'source':_0x3d9f('0x8')}}})),_0x54fc92=this[_0x3d9f('0x9')]['config'][_0x3d9f('0xf')](_0x3d9f('0x0'));this[_0x3d9f('0x9')]['plugins'][_0x3d9f('0xf')](_0xbede0e)[_0x3d9f('0x10')]({'channelId':_0x54fc92,'threadId':_0x2bb06c,'comments':_0x55faf8,'resolvedAt':_0x3e669f?_0x251155:null});});}}
23
+ const _0x53fd=['importWord.formatting.comments','plugins','editor','map','importWord','basic','collaboration.channelId','commands','define','dataInsert','afterInit','_handleImportedData','forEach','get','high'];(function(_0x2862e3,_0x53fdae){const _0x245816=function(_0x497f89){while(--_0x497f89){_0x2862e3['push'](_0x2862e3['shift']());}};_0x245816(++_0x53fdae);}(_0x53fd,0x10d));const _0x2458=function(_0x2862e3,_0x53fdae){_0x2862e3=_0x2862e3-0x0;let _0x245816=_0x53fd[_0x2862e3];return _0x245816;};import{Plugin as _0x1d47f0}from'ckeditor5/src/core.js';import{priorities as _0x41d9c4}from'ckeditor5/src/utils.js';import{Users as _0x2d70b0}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2bb2ed from'../commentsrepository.js';export default class Z extends _0x1d47f0{constructor(_0x2ddb49){super(_0x2ddb49),this[_0x2458('0x3')]['config'][_0x2458('0x9')](_0x2458('0x1'),_0x2458('0x6'));}[_0x2458('0xb')](){const _0x34a987=this['editor'],_0x4533d9=_0x34a987[_0x2458('0x8')][_0x2458('0xe')](_0x2458('0x5')),_0x52a5c5=_0x34a987[_0x2458('0x2')][_0x2458('0xe')](_0x2d70b0);_0x4533d9&&(_0x4533d9['on']('execute',(_0x1fea02,[,_0x3d678b])=>{_0x3d678b['collaboration_features']={'comments':!0x0,'user_id':_0x52a5c5['me']['id']};},{'priority':_0x41d9c4[_0x2458('0x0')]+0xa}),this['listenTo'](_0x4533d9,_0x2458('0xa'),this[_0x2458('0xc')]));}[_0x2458('0xc')](_0x65c7c1,_0x3a27d3){const {comment_threads:_0x1c9082}=_0x3a27d3;_0x1c9082&&_0x1c9082[_0x2458('0xd')](({thread_id:_0x1f532a,comments:_0x437c98,is_resolved:_0x5dd3b7})=>{const _0x3fbcc0=new Date(),_0x566dc1=_0x437c98[_0x2458('0x4')](({author:_0x4f69fc,content:_0x588272,created_at:_0x40e401})=>({'content':_0x588272,'authorId':this[_0x2458('0x3')][_0x2458('0x2')]['get'](_0x2d70b0)['me']['id'],'createdAt':_0x3fbcc0,'attributes':{'@external':{'authorName':_0x4f69fc,'createdAt':_0x40e401?new Date(_0x40e401):new Date(),'source':_0x2458('0x5')}}})),_0x5b5cf9=this['editor']['config'][_0x2458('0xe')](_0x2458('0x7'));this[_0x2458('0x3')][_0x2458('0x2')][_0x2458('0xe')](_0x2bb2ed)['addCommentThread']({'channelId':_0x5b5cf9,'threadId':_0x1f532a,'comments':_0x566dc1,'resolvedAt':_0x5dd3b7?_0x3fbcc0:null});});}}
@@ -5,10 +5,10 @@
5
5
  /**
6
6
  * @module comments/comments/ui/commenteditor/commenteditor
7
7
  */
8
- import { Editor, type EditorConfig } from 'ckeditor5/src/core';
9
- import CommentEditorUI from './commenteditorui';
10
- import { type PlaceholderableElement } from 'ckeditor5/src/engine';
11
- declare const CommentEditor_base: import("ckeditor5/src/utils").Mixed<import("ckeditor5/src/utils").Mixed<typeof Editor, import("ckeditor5/src/core").DataApi>, import("ckeditor5/src/utils").Observable>;
8
+ import { Editor, type EditorConfig } from 'ckeditor5/src/core.js';
9
+ import CommentEditorUI from './commenteditorui.js';
10
+ import { type PlaceholderableElement } from 'ckeditor5/src/engine.js';
11
+ declare const CommentEditor_base: import("ckeditor5/src/utils.js").Mixed<import("ckeditor5/src/utils.js").Mixed<typeof Editor, import("ckeditor5/src/core.js").DataApi>, import("ckeditor5/src/utils.js").Observable>;
12
12
  export default class CommentEditor extends CommentEditor_base {
13
13
  static defaultPlugins: EditorConfig['plugins'];
14
14
  /**
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3158=['view','placeholderElement','focus','create','data','assign','createRoot','getChild','low','initialData','ready','then','placeholder','_updatePlaceholder','fire','editing','plugins','document','defaultPlugins','childCount','change','init','model','get','destroy','change:placeholder','setSelection'];(function(_0x3cdc26,_0x315872){const _0x5be81e=function(_0x2df917){while(--_0x2df917){_0x3cdc26['push'](_0x3cdc26['shift']());}};_0x5be81e(++_0x315872);}(_0x3158,0x73));const _0x5be8=function(_0x3cdc26,_0x315872){_0x3cdc26=_0x3cdc26-0x0;let _0x5be81e=_0x3158[_0x3cdc26];return _0x5be81e;};import{Editor as _0x25a012,DataApiMixin as _0x9a4a5f}from'ckeditor5/src/core';import _0x13a265 from'./commenteditorui';import{ObservableMixin as _0x1362ac}from'ckeditor5/src/utils';import{enablePlaceholder as _0x59f309,disablePlaceholder as _0x3aab35}from'ckeditor5/src/engine';import{Clipboard as _0xa3f9e0}from'ckeditor5/src/clipboard';import{Enter as _0x2c58d6,ShiftEnter as _0x2512aa}from'ckeditor5/src/enter';import{SelectAll as _0x431109}from'ckeditor5/src/select-all';import{Typing as _0x41c659}from'ckeditor5/src/typing';import{Undo as _0x592ec1}from'ckeditor5/src/undo';import{Paragraph as _0x488bba}from'ckeditor5/src/paragraph';const Mt=[_0xa3f9e0,_0x2c58d6,_0x2512aa,_0x431109,_0x41c659,_0x592ec1,_0x488bba];export default class Nt extends _0x1362ac(_0x9a4a5f(_0x25a012)){constructor(_0x4cc641={}){(_0x4cc641=Object[_0x5be8('0x19')]({},_0x4cc641))[_0x5be8('0x9')]||(_0x4cc641[_0x5be8('0x9')]=Nt[_0x5be8('0xb')]),super(_0x4cc641),this['ui']=new _0x13a265(this),this['set'](_0x5be8('0x5'),''),this[_0x5be8('0xf')][_0x5be8('0xa')]['on'](_0x5be8('0xd'),()=>this[_0x5be8('0x6')](),{'priority':_0x5be8('0x1')}),this['on'](_0x5be8('0x12'),()=>this[_0x5be8('0x6')]()),this['model']['document'][_0x5be8('0x1a')]();}[_0x5be8('0x17')](){const _0x2fb648=this['config'][_0x5be8('0x10')](_0x5be8('0x2'))||'';return this['initPlugins']()['then'](()=>this['ui'][_0x5be8('0xe')]())[_0x5be8('0x4')](()=>this[_0x5be8('0x18')][_0x5be8('0xe')](_0x2fb648))[_0x5be8('0x4')](()=>this[_0x5be8('0x7')](_0x5be8('0x3')));}[_0x5be8('0x11')](){return super['destroy']()[_0x5be8('0x4')](()=>this['ui'][_0x5be8('0x11')]());}[_0x5be8('0x16')](){this[_0x5be8('0xf')][_0x5be8('0xd')](_0x502b51=>{const _0x139f96=this[_0x5be8('0xf')]['document']['getRoot'](),_0x264ef2=_0x139f96&&_0x139f96['getChild'](_0x139f96['childCount']-0x1);_0x502b51[_0x5be8('0x13')](_0x264ef2,'end'),this[_0x5be8('0x8')][_0x5be8('0x14')][_0x5be8('0x16')]();});}[_0x5be8('0x6')](){const _0x18a748=this[_0x5be8('0x8')][_0x5be8('0x14')],_0x211d01=_0x18a748[_0x5be8('0xa')]['getRoot'](),_0x48d364=_0x211d01[_0x5be8('0x0')](0x0);_0x211d01[_0x5be8('0xc')]>0x1||!_0x48d364||'p'!=_0x48d364['name']?this[_0x5be8('0x15')]&&this['placeholderElement'][_0x5be8('0x5')]&&(_0x3aab35(_0x18a748,this[_0x5be8('0x15')]),this['placeholderElement']=void 0x0):(this['placeholder']&&(_0x48d364['placeholder']=this[_0x5be8('0x5')]),_0x59f309({'view':_0x18a748,'element':_0x48d364,'keepOnFocus':!0x0}),this['placeholderElement']=_0x48d364);}}Nt[_0x5be8('0xb')]=Mt;
23
+ const _0x3379=['focus','end','init','view','plugins','childCount','assign','ready','document','model','then','editing','getRoot','setSelection','create','name','low','_updatePlaceholder','defaultPlugins','change:placeholder','change','createRoot','placeholderElement','destroy','data','get','placeholder'];(function(_0x1d4af1,_0x3379d6){const _0x115cc3=function(_0x3ffbc5){while(--_0x3ffbc5){_0x1d4af1['push'](_0x1d4af1['shift']());}};_0x115cc3(++_0x3379d6);}(_0x3379,0xdf));const _0x115c=function(_0x1d4af1,_0x3379d6){_0x1d4af1=_0x1d4af1-0x0;let _0x115cc3=_0x3379[_0x1d4af1];return _0x115cc3;};import{Editor as _0x3248f7,DataApiMixin as _0x55f583}from'ckeditor5/src/core.js';import _0x121164 from'./commenteditorui.js';import{ObservableMixin as _0x50d66f}from'ckeditor5/src/utils.js';import{enablePlaceholder as _0xb08433,disablePlaceholder as _0x82001f}from'ckeditor5/src/engine.js';import{Clipboard as _0x1fe776}from'ckeditor5/src/clipboard.js';import{Enter as _0x423c51,ShiftEnter as _0x510058}from'ckeditor5/src/enter.js';import{SelectAll as _0x20341f}from'ckeditor5/src/select-all.js';import{Typing as _0x2b7f8b}from'ckeditor5/src/typing.js';import{Undo as _0x2aa1c}from'ckeditor5/src/undo.js';import{Paragraph as _0x162a49}from'ckeditor5/src/paragraph.js';const Mt=[_0x1fe776,_0x423c51,_0x510058,_0x20341f,_0x2b7f8b,_0x2aa1c,_0x162a49];export default class Nt extends _0x50d66f(_0x55f583(_0x3248f7)){constructor(_0x1635c9={}){(_0x1635c9=Object[_0x115c('0x1a')]({},_0x1635c9))[_0x115c('0x18')]||(_0x1635c9[_0x115c('0x18')]=Nt['defaultPlugins']),super(_0x1635c9),this['ui']=new _0x121164(this),this['set']('placeholder',''),this['model']['document']['on'](_0x115c('0xd'),()=>this[_0x115c('0xa')](),{'priority':_0x115c('0x9')}),this['on'](_0x115c('0xc'),()=>this[_0x115c('0xa')]()),this[_0x115c('0x2')][_0x115c('0x1')][_0x115c('0xe')]();}[_0x115c('0x7')](){const _0x548f8b=this['config'][_0x115c('0x12')]('initialData')||'';return this['initPlugins']()['then'](()=>this['ui'][_0x115c('0x16')]())[_0x115c('0x3')](()=>this[_0x115c('0x11')][_0x115c('0x16')](_0x548f8b))['then'](()=>this['fire'](_0x115c('0x0')));}['destroy'](){return super['destroy']()['then'](()=>this['ui'][_0x115c('0x10')]());}[_0x115c('0x14')](){this[_0x115c('0x2')]['change'](_0x626a7f=>{const _0xfdcf7a=this[_0x115c('0x2')][_0x115c('0x1')]['getRoot'](),_0x530c64=_0xfdcf7a&&_0xfdcf7a['getChild'](_0xfdcf7a['childCount']-0x1);_0x626a7f[_0x115c('0x6')](_0x530c64,_0x115c('0x15')),this[_0x115c('0x4')][_0x115c('0x17')]['focus']();});}[_0x115c('0xa')](){const _0x1d833d=this[_0x115c('0x4')]['view'],_0x36a2e3=_0x1d833d[_0x115c('0x1')][_0x115c('0x5')](),_0x386dd7=_0x36a2e3['getChild'](0x0);_0x36a2e3[_0x115c('0x19')]>0x1||!_0x386dd7||'p'!=_0x386dd7[_0x115c('0x8')]?this[_0x115c('0xf')]&&this[_0x115c('0xf')][_0x115c('0x13')]&&(_0x82001f(_0x1d833d,this[_0x115c('0xf')]),this['placeholderElement']=void 0x0):(this[_0x115c('0x13')]&&(_0x386dd7['placeholder']=this[_0x115c('0x13')]),_0xb08433({'view':_0x1d833d,'element':_0x386dd7,'keepOnFocus':!0x0}),this[_0x115c('0xf')]=_0x386dd7);}}Nt[_0x115c('0xb')]=Mt;
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module comments/comments/ui/commenteditor/commenteditorui
7
7
  */
8
- import { EditorUI } from 'ckeditor5/src/ui';
9
- import type { Editor } from 'ckeditor5/src/core';
10
- import CommentEditorUIView from './commenteditoruiview';
8
+ import { EditorUI } from 'ckeditor5/src/ui.js';
9
+ import type { Editor } from 'ckeditor5/src/core.js';
10
+ import CommentEditorUIView from './commenteditoruiview.js';
11
11
  export default class CommentEditorUI extends EditorUI {
12
12
  /**
13
13
  * The main (top–most) view of the editor UI.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x483d=['bind','attachDomRoot','view','editing','editor','focusTracker','editable','document','getRoot','render','ready','element','name','init','destroy','isFocused','rootName'];(function(_0x232290,_0x483d72){const _0x273149=function(_0x28eb61){while(--_0x28eb61){_0x232290['push'](_0x232290['shift']());}};_0x273149(++_0x483d72);}(_0x483d,0xf7));const _0x2731=function(_0x232290,_0x483d72){_0x232290=_0x232290-0x0;let _0x273149=_0x483d[_0x232290];return _0x273149;};import{EditorUI as _0x168f9e}from'ckeditor5/src/ui';import _0x4ec850 from'./commenteditoruiview';export default class Ft extends _0x168f9e{constructor(_0x3e0d95){super(_0x3e0d95),this[_0x2731('0xa')]=new _0x4ec850(_0x3e0d95['locale'],_0x3e0d95[_0x2731('0xb')][_0x2731('0xa')]);}get[_0x2731('0x2')](){return this[_0x2731('0xa')][_0x2731('0x2')];}[_0x2731('0x4')](){const _0xb35e98=this[_0x2731('0xc')]['editing']['view'],_0x2a6cb7=this[_0x2731('0xa')][_0x2731('0xe')],_0xfea7ef=_0xb35e98[_0x2731('0xf')][_0x2731('0x10')]();_0x2a6cb7[_0x2731('0x3')]=_0xfea7ef[_0x2731('0x7')],this[_0x2731('0xa')][_0x2731('0x0')]();const _0x136ce1=_0x2a6cb7[_0x2731('0x2')];this['setEditableElement'](_0x2a6cb7[_0x2731('0x3')],_0x136ce1),this[_0x2731('0xa')][_0x2731('0xe')][_0x2731('0x8')](_0x2731('0x6'))['to'](this[_0x2731('0xd')]),_0xb35e98[_0x2731('0x9')](_0x136ce1),this['fire'](_0x2731('0x1'));}[_0x2731('0x5')](){super[_0x2731('0x5')](),this[_0x2731('0xa')][_0x2731('0x5')]();}}
23
+ const _0x3672=['rootName','editing','element','setEditableElement','isFocused','bind','editable','destroy','document','editor','attachDomRoot','fire','ready','view','name'];(function(_0x10e8a5,_0x36727e){const _0x320c5e=function(_0xebad4a){while(--_0xebad4a){_0x10e8a5['push'](_0x10e8a5['shift']());}};_0x320c5e(++_0x36727e);}(_0x3672,0xab));const _0x320c=function(_0x10e8a5,_0x36727e){_0x10e8a5=_0x10e8a5-0x0;let _0x320c5e=_0x3672[_0x10e8a5];return _0x320c5e;};import{EditorUI as _0x20bd45}from'ckeditor5/src/ui.js';import _0x10cda9 from'./commenteditoruiview.js';export default class Ft extends _0x20bd45{constructor(_0x2f8267){super(_0x2f8267),this[_0x320c('0x7')]=new _0x10cda9(_0x2f8267['locale'],_0x2f8267[_0x320c('0xa')][_0x320c('0x7')]);}get['element'](){return this[_0x320c('0x7')][_0x320c('0xb')];}['init'](){const _0x2ccb52=this[_0x320c('0x3')][_0x320c('0xa')][_0x320c('0x7')],_0x442f06=this[_0x320c('0x7')]['editable'],_0x2e593b=_0x2ccb52[_0x320c('0x2')]['getRoot']();_0x442f06[_0x320c('0x8')]=_0x2e593b[_0x320c('0x9')],this[_0x320c('0x7')]['render']();const _0x5b0c0c=_0x442f06[_0x320c('0xb')];this[_0x320c('0xc')](_0x442f06[_0x320c('0x8')],_0x5b0c0c),this[_0x320c('0x7')][_0x320c('0x0')][_0x320c('0xe')](_0x320c('0xd'))['to'](this['focusTracker']),_0x2ccb52[_0x320c('0x4')](_0x5b0c0c),this[_0x320c('0x5')](_0x320c('0x6'));}[_0x320c('0x1')](){super['destroy'](),this[_0x320c('0x7')][_0x320c('0x1')]();}}
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module comments/comments/ui/commenteditor/commenteditoruiview
7
7
  */
8
- import { InlineEditableUIView, EditorUIView, type ViewCollection } from 'ckeditor5/src/ui';
9
- import { type Locale } from 'ckeditor5/src/utils';
10
- import type { View } from 'ckeditor5/src/engine';
8
+ import { InlineEditableUIView, EditorUIView, type ViewCollection } from 'ckeditor5/src/ui.js';
9
+ import { type Locale } from 'ckeditor5/src/utils.js';
10
+ import type { View } from 'ckeditor5/src/engine.js';
11
11
  export default class CommentEditorUIView extends EditorUIView {
12
12
  /**
13
13
  * Collection of the child views located in the main (`.ck-editor__main`)
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2b04=['text','presentation','ck-reset','render','setTemplate','focus','ck-voice-label','editable','ck-editor__main','ck-editor__aria-label_','_voiceLabelView','main','uiLanguageDirection','ck-rounded-corners','comment','_createVoiceLabel','element','add'];(function(_0x1935ee,_0x2b0462){const _0x362f18=function(_0x47de77){while(--_0x47de77){_0x1935ee['push'](_0x1935ee['shift']());}};_0x362f18(++_0x2b0462);}(_0x2b04,0xcd));const _0x362f=function(_0x1935ee,_0x2b0462){_0x1935ee=_0x1935ee-0x0;let _0x362f18=_0x2b04[_0x1935ee];return _0x362f18;};import{InlineEditableUIView as _0xf10d26,EditorUIView as _0x318d37,LabelView as _0x4b0d71}from'ckeditor5/src/ui';import{uid as _0x43d54}from'ckeditor5/src/utils';import{getTranslation as _0x1cb765}from'../../../utils/common-translations';export default class Rt extends _0x318d37{constructor(_0x1e4de8,_0x233983){super(_0x1e4de8);const _0xf62733=_0x43d54();this[_0x362f('0x4')]=this['createCollection'](),this[_0x362f('0x0')]=new _0xf10d26(_0x1e4de8,_0x233983),this[_0x362f('0x3')]=this[_0x362f('0x8')](_0xf62733,_0x1e4de8),this[_0x362f('0xf')]({'tag':'div','attributes':{'class':[_0x362f('0xd'),'ck-editor',_0x362f('0x6'),'ck-comment__input'],'role':_0x362f('0x7'),'dir':_0x1e4de8[_0x362f('0x5')],'lang':_0x1e4de8['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0xf62733},'children':[this[_0x362f('0x3')],{'tag':'div','attributes':{'class':_0x362f('0x1'),'role':_0x362f('0xc')},'children':this[_0x362f('0x4')]}]});}['render'](){super[_0x362f('0xe')](),this[_0x362f('0x4')][_0x362f('0xa')](this['editable']);}[_0x362f('0x10')](){this[_0x362f('0x0')][_0x362f('0x9')][_0x362f('0x10')]();}[_0x362f('0x8')](_0x2aa19c,_0xabfada){const _0x147784=new _0x4b0d71();return _0x147784[_0x362f('0xb')]=_0x1cb765(_0xabfada,'Comment\x20editor'),_0x147784['extendTemplate']({'attributes':{'id':_0x362f('0x2')+_0x2aa19c,'class':_0x362f('0x11')}}),_0x147784;}}
23
+ const _0x5d94=['focus','ck-reset','_createVoiceLabel','_voiceLabelView','presentation','add','Comment\x20editor','render','main','uiLanguage','cke-editor__aria-label_','extendTemplate','editable','ck-comment__input','div','uiLanguageDirection','ck-editor__main'];(function(_0x10f662,_0x5d9469){const _0x498018=function(_0x2bf411){while(--_0x2bf411){_0x10f662['push'](_0x10f662['shift']());}};_0x498018(++_0x5d9469);}(_0x5d94,0xab));const _0x4980=function(_0x10f662,_0x5d9469){_0x10f662=_0x10f662-0x0;let _0x498018=_0x5d94[_0x10f662];return _0x498018;};import{InlineEditableUIView as _0x333294,EditorUIView as _0x14b867,LabelView as _0x156fcb}from'ckeditor5/src/ui.js';import{uid as _0x5297ca}from'ckeditor5/src/utils.js';import{getTranslation as _0x53515d}from'../../../utils/common-translations.js';export default class Rt extends _0x14b867{constructor(_0x59c011,_0x216415){super(_0x59c011);const _0x155d71=_0x5297ca();this[_0x4980('0x7')]=this['createCollection'](),this[_0x4980('0xb')]=new _0x333294(_0x59c011,_0x216415),this[_0x4980('0x2')]=this['_createVoiceLabel'](_0x155d71,_0x59c011),this['setTemplate']({'tag':_0x4980('0xd'),'attributes':{'class':[_0x4980('0x0'),'ck-editor','ck-rounded-corners',_0x4980('0xc')],'role':'comment','dir':_0x59c011[_0x4980('0xe')],'lang':_0x59c011[_0x4980('0x8')],'aria-labelledby':_0x4980('0x9')+_0x155d71},'children':[this[_0x4980('0x2')],{'tag':_0x4980('0xd'),'attributes':{'class':_0x4980('0xf'),'role':_0x4980('0x3')},'children':this[_0x4980('0x7')]}]});}[_0x4980('0x6')](){super[_0x4980('0x6')](),this[_0x4980('0x7')][_0x4980('0x4')](this[_0x4980('0xb')]);}['focus'](){this[_0x4980('0xb')]['element'][_0x4980('0x10')]();}[_0x4980('0x1')](_0x190ab5,_0x4176be){const _0x9ebf70=new _0x156fcb();return _0x9ebf70['text']=_0x53515d(_0x4176be,_0x4980('0x5')),_0x9ebf70[_0x4980('0xa')]({'attributes':{'id':'ck-editor__aria-label_'+_0x190ab5,'class':'ck-voice-label'}}),_0x9ebf70;}}
@@ -2,11 +2,11 @@
2
2
  * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import type { CommentThread } from '../commentsrepository';
6
- import type { default as BaseCommentThreadView } from './view/basecommentthreadview';
5
+ import type { CommentThread } from '../commentsrepository.js';
6
+ import type { default as BaseCommentThreadView } from './view/basecommentthreadview.js';
7
7
  declare const CommentThreadController_base: {
8
- new (): import("ckeditor5/src/utils").Observable;
9
- prototype: import("ckeditor5/src/utils").Observable;
8
+ new (): import("ckeditor5/src/utils.js").Observable;
9
+ prototype: import("ckeditor5/src/utils.js").Observable;
10
10
  };
11
11
  /**
12
12
  * Controller for a comment thread.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1562=['remove','reopen','update','reopenCommentThread','model','resolve','getComment','listenTo','removeCommentThread','_localUser','resolveCommentThread','view','removeComment','updateComment','_isAttached','destroy','addComment','submit'];(function(_0x4040a8,_0x156296){var _0x4225b8=function(_0x4c00c7){while(--_0x4c00c7){_0x4040a8['push'](_0x4040a8['shift']());}};_0x4225b8(++_0x156296);}(_0x1562,0x74));var _0x4225=function(_0x4040a8,_0x156296){_0x4040a8=_0x4040a8-0x0;var _0x4225b8=_0x1562[_0x4040a8];return _0x4225b8;};import{ObservableMixin as _0x796389}from'ckeditor5/src/utils';export default class ut extends _0x796389(){constructor(_0x36d7b5,_0x4cb66f){super(),this[_0x4225('0xe')]=_0x36d7b5,this[_0x4225('0xe')][_0x4225('0x6')]=!0x0,this[_0x4225('0x3')]=_0x4cb66f,this[_0x4225('0x11')](_0x4cb66f,'submitCommentThread',()=>this[_0x4225('0x9')]()),this[_0x4225('0x11')](_0x4cb66f,_0x4225('0x0'),()=>this['remove']()),this[_0x4225('0x11')](_0x4cb66f,_0x4225('0x2'),()=>this['resolve']()),this[_0x4225('0x11')](_0x4cb66f,_0x4225('0xd'),()=>this['reopen']()),this[_0x4225('0x11')](_0x4cb66f,'addComment',(_0x3d2629,_0x333863)=>this[_0x4225('0x8')](_0x333863)),this[_0x4225('0x11')](_0x4cb66f,_0x4225('0x5'),(_0x319423,_0x378848,_0x593d39)=>this[_0x4225('0x5')](_0x378848,_0x593d39)),this[_0x4225('0x11')](_0x4cb66f,_0x4225('0x4'),(_0x1fbe6c,_0x12a8a3)=>this[_0x4225('0x4')](_0x12a8a3));}[_0x4225('0x9')](){this[_0x4225('0xe')]['submit']();}[_0x4225('0xa')](){this[_0x4225('0xe')][_0x4225('0xa')]();}[_0x4225('0xf')](){this[_0x4225('0xe')]['isResolved']||this[_0x4225('0xe')][_0x4225('0xf')]();}[_0x4225('0xb')](){this[_0x4225('0xe')]['isResolved']&&this[_0x4225('0xe')]['reopen']();}[_0x4225('0x8')](_0x2aa795){this['model'][_0x4225('0x8')]({'content':_0x2aa795,'authorId':this['view'][_0x4225('0x1')]['id']});}[_0x4225('0x5')](_0x43db96,_0x4a878a){this[_0x4225('0xe')][_0x4225('0x10')](_0x43db96)[_0x4225('0xc')]({'content':_0x4a878a});}['removeComment'](_0x96ada1){this[_0x4225('0xe')][_0x4225('0x10')](_0x96ada1)[_0x4225('0xa')]();}[_0x4225('0x7')](){this['stopListening'](),this[_0x4225('0xe')][_0x4225('0x6')]=!0x1;}}
23
+ var _0x4eef=['updateComment','update','model','submit','listenTo','addComment','destroy','removeComment','isResolved','remove','_isAttached','_localUser','view','stopListening','resolve','reopen','getComment'];(function(_0x33e596,_0x4eefc3){var _0x3b5adf=function(_0x333124){while(--_0x333124){_0x33e596['push'](_0x33e596['shift']());}};_0x3b5adf(++_0x4eefc3);}(_0x4eef,0x71));var _0x3b5a=function(_0x33e596,_0x4eefc3){_0x33e596=_0x33e596-0x0;var _0x3b5adf=_0x4eef[_0x33e596];return _0x3b5adf;};import{ObservableMixin as _0x4d7ee3}from'ckeditor5/src/utils.js';export default class ut extends _0x4d7ee3(){constructor(_0x32dfa8,_0x514fbe){super(),this[_0x3b5a('0x8')]=_0x32dfa8,this[_0x3b5a('0x8')][_0x3b5a('0x10')]=!0x0,this[_0x3b5a('0x1')]=_0x514fbe,this[_0x3b5a('0xa')](_0x514fbe,'submitCommentThread',()=>this[_0x3b5a('0x9')]()),this[_0x3b5a('0xa')](_0x514fbe,'removeCommentThread',()=>this[_0x3b5a('0xf')]()),this[_0x3b5a('0xa')](_0x514fbe,'resolveCommentThread',()=>this[_0x3b5a('0x3')]()),this[_0x3b5a('0xa')](_0x514fbe,'reopenCommentThread',()=>this[_0x3b5a('0x4')]()),this[_0x3b5a('0xa')](_0x514fbe,_0x3b5a('0xb'),(_0x370c1,_0x3af58a)=>this[_0x3b5a('0xb')](_0x3af58a)),this[_0x3b5a('0xa')](_0x514fbe,_0x3b5a('0x6'),(_0x1a8fa8,_0x550eb4,_0x198464)=>this[_0x3b5a('0x6')](_0x550eb4,_0x198464)),this[_0x3b5a('0xa')](_0x514fbe,_0x3b5a('0xd'),(_0x4db67a,_0x23fc47)=>this[_0x3b5a('0xd')](_0x23fc47));}['submit'](){this[_0x3b5a('0x8')]['submit']();}[_0x3b5a('0xf')](){this['model'][_0x3b5a('0xf')]();}['resolve'](){this[_0x3b5a('0x8')]['isResolved']||this[_0x3b5a('0x8')][_0x3b5a('0x3')]();}[_0x3b5a('0x4')](){this[_0x3b5a('0x8')][_0x3b5a('0xe')]&&this[_0x3b5a('0x8')][_0x3b5a('0x4')]();}[_0x3b5a('0xb')](_0x4c0b67){this['model'][_0x3b5a('0xb')]({'content':_0x4c0b67,'authorId':this['view'][_0x3b5a('0x0')]['id']});}[_0x3b5a('0x6')](_0x50481e,_0x20b636){this[_0x3b5a('0x8')][_0x3b5a('0x5')](_0x50481e)[_0x3b5a('0x7')]({'content':_0x20b636});}['removeComment'](_0xf55ed4){this[_0x3b5a('0x8')][_0x3b5a('0x5')](_0xf55ed4)['remove']();}[_0x3b5a('0xc')](){this[_0x3b5a('0x2')](),this[_0x3b5a('0x8')][_0x3b5a('0x10')]=!0x1;}}
@@ -6,14 +6,14 @@
6
6
  * @module comments/comments/ui/view/basecommentthreadview
7
7
  * @publicApi
8
8
  */
9
- import { View } from 'ckeditor5/src/ui';
10
- import type { Locale } from 'ckeditor5/src/utils';
11
- import CommentThreadInputView from './commentthreadinputview';
12
- import CommentsListView from './commentslistview';
13
- import CommentThreadHeaderView from './commentthreadheaderview';
14
- import type { User } from 'ckeditor5-collaboration/src/collaboration-core';
15
- import type { CommentThread } from '../../commentsrepository';
16
- import type { CommentThreadConfig } from '../../../config';
9
+ import { View } from 'ckeditor5/src/ui.js';
10
+ import type { Locale } from 'ckeditor5/src/utils.js';
11
+ import CommentThreadInputView from './commentthreadinputview.js';
12
+ import CommentsListView from './commentslistview.js';
13
+ import CommentThreadHeaderView from './commentthreadheaderview.js';
14
+ import type { User } from 'ckeditor5-collaboration/src/collaboration-core.js';
15
+ import type { CommentThread } from '../../commentsrepository.js';
16
+ import type { CommentThreadConfig } from '../../../config.js';
17
17
  /**
18
18
  * An abstract comment thread view class that should be used as a base for comment thread view implementations.
19
19
  * It provides some behaviors, flags and building blocks to use when creating a custom comment thread view class.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x166b=['change:isActive','unlinkedAt','archivedAt','_model','isResolvable','delegate','bind','isUnlinked','removeComment','disabledSubmit','value','cancel','removeCommentThread','focus','listenTo','locale','fire','isSubmitted','set','reopenCommentThread','Comment','Write\x20a\x20comment...','editorDestroyed','commentThreadHeaderView','length','assign','resolveCommentThread','isDirty','canComment','showInput','commentsListView','Reply','addComment','element','_createCommentThreadInputView','Reply...','editorReady','commentInputView','submitCommentThread','updateComment','isReadOnly','submitLabel','submit','commentThreadInputView','isActive','editorConfig','_config','destroy'];(function(_0x41581c,_0x166b4e){const _0x526211=function(_0x3a0749){while(--_0x3a0749){_0x41581c['push'](_0x41581c['shift']());}};_0x526211(++_0x166b4e);}(_0x166b,0x176));const _0x5262=function(_0x41581c,_0x166b4e){_0x41581c=_0x41581c-0x0;let _0x526211=_0x166b[_0x41581c];return _0x526211;};import{View as _0x4435d4}from'ckeditor5/src/ui';import _0xc256f from'./commentthreadinputview';import _0x42bfa5 from'./commentslistview';import _0x4edb41 from'./commentthreadheaderview';import{getTranslation as _0x2c85fe}from'../../../utils/common-translations';export default class Ut extends _0x4435d4{constructor(_0x2962dd,_0x3f986f,_0x504579,_0x11d0f6){super(_0x2962dd),this[_0x5262('0x1c')](_0x5262('0x6'),!0x1),this['set'](_0x5262('0x25'),!0x1),this['_model']=_0x3f986f,this['_localUser']=_0x504579,this[_0x5262('0x8')]=_0x11d0f6,this['commentThreadHeaderView']=new _0x4edb41(_0x2962dd,_0x3f986f),this[_0x5262('0x21')][_0x5262('0xf')]('reopenCommentThread')['to'](this),this[_0x5262('0x18')](this,_0x5262('0x1d'),()=>{this[_0x5262('0x17')]();}),this[_0x5262('0x28')]=new _0x42bfa5(_0x2962dd,_0x3f986f,Object[_0x5262('0x23')]({'CommentView':this[_0x5262('0x8')]['CommentView']},_0x11d0f6)),this[_0x5262('0x28')][_0x5262('0xf')](_0x5262('0x12'))['to'](this),this['commentsListView']['delegate'](_0x5262('0x1'))['to'](this),this[_0x5262('0x28')][_0x5262('0xf')](_0x5262('0x24'))['to'](this),this[_0x5262('0x28')][_0x5262('0xf')]('editorReady')['to'](this),this['commentsListView'][_0x5262('0xf')]('editorDestroyed')['to'](this),this[_0x5262('0x28')]['bind'](_0x5262('0x6'))['to'](this),this[_0x5262('0x18')](this,_0x5262('0x24'),()=>{this[_0x5262('0x17')]();}),this[_0x5262('0x1c')](_0x5262('0x22'),this[_0x5262('0x28')]['length']),this[_0x5262('0x10')](_0x5262('0x22'))['to'](this[_0x5262('0x28')],_0x5262('0x22')),this[_0x5262('0x5')]=this[_0x5262('0x2c')](),this[_0x5262('0x5')]['delegate'](_0x5262('0x2e'))['to'](this),this[_0x5262('0x5')][_0x5262('0xf')](_0x5262('0x20'))['to'](this),this['on'](_0x5262('0x12'),()=>this[_0x5262('0x17')]()),this[_0x5262('0x10')](_0x5262('0x25'))['to'](this['commentsListView'],'hasDirtyComment',this[_0x5262('0x5')][_0x5262('0x2f')],_0x5262('0x14'),(_0x10e4dc,_0x26ea1e)=>_0x10e4dc||!!_0x26ea1e),this['bind'](_0x5262('0x11'))['to'](_0x3f986f,_0x5262('0xb'),_0x1d2106=>!!_0x1d2106);}[_0x5262('0x17')](){this[_0x5262('0x2b')]['focus']();}async['destroy'](){this[_0x5262('0x25')]=!0x1,this[_0x5262('0x28')]['destroy'](),await this[_0x5262('0x5')][_0x5262('0x9')](),super[_0x5262('0x9')]();}['_createCommentThreadInputView'](){const _0x5e76ff=new _0xc256f(this['locale'],this['_localUser'],this[_0x5262('0x8')][_0x5262('0x7')]),_0x3b37a2=_0x5e76ff[_0x5262('0x2f')];return _0x5e76ff[_0x5262('0x10')](_0x5262('0x27'))['to'](this,_0x5262('0x6'),this[_0x5262('0xd')],'isReadOnly',this['_model'],_0x5262('0x26'),this[_0x5262('0xd')],_0x5262('0xc'),_0x3b37a2,_0x5262('0x14'),(_0x202433,_0x4cb557,_0x5f4240,_0x474dbc,_0x5049bb)=>!!_0x5049bb||!!_0x474dbc&&_0x5f4240&&!_0x4cb557||_0x202433&&_0x5f4240&&!_0x4cb557),_0x3b37a2[_0x5262('0x10')]('placeholder')['to'](this,'length',this[_0x5262('0xd')],_0x5262('0xe'),this[_0x5262('0xd')],'isResolved',(_0x4f27fe,_0x63b50f,_0x4cd95d)=>{let _0x3e386b;return _0x3e386b=_0x4cd95d&&_0x63b50f?'Reply\x20to\x20reopen\x20discussion...':_0x4f27fe?_0x5262('0x2d'):_0x5262('0x1f'),_0x2c85fe(this[_0x5262('0x19')],_0x3e386b);}),_0x3b37a2[_0x5262('0x10')](_0x5262('0x3'))['to'](this,_0x5262('0x22'),_0x5ea138=>_0x2c85fe(this[_0x5262('0x19')],_0x5ea138?_0x5262('0x29'):_0x5262('0x1e'))),_0x3b37a2['on'](_0x5262('0x4'),(_0x491d0d,_0x472549)=>{this['fire'](_0x5262('0x2a'),_0x472549),this['_model']['isResolved']&&this['_model'][_0x5262('0xe')]&&this['fire'](_0x5262('0x1d'),this[_0x5262('0xd')]['id']),this[_0x5262('0xd')][_0x5262('0x1b')]||this[_0x5262('0x1a')](_0x5262('0x0'));}),_0x3b37a2['on'](_0x5262('0x15'),()=>{this[_0x5262('0x17')]();}),_0x3b37a2['bind'](_0x5262('0x13'))['to'](this['_model'],_0x5262('0x2')),_0x3b37a2['on'](_0x5262('0x15'),_0x3f0fb6=>{0x0==this[_0x5262('0x22')]&&(this['fire'](_0x5262('0x16')),_0x3f0fb6['stop']());}),this['on'](_0x5262('0xa'),(_0x24eeb8,_0x9e4c73,_0x50f94d)=>{_0x50f94d||this['length']||_0x3b37a2['value']||this['fire']('removeCommentThread');}),_0x5e76ff;}}
23
+ const _0x2066=['hasDirtyComment','change:isActive','Reply\x20to\x20reopen\x20discussion...','submitLabel','isDirty','element','set','commentsListView','bind','listenTo','value','disabledSubmit','CommentView','removeComment','destroy','addComment','length','isResolved','resolveCommentThread','isResolvable','commentThreadHeaderView','_model','isUnlinked','commentThreadInputView','focus','commentInputView','_createCommentThreadInputView','editorDestroyed','editorConfig','editorReady','placeholder','canComment','isActive','showInput','delegate','submit','assign','fire','cancel','Comment','Reply','locale','Write\x20a\x20comment...','archivedAt','reopenCommentThread','_config'];(function(_0x2eeaa0,_0x20660a){const _0x5e3ba7=function(_0x2b1958){while(--_0x2b1958){_0x2eeaa0['push'](_0x2eeaa0['shift']());}};_0x5e3ba7(++_0x20660a);}(_0x2066,0x129));const _0x5e3b=function(_0x2eeaa0,_0x20660a){_0x2eeaa0=_0x2eeaa0-0x0;let _0x5e3ba7=_0x2066[_0x2eeaa0];return _0x5e3ba7;};import{View as _0x48b220}from'ckeditor5/src/ui.js';import _0x2c8b76 from'./commentthreadinputview.js';import _0x5bf810 from'./commentslistview.js';import _0x4c345b from'./commentthreadheaderview.js';import{getTranslation as _0x2c622a}from'../../../utils/common-translations.js';export default class Ut extends _0x48b220{constructor(_0x201b03,_0x49c6ea,_0x2117a3,_0x385b7e){super(_0x201b03),this[_0x5e3b('0x1f')](_0x5e3b('0xb'),!0x1),this[_0x5e3b('0x1f')](_0x5e3b('0x1d'),!0x1),this[_0x5e3b('0x0')]=_0x49c6ea,this['_localUser']=_0x2117a3,this[_0x5e3b('0x18')]=_0x385b7e,this['commentThreadHeaderView']=new _0x4c345b(_0x201b03,_0x49c6ea),this[_0x5e3b('0x2d')][_0x5e3b('0xd')](_0x5e3b('0x17'))['to'](this),this[_0x5e3b('0x22')](this,_0x5e3b('0x17'),()=>{this[_0x5e3b('0x3')]();}),this[_0x5e3b('0x20')]=new _0x5bf810(_0x201b03,_0x49c6ea,Object[_0x5e3b('0xf')]({'CommentView':this['_config'][_0x5e3b('0x25')]},_0x385b7e)),this[_0x5e3b('0x20')][_0x5e3b('0xd')](_0x5e3b('0x26'))['to'](this),this['commentsListView'][_0x5e3b('0xd')]('updateComment')['to'](this),this[_0x5e3b('0x20')][_0x5e3b('0xd')](_0x5e3b('0x2b'))['to'](this),this[_0x5e3b('0x20')][_0x5e3b('0xd')](_0x5e3b('0x8'))['to'](this),this[_0x5e3b('0x20')]['delegate'](_0x5e3b('0x6'))['to'](this),this[_0x5e3b('0x20')]['bind'](_0x5e3b('0xb'))['to'](this),this['listenTo'](this,_0x5e3b('0x2b'),()=>{this[_0x5e3b('0x3')]();}),this['set'](_0x5e3b('0x29'),this[_0x5e3b('0x20')]['length']),this[_0x5e3b('0x21')](_0x5e3b('0x29'))['to'](this[_0x5e3b('0x20')],_0x5e3b('0x29')),this[_0x5e3b('0x2')]=this[_0x5e3b('0x5')](),this[_0x5e3b('0x2')]['delegate'](_0x5e3b('0x8'))['to'](this),this['commentThreadInputView'][_0x5e3b('0xd')](_0x5e3b('0x6'))['to'](this),this['on']('removeComment',()=>this[_0x5e3b('0x3')]()),this['bind']('isDirty')['to'](this[_0x5e3b('0x20')],_0x5e3b('0x19'),this[_0x5e3b('0x2')][_0x5e3b('0x4')],'value',(_0x5cf4fd,_0x335528)=>_0x5cf4fd||!!_0x335528),this[_0x5e3b('0x21')](_0x5e3b('0x1'))['to'](_0x49c6ea,'unlinkedAt',_0x1ebd59=>!!_0x1ebd59);}[_0x5e3b('0x3')](){this[_0x5e3b('0x1e')][_0x5e3b('0x3')]();}async[_0x5e3b('0x27')](){this[_0x5e3b('0x1d')]=!0x1,this['commentsListView'][_0x5e3b('0x27')](),await this[_0x5e3b('0x2')]['destroy'](),super['destroy']();}[_0x5e3b('0x5')](){const _0x120004=new _0x2c8b76(this[_0x5e3b('0x14')],this['_localUser'],this[_0x5e3b('0x18')][_0x5e3b('0x7')]),_0x13d184=_0x120004[_0x5e3b('0x4')];return _0x120004[_0x5e3b('0x21')](_0x5e3b('0xc'))['to'](this,_0x5e3b('0xb'),this[_0x5e3b('0x0')],'isReadOnly',this[_0x5e3b('0x0')],_0x5e3b('0xa'),this[_0x5e3b('0x0')],_0x5e3b('0x16'),_0x13d184,_0x5e3b('0x23'),(_0x42752c,_0x406553,_0x24524a,_0x5c28a8,_0x528505)=>!!_0x528505||!!_0x5c28a8&&_0x24524a&&!_0x406553||_0x42752c&&_0x24524a&&!_0x406553),_0x13d184[_0x5e3b('0x21')](_0x5e3b('0x9'))['to'](this,_0x5e3b('0x29'),this[_0x5e3b('0x0')],_0x5e3b('0x2c'),this['_model'],_0x5e3b('0x2a'),(_0x4284c1,_0x5609d4,_0x12e56c)=>{let _0x235736;return _0x235736=_0x12e56c&&_0x5609d4?_0x5e3b('0x1b'):_0x4284c1?'Reply...':_0x5e3b('0x15'),_0x2c622a(this[_0x5e3b('0x14')],_0x235736);}),_0x13d184[_0x5e3b('0x21')](_0x5e3b('0x1c'))['to'](this,_0x5e3b('0x29'),_0x47c98c=>_0x2c622a(this[_0x5e3b('0x14')],_0x47c98c?_0x5e3b('0x13'):_0x5e3b('0x12'))),_0x13d184['on'](_0x5e3b('0xe'),(_0x13b860,_0x3d51f0)=>{this[_0x5e3b('0x10')](_0x5e3b('0x28'),_0x3d51f0),this[_0x5e3b('0x0')][_0x5e3b('0x2a')]&&this[_0x5e3b('0x0')]['isResolvable']&&this[_0x5e3b('0x10')](_0x5e3b('0x17'),this[_0x5e3b('0x0')]['id']),this['_model']['isSubmitted']||this[_0x5e3b('0x10')]('submitCommentThread');}),_0x13d184['on'](_0x5e3b('0x11'),()=>{this[_0x5e3b('0x3')]();}),_0x13d184['bind'](_0x5e3b('0x24'))['to'](this[_0x5e3b('0x0')],'isReadOnly'),_0x13d184['on'](_0x5e3b('0x11'),_0x4d86eb=>{0x0==this[_0x5e3b('0x29')]&&(this[_0x5e3b('0x10')]('removeCommentThread'),_0x4d86eb['stop']());}),this['on'](_0x5e3b('0x1a'),(_0x42a693,_0x33d354,_0x2e37ca)=>{_0x2e37ca||this[_0x5e3b('0x29')]||_0x13d184['value']||this[_0x5e3b('0x10')]('removeCommentThread');}),_0x120004;}}
@@ -6,10 +6,10 @@
6
6
  * @module comments/comments/ui/view/basecommentview
7
7
  * @publicApi
8
8
  */
9
- import { View, type ViewCollection } from 'ckeditor5/src/ui';
10
- import type { Locale } from 'ckeditor5/src/utils';
11
- import type { Comment } from '../../commentsrepository';
12
- import type { CommentViewConfig } from '../../../config';
9
+ import { View, type ViewCollection } from 'ckeditor5/src/ui.js';
10
+ import type { Locale } from 'ckeditor5/src/utils.js';
11
+ import type { Comment } from '../../commentsrepository.js';
12
+ import type { CommentViewConfig } from '../../../config.js';
13
13
  /**
14
14
  * An abstract comment view class that should be used as a base for comment view implementations.
15
15
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5eab=['updateComment','collapse','_config','locale','element','focus','set','fire','submit','isCollapsed','disabledSubmit','value','remove','_model','switchToDisplayMode','content','isSystemComment','editorReady','isEditMode','Save','add','cancel','switchToEditMode','expand','editorConfig','editorDestroyed','isReadOnly','delegate','visibleView','_createCommentContentView','once','destroy','bind','initialData','_createCommentInputView','maxCommentCharsWhenCollapsed'];(function(_0x267c12,_0x5eab68){const _0x23f6a5=function(_0x4e4840){while(--_0x4e4840){_0x267c12['push'](_0x267c12['shift']());}};_0x23f6a5(++_0x5eab68);}(_0x5eab,0x105));const _0x23f6=function(_0x267c12,_0x5eab68){_0x267c12=_0x267c12-0x0;let _0x23f6a5=_0x5eab[_0x267c12];return _0x23f6a5;};import{View as _0xdef608}from'ckeditor5/src/ui';import{trimHtml as _0x28fcec}from'ckeditor5-collaboration/src/collaboration-core';import _0x2826ed from'./commentcontentview';import _0x7148e from'./commentinputview';import{getTranslation as _0x3d55c7}from'../../../utils/common-translations';export default class ti extends _0xdef608{constructor(_0x57bf03,_0x439211,_0x148217){super(_0x57bf03),this[_0x23f6('0x4')]=_0x439211,this[_0x23f6('0x1d')]=_0x148217,this[_0x23f6('0x7')]=!!this[_0x23f6('0x1d')][_0x23f6('0x7')],this[_0x23f6('0x21')](_0x23f6('0x9'),!0x1),this[_0x23f6('0x21')](_0x23f6('0x0'),!0x0),this[_0x23f6('0x13')]=this['createCollection'](),this[_0x23f6('0x13')][_0x23f6('0xb')](this[_0x23f6('0x14')]());}[_0x23f6('0xe')](){this['isCollapsed']=!0x1;}[_0x23f6('0x1c')](){this[_0x23f6('0x9')]||(this[_0x23f6('0x0')]=!0x0);}[_0x23f6('0x20')](){this[_0x23f6('0x1f')][_0x23f6('0x20')]();}async[_0x23f6('0x16')](){await this[_0x23f6('0x13')]['get'](0x0)[_0x23f6('0x16')](),super[_0x23f6('0x16')]();}[_0x23f6('0xd')](){this['isEditMode']||(this[_0x23f6('0x9')]=!0x0,this['visibleView'][_0x23f6('0x3')](0x0)[_0x23f6('0x16')](),this['visibleView'][_0x23f6('0xb')](this[_0x23f6('0x19')]()));}[_0x23f6('0x5')](){this['isEditMode']&&(this[_0x23f6('0x9')]=!0x1,this[_0x23f6('0x13')][_0x23f6('0x3')](0x0)['destroy'](),this[_0x23f6('0x13')][_0x23f6('0xb')](this[_0x23f6('0x14')]()));}[_0x23f6('0x14')](){const _0x3e1e24=new _0x2826ed(this['locale']);return _0x3e1e24[_0x23f6('0x17')]('content')['to'](this[_0x23f6('0x4')],_0x23f6('0x6'),this,_0x23f6('0x0'),(_0x1061b1,_0x1816fc)=>_0x1816fc?_0x28fcec(_0x1061b1,{'limit':this[_0x23f6('0x1d')][_0x23f6('0x1a')]}):_0x1061b1),_0x3e1e24;}[_0x23f6('0x19')](){this['_config'][_0x23f6('0xf')]||(this[_0x23f6('0x1d')][_0x23f6('0xf')]={}),this[_0x23f6('0x1d')][_0x23f6('0xf')][_0x23f6('0x18')]=this['_model']['content'];const _0x43aa65=new _0x7148e(this[_0x23f6('0x1e')],this['_config']['editorConfig']);return _0x43aa65[_0x23f6('0x2')]=this[_0x23f6('0x4')]['content'],_0x43aa65['bind'](_0x23f6('0x1'))['to'](this[_0x23f6('0x4')],_0x23f6('0x11')),_0x43aa65['submitLabel']=_0x3d55c7(this[_0x23f6('0x1e')],_0x23f6('0xa')),_0x43aa65['on'](_0x23f6('0x23'),(_0x454db5,_0x3e318f)=>{this[_0x23f6('0x22')](_0x23f6('0x1b'),this['_model']['id'],_0x3e318f),this[_0x23f6('0x5')](),this[_0x23f6('0x20')]();}),_0x43aa65['on'](_0x23f6('0xc'),()=>{this['switchToDisplayMode'](),this['focus']();}),_0x43aa65[_0x23f6('0x15')]('editorReady',()=>{_0x43aa65[_0x23f6('0x20')]();}),_0x43aa65['createEditor'](),_0x43aa65['delegate'](_0x23f6('0x8'))['to'](this),_0x43aa65[_0x23f6('0x12')](_0x23f6('0x10'))['to'](this),_0x43aa65;}}
23
+ const _0x452c=['destroy','_config','_createCommentContentView','visibleView','remove','isReadOnly','isSystemComment','createCollection','add','bind','once','switchToDisplayMode','_createCommentInputView','content','updateComment','initialData','focus','cancel','editorReady','submitLabel','get','switchToEditMode','disabledSubmit','delegate','isCollapsed','element','editorConfig','fire','editorDestroyed','_model','set','maxCommentCharsWhenCollapsed','locale','expand','value','isEditMode'];(function(_0x28aca5,_0x452c0e){const _0x44de1f=function(_0x17c408){while(--_0x17c408){_0x28aca5['push'](_0x28aca5['shift']());}};_0x44de1f(++_0x452c0e);}(_0x452c,0x10f));const _0x44de=function(_0x28aca5,_0x452c0e){_0x28aca5=_0x28aca5-0x0;let _0x44de1f=_0x452c[_0x28aca5];return _0x44de1f;};import{View as _0x1ba3b0}from'ckeditor5/src/ui.js';import{trimHtml as _0x1234d3}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2709b6 from'./commentcontentview.js';import _0x253d34 from'./commentinputview.js';import{getTranslation as _0x350b77}from'../../../utils/common-translations.js';export default class ti extends _0x1ba3b0{constructor(_0x5bac59,_0x5737e2,_0x60ec32){super(_0x5bac59),this['_model']=_0x5737e2,this[_0x44de('0x12')]=_0x60ec32,this[_0x44de('0x17')]=!!this[_0x44de('0x12')]['isSystemComment'],this[_0x44de('0xb')](_0x44de('0x10'),!0x1),this[_0x44de('0xb')](_0x44de('0x5'),!0x0),this['visibleView']=this[_0x44de('0x18')](),this[_0x44de('0x14')][_0x44de('0x19')](this[_0x44de('0x13')]());}[_0x44de('0xe')](){this['isCollapsed']=!0x1;}['collapse'](){this[_0x44de('0x10')]||(this[_0x44de('0x5')]=!0x0);}[_0x44de('0x21')](){this[_0x44de('0x6')][_0x44de('0x21')]();}async['destroy'](){await this['visibleView'][_0x44de('0x1')](0x0)[_0x44de('0x11')](),super[_0x44de('0x11')]();}[_0x44de('0x2')](){this[_0x44de('0x10')]||(this[_0x44de('0x10')]=!0x0,this[_0x44de('0x14')][_0x44de('0x15')](0x0)[_0x44de('0x11')](),this[_0x44de('0x14')][_0x44de('0x19')](this['_createCommentInputView']()));}[_0x44de('0x1c')](){this['isEditMode']&&(this[_0x44de('0x10')]=!0x1,this['visibleView'][_0x44de('0x15')](0x0)['destroy'](),this[_0x44de('0x14')][_0x44de('0x19')](this[_0x44de('0x13')]()));}[_0x44de('0x13')](){const _0x5c389e=new _0x2709b6(this[_0x44de('0xd')]);return _0x5c389e[_0x44de('0x1a')](_0x44de('0x1e'))['to'](this['_model'],_0x44de('0x1e'),this,_0x44de('0x5'),(_0x233922,_0x1ba324)=>_0x1ba324?_0x1234d3(_0x233922,{'limit':this[_0x44de('0x12')][_0x44de('0xc')]}):_0x233922),_0x5c389e;}[_0x44de('0x1d')](){this['_config'][_0x44de('0x7')]||(this[_0x44de('0x12')][_0x44de('0x7')]={}),this[_0x44de('0x12')][_0x44de('0x7')][_0x44de('0x20')]=this[_0x44de('0xa')][_0x44de('0x1e')];const _0x1e8bd1=new _0x253d34(this[_0x44de('0xd')],this['_config'][_0x44de('0x7')]);return _0x1e8bd1[_0x44de('0xf')]=this[_0x44de('0xa')][_0x44de('0x1e')],_0x1e8bd1[_0x44de('0x1a')](_0x44de('0x3'))['to'](this['_model'],_0x44de('0x16')),_0x1e8bd1[_0x44de('0x0')]=_0x350b77(this[_0x44de('0xd')],'Save'),_0x1e8bd1['on']('submit',(_0x2649fb,_0x3289d5)=>{this[_0x44de('0x8')](_0x44de('0x1f'),this[_0x44de('0xa')]['id'],_0x3289d5),this[_0x44de('0x1c')](),this[_0x44de('0x21')]();}),_0x1e8bd1['on'](_0x44de('0x22'),()=>{this[_0x44de('0x1c')](),this[_0x44de('0x21')]();}),_0x1e8bd1[_0x44de('0x1b')](_0x44de('0x23'),()=>{_0x1e8bd1['focus']();}),_0x1e8bd1['createEditor'](),_0x1e8bd1[_0x44de('0x4')](_0x44de('0x23'))['to'](this),_0x1e8bd1[_0x44de('0x4')](_0x44de('0x9'))['to'](this),_0x1e8bd1;}}
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module comments/comments/ui/view/collapsedcommentsview
7
7
  */
8
- import { View } from 'ckeditor5/src/ui';
9
- import type { Locale } from 'ckeditor5/src/utils';
8
+ import { View } from 'ckeditor5/src/ui.js';
9
+ import type { Locale } from 'ckeditor5/src/utils.js';
10
10
  export default class CollapsedCommentsView extends View {
11
11
  count: number | undefined;
12
12
  constructor(locale: Locale);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x44bb=['setTemplate','NUMBER_OF_COMMENTS','count','ck-thread__comment-count','bindTemplate','set'];(function(_0x10c2de,_0x44bb57){const _0x37faf4=function(_0x497585){while(--_0x497585){_0x10c2de['push'](_0x10c2de['shift']());}};_0x37faf4(++_0x44bb57);}(_0x44bb,0xaa));const _0x37fa=function(_0x10c2de,_0x44bb57){_0x10c2de=_0x10c2de-0x0;let _0x37faf4=_0x44bb[_0x10c2de];return _0x37faf4;};import{View as _0x14a4ac}from'ckeditor5/src/ui';import{getTranslation as _0x438f88}from'../../../utils/common-translations';export default class to extends _0x14a4ac{constructor(_0x372ab7){super(_0x372ab7);const _0x163981=this[_0x37fa('0x2')];this[_0x37fa('0x3')](_0x37fa('0x0'),void 0x0),this[_0x37fa('0x4')]({'tag':'li','attributes':{'class':_0x37fa('0x1')},'children':[{'text':_0x163981['to'](_0x37fa('0x0'),_0x1d61e3=>_0x438f88(_0x372ab7,_0x37fa('0x5'),_0x1d61e3))}]});}}
23
+ const _0x9099=['count','set','setTemplate','ck-thread__comment-count'];(function(_0x3cdddf,_0x9099d9){const _0x5e4fd8=function(_0x1c8c28){while(--_0x1c8c28){_0x3cdddf['push'](_0x3cdddf['shift']());}};_0x5e4fd8(++_0x9099d9);}(_0x9099,0x163));const _0x5e4f=function(_0x3cdddf,_0x9099d9){_0x3cdddf=_0x3cdddf-0x0;let _0x5e4fd8=_0x9099[_0x3cdddf];return _0x5e4fd8;};import{View as _0xbae69d}from'ckeditor5/src/ui.js';import{getTranslation as _0x5712b2}from'../../../utils/common-translations.js';export default class ts extends _0xbae69d{constructor(_0x4594e2){super(_0x4594e2);const _0x3c8800=this['bindTemplate'];this[_0x5e4f('0x2')](_0x5e4f('0x1'),void 0x0),this[_0x5e4f('0x3')]({'tag':'li','attributes':{'class':_0x5e4f('0x0')},'children':[{'text':_0x3c8800['to'](_0x5e4f('0x1'),_0x122121=>_0x5712b2(_0x4594e2,'NUMBER_OF_COMMENTS',_0x122121))}]});}}
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module comments/comments/ui/view/commentcontentview
7
7
  */
8
- import { View } from 'ckeditor5/src/ui';
9
- import type { Locale } from 'ckeditor5/src/utils';
8
+ import { View } from 'ckeditor5/src/ui.js';
9
+ import type { Locale } from 'ckeditor5/src/utils.js';
10
10
  export default class CommentContentView extends View {
11
11
  content: string;
12
12
  constructor(locale: Locale);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4b78=['content','ck-annotation__content','render','innerHTML','element','div','set','change:content','ck-comment__content'];(function(_0x5cfcab,_0x4b78bb){var _0x191b86=function(_0x3a88b9){while(--_0x3a88b9){_0x5cfcab['push'](_0x5cfcab['shift']());}};_0x191b86(++_0x4b78bb);}(_0x4b78,0x1ea));var _0x191b=function(_0x5cfcab,_0x4b78bb){_0x5cfcab=_0x5cfcab-0x0;var _0x191b86=_0x4b78[_0x5cfcab];return _0x191b86;};import{View as _0x3fe54a}from'ckeditor5/src/ui';export default class Yt extends _0x3fe54a{constructor(_0x4499b0){super(_0x4499b0),this[_0x191b('0x2')]('content',''),this['setTemplate']({'tag':_0x191b('0x1'),'attributes':{'class':[_0x191b('0x4'),_0x191b('0x6')]}});}[_0x191b('0x7')](){super[_0x191b('0x7')](),this['on'](_0x191b('0x3'),(_0x4e23b6,_0x3a3a87,_0x4e7800)=>{this['element'][_0x191b('0x8')]=_0x4e7800;}),this[_0x191b('0x0')][_0x191b('0x8')]=this[_0x191b('0x5')];}}
23
+ var _0x316e=['change:content','element','innerHTML','ck-annotation__content','ck-comment__content','content','render'];(function(_0x3fcf58,_0x316e2e){var _0x57f376=function(_0x144543){while(--_0x144543){_0x3fcf58['push'](_0x3fcf58['shift']());}};_0x57f376(++_0x316e2e);}(_0x316e,0x170));var _0x57f3=function(_0x3fcf58,_0x316e2e){_0x3fcf58=_0x3fcf58-0x0;var _0x57f376=_0x316e[_0x3fcf58];return _0x57f376;};import{View as _0x1319aa}from'ckeditor5/src/ui.js';export default class Yt extends _0x1319aa{constructor(_0x538e40){super(_0x538e40),this['set'](_0x57f3('0x1'),''),this['setTemplate']({'tag':'div','attributes':{'class':[_0x57f3('0x0'),_0x57f3('0x6')]}});}[_0x57f3('0x2')](){super[_0x57f3('0x2')](),this['on'](_0x57f3('0x3'),(_0x11e379,_0x2fd246,_0x338556)=>{this['element'][_0x57f3('0x5')]=_0x338556;}),this[_0x57f3('0x4')][_0x57f3('0x5')]=this[_0x57f3('0x1')];}}
@@ -5,10 +5,10 @@
5
5
  /**
6
6
  * @module comments/comments/ui/view/commentinputview
7
7
  */
8
- import { View, ButtonView } from 'ckeditor5/src/ui';
9
- import { FocusTracker, KeystrokeHandler, type Locale } from 'ckeditor5/src/utils';
10
- import { type EditorConfig, type DataApi } from 'ckeditor5/src/core';
11
- import CommentEditor from '../commenteditor/commenteditor';
8
+ import { View, ButtonView } from 'ckeditor5/src/ui.js';
9
+ import { FocusTracker, KeystrokeHandler, type Locale } from 'ckeditor5/src/utils.js';
10
+ import { type EditorConfig, type DataApi } from 'ckeditor5/src/core.js';
11
+ import CommentEditor from '../commenteditor/commenteditor.js';
12
12
  /**
13
13
  * A view for the comment input section that includes a comment editor.
14
14
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6c03=['keystrokes','withText','disabledSubmit','editorReady','length','submitLabel','insertBefore','_createSubmitButton','bindTemplate','create','destroy','_editorConfig','submitButtonView','bind','set','label','fire','_editorCreationPromise','cancel','add','showButtons','div','_isDestroyed','Reply...','extendTemplate','editor','element','tab','placeholder','Cancel','forEach','cancelButtonView','focusTracker','initialData','focus','firstChild','ck-comment__input-wrapper','execute','editorDestroyed','getData','setTemplate','createEditor','submit','model','trim','ck-comment__input-actions--active','_initializeFocusCycling','Esc','stop','high','setData','value','focusNext','_createCancelButton','low','isEnabled'];(function(_0x4cd50e,_0x6c039){const _0xe5dbe5=function(_0x2041b8){while(--_0x2041b8){_0x4cd50e['push'](_0x4cd50e['shift']());}};_0xe5dbe5(++_0x6c039);}(_0x6c03,0x1a7));const _0xe5db=function(_0x4cd50e,_0x6c039){_0x4cd50e=_0x4cd50e-0x0;let _0xe5dbe5=_0x6c03[_0x4cd50e];return _0xe5dbe5;};import{View as _0x5be619,ViewCollection as _0x26cf5e,FocusCycler as _0x8c341a,ButtonView as _0x4570e2}from'ckeditor5/src/ui';import{FocusTracker as _0x49971e,KeystrokeHandler as _0x5b31c0}from'ckeditor5/src/utils';import _0x1df531 from'../commenteditor/commenteditor';import{getTranslation as _0x4cfdb5}from'../../../utils/common-translations';export default class Zt extends _0x5be619{constructor(_0x14ebb5,_0x50593c={}){super(_0x14ebb5),this[_0xe5db('0x32')]=null,this[_0xe5db('0x24')]=_0x50593c,this[_0xe5db('0x19')]=new _0x5b31c0(),this[_0xe5db('0x1')]=new _0x49971e(),this[_0xe5db('0x27')](_0xe5db('0x14'),_0x50593c[_0xe5db('0x2')]||''),this[_0xe5db('0x27')](_0xe5db('0x1b'),!0x1),this[_0xe5db('0x27')](_0xe5db('0x2d'),!0x0),this[_0xe5db('0x27')](_0xe5db('0x35'),_0x4cfdb5(_0x14ebb5,_0xe5db('0x30'))),this['set'](_0xe5db('0x1e'),_0x4cfdb5(_0x14ebb5,'Reply')),this[_0xe5db('0x25')]=this[_0xe5db('0x20')](),this[_0xe5db('0x0')]=this[_0xe5db('0x16')](),this[_0xe5db('0x9')]({'tag':_0xe5db('0x2e'),'attributes':{'class':[_0xe5db('0x5')]},'children':[{'tag':_0xe5db('0x2e'),'attributes':{'class':['ck-comment__input-actions',this[_0xe5db('0x21')]['if']('showButtons',_0xe5db('0xe'))]},'children':[this[_0xe5db('0x25')],this[_0xe5db('0x0')]]}]}),this[_0xe5db('0x19')][_0xe5db('0x27')](_0xe5db('0x10'),(_0x38daf0,_0xcd5a6e)=>{this[_0xe5db('0x0')][_0xe5db('0x29')](_0xe5db('0x6')),_0xcd5a6e();}),this['on'](_0xe5db('0xb'),(_0x299c46,_0x365be3)=>{_0x365be3[_0xe5db('0x1d')]>0xfde8?(alert(_0x4cfdb5(_0x14ebb5,'TOO_LONG_COMMENT_ALERT',[_0x365be3['length'],0xfde8])),_0x299c46[_0xe5db('0x11')]()):this[_0xe5db('0x32')][_0xe5db('0x13')]('');},{'priority':_0xe5db('0x12')});}['render'](){super['render'](),this[_0xe5db('0x19')]['listenTo'](this['element']),this['focusTracker'][_0xe5db('0x2c')](this[_0xe5db('0x33')]);}[_0xe5db('0xa')](){return this[_0xe5db('0x32')]||(this[_0xe5db('0x32')]=new _0x1df531(this[_0xe5db('0x24')]),this['_editorCreationPromise']=this[_0xe5db('0x32')][_0xe5db('0x22')]()['then'](()=>{if(this[_0xe5db('0x2f')])return;const _0x1e44fa=this[_0xe5db('0x32')];this[_0xe5db('0x33')][_0xe5db('0x1f')](_0x1e44fa['ui'][_0xe5db('0x33')],this[_0xe5db('0x33')][_0xe5db('0x4')]),_0x1e44fa[_0xe5db('0xc')]['document']['on']('change',()=>this['value']=_0x1e44fa[_0xe5db('0x8')]()),_0x1e44fa[_0xe5db('0x26')](_0xe5db('0x35'))['to'](this),this[_0xe5db('0xf')](this[_0xe5db('0x32')]),this[_0xe5db('0x29')](_0xe5db('0x1c'),this['editor']);})),this[_0xe5db('0x2a')];}[_0xe5db('0x3')](){this[_0xe5db('0x32')]&&this['editor'][_0xe5db('0x3')]();}async[_0xe5db('0x23')](){this[_0xe5db('0x2f')]||(this[_0xe5db('0x2f')]=!0x0,this[_0xe5db('0x32')]&&(await this[_0xe5db('0x2a')],await this['editor'][_0xe5db('0x23')](),this[_0xe5db('0x29')](_0xe5db('0x7'),this[_0xe5db('0x32')])),await super[_0xe5db('0x23')]());}[_0xe5db('0x20')](){const {locale:_0x4207aa}=this,_0x4b4ecd=new _0x4570e2(_0x4207aa);return _0x4b4ecd[_0xe5db('0x31')]({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x4b4ecd['withText']=!0x0,_0x4b4ecd[_0xe5db('0x26')](_0xe5db('0x28'))['to'](this,_0xe5db('0x1e')),_0x4b4ecd['on'](_0xe5db('0x6'),()=>{this[_0xe5db('0x29')](_0xe5db('0xb'),this[_0xe5db('0x14')]);}),_0x4b4ecd[_0xe5db('0x26')](_0xe5db('0x18'))['to'](this,'value',this,'disabledSubmit',(_0x1c3e95,_0x46a27f)=>!_0x46a27f&&!!_0x1c3e95[_0xe5db('0xd')]()),_0x4b4ecd;}[_0xe5db('0x16')](){const {locale:_0x30ec10}=this,_0x473062=new _0x4570e2(_0x30ec10);return _0x473062[_0xe5db('0x31')]({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x473062[_0xe5db('0x28')]=_0x4cfdb5(_0x30ec10,_0xe5db('0x36')),_0x473062[_0xe5db('0x1a')]=!0x0,_0x473062['on'](_0xe5db('0x6'),()=>{this[_0xe5db('0x32')][_0xe5db('0x13')](''),this[_0xe5db('0x29')](_0xe5db('0x2b'));}),_0x473062;}['_initializeFocusCycling'](_0x521511){const _0x19665d=this[_0xe5db('0x1')],_0x1b032a=new _0x26cf5e();[_0x521511['ui']['view'],this[_0xe5db('0x25')],this['cancelButtonView']][_0xe5db('0x37')](_0x2174c4=>{_0x1b032a[_0xe5db('0x2c')](_0x2174c4),_0x19665d['add'](_0x2174c4[_0xe5db('0x33')]);});const _0x36af8d=new _0x8c341a({'focusables':_0x1b032a,'focusTracker':_0x19665d});this[_0xe5db('0x19')][_0xe5db('0x27')](_0xe5db('0x34'),(_0x2f48d8,_0x1863ae)=>{_0x36af8d[_0xe5db('0x15')](),_0x1863ae();},{'priority':'low'}),this['keystrokes']['set']('shift\x20+\x20tab',(_0x379e5a,_0x112d12)=>{_0x36af8d['focusPrevious'](),_0x112d12();},{'priority':_0xe5db('0x17')});}}
23
+ const _0x46a9=['label','_initializeFocusCycling','add','element','extendTemplate','isEnabled','div','_createSubmitButton','tab','_isDestroyed','initialData','shift\x20+\x20tab','forEach','ck-comment__input-actions--active','firstChild','TOO_LONG_COMMENT_ALERT','submit','getData','set','disabledSubmit','value','render','editorDestroyed','fire','document','focusPrevious','cancel','ck-comment__input-wrapper','focus','editorReady','createEditor','insertBefore','execute','keystrokes','ck-comment__input-actions--cancel','_editorCreationPromise','bindTemplate','stop','showButtons','listenTo','low','focusNext','withText','ck-comment__input-actions--submit','cancelButtonView','setData','_createCancelButton','focusTracker','ck-comment__input-actions','submitButtonView','high','then','change','placeholder','destroy','Reply...','_editorConfig','Cancel','Reply','setTemplate','trim','editor','submitLabel','create','Esc','view'];(function(_0x465fa9,_0x46a906){const _0x30f34c=function(_0x2dba60){while(--_0x2dba60){_0x465fa9['push'](_0x465fa9['shift']());}};_0x30f34c(++_0x46a906);}(_0x46a9,0x18b));const _0x30f3=function(_0x465fa9,_0x46a906){_0x465fa9=_0x465fa9-0x0;let _0x30f34c=_0x46a9[_0x465fa9];return _0x30f34c;};import{View as _0x5845a0,ViewCollection as _0x170408,FocusCycler as _0x154169,ButtonView as _0x24d000}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3e239e,KeystrokeHandler as _0x3ffed0}from'ckeditor5/src/utils.js';import _0x4a3370 from'../commenteditor/commenteditor.js';import{getTranslation as _0x5b707d}from'../../../utils/common-translations.js';export default class Zt extends _0x5845a0{constructor(_0x46d3c4,_0x53daa3={}){super(_0x46d3c4),this[_0x30f3('0x3e')]=null,this[_0x30f3('0x39')]=_0x53daa3,this[_0x30f3('0x22')]=new _0x3ffed0(),this[_0x30f3('0x30')]=new _0x3e239e(),this[_0x30f3('0x13')]('value',_0x53daa3[_0x30f3('0xb')]||''),this[_0x30f3('0x13')](_0x30f3('0x14'),!0x1),this['set'](_0x30f3('0x27'),!0x0),this[_0x30f3('0x13')](_0x30f3('0x36'),_0x5b707d(_0x46d3c4,_0x30f3('0x38'))),this['set']('submitLabel',_0x5b707d(_0x46d3c4,_0x30f3('0x3b'))),this[_0x30f3('0x32')]=this['_createSubmitButton'](),this[_0x30f3('0x2d')]=this[_0x30f3('0x2f')](),this[_0x30f3('0x3c')]({'tag':_0x30f3('0x7'),'attributes':{'class':[_0x30f3('0x1c')]},'children':[{'tag':_0x30f3('0x7'),'attributes':{'class':[_0x30f3('0x31'),this[_0x30f3('0x25')]['if'](_0x30f3('0x27'),_0x30f3('0xe'))]},'children':[this[_0x30f3('0x32')],this[_0x30f3('0x2d')]]}]}),this[_0x30f3('0x22')][_0x30f3('0x13')](_0x30f3('0x41'),(_0x22812e,_0x4606cf)=>{this[_0x30f3('0x2d')][_0x30f3('0x18')]('execute'),_0x4606cf();}),this['on'](_0x30f3('0x11'),(_0x4b0b39,_0x30c80d)=>{_0x30c80d['length']>0xfde8?(alert(_0x5b707d(_0x46d3c4,_0x30f3('0x10'),[_0x30c80d['length'],0xfde8])),_0x4b0b39[_0x30f3('0x26')]()):this[_0x30f3('0x3e')][_0x30f3('0x2e')]('');},{'priority':_0x30f3('0x33')});}[_0x30f3('0x16')](){super[_0x30f3('0x16')](),this['keystrokes'][_0x30f3('0x28')](this['element']),this[_0x30f3('0x30')][_0x30f3('0x3')](this[_0x30f3('0x4')]);}[_0x30f3('0x1f')](){return this[_0x30f3('0x3e')]||(this[_0x30f3('0x3e')]=new _0x4a3370(this['_editorConfig']),this[_0x30f3('0x24')]=this[_0x30f3('0x3e')][_0x30f3('0x40')]()[_0x30f3('0x34')](()=>{if(this[_0x30f3('0xa')])return;const _0x5827de=this['editor'];this['element'][_0x30f3('0x20')](_0x5827de['ui']['element'],this[_0x30f3('0x4')][_0x30f3('0xf')]),_0x5827de['model'][_0x30f3('0x19')]['on'](_0x30f3('0x35'),()=>this[_0x30f3('0x15')]=_0x5827de[_0x30f3('0x12')]()),_0x5827de['bind'](_0x30f3('0x36'))['to'](this),this[_0x30f3('0x2')](this[_0x30f3('0x3e')]),this[_0x30f3('0x18')](_0x30f3('0x1e'),this[_0x30f3('0x3e')]);})),this[_0x30f3('0x24')];}[_0x30f3('0x1d')](){this[_0x30f3('0x3e')]&&this[_0x30f3('0x3e')][_0x30f3('0x1d')]();}async['destroy'](){this[_0x30f3('0xa')]||(this['_isDestroyed']=!0x0,this[_0x30f3('0x3e')]&&(await this[_0x30f3('0x24')],await this['editor'][_0x30f3('0x37')](),this['fire'](_0x30f3('0x17'),this[_0x30f3('0x3e')])),await super[_0x30f3('0x37')]());}[_0x30f3('0x8')](){const {locale:_0x48bd2c}=this,_0x24f3b5=new _0x24d000(_0x48bd2c);return _0x24f3b5[_0x30f3('0x5')]({'attributes':{'class':[_0x30f3('0x2c')]}}),_0x24f3b5[_0x30f3('0x2b')]=!0x0,_0x24f3b5['bind'](_0x30f3('0x1'))['to'](this,_0x30f3('0x3f')),_0x24f3b5['on'](_0x30f3('0x21'),()=>{this['fire']('submit',this[_0x30f3('0x15')]);}),_0x24f3b5['bind'](_0x30f3('0x6'))['to'](this,_0x30f3('0x15'),this,_0x30f3('0x14'),(_0x2451be,_0x6a17db)=>!_0x6a17db&&!!_0x2451be[_0x30f3('0x3d')]()),_0x24f3b5;}[_0x30f3('0x2f')](){const {locale:_0x46930e}=this,_0x5ac67b=new _0x24d000(_0x46930e);return _0x5ac67b[_0x30f3('0x5')]({'attributes':{'class':[_0x30f3('0x23')]}}),_0x5ac67b['label']=_0x5b707d(_0x46930e,_0x30f3('0x3a')),_0x5ac67b[_0x30f3('0x2b')]=!0x0,_0x5ac67b['on'](_0x30f3('0x21'),()=>{this[_0x30f3('0x3e')][_0x30f3('0x2e')](''),this[_0x30f3('0x18')](_0x30f3('0x1b'));}),_0x5ac67b;}[_0x30f3('0x2')](_0x2dddfb){const _0x7272e9=this['focusTracker'],_0x2f2aed=new _0x170408();[_0x2dddfb['ui'][_0x30f3('0x0')],this[_0x30f3('0x32')],this['cancelButtonView']][_0x30f3('0xd')](_0x736e8c=>{_0x2f2aed[_0x30f3('0x3')](_0x736e8c),_0x7272e9[_0x30f3('0x3')](_0x736e8c[_0x30f3('0x4')]);});const _0x5af6cc=new _0x154169({'focusables':_0x2f2aed,'focusTracker':_0x7272e9});this[_0x30f3('0x22')][_0x30f3('0x13')](_0x30f3('0x9'),(_0x4f5451,_0x4a8195)=>{_0x5af6cc[_0x30f3('0x2a')](),_0x4a8195();},{'priority':_0x30f3('0x29')}),this[_0x30f3('0x22')][_0x30f3('0x13')](_0x30f3('0xc'),(_0x5d6361,_0x56aa1c)=>{_0x5af6cc[_0x30f3('0x1a')](),_0x56aa1c();},{'priority':'low'});}}
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module comments/comments/ui/view/commentslistview
7
7
  */
8
- import { View, type ViewCollection } from 'ckeditor5/src/ui';
9
- import { type Locale } from 'ckeditor5/src/utils';
10
- import type AnnotationView from '../../../annotations/view/annotationview';
8
+ import { View, type ViewCollection } from 'ckeditor5/src/ui.js';
9
+ import { type Locale } from 'ckeditor5/src/utils.js';
10
+ import type AnnotationView from '../../../annotations/view/annotationview.js';
11
11
  /**
12
12
  * A view representing the content of comments archive.
13
13
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4bca=['listenTo','div','length','ck-comments-archive__header\x20','remove','focus','EMPTY_COMMENTS_ARCHIVE','set','add','render','ck-comments-archive','shift\x20+\x20tab','element','ck-comments-archive__info','stopPropagation','arrowup','_keystrokes','bindTemplate','isEmpty','selectstart','arrowdown','destroy','isActive','_focusTracker','arrowleft','tab'];(function(_0x23d4fa,_0x4bca0a){const _0x376cfa=function(_0x15b8e0){while(--_0x15b8e0){_0x23d4fa['push'](_0x23d4fa['shift']());}};_0x376cfa(++_0x4bca0a);}(_0x4bca,0xfa));const _0x376c=function(_0x23d4fa,_0x4bca0a){_0x23d4fa=_0x23d4fa-0x0;let _0x376cfa=_0x4bca[_0x23d4fa];return _0x376cfa;};import{View as _0x48c0f3,FocusCycler as _0x3dedbb}from'ckeditor5/src/ui';import{FocusTracker as _0x5d88a7,KeystrokeHandler as _0x31966b}from'ckeditor5/src/utils';import{getTranslation as _0x28d569}from'../../../utils/common-translations';export default class K extends _0x48c0f3{constructor(_0x1b4fea,_0x1994aa){super(_0x1b4fea),this[_0x376c('0x11')]('isEmpty',!_0x1994aa[_0x376c('0xc')]),this[_0x376c('0x7')]=new _0x5d88a7(),this[_0x376c('0x0')]=new _0x31966b(),this['_focusables']=_0x1994aa,this['_focusCycler']=new _0x3dedbb({'focusables':this['_focusables'],'focusTracker':this[_0x376c('0x7')],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':_0x376c('0x15'),'focusNext':_0x376c('0x9')}}),this[_0x376c('0xa')](_0x1994aa,_0x376c('0x12'),()=>{this[_0x376c('0x2')]=!0x1;}),this[_0x376c('0xa')](_0x1994aa,_0x376c('0xe'),(_0x254a40,_0x17089a)=>{_0x17089a[_0x376c('0x6')]&&this[_0x376c('0xf')](),_0x1994aa[_0x376c('0xc')]||(this['isEmpty']=!0x0);});const _0x229ebc=this[_0x376c('0x1')];this['setTemplate']({'tag':'div','attributes':{'dir':'auto','class':['ck',_0x376c('0x14')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x376c('0xd')]},'children':[{'text':_0x28d569(_0x1b4fea,'COMMENTS_ARCHIVE')}]},{'tag':_0x376c('0xb'),'attributes':{'class':['ck-comments-archive__content']},'children':[{'tag':_0x376c('0xb'),'children':_0x1994aa},{'tag':'p','attributes':{'class':[_0x376c('0x17'),_0x229ebc['if'](_0x376c('0x2'),'ck-hidden',_0x39476b=>!_0x39476b)]},'children':[{'text':_0x28d569(_0x1b4fea,_0x376c('0x10'))}]}]}]});}[_0x376c('0x13')](){super[_0x376c('0x13')](),this[_0x376c('0x0')][_0x376c('0xa')](this[_0x376c('0x16')]);const _0x379061=_0x1c9c70=>_0x1c9c70['stopPropagation']();this['_keystrokes'][_0x376c('0x11')]('arrowright',_0x379061),this[_0x376c('0x0')][_0x376c('0x11')](_0x376c('0x8'),_0x379061),this[_0x376c('0x0')][_0x376c('0x11')](_0x376c('0x19'),_0x379061),this[_0x376c('0x0')][_0x376c('0x11')](_0x376c('0x4'),_0x379061),this['listenTo'](this[_0x376c('0x16')],_0x376c('0x3'),(_0x3c42e0,_0x42d852)=>{_0x42d852[_0x376c('0x18')]();},{'priority':'high'});}['destroy'](){super[_0x376c('0x5')](),this[_0x376c('0x7')]['destroy'](),this[_0x376c('0x0')][_0x376c('0x5')]();}[_0x376c('0xf')](){this[_0x376c('0x16')][_0x376c('0xf')]();}}
23
+ const _0x5474=['render','remove','length','_keystrokes','selectstart','stopPropagation','_focusCycler','isEmpty','ck-hidden','setTemplate','ck-comments-archive__header\x20','set','arrowleft','_focusables','div','destroy','arrowup','shift\x20+\x20tab','tab','ck-comments-archive__content','arrowright','listenTo','high','EMPTY_COMMENTS_ARCHIVE','ck-comments-archive__info','_focusTracker','focus','bindTemplate','ck-comments-archive','element'];(function(_0x3bff62,_0x5474f5){const _0x591d1b=function(_0x50a149){while(--_0x50a149){_0x3bff62['push'](_0x3bff62['shift']());}};_0x591d1b(++_0x5474f5);}(_0x5474,0x160));const _0x591d=function(_0x3bff62,_0x5474f5){_0x3bff62=_0x3bff62-0x0;let _0x591d1b=_0x5474[_0x3bff62];return _0x591d1b;};import{View as _0x501ec2,FocusCycler as _0x1871ca}from'ckeditor5/src/ui.js';import{FocusTracker as _0x56e381,KeystrokeHandler as _0x756990}from'ckeditor5/src/utils.js';import{getTranslation as _0x245116}from'../../../utils/common-translations.js';export default class K extends _0x501ec2{constructor(_0x3019b8,_0x505c99){super(_0x3019b8),this['set'](_0x591d('0xf'),!_0x505c99[_0x591d('0xa')]),this[_0x591d('0x3')]=new _0x56e381(),this['_keystrokes']=new _0x756990(),this[_0x591d('0x15')]=_0x505c99,this[_0x591d('0xe')]=new _0x1871ca({'focusables':this['_focusables'],'focusTracker':this[_0x591d('0x3')],'keystrokeHandler':this[_0x591d('0xb')],'actions':{'focusPrevious':_0x591d('0x19'),'focusNext':_0x591d('0x1a')}}),this[_0x591d('0x1d')](_0x505c99,'add',()=>{this[_0x591d('0xf')]=!0x1;}),this[_0x591d('0x1d')](_0x505c99,_0x591d('0x9'),(_0x21a9f4,_0x11aad5)=>{_0x11aad5['isActive']&&this['focus'](),_0x505c99[_0x591d('0xa')]||(this[_0x591d('0xf')]=!0x0);});const _0xe82b7b=this[_0x591d('0x5')];this[_0x591d('0x11')]({'tag':_0x591d('0x16'),'attributes':{'dir':'auto','class':['ck',_0x591d('0x6')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x591d('0x12')]},'children':[{'text':_0x245116(_0x3019b8,'COMMENTS_ARCHIVE')}]},{'tag':_0x591d('0x16'),'attributes':{'class':[_0x591d('0x1b')]},'children':[{'tag':_0x591d('0x16'),'children':_0x505c99},{'tag':'p','attributes':{'class':[_0x591d('0x2'),_0xe82b7b['if']('isEmpty',_0x591d('0x10'),_0x219ba7=>!_0x219ba7)]},'children':[{'text':_0x245116(_0x3019b8,_0x591d('0x1'))}]}]}]});}[_0x591d('0x8')](){super[_0x591d('0x8')](),this['_keystrokes'][_0x591d('0x1d')](this[_0x591d('0x7')]);const _0x1d011c=_0x3d5f72=>_0x3d5f72[_0x591d('0xd')]();this[_0x591d('0xb')][_0x591d('0x13')](_0x591d('0x1c'),_0x1d011c),this[_0x591d('0xb')]['set'](_0x591d('0x14'),_0x1d011c),this[_0x591d('0xb')][_0x591d('0x13')](_0x591d('0x18'),_0x1d011c),this[_0x591d('0xb')][_0x591d('0x13')]('arrowdown',_0x1d011c),this['listenTo'](this[_0x591d('0x7')],_0x591d('0xc'),(_0x251cf3,_0x5d999f)=>{_0x5d999f[_0x591d('0xd')]();},{'priority':_0x591d('0x0')});}[_0x591d('0x17')](){super[_0x591d('0x17')](),this[_0x591d('0x3')][_0x591d('0x17')](),this['_keystrokes'][_0x591d('0x17')]();}[_0x591d('0x4')](){this[_0x591d('0x7')][_0x591d('0x4')]();}}
@@ -5,11 +5,11 @@
5
5
  /**
6
6
  * @module comments/comments/ui/view/commentslistview
7
7
  */
8
- import { View, type ViewCollection } from 'ckeditor5/src/ui';
9
- import { type Locale } from 'ckeditor5/src/utils';
10
- import type { CommentThread } from '../../commentsrepository';
11
- import type CommentView from './commentview';
12
- import type { CommentThreadConfig } from '../../../config';
8
+ import { View, type ViewCollection } from 'ckeditor5/src/ui.js';
9
+ import { type Locale } from 'ckeditor5/src/utils.js';
10
+ import type { CommentThread } from '../../commentsrepository.js';
11
+ import type CommentView from './commentview.js';
12
+ import type { CommentThreadConfig } from '../../../config.js';
13
13
  /**
14
14
  * A view representing the list of comments. It should be used as a part of the comment thread view.
15
15
  */