highmark-markdown 1.1.99 → 1.1.100

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (230) hide show
  1. package/package.json +1 -1
  2. package/lib/attributeNames.js +0 -38
  3. package/lib/constants.js +0 -90
  4. package/lib/defaultMarkdownStyle.js +0 -14
  5. package/lib/example/constants.js +0 -38
  6. package/lib/example/customEventTypes.js +0 -46
  7. package/lib/example/importer.js +0 -56
  8. package/lib/example/indexOptions.js +0 -45
  9. package/lib/example/view/button/page.js +0 -155
  10. package/lib/example/view/button/tab/css.js +0 -133
  11. package/lib/example/view/button/tab/html.js +0 -133
  12. package/lib/example/view/button/tab/markdown.js +0 -133
  13. package/lib/example/view/button/tab/markdownStyle.js +0 -133
  14. package/lib/example/view/button/tab/plainText.js +0 -133
  15. package/lib/example/view/button/tab/preview.js +0 -133
  16. package/lib/example/view/button/tab.js +0 -156
  17. package/lib/example/view/div/container/css.js +0 -173
  18. package/lib/example/view/div/container/html.js +0 -175
  19. package/lib/example/view/div/container/markdown.js +0 -208
  20. package/lib/example/view/div/container/markdownStyle.js +0 -209
  21. package/lib/example/view/div/container/plainText.js +0 -173
  22. package/lib/example/view/div/container/preview.js +0 -193
  23. package/lib/example/view/div/container.js +0 -175
  24. package/lib/example/view/div/html.js +0 -192
  25. package/lib/example/view/div/pageButtons.js +0 -259
  26. package/lib/example/view/div/preview.js +0 -293
  27. package/lib/example/view/div/sizeable/left.js +0 -122
  28. package/lib/example/view/div/tabButtons/left.js +0 -180
  29. package/lib/example/view/div/tabButtons/right.js +0 -218
  30. package/lib/example/view/div/tabButtons.js +0 -191
  31. package/lib/example/view/textarea/css.js +0 -165
  32. package/lib/example/view/textarea/markdown.js +0 -163
  33. package/lib/example/view/textarea/markdownStyle.js +0 -163
  34. package/lib/example/view/textarea/parseTree/css.js +0 -150
  35. package/lib/example/view/textarea/parseTree/html.js +0 -150
  36. package/lib/example/view/textarea/parseTree/markdown.js +0 -148
  37. package/lib/example/view/textarea/parseTree/markdownStyle.js +0 -148
  38. package/lib/example/view/textarea/parseTree.js +0 -155
  39. package/lib/example/view/textarea/plainText.js +0 -171
  40. package/lib/example/view/textarea.js +0 -39
  41. package/lib/example/view/xmp.js +0 -207
  42. package/lib/example/view.js +0 -551
  43. package/lib/example.js +0 -27
  44. package/lib/index/item.js +0 -102
  45. package/lib/index/list.js +0 -88
  46. package/lib/index/match.js +0 -76
  47. package/lib/index.js +0 -139
  48. package/lib/letters.js +0 -41
  49. package/lib/map/className.js +0 -19
  50. package/lib/map/node/css.js +0 -67
  51. package/lib/map/node/html.js +0 -98
  52. package/lib/map/nonTerminalNode/markdown.js +0 -55
  53. package/lib/map/nonTerminalNode/markdownStyle.js +0 -54
  54. package/lib/map/tagName.js +0 -19
  55. package/lib/markdown/bnf.js +0 -14
  56. package/lib/markdown/entries.js +0 -75
  57. package/lib/markdown/lexer.js +0 -144
  58. package/lib/markdown/parser.js +0 -139
  59. package/lib/markdownStyle/bnf.js +0 -14
  60. package/lib/markdownStyle/entries.js +0 -50
  61. package/lib/markdownStyle/lexer.js +0 -144
  62. package/lib/markdownStyle/parser.js +0 -139
  63. package/lib/mixins/node.js +0 -145
  64. package/lib/node/css/amount.js +0 -128
  65. package/lib/node/css/argument.js +0 -113
  66. package/lib/node/css/arguments.js +0 -146
  67. package/lib/node/css/class.js +0 -146
  68. package/lib/node/css/colour.js +0 -128
  69. package/lib/node/css/declaration.js +0 -127
  70. package/lib/node/css/identifier.js +0 -128
  71. package/lib/node/css/name.js +0 -146
  72. package/lib/node/css/pseudoClass.js +0 -146
  73. package/lib/node/css/ruleName.js +0 -159
  74. package/lib/node/css/ruleSet.js +0 -159
  75. package/lib/node/css/selector.js +0 -113
  76. package/lib/node/css/selectors.js +0 -125
  77. package/lib/node/css/selectorsList.js +0 -133
  78. package/lib/node/css/string.js +0 -128
  79. package/lib/node/css/topmost.js +0 -158
  80. package/lib/node/css/value.js +0 -145
  81. package/lib/node/css/values.js +0 -125
  82. package/lib/node/css.js +0 -282
  83. package/lib/node/html/anchor.js +0 -183
  84. package/lib/node/html/directive/contents.js +0 -113
  85. package/lib/node/html/directive/footnotes.js +0 -113
  86. package/lib/node/html/directive/index.js +0 -113
  87. package/lib/node/html/directive/pageNumber.js +0 -113
  88. package/lib/node/html/directive.js +0 -141
  89. package/lib/node/html/division.js +0 -294
  90. package/lib/node/html/error.js +0 -197
  91. package/lib/node/html/footnote.js +0 -167
  92. package/lib/node/html/heading/index.js +0 -192
  93. package/lib/node/html/heading/primary.js +0 -130
  94. package/lib/node/html/heading/quaternary.js +0 -130
  95. package/lib/node/html/heading/secondary.js +0 -130
  96. package/lib/node/html/heading/tertiary.js +0 -130
  97. package/lib/node/html/heading.js +0 -165
  98. package/lib/node/html/image.js +0 -219
  99. package/lib/node/html/item/contents.js +0 -142
  100. package/lib/node/html/item/footnote.js +0 -144
  101. package/lib/node/html/item/index.js +0 -152
  102. package/lib/node/html/item/ordered.js +0 -151
  103. package/lib/node/html/item/unordered.js +0 -128
  104. package/lib/node/html/line/block.js +0 -144
  105. package/lib/node/html/line.js +0 -243
  106. package/lib/node/html/link/contents.js +0 -171
  107. package/lib/node/html/link/email.js +0 -258
  108. package/lib/node/html/link/footnote.js +0 -265
  109. package/lib/node/html/link/hyper.js +0 -258
  110. package/lib/node/html/link/index.js +0 -236
  111. package/lib/node/html/list/contents.js +0 -142
  112. package/lib/node/html/list/footnotes.js +0 -178
  113. package/lib/node/html/list/index.js +0 -142
  114. package/lib/node/html/list/ordered.js +0 -128
  115. package/lib/node/html/list/unordered.js +0 -128
  116. package/lib/node/html/listing/block.js +0 -195
  117. package/lib/node/html/listing/inline.js +0 -197
  118. package/lib/node/html/pageNumber.js +0 -226
  119. package/lib/node/html/paragraph.js +0 -128
  120. package/lib/node/html/reference.js +0 -128
  121. package/lib/node/html/table.js +0 -128
  122. package/lib/node/html/tableBody.js +0 -128
  123. package/lib/node/html/tableBodyCell.js +0 -128
  124. package/lib/node/html/tableBodyRow.js +0 -128
  125. package/lib/node/html/tableHead.js +0 -128
  126. package/lib/node/html/tableHeadCell.js +0 -128
  127. package/lib/node/html/tableHeadRow.js +0 -128
  128. package/lib/node/html/text/block.js +0 -128
  129. package/lib/node/html/text/comma.js +0 -146
  130. package/lib/node/html/text/emphasised.js +0 -128
  131. package/lib/node/html/text/index.js +0 -161
  132. package/lib/node/html/text/inline.js +0 -197
  133. package/lib/node/html/text/plain.js +0 -128
  134. package/lib/node/html/text/strong.js +0 -128
  135. package/lib/node/html/text/stronglyEmphasised.js +0 -222
  136. package/lib/node/html/text.js +0 -180
  137. package/lib/node/html/topmost.js +0 -250
  138. package/lib/node/html.js +0 -574
  139. package/lib/node/markdown/blockEnd.js +0 -107
  140. package/lib/node/markdown/blockStart.js +0 -131
  141. package/lib/node/markdown/className.js +0 -118
  142. package/lib/node/markdown/directive/embed.js +0 -158
  143. package/lib/node/markdown/directive/include.js +0 -158
  144. package/lib/node/markdown/division.js +0 -237
  145. package/lib/node/markdown/error.js +0 -118
  146. package/lib/node/markdown/footnote.js +0 -118
  147. package/lib/node/markdown/hyperlink.js +0 -155
  148. package/lib/node/markdown/image.js +0 -118
  149. package/lib/node/markdown/item/ordered.js +0 -124
  150. package/lib/node/markdown/link/email.js +0 -155
  151. package/lib/node/markdown/link/footnote.js +0 -120
  152. package/lib/node/markdown/listng/block.js +0 -118
  153. package/lib/node/markdown/listng/inline.js +0 -124
  154. package/lib/node/markdown/path.js +0 -118
  155. package/lib/node/markdown/reference.js +0 -124
  156. package/lib/node/markdown/subDivision.js +0 -144
  157. package/lib/node/markdown/text/block.js +0 -107
  158. package/lib/node/markdown/text/plain.js +0 -107
  159. package/lib/node/markdown/text.js +0 -142
  160. package/lib/node/markdown/topmost.js +0 -165
  161. package/lib/node/markdown.js +0 -188
  162. package/lib/node/markdownStyle/amount.js +0 -119
  163. package/lib/node/markdownStyle/argument.js +0 -107
  164. package/lib/node/markdownStyle/arguments.js +0 -107
  165. package/lib/node/markdownStyle/colour.js +0 -118
  166. package/lib/node/markdownStyle/declaration.js +0 -107
  167. package/lib/node/markdownStyle/error.js +0 -107
  168. package/lib/node/markdownStyle/identifier.js +0 -119
  169. package/lib/node/markdownStyle/name.js +0 -107
  170. package/lib/node/markdownStyle/nonsense.js +0 -107
  171. package/lib/node/markdownStyle/pseudoClass.js +0 -107
  172. package/lib/node/markdownStyle/ruleName.js +0 -118
  173. package/lib/node/markdownStyle/ruleSet.js +0 -107
  174. package/lib/node/markdownStyle/selector.js +0 -107
  175. package/lib/node/markdownStyle/selectors.js +0 -107
  176. package/lib/node/markdownStyle/selectorsList.js +0 -107
  177. package/lib/node/markdownStyle/string.js +0 -118
  178. package/lib/node/markdownStyle/topmost.js +0 -107
  179. package/lib/node/markdownStyle/value.js +0 -107
  180. package/lib/node/markdownStyle/values.js +0 -107
  181. package/lib/node/markdownStyle.js +0 -153
  182. package/lib/prepends.js +0 -26
  183. package/lib/queries/markdown.js +0 -20
  184. package/lib/queries/markdownStyle.js +0 -20
  185. package/lib/ruleNames/markdown.js +0 -370
  186. package/lib/ruleNames/markdownStyle.js +0 -125
  187. package/lib/styleElement/markdown/default.js +0 -150
  188. package/lib/styleElement/markdown.js +0 -207
  189. package/lib/styleElement.js +0 -95
  190. package/lib/tokenTypes.js +0 -110
  191. package/lib/transform/css/ruleSet.js +0 -124
  192. package/lib/transform/css/selectors.js +0 -126
  193. package/lib/transform/css/selectorsList.js +0 -144
  194. package/lib/transform/css.js +0 -161
  195. package/lib/transform/html/division.js +0 -130
  196. package/lib/transform/html/footnote.js +0 -140
  197. package/lib/transform/html/heading/index.js +0 -109
  198. package/lib/transform/html/index.js +0 -159
  199. package/lib/transform/html/indexAnchor.js +0 -118
  200. package/lib/transform/html/item/contents.js +0 -130
  201. package/lib/transform/html/item/footnote.js +0 -117
  202. package/lib/transform/html/item/index.js +0 -117
  203. package/lib/transform/html/line.js +0 -116
  204. package/lib/transform/html/link/contents.js +0 -130
  205. package/lib/transform/html/link/footnote.js +0 -158
  206. package/lib/transform/html/list/contents.js +0 -180
  207. package/lib/transform/html/list/footnotes.js +0 -129
  208. package/lib/transform/html/list/index.js +0 -118
  209. package/lib/transform/html/pageNumber.js +0 -124
  210. package/lib/transform/html.js +0 -148
  211. package/lib/transform/markdown/directive/embed.js +0 -139
  212. package/lib/transform/markdown/directive/ignore.js +0 -108
  213. package/lib/transform/markdown/directive/include.js +0 -148
  214. package/lib/transform/markdown/subDivision.js +0 -108
  215. package/lib/transform/markdown.js +0 -148
  216. package/lib/utilities/contents.js +0 -172
  217. package/lib/utilities/css.js +0 -57
  218. package/lib/utilities/division.js +0 -121
  219. package/lib/utilities/dom.js +0 -58
  220. package/lib/utilities/element.js +0 -26
  221. package/lib/utilities/entities.js +0 -17
  222. package/lib/utilities/entries.js +0 -24
  223. package/lib/utilities/grammar.js +0 -131
  224. package/lib/utilities/html.js +0 -99
  225. package/lib/utilities/index.js +0 -265
  226. package/lib/utilities/markdown.js +0 -81
  227. package/lib/utilities/markdownStyle.js +0 -13
  228. package/lib/utilities/object.js +0 -65
  229. package/lib/utilities/query.js +0 -65
  230. package/lib/utilities/string.js +0 -45
