@podlite/toc 0.0.4 → 0.0.6

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/CHANGELOG.md CHANGED
@@ -1,13 +1,29 @@
1
1
  # @podlite/toc
2
2
 
3
3
  ## Upcoming
4
+
5
+ ## 0.0.6
6
+
7
+ - refactor
8
+
9
+ ## 0.0.5
10
+
11
+ - update deps
12
+
4
13
  ## 0.0.4
14
+
5
15
  - update deps
16
+
6
17
  ## 0.0.3
18
+
7
19
  - adjust plugin API
20
+
8
21
  ## 0.0.2
22
+
9
23
  - update deps
24
+
10
25
  ## 0.0.1
26
+
11
27
  - initial release
12
28
  - implement Table of conents =Toc block
13
29
  - add support :caption for =table
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2022 Alexandr Zahatski
3
+ Copyright © 2022-2024 Aliaksandr Zahatski
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # =Toc block
2
2
 
3
+ <div align="center">
4
+
5
+ [![Podlite](https://github.com/zag/specs/raw/podlite-specification/assets/podlite_logo_256x256.png)](https://podlite.org)
6
+
7
+ </div>
8
+
9
+ **Podlite is a lightweight block-based markup language designed for flexibility and ease of use.**
10
+
11
+ Unbound by any specific domain, programming language, or concept, Podlite stands out as a universal markup language. It's versatile enough to be successfully implemented across various development fields, from web development to scientific research.
12
+
13
+ Podlite is not limited to any specific application domain, programming language, or concept.
14
+
15
+ In addition, the support for Markdown markup as a standard block adds convenience and allows for the use of familiar syntax for text formatting.
16
+
17
+ One of the key features of Podlite is its extensibility. This allows for defining unique and domain-specific blocks and expanding the language's functionality according to the requirements of your project.
18
+
19
+ Its flexibility makes it an ideal tool for creating documentation, blogs, educational materials, and much more.
20
+
21
+ Podlite aims to provide users with a means for creativity and expressing ideas in a structured form, while ensuring ease of use and high flexibility in content creation.
22
+
23
+ ## Useful links
24
+
25
+ 📖 _Project site_: [podlite.org](https://podlite.org)
26
+
27
+ 📌 _Github_: [github.com/podlite](https://github.com/podlite/) 🤩
28
+
29
+ 🖥️ _Online editor_: [pod6.in](https://pod6.in/)
30
+
31
+ 🖥️ _Desktop editor/viewer_: [github.com/podlite/podlite-desktop](https://github.com/podlite/podlite-desktop) - the viewer and editor of `.podlite` and `.pod6` files for Windows, Linux and Mac.
32
+
33
+ 📚 _Podlite for web_ - static site generator: [github.com/podlite/podlite-web](https://github.com/podlite/podlite-web)
34
+
3
35
  ## Contributing
4
36
 
5
37
  This is an open source program. Feel free to fork and contribute.
@@ -8,8 +40,8 @@ In order to keep the match between this documentation and the last release, plea
8
40
 
9
41
  ## AUTHOR
10
42
 
11
- Copyright (c) 2022 Alexandr Zahatski
43
+ Copyright (c) 2022-2024 Aliaksandr Zahatski
12
44
 
13
45
  ## License
14
46
 
15
- Released under a MIT License.
47
+ Released under a MIT License.
package/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  'use strict'
2
- module.exports = require('./lib')
2
+ module.exports = require('./lib')
package/jest.config.js CHANGED
@@ -1,2 +1 @@
1
-
2
1
  module.exports = require('../../jest.config')
@@ -1 +1 @@
1
- {"extends": "../../jest.tsconfig.json"}
1
+ { "extends": "../../jest.tsconfig.json" }
package/lib/helpers.js CHANGED
@@ -1,23 +1,19 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.getTocPod = exports.prepareDataForToc = void 0;
7
4
  const schema_1 = require("@podlite/schema");
8
- const makeTransformer_1 = __importDefault(require("pod6/built/helpers/makeTransformer"));
9
5
  const prepareDataForToc = (data) => {
10
- const isSemanticBlock = (node) => {
6
+ const isSemanticBlock = node => {
11
7
  const name = node.name || '';
12
8
  const isTypeBlock = (node.type || '') === 'block';
13
9
  return isTypeBlock && name === name.toUpperCase();
14
10
  };
15
- const reduceLevel = (arr) => {
11
+ const reduceLevel = arr => {
16
12
  return arr.reduce((i, c) => {
17
13
  return (i.includes(c) ? [...i] : [...i, c]).sort((a, b) => a - b);
18
14
  }, []);
19
15
  };
20
- const normalizeLevels = (data) => {
16
+ const normalizeLevels = data => {
21
17
  const namesLevels = {};
22
18
  for (const node of data) {
23
19
  if (isSemanticBlock(node)) {
@@ -34,22 +30,25 @@ const prepareDataForToc = (data) => {
34
30
  return namesLevels;
35
31
  };
36
32
  const levelsMap = normalizeLevels(data);
37
- const tocTree = [
38
- [-1, { item: 'toc', level: 0, node: {} }]
39
- ];
33
+ const tocTree = [[-1, { item: 'toc', level: 0, node: {} }]];
40
34
  /**
41
- // find nearest by level
42
- const tocTree = [
43
- [ -1, { item: 'toc', level:0 } ],
44
- [ 0, { item: 'head', level:1 } ],
45
- [ 1, { item: 'head2', level:2 } ],
46
- [ 0, { item: 'head', level:1 } ],
47
- [ 3, { item: 'item2', level:3 } ],
48
- ];
49
- const sq = getIndexByLevel(tocTree, 4)
50
- */
35
+ // find nearest by level
36
+ const tocTree = [
37
+ [ -1, { item: 'toc', level:0 } ],
38
+ [ 0, { item: 'head', level:1 } ],
39
+ [ 1, { item: 'head2', level:2 } ],
40
+ [ 0, { item: 'head', level:1 } ],
41
+ [ 3, { item: 'item2', level:3 } ],
42
+ ];
43
+ const sq = getIndexByLevel(tocTree, 4)
44
+ */
51
45
  const getRootIndexByLevel = (tocTree, level) => {
52
- return tocTree.length - tocTree.slice().reverse().findIndex(e => e[1].level < level) - 1;
46
+ return (tocTree.length -
47
+ tocTree
48
+ .slice()
49
+ .reverse()
50
+ .findIndex(e => e[1].level < level) -
51
+ 1);
53
52
  };
54
53
  let currentLevel = 1;
55
54
  // prepare normilized data
@@ -83,14 +82,15 @@ const prepareDataForToc = (data) => {
83
82
  var treeArr = new Array(arr.length);
84
83
  for (var i = 0, len = arr.length; i < len; i++) {
85
84
  var arrI = arr[i];
86
- var newNode = treeArr[i] = {
85
+ var newNode = (treeArr[i] = {
87
86
  type: arrI[1].item,
88
87
  level: arrI[1].level,
89
88
  node: arrI[1].node,
90
- content: []
91
- };
89
+ content: [],
90
+ });
92
91
  var parentI = arrI[0];
93
- if (parentI > -1) { //i.e. not the root..
92
+ if (parentI > -1) {
93
+ //i.e. not the root..
94
94
  treeArr[parentI].content.push(newNode);
95
95
  }
96
96
  }
@@ -99,25 +99,26 @@ const prepareDataForToc = (data) => {
99
99
  return makeTree(tocTree);
100
100
  };
101
101
  exports.prepareDataForToc = prepareDataForToc;
102
- const getTocPod = (tocTree, tocTitle = "Table of contents") => {
102
+ const getTocPod = (tocTree, tocTitle = 'Table of contents') => {
103
103
  let blocks = [];
104
104
  const rules = {
105
- ":toc": (node, _, visiter) => {
105
+ ':toc': (node, _, visiter) => {
106
106
  blocks.push(`=head1 ${tocTitle}`);
107
107
  visiter(node.content);
108
108
  },
109
- ":head": (node, ctx, visiter) => {
109
+ ':head': (node, ctx, visiter) => {
110
110
  const id = (0, schema_1.getNodeId)(node.node, ctx);
111
111
  blocks.push(`=item${node.level} L<${(0, schema_1.getTextContentFromNode)(node.node).trim()} ${id ? `|#${id}` : ''}>`);
112
112
  visiter(node.content);
113
113
  },
114
- ":item": (node, _, visiter) => {
114
+ ':item': (node, _, visiter) => {
115
115
  blocks.push(`=item${node.level} ${(0, schema_1.getTextContentFromNode)(node.node).trim()}`);
116
116
  visiter(node.content);
117
117
  },
118
118
  };
119
- const transformer = (0, makeTransformer_1.default)(rules);
119
+ const transformer = (0, schema_1.makeTransformer)(rules);
120
120
  const res = transformer(tocTree, {});
121
121
  return blocks.join('\n');
122
122
  };
123
123
  exports.getTocPod = getTocPod;
124
+ //# sourceMappingURL=helpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.js","sourceRoot":"","sources":["../src/helpers.ts"],"names":[],"mappings":";;;AAAA,4CAAoF;AAE7E,MAAM,iBAA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,EAAE,CAAC,CAAA;YAC7E,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;QACvB,CAAC;KACF,CAAA;IACD,MAAM,WAAW,GAAG,IAAA,wBAAe,EAAC,KAAK,CAAC,CAAA;IAC1C,MAAM,GAAG,GAAG,WAAW,CAAC,OAAO,EAAE,EAAE,CAAC,CAAA;IACpC,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AAC1B,CAAC,CAAA;AApBY,QAAA,SAAS,aAoBrB"}
package/lib/index.js CHANGED
@@ -1,18 +1,13 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.PluginRegister = exports.plugin = exports.getContentForToc = void 0;
7
4
  const schema_1 = require("@podlite/schema");
8
5
  const helpers_1 = require("./helpers");
9
- const config_1 = __importDefault(require("pod6/built/helpers/config"));
10
- const makeTransformer_1 = require("pod6/built/helpers/makeTransformer");
11
6
  const getContentForToc = (node) => {
12
- if (typeof node !== "string" && "type" in node) {
7
+ if (typeof node !== 'string' && 'type' in node) {
13
8
  if (node.type === 'block') {
14
- const conf = (0, config_1.default)(node, {});
15
- if ((0, makeTransformer_1.isNamedBlock)(node.name)) {
9
+ const conf = (0, schema_1.makeAttrs)(node, {});
10
+ if ((0, schema_1.isNamedBlock)(node.name)) {
16
11
  const caption = ((conf, nodeName) => {
17
12
  if (conf.exists('caption')) {
18
13
  return conf.getFirstValue('caption');
@@ -45,11 +40,13 @@ const getContentForToc = (node) => {
45
40
  return 'Not supported toc element';
46
41
  };
47
42
  exports.getContentForToc = getContentForToc;
48
- exports.plugin = ({
43
+ exports.plugin = {
49
44
  toAstAfter: (writer, processor, fulltree) => {
50
45
  return (node, ctx) => {
51
46
  const content = (0, schema_1.getTextContentFromNode)(node);
52
- const blocks = content.trim().split(/(?:\s*,\s*|\s+)/)
47
+ const blocks = content
48
+ .trim()
49
+ .split(/(?:\s*,\s*|\s+)/)
53
50
  .filter(Boolean);
54
51
  if (blocks.length == 0) {
55
52
  blocks.push({ name: 'head' });
@@ -69,11 +66,10 @@ exports.plugin = ({
69
66
  if (Array.isArray(content) && content.length > 0) {
70
67
  resultList.push(createList(content, level + 1));
71
68
  }
72
- ;
73
69
  });
74
70
  return (0, schema_1.mkTocList)(resultList, level);
75
71
  };
76
- const conf = (0, config_1.default)(node, ctx);
72
+ const conf = (0, schema_1.makeAttrs)(node, ctx);
77
73
  const tocTitle = conf.getFirstValue('title');
78
74
  const makeToc = (tocTree, title) => {
79
75
  return (0, schema_1.mkToc)(createList(tocTree.content, 1), title);
@@ -81,8 +77,9 @@ exports.plugin = ({
81
77
  return makeToc(tocTree, tocTitle);
82
78
  };
83
79
  },
84
- });
80
+ };
85
81
  exports.PluginRegister = {
86
- Toc: exports.plugin
82
+ Toc: exports.plugin,
87
83
  };
88
84
  exports.default = exports.plugin;
85
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":";;;AAAA,4CAawB;AACxB,uCAA6C;AAEtC,MAAM,gBAAgB,GAAG,CAAC,IAAa,EAAU,EAAE;IACxD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,MAAM,IAAI,IAAI,EAAE;QAC9C,IAAI,IAAI,CAAC,IAAI,KAAK,OAAO,EAAE;YACzB,MAAM,IAAI,GAAG,IAAA,kBAAS,EAAC,IAAI,EAAE,EAAE,CAAC,CAAA;YAChC,IAAI,IAAA,qBAAY,EAAC,IAAI,CAAC,IAAI,CAAC,EAAE;gBAC3B,MAAM,OAAO,GAAG,CAAC,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE;oBAClC,IAAI,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,EAAE;wBAC1B,OAAO,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,CAAA;qBACrC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AAG,IAAA,kBAAS,EAAC,IAAI,EAAE,GAAG,CAAC,CAAA;YACjC,MAAM,QAAQ,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAA;YAC5C,MAAM,OAAO,GAAG,CAAC,OAAY,EAAE,KAAK,EAAO,EAAE;gBAC3C,OAAO,IAAA,cAAK,EAAC,UAAU,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,CAAA;YACrD,CAAC,CAAA;YAED,OAAO,OAAO,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAA;QACnC,CAAC,CAAA;IACH,CAAC;CACF,CAAA;AACY,QAAA,cAAc,GAAY;IACrC,GAAG,EAAE,cAAM;CACZ,CAAA;AACD,kBAAe,cAAM,CAAA"}
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@podlite/toc",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "description": "Table of contents",
5
- "main": "index.js",
5
+ "main": "lib/index.js",
6
6
  "types": "./lib/index.d.ts",
7
7
  "license": "MIT",
8
8
  "scripts": {
@@ -12,18 +12,24 @@
12
12
  },
13
13
  "publishConfig": {
14
14
  "access": "public",
15
- "main": "index.js",
15
+ "main": "lib/index.js",
16
16
  "types": "./lib/index.d.ts"
17
17
  },
18
+ "keywords": [
19
+ "markdown",
20
+ "pod6",
21
+ "podlite",
22
+ "markup",
23
+ "markup-language"
24
+ ],
18
25
  "peerDependencies": {
19
- "react": "^16.0.0 || ^17.0.0",
26
+ "react": "^16.0.0 || ^17.0.0 ",
20
27
  "react-dom": "^16.0.0 || ^17.0.0"
21
28
  },
22
29
  "dependencies": {
23
- "@podlite/schema": "0.0.11",
24
- "pod6": "^0.0.48",
25
- "react": "^16.0.0 || ^17.0.0",
30
+ "@podlite/schema": "0.0.13",
31
+ "react": "^16.0.0 || ^17.0.0 ",
26
32
  "react-dom": "^16.0.0 || ^17.0.0",
27
- "react-is": "^17.0.2"
33
+ "react-is": "^17.0.0"
28
34
  }
29
35
  }
package/src/helpers.ts CHANGED
@@ -1,40 +1,34 @@
1
- import { getFromTree, getNodeId, getTextContentFromNode } from "@podlite/schema"
2
- import makeTransformer from 'pod6/built/helpers/makeTransformer'
1
+ import { makeTransformer, getNodeId, getTextContentFromNode } from '@podlite/schema'
3
2
 
4
3
  export const prepareDataForToc = (data: any[]) => {
5
-
6
- const isSemanticBlock = ( node ) => {
7
- const name = node.name || ''
8
- const isTypeBlock = ( node.type || '') === 'block'
9
- return isTypeBlock && name === name.toUpperCase()
10
- }
11
- const reduceLevel = (arr) =>{
12
- return arr.reduce((i,c)=>{
13
- return (i.includes(c) ? [...i] : [...i,c]).sort((a,b)=>a-b)
14
- },[])
15
-
16
- }
17
- const normalizeLevels = (data) => {
18
- const namesLevels = {}
19
- for ( const node of data ) {
20
- if ( isSemanticBlock(node) ) {
21
- const level = 1
22
- node.level = level
23
- namesLevels['head'] = reduceLevel([ ...(namesLevels['head'] || []) ,1 ])
24
-
25
- } else {
26
- // TODO: eliminate string level (=item)
27
- // default level is 1 for all items
28
- namesLevels[node.name] = reduceLevel([...(namesLevels[node.name] || []), parseInt(node.level,10) || 1 ])
29
- }
4
+ const isSemanticBlock = node => {
5
+ const name = node.name || ''
6
+ const isTypeBlock = (node.type || '') === 'block'
7
+ return isTypeBlock && name === name.toUpperCase()
8
+ }
9
+ const reduceLevel = arr => {
10
+ return arr.reduce((i, c) => {
11
+ return (i.includes(c) ? [...i] : [...i, c]).sort((a, b) => a - b)
12
+ }, [])
13
+ }
14
+ const normalizeLevels = data => {
15
+ const namesLevels = {}
16
+ for (const node of data) {
17
+ if (isSemanticBlock(node)) {
18
+ const level = 1
19
+ node.level = level
20
+ namesLevels['head'] = reduceLevel([...(namesLevels['head'] || []), 1])
21
+ } else {
22
+ // TODO: eliminate string level (=item)
23
+ // default level is 1 for all items
24
+ namesLevels[node.name] = reduceLevel([...(namesLevels[node.name] || []), parseInt(node.level, 10) || 1])
30
25
  }
31
- return namesLevels
32
26
  }
33
- const levelsMap = normalizeLevels(data)
34
- const tocTree = [
35
- [ -1, { item: 'toc', level:0 , node:{} } ]
36
- ];
37
- /**
27
+ return namesLevels
28
+ }
29
+ const levelsMap = normalizeLevels(data)
30
+ const tocTree = [[-1, { item: 'toc', level: 0, node: {} }]]
31
+ /**
38
32
  // find nearest by level
39
33
  const tocTree = [
40
34
  [ -1, { item: 'toc', level:0 } ],
@@ -45,75 +39,84 @@ export const prepareDataForToc = (data: any[]) => {
45
39
  ];
46
40
  const sq = getIndexByLevel(tocTree, 4)
47
41
  */
48
- const getRootIndexByLevel = (tocTree, level) => {
49
- return tocTree.length - tocTree.slice().reverse().findIndex(e => e[1].level < level) -1
50
- }
51
- let currentLevel = 1
52
- // prepare normilized data
53
- for (let i = 0; i < data.length; i++) {
54
- const item = data[i]
55
- // deafult level is 1 for all items
56
- const normalizedLevel:number = levelsMap[item.name].findIndex(l => l === parseInt(item.level || 1)) +1
57
- switch (item.name) {
58
- case 'head': {
59
- const parent = getRootIndexByLevel(tocTree, normalizedLevel)
60
- tocTree.push([parent, {item:item.name,level:normalizedLevel, node:item }])
61
- if (currentLevel != normalizedLevel) {
62
- currentLevel = normalizedLevel
63
- }
64
- }
65
- break;
66
- default: {
67
- const newlevel = currentLevel + normalizedLevel
68
- const parent = getRootIndexByLevel(tocTree, newlevel)
69
- tocTree.push([parent, {item:item.name, level:newlevel, node:item }])
42
+ const getRootIndexByLevel = (tocTree, level) => {
43
+ return (
44
+ tocTree.length -
45
+ tocTree
46
+ .slice()
47
+ .reverse()
48
+ .findIndex(e => e[1].level < level) -
49
+ 1
50
+ )
51
+ }
52
+ let currentLevel = 1
53
+ // prepare normilized data
54
+ for (let i = 0; i < data.length; i++) {
55
+ const item = data[i]
56
+ // deafult level is 1 for all items
57
+ const normalizedLevel: number = levelsMap[item.name].findIndex(l => l === parseInt(item.level || 1)) + 1
58
+ switch (item.name) {
59
+ case 'head':
60
+ {
61
+ const parent = getRootIndexByLevel(tocTree, normalizedLevel)
62
+ tocTree.push([parent, { item: item.name, level: normalizedLevel, node: item }])
63
+ if (currentLevel != normalizedLevel) {
64
+ currentLevel = normalizedLevel
70
65
  }
71
- break;
72
- }
66
+ }
67
+ break
68
+ default:
69
+ {
70
+ const newlevel = currentLevel + normalizedLevel
71
+ const parent = getRootIndexByLevel(tocTree, newlevel)
72
+ tocTree.push([parent, { item: item.name, level: newlevel, node: item }])
73
+ }
74
+ break
73
75
  }
74
- //Turns given flat arr into a tree and returns root..
75
- //(Assumes that no child is declared before parent)
76
- function makeTree(arr){
77
- //Array with all the children elements set correctly..
78
- var treeArr = new Array(arr.length);
79
-
80
- for(var i = 0, len = arr.length; i < len; i++){
81
- var arrI = arr[i];
82
- var newNode = treeArr[i] = {
83
- type: arrI[1].item,
84
- level: arrI[1].level,
85
- node: arrI[1].node,
86
- content: []
87
- };
88
- var parentI = arrI[0];
89
- if(parentI > -1){ //i.e. not the root..
90
- treeArr[parentI].content.push(newNode);
91
- }
92
- }
93
- return treeArr[0]; //return the root..
76
+ }
77
+ //Turns given flat arr into a tree and returns root..
78
+ //(Assumes that no child is declared before parent)
79
+ function makeTree(arr) {
80
+ //Array with all the children elements set correctly..
81
+ var treeArr = new Array(arr.length)
82
+
83
+ for (var i = 0, len = arr.length; i < len; i++) {
84
+ var arrI = arr[i]
85
+ var newNode = (treeArr[i] = {
86
+ type: arrI[1].item,
87
+ level: arrI[1].level,
88
+ node: arrI[1].node,
89
+ content: [],
90
+ })
91
+ var parentI = arrI[0]
92
+ if (parentI > -1) {
93
+ //i.e. not the root..
94
+ treeArr[parentI].content.push(newNode)
94
95
  }
95
- return makeTree(tocTree)
96
- }
96
+ }
97
+ return treeArr[0] //return the root..
98
+ }
99
+ return makeTree(tocTree)
100
+ }
97
101
 
98
- export const getTocPod = (tocTree: any, tocTitle = "Table of contents"):string => {
99
- let blocks = []
100
- const rules = {
101
- ":toc": (node,_, visiter)=>{
102
- blocks.push(`=head1 ${tocTitle}`)
103
- visiter(node.content)
104
- },
105
- ":head": (node,ctx, visiter)=>{
106
- const id = getNodeId(node.node, ctx)
107
- blocks.push(`=item${node.level} L<${getTextContentFromNode(node.node).trim()} ${id ? `|#${id}`:''}>`)
108
- visiter(node.content)
109
- },
110
- ":item": (node,_, visiter)=>{
111
- blocks.push(`=item${node.level} ${getTextContentFromNode(node.node).trim()}`)
112
- visiter(node.content)
113
- },
114
- }
115
- const transformer = makeTransformer(rules)
116
- const res = transformer(tocTree, {})
117
- return blocks.join('\n')
118
- }
119
-
102
+ export const getTocPod = (tocTree: any, tocTitle = 'Table of contents'): string => {
103
+ let blocks = []
104
+ const rules = {
105
+ ':toc': (node, _, visiter) => {
106
+ blocks.push(`=head1 ${tocTitle}`)
107
+ visiter(node.content)
108
+ },
109
+ ':head': (node, ctx, visiter) => {
110
+ const id = getNodeId(node.node, ctx)
111
+ blocks.push(`=item${node.level} L<${getTextContentFromNode(node.node).trim()} ${id ? `|#${id}` : ''}>`)
112
+ visiter(node.content)
113
+ },
114
+ ':item': (node, _, visiter) => {
115
+ blocks.push(`=item${node.level} ${getTextContentFromNode(node.node).trim()}`)
116
+ visiter(node.content)
117
+ },
118
+ }
119
+ const transformer = makeTransformer(rules)
120
+ const res = transformer(tocTree, {})
121
+ return blocks.join('\n')
122
+ }
package/src/index.tsx CHANGED
@@ -1,86 +1,93 @@
1
- import React from 'react'
2
- import {Plugin, Location, mkBlock, PodliteDocument, getFromTree, getTextContentFromNode, mkItemBlock, mkTocItem, mkTocList, mkToc, TocList, Toc, getNodeId, BlockImage, Plugins} from '@podlite/schema'
3
- import { getTocPod, prepareDataForToc } from './helpers';
4
- import makeAttrs from 'pod6/built/helpers/config'
5
- import { isNamedBlock } from 'pod6/built/helpers/makeTransformer';
6
- import { PodNode } from '@podlite/schema';
1
+ import {
2
+ Plugin,
3
+ getFromTree,
4
+ getTextContentFromNode,
5
+ mkTocItem,
6
+ mkTocList,
7
+ mkToc,
8
+ TocList,
9
+ Toc,
10
+ getNodeId,
11
+ Plugins,
12
+ makeAttrs,
13
+ isNamedBlock,
14
+ } from '@podlite/schema'
15
+ import { prepareDataForToc } from './helpers'
16
+ import { PodNode } from '@podlite/schema'
7
17
  export const getContentForToc = (node: PodNode): string => {
8
- if (typeof node !== "string" && "type" in node) {
9
- if ( node.type === 'block') {
10
- const conf = makeAttrs(node, {})
11
- if (isNamedBlock(node.name)) {
12
- const caption = ((conf, nodeName)=>{
13
- if ( conf.exists('caption') ) {
14
- return conf.getFirstValue('caption')
15
- } else
16
- if ( conf.exists('title') ) {
17
- return conf.getFirstValue('title')
18
- } else {
19
- // try to find content child node
20
- const [captionNode] = getFromTree(node, 'caption')
21
- if (captionNode) {
22
- return getTextContentFromNode(captionNode)
23
- }
24
- }
25
- return `${nodeName} not have :caption`
26
- })(conf, node.name)
27
- return caption
18
+ if (typeof node !== 'string' && 'type' in node) {
19
+ if (node.type === 'block') {
20
+ const conf = makeAttrs(node, {})
21
+ if (isNamedBlock(node.name)) {
22
+ const caption = ((conf, nodeName) => {
23
+ if (conf.exists('caption')) {
24
+ return conf.getFirstValue('caption')
25
+ } else if (conf.exists('title')) {
26
+ return conf.getFirstValue('title')
27
+ } else {
28
+ // try to find content child node
29
+ const [captionNode] = getFromTree(node, 'caption')
30
+ if (captionNode) {
31
+ return getTextContentFromNode(captionNode)
28
32
  }
29
- if (node.name == 'image') {
30
- const caption = getTextContentFromNode(conf.getFirstValue('caption'))
31
- return caption || 'image not have caption'
32
- }
33
- if (node.name == 'table') {
34
- const caption = getTextContentFromNode(conf.getFirstValue('caption'))
35
- return caption || 'table not have :caption'
36
- }
37
- return getTextContentFromNode(node);
38
- }
33
+ }
34
+ return `${nodeName} not have :caption`
35
+ })(conf, node.name)
36
+ return caption
37
+ }
38
+ if (node.name == 'image') {
39
+ const caption = getTextContentFromNode(conf.getFirstValue('caption'))
40
+ return caption || 'image not have caption'
41
+ }
42
+ if (node.name == 'table') {
43
+ const caption = getTextContentFromNode(conf.getFirstValue('caption'))
44
+ return caption || 'table not have :caption'
39
45
  }
40
- return 'Not supported toc element';
46
+ return getTextContentFromNode(node)
47
+ }
41
48
  }
42
- export const plugin:Plugin =({
43
- toAstAfter:(writer, processor, fulltree) => {
44
- return (node,ctx) => {
45
- const content = getTextContentFromNode(node)
46
- const blocks:Array<any> = content.trim().split(/(?:\s*,\s*|\s+)/)
47
- .filter(Boolean)
48
- if ( blocks.length == 0 ) {
49
- blocks.push({name:'head'})
50
- }
51
- const nodes = getFromTree(fulltree, ...blocks)
52
- const tocTree = prepareDataForToc(nodes)
53
- const createList = (items:any[], level):TocList=>{
54
- const resultList = []
55
- items.map(item => {
56
- const {level, node, content} = item
57
- // create new node for each item
58
- const text = getContentForToc(node) || ' ' // ' ' needs to avoid lack of L<>
59
- //TODO: getNodeId should use ctx of node, but using {} instead
60
- const para = `L<${text}|#${getNodeId(node,{})}>`
61
- const tocNode = processor(para)[0];
62
- resultList.push(mkTocItem(tocNode))
63
- if ( Array.isArray(content) && content.length > 0) {
64
- resultList.push(createList( content,level + 1) )
65
- };
66
- })
67
- return mkTocList(resultList, level)
68
- }
69
- const conf = makeAttrs(node, ctx)
70
- const tocTitle = conf.getFirstValue('title')
71
- const makeToc = (tocTree: any, title):Toc => {
72
-
73
- return mkToc(createList(tocTree.content, 1), title)
74
- }
49
+ return 'Not supported toc element'
50
+ }
51
+ export const plugin: Plugin = {
52
+ toAstAfter: (writer, processor, fulltree) => {
53
+ return (node, ctx) => {
54
+ const content = getTextContentFromNode(node)
55
+ const blocks: Array<any> = content
56
+ .trim()
57
+ .split(/(?:\s*,\s*|\s+)/)
58
+ .filter(Boolean)
59
+ if (blocks.length == 0) {
60
+ blocks.push({ name: 'head' })
61
+ }
62
+ const nodes = getFromTree(fulltree, ...blocks)
63
+ const tocTree = prepareDataForToc(nodes)
64
+ const createList = (items: any[], level): TocList => {
65
+ const resultList = []
66
+ items.map(item => {
67
+ const { level, node, content } = item
68
+ // create new node for each item
69
+ const text = getContentForToc(node) || ' ' // ' ' needs to avoid lack of L<>
70
+ //TODO: getNodeId should use ctx of node, but using {} instead
71
+ const para = `L<${text}|#${getNodeId(node, {})}>`
72
+ const tocNode = processor(para)[0]
73
+ resultList.push(mkTocItem(tocNode))
74
+ if (Array.isArray(content) && content.length > 0) {
75
+ resultList.push(createList(content, level + 1))
76
+ }
77
+ })
78
+ return mkTocList(resultList, level)
79
+ }
80
+ const conf = makeAttrs(node, ctx)
81
+ const tocTitle = conf.getFirstValue('title')
82
+ const makeToc = (tocTree: any, title): Toc => {
83
+ return mkToc(createList(tocTree.content, 1), title)
84
+ }
75
85
 
76
- return makeToc(tocTree, tocTitle)
77
- }
78
- },
79
-
80
- })
81
- export const PluginRegister:Plugins = {
82
- Toc: plugin
86
+ return makeToc(tocTree, tocTitle)
87
+ }
88
+ },
89
+ }
90
+ export const PluginRegister: Plugins = {
91
+ Toc: plugin,
83
92
  }
84
93
  export default plugin
85
-
86
-
package/t/plugin.test.tsx CHANGED
@@ -1,80 +1,74 @@
1
- import {
2
- getFromTree,
3
- PodliteDocument,
4
- validatePodliteAst,
5
- } from "@podlite/schema";
6
- import { podlite as podlite_core } from "podlite";
7
- import { plugin } from "../src/index";
8
- import Image from "@podlite/image";
9
- import { frozenIds } from "podlite/src";
1
+ import { frozenIds, getFromTree, PodliteDocument, podlitePluggable, validatePodliteAst } from '@podlite/schema'
2
+ import { plugin } from '../src/index'
3
+ import Image from '@podlite/image'
10
4
 
11
5
  export const parse = (str: string): PodliteDocument => {
12
- let podlite = podlite_core({ importPlugins: false }).use({
6
+ let podlite = podlitePluggable().use({
13
7
  Toc: plugin,
14
- });
15
- let tree = podlite.parse(str);
16
- const asAst = podlite.toAstResult(tree);
17
- return asAst.interator;
18
- };
8
+ })
9
+ let tree = podlite.parse(str)
10
+ const asAst = podlite.toAstResult(tree)
11
+ return asAst.interator
12
+ }
19
13
 
20
14
  export const parseImage = (str: string): PodliteDocument => {
21
- let podlite = podlite_core({ importPlugins: false }).use({
15
+ let podlite = podlitePluggable().use({
22
16
  Toc: plugin,
23
17
  Image,
24
- });
25
- let tree = podlite.parse(str);
26
- const asAst = podlite.toAstResult(tree);
27
- return asAst.interator;
28
- };
18
+ })
19
+ let tree = podlite.parse(str)
20
+ const asAst = podlite.toAstResult(tree)
21
+ return asAst.interator
22
+ }
29
23
 
30
24
  const parseToHtml = (str: string): string => {
31
- let podlite = podlite_core({ importPlugins: false }).use({
25
+ let podlite = podlitePluggable().use({
32
26
  Toc: plugin,
33
27
  Image,
34
- });
35
- let tree = podlite.parse(str);
36
- const asAst = podlite.toAst(frozenIds()(tree));
37
- return podlite.toHtml(asAst).toString();
38
- };
28
+ })
29
+ let tree = podlite.parse(str)
30
+ const asAst = podlite.toAst(frozenIds()(tree))
31
+ return podlite.toHtml(asAst).toString()
32
+ }
39
33
 
40
34
  const pod = `
41
35
  =begin pod
42
36
  =Toc head1 head3 item item2
43
37
  =head2 test2
44
- =end pod`;
38
+ =end pod`
45
39
  // =head1 test1 I<test> L<ddd | test >
46
40
 
47
- it("=Toc: toAst", () => {
48
- const p = parse(pod);
41
+ it('=Toc: toAst', () => {
42
+ const p = parse(pod)
49
43
  // try to validate Formal AST
50
- const r = validatePodliteAst(p);
51
- expect(r).toEqual([]);
52
- });
44
+ const r = validatePodliteAst(p)
45
+ expect(r).toEqual([])
46
+ })
53
47
 
54
- it("=para: parse to html", () => {
55
- const pod = `=para head1 head3 item item2`;
48
+ it('=para: parse to html', () => {
49
+ const pod = `=para head1 head3 item item2`
56
50
  expect(parseToHtml(pod)).toMatchInlineSnapshot(`
57
51
  <p>
58
52
  head1 head3 item item2
59
53
  </p>
60
- `);
61
- });
54
+ `)
55
+ })
62
56
 
63
- it("=Toc: parse to html", () => {
64
- const pod = `=Toc head1 head3 item item2`;
57
+ it('=Toc: parse to html', () => {
58
+ const pod = `=Toc head1 head3 item item2`
65
59
  expect(parseToHtml(pod)).toMatchInlineSnapshot(`
66
60
  <div classname="toc">
67
61
  <ul class="toc-list listlevel1">
68
62
  </ul>
69
63
  </div>
70
- `);
71
- });
64
+ `)
65
+ })
72
66
 
73
- it("=Toc: head1 head2", () => {
67
+ it('=Toc: head1 head2', () => {
74
68
  const pod = `=Toc head1 head2
75
69
  =for head1 :id<123>
76
70
  Test head1
77
- `;
71
+ `
78
72
  expect(parseToHtml(pod)).toMatchInlineSnapshot(`
79
73
  <div classname="toc">
80
74
  <ul class="toc-list listlevel1">
@@ -90,10 +84,10 @@ Test head1
90
84
  <h1 id="123">
91
85
  Test head1
92
86
  </h1>
93
- `);
94
- });
87
+ `)
88
+ })
95
89
 
96
- it("[check default list]=Toc", () => {
90
+ it('[check default list]=Toc', () => {
97
91
  const pod = `=Toc
98
92
  =head1 head
99
93
  =head2 head
@@ -101,7 +95,7 @@ it("[check default list]=Toc", () => {
101
95
  =head4 head
102
96
  =head5 head
103
97
  =head6 head
104
- `;
98
+ `
105
99
  expect(parseToHtml(pod)).toMatchInlineSnapshot(`
106
100
  <div classname="toc">
107
101
  <ul class="toc-list listlevel1">
@@ -177,9 +171,9 @@ it("[check default list]=Toc", () => {
177
171
  <h6 id="id">
178
172
  head
179
173
  </h6>
180
- `);
181
- });
182
- it.skip("=Toc Image Diagram1", () => {
174
+ `)
175
+ })
176
+ it.skip('=Toc Image Diagram1', () => {
183
177
  const pod = `=for Toc :title<Table of Media>
184
178
  Image Diagram
185
179
  =for Image :caption<Image caption> :id(1)
@@ -188,21 +182,21 @@ it.skip("=Toc Image Diagram1", () => {
188
182
 
189
183
  =for Diagram :caption<Diagram caption> :id(2)
190
184
  User content
191
- `;
192
- const nodes = getFromTree(parseImage(pod), ":image");
193
- console.log(JSON.stringify(nodes, null, 2));
194
- console.log(parseToHtml(nodes));
185
+ `
186
+ const nodes = getFromTree(parseImage(pod), ':image')
187
+ console.log(JSON.stringify(nodes, null, 2))
188
+ // console.log(parseToHtml(nodes));
195
189
  // expect(parseToHtml(pod)).toMatchInlineSnapshot()
196
- });
190
+ })
197
191
 
198
- it("=Toc Image Diagram", () => {
192
+ it('=Toc Image Diagram', () => {
199
193
  const pod = `=for Toc :title<Table of Media>
200
194
  Image Diagram
201
195
  =for Image :caption<Image caption> :id(1)
202
196
  https://example.com.image.png
203
197
  =for Diagram :caption<Diagram caption> :id(2)
204
198
  User content
205
- `;
199
+ `
206
200
  expect(parseToHtml(pod)).toMatchInlineSnapshot(`
207
201
  <div classname="toc">
208
202
  <ul class="toc-list listlevel1">
@@ -234,5 +228,5 @@ Image Diagram
234
228
  </p>
235
229
  </div>
236
230
  </div>
237
- `);
238
- });
231
+ `)
232
+ })
@@ -1 +1 @@
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.dom.d.ts","../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.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.es2020.bigint.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.esnext.intl.d.ts","../../node_modules/typescript/lib/lib.es2019.full.d.ts","../../node_modules/ajv/dist/compile/codegen/code.d.ts","../../node_modules/ajv/dist/compile/codegen/scope.d.ts","../../node_modules/ajv/dist/compile/codegen/index.d.ts","../../node_modules/ajv/dist/compile/rules.d.ts","../../node_modules/ajv/dist/compile/subschema.d.ts","../../node_modules/ajv/dist/compile/context.d.ts","../../node_modules/ajv/dist/compile/validate/dataType.d.ts","../../node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts","../../node_modules/ajv/dist/vocabularies/applicator/contains.d.ts","../../node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts","../../node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts","../../node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts","../../node_modules/ajv/dist/vocabularies/applicator/not.d.ts","../../node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts","../../node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts","../../node_modules/ajv/dist/vocabularies/applicator/if.d.ts","../../node_modules/ajv/dist/vocabularies/applicator/index.d.ts","../../node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts","../../node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts","../../node_modules/ajv/dist/vocabularies/validation/pattern.d.ts","../../node_modules/ajv/dist/vocabularies/validation/required.d.ts","../../node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts","../../node_modules/ajv/dist/vocabularies/validation/const.d.ts","../../node_modules/ajv/dist/vocabularies/validation/enum.d.ts","../../node_modules/ajv/dist/vocabularies/validation/index.d.ts","../../node_modules/ajv/dist/vocabularies/format/format.d.ts","../../node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts","../../node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts","../../node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts","../../node_modules/ajv/dist/vocabularies/errors.d.ts","../../node_modules/ajv/dist/types/json-schema.d.ts","../../node_modules/ajv/dist/types/jtd-schema.d.ts","../../node_modules/ajv/dist/compile/error_classes.d.ts","../../node_modules/ajv/dist/core.d.ts","../../node_modules/uri-js/dist/es5/uri.all.d.ts","../../node_modules/ajv/dist/compile/resolve.d.ts","../../node_modules/ajv/dist/compile/index.d.ts","../../node_modules/ajv/dist/types/index.d.ts","../../node_modules/ajv/dist/ajv.d.ts","../podlite-schema/lib/types.d.ts","../podlite-schema/lib/blocks-helpers.d.ts","../podlite-schema/lib/query-helpers.d.ts","../../node_modules/pod6/built/helpers/config.d.ts","../podlite-schema/lib/ast-helpers.d.ts","../podlite-schema/lib/ast-inerator.d.ts","../podlite-schema/lib/index.d.ts","../../node_modules/pod6/built/helpers/makeTransformer.d.ts","./src/helpers.ts","../../node_modules/@types/react/global.d.ts","../../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","./src/index.tsx","../../node_modules/@babel/types/lib/index.d.ts","../../node_modules/@types/babel__generator/index.d.ts","../../node_modules/@babel/parser/node_modules/@babel/types/lib/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/ms/index.d.ts","../../node_modules/@types/debug/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/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/graceful-fs/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/jest/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../node_modules/@types/jest/node_modules/pretty-format/build/types.d.ts","../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../node_modules/@types/jest/node_modules/jest-diff/build/types.d.ts","../../node_modules/@types/jest/node_modules/jest-diff/build/diffLines.d.ts","../../node_modules/@types/jest/node_modules/jest-diff/build/printDiffs.d.ts","../../node_modules/@types/jest/node_modules/jest-diff/build/index.d.ts","../../node_modules/@types/jest/index.d.ts","../../node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/json5/index.d.ts","../../node_modules/@types/unist/index.d.ts","../../node_modules/@types/mdast/index.d.ts","../../node_modules/@types/minimatch/index.d.ts","../../node_modules/@types/minimist/index.d.ts","../../node_modules/@types/normalize-package-data/index.d.ts","../../node_modules/@types/parse-json/index.d.ts","../../node_modules/@types/prettier/index.d.ts","../../node_modules/@types/react-dom/index.d.ts","../../node_modules/@types/scheduler/index.d.ts","../../node_modules/@types/stack-utils/index.d.ts","../../node_modules/@types/yargs-parser/index.d.ts","../../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"89f78430e422a0f06d13019d60d5a45b37ec2d28e67eb647f73b1b0d19a46b72","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940",{"version":"abba1071bfd89e55e88a054b0c851ea3e8a494c340d0f3fab19eb18f6afb0c9e","affectsGlobalScope":true},{"version":"927cb2b60048e1395b183bf74b2b80a75bdb1dbe384e1d9fac654313ea2fb136","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"4378fc8122ec9d1a685b01eb66c46f62aba6b239ca7228bb6483bcf8259ee493","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","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":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"d071129cba6a5f2700be09c86c07ad2791ab67d4e5ed1eb301d6746c62745ea4","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"1f03b495671c3a1bd24510f38b8947f0991dfd6bf0278c68eca14af15b306e1f","2274b0f0e4f20a1af3309985337bd8a7f45610145db3c37485ea8697c0778eda","60bb0e47502bf8716d1230288b4e6387c1d34cded12752ab5338108e2e662e67","b250a278297e209148e3ee53c5f27b773a351618b0a0c5b8fe0397d2fbd08576","b3ae4ded82f27cabba780b9af9647f6e08c9a4cabe8fbb7a0cca69c7add9ef4b","b57d661f8123e266307b11fbf08ec29363f84f482622f99e42cf3fdf94059255","726416fd6b5f6d16c91fe5f2dee9ac722bceddd8f8e5d0fc9c3399c7c2efd9b1","1a23b521db8d7ec9e2b96c6fbd4c7e96d12f408b1e03661b3b9f7da7291103e6","1c68c3020dfada02f9e9671c7c13fb7adea15118f3acc2d21f02a7b3c632482c","ae0951e44973e928fe2e999b11960493835d094b16adac0b085a79cff181bcb9","9e8575c515e21e1b51ab7eb78cfd763ec857cfd7b4f985a4f394f9ea8c0ac36d","1609ad4d488c356ee91eba7d7aa87cc6fb59bc8ac05c1a8f08665285ba3b71ad","8add088f72326098d68d622ddb024c00ae56a912383efe96b03f0481db88f7c9","dd17fe6332567b8f13e33dd3ff8926553cdcea2ad32d4350ce0063a2addaa764","4091d56a4622480549350b8811ec64c7826cd41a70ce5d9c1cc20384bb144049","353c0125b9e50c2a71e18394d46be5ccb37161cc0f0e7c69216aa6932c8cdafb","9c5d5f167e86b6ddf7142559a17d13fd39c34e868ae947c40381db866eed6609","6539823527c9349664b239204197757434e287e9ef7c2c29afaad10a79f3348a","aae698ceead4edad0695b9ea87e43f274e698bdb302c8cb5fd2cab4dc496ccf0","51631e9a0c041e12479ab01f5801d8a237327d19e9ee37d5f1f66be912631425","c9d5d8adb1455f49182751ce885745dcc5f9697e9c260388bc3ae9d1860d5d10","f64289e3fa8d5719eaf5ba1bb02dd32dbbf7c603dda75c16770a6bc6e9c6b6d9","b1aa0e2e3511a8d10990f35866405c64c9e576258ef99eeb9ebafed980fd7506","2d255a5287f2fb5295688cb25bd18e1cd59866179f795f3f1fd6b71b7f0edf8f","43c1dbb78d5277a5fdd8fddce8b257f84ffa2b4253f58b95c04a310710d19e97","6c669d7e080344c1574aa276a89e57c3b9f0e97fab96a09427e7dfb19ca261bf","b71ac126853867d8e64c910f47d46d05c5ea797987d2604f63d401507dc43b6d","9a37238558d28b7ee06d08599e92eab30b90704541cc85e6448009d6d55fffa9","120b14d66a061910309ff97e7b06b5c6c09444218178b80b687a92af4d22d5dc","3de958065e3a44cbe0bfa667813bc59c63e63c9ce522af8dc1b64714910fa9ba","4dbd5a4e8c71e60af9af1d38d1ac5f6eedef3591afb556ed164f169061706f15","5db5754073f92ef99fef159a3415a733db507af67126b287daa51553cb9107d2","ac162509239b1a48ab6aa39a3fc34dd7d8cde209c59188f699b3ef78964165e0","44fa175d725f678ed47ee3cbaf2fcdf688559e672352ac24c721dd9ceef7d7c1","9556b6427e049169448398e1e59fb393e4de91852abda84dd569d0e7b038e641","9f3c5498245c38c9016a369795ec5ef1768d09db63643c8dba9656e5ab294825","8f35095ce6914b0e95d563adae6f2546dddd8f85c4034d9050530076d860b5b8","893edbff0dcaf7c4ef650c24cfcf87e6ad63d3e0457f7524d5706f8599e7bac3","06f6c325a4cec7589a46fb8c335b4da840b125bf20d514411fead13478b008b9","a3b6fafae3db815903c6ee13b8c77a43a89fba98fabf263a254f015b388cf190","aad69465794f04cbb182a5bf7b235696117236b96f0c8d1031b7842878a9071a","8500f1c50ee5fb526b737dd167c81077ca11d9c50afb15851b50ff81324b8088","b30fdd8d44300d4ace7f2de31e97ed7f310035978a4fd0f92c66631788f29215","578ada4c8488a001c33301a3f4050ce7c567ffe942adaf52925026786046da5a","d20c7a531f1823d0cafc0fd4732125eb49bfbecf68fbfeed1edcf2bb0455f096","16eea98e8cae4cf865f5102513430ed361c16973d431f6c3b77db95ad3493902","bfbd1bc7798f7171950d73a74e497dd045f662d73caab9de34b2a6f35e1e84a9","0b69226aac5cce5a2a9d25f95dea7986caf4d36952cabb6eb8b660219daf9356","d8fdf148e33da856cb03684e11e00fd745204469fc019dd4fdd2d8fd25838f3e",{"version":"ecf78e637f710f340ec08d5d92b3f31b134a46a4fcf2e758690d8c46ce62cba6","affectsGlobalScope":true},"381899b8d1d4c1be716f18cb5242ba39f66f4b1e31d45af62a32a99f8edcb39d","f7b46d22a307739c145e5fddf537818038fdfffd580d79ed717f4d4d37249380","f5a8b384f182b3851cec3596ccc96cb7464f8d3469f48c74bf2befb782a19de5",{"version":"5a1b30146d105f86b15aaf11ff43af00c29972d18bc3b16c8b8f56aa47801733","affectsGlobalScope":true},"3594554f4da3074b600dd91d66d2455e2166144e16f01dc1a93e494cbf788d0f","b668b7fb7c52a05fb9233a27ba5099a73cd8e157b037d67399336635495ab483","b25c5f2970d06c729f464c0aeaa64b1a5b5f1355aa93554bb5f9c199b8624b1e","272c2dac4baaf7fdd2d7efeef0fa2547af54cc21883c5e138b8c4d1661697a54","069733dc220affbe58d9c1d1a93af3707bc515aaed761701d8741b57da4cb964","3051751533eee92572241b3cef28333212401408c4e7aa21718714b793c0f4ed","691aea9772797ca98334eb743e7686e29325b02c6931391bcee4cc7bf27a9f3b","6f1d39d26959517da3bd105c552eded4c34702705c64d75b03f54d864b6e41c2","6a9c5127096b35264eb7cd21b2417bfc1d42cceca9ba4ce2bb0c3410b7816042","78828b06c0d3b586954015e9ebde5480b009e166c71244763bda328ec0920f41","0cba3a5d7b81356222594442753cf90dd2892e5ccfe1d262aaca6896ba6c1380","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"c2ab70bbc7a24c42a790890739dd8a0ba9d2e15038b40dff8163a97a5d148c00","affectsGlobalScope":true},"422dbb183fdced59425ca072c8bd09efaa77ce4e2ab928ec0d8a1ce062d2a45a",{"version":"19fa46aae5c730811087296a9dff1dbb7be3b63170668628c3018b28775d1b4d","affectsGlobalScope":true},"1dab5ab6bcf11de47ab9db295df8c4f1d92ffa750e8f095e88c71ce4c3299628","f71f46ccd5a90566f0a37b25b23bc4684381ab2180bdf6733f4e6624474e1894",{"version":"54e65985a3ee3cec182e6a555e20974ea936fc8b8d1738c14e8ed8a42bd921d4","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","98a3ebfa494b46265634a73459050befba5da8fdc6ca0ef9b7269421780f4ff3","34e5de87d983bc6aefef8b17658556e3157003e8d9555d3cb098c6bef0b5fbc8","cc0b61316c4f37393f1f9595e93b673f4184e9d07f4c127165a490ec4a928668","f27371653aded82b2b160f7a7033fb4a5b1534b6f6081ef7be1468f0f15327d3","c762cd6754b13a461c54b59d0ae0ab7aeef3c292c6cf889873f786ee4d8e75c9","f4ea7d5df644785bd9fbf419930cbaec118f0d8b4160037d2339b8e23c059e79",{"version":"bfea28e6162ed21a0aeed181b623dcf250aa79abf49e24a6b7e012655af36d81","affectsGlobalScope":true},"7a5459efa09ea82088234e6533a203d528c594b01787fb90fba148885a36e8b6","ae97e20f2e10dbeec193d6a2f9cd9a367a1e293e7d6b33b68bacea166afd7792","10d4796a130577d57003a77b95d8723530bbec84718e364aa2129fa8ffba0378","ad41bb744149e92adb06eb953da195115620a3f2ad48e7d3ae04d10762dae197","bf73c576885408d4a176f44a9035d798827cc5020d58284cb18d7573430d9022","7ae078ca42a670445ae0c6a97c029cb83d143d62abd1730efb33f68f0b2c0e82",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"5d0a9ea09d990b5788f867f1c79d4878f86f7384cb7dab38eecbf22f9efd063d","12eea70b5e11e924bb0543aea5eadc16ced318aa26001b453b0d561c2fd0bd1e","08777cd9318d294646b121838574e1dd7acbb22c21a03df84e1f2c87b1ad47f2","08a90bcdc717df3d50a2ce178d966a8c353fd23e5c392fd3594a6e39d9bb6304",{"version":"8207e7e6db9aa5fc7e61c8f17ba74cf9c115d26f51f91ee93f790815a7ea9dfb","affectsGlobalScope":true},"2a12d2da5ac4c4979401a3f6eaafa874747a37c365e4bc18aa2b171ae134d21b","002b837927b53f3714308ecd96f72ee8a053b8aeb28213d8ec6de23ed1608b66","1dc9c847473bb47279e398b22c740c83ea37a5c88bf66629666e3cf4c5b9f99c","a9e4a5a24bf2c44de4c98274975a1a705a0abbaad04df3557c2d3cd8b1727949","00fa7ce8bc8acc560dc341bbfdf37840a8c59e6a67c9bfa3fa5f36254df35db2","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"cfe724f7c694aab65a9bdd1acb05997848c504548c9d4c71645c187a091cfa2a","5f0ed51db151c2cdc4fa3bb0f44ce6066912ad001b607a34e65a96c52eb76248",{"version":"3345c276cab0e76dda86c0fb79104ff915a4580ba0f3e440870e183b1baec476","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","e383ff72aabf294913f8c346f5da1445ae6ad525836d28efd52cbadc01a361a6","f52fbf64c7e480271a9096763c4882d356b05cab05bf56a64e68a95313cd2ce2","59bdb65f28d7ce52ccfc906e9aaf422f8b8534b2d21c32a27d7819be5ad81df7",{"version":"3a2da34079a2567161c1359316a32e712404b56566c45332ac9dcee015ecce9f","affectsGlobalScope":true},"28a2e7383fd898c386ffdcacedf0ec0845e5d1a86b5a43f25b86bc315f556b79","3aff9c8c36192e46a84afe7b926136d520487155154ab9ba982a8b544ea8fc95","a880cf8d85af2e4189c709b0fea613741649c0e40fffb4360ec70762563d5de0","85bbf436a15bbeda4db888be3062d47f99c66fd05d7c50f0f6473a9151b6a070","9f9c49c95ecd25e0cb2587751925976cf64fd184714cb11e213749c80cf0f927","f0c75c08a71f9212c93a719a25fb0320d53f2e50ca89a812640e08f8ad8c408c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"9cafe917bf667f1027b2bb62e2de454ecd2119c80873ad76fc41d941089753b8","3ebae8c00411116a66fca65b08228ea0cf0b72724701f9b854442100aab55aba","de18acda71730bac52f4b256ce7511bb56cc21f6f114c59c46782eff2f632857","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","905c3e8f7ddaa6c391b60c05b2f4c3931d7127ad717a080359db3df510b7bdab","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","462bccdf75fcafc1ae8c30400c9425e1a4681db5d605d1a0edb4f990a54d8094","5923d8facbac6ecf7c84739a5c701a57af94a6f6648d6229a6c768cf28f0f8cb","7adecb2c3238794c378d336a8182d4c3dd2c4fa6fa1785e2797a3db550edea62","dc12dc0e5aa06f4e1a7692149b78f89116af823b9e1f1e4eae140cd3e0e674e6","1bfc6565b90c8771615cd8cfcf9b36efc0275e5e83ac7d9181307e96eb495161","8a8a96898906f065f296665e411f51010b51372fa260d5373bf9f64356703190",{"version":"6ff2ca51e2c9d88d6d904c481879b12ec0cad2a69b88e220859a52207444773b","affectsGlobalScope":true},"0359682c54e487c4cab2b53b2b4d35cc8dea4d9914bc6abcdb5701f8b8e745a4","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","cddf5c26907c0b8378bc05543161c11637b830da9fadf59e02a11e675d11e180","2a2e2c6463bcf3c59f31bc9ab4b6ef963bbf7dffb049cd017e2c1834e3adca63","95c22bc19835e28e2e524a4bb8898eb5f2107b640d7279a6d3aade261916bbf2","e437d83044ba17246a861aa9691aa14223ff4a9d6f338ab1269c41c758586a88","c9ad058b2cc9ce6dc2ed92960d6d009e8c04bef46d3f5312283debca6869f613","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","08b428a44bc98005536a12456518797e9afe2a08e8b5d9785641713a54475881","45a63e17814c570ea59407f231ef9c561510bd6edb36f17479b09b44619496c6","74b0245c42990ed8a849df955db3f4362c81b13f799ebc981b7bec2d5b414a57","c6c4fea9acc55d5e38ff2b70d57ab0b5cdbd08f8bc5d7a226e322cea128c5b57","3bdd93ec24853e61bfa4c63ebaa425ff3e474156e87a47d90122e1d8cc717c1f","5a2a25feca554a8f289ed62114771b8c63d89f2b58325e2f8b7043e4e0160d11"],"options":{"composite":true,"declaration":true,"esModuleInterop":true,"jsx":2,"module":1,"outDir":"./lib","rootDir":"./src","target":6},"fileIdsList":[[150],[100,150],[98,99,101,102,103,150],[98,150],[98,101,150],[105,150],[123,150,157],[150,159],[150,160],[150,164,168],[150,162,165],[150,162,165,166,167],[150,164],[150,163],[150,172],[107,150],[110,150],[111,116,150],[112,122,123,130,139,149,150],[112,113,122,130,150],[114,150],[115,116,123,131,150],[116,139,146,150],[117,119,122,130,150],[118,150],[119,120,150],[121,122,150],[122,150],[122,123,124,139,149,150],[122,123,124,139,150],[125,130,139,149,150],[122,123,125,126,130,139,146,149,150],[125,127,139,146,149,150],[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],[122,128,150],[129,149,150],[119,122,130,139,150],[131,150],[132,150],[110,133,150],[134,148,150,154],[135,150],[136,150],[122,137,150],[137,138,150,152],[122,139,140,141,150],[139,141,150],[139,140,150],[142,150],[143,150],[122,144,145,150],[144,145,150],[116,130,139,146,150],[147,150],[130,148,150],[111,125,136,149,150],[116,150],[139,150,151],[150,152],[150,153],[111,116,122,124,133,139,149,150,152,154],[139,150,155],[96,150],[92,93,94,95,150],[150,182],[46,47,49,73,74,77,80,81,150],[44,45,150],[44,150],[46,47,48,80,81,150],[81,150],[46,47,77,79,81,150],[78,81,82,150],[46,47,80,81,150],[46,47,49,73,74,75,76,80,81,150],[46,47,49,77,80,150],[49,81,150],[51,52,53,54,55,56,57,58,59,81,150],[50,60,68,69,70,71,72,150],[53,81,150],[61,62,63,64,65,66,67,81,150],[86,150],[83,150],[82,83,84,85,87,88,150],[89,90,150],[86,89,90,91,96,150]],"referencedMap":[[100,1],[101,2],[98,1],[104,3],[99,4],[102,5],[103,4],[106,6],[158,7],[159,1],[160,8],[161,9],[169,10],[162,1],[166,11],[168,12],[167,11],[165,13],[164,14],[163,1],[170,1],[171,1],[173,15],[174,1],[175,1],[105,1],[107,16],[108,16],[110,17],[111,18],[112,19],[113,20],[114,21],[115,22],[116,23],[117,24],[118,25],[119,26],[120,26],[121,27],[122,28],[123,29],[124,30],[109,1],[156,1],[125,31],[126,32],[127,33],[157,34],[128,35],[129,36],[130,37],[131,38],[132,39],[133,40],[134,41],[135,42],[136,43],[137,44],[138,45],[139,46],[141,47],[140,48],[142,49],[143,50],[144,51],[145,52],[146,53],[147,54],[148,55],[149,56],[150,57],[151,58],[152,59],[153,60],[154,61],[155,62],[176,1],[177,1],[178,1],[94,1],[179,63],[92,1],[96,64],[180,1],[95,1],[181,1],[172,1],[182,1],[183,65],[82,66],[44,1],[46,67],[45,68],[49,69],[76,70],[80,71],[79,72],[47,70],[48,73],[50,73],[77,74],[81,75],[74,1],[75,1],[51,70],[55,70],[57,70],[52,70],[53,76],[59,70],[60,77],[56,70],[58,70],[54,70],[73,78],[69,70],[71,70],[70,70],[66,70],[72,79],[67,70],[68,80],[61,70],[62,70],[63,70],[64,70],[65,70],[93,1],[86,1],[90,1],[8,1],[9,1],[13,1],[12,1],[2,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[3,1],[4,1],[25,1],[22,1],[23,1],[24,1],[26,1],[27,1],[28,1],[5,1],[29,1],[30,1],[31,1],[32,1],[6,1],[43,1],[33,1],[34,1],[35,1],[36,1],[7,1],[41,1],[37,1],[38,1],[39,1],[40,1],[1,1],[42,1],[11,1],[10,1],[78,1],[87,81],[88,1],[84,82],[89,83],[85,1],[83,1],[91,84],[97,85]],"exportedModulesMap":[[100,1],[101,2],[98,1],[104,3],[99,4],[102,5],[103,4],[106,6],[158,7],[159,1],[160,8],[161,9],[169,10],[162,1],[166,11],[168,12],[167,11],[165,13],[164,14],[163,1],[170,1],[171,1],[173,15],[174,1],[175,1],[105,1],[107,16],[108,16],[110,17],[111,18],[112,19],[113,20],[114,21],[115,22],[116,23],[117,24],[118,25],[119,26],[120,26],[121,27],[122,28],[123,29],[124,30],[109,1],[156,1],[125,31],[126,32],[127,33],[157,34],[128,35],[129,36],[130,37],[131,38],[132,39],[133,40],[134,41],[135,42],[136,43],[137,44],[138,45],[139,46],[141,47],[140,48],[142,49],[143,50],[144,51],[145,52],[146,53],[147,54],[148,55],[149,56],[150,57],[151,58],[152,59],[153,60],[154,61],[155,62],[176,1],[177,1],[178,1],[94,1],[179,63],[92,1],[96,64],[180,1],[95,1],[181,1],[172,1],[182,1],[183,65],[82,66],[44,1],[46,67],[45,68],[49,69],[76,70],[80,71],[79,72],[47,70],[48,73],[50,73],[77,74],[81,75],[74,1],[75,1],[51,70],[55,70],[57,70],[52,70],[53,76],[59,70],[60,77],[56,70],[58,70],[54,70],[73,78],[69,70],[71,70],[70,70],[66,70],[72,79],[67,70],[68,80],[61,70],[62,70],[63,70],[64,70],[65,70],[93,1],[86,1],[90,1],[8,1],[9,1],[13,1],[12,1],[2,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[3,1],[4,1],[25,1],[22,1],[23,1],[24,1],[26,1],[27,1],[28,1],[5,1],[29,1],[30,1],[31,1],[32,1],[6,1],[43,1],[33,1],[34,1],[35,1],[36,1],[7,1],[41,1],[37,1],[38,1],[39,1],[40,1],[1,1],[42,1],[11,1],[10,1],[78,1],[87,81],[88,1],[84,82],[89,83],[85,1],[83,1],[91,84],[97,85]],"semanticDiagnosticsPerFile":[100,101,98,104,99,102,103,106,158,159,160,161,169,162,166,168,167,165,164,163,170,171,173,174,175,105,107,108,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,109,156,125,126,127,157,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,176,177,178,94,179,92,96,180,95,181,172,182,183,82,44,46,45,49,76,80,79,47,48,50,77,81,74,75,51,55,57,52,53,59,60,56,58,54,73,69,71,70,66,72,67,68,61,62,63,64,65,93,86,90,8,9,13,12,2,14,15,16,17,18,19,20,21,3,4,25,22,23,24,26,27,28,5,29,30,31,32,6,43,33,34,35,36,7,41,37,38,39,40,1,42,11,10,78,87,88,84,89,85,83,91,97]},"version":"4.5.5"}
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.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.es2020.bigint.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.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.esnext.intl.d.ts","../../node_modules/ajv/dist/compile/codegen/code.d.ts","../../node_modules/ajv/dist/compile/codegen/scope.d.ts","../../node_modules/ajv/dist/compile/codegen/index.d.ts","../../node_modules/ajv/dist/compile/rules.d.ts","../../node_modules/ajv/dist/compile/subschema.d.ts","../../node_modules/ajv/dist/compile/context.d.ts","../../node_modules/ajv/dist/compile/validate/dataType.d.ts","../../node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts","../../node_modules/ajv/dist/vocabularies/applicator/contains.d.ts","../../node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts","../../node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts","../../node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts","../../node_modules/ajv/dist/vocabularies/applicator/not.d.ts","../../node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts","../../node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts","../../node_modules/ajv/dist/vocabularies/applicator/if.d.ts","../../node_modules/ajv/dist/vocabularies/applicator/index.d.ts","../../node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts","../../node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts","../../node_modules/ajv/dist/vocabularies/validation/pattern.d.ts","../../node_modules/ajv/dist/vocabularies/validation/required.d.ts","../../node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts","../../node_modules/ajv/dist/vocabularies/validation/const.d.ts","../../node_modules/ajv/dist/vocabularies/validation/enum.d.ts","../../node_modules/ajv/dist/vocabularies/validation/index.d.ts","../../node_modules/ajv/dist/vocabularies/format/format.d.ts","../../node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts","../../node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts","../../node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts","../../node_modules/ajv/dist/vocabularies/errors.d.ts","../../node_modules/ajv/dist/types/json-schema.d.ts","../../node_modules/ajv/dist/types/jtd-schema.d.ts","../../node_modules/ajv/dist/compile/error_classes.d.ts","../../node_modules/ajv/dist/core.d.ts","../../node_modules/uri-js/dist/es5/uri.all.d.ts","../../node_modules/ajv/dist/compile/resolve.d.ts","../../node_modules/ajv/dist/compile/index.d.ts","../../node_modules/ajv/dist/types/index.d.ts","../../node_modules/ajv/dist/ajv.d.ts","../podlite-schema/lib/types.d.ts","../podlite-schema/lib/blocks-helpers.d.ts","../podlite-schema/lib/query-helpers.d.ts","../podlite-schema/lib/helpers/config.d.ts","../podlite-schema/lib/ast-helpers.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/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","../podlite-schema/lib/writer.d.ts","../podlite-schema/lib/helpers/makeQuery.d.ts","../podlite-schema/lib/helpers/handlers.d.ts","../podlite-schema/lib/ast-inerator.d.ts","../podlite-schema/lib/helpers/makeTransformer.d.ts","../podlite-schema/lib/exportAny.d.ts","../podlite-schema/lib/plugin-clean-location.d.ts","../podlite-schema/lib/helpers/plugins.d.ts","../podlite-schema/lib/helpers/ids.d.ts","../podlite-schema/lib/pluggableParser.d.ts","../podlite-schema/lib/exportHtml.d.ts","../podlite-schema/lib/index.d.ts","./src/helpers.ts","./src/index.tsx","../../node_modules/@babel/types/lib/index.d.ts","../../node_modules/@types/babel__generator/index.d.ts","../../node_modules/@babel/parser/node_modules/@babel/types/lib/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/ms/index.d.ts","../../node_modules/@types/debug/index.d.ts","../../node_modules/@types/graceful-fs/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/jest/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../node_modules/@types/jest/node_modules/pretty-format/build/types.d.ts","../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../node_modules/@types/jest/node_modules/jest-diff/build/types.d.ts","../../node_modules/@types/jest/node_modules/jest-diff/build/diffLines.d.ts","../../node_modules/@types/jest/node_modules/jest-diff/build/printDiffs.d.ts","../../node_modules/@types/jest/node_modules/jest-diff/build/index.d.ts","../../node_modules/@types/jest/index.d.ts","../../node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/json5/index.d.ts","../../node_modules/@types/unist/index.d.ts","../../node_modules/@types/mdast/index.d.ts","../../node_modules/@types/minimatch/index.d.ts","../../node_modules/@types/minimist/index.d.ts","../../node_modules/@types/normalize-package-data/index.d.ts","../../node_modules/@types/parse-json/index.d.ts","../../node_modules/@types/prettier/index.d.ts","../../node_modules/@types/prop-types/index.d.ts","../../node_modules/@types/react/global.d.ts","../../node_modules/csstype/index.d.ts","../../node_modules/@types/scheduler/tracing.d.ts","../../node_modules/@types/react/index.d.ts","../../node_modules/@types/react-dom/index.d.ts","../../node_modules/@types/scheduler/index.d.ts","../../node_modules/@types/stack-utils/index.d.ts","../../node_modules/@types/yargs-parser/index.d.ts","../../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"89f78430e422a0f06d13019d60d5a45b37ec2d28e67eb647f73b1b0d19a46b72","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","2cc028cd0bdb35b1b5eb723d84666a255933fffbea607f72cbd0c7c7b4bee144",{"version":"abba1071bfd89e55e88a054b0c851ea3e8a494c340d0f3fab19eb18f6afb0c9e","affectsGlobalScope":true},{"version":"927cb2b60048e1395b183bf74b2b80a75bdb1dbe384e1d9fac654313ea2fb136","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"4378fc8122ec9d1a685b01eb66c46f62aba6b239ca7228bb6483bcf8259ee493","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","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":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"d071129cba6a5f2700be09c86c07ad2791ab67d4e5ed1eb301d6746c62745ea4","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"e8c9f4e445a489991ca1a4232667de3ac36b07ba75ea335971fbeacf2d26fe67","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"2274b0f0e4f20a1af3309985337bd8a7f45610145db3c37485ea8697c0778eda","60bb0e47502bf8716d1230288b4e6387c1d34cded12752ab5338108e2e662e67","b250a278297e209148e3ee53c5f27b773a351618b0a0c5b8fe0397d2fbd08576","b3ae4ded82f27cabba780b9af9647f6e08c9a4cabe8fbb7a0cca69c7add9ef4b","b57d661f8123e266307b11fbf08ec29363f84f482622f99e42cf3fdf94059255","726416fd6b5f6d16c91fe5f2dee9ac722bceddd8f8e5d0fc9c3399c7c2efd9b1","1a23b521db8d7ec9e2b96c6fbd4c7e96d12f408b1e03661b3b9f7da7291103e6","1c68c3020dfada02f9e9671c7c13fb7adea15118f3acc2d21f02a7b3c632482c","ae0951e44973e928fe2e999b11960493835d094b16adac0b085a79cff181bcb9","9e8575c515e21e1b51ab7eb78cfd763ec857cfd7b4f985a4f394f9ea8c0ac36d","1609ad4d488c356ee91eba7d7aa87cc6fb59bc8ac05c1a8f08665285ba3b71ad","8add088f72326098d68d622ddb024c00ae56a912383efe96b03f0481db88f7c9","dd17fe6332567b8f13e33dd3ff8926553cdcea2ad32d4350ce0063a2addaa764","4091d56a4622480549350b8811ec64c7826cd41a70ce5d9c1cc20384bb144049","353c0125b9e50c2a71e18394d46be5ccb37161cc0f0e7c69216aa6932c8cdafb","9c5d5f167e86b6ddf7142559a17d13fd39c34e868ae947c40381db866eed6609","6539823527c9349664b239204197757434e287e9ef7c2c29afaad10a79f3348a","aae698ceead4edad0695b9ea87e43f274e698bdb302c8cb5fd2cab4dc496ccf0","51631e9a0c041e12479ab01f5801d8a237327d19e9ee37d5f1f66be912631425","c9d5d8adb1455f49182751ce885745dcc5f9697e9c260388bc3ae9d1860d5d10","f64289e3fa8d5719eaf5ba1bb02dd32dbbf7c603dda75c16770a6bc6e9c6b6d9","b1aa0e2e3511a8d10990f35866405c64c9e576258ef99eeb9ebafed980fd7506","2d255a5287f2fb5295688cb25bd18e1cd59866179f795f3f1fd6b71b7f0edf8f","43c1dbb78d5277a5fdd8fddce8b257f84ffa2b4253f58b95c04a310710d19e97","6c669d7e080344c1574aa276a89e57c3b9f0e97fab96a09427e7dfb19ca261bf","b71ac126853867d8e64c910f47d46d05c5ea797987d2604f63d401507dc43b6d","9a37238558d28b7ee06d08599e92eab30b90704541cc85e6448009d6d55fffa9","120b14d66a061910309ff97e7b06b5c6c09444218178b80b687a92af4d22d5dc","3de958065e3a44cbe0bfa667813bc59c63e63c9ce522af8dc1b64714910fa9ba","4dbd5a4e8c71e60af9af1d38d1ac5f6eedef3591afb556ed164f169061706f15","5db5754073f92ef99fef159a3415a733db507af67126b287daa51553cb9107d2","ac162509239b1a48ab6aa39a3fc34dd7d8cde209c59188f699b3ef78964165e0","44fa175d725f678ed47ee3cbaf2fcdf688559e672352ac24c721dd9ceef7d7c1","9556b6427e049169448398e1e59fb393e4de91852abda84dd569d0e7b038e641","9f3c5498245c38c9016a369795ec5ef1768d09db63643c8dba9656e5ab294825","8f35095ce6914b0e95d563adae6f2546dddd8f85c4034d9050530076d860b5b8","893edbff0dcaf7c4ef650c24cfcf87e6ad63d3e0457f7524d5706f8599e7bac3","06f6c325a4cec7589a46fb8c335b4da840b125bf20d514411fead13478b008b9","a3b6fafae3db815903c6ee13b8c77a43a89fba98fabf263a254f015b388cf190","9b689183acbd47d9e35c4a348ecd0dfc9ab65dc66fe8522f415477b132ab9575","170dc96be6d2fcfecf7348404d6adf230fbaa74a60c9b65918c518a1fb0f14e4","8db4789c08e463840af20c7f5440a3945987cdf14820b60fff63e03a75bd0c90","7d172510abda2eb827b492615c40cde28e1a899c5241dd0c3cc25cdcc636aef3","859f7f021bb081aa1da8a57ed935f65555340e5cb4f3d67b53bdade24ad9503e","0cba3a5d7b81356222594442753cf90dd2892e5ccfe1d262aaca6896ba6c1380","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"c2ab70bbc7a24c42a790890739dd8a0ba9d2e15038b40dff8163a97a5d148c00","affectsGlobalScope":true},"422dbb183fdced59425ca072c8bd09efaa77ce4e2ab928ec0d8a1ce062d2a45a",{"version":"19fa46aae5c730811087296a9dff1dbb7be3b63170668628c3018b28775d1b4d","affectsGlobalScope":true},"1dab5ab6bcf11de47ab9db295df8c4f1d92ffa750e8f095e88c71ce4c3299628","f71f46ccd5a90566f0a37b25b23bc4684381ab2180bdf6733f4e6624474e1894",{"version":"54e65985a3ee3cec182e6a555e20974ea936fc8b8d1738c14e8ed8a42bd921d4","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","98a3ebfa494b46265634a73459050befba5da8fdc6ca0ef9b7269421780f4ff3","34e5de87d983bc6aefef8b17658556e3157003e8d9555d3cb098c6bef0b5fbc8","cc0b61316c4f37393f1f9595e93b673f4184e9d07f4c127165a490ec4a928668","f27371653aded82b2b160f7a7033fb4a5b1534b6f6081ef7be1468f0f15327d3","c762cd6754b13a461c54b59d0ae0ab7aeef3c292c6cf889873f786ee4d8e75c9","f4ea7d5df644785bd9fbf419930cbaec118f0d8b4160037d2339b8e23c059e79",{"version":"bfea28e6162ed21a0aeed181b623dcf250aa79abf49e24a6b7e012655af36d81","affectsGlobalScope":true},"7a5459efa09ea82088234e6533a203d528c594b01787fb90fba148885a36e8b6","ae97e20f2e10dbeec193d6a2f9cd9a367a1e293e7d6b33b68bacea166afd7792","10d4796a130577d57003a77b95d8723530bbec84718e364aa2129fa8ffba0378","ad41bb744149e92adb06eb953da195115620a3f2ad48e7d3ae04d10762dae197","bf73c576885408d4a176f44a9035d798827cc5020d58284cb18d7573430d9022","7ae078ca42a670445ae0c6a97c029cb83d143d62abd1730efb33f68f0b2c0e82",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"5d0a9ea09d990b5788f867f1c79d4878f86f7384cb7dab38eecbf22f9efd063d","12eea70b5e11e924bb0543aea5eadc16ced318aa26001b453b0d561c2fd0bd1e","08777cd9318d294646b121838574e1dd7acbb22c21a03df84e1f2c87b1ad47f2","08a90bcdc717df3d50a2ce178d966a8c353fd23e5c392fd3594a6e39d9bb6304",{"version":"8207e7e6db9aa5fc7e61c8f17ba74cf9c115d26f51f91ee93f790815a7ea9dfb","affectsGlobalScope":true},"2a12d2da5ac4c4979401a3f6eaafa874747a37c365e4bc18aa2b171ae134d21b","002b837927b53f3714308ecd96f72ee8a053b8aeb28213d8ec6de23ed1608b66","1dc9c847473bb47279e398b22c740c83ea37a5c88bf66629666e3cf4c5b9f99c","a9e4a5a24bf2c44de4c98274975a1a705a0abbaad04df3557c2d3cd8b1727949","00fa7ce8bc8acc560dc341bbfdf37840a8c59e6a67c9bfa3fa5f36254df35db2","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"cfe724f7c694aab65a9bdd1acb05997848c504548c9d4c71645c187a091cfa2a","5f0ed51db151c2cdc4fa3bb0f44ce6066912ad001b607a34e65a96c52eb76248",{"version":"3345c276cab0e76dda86c0fb79104ff915a4580ba0f3e440870e183b1baec476","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","e383ff72aabf294913f8c346f5da1445ae6ad525836d28efd52cbadc01a361a6","f52fbf64c7e480271a9096763c4882d356b05cab05bf56a64e68a95313cd2ce2","59bdb65f28d7ce52ccfc906e9aaf422f8b8534b2d21c32a27d7819be5ad81df7",{"version":"3a2da34079a2567161c1359316a32e712404b56566c45332ac9dcee015ecce9f","affectsGlobalScope":true},"28a2e7383fd898c386ffdcacedf0ec0845e5d1a86b5a43f25b86bc315f556b79","3aff9c8c36192e46a84afe7b926136d520487155154ab9ba982a8b544ea8fc95","a880cf8d85af2e4189c709b0fea613741649c0e40fffb4360ec70762563d5de0","85bbf436a15bbeda4db888be3062d47f99c66fd05d7c50f0f6473a9151b6a070","9f9c49c95ecd25e0cb2587751925976cf64fd184714cb11e213749c80cf0f927","f0c75c08a71f9212c93a719a25fb0320d53f2e50ca89a812640e08f8ad8c408c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"9cafe917bf667f1027b2bb62e2de454ecd2119c80873ad76fc41d941089753b8","6f310052978d351ebf9033e90bf009e718522c7cb7c148cc9cb9413a73657250","142f7ea2d6affb8c5f4c14723ad122124f1fd1a29aa6ef9b5c46daf6cda719ce","dd6fc277379bfe5da22e38dae767e07da2abad6faf9fc1e0fa6e927b99a91bba","d624acaa27aac918d6264edc0d53ec1261a2d53214dd85f6cfd3b43db815b4b8","12e3c9f17fa31bcbdb082f5fe8a85ab102748c6b21d2b18ea51440d6bb6736e6","4dd326a132f4f5925c45895f192fa3d313fe46e6e6d42b2aca7cf83fd76efd88","fe1089035b474a7af21cdcc063bd625ffba806ef64634b02e682c9fc9cba0f14","6747ec8ef994e5047516c03ba0ee1cf0dbebf53843638207d3e73f10864d892b","0d9697ac268816705b887507a283a763e950b7ac29ae8f437fe583e9da18be62","86d5507f162b09b1088aafd9866d1e35661b475b45a01a9a81e5745a994a6d7b","05455184c5dd8d248ae921fc1bf1aa48a8960622112f93fd7decb45c5fc4ec63","3bbbc76268462d388d3cc02a3f58354bc5ea93d179344825142b649b8febd134","0693aea96c877f6519c56e8128f210a79b9b43511cd6713a909b64c30ee755bd","0566ea88be784eb54c2872b9a33e64d71c395dd1084b602c8f4e5eb7087264da","b668b7fb7c52a05fb9233a27ba5099a73cd8e157b037d67399336635495ab483","b25c5f2970d06c729f464c0aeaa64b1a5b5f1355aa93554bb5f9c199b8624b1e","272c2dac4baaf7fdd2d7efeef0fa2547af54cc21883c5e138b8c4d1661697a54","069733dc220affbe58d9c1d1a93af3707bc515aaed761701d8741b57da4cb964","3051751533eee92572241b3cef28333212401408c4e7aa21718714b793c0f4ed","691aea9772797ca98334eb743e7686e29325b02c6931391bcee4cc7bf27a9f3b","6f1d39d26959517da3bd105c552eded4c34702705c64d75b03f54d864b6e41c2","6a9c5127096b35264eb7cd21b2417bfc1d42cceca9ba4ce2bb0c3410b7816042","78828b06c0d3b586954015e9ebde5480b009e166c71244763bda328ec0920f41","3ebae8c00411116a66fca65b08228ea0cf0b72724701f9b854442100aab55aba","de18acda71730bac52f4b256ce7511bb56cc21f6f114c59c46782eff2f632857","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","905c3e8f7ddaa6c391b60c05b2f4c3931d7127ad717a080359db3df510b7bdab","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","462bccdf75fcafc1ae8c30400c9425e1a4681db5d605d1a0edb4f990a54d8094","5923d8facbac6ecf7c84739a5c701a57af94a6f6648d6229a6c768cf28f0f8cb","7adecb2c3238794c378d336a8182d4c3dd2c4fa6fa1785e2797a3db550edea62","dc12dc0e5aa06f4e1a7692149b78f89116af823b9e1f1e4eae140cd3e0e674e6","1bfc6565b90c8771615cd8cfcf9b36efc0275e5e83ac7d9181307e96eb495161","8a8a96898906f065f296665e411f51010b51372fa260d5373bf9f64356703190",{"version":"6ff2ca51e2c9d88d6d904c481879b12ec0cad2a69b88e220859a52207444773b","affectsGlobalScope":true},"0359682c54e487c4cab2b53b2b4d35cc8dea4d9914bc6abcdb5701f8b8e745a4","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","cddf5c26907c0b8378bc05543161c11637b830da9fadf59e02a11e675d11e180","2a2e2c6463bcf3c59f31bc9ab4b6ef963bbf7dffb049cd017e2c1834e3adca63","95c22bc19835e28e2e524a4bb8898eb5f2107b640d7279a6d3aade261916bbf2","e437d83044ba17246a861aa9691aa14223ff4a9d6f338ab1269c41c758586a88","c9ad058b2cc9ce6dc2ed92960d6d009e8c04bef46d3f5312283debca6869f613","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","08b428a44bc98005536a12456518797e9afe2a08e8b5d9785641713a54475881","f7b46d22a307739c145e5fddf537818038fdfffd580d79ed717f4d4d37249380",{"version":"3b75495c77f85fef76a898491b2eff2e4eb80a37d798a8ad8b39a578c2303859","affectsGlobalScope":true},"381899b8d1d4c1be716f18cb5242ba39f66f4b1e31d45af62a32a99f8edcb39d","f5a8b384f182b3851cec3596ccc96cb7464f8d3469f48c74bf2befb782a19de5",{"version":"7e6f46ed7dbebb2b1a5bdfac5a41582dfd266217a30387d9cbdeb2af84a39c52","affectsGlobalScope":true},"8a02143a323c05741ec49533d54c4928dbf6618d297d855f12114304c3b69846","74b0245c42990ed8a849df955db3f4362c81b13f799ebc981b7bec2d5b414a57","c6c4fea9acc55d5e38ff2b70d57ab0b5cdbd08f8bc5d7a226e322cea128c5b57","3bdd93ec24853e61bfa4c63ebaa425ff3e474156e87a47d90122e1d8cc717c1f","5a2a25feca554a8f289ed62114771b8c63d89f2b58325e2f8b7043e4e0160d11"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"esModuleInterop":true,"jsx":2,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"target":99},"fileIdsList":[[134],[134,158],[134,156,157,159,160,161],[134,156],[134,156,159],[134,163],[107,134,141],[134,166],[134,167],[134,171,175],[134,169,172],[134,169,172,173,174],[134,171],[134,170],[134,179],[91,134],[94,134],[95,100,134],[96,106,107,114,123,133,134],[96,97,106,114,134],[98,134],[99,100,107,115,134],[100,123,130,134],[101,103,106,114,134],[102,134],[103,104,134],[105,106,134],[106,134],[106,107,108,123,133,134],[106,107,108,123,134],[109,114,123,133,134],[106,107,109,110,114,123,130,133,134],[109,111,123,130,133,134],[91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,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],[106,112,134],[113,133,134],[103,106,114,123,134],[115,134],[116,134],[94,117,134],[118,132,134,138],[119,134],[120,134],[106,121,134],[121,122,134,136],[106,123,124,125,134],[123,125,134],[123,124,134],[126,134],[127,134],[106,128,129,134],[128,129,134],[100,114,123,130,134],[131,134],[114,132,134],[95,109,120,133,134],[100,134],[123,134,135],[134,136],[134,137],[95,100,106,108,117,123,133,134,136,138],[123,134,139],[134,190],[134,186,187,188,189],[134,194],[49,50,52,76,77,80,83,84,134],[47,48,134],[47,134],[49,50,51,83,84,134],[84,134],[49,50,80,82,84,134],[81,84,85,134],[49,50,83,84,134],[49,50,52,76,77,78,79,83,84,134],[49,50,52,80,83,134],[52,84,134],[54,55,56,57,58,59,60,61,62,84,134],[53,63,71,72,73,74,75,134],[56,84,134],[64,65,66,67,68,69,70,84,134],[89,134],[86,134],[134,143],[134,153],[134,142],[85,86,87,88,89,90,134,142,144,145,146,147,148,149,151,152],[134,150,153],[106,134,141],[134,153,154]],"referencedMap":[[158,1],[159,2],[156,1],[162,3],[157,4],[160,5],[161,4],[164,6],[165,7],[166,1],[167,8],[168,9],[176,10],[169,1],[173,11],[175,12],[174,11],[172,13],[171,14],[170,1],[177,1],[178,1],[180,15],[181,1],[182,1],[163,1],[91,16],[92,16],[94,17],[95,18],[96,19],[97,20],[98,21],[99,22],[100,23],[101,24],[102,25],[103,26],[104,26],[105,27],[106,28],[107,29],[108,30],[93,1],[140,1],[109,31],[110,32],[111,33],[141,34],[112,35],[113,36],[114,37],[115,38],[116,39],[117,40],[118,41],[119,42],[120,43],[121,44],[122,45],[123,46],[125,47],[124,48],[126,49],[127,50],[128,51],[129,52],[130,53],[131,54],[132,55],[133,56],[134,57],[135,58],[136,59],[137,60],[138,61],[139,62],[183,1],[184,1],[185,1],[186,1],[191,63],[187,1],[190,64],[192,1],[189,1],[193,1],[179,1],[194,1],[195,65],[85,66],[47,1],[49,67],[48,68],[52,69],[79,70],[83,71],[82,72],[50,70],[51,73],[53,73],[80,74],[84,75],[77,1],[78,1],[54,70],[58,70],[60,70],[55,70],[56,76],[62,70],[63,77],[59,70],[61,70],[57,70],[76,78],[72,70],[74,70],[73,70],[69,70],[75,79],[70,70],[71,80],[64,70],[65,70],[66,70],[67,70],[68,70],[188,1],[10,1],[11,1],[13,1],[12,1],[2,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[3,1],[4,1],[25,1],[22,1],[23,1],[24,1],[26,1],[27,1],[28,1],[5,1],[29,1],[30,1],[31,1],[32,1],[6,1],[33,1],[34,1],[35,1],[36,1],[7,1],[41,1],[37,1],[38,1],[39,1],[40,1],[8,1],[45,1],[42,1],[43,1],[44,1],[1,1],[9,1],[46,1],[81,1],[90,81],[145,1],[87,82],[147,1],[152,1],[89,1],[144,83],[150,84],[143,85],[146,1],[149,84],[153,86],[151,87],[148,1],[88,82],[86,1],[142,88],[154,84],[155,89]],"exportedModulesMap":[[158,1],[159,2],[156,1],[162,3],[157,4],[160,5],[161,4],[164,6],[165,7],[166,1],[167,8],[168,9],[176,10],[169,1],[173,11],[175,12],[174,11],[172,13],[171,14],[170,1],[177,1],[178,1],[180,15],[181,1],[182,1],[163,1],[91,16],[92,16],[94,17],[95,18],[96,19],[97,20],[98,21],[99,22],[100,23],[101,24],[102,25],[103,26],[104,26],[105,27],[106,28],[107,29],[108,30],[93,1],[140,1],[109,31],[110,32],[111,33],[141,34],[112,35],[113,36],[114,37],[115,38],[116,39],[117,40],[118,41],[119,42],[120,43],[121,44],[122,45],[123,46],[125,47],[124,48],[126,49],[127,50],[128,51],[129,52],[130,53],[131,54],[132,55],[133,56],[134,57],[135,58],[136,59],[137,60],[138,61],[139,62],[183,1],[184,1],[185,1],[186,1],[191,63],[187,1],[190,64],[192,1],[189,1],[193,1],[179,1],[194,1],[195,65],[85,66],[47,1],[49,67],[48,68],[52,69],[79,70],[83,71],[82,72],[50,70],[51,73],[53,73],[80,74],[84,75],[77,1],[78,1],[54,70],[58,70],[60,70],[55,70],[56,76],[62,70],[63,77],[59,70],[61,70],[57,70],[76,78],[72,70],[74,70],[73,70],[69,70],[75,79],[70,70],[71,80],[64,70],[65,70],[66,70],[67,70],[68,70],[188,1],[10,1],[11,1],[13,1],[12,1],[2,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[3,1],[4,1],[25,1],[22,1],[23,1],[24,1],[26,1],[27,1],[28,1],[5,1],[29,1],[30,1],[31,1],[32,1],[6,1],[33,1],[34,1],[35,1],[36,1],[7,1],[41,1],[37,1],[38,1],[39,1],[40,1],[8,1],[45,1],[42,1],[43,1],[44,1],[1,1],[9,1],[46,1],[81,1],[90,81],[145,1],[87,82],[147,1],[152,1],[89,1],[144,83],[150,84],[143,85],[146,1],[149,84],[153,86],[151,87],[148,1],[88,82],[86,1],[142,88],[154,84],[155,89]],"semanticDiagnosticsPerFile":[158,159,156,162,157,160,161,164,165,166,167,168,176,169,173,175,174,172,171,170,177,178,180,181,182,163,91,92,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,93,140,109,110,111,141,112,113,114,115,116,117,118,119,120,121,122,123,125,124,126,127,128,129,130,131,132,133,134,135,136,137,138,139,183,184,185,186,191,187,190,192,189,193,179,194,195,85,47,49,48,52,79,83,82,50,51,53,80,84,77,78,54,58,60,55,56,62,63,59,61,57,76,72,74,73,69,75,70,71,64,65,66,67,68,188,10,11,13,12,2,14,15,16,17,18,19,20,21,3,4,25,22,23,24,26,27,28,5,29,30,31,32,6,33,34,35,36,7,41,37,38,39,40,8,45,42,43,44,1,9,46,81,90,145,87,147,152,89,144,150,143,146,149,153,151,148,88,86,142,154,155]},"version":"4.5.5"}