@ckeditor/ckeditor5-track-changes 40.1.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 (242) hide show
  1. package/CHANGELOG.md +20 -20
  2. package/LICENSE.md +1 -1
  3. package/README.md +1 -1
  4. package/build/track-changes.js +3 -3
  5. package/build/translations/ar.js +1 -1
  6. package/build/translations/az.js +1 -1
  7. package/build/translations/bg.js +1 -1
  8. package/build/translations/bn.js +1 -1
  9. package/build/translations/ca.js +1 -1
  10. package/build/translations/cs.js +1 -1
  11. package/build/translations/da.js +1 -1
  12. package/build/translations/de.js +1 -1
  13. package/build/translations/el.js +1 -1
  14. package/build/translations/en-au.js +1 -1
  15. package/build/translations/es.js +1 -1
  16. package/build/translations/et.js +1 -1
  17. package/build/translations/fi.js +1 -1
  18. package/build/translations/fr.js +1 -1
  19. package/build/translations/gl.js +1 -1
  20. package/build/translations/he.js +1 -1
  21. package/build/translations/hi.js +1 -1
  22. package/build/translations/hr.js +1 -1
  23. package/build/translations/hu.js +1 -1
  24. package/build/translations/id.js +1 -1
  25. package/build/translations/it.js +1 -1
  26. package/build/translations/ja.js +1 -1
  27. package/build/translations/ko.js +1 -1
  28. package/build/translations/lt.js +1 -1
  29. package/build/translations/lv.js +1 -1
  30. package/build/translations/ms.js +1 -1
  31. package/build/translations/nl.js +1 -1
  32. package/build/translations/no.js +1 -1
  33. package/build/translations/pl.js +1 -1
  34. package/build/translations/pt-br.js +1 -1
  35. package/build/translations/pt.js +1 -1
  36. package/build/translations/ro.js +1 -1
  37. package/build/translations/ru.js +1 -1
  38. package/build/translations/sk.js +1 -1
  39. package/build/translations/sq.js +1 -1
  40. package/build/translations/sr-latn.js +1 -1
  41. package/build/translations/sr.js +1 -1
  42. package/build/translations/sv.js +1 -1
  43. package/build/translations/th.js +1 -1
  44. package/build/translations/tk.js +1 -1
  45. package/build/translations/tr.js +1 -1
  46. package/build/translations/tt.js +1 -1
  47. package/build/translations/uk.js +1 -1
  48. package/build/translations/ur.js +1 -1
  49. package/build/translations/vi.js +1 -1
  50. package/build/translations/zh-cn.js +1 -1
  51. package/build/translations/zh.js +1 -1
  52. package/lang/translations/ar.po +6 -6
  53. package/lang/translations/az.po +5 -5
  54. package/lang/translations/bg.po +6 -6
  55. package/lang/translations/bn.po +6 -6
  56. package/lang/translations/ca.po +6 -6
  57. package/lang/translations/cs.po +6 -6
  58. package/lang/translations/da.po +6 -6
  59. package/lang/translations/de.po +6 -6
  60. package/lang/translations/el.po +6 -6
  61. package/lang/translations/en-au.po +6 -6
  62. package/lang/translations/en.po +6 -6
  63. package/lang/translations/es.po +7 -7
  64. package/lang/translations/et.po +6 -6
  65. package/lang/translations/fi.po +6 -6
  66. package/lang/translations/fr.po +6 -6
  67. package/lang/translations/gl.po +37 -37
  68. package/lang/translations/he.po +6 -6
  69. package/lang/translations/hi.po +6 -6
  70. package/lang/translations/hr.po +6 -6
  71. package/lang/translations/hu.po +6 -6
  72. package/lang/translations/id.po +6 -6
  73. package/lang/translations/it.po +6 -6
  74. package/lang/translations/ja.po +6 -6
  75. package/lang/translations/ko.po +6 -6
  76. package/lang/translations/lt.po +6 -6
  77. package/lang/translations/lv.po +6 -6
  78. package/lang/translations/ms.po +6 -6
  79. package/lang/translations/nl.po +6 -6
  80. package/lang/translations/no.po +6 -6
  81. package/lang/translations/pl.po +6 -6
  82. package/lang/translations/pt-br.po +6 -6
  83. package/lang/translations/pt.po +6 -6
  84. package/lang/translations/ro.po +6 -6
  85. package/lang/translations/ru.po +6 -6
  86. package/lang/translations/sk.po +6 -6
  87. package/lang/translations/sq.po +5 -5
  88. package/lang/translations/sr-latn.po +25 -25
  89. package/lang/translations/sr.po +6 -6
  90. package/lang/translations/sv.po +6 -6
  91. package/lang/translations/th.po +6 -6
  92. package/lang/translations/tk.po +5 -5
  93. package/lang/translations/tr.po +6 -6
  94. package/lang/translations/tt.po +5 -5
  95. package/lang/translations/uk.po +6 -6
  96. package/lang/translations/ur.po +5 -5
  97. package/lang/translations/vi.po +6 -6
  98. package/lang/translations/zh-cn.po +6 -6
  99. package/lang/translations/zh.po +6 -6
  100. package/package.json +4 -3
  101. package/src/augmentation.d.ts +3 -3
  102. package/src/augmentation.js +1 -1
  103. package/src/commands/acceptsuggestioncommand.d.ts +3 -3
  104. package/src/commands/acceptsuggestioncommand.js +2 -2
  105. package/src/commands/discardsuggestioncommand.d.ts +3 -3
  106. package/src/commands/discardsuggestioncommand.js +2 -2
  107. package/src/commands/executeonallsuggestionscommand.d.ts +3 -3
  108. package/src/commands/executeonallsuggestionscommand.js +2 -2
  109. package/src/commands/executeonselectedsuggestionscommand.d.ts +3 -3
  110. package/src/commands/executeonselectedsuggestionscommand.js +2 -2
  111. package/src/commands/trackchangescommand.d.ts +2 -2
  112. package/src/commands/trackchangescommand.js +2 -2
  113. package/src/index.d.ts +13 -13
  114. package/src/index.js +2 -2
  115. package/src/integrations/aiassistant.d.ts +2 -2
  116. package/src/integrations/aiassistant.js +2 -2
  117. package/src/integrations/alignment.d.ts +2 -2
  118. package/src/integrations/alignment.js +2 -2
  119. package/src/integrations/basicstyles.d.ts +2 -2
  120. package/src/integrations/basicstyles.js +2 -2
  121. package/src/integrations/blockquote.d.ts +2 -2
  122. package/src/integrations/blockquote.js +2 -2
  123. package/src/integrations/casechange.d.ts +17 -0
  124. package/src/integrations/casechange.js +23 -0
  125. package/src/integrations/ckbox.d.ts +2 -2
  126. package/src/integrations/ckbox.js +2 -2
  127. package/src/integrations/codeblock.d.ts +2 -2
  128. package/src/integrations/codeblock.js +2 -2
  129. package/src/integrations/comments.d.ts +2 -2
  130. package/src/integrations/comments.js +2 -2
  131. package/src/integrations/deletecommand.d.ts +3 -3
  132. package/src/integrations/deletecommand.js +2 -2
  133. package/src/integrations/entercommand.d.ts +3 -3
  134. package/src/integrations/entercommand.js +2 -2
  135. package/src/integrations/findandreplace.d.ts +2 -2
  136. package/src/integrations/findandreplace.js +2 -2
  137. package/src/integrations/font.d.ts +2 -2
  138. package/src/integrations/font.js +2 -2
  139. package/src/integrations/formatpainter.d.ts +2 -2
  140. package/src/integrations/formatpainter.js +2 -2
  141. package/src/integrations/heading.d.ts +2 -2
  142. package/src/integrations/heading.js +2 -2
  143. package/src/integrations/highlight.d.ts +2 -2
  144. package/src/integrations/highlight.js +2 -2
  145. package/src/integrations/horizontalline.d.ts +2 -2
  146. package/src/integrations/horizontalline.js +2 -2
  147. package/src/integrations/htmlembed.d.ts +2 -2
  148. package/src/integrations/htmlembed.js +2 -2
  149. package/src/integrations/image.d.ts +2 -2
  150. package/src/integrations/image.js +2 -2
  151. package/src/integrations/imagereplace.d.ts +2 -2
  152. package/src/integrations/imagereplace.js +2 -2
  153. package/src/integrations/imagestyle.d.ts +2 -2
  154. package/src/integrations/imagestyle.js +2 -2
  155. package/src/integrations/importword.d.ts +2 -2
  156. package/src/integrations/importword.js +2 -2
  157. package/src/integrations/indent.d.ts +2 -2
  158. package/src/integrations/indent.js +2 -2
  159. package/src/integrations/inputcommand.d.ts +3 -3
  160. package/src/integrations/inputcommand.js +2 -2
  161. package/src/integrations/legacylist.d.ts +17 -0
  162. package/src/integrations/legacylist.js +23 -0
  163. package/src/integrations/{documentlistproperties.d.ts → legacylistproperties.d.ts} +7 -7
  164. package/src/integrations/legacylistproperties.js +23 -0
  165. package/src/integrations/link.d.ts +2 -2
  166. package/src/integrations/link.js +2 -2
  167. package/src/integrations/list.d.ts +6 -6
  168. package/src/integrations/list.js +2 -2
  169. package/src/integrations/listproperties.d.ts +6 -15
  170. package/src/integrations/listproperties.js +2 -2
  171. package/src/integrations/mediaembed.d.ts +2 -2
  172. package/src/integrations/mediaembed.js +2 -2
  173. package/src/integrations/mention.d.ts +2 -2
  174. package/src/integrations/mention.js +2 -2
  175. package/src/integrations/pagebreak.d.ts +2 -2
  176. package/src/integrations/pagebreak.js +2 -2
  177. package/src/integrations/paragraph.d.ts +2 -2
  178. package/src/integrations/paragraph.js +2 -2
  179. package/src/integrations/removeformat.d.ts +2 -2
  180. package/src/integrations/removeformat.js +2 -2
  181. package/src/integrations/restrictededitingmode.d.ts +2 -2
  182. package/src/integrations/restrictededitingmode.js +2 -2
  183. package/src/integrations/shiftentercommand.d.ts +3 -3
  184. package/src/integrations/shiftentercommand.js +2 -2
  185. package/src/integrations/standardeditingmode.d.ts +2 -2
  186. package/src/integrations/standardeditingmode.js +2 -2
  187. package/src/integrations/style.d.ts +2 -2
  188. package/src/integrations/style.js +2 -2
  189. package/src/integrations/table.d.ts +2 -2
  190. package/src/integrations/table.js +2 -2
  191. package/src/integrations/tablecaption.d.ts +3 -3
  192. package/src/integrations/tablecaption.js +2 -2
  193. package/src/integrations/tableclipboard.d.ts +3 -3
  194. package/src/integrations/tableclipboard.js +2 -2
  195. package/src/integrations/tablecolumnresize.d.ts +5 -5
  196. package/src/integrations/tablecolumnresize.js +2 -2
  197. package/src/integrations/tableheadings.d.ts +3 -3
  198. package/src/integrations/tableheadings.js +2 -2
  199. package/src/integrations/tablemergesplit.d.ts +3 -3
  200. package/src/integrations/tablemergesplit.js +2 -2
  201. package/src/integrations/tableofcontents.d.ts +2 -2
  202. package/src/integrations/tableofcontents.js +2 -2
  203. package/src/integrations/tableproperties.d.ts +5 -5
  204. package/src/integrations/tableproperties.js +2 -2
  205. package/src/integrations/template.d.ts +2 -2
  206. package/src/integrations/template.js +2 -2
  207. package/src/integrations/title.d.ts +2 -2
  208. package/src/integrations/title.js +2 -2
  209. package/src/integrations/undo.d.ts +2 -2
  210. package/src/integrations/undo.js +2 -2
  211. package/src/integrations/utils.d.ts +4 -4
  212. package/src/integrations/utils.js +2 -2
  213. package/src/suggestion.d.ts +6 -6
  214. package/src/suggestion.js +2 -2
  215. package/src/suggestiondescriptionfactory.d.ts +4 -4
  216. package/src/suggestiondescriptionfactory.js +2 -2
  217. package/src/trackchanges.d.ts +6 -6
  218. package/src/trackchanges.js +2 -2
  219. package/src/trackchangesconfig.d.ts +2 -2
  220. package/src/trackchangesconfig.js +1 -1
  221. package/src/trackchangesdata.d.ts +3 -3
  222. package/src/trackchangesdata.js +2 -2
  223. package/src/trackchangesediting.d.ts +56 -55
  224. package/src/trackchangesediting.js +2 -2
  225. package/src/trackchangesui.d.ts +4 -4
  226. package/src/trackchangesui.js +2 -2
  227. package/src/ui/suggestioncontroller.d.ts +6 -6
  228. package/src/ui/suggestioncontroller.js +2 -2
  229. package/src/ui/view/basesuggestionthreadview.d.ts +7 -7
  230. package/src/ui/view/basesuggestionthreadview.js +2 -2
  231. package/src/ui/view/suggestionthreadview.d.ts +6 -6
  232. package/src/ui/view/suggestionthreadview.js +2 -2
  233. package/src/utils/common-translations.d.ts +2 -2
  234. package/src/utils/common-translations.js +2 -2
  235. package/src/utils/utils.d.ts +5 -5
  236. package/src/utils/utils.js +2 -2
  237. package/theme/icons/track-changes-accept.svg +1 -1
  238. package/theme/icons/track-changes-discard.svg +1 -1
  239. package/theme/icons/track-changes.svg +1 -1
  240. package/src/integrations/documentlist.d.ts +0 -17
  241. package/src/integrations/documentlist.js +0 -23
  242. package/src/integrations/documentlistproperties.js +0 -23
@@ -1,29 +1,20 @@
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/integrations/listproperties
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import type { Description } from '../suggestiondescriptionfactory';
10
- import type Suggestion from '../suggestion';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import type { Description } from '../suggestiondescriptionfactory.js';
10
+ import type Suggestion from '../suggestion.js';
11
11
  /**
12
- * Provides track changes plugin integration for list properties feature.
12
+ * Provides track changes plugin integration for document list properties feature.
13
13
  */
14
- export default class TrackChangesListProperties extends Plugin {
14
+ export default class TrackChangesDocumentListProperties extends Plugin {
15
15
  /**
16
16
  * @inheritDoc
17
17
  */
18
18
  afterInit(): void;
19
- handleListStyleCommand(executeCommand: Function, options?: {
20
- type?: string | null;
21
- }): void;
22
- handleListReversedCommand(executeCommand: Function, options?: {
23
- reversed?: boolean;
24
- }): void;
25
- handleListStartCommand(executeCommand: Function, options?: {
26
- startIndex?: number;
27
- }): void;
28
19
  handleDescriptions(suggestion: Suggestion): Description | undefined;
29
20
  }
@@ -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 _0x3543=['flat','backward','ListUtils','startIndex','getFirstPosition','document','*Format:*\x20set\x20start\x20index\x20to\x20%0','_getSuggestionBlocksForListStyle','forward','getSelectedBlocks','listType','filter','parent','commandParams','getAttribute','createRange','length','styles','handleListReversedCommand','locale','formatInline','getLastPosition','unshift','push','listStart','plugins','reversed','toUpperCase','ELEMENT_','getListTypeFromListStyleType','markMultiRangeBlockFormat','before','numbered','*Format:*\x20set\x20order\x20to\x20reversed','_descriptionFactory','_LIST_','afterInit','type','handleListStartCommand','map','element','handleListStyleCommand','format','enableCommand','replace','list.properties','*Change\x20to:*\x20%0','model','registerDescriptionCallback','from','formatBlock','listItem','listStyle','bind','selection','commandName','editor','_getTranslationKeyForListStyle','change','TrackChangesEditing','get','handleDescriptions','listReversed','getSiblingNodes','_getSuggestionBlocks','has','createPositionAt'];(function(_0x429aa6,_0x35433c){const _0x2d1bd0=function(_0x5f3674){while(--_0x5f3674){_0x429aa6['push'](_0x429aa6['shift']());}};_0x2d1bd0(++_0x35433c);}(_0x3543,0x17c));const _0x2d1b=function(_0x429aa6,_0x35433c){_0x429aa6=_0x429aa6-0x0;let _0x2d1bd0=_0x3543[_0x429aa6];return _0x2d1bd0;};import{Plugin as _0x80a917}from'ckeditor5/src/core';import{getTranslation as _0x1c1e2f}from'../utils/common-translations';export default class ut extends _0x80a917{[_0x2d1b('0x3a')](){if(!this[_0x2d1b('0xb')][_0x2d1b('0x2f')][_0x2d1b('0x14')]('ListPropertiesEditing'))return;const _0x35ee18=this[_0x2d1b('0xb')]['config'][_0x2d1b('0xf')](_0x2d1b('0x0')),_0x281c4a=this[_0x2d1b('0xb')][_0x2d1b('0x2f')][_0x2d1b('0xf')]('TrackChangesEditing');_0x35ee18[_0x2d1b('0x27')]&&_0x281c4a[_0x2d1b('0x41')]('listStyle',this[_0x2d1b('0x3f')][_0x2d1b('0x8')](this)),_0x35ee18[_0x2d1b('0x30')]&&_0x281c4a[_0x2d1b('0x41')](_0x2d1b('0x11'),this[_0x2d1b('0x28')]['bind'](this)),_0x35ee18['startIndex']&&_0x281c4a[_0x2d1b('0x41')](_0x2d1b('0x2e'),this[_0x2d1b('0x3c')][_0x2d1b('0x8')](this)),_0x281c4a[_0x2d1b('0x38')][_0x2d1b('0x3')](this[_0x2d1b('0x10')][_0x2d1b('0x8')](this));}['handleListStyleCommand'](_0x5d25c0,_0x52b4d7={}){const _0x56b5e4=this[_0x2d1b('0xb')][_0x2d1b('0x2f')][_0x2d1b('0xf')](_0x2d1b('0xe')),_0x157556=this[_0x2d1b('0x1d')]();this['editor'][_0x2d1b('0x2')][_0x2d1b('0xd')](()=>{_0x56b5e4[_0x2d1b('0x34')](_0x157556,{'commandName':_0x2d1b('0x7'),'commandParams':[{'type':_0x52b4d7['type']}],'formatGroupId':_0x2d1b('0x7')});});}['handleListReversedCommand'](_0x5e29ca,_0x595def={}){const _0x429865=this[_0x2d1b('0xb')][_0x2d1b('0x2f')][_0x2d1b('0xf')]('TrackChangesEditing'),_0x5e8afa=this[_0x2d1b('0x13')](_0x1bb27e=>_0x1bb27e['is'](_0x2d1b('0x3e'),_0x2d1b('0x6'))&&_0x2d1b('0x36')===_0x1bb27e[_0x2d1b('0x24')]('listType'));if(_0x5e8afa['length']<0x1)return;const _0x3cba7f=_0x5e8afa[_0x2d1b('0x3d')](_0x5853ed=>this[_0x2d1b('0xb')]['model'][_0x2d1b('0x25')](this['editor']['model'][_0x2d1b('0x15')](_0x5853ed,'before'),this[_0x2d1b('0xb')]['model'][_0x2d1b('0x15')](_0x5853ed,0x0)));this[_0x2d1b('0xb')][_0x2d1b('0x2')][_0x2d1b('0xd')](()=>{_0x429865[_0x2d1b('0x34')](_0x3cba7f,{'commandName':_0x2d1b('0x11'),'commandParams':[{'reversed':_0x595def['reversed']}],'formatGroupId':_0x2d1b('0x11')});});}[_0x2d1b('0x3c')](_0x29d305,_0x3f7151={}){const _0x290620=this['editor'][_0x2d1b('0x2f')][_0x2d1b('0xf')]('TrackChangesEditing'),_0x342200=this[_0x2d1b('0x13')](_0x2c1a04=>_0x2c1a04['is'](_0x2d1b('0x3e'),_0x2d1b('0x6'))&&'numbered'===_0x2c1a04[_0x2d1b('0x24')](_0x2d1b('0x20')));if(_0x342200[_0x2d1b('0x26')]<0x1)return;const _0x396c1d=_0x342200[_0x2d1b('0x3d')](_0x596756=>this[_0x2d1b('0xb')]['model'][_0x2d1b('0x25')](this[_0x2d1b('0xb')][_0x2d1b('0x2')][_0x2d1b('0x15')](_0x596756,_0x2d1b('0x35')),this[_0x2d1b('0xb')][_0x2d1b('0x2')][_0x2d1b('0x15')](_0x596756,0x0)));this['editor'][_0x2d1b('0x2')]['change'](()=>{_0x290620['markMultiRangeBlockFormat'](_0x396c1d,{'commandName':_0x2d1b('0x2e'),'commandParams':[{'startIndex':_0x3f7151[_0x2d1b('0x19')]}],'formatGroupId':_0x2d1b('0x2e')});});}[_0x2d1b('0x10')](_0x32bfc4){if(_0x2d1b('0x5')!=_0x32bfc4[_0x2d1b('0x3b')]&&_0x2d1b('0x2a')!=_0x32bfc4[_0x2d1b('0x3b')])return;const _0x1ace60=this['editor'][_0x2d1b('0x29')],{data:_0x78995a}=_0x32bfc4;if(!_0x78995a)return;let _0x38ab35,_0x218b64;switch(_0x78995a[_0x2d1b('0xa')]){case'listStyle':_0x38ab35=_0x2d1b('0x1'),_0x218b64={'type':_0x2d1b('0x40'),'content':_0x1c1e2f(_0x1ace60,_0x38ab35,_0x1c1e2f(_0x1ace60,this[_0x2d1b('0xc')](_0x78995a[_0x2d1b('0x23')][0x0][_0x2d1b('0x3b')])))};break;case'listReversed':_0x38ab35=_0x78995a['commandParams'][0x0][_0x2d1b('0x30')]?_0x2d1b('0x37'):'*Format:*\x20set\x20order\x20to\x20regular',_0x218b64={'type':'format','content':_0x1c1e2f(_0x1ace60,_0x38ab35)};break;case'listStart':_0x38ab35=_0x2d1b('0x1c'),_0x218b64={'type':_0x2d1b('0x40'),'content':_0x1c1e2f(_0x1ace60,_0x38ab35,_0x78995a[_0x2d1b('0x23')][0x0][_0x2d1b('0x19')])};}return _0x218b64;}[_0x2d1b('0x1d')](){var _0x4e0f8e,_0x1a923c,_0x59a10a,_0x829d83;const _0x14c398=this[_0x2d1b('0xb')][_0x2d1b('0x2f')]['get'](_0x2d1b('0x18'));let _0x57b07a=Array[_0x2d1b('0x4')](this[_0x2d1b('0xb')][_0x2d1b('0x2')]['document']['selection']['getSelectedBlocks']());return(null===(_0x4e0f8e=_0x57b07a[0x0])||void 0x0===_0x4e0f8e?void 0x0:_0x4e0f8e['is'](_0x2d1b('0x3e'),_0x2d1b('0x6')))&&_0x57b07a[_0x2d1b('0x2c')](..._0x14c398[_0x2d1b('0x12')](this[_0x2d1b('0xb')]['model'][_0x2d1b('0x1b')][_0x2d1b('0x9')][_0x2d1b('0x1a')](),_0x2d1b('0x17'))),(null===(_0x1a923c=_0x57b07a[_0x57b07a[_0x2d1b('0x26')]-0x1])||void 0x0===_0x1a923c?void 0x0:_0x1a923c['is'](_0x2d1b('0x3e'),'listItem'))&&_0x57b07a[_0x2d1b('0x2d')](..._0x14c398[_0x2d1b('0x12')](this[_0x2d1b('0xb')][_0x2d1b('0x2')]['document'][_0x2d1b('0x9')][_0x2d1b('0x2b')](),_0x2d1b('0x1e'))),_0x57b07a=[...new Set(_0x57b07a)],(null===(_0x829d83=null===(_0x59a10a=this['editor'][_0x2d1b('0x2')]['document'][_0x2d1b('0x9')]['getFirstPosition']())||void 0x0===_0x59a10a?void 0x0:_0x59a10a[_0x2d1b('0x22')])||void 0x0===_0x829d83?void 0x0:_0x829d83['is'](_0x2d1b('0x3e'),'listItem'))&&(_0x57b07a=_0x57b07a[_0x2d1b('0x21')](_0x267870=>_0x267870['is'](_0x2d1b('0x3e'),_0x2d1b('0x6')))),_0x57b07a;}['_getSuggestionBlocks'](_0x4e818b){const _0x2941ff=this['editor'][_0x2d1b('0x2f')][_0x2d1b('0xf')](_0x2d1b('0x18'));let _0x4da7f0=Array[_0x2d1b('0x4')](this['editor'][_0x2d1b('0x2')][_0x2d1b('0x1b')]['selection'][_0x2d1b('0x1f')]())['filter'](_0x4e818b)[_0x2d1b('0x3d')](_0x1cac03=>{const _0x3e842d=this[_0x2d1b('0xb')]['model'][_0x2d1b('0x15')](_0x1cac03,0x0);return[..._0x2941ff['getSiblingNodes'](_0x3e842d,_0x2d1b('0x17')),..._0x2941ff[_0x2d1b('0x12')](_0x3e842d,_0x2d1b('0x1e'))];})[_0x2d1b('0x16')]();return _0x4da7f0=[...new Set(_0x4da7f0)],_0x4da7f0;}['_getTranslationKeyForListStyle'](_0x5ecb4f){return _0x2d1b('0x32')+this[_0x2d1b('0xb')][_0x2d1b('0x2f')][_0x2d1b('0xf')]('ListUtils')[_0x2d1b('0x33')](_0x5ecb4f)[_0x2d1b('0x31')]()+_0x2d1b('0x39')+_0x5ecb4f[_0x2d1b('0x31')]()[_0x2d1b('0x42')](/-/g,'_');}}
23
+ const _0x1fac=['_registerLegacyDescription','square','filter','listStyle','*Format:*\x20set\x20order\x20to\x20regular','getSuggestions','listReversed','*Format:*\x20set\x20order\x20to\x20reversed','FORMAT_LIST_START','TrackChangesEditing','commandParams','suggestion','list.properties','styles','includes','_getTranslationKeyForListStyle','_LIST_','isUndo','registerPostFixer','registerAttributeLabel','getAttribute','oldValue','has','circle','decimal','next','listStart','batch','newValue','lower-latin','key','registerDescriptionCallback','handleDescriptions','data','removeMarker','ELEMENT_','getFirstMarker','model','_findSuggestions','_LIST_DEFAULT','default','type','*Remove\x20format:*\x20%0','upper-latin','formatBlock','disc','nodeAfter','_enableDefaultAttributesIntegration','getFirstRange','format','document','startIndex','reversed','_getAttributeKey','upper-roman','FORMAT_LIST_REVERSED','get','start','_descriptionFactory','toUpperCase','*Set\x20format:*\x20%0','numbered','listType','editor','plugins','decimal-leading-zero','locale','head'];(function(_0x3969bd,_0x1fac79){const _0x3f3669=function(_0x591337){while(--_0x591337){_0x3969bd['push'](_0x3969bd['shift']());}};_0x3f3669(++_0x1fac79);}(_0x1fac,0x155));const _0x3f36=function(_0x3969bd,_0x1fac79){_0x3969bd=_0x3969bd-0x0;let _0x3f3669=_0x1fac[_0x3969bd];return _0x3f3669;};import{Plugin as _0x199874}from'ckeditor5/src/core.js';import{getTranslation as _0x330ea7}from'../utils/common-translations.js';export default class se extends _0x199874{['afterInit'](){if(!this[_0x3f36('0x3e')][_0x3f36('0x3f')][_0x3f36('0x15')]('ListPropertiesEditing'))return;const _0x58d6ed=this['editor']['config']['get'](_0x3f36('0xb')),_0xce7d02=this[_0x3f36('0x3e')][_0x3f36('0x3f')]['get'](_0x3f36('0x8'));_0x58d6ed[_0x3f36('0xc')]&&_0xce7d02[_0x3f36('0x2e')](_0x3f36('0x2'),[],[_0x3f36('0x2')]),_0x58d6ed['reversed']&&_0xce7d02[_0x3f36('0x2e')](_0x3f36('0x5'),[],[_0x3f36('0x5')]),_0x58d6ed[_0x3f36('0x32')]&&_0xce7d02['_enableDefaultAttributesIntegration'](_0x3f36('0x19'),[],[_0x3f36('0x19')]);const _0x4d3d66={'type':_0x3f36('0x30'),'content':''};_0xce7d02[_0x3f36('0x39')][_0x3f36('0x1e')](this['handleDescriptions']['bind'](this));const _0x46674d=this[_0x3f36('0x3e')][_0x3f36('0x41')];_0xce7d02[_0x3f36('0x39')][_0x3f36('0x12')](_0x3f36('0x5'),_0x330ea7(_0x46674d,_0x3f36('0x36'))),_0xce7d02[_0x3f36('0x39')]['registerDescriptionCallback'](_0x1fcfe6=>{const {data:_0x45b2fc}=_0x1fcfe6;if(_0x45b2fc&&'listReversed'==_0x45b2fc[_0x3f36('0x1d')])return null==_0x45b2fc[_0x3f36('0x1b')]||0x0==_0x45b2fc[_0x3f36('0x1b')]&&null==_0x45b2fc[_0x3f36('0x14')]?_0x4d3d66:void 0x0;}),_0xce7d02[_0x3f36('0x39')]['registerAttributeLabel'](_0x3f36('0x19'),_0x330ea7(_0x46674d,_0x3f36('0x7'))),_0xce7d02['_descriptionFactory']['registerDescriptionCallback'](_0x1ee764=>{const {data:_0x1c60c0}=_0x1ee764;if(_0x1c60c0&&_0x3f36('0x19')==_0x1c60c0[_0x3f36('0x1d')])return null==_0x1c60c0[_0x3f36('0x1b')]||0x1==_0x1c60c0[_0x3f36('0x1b')]&&null==_0x1c60c0[_0x3f36('0x14')]?_0x4d3d66:void 0x0;}),this[_0x3f36('0x3e')][_0x3f36('0x24')][_0x3f36('0x31')][_0x3f36('0x11')](_0x386748=>{if(_0x386748[_0x3f36('0x1a')][_0x3f36('0x10')])return!0x1;let _0x40937a=!0x1;const _0x1da3ea=_0xce7d02[_0x3f36('0x4')]({'skipNotAttached':!0x0})[_0x3f36('0x1')](_0x29df0a=>{const _0x3876f9=_0xce7d02['_getAttributeKey'](_0x29df0a);return _0x3f36('0x19')==_0x3876f9||_0x3f36('0x5')==_0x3876f9;});for(const _0x8745e7 of _0x1da3ea){if(_0x3f36('0x3c')==_0x8745e7[_0x3f36('0x2f')]()[_0x3f36('0x38')][_0x3f36('0x2d')][_0x3f36('0x13')](_0x3f36('0x3d')))continue;_0xce7d02[_0x3f36('0x25')](_0x8745e7['getFirstRange'](),'attribute')['find'](_0x419c97=>_0x3f36('0x3d')==_0xce7d02[_0x3f36('0x34')](_0x419c97[_0x3f36('0xa')]))||(_0x386748[_0x3f36('0x21')](_0x8745e7[_0x3f36('0x23')]()),_0x40937a=!0x0);}return _0x40937a;}),this[_0x3f36('0x43')]();}[_0x3f36('0x1f')](_0x2a102e){const _0x1891d2=this[_0x3f36('0x3e')]['locale'],{data:_0x5a3a43}=_0x2a102e,_0x2cbef5={'type':_0x3f36('0x30'),'content':''};if(!_0x5a3a43||'listStyle'!=_0x5a3a43[_0x3f36('0x1d')])return;if(!_0x5a3a43[_0x3f36('0x14')])return _0x3f36('0x27')==_0x5a3a43[_0x3f36('0x1b')]?_0x2cbef5:{'type':'format','content':''+_0x330ea7(_0x1891d2,_0x3f36('0x3b'),_0x330ea7(_0x1891d2,this[_0x3f36('0xe')](_0x5a3a43[_0x3f36('0x1b')])))};if(!_0x5a3a43[_0x3f36('0x1b')]){if('default'==_0x5a3a43[_0x3f36('0x14')])return _0x2cbef5;let _0x33730a=_0x2a102e[_0x3f36('0x42')];for(;_0x33730a;){if(_0x33730a[_0x3f36('0x20')]&&_0x3f36('0x3d')==_0x33730a[_0x3f36('0x20')][_0x3f36('0x1d')]&&_0x33730a['data']['newValue'])return _0x2cbef5;_0x33730a=_0x33730a[_0x3f36('0x18')];}return{'type':'format','content':''+_0x330ea7(_0x1891d2,_0x3f36('0x29'),_0x330ea7(_0x1891d2,this[_0x3f36('0xe')](_0x5a3a43[_0x3f36('0x14')])))};}if(_0x3f36('0x27')!=_0x5a3a43[_0x3f36('0x1b')])return{'type':'format','content':''+_0x330ea7(_0x1891d2,_0x3f36('0x3b'),_0x330ea7(_0x1891d2,this[_0x3f36('0xe')](_0x5a3a43[_0x3f36('0x1b')])))};let _0x2d300a=_0x2a102e[_0x3f36('0x42')];for(;_0x2d300a;){if(_0x2d300a[_0x3f36('0x20')]&&'listType'==_0x2d300a[_0x3f36('0x20')][_0x3f36('0x1d')]&&_0x2d300a[_0x3f36('0x20')][_0x3f36('0x1b')]&&_0x2d300a[_0x3f36('0x20')]['oldValue'])return _0x2cbef5;_0x2d300a=_0x2d300a[_0x3f36('0x18')];}const _0x4dfbc1=_0x2a102e['getFirstRange']()[_0x3f36('0x38')][_0x3f36('0x2d')]['getAttribute'](_0x3f36('0x3d'));return{'type':_0x3f36('0x30'),'content':_0x330ea7(_0x1891d2,_0x3f36('0x3b'),_0x330ea7(_0x1891d2,_0x3f36('0x22')+_0x4dfbc1[_0x3f36('0x3a')]()+_0x3f36('0x26')))};}['_registerLegacyDescription'](){const _0x1eb273=this['editor'],_0x1f46bd=_0x1eb273[_0x3f36('0x41')];_0x1eb273['plugins'][_0x3f36('0x37')](_0x3f36('0x8'))[_0x3f36('0x39')][_0x3f36('0x1e')](_0x556529=>{if(_0x3f36('0x2b')!=_0x556529['type'])return;const {data:_0x26c5cc}=_0x556529;if(!_0x26c5cc)return;let _0x6e5d1e,_0x49fef3;switch(_0x26c5cc['commandName']){case _0x3f36('0x2'):_0x6e5d1e='*Change\x20to:*\x20%0',_0x49fef3={'type':_0x3f36('0x30'),'content':_0x330ea7(_0x1f46bd,_0x6e5d1e,_0x330ea7(_0x1f46bd,this[_0x3f36('0xe')](_0x26c5cc[_0x3f36('0x9')][0x0][_0x3f36('0x28')])))};break;case _0x3f36('0x5'):_0x6e5d1e=_0x26c5cc[_0x3f36('0x9')][0x0][_0x3f36('0x33')]?_0x3f36('0x6'):_0x3f36('0x3'),_0x49fef3={'type':_0x3f36('0x30'),'content':_0x330ea7(_0x1f46bd,_0x6e5d1e)};break;case _0x3f36('0x19'):_0x6e5d1e='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x49fef3={'type':_0x3f36('0x30'),'content':_0x330ea7(_0x1f46bd,_0x6e5d1e,_0x26c5cc[_0x3f36('0x9')][0x0][_0x3f36('0x32')])};}return _0x49fef3;});}['_getTranslationKeyForListStyle'](_0x1fa236){return _0x3f36('0x22')+function(_0x595a99){if(ae['includes'](_0x595a99))return'bulleted';if(le[_0x3f36('0xd')](_0x595a99))return _0x3f36('0x3c');return null;}(_0x1fa236)[_0x3f36('0x3a')]()+_0x3f36('0xf')+_0x1fa236[_0x3f36('0x3a')]()['replace'](/-/g,'_');}}const ae=[_0x3f36('0x2c'),_0x3f36('0x16'),_0x3f36('0x0')],le=[_0x3f36('0x17'),_0x3f36('0x40'),'lower-roman',_0x3f36('0x35'),_0x3f36('0x1c'),_0x3f36('0x2a')];
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module track-changes/integrations/mediaembed
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for {@link module:media-embed/mediaembed~MediaEmbed media embed feature}.
11
11
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbac9=['editor','createEmptyElement','mediaEmbed','_descriptionFactory','TrackChangesEditing','dataDowncast','locale','media','enableCommand','registerElementLabel','get','div','ELEMENT_MEDIA','data','high','attribute:url:media','downcastDispatcher','stop','has','afterInit','showSuggestionHighlights','elementToElement','plugins','conversion'];(function(_0x228cfc,_0xbac94e){const _0x4dc7dc=function(_0x2a9492){while(--_0x2a9492){_0x228cfc['push'](_0x228cfc['shift']());}};_0x4dc7dc(++_0xbac94e);}(_0xbac9,0xf5));const _0x4dc7=function(_0x228cfc,_0xbac94e){_0x228cfc=_0x228cfc-0x0;let _0x4dc7dc=_0xbac9[_0x228cfc];return _0x4dc7dc;};import{Plugin as _0xb0def8}from'ckeditor5/src/core';import{getTranslation as _0xe9bd26}from'../utils/common-translations';export default class ht extends _0xb0def8{[_0x4dc7('0xe')](){const _0x17016c=this[_0x4dc7('0x13')];if(!_0x17016c['plugins'][_0x4dc7('0xd')]('MediaEmbedEditing'))return;const _0x1ccf2a=_0x17016c[_0x4dc7('0x11')][_0x4dc7('0x5')](_0x4dc7('0x17')),_0x267176=_0x17016c[_0x4dc7('0x1')];_0x1ccf2a[_0x4dc7('0x3')](_0x4dc7('0x15')),_0x1ccf2a[_0x4dc7('0x16')][_0x4dc7('0x4')](_0x4dc7('0x2'),_0x473eec=>_0xe9bd26(_0x267176,_0x4dc7('0x7'),_0x473eec)),_0x17016c[_0x4dc7('0x12')]['for'](_0x4dc7('0x0'))[_0x4dc7('0x10')]({'model':_0x4dc7('0x2'),'view':(_0x1a820f,{writer:_0x36d563,options:_0x7111f4})=>{if(_0x7111f4[_0x4dc7('0xf')])return _0x36d563[_0x4dc7('0x14')](_0x4dc7('0x6'));},'converterPriority':_0x4dc7('0x9')}),_0x17016c[_0x4dc7('0x8')][_0x4dc7('0xb')]['on'](_0x4dc7('0xa'),(_0x14b1cf,_0xcf4915,_0x20b3ab)=>{_0x20b3ab['options']['showSuggestionHighlights']&&_0x14b1cf[_0x4dc7('0xc')]();},{'priority':_0x4dc7('0x9')});}}
23
+ const _0x5468=['for','locale','downcastDispatcher','MediaEmbedEditing','afterInit','dataDowncast','editor','data','registerElementLabel','enableCommand','mediaEmbed','media','has','ELEMENT_MEDIA','plugins','conversion','attribute:url:media','showSuggestionHighlights','elementToElement','div','high'];(function(_0x1f44b7,_0x546872){const _0x8bf8c4=function(_0x13a893){while(--_0x13a893){_0x1f44b7['push'](_0x1f44b7['shift']());}};_0x8bf8c4(++_0x546872);}(_0x5468,0xe7));const _0x8bf8=function(_0x1f44b7,_0x546872){_0x1f44b7=_0x1f44b7-0x0;let _0x8bf8c4=_0x5468[_0x1f44b7];return _0x8bf8c4;};import{Plugin as _0x54b8fa}from'ckeditor5/src/core.js';import{getTranslation as _0x5a98aa}from'../utils/common-translations.js';export default class ft extends _0x54b8fa{[_0x8bf8('0x4')](){const _0xb53462=this[_0x8bf8('0x6')];if(!_0xb53462[_0x8bf8('0xe')][_0x8bf8('0xc')](_0x8bf8('0x3')))return;const _0x57c136=_0xb53462[_0x8bf8('0xe')]['get']('TrackChangesEditing'),_0x139699=_0xb53462[_0x8bf8('0x1')];_0x57c136[_0x8bf8('0x9')](_0x8bf8('0xa')),_0x57c136['_descriptionFactory'][_0x8bf8('0x8')](_0x8bf8('0xb'),_0x3c6de8=>_0x5a98aa(_0x139699,_0x8bf8('0xd'),_0x3c6de8)),_0xb53462[_0x8bf8('0xf')][_0x8bf8('0x0')](_0x8bf8('0x5'))[_0x8bf8('0x12')]({'model':_0x8bf8('0xb'),'view':(_0x2bac1b,{writer:_0x47b9f1,options:_0x4850bc})=>{if(_0x4850bc['showSuggestionHighlights'])return _0x47b9f1['createEmptyElement'](_0x8bf8('0x13'));},'converterPriority':_0x8bf8('0x14')}),_0xb53462[_0x8bf8('0x7')][_0x8bf8('0x2')]['on'](_0x8bf8('0x10'),(_0x5eb0e4,_0x199fa4,_0x3dc750)=>{_0x3dc750['options'][_0x8bf8('0x11')]&&_0x5eb0e4['stop']();},{'priority':_0x8bf8('0x14')});}}
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module track-changes/integrations/mention
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for mention feature.
11
11
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f04=['TrackChangesEditing','MentionEditing','plugins','enableCommand','has','afterInit','mention'];(function(_0x22561d,_0x1f0435){const _0x38b8e8=function(_0x409b98){while(--_0x409b98){_0x22561d['push'](_0x22561d['shift']());}};_0x38b8e8(++_0x1f0435);}(_0x1f04,0xf4));const _0x38b8=function(_0x22561d,_0x1f0435){_0x22561d=_0x22561d-0x0;let _0x38b8e8=_0x1f04[_0x22561d];return _0x38b8e8;};import{Plugin as _0xdd8bc9}from'ckeditor5/src/core';export default class ft extends _0xdd8bc9{[_0x38b8('0x6')](){const _0x33f471=this['editor'];_0x33f471[_0x38b8('0x3')][_0x38b8('0x5')](_0x38b8('0x2'))&&_0x33f471[_0x38b8('0x3')]['get'](_0x38b8('0x1'))[_0x38b8('0x4')](_0x38b8('0x0'));}}
23
+ const _0xcb25=['plugins','mention','MentionEditing','afterInit','enableCommand','TrackChangesEditing'];(function(_0x3d9159,_0xcb25c){const _0x3041c7=function(_0x30f0ce){while(--_0x30f0ce){_0x3d9159['push'](_0x3d9159['shift']());}};_0x3041c7(++_0xcb25c);}(_0xcb25,0x166));const _0x3041=function(_0x3d9159,_0xcb25c){_0x3d9159=_0x3d9159-0x0;let _0x3041c7=_0xcb25[_0x3d9159];return _0x3041c7;};import{Plugin as _0x45dbdb}from'ckeditor5/src/core.js';export default class gt extends _0x45dbdb{[_0x3041('0x5')](){const _0x4be903=this['editor'];_0x4be903[_0x3041('0x2')]['has'](_0x3041('0x4'))&&_0x4be903[_0x3041('0x2')]['get'](_0x3041('0x1'))[_0x3041('0x0')](_0x3041('0x3'));}}
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module track-changes/integrations/pagebreak
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for {@link module:page-break/pagebreak~PageBreak page break feature}.
11
11
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f14=['PageBreakEditing','registerElementLabel','has','enableCommand','plugins','afterInit','TrackChangesEditing','ELEMENT_PAGE_BREAK','get','editor','locale'];(function(_0x331588,_0x4f14bb){const _0x26ce3d=function(_0x3c3484){while(--_0x3c3484){_0x331588['push'](_0x331588['shift']());}};_0x26ce3d(++_0x4f14bb);}(_0x4f14,0x13a));const _0x26ce=function(_0x331588,_0x4f14bb){_0x331588=_0x331588-0x0;let _0x26ce3d=_0x4f14[_0x331588];return _0x26ce3d;};import{Plugin as _0x39c30a}from'ckeditor5/src/core';import{getTranslation as _0x51e2a3}from'../utils/common-translations';export default class gt extends _0x39c30a{[_0x26ce('0xa')](){const _0x459af5=this[_0x26ce('0x3')];if(!_0x459af5[_0x26ce('0x9')][_0x26ce('0x7')](_0x26ce('0x5')))return;_0x459af5[_0x26ce('0x9')]['get'](_0x26ce('0x0'))[_0x26ce('0x8')]('pageBreak');const _0x4e7183=_0x459af5[_0x26ce('0x9')][_0x26ce('0x2')]('TrackChangesEditing'),_0x3f5f7a=_0x459af5[_0x26ce('0x4')];_0x4e7183['_descriptionFactory'][_0x26ce('0x6')]('pageBreak',_0x22bd25=>_0x51e2a3(_0x3f5f7a,_0x26ce('0x1'),_0x22bd25));}}
23
+ const _0x13cd=['_descriptionFactory','get','TrackChangesEditing','afterInit','PageBreakEditing','pageBreak','ELEMENT_PAGE_BREAK','enableCommand','locale','editor','has','plugins'];(function(_0x1c64f6,_0x13cdfe){const _0x19e82e=function(_0x4da461){while(--_0x4da461){_0x1c64f6['push'](_0x1c64f6['shift']());}};_0x19e82e(++_0x13cdfe);}(_0x13cd,0xdb));const _0x19e8=function(_0x1c64f6,_0x13cdfe){_0x1c64f6=_0x1c64f6-0x0;let _0x19e82e=_0x13cd[_0x1c64f6];return _0x19e82e;};import{Plugin as _0x329927}from'ckeditor5/src/core.js';import{getTranslation as _0x66c7e3}from'../utils/common-translations.js';export default class lt extends _0x329927{[_0x19e8('0x0')](){const _0x5ea6e8=this[_0x19e8('0x6')];if(!_0x5ea6e8['plugins'][_0x19e8('0x7')](_0x19e8('0x1')))return;_0x5ea6e8['plugins'][_0x19e8('0xa')](_0x19e8('0xb'))[_0x19e8('0x4')](_0x19e8('0x2'));const _0x5b6693=_0x5ea6e8[_0x19e8('0x8')][_0x19e8('0xa')](_0x19e8('0xb')),_0x308344=_0x5ea6e8[_0x19e8('0x5')];_0x5b6693[_0x19e8('0x9')]['registerElementLabel'](_0x19e8('0x2'),_0x53a7f7=>_0x66c7e3(_0x308344,_0x19e8('0x3'),_0x53a7f7));}}
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module track-changes/integrations/paragraph
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for paragraph feature.
11
11
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c0d=['highest','markerName','editor','plugins','_enableDefaultAttributesIntegration','registerElementLabel','paragraph','ELEMENT_PARAGRAPH','isLimit','addMarker:suggestion:insertion','toViewPosition','mapper','data','insertion','bindElementToMarker','_registerLegacyDescription','registerDescriptionCallback','name','createUIElement','showSuggestionHighlights','isBlock','markerRange','ck-suggestion-marker-split','schema','span','insertParagraph','start','editing','nodeAfter','has','commandName','options','activeMarkers','format','getItemLabel','checkChild','includes','_descriptionFactory','writer','$text','consumable','Paragraph','get','type','downcastDispatcher','locale','ck-suggestion-marker--active','TrackChangesEditing','formatBlock','isTouching','enableCommand','*Change\x20to:*\x20%0','afterInit','model'];(function(_0x5177ba,_0x1c0da6){const _0xef3f46=function(_0x49dbf1){while(--_0x49dbf1){_0x5177ba['push'](_0x5177ba['shift']());}};_0xef3f46(++_0x1c0da6);}(_0x1c0d,0x1ba));const _0xef3f=function(_0x5177ba,_0x1c0da6){_0x5177ba=_0x5177ba-0x0;let _0xef3f46=_0x1c0d[_0x5177ba];return _0xef3f46;};import{Plugin as _0x390609}from'ckeditor5/src/core';import{getTranslation as _0x17ae94}from'../utils/common-translations';export default class lt extends _0x390609{[_0xef3f('0x2a')](){const _0x23281b=this[_0xef3f('0x2e')];if(!_0x23281b[_0xef3f('0x2f')][_0xef3f('0x13')](_0xef3f('0x1f')))return;const _0x491962=_0x23281b[_0xef3f('0x23')],_0x32af01=_0x23281b[_0xef3f('0x2f')]['get']('TrackChangesEditing');_0x32af01[_0xef3f('0x1b')][_0xef3f('0x31')](_0xef3f('0x32'),_0x47892c=>_0x17ae94(_0x491962,_0xef3f('0x33'),_0x47892c)),_0x32af01[_0xef3f('0x30')](_0xef3f('0x32')),_0x32af01[_0xef3f('0x28')](_0xef3f('0xf')),_0x23281b[_0xef3f('0x11')][_0xef3f('0x22')]['on'](_0xef3f('0x35'),nr(_0x23281b),{'priority':_0xef3f('0x2c')}),_0x23281b[_0xef3f('0x2')]['downcastDispatcher']['on'](_0xef3f('0x35'),(_0x387eaa,_0x3c802a,_0x2567ee)=>{_0x2567ee[_0xef3f('0x15')][_0xef3f('0x9')]&&nr(_0x23281b,{'showActiveMarker':!0x1})(_0x387eaa,_0x3c802a,_0x2567ee);},{'priority':_0xef3f('0x2c')});const _0x5c5350=_0x32af01[_0xef3f('0x1b')];_0x5c5350[_0xef3f('0x6')](_0x161650=>{if(_0xef3f('0x3')!==_0x161650[_0xef3f('0x21')])return;const {start:_0x3423a6,end:_0x17cb85}=_0x161650['getFirstRange']();if(!_0x3423a6['isTouching'](_0x17cb85)||!_0x3423a6[_0xef3f('0x12')])return;const _0x687116=_0x23281b[_0xef3f('0x2b')]['schema'],_0x419b37=_0x3423a6[_0xef3f('0x12')];return _0x687116[_0xef3f('0xa')](_0x419b37)&&!_0x687116[_0xef3f('0x34')](_0x419b37)&&_0x687116[_0xef3f('0x19')](_0x419b37,'$text')?{'type':'insertion','content':_0x17ae94(_0x491962,'*Insert:*\x20%0',_0x5c5350[_0xef3f('0x18')](_0x419b37,0x1))}:void 0x0;}),this['_registerLegacyDescription']();}[_0xef3f('0x5')](){const _0x1bf19d=this[_0xef3f('0x2e')],_0x129be3=_0x1bf19d['locale'];_0x1bf19d['plugins'][_0xef3f('0x20')](_0xef3f('0x25'))[_0xef3f('0x1b')]['registerDescriptionCallback'](_0x649e61=>{if(_0xef3f('0x26')!=_0x649e61[_0xef3f('0x21')])return;const {data:_0x128fbd}=_0x649e61;return _0x128fbd&&_0xef3f('0x32')==_0x128fbd[_0xef3f('0x14')]?{'type':_0xef3f('0x17'),'content':_0x17ae94(_0x129be3,_0xef3f('0x29'),_0x17ae94(_0x129be3,_0xef3f('0x33')))}:void 0x0;});}}function nr(_0x741d15,{showActiveMarker:_0x2c853c=!0x0}={}){return(_0x530a51,_0x137325,_0x51524e)=>{const _0xbde0ba=_0x741d15[_0xef3f('0x2f')][_0xef3f('0x20')]('TrackChangesEditing'),_0x352ab6=_0x137325[_0xef3f('0xb')][_0xef3f('0x10')],_0x36da25=_0x137325[_0xef3f('0xb')]['end'],_0x42d47b=_0x741d15[_0xef3f('0x2b')][_0xef3f('0xd')];if(!_0x352ab6[_0xef3f('0x27')](_0x36da25)||!_0x352ab6[_0xef3f('0x12')])return;const _0x24e9dd=_0x352ab6[_0xef3f('0x12')];if(_0x42d47b[_0xef3f('0xa')](_0x24e9dd)&&!_0x42d47b[_0xef3f('0x34')](_0x24e9dd)&&_0x42d47b['checkChild'](_0x24e9dd,_0xef3f('0x1d'))){if(!_0x51524e[_0xef3f('0x1e')]['consume'](_0x137325[_0xef3f('0xb')],_0x530a51[_0xef3f('0x7')]))return;const _0x50cd6f=_0x51524e['writer'][_0xef3f('0x8')](_0xef3f('0xe'),{'class':_0xef3f('0xc')}),_0xb5b6d8=_0x51524e[_0xef3f('0x1')][_0xef3f('0x0')](_0x36da25);_0x2c853c&&_0xbde0ba[_0xef3f('0x16')][_0xef3f('0x1a')](_0x137325[_0xef3f('0x2d')])&&_0x51524e[_0xef3f('0x1c')]['addClass'](_0xef3f('0x24'),_0x50cd6f),_0x51524e['writer']['insert'](_0xb5b6d8,_0x50cd6f),_0x51524e['mapper'][_0xef3f('0x4')](_0x50cd6f,_0x137325[_0xef3f('0x2d')]);}};}
23
+ const _0xe23f=['isBlock','commandName','insertParagraph','_registerLegacyDescription','*Insert:*\x20%0','enableCommand','mapper','Paragraph','getItemLabel','formatBlock','editor','schema','TrackChangesEditing','options','editing','locale','afterInit','$text','has','registerDescriptionCallback','get','data','markerRange','ck-suggestion-marker--active','activeMarkers','includes','getFirstRange','*Change\x20to:*\x20%0','addMarker:suggestion:insertion','consumable','end','insertion','isLimit','_descriptionFactory','showSuggestionHighlights','isTouching','markerName','consume','addClass','start','plugins','writer','highest','ELEMENT_PARAGRAPH','model','ck-suggestion-marker-split','nodeAfter','paragraph','name','type','bindElementToMarker','span'];(function(_0x17e9b6,_0xe23f32){const _0x49d7ca=function(_0x53ef16){while(--_0x53ef16){_0x17e9b6['push'](_0x17e9b6['shift']());}};_0x49d7ca(++_0xe23f32);}(_0xe23f,0xc8));const _0x49d7=function(_0x17e9b6,_0xe23f32){_0x17e9b6=_0x17e9b6-0x0;let _0x49d7ca=_0xe23f[_0x17e9b6];return _0x49d7ca;};import{Plugin as _0x4c2ae3}from'ckeditor5/src/core.js';import{getTranslation as _0x1ac820}from'../utils/common-translations.js';export default class mt extends _0x4c2ae3{[_0x49d7('0x18')](){const _0x203aa7=this[_0x49d7('0x12')];if(!_0x203aa7[_0x49d7('0x30')][_0x49d7('0x1a')](_0x49d7('0xf')))return;const _0x15980a=_0x203aa7[_0x49d7('0x17')],_0x59d8cc=_0x203aa7[_0x49d7('0x30')][_0x49d7('0x1c')](_0x49d7('0x14'));_0x59d8cc[_0x49d7('0x29')]['registerElementLabel'](_0x49d7('0x3'),_0x3b0ed0=>_0x1ac820(_0x15980a,_0x49d7('0x33'),_0x3b0ed0)),_0x59d8cc['_enableDefaultAttributesIntegration'](_0x49d7('0x3')),_0x59d8cc[_0x49d7('0xd')](_0x49d7('0xa')),_0x203aa7[_0x49d7('0x16')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',nr(_0x203aa7),{'priority':_0x49d7('0x32')}),_0x203aa7[_0x49d7('0x1d')]['downcastDispatcher']['on'](_0x49d7('0x24'),(_0x29e4ff,_0x2b3f56,_0x2e7b76)=>{_0x2e7b76[_0x49d7('0x15')][_0x49d7('0x2a')]&&nr(_0x203aa7,{'showActiveMarker':!0x1})(_0x29e4ff,_0x2b3f56,_0x2e7b76);},{'priority':_0x49d7('0x32')});const _0x424241=_0x59d8cc[_0x49d7('0x29')];_0x424241['registerDescriptionCallback'](_0x2be5f0=>{if(_0x49d7('0x27')!==_0x2be5f0[_0x49d7('0x5')])return;const {start:_0x4a0980,end:_0x19a3be}=_0x2be5f0[_0x49d7('0x22')]();if(!_0x4a0980[_0x49d7('0x2b')](_0x19a3be)||!_0x4a0980[_0x49d7('0x2')])return;const _0x2bf5df=_0x203aa7[_0x49d7('0x0')][_0x49d7('0x13')],_0x434a43=_0x4a0980[_0x49d7('0x2')];return _0x2bf5df[_0x49d7('0x8')](_0x434a43)&&!_0x2bf5df['isLimit'](_0x434a43)&&_0x2bf5df['checkChild'](_0x434a43,_0x49d7('0x19'))?{'type':'insertion','content':_0x1ac820(_0x15980a,_0x49d7('0xc'),_0x424241[_0x49d7('0x10')](_0x434a43,0x1))}:void 0x0;}),this[_0x49d7('0xb')]();}[_0x49d7('0xb')](){const _0xd1df98=this[_0x49d7('0x12')],_0x396a3c=_0xd1df98[_0x49d7('0x17')];_0xd1df98[_0x49d7('0x30')][_0x49d7('0x1c')](_0x49d7('0x14'))['_descriptionFactory'][_0x49d7('0x1b')](_0x1de029=>{if(_0x49d7('0x11')!=_0x1de029['type'])return;const {data:_0x43e12e}=_0x1de029;return _0x43e12e&&_0x49d7('0x3')==_0x43e12e[_0x49d7('0x9')]?{'type':'format','content':_0x1ac820(_0x396a3c,_0x49d7('0x23'),_0x1ac820(_0x396a3c,_0x49d7('0x33')))}:void 0x0;});}}function nr(_0x7e0bed,{showActiveMarker:_0x11a986=!0x0}={}){return(_0x3ba4c9,_0x54b92e,_0xcba61b)=>{const _0x5de80d=_0x7e0bed[_0x49d7('0x30')][_0x49d7('0x1c')](_0x49d7('0x14')),_0x44a18e=_0x54b92e[_0x49d7('0x1e')][_0x49d7('0x2f')],_0x5537fa=_0x54b92e[_0x49d7('0x1e')][_0x49d7('0x26')],_0x49bebf=_0x7e0bed[_0x49d7('0x0')][_0x49d7('0x13')];if(!_0x44a18e[_0x49d7('0x2b')](_0x5537fa)||!_0x44a18e[_0x49d7('0x2')])return;const _0x17e095=_0x44a18e[_0x49d7('0x2')];if(_0x49bebf[_0x49d7('0x8')](_0x17e095)&&!_0x49bebf[_0x49d7('0x28')](_0x17e095)&&_0x49bebf['checkChild'](_0x17e095,'$text')){if(!_0xcba61b[_0x49d7('0x25')][_0x49d7('0x2d')](_0x54b92e[_0x49d7('0x1e')],_0x3ba4c9[_0x49d7('0x4')]))return;const _0x5751d7=_0xcba61b['writer']['createUIElement'](_0x49d7('0x7'),{'class':_0x49d7('0x1')}),_0x228e58=_0xcba61b[_0x49d7('0xe')]['toViewPosition'](_0x5537fa);_0x11a986&&_0x5de80d[_0x49d7('0x20')][_0x49d7('0x21')](_0x54b92e[_0x49d7('0x2c')])&&_0xcba61b[_0x49d7('0x31')][_0x49d7('0x2e')](_0x49d7('0x1f'),_0x5751d7),_0xcba61b['writer']['insert'](_0x228e58,_0x5751d7),_0xcba61b[_0x49d7('0xe')][_0x49d7('0x6')](_0x5751d7,_0x54b92e['markerName']);}};}
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module track-changes/integrations/removeformat
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for remove format feature.
11
11
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e02=['has','locale','plugins','_descriptionFactory','commandName','format','_registerLegacyDescription','*Remove\x20all\x20formatting*','TrackChangesEditing','_enableDefaultAttributesIntegration','formatInline','editor','removeFormat','type'];(function(_0x48a300,_0x2e0223){const _0x26c755=function(_0x50c480){while(--_0x50c480){_0x48a300['push'](_0x48a300['shift']());}};_0x26c755(++_0x2e0223);}(_0x2e02,0x195));const _0x26c7=function(_0x48a300,_0x2e0223){_0x48a300=_0x48a300-0x0;let _0x26c755=_0x2e02[_0x48a300];return _0x26c755;};import{Plugin as _0x1f1bdb}from'ckeditor5/src/core';import{getTranslation as _0x1a3c8e}from'../utils/common-translations';export default class mt extends _0x1f1bdb{['afterInit'](){const _0x33ac68=this[_0x26c7('0xc')];if(!_0x33ac68[_0x26c7('0x3')][_0x26c7('0x1')]('RemoveFormatEditing'))return;_0x33ac68[_0x26c7('0x3')]['get'](_0x26c7('0x9'))[_0x26c7('0xa')]('removeFormat'),this[_0x26c7('0x7')]();}[_0x26c7('0x7')](){const _0x31a0b3=this[_0x26c7('0xc')];_0x31a0b3[_0x26c7('0x3')]['get']('TrackChangesEditing')[_0x26c7('0x4')]['registerDescriptionCallback'](_0x3e6d6f=>{if('formatBlock'!=_0x3e6d6f[_0x26c7('0x0')]&&_0x26c7('0xb')!=_0x3e6d6f[_0x26c7('0x0')])return;const {data:_0x16f47c}=_0x3e6d6f;return _0x16f47c&&_0x26c7('0xd')==_0x16f47c[_0x26c7('0x5')]?{'type':_0x26c7('0x6'),'content':_0x1a3c8e(_0x31a0b3[_0x26c7('0x2')],_0x26c7('0x8'))}:void 0x0;});}}
23
+ const _0x3765=['has','get','afterInit','formatInline','*Remove\x20all\x20formatting*','commandName','formatBlock','removeFormat','TrackChangesEditing','plugins','editor','type','registerDescriptionCallback','RemoveFormatEditing','format'];(function(_0xc4ffc6,_0x376554){const _0x20342=function(_0x2aac90){while(--_0x2aac90){_0xc4ffc6['push'](_0xc4ffc6['shift']());}};_0x20342(++_0x376554);}(_0x3765,0x97));const _0x2034=function(_0xc4ffc6,_0x376554){_0xc4ffc6=_0xc4ffc6-0x0;let _0x20342=_0x3765[_0xc4ffc6];return _0x20342;};import{Plugin as _0x561a25}from'ckeditor5/src/core.js';import{getTranslation as _0x5347a7}from'../utils/common-translations.js';export default class dt extends _0x561a25{[_0x2034('0x1')](){const _0x18325e=this[_0x2034('0x9')];if(!_0x18325e['plugins'][_0x2034('0xe')](_0x2034('0xc')))return;_0x18325e[_0x2034('0x8')][_0x2034('0x0')](_0x2034('0x7'))['_enableDefaultAttributesIntegration'](_0x2034('0x6')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x281df4=this[_0x2034('0x9')];_0x281df4[_0x2034('0x8')][_0x2034('0x0')](_0x2034('0x7'))['_descriptionFactory'][_0x2034('0xb')](_0x273249=>{if(_0x2034('0x5')!=_0x273249['type']&&_0x2034('0x2')!=_0x273249[_0x2034('0xa')])return;const {data:_0x4d8ac3}=_0x273249;return _0x4d8ac3&&_0x2034('0x6')==_0x4d8ac3[_0x2034('0x4')]?{'type':_0x2034('0xd'),'content':_0x5347a7(_0x281df4['locale'],_0x2034('0x3'))}:void 0x0;});}}
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module track-changes/integrations/mention
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for restricted editing mode feature from restricted editing package.
11
11
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x100b=['discardAllSuggestions','enableCommand','plugins','TrackChangesEditing','discardSuggestion','trackChanges','goToPreviousRestrictedEditingException','goToNextRestrictedEditingException','has','discardSelectedSuggestions','RestrictedEditingModeEditing','get','editor'];(function(_0x5964f7,_0x100b3e){const _0x411737=function(_0x138027){while(--_0x138027){_0x5964f7['push'](_0x5964f7['shift']());}};_0x411737(++_0x100b3e);}(_0x100b,0x1db));const _0x4117=function(_0x5964f7,_0x100b3e){_0x5964f7=_0x5964f7-0x0;let _0x411737=_0x100b[_0x5964f7];return _0x411737;};import{Plugin as _0x42200e}from'ckeditor5/src/core';export default class dt extends _0x42200e{['afterInit'](){const _0x45b90a=this[_0x4117('0x5')];if(!_0x45b90a[_0x4117('0x8')][_0x4117('0x1')]('RestrictedEditingModeEditing'))return;const _0x247bac=_0x45b90a[_0x4117('0x8')][_0x4117('0x4')](_0x4117('0x9'));_0x247bac['enableCommand'](_0x4117('0xc')),_0x247bac[_0x4117('0x7')](_0x4117('0x0'));const _0x3aeb36=_0x45b90a['plugins'][_0x4117('0x4')](_0x4117('0x3'));_0x3aeb36['enableCommand'](_0x4117('0xb')),_0x3aeb36['enableCommand']('acceptSuggestion'),_0x3aeb36[_0x4117('0x7')](_0x4117('0xa')),_0x3aeb36[_0x4117('0x7')]('acceptAllSuggestions'),_0x3aeb36[_0x4117('0x7')](_0x4117('0x6')),_0x3aeb36['enableCommand']('acceptSelectedSuggestions'),_0x3aeb36[_0x4117('0x7')](_0x4117('0x2'));}}
23
+ const _0x2892=['has','trackChanges','goToNextRestrictedEditingException','get','RestrictedEditingModeEditing','editor','discardSuggestion','goToPreviousRestrictedEditingException','afterInit','plugins','acceptSuggestion','discardSelectedSuggestions','enableCommand','TrackChangesEditing'];(function(_0x14aa49,_0x2892ff){const _0x4d50c4=function(_0x2e29aa){while(--_0x2e29aa){_0x14aa49['push'](_0x14aa49['shift']());}};_0x4d50c4(++_0x2892ff);}(_0x2892,0xba));const _0x4d50=function(_0x14aa49,_0x2892ff){_0x14aa49=_0x14aa49-0x0;let _0x4d50c4=_0x2892[_0x14aa49];return _0x4d50c4;};import{Plugin as _0x3cb4fb}from'ckeditor5/src/core.js';export default class pt extends _0x3cb4fb{[_0x4d50('0x4')](){const _0x235d23=this[_0x4d50('0x1')];if(!_0x235d23[_0x4d50('0x5')][_0x4d50('0xa')](_0x4d50('0x0')))return;const _0x2bd258=_0x235d23[_0x4d50('0x5')]['get'](_0x4d50('0x9'));_0x2bd258['enableCommand'](_0x4d50('0x3')),_0x2bd258[_0x4d50('0x8')](_0x4d50('0xc'));const _0x5f5582=_0x235d23['plugins'][_0x4d50('0xd')]('RestrictedEditingModeEditing');_0x5f5582['enableCommand'](_0x4d50('0xb')),_0x5f5582['enableCommand'](_0x4d50('0x6')),_0x5f5582[_0x4d50('0x8')](_0x4d50('0x2')),_0x5f5582[_0x4d50('0x8')]('acceptAllSuggestions'),_0x5f5582[_0x4d50('0x8')]('discardAllSuggestions'),_0x5f5582[_0x4d50('0x8')]('acceptSelectedSuggestions'),_0x5f5582[_0x4d50('0x8')](_0x4d50('0x7'));}}
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module track-changes/integrations/shiftentercommand
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import { ShiftEnter } from 'ckeditor5/src/enter';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import { ShiftEnter } from 'ckeditor5/src/enter.js';
10
10
  /**
11
11
  * Provides track changes plugin integration for {@link module:enter/shiftentercommand~ShiftEnterCommand enter command}.
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 _0x5337=['createUIElement','data','locale','requires','get','high','editing','split','test','consumable','getItems','bindElementToMarker','createPositionBefore','includes','insert','name','deletion','plugins','softBreak','activeMarkers','span','writer','_descriptionFactory','downcastDispatcher','model','addMarker:suggestion:deletion','toViewPosition','showSuggestionHighlights','ELEMENT_LINE_BREAK','addMarker:suggestion','element','markerName','markerRange','addMarker:suggestion:insertion','TrackChangesEditing'];(function(_0x2d1fb4,_0x5337f4){const _0x541780=function(_0x4f4aea){while(--_0x4f4aea){_0x2d1fb4['push'](_0x2d1fb4['shift']());}};_0x541780(++_0x5337f4);}(_0x5337,0x121));const _0x5417=function(_0x2d1fb4,_0x5337f4){_0x2d1fb4=_0x2d1fb4-0x0;let _0x541780=_0x5337[_0x2d1fb4];return _0x541780;};import{Plugin as _0x2432c5}from'ckeditor5/src/core';import{ShiftEnter as _0x47214f}from'ckeditor5/src/enter';import{getTranslation as _0x193c8f}from'../utils/common-translations';export default class pt extends _0x2432c5{static get[_0x5417('0x1d')](){return[_0x47214f];}['init'](){const _0x297549=this['editor'],_0x4294d9=_0x297549[_0x5417('0x8')][_0x5417('0x1e')](_0x5417('0x19'));_0x4294d9['enableCommand']('shiftEnter'),_0x297549[_0x5417('0x20')][_0x5417('0xe')]['on'](_0x5417('0x18'),re(_0x297549),{'priority':_0x5417('0x1f')}),_0x297549[_0x5417('0x20')][_0x5417('0xe')]['on'](_0x5417('0x10'),re(_0x297549),{'priority':'high'}),_0x297549[_0x5417('0x1b')][_0x5417('0xe')]['on'](_0x5417('0x14'),(_0x2d2bc1,_0x383a84,_0x536d3c)=>{_0x536d3c['options'][_0x5417('0x12')]&&re(_0x297549,{'showActiveMarker':!0x1})(_0x2d2bc1,_0x383a84,_0x536d3c);}),_0x4294d9[_0x5417('0xd')]['registerElementLabel'](_0x5417('0x9'),_0x1d68e1=>_0x193c8f(_0x297549[_0x5417('0x1c')],_0x5417('0x13'),_0x1d68e1));}}function re(_0x10733c,{showActiveMarker:_0x45cde3=!0x0}={}){return(_0x597778,_0x4d2b29,_0x21d475)=>{const _0x49d69e=_0x10733c['plugins'][_0x5417('0x1e')]('TrackChangesEditing');if(!_0x21d475[_0x5417('0x0')][_0x5417('0x22')](_0x4d2b29[_0x5417('0x17')],_0x597778[_0x5417('0x6')]))return;const _0x20381c=_0x10733c[_0x5417('0xf')];for(const _0x1c3492 of _0x4d2b29[_0x5417('0x17')][_0x5417('0x1')]()){if(!_0x1c3492['is'](_0x5417('0x15'),_0x5417('0x9')))continue;const _0x236165=_0x5417('0x7')==_0x4d2b29[_0x5417('0x16')][_0x5417('0x21')](':')[0x1]?'merge':_0x5417('0x21'),_0x226ffc=_0x21d475[_0x5417('0xc')][_0x5417('0x1a')](_0x5417('0xb'),{'class':'ck-suggestion-marker-'+_0x236165}),_0x50c1e0=_0x21d475['mapper'][_0x5417('0x11')](_0x20381c[_0x5417('0x3')](_0x1c3492));_0x45cde3&&_0x49d69e[_0x5417('0xa')][_0x5417('0x4')](_0x4d2b29[_0x5417('0x16')])&&_0x21d475[_0x5417('0xc')]['addClass']('ck-suggestion-marker--active',_0x226ffc),_0x21d475[_0x5417('0xc')][_0x5417('0x5')](_0x50c1e0,_0x226ffc),_0x21d475['mapper'][_0x5417('0x2')](_0x226ffc,_0x4d2b29[_0x5417('0x16')]);}};}
23
+ const _0x1465=['TrackChangesEditing','showSuggestionHighlights','createPositionBefore','addClass','span','requires','high','split','createUIElement','locale','downcastDispatcher','markerName','ck-suggestion-marker-','addMarker:suggestion:deletion','enableCommand','element','data','writer','addMarker:suggestion:insertion','bindElementToMarker','options','insert','test','softBreak','getItems','deletion','activeMarkers','shiftEnter','toViewPosition','markerRange','editor','editing','init','mapper','model','_descriptionFactory','ELEMENT_LINE_BREAK','includes'];(function(_0x5f019a,_0x1465ea){const _0xc6e47a=function(_0x202193){while(--_0x202193){_0x5f019a['push'](_0x5f019a['shift']());}};_0xc6e47a(++_0x1465ea);}(_0x1465,0x1f3));const _0xc6e4=function(_0x5f019a,_0x1465ea){_0x5f019a=_0x5f019a-0x0;let _0xc6e47a=_0x1465[_0x5f019a];return _0xc6e47a;};import{Plugin as _0x2d1d8a}from'ckeditor5/src/core.js';import{ShiftEnter as _0x12eb51}from'ckeditor5/src/enter.js';import{getTranslation as _0xb31b7}from'../utils/common-translations.js';export default class kt extends _0x2d1d8a{static get[_0xc6e4('0x0')](){return[_0x12eb51];}[_0xc6e4('0x1b')](){const _0x408160=this[_0xc6e4('0x19')],_0x29221f=_0x408160['plugins']['get']('TrackChangesEditing');_0x29221f[_0xc6e4('0x9')](_0xc6e4('0x16')),_0x408160[_0xc6e4('0x1a')][_0xc6e4('0x5')]['on'](_0xc6e4('0xd'),re(_0x408160),{'priority':_0xc6e4('0x1')}),_0x408160['editing']['downcastDispatcher']['on'](_0xc6e4('0x8'),re(_0x408160),{'priority':_0xc6e4('0x1')}),_0x408160[_0xc6e4('0xb')][_0xc6e4('0x5')]['on']('addMarker:suggestion',(_0x5ca915,_0x21e6c5,_0x386efb)=>{_0x386efb[_0xc6e4('0xf')][_0xc6e4('0x22')]&&re(_0x408160,{'showActiveMarker':!0x1})(_0x5ca915,_0x21e6c5,_0x386efb);}),_0x29221f[_0xc6e4('0x1e')]['registerElementLabel'](_0xc6e4('0x12'),_0x2071c6=>_0xb31b7(_0x408160[_0xc6e4('0x4')],_0xc6e4('0x1f'),_0x2071c6));}}function re(_0x2d2501,{showActiveMarker:_0x132971=!0x0}={}){return(_0x428a34,_0x286943,_0x1ec218)=>{const _0x550acf=_0x2d2501['plugins']['get'](_0xc6e4('0x21'));if(!_0x1ec218['consumable'][_0xc6e4('0x11')](_0x286943[_0xc6e4('0x18')],_0x428a34['name']))return;const _0x553045=_0x2d2501[_0xc6e4('0x1d')];for(const _0x3f1cfe of _0x286943[_0xc6e4('0x18')][_0xc6e4('0x13')]()){if(!_0x3f1cfe['is'](_0xc6e4('0xa'),_0xc6e4('0x12')))continue;const _0x53e105=_0xc6e4('0x14')==_0x286943[_0xc6e4('0x6')][_0xc6e4('0x2')](':')[0x1]?'merge':_0xc6e4('0x2'),_0x1dacf5=_0x1ec218[_0xc6e4('0xc')][_0xc6e4('0x3')](_0xc6e4('0x25'),{'class':_0xc6e4('0x7')+_0x53e105}),_0x2dc68a=_0x1ec218[_0xc6e4('0x1c')][_0xc6e4('0x17')](_0x553045[_0xc6e4('0x23')](_0x3f1cfe));_0x132971&&_0x550acf[_0xc6e4('0x15')][_0xc6e4('0x20')](_0x286943[_0xc6e4('0x6')])&&_0x1ec218['writer'][_0xc6e4('0x24')]('ck-suggestion-marker--active',_0x1dacf5),_0x1ec218['writer'][_0xc6e4('0x10')](_0x2dc68a,_0x1dacf5),_0x1ec218[_0xc6e4('0x1c')][_0xc6e4('0xe')](_0x1dacf5,_0x286943[_0xc6e4('0x6')]);}};}
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module track-changes/integrations/mention
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for standard editing mode feature from restricted editing package.
11
11
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2b81=['change','isCollapsed','format','getRanges','FORMAT_RESTRICTED_ENABLED','afterInit','has','formatBlock','StandardEditingModeEditing','_descriptionFactory','registerDescriptionCallback','markInlineFormat','model','document','type','locale','forceValue','get','value','selection','commands','formatInline','enableCommand','FORMAT_RESTRICTED_DISABLED','editor','TrackChangesEditing'];(function(_0x51d2e5,_0x2b812f){const _0x50cc6d=function(_0x2f40e5){while(--_0x2f40e5){_0x51d2e5['push'](_0x51d2e5['shift']());}};_0x50cc6d(++_0x2b812f);}(_0x2b81,0x1bc));const _0x50cc=function(_0x51d2e5,_0x2b812f){_0x51d2e5=_0x51d2e5-0x0;let _0x50cc6d=_0x2b81[_0x51d2e5];return _0x50cc6d;};import{Plugin as _0x200ba5}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x345b1a}from'./utils';import{getTranslation as _0x4f1a7f}from'../utils/common-translations';export default class kt extends _0x200ba5{[_0x50cc('0x3')](){const _0x4a3c5d=this[_0x50cc('0x16')],_0x3e06fa=_0x4a3c5d[_0x50cc('0xa')],_0x3cc790=_0x4a3c5d[_0x50cc('0xd')];if(!_0x4a3c5d['plugins'][_0x50cc('0x4')](_0x50cc('0x6')))return;const _0xa9a0b6=_0x4a3c5d['plugins'][_0x50cc('0xf')](_0x50cc('0x17')),_0x4def47='restrictedEditingException',_0x37f795=_0x4a3c5d[_0x50cc('0x12')][_0x50cc('0xf')](_0x4def47);_0xa9a0b6[_0x50cc('0x14')](_0x4def47,(_0x4e8cc0,_0x212e4f={})=>{const _0x3f8d3e=_0x3e06fa[_0x50cc('0xb')][_0x50cc('0x11')];if(_0x3f8d3e[_0x50cc('0x19')])return void _0x4e8cc0(_0x212e4f);const _0x329bb0=void 0x0!==_0x212e4f[_0x50cc('0xe')]?_0x212e4f[_0x50cc('0xe')]:!_0x37f795[_0x50cc('0x10')];_0x3e06fa[_0x50cc('0x18')](()=>{const _0x592749=Array['from'](_0x3f8d3e[_0x50cc('0x1')]());for(const _0x4bbd92 of _0x592749){const _0x1e4a13=_0x329bb0?[_0x4bbd92]:_0x345b1a(_0x4def47,_0x4bbd92,_0x3e06fa);for(const _0x510717 of _0x1e4a13)_0xa9a0b6[_0x50cc('0x9')](_0x510717,{'commandName':_0x4def47,'commandParams':[{'forceValue':_0x329bb0}]});}});}),_0xa9a0b6[_0x50cc('0x7')][_0x50cc('0x8')](_0x4b8445=>{if(_0x50cc('0x5')!=_0x4b8445[_0x50cc('0xc')]&&_0x50cc('0x13')!=_0x4b8445['type'])return;const {data:_0x4e6e5e}=_0x4b8445;return _0x4e6e5e&&_0x4e6e5e['commandName']==_0x4def47?_0x4e6e5e['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x4f1a7f(_0x3cc790,_0x50cc('0x2'))}:{'type':_0x50cc('0x0'),'content':_0x4f1a7f(_0x3cc790,_0x50cc('0x15'))}:void 0x0;});}}
23
+ const _0x59c1=['restrictedEditingException','getRanges','FORMAT_RESTRICTED_DISABLED','document','formatBlock','model','editor','type','format','_descriptionFactory','get','plugins','locale','commandName','commands','enableCommand','StandardEditingModeEditing','value','isCollapsed','change','forceValue','from','selection','FORMAT_RESTRICTED_ENABLED','commandParams','formatInline','registerDescriptionCallback','TrackChangesEditing'];(function(_0x3e452e,_0x59c1c2){const _0x296d33=function(_0x44947e){while(--_0x44947e){_0x3e452e['push'](_0x3e452e['shift']());}};_0x296d33(++_0x59c1c2);}(_0x59c1,0x169));const _0x296d=function(_0x3e452e,_0x59c1c2){_0x3e452e=_0x3e452e-0x0;let _0x296d33=_0x59c1[_0x3e452e];return _0x296d33;};import{Plugin as _0x28873f}from'ckeditor5/src/core.js';import{getRangesWithAttribute as _0x466d4f}from'./utils.js';import{getTranslation as _0x589328}from'../utils/common-translations.js';export default class bt extends _0x28873f{['afterInit'](){const _0x2c801=this[_0x296d('0x9')],_0x2e263f=_0x2c801[_0x296d('0x8')],_0x5a7da1=_0x2c801[_0x296d('0xf')];if(!_0x2c801[_0x296d('0xe')]['has'](_0x296d('0x13')))return;const _0x20e905=_0x2c801[_0x296d('0xe')][_0x296d('0xd')](_0x296d('0x2')),_0x5f0c7d=_0x296d('0x3'),_0x421653=_0x2c801[_0x296d('0x11')][_0x296d('0xd')](_0x5f0c7d);_0x20e905[_0x296d('0x12')](_0x5f0c7d,(_0x4fa634,_0x4f69ca={})=>{const _0x1fa627=_0x2e263f[_0x296d('0x6')][_0x296d('0x19')];if(_0x1fa627[_0x296d('0x15')])return void _0x4fa634(_0x4f69ca);const _0x22f98f=void 0x0!==_0x4f69ca[_0x296d('0x17')]?_0x4f69ca[_0x296d('0x17')]:!_0x421653[_0x296d('0x14')];_0x2e263f[_0x296d('0x16')](()=>{const _0x59da86=Array[_0x296d('0x18')](_0x1fa627[_0x296d('0x4')]());for(const _0x1191b3 of _0x59da86){const _0x19f0d6=_0x22f98f?[_0x1191b3]:_0x466d4f(_0x5f0c7d,_0x1191b3,_0x2e263f);for(const _0x6d4236 of _0x19f0d6)_0x20e905['markInlineFormat'](_0x6d4236,{'commandName':_0x5f0c7d,'commandParams':[{'forceValue':_0x22f98f}]});}});}),_0x20e905[_0x296d('0xc')][_0x296d('0x1')](_0x3c0026=>{if(_0x296d('0x7')!=_0x3c0026[_0x296d('0xa')]&&_0x296d('0x0')!=_0x3c0026['type'])return;const {data:_0x2c0d65}=_0x3c0026;return _0x2c0d65&&_0x2c0d65[_0x296d('0x10')]==_0x5f0c7d?_0x2c0d65[_0x296d('0x1b')][0x0]['forceValue']?{'type':'format','content':_0x589328(_0x5a7da1,_0x296d('0x1a'))}:{'type':_0x296d('0xb'),'content':_0x589328(_0x5a7da1,_0x296d('0x5'))}:void 0x0;});}}
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module track-changes/integrations/style
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for styles dropdown feature.
11
11
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3101=['registerDescriptionCallback','style','StyleUtils','_registerInlineAttribute','formatInline','*Set\x20format:*\x20%0','inline','definitions','commandName','TrackChangesEditing','config','add','plugins','getGhsAttributeNameForElement','editor','ghsAttributes','FORMAT_STYLE','normalizeConfig','styleName','format','toLowerCase','commandParams','registerAttributeLabel','element','block','_enableDefaultAttributesIntegration','_registerBlockAttribute','locale','type','_descriptionFactory','get','*Remove\x20format:*\x20%0','DataSchema','_registerLegacyDescription'];(function(_0x1e3a1d,_0x3101bb){const _0x2805ef=function(_0x1acbd4){while(--_0x1acbd4){_0x1e3a1d['push'](_0x1e3a1d['shift']());}};_0x2805ef(++_0x3101bb);}(_0x3101,0xe3));const _0x2805=function(_0x1e3a1d,_0x3101bb){_0x1e3a1d=_0x1e3a1d-0x0;let _0x2805ef=_0x3101[_0x1e3a1d];return _0x2805ef;};import{Plugin as _0x3bf34b}from'ckeditor5/src/core';import{getTranslation as _0x448673}from'../utils/common-translations';export default class bt extends _0x3bf34b{['afterInit'](){const _0x4c861c=this[_0x2805('0x19')];if(!_0x4c861c[_0x2805('0x17')]['has']('Style')||!_0x4c861c[_0x2805('0x17')]['has'](_0x2805('0x9')))return;const _0x129c74=_0x4c861c[_0x2805('0x17')][_0x2805('0x7')](_0x2805('0x14')),_0x1c6fea=_0x4c861c['locale'],_0x3a8ea9=_0x4c861c[_0x2805('0x15')][_0x2805('0x7')](_0x2805('0xc')),_0x2d9fbb=_0x4c861c[_0x2805('0x17')][_0x2805('0x7')]('GeneralHtmlSupport'),_0x7af576=_0x4c861c['plugins'][_0x2805('0x7')](_0x2805('0xd'))[_0x2805('0x1c')](_0x4c861c[_0x2805('0x17')][_0x2805('0x7')](_0x2805('0x9')),_0x3a8ea9[_0x2805('0x12')]);_0x129c74[_0x2805('0x2')](_0x2805('0xc'));const _0x510bad=new Set();for(const _0x47b5a4 of _0x7af576[_0x2805('0x1')]){const _0x3f37e3=_0x2d9fbb['getGhsAttributeNameForElement'](_0x47b5a4[_0x2805('0x0')]);_0x510bad[_0x2805('0x16')](_0x3f37e3);}const _0x16332f=new Set();for(const _0x2b9071 of _0x7af576[_0x2805('0x11')]){const _0x31681d=_0x2d9fbb[_0x2805('0x18')](_0x2b9071['element']);_0x16332f[_0x2805('0x16')](_0x31681d);for(const _0xf2e740 of _0x2b9071[_0x2805('0x1a')])_0x16332f[_0x2805('0x16')](_0xf2e740);}for(const _0x27f6e4 of _0x510bad)_0x129c74[_0x2805('0x3')](_0x27f6e4),_0x129c74['_descriptionFactory']['registerAttributeLabel'](_0x27f6e4,_0x448673(_0x1c6fea,_0x2805('0x1b')));for(const _0x208372 of _0x16332f)_0x129c74[_0x2805('0xe')](_0x208372),_0x129c74[_0x2805('0x6')][_0x2805('0x21')](_0x208372,_0x448673(_0x1c6fea,_0x2805('0x1b')));this[_0x2805('0xa')]();}[_0x2805('0xa')](){const _0x23b12e=this[_0x2805('0x19')],_0x28dab3=_0x23b12e[_0x2805('0x4')];_0x23b12e['plugins']['get'](_0x2805('0x14'))[_0x2805('0x6')][_0x2805('0xb')](_0x116c0a=>{if('formatBlock'!=_0x116c0a[_0x2805('0x5')]&&_0x2805('0xf')!=_0x116c0a['type'])return;const {data:_0x489027}=_0x116c0a;return _0x489027&&_0x2805('0xc')===_0x489027[_0x2805('0x13')]?_0x489027['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x448673(_0x28dab3,_0x2805('0x10'),_0x489027['commandParams'][0x0]['styleName'][_0x2805('0x1f')]())}:{'type':_0x2805('0x1e'),'content':_0x448673(_0x28dab3,_0x2805('0x8'),_0x489027[_0x2805('0x20')][0x0][_0x2805('0x1d')][_0x2805('0x1f')]())}:void 0x0;});}}
23
+ const _0x4b86=['ghsAttributes','locale','DataSchema','get','registerDescriptionCallback','has','commandName','normalizeConfig','type','block','FORMAT_STYLE','GeneralHtmlSupport','commandParams','toLowerCase','_registerLegacyDescription','_registerInlineAttribute','add','style','registerAttributeLabel','_enableDefaultAttributesIntegration','config','formatBlock','_descriptionFactory','inline','editor','TrackChangesEditing','element','styleName','plugins','definitions','forceValue','*Remove\x20format:*\x20%0','_registerBlockAttribute'];(function(_0x272193,_0x4b8691){const _0x408c83=function(_0xa8739c){while(--_0xa8739c){_0x272193['push'](_0x272193['shift']());}};_0x408c83(++_0x4b8691);}(_0x4b86,0x108));const _0x408c=function(_0x272193,_0x4b8691){_0x272193=_0x272193-0x0;let _0x408c83=_0x4b86[_0x272193];return _0x408c83;};import{Plugin as _0x85284b}from'ckeditor5/src/core.js';import{getTranslation as _0x25c353}from'../utils/common-translations.js';export default class wt extends _0x85284b{['afterInit'](){const _0x52c796=this[_0x408c('0x18')];if(!_0x52c796[_0x408c('0x1c')][_0x408c('0x5')]('Style')||!_0x52c796['plugins'][_0x408c('0x5')]('DataSchema'))return;const _0x27ac5a=_0x52c796[_0x408c('0x1c')][_0x408c('0x3')]('TrackChangesEditing'),_0xcbb09c=_0x52c796['locale'],_0x58bd5c=_0x52c796[_0x408c('0x14')][_0x408c('0x3')]('style'),_0x1d1a87=_0x52c796[_0x408c('0x1c')]['get'](_0x408c('0xb')),_0x436afc=_0x52c796['plugins'][_0x408c('0x3')]('StyleUtils')[_0x408c('0x7')](_0x52c796[_0x408c('0x1c')][_0x408c('0x3')](_0x408c('0x2')),_0x58bd5c[_0x408c('0x1d')]);_0x27ac5a[_0x408c('0x13')]('style');const _0x9baf84=new Set();for(const _0x314e64 of _0x436afc[_0x408c('0x9')]){const _0x295aa9=_0x1d1a87['getGhsAttributeNameForElement'](_0x314e64[_0x408c('0x1a')]);_0x9baf84[_0x408c('0x10')](_0x295aa9);}const _0x21eba3=new Set();for(const _0x5c22e0 of _0x436afc[_0x408c('0x17')]){const _0x1b080c=_0x1d1a87['getGhsAttributeNameForElement'](_0x5c22e0[_0x408c('0x1a')]);_0x21eba3[_0x408c('0x10')](_0x1b080c);for(const _0x2c6dce of _0x5c22e0[_0x408c('0x0')])_0x21eba3[_0x408c('0x10')](_0x2c6dce);}for(const _0x45576c of _0x9baf84)_0x27ac5a[_0x408c('0x20')](_0x45576c),_0x27ac5a[_0x408c('0x16')][_0x408c('0x12')](_0x45576c,_0x25c353(_0xcbb09c,'FORMAT_STYLE'));for(const _0x19b47a of _0x21eba3)_0x27ac5a[_0x408c('0xf')](_0x19b47a),_0x27ac5a['_descriptionFactory'][_0x408c('0x12')](_0x19b47a,_0x25c353(_0xcbb09c,_0x408c('0xa')));this['_registerLegacyDescription']();}[_0x408c('0xe')](){const _0x59714a=this[_0x408c('0x18')],_0xdbd1d3=_0x59714a[_0x408c('0x1')];_0x59714a[_0x408c('0x1c')][_0x408c('0x3')](_0x408c('0x19'))[_0x408c('0x16')][_0x408c('0x4')](_0x34f18e=>{if(_0x408c('0x15')!=_0x34f18e['type']&&'formatInline'!=_0x34f18e[_0x408c('0x8')])return;const {data:_0x5b8b34}=_0x34f18e;return _0x5b8b34&&_0x408c('0x11')===_0x5b8b34[_0x408c('0x6')]?_0x5b8b34[_0x408c('0xc')][0x0][_0x408c('0x1e')]?{'type':'format','content':_0x25c353(_0xdbd1d3,'*Set\x20format:*\x20%0',_0x5b8b34[_0x408c('0xc')][0x0][_0x408c('0x1b')][_0x408c('0xd')]())}:{'type':'format','content':_0x25c353(_0xdbd1d3,_0x408c('0x1f'),_0x5b8b34[_0x408c('0xc')][0x0][_0x408c('0x1b')][_0x408c('0xd')]())}:void 0x0;});}}
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module track-changes/integrations/table
7
7
  */
8
- import { Plugin, type Editor } from 'ckeditor5/src/core';
8
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for {@link module:table/table~Table table feature}.
11
11
  */