@@ -1,133 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- Object.defineProperty(exports, "default", {
6
- enumerable: true,
7
- get: function() {
8
- return HTMLTabButton;
9
- }
10
- });
11
- var _tab = /*#__PURE__*/ _interop_require_default(require("../../button/tab"));
12
- function _assert_this_initialized(self) {
13
- if (self === void 0) {
14
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
15
- }
16
- return self;
17
- }
18
- function _call_super(_this, derived, args) {
19
- derived = _get_prototype_of(derived);
20
- return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
21
- }
22
- function _class_call_check(instance, Constructor) {
23
- if (!(instance instanceof Constructor)) {
24
- throw new TypeError("Cannot call a class as a function");
25
- }
26
- }
27
- function _defineProperties(target, props) {
28
- for(var i = 0; i < props.length; i++){
29
- var descriptor = props[i];
30
- descriptor.enumerable = descriptor.enumerable || false;
31
- descriptor.configurable = true;
32
- if ("value" in descriptor) descriptor.writable = true;
33
- Object.defineProperty(target, descriptor.key, descriptor);
34
- }
35
- }
36
- function _create_class(Constructor, protoProps, staticProps) {
37
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
38
- if (staticProps) _defineProperties(Constructor, staticProps);
39
- return Constructor;
40
- }
41
- function _define_property(obj, key, value) {
42
- if (key in obj) {
43
- Object.defineProperty(obj, key, {
44
- value: value,
45
- enumerable: true,
46
- configurable: true,
47
- writable: true
48
- });
49
- } else {
50
- obj[key] = value;
51
- }
52
- return obj;
53
- }
54
- function _get_prototype_of(o) {
55
- _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
56
- return o.__proto__ || Object.getPrototypeOf(o);
57
- };
58
- return _get_prototype_of(o);
59
- }
60
- function _inherits(subClass, superClass) {
61
- if (typeof superClass !== "function" && superClass !== null) {
62
- throw new TypeError("Super expression must either be null or a function");
63
- }
64
- subClass.prototype = Object.create(superClass && superClass.prototype, {
65
- constructor: {
66
- value: subClass,
67
- writable: true,
68
- configurable: true
69
- }
70
- });
71
- if (superClass) _set_prototype_of(subClass, superClass);
72
- }
73
- function _interop_require_default(obj) {
74
- return obj && obj.__esModule ? obj : {
75
- default: obj
76
- };
77
- }
78
- function _possible_constructor_return(self, call) {
79
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
80
- return call;
81
- }
82
- return _assert_this_initialized(self);
83
- }
84
- function _set_prototype_of(o, p) {
85
- _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
86
- o.__proto__ = p;
87
- return o;
88
- };
89
- return _set_prototype_of(o, p);
90
- }
91
- function _type_of(obj) {
92
- "@swc/helpers - typeof";
93
- return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
94
- }
95
- function _is_native_reflect_construct() {
96
- try {
97
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
98
- } catch (_) {}
99
- return (_is_native_reflect_construct = function() {
100
- return !!result;
101
- })();
102
- }
103
- var HTMLTabButton = /*#__PURE__*/ function(TabButton) {
104
- _inherits(HTMLTabButton, TabButton);
105
- function HTMLTabButton() {
106
- _class_call_check(this, HTMLTabButton);
107
- return _call_super(this, HTMLTabButton, arguments);
108
- }
109
- _create_class(HTMLTabButton, [
110
- {
111
- key: "childElements",
112
- value: function childElements() {
113
- return "HTML";
114
- }
115
- },
116
- {
117
- key: "parentContext",
118
- value: function parentContext() {
119
- var enableHTMLTabButton = this.enable.bind(this), disableHTMLTabButton = this.disable.bind(this); ///
120
- return {
121
- enableHTMLTabButton: enableHTMLTabButton,
122
- disableHTMLTabButton: disableHTMLTabButton
123
- };
124
- }
125
- }
126
- ]);
127
- return HTMLTabButton;
128
- }(_tab.default);
129
- _define_property(HTMLTabButton, "defaultProperties", {
130
- className: "html"
131
- });
132
-
133
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9leGFtcGxlL3ZpZXcvYnV0dG9uL3RhYi9odG1sLmpzIl0sInNvdXJjZXNDb250ZW50IjpbIlwidXNlIHN0cmljdFwiO1xuXG5pbXBvcnQgVGFiQnV0dG9uIGZyb20gXCIuLi8uLi9idXR0b24vdGFiXCI7XG5cbmV4cG9ydCBkZWZhdWx0IGNsYXNzIEhUTUxUYWJCdXR0b24gZXh0ZW5kcyBUYWJCdXR0b24ge1xuICBjaGlsZEVsZW1lbnRzKCkge1xuICAgIHJldHVybiBcIkhUTUxcIjtcbiAgfVxuXG4gIHBhcmVudENvbnRleHQoKSB7XG4gICAgY29uc3QgZW5hYmxlSFRNTFRhYkJ1dHRvbiA9IHRoaXMuZW5hYmxlLmJpbmQodGhpcyksIC8vL1xuICAgICAgICAgIG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RCxPQUFRO29CQUNORixxQkFBQUE7b0JBQ0FHLHNCQUFBQTtnQkFDRjtZQUNGOzs7V0FibUJOO0VBQXNCUSxZQUFTO0FBZWxELGlCQWZtQlIsZUFlWlMscUJBQW9CO0lBQ3pCQyxXQUFXO0FBQ2IifQ==
@@ -1,133 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- Object.defineProperty(exports, "default", {
6
- enumerable: true,
7
- get: function() {
8
- return MarkdownTabButton;
9
- }
10
- });
11
- var _tab = /*#__PURE__*/ _interop_require_default(require("../../button/tab"));
12
- function _assert_this_initialized(self) {
13
- if (self === void 0) {
14
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
15
- }
16
- return self;
17
- }
18
- function _call_super(_this, derived, args) {
19
- derived = _get_prototype_of(derived);
20
- return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
21
- }
22
- function _class_call_check(instance, Constructor) {
23
- if (!(instance instanceof Constructor)) {
24
- throw new TypeError("Cannot call a class as a function");
25
- }
26
- }
27
- function _defineProperties(target, props) {
28
- for(var i = 0; i < props.length; i++){
29
- var descriptor = props[i];
30
- descriptor.enumerable = descriptor.enumerable || false;
31
- descriptor.configurable = true;
32
- if ("value" in descriptor) descriptor.writable = true;
33
- Object.defineProperty(target, descriptor.key, descriptor);
34
- }
35
- }
36
- function _create_class(Constructor, protoProps, staticProps) {
37
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
38
- if (staticProps) _defineProperties(Constructor, staticProps);
39
- return Constructor;
40
- }
41
- function _define_property(obj, key, value) {
42
- if (key in obj) {
43
- Object.defineProperty(obj, key, {
44
- value: value,
45
- enumerable: true,
46
- configurable: true,
47
- writable: true
48
- });
49
- } else {
50
- obj[key] = value;
51
- }
52
- return obj;
53
- }
54
- function _get_prototype_of(o) {
55
- _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
56
- return o.__proto__ || Object.getPrototypeOf(o);
57
- };
58
- return _get_prototype_of(o);
59
- }
60
- function _inherits(subClass, superClass) {
61
- if (typeof superClass !== "function" && superClass !== null) {
62
- throw new TypeError("Super expression must either be null or a function");
63
- }
64
- subClass.prototype = Object.create(superClass && superClass.prototype, {
65
- constructor: {
66
- value: subClass,
67
- writable: true,
68
- configurable: true
69
- }
70
- });
71
- if (superClass) _set_prototype_of(subClass, superClass);
72
- }
73
- function _interop_require_default(obj) {
74
- return obj && obj.__esModule ? obj : {
75
- default: obj
76
- };
77
- }
78
- function _possible_constructor_return(self, call) {
79
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
80
- return call;
81
- }
82
- return _assert_this_initialized(self);
83
- }
84
- function _set_prototype_of(o, p) {
85
- _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
86
- o.__proto__ = p;
87
- return o;
88
- };
89
- return _set_prototype_of(o, p);
90
- }
91
- function _type_of(obj) {
92
- "@swc/helpers - typeof";
93
- return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
94
- }
95
- function _is_native_reflect_construct() {
96
- try {
97
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
98
- } catch (_) {}
99
- return (_is_native_reflect_construct = function() {
100
- return !!result;
101
- })();
102
- }
103
- var MarkdownTabButton = /*#__PURE__*/ function(TabButton) {
104
- _inherits(MarkdownTabButton, TabButton);
105
- function MarkdownTabButton() {
106
- _class_call_check(this, MarkdownTabButton);
107
- return _call_super(this, MarkdownTabButton, arguments);
108
- }
109
- _create_class(MarkdownTabButton, [
110
- {
111
- key: "childElements",
112
- value: function childElements() {
113
- return "Markdown";
114
- }
115
- },
116
- {
117
- key: "parentContext",
118
- value: function parentContext() {
119
- var enableMarkdownTabButton = this.enable.bind(this), disableMarkdownTabButton = this.disable.bind(this); ///
120
- return {
121
- enableMarkdownTabButton: enableMarkdownTabButton,
122
- disableMarkdownTabButton: disableMarkdownTabButton
123
- };
124
- }
125
- }
126
- ]);
127
- return MarkdownTabButton;
128
- }(_tab.default);
129
- _define_property(MarkdownTabButton, "defaultProperties", {
130
- className: "markdown"
131
- });
132
-
133
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9leGFtcGxlL3ZpZXcvYnV0dG9uL3RhYi9tYXJrZG93bi5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJcInVzZSBzdHJpY3RcIjtcblxuaW1wb3J0IFRhYkJ1dHRvbiBmcm9tIFwiLi4vLi4vYnV0dG9uL3RhYlwiO1xuXG5leHBvcnQgZGVmYXVsdCBjbGFzcyBNYXJrZG93blRhYkJ1dHRvbiBleHRlbmRzIFRhYkJ1dHRvbiB7XG4gIGNoaWxkRWxlbWVudHMoKSB7XG4gICAgcmV0dXJuIFwiTWFya2Rvd25cIjtcbiAgfVxuXG4gIHBhcmVudENvbnRleHQoKSB7XG4gICAgY29uc3QgZW5hYmxlTWFya2Rvd25UYWJCdXR0b24gPSB0aGlzLmVuYWJsZS5iaW5kKHRoaXMpLCAvLy9cbiAgICAgICAgICBkaXNhYmxlTWFya2Rvd25UYWJCdXR0b24gPSB0aGlzLmRpc2FibGUuYmluZCh0aGlzKTsgLy8vXG5cbiAgICByZXR1cm4gKHtcbiAgICAgIGVuYWJsZU1hcmtkb3duVGFiQnV0dG9uLFxuICAgICAgZGlzYWJsZU1hcmtkb3duVGFiQnV0dG9uXG4gICAgfSk7XG4gIH1cblxuICBzdGF0aWMgZGVmYXVsdFByb3BlcnRpZXMgPSB7XG4gICAgY2xhc3NOYW1lOiBcIm1hcmtkb3duXCJcbiAgfVxufVxuIl0sIm5hbWVzIjpbIk1hcmtkb3duVGFiQnV0dG9uIiwiY2hpbGRFbGVtZW50cyIsInBhcmVudENvbnRleHQiLCJlbmFibGVNYXJrZG93blRhYkJ1dHRvbiIsImVuYWJsZSIsImJpbmQiLCJkaXNhYmxlTWFya2Rvd25UYWJCdXR0b24iLCJkaXNhYmxlIiwiVGFiQnV0dG9uIiwiZGVmYXVsdFByb3BlcnRpZXMiLCJjbGFzc05hbWUiXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7O2VBSXFCQTs7OzBEQUZDOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUVQLElBQUEsQUFBTUEsa0NBQU47Y0FBTUE7YUFBQUE7Z0NBQUFBO1FBQU4sT0FBQSxrQkFBTUE7O2tCQUFBQTs7WUFDbkJDLEtBQUFBO21CQUFBQSxTQUFBQTtnQkFDRSxPQUFPO1lBQ1Q7OztZQUVBQyxLQUFBQTttQkFBQUEsU0FBQUE7Z0JBQ0UsSUFBTUMsMEJBQTBCLElBQUksQ0FBQ0MsTUFBTSxDQUFDQyxJQUFJLENBQUMsSUFBSSxHQUMvQ0MsMkJBQTJCLElBQUksQ0FBQ0MsT0FBTyxDQUFDRixJQUFJLENBQUMsSUFBSSxHQUFHLEdBQUc7Z0JBRTdELE9BQVE7b0JBQ05GLHlCQUFBQTtvQkFDQUcsMEJBQUFBO2dCQUNGO1lBQ0Y7OztXQWJtQk47RUFBMEJRLFlBQVM7QUFldEQsaUJBZm1CUixtQkFlWlMscUJBQW9CO0lBQ3pCQyxXQUFXO0FBQ2IifQ==
@@ -1,133 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- Object.defineProperty(exports, "default", {
6
- enumerable: true,
7
- get: function() {
8
- return MarkdownStyleTabButton;
9
- }
10
- });
11
- var _tab = /*#__PURE__*/ _interop_require_default(require("../../button/tab"));
12
- function _assert_this_initialized(self) {
13
- if (self === void 0) {
14
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
15
- }
16
- return self;
17
- }
18
- function _call_super(_this, derived, args) {
19
- derived = _get_prototype_of(derived);
20
- return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
21
- }
22
- function _class_call_check(instance, Constructor) {
23
- if (!(instance instanceof Constructor)) {
24
- throw new TypeError("Cannot call a class as a function");
25
- }
26
- }
27
- function _defineProperties(target, props) {
28
- for(var i = 0; i < props.length; i++){
29
- var descriptor = props[i];
30
- descriptor.enumerable = descriptor.enumerable || false;
31
- descriptor.configurable = true;
32
- if ("value" in descriptor) descriptor.writable = true;
33
- Object.defineProperty(target, descriptor.key, descriptor);
34
- }
35
- }
36
- function _create_class(Constructor, protoProps, staticProps) {
37
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
38
- if (staticProps) _defineProperties(Constructor, staticProps);
39
- return Constructor;
40
- }
41
- function _define_property(obj, key, value) {
42
- if (key in obj) {
43
- Object.defineProperty(obj, key, {
44
- value: value,
45
- enumerable: true,
46
- configurable: true,
47
- writable: true
48
- });
49
- } else {
50
- obj[key] = value;
51
- }
52
- return obj;
53
- }
54
- function _get_prototype_of(o) {
55
- _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
56
- return o.__proto__ || Object.getPrototypeOf(o);
57
- };
58
- return _get_prototype_of(o);
59
- }
60
- function _inherits(subClass, superClass) {
61
- if (typeof superClass !== "function" && superClass !== null) {
62
- throw new TypeError("Super expression must either be null or a function");
63
- }
64
- subClass.prototype = Object.create(superClass && superClass.prototype, {
65
- constructor: {
66
- value: subClass,
67
- writable: true,
68
- configurable: true
69
- }
70
- });
71
- if (superClass) _set_prototype_of(subClass, superClass);
72
- }
73
- function _interop_require_default(obj) {
74
- return obj && obj.__esModule ? obj : {
75
- default: obj
76
- };
77
- }
78
- function _possible_constructor_return(self, call) {
79
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
80
- return call;
81
- }
82
- return _assert_this_initialized(self);
83
- }
84
- function _set_prototype_of(o, p) {
85
- _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
86
- o.__proto__ = p;
87
- return o;
88
- };
89
- return _set_prototype_of(o, p);
90
- }
91
- function _type_of(obj) {
92
- "@swc/helpers - typeof";
93
- return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
94
- }
95
- function _is_native_reflect_construct() {
96
- try {
97
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
98
- } catch (_) {}
99
- return (_is_native_reflect_construct = function() {
100
- return !!result;
101
- })();
102
- }
103
- var MarkdownStyleTabButton = /*#__PURE__*/ function(TabButton) {
104
- _inherits(MarkdownStyleTabButton, TabButton);
105
- function MarkdownStyleTabButton() {
106
- _class_call_check(this, MarkdownStyleTabButton);
107
- return _call_super(this, MarkdownStyleTabButton, arguments);
108
- }
109
- _create_class(MarkdownStyleTabButton, [
110
- {
111
- key: "childElements",
112
- value: function childElements() {
113
- return "Markdown style";
114
- }
115
- },
116
- {
117
- key: "parentContext",
118
- value: function parentContext() {
119
- var enableMarkdownStyleTabButton = this.enable.bind(this), disableMarkdownStyleTabButton = this.disable.bind(this); ///
120
- return {
121
- enableMarkdownStyleTabButton: enableMarkdownStyleTabButton,
122
- disableMarkdownStyleTabButton: disableMarkdownStyleTabButton
123
- };
124
- }
125
- }
126
- ]);
127
- return MarkdownStyleTabButton;
128
- }(_tab.default);
129
- _define_property(MarkdownStyleTabButton, "defaultProperties", {
130
- className: "markdown-style"
131
- });
132
-
133
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9leGFtcGxlL3ZpZXcvYnV0dG9uL3RhYi9tYXJrZG93blN0eWxlLmpzIl0sInNvdXJjZXNDb250ZW50IjpbIlwidXNlIHN0cmljdFwiO1xuXG5pbXBvcnQgVGFiQ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Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBRVAsSUFBQSxBQUFNQSx1Q0FBTjtjQUFNQTthQUFBQTtnQ0FBQUE7UUFBTixPQUFBLGtCQUFNQTs7a0JBQUFBOztZQUNuQkMsS0FBQUE7bUJBQUFBLFNBQUFBO2dCQUNFLE9BQU87WUFDVDs7O1lBRUFDLEtBQUFBO21CQUFBQSxTQUFBQTtnQkFDRSxJQUFNQywrQkFBK0IsSUFBSSxDQUFDQyxNQUFNLENBQUNDLElBQUksQ0FBQyxJQUFJLEdBQ3BEQyxnQ0FBZ0MsSUFBSSxDQUFDQyxPQUFPLENBQUNGLElBQUksQ0FBQyxJQUFJLEdBQUksR0FBRztnQkFFbkUsT0FBUTtvQkFDTkYsOEJBQUFBO29CQUNBRywrQkFBQUE7Z0JBQ0Y7WUFDRjs7O1dBYm1CTjtFQUErQlEsWUFBUztBQWUzRCxpQkFmbUJSLHdCQWVaUyxxQkFBb0I7SUFDekJDLFdBQVc7QUFDYiJ9
@@ -1,133 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- Object.defineProperty(exports, "default", {
6
- enumerable: true,
7
- get: function() {
8
- return PlainTextTabButton;
9
- }
10
- });
11
- var _tab = /*#__PURE__*/ _interop_require_default(require("../../button/tab"));
12
- function _assert_this_initialized(self) {
13
- if (self === void 0) {
14
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
15
- }
16
- return self;
17
- }
18
- function _call_super(_this, derived, args) {
19
- derived = _get_prototype_of(derived);
20
- return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
21
- }
22
- function _class_call_check(instance, Constructor) {
23
- if (!(instance instanceof Constructor)) {
24
- throw new TypeError("Cannot call a class as a function");
25
- }
26
- }
27
- function _defineProperties(target, props) {
28
- for(var i = 0; i < props.length; i++){
29
- var descriptor = props[i];
30
- descriptor.enumerable = descriptor.enumerable || false;
31
- descriptor.configurable = true;
32
- if ("value" in descriptor) descriptor.writable = true;
33
- Object.defineProperty(target, descriptor.key, descriptor);
34
- }
35
- }
36
- function _create_class(Constructor, protoProps, staticProps) {
37
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
38
- if (staticProps) _defineProperties(Constructor, staticProps);
39
- return Constructor;
40
- }
41
- function _define_property(obj, key, value) {
42
- if (key in obj) {
43
- Object.defineProperty(obj, key, {
44
- value: value,
45
- enumerable: true,
46
- configurable: true,
47
- writable: true
48
- });
49
- } else {
50
- obj[key] = value;
51
- }
52
- return obj;
53
- }
54
- function _get_prototype_of(o) {
55
- _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
56
- return o.__proto__ || Object.getPrototypeOf(o);
57
- };
58
- return _get_prototype_of(o);
59
- }
60
- function _inherits(subClass, superClass) {
61
- if (typeof superClass !== "function" && superClass !== null) {
62
- throw new TypeError("Super expression must either be null or a function");
63
- }
64
- subClass.prototype = Object.create(superClass && superClass.prototype, {
65
- constructor: {
66
- value: subClass,
67
- writable: true,
68
- configurable: true
69
- }
70
- });
71
- if (superClass) _set_prototype_of(subClass, superClass);
72
- }
73
- function _interop_require_default(obj) {
74
- return obj && obj.__esModule ? obj : {
75
- default: obj
76
- };
77
- }
78
- function _possible_constructor_return(self, call) {
79
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
80
- return call;
81
- }
82
- return _assert_this_initialized(self);
83
- }
84
- function _set_prototype_of(o, p) {
85
- _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
86
- o.__proto__ = p;
87
- return o;
88
- };
89
- return _set_prototype_of(o, p);
90
- }
91
- function _type_of(obj) {
92
- "@swc/helpers - typeof";
93
- return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
94
- }
95
- function _is_native_reflect_construct() {
96
- try {
97
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
98
- } catch (_) {}
99
- return (_is_native_reflect_construct = function() {
100
- return !!result;
101
- })();
102
- }
103
- var PlainTextTabButton = /*#__PURE__*/ function(TabButton) {
104
- _inherits(PlainTextTabButton, TabButton);
105
- function PlainTextTabButton() {
106
- _class_call_check(this, PlainTextTabButton);
107
- return _call_super(this, PlainTextTabButton, arguments);
108
- }
109
- _create_class(PlainTextTabButton, [
110
- {
111
- key: "childElements",
112
- value: function childElements() {
113
- return "PlainText";
114
- }
115
- },
116
- {
117
- key: "parentContext",
118
- value: function parentContext() {
119
- var enablePlainTextTabButton = this.enable.bind(this), disablePlainTextTabButton = this.disable.bind(this); ///
120
- return {
121
- enablePlainTextTabButton: enablePlainTextTabButton,
122
- disablePlainTextTabButton: disablePlainTextTabButton
123
- };
124
- }
125
- }
126
- ]);
127
- return PlainTextTabButton;
128
- }(_tab.default);
129
- _define_property(PlainTextTabButton, "defaultProperties", {
130
- className: "plainText"
131
- });
132
-
133
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9leGFtcGxlL3ZpZXcvYnV0dG9uL3RhYi9wbGFpblRleHQuanMiXSwic291cmNlc0NvbnRlbnQiOlsiXCJ1c2Ugc3RyaWN0XCI7XG5cbmltcG9ydCBUYWJCdXR0b24gZnJvbSBcIi4uLy4uL2J1dHRvbi90YWJcIjtcblxuZXhwb3J0IGRlZmF1bHQgY2xhc3MgUGxhaW5UZXh0VGFiQnV0dG9uIGV4dGVuZHMgVGFiQnV0dG9uIHtcbiAgY2hpbGRFbGVtZW50cygpIHtcbiAgICByZXR1cm4gXCJQbGFpblRleHRcIjtcbiAgfVxuXG4gIHBhcmVudENvbnRleHQoKSB7XG4gICAgY29uc3QgZW5hYmxlUGxhaW5UZXh0VGFiQnV0dG9uID0gdGhpcy5lbmFibGUuYmluZCh0aGlzKSwgLy8vXG4g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PLENBQUNGLElBQUksQ0FBQyxJQUFJLEdBQUcsR0FBRztnQkFFOUQsT0FBUTtvQkFDTkYsMEJBQUFBO29CQUNBRywyQkFBQUE7Z0JBQ0Y7WUFDRjs7O1dBYm1CTjtFQUEyQlEsWUFBUztBQWV2RCxpQkFmbUJSLG9CQWVaUyxxQkFBb0I7SUFDekJDLFdBQVc7QUFDYiJ9
@@ -1,133 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- Object.defineProperty(exports, "default", {
6
- enumerable: true,
7
- get: function() {
8
- return PreviewTabButton;
9
- }
10
- });
11
- var _tab = /*#__PURE__*/ _interop_require_default(require("../../button/tab"));
12
- function _assert_this_initialized(self) {
13
- if (self === void 0) {
14
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
15
- }
16
- return self;
17
- }
18
- function _call_super(_this, derived, args) {
19
- derived = _get_prototype_of(derived);
20
- return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
21
- }
22
- function _class_call_check(instance, Constructor) {
23
- if (!(instance instanceof Constructor)) {
24
- throw new TypeError("Cannot call a class as a function");
25
- }
26
- }
27
- function _defineProperties(target, props) {
28
- for(var i = 0; i < props.length; i++){
29
- var descriptor = props[i];
30
- descriptor.enumerable = descriptor.enumerable || false;
31
- descriptor.configurable = true;
32
- if ("value" in descriptor) descriptor.writable = true;
33
- Object.defineProperty(target, descriptor.key, descriptor);
34
- }
35
- }
36
- function _create_class(Constructor, protoProps, staticProps) {
37
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
38
- if (staticProps) _defineProperties(Constructor, staticProps);
39
- return Constructor;
40
- }
41
- function _define_property(obj, key, value) {
42
- if (key in obj) {
43
- Object.defineProperty(obj, key, {
44
- value: value,
45
- enumerable: true,
46
- configurable: true,
47
- writable: true
48
- });
49
- } else {
50
- obj[key] = value;
51
- }
52
- return obj;
53
- }
54
- function _get_prototype_of(o) {
55
- _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
56
- return o.__proto__ || Object.getPrototypeOf(o);
57
- };
58
- return _get_prototype_of(o);
59
- }
60
- function _inherits(subClass, superClass) {
61
- if (typeof superClass !== "function" && superClass !== null) {
62
- throw new TypeError("Super expression must either be null or a function");
63
- }
64
- subClass.prototype = Object.create(superClass && superClass.prototype, {
65
- constructor: {
66
- value: subClass,
67
- writable: true,
68
- configurable: true
69
- }
70
- });
71
- if (superClass) _set_prototype_of(subClass, superClass);
72
- }
73
- function _interop_require_default(obj) {
74
- return obj && obj.__esModule ? obj : {
75
- default: obj
76
- };
77
- }
78
- function _possible_constructor_return(self, call) {
79
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
80
- return call;
81
- }
82
- return _assert_this_initialized(self);
83
- }
84
- function _set_prototype_of(o, p) {
85
- _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
86
- o.__proto__ = p;
87
- return o;
88
- };
89
- return _set_prototype_of(o, p);
90
- }
91
- function _type_of(obj) {
92
- "@swc/helpers - typeof";
93
- return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
94
- }
95
- function _is_native_reflect_construct() {
96
- try {
97
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
98
- } catch (_) {}
99
- return (_is_native_reflect_construct = function() {
100
- return !!result;
101
- })();
102
- }
103
- var PreviewTabButton = /*#__PURE__*/ function(TabButton) {
104
- _inherits(PreviewTabButton, TabButton);
105
- function PreviewTabButton() {
106
- _class_call_check(this, PreviewTabButton);
107
- return _call_super(this, PreviewTabButton, arguments);
108
- }
109
- _create_class(PreviewTabButton, [
110
- {
111
- key: "childElements",
112
- value: function childElements() {
113
- return "Preview";
114
- }
115
- },
116
- {
117
- key: "parentContext",
118
- value: function parentContext() {
119
- var enablePreviewTabButton = this.enable.bind(this), disablePreviewTabButton = this.disable.bind(this); ///
120
- return {
121
- enablePreviewTabButton: enablePreviewTabButton,
122
- disablePreviewTabButton: disablePreviewTabButton
123
- };
124
- }
125
- }
126
- ]);
127
- return PreviewTabButton;
128
- }(_tab.default);
129
- _define_property(PreviewTabButton, "defaultProperties", {
130
- className: "preview"
131
- });
132
-
133
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9leGFtcGxlL3ZpZXcvYnV0dG9uL3RhYi9wcmV2aWV3LmpzIl0sInNvdXJjZXNDb250ZW50IjpbIlwidXNlIHN0cmljdFwiO1xuXG5pbXBvcnQgVGFiQnV0dG9uIGZyb20gXCIuLi8uLi9idXR0b24vdGFiXCI7XG5cbmV4cG9ydCBkZWZhdWx0IGNsYXNzIFByZXZpZXdUYWJCdXR0b24gZXh0ZW5kcyBUYWJCdXR0b24ge1xuICBjaGlsZEVsZW1lbnRzKCkge1xuICAgIHJldHVybiBcIlByZXZpZXdcIjtcbiAgfVxuXG4gIHBhcmVudENvbnRleHQoKSB7XG4gICAgY29uc3QgZW5hYmxlUHJldmlld1RhYkJ1dHRvbiA9IHRoaXMuZW5hYmxlLmJpbmQodGhpcyksIC8vL1xuICAgICAgICAgIGRpc2FibGVQcmV2aWV3VGFiQnV0dG9uID0gdGhpcy5kaXNhYmxlLmJpbmQodGhpcyk7IC8vL1xuXG4gICAgcmV0dXJuICh7XG4gICAgICBlbmFibGVQcmV2aWV3VGFiQnV0dG9uLFxuICAgICAgZGlzYWJsZVByZXZpZXdUYWJCdXR0b25cbiAgICB9KTtcbiAgfVxuXG4gIHN0YXRpYyBkZWZhdWx0UHJvcGVydGllcyA9IHtcbiAgICBjbGFzc05hbWU6IFwicHJldmlld1wiXG4gIH1cbn1cbiJdLCJuYW1lcyI6WyJQcmV2aWV3VGFiQnV0dG9uIiwiY2hpbGRFbGVtZW50cyIsInBhcmVudENvbnRleHQiLCJlbmFibGVQcmV2aWV3VGFiQnV0dG9u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