@ckeditor/ckeditor5-track-changes 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 (196) hide show
  1. package/CHANGELOG.md +5 -5
  2. package/LICENSE.md +1 -1
  3. package/README.md +1 -1
  4. package/build/track-changes.js +2 -2
  5. package/build/translations/es.js +1 -1
  6. package/lang/translations/ar.po +1 -1
  7. package/lang/translations/az.po +1 -1
  8. package/lang/translations/bg.po +1 -1
  9. package/lang/translations/bn.po +1 -1
  10. package/lang/translations/ca.po +1 -1
  11. package/lang/translations/cs.po +1 -1
  12. package/lang/translations/da.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.po +2 -2
  18. package/lang/translations/et.po +1 -1
  19. package/lang/translations/fi.po +1 -1
  20. package/lang/translations/fr.po +1 -1
  21. package/lang/translations/gl.po +1 -1
  22. package/lang/translations/he.po +1 -1
  23. package/lang/translations/hi.po +1 -1
  24. package/lang/translations/hr.po +1 -1
  25. package/lang/translations/hu.po +1 -1
  26. package/lang/translations/id.po +1 -1
  27. package/lang/translations/it.po +1 -1
  28. package/lang/translations/ja.po +1 -1
  29. package/lang/translations/ko.po +1 -1
  30. package/lang/translations/lt.po +1 -1
  31. package/lang/translations/lv.po +1 -1
  32. package/lang/translations/ms.po +1 -1
  33. package/lang/translations/nl.po +1 -1
  34. package/lang/translations/no.po +1 -1
  35. package/lang/translations/pl.po +1 -1
  36. package/lang/translations/pt-br.po +1 -1
  37. package/lang/translations/pt.po +1 -1
  38. package/lang/translations/ro.po +1 -1
  39. package/lang/translations/ru.po +1 -1
  40. package/lang/translations/sk.po +1 -1
  41. package/lang/translations/sq.po +1 -1
  42. package/lang/translations/sr-latn.po +1 -1
  43. package/lang/translations/sr.po +1 -1
  44. package/lang/translations/sv.po +1 -1
  45. package/lang/translations/th.po +1 -1
  46. package/lang/translations/tk.po +1 -1
  47. package/lang/translations/tr.po +1 -1
  48. package/lang/translations/tt.po +1 -1
  49. package/lang/translations/uk.po +1 -1
  50. package/lang/translations/ur.po +1 -1
  51. package/lang/translations/vi.po +1 -1
  52. package/lang/translations/zh-cn.po +1 -1
  53. package/lang/translations/zh.po +1 -1
  54. package/package.json +4 -3
  55. package/src/augmentation.d.ts +3 -3
  56. package/src/augmentation.js +1 -1
  57. package/src/commands/acceptsuggestioncommand.d.ts +3 -3
  58. package/src/commands/acceptsuggestioncommand.js +2 -2
  59. package/src/commands/discardsuggestioncommand.d.ts +3 -3
  60. package/src/commands/discardsuggestioncommand.js +2 -2
  61. package/src/commands/executeonallsuggestionscommand.d.ts +3 -3
  62. package/src/commands/executeonallsuggestionscommand.js +2 -2
  63. package/src/commands/executeonselectedsuggestionscommand.d.ts +3 -3
  64. package/src/commands/executeonselectedsuggestionscommand.js +2 -2
  65. package/src/commands/trackchangescommand.d.ts +2 -2
  66. package/src/commands/trackchangescommand.js +2 -2
  67. package/src/index.d.ts +13 -13
  68. package/src/index.js +2 -2
  69. package/src/integrations/aiassistant.d.ts +2 -2
  70. package/src/integrations/aiassistant.js +2 -2
  71. package/src/integrations/alignment.d.ts +2 -2
  72. package/src/integrations/alignment.js +2 -2
  73. package/src/integrations/basicstyles.d.ts +2 -2
  74. package/src/integrations/basicstyles.js +2 -2
  75. package/src/integrations/blockquote.d.ts +2 -2
  76. package/src/integrations/blockquote.js +2 -2
  77. package/src/integrations/casechange.d.ts +17 -0
  78. package/src/integrations/casechange.js +23 -0
  79. package/src/integrations/ckbox.d.ts +2 -2
  80. package/src/integrations/ckbox.js +2 -2
  81. package/src/integrations/codeblock.d.ts +2 -2
  82. package/src/integrations/codeblock.js +2 -2
  83. package/src/integrations/comments.d.ts +2 -2
  84. package/src/integrations/comments.js +2 -2
  85. package/src/integrations/deletecommand.d.ts +3 -3
  86. package/src/integrations/deletecommand.js +2 -2
  87. package/src/integrations/entercommand.d.ts +3 -3
  88. package/src/integrations/entercommand.js +2 -2
  89. package/src/integrations/findandreplace.d.ts +2 -2
  90. package/src/integrations/findandreplace.js +2 -2
  91. package/src/integrations/font.d.ts +2 -2
  92. package/src/integrations/font.js +2 -2
  93. package/src/integrations/formatpainter.d.ts +2 -2
  94. package/src/integrations/formatpainter.js +2 -2
  95. package/src/integrations/heading.d.ts +2 -2
  96. package/src/integrations/heading.js +2 -2
  97. package/src/integrations/highlight.d.ts +2 -2
  98. package/src/integrations/highlight.js +2 -2
  99. package/src/integrations/horizontalline.d.ts +2 -2
  100. package/src/integrations/horizontalline.js +2 -2
  101. package/src/integrations/htmlembed.d.ts +2 -2
  102. package/src/integrations/htmlembed.js +2 -2
  103. package/src/integrations/image.d.ts +2 -2
  104. package/src/integrations/image.js +2 -2
  105. package/src/integrations/imagereplace.d.ts +2 -2
  106. package/src/integrations/imagereplace.js +2 -2
  107. package/src/integrations/imagestyle.d.ts +2 -2
  108. package/src/integrations/imagestyle.js +2 -2
  109. package/src/integrations/importword.d.ts +2 -2
  110. package/src/integrations/importword.js +2 -2
  111. package/src/integrations/indent.d.ts +2 -2
  112. package/src/integrations/indent.js +2 -2
  113. package/src/integrations/inputcommand.d.ts +3 -3
  114. package/src/integrations/inputcommand.js +2 -2
  115. package/src/integrations/legacylist.d.ts +17 -0
  116. package/src/integrations/legacylist.js +23 -0
  117. package/src/integrations/{documentlistproperties.d.ts → legacylistproperties.d.ts} +7 -7
  118. package/src/integrations/legacylistproperties.js +23 -0
  119. package/src/integrations/link.d.ts +2 -2
  120. package/src/integrations/link.js +2 -2
  121. package/src/integrations/list.d.ts +6 -6
  122. package/src/integrations/list.js +2 -2
  123. package/src/integrations/listproperties.d.ts +6 -15
  124. package/src/integrations/listproperties.js +2 -2
  125. package/src/integrations/mediaembed.d.ts +2 -2
  126. package/src/integrations/mediaembed.js +2 -2
  127. package/src/integrations/mention.d.ts +2 -2
  128. package/src/integrations/mention.js +2 -2
  129. package/src/integrations/pagebreak.d.ts +2 -2
  130. package/src/integrations/pagebreak.js +2 -2
  131. package/src/integrations/paragraph.d.ts +2 -2
  132. package/src/integrations/paragraph.js +2 -2
  133. package/src/integrations/removeformat.d.ts +2 -2
  134. package/src/integrations/removeformat.js +2 -2
  135. package/src/integrations/restrictededitingmode.d.ts +2 -2
  136. package/src/integrations/restrictededitingmode.js +2 -2
  137. package/src/integrations/shiftentercommand.d.ts +3 -3
  138. package/src/integrations/shiftentercommand.js +2 -2
  139. package/src/integrations/standardeditingmode.d.ts +2 -2
  140. package/src/integrations/standardeditingmode.js +2 -2
  141. package/src/integrations/style.d.ts +2 -2
  142. package/src/integrations/style.js +2 -2
  143. package/src/integrations/table.d.ts +2 -2
  144. package/src/integrations/table.js +2 -2
  145. package/src/integrations/tablecaption.d.ts +3 -3
  146. package/src/integrations/tablecaption.js +2 -2
  147. package/src/integrations/tableclipboard.d.ts +3 -3
  148. package/src/integrations/tableclipboard.js +2 -2
  149. package/src/integrations/tablecolumnresize.d.ts +5 -5
  150. package/src/integrations/tablecolumnresize.js +2 -2
  151. package/src/integrations/tableheadings.d.ts +3 -3
  152. package/src/integrations/tableheadings.js +2 -2
  153. package/src/integrations/tablemergesplit.d.ts +3 -3
  154. package/src/integrations/tablemergesplit.js +2 -2
  155. package/src/integrations/tableofcontents.d.ts +2 -2
  156. package/src/integrations/tableofcontents.js +2 -2
  157. package/src/integrations/tableproperties.d.ts +5 -5
  158. package/src/integrations/tableproperties.js +2 -2
  159. package/src/integrations/template.d.ts +2 -2
  160. package/src/integrations/template.js +2 -2
  161. package/src/integrations/title.d.ts +2 -2
  162. package/src/integrations/title.js +2 -2
  163. package/src/integrations/undo.d.ts +2 -2
  164. package/src/integrations/undo.js +2 -2
  165. package/src/integrations/utils.d.ts +4 -4
  166. package/src/integrations/utils.js +2 -2
  167. package/src/suggestion.d.ts +6 -6
  168. package/src/suggestion.js +2 -2
  169. package/src/suggestiondescriptionfactory.d.ts +4 -4
  170. package/src/suggestiondescriptionfactory.js +2 -2
  171. package/src/trackchanges.d.ts +6 -6
  172. package/src/trackchanges.js +2 -2
  173. package/src/trackchangesconfig.d.ts +2 -2
  174. package/src/trackchangesconfig.js +1 -1
  175. package/src/trackchangesdata.d.ts +3 -3
  176. package/src/trackchangesdata.js +2 -2
  177. package/src/trackchangesediting.d.ts +56 -55
  178. package/src/trackchangesediting.js +2 -2
  179. package/src/trackchangesui.d.ts +4 -4
  180. package/src/trackchangesui.js +2 -2
  181. package/src/ui/suggestioncontroller.d.ts +6 -6
  182. package/src/ui/suggestioncontroller.js +2 -2
  183. package/src/ui/view/basesuggestionthreadview.d.ts +7 -7
  184. package/src/ui/view/basesuggestionthreadview.js +2 -2
  185. package/src/ui/view/suggestionthreadview.d.ts +6 -6
  186. package/src/ui/view/suggestionthreadview.js +2 -2
  187. package/src/utils/common-translations.d.ts +2 -2
  188. package/src/utils/common-translations.js +2 -2
  189. package/src/utils/utils.d.ts +5 -5
  190. package/src/utils/utils.js +2 -2
  191. package/theme/icons/track-changes-accept.svg +1 -1
  192. package/theme/icons/track-changes-discard.svg +1 -1
  193. package/theme/icons/track-changes.svg +1 -1
  194. package/src/integrations/documentlist.d.ts +0 -17
  195. package/src/integrations/documentlist.js +0 -23
  196. package/src/integrations/documentlistproperties.js +0 -23
