From 9769cd37aa5acb3797d9f19e15e5339d63dcb32f Mon Sep 17 00:00:00 2001 From: kokarn Date: Fri, 9 Jul 2021 13:16:15 +0200 Subject: [PATCH] First test --- package-lock.json | 1329 ++++++++++++--------------------------- package.json | 4 +- src/App.js | 2 +- src/pages/ammo/index.js | 232 +++++++ 4 files changed, 644 insertions(+), 923 deletions(-) create mode 100644 src/pages/ammo/index.js diff --git a/package-lock.json b/package-lock.json index 97d30cf5..7f160a15 100644 --- a/package-lock.json +++ b/package-lock.json @@ -36,10 +36,10 @@ "react-switch": "^6.0.0", "react-table": "^7.6.2", "react-zoom-pan-pinch": "^2.0.2", + "recharts": "^2.0.9", "redux-thunk": "^2.3.0", "resize-observer-polyfill": "^1.5.1", - "source-map-explorer": "^2.5.2", - "victory": "^35.3.1" + "source-map-explorer": "^2.5.2" }, "devDependencies": { "image-size": "^1.0.0" @@ -3637,6 +3637,32 @@ "@types/responselike": "*" } }, + "node_modules/@types/d3-path": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@types/d3-path/-/d3-path-2.0.1.tgz", + "integrity": "sha512-6K8LaFlztlhZO7mwsZg7ClRsdLg3FJRzIIi6SZXDWmmSJc2x8dd2VkESbLXdk3p8cuvz71f36S0y8Zv2AxqvQw==" + }, + "node_modules/@types/d3-scale": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/@types/d3-scale/-/d3-scale-3.3.2.tgz", + "integrity": "sha512-gGqr7x1ost9px3FvIfUMi5XA/F/yAf4UkUDtdQhpH92XCT0Oa7zkkRzY61gPVJq+DxpHn/btouw5ohWkbBsCzQ==", + "dependencies": { + "@types/d3-time": "^2" + } + }, + "node_modules/@types/d3-shape": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@types/d3-shape/-/d3-shape-2.1.3.tgz", + "integrity": "sha512-HAhCel3wP93kh4/rq+7atLdybcESZ5bRHDEZUojClyZWsRuEMo3A52NGYJSh48SxfxEU6RZIVbZL2YFZ2OAlzQ==", + "dependencies": { + "@types/d3-path": "^2" + } + }, + "node_modules/@types/d3-time": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@types/d3-time/-/d3-time-2.1.1.tgz", + "integrity": "sha512-9MVYlmIgmRR31C5b4FVSWtuMmBHh2mOWQYfl7XAYOa8dsnb7iEmUmRSWSFgXFtkjxO65d7hTUHQC+RhR/9IWFg==" + }, "node_modules/@types/eslint": { "version": "7.2.14", "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-7.2.14.tgz", @@ -3786,6 +3812,11 @@ "redux": "^4.0.0" } }, + "node_modules/@types/resize-observer-browser": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/@types/resize-observer-browser/-/resize-observer-browser-0.1.6.tgz", + "integrity": "sha512-61IfTac0s9jvNtBCpyo86QeaN8qqpMGHdK0uGKCCIy2dt5/Yk84VduHIdWAcmkC5QvdkPL0p5eWYgUZtHKKUVg==" + }, "node_modules/@types/resolve": { "version": "0.0.8", "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-0.0.8.tgz", @@ -6736,6 +6767,11 @@ "node": ">=0.10.0" } }, + "node_modules/css-unit-converter": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/css-unit-converter/-/css-unit-converter-1.1.2.tgz", + "integrity": "sha512-IiJwMC8rdZE0+xiEZHeru6YoONC4rfPMqGm2W85jMIbkFvv5nFTwJVFHam2eFrN6txmoUYFAFXiv8ICVeTO0MA==" + }, "node_modules/css-what": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/css-what/-/css-what-5.0.1.tgz", @@ -6987,66 +7023,21 @@ "type": "^1.0.1" } }, - "node_modules/d3-array": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-1.2.4.tgz", - "integrity": "sha512-KHW6M86R+FUPYGb3R5XiYjXPq7VzwxZ22buHhAEVG5ztoEcZZMLov530mmccaqA1GghZArjQV46fuc8kUqhhHw==" - }, - "node_modules/d3-collection": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/d3-collection/-/d3-collection-1.0.7.tgz", - "integrity": "sha512-ii0/r5f4sjKNTfh84Di+DpztYwqKhEyUlKoPrzUFfeSkWxjW49xU2QzO9qrPrNkpdI0XJkfzvmTu8V2Zylln6A==" - }, "node_modules/d3-color": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-1.4.1.tgz", "integrity": "sha512-p2sTHSLCJI2QKunbGb7ocOh7DgTAn8IrLx21QRc/BSnodXM4sv6aLQlnfpvehFMLZEfBc6g9pH9SWQccFYfJ9Q==" }, - "node_modules/d3-ease": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/d3-ease/-/d3-ease-1.0.7.tgz", - "integrity": "sha512-lx14ZPYkhNx0s/2HX5sLFUI3mbasHjSSpwO/KaaNACweVwxUruKyWVcb293wMv1RqTPZyZ8kSZ2NogUZNcLOFQ==" - }, "node_modules/d3-format": { "version": "1.4.5", "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-1.4.5.tgz", "integrity": "sha512-J0piedu6Z8iB6TbIGfZgDzfXxUFN3qQRMofy2oPdXzQibYGqPB/9iMcxr/TGalU+2RsyDO+U4f33id8tbnSRMQ==" }, - "node_modules/d3-interpolate": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-1.4.0.tgz", - "integrity": "sha512-V9znK0zc3jOPV4VD2zZn0sDhZU3WAE2bmlxdIwwQPPzPjvyLkd8B3JUVdS1IDUFDkWZ72c9qnv1GK2ZagTZ8EA==", - "dependencies": { - "d3-color": "1" - } - }, "node_modules/d3-path": { "version": "1.0.9", "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-1.0.9.tgz", "integrity": "sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg==" }, - "node_modules/d3-scale": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-1.0.7.tgz", - "integrity": "sha512-KvU92czp2/qse5tUfGms6Kjig0AhHOwkzXG0+PqIJB3ke0WUv088AHMZI0OssO9NCkXt4RP8yju9rpH8aGB7Lw==", - "dependencies": { - "d3-array": "^1.2.0", - "d3-collection": "1", - "d3-color": "1", - "d3-format": "1", - "d3-interpolate": "1", - "d3-time": "1", - "d3-time-format": "2" - } - }, - "node_modules/d3-shape": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-1.3.7.tgz", - "integrity": "sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw==", - "dependencies": { - "d3-path": "1" - } - }, "node_modules/d3-time": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-1.1.0.tgz", @@ -7060,16 +7051,6 @@ "d3-time": "1" } }, - "node_modules/d3-timer": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-1.0.10.tgz", - "integrity": "sha512-B1JDm0XDaQC+uvo4DT79H0XmBskgS3l6Ve+1SBCfxgmtIb1AVrPIoqd+nPSv+loMX8szQ0sVUhGngL7D5QPiXw==" - }, - "node_modules/d3-voronoi": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/d3-voronoi/-/d3-voronoi-1.1.4.tgz", - "integrity": "sha512-dArJ32hchFsrQ8uMiTBLq256MpnZjeuBtdHpaDlYuQyjU0CVzCJl/BVW+SkszaAeH95D/8gxqAhgx0ouAWAfRg==" - }, "node_modules/damerau-levenshtein": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.7.tgz", @@ -7122,6 +7103,11 @@ "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.3.1.tgz", "integrity": "sha512-V0pfhfr8suzyPGOx3nmq4aHqabehUZn6Ch9kyFpV79TGDTWFmHqUqXdabR7QHqxzrYolF4+tVmJhUG4OURg5dQ==" }, + "node_modules/decimal.js-light": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/decimal.js-light/-/decimal.js-light-2.5.1.tgz", + "integrity": "sha512-qIMFpTMZmny+MMIitAB6D7iVPEorVw6YQRWkvarTkT4tBeSLLiHzcwj6q0MmYSFCiVpiqPJTJEYIrpcPzVEIvg==" + }, "node_modules/decode-uri-component": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", @@ -7410,19 +7396,6 @@ "rimraf": "bin.js" } }, - "node_modules/delaunator": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/delaunator/-/delaunator-4.0.1.tgz", - "integrity": "sha512-WNPWi1IRKZfCt/qIDMfERkDp93+iZEmOxN2yy4Jg+Xhv8SLk2UTqqbe1sfiipn0and9QrE914/ihdx82Y/Giag==" - }, - "node_modules/delaunay-find": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/delaunay-find/-/delaunay-find-0.0.6.tgz", - "integrity": "sha512-1+almjfrnR7ZamBk0q3Nhg6lqSe6Le4vL0WJDSMx4IDbQwTpUTXPjxC00lqLBT8MYsJpPCbI16sIkw9cPsbi7Q==", - "dependencies": { - "delaunator": "^4.0.0" - } - }, "node_modules/delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", @@ -9238,6 +9211,11 @@ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" }, + "node_modules/fast-equals": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/fast-equals/-/fast-equals-2.0.3.tgz", + "integrity": "sha512-0EMw4TTUxsMDpDkCg0rXor2gsg+npVrMIHbEhvD0HZyIhUX6AktC/yasm+qKwfyswd06Qy95ZKk8p2crTo0iPA==" + }, "node_modules/fast-glob": { "version": "3.2.6", "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.6.tgz", @@ -10837,6 +10815,11 @@ "node": ">= 0.4" } }, + "node_modules/internmap": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/internmap/-/internmap-1.0.1.tgz", + "integrity": "sha512-lDB5YccMydFBtasVtxnZ3MRBHuaoE8GKsppq+EchKL2U4nK/DmEpPHNH8MZe5HkMtpSiTSOZwfN0tzYjO/lJEw==" + }, "node_modules/ip": { "version": "1.1.5", "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz", @@ -13439,11 +13422,6 @@ "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=" }, - "node_modules/json-stringify-safe": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" - }, "node_modules/json3": { "version": "3.3.3", "resolved": "https://registry.npmjs.org/json3/-/json3-3.3.3.tgz", @@ -13691,6 +13669,11 @@ "lodash._reinterpolate": "^3.0.0" } }, + "node_modules/lodash.throttle": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.throttle/-/lodash.throttle-4.1.1.tgz", + "integrity": "sha1-wj6RtxAkKscMN/HhzaknTMOb8vQ=" + }, "node_modules/lodash.truncate": { "version": "4.4.2", "resolved": "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz", @@ -17248,6 +17231,11 @@ "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" }, + "node_modules/react-lifecycles-compat": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz", + "integrity": "sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==" + }, "node_modules/react-loader-spinner": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/react-loader-spinner/-/react-loader-spinner-4.0.0.tgz", @@ -17292,6 +17280,21 @@ "node": ">=0.10.0" } }, + "node_modules/react-resize-detector": { + "version": "6.7.4", + "resolved": "https://registry.npmjs.org/react-resize-detector/-/react-resize-detector-6.7.4.tgz", + "integrity": "sha512-wzvGmUdEDMhiUHVZGnl4kuyj/TEQhvbB5LyAGkbYXetwJ2O+u/zftmPvU+kxiO1h+d9aUqQBKcNLS7TvB3ytqA==", + "dependencies": { + "@types/resize-observer-browser": "^0.1.5", + "lodash.debounce": "^4.0.8", + "lodash.throttle": "^4.1.1", + "resize-observer-polyfill": "^1.5.1" + }, + "peerDependencies": { + "react": "^16.0.0 || ^17.0.0", + "react-dom": "^16.0.0 || ^17.0.0" + } + }, "node_modules/react-router": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/react-router/-/react-router-5.2.0.tgz", @@ -17502,6 +17505,44 @@ "react": "^16.3.0 || ^17.0.0" } }, + "node_modules/react-smooth": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/react-smooth/-/react-smooth-2.0.0.tgz", + "integrity": "sha512-wK4dBBR6P21otowgMT9toZk+GngMplGS1O5gk+2WSiHEXIrQgDvhR5IIlT74Vtu//qpTcipkgo21dD7a7AUNxw==", + "dependencies": { + "fast-equals": "^2.0.0", + "raf": "^3.4.0", + "react-transition-group": "2.9.0" + }, + "peerDependencies": { + "prop-types": "^15.6.0", + "react": "^15.0.0 || ^16.0.0 || ^17.0.0", + "react-dom": "^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "node_modules/react-smooth/node_modules/dom-helpers": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-3.4.0.tgz", + "integrity": "sha512-LnuPJ+dwqKDIyotW1VzmOZ5TONUN7CwkCR5hrgawTUbkBGYdeoNLZo6nNfGkCrjtE1nXXaj7iMMpDa8/d9WoIA==", + "dependencies": { + "@babel/runtime": "^7.1.2" + } + }, + "node_modules/react-smooth/node_modules/react-transition-group": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-2.9.0.tgz", + "integrity": "sha512-+HzNTCHpeQyl4MJ/bdE0u6XRMe9+XG/+aL4mCxVN4DnPBQ0/5bfHWPDuOZUzYdMj94daZaZdCCc1Dzt9R/xSSg==", + "dependencies": { + "dom-helpers": "^3.4.0", + "loose-envify": "^1.4.0", + "prop-types": "^15.6.2", + "react-lifecycles-compat": "^3.0.4" + }, + "peerDependencies": { + "react": ">=15.0.0", + "react-dom": ">=15.0.0" + } + }, "node_modules/react-switch": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/react-switch/-/react-switch-6.0.0.tgz", @@ -17698,6 +17739,87 @@ "node": ">=8.10.0" } }, + "node_modules/recharts": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/recharts/-/recharts-2.0.9.tgz", + "integrity": "sha512-JNsXE80PuF3hugUCE7JqDOMSvu5xQLxtjOaqFKKZI2pCJ1PVJzhwDv4TWk0nO4AvADbeWzYEHbg8C5Hcrh42UA==", + "dependencies": { + "@types/d3-scale": "^3.0.0", + "@types/d3-shape": "^2.0.0", + "classnames": "^2.2.5", + "d3-interpolate": "^2.0.1", + "d3-scale": "^3.2.3", + "d3-shape": "^2.0.0", + "eventemitter3": "^4.0.1", + "lodash": "^4.17.19", + "react-is": "16.10.2", + "react-resize-detector": "^6.6.3", + "react-smooth": "^2.0.0", + "recharts-scale": "^0.4.4", + "reduce-css-calc": "^2.1.8" + }, + "peerDependencies": { + "react": "^16.0.0 || ^17.0.0", + "react-dom": "^16.0.0 || ^17.0.0" + } + }, + "node_modules/recharts-scale": { + "version": "0.4.5", + "resolved": "https://registry.npmjs.org/recharts-scale/-/recharts-scale-0.4.5.tgz", + "integrity": "sha512-kivNFO+0OcUNu7jQquLXAxz1FIwZj8nrj+YkOKc5694NbjCvcT6aSZiIzNzd2Kul4o4rTto8QVR9lMNtxD4G1w==", + "dependencies": { + "decimal.js-light": "^2.4.1" + } + }, + "node_modules/recharts/node_modules/d3-array": { + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-2.12.1.tgz", + "integrity": "sha512-B0ErZK/66mHtEsR1TkPEEkwdy+WDesimkM5gpZr5Dsg54BiTA5RXtYW5qTLIAcekaS9xfZrzBLF/OAkB3Qn1YQ==", + "dependencies": { + "internmap": "^1.0.0" + } + }, + "node_modules/recharts/node_modules/d3-interpolate": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-2.0.1.tgz", + "integrity": "sha512-c5UhwwTs/yybcmTpAVqwSFl6vrQ8JZJoT5F7xNFK9pymv5C0Ymcc9/LIJHtYIggg/yS9YHw8i8O8tgb9pupjeQ==", + "dependencies": { + "d3-color": "1 - 2" + } + }, + "node_modules/recharts/node_modules/d3-scale": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-3.3.0.tgz", + "integrity": "sha512-1JGp44NQCt5d1g+Yy+GeOnZP7xHo0ii8zsQp6PGzd+C1/dl0KGsp9A7Mxwp+1D1o4unbTTxVdU/ZOIEBoeZPbQ==", + "dependencies": { + "d3-array": "^2.3.0", + "d3-format": "1 - 2", + "d3-interpolate": "1.2.0 - 2", + "d3-time": "^2.1.1", + "d3-time-format": "2 - 3" + } + }, + "node_modules/recharts/node_modules/d3-shape": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-2.1.0.tgz", + "integrity": "sha512-PnjUqfM2PpskbSLTJvAzp2Wv4CZsnAgTfcVRTwW03QR3MkXF8Uo7B1y/lWkAsmbKwuecto++4NlsYcvYpXpTHA==", + "dependencies": { + "d3-path": "1 - 2" + } + }, + "node_modules/recharts/node_modules/d3-time": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-2.1.1.tgz", + "integrity": "sha512-/eIQe/eR4kCQwq7yxi7z4c6qEXf2IYGcjoWB5OOQy4Tq9Uv39/947qlDcN2TLkiTzQWzvnsuYPB9TrWaNfipKQ==", + "dependencies": { + "d3-array": "2" + } + }, + "node_modules/recharts/node_modules/react-is": { + "version": "16.10.2", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.10.2.tgz", + "integrity": "sha512-INBT1QEgtcCCgvccr5/86CfD71fw9EPmDxgiJX4I2Ddr6ZsV6iFXsuby+qWJPtmNuMY0zByTsG4468P7nHuNWA==" + }, "node_modules/recursive-readdir": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/recursive-readdir/-/recursive-readdir-2.2.2.tgz", @@ -17721,6 +17843,20 @@ "node": ">=8" } }, + "node_modules/reduce-css-calc": { + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/reduce-css-calc/-/reduce-css-calc-2.1.8.tgz", + "integrity": "sha512-8liAVezDmUcH+tdzoEGrhfbGcP7nOV4NkGE3a74+qqvE7nt9i4sKLGBuZNOnpI4WiGksiNPklZxva80061QiPg==", + "dependencies": { + "css-unit-converter": "^1.1.1", + "postcss-value-parser": "^3.3.0" + } + }, + "node_modules/reduce-css-calc/node_modules/postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" + }, "node_modules/redux": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/redux/-/redux-4.1.0.tgz", @@ -21096,383 +21232,6 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/victory": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory/-/victory-35.9.0.tgz", - "integrity": "sha512-FT6mZespzmFk0+t2N0q3/h3YcZVUzm2SVBDbrETb6/ZQdgCx0dthtvpWrss9AqLsVMo71Morz+GyvSr3hdT46Q==", - "dependencies": { - "victory-area": "^35.9.0", - "victory-axis": "^35.9.0", - "victory-bar": "^35.9.0", - "victory-box-plot": "^35.9.0", - "victory-brush-container": "^35.9.0", - "victory-brush-line": "^35.9.0", - "victory-candlestick": "^35.9.0", - "victory-chart": "^35.9.0", - "victory-core": "^35.9.0", - "victory-create-container": "^35.9.0", - "victory-cursor-container": "^35.9.0", - "victory-errorbar": "^35.9.0", - "victory-group": "^35.9.0", - "victory-histogram": "^35.9.0", - "victory-legend": "^35.9.0", - "victory-line": "^35.9.0", - "victory-pie": "^35.9.0", - "victory-polar-axis": "^35.9.0", - "victory-scatter": "^35.9.0", - "victory-selection-container": "^35.9.0", - "victory-shared-events": "^35.9.0", - "victory-stack": "^35.9.0", - "victory-tooltip": "^35.9.0", - "victory-voronoi": "^35.9.0", - "victory-voronoi-container": "^35.9.0", - "victory-zoom-container": "^35.9.0" - } - }, - "node_modules/victory-area": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-area/-/victory-area-35.9.0.tgz", - "integrity": "sha512-vUlQoVNl4l2SsPwx7Rf8YkDpDVCrRv5t+Zde8kvo211em9FaROfWQvDcha48hRPH9v/AeH19whMWMgCdDsx/rA==", - "dependencies": { - "d3-shape": "^1.2.0", - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "victory-core": "^35.9.0" - } - }, - "node_modules/victory-axis": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-axis/-/victory-axis-35.9.0.tgz", - "integrity": "sha512-i54nlB4F3i7QklkuIUli9PzaIjYZ87pxvOdokqggjxEZCyxF4g2zGa1sm/4K6o5i34W+Ce01TIOaYyW3L92Byg==", - "dependencies": { - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "victory-core": "^35.9.0" - } - }, - "node_modules/victory-bar": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-bar/-/victory-bar-35.9.0.tgz", - "integrity": "sha512-IjqzsJ60cCH/kXpmmlfCshwttNJGjlQs8khr/R5IzOg5bN0y6XO2roW9sWnXLdSt6pUB2z4t9tJ9gOOBADLB7A==", - "dependencies": { - "d3-shape": "^1.2.0", - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "victory-core": "^35.9.0" - } - }, - "node_modules/victory-box-plot": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-box-plot/-/victory-box-plot-35.9.0.tgz", - "integrity": "sha512-65MhszwjgoaM0AJaxSlBE/1uQ/L6VtWUPCOtpAXNXCauMpPxykLGTwJOwGPs6oFcaD1n3hvx55l9aGaSd7bc3A==", - "dependencies": { - "d3-array": "^1.2.0", - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "victory-core": "^35.9.0" - } - }, - "node_modules/victory-brush-container": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-brush-container/-/victory-brush-container-35.9.0.tgz", - "integrity": "sha512-34vd/T2jyugXSM3KZGGUarnjblptVTh/Z2cQuMCW7nPws3cqlpOut3bQmayPePyUPPp6UbI4/uaRfw+u8TTMlQ==", - "dependencies": { - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "react-fast-compare": "^2.0.0", - "victory-core": "^35.9.0" - } - }, - "node_modules/victory-brush-container/node_modules/react-fast-compare": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-2.0.4.tgz", - "integrity": "sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw==" - }, - "node_modules/victory-brush-line": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-brush-line/-/victory-brush-line-35.9.0.tgz", - "integrity": "sha512-xbNZzHyTQ+kMGqbJ2DFXKb6TB1x4HEgDU92vbMDU7pjCZJ6M12sx6D5JsBS75FxVBojSugpdp09n8zxYnRzaBw==", - "dependencies": { - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "react-fast-compare": "^2.0.0", - "victory-core": "^35.9.0" - } - }, - "node_modules/victory-brush-line/node_modules/react-fast-compare": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-2.0.4.tgz", - "integrity": "sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw==" - }, - "node_modules/victory-candlestick": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-candlestick/-/victory-candlestick-35.9.0.tgz", - "integrity": "sha512-KlhyMDgB2c1IByxvT4MdOAtvTKZMe+qNfVOwXMZ1abg3Dw4CTuBtEX1gOFjRaLUiRcRCqIXHQaxIERiUpzIQGQ==", - "dependencies": { - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "victory-core": "^35.9.0" - } - }, - "node_modules/victory-chart": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-chart/-/victory-chart-35.9.0.tgz", - "integrity": "sha512-TIk8Ipij28UWzJky+cnjhCVhRqwbg6eDylOXLXxTAW6hPeZAhvfJSfnv/PZb5gq8kPiDklfK6sN3RSmYugHqHg==", - "dependencies": { - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "react-fast-compare": "^2.0.0", - "victory-axis": "^35.9.0", - "victory-core": "^35.9.0", - "victory-polar-axis": "^35.9.0", - "victory-shared-events": "^35.9.0" - } - }, - "node_modules/victory-chart/node_modules/react-fast-compare": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-2.0.4.tgz", - "integrity": "sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw==" - }, - "node_modules/victory-core": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-core/-/victory-core-35.9.0.tgz", - "integrity": "sha512-t949a5U/p3fzMalcIAjcNexqj16e5kSyL+F0f6mamZZRy7ShhcyCqT4tm/rlog3cNpm/3gYnTWttiWrAulEoHg==", - "dependencies": { - "d3-ease": "^1.0.0", - "d3-interpolate": "^1.1.1", - "d3-scale": "^1.0.0", - "d3-shape": "^1.2.0", - "d3-timer": "^1.0.0", - "lodash": "^4.17.21", - "prop-types": "^15.5.8", - "react-fast-compare": "^2.0.0" - } - }, - "node_modules/victory-core/node_modules/react-fast-compare": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-2.0.4.tgz", - "integrity": "sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw==" - }, - "node_modules/victory-create-container": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-create-container/-/victory-create-container-35.9.0.tgz", - "integrity": "sha512-yC5NOA9LswYOxG6VXwPE1y2lSzYoKSovJO2MKwKmhXUzJtUJMtju67Y/d2VFkYTJMDC8LUW+9AEP6mrZ45wvDA==", - "dependencies": { - "lodash": "^4.17.19", - "victory-brush-container": "^35.9.0", - "victory-core": "^35.9.0", - "victory-cursor-container": "^35.9.0", - "victory-selection-container": "^35.9.0", - "victory-voronoi-container": "^35.9.0", - "victory-zoom-container": "^35.9.0" - } - }, - "node_modules/victory-cursor-container": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-cursor-container/-/victory-cursor-container-35.9.0.tgz", - "integrity": "sha512-rOct5asJ/LjmbS+AFlY4WRv7vVacumdp6zrJrPCAjT4AF+6bpcN0Im9GVcAiSa88gqf/EYpBa3txnf9wLnikFw==", - "dependencies": { - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "victory-core": "^35.9.0" - } - }, - "node_modules/victory-errorbar": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-errorbar/-/victory-errorbar-35.9.0.tgz", - "integrity": "sha512-zYE7pWwZ7SqSll7QJnI7t+3+xKEhV4y5IcF1+KbbtetTSSQy32caMZ7187tHfqga5CtVNrUpucgDjaepUqG6gA==", - "dependencies": { - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "victory-core": "^35.9.0" - } - }, - "node_modules/victory-group": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-group/-/victory-group-35.9.0.tgz", - "integrity": "sha512-5ynuM2dO0dnjakcjVjs9lDohbXZ5VpI0O7qF1iK51rdh4JCN4vMhJ+dcHX/uECJ9AntxQETwbcqyJYN1n2O4SA==", - "dependencies": { - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "react-fast-compare": "^2.0.0", - "victory-core": "^35.9.0", - "victory-shared-events": "^35.9.0" - } - }, - "node_modules/victory-group/node_modules/react-fast-compare": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-2.0.4.tgz", - "integrity": "sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw==" - }, - "node_modules/victory-histogram": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-histogram/-/victory-histogram-35.9.0.tgz", - "integrity": "sha512-S8HiS5Znenw1Si89EoUcr8lDNYR1dzjUI2lssNlsIiB2wTYCiFxYWXSCmAiI1jF4pVQiqyzg7WjKwujTvaQjeA==", - "dependencies": { - "d3-array": "~2.3.0", - "d3-scale": "^1.0.0", - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "react-fast-compare": "^2.0.0", - "victory-bar": "^35.9.0", - "victory-core": "^35.9.0" - } - }, - "node_modules/victory-histogram/node_modules/d3-array": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-2.3.3.tgz", - "integrity": "sha512-syv3wp0U5aB6toP2zb2OdBkhTy1MWDsCAaYk6OXJZv+G4u7bSWEmYgxLoFyc88RQUhZYGCebW9a9UD1gFi5+MQ==" - }, - "node_modules/victory-histogram/node_modules/react-fast-compare": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-2.0.4.tgz", - "integrity": "sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw==" - }, - "node_modules/victory-legend": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-legend/-/victory-legend-35.9.0.tgz", - "integrity": "sha512-JGbMH14XERP+0v6OLbfhUuYrZs7+nQDwtO3xJ/oozuFBcC1tPaMXqNgHUb986CGttrw2fG8g8bRahYZy5YdJuQ==", - "dependencies": { - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "victory-core": "^35.9.0" - } - }, - "node_modules/victory-line": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-line/-/victory-line-35.9.0.tgz", - "integrity": "sha512-CeAUZpdBd7zETWGqEWfKuyP643Y66FjcdgYcfdLhO8IBwyFOnWuvLadsrtvAXz7XuUhi59G1kOgzWmuvPp4a/Q==", - "dependencies": { - "d3-shape": "^1.2.0", - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "victory-core": "^35.9.0" - } - }, - "node_modules/victory-pie": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-pie/-/victory-pie-35.9.0.tgz", - "integrity": "sha512-xT4A2ltGLnj26uliVDfNFjEVcAzuDRzM6zZqoN4T7gDZOIus5LOLL/SwTnKpMmzqKcp9fybZmuWDMIxTZvsL4A==", - "dependencies": { - "d3-shape": "^1.0.0", - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "victory-core": "^35.9.0" - } - }, - "node_modules/victory-polar-axis": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-polar-axis/-/victory-polar-axis-35.9.0.tgz", - "integrity": "sha512-dKEic/vr2FL3d3JtL4DcWAcxnrC6a/j2GPvDkby2aMimLMf5z8zZgr1/KQ3Xru40J4I6ML0Bvdm/1kNRyOq6sA==", - "dependencies": { - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "victory-core": "^35.9.0" - } - }, - "node_modules/victory-scatter": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-scatter/-/victory-scatter-35.9.0.tgz", - "integrity": "sha512-xbltDOzLxdGDwdzEHjzz/9r2t0g2TZzudzIQuTfuJiUBy6gzfeTMGliLLJFPzonp48CElUtJUHe6wuvNeai6sQ==", - "dependencies": { - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "victory-core": "^35.9.0" - } - }, - "node_modules/victory-selection-container": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-selection-container/-/victory-selection-container-35.9.0.tgz", - "integrity": "sha512-/DRkvAkfI4DGOELJDrIsU3GYozH+lwcXu56p3hD03VVa2xmM+ek7e/wzFZvlLAczRuilOgO54BYZ6rU/cQDmVg==", - "dependencies": { - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "victory-core": "^35.9.0" - } - }, - "node_modules/victory-shared-events": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-shared-events/-/victory-shared-events-35.9.0.tgz", - "integrity": "sha512-5DFaZ3DZnyAAl+Dmkq0bzAskw0cXonF7rFz4PLtQxUQfqOXwmABvyrJ43sqzzApdRoNHWuYibqAEqEiDE5kQjQ==", - "dependencies": { - "json-stringify-safe": "^5.0.1", - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "react-fast-compare": "^2.0.0", - "victory-core": "^35.9.0" - } - }, - "node_modules/victory-shared-events/node_modules/react-fast-compare": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-2.0.4.tgz", - "integrity": "sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw==" - }, - "node_modules/victory-stack": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-stack/-/victory-stack-35.9.0.tgz", - "integrity": "sha512-b7DNisxEqJybs2UF2VJ9Tf7zctTcfgQMwU4LY4JfIIbvNEArKAe7si1ezb2DaiZvgYg7fnB/6iR/X8ixKMHw/Q==", - "dependencies": { - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "react-fast-compare": "^2.0.0", - "victory-core": "^35.9.0", - "victory-shared-events": "^35.9.0" - } - }, - "node_modules/victory-stack/node_modules/react-fast-compare": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-2.0.4.tgz", - "integrity": "sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw==" - }, - "node_modules/victory-tooltip": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-tooltip/-/victory-tooltip-35.9.0.tgz", - "integrity": "sha512-Jj4Y/HQbkWs4v+kjJCs/eVWlzckIwV3gcGSy0HJvv03sXVf2mwFEAGS7/F4IOCaJGcsJlTC4m30yB+nhZgqlgQ==", - "dependencies": { - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "victory-core": "^35.9.0" - } - }, - "node_modules/victory-voronoi": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-voronoi/-/victory-voronoi-35.9.0.tgz", - "integrity": "sha512-RscrtSY5a86DP17rn2ENilfaUT7nH81/mwVJq9/ypRiaLtEMQAR7vP4gbWruLzBb3os6T0N9z8HUIb/geNzrsA==", - "dependencies": { - "d3-voronoi": "^1.1.2", - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "victory-core": "^35.9.0" - } - }, - "node_modules/victory-voronoi-container": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-voronoi-container/-/victory-voronoi-container-35.9.0.tgz", - "integrity": "sha512-T95+eR0tjj9vAzzGk/c/PiJ0xunMsDzSa912zMExt+fDDtVXfd0xO9ji1qSWZldZo9spUUxyg01DK/X2VVsKow==", - "dependencies": { - "delaunay-find": "0.0.6", - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "react-fast-compare": "^2.0.0", - "victory-core": "^35.9.0", - "victory-tooltip": "^35.9.0" - } - }, - "node_modules/victory-voronoi-container/node_modules/react-fast-compare": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-2.0.4.tgz", - "integrity": "sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw==" - }, - "node_modules/victory-zoom-container": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-zoom-container/-/victory-zoom-container-35.9.0.tgz", - "integrity": "sha512-OFFy4KPwUvx7IUbOmgECkvv0ihaCvZEVbPaKTkpDUCQa4YLRosL9j5gP9JdcGXYs2E3cssS1lgKiVsqzher9eA==", - "dependencies": { - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "victory-core": "^35.9.0" - } - }, "node_modules/vm-browserify": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.2.tgz", @@ -25837,6 +25596,32 @@ "@types/responselike": "*" } }, + "@types/d3-path": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@types/d3-path/-/d3-path-2.0.1.tgz", + "integrity": "sha512-6K8LaFlztlhZO7mwsZg7ClRsdLg3FJRzIIi6SZXDWmmSJc2x8dd2VkESbLXdk3p8cuvz71f36S0y8Zv2AxqvQw==" + }, + "@types/d3-scale": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/@types/d3-scale/-/d3-scale-3.3.2.tgz", + "integrity": "sha512-gGqr7x1ost9px3FvIfUMi5XA/F/yAf4UkUDtdQhpH92XCT0Oa7zkkRzY61gPVJq+DxpHn/btouw5ohWkbBsCzQ==", + "requires": { + "@types/d3-time": "^2" + } + }, + "@types/d3-shape": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@types/d3-shape/-/d3-shape-2.1.3.tgz", + "integrity": "sha512-HAhCel3wP93kh4/rq+7atLdybcESZ5bRHDEZUojClyZWsRuEMo3A52NGYJSh48SxfxEU6RZIVbZL2YFZ2OAlzQ==", + "requires": { + "@types/d3-path": "^2" + } + }, + "@types/d3-time": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@types/d3-time/-/d3-time-2.1.1.tgz", + "integrity": "sha512-9MVYlmIgmRR31C5b4FVSWtuMmBHh2mOWQYfl7XAYOa8dsnb7iEmUmRSWSFgXFtkjxO65d7hTUHQC+RhR/9IWFg==" + }, "@types/eslint": { "version": "7.2.14", "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-7.2.14.tgz", @@ -25986,6 +25771,11 @@ "redux": "^4.0.0" } }, + "@types/resize-observer-browser": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/@types/resize-observer-browser/-/resize-observer-browser-0.1.6.tgz", + "integrity": "sha512-61IfTac0s9jvNtBCpyo86QeaN8qqpMGHdK0uGKCCIy2dt5/Yk84VduHIdWAcmkC5QvdkPL0p5eWYgUZtHKKUVg==" + }, "@types/resolve": { "version": "0.0.8", "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-0.0.8.tgz", @@ -28351,6 +28141,11 @@ } } }, + "css-unit-converter": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/css-unit-converter/-/css-unit-converter-1.1.2.tgz", + "integrity": "sha512-IiJwMC8rdZE0+xiEZHeru6YoONC4rfPMqGm2W85jMIbkFvv5nFTwJVFHam2eFrN6txmoUYFAFXiv8ICVeTO0MA==" + }, "css-what": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/css-what/-/css-what-5.0.1.tgz", @@ -28546,66 +28341,21 @@ "type": "^1.0.1" } }, - "d3-array": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-1.2.4.tgz", - "integrity": "sha512-KHW6M86R+FUPYGb3R5XiYjXPq7VzwxZ22buHhAEVG5ztoEcZZMLov530mmccaqA1GghZArjQV46fuc8kUqhhHw==" - }, - "d3-collection": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/d3-collection/-/d3-collection-1.0.7.tgz", - "integrity": "sha512-ii0/r5f4sjKNTfh84Di+DpztYwqKhEyUlKoPrzUFfeSkWxjW49xU2QzO9qrPrNkpdI0XJkfzvmTu8V2Zylln6A==" - }, "d3-color": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-1.4.1.tgz", "integrity": "sha512-p2sTHSLCJI2QKunbGb7ocOh7DgTAn8IrLx21QRc/BSnodXM4sv6aLQlnfpvehFMLZEfBc6g9pH9SWQccFYfJ9Q==" }, - "d3-ease": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/d3-ease/-/d3-ease-1.0.7.tgz", - "integrity": "sha512-lx14ZPYkhNx0s/2HX5sLFUI3mbasHjSSpwO/KaaNACweVwxUruKyWVcb293wMv1RqTPZyZ8kSZ2NogUZNcLOFQ==" - }, "d3-format": { "version": "1.4.5", "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-1.4.5.tgz", "integrity": "sha512-J0piedu6Z8iB6TbIGfZgDzfXxUFN3qQRMofy2oPdXzQibYGqPB/9iMcxr/TGalU+2RsyDO+U4f33id8tbnSRMQ==" }, - "d3-interpolate": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-1.4.0.tgz", - "integrity": "sha512-V9znK0zc3jOPV4VD2zZn0sDhZU3WAE2bmlxdIwwQPPzPjvyLkd8B3JUVdS1IDUFDkWZ72c9qnv1GK2ZagTZ8EA==", - "requires": { - "d3-color": "1" - } - }, "d3-path": { "version": "1.0.9", "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-1.0.9.tgz", "integrity": "sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg==" }, - "d3-scale": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-1.0.7.tgz", - "integrity": "sha512-KvU92czp2/qse5tUfGms6Kjig0AhHOwkzXG0+PqIJB3ke0WUv088AHMZI0OssO9NCkXt4RP8yju9rpH8aGB7Lw==", - "requires": { - "d3-array": "^1.2.0", - "d3-collection": "1", - "d3-color": "1", - "d3-format": "1", - "d3-interpolate": "1", - "d3-time": "1", - "d3-time-format": "2" - } - }, - "d3-shape": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-1.3.7.tgz", - "integrity": "sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw==", - "requires": { - "d3-path": "1" - } - }, "d3-time": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-1.1.0.tgz", @@ -28619,16 +28369,6 @@ "d3-time": "1" } }, - "d3-timer": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-1.0.10.tgz", - "integrity": "sha512-B1JDm0XDaQC+uvo4DT79H0XmBskgS3l6Ve+1SBCfxgmtIb1AVrPIoqd+nPSv+loMX8szQ0sVUhGngL7D5QPiXw==" - }, - "d3-voronoi": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/d3-voronoi/-/d3-voronoi-1.1.4.tgz", - "integrity": "sha512-dArJ32hchFsrQ8uMiTBLq256MpnZjeuBtdHpaDlYuQyjU0CVzCJl/BVW+SkszaAeH95D/8gxqAhgx0ouAWAfRg==" - }, "damerau-levenshtein": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.7.tgz", @@ -28667,6 +28407,11 @@ "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.3.1.tgz", "integrity": "sha512-V0pfhfr8suzyPGOx3nmq4aHqabehUZn6Ch9kyFpV79TGDTWFmHqUqXdabR7QHqxzrYolF4+tVmJhUG4OURg5dQ==" }, + "decimal.js-light": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/decimal.js-light/-/decimal.js-light-2.5.1.tgz", + "integrity": "sha512-qIMFpTMZmny+MMIitAB6D7iVPEorVw6YQRWkvarTkT4tBeSLLiHzcwj6q0MmYSFCiVpiqPJTJEYIrpcPzVEIvg==" + }, "decode-uri-component": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", @@ -28882,19 +28627,6 @@ } } }, - "delaunator": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/delaunator/-/delaunator-4.0.1.tgz", - "integrity": "sha512-WNPWi1IRKZfCt/qIDMfERkDp93+iZEmOxN2yy4Jg+Xhv8SLk2UTqqbe1sfiipn0and9QrE914/ihdx82Y/Giag==" - }, - "delaunay-find": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/delaunay-find/-/delaunay-find-0.0.6.tgz", - "integrity": "sha512-1+almjfrnR7ZamBk0q3Nhg6lqSe6Le4vL0WJDSMx4IDbQwTpUTXPjxC00lqLBT8MYsJpPCbI16sIkw9cPsbi7Q==", - "requires": { - "delaunator": "^4.0.0" - } - }, "delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", @@ -30273,6 +30005,11 @@ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" }, + "fast-equals": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/fast-equals/-/fast-equals-2.0.3.tgz", + "integrity": "sha512-0EMw4TTUxsMDpDkCg0rXor2gsg+npVrMIHbEhvD0HZyIhUX6AktC/yasm+qKwfyswd06Qy95ZKk8p2crTo0iPA==" + }, "fast-glob": { "version": "3.2.6", "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.6.tgz", @@ -31512,6 +31249,11 @@ "side-channel": "^1.0.4" } }, + "internmap": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/internmap/-/internmap-1.0.1.tgz", + "integrity": "sha512-lDB5YccMydFBtasVtxnZ3MRBHuaoE8GKsppq+EchKL2U4nK/DmEpPHNH8MZe5HkMtpSiTSOZwfN0tzYjO/lJEw==" + }, "ip": { "version": "1.1.5", "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz", @@ -33400,11 +33142,6 @@ "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=" }, - "json-stringify-safe": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" - }, "json3": { "version": "3.3.3", "resolved": "https://registry.npmjs.org/json3/-/json3-3.3.3.tgz", @@ -33607,6 +33344,11 @@ "lodash._reinterpolate": "^3.0.0" } }, + "lodash.throttle": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.throttle/-/lodash.throttle-4.1.1.tgz", + "integrity": "sha1-wj6RtxAkKscMN/HhzaknTMOb8vQ=" + }, "lodash.truncate": { "version": "4.4.2", "resolved": "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz", @@ -36417,6 +36159,11 @@ "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" }, + "react-lifecycles-compat": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz", + "integrity": "sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==" + }, "react-loader-spinner": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/react-loader-spinner/-/react-loader-spinner-4.0.0.tgz", @@ -36443,6 +36190,17 @@ "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.8.3.tgz", "integrity": "sha512-X8jZHc7nCMjaCqoU+V2I0cOhNW+QMBwSUkeXnTi8IPe6zaRWfn60ZzvFDZqWPfmSJfjub7dDW1SP0jaHWLu/hg==" }, + "react-resize-detector": { + "version": "6.7.4", + "resolved": "https://registry.npmjs.org/react-resize-detector/-/react-resize-detector-6.7.4.tgz", + "integrity": "sha512-wzvGmUdEDMhiUHVZGnl4kuyj/TEQhvbB5LyAGkbYXetwJ2O+u/zftmPvU+kxiO1h+d9aUqQBKcNLS7TvB3ytqA==", + "requires": { + "@types/resize-observer-browser": "^0.1.5", + "lodash.debounce": "^4.0.8", + "lodash.throttle": "^4.1.1", + "resize-observer-polyfill": "^1.5.1" + } + }, "react-router": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/react-router/-/react-router-5.2.0.tgz", @@ -36622,6 +36380,37 @@ "integrity": "sha512-2FoTQzRNTncBVtnzxFOk2mCpcfxQpenBMbk5kSVBg5UcPqV9fRbgY2zhb7GTWWOlpFmAxhClBDlIq8Rsubz1yQ==", "requires": {} }, + "react-smooth": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/react-smooth/-/react-smooth-2.0.0.tgz", + "integrity": "sha512-wK4dBBR6P21otowgMT9toZk+GngMplGS1O5gk+2WSiHEXIrQgDvhR5IIlT74Vtu//qpTcipkgo21dD7a7AUNxw==", + "requires": { + "fast-equals": "^2.0.0", + "raf": "^3.4.0", + "react-transition-group": "2.9.0" + }, + "dependencies": { + "dom-helpers": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-3.4.0.tgz", + "integrity": "sha512-LnuPJ+dwqKDIyotW1VzmOZ5TONUN7CwkCR5hrgawTUbkBGYdeoNLZo6nNfGkCrjtE1nXXaj7iMMpDa8/d9WoIA==", + "requires": { + "@babel/runtime": "^7.1.2" + } + }, + "react-transition-group": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-2.9.0.tgz", + "integrity": "sha512-+HzNTCHpeQyl4MJ/bdE0u6XRMe9+XG/+aL4mCxVN4DnPBQ0/5bfHWPDuOZUzYdMj94daZaZdCCc1Dzt9R/xSSg==", + "requires": { + "dom-helpers": "^3.4.0", + "loose-envify": "^1.4.0", + "prop-types": "^15.6.2", + "react-lifecycles-compat": "^3.0.4" + } + } + } + }, "react-switch": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/react-switch/-/react-switch-6.0.0.tgz", @@ -36770,6 +36559,85 @@ "picomatch": "^2.2.1" } }, + "recharts": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/recharts/-/recharts-2.0.9.tgz", + "integrity": "sha512-JNsXE80PuF3hugUCE7JqDOMSvu5xQLxtjOaqFKKZI2pCJ1PVJzhwDv4TWk0nO4AvADbeWzYEHbg8C5Hcrh42UA==", + "requires": { + "@types/d3-scale": "^3.0.0", + "@types/d3-shape": "^2.0.0", + "classnames": "^2.2.5", + "d3-interpolate": "^2.0.1", + "d3-scale": "^3.2.3", + "d3-shape": "^2.0.0", + "eventemitter3": "^4.0.1", + "lodash": "^4.17.19", + "react-is": "16.10.2", + "react-resize-detector": "^6.6.3", + "react-smooth": "^2.0.0", + "recharts-scale": "^0.4.4", + "reduce-css-calc": "^2.1.8" + }, + "dependencies": { + "d3-array": { + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-2.12.1.tgz", + "integrity": "sha512-B0ErZK/66mHtEsR1TkPEEkwdy+WDesimkM5gpZr5Dsg54BiTA5RXtYW5qTLIAcekaS9xfZrzBLF/OAkB3Qn1YQ==", + "requires": { + "internmap": "^1.0.0" + } + }, + "d3-interpolate": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-2.0.1.tgz", + "integrity": "sha512-c5UhwwTs/yybcmTpAVqwSFl6vrQ8JZJoT5F7xNFK9pymv5C0Ymcc9/LIJHtYIggg/yS9YHw8i8O8tgb9pupjeQ==", + "requires": { + "d3-color": "1 - 2" + } + }, + "d3-scale": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-3.3.0.tgz", + "integrity": "sha512-1JGp44NQCt5d1g+Yy+GeOnZP7xHo0ii8zsQp6PGzd+C1/dl0KGsp9A7Mxwp+1D1o4unbTTxVdU/ZOIEBoeZPbQ==", + "requires": { + "d3-array": "^2.3.0", + "d3-format": "1 - 2", + "d3-interpolate": "1.2.0 - 2", + "d3-time": "^2.1.1", + "d3-time-format": "2 - 3" + } + }, + "d3-shape": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-2.1.0.tgz", + "integrity": "sha512-PnjUqfM2PpskbSLTJvAzp2Wv4CZsnAgTfcVRTwW03QR3MkXF8Uo7B1y/lWkAsmbKwuecto++4NlsYcvYpXpTHA==", + "requires": { + "d3-path": "1 - 2" + } + }, + "d3-time": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-2.1.1.tgz", + "integrity": "sha512-/eIQe/eR4kCQwq7yxi7z4c6qEXf2IYGcjoWB5OOQy4Tq9Uv39/947qlDcN2TLkiTzQWzvnsuYPB9TrWaNfipKQ==", + "requires": { + "d3-array": "2" + } + }, + "react-is": { + "version": "16.10.2", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.10.2.tgz", + "integrity": "sha512-INBT1QEgtcCCgvccr5/86CfD71fw9EPmDxgiJX4I2Ddr6ZsV6iFXsuby+qWJPtmNuMY0zByTsG4468P7nHuNWA==" + } + } + }, + "recharts-scale": { + "version": "0.4.5", + "resolved": "https://registry.npmjs.org/recharts-scale/-/recharts-scale-0.4.5.tgz", + "integrity": "sha512-kivNFO+0OcUNu7jQquLXAxz1FIwZj8nrj+YkOKc5694NbjCvcT6aSZiIzNzd2Kul4o4rTto8QVR9lMNtxD4G1w==", + "requires": { + "decimal.js-light": "^2.4.1" + } + }, "recursive-readdir": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/recursive-readdir/-/recursive-readdir-2.2.2.tgz", @@ -36787,6 +36655,22 @@ "strip-indent": "^3.0.0" } }, + "reduce-css-calc": { + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/reduce-css-calc/-/reduce-css-calc-2.1.8.tgz", + "integrity": "sha512-8liAVezDmUcH+tdzoEGrhfbGcP7nOV4NkGE3a74+qqvE7nt9i4sKLGBuZNOnpI4WiGksiNPklZxva80061QiPg==", + "requires": { + "css-unit-converter": "^1.1.1", + "postcss-value-parser": "^3.3.0" + }, + "dependencies": { + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" + } + } + }, "redux": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/redux/-/redux-4.1.0.tgz", @@ -39449,401 +39333,6 @@ "resolved": "https://registry.npmjs.org/vendors/-/vendors-1.0.4.tgz", "integrity": "sha512-/juG65kTL4Cy2su4P8HjtkTxk6VmJDiOPBufWniqQ6wknac6jNiXS9vU+hO3wgusiyqWlzTbVHi0dyJqRONg3w==" }, - "victory": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory/-/victory-35.9.0.tgz", - "integrity": "sha512-FT6mZespzmFk0+t2N0q3/h3YcZVUzm2SVBDbrETb6/ZQdgCx0dthtvpWrss9AqLsVMo71Morz+GyvSr3hdT46Q==", - "requires": { - "victory-area": "^35.9.0", - "victory-axis": "^35.9.0", - "victory-bar": "^35.9.0", - "victory-box-plot": "^35.9.0", - "victory-brush-container": "^35.9.0", - "victory-brush-line": "^35.9.0", - "victory-candlestick": "^35.9.0", - "victory-chart": "^35.9.0", - "victory-core": "^35.9.0", - "victory-create-container": "^35.9.0", - "victory-cursor-container": "^35.9.0", - "victory-errorbar": "^35.9.0", - "victory-group": "^35.9.0", - "victory-histogram": "^35.9.0", - "victory-legend": "^35.9.0", - "victory-line": "^35.9.0", - "victory-pie": "^35.9.0", - "victory-polar-axis": "^35.9.0", - "victory-scatter": "^35.9.0", - "victory-selection-container": "^35.9.0", - "victory-shared-events": "^35.9.0", - "victory-stack": "^35.9.0", - "victory-tooltip": "^35.9.0", - "victory-voronoi": "^35.9.0", - "victory-voronoi-container": "^35.9.0", - "victory-zoom-container": "^35.9.0" - } - }, - "victory-area": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-area/-/victory-area-35.9.0.tgz", - "integrity": "sha512-vUlQoVNl4l2SsPwx7Rf8YkDpDVCrRv5t+Zde8kvo211em9FaROfWQvDcha48hRPH9v/AeH19whMWMgCdDsx/rA==", - "requires": { - "d3-shape": "^1.2.0", - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "victory-core": "^35.9.0" - } - }, - "victory-axis": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-axis/-/victory-axis-35.9.0.tgz", - "integrity": "sha512-i54nlB4F3i7QklkuIUli9PzaIjYZ87pxvOdokqggjxEZCyxF4g2zGa1sm/4K6o5i34W+Ce01TIOaYyW3L92Byg==", - "requires": { - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "victory-core": "^35.9.0" - } - }, - "victory-bar": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-bar/-/victory-bar-35.9.0.tgz", - "integrity": "sha512-IjqzsJ60cCH/kXpmmlfCshwttNJGjlQs8khr/R5IzOg5bN0y6XO2roW9sWnXLdSt6pUB2z4t9tJ9gOOBADLB7A==", - "requires": { - "d3-shape": "^1.2.0", - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "victory-core": "^35.9.0" - } - }, - "victory-box-plot": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-box-plot/-/victory-box-plot-35.9.0.tgz", - "integrity": "sha512-65MhszwjgoaM0AJaxSlBE/1uQ/L6VtWUPCOtpAXNXCauMpPxykLGTwJOwGPs6oFcaD1n3hvx55l9aGaSd7bc3A==", - "requires": { - "d3-array": "^1.2.0", - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "victory-core": "^35.9.0" - } - }, - "victory-brush-container": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-brush-container/-/victory-brush-container-35.9.0.tgz", - "integrity": "sha512-34vd/T2jyugXSM3KZGGUarnjblptVTh/Z2cQuMCW7nPws3cqlpOut3bQmayPePyUPPp6UbI4/uaRfw+u8TTMlQ==", - "requires": { - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "react-fast-compare": "^2.0.0", - "victory-core": "^35.9.0" - }, - "dependencies": { - "react-fast-compare": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-2.0.4.tgz", - "integrity": "sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw==" - } - } - }, - "victory-brush-line": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-brush-line/-/victory-brush-line-35.9.0.tgz", - "integrity": "sha512-xbNZzHyTQ+kMGqbJ2DFXKb6TB1x4HEgDU92vbMDU7pjCZJ6M12sx6D5JsBS75FxVBojSugpdp09n8zxYnRzaBw==", - "requires": { - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "react-fast-compare": "^2.0.0", - "victory-core": "^35.9.0" - }, - "dependencies": { - "react-fast-compare": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-2.0.4.tgz", - "integrity": "sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw==" - } - } - }, - "victory-candlestick": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-candlestick/-/victory-candlestick-35.9.0.tgz", - "integrity": "sha512-KlhyMDgB2c1IByxvT4MdOAtvTKZMe+qNfVOwXMZ1abg3Dw4CTuBtEX1gOFjRaLUiRcRCqIXHQaxIERiUpzIQGQ==", - "requires": { - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "victory-core": "^35.9.0" - } - }, - "victory-chart": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-chart/-/victory-chart-35.9.0.tgz", - "integrity": "sha512-TIk8Ipij28UWzJky+cnjhCVhRqwbg6eDylOXLXxTAW6hPeZAhvfJSfnv/PZb5gq8kPiDklfK6sN3RSmYugHqHg==", - "requires": { - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "react-fast-compare": "^2.0.0", - "victory-axis": "^35.9.0", - "victory-core": "^35.9.0", - "victory-polar-axis": "^35.9.0", - "victory-shared-events": "^35.9.0" - }, - "dependencies": { - "react-fast-compare": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-2.0.4.tgz", - "integrity": "sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw==" - } - } - }, - "victory-core": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-core/-/victory-core-35.9.0.tgz", - "integrity": "sha512-t949a5U/p3fzMalcIAjcNexqj16e5kSyL+F0f6mamZZRy7ShhcyCqT4tm/rlog3cNpm/3gYnTWttiWrAulEoHg==", - "requires": { - "d3-ease": "^1.0.0", - "d3-interpolate": "^1.1.1", - "d3-scale": "^1.0.0", - "d3-shape": "^1.2.0", - "d3-timer": "^1.0.0", - "lodash": "^4.17.21", - "prop-types": "^15.5.8", - "react-fast-compare": "^2.0.0" - }, - "dependencies": { - "react-fast-compare": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-2.0.4.tgz", - "integrity": "sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw==" - } - } - }, - "victory-create-container": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-create-container/-/victory-create-container-35.9.0.tgz", - "integrity": "sha512-yC5NOA9LswYOxG6VXwPE1y2lSzYoKSovJO2MKwKmhXUzJtUJMtju67Y/d2VFkYTJMDC8LUW+9AEP6mrZ45wvDA==", - "requires": { - "lodash": "^4.17.19", - "victory-brush-container": "^35.9.0", - "victory-core": "^35.9.0", - "victory-cursor-container": "^35.9.0", - "victory-selection-container": "^35.9.0", - "victory-voronoi-container": "^35.9.0", - "victory-zoom-container": "^35.9.0" - } - }, - "victory-cursor-container": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-cursor-container/-/victory-cursor-container-35.9.0.tgz", - "integrity": "sha512-rOct5asJ/LjmbS+AFlY4WRv7vVacumdp6zrJrPCAjT4AF+6bpcN0Im9GVcAiSa88gqf/EYpBa3txnf9wLnikFw==", - "requires": { - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "victory-core": "^35.9.0" - } - }, - "victory-errorbar": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-errorbar/-/victory-errorbar-35.9.0.tgz", - "integrity": "sha512-zYE7pWwZ7SqSll7QJnI7t+3+xKEhV4y5IcF1+KbbtetTSSQy32caMZ7187tHfqga5CtVNrUpucgDjaepUqG6gA==", - "requires": { - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "victory-core": "^35.9.0" - } - }, - "victory-group": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-group/-/victory-group-35.9.0.tgz", - "integrity": "sha512-5ynuM2dO0dnjakcjVjs9lDohbXZ5VpI0O7qF1iK51rdh4JCN4vMhJ+dcHX/uECJ9AntxQETwbcqyJYN1n2O4SA==", - "requires": { - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "react-fast-compare": "^2.0.0", - "victory-core": "^35.9.0", - "victory-shared-events": "^35.9.0" - }, - "dependencies": { - "react-fast-compare": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-2.0.4.tgz", - "integrity": "sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw==" - } - } - }, - "victory-histogram": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-histogram/-/victory-histogram-35.9.0.tgz", - "integrity": "sha512-S8HiS5Znenw1Si89EoUcr8lDNYR1dzjUI2lssNlsIiB2wTYCiFxYWXSCmAiI1jF4pVQiqyzg7WjKwujTvaQjeA==", - "requires": { - "d3-array": "~2.3.0", - "d3-scale": "^1.0.0", - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "react-fast-compare": "^2.0.0", - "victory-bar": "^35.9.0", - "victory-core": "^35.9.0" - }, - "dependencies": { - "d3-array": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-2.3.3.tgz", - "integrity": "sha512-syv3wp0U5aB6toP2zb2OdBkhTy1MWDsCAaYk6OXJZv+G4u7bSWEmYgxLoFyc88RQUhZYGCebW9a9UD1gFi5+MQ==" - }, - "react-fast-compare": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-2.0.4.tgz", - "integrity": "sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw==" - } - } - }, - "victory-legend": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-legend/-/victory-legend-35.9.0.tgz", - "integrity": "sha512-JGbMH14XERP+0v6OLbfhUuYrZs7+nQDwtO3xJ/oozuFBcC1tPaMXqNgHUb986CGttrw2fG8g8bRahYZy5YdJuQ==", - "requires": { - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "victory-core": "^35.9.0" - } - }, - "victory-line": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-line/-/victory-line-35.9.0.tgz", - "integrity": "sha512-CeAUZpdBd7zETWGqEWfKuyP643Y66FjcdgYcfdLhO8IBwyFOnWuvLadsrtvAXz7XuUhi59G1kOgzWmuvPp4a/Q==", - "requires": { - "d3-shape": "^1.2.0", - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "victory-core": "^35.9.0" - } - }, - "victory-pie": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-pie/-/victory-pie-35.9.0.tgz", - "integrity": "sha512-xT4A2ltGLnj26uliVDfNFjEVcAzuDRzM6zZqoN4T7gDZOIus5LOLL/SwTnKpMmzqKcp9fybZmuWDMIxTZvsL4A==", - "requires": { - "d3-shape": "^1.0.0", - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "victory-core": "^35.9.0" - } - }, - "victory-polar-axis": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-polar-axis/-/victory-polar-axis-35.9.0.tgz", - "integrity": "sha512-dKEic/vr2FL3d3JtL4DcWAcxnrC6a/j2GPvDkby2aMimLMf5z8zZgr1/KQ3Xru40J4I6ML0Bvdm/1kNRyOq6sA==", - "requires": { - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "victory-core": "^35.9.0" - } - }, - "victory-scatter": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-scatter/-/victory-scatter-35.9.0.tgz", - "integrity": "sha512-xbltDOzLxdGDwdzEHjzz/9r2t0g2TZzudzIQuTfuJiUBy6gzfeTMGliLLJFPzonp48CElUtJUHe6wuvNeai6sQ==", - "requires": { - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "victory-core": "^35.9.0" - } - }, - "victory-selection-container": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-selection-container/-/victory-selection-container-35.9.0.tgz", - "integrity": "sha512-/DRkvAkfI4DGOELJDrIsU3GYozH+lwcXu56p3hD03VVa2xmM+ek7e/wzFZvlLAczRuilOgO54BYZ6rU/cQDmVg==", - "requires": { - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "victory-core": "^35.9.0" - } - }, - "victory-shared-events": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-shared-events/-/victory-shared-events-35.9.0.tgz", - "integrity": "sha512-5DFaZ3DZnyAAl+Dmkq0bzAskw0cXonF7rFz4PLtQxUQfqOXwmABvyrJ43sqzzApdRoNHWuYibqAEqEiDE5kQjQ==", - "requires": { - "json-stringify-safe": "^5.0.1", - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "react-fast-compare": "^2.0.0", - "victory-core": "^35.9.0" - }, - "dependencies": { - "react-fast-compare": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-2.0.4.tgz", - "integrity": "sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw==" - } - } - }, - "victory-stack": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-stack/-/victory-stack-35.9.0.tgz", - "integrity": "sha512-b7DNisxEqJybs2UF2VJ9Tf7zctTcfgQMwU4LY4JfIIbvNEArKAe7si1ezb2DaiZvgYg7fnB/6iR/X8ixKMHw/Q==", - "requires": { - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "react-fast-compare": "^2.0.0", - "victory-core": "^35.9.0", - "victory-shared-events": "^35.9.0" - }, - "dependencies": { - "react-fast-compare": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-2.0.4.tgz", - "integrity": "sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw==" - } - } - }, - "victory-tooltip": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-tooltip/-/victory-tooltip-35.9.0.tgz", - "integrity": "sha512-Jj4Y/HQbkWs4v+kjJCs/eVWlzckIwV3gcGSy0HJvv03sXVf2mwFEAGS7/F4IOCaJGcsJlTC4m30yB+nhZgqlgQ==", - "requires": { - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "victory-core": "^35.9.0" - } - }, - "victory-voronoi": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-voronoi/-/victory-voronoi-35.9.0.tgz", - "integrity": "sha512-RscrtSY5a86DP17rn2ENilfaUT7nH81/mwVJq9/ypRiaLtEMQAR7vP4gbWruLzBb3os6T0N9z8HUIb/geNzrsA==", - "requires": { - "d3-voronoi": "^1.1.2", - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "victory-core": "^35.9.0" - } - }, - "victory-voronoi-container": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-voronoi-container/-/victory-voronoi-container-35.9.0.tgz", - "integrity": "sha512-T95+eR0tjj9vAzzGk/c/PiJ0xunMsDzSa912zMExt+fDDtVXfd0xO9ji1qSWZldZo9spUUxyg01DK/X2VVsKow==", - "requires": { - "delaunay-find": "0.0.6", - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "react-fast-compare": "^2.0.0", - "victory-core": "^35.9.0", - "victory-tooltip": "^35.9.0" - }, - "dependencies": { - "react-fast-compare": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-2.0.4.tgz", - "integrity": "sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw==" - } - } - }, - "victory-zoom-container": { - "version": "35.9.0", - "resolved": "https://registry.npmjs.org/victory-zoom-container/-/victory-zoom-container-35.9.0.tgz", - "integrity": "sha512-OFFy4KPwUvx7IUbOmgECkvv0ihaCvZEVbPaKTkpDUCQa4YLRosL9j5gP9JdcGXYs2E3cssS1lgKiVsqzher9eA==", - "requires": { - "lodash": "^4.17.19", - "prop-types": "^15.5.8", - "victory-core": "^35.9.0" - } - }, "vm-browserify": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.2.tgz", diff --git a/package.json b/package.json index 87771f65..c7c488a3 100644 --- a/package.json +++ b/package.json @@ -32,10 +32,10 @@ "react-switch": "^6.0.0", "react-table": "^7.6.2", "react-zoom-pan-pinch": "^2.0.2", + "recharts": "^2.0.9", "redux-thunk": "^2.3.0", "resize-observer-polyfill": "^1.5.1", - "source-map-explorer": "^2.5.2", - "victory": "^35.3.1" + "source-map-explorer": "^2.5.2" }, "scripts": { "analyze": "source-map-explorer 'build/static/js/*.js'", diff --git a/src/App.js b/src/App.js index 2a1231ac..683c0126 100644 --- a/src/App.js +++ b/src/App.js @@ -25,7 +25,7 @@ import Debug from './components/Debug'; import rawMapData from './data/maps.json'; import useStateWithLocalStorage from './hooks/useStateWithLocalStorage'; -const Ammo = React.lazy(() => import ('./pages/Ammo.jsx')); +const Ammo = React.lazy(() => import ('./pages/ammo/')); const Control = React.lazy(() => import('./pages/control')); const LootTier = React.lazy(() => import('./pages/LootTier.jsx')); const Barters = React.lazy(() => import('./pages/barters')); diff --git a/src/pages/ammo/index.js b/src/pages/ammo/index.js new file mode 100644 index 00000000..c12c77c3 --- /dev/null +++ b/src/pages/ammo/index.js @@ -0,0 +1,232 @@ +/* eslint-disable no-restricted-globals */ +import { useState, useMemo, useEffect } from 'react'; +import { + useParams, + // useHistory, +} from "react-router-dom"; + +import { + ScatterChart, + Scatter, + CartesianGrid, + XAxis, + YAxis, + Tooltip, + Legend, + ResponsiveContainer, + LabelList +} from 'recharts'; + +import useKeyPress from '../../hooks/useKeyPress'; +import rawData from '../../data/ammo.json'; + +const shapes = [ + 'circle', + 'cross', + 'diamond', + 'square', + 'star', + 'triangle', + 'wye', +]; + +const colors = [ + 'tomato', + 'yellow', + 'green', + 'rgb(71, 121, 152)', + 'rgb(181, 59, 209)', +]; + +const MAX_DAMAGE = 170; +const MAX_PENETRATION = 70; + +const formattedData = rawData.data.map((ammoData) => { + const returnData = { + ...ammoData, + name: ammoData.shortName, + }; + + if(ammoData.damage > MAX_DAMAGE){ + returnData.name = `${ammoData.name} (${ammoData.damage})`; + returnData.damage = MAX_DAMAGE; + } + + if(ammoData.penetration > MAX_PENETRATION){ + returnData.name = `${ammoData.name} (${ammoData.penetration})`; + returnData.penetration = MAX_PENETRATION; + } + + return returnData; +}) +.sort((a, b) => { + return a.type.localeCompare(b.type); +}); + +let typeCache = []; +const legendData = formattedData + .map((ammo, index) => { + if (typeCache.includes(ammo.type)){ + return false; + } + + typeCache.push(ammo.type); + + return { + // ...ammo, + name: ammo.type, + symbol: shapes[index % shapes.length], + fill: colors[index % colors.length], + }; + }) + .filter(Boolean); + +function Ammo() { + const {currentAmmo} = useParams(); + let currentAmmoList = []; + if(currentAmmo){ + currentAmmoList = currentAmmo.split(','); + } + // const history = useHistory(); + const [selectedLegendName, setSelectedLegendName] = useState(currentAmmoList); + const shiftPress = useKeyPress('Shift'); + + useEffect(() => { + if(currentAmmo === []){ + setSelectedLegendName([]); + + return true; + } + + if(currentAmmo){ + setSelectedLegendName(currentAmmo.split(',')); + } else { + setSelectedLegendName([]); + } + }, [currentAmmo]); + + useEffect(() => { + let viewableHeight = window.innerHeight - document.querySelector('.navigation')?.offsetHeight || 0; + if(viewableHeight < 100){ + viewableHeight = window.innerHeight; + } + + document.documentElement.style.setProperty('--display-height', `${viewableHeight}px`); + + return function cleanup() { + document.documentElement.style.setProperty('--display-height', `auto`); + }; + }); + + const listState = useMemo(() => { + const scatters = {}; + let parsedData = formattedData + .filter(ammo => !selectedLegendName || selectedLegendName.length === 0 || selectedLegendName.includes(ammo.type)) + .map((ammo) => { + if(!shiftPress){ + return ammo; + } + + return { + ...ammo, + name: `${ammo.name} (${ammo.fragChance})`, + }; + }); + + for(const ammoData of parsedData){ + if(!legendData.find(typeData => typeData.name === ammoData.type)){ + continue; + } + + if(!scatters[ammoData.type]){ + let scatterData = legendData.find(typeData => typeData.name === ammoData.type); + scatters[ammoData.type] = { + name: ammoData.type, + points: [], + symbol: scatterData.symbol, + fill: scatterData.fill, + }; + } + + scatters[ammoData.type].points.push(ammoData); + } + + return scatters; + }, [selectedLegendName, shiftPress]); + + // const handleLegendClick = useCallback((event, { datum: { name } }) => { + // let newSelectedAmmo = [...selectedLegendName]; + // const metaKey = event.altKey || event.ctrlKey || event.metaKey || event.shiftKey; + + // if(newSelectedAmmo.includes(name) && metaKey){ + // newSelectedAmmo.splice(newSelectedAmmo.indexOf(name), 1); + // } else if(newSelectedAmmo.includes(name)){ + // newSelectedAmmo = []; + // } else if(metaKey){ + // newSelectedAmmo.push(name); + // } else { + // newSelectedAmmo = [name]; + // } + + // setSelectedLegendName(newSelectedAmmo); + // history.push(`/ammo/${newSelectedAmmo.join(',')}`); + + // }, [selectedLegendName, setSelectedLegendName, history]); + + return + + + + + + + {Object.values(listState).map((scatterData) => { + return + + ; + })} + + ; + // ]; +} + +export default Ammo;