biso24-editor 1.3.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 (104) hide show
  1. package/CKEditor4/.eslintrc.json +4 -0
  2. package/CKEditor4/CHANGES.md +2182 -0
  3. package/CKEditor4/LICENSE.md +1436 -0
  4. package/CKEditor4/README.md +39 -0
  5. package/CKEditor4/SECURITY.md +10 -0
  6. package/CKEditor4/adapters/jquery.js +158 -0
  7. package/CKEditor4/bender-runner.config.json +16 -0
  8. package/CKEditor4/build-config.js +100 -0
  9. package/CKEditor4/ckeditor.js +30065 -0
  10. package/CKEditor4/config.js +39 -0
  11. package/CKEditor4/contents.css +161 -0
  12. package/CKEditor4/lang/vi.js +475 -0
  13. package/CKEditor4/plugins/a11yhelp/dialogs/a11yhelp.js +143 -0
  14. package/CKEditor4/plugins/a11yhelp/dialogs/lang/vi.js +122 -0
  15. package/CKEditor4/plugins/ajax/plugin.js +241 -0
  16. package/CKEditor4/plugins/autocomplete/plugin.js +1655 -0
  17. package/CKEditor4/plugins/autocomplete/skins/default.css +38 -0
  18. package/CKEditor4/plugins/custompaste/plugin.js +57 -0
  19. package/CKEditor4/plugins/dialog/dialogDefinition.js +4 -0
  20. package/CKEditor4/plugins/dialog/styles/dialog.css +18 -0
  21. package/CKEditor4/plugins/font/lang/vi.js +14 -0
  22. package/CKEditor4/plugins/font/plugin.js +535 -0
  23. package/CKEditor4/plugins/icons.png +0 -0
  24. package/CKEditor4/plugins/icons_hidpi.png +0 -0
  25. package/CKEditor4/plugins/image2/dialogs/image2.js +558 -0
  26. package/CKEditor4/plugins/image2/icons/hidpi/image.png +0 -0
  27. package/CKEditor4/plugins/image2/icons/image.png +0 -0
  28. package/CKEditor4/plugins/image2/lang/vi.js +21 -0
  29. package/CKEditor4/plugins/image2/plugin.js +1708 -0
  30. package/CKEditor4/plugins/justify/icons/hidpi/justifyblock.png +0 -0
  31. package/CKEditor4/plugins/justify/icons/hidpi/justifycenter.png +0 -0
  32. package/CKEditor4/plugins/justify/icons/hidpi/justifyleft.png +0 -0
  33. package/CKEditor4/plugins/justify/icons/hidpi/justifyright.png +0 -0
  34. package/CKEditor4/plugins/justify/icons/justifyblock.png +0 -0
  35. package/CKEditor4/plugins/justify/icons/justifycenter.png +0 -0
  36. package/CKEditor4/plugins/justify/icons/justifyleft.png +0 -0
  37. package/CKEditor4/plugins/justify/icons/justifyright.png +0 -0
  38. package/CKEditor4/plugins/justify/plugin.js +266 -0
  39. package/CKEditor4/plugins/justify_group/icons/hidpi/justifycenter.png +0 -0
  40. package/CKEditor4/plugins/justify_group/icons/justifycenter.png +0 -0
  41. package/CKEditor4/plugins/justify_group/plugin.js +64 -0
  42. package/CKEditor4/plugins/lineheight/LICENSE +22 -0
  43. package/CKEditor4/plugins/lineheight/README.md +2 -0
  44. package/CKEditor4/plugins/lineheight/lang/vi.js +3 -0
  45. package/CKEditor4/plugins/lineheight/plugin.js +99 -0
  46. package/CKEditor4/plugins/lineheight/readme.txt +30 -0
  47. package/CKEditor4/plugins/link/dialogs/anchor.js +82 -0
  48. package/CKEditor4/plugins/link/dialogs/link.js +777 -0
  49. package/CKEditor4/plugins/link/images/anchor.png +0 -0
  50. package/CKEditor4/plugins/link/images/hidpi/anchor.png +0 -0
  51. package/CKEditor4/plugins/magicline/images/hidpi/icon-rtl.png +0 -0
  52. package/CKEditor4/plugins/magicline/images/hidpi/icon.png +0 -0
  53. package/CKEditor4/plugins/magicline/images/icon-rtl.png +0 -0
  54. package/CKEditor4/plugins/magicline/images/icon.png +0 -0
  55. package/CKEditor4/plugins/mentions/plugin.js +471 -0
  56. package/CKEditor4/plugins/menubutton/plugin.js +99 -0
  57. package/CKEditor4/plugins/pastefromword/filter/default.js +849 -0
  58. package/CKEditor4/plugins/pastetools/filter/common.js +445 -0
  59. package/CKEditor4/plugins/pastetools/filter/image.js +163 -0
  60. package/CKEditor4/plugins/pdffile/icons/exporttopdf.png +0 -0
  61. package/CKEditor4/plugins/pdffile/icons/hidpi/exporttopdf.png +0 -0
  62. package/CKEditor4/plugins/pdffile/plugin.js +36 -0
  63. package/CKEditor4/plugins/placeholder_button/plugin.js +31 -0
  64. package/CKEditor4/plugins/sourcedialog/dialogs/sourcedialog.js +88 -0
  65. package/CKEditor4/plugins/sourcedialog/icons/hidpi/sourcedialog-rtl.png +0 -0
  66. package/CKEditor4/plugins/sourcedialog/icons/hidpi/sourcedialog.png +0 -0
  67. package/CKEditor4/plugins/sourcedialog/icons/sourcedialog-rtl.png +0 -0
  68. package/CKEditor4/plugins/sourcedialog/icons/sourcedialog.png +0 -0
  69. package/CKEditor4/plugins/sourcedialog/lang/vi.js +9 -0
  70. package/CKEditor4/plugins/sourcedialog/plugin.js +30 -0
  71. package/CKEditor4/plugins/textmatch/plugin.js +331 -0
  72. package/CKEditor4/plugins/textwatcher/plugin.js +295 -0
  73. package/CKEditor4/plugins/widget/images/handle.png +0 -0
  74. package/CKEditor4/plugins/wordfile/icons/exporttoword.png +0 -0
  75. package/CKEditor4/plugins/wordfile/icons/hidpi/exporttoword.png +0 -0
  76. package/CKEditor4/plugins/wordfile/icons/hidpi/importfromword.png +0 -0
  77. package/CKEditor4/plugins/wordfile/icons/importfromword.png +0 -0
  78. package/CKEditor4/plugins/wordfile/plugin.js +161 -0
  79. package/CKEditor4/skins/moono-lisa/dialog.css +685 -0
  80. package/CKEditor4/skins/moono-lisa/dialog_ie.css +721 -0
  81. package/CKEditor4/skins/moono-lisa/dialog_ie8.css +746 -0
  82. package/CKEditor4/skins/moono-lisa/dialog_iequirks.css +724 -0
  83. package/CKEditor4/skins/moono-lisa/editor.css +1551 -0
  84. package/CKEditor4/skins/moono-lisa/editor_gecko.css +1556 -0
  85. package/CKEditor4/skins/moono-lisa/editor_ie.css +1588 -0
  86. package/CKEditor4/skins/moono-lisa/editor_ie8.css +1639 -0
  87. package/CKEditor4/skins/moono-lisa/editor_iequirks.css +1632 -0
  88. package/CKEditor4/skins/moono-lisa/icons.png +0 -0
  89. package/CKEditor4/skins/moono-lisa/icons_hidpi.png +0 -0
  90. package/CKEditor4/skins/moono-lisa/images/arrow.png +0 -0
  91. package/CKEditor4/skins/moono-lisa/images/close.png +0 -0
  92. package/CKEditor4/skins/moono-lisa/images/hidpi/close.png +0 -0
  93. package/CKEditor4/skins/moono-lisa/images/hidpi/lock-open.png +0 -0
  94. package/CKEditor4/skins/moono-lisa/images/hidpi/lock.png +0 -0
  95. package/CKEditor4/skins/moono-lisa/images/hidpi/refresh.png +0 -0
  96. package/CKEditor4/skins/moono-lisa/images/lock-open.png +0 -0
  97. package/CKEditor4/skins/moono-lisa/images/lock.png +0 -0
  98. package/CKEditor4/skins/moono-lisa/images/refresh.png +0 -0
  99. package/CKEditor4/skins/moono-lisa/images/spinner.gif +0 -0
  100. package/CKEditor4/skins/moono-lisa/readme.md +46 -0
  101. package/CKEditor4/styles.js +136 -0
  102. package/CKEditor4/vendor/promise.js +385 -0
  103. package/README.md +3 -0
  104. package/package.json +9 -0