@@ -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 _0x14a3=['focus','delete','isInContent','separator','size','keys','getFirstRange','getByInnerView','_annotationViews','reduce','listenTo','_disableComments','locale','suggestionChanged','values','buttonView','destroy','comments.editorConfig','unbind','getAllAdjacentSuggestions','isDirty','has','editor','getSuggestion','Discard\x20all\x20selected\x20suggestions','requires','_createUIButton','CommentView','previous','push','bind','define','execute','config','_handleControllerBuffer','Accept\x20all\x20suggestions','add','length','_viewToController','comments.maxThreadTotalWeight','isOn','_bindAnnotationToEditors','TrackChangesEditing','SuggestionThreadView','clear','getDescriptions','filter','remove','comments','some','descriptionParts','change:previous','getMarkerNames','_handleSuggestionControllerDelayed','_updateController','editing','addSourceCollector','plugins','from','CommentsUI','lowest','stopListening','actionView','value','discardSelectedSuggestions','getRanges','type','getJoined','EditorAnnotations','Discard\x20all\x20suggestions','isMultiRange','trackChanges','arrowView','discardButton','commands','Accept\x20all\x20selected\x20suggestions','get','_destroyController','_suggestionToController','suggestion-','set','acceptButton','createAnnotation','discardAllSuggestions','acceptAllSuggestions','view','trackChanges.disableComments','button','_initializeController','pluginName','change:activeAnnotations','suggestionLoaded','mainView','Annotations','toMany','_descriptionFactory','model','commandName','activeMarkers','_refreshActiveMarkers','isEnabled','head','registerAnnotation','CommentsRepository','comments.maxCommentsWhenCollapsed'];(function(_0x4ef4c1,_0x14a37f){const _0x34bfb6=function(_0x431644){while(--_0x431644){_0x4ef4c1['push'](_0x4ef4c1['shift']());}};_0x34bfb6(++_0x14a37f);}(_0x14a3,0x78));const _0x34bf=function(_0x4ef4c1,_0x14a37f){_0x4ef4c1=_0x4ef4c1-0x0;let _0x34bfb6=_0x14a3[_0x4ef4c1];return _0x34bfb6;};import{Plugin as _0x215801}from'ckeditor5/src/core';import{Collection as _0x5b36d7}from'ckeditor5/src/utils';import{Model as _0x3231d7,SplitButtonView as _0x1af109,createDropdown as _0x196dd1,addListToDropdown as _0x3bab50}from'ckeditor5/src/ui';import{Users as _0x31dd3b,getDateTimeFormatter as _0x48750a,getAllMarkersDomElementsSorted as _0x23ad5c}from'ckeditor5-collaboration/src/collaboration-core';import _0x43c73a from'./trackchangesediting';import _0x6fd6e2 from'./ui/suggestioncontroller';import _0x6f8056 from'./ui/view/suggestionthreadview';import{getTranslation as _0x570380}from'./utils/common-translations';import _0x2f1a9a from'../theme/icons/track-changes.svg';export default class d extends _0x215801{static get[_0x34bf('0xa')](){return[_0x43c73a,_0x31dd3b,'CommentsRepository',_0x34bf('0x4e'),_0x34bf('0x35')];}static get[_0x34bf('0x4a')](){return'TrackChangesUI';}constructor(_0x22cd31){super(_0x22cd31),this[_0x34bf('0x3f')]=new Map(),this[_0x34bf('0x17')]=new Map(),this[_0x34bf('0x62')]=new Map(),this[_0x34bf('0x13')]=new Map();const _0x56b7ba=this[_0x34bf('0x7')][_0x34bf('0x12')];_0x56b7ba['define']('trackChanges.SuggestionThreadView',_0x6f8056),_0x56b7ba[_0x34bf('0x10')](_0x34bf('0x47'),!0x1),this[_0x34bf('0x65')]=_0x56b7ba['get'](_0x34bf('0x47'));}[_0x34bf('0x26')](_0x5d729f,_0x496bb8){0x0===this[_0x34bf('0x13')][_0x34bf('0x5e')]&&setTimeout(()=>{for(const [_0x454152,_0xce4028]of this[_0x34bf('0x13')]){const _0x48593c=this[_0x34bf('0x3f')]['has'](_0x454152);_0x48593c||_0xce4028?_0x48593c&&_0xce4028&&this[_0x34bf('0x3e')](_0x454152):this[_0x34bf('0x49')](_0x454152);}this['editor'][_0x34bf('0x2a')][_0x34bf('0x3d')](_0x34bf('0x35'))['refreshSelectedViews'](),this[_0x34bf('0x54')](),this['_handleControllerBuffer'][_0x34bf('0x1d')]();},0xa),this[_0x34bf('0x13')][_0x34bf('0x41')](_0x5d729f,_0x496bb8);}['init'](){const _0x1be094=this[_0x34bf('0x7')],_0xc0c198=_0x1be094[_0x34bf('0x2a')][_0x34bf('0x3d')](_0x34bf('0x1b')),_0x445c5d=_0x1be094[_0x34bf('0x2a')][_0x34bf('0x3d')](_0x34bf('0x4e')),_0x14cb86=_0x1be094[_0x34bf('0x2a')]['get'](_0x34bf('0x35')),_0x2875dc=_0x1be094[_0x34bf('0x2a')][_0x34bf('0x3d')](_0x34bf('0x58'));_0x1be094['ui']['componentFactory'][_0x34bf('0x15')](_0x34bf('0x38'),_0x334a42=>this[_0x34bf('0xb')](_0x334a42)),_0x14cb86[_0x34bf('0x29')](()=>{const _0x1e53b2=[];for(const [_0x1a09fe,_0x58d022]of Array[_0x34bf('0x2b')](this[_0x34bf('0x3f')])){const _0x1b96d6=_0x1a09fe[_0x34bf('0x4')](),_0x1b7473=[];for(const _0x303e92 of _0x1b96d6){if(!_0x303e92['isInContent'])continue;if(_0x303e92[_0x34bf('0x37')]){_0x1b7473[_0x34bf('0xe')](..._0x303e92[_0x34bf('0x32')]());continue;}const _0x1573ca=_0x303e92[_0x34bf('0x60')]();if(_0x1b7473[_0x34bf('0x16')]>0x0){const _0x13499b=_0x1b7473[0x0][_0x34bf('0x34')](_0x1573ca);if(_0x13499b){_0x1b7473[0x0]=_0x13499b;continue;}}_0x1b7473[_0x34bf('0xe')](_0x1573ca);}_0x1e53b2[_0x34bf('0xe')]([_0x58d022['view'],_0x1b7473]);}return _0x1e53b2;}),this['listenTo'](_0xc0c198,_0x34bf('0x4c'),(_0x300fbc,_0x324d94)=>{this[_0x34bf('0x64')](_0x324d94,_0x34bf('0x24'),(_0x16c607,_0x571e4f,_0x457761,_0x24c85a)=>{_0x324d94[_0x34bf('0x5c')]&&(null==_0x457761?(this[_0x34bf('0x27')](_0x24c85a[_0x34bf('0x56')]),this[_0x34bf('0x26')](_0x324d94,!0x1)):(this[_0x34bf('0x27')](_0x457761['head']),null==_0x24c85a&&this[_0x34bf('0x26')](_0x324d94,!0x0)));}),null!==_0x324d94[_0x34bf('0xd')]?this[_0x34bf('0x27')](_0x324d94[_0x34bf('0x56')]):this[_0x34bf('0x26')](_0x324d94,!0x1);}),this['listenTo'](_0xc0c198,'suggestionUnloaded',(_0x4d5f5e,_0x2ae818,_0x32d8af)=>{this[_0x34bf('0x2e')](_0x2ae818,_0x34bf('0x24')),this[_0x34bf('0x13')]['delete'](_0x2ae818),this['_suggestionToController'][_0x34bf('0x6')](_0x2ae818)&&this['_destroyController'](_0x2ae818),_0x32d8af&&this['_updateController'](_0x32d8af[_0x34bf('0x56')]);}),this[_0x34bf('0x64')](_0xc0c198,_0x34bf('0x67'),(_0x3730f8,_0x403d11)=>{this['_updateController'](_0x403d11);}),this[_0x34bf('0x64')](_0x445c5d,_0x34bf('0x4b'),()=>{this['_refreshActiveMarkers']();}),this[_0x34bf('0x64')](_0x2875dc,'addComment',(_0x2fd7f4,{threadId:_0x5c2686,isFromAdapter:_0x490e88})=>{if(_0x490e88||!_0xc0c198['hasSuggestion'](_0x5c2686))return;const _0x2332d1=_0xc0c198[_0x34bf('0x8')](_0x5c2686);this['_suggestionToController'][_0x34bf('0x3d')](_0x2332d1)[_0x34bf('0x46')]['focus']();},{'priority':_0x34bf('0x2d')});}[_0x34bf('0x54')](){const _0x1ece8a=this[_0x34bf('0x7')][_0x34bf('0x2a')][_0x34bf('0x3d')](_0x34bf('0x4e')),_0x335f75=this['editor'][_0x34bf('0x2a')][_0x34bf('0x3d')](_0x34bf('0x1b')),_0x4cbb50=Array['from'](_0x1ece8a['activeAnnotations'],_0x496358=>_0x496358['innerView'])[_0x34bf('0x1f')](_0x5312db=>this[_0x34bf('0x17')][_0x34bf('0x6')](_0x5312db)),_0x3680b0=[];for(const _0x45ac9a of _0x4cbb50){const _0x583eca=this[_0x34bf('0x17')][_0x34bf('0x3d')](_0x45ac9a)[_0x34bf('0x51')][_0x34bf('0x4')]();_0x3680b0[_0x34bf('0xe')](..._0x583eca[_0x34bf('0x63')]((_0x5ac680,_0x28d3b3)=>[..._0x5ac680,..._0x28d3b3[_0x34bf('0x25')]()],[]));}_0x335f75[_0x34bf('0x53')]=_0x3680b0;}[_0x34bf('0xb')](_0xbc930){const _0x26f3db=_0x196dd1(_0xbc930,_0x1af109),_0x4e7c8c=this['editor']['commands'][_0x34bf('0x3d')](_0x34bf('0x38')),_0x126db3=_0x570380(_0xbc930,'Track\x20changes');_0x26f3db[_0x34bf('0x0')][_0x34bf('0x41')]({'tooltip':_0x126db3,'label':_0x126db3,'icon':_0x2f1a9a}),_0x26f3db[_0x34bf('0x0')]['bind'](_0x34bf('0x19'))['to'](_0x4e7c8c,_0x34bf('0x30')),_0x26f3db['buttonView']['on'](_0x34bf('0x11'),()=>{_0x4e7c8c[_0x34bf('0x11')](),this[_0x34bf('0x7')][_0x34bf('0x28')]['view']['focus']();});const _0x479abf=new _0x5b36d7(),_0x5d95e4=[{'type':'switchbutton','model':{'withText':!0x0,'label':_0x126db3,'commandName':'trackChanges'}},{'type':_0x34bf('0x5d')},{'type':_0x34bf('0x48'),'model':{'withText':!0x0,'label':_0x570380(_0xbc930,_0x34bf('0x14')),'commandName':_0x34bf('0x45')}},{'type':_0x34bf('0x48'),'model':{'withText':!0x0,'label':_0x570380(_0xbc930,_0x34bf('0x3c')),'commandName':'acceptSelectedSuggestions'}},{'type':_0x34bf('0x48'),'model':{'withText':!0x0,'label':_0x570380(_0xbc930,_0x34bf('0x36')),'commandName':_0x34bf('0x44')}},{'type':'button','model':{'withText':!0x0,'label':_0x570380(_0xbc930,_0x34bf('0x9')),'commandName':_0x34bf('0x31')}}];for(const _0x56148c of _0x5d95e4){let _0x15cb24={'type':_0x34bf('0x5d')};if(_0x56148c[_0x34bf('0x51')]){const _0x5aff15=new _0x3231d7(_0x56148c[_0x34bf('0x51')]),_0x2c86ad=this[_0x34bf('0x7')][_0x34bf('0x3b')][_0x34bf('0x3d')](_0x5aff15[_0x34bf('0x52')]);_0x5aff15[_0x34bf('0xf')](_0x34bf('0x19'),_0x34bf('0x55'))['to'](_0x2c86ad,'value',_0x34bf('0x55')),_0x15cb24={'type':_0x56148c[_0x34bf('0x33')],'model':_0x5aff15};}_0x479abf[_0x34bf('0x15')](_0x15cb24);}_0x3bab50(_0x26f3db,_0x479abf);const _0x7cd279=_0x5d95e4[_0x34bf('0x1f')](_0x3df3a0=>null!=_0x3df3a0[_0x34bf('0x51')])['map'](_0x4d1d25=>this[_0x34bf('0x7')][_0x34bf('0x3b')][_0x34bf('0x3d')](_0x4d1d25['model'][_0x34bf('0x52')])),_0x189e2d=_0x26f3db['buttonView'];return _0x189e2d[_0x34bf('0x2f')][_0x34bf('0x3')]('isEnabled'),_0x189e2d['arrowView']['unbind'](_0x34bf('0x55')),_0x189e2d[_0x34bf('0x2f')][_0x34bf('0xf')](_0x34bf('0x55'))['to'](_0x4e7c8c,_0x34bf('0x55')),_0x189e2d[_0x34bf('0x39')][_0x34bf('0xf')](_0x34bf('0x55'))[_0x34bf('0x4f')](_0x7cd279,'isEnabled',(..._0x215972)=>_0x215972[_0x34bf('0x22')](_0x1a049e=>_0x1a049e)),_0x26f3db['on'](_0x34bf('0x11'),_0x4a429c=>{this['editor'][_0x34bf('0x11')](_0x4a429c['source'][_0x34bf('0x52')]),this['editor'][_0x34bf('0x28')][_0x34bf('0x46')][_0x34bf('0x5a')]();}),_0x26f3db;}[_0x34bf('0x49')](_0x388fcf){const _0x23c679=this['editor'],_0x233ef0=_0x23c679[_0x34bf('0x12')],_0x2b9519=_0x23c679['plugins'][_0x34bf('0x3d')](_0x34bf('0x4e')),_0x507fa2=_0x23c679[_0x34bf('0x2a')][_0x34bf('0x3d')](_0x34bf('0x58')),_0x413b98=_0x23c679[_0x34bf('0x2a')]['get']('EditorAnnotations'),_0x5ab403=_0x23c679[_0x34bf('0x2a')][_0x34bf('0x3d')](_0x31dd3b)['me'],_0x1fca25=_0x233ef0['get'](_0x34bf('0x38'))[_0x34bf('0x1c')],{CommentsListView:_0x13323c,CommentThreadInputView:_0x151b30}=_0x23c679['plugins'][_0x34bf('0x3d')](_0x34bf('0x2c'));let _0x11dae7,_0x5e5d91;this[_0x34bf('0x62')][_0x34bf('0x6')](_0x388fcf['id'])?(_0x5e5d91=this[_0x34bf('0x62')][_0x34bf('0x3d')](_0x388fcf['id']),_0x11dae7=_0x5e5d91[_0x34bf('0x4d')]):(_0x11dae7=new _0x1fca25(_0x23c679[_0x34bf('0x66')],_0x388fcf,_0x5ab403,{'disableComments':this['_disableComments'],'editorConfig':_0x233ef0[_0x34bf('0x3d')](_0x34bf('0x2')),'maxCommentsWhenCollapsed':_0x233ef0[_0x34bf('0x3d')](_0x34bf('0x59')),'maxThreadTotalWeight':_0x233ef0[_0x34bf('0x3d')](_0x34bf('0x18')),'maxCommentCharsWhenCollapsed':_0x233ef0[_0x34bf('0x3d')]('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_0x48750a(_0x233ef0[_0x34bf('0x3d')](_0x34bf('0x66'))),'CommentView':_0x233ef0[_0x34bf('0x3d')](_0x34bf('0x21'))[_0x34bf('0xc')],'CommentsListView':_0x13323c,'CommentThreadInputView':_0x151b30}),_0x11dae7[_0x34bf('0x42')]['on'](_0x34bf('0x11'),()=>{_0x23c679['editing'][_0x34bf('0x46')][_0x34bf('0x5a')]();}),_0x11dae7[_0x34bf('0x3a')]['on'](_0x34bf('0x11'),()=>{_0x23c679[_0x34bf('0x28')][_0x34bf('0x46')][_0x34bf('0x5a')]();}),_0x5e5d91=_0x2b9519['createAnnotationView'](this[_0x34bf('0x7')][_0x34bf('0x66')],_0x11dae7),_0x5e5d91['bind'](_0x34bf('0x5'))['to'](_0x11dae7,_0x34bf('0x5')),_0x5e5d91[_0x34bf('0xf')]('length')['to'](_0x11dae7),_0x5e5d91[_0x34bf('0xf')]('type')['to'](_0x11dae7,_0x34bf('0x33'),_0x27a5d4=>_0x34bf('0x40')+_0x27a5d4),this['_annotationViews'][_0x34bf('0x41')](_0x388fcf['id'],_0x5e5d91));const _0x158fb2=_0x507fa2['createCommentThreadController'](_0x388fcf['commentThread'],_0x11dae7),_0x1a4446=new _0x6fd6e2(_0x23c679,_0x388fcf,_0x11dae7,_0x158fb2),_0x24f1f3=_0x388fcf[_0x34bf('0x4')]()[_0x34bf('0x1f')](_0x797993=>_0x797993[_0x34bf('0x5c')]);_0x11dae7[_0x34bf('0x23')]=_0x23c679['plugins']['get']('TrackChangesEditing')[_0x34bf('0x50')][_0x34bf('0x1e')](_0x24f1f3),this[_0x34bf('0x3f')][_0x34bf('0x41')](_0x388fcf,_0x1a4446),this[_0x34bf('0x17')][_0x34bf('0x41')](_0x11dae7,_0x1a4446);const _0x5e481c=_0x2b9519[_0x34bf('0x43')]({'view':_0x5e5d91,'target':()=>{const _0x13b13b=[],_0xf2de65=_0x388fcf[_0x34bf('0x4')]()[_0x34bf('0x1f')](_0x4dff2f=>_0x4dff2f[_0x34bf('0x5c')]);for(const _0x39f36a of _0xf2de65)_0x13b13b[_0x34bf('0xe')](..._0x39f36a['getMarkers']());return _0x23ad5c(_0x23c679[_0x34bf('0x28')],_0x13b13b);},'type':()=>_0x34bf('0x40')+_0x1a4446[_0x34bf('0x46')]['type']});_0x507fa2[_0x34bf('0x1a')](_0x11dae7,_0x5e481c),_0x2b9519[_0x34bf('0x15')](_0x5e481c),_0x413b98[_0x34bf('0x57')](_0x5e481c);}[_0x34bf('0x3e')](_0x345924){const _0x28cfd9=this[_0x34bf('0x7')][_0x34bf('0x2a')][_0x34bf('0x3d')](_0x34bf('0x58')),_0x15b335=this['editor'][_0x34bf('0x2a')][_0x34bf('0x3d')](_0x34bf('0x4e')),_0x1b9fdd=this[_0x34bf('0x3f')][_0x34bf('0x3d')](_0x345924),_0x3e95c6=_0x1b9fdd[_0x34bf('0x46')],_0x3b69dc=_0x15b335[_0x34bf('0x61')](_0x3e95c6);_0x28cfd9['_unbindEditors'](_0x3e95c6),_0x3b69dc&&_0x15b335[_0x34bf('0x20')](_0x3b69dc),this['_suggestionToController']['delete'](_0x345924),this[_0x34bf('0x17')][_0x34bf('0x5b')](_0x3e95c6),_0x1b9fdd[_0x34bf('0x1')]();}[_0x34bf('0x27')](_0x569be8){if(!_0x569be8['isInContent']||!this['_suggestionToController'][_0x34bf('0x6')](_0x569be8))return;const _0x5fd338=this[_0x34bf('0x7')][_0x34bf('0x2a')][_0x34bf('0x3d')]('TrackChangesEditing'),_0x3b895b=this[_0x34bf('0x3f')][_0x34bf('0x3d')](_0x569be8),_0x1f497c=_0x569be8[_0x34bf('0x4')]();_0x3b895b[_0x34bf('0x46')][_0x34bf('0x23')]=_0x5fd338[_0x34bf('0x50')][_0x34bf('0x1e')](_0x1f497c);}[_0x34bf('0x1')](){for(const _0x1a798e of this[_0x34bf('0x3f')][_0x34bf('0x5f')]())this[_0x34bf('0x3e')](_0x1a798e);for(const _0x57260d of this['_annotationViews'][_0x34bf('0x68')]())_0x57260d[_0x34bf('0x4d')][_0x34bf('0x1')]();super['destroy']();}}
23
+ const _0x4175=['_destroyController','focus','head','_descriptionFactory','_handleControllerBuffer','lowest','value','editor','view','commands','_bindAnnotationToEditors','push','separator','map','isMultiRange','actionView','activeAnnotations','getByInnerView','addComment','comments.maxCommentCharsWhenCollapsed','filter','addSourceCollector','_createUIButton','length','isEnabled','keys','Accept\x20all\x20selected\x20suggestions','editing','acceptAllSuggestions','trackChanges','model','Discard\x20all\x20selected\x20suggestions','add','CommentsRepository','requires','_viewToController','delete','_initializeController','suggestionUnloaded','Track\x20changes','TrackChangesEditing','Discard\x20all\x20suggestions','size','set','plugins','pluginName','_refreshActiveMarkers','EditorAnnotations','destroy','previous','_unbindEditors','_handleSuggestionControllerDelayed','switchbutton','descriptionParts','trackChanges.disableComments','change:activeAnnotations','execute','clear','createCommentThreadController','comments.maxThreadTotalWeight','reduce','from','button','getRanges','has','discardSelectedSuggestions','_suggestionToController','createAnnotation','hasSuggestion','listenTo','isDirty','isInContent','suggestion-','comments.editorConfig','get','mainView','CommentsUI','Accept\x20all\x20suggestions','getFirstRange','change:previous','values','activeMarkers','getSuggestion','define','innerView','bind','_disableComments','toMany','commandName','getAllAdjacentSuggestions','source','stopListening','suggestionChanged','getMarkerNames','some','_annotationViews','type','unbind','Annotations','buttonView','TrackChangesUI','config','remove','CommentView','isOn','_updateController','suggestionLoaded','arrowView'];(function(_0x21b80e,_0x417595){const _0x240712=function(_0x5c0c86){while(--_0x5c0c86){_0x21b80e['push'](_0x21b80e['shift']());}};_0x240712(++_0x417595);}(_0x4175,0xf1));const _0x2407=function(_0x21b80e,_0x417595){_0x21b80e=_0x21b80e-0x0;let _0x240712=_0x4175[_0x21b80e];return _0x240712;};import{Plugin as _0x638d56}from'ckeditor5/src/core.js';import{Collection as _0x14c645}from'ckeditor5/src/utils.js';import{ViewModel as _0x42d2df,SplitButtonView as _0x3d0f5a,createDropdown as _0x432fea,addListToDropdown as _0x29acc1}from'ckeditor5/src/ui.js';import{Users as _0x33cac0,getDateTimeFormatter as _0x1dc7ac,getAllMarkersDomElementsSorted as _0x2c0640}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2cb1c3 from'./trackchangesediting.js';import _0x2bfa12 from'./ui/suggestioncontroller.js';import _0x310323 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x590f18}from'./utils/common-translations.js';import _0x127e2c from'../theme/icons/track-changes.svg';export default class d extends _0x638d56{static get[_0x2407('0x9')](){return[_0x2cb1c3,_0x33cac0,_0x2407('0x8'),_0x2407('0x49'),_0x2407('0x16')];}static get[_0x2407('0x14')](){return _0x2407('0x4b');}constructor(_0x175eaa){super(_0x175eaa),this[_0x2407('0x29')]=new Map(),this[_0x2407('0xa')]=new Map(),this[_0x2407('0x46')]=new Map(),this[_0x2407('0x57')]=new Map();const _0x67a4c7=this[_0x2407('0x5a')][_0x2407('0x4c')];_0x67a4c7[_0x2407('0x3a')]('trackChanges.SuggestionThreadView',_0x310323),_0x67a4c7['define'](_0x2407('0x1d'),!0x1),this[_0x2407('0x3d')]=_0x67a4c7[_0x2407('0x31')](_0x2407('0x1d'));}[_0x2407('0x1a')](_0x11e30c,_0x866b99){0x0===this[_0x2407('0x57')][_0x2407('0x11')]&&setTimeout(()=>{for(const [_0x4616e1,_0x41064e]of this['_handleControllerBuffer']){const _0x11f6da=this[_0x2407('0x29')]['has'](_0x4616e1);_0x11f6da||_0x41064e?_0x11f6da&&_0x41064e&&this[_0x2407('0x53')](_0x4616e1):this[_0x2407('0xc')](_0x4616e1);}this['_handleControllerBuffer'][_0x2407('0x20')](),this[_0x2407('0x5a')][_0x2407('0x13')][_0x2407('0x31')](_0x2407('0x16'))['refreshSelectedViews'](),this[_0x2407('0x15')]();},0xa),this[_0x2407('0x57')]['set'](_0x11e30c,_0x866b99);}['init'](){const _0x54fb10=this[_0x2407('0x5a')],_0x53d0ba=_0x54fb10['plugins'][_0x2407('0x31')]('TrackChangesEditing'),_0x2e11bf=_0x54fb10['plugins'][_0x2407('0x31')](_0x2407('0x49')),_0x5abe5f=_0x54fb10[_0x2407('0x13')][_0x2407('0x31')](_0x2407('0x16')),_0x467fd6=_0x54fb10[_0x2407('0x13')][_0x2407('0x31')](_0x2407('0x8'));_0x54fb10['ui']['componentFactory'][_0x2407('0x7')](_0x2407('0x4'),_0xabee48=>this[_0x2407('0x69')](_0xabee48)),_0x5abe5f[_0x2407('0x68')](()=>{const _0x4a1eda=[];for(const [_0x5b2da1,_0x1016ea]of Array[_0x2407('0x24')](this[_0x2407('0x29')])){const _0x441c67=_0x5b2da1['getAllAdjacentSuggestions'](),_0x1a87ee=[];for(const _0x3b1155 of _0x441c67){if(!_0x3b1155[_0x2407('0x2e')])continue;if(_0x3b1155[_0x2407('0x61')]){_0x1a87ee[_0x2407('0x5e')](..._0x3b1155[_0x2407('0x26')]());continue;}const _0x17c749=_0x3b1155[_0x2407('0x35')]();if(_0x1a87ee[_0x2407('0x6a')]>0x0){const _0x11711e=_0x1a87ee[0x0]['getJoined'](_0x17c749);if(_0x11711e){_0x1a87ee[0x0]=_0x11711e;continue;}}_0x1a87ee[_0x2407('0x5e')](_0x17c749);}_0x4a1eda[_0x2407('0x5e')]([_0x1016ea['view'],_0x1a87ee]);}return _0x4a1eda;}),this['listenTo'](_0x53d0ba,_0x2407('0x51'),(_0x100123,_0x401b04)=>{this[_0x2407('0x2c')](_0x401b04,_0x2407('0x36'),(_0x3ea5e9,_0x2d5f6f,_0x458e62,_0x1de24c)=>{_0x401b04['isInContent']&&(null==_0x458e62?(this[_0x2407('0x50')](_0x1de24c[_0x2407('0x55')]),this[_0x2407('0x1a')](_0x401b04,!0x1)):(this[_0x2407('0x50')](_0x458e62['head']),null==_0x1de24c&&this[_0x2407('0x1a')](_0x401b04,!0x0)));}),null!==_0x401b04[_0x2407('0x18')]?this['_updateController'](_0x401b04[_0x2407('0x55')]):this[_0x2407('0x1a')](_0x401b04,!0x1);}),this[_0x2407('0x2c')](_0x53d0ba,_0x2407('0xd'),(_0x1d3be9,_0x428518,_0x1aacb8)=>{this[_0x2407('0x42')](_0x428518,_0x2407('0x36')),this[_0x2407('0x57')][_0x2407('0xb')](_0x428518),this[_0x2407('0x29')][_0x2407('0x27')](_0x428518)&&this['_destroyController'](_0x428518),_0x1aacb8&&this[_0x2407('0x50')](_0x1aacb8[_0x2407('0x55')]);}),this[_0x2407('0x2c')](_0x53d0ba,_0x2407('0x43'),(_0x4a4cb4,_0x1cf5f7)=>{this[_0x2407('0x50')](_0x1cf5f7);}),this['listenTo'](_0x2e11bf,_0x2407('0x1e'),()=>{this[_0x2407('0x15')]();}),this[_0x2407('0x2c')](_0x467fd6,_0x2407('0x65'),(_0x598f9e,{threadId:_0x10c533,isFromAdapter:_0x17d695})=>{if(_0x17d695||!_0x53d0ba[_0x2407('0x2b')](_0x10c533))return;const _0x482bda=_0x53d0ba[_0x2407('0x39')](_0x10c533);this[_0x2407('0x29')]['get'](_0x482bda)[_0x2407('0x5b')][_0x2407('0x54')]();},{'priority':_0x2407('0x58')});}[_0x2407('0x15')](){const _0x318b0b=this[_0x2407('0x5a')]['plugins']['get']('Annotations'),_0x1e8387=this[_0x2407('0x5a')][_0x2407('0x13')][_0x2407('0x31')](_0x2407('0xf')),_0x5547ab=Array[_0x2407('0x24')](_0x318b0b[_0x2407('0x63')],_0x1f734b=>_0x1f734b[_0x2407('0x3b')])['filter'](_0x2baa79=>this[_0x2407('0xa')][_0x2407('0x27')](_0x2baa79)),_0xb61cb8=[];for(const _0x225c2c of _0x5547ab){const _0x112e4=this[_0x2407('0xa')][_0x2407('0x31')](_0x225c2c)[_0x2407('0x5')][_0x2407('0x40')]();_0xb61cb8['push'](..._0x112e4[_0x2407('0x23')]((_0x3e9bc6,_0x351df9)=>[..._0x3e9bc6,..._0x351df9[_0x2407('0x44')]()],[]));}_0x1e8387[_0x2407('0x38')]=_0xb61cb8;}['_createUIButton'](_0x5f089a){const _0x1b6710=_0x432fea(_0x5f089a,_0x3d0f5a),_0x4c495f=this[_0x2407('0x5a')][_0x2407('0x5c')][_0x2407('0x31')](_0x2407('0x4')),_0x288943=_0x590f18(_0x5f089a,_0x2407('0xe'));_0x1b6710[_0x2407('0x4a')]['set']({'tooltip':_0x288943,'label':_0x288943,'icon':_0x127e2c}),_0x1b6710['buttonView'][_0x2407('0x3c')](_0x2407('0x4f'))['to'](_0x4c495f,_0x2407('0x59')),_0x1b6710[_0x2407('0x4a')]['on']('execute',()=>{_0x4c495f[_0x2407('0x1f')](),this[_0x2407('0x5a')]['editing'][_0x2407('0x5b')][_0x2407('0x54')]();});const _0x3e330f=new _0x14c645(),_0x2246a7=[{'type':_0x2407('0x1b'),'model':{'withText':!0x0,'label':_0x288943,'commandName':_0x2407('0x4')}},{'type':_0x2407('0x5f')},{'type':_0x2407('0x25'),'model':{'withText':!0x0,'label':_0x590f18(_0x5f089a,_0x2407('0x34')),'commandName':_0x2407('0x3')}},{'type':_0x2407('0x25'),'model':{'withText':!0x0,'label':_0x590f18(_0x5f089a,_0x2407('0x1')),'commandName':'acceptSelectedSuggestions'}},{'type':'button','model':{'withText':!0x0,'label':_0x590f18(_0x5f089a,_0x2407('0x10')),'commandName':'discardAllSuggestions'}},{'type':_0x2407('0x25'),'model':{'withText':!0x0,'label':_0x590f18(_0x5f089a,_0x2407('0x6')),'commandName':_0x2407('0x28')}}];for(const _0x5ce40d of _0x2246a7){let _0x44b619={'type':_0x2407('0x5f')};if(_0x5ce40d[_0x2407('0x5')]){const _0x26748f=new _0x42d2df(_0x5ce40d[_0x2407('0x5')]),_0xd8b74a=this[_0x2407('0x5a')][_0x2407('0x5c')][_0x2407('0x31')](_0x26748f['commandName']);_0x26748f[_0x2407('0x3c')]('isOn','isEnabled')['to'](_0xd8b74a,_0x2407('0x59'),_0x2407('0x6b')),_0x44b619={'type':_0x5ce40d[_0x2407('0x47')],'model':_0x26748f};}_0x3e330f['add'](_0x44b619);}_0x29acc1(_0x1b6710,_0x3e330f);const _0x5728b5=_0x2246a7[_0x2407('0x67')](_0x5de80c=>null!=_0x5de80c[_0x2407('0x5')])[_0x2407('0x60')](_0x37c578=>this['editor']['commands'][_0x2407('0x31')](_0x37c578['model'][_0x2407('0x3f')])),_0x167244=_0x1b6710['buttonView'];return _0x167244[_0x2407('0x62')][_0x2407('0x48')](_0x2407('0x6b')),_0x167244['arrowView'][_0x2407('0x48')](_0x2407('0x6b')),_0x167244['actionView'][_0x2407('0x3c')](_0x2407('0x6b'))['to'](_0x4c495f,_0x2407('0x6b')),_0x167244[_0x2407('0x52')]['bind'](_0x2407('0x6b'))[_0x2407('0x3e')](_0x5728b5,_0x2407('0x6b'),(..._0x108783)=>_0x108783[_0x2407('0x45')](_0x2ddf17=>_0x2ddf17)),_0x1b6710['on'](_0x2407('0x1f'),_0x4635af=>{this['editor'][_0x2407('0x1f')](_0x4635af[_0x2407('0x41')]['commandName']),this[_0x2407('0x5a')]['editing']['view'][_0x2407('0x54')]();}),_0x1b6710;}['_initializeController'](_0x3853cf){const _0x3926fa=this[_0x2407('0x5a')],_0x140e38=_0x3926fa[_0x2407('0x4c')],_0x20d6c4=_0x3926fa[_0x2407('0x13')][_0x2407('0x31')](_0x2407('0x49')),_0x1e9dc5=_0x3926fa[_0x2407('0x13')][_0x2407('0x31')](_0x2407('0x8')),_0x5e0a90=_0x3926fa[_0x2407('0x13')]['get'](_0x2407('0x16')),_0x1b04f5=_0x3926fa['plugins'][_0x2407('0x31')](_0x33cac0)['me'],_0x1d5215=_0x140e38[_0x2407('0x31')](_0x2407('0x4'))['SuggestionThreadView'],{CommentsListView:_0x4adf50,CommentThreadInputView:_0x147af9}=_0x3926fa[_0x2407('0x13')][_0x2407('0x31')](_0x2407('0x33'));let _0x2560cc,_0x1ea3cf;this[_0x2407('0x46')][_0x2407('0x27')](_0x3853cf['id'])?(_0x1ea3cf=this['_annotationViews'][_0x2407('0x31')](_0x3853cf['id']),_0x2560cc=_0x1ea3cf[_0x2407('0x32')]):(_0x2560cc=new _0x1d5215(_0x3926fa['locale'],_0x3853cf,_0x1b04f5,{'disableComments':this[_0x2407('0x3d')],'editorConfig':_0x140e38['get'](_0x2407('0x30')),'maxCommentsWhenCollapsed':_0x140e38['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x140e38[_0x2407('0x31')](_0x2407('0x22')),'maxCommentCharsWhenCollapsed':_0x140e38['get'](_0x2407('0x66')),'formatDateTime':_0x1dc7ac(_0x140e38[_0x2407('0x31')]('locale')),'CommentView':_0x140e38[_0x2407('0x31')]('comments')[_0x2407('0x4e')],'CommentsListView':_0x4adf50,'CommentThreadInputView':_0x147af9}),_0x2560cc['acceptButton']['on']('execute',()=>{_0x3926fa[_0x2407('0x2')]['view'][_0x2407('0x54')]();}),_0x2560cc['discardButton']['on'](_0x2407('0x1f'),()=>{_0x3926fa[_0x2407('0x2')][_0x2407('0x5b')][_0x2407('0x54')]();}),_0x1ea3cf=_0x20d6c4['createAnnotationView'](this[_0x2407('0x5a')]['locale'],_0x2560cc),_0x1ea3cf[_0x2407('0x3c')](_0x2407('0x2d'))['to'](_0x2560cc,'isDirty'),_0x1ea3cf[_0x2407('0x3c')](_0x2407('0x6a'))['to'](_0x2560cc),_0x1ea3cf[_0x2407('0x3c')](_0x2407('0x47'))['to'](_0x2560cc,_0x2407('0x47'),_0x35428c=>_0x2407('0x2f')+_0x35428c),this[_0x2407('0x46')][_0x2407('0x12')](_0x3853cf['id'],_0x1ea3cf));const _0xc58192=_0x1e9dc5[_0x2407('0x21')](_0x3853cf['commentThread'],_0x2560cc),_0x1a31d2=new _0x2bfa12(_0x3926fa,_0x3853cf,_0x2560cc,_0xc58192),_0x43ff51=_0x3853cf[_0x2407('0x40')]()[_0x2407('0x67')](_0x4999ad=>_0x4999ad[_0x2407('0x2e')]);_0x2560cc[_0x2407('0x1c')]=_0x3926fa['plugins'][_0x2407('0x31')]('TrackChangesEditing')['_descriptionFactory']['getDescriptions'](_0x43ff51),this[_0x2407('0x29')]['set'](_0x3853cf,_0x1a31d2),this[_0x2407('0xa')][_0x2407('0x12')](_0x2560cc,_0x1a31d2);const _0x3d402b=_0x20d6c4[_0x2407('0x2a')]({'view':_0x1ea3cf,'target':()=>{const _0x27ebc5=[],_0xb3cfe5=_0x3853cf[_0x2407('0x40')]()[_0x2407('0x67')](_0x571f01=>_0x571f01[_0x2407('0x2e')]);for(const _0x36315d of _0xb3cfe5)_0x27ebc5[_0x2407('0x5e')](..._0x36315d['getMarkers']());return _0x2c0640(_0x3926fa[_0x2407('0x2')],_0x27ebc5);},'type':()=>'suggestion-'+_0x1a31d2[_0x2407('0x5b')][_0x2407('0x47')]});_0x1e9dc5[_0x2407('0x5d')](_0x2560cc,_0x3d402b),_0x20d6c4[_0x2407('0x7')](_0x3d402b),_0x5e0a90['registerAnnotation'](_0x3d402b);}['_destroyController'](_0x45db6b){const _0xb795b2=this[_0x2407('0x5a')][_0x2407('0x13')]['get']('CommentsRepository'),_0xc35b49=this[_0x2407('0x5a')][_0x2407('0x13')][_0x2407('0x31')](_0x2407('0x49')),_0x3bb310=this[_0x2407('0x29')][_0x2407('0x31')](_0x45db6b),_0x3a58d8=_0x3bb310[_0x2407('0x5b')],_0x5d23bc=_0xc35b49[_0x2407('0x64')](_0x3a58d8);_0xb795b2[_0x2407('0x19')](_0x3a58d8),_0x5d23bc&&_0xc35b49[_0x2407('0x4d')](_0x5d23bc),this['_suggestionToController'][_0x2407('0xb')](_0x45db6b),this[_0x2407('0xa')][_0x2407('0xb')](_0x3a58d8),_0x3bb310['destroy']();}[_0x2407('0x50')](_0x2e9864){if(!_0x2e9864['isInContent']||!this[_0x2407('0x29')][_0x2407('0x27')](_0x2e9864))return;const _0x58da44=this['editor'][_0x2407('0x13')][_0x2407('0x31')]('TrackChangesEditing'),_0x67ec88=this['_suggestionToController'][_0x2407('0x31')](_0x2e9864),_0xfb8f9f=_0x2e9864[_0x2407('0x40')]();_0x67ec88[_0x2407('0x5b')][_0x2407('0x1c')]=_0x58da44[_0x2407('0x56')]['getDescriptions'](_0xfb8f9f);}[_0x2407('0x17')](){for(const _0x2f821a of this['_suggestionToController'][_0x2407('0x0')]())this['_destroyController'](_0x2f821a);for(const _0x28b11e of this[_0x2407('0x46')][_0x2407('0x37')]())_0x28b11e['mainView']['destroy']();super[_0x2407('0x17')]();}}
@@ -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
- import type { Editor } from 'ckeditor5/src/core';
6
- import type Suggestion from '../suggestion';
7
- import type BaseSuggestionThreadView from './view/basesuggestionthreadview';
5
+ import type { Editor } from 'ckeditor5/src/core.js';
6
+ import type Suggestion from '../suggestion.js';
7
+ import type BaseSuggestionThreadView from './view/basesuggestionthreadview.js';
8
8
  import type { CommentThreadController } from '@ckeditor/ckeditor5-comments';
9
9
  declare const SuggestionController_base: {
10
- new (): import("ckeditor5/src/utils").Observable;
11
- prototype: import("ckeditor5/src/utils").Observable;
10
+ new (): import("ckeditor5/src/utils.js").Observable;
11
+ prototype: import("ckeditor5/src/utils.js").Observable;
12
12
  };
13
13
  /**
14
14
  * A controller for a suggestion.
@@ -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 _0x3cdc=['_removePendingAction','_pendingAction','acceptSuggestion','canDiscard','canEditAt','_discardCommand','isEnabled','commentThreadController','add','view','getRanges','PENDING_ACTION_SUGGESTION','remove','canAccept','listenTo','model','PendingActions','isDirty','get','discardSuggestion','_acceptCommand','_editor','change:isDirty','locale','plugins','execute','unbind','_setPendingAction','destroy','stopListening','bind'];(function(_0x3d3c0c,_0x3cdc74){const _0x1b1a43=function(_0x34d89d){while(--_0x34d89d){_0x3d3c0c['push'](_0x3d3c0c['shift']());}};_0x1b1a43(++_0x3cdc74);}(_0x3cdc,0x165));const _0x1b1a=function(_0x3d3c0c,_0x3cdc74){_0x3d3c0c=_0x3d3c0c-0x0;let _0x1b1a43=_0x3cdc[_0x3d3c0c];return _0x1b1a43;};import{ObservableMixin as _0x5817e6}from'ckeditor5/src/utils';import{getTranslation as _0x5af9bc}from'../utils/common-translations';export default class Qt extends _0x5817e6(){constructor(_0x2f2e73,_0x62132a,_0x55f8e8,_0x4d6f91){super(),this[_0x1b1a('0x1e')]=_0x62132a,this[_0x1b1a('0x18')]=_0x55f8e8,this[_0x1b1a('0x16')]=_0x4d6f91,this[_0x1b1a('0x5')]=_0x2f2e73,this[_0x1b1a('0x4')]=_0x2f2e73['commands'][_0x1b1a('0x2')]('acceptSuggestion'),this[_0x1b1a('0x14')]=_0x2f2e73['commands'][_0x1b1a('0x2')](_0x1b1a('0x3')),this['view']['bind'](_0x1b1a('0x15'))['to'](this[_0x1b1a('0x4')],this[_0x1b1a('0x14')],(_0x595758,_0x4ab9a6)=>_0x595758||_0x4ab9a6),this[_0x1b1a('0x18')]['bind']('canAccept')['to'](this[_0x1b1a('0x4')],'isEnabled',_0x3fb4f2=>_0x3fb4f2&&this[_0x1b1a('0x5')][_0x1b1a('0x1e')][_0x1b1a('0x13')](_0x62132a[_0x1b1a('0x19')]())),this[_0x1b1a('0x18')][_0x1b1a('0xe')](_0x1b1a('0x12'))['to'](this[_0x1b1a('0x14')],'isEnabled',_0x47b17d=>_0x47b17d&&this[_0x1b1a('0x5')][_0x1b1a('0x1e')][_0x1b1a('0x13')](_0x62132a[_0x1b1a('0x19')]())),this[_0x1b1a('0x10')]=null,_0x55f8e8[_0x1b1a('0x1')]&&this[_0x1b1a('0xb')](),this[_0x1b1a('0x1d')](_0x55f8e8,_0x1b1a('0x11'),()=>this[_0x1b1a('0x11')]()),this[_0x1b1a('0x1d')](_0x55f8e8,_0x1b1a('0x3'),()=>this[_0x1b1a('0x3')]()),this[_0x1b1a('0x1d')](_0x55f8e8,_0x1b1a('0x6'),()=>{_0x55f8e8[_0x1b1a('0x1')]?this[_0x1b1a('0xb')]():this['_removePendingAction']();});}[_0x1b1a('0x11')](){this[_0x1b1a('0x4')][_0x1b1a('0x9')](this[_0x1b1a('0x1e')]['id']);}[_0x1b1a('0x3')](){this['_discardCommand'][_0x1b1a('0x9')](this['model']['id']);}[_0x1b1a('0xc')](){this[_0x1b1a('0x18')]['unbind']('isEnabled'),this[_0x1b1a('0x18')]['unbind'](_0x1b1a('0x1c')),this[_0x1b1a('0x18')][_0x1b1a('0xa')](_0x1b1a('0x12')),this[_0x1b1a('0xd')](),this['commentThreadController'][_0x1b1a('0xc')](),this['_pendingAction']&&this['_removePendingAction']();}['_setPendingAction'](){const _0x32af96=_0x5af9bc(this[_0x1b1a('0x5')][_0x1b1a('0x7')],_0x1b1a('0x1a'));this[_0x1b1a('0x10')]=this[_0x1b1a('0x5')][_0x1b1a('0x8')][_0x1b1a('0x2')](_0x1b1a('0x0'))[_0x1b1a('0x17')](_0x32af96);}[_0x1b1a('0xf')](){null!==this[_0x1b1a('0x10')]&&this[_0x1b1a('0x5')][_0x1b1a('0x8')][_0x1b1a('0x2')](_0x1b1a('0x0'))[_0x1b1a('0x1b')](this[_0x1b1a('0x10')]),this[_0x1b1a('0x10')]=null;}}
23
+ const _0x3648=['remove','_editor','locale','isEnabled','discardSuggestion','stopListening','_acceptCommand','get','commands','canAccept','_pendingAction','bind','destroy','isDirty','model','getRanges','_removePendingAction','canEditAt','_setPendingAction','plugins','listenTo','commentThreadController','change:isDirty','acceptSuggestion','_discardCommand','PendingActions','PENDING_ACTION_SUGGESTION','unbind','add','execute','view'];(function(_0xe85334,_0x364821){const _0x2864f0=function(_0x24e87c){while(--_0x24e87c){_0xe85334['push'](_0xe85334['shift']());}};_0x2864f0(++_0x364821);}(_0x3648,0xa1));const _0x2864=function(_0xe85334,_0x364821){_0xe85334=_0xe85334-0x0;let _0x2864f0=_0x3648[_0xe85334];return _0x2864f0;};import{ObservableMixin as _0x1093c2}from'ckeditor5/src/utils.js';import{getTranslation as _0x3f373b}from'../utils/common-translations.js';export default class Xt extends _0x1093c2(){constructor(_0x29a0f3,_0xcb7817,_0x349133,_0x144d7b){super(),this[_0x2864('0x8')]=_0xcb7817,this['view']=_0x349133,this['commentThreadController']=_0x144d7b,this[_0x2864('0x1a')]=_0x29a0f3,this['_acceptCommand']=_0x29a0f3[_0x2864('0x2')]['get']('acceptSuggestion'),this[_0x2864('0x12')]=_0x29a0f3[_0x2864('0x2')]['get'](_0x2864('0x1d')),this[_0x2864('0x18')][_0x2864('0x5')]('isEnabled')['to'](this[_0x2864('0x0')],this[_0x2864('0x12')],(_0xa2fb8a,_0x291908)=>_0xa2fb8a||_0x291908),this['view'][_0x2864('0x5')](_0x2864('0x3'))['to'](this['_acceptCommand'],_0x2864('0x1c'),_0x34d3f2=>_0x34d3f2&&this['_editor'][_0x2864('0x8')][_0x2864('0xb')](_0xcb7817[_0x2864('0x9')]())),this[_0x2864('0x18')]['bind']('canDiscard')['to'](this[_0x2864('0x12')],_0x2864('0x1c'),_0x2cd433=>_0x2cd433&&this[_0x2864('0x1a')]['model'][_0x2864('0xb')](_0xcb7817[_0x2864('0x9')]())),this[_0x2864('0x4')]=null,_0x349133[_0x2864('0x7')]&&this[_0x2864('0xc')](),this[_0x2864('0xe')](_0x349133,_0x2864('0x11'),()=>this[_0x2864('0x11')]()),this[_0x2864('0xe')](_0x349133,_0x2864('0x1d'),()=>this[_0x2864('0x1d')]()),this[_0x2864('0xe')](_0x349133,_0x2864('0x10'),()=>{_0x349133['isDirty']?this['_setPendingAction']():this['_removePendingAction']();});}[_0x2864('0x11')](){this[_0x2864('0x0')][_0x2864('0x17')](this[_0x2864('0x8')]['id']);}[_0x2864('0x1d')](){this[_0x2864('0x12')][_0x2864('0x17')](this[_0x2864('0x8')]['id']);}[_0x2864('0x6')](){this['view']['unbind'](_0x2864('0x1c')),this['view'][_0x2864('0x15')](_0x2864('0x3')),this[_0x2864('0x18')][_0x2864('0x15')]('canDiscard'),this[_0x2864('0x1e')](),this[_0x2864('0xf')][_0x2864('0x6')](),this[_0x2864('0x4')]&&this['_removePendingAction']();}[_0x2864('0xc')](){const _0x3ca23d=_0x3f373b(this[_0x2864('0x1a')][_0x2864('0x1b')],_0x2864('0x14'));this[_0x2864('0x4')]=this['_editor'][_0x2864('0xd')][_0x2864('0x1')](_0x2864('0x13'))[_0x2864('0x16')](_0x3ca23d);}[_0x2864('0xa')](){null!==this[_0x2864('0x4')]&&this[_0x2864('0x1a')]['plugins'][_0x2864('0x1')](_0x2864('0x13'))[_0x2864('0x19')](this[_0x2864('0x4')]),this[_0x2864('0x4')]=null;}}
@@ -1,18 +1,18 @@
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 track-changes/ui/view/basesuggestionthreadview
7
7
  * @publicApi
8
8
  */
9
- import { View } from 'ckeditor5/src/ui';
10
- import type { Locale } from 'ckeditor5/src/utils';
11
- import type { EditorConfig } from 'ckeditor5/src/core';
12
- import type Suggestion from '../../suggestion';
9
+ import { View } from 'ckeditor5/src/ui.js';
10
+ import type { Locale } from 'ckeditor5/src/utils.js';
11
+ import type { EditorConfig } from 'ckeditor5/src/core.js';
12
+ import type Suggestion from '../../suggestion.js';
13
13
  import type { CommentsListView, CommentThreadInputView, CommentView } from '@ckeditor/ckeditor5-comments';
14
- import type { User } from 'ckeditor5-collaboration/src/collaboration-core';
15
- import type { Description } from '../../suggestiondescriptionfactory';
14
+ import type { User } from 'ckeditor5-collaboration/src/collaboration-core.js';
15
+ import type { Description } from '../../suggestiondescriptionfactory.js';
16
16
  /**
17
17
  * An abstract suggestion thread view class that should be used as a base for suggestion thread view implementations.
18
18
  * It provides some behaviors, flags and building blocks to use when creating a custom suggestion 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 _0x41f8=['_createCommentViews','showInput','locale','cancel','addComment','CommentView','_localUser','isEnabled','hasDirtyComment','focus','_config','canDiscard','removeComment','set','commentInputView','length','commentThread','delegate','fire','isReadOnly','editor','_model','authoredAt','destroy','_createCommentThreadInputView','commentsListView','commentThreadInputView','disabledSubmit','updateComment','value','isActive','isDirty','bind','descriptionParts'];(function(_0x10e553,_0x41f80a){const _0x38577c=function(_0x3a85f0){while(--_0x3a85f0){_0x10e553['push'](_0x10e553['shift']());}};_0x38577c(++_0x41f80a);}(_0x41f8,0xab));const _0x3857=function(_0x10e553,_0x41f80a){_0x10e553=_0x10e553-0x0;let _0x38577c=_0x41f8[_0x10e553];return _0x38577c;};import{View as _0x6b3e06}from'ckeditor5/src/ui';export default class si extends _0x6b3e06{constructor(_0x59b49a,_0x3cf086,_0x2331c5,_0x38f05d){super(_0x59b49a),this['commentsListView']=null,this[_0x3857('0x19')]=null,this['set'](_0x3857('0x1d'),!0x1),this[_0x3857('0xc')](_0x3857('0x15'),_0x3cf086[_0x3857('0x15')]),this[_0x3857('0x1f')](_0x3857('0x15'))['to'](_0x3cf086),this[_0x3857('0xc')](_0x3857('0x20'),[]),this[_0x3857('0xc')](_0x3857('0x1e'),!0x1),this['set'](_0x3857('0x6'),!0x1),this['set']('canAccept',!0x1),this[_0x3857('0xc')](_0x3857('0xa'),!0x1),this[_0x3857('0x14')]=_0x3cf086,this[_0x3857('0x5')]=_0x2331c5,this[_0x3857('0x9')]=_0x38f05d,_0x38f05d['disableComments']?this[_0x3857('0xc')](_0x3857('0xe'),0x1):this['_createCommentViews']();}[_0x3857('0x8')](){this['element'][_0x3857('0x8')]();}['destroy'](){this[_0x3857('0x18')]&&this['commentsListView'][_0x3857('0x16')](),this[_0x3857('0x19')]&&this[_0x3857('0x19')][_0x3857('0x16')](),super[_0x3857('0x16')]();}[_0x3857('0x21')](){const {CommentsListView:_0x4c5df3}=this['_config'];this[_0x3857('0x18')]=new _0x4c5df3(this[_0x3857('0x1')],this[_0x3857('0x14')][_0x3857('0xf')],Object['assign']({'CommentView':this[_0x3857('0x9')][_0x3857('0x4')]},this[_0x3857('0x9')])),this[_0x3857('0x18')]['delegate'](_0x3857('0xb'))['to'](this),this['commentsListView'][_0x3857('0x10')](_0x3857('0x1b'))['to'](this),this['commentsListView'][_0x3857('0x1f')](_0x3857('0x1d'))['to'](this),this[_0x3857('0xc')](_0x3857('0xe'),this[_0x3857('0x18')][_0x3857('0xe')]+0x1),this[_0x3857('0x1f')](_0x3857('0xe'))['to'](this['commentsListView'],'length',_0x5b09d3=>_0x5b09d3+0x1),this[_0x3857('0x19')]=this['_createCommentThreadInputView'](),this['on'](_0x3857('0xb'),()=>this[_0x3857('0x8')]()),this[_0x3857('0x1f')](_0x3857('0x1e'))['to'](this[_0x3857('0x18')],_0x3857('0x7'),this[_0x3857('0x19')][_0x3857('0xd')],'value',(_0x4af6a6,_0x54e6e9)=>_0x4af6a6||!!_0x54e6e9);}[_0x3857('0x17')](){const {CommentThreadInputView:_0x3c2def}=this['_config'],_0x5c5b4b=new _0x3c2def(this[_0x3857('0x1')],this[_0x3857('0x5')],this[_0x3857('0x9')]['editorConfig']),_0x3de0cf=_0x5c5b4b[_0x3857('0xd')];return _0x5c5b4b[_0x3857('0x1f')](_0x3857('0x0'))['to'](this,_0x3857('0x1d'),this[_0x3857('0x14')][_0x3857('0xf')],_0x3857('0x12'),_0x3de0cf,_0x3857('0x1c'),(_0x53243d,_0x482d31,_0x5894e1)=>!!_0x5894e1||_0x53243d&&!_0x482d31),_0x3de0cf['on']('submit',(_0x11aa58,_0x5e8694)=>{this[_0x3857('0x11')](_0x3857('0x3'),_0x5e8694),_0x3de0cf[_0x3857('0x13')]['setData']('');}),_0x3de0cf['on'](_0x3857('0x2'),()=>this['focus']()),_0x3de0cf[_0x3857('0x1f')](_0x3857('0x1a'))['to'](this[_0x3857('0x14')][_0x3857('0xf')],_0x3857('0x12')),_0x5c5b4b;}}
23
+ const _0x5211=['showInput','_model','_localUser','descriptionParts','fire','editorConfig','isReadOnly','length','cancel','locale','focus','setData','commentThread','element','assign','CommentView','isActive','commentInputView','delegate','editor','canDiscard','isEnabled','isDirty','removeComment','destroy','_createCommentViews','bind','commentThreadInputView','commentsListView','hasDirtyComment','canAccept','updateComment','authoredAt','_createCommentThreadInputView','submit','_config','set'];(function(_0x145abf,_0x521107){const _0x56895e=function(_0x1b0abe){while(--_0x1b0abe){_0x145abf['push'](_0x145abf['shift']());}};_0x56895e(++_0x521107);}(_0x5211,0xb9));const _0x5689=function(_0x145abf,_0x521107){_0x145abf=_0x145abf-0x0;let _0x56895e=_0x5211[_0x145abf];return _0x56895e;};import{View as _0x4212a1}from'ckeditor5/src/ui.js';export default class es extends _0x4212a1{constructor(_0x1f4b34,_0x5cf156,_0x2c5b45,_0x4533bd){super(_0x1f4b34),this['commentsListView']=null,this[_0x5689('0x1b')]=null,this[_0x5689('0x24')]('isActive',!0x1),this[_0x5689('0x24')](_0x5689('0x20'),_0x5cf156[_0x5689('0x20')]),this['bind'](_0x5689('0x20'))['to'](_0x5cf156),this['set'](_0x5689('0x3'),[]),this[_0x5689('0x24')](_0x5689('0x16'),!0x1),this[_0x5689('0x24')](_0x5689('0x15'),!0x1),this['set'](_0x5689('0x1e'),!0x1),this[_0x5689('0x24')](_0x5689('0x14'),!0x1),this[_0x5689('0x1')]=_0x5cf156,this['_localUser']=_0x2c5b45,this['_config']=_0x4533bd,_0x4533bd['disableComments']?this[_0x5689('0x24')](_0x5689('0x7'),0x1):this[_0x5689('0x19')]();}[_0x5689('0xa')](){this[_0x5689('0xd')]['focus']();}[_0x5689('0x18')](){this[_0x5689('0x1c')]&&this[_0x5689('0x1c')][_0x5689('0x18')](),this[_0x5689('0x1b')]&&this[_0x5689('0x1b')][_0x5689('0x18')](),super['destroy']();}[_0x5689('0x19')](){const {CommentsListView:_0xbc32c1}=this[_0x5689('0x23')];this[_0x5689('0x1c')]=new _0xbc32c1(this[_0x5689('0x9')],this[_0x5689('0x1')][_0x5689('0xc')],Object[_0x5689('0xe')]({'CommentView':this['_config'][_0x5689('0xf')]},this['_config'])),this['commentsListView'][_0x5689('0x12')](_0x5689('0x17'))['to'](this),this[_0x5689('0x1c')][_0x5689('0x12')](_0x5689('0x1f'))['to'](this),this['commentsListView']['bind'](_0x5689('0x10'))['to'](this),this['set'](_0x5689('0x7'),this[_0x5689('0x1c')][_0x5689('0x7')]+0x1),this[_0x5689('0x1a')](_0x5689('0x7'))['to'](this['commentsListView'],_0x5689('0x7'),_0x2fbd1e=>_0x2fbd1e+0x1),this[_0x5689('0x1b')]=this[_0x5689('0x21')](),this['on']('removeComment',()=>this[_0x5689('0xa')]()),this['bind'](_0x5689('0x16'))['to'](this[_0x5689('0x1c')],_0x5689('0x1d'),this[_0x5689('0x1b')][_0x5689('0x11')],'value',(_0x1b507f,_0x59f58c)=>_0x1b507f||!!_0x59f58c);}[_0x5689('0x21')](){const {CommentThreadInputView:_0x391d2b}=this['_config'],_0x4027ca=new _0x391d2b(this['locale'],this[_0x5689('0x2')],this[_0x5689('0x23')][_0x5689('0x5')]),_0x1da11c=_0x4027ca['commentInputView'];return _0x4027ca[_0x5689('0x1a')](_0x5689('0x0'))['to'](this,'isActive',this[_0x5689('0x1')][_0x5689('0xc')],_0x5689('0x6'),_0x1da11c,'value',(_0x30a247,_0x1c871a,_0x1ff908)=>!!_0x1ff908||_0x30a247&&!_0x1c871a),_0x1da11c['on'](_0x5689('0x22'),(_0x54f448,_0xffc94)=>{this[_0x5689('0x4')]('addComment',_0xffc94),_0x1da11c[_0x5689('0x13')][_0x5689('0xb')]('');}),_0x1da11c['on'](_0x5689('0x8'),()=>this['focus']()),_0x1da11c[_0x5689('0x1a')]('disabledSubmit')['to'](this[_0x5689('0x1')]['commentThread'],_0x5689('0x6')),_0x4027ca;}}
@@ -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 { default as BaseSuggestionThreadView, type SuggestionThreadConfig } from './basesuggestionthreadview';
6
- import { ButtonView, type TemplateDefinition } from 'ckeditor5/src/ui';
7
- import { UserView, type User } from 'ckeditor5-collaboration/src/collaboration-core';
8
- import type { Locale } from 'ckeditor5/src/utils';
9
- import type Suggestion from '../../suggestion';
5
+ import { default as BaseSuggestionThreadView, type SuggestionThreadConfig } from './basesuggestionthreadview.js';
6
+ import { ButtonView, type TemplateDefinition } from 'ckeditor5/src/ui.js';
7
+ import { UserView, type User } from 'ckeditor5-collaboration/src/collaboration-core.js';
8
+ import type { Locale } from 'ckeditor5/src/utils.js';
9
+ import type Suggestion from '../../suggestion.js';
10
10
  /**
11
11
  * The default view for a suggestion thread.
12
12
  *
@@ -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 _0x3829=['value','ck-suggestion__actions','canDiscard','ck-suggestion__info-name','isEnabled','bind','ck-suggestion__user','discardSuggestion','ck-suggestion__main','EXTERNAL_AVATAR','innerText','isActive','content','discardButton','ck-annotation__actions','fire','importWord','acceptButton','ck-comment__external','_createButton','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','disableComments','ck-suggestion--disabled-comments','editorReady','set','span','<span\x20class=\x22ck-suggestion-type\x22>','delegate','ck-suggestion__info','_descriptionElement','userView','innerHTML','setTemplate','formatDateTime','locale','push','ck-annotation__main','source','commentThreadInputView','EXTERNAL_IMPORT_WORD_SUGGESTION','getExternalSuggestionNote','bindTemplate','ck-annotation__info-name','getTemplate','ck-suggestion','ck-comment__info-time','_config','commentsListView','ck-suggestion--accept','author','attributes','creator','name','color','ck-annotation__info','join','render','time','element','ck-suggestion-wrapper','commentThread','ck-suggestion-wrapper--active','Discard\x20suggestion','getUserViewNotificationText','isExternal','ck-annotation__content-wrapper','authoredAt','check','Accept\x20suggestion','</span>','_model','@external','acceptSuggestion','\x22></span>','EXTERNAL_IMPORT_WORD_AVATAR','type','ck-annotation','div','editorDestroyed','split','ck-annotation__info-time','extendTemplate','description','descriptionParts','<p>'];(function(_0x5a09f1,_0x382987){const _0xa8b6ef=function(_0x196ad8){while(--_0x196ad8){_0x5a09f1['push'](_0x5a09f1['shift']());}};_0xa8b6ef(++_0x382987);}(_0x3829,0x1de));const _0xa8b6=function(_0x5a09f1,_0x382987){_0x5a09f1=_0x5a09f1-0x0;let _0xa8b6ef=_0x3829[_0x5a09f1];return _0xa8b6ef;};import{getTranslation as _0x3d49b8}from'../../utils/common-translations';import{default as _0x5c230f}from'./basesuggestionthreadview';import{ButtonView as _0xb48877}from'ckeditor5/src/ui';import{icons as _0x1d4fe4}from'ckeditor5/src/core';import{trimHtml as _0x772657,UserView as _0xf421c6}from'ckeditor5-collaboration/src/collaboration-core';export default class Xt extends _0x5c230f{constructor(_0x5166e5,_0x553ecf,_0x5dbeb9,_0xce98f8){super(_0x5166e5,_0x553ecf,_0x5dbeb9,_0xce98f8),this[_0xa8b6('0x38')](_0xa8b6('0x16'),''),this[_0xa8b6('0x25')]('type')['to'](this,_0xa8b6('0x1e'),_0x3a0e31=>_0x3a0e31&&_0x3a0e31[0x0]?_0x3a0e31[0x0][_0xa8b6('0x16')]:''),this[_0xa8b6('0x25')](_0xa8b6('0x1d'))['to'](this,'descriptionParts',this,_0xa8b6('0x2b'),(_0x5b6157,_0x533f1d)=>{let _0x36c982='';for(const _0x86e119 of _0x5b6157)_0x36c982+=_0xa8b6('0x1f')+ci(_0x86e119[_0xa8b6('0x2c')],_0x86e119[_0xa8b6('0x0')])+'</p>';return _0x533f1d?_0x36c982:_0x772657(_0x36c982,{'limit':0x8c});}),this[_0xa8b6('0x3d')]=null,this[_0xa8b6('0x31')]=this[_0xa8b6('0x33')](_0x3d49b8(_0x5166e5,_0xa8b6('0xf')),_0x1d4fe4[_0xa8b6('0xe')],_0xa8b6('0x50'),_0xa8b6('0x13'),'sw'),this[_0xa8b6('0x31')][_0xa8b6('0x25')](_0xa8b6('0x24'))['to'](this,'canAccept'),this[_0xa8b6('0x2d')]=this[_0xa8b6('0x33')](_0x3d49b8(_0x5166e5,_0xa8b6('0x9')),_0x1d4fe4['cancel'],'ck-suggestion--discard',_0xa8b6('0x27'),'sw'),this[_0xa8b6('0x2d')]['bind'](_0xa8b6('0x24'))['to'](this,_0xa8b6('0x22')),this[_0xa8b6('0x3e')]=new _0xf421c6(_0x5166e5,this[_0xa8b6('0x11')][_0xa8b6('0x51')],this[_0xa8b6('0xa')]()),this[_0xa8b6('0x3e')][_0xa8b6('0x1c')]({'attributes':{'class':[_0xa8b6('0x26'),'ck-annotation__user']}}),this[_0xa8b6('0x40')](this[_0xa8b6('0x4b')]());}[_0xa8b6('0x4b')](){const _0x3fc950=this[_0xa8b6('0x49')],_0x470725=[{'tag':_0xa8b6('0x18'),'attributes':{'class':[_0xa8b6('0x3c'),_0xa8b6('0x1')]},'children':[{'tag':_0xa8b6('0x39'),'children':[{'text':this[_0xa8b6('0x3e')][_0xa8b6('0x54')]}],'attributes':{'class':[_0xa8b6('0x23'),_0xa8b6('0x4a')]}},{'tag':_0xa8b6('0x4'),'attributes':{'datetime':_0x3fc950['to'](_0xa8b6('0xd')),'class':[_0xa8b6('0x4d'),_0xa8b6('0x1b')]},'children':[{'text':_0x3fc950['to'](_0xa8b6('0xd'),_0x2a376f=>this['_config'][_0xa8b6('0x41')](_0x2a376f))}]}]},{'tag':_0xa8b6('0x18'),'attributes':{'class':[_0xa8b6('0x21'),_0xa8b6('0x2e')]},'children':[this[_0xa8b6('0x31')],this[_0xa8b6('0x2d')]]},{'tag':_0xa8b6('0x18'),'attributes':{'class':[_0xa8b6('0xc')]}}];this['_model'][_0xa8b6('0xb')]&&_0x470725['push']({'tag':_0xa8b6('0x18'),'attributes':{'class':[_0xa8b6('0x32')]},'children':[{'text':this[_0xa8b6('0x48')]()}]});const _0x2c7c6c={'tag':_0xa8b6('0x18'),'attributes':{'class':[_0xa8b6('0x6'),_0x3fc950['if'](_0xa8b6('0x2b'),_0xa8b6('0x8')),_0x3fc950['to'](_0xa8b6('0x16'),_0xeeeffd=>'ck-suggestion-'+_0xeeeffd),this[_0xa8b6('0x4e')][_0xa8b6('0x35')]&&_0xa8b6('0x36')],'data-suggestion-id':this[_0xa8b6('0x11')]['id'],'data-thread-id':this[_0xa8b6('0x11')][_0xa8b6('0x7')]['id'],'data-author-id':this[_0xa8b6('0x11')][_0xa8b6('0x51')]['id'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':[_0xa8b6('0x4c'),_0xa8b6('0x17')]},'children':[this[_0xa8b6('0x3e')],{'tag':'div','attributes':{'class':[_0xa8b6('0x28'),_0xa8b6('0x44')]},'children':_0x470725}]}]};return this[_0xa8b6('0x4f')]&&this[_0xa8b6('0x46')]&&(_0x2c7c6c['children'][_0xa8b6('0x43')](this[_0xa8b6('0x4f')],this[_0xa8b6('0x46')]),this[_0xa8b6('0x4f')][_0xa8b6('0x3b')](_0xa8b6('0x37'))['to'](this),this['commentsListView'][_0xa8b6('0x3b')](_0xa8b6('0x19'))['to'](this),this[_0xa8b6('0x46')][_0xa8b6('0x3b')](_0xa8b6('0x37'))['to'](this),this[_0xa8b6('0x46')][_0xa8b6('0x3b')](_0xa8b6('0x19'))['to'](this)),_0x2c7c6c;}[_0xa8b6('0x3')](){super[_0xa8b6('0x3')](),this['_descriptionElement']=this[_0xa8b6('0x5')]['querySelector']('.ck-annotation__content-wrapper'),this[_0xa8b6('0x3d')][_0xa8b6('0x3f')]=this[_0xa8b6('0x1d')],this['on']('change:description',(_0x41b411,_0x3a8bbe,_0x874452)=>{this[_0xa8b6('0x3d')][_0xa8b6('0x3f')]=_0x874452;});}['_createButton'](_0x183a7e,_0x360b21,_0x5d3d72,_0x332fa8,_0x1a2782){const _0x389cbf=new _0xb48877(this[_0xa8b6('0x42')]);return _0x389cbf[_0xa8b6('0x38')]({'label':_0x183a7e,'icon':_0x360b21,'tooltip':!0x0,'tooltipPosition':_0x1a2782}),_0x389cbf[_0xa8b6('0x1c')]({'attributes':{'class':_0x5d3d72}}),_0x389cbf['on']('execute',()=>{this[_0xa8b6('0x2f')](_0x332fa8,this[_0xa8b6('0x11')]['id']);}),_0x389cbf;}[_0xa8b6('0x48')](){return _0xa8b6('0x30')===this[_0xa8b6('0x11')][_0xa8b6('0x52')][_0xa8b6('0x12')][_0xa8b6('0x45')]?_0x3d49b8(this[_0xa8b6('0x42')],_0xa8b6('0x47')):_0x3d49b8(this['locale'],'EXTERNAL_SUGGESTION');}[_0xa8b6('0xa')](){return this['_model'][_0xa8b6('0xb')]?_0xa8b6('0x30')===this[_0xa8b6('0x11')][_0xa8b6('0x52')][_0xa8b6('0x12')][_0xa8b6('0x45')]?_0x3d49b8(this[_0xa8b6('0x42')],_0xa8b6('0x15'),this[_0xa8b6('0x11')][_0xa8b6('0x53')][_0xa8b6('0x54')]):_0x3d49b8(this[_0xa8b6('0x42')],_0xa8b6('0x29'),this[_0xa8b6('0x11')][_0xa8b6('0x53')][_0xa8b6('0x54')]):null;}}function ci(_0x8e7f5d,_0x1f39c7){let _0x25981c='';return _0x25981c+=_0x8e7f5d[_0xa8b6('0x1a')]('*')['map']((_0x43b58c,_0x3af496)=>_0x3af496%0x2!=0x0?_0xa8b6('0x3a')+ri(_0x43b58c)+_0xa8b6('0x10'):ri(_0x43b58c))[_0xa8b6('0x2')](''),_0x1f39c7&&(_0x25981c+=_0xa8b6('0x34')+_0x1f39c7[_0xa8b6('0x20')]+'\x22\x20title=\x22'+_0x1f39c7['title']+_0xa8b6('0x14')),_0x25981c;}function ri(_0x31fd0f){const _0x53a8de=document['createElement'](_0xa8b6('0x39'));return _0x53a8de[_0xa8b6('0x2a')]=_0x31fd0f,_0x53a8de['innerHTML'];}
23
+ const _0x286e=['discardSuggestion','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','@external','content','discardButton','commentThreadInputView','<p>','isEnabled','ck-annotation__info','locale','fire','EXTERNAL_IMPORT_WORD_SUGGESTION','set','ck-suggestion','_config','source','editorReady','disableComments','isExternal','color','editorDestroyed','ck-annotation__content-wrapper','span','cancel','render','description','innerText','split','\x22></span>','ck-suggestion__info-name','userView','extendTemplate','ck-suggestion__actions','descriptionParts','\x22\x20title=\x22','author','ck-annotation','_model','creator','delegate','acceptButton','element','push','</p>','importWord','Discard\x20suggestion','.ck-annotation__content-wrapper','children','<span\x20class=\x22ck-suggestion-type\x22>','ck-suggestion-wrapper--active','ck-suggestion--accept','EXTERNAL_AVATAR','authoredAt','change:description','EXTERNAL_IMPORT_WORD_AVATAR','_createButton','</span>','value','time','Accept\x20suggestion','join','commentsListView','EXTERNAL_SUGGESTION','bindTemplate','title','attributes','getExternalSuggestionNote','setTemplate','canDiscard','_descriptionElement','ck-annotation__info-name','div','type','ck-annotation__info-time','innerHTML','getTemplate','execute','isActive','bind','name','ck-annotation__actions','acceptSuggestion','formatDateTime'];(function(_0x1cdf96,_0x286e2){const _0x74e019=function(_0x426ec5){while(--_0x426ec5){_0x1cdf96['push'](_0x1cdf96['shift']());}};_0x74e019(++_0x286e2);}(_0x286e,0xdd));const _0x74e0=function(_0x1cdf96,_0x286e2){_0x1cdf96=_0x1cdf96-0x0;let _0x74e019=_0x286e[_0x1cdf96];return _0x74e019;};import{getTranslation as _0x59cb0d}from'../../utils/common-translations.js';import{default as _0x287d91}from'./basesuggestionthreadview.js';import{ButtonView as _0x8a42ef}from'ckeditor5/src/ui.js';import{icons as _0x45a83a}from'ckeditor5/src/core.js';import{trimHtml as _0x17b48c,UserView as _0x31aa82}from'ckeditor5-collaboration/src/collaboration-core.js';export default class Yt extends _0x287d91{constructor(_0x3c54bb,_0x38dfa4,_0x4e0233,_0x2a1656){super(_0x3c54bb,_0x38dfa4,_0x4e0233,_0x2a1656),this[_0x74e0('0x28')](_0x74e0('0x11'),''),this[_0x74e0('0x17')](_0x74e0('0x11'))['to'](this,_0x74e0('0x3d'),_0x47d274=>_0x47d274&&_0x47d274[0x0]?_0x47d274[0x0][_0x74e0('0x11')]:''),this['bind'](_0x74e0('0x35'))['to'](this,_0x74e0('0x3d'),this,'isActive',(_0x312b04,_0x955f84)=>{let _0xf9044d='';for(const _0x277477 of _0x312b04)_0xf9044d+=_0x74e0('0x22')+ds(_0x277477[_0x74e0('0x1f')],_0x277477[_0x74e0('0x2f')])+_0x74e0('0x47');return _0x955f84?_0xf9044d:_0x17b48c(_0xf9044d,{'limit':0x8c});}),this['_descriptionElement']=null,this[_0x74e0('0x44')]=this[_0x74e0('0x0')](_0x59cb0d(_0x3c54bb,_0x74e0('0x4')),_0x45a83a['check'],_0x74e0('0x4e'),_0x74e0('0x1a'),'sw'),this['acceptButton'][_0x74e0('0x17')](_0x74e0('0x23'))['to'](this,'canAccept'),this[_0x74e0('0x20')]=this[_0x74e0('0x0')](_0x59cb0d(_0x3c54bb,_0x74e0('0x49')),_0x45a83a[_0x74e0('0x33')],'ck-suggestion--discard',_0x74e0('0x1c'),'sw'),this['discardButton'][_0x74e0('0x17')]('isEnabled')['to'](this,_0x74e0('0xd')),this[_0x74e0('0x3a')]=new _0x31aa82(_0x3c54bb,this['_model'][_0x74e0('0x3f')],this['getUserViewNotificationText']()),this[_0x74e0('0x3a')][_0x74e0('0x3b')]({'attributes':{'class':['ck-suggestion__user','ck-annotation__user']}}),this[_0x74e0('0xc')](this['getTemplate']());}[_0x74e0('0x14')](){const _0x527f28=this[_0x74e0('0x8')],_0x137f93=[{'tag':_0x74e0('0x10'),'attributes':{'class':['ck-suggestion__info',_0x74e0('0x24')]},'children':[{'tag':_0x74e0('0x32'),'children':[{'text':this[_0x74e0('0x3a')][_0x74e0('0x18')]}],'attributes':{'class':[_0x74e0('0x39'),_0x74e0('0xf')]}},{'tag':_0x74e0('0x3'),'attributes':{'datetime':_0x527f28['to'](_0x74e0('0x50')),'class':['ck-comment__info-time',_0x74e0('0x12')]},'children':[{'text':_0x527f28['to'](_0x74e0('0x50'),_0x32791f=>this[_0x74e0('0x2a')][_0x74e0('0x1b')](_0x32791f))}]}]},{'tag':_0x74e0('0x10'),'attributes':{'class':[_0x74e0('0x3c'),_0x74e0('0x19')]},'children':[this['acceptButton'],this[_0x74e0('0x20')]]},{'tag':_0x74e0('0x10'),'attributes':{'class':[_0x74e0('0x31')]}}];this[_0x74e0('0x41')][_0x74e0('0x2e')]&&_0x137f93[_0x74e0('0x46')]({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalSuggestionNote']()}]});const _0x450610={'tag':'div','attributes':{'class':['ck-suggestion-wrapper',_0x527f28['if'](_0x74e0('0x16'),_0x74e0('0x4d')),_0x527f28['to'](_0x74e0('0x11'),_0x446b03=>'ck-suggestion-'+_0x446b03),this[_0x74e0('0x2a')][_0x74e0('0x2d')]&&'ck-suggestion--disabled-comments'],'data-suggestion-id':this[_0x74e0('0x41')]['id'],'data-thread-id':this['_model']['commentThread']['id'],'data-author-id':this[_0x74e0('0x41')][_0x74e0('0x3f')]['id'],'tabindex':-0x1},'children':[{'tag':_0x74e0('0x10'),'attributes':{'class':[_0x74e0('0x29'),_0x74e0('0x40')]},'children':[this[_0x74e0('0x3a')],{'tag':_0x74e0('0x10'),'attributes':{'class':['ck-suggestion__main','ck-annotation__main']},'children':_0x137f93}]}]};return this[_0x74e0('0x6')]&&this[_0x74e0('0x21')]&&(_0x450610[_0x74e0('0x4b')][_0x74e0('0x46')](this[_0x74e0('0x6')],this[_0x74e0('0x21')]),this[_0x74e0('0x6')][_0x74e0('0x43')](_0x74e0('0x2c'))['to'](this),this[_0x74e0('0x6')]['delegate'](_0x74e0('0x30'))['to'](this),this['commentThreadInputView'][_0x74e0('0x43')](_0x74e0('0x2c'))['to'](this),this[_0x74e0('0x21')][_0x74e0('0x43')](_0x74e0('0x30'))['to'](this)),_0x450610;}['render'](){super[_0x74e0('0x34')](),this[_0x74e0('0xe')]=this[_0x74e0('0x45')]['querySelector'](_0x74e0('0x4a')),this['_descriptionElement']['innerHTML']=this[_0x74e0('0x35')],this['on'](_0x74e0('0x51'),(_0x5ebb59,_0x39b6bc,_0x57369e)=>{this[_0x74e0('0xe')][_0x74e0('0x13')]=_0x57369e;});}['_createButton'](_0x58a3fe,_0x2c04c0,_0x5631ae,_0x36c3f7,_0x2a8031){const _0x5f4975=new _0x8a42ef(this[_0x74e0('0x25')]);return _0x5f4975['set']({'label':_0x58a3fe,'icon':_0x2c04c0,'tooltip':!0x0,'tooltipPosition':_0x2a8031}),_0x5f4975[_0x74e0('0x3b')]({'attributes':{'class':_0x5631ae}}),_0x5f4975['on'](_0x74e0('0x15'),()=>{this[_0x74e0('0x26')](_0x36c3f7,this[_0x74e0('0x41')]['id']);}),_0x5f4975;}[_0x74e0('0xb')](){return _0x74e0('0x48')===this[_0x74e0('0x41')][_0x74e0('0xa')][_0x74e0('0x1e')][_0x74e0('0x2b')]?_0x59cb0d(this[_0x74e0('0x25')],_0x74e0('0x27')):_0x59cb0d(this[_0x74e0('0x25')],_0x74e0('0x7'));}['getUserViewNotificationText'](){return this[_0x74e0('0x41')][_0x74e0('0x2e')]?_0x74e0('0x48')===this[_0x74e0('0x41')]['attributes']['@external'][_0x74e0('0x2b')]?_0x59cb0d(this[_0x74e0('0x25')],_0x74e0('0x52'),this[_0x74e0('0x41')][_0x74e0('0x42')][_0x74e0('0x18')]):_0x59cb0d(this['locale'],_0x74e0('0x4f'),this[_0x74e0('0x41')][_0x74e0('0x42')][_0x74e0('0x18')]):null;}}function ds(_0x2be953,_0x42d2ec){let _0x293287='';return _0x293287+=_0x2be953[_0x74e0('0x37')]('*')['map']((_0x1737a9,_0x58853d)=>_0x58853d%0x2!=0x0?_0x74e0('0x4c')+us(_0x1737a9)+_0x74e0('0x1'):us(_0x1737a9))[_0x74e0('0x5')](''),_0x42d2ec&&(_0x293287+=_0x74e0('0x1d')+_0x42d2ec[_0x74e0('0x2')]+_0x74e0('0x3e')+_0x42d2ec[_0x74e0('0x9')]+_0x74e0('0x38')),_0x293287;}function us(_0x3a2468){const _0x47bc04=document['createElement']('span');return _0x47bc04[_0x74e0('0x36')]=_0x3a2468,_0x47bc04[_0x74e0('0x13')];}
@@ -1,9 +1,9 @@
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 track-changes/utils/common-translations
7
7
  */
8
- import { type Locale } from 'ckeditor5/src/utils';
8
+ import { type Locale } from 'ckeditor5/src/utils.js';
9
9
  export declare function getTranslation(locale: Locale, id: string, values?: number | string | ReadonlyArray<number | string>): string;
@@ -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
- export function getTranslation(_0x141fba,_0x4d397a,_0xf9cadc){const t=_0x141fba['t'];switch(_0x4d397a){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0xf9cadc);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0xf9cadc);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0xf9cadc);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0xf9cadc);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0xf9cadc);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0xf9cadc);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0xf9cadc);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0xf9cadc);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0xf9cadc);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0xf9cadc);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0xf9cadc);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0xf9cadc);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0xf9cadc);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0xf9cadc);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0xf9cadc);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0xf9cadc);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0xf9cadc);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0xf9cadc);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0xf9cadc);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0xf9cadc);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0xf9cadc);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0xf9cadc);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0xf9cadc);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0xf9cadc);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0xf9cadc);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0xf9cadc);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0xf9cadc);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0xf9cadc);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0xf9cadc);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0xf9cadc);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0xf9cadc);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0xf9cadc);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0xf9cadc);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0xf9cadc);case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0xf9cadc);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0xf9cadc);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0xf9cadc);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0xf9cadc);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0xf9cadc);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0xf9cadc);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0xf9cadc);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0xf9cadc);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0xf9cadc);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0xf9cadc);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0xf9cadc);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0xf9cadc);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0x4d397a;}}
23
+ export function getTranslation(_0x2b54d3,_0xa705d6,_0x13ea32){const t=_0x2b54d3['t'];switch(_0xa705d6){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x13ea32);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x13ea32);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x13ea32);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x13ea32);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x13ea32);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0x13ea32);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x13ea32);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x13ea32);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x13ea32);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x13ea32);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x13ea32);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x13ea32);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x13ea32);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x13ea32);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x13ea32);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x13ea32);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x13ea32);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x13ea32);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x13ea32);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x13ea32);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x13ea32);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x13ea32);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x13ea32);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x13ea32);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x13ea32);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x13ea32);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x13ea32);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x13ea32);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x13ea32);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x13ea32);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x13ea32);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x13ea32);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x13ea32);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x13ea32);case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x13ea32);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x13ea32);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x13ea32);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x13ea32);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x13ea32);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x13ea32);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x13ea32);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x13ea32);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x13ea32);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x13ea32);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x13ea32);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x13ea32);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0xa705d6;}}
@@ -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 track-changes/utils/utils
7
7
  */
