@ckeditor/ckeditor5-comments 40.2.0 → 41.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 (157) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +1 -1
  3. package/build/comments.js +2 -2
  4. package/lang/translations/af.po +1 -1
  5. package/lang/translations/ar.po +1 -1
  6. package/lang/translations/bg.po +1 -1
  7. package/lang/translations/bn.po +1 -1
  8. package/lang/translations/bs.po +1 -1
  9. package/lang/translations/ca.po +1 -1
  10. package/lang/translations/cs.po +1 -1
  11. package/lang/translations/da.po +1 -1
  12. package/lang/translations/de-ch.po +1 -1
  13. package/lang/translations/de.po +1 -1
  14. package/lang/translations/el.po +1 -1
  15. package/lang/translations/en-au.po +1 -1
  16. package/lang/translations/en.po +1 -1
  17. package/lang/translations/es-co.po +1 -1
  18. package/lang/translations/es.po +1 -1
  19. package/lang/translations/et.po +1 -1
  20. package/lang/translations/fa.po +1 -1
  21. package/lang/translations/fi.po +1 -1
  22. package/lang/translations/fr.po +1 -1
  23. package/lang/translations/gl.po +1 -1
  24. package/lang/translations/he.po +1 -1
  25. package/lang/translations/hi.po +1 -1
  26. package/lang/translations/hr.po +1 -1
  27. package/lang/translations/hu.po +1 -1
  28. package/lang/translations/id.po +1 -1
  29. package/lang/translations/it.po +1 -1
  30. package/lang/translations/ja.po +1 -1
  31. package/lang/translations/jv.po +1 -1
  32. package/lang/translations/ko.po +1 -1
  33. package/lang/translations/lt.po +1 -1
  34. package/lang/translations/lv.po +1 -1
  35. package/lang/translations/ms.po +1 -1
  36. package/lang/translations/nl.po +1 -1
  37. package/lang/translations/no.po +1 -1
  38. package/lang/translations/pl.po +1 -1
  39. package/lang/translations/pt-br.po +1 -1
  40. package/lang/translations/pt.po +1 -1
  41. package/lang/translations/ro.po +1 -1
  42. package/lang/translations/ru.po +1 -1
  43. package/lang/translations/sk.po +1 -1
  44. package/lang/translations/sq.po +1 -1
  45. package/lang/translations/sr-latn.po +1 -1
  46. package/lang/translations/sr.po +1 -1
  47. package/lang/translations/sv.po +1 -1
  48. package/lang/translations/th.po +1 -1
  49. package/lang/translations/tk.po +1 -1
  50. package/lang/translations/tr.po +1 -1
  51. package/lang/translations/tt.po +1 -1
  52. package/lang/translations/ug.po +1 -1
  53. package/lang/translations/uk.po +1 -1
  54. package/lang/translations/ur.po +1 -1
  55. package/lang/translations/vi.po +1 -1
  56. package/lang/translations/zh-cn.po +1 -1
  57. package/lang/translations/zh.po +1 -1
  58. package/package.json +4 -3
  59. package/src/annotations/annotation.d.ts +7 -7
  60. package/src/annotations/annotation.js +2 -2
  61. package/src/annotations/annotationcollection.d.ts +4 -4
  62. package/src/annotations/annotationcollection.js +2 -2
  63. package/src/annotations/annotations.d.ts +7 -7
  64. package/src/annotations/annotations.js +2 -2
  65. package/src/annotations/annotationsuis.d.ts +6 -6
  66. package/src/annotations/annotationsuis.js +2 -2
  67. package/src/annotations/editorannotations.d.ts +5 -5
  68. package/src/annotations/editorannotations.js +2 -2
  69. package/src/annotations/inlineannotations.d.ts +7 -7
  70. package/src/annotations/inlineannotations.js +2 -2
  71. package/src/annotations/narrowsidebar.d.ts +7 -7
  72. package/src/annotations/narrowsidebar.js +2 -2
  73. package/src/annotations/sidebar.d.ts +6 -6
  74. package/src/annotations/sidebar.js +2 -2
  75. package/src/annotations/view/annotationcounterbuttonview.d.ts +3 -3
  76. package/src/annotations/view/annotationcounterbuttonview.js +2 -2
  77. package/src/annotations/view/annotationview.d.ts +3 -3
  78. package/src/annotations/view/annotationview.js +2 -2
  79. package/src/annotations/view/sidebaritemview.d.ts +3 -3
  80. package/src/annotations/view/sidebaritemview.js +2 -2
  81. package/src/annotations/view/sidebarview.d.ts +3 -3
  82. package/src/annotations/view/sidebarview.js +2 -2
  83. package/src/annotations/widesidebar.d.ts +6 -6
  84. package/src/annotations/widesidebar.js +2 -2
  85. package/src/augmentation.d.ts +2 -2
  86. package/src/augmentation.js +1 -1
  87. package/src/comments/addcommentthreadcommand.d.ts +2 -2
  88. package/src/comments/addcommentthreadcommand.js +2 -2
  89. package/src/comments/commentsarchive.d.ts +5 -5
  90. package/src/comments/commentsarchive.js +2 -2
  91. package/src/comments/commentsarchiveui.d.ts +6 -6
  92. package/src/comments/commentsarchiveui.js +2 -2
  93. package/src/comments/commentsediting.d.ts +7 -7
  94. package/src/comments/commentsediting.js +2 -2
  95. package/src/comments/commentsrepository.d.ts +12 -12
  96. package/src/comments/commentsrepository.js +2 -2
  97. package/src/comments/commentsui.d.ts +6 -6
  98. package/src/comments/commentsui.js +2 -2
  99. package/src/comments/integrations/commentsrestrictededitingmode.d.ts +2 -2
  100. package/src/comments/integrations/commentsrestrictededitingmode.js +2 -2
  101. package/src/comments/integrations/importword.d.ts +2 -2
  102. package/src/comments/integrations/importword.js +2 -2
  103. package/src/comments/ui/commenteditor/commenteditor.d.ts +5 -5
  104. package/src/comments/ui/commenteditor/commenteditor.js +2 -2
  105. package/src/comments/ui/commenteditor/commenteditorui.d.ts +4 -4
  106. package/src/comments/ui/commenteditor/commenteditorui.js +2 -2
  107. package/src/comments/ui/commenteditor/commenteditoruiview.d.ts +5 -5
  108. package/src/comments/ui/commenteditor/commenteditoruiview.js +2 -2
  109. package/src/comments/ui/commentthreadcontroller.d.ts +5 -5
  110. package/src/comments/ui/commentthreadcontroller.js +2 -2
  111. package/src/comments/ui/view/basecommentthreadview.d.ts +9 -9
  112. package/src/comments/ui/view/basecommentthreadview.js +2 -2
  113. package/src/comments/ui/view/basecommentview.d.ts +5 -5
  114. package/src/comments/ui/view/basecommentview.js +2 -2
  115. package/src/comments/ui/view/collapsedcommentsview.d.ts +3 -3
  116. package/src/comments/ui/view/collapsedcommentsview.js +2 -2
  117. package/src/comments/ui/view/commentcontentview.d.ts +3 -3
  118. package/src/comments/ui/view/commentcontentview.js +2 -2
  119. package/src/comments/ui/view/commentinputview.d.ts +5 -5
  120. package/src/comments/ui/view/commentinputview.js +2 -2
  121. package/src/comments/ui/view/commentsarchiveview.d.ts +4 -4
  122. package/src/comments/ui/view/commentsarchiveview.js +2 -2
  123. package/src/comments/ui/view/commentslistview.d.ts +6 -6
  124. package/src/comments/ui/view/commentslistview.js +2 -2
  125. package/src/comments/ui/view/commentthreadheaderview.d.ts +4 -4
  126. package/src/comments/ui/view/commentthreadheaderview.js +2 -2
  127. package/src/comments/ui/view/commentthreadinputview.d.ts +6 -6
  128. package/src/comments/ui/view/commentthreadinputview.js +2 -2
  129. package/src/comments/ui/view/commentthreadview.d.ts +8 -8
  130. package/src/comments/ui/view/commentthreadview.js +2 -2
  131. package/src/comments/ui/view/commentview.d.ts +9 -9
  132. package/src/comments/ui/view/commentview.js +2 -2
  133. package/src/comments.d.ts +11 -11
  134. package/src/comments.js +2 -2
  135. package/src/commentsonly.d.ts +3 -3
  136. package/src/commentsonly.js +2 -2
  137. package/src/config.d.ts +4 -4
  138. package/src/config.js +1 -1
  139. package/src/index.d.ts +21 -21
  140. package/src/index.js +2 -2
  141. package/src/utils/common-translations.d.ts +2 -2
  142. package/src/utils/common-translations.js +2 -2
  143. package/src/utils/createmutationobserver.d.ts +1 -1
  144. package/src/utils/createmutationobserver.js +2 -2
  145. package/theme/annotation-inline.css +1 -1
  146. package/theme/annotation.css +1 -1
  147. package/theme/comment.css +1 -1
  148. package/theme/commentinput.css +1 -1
  149. package/theme/commentmarker.css +1 -1
  150. package/theme/commentsarchive.css +2 -2
  151. package/theme/commentthread.css +1 -1
  152. package/theme/icons/add-comment.svg +1 -1
  153. package/theme/icons/comments-archive.svg +1 -1
  154. package/theme/icons/edit-comment.svg +1 -1
  155. package/theme/icons/remove-comment.svg +1 -1
  156. package/theme/sidebar-narrow.css +1 -1
  157. package/theme/sidebar.css +1 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, 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 _0x18b2=['hasMarkerForId','execute','length','getCommentThread','add','map','editor','CommentThreadInputView','init','from','componentFactory','change:activeAnnotations','focus','_threadToController','has','CommentsUI','bind','commands','view','editing','get','low','hasCommentThread','Comment','push','_viewToController','activeMarker','innerView','_createUIButton','getRange','pluginName','addSourceCollector','comment:','addComment','model','focusTracker','addCommentThread','plugins','getAllMarkersForId','locale','isEnabled','listenTo','removeCommentThread','requires','stop','label','icon'];(function(_0x3913c6,_0x18b2a0){const _0x4aa71e=function(_0x5941cb){while(--_0x5941cb){_0x3913c6['push'](_0x3913c6['shift']());}};_0x4aa71e(++_0x18b2a0);}(_0x18b2,0x153));const _0x4aa7=function(_0x3913c6,_0x18b2a0){_0x3913c6=_0x3913c6-0x0;let _0x4aa71e=_0x18b2[_0x3913c6];return _0x4aa71e;};import{Plugin as _0x4dfc8e}from'ckeditor5/src/core';import _0x44dec1 from'./commentsrepository';import _0x1235c7 from'./commentsediting';import _0x19f431 from'../annotations/editorannotations';import{ButtonView as _0x350bdf}from'ckeditor5/src/ui';import _0x1e1bb4 from'../../theme/icons/add-comment.svg';import _0x51cc03 from'../annotations/annotations';import _0x1ac630 from'./ui/view/commentslistview';import _0x5713e0 from'./ui/view/commentthreadinputview';import{getTranslation as _0x490581}from'../utils/common-translations';export default class e extends _0x4dfc8e{static get[_0x4aa7('0x14')](){return _0x4aa7('0x5');}static get[_0x4aa7('0x21')](){return[_0x44dec1,_0x1235c7,_0x19f431,_0x51cc03];}get['CommentsListView'](){return _0x1ac630;}get[_0x4aa7('0x2c')](){return _0x5713e0;}[_0x4aa7('0x2d')](){const _0x29f077=this[_0x4aa7('0x2b')],_0xbab109=_0x29f077[_0x4aa7('0x1b')][_0x4aa7('0xa')](_0x44dec1),_0x946ccc=_0x29f077['plugins']['get'](_0x1235c7),_0x29023b=_0x29f077[_0x4aa7('0x1b')][_0x4aa7('0xa')](_0x51cc03),_0x44c010=_0x29f077[_0x4aa7('0x1b')][_0x4aa7('0xa')](_0x19f431);_0x29f077['ui'][_0x4aa7('0x0')][_0x4aa7('0x29')]('comment',()=>this[_0x4aa7('0x12')]()),_0x44c010[_0x4aa7('0x15')](()=>{const _0x680fe4=[];for(const [_0x4bba7f,_0xdb9e8a]of _0xbab109[_0x4aa7('0x3')]){const _0x4c13e6=_0x946ccc[_0x4aa7('0x1c')](_0x4bba7f['id']),_0x28900e=_0x4c13e6['map'](_0xbe504=>_0xbe504[_0x4aa7('0x13')]());_0x4c13e6[_0x4aa7('0x27')]>0x0&&_0x680fe4[_0x4aa7('0xe')]([_0xdb9e8a[_0x4aa7('0x8')],_0x28900e]);}return _0x680fe4;}),this[_0x4aa7('0x1f')](_0x29023b,_0x4aa7('0x1'),(_0x3dc788,_0x9a50f8,_0x224e23)=>{const _0x20c3ef=Array[_0x4aa7('0x2e')](_0x224e23)[_0x4aa7('0x2a')](_0x185dd2=>_0x185dd2[_0x4aa7('0x11')])['find'](_0x272b50=>_0xbab109[_0x4aa7('0xf')][_0x4aa7('0x4')](_0x272b50));if(!_0x20c3ef)return void(_0x946ccc[_0x4aa7('0x10')]=null);const _0x38c1d0=_0xbab109['_viewToController']['get'](_0x20c3ef)[_0x4aa7('0x18')]['id'],_0x50f3b8=_0x4aa7('0x16')+_0x38c1d0;_0x38c1d0&&_0x946ccc[_0x4aa7('0x25')](_0x38c1d0)?_0x946ccc[_0x4aa7('0x10')]=_0x50f3b8:_0x946ccc[_0x4aa7('0x10')]&&(_0x946ccc[_0x4aa7('0x10')]=null);}),this[_0x4aa7('0x1f')](_0xbab109,_0x4aa7('0x20'),(_0x4bf240,{threadId:_0x2b22e2,isFromAdapter:_0xfd3e2c})=>{!_0xfd3e2c&&_0x29f077['ui'][_0x4aa7('0x19')]['isFocused']&&_0x946ccc[_0x4aa7('0x25')](_0x2b22e2)&&_0x29f077[_0x4aa7('0x9')][_0x4aa7('0x8')]['focus']();},{'priority':'highest'}),this[_0x4aa7('0x1f')](_0xbab109,_0x4aa7('0x17'),(_0x12e7f7,{threadId:_0x51a37a,isFromAdapter:_0x472a19})=>{if(_0x472a19||!_0x946ccc['hasMarkerForId'](_0x51a37a)||!_0xbab109[_0x4aa7('0xc')](_0x51a37a))return;0x1===_0xbab109[_0x4aa7('0x28')](_0x51a37a)[_0x4aa7('0x27')]&&(_0x29f077['editing'][_0x4aa7('0x8')][_0x4aa7('0x2')](),_0x12e7f7[_0x4aa7('0x22')]());},{'priority':_0x4aa7('0xb')});}['_createUIButton'](){const _0x307f5b=this['editor'],_0x328d4e=new _0x350bdf(_0x307f5b[_0x4aa7('0x1d')]),_0x2ec8ba=_0x307f5b[_0x4aa7('0x7')]['get'](_0x4aa7('0x1a'));return _0x328d4e[_0x4aa7('0x23')]=_0x490581(_0x307f5b[_0x4aa7('0x1d')],'Comment'),_0x328d4e['tooltip']=_0x490581(_0x307f5b[_0x4aa7('0x1d')],_0x4aa7('0xd')),_0x328d4e[_0x4aa7('0x24')]=_0x1e1bb4,_0x328d4e[_0x4aa7('0x6')](_0x4aa7('0x1e'))['to'](_0x2ec8ba),this[_0x4aa7('0x1f')](_0x328d4e,'execute',()=>_0x2ec8ba[_0x4aa7('0x26')]()),_0x328d4e;}}
