@ckeditor/ckeditor5-comments 38.2.0-alpha.0 → 39.0.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 (163) hide show
  1. package/README.md +0 -1
  2. package/build/comments.js +1 -1
  3. package/build/translations/ar.js +1 -1
  4. package/build/translations/bg.js +1 -1
  5. package/build/translations/bn.js +1 -1
  6. package/build/translations/ca.js +1 -1
  7. package/build/translations/cs.js +1 -1
  8. package/build/translations/da.js +1 -1
  9. package/build/translations/de.js +1 -1
  10. package/build/translations/el.js +1 -1
  11. package/build/translations/es.js +1 -1
  12. package/build/translations/et.js +1 -1
  13. package/build/translations/fi.js +1 -1
  14. package/build/translations/fr.js +1 -1
  15. package/build/translations/gl.js +1 -1
  16. package/build/translations/he.js +1 -1
  17. package/build/translations/hi.js +1 -1
  18. package/build/translations/hr.js +1 -1
  19. package/build/translations/hu.js +1 -1
  20. package/build/translations/id.js +1 -1
  21. package/build/translations/ja.js +1 -1
  22. package/build/translations/ko.js +1 -1
  23. package/build/translations/lt.js +1 -1
  24. package/build/translations/ms.js +1 -1
  25. package/build/translations/nl.js +1 -1
  26. package/build/translations/no.js +1 -1
  27. package/build/translations/pl.js +1 -1
  28. package/build/translations/pt.js +1 -1
  29. package/build/translations/ro.js +1 -1
  30. package/build/translations/ru.js +1 -1
  31. package/build/translations/sq.js +1 -1
  32. package/build/translations/sr.js +1 -1
  33. package/build/translations/sv.js +1 -1
  34. package/build/translations/th.js +1 -1
  35. package/build/translations/tr.js +1 -1
  36. package/build/translations/uk.js +1 -1
  37. package/build/translations/vi.js +1 -1
  38. package/build/translations/zh-cn.js +1 -1
  39. package/build/translations/zh.js +1 -1
  40. package/lang/translations/ar.po +1 -1
  41. package/lang/translations/bg.po +1 -1
  42. package/lang/translations/bn.po +1 -1
  43. package/lang/translations/ca.po +1 -1
  44. package/lang/translations/cs.po +1 -1
  45. package/lang/translations/da.po +1 -1
  46. package/lang/translations/de.po +1 -1
  47. package/lang/translations/el.po +1 -1
  48. package/lang/translations/es.po +1 -1
  49. package/lang/translations/et.po +1 -1
  50. package/lang/translations/fi.po +1 -1
  51. package/lang/translations/fr.po +1 -1
  52. package/lang/translations/gl.po +12 -12
  53. package/lang/translations/he.po +1 -1
  54. package/lang/translations/hi.po +1 -1
  55. package/lang/translations/hr.po +1 -1
  56. package/lang/translations/hu.po +1 -1
  57. package/lang/translations/id.po +1 -1
  58. package/lang/translations/ja.po +1 -1
  59. package/lang/translations/ko.po +1 -1
  60. package/lang/translations/lt.po +1 -1
  61. package/lang/translations/ms.po +1 -1
  62. package/lang/translations/nl.po +1 -1
  63. package/lang/translations/no.po +1 -1
  64. package/lang/translations/pl.po +1 -1
  65. package/lang/translations/pt.po +1 -1
  66. package/lang/translations/ro.po +1 -1
  67. package/lang/translations/ru.po +1 -1
  68. package/lang/translations/sq.po +2 -2
  69. package/lang/translations/sr.po +1 -1
  70. package/lang/translations/sv.po +1 -1
  71. package/lang/translations/th.po +1 -1
  72. package/lang/translations/tr.po +1 -1
  73. package/lang/translations/uk.po +1 -1
  74. package/lang/translations/vi.po +1 -1
  75. package/lang/translations/zh-cn.po +1 -1
  76. package/lang/translations/zh.po +1 -1
  77. package/package.json +4 -5
  78. package/src/annotations/annotation.d.ts +4 -0
  79. package/src/annotations/annotation.js +2 -2
  80. package/src/annotations/annotationcollection.d.ts +4 -0
  81. package/src/annotations/annotationcollection.js +2 -2
  82. package/src/annotations/annotations.d.ts +4 -0
  83. package/src/annotations/annotations.js +2 -2
  84. package/src/annotations/annotationsuis.d.ts +4 -0
  85. package/src/annotations/annotationsuis.js +2 -2
  86. package/src/annotations/editorannotations.d.ts +4 -0
  87. package/src/annotations/editorannotations.js +2 -2
  88. package/src/annotations/inlineannotations.d.ts +4 -0
  89. package/src/annotations/inlineannotations.js +2 -2
  90. package/src/annotations/narrowsidebar.d.ts +4 -0
  91. package/src/annotations/narrowsidebar.js +2 -2
  92. package/src/annotations/sidebar.d.ts +4 -0
  93. package/src/annotations/sidebar.js +2 -2
  94. package/src/annotations/view/annotationcounterbuttonview.d.ts +4 -0
  95. package/src/annotations/view/annotationcounterbuttonview.js +2 -2
  96. package/src/annotations/view/annotationview.d.ts +4 -0
  97. package/src/annotations/view/annotationview.js +2 -2
  98. package/src/annotations/view/sidebaritemview.d.ts +4 -0
  99. package/src/annotations/view/sidebaritemview.js +2 -2
  100. package/src/annotations/view/sidebarview.d.ts +4 -0
  101. package/src/annotations/view/sidebarview.js +2 -2
  102. package/src/annotations/widesidebar.d.ts +4 -0
  103. package/src/annotations/widesidebar.js +2 -2
  104. package/src/augmentation.d.ts +4 -0
  105. package/src/augmentation.js +1 -1
  106. package/src/comments/addcommentthreadcommand.d.ts +4 -0
  107. package/src/comments/addcommentthreadcommand.js +2 -2
  108. package/src/comments/commentsarchive.d.ts +4 -0
  109. package/src/comments/commentsarchive.js +2 -2
  110. package/src/comments/commentsarchiveui.d.ts +4 -0
  111. package/src/comments/commentsarchiveui.js +2 -2
  112. package/src/comments/commentsediting.d.ts +4 -0
  113. package/src/comments/commentsediting.js +2 -2
  114. package/src/comments/commentsrepository.d.ts +20 -3
  115. package/src/comments/commentsrepository.js +2 -2
  116. package/src/comments/commentsui.d.ts +4 -0
  117. package/src/comments/commentsui.js +2 -2
  118. package/src/comments/integrations/commentsrestrictededitingmode.d.ts +4 -0
  119. package/src/comments/integrations/commentsrestrictededitingmode.js +2 -2
  120. package/src/comments/integrations/importword.d.ts +4 -0
  121. package/src/comments/integrations/importword.js +2 -2
  122. package/src/comments/ui/commenteditor/commenteditor.d.ts +6 -2
  123. package/src/comments/ui/commenteditor/commenteditor.js +2 -2
  124. package/src/comments/ui/commenteditor/commenteditorui.d.ts +4 -0
  125. package/src/comments/ui/commenteditor/commenteditorui.js +2 -2
  126. package/src/comments/ui/commenteditor/commenteditoruiview.d.ts +4 -0
  127. package/src/comments/ui/commenteditor/commenteditoruiview.js +2 -2
  128. package/src/comments/ui/commentthreadcontroller.d.ts +2 -2
  129. package/src/comments/ui/commentthreadcontroller.js +2 -2
  130. package/src/comments/ui/view/basecommentthreadview.d.ts +4 -0
  131. package/src/comments/ui/view/basecommentthreadview.js +2 -2
  132. package/src/comments/ui/view/basecommentview.d.ts +4 -0
  133. package/src/comments/ui/view/basecommentview.js +2 -2
  134. package/src/comments/ui/view/collapsedcommentsview.d.ts +4 -0
  135. package/src/comments/ui/view/collapsedcommentsview.js +2 -2
  136. package/src/comments/ui/view/commentcontentview.d.ts +4 -0
  137. package/src/comments/ui/view/commentcontentview.js +2 -2
  138. package/src/comments/ui/view/commentinputview.d.ts +4 -0
  139. package/src/comments/ui/view/commentinputview.js +2 -2
  140. package/src/comments/ui/view/commentsarchiveview.d.ts +4 -0
  141. package/src/comments/ui/view/commentsarchiveview.js +2 -2
  142. package/src/comments/ui/view/commentslistview.d.ts +4 -0
  143. package/src/comments/ui/view/commentslistview.js +2 -2
  144. package/src/comments/ui/view/commentthreadheaderview.d.ts +4 -0
  145. package/src/comments/ui/view/commentthreadheaderview.js +2 -2
  146. package/src/comments/ui/view/commentthreadinputview.d.ts +4 -0
  147. package/src/comments/ui/view/commentthreadinputview.js +2 -2
  148. package/src/comments/ui/view/commentthreadview.d.ts +4 -0
  149. package/src/comments/ui/view/commentthreadview.js +2 -2
  150. package/src/comments/ui/view/commentview.d.ts +4 -0
  151. package/src/comments/ui/view/commentview.js +2 -2
  152. package/src/comments.d.ts +4 -0
  153. package/src/comments.js +2 -2
  154. package/src/commentsonly.d.ts +4 -0
  155. package/src/commentsonly.js +2 -2
  156. package/src/config.d.ts +4 -0
  157. package/src/config.js +1 -1
  158. package/src/index.d.ts +5 -2
  159. package/src/index.js +1 -1
  160. package/src/utils/common-translations.d.ts +4 -0
  161. package/src/utils/common-translations.js +2 -2
  162. package/src/utils/createmutationobserver.d.ts +2 -1
  163. package/src/utils/createmutationobserver.js +2 -2
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2410=['addCommentThread','editor','plugins','afterInit','RestrictedEditingModeEditing','enableCommand'];(function(_0xf7b138,_0x2410ff){const _0x32711f=function(_0x50cd4c){while(--_0x50cd4c){_0xf7b138['push'](_0xf7b138['shift']());}};_0x32711f(++_0x2410ff);}(_0x2410,0xa5));const _0x3271=function(_0xf7b138,_0x2410ff){_0xf7b138=_0xf7b138-0x0;let _0x32711f=_0x2410[_0xf7b138];return _0x32711f;};import{Plugin as _0x43ab0b}from'ckeditor5/src/core';export default class tt extends _0x43ab0b{[_0x3271('0x0')](){const _0x11d52c=this[_0x3271('0x4')];if(!_0x11d52c[_0x3271('0x5')]['has'](_0x3271('0x1')))return;_0x11d52c[_0x3271('0x5')]['get'](_0x3271('0x1'))[_0x3271('0x2')](_0x3271('0x3'));}}
23
+ const _0x2ebc=['enableCommand','addCommentThread','plugins','RestrictedEditingModeEditing','get','has','editor','afterInit'];(function(_0x9b7f9e,_0x2ebc89){const _0x4a4456=function(_0x14bd59){while(--_0x14bd59){_0x9b7f9e['push'](_0x9b7f9e['shift']());}};_0x4a4456(++_0x2ebc89);}(_0x2ebc,0x8c));const _0x4a44=function(_0x9b7f9e,_0x2ebc89){_0x9b7f9e=_0x9b7f9e-0x0;let _0x4a4456=_0x2ebc[_0x9b7f9e];return _0x4a4456;};import{Plugin as _0x9e151b}from'ckeditor5/src/core';export default class X extends _0x9e151b{[_0x4a44('0x3')](){const _0x4835dd=this[_0x4a44('0x2')];if(!_0x4835dd['plugins'][_0x4a44('0x1')]('RestrictedEditingModeEditing'))return;_0x4835dd[_0x4a44('0x6')][_0x4a44('0x0')](_0x4a44('0x7'))[_0x4a44('0x4')](_0x4a44('0x5'));}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module comments/integrations/importword
3
7
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3897=['high','get','listenTo','collaboration_features','importWord','define','editor','afterInit','_handleImportedData','config','basic','plugins','importWord.commentsStyles'];(function(_0x42fa33,_0x389745){const _0x416bae=function(_0x516970){while(--_0x516970){_0x42fa33['push'](_0x42fa33['shift']());}};_0x416bae(++_0x389745);}(_0x3897,0x17d));const _0x416b=function(_0x42fa33,_0x389745){_0x42fa33=_0x42fa33-0x0;let _0x416bae=_0x3897[_0x42fa33];return _0x416bae;};import{Plugin as _0x2afc82}from'ckeditor5/src/core';import{priorities as _0x10332b}from'ckeditor5/src/utils';import{Users as _0x26f674}from'ckeditor5-collaboration/src/collaboration-core';import _0xb5e7b3 from'../commentsrepository';export default class ot extends _0x2afc82{constructor(_0x491c11){super(_0x491c11),this[_0x416b('0x2')][_0x416b('0x5')][_0x416b('0x1')](_0x416b('0x8'),_0x416b('0x6'));}[_0x416b('0x3')](){const _0x39bd74=this[_0x416b('0x2')],_0x46f1ba=_0x39bd74['commands'][_0x416b('0xa')]('importWord'),_0x3438c9=_0x39bd74['plugins'][_0x416b('0xa')](_0x26f674);_0x46f1ba&&(_0x46f1ba['on']('execute',(_0x4bb0c8,[,_0x567420])=>{_0x567420[_0x416b('0xc')]={'comments':!0x0,'user_id':_0x3438c9['me']['id'],'comments_styles':this[_0x416b('0x2')][_0x416b('0x5')][_0x416b('0xa')](_0x416b('0x8'))};},{'priority':_0x10332b[_0x416b('0x9')]+0xa}),this[_0x416b('0xb')](_0x46f1ba,'dataInsert',this[_0x416b('0x4')]));}['_handleImportedData'](_0x45d86a,_0x42001b){const {comment_threads:_0xd6a591}=_0x42001b;_0xd6a591&&_0xd6a591['forEach'](({thread_id:_0x43cf1c,comments:_0x468f65,is_resolved:_0x4f7931})=>{const _0x47b323=new Date(),_0x2911e9=_0x468f65['map'](({author:_0x236757,content:_0xb8c01a,created_at:_0x29b6ee})=>({'content':_0xb8c01a,'authorId':this[_0x416b('0x2')][_0x416b('0x7')][_0x416b('0xa')](_0x26f674)['me']['id'],'createdAt':_0x47b323,'attributes':{'@external':{'authorName':_0x236757,'createdAt':_0x29b6ee?new Date(_0x29b6ee):new Date(),'source':_0x416b('0x0')}}})),_0x912399=this[_0x416b('0x2')]['config'][_0x416b('0xa')]('collaboration.channelId');this['editor'][_0x416b('0x7')]['get'](_0xb5e7b3)['addCommentThread']({'channelId':_0x912399,'threadId':_0x43cf1c,'comments':_0x2911e9,'resolvedAt':_0x4f7931?_0x47b323:null});});}}
23
+ const _0x3e4c=['config','forEach','editor','listenTo','_handleImportedData','importWord','map','plugins','addCommentThread','basic','define','commands','collaboration_features','importWord.commentsStyles','execute','high','get','dataInsert'];(function(_0x5061ae,_0x3e4cf9){const _0x4e8a18=function(_0x1089ea){while(--_0x1089ea){_0x5061ae['push'](_0x5061ae['shift']());}};_0x4e8a18(++_0x3e4cf9);}(_0x3e4c,0x1b5));const _0x4e8a=function(_0x5061ae,_0x3e4cf9){_0x5061ae=_0x5061ae-0x0;let _0x4e8a18=_0x3e4c[_0x5061ae];return _0x4e8a18;};import{Plugin as _0x29263c}from'ckeditor5/src/core';import{priorities as _0x5e765d}from'ckeditor5/src/utils';import{Users as _0x2be11b}from'ckeditor5-collaboration/src/collaboration-core';import _0x4873f4 from'../commentsrepository';export default class Y extends _0x29263c{constructor(_0x53f2cf){super(_0x53f2cf),this[_0x4e8a('0xf')]['config'][_0x4e8a('0x5')](_0x4e8a('0x8'),_0x4e8a('0x4'));}['afterInit'](){const _0x3cddc8=this[_0x4e8a('0xf')],_0x42b220=_0x3cddc8[_0x4e8a('0x6')][_0x4e8a('0xb')](_0x4e8a('0x0')),_0x243a07=_0x3cddc8[_0x4e8a('0x2')][_0x4e8a('0xb')](_0x2be11b);_0x42b220&&(_0x42b220['on'](_0x4e8a('0x9'),(_0x4578eb,[,_0xab45ef])=>{_0xab45ef[_0x4e8a('0x7')]={'comments':!0x0,'user_id':_0x243a07['me']['id'],'comments_styles':this[_0x4e8a('0xf')][_0x4e8a('0xd')][_0x4e8a('0xb')](_0x4e8a('0x8'))};},{'priority':_0x5e765d[_0x4e8a('0xa')]+0xa}),this[_0x4e8a('0x10')](_0x42b220,_0x4e8a('0xc'),this[_0x4e8a('0x11')]));}[_0x4e8a('0x11')](_0x525912,_0x537901){const {comment_threads:_0x49ba34}=_0x537901;_0x49ba34&&_0x49ba34[_0x4e8a('0xe')](({thread_id:_0x426748,comments:_0x55c912,is_resolved:_0x6de7d6})=>{const _0x1d00ae=new Date(),_0x385797=_0x55c912[_0x4e8a('0x1')](({author:_0x406eb6,content:_0x373a78,created_at:_0x1010a8})=>({'content':_0x373a78,'authorId':this['editor'][_0x4e8a('0x2')]['get'](_0x2be11b)['me']['id'],'createdAt':_0x1d00ae,'attributes':{'@external':{'authorName':_0x406eb6,'createdAt':_0x1010a8?new Date(_0x1010a8):new Date(),'source':'importWord'}}})),_0xadd4aa=this['editor'][_0x4e8a('0xd')][_0x4e8a('0xb')]('collaboration.channelId');this['editor'][_0x4e8a('0x2')][_0x4e8a('0xb')](_0x4873f4)[_0x4e8a('0x3')]({'channelId':_0xadd4aa,'threadId':_0x426748,'comments':_0x385797,'resolvedAt':_0x6de7d6?_0x1d00ae:null});});}}
@@ -1,9 +1,13 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module comments/comments/ui/commenteditor/commenteditor
3
7
  */
4
8
  import { Editor, type EditorConfig } from 'ckeditor5/src/core';
5
9
  import CommentEditorUI from './commenteditorui';
6
- import { type ViewElement } from 'ckeditor5/src/engine';
10
+ import { type PlaceholderableElement } from 'ckeditor5/src/engine';
7
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
12
  export default class CommentEditor extends CommentEditor_base {
9
13
  static defaultPlugins: EditorConfig['plugins'];
@@ -13,7 +17,7 @@ export default class CommentEditor extends CommentEditor_base {
13
17
  * @observable
14
18
  */
15
19
  placeholder: string;
16
- placeholderElement: ViewElement | undefined;
20
+ placeholderElement: PlaceholderableElement | undefined;
17
21
  ui: CommentEditorUI;
18
22
  /**
19
23
  * @inheritDoc
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x56dc=['fire','defaultPlugins','view','config','ready','name','initialData','document','low','childCount','plugins','create','placeholder','_updatePlaceholder','getRoot','editing','getChild','init','placeholderElement','createRoot','destroy','change','model','then','focus','set','data'];(function(_0x336385,_0x56dcdc){const _0x1ddf53=function(_0x46e2fb){while(--_0x46e2fb){_0x336385['push'](_0x336385['shift']());}};_0x1ddf53(++_0x56dcdc);}(_0x56dc,0x13c));const _0x1ddf=function(_0x336385,_0x56dcdc){_0x336385=_0x336385-0x0;let _0x1ddf53=_0x56dc[_0x336385];return _0x1ddf53;};import{Editor as _0x366570,DataApiMixin as _0x4d8859}from'ckeditor5/src/core';import _0x1f363e from'./commenteditorui';import{ObservableMixin as _0x16229e}from'ckeditor5/src/utils';import{enablePlaceholder as _0x4801b7,disablePlaceholder as _0x103968}from'ckeditor5/src/engine';import{Clipboard as _0x4861e2}from'ckeditor5/src/clipboard';import{Enter as _0x10cad3,ShiftEnter as _0xc94b5a}from'ckeditor5/src/enter';import{SelectAll as _0x3af960}from'ckeditor5/src/select-all';import{Typing as _0x291410}from'ckeditor5/src/typing';import{Undo as _0x341e6f}from'ckeditor5/src/undo';import{Paragraph as _0x50be9c}from'ckeditor5/src/paragraph';const Lt=[_0x4861e2,_0x10cad3,_0xc94b5a,_0x3af960,_0x291410,_0x341e6f,_0x50be9c];export default class Mt extends _0x16229e(_0x4d8859(_0x366570)){constructor(_0x160d32={}){(_0x160d32=Object['assign']({},_0x160d32))[_0x1ddf('0x12')]||(_0x160d32[_0x1ddf('0x12')]=Mt[_0x1ddf('0x9')]),super(_0x160d32),this['ui']=new _0x1f363e(this),this[_0x1ddf('0x6')](_0x1ddf('0x14'),''),this[_0x1ddf('0x3')][_0x1ddf('0xf')]['on'](_0x1ddf('0x2'),()=>this[_0x1ddf('0x15')](),{'priority':_0x1ddf('0x10')}),this['on']('change:placeholder',()=>this['_updatePlaceholder']()),this[_0x1ddf('0x3')][_0x1ddf('0xf')][_0x1ddf('0x0')]();}[_0x1ddf('0x13')](){const _0x406800=this[_0x1ddf('0xb')]['get'](_0x1ddf('0xe'))||'';return this['initPlugins']()[_0x1ddf('0x4')](()=>this['ui'][_0x1ddf('0x19')]())['then'](()=>this[_0x1ddf('0x7')][_0x1ddf('0x19')](_0x406800))[_0x1ddf('0x4')](()=>this[_0x1ddf('0x8')](_0x1ddf('0xc')));}[_0x1ddf('0x1')](){return super[_0x1ddf('0x1')]()['then'](()=>this['ui'][_0x1ddf('0x1')]());}['focus'](){this[_0x1ddf('0x3')][_0x1ddf('0x2')](_0x1eda87=>{const _0x2e914f=this[_0x1ddf('0x3')][_0x1ddf('0xf')][_0x1ddf('0x16')](),_0x467695=_0x2e914f&&_0x2e914f[_0x1ddf('0x18')](_0x2e914f[_0x1ddf('0x11')]-0x1);_0x1eda87['setSelection'](_0x467695,'end'),this[_0x1ddf('0x17')][_0x1ddf('0xa')][_0x1ddf('0x5')]();});}[_0x1ddf('0x15')](){const _0x38cd03=this[_0x1ddf('0x17')]['view'],_0x2dea2d=_0x38cd03[_0x1ddf('0xf')]['getRoot'](),_0x21b07e=_0x2dea2d[_0x1ddf('0x18')](0x0);_0x2dea2d[_0x1ddf('0x11')]>0x1||!_0x21b07e||'p'!=_0x21b07e[_0x1ddf('0xd')]?this[_0x1ddf('0x1a')]&&(_0x103968(_0x38cd03,this[_0x1ddf('0x1a')]),this['placeholderElement']=void 0x0):(_0x4801b7({'view':_0x38cd03,'element':_0x21b07e,'text':this[_0x1ddf('0x14')],'keepOnFocus':!0x0}),this[_0x1ddf('0x1a')]=_0x21b07e);}}Mt[_0x1ddf('0x9')]=Lt;
23
+ const _0x303f=['destroy','placeholderElement','createRoot','low','document','assign','initialData','create','focus','childCount','config','setSelection','name','getChild','change:placeholder','_updatePlaceholder','defaultPlugins','then','change','placeholder','view','init','data','editing','getRoot','fire','plugins','get','model','end'];(function(_0x37671b,_0x303f84){const _0x198cb9=function(_0x2cf0c2){while(--_0x2cf0c2){_0x37671b['push'](_0x37671b['shift']());}};_0x198cb9(++_0x303f84);}(_0x303f,0x14c));const _0x198c=function(_0x37671b,_0x303f84){_0x37671b=_0x37671b-0x0;let _0x198cb9=_0x303f[_0x37671b];return _0x198cb9;};import{Editor as _0x430052,DataApiMixin as _0x5de1b4}from'ckeditor5/src/core';import _0x3328bd from'./commenteditorui';import{ObservableMixin as _0x3743fa}from'ckeditor5/src/utils';import{enablePlaceholder as _0x3df6d7,disablePlaceholder as _0x5bacc5}from'ckeditor5/src/engine';import{Clipboard as _0x2b9d74}from'ckeditor5/src/clipboard';import{Enter as _0x569394,ShiftEnter as _0x5b3122}from'ckeditor5/src/enter';import{SelectAll as _0x2d5600}from'ckeditor5/src/select-all';import{Typing as _0x3b13db}from'ckeditor5/src/typing';import{Undo as _0x1b4797}from'ckeditor5/src/undo';import{Paragraph as _0x3ae6f7}from'ckeditor5/src/paragraph';const Kt=[_0x2b9d74,_0x569394,_0x5b3122,_0x2d5600,_0x3b13db,_0x1b4797,_0x3ae6f7];export default class Lt extends _0x3743fa(_0x5de1b4(_0x430052)){constructor(_0x1a3a70={}){(_0x1a3a70=Object[_0x198c('0x3')]({},_0x1a3a70))[_0x198c('0x18')]||(_0x1a3a70[_0x198c('0x18')]=Lt[_0x198c('0xe')]),super(_0x1a3a70),this['ui']=new _0x3328bd(this),this['set'](_0x198c('0x11'),''),this[_0x198c('0x1a')][_0x198c('0x2')]['on'](_0x198c('0x10'),()=>this[_0x198c('0xd')](),{'priority':_0x198c('0x1')}),this['on'](_0x198c('0xc'),()=>this[_0x198c('0xd')]()),this[_0x198c('0x1a')][_0x198c('0x2')][_0x198c('0x0')]();}[_0x198c('0x5')](){const _0x393c5a=this[_0x198c('0x8')][_0x198c('0x19')](_0x198c('0x4'))||'';return this['initPlugins']()['then'](()=>this['ui'][_0x198c('0x13')]())[_0x198c('0xf')](()=>this[_0x198c('0x14')][_0x198c('0x13')](_0x393c5a))[_0x198c('0xf')](()=>this[_0x198c('0x17')]('ready'));}[_0x198c('0x1c')](){return super['destroy']()[_0x198c('0xf')](()=>this['ui'][_0x198c('0x1c')]());}[_0x198c('0x6')](){this[_0x198c('0x1a')][_0x198c('0x10')](_0x37c70a=>{const _0x3c9190=this[_0x198c('0x1a')][_0x198c('0x2')][_0x198c('0x16')](),_0x3dd2cb=_0x3c9190&&_0x3c9190['getChild'](_0x3c9190[_0x198c('0x7')]-0x1);_0x37c70a[_0x198c('0x9')](_0x3dd2cb,_0x198c('0x1b')),this[_0x198c('0x15')][_0x198c('0x12')][_0x198c('0x6')]();});}[_0x198c('0xd')](){const _0x455b2e=this[_0x198c('0x15')][_0x198c('0x12')],_0x11ccb7=_0x455b2e[_0x198c('0x2')]['getRoot'](),_0x2e2d16=_0x11ccb7[_0x198c('0xb')](0x0);_0x11ccb7[_0x198c('0x7')]>0x1||!_0x2e2d16||'p'!=_0x2e2d16[_0x198c('0xa')]?this['placeholderElement']&&this[_0x198c('0x1d')][_0x198c('0x11')]&&(_0x5bacc5(_0x455b2e,this[_0x198c('0x1d')]),this[_0x198c('0x1d')]=void 0x0):(this[_0x198c('0x11')]&&(_0x2e2d16['placeholder']=this[_0x198c('0x11')]),_0x3df6d7({'view':_0x455b2e,'element':_0x2e2d16,'keepOnFocus':!0x0}),this[_0x198c('0x1d')]=_0x2e2d16);}}Lt['defaultPlugins']=Kt;
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module comments/comments/ui/commenteditor/commenteditorui
3
7
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5787=['document','element','ready','setEditableElement','attachDomRoot','getRoot','name','init','view','editor','isFocused','rootName','bind','fire','editing','editable','focusTracker','destroy'];(function(_0x29546f,_0x578714){const _0x19b043=function(_0x27134f){while(--_0x27134f){_0x29546f['push'](_0x29546f['shift']());}};_0x19b043(++_0x578714);}(_0x5787,0x111));const _0x19b0=function(_0x29546f,_0x578714){_0x29546f=_0x29546f-0x0;let _0x19b043=_0x5787[_0x29546f];return _0x19b043;};import{EditorUI as _0x58cd81}from'ckeditor5/src/ui';import _0xe436f7 from'./commenteditoruiview';export default class Ft extends _0x58cd81{constructor(_0x460f41){super(_0x460f41),this['view']=new _0xe436f7(_0x460f41['locale'],_0x460f41[_0x19b0('0xb')]['view']);}get[_0x19b0('0x10')](){return this['view'][_0x19b0('0x10')];}[_0x19b0('0x4')](){const _0x578ebb=this[_0x19b0('0x6')][_0x19b0('0xb')]['view'],_0x22ffec=this[_0x19b0('0x5')]['editable'],_0x32d7bc=_0x578ebb[_0x19b0('0xf')][_0x19b0('0x2')]();_0x22ffec['name']=_0x32d7bc[_0x19b0('0x8')],this[_0x19b0('0x5')]['render']();const _0x3d9b54=_0x22ffec[_0x19b0('0x10')];this[_0x19b0('0x0')](_0x22ffec[_0x19b0('0x3')],_0x3d9b54),this['view'][_0x19b0('0xc')][_0x19b0('0x9')](_0x19b0('0x7'))['to'](this[_0x19b0('0xd')]),_0x578ebb[_0x19b0('0x1')](_0x3d9b54),this[_0x19b0('0xa')](_0x19b0('0x11'));}['destroy'](){super[_0x19b0('0xe')](),this[_0x19b0('0x5')]['destroy']();}}
23
+ const _0x24eb=['init','element','locale','view','document','rootName','focusTracker','editor','getRoot','attachDomRoot','name','editing','bind','destroy','editable','fire','ready'];(function(_0x2c2052,_0x24eb83){const _0x56d875=function(_0x5154e8){while(--_0x5154e8){_0x2c2052['push'](_0x2c2052['shift']());}};_0x56d875(++_0x24eb83);}(_0x24eb,0x11d));const _0x56d8=function(_0x2c2052,_0x24eb83){_0x2c2052=_0x2c2052-0x0;let _0x56d875=_0x24eb[_0x2c2052];return _0x56d875;};import{EditorUI as _0x1947b1}from'ckeditor5/src/ui';import _0x5bdf1e from'./commenteditoruiview';export default class jt extends _0x1947b1{constructor(_0x237efb){super(_0x237efb),this[_0x56d8('0x7')]=new _0x5bdf1e(_0x237efb[_0x56d8('0x6')],_0x237efb['editing'][_0x56d8('0x7')]);}get['element'](){return this[_0x56d8('0x7')][_0x56d8('0x5')];}[_0x56d8('0x4')](){const _0x49f8aa=this[_0x56d8('0xb')][_0x56d8('0xf')][_0x56d8('0x7')],_0x4749ba=this[_0x56d8('0x7')][_0x56d8('0x1')],_0x438828=_0x49f8aa[_0x56d8('0x8')][_0x56d8('0xc')]();_0x4749ba[_0x56d8('0xe')]=_0x438828[_0x56d8('0x9')],this['view']['render']();const _0x2dccb4=_0x4749ba[_0x56d8('0x5')];this['setEditableElement'](_0x4749ba[_0x56d8('0xe')],_0x2dccb4),this['view'][_0x56d8('0x1')][_0x56d8('0x10')]('isFocused')['to'](this[_0x56d8('0xa')]),_0x49f8aa[_0x56d8('0xd')](_0x2dccb4),this[_0x56d8('0x2')](_0x56d8('0x3'));}['destroy'](){super['destroy'](),this[_0x56d8('0x7')][_0x56d8('0x0')]();}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module comments/comments/ui/commenteditor/commenteditoruiview
3
7
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e85=['ck-rounded-corners','uiLanguage','editable','ck-editor','setTemplate','ck-comment__input','ck-reset','ck-voice-label','ck-editor__main','Comment\x20editor','cke-editor__aria-label_','text','_createVoiceLabel','ck-editor__aria-label_','presentation','comment','render','uiLanguageDirection','div','extendTemplate','focus','main','add','element'];(function(_0x49a7d5,_0x1e85cb){const _0x5f2a64=function(_0x16c08f){while(--_0x16c08f){_0x49a7d5['push'](_0x49a7d5['shift']());}};_0x5f2a64(++_0x1e85cb);}(_0x1e85,0x199));const _0x5f2a=function(_0x49a7d5,_0x1e85cb){_0x49a7d5=_0x49a7d5-0x0;let _0x5f2a64=_0x1e85[_0x49a7d5];return _0x5f2a64;};import{InlineEditableUIView as _0x39a42d,EditorUIView as _0x90fd19,LabelView as _0x7b2cc9}from'ckeditor5/src/ui';import{uid as _0x35ff35}from'ckeditor5/src/utils';import{getTranslation as _0x3a8415}from'../../../utils/common-translations';export default class Qt extends _0x90fd19{constructor(_0x1fd25c,_0x21e332){super(_0x1fd25c);const _0x586f4b=_0x35ff35();this['main']=this['createCollection'](),this[_0x5f2a('0x1')]=new _0x39a42d(_0x1fd25c,_0x21e332),this['_voiceLabelView']=this[_0x5f2a('0xb')](_0x586f4b,_0x1fd25c),this[_0x5f2a('0x3')]({'tag':_0x5f2a('0x11'),'attributes':{'class':[_0x5f2a('0x5'),_0x5f2a('0x2'),_0x5f2a('0x17'),_0x5f2a('0x4')],'role':_0x5f2a('0xe'),'dir':_0x1fd25c[_0x5f2a('0x10')],'lang':_0x1fd25c[_0x5f2a('0x0')],'aria-labelledby':_0x5f2a('0x9')+_0x586f4b},'children':[this['_voiceLabelView'],{'tag':'div','attributes':{'class':_0x5f2a('0x7'),'role':_0x5f2a('0xd')},'children':this[_0x5f2a('0x14')]}]});}[_0x5f2a('0xf')](){super[_0x5f2a('0xf')](),this[_0x5f2a('0x14')][_0x5f2a('0x15')](this[_0x5f2a('0x1')]);}[_0x5f2a('0x13')](){this[_0x5f2a('0x1')][_0x5f2a('0x16')][_0x5f2a('0x13')]();}[_0x5f2a('0xb')](_0xc57d95,_0x275a27){const _0x3e9d81=new _0x7b2cc9();return _0x3e9d81[_0x5f2a('0xa')]=_0x3a8415(_0x275a27,_0x5f2a('0x8')),_0x3e9d81[_0x5f2a('0x12')]({'attributes':{'id':_0x5f2a('0xc')+_0xc57d95,'class':_0x5f2a('0x6')}}),_0x3e9d81;}}
23
+ const _0xaf22=['main','uiLanguageDirection','ck-editor__aria-label_','ck-editor__main','render','editable','uiLanguage','ck-rounded-corners','focus','add','_voiceLabelView','_createVoiceLabel','ck-editor','element','cke-editor__aria-label_','ck-comment__input','div','ck-voice-label','extendTemplate'];(function(_0x152655,_0xaf2265){const _0x153d7b=function(_0x4afd67){while(--_0x4afd67){_0x152655['push'](_0x152655['shift']());}};_0x153d7b(++_0xaf2265);}(_0xaf22,0xbc));const _0x153d=function(_0x152655,_0xaf2265){_0x152655=_0x152655-0x0;let _0x153d7b=_0xaf22[_0x152655];return _0x153d7b;};import{InlineEditableUIView as _0x4102cc,EditorUIView as _0x439290,LabelView as _0x214a65}from'ckeditor5/src/ui';import{uid as _0x5b6784}from'ckeditor5/src/utils';import{getTranslation as _0x5cd5f0}from'../../../utils/common-translations';export default class Nt extends _0x439290{constructor(_0x43828c,_0x51ecec){super(_0x43828c);const _0x1a0b17=_0x5b6784();this[_0x153d('0x2')]=this['createCollection'](),this[_0x153d('0x7')]=new _0x4102cc(_0x43828c,_0x51ecec),this[_0x153d('0xc')]=this[_0x153d('0xd')](_0x1a0b17,_0x43828c),this['setTemplate']({'tag':_0x153d('0x12'),'attributes':{'class':['ck-reset',_0x153d('0xe'),_0x153d('0x9'),_0x153d('0x11')],'role':'comment','dir':_0x43828c[_0x153d('0x3')],'lang':_0x43828c[_0x153d('0x8')],'aria-labelledby':_0x153d('0x10')+_0x1a0b17},'children':[this[_0x153d('0xc')],{'tag':_0x153d('0x12'),'attributes':{'class':_0x153d('0x5'),'role':'presentation'},'children':this['main']}]});}[_0x153d('0x6')](){super['render'](),this['main'][_0x153d('0xb')](this['editable']);}['focus'](){this[_0x153d('0x7')][_0x153d('0xf')][_0x153d('0xa')]();}[_0x153d('0xd')](_0x5789b8,_0x2767fe){const _0x4aa03a=new _0x214a65();return _0x4aa03a['text']=_0x5cd5f0(_0x2767fe,'Comment\x20editor'),_0x4aa03a[_0x153d('0x1')]({'attributes':{'id':_0x153d('0x4')+_0x5789b8,'class':_0x153d('0x0')}}),_0x4aa03a;}}
@@ -1,6 +1,6 @@
1
1
  /**
2
- * @module comments/comments/ui/commentthreadcontroller
3
- * @publicApi
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  import type { CommentThread } from '../commentsrepository';
6
6
  import type { default as BaseCommentThreadView } from './view/basecommentthreadview';
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3eaf=['submit','submitCommentThread','addComment','view','updateComment','remove','removeCommentThread','reopen','getComment','stopListening','reopenCommentThread','_isAttached','removeComment','isResolved','resolve','model','listenTo','resolveCommentThread','_localUser'];(function(_0x52ffa3,_0x3eaff3){var _0x3944a6=function(_0x104e3c){while(--_0x104e3c){_0x52ffa3['push'](_0x52ffa3['shift']());}};_0x3944a6(++_0x3eaff3);}(_0x3eaf,0x1c0));var _0x3944=function(_0x52ffa3,_0x3eaff3){_0x52ffa3=_0x52ffa3-0x0;var _0x3944a6=_0x3eaf[_0x52ffa3];return _0x3944a6;};import{ObservableMixin as _0xc04f5b}from'ckeditor5/src/utils';export default class ut extends _0xc04f5b(){constructor(_0x43e87d,_0x212afb){super(),this[_0x3944('0x4')]=_0x43e87d,this['model']['_isAttached']=!0x0,this[_0x3944('0xb')]=_0x212afb,this[_0x3944('0x5')](_0x212afb,_0x3944('0x9'),()=>this[_0x3944('0x8')]()),this[_0x3944('0x5')](_0x212afb,_0x3944('0xe'),()=>this[_0x3944('0xd')]()),this[_0x3944('0x5')](_0x212afb,_0x3944('0x6'),()=>this['resolve']()),this[_0x3944('0x5')](_0x212afb,_0x3944('0x12'),()=>this[_0x3944('0xf')]()),this[_0x3944('0x5')](_0x212afb,_0x3944('0xa'),(_0x354497,_0x435ea0)=>this[_0x3944('0xa')](_0x435ea0)),this[_0x3944('0x5')](_0x212afb,_0x3944('0xc'),(_0x33d0ec,_0x385f39,_0x474983)=>this['updateComment'](_0x385f39,_0x474983)),this[_0x3944('0x5')](_0x212afb,_0x3944('0x1'),(_0x13ef65,_0x5511c3)=>this['removeComment'](_0x5511c3));}[_0x3944('0x8')](){this[_0x3944('0x4')]['submit']();}[_0x3944('0xd')](){this[_0x3944('0x4')][_0x3944('0xd')]();}[_0x3944('0x3')](){this[_0x3944('0x4')][_0x3944('0x2')]||this[_0x3944('0x4')][_0x3944('0x3')]();}[_0x3944('0xf')](){this[_0x3944('0x4')]['isResolved']&&this[_0x3944('0x4')][_0x3944('0xf')]();}['addComment'](_0x4bfd7f){this[_0x3944('0x4')][_0x3944('0xa')]({'content':_0x4bfd7f,'authorId':this[_0x3944('0xb')][_0x3944('0x7')]['id']});}[_0x3944('0xc')](_0x1c7975,_0xcbaacd){this[_0x3944('0x4')][_0x3944('0x10')](_0x1c7975)['update']({'content':_0xcbaacd});}[_0x3944('0x1')](_0x4a2b3b){this['model'][_0x3944('0x10')](_0x4a2b3b)[_0x3944('0xd')]();}['destroy'](){this[_0x3944('0x11')](),this[_0x3944('0x4')][_0x3944('0x0')]=!0x1;}}
23
+ var _0x355e=['_localUser','removeCommentThread','update','model','resolve','view','remove','reopen','listenTo','isResolved','getComment','submitCommentThread','removeComment','destroy','addComment','_isAttached','submit'];(function(_0x11b8e7,_0x355e24){var _0x25f05a=function(_0x1a544d){while(--_0x1a544d){_0x11b8e7['push'](_0x11b8e7['shift']());}};_0x25f05a(++_0x355e24);}(_0x355e,0xae));var _0x25f0=function(_0x11b8e7,_0x355e24){_0x11b8e7=_0x11b8e7-0x0;var _0x25f05a=_0x355e[_0x11b8e7];return _0x25f05a;};import{ObservableMixin as _0x309e45}from'ckeditor5/src/utils';export default class ct extends _0x309e45(){constructor(_0x4364bd,_0x30e816){super(),this[_0x25f0('0x10')]=_0x4364bd,this[_0x25f0('0x10')][_0x25f0('0xb')]=!0x0,this[_0x25f0('0x1')]=_0x30e816,this[_0x25f0('0x4')](_0x30e816,_0x25f0('0x7'),()=>this['submit']()),this['listenTo'](_0x30e816,_0x25f0('0xe'),()=>this[_0x25f0('0x2')]()),this[_0x25f0('0x4')](_0x30e816,'resolveCommentThread',()=>this[_0x25f0('0x0')]()),this[_0x25f0('0x4')](_0x30e816,'reopenCommentThread',()=>this[_0x25f0('0x3')]()),this[_0x25f0('0x4')](_0x30e816,_0x25f0('0xa'),(_0x14fc97,_0x815a6e)=>this['addComment'](_0x815a6e)),this[_0x25f0('0x4')](_0x30e816,'updateComment',(_0x30d6fe,_0x1d8584,_0x3978bb)=>this['updateComment'](_0x1d8584,_0x3978bb)),this[_0x25f0('0x4')](_0x30e816,'removeComment',(_0x562cde,_0x465c60)=>this[_0x25f0('0x8')](_0x465c60));}[_0x25f0('0xc')](){this[_0x25f0('0x10')]['submit']();}['remove'](){this[_0x25f0('0x10')][_0x25f0('0x2')]();}[_0x25f0('0x0')](){this[_0x25f0('0x10')][_0x25f0('0x5')]||this[_0x25f0('0x10')][_0x25f0('0x0')]();}[_0x25f0('0x3')](){this[_0x25f0('0x10')][_0x25f0('0x5')]&&this['model'][_0x25f0('0x3')]();}['addComment'](_0x57e1cc){this[_0x25f0('0x10')][_0x25f0('0xa')]({'content':_0x57e1cc,'authorId':this[_0x25f0('0x1')][_0x25f0('0xd')]['id']});}['updateComment'](_0x4c0df6,_0x2baca8){this['model'][_0x25f0('0x6')](_0x4c0df6)[_0x25f0('0xf')]({'content':_0x2baca8});}[_0x25f0('0x8')](_0xdd44e6){this['model'][_0x25f0('0x6')](_0xdd44e6)[_0x25f0('0x2')]();}[_0x25f0('0x9')](){this['stopListening'](),this[_0x25f0('0x10')]['_isAttached']=!0x1;}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module comments/comments/ui/view/basecommentthreadview
3
7
  * @publicApi
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5014=['submitLabel','isDirty','Reply','isActive','reopenCommentThread','disabledSubmit','commentThreadHeaderView','submitCommentThread','Write\x20a\x20comment...','Reply\x20to\x20reopen\x20discussion...','_localUser','destroy','element','bind','isResolved','fire','length','_config','value','commentsListView','_model','CommentView','assign','set','updateComment','isReadOnly','delegate','commentInputView','removeCommentThread','change:isActive','submit','commentThreadInputView','isResolvable','_createCommentThreadInputView','focus','editorConfig','showInput','hasDirtyComment','stop','cancel','addComment','removeComment','locale','placeholder'];(function(_0x51cc00,_0x5014b3){const _0x504a9c=function(_0x2933e9){while(--_0x2933e9){_0x51cc00['push'](_0x51cc00['shift']());}};_0x504a9c(++_0x5014b3);}(_0x5014,0x1bb));const _0x504a=function(_0x51cc00,_0x5014b3){_0x51cc00=_0x51cc00-0x0;let _0x504a9c=_0x5014[_0x51cc00];return _0x504a9c;};import{View as _0x55d476}from'ckeditor5/src/ui';import _0x190141 from'./commentthreadinputview';import _0x314e75 from'./commentslistview';import _0x5ebec3 from'./commentthreadheaderview';import{getTranslation as _0x2dddbe}from'../../../utils/common-translations';export default class St extends _0x55d476{constructor(_0x5d7bfc,_0x473b4f,_0x1292b0,_0x3c614c){super(_0x5d7bfc),this[_0x504a('0x14')]('isActive',!0x1),this[_0x504a('0x14')](_0x504a('0x2a'),!0x1),this[_0x504a('0x11')]=_0x473b4f,this[_0x504a('0x7')]=_0x1292b0,this[_0x504a('0xe')]=_0x3c614c,this['commentThreadHeaderView']=new _0x5ebec3(_0x5d7bfc,_0x473b4f),this[_0x504a('0x3')][_0x504a('0x17')]('reopenCommentThread')['to'](this),this[_0x504a('0x10')]=new _0x314e75(_0x5d7bfc,_0x473b4f,Object[_0x504a('0x13')]({'CommentView':this[_0x504a('0xe')][_0x504a('0x12')]},_0x3c614c)),this['commentsListView'][_0x504a('0x17')](_0x504a('0x26'))['to'](this),this[_0x504a('0x10')][_0x504a('0x17')](_0x504a('0x15'))['to'](this),this['commentsListView'][_0x504a('0x17')]('resolveCommentThread')['to'](this),this['commentsListView'][_0x504a('0xa')](_0x504a('0x0'))['to'](this),this[_0x504a('0x14')](_0x504a('0xd'),this[_0x504a('0x10')][_0x504a('0xd')]),this[_0x504a('0xa')](_0x504a('0xd'))['to'](this[_0x504a('0x10')],_0x504a('0xd')),this[_0x504a('0x1c')]=this[_0x504a('0x1e')](),this['on'](_0x504a('0x26'),()=>this[_0x504a('0x1f')]()),this['bind'](_0x504a('0x2a'))['to'](this[_0x504a('0x10')],_0x504a('0x22'),this[_0x504a('0x1c')][_0x504a('0x18')],_0x504a('0xf'),(_0x544064,_0x26c8b0)=>_0x544064||!!_0x26c8b0);}['focus'](){this[_0x504a('0x9')][_0x504a('0x1f')]();}['destroy'](){this[_0x504a('0x2a')]=!0x1,this[_0x504a('0x10')]['destroy'](),this[_0x504a('0x1c')]['destroy'](),super[_0x504a('0x8')]();}[_0x504a('0x1e')](){const _0x3c0e68=new _0x190141(this[_0x504a('0x27')],this[_0x504a('0x7')],this[_0x504a('0xe')][_0x504a('0x20')]),_0x23caa6=_0x3c0e68[_0x504a('0x18')];return _0x3c0e68[_0x504a('0xa')](_0x504a('0x21'))['to'](this,_0x504a('0x0'),this[_0x504a('0x11')],_0x504a('0x16'),this[_0x504a('0x11')],_0x504a('0xb'),_0x23caa6,'value',(_0x5e12a2,_0x59b461,_0x53b1d0,_0x531c2a)=>!!_0x531c2a||_0x53b1d0&&!_0x59b461||_0x5e12a2&&!_0x59b461),_0x23caa6[_0x504a('0xa')](_0x504a('0x28'))['to'](this,'length',this[_0x504a('0x11')],_0x504a('0x1d'),this[_0x504a('0x11')],_0x504a('0xb'),(_0x265c68,_0x1d67e1,_0x33ff04)=>{let _0x51b8ce;return _0x51b8ce=_0x33ff04&&_0x1d67e1?_0x504a('0x6'):_0x265c68?'Reply...':_0x504a('0x5'),_0x2dddbe(this['locale'],_0x51b8ce);}),_0x23caa6[_0x504a('0xa')](_0x504a('0x29'))['to'](this,_0x504a('0xd'),_0x7eb7b8=>_0x2dddbe(this[_0x504a('0x27')],_0x7eb7b8?_0x504a('0x2b'):'Comment')),_0x23caa6['on'](_0x504a('0x1b'),(_0x16a05f,_0x2a4f95)=>{this['fire'](_0x504a('0x25'),_0x2a4f95),this[_0x504a('0x11')][_0x504a('0xb')]&&this['_model'][_0x504a('0x1d')]&&this[_0x504a('0xc')](_0x504a('0x1'),this['_model']['id']),this['_model']['isSubmitted']||this[_0x504a('0xc')](_0x504a('0x4'));}),_0x23caa6['on'](_0x504a('0x24'),()=>{this[_0x504a('0x1f')]();}),_0x23caa6[_0x504a('0xa')](_0x504a('0x2'))['to'](this[_0x504a('0x11')],_0x504a('0x16')),_0x23caa6['on'](_0x504a('0x24'),_0x519752=>{0x0==this['length']&&(this[_0x504a('0xc')]('removeCommentThread'),_0x519752[_0x504a('0x23')]());}),this['on'](_0x504a('0x1a'),(_0x287d81,_0x219d22,_0x594126)=>{_0x594126||this[_0x504a('0xd')]||_0x23caa6[_0x504a('0xf')]||this[_0x504a('0xc')](_0x504a('0x19'));}),_0x3c0e68;}}
23
+ const _0x1342=['length','Reply','removeCommentThread','isActive','fire','hasDirtyComment','isReadOnly','addComment','Write\x20a\x20comment...','Reply\x20to\x20reopen\x20discussion...','locale','Comment','_config','isDirty','reopenCommentThread','editorDestroyed','placeholder','submit','canComment','destroy','commentInputView','focus','showInput','commentThreadHeaderView','editorReady','submitLabel','isSubmitted','submitCommentThread','delegate','isResolved','commentsListView','CommentView','_model','cancel','commentThreadInputView','isResolvable','bind','value'];(function(_0x593225,_0x1342b5){const _0x167ebd=function(_0x5c0779){while(--_0x5c0779){_0x593225['push'](_0x593225['shift']());}};_0x167ebd(++_0x1342b5);}(_0x1342,0x1db));const _0x167e=function(_0x593225,_0x1342b5){_0x593225=_0x593225-0x0;let _0x167ebd=_0x1342[_0x593225];return _0x167ebd;};import{View as _0x58be41}from'ckeditor5/src/ui';import _0x410582 from'./commentthreadinputview';import _0x142b8f from'./commentslistview';import _0x6ea6cf from'./commentthreadheaderview';import{getTranslation as _0x1a0146}from'../../../utils/common-translations';export default class Tt extends _0x58be41{constructor(_0x5c4bca,_0x5da229,_0x311280,_0xae52bb){super(_0x5c4bca),this['set']('isActive',!0x1),this['set'](_0x167e('0x20'),!0x1),this['_model']=_0x5da229,this['_localUser']=_0x311280,this['_config']=_0xae52bb,this['commentThreadHeaderView']=new _0x6ea6cf(_0x5c4bca,_0x5da229),this[_0x167e('0x4')][_0x167e('0x9')](_0x167e('0x21'))['to'](this),this[_0x167e('0xb')]=new _0x142b8f(_0x5c4bca,_0x5da229,Object['assign']({'CommentView':this[_0x167e('0x1f')][_0x167e('0xc')]},_0xae52bb)),this[_0x167e('0xb')][_0x167e('0x9')]('removeComment')['to'](this),this[_0x167e('0xb')]['delegate']('updateComment')['to'](this),this[_0x167e('0xb')][_0x167e('0x9')]('resolveCommentThread')['to'](this),this[_0x167e('0xb')][_0x167e('0x9')]('editorReady')['to'](this),this[_0x167e('0xb')]['delegate'](_0x167e('0x22'))['to'](this),this[_0x167e('0xb')][_0x167e('0x11')](_0x167e('0x16'))['to'](this),this['set'](_0x167e('0x13'),this[_0x167e('0xb')][_0x167e('0x13')]),this[_0x167e('0x11')](_0x167e('0x13'))['to'](this['commentsListView'],_0x167e('0x13')),this['commentThreadInputView']=this['_createCommentThreadInputView'](),this[_0x167e('0xf')][_0x167e('0x9')](_0x167e('0x5'))['to'](this),this[_0x167e('0xf')][_0x167e('0x9')](_0x167e('0x22'))['to'](this),this['on']('removeComment',()=>this[_0x167e('0x2')]()),this[_0x167e('0x11')](_0x167e('0x20'))['to'](this[_0x167e('0xb')],_0x167e('0x18'),this[_0x167e('0xf')][_0x167e('0x1')],_0x167e('0x12'),(_0x300cc4,_0x269dae)=>_0x300cc4||!!_0x269dae);}[_0x167e('0x2')](){this['element'][_0x167e('0x2')]();}[_0x167e('0x0')](){this['isDirty']=!0x1,this[_0x167e('0xb')][_0x167e('0x0')](),this[_0x167e('0xf')][_0x167e('0x0')](),super[_0x167e('0x0')]();}['_createCommentThreadInputView'](){const _0x453104=new _0x410582(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x497d8e=_0x453104[_0x167e('0x1')];return _0x453104[_0x167e('0x11')](_0x167e('0x3'))['to'](this,_0x167e('0x16'),this[_0x167e('0xd')],_0x167e('0x19'),this[_0x167e('0xd')],_0x167e('0x25'),this[_0x167e('0xd')],_0x167e('0xa'),_0x497d8e,_0x167e('0x12'),(_0x23a6bd,_0x525d17,_0x3a2f97,_0x1e46a4,_0x1106c3)=>!!_0x1106c3||_0x1e46a4&&_0x3a2f97&&!_0x525d17||_0x23a6bd&&_0x3a2f97&&!_0x525d17),_0x497d8e[_0x167e('0x11')](_0x167e('0x23'))['to'](this,_0x167e('0x13'),this[_0x167e('0xd')],_0x167e('0x10'),this[_0x167e('0xd')],_0x167e('0xa'),(_0x59538f,_0x18b7aa,_0x75f2ba)=>{let _0x2a2296;return _0x2a2296=_0x75f2ba&&_0x18b7aa?_0x167e('0x1c'):_0x59538f?'Reply...':_0x167e('0x1b'),_0x1a0146(this[_0x167e('0x1d')],_0x2a2296);}),_0x497d8e[_0x167e('0x11')](_0x167e('0x6'))['to'](this,_0x167e('0x13'),_0x430b9a=>_0x1a0146(this[_0x167e('0x1d')],_0x430b9a?_0x167e('0x14'):_0x167e('0x1e'))),_0x497d8e['on'](_0x167e('0x24'),(_0x50613e,_0x7ccf12)=>{this[_0x167e('0x17')](_0x167e('0x1a'),_0x7ccf12),this['_model'][_0x167e('0xa')]&&this[_0x167e('0xd')][_0x167e('0x10')]&&this[_0x167e('0x17')](_0x167e('0x21'),this[_0x167e('0xd')]['id']),this[_0x167e('0xd')][_0x167e('0x7')]||this[_0x167e('0x17')](_0x167e('0x8'));}),_0x497d8e['on'](_0x167e('0xe'),()=>{this[_0x167e('0x2')]();}),_0x497d8e[_0x167e('0x11')]('disabledSubmit')['to'](this[_0x167e('0xd')],'isReadOnly'),_0x497d8e['on'](_0x167e('0xe'),_0xfc2afe=>{0x0==this[_0x167e('0x13')]&&(this[_0x167e('0x17')](_0x167e('0x15')),_0xfc2afe['stop']());}),this['on']('change:isActive',(_0x576289,_0x44ae9e,_0x95ca4f)=>{_0x95ca4f||this[_0x167e('0x13')]||_0x497d8e[_0x167e('0x12')]||this[_0x167e('0x17')]('removeCommentThread');}),_0x453104;}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module comments/comments/ui/view/basecommentview
3
7
  * @publicApi
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x367e=['updateComment','Save','isSystemComment','submit','visibleView','editorConfig','_model','isReadOnly','destroy','fire','_createCommentInputView','_config','cancel','createEditor','add','maxCommentCharsWhenCollapsed','disabledSubmit','bind','initialData','remove','isEditMode','_createCommentContentView','focus','expand','content','isCollapsed','locale','element','createCollection','set','switchToDisplayMode','value','get'];(function(_0x18e084,_0x367ee7){const _0x13a1d7=function(_0x3904e7){while(--_0x3904e7){_0x18e084['push'](_0x18e084['shift']());}};_0x13a1d7(++_0x367ee7);}(_0x367e,0xcc));const _0x13a1=function(_0x18e084,_0x367ee7){_0x18e084=_0x18e084-0x0;let _0x13a1d7=_0x367e[_0x18e084];return _0x13a1d7;};import{View as _0x15857c}from'ckeditor5/src/ui';import{trimHtml as _0x4f3519}from'ckeditor5-collaboration/src/collaboration-core';import _0x27f84a from'./commentcontentview';import _0xb1647 from'./commentinputview';import{getTranslation as _0x5a6982}from'../../../utils/common-translations';export default class Zt extends _0x15857c{constructor(_0x9e72ca,_0x43b393,_0x1c98fc){super(_0x9e72ca),this[_0x13a1('0x0')]=_0x43b393,this[_0x13a1('0x5')]=_0x1c98fc,this[_0x13a1('0x1d')]=!!this['_config']['isSystemComment'],this['set'](_0x13a1('0xe'),!0x1),this[_0x13a1('0x17')](_0x13a1('0x13'),!0x0),this[_0x13a1('0x1f')]=this[_0x13a1('0x16')](),this[_0x13a1('0x1f')][_0x13a1('0x8')](this['_createCommentContentView']());}[_0x13a1('0x11')](){this[_0x13a1('0x13')]=!0x1;}['collapse'](){this[_0x13a1('0xe')]||(this['isCollapsed']=!0x0);}[_0x13a1('0x10')](){this[_0x13a1('0x15')][_0x13a1('0x10')]();}async[_0x13a1('0x2')](){await this[_0x13a1('0x1f')][_0x13a1('0x1a')](0x0)[_0x13a1('0x2')](),super[_0x13a1('0x2')]();}['switchToEditMode'](){this['isEditMode']||(this[_0x13a1('0xe')]=!0x0,this['visibleView'][_0x13a1('0xd')](0x0)[_0x13a1('0x2')](),this['visibleView']['add'](this[_0x13a1('0x4')]()));}[_0x13a1('0x18')](){this['isEditMode']&&(this['isEditMode']=!0x1,this[_0x13a1('0x1f')][_0x13a1('0xd')](0x0)[_0x13a1('0x2')](),this['visibleView']['add'](this[_0x13a1('0xf')]()));}['_createCommentContentView'](){const _0x32a48b=new _0x27f84a(this[_0x13a1('0x14')]);return _0x32a48b[_0x13a1('0xb')](_0x13a1('0x12'))['to'](this['_model'],'content',this,_0x13a1('0x13'),(_0x1f1c75,_0x2deb07)=>_0x2deb07?_0x4f3519(_0x1f1c75,{'limit':this[_0x13a1('0x5')][_0x13a1('0x9')]}):_0x1f1c75),_0x32a48b;}[_0x13a1('0x4')](){this['_config'][_0x13a1('0x20')]||(this[_0x13a1('0x5')][_0x13a1('0x20')]={}),this[_0x13a1('0x5')]['editorConfig'][_0x13a1('0xc')]=this[_0x13a1('0x0')]['content'];const _0x118301=new _0xb1647(this[_0x13a1('0x14')],this['_config'][_0x13a1('0x20')]);return _0x118301[_0x13a1('0x19')]=this[_0x13a1('0x0')][_0x13a1('0x12')],_0x118301[_0x13a1('0xb')](_0x13a1('0xa'))['to'](this[_0x13a1('0x0')],_0x13a1('0x1')),_0x118301['submitLabel']=_0x5a6982(this[_0x13a1('0x14')],_0x13a1('0x1c')),_0x118301['on'](_0x13a1('0x1e'),(_0x93badd,_0x101718)=>{this[_0x13a1('0x3')](_0x13a1('0x1b'),this['_model']['id'],_0x101718),this[_0x13a1('0x18')](),this[_0x13a1('0x10')]();}),_0x118301['on'](_0x13a1('0x6'),()=>{this[_0x13a1('0x18')](),this[_0x13a1('0x10')]();}),_0x118301['once']('editorReady',()=>{_0x118301[_0x13a1('0x10')]();}),_0x118301[_0x13a1('0x7')](),_0x118301;}}
23
+ const _0x4395=['switchToEditMode','_model','bind','isEditMode','switchToDisplayMode','remove','locale','_createCommentInputView','content','set','createCollection','editorReady','updateComment','_createCommentContentView','delegate','expand','isSystemComment','Save','get','destroy','element','visibleView','add','editorDestroyed','isCollapsed','value','createEditor','_config','editorConfig','focus','maxCommentCharsWhenCollapsed'];(function(_0x2c6d5,_0x43957e){const _0x5f126e=function(_0x32b1ef){while(--_0x32b1ef){_0x2c6d5['push'](_0x2c6d5['shift']());}};_0x5f126e(++_0x43957e);}(_0x4395,0x64));const _0x5f12=function(_0x2c6d5,_0x43957e){_0x2c6d5=_0x2c6d5-0x0;let _0x5f126e=_0x4395[_0x2c6d5];return _0x5f126e;};import{View as _0x4d15e2}from'ckeditor5/src/ui';import{trimHtml as _0x10872b}from'ckeditor5-collaboration/src/collaboration-core';import _0x4f733e from'./commentcontentview';import _0x299d7b from'./commentinputview';import{getTranslation as _0x5249d7}from'../../../utils/common-translations';export default class Yt extends _0x4d15e2{constructor(_0x1974a4,_0x5a13a,_0x51650d){super(_0x1974a4),this[_0x5f12('0x19')]=_0x5a13a,this[_0x5f12('0x14')]=_0x51650d,this['isSystemComment']=!!this['_config'][_0x5f12('0x9')],this[_0x5f12('0x2')](_0x5f12('0x1b'),!0x1),this['set'](_0x5f12('0x11'),!0x0),this[_0x5f12('0xe')]=this[_0x5f12('0x3')](),this['visibleView'][_0x5f12('0xf')](this['_createCommentContentView']());}[_0x5f12('0x8')](){this[_0x5f12('0x11')]=!0x1;}['collapse'](){this[_0x5f12('0x1b')]||(this['isCollapsed']=!0x0);}[_0x5f12('0x16')](){this[_0x5f12('0xd')][_0x5f12('0x16')]();}async[_0x5f12('0xc')](){await this[_0x5f12('0xe')][_0x5f12('0xb')](0x0)[_0x5f12('0xc')](),super[_0x5f12('0xc')]();}[_0x5f12('0x18')](){this[_0x5f12('0x1b')]||(this[_0x5f12('0x1b')]=!0x0,this['visibleView'][_0x5f12('0x1d')](0x0)[_0x5f12('0xc')](),this[_0x5f12('0xe')][_0x5f12('0xf')](this[_0x5f12('0x0')]()));}[_0x5f12('0x1c')](){this['isEditMode']&&(this[_0x5f12('0x1b')]=!0x1,this[_0x5f12('0xe')]['remove'](0x0)[_0x5f12('0xc')](),this[_0x5f12('0xe')][_0x5f12('0xf')](this[_0x5f12('0x6')]()));}[_0x5f12('0x6')](){const _0x1b1eb8=new _0x4f733e(this[_0x5f12('0x1e')]);return _0x1b1eb8['bind'](_0x5f12('0x1'))['to'](this[_0x5f12('0x19')],_0x5f12('0x1'),this,_0x5f12('0x11'),(_0x3b9f4c,_0x156300)=>_0x156300?_0x10872b(_0x3b9f4c,{'limit':this[_0x5f12('0x14')][_0x5f12('0x17')]}):_0x3b9f4c),_0x1b1eb8;}[_0x5f12('0x0')](){this[_0x5f12('0x14')][_0x5f12('0x15')]||(this['_config']['editorConfig']={}),this[_0x5f12('0x14')]['editorConfig']['initialData']=this[_0x5f12('0x19')][_0x5f12('0x1')];const _0x13deaf=new _0x299d7b(this[_0x5f12('0x1e')],this[_0x5f12('0x14')]['editorConfig']);return _0x13deaf[_0x5f12('0x12')]=this[_0x5f12('0x19')][_0x5f12('0x1')],_0x13deaf[_0x5f12('0x1a')]('disabledSubmit')['to'](this[_0x5f12('0x19')],'isReadOnly'),_0x13deaf['submitLabel']=_0x5249d7(this[_0x5f12('0x1e')],_0x5f12('0xa')),_0x13deaf['on']('submit',(_0x26f630,_0xe67eab)=>{this['fire'](_0x5f12('0x5'),this[_0x5f12('0x19')]['id'],_0xe67eab),this[_0x5f12('0x1c')](),this[_0x5f12('0x16')]();}),_0x13deaf['on']('cancel',()=>{this['switchToDisplayMode'](),this[_0x5f12('0x16')]();}),_0x13deaf['once'](_0x5f12('0x4'),()=>{_0x13deaf[_0x5f12('0x16')]();}),_0x13deaf[_0x5f12('0x13')](),_0x13deaf[_0x5f12('0x7')](_0x5f12('0x4'))['to'](this),_0x13deaf[_0x5f12('0x7')](_0x5f12('0x10'))['to'](this),_0x13deaf;}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module comments/comments/ui/view/collapsedcommentsview
3
7
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x460e=['setTemplate','count','bindTemplate','NUMBER_OF_COMMENTS','set'];(function(_0x52d3bc,_0x460ef7){const _0x1a71ca=function(_0x2256be){while(--_0x2256be){_0x52d3bc['push'](_0x52d3bc['shift']());}};_0x1a71ca(++_0x460ef7);}(_0x460e,0x1c0));const _0x1a71=function(_0x52d3bc,_0x460ef7){_0x52d3bc=_0x52d3bc-0x0;let _0x1a71ca=_0x460e[_0x52d3bc];return _0x1a71ca;};import{View as _0x37b5e4}from'ckeditor5/src/ui';import{getTranslation as _0x1d002a}from'../../../utils/common-translations';export default class to extends _0x37b5e4{constructor(_0x268e9f){super(_0x268e9f);const _0x1b7b89=this[_0x1a71('0x4')];this[_0x1a71('0x1')](_0x1a71('0x3'),void 0x0),this[_0x1a71('0x2')]({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x1b7b89['to'](_0x1a71('0x3'),_0x57f637=>_0x1d002a(_0x268e9f,_0x1a71('0x0'),_0x57f637))}]});}}
23
+ const _0x5096=['ck-thread__comment-count','count','bindTemplate','set','NUMBER_OF_COMMENTS'];(function(_0x58abd4,_0x509633){const _0x50afe3=function(_0x18159d){while(--_0x18159d){_0x58abd4['push'](_0x58abd4['shift']());}};_0x50afe3(++_0x509633);}(_0x5096,0x1d8));const _0x50af=function(_0x58abd4,_0x509633){_0x58abd4=_0x58abd4-0x0;let _0x50afe3=_0x5096[_0x58abd4];return _0x50afe3;};import{View as _0x3c8c4c}from'ckeditor5/src/ui';import{getTranslation as _0x5ac8ca}from'../../../utils/common-translations';export default class Zt extends _0x3c8c4c{constructor(_0x465f1a){super(_0x465f1a);const _0x472aa7=this[_0x50af('0x0')];this[_0x50af('0x1')]('count',void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':_0x50af('0x3')},'children':[{'text':_0x472aa7['to'](_0x50af('0x4'),_0x359fcb=>_0x5ac8ca(_0x465f1a,_0x50af('0x2'),_0x359fcb))}]});}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module comments/comments/ui/view/commentcontentview
3
7
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x34f7=['ck-comment__content','change:content','render','content','ck-annotation__content','element','innerHTML','setTemplate','set'];(function(_0xd0a631,_0x34f7ad){var _0x5ad96c=function(_0x1c3f3b){while(--_0x1c3f3b){_0xd0a631['push'](_0xd0a631['shift']());}};_0x5ad96c(++_0x34f7ad);}(_0x34f7,0x9a));var _0x5ad9=function(_0xd0a631,_0x34f7ad){_0xd0a631=_0xd0a631-0x0;var _0x5ad96c=_0x34f7[_0xd0a631];return _0x5ad96c;};import{View as _0x5e7087}from'ckeditor5/src/ui';export default class Xt extends _0x5e7087{constructor(_0x2ebea6){super(_0x2ebea6),this[_0x5ad9('0x7')](_0x5ad9('0x2'),''),this[_0x5ad9('0x6')]({'tag':'div','attributes':{'class':[_0x5ad9('0x8'),_0x5ad9('0x3')]}});}[_0x5ad9('0x1')](){super['render'](),this['on'](_0x5ad9('0x0'),(_0x1e8926,_0x741e48,_0x2e4cd2)=>{this[_0x5ad9('0x4')][_0x5ad9('0x5')]=_0x2e4cd2;}),this[_0x5ad9('0x4')][_0x5ad9('0x5')]=this[_0x5ad9('0x2')];}}
23
+ var _0x5497=['set','ck-comment__content','innerHTML','element','content','setTemplate','change:content','ck-annotation__content'];(function(_0x1e8e1e,_0x54973e){var _0x5e9198=function(_0x26e303){while(--_0x26e303){_0x1e8e1e['push'](_0x1e8e1e['shift']());}};_0x5e9198(++_0x54973e);}(_0x5497,0xe4));var _0x5e91=function(_0x1e8e1e,_0x54973e){_0x1e8e1e=_0x1e8e1e-0x0;var _0x5e9198=_0x5497[_0x1e8e1e];return _0x5e9198;};import{View as _0x54369c}from'ckeditor5/src/ui';export default class Ut extends _0x54369c{constructor(_0x33529f){super(_0x33529f),this[_0x5e91('0x4')](_0x5e91('0x0'),''),this[_0x5e91('0x1')]({'tag':'div','attributes':{'class':[_0x5e91('0x5'),_0x5e91('0x3')]}});}['render'](){super['render'](),this['on'](_0x5e91('0x2'),(_0x3c66c7,_0x524936,_0x4bff60)=>{this['element'][_0x5e91('0x6')]=_0x4bff60;}),this[_0x5e91('0x7')][_0x5e91('0x6')]=this[_0x5e91('0x0')];}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module comments/comments/ui/view/commentinputview
3
7
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4fc5=['execute','withText','then','bind','ck-comment__input-actions--submit','ck-comment__input-wrapper','extendTemplate','element','_createSubmitButton','cancelButtonView','shift\x20+\x20tab','add','placeholder','focusTracker','document','insertBefore','Cancel','_editorConfig','value','submitLabel','_editorCreationPromise','keystrokes','fire','_createCancelButton','ck-comment__input-actions','disabledSubmit','_isDestroyed','Reply...','create','focusPrevious','editor','ck-comment__input-actions--cancel','destroy','change','model','editorReady','setData','render','set','setTemplate','focus','low','submit','label','_initializeFocusCycling','view','tab','submitButtonView','div','showButtons','focusNext','createEditor','listenTo','length','Esc','bindTemplate'];(function(_0x253e33,_0x4fc570){const _0x1ed730=function(_0x349a27){while(--_0x349a27){_0x253e33['push'](_0x253e33['shift']());}};_0x1ed730(++_0x4fc570);}(_0x4fc5,0x100));const _0x1ed7=function(_0x253e33,_0x4fc570){_0x253e33=_0x253e33-0x0;let _0x1ed730=_0x4fc5[_0x253e33];return _0x1ed730;};import{View as _0x4735a0,ViewCollection as _0x427142,FocusCycler as _0x2920c1,ButtonView as _0x1165dc}from'ckeditor5/src/ui';import{FocusTracker as _0x3100c9,KeystrokeHandler as _0x11acba}from'ckeditor5/src/utils';import _0x3b1b39 from'../commenteditor/commenteditor';import{getTranslation as _0x44b862}from'../../../utils/common-translations';export default class Yt extends _0x4735a0{constructor(_0x4b0080,_0x32d7e3={}){super(_0x4b0080),this[_0x1ed7('0x36')]=null,this[_0x1ed7('0x29')]=_0x32d7e3,this[_0x1ed7('0x2d')]=new _0x11acba(),this[_0x1ed7('0x25')]=new _0x3100c9(),this['set']('value',_0x32d7e3['initialData']||''),this['set'](_0x1ed7('0x31'),!0x1),this[_0x1ed7('0x6')](_0x1ed7('0x11'),!0x0),this[_0x1ed7('0x6')](_0x1ed7('0x24'),_0x44b862(_0x4b0080,_0x1ed7('0x33'))),this[_0x1ed7('0x6')](_0x1ed7('0x2b'),_0x44b862(_0x4b0080,'Reply')),this[_0x1ed7('0xf')]=this['_createSubmitButton'](),this[_0x1ed7('0x21')]=this[_0x1ed7('0x2f')](),this[_0x1ed7('0x7')]({'tag':'div','attributes':{'class':[_0x1ed7('0x1d')]},'children':[{'tag':_0x1ed7('0x10'),'attributes':{'class':[_0x1ed7('0x30'),this[_0x1ed7('0x17')]['if']('showButtons','ck-comment__input-actions--active')]},'children':[this['submitButtonView'],this[_0x1ed7('0x21')]]}]}),this[_0x1ed7('0x2d')][_0x1ed7('0x6')](_0x1ed7('0x16'),(_0x294525,_0x24f0ad)=>{this[_0x1ed7('0x21')][_0x1ed7('0x2e')](_0x1ed7('0x18')),_0x24f0ad();}),this['on'](_0x1ed7('0xa'),(_0x673d3,_0x34e7fc)=>{_0x34e7fc[_0x1ed7('0x15')]>0xfde8?(alert(_0x44b862(_0x4b0080,'TOO_LONG_COMMENT_ALERT',[_0x34e7fc[_0x1ed7('0x15')],0xfde8])),_0x673d3['stop']()):this[_0x1ed7('0x36')][_0x1ed7('0x4')]('');},{'priority':'high'});}['render'](){super[_0x1ed7('0x5')](),this[_0x1ed7('0x2d')][_0x1ed7('0x14')](this[_0x1ed7('0x1f')]),this[_0x1ed7('0x25')][_0x1ed7('0x23')](this[_0x1ed7('0x1f')]);}[_0x1ed7('0x13')](){return this[_0x1ed7('0x36')]||(this[_0x1ed7('0x36')]=new _0x3b1b39(this[_0x1ed7('0x29')]),this[_0x1ed7('0x2c')]=this['editor'][_0x1ed7('0x34')]()[_0x1ed7('0x1a')](()=>{if(this['_isDestroyed'])return;const _0x24717a=this['editor'];this[_0x1ed7('0x1f')][_0x1ed7('0x27')](_0x24717a['ui'][_0x1ed7('0x1f')],this['element']['firstChild']),_0x24717a[_0x1ed7('0x2')][_0x1ed7('0x26')]['on'](_0x1ed7('0x1'),()=>this[_0x1ed7('0x2a')]=_0x24717a['getData']()),_0x24717a[_0x1ed7('0x1b')](_0x1ed7('0x24'))['to'](this),this[_0x1ed7('0xc')](this[_0x1ed7('0x36')]),this['fire'](_0x1ed7('0x3'));})),this[_0x1ed7('0x2c')];}[_0x1ed7('0x8')](){this['editor']&&this[_0x1ed7('0x36')][_0x1ed7('0x8')]();}async[_0x1ed7('0x0')](){this[_0x1ed7('0x32')]||(this[_0x1ed7('0x32')]=!0x0,this[_0x1ed7('0x36')]&&(await this[_0x1ed7('0x2c')],await this[_0x1ed7('0x36')]['destroy']()),await super[_0x1ed7('0x0')]());}[_0x1ed7('0x20')](){const {locale:_0xc4a545}=this,_0x167a43=new _0x1165dc(_0xc4a545);return _0x167a43[_0x1ed7('0x1e')]({'attributes':{'class':[_0x1ed7('0x1c')]}}),_0x167a43[_0x1ed7('0x19')]=!0x0,_0x167a43[_0x1ed7('0x1b')](_0x1ed7('0xb'))['to'](this,_0x1ed7('0x2b')),_0x167a43['on'](_0x1ed7('0x18'),()=>{this[_0x1ed7('0x2e')](_0x1ed7('0xa'),this[_0x1ed7('0x2a')]);}),_0x167a43[_0x1ed7('0x1b')]('isEnabled')['to'](this,_0x1ed7('0x2a'),this,_0x1ed7('0x31'),(_0xfa8cc0,_0x16c575)=>!_0x16c575&&!!_0xfa8cc0['trim']()),_0x167a43;}[_0x1ed7('0x2f')](){const {locale:_0x477c76}=this,_0x3585c1=new _0x1165dc(_0x477c76);return _0x3585c1[_0x1ed7('0x1e')]({'attributes':{'class':[_0x1ed7('0x37')]}}),_0x3585c1[_0x1ed7('0xb')]=_0x44b862(_0x477c76,_0x1ed7('0x28')),_0x3585c1[_0x1ed7('0x19')]=!0x0,_0x3585c1['on'](_0x1ed7('0x18'),()=>{this[_0x1ed7('0x36')]['setData'](''),this['fire']('cancel');}),_0x3585c1;}['_initializeFocusCycling'](_0x590b4d){const _0x32e4c7=this['focusTracker'],_0x1bd73e=new _0x427142();[_0x590b4d['ui'][_0x1ed7('0xd')],this[_0x1ed7('0xf')],this['cancelButtonView']]['forEach'](_0x5187f1=>{_0x1bd73e[_0x1ed7('0x23')](_0x5187f1),_0x32e4c7[_0x1ed7('0x23')](_0x5187f1[_0x1ed7('0x1f')]);});const _0x42ddd2=new _0x2920c1({'focusables':_0x1bd73e,'focusTracker':_0x32e4c7});this[_0x1ed7('0x2d')]['set'](_0x1ed7('0xe'),(_0x3e482b,_0x2273c2)=>{_0x42ddd2[_0x1ed7('0x12')](),_0x2273c2();},{'priority':_0x1ed7('0x9')}),this[_0x1ed7('0x2d')][_0x1ed7('0x6')](_0x1ed7('0x22'),(_0x439ec0,_0x15196b)=>{_0x42ddd2[_0x1ed7('0x35')](),_0x15196b();},{'priority':'low'});}}
23
+ const _0x20b2=['disabledSubmit','extendTemplate','_editorCreationPromise','element','insertBefore','model','render','focusNext','getData','_editorConfig','change','add','low','shift\x20+\x20tab','label','setData','editorReady','setTemplate','_createSubmitButton','ck-comment__input-actions--submit','submitLabel','ck-comment__input-wrapper','submitButtonView','withText','Esc','Reply...','create','execute','value','bindTemplate','destroy','_isDestroyed','createEditor','cancelButtonView','TOO_LONG_COMMENT_ALERT','stop','focusTracker','div','initialData','focus','editor','firstChild','listenTo','view','bind','ck-comment__input-actions--active','length','forEach','document','fire','set','trim','submit','keystrokes','_initializeFocusCycling','showButtons','tab','high'];(function(_0x19ecfa,_0x20b279){const _0xd507c9=function(_0x548a12){while(--_0x548a12){_0x19ecfa['push'](_0x19ecfa['shift']());}};_0xd507c9(++_0x20b279);}(_0x20b2,0xd0));const _0xd507=function(_0x19ecfa,_0x20b279){_0x19ecfa=_0x19ecfa-0x0;let _0xd507c9=_0x20b2[_0x19ecfa];return _0xd507c9;};import{View as _0x1f0224,ViewCollection as _0xd26e5d,FocusCycler as _0x3d7b91,ButtonView as _0x14dae1}from'ckeditor5/src/ui';import{FocusTracker as _0x13c67a,KeystrokeHandler as _0x21fd59}from'ckeditor5/src/utils';import _0x1a276e from'../commenteditor/commenteditor';import{getTranslation as _0x3b7e66}from'../../../utils/common-translations';export default class Xt extends _0x1f0224{constructor(_0x590aa2,_0x32bc2e={}){super(_0x590aa2),this['editor']=null,this[_0xd507('0x21')]=_0x32bc2e,this[_0xd507('0x13')]=new _0x21fd59(),this[_0xd507('0x2')]=new _0x13c67a(),this[_0xd507('0x10')](_0xd507('0x34'),_0x32bc2e[_0xd507('0x4')]||''),this[_0xd507('0x10')](_0xd507('0x18'),!0x1),this['set'](_0xd507('0x15'),!0x0),this[_0xd507('0x10')]('placeholder',_0x3b7e66(_0x590aa2,_0xd507('0x31'))),this[_0xd507('0x10')](_0xd507('0x2c'),_0x3b7e66(_0x590aa2,'Reply')),this[_0xd507('0x2e')]=this['_createSubmitButton'](),this['cancelButtonView']=this['_createCancelButton'](),this[_0xd507('0x29')]({'tag':_0xd507('0x3'),'attributes':{'class':[_0xd507('0x2d')]},'children':[{'tag':_0xd507('0x3'),'attributes':{'class':['ck-comment__input-actions',this[_0xd507('0x35')]['if'](_0xd507('0x15'),_0xd507('0xb'))]},'children':[this[_0xd507('0x2e')],this[_0xd507('0x39')]]}]}),this[_0xd507('0x13')][_0xd507('0x10')](_0xd507('0x30'),(_0x4be729,_0x47219d)=>{this[_0xd507('0x39')][_0xd507('0xf')](_0xd507('0x33')),_0x47219d();}),this['on'](_0xd507('0x12'),(_0x65645e,_0x480283)=>{_0x480283[_0xd507('0xc')]>0xfde8?(alert(_0x3b7e66(_0x590aa2,_0xd507('0x0'),[_0x480283[_0xd507('0xc')],0xfde8])),_0x65645e[_0xd507('0x1')]()):this[_0xd507('0x6')][_0xd507('0x27')]('');},{'priority':_0xd507('0x17')});}[_0xd507('0x1e')](){super[_0xd507('0x1e')](),this[_0xd507('0x13')][_0xd507('0x8')](this[_0xd507('0x1b')]),this[_0xd507('0x2')]['add'](this[_0xd507('0x1b')]);}[_0xd507('0x38')](){return this[_0xd507('0x6')]||(this['editor']=new _0x1a276e(this[_0xd507('0x21')]),this['_editorCreationPromise']=this['editor'][_0xd507('0x32')]()['then'](()=>{if(this['_isDestroyed'])return;const _0x3a4aaf=this['editor'];this[_0xd507('0x1b')][_0xd507('0x1c')](_0x3a4aaf['ui']['element'],this[_0xd507('0x1b')][_0xd507('0x7')]),_0x3a4aaf[_0xd507('0x1d')][_0xd507('0xe')]['on'](_0xd507('0x22'),()=>this[_0xd507('0x34')]=_0x3a4aaf[_0xd507('0x20')]()),_0x3a4aaf['bind']('placeholder')['to'](this),this[_0xd507('0x14')](this[_0xd507('0x6')]),this[_0xd507('0xf')](_0xd507('0x28'),this[_0xd507('0x6')]);})),this[_0xd507('0x1a')];}[_0xd507('0x5')](){this[_0xd507('0x6')]&&this[_0xd507('0x6')][_0xd507('0x5')]();}async[_0xd507('0x36')](){this[_0xd507('0x37')]||(this[_0xd507('0x37')]=!0x0,this[_0xd507('0x6')]&&(await this[_0xd507('0x1a')],await this[_0xd507('0x6')][_0xd507('0x36')](),this[_0xd507('0xf')]('editorDestroyed',this[_0xd507('0x6')])),await super[_0xd507('0x36')]());}[_0xd507('0x2a')](){const {locale:_0x123429}=this,_0x4f3fde=new _0x14dae1(_0x123429);return _0x4f3fde[_0xd507('0x19')]({'attributes':{'class':[_0xd507('0x2b')]}}),_0x4f3fde[_0xd507('0x2f')]=!0x0,_0x4f3fde[_0xd507('0xa')](_0xd507('0x26'))['to'](this,_0xd507('0x2c')),_0x4f3fde['on'](_0xd507('0x33'),()=>{this[_0xd507('0xf')]('submit',this[_0xd507('0x34')]);}),_0x4f3fde[_0xd507('0xa')]('isEnabled')['to'](this,_0xd507('0x34'),this,_0xd507('0x18'),(_0x118f35,_0x2283e6)=>!_0x2283e6&&!!_0x118f35[_0xd507('0x11')]()),_0x4f3fde;}['_createCancelButton'](){const {locale:_0x4beec3}=this,_0x35af4e=new _0x14dae1(_0x4beec3);return _0x35af4e['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x35af4e[_0xd507('0x26')]=_0x3b7e66(_0x4beec3,'Cancel'),_0x35af4e['withText']=!0x0,_0x35af4e['on']('execute',()=>{this['editor'][_0xd507('0x27')](''),this[_0xd507('0xf')]('cancel');}),_0x35af4e;}[_0xd507('0x14')](_0xb66daf){const _0x61bfc5=this[_0xd507('0x2')],_0x13ef76=new _0xd26e5d();[_0xb66daf['ui'][_0xd507('0x9')],this[_0xd507('0x2e')],this[_0xd507('0x39')]][_0xd507('0xd')](_0x15da68=>{_0x13ef76[_0xd507('0x23')](_0x15da68),_0x61bfc5[_0xd507('0x23')](_0x15da68[_0xd507('0x1b')]);});const _0xb15bcd=new _0x3d7b91({'focusables':_0x13ef76,'focusTracker':_0x61bfc5});this[_0xd507('0x13')][_0xd507('0x10')](_0xd507('0x16'),(_0xe20cfc,_0xc2578a)=>{_0xb15bcd[_0xd507('0x1f')](),_0xc2578a();},{'priority':_0xd507('0x24')}),this[_0xd507('0x13')][_0xd507('0x10')](_0xd507('0x25'),(_0x59b396,_0x6dc3ea)=>{_0xb15bcd['focusPrevious'](),_0x6dc3ea();},{'priority':_0xd507('0x24')});}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module comments/comments/ui/view/commentslistview
3
7
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a83=['ck-comments-archive__content','div','stopPropagation','set','ck-comments-archive__header\x20','arrowleft','destroy','listenTo','_keystrokes','shift\x20+\x20tab','high','add','arrowright','ck-comments-archive__info','EMPTY_COMMENTS_ARCHIVE','focus','setTemplate','COMMENTS_ARCHIVE','element','_focusables','ck-comments-archive','_focusCycler','arrowdown','render','isEmpty','bindTemplate','auto','_focusTracker','length'];(function(_0x18dad5,_0x5a8371){const _0xce166f=function(_0x1ff4a2){while(--_0x1ff4a2){_0x18dad5['push'](_0x18dad5['shift']());}};_0xce166f(++_0x5a8371);}(_0x5a83,0xcc));const _0xce16=function(_0x18dad5,_0x5a8371){_0x18dad5=_0x18dad5-0x0;let _0xce166f=_0x5a83[_0x18dad5];return _0xce166f;};import{View as _0x18b091,FocusCycler as _0xa258b0}from'ckeditor5/src/ui';import{FocusTracker as _0x207b56,KeystrokeHandler as _0x408769}from'ckeditor5/src/utils';import{getTranslation as _0x308e3d}from'../../../utils/common-translations';export default class X extends _0x18b091{constructor(_0xa4ace5,_0x4c80ff){super(_0xa4ace5),this[_0xce16('0x2')]('isEmpty',!_0x4c80ff[_0xce16('0x1b')]),this['_focusTracker']=new _0x207b56(),this[_0xce16('0x7')]=new _0x408769(),this[_0xce16('0x12')]=_0x4c80ff,this[_0xce16('0x14')]=new _0xa258b0({'focusables':this['_focusables'],'focusTracker':this[_0xce16('0x1a')],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':_0xce16('0x8'),'focusNext':'tab'}}),this[_0xce16('0x6')](_0x4c80ff,_0xce16('0xa'),()=>{this[_0xce16('0x17')]=!0x1;}),this[_0xce16('0x6')](_0x4c80ff,'remove',(_0x1230c8,_0x3d71b4)=>{_0x3d71b4['isActive']&&this['focus'](),_0x4c80ff[_0xce16('0x1b')]||(this[_0xce16('0x17')]=!0x0);});const _0x481c46=this[_0xce16('0x18')];this[_0xce16('0xf')]({'tag':_0xce16('0x0'),'attributes':{'dir':_0xce16('0x19'),'class':['ck',_0xce16('0x13')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0xce16('0x3')]},'children':[{'text':_0x308e3d(_0xa4ace5,_0xce16('0x10'))}]},{'tag':_0xce16('0x0'),'attributes':{'class':[_0xce16('0x1c')]},'children':[{'tag':'div','children':_0x4c80ff},{'tag':'p','attributes':{'class':[_0xce16('0xc'),_0x481c46['if'](_0xce16('0x17'),'ck-hidden',_0x3a6ba1=>!_0x3a6ba1)]},'children':[{'text':_0x308e3d(_0xa4ace5,_0xce16('0xd'))}]}]}]});}[_0xce16('0x16')](){super[_0xce16('0x16')](),this[_0xce16('0x7')][_0xce16('0x6')](this[_0xce16('0x11')]);const _0x4fdd85=_0x5ae46f=>_0x5ae46f[_0xce16('0x1')]();this[_0xce16('0x7')][_0xce16('0x2')](_0xce16('0xb'),_0x4fdd85),this[_0xce16('0x7')][_0xce16('0x2')](_0xce16('0x4'),_0x4fdd85),this[_0xce16('0x7')][_0xce16('0x2')]('arrowup',_0x4fdd85),this['_keystrokes']['set'](_0xce16('0x15'),_0x4fdd85),this['listenTo'](this[_0xce16('0x11')],'selectstart',(_0x55d56a,_0x4cd4f1)=>{_0x4cd4f1['stopPropagation']();},{'priority':_0xce16('0x9')});}[_0xce16('0x5')](){super[_0xce16('0x5')](),this['_focusTracker'][_0xce16('0x5')](),this[_0xce16('0x7')]['destroy']();}[_0xce16('0xe')](){this[_0xce16('0x11')][_0xce16('0xe')]();}}
23
+ const _0x537b=['auto','set','_keystrokes','selectstart','_focusables','shift\x20+\x20tab','tab','element','destroy','ck-comments-archive__content','length','remove','ck-comments-archive__header\x20','ck-hidden','isActive','ck-comments-archive','isEmpty','arrowdown','listenTo','ck-comments-archive__info','render','COMMENTS_ARCHIVE','focus','EMPTY_COMMENTS_ARCHIVE','_focusTracker','high','arrowup','arrowright','stopPropagation','div'];(function(_0x1bbbf8,_0x537b84){const _0x6aca5f=function(_0x5f0936){while(--_0x5f0936){_0x1bbbf8['push'](_0x1bbbf8['shift']());}};_0x6aca5f(++_0x537b84);}(_0x537b,0xd8));const _0x6aca=function(_0x1bbbf8,_0x537b84){_0x1bbbf8=_0x1bbbf8-0x0;let _0x6aca5f=_0x537b[_0x1bbbf8];return _0x6aca5f;};import{View as _0x52e26a,FocusCycler as _0x41a625}from'ckeditor5/src/ui';import{FocusTracker as _0x52a9fa,KeystrokeHandler as _0x3d33c8}from'ckeditor5/src/utils';import{getTranslation as _0x4cc09b}from'../../../utils/common-translations';export default class K extends _0x52e26a{constructor(_0x3aca3c,_0x4a6c67){super(_0x3aca3c),this[_0x6aca('0x19')]('isEmpty',!_0x4a6c67[_0x6aca('0x4')]),this['_focusTracker']=new _0x52a9fa(),this[_0x6aca('0x1a')]=new _0x3d33c8(),this[_0x6aca('0x1c')]=_0x4a6c67,this['_focusCycler']=new _0x41a625({'focusables':this['_focusables'],'focusTracker':this[_0x6aca('0x12')],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':_0x6aca('0x1d'),'focusNext':_0x6aca('0x0')}}),this[_0x6aca('0xc')](_0x4a6c67,'add',()=>{this[_0x6aca('0xa')]=!0x1;}),this[_0x6aca('0xc')](_0x4a6c67,_0x6aca('0x5'),(_0x298e87,_0x1b81c6)=>{_0x1b81c6[_0x6aca('0x8')]&&this[_0x6aca('0x10')](),_0x4a6c67['length']||(this['isEmpty']=!0x0);});const _0x130d4a=this['bindTemplate'];this['setTemplate']({'tag':_0x6aca('0x17'),'attributes':{'dir':_0x6aca('0x18'),'class':['ck',_0x6aca('0x9')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x6aca('0x6')]},'children':[{'text':_0x4cc09b(_0x3aca3c,_0x6aca('0xf'))}]},{'tag':'div','attributes':{'class':[_0x6aca('0x3')]},'children':[{'tag':'div','children':_0x4a6c67},{'tag':'p','attributes':{'class':[_0x6aca('0xd'),_0x130d4a['if']('isEmpty',_0x6aca('0x7'),_0x1dc3d3=>!_0x1dc3d3)]},'children':[{'text':_0x4cc09b(_0x3aca3c,_0x6aca('0x11'))}]}]}]});}[_0x6aca('0xe')](){super[_0x6aca('0xe')](),this[_0x6aca('0x1a')][_0x6aca('0xc')](this[_0x6aca('0x1')]);const _0x37d3ac=_0xf58886=>_0xf58886[_0x6aca('0x16')]();this[_0x6aca('0x1a')]['set'](_0x6aca('0x15'),_0x37d3ac),this['_keystrokes'][_0x6aca('0x19')]('arrowleft',_0x37d3ac),this['_keystrokes'][_0x6aca('0x19')](_0x6aca('0x14'),_0x37d3ac),this['_keystrokes'][_0x6aca('0x19')](_0x6aca('0xb'),_0x37d3ac),this[_0x6aca('0xc')](this[_0x6aca('0x1')],_0x6aca('0x1b'),(_0x19d0e6,_0x271103)=>{_0x271103[_0x6aca('0x16')]();},{'priority':_0x6aca('0x13')});}[_0x6aca('0x2')](){super[_0x6aca('0x2')](),this[_0x6aca('0x12')][_0x6aca('0x2')](),this[_0x6aca('0x1a')][_0x6aca('0x2')]();}[_0x6aca('0x10')](){this[_0x6aca('0x1')][_0x6aca('0x10')]();}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module comments/comments/ui/view/commentslistview
3
7
  */