@ckeditor/ckeditor5-track-changes 40.0.0 → 40.2.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 (232) hide show
  1. package/CHANGELOG.md +15 -15
  2. package/LICENSE.md +3 -3
  3. package/README.md +1 -1
  4. package/build/track-changes.js +2 -2
  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/contexts.json +20 -1
  53. package/lang/translations/ar.po +78 -2
  54. package/lang/translations/az.po +77 -1
  55. package/lang/translations/bg.po +78 -2
  56. package/lang/translations/bn.po +78 -2
  57. package/lang/translations/ca.po +78 -2
  58. package/lang/translations/cs.po +78 -2
  59. package/lang/translations/da.po +78 -2
  60. package/lang/translations/de.po +78 -2
  61. package/lang/translations/el.po +78 -2
  62. package/lang/translations/en-au.po +78 -2
  63. package/lang/translations/en.po +78 -2
  64. package/lang/translations/es.po +78 -2
  65. package/lang/translations/et.po +78 -2
  66. package/lang/translations/fi.po +78 -2
  67. package/lang/translations/fr.po +78 -2
  68. package/lang/translations/gl.po +90 -14
  69. package/lang/translations/he.po +78 -2
  70. package/lang/translations/hi.po +78 -2
  71. package/lang/translations/hr.po +78 -2
  72. package/lang/translations/hu.po +78 -2
  73. package/lang/translations/id.po +78 -2
  74. package/lang/translations/it.po +78 -2
  75. package/lang/translations/ja.po +78 -2
  76. package/lang/translations/ko.po +78 -2
  77. package/lang/translations/lt.po +78 -2
  78. package/lang/translations/lv.po +78 -2
  79. package/lang/translations/ms.po +78 -2
  80. package/lang/translations/nl.po +78 -2
  81. package/lang/translations/no.po +78 -2
  82. package/lang/translations/pl.po +78 -2
  83. package/lang/translations/pt-br.po +96 -20
  84. package/lang/translations/pt.po +78 -2
  85. package/lang/translations/ro.po +78 -2
  86. package/lang/translations/ru.po +78 -2
  87. package/lang/translations/sk.po +78 -2
  88. package/lang/translations/sq.po +77 -1
  89. package/lang/translations/sr-latn.po +78 -2
  90. package/lang/translations/sr.po +78 -2
  91. package/lang/translations/sv.po +78 -2
  92. package/lang/translations/th.po +78 -2
  93. package/lang/translations/tk.po +77 -1
  94. package/lang/translations/tr.po +78 -2
  95. package/lang/translations/tt.po +77 -1
  96. package/lang/translations/uk.po +78 -2
  97. package/lang/translations/ur.po +77 -1
  98. package/lang/translations/vi.po +78 -2
  99. package/lang/translations/zh-cn.po +78 -2
  100. package/lang/translations/zh.po +78 -2
  101. package/package.json +3 -3
  102. package/src/augmentation.d.ts +40 -40
  103. package/src/commands/acceptsuggestioncommand.d.ts +24 -24
  104. package/src/commands/acceptsuggestioncommand.js +1 -1
  105. package/src/commands/discardsuggestioncommand.d.ts +24 -24
  106. package/src/commands/discardsuggestioncommand.js +1 -1
  107. package/src/commands/executeonallsuggestionscommand.d.ts +24 -24
  108. package/src/commands/executeonallsuggestionscommand.js +1 -1
  109. package/src/commands/executeonselectedsuggestionscommand.d.ts +24 -24
  110. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  111. package/src/commands/trackchangescommand.d.ts +26 -26
  112. package/src/commands/trackchangescommand.js +1 -1
  113. package/src/index.d.ts +16 -16
  114. package/src/integrations/aiassistant.d.ts +17 -17
  115. package/src/integrations/aiassistant.js +1 -1
  116. package/src/integrations/alignment.d.ts +17 -17
  117. package/src/integrations/alignment.js +1 -1
  118. package/src/integrations/basicstyles.d.ts +17 -17
  119. package/src/integrations/basicstyles.js +1 -1
  120. package/src/integrations/blockquote.d.ts +17 -17
  121. package/src/integrations/blockquote.js +1 -1
  122. package/src/integrations/ckbox.d.ts +17 -17
  123. package/src/integrations/ckbox.js +1 -1
  124. package/src/integrations/codeblock.d.ts +17 -17
  125. package/src/integrations/codeblock.js +1 -1
  126. package/src/integrations/comments.d.ts +14 -14
  127. package/src/integrations/comments.js +1 -1
  128. package/src/integrations/deletecommand.d.ts +17 -17
  129. package/src/integrations/deletecommand.js +1 -1
  130. package/src/integrations/documentlist.d.ts +17 -17
  131. package/src/integrations/documentlist.js +1 -1
  132. package/src/integrations/documentlistproperties.d.ts +29 -29
  133. package/src/integrations/documentlistproperties.js +1 -1
  134. package/src/integrations/entercommand.d.ts +16 -16
  135. package/src/integrations/entercommand.js +1 -1
  136. package/src/integrations/findandreplace.d.ts +21 -21
  137. package/src/integrations/findandreplace.js +1 -1
  138. package/src/integrations/font.d.ts +17 -17
  139. package/src/integrations/font.js +1 -1
  140. package/src/integrations/formatpainter.d.ts +17 -17
  141. package/src/integrations/formatpainter.js +1 -1
  142. package/src/integrations/heading.d.ts +17 -17
  143. package/src/integrations/heading.js +1 -1
  144. package/src/integrations/highlight.d.ts +17 -17
  145. package/src/integrations/highlight.js +1 -1
  146. package/src/integrations/horizontalline.d.ts +17 -17
  147. package/src/integrations/horizontalline.js +1 -1
  148. package/src/integrations/htmlembed.d.ts +17 -17
  149. package/src/integrations/htmlembed.js +1 -1
  150. package/src/integrations/image.d.ts +17 -17
  151. package/src/integrations/image.js +1 -1
  152. package/src/integrations/imagereplace.d.ts +17 -23
  153. package/src/integrations/imagereplace.js +1 -1
  154. package/src/integrations/imagestyle.d.ts +17 -0
  155. package/src/integrations/imagestyle.js +23 -0
  156. package/src/integrations/importword.d.ts +18 -18
  157. package/src/integrations/importword.js +1 -1
  158. package/src/integrations/indent.d.ts +17 -17
  159. package/src/integrations/indent.js +1 -1
  160. package/src/integrations/inputcommand.d.ts +16 -16
  161. package/src/integrations/inputcommand.js +1 -1
  162. package/src/integrations/link.d.ts +17 -17
  163. package/src/integrations/link.js +1 -1
  164. package/src/integrations/list.d.ts +17 -17
  165. package/src/integrations/list.js +1 -1
  166. package/src/integrations/listproperties.d.ts +29 -29
  167. package/src/integrations/listproperties.js +1 -1
  168. package/src/integrations/mediaembed.d.ts +17 -17
  169. package/src/integrations/mediaembed.js +1 -1
  170. package/src/integrations/mention.d.ts +17 -17
  171. package/src/integrations/mention.js +1 -1
  172. package/src/integrations/pagebreak.d.ts +17 -17
  173. package/src/integrations/pagebreak.js +1 -1
  174. package/src/integrations/paragraph.d.ts +17 -17
  175. package/src/integrations/paragraph.js +1 -1
  176. package/src/integrations/removeformat.d.ts +17 -17
  177. package/src/integrations/removeformat.js +1 -1
  178. package/src/integrations/restrictededitingmode.d.ts +17 -17
  179. package/src/integrations/restrictededitingmode.js +1 -1
  180. package/src/integrations/shiftentercommand.d.ts +16 -16
  181. package/src/integrations/shiftentercommand.js +1 -1
  182. package/src/integrations/standardeditingmode.d.ts +17 -17
  183. package/src/integrations/standardeditingmode.js +1 -1
  184. package/src/integrations/style.d.ts +17 -18
  185. package/src/integrations/style.js +1 -1
  186. package/src/integrations/table.d.ts +42 -42
  187. package/src/integrations/table.js +1 -1
  188. package/src/integrations/tablecaption.d.ts +22 -22
  189. package/src/integrations/tablecaption.js +1 -1
  190. package/src/integrations/tableclipboard.d.ts +19 -19
  191. package/src/integrations/tableclipboard.js +1 -1
  192. package/src/integrations/tablecolumnresize.d.ts +26 -26
  193. package/src/integrations/tablecolumnresize.js +1 -1
  194. package/src/integrations/tableheadings.d.ts +22 -22
  195. package/src/integrations/tableheadings.js +1 -1
  196. package/src/integrations/tablemergesplit.d.ts +22 -22
  197. package/src/integrations/tablemergesplit.js +1 -1
  198. package/src/integrations/tableofcontents.d.ts +17 -17
  199. package/src/integrations/tableofcontents.js +1 -1
  200. package/src/integrations/tableproperties.d.ts +27 -27
  201. package/src/integrations/tableproperties.js +1 -1
  202. package/src/integrations/template.d.ts +17 -17
  203. package/src/integrations/template.js +1 -1
  204. package/src/integrations/title.d.ts +17 -17
  205. package/src/integrations/title.js +1 -1
  206. package/src/integrations/undo.d.ts +17 -17
  207. package/src/integrations/undo.js +1 -1
  208. package/src/integrations/utils.d.ts +21 -21
  209. package/src/integrations/utils.js +1 -1
  210. package/src/suggestion.d.ts +291 -276
  211. package/src/suggestion.js +1 -1
  212. package/src/suggestiondescriptionfactory.d.ts +183 -163
  213. package/src/suggestiondescriptionfactory.js +1 -1
  214. package/src/trackchanges.d.ts +180 -244
  215. package/src/trackchanges.js +1 -1
  216. package/src/trackchangesconfig.d.ts +78 -75
  217. package/src/trackchangesdata.d.ts +41 -41
  218. package/src/trackchangesdata.js +1 -1
  219. package/src/trackchangesediting.d.ts +524 -468
  220. package/src/trackchangesediting.js +1 -1
  221. package/src/trackchangesui.d.ts +38 -38
  222. package/src/trackchangesui.js +1 -1
  223. package/src/ui/suggestioncontroller.d.ts +37 -37
  224. package/src/ui/suggestioncontroller.js +1 -1
  225. package/src/ui/view/basesuggestionthreadview.d.ts +170 -170
  226. package/src/ui/view/basesuggestionthreadview.js +1 -1
  227. package/src/ui/view/suggestionthreadview.d.ts +182 -182
  228. package/src/ui/view/suggestionthreadview.js +1 -1
  229. package/src/utils/common-translations.d.ts +9 -9
  230. package/src/utils/common-translations.js +1 -1
  231. package/src/utils/utils.d.ts +30 -30
  232. package/src/utils/utils.js +1 -1