@@ -0,0 +1,46 @@
1
+ "Moono-lisa" Skin
2
+ =================
3
+
4
+ This skin has been made a **default skin** starting from CKEditor 4.6.0 and is maintained by the core developers.
5
+
6
+ For more information about skins, please check the [CKEditor Skin SDK](https://ckeditor.com/docs/ckeditor4/latest/guide/skin_sdk_intro.html)
7
+ documentation.
8
+
9
+ Features
10
+ -------------------
11
+ "Moono-lisa" is a monochromatic skin, which offers a modern, flat and minimalistic look which blends very well in modern design.
12
+ It comes with the following features:
13
+
14
+ - Chameleon feature with brightness.
15
+ - High-contrast compatibility.
16
+ - Graphics source provided in SVG.
17
+
18
+ Directory Structure
19
+ -------------------
20
+
21
+ CSS parts:
22
+ - **editor.css**: the main CSS file. It's simply loading several other files, for easier maintenance,
23
+ - **mainui.css**: the file contains styles of entire editor outline structures,
24
+ - **toolbar.css**: the file contains styles of the editor toolbar space (top),
25
+ - **richcombo.css**: the file contains styles of the rich combo ui elements on toolbar,
26
+ - **panel.css**: the file contains styles of the rich combo drop-down, it's not loaded
27
+ until the first panel open up,
28
+ - **elementspath.css**: the file contains styles of the editor elements path bar (bottom),
29
+ - **menu.css**: the file contains styles of all editor menus including context menu and button drop-down,
30
+ it's not loaded until the first menu open up,
31
+ - **dialog.css**: the CSS files for the dialog UI, it's not loaded until the first dialog open,
32
+ - **reset.css**: the file defines the basis of style resets among all editor UI spaces,
33
+ - **preset.css**: the file defines the default styles of some UI elements reflecting the skin preference,
34
+ - **editor_XYZ.css** and **dialog_XYZ.css**: browser specific CSS hacks.
35
+
36
+ Other parts:
37
+ - **skin.js**: the only JavaScript part of the skin that registers the skin, its browser specific files and its icons and defines the Chameleon feature,
38
+ - **images/**: contains a fill general used images,
39
+ - **dev/**: contains SVG and PNG source of the skin icons.
40
+
41
+ License
42
+ -------
43
+
44
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
45
+
46
+ For licensing, see LICENSE.md or [https://ckeditor.com/legal/ckeditor-oss-license](https://ckeditor.com/legal/ckeditor-oss-license)
@@ -0,0 +1,136 @@
1
+
2
+ /**
3
+ * Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
4
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
5
+ */
6
+
7
+ // This file contains style definitions that can be used by CKEditor plugins.
8
+ //
9
+ // The most common use for it is the "stylescombo" plugin which shows the Styles drop-down
10
+ // list containing all styles in the editor toolbar. Other plugins, like
11
+ // the "div" plugin, use a subset of the styles for their features.
12
+ //
13
+ // If you do not have plugins that depend on this file in your editor build, you can simply
14
+ // ignore it. Otherwise it is strongly recommended to customize this file to match your
15
+ // website requirements and design properly.
16
+ //
17
+ // For more information refer to: https://ckeditor.com/docs/ckeditor4/latest/guide/dev_styles.html#style-rules
18
+
19
+ CKEDITOR.stylesSet.add('default', [
20
+ /* Block styles */
21
+
22
+ // These styles are already available in the "Format" drop-down list ("format" plugin),
23
+ // so they are not needed here by default. You may enable them to avoid
24
+ // placing the "Format" combo in the toolbar, maintaining the same features.
25
+ /*
26
+ { name: 'Paragraph', element: 'p' },
27
+ { name: 'Heading 1', element: 'h1' },
28
+ { name: 'Heading 2', element: 'h2' },
29
+ { name: 'Heading 3', element: 'h3' },
30
+ { name: 'Heading 4', element: 'h4' },
31
+ { name: 'Heading 5', element: 'h5' },
32
+ { name: 'Heading 6', element: 'h6' },
33
+ { name: 'Preformatted Text',element: 'pre' },
34
+ { name: 'Address', element: 'address' },
35
+ */
36
+
37
+ { name: 'Italic Title', element: 'h2', styles: { 'font-style': 'italic' } },
38
+ { name: 'Subtitle', element: 'h3', styles: { color: '#aaa', 'font-style': 'italic' } },
39
+ {
40
+ name: 'Special Container',
41
+ element: 'div',
42
+ styles: {
43
+ padding: '5px 10px',
44
+ background: '#eee',
45
+ border: '1px solid #ccc',
46
+ },
47
+ },
48
+
49
+ /* Inline styles */
50
+
51
+ // These are core styles available as toolbar buttons. You may opt enabling
52
+ // some of them in the Styles drop-down list, removing them from the toolbar.
53
+ // (This requires the "stylescombo" plugin.)
54
+ /*
55
+ { name: 'Strong', element: 'strong', overrides: 'b' },
56
+ { name: 'Emphasis', element: 'em' , overrides: 'i' },
57
+ { name: 'Underline', element: 'u' },
58
+ { name: 'Strikethrough', element: 'strike' },
59
+ { name: 'Subscript', element: 'sub' },
60
+ { name: 'Superscript', element: 'sup' },
61
+ */
62
+
63
+ { name: 'Marker', element: 'span', attributes: { class: 'marker' } },
64
+
65
+ { name: 'Big', element: 'big' },
66
+ { name: 'Small', element: 'small' },
67
+ { name: 'Typewriter', element: 'tt' },
68
+
69
+ { name: 'Computer Code', element: 'code' },
70
+ { name: 'Keyboard Phrase', element: 'kbd' },
71
+ { name: 'Sample Text', element: 'samp' },
72
+ { name: 'Variable', element: 'var' },
73
+
74
+ { name: 'Deleted Text', element: 'del' },
75
+ { name: 'Inserted Text', element: 'ins' },
76
+
77
+ { name: 'Cited Work', element: 'cite' },
78
+ { name: 'Inline Quotation', element: 'q' },
79
+
80
+ { name: 'Language: RTL', element: 'span', attributes: { dir: 'rtl' } },
81
+ { name: 'Language: LTR', element: 'span', attributes: { dir: 'ltr' } },
82
+
83
+ /* Object styles */
84
+
85
+ {
86
+ name: 'Styled Image (left)',
87
+ element: 'img',
88
+ attributes: { class: 'left' },
89
+ },
90
+
91
+ {
92
+ name: 'Styled Image (right)',
93
+ element: 'img',
94
+ attributes: { class: 'right' },
95
+ },
96
+
97
+ {
98
+ name: 'Compact Table',
99
+ element: 'table',
100
+ attributes: {
101
+ cellpadding: '5',
102
+ cellspacing: '0',
103
+ border: '1',
104
+ bordercolor: '#ccc',
105
+ },
106
+ styles: {
107
+ 'border-collapse': 'collapse',
108
+ },
109
+ },
110
+
111
+ { name: 'Borderless Table', element: 'table', styles: { 'border-style': 'hidden', 'background-color': '#E6E6FA' } },
112
+ { name: 'Square Bulleted List', element: 'ul', styles: { 'list-style-type': 'square' } },
113
+
114
+ /* Widget styles */
115
+
116
+ { name: 'Clean Image', type: 'widget', widget: 'image', attributes: { class: 'image-clean' } },
117
+ { name: 'Grayscale Image', type: 'widget', widget: 'image', attributes: { class: 'image-grayscale' } },
118
+
119
+ { name: 'Featured Snippet', type: 'widget', widget: 'codeSnippet', attributes: { class: 'code-featured' } },
120
+
121
+ { name: 'Featured Formula', type: 'widget', widget: 'mathjax', attributes: { class: 'math-featured' } },
122
+
123
+ { name: '240p', type: 'widget', widget: 'embedSemantic', attributes: { class: 'embed-240p' }, group: 'size' },
124
+ { name: '360p', type: 'widget', widget: 'embedSemantic', attributes: { class: 'embed-360p' }, group: 'size' },
125
+ { name: '480p', type: 'widget', widget: 'embedSemantic', attributes: { class: 'embed-480p' }, group: 'size' },
126
+ { name: '720p', type: 'widget', widget: 'embedSemantic', attributes: { class: 'embed-720p' }, group: 'size' },
127
+ { name: '1080p', type: 'widget', widget: 'embedSemantic', attributes: { class: 'embed-1080p' }, group: 'size' },
128
+
129
+ // Adding space after the style name is an intended workaround. For now, there
130
+ // is no option to create two styles with the same name for different widget types. See https://dev.ckeditor.com/ticket/16664.
131
+ { name: '240p ', type: 'widget', widget: 'embed', attributes: { class: 'embed-240p' }, group: 'size' },
132
+ { name: '360p ', type: 'widget', widget: 'embed', attributes: { class: 'embed-360p' }, group: 'size' },
133
+ { name: '480p ', type: 'widget', widget: 'embed', attributes: { class: 'embed-480p' }, group: 'size' },
134
+ { name: '720p ', type: 'widget', widget: 'embed', attributes: { class: 'embed-720p' }, group: 'size' },
135
+ { name: '1080p ', type: 'widget', widget: 'embed', attributes: { class: 'embed-1080p' }, group: 'size' },
136
+ ]);
@@ -0,0 +1,385 @@
1
+ (function (v, w) {
2
+ 'object' === typeof exports && 'undefined' !== typeof module
3
+ ? (module.exports = w())
4
+ : 'function' === typeof define && define.amd
5
+ ? define(w)
6
+ : (v.ES6Promise = w());
7
+ })(this, function () {
8
+ function v(a) {
9
+ return 'function' === typeof a;
10
+ }
11
+ function w() {
12
+ return function () {
13
+ return process.nextTick(n);
14
+ };
15
+ }
16
+ function R() {
17
+ return 'undefined' !== typeof B
18
+ ? function () {
19
+ B(n);
20
+ }
21
+ : C();
22
+ }
23
+ function S() {
24
+ var a = 0,
25
+ b = new J(n),
26
+ c = document.createTextNode('');
27
+ b.observe(c, { characterData: !0 });
28
+ return function () {
29
+ c.data = a = ++a % 2;
30
+ };
31
+ }
32
+ function T() {
33
+ var a = new MessageChannel();
34
+ a.port1.onmessage = n;
35
+ return function () {
36
+ return a.port2.postMessage(0);
37
+ };
38
+ }
39
+ function C() {
40
+ var a = setTimeout;
41
+ return function () {
42
+ return a(n, 1);
43
+ };
44
+ }
45
+ function n() {
46
+ for (var a = 0; a < k; a += 2) (0, q[a])(q[a + 1]), (q[a] = void 0), (q[a + 1] = void 0);
47
+ k = 0;
48
+ }
49
+ function U() {
50
+ try {
51
+ var a = Function('return this')().require('vertx');
52
+ B = a.runOnLoop || a.runOnContext;
53
+ return R();
54
+ } catch (b) {
55
+ return C();
56
+ }
57
+ }
58
+ function D(a, b) {
59
+ var c = this,
60
+ d = new this.constructor(r);
61
+ void 0 === d[z] && K(d);
62
+ var e = c._state;
63
+ if (e) {
64
+ var f = arguments[e - 1];
65
+ l(function () {
66
+ return L(e, d, f, c._result);
67
+ });
68
+ } else E(c, d, a, b);
69
+ return d;
70
+ }
71
+ function F(a) {
72
+ if (a && 'object' === typeof a && a.constructor === this) return a;
73
+ var b = new this(r);
74
+ x(b, a);
75
+ return b;
76
+ }
77
+ function r() {}
78
+ function M(a) {
79
+ try {
80
+ return a.then;
81
+ } catch (b) {
82
+ return (p.error = b), p;
83
+ }
84
+ }
85
+ function V(a, b, c, d) {
86
+ try {
87
+ a.call(b, c, d);
88
+ } catch (e) {
89
+ return e;
90
+ }
91
+ }
92
+ function W(a, b, c) {
93
+ l(function (a) {
94
+ var e = !1,
95
+ f = V(
96
+ c,
97
+ b,
98
+ function (c) {
99
+ e || ((e = !0), b !== c ? x(a, c) : m(a, c));
100
+ },
101
+ function (b) {
102
+ e || ((e = !0), g(a, b));
103
+ },
104
+ 'Settle: ' + (a._label || ' unknown promise'),
105
+ );
106
+ !e && f && ((e = !0), g(a, f));
107
+ }, a);
108
+ }
109
+ function X(a, b) {
110
+ b._state === y
111
+ ? m(a, b._result)
112
+ : b._state === t
113
+ ? g(a, b._result)
114
+ : E(
115
+ b,
116
+ void 0,
117
+ function (b) {
118
+ return x(a, b);
119
+ },
120
+ function (b) {
121
+ return g(a, b);
122
+ },
123
+ );
124
+ }
125
+ function N(a, b, c) {
126
+ b.constructor === a.constructor && c === D && b.constructor.resolve === F
127
+ ? X(a, b)
128
+ : c === p
129
+ ? (g(a, p.error), (p.error = null))
130
+ : void 0 === c
131
+ ? m(a, b)
132
+ : v(c)
133
+ ? W(a, b, c)
134
+ : m(a, b);
135
+ }
136
+ function x(a, b) {
137
+ if (a === b) g(a, new TypeError('You cannot resolve a promise with itself'));
138
+ else {
139
+ var c = typeof b;
140
+ null === b || ('object' !== c && 'function' !== c) ? m(a, b) : N(a, b, M(b));
141
+ }
142
+ }
143
+ function Y(a) {
144
+ a._onerror && a._onerror(a._result);
145
+ G(a);
146
+ }
147
+ function m(a, b) {
148
+ a._state === u && ((a._result = b), (a._state = y), 0 !== a._subscribers.length && l(G, a));
149
+ }
150
+ function g(a, b) {
151
+ a._state === u && ((a._state = t), (a._result = b), l(Y, a));
152
+ }
153
+ function E(a, b, c, d) {
154
+ var e = a._subscribers,
155
+ f = e.length;
156
+ a._onerror = null;
157
+ e[f] = b;
158
+ e[f + y] = c;
159
+ e[f + t] = d;
160
+ 0 === f && a._state && l(G, a);
161
+ }
162
+ function G(a) {
163
+ var b = a._subscribers,
164
+ c = a._state;
165
+ if (0 !== b.length) {
166
+ for (var d = void 0, e = void 0, f = a._result, g = 0; g < b.length; g += 3)
167
+ (d = b[g]), (e = b[g + c]), d ? L(c, d, e, f) : e(f);
168
+ a._subscribers.length = 0;
169
+ }
170
+ }
171
+ function L(a, b, c, d) {
172
+ var e = v(c),
173
+ f = void 0,
174
+ h = void 0,
175
+ k = void 0,
176
+ l = void 0;
177
+ if (e) {
178
+ try {
179
+ f = c(d);
180
+ } catch (n) {
181
+ (p.error = n), (f = p);
182
+ }
183
+ f === p ? ((l = !0), (h = f.error), (f.error = null)) : (k = !0);
184
+ if (b === f) {
185
+ g(b, new TypeError('A promises callback cannot return that same promise.'));
186
+ return;
187
+ }
188
+ } else (f = d), (k = !0);
189
+ b._state === u && (e && k ? x(b, f) : l ? g(b, h) : a === y ? m(b, f) : a === t && g(b, f));
190
+ }
191
+ function Z(a, b) {
192
+ try {
193
+ b(
194
+ function (b) {
195
+ x(a, b);
196
+ },
197
+ function (b) {
198
+ g(a, b);
199
+ },
200
+ );
201
+ } catch (c) {
202
+ g(a, c);
203
+ }
204
+ }
205
+ function K(a) {
206
+ a[z] = O++;
207
+ a._state = void 0;
208
+ a._result = void 0;
209
+ a._subscribers = [];
210
+ }
211
+ var H = void 0,
212
+ P = (H = Array.isArray
213
+ ? Array.isArray
214
+ : function (a) {
215
+ return '[object Array]' === Object.prototype.toString.call(a);
216
+ }),
217
+ k = 0,
218
+ B = void 0,
219
+ I = void 0,
220
+ l = function (a, b) {
221
+ q[k] = a;
222
+ q[k + 1] = b;
223
+ k += 2;
224
+ 2 === k && (I ? I(n) : Q());
225
+ },
226
+ A = (H = 'undefined' !== typeof window ? window : void 0) || {},
227
+ J = A.MutationObserver || A.WebKitMutationObserver,
228
+ A =
229
+ 'undefined' === typeof self && 'undefined' !== typeof process && '[object process]' === {}.toString.call(process),
230
+ aa =
231
+ 'undefined' !== typeof Uint8ClampedArray &&
232
+ 'undefined' !== typeof importScripts &&
233
+ 'undefined' !== typeof MessageChannel,
234
+ q = Array(1e3),
235
+ Q = void 0,
236
+ Q = A ? w() : J ? S() : aa ? T() : void 0 === H && 'function' === typeof require ? U() : C(),
237
+ z = Math.random().toString(36).substring(2),
238
+ u = void 0,
239
+ y = 1,
240
+ t = 2,
241
+ p = { error: null },
242
+ O = 0,
243
+ ba = (function () {
244
+ function a(a, c) {
245
+ this._instanceConstructor = a;
246
+ this.promise = new a(r);
247
+ this.promise[z] || K(this.promise);
248
+ P(c)
249
+ ? ((this._remaining = this.length = c.length),
250
+ (this._result = Array(this.length)),
251
+ 0 === this.length
252
+ ? m(this.promise, this._result)
253
+ : ((this.length = this.length || 0),
254
+ this._enumerate(c),
255
+ 0 === this._remaining && m(this.promise, this._result)))
256
+ : g(this.promise, Error('Array Methods must be provided an Array'));
257
+ }
258
+ a.prototype._enumerate = function (a) {
259
+ for (var c = 0; this._state === u && c < a.length; c++) this._eachEntry(a[c], c);
260
+ };
261
+ a.prototype._eachEntry = function (a, c) {
262
+ var d = this._instanceConstructor,
263
+ e = d.resolve;
264
+ e === F
265
+ ? ((e = M(a)),
266
+ e === D && a._state !== u
267
+ ? this._settledAt(a._state, c, a._result)
268
+ : 'function' !== typeof e
269
+ ? (this._remaining--, (this._result[c] = a))
270
+ : d === h
271
+ ? ((d = new d(r)), N(d, a, e), this._willSettleAt(d, c))
272
+ : this._willSettleAt(
273
+ new d(function (c) {
274
+ return c(a);
275
+ }),
276
+ c,
277
+ ))
278
+ : this._willSettleAt(e(a), c);
279
+ };
280
+ a.prototype._settledAt = function (a, c, d) {
281
+ var e = this.promise;
282
+ e._state === u && (this._remaining--, a === t ? g(e, d) : (this._result[c] = d));
283
+ 0 === this._remaining && m(e, this._result);
284
+ };
285
+ a.prototype._willSettleAt = function (a, c) {
286
+ var d = this;
287
+ E(
288
+ a,
289
+ void 0,
290
+ function (a) {
291
+ return d._settledAt(y, c, a);
292
+ },
293
+ function (a) {
294
+ return d._settledAt(t, c, a);
295
+ },
296
+ );
297
+ };
298
+ return a;
299
+ })(),
300
+ h = (function () {
301
+ function a(b) {
302
+ this[z] = O++;
303
+ this._result = this._state = void 0;
304
+ this._subscribers = [];
305
+ if (r !== b) {
306
+ if ('function' !== typeof b)
307
+ throw new TypeError('You must pass a resolver function as the first argument to the promise constructor');
308
+ if (this instanceof a) Z(this, b);
309
+ else
310
+ throw new TypeError(
311
+ "Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.",
312
+ );
313
+ }
314
+ }
315
+ a.prototype['catch'] = function (a) {
316
+ return this.then(null, a);
317
+ };
318
+ a.prototype['finally'] = function (a) {
319
+ var c = this.constructor;
320
+ return v(a)
321
+ ? this.then(
322
+ function (d) {
323
+ return c.resolve(a()).then(function () {
324
+ return d;
325
+ });
326
+ },
327
+ function (d) {
328
+ return c.resolve(a()).then(function () {
329
+ throw d;
330
+ });
331
+ },
332
+ )
333
+ : this.then(a, a);
334
+ };
335
+ return a;
336
+ })();
337
+ h.prototype.then = D;
338
+ h.all = function (a) {
339
+ return new ba(this, a).promise;
340
+ };
341
+ h.race = function (a) {
342
+ var b = this;
343
+ return P(a)
344
+ ? new b(function (c, d) {
345
+ for (var e = a.length, f = 0; f < e; f++) b.resolve(a[f]).then(c, d);
346
+ })
347
+ : new b(function (a, b) {
348
+ return b(new TypeError('You must pass an array to race.'));
349
+ });
350
+ };
351
+ h.resolve = F;
352
+ h.reject = function (a) {
353
+ var b = new this(r);
354
+ g(b, a);
355
+ return b;
356
+ };
357
+ h._setScheduler = function (a) {
358
+ I = a;
359
+ };
360
+ h._setAsap = function (a) {
361
+ l = a;
362
+ };
363
+ h._asap = l;
364
+ h.polyfill = function () {
365
+ var a = void 0;
366
+ if ('undefined' !== typeof global) a = global;
367
+ else if ('undefined' !== typeof self) a = self;
368
+ else
369
+ try {
370
+ a = Function('return this')();
371
+ } catch (b) {
372
+ throw Error('polyfill failed because global object is unavailable in this environment');
373
+ }
374
+ var c = a.Promise;
375
+ if (c) {
376
+ var d = null;
377
+ try {
378
+ d = Object.prototype.toString.call(c.resolve());
379
+ } catch (e) {}
380
+ if ('[object Promise]' === d && !c.cast) return;
381
+ }
382
+ a.Promise = h;
383
+ };
384
+ return (h.Promise = h);
385
+ });
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # biso24-editor
2
+
3
+ Custom CKEditor4 build (trimmed plugins) served as static assets for Biso24 modules.
package/package.json ADDED
@@ -0,0 +1,9 @@
1
+ {
2
+ "name": "biso24-editor",
3
+ "version": "1.3.0",
4
+ "description": "Custom CKEditor4 build for Biso24 modules",
5
+ "keywords": ["ckeditor", "ckeditor4", "biso24"],
6
+ "repository": { "type": "git", "url": "git+https://github.com/tmnthieu/biso24-editor.git" },
7
+ "files": ["CKEditor4"],
8
+ "license": "MIT"
9
+ }