@contember/react-multipass-rendering 1.1.0-beta.4 → 1.1.0-rc.12
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/development/ChildrenAnalyzer.js +4 -4
- package/dist/development/ChildrenAnalyzer.js.map +1 -1
- package/dist/development/ChildrenAnalyzerError.js.map +1 -1
- package/dist/development/nodeSpecs/BranchNode.js +1 -1
- package/dist/development/nodeSpecs/BranchNode.js.map +1 -1
- package/dist/development/nodeSpecs/Leaf.js.map +1 -1
- package/dist/production/ChildrenAnalyzer.js +4 -4
- package/dist/production/ChildrenAnalyzer.js.map +1 -1
- package/dist/production/ChildrenAnalyzerError.js.map +1 -1
- package/dist/production/nodeSpecs/BranchNode.js +1 -1
- package/dist/production/nodeSpecs/BranchNode.js.map +1 -1
- package/dist/production/nodeSpecs/Leaf.js.map +1 -1
- package/dist/types/BranchNodeList.d.ts +1 -1
- package/dist/types/BranchNodeList.d.ts.map +1 -1
- package/dist/types/ErrorMessageFactory.d.ts +1 -1
- package/dist/types/ErrorMessageFactory.d.ts.map +1 -1
- package/dist/types/LeafList.d.ts +1 -1
- package/dist/types/LeafList.d.ts.map +1 -1
- package/dist/types/nodeSpecs/RawNodeRepresentation.d.ts +1 -1
- package/dist/types/nodeSpecs/RawNodeRepresentation.d.ts.map +1 -1
- package/dist/types/nodeSpecs/types/ChildrenRepresentationReducer.d.ts +1 -1
- package/dist/types/nodeSpecs/types/ChildrenRepresentationReducer.d.ts.map +1 -1
- package/dist/types/nodeSpecs/types/ConstrainedLeafRepresentationFactory.d.ts +1 -1
- package/dist/types/nodeSpecs/types/ConstrainedLeafRepresentationFactory.d.ts.map +1 -1
- package/dist/types/nodeSpecs/types/DeclarationSiteNodeRepresentationFactory.d.ts +1 -1
- package/dist/types/nodeSpecs/types/DeclarationSiteNodeRepresentationFactory.d.ts.map +1 -1
- package/dist/types/nodeSpecs/types/RepresentationFactorySite.d.ts +1 -1
- package/dist/types/nodeSpecs/types/RepresentationFactorySite.d.ts.map +1 -1
- package/dist/types/nodeSpecs/types/StaticContextFactory.d.ts +1 -1
- package/dist/types/nodeSpecs/types/StaticContextFactory.d.ts.map +1 -1
- package/dist/types/nodeSpecs/types/SyntheticChildrenFactory.d.ts +1 -1
- package/dist/types/nodeSpecs/types/SyntheticChildrenFactory.d.ts.map +1 -1
- package/dist/types/nodeSpecs/types/UnconstrainedLeafRepresentationFactory.d.ts +1 -1
- package/dist/types/nodeSpecs/types/UnconstrainedLeafRepresentationFactory.d.ts.map +1 -1
- package/dist/types/nodeSpecs/types/UseSiteBranchNodeRepresentationFactory.d.ts +1 -1
- package/dist/types/nodeSpecs/types/UseSiteBranchNodeRepresentationFactory.d.ts.map +1 -1
- package/dist/types/nodeSpecs/types/ValidFactoryName.d.ts +1 -1
- package/dist/types/nodeSpecs/types/ValidFactoryName.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +9 -7
- package/LICENSE +0 -186
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import { assertNever } from "./assertNever.js";
|
|
2
|
+
import { ChildrenAnalyzerError } from "./ChildrenAnalyzerError.js";
|
|
3
|
+
import { wrapError } from "./helpers/wrapError.js";
|
|
4
|
+
import { getErrorMessage } from "./helpers/getErrorMessage.js";
|
|
1
5
|
var __defProp = Object.defineProperty;
|
|
2
6
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
7
|
var __publicField = (obj, key, value) => {
|
|
4
8
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
9
|
return value;
|
|
6
10
|
};
|
|
7
|
-
import { assertNever } from "./assertNever.js";
|
|
8
|
-
import { ChildrenAnalyzerError } from "./ChildrenAnalyzerError.js";
|
|
9
|
-
import { wrapError } from "./helpers/wrapError.js";
|
|
10
|
-
import { getErrorMessage } from "./helpers/getErrorMessage.js";
|
|
11
11
|
const _ChildrenAnalyzer = class {
|
|
12
12
|
constructor(leaves, decider = [], options = {}) {
|
|
13
13
|
__publicField(this, "leaves");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChildrenAnalyzer.js","sources":["../../src/ChildrenAnalyzer.ts"],"sourcesContent":["import type { ElementType, ReactElement, ReactNode } from 'react'\nimport { assertNever } from './assertNever'\nimport type { BranchNodeList } from './BranchNodeList'\nimport { ChildrenAnalyzerError } from './ChildrenAnalyzerError'\nimport type { ChildrenAnalyzerOptions } from './ChildrenAnalyzerOptions'\nimport { getErrorMessage } from './helpers'\nimport type { LeafList } from './LeafList'\nimport type {\n\tDeclarationSiteNodeRepresentationFactory,\n\tRawNodeRepresentation,\n\tStaticContextFactory,\n\tSyntheticChildrenFactory,\n\tUnconstrainedLeafRepresentationFactory,\n\tValidFactoryName,\n} from './nodeSpecs'\nimport { wrapError } from './helpers/wrapError'\n\nexport class ChildrenAnalyzer<\n\tAllLeavesRepresentation = any,\n\tAllBranchNodesRepresentation = never,\n\tStaticContext = undefined,\n> {\n\tprivate static defaultOptions: ChildrenAnalyzerOptions = {\n\t\tignoreRenderProps: true,\n\t\trenderPropsErrorMessage: 'Render props (functions as React component children) are not supported.',\n\n\t\tignoreUnhandledNodes: true,\n\t\tunhandledNodeErrorMessage: 'Encountered an unknown child.',\n\n\t\tstaticContextFactoryName: 'getStaticContext',\n\t\tstaticRenderFactoryName: 'staticRender',\n\t}\n\n\tprivate readonly leaves: LeafList<AllLeavesRepresentation, StaticContext>\n\tprivate readonly branchNodes: BranchNodeList<AllLeavesRepresentation, AllBranchNodesRepresentation, StaticContext>\n\tprivate readonly options: ChildrenAnalyzerOptions<StaticContext>\n\n\tpublic constructor(\n\t\tleaves: LeafList<AllLeavesRepresentation, StaticContext>,\n\t\toptions?: Partial<ChildrenAnalyzerOptions>,\n\t)\n\tpublic constructor(\n\t\tleaves: LeafList<AllLeavesRepresentation, StaticContext>,\n\t\tbranchNodes: BranchNodeList<AllLeavesRepresentation, AllBranchNodesRepresentation, StaticContext>,\n\t\toptions?: Partial<ChildrenAnalyzerOptions>,\n\t)\n\tpublic constructor(\n\t\tleaves: LeafList<AllLeavesRepresentation, StaticContext>,\n\t\tdecider:\n\t\t\t| Partial<ChildrenAnalyzerOptions>\n\t\t\t| BranchNodeList<AllLeavesRepresentation, AllBranchNodesRepresentation, StaticContext> = [],\n\t\toptions: Partial<ChildrenAnalyzerOptions> = {},\n\t) {\n\t\tthis.leaves = leaves\n\n\t\tif (Array.isArray(decider)) {\n\t\t\tthis.branchNodes = decider\n\t\t} else {\n\t\t\tthis.branchNodes = []\n\t\t\toptions = decider\n\t\t}\n\t\tthis.options = { ...ChildrenAnalyzer.defaultOptions, ...options }\n\t}\n\n\tpublic processChildren(\n\t\tchildren: ReactNode,\n\t\tinitialStaticContext: StaticContext,\n\t): Array<AllLeavesRepresentation | AllBranchNodesRepresentation> {\n\t\tconst processed = this.processNode(children, initialStaticContext, [])\n\n\t\tconst rawResult: Array<AllLeavesRepresentation | AllBranchNodesRepresentation | undefined> = Array.isArray(\n\t\t\tprocessed,\n\t\t)\n\t\t\t? processed\n\t\t\t: [processed]\n\n\t\treturn rawResult.filter(\n\t\t\t(item): item is AllLeavesRepresentation | AllBranchNodesRepresentation => item !== undefined,\n\t\t)\n\t}\n\n\tprivate processNode(\n\t\tnode: ReactNode,\n\t\tstaticContext: StaticContext,\n\t\tcomponentPath: ReactElement[],\n\t): RawNodeRepresentation<AllLeavesRepresentation, AllBranchNodesRepresentation> {\n\t\tif (!node || typeof node === 'string' || typeof node === 'number' || typeof node === 'boolean') {\n\t\t\tfor (const leaf of this.leaves) {\n\t\t\t\tconst specification = leaf.specification\n\t\t\t\tif (specification.type === 'useSite') {\n\t\t\t\t\tconst { ComponentType, factory } = specification\n\t\t\t\t\tif (ComponentType === undefined) {\n\t\t\t\t\t\treturn factory(node, staticContext)\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (node === false || node === undefined || node === null) {\n\t\t\t\t// This adds seamless support for conditionals and such.\n\t\t\t\treturn undefined\n\t\t\t}\n\t\t\tif (!this.options.ignoreUnhandledNodes) {\n\t\t\t\tthrow new ChildrenAnalyzerError(getErrorMessage(this.options.unhandledNodeErrorMessage, node, staticContext))\n\t\t\t}\n\t\t\treturn undefined\n\t\t}\n\n\t\tif (typeof node === 'function') {\n\t\t\tif (this.options.ignoreRenderProps) {\n\t\t\t\treturn undefined\n\t\t\t}\n\t\t\tthrow new ChildrenAnalyzerError(getErrorMessage(this.options.renderPropsErrorMessage, node, staticContext))\n\t\t}\n\n\t\tif (Array.isArray(node)) {\n\t\t\tlet mapped: Array<AllLeavesRepresentation | AllBranchNodesRepresentation> = []\n\n\t\t\tfor (const subNode of node) {\n\t\t\t\tconst processed = this.processNode(subNode, staticContext, componentPath)\n\n\t\t\t\tif (processed !== undefined) {\n\t\t\t\t\tif (Array.isArray(processed)) {\n\t\t\t\t\t\tmapped = mapped.concat(processed)\n\t\t\t\t\t} else {\n\t\t\t\t\t\tmapped.push(processed)\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn mapped\n\t\t}\n\n\t\tlet children: ReactNode = undefined\n\n\t\tif (!('type' in node)) {\n\t\t\treturn this.processNode(children, staticContext, componentPath)\n\t\t}\n\t\tchildren = node.props.children\n\n\t\tif (typeof node.type === 'symbol') {\n\t\t\t// Fragment, Portal or other non-component\n\t\t\treturn this.processNode(children, staticContext, componentPath)\n\t\t}\n\t\t// if (typeof node.type === 'string') {\n\t\t// \t// Typically a host component\n\t\t// \tif (!this.options.ignoreUnhandledNodes) {\n\t\t// \t\tthrow new ChildrenAnalyzerError(getErrorMessage(this.options.unhandledNodeErrorMessage, node, staticContext))\n\t\t// \t}\n\t\t// \treturn this.processNode(children, staticContext)\n\t\t// }\n\n\t\t// Component, PureComponent, FunctionComponent\n\n\t\tconst treeNode = node.type as ElementType &\n\t\t\t{\n\t\t\t\t[staticMethod in ValidFactoryName]:\n\t\t\t\t\t| StaticContextFactory<any, StaticContext>\n\t\t\t\t\t| SyntheticChildrenFactory<any, StaticContext>\n\t\t\t\t\t| UnconstrainedLeafRepresentationFactory<any, AllLeavesRepresentation, StaticContext>\n\t\t\t\t\t| DeclarationSiteNodeRepresentationFactory<any, unknown, AllBranchNodesRepresentation, StaticContext>\n\t\t\t}\n\n\t\tcomponentPath = [...componentPath, node]\n\t\tif (typeof treeNode !== 'string') {\n\t\t\tif (this.options.staticContextFactoryName in treeNode) {\n\t\t\t\tconst staticContextFactory = treeNode[this.options.staticContextFactoryName] as StaticContextFactory<\n\t\t\t\t\tany,\n\t\t\t\t\tStaticContext\n\t\t\t\t>\n\t\t\t\ttry {\n\t\t\t\t\tstaticContext = staticContextFactory(node.props, staticContext)\n\t\t\t\t} catch (e) {\n\t\t\t\t\twrapError(e, treeNode.displayName ?? '???', this.options.staticContextFactoryName, componentPath)\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (this.options.staticRenderFactoryName in treeNode) {\n\t\t\t\tconst factory = treeNode[this.options.staticRenderFactoryName] as SyntheticChildrenFactory<any, StaticContext>\n\t\t\t\ttry {\n\t\t\t\t\tchildren = factory(node.props, staticContext)\n\t\t\t\t} catch (e) {\n\t\t\t\t\twrapError(e, treeNode.displayName ?? '???', this.options.staticRenderFactoryName, componentPath)\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (const leaf of this.leaves) {\n\t\t\tconst specification = leaf.specification\n\t\t\tswitch (specification.type) {\n\t\t\t\tcase 'declarationSite': {\n\t\t\t\t\tconst { factoryMethodName } = specification\n\n\t\t\t\t\tif (typeof treeNode !== 'string' && factoryMethodName in treeNode) {\n\t\t\t\t\t\tconst factory = treeNode[factoryMethodName] as UnconstrainedLeafRepresentationFactory<\n\t\t\t\t\t\t\tany,\n\t\t\t\t\t\t\tAllBranchNodesRepresentation | AllLeavesRepresentation,\n\t\t\t\t\t\t\tStaticContext\n\t\t\t\t\t\t>\n\t\t\t\t\t\treturn factory(node.props, staticContext)\n\t\t\t\t\t}\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t\tcase 'useSite': {\n\t\t\t\t\tconst { ComponentType, factory } = specification\n\t\t\t\t\tif (ComponentType === undefined || node.type === ComponentType) {\n\t\t\t\t\t\treturn factory(node, staticContext)\n\t\t\t\t\t}\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t\tdefault:\n\t\t\t\t\treturn assertNever(specification)\n\t\t\t}\n\t\t}\n\n\t\tconst processedChildren = this.processNode(children, staticContext, componentPath)\n\n\t\tfor (const branchNode of this.branchNodes) {\n\t\t\tconst specification = branchNode.specification\n\t\t\tswitch (specification.type) {\n\t\t\t\tcase 'declarationSite': {\n\t\t\t\t\tconst { factoryMethodName, childrenRepresentationReducer } = specification\n\n\t\t\t\t\tif (typeof treeNode !== 'string' && factoryMethodName in treeNode) {\n\t\t\t\t\t\tif (processedChildren === undefined && !branchNode.options.childrenAreOptional) {\n\t\t\t\t\t\t\tthrow new ChildrenAnalyzerError(branchNode.options.childrenAbsentErrorMessage)\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst factory = treeNode[factoryMethodName] as DeclarationSiteNodeRepresentationFactory<\n\t\t\t\t\t\t\tany,\n\t\t\t\t\t\t\tunknown,\n\t\t\t\t\t\t\tAllBranchNodesRepresentation | AllLeavesRepresentation,\n\t\t\t\t\t\t\tStaticContext\n\t\t\t\t\t\t>\n\t\t\t\t\t\treturn factory(node.props, childrenRepresentationReducer(processedChildren), staticContext)\n\t\t\t\t\t}\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t\tcase 'useSite': {\n\t\t\t\t\tconst { factory, ComponentType } = specification\n\t\t\t\t\tif (ComponentType === undefined || node.type === ComponentType) {\n\t\t\t\t\t\tif (processedChildren === undefined && !branchNode.options.childrenAreOptional) {\n\t\t\t\t\t\t\tthrow new ChildrenAnalyzerError(branchNode.options.childrenAbsentErrorMessage)\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn factory(node, processedChildren, staticContext)\n\t\t\t\t\t}\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t\tdefault:\n\t\t\t\t\treturn assertNever(specification)\n\t\t\t}\n\t\t}\n\n\t\tif (\n\t\t\t!this.options.ignoreUnhandledNodes &&\n\t\t\t!(typeof treeNode !== 'string' && this.options.staticRenderFactoryName in treeNode)\n\t\t) {\n\t\t\tthrow new ChildrenAnalyzerError(getErrorMessage(this.options.unhandledNodeErrorMessage, node, staticContext))\n\t\t}\n\n\t\treturn processedChildren\n\t}\n}\n"],"names":[],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"ChildrenAnalyzer.js","sources":["../../src/ChildrenAnalyzer.ts"],"sourcesContent":["import type { ElementType, ReactElement, ReactNode } from 'react'\nimport { assertNever } from './assertNever'\nimport type { BranchNodeList } from './BranchNodeList'\nimport { ChildrenAnalyzerError } from './ChildrenAnalyzerError'\nimport type { ChildrenAnalyzerOptions } from './ChildrenAnalyzerOptions'\nimport { getErrorMessage } from './helpers'\nimport type { LeafList } from './LeafList'\nimport type {\n\tDeclarationSiteNodeRepresentationFactory,\n\tRawNodeRepresentation,\n\tStaticContextFactory,\n\tSyntheticChildrenFactory,\n\tUnconstrainedLeafRepresentationFactory,\n\tValidFactoryName,\n} from './nodeSpecs'\nimport { wrapError } from './helpers/wrapError'\n\nexport class ChildrenAnalyzer<\n\tAllLeavesRepresentation = any,\n\tAllBranchNodesRepresentation = never,\n\tStaticContext = undefined,\n> {\n\tprivate static defaultOptions: ChildrenAnalyzerOptions = {\n\t\tignoreRenderProps: true,\n\t\trenderPropsErrorMessage: 'Render props (functions as React component children) are not supported.',\n\n\t\tignoreUnhandledNodes: true,\n\t\tunhandledNodeErrorMessage: 'Encountered an unknown child.',\n\n\t\tstaticContextFactoryName: 'getStaticContext',\n\t\tstaticRenderFactoryName: 'staticRender',\n\t}\n\n\tprivate readonly leaves: LeafList<AllLeavesRepresentation, StaticContext>\n\tprivate readonly branchNodes: BranchNodeList<AllLeavesRepresentation, AllBranchNodesRepresentation, StaticContext>\n\tprivate readonly options: ChildrenAnalyzerOptions<StaticContext>\n\n\tpublic constructor(\n\t\tleaves: LeafList<AllLeavesRepresentation, StaticContext>,\n\t\toptions?: Partial<ChildrenAnalyzerOptions>,\n\t)\n\tpublic constructor(\n\t\tleaves: LeafList<AllLeavesRepresentation, StaticContext>,\n\t\tbranchNodes: BranchNodeList<AllLeavesRepresentation, AllBranchNodesRepresentation, StaticContext>,\n\t\toptions?: Partial<ChildrenAnalyzerOptions>,\n\t)\n\tpublic constructor(\n\t\tleaves: LeafList<AllLeavesRepresentation, StaticContext>,\n\t\tdecider:\n\t\t\t| Partial<ChildrenAnalyzerOptions>\n\t\t\t| BranchNodeList<AllLeavesRepresentation, AllBranchNodesRepresentation, StaticContext> = [],\n\t\toptions: Partial<ChildrenAnalyzerOptions> = {},\n\t) {\n\t\tthis.leaves = leaves\n\n\t\tif (Array.isArray(decider)) {\n\t\t\tthis.branchNodes = decider\n\t\t} else {\n\t\t\tthis.branchNodes = []\n\t\t\toptions = decider\n\t\t}\n\t\tthis.options = { ...ChildrenAnalyzer.defaultOptions, ...options }\n\t}\n\n\tpublic processChildren(\n\t\tchildren: ReactNode,\n\t\tinitialStaticContext: StaticContext,\n\t): Array<AllLeavesRepresentation | AllBranchNodesRepresentation> {\n\t\tconst processed = this.processNode(children, initialStaticContext, [])\n\n\t\tconst rawResult: Array<AllLeavesRepresentation | AllBranchNodesRepresentation | undefined> = Array.isArray(\n\t\t\tprocessed,\n\t\t)\n\t\t\t? processed\n\t\t\t: [processed]\n\n\t\treturn rawResult.filter(\n\t\t\t(item): item is AllLeavesRepresentation | AllBranchNodesRepresentation => item !== undefined,\n\t\t)\n\t}\n\n\tprivate processNode(\n\t\tnode: ReactNode,\n\t\tstaticContext: StaticContext,\n\t\tcomponentPath: ReactElement[],\n\t): RawNodeRepresentation<AllLeavesRepresentation, AllBranchNodesRepresentation> {\n\t\tif (!node || typeof node === 'string' || typeof node === 'number' || typeof node === 'boolean') {\n\t\t\tfor (const leaf of this.leaves) {\n\t\t\t\tconst specification = leaf.specification\n\t\t\t\tif (specification.type === 'useSite') {\n\t\t\t\t\tconst { ComponentType, factory } = specification\n\t\t\t\t\tif (ComponentType === undefined) {\n\t\t\t\t\t\treturn factory(node, staticContext)\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (node === false || node === undefined || node === null) {\n\t\t\t\t// This adds seamless support for conditionals and such.\n\t\t\t\treturn undefined\n\t\t\t}\n\t\t\tif (!this.options.ignoreUnhandledNodes) {\n\t\t\t\tthrow new ChildrenAnalyzerError(getErrorMessage(this.options.unhandledNodeErrorMessage, node, staticContext))\n\t\t\t}\n\t\t\treturn undefined\n\t\t}\n\n\t\tif (typeof node === 'function') {\n\t\t\tif (this.options.ignoreRenderProps) {\n\t\t\t\treturn undefined\n\t\t\t}\n\t\t\tthrow new ChildrenAnalyzerError(getErrorMessage(this.options.renderPropsErrorMessage, node, staticContext))\n\t\t}\n\n\t\tif (Array.isArray(node)) {\n\t\t\tlet mapped: Array<AllLeavesRepresentation | AllBranchNodesRepresentation> = []\n\n\t\t\tfor (const subNode of node) {\n\t\t\t\tconst processed = this.processNode(subNode, staticContext, componentPath)\n\n\t\t\t\tif (processed !== undefined) {\n\t\t\t\t\tif (Array.isArray(processed)) {\n\t\t\t\t\t\tmapped = mapped.concat(processed)\n\t\t\t\t\t} else {\n\t\t\t\t\t\tmapped.push(processed)\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn mapped\n\t\t}\n\n\t\tlet children: ReactNode = undefined\n\n\t\tif (!('type' in node)) {\n\t\t\treturn this.processNode(children, staticContext, componentPath)\n\t\t}\n\t\tchildren = node.props.children\n\n\t\tif (typeof node.type === 'symbol') {\n\t\t\t// Fragment, Portal or other non-component\n\t\t\treturn this.processNode(children, staticContext, componentPath)\n\t\t}\n\t\t// if (typeof node.type === 'string') {\n\t\t// \t// Typically a host component\n\t\t// \tif (!this.options.ignoreUnhandledNodes) {\n\t\t// \t\tthrow new ChildrenAnalyzerError(getErrorMessage(this.options.unhandledNodeErrorMessage, node, staticContext))\n\t\t// \t}\n\t\t// \treturn this.processNode(children, staticContext)\n\t\t// }\n\n\t\t// Component, PureComponent, FunctionComponent\n\n\t\tconst treeNode = node.type as ElementType &\n\t\t\t{\n\t\t\t\t[staticMethod in ValidFactoryName]:\n\t\t\t\t\t| StaticContextFactory<any, StaticContext>\n\t\t\t\t\t| SyntheticChildrenFactory<any, StaticContext>\n\t\t\t\t\t| UnconstrainedLeafRepresentationFactory<any, AllLeavesRepresentation, StaticContext>\n\t\t\t\t\t| DeclarationSiteNodeRepresentationFactory<any, unknown, AllBranchNodesRepresentation, StaticContext>\n\t\t\t}\n\n\t\tcomponentPath = [...componentPath, node]\n\t\tif (typeof treeNode !== 'string') {\n\t\t\tif (this.options.staticContextFactoryName in treeNode) {\n\t\t\t\tconst staticContextFactory = treeNode[this.options.staticContextFactoryName] as StaticContextFactory<\n\t\t\t\t\tany,\n\t\t\t\t\tStaticContext\n\t\t\t\t>\n\t\t\t\ttry {\n\t\t\t\t\tstaticContext = staticContextFactory(node.props, staticContext)\n\t\t\t\t} catch (e) {\n\t\t\t\t\twrapError(e, treeNode.displayName ?? '???', this.options.staticContextFactoryName, componentPath)\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (this.options.staticRenderFactoryName in treeNode) {\n\t\t\t\tconst factory = treeNode[this.options.staticRenderFactoryName] as SyntheticChildrenFactory<any, StaticContext>\n\t\t\t\ttry {\n\t\t\t\t\tchildren = factory(node.props, staticContext)\n\t\t\t\t} catch (e) {\n\t\t\t\t\twrapError(e, treeNode.displayName ?? '???', this.options.staticRenderFactoryName, componentPath)\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (const leaf of this.leaves) {\n\t\t\tconst specification = leaf.specification\n\t\t\tswitch (specification.type) {\n\t\t\t\tcase 'declarationSite': {\n\t\t\t\t\tconst { factoryMethodName } = specification\n\n\t\t\t\t\tif (typeof treeNode !== 'string' && factoryMethodName in treeNode) {\n\t\t\t\t\t\tconst factory = treeNode[factoryMethodName] as UnconstrainedLeafRepresentationFactory<\n\t\t\t\t\t\t\tany,\n\t\t\t\t\t\t\tAllBranchNodesRepresentation | AllLeavesRepresentation,\n\t\t\t\t\t\t\tStaticContext\n\t\t\t\t\t\t>\n\t\t\t\t\t\treturn factory(node.props, staticContext)\n\t\t\t\t\t}\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t\tcase 'useSite': {\n\t\t\t\t\tconst { ComponentType, factory } = specification\n\t\t\t\t\tif (ComponentType === undefined || node.type === ComponentType) {\n\t\t\t\t\t\treturn factory(node, staticContext)\n\t\t\t\t\t}\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t\tdefault:\n\t\t\t\t\treturn assertNever(specification)\n\t\t\t}\n\t\t}\n\n\t\tconst processedChildren = this.processNode(children, staticContext, componentPath)\n\n\t\tfor (const branchNode of this.branchNodes) {\n\t\t\tconst specification = branchNode.specification\n\t\t\tswitch (specification.type) {\n\t\t\t\tcase 'declarationSite': {\n\t\t\t\t\tconst { factoryMethodName, childrenRepresentationReducer } = specification\n\n\t\t\t\t\tif (typeof treeNode !== 'string' && factoryMethodName in treeNode) {\n\t\t\t\t\t\tif (processedChildren === undefined && !branchNode.options.childrenAreOptional) {\n\t\t\t\t\t\t\tthrow new ChildrenAnalyzerError(branchNode.options.childrenAbsentErrorMessage)\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst factory = treeNode[factoryMethodName] as DeclarationSiteNodeRepresentationFactory<\n\t\t\t\t\t\t\tany,\n\t\t\t\t\t\t\tunknown,\n\t\t\t\t\t\t\tAllBranchNodesRepresentation | AllLeavesRepresentation,\n\t\t\t\t\t\t\tStaticContext\n\t\t\t\t\t\t>\n\t\t\t\t\t\treturn factory(node.props, childrenRepresentationReducer(processedChildren), staticContext)\n\t\t\t\t\t}\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t\tcase 'useSite': {\n\t\t\t\t\tconst { factory, ComponentType } = specification\n\t\t\t\t\tif (ComponentType === undefined || node.type === ComponentType) {\n\t\t\t\t\t\tif (processedChildren === undefined && !branchNode.options.childrenAreOptional) {\n\t\t\t\t\t\t\tthrow new ChildrenAnalyzerError(branchNode.options.childrenAbsentErrorMessage)\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn factory(node, processedChildren, staticContext)\n\t\t\t\t\t}\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t\tdefault:\n\t\t\t\t\treturn assertNever(specification)\n\t\t\t}\n\t\t}\n\n\t\tif (\n\t\t\t!this.options.ignoreUnhandledNodes &&\n\t\t\t!(typeof treeNode !== 'string' && this.options.staticRenderFactoryName in treeNode)\n\t\t) {\n\t\t\tthrow new ChildrenAnalyzerError(getErrorMessage(this.options.unhandledNodeErrorMessage, node, staticContext))\n\t\t}\n\n\t\treturn processedChildren\n\t}\n}\n"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChildrenAnalyzerError.js","sources":["../../src/ChildrenAnalyzerError.ts"],"sourcesContent":["export class ChildrenAnalyzerError extends Error {\n\tpublic details?: string\n\n\tconstructor(message: string, options?: { cause: Error, details?: string }) {\n\t\tsuper(message, options)\n\t\tthis.details = options?.details\n\t}\n}\n"],"names":[],"mappings":";;;;;;AAAO,MAAM,8BAA8B,MAAM;AAAA,EAGhD,YAAY,SAAiB,SAA8C;AAC1E,UAAM,SAAS,OAAO;AAHhB;AAIN,SAAK,UAAU,SAAS;AAAA,EACzB;AACD;"}
|
|
1
|
+
{"version":3,"file":"ChildrenAnalyzerError.js","sources":["../../src/ChildrenAnalyzerError.ts"],"sourcesContent":["export class ChildrenAnalyzerError extends Error {\n\tpublic details?: string\n\n\tconstructor(message: string, options?: { cause: Error, details?: string }) {\n\t\tsuper(message, options)\n\t\tthis.details = options?.details\n\t}\n}\n"],"names":[],"mappings":";;;;;;AAAO,MAAM,8BAA8B,MAAM;AAAA,EAGhD,YAAY,SAAiB,SAA8C;AAC1E,UAAM,SAAS,OAAO;AAHhB,kBAAA,MAAA,SAAA;AAIN,SAAK,UAAU,SAAS;AAAA,EACzB;AACD;"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { ChildrenAnalyzerError } from "../ChildrenAnalyzerError.js";
|
|
1
2
|
var __defProp = Object.defineProperty;
|
|
2
3
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
4
|
var __publicField = (obj, key, value) => {
|
|
4
5
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
6
|
return value;
|
|
6
7
|
};
|
|
7
|
-
import { ChildrenAnalyzerError } from "../ChildrenAnalyzerError.js";
|
|
8
8
|
const _BranchNode = class {
|
|
9
9
|
constructor(factory, componentOrReducer, options) {
|
|
10
10
|
__publicField(this, "specification");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BranchNode.js","sources":["../../../src/nodeSpecs/BranchNode.ts"],"sourcesContent":["import type { ElementType } from 'react'\nimport { ChildrenAnalyzerError } from '../ChildrenAnalyzerError'\nimport type { BranchNodeOptions } from './BranchNodeOptions'\nimport type { ChildrenRepresentationReducer, UseSiteBranchNodeRepresentationFactory, ValidFactoryName } from './types'\n\nclass BranchNode<\n\tProps extends {} = {},\n\tStaticContext = undefined,\n\tFactoryMethodName extends ValidFactoryName = string,\n\tChildrenRepresentation = any,\n\tReducedChildrenRepresentation = any,\n\tRepresentation = any,\n> {\n\tprivate static defaultOptions: BranchNodeOptions = {\n\t\tchildrenAreOptional: false,\n\t\tchildrenAbsentErrorMessage: 'Component must have children!',\n\t}\n\n\tpublic readonly specification: BranchNode.Specification<\n\t\tProps,\n\t\tStaticContext,\n\t\tFactoryMethodName,\n\t\tChildrenRepresentation,\n\t\tReducedChildrenRepresentation,\n\t\tRepresentation\n\t>\n\n\tpublic readonly options: BranchNodeOptions\n\n\tpublic constructor(\n\t\tfactoryMethodName: FactoryMethodName,\n\t\tchildrenRepresentationReducer: ChildrenRepresentationReducer<ChildrenRepresentation, ReducedChildrenRepresentation>,\n\t\toptions?: Partial<BranchNodeOptions>,\n\t)\n\tpublic constructor(\n\t\tuseSiteFactory: UseSiteBranchNodeRepresentationFactory<\n\t\t\tProps,\n\t\t\tChildrenRepresentation,\n\t\t\tRepresentation,\n\t\t\tStaticContext\n\t\t>,\n\t\tComponentType?: ElementType<Props>,\n\t\toptions?: Partial<BranchNodeOptions>,\n\t)\n\tpublic constructor(\n\t\tfactory:\n\t\t\t| FactoryMethodName\n\t\t\t| UseSiteBranchNodeRepresentationFactory<Props, ChildrenRepresentation, Representation, StaticContext>,\n\t\tcomponentOrReducer?:\n\t\t\t| ChildrenRepresentationReducer<ChildrenRepresentation, ReducedChildrenRepresentation>\n\t\t\t| ElementType<Props>,\n\t\toptions?: Partial<BranchNodeOptions>,\n\t) {\n\t\tif (typeof factory !== 'function') {\n\t\t\tthis.specification = {\n\t\t\t\ttype: 'declarationSite',\n\t\t\t\tfactoryMethodName: factory,\n\t\t\t\tchildrenRepresentationReducer: componentOrReducer as ChildrenRepresentationReducer<\n\t\t\t\t\tChildrenRepresentation,\n\t\t\t\t\tReducedChildrenRepresentation\n\t\t\t\t>,\n\t\t\t}\n\t\t} else if (typeof factory === 'function') {\n\t\t\tthis.specification = {\n\t\t\t\ttype: 'useSite',\n\t\t\t\tfactory,\n\t\t\t\tComponentType: componentOrReducer as ElementType<Props>,\n\t\t\t}\n\t\t} else {\n\t\t\tthrow new ChildrenAnalyzerError('Invalid arguments')\n\t\t}\n\t\tthis.options = {\n\t\t\t...BranchNode.defaultOptions,\n\t\t\t...options,\n\t\t}\n\t}\n}\n\nnamespace BranchNode {\n\texport type Specification<\n\t\tProps extends {} = {},\n\t\tStaticContext = any,\n\t\tFactoryMethodName extends ValidFactoryName = string,\n\t\tChildrenRepresentation = any,\n\t\tReducedChildrenRepresentation = any,\n\t\tRepresentation = any,\n\t> =\n\t\t| {\n\t\t\t\ttype: 'declarationSite'\n\t\t\t\tfactoryMethodName: FactoryMethodName\n\t\t\t\tchildrenRepresentationReducer: ChildrenRepresentationReducer<\n\t\t\t\t\tChildrenRepresentation,\n\t\t\t\t\tReducedChildrenRepresentation\n\t\t\t\t>\n\t\t }\n\t\t| {\n\t\t\t\ttype: 'useSite'\n\t\t\t\tfactory: UseSiteBranchNodeRepresentationFactory<Props, ChildrenRepresentation, Representation, StaticContext>\n\t\t\t\tComponentType?: ElementType<Props>\n\t\t }\n}\n\nexport { BranchNode }\n"],"names":[],"mappings":";;;;;;;AAKA,MAAM,cAAN,MAOE;AAAA,EAgCM,YACN,SAGA,oBAGA,SACC;AAlCc;AASA;AA0BX,QAAA,OAAO,YAAY,YAAY;AAClC,WAAK,gBAAgB;AAAA,QACpB,MAAM;AAAA,QACN,mBAAmB;AAAA,QACnB,+BAA+B;AAAA,MAAA;AAAA,IAIhC,WACU,OAAO,YAAY,YAAY;AACzC,WAAK,gBAAgB;AAAA,QACpB,MAAM;AAAA,QACN;AAAA,QACA,eAAe;AAAA,MAAA;AAAA,IAChB,OACM;AACA,YAAA,IAAI,sBAAsB,mBAAmB;AAAA,IACpD;AACA,SAAK,UAAU;AAAA,MACd,GAAG,YAAW;AAAA,MACd,GAAG;AAAA,IAAA;AAAA,EAEL;AACD;AAvEA,IAAM,aAAN;AAQC,cARK,YAQU,kBAAoC;AAAA,EAClD,qBAAqB;AAAA,EACrB,4BAA4B;
|
|
1
|
+
{"version":3,"file":"BranchNode.js","sources":["../../../src/nodeSpecs/BranchNode.ts"],"sourcesContent":["import type { ElementType } from 'react'\nimport { ChildrenAnalyzerError } from '../ChildrenAnalyzerError'\nimport type { BranchNodeOptions } from './BranchNodeOptions'\nimport type { ChildrenRepresentationReducer, UseSiteBranchNodeRepresentationFactory, ValidFactoryName } from './types'\n\nclass BranchNode<\n\tProps extends {} = {},\n\tStaticContext = undefined,\n\tFactoryMethodName extends ValidFactoryName = string,\n\tChildrenRepresentation = any,\n\tReducedChildrenRepresentation = any,\n\tRepresentation = any,\n> {\n\tprivate static defaultOptions: BranchNodeOptions = {\n\t\tchildrenAreOptional: false,\n\t\tchildrenAbsentErrorMessage: 'Component must have children!',\n\t}\n\n\tpublic readonly specification: BranchNode.Specification<\n\t\tProps,\n\t\tStaticContext,\n\t\tFactoryMethodName,\n\t\tChildrenRepresentation,\n\t\tReducedChildrenRepresentation,\n\t\tRepresentation\n\t>\n\n\tpublic readonly options: BranchNodeOptions\n\n\tpublic constructor(\n\t\tfactoryMethodName: FactoryMethodName,\n\t\tchildrenRepresentationReducer: ChildrenRepresentationReducer<ChildrenRepresentation, ReducedChildrenRepresentation>,\n\t\toptions?: Partial<BranchNodeOptions>,\n\t)\n\tpublic constructor(\n\t\tuseSiteFactory: UseSiteBranchNodeRepresentationFactory<\n\t\t\tProps,\n\t\t\tChildrenRepresentation,\n\t\t\tRepresentation,\n\t\t\tStaticContext\n\t\t>,\n\t\tComponentType?: ElementType<Props>,\n\t\toptions?: Partial<BranchNodeOptions>,\n\t)\n\tpublic constructor(\n\t\tfactory:\n\t\t\t| FactoryMethodName\n\t\t\t| UseSiteBranchNodeRepresentationFactory<Props, ChildrenRepresentation, Representation, StaticContext>,\n\t\tcomponentOrReducer?:\n\t\t\t| ChildrenRepresentationReducer<ChildrenRepresentation, ReducedChildrenRepresentation>\n\t\t\t| ElementType<Props>,\n\t\toptions?: Partial<BranchNodeOptions>,\n\t) {\n\t\tif (typeof factory !== 'function') {\n\t\t\tthis.specification = {\n\t\t\t\ttype: 'declarationSite',\n\t\t\t\tfactoryMethodName: factory,\n\t\t\t\tchildrenRepresentationReducer: componentOrReducer as ChildrenRepresentationReducer<\n\t\t\t\t\tChildrenRepresentation,\n\t\t\t\t\tReducedChildrenRepresentation\n\t\t\t\t>,\n\t\t\t}\n\t\t} else if (typeof factory === 'function') {\n\t\t\tthis.specification = {\n\t\t\t\ttype: 'useSite',\n\t\t\t\tfactory,\n\t\t\t\tComponentType: componentOrReducer as ElementType<Props>,\n\t\t\t}\n\t\t} else {\n\t\t\tthrow new ChildrenAnalyzerError('Invalid arguments')\n\t\t}\n\t\tthis.options = {\n\t\t\t...BranchNode.defaultOptions,\n\t\t\t...options,\n\t\t}\n\t}\n}\n\nnamespace BranchNode {\n\texport type Specification<\n\t\tProps extends {} = {},\n\t\tStaticContext = any,\n\t\tFactoryMethodName extends ValidFactoryName = string,\n\t\tChildrenRepresentation = any,\n\t\tReducedChildrenRepresentation = any,\n\t\tRepresentation = any,\n\t> =\n\t\t| {\n\t\t\t\ttype: 'declarationSite'\n\t\t\t\tfactoryMethodName: FactoryMethodName\n\t\t\t\tchildrenRepresentationReducer: ChildrenRepresentationReducer<\n\t\t\t\t\tChildrenRepresentation,\n\t\t\t\t\tReducedChildrenRepresentation\n\t\t\t\t>\n\t\t }\n\t\t| {\n\t\t\t\ttype: 'useSite'\n\t\t\t\tfactory: UseSiteBranchNodeRepresentationFactory<Props, ChildrenRepresentation, Representation, StaticContext>\n\t\t\t\tComponentType?: ElementType<Props>\n\t\t }\n}\n\nexport { BranchNode }\n"],"names":[],"mappings":";;;;;;;AAKA,MAAM,cAAN,MAOE;AAAA,EAgCM,YACN,SAGA,oBAGA,SACC;AAlCc,kBAAA,MAAA,eAAA;AASA,kBAAA,MAAA,SAAA;AA0BX,QAAA,OAAO,YAAY,YAAY;AAClC,WAAK,gBAAgB;AAAA,QACpB,MAAM;AAAA,QACN,mBAAmB;AAAA,QACnB,+BAA+B;AAAA,MAAA;AAAA,IAIhC,WACU,OAAO,YAAY,YAAY;AACzC,WAAK,gBAAgB;AAAA,QACpB,MAAM;AAAA,QACN;AAAA,QACA,eAAe;AAAA,MAAA;AAAA,IAChB,OACM;AACA,YAAA,IAAI,sBAAsB,mBAAmB;AAAA,IACpD;AACA,SAAK,UAAU;AAAA,MACd,GAAG,YAAW;AAAA,MACd,GAAG;AAAA,IAAA;AAAA,EAEL;AACD;AAvEA,IAAM,aAAN;AAQC,cARK,YAQU,kBAAoC;AAAA,EAClD,qBAAqB;AAAA,EACrB,4BAA4B;AAC7B,CAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Leaf.js","sources":["../../../src/nodeSpecs/Leaf.ts"],"sourcesContent":["import type { ElementType } from 'react'\nimport type {\n\tConstrainedLeafRepresentationFactory,\n\tUnconstrainedLeafRepresentationFactory,\n\tValidFactoryName,\n} from './types'\n\nclass Leaf<\n\tProps extends {} = {},\n\tStaticContext = any,\n\tFactoryMethodName extends ValidFactoryName = string,\n\tRepresentation = any,\n> {\n\tpublic readonly specification: Leaf.Specification<FactoryMethodName, Representation, Props, StaticContext>\n\n\tpublic constructor(factoryMethodName: FactoryMethodName)\n\tpublic constructor(staticFactory: UnconstrainedLeafRepresentationFactory<Props, Representation, StaticContext>)\n\tpublic constructor(\n\t\tstaticFactory: ConstrainedLeafRepresentationFactory<Props, Representation, StaticContext>,\n\t\tComponentType: ElementType<Props>,\n\t)\n\tpublic constructor(\n\t\tfactory: FactoryMethodName | UnconstrainedLeafRepresentationFactory<Props, Representation, StaticContext>,\n\t\tComponentType?: ElementType<Props>,\n\t) {\n\t\tif (typeof factory === 'function') {\n\t\t\tthis.specification = {\n\t\t\t\ttype: 'useSite',\n\t\t\t\tComponentType,\n\t\t\t\tfactory,\n\t\t\t}\n\t\t} else {\n\t\t\tthis.specification = {\n\t\t\t\ttype: 'declarationSite',\n\t\t\t\tfactoryMethodName: factory,\n\t\t\t}\n\t\t}\n\t}\n}\n\nnamespace Leaf {\n\texport type Specification<\n\t\tFactoryMethodName extends ValidFactoryName,\n\t\tRepresentation,\n\t\tProps extends {},\n\t\tStaticContext,\n\t> =\n\t\t| {\n\t\t\t\ttype: 'declarationSite'\n\t\t\t\tfactoryMethodName: FactoryMethodName\n\t\t }\n\t\t| {\n\t\t\t\ttype: 'useSite'\n\t\t\t\tfactory: UnconstrainedLeafRepresentationFactory<Props, Representation, StaticContext>\n\t\t\t\tComponentType?: ElementType<Props>\n\t\t }\n}\n\nexport { Leaf }\n"],"names":[],"mappings":";;;;;;AAOA,MAAM,KAKJ;AAAA,EASM,YACN,SACA,eACC;AAXc;AAYX,QAAA,OAAO,YAAY,YAAY;AAClC,WAAK,gBAAgB;AAAA,QACpB,MAAM;AAAA,QACN;AAAA,QACA;AAAA,MAAA;AAAA,IACD,OACM;AACN,WAAK,gBAAgB;AAAA,QACpB,MAAM;AAAA,QACN,mBAAmB;AAAA,MAAA;AAAA,IAErB;AAAA,EACD;AACD;"}
|
|
1
|
+
{"version":3,"file":"Leaf.js","sources":["../../../src/nodeSpecs/Leaf.ts"],"sourcesContent":["import type { ElementType } from 'react'\nimport type {\n\tConstrainedLeafRepresentationFactory,\n\tUnconstrainedLeafRepresentationFactory,\n\tValidFactoryName,\n} from './types'\n\nclass Leaf<\n\tProps extends {} = {},\n\tStaticContext = any,\n\tFactoryMethodName extends ValidFactoryName = string,\n\tRepresentation = any,\n> {\n\tpublic readonly specification: Leaf.Specification<FactoryMethodName, Representation, Props, StaticContext>\n\n\tpublic constructor(factoryMethodName: FactoryMethodName)\n\tpublic constructor(staticFactory: UnconstrainedLeafRepresentationFactory<Props, Representation, StaticContext>)\n\tpublic constructor(\n\t\tstaticFactory: ConstrainedLeafRepresentationFactory<Props, Representation, StaticContext>,\n\t\tComponentType: ElementType<Props>,\n\t)\n\tpublic constructor(\n\t\tfactory: FactoryMethodName | UnconstrainedLeafRepresentationFactory<Props, Representation, StaticContext>,\n\t\tComponentType?: ElementType<Props>,\n\t) {\n\t\tif (typeof factory === 'function') {\n\t\t\tthis.specification = {\n\t\t\t\ttype: 'useSite',\n\t\t\t\tComponentType,\n\t\t\t\tfactory,\n\t\t\t}\n\t\t} else {\n\t\t\tthis.specification = {\n\t\t\t\ttype: 'declarationSite',\n\t\t\t\tfactoryMethodName: factory,\n\t\t\t}\n\t\t}\n\t}\n}\n\nnamespace Leaf {\n\texport type Specification<\n\t\tFactoryMethodName extends ValidFactoryName,\n\t\tRepresentation,\n\t\tProps extends {},\n\t\tStaticContext,\n\t> =\n\t\t| {\n\t\t\t\ttype: 'declarationSite'\n\t\t\t\tfactoryMethodName: FactoryMethodName\n\t\t }\n\t\t| {\n\t\t\t\ttype: 'useSite'\n\t\t\t\tfactory: UnconstrainedLeafRepresentationFactory<Props, Representation, StaticContext>\n\t\t\t\tComponentType?: ElementType<Props>\n\t\t }\n}\n\nexport { Leaf }\n"],"names":[],"mappings":";;;;;;AAOA,MAAM,KAKJ;AAAA,EASM,YACN,SACA,eACC;AAXc,kBAAA,MAAA,eAAA;AAYX,QAAA,OAAO,YAAY,YAAY;AAClC,WAAK,gBAAgB;AAAA,QACpB,MAAM;AAAA,QACN;AAAA,QACA;AAAA,MAAA;AAAA,IACD,OACM;AACN,WAAK,gBAAgB;AAAA,QACpB,MAAM;AAAA,QACN,mBAAmB;AAAA,MAAA;AAAA,IAErB;AAAA,EACD;AACD;"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import { assertNever } from "./assertNever.js";
|
|
2
|
+
import { ChildrenAnalyzerError } from "./ChildrenAnalyzerError.js";
|
|
3
|
+
import { wrapError } from "./helpers/wrapError.js";
|
|
4
|
+
import { getErrorMessage } from "./helpers/getErrorMessage.js";
|
|
1
5
|
var __defProp = Object.defineProperty;
|
|
2
6
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
7
|
var __publicField = (obj, key, value) => {
|
|
4
8
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
9
|
return value;
|
|
6
10
|
};
|
|
7
|
-
import { assertNever } from "./assertNever.js";
|
|
8
|
-
import { ChildrenAnalyzerError } from "./ChildrenAnalyzerError.js";
|
|
9
|
-
import { wrapError } from "./helpers/wrapError.js";
|
|
10
|
-
import { getErrorMessage } from "./helpers/getErrorMessage.js";
|
|
11
11
|
const _ChildrenAnalyzer = class {
|
|
12
12
|
constructor(leaves, decider = [], options = {}) {
|
|
13
13
|
__publicField(this, "leaves");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChildrenAnalyzer.js","sources":["../../src/ChildrenAnalyzer.ts"],"sourcesContent":["import type { ElementType, ReactElement, ReactNode } from 'react'\nimport { assertNever } from './assertNever'\nimport type { BranchNodeList } from './BranchNodeList'\nimport { ChildrenAnalyzerError } from './ChildrenAnalyzerError'\nimport type { ChildrenAnalyzerOptions } from './ChildrenAnalyzerOptions'\nimport { getErrorMessage } from './helpers'\nimport type { LeafList } from './LeafList'\nimport type {\n\tDeclarationSiteNodeRepresentationFactory,\n\tRawNodeRepresentation,\n\tStaticContextFactory,\n\tSyntheticChildrenFactory,\n\tUnconstrainedLeafRepresentationFactory,\n\tValidFactoryName,\n} from './nodeSpecs'\nimport { wrapError } from './helpers/wrapError'\n\nexport class ChildrenAnalyzer<\n\tAllLeavesRepresentation = any,\n\tAllBranchNodesRepresentation = never,\n\tStaticContext = undefined,\n> {\n\tprivate static defaultOptions: ChildrenAnalyzerOptions = {\n\t\tignoreRenderProps: true,\n\t\trenderPropsErrorMessage: 'Render props (functions as React component children) are not supported.',\n\n\t\tignoreUnhandledNodes: true,\n\t\tunhandledNodeErrorMessage: 'Encountered an unknown child.',\n\n\t\tstaticContextFactoryName: 'getStaticContext',\n\t\tstaticRenderFactoryName: 'staticRender',\n\t}\n\n\tprivate readonly leaves: LeafList<AllLeavesRepresentation, StaticContext>\n\tprivate readonly branchNodes: BranchNodeList<AllLeavesRepresentation, AllBranchNodesRepresentation, StaticContext>\n\tprivate readonly options: ChildrenAnalyzerOptions<StaticContext>\n\n\tpublic constructor(\n\t\tleaves: LeafList<AllLeavesRepresentation, StaticContext>,\n\t\toptions?: Partial<ChildrenAnalyzerOptions>,\n\t)\n\tpublic constructor(\n\t\tleaves: LeafList<AllLeavesRepresentation, StaticContext>,\n\t\tbranchNodes: BranchNodeList<AllLeavesRepresentation, AllBranchNodesRepresentation, StaticContext>,\n\t\toptions?: Partial<ChildrenAnalyzerOptions>,\n\t)\n\tpublic constructor(\n\t\tleaves: LeafList<AllLeavesRepresentation, StaticContext>,\n\t\tdecider:\n\t\t\t| Partial<ChildrenAnalyzerOptions>\n\t\t\t| BranchNodeList<AllLeavesRepresentation, AllBranchNodesRepresentation, StaticContext> = [],\n\t\toptions: Partial<ChildrenAnalyzerOptions> = {},\n\t) {\n\t\tthis.leaves = leaves\n\n\t\tif (Array.isArray(decider)) {\n\t\t\tthis.branchNodes = decider\n\t\t} else {\n\t\t\tthis.branchNodes = []\n\t\t\toptions = decider\n\t\t}\n\t\tthis.options = { ...ChildrenAnalyzer.defaultOptions, ...options }\n\t}\n\n\tpublic processChildren(\n\t\tchildren: ReactNode,\n\t\tinitialStaticContext: StaticContext,\n\t): Array<AllLeavesRepresentation | AllBranchNodesRepresentation> {\n\t\tconst processed = this.processNode(children, initialStaticContext, [])\n\n\t\tconst rawResult: Array<AllLeavesRepresentation | AllBranchNodesRepresentation | undefined> = Array.isArray(\n\t\t\tprocessed,\n\t\t)\n\t\t\t? processed\n\t\t\t: [processed]\n\n\t\treturn rawResult.filter(\n\t\t\t(item): item is AllLeavesRepresentation | AllBranchNodesRepresentation => item !== undefined,\n\t\t)\n\t}\n\n\tprivate processNode(\n\t\tnode: ReactNode,\n\t\tstaticContext: StaticContext,\n\t\tcomponentPath: ReactElement[],\n\t): RawNodeRepresentation<AllLeavesRepresentation, AllBranchNodesRepresentation> {\n\t\tif (!node || typeof node === 'string' || typeof node === 'number' || typeof node === 'boolean') {\n\t\t\tfor (const leaf of this.leaves) {\n\t\t\t\tconst specification = leaf.specification\n\t\t\t\tif (specification.type === 'useSite') {\n\t\t\t\t\tconst { ComponentType, factory } = specification\n\t\t\t\t\tif (ComponentType === undefined) {\n\t\t\t\t\t\treturn factory(node, staticContext)\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (node === false || node === undefined || node === null) {\n\t\t\t\t// This adds seamless support for conditionals and such.\n\t\t\t\treturn undefined\n\t\t\t}\n\t\t\tif (!this.options.ignoreUnhandledNodes) {\n\t\t\t\tthrow new ChildrenAnalyzerError(getErrorMessage(this.options.unhandledNodeErrorMessage, node, staticContext))\n\t\t\t}\n\t\t\treturn undefined\n\t\t}\n\n\t\tif (typeof node === 'function') {\n\t\t\tif (this.options.ignoreRenderProps) {\n\t\t\t\treturn undefined\n\t\t\t}\n\t\t\tthrow new ChildrenAnalyzerError(getErrorMessage(this.options.renderPropsErrorMessage, node, staticContext))\n\t\t}\n\n\t\tif (Array.isArray(node)) {\n\t\t\tlet mapped: Array<AllLeavesRepresentation | AllBranchNodesRepresentation> = []\n\n\t\t\tfor (const subNode of node) {\n\t\t\t\tconst processed = this.processNode(subNode, staticContext, componentPath)\n\n\t\t\t\tif (processed !== undefined) {\n\t\t\t\t\tif (Array.isArray(processed)) {\n\t\t\t\t\t\tmapped = mapped.concat(processed)\n\t\t\t\t\t} else {\n\t\t\t\t\t\tmapped.push(processed)\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn mapped\n\t\t}\n\n\t\tlet children: ReactNode = undefined\n\n\t\tif (!('type' in node)) {\n\t\t\treturn this.processNode(children, staticContext, componentPath)\n\t\t}\n\t\tchildren = node.props.children\n\n\t\tif (typeof node.type === 'symbol') {\n\t\t\t// Fragment, Portal or other non-component\n\t\t\treturn this.processNode(children, staticContext, componentPath)\n\t\t}\n\t\t// if (typeof node.type === 'string') {\n\t\t// \t// Typically a host component\n\t\t// \tif (!this.options.ignoreUnhandledNodes) {\n\t\t// \t\tthrow new ChildrenAnalyzerError(getErrorMessage(this.options.unhandledNodeErrorMessage, node, staticContext))\n\t\t// \t}\n\t\t// \treturn this.processNode(children, staticContext)\n\t\t// }\n\n\t\t// Component, PureComponent, FunctionComponent\n\n\t\tconst treeNode = node.type as ElementType &\n\t\t\t{\n\t\t\t\t[staticMethod in ValidFactoryName]:\n\t\t\t\t\t| StaticContextFactory<any, StaticContext>\n\t\t\t\t\t| SyntheticChildrenFactory<any, StaticContext>\n\t\t\t\t\t| UnconstrainedLeafRepresentationFactory<any, AllLeavesRepresentation, StaticContext>\n\t\t\t\t\t| DeclarationSiteNodeRepresentationFactory<any, unknown, AllBranchNodesRepresentation, StaticContext>\n\t\t\t}\n\n\t\tcomponentPath = [...componentPath, node]\n\t\tif (typeof treeNode !== 'string') {\n\t\t\tif (this.options.staticContextFactoryName in treeNode) {\n\t\t\t\tconst staticContextFactory = treeNode[this.options.staticContextFactoryName] as StaticContextFactory<\n\t\t\t\t\tany,\n\t\t\t\t\tStaticContext\n\t\t\t\t>\n\t\t\t\ttry {\n\t\t\t\t\tstaticContext = staticContextFactory(node.props, staticContext)\n\t\t\t\t} catch (e) {\n\t\t\t\t\twrapError(e, treeNode.displayName ?? '???', this.options.staticContextFactoryName, componentPath)\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (this.options.staticRenderFactoryName in treeNode) {\n\t\t\t\tconst factory = treeNode[this.options.staticRenderFactoryName] as SyntheticChildrenFactory<any, StaticContext>\n\t\t\t\ttry {\n\t\t\t\t\tchildren = factory(node.props, staticContext)\n\t\t\t\t} catch (e) {\n\t\t\t\t\twrapError(e, treeNode.displayName ?? '???', this.options.staticRenderFactoryName, componentPath)\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (const leaf of this.leaves) {\n\t\t\tconst specification = leaf.specification\n\t\t\tswitch (specification.type) {\n\t\t\t\tcase 'declarationSite': {\n\t\t\t\t\tconst { factoryMethodName } = specification\n\n\t\t\t\t\tif (typeof treeNode !== 'string' && factoryMethodName in treeNode) {\n\t\t\t\t\t\tconst factory = treeNode[factoryMethodName] as UnconstrainedLeafRepresentationFactory<\n\t\t\t\t\t\t\tany,\n\t\t\t\t\t\t\tAllBranchNodesRepresentation | AllLeavesRepresentation,\n\t\t\t\t\t\t\tStaticContext\n\t\t\t\t\t\t>\n\t\t\t\t\t\treturn factory(node.props, staticContext)\n\t\t\t\t\t}\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t\tcase 'useSite': {\n\t\t\t\t\tconst { ComponentType, factory } = specification\n\t\t\t\t\tif (ComponentType === undefined || node.type === ComponentType) {\n\t\t\t\t\t\treturn factory(node, staticContext)\n\t\t\t\t\t}\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t\tdefault:\n\t\t\t\t\treturn assertNever(specification)\n\t\t\t}\n\t\t}\n\n\t\tconst processedChildren = this.processNode(children, staticContext, componentPath)\n\n\t\tfor (const branchNode of this.branchNodes) {\n\t\t\tconst specification = branchNode.specification\n\t\t\tswitch (specification.type) {\n\t\t\t\tcase 'declarationSite': {\n\t\t\t\t\tconst { factoryMethodName, childrenRepresentationReducer } = specification\n\n\t\t\t\t\tif (typeof treeNode !== 'string' && factoryMethodName in treeNode) {\n\t\t\t\t\t\tif (processedChildren === undefined && !branchNode.options.childrenAreOptional) {\n\t\t\t\t\t\t\tthrow new ChildrenAnalyzerError(branchNode.options.childrenAbsentErrorMessage)\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst factory = treeNode[factoryMethodName] as DeclarationSiteNodeRepresentationFactory<\n\t\t\t\t\t\t\tany,\n\t\t\t\t\t\t\tunknown,\n\t\t\t\t\t\t\tAllBranchNodesRepresentation | AllLeavesRepresentation,\n\t\t\t\t\t\t\tStaticContext\n\t\t\t\t\t\t>\n\t\t\t\t\t\treturn factory(node.props, childrenRepresentationReducer(processedChildren), staticContext)\n\t\t\t\t\t}\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t\tcase 'useSite': {\n\t\t\t\t\tconst { factory, ComponentType } = specification\n\t\t\t\t\tif (ComponentType === undefined || node.type === ComponentType) {\n\t\t\t\t\t\tif (processedChildren === undefined && !branchNode.options.childrenAreOptional) {\n\t\t\t\t\t\t\tthrow new ChildrenAnalyzerError(branchNode.options.childrenAbsentErrorMessage)\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn factory(node, processedChildren, staticContext)\n\t\t\t\t\t}\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t\tdefault:\n\t\t\t\t\treturn assertNever(specification)\n\t\t\t}\n\t\t}\n\n\t\tif (\n\t\t\t!this.options.ignoreUnhandledNodes &&\n\t\t\t!(typeof treeNode !== 'string' && this.options.staticRenderFactoryName in treeNode)\n\t\t) {\n\t\t\tthrow new ChildrenAnalyzerError(getErrorMessage(this.options.unhandledNodeErrorMessage, node, staticContext))\n\t\t}\n\n\t\treturn processedChildren\n\t}\n}\n"],"names":[],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"ChildrenAnalyzer.js","sources":["../../src/ChildrenAnalyzer.ts"],"sourcesContent":["import type { ElementType, ReactElement, ReactNode } from 'react'\nimport { assertNever } from './assertNever'\nimport type { BranchNodeList } from './BranchNodeList'\nimport { ChildrenAnalyzerError } from './ChildrenAnalyzerError'\nimport type { ChildrenAnalyzerOptions } from './ChildrenAnalyzerOptions'\nimport { getErrorMessage } from './helpers'\nimport type { LeafList } from './LeafList'\nimport type {\n\tDeclarationSiteNodeRepresentationFactory,\n\tRawNodeRepresentation,\n\tStaticContextFactory,\n\tSyntheticChildrenFactory,\n\tUnconstrainedLeafRepresentationFactory,\n\tValidFactoryName,\n} from './nodeSpecs'\nimport { wrapError } from './helpers/wrapError'\n\nexport class ChildrenAnalyzer<\n\tAllLeavesRepresentation = any,\n\tAllBranchNodesRepresentation = never,\n\tStaticContext = undefined,\n> {\n\tprivate static defaultOptions: ChildrenAnalyzerOptions = {\n\t\tignoreRenderProps: true,\n\t\trenderPropsErrorMessage: 'Render props (functions as React component children) are not supported.',\n\n\t\tignoreUnhandledNodes: true,\n\t\tunhandledNodeErrorMessage: 'Encountered an unknown child.',\n\n\t\tstaticContextFactoryName: 'getStaticContext',\n\t\tstaticRenderFactoryName: 'staticRender',\n\t}\n\n\tprivate readonly leaves: LeafList<AllLeavesRepresentation, StaticContext>\n\tprivate readonly branchNodes: BranchNodeList<AllLeavesRepresentation, AllBranchNodesRepresentation, StaticContext>\n\tprivate readonly options: ChildrenAnalyzerOptions<StaticContext>\n\n\tpublic constructor(\n\t\tleaves: LeafList<AllLeavesRepresentation, StaticContext>,\n\t\toptions?: Partial<ChildrenAnalyzerOptions>,\n\t)\n\tpublic constructor(\n\t\tleaves: LeafList<AllLeavesRepresentation, StaticContext>,\n\t\tbranchNodes: BranchNodeList<AllLeavesRepresentation, AllBranchNodesRepresentation, StaticContext>,\n\t\toptions?: Partial<ChildrenAnalyzerOptions>,\n\t)\n\tpublic constructor(\n\t\tleaves: LeafList<AllLeavesRepresentation, StaticContext>,\n\t\tdecider:\n\t\t\t| Partial<ChildrenAnalyzerOptions>\n\t\t\t| BranchNodeList<AllLeavesRepresentation, AllBranchNodesRepresentation, StaticContext> = [],\n\t\toptions: Partial<ChildrenAnalyzerOptions> = {},\n\t) {\n\t\tthis.leaves = leaves\n\n\t\tif (Array.isArray(decider)) {\n\t\t\tthis.branchNodes = decider\n\t\t} else {\n\t\t\tthis.branchNodes = []\n\t\t\toptions = decider\n\t\t}\n\t\tthis.options = { ...ChildrenAnalyzer.defaultOptions, ...options }\n\t}\n\n\tpublic processChildren(\n\t\tchildren: ReactNode,\n\t\tinitialStaticContext: StaticContext,\n\t): Array<AllLeavesRepresentation | AllBranchNodesRepresentation> {\n\t\tconst processed = this.processNode(children, initialStaticContext, [])\n\n\t\tconst rawResult: Array<AllLeavesRepresentation | AllBranchNodesRepresentation | undefined> = Array.isArray(\n\t\t\tprocessed,\n\t\t)\n\t\t\t? processed\n\t\t\t: [processed]\n\n\t\treturn rawResult.filter(\n\t\t\t(item): item is AllLeavesRepresentation | AllBranchNodesRepresentation => item !== undefined,\n\t\t)\n\t}\n\n\tprivate processNode(\n\t\tnode: ReactNode,\n\t\tstaticContext: StaticContext,\n\t\tcomponentPath: ReactElement[],\n\t): RawNodeRepresentation<AllLeavesRepresentation, AllBranchNodesRepresentation> {\n\t\tif (!node || typeof node === 'string' || typeof node === 'number' || typeof node === 'boolean') {\n\t\t\tfor (const leaf of this.leaves) {\n\t\t\t\tconst specification = leaf.specification\n\t\t\t\tif (specification.type === 'useSite') {\n\t\t\t\t\tconst { ComponentType, factory } = specification\n\t\t\t\t\tif (ComponentType === undefined) {\n\t\t\t\t\t\treturn factory(node, staticContext)\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (node === false || node === undefined || node === null) {\n\t\t\t\t// This adds seamless support for conditionals and such.\n\t\t\t\treturn undefined\n\t\t\t}\n\t\t\tif (!this.options.ignoreUnhandledNodes) {\n\t\t\t\tthrow new ChildrenAnalyzerError(getErrorMessage(this.options.unhandledNodeErrorMessage, node, staticContext))\n\t\t\t}\n\t\t\treturn undefined\n\t\t}\n\n\t\tif (typeof node === 'function') {\n\t\t\tif (this.options.ignoreRenderProps) {\n\t\t\t\treturn undefined\n\t\t\t}\n\t\t\tthrow new ChildrenAnalyzerError(getErrorMessage(this.options.renderPropsErrorMessage, node, staticContext))\n\t\t}\n\n\t\tif (Array.isArray(node)) {\n\t\t\tlet mapped: Array<AllLeavesRepresentation | AllBranchNodesRepresentation> = []\n\n\t\t\tfor (const subNode of node) {\n\t\t\t\tconst processed = this.processNode(subNode, staticContext, componentPath)\n\n\t\t\t\tif (processed !== undefined) {\n\t\t\t\t\tif (Array.isArray(processed)) {\n\t\t\t\t\t\tmapped = mapped.concat(processed)\n\t\t\t\t\t} else {\n\t\t\t\t\t\tmapped.push(processed)\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn mapped\n\t\t}\n\n\t\tlet children: ReactNode = undefined\n\n\t\tif (!('type' in node)) {\n\t\t\treturn this.processNode(children, staticContext, componentPath)\n\t\t}\n\t\tchildren = node.props.children\n\n\t\tif (typeof node.type === 'symbol') {\n\t\t\t// Fragment, Portal or other non-component\n\t\t\treturn this.processNode(children, staticContext, componentPath)\n\t\t}\n\t\t// if (typeof node.type === 'string') {\n\t\t// \t// Typically a host component\n\t\t// \tif (!this.options.ignoreUnhandledNodes) {\n\t\t// \t\tthrow new ChildrenAnalyzerError(getErrorMessage(this.options.unhandledNodeErrorMessage, node, staticContext))\n\t\t// \t}\n\t\t// \treturn this.processNode(children, staticContext)\n\t\t// }\n\n\t\t// Component, PureComponent, FunctionComponent\n\n\t\tconst treeNode = node.type as ElementType &\n\t\t\t{\n\t\t\t\t[staticMethod in ValidFactoryName]:\n\t\t\t\t\t| StaticContextFactory<any, StaticContext>\n\t\t\t\t\t| SyntheticChildrenFactory<any, StaticContext>\n\t\t\t\t\t| UnconstrainedLeafRepresentationFactory<any, AllLeavesRepresentation, StaticContext>\n\t\t\t\t\t| DeclarationSiteNodeRepresentationFactory<any, unknown, AllBranchNodesRepresentation, StaticContext>\n\t\t\t}\n\n\t\tcomponentPath = [...componentPath, node]\n\t\tif (typeof treeNode !== 'string') {\n\t\t\tif (this.options.staticContextFactoryName in treeNode) {\n\t\t\t\tconst staticContextFactory = treeNode[this.options.staticContextFactoryName] as StaticContextFactory<\n\t\t\t\t\tany,\n\t\t\t\t\tStaticContext\n\t\t\t\t>\n\t\t\t\ttry {\n\t\t\t\t\tstaticContext = staticContextFactory(node.props, staticContext)\n\t\t\t\t} catch (e) {\n\t\t\t\t\twrapError(e, treeNode.displayName ?? '???', this.options.staticContextFactoryName, componentPath)\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (this.options.staticRenderFactoryName in treeNode) {\n\t\t\t\tconst factory = treeNode[this.options.staticRenderFactoryName] as SyntheticChildrenFactory<any, StaticContext>\n\t\t\t\ttry {\n\t\t\t\t\tchildren = factory(node.props, staticContext)\n\t\t\t\t} catch (e) {\n\t\t\t\t\twrapError(e, treeNode.displayName ?? '???', this.options.staticRenderFactoryName, componentPath)\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (const leaf of this.leaves) {\n\t\t\tconst specification = leaf.specification\n\t\t\tswitch (specification.type) {\n\t\t\t\tcase 'declarationSite': {\n\t\t\t\t\tconst { factoryMethodName } = specification\n\n\t\t\t\t\tif (typeof treeNode !== 'string' && factoryMethodName in treeNode) {\n\t\t\t\t\t\tconst factory = treeNode[factoryMethodName] as UnconstrainedLeafRepresentationFactory<\n\t\t\t\t\t\t\tany,\n\t\t\t\t\t\t\tAllBranchNodesRepresentation | AllLeavesRepresentation,\n\t\t\t\t\t\t\tStaticContext\n\t\t\t\t\t\t>\n\t\t\t\t\t\treturn factory(node.props, staticContext)\n\t\t\t\t\t}\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t\tcase 'useSite': {\n\t\t\t\t\tconst { ComponentType, factory } = specification\n\t\t\t\t\tif (ComponentType === undefined || node.type === ComponentType) {\n\t\t\t\t\t\treturn factory(node, staticContext)\n\t\t\t\t\t}\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t\tdefault:\n\t\t\t\t\treturn assertNever(specification)\n\t\t\t}\n\t\t}\n\n\t\tconst processedChildren = this.processNode(children, staticContext, componentPath)\n\n\t\tfor (const branchNode of this.branchNodes) {\n\t\t\tconst specification = branchNode.specification\n\t\t\tswitch (specification.type) {\n\t\t\t\tcase 'declarationSite': {\n\t\t\t\t\tconst { factoryMethodName, childrenRepresentationReducer } = specification\n\n\t\t\t\t\tif (typeof treeNode !== 'string' && factoryMethodName in treeNode) {\n\t\t\t\t\t\tif (processedChildren === undefined && !branchNode.options.childrenAreOptional) {\n\t\t\t\t\t\t\tthrow new ChildrenAnalyzerError(branchNode.options.childrenAbsentErrorMessage)\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst factory = treeNode[factoryMethodName] as DeclarationSiteNodeRepresentationFactory<\n\t\t\t\t\t\t\tany,\n\t\t\t\t\t\t\tunknown,\n\t\t\t\t\t\t\tAllBranchNodesRepresentation | AllLeavesRepresentation,\n\t\t\t\t\t\t\tStaticContext\n\t\t\t\t\t\t>\n\t\t\t\t\t\treturn factory(node.props, childrenRepresentationReducer(processedChildren), staticContext)\n\t\t\t\t\t}\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t\tcase 'useSite': {\n\t\t\t\t\tconst { factory, ComponentType } = specification\n\t\t\t\t\tif (ComponentType === undefined || node.type === ComponentType) {\n\t\t\t\t\t\tif (processedChildren === undefined && !branchNode.options.childrenAreOptional) {\n\t\t\t\t\t\t\tthrow new ChildrenAnalyzerError(branchNode.options.childrenAbsentErrorMessage)\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn factory(node, processedChildren, staticContext)\n\t\t\t\t\t}\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t\tdefault:\n\t\t\t\t\treturn assertNever(specification)\n\t\t\t}\n\t\t}\n\n\t\tif (\n\t\t\t!this.options.ignoreUnhandledNodes &&\n\t\t\t!(typeof treeNode !== 'string' && this.options.staticRenderFactoryName in treeNode)\n\t\t) {\n\t\t\tthrow new ChildrenAnalyzerError(getErrorMessage(this.options.unhandledNodeErrorMessage, node, staticContext))\n\t\t}\n\n\t\treturn processedChildren\n\t}\n}\n"],"names":[],"mappings":";;;;;;;;;;AAiBO,MAAM,oBAAN,MAIL;AAAA,EAyBM,YACN,QACA,UAE0F,CAAA,GAC1F,UAA4C,CAAA,GAC3C;AAnBe,kBAAA,MAAA,QAAA;AACA,kBAAA,MAAA,aAAA;AACA,kBAAA,MAAA,SAAA;AAkBhB,SAAK,SAAS;AAEV,QAAA,MAAM,QAAQ,OAAO,GAAG;AAC3B,WAAK,cAAc;AAAA,IAAA,OACb;AACN,WAAK,cAAc;AACT,gBAAA;AAAA,IACX;AACA,SAAK,UAAU,EAAE,GAAG,kBAAiB,gBAAgB,GAAG;EACzD;AAAA,EAEO,gBACN,UACA,sBACgE;AAChE,UAAM,YAAY,KAAK,YAAY,UAAU,sBAAsB,CAAA,CAAE;AAErE,UAAM,YAAuF,MAAM;AAAA,MAClG;AAAA,IAAA,IAEE,YACA,CAAC,SAAS;AAEb,WAAO,UAAU;AAAA,MAChB,CAAC,SAAyE,SAAS;AAAA,IAAA;AAAA,EAErF;AAAA,EAEQ,YACP,MACA,eACA,eAC+E;AAC3E,QAAA,CAAC,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY,OAAO,SAAS,WAAW;AACpF,iBAAA,QAAQ,KAAK,QAAQ;AAC/B,cAAM,gBAAgB,KAAK;AACvB,YAAA,cAAc,SAAS,WAAW;AAC/B,gBAAA,EAAE,eAAe,QAAY,IAAA;AACnC,cAAI,kBAAkB,QAAW;AACzB,mBAAA,QAAQ,MAAM,aAAa;AAAA,UACnC;AAAA,QACD;AAAA,MACD;AACA,UAAI,SAAS,SAAS,SAAS,UAAa,SAAS,MAAM;AAEnD,eAAA;AAAA,MACR;AACI,UAAA,CAAC,KAAK,QAAQ,sBAAsB;AACjC,cAAA,IAAI,sBAAsB,gBAAgB,KAAK,QAAQ,2BAA2B,MAAM,aAAa,CAAC;AAAA,MAC7G;AACO,aAAA;AAAA,IACR;AAEI,QAAA,OAAO,SAAS,YAAY;AAC3B,UAAA,KAAK,QAAQ,mBAAmB;AAC5B,eAAA;AAAA,MACR;AACM,YAAA,IAAI,sBAAsB,gBAAgB,KAAK,QAAQ,yBAAyB,MAAM,aAAa,CAAC;AAAA,IAC3G;AAEI,QAAA,MAAM,QAAQ,IAAI,GAAG;AACxB,UAAI,SAAwE,CAAA;AAE5E,iBAAW,WAAW,MAAM;AAC3B,cAAM,YAAY,KAAK,YAAY,SAAS,eAAe,aAAa;AAExE,YAAI,cAAc,QAAW;AACxB,cAAA,MAAM,QAAQ,SAAS,GAAG;AACpB,qBAAA,OAAO,OAAO,SAAS;AAAA,UAAA,OAC1B;AACN,mBAAO,KAAK,SAAS;AAAA,UACtB;AAAA,QACD;AAAA,MACD;AAEO,aAAA;AAAA,IACR;AAEA,QAAI,WAAsB;AAEtB,QAAA,EAAE,UAAU,OAAO;AACtB,aAAO,KAAK,YAAY,UAAU,eAAe,aAAa;AAAA,IAC/D;AACA,eAAW,KAAK,MAAM;AAElB,QAAA,OAAO,KAAK,SAAS,UAAU;AAElC,aAAO,KAAK,YAAY,UAAU,eAAe,aAAa;AAAA,IAC/D;AAWA,UAAM,WAAW,KAAK;AASN,oBAAA,CAAC,GAAG,eAAe,IAAI;AACnC,QAAA,OAAO,aAAa,UAAU;AAC7B,UAAA,KAAK,QAAQ,4BAA4B,UAAU;AAChD,cAAA,uBAAuB,SAAS,KAAK,QAAQ;AAI/C,YAAA;AACa,0BAAA,qBAAqB,KAAK,OAAO,aAAa;AAAA,iBACtD;AACR,oBAAU,GAAG,SAAS,eAAe,OAAO,KAAK,QAAQ,0BAA0B,aAAa;AAAA,QACjG;AAAA,MACD;AAEI,UAAA,KAAK,QAAQ,2BAA2B,UAAU;AAC/C,cAAA,UAAU,SAAS,KAAK,QAAQ;AAClC,YAAA;AACQ,qBAAA,QAAQ,KAAK,OAAO,aAAa;AAAA,iBACpC;AACR,oBAAU,GAAG,SAAS,eAAe,OAAO,KAAK,QAAQ,yBAAyB,aAAa;AAAA,QAChG;AAAA,MACD;AAAA,IACD;AAEW,eAAA,QAAQ,KAAK,QAAQ;AAC/B,YAAM,gBAAgB,KAAK;AAC3B,cAAQ,cAAc,MAAM;AAAA,QAC3B,KAAK,mBAAmB;AACjB,gBAAA,EAAE,kBAAsB,IAAA;AAE9B,cAAI,OAAO,aAAa,YAAY,qBAAqB,UAAU;AAClE,kBAAM,UAAU,SAAS;AAKlB,mBAAA,QAAQ,KAAK,OAAO,aAAa;AAAA,UACzC;AACA;AAAA,QACD;AAAA,QACA,KAAK,WAAW;AACT,gBAAA,EAAE,eAAe,QAAY,IAAA;AACnC,cAAI,kBAAkB,UAAa,KAAK,SAAS,eAAe;AACxD,mBAAA,QAAQ,MAAM,aAAa;AAAA,UACnC;AACA;AAAA,QACD;AAAA,QACA;AACC,iBAAO,YAAyB;AAAA,MAClC;AAAA,IACD;AAEA,UAAM,oBAAoB,KAAK,YAAY,UAAU,eAAe,aAAa;AAEtE,eAAA,cAAc,KAAK,aAAa;AAC1C,YAAM,gBAAgB,WAAW;AACjC,cAAQ,cAAc,MAAM;AAAA,QAC3B,KAAK,mBAAmB;AACjB,gBAAA,EAAE,mBAAmB,8BAAkC,IAAA;AAE7D,cAAI,OAAO,aAAa,YAAY,qBAAqB,UAAU;AAClE,gBAAI,sBAAsB,UAAa,CAAC,WAAW,QAAQ,qBAAqB;AAC/E,oBAAM,IAAI,sBAAsB,WAAW,QAAQ,0BAA0B;AAAA,YAC9E;AACA,kBAAM,UAAU,SAAS;AAMzB,mBAAO,QAAQ,KAAK,OAAO,8BAA8B,iBAAiB,GAAG,aAAa;AAAA,UAC3F;AACA;AAAA,QACD;AAAA,QACA,KAAK,WAAW;AACT,gBAAA,EAAE,SAAS,cAAkB,IAAA;AACnC,cAAI,kBAAkB,UAAa,KAAK,SAAS,eAAe;AAC/D,gBAAI,sBAAsB,UAAa,CAAC,WAAW,QAAQ,qBAAqB;AAC/E,oBAAM,IAAI,sBAAsB,WAAW,QAAQ,0BAA0B;AAAA,YAC9E;AACO,mBAAA,QAAQ,MAAM,mBAAmB,aAAa;AAAA,UACtD;AACA;AAAA,QACD;AAAA,QACA;AACC,iBAAO,YAAyB;AAAA,MAClC;AAAA,IACD;AAGC,QAAA,CAAC,KAAK,QAAQ,wBACd,EAAE,OAAO,aAAa,YAAY,KAAK,QAAQ,2BAA2B,WACzE;AACK,YAAA,IAAI,sBAAsB,gBAAgB,KAAK,QAAQ,2BAA2B,MAAM,aAAa,CAAC;AAAA,IAC7G;AAEO,WAAA;AAAA,EACR;AACD;AAlPO,IAAM,mBAAN;AAKN,cALY,kBAKG,kBAA0C;AAAA,EACxD,mBAAmB;AAAA,EACnB,yBAAyB;AAAA,EAEzB,sBAAsB;AAAA,EACtB,2BAA2B;AAAA,EAE3B,0BAA0B;AAAA,EAC1B,yBAAyB;AAC1B,CAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChildrenAnalyzerError.js","sources":["../../src/ChildrenAnalyzerError.ts"],"sourcesContent":["export class ChildrenAnalyzerError extends Error {\n\tpublic details?: string\n\n\tconstructor(message: string, options?: { cause: Error, details?: string }) {\n\t\tsuper(message, options)\n\t\tthis.details = options?.details\n\t}\n}\n"],"names":[],"mappings":";;;;;;AAAO,MAAM,8BAA8B,MAAM;AAAA,EAGhD,YAAY,SAAiB,SAA8C;AAC1E,UAAM,SAAS,OAAO;AAHhB;AAIN,SAAK,UAAU,SAAS;AAAA,EACzB;AACD;"}
|
|
1
|
+
{"version":3,"file":"ChildrenAnalyzerError.js","sources":["../../src/ChildrenAnalyzerError.ts"],"sourcesContent":["export class ChildrenAnalyzerError extends Error {\n\tpublic details?: string\n\n\tconstructor(message: string, options?: { cause: Error, details?: string }) {\n\t\tsuper(message, options)\n\t\tthis.details = options?.details\n\t}\n}\n"],"names":[],"mappings":";;;;;;AAAO,MAAM,8BAA8B,MAAM;AAAA,EAGhD,YAAY,SAAiB,SAA8C;AAC1E,UAAM,SAAS,OAAO;AAHhB,kBAAA,MAAA,SAAA;AAIN,SAAK,UAAU,SAAS;AAAA,EACzB;AACD;"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { ChildrenAnalyzerError } from "../ChildrenAnalyzerError.js";
|
|
1
2
|
var __defProp = Object.defineProperty;
|
|
2
3
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
4
|
var __publicField = (obj, key, value) => {
|
|
4
5
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
6
|
return value;
|
|
6
7
|
};
|
|
7
|
-
import { ChildrenAnalyzerError } from "../ChildrenAnalyzerError.js";
|
|
8
8
|
const _BranchNode = class {
|
|
9
9
|
constructor(factory, componentOrReducer, options) {
|
|
10
10
|
__publicField(this, "specification");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BranchNode.js","sources":["../../../src/nodeSpecs/BranchNode.ts"],"sourcesContent":["import type { ElementType } from 'react'\nimport { ChildrenAnalyzerError } from '../ChildrenAnalyzerError'\nimport type { BranchNodeOptions } from './BranchNodeOptions'\nimport type { ChildrenRepresentationReducer, UseSiteBranchNodeRepresentationFactory, ValidFactoryName } from './types'\n\nclass BranchNode<\n\tProps extends {} = {},\n\tStaticContext = undefined,\n\tFactoryMethodName extends ValidFactoryName = string,\n\tChildrenRepresentation = any,\n\tReducedChildrenRepresentation = any,\n\tRepresentation = any,\n> {\n\tprivate static defaultOptions: BranchNodeOptions = {\n\t\tchildrenAreOptional: false,\n\t\tchildrenAbsentErrorMessage: 'Component must have children!',\n\t}\n\n\tpublic readonly specification: BranchNode.Specification<\n\t\tProps,\n\t\tStaticContext,\n\t\tFactoryMethodName,\n\t\tChildrenRepresentation,\n\t\tReducedChildrenRepresentation,\n\t\tRepresentation\n\t>\n\n\tpublic readonly options: BranchNodeOptions\n\n\tpublic constructor(\n\t\tfactoryMethodName: FactoryMethodName,\n\t\tchildrenRepresentationReducer: ChildrenRepresentationReducer<ChildrenRepresentation, ReducedChildrenRepresentation>,\n\t\toptions?: Partial<BranchNodeOptions>,\n\t)\n\tpublic constructor(\n\t\tuseSiteFactory: UseSiteBranchNodeRepresentationFactory<\n\t\t\tProps,\n\t\t\tChildrenRepresentation,\n\t\t\tRepresentation,\n\t\t\tStaticContext\n\t\t>,\n\t\tComponentType?: ElementType<Props>,\n\t\toptions?: Partial<BranchNodeOptions>,\n\t)\n\tpublic constructor(\n\t\tfactory:\n\t\t\t| FactoryMethodName\n\t\t\t| UseSiteBranchNodeRepresentationFactory<Props, ChildrenRepresentation, Representation, StaticContext>,\n\t\tcomponentOrReducer?:\n\t\t\t| ChildrenRepresentationReducer<ChildrenRepresentation, ReducedChildrenRepresentation>\n\t\t\t| ElementType<Props>,\n\t\toptions?: Partial<BranchNodeOptions>,\n\t) {\n\t\tif (typeof factory !== 'function') {\n\t\t\tthis.specification = {\n\t\t\t\ttype: 'declarationSite',\n\t\t\t\tfactoryMethodName: factory,\n\t\t\t\tchildrenRepresentationReducer: componentOrReducer as ChildrenRepresentationReducer<\n\t\t\t\t\tChildrenRepresentation,\n\t\t\t\t\tReducedChildrenRepresentation\n\t\t\t\t>,\n\t\t\t}\n\t\t} else if (typeof factory === 'function') {\n\t\t\tthis.specification = {\n\t\t\t\ttype: 'useSite',\n\t\t\t\tfactory,\n\t\t\t\tComponentType: componentOrReducer as ElementType<Props>,\n\t\t\t}\n\t\t} else {\n\t\t\tthrow new ChildrenAnalyzerError('Invalid arguments')\n\t\t}\n\t\tthis.options = {\n\t\t\t...BranchNode.defaultOptions,\n\t\t\t...options,\n\t\t}\n\t}\n}\n\nnamespace BranchNode {\n\texport type Specification<\n\t\tProps extends {} = {},\n\t\tStaticContext = any,\n\t\tFactoryMethodName extends ValidFactoryName = string,\n\t\tChildrenRepresentation = any,\n\t\tReducedChildrenRepresentation = any,\n\t\tRepresentation = any,\n\t> =\n\t\t| {\n\t\t\t\ttype: 'declarationSite'\n\t\t\t\tfactoryMethodName: FactoryMethodName\n\t\t\t\tchildrenRepresentationReducer: ChildrenRepresentationReducer<\n\t\t\t\t\tChildrenRepresentation,\n\t\t\t\t\tReducedChildrenRepresentation\n\t\t\t\t>\n\t\t }\n\t\t| {\n\t\t\t\ttype: 'useSite'\n\t\t\t\tfactory: UseSiteBranchNodeRepresentationFactory<Props, ChildrenRepresentation, Representation, StaticContext>\n\t\t\t\tComponentType?: ElementType<Props>\n\t\t }\n}\n\nexport { BranchNode }\n"],"names":[],"mappings":";;;;;;;AAKA,MAAM,cAAN,MAOE;AAAA,EAgCM,YACN,SAGA,oBAGA,SACC;AAlCc;AASA;AA0BX,QAAA,OAAO,YAAY,YAAY;AAClC,WAAK,gBAAgB;AAAA,QACpB,MAAM;AAAA,QACN,mBAAmB;AAAA,QACnB,+BAA+B;AAAA,MAAA;AAAA,IAIhC,WACU,OAAO,YAAY,YAAY;AACzC,WAAK,gBAAgB;AAAA,QACpB,MAAM;AAAA,QACN;AAAA,QACA,eAAe;AAAA,MAAA;AAAA,IAChB,OACM;AACA,YAAA,IAAI,sBAAsB,mBAAmB;AAAA,IACpD;AACA,SAAK,UAAU;AAAA,MACd,GAAG,YAAW;AAAA,MACd,GAAG;AAAA,IAAA;AAAA,EAEL;AACD;AAvEA,IAAM,aAAN;AAQC,cARK,YAQU,kBAAoC;AAAA,EAClD,qBAAqB;AAAA,EACrB,4BAA4B;
|
|
1
|
+
{"version":3,"file":"BranchNode.js","sources":["../../../src/nodeSpecs/BranchNode.ts"],"sourcesContent":["import type { ElementType } from 'react'\nimport { ChildrenAnalyzerError } from '../ChildrenAnalyzerError'\nimport type { BranchNodeOptions } from './BranchNodeOptions'\nimport type { ChildrenRepresentationReducer, UseSiteBranchNodeRepresentationFactory, ValidFactoryName } from './types'\n\nclass BranchNode<\n\tProps extends {} = {},\n\tStaticContext = undefined,\n\tFactoryMethodName extends ValidFactoryName = string,\n\tChildrenRepresentation = any,\n\tReducedChildrenRepresentation = any,\n\tRepresentation = any,\n> {\n\tprivate static defaultOptions: BranchNodeOptions = {\n\t\tchildrenAreOptional: false,\n\t\tchildrenAbsentErrorMessage: 'Component must have children!',\n\t}\n\n\tpublic readonly specification: BranchNode.Specification<\n\t\tProps,\n\t\tStaticContext,\n\t\tFactoryMethodName,\n\t\tChildrenRepresentation,\n\t\tReducedChildrenRepresentation,\n\t\tRepresentation\n\t>\n\n\tpublic readonly options: BranchNodeOptions\n\n\tpublic constructor(\n\t\tfactoryMethodName: FactoryMethodName,\n\t\tchildrenRepresentationReducer: ChildrenRepresentationReducer<ChildrenRepresentation, ReducedChildrenRepresentation>,\n\t\toptions?: Partial<BranchNodeOptions>,\n\t)\n\tpublic constructor(\n\t\tuseSiteFactory: UseSiteBranchNodeRepresentationFactory<\n\t\t\tProps,\n\t\t\tChildrenRepresentation,\n\t\t\tRepresentation,\n\t\t\tStaticContext\n\t\t>,\n\t\tComponentType?: ElementType<Props>,\n\t\toptions?: Partial<BranchNodeOptions>,\n\t)\n\tpublic constructor(\n\t\tfactory:\n\t\t\t| FactoryMethodName\n\t\t\t| UseSiteBranchNodeRepresentationFactory<Props, ChildrenRepresentation, Representation, StaticContext>,\n\t\tcomponentOrReducer?:\n\t\t\t| ChildrenRepresentationReducer<ChildrenRepresentation, ReducedChildrenRepresentation>\n\t\t\t| ElementType<Props>,\n\t\toptions?: Partial<BranchNodeOptions>,\n\t) {\n\t\tif (typeof factory !== 'function') {\n\t\t\tthis.specification = {\n\t\t\t\ttype: 'declarationSite',\n\t\t\t\tfactoryMethodName: factory,\n\t\t\t\tchildrenRepresentationReducer: componentOrReducer as ChildrenRepresentationReducer<\n\t\t\t\t\tChildrenRepresentation,\n\t\t\t\t\tReducedChildrenRepresentation\n\t\t\t\t>,\n\t\t\t}\n\t\t} else if (typeof factory === 'function') {\n\t\t\tthis.specification = {\n\t\t\t\ttype: 'useSite',\n\t\t\t\tfactory,\n\t\t\t\tComponentType: componentOrReducer as ElementType<Props>,\n\t\t\t}\n\t\t} else {\n\t\t\tthrow new ChildrenAnalyzerError('Invalid arguments')\n\t\t}\n\t\tthis.options = {\n\t\t\t...BranchNode.defaultOptions,\n\t\t\t...options,\n\t\t}\n\t}\n}\n\nnamespace BranchNode {\n\texport type Specification<\n\t\tProps extends {} = {},\n\t\tStaticContext = any,\n\t\tFactoryMethodName extends ValidFactoryName = string,\n\t\tChildrenRepresentation = any,\n\t\tReducedChildrenRepresentation = any,\n\t\tRepresentation = any,\n\t> =\n\t\t| {\n\t\t\t\ttype: 'declarationSite'\n\t\t\t\tfactoryMethodName: FactoryMethodName\n\t\t\t\tchildrenRepresentationReducer: ChildrenRepresentationReducer<\n\t\t\t\t\tChildrenRepresentation,\n\t\t\t\t\tReducedChildrenRepresentation\n\t\t\t\t>\n\t\t }\n\t\t| {\n\t\t\t\ttype: 'useSite'\n\t\t\t\tfactory: UseSiteBranchNodeRepresentationFactory<Props, ChildrenRepresentation, Representation, StaticContext>\n\t\t\t\tComponentType?: ElementType<Props>\n\t\t }\n}\n\nexport { BranchNode }\n"],"names":[],"mappings":";;;;;;;AAKA,MAAM,cAAN,MAOE;AAAA,EAgCM,YACN,SAGA,oBAGA,SACC;AAlCc,kBAAA,MAAA,eAAA;AASA,kBAAA,MAAA,SAAA;AA0BX,QAAA,OAAO,YAAY,YAAY;AAClC,WAAK,gBAAgB;AAAA,QACpB,MAAM;AAAA,QACN,mBAAmB;AAAA,QACnB,+BAA+B;AAAA,MAAA;AAAA,IAIhC,WACU,OAAO,YAAY,YAAY;AACzC,WAAK,gBAAgB;AAAA,QACpB,MAAM;AAAA,QACN;AAAA,QACA,eAAe;AAAA,MAAA;AAAA,IAChB,OACM;AACA,YAAA,IAAI,sBAAsB,mBAAmB;AAAA,IACpD;AACA,SAAK,UAAU;AAAA,MACd,GAAG,YAAW;AAAA,MACd,GAAG;AAAA,IAAA;AAAA,EAEL;AACD;AAvEA,IAAM,aAAN;AAQC,cARK,YAQU,kBAAoC;AAAA,EAClD,qBAAqB;AAAA,EACrB,4BAA4B;AAC7B,CAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Leaf.js","sources":["../../../src/nodeSpecs/Leaf.ts"],"sourcesContent":["import type { ElementType } from 'react'\nimport type {\n\tConstrainedLeafRepresentationFactory,\n\tUnconstrainedLeafRepresentationFactory,\n\tValidFactoryName,\n} from './types'\n\nclass Leaf<\n\tProps extends {} = {},\n\tStaticContext = any,\n\tFactoryMethodName extends ValidFactoryName = string,\n\tRepresentation = any,\n> {\n\tpublic readonly specification: Leaf.Specification<FactoryMethodName, Representation, Props, StaticContext>\n\n\tpublic constructor(factoryMethodName: FactoryMethodName)\n\tpublic constructor(staticFactory: UnconstrainedLeafRepresentationFactory<Props, Representation, StaticContext>)\n\tpublic constructor(\n\t\tstaticFactory: ConstrainedLeafRepresentationFactory<Props, Representation, StaticContext>,\n\t\tComponentType: ElementType<Props>,\n\t)\n\tpublic constructor(\n\t\tfactory: FactoryMethodName | UnconstrainedLeafRepresentationFactory<Props, Representation, StaticContext>,\n\t\tComponentType?: ElementType<Props>,\n\t) {\n\t\tif (typeof factory === 'function') {\n\t\t\tthis.specification = {\n\t\t\t\ttype: 'useSite',\n\t\t\t\tComponentType,\n\t\t\t\tfactory,\n\t\t\t}\n\t\t} else {\n\t\t\tthis.specification = {\n\t\t\t\ttype: 'declarationSite',\n\t\t\t\tfactoryMethodName: factory,\n\t\t\t}\n\t\t}\n\t}\n}\n\nnamespace Leaf {\n\texport type Specification<\n\t\tFactoryMethodName extends ValidFactoryName,\n\t\tRepresentation,\n\t\tProps extends {},\n\t\tStaticContext,\n\t> =\n\t\t| {\n\t\t\t\ttype: 'declarationSite'\n\t\t\t\tfactoryMethodName: FactoryMethodName\n\t\t }\n\t\t| {\n\t\t\t\ttype: 'useSite'\n\t\t\t\tfactory: UnconstrainedLeafRepresentationFactory<Props, Representation, StaticContext>\n\t\t\t\tComponentType?: ElementType<Props>\n\t\t }\n}\n\nexport { Leaf }\n"],"names":[],"mappings":";;;;;;AAOA,MAAM,KAKJ;AAAA,EASM,YACN,SACA,eACC;AAXc;AAYX,QAAA,OAAO,YAAY,YAAY;AAClC,WAAK,gBAAgB;AAAA,QACpB,MAAM;AAAA,QACN;AAAA,QACA;AAAA,MAAA;AAAA,IACD,OACM;AACN,WAAK,gBAAgB;AAAA,QACpB,MAAM;AAAA,QACN,mBAAmB;AAAA,MAAA;AAAA,IAErB;AAAA,EACD;AACD;"}
|
|
1
|
+
{"version":3,"file":"Leaf.js","sources":["../../../src/nodeSpecs/Leaf.ts"],"sourcesContent":["import type { ElementType } from 'react'\nimport type {\n\tConstrainedLeafRepresentationFactory,\n\tUnconstrainedLeafRepresentationFactory,\n\tValidFactoryName,\n} from './types'\n\nclass Leaf<\n\tProps extends {} = {},\n\tStaticContext = any,\n\tFactoryMethodName extends ValidFactoryName = string,\n\tRepresentation = any,\n> {\n\tpublic readonly specification: Leaf.Specification<FactoryMethodName, Representation, Props, StaticContext>\n\n\tpublic constructor(factoryMethodName: FactoryMethodName)\n\tpublic constructor(staticFactory: UnconstrainedLeafRepresentationFactory<Props, Representation, StaticContext>)\n\tpublic constructor(\n\t\tstaticFactory: ConstrainedLeafRepresentationFactory<Props, Representation, StaticContext>,\n\t\tComponentType: ElementType<Props>,\n\t)\n\tpublic constructor(\n\t\tfactory: FactoryMethodName | UnconstrainedLeafRepresentationFactory<Props, Representation, StaticContext>,\n\t\tComponentType?: ElementType<Props>,\n\t) {\n\t\tif (typeof factory === 'function') {\n\t\t\tthis.specification = {\n\t\t\t\ttype: 'useSite',\n\t\t\t\tComponentType,\n\t\t\t\tfactory,\n\t\t\t}\n\t\t} else {\n\t\t\tthis.specification = {\n\t\t\t\ttype: 'declarationSite',\n\t\t\t\tfactoryMethodName: factory,\n\t\t\t}\n\t\t}\n\t}\n}\n\nnamespace Leaf {\n\texport type Specification<\n\t\tFactoryMethodName extends ValidFactoryName,\n\t\tRepresentation,\n\t\tProps extends {},\n\t\tStaticContext,\n\t> =\n\t\t| {\n\t\t\t\ttype: 'declarationSite'\n\t\t\t\tfactoryMethodName: FactoryMethodName\n\t\t }\n\t\t| {\n\t\t\t\ttype: 'useSite'\n\t\t\t\tfactory: UnconstrainedLeafRepresentationFactory<Props, Representation, StaticContext>\n\t\t\t\tComponentType?: ElementType<Props>\n\t\t }\n}\n\nexport { Leaf }\n"],"names":[],"mappings":";;;;;;AAOA,MAAM,KAKJ;AAAA,EASM,YACN,SACA,eACC;AAXc,kBAAA,MAAA,eAAA;AAYX,QAAA,OAAO,YAAY,YAAY;AAClC,WAAK,gBAAgB;AAAA,QACpB,MAAM;AAAA,QACN;AAAA,QACA;AAAA,MAAA;AAAA,IACD,OACM;AACN,WAAK,gBAAgB;AAAA,QACpB,MAAM;AAAA,QACN,mBAAmB;AAAA,MAAA;AAAA,IAErB;AAAA,EACD;AACD;"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { BranchNode, RawNodeRepresentation, ValidFactoryName } from './nodeSpecs';
|
|
2
|
-
export
|
|
2
|
+
export type BranchNodeList<LeavesRepresentationUnion, BranchNodesRepresentationUnion, StaticContext> = BranchNode<any, StaticContext, ValidFactoryName, RawNodeRepresentation<LeavesRepresentationUnion, BranchNodesRepresentationUnion>, any, BranchNodesRepresentationUnion>[];
|
|
3
3
|
//# sourceMappingURL=BranchNodeList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BranchNodeList.d.ts","sourceRoot":"","sources":["../../src/BranchNodeList.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAEtF,
|
|
1
|
+
{"version":3,"file":"BranchNodeList.d.ts","sourceRoot":"","sources":["../../src/BranchNodeList.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAEtF,MAAM,MAAM,cAAc,CAAC,yBAAyB,EAAE,8BAA8B,EAAE,aAAa,IAAI,UAAU,CAChH,GAAG,EACH,aAAa,EACb,gBAAgB,EAChB,qBAAqB,CAAC,yBAAyB,EAAE,8BAA8B,CAAC,EAChF,GAAG,EACH,8BAA8B,CAC9B,EAAE,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type ErrorMessageFactory<StaticContext = any> = string | ((node: ReactNode, staticContext: StaticContext) => string);
|
|
3
3
|
//# sourceMappingURL=ErrorMessageFactory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorMessageFactory.d.ts","sourceRoot":"","sources":["../../src/ErrorMessageFactory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,
|
|
1
|
+
{"version":3,"file":"ErrorMessageFactory.d.ts","sourceRoot":"","sources":["../../src/ErrorMessageFactory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,MAAM,MAAM,mBAAmB,CAAC,aAAa,GAAG,GAAG,IAChD,MAAM,GACN,CAAC,CAAC,IAAI,EAAE,SAAS,EAAE,aAAa,EAAE,aAAa,KAAK,MAAM,CAAC,CAAA"}
|
package/dist/types/LeafList.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { Leaf, ValidFactoryName } from './nodeSpecs';
|
|
2
|
-
export
|
|
2
|
+
export type LeafList<RepresentationUnion, StaticContext> = Leaf<any, StaticContext, ValidFactoryName, RepresentationUnion>[];
|
|
3
3
|
//# sourceMappingURL=LeafList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LeafList.d.ts","sourceRoot":"","sources":["../../src/LeafList.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAEzD,
|
|
1
|
+
{"version":3,"file":"LeafList.d.ts","sourceRoot":"","sources":["../../src/LeafList.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAEzD,MAAM,MAAM,QAAQ,CAAC,mBAAmB,EAAE,aAAa,IAAI,IAAI,CAC9D,GAAG,EACH,aAAa,EACb,gBAAgB,EAChB,mBAAmB,CACnB,EAAE,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type RawNodeRepresentation<AllLeavesRepresentation, AllBranchNodesRepresentation = AllLeavesRepresentation> = AllLeavesRepresentation | AllBranchNodesRepresentation | Array<AllLeavesRepresentation | AllBranchNodesRepresentation> | undefined;
|
|
2
2
|
//# sourceMappingURL=RawNodeRepresentation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RawNodeRepresentation.d.ts","sourceRoot":"","sources":["../../../src/nodeSpecs/RawNodeRepresentation.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"RawNodeRepresentation.d.ts","sourceRoot":"","sources":["../../../src/nodeSpecs/RawNodeRepresentation.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,qBAAqB,CAAC,uBAAuB,EAAE,4BAA4B,GAAG,uBAAuB,IAC9G,uBAAuB,GACvB,4BAA4B,GAC5B,KAAK,CAAC,uBAAuB,GAAG,4BAA4B,CAAC,GAC7D,SAAS,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type ChildrenRepresentationReducer<ChildrenRepresentation, ReducedChildrenRepresentation> = (childrenRepresentations: ChildrenRepresentation) => ReducedChildrenRepresentation;
|
|
2
2
|
//# sourceMappingURL=ChildrenRepresentationReducer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChildrenRepresentationReducer.d.ts","sourceRoot":"","sources":["../../../../src/nodeSpecs/types/ChildrenRepresentationReducer.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"ChildrenRepresentationReducer.d.ts","sourceRoot":"","sources":["../../../../src/nodeSpecs/types/ChildrenRepresentationReducer.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,6BAA6B,CAAC,sBAAsB,EAAE,6BAA6B,IAAI,CAClG,uBAAuB,EAAE,sBAAsB,KAC3C,6BAA6B,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { ReactElement } from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type ConstrainedLeafRepresentationFactory<Props extends {}, Representation, StaticContext> = (node: ReactElement<Props, any>, staticContext: StaticContext) => Representation;
|
|
3
3
|
//# sourceMappingURL=ConstrainedLeafRepresentationFactory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConstrainedLeafRepresentationFactory.d.ts","sourceRoot":"","sources":["../../../../src/nodeSpecs/types/ConstrainedLeafRepresentationFactory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAEzC,
|
|
1
|
+
{"version":3,"file":"ConstrainedLeafRepresentationFactory.d.ts","sourceRoot":"","sources":["../../../../src/nodeSpecs/types/ConstrainedLeafRepresentationFactory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAEzC,MAAM,MAAM,oCAAoC,CAAC,KAAK,SAAS,EAAE,EAAE,cAAc,EAAE,aAAa,IAAI,CACnG,IAAI,EAAE,YAAY,CAAC,KAAK,EAAE,GAAG,CAAC,EAC9B,aAAa,EAAE,aAAa,KACxB,cAAc,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type DeclarationSiteNodeRepresentationFactory<Props extends {}, ReducedChildrenRepresentation, Representation, StaticContext> = (props: Props, reducedChildrenRepresentation: ReducedChildrenRepresentation, staticContext: StaticContext) => Representation;
|
|
2
2
|
//# sourceMappingURL=DeclarationSiteNodeRepresentationFactory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeclarationSiteNodeRepresentationFactory.d.ts","sourceRoot":"","sources":["../../../../src/nodeSpecs/types/DeclarationSiteNodeRepresentationFactory.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"DeclarationSiteNodeRepresentationFactory.d.ts","sourceRoot":"","sources":["../../../../src/nodeSpecs/types/DeclarationSiteNodeRepresentationFactory.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,wCAAwC,CACnD,KAAK,SAAS,EAAE,EAChB,6BAA6B,EAC7B,cAAc,EACd,aAAa,IACV,CACH,KAAK,EAAE,KAAK,EACZ,6BAA6B,EAAE,6BAA6B,EAC5D,aAAa,EAAE,aAAa,KACxB,cAAc,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type RepresentationFactorySite = 'declarationSite' | 'useSite';
|
|
2
2
|
//# sourceMappingURL=RepresentationFactorySite.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RepresentationFactorySite.d.ts","sourceRoot":"","sources":["../../../../src/nodeSpecs/types/RepresentationFactorySite.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"RepresentationFactorySite.d.ts","sourceRoot":"","sources":["../../../../src/nodeSpecs/types/RepresentationFactorySite.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,GAAG,SAAS,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type StaticContextFactory<Props extends {}, StaticContext> = (props: Props, staticContext: StaticContext) => StaticContext;
|
|
2
2
|
//# sourceMappingURL=StaticContextFactory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StaticContextFactory.d.ts","sourceRoot":"","sources":["../../../../src/nodeSpecs/types/StaticContextFactory.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"StaticContextFactory.d.ts","sourceRoot":"","sources":["../../../../src/nodeSpecs/types/StaticContextFactory.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,oBAAoB,CAAC,KAAK,SAAS,EAAE,EAAE,aAAa,IAAI,CACnE,KAAK,EAAE,KAAK,EACZ,aAAa,EAAE,aAAa,KACxB,aAAa,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type SyntheticChildrenFactory<Props extends {}, StaticContext> = (props: Props, staticContext: StaticContext) => ReactNode;
|
|
3
3
|
//# sourceMappingURL=SyntheticChildrenFactory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SyntheticChildrenFactory.d.ts","sourceRoot":"","sources":["../../../../src/nodeSpecs/types/SyntheticChildrenFactory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,
|
|
1
|
+
{"version":3,"file":"SyntheticChildrenFactory.d.ts","sourceRoot":"","sources":["../../../../src/nodeSpecs/types/SyntheticChildrenFactory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,MAAM,MAAM,wBAAwB,CAAC,KAAK,SAAS,EAAE,EAAE,aAAa,IAAI,CACvE,KAAK,EAAE,KAAK,EACZ,aAAa,EAAE,aAAa,KACxB,SAAS,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { ReactElement, ReactText } from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type UnconstrainedLeafRepresentationFactory<Props extends {}, Representation, StaticContext> = (node: ReactText | ReactElement<Props, any> | boolean | null | undefined, staticContext: StaticContext) => Representation;
|
|
3
3
|
//# sourceMappingURL=UnconstrainedLeafRepresentationFactory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnconstrainedLeafRepresentationFactory.d.ts","sourceRoot":"","sources":["../../../../src/nodeSpecs/types/UnconstrainedLeafRepresentationFactory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEpD,
|
|
1
|
+
{"version":3,"file":"UnconstrainedLeafRepresentationFactory.d.ts","sourceRoot":"","sources":["../../../../src/nodeSpecs/types/UnconstrainedLeafRepresentationFactory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEpD,MAAM,MAAM,sCAAsC,CAAC,KAAK,SAAS,EAAE,EAAE,cAAc,EAAE,aAAa,IAAI,CACrG,IAAI,EAAE,SAAS,GAAG,YAAY,CAAC,KAAK,EAAE,GAAG,CAAC,GAAG,OAAO,GAAG,IAAI,GAAG,SAAS,EACvE,aAAa,EAAE,aAAa,KACxB,cAAc,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { ReactElement } from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type UseSiteBranchNodeRepresentationFactory<Props extends {}, ChildrenRepresentation, Representation, StaticContext> = (node: ReactElement<Props, any>, childrenRepresentation: ChildrenRepresentation, staticContext: StaticContext) => Representation;
|
|
3
3
|
//# sourceMappingURL=UseSiteBranchNodeRepresentationFactory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UseSiteBranchNodeRepresentationFactory.d.ts","sourceRoot":"","sources":["../../../../src/nodeSpecs/types/UseSiteBranchNodeRepresentationFactory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAEzC,
|
|
1
|
+
{"version":3,"file":"UseSiteBranchNodeRepresentationFactory.d.ts","sourceRoot":"","sources":["../../../../src/nodeSpecs/types/UseSiteBranchNodeRepresentationFactory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAEzC,MAAM,MAAM,sCAAsC,CACjD,KAAK,SAAS,EAAE,EAChB,sBAAsB,EACtB,cAAc,EACd,aAAa,IACV,CACH,IAAI,EAAE,YAAY,CAAC,KAAK,EAAE,GAAG,CAAC,EAC9B,sBAAsB,EAAE,sBAAsB,EAC9C,aAAa,EAAE,aAAa,KACxB,cAAc,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type ValidFactoryName = string | number;
|
|
2
2
|
//# sourceMappingURL=ValidFactoryName.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ValidFactoryName.d.ts","sourceRoot":"","sources":["../../../../src/nodeSpecs/types/ValidFactoryName.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"ValidFactoryName.d.ts","sourceRoot":"","sources":["../../../../src/nodeSpecs/types/ValidFactoryName.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,MAAM,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"program":{"fileNames":["../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2021.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2022.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.esnext.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../../node_modules/.pnpm/@types+react@18.0.25/node_modules/@types/react/global.d.ts","../../../../node_modules/.pnpm/csstype@3.1.1/node_modules/csstype/index.d.ts","../../../../node_modules/.pnpm/@types+prop-types@15.7.5/node_modules/@types/prop-types/index.d.ts","../../../../node_modules/.pnpm/@types+scheduler@0.16.2/node_modules/@types/scheduler/tracing.d.ts","../../../../node_modules/.pnpm/@types+react@18.0.25/node_modules/@types/react/index.d.ts","../../../../node_modules/.pnpm/@types+react@18.0.25/node_modules/@types/react/jsx-runtime.d.ts","../../src/nodeSpecs/types/ChildrenRepresentationReducer.ts","../../src/nodeSpecs/types/ConstrainedLeafRepresentationFactory.ts","../../src/nodeSpecs/types/DeclarationSiteNodeRepresentationFactory.ts","../../src/nodeSpecs/types/RepresentationFactorySite.ts","../../src/nodeSpecs/types/StaticContextFactory.ts","../../src/nodeSpecs/types/SyntheticChildrenFactory.ts","../../src/nodeSpecs/types/UnconstrainedLeafRepresentationFactory.ts","../../src/nodeSpecs/types/UseSiteBranchNodeRepresentationFactory.ts","../../src/nodeSpecs/types/ValidFactoryName.ts","../../src/nodeSpecs/types/index.ts","../../src/ChildrenAnalyzerError.ts","../../src/nodeSpecs/BranchNodeOptions.ts","../../src/nodeSpecs/BranchNode.ts","../../src/nodeSpecs/Leaf.ts","../../src/nodeSpecs/RawNodeRepresentation.ts","../../src/nodeSpecs/index.ts","../../src/BranchNodeList.ts","../../src/assertNever.ts","../../src/ErrorMessageFactory.ts","../../src/ChildrenAnalyzerOptions.ts","../../src/helpers/getErrorMessage.ts","../../src/helpers/index.ts","../../src/LeafList.ts","../../src/helpers/wrapError.ts","../../src/ChildrenAnalyzer.ts","../../src/index.ts","../../../../node_modules/.pnpm/@types+argparse@1.0.38/node_modules/@types/argparse/index.d.ts","../../../../node_modules/.pnpm/@babel+types@7.20.0/node_modules/@babel/types/lib/index.d.ts","../../../../node_modules/.pnpm/@types+babel__generator@7.6.4/node_modules/@types/babel__generator/index.d.ts","../../../../node_modules/.pnpm/@babel+parser@7.20.1/node_modules/@babel/parser/typings/babel-parser.d.ts","../../../../node_modules/.pnpm/@types+babel__template@7.4.1/node_modules/@types/babel__template/index.d.ts","../../../../node_modules/.pnpm/@types+babel__traverse@7.18.2/node_modules/@types/babel__traverse/index.d.ts","../../../../node_modules/.pnpm/@types+babel__core@7.1.19/node_modules/@types/babel__core/index.d.ts","../../../../node_modules/.pnpm/@types+blueimp-md5@2.18.0/node_modules/@types/blueimp-md5/index.d.ts","../../../../node_modules/.pnpm/@types+chai@4.3.3/node_modules/@types/chai/index.d.ts","../../../../node_modules/.pnpm/@types+chai-subset@1.3.3/node_modules/@types/chai-subset/index.d.ts","../../../../node_modules/.pnpm/@types+classnames@2.2.10/node_modules/@types/classnames/types.d.ts","../../../../node_modules/.pnpm/@types+classnames@2.2.10/node_modules/@types/classnames/index.d.ts","../../../../node_modules/.pnpm/@types+cookie@0.4.1/node_modules/@types/cookie/index.d.ts","../../../../node_modules/.pnpm/@types+debounce@1.2.0/node_modules/@types/debounce/index.d.ts","../../../../node_modules/.pnpm/@types+eslint@8.4.9/node_modules/@types/eslint/helpers.d.ts","../../../../node_modules/.pnpm/@types+estree@0.0.51/node_modules/@types/estree/index.d.ts","../../../../node_modules/.pnpm/@types+json-schema@7.0.11/node_modules/@types/json-schema/index.d.ts","../../../../node_modules/.pnpm/@types+eslint@8.4.9/node_modules/@types/eslint/index.d.ts","../../../../node_modules/.pnpm/@types+eslint-scope@3.7.4/node_modules/@types/eslint-scope/index.d.ts","../../../../node_modules/.pnpm/@types+geojson@7946.0.10/node_modules/@types/geojson/index.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/assert.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/assert/strict.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/globals.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/async_hooks.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/buffer.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/child_process.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/cluster.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/console.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/constants.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/crypto.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/dgram.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/dns.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/dns/promises.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/domain.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/events.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/fs.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/fs/promises.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/http.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/http2.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/https.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/inspector.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/module.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/net.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/os.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/path.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/perf_hooks.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/process.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/punycode.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/querystring.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/readline.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/repl.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/stream.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/stream/promises.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/stream/consumers.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/stream/web.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/string_decoder.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/test.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/timers.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/timers/promises.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/tls.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/trace_events.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/tty.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/url.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/util.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/v8.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/vm.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/wasi.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/worker_threads.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/zlib.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/globals.global.d.ts","../../../../node_modules/.pnpm/@types+node@16.18.3/node_modules/@types/node/ts4.8/index.d.ts","../../../../node_modules/.pnpm/@types+minimatch@5.1.2/node_modules/@types/minimatch/index.d.ts","../../../../node_modules/.pnpm/@types+glob@8.0.0/node_modules/@types/glob/index.d.ts","../../../../node_modules/.pnpm/@types+graceful-fs@4.1.5/node_modules/@types/graceful-fs/index.d.ts","../../../../node_modules/.pnpm/@types+unist@2.0.6/node_modules/@types/unist/index.d.ts","../../../../node_modules/.pnpm/@types+hast@2.3.4/node_modules/@types/hast/index.d.ts","../../../../node_modules/.pnpm/@types+html-minifier-terser@5.1.2/node_modules/@types/html-minifier-terser/index.d.ts","../../../../node_modules/.pnpm/@types+is-function@1.0.1/node_modules/@types/is-function/index.d.ts","../../../../node_modules/.pnpm/@types+is-hotkey@0.1.5/node_modules/@types/is-hotkey/index.d.ts","../../../../node_modules/.pnpm/@types+istanbul-lib-coverage@2.0.4/node_modules/@types/istanbul-lib-coverage/index.d.ts","../../../../node_modules/.pnpm/@types+istanbul-lib-report@3.0.0/node_modules/@types/istanbul-lib-report/index.d.ts","../../../../node_modules/.pnpm/@types+istanbul-reports@3.0.1/node_modules/@types/istanbul-reports/index.d.ts","../../../../node_modules/.pnpm/@types+js-levenshtein@1.1.0/node_modules/@types/js-levenshtein/index.d.ts","../../../../node_modules/.pnpm/@types+leaflet@1.9.0/node_modules/@types/leaflet/index.d.ts","../../../../node_modules/.pnpm/@types+lodash@4.14.187/node_modules/@types/lodash/common/common.d.ts","../../../../node_modules/.pnpm/@types+lodash@4.14.187/node_modules/@types/lodash/common/array.d.ts","../../../../node_modules/.pnpm/@types+lodash@4.14.187/node_modules/@types/lodash/common/collection.d.ts","../../../../node_modules/.pnpm/@types+lodash@4.14.187/node_modules/@types/lodash/common/date.d.ts","../../../../node_modules/.pnpm/@types+lodash@4.14.187/node_modules/@types/lodash/common/function.d.ts","../../../../node_modules/.pnpm/@types+lodash@4.14.187/node_modules/@types/lodash/common/lang.d.ts","../../../../node_modules/.pnpm/@types+lodash@4.14.187/node_modules/@types/lodash/common/math.d.ts","../../../../node_modules/.pnpm/@types+lodash@4.14.187/node_modules/@types/lodash/common/number.d.ts","../../../../node_modules/.pnpm/@types+lodash@4.14.187/node_modules/@types/lodash/common/object.d.ts","../../../../node_modules/.pnpm/@types+lodash@4.14.187/node_modules/@types/lodash/common/seq.d.ts","../../../../node_modules/.pnpm/@types+lodash@4.14.187/node_modules/@types/lodash/common/string.d.ts","../../../../node_modules/.pnpm/@types+lodash@4.14.187/node_modules/@types/lodash/common/util.d.ts","../../../../node_modules/.pnpm/@types+lodash@4.14.187/node_modules/@types/lodash/index.d.ts","../../../../node_modules/.pnpm/@types+mdast@3.0.10/node_modules/@types/mdast/index.d.ts","../../../../node_modules/.pnpm/@types+mime@2.0.3/node_modules/@types/mime/index.d.ts","../../../../node_modules/.pnpm/form-data@3.0.1/node_modules/form-data/index.d.ts","../../../../node_modules/.pnpm/@types+node-fetch@2.6.1/node_modules/@types/node-fetch/externals.d.ts","../../../../node_modules/.pnpm/@types+node-fetch@2.6.1/node_modules/@types/node-fetch/index.d.ts","../../../../node_modules/.pnpm/@types+normalize-package-data@2.4.1/node_modules/@types/normalize-package-data/index.d.ts","../../../../node_modules/.pnpm/@types+npmlog@4.1.4/node_modules/@types/npmlog/index.d.ts","../../../../node_modules/.pnpm/@types+parse-json@4.0.0/node_modules/@types/parse-json/index.d.ts","../../../../node_modules/.pnpm/@types+parse5@5.0.3/node_modules/@types/parse5/index.d.ts","../../../../node_modules/.pnpm/pg-types@2.2.0/node_modules/pg-types/index.d.ts","../../../../node_modules/.pnpm/pg-protocol@1.5.0/node_modules/pg-protocol/dist/messages.d.ts","../../../../node_modules/.pnpm/pg-protocol@1.5.0/node_modules/pg-protocol/dist/serializer.d.ts","../../../../node_modules/.pnpm/pg-protocol@1.5.0/node_modules/pg-protocol/dist/parser.d.ts","../../../../node_modules/.pnpm/pg-protocol@1.5.0/node_modules/pg-protocol/dist/index.d.ts","../../../../node_modules/.pnpm/@types+pg@8.6.5/node_modules/@types/pg/index.d.ts","../../../../node_modules/.pnpm/@types+pretty-hrtime@1.0.1/node_modules/@types/pretty-hrtime/index.d.ts","../../../../node_modules/.pnpm/@types+qs@6.9.7/node_modules/@types/qs/index.d.ts","../../../../node_modules/.pnpm/@types+react-dom@18.0.8/node_modules/@types/react-dom/index.d.ts","../../../../node_modules/.pnpm/@types+react-syntax-highlighter@11.0.5/node_modules/@types/react-syntax-highlighter/index.d.ts","../../../../node_modules/.pnpm/@types+react-test-renderer@18.0.0/node_modules/@types/react-test-renderer/index.d.ts","../../../../node_modules/.pnpm/@types+react-transition-group@4.4.5/node_modules/@types/react-transition-group/Transition.d.ts","../../../../node_modules/.pnpm/@types+react-transition-group@4.4.5/node_modules/@types/react-transition-group/CSSTransition.d.ts","../../../../node_modules/.pnpm/@types+react-transition-group@4.4.5/node_modules/@types/react-transition-group/TransitionGroup.d.ts","../../../../node_modules/.pnpm/@types+react-transition-group@4.4.5/node_modules/@types/react-transition-group/SwitchTransition.d.ts","../../../../node_modules/.pnpm/@types+react-transition-group@4.4.5/node_modules/@types/react-transition-group/config.d.ts","../../../../node_modules/.pnpm/@types+react-transition-group@4.4.5/node_modules/@types/react-transition-group/index.d.ts","../../../../node_modules/.pnpm/@types+scheduler@0.16.2/node_modules/@types/scheduler/index.d.ts","../../../../node_modules/.pnpm/@types+source-list-map@0.1.2/node_modules/@types/source-list-map/index.d.ts","../../../../node_modules/.pnpm/@types+stack-utils@2.0.1/node_modules/@types/stack-utils/index.d.ts","../../../../node_modules/.pnpm/@types+tapable@1.0.8/node_modules/@types/tapable/index.d.ts","../../../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/source-map.d.ts","../../../../node_modules/.pnpm/@types+uglify-js@3.17.1/node_modules/@types/uglify-js/index.d.ts","../../../../node_modules/.pnpm/@types+uuid@8.3.1/node_modules/@types/uuid/index.d.ts","../../../../node_modules/.pnpm/anymatch@3.1.2/node_modules/anymatch/index.d.ts","../../../../node_modules/.pnpm/source-map@0.7.4/node_modules/source-map/source-map.d.ts","../../../../node_modules/.pnpm/@types+webpack-sources@3.2.0/node_modules/@types/webpack-sources/lib/Source.d.ts","../../../../node_modules/.pnpm/@types+webpack-sources@3.2.0/node_modules/@types/webpack-sources/lib/CompatSource.d.ts","../../../../node_modules/.pnpm/@types+webpack-sources@3.2.0/node_modules/@types/webpack-sources/lib/ConcatSource.d.ts","../../../../node_modules/.pnpm/@types+webpack-sources@3.2.0/node_modules/@types/webpack-sources/lib/OriginalSource.d.ts","../../../../node_modules/.pnpm/@types+webpack-sources@3.2.0/node_modules/@types/webpack-sources/lib/PrefixSource.d.ts","../../../../node_modules/.pnpm/@types+webpack-sources@3.2.0/node_modules/@types/webpack-sources/lib/RawSource.d.ts","../../../../node_modules/.pnpm/@types+webpack-sources@3.2.0/node_modules/@types/webpack-sources/lib/ReplaceSource.d.ts","../../../../node_modules/.pnpm/@types+webpack-sources@3.2.0/node_modules/@types/webpack-sources/lib/SizeOnlySource.d.ts","../../../../node_modules/.pnpm/@types+webpack-sources@3.2.0/node_modules/@types/webpack-sources/lib/SourceMapSource.d.ts","../../../../node_modules/.pnpm/@types+webpack-sources@3.2.0/node_modules/@types/webpack-sources/lib/index.d.ts","../../../../node_modules/.pnpm/@types+webpack-sources@3.2.0/node_modules/@types/webpack-sources/lib/CachedSource.d.ts","../../../../node_modules/.pnpm/@types+webpack-sources@3.2.0/node_modules/@types/webpack-sources/index.d.ts","../../../../node_modules/.pnpm/@types+webpack@4.41.33/node_modules/@types/webpack/index.d.ts","../../../../node_modules/.pnpm/@types+webpack-env@1.18.0/node_modules/@types/webpack-env/index.d.ts","../../../../node_modules/.pnpm/@types+ws@8.5.3/node_modules/@types/ws/index.d.ts","../../../../node_modules/.pnpm/@types+yargs-parser@21.0.0/node_modules/@types/yargs-parser/index.d.ts","../../../../node_modules/.pnpm/@types+yargs@16.0.4/node_modules/@types/yargs/index.d.ts","../../../../node_modules/.pnpm/@types+yauzl@2.10.0/node_modules/@types/yauzl/index.d.ts","../../../../node_modules/.pnpm/@types+node@15.0.2/node_modules/@types/node/index.d.ts"],"fileInfos":[{"version":"f5c28122bee592cfaf5c72ed7bcc47f453b79778ffa6e301f45d21a0970719d4","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","3eb679a56cab01203a1ba7edeade937f6a2a4c718513b2cd930b579807fa9359","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"3f149f903dd20dfeb7c80e228b659f0e436532de772469980dbd00702cc05cc1","affectsGlobalScope":true},{"version":"1272277fe7daa738e555eb6cc45ded42cc2d0f76c07294142283145d49e96186","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"cd483c056da900716879771893a3c9772b66c3c88f8943b4205aec738a94b1d0","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"ff667ee99e5a28c3dc5063a3cfd4d3436699e3fb035d4451037da7f567da542a","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"6ea9ab679ea030cf46c16a711a316078e9e02619ebaf07a7fcd16964aba88f2d","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"c37f8a49593a0030eecb51bbfa270e709bec9d79a6cc3bb851ef348d4e6b26f8","affectsGlobalScope":true},{"version":"bbdf156fea2fabed31a569445835aeedcc33643d404fcbaa54541f06c109df3f","affectsGlobalScope":true},"1c29793071152b207c01ea1954e343be9a44d85234447b2b236acae9e709a383","6a386ff939f180ae8ef064699d8b7b6e62bc2731a62d7fbf5e02589383838dea","f5a8b384f182b3851cec3596ccc96cb7464f8d3469f48c74bf2befb782a19de5",{"version":"d8d8dd5b60bde2305e6140d63ddb04f82a539d02c8c80fc9651b6db261e7f3be","affectsGlobalScope":true},"af7fd2870746deed40e130fc0a3966de74e8f52a97ec114d0fbb35876ab05ca9",{"version":"a9c21d8c1022cf7c134e33b95bd38d792b1353749e4312b8bf184baf1c6e6186","signature":"ddab1d948442f1d89ae405e4b401fe9c5c024caf1e8cd64f5241d3e3f8598ef4"},{"version":"a2d99deb45290e2ad3be8e8db687f498eaa5f857ddc0f081045911d2408d6f65","signature":"dbcc123713b5e336e96eb286ebbdd780bfbe668026a7f3600442d0e00da0b52e"},{"version":"2c4b09e2886389ac8a6fb4a763de72b30fd22b29ad194bd7a7b966f409e2d20c","signature":"6dc1b0194bf045d628f8f91565d62d337a3f33f58a01820476f2a25e1fe07060"},{"version":"f46736b4c4956a380050bbe5fc4dc914bfc70e7561cd6a6889d0854bbad6c053","signature":"2df86603e790f78e27c4001e27e43bb51a4f35b4d042efd2ef44bcb5a4d3e0ea"},{"version":"cfb7cbd7db2fb7f997b2cf652191042e72e322b9c04c161cfd8b74f759ab6ab5","signature":"53f66b4853a4ecdf639738b12ba49313bc64a08c2f0c5b2f9c9eab16530714e4"},{"version":"09128331d23e062378d0354e5b9cf8da6ff27dd61d1942966d730b1f22e80e7f","signature":"3cd3779457f28b868abaaf82f3169ee22f5d92aa03facfba7f0bcb1f94edb941"},{"version":"b5c303499a3c43d8170ed36dc7b3f233524ff3e99f8f3319960165537b387ce8","signature":"46239da18783f14365d4f7ee8a877e2b460077895160c9467b09059686ca2b6e"},{"version":"867982da569cd55c28d3c2178a67e32d2ad58002b815f623a3049aa39a3a6c5c","signature":"1e9a076f79cace7eacade413bc3570b42dfa92cc05f39a7414300c797e237695"},{"version":"da33c798c79471b84e7325268e2b07d5659dab29e44e222cec3a4261d75c11a8","signature":"f1df3133e8cb16200bb265761db43e8e9babab2cd772d6d693e5c9b8db47d553"},{"version":"457190a697618a8153922ff3142e8a306a6db160b92acee3de08206a4b3659f5","signature":"ac2f98183ecd3fbae9b7af51efeefe3bcaa2acf6f150fe776afe73444b3a7d43"},{"version":"e4b30974841000a2f00e89ac2cfa8a063766e69131e31ee521267af0bab4cfd5","signature":"ec33c9ae91ebe33329992a166653817225f9ebc08835c8bac7270a6be763d55c"},{"version":"81d8157c53cd3457cefeee525e509da21a28e61e131d6c23cdb99570d4f171c0","signature":"d519308aedac3bb98d355832e80d9d988570ef945649255bcc0988b91a6157d6"},{"version":"7327aedbd450b22a519aff0b7e4f93553463b578136415764de7727ebddf2d44","signature":"2c1c6fe63c4985cfb439f248eca2fba14446a21c3c7afc254c85c492ceb7174a"},{"version":"cdfa71e29fc4507f0beabef37debe8e361ac525d5b22b0c02588855dea59a948","signature":"4a744a8145a44cb9a0df124bc8b86c448fa9bf8f176ac8e9c5777cae919b0bad"},{"version":"a24a9885385ca27603b8bdf0f7b19ea2f045cb7e38a85458a7c7908c0cd9b111","signature":"dbf49314dfdf7aca89ba2f94cd2965b993342f0e09331e67cc1a6aa9b68c5377"},{"version":"bd48adca38f6d32cec918e4dffe5e5b4a71cfe27dd2e26fb5dd07b23fd7ed1f7","signature":"2b8997bd989157a95291c8106ae6d8851d1400176d68a56e88b1ae1da3467682"},{"version":"795a8d3c1116f076ad63ca53a0e9cc9e37e9a8b3fa87078fdc9cead9819aa9c2","signature":"8759a3cc437838b7010f3b7682b4a4b829492aecf077900b30690765ef7fe70a"},{"version":"cbc10012d95a4d49ad93e7a8f99749a4861080bc5e8e5ac3b5771eee66e4827f","signature":"01dfd1b7093a72fbeb99bb685007420857a0808d7760dd49f3b45c22544afc5c"},{"version":"d1c97f31e1d15d00eb424d8328cef49991ef84cc1415e714bc13c5432a9f2075","signature":"3b159dcd4b21b084fe4c3d98f76b16865ca61692a09db5bf45e10d4b729c7da5"},{"version":"6901ceca3adc070f8e77e6e6eff53f44aed701cc191faa75bcf821e8bb6c03d6","signature":"4ef5e4999e4ba505b9067a73b3a9976ad85a5b924fc3442e1dd8a25dcdc08269"},{"version":"d71ec1da745c53611f1b05cd8041e5f3d54764bf6dcecf97b2b2b38438540873","signature":"b297960be66224fd76bfde7bd766b088925c078c614f372a09f71e43f786cfaa"},{"version":"6fd0fb51989798e07e6c10b02d0a72fa3145856d3f38ef8bd193a104c534c9f4","signature":"bc357378e04884500ad2f6a3636329a539ec6ffe27f53d79e48a9afa4e307840"},{"version":"4e7afa7c39db022e830595e3651298ab1971a1495c5ea18b84e6eb6410fe0f6f","signature":"269a87c5c17b5b68c57d356fb7f91e44c149613d55dd22311da9907cf5f1f161"},{"version":"0824ca5fd22451f71eaf191d84b6c615fda92ca9f809dc4448109a285fbad977","signature":"d862f114953bcdafaa15f4e06ec6bd5d9d6a9a8b1e156442537277ca99d669c3"},{"version":"41b13b050c1acadbfdc8bdc4fd94a63e39a21389b888d94f6c77a4715310683d","signature":"bf4aab488f9439a4747dd85d2f7e626fe74949feee5d003e84189001471dbe1a"},{"version":"2d6b75242f3e60cbe3976167258cc323e0d1e39353f870c4037b35d075a3a75f","signature":"5b4e64ff6293018f7ff8339962af83025fb9df590afdf8dba5fb57fbb0b5a08d"},"dc3b172ee27054dbcedcf5007b78c256021db936f6313a9ce9a3ecbb503fd646","497d9c40ac3fbb712314a26d91994a3c0770b0e742918f4f58c722c5514263be","cc957354aa3c94c9961ebf46282cfde1e81d107fc5785a61f62c67f1dd3ac2eb","7ec238b220ea991b6643e24191b1f552a65956d5f6de4c6144e700b9985265d8","93de1c6dab503f053efe8d304cb522bb3a89feab8c98f307a674a4fae04773e9","dae3d1adc67ac3dbd1cd471889301339ec439837b5df565982345be20c8fca9a","5426e62886b7be7806312d31a00e8f7dccd6fe63ba9bbefe99ee2eab29cc48a3","5ee005d57eb5b0e887f8451463ac412dc22e6868534f51f061166311f6c8baf5",{"version":"127bf414ca8ced28c9738b91a935121009d03bbc136668db980bd1ba18976b2b","affectsGlobalScope":true},{"version":"f4c0db3a49cea9babd5d224ba14243a6a6119bf65a65198994033aaea3a60a71","affectsGlobalScope":true},"dc688638e386342faae164e68ac0205274b6731e70ac1a45921f3ce3aa083795","d22e870fef25a052477d24f34356470262881420c8b058c89d86392de6502c42","117ffeecf6c55e25b6446f449ad079029b5e7317399b0a693858faaaea5ca73e","8dc552d17d8515805274740c4902367436a73295c4109bc29f897f35b0604da7",{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"a1c79f857f5c7754e14c93949dad8cfefcd7df2ecc0dc9dd79a30fd493e28449","f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","3adc8ac088388fd10b0e9cd3fa08abbebed9172577807394a241466ccb98f411","e050a0afcdbb269720a900c85076d18e0c1ab73e580202a2bf6964978181222a","a3b6c93a9838b8c94c6998e85646d6f2d07c20ecfe1e235dba62158b29451391","4911d4c3a7f7c11bad0e2cec329a19a385d10ea83b0b69c76e032359e388f624","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"2f6c9750131d5d2fdaba85c164a930dc07d2d7e7e8970b89d32864aa6c72620c","affectsGlobalScope":true},"56d13f223ab40f71840795f5bef2552a397a70666ee60878222407f3893fb8d0",{"version":"4ffef5c4698e94e49dcf150e3270bad2b24a2aeab48b24acbe7c1366edff377d","affectsGlobalScope":true},"95843d5cfafced8f3f8a5ce57d2335f0bcd361b9483587d12a25e4bd403b8216","afc6e96061af46bcff47246158caee7e056f5288783f2d83d6858cd25be1c565",{"version":"34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","67a12e6c992d3f770078bacc562f767cf6142ae4453759a482f8f5ed30a99027","f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf","c993aac3b6d4a4620ef9651497069eb84806a131420e4f158ea9396fb8eb9b8c","76650408392bf49a8fbf3e2b6b302712a92d76af77b06e2da1cc8077359c4409","0af3121e68297b2247dd331c0d24dba599e50736a7517a5622d5591aae4a3122","06ccebc2c2db57d6bdbca63b71c4ae5e6ddc42d972fd8f122d4c1a28aa111b25",{"version":"81e8508d1e82278f5d3fee936f267e00c308af36219bfcee2631f9513c9c4017","affectsGlobalScope":true},"413a4be7f94f631235bbc83dad36c4d15e5a2ff02bca1efdbd03636d6454631b","20c468256fd68d3ef1fa53526e76d51d6aa91711e84d72c0343589b99238287e","4198acced75d48a039c078734c4efca7788ff8c78609c270a2b63ec20e3e1676","8d4c16a26d59e3ce49741a7d4a6e8206b884e226cf308667c7778a0b2c0fee7f","ee3bad055a79f188626b1a7046f04ab151fdd3581e55c51d32face175bd9d06f","d61c7c41eb1960b1285e242fd102c162b65c0522985b839fadda59874308a170",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"1805e0e4d1ed00f6361db25dff6887c7fa9b5b39f32599a34e8551da7daaa9c2","d10f4929cd610c26926d6784fc3f9f4120b789c03081b5d65fb2d2670a00fa04","fb0989383c6109f20281b3d31265293daefdd76d0d30551782c1654e93704f48","a4210a84a82b3e7a8cec5b2f3616e46d523f4f10cc1576d8f2fb89d0987b341e",{"version":"8207e7e6db9aa5fc7e61c8f17ba74cf9c115d26f51f91ee93f790815a7ea9dfb","affectsGlobalScope":true},"9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492","22d48bfb37261136423ac687f1fa7bd4dda3083f767416d409a8260cf92bc8fc","29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324","0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3","f142151303f0792b81eff90b554081d2b78b146a83a4bc573228338e70afa420","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","698ab660b477b9c2cd5ccbd99e7e7df8b4a6134c1f5711fa615ed7aab51cb7f7","33eee034727baf564056b4ea719075c23d3b4767d0b5f9c6933b81f3d77774d2","c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637","a4471d2bdba495b2a6a30b8765d5e0282fa7009d88345a9528f73c37869d3b93",{"version":"aee7013623e7632fba449d4df1da92925b27d9b816cb05546044dbfe54c88ef4","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","c9d70d3d7191a66a81cb554557f8ed1cf736ea8397c44a864fe52689de18865a","998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151","ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4",{"version":"1aad825534c73852a1f3275e527d729a2c0640f539198fdfdfeb83b839851910","affectsGlobalScope":true},"badae0df9a8016ac36994b0a0e7b82ba6aaa3528e175a8c3cb161e4683eec03e","c3db860bcaaaeb3bbc23f353bbda1f8ab82756c8d5e973bebb3953cb09ea68f2","235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0","bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1","9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958","c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"e3685a8957b4e2af64c3f04a58289ee0858a649dbcd963a2b897fe85858ae18a","963d59066dd6742da1918a6213a209bcc205b8ee53b1876ee2b4e6d80f97c85e","a55ca8b5f8c6a8535bb26fac1e10132a5338234ca3d5b9ed739fbc8ef41c8075","3ebae8c00411116a66fca65b08228ea0cf0b72724701f9b854442100aab55aba","cddf5c26907c0b8378bc05543161c11637b830da9fadf59e02a11e675d11e180","3d2cd8f3047fff04a71e7037a6a4cb9f4accb28dbd8c0d83164d414811025af0","70b34c8420d6226ed565d55f47fe04912d0ca0ad128825c5a06e018a3498db32","de1d6e224048139baf7494237a9231be6bab9e990fb239c7825bfd38b06d8c90","077b139efd1a6318805a8b24f05e7af37946d9bf9426bcb4866b45b61e6aac90","8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0","15a58e61533036fb08dfd567fa7b1f799acdedf0cacf5cbc93bbed0f0520e87f","890eadd0631576dc5994a2e12cba56387e20afd8851352c0108e4fe09dc3a308","675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","fe4a2042d087990ebfc7dc0142d5aaf5a152e4baea86b45f283f103ec1e871ea","d70c026dd2eeaa974f430ea229230a1897fdb897dc74659deebe2afd4feeb08f","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","febf0b2de54781102b00f61653b21377390a048fbf5262718c91860d11ff34a6","98f9d826db9cd99d27a01a59ee5f22863df00ccf1aaf43e1d7db80ebf716f7c3","0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","9c41e412e6d07b29d8772641d4016dec5984225f7ecc2008bd8173ff14465047","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3cf0d343c2276842a5b617f22ba82af6322c7cfe8bb52238ffc0c491a3c21019","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9",{"version":"f2eff8704452659641164876c1ef0df4174659ce7311b0665798ea3f556fa9ad","affectsGlobalScope":true},"2a2e2c6463bcf3c59f31bc9ab4b6ef963bbf7dffb049cd017e2c1834e3adca63","be27a64e821a3e5af838650e4aa25805c60f057d0c37a9762c378d19d364b3e6","736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","208bb742e0f201470da121bc73847c74b62cff4172f38ae5949ae77d6c9c6b71","3663d1b50f356656a314e5df169bb51cb9d5fd75905fa703f75db6bb32030568","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","df38da6685578ac3d0e4ce2d20f3d59462ee53959b8263d2532ec9cec48ae098","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","c555dd691dd05955e99cd93dd99c685a65e5287813ccb5e6bfde951183248e26","f60e3e3060207ac982da13363181fd7ee4beecc19a7c569f0d6bb034331066c2","17230b34bb564a3a2e36f9d3985372ccab4ad1722df2c43f7c5c2b553f68e5db","87ed0f84f0691d5c724b23159db96342e6b04ac69201b02c65936f4281ce1fbe","13868c5792808236b17dfe2803eafce911ea4d09d3b2fda95391891a494f988f","0dfe35191a04e8f9dc7caeb9f52f2ee07402736563d12cbccd15fb5f31ac877f","fa5c2d3fcd8e227e180815df0a0903ed4b116400452af8a75ac5b68e5e1de9da","c0a3ea3aee13c4946a6aefce3a6ab9292a40a29f6622cde0fda0b1067a1a1f5f","ba601641fac98c229ccd4a303f747de376d761babb33229bb7153bed9356c9cc","e4dd91dd4789a109aab51d8a0569a282369fcda9ba6f2b2297bc61bacfb1a042",{"version":"cffd3848b7af4922d70028c805b7df5e8f0eac4a8d2410b0f55b47ca62c6c3a8","affectsGlobalScope":true},"408cc7117448f4994a1f50468648a2d06eff4112a7707dbef6ceea76d2684707","30688eab034d1aa3bbe4d8f2c7f462ddaec9f30f1a38a306a4728a9a06a58b11","e03334588c63840b7054accd0b90f29c5890db6a6555ac0869a78a23297f1396","c3052485f32a96bfde75a2976c1238995522584ba464f04ff16a8a40af5e50d1","c220410b8e956fa157ce4e5e6ac871f0f433aa120c334d906ff1f5e2c7369e95","960a68ced7820108787135bdae5265d2cc4b511b7dcfd5b8f213432a8483daf1","5e8db4872785292074b394d821ae2fc10e4f8edc597776368aebbe8aefb24422","74b0245c42990ed8a849df955db3f4362c81b13f799ebc981b7bec2d5b414a57","67fc055eb86a0632e2e072838f889ffe1754083cb13c8c80a06a7d895d877aae","b0d10e46cfe3f6c476b69af02eaa38e4ccc7430221ce3109ae84bb9fb8282298","3833c70307dc3d2b46cb6f2a8b6a90e4d7e7367a21ab18c481d7de0909a43e67","2887592574fcdfd087647c539dcb0fbe5af2521270dad4a37f9d17c16190d579","9dcd1a6ae84def6ce3e80b27a367912e5b8e9f15c039143820ab76f7ceb8f3ab","fab58e600970e66547644a44bc9918e3223aa2cbd9e8763cec004b2cfb48827e","4fb0b7d532aa6fb850b6cd2f1ee4f00802d877b5c66a51903bc1fb0624126349","b90c59ac4682368a01c83881b814738eb151de8a58f52eb7edadea2bcffb11b9","8560a87b2e9f8e2c3808c8f6172c9b7eb6c9b08cb9f937db71c285ecf292c81d","ffe3931ff864f28d80ae2f33bd11123ad3d7bad9896b910a1e61504cc093e1f5","083c1bd82f8dc3a1ed6fc9e8eaddf141f7c05df418eca386598821e045253af9","274ebe605bd7f71ce161f9f5328febc7d547a2929f803f04b44ec4a7d8729517","6ca0207e70d985a24396583f55836b10dc181063ab6069733561bfde404d1bad","5908142efeaab38ffdf43927ee0af681ae77e0d7672b956dfb8b6c705dbfe106","f772b188b943549b5c5eb803133314b8aa7689eced80eed0b70e2f30ca07ab9c","0026b816ef05cfbf290e8585820eef0f13250438669107dfc44482bac007b14f","05d64cc1118031b29786632a9a0f6d7cf1dcacb303f27023a466cf3cdc860538","e0fff9119e1a5d2fdd46345734126cd6cb99c2d98a9debf0257047fe3937cc3f","d84398556ba4595ee6be554671da142cfe964cbdebb2f0c517a10f76f2b016c0","e275297155ec3251200abbb334c7f5641fecc68b2a9573e40eed50dff7584762","1fc49547f60101e7fac0d9113a52c29178be082d46d7525009aebafdbb170a69",{"version":"401845ce10d4d9848a8e39f5004446eef7c3db2de5e9341b8a17c9b00aefcc0a","affectsGlobalScope":true},"b4358a89fcd9c579f84a6c68e2ce44ca91b07e4db3f8f403c2b7a72c1a1e04b6","70e9a18da08294f75bf23e46c7d69e67634c0765d355887b9b41f0d959e1426e","6ba73232c9d3267ca36ddb83e335d474d2c0e167481e3dec416c782894e11438","65dfa4bc49ccd1355789abb6ae215b302a5b050fdee9651124fe7e826f33113c"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"experimentalDecorators":true,"jsx":4,"module":99,"noEmitOnError":true,"noImplicitOverride":true,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"target":6,"useDefineForClassFields":true},"fileIdsList":[[88,151],[151],[88,89,90,91,92,151],[88,90,151],[95,151],[97,151],[102,104,151],[101,102,103,151],[122,123,151,158,159],[123,151,158],[151,162],[151,167],[151,168],[106,151],[151,172,174,175,176,177,178,179,180,181,182,183,184],[151,172,173,175,176,177,178,179,180,181,182,183,184],[151,173,174,175,176,177,178,179,180,181,182,183,184],[151,172,173,174,176,177,178,179,180,181,182,183,184],[151,172,173,174,175,177,178,179,180,181,182,183,184],[151,172,173,174,175,176,178,179,180,181,182,183,184],[151,172,173,174,175,176,177,179,180,181,182,183,184],[151,172,173,174,175,176,177,178,180,181,182,183,184],[151,172,173,174,175,176,177,178,179,181,182,183,184],[151,172,173,174,175,176,177,178,179,180,182,183,184],[151,172,173,174,175,176,177,178,179,180,181,183,184],[151,172,173,174,175,176,177,178,179,180,181,182,184],[151,172,173,174,175,176,177,178,179,180,181,182,183],[125,150,151,187,188,238],[107,151],[110,151],[111,116,142,151],[112,122,123,130,139,150,151],[112,113,122,130,151],[114,151],[115,116,123,131,151],[116,139,147,151],[117,119,122,130,151],[118,151],[119,120,151],[121,122,151],[122,151],[122,123,124,139,150,151],[122,123,124,139,151],[125,130,139,150,151],[122,123,125,126,130,139,147,150,151],[125,127,139,147,150,151],[107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157],[122,128,151],[129,150,151],[119,122,130,139,151],[131,151],[132,151],[110,133,151],[134,149,151,155],[135,151],[136,151],[122,137,151],[137,138,151,153],[111,122,139,140,141,151],[111,139,141,151],[139,140,151],[142,151],[143,151],[122,145,146,151],[145,146,151],[116,130,147,151],[148,151],[130,149,151],[111,125,136,150,151],[116,151],[139,151,152],[151,153],[151,154],[111,116,122,124,133,139,150,151,153,155],[139,151,156],[122,139,147,151,158,194,195,198,199],[59,151],[59,151,203],[59,151,205],[151,205,206,207,208,209],[55,56,57,58,151],[151,215],[151,158,220,221,222,223,224,225,226,227,228,229,230],[151,219,220,229],[151,220,229],[151,212,219,220,229],[151,220],[116,151,219,229],[151,219,220,221,222,223,224,225,226,227,228,230],[116,151,158,214,215,216,218,231],[122,125,127,139,147,150,151,156,158],[151,235],[122,139,151,158],[125,139,151,158],[151,158,195,196,197],[151,158],[139,151,158,195],[60,76,151],[59,60,71,76,77,78,80,82,83,84,151],[60,151],[60,79,151],[59,60,151],[59,60,79,151],[60,81,151],[59,60,71,151],[60,71,76,80,85,151],[59,60,70,71,72,151],[59,60,70,151],[60,70,72,73,74,75,151],[60,61,62,63,64,65,66,67,68,69,151],[76],[59,77,80,83],[79],[59],[59,79],[81],[71,76,80,85],[59,70,72],[59,70],[70,72,73,74,75],[61,62,63,64,65,66,67,68,69]],"referencedMap":[[90,1],[88,2],[87,2],[93,3],[89,1],[91,4],[92,1],[94,2],[96,5],[95,2],[98,6],[97,2],[99,2],[100,2],[105,7],[101,2],[104,8],[102,2],[106,2],[160,9],[161,10],[163,11],[164,2],[165,2],[166,2],[167,2],[168,12],[169,13],[170,2],[103,2],[171,14],[173,15],[174,16],[172,17],[175,18],[176,19],[177,20],[178,21],[179,22],[180,23],[181,24],[182,25],[183,26],[184,27],[185,11],[186,2],[159,2],[188,2],[189,28],[107,29],[108,29],[110,30],[111,31],[112,32],[113,33],[114,34],[115,35],[116,36],[117,37],[118,38],[119,39],[120,39],[121,40],[122,41],[123,42],[124,43],[109,2],[157,2],[125,44],[126,45],[127,46],[158,47],[128,48],[129,49],[130,50],[131,51],[132,52],[133,53],[134,54],[135,55],[136,56],[137,57],[138,58],[139,59],[141,60],[140,61],[142,62],[143,63],[144,2],[145,64],[146,65],[147,66],[148,67],[149,68],[150,69],[151,70],[152,71],[153,72],[154,73],[155,74],[156,75],[190,2],[191,41],[192,2],[193,2],[199,76],[200,2],[57,2],[201,2],[202,77],[203,78],[204,77],[206,79],[208,77],[205,77],[207,79],[209,2],[210,80],[55,2],[59,81],[60,77],[211,2],[58,2],[212,2],[213,2],[214,2],[216,82],[162,2],[217,2],[233,2],[231,83],[230,84],[221,85],[222,86],[223,86],[224,85],[225,85],[226,85],[227,87],[220,88],[228,84],[229,89],[232,90],[234,91],[235,2],[236,92],[237,93],[218,2],[56,2],[187,94],[198,95],[195,96],[197,97],[196,96],[194,2],[215,2],[219,2],[11,2],[12,2],[14,2],[13,2],[2,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[3,2],[4,2],[26,2],[23,2],[24,2],[25,2],[27,2],[28,2],[29,2],[5,2],[30,2],[31,2],[32,2],[33,2],[6,2],[34,2],[35,2],[36,2],[37,2],[7,2],[38,2],[43,2],[44,2],[39,2],[40,2],[41,2],[42,2],[8,2],[48,2],[45,2],[46,2],[47,2],[49,2],[9,2],[50,2],[51,2],[52,2],[53,2],[1,2],[10,2],[54,2],[77,98],[85,99],[71,100],[80,101],[79,102],[83,98],[78,100],[81,103],[82,104],[84,105],[86,106],[73,107],[72,100],[74,108],[75,100],[76,109],[61,100],[62,102],[63,100],[64,100],[65,100],[66,102],[67,102],[68,102],[69,100],[70,110]],"exportedModulesMap":[[90,1],[88,2],[87,2],[93,3],[89,1],[91,4],[92,1],[94,2],[96,5],[95,2],[98,6],[97,2],[99,2],[100,2],[105,7],[101,2],[104,8],[102,2],[106,2],[160,9],[161,10],[163,11],[164,2],[165,2],[166,2],[167,2],[168,12],[169,13],[170,2],[103,2],[171,14],[173,15],[174,16],[172,17],[175,18],[176,19],[177,20],[178,21],[179,22],[180,23],[181,24],[182,25],[183,26],[184,27],[185,11],[186,2],[159,2],[188,2],[189,28],[107,29],[108,29],[110,30],[111,31],[112,32],[113,33],[114,34],[115,35],[116,36],[117,37],[118,38],[119,39],[120,39],[121,40],[122,41],[123,42],[124,43],[109,2],[157,2],[125,44],[126,45],[127,46],[158,47],[128,48],[129,49],[130,50],[131,51],[132,52],[133,53],[134,54],[135,55],[136,56],[137,57],[138,58],[139,59],[141,60],[140,61],[142,62],[143,63],[144,2],[145,64],[146,65],[147,66],[148,67],[149,68],[150,69],[151,70],[152,71],[153,72],[154,73],[155,74],[156,75],[190,2],[191,41],[192,2],[193,2],[199,76],[200,2],[57,2],[201,2],[202,77],[203,78],[204,77],[206,79],[208,77],[205,77],[207,79],[209,2],[210,80],[55,2],[59,81],[60,77],[211,2],[58,2],[212,2],[213,2],[214,2],[216,82],[162,2],[217,2],[233,2],[231,83],[230,84],[221,85],[222,86],[223,86],[224,85],[225,85],[226,85],[227,87],[220,88],[228,84],[229,89],[232,90],[234,91],[235,2],[236,92],[237,93],[218,2],[56,2],[187,94],[198,95],[195,96],[197,97],[196,96],[194,2],[215,2],[219,2],[11,2],[12,2],[14,2],[13,2],[2,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[3,2],[4,2],[26,2],[23,2],[24,2],[25,2],[27,2],[28,2],[29,2],[5,2],[30,2],[31,2],[32,2],[33,2],[6,2],[34,2],[35,2],[36,2],[37,2],[7,2],[38,2],[43,2],[44,2],[39,2],[40,2],[41,2],[42,2],[8,2],[48,2],[45,2],[46,2],[47,2],[49,2],[9,2],[50,2],[51,2],[52,2],[53,2],[1,2],[10,2],[54,2],[77,111],[85,112],[80,113],[79,114],[83,111],[81,115],[82,116],[84,114],[86,117],[73,118],[74,119],[76,120],[62,114],[66,114],[67,114],[68,114],[70,121]],"semanticDiagnosticsPerFile":[90,88,87,93,89,91,92,94,96,95,98,97,99,100,105,101,104,102,106,160,161,163,164,165,166,167,168,169,170,103,171,173,174,172,175,176,177,178,179,180,181,182,183,184,185,186,159,188,189,107,108,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,109,157,125,126,127,158,128,129,130,131,132,133,134,135,136,137,138,139,141,140,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,190,191,192,193,199,200,57,201,202,203,204,206,208,205,207,209,210,55,59,60,211,58,212,213,214,216,162,217,233,231,230,221,222,223,224,225,226,227,220,228,229,232,234,235,236,237,218,56,187,198,195,197,196,194,215,219,11,12,14,13,2,15,16,17,18,19,20,21,22,3,4,26,23,24,25,27,28,29,5,30,31,32,33,6,34,35,36,37,7,38,43,44,39,40,41,42,8,48,45,46,47,49,9,50,51,52,53,1,10,54,77,85,71,80,79,83,78,81,82,84,86,73,72,74,75,76,61,62,63,64,65,66,67,68,69,70]},"version":"4.7.4"}
|
|
1
|
+
{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../../node_modules/typescript/lib/lib.es2023.d.ts","../../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../../node_modules/@types/react/global.d.ts","../../../../node_modules/@types/react/node_modules/csstype/index.d.ts","../../../../node_modules/@types/prop-types/index.d.ts","../../../../node_modules/@types/scheduler/tracing.d.ts","../../../../node_modules/@types/react/index.d.ts","../../../../node_modules/@types/react/jsx-runtime.d.ts","../../src/nodeSpecs/types/ChildrenRepresentationReducer.ts","../../src/nodeSpecs/types/ConstrainedLeafRepresentationFactory.ts","../../src/nodeSpecs/types/DeclarationSiteNodeRepresentationFactory.ts","../../src/nodeSpecs/types/RepresentationFactorySite.ts","../../src/nodeSpecs/types/StaticContextFactory.ts","../../src/nodeSpecs/types/SyntheticChildrenFactory.ts","../../src/nodeSpecs/types/UnconstrainedLeafRepresentationFactory.ts","../../src/nodeSpecs/types/UseSiteBranchNodeRepresentationFactory.ts","../../src/nodeSpecs/types/ValidFactoryName.ts","../../src/nodeSpecs/types/index.ts","../../src/ChildrenAnalyzerError.ts","../../src/nodeSpecs/BranchNodeOptions.ts","../../src/nodeSpecs/BranchNode.ts","../../src/nodeSpecs/Leaf.ts","../../src/nodeSpecs/RawNodeRepresentation.ts","../../src/nodeSpecs/index.ts","../../src/BranchNodeList.ts","../../src/assertNever.ts","../../src/ErrorMessageFactory.ts","../../src/ChildrenAnalyzerOptions.ts","../../src/helpers/getErrorMessage.ts","../../src/helpers/index.ts","../../src/LeafList.ts","../../src/helpers/wrapError.ts","../../src/ChildrenAnalyzer.ts","../../src/index.ts","../../../../node_modules/@types/argparse/index.d.ts","../../../../node_modules/@babel/types/lib/index.d.ts","../../../../node_modules/@types/babel__generator/index.d.ts","../../../../node_modules/@babel/parser/typings/babel-parser.d.ts","../../../../node_modules/@types/babel__template/index.d.ts","../../../../node_modules/@types/babel__traverse/index.d.ts","../../../../node_modules/@types/babel__core/index.d.ts","../../../../node_modules/@types/blueimp-md5/index.d.ts","../../../../node_modules/@types/braces/index.d.ts","../../../../node_modules/@types/chai/index.d.ts","../../../../node_modules/@types/chai-subset/index.d.ts","../../../../node_modules/@types/classnames/types.d.ts","../../../../node_modules/@types/classnames/index.d.ts","../../../../node_modules/@types/cookie/index.d.ts","../../../../node_modules/@types/eslint/helpers.d.ts","../../../../node_modules/@types/eslint/node_modules/@types/estree/index.d.ts","../../../../node_modules/@types/json-schema/index.d.ts","../../../../node_modules/@types/eslint/index.d.ts","../../../../node_modules/@types/eslint-scope/node_modules/@types/estree/index.d.ts","../../../../node_modules/@types/eslint-scope/index.d.ts","../../../../node_modules/@types/estree/index.d.ts","../../../../node_modules/@types/geojson/index.d.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/@types/node/buffer.d.ts","../../../../node_modules/@types/node/child_process.d.ts","../../../../node_modules/@types/node/cluster.d.ts","../../../../node_modules/@types/node/console.d.ts","../../../../node_modules/@types/node/constants.d.ts","../../../../node_modules/@types/node/crypto.d.ts","../../../../node_modules/@types/node/dgram.d.ts","../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/@types/node/dns.d.ts","../../../../node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/@types/node/domain.d.ts","../../../../node_modules/@types/node/events.d.ts","../../../../node_modules/@types/node/fs.d.ts","../../../../node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/@types/node/http.d.ts","../../../../node_modules/@types/node/http2.d.ts","../../../../node_modules/@types/node/https.d.ts","../../../../node_modules/@types/node/inspector.d.ts","../../../../node_modules/@types/node/module.d.ts","../../../../node_modules/@types/node/net.d.ts","../../../../node_modules/@types/node/os.d.ts","../../../../node_modules/@types/node/path.d.ts","../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/@types/node/process.d.ts","../../../../node_modules/@types/node/punycode.d.ts","../../../../node_modules/@types/node/querystring.d.ts","../../../../node_modules/@types/node/readline.d.ts","../../../../node_modules/@types/node/repl.d.ts","../../../../node_modules/@types/node/stream.d.ts","../../../../node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/@types/node/stream/web.d.ts","../../../../node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/@types/node/test.d.ts","../../../../node_modules/@types/node/timers.d.ts","../../../../node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/@types/node/tls.d.ts","../../../../node_modules/@types/node/trace_events.d.ts","../../../../node_modules/@types/node/tty.d.ts","../../../../node_modules/@types/node/url.d.ts","../../../../node_modules/@types/node/util.d.ts","../../../../node_modules/@types/node/v8.d.ts","../../../../node_modules/@types/node/vm.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/globals.global.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/@types/minimatch/index.d.ts","../../../../node_modules/@types/glob/index.d.ts","../../../../node_modules/@types/graceful-fs/index.d.ts","../../../../node_modules/@types/unist/index.d.ts","../../../../node_modules/@types/hast/index.d.ts","../../../../node_modules/@types/html-minifier-terser/index.d.ts","../../../../node_modules/@types/is-function/index.d.ts","../../../../node_modules/@types/is-hotkey/index.d.ts","../../../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../../../node_modules/@types/istanbul-lib-report/index.d.ts","../../../../node_modules/@types/istanbul-reports/index.d.ts","../../../../node_modules/@types/js-levenshtein/index.d.ts","../../../../node_modules/@types/leaflet/index.d.ts","../../../../node_modules/@types/lodash/common/common.d.ts","../../../../node_modules/@types/lodash/common/array.d.ts","../../../../node_modules/@types/lodash/common/collection.d.ts","../../../../node_modules/@types/lodash/common/date.d.ts","../../../../node_modules/@types/lodash/common/function.d.ts","../../../../node_modules/@types/lodash/common/lang.d.ts","../../../../node_modules/@types/lodash/common/math.d.ts","../../../../node_modules/@types/lodash/common/number.d.ts","../../../../node_modules/@types/lodash/common/object.d.ts","../../../../node_modules/@types/lodash/common/seq.d.ts","../../../../node_modules/@types/lodash/common/string.d.ts","../../../../node_modules/@types/lodash/common/util.d.ts","../../../../node_modules/@types/lodash/index.d.ts","../../../../node_modules/@types/mdast/index.d.ts","../../../../node_modules/@types/micromatch/index.d.ts","../../../../node_modules/@types/mime/index.d.ts","../../../../node_modules/@types/node-fetch/node_modules/form-data/index.d.ts","../../../../node_modules/@types/node-fetch/externals.d.ts","../../../../node_modules/@types/node-fetch/index.d.ts","../../../../node_modules/@types/normalize-package-data/index.d.ts","../../../../node_modules/@types/npmlog/index.d.ts","../../../../node_modules/@types/parse-json/index.d.ts","../../../../node_modules/@types/parse5/index.d.ts","../../../../node_modules/pg-types/index.d.ts","../../../../node_modules/pg-protocol/dist/messages.d.ts","../../../../node_modules/pg-protocol/dist/serializer.d.ts","../../../../node_modules/pg-protocol/dist/parser.d.ts","../../../../node_modules/pg-protocol/dist/index.d.ts","../../../../node_modules/@types/pg/index.d.ts","../../../../node_modules/@types/pretty-hrtime/index.d.ts","../../../../node_modules/@types/qs/index.d.ts","../../../../node_modules/@types/react-dom/index.d.ts","../../../../node_modules/@types/react-syntax-highlighter/index.d.ts","../../../../node_modules/@types/react-test-renderer/index.d.ts","../../../../node_modules/@types/react-transition-group/Transition.d.ts","../../../../node_modules/@types/react-transition-group/CSSTransition.d.ts","../../../../node_modules/@types/react-transition-group/TransitionGroup.d.ts","../../../../node_modules/@types/react-transition-group/SwitchTransition.d.ts","../../../../node_modules/@types/react-transition-group/config.d.ts","../../../../node_modules/@types/react-transition-group/index.d.ts","../../../../node_modules/@types/scheduler/index.d.ts","../../../../node_modules/@types/semver/classes/semver.d.ts","../../../../node_modules/@types/semver/functions/parse.d.ts","../../../../node_modules/@types/semver/functions/valid.d.ts","../../../../node_modules/@types/semver/functions/clean.d.ts","../../../../node_modules/@types/semver/functions/inc.d.ts","../../../../node_modules/@types/semver/functions/diff.d.ts","../../../../node_modules/@types/semver/functions/major.d.ts","../../../../node_modules/@types/semver/functions/minor.d.ts","../../../../node_modules/@types/semver/functions/patch.d.ts","../../../../node_modules/@types/semver/functions/prerelease.d.ts","../../../../node_modules/@types/semver/functions/compare.d.ts","../../../../node_modules/@types/semver/functions/rcompare.d.ts","../../../../node_modules/@types/semver/functions/compare-loose.d.ts","../../../../node_modules/@types/semver/functions/compare-build.d.ts","../../../../node_modules/@types/semver/functions/sort.d.ts","../../../../node_modules/@types/semver/functions/rsort.d.ts","../../../../node_modules/@types/semver/functions/gt.d.ts","../../../../node_modules/@types/semver/functions/lt.d.ts","../../../../node_modules/@types/semver/functions/eq.d.ts","../../../../node_modules/@types/semver/functions/neq.d.ts","../../../../node_modules/@types/semver/functions/gte.d.ts","../../../../node_modules/@types/semver/functions/lte.d.ts","../../../../node_modules/@types/semver/functions/cmp.d.ts","../../../../node_modules/@types/semver/functions/coerce.d.ts","../../../../node_modules/@types/semver/classes/comparator.d.ts","../../../../node_modules/@types/semver/classes/range.d.ts","../../../../node_modules/@types/semver/functions/satisfies.d.ts","../../../../node_modules/@types/semver/ranges/max-satisfying.d.ts","../../../../node_modules/@types/semver/ranges/min-satisfying.d.ts","../../../../node_modules/@types/semver/ranges/to-comparators.d.ts","../../../../node_modules/@types/semver/ranges/min-version.d.ts","../../../../node_modules/@types/semver/ranges/valid.d.ts","../../../../node_modules/@types/semver/ranges/outside.d.ts","../../../../node_modules/@types/semver/ranges/gtr.d.ts","../../../../node_modules/@types/semver/ranges/ltr.d.ts","../../../../node_modules/@types/semver/ranges/intersects.d.ts","../../../../node_modules/@types/semver/ranges/simplify.d.ts","../../../../node_modules/@types/semver/ranges/subset.d.ts","../../../../node_modules/@types/semver/internals/identifiers.d.ts","../../../../node_modules/@types/semver/index.d.ts","../../../../node_modules/@types/source-list-map/index.d.ts","../../../../node_modules/@types/stack-utils/index.d.ts","../../../../node_modules/@types/tapable/index.d.ts","../../../../node_modules/source-map/source-map.d.ts","../../../../node_modules/@types/uglify-js/index.d.ts","../../../../node_modules/@types/uuid/index.d.ts","../../../../node_modules/anymatch/index.d.ts","../../../../node_modules/@types/webpack-sources/node_modules/source-map/source-map.d.ts","../../../../node_modules/@types/webpack-sources/lib/Source.d.ts","../../../../node_modules/@types/webpack-sources/lib/CompatSource.d.ts","../../../../node_modules/@types/webpack-sources/lib/ConcatSource.d.ts","../../../../node_modules/@types/webpack-sources/lib/OriginalSource.d.ts","../../../../node_modules/@types/webpack-sources/lib/PrefixSource.d.ts","../../../../node_modules/@types/webpack-sources/lib/RawSource.d.ts","../../../../node_modules/@types/webpack-sources/lib/ReplaceSource.d.ts","../../../../node_modules/@types/webpack-sources/lib/SizeOnlySource.d.ts","../../../../node_modules/@types/webpack-sources/lib/SourceMapSource.d.ts","../../../../node_modules/@types/webpack-sources/lib/index.d.ts","../../../../node_modules/@types/webpack-sources/lib/CachedSource.d.ts","../../../../node_modules/@types/webpack-sources/index.d.ts","../../../../node_modules/@types/webpack/index.d.ts","../../../../node_modules/@types/webpack-env/index.d.ts","../../../../node_modules/@types/ws/index.d.ts","../../../../node_modules/@types/yargs-parser/index.d.ts","../../../../node_modules/@types/yargs/index.d.ts","../../../../node_modules/@types/yauzl/index.d.ts"],"fileInfos":[{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","27147504487dc1159369da4f4da8a26406364624fa9bc3db632f7d94a5bae2c3","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","f4e736d6c8d69ae5b3ab0ddfcaa3dc365c3e76909d6660af5b4e979b3934ac20","eeeb3aca31fbadef8b82502484499dfd1757204799a6f5b33116201c810676ec",{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"9a60b92bca4c1257db03b349d58e63e4868cfc0d1c8d0ba60c2dbc63f4e6c9f6","affectsGlobalScope":true},{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true},{"version":"5114a95689b63f96b957e00216bc04baf9e1a1782aa4d8ee7e5e9acbf768e301","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"ab22100fdd0d24cfc2cc59d0a00fc8cf449830d9c4030dc54390a46bd562e929","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"36ae84ccc0633f7c0787bc6108386c8b773e95d3b052d9464a99cd9b8795fbec","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true},{"version":"b7e9f95a7387e3f66be0ed6db43600c49cec33a3900437ce2fd350d9b7cb16f2","affectsGlobalScope":true},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"709efdae0cb5df5f49376cde61daacc95cdd44ae4671da13a540da5088bf3f30","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"61ed9b6d07af959e745fb11f9593ecd743b279418cc8a99448ea3cd5f3b3eb22","affectsGlobalScope":true},{"version":"038a2f66a34ee7a9c2fbc3584c8ab43dff2995f8c68e3f566f4c300d2175e31e","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"f5c92f2c27b06c1a41b88f6db8299205aee52c2a2943f7ed29bd585977f254e8","affectsGlobalScope":true},{"version":"b7feb7967c6c6003e11f49efa8f5de989484e0a6ba2e5a6c41b55f8b8bd85dba","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"b9ea5778ff8b50d7c04c9890170db34c26a5358cccba36844fe319f50a43a61a","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"25de46552b782d43cb7284df22fe2a265de387cf0248b747a7a1b647d81861f6","affectsGlobalScope":true},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"95f22ce5f9dbcfc757ff850e7326a1ba1bc69806f1e70f48caefa824819d6f4f","affectsGlobalScope":true},{"version":"bbdf156fea2fabed31a569445835aeedcc33643d404fcbaa54541f06c109df3f","affectsGlobalScope":true},"1c29793071152b207c01ea1954e343be9a44d85234447b2b236acae9e709a383","6a386ff939f180ae8ef064699d8b7b6e62bc2731a62d7fbf5e02589383838dea","f5a8b384f182b3851cec3596ccc96cb7464f8d3469f48c74bf2befb782a19de5",{"version":"7fb6faf1006c3503d44e4922c8c65772ddc98e92bad7c2ae2d5db123f3e297b3","affectsGlobalScope":true},"af7fd2870746deed40e130fc0a3966de74e8f52a97ec114d0fbb35876ab05ca9",{"version":"a9c21d8c1022cf7c134e33b95bd38d792b1353749e4312b8bf184baf1c6e6186","signature":"476e595a4d19de9f46348c8beebbf708978ab592862917cfa284780b00b82013"},{"version":"a2d99deb45290e2ad3be8e8db687f498eaa5f857ddc0f081045911d2408d6f65","signature":"bcdb41180dc8b3bb7766cb0157b00608cf6fcc39569ec1c87245b27a32168944"},{"version":"2c4b09e2886389ac8a6fb4a763de72b30fd22b29ad194bd7a7b966f409e2d20c","signature":"aefa16b954029ecc8800e851c52942c6b0d1b19b4b8cf179ceb2eeed40250339"},{"version":"f46736b4c4956a380050bbe5fc4dc914bfc70e7561cd6a6889d0854bbad6c053","signature":"e2396536f60d5fb378182b2cf695c4fe0f44b98a65cb11de7aa540640a49f32f"},{"version":"cfb7cbd7db2fb7f997b2cf652191042e72e322b9c04c161cfd8b74f759ab6ab5","signature":"29e86258bae9032d4a41ae819636bd2c5f2b2aef9d02000341debb0c45d88ab1"},{"version":"09128331d23e062378d0354e5b9cf8da6ff27dd61d1942966d730b1f22e80e7f","signature":"95092929201ee7ed4cfe82827a3f2628cab74e9f725f68a31ffaf897c197051a"},{"version":"b5c303499a3c43d8170ed36dc7b3f233524ff3e99f8f3319960165537b387ce8","signature":"3c8a5b67937216b02b9a21cf8614b56b2679bf6725f64d51e89b53ca72f4fd80"},{"version":"867982da569cd55c28d3c2178a67e32d2ad58002b815f623a3049aa39a3a6c5c","signature":"a985c9f8618c0c7ed35b85798f017ab899078b29b54786d0ada07045804dc20b"},{"version":"da33c798c79471b84e7325268e2b07d5659dab29e44e222cec3a4261d75c11a8","signature":"003ac502c8f5df7f026e2b1afaeb386e58433d4ef6d7c2ea5e74197084aea9d6"},{"version":"457190a697618a8153922ff3142e8a306a6db160b92acee3de08206a4b3659f5","signature":"ac2f98183ecd3fbae9b7af51efeefe3bcaa2acf6f150fe776afe73444b3a7d43"},{"version":"e4b30974841000a2f00e89ac2cfa8a063766e69131e31ee521267af0bab4cfd5","signature":"ec33c9ae91ebe33329992a166653817225f9ebc08835c8bac7270a6be763d55c"},{"version":"81d8157c53cd3457cefeee525e509da21a28e61e131d6c23cdb99570d4f171c0","signature":"d519308aedac3bb98d355832e80d9d988570ef945649255bcc0988b91a6157d6"},{"version":"7327aedbd450b22a519aff0b7e4f93553463b578136415764de7727ebddf2d44","signature":"2c1c6fe63c4985cfb439f248eca2fba14446a21c3c7afc254c85c492ceb7174a"},{"version":"cdfa71e29fc4507f0beabef37debe8e361ac525d5b22b0c02588855dea59a948","signature":"4a744a8145a44cb9a0df124bc8b86c448fa9bf8f176ac8e9c5777cae919b0bad"},{"version":"a24a9885385ca27603b8bdf0f7b19ea2f045cb7e38a85458a7c7908c0cd9b111","signature":"ec0c9bf6132e535c80f3cca0800e105bb651543ea1ff3f80530dbb9f94e76d7b"},{"version":"bd48adca38f6d32cec918e4dffe5e5b4a71cfe27dd2e26fb5dd07b23fd7ed1f7","signature":"2b8997bd989157a95291c8106ae6d8851d1400176d68a56e88b1ae1da3467682"},{"version":"795a8d3c1116f076ad63ca53a0e9cc9e37e9a8b3fa87078fdc9cead9819aa9c2","signature":"e01e3584196282a6e4802e10b3f01c67582a4b499f6fce5e72b3c05ca842547e"},{"version":"cbc10012d95a4d49ad93e7a8f99749a4861080bc5e8e5ac3b5771eee66e4827f","signature":"01dfd1b7093a72fbeb99bb685007420857a0808d7760dd49f3b45c22544afc5c"},{"version":"d1c97f31e1d15d00eb424d8328cef49991ef84cc1415e714bc13c5432a9f2075","signature":"9989b29890b4991902c6e00d35ac47cd5d58ece81841c196e6b2410532ee1044"},{"version":"6901ceca3adc070f8e77e6e6eff53f44aed701cc191faa75bcf821e8bb6c03d6","signature":"4ef5e4999e4ba505b9067a73b3a9976ad85a5b924fc3442e1dd8a25dcdc08269"},{"version":"d71ec1da745c53611f1b05cd8041e5f3d54764bf6dcecf97b2b2b38438540873","signature":"b297960be66224fd76bfde7bd766b088925c078c614f372a09f71e43f786cfaa"},{"version":"6fd0fb51989798e07e6c10b02d0a72fa3145856d3f38ef8bd193a104c534c9f4","signature":"bc357378e04884500ad2f6a3636329a539ec6ffe27f53d79e48a9afa4e307840"},{"version":"4e7afa7c39db022e830595e3651298ab1971a1495c5ea18b84e6eb6410fe0f6f","signature":"bc1d7ea9f0ea72a21057f80678e97c3f566d20c46b3541a601022a6f7f687340"},{"version":"0824ca5fd22451f71eaf191d84b6c615fda92ca9f809dc4448109a285fbad977","signature":"d862f114953bcdafaa15f4e06ec6bd5d9d6a9a8b1e156442537277ca99d669c3"},{"version":"41b13b050c1acadbfdc8bdc4fd94a63e39a21389b888d94f6c77a4715310683d","signature":"bf4aab488f9439a4747dd85d2f7e626fe74949feee5d003e84189001471dbe1a"},{"version":"2d6b75242f3e60cbe3976167258cc323e0d1e39353f870c4037b35d075a3a75f","signature":"5b4e64ff6293018f7ff8339962af83025fb9df590afdf8dba5fb57fbb0b5a08d"},"dc3b172ee27054dbcedcf5007b78c256021db936f6313a9ce9a3ecbb503fd646","3078727fed04c123165efdb42deeac5dceaa42ac62216ca13cb809dc7e13415f","cc957354aa3c94c9961ebf46282cfde1e81d107fc5785a61f62c67f1dd3ac2eb","b4f76b34637d79cefad486127115fed843762c69512d7101b7096e1293699679","93de1c6dab503f053efe8d304cb522bb3a89feab8c98f307a674a4fae04773e9","dae3d1adc67ac3dbd1cd471889301339ec439837b5df565982345be20c8fca9a","b6ddf3a46ccfa4441d8be84d2e9bf3087573c48804196faedbd4a25b60631beb","5ee005d57eb5b0e887f8451463ac412dc22e6868534f51f061166311f6c8baf5","40304c033bb6e39f0eb01b106d29523950148dfc3cd547ddb500167871171281",{"version":"b9734142a4b241cfb505be4a2eb0261d211647df7c73043f817f4fdd8d96c846","affectsGlobalScope":true},{"version":"f4c0db3a49cea9babd5d224ba14243a6a6119bf65a65198994033aaea3a60a71","affectsGlobalScope":true},"dc688638e386342faae164e68ac0205274b6731e70ac1a45921f3ce3aa083795","d22e870fef25a052477d24f34356470262881420c8b058c89d86392de6502c42","117ffeecf6c55e25b6446f449ad079029b5e7317399b0a693858faaaea5ca73e",{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"946bd1737d9412395a8f24414c70f18660b84a75a12b0b448e6eb1a2161d06dd","f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","4e75a89a181f3b091173e4c0828dec3fb1c24087d3bb4f37b4a31e0619e8336f","946bd1737d9412395a8f24414c70f18660b84a75a12b0b448e6eb1a2161d06dd","e050a0afcdbb269720a900c85076d18e0c1ab73e580202a2bf6964978181222a","a1c79f857f5c7754e14c93949dad8cfefcd7df2ecc0dc9dd79a30fd493e28449","a3b6c93a9838b8c94c6998e85646d6f2d07c20ecfe1e235dba62158b29451391","4911d4c3a7f7c11bad0e2cec329a19a385d10ea83b0b69c76e032359e388f624","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"4f6463a60e5754bbc4a864b2aaf8fecb7706b96a21b88f27b534589b801978b6","affectsGlobalScope":true},"56d13f223ab40f71840795f5bef2552a397a70666ee60878222407f3893fb8d0",{"version":"4ffef5c4698e94e49dcf150e3270bad2b24a2aeab48b24acbe7c1366edff377d","affectsGlobalScope":true},"2534e46a52653b55dfb5a41ce427ec430c4afbaaf3bfcb1ae09b185c5d6bf169","afc6e96061af46bcff47246158caee7e056f5288783f2d83d6858cd25be1c565",{"version":"34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","83014f04136e78f7b8309637172ed40e05cdbf27ccdc8bf751aaec73f1d6da96","f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf","8bd106053ee0345dde7f626ed1f6100a89fb85f13ea65352627cf78c5f30c553","76650408392bf49a8fbf3e2b6b302712a92d76af77b06e2da1cc8077359c4409","0af3121e68297b2247dd331c0d24dba599e50736a7517a5622d5591aae4a3122","06ccebc2c2db57d6bdbca63b71c4ae5e6ddc42d972fd8f122d4c1a28aa111b25",{"version":"81e8508d1e82278f5d3fee936f267e00c308af36219bfcee2631f9513c9c4017","affectsGlobalScope":true},"413a4be7f94f631235bbc83dad36c4d15e5a2ff02bca1efdbd03636d6454631b","20c468256fd68d3ef1fa53526e76d51d6aa91711e84d72c0343589b99238287e","4198acced75d48a039c078734c4efca7788ff8c78609c270a2b63ec20e3e1676","8d4c16a26d59e3ce49741a7d4a6e8206b884e226cf308667c7778a0b2c0fee7f","288dd0c774a5c6e3964084c7a2bc8cc6b746d70f44a9892d028d04f915cf7ebc","d61c7c41eb1960b1285e242fd102c162b65c0522985b839fadda59874308a170",{"version":"e630e5528e899219ae319e83bef54bf3bcb91b01d76861ecf881e8e614b167f0","affectsGlobalScope":true},"f7011a8d17a06e60dc591fd89b7bf40507d36a5a4d5913fa0eff4e18da001759","abc1c425b2ad6720433f40f1877abfa4223f0f3dd486c9c28c492179ca183cb6","fb0989383c6109f20281b3d31265293daefdd76d0d30551782c1654e93704f48","a4210a84a82b3e7a8cec5b2f3616e46d523f4f10cc1576d8f2fb89d0987b341e",{"version":"8207e7e6db9aa5fc7e61c8f17ba74cf9c115d26f51f91ee93f790815a7ea9dfb","affectsGlobalScope":true},"9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492","22d48bfb37261136423ac687f1fa7bd4dda3083f767416d409a8260cf92bc8fc","29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324","0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3","95518ff86843e226b62a800f679f6968ad8dac8ccbe30fbfe63de3afb13761a2","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","698ab660b477b9c2cd5ccbd99e7e7df8b4a6134c1f5711fa615ed7aab51cb7f7","33eee034727baf564056b4ea719075c23d3b4767d0b5f9c6933b81f3d77774d2","c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637","a4471d2bdba495b2a6a30b8765d5e0282fa7009d88345a9528f73c37869d3b93",{"version":"aee7013623e7632fba449d4df1da92925b27d9b816cb05546044dbfe54c88ef4","affectsGlobalScope":true},"e10177274a35a9d07c825615340b2fcde2f610f53f3fb40269fd196b4288dda6","c9d70d3d7191a66a81cb554557f8ed1cf736ea8397c44a864fe52689de18865a","998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151","ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4",{"version":"1aad825534c73852a1f3275e527d729a2c0640f539198fdfdfeb83b839851910","affectsGlobalScope":true},"badae0df9a8016ac36994b0a0e7b82ba6aaa3528e175a8c3cb161e4683eec03e","c3db860bcaaaeb3bbc23f353bbda1f8ab82756c8d5e973bebb3953cb09ea68f2","235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0","bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1","9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958","c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"88003d9ab15507806f41b120be6d407c1afe566c2f6689ebe3a034dd5ec0c8dc","963d59066dd6742da1918a6213a209bcc205b8ee53b1876ee2b4e6d80f97c85e","fd326577c62145816fe1acc306c734c2396487f76719d3785d4e825b34540b33","bf88ef4208a770ca39a844b182b3695df536326ea566893fdc5b8418702a331e","cddf5c26907c0b8378bc05543161c11637b830da9fadf59e02a11e675d11e180","3d2cd8f3047fff04a71e7037a6a4cb9f4accb28dbd8c0d83164d414811025af0","70b34c8420d6226ed565d55f47fe04912d0ca0ad128825c5a06e018a3498db32","de1d6e224048139baf7494237a9231be6bab9e990fb239c7825bfd38b06d8c90","077b139efd1a6318805a8b24f05e7af37946d9bf9426bcb4866b45b61e6aac90","8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0","15a58e61533036fb08dfd567fa7b1f799acdedf0cacf5cbc93bbed0f0520e87f","25ee2170c6620d3007914b9a1a93480a4f0f76dccb3631ea4a92a22611ed5ea5","675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","458111fc89d11d2151277c822dfdc1a28fa5b6b2493cf942e37d4cd0a6ee5f22","d70c026dd2eeaa974f430ea229230a1897fdb897dc74659deebe2afd4feeb08f","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","febf0b2de54781102b00f61653b21377390a048fbf5262718c91860d11ff34a6","98f9d826db9cd99d27a01a59ee5f22863df00ccf1aaf43e1d7db80ebf716f7c3","0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","dcd91d3b697cb650b95db5471189b99815af5db2a1cd28760f91e0b12ede8ed5","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3cf0d343c2276842a5b617f22ba82af6322c7cfe8bb52238ffc0c491a3c21019","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9",{"version":"f2eff8704452659641164876c1ef0df4174659ce7311b0665798ea3f556fa9ad","affectsGlobalScope":true},"2a2e2c6463bcf3c59f31bc9ab4b6ef963bbf7dffb049cd017e2c1834e3adca63","1a255ad66d2b50f7b42eca69228b9587878cf06900780ad57a306a933c6eaeb4","be27a64e821a3e5af838650e4aa25805c60f057d0c37a9762c378d19d364b3e6","736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","3898e3dbe94b6fe529fbe8f0faee1309c1923100516d7a014b301955e52ece77","3663d1b50f356656a314e5df169bb51cb9d5fd75905fa703f75db6bb32030568","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","df38da6685578ac3d0e4ce2d20f3d59462ee53959b8263d2532ec9cec48ae098","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","c555dd691dd05955e99cd93dd99c685a65e5287813ccb5e6bfde951183248e26","f60e3e3060207ac982da13363181fd7ee4beecc19a7c569f0d6bb034331066c2","17230b34bb564a3a2e36f9d3985372ccab4ad1722df2c43f7c5c2b553f68e5db","87ed0f84f0691d5c724b23159db96342e6b04ac69201b02c65936f4281ce1fbe","13868c5792808236b17dfe2803eafce911ea4d09d3b2fda95391891a494f988f","0dfe35191a04e8f9dc7caeb9f52f2ee07402736563d12cbccd15fb5f31ac877f","eee8abb8503852554eec94e4f77339dbe8927f5f7dfecac41d9479d64bbfc475","c0a3ea3aee13c4946a6aefce3a6ab9292a40a29f6622cde0fda0b1067a1a1f5f","ba601641fac98c229ccd4a303f747de376d761babb33229bb7153bed9356c9cc","d035565d969404edfb3dfce8a2e762fbed98f6dfd7388ac01af173aa1ef665bd",{"version":"cffd3848b7af4922d70028c805b7df5e8f0eac4a8d2410b0f55b47ca62c6c3a8","affectsGlobalScope":true},"408cc7117448f4994a1f50468648a2d06eff4112a7707dbef6ceea76d2684707","30688eab034d1aa3bbe4d8f2c7f462ddaec9f30f1a38a306a4728a9a06a58b11","e03334588c63840b7054accd0b90f29c5890db6a6555ac0869a78a23297f1396","c3052485f32a96bfde75a2976c1238995522584ba464f04ff16a8a40af5e50d1","c220410b8e956fa157ce4e5e6ac871f0f433aa120c334d906ff1f5e2c7369e95","960a68ced7820108787135bdae5265d2cc4b511b7dcfd5b8f213432a8483daf1","5e8db4872785292074b394d821ae2fc10e4f8edc597776368aebbe8aefb24422","74b0245c42990ed8a849df955db3f4362c81b13f799ebc981b7bec2d5b414a57","2b93035328f7778d200252681c1d86285d501ed424825a18f81e4c3028aa51d9","2ac9c8332c5f8510b8bdd571f8271e0f39b0577714d5e95c1e79a12b2616f069","42c21aa963e7b86fa00801d96e88b36803188018d5ad91db2a9101bccd40b3ff","d31eb848cdebb4c55b4893b335a7c0cca95ad66dee13cbb7d0893810c0a9c301","77c1d91a129ba60b8c405f9f539e42df834afb174fe0785f89d92a2c7c16b77a","7a9e0a564fee396cacf706523b5aeed96e04c6b871a8bebefad78499fbffc5bc","906c751ef5822ec0dadcea2f0e9db64a33fb4ee926cc9f7efa38afe5d5371b2a","5387c049e9702f2d2d7ece1a74836a14b47fbebe9bbeb19f94c580a37c855351","c68391fb9efad5d99ff332c65b1606248c4e4a9f1dd9a087204242b56c7126d6","e9cf02252d3a0ced987d24845dcb1f11c1be5541f17e5daa44c6de2d18138d0c","e8b02b879754d85f48489294f99147aeccc352c760d95a6fe2b6e49cd400b2fe","9f6908ab3d8a86c68b86e38578afc7095114e66b2fc36a2a96e9252aac3998e0","0eedb2344442b143ddcd788f87096961cd8572b64f10b4afc3356aa0460171c6","71405cc70f183d029cc5018375f6c35117ffdaf11846c35ebf85ee3956b1b2a6","c68baff4d8ba346130e9753cefe2e487a16731bf17e05fdacc81e8c9a26aae9d","2cd15528d8bb5d0453aa339b4b52e0696e8b07e790c153831c642c3dea5ac8af","479d622e66283ffa9883fbc33e441f7fc928b2277ff30aacbec7b7761b4e9579","ade307876dc5ca267ca308d09e737b611505e015c535863f22420a11fffc1c54","f8cdefa3e0dee639eccbe9794b46f90291e5fd3989fcba60d2f08fde56179fb9","86c5a62f99aac7053976e317dbe9acb2eaf903aaf3d2e5bb1cafe5c2df7b37a8","2b300954ce01a8343866f737656e13243e86e5baef51bd0631b21dcef1f6e954","a2d409a9ffd872d6b9d78ead00baa116bbc73cfa959fce9a2f29d3227876b2a1","b288936f560cd71f4a6002953290de9ff8dfbfbf37f5a9391be5c83322324898","61178a781ef82e0ff54f9430397e71e8f365fc1e3725e0e5346f2de7b0d50dfa","6a6ccb37feb3aad32d9be026a3337db195979cd5727a616fc0f557e974101a54","c649ea79205c029a02272ef55b7ab14ada0903db26144d2205021f24727ac7a3","38e2b02897c6357bbcff729ef84c736727b45cc152abe95a7567caccdfad2a1d","d6610ea7e0b1a7686dba062a1e5544dd7d34140f4545305b7c6afaebfb348341","3dee35db743bdba2c8d19aece7ac049bde6fa587e195d86547c882784e6ba34c","b15e55c5fa977c2f25ca0b1db52cfa2d1fd4bf0baf90a8b90d4a7678ca462ff1","f41d30972724714763a2698ae949fbc463afb203b5fa7c4ad7e4de0871129a17","843dd7b6a7c6269fd43827303f5cbe65c1fecabc30b4670a50d5a15d57daeeb9","f06d8b8567ee9fd799bf7f806efe93b67683ef24f4dea5b23ef12edff4434d9d","6017384f697ff38bc3ef6a546df5b230c3c31329db84cbfe686c83bec011e2b2","e1a5b30d9248549ca0c0bb1d653bafae20c64c4aa5928cc4cd3017b55c2177b0","a593632d5878f17295bd53e1c77f27bf4c15212822f764a2bfc1702f4b413fa0","a868a534ba1c2ca9060b8a13b0ffbbbf78b4be7b0ff80d8c75b02773f7192c29","da7545aba8f54a50fde23e2ede00158dc8112560d934cee58098dfb03aae9b9d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","6aee496bf0ecfbf6731aa8cca32f4b6e92cdc0a444911a7d88410408a45ecc5d","67fc055eb86a0632e2e072838f889ffe1754083cb13c8c80a06a7d895d877aae","b0d10e46cfe3f6c476b69af02eaa38e4ccc7430221ce3109ae84bb9fb8282298","3833c70307dc3d2b46cb6f2a8b6a90e4d7e7367a21ab18c481d7de0909a43e67","2887592574fcdfd087647c539dcb0fbe5af2521270dad4a37f9d17c16190d579","9dcd1a6ae84def6ce3e80b27a367912e5b8e9f15c039143820ab76f7ceb8f3ab","fab58e600970e66547644a44bc9918e3223aa2cbd9e8763cec004b2cfb48827e","eac647a94fb1f09789e12dfecb52dcd678d05159a4796b4e415aa15892f3b103","b90c59ac4682368a01c83881b814738eb151de8a58f52eb7edadea2bcffb11b9","8560a87b2e9f8e2c3808c8f6172c9b7eb6c9b08cb9f937db71c285ecf292c81d","ffe3931ff864f28d80ae2f33bd11123ad3d7bad9896b910a1e61504cc093e1f5","083c1bd82f8dc3a1ed6fc9e8eaddf141f7c05df418eca386598821e045253af9","274ebe605bd7f71ce161f9f5328febc7d547a2929f803f04b44ec4a7d8729517","6ca0207e70d985a24396583f55836b10dc181063ab6069733561bfde404d1bad","5908142efeaab38ffdf43927ee0af681ae77e0d7672b956dfb8b6c705dbfe106","f772b188b943549b5c5eb803133314b8aa7689eced80eed0b70e2f30ca07ab9c","0026b816ef05cfbf290e8585820eef0f13250438669107dfc44482bac007b14f","05d64cc1118031b29786632a9a0f6d7cf1dcacb303f27023a466cf3cdc860538","e0fff9119e1a5d2fdd46345734126cd6cb99c2d98a9debf0257047fe3937cc3f","d84398556ba4595ee6be554671da142cfe964cbdebb2f0c517a10f76f2b016c0","e275297155ec3251200abbb334c7f5641fecc68b2a9573e40eed50dff7584762","1fc49547f60101e7fac0d9113a52c29178be082d46d7525009aebafdbb170a69",{"version":"401845ce10d4d9848a8e39f5004446eef7c3db2de5e9341b8a17c9b00aefcc0a","affectsGlobalScope":true},"77c5c7f8578d139c74102a29384f5f4f0792a12d819ddcdcaf8307185ff2d45d","70e9a18da08294f75bf23e46c7d69e67634c0765d355887b9b41f0d959e1426e","149ebd778196c03e9c75b630866543501e0e9e62a146c1a17ce91ade4cdfb0ba","65dfa4bc49ccd1355789abb6ae215b302a5b050fdee9651124fe7e826f33113c"],"root":[[68,93]],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"experimentalDecorators":true,"jsx":4,"module":99,"noEmitOnError":true,"noImplicitOverride":true,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"target":7,"useDefineForClassFields":true},"fileIdsList":[[95,160],[160],[95,96,97,98,99,160],[95,97,160],[103,160],[105,160],[109,111,160],[108,109,110,160],[131,132,160,167,168],[132,160,167],[160,171],[160,176],[160,177],[115,160],[160,181,183,184,185,186,187,188,189,190,191,192,193],[160,181,182,184,185,186,187,188,189,190,191,192,193],[160,182,183,184,185,186,187,188,189,190,191,192,193],[160,181,182,183,185,186,187,188,189,190,191,192,193],[160,181,182,183,184,186,187,188,189,190,191,192,193],[160,181,182,183,184,185,187,188,189,190,191,192,193],[160,181,182,183,184,185,186,188,189,190,191,192,193],[160,181,182,183,184,185,186,187,189,190,191,192,193],[160,181,182,183,184,185,186,187,188,190,191,192,193],[160,181,182,183,184,185,186,187,188,189,191,192,193],[160,181,182,183,184,185,186,187,188,189,190,192,193],[160,181,182,183,184,185,186,187,188,189,190,191,193],[160,181,182,183,184,185,186,187,188,189,190,191,192],[102,160],[134,159,160,167,197,198],[134,148,160,167],[116,160],[119,160],[120,125,151,160],[121,131,132,139,148,159,160],[121,122,131,139,160],[123,160],[124,125,132,140,160],[125,148,156,160],[126,128,131,139,160],[127,160],[128,129,160],[130,131,160],[131,160],[131,132,133,148,159,160],[131,132,133,148,160],[134,139,148,159,160],[131,132,134,135,139,148,156,159,160],[134,136,148,156,159,160],[116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166],[131,137,160],[138,159,160],[128,131,139,148,160],[140,160],[141,160],[119,142,160],[143,158,160,164],[144,160],[145,160],[131,146,160],[146,147,160,162],[120,131,148,149,150,160],[120,148,150,160],[148,149,160],[151,160],[152,160],[131,154,155,160],[154,155,160],[125,139,156,160],[157,160],[139,158,160],[120,134,145,159,160],[125,160],[148,160,161],[160,162],[160,163],[120,125,131,133,142,148,159,160,162,164],[148,160,165],[131,148,156,160,167,204,205,208,209],[66,160],[66,160,213],[66,160,215],[160,215,216,217,218,219],[62,63,64,65,160],[160,222,261],[160,222,246,261],[160,261],[160,222],[160,222,247,261],[160,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260],[160,247,261],[160,265],[160,167,270,271,272,273,274,275,276,277,278,279,280],[160,269,270,279],[160,270,279],[160,262,269,270,279],[160,270],[125,160,269,279],[160,269,270,271,272,273,274,275,276,277,278,280],[125,160,167,264,265,266,268,281],[131,134,136,148,156,159,160,165,167],[160,285],[131,148,160,167],[160,167,205,206,207],[160,167],[148,160,167,205],[67,83,160],[66,67,78,83,84,85,87,89,90,91,160],[67,160],[67,86,160],[66,67,160],[66,67,86,160],[67,88,160],[66,67,78,160],[67,78,83,87,92,160],[66,67,77,78,79,160],[66,67,77,160],[67,77,79,80,81,82,160],[67,68,69,70,71,72,73,74,75,76,160],[83],[66,84,87,90],[86],[66],[66,86],[88],[78,83,87,92],[66,77,79],[66,77],[77,79,80,81,82],[68,69,70,71,72,73,74,75,76]],"referencedMap":[[97,1],[95,2],[94,2],[100,3],[96,1],[98,4],[99,1],[101,2],[102,2],[104,5],[103,2],[106,6],[105,2],[107,2],[113,7],[112,2],[108,2],[111,8],[109,2],[114,2],[115,2],[169,9],[170,10],[172,11],[173,2],[174,2],[175,2],[176,2],[177,12],[178,13],[179,2],[110,2],[180,14],[182,15],[183,16],[181,17],[184,18],[185,19],[186,20],[187,21],[188,22],[189,23],[190,24],[191,25],[192,26],[193,27],[194,11],[195,28],[196,2],[168,2],[198,2],[199,29],[197,30],[116,31],[117,31],[119,32],[120,33],[121,34],[122,35],[123,36],[124,37],[125,38],[126,39],[127,40],[128,41],[129,41],[130,42],[131,43],[132,44],[133,45],[118,2],[166,2],[134,46],[135,47],[136,48],[167,49],[137,50],[138,51],[139,52],[140,53],[141,54],[142,55],[143,56],[144,57],[145,58],[146,59],[147,60],[148,61],[150,62],[149,63],[151,64],[152,65],[153,2],[154,66],[155,67],[156,68],[157,69],[158,70],[159,71],[160,72],[161,73],[162,74],[163,75],[164,76],[165,77],[200,2],[201,43],[202,2],[203,2],[209,78],[210,2],[64,2],[211,2],[212,79],[213,80],[214,79],[216,81],[218,79],[215,79],[217,81],[219,2],[220,82],[62,2],[66,83],[67,79],[63,2],[221,2],[65,2],[246,84],[247,85],[222,86],[225,86],[244,84],[245,84],[235,84],[234,87],[232,84],[227,84],[240,84],[238,84],[242,84],[226,84],[239,84],[243,84],[228,84],[229,84],[241,84],[223,84],[230,84],[231,84],[233,84],[237,84],[248,88],[236,84],[224,84],[261,89],[260,2],[255,88],[257,90],[256,88],[249,88],[250,88],[252,88],[254,88],[258,90],[259,90],[251,90],[253,90],[262,2],[263,2],[264,2],[266,91],[171,2],[267,2],[283,2],[281,92],[280,93],[271,94],[272,95],[273,95],[274,94],[275,94],[276,94],[277,96],[270,97],[278,93],[279,98],[269,2],[282,99],[284,100],[285,2],[286,101],[287,102],[268,2],[208,103],[205,104],[207,105],[206,104],[204,2],[265,2],[60,2],[61,2],[12,2],[13,2],[15,2],[14,2],[2,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[23,2],[3,2],[4,2],[27,2],[24,2],[25,2],[26,2],[28,2],[29,2],[30,2],[5,2],[31,2],[32,2],[33,2],[34,2],[6,2],[38,2],[35,2],[36,2],[37,2],[39,2],[7,2],[40,2],[45,2],[46,2],[41,2],[42,2],[43,2],[44,2],[8,2],[50,2],[47,2],[48,2],[49,2],[51,2],[9,2],[52,2],[53,2],[54,2],[57,2],[55,2],[56,2],[58,2],[10,2],[1,2],[11,2],[59,2],[84,106],[92,107],[78,108],[87,109],[86,110],[90,106],[85,108],[88,111],[89,112],[91,113],[93,114],[80,115],[79,108],[81,116],[82,108],[83,117],[68,108],[69,110],[70,108],[71,108],[72,108],[73,110],[74,110],[75,110],[76,108],[77,118]],"exportedModulesMap":[[97,1],[95,2],[94,2],[100,3],[96,1],[98,4],[99,1],[101,2],[102,2],[104,5],[103,2],[106,6],[105,2],[107,2],[113,7],[112,2],[108,2],[111,8],[109,2],[114,2],[115,2],[169,9],[170,10],[172,11],[173,2],[174,2],[175,2],[176,2],[177,12],[178,13],[179,2],[110,2],[180,14],[182,15],[183,16],[181,17],[184,18],[185,19],[186,20],[187,21],[188,22],[189,23],[190,24],[191,25],[192,26],[193,27],[194,11],[195,28],[196,2],[168,2],[198,2],[199,29],[197,30],[116,31],[117,31],[119,32],[120,33],[121,34],[122,35],[123,36],[124,37],[125,38],[126,39],[127,40],[128,41],[129,41],[130,42],[131,43],[132,44],[133,45],[118,2],[166,2],[134,46],[135,47],[136,48],[167,49],[137,50],[138,51],[139,52],[140,53],[141,54],[142,55],[143,56],[144,57],[145,58],[146,59],[147,60],[148,61],[150,62],[149,63],[151,64],[152,65],[153,2],[154,66],[155,67],[156,68],[157,69],[158,70],[159,71],[160,72],[161,73],[162,74],[163,75],[164,76],[165,77],[200,2],[201,43],[202,2],[203,2],[209,78],[210,2],[64,2],[211,2],[212,79],[213,80],[214,79],[216,81],[218,79],[215,79],[217,81],[219,2],[220,82],[62,2],[66,83],[67,79],[63,2],[221,2],[65,2],[246,84],[247,85],[222,86],[225,86],[244,84],[245,84],[235,84],[234,87],[232,84],[227,84],[240,84],[238,84],[242,84],[226,84],[239,84],[243,84],[228,84],[229,84],[241,84],[223,84],[230,84],[231,84],[233,84],[237,84],[248,88],[236,84],[224,84],[261,89],[260,2],[255,88],[257,90],[256,88],[249,88],[250,88],[252,88],[254,88],[258,90],[259,90],[251,90],[253,90],[262,2],[263,2],[264,2],[266,91],[171,2],[267,2],[283,2],[281,92],[280,93],[271,94],[272,95],[273,95],[274,94],[275,94],[276,94],[277,96],[270,97],[278,93],[279,98],[269,2],[282,99],[284,100],[285,2],[286,101],[287,102],[268,2],[208,103],[205,104],[207,105],[206,104],[204,2],[265,2],[60,2],[61,2],[12,2],[13,2],[15,2],[14,2],[2,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[23,2],[3,2],[4,2],[27,2],[24,2],[25,2],[26,2],[28,2],[29,2],[30,2],[5,2],[31,2],[32,2],[33,2],[34,2],[6,2],[38,2],[35,2],[36,2],[37,2],[39,2],[7,2],[40,2],[45,2],[46,2],[41,2],[42,2],[43,2],[44,2],[8,2],[50,2],[47,2],[48,2],[49,2],[51,2],[9,2],[52,2],[53,2],[54,2],[57,2],[55,2],[56,2],[58,2],[10,2],[1,2],[11,2],[59,2],[84,119],[92,120],[87,121],[86,122],[90,119],[88,123],[89,124],[91,122],[93,125],[80,126],[81,127],[83,128],[69,122],[73,122],[74,122],[75,122],[77,129]],"semanticDiagnosticsPerFile":[97,95,94,100,96,98,99,101,102,104,103,106,105,107,113,112,108,111,109,114,115,169,170,172,173,174,175,176,177,178,179,110,180,182,183,181,184,185,186,187,188,189,190,191,192,193,194,195,196,168,198,199,197,116,117,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,118,166,134,135,136,167,137,138,139,140,141,142,143,144,145,146,147,148,150,149,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,200,201,202,203,209,210,64,211,212,213,214,216,218,215,217,219,220,62,66,67,63,221,65,246,247,222,225,244,245,235,234,232,227,240,238,242,226,239,243,228,229,241,223,230,231,233,237,248,236,224,261,260,255,257,256,249,250,252,254,258,259,251,253,262,263,264,266,171,267,283,281,280,271,272,273,274,275,276,277,270,278,279,269,282,284,285,286,287,268,208,205,207,206,204,265,60,61,12,13,15,14,2,16,17,18,19,20,21,22,23,3,4,27,24,25,26,28,29,30,5,31,32,33,34,6,38,35,36,37,39,7,40,45,46,41,42,43,44,8,50,47,48,49,51,9,52,53,54,57,55,56,58,10,1,11,59,84,92,78,87,86,90,85,88,89,91,93,80,79,81,82,83,68,69,70,71,72,73,74,75,76,77],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.2"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contember/react-multipass-rendering",
|
|
3
3
|
"license": "Apache-2.0",
|
|
4
|
-
"version": "1.1.0-
|
|
4
|
+
"version": "1.1.0-rc.12",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"main": "./dist/production/index.js",
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
".": {
|
|
10
10
|
"import": {
|
|
11
11
|
"development": "./dist/development/index.js",
|
|
12
|
-
"production": "./dist/production/index.js"
|
|
12
|
+
"production": "./dist/production/index.js",
|
|
13
|
+
"default": "./dist/production/index.js"
|
|
13
14
|
}
|
|
14
15
|
}
|
|
15
16
|
},
|
|
@@ -18,15 +19,16 @@
|
|
|
18
19
|
"src/"
|
|
19
20
|
],
|
|
20
21
|
"typings": "./dist/types/index.d.ts",
|
|
21
|
-
"peerDependencies": {
|
|
22
|
-
"react": "^17 || ^18"
|
|
23
|
-
},
|
|
24
22
|
"scripts": {
|
|
25
|
-
"build": "
|
|
23
|
+
"build": "yarn build:js:dev && yarn build:js:prod",
|
|
26
24
|
"build:js:dev": "vite build --mode development",
|
|
27
25
|
"build:js:prod": "vite build --mode production",
|
|
28
26
|
"ae:build": "api-extractor run --local",
|
|
29
27
|
"ae:test": "api-extractor run",
|
|
30
28
|
"test": "vitest"
|
|
31
|
-
}
|
|
29
|
+
},
|
|
30
|
+
"peerDependencies": {
|
|
31
|
+
"react": "^17 || ^18"
|
|
32
|
+
},
|
|
33
|
+
"stableVersion": "0.0.0"
|
|
32
34
|
}
|
package/LICENSE
DELETED
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
Copyright (c) 2022 Contember Limited
|
|
2
|
-
|
|
3
|
-
Portions of this software are licensed as follows:
|
|
4
|
-
|
|
5
|
-
* All content that resides under the "EE/" directory of this repository, if that directory exists, is licensed under the license defined in "EE/LICENSE".
|
|
6
|
-
* All third party components incorporated into the Contember/Admin are licensed under the original license provided by the owner of the applicable component.
|
|
7
|
-
* Content outside of the above mentioned directories or restrictions above is available under the Apache License, Version 2.0 (the "License") as defined below.
|
|
8
|
-
|
|
9
|
-
-------------------------------------------------------------------------
|
|
10
|
-
Apache License
|
|
11
|
-
Version 2.0, January 2004
|
|
12
|
-
http://www.apache.org/licenses/
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
16
|
-
|
|
17
|
-
1. Definitions.
|
|
18
|
-
|
|
19
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
|
20
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
|
21
|
-
|
|
22
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
|
23
|
-
the copyright owner that is granting the License.
|
|
24
|
-
|
|
25
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
|
26
|
-
other entities that control, are controlled by, or are under common
|
|
27
|
-
control with that entity. For the purposes of this definition,
|
|
28
|
-
"control" means (i) the power, direct or indirect, to cause the
|
|
29
|
-
direction or management of such entity, whether by contract or
|
|
30
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
31
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
32
|
-
|
|
33
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
34
|
-
exercising permissions granted by this License.
|
|
35
|
-
|
|
36
|
-
"Source" form shall mean the preferred form for making modifications,
|
|
37
|
-
including but not limited to software source code, documentation
|
|
38
|
-
source, and configuration files.
|
|
39
|
-
|
|
40
|
-
"Object" form shall mean any form resulting from mechanical
|
|
41
|
-
transformation or translation of a Source form, including but
|
|
42
|
-
not limited to compiled object code, generated documentation,
|
|
43
|
-
and conversions to other media types.
|
|
44
|
-
|
|
45
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
46
|
-
Object form, made available under the License, as indicated by a
|
|
47
|
-
copyright notice that is included in or attached to the work
|
|
48
|
-
(an example is provided in the Appendix below).
|
|
49
|
-
|
|
50
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
51
|
-
form, that is based on (or derived from) the Work and for which the
|
|
52
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
53
|
-
represent, as a whole, an original work of authorship. For the purposes
|
|
54
|
-
of this License, Derivative Works shall not include works that remain
|
|
55
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
|
56
|
-
the Work and Derivative Works thereof.
|
|
57
|
-
|
|
58
|
-
"Contribution" shall mean any work of authorship, including
|
|
59
|
-
the original version of the Work and any modifications or additions
|
|
60
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
61
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
62
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
|
63
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
|
64
|
-
means any form of electronic, verbal, or written communication sent
|
|
65
|
-
to the Licensor or its representatives, including but not limited to
|
|
66
|
-
communication on electronic mailing lists, source code control systems,
|
|
67
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
|
68
|
-
Licensor for the purpose of discussing and improving the Work, but
|
|
69
|
-
excluding communication that is conspicuously marked or otherwise
|
|
70
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
|
71
|
-
|
|
72
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
73
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
74
|
-
subsequently incorporated within the Work.
|
|
75
|
-
|
|
76
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
77
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
78
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
79
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
80
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
81
|
-
Work and such Derivative Works in Source or Object form.
|
|
82
|
-
|
|
83
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
84
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
85
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
86
|
-
(except as stated in this section) patent license to make, have made,
|
|
87
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
88
|
-
where such license applies only to those patent claims licensable
|
|
89
|
-
by such Contributor that are necessarily infringed by their
|
|
90
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
|
91
|
-
with the Work to which such Contribution(s) was submitted. If You
|
|
92
|
-
institute patent litigation against any entity (including a
|
|
93
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
94
|
-
or a Contribution incorporated within the Work constitutes direct
|
|
95
|
-
or contributory patent infringement, then any patent licenses
|
|
96
|
-
granted to You under this License for that Work shall terminate
|
|
97
|
-
as of the date such litigation is filed.
|
|
98
|
-
|
|
99
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
100
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
101
|
-
modifications, and in Source or Object form, provided that You
|
|
102
|
-
meet the following conditions:
|
|
103
|
-
|
|
104
|
-
(a) You must give any other recipients of the Work or
|
|
105
|
-
Derivative Works a copy of this License; and
|
|
106
|
-
|
|
107
|
-
(b) You must cause any modified files to carry prominent notices
|
|
108
|
-
stating that You changed the files; and
|
|
109
|
-
|
|
110
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
111
|
-
that You distribute, all copyright, patent, trademark, and
|
|
112
|
-
attribution notices from the Source form of the Work,
|
|
113
|
-
excluding those notices that do not pertain to any part of
|
|
114
|
-
the Derivative Works; and
|
|
115
|
-
|
|
116
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
117
|
-
distribution, then any Derivative Works that You distribute must
|
|
118
|
-
include a readable copy of the attribution notices contained
|
|
119
|
-
within such NOTICE file, excluding those notices that do not
|
|
120
|
-
pertain to any part of the Derivative Works, in at least one
|
|
121
|
-
of the following places: within a NOTICE text file distributed
|
|
122
|
-
as part of the Derivative Works; within the Source form or
|
|
123
|
-
documentation, if provided along with the Derivative Works; or,
|
|
124
|
-
within a display generated by the Derivative Works, if and
|
|
125
|
-
wherever such third-party notices normally appear. The contents
|
|
126
|
-
of the NOTICE file are for informational purposes only and
|
|
127
|
-
do not modify the License. You may add Your own attribution
|
|
128
|
-
notices within Derivative Works that You distribute, alongside
|
|
129
|
-
or as an addendum to the NOTICE text from the Work, provided
|
|
130
|
-
that such additional attribution notices cannot be construed
|
|
131
|
-
as modifying the License.
|
|
132
|
-
|
|
133
|
-
You may add Your own copyright statement to Your modifications and
|
|
134
|
-
may provide additional or different license terms and conditions
|
|
135
|
-
for use, reproduction, or distribution of Your modifications, or
|
|
136
|
-
for any such Derivative Works as a whole, provided Your use,
|
|
137
|
-
reproduction, and distribution of the Work otherwise complies with
|
|
138
|
-
the conditions stated in this License.
|
|
139
|
-
|
|
140
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
141
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
142
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
143
|
-
this License, without any additional terms or conditions.
|
|
144
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
145
|
-
the terms of any separate license agreement you may have executed
|
|
146
|
-
with Licensor regarding such Contributions.
|
|
147
|
-
|
|
148
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
149
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
150
|
-
except as required for reasonable and customary use in describing the
|
|
151
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
152
|
-
|
|
153
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
154
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
155
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
156
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
157
|
-
implied, including, without limitation, any warranties or conditions
|
|
158
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
159
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
160
|
-
appropriateness of using or redistributing the Work and assume any
|
|
161
|
-
risks associated with Your exercise of permissions under this License.
|
|
162
|
-
|
|
163
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
164
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
165
|
-
unless required by applicable law (such as deliberate and grossly
|
|
166
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
167
|
-
liable to You for damages, including any direct, indirect, special,
|
|
168
|
-
incidental, or consequential damages of any character arising as a
|
|
169
|
-
result of this License or out of the use or inability to use the
|
|
170
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
171
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
172
|
-
other commercial damages or losses), even if such Contributor
|
|
173
|
-
has been advised of the possibility of such damages.
|
|
174
|
-
|
|
175
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
176
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
177
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
178
|
-
or other liability obligations and/or rights consistent with this
|
|
179
|
-
License. However, in accepting such obligations, You may act only
|
|
180
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
181
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
182
|
-
defend, and hold each Contributor harmless for any liability
|
|
183
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
184
|
-
of your accepting any such warranty or additional liability.
|
|
185
|
-
|
|
186
|
-
END OF TERMS AND CONDITIONS
|