@@ -1,24 +1,24 @@
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/discardsuggestioncommand
7
- * @publicApi
8
- */
9
- import { Command, type Editor } from 'ckeditor5/src/core';
10
- import type Suggestion from '../suggestion';
11
- /**
12
- * A command that discards the suggestion chain.
13
- */
14
- export default class DiscardSuggestionCommand extends Command {
15
- constructor(editor: Editor, suggestions: Map<string, Suggestion>);
16
- /**
17
- * @inheritDoc
18
- */
19
- refresh(): void;
20
- /**
21
- * @inheritDoc
22
- */
23
- execute(suggestionId: string): void;
24
- }
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/discardsuggestioncommand
7
+ * @publicApi
8
+ */
9
+ import { Command, type Editor } from 'ckeditor5/src/core';
10
+ import type Suggestion from '../suggestion';
11
+ /**
12
+ * A command that discards the suggestion chain.
13
+ */
14
+ export default class DiscardSuggestionCommand extends Command {
15
+ constructor(editor: Editor, suggestions: Map<string, Suggestion>);
16
+ /**
17
+ * @inheritDoc
18
+ */
19
+ refresh(): void;
20
+ /**
21
+ * @inheritDoc
22
+ */
23
+ execute(suggestionId: string): void;
24
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x60ce=['TrackChangesEditing','_suggestions','plugins','canEditAt','getRanges','isEnabled','model','_isEnabledBasedOnSelection','get','track-changes-discard-suggestion-not-found','editor'];(function(_0x1f68b1,_0x60ce95){const _0x373f42=function(_0x173e1c){while(--_0x173e1c){_0x1f68b1['push'](_0x1f68b1['shift']());}};_0x373f42(++_0x60ce95);}(_0x60ce,0xe8));const _0x373f=function(_0x1f68b1,_0x60ce95){_0x1f68b1=_0x1f68b1-0x0;let _0x373f42=_0x60ce[_0x1f68b1];return _0x373f42;};import{Command as _0x248f0a}from'ckeditor5/src/core';import{CKEditorError as _0x2f6d5f}from'ckeditor5/src/utils';export default class $ extends _0x248f0a{constructor(_0x5658d6,_0x376db2){super(_0x5658d6),this['_suggestions']=_0x376db2,this['refresh'](),this[_0x373f('0x6')]=!0x1;}['refresh'](){this[_0x373f('0x4')]=!0x0;}['execute'](_0x43b2db){const _0x353cc9=this[_0x373f('0x0')][_0x373f('0x7')](_0x43b2db);if(!_0x353cc9)throw new _0x2f6d5f(_0x373f('0x8'),this);const _0xfbdf38=_0x353cc9[_0x373f('0x3')]();this['editor'][_0x373f('0x5')][_0x373f('0x2')](_0xfbdf38)&&this[_0x373f('0x9')][_0x373f('0x1')][_0x373f('0x7')](_0x373f('0xa'))['discardSuggestion'](_0x353cc9);}}
23
+ const _0x215c=['editor','getRanges','canEditAt','isEnabled','TrackChangesEditing','discardSuggestion','track-changes-discard-suggestion-not-found','model','get','plugins','_suggestions','refresh'];(function(_0xf97519,_0x215c4b){const _0x535910=function(_0x120b67){while(--_0x120b67){_0xf97519['push'](_0xf97519['shift']());}};_0x535910(++_0x215c4b);}(_0x215c,0xa5));const _0x5359=function(_0xf97519,_0x215c4b){_0xf97519=_0xf97519-0x0;let _0x535910=_0x215c[_0xf97519];return _0x535910;};import{Command as _0x43c34a}from'ckeditor5/src/core';import{CKEditorError as _0xcf51b1}from'ckeditor5/src/utils';export default class x extends _0x43c34a{constructor(_0x59d0e8,_0x2bb1dd){super(_0x59d0e8),this[_0x5359('0x1')]=_0x2bb1dd,this[_0x5359('0x2')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x5359('0x2')](){this[_0x5359('0x6')]=!0x0;}['execute'](_0xccf869){const _0x336dc5=this[_0x5359('0x1')][_0x5359('0xb')](_0xccf869);if(!_0x336dc5)throw new _0xcf51b1(_0x5359('0x9'),this);const _0x10fa9f=_0x336dc5[_0x5359('0x4')]();this[_0x5359('0x3')][_0x5359('0xa')][_0x5359('0x5')](_0x10fa9f)&&this[_0x5359('0x3')][_0x5359('0x0')][_0x5359('0xb')](_0x5359('0x7'))[_0x5359('0x8')](_0x336dc5);}}
@@ -1,24 +1,24 @@
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/executeonallsuggestionscommand
7
- * @publicApi
8
- */
9
- import { Command, type Editor } from 'ckeditor5/src/core';
10
- import type Suggestion from '../suggestion';
11
- /**
12
- * A command that executes passed command (accept or discard suggestion command) at once for all suggestions in the document.
13
- */
14
- export default class ExecuteOnAllSuggestionsCommand<T extends Command> extends Command {
15
- constructor(editor: Editor, command: T, suggestions: Map<string, Suggestion>);
16
- /**
17
- * @inheritDoc
18
- */
19
- refresh(): void;
20
- /**
21
- * @inheritDoc
22
- */
23
- execute(): void;
24
- }
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/executeonallsuggestionscommand
7
+ * @publicApi
8
+ */
9
+ import { Command, type Editor } from 'ckeditor5/src/core';
10
+ import type Suggestion from '../suggestion';
11
+ /**
12
+ * A command that executes passed command (accept or discard suggestion command) at once for all suggestions in the document.
13
+ */
14
+ export default class ExecuteOnAllSuggestionsCommand<T extends Command> extends Command {
15
+ constructor(editor: Editor, command: T, suggestions: Map<string, Suggestion>);
16
+ /**
17
+ * @inheritDoc
18
+ */
19
+ refresh(): void;
20
+ /**
21
+ * @inheritDoc
22
+ */
23
+ execute(): void;
24
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3880=['getRanges','isInContent','execute','isEnabled','values','model','_suggestions','refresh','from','_command','editor'];(function(_0x3cb4f0,_0x388041){const _0x35201e=function(_0x3f1570){while(--_0x3f1570){_0x3cb4f0['push'](_0x3cb4f0['shift']());}};_0x35201e(++_0x388041);}(_0x3880,0x163));const _0x3520=function(_0x3cb4f0,_0x388041){_0x3cb4f0=_0x3cb4f0-0x0;let _0x35201e=_0x3880[_0x3cb4f0];return _0x35201e;};import{Command as _0xd82202}from'ckeditor5/src/core';import{sortSuggestions as _0x283458,executeCommandForSuggestions as _0x4ab057}from'../utils/utils';export default class N extends _0xd82202{constructor(_0xacc81a,_0x2263f1,_0x8da4b2){super(_0xacc81a),this[_0x3520('0x6')]=_0x2263f1,this[_0x3520('0x3')]=_0x8da4b2,this[_0x3520('0x4')](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x1d061b=Array['from'](this[_0x3520('0x3')]['values']())['some'](_0x2b6e04=>_0x2b6e04[_0x3520('0x9')]);this[_0x3520('0x0')]=this[_0x3520('0x6')]['isEnabled']&&_0x1d061b;}[_0x3520('0xa')](){const _0x566083=_0x283458(Array[_0x3520('0x5')](this[_0x3520('0x3')][_0x3520('0x1')]()));for(const _0x290a0d of _0x566083){const _0xdea80f=_0x290a0d[_0x3520('0x8')]();if(!this[_0x3520('0x7')]['model']['canEditAt'](_0xdea80f))return;}_0x4ab057(this[_0x3520('0x7')][_0x3520('0x2')],this['_command'],_0x566083);}}
23
+ const _0x3ed5=['_suggestions','getRanges','model','canEditAt','execute','refresh','some','isInContent','values','_isEnabledBasedOnSelection','editor','_command','from','isEnabled'];(function(_0x3b5aa1,_0x3ed55e){const _0x393a8d=function(_0x55af41){while(--_0x55af41){_0x3b5aa1['push'](_0x3b5aa1['shift']());}};_0x393a8d(++_0x3ed55e);}(_0x3ed5,0x15d));const _0x393a=function(_0x3b5aa1,_0x3ed55e){_0x3b5aa1=_0x3b5aa1-0x0;let _0x393a8d=_0x3ed5[_0x3b5aa1];return _0x393a8d;};import{Command as _0x250d4e}from'ckeditor5/src/core';import{sortSuggestions as _0x513e10,executeCommandForSuggestions as _0x9ad544}from'../utils/utils';export default class E extends _0x250d4e{constructor(_0x30dac9,_0x660826,_0x46eebe){super(_0x30dac9),this[_0x393a('0xc')]=_0x660826,this[_0x393a('0x1')]=_0x46eebe,this[_0x393a('0x6')](),this[_0x393a('0xa')]=!0x1;}[_0x393a('0x6')](){const _0x551213=Array[_0x393a('0xd')](this[_0x393a('0x1')][_0x393a('0x9')]())[_0x393a('0x7')](_0x4d2665=>_0x4d2665[_0x393a('0x8')]);this['isEnabled']=this[_0x393a('0xc')][_0x393a('0x0')]&&_0x551213;}[_0x393a('0x5')](){const _0x133a86=_0x513e10(Array['from'](this[_0x393a('0x1')][_0x393a('0x9')]()));for(const _0xa7c119 of _0x133a86){const _0x1621d6=_0xa7c119[_0x393a('0x2')]();if(!this[_0x393a('0xb')][_0x393a('0x3')][_0x393a('0x4')](_0x1621d6))return;}_0x9ad544(this[_0x393a('0xb')]['model'],this[_0x393a('0xc')],_0x133a86);}}
@@ -1,24 +1,24 @@
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/executeonselectedsuggestionscommand
7
- * @publicApi
8
- */
9
- import { Command, type Editor } from 'ckeditor5/src/core';
10
- import type Suggestion from '../suggestion';
11
- /**
12
- * A command that executes passed command (accept or discard suggestion command) at once for all suggestions selected in the document.
13
- */
14
- export default class ExecuteOnSelectedSuggestionsCommand<T extends Command> extends Command {
15
- constructor(editor: Editor, command: T, suggestions: Map<string, Suggestion>);
16
- /**
17
- * @inheritDoc
18
- */
19
- refresh(): void;
20
- /**
21
- * @inheritDoc
22
- */
23
- execute(): void;
24
- }
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/executeonselectedsuggestionscommand
7
+ * @publicApi
8
+ */
9
+ import { Command, type Editor } from 'ckeditor5/src/core';
10
+ import type Suggestion from '../suggestion';
11
+ /**
12
+ * A command that executes passed command (accept or discard suggestion command) at once for all suggestions selected in the document.
13
+ */
14
+ export default class ExecuteOnSelectedSuggestionsCommand<T extends Command> extends Command {
15
+ constructor(editor: Editor, command: T, suggestions: Map<string, Suggestion>);
16
+ /**
17
+ * @inheritDoc
18
+ */
19
+ refresh(): void;
20
+ /**
21
+ * @inheritDoc
22
+ */
23
+ execute(): void;
24
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x50ff=['from','editor','_suggestions','execute','document','size','canEditAt','values','_selectedSuggestions','_command','getRanges','selection','model','isEnabled','refresh'];(function(_0x5ab14d,_0x50ff01){const _0x5eb5f0=function(_0x42eb30){while(--_0x42eb30){_0x5ab14d['push'](_0x5ab14d['shift']());}};_0x5eb5f0(++_0x50ff01);}(_0x50ff,0x1e1));const _0x5eb5=function(_0x5ab14d,_0x50ff01){_0x5ab14d=_0x5ab14d-0x0;let _0x5eb5f0=_0x50ff[_0x5ab14d];return _0x5eb5f0;};import{Command as _0xa897e8}from'ckeditor5/src/core';import{sortSuggestions as _0x405e45,getSelectedSuggestions as _0x285c39,executeCommandForSuggestions as _0x4f0258}from'../utils/utils';export default class R extends _0xa897e8{constructor(_0x32c0ec,_0x5969de,_0x3976ef){super(_0x32c0ec),this[_0x5eb5('0x8')]=_0x5969de,this[_0x5eb5('0x1')]=_0x3976ef,this[_0x5eb5('0x7')]=new Set(),this[_0x5eb5('0xd')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x5eb5('0xd')](){const _0xf9d2bb=this['editor']['model'][_0x5eb5('0x3')][_0x5eb5('0xa')],_0x36607b=Array[_0x5eb5('0xe')](this[_0x5eb5('0x1')][_0x5eb5('0x6')]());this[_0x5eb5('0x7')]=_0x285c39(_0xf9d2bb,_0x36607b),this[_0x5eb5('0xc')]=this[_0x5eb5('0x8')][_0x5eb5('0xc')]&&!!this['_selectedSuggestions'][_0x5eb5('0x4')];}[_0x5eb5('0x2')](){const _0x7fe869=_0x405e45(Array[_0x5eb5('0xe')](this[_0x5eb5('0x7')]));for(const _0x2f2dc8 of _0x7fe869){const _0x544771=_0x2f2dc8[_0x5eb5('0x9')]();if(!this['editor'][_0x5eb5('0xb')][_0x5eb5('0x5')](_0x544771))return;}_0x4f0258(this[_0x5eb5('0x0')][_0x5eb5('0xb')],this[_0x5eb5('0x8')],_0x7fe869);}}
23
+ const _0x175d=['getRanges','_suggestions','refresh','size','from','isEnabled','_isEnabledBasedOnSelection','canEditAt','model','values','editor','selection','_selectedSuggestions','_command'];(function(_0x5cb683,_0x175d5f){const _0x58670d=function(_0x2160b7){while(--_0x2160b7){_0x5cb683['push'](_0x5cb683['shift']());}};_0x58670d(++_0x175d5f);}(_0x175d,0x1e9));const _0x5867=function(_0x5cb683,_0x175d5f){_0x5cb683=_0x5cb683-0x0;let _0x58670d=_0x175d[_0x5cb683];return _0x58670d;};import{Command as _0x12a957}from'ckeditor5/src/core';import{sortSuggestions as _0x243297,getSelectedSuggestions as _0x403371,executeCommandForSuggestions as _0x31dd74}from'../utils/utils';export default class R extends _0x12a957{constructor(_0xe9fc15,_0x31d87f,_0x13e308){super(_0xe9fc15),this[_0x5867('0x0')]=_0x31d87f,this[_0x5867('0x2')]=_0x13e308,this['_selectedSuggestions']=new Set(),this[_0x5867('0x3')](),this[_0x5867('0x7')]=!0x1;}[_0x5867('0x3')](){const _0x2fd0d2=this[_0x5867('0xb')][_0x5867('0x9')]['document'][_0x5867('0xc')],_0x165b8e=Array[_0x5867('0x5')](this['_suggestions'][_0x5867('0xa')]());this[_0x5867('0xd')]=_0x403371(_0x2fd0d2,_0x165b8e),this[_0x5867('0x6')]=this[_0x5867('0x0')]['isEnabled']&&!!this[_0x5867('0xd')][_0x5867('0x4')];}['execute'](){const _0x492b64=_0x243297(Array[_0x5867('0x5')](this[_0x5867('0xd')]));for(const _0x21f95d of _0x492b64){const _0x58a1d8=_0x21f95d[_0x5867('0x1')]();if(!this[_0x5867('0xb')][_0x5867('0x9')][_0x5867('0x8')](_0x58a1d8))return;}_0x31dd74(this[_0x5867('0xb')][_0x5867('0x9')],this[_0x5867('0x0')],_0x492b64);}}
@@ -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 _0x50b4=['has','_enableCommands','_isEnabledBasedOnSelection','TrackChangesCommand','_enabledCommands','clearForceDisabled','commands','affectsData','forceDisabled','_disableUnsupportedCommands','value','editor','refresh'];(function(_0x2c62d6,_0x50b46d){const _0x5956d2=function(_0x2150b2){while(--_0x2150b2){_0x2c62d6['push'](_0x2c62d6['shift']());}};_0x5956d2(++_0x50b46d);}(_0x50b4,0x6f));const _0x5956=function(_0x2c62d6,_0x50b46d){_0x2c62d6=_0x2c62d6-0x0;let _0x5956d2=_0x50b4[_0x2c62d6];return _0x5956d2;};import{Command as _0x3f5c43}from'ckeditor5/src/core';export default class $ extends _0x3f5c43{constructor(_0x54d2aa,_0x133e0e){super(_0x54d2aa),this['_enabledCommands']=_0x133e0e,this['value']=!0x1,this[_0x5956('0x5')](),this[_0x5956('0x8')]=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](){this['value']=!this[_0x5956('0x3')],this[_0x5956('0x3')]?this[_0x5956('0x2')]():this[_0x5956('0x7')]();}[_0x5956('0x2')](){for(const _0x28a3ed of this[_0x5956('0x4')][_0x5956('0xc')][_0x5956('0xc')]())_0x28a3ed[_0x5956('0x0')]&&!this['_enabledCommands'][_0x5956('0x6')](_0x28a3ed)&&_0x28a3ed[_0x5956('0x1')](_0x5956('0x9'));}[_0x5956('0x7')](){for(const _0xc0aed3 of this[_0x5956('0x4')]['commands'][_0x5956('0xc')]())_0xc0aed3['affectsData']&&!this[_0x5956('0xa')]['has'](_0xc0aed3)&&_0xc0aed3[_0x5956('0xb')](_0x5956('0x9'));}}
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 _0x5366=['TrackChangesEditing','editor','get','afterInit','commands','showAIAssistant','enableCommand'];(function(_0x11256d,_0x5366df){const _0x12b789=function(_0x58e953){while(--_0x58e953){_0x11256d['push'](_0x11256d['shift']());}};_0x12b789(++_0x5366df);}(_0x5366,0xac));const _0x12b7=function(_0x11256d,_0x5366df){_0x11256d=_0x11256d-0x0;let _0x12b789=_0x5366[_0x11256d];return _0x12b789;};import{Plugin as _0x3318ae}from'ckeditor5/src/core';export default class j extends _0x3318ae{[_0x12b7('0x6')](){const _0x1d4ecb=this[_0x12b7('0x4')],_0x597f2f=_0x1d4ecb['plugins'][_0x12b7('0x5')](_0x12b7('0x3'));_0x1d4ecb[_0x12b7('0x0')][_0x12b7('0x5')]('showAIAssistant')&&_0x597f2f[_0x12b7('0x2')](_0x12b7('0x1'));}}
@@ -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 _0x3ccf=['value','_descriptionFactory','TrackChangesEditing','_registerLegacyDescription','left','afterInit','FORMAT_ALIGN_TO_RIGHT','editor','commandParams','get','format','right','FORMAT_ALIGN_TO_CENTER','*Format:*\x20%0','locale','FORMAT_ALIGN_TO_LEFT','type','FORMAT_JUSTIFY_TEXT','AlignmentEditing','alignment','_enableDefaultAttributesIntegration','plugins','commandName','has'];(function(_0x23d2a3,_0x3ccf23){const _0x15e248=function(_0x6eeb22){while(--_0x6eeb22){_0x23d2a3['push'](_0x23d2a3['shift']());}};_0x15e248(++_0x3ccf23);}(_0x3ccf,0xfa));const _0x15e2=function(_0x23d2a3,_0x3ccf23){_0x23d2a3=_0x23d2a3-0x0;let _0x15e248=_0x3ccf[_0x23d2a3];return _0x15e248;};import{Plugin as _0xc985d8}from'ckeditor5/src/core';import{getTranslation as _0x42acf0}from'../utils/common-translations';export default class U extends _0xc985d8{[_0x15e2('0x13')](){const _0x271f1d=this[_0x15e2('0x15')],_0xa208e1=_0x271f1d[_0x15e2('0x4')];if(!_0x271f1d[_0x15e2('0xb')][_0x15e2('0xd')](_0x15e2('0x8')))return;const _0x1b6e8d=_0x271f1d[_0x15e2('0xb')]['get'](_0x15e2('0x10'));_0x1b6e8d[_0x15e2('0xa')](_0x15e2('0x9'),[],[_0x15e2('0x9')]),_0x1b6e8d[_0x15e2('0xf')]['registerAttributeLabel'](_0x15e2('0x9'),_0x42acf0(_0xa208e1,'FORMAT_ALIGNMENT')),this['_registerLegacyDescription']();}[_0x15e2('0x11')](){const _0x1336b4=this[_0x15e2('0x15')],_0x1937a8=_0x1336b4['locale'];_0x1336b4[_0x15e2('0xb')][_0x15e2('0x17')](_0x15e2('0x10'))[_0x15e2('0xf')]['registerDescriptionCallback'](_0xfc32ce=>{if('formatBlock'!=_0xfc32ce[_0x15e2('0x6')])return;const {data:_0x1baf4f}=_0xfc32ce;if(_0x1baf4f&&_0x15e2('0x9')==_0x1baf4f[_0x15e2('0xc')]){const _0x41c076=_0x1baf4f[_0x15e2('0x16')][0x0][_0x15e2('0xe')];return{'type':_0x15e2('0x0'),'content':_0x42acf0(_0x1937a8,_0x15e2('0x3'),function(_0x40b3bb){switch(_0x40b3bb){case _0x15e2('0x12'):return _0x42acf0(_0x1937a8,_0x15e2('0x5'));case _0x15e2('0x1'):return _0x42acf0(_0x1937a8,_0x15e2('0x14'));case'center':return _0x42acf0(_0x1937a8,_0x15e2('0x2'));case'justify':return _0x42acf0(_0x1937a8,_0x15e2('0x7'));}}(_0x41c076))};}});}}
@@ -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 _0x3a13=['type','*Remove\x20format:*\x20%0','TrackChangesEditing','toUpperCase','FORMAT_BOLD','registerDescriptionCallback','superscript','_descriptionFactory','locale','CodeEditing','plugins','FORMAT_CODE','FORMAT_ITALIC','format','SubscriptEditing','commandName','editor','BoldEditing','has','toLowerCase','SuperscriptEditing','FORMAT_SUBSCRIPT','FORMAT_STRIKETHROUGH','code','FORMAT_UNDERLINE','formatInline','_enableDefaultAttributesIntegration','FORMAT_SUPERSCRIPT','underline','get','subscript','registerAttributeLabel','italic','*Format:*\x20%0','FORMAT_'];(function(_0x30b94e,_0x3a13a4){const _0x60a2c=function(_0x352643){while(--_0x352643){_0x30b94e['push'](_0x30b94e['shift']());}};_0x60a2c(++_0x3a13a4);}(_0x3a13,0x130));const _0x60a2=function(_0x30b94e,_0x3a13a4){_0x30b94e=_0x30b94e-0x0;let _0x60a2c=_0x3a13[_0x30b94e];return _0x60a2c;};import{Plugin as _0x504fc3}from'ckeditor5/src/core';import{getTranslation as _0x46f1e9}from'../utils/common-translations';const ti=[_0x60a2('0x1c'),'ItalicEditing','UnderlineEditing',_0x60a2('0x14'),'StrikethroughEditing',_0x60a2('0x19'),_0x60a2('0x1f')];export default class O extends _0x504fc3{['afterInit'](){const _0x29d53b=this[_0x60a2('0x1b')],_0x51f878=_0x29d53b[_0x60a2('0x15')][_0x60a2('0x5')](_0x60a2('0xd')),_0x546c54=_0x29d53b[_0x60a2('0x13')];for(const _0x9f5ea8 of ti){if(!_0x29d53b[_0x60a2('0x15')][_0x60a2('0x1d')](_0x9f5ea8))continue;const _0x7a755b=_0x9f5ea8['slice'](0x0,-0x7)[_0x60a2('0x1e')](),_0x15f76c=_0x60a2('0xa')+_0x7a755b[_0x60a2('0xe')]();_0x51f878[_0x60a2('0x2')](_0x7a755b,[_0x7a755b]),_0x51f878[_0x60a2('0x12')][_0x60a2('0x7')](_0x7a755b,_0x46f1e9(_0x546c54,_0x15f76c));}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x48d2d9=this[_0x60a2('0x1b')],_0x41c5d6=_0x48d2d9[_0x60a2('0x13')],_0x1dfd74=_0x48d2d9[_0x60a2('0x15')][_0x60a2('0x5')](_0x60a2('0xd'));function _0xb46a58(_0x4e1e0,_0x54323b){_0x1dfd74[_0x60a2('0x12')][_0x60a2('0x10')](_0x51e08d=>{if(_0x60a2('0x1')!=_0x51e08d[_0x60a2('0xb')])return;const {data:_0x1bbde1}=_0x51e08d;return _0x1bbde1&&_0x1bbde1[_0x60a2('0x1a')]===_0x4e1e0?_0x1bbde1['commandParams'][0x0]['forceValue']?{'type':_0x60a2('0x18'),'content':_0x46f1e9(_0x41c5d6,_0x60a2('0x9'),_0x54323b)}:{'type':_0x60a2('0x18'),'content':_0x46f1e9(_0x41c5d6,_0x60a2('0xc'),_0x54323b)}:void 0x0;});}_0xb46a58('bold',_0x46f1e9(_0x41c5d6,_0x60a2('0xf'))),_0xb46a58(_0x60a2('0x8'),_0x46f1e9(_0x41c5d6,_0x60a2('0x17'))),_0xb46a58(_0x60a2('0x4'),_0x46f1e9(_0x41c5d6,_0x60a2('0x0'))),_0xb46a58(_0x60a2('0x22'),_0x46f1e9(_0x41c5d6,_0x60a2('0x16'))),_0xb46a58('strikethrough',_0x46f1e9(_0x41c5d6,_0x60a2('0x21'))),_0xb46a58(_0x60a2('0x6'),_0x46f1e9(_0x41c5d6,_0x60a2('0x20'))),_0xb46a58(_0x60a2('0x11'),_0x46f1e9(_0x41c5d6,_0x60a2('0x3')));}}
@@ -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 _0x2257=['TrackChangesEditing','markBlockFormat','commandParams','plugins','schema','afterInit','ELEMENT_BLOCK_QUOTE','BlockQuoteEditing','name','locale','model','commands','blockQuote','$root','selection','editor','get','checkChild','forceValue','registerDescriptionCallback','getSelectedBlocks','format','commandName','value','from','*Set\x20format:*\x20%0','filter','parent','has'];(function(_0x594d0e,_0x225731){const _0x360712=function(_0x24537b){while(--_0x24537b){_0x594d0e['push'](_0x594d0e['shift']());}};_0x360712(++_0x225731);}(_0x2257,0x1db));const _0x3607=function(_0x594d0e,_0x225731){_0x594d0e=_0x594d0e-0x0;let _0x360712=_0x2257[_0x594d0e];return _0x360712;};import{Plugin as _0x1c01cc}from'ckeditor5/src/core';import{getTranslation as _0x1c414c}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x326436}from'../utils/utils';export default class V extends _0x1c01cc{[_0x3607('0x17')](){const _0x108108=this[_0x3607('0x4')],_0x2e5991=_0x108108[_0x3607('0x1b')];if(!_0x108108[_0x3607('0x15')][_0x3607('0x11')](_0x3607('0x19')))return;const _0x42074b=_0x108108[_0x3607('0x15')][_0x3607('0x5')](_0x3607('0x12')),_0x4f99bb=this['editor'][_0x3607('0x0')][_0x3607('0x5')](_0x3607('0x1'));_0x42074b['enableCommand'](_0x3607('0x1'),(_0x4a6ea2,_0xd06201={})=>{const _0x25e457=this[_0x3607('0x4')][_0x3607('0x1c')]['document'][_0x3607('0x3')],_0x337328=_0xd06201&&void 0x0!==_0xd06201['forceValue']?_0xd06201[_0x3607('0x7')]:!_0x4f99bb[_0x3607('0xc')];let _0x86275b=[];if(_0x337328){const _0x302117=Array[_0x3607('0xd')](_0x25e457[_0x3607('0x9')]())[_0x3607('0xf')](_0x4622e1=>oo(_0x4622e1)||function(_0x4b162a,_0x36f638){const _0x32a0be=_0x36f638['checkChild'](_0x4b162a[_0x3607('0x10')],_0x3607('0x1')),_0x216d0c=_0x36f638[_0x3607('0x6')]([_0x3607('0x2'),'blockQuote'],_0x4b162a);return _0x32a0be&&_0x216d0c;}(_0x4622e1,this[_0x3607('0x4')][_0x3607('0x1c')][_0x3607('0x16')]));_0x86275b=_0x326436(_0x302117,_0x108108[_0x3607('0x1c')]);}else{const _0x5c8e17=Array['from'](_0x25e457['getSelectedBlocks']())['filter'](_0x4b279c=>oo(_0x4b279c));_0x86275b=_0x326436(_0x5c8e17,_0x108108[_0x3607('0x1c')]);}_0x108108['model']['change'](()=>{for(const _0x5be58a of _0x86275b)_0x42074b[_0x3607('0x13')](_0x5be58a,{'commandName':_0x3607('0x1'),'commandParams':[{'forceValue':_0x337328}]});});}),_0x42074b['_descriptionFactory'][_0x3607('0x8')](_0x3d5001=>{const {data:_0x11896a}=_0x3d5001;if(_0x11896a&&_0x3607('0x1')==_0x11896a[_0x3607('0xb')]){const _0x224b68=_0x1c414c(_0x2e5991,_0x3607('0x18'));return _0x11896a[_0x3607('0x14')][0x0][_0x3607('0x7')]?{'type':_0x3607('0xa'),'content':_0x1c414c(_0x2e5991,_0x3607('0xe'),_0x224b68)}:{'type':_0x3607('0xa'),'content':_0x1c414c(_0x2e5991,'*Remove\x20format:*\x20%0',_0x224b68)};}});}}function oo(_0x1f3898){return _0x3607('0x1')==_0x1f3898[_0x3607('0x10')][_0x3607('0x1a')];}
@@ -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 _0x1d84=['editor','TrackChangesEditing','enableCommand','commands','get','plugins','ckbox'];(function(_0x32e7c2,_0x1d84b7){const _0x5adf55=function(_0x34af66){while(--_0x34af66){_0x32e7c2['push'](_0x32e7c2['shift']());}};_0x5adf55(++_0x1d84b7);}(_0x1d84,0x13a));const _0x5adf=function(_0x32e7c2,_0x1d84b7){_0x32e7c2=_0x32e7c2-0x0;let _0x5adf55=_0x1d84[_0x32e7c2];return _0x5adf55;};import{Plugin as _0x39f2b2}from'ckeditor5/src/core';export default class G extends _0x39f2b2{['afterInit'](){const _0x14518d=this[_0x5adf('0x1')];_0x14518d[_0x5adf('0x4')][_0x5adf('0x5')](_0x5adf('0x0'))&&_0x14518d[_0x5adf('0x6')]['get'](_0x5adf('0x2'))[_0x5adf('0x3')](_0x5adf('0x0'));}}