@noma.to/qwik-testing-library 1.2.0 → 1.3.1
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.
- package/README.md +4 -3
- package/lib/lib/mock.qwik.cjs +3 -3
- package/lib/lib/mock.qwik.mjs +1 -1
- package/lib/lib/qwik-testing-library.qwik.cjs +2 -2
- package/lib/lib/qwik-testing-library.qwik.mjs +3 -3
- package/lib/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.qwik.cjs +89 -0
- package/lib/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.qwik.mjs +89 -0
- package/lib/node_modules/.pnpm/{@vitest_expect@2.1.1 → @vitest_expect@3.0.5}/node_modules/@vitest/expect/dist/index.qwik.cjs +321 -97
- package/lib/node_modules/.pnpm/{@vitest_expect@2.1.1 → @vitest_expect@3.0.5}/node_modules/@vitest/expect/dist/index.qwik.mjs +318 -94
- package/lib/node_modules/.pnpm/{@vitest_pretty-format@2.1.1 → @vitest_pretty-format@3.0.5}/node_modules/@vitest/pretty-format/dist/index.qwik.cjs +312 -15
- package/lib/node_modules/.pnpm/{@vitest_pretty-format@2.1.1 → @vitest_pretty-format@3.0.5}/node_modules/@vitest/pretty-format/dist/index.qwik.mjs +317 -20
- package/lib/node_modules/.pnpm/{@vitest_runner@2.1.1 → @vitest_runner@3.0.5}/node_modules/@vitest/runner/dist/chunk-tasks.qwik.cjs +2 -2
- package/lib/node_modules/.pnpm/{@vitest_runner@2.1.1 → @vitest_runner@3.0.5}/node_modules/@vitest/runner/dist/chunk-tasks.qwik.mjs +2 -2
- package/lib/node_modules/.pnpm/{@vitest_runner@2.1.1 → @vitest_runner@3.0.5}/node_modules/@vitest/runner/dist/index.qwik.cjs +161 -69
- package/lib/node_modules/.pnpm/{@vitest_runner@2.1.1 → @vitest_runner@3.0.5}/node_modules/@vitest/runner/dist/index.qwik.mjs +158 -66
- package/lib/node_modules/.pnpm/{@vitest_snapshot@2.1.1 → @vitest_snapshot@3.0.5}/node_modules/@vitest/snapshot/dist/index.qwik.cjs +976 -538
- package/lib/node_modules/.pnpm/{@vitest_snapshot@2.1.1 → @vitest_snapshot@3.0.5}/node_modules/@vitest/snapshot/dist/index.qwik.mjs +976 -538
- package/lib/node_modules/.pnpm/{@vitest_spy@2.1.1 → @vitest_spy@3.0.5}/node_modules/@vitest/spy/dist/index.qwik.cjs +20 -3
- package/lib/node_modules/.pnpm/{@vitest_spy@2.1.1 → @vitest_spy@3.0.5}/node_modules/@vitest/spy/dist/index.qwik.mjs +20 -3
- package/lib/node_modules/.pnpm/{@vitest_utils@2.1.1/node_modules/@vitest/utils/dist/chunk-display.qwik.cjs → @vitest_utils@3.0.5/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.qwik.cjs} +7 -3
- package/lib/node_modules/.pnpm/{@vitest_utils@2.1.1/node_modules/@vitest/utils/dist/chunk-display.qwik.mjs → @vitest_utils@3.0.5/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.qwik.mjs} +7 -3
- package/lib/node_modules/.pnpm/{@vitest_utils@2.1.1 → @vitest_utils@3.0.5}/node_modules/@vitest/utils/dist/diff.qwik.cjs +491 -467
- package/lib/node_modules/.pnpm/{@vitest_utils@2.1.1 → @vitest_utils@3.0.5}/node_modules/@vitest/utils/dist/diff.qwik.mjs +491 -467
- package/lib/node_modules/.pnpm/{@vitest_utils@2.1.1 → @vitest_utils@3.0.5}/node_modules/@vitest/utils/dist/error.qwik.cjs +6 -6
- package/lib/node_modules/.pnpm/{@vitest_utils@2.1.1 → @vitest_utils@3.0.5}/node_modules/@vitest/utils/dist/error.qwik.mjs +3 -3
- package/lib/node_modules/.pnpm/@vitest_utils@3.0.5/node_modules/@vitest/utils/dist/index.qwik.cjs +474 -0
- package/lib/node_modules/.pnpm/@vitest_utils@3.0.5/node_modules/@vitest/utils/dist/index.qwik.mjs +474 -0
- package/lib/node_modules/.pnpm/{@vitest_utils@2.1.1 → @vitest_utils@3.0.5}/node_modules/@vitest/utils/dist/source-map.qwik.cjs +20 -20
- package/lib/node_modules/.pnpm/{@vitest_utils@2.1.1 → @vitest_utils@3.0.5}/node_modules/@vitest/utils/dist/source-map.qwik.mjs +20 -20
- package/lib/node_modules/.pnpm/{chai@5.1.1 → chai@5.1.2}/node_modules/chai/chai.qwik.cjs +71 -39
- package/lib/node_modules/.pnpm/{chai@5.1.1 → chai@5.1.2}/node_modules/chai/chai.qwik.mjs +71 -39
- package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/error.qwik.cjs +7 -1
- package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/error.qwik.mjs +7 -1
- package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/index.qwik.mjs +6 -6
- package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/map.qwik.cjs +1 -3
- package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/map.qwik.mjs +1 -3
- package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/object.qwik.cjs +1 -1
- package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/object.qwik.mjs +1 -1
- package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/string.qwik.cjs +1 -2
- package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/string.qwik.mjs +1 -2
- package/lib/node_modules/.pnpm/{magic-string@0.30.11 → magic-string@0.30.17}/node_modules/magic-string/dist/magic-string.es.qwik.cjs +44 -33
- package/lib/node_modules/.pnpm/{magic-string@0.30.11 → magic-string@0.30.17}/node_modules/magic-string/dist/magic-string.es.qwik.mjs +44 -33
- package/lib/node_modules/.pnpm/{pathe@1.1.2/node_modules/pathe/dist/shared/pathe.ff20891b.qwik.cjs → pathe@2.0.2/node_modules/pathe/dist/shared/pathe.UZ-hd4nF.qwik.cjs} +2 -2
- package/lib/node_modules/.pnpm/{pathe@1.1.2/node_modules/pathe/dist/shared/pathe.ff20891b.qwik.mjs → pathe@2.0.2/node_modules/pathe/dist/shared/pathe.UZ-hd4nF.qwik.mjs} +2 -2
- package/lib/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/browser.qwik.cjs +4 -0
- package/lib/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/browser.qwik.mjs +5 -0
- package/lib/node_modules/.pnpm/vitest@3.0.5_@types_node@22.13.1_@vitest_ui@3.0.5_jiti@2.4.2_jsdom@26.0.0/node_modules/vitest/dist/chunks/utils.C8RiOc4B.qwik.cjs +66 -0
- package/lib/node_modules/.pnpm/vitest@3.0.5_@types_node@22.13.1_@vitest_ui@3.0.5_jiti@2.4.2_jsdom@26.0.0/node_modules/vitest/dist/chunks/utils.C8RiOc4B.qwik.mjs +66 -0
- package/lib/node_modules/.pnpm/vitest@3.0.5_@types_node@22.13.1_@vitest_ui@3.0.5_jiti@2.4.2_jsdom@26.0.0/node_modules/vitest/dist/chunks/vi.CjhMlMwf.qwik.cjs +2977 -0
- package/lib/node_modules/.pnpm/vitest@3.0.5_@types_node@22.13.1_@vitest_ui@3.0.5_jiti@2.4.2_jsdom@26.0.0/node_modules/vitest/dist/chunks/vi.CjhMlMwf.qwik.mjs +2977 -0
- package/package.json +13 -13
- package/lib/_virtual/_commonjsHelpers.qwik.cjs +0 -4
- package/lib/_virtual/_commonjsHelpers.qwik.mjs +0 -4
- package/lib/_virtual/sourcemap-codec.umd.qwik.cjs +0 -4
- package/lib/_virtual/sourcemap-codec.umd.qwik.mjs +0 -4
- package/lib/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.qwik.cjs +0 -425
- package/lib/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.qwik.mjs +0 -425
- package/lib/node_modules/.pnpm/@vitest_utils@2.1.1/node_modules/@vitest/utils/dist/index.qwik.cjs +0 -81
- package/lib/node_modules/.pnpm/@vitest_utils@2.1.1/node_modules/@vitest/utils/dist/index.qwik.mjs +0 -81
- package/lib/node_modules/.pnpm/tinyrainbow@1.2.0/node_modules/tinyrainbow/dist/browser.qwik.cjs +0 -7
- package/lib/node_modules/.pnpm/tinyrainbow@1.2.0/node_modules/tinyrainbow/dist/browser.qwik.mjs +0 -8
- package/lib/node_modules/.pnpm/vitest@2.1.1_@types_node@22.7.4_@vitest_ui@2.1.1_jsdom@25.0.1/node_modules/vitest/dist/chunks/base.BlXpj3e_.qwik.cjs +0 -6
- package/lib/node_modules/.pnpm/vitest@2.1.1_@types_node@22.7.4_@vitest_ui@2.1.1_jsdom@25.0.1/node_modules/vitest/dist/chunks/base.BlXpj3e_.qwik.mjs +0 -6
- package/lib/node_modules/.pnpm/vitest@2.1.1_@types_node@22.7.4_@vitest_ui@2.1.1_jsdom@25.0.1/node_modules/vitest/dist/chunks/utils.Ck2hJTRs.qwik.cjs +0 -16
- package/lib/node_modules/.pnpm/vitest@2.1.1_@types_node@22.7.4_@vitest_ui@2.1.1_jsdom@25.0.1/node_modules/vitest/dist/chunks/utils.Ck2hJTRs.qwik.mjs +0 -16
- package/lib/node_modules/.pnpm/vitest@2.1.1_@types_node@22.7.4_@vitest_ui@2.1.1_jsdom@25.0.1/node_modules/vitest/dist/chunks/vi.D6IHiKAI.qwik.cjs +0 -2556
- package/lib/node_modules/.pnpm/vitest@2.1.1_@types_node@22.7.4_@vitest_ui@2.1.1_jsdom@25.0.1/node_modules/vitest/dist/chunks/vi.D6IHiKAI.qwik.mjs +0 -2556
- /package/lib/node_modules/.pnpm/{@vitest_utils@2.1.1 → @vitest_utils@3.0.5}/node_modules/@vitest/utils/dist/helpers.qwik.cjs +0 -0
- /package/lib/node_modules/.pnpm/{@vitest_utils@2.1.1 → @vitest_utils@3.0.5}/node_modules/@vitest/utils/dist/helpers.qwik.mjs +0 -0
- /package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/arguments.qwik.cjs +0 -0
- /package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/arguments.qwik.mjs +0 -0
- /package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/array.qwik.cjs +0 -0
- /package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/array.qwik.mjs +0 -0
- /package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/bigint.qwik.cjs +0 -0
- /package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/bigint.qwik.mjs +0 -0
- /package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/class.qwik.cjs +0 -0
- /package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/class.qwik.mjs +0 -0
- /package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/date.qwik.cjs +0 -0
- /package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/date.qwik.mjs +0 -0
- /package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/function.qwik.cjs +0 -0
- /package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/function.qwik.mjs +0 -0
- /package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/helpers.qwik.cjs +0 -0
- /package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/helpers.qwik.mjs +0 -0
- /package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/html.qwik.cjs +0 -0
- /package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/html.qwik.mjs +0 -0
- /package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/index.qwik.cjs +0 -0
- /package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/number.qwik.cjs +0 -0
- /package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/number.qwik.mjs +0 -0
- /package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/promise.qwik.cjs +0 -0
- /package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/promise.qwik.mjs +0 -0
- /package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/regexp.qwik.cjs +0 -0
- /package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/regexp.qwik.mjs +0 -0
- /package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/set.qwik.cjs +0 -0
- /package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/set.qwik.mjs +0 -0
- /package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/symbol.qwik.cjs +0 -0
- /package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/symbol.qwik.mjs +0 -0
- /package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/typedarray.qwik.cjs +0 -0
- /package/lib/node_modules/.pnpm/{loupe@3.1.1 → loupe@3.1.3}/node_modules/loupe/lib/typedarray.qwik.mjs +0 -0
- /package/lib/node_modules/.pnpm/{tinyrainbow@1.2.0 → tinyrainbow@2.0.0}/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.qwik.cjs +0 -0
- /package/lib/node_modules/.pnpm/{tinyrainbow@1.2.0 → tinyrainbow@2.0.0}/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.qwik.mjs +0 -0
- /package/lib/node_modules/.pnpm/{vitest@2.1.1_@types_node@22.7.4_@vitest_ui@2.1.1_jsdom@25.0.1 → vitest@3.0.5_@types_node@22.13.1_@vitest_ui@3.0.5_jiti@2.4.2_jsdom@26.0.0}/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.qwik.cjs +0 -0
- /package/lib/node_modules/.pnpm/{vitest@2.1.1_@types_node@22.7.4_@vitest_ui@2.1.1_jsdom@25.0.1 → vitest@3.0.5_@types_node@22.13.1_@vitest_ui@3.0.5_jiti@2.4.2_jsdom@26.0.0}/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.qwik.mjs +0 -0
- /package/lib/node_modules/.pnpm/{vitest@2.1.1_@types_node@22.7.4_@vitest_ui@2.1.1_jsdom@25.0.1 → vitest@3.0.5_@types_node@22.13.1_@vitest_ui@3.0.5_jiti@2.4.2_jsdom@26.0.0}/node_modules/vitest/dist/chunks/date.W2xKR2qe.qwik.cjs +0 -0
- /package/lib/node_modules/.pnpm/{vitest@2.1.1_@types_node@22.7.4_@vitest_ui@2.1.1_jsdom@25.0.1 → vitest@3.0.5_@types_node@22.13.1_@vitest_ui@3.0.5_jiti@2.4.2_jsdom@26.0.0}/node_modules/vitest/dist/chunks/date.W2xKR2qe.qwik.mjs +0 -0
|
@@ -1,4 +1,20 @@
|
|
|
1
|
-
import
|
|
1
|
+
import s from "../../../../../tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/browser.qwik.mjs";
|
|
2
|
+
function _mergeNamespaces(n, m) {
|
|
3
|
+
m.forEach(function(e) {
|
|
4
|
+
e && typeof e !== "string" && !Array.isArray(e) && Object.keys(e).forEach(function(k) {
|
|
5
|
+
if (k !== "default" && !(k in n)) {
|
|
6
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
7
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function() {
|
|
10
|
+
return e[k];
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
return Object.freeze(n);
|
|
17
|
+
}
|
|
2
18
|
function getKeysOfEnumerableProperties(object, compareKeys) {
|
|
3
19
|
const rawKeys = Object.keys(object);
|
|
4
20
|
const keys = compareKeys === null ? rawKeys : rawKeys.sort(compareKeys);
|
|
@@ -456,6 +472,229 @@ const serialize$2 = (val, config, indentation, depth, refs, printer2) => {
|
|
|
456
472
|
};
|
|
457
473
|
const test$2 = (val) => val && (val[IS_ITERABLE_SENTINEL] === true || val[IS_RECORD_SENTINEL] === true);
|
|
458
474
|
const plugin$2 = { serialize: serialize$2, test: test$2 };
|
|
475
|
+
function getDefaultExportFromCjs(x) {
|
|
476
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
477
|
+
}
|
|
478
|
+
var reactIs$1 = { exports: {} };
|
|
479
|
+
var reactIs_production = {};
|
|
480
|
+
/**
|
|
481
|
+
* @license React
|
|
482
|
+
* react-is.production.js
|
|
483
|
+
*
|
|
484
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
485
|
+
*
|
|
486
|
+
* This source code is licensed under the MIT license found in the
|
|
487
|
+
* LICENSE file in the root directory of this source tree.
|
|
488
|
+
*/
|
|
489
|
+
var hasRequiredReactIs_production;
|
|
490
|
+
function requireReactIs_production() {
|
|
491
|
+
if (hasRequiredReactIs_production) return reactIs_production;
|
|
492
|
+
hasRequiredReactIs_production = 1;
|
|
493
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
|
494
|
+
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
|
|
495
|
+
function typeOf(object) {
|
|
496
|
+
if ("object" === typeof object && null !== object) {
|
|
497
|
+
var $$typeof = object.$$typeof;
|
|
498
|
+
switch ($$typeof) {
|
|
499
|
+
case REACT_ELEMENT_TYPE:
|
|
500
|
+
switch (object = object.type, object) {
|
|
501
|
+
case REACT_FRAGMENT_TYPE:
|
|
502
|
+
case REACT_PROFILER_TYPE:
|
|
503
|
+
case REACT_STRICT_MODE_TYPE:
|
|
504
|
+
case REACT_SUSPENSE_TYPE:
|
|
505
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
|
506
|
+
return object;
|
|
507
|
+
default:
|
|
508
|
+
switch (object = object && object.$$typeof, object) {
|
|
509
|
+
case REACT_CONTEXT_TYPE:
|
|
510
|
+
case REACT_FORWARD_REF_TYPE:
|
|
511
|
+
case REACT_LAZY_TYPE:
|
|
512
|
+
case REACT_MEMO_TYPE:
|
|
513
|
+
return object;
|
|
514
|
+
case REACT_CONSUMER_TYPE:
|
|
515
|
+
return object;
|
|
516
|
+
default:
|
|
517
|
+
return $$typeof;
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
case REACT_PORTAL_TYPE:
|
|
521
|
+
return $$typeof;
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
reactIs_production.ContextConsumer = REACT_CONSUMER_TYPE;
|
|
526
|
+
reactIs_production.ContextProvider = REACT_CONTEXT_TYPE;
|
|
527
|
+
reactIs_production.Element = REACT_ELEMENT_TYPE;
|
|
528
|
+
reactIs_production.ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
529
|
+
reactIs_production.Fragment = REACT_FRAGMENT_TYPE;
|
|
530
|
+
reactIs_production.Lazy = REACT_LAZY_TYPE;
|
|
531
|
+
reactIs_production.Memo = REACT_MEMO_TYPE;
|
|
532
|
+
reactIs_production.Portal = REACT_PORTAL_TYPE;
|
|
533
|
+
reactIs_production.Profiler = REACT_PROFILER_TYPE;
|
|
534
|
+
reactIs_production.StrictMode = REACT_STRICT_MODE_TYPE;
|
|
535
|
+
reactIs_production.Suspense = REACT_SUSPENSE_TYPE;
|
|
536
|
+
reactIs_production.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
|
|
537
|
+
reactIs_production.isContextConsumer = function(object) {
|
|
538
|
+
return typeOf(object) === REACT_CONSUMER_TYPE;
|
|
539
|
+
};
|
|
540
|
+
reactIs_production.isContextProvider = function(object) {
|
|
541
|
+
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
542
|
+
};
|
|
543
|
+
reactIs_production.isElement = function(object) {
|
|
544
|
+
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
545
|
+
};
|
|
546
|
+
reactIs_production.isForwardRef = function(object) {
|
|
547
|
+
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
548
|
+
};
|
|
549
|
+
reactIs_production.isFragment = function(object) {
|
|
550
|
+
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
551
|
+
};
|
|
552
|
+
reactIs_production.isLazy = function(object) {
|
|
553
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
|
554
|
+
};
|
|
555
|
+
reactIs_production.isMemo = function(object) {
|
|
556
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
|
557
|
+
};
|
|
558
|
+
reactIs_production.isPortal = function(object) {
|
|
559
|
+
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
560
|
+
};
|
|
561
|
+
reactIs_production.isProfiler = function(object) {
|
|
562
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
563
|
+
};
|
|
564
|
+
reactIs_production.isStrictMode = function(object) {
|
|
565
|
+
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
566
|
+
};
|
|
567
|
+
reactIs_production.isSuspense = function(object) {
|
|
568
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
569
|
+
};
|
|
570
|
+
reactIs_production.isSuspenseList = function(object) {
|
|
571
|
+
return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
|
|
572
|
+
};
|
|
573
|
+
reactIs_production.isValidElementType = function(type) {
|
|
574
|
+
return "string" === typeof type || "function" === typeof type || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || type === REACT_OFFSCREEN_TYPE || "object" === typeof type && null !== type && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_CONSUMER_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_CLIENT_REFERENCE || void 0 !== type.getModuleId) ? true : false;
|
|
575
|
+
};
|
|
576
|
+
reactIs_production.typeOf = typeOf;
|
|
577
|
+
return reactIs_production;
|
|
578
|
+
}
|
|
579
|
+
var reactIs_development$1 = {};
|
|
580
|
+
/**
|
|
581
|
+
* @license React
|
|
582
|
+
* react-is.development.js
|
|
583
|
+
*
|
|
584
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
585
|
+
*
|
|
586
|
+
* This source code is licensed under the MIT license found in the
|
|
587
|
+
* LICENSE file in the root directory of this source tree.
|
|
588
|
+
*/
|
|
589
|
+
var hasRequiredReactIs_development$1;
|
|
590
|
+
function requireReactIs_development$1() {
|
|
591
|
+
if (hasRequiredReactIs_development$1) return reactIs_development$1;
|
|
592
|
+
hasRequiredReactIs_development$1 = 1;
|
|
593
|
+
"production" !== process.env.NODE_ENV && function() {
|
|
594
|
+
function typeOf(object) {
|
|
595
|
+
if ("object" === typeof object && null !== object) {
|
|
596
|
+
var $$typeof = object.$$typeof;
|
|
597
|
+
switch ($$typeof) {
|
|
598
|
+
case REACT_ELEMENT_TYPE:
|
|
599
|
+
switch (object = object.type, object) {
|
|
600
|
+
case REACT_FRAGMENT_TYPE:
|
|
601
|
+
case REACT_PROFILER_TYPE:
|
|
602
|
+
case REACT_STRICT_MODE_TYPE:
|
|
603
|
+
case REACT_SUSPENSE_TYPE:
|
|
604
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
|
605
|
+
return object;
|
|
606
|
+
default:
|
|
607
|
+
switch (object = object && object.$$typeof, object) {
|
|
608
|
+
case REACT_CONTEXT_TYPE:
|
|
609
|
+
case REACT_FORWARD_REF_TYPE:
|
|
610
|
+
case REACT_LAZY_TYPE:
|
|
611
|
+
case REACT_MEMO_TYPE:
|
|
612
|
+
return object;
|
|
613
|
+
case REACT_CONSUMER_TYPE:
|
|
614
|
+
return object;
|
|
615
|
+
default:
|
|
616
|
+
return $$typeof;
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
case REACT_PORTAL_TYPE:
|
|
620
|
+
return $$typeof;
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
|
625
|
+
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
|
|
626
|
+
reactIs_development$1.ContextConsumer = REACT_CONSUMER_TYPE;
|
|
627
|
+
reactIs_development$1.ContextProvider = REACT_CONTEXT_TYPE;
|
|
628
|
+
reactIs_development$1.Element = REACT_ELEMENT_TYPE;
|
|
629
|
+
reactIs_development$1.ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
630
|
+
reactIs_development$1.Fragment = REACT_FRAGMENT_TYPE;
|
|
631
|
+
reactIs_development$1.Lazy = REACT_LAZY_TYPE;
|
|
632
|
+
reactIs_development$1.Memo = REACT_MEMO_TYPE;
|
|
633
|
+
reactIs_development$1.Portal = REACT_PORTAL_TYPE;
|
|
634
|
+
reactIs_development$1.Profiler = REACT_PROFILER_TYPE;
|
|
635
|
+
reactIs_development$1.StrictMode = REACT_STRICT_MODE_TYPE;
|
|
636
|
+
reactIs_development$1.Suspense = REACT_SUSPENSE_TYPE;
|
|
637
|
+
reactIs_development$1.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
|
|
638
|
+
reactIs_development$1.isContextConsumer = function(object) {
|
|
639
|
+
return typeOf(object) === REACT_CONSUMER_TYPE;
|
|
640
|
+
};
|
|
641
|
+
reactIs_development$1.isContextProvider = function(object) {
|
|
642
|
+
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
643
|
+
};
|
|
644
|
+
reactIs_development$1.isElement = function(object) {
|
|
645
|
+
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
646
|
+
};
|
|
647
|
+
reactIs_development$1.isForwardRef = function(object) {
|
|
648
|
+
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
649
|
+
};
|
|
650
|
+
reactIs_development$1.isFragment = function(object) {
|
|
651
|
+
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
652
|
+
};
|
|
653
|
+
reactIs_development$1.isLazy = function(object) {
|
|
654
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
|
655
|
+
};
|
|
656
|
+
reactIs_development$1.isMemo = function(object) {
|
|
657
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
|
658
|
+
};
|
|
659
|
+
reactIs_development$1.isPortal = function(object) {
|
|
660
|
+
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
661
|
+
};
|
|
662
|
+
reactIs_development$1.isProfiler = function(object) {
|
|
663
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
664
|
+
};
|
|
665
|
+
reactIs_development$1.isStrictMode = function(object) {
|
|
666
|
+
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
667
|
+
};
|
|
668
|
+
reactIs_development$1.isSuspense = function(object) {
|
|
669
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
670
|
+
};
|
|
671
|
+
reactIs_development$1.isSuspenseList = function(object) {
|
|
672
|
+
return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
|
|
673
|
+
};
|
|
674
|
+
reactIs_development$1.isValidElementType = function(type) {
|
|
675
|
+
return "string" === typeof type || "function" === typeof type || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || type === REACT_OFFSCREEN_TYPE || "object" === typeof type && null !== type && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_CONSUMER_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_CLIENT_REFERENCE || void 0 !== type.getModuleId) ? true : false;
|
|
676
|
+
};
|
|
677
|
+
reactIs_development$1.typeOf = typeOf;
|
|
678
|
+
}();
|
|
679
|
+
return reactIs_development$1;
|
|
680
|
+
}
|
|
681
|
+
var hasRequiredReactIs$1;
|
|
682
|
+
function requireReactIs$1() {
|
|
683
|
+
if (hasRequiredReactIs$1) return reactIs$1.exports;
|
|
684
|
+
hasRequiredReactIs$1 = 1;
|
|
685
|
+
if (process.env.NODE_ENV === "production") {
|
|
686
|
+
reactIs$1.exports = requireReactIs_production();
|
|
687
|
+
} else {
|
|
688
|
+
reactIs$1.exports = requireReactIs_development$1();
|
|
689
|
+
}
|
|
690
|
+
return reactIs$1.exports;
|
|
691
|
+
}
|
|
692
|
+
var reactIsExports$1 = /* @__PURE__ */ requireReactIs$1();
|
|
693
|
+
var index$1 = /* @__PURE__ */ getDefaultExportFromCjs(reactIsExports$1);
|
|
694
|
+
var ReactIs19 = /* @__PURE__ */ _mergeNamespaces({
|
|
695
|
+
__proto__: null,
|
|
696
|
+
default: index$1
|
|
697
|
+
}, [reactIsExports$1]);
|
|
459
698
|
var reactIs = { exports: {} };
|
|
460
699
|
var reactIs_production_min = {};
|
|
461
700
|
/**
|
|
@@ -471,7 +710,7 @@ var hasRequiredReactIs_production_min;
|
|
|
471
710
|
function requireReactIs_production_min() {
|
|
472
711
|
if (hasRequiredReactIs_production_min) return reactIs_production_min;
|
|
473
712
|
hasRequiredReactIs_production_min = 1;
|
|
474
|
-
var b = Symbol.for("react.element"), c = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), e = Symbol.for("react.strict_mode"),
|
|
713
|
+
var b = Symbol.for("react.element"), c = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), e = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), h = Symbol.for("react.context"), k = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), q = Symbol.for("react.lazy"), t = Symbol.for("react.offscreen"), u;
|
|
475
714
|
u = Symbol.for("react.module.reference");
|
|
476
715
|
function v(a) {
|
|
477
716
|
if ("object" === typeof a && null !== a) {
|
|
@@ -480,7 +719,7 @@ function requireReactIs_production_min() {
|
|
|
480
719
|
case b:
|
|
481
720
|
switch (a = a.type, a) {
|
|
482
721
|
case d:
|
|
483
|
-
case
|
|
722
|
+
case f:
|
|
484
723
|
case e:
|
|
485
724
|
case m:
|
|
486
725
|
case n:
|
|
@@ -511,7 +750,7 @@ function requireReactIs_production_min() {
|
|
|
511
750
|
reactIs_production_min.Lazy = q;
|
|
512
751
|
reactIs_production_min.Memo = p;
|
|
513
752
|
reactIs_production_min.Portal = c;
|
|
514
|
-
reactIs_production_min.Profiler =
|
|
753
|
+
reactIs_production_min.Profiler = f;
|
|
515
754
|
reactIs_production_min.StrictMode = e;
|
|
516
755
|
reactIs_production_min.Suspense = m;
|
|
517
756
|
reactIs_production_min.SuspenseList = n;
|
|
@@ -546,7 +785,7 @@ function requireReactIs_production_min() {
|
|
|
546
785
|
return v(a) === c;
|
|
547
786
|
};
|
|
548
787
|
reactIs_production_min.isProfiler = function(a) {
|
|
549
|
-
return v(a) ===
|
|
788
|
+
return v(a) === f;
|
|
550
789
|
};
|
|
551
790
|
reactIs_production_min.isStrictMode = function(a) {
|
|
552
791
|
return v(a) === e;
|
|
@@ -558,7 +797,7 @@ function requireReactIs_production_min() {
|
|
|
558
797
|
return v(a) === n;
|
|
559
798
|
};
|
|
560
799
|
reactIs_production_min.isValidElementType = function(a) {
|
|
561
|
-
return "string" === typeof a || "function" === typeof a || a === d || a ===
|
|
800
|
+
return "string" === typeof a || "function" === typeof a || a === d || a === f || a === e || a === m || a === n || a === t || "object" === typeof a && null !== a && (a.$$typeof === q || a.$$typeof === p || a.$$typeof === g || a.$$typeof === h || a.$$typeof === l || a.$$typeof === u || void 0 !== a.getModuleId) ? true : false;
|
|
562
801
|
};
|
|
563
802
|
reactIs_production_min.typeOf = v;
|
|
564
803
|
return reactIs_production_min;
|
|
@@ -753,12 +992,43 @@ function requireReactIs_development() {
|
|
|
753
992
|
}
|
|
754
993
|
return reactIs_development;
|
|
755
994
|
}
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
995
|
+
var hasRequiredReactIs;
|
|
996
|
+
function requireReactIs() {
|
|
997
|
+
if (hasRequiredReactIs) return reactIs.exports;
|
|
998
|
+
hasRequiredReactIs = 1;
|
|
999
|
+
if (process.env.NODE_ENV === "production") {
|
|
1000
|
+
reactIs.exports = requireReactIs_production_min();
|
|
1001
|
+
} else {
|
|
1002
|
+
reactIs.exports = requireReactIs_development();
|
|
1003
|
+
}
|
|
1004
|
+
return reactIs.exports;
|
|
760
1005
|
}
|
|
761
|
-
var reactIsExports =
|
|
1006
|
+
var reactIsExports = requireReactIs();
|
|
1007
|
+
var index = /* @__PURE__ */ getDefaultExportFromCjs(reactIsExports);
|
|
1008
|
+
var ReactIs18 = /* @__PURE__ */ _mergeNamespaces({
|
|
1009
|
+
__proto__: null,
|
|
1010
|
+
default: index
|
|
1011
|
+
}, [reactIsExports]);
|
|
1012
|
+
const reactIsMethods = [
|
|
1013
|
+
"isAsyncMode",
|
|
1014
|
+
"isConcurrentMode",
|
|
1015
|
+
"isContextConsumer",
|
|
1016
|
+
"isContextProvider",
|
|
1017
|
+
"isElement",
|
|
1018
|
+
"isForwardRef",
|
|
1019
|
+
"isFragment",
|
|
1020
|
+
"isLazy",
|
|
1021
|
+
"isMemo",
|
|
1022
|
+
"isPortal",
|
|
1023
|
+
"isProfiler",
|
|
1024
|
+
"isStrictMode",
|
|
1025
|
+
"isSuspense",
|
|
1026
|
+
"isSuspenseList",
|
|
1027
|
+
"isValidElementType"
|
|
1028
|
+
];
|
|
1029
|
+
const ReactIs = Object.fromEntries(
|
|
1030
|
+
reactIsMethods.map((m) => [m, (v) => ReactIs18[m](v) || ReactIs19[m](v)])
|
|
1031
|
+
);
|
|
762
1032
|
function getChildren(arg, children = []) {
|
|
763
1033
|
if (Array.isArray(arg)) {
|
|
764
1034
|
for (const item of arg) {
|
|
@@ -777,27 +1047,27 @@ function getType(element) {
|
|
|
777
1047
|
if (typeof type === "function") {
|
|
778
1048
|
return type.displayName || type.name || "Unknown";
|
|
779
1049
|
}
|
|
780
|
-
if (
|
|
1050
|
+
if (ReactIs.isFragment(element)) {
|
|
781
1051
|
return "React.Fragment";
|
|
782
1052
|
}
|
|
783
|
-
if (
|
|
1053
|
+
if (ReactIs.isSuspense(element)) {
|
|
784
1054
|
return "React.Suspense";
|
|
785
1055
|
}
|
|
786
1056
|
if (typeof type === "object" && type !== null) {
|
|
787
|
-
if (
|
|
1057
|
+
if (ReactIs.isContextProvider(element)) {
|
|
788
1058
|
return "Context.Provider";
|
|
789
1059
|
}
|
|
790
|
-
if (
|
|
1060
|
+
if (ReactIs.isContextConsumer(element)) {
|
|
791
1061
|
return "Context.Consumer";
|
|
792
1062
|
}
|
|
793
|
-
if (
|
|
1063
|
+
if (ReactIs.isForwardRef(element)) {
|
|
794
1064
|
if (type.displayName) {
|
|
795
1065
|
return type.displayName;
|
|
796
1066
|
}
|
|
797
1067
|
const functionName = type.render.displayName || type.render.name || "";
|
|
798
1068
|
return functionName === "" ? "ForwardRef" : `ForwardRef(${functionName})`;
|
|
799
1069
|
}
|
|
800
|
-
if (
|
|
1070
|
+
if (ReactIs.isMemo(element)) {
|
|
801
1071
|
const functionName = type.displayName || type.type.displayName || type.type.name || "";
|
|
802
1072
|
return functionName === "" ? "Memo" : `Memo(${functionName})`;
|
|
803
1073
|
}
|
|
@@ -830,7 +1100,7 @@ const serialize$1 = (element, config, indentation, depth, refs, printer2) => ++d
|
|
|
830
1100
|
config,
|
|
831
1101
|
indentation
|
|
832
1102
|
);
|
|
833
|
-
const test$1 = (val) => val != null &&
|
|
1103
|
+
const test$1 = (val) => val != null && ReactIs.isElement(val);
|
|
834
1104
|
const plugin$1 = { serialize: serialize$1, test: test$1 };
|
|
835
1105
|
const testSymbol = typeof Symbol === "function" && Symbol.for ? Symbol.for("react.test.json") : 245830487;
|
|
836
1106
|
function getPropKeys(object) {
|
|
@@ -1015,6 +1285,32 @@ function printComplexValue(val, config, indentation, depth, refs, hasCalledToJSO
|
|
|
1015
1285
|
printer
|
|
1016
1286
|
)}}`;
|
|
1017
1287
|
}
|
|
1288
|
+
const ErrorPlugin = {
|
|
1289
|
+
test: (val) => val && val instanceof Error,
|
|
1290
|
+
serialize(val, config, indentation, depth, refs, printer2) {
|
|
1291
|
+
if (refs.includes(val)) {
|
|
1292
|
+
return "[Circular]";
|
|
1293
|
+
}
|
|
1294
|
+
refs = [...refs, val];
|
|
1295
|
+
const hitMaxDepth = ++depth > config.maxDepth;
|
|
1296
|
+
const { message, cause, ...rest } = val;
|
|
1297
|
+
const entries = {
|
|
1298
|
+
message,
|
|
1299
|
+
...typeof cause !== "undefined" ? { cause } : {},
|
|
1300
|
+
...val instanceof AggregateError ? { errors: val.errors } : {},
|
|
1301
|
+
...rest
|
|
1302
|
+
};
|
|
1303
|
+
const name = val.name !== "Error" ? val.name : getConstructorName(val);
|
|
1304
|
+
return hitMaxDepth ? `[${name}]` : `${name} {${printIteratorEntries(
|
|
1305
|
+
Object.entries(entries).values(),
|
|
1306
|
+
config,
|
|
1307
|
+
indentation,
|
|
1308
|
+
depth,
|
|
1309
|
+
refs,
|
|
1310
|
+
printer2
|
|
1311
|
+
)}}`;
|
|
1312
|
+
}
|
|
1313
|
+
};
|
|
1018
1314
|
function isNewPlugin(plugin2) {
|
|
1019
1315
|
return plugin2.serialize != null;
|
|
1020
1316
|
}
|
|
@@ -1119,7 +1415,7 @@ function validateOptions(options) {
|
|
|
1119
1415
|
function getColorsHighlight() {
|
|
1120
1416
|
return DEFAULT_THEME_KEYS.reduce((colors, key) => {
|
|
1121
1417
|
const value = DEFAULT_THEME[key];
|
|
1122
|
-
const color = value &&
|
|
1418
|
+
const color = value && s[value];
|
|
1123
1419
|
if (color && typeof color.close === "string" && typeof color.open === "string") {
|
|
1124
1420
|
colors[key] = color;
|
|
1125
1421
|
} else {
|
|
@@ -1193,7 +1489,8 @@ const plugins = {
|
|
|
1193
1489
|
DOMElement: plugin$3,
|
|
1194
1490
|
Immutable: plugin$2,
|
|
1195
1491
|
ReactElement: plugin$1,
|
|
1196
|
-
ReactTestComponent: plugin
|
|
1492
|
+
ReactTestComponent: plugin,
|
|
1493
|
+
Error: ErrorPlugin
|
|
1197
1494
|
};
|
|
1198
1495
|
export {
|
|
1199
1496
|
DEFAULT_OPTIONS,
|