@ckeditor/ckeditor5-format-painter 48.2.0-alpha.7 → 48.3.0-alpha.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 (158) hide show
  1. package/dist/augmentation.d.ts +14 -14
  2. package/dist/copyformatcommand.d.ts +32 -32
  3. package/dist/formatpainter.d.ts +31 -31
  4. package/dist/formatpainterediting.d.ts +28 -28
  5. package/dist/formatpainterui.d.ts +36 -35
  6. package/dist/index.d.ts +12 -12
  7. package/dist/index.js +2 -2
  8. package/dist/legacyerrors.d.ts +0 -4
  9. package/dist/pasteformatcommand.d.ts +19 -19
  10. package/dist/translations/af.js +1 -1
  11. package/dist/translations/af.umd.js +1 -1
  12. package/dist/translations/ar.js +1 -1
  13. package/dist/translations/ar.umd.js +1 -1
  14. package/dist/translations/ast.js +1 -1
  15. package/dist/translations/ast.umd.js +1 -1
  16. package/dist/translations/az.js +1 -1
  17. package/dist/translations/az.umd.js +1 -1
  18. package/dist/translations/be.js +1 -1
  19. package/dist/translations/be.umd.js +1 -1
  20. package/dist/translations/bg.js +1 -1
  21. package/dist/translations/bg.umd.js +1 -1
  22. package/dist/translations/bn.js +1 -1
  23. package/dist/translations/bn.umd.js +1 -1
  24. package/dist/translations/bs.js +1 -1
  25. package/dist/translations/bs.umd.js +1 -1
  26. package/dist/translations/ca.js +1 -1
  27. package/dist/translations/ca.umd.js +1 -1
  28. package/dist/translations/cs.js +1 -1
  29. package/dist/translations/cs.umd.js +1 -1
  30. package/dist/translations/da.js +1 -1
  31. package/dist/translations/da.umd.js +1 -1
  32. package/dist/translations/de-ch.js +1 -1
  33. package/dist/translations/de-ch.umd.js +1 -1
  34. package/dist/translations/de.js +1 -1
  35. package/dist/translations/de.umd.js +1 -1
  36. package/dist/translations/el.js +1 -1
  37. package/dist/translations/el.umd.js +1 -1
  38. package/dist/translations/en-au.js +1 -1
  39. package/dist/translations/en-au.umd.js +1 -1
  40. package/dist/translations/en-gb.js +1 -1
  41. package/dist/translations/en-gb.umd.js +1 -1
  42. package/dist/translations/en.js +1 -1
  43. package/dist/translations/en.umd.js +1 -1
  44. package/dist/translations/eo.js +1 -1
  45. package/dist/translations/eo.umd.js +1 -1
  46. package/dist/translations/es-co.js +1 -1
  47. package/dist/translations/es-co.umd.js +1 -1
  48. package/dist/translations/es.js +1 -1
  49. package/dist/translations/es.umd.js +1 -1
  50. package/dist/translations/et.js +1 -1
  51. package/dist/translations/et.umd.js +1 -1
  52. package/dist/translations/eu.js +1 -1
  53. package/dist/translations/eu.umd.js +1 -1
  54. package/dist/translations/fa.js +1 -1
  55. package/dist/translations/fa.umd.js +1 -1
  56. package/dist/translations/fi.js +1 -1
  57. package/dist/translations/fi.umd.js +1 -1
  58. package/dist/translations/fr.js +1 -1
  59. package/dist/translations/fr.umd.js +1 -1
  60. package/dist/translations/gl.js +1 -1
  61. package/dist/translations/gl.umd.js +1 -1
  62. package/dist/translations/gu.js +1 -1
  63. package/dist/translations/gu.umd.js +1 -1
  64. package/dist/translations/he.js +1 -1
  65. package/dist/translations/he.umd.js +1 -1
  66. package/dist/translations/hi.js +1 -1
  67. package/dist/translations/hi.umd.js +1 -1
  68. package/dist/translations/hr.js +1 -1
  69. package/dist/translations/hr.umd.js +1 -1
  70. package/dist/translations/hu.js +1 -1
  71. package/dist/translations/hu.umd.js +1 -1
  72. package/dist/translations/hy.js +1 -1
  73. package/dist/translations/hy.umd.js +1 -1
  74. package/dist/translations/id.js +1 -1
  75. package/dist/translations/id.umd.js +1 -1
  76. package/dist/translations/it.js +1 -1
  77. package/dist/translations/it.umd.js +1 -1
  78. package/dist/translations/ja.js +1 -1
  79. package/dist/translations/ja.umd.js +1 -1
  80. package/dist/translations/jv.js +1 -1
  81. package/dist/translations/jv.umd.js +1 -1
  82. package/dist/translations/kk.js +1 -1
  83. package/dist/translations/kk.umd.js +1 -1
  84. package/dist/translations/km.js +1 -1
  85. package/dist/translations/km.umd.js +1 -1
  86. package/dist/translations/kn.js +1 -1
  87. package/dist/translations/kn.umd.js +1 -1
  88. package/dist/translations/ko.js +1 -1
  89. package/dist/translations/ko.umd.js +1 -1
  90. package/dist/translations/ku.js +1 -1
  91. package/dist/translations/ku.umd.js +1 -1
  92. package/dist/translations/lt.js +1 -1
  93. package/dist/translations/lt.umd.js +1 -1
  94. package/dist/translations/lv.js +1 -1
  95. package/dist/translations/lv.umd.js +1 -1
  96. package/dist/translations/ms.js +1 -1
  97. package/dist/translations/ms.umd.js +1 -1
  98. package/dist/translations/nb.js +1 -1
  99. package/dist/translations/nb.umd.js +1 -1
  100. package/dist/translations/ne.js +1 -1
  101. package/dist/translations/ne.umd.js +1 -1
  102. package/dist/translations/nl.js +1 -1
  103. package/dist/translations/nl.umd.js +1 -1
  104. package/dist/translations/no.js +1 -1
  105. package/dist/translations/no.umd.js +1 -1
  106. package/dist/translations/oc.js +1 -1
  107. package/dist/translations/oc.umd.js +1 -1
  108. package/dist/translations/pl.js +1 -1
  109. package/dist/translations/pl.umd.js +1 -1
  110. package/dist/translations/pt-br.js +1 -1
  111. package/dist/translations/pt-br.umd.js +1 -1
  112. package/dist/translations/pt.js +1 -1
  113. package/dist/translations/pt.umd.js +1 -1
  114. package/dist/translations/ro.js +1 -1
  115. package/dist/translations/ro.umd.js +1 -1
  116. package/dist/translations/ru.js +1 -1
  117. package/dist/translations/ru.umd.js +1 -1
  118. package/dist/translations/si.js +1 -1
  119. package/dist/translations/si.umd.js +1 -1
  120. package/dist/translations/sk.js +1 -1
  121. package/dist/translations/sk.umd.js +1 -1
  122. package/dist/translations/sl.js +1 -1
  123. package/dist/translations/sl.umd.js +1 -1
  124. package/dist/translations/sq.js +1 -1
  125. package/dist/translations/sq.umd.js +1 -1
  126. package/dist/translations/sr-latn.js +1 -1
  127. package/dist/translations/sr-latn.umd.js +1 -1
  128. package/dist/translations/sr.js +1 -1
  129. package/dist/translations/sr.umd.js +1 -1
  130. package/dist/translations/sv.js +1 -1
  131. package/dist/translations/sv.umd.js +1 -1
  132. package/dist/translations/th.js +1 -1
  133. package/dist/translations/th.umd.js +1 -1
  134. package/dist/translations/ti.js +1 -1
  135. package/dist/translations/ti.umd.js +1 -1
  136. package/dist/translations/tk.js +1 -1
  137. package/dist/translations/tk.umd.js +1 -1
  138. package/dist/translations/tr.js +1 -1
  139. package/dist/translations/tr.umd.js +1 -1
  140. package/dist/translations/tt.js +1 -1
  141. package/dist/translations/tt.umd.js +1 -1
  142. package/dist/translations/ug.js +1 -1
  143. package/dist/translations/ug.umd.js +1 -1
  144. package/dist/translations/uk.js +1 -1
  145. package/dist/translations/uk.umd.js +1 -1
  146. package/dist/translations/ur.js +1 -1
  147. package/dist/translations/ur.umd.js +1 -1
  148. package/dist/translations/uz.js +1 -1
  149. package/dist/translations/uz.umd.js +1 -1
  150. package/dist/translations/vi.js +1 -1
  151. package/dist/translations/vi.umd.js +1 -1
  152. package/dist/translations/zh-cn.js +1 -1
  153. package/dist/translations/zh-cn.umd.js +1 -1
  154. package/dist/translations/zh.js +1 -1
  155. package/dist/translations/zh.umd.js +1 -1
  156. package/dist/utils/common-translations.d.ts +6 -6
  157. package/dist/utils.d.ts +17 -17
  158. package/package.json +7 -7