8
- import type { Command } from 'ckeditor5/src/core';
9
- import type { DocumentSelection, Model } from 'ckeditor5/src/engine';
10
- import type Suggestion from '../suggestion';
11
- import type { Description } from '../suggestiondescriptionfactory';
8
+ import type { Command } from 'ckeditor5/src/core.js';
9
+ import type { DocumentSelection, Model } from 'ckeditor5/src/engine.js';
10
+ import type Suggestion from '../suggestion.js';
11
+ import type { Description } from '../suggestiondescriptionfactory.js';
12
12
  /**
13
13
  * Used in tests for easy suggestion comparison.
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 _0xfa23=['end','from','isMultiRange','color','length','isObject','getRanges','add','isIntersecting','createRange','isInContent','value','execute','map','change','createPositionAfter','deletion','createPositionAt','sort','type','replace','isCollapsed','createPositionBefore','start','push'];(function(_0x107140,_0xfa2365){const _0x15e866=function(_0x31ba04){while(--_0x31ba04){_0x107140['push'](_0x107140['shift']());}};_0x15e866(++_0xfa2365);}(_0xfa23,0xa9));const _0x15e8=function(_0x107140,_0xfa2365){_0x107140=_0x107140-0x0;let _0x15e866=_0xfa23[_0x107140];return _0x15e866;};export function normalizeDescription(_0x570a4e){return Array['isArray'](_0x570a4e)||(_0x570a4e=[_0x570a4e]),_0x570a4e[_0x15e8('0x13')](_0x305d65=>{const _0x1eae7c=_0x305d65['content'][_0x15e8('0x1')](/\*/g,''),_0xff6d99=_0x305d65['color']?'\x20[color\x20'+_0x305d65[_0x15e8('0x9')][_0x15e8('0x11')]+']':'';return'['+_0x305d65['type']+']\x20'+_0x1eae7c+_0xff6d99;})['join'](';\x20');}export function sortSuggestions(_0x56ee49){return _0x56ee49[_0x15e8('0x18')]((_0x2292bb,_0x1cfae3)=>_0x15e8('0x16')==_0x2292bb[_0x15e8('0x0')]&&_0x15e8('0x16')!=_0x1cfae3['type']?-0x1:_0x15e8('0x16')!=_0x2292bb[_0x15e8('0x0')]&&_0x15e8('0x16')==_0x1cfae3[_0x15e8('0x0')]?0x1:0x0);}export function getSelectedSuggestions(_0x2ee703,_0x2bbc1e){const _0x4dd8f8=Array[_0x15e8('0x7')](_0x2ee703[_0x15e8('0xc')]()),_0x5ed676=new Set();for(const _0xb4b940 of _0x2bbc1e)if(_0xb4b940[_0x15e8('0x10')])for(const _0x2224f4 of _0x4dd8f8)for(const _0x522c75 of _0xb4b940[_0x15e8('0xc')]())(_0x2224f4[_0x15e8('0xe')](_0x522c75)||_0x2ee703[_0x15e8('0x2')]&&!_0xb4b940[_0x15e8('0x8')]&&_0xb4b940['next']&&_0x522c75[_0x15e8('0x6')]['isTouching'](_0x2224f4[_0x15e8('0x4')]))&&_0x5ed676[_0x15e8('0xd')](_0xb4b940);return _0x5ed676;}export function getRangesOfBlockGroups(_0x2209ed,_0x2be4ea){let _0x5ac5e2,_0x17484c=0x0;const _0x276500=[],_0x14d1f3=_0x2be4ea['schema'];for(;_0x17484c<_0x2209ed[_0x15e8('0xa')];){const _0x34c4dc=_0x2209ed[_0x17484c],_0x105bf8=_0x2209ed[_0x17484c+0x1];_0x5ac5e2||(_0x5ac5e2=_0x2be4ea['createPositionBefore'](_0x34c4dc)),co(_0x2be4ea,_0x34c4dc,_0x105bf8)||(_0x276500[_0x15e8('0x5')](_0x2be4ea[_0x15e8('0xf')](_0x5ac5e2,_0x14d1f3[_0x15e8('0xb')](_0x34c4dc)?_0x2be4ea[_0x15e8('0x15')](_0x34c4dc):_0x2be4ea[_0x15e8('0x17')](_0x34c4dc,_0x15e8('0x6')))),_0x5ac5e2=null),_0x17484c++;}return _0x276500;}function co(_0x184a0e,_0x9fcc79,_0xc038ce){if(!_0xc038ce)return!0x1;const _0x5f57e9=_0x184a0e['createPositionAfter'](_0x9fcc79),_0x1ca2fe=_0x184a0e[_0x15e8('0x3')](_0xc038ce);return _0x5f57e9['isTouching'](_0x1ca2fe);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x4d863d,_0x1cac75,_0x3b4537){for(;_0x3b4537['length'];){const _0x62ec89=_0x3b4537['splice'](0x0,0x64);_0x4d863d[_0x15e8('0x14')](()=>{for(const _0x1f153a of _0x62ec89)_0x1f153a[_0x15e8('0x10')]&&_0x1cac75[_0x15e8('0x12')](_0x1f153a['id']);});}}
23
+ const _0x3807=['map','value','push','change','isIntersecting','deletion','replace','length','isMultiRange','createPositionBefore','start','isArray','add','next','join','\x20[color\x20','createRange','end','getRanges','isObject','createPositionAfter','createPositionAt','isCollapsed','isTouching','content','from','sort','isInContent','color','type'];(function(_0x289575,_0x380774){const _0x3cb313=function(_0xb9f9f6){while(--_0xb9f9f6){_0x289575['push'](_0x289575['shift']());}};_0x3cb313(++_0x380774);}(_0x3807,0x10e));const _0x3cb3=function(_0x289575,_0x380774){_0x289575=_0x289575-0x0;let _0x3cb313=_0x3807[_0x289575];return _0x3cb313;};export function normalizeDescription(_0x5831e9){return Array[_0x3cb3('0xb')](_0x5831e9)||(_0x5831e9=[_0x5831e9]),_0x5831e9[_0x3cb3('0x0')](_0x450c63=>{const _0x352623=_0x450c63[_0x3cb3('0x18')][_0x3cb3('0x6')](/\*/g,''),_0x8fe86d=_0x450c63[_0x3cb3('0x1c')]?_0x3cb3('0xf')+_0x450c63[_0x3cb3('0x1c')][_0x3cb3('0x1')]+']':'';return'['+_0x450c63[_0x3cb3('0x1d')]+']\x20'+_0x352623+_0x8fe86d;})[_0x3cb3('0xe')](';\x20');}export function sortSuggestions(_0x5de58a){return _0x5de58a[_0x3cb3('0x1a')]((_0x2a7c21,_0x3810ed)=>_0x3cb3('0x5')==_0x2a7c21[_0x3cb3('0x1d')]&&_0x3cb3('0x5')!=_0x3810ed[_0x3cb3('0x1d')]?-0x1:_0x3cb3('0x5')!=_0x2a7c21[_0x3cb3('0x1d')]&&_0x3cb3('0x5')==_0x3810ed['type']?0x1:0x0);}export function getSelectedSuggestions(_0x26175f,_0x1ce8b9){const _0x8b2b0f=Array[_0x3cb3('0x19')](_0x26175f[_0x3cb3('0x12')]()),_0x55995b=new Set();for(const _0x176f21 of _0x1ce8b9)if(_0x176f21[_0x3cb3('0x1b')])for(const _0x3028b5 of _0x8b2b0f)for(const _0x3059cb of _0x176f21['getRanges']())(_0x3028b5[_0x3cb3('0x4')](_0x3059cb)||_0x26175f[_0x3cb3('0x16')]&&!_0x176f21[_0x3cb3('0x8')]&&_0x176f21[_0x3cb3('0xd')]&&_0x3059cb['end'][_0x3cb3('0x17')](_0x3028b5[_0x3cb3('0xa')]))&&_0x55995b[_0x3cb3('0xc')](_0x176f21);return _0x55995b;}export function getRangesOfBlockGroups(_0x18ec60,_0x416b5b){let _0x537da7,_0x1c8b99=0x0;const _0x1a111c=[],_0x46b00d=_0x416b5b['schema'];for(;_0x1c8b99<_0x18ec60[_0x3cb3('0x7')];){const _0x6efff6=_0x18ec60[_0x1c8b99],_0x11dc24=_0x18ec60[_0x1c8b99+0x1];_0x537da7||(_0x537da7=_0x416b5b[_0x3cb3('0x9')](_0x6efff6)),co(_0x416b5b,_0x6efff6,_0x11dc24)||(_0x1a111c[_0x3cb3('0x2')](_0x416b5b[_0x3cb3('0x10')](_0x537da7,_0x46b00d[_0x3cb3('0x13')](_0x6efff6)?_0x416b5b[_0x3cb3('0x14')](_0x6efff6):_0x416b5b[_0x3cb3('0x15')](_0x6efff6,_0x3cb3('0x11')))),_0x537da7=null),_0x1c8b99++;}return _0x1a111c;}function co(_0x5b0845,_0x1de633,_0x1caa72){if(!_0x1caa72)return!0x1;const _0xbf05d0=_0x5b0845[_0x3cb3('0x14')](_0x1de633),_0x1bb1ff=_0x5b0845[_0x3cb3('0x9')](_0x1caa72);return _0xbf05d0[_0x3cb3('0x17')](_0x1bb1ff);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x5a7a5c,_0x5d155b,_0x2db489){for(;_0x2db489[_0x3cb3('0x7')];){const _0x4c2913=_0x2db489['splice'](0x0,0x64);_0x5a7a5c[_0x3cb3('0x3')](()=>{for(const _0x393c69 of _0x4c2913)_0x393c69['isInContent']&&_0x5d155b['execute'](_0x393c69['id']);});}}
@@ -4,7 +4,7 @@
4
4
  CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
5
  all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
6
 
7
- Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
7
+ Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
8
8
 
9
9
  !-->
10
10
 
@@ -4,7 +4,7 @@
4
4
  CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
5
  all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
6
 
7
- Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
7
+ Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
8
8
 
9
9
  !-->
10
10
 
@@ -4,7 +4,7 @@
4
4
  CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
5
  all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
6
 
7
- Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
7
+ Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
8
8
 
9
9
  !-->
10
10
 
@@ -1,17 +0,0 @@
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
- */
5
- /**
6
- * @module track-changes/integrations/documentlist
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for document list feature.
11
- */
12
- export default class TrackChangesDocumentList extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }