@ckeditor/ckeditor5-track-changes 40.0.0 → 40.1.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 (230) hide show
  1. package/LICENSE.md +3 -3
  2. package/build/track-changes.js +2 -2
  3. package/build/translations/ar.js +1 -1
  4. package/build/translations/az.js +1 -1
  5. package/build/translations/bg.js +1 -1
  6. package/build/translations/bn.js +1 -1
  7. package/build/translations/ca.js +1 -1
  8. package/build/translations/cs.js +1 -1
  9. package/build/translations/da.js +1 -1
  10. package/build/translations/de.js +1 -1
  11. package/build/translations/el.js +1 -1
  12. package/build/translations/en-au.js +1 -1
  13. package/build/translations/es.js +1 -1
  14. package/build/translations/et.js +1 -1
  15. package/build/translations/fi.js +1 -1
  16. package/build/translations/fr.js +1 -1
  17. package/build/translations/gl.js +1 -1
  18. package/build/translations/he.js +1 -1
  19. package/build/translations/hi.js +1 -1
  20. package/build/translations/hr.js +1 -1
  21. package/build/translations/hu.js +1 -1
  22. package/build/translations/id.js +1 -1
  23. package/build/translations/it.js +1 -1
  24. package/build/translations/ja.js +1 -1
  25. package/build/translations/ko.js +1 -1
  26. package/build/translations/lt.js +1 -1
  27. package/build/translations/lv.js +1 -1
  28. package/build/translations/ms.js +1 -1
  29. package/build/translations/nl.js +1 -1
  30. package/build/translations/no.js +1 -1
  31. package/build/translations/pl.js +1 -1
  32. package/build/translations/pt-br.js +1 -1
  33. package/build/translations/pt.js +1 -1
  34. package/build/translations/ro.js +1 -1
  35. package/build/translations/ru.js +1 -1
  36. package/build/translations/sk.js +1 -1
  37. package/build/translations/sq.js +1 -1
  38. package/build/translations/sr-latn.js +1 -1
  39. package/build/translations/sr.js +1 -1
  40. package/build/translations/sv.js +1 -1
  41. package/build/translations/th.js +1 -1
  42. package/build/translations/tk.js +1 -1
  43. package/build/translations/tr.js +1 -1
  44. package/build/translations/tt.js +1 -1
  45. package/build/translations/uk.js +1 -1
  46. package/build/translations/ur.js +1 -1
  47. package/build/translations/vi.js +1 -1
  48. package/build/translations/zh-cn.js +1 -1
  49. package/build/translations/zh.js +1 -1
  50. package/lang/contexts.json +20 -1
  51. package/lang/translations/ar.po +76 -0
  52. package/lang/translations/az.po +76 -0
  53. package/lang/translations/bg.po +76 -0
  54. package/lang/translations/bn.po +76 -0
  55. package/lang/translations/ca.po +76 -0
  56. package/lang/translations/cs.po +76 -0
  57. package/lang/translations/da.po +76 -0
  58. package/lang/translations/de.po +76 -0
  59. package/lang/translations/el.po +76 -0
  60. package/lang/translations/en-au.po +76 -0
  61. package/lang/translations/en.po +76 -0
  62. package/lang/translations/es.po +76 -0
  63. package/lang/translations/et.po +76 -0
  64. package/lang/translations/fi.po +76 -0
  65. package/lang/translations/fr.po +76 -0
  66. package/lang/translations/gl.po +76 -0
  67. package/lang/translations/he.po +76 -0
  68. package/lang/translations/hi.po +76 -0
  69. package/lang/translations/hr.po +76 -0
  70. package/lang/translations/hu.po +76 -0
  71. package/lang/translations/id.po +76 -0
  72. package/lang/translations/it.po +76 -0
  73. package/lang/translations/ja.po +76 -0
  74. package/lang/translations/ko.po +76 -0
  75. package/lang/translations/lt.po +76 -0
  76. package/lang/translations/lv.po +76 -0
  77. package/lang/translations/ms.po +76 -0
  78. package/lang/translations/nl.po +76 -0
  79. package/lang/translations/no.po +76 -0
  80. package/lang/translations/pl.po +76 -0
  81. package/lang/translations/pt-br.po +94 -18
  82. package/lang/translations/pt.po +76 -0
  83. package/lang/translations/ro.po +76 -0
  84. package/lang/translations/ru.po +76 -0
  85. package/lang/translations/sk.po +76 -0
  86. package/lang/translations/sq.po +76 -0
  87. package/lang/translations/sr-latn.po +76 -0
  88. package/lang/translations/sr.po +76 -0
  89. package/lang/translations/sv.po +76 -0
  90. package/lang/translations/th.po +76 -0
  91. package/lang/translations/tk.po +76 -0
  92. package/lang/translations/tr.po +76 -0
  93. package/lang/translations/tt.po +76 -0
  94. package/lang/translations/uk.po +76 -0
  95. package/lang/translations/ur.po +76 -0
  96. package/lang/translations/vi.po +76 -0
  97. package/lang/translations/zh-cn.po +76 -0
  98. package/lang/translations/zh.po +76 -0
  99. package/package.json +3 -3
  100. package/src/augmentation.d.ts +40 -40
  101. package/src/commands/acceptsuggestioncommand.d.ts +24 -24
  102. package/src/commands/acceptsuggestioncommand.js +1 -1
  103. package/src/commands/discardsuggestioncommand.d.ts +24 -24
  104. package/src/commands/discardsuggestioncommand.js +1 -1
  105. package/src/commands/executeonallsuggestionscommand.d.ts +24 -24
  106. package/src/commands/executeonallsuggestionscommand.js +1 -1
  107. package/src/commands/executeonselectedsuggestionscommand.d.ts +24 -24
  108. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  109. package/src/commands/trackchangescommand.d.ts +26 -26
  110. package/src/commands/trackchangescommand.js +1 -1
  111. package/src/index.d.ts +16 -16
  112. package/src/integrations/aiassistant.d.ts +17 -17
  113. package/src/integrations/aiassistant.js +1 -1
  114. package/src/integrations/alignment.d.ts +17 -17
  115. package/src/integrations/alignment.js +1 -1
  116. package/src/integrations/basicstyles.d.ts +17 -17
  117. package/src/integrations/basicstyles.js +1 -1
  118. package/src/integrations/blockquote.d.ts +17 -17
  119. package/src/integrations/blockquote.js +1 -1
  120. package/src/integrations/ckbox.d.ts +17 -17
  121. package/src/integrations/ckbox.js +1 -1
  122. package/src/integrations/codeblock.d.ts +17 -17
  123. package/src/integrations/codeblock.js +1 -1
  124. package/src/integrations/comments.d.ts +14 -14
  125. package/src/integrations/comments.js +1 -1
  126. package/src/integrations/deletecommand.d.ts +17 -17
  127. package/src/integrations/deletecommand.js +1 -1
  128. package/src/integrations/documentlist.d.ts +17 -17
  129. package/src/integrations/documentlist.js +1 -1
  130. package/src/integrations/documentlistproperties.d.ts +29 -29
  131. package/src/integrations/documentlistproperties.js +1 -1
  132. package/src/integrations/entercommand.d.ts +16 -16
  133. package/src/integrations/entercommand.js +1 -1
  134. package/src/integrations/findandreplace.d.ts +21 -21
  135. package/src/integrations/findandreplace.js +1 -1
  136. package/src/integrations/font.d.ts +17 -17
  137. package/src/integrations/font.js +1 -1
  138. package/src/integrations/formatpainter.d.ts +17 -17
  139. package/src/integrations/formatpainter.js +1 -1
  140. package/src/integrations/heading.d.ts +17 -17
  141. package/src/integrations/heading.js +1 -1
  142. package/src/integrations/highlight.d.ts +17 -17
  143. package/src/integrations/highlight.js +1 -1
  144. package/src/integrations/horizontalline.d.ts +17 -17
  145. package/src/integrations/horizontalline.js +1 -1
  146. package/src/integrations/htmlembed.d.ts +17 -17
  147. package/src/integrations/htmlembed.js +1 -1
  148. package/src/integrations/image.d.ts +17 -17
  149. package/src/integrations/image.js +1 -1
  150. package/src/integrations/imagereplace.d.ts +17 -23
  151. package/src/integrations/imagereplace.js +1 -1
  152. package/src/integrations/imagestyle.d.ts +17 -0
  153. package/src/integrations/imagestyle.js +23 -0
  154. package/src/integrations/importword.d.ts +18 -18
  155. package/src/integrations/importword.js +1 -1
  156. package/src/integrations/indent.d.ts +17 -17
  157. package/src/integrations/indent.js +1 -1
  158. package/src/integrations/inputcommand.d.ts +16 -16
  159. package/src/integrations/inputcommand.js +1 -1
  160. package/src/integrations/link.d.ts +17 -17
  161. package/src/integrations/link.js +1 -1
  162. package/src/integrations/list.d.ts +17 -17
  163. package/src/integrations/list.js +1 -1
  164. package/src/integrations/listproperties.d.ts +29 -29
  165. package/src/integrations/listproperties.js +1 -1
  166. package/src/integrations/mediaembed.d.ts +17 -17
  167. package/src/integrations/mediaembed.js +1 -1
  168. package/src/integrations/mention.d.ts +17 -17
  169. package/src/integrations/mention.js +1 -1
  170. package/src/integrations/pagebreak.d.ts +17 -17
  171. package/src/integrations/pagebreak.js +1 -1
  172. package/src/integrations/paragraph.d.ts +17 -17
  173. package/src/integrations/paragraph.js +1 -1
  174. package/src/integrations/removeformat.d.ts +17 -17
  175. package/src/integrations/removeformat.js +1 -1
  176. package/src/integrations/restrictededitingmode.d.ts +17 -17
  177. package/src/integrations/restrictededitingmode.js +1 -1
  178. package/src/integrations/shiftentercommand.d.ts +16 -16
  179. package/src/integrations/shiftentercommand.js +1 -1
  180. package/src/integrations/standardeditingmode.d.ts +17 -17
  181. package/src/integrations/standardeditingmode.js +1 -1
  182. package/src/integrations/style.d.ts +17 -18
  183. package/src/integrations/style.js +1 -1
  184. package/src/integrations/table.d.ts +42 -42
  185. package/src/integrations/table.js +1 -1
  186. package/src/integrations/tablecaption.d.ts +22 -22
  187. package/src/integrations/tablecaption.js +1 -1
  188. package/src/integrations/tableclipboard.d.ts +19 -19
  189. package/src/integrations/tableclipboard.js +1 -1
  190. package/src/integrations/tablecolumnresize.d.ts +26 -26
  191. package/src/integrations/tablecolumnresize.js +1 -1
  192. package/src/integrations/tableheadings.d.ts +22 -22
  193. package/src/integrations/tableheadings.js +1 -1
  194. package/src/integrations/tablemergesplit.d.ts +22 -22
  195. package/src/integrations/tablemergesplit.js +1 -1
  196. package/src/integrations/tableofcontents.d.ts +17 -17
  197. package/src/integrations/tableofcontents.js +1 -1
  198. package/src/integrations/tableproperties.d.ts +27 -27
  199. package/src/integrations/tableproperties.js +1 -1
  200. package/src/integrations/template.d.ts +17 -17
  201. package/src/integrations/template.js +1 -1
  202. package/src/integrations/title.d.ts +17 -17
  203. package/src/integrations/title.js +1 -1
  204. package/src/integrations/undo.d.ts +17 -17
  205. package/src/integrations/undo.js +1 -1
  206. package/src/integrations/utils.d.ts +21 -21
  207. package/src/integrations/utils.js +1 -1
  208. package/src/suggestion.d.ts +291 -276
  209. package/src/suggestion.js +1 -1
  210. package/src/suggestiondescriptionfactory.d.ts +183 -163
  211. package/src/suggestiondescriptionfactory.js +1 -1
  212. package/src/trackchanges.d.ts +180 -244
  213. package/src/trackchanges.js +1 -1
  214. package/src/trackchangesconfig.d.ts +78 -75
  215. package/src/trackchangesdata.d.ts +41 -41
  216. package/src/trackchangesdata.js +1 -1
  217. package/src/trackchangesediting.d.ts +524 -468
  218. package/src/trackchangesediting.js +1 -1
  219. package/src/trackchangesui.d.ts +38 -38
  220. package/src/trackchangesui.js +1 -1
  221. package/src/ui/suggestioncontroller.d.ts +37 -37
  222. package/src/ui/suggestioncontroller.js +1 -1
  223. package/src/ui/view/basesuggestionthreadview.d.ts +170 -170
  224. package/src/ui/view/basesuggestionthreadview.js +1 -1
  225. package/src/ui/view/suggestionthreadview.d.ts +182 -182
  226. package/src/ui/view/suggestionthreadview.js +1 -1
  227. package/src/utils/common-translations.d.ts +9 -9
  228. package/src/utils/common-translations.js +1 -1
  229. package/src/utils/utils.d.ts +30 -30
  230. package/src/utils/utils.js +1 -1
@@ -1,26 +1,26 @@
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/commands/trackchangescommand
7
- * @publicApi
8
- */
9
- import { Command, type Editor } from 'ckeditor5/src/core';
10
- /**
11
- * Turns the track changes mode on and off.
12
- *
13
- * When the track changes mode is on, this command disables all the unsupported commands.
14
- */
15
- export default class TrackChangesCommand extends Command {
16
- value: boolean;
17
- constructor(editor: Editor, enabledCommands: Set<Command>);
18
- /**
19
- * @inheritDoc
20
- */
21
- refresh(): void;
22
- /**
23
- * @inheritDoc
24
- */
25
- execute(): void;
26
- }
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/commands/trackchangescommand
7
+ * @publicApi
8
+ */
9
+ import { Command, type Editor } from 'ckeditor5/src/core';
10
+ /**
11
+ * Turns the track changes mode on and off.
12
+ *
13
+ * When the track changes mode is on, this command disables all the unsupported commands.
14
+ */
15
+ export default class TrackChangesCommand extends Command {
16
+ value: boolean;
17
+ constructor(editor: Editor, enabledCommands: Set<Command>);
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ refresh(): void;
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ execute(): void;
26
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x10f5=['editor','commands','refresh','_isEnabledBasedOnSelection','_enabledCommands','value','has','clearForceDisabled','execute','affectsData','_disableUnsupportedCommands','_enableCommands','TrackChangesCommand'];(function(_0x7b61f7,_0x10f5cc){const _0x381bcd=function(_0x10be11){while(--_0x10be11){_0x7b61f7['push'](_0x7b61f7['shift']());}};_0x381bcd(++_0x10f5cc);}(_0x10f5,0x84));const _0x381b=function(_0x7b61f7,_0x10f5cc){_0x7b61f7=_0x7b61f7-0x0;let _0x381bcd=_0x10f5[_0x7b61f7];return _0x381bcd;};import{Command as _0x459803}from'ckeditor5/src/core';export default class _ extends _0x459803{constructor(_0x23baba,_0x43493d){super(_0x23baba),this[_0x381b('0x2')]=_0x43493d,this[_0x381b('0x3')]=!0x1,this[_0x381b('0x0')](),this[_0x381b('0x1')]=!0x1;}[_0x381b('0x0')](){this['isEnabled']=!0x0;}[_0x381b('0x6')](){this[_0x381b('0x3')]=!this[_0x381b('0x3')],this[_0x381b('0x3')]?this['_disableUnsupportedCommands']():this[_0x381b('0x9')]();}[_0x381b('0x8')](){for(const _0x336785 of this[_0x381b('0xb')]['commands'][_0x381b('0xc')]())_0x336785['affectsData']&&!this['_enabledCommands'][_0x381b('0x4')](_0x336785)&&_0x336785['forceDisabled']('TrackChangesCommand');}[_0x381b('0x9')](){for(const _0x529307 of this[_0x381b('0xb')][_0x381b('0xc')][_0x381b('0xc')]())_0x529307[_0x381b('0x7')]&&!this[_0x381b('0x2')]['has'](_0x529307)&&_0x529307[_0x381b('0x5')](_0x381b('0xa'));}}
23
+ const _0x4d84=['TrackChangesCommand','has','_disableUnsupportedCommands','_enabledCommands','isEnabled','refresh','editor','_isEnabledBasedOnSelection','commands','forceDisabled','execute','value','affectsData','clearForceDisabled'];(function(_0x32e9f1,_0x4d8430){const _0x445dd7=function(_0x35573c){while(--_0x35573c){_0x32e9f1['push'](_0x32e9f1['shift']());}};_0x445dd7(++_0x4d8430);}(_0x4d84,0x13a));const _0x445d=function(_0x32e9f1,_0x4d8430){_0x32e9f1=_0x32e9f1-0x0;let _0x445dd7=_0x4d84[_0x32e9f1];return _0x445dd7;};import{Command as _0x25a8fe}from'ckeditor5/src/core';export default class $ extends _0x25a8fe{constructor(_0x3f416d,_0x90c391){super(_0x3f416d),this[_0x445d('0xb')]=_0x90c391,this[_0x445d('0x5')]=!0x1,this[_0x445d('0xd')](),this[_0x445d('0x1')]=!0x1;}[_0x445d('0xd')](){this[_0x445d('0xc')]=!0x0;}[_0x445d('0x4')](){this['value']=!this[_0x445d('0x5')],this['value']?this[_0x445d('0xa')]():this['_enableCommands']();}[_0x445d('0xa')](){for(const _0x4edee4 of this[_0x445d('0x0')][_0x445d('0x2')][_0x445d('0x2')]())_0x4edee4['affectsData']&&!this[_0x445d('0xb')][_0x445d('0x9')](_0x4edee4)&&_0x4edee4[_0x445d('0x3')](_0x445d('0x8'));}['_enableCommands'](){for(const _0x5e4612 of this['editor'][_0x445d('0x2')][_0x445d('0x2')]())_0x5e4612[_0x445d('0x6')]&&!this[_0x445d('0xb')]['has'](_0x5e4612)&&_0x5e4612[_0x445d('0x7')](_0x445d('0x8'));}}
package/src/index.d.ts CHANGED
@@ -1,16 +1,16 @@
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
- export { default as TrackChanges, type SuggestionData } from './trackchanges';
6
- export { default as TrackChangesData } from './trackchangesdata';
7
- export { default as TrackChangesEditing } from './trackchangesediting';
8
- export type { SuggestionJSON } from './suggestion';
9
- export { default as BaseSuggestionThreadView } from './ui/view/basesuggestionthreadview';
10
- export type { TrackChangesConfig } from './trackchangesconfig';
11
- export type { default as AcceptSuggestionCommand } from './commands/acceptsuggestioncommand';
12
- export type { default as DiscardSuggestionCommand } from './commands/discardsuggestioncommand';
13
- export type { default as ExecuteOnAllSuggestionsCommand } from './commands/executeonallsuggestionscommand';
14
- export type { default as ExecuteOnSelectedSuggestionsCommand } from './commands/executeonselectedsuggestionscommand';
15
- export type { default as TrackChangesCommand } from './commands/trackchangescommand';
16
- import './augmentation';
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
+ export { default as TrackChanges, type SuggestionData, type TrackChangesAdapter } from './trackchanges';
6
+ export { default as TrackChangesData } from './trackchangesdata';
7
+ export { default as TrackChangesEditing } from './trackchangesediting';
8
+ export type { SuggestionJSON } from './suggestion';
9
+ export { default as BaseSuggestionThreadView } from './ui/view/basesuggestionthreadview';
10
+ export type { TrackChangesConfig } from './trackchangesconfig';
11
+ export type { default as AcceptSuggestionCommand } from './commands/acceptsuggestioncommand';
12
+ export type { default as DiscardSuggestionCommand } from './commands/discardsuggestioncommand';
13
+ export type { default as ExecuteOnAllSuggestionsCommand } from './commands/executeonallsuggestionscommand';
14
+ export type { default as ExecuteOnSelectedSuggestionsCommand } from './commands/executeonselectedsuggestionscommand';
15
+ export type { default as TrackChangesCommand } from './commands/trackchangescommand';
16
+ import './augmentation';
@@ -1,17 +1,17 @@
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/aiassistant
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for the AI Assistant feature.
11
- */
12
- export default class TrackChangesAIAssistant extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }
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/aiassistant
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for the AI Assistant feature.
11
+ */
12
+ export default class TrackChangesAIAssistant extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3308=['showAIAssistant','afterInit','editor','get','commands','enableCommand','plugins'];(function(_0x65e238,_0x330895){const _0x1aa660=function(_0x1aed76){while(--_0x1aed76){_0x65e238['push'](_0x65e238['shift']());}};_0x1aa660(++_0x330895);}(_0x3308,0x7e));const _0x1aa6=function(_0x65e238,_0x330895){_0x65e238=_0x65e238-0x0;let _0x1aa660=_0x3308[_0x65e238];return _0x1aa660;};import{Plugin as _0x504481}from'ckeditor5/src/core';export default class j extends _0x504481{[_0x1aa6('0x1')](){const _0x52d3a0=this[_0x1aa6('0x2')],_0xbd2e74=_0x52d3a0[_0x1aa6('0x6')][_0x1aa6('0x3')]('TrackChangesEditing');_0x52d3a0[_0x1aa6('0x4')]['get'](_0x1aa6('0x0'))&&_0xbd2e74[_0x1aa6('0x5')](_0x1aa6('0x0'));}}
23
+ const _0x5e64=['enableCommand','showAIAssistant','editor','commands','get','TrackChangesEditing'];(function(_0x112545,_0x5e640d){const _0x3de5f8=function(_0xfe2b95){while(--_0xfe2b95){_0x112545['push'](_0x112545['shift']());}};_0x3de5f8(++_0x5e640d);}(_0x5e64,0xac));const _0x3de5=function(_0x112545,_0x5e640d){_0x112545=_0x112545-0x0;let _0x3de5f8=_0x5e64[_0x112545];return _0x3de5f8;};import{Plugin as _0x2acc10}from'ckeditor5/src/core';export default class j extends _0x2acc10{['afterInit'](){const _0x11eb8b=this[_0x3de5('0x4')],_0xddb8e2=_0x11eb8b['plugins']['get'](_0x3de5('0x1'));_0x11eb8b[_0x3de5('0x5')][_0x3de5('0x0')](_0x3de5('0x3'))&&_0xddb8e2[_0x3de5('0x2')]('showAIAssistant');}}
@@ -1,17 +1,17 @@
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/alignment
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for alignment feature.
11
- */
12
- export default class TrackChangesAlignment extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }
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/alignment
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for alignment feature.
11
+ */
12
+ export default class TrackChangesAlignment extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x351f=['markBlockFormat','afterInit','enableCommand','from','justify','FORMAT_ALIGN_TO_RIGHT','commandParams','left','schema','document','AlignmentEditing','FORMAT_ALIGN_TO_CENTER','getSelectedBlocks','FORMAT_ALIGN_TO_LEFT','editor','contentLanguageDirection','ltr','get','has','format','FORMAT_JUSTIFY_TEXT','alignment','registerDescriptionCallback','plugins','right','model','checkAttribute','*Format:*\x20%0','center','getAttribute','TrackChangesEditing'];(function(_0x34dc6e,_0x351fa1){const _0x5421d0=function(_0x1e8029){while(--_0x1e8029){_0x34dc6e['push'](_0x34dc6e['shift']());}};_0x5421d0(++_0x351fa1);}(_0x351f,0x142));const _0x5421=function(_0x34dc6e,_0x351fa1){_0x34dc6e=_0x34dc6e-0x0;let _0x5421d0=_0x351f[_0x34dc6e];return _0x5421d0;};import{Plugin as _0x4a1ad2}from'ckeditor5/src/core';import{getTranslation as _0xe12936}from'../utils/common-translations';export default class x extends _0x4a1ad2{[_0x5421('0x14')](){const _0x54c158=this[_0x5421('0x2')],_0x59f88d=_0x54c158['locale'];if(!_0x54c158[_0x5421('0xb')][_0x5421('0x6')](_0x5421('0x1d')))return;const _0x18025c=_0x54c158[_0x5421('0xb')][_0x5421('0x5')](_0x5421('0x12'));_0x18025c[_0x5421('0x15')](_0x5421('0x9'),(_0x6c7f31,_0x4c7426={})=>{let _0x56e02f=_0x4c7426['value'];_0x4c7426['value']||(_0x56e02f=_0x5421('0x4')===_0x54c158['locale'][_0x5421('0x3')]?'left':_0x5421('0xc'));const _0x56d8b7=Array[_0x5421('0x16')](this[_0x5421('0x2')][_0x5421('0xd')][_0x5421('0x1c')]['selection'][_0x5421('0x0')]())['filter'](_0x9587fa=>function(_0xeceb84,_0xabd9ae,_0x36f00b){const _0x437371=_0xeceb84[_0x5421('0x11')](_0x5421('0x9'))||null;return _0xabd9ae[_0x5421('0xe')](_0xeceb84,'alignment')&&_0x36f00b!=_0x437371;}(_0x9587fa,this[_0x5421('0x2')]['model'][_0x5421('0x1b')],_0x56e02f));_0x54c158[_0x5421('0xd')]['change'](()=>{for(const _0x2c6bfd of _0x56d8b7)_0x18025c[_0x5421('0x13')](_0x2c6bfd,{'commandName':_0x5421('0x9'),'commandParams':[{'value':_0x56e02f}]});});}),_0x18025c['_descriptionFactory'][_0x5421('0xa')](_0x1aa4b5=>{const {data:_0x69958b}=_0x1aa4b5;if(_0x69958b&&_0x5421('0x9')==_0x69958b['commandName']){const _0x3fdce7=_0x69958b[_0x5421('0x19')][0x0]['value'];return{'type':_0x5421('0x7'),'content':_0xe12936(_0x59f88d,_0x5421('0xf'),function(_0x4bf4d6){switch(_0x4bf4d6){case _0x5421('0x1a'):return _0xe12936(_0x59f88d,_0x5421('0x1'));case'right':return _0xe12936(_0x59f88d,_0x5421('0x18'));case _0x5421('0x10'):return _0xe12936(_0x59f88d,_0x5421('0x1e'));case _0x5421('0x17'):return _0xe12936(_0x59f88d,_0x5421('0x8'));}}(_0x3fdce7))};}});}}
23
+ const _0x2adb=['TrackChangesEditing','locale','right','formatBlock','center','plugins','format','_registerLegacyDescription','afterInit','*Format:*\x20%0','FORMAT_ALIGN_TO_RIGHT','FORMAT_ALIGN_TO_LEFT','FORMAT_JUSTIFY_TEXT','registerDescriptionCallback','commandName','_enableDefaultAttributesIntegration','editor','FORMAT_ALIGNMENT','alignment','_descriptionFactory','FORMAT_ALIGN_TO_CENTER','get','has','type','AlignmentEditing'];(function(_0x512dd9,_0x2adbab){const _0x4db0aa=function(_0x409baf){while(--_0x409baf){_0x512dd9['push'](_0x512dd9['shift']());}};_0x4db0aa(++_0x2adbab);}(_0x2adb,0x1b9));const _0x4db0=function(_0x512dd9,_0x2adbab){_0x512dd9=_0x512dd9-0x0;let _0x4db0aa=_0x2adb[_0x512dd9];return _0x4db0aa;};import{Plugin as _0x46f3df}from'ckeditor5/src/core';import{getTranslation as _0xe8cd67}from'../utils/common-translations';export default class U extends _0x46f3df{[_0x4db0('0x11')](){const _0x2867e5=this['editor'],_0x53cc24=_0x2867e5[_0x4db0('0xa')];if(!_0x2867e5[_0x4db0('0xe')][_0x4db0('0x6')](_0x4db0('0x8')))return;const _0xb1619b=_0x2867e5[_0x4db0('0xe')][_0x4db0('0x5')](_0x4db0('0x9'));_0xb1619b[_0x4db0('0x18')](_0x4db0('0x2'),[],[_0x4db0('0x2')]),_0xb1619b[_0x4db0('0x3')]['registerAttributeLabel'](_0x4db0('0x2'),_0xe8cd67(_0x53cc24,_0x4db0('0x1'))),this[_0x4db0('0x10')]();}[_0x4db0('0x10')](){const _0x4ba405=this[_0x4db0('0x0')],_0x1efb12=_0x4ba405[_0x4db0('0xa')];_0x4ba405['plugins']['get']('TrackChangesEditing')[_0x4db0('0x3')][_0x4db0('0x16')](_0x211dd3=>{if(_0x4db0('0xc')!=_0x211dd3[_0x4db0('0x7')])return;const {data:_0x4d4ad3}=_0x211dd3;if(_0x4d4ad3&&'alignment'==_0x4d4ad3[_0x4db0('0x17')]){const _0xb233d5=_0x4d4ad3['commandParams'][0x0]['value'];return{'type':_0x4db0('0xf'),'content':_0xe8cd67(_0x1efb12,_0x4db0('0x12'),function(_0x3ee9e9){switch(_0x3ee9e9){case'left':return _0xe8cd67(_0x1efb12,_0x4db0('0x14'));case _0x4db0('0xb'):return _0xe8cd67(_0x1efb12,_0x4db0('0x13'));case _0x4db0('0xd'):return _0xe8cd67(_0x1efb12,_0x4db0('0x4'));case'justify':return _0xe8cd67(_0x1efb12,_0x4db0('0x15'));}}(_0xb233d5))};}});}}
@@ -1,17 +1,17 @@
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/basicstyles
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for basic styles features.
11
- */
12
- export default class TrackChangesBasicStyles extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }
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/basicstyles
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for basic styles features.
11
+ */
12
+ export default class TrackChangesBasicStyles extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3293=['getRanges','FORMAT_UNDERLINE','FORMAT_ITALIC','locale','strikethrough','commandName','slice','afterInit','editor','markInlineFormat','toLowerCase','BoldEditing','value','code','FORMAT_SUPERSCRIPT','commands','isCollapsed','forceValue','enableCommand','model','UnderlineEditing','StrikethroughEditing','has','format','document','*Format:*\x20%0','get','superscript','plugins','SuperscriptEditing','_descriptionFactory','FORMAT_STRIKETHROUGH','selection','CodeEditing','FORMAT_BOLD','FORMAT_SUBSCRIPT','SubscriptEditing','subscript','FORMAT_CODE'];(function(_0x3a6c97,_0x329359){const _0x1dbc7c=function(_0x11ee6d){while(--_0x11ee6d){_0x3a6c97['push'](_0x3a6c97['shift']());}};_0x1dbc7c(++_0x329359);}(_0x3293,0x159));const _0x1dbc=function(_0x3a6c97,_0x329359){_0x3a6c97=_0x3a6c97-0x0;let _0x1dbc7c=_0x3293[_0x3a6c97];return _0x1dbc7c;};import{Plugin as _0x30573d}from'ckeditor5/src/core';import{getTranslation as _0x4ec84d}from'../utils/common-translations';import{getRangesWithAttribute as _0x44d0e5}from'./utils';const Zt=[_0x1dbc('0x11'),'ItalicEditing',_0x1dbc('0x1a'),_0x1dbc('0x0'),_0x1dbc('0x1b'),_0x1dbc('0x3'),_0x1dbc('0x23')];export default class U extends _0x30573d{[_0x1dbc('0xd')](){const _0x207a18=this[_0x1dbc('0xe')],_0x3afe2e=_0x207a18[_0x1dbc('0x19')],_0x342417=_0x207a18['plugins'][_0x1dbc('0x20')]('TrackChangesEditing'),_0x5e8a0a=_0x207a18[_0x1dbc('0x9')];for(const _0x718ed6 of Zt){if(!_0x207a18[_0x1dbc('0x22')][_0x1dbc('0x1c')](_0x718ed6))continue;const _0x32b8f1=_0x718ed6[_0x1dbc('0xc')](0x0,-0x7)[_0x1dbc('0x10')](),_0x22cc93=_0x207a18[_0x1dbc('0x15')]['get'](_0x32b8f1);_0x342417[_0x1dbc('0x18')](_0x32b8f1,(_0x10b24c,_0x133ed2={})=>{const _0x9e4a=_0x3afe2e[_0x1dbc('0x1e')][_0x1dbc('0x26')];if(_0x9e4a[_0x1dbc('0x16')])return void _0x10b24c(_0x133ed2);const _0x1bf442=void 0x0!==_0x133ed2[_0x1dbc('0x17')]?_0x133ed2[_0x1dbc('0x17')]:!_0x22cc93[_0x1dbc('0x12')];_0x3afe2e['change'](()=>{const _0x4f5568=Array['from'](_0x9e4a[_0x1dbc('0x6')]());for(const _0x1c145d of _0x4f5568){const _0x482329=_0x1bf442?[_0x1c145d]:_0x44d0e5(_0x32b8f1,_0x1c145d,_0x3afe2e);for(const _0x28e7a3 of _0x482329)_0x342417[_0x1dbc('0xf')](_0x28e7a3,{'commandName':_0x32b8f1,'commandParams':[{'forceValue':_0x1bf442}]});}});});}function _0x5c5af(_0x325105,_0x3f55b5){_0x342417[_0x1dbc('0x24')]['registerDescriptionCallback'](_0x33049e=>{const {data:_0x5511ef}=_0x33049e;if(_0x5511ef&&_0x5511ef[_0x1dbc('0xb')]===_0x325105)return _0x5511ef['commandParams'][0x0][_0x1dbc('0x17')]?{'type':_0x1dbc('0x1d'),'content':_0x4ec84d(_0x5e8a0a,_0x1dbc('0x1f'),_0x3f55b5)}:{'type':_0x1dbc('0x1d'),'content':_0x4ec84d(_0x5e8a0a,'*Remove\x20format:*\x20%0',_0x3f55b5)};});}_0x5c5af('bold',_0x4ec84d(_0x5e8a0a,_0x1dbc('0x1'))),_0x5c5af('italic',_0x4ec84d(_0x5e8a0a,_0x1dbc('0x8'))),_0x5c5af('underline',_0x4ec84d(_0x5e8a0a,_0x1dbc('0x7'))),_0x5c5af(_0x1dbc('0x13'),_0x4ec84d(_0x5e8a0a,_0x1dbc('0x5'))),_0x5c5af(_0x1dbc('0xa'),_0x4ec84d(_0x5e8a0a,_0x1dbc('0x25'))),_0x5c5af(_0x1dbc('0x4'),_0x4ec84d(_0x5e8a0a,_0x1dbc('0x2'))),_0x5c5af(_0x1dbc('0x21'),_0x4ec84d(_0x5e8a0a,_0x1dbc('0x14')));}}
23
+ const _0x1f99=['strikethrough','*Format:*\x20%0','underline','registerDescriptionCallback','registerAttributeLabel','has','toUpperCase','BoldEditing','forceValue','SuperscriptEditing','FORMAT_CODE','_registerLegacyDescription','subscript','*Remove\x20format:*\x20%0','formatInline','_descriptionFactory','code','FORMAT_ITALIC','FORMAT_','commandParams','FORMAT_SUBSCRIPT','bold','plugins','SubscriptEditing','ItalicEditing','StrikethroughEditing','commandName','get','italic','FORMAT_UNDERLINE','format','TrackChangesEditing','editor','locale','type','UnderlineEditing','slice','toLowerCase'];(function(_0x5b967e,_0x1f9922){const _0x38dce3=function(_0x557e0b){while(--_0x557e0b){_0x5b967e['push'](_0x5b967e['shift']());}};_0x38dce3(++_0x1f9922);}(_0x1f99,0x1e5));const _0x38dc=function(_0x5b967e,_0x1f9922){_0x5b967e=_0x5b967e-0x0;let _0x38dce3=_0x1f99[_0x5b967e];return _0x38dce3;};import{Plugin as _0x1f30d7}from'ckeditor5/src/core';import{getTranslation as _0x275a70}from'../utils/common-translations';const ti=[_0x38dc('0x10'),_0x38dc('0x21'),_0x38dc('0x6'),'CodeEditing',_0x38dc('0x22'),_0x38dc('0x20'),_0x38dc('0x12')];export default class O extends _0x1f30d7{['afterInit'](){const _0x39e63c=this[_0x38dc('0x3')],_0x49f415=_0x39e63c['plugins']['get'](_0x38dc('0x2')),_0x4ae2c5=_0x39e63c[_0x38dc('0x4')];for(const _0x155d5c of ti){if(!_0x39e63c[_0x38dc('0x1f')][_0x38dc('0xe')](_0x155d5c))continue;const _0x3a4bdd=_0x155d5c[_0x38dc('0x7')](0x0,-0x7)[_0x38dc('0x8')](),_0x303d1b=_0x38dc('0x1b')+_0x3a4bdd[_0x38dc('0xf')]();_0x49f415['_enableDefaultAttributesIntegration'](_0x3a4bdd,[_0x3a4bdd]),_0x49f415[_0x38dc('0x18')][_0x38dc('0xd')](_0x3a4bdd,_0x275a70(_0x4ae2c5,_0x303d1b));}this[_0x38dc('0x14')]();}[_0x38dc('0x14')](){const _0x535aba=this[_0x38dc('0x3')],_0x1a1c2e=_0x535aba[_0x38dc('0x4')],_0x2d1bfd=_0x535aba[_0x38dc('0x1f')][_0x38dc('0x24')](_0x38dc('0x2'));function _0x25dfaa(_0xf1afd5,_0x11c413){_0x2d1bfd[_0x38dc('0x18')][_0x38dc('0xc')](_0xd23a5=>{if(_0x38dc('0x17')!=_0xd23a5[_0x38dc('0x5')])return;const {data:_0x288039}=_0xd23a5;return _0x288039&&_0x288039[_0x38dc('0x23')]===_0xf1afd5?_0x288039[_0x38dc('0x1c')][0x0][_0x38dc('0x11')]?{'type':_0x38dc('0x1'),'content':_0x275a70(_0x1a1c2e,_0x38dc('0xa'),_0x11c413)}:{'type':_0x38dc('0x1'),'content':_0x275a70(_0x1a1c2e,_0x38dc('0x16'),_0x11c413)}:void 0x0;});}_0x25dfaa(_0x38dc('0x1e'),_0x275a70(_0x1a1c2e,'FORMAT_BOLD')),_0x25dfaa(_0x38dc('0x25'),_0x275a70(_0x1a1c2e,_0x38dc('0x1a'))),_0x25dfaa(_0x38dc('0xb'),_0x275a70(_0x1a1c2e,_0x38dc('0x0'))),_0x25dfaa(_0x38dc('0x19'),_0x275a70(_0x1a1c2e,_0x38dc('0x13'))),_0x25dfaa(_0x38dc('0x9'),_0x275a70(_0x1a1c2e,'FORMAT_STRIKETHROUGH')),_0x25dfaa(_0x38dc('0x15'),_0x275a70(_0x1a1c2e,_0x38dc('0x1d'))),_0x25dfaa('superscript',_0x275a70(_0x1a1c2e,'FORMAT_SUPERSCRIPT'));}}
@@ -1,17 +1,17 @@
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/blockquote
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for block quote feature.
11
- */
12
- export default class TrackChangesBlockQuote extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }
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/blockquote
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for block quote feature.
11
+ */
12
+ export default class TrackChangesBlockQuote extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3553=['BlockQuoteEditing','editor','blockQuote','afterInit','schema','locale','getSelectedBlocks','checkChild','*Remove\x20format:*\x20%0','enableCommand','filter','model','parent','commandName','ELEMENT_BLOCK_QUOTE','plugins','selection','*Format:*\x20%0','has','format','get','commandParams','forceValue','value','name','change','commands'];(function(_0xf5ca9a,_0x355366){const _0x488795=function(_0x162cb0){while(--_0x162cb0){_0xf5ca9a['push'](_0xf5ca9a['shift']());}};_0x488795(++_0x355366);}(_0x3553,0xa4));const _0x4887=function(_0xf5ca9a,_0x355366){_0xf5ca9a=_0xf5ca9a-0x0;let _0x488795=_0x3553[_0xf5ca9a];return _0x488795;};import{Plugin as _0xd9cfaf}from'ckeditor5/src/core';import{getTranslation as _0xe3a237}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x4aec1a}from'../utils/utils';export default class O extends _0xd9cfaf{[_0x4887('0x1')](){const _0x5c3bce=this[_0x4887('0x1a')],_0x569fce=_0x5c3bce[_0x4887('0x3')];if(!_0x5c3bce[_0x4887('0xd')][_0x4887('0x10')](_0x4887('0x19')))return;const _0x45bc35=_0x5c3bce[_0x4887('0xd')][_0x4887('0x12')]('TrackChangesEditing'),_0x9f680b=this[_0x4887('0x1a')][_0x4887('0x18')][_0x4887('0x12')](_0x4887('0x0'));_0x45bc35[_0x4887('0x7')]('blockQuote',(_0x5abfab,_0x484627={})=>{const _0x7622a4=this[_0x4887('0x1a')]['model']['document'][_0x4887('0xe')],_0x102a1a=_0x484627&&void 0x0!==_0x484627[_0x4887('0x14')]?_0x484627[_0x4887('0x14')]:!_0x9f680b[_0x4887('0x15')];let _0x5ea788=[];if(_0x102a1a){const _0x193b5c=Array['from'](_0x7622a4[_0x4887('0x4')]())['filter'](_0x3c6c92=>oo(_0x3c6c92)||function(_0xaa048f,_0x51c4f8){const _0x226891=_0x51c4f8[_0x4887('0x5')](_0xaa048f['parent'],_0x4887('0x0')),_0x40e5a3=_0x51c4f8[_0x4887('0x5')](['$root',_0x4887('0x0')],_0xaa048f);return _0x226891&&_0x40e5a3;}(_0x3c6c92,this[_0x4887('0x1a')][_0x4887('0x9')][_0x4887('0x2')]));_0x5ea788=_0x4aec1a(_0x193b5c,_0x5c3bce[_0x4887('0x9')]);}else{const _0xb234f7=Array['from'](_0x7622a4[_0x4887('0x4')]())[_0x4887('0x8')](_0x394359=>oo(_0x394359));_0x5ea788=_0x4aec1a(_0xb234f7,_0x5c3bce['model']);}_0x5c3bce[_0x4887('0x9')][_0x4887('0x17')](()=>{for(const _0xbf3024 of _0x5ea788)_0x45bc35['markBlockFormat'](_0xbf3024,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x102a1a}]});});}),_0x45bc35['_descriptionFactory']['registerDescriptionCallback'](_0x4ad9b0=>{const {data:_0x28a08b}=_0x4ad9b0;if(_0x28a08b&&'blockQuote'==_0x28a08b[_0x4887('0xb')]){const _0x456f07=_0xe3a237(_0x569fce,_0x4887('0xc'));return _0x28a08b[_0x4887('0x13')][0x0]['forceValue']?{'type':_0x4887('0x11'),'content':_0xe3a237(_0x569fce,_0x4887('0xf'),_0x456f07)}:{'type':_0x4887('0x11'),'content':_0xe3a237(_0x569fce,_0x4887('0x6'),_0x456f07)};}});}}function oo(_0x27e746){return _0x4887('0x0')==_0x27e746[_0x4887('0xa')][_0x4887('0x16')];}
23
+ const _0x29be=['model','name','getSelectedBlocks','blockQuote','checkChild','from','BlockQuoteEditing','filter','commandParams','format','ELEMENT_BLOCK_QUOTE','forceValue','plugins','has','enableCommand','value','markBlockFormat','editor','*Set\x20format:*\x20%0','parent','commands','locale','registerDescriptionCallback','TrackChangesEditing','get','_descriptionFactory'];(function(_0xe69a04,_0x29bea5){const _0x148075=function(_0x9be0cd){while(--_0x9be0cd){_0xe69a04['push'](_0xe69a04['shift']());}};_0x148075(++_0x29bea5);}(_0x29be,0xa0));const _0x1480=function(_0xe69a04,_0x29bea5){_0xe69a04=_0xe69a04-0x0;let _0x148075=_0x29be[_0xe69a04];return _0x148075;};import{Plugin as _0x46c32d}from'ckeditor5/src/core';import{getTranslation as _0x4a63b3}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x2761d1}from'../utils/utils';export default class V extends _0x46c32d{['afterInit'](){const _0x3cf64e=this[_0x1480('0xd')],_0x28b70c=_0x3cf64e[_0x1480('0x11')];if(!_0x3cf64e[_0x1480('0x8')][_0x1480('0x9')](_0x1480('0x2')))return;const _0x5e41e7=_0x3cf64e['plugins']['get'](_0x1480('0x13')),_0x3adeea=this[_0x1480('0xd')][_0x1480('0x10')][_0x1480('0x14')]('blockQuote');_0x5e41e7[_0x1480('0xa')](_0x1480('0x19'),(_0xab0e5a,_0x5d462a={})=>{const _0x12de49=this['editor'][_0x1480('0x16')]['document']['selection'],_0x4dd338=_0x5d462a&&void 0x0!==_0x5d462a[_0x1480('0x7')]?_0x5d462a[_0x1480('0x7')]:!_0x3adeea[_0x1480('0xb')];let _0x221b95=[];if(_0x4dd338){const _0x44009c=Array['from'](_0x12de49[_0x1480('0x18')]())[_0x1480('0x3')](_0x54b2e0=>eo(_0x54b2e0)||function(_0x170587,_0x169ec5){const _0x20ac74=_0x169ec5[_0x1480('0x0')](_0x170587[_0x1480('0xf')],_0x1480('0x19')),_0x4096e9=_0x169ec5[_0x1480('0x0')](['$root','blockQuote'],_0x170587);return _0x20ac74&&_0x4096e9;}(_0x54b2e0,this[_0x1480('0xd')][_0x1480('0x16')]['schema']));_0x221b95=_0x2761d1(_0x44009c,_0x3cf64e[_0x1480('0x16')]);}else{const _0x1c4c1b=Array[_0x1480('0x1')](_0x12de49['getSelectedBlocks']())[_0x1480('0x3')](_0xf3b94f=>eo(_0xf3b94f));_0x221b95=_0x2761d1(_0x1c4c1b,_0x3cf64e[_0x1480('0x16')]);}_0x3cf64e[_0x1480('0x16')]['change'](()=>{for(const _0x426b8a of _0x221b95)_0x5e41e7[_0x1480('0xc')](_0x426b8a,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x4dd338}]});});}),_0x5e41e7[_0x1480('0x15')][_0x1480('0x12')](_0x4e8869=>{const {data:_0x33fe50}=_0x4e8869;if(_0x33fe50&&_0x1480('0x19')==_0x33fe50['commandName']){const _0x4ad0eb=_0x4a63b3(_0x28b70c,_0x1480('0x6'));return _0x33fe50[_0x1480('0x4')][0x0][_0x1480('0x7')]?{'type':_0x1480('0x5'),'content':_0x4a63b3(_0x28b70c,_0x1480('0xe'),_0x4ad0eb)}:{'type':_0x1480('0x5'),'content':_0x4a63b3(_0x28b70c,'*Remove\x20format:*\x20%0',_0x4ad0eb)};}});}}function eo(_0x342880){return _0x1480('0x19')==_0x342880['parent'][_0x1480('0x17')];}
@@ -1,17 +1,17 @@
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/ckbox
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for the CKBox feature.
11
- */
12
- export default class TrackChangesCKBox extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }
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/ckbox
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for the CKBox feature.
11
+ */
12
+ export default class TrackChangesCKBox extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1fb4=['TrackChangesEditing','ckbox','get','enableCommand','commands','plugins','editor'];(function(_0x493117,_0x1fb4be){const _0x4e19ce=function(_0x1e04c0){while(--_0x1e04c0){_0x493117['push'](_0x493117['shift']());}};_0x4e19ce(++_0x1fb4be);}(_0x1fb4,0x197));const _0x4e19=function(_0x493117,_0x1fb4be){_0x493117=_0x493117-0x0;let _0x4e19ce=_0x1fb4[_0x493117];return _0x4e19ce;};import{Plugin as _0x50cea5}from'ckeditor5/src/core';export default class E extends _0x50cea5{['afterInit'](){const _0x7b10fd=this[_0x4e19('0x5')];_0x7b10fd[_0x4e19('0x3')][_0x4e19('0x1')](_0x4e19('0x0'))&&_0x7b10fd[_0x4e19('0x4')][_0x4e19('0x1')](_0x4e19('0x6'))[_0x4e19('0x2')](_0x4e19('0x0'));}}
23
+ const _0x5d9b=['ckbox','plugins','get','TrackChangesEditing','editor','afterInit','enableCommand'];(function(_0x2f6894,_0x5d9b94){const _0x27f714=function(_0x230bd2){while(--_0x230bd2){_0x2f6894['push'](_0x2f6894['shift']());}};_0x27f714(++_0x5d9b94);}(_0x5d9b,0x12b));const _0x27f7=function(_0x2f6894,_0x5d9b94){_0x2f6894=_0x2f6894-0x0;let _0x27f714=_0x5d9b[_0x2f6894];return _0x27f714;};import{Plugin as _0x5da118}from'ckeditor5/src/core';export default class F extends _0x5da118{[_0x27f7('0x0')](){const _0x300c3c=this[_0x27f7('0x6')];_0x300c3c['commands'][_0x27f7('0x4')](_0x27f7('0x2'))&&_0x300c3c[_0x27f7('0x3')][_0x27f7('0x4')](_0x27f7('0x5'))[_0x27f7('0x1')]('ckbox');}}
@@ -1,17 +1,17 @@
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/codeblock
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for code block feature.
11
- */
12
- export default class TrackChangesCodeBlock extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }
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/codeblock
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for code block feature.
11
+ */
12
+ export default class TrackChangesCodeBlock extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x201e=['from','schema','languages','find','rootElement','_descriptionFactory','plugins','registerElementLabel','afterInit','*Format:*\x20%0','getSelectedBlocks','blockName','format','language','indentCodeBlock','filter','*Remove\x20format:*\x20%0','label','document','enableCommand','forceValue','has','selection','markBlockFormat','commands','locale','checkChild','get','commandParams','CodeBlock','change','isLimit','name','codeBlock','ELEMENT_CODE_BLOCK'];(function(_0x56a9da,_0x201eb9){const _0x302b86=function(_0x1b9375){while(--_0x1b9375){_0x56a9da['push'](_0x56a9da['shift']());}};_0x302b86(++_0x201eb9);}(_0x201e,0x1d0));const _0x302b=function(_0x56a9da,_0x201eb9){_0x56a9da=_0x56a9da-0x0;let _0x302b86=_0x201e[_0x56a9da];return _0x302b86;};import{Plugin as _0x2d8564}from'ckeditor5/src/core';import{getTranslation as _0x5e570e}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x3ceb7f}from'../utils/utils';export default class F extends _0x2d8564{[_0x302b('0x22')](){const _0x4278ad=this['editor'];if(!_0x4278ad[_0x302b('0x20')][_0x302b('0xc')](_0x302b('0x14')))return;const _0x4097c6=_0x4278ad[_0x302b('0x20')]['get']('TrackChangesEditing'),_0x3d80c3=_0x4278ad[_0x302b('0x10')],_0x73cdc8=_0x4278ad['config'][_0x302b('0x12')](_0x302b('0x18'))[_0x302b('0x1c')],_0x8bd656=_0x4278ad[_0x302b('0xf')][_0x302b('0x12')](_0x302b('0x18'));_0x4097c6[_0x302b('0xa')](_0x302b('0x5')),_0x4097c6[_0x302b('0xa')]('outdentCodeBlock'),_0x4097c6[_0x302b('0xa')](_0x302b('0x18'),(_0x376986,_0x466dca={})=>{const _0x4c46bb=_0x4278ad['model'],_0x429cec=_0x4278ad['model'][_0x302b('0x9')][_0x302b('0xd')],_0x320ff9=_0x466dca&&void 0x0!==_0x466dca[_0x302b('0xb')]?_0x466dca[_0x302b('0xb')]:!_0x8bd656['value'];let _0x9cc5cf;_0x466dca[_0x302b('0x4')]||(_0x466dca[_0x302b('0x4')]=_0x73cdc8[0x0][_0x302b('0x4')]),_0x9cc5cf=_0x320ff9?Array[_0x302b('0x1a')](_0x429cec[_0x302b('0x1')]())[_0x302b('0x6')](_0x283708=>co(_0x283708)||function(_0x44880e,_0x17c57d){if(_0x44880e['is'](_0x302b('0x1e'))||_0x17c57d[_0x302b('0x16')](_0x44880e))return!0x1;return _0x17c57d[_0x302b('0x11')](_0x44880e['parent'],_0x302b('0x18'));}(_0x283708,_0x4c46bb[_0x302b('0x1b')])):Array[_0x302b('0x1a')](_0x429cec[_0x302b('0x1')]())[_0x302b('0x6')](_0x4462b6=>co(_0x4462b6));const _0x2f51d6=_0x3ceb7f(_0x9cc5cf,_0x4c46bb);_0x4c46bb[_0x302b('0x15')](()=>{for(const _0x2bb54d of _0x2f51d6)_0x4097c6[_0x302b('0xe')](_0x2bb54d,{'commandName':_0x302b('0x18'),'commandParams':[{..._0x466dca,'forceValue':_0x320ff9}],'formatGroupId':_0x302b('0x2')});});}),(_0x4097c6[_0x302b('0x1f')][_0x302b('0x21')](_0x302b('0x18'),_0xa8408d=>_0x5e570e(_0x3d80c3,_0x302b('0x19'),_0xa8408d)),_0x4097c6[_0x302b('0x1f')]['registerDescriptionCallback'](_0x48fab5=>{const _0x3ebc3e=_0x3d80c3['t'],{type:_0x313c6f,data:_0x26b7b7}=_0x48fab5;if('formatBlock'==_0x313c6f&&_0x26b7b7&&_0x302b('0x18')==_0x26b7b7['commandName']){const _0xfa2822=_0x26b7b7[_0x302b('0x13')][0x0]['language'],_0x2afa4a=_0x3ebc3e(_0x73cdc8[_0x302b('0x1d')](_0x3fa484=>_0x3fa484['language']===_0xfa2822)[_0x302b('0x8')]);return _0x26b7b7[_0x302b('0x13')][0x0]['forceValue']?{'type':_0x302b('0x3'),'content':_0x5e570e(_0x3d80c3,_0x302b('0x0'),_0x5e570e(_0x3d80c3,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x2afa4a+')')}:{'type':'format','content':_0x5e570e(_0x3d80c3,_0x302b('0x7'),_0x5e570e(_0x3d80c3,_0x302b('0x19'),0x1))};}}));}}function co(_0x2cdb35){return _0x302b('0x18')==_0x2cdb35[_0x302b('0x17')];}
23
+ const _0x5d89=['rootElement','type','change','label','from','registerDescriptionCallback','afterInit','language','forceValue','get','formatBlock','filter','commandName','document','isLimit','plugins','model','TrackChangesEditing','outdentCodeBlock','format','codeBlock','parent','enableCommand','*Set\x20format:*\x20%0','toLowerCase','config','ELEMENT_CODE_BLOCK','editor','commandParams','indentCodeBlock','commands','getSelectedBlocks','CodeBlock','*Remove\x20format:*\x20%0','markBlockFormat','checkChild','locale'];(function(_0x18eda2,_0x5d8911){const _0x2ff416=function(_0x37119c){while(--_0x37119c){_0x18eda2['push'](_0x18eda2['shift']());}};_0x2ff416(++_0x5d8911);}(_0x5d89,0xcc));const _0x2ff4=function(_0x18eda2,_0x5d8911){_0x18eda2=_0x18eda2-0x0;let _0x2ff416=_0x5d89[_0x18eda2];return _0x2ff416;};import{Plugin as _0x5338a4}from'ckeditor5/src/core';import{getTranslation as _0x57fb46}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x4fefee}from'../utils/utils';export default class G extends _0x5338a4{[_0x2ff4('0x18')](){const _0x1e02c9=this[_0x2ff4('0x8')];if(!_0x1e02c9[_0x2ff4('0x21')]['has'](_0x2ff4('0xd')))return;const _0x442d27=_0x1e02c9[_0x2ff4('0x21')][_0x2ff4('0x1b')](_0x2ff4('0x23')),_0x5998e8=_0x1e02c9[_0x2ff4('0x11')],_0x55bba1=_0x1e02c9[_0x2ff4('0x6')]['get']('codeBlock')['languages'],_0x54b2fc=_0x1e02c9[_0x2ff4('0xb')][_0x2ff4('0x1b')](_0x2ff4('0x1'));_0x442d27['enableCommand'](_0x2ff4('0xa')),_0x442d27[_0x2ff4('0x3')](_0x2ff4('0x24')),_0x442d27[_0x2ff4('0x3')](_0x2ff4('0x1'),(_0x156387,_0x1f7c52={})=>{const _0x2d1429=_0x1e02c9[_0x2ff4('0x22')],_0x2470e8=_0x1e02c9[_0x2ff4('0x22')][_0x2ff4('0x1f')]['selection'],_0x1e9840=_0x1f7c52&&void 0x0!==_0x1f7c52[_0x2ff4('0x1a')]?_0x1f7c52['forceValue']:!_0x54b2fc['value'];let _0x38c68c;_0x1f7c52['language']||(_0x1f7c52[_0x2ff4('0x19')]=_0x55bba1[0x0]['language']),_0x38c68c=_0x1e9840?Array[_0x2ff4('0x16')](_0x2470e8[_0x2ff4('0xc')]())[_0x2ff4('0x1d')](_0x52b06f=>ro(_0x52b06f)||function(_0x540b72,_0xa922ee){if(_0x540b72['is'](_0x2ff4('0x12'))||_0xa922ee[_0x2ff4('0x20')](_0x540b72))return!0x1;return _0xa922ee[_0x2ff4('0x10')](_0x540b72[_0x2ff4('0x2')],'codeBlock');}(_0x52b06f,_0x2d1429['schema'])):Array[_0x2ff4('0x16')](_0x2470e8[_0x2ff4('0xc')]())[_0x2ff4('0x1d')](_0x113dfd=>ro(_0x113dfd));const _0x5b1bb3=_0x4fefee(_0x38c68c,_0x2d1429);_0x2d1429[_0x2ff4('0x14')](()=>{for(const _0x4e9792 of _0x5b1bb3)_0x442d27[_0x2ff4('0xf')](_0x4e9792,{'commandName':_0x2ff4('0x1'),'commandParams':[{..._0x1f7c52,'forceValue':_0x1e9840}],'formatGroupId':'blockName'});});}),(_0x442d27['_descriptionFactory']['registerElementLabel'](_0x2ff4('0x1'),_0x130515=>_0x57fb46(_0x5998e8,'ELEMENT_CODE_BLOCK',_0x130515)),_0x442d27['_descriptionFactory'][_0x2ff4('0x17')](_0x203bc8=>{if(_0x2ff4('0x1c')!=_0x203bc8[_0x2ff4('0x13')])return;const _0x5c7afa=_0x5998e8['t'],{data:_0x208681}=_0x203bc8;if(!_0x208681||_0x2ff4('0x1')!=_0x208681[_0x2ff4('0x1e')])return;const _0x2c999e=_0x208681[_0x2ff4('0x9')][0x0]['language'],_0x3be4a9=_0x5c7afa(_0x55bba1['find'](_0x50d5c6=>_0x50d5c6[_0x2ff4('0x19')]===_0x2c999e)[_0x2ff4('0x15')])[_0x2ff4('0x5')]();return _0x208681['commandParams'][0x0]['forceValue']?{'type':_0x2ff4('0x0'),'content':_0x57fb46(_0x5998e8,_0x2ff4('0x4'),_0x57fb46(_0x5998e8,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x3be4a9+')')}:{'type':_0x2ff4('0x0'),'content':_0x57fb46(_0x5998e8,_0x2ff4('0xe'),_0x57fb46(_0x5998e8,_0x2ff4('0x7'),0x1))};}));}}function ro(_0x436c30){return _0x2ff4('0x1')==_0x436c30['name'];}
@@ -1,14 +1,14 @@
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/comments
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for {@link module:comments/comments~Comments comments feature}.
11
- */
12
- export default class TrackChangesComments extends Plugin {
13
- afterInit(): void;
14
- }
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/comments
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for {@link module:comments/comments~Comments comments feature}.
11
+ */
12
+ export default class TrackChangesComments extends Plugin {
13
+ afterInit(): void;
14
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5afc=['addCommentThread','has','get','enableCommand','afterInit','CommentsEditing','TrackChangesEditing','plugins','editor'];(function(_0x5b9792,_0x5afc29){const _0x587a61=function(_0x43f0c8){while(--_0x43f0c8){_0x5b9792['push'](_0x5b9792['shift']());}};_0x587a61(++_0x5afc29);}(_0x5afc,0x1e5));const _0x587a=function(_0x5b9792,_0x5afc29){_0x5b9792=_0x5b9792-0x0;let _0x587a61=_0x5afc[_0x5b9792];return _0x587a61;};import{Plugin as _0x201fa8}from'ckeditor5/src/core';export default class G extends _0x201fa8{[_0x587a('0x5')](){const _0x433240=this[_0x587a('0x0')];if(!_0x433240[_0x587a('0x8')][_0x587a('0x2')](_0x587a('0x6')))return;_0x433240[_0x587a('0x8')][_0x587a('0x3')](_0x587a('0x7'))[_0x587a('0x4')](_0x587a('0x1'));}}
23
+ const _0x1fc2=['plugins','enableCommand','addCommentThread','has','CommentsEditing','TrackChangesEditing','editor'];(function(_0x2d2e30,_0x1fc2df){const _0x485e75=function(_0x390c30){while(--_0x390c30){_0x2d2e30['push'](_0x2d2e30['shift']());}};_0x485e75(++_0x1fc2df);}(_0x1fc2,0x121));const _0x485e=function(_0x2d2e30,_0x1fc2df){_0x2d2e30=_0x2d2e30-0x0;let _0x485e75=_0x1fc2[_0x2d2e30];return _0x485e75;};import{Plugin as _0x1f9bf8}from'ckeditor5/src/core';export default class L extends _0x1f9bf8{['afterInit'](){const _0x2adfdc=this[_0x485e('0x4')];if(!_0x2adfdc[_0x485e('0x5')][_0x485e('0x1')](_0x485e('0x2')))return;_0x2adfdc['plugins']['get'](_0x485e('0x3'))[_0x485e('0x6')](_0x485e('0x0'));}}
@@ -1,17 +1,17 @@
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/deletecommand
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import { Delete } from 'ckeditor5/src/typing';
10
- /**
11
- * Provides track changes plugin integration for {@link module:typing/inputcommand~DeleteCommand delete command}. Also
12
- * provides integration {@link module:engine/model/model~Model#deleteContent} as many features use it internally.
13
- */
14
- export default class TrackChangesDeleteCommand extends Plugin {
15
- static get requires(): readonly [typeof Delete];
16
- init(): void;
17
- }
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/deletecommand
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import { Delete } from 'ckeditor5/src/typing';
10
+ /**
11
+ * Provides track changes plugin integration for {@link module:typing/inputcommand~DeleteCommand delete command}. Also
12
+ * provides integration {@link module:engine/model/model~Model#deleteContent} as many features use it internally.
13
+ */
14
+ export default class TrackChangesDeleteCommand extends Plugin {
15
+ static get requires(): readonly [typeof Delete];
16
+ init(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x444c=['createRange','$graveyard','unbindElementFromMarkerName','enableCommand','get','end','merge','high','markerName','start','model','fromRange','unit','remove','delete','downcastDispatcher','init','deleteForward','batch','detach','setSelection','rootName','selection','uiElement','lock','forward','buffer','document','mapper','bind','TrackChangesEditing','removeMarker:suggestion:deletion','options','writer','markerNameToElements','addMarker:suggestion:deletion'];(function(_0x3871ae,_0x444c97){const _0x546cb8=function(_0x365d71){while(--_0x365d71){_0x3871ae['push'](_0x3871ae['shift']());}};_0x546cb8(++_0x444c97);}(_0x444c,0x151));const _0x546c=function(_0x3871ae,_0x444c97){_0x3871ae=_0x3871ae-0x0;let _0x546cb8=_0x444c[_0x3871ae];return _0x546cb8;};import{Plugin as _0x40855e}from'ckeditor5/src/core';import{LiveRange as _0x8bcdc1}from'ckeditor5/src/engine';import{Delete as _0x4a4f5d}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x1bc484}from'./utils';export default class L extends _0x40855e{static get['requires'](){return[_0x4a4f5d];}[_0x546c('0x3')](){const _0x3b725b=this['editor'],_0x357b58=_0x3b725b['plugins'][_0x546c('0x1b')](_0x546c('0x11'));_0x357b58[_0x546c('0x1a')](_0x546c('0x1'));const _0x59ac1e=_0x3b725b['commands']['get'](_0x546c('0x4'));_0x357b58[_0x546c('0x1a')](_0x546c('0x4'),(_0x5734b9,_0x2a6c77={})=>{const _0x1a8e41=_0x3b725b[_0x546c('0x21')]['createSelection'](_0x3b725b[_0x546c('0x21')][_0x546c('0xe')][_0x546c('0x9')]);_0x1a8e41['isCollapsed']&&_0x3b725b[_0x546c('0x21')]['modifySelection'](_0x1a8e41,{'direction':_0x546c('0xc'),'unit':_0x2a6c77[_0x546c('0x23')]});const _0x4fdbe1=_0x1a8e41['getFirstRange'](),_0x5546f9=_0x8bcdc1[_0x546c('0x22')](_0x4fdbe1);let _0x3ceb7c;_0x5734b9(_0x2a6c77),_0x3ceb7c=_0x546c('0x18')==_0x5546f9['root'][_0x546c('0x8')]?_0x3b725b[_0x546c('0x21')][_0x546c('0x17')](_0x4fdbe1[_0x546c('0x20')]):_0x3b725b[_0x546c('0x21')][_0x546c('0x17')](_0x5546f9['start'],_0x5546f9['end']),_0x5546f9[_0x546c('0x6')](),_0x3b725b[_0x546c('0x21')]['enqueueChange'](_0x59ac1e[_0x546c('0xd')][_0x546c('0x5')],_0x28c96b=>{_0x59ac1e[_0x546c('0xd')][_0x546c('0xb')](),_0x28c96b[_0x546c('0x7')](_0x28c96b[_0x546c('0x17')](_0x3ceb7c[_0x546c('0x1c')])),_0x59ac1e['buffer']['unlock']();});}),_0x3b725b['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',_0x1bc484(_0x3b725b,_0x546c('0x1d')),{'priority':'high'}),_0x3b725b['data'][_0x546c('0x2')]['on'](_0x546c('0x16'),(_0x5deb64,_0x18cc25,_0x872f96)=>{_0x872f96[_0x546c('0x13')]['showSuggestionHighlights']&&_0x1bc484(_0x3b725b,_0x546c('0x1d'),{'showActiveMarker':!0x1})[_0x546c('0x10')](this)(_0x5deb64,_0x18cc25,_0x872f96);},{'priority':'high'}),_0x3b725b['editing'][_0x546c('0x2')]['on'](_0x546c('0x12'),(_0x466d91,_0x2e1cfb,_0x3b5539)=>{const _0x453690=_0x3b5539[_0x546c('0xf')][_0x546c('0x15')](_0x2e1cfb[_0x546c('0x1f')]);if(_0x453690)for(const _0x431e8c of _0x453690)_0x431e8c['is'](_0x546c('0xa'))&&(_0x3b5539['mapper'][_0x546c('0x19')](_0x431e8c,_0x2e1cfb[_0x546c('0x1f')]),_0x3b5539[_0x546c('0x14')][_0x546c('0x0')](_0x431e8c));},{'priority':_0x546c('0x1e')});}}
23
+ const _0x49f9=['uiElement','data','getFirstRange','modifySelection','addMarker:suggestion:deletion','batch','end','enqueueChange','bind','mapper','start','createSelection','high','requires','fromRange','remove','markerNameToElements','markerName','editing','merge','delete','init','unit','unlock','rootName','deleteForward','TrackChangesEditing','options','lock','$graveyard','enableCommand','editor','document','downcastDispatcher','createRange','showSuggestionHighlights','get','plugins','buffer','model','root','removeMarker:suggestion:deletion','forward'];(function(_0x18f1d5,_0x49f9bf){const _0x42b847=function(_0x186a0c){while(--_0x186a0c){_0x18f1d5['push'](_0x18f1d5['shift']());}};_0x42b847(++_0x49f9bf);}(_0x49f9,0xcc));const _0x42b8=function(_0x18f1d5,_0x49f9bf){_0x18f1d5=_0x18f1d5-0x0;let _0x42b847=_0x49f9[_0x18f1d5];return _0x42b847;};import{Plugin as _0x3b4210}from'ckeditor5/src/core';import{LiveRange as _0x494138}from'ckeditor5/src/engine';import{Delete as _0x113091}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x2bb482}from'./utils';export default class H extends _0x3b4210{static get[_0x42b8('0x18')](){return[_0x113091];}[_0x42b8('0x20')](){const _0x549011=this[_0x42b8('0x2a')],_0x3a2227=_0x549011[_0x42b8('0x5')][_0x42b8('0x4')](_0x42b8('0x25'));_0x3a2227[_0x42b8('0x29')](_0x42b8('0x1f'));const _0x1d4891=_0x549011['commands'][_0x42b8('0x4')](_0x42b8('0x24'));_0x3a2227[_0x42b8('0x29')](_0x42b8('0x24'),(_0xaf564a,_0x6b83fa={})=>{const _0x1d8106=_0x549011[_0x42b8('0x7')][_0x42b8('0x16')](_0x549011['model'][_0x42b8('0x0')]['selection']);_0x1d8106['isCollapsed']&&_0x549011['model'][_0x42b8('0xe')](_0x1d8106,{'direction':_0x42b8('0xa'),'unit':_0x6b83fa[_0x42b8('0x21')]});const _0x15b14d=_0x1d8106[_0x42b8('0xd')](),_0x40ea31=_0x494138[_0x42b8('0x19')](_0x15b14d);let _0x5838b4;_0xaf564a(_0x6b83fa),_0x5838b4=_0x42b8('0x28')==_0x40ea31[_0x42b8('0x8')][_0x42b8('0x23')]?_0x549011['model'][_0x42b8('0x2')](_0x15b14d['start']):_0x549011[_0x42b8('0x7')][_0x42b8('0x2')](_0x40ea31[_0x42b8('0x15')],_0x40ea31[_0x42b8('0x11')]),_0x40ea31['detach'](),_0x549011[_0x42b8('0x7')][_0x42b8('0x12')](_0x1d4891[_0x42b8('0x6')][_0x42b8('0x10')],_0x51fb08=>{_0x1d4891[_0x42b8('0x6')][_0x42b8('0x27')](),_0x51fb08['setSelection'](_0x51fb08[_0x42b8('0x2')](_0x5838b4[_0x42b8('0x11')])),_0x1d4891[_0x42b8('0x6')][_0x42b8('0x22')]();});}),_0x549011[_0x42b8('0x1d')]['downcastDispatcher']['on'](_0x42b8('0xf'),_0x2bb482(_0x549011,_0x42b8('0x1e')),{'priority':'high'}),_0x549011[_0x42b8('0xc')][_0x42b8('0x1')]['on']('addMarker:suggestion:deletion',(_0x563543,_0x3373d0,_0x16c7dc)=>{_0x16c7dc[_0x42b8('0x26')][_0x42b8('0x3')]&&_0x2bb482(_0x549011,_0x42b8('0x1e'),{'showActiveMarker':!0x1})[_0x42b8('0x13')](this)(_0x563543,_0x3373d0,_0x16c7dc);},{'priority':'high'}),_0x549011['editing'][_0x42b8('0x1')]['on'](_0x42b8('0x9'),(_0x194d95,_0x2ca8eb,_0x589222)=>{const _0x5d8d97=_0x589222[_0x42b8('0x14')][_0x42b8('0x1b')](_0x2ca8eb[_0x42b8('0x1c')]);if(_0x5d8d97)for(const _0x29f305 of _0x5d8d97)_0x29f305['is'](_0x42b8('0xb'))&&(_0x589222[_0x42b8('0x14')]['unbindElementFromMarkerName'](_0x29f305,_0x2ca8eb['markerName']),_0x589222['writer'][_0x42b8('0x1a')](_0x29f305));},{'priority':_0x42b8('0x17')});}}