@@ -1,16 +1,16 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- import type { FormatPainter, FormatPainterEditing, FormatPainterUI, PasteFormatCommand, CopyFormatCommand, COPY_FORMAT_COMMAND_NAME, PASTE_FORMAT_COMMAND_NAME } from './index.js';
6
- declare module '@ckeditor/ckeditor5-core' {
7
- interface PluginsMap {
8
- [FormatPainter.pluginName]: FormatPainter;
9
- [FormatPainterEditing.pluginName]: FormatPainterEditing;
10
- [FormatPainterUI.pluginName]: FormatPainterUI;
11
- }
12
- interface CommandsMap {
13
- [COPY_FORMAT_COMMAND_NAME]: CopyFormatCommand;
14
- [PASTE_FORMAT_COMMAND_NAME]: PasteFormatCommand;
15
- }
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ import type { FormatPainter, FormatPainterEditing, FormatPainterUI, PasteFormatCommand, CopyFormatCommand, COPY_FORMAT_COMMAND_NAME, PASTE_FORMAT_COMMAND_NAME } from "./index.js";
6
+ declare module "@ckeditor/ckeditor5-core" {
7
+ interface PluginsMap {
8
+ [FormatPainter.pluginName]: FormatPainter;
9
+ [FormatPainterEditing.pluginName]: FormatPainterEditing;
10
+ [FormatPainterUI.pluginName]: FormatPainterUI;
11
+ }
12
+ interface CommandsMap {
13
+ [COPY_FORMAT_COMMAND_NAME]: CopyFormatCommand;
14
+ [PASTE_FORMAT_COMMAND_NAME]: PasteFormatCommand;
15
+ }
16
16
  }
@@ -1,37 +1,37 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module format-painter/copyformatcommand
7
- * @publicApi
8
- */
9
- import { Command, type Editor } from '@ckeditor/ckeditor5-core';
10
- import type { FormattingAttributesValues } from './formatpainterediting.js';
6
+ * @module format-painter/copyformatcommand
7
+ * @publicApi
8
+ */
9
+ import { Command, type Editor } from "@ckeditor/ckeditor5-core";
10
+ import type { FormattingAttributesValues } from "./formatpainterediting.js";
11
11
  /**
12
- * This command copies the formatting from the current {@link module:engine/model/selection~ModelSelection model selection}
13
- * and stores it in its {@link module:format-painter/copyformatcommand~CopyFormatCommand#value} property.
14
- *
15
- * The formatting can then be pasted using the {@link module:format-painter/pasteformatcommand~PasteFormatCommand}.
16
- *
17
- * @extends module:core/command~Command
18
- */
12
+ * This command copies the formatting from the current {@link module:engine/model/selection~ModelSelection model selection}
13
+ * and stores it in its {@link module:format-painter/copyformatcommand~CopyFormatCommand#value} property.
14
+ *
15
+ * The formatting can then be pasted using the {@link module:format-painter/pasteformatcommand~PasteFormatCommand}.
16
+ *
17
+ * @extends module:core/command~Command
18
+ */
19
19
  export declare class CopyFormatCommand extends Command {
20
- value: FormattingAttributesValues | undefined;
21
- /**
22
- * Creates a new `CopyFormatCommand` instance.
23
- *
24
- * @param {module:core/editor/editor~Editor} editor The editor on which this command will be used.
25
- */
26
- constructor(editor: Editor);
27
- /**
28
- * Executes the command. The formatting is then stored in the {@link #value} property.
29
- *
30
- * @fires execute
31
- */
32
- execute(): void;
33
- /**
34
- * Resets the stored formatting.
35
- */
36
- reset(): void;
20
+ value: FormattingAttributesValues | undefined;
21
+ /**
22
+ * Creates a new `CopyFormatCommand` instance.
23
+ *
24
+ * @param {module:core/editor/editor~Editor} editor The editor on which this command will be used.
25
+ */
26
+ constructor(editor: Editor);
27
+ /**
28
+ * Executes the command. The formatting is then stored in the {@link #value} property.
29
+ *
30
+ * @fires execute
31
+ */
32
+ override execute(): void;
33
+ /**
34
+ * Resets the stored formatting.
35
+ */
36
+ reset(): void;
37
37
  }
@@ -1,36 +1,36 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module format-painter/formatpainter
7
- * @publicApi
8
- */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
10
- import { FormatPainterEditing } from './formatpainterediting.js';
11
- import { FormatPainterUI } from './formatpainterui.js';
6
+ * @module format-painter/formatpainter
7
+ * @publicApi
8
+ */
9
+ import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
10
+ import { FormatPainterEditing } from "./formatpainterediting.js";
11
+ import { FormatPainterUI } from "./formatpainterui.js";
12
12
  /**
13
- * The format painter feature.
14
- *
15
- * For a detailed overview, check the {@glink features/format-painter Format painter} feature documentation.
16
- *
17
- * @extends module:core/plugin~Plugin
18
- */
13
+ * The format painter feature.
14
+ *
15
+ * For a detailed overview, check the {@glink features/format-painter Format painter} feature documentation.
16
+ *
17
+ * @extends module:core/plugin~Plugin
18
+ */
19
19
  export declare class FormatPainter extends Plugin {
20
- /**
21
- * @inheritDoc
22
- */
23
- static get requires(): readonly [typeof FormatPainterEditing, typeof FormatPainterUI];
24
- /**
25
- * @inheritDoc
26
- */
27
- static get pluginName(): "FormatPainter";
28
- /**
29
- * @inheritDoc
30
- */
31
- static get isOfficialPlugin(): true;
32
- /**
33
- * @inheritDoc
34
- */
35
- static get isPremiumPlugin(): true;
20
+ /**
21
+ * @inheritDoc
22
+ */
23
+ static get requires(): PluginDependenciesOf<[FormatPainterEditing, FormatPainterUI]>;
24
+ /**
25
+ * @inheritDoc
26
+ */
27
+ static get pluginName(): "FormatPainter";
28
+ /**
29
+ * @inheritDoc
30
+ */
31
+ static override get isOfficialPlugin(): true;
32
+ /**
33
+ * @inheritDoc
34
+ */
35
+ static override get isPremiumPlugin(): true;
36
36
  }
@@ -1,36 +1,36 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module format-painter/formatpainterediting
7
- */
8
- import { Plugin } from '@ckeditor/ckeditor5-core';
6
+ * @module format-painter/formatpainterediting
7
+ */
8
+ import { Plugin } from "@ckeditor/ckeditor5-core";
9
9
  /**
10
- * The format painter editing feature. It introduces two commands: `copyFormat` and `pasteFormat`.
11
- */
10
+ * The format painter editing feature. It introduces two commands: `copyFormat` and `pasteFormat`.
11
+ */
12
12
  export declare class FormatPainterEditing extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- static get pluginName(): "FormatPainterEditing";
17
- /**
18
- * @inheritDoc
19
- */
20
- static get isOfficialPlugin(): true;
21
- /**
22
- * @inheritDoc
23
- */
24
- static get isPremiumPlugin(): true;
25
- init(): void;
26
- /**
27
- * @inheritDoc
28
- */
29
- destroy(): void;
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ static get pluginName(): "FormatPainterEditing";
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ static override get isOfficialPlugin(): true;
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ static override get isPremiumPlugin(): true;
25
+ init(): void;
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ override destroy(): void;
30
30
  }
31
31
  /**
32
- * An object with key-value pairs describing formatting model attributes and their values.
33
- */
32
+ * An object with key-value pairs describing formatting model attributes and their values.
33
+ */
34
34
  export type FormattingAttributesValues = {
35
- [k: string]: unknown;
35
+ [k: string]: unknown;
36
36
  };
@@ -1,40 +1,41 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module format-painter/formatpainterui
7
- */
8
- import { Plugin } from '@ckeditor/ckeditor5-core';
9
- import '../theme/formatpainter.css';
10
- declare const FormatPainterUI_base: import("@ckeditor/ckeditor5-utils").Mixed<typeof Plugin, import("@ckeditor/ckeditor5-utils").DomEmitter>;
6
+ * @module format-painter/formatpainterui
7
+ */
8
+ import { Plugin } from "@ckeditor/ckeditor5-core";
9
+ import { type DomEmitterMixinConstructor } from "@ckeditor/ckeditor5-utils";
10
+ import "../theme/formatpainter.css";
11
+ declare const FormatPainterUIBase: DomEmitterMixinConstructor<typeof Plugin>;
11
12
  /**
12
- * The format painter UI feature. It introduces the `formatPainter` dropdown with a "Continuous painting"
13
- * switch button.
14
- *
15
- * The first click on the dropdown button copies the formatting of the selected text.
16
- * Then the next click in the editor editable pastes the formatting.
17
- */
18
- export declare class FormatPainterUI extends /* #__PURE__ -- @preserve */ FormatPainterUI_base {
19
- /**
20
- * @inheritDoc
21
- */
22
- static get pluginName(): "FormatPainterUI";
23
- /**
24
- * @inheritDoc
25
- */
26
- static get isOfficialPlugin(): true;
27
- /**
28
- * @inheritDoc
29
- */
30
- static get isPremiumPlugin(): true;
31
- /**
32
- * @inheritDoc
33
- */
34
- init(): void;
35
- /**
36
- * @inheritDoc
37
- */
38
- afterInit(): void;
13
+ * The format painter UI feature. It introduces the `formatPainter` dropdown with a "Continuous painting"
14
+ * switch button.
15
+ *
16
+ * The first click on the dropdown button copies the formatting of the selected text.
17
+ * Then the next click in the editor editable pastes the formatting.
18
+ */
19
+ export declare class FormatPainterUI extends FormatPainterUIBase {
20
+ /**
21
+ * @inheritDoc
22
+ */
23
+ static get pluginName(): "FormatPainterUI";
24
+ /**
25
+ * @inheritDoc
26
+ */
27
+ static override get isOfficialPlugin(): true;
28
+ /**
29
+ * @inheritDoc
30
+ */
31
+ static override get isPremiumPlugin(): true;
32
+ /**
33
+ * @inheritDoc
34
+ */
35
+ init(): void;
36
+ /**
37
+ * @inheritDoc
38
+ */
39
+ afterInit(): void;
39
40
  }
40
41
  export {};
package/dist/index.d.ts CHANGED
@@ -1,14 +1,14 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module format-painter
7
- */
8
- export { type COPY_FORMAT_COMMAND_NAME, type PASTE_FORMAT_COMMAND_NAME } from './utils.js';
9
- export { FormatPainter } from './formatpainter.js';
10
- export { FormatPainterEditing, type FormattingAttributesValues } from './formatpainterediting.js';
11
- export { FormatPainterUI } from './formatpainterui.js';
12
- export { PasteFormatCommand } from './pasteformatcommand.js';
13
- export { CopyFormatCommand } from './copyformatcommand.js';
14
- import './augmentation.js';
6
+ * @module format-painter
7
+ */
8
+ export { type COPY_FORMAT_COMMAND_NAME, type PASTE_FORMAT_COMMAND_NAME } from "./utils.js";
9
+ export { FormatPainter } from "./formatpainter.js";
10
+ export { FormatPainterEditing, type FormattingAttributesValues } from "./formatpainterediting.js";
11
+ export { FormatPainterUI } from "./formatpainterui.js";
12
+ export { PasteFormatCommand } from "./pasteformatcommand.js";
13
+ export { CopyFormatCommand } from "./copyformatcommand.js";
14
+ import "./augmentation.js";
package/dist/index.js CHANGED
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Command as _0x2215d0,Plugin as _0x132fa3}from'@ckeditor/ckeditor5-core/dist/index.js';import{RemoveFormatCommand as _0x5119e8}from'@ckeditor/ckeditor5-remove-format/dist/index.js';import{createDropdown as _0x247ff3,SplitButtonView as _0x39dee1,UIModel as _0x4adbbf,addListToDropdown as _0x429195}from'@ckeditor/ckeditor5-ui/dist/index.js';import{DomEmitterMixin as _0x27395e,Collection as _0x20abee,global as _0x3b03b7,uid as _0x2dbfaf}from'@ckeditor/ckeditor5-utils/dist/index.js';import{ClickObserver as _0x17dcc2}from'@ckeditor/ckeditor5-engine/dist/index.js';import{IconPaintRoller as _0xc36c91}from'@ckeditor/ckeditor5-icons/dist/index.js';const w='copyFormat',g='pasteFormat',h='ck-format-painter-active';class CopyFormatCommand extends _0x2215d0{constructor(_0x1d556e){super(_0x1d556e),this['value']=void 0x0,this['on']('change:isEnabled',(_0x3d7547,_0x4688e5,_0x3ace0a)=>{_0x3ace0a||this['reset']();}),this['on']('change:value',()=>_0x1d556e['commands']['get'](g)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x188a80=this['editor']['model'],_0x266a50=_0x188a80['document']['selection'];return Object['fromEntries'](Array['from'](_0x266a50['getAttributes']())['filter'](([_0x185a4a])=>_0x188a80['schema']['getAttributeProperties'](_0x185a4a)['isFormatting']));}}class PasteFormatCommand extends _0x2215d0{constructor(_0x2333b9){super(_0x2333b9),this['_removeFormatCommand']=new _0x5119e8(_0x2333b9);}['execute'](_0x3db9ec={}){const _0x278b74=this['editor']['model'],_0x5c8342=_0x278b74['document']['selection'],_0x5828d9=Array['from'](_0x5c8342['getRanges']()),_0x523ba8=_0x5c8342['isCollapsed']?[this['_createRangeOnEntireWord'](_0x278b74,_0x5c8342)]:_0x5828d9;_0x278b74['change'](_0x3f5fe3=>{_0x3f5fe3['setSelection'](_0x523ba8),this['_removeFormatCommand']['execute']();for(const _0x452e15 in _0x3db9ec)for(const _0x55dd97 of _0x278b74['schema']['getValidRanges'](_0x523ba8,_0x452e15))_0x3f5fe3['setAttribute'](_0x452e15,_0x3db9ec[_0x452e15],_0x55dd97);_0x3f5fe3['setSelection'](_0x5828d9);});}['_createRangeOnEntireWord'](_0x2c023c,_0x5e070f){const _0x165410=_0x2c023c['createSelection'](_0x5e070f);_0x2c023c['modifySelection'](_0x165410,{'unit':'word','direction':'backward'});const _0x15eb8f=_0x165410['getFirstPosition']();_0x2c023c['modifySelection'](_0x165410,{'unit':'word','direction':'forward'});const _0x4dafc4=_0x165410['getLastPosition']();return _0x2c023c['createRange'](_0x15eb8f,_0x4dafc4);}}class FormatPainterEditing extends _0x132fa3{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2bca57=this['editor'];_0x2bca57['commands']['add'](w,new CopyFormatCommand(_0x2bca57)),_0x2bca57['commands']['add'](g,new PasteFormatCommand(_0x2bca57)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xe834db=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5a15e8;for(const _0xebae44 in _0xe834db){const _0x2df8a0=_0xebae44,_0x1f9cab=_0xe834db[_0x2df8a0];if('formatPainterLicenseKeyValid'==_0x1f9cab||'formatPainterLicenseKeyInvalid'==_0x1f9cab||'formatPainterLicenseKeyExpired'==_0x1f9cab||'formatPainterLicenseKeyDomainLimit'==_0x1f9cab||'formatPainterLicenseKeyNotAllowed'==_0x1f9cab||'formatPainterLicenseKeyEvaluationLimit'==_0x1f9cab||'formatPainterLicenseKeyUsageLimit'==_0x1f9cab){delete _0xe834db[_0x2df8a0],_0x5a15e8=_0x1f9cab,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x5a15e8&&_0xe834db['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x5a15e8&&_0xe834db['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x5a15e8&&_0xe834db['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x5a15e8&&_0xe834db['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x5a15e8&&_0xe834db['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyUsageLimit'==_0x5a15e8&&_0xe834db['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function p(_0x1db20a,_0x43a1e2){const t=_0x1db20a['t'];switch(_0x43a1e2){case'Paint\x20formatting':return t('Paint\x20formatting');case'Copy\x20text\x20formatting':return t('Copy\x20text\x20formatting');case'Paste\x20text\x20formatting':return t('Paste\x20text\x20formatting');case'Continuous\x20painting':return t('Continuous\x20painting');case'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':return t('Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.');case'Formatting\x20copied.':return t('Formatting\x20copied.');case'Pasted\x20formatting.':return t('Pasted\x20formatting.');case'Painting\x20cancelled.':return t('Painting\x20cancelled.');default:return _0x43a1e2;}}class FormatPainterUI extends/* #__PURE__ -- @preserve */
24
- _0x27395e(_0x132fa3){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5764a9=this['editor'];_0x5764a9['editing']['view']['addObserver'](_0x17dcc2),_0x5764a9['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':p(_0x5764a9['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':p(_0x5764a9['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x5764a9['ui']['componentFactory']['add']('formatPainter',_0x36ad5b=>{const _0x1244b6=_0x247ff3(_0x36ad5b,_0x39dee1),_0x2d9156=_0x5764a9['commands']['get'](w);_0x1244b6['buttonView']['set']({'label':p(_0x5764a9['locale'],'Paint\x20formatting'),'icon':_0xc36c91,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x1244b6['class']='ck-format-painter-dropdown',_0x2d9156&&(_0x1244b6['bind']('isEnabled')['to'](_0x2d9156,'isEnabled'),this['listenTo'](_0x2d9156,'change:isEnabled',(_0x290cc5,_0x557c66,_0x3b7886)=>{_0x3b7886||this['_finishPainting']();}),_0x1244b6['buttonView']['bind']('isOn')['to'](_0x2d9156,'value',_0x501ab0=>!!_0x501ab0),this['listenTo'](_0x5764a9,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x2d9156,'change:value',(_0x4952f2,_0x12ad33,_0x52fa35)=>{this['_toggleSpecialCursor'](!!_0x52fa35);}));const _0x5cc6f8=new _0x4adbbf({'withText':!0x0,'label':p(_0x5764a9['locale'],'Continuous\x20painting'),'tooltip':p(_0x5764a9['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x429195(_0x1244b6,new _0x20abee([{'type':'switchbutton','model':_0x5cc6f8}]),{'role':'menu'});const _0x5c74ed=()=>{this['_copyFormatting'](),this['listenTo'](_0x3b03b7['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x5cc6f8['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x1244b6,'execute',()=>{_0x5cc6f8['isOn']=!_0x5cc6f8['isOn'];}),this['listenTo'](_0x1244b6['buttonView'],'execute',()=>{_0x5764a9['editing']['view']['focus'](),_0x1244b6['buttonView']['isOn']?this['_finishPainting']():_0x5c74ed();}),_0x5764a9['keystrokes']['set']('Ctrl+Alt+C',(_0x2214e0,_0x2c2121)=>{_0x5c74ed(),_0x5cc6f8['isOn']=!0x0,_0x2c2121();},{'priority':'high'}),_0x5764a9['keystrokes']['set']('Ctrl+Alt+V',(_0x2b6956,_0x17205d)=>{_0x1244b6['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x5cc6f8['isOn']||this['_finishPainting'](),_0x17205d());},{'priority':'high'}),_0x5764a9['keystrokes']['set']('Esc',(_0x15f45a,_0x7ab8a5)=>{_0x1244b6['buttonView']['isOn']&&(_0x5cc6f8['isOn']=!0x1,this['_finishPainting'](),_0x5764a9['ui']['ariaLiveAnnouncer']['announce'](p(_0x5764a9['locale'],'Painting\x20cancelled.')),_0x7ab8a5());}),_0x1244b6;});}['afterInit'](){!async function(_0x3aabdf){const _0x4a4887=_0x192e9b([0x51,0x69,0x4c,0x52,0x43,0x53,0x4f,0x73,0x5a,0x38,0x70,0x41,0x76,0x44,0x64,0x61,0x50,0x4a,0x55,0x45,0x33,0x6f,0x78,0x6a,0x4b,0x6c,0x7a,0x4d,0x32,0x75,0x58,0x67,0x72,0x74,0x47,0x66,0x65,0x79,0x68,0x35,0x63,0x4e,0x46,0x6b,0x6d,0x42,0x77,0x39,0x49,0x36,0x57,0x48,0x30,0x71,0x6e,0x62,0x34,0x54,0x31,0x37,0x59,0x56]),_0x2fa353=0x4597e011,_0x107447=0x45906bc1^_0x2fa353,_0x593658=window[_0x192e9b([0x44,0x61,0x74,0x65])][_0x192e9b([0x6e,0x6f,0x77])](),_0x482f32=_0x3aabdf[_0x192e9b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x22a105=new window[(_0x192e9b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5271b4=>{_0x482f32[_0x192e9b([0x6f,0x6e,0x63,0x65])](_0x192e9b([0x72,0x65,0x61,0x64,0x79]),_0x5271b4);}),_0x5d2b95={[_0x192e9b([0x6b,0x74,0x79])]:_0x192e9b([0x45,0x43]),[_0x192e9b([0x75,0x73,0x65])]:_0x192e9b([0x73,0x69,0x67]),[_0x192e9b([0x63,0x72,0x76])]:_0x192e9b([0x50,0x2d,0x32,0x35,0x36]),[_0x192e9b([0x78])]:_0x192e9b([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x192e9b([0x79])]:_0x192e9b([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x192e9b([0x61,0x6c,0x67])]:_0x192e9b([0x45,0x53,0x32,0x35,0x36])},_0x5937c8=_0x482f32[_0x192e9b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x192e9b([0x67,0x65,0x74])](_0x192e9b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1bc172(){let _0x4ebf23,_0x36aefb=null,_0x14d3d1=null;try{if(_0x5937c8==_0x192e9b([0x47,0x50,0x4c]))return _0x192e9b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4ebf23=_0x2aeeed(),!_0x4ebf23)return _0x192e9b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4ebf23[_0x192e9b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x14d3d1=_0x526bbc(_0x4ebf23[_0x192e9b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4ebf23[_0x192e9b([0x6a,0x74,0x69])])),await _0xd7666b()?_0x135f77()?_0x5daa79()?_0x192e9b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xac83b6()?(_0x4ebf23[_0x192e9b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x192e9b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x36aefb=_0x3be9a2(_0x192e9b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5dfa9f()):_0x192e9b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x192e9b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x192e9b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x192e9b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5daa79(){const _0x89f755=[_0x192e9b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x192e9b([0x74,0x72,0x69,0x61,0x6c])][_0x192e9b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ebf23[_0x192e9b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x593658/0x3e8:0xe10*_0x107447;return _0x4ebf23[_0x192e9b([0x65,0x78,0x70])]<_0x89f755;}function _0x135f77(){const _0x159349=_0x4ebf23[_0x192e9b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x159349&&(!!_0x159349[_0x192e9b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x192e9b([0x2a]))||(!!_0x159349[_0x192e9b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x192e9b([0x46,0x50]))||(!!_0x159349[_0x192e9b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x192e9b([0x50,0x50]))||!(!_0x159349[_0x192e9b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x192e9b([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x432a56()))));}function _0xac83b6(){const _0x29e5bc=_0x4ebf23[_0x192e9b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x29e5bc||0x0==_0x29e5bc[_0x192e9b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x300297}=new URL(window[_0x192e9b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x29e5bc[_0x192e9b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x300297))return!0x0;const _0x2ad220=_0x300297[_0x192e9b([0x73,0x70,0x6c,0x69,0x74])](_0x192e9b([0x2e]));return _0x29e5bc[_0x192e9b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf8838a=>_0xf8838a[_0x192e9b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x192e9b([0x2a])))[_0x192e9b([0x6d,0x61,0x70])](_0x19c4c0=>_0x19c4c0[_0x192e9b([0x73,0x70,0x6c,0x69,0x74])](_0x192e9b([0x2e])))[_0x192e9b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c0d8e=>_0x4c0d8e[_0x192e9b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2ad220[_0x192e9b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x192e9b([0x6d,0x61,0x70])](_0xe59a3f=>Array(_0x2ad220[_0x192e9b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xe59a3f[_0x192e9b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x192e9b([0x66,0x69,0x6c,0x6c])](_0xe59a3f[0x0]===_0x192e9b([0x2a])?_0x192e9b([0x2a]):'')[_0x192e9b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xe59a3f))[_0x192e9b([0x73,0x6f,0x6d,0x65])](_0x1fc631=>_0x2ad220[_0x192e9b([0x65,0x76,0x65,0x72,0x79])]((_0x5a40dc,_0x5d94c8)=>_0x1fc631[_0x5d94c8]===_0x5a40dc||_0x1fc631[_0x5d94c8]===_0x192e9b([0x2a])));}function _0x5dfa9f(){return _0x36aefb&&_0x14d3d1?new window[(_0x192e9b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b1689,_0x5c0536)=>{_0x36aefb[_0x192e9b([0x74,0x68,0x65,0x6e])](_0x4b1689,_0x5c0536),_0x14d3d1[_0x192e9b([0x74,0x68,0x65,0x6e])](_0x1917d8=>{_0x1917d8!=_0x192e9b([0x56,0x61,0x6c,0x69,0x64])&&_0x4b1689(_0x1917d8);},_0x5c0536);}):_0x36aefb||_0x14d3d1||_0x192e9b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x526bbc(_0x3f0728,_0x14ed97){return new window[(_0x192e9b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x186258=>{if(_0x597d0e())return _0x186258(_0x192e9b([0x56,0x61,0x6c,0x69,0x64]));_0x5d414d(),_0x482f32[_0x192e9b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x192e9b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2fd6fb=!0x1;const _0x49b6f0=_0x2dbfaf();function _0xa0300c(_0x412715){return!!_0x412715&&(typeof _0x412715===_0x192e9b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x412715===_0x192e9b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x412715[_0x192e9b([0x74,0x68,0x65,0x6e])]===_0x192e9b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x412715[_0x192e9b([0x63,0x61,0x74,0x63,0x68])]===_0x192e9b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2c1d19(_0x25751e){_0x216ad1(_0x25751e)[_0x192e9b([0x74,0x68,0x65,0x6e])](_0x1ae9c9=>{if(!_0x1ae9c9||_0x1ae9c9[_0x192e9b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x192e9b([0x6f,0x6b]))return _0x192e9b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x31b888(_0x522c02(_0x49b6f0+_0x14ed97))!=_0x1ae9c9[_0x192e9b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x192e9b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x192e9b([0x56,0x61,0x6c,0x69,0x64]);})[_0x192e9b([0x74,0x68,0x65,0x6e])](_0x143c16=>(_0x4de69e(),_0x143c16),()=>{const _0x2057dc=_0x344897();return null==_0x2057dc?(_0x4de69e(),_0x192e9b([0x56,0x61,0x6c,0x69,0x64])):_0x192e9b(_0x593658-_0x2057dc>(0x619b6411^_0x2fa353)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x192e9b([0x74,0x68,0x65,0x6e])](_0x186258)[_0x192e9b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x186258(_0x192e9b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2d6cb0=0x45a10e91^_0x2fa353;function _0x4de69e(){const _0x2f318d=_0x192e9b([0x6c,0x6c,0x63,0x74,0x2d])+_0x31b888(_0x522c02(_0x3f0728)),_0x51f7b2=_0x28de59(_0x31b888(window[_0x192e9b([0x4d,0x61,0x74,0x68])][_0x192e9b([0x63,0x65,0x69,0x6c])](_0x593658/_0x2d6cb0)));window[_0x192e9b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x192e9b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f318d,_0x51f7b2);}function _0x344897(){const _0x1a89d1=_0x192e9b([0x6c,0x6c,0x63,0x74,0x2d])+_0x31b888(_0x522c02(_0x3f0728)),_0x4f8527=window[_0x192e9b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x192e9b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a89d1);return _0x4f8527?window[_0x192e9b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28de59(_0x4f8527),0x10)*_0x2d6cb0:null;}function _0x216ad1(_0x219ad7){return new window[(_0x192e9b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x46a030,_0x5534cd)=>{_0x219ad7[_0x192e9b([0x74,0x68,0x65,0x6e])](_0x46a030,_0x5534cd),window[_0x192e9b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5534cd,0x459634d1^_0x2fa353);});}}_0x482f32[_0x192e9b([0x6f,0x6e])](_0x192e9b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3f571d,_0x385851)=>{if(_0x385851[0x0]!=_0x3f0728)return _0x186258(_0x192e9b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x385851[0x1]={..._0x385851[0x1],[_0x192e9b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x49b6f0};},{[_0x192e9b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x192e9b([0x68,0x69,0x67,0x68])}),_0x482f32[_0x192e9b([0x6f,0x6e])](_0x192e9b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2455b9=>{_0xa0300c(_0x2455b9[_0x192e9b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2fd6fb=!0x0,_0x2c1d19(_0x2455b9[_0x192e9b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x192e9b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x192e9b([0x6c,0x6f,0x77])}),_0x22a105[_0x192e9b([0x74,0x68,0x65,0x6e])](()=>{_0x2fd6fb||_0x186258(_0x192e9b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x597d0e(){return _0x482f32[_0x192e9b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x192e9b([0x76,0x69,0x65,0x77])][_0x192e9b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x192e9b([0x61,0x75,0x74,0x6f]);}function _0x5d414d(){_0x482f32[_0x192e9b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x192e9b([0x76,0x69,0x65,0x77])][_0x192e9b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x192e9b([0x61,0x75,0x74,0x6f]);}}function _0x3be9a2(_0x592ace){const _0x3696f4=[new window[(_0x192e9b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12106b=>setTimeout(_0x12106b,0x459ededd^_0x2fa353)),_0x22a105[_0x192e9b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x192e9b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1031a0=>{let _0x26ca1f=0x0;_0x482f32[_0x192e9b([0x6d,0x6f,0x64,0x65,0x6c])][_0x192e9b([0x6f,0x6e])](_0x192e9b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x21780d,_0x59dbc0)=>{_0x59dbc0[0x0][_0x192e9b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x26ca1f++,_0x26ca1f==(0x4597e5f9^_0x2fa353)&&(_0x1031a0(),_0x21780d[_0x192e9b([0x6f,0x66,0x66])]());});}))];return window[_0x192e9b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x192e9b([0x72,0x61,0x63,0x65])](_0x3696f4)[_0x192e9b([0x74,0x68,0x65,0x6e])](()=>_0x592ace);}async function _0x59e207(){await _0x22a105,_0x482f32[_0x192e9b([0x6d,0x6f,0x64,0x65,0x6c])][_0x192e9b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xbd8a04,_0x482f32[_0x192e9b([0x6d,0x6f,0x64,0x65,0x6c])][_0x192e9b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xbd8a04,_0x482f32[_0x192e9b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x192e9b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x432a56(){return window[_0x192e9b([0x67,0x6c,0x6f,0x62])]&&window[_0x192e9b([0x67,0x6c,0x6f,0x62])][_0x192e9b([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x50601f(_0x5ead8f){const _0x5451ef=_0x458b8e();_0x482f32[_0x5451ef]=_0x192e9b([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5ead8f,_0x5ead8f!=_0x192e9b([0x56,0x61,0x6c,0x69,0x64])&&_0x59e207();}function _0x458b8e(){const _0x14fa41=window[_0x192e9b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x192e9b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x192e9b([0x6e,0x6f,0x77])]())[_0x192e9b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x192e9b([0x2e]),'');let _0x498050=_0x192e9b([0x51]);for(let _0x5a271b=0x0;_0x5a271b<_0x14fa41[_0x192e9b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a271b+=0x2){let _0x14d301=window[_0x192e9b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14fa41[_0x192e9b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a271b,_0x5a271b+0x2));_0x14d301>=_0x4a4887[_0x192e9b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x14d301-=_0x4a4887[_0x192e9b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x498050+=_0x4a4887[_0x14d301];}return _0x498050;}function _0x2aeeed(){const _0x29a5c5=_0x5937c8[_0x192e9b([0x73,0x70,0x6c,0x69,0x74])](_0x192e9b([0x2e]));if(0x3!=_0x29a5c5[_0x192e9b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x280803(_0x29a5c5[0x1]);function _0x280803(_0x286c2a){const _0x541564=_0xb8636d(_0x286c2a);return _0x541564&&_0xfb30b3()?_0x541564:null;function _0xfb30b3(){const _0x67fc15=_0x541564[_0x192e9b([0x6a,0x74,0x69])],_0x36d7fb=window[_0x192e9b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x67fc15[_0x192e9b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x67fc15[_0x192e9b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x49f6e1={..._0x541564,[_0x192e9b([0x6a,0x74,0x69])]:_0x67fc15[_0x192e9b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x67fc15[_0x192e9b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x49f6e1[_0x192e9b([0x76,0x63])],_0x522c02(_0x49f6e1)==_0x36d7fb;}}}async function _0xd7666b(){let _0x5389e5=!0x0;try{const _0x7542d=_0x5937c8[_0x192e9b([0x73,0x70,0x6c,0x69,0x74])](_0x192e9b([0x2e])),[_0x3fec32,_0x7ac98d,_0x1ffd63]=_0x7542d;return _0xa2aa27(_0x3fec32),await _0x294edb(_0x3fec32,_0x7ac98d,_0x1ffd63),_0x5389e5;}catch{return!0x1;}function _0xa2aa27(_0x48270b){const _0x56b426=_0xb8636d(_0x48270b);_0x56b426&&_0x56b426[_0x192e9b([0x61,0x6c,0x67])]==_0x192e9b([0x45,0x53,0x32,0x35,0x36])||(_0x5389e5=!0x1);}async function _0x294edb(_0x5bcee5,_0x426410,_0x392c67){const _0x15e82b=window[_0x192e9b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x192e9b([0x66,0x72,0x6f,0x6d])](_0x28eebb(_0x392c67),_0x1d6a49=>_0x1d6a49[_0x192e9b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x15c8d6=new window[(_0x192e9b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x192e9b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5bcee5+_0x192e9b([0x2e])+_0x426410),_0x2330ba=window[_0x192e9b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x192e9b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2330ba)return;const _0x33526f=await _0x2330ba[_0x192e9b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x192e9b([0x6a,0x77,0x6b]),_0x5d2b95,{[_0x192e9b([0x6e,0x61,0x6d,0x65])]:_0x192e9b([0x45,0x43,0x44,0x53,0x41]),[_0x192e9b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x192e9b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x192e9b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2330ba[_0x192e9b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x192e9b([0x6e,0x61,0x6d,0x65])]:_0x192e9b([0x45,0x43,0x44,0x53,0x41]),[_0x192e9b([0x68,0x61,0x73,0x68])]:{[_0x192e9b([0x6e,0x61,0x6d,0x65])]:_0x192e9b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x33526f,_0x15e82b,_0x15c8d6)||(_0x5389e5=!0x1);}}function _0xb8636d(_0x5a624b){return _0x5a624b[_0x192e9b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x192e9b([0x65,0x79]))?JSON[_0x192e9b([0x70,0x61,0x72,0x73,0x65])](_0x28eebb(_0x5a624b)):null;}function _0x28eebb(_0x507e1e){return window[_0x192e9b([0x61,0x74,0x6f,0x62])](_0x507e1e[_0x192e9b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x192e9b([0x2b]))[_0x192e9b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x192e9b([0x2f])));}function _0x522c02(_0x160e3a){let _0x464a12=0x1505;function _0x366f11(_0x24311a){for(let _0x10f252=0x0;_0x10f252<_0x24311a[_0x192e9b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x10f252++){const _0x4d4cfd=_0x24311a[_0x192e9b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x10f252);_0x464a12=(_0x464a12<<0x5)+_0x464a12+_0x4d4cfd,_0x464a12&=_0x464a12;}}function _0x587485(_0x5ae51d){Array[_0x192e9b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5ae51d)?_0x5ae51d[_0x192e9b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x587485):_0x5ae51d&&typeof _0x5ae51d==_0x192e9b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x192e9b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5ae51d)[_0x192e9b([0x73,0x6f,0x72,0x74])]()[_0x192e9b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x451af7,_0x48b0d8])=>{_0x366f11(_0x451af7),_0x587485(_0x48b0d8);}):_0x366f11(window[_0x192e9b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5ae51d));}return _0x587485(_0x160e3a),_0x464a12>>>0x0;}function _0x31b888(_0x189b31){return _0x189b31[_0x192e9b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x192e9b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x192e9b([0x30]));}function _0x28de59(_0x3a4cf6){return _0x3a4cf6[_0x192e9b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x192e9b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x192e9b([0x6a,0x6f,0x69,0x6e])]('');}function _0xbd8a04(){}function _0x192e9b(_0x29be14){return _0x29be14['map'](_0x5b9df0=>String['fromCharCode'](_0x5b9df0))['join']('');}_0x50601f(await _0x1bc172());}(this);}['_toggleSpecialCursor'](_0x354ddf){this['editor']['editing']['view']['change'](_0x27a45e=>{for(const _0x3f05b2 of this['editor']['editing']['view']['document']['roots'])_0x354ddf?_0x27a45e['addClass'](h,_0x3f05b2):_0x27a45e['removeClass'](h,_0x3f05b2);});}['_copyFormatting'](){const {editor:_0x25a768}=this;_0x25a768['execute'](w),_0x25a768['ui']['ariaLiveAnnouncer']['announce'](p(_0x25a768['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0xdd8f8}=this,_0x30bc06=_0xdd8f8['commands']['get'](w)['value'];_0xdd8f8['execute'](g,_0x30bc06),_0xdd8f8['ui']['ariaLiveAnnouncer']['announce'](p(_0xdd8f8['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](w)['reset'](),this['stopListening'](_0x3b03b7['window']['document'],'mouseup');}}class FormatPainter extends _0x132fa3{static get['requires'](){return[FormatPainterEditing,FormatPainterUI];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{CopyFormatCommand,FormatPainter,FormatPainterEditing,FormatPainterUI,PasteFormatCommand};
23
+ import{Command as _0x5eb595,Plugin as _0x49e4c3}from'@ckeditor/ckeditor5-core';import{RemoveFormatCommand as _0x345074}from'@ckeditor/ckeditor5-remove-format';import{SplitButtonView as _0x42797f,UIModel as _0x9f8224,addListToDropdown as _0x507839,createDropdown as _0x50a4cf}from'@ckeditor/ckeditor5-ui';import{Collection as _0x28920e,DomEmitterMixin as _0x1b4137,global as _0x5c275f,uid as _0x2c2d7f}from'@ckeditor/ckeditor5-utils';import{ClickObserver as _0x1e05ab}from'@ckeditor/ckeditor5-engine';import{IconPaintRoller as _0x250202}from'@ckeditor/ckeditor5-icons';const w='copyFormat',g='pasteFormat',h='ck-format-painter-active';var p=class extends _0x5eb595{constructor(_0x4bd22b){super(_0x4bd22b),this['value']=void 0x0,this['on']('change:isEnabled',(_0x1a9414,_0x518933,_0x55a69a)=>{_0x55a69a||this['reset']();}),this['on']('change:value',()=>_0x4bd22b['commands']['get'](g)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x79496b=this['editor']['model'],_0x3c3024=_0x79496b['document']['selection'];return Object['fromEntries'](Array['from'](_0x3c3024['getAttributes']())['filter'](([_0x14b25d])=>_0x79496b['schema']['getAttributeProperties'](_0x14b25d)['isFormatting']));}},y=class extends _0x5eb595{constructor(_0x53b70c){super(_0x53b70c),this['_removeFormatCommand']=new _0x345074(_0x53b70c);}['execute'](_0x322bd4={}){const _0x30878b=this['editor']['model'],_0x50c2b1=_0x30878b['document']['selection'],_0x1f0840=Array['from'](_0x50c2b1['getRanges']()),_0x189e38=_0x50c2b1['isCollapsed']?[this['_createRangeOnEntireWord'](_0x30878b,_0x50c2b1)]:_0x1f0840;_0x30878b['change'](_0x5181fc=>{_0x5181fc['setSelection'](_0x189e38),this['_removeFormatCommand']['execute']();for(const _0xa3a916 in _0x322bd4)for(const _0x2906eb of _0x30878b['schema']['getValidRanges'](_0x189e38,_0xa3a916))_0x5181fc['setAttribute'](_0xa3a916,_0x322bd4[_0xa3a916],_0x2906eb);_0x5181fc['setSelection'](_0x1f0840);});}['_createRangeOnEntireWord'](_0x13ea24,_0x11a21e){const _0x217e64=_0x13ea24['createSelection'](_0x11a21e);_0x13ea24['modifySelection'](_0x217e64,{'unit':'word','direction':'backward'});const _0x5c490e=_0x217e64['getFirstPosition']();_0x13ea24['modifySelection'](_0x217e64,{'unit':'word','direction':'forward'});const _0x5add97=_0x217e64['getLastPosition']();return _0x13ea24['createRange'](_0x5c490e,_0x5add97);}},P=class extends _0x49e4c3{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x31f1a5=this['editor'];_0x31f1a5['commands']['add'](w,new p(_0x31f1a5)),_0x31f1a5['commands']['add'](g,new y(_0x31f1a5)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x20dd68=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x314fda;for(const _0x3052e3 in _0x20dd68){const _0xf259bf=_0x3052e3,_0x1022ed=_0x20dd68[_0xf259bf];if('formatPainterLicenseKeyValid'==_0x1022ed||'formatPainterLicenseKeyInvalid'==_0x1022ed||'formatPainterLicenseKeyExpired'==_0x1022ed||'formatPainterLicenseKeyDomainLimit'==_0x1022ed||'formatPainterLicenseKeyNotAllowed'==_0x1022ed||'formatPainterLicenseKeyEvaluationLimit'==_0x1022ed||'formatPainterLicenseKeyUsageLimit'==_0x1022ed){delete _0x20dd68[_0xf259bf],_0x314fda=_0x1022ed,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x314fda&&_0x20dd68['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x314fda&&_0x20dd68['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x314fda&&_0x20dd68['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x314fda&&_0x20dd68['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x314fda&&_0x20dd68['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyUsageLimit'==_0x314fda&&_0x20dd68['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function L(_0x20c204,_0x137ebb){const t=_0x20c204['t'];switch(_0x137ebb){case'Paint\x20formatting':return t('Paint\x20formatting');case'Copy\x20text\x20formatting':return t('Copy\x20text\x20formatting');case'Paste\x20text\x20formatting':return t('Paste\x20text\x20formatting');case'Continuous\x20painting':return t('Continuous\x20painting');case'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':return t('Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.');case'Formatting\x20copied.':return t('Formatting\x20copied.');case'Pasted\x20formatting.':return t('Pasted\x20formatting.');case'Painting\x20cancelled.':return t('Painting\x20cancelled.');default:return _0x137ebb;}}const v=/* #__PURE__ -- @preserve */
24
+ _0x1b4137(_0x49e4c3);var k=class extends v{static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3cc75a=this['editor'];_0x3cc75a['editing']['view']['addObserver'](_0x1e05ab),_0x3cc75a['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':L(_0x3cc75a['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':L(_0x3cc75a['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x3cc75a['ui']['componentFactory']['add']('formatPainter',_0x579867=>{const _0x15d38b=_0x50a4cf(_0x579867,_0x42797f),_0x325236=_0x3cc75a['commands']['get'](w);_0x15d38b['buttonView']['set']({'label':L(_0x3cc75a['locale'],'Paint\x20formatting'),'icon':_0x250202,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x15d38b['class']='ck-format-painter-dropdown',_0x325236&&(_0x15d38b['bind']('isEnabled')['to'](_0x325236,'isEnabled'),this['listenTo'](_0x325236,'change:isEnabled',(_0x3c4408,_0x57f86d,_0x13325f)=>{_0x13325f||this['_finishPainting']();}),_0x15d38b['buttonView']['bind']('isOn')['to'](_0x325236,'value',_0x32f607=>!!_0x32f607),this['listenTo'](_0x3cc75a,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x325236,'change:value',(_0x2f3a64,_0x4bd977,_0x2c410c)=>{this['_toggleSpecialCursor'](!!_0x2c410c);}));const _0x2b98a7=new _0x9f8224({'withText':!0x0,'label':L(_0x3cc75a['locale'],'Continuous\x20painting'),'tooltip':L(_0x3cc75a['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x507839(_0x15d38b,new _0x28920e([{'type':'switchbutton','model':_0x2b98a7}]),{'role':'menu'});const _0x3f730c=()=>{this['_copyFormatting'](),this['listenTo'](_0x5c275f['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x2b98a7['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x15d38b,'execute',()=>{_0x2b98a7['isOn']=!_0x2b98a7['isOn'];}),this['listenTo'](_0x15d38b['buttonView'],'execute',()=>{_0x3cc75a['editing']['view']['focus'](),_0x15d38b['buttonView']['isOn']?this['_finishPainting']():_0x3f730c();}),_0x3cc75a['keystrokes']['set']('Ctrl+Alt+C',(_0x4ca4c1,_0x4c23a7)=>{_0x3f730c(),_0x2b98a7['isOn']=!0x0,_0x4c23a7();},{'priority':'high'}),_0x3cc75a['keystrokes']['set']('Ctrl+Alt+V',(_0x163aa7,_0x25e140)=>{_0x15d38b['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x2b98a7['isOn']||this['_finishPainting'](),_0x25e140());},{'priority':'high'}),_0x3cc75a['keystrokes']['set']('Esc',(_0x2fd710,_0x38ae60)=>{_0x15d38b['buttonView']['isOn']&&(_0x2b98a7['isOn']=!0x1,this['_finishPainting'](),_0x3cc75a['ui']['ariaLiveAnnouncer']['announce'](L(_0x3cc75a['locale'],'Painting\x20cancelled.')),_0x38ae60());}),_0x15d38b;});}['afterInit'](){!async function(_0x3f39d5){const _0x304d9b='QiLRCSOsZ8pAvDdaPJUE3oxjKlzM2uXgrtGfeyh5cNFkmBw9I6WH0qnb4T17YV',_0xd829da=0x78de0,_0x5c1926=window['Date']['now'](),_0x46d02a=_0x3f39d5['editor'],_0x10e4f9=new window['Promise'](_0x1c995e=>{_0x46d02a['once']('ready',_0x1c995e);}),_0x5f10aa={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x44eae9=_0x46d02a['config']['get']('licenseKey');async function _0x3be60f(){let _0x2ac280,_0x283ba9=null,_0x46b663=null;try{return'GPL'==_0x44eae9?'NotAllowed':(_0x2ac280=_0x1e2e49(),_0x2ac280?(_0x2ac280['usageEndpoint']&&(_0x46b663=_0xfc7eef(_0x2ac280['usageEndpoint'],_0x2ac280['jti'])),await _0x2c0cb5()?_0x70fe65()?_0x231dff()?'Expired':_0x5cef28()?('evaluation'==_0x2ac280['licenseType']&&(_0x283ba9=_0x4ce549('EvaluationLimit')),await _0x18c28b()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x231dff(){const _0x4e49c8=['evaluation','trial']['includes'](_0x2ac280['licenseType'])?_0x5c1926/0x3e8:0xe10*_0xd829da;return _0x2ac280['exp']<_0x4e49c8;}function _0x70fe65(){const _0x5a9ee2=_0x2ac280['features'];return!!_0x5a9ee2&&(!!_0x5a9ee2['includes']('*')||(!!_0x5a9ee2['includes']('FP')||(!!_0x5a9ee2['includes']('PP')||!(!_0x5a9ee2['includes']('TRILIUM')||!_0x31647a()))));}function _0x5cef28(){const _0x42fe7d=_0x2ac280['licensedHosts'];if(!_0x42fe7d||0x0==_0x42fe7d['length'])return!0x0;const {hostname:_0x103082}=new URL(window['location']['href']);if(_0x42fe7d['includes'](_0x103082))return!0x0;const _0x1cc690=_0x103082['split']('.');return _0x42fe7d['filter'](_0x145e46=>_0x145e46['includes']('*'))['map'](_0x4750fd=>_0x4750fd['split']('.'))['filter'](_0x4a660e=>_0x4a660e['length']<=_0x1cc690['length'])['map'](_0x1478b4=>Array(_0x1cc690['length']-_0x1478b4['length'])['fill']('*'===_0x1478b4[0x0]?'*':'')['concat'](_0x1478b4))['some'](_0x1f47fa=>_0x1cc690['every']((_0x3ddefe,_0x397ae3)=>_0x1f47fa[_0x397ae3]===_0x3ddefe||'*'===_0x1f47fa[_0x397ae3]));}function _0x18c28b(){return _0x283ba9&&_0x46b663?new window['Promise']((_0x365663,_0x4c8e3a)=>{_0x283ba9['then'](_0x365663,_0x4c8e3a),_0x46b663['then'](_0x32b4e5=>{'Valid'!=_0x32b4e5&&_0x365663(_0x32b4e5);},_0x4c8e3a);}):_0x283ba9||_0x46b663||'Valid';}}function _0xfc7eef(_0x20ad49,_0x4020cd){return new window['Promise'](_0x47502c=>{if(_0x30ef94())return _0x47502c('Valid');_0x2ed609(),_0x46d02a['decorate']('_sendUsageRequest');let _0x182eeb=!0x1;const _0x1e00c1=_0x2c2d7f();function _0x16457b(_0x5adbf6){return!!_0x5adbf6&&('object'==typeof _0x5adbf6||'function'==typeof _0x5adbf6)&&'function'==typeof _0x5adbf6['then']&&'function'==typeof _0x5adbf6['catch'];}function _0x15a3ee(_0x13389e){_0x200cb5(_0x13389e)['then'](_0x591fa8=>_0x591fa8&&'ok'==_0x591fa8['status']?_0x79f35(_0x40b92d(_0x1e00c1+_0x4020cd))!=_0x591fa8['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x1b38e1=>(_0x2b6d64(),_0x1b38e1),()=>{const _0xd9a46=_0x22696c();return null==_0xd9a46?(_0x2b6d64(),'Valid'):_0x5c1926-_0xd9a46>0x240c8400?'UsageLimit':'Valid';})['then'](_0x47502c)['catch'](()=>{_0x47502c('UsageLimit');});const _0x190234=0x36ee80;function _0x2b6d64(){const _0x1949ae='llct-'+_0x79f35(_0x40b92d(_0x20ad49)),_0x5135d3=_0x28d39e(_0x79f35(window['Math']['ceil'](_0x5c1926/_0x190234)));window['localStorage']['setItem'](_0x1949ae,_0x5135d3);}function _0x22696c(){const _0x877050='llct-'+_0x79f35(_0x40b92d(_0x20ad49)),_0x2ea236=window['localStorage']['getItem'](_0x877050);return _0x2ea236?window['parseInt'](_0x28d39e(_0x2ea236),0x10)*_0x190234:null;}function _0x200cb5(_0x189377){return new window['Promise']((_0x284d06,_0xcc273b)=>{_0x189377['then'](_0x284d06,_0xcc273b),window['setTimeout'](_0xcc273b,0x1d4c0);});}}_0x46d02a['on']('_sendUsageRequest',(_0x46da0e,_0x11c4df)=>{if(_0x11c4df[0x0]!=_0x20ad49)return _0x47502c('UsageLimit');_0x11c4df[0x1]={..._0x11c4df[0x1],'requestId':_0x1e00c1};},{'priority':'high'}),_0x46d02a['on']('_sendUsageRequest',_0x493817=>{_0x16457b(_0x493817['return'])&&(_0x182eeb=!0x0,_0x15a3ee(_0x493817['return']));},{'priority':'low'}),_0x10e4f9['then'](()=>{_0x182eeb||_0x47502c('UsageLimit');});});function _0x30ef94(){return'auto'==_0x46d02a['editing']['view']['_overlayModeHint'];}function _0x2ed609(){_0x46d02a['editing']['view']['_overlayModeHint']='auto';}}function _0x4ce549(_0xf85a33){const _0x165fdd=[new window['Promise'](_0x5632f7=>setTimeout(_0x5632f7,0x93ecc)),_0x10e4f9['then'](()=>new window['Promise'](_0x4ae6b5=>{let _0x324a32=0x0;_0x46d02a['model']['on']('applyOperation',(_0x4a8d4c,_0x1ee914)=>{_0x1ee914[0x0]['isDocumentOperation']&&_0x324a32++,0x5e8==_0x324a32&&(_0x4ae6b5(),_0x4a8d4c['off']());});}))];return window['Promise']['race'](_0x165fdd)['then'](()=>_0xf85a33);}async function _0x22de97(){await _0x10e4f9,_0x46d02a['model']['change']=_0x33fb36,_0x46d02a['model']['enqueueChange']=_0x33fb36,_0x46d02a['enableReadOnlyMode']('model');}function _0x31647a(){return window['glob']&&window['glob']['triliumVersion'];}function _0x53c6c6(_0x29e170){const _0x1a1278=_0x3682ec();_0x46d02a[_0x1a1278]='formatPainterLicenseKey'+_0x29e170,'Valid'!=_0x29e170&&_0x22de97();}function _0x3682ec(){const _0xd75976=window['String'](window['performance']['now']())['replace']('.','');let _0x405b50='Q';for(let _0x23f922=0x0;_0x23f922<_0xd75976['length'];_0x23f922+=0x2){let _0x2f991d=window['parseInt'](_0xd75976['substring'](_0x23f922,_0x23f922+0x2));_0x2f991d>=0x3e&&(_0x2f991d-=0x3e),_0x405b50+=_0x304d9b[_0x2f991d];}return _0x405b50;}function _0x1e2e49(){const _0x4790e6=_0x44eae9['split']('.');if(0x3!=_0x4790e6['length'])return null;return _0x43406f(_0x4790e6[0x1]);function _0x43406f(_0x74b786){const _0x509e0a=_0x1530f8(_0x74b786);return _0x509e0a&&_0x38327c()?_0x509e0a:null;function _0x38327c(){const _0x35ebf7=_0x509e0a['jti'],_0x288033=window['parseInt'](_0x35ebf7['substring'](_0x35ebf7['length']-0x8),0x10),_0x54ee42={..._0x509e0a,'jti':_0x35ebf7['substring'](0x0,_0x35ebf7['length']-0x8)};return delete _0x54ee42['vc'],_0x40b92d(_0x54ee42)==_0x288033;}}}async function _0x2c0cb5(){let _0x2b552b=!0x0;try{const [_0x5f55be,_0x2879b1,_0x13b746]=_0x44eae9['split']('.');return _0x3f2648(_0x5f55be),await _0x24f80b(_0x5f55be,_0x2879b1,_0x13b746),_0x2b552b;}catch{return!0x1;}function _0x3f2648(_0xea6db0){const _0x3a250b=_0x1530f8(_0xea6db0);_0x3a250b&&'ES256'==_0x3a250b['alg']||(_0x2b552b=!0x1);}async function _0x24f80b(_0x2ed59a,_0x4249b0,_0x22d586){const _0x63cd06=window['Uint8Array']['from'](_0xb42c07(_0x22d586),_0x3229b0=>_0x3229b0['charCodeAt'](0x0)),_0x4f52e7=new window['TextEncoder']()['encode'](_0x2ed59a+'.'+_0x4249b0),_0x5883e=window['crypto']['subtle'];if(!_0x5883e)return;const _0x3be8c6=await _0x5883e['importKey']('jwk',_0x5f10aa,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x5883e['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x3be8c6,_0x63cd06,_0x4f52e7)||(_0x2b552b=!0x1);}}function _0x1530f8(_0x4e294c){return _0x4e294c['startsWith']('ey')?JSON['parse'](_0xb42c07(_0x4e294c)):null;}function _0xb42c07(_0x5015c7){return window['atob'](_0x5015c7['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x40b92d(_0x57c0d5){let _0x557a96=0x1505;function _0x583631(_0x2977be){for(let _0x53df3f=0x0;_0x53df3f<_0x2977be['length'];_0x53df3f++){const _0x4bd8d5=_0x2977be['charCodeAt'](_0x53df3f);_0x557a96=(_0x557a96<<0x5)+_0x557a96+_0x4bd8d5,_0x557a96&=_0x557a96;}}function _0x24f6d1(_0x5f58a2){Array['isArray'](_0x5f58a2)?_0x5f58a2['forEach'](_0x24f6d1):_0x5f58a2&&'object'==typeof _0x5f58a2?Object['entries'](_0x5f58a2)['sort']()['forEach'](([_0x4fe1a7,_0x235d5b])=>{_0x583631(_0x4fe1a7),_0x24f6d1(_0x235d5b);}):_0x583631(window['String'](_0x5f58a2));}return _0x24f6d1(_0x57c0d5),_0x557a96>>>0x0;}function _0x79f35(_0x229811){return _0x229811['toString'](0x10)['padStart'](0x8,'0');}function _0x28d39e(_0x2860fd){return _0x2860fd['split']('')['reverse']()['join']('');}function _0x33fb36(){}_0x53c6c6(await _0x3be60f());}(this);}['_toggleSpecialCursor'](_0x21068f){this['editor']['editing']['view']['change'](_0x47ef00=>{for(const _0xb38029 of this['editor']['editing']['view']['document']['roots'])_0x21068f?_0x47ef00['addClass'](h,_0xb38029):_0x47ef00['removeClass'](h,_0xb38029);});}['_copyFormatting'](){const {editor:_0x5870ac}=this;_0x5870ac['execute'](w),_0x5870ac['ui']['ariaLiveAnnouncer']['announce'](L(_0x5870ac['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x5b3a24}=this,_0x52f6f8=_0x5b3a24['commands']['get'](w)['value'];_0x5b3a24['execute'](g,_0x52f6f8),_0x5b3a24['ui']['ariaLiveAnnouncer']['announce'](L(_0x5b3a24['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](w)['reset'](),this['stopListening'](_0x5c275f['window']['document'],'mouseup');}},x=class extends _0x49e4c3{static get['requires'](){return[P,k];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{p as CopyFormatCommand,x as FormatPainter,P as FormatPainterEditing,k as FormatPainterUI,y as PasteFormatCommand};
@@ -1,5 +1 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
1
  export {};
@@ -1,23 +1,23 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- import { Command, type Editor } from '@ckeditor/ckeditor5-core';
6
- import type { FormattingAttributesValues } from './formatpainterediting.js';
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ import { Command, type Editor } from "@ckeditor/ckeditor5-core";
6
+ import type { FormattingAttributesValues } from "./formatpainterediting.js";
7
7
  /**
8
- * The command allows to paste the formatting onto the current {@link module:engine/model/selection~ModelSelection model selection}.
9
- *
10
- * @extends module:core/command~Command
11
- */
8
+ * The command allows to paste the formatting onto the current {@link module:engine/model/selection~ModelSelection model selection}.
9
+ *
10
+ * @extends module:core/command~Command
11
+ */
12
12
  export declare class PasteFormatCommand extends Command {
13
- /**
14
- * @inheritDoc
15
- */
16
- constructor(editor: Editor);
17
- /**
18
- * Executes the command.
19
- *
20
- * @fires execute
21
- */
22
- execute(formattingToSet?: FormattingAttributesValues | undefined): void;
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ constructor(editor: Editor);
17
+ /**
18
+ * Executes the command.
19
+ *
20
+ * @fires execute
21
+ */
22
+ override execute(formattingToSet?: FormattingAttributesValues | undefined): void;
23
23
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Paint\x20formatting':'','Copy\x20text\x20formatting':'','Paste\x20text\x20formatting':'','Continuous\x20painting':'','Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':'','Formatting\x20copied.':'','Pasted\x20formatting.':'','Painting\x20cancelled.':''},'getPluralForm':_0x3c6118=>0x1!=_0x3c6118}};
23
+ export default{'af':{'dictionary':{'Paint\x20formatting':'','Copy\x20text\x20formatting':'','Paste\x20text\x20formatting':'','Continuous\x20painting':'','Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':'','Formatting\x20copied.':'','Pasted\x20formatting.':'','Painting\x20cancelled.':''},'getPluralForm':_0x1cb4f0=>0x1!=_0x1cb4f0}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x12636=>{const {af:{dictionary:_0x6cb194,getPluralForm:_0x4c0176}}={'af':{'dictionary':{'Paint\x20formatting':'','Copy\x20text\x20formatting':'','Paste\x20text\x20formatting':'','Continuous\x20painting':'','Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':'','Formatting\x20copied.':'','Pasted\x20formatting.':'','Painting\x20cancelled.':''},'getPluralForm':_0xc85a04=>0x1!=_0xc85a04}};_0x12636['af']||={'dictionary':{},'getPluralForm':null},_0x12636['af']['dictionary']=Object['assign'](_0x12636['af']['dictionary'],_0x6cb194),_0x12636['af']['getPluralForm']=_0x4c0176;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x14abb0=>{const {af:{dictionary:_0x56e2cf,getPluralForm:_0x381c7d}}={'af':{'dictionary':{'Paint\x20formatting':'','Copy\x20text\x20formatting':'','Paste\x20text\x20formatting':'','Continuous\x20painting':'','Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':'','Formatting\x20copied.':'','Pasted\x20formatting.':'','Painting\x20cancelled.':''},'getPluralForm':_0x432d92=>0x1!=_0x432d92}};_0x14abb0['af']||={'dictionary':{},'getPluralForm':null},_0x14abb0['af']['dictionary']=Object['assign'](_0x14abb0['af']['dictionary'],_0x56e2cf),_0x14abb0['af']['getPluralForm']=_0x381c7d;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ar':{'dictionary':{'Paint\x20formatting':'نسخ\x20التنسيق','Copy\x20text\x20formatting':'نسخ\x20تنسيق\x20النص','Paste\x20text\x20formatting':'لصق\x20تنسيق\x20النص','Continuous\x20painting':'نسخ\x20التنسيق\x20تحديدات\x20متعددة','Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':'يبقى\x20أداة\x20نسخ\x20التنسيق\x20عاملة\x20بعد\x20التنسيق.','Formatting\x20copied.':'تم\x20نسخ\x20التنسيق.','Pasted\x20formatting.':'تم\x20لصق\x20التنسيق.','Painting\x20cancelled.':'تم\x20إلغاء\x20عملية\x20الرسم.'},'getPluralForm':_0x3d7e33=>0x0==_0x3d7e33?0x0:0x1==_0x3d7e33?0x1:0x2==_0x3d7e33?0x2:_0x3d7e33%0x64>=0x3&&_0x3d7e33%0x64<=0xa?0x3:_0x3d7e33%0x64>=0xb?0x4:0x5}};
23
+ export default{'ar':{'dictionary':{'Paint\x20formatting':'نسخ\x20التنسيق','Copy\x20text\x20formatting':'نسخ\x20تنسيق\x20النص','Paste\x20text\x20formatting':'لصق\x20تنسيق\x20النص','Continuous\x20painting':'نسخ\x20التنسيق\x20تحديدات\x20متعددة','Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':'يبقى\x20أداة\x20نسخ\x20التنسيق\x20عاملة\x20بعد\x20التنسيق.','Formatting\x20copied.':'تم\x20نسخ\x20التنسيق.','Pasted\x20formatting.':'تم\x20لصق\x20التنسيق.','Painting\x20cancelled.':'تم\x20إلغاء\x20عملية\x20الرسم.'},'getPluralForm':_0x154e72=>0x0==_0x154e72?0x0:0x1==_0x154e72?0x1:0x2==_0x154e72?0x2:_0x154e72%0x64>=0x3&&_0x154e72%0x64<=0xa?0x3:_0x154e72%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2cf345=>{const {ar:{dictionary:_0x4bf256,getPluralForm:_0x4e5d99}}={'ar':{'dictionary':{'Paint\x20formatting':'نسخ\x20التنسيق','Copy\x20text\x20formatting':'نسخ\x20تنسيق\x20النص','Paste\x20text\x20formatting':'لصق\x20تنسيق\x20النص','Continuous\x20painting':'نسخ\x20التنسيق\x20تحديدات\x20متعددة','Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':'يبقى\x20أداة\x20نسخ\x20التنسيق\x20عاملة\x20بعد\x20التنسيق.','Formatting\x20copied.':'تم\x20نسخ\x20التنسيق.','Pasted\x20formatting.':'تم\x20لصق\x20التنسيق.','Painting\x20cancelled.':'تم\x20إلغاء\x20عملية\x20الرسم.'},'getPluralForm':_0x260f38=>0x0==_0x260f38?0x0:0x1==_0x260f38?0x1:0x2==_0x260f38?0x2:_0x260f38%0x64>=0x3&&_0x260f38%0x64<=0xa?0x3:_0x260f38%0x64>=0xb?0x4:0x5}};_0x2cf345['ar']||={'dictionary':{},'getPluralForm':null},_0x2cf345['ar']['dictionary']=Object['assign'](_0x2cf345['ar']['dictionary'],_0x4bf256),_0x2cf345['ar']['getPluralForm']=_0x4e5d99;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3453b4=>{const {ar:{dictionary:_0x5bb361,getPluralForm:_0x5a3de6}}={'ar':{'dictionary':{'Paint\x20formatting':'نسخ\x20التنسيق','Copy\x20text\x20formatting':'نسخ\x20تنسيق\x20النص','Paste\x20text\x20formatting':'لصق\x20تنسيق\x20النص','Continuous\x20painting':'نسخ\x20التنسيق\x20تحديدات\x20متعددة','Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':'يبقى\x20أداة\x20نسخ\x20التنسيق\x20عاملة\x20بعد\x20التنسيق.','Formatting\x20copied.':'تم\x20نسخ\x20التنسيق.','Pasted\x20formatting.':'تم\x20لصق\x20التنسيق.','Painting\x20cancelled.':'تم\x20إلغاء\x20عملية\x20الرسم.'},'getPluralForm':_0x414ae2=>0x0==_0x414ae2?0x0:0x1==_0x414ae2?0x1:0x2==_0x414ae2?0x2:_0x414ae2%0x64>=0x3&&_0x414ae2%0x64<=0xa?0x3:_0x414ae2%0x64>=0xb?0x4:0x5}};_0x3453b4['ar']||={'dictionary':{},'getPluralForm':null},_0x3453b4['ar']['dictionary']=Object['assign'](_0x3453b4['ar']['dictionary'],_0x5bb361),_0x3453b4['ar']['getPluralForm']=_0x5a3de6;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ast':{'dictionary':{'Paint\x20formatting':'','Copy\x20text\x20formatting':'','Paste\x20text\x20formatting':'','Continuous\x20painting':'','Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':'','Formatting\x20copied.':'','Pasted\x20formatting.':'','Painting\x20cancelled.':''},'getPluralForm':_0x55754c=>0x1!=_0x55754c}};
23
+ export default{'ast':{'dictionary':{'Paint\x20formatting':'','Copy\x20text\x20formatting':'','Paste\x20text\x20formatting':'','Continuous\x20painting':'','Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':'','Formatting\x20copied.':'','Pasted\x20formatting.':'','Painting\x20cancelled.':''},'getPluralForm':_0x3c398d=>0x1!=_0x3c398d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x39c343=>{const {ast:{dictionary:_0x3f5c23,getPluralForm:_0x36f4e4}}={'ast':{'dictionary':{'Paint\x20formatting':'','Copy\x20text\x20formatting':'','Paste\x20text\x20formatting':'','Continuous\x20painting':'','Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':'','Formatting\x20copied.':'','Pasted\x20formatting.':'','Painting\x20cancelled.':''},'getPluralForm':_0x497a55=>0x1!=_0x497a55}};_0x39c343['ast']||={'dictionary':{},'getPluralForm':null},_0x39c343['ast']['dictionary']=Object['assign'](_0x39c343['ast']['dictionary'],_0x3f5c23),_0x39c343['ast']['getPluralForm']=_0x36f4e4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x123f90=>{const {ast:{dictionary:_0x5c312a,getPluralForm:_0x3e85c0}}={'ast':{'dictionary':{'Paint\x20formatting':'','Copy\x20text\x20formatting':'','Paste\x20text\x20formatting':'','Continuous\x20painting':'','Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':'','Formatting\x20copied.':'','Pasted\x20formatting.':'','Painting\x20cancelled.':''},'getPluralForm':_0x1baa44=>0x1!=_0x1baa44}};_0x123f90['ast']||={'dictionary':{},'getPluralForm':null},_0x123f90['ast']['dictionary']=Object['assign'](_0x123f90['ast']['dictionary'],_0x5c312a),_0x123f90['ast']['getPluralForm']=_0x3e85c0;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'az':{'dictionary':{'Paint\x20formatting':'','Copy\x20text\x20formatting':'','Paste\x20text\x20formatting':'','Continuous\x20painting':'','Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':'','Formatting\x20copied.':'','Pasted\x20formatting.':'','Painting\x20cancelled.':''},'getPluralForm':_0xf8c28c=>0x1!=_0xf8c28c}};
23
+ export default{'az':{'dictionary':{'Paint\x20formatting':'','Copy\x20text\x20formatting':'','Paste\x20text\x20formatting':'','Continuous\x20painting':'','Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':'','Formatting\x20copied.':'','Pasted\x20formatting.':'','Painting\x20cancelled.':''},'getPluralForm':_0xb5eb36=>0x1!=_0xb5eb36}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2735c4=>{const {az:{dictionary:_0x3a0562,getPluralForm:_0x17476f}}={'az':{'dictionary':{'Paint\x20formatting':'','Copy\x20text\x20formatting':'','Paste\x20text\x20formatting':'','Continuous\x20painting':'','Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':'','Formatting\x20copied.':'','Pasted\x20formatting.':'','Painting\x20cancelled.':''},'getPluralForm':_0x2eb635=>0x1!=_0x2eb635}};_0x2735c4['az']||={'dictionary':{},'getPluralForm':null},_0x2735c4['az']['dictionary']=Object['assign'](_0x2735c4['az']['dictionary'],_0x3a0562),_0x2735c4['az']['getPluralForm']=_0x17476f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x32712e=>{const {az:{dictionary:_0x2360fc,getPluralForm:_0x18d255}}={'az':{'dictionary':{'Paint\x20formatting':'','Copy\x20text\x20formatting':'','Paste\x20text\x20formatting':'','Continuous\x20painting':'','Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':'','Formatting\x20copied.':'','Pasted\x20formatting.':'','Painting\x20cancelled.':''},'getPluralForm':_0x511d13=>0x1!=_0x511d13}};_0x32712e['az']||={'dictionary':{},'getPluralForm':null},_0x32712e['az']['dictionary']=Object['assign'](_0x32712e['az']['dictionary'],_0x2360fc),_0x32712e['az']['getPluralForm']=_0x18d255;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'be':{'dictionary':{'Paint\x20formatting':'','Copy\x20text\x20formatting':'','Paste\x20text\x20formatting':'','Continuous\x20painting':'','Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':'','Formatting\x20copied.':'','Pasted\x20formatting.':'','Painting\x20cancelled.':''},'getPluralForm':_0x41c601=>_0x41c601%0xa==0x1&&_0x41c601%0x64!=0xb?0x0:_0x41c601%0xa>=0x2&&_0x41c601%0xa<=0x4&&(_0x41c601%0x64<0xa||_0x41c601%0x64>=0x14)?0x1:0x2}};
23
+ export default{'be':{'dictionary':{'Paint\x20formatting':'','Copy\x20text\x20formatting':'','Paste\x20text\x20formatting':'','Continuous\x20painting':'','Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':'','Formatting\x20copied.':'','Pasted\x20formatting.':'','Painting\x20cancelled.':''},'getPluralForm':_0xec4ce4=>_0xec4ce4%0xa==0x1&&_0xec4ce4%0x64!=0xb?0x0:_0xec4ce4%0xa>=0x2&&_0xec4ce4%0xa<=0x4&&(_0xec4ce4%0x64<0xa||_0xec4ce4%0x64>=0x14)?0x1:0x2}};