23
+ const _0x339d=['execute','addSourceCollector','view','icon','push','requires','locale','bind','from','focusTracker','has','stop','listenTo','getAllMarkersForId','tooltip','model','removeCommentThread','add','focus','editing','commands','pluginName','highest','hasMarkerForId','plugins','innerView','length','init','get','addCommentThread','CommentsListView','low','comment','comment:','CommentThreadInputView','map','label','editor','CommentsUI','Comment','getRange','activeMarker','_viewToController','find'];(function(_0x3263f4,_0x339d8b){const _0x431871=function(_0x3efbd0){while(--_0x3efbd0){_0x3263f4['push'](_0x3263f4['shift']());}};_0x431871(++_0x339d8b);}(_0x339d,0x137));const _0x4318=function(_0x3263f4,_0x339d8b){_0x3263f4=_0x3263f4-0x0;let _0x431871=_0x339d[_0x3263f4];return _0x431871;};import{Plugin as _0x37288b}from'ckeditor5/src/core.js';import _0x4b136c from'./commentsrepository.js';import _0x5f5036 from'./commentsediting.js';import _0x4cf39b from'../annotations/editorannotations.js';import{ButtonView as _0x506b5d}from'ckeditor5/src/ui.js';import _0x174db9 from'../../theme/icons/add-comment.svg';import _0x38579a from'../annotations/annotations.js';import _0xdb7e70 from'./ui/view/commentslistview.js';import _0x1c4599 from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x5468d3}from'../utils/common-translations.js';export default class s extends _0x37288b{static get[_0x4318('0x12')](){return _0x4318('0x23');}static get[_0x4318('0x2')](){return[_0x4b136c,_0x5f5036,_0x4cf39b,_0x38579a];}get[_0x4318('0x1b')](){return _0xdb7e70;}get[_0x4318('0x1f')](){return _0x1c4599;}[_0x4318('0x18')](){const _0xd08745=this[_0x4318('0x22')],_0x49ca83=_0xd08745[_0x4318('0x15')][_0x4318('0x19')](_0x4b136c),_0xedf2c=_0xd08745[_0x4318('0x15')]['get'](_0x5f5036),_0xedc02=_0xd08745['plugins']['get'](_0x38579a),_0x35d708=_0xd08745['plugins'][_0x4318('0x19')](_0x4cf39b);_0xd08745['ui']['componentFactory'][_0x4318('0xe')](_0x4318('0x1d'),()=>this['_createUIButton']()),_0x35d708[_0x4318('0x2a')](()=>{const _0xd6b144=[];for(const [_0x26504e,_0x325a92]of _0x49ca83['_threadToController']){const _0x2f1e7b=_0xedf2c[_0x4318('0xa')](_0x26504e['id']),_0x3abdb1=_0x2f1e7b[_0x4318('0x20')](_0x10428b=>_0x10428b[_0x4318('0x25')]());_0x2f1e7b[_0x4318('0x17')]>0x0&&_0xd6b144[_0x4318('0x1')]([_0x325a92[_0x4318('0x2b')],_0x3abdb1]);}return _0xd6b144;}),this[_0x4318('0x9')](_0xedc02,'change:activeAnnotations',(_0x91ba83,_0x2ff5e9,_0x4f0625)=>{const _0x567dda=Array[_0x4318('0x5')](_0x4f0625)['map'](_0x3ae169=>_0x3ae169[_0x4318('0x16')])[_0x4318('0x28')](_0x14d862=>_0x49ca83[_0x4318('0x27')][_0x4318('0x7')](_0x14d862));if(!_0x567dda)return void(_0xedf2c[_0x4318('0x26')]=null);const _0x58fe41=_0x49ca83['_viewToController'][_0x4318('0x19')](_0x567dda)[_0x4318('0xc')]['id'],_0x56b553=_0x4318('0x1e')+_0x58fe41;_0x58fe41&&_0xedf2c[_0x4318('0x14')](_0x58fe41)?_0xedf2c[_0x4318('0x26')]=_0x56b553:_0xedf2c[_0x4318('0x26')]&&(_0xedf2c['activeMarker']=null);}),this[_0x4318('0x9')](_0x49ca83,_0x4318('0xd'),(_0x51f11b,{threadId:_0x55b2ba,isFromAdapter:_0x3e5bf6})=>{!_0x3e5bf6&&_0xd08745['ui'][_0x4318('0x6')]['isFocused']&&_0xedf2c['hasMarkerForId'](_0x55b2ba)&&_0xd08745[_0x4318('0x10')][_0x4318('0x2b')]['focus']();},{'priority':_0x4318('0x13')}),this[_0x4318('0x9')](_0x49ca83,'addComment',(_0xad5b92,{threadId:_0x4684bc,isFromAdapter:_0x2ddfb8})=>{if(_0x2ddfb8||!_0xedf2c[_0x4318('0x14')](_0x4684bc)||!_0x49ca83['hasCommentThread'](_0x4684bc))return;0x1===_0x49ca83['getCommentThread'](_0x4684bc)[_0x4318('0x17')]&&(_0xd08745[_0x4318('0x10')]['view'][_0x4318('0xf')](),_0xad5b92[_0x4318('0x8')]());},{'priority':_0x4318('0x1c')});}['_createUIButton'](){const _0x21d874=this[_0x4318('0x22')],_0xfdbfa=new _0x506b5d(_0x21d874[_0x4318('0x3')]),_0x4de9e6=_0x21d874[_0x4318('0x11')][_0x4318('0x19')](_0x4318('0x1a'));return _0xfdbfa[_0x4318('0x21')]=_0x5468d3(_0x21d874[_0x4318('0x3')],_0x4318('0x24')),_0xfdbfa[_0x4318('0xb')]=_0x5468d3(_0x21d874[_0x4318('0x3')],'Comment'),_0xfdbfa[_0x4318('0x0')]=_0x174db9,_0xfdbfa[_0x4318('0x4')]('isEnabled')['to'](_0x4de9e6),this[_0x4318('0x9')](_0xfdbfa,_0x4318('0x29'),()=>_0x4de9e6[_0x4318('0x29')]()),_0xfdbfa;}}
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
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
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, 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 _0x4c13=['plugins','enableCommand','get','editor','afterInit','RestrictedEditingModeEditing','has'];(function(_0x41b735,_0x4c1365){const _0x1fc13a=function(_0x1b313b){while(--_0x1b313b){_0x41b735['push'](_0x41b735['shift']());}};_0x1fc13a(++_0x4c1365);}(_0x4c13,0x178));const _0x1fc1=function(_0x41b735,_0x4c1365){_0x41b735=_0x41b735-0x0;let _0x1fc13a=_0x4c13[_0x41b735];return _0x1fc13a;};import{Plugin as _0x10eef2}from'ckeditor5/src/core';export default class Y extends _0x10eef2{[_0x1fc1('0x6')](){const _0x1d82c4=this[_0x1fc1('0x5')];if(!_0x1d82c4[_0x1fc1('0x2')][_0x1fc1('0x1')](_0x1fc1('0x0')))return;_0x1d82c4['plugins'][_0x1fc1('0x4')](_0x1fc1('0x0'))[_0x1fc1('0x3')]('addCommentThread');}}
23
+ const _0x583c=['plugins','editor','has','addCommentThread','RestrictedEditingModeEditing'];(function(_0x2c7c36,_0x583c71){const _0x15f150=function(_0x18182f){while(--_0x18182f){_0x2c7c36['push'](_0x2c7c36['shift']());}};_0x15f150(++_0x583c71);}(_0x583c,0x11f));const _0x15f1=function(_0x2c7c36,_0x583c71){_0x2c7c36=_0x2c7c36-0x0;let _0x15f150=_0x583c[_0x2c7c36];return _0x15f150;};import{Plugin as _0x3bbf47}from'ckeditor5/src/core.js';export default class Y extends _0x3bbf47{['afterInit'](){const _0x470c5e=this[_0x15f1('0x4')];if(!_0x470c5e['plugins'][_0x15f1('0x0')](_0x15f1('0x2')))return;_0x470c5e[_0x15f1('0x3')]['get'](_0x15f1('0x2'))['enableCommand'](_0x15f1('0x1'));}}
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
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
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, 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 _0x1407=['define','plugins','commands','dataInsert','listenTo','high','execute','basic','addCommentThread','_handleImportedData','editor','afterInit','collaboration.channelId','get','collaboration_features','importWord','config'];(function(_0x17d205,_0x1407d6){const _0x5b0ffd=function(_0x12103c){while(--_0x12103c){_0x17d205['push'](_0x17d205['shift']());}};_0x5b0ffd(++_0x1407d6);}(_0x1407,0xc8));const _0x5b0f=function(_0x17d205,_0x1407d6){_0x17d205=_0x17d205-0x0;let _0x5b0ffd=_0x1407[_0x17d205];return _0x5b0ffd;};import{Plugin as _0x56a53b}from'ckeditor5/src/core';import{priorities as _0x20abe5}from'ckeditor5/src/utils';import{Users as _0x30f305}from'ckeditor5-collaboration/src/collaboration-core';import _0xf1e050 from'../commentsrepository';export default class Z extends _0x56a53b{constructor(_0x57eeac){super(_0x57eeac),this[_0x5b0f('0xe')]['config'][_0x5b0f('0x4')]('importWord.formatting.comments',_0x5b0f('0xb'));}[_0x5b0f('0xf')](){const _0x203bbb=this['editor'],_0x3a30fc=_0x203bbb[_0x5b0f('0x6')][_0x5b0f('0x0')](_0x5b0f('0x2')),_0x1e2a6b=_0x203bbb[_0x5b0f('0x5')][_0x5b0f('0x0')](_0x30f305);_0x3a30fc&&(_0x3a30fc['on'](_0x5b0f('0xa'),(_0x408384,[,_0x77c2e9])=>{_0x77c2e9[_0x5b0f('0x1')]={'comments':!0x0,'user_id':_0x1e2a6b['me']['id']};},{'priority':_0x20abe5[_0x5b0f('0x9')]+0xa}),this[_0x5b0f('0x8')](_0x3a30fc,_0x5b0f('0x7'),this[_0x5b0f('0xd')]));}['_handleImportedData'](_0x356e02,_0x19b2dd){const {comment_threads:_0x3c8ca0}=_0x19b2dd;_0x3c8ca0&&_0x3c8ca0['forEach'](({thread_id:_0x21afdd,comments:_0x43ac47,is_resolved:_0x44c234})=>{const _0x2cac7a=new Date(),_0x2acac9=_0x43ac47['map'](({author:_0x8cb219,content:_0x326d86,created_at:_0x2a1b1c})=>({'content':_0x326d86,'authorId':this[_0x5b0f('0xe')]['plugins'][_0x5b0f('0x0')](_0x30f305)['me']['id'],'createdAt':_0x2cac7a,'attributes':{'@external':{'authorName':_0x8cb219,'createdAt':_0x2a1b1c?new Date(_0x2a1b1c):new Date(),'source':_0x5b0f('0x2')}}})),_0x2389bb=this[_0x5b0f('0xe')][_0x5b0f('0x3')][_0x5b0f('0x0')](_0x5b0f('0x10'));this[_0x5b0f('0xe')][_0x5b0f('0x5')][_0x5b0f('0x0')](_0xf1e050)[_0x5b0f('0xc')]({'channelId':_0x2389bb,'threadId':_0x21afdd,'comments':_0x2acac9,'resolvedAt':_0x44c234?_0x2cac7a:null});});}}
23
+ const _0x333c=['forEach','define','plugins','execute','map','collaboration.channelId','listenTo','_handleImportedData','config','commands','afterInit','importWord','high','editor','get','collaboration_features','importWord.formatting.comments'];(function(_0x2ccdd5,_0x333c2b){const _0x36e591=function(_0xeb6096){while(--_0xeb6096){_0x2ccdd5['push'](_0x2ccdd5['shift']());}};_0x36e591(++_0x333c2b);}(_0x333c,0x120));const _0x36e5=function(_0x2ccdd5,_0x333c2b){_0x2ccdd5=_0x2ccdd5-0x0;let _0x36e591=_0x333c[_0x2ccdd5];return _0x36e591;};import{Plugin as _0x5d5ffa}from'ckeditor5/src/core.js';import{priorities as _0x235ed7}from'ckeditor5/src/utils.js';import{Users as _0x3b2ce0}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x50485e from'../commentsrepository.js';export default class Z extends _0x5d5ffa{constructor(_0x1587fb){super(_0x1587fb),this[_0x36e5('0xe')][_0x36e5('0x9')][_0x36e5('0x2')](_0x36e5('0x0'),'basic');}[_0x36e5('0xb')](){const _0x41de8d=this[_0x36e5('0xe')],_0x3effb9=_0x41de8d[_0x36e5('0xa')][_0x36e5('0xf')](_0x36e5('0xc')),_0x1a7bca=_0x41de8d[_0x36e5('0x3')][_0x36e5('0xf')](_0x3b2ce0);_0x3effb9&&(_0x3effb9['on'](_0x36e5('0x4'),(_0x14fb78,[,_0x18cf02])=>{_0x18cf02[_0x36e5('0x10')]={'comments':!0x0,'user_id':_0x1a7bca['me']['id']};},{'priority':_0x235ed7[_0x36e5('0xd')]+0xa}),this[_0x36e5('0x7')](_0x3effb9,'dataInsert',this[_0x36e5('0x8')]));}[_0x36e5('0x8')](_0x437e2c,_0x4172a2){const {comment_threads:_0x59be9}=_0x4172a2;_0x59be9&&_0x59be9[_0x36e5('0x1')](({thread_id:_0x37d3ff,comments:_0x56bced,is_resolved:_0x17cc9f})=>{const _0x2bf8de=new Date(),_0x12349e=_0x56bced[_0x36e5('0x5')](({author:_0x49d692,content:_0x3e295c,created_at:_0x6c8411})=>({'content':_0x3e295c,'authorId':this[_0x36e5('0xe')][_0x36e5('0x3')]['get'](_0x3b2ce0)['me']['id'],'createdAt':_0x2bf8de,'attributes':{'@external':{'authorName':_0x49d692,'createdAt':_0x6c8411?new Date(_0x6c8411):new Date(),'source':_0x36e5('0xc')}}})),_0x560f1e=this['editor'][_0x36e5('0x9')][_0x36e5('0xf')](_0x36e5('0x6'));this[_0x36e5('0xe')]['plugins'][_0x36e5('0xf')](_0x50485e)['addCommentThread']({'channelId':_0x560f1e,'threadId':_0x37d3ff,'comments':_0x12349e,'resolvedAt':_0x17cc9f?_0x2bf8de:null});});}}
@@ -1,14 +1,14 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
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
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, 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 _0x3d62=['destroy','placeholder','name','fire','setSelection','ready','view','initPlugins','childCount','placeholderElement','init','then','createRoot','document','_updatePlaceholder','initialData','end','defaultPlugins','change:placeholder','plugins','config','focus','low','change','model','create','getRoot','getChild'];(function(_0x208d24,_0x3d6289){const _0x36e929=function(_0x353ef4){while(--_0x353ef4){_0x208d24['push'](_0x208d24['shift']());}};_0x36e929(++_0x3d6289);}(_0x3d62,0xec));const _0x36e9=function(_0x208d24,_0x3d6289){_0x208d24=_0x208d24-0x0;let _0x36e929=_0x3d62[_0x208d24];return _0x36e929;};import{Editor as _0x2d009c,DataApiMixin as _0x21f2f9}from'ckeditor5/src/core';import _0x544577 from'./commenteditorui';import{ObservableMixin as _0x5cefd7}from'ckeditor5/src/utils';import{enablePlaceholder as _0xcc9b70,disablePlaceholder as _0x297cf5}from'ckeditor5/src/engine';import{Clipboard as _0xdb3038}from'ckeditor5/src/clipboard';import{Enter as _0x1df91d,ShiftEnter as _0xa524bb}from'ckeditor5/src/enter';import{SelectAll as _0x7f2e8f}from'ckeditor5/src/select-all';import{Typing as _0x45fdb0}from'ckeditor5/src/typing';import{Undo as _0x27058c}from'ckeditor5/src/undo';import{Paragraph as _0x854ebe}from'ckeditor5/src/paragraph';const Mt=[_0xdb3038,_0x1df91d,_0xa524bb,_0x7f2e8f,_0x45fdb0,_0x27058c,_0x854ebe];export default class Nt extends _0x5cefd7(_0x21f2f9(_0x2d009c)){constructor(_0x203787={}){(_0x203787=Object['assign']({},_0x203787))[_0x36e9('0x7')]||(_0x203787[_0x36e9('0x7')]=Nt[_0x36e9('0x5')]),super(_0x203787),this['ui']=new _0x544577(this),this['set']('placeholder',''),this['model'][_0x36e9('0x1')]['on'](_0x36e9('0xb'),()=>this['_updatePlaceholder'](),{'priority':_0x36e9('0xa')}),this['on'](_0x36e9('0x6'),()=>this['_updatePlaceholder']()),this[_0x36e9('0xc')]['document'][_0x36e9('0x0')]();}[_0x36e9('0xd')](){const _0x297741=this[_0x36e9('0x8')]['get'](_0x36e9('0x3'))||'';return this[_0x36e9('0x17')]()[_0x36e9('0x1b')](()=>this['ui'][_0x36e9('0x1a')]())[_0x36e9('0x1b')](()=>this['data']['init'](_0x297741))[_0x36e9('0x1b')](()=>this[_0x36e9('0x13')](_0x36e9('0x15')));}['destroy'](){return super[_0x36e9('0x10')]()[_0x36e9('0x1b')](()=>this['ui'][_0x36e9('0x10')]());}[_0x36e9('0x9')](){this[_0x36e9('0xc')]['change'](_0x4cc7ac=>{const _0x4457ea=this[_0x36e9('0xc')][_0x36e9('0x1')][_0x36e9('0xe')](),_0x2f3291=_0x4457ea&&_0x4457ea[_0x36e9('0xf')](_0x4457ea['childCount']-0x1);_0x4cc7ac[_0x36e9('0x14')](_0x2f3291,_0x36e9('0x4')),this['editing'][_0x36e9('0x16')][_0x36e9('0x9')]();});}[_0x36e9('0x2')](){const _0x54696b=this['editing']['view'],_0x5a5266=_0x54696b['document'][_0x36e9('0xe')](),_0x2c7e69=_0x5a5266[_0x36e9('0xf')](0x0);_0x5a5266[_0x36e9('0x18')]>0x1||!_0x2c7e69||'p'!=_0x2c7e69[_0x36e9('0x12')]?this[_0x36e9('0x19')]&&this[_0x36e9('0x19')][_0x36e9('0x11')]&&(_0x297cf5(_0x54696b,this['placeholderElement']),this[_0x36e9('0x19')]=void 0x0):(this[_0x36e9('0x11')]&&(_0x2c7e69[_0x36e9('0x11')]=this[_0x36e9('0x11')]),_0xcc9b70({'view':_0x54696b,'element':_0x2c7e69,'keepOnFocus':!0x0}),this[_0x36e9('0x19')]=_0x2c7e69);}}Nt[_0x36e9('0x5')]=Mt;
23
+ const _0x3664=['view','editing','destroy','document','initialData','name','getChild','assign','ready','config','focus','placeholder','defaultPlugins','change','init','create','setSelection','plugins','end','initPlugins','placeholderElement','getRoot','get','then','_updatePlaceholder','low','childCount','model'];(function(_0x39a919,_0x3664de){const _0x11fee4=function(_0x4146ed){while(--_0x4146ed){_0x39a919['push'](_0x39a919['shift']());}};_0x11fee4(++_0x3664de);}(_0x3664,0x156));const _0x11fe=function(_0x39a919,_0x3664de){_0x39a919=_0x39a919-0x0;let _0x11fee4=_0x3664[_0x39a919];return _0x11fee4;};import{Editor as _0x357ba0,DataApiMixin as _0x4d7080}from'ckeditor5/src/core.js';import _0x1cadf2 from'./commenteditorui.js';import{ObservableMixin as _0x35de2b}from'ckeditor5/src/utils.js';import{enablePlaceholder as _0x37d62c,disablePlaceholder as _0x5e17ea}from'ckeditor5/src/engine.js';import{Clipboard as _0x5bf2c1}from'ckeditor5/src/clipboard.js';import{Enter as _0x4591c5,ShiftEnter as _0x3940ce}from'ckeditor5/src/enter.js';import{SelectAll as _0xb2d37e}from'ckeditor5/src/select-all.js';import{Typing as _0x4f22b1}from'ckeditor5/src/typing.js';import{Undo as _0x6a8513}from'ckeditor5/src/undo.js';import{Paragraph as _0x49d09b}from'ckeditor5/src/paragraph.js';const Mt=[_0x5bf2c1,_0x4591c5,_0x3940ce,_0xb2d37e,_0x4f22b1,_0x6a8513,_0x49d09b];class Nt extends _0x35de2b(_0x4d7080(_0x357ba0)){constructor(_0x46d3cd={}){(_0x46d3cd=Object[_0x11fe('0x1')]({},_0x46d3cd))[_0x11fe('0xb')]||(_0x46d3cd['plugins']=Nt[_0x11fe('0x6')]),super(_0x46d3cd),this['ui']=new _0x1cadf2(this),this['set'](_0x11fe('0x5'),''),this[_0x11fe('0x15')][_0x11fe('0x19')]['on'](_0x11fe('0x7'),()=>this[_0x11fe('0x12')](),{'priority':_0x11fe('0x13')}),this['on']('change:placeholder',()=>this[_0x11fe('0x12')]()),this['model'][_0x11fe('0x19')]['createRoot']();}[_0x11fe('0x9')](){const _0x36e989=this[_0x11fe('0x3')][_0x11fe('0x10')](_0x11fe('0x1a'))||'';return this[_0x11fe('0xd')]()[_0x11fe('0x11')](()=>this['ui']['init']())['then'](()=>this['data'][_0x11fe('0x8')](_0x36e989))[_0x11fe('0x11')](()=>this['fire'](_0x11fe('0x2')));}[_0x11fe('0x18')](){return super['destroy']()[_0x11fe('0x11')](()=>this['ui'][_0x11fe('0x18')]());}[_0x11fe('0x4')](){this['model'][_0x11fe('0x7')](_0x2c8083=>{const _0xab50c2=this[_0x11fe('0x15')][_0x11fe('0x19')][_0x11fe('0xf')](),_0x10f29f=_0xab50c2&&_0xab50c2[_0x11fe('0x0')](_0xab50c2['childCount']-0x1);_0x2c8083[_0x11fe('0xa')](_0x10f29f,_0x11fe('0xc')),this[_0x11fe('0x17')][_0x11fe('0x16')]['focus']();});}['_updatePlaceholder'](){const _0x3be0e0=this[_0x11fe('0x17')]['view'],_0x5de328=_0x3be0e0[_0x11fe('0x19')][_0x11fe('0xf')](),_0x18862d=_0x5de328[_0x11fe('0x0')](0x0);_0x5de328[_0x11fe('0x14')]>0x1||!_0x18862d||'p'!=_0x18862d[_0x11fe('0x1b')]?this[_0x11fe('0xe')]&&this[_0x11fe('0xe')][_0x11fe('0x5')]&&(_0x5e17ea(_0x3be0e0,this[_0x11fe('0xe')]),this[_0x11fe('0xe')]=void 0x0):(this[_0x11fe('0x5')]&&(_0x18862d[_0x11fe('0x5')]=this[_0x11fe('0x5')]),_0x37d62c({'view':_0x3be0e0,'element':_0x18862d,'keepOnFocus':!0x0}),this[_0x11fe('0xe')]=_0x18862d);}}Nt['defaultPlugins']=Mt;export default Nt;
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
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.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, 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 _0x36f6=['view','element','editor','destroy','editing','ready','render','init','rootName','locale','editable','isFocused','focusTracker','attachDomRoot','fire','document'];(function(_0x4b0049,_0x36f672){const _0x5ab94b=function(_0x308973){while(--_0x308973){_0x4b0049['push'](_0x4b0049['shift']());}};_0x5ab94b(++_0x36f672);}(_0x36f6,0x19f));const _0x5ab9=function(_0x4b0049,_0x36f672){_0x4b0049=_0x4b0049-0x0;let _0x5ab94b=_0x36f6[_0x4b0049];return _0x5ab94b;};import{EditorUI as _0x87404b}from'ckeditor5/src/ui';import _0x384d56 from'./commenteditoruiview';export default class Ft extends _0x87404b{constructor(_0x135aaa){super(_0x135aaa),this[_0x5ab9('0x1')]=new _0x384d56(_0x135aaa[_0x5ab9('0xa')],_0x135aaa[_0x5ab9('0x5')][_0x5ab9('0x1')]);}get[_0x5ab9('0x2')](){return this[_0x5ab9('0x1')][_0x5ab9('0x2')];}[_0x5ab9('0x8')](){const _0x17f462=this[_0x5ab9('0x3')][_0x5ab9('0x5')][_0x5ab9('0x1')],_0x59fe0c=this['view'][_0x5ab9('0xb')],_0xd836b5=_0x17f462[_0x5ab9('0x0')]['getRoot']();_0x59fe0c['name']=_0xd836b5[_0x5ab9('0x9')],this[_0x5ab9('0x1')][_0x5ab9('0x7')]();const _0xbc1d97=_0x59fe0c[_0x5ab9('0x2')];this['setEditableElement'](_0x59fe0c['name'],_0xbc1d97),this[_0x5ab9('0x1')][_0x5ab9('0xb')]['bind'](_0x5ab9('0xc'))['to'](this[_0x5ab9('0xd')]),_0x17f462[_0x5ab9('0xe')](_0xbc1d97),this[_0x5ab9('0xf')](_0x5ab9('0x6'));}[_0x5ab9('0x4')](){super['destroy'](),this[_0x5ab9('0x1')]['destroy']();}}
23
+ const _0x33aa=['ready','focusTracker','view','editable','getRoot','editing','destroy','document','init','isFocused','rootName','locale','element','setEditableElement','name'];(function(_0x173adb,_0x33aa5e){const _0x15e227=function(_0x21472b){while(--_0x21472b){_0x173adb['push'](_0x173adb['shift']());}};_0x15e227(++_0x33aa5e);}(_0x33aa,0xc5));const _0x15e2=function(_0x173adb,_0x33aa5e){_0x173adb=_0x173adb-0x0;let _0x15e227=_0x33aa[_0x173adb];return _0x15e227;};import{EditorUI as _0x2b881b}from'ckeditor5/src/ui.js';import _0x383441 from'./commenteditoruiview.js';export default class Ft extends _0x2b881b{constructor(_0x5cc990){super(_0x5cc990),this[_0x15e2('0x0')]=new _0x383441(_0x5cc990[_0x15e2('0x9')],_0x5cc990[_0x15e2('0x3')][_0x15e2('0x0')]);}get[_0x15e2('0xa')](){return this[_0x15e2('0x0')][_0x15e2('0xa')];}[_0x15e2('0x6')](){const _0xe6f4d8=this['editor'][_0x15e2('0x3')][_0x15e2('0x0')],_0x5ee7c3=this[_0x15e2('0x0')][_0x15e2('0x1')],_0x4309a1=_0xe6f4d8[_0x15e2('0x5')][_0x15e2('0x2')]();_0x5ee7c3[_0x15e2('0xc')]=_0x4309a1[_0x15e2('0x8')],this[_0x15e2('0x0')]['render']();const _0x10b4f9=_0x5ee7c3[_0x15e2('0xa')];this[_0x15e2('0xb')](_0x5ee7c3['name'],_0x10b4f9),this['view'][_0x15e2('0x1')]['bind'](_0x15e2('0x7'))['to'](this[_0x15e2('0xe')]),_0xe6f4d8['attachDomRoot'](_0x10b4f9),this['fire'](_0x15e2('0xd'));}[_0x15e2('0x4')](){super[_0x15e2('0x4')](),this['view'][_0x15e2('0x4')]();}}
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
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 { EditingView } 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`)
@@ -24,7 +24,7 @@ export default class CommentEditorUIView extends EditorUIView {
24
24
  * @param locale The locale instance.
25
25
  * @param editingView The editing view instance this view is related to.
26
26
  */
27
- constructor(locale: Locale, editingView: View);
27
+ constructor(locale: Locale, editingView: EditingView);
28
28
  /**
29
29
  * @inheritDoc
30
30
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, 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 _0x9261=['text','ck-editor__main','ck-editor__aria-label_','ck-reset','presentation','uiLanguageDirection','element','focus','createCollection','Comment\x20editor','_voiceLabelView','main','render','add','editable','extendTemplate','setTemplate','comment','cke-editor__aria-label_','uiLanguage','_createVoiceLabel'];(function(_0x2b126d,_0x9261b8){const _0x2b69be=function(_0x2ea335){while(--_0x2ea335){_0x2b126d['push'](_0x2b126d['shift']());}};_0x2b69be(++_0x9261b8);}(_0x9261,0x119));const _0x2b69=function(_0x2b126d,_0x9261b8){_0x2b126d=_0x2b126d-0x0;let _0x2b69be=_0x9261[_0x2b126d];return _0x2b69be;};import{InlineEditableUIView as _0x10edc4,EditorUIView as _0x25a1c0,LabelView as _0x635612}from'ckeditor5/src/ui';import{uid as _0x1141c7}from'ckeditor5/src/utils';import{getTranslation as _0x43ea79}from'../../../utils/common-translations';export default class Rt extends _0x25a1c0{constructor(_0x133ba0,_0x39f4fc){super(_0x133ba0);const _0x158e91=_0x1141c7();this[_0x2b69('0x3')]=this[_0x2b69('0x0')](),this[_0x2b69('0x6')]=new _0x10edc4(_0x133ba0,_0x39f4fc),this[_0x2b69('0x2')]=this[_0x2b69('0xc')](_0x158e91,_0x133ba0),this[_0x2b69('0x8')]({'tag':'div','attributes':{'class':[_0x2b69('0x10'),'ck-editor','ck-rounded-corners','ck-comment__input'],'role':_0x2b69('0x9'),'dir':_0x133ba0[_0x2b69('0x12')],'lang':_0x133ba0[_0x2b69('0xb')],'aria-labelledby':_0x2b69('0xa')+_0x158e91},'children':[this[_0x2b69('0x2')],{'tag':'div','attributes':{'class':_0x2b69('0xe'),'role':_0x2b69('0x11')},'children':this[_0x2b69('0x3')]}]});}[_0x2b69('0x4')](){super[_0x2b69('0x4')](),this[_0x2b69('0x3')][_0x2b69('0x5')](this[_0x2b69('0x6')]);}[_0x2b69('0x14')](){this[_0x2b69('0x6')][_0x2b69('0x13')][_0x2b69('0x14')]();}[_0x2b69('0xc')](_0x416e29,_0x531322){const _0xd389d7=new _0x635612();return _0xd389d7[_0x2b69('0xd')]=_0x43ea79(_0x531322,_0x2b69('0x1')),_0xd389d7[_0x2b69('0x7')]({'attributes':{'id':_0x2b69('0xf')+_0x416e29,'class':'ck-voice-label'}}),_0xd389d7;}}
23
+ const _0x60cc=['ck-voice-label','_voiceLabelView','text','_createVoiceLabel','comment','createCollection','setTemplate','Comment\x20editor','div','element','ck-rounded-corners','add','uiLanguageDirection','focus','main','ck-reset','cke-editor__aria-label_','render','editable','ck-comment__input','uiLanguage'];(function(_0x4c703a,_0x60cc35){const _0x5042b1=function(_0x26b46a){while(--_0x26b46a){_0x4c703a['push'](_0x4c703a['shift']());}};_0x5042b1(++_0x60cc35);}(_0x60cc,0x1a5));const _0x5042=function(_0x4c703a,_0x60cc35){_0x4c703a=_0x4c703a-0x0;let _0x5042b1=_0x60cc[_0x4c703a];return _0x5042b1;};import{InlineEditableUIView as _0x4cccb4,EditorUIView as _0x49c6b6,LabelView as _0x39c8e8}from'ckeditor5/src/ui.js';import{uid as _0x2b4a2e}from'ckeditor5/src/utils.js';import{getTranslation as _0x446979}from'../../../utils/common-translations.js';export default class Rt extends _0x49c6b6{constructor(_0x3f2a8d,_0x3c3f21){super(_0x3f2a8d);const _0x2ade86=_0x2b4a2e();this[_0x5042('0xd')]=this[_0x5042('0x4')](),this['editable']=new _0x4cccb4(_0x3f2a8d,_0x3c3f21),this[_0x5042('0x0')]=this[_0x5042('0x2')](_0x2ade86,_0x3f2a8d),this[_0x5042('0x5')]({'tag':_0x5042('0x7'),'attributes':{'class':[_0x5042('0xe'),'ck-editor',_0x5042('0x9'),_0x5042('0x12')],'role':_0x5042('0x3'),'dir':_0x3f2a8d[_0x5042('0xb')],'lang':_0x3f2a8d[_0x5042('0x13')],'aria-labelledby':_0x5042('0xf')+_0x2ade86},'children':[this[_0x5042('0x0')],{'tag':'div','attributes':{'class':'ck-editor__main','role':'presentation'},'children':this['main']}]});}[_0x5042('0x10')](){super[_0x5042('0x10')](),this[_0x5042('0xd')][_0x5042('0xa')](this[_0x5042('0x11')]);}[_0x5042('0xc')](){this[_0x5042('0x11')][_0x5042('0x8')][_0x5042('0xc')]();}['_createVoiceLabel'](_0x518ad3,_0x1abfa0){const _0x2e231d=new _0x39c8e8();return _0x2e231d[_0x5042('0x1')]=_0x446979(_0x1abfa0,_0x5042('0x6')),_0x2e231d['extendTemplate']({'attributes':{'id':'ck-editor__aria-label_'+_0x518ad3,'class':_0x5042('0x14')}}),_0x2e231d;}}
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, 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 _0x13be=['reopen','removeCommentThread','listenTo','model','reopenCommentThread','addComment','remove','updateComment','getComment','_localUser','removeComment','submit','_isAttached','update','submitCommentThread','resolve','destroy','view','isResolved','stopListening'];(function(_0x2cfb18,_0x13bea3){var _0x5d30a6=function(_0x3976f8){while(--_0x3976f8){_0x2cfb18['push'](_0x2cfb18['shift']());}};_0x5d30a6(++_0x13bea3);}(_0x13be,0x121));var _0x5d30=function(_0x2cfb18,_0x13bea3){_0x2cfb18=_0x2cfb18-0x0;var _0x5d30a6=_0x13be[_0x2cfb18];return _0x5d30a6;};import{ObservableMixin as _0x130664}from'ckeditor5/src/utils';export default class ut extends _0x130664(){constructor(_0x4801ca,_0x130731){super(),this['model']=_0x4801ca,this[_0x5d30('0xe')][_0x5d30('0x3')]=!0x0,this[_0x5d30('0x8')]=_0x130731,this[_0x5d30('0xd')](_0x130731,_0x5d30('0x5'),()=>this[_0x5d30('0x2')]()),this[_0x5d30('0xd')](_0x130731,_0x5d30('0xc'),()=>this['remove']()),this[_0x5d30('0xd')](_0x130731,'resolveCommentThread',()=>this['resolve']()),this['listenTo'](_0x130731,_0x5d30('0xf'),()=>this[_0x5d30('0xb')]()),this['listenTo'](_0x130731,_0x5d30('0x10'),(_0x34dd71,_0x507817)=>this[_0x5d30('0x10')](_0x507817)),this[_0x5d30('0xd')](_0x130731,_0x5d30('0x12'),(_0x45dc33,_0x25d75b,_0x2c265c)=>this['updateComment'](_0x25d75b,_0x2c265c)),this[_0x5d30('0xd')](_0x130731,_0x5d30('0x1'),(_0x5ca739,_0x2ff5b3)=>this[_0x5d30('0x1')](_0x2ff5b3));}[_0x5d30('0x2')](){this[_0x5d30('0xe')]['submit']();}[_0x5d30('0x11')](){this[_0x5d30('0xe')][_0x5d30('0x11')]();}[_0x5d30('0x6')](){this[_0x5d30('0xe')][_0x5d30('0x9')]||this[_0x5d30('0xe')][_0x5d30('0x6')]();}[_0x5d30('0xb')](){this['model'][_0x5d30('0x9')]&&this['model'][_0x5d30('0xb')]();}['addComment'](_0x3d0ebe){this[_0x5d30('0xe')][_0x5d30('0x10')]({'content':_0x3d0ebe,'authorId':this[_0x5d30('0x8')][_0x5d30('0x0')]['id']});}['updateComment'](_0x2f28cb,_0x13d5bc){this['model']['getComment'](_0x2f28cb)[_0x5d30('0x4')]({'content':_0x13d5bc});}[_0x5d30('0x1')](_0x3205c9){this[_0x5d30('0xe')][_0x5d30('0x13')](_0x3205c9)[_0x5d30('0x11')]();}[_0x5d30('0x7')](){this[_0x5d30('0xa')](),this[_0x5d30('0xe')][_0x5d30('0x3')]=!0x1;}}
23
+ var _0x329f=['remove','resolve','_localUser','submitCommentThread','reopenCommentThread','getComment','removeCommentThread','model','_isAttached','addComment','view','listenTo','resolveCommentThread','update','submit','updateComment','reopen','removeComment'];(function(_0x449a10,_0x329f9b){var _0x59de44=function(_0x34a2d4){while(--_0x34a2d4){_0x449a10['push'](_0x449a10['shift']());}};_0x59de44(++_0x329f9b);}(_0x329f,0x184));var _0x59de=function(_0x449a10,_0x329f9b){_0x449a10=_0x449a10-0x0;var _0x59de44=_0x329f[_0x449a10];return _0x59de44;};import{ObservableMixin as _0x3b79e0}from'ckeditor5/src/utils.js';export default class ut extends _0x3b79e0(){constructor(_0x3535e6,_0x2b9109){super(),this['model']=_0x3535e6,this[_0x59de('0xf')][_0x59de('0x10')]=!0x0,this[_0x59de('0x0')]=_0x2b9109,this[_0x59de('0x1')](_0x2b9109,_0x59de('0xb'),()=>this[_0x59de('0x4')]()),this[_0x59de('0x1')](_0x2b9109,_0x59de('0xe'),()=>this['remove']()),this['listenTo'](_0x2b9109,_0x59de('0x2'),()=>this[_0x59de('0x9')]()),this[_0x59de('0x1')](_0x2b9109,_0x59de('0xc'),()=>this[_0x59de('0x6')]()),this[_0x59de('0x1')](_0x2b9109,_0x59de('0x11'),(_0x583975,_0xe44726)=>this[_0x59de('0x11')](_0xe44726)),this[_0x59de('0x1')](_0x2b9109,_0x59de('0x5'),(_0xe50615,_0x36b94c,_0x268d3d)=>this['updateComment'](_0x36b94c,_0x268d3d)),this[_0x59de('0x1')](_0x2b9109,_0x59de('0x7'),(_0x292bc4,_0x31f7bb)=>this[_0x59de('0x7')](_0x31f7bb));}[_0x59de('0x4')](){this[_0x59de('0xf')][_0x59de('0x4')]();}['remove'](){this[_0x59de('0xf')]['remove']();}[_0x59de('0x9')](){this['model']['isResolved']||this[_0x59de('0xf')][_0x59de('0x9')]();}[_0x59de('0x6')](){this[_0x59de('0xf')]['isResolved']&&this[_0x59de('0xf')][_0x59de('0x6')]();}['addComment'](_0x5afb2c){this[_0x59de('0xf')]['addComment']({'content':_0x5afb2c,'authorId':this[_0x59de('0x0')][_0x59de('0xa')]['id']});}['updateComment'](_0x51ed12,_0x1c6fc0){this['model'][_0x59de('0xd')](_0x51ed12)[_0x59de('0x3')]({'content':_0x1c6fc0});}[_0x59de('0x7')](_0xff8850){this['model'][_0x59de('0xd')](_0xff8850)[_0x59de('0x8')]();}['destroy'](){this['stopListening'](),this[_0x59de('0xf')]['_isAttached']=!0x1;}}
@@ -1,19 +1,19 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
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.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, 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 _0x2e34=['bind','focus','_createCommentThreadInputView','fire','isUnlinked','locale','commentsListView','stop','listenTo','showInput','editorConfig','_model','length','editorReady','hasDirtyComment','reopenCommentThread','isActive','CommentView','resolveCommentThread','delegate','commentThreadHeaderView','set','disabledSubmit','archivedAt','addComment','value','isResolved','destroy','isResolvable','isReadOnly','Comment','removeCommentThread','isDirty','Reply...','placeholder','Reply','commentThreadInputView','submit','_localUser','commentInputView','editorDestroyed','assign','updateComment','cancel','_config','Write\x20a\x20comment...'];(function(_0x517977,_0x2e3450){const _0x47ed0a=function(_0x26a453){while(--_0x26a453){_0x517977['push'](_0x517977['shift']());}};_0x47ed0a(++_0x2e3450);}(_0x2e34,0x1ba));const _0x47ed=function(_0x517977,_0x2e3450){_0x517977=_0x517977-0x0;let _0x47ed0a=_0x2e34[_0x517977];return _0x47ed0a;};import{View as _0x4b163e}from'ckeditor5/src/ui';import _0x229683 from'./commentthreadinputview';import _0x15cf59 from'./commentslistview';import _0xa161b8 from'./commentthreadheaderview';import{getTranslation as _0x24d664}from'../../../utils/common-translations';export default class Ut extends _0x4b163e{constructor(_0x1a4c8e,_0x5ddf51,_0x4284a8,_0x24ec63){super(_0x1a4c8e),this[_0x47ed('0x27')](_0x47ed('0x22'),!0x1),this[_0x47ed('0x27')]('isDirty',!0x1),this['_model']=_0x5ddf51,this[_0x47ed('0xa')]=_0x4284a8,this[_0x47ed('0x10')]=_0x24ec63,this[_0x47ed('0x26')]=new _0xa161b8(_0x1a4c8e,_0x5ddf51),this[_0x47ed('0x26')]['delegate'](_0x47ed('0x21'))['to'](this),this[_0x47ed('0x1a')](this,'reopenCommentThread',()=>{this[_0x47ed('0x13')]();}),this[_0x47ed('0x18')]=new _0x15cf59(_0x1a4c8e,_0x5ddf51,Object[_0x47ed('0xd')]({'CommentView':this[_0x47ed('0x10')][_0x47ed('0x23')]},_0x24ec63)),this['commentsListView'][_0x47ed('0x25')]('removeComment')['to'](this),this[_0x47ed('0x18')][_0x47ed('0x25')](_0x47ed('0xe'))['to'](this),this[_0x47ed('0x18')]['delegate'](_0x47ed('0x24'))['to'](this),this['commentsListView'][_0x47ed('0x25')](_0x47ed('0x1f'))['to'](this),this[_0x47ed('0x18')][_0x47ed('0x25')](_0x47ed('0xc'))['to'](this),this[_0x47ed('0x18')][_0x47ed('0x12')](_0x47ed('0x22'))['to'](this),this[_0x47ed('0x1a')](this,_0x47ed('0x24'),()=>{this[_0x47ed('0x13')]();}),this['set'](_0x47ed('0x1e'),this[_0x47ed('0x18')][_0x47ed('0x1e')]),this[_0x47ed('0x12')](_0x47ed('0x1e'))['to'](this[_0x47ed('0x18')],'length'),this[_0x47ed('0x8')]=this[_0x47ed('0x14')](),this['commentThreadInputView'][_0x47ed('0x25')](_0x47ed('0x1f'))['to'](this),this[_0x47ed('0x8')][_0x47ed('0x25')](_0x47ed('0xc'))['to'](this),this['on']('removeComment',()=>this['focus']()),this['bind'](_0x47ed('0x4'))['to'](this['commentsListView'],_0x47ed('0x20'),this['commentThreadInputView'][_0x47ed('0xb')],'value',(_0x5aab9d,_0x4a08ad)=>_0x5aab9d||!!_0x4a08ad),this[_0x47ed('0x12')](_0x47ed('0x16'))['to'](_0x5ddf51,'unlinkedAt',_0x212333=>!!_0x212333);}[_0x47ed('0x13')](){this['element'][_0x47ed('0x13')]();}async[_0x47ed('0x2d')](){this['isDirty']=!0x1,this[_0x47ed('0x18')]['destroy'](),await this['commentThreadInputView'][_0x47ed('0x2d')](),super[_0x47ed('0x2d')]();}['_createCommentThreadInputView'](){const _0xa15ded=new _0x229683(this[_0x47ed('0x17')],this[_0x47ed('0xa')],this[_0x47ed('0x10')][_0x47ed('0x1c')]),_0x22529c=_0xa15ded[_0x47ed('0xb')];return _0xa15ded[_0x47ed('0x12')](_0x47ed('0x1b'))['to'](this,'isActive',this[_0x47ed('0x1d')],_0x47ed('0x1'),this[_0x47ed('0x1d')],'canComment',this['_model'],_0x47ed('0x29'),_0x22529c,_0x47ed('0x2b'),(_0x538350,_0x3680e0,_0x5e6ae6,_0x1ba765,_0x38e485)=>!!_0x38e485||!!_0x1ba765&&_0x5e6ae6&&!_0x3680e0||_0x538350&&_0x5e6ae6&&!_0x3680e0),_0x22529c['bind'](_0x47ed('0x6'))['to'](this,_0x47ed('0x1e'),this[_0x47ed('0x1d')],_0x47ed('0x0'),this[_0x47ed('0x1d')],_0x47ed('0x2c'),(_0xe58787,_0x54350c,_0x3e552d)=>{let _0x4ec0ac;return _0x4ec0ac=_0x3e552d&&_0x54350c?'Reply\x20to\x20reopen\x20discussion...':_0xe58787?_0x47ed('0x5'):_0x47ed('0x11'),_0x24d664(this[_0x47ed('0x17')],_0x4ec0ac);}),_0x22529c[_0x47ed('0x12')]('submitLabel')['to'](this,_0x47ed('0x1e'),_0x5d866a=>_0x24d664(this[_0x47ed('0x17')],_0x5d866a?_0x47ed('0x7'):_0x47ed('0x2'))),_0x22529c['on'](_0x47ed('0x9'),(_0xf6c759,_0x53e23c)=>{this[_0x47ed('0x15')](_0x47ed('0x2a'),_0x53e23c),this[_0x47ed('0x1d')][_0x47ed('0x2c')]&&this[_0x47ed('0x1d')][_0x47ed('0x0')]&&this['fire'](_0x47ed('0x21'),this['_model']['id']),this['_model']['isSubmitted']||this[_0x47ed('0x15')]('submitCommentThread');}),_0x22529c['on'](_0x47ed('0xf'),()=>{this['focus']();}),_0x22529c['bind'](_0x47ed('0x28'))['to'](this[_0x47ed('0x1d')],_0x47ed('0x1')),_0x22529c['on'](_0x47ed('0xf'),_0x289768=>{0x0==this[_0x47ed('0x1e')]&&(this[_0x47ed('0x15')](_0x47ed('0x3')),_0x289768[_0x47ed('0x19')]());}),this['on']('change:isActive',(_0x54212c,_0x59396e,_0x45b580)=>{_0x45b580||this['length']||_0x22529c[_0x47ed('0x2b')]||this[_0x47ed('0x15')](_0x47ed('0x3'));}),_0xa15ded;}}
23
+ const _0x3fc3=['Comment','assign','value','hasDirtyComment','bind','removeComment','updateComment','removeCommentThread','_model','delegate','reopenCommentThread','element','Write\x20a\x20comment...','cancel','focus','commentThreadHeaderView','_config','submitCommentThread','isActive','change:isActive','destroy','isResolvable','isResolved','isDirty','isReadOnly','isUnlinked','canComment','submitLabel','length','commentThreadInputView','editorReady','listenTo','set','isSubmitted','Reply\x20to\x20reopen\x20discussion...','resolveCommentThread','placeholder','archivedAt','Reply...','commentInputView','commentsListView','editorDestroyed','_createCommentThreadInputView','stop','_localUser','showInput','submit','locale','fire'];(function(_0xa03536,_0x3fc37e){const _0x1235a4=function(_0x3561ae){while(--_0x3561ae){_0xa03536['push'](_0xa03536['shift']());}};_0x1235a4(++_0x3fc37e);}(_0x3fc3,0x8e));const _0x1235=function(_0xa03536,_0x3fc37e){_0xa03536=_0xa03536-0x0;let _0x1235a4=_0x3fc3[_0xa03536];return _0x1235a4;};import{View as _0x25e55b}from'ckeditor5/src/ui.js';import _0x495eb5 from'./commentthreadinputview.js';import _0xdbffbd from'./commentslistview.js';import _0x45dc13 from'./commentthreadheaderview.js';import{getTranslation as _0x12946f}from'../../../utils/common-translations.js';export default class Ut extends _0x25e55b{constructor(_0x397b3d,_0x2734e0,_0x473bb,_0x4474ff){super(_0x397b3d),this[_0x1235('0x25')]('isActive',!0x1),this[_0x1235('0x25')](_0x1235('0x1c'),!0x1),this[_0x1235('0xd')]=_0x2734e0,this['_localUser']=_0x473bb,this[_0x1235('0x15')]=_0x4474ff,this['commentThreadHeaderView']=new _0x45dc13(_0x397b3d,_0x2734e0),this[_0x1235('0x14')][_0x1235('0xe')](_0x1235('0xf'))['to'](this),this[_0x1235('0x24')](this,_0x1235('0xf'),()=>{this[_0x1235('0x13')]();}),this[_0x1235('0x2d')]=new _0xdbffbd(_0x397b3d,_0x2734e0,Object[_0x1235('0x6')]({'CommentView':this[_0x1235('0x15')]['CommentView']},_0x4474ff)),this[_0x1235('0x2d')][_0x1235('0xe')](_0x1235('0xa'))['to'](this),this[_0x1235('0x2d')]['delegate'](_0x1235('0xb'))['to'](this),this[_0x1235('0x2d')][_0x1235('0xe')](_0x1235('0x28'))['to'](this),this[_0x1235('0x2d')][_0x1235('0xe')](_0x1235('0x23'))['to'](this),this[_0x1235('0x2d')][_0x1235('0xe')](_0x1235('0x2e'))['to'](this),this[_0x1235('0x2d')][_0x1235('0x9')](_0x1235('0x17'))['to'](this),this[_0x1235('0x24')](this,_0x1235('0x28'),()=>{this[_0x1235('0x13')]();}),this[_0x1235('0x25')]('length',this[_0x1235('0x2d')][_0x1235('0x21')]),this[_0x1235('0x9')](_0x1235('0x21'))['to'](this[_0x1235('0x2d')],_0x1235('0x21')),this[_0x1235('0x22')]=this[_0x1235('0x2f')](),this[_0x1235('0x22')][_0x1235('0xe')](_0x1235('0x23'))['to'](this),this[_0x1235('0x22')][_0x1235('0xe')]('editorDestroyed')['to'](this),this['on'](_0x1235('0xa'),()=>this[_0x1235('0x13')]()),this[_0x1235('0x9')](_0x1235('0x1c'))['to'](this[_0x1235('0x2d')],_0x1235('0x8'),this['commentThreadInputView'][_0x1235('0x2c')],'value',(_0x3700c2,_0x2ee41c)=>_0x3700c2||!!_0x2ee41c),this[_0x1235('0x9')](_0x1235('0x1e'))['to'](_0x2734e0,'unlinkedAt',_0x3c9f57=>!!_0x3c9f57);}[_0x1235('0x13')](){this[_0x1235('0x10')]['focus']();}async[_0x1235('0x19')](){this[_0x1235('0x1c')]=!0x1,this[_0x1235('0x2d')][_0x1235('0x19')](),await this[_0x1235('0x22')][_0x1235('0x19')](),super[_0x1235('0x19')]();}['_createCommentThreadInputView'](){const _0x10ba6e=new _0x495eb5(this[_0x1235('0x3')],this[_0x1235('0x0')],this['_config']['editorConfig']),_0x32ca87=_0x10ba6e['commentInputView'];return _0x10ba6e[_0x1235('0x9')](_0x1235('0x1'))['to'](this,_0x1235('0x17'),this[_0x1235('0xd')],_0x1235('0x1d'),this[_0x1235('0xd')],_0x1235('0x1f'),this['_model'],_0x1235('0x2a'),_0x32ca87,_0x1235('0x7'),(_0x1a0102,_0x48b2b0,_0x5ddd68,_0x44d892,_0x27d256)=>!!_0x27d256||!!_0x44d892&&_0x5ddd68&&!_0x48b2b0||_0x1a0102&&_0x5ddd68&&!_0x48b2b0),_0x32ca87[_0x1235('0x9')](_0x1235('0x29'))['to'](this,_0x1235('0x21'),this[_0x1235('0xd')],_0x1235('0x1a'),this['_model'],_0x1235('0x1b'),(_0x1b9d00,_0x38661e,_0x3a301f)=>{let _0x37557e;return _0x37557e=_0x3a301f&&_0x38661e?_0x1235('0x27'):_0x1b9d00?_0x1235('0x2b'):_0x1235('0x11'),_0x12946f(this[_0x1235('0x3')],_0x37557e);}),_0x32ca87[_0x1235('0x9')](_0x1235('0x20'))['to'](this,_0x1235('0x21'),_0x1567b2=>_0x12946f(this[_0x1235('0x3')],_0x1567b2?'Reply':_0x1235('0x5'))),_0x32ca87['on'](_0x1235('0x2'),(_0x29b5a2,_0x411b23)=>{this['fire']('addComment',_0x411b23),this[_0x1235('0xd')][_0x1235('0x1b')]&&this[_0x1235('0xd')][_0x1235('0x1a')]&&this['fire']('reopenCommentThread',this[_0x1235('0xd')]['id']),this[_0x1235('0xd')][_0x1235('0x26')]||this['fire'](_0x1235('0x16'));}),_0x32ca87['on'](_0x1235('0x12'),()=>{this[_0x1235('0x13')]();}),_0x32ca87[_0x1235('0x9')]('disabledSubmit')['to'](this[_0x1235('0xd')],_0x1235('0x1d')),_0x32ca87['on'](_0x1235('0x12'),_0x79d235=>{0x0==this[_0x1235('0x21')]&&(this[_0x1235('0x4')](_0x1235('0xc')),_0x79d235[_0x1235('0x30')]());}),this['on'](_0x1235('0x18'),(_0x46f335,_0x85c709,_0x44298f)=>{_0x44298f||this[_0x1235('0x21')]||_0x32ca87[_0x1235('0x7')]||this[_0x1235('0x4')](_0x1235('0xc'));}),_0x10ba6e;}}
@@ -1,15 +1,15 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
5
  /**
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
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, 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 _0x48f6=['switchToEditMode','submitLabel','destroy','submit','value','initialData','_createCommentInputView','get','element','content','isSystemComment','_createCommentContentView','isEditMode','editorConfig','editorReady','add','maxCommentCharsWhenCollapsed','createEditor','switchToDisplayMode','disabledSubmit','once','delegate','_config','visibleView','expand','locale','remove','set','createCollection','collapse','_model','isCollapsed','bind','focus'];(function(_0x1859f4,_0x48f6f4){const _0x1a6438=function(_0x4a2c2d){while(--_0x4a2c2d){_0x1859f4['push'](_0x1859f4['shift']());}};_0x1a6438(++_0x48f6f4);}(_0x48f6,0xca));const _0x1a64=function(_0x1859f4,_0x48f6f4){_0x1859f4=_0x1859f4-0x0;let _0x1a6438=_0x48f6[_0x1859f4];return _0x1a6438;};import{View as _0x1ce16b}from'ckeditor5/src/ui';import{trimHtml as _0x26c055}from'ckeditor5-collaboration/src/collaboration-core';import _0x568f99 from'./commentcontentview';import _0x52b8a5 from'./commentinputview';import{getTranslation as _0x59cbb1}from'../../../utils/common-translations';export default class ti extends _0x1ce16b{constructor(_0x3258d5,_0x1e6998,_0x4019ed){super(_0x3258d5),this[_0x1a64('0x20')]=_0x1e6998,this[_0x1a64('0x18')]=_0x4019ed,this[_0x1a64('0xc')]=!!this[_0x1a64('0x18')]['isSystemComment'],this['set'](_0x1a64('0xe'),!0x1),this[_0x1a64('0x1d')](_0x1a64('0x21'),!0x0),this[_0x1a64('0x19')]=this[_0x1a64('0x1e')](),this['visibleView'][_0x1a64('0x11')](this[_0x1a64('0xd')]());}[_0x1a64('0x1a')](){this[_0x1a64('0x21')]=!0x1;}[_0x1a64('0x1f')](){this[_0x1a64('0xe')]||(this[_0x1a64('0x21')]=!0x0);}[_0x1a64('0x1')](){this[_0x1a64('0xa')][_0x1a64('0x1')]();}async['destroy'](){await this['visibleView'][_0x1a64('0x9')](0x0)[_0x1a64('0x4')](),super[_0x1a64('0x4')]();}[_0x1a64('0x2')](){this[_0x1a64('0xe')]||(this[_0x1a64('0xe')]=!0x0,this['visibleView'][_0x1a64('0x1c')](0x0)[_0x1a64('0x4')](),this[_0x1a64('0x19')][_0x1a64('0x11')](this[_0x1a64('0x8')]()));}[_0x1a64('0x14')](){this[_0x1a64('0xe')]&&(this[_0x1a64('0xe')]=!0x1,this['visibleView'][_0x1a64('0x1c')](0x0)[_0x1a64('0x4')](),this[_0x1a64('0x19')]['add'](this[_0x1a64('0xd')]()));}[_0x1a64('0xd')](){const _0x5cc284=new _0x568f99(this[_0x1a64('0x1b')]);return _0x5cc284[_0x1a64('0x0')](_0x1a64('0xb'))['to'](this[_0x1a64('0x20')],'content',this,_0x1a64('0x21'),(_0x54925d,_0x337747)=>_0x337747?_0x26c055(_0x54925d,{'limit':this[_0x1a64('0x18')][_0x1a64('0x12')]}):_0x54925d),_0x5cc284;}[_0x1a64('0x8')](){this[_0x1a64('0x18')][_0x1a64('0xf')]||(this[_0x1a64('0x18')]['editorConfig']={}),this['_config'][_0x1a64('0xf')][_0x1a64('0x7')]=this[_0x1a64('0x20')][_0x1a64('0xb')];const _0x2f7af5=new _0x52b8a5(this[_0x1a64('0x1b')],this[_0x1a64('0x18')][_0x1a64('0xf')]);return _0x2f7af5[_0x1a64('0x6')]=this[_0x1a64('0x20')][_0x1a64('0xb')],_0x2f7af5['bind'](_0x1a64('0x15'))['to'](this['_model'],'isReadOnly'),_0x2f7af5[_0x1a64('0x3')]=_0x59cbb1(this[_0x1a64('0x1b')],'Save'),_0x2f7af5['on'](_0x1a64('0x5'),(_0x1eab50,_0x18cee3)=>{this['fire']('updateComment',this['_model']['id'],_0x18cee3),this[_0x1a64('0x14')](),this[_0x1a64('0x1')]();}),_0x2f7af5['on']('cancel',()=>{this['switchToDisplayMode'](),this[_0x1a64('0x1')]();}),_0x2f7af5[_0x1a64('0x16')]('editorReady',()=>{_0x2f7af5[_0x1a64('0x1')]();}),_0x2f7af5[_0x1a64('0x13')](),_0x2f7af5[_0x1a64('0x17')](_0x1a64('0x10'))['to'](this),_0x2f7af5['delegate']('editorDestroyed')['to'](this),_0x2f7af5;}}
23
+ const _0x2534=['isEditMode','_model','expand','isReadOnly','Save','initialData','_config','value','fire','disabledSubmit','destroy','isCollapsed','editorConfig','get','set','cancel','locale','focus','editorReady','remove','isSystemComment','content','switchToDisplayMode','_createCommentContentView','once','delegate','createCollection','element','editorDestroyed','visibleView','switchToEditMode','submit','updateComment','add'];(function(_0x35ba3e,_0x253454){const _0x2d0c24=function(_0x193c0d){while(--_0x193c0d){_0x35ba3e['push'](_0x35ba3e['shift']());}};_0x2d0c24(++_0x253454);}(_0x2534,0x145));const _0x2d0c=function(_0x35ba3e,_0x253454){_0x35ba3e=_0x35ba3e-0x0;let _0x2d0c24=_0x2534[_0x35ba3e];return _0x2d0c24;};import{View as _0x19cd64}from'ckeditor5/src/ui.js';import{trimHtml as _0x5cc121}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x368603 from'./commentcontentview.js';import _0x11be4e from'./commentinputview.js';import{getTranslation as _0x2a2f06}from'../../../utils/common-translations.js';export default class ti extends _0x19cd64{constructor(_0x219470,_0x34cf37,_0x3c2b2f){super(_0x219470),this[_0x2d0c('0x10')]=_0x34cf37,this[_0x2d0c('0x15')]=_0x3c2b2f,this[_0x2d0c('0x1')]=!!this[_0x2d0c('0x15')][_0x2d0c('0x1')],this['set']('isEditMode',!0x1),this[_0x2d0c('0x1d')](_0x2d0c('0x1a'),!0x0),this['visibleView']=this[_0x2d0c('0x7')](),this['visibleView'][_0x2d0c('0xe')](this['_createCommentContentView']());}[_0x2d0c('0x11')](){this['isCollapsed']=!0x1;}['collapse'](){this[_0x2d0c('0xf')]||(this[_0x2d0c('0x1a')]=!0x0);}[_0x2d0c('0x20')](){this[_0x2d0c('0x8')]['focus']();}async[_0x2d0c('0x19')](){await this[_0x2d0c('0xa')][_0x2d0c('0x1c')](0x0)[_0x2d0c('0x19')](),super[_0x2d0c('0x19')]();}[_0x2d0c('0xb')](){this[_0x2d0c('0xf')]||(this[_0x2d0c('0xf')]=!0x0,this['visibleView'][_0x2d0c('0x0')](0x0)[_0x2d0c('0x19')](),this[_0x2d0c('0xa')][_0x2d0c('0xe')](this['_createCommentInputView']()));}['switchToDisplayMode'](){this['isEditMode']&&(this['isEditMode']=!0x1,this[_0x2d0c('0xa')]['remove'](0x0)[_0x2d0c('0x19')](),this[_0x2d0c('0xa')]['add'](this[_0x2d0c('0x4')]()));}['_createCommentContentView'](){const _0x8d50b6=new _0x368603(this[_0x2d0c('0x1f')]);return _0x8d50b6['bind']('content')['to'](this[_0x2d0c('0x10')],'content',this,_0x2d0c('0x1a'),(_0x25c0c7,_0xef894b)=>_0xef894b?_0x5cc121(_0x25c0c7,{'limit':this[_0x2d0c('0x15')]['maxCommentCharsWhenCollapsed']}):_0x25c0c7),_0x8d50b6;}['_createCommentInputView'](){this[_0x2d0c('0x15')]['editorConfig']||(this[_0x2d0c('0x15')][_0x2d0c('0x1b')]={}),this['_config'][_0x2d0c('0x1b')][_0x2d0c('0x14')]=this[_0x2d0c('0x10')]['content'];const _0x1fa167=new _0x11be4e(this[_0x2d0c('0x1f')],this['_config'][_0x2d0c('0x1b')]);return _0x1fa167[_0x2d0c('0x16')]=this['_model'][_0x2d0c('0x2')],_0x1fa167['bind'](_0x2d0c('0x18'))['to'](this[_0x2d0c('0x10')],_0x2d0c('0x12')),_0x1fa167['submitLabel']=_0x2a2f06(this[_0x2d0c('0x1f')],_0x2d0c('0x13')),_0x1fa167['on'](_0x2d0c('0xc'),(_0x3c8903,_0x521e76)=>{this[_0x2d0c('0x17')](_0x2d0c('0xd'),this[_0x2d0c('0x10')]['id'],_0x521e76),this[_0x2d0c('0x3')](),this[_0x2d0c('0x20')]();}),_0x1fa167['on'](_0x2d0c('0x1e'),()=>{this[_0x2d0c('0x3')](),this[_0x2d0c('0x20')]();}),_0x1fa167[_0x2d0c('0x5')](_0x2d0c('0x21'),()=>{_0x1fa167['focus']();}),_0x1fa167['createEditor'](),_0x1fa167[_0x2d0c('0x6')]('editorReady')['to'](this),_0x1fa167[_0x2d0c('0x6')](_0x2d0c('0x9'))['to'](this),_0x1fa167;}}
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
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);
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, 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 _0x44d2=['setTemplate','count','set','ck-thread__comment-count','bindTemplate'];(function(_0x4630ee,_0x44d296){const _0x4c8659=function(_0x29f278){while(--_0x29f278){_0x4630ee['push'](_0x4630ee['shift']());}};_0x4c8659(++_0x44d296);}(_0x44d2,0x18b));const _0x4c86=function(_0x4630ee,_0x44d296){_0x4630ee=_0x4630ee-0x0;let _0x4c8659=_0x44d2[_0x4630ee];return _0x4c8659;};import{View as _0x74ff8c}from'ckeditor5/src/ui';import{getTranslation as _0x3f5715}from'../../../utils/common-translations';export default class to extends _0x74ff8c{constructor(_0x5c538a){super(_0x5c538a);const _0x4a2e61=this[_0x4c86('0x4')];this[_0x4c86('0x2')]('count',void 0x0),this[_0x4c86('0x0')]({'tag':'li','attributes':{'class':_0x4c86('0x3')},'children':[{'text':_0x4a2e61['to'](_0x4c86('0x1'),_0x23eccc=>_0x3f5715(_0x5c538a,'NUMBER_OF_COMMENTS',_0x23eccc))}]});}}
23
+ const _0xa706=['ck-thread__comment-count','count','setTemplate','bindTemplate','set'];(function(_0x56ca5f,_0xa70681){const _0x344ff0=function(_0x5ac686){while(--_0x5ac686){_0x56ca5f['push'](_0x56ca5f['shift']());}};_0x344ff0(++_0xa70681);}(_0xa706,0x1d0));const _0x344f=function(_0x56ca5f,_0xa70681){_0x56ca5f=_0x56ca5f-0x0;let _0x344ff0=_0xa706[_0x56ca5f];return _0x344ff0;};import{View as _0x3258a9}from'ckeditor5/src/ui.js';import{getTranslation as _0x46c5a0}from'../../../utils/common-translations.js';export default class ts extends _0x3258a9{constructor(_0x530143){super(_0x530143);const _0x17ae67=this[_0x344f('0x4')];this[_0x344f('0x0')](_0x344f('0x2'),void 0x0),this[_0x344f('0x3')]({'tag':'li','attributes':{'class':_0x344f('0x1')},'children':[{'text':_0x17ae67['to'](_0x344f('0x2'),_0x44b709=>_0x46c5a0(_0x530143,'NUMBER_OF_COMMENTS',_0x44b709))}]});}}
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, 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
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);
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, 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 _0x311c=['div','element','ck-annotation__content','ck-comment__content','innerHTML','content','setTemplate','set'];(function(_0x14da9f,_0x311c17){var _0x388bb5=function(_0x2a7099){while(--_0x2a7099){_0x14da9f['push'](_0x14da9f['shift']());}};_0x388bb5(++_0x311c17);}(_0x311c,0xbb));var _0x388b=function(_0x14da9f,_0x311c17){_0x14da9f=_0x14da9f-0x0;var _0x388bb5=_0x311c[_0x14da9f];return _0x388bb5;};import{View as _0x944aed}from'ckeditor5/src/ui';export default class Yt extends _0x944aed{constructor(_0x1690d6){super(_0x1690d6),this[_0x388b('0x4')](_0x388b('0x2'),''),this[_0x388b('0x3')]({'tag':_0x388b('0x5'),'attributes':{'class':[_0x388b('0x0'),_0x388b('0x7')]}});}['render'](){super['render'](),this['on']('change:content',(_0x4dfacb,_0x5e84a5,_0x1c4205)=>{this[_0x388b('0x6')]['innerHTML']=_0x1c4205;}),this[_0x388b('0x6')][_0x388b('0x1')]=this[_0x388b('0x2')];}}
23
+ var _0x42b4=['element','ck-annotation__content','content','ck-comment__content','set','div','innerHTML','render'];(function(_0x1435b5,_0x42b4b4){var _0x34c11a=function(_0x3c4ab3){while(--_0x3c4ab3){_0x1435b5['push'](_0x1435b5['shift']());}};_0x34c11a(++_0x42b4b4);}(_0x42b4,0xb8));var _0x34c1=function(_0x1435b5,_0x42b4b4){_0x1435b5=_0x1435b5-0x0;var _0x34c11a=_0x42b4[_0x1435b5];return _0x34c11a;};import{View as _0x25ec55}from'ckeditor5/src/ui.js';export default class Yt extends _0x25ec55{constructor(_0xd8d62e){super(_0xd8d62e),this[_0x34c1('0x4')]('content',''),this['setTemplate']({'tag':_0x34c1('0x5'),'attributes':{'class':[_0x34c1('0x3'),_0x34c1('0x1')]}});}[_0x34c1('0x7')](){super['render'](),this['on']('change:content',(_0x2e3063,_0x38199b,_0x2890dd)=>{this[_0x34c1('0x0')][_0x34c1('0x6')]=_0x2890dd;}),this[_0x34c1('0x0')][_0x34c1('0x6')]=this[_0x34c1('0x2')];}}