@jcheesepkg/nanobot 0.8.7 → 0.8.9
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/dist/_virtual/_rolldown/runtime.mjs +7 -0
- package/dist/agent/tools/flex.test.d.mts +1 -0
- package/dist/agent/tools/flex.test.mjs +258 -0
- package/dist/agent/tools/flex.test.mjs.map +1 -0
- package/dist/channels/line.d.mts +3 -1
- package/dist/channels/line.d.mts.map +1 -1
- package/dist/channels/line.mjs +56 -6
- package/dist/channels/line.mjs.map +1 -1
- package/dist/channels/line.test.d.mts +1 -0
- package/dist/channels/line.test.mjs +202 -0
- package/dist/channels/line.test.mjs.map +1 -0
- package/dist/config/schema.d.mts +18 -18
- package/dist/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs +78 -0
- package/dist/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +1 -0
- package/dist/node_modules/@vitest/expect/dist/index.mjs +1257 -0
- package/dist/node_modules/@vitest/expect/dist/index.mjs.map +1 -0
- package/dist/node_modules/@vitest/pretty-format/dist/index.mjs +815 -0
- package/dist/node_modules/@vitest/pretty-format/dist/index.mjs.map +1 -0
- package/dist/node_modules/@vitest/runner/dist/chunk-tasks.mjs +43 -0
- package/dist/node_modules/@vitest/runner/dist/chunk-tasks.mjs.map +1 -0
- package/dist/node_modules/@vitest/runner/dist/index.mjs +563 -0
- package/dist/node_modules/@vitest/runner/dist/index.mjs.map +1 -0
- package/dist/node_modules/@vitest/runner/dist/utils.mjs +3 -0
- package/dist/node_modules/@vitest/snapshot/dist/index.mjs +1736 -0
- package/dist/node_modules/@vitest/snapshot/dist/index.mjs.map +1 -0
- package/dist/node_modules/@vitest/snapshot/node_modules/pathe/dist/shared/pathe.ff20891b.mjs +82 -0
- package/dist/node_modules/@vitest/snapshot/node_modules/pathe/dist/shared/pathe.ff20891b.mjs.map +1 -0
- package/dist/node_modules/@vitest/spy/dist/index.mjs +139 -0
- package/dist/node_modules/@vitest/spy/dist/index.mjs.map +1 -0
- package/dist/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.mjs +119 -0
- package/dist/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.mjs.map +1 -0
- package/dist/node_modules/@vitest/utils/dist/diff.mjs +1227 -0
- package/dist/node_modules/@vitest/utils/dist/diff.mjs.map +1 -0
- package/dist/node_modules/@vitest/utils/dist/error.mjs +92 -0
- package/dist/node_modules/@vitest/utils/dist/error.mjs.map +1 -0
- package/dist/node_modules/@vitest/utils/dist/helpers.mjs +113 -0
- package/dist/node_modules/@vitest/utils/dist/helpers.mjs.map +1 -0
- package/dist/node_modules/@vitest/utils/dist/index.mjs +455 -0
- package/dist/node_modules/@vitest/utils/dist/index.mjs.map +1 -0
- package/dist/node_modules/@vitest/utils/dist/source-map.mjs +164 -0
- package/dist/node_modules/@vitest/utils/dist/source-map.mjs.map +1 -0
- package/dist/node_modules/chai/index.mjs +3088 -0
- package/dist/node_modules/chai/index.mjs.map +1 -0
- package/dist/node_modules/loupe/lib/arguments.mjs +12 -0
- package/dist/node_modules/loupe/lib/arguments.mjs.map +1 -0
- package/dist/node_modules/loupe/lib/array.mjs +17 -0
- package/dist/node_modules/loupe/lib/array.mjs.map +1 -0
- package/dist/node_modules/loupe/lib/bigint.mjs +12 -0
- package/dist/node_modules/loupe/lib/bigint.mjs.map +1 -0
- package/dist/node_modules/loupe/lib/class.mjs +16 -0
- package/dist/node_modules/loupe/lib/class.mjs.map +1 -0
- package/dist/node_modules/loupe/lib/date.mjs +14 -0
- package/dist/node_modules/loupe/lib/date.mjs.map +1 -0
- package/dist/node_modules/loupe/lib/error.mjs +35 -0
- package/dist/node_modules/loupe/lib/error.mjs.map +1 -0
- package/dist/node_modules/loupe/lib/function.mjs +13 -0
- package/dist/node_modules/loupe/lib/function.mjs.map +1 -0
- package/dist/node_modules/loupe/lib/helpers.mjs +123 -0
- package/dist/node_modules/loupe/lib/helpers.mjs.map +1 -0
- package/dist/node_modules/loupe/lib/html.mjs +40 -0
- package/dist/node_modules/loupe/lib/html.mjs.map +1 -0
- package/dist/node_modules/loupe/lib/index.mjs +100 -0
- package/dist/node_modules/loupe/lib/index.mjs.map +1 -0
- package/dist/node_modules/loupe/lib/map.mjs +26 -0
- package/dist/node_modules/loupe/lib/map.mjs.map +1 -0
- package/dist/node_modules/loupe/lib/number.mjs +15 -0
- package/dist/node_modules/loupe/lib/number.mjs.map +1 -0
- package/dist/node_modules/loupe/lib/object.mjs +22 -0
- package/dist/node_modules/loupe/lib/object.mjs.map +1 -0
- package/dist/node_modules/loupe/lib/promise.mjs +6 -0
- package/dist/node_modules/loupe/lib/promise.mjs.map +1 -0
- package/dist/node_modules/loupe/lib/regexp.mjs +13 -0
- package/dist/node_modules/loupe/lib/regexp.mjs.map +1 -0
- package/dist/node_modules/loupe/lib/set.mjs +19 -0
- package/dist/node_modules/loupe/lib/set.mjs.map +1 -0
- package/dist/node_modules/loupe/lib/string.mjs +26 -0
- package/dist/node_modules/loupe/lib/string.mjs.map +1 -0
- package/dist/node_modules/loupe/lib/symbol.mjs +9 -0
- package/dist/node_modules/loupe/lib/symbol.mjs.map +1 -0
- package/dist/node_modules/loupe/lib/typedarray.mjs +31 -0
- package/dist/node_modules/loupe/lib/typedarray.mjs.map +1 -0
- package/dist/node_modules/magic-string/dist/magic-string.es.mjs +940 -0
- package/dist/node_modules/magic-string/dist/magic-string.es.mjs.map +1 -0
- package/dist/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.mjs +82 -0
- package/dist/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.mjs.map +1 -0
- package/dist/node_modules/tinyrainbow/dist/node.mjs +9 -0
- package/dist/node_modules/tinyrainbow/dist/node.mjs.map +1 -0
- package/dist/node_modules/tinyspy/dist/index.mjs +79 -0
- package/dist/node_modules/tinyspy/dist/index.mjs.map +1 -0
- package/dist/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.mjs +9 -0
- package/dist/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.mjs.map +1 -0
- package/dist/node_modules/vitest/dist/chunks/date.W2xKR2qe.mjs +51 -0
- package/dist/node_modules/vitest/dist/chunks/date.W2xKR2qe.mjs.map +1 -0
- package/dist/node_modules/vitest/dist/chunks/utils.C8RiOc4B.mjs +49 -0
- package/dist/node_modules/vitest/dist/chunks/utils.C8RiOc4B.mjs.map +1 -0
- package/dist/node_modules/vitest/dist/chunks/vi.DgezovHB.mjs +2425 -0
- package/dist/node_modules/vitest/dist/chunks/vi.DgezovHB.mjs.map +1 -0
- package/package.json +1 -1
- package/skills/skill-creator/SKILL.md +29 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["styles"],"sources":["../../../../../node_modules/@vitest/pretty-format/dist/index.js"],"sourcesContent":["import styles from 'tinyrainbow';\n\nfunction getKeysOfEnumerableProperties(object, compareKeys) {\n const rawKeys = Object.keys(object);\n const keys = compareKeys === null ? rawKeys : rawKeys.sort(compareKeys);\n if (Object.getOwnPropertySymbols) {\n for (const symbol of Object.getOwnPropertySymbols(object)) {\n if (Object.getOwnPropertyDescriptor(object, symbol).enumerable) {\n keys.push(symbol);\n }\n }\n }\n return keys;\n}\nfunction printIteratorEntries(iterator, config, indentation, depth, refs, printer, separator = \": \") {\n let result = \"\";\n let width = 0;\n let current = iterator.next();\n if (!current.done) {\n result += config.spacingOuter;\n const indentationNext = indentation + config.indent;\n while (!current.done) {\n result += indentationNext;\n if (width++ === config.maxWidth) {\n result += \"\\u2026\";\n break;\n }\n const name = printer(\n current.value[0],\n config,\n indentationNext,\n depth,\n refs\n );\n const value = printer(\n current.value[1],\n config,\n indentationNext,\n depth,\n refs\n );\n result += name + separator + value;\n current = iterator.next();\n if (!current.done) {\n result += `,${config.spacingInner}`;\n } else if (!config.min) {\n result += \",\";\n }\n }\n result += config.spacingOuter + indentation;\n }\n return result;\n}\nfunction printIteratorValues(iterator, config, indentation, depth, refs, printer) {\n let result = \"\";\n let width = 0;\n let current = iterator.next();\n if (!current.done) {\n result += config.spacingOuter;\n const indentationNext = indentation + config.indent;\n while (!current.done) {\n result += indentationNext;\n if (width++ === config.maxWidth) {\n result += \"\\u2026\";\n break;\n }\n result += printer(current.value, config, indentationNext, depth, refs);\n current = iterator.next();\n if (!current.done) {\n result += `,${config.spacingInner}`;\n } else if (!config.min) {\n result += \",\";\n }\n }\n result += config.spacingOuter + indentation;\n }\n return result;\n}\nfunction printListItems(list, config, indentation, depth, refs, printer) {\n let result = \"\";\n list = list instanceof ArrayBuffer ? new DataView(list) : list;\n const isDataView = (l) => l instanceof DataView;\n const length = isDataView(list) ? list.byteLength : list.length;\n if (length > 0) {\n result += config.spacingOuter;\n const indentationNext = indentation + config.indent;\n for (let i = 0; i < length; i++) {\n result += indentationNext;\n if (i === config.maxWidth) {\n result += \"\\u2026\";\n break;\n }\n if (isDataView(list) || i in list) {\n result += printer(\n isDataView(list) ? list.getInt8(i) : list[i],\n config,\n indentationNext,\n depth,\n refs\n );\n }\n if (i < length - 1) {\n result += `,${config.spacingInner}`;\n } else if (!config.min) {\n result += \",\";\n }\n }\n result += config.spacingOuter + indentation;\n }\n return result;\n}\nfunction printObjectProperties(val, config, indentation, depth, refs, printer) {\n let result = \"\";\n const keys = getKeysOfEnumerableProperties(val, config.compareKeys);\n if (keys.length > 0) {\n result += config.spacingOuter;\n const indentationNext = indentation + config.indent;\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i];\n const name = printer(key, config, indentationNext, depth, refs);\n const value = printer(val[key], config, indentationNext, depth, refs);\n result += `${indentationNext + name}: ${value}`;\n if (i < keys.length - 1) {\n result += `,${config.spacingInner}`;\n } else if (!config.min) {\n result += \",\";\n }\n }\n result += config.spacingOuter + indentation;\n }\n return result;\n}\n\nconst asymmetricMatcher = typeof Symbol === \"function\" && Symbol.for ? Symbol.for(\"jest.asymmetricMatcher\") : 1267621;\nconst SPACE$2 = \" \";\nconst serialize$5 = (val, config, indentation, depth, refs, printer) => {\n const stringedValue = val.toString();\n if (stringedValue === \"ArrayContaining\" || stringedValue === \"ArrayNotContaining\") {\n if (++depth > config.maxDepth) {\n return `[${stringedValue}]`;\n }\n return `${stringedValue + SPACE$2}[${printListItems(\n val.sample,\n config,\n indentation,\n depth,\n refs,\n printer\n )}]`;\n }\n if (stringedValue === \"ObjectContaining\" || stringedValue === \"ObjectNotContaining\") {\n if (++depth > config.maxDepth) {\n return `[${stringedValue}]`;\n }\n return `${stringedValue + SPACE$2}{${printObjectProperties(\n val.sample,\n config,\n indentation,\n depth,\n refs,\n printer\n )}}`;\n }\n if (stringedValue === \"StringMatching\" || stringedValue === \"StringNotMatching\") {\n return stringedValue + SPACE$2 + printer(val.sample, config, indentation, depth, refs);\n }\n if (stringedValue === \"StringContaining\" || stringedValue === \"StringNotContaining\") {\n return stringedValue + SPACE$2 + printer(val.sample, config, indentation, depth, refs);\n }\n if (typeof val.toAsymmetricMatcher !== \"function\") {\n throw new TypeError(\n `Asymmetric matcher ${val.constructor.name} does not implement toAsymmetricMatcher()`\n );\n }\n return val.toAsymmetricMatcher();\n};\nconst test$5 = (val) => val && val.$$typeof === asymmetricMatcher;\nconst plugin$5 = { serialize: serialize$5, test: test$5 };\n\nconst SPACE$1 = \" \";\nconst OBJECT_NAMES = /* @__PURE__ */ new Set([\"DOMStringMap\", \"NamedNodeMap\"]);\nconst ARRAY_REGEXP = /^(?:HTML\\w*Collection|NodeList)$/;\nfunction testName(name) {\n return OBJECT_NAMES.has(name) || ARRAY_REGEXP.test(name);\n}\nconst test$4 = (val) => val && val.constructor && !!val.constructor.name && testName(val.constructor.name);\nfunction isNamedNodeMap(collection) {\n return collection.constructor.name === \"NamedNodeMap\";\n}\nconst serialize$4 = (collection, config, indentation, depth, refs, printer) => {\n const name = collection.constructor.name;\n if (++depth > config.maxDepth) {\n return `[${name}]`;\n }\n return (config.min ? \"\" : name + SPACE$1) + (OBJECT_NAMES.has(name) ? `{${printObjectProperties(\n isNamedNodeMap(collection) ? [...collection].reduce(\n (props, attribute) => {\n props[attribute.name] = attribute.value;\n return props;\n },\n {}\n ) : { ...collection },\n config,\n indentation,\n depth,\n refs,\n printer\n )}}` : `[${printListItems(\n [...collection],\n config,\n indentation,\n depth,\n refs,\n printer\n )}]`);\n};\nconst plugin$4 = { serialize: serialize$4, test: test$4 };\n\nfunction escapeHTML(str) {\n return str.replaceAll(\"<\", \"<\").replaceAll(\">\", \">\");\n}\n\nfunction printProps(keys, props, config, indentation, depth, refs, printer) {\n const indentationNext = indentation + config.indent;\n const colors = config.colors;\n return keys.map((key) => {\n const value = props[key];\n let printed = printer(value, config, indentationNext, depth, refs);\n if (typeof value !== \"string\") {\n if (printed.includes(\"\\n\")) {\n printed = config.spacingOuter + indentationNext + printed + config.spacingOuter + indentation;\n }\n printed = `{${printed}}`;\n }\n return `${config.spacingInner + indentation + colors.prop.open + key + colors.prop.close}=${colors.value.open}${printed}${colors.value.close}`;\n }).join(\"\");\n}\nfunction printChildren(children, config, indentation, depth, refs, printer) {\n return children.map(\n (child) => config.spacingOuter + indentation + (typeof child === \"string\" ? printText(child, config) : printer(child, config, indentation, depth, refs))\n ).join(\"\");\n}\nfunction printText(text, config) {\n const contentColor = config.colors.content;\n return contentColor.open + escapeHTML(text) + contentColor.close;\n}\nfunction printComment(comment, config) {\n const commentColor = config.colors.comment;\n return `${commentColor.open}<!--${escapeHTML(comment)}-->${commentColor.close}`;\n}\nfunction printElement(type, printedProps, printedChildren, config, indentation) {\n const tagColor = config.colors.tag;\n return `${tagColor.open}<${type}${printedProps && tagColor.close + printedProps + config.spacingOuter + indentation + tagColor.open}${printedChildren ? `>${tagColor.close}${printedChildren}${config.spacingOuter}${indentation}${tagColor.open}</${type}` : `${printedProps && !config.min ? \"\" : \" \"}/`}>${tagColor.close}`;\n}\nfunction printElementAsLeaf(type, config) {\n const tagColor = config.colors.tag;\n return `${tagColor.open}<${type}${tagColor.close} \\u2026${tagColor.open} />${tagColor.close}`;\n}\n\nconst ELEMENT_NODE = 1;\nconst TEXT_NODE = 3;\nconst COMMENT_NODE = 8;\nconst FRAGMENT_NODE = 11;\nconst ELEMENT_REGEXP = /^(?:(?:HTML|SVG)\\w*)?Element$/;\nfunction testHasAttribute(val) {\n try {\n return typeof val.hasAttribute === \"function\" && val.hasAttribute(\"is\");\n } catch {\n return false;\n }\n}\nfunction testNode(val) {\n const constructorName = val.constructor.name;\n const { nodeType, tagName } = val;\n const isCustomElement = typeof tagName === \"string\" && tagName.includes(\"-\") || testHasAttribute(val);\n return nodeType === ELEMENT_NODE && (ELEMENT_REGEXP.test(constructorName) || isCustomElement) || nodeType === TEXT_NODE && constructorName === \"Text\" || nodeType === COMMENT_NODE && constructorName === \"Comment\" || nodeType === FRAGMENT_NODE && constructorName === \"DocumentFragment\";\n}\nconst test$3 = (val) => {\n var _a;\n return ((_a = val == null ? void 0 : val.constructor) == null ? void 0 : _a.name) && testNode(val);\n};\nfunction nodeIsText(node) {\n return node.nodeType === TEXT_NODE;\n}\nfunction nodeIsComment(node) {\n return node.nodeType === COMMENT_NODE;\n}\nfunction nodeIsFragment(node) {\n return node.nodeType === FRAGMENT_NODE;\n}\nconst serialize$3 = (node, config, indentation, depth, refs, printer) => {\n if (nodeIsText(node)) {\n return printText(node.data, config);\n }\n if (nodeIsComment(node)) {\n return printComment(node.data, config);\n }\n const type = nodeIsFragment(node) ? \"DocumentFragment\" : node.tagName.toLowerCase();\n if (++depth > config.maxDepth) {\n return printElementAsLeaf(type, config);\n }\n return printElement(\n type,\n printProps(\n nodeIsFragment(node) ? [] : Array.from(node.attributes, (attr) => attr.name).sort(),\n nodeIsFragment(node) ? {} : [...node.attributes].reduce(\n (props, attribute) => {\n props[attribute.name] = attribute.value;\n return props;\n },\n {}\n ),\n config,\n indentation + config.indent,\n depth,\n refs,\n printer\n ),\n printChildren(\n Array.prototype.slice.call(node.childNodes || node.children),\n config,\n indentation + config.indent,\n depth,\n refs,\n printer\n ),\n config,\n indentation\n );\n};\nconst plugin$3 = { serialize: serialize$3, test: test$3 };\n\nconst IS_ITERABLE_SENTINEL = \"@@__IMMUTABLE_ITERABLE__@@\";\nconst IS_LIST_SENTINEL = \"@@__IMMUTABLE_LIST__@@\";\nconst IS_KEYED_SENTINEL = \"@@__IMMUTABLE_KEYED__@@\";\nconst IS_MAP_SENTINEL = \"@@__IMMUTABLE_MAP__@@\";\nconst IS_ORDERED_SENTINEL = \"@@__IMMUTABLE_ORDERED__@@\";\nconst IS_RECORD_SENTINEL = \"@@__IMMUTABLE_RECORD__@@\";\nconst IS_SEQ_SENTINEL = \"@@__IMMUTABLE_SEQ__@@\";\nconst IS_SET_SENTINEL = \"@@__IMMUTABLE_SET__@@\";\nconst IS_STACK_SENTINEL = \"@@__IMMUTABLE_STACK__@@\";\nconst getImmutableName = (name) => `Immutable.${name}`;\nconst printAsLeaf = (name) => `[${name}]`;\nconst SPACE = \" \";\nconst LAZY = \"\\u2026\";\nfunction printImmutableEntries(val, config, indentation, depth, refs, printer, type) {\n return ++depth > config.maxDepth ? printAsLeaf(getImmutableName(type)) : `${getImmutableName(type) + SPACE}{${printIteratorEntries(\n val.entries(),\n config,\n indentation,\n depth,\n refs,\n printer\n )}}`;\n}\nfunction getRecordEntries(val) {\n let i = 0;\n return {\n next() {\n if (i < val._keys.length) {\n const key = val._keys[i++];\n return { done: false, value: [key, val.get(key)] };\n }\n return { done: true, value: void 0 };\n }\n };\n}\nfunction printImmutableRecord(val, config, indentation, depth, refs, printer) {\n const name = getImmutableName(val._name || \"Record\");\n return ++depth > config.maxDepth ? printAsLeaf(name) : `${name + SPACE}{${printIteratorEntries(\n getRecordEntries(val),\n config,\n indentation,\n depth,\n refs,\n printer\n )}}`;\n}\nfunction printImmutableSeq(val, config, indentation, depth, refs, printer) {\n const name = getImmutableName(\"Seq\");\n if (++depth > config.maxDepth) {\n return printAsLeaf(name);\n }\n if (val[IS_KEYED_SENTINEL]) {\n return `${name + SPACE}{${// from Immutable collection of entries or from ECMAScript object\n val._iter || val._object ? printIteratorEntries(\n val.entries(),\n config,\n indentation,\n depth,\n refs,\n printer\n ) : LAZY}}`;\n }\n return `${name + SPACE}[${val._iter || val._array || val._collection || val._iterable ? printIteratorValues(\n val.values(),\n config,\n indentation,\n depth,\n refs,\n printer\n ) : LAZY}]`;\n}\nfunction printImmutableValues(val, config, indentation, depth, refs, printer, type) {\n return ++depth > config.maxDepth ? printAsLeaf(getImmutableName(type)) : `${getImmutableName(type) + SPACE}[${printIteratorValues(\n val.values(),\n config,\n indentation,\n depth,\n refs,\n printer\n )}]`;\n}\nconst serialize$2 = (val, config, indentation, depth, refs, printer) => {\n if (val[IS_MAP_SENTINEL]) {\n return printImmutableEntries(\n val,\n config,\n indentation,\n depth,\n refs,\n printer,\n val[IS_ORDERED_SENTINEL] ? \"OrderedMap\" : \"Map\"\n );\n }\n if (val[IS_LIST_SENTINEL]) {\n return printImmutableValues(\n val,\n config,\n indentation,\n depth,\n refs,\n printer,\n \"List\"\n );\n }\n if (val[IS_SET_SENTINEL]) {\n return printImmutableValues(\n val,\n config,\n indentation,\n depth,\n refs,\n printer,\n val[IS_ORDERED_SENTINEL] ? \"OrderedSet\" : \"Set\"\n );\n }\n if (val[IS_STACK_SENTINEL]) {\n return printImmutableValues(\n val,\n config,\n indentation,\n depth,\n refs,\n printer,\n \"Stack\"\n );\n }\n if (val[IS_SEQ_SENTINEL]) {\n return printImmutableSeq(val, config, indentation, depth, refs, printer);\n }\n return printImmutableRecord(val, config, indentation, depth, refs, printer);\n};\nconst test$2 = (val) => val && (val[IS_ITERABLE_SENTINEL] === true || val[IS_RECORD_SENTINEL] === true);\nconst plugin$2 = { serialize: serialize$2, test: test$2 };\n\nvar reactIs = {exports: {}};\n\nvar reactIs_production_min = {};\n\n/**\n * @license React\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar hasRequiredReactIs_production_min;\n\nfunction requireReactIs_production_min () {\n\tif (hasRequiredReactIs_production_min) return reactIs_production_min;\n\thasRequiredReactIs_production_min = 1;\nvar 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;u=Symbol.for(\"react.module.reference\");\n\tfunction v(a){if(\"object\"===typeof a&&null!==a){var r=a.$$typeof;switch(r){case b:switch(a=a.type,a){case d:case f:case e:case m:case n:return a;default:switch(a=a&&a.$$typeof,a){case k:case h:case l:case q:case p:case g:return a;default:return r}}case c:return r}}}reactIs_production_min.ContextConsumer=h;reactIs_production_min.ContextProvider=g;reactIs_production_min.Element=b;reactIs_production_min.ForwardRef=l;reactIs_production_min.Fragment=d;reactIs_production_min.Lazy=q;reactIs_production_min.Memo=p;reactIs_production_min.Portal=c;reactIs_production_min.Profiler=f;reactIs_production_min.StrictMode=e;reactIs_production_min.Suspense=m;\n\treactIs_production_min.SuspenseList=n;reactIs_production_min.isAsyncMode=function(){return !1};reactIs_production_min.isConcurrentMode=function(){return !1};reactIs_production_min.isContextConsumer=function(a){return v(a)===h};reactIs_production_min.isContextProvider=function(a){return v(a)===g};reactIs_production_min.isElement=function(a){return \"object\"===typeof a&&null!==a&&a.$$typeof===b};reactIs_production_min.isForwardRef=function(a){return v(a)===l};reactIs_production_min.isFragment=function(a){return v(a)===d};reactIs_production_min.isLazy=function(a){return v(a)===q};reactIs_production_min.isMemo=function(a){return v(a)===p};\n\treactIs_production_min.isPortal=function(a){return v(a)===c};reactIs_production_min.isProfiler=function(a){return v(a)===f};reactIs_production_min.isStrictMode=function(a){return v(a)===e};reactIs_production_min.isSuspense=function(a){return v(a)===m};reactIs_production_min.isSuspenseList=function(a){return v(a)===n};\n\treactIs_production_min.isValidElementType=function(a){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)?!0:!1};reactIs_production_min.typeOf=v;\n\treturn reactIs_production_min;\n}\n\nvar reactIs_development = {};\n\n/**\n * @license React\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar hasRequiredReactIs_development;\n\nfunction requireReactIs_development () {\n\tif (hasRequiredReactIs_development) return reactIs_development;\n\thasRequiredReactIs_development = 1;\n\n\tif (process.env.NODE_ENV !== \"production\") {\n\t (function() {\n\n\t// ATTENTION\n\t// When adding new symbols to this file,\n\t// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n\t// The Symbol used to tag the ReactElement-like types.\n\tvar REACT_ELEMENT_TYPE = Symbol.for('react.element');\n\tvar REACT_PORTAL_TYPE = Symbol.for('react.portal');\n\tvar REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');\n\tvar REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');\n\tvar REACT_PROFILER_TYPE = Symbol.for('react.profiler');\n\tvar REACT_PROVIDER_TYPE = Symbol.for('react.provider');\n\tvar REACT_CONTEXT_TYPE = Symbol.for('react.context');\n\tvar REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context');\n\tvar REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\n\tvar REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');\n\tvar REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');\n\tvar REACT_MEMO_TYPE = Symbol.for('react.memo');\n\tvar REACT_LAZY_TYPE = Symbol.for('react.lazy');\n\tvar REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');\n\n\t// -----------------------------------------------------------------------------\n\n\tvar enableScopeAPI = false; // Experimental Create Event Handle API.\n\tvar enableCacheElement = false;\n\tvar enableTransitionTracing = false; // No known bugs, but needs performance testing\n\n\tvar enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber\n\t// stuff. Intended to enable React core members to more easily debug scheduling\n\t// issues in DEV builds.\n\n\tvar enableDebugTracing = false; // Track which Fiber(s) schedule render work.\n\n\tvar REACT_MODULE_REFERENCE;\n\n\t{\n\t REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');\n\t}\n\n\tfunction isValidElementType(type) {\n\t if (typeof type === 'string' || typeof type === 'function') {\n\t return true;\n\t } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n\n\t if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing ) {\n\t return true;\n\t }\n\n\t if (typeof type === 'object' && type !== null) {\n\t if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object\n\t // types supported by any Flight configuration anywhere since\n\t // we don't know which Flight build this will end up being used\n\t // with.\n\t type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {\n\t return true;\n\t }\n\t }\n\n\t return false;\n\t}\n\n\tfunction typeOf(object) {\n\t if (typeof object === 'object' && object !== null) {\n\t var $$typeof = object.$$typeof;\n\n\t switch ($$typeof) {\n\t case REACT_ELEMENT_TYPE:\n\t var type = object.type;\n\n\t switch (type) {\n\t case REACT_FRAGMENT_TYPE:\n\t case REACT_PROFILER_TYPE:\n\t case REACT_STRICT_MODE_TYPE:\n\t case REACT_SUSPENSE_TYPE:\n\t case REACT_SUSPENSE_LIST_TYPE:\n\t return type;\n\n\t default:\n\t var $$typeofType = type && type.$$typeof;\n\n\t switch ($$typeofType) {\n\t case REACT_SERVER_CONTEXT_TYPE:\n\t case REACT_CONTEXT_TYPE:\n\t case REACT_FORWARD_REF_TYPE:\n\t case REACT_LAZY_TYPE:\n\t case REACT_MEMO_TYPE:\n\t case REACT_PROVIDER_TYPE:\n\t return $$typeofType;\n\n\t default:\n\t return $$typeof;\n\t }\n\n\t }\n\n\t case REACT_PORTAL_TYPE:\n\t return $$typeof;\n\t }\n\t }\n\n\t return undefined;\n\t}\n\tvar ContextConsumer = REACT_CONTEXT_TYPE;\n\tvar ContextProvider = REACT_PROVIDER_TYPE;\n\tvar Element = REACT_ELEMENT_TYPE;\n\tvar ForwardRef = REACT_FORWARD_REF_TYPE;\n\tvar Fragment = REACT_FRAGMENT_TYPE;\n\tvar Lazy = REACT_LAZY_TYPE;\n\tvar Memo = REACT_MEMO_TYPE;\n\tvar Portal = REACT_PORTAL_TYPE;\n\tvar Profiler = REACT_PROFILER_TYPE;\n\tvar StrictMode = REACT_STRICT_MODE_TYPE;\n\tvar Suspense = REACT_SUSPENSE_TYPE;\n\tvar SuspenseList = REACT_SUSPENSE_LIST_TYPE;\n\tvar hasWarnedAboutDeprecatedIsAsyncMode = false;\n\tvar hasWarnedAboutDeprecatedIsConcurrentMode = false; // AsyncMode should be deprecated\n\n\tfunction isAsyncMode(object) {\n\t {\n\t if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n\t hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n\t console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 18+.');\n\t }\n\t }\n\n\t return false;\n\t}\n\tfunction isConcurrentMode(object) {\n\t {\n\t if (!hasWarnedAboutDeprecatedIsConcurrentMode) {\n\t hasWarnedAboutDeprecatedIsConcurrentMode = true; // Using console['warn'] to evade Babel and ESLint\n\n\t console['warn']('The ReactIs.isConcurrentMode() alias has been deprecated, ' + 'and will be removed in React 18+.');\n\t }\n\t }\n\n\t return false;\n\t}\n\tfunction isContextConsumer(object) {\n\t return typeOf(object) === REACT_CONTEXT_TYPE;\n\t}\n\tfunction isContextProvider(object) {\n\t return typeOf(object) === REACT_PROVIDER_TYPE;\n\t}\n\tfunction isElement(object) {\n\t return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n\t}\n\tfunction isForwardRef(object) {\n\t return typeOf(object) === REACT_FORWARD_REF_TYPE;\n\t}\n\tfunction isFragment(object) {\n\t return typeOf(object) === REACT_FRAGMENT_TYPE;\n\t}\n\tfunction isLazy(object) {\n\t return typeOf(object) === REACT_LAZY_TYPE;\n\t}\n\tfunction isMemo(object) {\n\t return typeOf(object) === REACT_MEMO_TYPE;\n\t}\n\tfunction isPortal(object) {\n\t return typeOf(object) === REACT_PORTAL_TYPE;\n\t}\n\tfunction isProfiler(object) {\n\t return typeOf(object) === REACT_PROFILER_TYPE;\n\t}\n\tfunction isStrictMode(object) {\n\t return typeOf(object) === REACT_STRICT_MODE_TYPE;\n\t}\n\tfunction isSuspense(object) {\n\t return typeOf(object) === REACT_SUSPENSE_TYPE;\n\t}\n\tfunction isSuspenseList(object) {\n\t return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;\n\t}\n\n\treactIs_development.ContextConsumer = ContextConsumer;\n\treactIs_development.ContextProvider = ContextProvider;\n\treactIs_development.Element = Element;\n\treactIs_development.ForwardRef = ForwardRef;\n\treactIs_development.Fragment = Fragment;\n\treactIs_development.Lazy = Lazy;\n\treactIs_development.Memo = Memo;\n\treactIs_development.Portal = Portal;\n\treactIs_development.Profiler = Profiler;\n\treactIs_development.StrictMode = StrictMode;\n\treactIs_development.Suspense = Suspense;\n\treactIs_development.SuspenseList = SuspenseList;\n\treactIs_development.isAsyncMode = isAsyncMode;\n\treactIs_development.isConcurrentMode = isConcurrentMode;\n\treactIs_development.isContextConsumer = isContextConsumer;\n\treactIs_development.isContextProvider = isContextProvider;\n\treactIs_development.isElement = isElement;\n\treactIs_development.isForwardRef = isForwardRef;\n\treactIs_development.isFragment = isFragment;\n\treactIs_development.isLazy = isLazy;\n\treactIs_development.isMemo = isMemo;\n\treactIs_development.isPortal = isPortal;\n\treactIs_development.isProfiler = isProfiler;\n\treactIs_development.isStrictMode = isStrictMode;\n\treactIs_development.isSuspense = isSuspense;\n\treactIs_development.isSuspenseList = isSuspenseList;\n\treactIs_development.isValidElementType = isValidElementType;\n\treactIs_development.typeOf = typeOf;\n\t })();\n\t}\n\treturn reactIs_development;\n}\n\nvar hasRequiredReactIs;\n\nfunction requireReactIs () {\n\tif (hasRequiredReactIs) return reactIs.exports;\n\thasRequiredReactIs = 1;\n\n\tif (process.env.NODE_ENV === 'production') {\n\t reactIs.exports = requireReactIs_production_min();\n\t} else {\n\t reactIs.exports = requireReactIs_development();\n\t}\n\treturn reactIs.exports;\n}\n\nvar reactIsExports = requireReactIs();\n\nfunction getChildren(arg, children = []) {\n if (Array.isArray(arg)) {\n for (const item of arg) {\n getChildren(item, children);\n }\n } else if (arg != null && arg !== false && arg !== \"\") {\n children.push(arg);\n }\n return children;\n}\nfunction getType(element) {\n const type = element.type;\n if (typeof type === \"string\") {\n return type;\n }\n if (typeof type === \"function\") {\n return type.displayName || type.name || \"Unknown\";\n }\n if (reactIsExports.isFragment(element)) {\n return \"React.Fragment\";\n }\n if (reactIsExports.isSuspense(element)) {\n return \"React.Suspense\";\n }\n if (typeof type === \"object\" && type !== null) {\n if (reactIsExports.isContextProvider(element)) {\n return \"Context.Provider\";\n }\n if (reactIsExports.isContextConsumer(element)) {\n return \"Context.Consumer\";\n }\n if (reactIsExports.isForwardRef(element)) {\n if (type.displayName) {\n return type.displayName;\n }\n const functionName = type.render.displayName || type.render.name || \"\";\n return functionName === \"\" ? \"ForwardRef\" : `ForwardRef(${functionName})`;\n }\n if (reactIsExports.isMemo(element)) {\n const functionName = type.displayName || type.type.displayName || type.type.name || \"\";\n return functionName === \"\" ? \"Memo\" : `Memo(${functionName})`;\n }\n }\n return \"UNDEFINED\";\n}\nfunction getPropKeys$1(element) {\n const { props } = element;\n return Object.keys(props).filter((key) => key !== \"children\" && props[key] !== void 0).sort();\n}\nconst serialize$1 = (element, config, indentation, depth, refs, printer) => ++depth > config.maxDepth ? printElementAsLeaf(getType(element), config) : printElement(\n getType(element),\n printProps(\n getPropKeys$1(element),\n element.props,\n config,\n indentation + config.indent,\n depth,\n refs,\n printer\n ),\n printChildren(\n getChildren(element.props.children),\n config,\n indentation + config.indent,\n depth,\n refs,\n printer\n ),\n config,\n indentation\n);\nconst test$1 = (val) => val != null && reactIsExports.isElement(val);\nconst plugin$1 = { serialize: serialize$1, test: test$1 };\n\nconst testSymbol = typeof Symbol === \"function\" && Symbol.for ? Symbol.for(\"react.test.json\") : 245830487;\nfunction getPropKeys(object) {\n const { props } = object;\n return props ? Object.keys(props).filter((key) => props[key] !== void 0).sort() : [];\n}\nconst serialize = (object, config, indentation, depth, refs, printer) => ++depth > config.maxDepth ? printElementAsLeaf(object.type, config) : printElement(\n object.type,\n object.props ? printProps(\n getPropKeys(object),\n object.props,\n config,\n indentation + config.indent,\n depth,\n refs,\n printer\n ) : \"\",\n object.children ? printChildren(\n object.children,\n config,\n indentation + config.indent,\n depth,\n refs,\n printer\n ) : \"\",\n config,\n indentation\n);\nconst test = (val) => val && val.$$typeof === testSymbol;\nconst plugin = { serialize, test };\n\nconst toString = Object.prototype.toString;\nconst toISOString = Date.prototype.toISOString;\nconst errorToString = Error.prototype.toString;\nconst regExpToString = RegExp.prototype.toString;\nfunction getConstructorName(val) {\n return typeof val.constructor === \"function\" && val.constructor.name || \"Object\";\n}\nfunction isWindow(val) {\n return typeof window !== \"undefined\" && val === window;\n}\nconst SYMBOL_REGEXP = /^Symbol\\((.*)\\)(.*)$/;\nconst NEWLINE_REGEXP = /\\n/g;\nclass PrettyFormatPluginError extends Error {\n constructor(message, stack) {\n super(message);\n this.stack = stack;\n this.name = this.constructor.name;\n }\n}\nfunction isToStringedArrayType(toStringed) {\n return toStringed === \"[object Array]\" || toStringed === \"[object ArrayBuffer]\" || toStringed === \"[object DataView]\" || toStringed === \"[object Float32Array]\" || toStringed === \"[object Float64Array]\" || toStringed === \"[object Int8Array]\" || toStringed === \"[object Int16Array]\" || toStringed === \"[object Int32Array]\" || toStringed === \"[object Uint8Array]\" || toStringed === \"[object Uint8ClampedArray]\" || toStringed === \"[object Uint16Array]\" || toStringed === \"[object Uint32Array]\";\n}\nfunction printNumber(val) {\n return Object.is(val, -0) ? \"-0\" : String(val);\n}\nfunction printBigInt(val) {\n return String(`${val}n`);\n}\nfunction printFunction(val, printFunctionName) {\n if (!printFunctionName) {\n return \"[Function]\";\n }\n return `[Function ${val.name || \"anonymous\"}]`;\n}\nfunction printSymbol(val) {\n return String(val).replace(SYMBOL_REGEXP, \"Symbol($1)\");\n}\nfunction printError(val) {\n return `[${errorToString.call(val)}]`;\n}\nfunction printBasicValue(val, printFunctionName, escapeRegex, escapeString) {\n if (val === true || val === false) {\n return `${val}`;\n }\n if (val === void 0) {\n return \"undefined\";\n }\n if (val === null) {\n return \"null\";\n }\n const typeOf = typeof val;\n if (typeOf === \"number\") {\n return printNumber(val);\n }\n if (typeOf === \"bigint\") {\n return printBigInt(val);\n }\n if (typeOf === \"string\") {\n if (escapeString) {\n return `\"${val.replaceAll(/\"|\\\\/g, \"\\\\$&\")}\"`;\n }\n return `\"${val}\"`;\n }\n if (typeOf === \"function\") {\n return printFunction(val, printFunctionName);\n }\n if (typeOf === \"symbol\") {\n return printSymbol(val);\n }\n const toStringed = toString.call(val);\n if (toStringed === \"[object WeakMap]\") {\n return \"WeakMap {}\";\n }\n if (toStringed === \"[object WeakSet]\") {\n return \"WeakSet {}\";\n }\n if (toStringed === \"[object Function]\" || toStringed === \"[object GeneratorFunction]\") {\n return printFunction(val, printFunctionName);\n }\n if (toStringed === \"[object Symbol]\") {\n return printSymbol(val);\n }\n if (toStringed === \"[object Date]\") {\n return Number.isNaN(+val) ? \"Date { NaN }\" : toISOString.call(val);\n }\n if (toStringed === \"[object Error]\") {\n return printError(val);\n }\n if (toStringed === \"[object RegExp]\") {\n if (escapeRegex) {\n return regExpToString.call(val).replaceAll(/[$()*+.?[\\\\\\]^{|}]/g, \"\\\\$&\");\n }\n return regExpToString.call(val);\n }\n if (val instanceof Error) {\n return printError(val);\n }\n return null;\n}\nfunction printComplexValue(val, config, indentation, depth, refs, hasCalledToJSON) {\n if (refs.includes(val)) {\n return \"[Circular]\";\n }\n refs = [...refs];\n refs.push(val);\n const hitMaxDepth = ++depth > config.maxDepth;\n const min = config.min;\n if (config.callToJSON && !hitMaxDepth && val.toJSON && typeof val.toJSON === \"function\" && !hasCalledToJSON) {\n return printer(val.toJSON(), config, indentation, depth, refs, true);\n }\n const toStringed = toString.call(val);\n if (toStringed === \"[object Arguments]\") {\n return hitMaxDepth ? \"[Arguments]\" : `${min ? \"\" : \"Arguments \"}[${printListItems(\n val,\n config,\n indentation,\n depth,\n refs,\n printer\n )}]`;\n }\n if (isToStringedArrayType(toStringed)) {\n return hitMaxDepth ? `[${val.constructor.name}]` : `${min ? \"\" : !config.printBasicPrototype && val.constructor.name === \"Array\" ? \"\" : `${val.constructor.name} `}[${printListItems(val, config, indentation, depth, refs, printer)}]`;\n }\n if (toStringed === \"[object Map]\") {\n return hitMaxDepth ? \"[Map]\" : `Map {${printIteratorEntries(\n val.entries(),\n config,\n indentation,\n depth,\n refs,\n printer,\n \" => \"\n )}}`;\n }\n if (toStringed === \"[object Set]\") {\n return hitMaxDepth ? \"[Set]\" : `Set {${printIteratorValues(\n val.values(),\n config,\n indentation,\n depth,\n refs,\n printer\n )}}`;\n }\n return hitMaxDepth || isWindow(val) ? `[${getConstructorName(val)}]` : `${min ? \"\" : !config.printBasicPrototype && getConstructorName(val) === \"Object\" ? \"\" : `${getConstructorName(val)} `}{${printObjectProperties(\n val,\n config,\n indentation,\n depth,\n refs,\n printer\n )}}`;\n}\nfunction isNewPlugin(plugin) {\n return plugin.serialize != null;\n}\nfunction printPlugin(plugin, val, config, indentation, depth, refs) {\n let printed;\n try {\n printed = isNewPlugin(plugin) ? plugin.serialize(val, config, indentation, depth, refs, printer) : plugin.print(\n val,\n (valChild) => printer(valChild, config, indentation, depth, refs),\n (str) => {\n const indentationNext = indentation + config.indent;\n return indentationNext + str.replaceAll(NEWLINE_REGEXP, `\n${indentationNext}`);\n },\n {\n edgeSpacing: config.spacingOuter,\n min: config.min,\n spacing: config.spacingInner\n },\n config.colors\n );\n } catch (error) {\n throw new PrettyFormatPluginError(error.message, error.stack);\n }\n if (typeof printed !== \"string\") {\n throw new TypeError(\n `pretty-format: Plugin must return type \"string\" but instead returned \"${typeof printed}\".`\n );\n }\n return printed;\n}\nfunction findPlugin(plugins2, val) {\n for (const plugin of plugins2) {\n try {\n if (plugin.test(val)) {\n return plugin;\n }\n } catch (error) {\n throw new PrettyFormatPluginError(error.message, error.stack);\n }\n }\n return null;\n}\nfunction printer(val, config, indentation, depth, refs, hasCalledToJSON) {\n const plugin = findPlugin(config.plugins, val);\n if (plugin !== null) {\n return printPlugin(plugin, val, config, indentation, depth, refs);\n }\n const basicResult = printBasicValue(\n val,\n config.printFunctionName,\n config.escapeRegex,\n config.escapeString\n );\n if (basicResult !== null) {\n return basicResult;\n }\n return printComplexValue(\n val,\n config,\n indentation,\n depth,\n refs,\n hasCalledToJSON\n );\n}\nconst DEFAULT_THEME = {\n comment: \"gray\",\n content: \"reset\",\n prop: \"yellow\",\n tag: \"cyan\",\n value: \"green\"\n};\nconst DEFAULT_THEME_KEYS = Object.keys(DEFAULT_THEME);\nconst DEFAULT_OPTIONS = {\n callToJSON: true,\n compareKeys: void 0,\n escapeRegex: false,\n escapeString: true,\n highlight: false,\n indent: 2,\n maxDepth: Number.POSITIVE_INFINITY,\n maxWidth: Number.POSITIVE_INFINITY,\n min: false,\n plugins: [],\n printBasicPrototype: true,\n printFunctionName: true,\n theme: DEFAULT_THEME\n};\nfunction validateOptions(options) {\n for (const key of Object.keys(options)) {\n if (!Object.prototype.hasOwnProperty.call(DEFAULT_OPTIONS, key)) {\n throw new Error(`pretty-format: Unknown option \"${key}\".`);\n }\n }\n if (options.min && options.indent !== void 0 && options.indent !== 0) {\n throw new Error(\n 'pretty-format: Options \"min\" and \"indent\" cannot be used together.'\n );\n }\n}\nfunction getColorsHighlight() {\n return DEFAULT_THEME_KEYS.reduce((colors, key) => {\n const value = DEFAULT_THEME[key];\n const color = value && styles[value];\n if (color && typeof color.close === \"string\" && typeof color.open === \"string\") {\n colors[key] = color;\n } else {\n throw new Error(\n `pretty-format: Option \"theme\" has a key \"${key}\" whose value \"${value}\" is undefined in ansi-styles.`\n );\n }\n return colors;\n }, /* @__PURE__ */ Object.create(null));\n}\nfunction getColorsEmpty() {\n return DEFAULT_THEME_KEYS.reduce((colors, key) => {\n colors[key] = { close: \"\", open: \"\" };\n return colors;\n }, /* @__PURE__ */ Object.create(null));\n}\nfunction getPrintFunctionName(options) {\n return (options == null ? void 0 : options.printFunctionName) ?? DEFAULT_OPTIONS.printFunctionName;\n}\nfunction getEscapeRegex(options) {\n return (options == null ? void 0 : options.escapeRegex) ?? DEFAULT_OPTIONS.escapeRegex;\n}\nfunction getEscapeString(options) {\n return (options == null ? void 0 : options.escapeString) ?? DEFAULT_OPTIONS.escapeString;\n}\nfunction getConfig(options) {\n return {\n callToJSON: (options == null ? void 0 : options.callToJSON) ?? DEFAULT_OPTIONS.callToJSON,\n colors: (options == null ? void 0 : options.highlight) ? getColorsHighlight() : getColorsEmpty(),\n compareKeys: typeof (options == null ? void 0 : options.compareKeys) === \"function\" || (options == null ? void 0 : options.compareKeys) === null ? options.compareKeys : DEFAULT_OPTIONS.compareKeys,\n escapeRegex: getEscapeRegex(options),\n escapeString: getEscapeString(options),\n indent: (options == null ? void 0 : options.min) ? \"\" : createIndent((options == null ? void 0 : options.indent) ?? DEFAULT_OPTIONS.indent),\n maxDepth: (options == null ? void 0 : options.maxDepth) ?? DEFAULT_OPTIONS.maxDepth,\n maxWidth: (options == null ? void 0 : options.maxWidth) ?? DEFAULT_OPTIONS.maxWidth,\n min: (options == null ? void 0 : options.min) ?? DEFAULT_OPTIONS.min,\n plugins: (options == null ? void 0 : options.plugins) ?? DEFAULT_OPTIONS.plugins,\n printBasicPrototype: (options == null ? void 0 : options.printBasicPrototype) ?? true,\n printFunctionName: getPrintFunctionName(options),\n spacingInner: (options == null ? void 0 : options.min) ? \" \" : \"\\n\",\n spacingOuter: (options == null ? void 0 : options.min) ? \"\" : \"\\n\"\n };\n}\nfunction createIndent(indent) {\n return Array.from({ length: indent + 1 }).join(\" \");\n}\nfunction format(val, options) {\n if (options) {\n validateOptions(options);\n if (options.plugins) {\n const plugin = findPlugin(options.plugins, val);\n if (plugin !== null) {\n return printPlugin(plugin, val, getConfig(options), \"\", 0, []);\n }\n }\n }\n const basicResult = printBasicValue(\n val,\n getPrintFunctionName(options),\n getEscapeRegex(options),\n getEscapeString(options)\n );\n if (basicResult !== null) {\n return basicResult;\n }\n return printComplexValue(val, getConfig(options), \"\", 0, []);\n}\nconst plugins = {\n AsymmetricMatcher: plugin$5,\n DOMCollection: plugin$4,\n DOMElement: plugin$3,\n Immutable: plugin$2,\n ReactElement: plugin$1,\n ReactTestComponent: plugin\n};\n\nexport { DEFAULT_OPTIONS, format, plugins };\n"],"x_google_ignoreList":[0],"mappings":";;;AAEA,SAAS,8BAA8B,QAAQ,aAAa;CAC1D,MAAM,UAAU,OAAO,KAAK,OAAO;CACnC,MAAM,OAAO,gBAAgB,OAAO,UAAU,QAAQ,KAAK,YAAY;AACvE,KAAI,OAAO,uBACT;OAAK,MAAM,UAAU,OAAO,sBAAsB,OAAO,CACvD,KAAI,OAAO,yBAAyB,QAAQ,OAAO,CAAC,WAClD,MAAK,K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AQ,OAAO,MAAM;EAC/D,eAAe,WAAW,OAAO,KAAK,IAAI,QAAQ,OAAO,KAAK;EAC/D;;AAEH,SAAS,aAAa,QAAQ;AAC5B,QAAO,MAAM,KAAK,EAAE,QAAQ,SAAS,GAAG,CAAC,CAAC,KAAK,IAAI;;AAErD,SAAS,OAAO,KAAK,SAAS;AAC5B,KAAI,SAAS;AACX,kBAAgB,QAAQ;AACxB,MAAI,QAAQ,SAAS;GACnB,MAAM,SAAS,WAAW,QAAQ,SAAS,IAAI;AAC/C,OAAI,WAAW,KACb,QAAO,YAAY,QAAQ,KAAK,UAAU,QAAQ,EAAE,IAAI,GAAG,EAAE,CAAC;;;CAIpE,MAAM,cAAc,gBAClB,KACA,qBAAqB,QAAQ,EAC7B,eAAe,QAAQ,EACvB,gBAAgB,QAAQ,CACzB;AACD,KAAI,gBAAgB,KAClB,QAAO;AAET,QAAO,kBAAkB,KAAK,UAAU,QAAQ,EAAE,IAAI,GAAG,EAAE,CAAC;;AAE9D,MAAM,UAAU;CACd,mBAAmB;CACnB,eAAe;CACf,YAAY;CACZ,WAAW;CACX,cAAc;CACd,oBAAoB;CACrB"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
//#region node_modules/@vitest/runner/dist/chunk-tasks.js
|
|
2
|
+
function createChainable(keys, fn) {
|
|
3
|
+
function create(context) {
|
|
4
|
+
const chain2 = function(...args) {
|
|
5
|
+
return fn.apply(context, args);
|
|
6
|
+
};
|
|
7
|
+
Object.assign(chain2, fn);
|
|
8
|
+
chain2.withContext = () => chain2.bind(context);
|
|
9
|
+
chain2.setContext = (key, value) => {
|
|
10
|
+
context[key] = value;
|
|
11
|
+
};
|
|
12
|
+
chain2.mergeContext = (ctx) => {
|
|
13
|
+
Object.assign(context, ctx);
|
|
14
|
+
};
|
|
15
|
+
for (const key of keys) Object.defineProperty(chain2, key, { get() {
|
|
16
|
+
return create({
|
|
17
|
+
...context,
|
|
18
|
+
[key]: true
|
|
19
|
+
});
|
|
20
|
+
} });
|
|
21
|
+
return chain2;
|
|
22
|
+
}
|
|
23
|
+
const chain = create({});
|
|
24
|
+
chain.fn = fn;
|
|
25
|
+
return chain;
|
|
26
|
+
}
|
|
27
|
+
function getNames(task) {
|
|
28
|
+
const names = [task.name];
|
|
29
|
+
let current = task;
|
|
30
|
+
while (current == null ? void 0 : current.suite) {
|
|
31
|
+
current = current.suite;
|
|
32
|
+
if (current == null ? void 0 : current.name) names.unshift(current.name);
|
|
33
|
+
}
|
|
34
|
+
if (current !== task.file) names.unshift(task.file.name);
|
|
35
|
+
return names;
|
|
36
|
+
}
|
|
37
|
+
function getTestName(task, separator = " > ") {
|
|
38
|
+
return getNames(task).slice(1).join(separator);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
//#endregion
|
|
42
|
+
export { createChainable, getNames, getTestName };
|
|
43
|
+
//# sourceMappingURL=chunk-tasks.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chunk-tasks.mjs","names":[],"sources":["../../../../../node_modules/@vitest/runner/dist/chunk-tasks.js"],"sourcesContent":["import { processError } from '@vitest/utils/error';\nimport { relative } from 'pathe';\nimport { toArray } from '@vitest/utils';\n\nfunction createChainable(keys, fn) {\n function create(context) {\n const chain2 = function(...args) {\n return fn.apply(context, args);\n };\n Object.assign(chain2, fn);\n chain2.withContext = () => chain2.bind(context);\n chain2.setContext = (key, value) => {\n context[key] = value;\n };\n chain2.mergeContext = (ctx) => {\n Object.assign(context, ctx);\n };\n for (const key of keys) {\n Object.defineProperty(chain2, key, {\n get() {\n return create({ ...context, [key]: true });\n }\n });\n }\n return chain2;\n }\n const chain = create({});\n chain.fn = fn;\n return chain;\n}\n\nfunction interpretTaskModes(suite, namePattern, onlyMode, parentIsOnly, allowOnly) {\n const suiteIsOnly = parentIsOnly || suite.mode === \"only\";\n suite.tasks.forEach((t) => {\n const includeTask = suiteIsOnly || t.mode === \"only\";\n if (onlyMode) {\n if (t.type === \"suite\" && (includeTask || someTasksAreOnly(t))) {\n if (t.mode === \"only\") {\n checkAllowOnly(t, allowOnly);\n t.mode = \"run\";\n }\n } else if (t.mode === \"run\" && !includeTask) {\n t.mode = \"skip\";\n } else if (t.mode === \"only\") {\n checkAllowOnly(t, allowOnly);\n t.mode = \"run\";\n }\n }\n if (t.type === \"test\") {\n if (namePattern && !getTaskFullName(t).match(namePattern)) {\n t.mode = \"skip\";\n }\n } else if (t.type === \"suite\") {\n if (t.mode === \"skip\") {\n skipAllTasks(t);\n } else {\n interpretTaskModes(t, namePattern, onlyMode, includeTask, allowOnly);\n }\n }\n });\n if (suite.mode === \"run\") {\n if (suite.tasks.length && suite.tasks.every((i) => i.mode !== \"run\")) {\n suite.mode = \"skip\";\n }\n }\n}\nfunction getTaskFullName(task) {\n return `${task.suite ? `${getTaskFullName(task.suite)} ` : \"\"}${task.name}`;\n}\nfunction someTasksAreOnly(suite) {\n return suite.tasks.some(\n (t) => t.mode === \"only\" || t.type === \"suite\" && someTasksAreOnly(t)\n );\n}\nfunction skipAllTasks(suite) {\n suite.tasks.forEach((t) => {\n if (t.mode === \"run\") {\n t.mode = \"skip\";\n if (t.type === \"suite\") {\n skipAllTasks(t);\n }\n }\n });\n}\nfunction checkAllowOnly(task, allowOnly) {\n if (allowOnly) {\n return;\n }\n const error = processError(\n new Error(\n \"[Vitest] Unexpected .only modifier. Remove it or pass --allowOnly argument to bypass this error\"\n )\n );\n task.result = {\n state: \"fail\",\n errors: [error]\n };\n}\nfunction generateHash(str) {\n let hash = 0;\n if (str.length === 0) {\n return `${hash}`;\n }\n for (let i = 0; i < str.length; i++) {\n const char = str.charCodeAt(i);\n hash = (hash << 5) - hash + char;\n hash = hash & hash;\n }\n return `${hash}`;\n}\nfunction calculateSuiteHash(parent) {\n parent.tasks.forEach((t, idx) => {\n t.id = `${parent.id}_${idx}`;\n if (t.type === \"suite\") {\n calculateSuiteHash(t);\n }\n });\n}\nfunction createFileTask(filepath, root, projectName, pool) {\n const path = relative(root, filepath);\n const file = {\n id: generateHash(`${path}${projectName || \"\"}`),\n name: path,\n type: \"suite\",\n mode: \"run\",\n filepath,\n tasks: [],\n meta: /* @__PURE__ */ Object.create(null),\n projectName,\n file: void 0,\n pool\n };\n file.file = file;\n return file;\n}\n\nfunction limitConcurrency(concurrency = Infinity) {\n let count = 0;\n let head;\n let tail;\n const finish = () => {\n count--;\n if (head) {\n head[0]();\n head = head[1];\n tail = head && tail;\n }\n };\n return (func, ...args) => {\n return new Promise((resolve) => {\n if (count++ < concurrency) {\n resolve();\n } else if (tail) {\n tail = tail[1] = [resolve];\n } else {\n head = tail = [resolve];\n }\n }).then(() => {\n return func(...args);\n }).finally(finish);\n };\n}\n\nfunction partitionSuiteChildren(suite) {\n let tasksGroup = [];\n const tasksGroups = [];\n for (const c of suite.tasks) {\n if (tasksGroup.length === 0 || c.concurrent === tasksGroup[0].concurrent) {\n tasksGroup.push(c);\n } else {\n tasksGroups.push(tasksGroup);\n tasksGroup = [c];\n }\n }\n if (tasksGroup.length > 0) {\n tasksGroups.push(tasksGroup);\n }\n return tasksGroups;\n}\n\nfunction isAtomTest(s) {\n return s.type === \"test\" || s.type === \"custom\";\n}\nfunction getTests(suite) {\n const tests = [];\n const arraySuites = toArray(suite);\n for (const s of arraySuites) {\n if (isAtomTest(s)) {\n tests.push(s);\n } else {\n for (const task of s.tasks) {\n if (isAtomTest(task)) {\n tests.push(task);\n } else {\n const taskTests = getTests(task);\n for (const test of taskTests) {\n tests.push(test);\n }\n }\n }\n }\n }\n return tests;\n}\nfunction getTasks(tasks = []) {\n return toArray(tasks).flatMap(\n (s) => isAtomTest(s) ? [s] : [s, ...getTasks(s.tasks)]\n );\n}\nfunction getSuites(suite) {\n return toArray(suite).flatMap(\n (s) => s.type === \"suite\" ? [s, ...getSuites(s.tasks)] : []\n );\n}\nfunction hasTests(suite) {\n return toArray(suite).some(\n (s) => s.tasks.some((c) => isAtomTest(c) || hasTests(c))\n );\n}\nfunction hasFailed(suite) {\n return toArray(suite).some(\n (s) => {\n var _a;\n return ((_a = s.result) == null ? void 0 : _a.state) === \"fail\" || s.type === \"suite\" && hasFailed(s.tasks);\n }\n );\n}\nfunction getNames(task) {\n const names = [task.name];\n let current = task;\n while (current == null ? void 0 : current.suite) {\n current = current.suite;\n if (current == null ? void 0 : current.name) {\n names.unshift(current.name);\n }\n }\n if (current !== task.file) {\n names.unshift(task.file.name);\n }\n return names;\n}\nfunction getFullName(task, separator = \" > \") {\n return getNames(task).join(separator);\n}\nfunction getTestName(task, separator = \" > \") {\n return getNames(task).slice(1).join(separator);\n}\n\nexport { calculateSuiteHash as a, createFileTask as b, createChainable as c, getFullName as d, getNames as e, getSuites as f, generateHash as g, getTasks as h, interpretTaskModes as i, getTestName as j, getTests as k, limitConcurrency as l, hasFailed as m, hasTests as n, isAtomTest as o, partitionSuiteChildren as p, someTasksAreOnly as s };\n"],"x_google_ignoreList":[0],"mappings":";AAIA,SAAS,gBAAgB,MAAM,IAAI;CACjC,SAAS,OAAO,SAAS;EACvB,MAAM,SAAS,SAAS,GAAG,MAAM;AAC/B,UAAO,GAAG,MAAM,SAAS,KAAK;;AAEhC,SAAO,OAAO,QAAQ,GAAG;AACzB,SAAO,oBAAoB,OAAO,KAAK,QAAQ;AAC/C,SAAO,cAAc,KAAK,UAAU;AAClC,WAAQ,OAAO;;AAEjB,SAAO,gBAAgB,QAAQ;AAC7B,UAAO,OAAO,SAAS,IAAI;;AAE7B,OAAK,MAAM,OAAO,KAChB,QAAO,eAAe,QAAQ,KAAK,EACjC,MAAM;AACJ,UAAO,OAAO;IAAE,GAAG;KAAU,MAAM;IAAM,CAAC;KAE7C,CAAC;AAEJ,SAAO;;CAET,MAAM,QAAQ,OAAO,EAAE,CAAC;AACxB,OAAM,KAAK;AACX,QAAO;;AAuMT,SAAS,SAAS,MAAM;CACtB,MAAM,QAAQ,CAAC,KAAK,KAAK;CACzB,IAAI,UAAU;AACd,QAAO,WAAW,OAAO,KAAK,IAAI,QAAQ,OAAO;AAC/C,YAAU,QAAQ;AAClB,MAAI,WAAW,OAAO,KAAK,IAAI,QAAQ,KACrC,OAAM,QAAQ,QAAQ,KAAK;;AAG/B,KAAI,YAAY,KAAK,KACnB,OAAM,QAAQ,KAAK,KAAK,KAAK;AAE/B,QAAO;;AAKT,SAAS,YAAY,MAAM,YAAY,OAAO;AAC5C,QAAO,SAAS,KAAK,CAAC,MAAM,EAAE,CAAC,KAAK,UAAU"}
|